From c2f8580a8c3eeb2e7f6924259620d7c365e2ac7b Mon Sep 17 00:00:00 2001 From: Lucas Woodward <31957045+SketchingDev@users.noreply.github.com> Date: Fri, 2 Oct 2026 22:23:52 +0100 Subject: [PATCH 1/3] Update dependencies --- package.json | 14 +- pnpm-lock.yaml | 274 +- scripts/deploy-runner.js | 209746 +++++++++++----------- servers/genesys-cloud-architect-mcp.js | 231 +- 4 files changed, 105710 insertions(+), 104555 deletions(-) diff --git a/package.json b/package.json index 899fd77..1072727 100644 --- a/package.json +++ b/package.json @@ -28,15 +28,15 @@ "prepare": "husky" }, "dependencies": { - "@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" + "@modelcontextprotocol/sdk": "^1.31.0", + "purecloud-flow-scripting-api-sdk-javascript": "^0.69.1", + "purecloud-platform-client-v2": "^263.2.0", + "zod": "^4.6.5" }, "devDependencies": { - "@biomejs/biome": "2.5.7", - "@makingchatbots/genesys-cloud-architect-diagram-lib": "^1.5.0", - "@types/node": "^25.8.0", + "@biomejs/biome": "2.5.15", + "@makingchatbots/genesys-cloud-architect-diagram-lib": "^1.6.0", + "@types/node": "^26.6.3", "esbuild": "^0.28.2", "husky": "^9.1.7", "typescript": "^7.0.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7ef8d59..d88be25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,27 +9,27 @@ importers: .: dependencies: '@modelcontextprotocol/sdk': - specifier: ^1.30.0 - version: 1.30.0(zod@4.4.3) + specifier: ^1.31.0 + version: 1.31.0(zod@4.6.5) purecloud-flow-scripting-api-sdk-javascript: - specifier: ^0.68.3 - version: 0.68.3 + specifier: ^0.69.1 + version: 0.69.1 purecloud-platform-client-v2: - specifier: ^258.2.0 - version: 258.2.0 + specifier: ^263.2.0 + version: 263.2.0 zod: - specifier: ^4.0.0 - version: 4.4.3 + specifier: ^4.6.5 + version: 4.6.5 devDependencies: '@biomejs/biome': - specifier: 2.5.7 - version: 2.5.7 + specifier: 2.5.15 + version: 2.5.15 '@makingchatbots/genesys-cloud-architect-diagram-lib': - specifier: ^1.5.0 - version: 1.5.0 + specifier: ^1.6.0 + version: 1.6.0 '@types/node': - specifier: ^25.8.0 - version: 25.9.5 + specifier: ^26.6.3 + version: 26.6.3 esbuild: specifier: ^0.28.2 version: 0.28.2 @@ -42,59 +42,59 @@ importers: packages: - '@biomejs/biome@2.5.7': - resolution: {integrity: sha512-zr8K/DcY5tYsQOQwqMJ0AWElo6QgmgNI7idXgXLhevVszlt8RGVpesEJPqx3ThazLaOwjJ5Y8fz3BtH5fGZNsw==} + '@biomejs/biome@2.5.15': + resolution: {integrity: sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==} engines: {node: '>=14.21.3'} hasBin: true - '@biomejs/cli-darwin-arm64@2.5.7': - resolution: {integrity: sha512-vxo/Ls3/PYdQWyLhYYcgMOCzQypAjcY+iihS8M0wW03l16TCLW4zqZzGo75gm1VdCMj38hTVZ31KBWrZ4G9dJw==} + '@biomejs/cli-darwin-arm64@2.5.15': + resolution: {integrity: sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] - '@biomejs/cli-darwin-x64@2.5.7': - resolution: {integrity: sha512-Cd3Ga61amT/Yl/0x8elP5hhGYaFy4bw6WuysTgf7oo8TA5tJ5A1k+DkVoJ2BHbTVil51gTX9VPzArnrlLJ3Kyg==} + '@biomejs/cli-darwin-x64@2.5.15': + resolution: {integrity: sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] - '@biomejs/cli-linux-arm64-musl@2.5.7': - resolution: {integrity: sha512-xPI5yB6XlpDbNkS+bm1t42olw5c4l3UrlOmLg7KtLJvjvkNF/1V4tnUgfkylGIeb3u/T+BzMGYqgQhzjAoJzuQ==} + '@biomejs/cli-linux-arm64-musl@2.5.15': + resolution: {integrity: sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] libc: [musl] - '@biomejs/cli-linux-arm64@2.5.7': - resolution: {integrity: sha512-rR2QE0yF2GYSuYuKIa7pKvODGJqnOH+2eDREAM8wV+mWKSkMQKdAp4zXEZfTaxY8PMoNONnpgSWcBCyLDPDOKg==} + '@biomejs/cli-linux-arm64@2.5.15': + resolution: {integrity: sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] libc: [glibc] - '@biomejs/cli-linux-x64-musl@2.5.7': - resolution: {integrity: sha512-rE5VZi+qtmPgQH+l7jVxYoZ18b/TiHEhulhMpjmCZH1PltSbjRcxNWywC3HZ9tYottG7ORkeTtoscBilKSBm0g==} + '@biomejs/cli-linux-x64-musl@2.5.15': + resolution: {integrity: sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] libc: [musl] - '@biomejs/cli-linux-x64@2.5.7': - resolution: {integrity: sha512-FQgqJhscrqJUFptGaRSUJWlXAExwWcDwLuK49dvKfkQ1bB5SEEyFssnsxQY83Xm6jR0EbbX3+8+D5bfvYqUG2Q==} + '@biomejs/cli-linux-x64@2.5.15': + resolution: {integrity: sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] libc: [glibc] - '@biomejs/cli-win32-arm64@2.5.7': - resolution: {integrity: sha512-Oq4x0CCwP4jirrcTywXs5kOGZ4v5vuEP+gWrbtjApOA2CL9F3F9GlIdQIci8AKSCa/zURanMRpX/4wQ7Am6hHg==} + '@biomejs/cli-win32-arm64@2.5.15': + resolution: {integrity: sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] - '@biomejs/cli-win32-x64@2.5.7': - resolution: {integrity: sha512-V+0wu/nrj2S+MhP4EQ0uHNolP0IALEsz45pg0WoKkHfDeh0+ItHwP/p7bX5RPoMOl9NkpHYWdYPhIcy2mACHvQ==} + '@biomejs/cli-win32-x64@2.5.15': + resolution: {integrity: sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32] @@ -103,8 +103,12 @@ packages: resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==} engines: {node: '>=0.1.90'} - '@dabh/diagnostics@2.0.8': - resolution: {integrity: sha512-R4MSXTVnuMzGD7bzHdW2ZhhdPC/igELENcq5IjEverBvq5hn1SXCWcsi6eSsdWP0/Ur+SItRRjAktmdoX/8R/Q==} + '@colors/colors@1.6.1': + resolution: {integrity: sha512-dTmUJzXSuayBK+hZydEaXd2mhx61qWQwkwaBBY6LyEOVx/L9aQU5ac8eFNEsd9nrD1+zb9zvDCphLSe8g1F4Qw==} + engines: {node: '>=0.1.90'} + + '@dabh/diagnostics@2.0.9': + resolution: {integrity: sha512-R6siwR65Hm+3yfgP7o8DKhNvputQAwfoz9zTc3kyDudnomj2/BcLmD+uGQQPICjuFUp8ounPBU+jmKsocwVVAg==} '@esbuild/aix-ppc64@0.28.2': resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} @@ -262,18 +266,18 @@ packages: cpu: [x64] os: [win32] - '@hono/node-server@2.0.12': - resolution: {integrity: sha512-eWpQYr67tqJLeaSUl0Q+TquuYfUdTibpOJlUMV2FfUP7+KqCC5TufnwnlXL6mobZBJbGAYRd7ZvEBDCbLInjhg==} + '@hono/node-server@2.1.3': + resolution: {integrity: sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==} engines: {node: '>=20'} peerDependencies: hono: ^4 - '@makingchatbots/genesys-cloud-architect-diagram-lib@1.5.0': - resolution: {integrity: sha512-VIl7kPG1oZXrGcZCy39jhxMF+Byg1NqxWXzj8WJYUBrMj8pQ+9byYHYZXe/yyM6mVjCyZjXqDNNwTostl/DzIQ==, tarball: https://npm.pkg.github.com/download/@makingchatbots/genesys-cloud-architect-diagram-lib/1.5.0/9e74c4a459ca9eb314246de424fa9805bb50fd3b} + '@makingchatbots/genesys-cloud-architect-diagram-lib@1.6.0': + resolution: {integrity: sha512-9q2Ov9fAD4o5bi2WdpwY/36WfUHxbOKulNivdtILDVczRWv4P2CAPxbl6ywY/FjEUSQS669pi2ufPt+tTaiP1A==, tarball: https://npm.pkg.github.com/download/@makingchatbots/genesys-cloud-architect-diagram-lib/1.6.0/b2ee69e9957243c726a9e96dcbb5eda9716f6224} engines: {node: '>=22.12'} - '@modelcontextprotocol/sdk@1.30.0': - resolution: {integrity: sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==} + '@modelcontextprotocol/sdk@1.31.0': + resolution: {integrity: sha512-UvTMgnNlnIBO/22ob2RcVGDlcvOslQs8T59+FTGdA0L27a39fdGF/EDETNtDVK4DZGpwomlsYpRdA8UXcVL/pw==} engines: {node: '>=18'} peerDependencies: '@cfworker/json-schema': ^4.1.1 @@ -285,8 +289,8 @@ packages: '@so-ric/colorspace@1.1.6': resolution: {integrity: sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==} - '@types/node@25.9.5': - resolution: {integrity: sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg==} + '@types/node@26.6.3': + resolution: {integrity: sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg==} '@types/triple-beam@1.3.5': resolution: {integrity: sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==} @@ -436,8 +440,8 @@ packages: asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - axios@1.19.0: - resolution: {integrity: sha512-ht/iuYZXEjFxLH/Hkezgd7m6JKlHHXEUSneaDz8uZe1Gj5QZtCnpyDsckvAiEnT89OEbCLmnte4R4sn7P0EKFw==} + axios@1.20.0: + resolution: {integrity: sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg==} body-parser@2.3.0: resolution: {integrity: sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==} @@ -486,8 +490,8 @@ packages: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} - content-type@2.0.0: - resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==} + content-type@2.1.0: + resolution: {integrity: sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==} engines: {node: '>=18'} cookie-signature@1.2.2: @@ -565,16 +569,16 @@ packages: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} - eventsource-parser@3.1.0: - resolution: {integrity: sha512-kJezFj9YFAMLeORyi7aCLxLbD5/qWMQnoMVlVPyHIll7lgRJCc3JVln9Vgl9nwQi0YkMnhdGTMNn7CkRRAptMg==} + eventsource-parser@3.1.1: + resolution: {integrity: sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==} engines: {node: '>=18.0.0'} eventsource@3.0.7: resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==} engines: {node: '>=18.0.0'} - express-rate-limit@8.6.1: - resolution: {integrity: sha512-0D493aP61w0TJ2A0wy27riRsO7FMQ7FK+KUHOKCSfPvYo0R55aiC6emCVgFUeShH0fq0ICPVzNcgoS+BsbXQCA==} + express-rate-limit@8.7.0: + resolution: {integrity: sha512-hOwV7WOxXfjRpAM1DSJWZDXx3GhplwD8IfwuwvogD8i1Qnkgosw/H45s4ZnFAUHDAhPjlY9hLBvJhKmGMyY26g==} engines: {node: '>= 16'} peerDependencies: express: '>= 4.11' @@ -586,8 +590,8 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - fast-uri@3.1.7: - resolution: {integrity: sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==} + fast-uri@3.1.8: + resolution: {integrity: sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==} fecha@4.2.3: resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==} @@ -599,8 +603,8 @@ packages: fn.name@1.1.0: resolution: {integrity: sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==} - follow-redirects@1.16.0: - resolution: {integrity: sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==} + follow-redirects@1.16.1: + resolution: {integrity: sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -647,8 +651,8 @@ packages: resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} engines: {node: '>= 0.4'} - hono@4.13.0: - resolution: {integrity: sha512-jhunvfHWxd7J5EFfSgH4xsYJzSe/lfqbUCxiyyeaQasUsXeEHXtzVid+7EOGByc5JnFa23SSFL3Y2RV/z1T+eQ==} + hono@4.13.12: + resolution: {integrity: sha512-6E2QDAc9Ick9Sq77ZrGS/dk2WUYni91aufTw6LJKpV7w8kW5/GxVUc650FOADOmlwg3K+f7Pun6XlV+pYmW6gw==} engines: {node: '>=16.9.0'} http-errors@2.0.1: @@ -671,8 +675,8 @@ packages: inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - ip-address@10.4.0: - resolution: {integrity: sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==} + ip-address@10.7.2: + resolution: {integrity: sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w==} engines: {node: '>= 12'} ipaddr.js@1.9.1: @@ -689,8 +693,8 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - jose@6.2.8: - resolution: {integrity: sha512-Bsdjwm3Qsd/P0jR+BHDe3LytDfY7WBq2HmCCLIwuVRHMuEC9ae7/R474GIUdF1NgCyZjzVo/A9DOiOBtXq8ZoQ==} + jose@6.2.12: + resolution: {integrity: sha512-9NiFmJEex0sy2Dk58j2UGBSHgUs2ypF9eZSu4L6vjOX3Dp96Sw1F3uL+H+D1sx02jZZdzUT0HgvCy59CuvXcWw==} json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} @@ -743,9 +747,9 @@ packages: ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - negotiator@1.0.0: - resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} - engines: {node: '>= 0.6'} + negotiator@1.1.0: + resolution: {integrity: sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==} + engines: {node: '>=18'} object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} @@ -780,20 +784,20 @@ packages: resolution: {integrity: sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==} engines: {node: '>=16.20.0'} - proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} + proxy-addr@2.0.8: + resolution: {integrity: sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==} engines: {node: '>= 0.10'} proxy-from-env@2.1.0: resolution: {integrity: sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==} engines: {node: '>=10'} - purecloud-flow-scripting-api-sdk-javascript@0.68.3: - resolution: {integrity: sha512-KdgRI+kiYJOi/bpFxwp1y1Xw3K7/3JNlfp3YsX1Eh49d9s3q6f0xbwFHd6Go9k07LpumZhYsR1ncCGLDAn7UkA==} + purecloud-flow-scripting-api-sdk-javascript@0.69.1: + resolution: {integrity: sha512-tNdzjiqYcpzb7+gtZjgQWrVtvgCR25EwbzGA1NIsyhOX1zCyoJi0HbYTHghzSSU6MaEiPOg0o4MYGPR/UOQLOA==} engines: {node: '>=20.0.0'} - purecloud-platform-client-v2@258.2.0: - resolution: {integrity: sha512-uWm/tOR65wumYGF7c7yxb9R1ZK5A4Tf26ld+n3pg4URQqikrlSSEUem1Vgx1f1pZo513GqQAhz+bZsYuc53TWg==} + purecloud-platform-client-v2@263.2.0: + resolution: {integrity: sha512-ta5vaWKskg+ntw9GM1yPdce691MqLq0sK6cgW0lx6+A9wNKp12N7o4GuzJmAf83+YtkrGOD4byucC0JD+anMmg==} qs@6.16.0: resolution: {integrity: sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==} @@ -894,8 +898,8 @@ packages: engines: {node: '>=16.20.0'} hasBin: true - undici-types@7.24.6: - resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==} + undici-types@8.9.0: + resolution: {integrity: sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==} unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} @@ -941,49 +945,51 @@ packages: peerDependencies: zod: ^3.25.28 || ^4 - zod@4.4.3: - resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==} + zod@4.6.5: + resolution: {integrity: sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==} snapshots: - '@biomejs/biome@2.5.7': + '@biomejs/biome@2.5.15': optionalDependencies: - '@biomejs/cli-darwin-arm64': 2.5.7 - '@biomejs/cli-darwin-x64': 2.5.7 - '@biomejs/cli-linux-arm64': 2.5.7 - '@biomejs/cli-linux-arm64-musl': 2.5.7 - '@biomejs/cli-linux-x64': 2.5.7 - '@biomejs/cli-linux-x64-musl': 2.5.7 - '@biomejs/cli-win32-arm64': 2.5.7 - '@biomejs/cli-win32-x64': 2.5.7 - - '@biomejs/cli-darwin-arm64@2.5.7': + '@biomejs/cli-darwin-arm64': 2.5.15 + '@biomejs/cli-darwin-x64': 2.5.15 + '@biomejs/cli-linux-arm64': 2.5.15 + '@biomejs/cli-linux-arm64-musl': 2.5.15 + '@biomejs/cli-linux-x64': 2.5.15 + '@biomejs/cli-linux-x64-musl': 2.5.15 + '@biomejs/cli-win32-arm64': 2.5.15 + '@biomejs/cli-win32-x64': 2.5.15 + + '@biomejs/cli-darwin-arm64@2.5.15': optional: true - '@biomejs/cli-darwin-x64@2.5.7': + '@biomejs/cli-darwin-x64@2.5.15': optional: true - '@biomejs/cli-linux-arm64-musl@2.5.7': + '@biomejs/cli-linux-arm64-musl@2.5.15': optional: true - '@biomejs/cli-linux-arm64@2.5.7': + '@biomejs/cli-linux-arm64@2.5.15': optional: true - '@biomejs/cli-linux-x64-musl@2.5.7': + '@biomejs/cli-linux-x64-musl@2.5.15': optional: true - '@biomejs/cli-linux-x64@2.5.7': + '@biomejs/cli-linux-x64@2.5.15': optional: true - '@biomejs/cli-win32-arm64@2.5.7': + '@biomejs/cli-win32-arm64@2.5.15': optional: true - '@biomejs/cli-win32-x64@2.5.7': + '@biomejs/cli-win32-x64@2.5.15': optional: true '@colors/colors@1.6.0': {} - '@dabh/diagnostics@2.0.8': + '@colors/colors@1.6.1': {} + + '@dabh/diagnostics@2.0.9': dependencies: '@so-ric/colorspace': 1.1.6 enabled: 2.0.0 @@ -1067,31 +1073,31 @@ snapshots: '@esbuild/win32-x64@0.28.2': optional: true - '@hono/node-server@2.0.12(hono@4.13.0)': + '@hono/node-server@2.1.3(hono@4.13.12)': dependencies: - hono: 4.13.0 + hono: 4.13.12 - '@makingchatbots/genesys-cloud-architect-diagram-lib@1.5.0': {} + '@makingchatbots/genesys-cloud-architect-diagram-lib@1.6.0': {} - '@modelcontextprotocol/sdk@1.30.0(zod@4.4.3)': + '@modelcontextprotocol/sdk@1.31.0(zod@4.6.5)': dependencies: - '@hono/node-server': 2.0.12(hono@4.13.0) + '@hono/node-server': 2.1.3(hono@4.13.12) ajv: 8.20.0 ajv-formats: 3.0.1(ajv@8.20.0) content-type: 1.0.5 cors: 2.8.6 cross-spawn: 7.0.6 eventsource: 3.0.7 - eventsource-parser: 3.1.0 + eventsource-parser: 3.1.1 express: 5.2.1 - express-rate-limit: 8.6.1(express@5.2.1) - hono: 4.13.0 - jose: 6.2.8 + express-rate-limit: 8.7.0(express@5.2.1) + hono: 4.13.12 + jose: 6.2.12 json-schema-typed: 8.0.2 pkce-challenge: 5.0.1 raw-body: 3.0.2 - zod: 4.4.3 - zod-to-json-schema: 3.25.2(zod@4.4.3) + zod: 4.6.5 + zod-to-json-schema: 3.25.2(zod@4.6.5) transitivePeerDependencies: - supports-color @@ -1100,9 +1106,9 @@ snapshots: color: 5.0.3 text-hex: 1.0.0 - '@types/node@25.9.5': + '@types/node@26.6.3': dependencies: - undici-types: 7.24.6 + undici-types: 8.9.0 '@types/triple-beam@1.3.5': {} @@ -1169,7 +1175,7 @@ snapshots: accepts@2.0.0: dependencies: mime-types: 3.0.2 - negotiator: 1.0.0 + negotiator: 1.1.0 agent-base@6.0.2: dependencies: @@ -1184,7 +1190,7 @@ snapshots: ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.1.7 + fast-uri: 3.1.8 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -1192,9 +1198,9 @@ snapshots: asynckit@0.4.0: {} - axios@1.19.0: + axios@1.20.0: dependencies: - follow-redirects: 1.16.0 + follow-redirects: 1.16.1 form-data: 4.0.6 https-proxy-agent: 5.0.1 proxy-from-env: 2.1.0 @@ -1205,7 +1211,7 @@ snapshots: body-parser@2.3.0: dependencies: bytes: 3.1.2 - content-type: 2.0.0 + content-type: 2.1.0 debug: 4.4.3 http-errors: 2.0.1 iconv-lite: 0.7.3 @@ -1255,7 +1261,7 @@ snapshots: content-type@1.0.5: {} - content-type@2.0.0: {} + content-type@2.1.0: {} cookie-signature@1.2.2: {} @@ -1340,17 +1346,17 @@ snapshots: etag@1.8.1: {} - eventsource-parser@3.1.0: {} + eventsource-parser@3.1.1: {} eventsource@3.0.7: dependencies: - eventsource-parser: 3.1.0 + eventsource-parser: 3.1.1 - express-rate-limit@8.6.1(express@5.2.1): + express-rate-limit@8.7.0(express@5.2.1): dependencies: debug: 4.4.3 express: 5.2.1 - ip-address: 10.4.0 + ip-address: 10.7.2 transitivePeerDependencies: - supports-color @@ -1375,7 +1381,7 @@ snapshots: on-finished: 2.4.1 once: 1.4.0 parseurl: 1.3.3 - proxy-addr: 2.0.7 + proxy-addr: 2.0.8 qs: 6.16.0 range-parser: 1.3.0 router: 2.2.0 @@ -1389,7 +1395,7 @@ snapshots: fast-deep-equal@3.1.3: {} - fast-uri@3.1.7: {} + fast-uri@3.1.8: {} fecha@4.2.3: {} @@ -1406,7 +1412,7 @@ snapshots: fn.name@1.1.0: {} - follow-redirects@1.16.0: {} + follow-redirects@1.16.1: {} form-data@4.0.6: dependencies: @@ -1452,7 +1458,7 @@ snapshots: dependencies: function-bind: 1.1.2 - hono@4.13.0: {} + hono@4.13.12: {} http-errors@2.0.1: dependencies: @@ -1477,7 +1483,7 @@ snapshots: inherits@2.0.4: {} - ip-address@10.4.0: {} + ip-address@10.7.2: {} ipaddr.js@1.9.1: {} @@ -1487,7 +1493,7 @@ snapshots: isexe@2.0.0: {} - jose@6.2.8: {} + jose@6.2.12: {} json-schema-traverse@1.0.0: {} @@ -1530,7 +1536,9 @@ snapshots: ms@2.1.3: {} - negotiator@1.0.0: {} + negotiator@1.1.0: + dependencies: + content-type: 2.1.0 object-assign@4.1.1: {} @@ -1556,23 +1564,23 @@ snapshots: pkce-challenge@5.0.1: {} - proxy-addr@2.0.7: + proxy-addr@2.0.8: dependencies: forwarded: 0.2.0 ipaddr.js: 1.9.1 proxy-from-env@2.1.0: {} - purecloud-flow-scripting-api-sdk-javascript@0.68.3: + purecloud-flow-scripting-api-sdk-javascript@0.69.1: dependencies: ws: 8.21.1 transitivePeerDependencies: - bufferutil - utf-8-validate - purecloud-platform-client-v2@258.2.0: + purecloud-platform-client-v2@263.2.0: dependencies: - axios: 1.19.0 + axios: 1.20.0 configparser: 0.3.10 winston: 3.19.0 transitivePeerDependencies: @@ -1694,7 +1702,7 @@ snapshots: type-is@2.1.0: dependencies: - content-type: 2.0.0 + content-type: 2.1.0 media-typer: 1.1.1 mime-types: 3.0.2 @@ -1721,7 +1729,7 @@ snapshots: '@typescript/typescript-win32-arm64': 7.0.2 '@typescript/typescript-win32-x64': 7.0.2 - undici-types@7.24.6: {} + undici-types@8.9.0: {} unpipe@1.0.0: {} @@ -1741,8 +1749,8 @@ snapshots: winston@3.19.0: dependencies: - '@colors/colors': 1.6.0 - '@dabh/diagnostics': 2.0.8 + '@colors/colors': 1.6.1 + '@dabh/diagnostics': 2.0.9 async: 3.2.6 is-stream: 2.0.1 logform: 2.7.0 @@ -1757,8 +1765,8 @@ snapshots: ws@8.21.1: {} - zod-to-json-schema@3.25.2(zod@4.4.3): + zod-to-json-schema@3.25.2(zod@4.6.5): dependencies: - zod: 4.4.3 + zod: 4.6.5 - zod@4.4.3: {} + zod@4.6.5: {} diff --git a/scripts/deploy-runner.js b/scripts/deploy-runner.js index b793f55..a76eebf 100644 --- a/scripts/deploy-runner.js +++ b/scripts/deploy-runner.js @@ -42,10 +42,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge mod )); -// 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 +// require("./**/*") in node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.69.1/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.68.3/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.69.1/node_modules/purecloud-flow-scripting-api-sdk-javascript/build-scripting/release/scripting.bundle.js'() { globRequire = __glob({ "./scripting.bundle.js": () => require_scripting_bundle() }); @@ -3747,9 +3747,9 @@ var require_ws = __commonJS({ } }); -// 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 +// node_modules/.pnpm/purecloud-flow-scripting-api-sdk-javascript@0.69.1/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.68.3/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.69.1/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(); @@ -3759,23638 +3759,20659 @@ var require_scripting_bundle = __commonJS({ for (var n in i) ("object" == typeof exports2 ? exports2 : e)[n] = i[n]; } })(global, () => (() => { - var e, i = { 32: (e2, t2, i2) => { + var e = { 96618(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefInqueueCallFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(27862); - class s extends r2.BriefFlowListManager { - get dependencyType() { - return a.InqueueCallFlow; - } - constructor() { - super(), this.topic = n2.getTopic("BriefInqueueCallFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeInQueueCall }, this.className = "BriefInqueueFlowListManager", this.flowType = o.flowTypes.flowTypeInQueueCall, this._initialize(); - } - } - t2.briefInqueueCallFlowListManager = new s(); - }, 48: (e2, t2, i2) => { + var n2 = this && this.__createBinding || (Object.create ? function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3); + var o2 = Object.getOwnPropertyDescriptor(t3, i3); + o2 && !("get" in o2 ? !t3.__esModule : o2.writable || o2.configurable) || (o2 = { enumerable: true, get: function() { + return t3[i3]; + } }), Object.defineProperty(e3, n3, o2); + } : function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; + }), o = this && this.__setModuleDefault || (Object.create ? function(e3, t3) { + Object.defineProperty(e3, "default", { enumerable: true, value: t3 }); + } : function(e3, t3) { + e3.default = t3; + }), r = this && this.__importStar || function(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) && n2(t3, e3, i3); + return o(t3, e3), t3; + }; + 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 = r(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; + } }); + }, 69706(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 { - constructor(e3) { - super(e3), (0, s.makeUnenumerable)(this, "_destinationFlowTypes"); - } - get destinationFlowTypes() { - return this._destinationFlowTypes; - } - set destinationFlowTypes(e3) { - this._destinationFlowTypes = r2.default.isArray(e3) ? [...e3] : void 0; - } - } - 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, 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() { - let e3 = 0, t3 = 0; - for (; ; t3++) { - if (15 === t3 || t3 === h.length) { - t3--; - break; - } - const i3 = h[t3], n3 = h[t3].message ? i3.message.length : 0; - if (!(n3 + e3 < p)) { - if (0 === e3 && n3 > p) { - g(0, i3.message), i3.message = i3.message.substring(0, p) + "...forced_trim..."; - break; - } - t3--; - break; - } - e3 += n3; - } - return t3 >= 0 ? h.splice(0, t3 + 1) : []; - }, T = function() { - (h.length > 15 || n2.findWhere(h, { level: m.error })) && y(); - }, y = n2.throttle(function() { - (function() { - if (!a.isConnected() || 0 === h.length) return Promise.resolve(); - h.length; - const e3 = f(); - 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(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); - }).finally(function() { - h.length; - }); - })().finally(function() { - S(), T(); + var n2 = this && this.__importDefault || function(e3) { + return e3 && e3.__esModule ? e3 : { default: 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.flowTypeBusinessProcess = 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 !!o.default.isString(e3) && (S(e3) || y(e3)); + }, t2.isVxmlgenFlowType = A, t2.isEmailFlowType = function(e3) { + return !!o.default.isString(e3) && (e3 === r.inboundEmail || e3 === r.inQueueEmail || e3 === r.emailSend); + }, t2.isInQueueAutomateFlowType = function(e3) { + return !!o.default.isString(e3) && (e3 === r.inQueueEmail || e3 === r.inQueueShortMessage); + }, t2.isShortMessageFlowType = function(e3) { + return !!o.default.isString(e3) && (e3 === r.inboundShortMessage || e3 === r.inQueueShortMessage); + }, t2.isFlowTypeGroupName = function(e3) { + return !!o.default.isString(e3) && !o.default.isUndefined(s[e3.toLowerCase()]); + }, t2.resolveCasedFlowTypeOrTypesString = function(e3) { + if (o.default.isString(e3)) return T[e3.toLowerCase()]; + }, t2.hasVxmlgenFlowType = function(e3) { + return e3.some((e4) => A(e4)); + }, t2.hasAutomateFlowType = function(e3) { + return e3.some((e4) => y(e4)); + }, t2.hasCiceroFlowType = function(e3) { + 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 = C(t3)[e3]; + return i3 ? [...i3] : []; + }, t2.getFlowTypeGroupIdsForFlowTypeId = function(e3, t3 = false) { + const i3 = C(t3); + return O.filter((t4) => { + var n3; + return null === (n3 = i3[t4]) || void 0 === n3 ? void 0 : n3.includes(e3); }); - }, _); - function S() { - if (!h.length) return; - const e3 = h.length; - if (h.length > 500) { - let t3 = 0; - h = n2.reject(h, function(e4) { - if (t3 < 10 && e4.level === m.info) return t3++, true; - }); - let i3 = ""; - if (t3 > 0 && (i3 = "Losing oldest " + t3 + " INFO traces from buffer because it exceeded local trace buffer size of " + e3), t3 < 10 && h.length > 500) { - const e4 = 10 - t3; - h = n2.initial(h, e4); - i3 += " " + ("Losing newest " + e4 + " traces from buffer because it exceeded local trace buffer."), t3 += e4; - } - t3 > 0 && h.push(new l({ name: "architect.tracing" }, i3, m.info)); - } + }, t2.haveOrgFlowTypeExpansionsBeenSet = function() { + return void 0 !== v; + }; + const o = n2(i2(92140)); + t2.FlowTypeId = { bot: "bot", businessProcess: "businessprocess", 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 r = t2.FlowTypeId, a = {}; + o.default.each(r, (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 A(e3, t3, i3, n3) { - const r3 = new l(e3, t3, i3, n3); - h.push(r3), S(), T(); + function d(e3) { + return "string" == typeof e3 && u.has(e3); } - function N() { + const p = [r.emailSend, r.businessProcess, r.inboundChat, r.inboundEmail, r.inboundShortMessage, r.inQueueEmail, r.inQueueShortMessage, r.surveyInvite, r.workflow, r.workitem], _ = [r.inboundCall, r.inQueueCall, r.outboundCall, r.secureCall, r.voicemail], h = [r.bot, r.digitalBot, r.voice, r.voiceSurvey], m = [r.commonModule], g = o.default.union(_, p, h, m), f = o.default.union(_, [r.voice]), T = {}; + function y(e3) { + return !!o.default.isString(e3) && o.default.contains(t2.flowTypesAllAutomate, e3); } - r2.getAuthenticatedPromise().then(function() { - h.length, setInterval(y, d); - }), o(N, { unitTest_clearBuffer: function() { - h = []; - }, unitTest_getBuffer: function() { - return h; - }, unitTest_getNextSendBatch: function() { - return f(); - }, error: function(e3, t3, i3) { - let r3 = ""; - if (n2.isString(i3)) r3 += u.formatStringForTracing.apply(null, n2.rest(arguments, 2)); - else if (!t3) return; - A(e3, r3, this.levels.error, t3); - }, info: function(e3) { - let t3 = ""; - t3 += u.formatStringForTracing.apply(null, n2.rest(arguments)), A(e3, t3, this.levels.info); - }, levels: m, warning: function(e3) { - let t3 = ""; - t3 += u.formatStringForTracing.apply(null, n2.rest(arguments)), A(e3, t3, this.levels.warning); - } }), e2.exports = new N(); - }, 84: (e2, t2, i2) => { + function S(e3) { + return !!o.default.isString(e3) && o.default.contains(t2.flowTypesAllCicero, e3); + } + function A(e3) { + return !!o.default.isString(e3) && o.default.contains(t2.flowTypesAllVxmlgen, e3); + } + o.default.each(r, (e3) => { + T[e3] = e3; + }), T.all = g, T.allcall = _, T.allautomate = p, T.allbot = h, t2.flowTypeBot = r.bot, t2.flowTypeBusinessProcess = r.businessProcess, t2.flowTypeCommonModule = r.commonModule, t2.flowTypeDigitalBot = r.digitalBot, t2.flowTypeEmailSend = r.emailSend, t2.flowTypeInboundCall = r.inboundCall, t2.flowTypeInboundChat = r.inboundChat, t2.flowTypeInboundEmail = r.inboundEmail, t2.flowTypeInboundShortMessage = r.inboundShortMessage, t2.flowTypeInQueueCall = r.inQueueCall, t2.flowTypeInQueueEmail = r.inQueueEmail, t2.flowTypeInQueueShortMessage = r.inQueueShortMessage, t2.flowTypeOutboundCall = r.outboundCall, t2.flowTypeSecureCall = r.secureCall, t2.flowTypeSurveyInvite = r.surveyInvite, t2.flowTypeVoice = r.voice, t2.flowTypeVoicemail = r.voicemail, t2.flowTypeVoiceSurvey = r.voiceSurvey, t2.flowTypeWorkflow = r.workflow, t2.flowTypeWorkitem = r.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 I() { + return { [t2.FlowTypeGroupId.allCall]: t2.flowTypesAllVxmlgen, [t2.FlowTypeGroupId.allAutomate]: t2.flowTypesAllAutomate, [t2.FlowTypeGroupId.allBot]: t2.flowTypesAllCicero, [t2.FlowTypeGroupId.all]: t2.flowTypesAll }; + } + function C(e3 = false) { + return e3 ? I() : Object.assign(Object.assign({}, I()), v); + } + t2.flowTypesToYamlFlowTypesMap = (() => { + const e3 = {}; + return o.default.each(r, (t3, i3) => { + var n3; + const o2 = "bot" === i3 ? "botFlow" : null !== (n3 = N[t3]) && void 0 !== n3 ? n3 : i3; + e3[t3] = o2; + }), e3; + })(), t2.yamlFlowTypes = Object.values(t2.flowTypesToYamlFlowTypesMap), t2.yamlFlowTypesToFlowTypesMap = (() => { + const e3 = {}; + return o.default.each(r, (t3, i3) => { + var n3; + const o2 = "bot" === i3 ? "botFlow" : null !== (n3 = N[t3]) && void 0 !== n3 ? n3 : i3; + e3[o2] = t3; + }), e3; + })(); + const O = [t2.FlowTypeGroupId.allCall, t2.FlowTypeGroupId.allAutomate, t2.FlowTypeGroupId.allBot, t2.FlowTypeGroupId.all]; + }, 68694(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(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); - } - get className() { - return "DecimalType"; - } - createExpressionOptionClass() { - return new l.ExpressionTypeDecimalOptions(this.isCollection); - } - convertLitToExpression(e3, t3) { - if (!t3) return ""; - let i3 = t3.trim(); - if (0 === i3.length) return ""; - let n3 = i3.indexOf("-"); - const r3 = -1 !== n3; - -1 === n3 ? n3 = 0 : n3++; - const o2 = i3.length - 1; - for (; n3 < o2 && "0" === i3[n3] && "." !== i3[n3 + 1]; ) n3++; - n3 && (i3 = (r3 ? "-" : "") + i3.substring(n3)); - const a2 = i3.indexOf("."); - return -1 === a2 ? i3 + ".0" : a2 === i3.length - 1 ? i3 + "0" : i3; + var n2 = this && this.__createBinding || (Object.create ? function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3); + var o2 = Object.getOwnPropertyDescriptor(t3, i3); + o2 && !("get" in o2 ? !t3.__esModule : o2.writable || o2.configurable) || (o2 = { enumerable: true, get: function() { + return t3[i3]; + } }), Object.defineProperty(e3, n3, o2); + } : function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; + }), o = this && this.__exportStar || function(e3, t3) { + for (var i3 in e3) "default" === i3 || Object.prototype.hasOwnProperty.call(t3, i3) || n2(t3, e3, i3); + }; + Object.defineProperty(t2, "__esModule", { value: true }), o(i2(21095), t2), o(i2(71240), t2), o(i2(10914), t2), o(i2(47222), t2), o(i2(41739), t2), o(i2(14298), t2), o(i2(30058), t2), o(i2(72478), t2); + }, 30058(e2, t2) { + "use strict"; + var i2, n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }), t2.NluUtteranceSource = t2.EntityTypeMechanismSubType = t2.BuiltInEntityType = t2.EntityTypeMechanismType = void 0, (r = t2.EntityTypeMechanismType || (t2.EntityTypeMechanismType = {})).AI = "ai", r.DynamicDateTime = "dynamicdatetime", r.DynamicList = "dynamiclist", r.Enum = "enum", r.List = "list", r.Regex = "regex", (o = t2.BuiltInEntityType || (t2.BuiltInEntityType = {})).BuiltInPrefix = "builtin:", o.BuiltInAmountOfMoney = "builtin:amountOfMoney", o.BuiltInDate = "builtin:date", o.BuiltInDateTime = "builtin:datetime", o.BuiltInDuration = "builtin:duration", o.BuiltInInteger = "builtin:integer", o.BuiltInNumber = "builtin:number", o.BuiltInTime = "builtin:time", o.BuiltInAny = "builtin:any", (n2 = t2.EntityTypeMechanismSubType || (t2.EntityTypeMechanismSubType = {})).Alphanumeric = "Alphanumeric", n2.FreeForm = "FreeForm", n2.NumberSequence = "NumberSequence", (i2 = t2.NluUtteranceSource || (t2.NluUtteranceSource = {})).Generated = "Generated", i2.User = "User"; + }, 41739(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 14298(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 72478(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 14443(e2, t2) { + "use strict"; + t2.isString = t2.isEmptyObject = void 0, t2.isEmptyObject = function(e3) { + return e3 && Object.keys(e3).length < 1; + }, t2.isString = function(e3) { + return "string" == typeof e3; + }; + }, 21095(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.EntityUtil = void 0; + const n2 = i2(14443), o = i2(30058), r = i2(65654); + t2.EntityUtil = class { + static getEntityTypeByName(e3, t3) { + return (null == e3 ? void 0 : e3.entityTypes) && t3 && e3.entityTypes.find((e4) => { + var i3; + return (null === (i3 = e4.name) || void 0 === i3 ? void 0 : i3.toLowerCase()) === t3.toLowerCase(); + }) || {}; } - getYamlObjectForLiteralSingleton(e3) { - super.getYamlObjectForLiteralSingleton(e3); - const t3 = Number(e3.text); - return o.default.isActualNumber(t3) || h.errorWithStack(null, "Invalid number parsed in DecimalType.getYamlObjectForLiteralSingleton"), t3; + static getListTypeEntityTypeValueLabels(e3, t3, i3) { + if (!e3 || !t3 || !i3) return {}; + const o2 = this.getListTypeEntityTypeItem(t3, i3); + if ((0, n2.isEmptyObject)(o2)) return {}; + const r2 = o2.value, a = {}; + r2 && (a._default = r2, a[e3.language] = r2); + for (let e4 in o2.additionalLanguages) { + const t4 = o2.additionalLanguages[e4]; + a[e4.toLowerCase()] = t4.synonyms ? t4.synonyms[0] : r2; + } + return a; } - 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); + static getListTypeEntityTypeByNameValueLabels(e3, t3, i3) { + return this.getListTypeEntityTypeValueLabels(e3, this.getEntityTypeByName(e3, t3), i3); } - validateLiteral(e3, t3) { - var i3, n3; - if (t3.outOfService) return true; - const o2 = Number(t3.text); - 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); + static getListTypeEntityTypeValueLabelForLanguage(e3, t3, i3, o2) { + if (!(e3 && t3 && o2 && i3 && this.isEntityTypeOfTypeList(t3))) return ""; + const r2 = this.getListTypeEntityTypeItem(t3, i3); + if ((0, n2.isEmptyObject)(r2)) return ""; + o2 = o2.toLowerCase(); + const a = r2.value; + if (o2 === e3.language.toLowerCase()) return a; + let s = {}; + for (let e4 in r2.additionalLanguages) e4.toLowerCase() === o2 && (s = r2.additionalLanguages[e4]); + return (0, n2.isEmptyObject)(s) ? a : s.synonyms[0] || a; } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - return this.convertLitToExpression(e3, i3 || t3); + static getListTypeEntityTypeByNameValueLabelForLanguage(e3, t3, i3, n3) { + return this.getListTypeEntityTypeValueLabelForLanguage(e3, this.getEntityTypeByName(e3, t3), i3, n3); } - } - t2.DecimalType = g, g.typeIdentifier = p.expressionTypeNames.decimal; - }, 88: (e2, t2, i2) => { - const n2 = i2(24893), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _suppressRecording: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "VoiceFlowConfiguration"), Object.defineProperties(o.prototype, { suppressRecording: { enumerable: true, get: function() { - return this._suppressRecording; - }, set: function(e3) { - this._suppressRecording = this.reviveItem(e3, r2); - } } }), 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)), 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 getEntities(e3) { + return (null == e3 ? void 0 : e3.entities) ? e3.entities : []; } - static get branchInfo() { - return N.isFeatureAvailable(I.default.botFlowsEnhancedRecognitionFailureHandling) ? [y.default.maxNoInputsOptional, y.default.maxNoMatchesOptional] : [y.default.maxNoInputsOptional]; + static getEntityByName(e3, t3) { + return (null == e3 ? void 0 : e3.entities) && t3 && e3.entities.find((e4) => (null == e4 ? void 0 : e4.name.toLowerCase()) === t3.toLowerCase()) || {}; } - get supportsCustomOutputPaths() { - return true; + static getEntityNames(e3) { + var t3; + if (!e3) return []; + const i3 = []; + return null === (t3 = e3.entities) || void 0 === t3 || t3.forEach((e4) => { + i3.push(e4.name); + }), i3; } - static get managedProperties() { - 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 }]; + static getEntityTypeNames(e3) { + var t3; + if (!e3) return []; + const i3 = []; + return null === (t3 = e3.entityTypes) || void 0 === t3 || t3.forEach((e4) => { + i3.push(e4.name); + }), i3; } - _updateChooser() { - this.chooser.type.setValueSourceTypeToCustom(this.chooser); + static isEntityTypeOfType(e3, t3) { + var i3, n3; + return !(!e3 || !t3) && (null === (n3 = null === (i3 = null == e3 ? void 0 : e3.mechanism) || void 0 === i3 ? void 0 : i3.type) || void 0 === n3 ? void 0 : n3.toLowerCase()) === t3; } - _updateOutOfService() { + static getEntityTypeFromEntity(e3, t3) { + return this.getEntityTypeByName(e3, null == t3 ? void 0 : t3.type); } - onChoicesUpdated() { - this.updateChoicePaths(), this.initializeDesignTimeCalled && O.validateAction(this, false, true); + static getListTypeEntityTypeByName(e3, t3) { + const i3 = this.getEntityTypeByName(e3, t3); + return this.isEntityTypeOfTypeList(i3) ? i3 : {}; } - 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)); + static getEntityTypeAllowableValues(e3) { + var t3; + if (!(null === (t3 = null == e3 ? void 0 : e3.mechanism) || void 0 === t3 ? void 0 : t3.items) || !this.isEntityTypeOfTypeList(e3)) return []; + const i3 = []; + return e3.mechanism.items.forEach((e4) => { + "string" == typeof e4.value && e4.value.length && i3.push(e4.value); + }), i3; } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setBranchOutOfService(y.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(y.default.maxNoMatchesOptional.outputId), this.uiMetaData.version = D; + static getListTypeEntityTypeByNameAllowableValues(e3, t3) { + return e3 && t3 ? this.getEntityTypeAllowableValues(this.getEntityTypeByName(e3, t3)) : []; } - get isDigitalMenuActionViewModel() { - return true; + static getEntityTypeItemFromEntityTypeByName(e3, t3, i3) { + return e3 && t3 && i3 ? this.getListTypeEntityTypeItem(this.getEntityTypeByName(e3, t3), i3) : {}; } - updateChoicePaths() { - if (!this.initializeDesignTimeCalled) return; - const e3 = (e4) => { - const t4 = S.createBranchItem(this.id, e4.choiceValueStr, null, false); - return t4.isDynamicBranch = true, e4.branch = t4, t4; - }, t3 = (e4, t4) => { - if (e4) { - const i4 = this.getBranchInfo(e4); - if (i4) return t4.branch = i4, true; - } - }, 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() || R.cardsAndCars.choiceLabelNoName; - if (n4) { - const r4 = { choice: i4, choiceValueStr: n4, branch: null }; - if (!t3(i4.type.getReferenceId(i4), r4)) { - r4.choiceValueStr = n4; - const t4 = e3(r4); - i4.type.setReferenceId(i4, t4.outputId); - } - return r4; - } - } - }), o2 = this.getBranch(y.default.default.outputId); - n3 ? o2 || this.addOptionalBranchInfo(y.default.default) : o2 && o2.hasChildren ? o2.isUnreachable = true : this.removeOptionalBranchInfoById(y.default.default.outputId); - const s2 = a.default.pluck(this.branchInfoList, "outputId"), l2 = r3.map((e4) => { - var t4; - return null === (t4 = null == e4 ? void 0 : e4.branch) || void 0 === t4 ? void 0 : t4.outputId; - }); - 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 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: - case y.default.default.outputId: - continue; - } - u2 && u2.hasChildren ? u2.isUnreachable = true : this.removeOptionalBranchInfoById(e4); + static getListTypeEntityTypeItem(e3, t3) { + var i3; + if (!e3 || !this.isEntityTypeOfTypeList(e3) || !t3) return {}; + if (e3.mechanism.items) { + t3 = t3.toLowerCase(); + const n3 = e3.mechanism.items; + for (let e4 = 0; e4 < n3.length; e4++) if ((null === (i3 = n3[e4].value) || void 0 === i3 ? void 0 : i3.toLowerCase()) === t3) return n3[e4]; } - this.branches.sort((e4, t4) => l2.indexOf(e4.id) - l2.indexOf(t4.id)), this.updateTermination(false), A.emitter.emit(A.branchesChanged); - } - validate(e3) { - super.validate(e3), e3.isDeep && !this.isReadOnly && this.updateChoicePaths(); - } - static createNoMatchRepromptsOptions() { - 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); + return {}; } - 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, 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); + static isEntityTypeOfTypeDynamicDateTime(e3) { + return this.isEntityTypeOfType(e3, o.EntityTypeMechanismType.DynamicDateTime); } - propertyChanged(e3) { - 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); + static isEntityTypeOfTypeAI(e3) { + return this.isEntityTypeOfType(e3, o.EntityTypeMechanismType.AI); } - 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[d.PROP_LISTPICKER]; + static isEntityTypeOfTypeDynamicList(e3) { + return this.isEntityTypeOfType(e3, o.EntityTypeMechanismType.DynamicList); } - } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(11210)), a = i2(19384), s = i2(30801); - class l extends o.default { - constructor(e3) { - super(e3), this._targetArchMenu = void 0; + static isEntityTypeOfTypeEnum(e3) { + return this.isEntityTypeOfType(e3, o.EntityTypeMechanismType.Enum); } - get _actionTypeId() { - return s.transferMenuActionType; + static isEntityTypeOfTypeList(e3) { + return this.isEntityTypeOfType(e3, o.EntityTypeMechanismType.List); } - get displayTypeName() { - return this._scriptingName; + static isEntityTypeOfTypeRegex(e3) { + return this.isEntityTypeOfType(e3, o.EntityTypeMechanismType.Regex); } - get isArchActionJumpToMenu() { - return true; + static isEntityTypeABuiltInType(e3) { + var t3, i3; + return null === (i3 = null === (t3 = null == e3 ? void 0 : e3.type) || void 0 === t3 ? void 0 : t3.toLowerCase()) || void 0 === i3 ? void 0 : i3.startsWith(o.BuiltInEntityType.BuiltInPrefix); } - get targetMenu() { - if (this._coreActionViewModel.menuReference) { - const e3 = this._coreActionViewModel.parentFlow ? a.flowElementRegistrationService.getItemById(this._coreActionViewModel.parentFlow, this._coreActionViewModel.menuReference) : void 0; - if (e3) return this.coreFactory.createArchWrapper(e3); - } + static getArchFlowSummaryNluDomainVersion(e3) { + return new r.SummaryUtil().getArchFlowSummaryNluDomainVersion(e3); } - set targetMenu(e3) { - if (r2.default.isNull(e3) || r2.default.isUndefined(e3)) return this._targetArchMenu = null, this.logNote("setting the jump to menu to null"), void this._coreActionViewModel.menu.setReference(null); - const t3 = this._infoPropSet("archMenuTarget", "targetMenu"), i3 = e3; - this._checkItem(t3, !e3 || !i3.isArchMenu && !i3.isArchMenuSubMenu, "you cannot set the target menu of a jump to menu action to be an object that is not an Architect menu or sub-menu."), this._checkItemSameParentFlow(t3, this.parentFlow, e3.parentFlow); - const n3 = this._coreActionViewModel.menu.getInvalidReferenceReason(e3._getCoreViewModel()); - this._checkItem(t3, n3, `targetMenu is not valid as the jump to menu target, reason: ${n3}`), this._targetArchMenu = e3, this.logNote("setting the jump to menu to " + e3.logStr), this._coreActionViewModel.menu.setReference(e3._getCoreViewModel()); + static hasMinLengthForEntityType(e3) { + var t3; + return void 0 !== (null === (t3 = null == e3 ? void 0 : e3.mechanism) || void 0 === t3 ? void 0 : t3.minLength); } - } - t2.default = l; - }, 173: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { setPostFlowActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _actionType: { writable: true }, _target: { writable: true }, _invocationData: { writable: true } }), this.flowId = void 0, this.flowName = void 0, this.flowVersion = void 0, this.flowLatestVersion = true, this.flowDebugPublished = false, this.voiceSurveyFlowId = void 0, this.voiceSurveyFlowName = void 0, this.voiceSurveyFlowVersion = void 0, this.voiceSurveyFlowLatestVersion = true, this.voiceSurveyFlowDebugPublished = false, this.inboundShortMessageFlowId = void 0, this.inboundShortMessageFlowName = void 0, this.inboundShortMessageFlowVersion = void 0, this.inboundShortMessageFlowLatestVersion = true, this.inboundShortMessageFlowDebugPublished = false, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.action?.pasteResolveOldToNewValues(e3), this.target.pasteResolveOldToNewValues(e3), this.invocationData.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.action?.pasteReIdOrRename(e3), this.target.pasteReIdOrRename(e3), this.invocationData.pasteReIdOrRename(e3); - } }, actionType: { enumerable: true, get: function() { - return this._actionType; - }, set: function(e3) { - this._actionType = this.reviveItem(e3, r2); - } }, target: { enumerable: true, get: function() { - return this._target; - }, set: function(e3) { - this._target = this.reviveItem(e3, r2); - } }, invocationData: { enumerable: true, get: function() { - return this._invocationData; - }, set: function(e3) { - this._invocationData = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 184: (e2, t2, i2) => { + }; + }, 71240(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + Object.defineProperty(t2, "__esModule", { value: true }), t2.IntentUtil = void 0; + const n2 = i2(14443); + class o { + static getIntents(e3) { + return Array.isArray(null == e3 ? void 0 : e3.intents) ? e3.intents : []; } - static get managedProperties() { - 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 }); + static hasIntents(e3) { + return o.getIntents(e3).length > 0; } - } - 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)), 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); + static getIntentByName(e3, t3) { + if (!e3 || !t3) return {}; + if (!(0, n2.isString)(t3)) return {}; + const i3 = t3.toLowerCase(); + return o.getIntents(e3).find((e4) => (null == e4 ? void 0 : e4.name.toLowerCase()) === i3) || {}; } - _pushAction(e3) { - this.topParent._pushAction(e3), super._pushAction(e3); + static getIntentNames(e3) { + if (!e3) return []; + const t3 = []; + return o.getIntents(e3).forEach((e4) => { + t3.push(e4.name); + }), t3; } - _spliceAction(e3) { - this.topParent._spliceAction(e3); - const t3 = super._spliceAction(e3); - return t3 && 0 === this.actions.length && (0, l.fireEvent)(this.parent, a.lastPathActionRemoved, this), t3; + static getIntentEntityTypeBindings(e3, t3) { + var i3; + if (!e3 || !t3) return []; + const n3 = o.getIntentByName(e3, t3); + return (null === (i3 = null == n3 ? void 0 : n3.entityTypeBindings) || void 0 === i3 ? void 0 : i3.length) && Array.isArray(null == n3 ? void 0 : n3.entityTypeBindings) ? n3.entityTypeBindings : []; } - get _topActionId() { - return this.model.nextActionId; + static getIntentEntityNameReferences(e3, t3) { + var i3; + if (!e3 || !t3) return []; + const n3 = o.getIntentByName(e3, t3); + return (null === (i3 = null == n3 ? void 0 : n3.entityNameReferences) || void 0 === i3 ? void 0 : i3.length) && Array.isArray(null == n3 ? void 0 : n3.entityNameReferences) ? n3.entityNameReferences : []; } - set _topActionId(e3) { - this.model.nextActionId = e3; + static getIntentUtterances(e3, t3) { + var i3; + if (!e3 || !t3) return []; + const n3 = o.getIntentByName(e3, t3); + return (null === (i3 = null == n3 ? void 0 : n3.utterances) || void 0 === i3 ? void 0 : i3.length) && Array.isArray(null == n3 ? void 0 : n3.utterances) ? n3.utterances : []; } - _loadModel(e3) { - e3 && super._loadModel(e3); + static getIntentAdditionalLanguages(e3, t3) { + if (!e3 || !t3) return {}; + const i3 = o.getIntentByName(e3, t3); + return !(null == i3 ? void 0 : i3.additionalLanguages) || "object" != typeof (null == i3 ? void 0 : i3.additionalLanguages) || Array.isArray(null == i3 ? void 0 : i3.additionalLanguages) ? {} : i3.additionalLanguages; } - _setModelDisabled(e3, t3) { - this.model.disabled = e3, t3 && this.updateTermination(); + static getIntentAdditionalLanguagesLanguageTags(e3, t3) { + if (!e3 || !t3) return []; + const i3 = o.getIntentAdditionalLanguages(e3, t3); + return (0, n2.isEmptyObject)(i3) ? [] : Object.keys(i3); } - _setModelUnreachable(e3, t3) { - this.model.unreachable = e3, t3 && this.updateTermination(); + static getIntentAdditionalLanguageForLanguage(e3, t3, i3) { + if (!e3 || !t3 || !i3) return {}; + const r = o.getIntentAdditionalLanguages(e3, t3); + return (0, n2.isEmptyObject)(r) ? {} : (null == r ? void 0 : r[i3]) ? r[i3] : {}; } - _setModelOutOfService(e3, t3) { - this.model.outOfService = !!e3 || void 0, t3 && this.updateTermination(true); - } - destroyChildren() { - for (let e3 = this.children.length - 1; e3 >= 0; e3--) o.default.isFunction(this.children[e3].destroy) && (this.children[e3].isDestroyedOrDestroying || this.children[e3].destroy()), this._spliceAction(this.children[e3]); - super.destroyChildren(); - } - getConfiguration(e3, t3) { - var i3; - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const n3 = this.getMainPathActions().map((i4) => i4.getConfiguration(e3, t3)), r3 = {}; - return (null === (i3 = this.branchInfo.yamlOptions) || void 0 === i3 ? void 0 : i3.exportOutOfService) && (r3.enabled = !this.outOfService), n3.length && (r3.actions = n3), Object.keys(r3).length ? r3 : null; - } - return this.model; - } - get hasChildren() { - return this.children && this.children.length > 0; - } - get id() { - return this.model.outputId; - } - get isActionPathViewModel() { - return true; - } - initialize() { - this._topActionId && (this.topAction = this.topParent.getChild(this._topActionId), this.actions.length = 0, super.initialize()); - } - _initializeDesignTime() { - super._initializeDesignTime(), this.isUnavailable && (this.outOfService = true); - } - get isSetToDisabled() { - return this.model.disabled; - } - get isUnavailable() { - var e3; - return !(!(null === (e3 = this.branchInfo) || void 0 === e3 ? void 0 : e3.featureConfigName) || !s.isFeatureUnavailable(this.branchInfo.featureConfigName)) || !(!o.default.isFunction(this.parent.isOptionalPathAvailable) || this.parent.isOptionalPathAvailable(this)); - } - get isDisabled() { - return !!o.default.find(this.parent.branches, (e3) => e3 !== this && e3.branchInfo.isActionInternal && e3.branchInfo.canTerminate && e3.isTerminating) || this.parent.isDisabled || this.isSetToDisabled || this.isUnreachable || this.outOfService; - } - set isDisabled(e3) { - !!this.model.disabled != !!e3 && this._setModelDisabled(!!e3, true); - } - get isUnreachable() { - return true === this.model.unreachable; - } - set isUnreachable(e3) { - !!this.model.unreachable != !!e3 && this._setModelUnreachable(!!e3, true), e3 && (this.isDisabled = true); - } - get isFake() { - return this.model.outputId.contains("FAKE"); - } - enableFull() { - this._setModelUnreachable(false), this._setModelDisabled(false), this._setModelOutOfService(false), this.updateTermination(); - } - get label() { - return this._hideLabel ? null : this.model.displayLabel; - } - set label(e3) { - this.model.label = e3; - } - hideLabel() { - this._hideLabel = true; - } - get isBuiltInBranch() { - return o.default.isString(this.id) && this.id.startsWith("__") && this.id.endsWith("__"); - } - get isDynamicBranch() { - return this.model.isDynamicBranch; - } - get terminatesTaskOrFlow() { - return this.isFake || this.isTerminating; - } - get terminatesLoop() { - return this.isFake || super.terminatesLoop; - } - get topParent() { - return this.parent.topParent; - } - get outOfService() { - 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 && c.validateNode(this.parent, true), a.emitter.emit(a.branchesChanged)); - } - getYamlOutputId(e3) { - return super.getYamlOutputId(e3) || this.label; - } - get branchInfo() { - return r2.__classPrivateFieldGet(this, n2, "f") || r2.__classPrivateFieldSet(this, n2, this.parent.getBranchInfo(this.id), "f"), r2.__classPrivateFieldGet(this, n2, "f"); - } - get isEnabledDynamicBranch() { - return this.isDynamicBranch && !this.isDisabled; + static getUtterancesForLanguage(e3, t3, i3) { + var n3; + if (!e3 || !t3 || !i3) return []; + const r = o.getIntentAdditionalLanguageForLanguage(e3, t3, i3); + return (null === (n3 = null == r ? void 0 : r.utterances) || void 0 === n3 ? void 0 : n3.length) && Array.isArray(null == r ? void 0 : r.utterances) ? r.utterances : []; } - get categoryId() { - return this.model.categoryId; + static getIntentId(e3, t3) { + if (!e3 || !t3) return ""; + const i3 = o.getIntentByName(e3, t3); + return (null == i3 ? void 0 : i3.id) && (0, n2.isString)(null == i3 ? void 0 : i3.id) ? i3.id : ""; } - get isCategory() { - return !!this.model.isCategory; + static isUtteranceInNluDomainVersion(e3, t3) { + return !!(((null == e3 ? void 0 : e3.intents) || []).reduce((e4, t4) => { + const i3 = t4.additionalLanguages || {}, n3 = Object.keys(i3).map((e5) => i3[e5].utterances || []).reduce((e5, t5) => e5.concat(t5 || []), []); + return e4.concat(t4.utterances || []).concat(n3); + }, []) || []).find((e4) => (null == e4 ? void 0 : e4.id) === t3); } } - n2 = /* @__PURE__ */ new WeakMap(), t2.A = d; - }, 238: (e2, t2, i2) => { + t2.IntentUtil = o; + }, 47222(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "currency"; - } - get displayTypeName() { - return "ArchVariableCurrency"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableCurrency() { - return true; + Object.defineProperty(t2, "__esModule", { value: true }), t2.LanguageVersionsUtil = void 0, t2.LanguageVersionsUtil = class { + static ensureLanguageVersions(e3, t3) { + if (!e3) return e3; + if (!Array.isArray(t3)) return e3; + const i2 = Object.entries(e3.languageVersions || {}).reduce((e4, [t4, i3]) => { + const n3 = t4.toLowerCase(); + return e4[n3] = e4[n3] || i3, e4; + }, {}), n2 = t3.filter((t4) => t4.toLowerCase() !== e3.language.toLowerCase()).reduce((e4, t4) => Object.assign(Object.assign({}, e4), { [t4.toLowerCase()]: i2[t4.toLowerCase()] || "" }), {}); + return e3.languageVersions = n2, e3; } - } - t2.default = r2; - }, 243: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.generateRequestUrl = function(e3 = "http | https", t3, i3 = {}, n3 = {}) { - const a = i3; - r2.default.extend(a, o.values.urls); - let s = t3, l = s.indexOf("?") >= 0; - const u = s.match(/\{([^}]+)}/g) || []; - return r2.default.each(u, (e4) => { - const t4 = e4.slice(1, -1); - 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)) { - 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; - }), s.indexOf("//") >= 0 ? s : e3 + "//" + s; }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(35515)); - }, 287: (e2, t2, i2) => { + }, 10914(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.EnvironmentLimits = void 0; - const n2 = i2(31635).__importDefault(i2(73198)), r2 = i2(55299), o = i2(55909), a = i2(33951); - class s extends r2.BaseClass { - constructor() { - super(), this._collectionItemsMax = n2.default.defaultCollectionItemsMax; - } - get className() { - return "EnvironmentLimits"; - } - get collectionItemsMax() { - return this._collectionItemsMax; - } - set collectionItemsMax(e3) { - this._collectionItemsMax = a.ParameterValidator.expectInt(e3, () => o.ParameterInfo.createPropertySet(this.className, "collectionItemsMax", "value"), true); - } - setCollectionItemsMax(e3) { - return this.collectionItemsMax = e3, this; + Object.defineProperty(t2, "__esModule", { value: true }), t2.NluVersionUtil = void 0, t2.NluVersionUtil = class { + static reverseArray(e3) { + return e3 ? [...e3].reverse() : e3; } - } - t2.EnvironmentLimits = s; - }, 323: (e2, t2, i2) => { + }; + }, 65654(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(4648)), o = n2.__importDefault(i2(6953)), a = i2(10798), s = n2.__importDefault(i2(3220)), l = n2.__importDefault(i2(37873)); - class u extends l.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchTtsEngine"; - } - get isArchTtsEngine() { - return true; + t2.SummaryUtil = void 0; + const n2 = i2(21095); + t2.SummaryUtil = class { + getArchFlowSummaryNluDomainVersion(e3) { + if (!e3) return {}; + const t3 = {}; + return e3.entityTypes && (t3.entityTypes = this.getEntityTypesSummary(e3.entityTypes)), e3.entities && (t3.entities = this.getEntitiesSummary(e3.entities)), e3.intents && (t3.intents = this.getIntentsSummary(e3.intents)), e3.language && (t3.language = e3.language), e3.languageVersions && (t3.languageVersions = this.getLanguageVersionsSummary(e3.languageVersions)), t3; } - get isSecure() { - return !!this._getCoreViewModel().isSecure; + getEntityTypesSummary(e3) { + const t3 = []; + for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getEntityTypeSummary(e3[i3]); + return t3; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + getEntityTypeSummary(e3) { + return e3 ? { mechanism: this.getEntityTypeMechanismSummary(e3.mechanism) } : {}; } - get name() { - return this._getCoreViewModel().name; + getEntityTypeMechanismSummary(e3) { + if (!e3) return {}; + const t3 = {}; + return e3.type && (t3.type = e3.type), e3.restricted && (t3.restricted = e3.restricted), e3.items && (t3.items = this.getEntityTypeItemsSummary(e3.items)), t3; } - getVoiceById(e3) { - const t3 = this._infoParm("voiceId", "getVoiceById"); - this._checkItemIsValidLiteralString(t3, e3, false); - const i3 = this._getCoreViewModel().voices[e3]; - if (i3) return this.logItemVerboseNote(t3, `found the text to speech voice with ID '${e3}'.`), this.coreFactory.createArchWrapper(i3); - this.logItemWarning(t3, `did not find a text to speech voice with ID '${e3}'.`); + getEntityTypeItemsSummary(e3) { + if (!e3) return []; + const t3 = []; + for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getEntityTypeItemSummary(e3[i3]); + return t3; } - getVoiceByName(e3) { - const t3 = this._infoParm("voiceName", "getVoiceByName"); - this._checkItemIsValidLiteralString(t3, e3, false); - const i3 = this._getCoreViewModel().getVoiceByName(e3); - if (i3) return this.logItemVerboseNote(t3, `found the text to speech voice with name '${e3}'.`), this.coreFactory.createArchWrapper(i3); - this.logItemWarning(t3, `did not find a text to speech voice with the name '${e3}'.`); + getEntityTypeItemSummary(e3) { + if (!e3) return {}; + const t3 = {}; + return t3.synonymsCount = e3.synonyms ? e3.synonyms.length : 0, e3.additionalLanguages && (t3.additionalLanguages = this.getEntityTypeItemSummaryAdditionalLanguages(e3.additionalLanguages)), t3; } - getVoicesForLanguage(e3) { - const t3 = this._infoParm("archLanguage", "getVoicesForLanguage"); - if (this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve engine voices."), (0, a.isFeatureAvailable)(r2.default.flexibleTtsSelection)) { - const t4 = o.default.getSelectableEnginesForLanguage(e3.tag), i3 = this._getCoreViewModel(), n3 = t4.find((e4) => e4.id === i3.id); - return (null == n3 ? void 0 : n3.voices) ? Object.values(n3.voices || {}).map((e4) => this.coreFactory.createArchWrapper(e4)) : []; + getEntityTypeItemSummaryAdditionalLanguages(e3) { + const t3 = Object.keys(e3), i3 = []; + for (let n3 = 0; n3 < t3.length; n3++) { + const o = t3[n3]; + i3[n3] = this.getEntityTypeItemSummaryAdditionalLanguage(o, e3); } - return this._getCoreViewModel().getVoicesForLanguage(e3.tag).map((e4) => this.coreFactory.createArchWrapper(e4)); + return i3; } - getSupportedVoiceLanguages() { - return o.default.getSupportedVoiceLanguagesForEngine(this._getCoreViewModel().id).map((e3) => s.default.getByLanguageTag(e3)); + getEntityTypeItemSummaryAdditionalLanguage(e3, t3) { + return { languageTag: e3, synonymsCount: t3[e3].synonyms ? t3[e3].synonyms.length : 0 }; } - getDefaultVoiceForLanguage(e3) { - const t3 = this._infoParm("archLanguage", "getDefaultVoiceForLanguage"); - this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve voices."); - const i3 = this._getCoreViewModel().getDefaultVoiceForLanguage(e3.tag); - if (i3) return this.coreFactory.createArchWrapper(i3); + getEntitiesSummary(e3) { + const t3 = []; + for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getEntitySummary(e3[i3]); + return t3; } - getLanguageSupport(e3) { - const t3 = this._infoParm("archLanguage", "getLanguageSupport"); - this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve language support."); - const i3 = this._getCoreViewModel(), n3 = e3.tag.toLowerCase(); - return i3.getEngineSupportsLanguage(n3) ? "exact" : i3.getEngineSupportsLanguageNoRegion(n3.split("-")[0]) ? "languageOnly" : "none"; + getEntitySummary(e3) { + if (!e3) return {}; + const t3 = {}; + return n2.EntityUtil.isEntityTypeABuiltInType(e3) && (t3.type = e3.type), t3; } - } - 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)), 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); + getIntentsSummary(e3) { + const t3 = []; + for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getIntentSummary(e3[i3]); + return t3; } - getDetails() { - var e3, t3; - if (!(null === (t3 = null === (e3 = this.variables) || void 0 === e3 ? void 0 : e3.items) || void 0 === t3 ? void 0 : t3.length)) return null; - const i3 = [], n3 = []; - 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, c.sprintf)(d.default.updateVariables.labelValue, e4.variable.text, o2)); - }), new o.ActionDetails(i3, n3); + getIntentSummary(e3) { + if (!e3) return {}; + const t3 = {}; + return e3.id && (t3.id = e3.id), e3.additionalLanguages && (t3.additionalLanguages = this.getIntentAdditionalLanguagesSummary(e3.additionalLanguages)), e3.utterances && (t3.utterances = this.getUtterancesSummary(e3.utterances)), t3; } - static get managedProperties() { - 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")) }]; + getIntentAdditionalLanguagesSummary(e3) { + const t3 = [], i3 = Object.keys(e3); + for (let n3 = 0; n3 < i3.length; n3++) { + const o = i3[n3], r = e3[o]; + ((null == r ? void 0 : r.id) || (null == r ? void 0 : r.utterances)) && t3.push(this.getIntentAdditionalLanguageSummary(o, r)); + } + return t3; } - 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, m.updateVariables.noStatementError), super.validate(e3); + getIntentAdditionalLanguageSummary(e3, t3) { + const i3 = { languageTag: e3 }; + return t3.id && (i3.id = t3.id), t3.utterances && (i3.utterances = this.getUtterancesSummary(t3.utterances)), i3; } - static get branchInfo() { - return s.default.successFailure; + getUtterancesSummary(e3) { + const t3 = []; + return e3.forEach((e4) => { + t3.push(this.getUtteranceSummary(e4)); + }), t3; } - get isUpdateWorkitem() { - return true; + getUtteranceSummary(e3) { + if (!e3) return {}; + const t3 = {}; + return e3.id && (t3.id = e3.id), t3.segmentsCount = e3.segments ? e3.segments.length : 0, t3; } - _getPossibleErrors() { - return p.updateWorkitemFailureReasons; + getLanguageVersionsSummary(e3) { + const t3 = Object.keys(e3), i3 = []; + for (let n3 = 0; n3 < t3.length; n3++) { + const o = t3[n3]; + i3[n3] = { languageTag: o, id: e3[o] }; + } + return i3; } - } - 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() { - Object.defineProperties(this, { _priority: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.priority.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.priority.pasteReIdOrRename(e3); - } }, priority: { enumerable: true, get: function() { - return this._priority; - }, set: function(e3) { - this._priority = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 384: (e2, t2, i2) => { + }; + }, 94083(e2, t2, i2) { "use strict"; - 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), 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; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSendNotification() { - return true; - } - get notificationType() { - return p.__classPrivateFieldGet(this, n2, "f"); - } - setNotificationType(e3) { - const t3 = this._infoPropSet("name", "setNotificationType"); - this._checkItemIsValidLiteralStringEnum(t3, e3, _.default.SEND_NOTIFICATION_TYPES_ALL), this.notificationType.setLiteralString(e3); - } - get subject() { - return p.__classPrivateFieldGet(this, r2, "f"); - } - get body() { - return p.__classPrivateFieldGet(this, o, "f"); - } - get sendToUsers() { - return p.__classPrivateFieldGet(this, a, "f"); - } - get emailNotificationStyle() { - return p.__classPrivateFieldGet(this, s, "f"); - } - setEmailNotificationStyle(e3) { - const t3 = this._infoPropSet("name", "setEmailNotificationStyle"); - this._checkItemIsValidLiteralStringEnum(t3, e3, _.default.EMAIL_STYLES_ALL), this.emailNotificationStyle.setLiteralString(e3); - } - get emailFrom() { - return p.__classPrivateFieldGet(this, l, "f"); - } - get sendNotificationFailureOutputs() { - return p.__classPrivateFieldGet(this, u, "f"); - } - get sendToGroup() { - return p.__classPrivateFieldGet(this, c, "f"); + e2 = i2.nmd(e2); + const n2 = i2(10734), o = (e3, t3) => function() { + return `\x1B[${e3.apply(n2, arguments) + t3}m`; + }, r = (e3, t3) => function() { + const i3 = e3.apply(n2, arguments); + return `\x1B[${38 + t3};5;${i3}m`; + }, a = (e3, t3) => function() { + const i3 = e3.apply(n2, arguments); + return `\x1B[${38 + t3};2;${i3[0]};${i3[1]};${i3[2]}m`; + }; + Object.defineProperty(e2, "exports", { enumerable: true, get: function() { + const e3 = /* @__PURE__ */ new Map(), t3 = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { 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], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } }; + t3.color.grey = t3.color.gray; + for (const i4 of Object.keys(t3)) { + const n3 = t3[i4]; + for (const i5 of Object.keys(n3)) { + const o2 = n3[i5]; + t3[i5] = { open: `\x1B[${o2[0]}m`, close: `\x1B[${o2[1]}m` }, n3[i5] = t3[i5], e3.set(o2[0], o2[1]); + } + Object.defineProperty(t3, i4, { value: n3, enumerable: false }), Object.defineProperty(t3, "codes", { value: e3, enumerable: false }); } - get chatMessage() { - return p.__classPrivateFieldGet(this, d, "f"); + const i3 = (e4) => e4, s = (e4, t4, i4) => [e4, t4, i4]; + t3.color.close = "\x1B[39m", t3.bgColor.close = "\x1B[49m", t3.color.ansi = { ansi: o(i3, 0) }, t3.color.ansi256 = { ansi256: r(i3, 0) }, t3.color.ansi16m = { rgb: a(s, 0) }, t3.bgColor.ansi = { ansi: o(i3, 10) }, t3.bgColor.ansi256 = { ansi256: r(i3, 10) }, t3.bgColor.ansi16m = { rgb: a(s, 10) }; + for (let e4 of Object.keys(n2)) { + if ("object" != typeof n2[e4]) continue; + const i4 = n2[e4]; + "ansi16" === e4 && (e4 = "ansi"), "ansi16" in i4 && (t3.color.ansi[e4] = o(i4.ansi16, 0), t3.bgColor.ansi[e4] = o(i4.ansi16, 10)), "ansi256" in i4 && (t3.color.ansi256[e4] = r(i4.ansi256, 0), t3.bgColor.ansi256[e4] = r(i4.ansi256, 10)), "rgb" in i4 && (t3.color.ansi16m[e4] = a(i4.rgb, 0), t3.bgColor.ansi16m[e4] = a(i4.rgb, 10)); } + return t3; + } }); + }, 11276(e2, t2, i2) { + const n2 = i2(92140), o = i2(93476), r = i2(193).Ay; + e2.exports = { loadBranches: function(e3) { + e3.branches.length = 0, 0 !== e3.branchInfoList.length && (1 === e3.branchInfoList.length && e3.isSingleBranchAction ? (function(e4) { + const t3 = new o(e4.branchInfoList[0]); + e4.model.path && (t3.nextActionId = e4.model.path.nextActionId), e4.model.path = t3, e4.branches.push(new r(e4.parentFlow, e4, e4.model.path)); + })(e3) : (function(e4) { + const t3 = [], i3 = []; + e4.model.paths = e4.model.paths || [], n2.each(e4.branchInfoList, function(a) { + if (a.supportedFlowTypes && !n2.contains(a.supportedFlowTypes, e4.parentFlow.type)) { + const t4 = n2.findWhere(e4.model.paths, { outputId: a.outputId }); + return void (t4 && i3.push(t4)); + } + const s = new o(a), l = n2.findWhere(e4.model.paths, { outputId: a.outputId }); + l ? (s.nextActionId = l.nextActionId, s.outOfService = l.outOfService) : a.defaultToOutOfService && (s.outOfService = true); + const u = new r(e4.parentFlow, e4, s); + u.isFake || t3.push(s), e4.branches.push(u); + }), e4.model.paths = t3, i3.length && (e4.model.__notApplicablePaths = i3); + })(e3)); + }, addBranch: function(e3, t3) { + const i3 = new o(t3), n3 = new r(e3.parentFlow, e3, i3); + return n3.isFake || e3.model.paths.push(i3), e3.branches.push(n3), n3; + }, removeBranch: function(e3, t3) { + const i3 = n2.findIndex(e3.branches, { id: t3.outputId }); + i3 > -1 && e3.branches.splice(i3, 1); + const o2 = n2.findIndex(e3.model.paths, { outputId: t3.outputId }); + o2 > -1 && e3.model.paths.splice(o2, 1); + } }; + }, 18266(e2, t2, i2) { + 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).default, 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, EndBusinessProcessActionViewModel: i2(68173).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).default, 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 }; + }, 4495(e2, t2, i2) { + const { builderCategoryIds: n2 } = i2(73062), o = i2(5532).default, { builderPartIds: r } = 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: () => { + o.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: r.agentScorePair.makeAgentScorePair, name: s.builderParts.agentScorePair.makeAgentScorePair.name, resultExpressionType: d.agentScorePair, version: 1, requiredFeatureConfig: c.knownAgentRouting })); + } }; + }, 43278(e2, t2, i2) { + const { builderCategoryIds: n2 } = i2(73062), o = i2(79904).default, r = 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: 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: 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 o({ 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 r({ 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 })); + } }; + }, 85167(e2, t2, i2) { + const n2 = i2(4495), o = i2(43278), r = 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(), o.create(), r.create(), a.create(), s.create(), l.create(), u.create(), c.create(), d.create(), _.create(), p.create(), h.create(); + } }; + }, 36179(e2, t2, i2) { + const { builderCategoryIds: n2 } = i2(73062), o = i2(79904).default, r = 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 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") }); + r.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 })), r.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 })), r.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 })), r.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 })), r.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 })), r.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 })), r.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 })), r.addBuilderPartContainerDef(new o({ 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() })); + } }; + }, 72698(e2, t2, i2) { + const { builderCategoryIds: n2 } = i2(73062), o = i2(79904).default, r = 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: c.builderParts.duration.literal.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => { + e3.setAllowModeLiteralOnly().setIninTestingField("durationLiteral"); + }, 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 o({ 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 r({ 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 })); + } }; + }, 30218(e2, t2, i2) { + const { builderCategoryIds: n2 } = i2(73062), o = i2(5532).default, { builderPartIds: r } = 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: r2, expressionLabel: s2, expressionName: u2, expressionTestingField: p2, generators: _ }) { + const h = new l({ configureOptionsCallback: (e4) => e4.setIninTestingField(p2), descriptionInfo: { name: u2, description: r2 }, expressionType: d.string, label: s2 }); + return o.addBuilderPartDef(new a({ categoryIdentifierOrIdentifiers: n2.email, description: i3, expressionDefs: [h], generators: _, id: e3, name: t3, restrictToFlowTypeOrTypes: c.flowTypeInboundEmail, resultExpressionType: d.boolean, version: 1 })); } - 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 }); - const n2 = i2(31635).__importDefault(i2(82472)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.transferExternalActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionTransferToNumber() { - return true; - } - get releaseLinkTransfer() { - return this.coreFactory.createArchValueFromExpression(this._getCoreViewModel().releaseLinkTransfer); - } - get targetNumber() { - return this.coreFactory.createArchValueFromExpression(this._getCoreViewModel().externalNumber); - } + e2.exports = { create: () => { + p({ builderPartId: r.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: r.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: r.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: r.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: r.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)") } }); + } }; + }, 42091(e2, t2, i2) { + const { builderCategoryIds: n2 } = i2(73062), o = i2(79904).default, r = 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: c.builderParts.integer.literal.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => { + e3.setAllowModeLiteralOnly().setIninTestingField("integerLiteral"); + }, 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 o({ 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 r({ 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 })); + } }; + }, 10236(e2, t2, i2) { + const n2 = i2(5532).default, { builderPartIds: o } = i2(69149), r = i2(94053).A, { globalTypes: a } = i2(14394); + e2.exports = { create: () => { + n2.addBuilderPartDef(new r({ isSystem: false, resultType: a.audio, id: o.audio.findUserWithFallback })), n2.addBuilderPartDef(new r({ isSystem: false, resultType: a.prompt, id: o.prompt.findUserWithFallback })), n2.addBuilderPartDef(new r({ isSystem: true, resultType: a.audio, id: o.audio.findSystemWithFallback })), n2.addBuilderPartDef(new r({ isSystem: true, resultType: a.prompt, id: o.prompt.findSystemWithFallback })); + } }; + }, 46575(e2, t2, i2) { + const { builderCategoryIds: n2 } = i2(73062), o = i2(79904).default, r = 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: I } = i2(93631), { selectAndAddPrompt: C } = i2(93631), { markdown: O } = i2(93631), { selectAndAddText: b } = i2(93631), { allSupportedDigitalChannelTypes: E } = i2(75758); + e2.exports = { create: () => { + 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(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 o2 = e4.builderPartExpressions[0]; + if (o2?.isVariableMode) { + const t4 = o2.variables[Object.keys(o2.variables)[0]]; + 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: 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: I, 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: 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) { + case "tts": + i3 = t3.promptTtsGenerator; + break; + case "text": + i3 = t3.promptTextGenerator; + } + } catch (e5) { + } + return i3 || t3.promptTextGenerator; + } }, viewId: C, 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: 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: I, id: l.string.text, icon: A.string, name: c.builderParts.string.text.name, resultExpressionType: S.string, version: 1 })), s.addBuilderPartContainerDef(new o({ 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 o2 = i3[i3.length - 1]; + o2 && (o2.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: 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 o2 = i3[i3.length - 1]; + o2 && (o2.willGenerateNotSetOrStringLiteral ? e4.addGenerationToBucket(N.singleSpaceStringLiteralGenerator.createGeneration()) : e4.addGenerationToBucket(N.lastGenNotSetOrEmptySpaceSepGenerator.createGeneration())); + }), wantContainerPartsGeneratorForSingleton: false }, id: l.string.container.outputMode, name: c.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: T.flowTypesAllCicero, resultExpressionType: S.string, version: 1 })), s.addBuilderPartContainerDef(new r({ 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 o2 = i3[i3.length - 1]; + o2 && (o2.willGenerateNotSetOrStringLiteral ? e4.addGenerationToBucket(N.singleSpaceStringLiteralGenerator.createGeneration()) : e4.addGenerationToBucket(N.lastGenNotSetOrEmptySpaceSepGenerator.createGeneration())); + }), 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: O, 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 }) })); + } }; + }, 69675(e2) { + e2.exports = { error: 1, warning: 2, info: 3, none: 4 }; + }, 58300(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(10311), r = ["requests.inputSchema", "requests.successSchema"]; + function a() { } - t2.default = o; - }, 441: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(13297)); - class a extends o.default { - constructor(e3) { - super(e3), this._interDigitTimeout = this.coreFactory.createArchValueFromExpression(this._coreActionViewModel.digitTimeout), this._extensionVariable = this.coreFactory.createArchValueFromExpression(this._coreActionViewModel.resultData), this._repromptAudio = this.coreFactory.createArchAudio(this._coreActionViewModel.repromptAudio), this._repromptCount = this.coreFactory.createArchValueFromExpression(this._coreActionViewModel.numReprompts); - } - get _actionTypeId() { - return r2.dialExtensionActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get extensionVariable() { - return this._extensionVariable; - } - get interDigitTimeout() { - return this._interDigitTimeout; - } - get isArchActionDialByExtension() { - return true; - } - get repromptAudio() { - return this._repromptAudio; - } - get repromptCount() { - return this._repromptCount; - } + a.prototype.getCategories = function(e3) { + return n2.build(o.getCategoryList).queryParams(e3.getSearchQueryParams()).call(); + }, a.prototype.getMetaDataList = function(e3) { + return e3.addAdditionalParams({ expand: r, published: true }), n2.build(o.getMetaDataList).queryParams(e3.getSearchQueryParams()).call().then(function(e4) { + return e4.entities && e4.entities.length > 0 && (e4.total = (e4.pageNumber - 1) * e4.pageSize + e4.entities.length, e4.entities.length === e4.pageSize && (e4.total = e4.pageNumber * e4.pageSize + 1)), e4; + }); + }, a.prototype.getMetaData = function(e3) { + return n2.build(o.getMetaData).templateParams({ name: e3 }).queryParams({ expand: r }).call(); + }, a.prototype.getMetaData.api = o.getMetaData, a.prototype.validateAction = function(e3) { + return n2.build(o.getMetaDataList).queryParams({ name: e3, expand: r }).call(); + }, e2.exports = new a(); + }, 27395(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(42660); + function r() { } - t2.default = a; - }, 590: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { waitActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _duration: { writable: true }, _trimDurationNearMaxRunningTime: { writable: true } }), a.baseConstructor.apply(this, arguments); + r.prototype.getContactListsDivisionViews = function(e3) { + const t3 = o.getContactListsDivisionViews, i3 = n2.build(t3); + return e3.sortOrder = void 0, i3.queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getContactList = function(e3) { + return n2.build(o.getContactList).templateParams({ id: e3 }).call(); + }, r.prototype.getContactList.api = o.getContactList, e2.exports = new r(); + }, 94384(e2, t2, i2) { + const n2 = i2(24032), o = i2(36019).default, r = i2(21623), a = n2.getTopic("dialogEngineApi"); + class s { } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.duration.pasteReIdOrRename(e3), this.trimDurationNearMaxRunningTime.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.duration.pasteResolveOldToNewValues(e3), this.trimDurationNearMaxRunningTime.pasteResolveOldToNewValues(e3); - } }, trimDurationNearMaxRunningTime: { enumerable: true, get: function() { - return this._trimDurationNearMaxRunningTime; - }, set: function(e3) { - this._trimDurationNearMaxRunningTime = this.reviveItem(e3, r2); - } }, duration: { enumerable: true, get: function() { - return this._duration; - }, set: function(e3) { - this._duration = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 640: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.nonFormResponseManager = t2.NonFormResponseManager = void 0; - const n2 = i2(24032), r2 = i2(60609), o = i2(10535); - class a extends o.ResponseManager { - additionalItemFilter(e3) { - return e3.filter((e4) => e4.responseType !== this.responseTypeToFilterOut); - } - constructor() { - super(), this.topic = (0, n2.getTopic)("NonFormResponseManager"), this.responseTypeToFilterOut = r2.CannedResponseType.form; - } + s.prototype.getBot = function(e3) { + return o.build(r.getBot).templateParams({ id: e3 }).call(); + }, s.prototype.getBot.api = r.getBot, s.prototype.getBots = function(e3) { + return o.build(r.getBots).queryParams(e3.getSearchQueryParams()).call(); + }, s.prototype.getBots.api = r.getBots, s.prototype.getVersion = function(e3, t3) { + t3 && t3.additionalParams && t3.additionalParams.botId || a.errorWithStack(null, `No botId was included for dialogEngine.getVersion call with search params: ${JSON.stringify(t3)}`); + const i3 = { versionId: e3, botId: t3.additionalParams.botId }; + return o.build(r.getVersion).templateParams(i3).call(); + }, s.prototype.getVersion.api = r.getVersion, e2.exports = new s(); + }, 51294(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(49617); + class r { + } + r.prototype.getAgents = function(e3) { + return n2.build(o.getAgents).queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getAgent = function(e3) { + return n2.build(o.getAgent).templateParams({ id: e3 }).call(); + }, r.prototype.getAgent.api = o.getAgent, r.prototype.getCxAgents = function(e3) { + return n2.build(o.getCxAgents).queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getCxAgent = function(e3) { + return n2.build(o.getCxAgent).templateParams({ id: e3 }).call(); + }, r.prototype.getCxAgent.api = o.getCxAgent, e2.exports = new r(); + }, 44189(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(29565); + function r() { + } + r.prototype.getDivisions = (e3) => n2.build(o.getDivisions).queryParams(e3.getSearchQueryParams()).call(), r.prototype.getDivision = (e3) => n2.build(o.getDivision).templateParams({ id: e3 }).call(), r.prototype.getDivision.api = o.getDivision, e2.exports = new r(); + }, 24409(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(87200); + e2.exports = { featureToggles: function(e3) { + const t3 = n2.build(o.featureToggles); + return t3.queryParams(e3), t3.call(); + } }; + }, 51851(e2, t2, i2) { + const n2 = i2(10798), o = i2(4648).default, r = i2(36019).default, a = i2(61192); + class s { } - t2.NonFormResponseManager = a, t2.nonFormResponseManager = new a(); - }, 675: (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 "workbinCollection"; - } - get initialValue() { - return this._initialValue; - } - get displayTypeName() { - return "ArchVariableWorkbinCollection"; - } - get isArchVariableWorkbinCollection() { - return true; - } + s.prototype.getMilestone = function(e3) { + return r.build(a.getMilestoneDivisionView).templateParams({ id: e3 }).call().then((e4) => 0 !== e4.entities?.length && void 0 !== e4.entities ? e4.entities[0] : e4); + }, s.prototype.getMilestone.api = a.getMilestone, s.prototype.getMilestones = function(e3) { + return r.build(a.getMilestonesDivisionView).queryParams(e3.getSearchQueryParams()).call(); + }, s.prototype.getOutcomes = function(e3) { + const t3 = n2.isFeatureAvailable(o.divisionedFlowOutcomes) ? a.getOutcomesDivisionView : a.getOutcomes; + return r.build(t3).queryParams(e3.getSearchQueryParams()).call(); + }, s.prototype.getOutcome = function(e3) { + const t3 = n2.isFeatureAvailable(o.divisionedFlowOutcomes) ? a.getOutcomeDivisionView : a.getOutcome; + return r.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(); + }, 37345(e2, t2, i2) { + const n2 = i2(92140), o = i2(12847), r = i2(10798), a = i2(4648).default, s = i2(51668), l = i2(36019).default, u = i2(64420), c = i2(80496); + function d() { } - t2.default = r2; - }, 697: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - }, 761: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.switchMapTo = void 0; - var n2 = i2(90680), r2 = i2(10281); - t2.switchMapTo = function(e3, t3) { - return r2.isFunction(t3) ? n2.switchMap(function() { - return e3; - }, t3) : n2.switchMap(function() { - return e3; + d.prototype.checkIn = function(e3) { + const t3 = l.build(u.checkIn); + return t3.templateParams({ id: e3 }), t3.call(); + }, d.prototype.checkOut = function(e3) { + const t3 = l.build(u.checkOut); + return t3.templateParams({ id: e3 }), t3.call(); + }, d.prototype.createFlow = function(e3, t3, i3, o2, r2, a2) { + const s2 = l.build(u.createFlow), c2 = { type: e3, name: t3, description: i3 || "", division: { id: o2 }, worktypeId: a2 || null }; + return s2.content(c2), n2.isString(r2) && s2.queryParams({ language: r2.toLowerCase() }), s2.call(); + }, d.prototype.deactivate = function(e3) { + const t3 = l.build(u.deactivate); + return t3.templateParams({ id: e3 }), t3.call(); + }, d.prototype.deleteFlow = function(e3) { + const t3 = l.build(u.deleteFlow); + return t3.templateParams({ id: e3 }), t3.call(); + }, d.prototype.deleteBulkFlows = function(e3) { + const t3 = l.build(u.deleteBulkFlows); + return t3.queryParams({ id: e3 }), t3.call(); + }, 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(); + }, d.prototype.getFlow = function(e3, t3, i3) { + const n3 = l.build(u.getFlow); + let o2; + return (t3 || i3) && (o2 = {}, t3 && (o2.deleted = true), i3 && (o2.includeSchema = true)), n3.queryParams(o2), n3.templateParams({ id: e3 }), n3.call(); + }, 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(); + }, d.prototype.getFlows = function(e3) { + e3 = e3 || {}; + const t3 = l.build(u.getFlows); + return t3.queryParams(e3.isConfigListSearchParams ? e3.getSearchQueryParams() : e3), t3.call(); + }, d.prototype.getFlowsDivisionViews = function(e3) { + const t3 = l.build(u.getFlowsDivisionViews); + return t3.queryParams(e3.getSearchQueryParams()), t3.call(); + }, d.prototype.getFlowVersions = function(e3, t3, i3) { + const n3 = { pageNumber: i3 || 1, pageSize: t3 || 20, sortOrder: "dsc" }, o2 = l.build(u.getFlowVersions); + return o2.templateParams({ flowId: e3 }).queryParams(n3), o2.call(); + }, d.prototype.getVersionConfiguration = function(e3, t3, i3, n3) { + const o2 = l.build(i3 || u.getVersionConfiguration); + return n3 && o2.info.addOptions(n3), o2.templateParams({ id: e3, version: t3 }).queryParams({ deleted: true }), o2.call(); + }, d.prototype.publish = function(e3, t3) { + const i3 = l.build(u.publishAsync); + return i3.templateParams({ id: e3 }), t3 && i3.queryParams({ version: "default" }), i3.call(); + }, d.prototype.enableFlowDebug = function(e3, t3) { + const i3 = l.build(u.enableFlowDebug); + return i3.templateParams({ id: e3, version: t3 }), i3.call(); + }, d.prototype.revert = function(e3) { + const t3 = l.build(u.revert); + return t3.templateParams({ id: e3 }), t3.call(); + }, d.prototype.saveConfiguration = function(e3, t3) { + const i3 = l.build(u.saveConfiguration); + let c2, d2; + return c2 = r.isFeatureAvailable(a.flowV2_Transport), c2 ? (n2.isObject(t3) && (o.error("Non-string configuration passed into flows.saveConfiguration!"), t3 = JSON.stringify(t3)), d2 = { flow: s.gzip(t3).toString(), flowMetaData: { flowDocumentVersion: "2.0" } }, o.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, o2) { + const r2 = l.build(u.updateMetaData), a2 = { type: e3, name: i3, description: n3 || "", division: { id: o2 } }; + return r2.content(a2).templateParams({ id: t3 }), r2.call(); + }, d.prototype.unlock = function(e3) { + const t3 = l.build(u.unlock); + return t3.templateParams({ id: e3 }), t3.call(); + }, d.prototype.postHistoryRequest = function(e3) { + const t3 = l.build(u.postHistoryRequest); + return t3.templateParams({ id: e3 }), t3.call(); + }, 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(); + }, d.prototype.postFlowLaunch = function(e3, t3, i3, n3) { + const o2 = l.build(u.postFlowLaunch); + return o2.content({ flowId: e3, flowVersion: t3, inputData: i3, name: n3 }), o2.call(); + }, d.prototype.postDigitalBotFlowLaunch = function(e3, t3, i3, n3) { + const o2 = l.build(u.postDigitalBotFlowLaunch); + return o2.content({ channel: { inputModes: ["Text"], outputModes: ["Text"], name: "Chat", userAgent: { name: "GenesysWebWidget" } }, externalSessionId: "", flow: { id: e3 }, inputData: { variables: i3 }, language: "" }), o2.call(); + }, d.prototype.postDigitalBotFlowTurns = function(e3, t3, i3, n3) { + const o2 = l.build(c.postDigitalBotFlowTurns).templateParams({ sessionId: e3 }); + return o2.content(i3), o2.call(); + }, e2.exports = new d(); + }, 58650(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(54501); + function r() { + } + r.prototype.getGroups = function(e3) { + const t3 = n2.build(o.getGroups); + return t3.content(e3.get_q64searchContent()), t3.call(); + }, r.prototype.getGroup = function(e3) { + return n2.build(o.getGroup).templateParams({ id: e3 }).call(); + }, r.prototype.getGroup.api = o.getGroup, e2.exports = new r(); + }, 40174(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(90729); + function r() { + } + r.prototype.getCategories = function(e3) { + return n2.build(o.getCategoryList).queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getActions = function(e3) { + return n2.build(o.getActionList).queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getAction = function(e3) { + return n2.build(o.getAction).queryParams({ expand: "contract", flatten: true }).templateParams({ id: e3 }).call(); + }, r.prototype.getAction.api = o.getAction, r.prototype.getSchema = function(e3) { + return n2.build(o.getSchema).queryParams({ flatten: true }).templateParams({ schema_uri: e3 }).call(); + }, e2.exports = new r(); + }, 61846(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(93973); + function r() { + } + r.prototype.getLanguageSkills = function(e3) { + const t3 = n2.build(o.getLanguageSkills); + return t3.queryParams(e3.getSearchQueryParams()), t3.call(); + }, r.prototype.getLanguageSkill = function(e3) { + const t3 = n2.build(o.getLanguageSkill); + return t3.templateParams({ id: e3 }), t3.call(); + }, r.prototype.getLanguageSkill.api = o.getLanguageSkill, e2.exports = new r(); + }, 44931(e2, t2, i2) { + const n2 = i2(92140), { lexStatuses: o } = i2(60885), r = i2(36019).default, a = i2(19202); + class s { + } + s.prototype.getBots = function(e3) { + return r.build(a.getBots).queryParams(e3.getSearchQueryParams()).call(); + }, s.prototype.getAliases = function(e3) { + return e3.addAdditionalParams({ status: o.v1.ready }), r.build(a.getAliases).templateParams({ botId: e3.additionalParams.botId }).queryParams(e3.getSearchQueryParams()).call().then(function(t3) { + return n2.each(t3.entities, function(t4) { + if (!t4.bot) { + const i3 = e3.additionalParams.botId; + t4.bot = { id: i3, name: i3 }; + } + }), t3; }); - }; - }, 776: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(13991); - function o() { + }, s.prototype.getAlias = function(e3) { + return r.build(a.getAlias).templateParams({ aliasId: e3 }).call(); + }, s.prototype.getV2Bots = function(e3) { + return r.build(a.getV2Bots).queryParams(e3.getSearchQueryParams()).call(); + }, s.prototype.getV2Aliases = function(e3) { + return e3.addAdditionalParams({ status: o.v2.available }), r.build(a.getV2Aliases).templateParams({ botId: e3.additionalParams.botId }).queryParams(e3.getSearchQueryParams()).call().then(function(t3) { + return n2.each(t3.entities, function(t4) { + if (!t4.bot) { + const i3 = e3.additionalParams.botId; + t4.bot = { botId: i3, name: i3 }; + } + }), t3; + }); + }, s.prototype.getV2Alias = function(e3) { + return r.build(a.getV2Alias).templateParams({ aliasId: e3 }).call(); + }, s.prototype.getAlias.api = a.getAlias, s.prototype.getV2Alias.api = a.getV2Alias, e2.exports = new s(); + }, 55190(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(25149); + function r() { + } + r.prototype.getQueues = function(e3) { + return n2.build(o.getQueues).queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getQueuesDivisionViews = function(e3) { + return n2.build(o.getQueuesDivisionViews).queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getQueue = function(e3) { + return n2.build(o.getQueue).templateParams({ id: e3 }).call(); + }, r.prototype.getQueue.api = o.getQueue, e2.exports = new r(); + }, 52124(e2, t2, i2) { + const n2 = i2(10798), o = i2(4648).default, r = i2(36019).default, a = i2(92737); + function s() { } - o.prototype.getSkills = function(e3) { - return n2.build(r2.getSkills).queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getSkill = function(e3) { - return n2.build(r2.getSkill).templateParams({ id: e3 }).call(); - }, o.prototype.getSkill.api = r2.getSkill, e2.exports = new o(); - }, 858: (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._conversationId = this.coreFactory.createArchWrapper(e3.conversationId), this._participantId = this.coreFactory.createArchWrapper(e3.participantId), this._attributeNameValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); - } - get _actionTypeId() { - return r2.setConversationDataActionType; - } - get displayTypeName() { - return this._scriptingName; - } - addAttributeNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addAttributeNameValuePair"), t3, true), this._attributeNameValuePairs._addNameValueAssignment(e3, t3, false, false); - } - get conversationId() { - return this._conversationId; - } - get participantId() { - return this._participantId; - } - get isArchActionSetConversationData() { - return true; - } + s.prototype.getScripts = function(e3) { + const t3 = n2.isFeatureAvailable(o.divisionedScriptsV2) ? a.getScriptsDivisionView : a.getScripts; + return r.build(t3).queryParams(e3.getSearchQueryParams()).call(); + }, s.prototype.getScript = function(e3) { + const t3 = n2.isFeatureAvailable(o.divisionedScriptsV2) ? a.getScriptDivisionView : a.getScript; + return r.build(t3).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); + }, s.prototype.getScript.api = a.getScript, s.prototype.getScriptsForFeature = function(e3, t3) { + const i3 = n2.isFeatureAvailable(o.divisionedScriptsV2) ? a.getScriptsForFeatureDivisionView : a.getScriptsForFeature; + return r.build(i3).templateParams({ feature: e3 }).queryParams(t3.getSearchQueryParams()).call(); + }, s.prototype.getScriptsForFeature.api = a.getScriptsForFeatureDivisionView, s.prototype.getScriptVariables = function(e3) { + const t3 = n2.isFeatureAvailable(o.divisionedScriptsV2) ? a.getScriptVariablesDivisionView : a.getScriptVariables; + return r.build(t3).templateParams({ id: e3 }).call(); + }, e2.exports = new s(); + }, 36479(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(86991); + function r() { } - t2.default = o; - }, 876: (e2, t2, i2) => { - "use strict"; - 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([l.loopActionType, u.loopUntilActionType, o.askForNLUNextIntentActionActionType, r2.agenticAnythingElseActionType]) || e3.addError(this, _.loop.notInLoop); + r.prototype.connect = function(e3, t3) { + const i3 = n2.build(o.connect); + return i3.content({ userIdentifier: e3, password: t3 }), i3.call(); + }, r.prototype.disconnect = function(e3) { + const t3 = n2.build(o.disconnect); + return t3.templateParams({ id: e3 }), t3.call(); + }, e2.exports = new r(); + }, 776(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(13991); + function r() { + } + r.prototype.getSkills = function(e3) { + return n2.build(o.getSkills).queryParams(e3.getSearchQueryParams()).call(); + }, r.prototype.getSkill = function(e3) { + return n2.build(o.getSkill).templateParams({ id: e3 }).call(); + }, r.prototype.getSkill.api = o.getSkill, e2.exports = new r(); + }, 26031(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(87200); + function r() { + } + r.prototype.orgInfo = function() { + return n2.build(o.orgInfo).call(); + }, r.prototype.getAuthToken = function(e3) { + const t3 = n2.build(o.getAuthToken); + return t3.addTokenRequestHeaders(), t3.content("grant_type=authorization_code&code=" + e3 + "&redirect_uri=http://localhost:9001/callback"), t3.call(); + }, r.prototype.getAuthTokenClientCredentials = function() { + const e3 = n2.build(o.getAuthToken); + return e3.addTokenRequestHeaders(), e3.content("grant_type=client_credentials&redirect_uri=http://localhost:9001/callback"), e3.call(); + }, r.prototype.getTimeZones = function() { + return n2.build(o.getTimeZones).call(); + }, r.prototype.mainAppHtml = function() { + return n2.build(o.mainAppHtml).call(); + }, r.prototype.reportError = function(e3, t3, i3, r2, a) { + const s = n2.build(o.reportError); + return s.content({ topic: e3, description: t3, priority: i3, type: r2, data: a }), s.call(); + }, e2.exports = new r(); + }, 59509(e2, t2, i2) { + const n2 = i2(92140), o = i2(35515), r = 6500; + e2.exports = function(e3, t3, i3, a) { + this.level = i3, a && a.stack && (t3 += "\nStack: " + a.stack); + let s = 0; + if (e3.context) { + let t4 = JSON.stringify(e3.context); + t4.length > r && (e3.context = { context: t4.substring(0, 3250) }, t4 = JSON.stringify(e3.context)), s = t4.length; } + t3 && t3.length > r - s && (t3 = t3.substring(0, r - s) + "...trimmed"), this.message = JSON.stringify(n2.defaults({ msg: t3, clientTime: (/* @__PURE__ */ new Date()).toISOString(), asid: o.archSessionId }, s ? e3.context : void 0)), this.topic = e3.name; + }; + }, 24364(e2, t2, i2) { + const n2 = i2(92140), o = i2(45741), r = i2(36019).default; + function a() { } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(32282), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.scheduleGroupManager); - } - get _globalTypeName() { - return "scheduleGroup"; - } - get displayTypeName() { - return "ArchValueScheduleGroup"; - } - get isArchValueScheduleGroup() { - return true; + function s(e3, t3) { + return e3.context ? (t3 += "\n", n2.each(e3.context, function(e4, i3) { + t3 += i3 + ": " + e4 + ", "; + }), t3.substring(0, t3.length - 2)) : t3; + } + const l = { debug: function(e3) { + let t3 = "TRACE:[" + e3.name + "] "; + t3 += r.formatStringForTracing.apply(this, n2.rest(arguments)), console.debug(s(e3, t3)); + }, error: function(e3, t3, i3) { + let o2 = "TRACE:[" + e3.name + "] "; + n2.isString(i3) && (o2 += r.formatStringForTracing.apply(null, n2.rest(arguments, 2))), n2.isString(t3) ? o2 = `${t3} -- ${o2}` : t3 || i3 || (o2 += "No error message"), console.error(s(e3, o2)); + }, info: function(e3) { + let t3 = "TRACE:[" + e3.name + "] "; + t3 += r.formatStringForTracing.apply(this, n2.rest(arguments)), console.info(s(e3, t3)); + }, infoWithObject: function(e3, t3) { + let i3 = "TRACE:[" + e3.name + "] "; + i3 += r.formatStringForTracing.apply(this, n2.rest(arguments, 2)), console.info(s(e3, i3)), console.info(t3); + }, warning: function(e3) { + let t3 = "TRACE:[" + e3.name + "] "; + t3 += r.formatStringForTracing.apply(this, n2.rest(arguments)), console.warn(s(e3, t3)); + } }; + o(a, l), e2.exports = new a(); + }, 78(e2, t2, i2) { + const n2 = i2(92140), o = i2(74359), r = 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() { + let e3 = 0, t3 = 0; + for (; ; t3++) { + if (15 === t3 || t3 === h.length) { + t3--; + break; + } + const i3 = h[t3], n3 = h[t3].message ? i3.message.length : 0; + if (!(n3 + e3 < p)) { + if (0 === e3 && n3 > p) { + g(0, i3.message), i3.message = i3.message.substring(0, p) + "...forced_trim..."; + break; + } + t3--; + break; + } + e3 += n3; } - setLiteralByScheduleGroupIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupId", "setLiteralByScheduleGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleGroupIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByScheduleGroupIdAsync", t3, this)); + return t3 >= 0 ? h.splice(0, t3 + 1) : []; + }, T = function() { + (h.length > 15 || n2.findWhere(h, { level: m.error })) && y(); + }, y = n2.throttle(function() { + (function() { + if (!a.isConnected() || 0 === h.length) return Promise.resolve(); + h.length; + const e3 = f(); + 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(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); + }).finally(function() { + h.length; }); - } - setLiteralByScheduleGroupNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupName", "setLiteralByScheduleGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleGroupNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByScheduleGroupNameAsync", t3, this)); + })().finally(function() { + S(), T(); + }); + }, _); + function S() { + if (!h.length) return; + const e3 = h.length; + if (h.length > 500) { + let t3 = 0; + h = n2.reject(h, function(e4) { + if (t3 < 10 && e4.level === m.info) return t3++, true; }); + let i3 = ""; + if (t3 > 0 && (i3 = "Losing oldest " + t3 + " INFO traces from buffer because it exceeded local trace buffer size of " + e3), t3 < 10 && h.length > 500) { + const e4 = 10 - t3; + h = n2.initial(h, e4); + i3 += " " + ("Losing newest " + e4 + " traces from buffer because it exceeded local trace buffer."), t3 += e4; + } + t3 > 0 && h.push(new l({ name: "architect.tracing" }, i3, m.info)); } } - t2.default = s; - }, 942: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(5730)), o = n2.__importDefault(i2(27203)), a = i2(80428), s = i2(81516), l = i2(82632); - class u extends r2.default { - constructor(e3, t3) { - super(e3, t3); - } - static get branchInfo() { - return o.default.foundNotFound; - } - static createManagedProperties(e3) { - const { searchFieldPropertyName: t3 = "findName", searchFieldOptionsCallback: i3, searchFieldLabel: n3, searchResultLabel: r3, searchResultExpressionOptions: o2, searchResultItemType: u2 } = e3; - return [{ label: n3, options: s.ExpressionTypeStringOptions.create((e4) => { - e4.setAsInput().setUiPropertyOrder(10).setIninTestingField(t3).setDisableSpellcheck(true).setDefaultToExpression(true).setDescriptionInfo(n3).facets.setMaxLength(l.findLimits.findName.maxLength).setMinLength(l.findLimits.findName.minLength), e4.invokeOptionsCallback(i3); - }), property: t3, type: a.expressionTypeNames.string }, { label: r3, options: o2.setUiPropertyOrder(20).setIninTestingField("findResult").setAsOutput(), property: "findResult", type: u2 }]; - } + function A(e3, t3, i3, n3) { + const o2 = new l(e3, t3, i3, n3); + h.push(o2), S(), T(); } - t2.default = u, e2.exports = u, u.className = "BaseFindSystemObjectActionViewModel"; - }, 965: (e2, t2, i2) => { - "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = i2(30801), a = r2.__importDefault(i2(11210)); - class s extends a.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.message), "f"); - } - get _actionTypeId() { - return o.abortSendActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionAbortSend() { - return true; - } - get message() { - return r2.__classPrivateFieldGet(this, n2, "f"); - } + function N() { } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; - }, 1012: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(62957)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseActionWithOutputsFakeSuccessFailure"; - } - get hasFakeSuccessOutput() { - return true; + o.getAuthenticatedPromise().then(function() { + h.length, setInterval(y, d); + }); + const v = { unitTest_clearBuffer: function() { + h = []; + }, unitTest_getBuffer: function() { + return h; + }, unitTest_getNextSendBatch: function() { + return f(); + }, error: function(e3, t3, i3) { + let o2 = ""; + if (n2.isString(i3)) o2 += u.formatStringForTracing.apply(null, n2.rest(arguments, 2)); + else if (!t3) return; + A(e3, o2, this.levels.error, t3); + }, info: function(e3) { + let t3 = ""; + t3 += u.formatStringForTracing.apply(null, n2.rest(arguments)), A(e3, t3, this.levels.info); + }, levels: m, warning: function(e3) { + let t3 = ""; + t3 += u.formatStringForTracing.apply(null, n2.rest(arguments)), A(e3, t3, this.levels.warning); + } }; + r(N, v), e2.exports = new N(); + }, 33588(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(80517); + function r() { + } + r.prototype.getCurrentToken = function() { + return n2.build(o.getCurrentToken).call(); + }, r.prototype.getCurrentUser = function() { + return n2.build(o.getCurrentUser).call(); + }, r.prototype.getUser = function(e3) { + const t3 = n2.build(o.getUser); + return t3.queryParams({ expand: "authorization" }), t3.templateParams({ id: e3 }).call(); + }, r.prototype.getUser.api = o.getUser, r.prototype.getUserRolesAndPermissions = function(e3) { + return n2.build(o.getUserRolesAndPermissions).templateParams({ id: e3 }).call(); + }, r.prototype.getUsers = function(e3) { + const t3 = n2.build(o.getUsers), i3 = e3.get_q64searchContent(); + return t3.content(i3), t3.call(); + }, e2.exports = new r(); + }, 38297(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(89878); + class r { + } + const a = new r(); + r.prototype.getValidationResults = function(e3, t3) { + return n2.build(o.getValidationResults).templateParams({ flowId: e3, operationId: t3 }).call(); + }, r.prototype.postValidationManifest = function(e3, t3) { + return n2.build(o.postValidationManifest).content(t3).queryParams({ flow: e3.id, flowType: e3.type }).call(); + }, e2.exports = a; + }, 79585(e2, t2, i2) { + const n2 = i2(10798), o = i2(4648).default, r = i2(95712), a = i2(36019).default; + function s() { + } + s.prototype.getWrapupCodes = function(e3) { + e3 = e3 || {}; + const t3 = n2.isFeatureAvailable(o.divisionedWrapupCodes) ? r.getWrapupCodesDivisionView : r.getWrapupCodes; + return a.build(t3).queryParams(e3.isConfigListSearchParams ? e3.getSearchQueryParams() : e3).call(); + }, s.prototype.getWrapupCode = function(e3) { + const t3 = n2.isFeatureAvailable(o.divisionedWrapupCodes) ? r.getWrapupCodeDivisionView : r.getWrapupCode; + return a.build(t3).templateParams({ id: e3 }).call(); + }, s.prototype.getWrapupCode.api = r.getWrapupCode, s.prototype.getWrapupCodesListView = function(e3) { + return a.build(r.getWrapupCodes).queryParams(e3 || {}).call(); + }, e2.exports = new s(); + }, 45214(e2, t2, i2) { + const n2 = i2(92140), o = i2(45741), r = i2(16029), a = i2(43096); + let s; + const l = () => { + if (!s) { + const e3 = i2(24032); + e3 && n2.isFunction(e3.getTopic) && (s = e3.getTopic("DataContract")); } - get isArchBaseActionWithOutputsFakeSuccessFailure() { - return true; + return s; + }; + function u(e3, t3) { + return t3 && t3.__type && n2.isFunction(a[t3.__type]) ? new a[t3.__type](t3) : t3; + } + function c(e3, t3) { + if (e3 && t3) for (const i3 in e3) { + const o2 = Object.getPropertyDescriptor(t3, i3); + o2 && (n2.isFunction(o2.set) || o2.writable) && (t3[i3] = e3[i3]); } } - t2.default = r2; - }, 1057: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); + function d(e3) { + var t3; + 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]; + return t4; + })(this); + } }, toJSON: { value: function() { + return this.flatten(); + } }, valueOf: { value: function() { + return this.flatten(); + } } }); } - i2(11475).extend(n2, "DivisionVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; - }, 1078: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BridgeServerRequest = void 0; - const n2 = i2(31635), r2 = i2(43212), o = n2.__importDefault(i2(57606)); - class a extends r2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this.inputSchema = e3.inputSchema ? new o.default(e3.inputSchema, true) : null, this.successSchema = e3.successSchema ? new o.default(e3.successSchema, false) : null, this.errorSchema = e3.errorSchema ? new o.default(e3.errorSchema, false) : null; - } - get className() { - return "BridgeServerRequest"; - } - get format() { - return this._model.format; - } - getConfiguration() { - const e3 = { format: this._model.format, method: this._model.method, url: this._model.url }; - return this.inputSchema && (e3.inputSchema = this.inputSchema.getConfiguration()), this.successSchema && (e3.successSchema = this.successSchema.getConfiguration()), this.errorSchema && (e3.errorSchema = this.errorSchema.getConfiguration()), e3; - } - get method() { - return this._model.method; + function p(e3) { + l().errorWithStack(e3, "Ignored Configuration Item"); + } + Object.defineProperties(d, { extend: { value: function(e3, t3, i3) { + a[t3] = e3, r(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 } }); + } } }), o(d, { getConfiguration(e3, t3) { + return this; + }, populateFromJSON(e3) { + c(e3, this); + }, pasteReIdOrRename: { value: function(e3) { + } }, pasteResolveOldToNewValues: { value: function(e3) { + } }, reviveArray: function(e3, t3) { + n2.isArray(e3) || (e3 = []); + for (let i3 = 0; i3 < e3.length; i3++) { + const n3 = e3[i3]; + try { + if (!n3) { + e3.splice(i3--, 1); + continue; + } + n3 instanceof (t3 = a[n3.__type] || t3) || (e3[i3] = new t3(n3)); + } catch (t4) { + e3.splice(i3--, 1), p(t4); + } } - get url() { - return this._model.url; + return e3; + }, reviveArrayToMap(e3, t3) { + return n2.chain(e3).map((e4) => { + try { + return this.reviveItem(e4, t3); + } catch (e5) { + p(e5); + } + }).filter((e4) => e4).groupBy((e4) => { + const i3 = e4[t3.keyProperty || "id"]; + if (!i3) throw new Error(`revived item has no id or keyProperty ${JSON.stringify(e4)}`); + return i3; + }).reduce((e4, i3, o2) => { + let r2, a2 = i3[0]; + if (i3.length > 1) if (n2.isFunction(t3.getMasterItemIndexFromDuplicateKeyList)) { + const e5 = t3.getMasterItemIndexFromDuplicateKeyList(i3); + i3[e5] ? (a2 = i3.splice(e5, 1)[0], r2 = i3) : l().error(`Failed to get master item for group of duplicate ids: ${o2}, using first item, ignoring the rest`); + } else l().error(`Unexpected array with duplicate keys: ${o2}, using first item, ignoring the rest`); + return r2 && (t3.duplicateKeyListProperty ? a2[t3.duplicateKeyListProperty] = r2 : l().error(`Throwing away duplicates for key ${o2} because no duplicateKeyCombineProperty found`)), e4[o2] = a2, e4; + }, {}).value(); + }, reviveEnum: function(e3, t3) { + if (e3 || 0 === e3) return e3 instanceof t3 ? e3 : t3.getInstance(e3); + }, reviveItem: function(e3, t3) { + let i3; + try { + if (!e3) return; + e3.__type && (t3 = a[e3.__type] || t3), i3 = e3 instanceof t3 ? e3 : new t3(e3); + } catch (e4) { + i3 = void 0, p(e4); } + return i3; + }, reviveMap: function(e3, t3, i3) { + const o2 = {}; + return n2.each(e3, (e4, n3) => { + const r2 = this.reviveItem(e4, t3); + i3 && (r2.id = n3), o2[n3] = r2; + }), o2; + } }), e2.exports = d; + }, 84940(e2, t2, i2) { + const n2 = i2(92140); + function o(e3) { + n2.each(e3, function(e4, t3) { + this[t3] = e4; + }.bind(this)), o.baseConstructor.apply(this); } - t2.BridgeServerRequest = a; - }, 1080: (e2, t2, i2) => { + i2(45214).extend(o, "SimpleContract"), e2.exports = o; + }, 54987(e2, t2, i2) { + const { abortSurveyActionType: n2 } = i2(30801), o = i2(28730), r = i2(7401); + function a() { + Object.defineProperties(this, { _disposition: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + o.extend(a, n2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.disposition.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.disposition.pasteResolveOldToNewValues(e3); + } }, disposition: { enumerable: true, get: function() { + return this._disposition; + }, set: function(e3) { + this._disposition = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 1080(e2, t2, i2) { const { addFlowMilestoneActionType: n2 } = i2(30801); - function r2() { - this.milestoneId = void 0, this.milestoneName = void 0, r2.baseConstructor.apply(this, arguments); + function o() { + this.milestoneId = void 0, this.milestoneName = void 0, o.baseConstructor.apply(this, arguments); + } + i2(5410).extend(o, n2, true), e2.exports = o; + }, 3095(e2, t2, i2) { + const { askForBooleanActionType: n2 } = i2(30801); + function o() { + o.baseConstructor.apply(this, arguments); } - i2(5410).extend(r2, n2, true), e2.exports = r2; - }, 1102: (e2, t2, i2) => { - const n2 = i2(60475), r2 = i2(7401), { setConversationDataActionType: o } = i2(30801); + i2(2444).extend(o, n2, true), e2.exports = o; + }, 51350(e2, t2, i2) { + const { askForNLUIntentActionType: n2 } = i2(30801), o = i2(2444), r = i2(7401); function a() { - Object.defineProperties(this, { _participantId: { writable: true } }), a.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _knowledgeSearchResult: { writable: true } }), a.baseConstructor.apply(this, arguments); } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.participantId.pasteReIdOrRename(e3); + o.extend(a, n2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.knowledgeSearchResult.pasteReIdOrRename(e3); } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.participantId.pasteResolveOldToNewValues(e3); - } }, participantId: { enumerable: true, get: function() { - return this._participantId; + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.knowledgeSearchResult.pasteResolveOldToNewValues(e3); + } }, knowledgeSearchResult: { enumerable: true, get: function() { + return this._knowledgeSearchResult; }, set: function(e3) { - this._participantId = this.reviveItem(e3, r2); + this._knowledgeSearchResult = this.reviveItem(e3, r); } } }), e2.exports = a; - }, 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), c = i2(94765); - class d extends c.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "ScheduleGroupType"; - } - createExpressionOptionClass() { - return new r2.ExpressionTypeNetworkObjectOptions(this.isCollection); - } - get listManager() { - return o.scheduleGroupManager.getBriefManagerWithFallback(); - } - canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindScheduleGroup", e3, [u.globalTypes.string]); - } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindScheduleGroup(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; - } + }, 13818(e2, t2, i2) { + const { askForNLUNextIntentActionActionType: n2 } = i2(30801), o = i2(7401); + function r() { + Object.defineProperties(this, { _currentIndex: { writable: true } }), r.baseConstructor.apply(this, arguments); } - 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 (!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 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); - } catch (e4) { - f.exception(e4, "Failed to generate ID map and check for orphaned items."); - } - return e3.hasCommonModules && e3.getEmbeddedCommonModules().forEach((e4) => { - if (null == e4 ? void 0 : e4.deleted) return; - 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; - const n3 = (0, _.getDependenciesForFlow)(t4).reduce((e4, t5) => { - var i4; - return o.default.isFunction(null === (i4 = t5.type) || void 0 === i4 ? void 0 : i4.getConfigItem) && (t5.type.getConfigItem(t5.id, true, t5.consumer) || e4.push((0, r2.sprintf)(g.labelAndName, t5.type.displayName, t5.name))), e4; - }, []); - n3.length && i3.addError(t4, (0, r2.sprintf)(g.commonModule.commonModuleMissingDependencies, t4.displayName, m.getListDisplayString(n3)), true); - const a2 = t4.getMissingLanguages(), s2 = t4.getHasMissingTTSEngineErrors(); - if (0 === a2.length && 0 === n3.length && !s2 && t4.validationResults.errorCount) { - const n4 = Object.values(t4.validationResults.issuesMap).flatMap((e4) => e4.errors); - i3.addError(t4, (0, r2.sprintf)(g.commonModule.commonModuleInternalError, t4.displayName), true), e3.topic.error(`Found ${n4.length} errors in embedded common module`), n4.splice(0, 5).forEach((i4) => { - e3.topic.error(`internal cm error -> ${i4.displayName} -- ${i4.text} -- cmFlowId: ${t4.id}`); - }); - } - }), o.default.each(e3.tasks, (e4) => { - i3.countTaskErrors(e4); - }), (0, c.isCommonWorkflowViewModel)(e3) && o.default.each(e3.states, (e4) => { - i3.countTaskErrors(e4); - }), i3.isDeep = false, t3 || e3.invokeValidationComplete(), i3; - } catch (t4) { - return f.exception(t4, "Failure during validate"), k(e3, g.errors.errorOccurred, i3); - } finally { - e3.isValidating = false; - } - }, t2.validateAction = V, t2.validateNode = function e3(t3, i3) { - const n3 = t3.parentFlow; - 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), 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; - const i3 = e3.parentFlow.validationResults; - i3.removeIssues(e3, true), e3.isDestroyedOrDestroying || e3.parentFlow.isDestroyedOrDestroying || !e3.parentFlow.loaded || D(0, e3); - }, t2.validate = function(e3, t3) { - if (!e3) return false; - if (e3.isDestroyedOrDestroying || !e3.initializeDesignTimeCalled) return false; - if (e3.isBaseAction) V(e3, true, t3); - else { - if (!(e3.isVariableViewModel || e3.isNormalExpression || e3.isBaseFlowSettingsViewModel)) return false; - U(e3, t3); - } - return true; - }, 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)), 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; - const S = 300; - function A(e3, t3) { - try { - if (e3.isValidating) return void (e3.topic || f).errorWithErrorObjectInfo("Request made to validate item while item validation is already in progress.", e3, true, true); - e3.isValidating = true, e3.validate(t3); - } finally { - delete e3.isValidating; - } - } - function N() { - 0 !== T.length ? setTimeout(() => { - if (0 === T.length) return void (y = 0); - const e3 = y > S; - if (!l.isFiringEvents() && !h.isFiringEvents() || e3) { - e3 && p.warn(`Deferred validation max wait count (${S}) exceeded waiting for events to finish processing. Will process next pending validation call now.`), y = 0; - const t3 = T.shift(); - if (o.default.isObject(t3)) try { - t3.function(...t3.args); - } catch (e4) { - f.exceptionWithErrorObjectInfo(e4, `Caught unhandled exception in deferred object validation. funcName: ${t3.funcName}`, t3.validationItem, true); - } - } else y++, y % 50 == 0 && p.warn(`Deferred validation still waiting since event processing is still in progress ( count: ${y} )`); - N(); - }, 90) : y = 0; + i2(2444).extend(r, n2, true), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.currentIndex.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.currentIndex.pasteResolveOldToNewValues(e3); + } }, currentIndex: { enumerable: true, get: function() { + return this._currentIndex; + }, set: function(e3) { + this._currentIndex = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 21453(e2, t2, i2) { + const { askForSlotActionType: n2 } = i2(30801), o = i2(2444), r = i2(7401); + function a() { + Object.defineProperties(this, { _askResult: { writable: true }, _chooser: { writable: true }, _confirmationMode: { writable: true }, _confirmationQuestion: { writable: true }, _customValidation: { writable: true }, _grammar: { writable: true }, _speechToTextEngine: { writable: true }, _speechToTextEngineCompleteTimeout: { writable: true }, _speechToTextEngineConfidenceLevel: { writable: true }, _repromptHandling: { writable: true }, _continuationPrompt: { writable: true }, _customizeContinuation: { writable: true }, _continuationReprompts: { writable: true } }), this.selectedSlot = void 0, this.selectedSlotType = void 0, this.speechToTextEngineName = void 0, this.speechToTextEngineId = void 0, a.baseConstructor.apply(this, arguments); } - 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)); + o.extend(a, n2, true), e2.exports = a, Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.askResult.pasteResolveOldToNewValues(e3), this.grammar && this.grammar.pasteResolveOldToNewValues(e3), this.chooser && this.chooser.pasteResolveOldToNewValues(e3), this.confirmationMode && this.confirmationMode.pasteResolveOldToNewValues(e3), this.confirmationQuestion && this.confirmationQuestion.pasteResolveOldToNewValues(e3), this.customValidation.pasteResolveOldToNewValues(e3), this.repromptHandling && this.repromptHandling.pasteResolveOldToNewValues(e3), this.continuationPrompt && this.continuationPrompt.pasteResolveOldToNewValues(e3), this.customizeContinuation && this.customizeContinuation.pasteResolveOldToNewValues(e3), this.continuationReprompts && this.continuationReprompts.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.askResult.pasteReIdOrRename(e3), this.grammar && this.grammar.pasteReIdOrRename(e3), this.chooser && this.chooser.pasteReIdOrRename(e3), this.confirmationMode && this.confirmationMode.pasteReIdOrRename(e3), this.confirmationQuestion && this.confirmationQuestion.pasteReIdOrRename(e3), this.customValidation.pasteReIdOrRename(e3), this.repromptHandling && this.repromptHandling.pasteReIdOrRename(e3), this.continuationPrompt && this.continuationPrompt.pasteReIdOrRename(e3), this.customizeContinuation && this.customizeContinuation.pasteReIdOrRename(e3), this.continuationReprompts && this.continuationReprompts.pasteReIdOrRename(e3); + } }, askResult: { enumerable: true, get: function() { + return this._askResult; + }, set: function(e3) { + this._askResult = this.reviveItem(e3, r); + } }, chooser: { enumerable: true, get: function() { + return this._chooser; + }, set: function(e3) { + this._chooser = this.reviveItem(e3, r); + } }, confirmationMode: { enumerable: true, get: function() { + return this._confirmationMode; + }, set: function(e3) { + this._confirmationMode = this.reviveItem(e3, r); + } }, confirmationQuestion: { enumerable: true, get: function() { + return this._confirmationQuestion; + }, set: function(e3) { + this._confirmationQuestion = this.reviveItem(e3, r); + } }, customValidation: { enumerable: true, get: function() { + return this._customValidation; + }, set: function(e3) { + this._customValidation = this.reviveItem(e3, r); + } }, grammar: { enumerable: true, get: function() { + return this._grammar; + }, set: function(e3) { + this._grammar = this.reviveItem(e3, r); + } }, speechToTextEngine: { enumerable: true, get: function() { + return this._speechToTextEngine; + }, set: function(e3) { + this._speechToTextEngine = this.reviveItem(e3, r); + } }, speechToTextEngineCompleteTimeout: { enumerable: true, get: function() { + return this._speechToTextEngineCompleteTimeout; + }, set: function(e3) { + this._speechToTextEngineCompleteTimeout = this.reviveItem(e3, r); + } }, speechToTextEngineConfidenceLevel: { enumerable: true, get: function() { + return this._speechToTextEngineConfidenceLevel; + }, set: function(e3) { + this._speechToTextEngineConfidenceLevel = this.reviveItem(e3, r); + } }, repromptHandling: { enumerable: true, get: function() { + return this._repromptHandling; + }, set: function(e3) { + this._repromptHandling = this.reviveItem(e3, r); + } }, continuationPrompt: { enumerable: true, get: function() { + return this._continuationPrompt; + }, set: function(e3) { + this._continuationPrompt = this.reviveItem(e3, r); + } }, customizeContinuation: { enumerable: true, get: function() { + return this._customizeContinuation; + }, set: function(e3) { + this._customizeContinuation = this.reviveItem(e3, r); + } }, continuationReprompts: { enumerable: true, get: function() { + return this._continuationReprompts; + }, set: function(e3) { + this._continuationReprompts = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 44900(e2, t2, i2) { + const { askSurveyQuestionActionType: n2 } = i2(30801), o = i2(7401), r = i2(2444); + function a() { + Object.defineProperties(this, { _questionCondition: { writable: true }, _surveyQuestion: { writable: true }, _answer: { writable: true }, _followUpQuestion: { writable: true }, _surveyQuestionResult: { writable: true }, _notApplicable: { writable: true } }), a.baseConstructor.apply(this, arguments); } - function O(e3) { - return e3 && e3.canBeValidated(); + Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.answer?.pasteResolveOldToNewValues(e3), this.followUpQuestion?.pasteResolveOldToNewValues(e3), this.questionCondition?.pasteResolveOldToNewValues(e3), this.surveyQuestion?.pasteResolveOldToNewValues(e3), this.notApplicable?.pasteResolveOldToNewValues(e3), this.surveyQuestionResult?.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.answer?.pasteReIdOrRename(e3), this.followUpQuestion?.pasteReIdOrRename(e3), this.questionCondition?.pasteReIdOrRename(e3), this.surveyQuestion?.pasteReIdOrRename(e3), this.notApplicable?.pasteReIdOrRename(e3), this.surveyQuestionResult?.pasteReIdOrRename(e3); + } }, questionCondition: { enumerable: true, get: function() { + return this._questionCondition; + }, set: function(e3) { + this._questionCondition = this.reviveItem(e3, o); + } }, surveyQuestionResult: { enumerable: true, get: function() { + return this._surveyQuestionResult; + }, set: function(e3) { + this._surveyQuestionResult = this.reviveItem(e3, o); + } }, surveyQuestion: { enumerable: true, get: function() { + return this._surveyQuestion; + }, set: function(e3) { + this._surveyQuestion = this.reviveItem(e3, o); + } }, followUpQuestion: { enumerable: true, get: function() { + return this._followUpQuestion; + }, set: function(e3) { + this._followUpQuestion = this.reviveItem(e3, o); + } }, answer: { enumerable: true, get: function() { + return this._answer; + }, set: function(e3) { + this._answer = this.reviveItem(e3, o); + } }, notApplicable: { enumerable: true, get: function() { + return this._notApplicable; + }, set: function(e3) { + this._notApplicable = this.reviveItem(e3, o); + } } }), r.extend(a, n2, true), e2.exports = a; + }, 89127(e2, t2, i2) { + const { audioMonitoringActionType: n2 } = i2(30801), o = i2(28730), r = i2(7401); + function a() { + Object.defineProperties(this, { _enableMonitoring: { writable: true } }), a.baseConstructor.apply(this, arguments); } - 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) { - const i3 = o.default.traverseFind(e3.parent, (e4) => e4.isDisabled && e4.parent, (e4) => e4.outOfService); - t3.addWarning(e3, i3 ? g.errors.unreachableActionOutOfService : g.errors.unreachableAction); - } - A(e3, t3); - } - } else f.error("Tried to validate: {}", e3); + o.extend(a, n2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.enableMonitoring.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.enableMonitoring.pasteResolveOldToNewValues(e3); + } }, enableMonitoring: { enumerable: true, get: function() { + return this._enableMonitoring; + }, set: function(e3) { + this._enableMonitoring = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 28730(e2, t2, i2) { + const n2 = i2(92140), o = i2(76768); + function r() { + this.nextAction = void 0, this.trackingId = void 0, this.result = void 0, r.baseConstructor.apply(this, arguments); } - 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) => { - I(e4, t3); - })); + Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), n2.isUndefined(this.trackingId) || (this.trackingId = e3.pasteGetNewTrackingId(this.trackingId)); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.nextAction = e3.pasteResolveOldIdToNewId(this.nextAction); + } }, type: { get: function() { + return this.__type; + } } }), o.extend(r, "BaseActionModel"), e2.exports = r; + }, 13240(e2, t2, i2) { + const n2 = i2(92140), o = i2(93476); + function r() { + Object.defineProperties(this, { _paths: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + i2(28730).extend(r, "BaseActionWithOutputsModel"), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.paths, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)); + } }, pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.paths, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)); + } }, paths: { enumerable: true, get: function() { + return this._paths; + }, set: function(e3) { + this._paths = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 91625(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401); + function r() { + Object.defineProperties(this, { _noInput: { writable: true }, _noMatch: { writable: true }, _question: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "BaseAskActionModel"), e2.exports = r, Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.question && this.question.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.question && this.question.pasteReIdOrRename(e3); + } }, question: { enumerable: true, get: function() { + return this._question; + }, set: function(e3) { + this._question = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 2444(e2, t2, i2) { + const n2 = i2(91625), o = i2(7401), r = i2(93476); + function a() { + Object.defineProperties(this, { _customizeNoInput: { writable: true }, _customizeNoMatch: { writable: true }, _enableBargeIn: { writable: true }, _noInputs: { writable: true }, _noInputReprompts: { writable: true }, _noMatches: { writable: true }, _noMatchReprompts: { writable: true }, _voiceEndOfInputTimeout: { writable: true }, _paths: { writable: true } }), a.baseConstructor.apply(this, arguments); } - function b(e3, t3) { - t3 && !t3.shouldValidate() || e3.isDestroyed || (A(e3, t3), (function(e4, t4) { - if (t4 && !t4.shouldValidate()) return; - const i3 = []; - o.default.each(e4.choices, (n3) => { - 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)); + n2.extend(a, "BaseAskActionNoInputNoMatchModel"), e2.exports = a, Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.customizeNoInput && this.customizeNoInput.pasteResolveOldToNewValues(e3), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this.enableBargeIn && this.enableBargeIn.pasteResolveOldToNewValues(e3), this.noInputs && this.noInputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noInputReprompts && this.noInputReprompts.pasteResolveOldToNewValues(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3), this.voiceEndOfInputTimeout && this.voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3), this.paths && this.paths.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), 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.pasteResolveOldToNewValues(e3), this.paths && this.paths.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + } }, customizeNoInput: { enumerable: true, get: function() { + return this._customizeNoInput; + }, set: function(e3) { + this._customizeNoInput = this.reviveItem(e3, o); + } }, customizeNoMatch: { enumerable: true, get: function() { + return this._customizeNoMatch; + }, set: function(e3) { + this._customizeNoMatch = this.reviveItem(e3, o); + } }, enableBargeIn: { enumerable: true, get: function() { + return this._enableBargeIn; + }, set: function(e3) { + this._enableBargeIn = this.reviveItem(e3, o); + } }, noInput: { enumerable: false, get: function() { + return this.noInputs && this.noInputs[0]; + }, set: function(e3) { + this.noInputs = [e3]; + } }, noMatch: { enumerable: false, get: function() { + return this.noMatches && this.noMatches[0]; + }, set: function(e3) { + this.noMatches = [e3]; + } }, noInputs: { enumerable: true, get: function() { + return this._noInputs; + }, set: function(e3) { + this._noInputs = this.reviveArray(e3, o); + } }, noInputReprompts: { enumerable: true, get: function() { + return this._noInputReprompts; + }, set: function(e3) { + this._noInputReprompts = this.reviveItem(e3, o); + } }, noMatches: { enumerable: true, get: function() { + return this._noMatches; + }, set: function(e3) { + this._noMatches = this.reviveArray(e3, o); + } }, noMatchReprompts: { enumerable: true, get: function() { + return this._noMatchReprompts; + }, set: function(e3) { + this._noMatchReprompts = this.reviveItem(e3, o); + } }, voiceEndOfInputTimeout: { enumerable: true, get: function() { + return this._voiceEndOfInputTimeout; + }, set: function(e3) { + this._voiceEndOfInputTimeout = this.reviveItem(e3, o); + } }, paths: { enumerable: true, get: function() { + return this._paths; + }, set: function(e3) { + this._paths = this.reviveArray(e3, r); + } } }), e2.exports = a; + }, 82149(e2, t2, i2) { + const n2 = i2(92140), o = i2(13240), r = i2(90807), a = i2(52706), s = i2(7401), l = i2(42217); + function u() { + Object.defineProperties(this, { _errorBindings: { writable: true }, _followupResponseTimeout: { writable: true }, _inputText: { writable: true }, _outputs: { writable: true }, _sessionVariables: { writable: true } }), this.botId = void 0, this.botName = void 0, u.baseConstructor.apply(this, arguments); } - function E(e3, t3) { - const i3 = { globalVariableHolder: {} }; - e3.forEach((e4) => { - const n3 = i3[e4.parent.id]; - if (n3) n3[e4.id] ? e4.addValidationError((0, r2.sprintf)(g.errors.duplicateVariableId, e4.name), t3) : n3[e4.lowerName] ? e4.addValidationError((0, r2.sprintf)(g.errors.duplicateVariableName, e4.name), t3) : i3.globalVariableHolder[e4.id] && e4.addValidationError((0, r2.sprintf)(g.errors.duplicateVariableId, e4.name), t3); - else { - const t4 = {}; - t4[e4.id] = true, t4[e4.lowerName] = true, i3[e4.parent.id] = t4, i3.globalVariableHolder[e4.id] = true; - } - }); + o.extend(u, "BaseBotActionModel"), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { + if (u._super.pasteReIdOrRename.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)), this.followupResponseTimeout?.pasteReIdOrRename(e3), this.inputText?.pasteReIdOrRename(e3), n2.isArray(this.outputs)) for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteReIdOrRename(e3); + if (n2.isArray(this.sessionVariables)) for (let t3 = 0; t3 < this.sessionVariables.length; t3++) this.sessionVariables[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + if (u._super.pasteResolveOldToNewValues.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.followupResponseTimeout?.pasteResolveOldToNewValues(e3), this.inputText?.pasteResolveOldToNewValues(e3), n2.isArray(this.outputs)) for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteResolveOldToNewValues(e3); + if (n2.isArray(this.sessionVariables)) for (let t3 = 0; t3 < this.sessionVariables.length; t3++) this.sessionVariables[t3].pasteResolveOldToNewValues(e3); + } }, errorBindings: { enumerable: true, get: function() { + return this._errorBindings; + }, set: function(e3) { + this._errorBindings = this.reviveArray(e3, r); + } }, followupResponseTimeout: { enumerable: true, get: function() { + return this._followupResponseTimeout; + }, set: function(e3) { + this._followupResponseTimeout = this.reviveItem(e3, s); + } }, inputText: { enumerable: true, get: function() { + return this._inputText; + }, set: function(e3) { + this._inputText = this.reviveItem(e3, s); + } }, outputs: { enumerable: true, get: function() { + return this._outputs; + }, set: function(e3) { + this._outputs = this.reviveArray(e3, a); + } }, sessionVariables: { enumerable: true, get: function() { + return this._sessionVariables; + }, set: function(e3) { + this._sessionVariables = this.reviveArray(e3, l); + } } }), e2.exports = u; + }, 46205(e2, t2, i2) { + const n2 = i2(92140), o = i2(13240), { callBotFlowActionType: r } = i2(30801), a = i2(90807), s = i2(7401); + function l() { + Object.defineProperties(this, { _exitReason: { writable: true }, _inputs: { writable: true }, _intent: { writable: true }, _outputs: { writable: true }, _inputText: { writable: true } }), this.flowId = void 0, this.flowName = void 0, this.flowVersion = void 0, this.flowLatestVersion = true, this.flowDebugPublished = false, l.baseConstructor.apply(this, arguments); } - function w(e3, t3) { - P(e3, t3); + o.extend(l, r, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { + l._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.inputs, (t3) => { + t3.pasteReIdOrRename(e3); + }), n2.each(this.outputs, (t3) => { + t3.pasteReIdOrRename(e3); + }), this.intent.pasteReIdOrRename(e3), this.exitReason.pasteReIdOrRename(e3), this.inputText.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + l._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.inputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), n2.each(this.outputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), this.intent.pasteResolveOldToNewValues(e3), this.exitReason.pasteResolveOldToNewValues(e3), this.inputText.pasteResolveOldToNewValues(e3); + } }, exitReason: { enumerable: true, get: function() { + return this._exitReason; + }, set: function(e3) { + this._exitReason = this.reviveItem(e3, s); + } }, inputs: { enumerable: true, get: function() { + return this._inputs; + }, set: function(e3) { + this._inputs = this.reviveArray(e3, a); + } }, intent: { enumerable: true, get: function() { + return this._intent; + }, set: function(e3) { + this._intent = this.reviveItem(e3, s); + } }, outputs: { enumerable: true, get: function() { + return this._outputs; + }, set: function(e3) { + this._outputs = this.reviveArray(e3, a); + } }, inputText: { enumerable: true, get: function() { + return this._inputText; + }, set: function(e3) { + this._inputText = this.reviveItem(e3, s); + } } }), e2.exports = l; + }, 60475(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), r = i2(42217); + function a() { + Object.defineProperties(this, { _conversationId: { writable: true }, _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); } - function R(e3, t3) { - P(e3, t3); + n2.extend(a, "BaseConversationDataActionModel"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.conversationId.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.conversationId.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteResolveOldToNewValues(e3); + } }, conversationId: { enumerable: true, get: function() { + return this._conversationId; + }, set: function(e3) { + this._conversationId = this.reviveItem(e3, o); + } }, variables: { enumerable: true, get: function() { + return this._variables; + }, set: function(e3) { + this._variables = this.reviveArray(e3, r); + } } }), e2.exports = a; + }, 81084(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401); + function r() { + Object.defineProperties(this, { _silenceDuration: { writable: true }, _timeout: { writable: true } }), r.baseConstructor.apply(this, arguments); } - function D(e3, t3) { - (null == t3 ? void 0 : t3.parentFlow) ? t3.parentFlow.invokeSingleItemValidated(t3) : p.error("no parent flow"); + n2.extend(r, "BaseDetectSilenceActionModel"), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.silenceDuration.pasteReIdOrRename(e3), this.timeout.pasteReIdOrRename(e3); + } }, pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.silenceDuration.pasteResolveOldToNewValues(e3), this.timeout.pasteResolveOldToNewValues(e3); + } }, silenceDuration: { enumerable: true, get: function() { + return this._silenceDuration; + }, set: function(e3) { + this._silenceDuration = this.reviveItem(e3, o); + } }, timeout: { enumerable: true, get: function() { + return this._timeout; + }, set: function(e3) { + this._timeout = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 32726(e2, t2, i2) { + const n2 = i2(92140), o = i2(82149), r = i2(7401), a = i2(42217); + function s() { + Object.defineProperties(this, { _eventName: { writable: true }, _outputSessionVariables: { writable: true } }), this.environmentId = void 0, this.languages = void 0, this.integrationId = void 0, this.integrationName = void 0, s.baseConstructor.apply(this, arguments); } - function P(e3, t3) { - if (!(null == e3 ? void 0 : e3.length)) return; - const i3 = "isTaskLike" in e3[0], n3 = i3 ? g.task.multipleNames : g.menu.multipleNames, r3 = !t3.parentFlow.isValidating, o2 = {}, a2 = e3.reduce((e4, i4) => { - const r4 = i4.linkedMenuChoice ? i4.linkedMenuChoice.parent.id : i4.parent.id; - return e4[r4] || (e4[r4] = {}), e4[r4][i4.name] || (e4[r4][i4.name] = []), e4[r4][i4.name].push(i4), t3.nodeHasError(i4.id, n3) && (o2[i4.id] = i4), e4; - }, {}); - Object.values(a2).forEach((e4) => { - Object.entries(e4).forEach(([e5, a3]) => { - a3.length <= 1 || a3.forEach((e6) => { - r3 && (t3.removeIssues(e6, false), A(e6, t3), delete o2[e6.id]), t3.addError(e6, n3), r3 && (i3 && t3.countTaskErrors(e6), D(0, e6)); - }); - }); - }), Object.values(o2).length && (r3 ? Object.values(o2).forEach((e4) => { - t3.removeIssues(e4, false), A(e4, t3), i3 && t3.countTaskErrors(e4), D(0, e4); - }) : p.error("we have items with duplicate name error but are not in a full flow validate state")); + o.extend(s, "BaseDialogflowActionModel"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.eventName.pasteReIdOrRename(e3), n2.each(this.outputSessionVariables, (t3) => { + t3.pasteReIdOrRename(e3); + }); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.eventName.pasteResolveOldToNewValues(e3), n2.each(this.outputSessionVariables, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }); + } }, eventName: { enumerable: true, get: function() { + return this._eventName; + }, set: function(e3) { + this._eventName = this.reviveItem(e3, r); + } }, outputSessionVariables: { enumerable: true, get: function() { + return this._outputSessionVariables; + }, set: function(e3) { + this._outputSessionVariables = this.reviveArray(e3, a); + } } }), e2.exports = s; + }, 75458(e2, t2, i2) { + const n2 = i2(13240), o = i2(90807); + function r() { + Object.defineProperties(this, { _errorBindings: { writable: true } }), r.baseConstructor.apply(this, arguments); } - function M(e3, t3) { - if (!t3.isDeep || !t3 || !t3.validIdMap || Object.keys(t3.validIdMap).length < 1 || !e3 || !e3.id) return false; - if (!t3.validIdMap[e3.id]) { - e3.isOrphan = true; - let i3 = (0, r2.sprintf)("Found orphaned item while validating flow. Item id: '%1$s' in flow '%2$s' (id: '%3$s'). ", e3.id, t3.parentFlow.displayName, t3.parentFlow.id); - try { - e3.isAction ? (i3 += "Deleting orphaned action.", e3.topParent.deleteChild(e3), i3 += " Deletion complete.") : e3.isTaskLike || e3.isMenu ? (i3 += (0, r2.sprintf)("Deleting orphaned %1$s.", e3.isTask ? "task" : e3.isState ? "state" : e3.isBotState ? "botState" : "menu"), t3.parentFlow.deleteNode(e3, false), i3 += " Deletion complete.") : i3 += "Did not attempt to remove."; - } catch (e4) { - return f.exception(e4, i3), true; - } - return f.error(i3), true; - } - return e3.isOrphan && delete e3.isOrphan, false; + n2.extend(r, "BaseFailureOutputsActionModel"), Object.defineProperties(r.prototype, { errorBindings: { enumerable: true, get: function() { + return this._errorBindings; + }, set: function(e3) { + this._errorBindings = this.reviveArray(e3, o); + } }, pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this._errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this._errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + } } }), e2.exports = r; + }, 5410(e2, t2, i2) { + function n2() { + this.outcomeId = void 0, this.outcomeName = void 0, n2.baseConstructor.apply(this, arguments); } - function F(e3, t3) { - M(e3, t3.data) && (t3.traverseChildren = false); + i2(28730).extend(n2, "BaseFlowOutcomeActionModel"), e2.exports = n2; + }, 69823(e2, t2, i2) { + const n2 = i2(27727), o = i2(90807); + function r() { + Object.defineProperties(this, { _errorBindings: { writable: true } }), r.baseConstructor.apply(this, arguments); } - function L(e3, t3) { - M(e3, t3.data); + n2.extend(r, "IntegrationsActionModel"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments); + for (let t3 = 0; t3 < this.errorBindings.length; t3++) this.errorBindings[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments); + for (let t3 = 0; t3 < this.errorBindings.length; t3++) this.errorBindings[t3].pasteResolveOldToNewValues(e3); + } }, errorBindings: { enumerable: true, get: function() { + return this._errorBindings; + }, set: function(e3) { + this._errorBindings = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 59865(e2, t2, i2) { + const n2 = i2(2210); + function o() { + Object.defineProperties(this, { _prompts: { writable: true } }), this.aliasName = void 0, this.aliasId = void 0, this.aliasLanguages = void 0, o.baseConstructor.apply(this, arguments); } - function x(e3, t3) { - 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); - }), 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) => { - e5.speechRecTerms.refreshContainers(); - }); - }), o.default.each(e3.menus, (e4) => { - b(e4, t3); - })), 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) => { - A(e5, t4); - }), o.default.each(e4.variableGroup.systemVariables, (e5) => { - e5.isNeeded && A(e5, t4); - }), t4.isDeep && (E(e4.variableGroup.flowVariables, t4), E(e4.variableGroup.taskVariables, t4))); - })(e3, t3), i3()); + i2(82149).extend(o, "BaseLexActionModel"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { + o._super.pasteReIdOrRename.apply(this, arguments), this.prompts.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + o._super.pasteResolveOldToNewValues.apply(this, arguments), this.prompts.pasteResolveOldToNewValues(e3); + } }, prompts: { enumerable: true, get: function() { + return this._prompts; + }, set: function(e3) { + this._prompts = this.reviveItem(e3, n2); + } } }), e2.exports = o; + }, 16113(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401); + function r() { + Object.defineProperties(this, { _evaluationDateTime: { writable: true }, _emergencyGroup: { writable: true } }), this.emergencyGroupId = void 0, this.emergencyGroupName = void 0, this.evaluateNow = true, r.baseConstructor.apply(this, arguments); } - function k(e3, t3, i3) { - return i3 || (i3 = new d.default(e3, true), e3.validationResults = i3), i3.isDeep = false, i3.addError(e3, t3, true), e3.invokeValidationComplete(), i3; + n2.extend(r, "BaseScheduleActionModel"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.evaluationDateTime.pasteReIdOrRename(e3), this.emergencyGroup.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.evaluationDateTime.pasteResolveOldToNewValues(e3), this.emergencyGroup.pasteResolveOldToNewValues(e3); + } }, evaluationDateTime: { enumerable: true, get: function() { + return this._evaluationDateTime; + }, set: function(e3) { + this._evaluationDateTime = this.reviveItem(e3, o); + } }, emergencyGroup: { enumerable: true, get: function() { + return this._emergencyGroup; + }, set: function(e3) { + this._emergencyGroup = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 27727(e2, t2, i2) { + const n2 = i2(13240), o = i2(90807), r = i2(7401); + function a() { + Object.defineProperties(this, { _inputs: { writable: true }, _outputs: { writable: true }, _processingPrompt: { writable: true }, _timeout: { writable: true } }), this.actionName = void 0, this.actionId = void 0, this.category = void 0, this.useSuggestedTimeout = void 0, a.baseConstructor.apply(this, arguments); } - function V(e3, t3, i3) { - 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), 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; + n2.extend(a, "BaseServerActionModel"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.timeout.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteReIdOrRename(e3); + this.errorData && this.errorData.pasteReIdOrRename(e3), this.messageData && this.message.pasteReIdOrRename(e3), this.status && this.status.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.timeout.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteResolveOldToNewValues(e3); + this.errorData && this.errorData.pasteResolveOldToNewValues(e3), this.messageData && this.message.pasteResolveOldToNewValues(e3), this.status && this.status.pasteResolveOldToNewValues(e3); + } }, processingPrompt: { enumerable: true, get: function() { + return this._processingPrompt; + }, set: function(e3) { + this._processingPrompt = this.reviveItem(e3, r); + } }, inputs: { enumerable: true, get: function() { + return this._inputs; + }, set: function(e3) { + this._inputs = this.reviveArray(e3, o); + } }, outputs: { enumerable: true, get: function() { + return this._outputs; + }, set: function(e3) { + this._outputs = this.reviveArray(e3, o); + } }, timeout: { enumerable: true, get: function() { + return this._timeout; + }, set: function(e3) { + this._timeout = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 70380(e2, t2, i2) { + const n2 = i2(92140), o = i2(13240), r = i2(90807); + function a() { + Object.defineProperties(this, { _inputs: { writable: true }, _outputs: { writable: true } }), this.taskReference = void 0, this.taskName = void 0, a.baseConstructor.apply(this, arguments); } - function U(e3, t3, i3) { - if (!e3.validate) 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 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; + o.extend(a, "BaseTaskReferenceActionModel"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments); + const t3 = this.pasteResolveReferenceAndName(e3, "task", this.taskReference, this.taskName); + if (this.taskReference = t3.reference, this.taskName = t3.name, this.inputs) for (let t4 = 0; t4 < this.inputs.length; t4++) this.inputs[t4].pasteReIdOrRename(e3); + if (this.outputs) for (let t4 = 0; t4 < this.outputs.length; t4++) this.outputs[t4].pasteReIdOrRename(e3); + } }, _removeUnmatchedDataPairsByName: { value: function(e3, t3) { + if (n2.isArray(e3) && n2.isArray(t3)) for (let i3 = e3.length - 1; i3 >= 0; i3--) { + if (!e3[i3].name) continue; + const o2 = e3[i3].name.toLowerCase(); + n2.find(t3, (e4) => { + if (e4.name) return e4.name.toLowerCase() === o2; + }) || e3.splice(i3, 1); } + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments); + const t3 = this.pasteResolveReferenceAndName(e3, "task", this.taskReference, this.taskName); + if (this.taskReference = t3.reference, this.taskName = t3.name, this.inputs) for (let t4 = 0; t4 < this.inputs.length; t4++) this.inputs[t4].pasteResolveOldToNewValues(e3); + if (this.outputs) for (let t4 = 0; t4 < this.outputs.length; t4++) this.outputs[t4].pasteResolveOldToNewValues(e3); + const i3 = e3.pasteContext.destFlowViewModel.getTaskById(this.taskReference); + i3 && (this.inputs && this._removeUnmatchedDataPairsByName(this.inputs, i3.getInputVariables()), this.outputs && this._removeUnmatchedDataPairsByName(this.outputs, i3.getOutputVariables())); + } }, inputs: { enumerable: true, get: function() { + return this._inputs; + }, set: function(e3) { + this._inputs = this.reviveArray(e3, r); + } }, outputs: { enumerable: true, get: function() { + return this._outputs; + }, set: function(e3) { + this._outputs = this.reviveArray(e3, r); + } } }), e2.exports = a; + }, 54976(e2, t2, i2) { + const n2 = i2(2210), o = i2(13240), r = i2(90807), a = i2(7401); + function s() { + Object.defineProperties(this, { _errorBindings: { writable: true }, _preTransferAudio: { writable: true }, _preTransferCommunication: { writable: true }, _failureTransferAudio: { writable: true }, _failureTransferCommunication: { writable: true } }), s.baseConstructor.apply(this, arguments); } - }, 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; + o.extend(s, "BaseTransferActionModel"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)), this.preTransferAudio.pasteReIdOrRename(e3), this.preTransferCommunication.pasteReIdOrRename(e3), this.failureTransferAudio.pasteReIdOrRename(e3), this.failureTransferCommunication.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.preTransferAudio.pasteResolveOldToNewValues(e3), this.preTransferCommunication.pasteResolveOldToNewValues(e3), this.failureTransferAudio.pasteResolveOldToNewValues(e3), this.failureTransferCommunication.pasteResolveOldToNewValues(e3); + } }, errorBindings: { enumerable: true, get: function() { + return this._errorBindings; + }, set: function(e3) { + this._errorBindings = this.reviveArray(e3, r); + } }, preTransferAudio: { enumerable: true, get: function() { + return this._preTransferAudio; + }, set: function(e3) { + this._preTransferAudio = this.reviveItem(e3, n2); + } }, preTransferCommunication: { enumerable: true, get: function() { + return this._preTransferCommunication; + }, set: function(e3) { + this._preTransferCommunication = this.reviveItem(e3, a); + } }, failureTransferAudio: { enumerable: true, get: function() { + return this._failureTransferAudio; + }, set: function(e3) { + this._failureTransferAudio = this.reviveItem(e3, n2); + } }, failureTransferCommunication: { enumerable: true, get: function() { + return this._failureTransferCommunication; + }, set: function(e3) { + this._failureTransferCommunication = this.reviveItem(e3, a); + } } }), e2.exports = s; + }, 16369(e2, t2, i2) { + const n2 = i2(82149), { botConnectorActionType: o } = i2(30801), r = i2(42217); + function a() { + Object.defineProperties(this, { _outputSessionVariables: { writable: true } }), this.languages = void 0, this.botCompositeTag = void 0, this.botId = void 0, this.botName = void 0, this.versionId = void 0, this.versionName = void 0, this.botIntegrationId = void 0, this.botIntegrationName = void 0, a.baseConstructor.apply(this, arguments); } - }, 1183: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allModes = t2.executeTask = t2.exitFlow = void 0; - const n2 = i2(47957); - t2.exitFlow = { displayString: n2.customNodes.errorHandling.exit, id: "Exit" }, t2.executeTask = { displayString: n2.customNodes.eventHandling.subsequentRecognitionFailuresExecuteTask, id: "ExecuteTask" }, t2.allModes = [t2.exitFlow, t2.executeTask]; - }, 1211: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.name = void 0, this.language = void 0, this.gender = void 0, this.isDefault = void 0, n2.baseConstructor.apply(this, arguments); + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments); + } }, outputSessionVariables: { enumerable: true, get: function() { + return this._outputSessionVariables; + }, set: function(e3) { + this._outputSessionVariables = this.reviveArray(e3, r); + } } }), e2.exports = a; + }, 98099(e2, t2, i2) { + const n2 = i2(27727), { bridgeServerActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 19886(e2, t2, i2) { + const n2 = i2(82149), { callAudioConnectorActionType: o } = i2(30801), r = i2(7401), a = i2(42217); + function s() { + Object.defineProperties(this, { _connectorId: { writable: true }, _outputSessionVariables: { writable: true } }), this.integrationId = void 0, this.integrationName = void 0, s.baseConstructor.apply(this, arguments); } - i2(45214).extend(n2, "Voice"), e2.exports = n2; - }, 1227: (e2, t2, i2) => { - "use strict"; - var n2, r2, o; - Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); - class u extends l.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.sipHeaderNames), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.sipHeadersResult), "f"), e3.errorBindings && a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); - } - get _actionTypeId() { - return s.getSIPHeadersActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionGetSIPHeaders() { - return true; - } - setInputDataVariable(e3) { - this._checkItemIsValidJsonObject(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), a.__classPrivateFieldGet(this, r2, "f").setVariable(e3); - } - get sipHeaderNames() { - return a.__classPrivateFieldGet(this, n2, "f"); - } - get sipHeadersResult() { - return a.__classPrivateFieldGet(this, r2, "f"); - } - get getSipHeadersFailureOutputs() { - return a.__classPrivateFieldGet(this, o, "f"); - } + n2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.connectorId.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.connectorId.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteResolveOldToNewValues(e3); + } }, outputSessionVariables: { enumerable: true, get: function() { + return this._outputSessionVariables; + }, set: function(e3) { + this._outputSessionVariables = this.reviveArray(e3, a); + } }, connectorId: { enumerable: true, get: function() { + return this._connectorId; + }, set: function(e3) { + this._connectorId = this.reviveItem(e3, r); + } } }), e2.exports = s; + }, 37852(e2, t2, i2) { + const n2 = i2(46205), { callBotFlowActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 71706(e2, t2, i2) { + const n2 = i2(92140), o = i2(13240), { callCommonModuleActionType: r } = i2(30801), a = i2(90807); + function s() { + Object.defineProperties(this, { _inputs: { writable: true }, _outputs: { writable: true } }), this.flowId = void 0, this.flowName = void 0, this.flowVersion = void 0, this.flowLatestVersion = true, this.flowDebugPublished = false, s.baseConstructor.apply(this, arguments); } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 1234: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DivisionViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55299), a = n2.__importStar(i2(97591)), s = i2(50778); - class l extends o.BaseClass { - constructor(e3) { - super(), Object.defineProperties(this, { _permissions: { writable: true, value: [] }, model: { value: e3 } }); - } - static create(e3, t3) { - const i3 = new s({ id: e3, name: t3 }); - return new l(i3); - } - get className() { - return "DivisionViewModel"; - } - get id() { - return this.model.id; - } - set id(e3) { - } - get isDivisionViewModel() { - return true; - } - get isHomeDivision() { - return this.model.homeDivision; - } - set isHomeDivision(e3) { - this.model.homeDivision = !!e3; - } - get isStarDivision() { - return this.id === a.starDivision; - } - get name() { - return this.model.name; - } - set name(e3) { - this.model.name = e3; - } - get label() { - return this.name; - } - get lowerName() { - return this.model.name ? this.model.name.toLowerCase() : ""; - } - get permissions() { - return this._permissions; - } - addPermission(e3) { - r2.default.contains(this.permissions, e3) || this.permissions.push(e3); - } - setId() { - } - setName() { - } + o.extend(s, r, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.inputs, (t3) => { + t3.pasteReIdOrRename(e3); + }), n2.each(this.outputs, (t3) => { + t3.pasteReIdOrRename(e3); + }); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.inputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), n2.each(this.outputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }); + } }, inputs: { enumerable: true, get: function() { + return this._inputs; + }, set: function(e3) { + this._inputs = this.reviveArray(e3, a); + } }, outputs: { enumerable: true, get: function() { + return this._outputs; + }, set: function(e3) { + this._outputs = this.reviveArray(e3, a); + } } }), e2.exports = s; + }, 30249(e2, t2, i2) { + const n2 = i2(75458), { callDecisionTableActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _input: { writable: true }, _output: { writable: true } }), this.decisionTableId = void 0, this.decisionTableName = void 0, a.baseConstructor.apply(this, arguments); } - t2.DivisionViewModel = l; - }, 1248: (e2, t2, i2) => { - const n2 = i2(28730), { menuActionActionType: r2 } = i2(30801); - function o() { - this.menuReference = void 0, o.baseConstructor.apply(this, arguments); + n2.extend(a, o, true), Object.defineProperties(a.prototype, { input: { enumerable: true, get: function() { + return this._input; + }, set: function(e3) { + this._input = this.reviveItem(e3, r); + } }, output: { enumerable: true, get: function() { + return this._output; + }, set: function(e3) { + this._output = this.reviveItem(e3, r); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.input && this.input.pasteResolveOldToNewValues(e3), this.output && this.output.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.input && this.input.pasteReIdOrRename(e3), this.output && this.output.pasteReIdOrRename(e3); + } } }), e2.exports = a; + }, 90562(e2, t2, i2) { + const n2 = i2(46205), { callDigitalBotFlowActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 97038(e2, t2, i2) { + const n2 = i2(70380), { callTaskActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 55817(e2, t2, i2) { + const n2 = i2(46205), { callVoiceFlowActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 15948(e2, t2, i2) { + const n2 = i2(28730), { changeStateActionType: o } = i2(30801); + function r() { + this.stateReference = void 0, this.stateName = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments); + const t3 = this.pasteResolveReferenceAndName(e3, "state", this.stateReference, this.stateName); + this.stateReference = t3.reference, this.stateName = t3.name; + } } }), e2.exports = r; + }, 67504(e2, t2, i2) { + const n2 = i2(28730), { clearActiveIntentActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 97534(e2, t2, i2) { + const n2 = i2(28730), { clearPostFlowActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _target: { writable: true } }), a.baseConstructor.apply(this, arguments); } - n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.menuReference = e3.pasteResolveOldIdToNewId(this.menuReference), this.name = e3.pasteResolveOldMenuNameToNewMenuName(this.name); - } } }), e2.exports = o; - }, 1360: (e2) => { - e2.exports = { exactMatch: 1, startsWith: 2, contains: 3, containsAssumed: 4 }; - }, 1383: (e2, t2, i2) => { - "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 = i2(33264), l = n2.__importDefault(i2(21345)); - class u extends l.default { - constructor(e3) { - super(e3), e3.input && (this._input = this.coreFactory.createArchWrapper(e3.input)), e3.output && (this._output = this.coreFactory.createArchWrapper(e3.output)); - } - get _actionTypeId() { - return a.callDecisionTableActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionCallDecisionTable() { - return true; - } - get decisionTableOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; - } - setDecisionTableByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("decisionTableId", "setDecisionTableByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDecisionTableByIdAsync"), t3, true); - const i3 = yield r2.default.findItemByIdAsync(s.decisionTableManager, e3, "decision table"); - return this.logNote("Found info for the decision table named '" + i3.name + "' for the passed in decision table id '" + e3 + "'. Getting decision table details."), yield this._coreActionViewModel.setSelectedActionByViewModel(i3), yield this._updateInputOutput(), o.default.executeCallback(this, "setDecisionTableByIdAsync", t3, this); - }); - } - setDecisionTableByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("decisionTableName", "setDecisionTableByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDecisionTableByNameAsync"), t3, true); - const i3 = yield r2.default.findItemByValueAsync(s.decisionTableManager, e3, "decision table"); - this.logNote("Found partial info for the decision table named '" + i3.name + "' for the passed in decision table name '" + e3 + "'. Getting full decision table details."); - const n3 = yield r2.default.findItemByIdAsync(s.decisionTableManager, i3.id, "decision table"); - return this.logNote("Found info for the decision table named '" + n3.name + "' for the passed in decision table id '" + i3.id + "'. Getting decision table details."), yield this._coreActionViewModel.setSelectedActionByViewModel(n3), yield this._updateInputOutput(), o.default.executeCallback(this, "setDecisionTableByNameAsync", t3, this); - }); - } - _updateInputOutput() { - return n2.__awaiter(this, void 0, void 0, function* () { - this._input = this.coreFactory.createArchWrapper(this._getCoreViewModel().input), this._output = this.coreFactory.createArchWrapper(this._getCoreViewModel().output); - }); - } - get input() { - return this._input; - } - get output() { - return this._output; - } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.target.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.target.pasteReIdOrRename(e3); + } }, target: { enumerable: true, get: function() { + return this._target; + }, set: function(e3) { + this._target = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 8236(e2, t2, i2) { + const n2 = i2(28730), { clearSlotActionType: o } = i2(30801), r = i2(90807); + function a() { + Object.defineProperties(this, { _slots: { writable: true } }), a.baseConstructor.apply(this, arguments); } - 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)), 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: 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); - } - 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; - } - get flowOutputs() { - return this.outputs; - } - get relatedIssueIds() { - var e3; - return (null === (e3 = this.commonModule) || void 0 === e3 ? void 0 : e3.flowId) ? [this.commonModule.flowId] : void 0; - } - get flowId() { - var e3; - return null === (e3 = this.commonModule) || void 0 === e3 ? void 0 : e3.flowId; - } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.slots.forEach((t3) => t3.pasteReIdOrRename(e3)); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.slots.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + } }, slots: { enumerable: true, get: function() { + return this._slots; + }, set: function(e3) { + this._slots = this.reviveArray(e3, r); + } } }), e2.exports = a; + }, 76122(e2, t2, i2) { + const n2 = i2(75458), { clearUtilizationLabelActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 51336(e2, t2, i2) { + const n2 = i2(28730), { clearVoicemailSnippetActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 70339(e2, t2, i2) { + const n2 = i2(2210), o = i2(13240), { collectInputActionType: r } = i2(30801), a = i2(31178), s = i2(7401), l = i2(35966); + function u() { + Object.defineProperties(this, { _interDigitTimeout: { writable: true }, _noEntryTimeout: { writable: true }, _numberOfDigitsMax: { writable: true }, _numberOfDigitsMin: { writable: true }, _prompts: { writable: true }, _resultData: { writable: true }, _terminatingCharacter: { writable: true }, _verificationType: { writable: true }, _verificationPrompts: { writable: true }, _includeTerminatingDtmfInResultData: { writable: true }, _acceptJustStar: { writable: true }, _acceptJustPound: { writable: true } }), this.verification = void 0, u.baseConstructor.apply(this, arguments); } - 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 }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "currencyCollection"; - } - get displayTypeName() { - return "ArchVariableCurrencyCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableCurrencyCollection() { - return true; - } + o.extend(u, r, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { + u._super.pasteReIdOrRename.apply(this, arguments), this.interDigitTimeout.pasteReIdOrRename(e3), this.noEntryTimeout.pasteReIdOrRename(e3), this.numberOfDigitsMax.pasteReIdOrRename(e3), this.numberOfDigitsMin.pasteReIdOrRename(e3), this.prompts.pasteReIdOrRename(e3), this.resultData.pasteReIdOrRename(e3), this.verificationPrompts.pasteResolveOldToNewValues(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + u._super.pasteResolveOldToNewValues.apply(this, arguments), this.interDigitTimeout.pasteResolveOldToNewValues(e3), this.noEntryTimeout.pasteResolveOldToNewValues(e3), this.numberOfDigitsMax.pasteResolveOldToNewValues(e3), this.numberOfDigitsMin.pasteResolveOldToNewValues(e3), this.prompts.pasteResolveOldToNewValues(e3), this.resultData.pasteResolveOldToNewValues(e3), this.verificationPrompts.pasteResolveOldToNewValues(e3); + } }, interDigitTimeout: { enumerable: true, get: function() { + return this._interDigitTimeout; + }, set: function(e3) { + this._interDigitTimeout = this.reviveItem(e3, s); + } }, noEntryTimeout: { enumerable: true, get: function() { + return this._noEntryTimeout; + }, set: function(e3) { + this._noEntryTimeout = this.reviveItem(e3, s); + } }, numberOfDigitsMax: { enumerable: true, get: function() { + return this._numberOfDigitsMax; + }, set: function(e3) { + this._numberOfDigitsMax = this.reviveItem(e3, s); + } }, numberOfDigitsMin: { enumerable: true, get: function() { + return this._numberOfDigitsMin; + }, set: function(e3) { + this._numberOfDigitsMin = this.reviveItem(e3, s); + } }, prompts: { enumerable: true, get: function() { + return this._prompts; + }, set: function(e3) { + this._prompts = this.reviveItem(e3, n2); + } }, resultData: { enumerable: true, get: function() { + return this._resultData; + }, set: function(e3) { + this._resultData = this.reviveItem(e3, s); + } }, terminatingCharacter: { enumerable: true, get: function() { + return this._terminatingCharacter; + }, set: function(e3) { + this._terminatingCharacter = this.reviveEnum(e3, a); + } }, verificationType: { enumerable: true, get: function() { + return this._verificationType; + }, set: function(e3) { + this._verificationType = this.reviveEnum(e3, l); + } }, verificationPrompts: { enumerable: true, get: function() { + return this._verificationPrompts; + }, set: function(e3) { + this._verificationPrompts = this.reviveItem(e3, n2); + } }, includeTerminatingDtmfInResultData: { enumerable: true, get: function() { + return this._includeTerminatingDtmfInResultData; + }, set: function(e3) { + this._includeTerminatingDtmfInResultData = this.reviveItem(e3, s); + } }, acceptJustStar: { enumerable: true, get: function() { + return this._acceptJustStar; + }, set: function(e3) { + this._acceptJustStar = this.reviveItem(e3, s); + } }, acceptJustPound: { enumerable: true, get: function() { + return this._acceptJustPound; + }, set: function(e3) { + this._acceptJustPound = this.reviveItem(e3, s); + } } }), e2.exports = u; + }, 92372(e2, t2, i2) { + const n2 = i2(13240), { collectVoiceSnippetActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _maxSnippetTime: { writable: true }, _snippet: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 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), 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) { - super(e3, t3, i3); - } - get className() { - return "ChoiceType"; - } - get isChoiceType() { - return true; - } - canConvertLitToExpression(e3) { - return false; - } - convertLitToExpression(e3, t3, i3) { - return ""; - } - getYamlObjectForLiteralSingleton(e3, i3, n3, r3) { - var o2; - const a2 = super.getYamlObjectForLiteralSingleton(e3, i3, n3, r3); - return y.isFeatureAvailable(S.default.botFlowsSupportDontKnowAnswers) && (null === (o2 = a2.command) || void 0 === o2 ? void 0 : o2.lit) === t2.ChoiceTypeCommands.SKIP ? this.isSkipDisabled(e3) ? a2.skipDisabled = true : delete a2.skipDisabled : (delete a2.command, delete a2.skipDisabled), a2; - } - static createExpressionOptionClass() { - return new s.ExpressionTypeChoiceOptions(); - } - createExpressionOptionClass() { - return new s.ExpressionTypeChoiceOptions(); - } - get supportsLiteralEditor() { - return true; - } - isSkipChoice(e3) { - var i3; - return (null === (i3 = e3.getProperty(t2.PROP_COMMAND)) || void 0 === i3 ? void 0 : i3.text) === t2.ChoiceTypeCommands.SKIP; - } - isSkipDisabled(e3) { - var t3; - return !!e3 && true === (null === (t3 = this.getPropCommand(e3)) || void 0 === t3 ? void 0 : t3.getUiMetaData("skipDisabled")); - } - setSkipDisabled(e3, t3) { - var i3; - e3 && (this.getPropCommand(e3).outOfService = t3, null === (i3 = this.getPropCommand(e3)) || void 0 === i3 || i3.setUiMetaData("skipDisabled", t3)); - } - getPropCommand(e3) { - return e3.getProperty(t2.PROP_COMMAND); - } - getPropLabel(e3) { - return e3.getProperty(t2.PROP_LABEL); - } - getPropValue(e3) { - return e3.getProperty(t2.PROP_VALUE); - } - getPropType(e3) { - return null == e3 ? void 0 : e3.getProperty(t2.PROP_TYPE); - } - getLiteralPropValue(e3) { - const t3 = this.getPropValue(e3); - return (null == t3 ? void 0 : t3.isLiteralMode) ? t3 : void 0; - } - getLiteralPropType(e3) { - const t3 = this.getPropType(e3); - return (null == t3 ? void 0 : t3.isLiteralMode) ? t3 : void 0; - } - getValueStr(e3) { - const t3 = this.getLiteralPropValue(e3); - return null == t3 ? void 0 : t3.text; - } - couldHaveUnknownPostbackValue(e3) { - if (!e3 || e3.outOfService) return false; - if (!e3.isLiteralMode) return true; - const i3 = e3.getProperty(t2.PROP_TYPE); - if (!(null == i3 ? void 0 : i3.isLiteralMode)) return true; - if (i3.text !== t2.CHOICE_VALUE_TYPE_POSTBACK) return false; - const n3 = e3.getProperty(t2.PROP_VALUE); - return !!n3 && !n3.isLiteralMode; - } - isUnknownAtDesignTime(e3) { - return !(null == e3 ? void 0 : e3.isLiteralMode); - } - isValueUnknownAtDesignTime(e3) { - var t3; - return this.isUnknownAtDesignTime(e3) || !(null === (t3 = this.getPropValue(e3)) || void 0 === t3 ? void 0 : t3.isLiteralMode); - } - isTypeUnknownAtDesignTime(e3) { - var t3; - return this.isUnknownAtDesignTime(e3) || !(null === (t3 = this.getPropType(e3)) || void 0 === t3 ? void 0 : t3.isLiteralMode); - } - getTypeStr(e3) { - const t3 = this.getLiteralPropType(e3); - return null == t3 ? void 0 : t3.text; - } - isPostbackChoice(e3) { - return e3 && this.getTypeStr(e3) === t2.CHOICE_VALUE_TYPE_POSTBACK; - } - isUrlChoice(e3) { - return e3 && this.getTypeStr(e3) === t2.CHOICE_VALUE_TYPE_URL; - } - 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, 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, 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, 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; - return null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.chooser; - } - _hasSlotTypeChooserParent(e3) { - const t3 = this._getChooser(e3); - return !!t3 && t3.type.getIsSlotOrSlotTypeChooser(t3); - } - getIsEnabled(e3) { - return null == e3 ? void 0 : e3.model.isEnabled; - } - setIsEnabled(e3, t3) { - e3 && t3 !== e3.model.isEnabled && (e3.model.isEnabled = t3); - } - getReferenceId(e3) { - return null == e3 ? void 0 : e3.getUiMetaData(t2.UI_META_DATA_KEY_REFERENCE_ID); - } - setReferenceId(e3, i3) { - e3 && e3.setUiMetaData(t2.UI_META_DATA_KEY_REFERENCE_ID, i3); - } - getRuntimeLabelStr(e3, i3) { - var n3, r3, o2, a2, s2, l2, u2, c2; - if (!e3) return; - const p2 = this.getPropValue(e3); - let _2, h2, m2; - if (e3.type.isPostbackChoice(e3)) { - m2 = true; - const t3 = e3.type.getValueStr(e3); - if (t3) { - const i4 = this._getChooser(e3); - if (i4) { - const e4 = i4.type.getSlotTypeName(i4); - if (e4) { - let u3; - if ((null === (r3 = null === (n3 = i4.parentFlow) || void 0 === n3 ? void 0 : n3.flowViewFilterOptions) || void 0 === r3 ? void 0 : r3.enabled) && (u3 = null === (o2 = i4.parentFlow) || void 0 === o2 ? void 0 : o2.flowViewFilterOptions.language), u3 || (u3 = null === (s2 = null === (a2 = i4.parentFlow) || void 0 === a2 ? void 0 : a2.defaultLanguage) || void 0 === s2 ? void 0 : s2.toLowerCase()), u3 && (h2 = null === (l2 = i4.parentFlow) || void 0 === l2 ? void 0 : l2.nluMetaData.getEntityTypeValueLabelForLanguage(e4, t3, u3), h2 && (_2 = h2, _2))) return _2; - } - if (!_2) switch (i4.type.getValueSourceType(i4)) { - case g.VALUE_SOURCE_TYPE_SLOT: - case f.VALUE_SOURCE_TYPE_SLOT_TYPE: - m2 = false; - } - } - } - } else m2 = e3.type.isUrlChoice(e3); - if (m2 && !_2) { - const i4 = e3.getProperty(t2.PROP_LABEL); - 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 === (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) { - const t3 = this.getValueStr(e3); - if (t3) return { id: t3, displayString: i3 && this.getRuntimeLabelStr(e3, false) || t3 }; - } - } - getHasPostbackValue(e3) { - if ((null == e3 ? void 0 : e3.isLiteralMode) && this.getTypeStr(e3) === t2.CHOICE_VALUE_TYPE_POSTBACK) { - const t3 = this.getValueStr(e3); - return (null == t3 ? void 0 : t3.length) > 0; - } - } - getPostbackValue(e3) { - if (this.getTypeStr(e3) === t2.CHOICE_VALUE_TYPE_POSTBACK) { - const t3 = this.getValueStr(e3); - if (t3) return t3; - } - } - updateAllowableValues(e3, t3) { - var i3, n3, r3, o2; - if (!e3) return; - const a2 = this.getPropValue(e3); - a2 && a2.isLiteralMode && (!e3.type.isPostbackChoice(e3) || e3.type.isSkipChoice(e3) ? null === (o2 = null === (r3 = a2.options) || void 0 === r3 ? void 0 : r3.facets) || void 0 === o2 || o2.setAllowableValues(void 0) : null === (n3 = null === (i3 = a2.options) || void 0 === i3 ? void 0 : i3.facets) || void 0 === n3 || n3.setAllowableValues(t3)); - } - getIsSlotOrSlotTypeChoice(e3) { - if (!this._hasSlotTypeChooserParent(e3)) return false; - const t3 = this.isPostbackChoice(e3); - return !t3 || e3.type.getIsManagedSlotTypeValueChoice(e3) || e3.type.isSkipChoice(e3) || (0, l.warn)("we have a choice that is a postback but not managed for a NLU. Bah!"), t3; - } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_LABEL: - n3.options.setIninTestingField("choice-label"); - break; - case t2.PROP_VALUE: - n3.options.setIninTestingField("choice-value"); - break; - case t2.PROP_COMMAND: - n3.options.setValueChangedCallback((e4) => { - const t3 = null == e4 ? void 0 : e4.propertyParent; - t3 && this._updateOOS(t3); - }); - break; - case t2.PROP_TYPE: - n3.options.setIninTestingField("choice-type"), n3.options.setValueChangedCallback((e4) => { - const i4 = null == e4 ? void 0 : e4.propertyParent; - if (!i4) return; - const n4 = i4.type.getIsSlotOrSlotTypeChoice(i4), r4 = i4.getProperty(t2.PROP_LABEL); - r4 && (r4.outOfService = n4); - const o2 = i4.getProperty(t2.PROP_VALUE); - switch (i4.type.getTypeStr(i4)) { - case t2.CHOICE_VALUE_TYPE_URL: - o2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoUrlValue); - break; - case t2.CHOICE_VALUE_TYPE_POSTBACK: - n4 ? o2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoSlotTypeValue) : o2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoPostbackValue); - break; - default: - o2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoPostbackValue); - } - }); - } - } - validateLiteral(e3, t3) { - return !t3 || (!this.hasQuickRepliesParent(t3) || t3.type.isPostbackChoice(t3) || t3.type.isTypeUnknownAtDesignTime(t3) ? super.validateLiteral(e3, t3) : (e3.addExpressionError(t3, (0, r2.sprintf)(A.cardsAndCars.choiceType.choiceInQuickReplyMustBePostback, t3.type.getTypeStr(t3))), false)); - } - _updateOOS(e3) { - if (!e3.isLiteralMode) return; - (this.hasQuickRepliesParent(e3) || this._hasSlotTypeChooserParent(e3) && this.hasCarouselParent(e3)) && (e3.getProperty(t2.PROP_TYPE).outOfService = true); - const i3 = e3.getProperty(t2.PROP_COMMAND); - if (i3 && y.isFeatureAvailable(S.default.botFlowsSupportDontKnowAnswers)) { - const n4 = true === i3.getUiMetaData("skipDisabled"); - i3.outOfService = n4 || i3.text !== t2.ChoiceTypeCommands.SKIP, i3.text === t2.ChoiceTypeCommands.SKIP && this._hasSlotTypeChooserParent(e3) && this.hasCarouselParent(e3) && (this.getPropValue(e3).options.setLabelOverride(""), this.getPropType(e3).setAsLiteral(t2.CHOICE_VALUE_TYPE_POSTBACK)); - } else y.isFeatureAvailable(S.default.botFlowsSupportDontKnowAnswers) || (i3.text = "none", i3.outOfService = true); - const n3 = e3.getProperty(t2.PROP_LABEL); - if (n3) { - const t3 = this.isSkipChoice(e3); - 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; - } - } - propertiesCreatedForThisTypeInstance(e3) { - var i3; - this.setIsEnabled(e3, true); - const n3 = e3.getProperty(t2.PROP_LABEL); - null === (i3 = null == n3 ? void 0 : n3.options) || void 0 === i3 || i3.setAllowedBuilderCategoryIdFilter(u.builderCategoryIds.labelString); - } - static createPostbackChoice(e3, i3, n3, r3) { - const o2 = N.createExpressionOptionClass(), s2 = new a.default(), l2 = new h.ExpressionParameters(n3, r3, s2); - l2.type = _.globalTypes.choice, l2.options = o2; - const u2 = new m.NormalExpression(l2); - return u2.type.getPropValue(u2).setAsLiteral(e3), u2.type.getPropType(u2).setAsLiteral(t2.CHOICE_VALUE_TYPE_POSTBACK), i3 && u2.setUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE, e3), r3.initializeDesignTimeCalled && u2.initializeDesignTime(), u2; - } - setAsPostbackOrUrlValue(e3, i3, n3) { - if (!i3) return; - const r3 = i3.getProperty(t2.PROP_TYPE, true); - if (!r3) return; - const o2 = i3.getProperty(t2.PROP_VALUE, true); - o2 && (r3.setText(e3), (null == n3 ? void 0 : n3.length) && (o2.setText(n3), i3.type.getIsSlotOrSlotTypeChoice(i3) && e3 === t2.CHOICE_VALUE_TYPE_POSTBACK && i3.setUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE, n3))); - } - getIsManagedSlotTypeValueChoice(e3) { - return !o.default.isUndefined(e3.getUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE)); - } - canUserDelete(e3) { - return !this.getIsManagedSlotTypeValueChoice(e3); - } - createChoiceFromChoiceViewModel(e3, i3, n3) { - var r3, s2, l2, u2; - 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); - if (e4) { - const t3 = n3.label.config; - try { - n3.label.config = void 0, e4.copyExpressionValue(n3.label); - } finally { - n3.label.config = t3; - } - } - } - return g2.type.setReferenceId(g2, n3.model.referenceId), i3.initializeDesignTimeCalled && g2.initializeDesignTime(), g2; - } - initializeDesignTime(e3) { - e3.isLiteralMode && this._hasSlotTypeChooserParent(e3) && this.hasCarouselParent(e3) && !this.getIsManagedSlotTypeValueChoice(e3) && !this.isTypeUnknownAtDesignTime(e3) && (this.getPropType(e3).setAsLiteral(t2.CHOICE_VALUE_TYPE_URL), this.getPropValue(e3).options.setLabelOverride(A.cardsAndCars.choiceUrlValue)), this._updateOOS(e3); - } - useCustomExpressionEditor(e3) { - var t3, i3; - if (this.hasQuickRepliesParent(e3) || (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type) === _.globalTypes.card) return true; - } - isInvalidNluChoice(e3, t3) { - if (!e3 || !t3) return false; - const i3 = e3.type.getManagedSlotTypeValue(e3); - if (!i3) return false; - const n3 = t3.invalidPostbackValueChoices[i3]; - return (null == n3 ? void 0 : n3.length) >= 1; - } - getManagedSlotTypeValue(e3) { - return null == e3 ? void 0 : e3.getUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE); - } - get hasRichLiteralEditor() { - return true; - } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.maxSnippetTime.pasteResolveOldToNewValues(e3), this.snippet.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.maxSnippetTime.pasteReIdOrRename(e3), this.snippet.pasteReIdOrRename(e3); + } }, maxSnippetTime: { enumerable: true, get: function() { + return this._maxSnippetTime; + }, set: function(e3) { + this._maxSnippetTime = this.reviveItem(e3, r); + } }, snippet: { enumerable: true, get: function() { + return this._snippet; + }, set: function(e3) { + this._snippet = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 40812(e2, t2, i2) { + const n2 = i2(28730), { communicateActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _communication: { writable: true }, _enableBargeIn: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.ChoiceType = N, N.typeIdentifier = p.expressionTypeNames.choice; - }, 1607: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "externalInstagramScopedId"; - } - get scopedId() { - } - get displayTypeName() { - return "ArchValueExternalInstagramScopedId"; - } - get isArchValueExternalInstagramScopedId() { - return true; - } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.communication.pasteReIdOrRename(e3), this.enableBargeIn && this.enableBargeIn.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.communication.pasteResolveOldToNewValues(e3), this.enableBargeIn && this.enableBargeIn.pasteResolveOldToNewValues(e3); + } }, communication: { enumerable: true, get: function() { + return this._communication; + }, set: function(e3) { + this._communication = this.reviveItem(e3, r); + } }, enableBargeIn: { enumerable: true, get: function() { + return this._enableBargeIn; + }, set: function(e3) { + this._enableBargeIn = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 5138(e2, t2, i2) { + const n2 = i2(28730), { completeSurveyActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _inviteBody: { writable: true }, _inviteSubject: { writable: true }, _targetAddressType: { writable: true }, _reminderBody: { writable: true }, _reminderSubject: { writable: true }, _targetAddress: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 1638: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getPreviewerForFlow = function(e3) { - var t3; - if (!e3) return; - 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) { - case l.flowTypes.flowTypeDigitalBot: - i3 = new a.default(); - break; - case l.flowTypes.flowTypeInboundCall: - case l.flowTypes.flowTypeVoicemail: - case l.flowTypes.flowTypeVoiceSurvey: - i3 = new o.default(); - break; - case l.flowTypes.flowTypeWorkflow: - i3 = new u.default(); - break; - case l.flowTypes.flowTypeWorkitem: - i3 = new c.default(); - break; - default: - i3 = null; - } - d[e3.id] = i3; - } - return i3 || void 0; - }, t2.clearPreviewerForFlow = function(e3) { - 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)), c = n2.__importDefault(i2(88280)), d = {}; - }, 1667: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "card"; - } - get initialValue() { - return this._initialValue; - } - get displayTypeName() { - return "ArchVariableCard"; - } - get isArchVariableCard() { - return true; - } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.inviteBody.pasteReIdOrRename(e3), this.inviteSubject.pasteReIdOrRename(e3), this.targetAddressType.pasteReIdOrRename(e3), this.reminderBody.pasteReIdOrRename(e3), this.reminderSubject.pasteReIdOrRename(e3), this.targetAddress.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.inviteBody.pasteResolveOldToNewValues(e3), this.inviteSubject.pasteResolveOldToNewValues(e3), this.targetAddressType.pasteResolveOldToNewValues(e3), this.reminderBody.pasteResolveOldToNewValues(e3), this.reminderSubject.pasteResolveOldToNewValues(e3), this.targetAddress.pasteResolveOldToNewValues(e3); + } }, inviteBody: { enumerable: true, get: function() { + return this._inviteBody; + }, set: function(e3) { + this._inviteBody = this.reviveItem(e3, r); + } }, inviteSubject: { enumerable: true, get: function() { + return this._inviteSubject; + }, set: function(e3) { + this._inviteSubject = this.reviveItem(e3, r); + } }, targetAddressType: { enumerable: true, get: function() { + return this._targetAddressType; + }, set: function(e3) { + this._targetAddressType = this.reviveItem(e3, r); + } }, reminderBody: { enumerable: true, get: function() { + return this._reminderBody; + }, set: function(e3) { + this._reminderBody = this.reviveItem(e3, r); + } }, reminderSubject: { enumerable: true, get: function() { + return this._reminderSubject; + }, set: function(e3) { + this._reminderSubject = this.reviveItem(e3, r); + } }, targetAddress: { enumerable: true, get: function() { + return this._targetAddress; + }, set: function(e3) { + this._targetAddress = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 2512(e2, t2, i2) { + const n2 = i2(28730), { createCallbackActionType: o } = i2(30801), r = i2(90807), a = i2(7401); + function s() { + Object.defineProperties(this, { _callbackNumbers: { writable: true }, _calleeName: { writable: true }, _inputs: { writable: true }, _queue: { writable: true } }), this.scriptId = void 0, this.scriptName = void 0, this.useQueue = void 0, s.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 1735: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(19596), o = i2(80295), a = i2(50778); - class s extends r2.DataContract { - constructor(e3) { - Object.assign(e3, e3.surveyForm), super(e3); - } - get id() { - return this._id; - } - set id(e3) { - this._id = e3; - } - get name() { - return this._name; - } - set name(e3) { - this._name = e3; - } - get modifiedDate() { - return this._modifiedDate; - } - set modifiedDate(e3) { - this._modifiedDate = e3; - } - get published() { - return this._published; - } - set published(e3) { - this._published = e3; - } - get disabled() { - return this._disabled; - } - set disabled(e3) { - this._disabled = e3; - } - get contextId() { - return this._contextId; - } - set contextId(e3) { - this._contextId = e3; - } - get language() { - return this._language; - } - set language(e3) { - this._language = e3; - } - get header() { - return this._header; - } - set header(e3) { - this._header = e3; - } - get footer() { - return this._footer; - } - set footer(e3) { - this._footer = e3; - } - get questionGroups() { - return this._questionGroups; - } - set questionGroups(e3) { - this._questionGroups = e3; - } - get selfUri() { - return this._selfUri; - } - set selfUri(e3) { - this._selfUri = e3; - } - get explanationPrompt() { - return this._explanationPrompt; - } - set explanationPrompt(e3) { - this._explanationPrompt = e3; - } - get maxResponseCharacters() { - return this._maxResponseCharacters; - } - set maxResponseCharacters(e3) { - this._maxResponseCharacters = e3; - } - get latestPublishedVersion() { - return this._latestPublishedVersion; - } - set latestPublishedVersion(e3) { - this._latestPublishedVersion = e3; - } - get dependencyError() { - return this._dependencyError; - } - set dependencyError(e3) { - this._dependencyError = e3; - } - get division() { - return this._division; - } - set division(e3) { - this._division = this.reviveItem(e3, a); - } + n2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.calleeName.pasteReIdOrRename(e3), this.queue.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.calleeName.pasteResolveOldToNewValues(e3), this.queue.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); + } }, callbackNumbers: { enumerable: true, get: function() { + return this._callbackNumbers; + }, set: function(e3) { + this._callbackNumbers = this.reviveArray(e3, a); + } }, calleeName: { enumerable: true, get: function() { + return this._calleeName; + }, set: function(e3) { + this._calleeName = this.reviveItem(e3, a); + } }, inputs: { enumerable: true, get: function() { + return this._inputs; + }, set: function(e3) { + this._inputs = this.reviveArray(e3, r); + } }, queue: { enumerable: true, get: function() { + return this._queue; + }, set: function(e3) { + this._queue = this.reviveItem(e3, a); + } } }), e2.exports = s; + }, 67825(e2, t2, i2) { + const n2 = i2(69823), { dataActionActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 98009(e2, t2, i2) { + const n2 = i2(75458), o = i2(90807), { dataTableLookupActionType: r } = i2(30801), a = i2(7401); + function s() { + Object.defineProperties(this, { _lookupKeyValue: { writable: true }, _outputs: { writable: true } }), this.datatableId = void 0, this.datatableName = void 0, s.baseConstructor.apply(this, arguments); } - t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "name", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "modifiedDate", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "published", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "disabled", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "contextId", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "language", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "header", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "footer", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "questionGroups", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "selfUri", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "explanationPrompt", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "maxResponseCharacters", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "latestPublishedVersion", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "dependencyError", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "division", null); - }, 1736: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(80800); - function o() { - o.baseConstructor.apply(this, arguments); + n2.extend(s, r, true), Object.defineProperties(s.prototype, { lookupKeyValue: { enumerable: true, get: function() { + return this._lookupKeyValue; + }, set: function(e3) { + this._lookupKeyValue = this.reviveItem(e3, a); + } }, outputs: { enumerable: true, get: function() { + return this._outputs; + }, set: function(e3) { + this._outputs = this.reviveArray(e3, o); + } }, pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.lookupKeyValue.pasteReIdOrRename(e3), this.outputs.forEach((t3) => t3.pasteReIdOrRename(e3)); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.lookupKeyValue.pasteResolveOldToNewValues(e3), this.outputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + } } }), e2.exports = s; + }, 33631(e2, t2, i2) { + const n2 = i2(13240), { decisionActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _expression: { writable: true } }), a.baseConstructor.apply(this, arguments); } - n2.extend(o, "SkillList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.expression.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.expression.pasteReIdOrRename(e3); + } }, expression: { enumerable: true, get: function() { + return this._expression; }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 1782: (e2, t2, i2) => { - "use strict"; - 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 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 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), 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 r2.BehaviorSubject(void 0); - } - } - get amObjectEventEmitter() { - return true; - } - static get notRealAction() { - return true; - } - addChild(e3) { - 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, 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, x.task.newDefaultName)); - } - 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() { - 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); - } - get canCollapse() { - return this.children.length > 0; - } - checkVersion(e3) { - this.prompts.checkVersion(e3), a.default.each(this.choices, function(t3) { - t3.checkVersion(e3); - }); - } - get children() { - return this.choices; - } - get defaultMenuChoice() { - return this.model.defaultMenuChoice; - } - set defaultMenuChoice(e3) { - this.model.defaultMenuChoice = e3, this.defaultMenuChoice$.next(e3); - } - defaultChoiceInChoices() { - return !this.defaultMenuChoice || a.default.find(this.choices, (e3) => e3.id === this.defaultMenuChoice); - } - deleteChild(e3) { - if (!this.choices) return; - const t3 = this.choices.indexOf(e3); - 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(), a.default.each(a.default.clone(this.children), function(e3) { - e3.destroy(); - }), this.menuSettings.destroy(), this.speechRecSettings.destroy(); - } - _postDestroy() { - super._postDestroy(), this.parentMenu = null; - } - _preDestroy() { - super._preDestroy(), g.fireEvent(this, s.actionContainerDeleted), g.unregisterAndRemoveObject(this.nameEventSink); - } - getChild(e3) { - for (let t3 = 0; t3 < this.choices.length; t3++) { - const i3 = this.choices[t3]; - if (i3.id === e3) return i3; - if (i3.action && i3.action.id === e3) return i3; - } - return null; - } - 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) ? _.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 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 a.default.sortBy(this.choices, "uiSortStr"); - } - getYamlOptionsMap() { - return U; - } - get id() { - return this.model && this.model.id ? this.model.id : null; - } - initialize() { - for (let e3 = 0; e3 < this.choices.length; e3++) this.choices[e3].initialize(); - } - _initializeDesignTime() { - super._initializeDesignTime(), a.default.each(this.choices, (e3) => e3.initializeDesignTime()), this.speechRecSettings.initializeDesignTime(), this.menuSettings.initializeDesignTime(), this.prompts.initializeDesignTime(); - } - get isAllowedAsStartupNode() { - return true; - } - get isMenu() { - return true; - } - isNameUnique() { - if (!this.parent || !this.parent.menus) return true; - const e3 = this.parent.menus; - for (let t3 = 0; t3 < e3.length; t3++) { - const i3 = e3[t3]; - if (i3.id !== this.id && i3.name === this.name) return false; - } - return true; - } - get isTopLevelNode() { - return true; - } - get name() { - return super.name; - } - 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 && T.validateNode(this, true); - } - get nodeGuxIcon() { - return m.default.menu; - } - get resources() { - 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, 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, x.menu.defaultMenuChoice); - } - 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) { - f.setNodeTrackingId(this, e3); - } - getUsesSpeechRec() { - return !a.default.isUndefined(a.default.find(this.choices, (e3) => e3.getUsesSpeechRec())); - } - updateDependencies() { - a.default.each(this.choices, function(e3) { - e3.action.updateDependencies(); - }), this.prompts.updateDependencies(); - } - traverse(e3) { - if (!e3 || e3.isCanceled) return; - const t3 = e3.getMenuCallback(); - if (t3) { - const i3 = e3.createCallbackParam(true); - if (t3(this, i3), !e3.processCallbackParamAndContinue(i3, true)) return; - } - if (this.choices) { - for (let t4 = this.choices.length - 1; t4 >= 0; t4--) if (this.choices[t4].traverse(e3), e3.isCanceled) return; - } - } - get collapsed() { - return this.uiMetaData.collapsed; - } - set collapsed(e3) { - this.uiMetaData.collapsed = e3, s.emitter.emit(s.collapseExpand, this); - } - get uiMetaData() { - return this.model.uiMetaData; - } - set uiMetaData(e3) { - this.model.uiMetaData = e3; - } - 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"; - } - 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)); - } - }); - } + this._expression = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 56264(e2, t2, i2) { + const n2 = i2(75458), { decryptDataActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _decryptedDataOutput: { writable: true }, _dataToDecrypt: { writable: true } }), a.baseConstructor.apply(this, arguments); } - 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; - const n2 = i2(31635), r2 = i2(80101), o = i2(3709), a = n2.__importDefault(i2(36019)), s = { ignoreBadResponse: true }; - t2.getCustomerSegments = a.default.request("GET", "{public-api.apps}/api/v2/journey/segments", o.CustomerSegmentList, s), t2.getCustomerSegment = a.default.request("GET", "{public-api.apps}/api/v2/journey/segments/{id}", r2.CustomerSegment, s); - }, 1903: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.onErrorResumeNext = void 0; - var n2 = i2(48051), r2 = i2(7652), o = i2(17214), a = i2(5717), s = i2(19724); - t2.onErrorResumeNext = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = r2.argsOrArgArray(e3); - return new n2.Observable(function(e4) { - var t4 = 0, n3 = function() { - if (t4 < i3.length) { - var r3 = void 0; - try { - r3 = s.innerFrom(i3[t4++]); - } catch (e5) { - return void n3(); - } - var l = new o.OperatorSubscriber(e4, void 0, a.noop, a.noop); - r3.subscribe(l), l.add(n3); - } else e4.complete(); - }; - 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 }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.completeSendActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionCompleteSend() { - return true; - } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.decryptedDataOutput.pasteResolveOldToNewValues(e3), this.dataToDecrypt.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.decryptedDataOutput.pasteResolveOldToNewValues(e3), this.dataToDecrypt.pasteResolveOldToNewValues(e3); + } }, decryptedDataOutput: { enumerable: true, get: function() { + return this._decryptedDataOutput; + }, set: function(e3) { + this._decryptedDataOutput = this.reviveItem(e3, r); + } }, dataToDecrypt: { enumerable: true, get: function() { + return this._dataToDecrypt; + }, set: function(e3) { + this._dataToDecrypt = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 96646(e2, t2, i2) { + const n2 = i2(13240), { detectIntentActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _detectedIntent: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.default = a; - }, 2053: (e2, t2, i2) => { - const n2 = i2(2210), r2 = i2(60856), o = i2(7401); + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.detectedIntent.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.detectedIntent.pasteResolveOldToNewValues(e3); + } }, detectedIntent: { enumerable: true, get: function() { + return this._detectedIntent; + }, set: function(e3) { + this._detectedIntent = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 39533(e2, t2, i2) { + const n2 = i2(81084), { detectSilenceActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, "DetectSilenceActionModel"), e2.exports = r; + }, 77170(e2, t2, i2) { + const n2 = i2(2210), o = i2(13240), { dialExtensionActionType: r } = i2(30801), a = i2(7401); + function s() { + Object.defineProperties(this, { _digitTimeout: { writable: true }, _numReprompts: { writable: true }, _repromptAudio: { writable: true }, _resultData: { writable: true } }), s.baseConstructor.apply(this, arguments); + } + o.extend(s, r, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.digitTimeout.pasteReIdOrRename(e3), this.numReprompts.pasteReIdOrRename(e3), this.repromptAudio.pasteReIdOrRename(e3), this.resultData.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.digitTimeout.pasteResolveOldToNewValues(e3), this.numReprompts.pasteResolveOldToNewValues(e3), this.repromptAudio.pasteResolveOldToNewValues(e3), this.resultData.pasteResolveOldToNewValues(e3); + } }, digitTimeout: { enumerable: true, get: function() { + return this._digitTimeout; + }, set: function(e3) { + this._digitTimeout = this.reviveItem(e3, a); + } }, numReprompts: { enumerable: true, get: function() { + return this._numReprompts; + }, set: function(e3) { + this._numReprompts = this.reviveItem(e3, a); + } }, repromptAudio: { enumerable: true, get: function() { + return this._repromptAudio; + }, set: function(e3) { + this._repromptAudio = this.reviveItem(e3, n2); + } }, resultData: { enumerable: true, get: function() { + return this._resultData; + }, set: function(e3) { + this._resultData = this.reviveItem(e3, a); + } } }), e2.exports = s; + }, 28126(e2, t2, i2) { + const n2 = i2(13240), { dialNameActionType: o } = i2(30801), r = i2(46056), a = i2(94745), s = i2(7401); + function l() { + Object.defineProperties(this, { _matchByType: { writable: true }, _matchingStyle: { writable: true }, _specificNumChars: { writable: true } }), l.baseConstructor.apply(this, arguments); + } + n2.extend(l, o, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { + l._super.pasteReIdOrRename.apply(this, arguments), this.specificNumChars.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + l._super.pasteResolveOldToNewValues.apply(this, arguments), this.specificNumChars.pasteResolveOldToNewValues(e3); + } }, matchByType: { enumerable: true, get: function() { + return this._matchByType; + }, set: function(e3) { + this._matchByType = this.reviveEnum(e3, a); + } }, matchingStyle: { enumerable: true, get: function() { + return this._matchingStyle; + }, set: function(e3) { + this._matchingStyle = this.reviveEnum(e3, r); + } }, specificNumChars: { enumerable: true, get: function() { + return this._specificNumChars; + }, set: function(e3) { + this._specificNumChars = this.reviveItem(e3, s); + } } }), e2.exports = l; + }, 66063(e2, t2, i2) { + const n2 = i2(82149), { dialogEngineActionType: o } = i2(30801), r = i2(7401); function a() { - Object.defineProperties(this, { _audio: { writable: true }, _queue: { writable: true } }), this.menuReference = void 0, this.menuReferenceName = void 0, this.taskReference = void 0, this.taskReferenceName = void 0, this.stateReference = void 0, this.stateReferenceName = void 0, a.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _terminationState: { writable: true } }), this.languages = void 0, this.versionId = void 0, this.versionName = void 0, a.baseConstructor.apply(this, arguments); } - r2.extend(a, "ErrorHandlingSettings"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.audio && this.audio.pasteReIdOrRename(e3), this.queue && this.queue.pasteReIdOrRename(e3); + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.terminationState.pasteReIdOrRename(e3); } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.menuReference = e3.pasteResolveOldIdToNewId(this.menuReference), this.menuReferenceName = e3.pasteResolveOldMenuNameToNewMenuName(this.menuReferenceName), this.taskReference = e3.pasteResolveOldIdToNewId(this.taskReference), this.taskReferenceName = e3.pasteResolveOldStateNameToNewStateName(this.taskReferenceName), this.stateReference = e3.pasteResolveOldIdToNewId(this.stateReference), this.stateReferenceName = e3.pasteResolveOldTaskNameToNewTaskName(this.stateReferenceName), this.audio && this.audio.pasteResolveOldToNewValues(e3), this.queue && this.queue.pasteResolveOldToNewValues(e3); - } }, audio: { enumerable: true, get: function() { - return this._audio; + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.terminationState.pasteResolveOldToNewValues(e3); + } }, terminationState: { enumerable: true, get: function() { + return this._terminationState; }, set: function(e3) { - this._audio = this.reviveItem(e3, n2); - } }, queue: { enumerable: true, get: function() { - return this._queue; + this._terminationState = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 79857(e2, t2, i2) { + const n2 = i2(32726), { dialogflowActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _intentProbability: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.intentProbability.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.intentProbability.pasteResolveOldToNewValues(e3); + } }, intentProbability: { enumerable: true, get: function() { + return this._intentProbability; }, set: function(e3) { - this._queue = this.reviveItem(e3, o); + this._intentProbability = this.reviveItem(e3, r); } } }), e2.exports = a; - }, 2092: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyCustomEventAttributeCollection"; - } - get displayTypeName() { - return "ArchValueJourneyCustomEventAttributeCollection"; - } - get isArchValueJourneyCustomEventAttributeCollection() { - return true; - } + }, 56716(e2, t2, i2) { + const n2 = i2(92140), o = i2(32726), { dialogflowCxActionType: r } = i2(30801), a = i2(42217); + function s() { + Object.defineProperties(this, { _liveAgentHandoffMetadata: { writable: true } }), this.environmentName = void 0, s.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 2210: (e2, t2, i2) => { - const n2 = i2(84133), r2 = i2(45214), o = i2(7401); - function a() { - Object.defineProperties(this, { _defaultAudio: { writable: true }, _bargeInExpression: { writable: true }, _flushExpression: { writable: true }, _cases: { writable: true } }), this.uiMetaData = void 0, a.baseConstructor.apply(this, arguments); + o.extend(s, r, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.liveAgentHandoffMetadata, (t3) => { + t3.pasteReIdOrRename(e3); + }); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.liveAgentHandoffMetadata, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }); + } }, liveAgentHandoffMetadata: { enumerable: true, get: function() { + return this._liveAgentHandoffMetadata; + }, set: function(e3) { + this._liveAgentHandoffMetadata = this.reviveArray(e3, a); + } } }), e2.exports = s; + }, 3211(e2, t2, i2) { + const n2 = i2(82149), { digitalBotConnectorActionType: o } = i2(30801), r = i2(7401), a = i2(42217); + function s() { + Object.defineProperties(this, { _outputSessionVariables: { writable: true }, _botResponseTimeout: { writable: true }, _sessionTimeout: { writable: true } }), this.languages = void 0, this.botCompositeTag = void 0, this.botId = void 0, this.botName = void 0, this.versionId = void 0, this.versionName = void 0, this.botIntegrationId = void 0, this.botIntegrationName = void 0, s.baseConstructor.apply(this, arguments); } - r2.extend(a, "AudioGroup"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - this.bargeInExpression && this.bargeInExpression.pasteReIdOrRename(e3), this.flushExpression.pasteReIdOrRename(e3), this.defaultAudio.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteReIdOrRename(e3); + n2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.botResponseTimeout?.pasteReIdOrRename(e3), this.sessionTimeout?.pasteReIdOrRename(e3); } }, pasteResolveOldToNewValues: { value: function(e3) { - this.bargeInExpression && this.bargeInExpression.pasteResolveOldToNewValues(e3), this.flushExpression.pasteResolveOldToNewValues(e3), this.defaultAudio.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteResolveOldToNewValues(e3); - } }, bargeInExpression: { enumerable: true, get: function() { - return this._bargeInExpression; + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.botResponseTimeout?.pasteResolveOldToNewValues(e3), this.sessionTimeout?.pasteResolveOldToNewValues(e3); + } }, outputSessionVariables: { enumerable: true, get: function() { + return this._outputSessionVariables; }, set: function(e3) { - this._bargeInExpression = this.reviveItem(e3, o); - } }, flushExpression: { enumerable: true, get: function() { - return this._flushExpression; + this._outputSessionVariables = this.reviveArray(e3, a); + } }, botResponseTimeout: { enumerable: true, get: function() { + return this._botResponseTimeout; }, set: function(e3) { - this._flushExpression = this.reviveItem(e3, o); - } }, defaultAudio: { enumerable: true, get: function() { - return this._defaultAudio; + this._botResponseTimeout = this.reviveItem(e3, r); + } }, sessionTimeout: { enumerable: true, get: function() { + return this._sessionTimeout; }, set: function(e3) { - this._defaultAudio = this.reviveItem(e3, o); - } }, cases: { enumerable: true, get: function() { - return this._cases; + this._sessionTimeout = this.reviveItem(e3, r); + } } }), e2.exports = s; + }, 20450(e2, t2, i2) { + const n2 = i2(92140), o = i2(93476), r = i2(91625), a = i2(95812), { digitalMenuActionType: s } = i2(30801), l = i2(7401); + function u() { + Object.defineProperties(this, { _choices: { writable: true }, _chooser: { writable: true }, _customizeNoMatch: { writable: true }, _knowledgeSearchResult: { writable: true }, _noMatches: { writable: true }, _noMatchReprompts: { writable: true }, _paths: { writable: true }, _selection: { writable: true } }), u.baseConstructor.apply(this, arguments), this.paths || (this.paths = []); + } + r.extend(u, s, true), Object.defineProperties(u.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + u._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.choices, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), n2.each(this.paths, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), this.chooser?.pasteResolveOldToNewValues(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + u._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.choices, (t3) => { + t3.pasteReIdOrRename(e3); + }), n2.each(this.paths, (t3) => { + t3.pasteReIdOrRename(e3); + }), this.chooser?.pasteReIdOrRename(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteReIdOrRename(e3)), this.customizeNoMatch && this.customizeNoMatch.pasteReIdOrRename(e3), this.noMatchReprompts && this.noMatchReprompts.pasteReIdOrRename(e3); + } }, choices: { enumerable: true, get: function() { + return this._choices; }, set: function(e3) { - this._cases = this.reviveArray(e3, n2); - } }, isAudioGroup: { get: function() { - return true; + this._choices = this.reviveArray(e3, a); + } }, chooser: { enumerable: true, get: function() { + return this._chooser; + }, set: function(e3) { + this._chooser = this.reviveItem(e3, l); + } }, noMatch: { enumerable: false, get: function() { + return this.noMatches && this.noMatches[0]; + }, set: function(e3) { + this.noMatches = [e3]; + } }, noMatches: { enumerable: true, get: function() { + return this._noMatches; + }, set: function(e3) { + this._noMatches = this.reviveArray(e3, l); + } }, customizeNoMatch: { enumerable: true, get: function() { + return this._customizeNoMatch; + }, set: function(e3) { + this._customizeNoMatch = this.reviveItem(e3, l); + } }, noMatchReprompts: { enumerable: true, get: function() { + return this._noMatchReprompts; + }, set: function(e3) { + this._noMatchReprompts = this.reviveItem(e3, l); + } }, paths: { enumerable: true, get: function() { + return this._paths; + }, set: function(e3) { + this._paths = this.reviveArray(e3, o); + } }, selection: { enumerable: true, get: function() { + return this._selection; + }, set: function(e3) { + this._selection = this.reviveItem(e3, l); + } }, knowledgeSearchResult: { enumerable: true, get: function() { + return this._knowledgeSearchResult; + }, set: function(e3) { + this._knowledgeSearchResult = this.reviveItem(e3, l); + } } }), e2.exports = u; + }, 44095(e2, t2, i2) { + const n2 = i2(28730), { disconnectActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 37417(e2, t2, i2) { + const n2 = i2(75458), { disconnectWorkitemActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 14300(e2, t2, i2) { + const n2 = i2(75458), { encryptDataActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _dataToBeEncrypted: { writable: true }, _encryptedDataOutput: { writable: true }, _errorBindings: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.dataToEncrypt.pasteResolveOldToNewValues(e3), this.encryptedDataOutput.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.dataToEncrypt.pasteResolveOldToNewValues(e3), this.encryptedDataOutput.pasteResolveOldToNewValues(e3); + } }, dataToEncrypt: { enumerable: true, get: function() { + return this._dataToBeEncrypted; + }, set: function(e3) { + this._dataToBeEncrypted = this.reviveItem(e3, r); + } }, encryptedDataOutput: { enumerable: true, get: function() { + return this._encryptedDataOutput; + }, set: function(e3) { + this._encryptedDataOutput = this.reviveItem(e3, r); } } }), e2.exports = a; - }, 2235: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getSpeechToTextEngine = t2.getSpeechToTextEngines = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(73303), o = i2(66847), a = { ignoreBadResponse: true }; - t2.getSpeechToTextEngines = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/stt/engines", o, a), t2.getSpeechToTextEngine = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/stt/engines/{engineId}", r2, a); - }, 2257: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(96481)), o = n2.__importDefault(i2(94225)), a = n2.__importDefault(i2(56549)); - class s extends r2.default { - constructor(e3) { - super(e3); - } - get isArchBaseActionLex() { - return true; - } - get lexBotOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; - } - _setLexBotAliasByIdAsync(e3, t3, i3) { - return this._checkItemIsValidLiteralString(this._infoParm("aliasId", e3), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", e3), i3, true), a.default.findItemByIdAsync(this._aliasManager, t3, "alias").then((n3) => (this.logNote("Found the Lex bot alias named '" + n3.name + "' for the alias ID of '" + t3 + "'"), this._coreActionViewModel.setBotRunnableByViewModel(n3), o.default.executeCallback(this, e3, i3, this))); - } - get intentSlots() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); - } + }, 83051(e2, t2, i2) { + const n2 = i2(28730), { endStateActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 20611(e2, t2, i2) { + const n2 = i2(28730), { endTaskActionType: o } = i2(30801); + function r() { + this.pathReference = void 0, this.pathName = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.pathReference = e3.pasteResolveOldIdToNewId(this.pathReference); + } } }), e2.exports = r; + }, 77315(e2, t2, i2) { + const n2 = i2(28730), { endWorkflowActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _exitReason: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.default = s; - }, 2305: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyFormDependencyErrors = void 0, (function(e3) { - e3.disabled = "DISABLED", e3.doesNotExist = "DOES_NOT_EXIST", e3.none = "NONE", e3.notLatest = "NOT_LATEST"; - })(i2 || (t2.SurveyFormDependencyErrors = i2 = {})); - }, 2315: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)); - class r2 { - constructor(e3) { - Object.defineProperties(this, { _currentIndent: { value: "", writable: true }, _indent: { writable: true }, _indentLength: { writable: true }, _newLine: { writable: true }, _sprintfCustomizations: { value: false, writable: true }, _wantFormatting: { value: e3, writable: true } }), this.reset(); - } - static createNoFormattingBuildTextHelper() { - return new r2(false); - } - static createFormattedBuildTextHelper() { - return new r2(true); - } - static createSprintfBuildTextHelper() { - const e3 = new r2(false); - return e3._sprintfCustomizations = true, e3; - } - get currentIndent() { - return this._currentIndent; - } - get indent() { - return this._indent; - } - get newLine() { - return this._newLine; - } - get allowSprintfCustomizations() { - return this._sprintfCustomizations; - } - get className() { - return "BuildTextHelper"; - } - get isBuildTextHelper() { - return true; - } - destroy() { - this._currentIndent = void 0, this._indent = void 0, this._indentLength = void 0, this._newLine = void 0, this._wantFormatting = void 0; - } - increaseIndent() { - this._currentIndent += this._indent; - } - decreaseIndent() { - this._currentIndent = this._currentIndent.substring(this._indentLength); - } - formatBuiltText(e3, t3) { - return n2.default.isString(e3) && e3.length ? t3 ? `${this._currentIndent}${e3}` : `${this._currentIndent}${e3}${this._newLine}` : ""; - } - formatBuiltTextNoNewline(e3) { - return n2.default.isString(e3) && e3.length ? `${this._currentIndent}${e3}` : ""; - } - startBuilder() { - this.reset(); - } - endBuilder() { - } - formatExpressionText(e3, t3, i3) { - return t3 ? i3 ? `${this._newLine}${this._currentIndent}${e3}` : `${this._newLine}${e3}` : i3 ? `${this._currentIndent}${e3}` : e3; - } - formatFunctionInvocation(e3, t3, i3, r3, o) { - let a = r3 ? this._newLine : ""; - return o && (a += this._currentIndent), n2.default.isArray(t3) ? `${a}${e3}${t3.join(", ")}${i3}` : `${a}${e3}${i3}`; - } - reset() { - this._currentIndent = "", this._indent = this._wantFormatting ? " " : "", this._indentLength = this._indent.length, this._newLine = this._wantFormatting ? "\n" : ""; - } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.exitReason.pasteReIdOrRename(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.exitReason.pasteResolveOldToNewValues(e3); + } }, exitReason: { enumerable: true, get: function() { + return this._exitReason; + }, set: function(e3) { + this._exitReason = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 47719(e2, t2, i2) { + const n2 = i2(16113), { evaluateScheduleActionType: o } = i2(30801), r = i2(7401); + function a() { + Object.defineProperties(this, { _timeZone: { writable: true }, _schedule: { writable: true } }), this.evaluateEmergencyGroup = false, this.scheduleId = void 0, this.scheduleName = void 0, a.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 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))), 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) && c.permissionServiceHelper.canViewBotSessions(); - } - get currentUserCanUseIntentMiner() { - return c.permissionServiceHelper.canViewIntentMiner(); - } - get currentUserCanUsePreviewWidget() { - return u.isFeatureAvailable(a.default.previewDigitalBotFlowTestWidgetFeature) && c.permissionServiceHelper.canUsePreviewWidget(); - } - get currentUserCanUseBotPerformanceReport() { - return c.permissionServiceHelper.canViewBotPerformanceReport(); - } - get currentUserCanUseOptimizationOverview() { - return u.isFeatureAvailable(a.default.botFlowsAnalyticsDashboardFeature) && c.permissionServiceHelper.canViewOptimizationOverview(); - } - get currentUserCanUseInteractionReport() { - return c.permissionServiceHelper.canViewInteractionReport(); - } - get currentUserCanUseSurveyPerformanceReport() { - return c.permissionServiceHelper.canViewSurveyPerformanceReport(); - } - get currentUserCanUseContentSearchEnabledKnowledge() { - return u.isFeatureAvailable(a.default.botFlowsKnowledgeContentSearch); - } - get currentUserCanUseKnowledge() { - return u.isFeatureAvailable(a.default.botFlowsKnowledge); - } - get currentUserCanUseKnowledgeV3() { - return u.isFeatureAvailable(a.default.botFlowsVirtualAgentKnowledgeV3); - } - get currentUserCanUsePathDiscovery() { - return u.isFeatureAvailable(a.default.pathDiscoveryFeature) && c.permissionServiceHelper.canViewPathDiscovery(); - } - get currentUserCanUsePathDiscoveryCallFlows() { - return u.isFeatureAvailable(a.default.pathDiscoveryCallFlowsFeature) && c.permissionServiceHelper.canViewPathDiscovery(); - } - get currentUserCanUsePathDiscoveryV3Flows() { - 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) && c.permissionServiceHelper.canViewVirtualAgentPerformanceReport(); - } - createFlowSupportedLanguagesSnapshot(e3) { - var t3, i3; - if (!(null == e3 ? void 0 : e3.supportsLanguages)) return; - const n3 = [], o2 = null === (t3 = e3.defaultLanguage) || void 0 === t3 ? void 0 : t3.toLowerCase(); - return r2.default.each(null === (i3 = null == e3 ? void 0 : e3.languages) || void 0 === i3 ? void 0 : i3.supportedLanguagesLCase, (e4) => { - if (r2.default.isString(e4)) { - const t4 = { id: e4 }; - e4 === o2 && (t4.isDefault = true), n3.push(t4); - } - }), n3; - } - createStartupModeAddIntent() { - return { action: "addIntent" }; - } - createArchFlowVersionInfo(e3) { - if (e3) return { name: e3.name }; - } - createCommonCustomData(e3, t3, i3, n3) { - 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); - }), e3.flowSequenceItemList) { - const t4 = e3.flowSequenceItemList.reduce((e4, t5) => { - var i4; - const n4 = (null !== (i4 = t5.actionList) && void 0 !== i4 ? i4 : []).reduce((e5, i5) => Object.assign(Object.assign({}, e5), { [i5.id]: { actionName: i5.trackingId.toString() + " " + i5.name, actionType: i5.type, taskName: t5.name } }), {}); - return Object.assign(Object.assign({}, e4), n4); - }, {}); - m.actions = t4; - } - 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 === (c2 = e3.flowViewFilterOptions) || void 0 === c2 ? void 0 : c2.outputMode), r2.default.isEmpty(t4) || (m.viewSettings.flowViewFilter = t4); - } - if (e3) { - const t4 = e3.definition; - m.flowInfo = { id: e3.id, name: e3.displayName, description: e3.description, divisionId: null === (h2 = null === (_2 = e3.info) || void 0 === _2 ? void 0 : _2.division) || void 0 === h2 ? void 0 : h2.id, type: e3.type, typeInfo: { supportsNLU: !!(null == t4 ? void 0 : t4.supportsNlu), supportsNLUIntents: !!(null == t4 ? void 0 : t4.supportsNluIntents) } }; - const i4 = e3.versions; - if (i4) { - const e4 = {}; - i4.checkedInVersion && (e4.checkedInVersionInfo = this.createArchFlowVersionInfo(i4.checkedInVersion)), i4.publishedVersion && (e4.publishedVersionInfo = this.createArchFlowVersionInfo(i4.publishedVersion)), i4.savedVersion && (e4.savedVersionInfo = this.createArchFlowVersionInfo(i4.savedVersion)), r2.default.isEmpty(e4) || (m.flowInfo.versionsInfo = e4), i4.rawCurrentVersionNumber && (m.flowInfo.currentVersionActual = i4.rawCurrentVersionNumber), i4.currentVersionNumber && (m.flowInfo.currentVersionUi = i4.currentVersionNumber); - } - } - const g = []; - r2.default.each(e3.tasks, (e4) => { - if (e4.isReusableTask) { - const t4 = { id: e4.id, name: e4.name }; - g.push(t4); - } - }), g.length && (m.reusableTasks = g); - const f = this.createFlowSupportedLanguagesSnapshot(e3); - return r2.default.isArray(f) && (m.supportedLanguages = f), m; - } - createBasicCustomData(e3, t3, i3, n3) { - return this.createCommonCustomData(e3, t3, i3, n3); - } - createNluCustomData(e3, t3, i3, n3) { - 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 === (c2 = e3.nluMetaData) || void 0 === c2 ? void 0 : c2.dynamicSlotTypesMap.items, (e4) => { - var i4, n4, r3; - if (!e4) return; - 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 && (O.dynamicSlotTypes = t4); - } - 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) && (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 = 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) && (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, b.push({ entityName: i5, slotHandling: r3.slotHandling })); - } - 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); - return r3.cortexNlu = { intents: t3.intents }, r3; - } - registerAddInEventSink(e3, t3) { - return !(!r2.default.isString(e3) || !e3.length || (this._addInEventSinks[e3] = t3, 0)); - } - unregisterAddInEventSink(e3) { - return !(!r2.default.isString(e3) || !e3.length) && delete this._addInEventSinks[e3]; - } - }(); - 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), 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(h, { id: this.disposition.text }); - e3 = t3 ? t3.displayString : _.abortSurvey.noDisposition; - } - return new a.ActionDetails([_.abortSurvey.dispositionLabel], [e3]); - } - static get managedProperties() { - 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 }]; - } - } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(58380)), l = i2(9456), u = n2.__importDefault(i2(73198)); - t2.default = class { - constructor() { - this.id = (0, l.uuid)(), this.amObjectEventEmitter = true, this.collections = [], this.map = {}, this.singletons = []; - } - cloneTo(e3, t3) { - let i3, n3; - return r2.default.each(this.map, (o2, l2) => { - 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); - } - if (t3.map[l2] = { single: i3, collection: n3 }, i3 && t3.singletons.push(i3), n3 && t3.collections.push(n3), (null == i3 ? void 0 : i3.isCustomTypeArchitectBuiltIn) && (null == i3 ? void 0 : i3.isAvailableForFlowType(e3.type, true))) { - const n4 = i3.getCustomDataTypeDefinition(); - s.fireEvent(t3, a.customDataTypeRegistered, { dataTypeDefViewModel: n4, expressionType: i3 }, e3); - } - }), t3; - } - destroy() { - r2.default.each(this.map, (e3, t3) => { - e3.collection && e3.collection.destroy(), e3.single && e3.single.destroy(), delete this.map[t3]; - }), this.collections.length = 0, this.singletons.length = 0; - } - _processTypeCollection(e3, t3) { - var i3; - for (let n3 = e3.length - 1; n3 >= 0; n3--) { - const r3 = e3[n3]; - !r3.isCollection || (null === (i3 = t3.dataTypes[r3.dataType]) || void 0 === i3 ? void 0 : i3.allowCollection) ? r3.startupConnectedAndReady() : e3.splice(n3, 1); - } - } - startupConnectedAndReady(e3) { - this._processTypeCollection(this.collections, e3), this._processTypeCollection(this.singletons, e3); - } - _getFlowTypeTypes(e3) { - const t3 = []; - return this.singletons.forEach((i3) => { - i3.isAvailableForFlowType(e3, true) && t3.push(i3); - }), this.collections.forEach((i3) => { - i3.isAvailableForFlowType(e3, true) && t3.push(i3); - }), t3; - } - _getFlowInputTypes(e3) { - const t3 = []; - return this.singletons.forEach((i3) => { - i3.isAvailableAsInputForFlowType(e3) && t3.push(i3); - }), this.collections.forEach((i3) => { - i3.isAvailableAsInputForFlowType(e3) && t3.push(i3); - }), t3; - } - _getFlowOutputTypes(e3) { - const t3 = []; - return this.singletons.forEach((i3) => { - i3.isAvailableAsOutputForFlowType(e3) && t3.push(i3); - }), this.collections.forEach((i3) => { - i3.isAvailableAsOutputForFlowType(e3) && t3.push(i3); - }), t3; - } - _getFlowCreatableDataTypes(e3) { - const t3 = []; - return this.singletons.forEach((i3) => { - i3.isUserCreatableForFlow(e3) && t3.push(i3); - }), this.collections.forEach((i3) => { - i3.isUserCreatableForFlow(e3) && t3.push(i3); - }), t3; - } - getType(e3, t3) { - const i3 = this.map[e3]; - return i3 ? t3 ? i3.collection : i3.single : null; - } - getTypeFromDisplayString(e3) { - let t3 = r2.default.findWhere(this.singletons, { displayString: e3 }); - return t3 || (t3 = r2.default.findWhere(this.collections, { displayString: e3 })), t3; - } - _getMatchingTypes(e3, t3) { - const i3 = []; - return e3 && e3.isExpressionType && (e3.isCollection ? this.collections : this.singletons).forEach((n3) => { - !n3.isAnyPromptOrAudio && e3.isMatch(n3, t3) && i3.push(n3); - }), i3; - } - addCustomType(e3, t3, i3, n3) { - const r3 = e3.dataTypeId; - if (null == t3 ? void 0 : t3.isCustomType) { - if (o.info(`adding the custom data type '${r3}' to the expression type group '${this.id}'.`), this.map[r3]) { - if (r3.startsWith(u.default.exprDataTypePrefixJsonArch)) return void o.info(`the custom data type '${r3}' is an Architect data type that is already in the expression type group '${this.id}'. There is no need to re-add it. Exiting.`); - if (o.info(`the expression type group '${this.id}' already contains the custom data type '${r3}' so need to remove first from the expression type group '${this.id}'.`), !this.removeCustomType(r3, n3)) return o.error(`removal of custom data type '${r3}' from the expression type group '${this.id}' was not successful. Exiting.`), false; - o.info(`removal of existing custom data type '${r3}' from the expression type group '${this.id}' was successful. Now re-adding the custom data type '${r3}'.`); - } - return this.map[r3] = { single: t3, collection: i3 }, this.singletons.push(t3), this.collections.push(i3), s.fireEvent(this, a.customDataTypeRegistered, { dataTypeDefViewModel: e3, expressionType: t3 }, n3), o.info(`successfully added custom data type '${r3}' to the expression type group '${this.id}'.`), true; - } - o.error(`cannot add custom type with identifier '${r3}' to the expression type group as it's not a custom type.`); - } - removeCustomType(e3, t3) { - if (!(null == e3 ? void 0 : e3.length)) return true; - const i3 = this.map[e3]; - if (!i3) return true; - if (e3.startsWith(u.default.exprDataTypePrefixJsonArch)) return o.error(`Unable to remove the custom data type '${e3}' as it is an Architect built-in type and removal is NOT allowed. Exiting.`), false; - const n3 = i3.single, r3 = i3.collection; - if (this.map[e3] = void 0, n3) { - for (let e4 = this.singletons.length - 1; e4 >= 0; e4--) if (this.singletons[e4] === n3) { - this.singletons.splice(e4, 1); - break; - } - } - if (r3) { - for (let e4 = this.collections.length - 1; e4 >= 0; e4--) if (this.collections[e4] === r3) { - this.collections.splice(e4, 1); - break; - } - } - return s.fireEvent(this, a.customDataTypeUnregistered, { dataTypeIdentifier: e3, expressionType: n3 }, t3), true; - } - }; - }, 2398: (e2, t2, i2) => { - function n2() { - this.type = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(85386).extend(n2, "BaseBriefEntity"), Object.defineProperties(n2.prototype, { isBaseBriefEntity: { get: function() { - return true; - } } }), e2.exports = n2; - }, 2410: (e2, t2, i2) => { - "use strict"; - var n2, r2, o, a, s, l, u; - Object.defineProperty(t2, "__esModule", { value: true }); - 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), 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; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionDigitalMenu() { - return true; - } - get chooser() { - return c.__classPrivateFieldGet(this, n2, "f"); - } - get knowledgeSearchResult() { - return c.__classPrivateFieldGet(this, o, "f"); - } - get noMatch() { - return c.__classPrivateFieldGet(this, a, "f"); - } - get question() { - return c.__classPrivateFieldGet(this, l, "f"); - } - get customizeNoMatch() { - return c.__classPrivateFieldGet(this, r2, "f"); - } - get noMatchReprompts() { - return c.__classPrivateFieldGet(this, s, "f"); - } - get choices() { - var e3; - const t3 = [], i3 = null === (e3 = this._getCoreViewModel().chooser) || void 0 === e3 ? void 0 : e3.type.getPossibleChoices(this._getCoreViewModel().chooser); - return i3 && i3.forEach((e4) => { - t3.push(this.coreFactory.createArchWrapper(e4)); - }), t3; - } - get outputMaxNoInputs() { - return this._getOutputById(_.outputIds.maxNoInputs, true); - } - get outputMaxNoMatches() { - return this._getOutputById(_.outputIds.maxNoMatches, true); - } - get outputSkipResponseCapture() { - return this._getOutputById(_.outputIds.skipResponseCapture, true); - } - get selection() { - 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 === 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(); - return this.logNote(`setting button value from supplied name parameter of '${e3}'.`), o2.value.setLiteralString(e3), o2; - } - deleteChoiceByIndex(e3) { - const t3 = this._infoPropSet("index", "deleteChoiceByIndex"); - this._validateChoiceByIndex(t3, e3), this.chooser._getCoreViewModel().type.deleteChoiceAtIndex(this.chooser._getCoreViewModel(), e3); - } - getChoiceByIndex(e3) { - const t3 = this._infoPropSet("index", "getChoiceByIndex"); - return this._validateChoiceByIndex(t3, e3), this.choices[e3]; - } - _validateChoiceByIndex(e3, t3) { - this._checkItemIsValidLiteralInt(e3, t3, false), this._checkItem(e3, t3 < 0 || t3 >= this.choices.length, `the index parameter value of '${t3}' is invalid. It must be >= 0 and <${this.choices.length}.`); - } - } - 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 = m; - }, 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)), 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); + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.timeZone.pasteReIdOrRename(e3), this.schedule.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.timeZone.pasteResolveOldToNewValues(e3), this.schedule.pasteResolveOldToNewValues(e3); + } }, timeZone: { enumerable: true, get: function() { + return this._timeZone; + }, set: function(e3) { + this._timeZone = this.reviveItem(e3, r); + } }, schedule: { enumerable: true, get: function() { + return this._schedule; + }, set: function(e3) { + this._schedule = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 41188(e2, t2, i2) { + const n2 = i2(16113), { evaluateScheduleGroupActionType: o } = i2(30801), r = i2(7401); function a() { - Object.defineProperties(this, { _customizeNoInput: { writable: true }, _customizeNoMatch: { writable: true }, _enableBargeIn: { writable: true }, _noInputs: { writable: true }, _noInputReprompts: { writable: true }, _noMatches: { writable: true }, _noMatchReprompts: { writable: true }, _voiceEndOfInputTimeout: { writable: true }, _paths: { writable: true } }), a.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _inServiceSchedules: { writable: true }, _scheduleGroup: { writable: true } }), this.scheduleGroupId = void 0, this.scheduleGroupName = void 0, a.baseConstructor.apply(this, arguments); } - n2.extend(a, "BaseAskActionNoInputNoMatchModel"), e2.exports = a, Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.customizeNoInput && this.customizeNoInput.pasteResolveOldToNewValues(e3), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this.enableBargeIn && this.enableBargeIn.pasteResolveOldToNewValues(e3), this.noInputs && this.noInputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noInputReprompts && this.noInputReprompts.pasteResolveOldToNewValues(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3), this.voiceEndOfInputTimeout && this.voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3), this.paths && this.paths.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), 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.pasteResolveOldToNewValues(e3), this.paths && this.paths.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); - } }, customizeNoInput: { enumerable: true, get: function() { - return this._customizeNoInput; + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.inServiceSchedules.pasteReIdOrRename(e3), this.scheduleGroup.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.inServiceSchedules.pasteResolveOldToNewValues(e3), this.scheduleGroup.pasteResolveOldToNewValues(e3); + } }, inServiceSchedules: { enumerable: true, get: function() { + return this._inServiceSchedules; }, set: function(e3) { - this._customizeNoInput = this.reviveItem(e3, r2); - } }, customizeNoMatch: { enumerable: true, get: function() { - return this._customizeNoMatch; + this._inServiceSchedules = this.reviveItem(e3, r); + } }, scheduleGroup: { enumerable: true, get: function() { + return this._scheduleGroup; }, set: function(e3) { - this._customizeNoMatch = this.reviveItem(e3, r2); - } }, enableBargeIn: { enumerable: true, get: function() { - return this._enableBargeIn; + this._scheduleGroup = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 54540(e2, t2, i2) { + const n2 = i2(28730), { exitBotFlowActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 99407(e2, t2, i2) { + const n2 = i2(28730), { exitLoopActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 96603(e2, t2, i2) { + const n2 = i2(28730), { exitWorkitemFlowActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 24215(e2, t2, i2) { + const { extractSecureDataActionType: n2 } = i2(30801), o = i2(73954); + function r() { + Object.defineProperties(this, { _variables: { writable: true } }), this.acknowledgementUserId = void 0, this.acknowledgementUserDisplayName = void 0, this.acknowledgementDate = void 0, this.acknowledgementUserIsOAuthClient = void 0, o.baseConstructor.apply(this, arguments); + } + o.extend(r, n2, true), e2.exports = r; + }, 30905(e2, t2, i2) { + const n2 = i2(28730), { flushAudioActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 94335(e2, t2, i2) { + const n2 = i2(2444), o = i2(90807), r = i2(7401), { formActionType: a } = i2(30801), { ResponseLibrary: s } = i2(23436); + function l() { + Object.defineProperties(this, { _form: { writable: true }, _formCompletionTimeout: { writable: true }, _outputs: { writable: true }, _responseLibrary: { writable: true } }), this.formId = void 0, this.formName = void 0, l.baseConstructor.apply(this, arguments); + } + n2.extend(l, a, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { + l._super.pasteReIdOrRename.apply(this, arguments), this.formCompletionTimeout.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + l._super.pasteResolveOldToNewValues.apply(this, arguments), this.formCompletionTimeout.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteResolveOldToNewValues(e3); + } }, formCompletionTimeout: { enumerable: true, get: function() { + return this._formCompletionTimeout; }, set: function(e3) { - this._enableBargeIn = this.reviveItem(e3, r2); - } }, noInput: { enumerable: false, get: function() { - return this.noInputs && this.noInputs[0]; + this._formCompletionTimeout = this.reviveItem(e3, r); + } }, outputs: { enumerable: true, get: function() { + return this._outputs; }, set: function(e3) { - this.noInputs = [e3]; - } }, noMatch: { enumerable: false, get: function() { - return this.noMatches && this.noMatches[0]; + this._outputs = this.reviveArray(e3, o); + } }, responseLibrary: { enumerable: true, get: function() { + return this._responseLibrary; }, set: function(e3) { - this.noMatches = [e3]; - } }, noInputs: { enumerable: true, get: function() { - return this._noInputs; + this._responseLibrary = this.reviveItem(e3, s); + } } }), e2.exports = l; + }, 88176(e2, t2, i2) { + const n2 = i2(75458), o = i2(7401), { getAssignedCustomerIntentsActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _externalContactId: { writable: true }, _getAssignedCustomerIntentsResult: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.getAssignedCustomerIntentsResult.pasteReIdOrRename(e3), this.externalContactId.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.getAssignedCustomerIntentsResult.pasteResolveOldToNewValues(e3), this.externalContactId.pasteResolveOldToNewValues(e3); + } }, getAssignedCustomerIntentsResult: { enumerable: true, get: function() { + return this._getAssignedCustomerIntentsResult; }, set: function(e3) { - this._noInputs = this.reviveArray(e3, r2); - } }, noInputReprompts: { enumerable: true, get: function() { - return this._noInputReprompts; + this._getAssignedCustomerIntentsResult = this.reviveItem(e3, o); + } }, externalContactId: { enumerable: true, get: function() { + return this._externalContactId; }, set: function(e3) { - this._noInputReprompts = this.reviveItem(e3, r2); - } }, noMatches: { enumerable: true, get: function() { - return this._noMatches; + this._externalContactId = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 48944(e2, t2, i2) { + const n2 = i2(28730), { getAttributesActionType: o } = i2(30801), r = i2(42217); + function a() { + Object.defineProperties(this, { _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments); + for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments); + for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteResolveOldToNewValues(e3); + } }, variables: { enumerable: true, get: function() { + return this._variables; }, set: function(e3) { - this._noMatches = this.reviveArray(e3, r2); - } }, noMatchReprompts: { enumerable: true, get: function() { - return this._noMatchReprompts; + this._variables = this.reviveArray(e3, r); + } } }), n2.extend(a, o, true), e2.exports = a; + }, 40762(e2, t2, i2) { + const n2 = i2(60475), o = i2(7401), { getConversationDataActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _participantId: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.participantId.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.participantId.pasteResolveOldToNewValues(e3); + } }, participantId: { enumerable: true, get: function() { + return this._participantId; }, set: function(e3) { - this._noMatchReprompts = this.reviveItem(e3, r2); - } }, voiceEndOfInputTimeout: { enumerable: true, get: function() { - return this._voiceEndOfInputTimeout; + this._participantId = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 2750(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { getExternalContactActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _externalContact: { writable: true }, _externalContactId: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.externalResult.pasteReIdOrRename(e3), this.externalId.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalResult.pasteResolveOldToNewValues(e3), this.externalId.pasteResolveOldToNewValues(e3); + } }, externalResult: { enumerable: true, get: function() { + return this._externalContact; }, set: function(e3) { - this._voiceEndOfInputTimeout = this.reviveItem(e3, r2); - } }, paths: { enumerable: true, get: function() { - return this._paths; + this._externalContact = this.reviveItem(e3, o); + } }, externalId: { enumerable: true, get: function() { + return this._externalContactId; }, set: function(e3) { - this._paths = this.reviveArray(e3, o); + this._externalContactId = this.reviveItem(e3, o); } } }), e2.exports = a; - }, 2467: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.getJourneyOutcomeScoresBySessionActionType; - } - get displayTypeName() { - return "ArchActionGetJourneyOutcomeScoresBySession"; - } - get isArchActionGetJourneyOutcomeScoresBySession() { - return true; - } - get findResult() { - return this._findResult; - } + }, 70691(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { getExternalOrganizationActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _externalOrganizationId: { writable: true }, _externalOrganization: { writable: true } }), a.baseConstructor.apply(this, arguments); } - 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), 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 ? 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 = T.group.noExtError; - t3.setParseWarning(i4), e3.nodeHasWarning(this.id, i4) || e3.addWarning(this, i4); - } - } - }.bind(this)); - } - getDetails() { - return this.group ? new p.ActionDetails([T.group.label], [this.group.text]) : null; - } - static get managedProperties() { - 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 }]; - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.externalResult.pasteReIdOrRename(e3), this.externalId.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalResult.pasteResolveOldToNewValues(e3), this.externalId.pasteResolveOldToNewValues(e3); + } }, externalId: { enumerable: true, get: function() { + return this._externalOrganizationId; + }, set: function(e3) { + this._externalOrganizationId = this.reviveItem(e3, o); + } }, externalResult: { enumerable: true, get: function() { + return this._externalOrganization; + }, set: function(e3) { + this._externalOrganization = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 62061(e2, t2, i2) { + const n2 = i2(75458), o = i2(7401), { getRawSIPHeadersActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _rawSIPHeadersResult: { writable: true }, _errorBindings: { writable: true } }), a.baseConstructor.apply(this, arguments); } - 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() { - Object.defineProperties(this, { _callbackNumbers: { writable: true }, _calleeName: { writable: true }, _inputs: { writable: true }, _queue: { writable: true } }), this.scriptId = void 0, this.scriptName = void 0, this.useQueue = void 0, s.baseConstructor.apply(this, arguments); + n2.extend(a, r, true), Object.defineProperties(a.prototype, { rawSIPHeadersResult: { enumerable: true, get: function() { + return this._rawSIPHeadersResult; + }, set: function(e3) { + this._rawSIPHeadersResult = this.reviveItem(e3, o); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this._rawSIPHeadersResult.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this._rawSIPHeadersResult.pasteResolveOldToNewValues(e3); + } } }), e2.exports = a; + }, 55706(e2, t2, i2) { + const n2 = i2(13240), o = i2(90807), r = i2(7401), { getResponseActionType: a } = i2(30801), { ResponseLibrary: s } = i2(23436); + function l() { + Object.defineProperties(this, { _attachments: { writable: true }, _responseBody: { writable: true }, _responseBodyHandling: { writable: true }, _responseLibrary: { writable: true }, _substitutions: { writable: true } }), this.responseId = void 0, this.responseName = void 0, this.performSubstitutions = void 0, l.baseConstructor.apply(this, arguments); } - n2.extend(s, r2, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.calleeName.pasteReIdOrRename(e3), this.queue.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); + n2.extend(l, a, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { + l._super.pasteReIdOrRename.apply(this, arguments), this.responseBody.pasteReIdOrRename(e3), this.responseBodyHandling.pasteReIdOrRename(e3), this.attachments?.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.substitutions.length; t3++) this.substitutions[t3].pasteReIdOrRename(e3); } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.calleeName.pasteResolveOldToNewValues(e3), this.queue.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); - } }, callbackNumbers: { enumerable: true, get: function() { - return this._callbackNumbers; + l._super.pasteResolveOldToNewValues.apply(this, arguments), this.responseBody.pasteResolveOldToNewValues(e3), this.responseBodyHandling.pasteResolveOldToNewValues(e3), this.attachments?.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.substitutions.length; t3++) this.substitutions[t3].pasteResolveOldToNewValues(e3); + } }, responseBody: { enumerable: true, get: function() { + return this._responseBody; }, set: function(e3) { - this._callbackNumbers = this.reviveArray(e3, a); - } }, calleeName: { enumerable: true, get: function() { - return this._calleeName; + this._responseBody = this.reviveItem(e3, r); + } }, responseBodyHandling: { enumerable: true, get: function() { + return this._responseBodyHandling; }, set: function(e3) { - this._calleeName = this.reviveItem(e3, a); - } }, inputs: { enumerable: true, get: function() { - return this._inputs; + this._responseBodyHandling = this.reviveItem(e3, r); + } }, attachments: { enumerable: true, get: function() { + return this._attachments; }, set: function(e3) { - this._inputs = this.reviveArray(e3, o); - } }, queue: { enumerable: true, get: function() { - return this._queue; + this._attachments = this.reviveItem(e3, r); + } }, responseLibrary: { enumerable: true, get: function() { + return this._responseLibrary; }, set: function(e3) { - this._queue = this.reviveItem(e3, a); - } } }), e2.exports = s; - }, 2560: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.yamlLabel = t2.FlowFileFormatTypes = void 0, t2.toFlowFileFormat = function(e3, t3) { - const i3 = n2[e3]; - if (void 0 === i3) { - if (t3) return; - throw new Error(`Unsupported flow file format: ${e3}`); - } - return i3; - }, (function(e3) { - e3.Architect = "architect", e3.Yaml = "yaml"; - })(i2 || (t2.FlowFileFormatTypes = i2 = {})); - const n2 = {}; - for (const e3 of Object.keys(i2)) { - const t3 = i2[e3]; - "string" == typeof t3 && (n2[t3] = t3); + this._responseLibrary = this.reviveItem(e3, s); + } }, substitutions: { enumerable: true, get: function() { + return this._substitutions; + }, set: function(e3) { + this._substitutions = this.reviveArray(e3, o); + } } }), e2.exports = l; + }, 60633(e2, t2, i2) { + const n2 = i2(75458), o = i2(7401), { getSIPHeadersActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _sipHeaderNames: { writable: true }, _sipHeadersResult: { writable: true }, _errorBindings: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.yamlLabel = "YAML"; - }, 2574: (e2, t2, i2) => { - "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, c) { - var d = [], p = 0, _ = 0, h = false, m = function() { - !h || d.length || p || t3.complete(); - }, g = function(e4) { - return p < a ? f(e4) : d.push(e4); - }, f = function(e4) { - l && t3.next(e4), p++; - var c2 = false; - n2.innerFrom(i3(e4, _++)).subscribe(o.createOperatorSubscriber(t3, function(e5) { - null == s || s(e5), l ? g(e5) : t3.next(e5); - }, function() { - c2 = true; - }, void 0, function() { - if (c2) try { - p--; - for (var e5 = function() { - var e6 = d.shift(); - u ? r2.executeSchedule(t3, u, function() { - return f(e6); - }) : f(e6); - }; d.length && p < a; ) e5(); - m(); - } catch (e6) { - t3.error(e6); - } - })); - }; - return e3.subscribe(o.createOperatorSubscriber(t3, g, function() { - h = true, m(); - })), function() { - null == c || c(); - }; - }; - }, 2583: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(63824)), o = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(17405)); - class s extends a.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "duration"; - } - get displayTypeName() { - return "ArchValueDuration"; - } - _checkAndSetLiteral(e3, t3) { - this._checkItem(e3, t3 < o.default.minDurationMs, "the duration value of '" + t3 + "' milliseconds is less than the allowed minimum of '" + o.default.minDurationMs + "' milliseconds"), this._checkItem(e3, t3 > o.default.maxDurationMs, "the duration value of '" + t3 + "' milliseconds is greater than the allowed maximum of '" + o.default.maxDurationMs + "' milliseconds"), this._setLiteral(e3, r2.millisecondsToXSD(t3)); - } - _checkAndFixParameter(e3, t3) { - return this._checkItemIsValidLiteralInt(e3, t3, true), t3 ?? 0; - } - get isArchValueDuration() { - return true; - } - setLiteralMaxDuration() { - this._checkAndSetLiteral(this._infoVal(o.default.maxDurationMs.toString(), "setLiteralMaxDuration"), o.default.maxDurationMs); - } - setLiteralMinDuration() { - this._checkAndSetLiteral(this._infoVal(o.default.minDurationMs.toString(), "setLiteralMinDuration"), o.default.minDurationMs); - } - setLiteralMs(e3) { - const t3 = this._infoParm("milliseconds", "setLiteralMs"); - e3 = this._checkAndFixParameter(t3, e3), this._checkAndSetLiteral(t3, e3); - } - setLiteralTimeParts(e3, t3, i3, n3, r3) { - e3 = this._checkAndFixParameter(this._infoParm("days", "setLiteralTimeParts"), e3), t3 = this._checkAndFixParameter(this._infoParm("hours", "setLiteralTimeParts"), t3), i3 = this._checkAndFixParameter(this._infoParm("minutes", "setLiteralTimeParts"), i3), n3 = this._checkAndFixParameter(this._infoParm("seconds", "setLiteralTimeParts"), n3), r3 = this._checkAndFixParameter(this._infoParm("milliseconds", "setLiteralTimeParts"), r3), this._checkAndSetLiteral(this._infoVal("calculated duration", "setLiteralTimeParts"), e3 * o.default.msPerDay + t3 * o.default.msPerHour + i3 * o.default.msPerMinute + n3 * o.default.msPerSecond + r3); - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { sipHeaderNames: { enumerable: true, get: function() { + return this._sipHeaderNames; + }, set: function(e3) { + this._sipHeaderNames = this.reviveItem(e3, o); + } }, sipHeadersResult: { enumerable: true, get: function() { + return this._sipHeadersResult; + }, set: function(e3) { + this._sipHeadersResult = this.reviveItem(e3, o); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this._sipHeaderNames.pasteReIdOrRename(e3), this._sipHeadersResult.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this._sipHeaderNames.pasteResolveOldToNewValues(e3), this._sipHeadersResult.pasteResolveOldToNewValues(e3); + } } }), e2.exports = a; + }, 29680(e2, t2, i2) { + const n2 = i2(60475), { getSecuredDataActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 44103(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { holdMusicActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _bargeInExpression: { writable: true }, _duration: { writable: true }, _playForDuration: { writable: true }, _prompt: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.default = s; - }, 2584: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeListPickerSectionOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeListPickerSectionOptions"; - } - get isExpressionTypeListPickerSectionOptions() { - return true; - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.duration.pasteReIdOrRename(e3), this.prompt.pasteResolveOldToNewValues(e3), this.bargeInExpression.pasteResolveOldToNewValues(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.duration.pasteResolveOldToNewValues(e3), this.prompt.pasteResolveOldToNewValues(e3), this.bargeInExpression.pasteResolveOldToNewValues(e3); + } }, duration: { enumerable: true, get: function() { + return this._duration; + }, set: function(e3) { + this._duration = this.reviveItem(e3, o); + } }, playForDuration: { enumerable: true, get: function() { + return this._playForDuration || false; + }, set: function(e3) { + this._playForDuration = e3; + } }, prompt: { enumerable: true, get: function() { + return this._prompt; + }, set: function(e3) { + this._prompt = this.reviveItem(e3, o); + } }, bargeInExpression: { enumerable: true, get: function() { + return this._bargeInExpression; + }, set: function(e3) { + this._bargeInExpression = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 76573(e2, t2, i2) { + const n2 = i2(5410), { initializeFlowOutcomeActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 47380(e2, t2, i2) { + const n2 = i2(59865), { lexActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 12044(e2, t2, i2) { + const n2 = i2(59865), o = i2(7401), { lexV2ActionType: r } = i2(30801), a = i2(42217); + function s() { + Object.defineProperties(this, { _initialIntent: { writable: true }, _outputSessionVariables: { writable: true } }), this.region = void 0, this.shortBotId = void 0, this.shortAliasId = void 0, s.baseConstructor.apply(this, arguments); } - t2.ExpressionTypeListPickerSectionOptions = r2; - }, 2600: (e2, t2, i2) => { - "use strict"; - function n2(e3) { - if (void 0 !== e3 && "" !== e3 && "" !== e3) try { - return JSON.parse(e3); - } catch (t3) { - return e3; - } + n2.extend(s, r, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.initialIntent.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.initialIntent.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteResolveOldToNewValues(e3); + } }, initialIntent: { enumerable: true, get: function() { + return this._initialIntent; + }, set: function(e3) { + this._initialIntent = this.reviveItem(e3, o); + } }, outputSessionVariables: { enumerable: true, get: function() { + return this._outputSessionVariables; + }, set: function(e3) { + this._outputSessionVariables = this.reviveArray(e3, a); + } } }), e2.exports = s; + }, 84111(e2, t2, i2) { + const n2 = i2(93476), o = i2(28730), r = i2(7401), { loopActionType: a } = i2(30801); + function s() { + Object.defineProperties(this, { _currentIndex: { writable: true }, _loopCount: { writable: true }, _path: { writable: true } }), s.baseConstructor.apply(this, arguments); } - 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; + o.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.currentIndex.pasteReIdOrRename(e3), this.loopCount.pasteReIdOrRename(e3), this.path.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.currentIndex.pasteResolveOldToNewValues(e3), this.loopCount.pasteResolveOldToNewValues(e3), this.path.pasteResolveOldToNewValues(e3); + } }, currentIndex: { enumerable: true, get: function() { + return this._currentIndex; + }, set: function(e3) { + this._currentIndex = this.reviveItem(e3, r); + } }, loopCount: { enumerable: true, get: function() { + return this._loopCount; + }, set: function(e3) { + this._loopCount = this.reviveItem(e3, r); + } }, path: { enumerable: true, get: function() { + return this._path; + }, set: function(e3) { + this._path = this.reviveItem(e3, n2); + } } }), e2.exports = s; + }, 69849(e2, t2, i2) { + const n2 = i2(13240), o = i2(90807), r = i2(7401), { loopUntilActionType: a } = i2(30801); + function s() { + Object.defineProperties(this, { _currentIndex: { writable: true }, _maxLoopCount: { writable: true }, _untilCases: { writable: true } }), s.baseConstructor.apply(this, arguments); } - const o = new class { - constructor() { - this._captureEnabled = false, this._logEnabled = false, this._buffer = []; - } - get captureEnabled() { - return this._captureEnabled; - } - set captureEnabled(e3) { - this._captureEnabled = !!e3, this._captureEnabled || (this.clear(), this._logEnabled = false); - } - get logEnabled() { - return this._logEnabled; - } - 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 }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyOutcomeCollection"; - } - get initialValue() { - return this._initialValue; - } - get displayTypeName() { - return "ArchVariableJourneyOutcomeCollection"; - } - get isArchVariableJourneyOutcomeCollection() { - return true; - } + n2.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + if (s._super.pasteReIdOrRename.apply(this, arguments), this.currentIndex.pasteReIdOrRename(e3), this.maxLoopCount.pasteReIdOrRename(e3), this.untilCases) for (let t3 = 0; t3 < this.untilCases.length; t3++) this.untilCases[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + if (s._super.pasteResolveOldToNewValues.apply(this, arguments), this.currentIndex.pasteResolveOldToNewValues(e3), this.maxLoopCount.pasteResolveOldToNewValues(e3), this.untilCases) for (let t3 = 0; t3 < this.untilCases.length; t3++) this.untilCases[t3].pasteResolveOldToNewValues(e3); + } }, currentIndex: { enumerable: true, get: function() { + return this._currentIndex; + }, set: function(e3) { + this._currentIndex = this.reviveItem(e3, r); + } }, maxLoopCount: { enumerable: true, get: function() { + return this._maxLoopCount; + }, set: function(e3) { + this._maxLoopCount = this.reviveItem(e3, r); + } }, untilCases: { enumerable: true, get: function() { + return this._untilCases; + }, set: function(e3) { + e3?.length && e3[0].type && e3.splice(0).forEach((t3) => { + e3.push({ referenceId: t3.referenceId, value: t3 }), delete t3.referenceId; + }), this._untilCases = this.reviveArray(e3, o); + } } }), e2.exports = s; + }, 1248(e2, t2, i2) { + const n2 = i2(28730), { menuActionActionType: o } = i2(30801); + function r() { + this.menuReference = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.menuReference = e3.pasteResolveOldIdToNewId(this.menuReference), this.name = e3.pasteResolveOldMenuNameToNewMenuName(this.name); + } } }), e2.exports = r; + }, 30276(e2, t2, i2) { + const n2 = i2(28730), { nextLoopActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 27450(e2, t2, i2) { + const n2 = i2(92140), o = i2(82149), r = i2(90807), a = i2(7401), { nuanceMixActionType: s } = i2(30801); + function l() { + Object.defineProperties(this, { _channelId: { writable: true }, _botVariables: { writable: true } }), this.botId = void 0, this.botName = void 0, this.botIntegrationId = void 0, this.botIntegrationName = void 0, l.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 2708: function(e2, t2, i2) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; - } - 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), 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; - } - return r2(i3, e3), i3.create = function(e4, t3, i4) { - return new f(e4, t3, i4); - }, i3.prototype.next = function(e4) { - this.isStopped ? y(c.nextNotification(e4), this) : this._next(e4); - }, i3.prototype.error = function(e4) { - this.isStopped ? y(c.errorNotification(e4), this) : (this.isStopped = true, this._error(e4)); - }, i3.prototype.complete = function() { - 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) { - this.destination.next(e4); - }, i3.prototype._error = function(e4) { - try { - this.destination.error(e4); - } finally { - this.unsubscribe(); - } - }, i3.prototype._complete = function() { - try { - this.destination.complete(); - } finally { - this.unsubscribe(); - } - }, i3; - })(a.Subscription); - t2.Subscriber = _; - var h = Function.prototype.bind; - function m(e3, t3) { - return h.call(e3, t3); + o.extend(l, s, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { + if (l._super.pasteReIdOrRename.apply(this, arguments), n2.isArray(this.variables)) for (let t3 = 0; t3 < this.variables.length; t3++) this.botVariables[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + if (l._super.pasteResolveOldToNewValues.apply(this, arguments), n2.isArray(this.variables)) for (let t3 = 0; t3 < this.variables.length; t3++) this.botVariables[t3].pasteResolveOldToNewValues(e3); + } }, botVariables: { enumerable: true, get: function() { + return this._botVariables; + }, set: function(e3) { + this._botVariables = this.reviveArray(e3, r); + } }, channelId: { enumerable: true, get: function() { + return this._channelId; + }, set: function(e3) { + this._channelId = this.reviveItem(e3, a); + } } }), e2.exports = l; + }, 11343(e2, t2, i2) { + const n2 = i2(28730), { participantRecordActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 12715(e2, t2, i2) { + const n2 = i2(2210), o = i2(28730), { playAudioActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _prompts: { writable: true } }), a.baseConstructor.apply(this, arguments); } - var g = (function() { - function e3(e4) { - this.partialObserver = e4; - } - return e3.prototype.next = function(e4) { - var t3 = this.partialObserver; - if (t3.next) try { - t3.next(e4); - } catch (e5) { - T(e5); - } - }, e3.prototype.error = function(e4) { - var t3 = this.partialObserver; - if (t3.error) try { - t3.error(e4); - } catch (e5) { - T(e5); - } - else T(e4); - }, e3.prototype.complete = function() { - var e4 = this.partialObserver; - if (e4.complete) try { - e4.complete(); - } catch (e5) { - T(e5); - } - }, e3; - })(), f = (function(e3) { - function t3(t4, i3, n3) { - var r3, a2, l2 = e3.call(this) || this; - return o.isFunction(t4) || !t4 ? r3 = { next: null != t4 ? t4 : void 0, error: null != i3 ? i3 : void 0, complete: null != n3 ? n3 : void 0 } : l2 && s.config.useDeprecatedNextContext ? ((a2 = Object.create(t4)).unsubscribe = function() { - return l2.unsubscribe(); - }, r3 = { next: t4.next && m(t4.next, a2), error: t4.error && m(t4.error, a2), complete: t4.complete && m(t4.complete, a2) }) : r3 = t4, l2.destination = new g(r3), l2; - } - return r2(t3, e3), t3; - })(_); - function T(e3) { - s.config.useDeprecatedSynchronousErrorHandling ? p.captureError(e3) : l.reportUnhandledError(e3); + o.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.prompts.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.prompts.pasteResolveOldToNewValues(e3); + } }, prompts: { enumerable: true, get: function() { + return this._prompts; + }, set: function(e3) { + this._prompts = this.reviveItem(e3, n2); + } } }), e2.exports = a; + }, 30825(e2, t2, i2) { + const n2 = i2(2210), o = i2(81084), r = i2(7401), { playAudioOnSilenceActionType: a } = i2(30801); + function s() { + Object.defineProperties(this, { _actualRepeatCount: { writable: true }, _allowedRepeatCount: { writable: true }, _audio: { writable: true } }), s.baseConstructor.apply(this, arguments); } - function y(e3, t3) { - var i3 = s.config.onStoppedNotification; - i3 && d.timeoutProvider.setTimeout(function() { - return i3(e3, t3); + o.extend(s, a, "PlayAudioOnSilenceActionModel"), Object.defineProperties(s.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.actualRepeatCount.pasteReIdOrRename(e3), this.allowedRepeatCount.pasteReIdOrRename(e3), this.audio.pasteReIdOrRename(e3); + } }, pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.actualRepeatCount.pasteResolveOldToNewValues(e3), this.allowedRepeatCount.pasteResolveOldToNewValues(e3), this.audio.pasteResolveOldToNewValues(e3); + } }, actualRepeatCount: { enumerable: true, get: function() { + return this._actualRepeatCount; + }, set: function(e3) { + this._actualRepeatCount = this.reviveItem(e3, r); + } }, allowedRepeatCount: { enumerable: true, get: function() { + return this._allowedRepeatCount; + }, set: function(e3) { + this._allowedRepeatCount = this.reviveItem(e3, r); + } }, audio: { enumerable: true, get: function() { + return this._audio; + }, set: function(e3) { + this._audio = this.reviveItem(e3, n2); + } } }), e2.exports = s; + }, 50807(e2, t2, i2) { + const n2 = i2(92140), o = i2(2210), r = i2(28730), a = i2(7401), s = i2(26151), { playEstimatedWaitTimeActionType: l } = i2(30801); + function u() { + Object.defineProperties(this, { _prompts: { writable: true }, _estimatedWaitTime: { writable: true }, _playbackMode: { writable: true }, _roundingInterval: { writable: true }, _specificRoundingIntervals: { writable: true } }), u.baseConstructor.apply(this, arguments); + } + r.extend(u, l, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { + u._super.pasteReIdOrRename.apply(this, arguments), this.estimatedWaitTime.pasteReIdOrRename(e3), this.prompts.pasteReIdOrRename(e3), this.roundingInterval.pasteReIdOrRename(e3), n2.each(this.specificRoundingIntervals, function(t3) { + t3.pasteReIdOrRename(e3); + }); + } }, pasteResolveOldToNewValues: { value: function(e3) { + u._super.pasteResolveOldToNewValues.apply(this, arguments), this.estimatedWaitTime.pasteResolveOldToNewValues(e3), this.prompts.pasteResolveOldToNewValues(e3), this.roundingInterval.pasteResolveOldToNewValues(e3), n2.each(this.specificRoundingIntervals, function(t3) { + t3.pasteResolveOldToNewValues(e3); }); + } }, estimatedWaitTime: { enumerable: true, get: function() { + return this._estimatedWaitTime; + }, set: function(e3) { + this._estimatedWaitTime = this.reviveItem(e3, a); + } }, prompts: { enumerable: true, get: function() { + return this._prompts; + }, set: function(e3) { + this._prompts = this.reviveItem(e3, o); + } }, playbackMode: { enumerable: true, get: function() { + return this._playbackMode; + }, set: function(e3) { + this._playbackMode = this.reviveEnum(e3, s); + } }, roundingInterval: { enumerable: true, get: function() { + return this._roundingInterval; + }, set: function(e3) { + this._roundingInterval = this.reviveItem(e3, a); + } }, specificRoundingIntervals: { enumerable: true, get: function() { + return this._specificRoundingIntervals; + }, set: function(e3) { + this._specificRoundingIntervals = this.reviveArray(e3, a); + } } }), e2.exports = u; + }, 38752(e2, t2, i2) { + const n2 = i2(2210), o = i2(28730), r = i2(7401), a = i2(96946), { playPositionInQueueActionType: s } = i2(30801); + function l() { + Object.defineProperties(this, { _prompts: { writable: true }, _positionInQueue: { writable: true }, _playbackMode: { writable: true } }), l.baseConstructor.apply(this, arguments); } - t2.SafeSubscriber = f, t2.EMPTY_OBSERVER = { closed: true, next: u.noop, error: function(e3) { - throw e3; - }, complete: u.noop }; - }, 2750: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { getExternalContactActionType: o } = i2(30801); + o.extend(l, s, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { + l._super.pasteReIdOrRename.apply(this, arguments), this.positionInQueue.pasteReIdOrRename(e3), this.prompts.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + l._super.pasteResolveOldToNewValues.apply(this, arguments), this.positionInQueue.pasteResolveOldToNewValues(e3), this.prompts.pasteReIdOrRename(e3); + } }, positionInQueue: { enumerable: true, get: function() { + return this._positionInQueue; + }, set: function(e3) { + this._positionInQueue = this.reviveItem(e3, r); + } }, prompts: { enumerable: true, get: function() { + return this._prompts; + }, set: function(e3) { + this._prompts = this.reviveItem(e3, n2); + } }, playbackMode: { enumerable: true, get: function() { + return this._playbackMode; + }, set: function(e3) { + this._playbackMode = this.reviveEnum(e3, a); + } } }), e2.exports = l; + }, 71507(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { playUserGreetingActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _user: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.user.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.user.pasteResolveOldToNewValues(e3); + } }, user: { enumerable: true, get: function() { + return this._user; + }, set: function(e3) { + this._user = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 36955(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { playUserNameActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _user: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.user.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.user.pasteResolveOldToNewValues(e3); + } }, user: { enumerable: true, get: function() { + return this._user; + }, set: function(e3) { + this._user = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 45279(e2, t2, i2) { + const n2 = i2(28730), { previousMenuActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 13462(e2, t2, i2) { + const n2 = i2(13240), { processVoicemailInputActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments); + } }, pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments); + } } }), e2.exports = r; + }, 43346(e2, t2, i2) { + const n2 = i2(75458), o = i2(7401), { promoteExternalContactActionType: r } = i2(30801); function a() { Object.defineProperties(this, { _externalContact: { writable: true }, _externalContactId: { writable: true } }), a.baseConstructor.apply(this, arguments); } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { a._super.pasteReIdOrRename.apply(this, arguments), this.externalResult.pasteReIdOrRename(e3), this.externalId.pasteReIdOrRename(e3); } }, pasteResolveOldToNewValues: { value: function(e3) { a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalResult.pasteResolveOldToNewValues(e3), this.externalId.pasteResolveOldToNewValues(e3); } }, externalResult: { enumerable: true, get: function() { return this._externalContact; }, set: function(e3) { - this._externalContact = this.reviveItem(e3, r2); + this._externalContact = this.reviveItem(e3, o); } }, externalId: { enumerable: true, get: function() { return this._externalContactId; }, set: function(e3) { - this._externalContactId = this.reviveItem(e3, r2); + this._externalContactId = this.reviveItem(e3, o); } } }), e2.exports = a; - }, 2800: (e2, t2, i2) => { - "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 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; - } - get className() { - return "ObjectValueMismatch"; - } - get compareValue() { - return this._compareValue; - } - get compareToValue() { - return this._compareToValue; - } - get displayString() { - switch (this._mismatchType) { - case s.MISMATCH_INPUT: - case s.MISMATCH_INCOMPATIBLE: - case s.MISMATCH_OUTPUT: - return l.objectValueMismatch[this._mismatchType]; - case s.MISMATCH_DATA_TYPE: - case s.MISMATCH_NAME: - return (0, r2.sprintf)(l.objectValueMismatch[this._mismatchType], this.compareValue.displayString, this.compareToValue.displayString); - default: - return u.error(`Unsupported mismatch type of '${this._mismatchType}'. No display string available. Using fallback default.`), (0, r2.sprintf)(l.objectValueMismatch.default, this.compareValue.displayString, this.compareToValue.displayString); - } - } - get isObjectValueMismatch() { - return true; - } - get mismatchType() { - return this._mismatchType; - } + }, 87129(e2, t2, i2) { + const n2 = i2(28730), { repeatMenuActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 63007(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { returnToAgentActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _reasonCode: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.ObjectValueMismatch = c; - }, 2812: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "emptyJson"; - } - get displayTypeName() { - return "ArchValueEmptyJson"; - } - get isArchValueEmptyJson() { - return true; - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.reasonCode.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.reasonCode.pasteResolveOldToNewValues(e3); + } }, reasonCode: { enumerable: true, get: function() { + return this._reasonCode; + }, set: function(e3) { + this._reasonCode = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 55422(e2, t2, i2) { + const n2 = i2(28730), o = i2(90807), { screenPopActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _inputs: { writable: true } }), this.screenPopId = void 0, this.screenPopName = void 0, a.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 2884: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.observable = void 0, t2.observable = "function" == typeof Symbol && Symbol.observable || "@@observable"; - }, 2899: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.propertyToLiteralResolverNames = void 0, t2.propertyToLiteralResolverNames = { propIDToCountryCode: "propIDToCountryCode", propIDToConversationType: "propIDToConversationType", propIDToCurrencyCode: "propIDToCurrencyCode", propIDToDialingCode: "propIDToDialingCode", propIDToLanguageTag: "propIDToLanguageTag", propIDToMessageBodyStyle: "propIDToMessageBodyStyle", propIDToSurveyDisposition: "propIDToSurveyDisposition", propIDToSendResponseBodyType: "propIDToSendResponseBodyType" }; - }, 2959: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ignoreElements = void 0; - var n2 = i2(65212), r2 = i2(17214), o = i2(5717); - t2.ignoreElements = function() { - return n2.operate(function(e3, t3) { - e3.subscribe(r2.createOperatorSubscriber(t3, o.noop)); - }); - }; - }, 3022: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "externalLineInfo"; - } - get displayName() { - } - get ids() { - } - get displayTypeName() { - return "ArchValueExternalLineInfo"; - } - get isArchValueExternalLineInfo() { - return true; - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); + } }, inputs: { enumerable: true, get: function() { + return this._inputs; + }, set: function(e3) { + this._inputs = this.reviveArray(e3, o); + } } }), e2.exports = a; + }, 9275(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { searchExternalContactsActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _externalContactSearchTerm: { writable: true }, _externalContacts: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 3095: (e2, t2, i2) => { - const { askForBooleanActionType: n2 } = i2(30801); - function r2() { - r2.baseConstructor.apply(this, arguments); + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.externalId.pasteReIdOrRename(e3), this.externalResult.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalId.pasteResolveOldToNewValues(e3), this.externalResult.pasteResolveOldToNewValues(e3); + } }, externalId: { enumerable: true, get: function() { + return this._externalContactSearchTerm; + }, set: function(e3) { + this._externalContactSearchTerm = this.reviveItem(e3, o); + } }, externalResult: { enumerable: true, get: function() { + return this._externalContacts; + }, set: function(e3) { + this._externalContacts = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 95774(e2, t2, i2) { + const n2 = i2(69823), { secureActionActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 66182(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { sendAutoReplyActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _from: { writable: true }, _replyTo: { writable: true }, _cc: { writable: true }, _bcc: { writable: true }, _messageBody: { writable: true }, _attachments: { writable: true } }), this.replyToSenderOnly = void 0, a.baseConstructor.apply(this, arguments); } - i2(2444).extend(r2, n2, true), e2.exports = r2; - }, 3143: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.debounce = void 0; - var n2 = i2(65212), r2 = i2(5717), o = i2(17214), a = i2(19724); - t2.debounce = function(e3) { - return n2.operate(function(t3, i3) { - var n3 = false, s = null, l = null, u = function() { - if (null == l || l.unsubscribe(), l = null, n3) { - n3 = false; - var e4 = s; - s = null, i3.next(e4); - } - }; - t3.subscribe(o.createOperatorSubscriber(i3, function(t4) { - null == l || l.unsubscribe(), n3 = true, s = t4, l = o.createOperatorSubscriber(i3, u, r2.noop), a.innerFrom(e3(t4)).subscribe(l); - }, function() { - u(), i3.complete(); - }, void 0, function() { - s = l = null; - })); - }); - }; - }, 3172: (e2, t2, i2) => { - const n2 = i2(19420); - function r2() { - r2.baseConstructor.apply(this, arguments); + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.from.pasteReIdOrRename(e3), this.replyTo.pasteReIdOrRename(e3), this.cc.pasteReIdOrRename(e3), this.bcc.pasteReIdOrRename(e3), this.messageBody.pasteReIdOrRename(e3), this.attachments?.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.from.pasteResolveOldToNewValues(e3), this.replyTo.pasteResolveOldToNewValues(e3), this.cc.pasteResolveOldToNewValues(e3), this.bcc.pasteResolveOldToNewValues(e3), this.messageBody.pasteResolveOldToNewValues(e3), this.attachments?.pasteResolveOldToNewValues(e3); + } }, from: { enumerable: true, get: function() { + return this._from; + }, set: function(e3) { + this._from = this.reviveItem(e3, o); + } }, replyTo: { enumerable: true, get: function() { + return this._replyTo; + }, set: function(e3) { + this._replyTo = this.reviveItem(e3, o); + } }, cc: { enumerable: true, get: function() { + return this._cc; + }, set: function(e3) { + this._cc = this.reviveItem(e3, o); + } }, bcc: { enumerable: true, get: function() { + return this._bcc; + }, set: function(e3) { + this._bcc = this.reviveItem(e3, o); + } }, messageBody: { enumerable: true, get: function() { + return this._messageBody; + }, set: function(e3) { + this._messageBody = this.reviveItem(e3, o); + } }, attachments: { enumerable: true, get: function() { + return this._attachments; + }, set: function(e3) { + this._attachments = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 4009(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { sendInteractiveApplicationActionActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _applicationName: { writable: true }, _applicationUrl: { writable: true }, _applicationImage: { writable: true }, _title: { writable: true }, _subTitle: { writable: true } }), a.baseConstructor.apply(this, arguments); } - function o() { - o.baseConstructor.apply(this, arguments); + Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.applicationName.pasteReIdOrRename(e3), this.applicationUrl.pasteReIdOrRename(e3), this.applicationImage.pasteReIdOrRename(e3), this.title.pasteReIdOrRename(e3), this.subTitle.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.applicationName.pasteResolveOldToNewValues(e3), this.applicationUrl.pasteResolveOldToNewValues(e3), this.applicationImage.pasteResolveOldToNewValues(e3), this.title.pasteResolveOldToNewValues(e3), this.subTitle.pasteResolveOldToNewValues(e3); + } }, applicationName: { enumerable: true, get: function() { + return this._applicationName; + }, set: function(e3) { + this._applicationName = this.reviveItem(e3, o); + } }, applicationUrl: { enumerable: true, get: function() { + return this._applicationUrl; + }, set: function(e3) { + this._applicationUrl = this.reviveItem(e3, o); + } }, applicationImage: { enumerable: true, get: function() { + return this._applicationImage; + }, set: function(e3) { + this._applicationImage = this.reviveItem(e3, o); + } }, title: { enumerable: true, get: function() { + return this._title; + }, set: function(e3) { + this._title = this.reviveItem(e3, o); + } }, subTitle: { enumerable: true, get: function() { + return this._subTitle; + }, set: function(e3) { + this._subTitle = this.reviveItem(e3, o); + } } }), n2.extend(a, r, true), e2.exports = a, i2(30801); + }, 53548(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { sendKnowledgeFeedbackActionActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _knowledgeArticle: { writable: true }, _knowledgeFeedback: { writable: true }, _knowledgeSearchId: { writable: true } }), a.baseConstructor.apply(this, arguments); } + Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.knowledgeArticle.pasteReIdOrRename(e3), this.knowledgeFeedback.pasteReIdOrRename(e3), this.knowledgeSearchId.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.knowledgeArticle.pasteResolveOldToNewValues(e3), this.knowledgeFeedback.pasteResolveOldToNewValues(e3), this.knowledgeSearchId.pasteResolveOldToNewValues(e3); + } }, knowledgeArticle: { enumerable: true, get: function() { + return this._knowledgeArticle; + }, set: function(e3) { + this._knowledgeArticle = this.reviveItem(e3, o); + } }, knowledgeFeedback: { enumerable: true, get: function() { + return this._knowledgeFeedback; + }, set: function(e3) { + this._knowledgeFeedback = this.reviveItem(e3, o); + } }, knowledgeSearchId: { enumerable: true, get: function() { + return this._knowledgeSearchId; + }, set: function(e3) { + this._knowledgeSearchId = this.reviveItem(e3, o); + } } }), n2.extend(a, r, true), e2.exports = a; + }, 73322(e2, t2, i2) { + const n2 = i2(75458), o = i2(7401), { sendNotificationActionType: r } = i2(30801); function a() { - a.baseConstructor.apply(this, arguments); + Object.defineProperties(this, { _notificationType: { writable: true }, _subject: { writable: true }, _body: { writable: true }, _sendToUsers: { writable: true }, _emailNotificationStyle: { writable: true }, _emailFrom: { writable: true }, _errorBindings: { writable: true }, _sendToGroup: { writable: true }, _chatMessage: { writable: true } }), a.baseConstructor.apply(this, arguments); } - function s() { - s.baseConstructor.apply(this, arguments); + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.notificationType.pasteReIdOrRename(e3), this.subject.pasteReIdOrRename(e3), this.body.pasteReIdOrRename(e3), this.sendToUsers.pasteReIdOrRename(e3), this.emailNotificationStyle.pasteReIdOrRename(e3), this.emailFrom.pasteReIdOrRename(e3), this.sendToGroup.pasteReIdOrRename(e3), this.chatMessage.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.notificationType.pasteResolveOldToNewValues(e3), this.subject.pasteResolveOldToNewValues(e3), this.body.pasteResolveOldToNewValues(e3), this.sendToUsers.pasteResolveOldToNewValues(e3), this.emailNotificationStyle.pasteResolveOldToNewValues(e3), this.emailFrom.pasteResolveOldToNewValues(e3), this.sendToGroup.pasteResolveOldToNewValues(e3), this.chatMessage.pasteResolveOldToNewValues(e3); + } }, notificationType: { enumerable: true, get: function() { + return this._notificationType; + }, set: function(e3) { + this._notificationType = this.reviveItem(e3, o); + } }, subject: { enumerable: true, get: function() { + return this._subject; + }, set: function(e3) { + this._subject = this.reviveItem(e3, o); + } }, body: { enumerable: true, get: function() { + return this._body; + }, set: function(e3) { + this._body = this.reviveItem(e3, o); + } }, sendToUsers: { enumerable: true, get: function() { + return this._sendToUsers; + }, set: function(e3) { + this._sendToUsers = this.reviveItem(e3, o); + } }, emailNotificationStyle: { enumerable: true, get: function() { + return this._emailNotificationStyle; + }, set: function(e3) { + this._emailNotificationStyle = this.reviveItem(e3, o); + } }, emailFrom: { enumerable: true, get: function() { + return this._emailFrom; + }, set: function(e3) { + this._emailFrom = this.reviveItem(e3, o); + } }, sendToGroup: { enumerable: true, get: function() { + return this._sendToGroup; + }, set: function(e3) { + this._sendToGroup = this.reviveItem(e3, o); + } }, chatMessage: { enumerable: true, get: function() { + return this._chatMessage; + }, set: function(e3) { + this._chatMessage = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 8538(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { sendResponseActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _messageBody: { writable: true }, _messageBodyStyle: { writable: true }, _attachments: { writable: true } }), a.baseConstructor.apply(this, arguments); } - i2(27183), n2.extend(r2, "BaseLanguageEnumContainerVariable", true), Object.defineProperty(r2.prototype, "isLanguageEnumVariable", { value: true }), r2.extend(o, "LanguageCaseEnumContainerVariable", true), r2.extend(a, "LanguageGenderEnumContainerVariable", true), r2.extend(s, "LanguageQuantityEnumContainerVariable", true), e2.exports = { LanguageCaseEnumContainerVariable: o, LanguageGenderEnumContainerVariable: a, LanguageQuantityEnumContainerVariable: s }; - }, 3211: (e2, t2, i2) => { - const n2 = i2(82149), { digitalBotConnectorActionType: r2 } = i2(30801), o = i2(7401), a = i2(42217); - function s() { - Object.defineProperties(this, { _outputSessionVariables: { writable: true }, _botResponseTimeout: { writable: true }, _sessionTimeout: { writable: true } }), this.languages = void 0, this.botCompositeTag = void 0, this.botId = void 0, this.botName = void 0, this.versionId = void 0, this.versionName = void 0, this.botIntegrationId = void 0, this.botIntegrationName = void 0, s.baseConstructor.apply(this, arguments); + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.messageBodyStyle.pasteReIdOrRename(e3), this.messageBody.pasteReIdOrRename(e3), this.attachments?.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.messageBodyStyle.pasteResolveOldToNewValues(e3), this.messageBody.pasteResolveOldToNewValues(e3), this.attachments?.pasteResolveOldToNewValues(e3); + } }, messageBodyStyle: { enumerable: true, get: function() { + return this._messageBodyStyle; + }, set: function(e3) { + this._messageBodyStyle = this.reviveItem(e3, o); + } }, messageBody: { enumerable: true, get: function() { + return this._messageBody; + }, set: function(e3) { + this._messageBody = this.reviveItem(e3, o); + } }, attachments: { enumerable: true, get: function() { + return this._attachments; + }, set: function(e3) { + this._attachments = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 94639(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { setActiveIntentActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _intent: { writable: true } }), a.baseConstructor.apply(this, arguments); } - n2.extend(s, r2, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.botResponseTimeout?.pasteReIdOrRename(e3), this.sessionTimeout?.pasteReIdOrRename(e3); + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.intent.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.intent.pasteReIdOrRename(e3); + } }, intent: { enumerable: true, get: function() { + return this._intent; + }, set: function(e3) { + this._intent = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 89844(e2, t2, i2) { + const n2 = i2(28730), { setAttributesActionType: o } = i2(30801), r = i2(42217); + function a() { + Object.defineProperties(this, { _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments); + for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteReIdOrRename(e3); } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.botResponseTimeout?.pasteResolveOldToNewValues(e3), this.sessionTimeout?.pasteResolveOldToNewValues(e3); - } }, outputSessionVariables: { enumerable: true, get: function() { - return this._outputSessionVariables; + a._super.pasteResolveOldToNewValues.apply(this, arguments); + for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteResolveOldToNewValues(e3); + } }, variables: { enumerable: true, get: function() { + return this._variables; }, set: function(e3) { - this._outputSessionVariables = this.reviveArray(e3, a); - } }, botResponseTimeout: { enumerable: true, get: function() { - return this._botResponseTimeout; + this._variables = this.reviveArray(e3, r); + } } }), e2.exports = a; + }, 1102(e2, t2, i2) { + const n2 = i2(60475), o = i2(7401), { setConversationDataActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _participantId: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.participantId.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.participantId.pasteResolveOldToNewValues(e3); + } }, participantId: { enumerable: true, get: function() { + return this._participantId; }, set: function(e3) { - this._botResponseTimeout = this.reviveItem(e3, o); - } }, sessionTimeout: { enumerable: true, get: function() { - return this._sessionTimeout; + this._participantId = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 60232(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { setExternalTagActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _externalTag: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.externalTag.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalTag.pasteResolveOldToNewValues(e3); + } }, externalTag: { enumerable: true, get: function() { + return this._externalTag; }, set: function(e3) { - this._sessionTimeout = this.reviveItem(e3, o); - } } }), e2.exports = s; - }, 3215: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreMenuSettingsViewModel = e3; - } - get displayTypeName() { - return "ArchSettingsMenu"; - } - get _allowBlankObjectId() { - return true; - } - get extensionDialingMaxDelay() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().extensionDialingDelay); - } - get logStr() { - if (!this._coreMenuSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreMenuSettingsViewModel.parent), this._createLogStrFromParts(e3); - } - get isArchSettingsMenu() { - return true; - } - get listenForExtensionDialing() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().useExtensionDialing); - } - get menuSelectionTimeout() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().promptRepeatDelay); - } - get repeatCount() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().promptRepeatCount); - } + this._externalTag = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 67277(e2, t2, i2) { + const n2 = i2(5410), o = i2(7401), { setFlowOutcomeActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _outcomeValue: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 3219: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allWorkitemFailureReasons = t2.workitemFailureReasonsForUtilizationLabelActions = t2.queueTransferActionWorkitemFailureReasons = t2.userTransferActionWorkitemFailureReasons = t2.updateWorkitemFailureReasons = t2.terminateWorkitemFailureReasons = t2.disconnectWorkitemFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", agentScoreOutOfRange: "AgentScoreOutOfRange", generalError: "GeneralError", invalidValue: "InvalidValue", invalidWorkitem: "InvalidWorkitem", workitemUpdateLimitHit: "WorkitemUpdateLimitHit" }, o = [r2.generalError]; - t2.disconnectWorkitemFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.invalidWorkitem, r2.workitemUpdateLimitHit])), t2.terminateWorkitemFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.invalidWorkitem, r2.workitemUpdateLimitHit])), t2.updateWorkitemFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.invalidValue, r2.invalidWorkitem, r2.workitemUpdateLimitHit])); - const a = n2.default.uniq(o.concat([r2.invalidWorkitem, r2.actionInvocationLimitExceeded, r2.workitemUpdateLimitHit])); - t2.userTransferActionWorkitemFailureReasons = a, t2.queueTransferActionWorkitemFailureReasons = n2.default.uniq(a.concat([r2.agentScoreOutOfRange])), t2.workitemFailureReasonsForUtilizationLabelActions = n2.default.uniq(o.concat([r2.invalidWorkitem, r2.workitemUpdateLimitHit])), t2.allWorkitemFailureReasons = r2; - }, 3220: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchLanguages = void 0; - const n2 = i2(31635).__importDefault(i2(8471)), r2 = i2(24812); - class o extends n2.default { - get displayTypeName() { - return "ArchLanguages"; - } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - getByLanguageTag(e3) { - const t3 = this._infoParm("ietfLanguageTag", "getByLanguageTag"); - this._checkItemIsValidLiteralString(t3, e3); - const i3 = r2.isoLanguages[e3.toLowerCase()]; - return this._checkItem(t3, !i3, "the language tag of '" + e3 + "' is not valid."), this.coreFactory.createArchWrapper(i3); - } - get bulgarianBulgaria() { - return this.getByLanguageTag("bg-bg"); - } - get chineseSimplified() { - return this.getByLanguageTag("zh-cn"); - } - get chineseTraditional() { - return this.getByLanguageTag("zh-hk"); - } - get czechCzechRepublic() { - return this.getByLanguageTag("cs-cz"); - } - get dutchNetherlands() { - return this.getByLanguageTag("nl-nl"); - } - get englishAustralia() { - return this.getByLanguageTag("en-au"); - } - get englishGreatBritain() { - return this.getByLanguageTag("en-gb"); - } - get englishUnitedStates() { - return this.getByLanguageTag("en-us"); - } - get finnishFinland() { - return this.getByLanguageTag("fi-fi"); - } - get frenchCanada() { - return this.getByLanguageTag("fr-ca"); - } - get frenchFrance() { - return this.getByLanguageTag("fr-fr"); - } - get germanGermany() { - return this.getByLanguageTag("de-de"); - } - get italianItaly() { - return this.getByLanguageTag("it-it"); - } - get japaneseJapan() { - return this.getByLanguageTag("ja-jp"); - } - get norwegianNorway() { - return this.getByLanguageTag("nb-no"); - } - get polishPoland() { - return this.getByLanguageTag("pl-pl"); - } - get portugueseBrazil() { - return this.getByLanguageTag("pt-br"); - } - get portuguesePortugal() { - return this.getByLanguageTag("pt-pt"); - } - get romanianRomania() { - return this.getByLanguageTag("ro-ro"); - } - get slovakSlovakia() { - return this.getByLanguageTag("sk-sk"); - } - get spanishUnitedStates() { - return this.getByLanguageTag("es-us"); - } - get spanishSpain() { - return this.getByLanguageTag("es-es"); - } - get thaiThailand() { - return this.getByLanguageTag("th-th"); - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { outcomeValue: { enumerable: true, get: function() { + return this._outcomeValue; + }, set: function(e3) { + this._outcomeValue = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 71137(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { setLocaleActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _languageCode: { writable: true } }), a.baseConstructor.apply(this, arguments); } - t2.ArchLanguages = o; - const a = new o(); - 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), 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)); - } - get isLoopUntilAction() { - return true; - } - _initializeDesignTime() { - super._initializeDesignTime(); - } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(); - } - static get branchInfo() { - return [p.default.loop, p.default.loopNext, p.default.loopsMax]; - } - getReferenceById(e3) { - return this.getBranch(e3); - } - static get managedProperties() { - 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, f.loop.lessThanOne) : this.maxLoopCount.isNoValueMode && this.untilCases && this.untilCases.items && this.untilCases.items.length; - } - addUntilCase(e3, t3) { - 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; - } - propertyChanged(e3) { - super.propertyChanged(e3), e3 === this.untilCases ? this.cleanUpBranches() : e3 === this.maxLoopCount && (this.getReferenceById(p.default.loopsMax.outputId).outOfService = this.maxLoopCount.isNoValueMode, s.emitter.emit(s.branchesChanged)); - } - cleanUpBranches() { - this.isDestroyedOrDestroying || (this.optionalBranchInfo.forEach((e3) => { - var t3; - if (!this.untilCases.items.find((t4) => t4.referenceId === e3.outputId)) { - const i3 = this.getReferenceById(e3.outputId); - (null === (t3 = null == i3 ? void 0 : i3.children) || void 0 === t3 ? void 0 : t3.length) ? (i3.outOfService = true, s.emitter.emit(s.branchesChanged)) : this.removeOptionalBranchInfoById(e3.outputId); - } - }), this.sortBranches()); - } - sortBranches() { - const e3 = [...this.branchInfos.map((e4) => e4.outputId), ...this.untilCases.items.map((e4) => e4.referenceId)].reduce((e4, t3, i3) => (e4[t3] = i3, e4), {}); - 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)); - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.languageCode.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.languageCode.pasteResolveOldToNewValues(e3); + } }, languageCode: { enumerable: true, get: function() { + return this._languageCode; + }, set: function(e3) { + this._languageCode = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 173(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { setPostFlowActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _actionType: { writable: true }, _target: { writable: true }, _invocationData: { writable: true } }), this.flowId = void 0, this.flowName = void 0, this.flowVersion = void 0, this.flowLatestVersion = true, this.flowDebugPublished = false, this.voiceSurveyFlowId = void 0, this.voiceSurveyFlowName = void 0, this.voiceSurveyFlowVersion = void 0, this.voiceSurveyFlowLatestVersion = true, this.voiceSurveyFlowDebugPublished = false, this.inboundShortMessageFlowId = void 0, this.inboundShortMessageFlowName = void 0, this.inboundShortMessageFlowVersion = void 0, this.inboundShortMessageFlowLatestVersion = true, this.inboundShortMessageFlowDebugPublished = false, a.baseConstructor.apply(this, arguments); } - 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; - var n2 = i2(65212), r2 = i2(17214), o = i2(87699), a = i2(5825), s = i2(19724); - 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, 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 c2 = false; - i4 = e4.subscribe(r2.createOperatorSubscriber(t4, function(e5) { - d && (n3 = 0), t4.next(e5); - }, void 0, function(e5) { - if (n3++ < l) { - 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(), d2(); - }, function() { - t4.complete(); - }); - p.subscribe(_); - } else d2(); - } else t4.error(e5); - })), 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends u.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); - } - static get branchInfo() { - return o.default.successFailure; - } - get isSecureDataAction() { - 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: p.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; - } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.action?.pasteResolveOldToNewValues(e3), this.target.pasteResolveOldToNewValues(e3), this.invocationData.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.action?.pasteReIdOrRename(e3), this.target.pasteReIdOrRename(e3), this.invocationData.pasteReIdOrRename(e3); + } }, actionType: { enumerable: true, get: function() { + return this._actionType; + }, set: function(e3) { + this._actionType = this.reviveItem(e3, o); + } }, target: { enumerable: true, get: function() { + return this._target; + }, set: function(e3) { + this._target = this.reviveItem(e3, o); + } }, invocationData: { enumerable: true, get: function() { + return this._invocationData; + }, set: function(e3) { + this._invocationData = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 371(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { setPriorityActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _priority: { writable: true } }), a.baseConstructor.apply(this, arguments); } - 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), 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 = 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"; - } - dump() { - } - getFlowDefInfo() { - } - get additionalInfo() { - return this._additionalInfo; - } - get supportsCompanyDirectory() { - return this._supportsCompanyDirectory; - } - set supportsCompanyDirectory(e3) { - this._supportsCompanyDirectory = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsCompanyDirectory", "value")); - } - setSupportsCompanyDirectory(e3) { - return this.supportsCompanyDirectory = e3, this; - } - get supportsTestPreview() { - return this._supportsTestPreview; - } - set supportsTestPreview(e3) { - this._supportsTestPreview = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsPreview", "value")); - } - setSupportsPreview(e3) { - return this.supportsTestPreview = e3, this; - } - get supportsDebugPublish() { - return this._supportsDebugPublish; - } - set supportsDebugPublish(e3) { - this._supportsDebugPublish = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsDebugPublish", "value")); - } - setSupportsDebugPublish(e3) { - return this.supportsDebugPublish = e3, this; - } - get supportsDisableASR() { - return this._supportsDisableASR; - } - set supportsDisableASR(e3) { - this._supportsDisableASR = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsDisableASR", "value")); - } - setSupportsDisableASR(e3) { - return this.supportsDisableASR = e3, this; - } - get supportsDynamicTimeslots() { - return this._supportsDynamicTimeslots; - } - set supportsDynamicTimeslots(e3) { - this._supportsDynamicTimeslots = e3; - } - setSupportsDynamicTimeslots(e3) { - return this.supportsDynamicTimeslots = e3, this; - } - get supportsDefaultSpeechSettings() { - return this._supportsDefaultSpeechSettings; - } - set supportsDefaultSpeechSettings(e3) { - this._supportsDefaultSpeechSettings = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsDefaultSpeechSettings", "value")); - } - setSupportsDefaultSpeechSettings(e3) { - return this.supportsDefaultSpeechSettings = e3, this; - } - _checkInitializationForPropertyGet(e3) { - if (!this._isInitialized) throw new Error(`You are attempting to access the property '${e3}' on the flow definition '${this.type}' before it is initialized.`); - } - addAdditionalInfoSection(e3, t3, i3) { - return this._additionalInfo[e3] = { description: t3, value: i3 }, this; - } - get canSaveAs() { - return this._canSaveAs && this.isCreatable; - } - set canSaveAs(e3) { - this._canSaveAs = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "canSaveAs", "value")); - } - setCanSaveAs(e3) { - return this.canSaveAs = e3, this; - } - get canSuppressCallRecordings() { - return this._canSuppressCallRecordings; - } - set canSuppressCallRecordings(e3) { - this._canSuppressCallRecordings = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "canSuppressCallRecordings", "value")); - } - setCanSuppressCallRecordings(e3) { - return this.canSuppressCallRecordings = e3, this; - } - get suppressCallRecordingsDefaultValue() { - if (this._canSuppressCallRecordings) return this._suppressCallRecordingsDefaultValue; - } - set suppressCallRecordingsDefaultValue(e3) { - this._canSuppressCallRecordings && (this._suppressCallRecordingsDefaultValue = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "suppressCallRecordingsDefaultValue", "value"))); - } - setSuppressCallRecordingsDefaultValue(e3) { - return this.suppressCallRecordingsDefaultValue = e3, this; - } - get languageTtsAndAsrSettingsComeFromConversation() { - return this.languagesSupportTtsAndAsrRuntime && !this.languagesSupportTtsAndAsrSettings; - } - get commonLimits() { - return this._limits; - } - getAdditionalInfoSection(e3) { - return this._additionalInfo[e3]; - } - getSectionValue(e3) { - var t3; - return null === (t3 = this._additionalInfo[e3]) || void 0 === t3 ? void 0 : t3.value; - } - static createForFlowType(e3) { - return new T(e3); - } - get maxFlowSize() { - return this._maxFlowSize; - } - set maxFlowSize(e3) { - this._maxFlowSize = Math.round(m.ParameterValidator.expectNumber(e3, () => h.ParameterInfo.createPropertySet(this.className, "maxFlowSize", "value"))), this._maxFlowSizeToStopPublish = Math.round(this._maxFlowSize * s.default.maxFlowSizeToStopPublish); - } - setMaxFlowSize(e3) { - return this.maxFlowSize = e3, this; - } - get maxFlowSizeToStopPublish() { - return this._maxFlowSizeToStopPublish; - } - get supportsLogLevelConfiguration() { - return this._supportsLogLevelConfiguration; - } - set supportsLogLevelConfiguration(e3) { - this._supportsLogLevelConfiguration = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsLogLevelConfiguration", "value")); - } - setSupportsLogLevelConfiguration(e3) { - return this.supportsLogLevelConfiguration = e3, this; - } - get supportsNlu() { - return this._supportsNlu; - } - set supportsNlu(e3) { - this._supportsNlu = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsNlu", "value")); - } - setSupportsNlu(e3) { - return this.supportsNlu = e3, this; - } - get supportsNluCortex() { - return this._supportsNluCortex; + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.priority.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.priority.pasteReIdOrRename(e3); + } }, priority: { enumerable: true, get: function() { + return this._priority; + }, set: function(e3) { + this._priority = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 49508(e2, t2, i2) { + const n2 = i2(60475), { setSecuredDataActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 92825(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { setSkillsActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _acdSkills: { writable: true }, _languageSkill: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.acdSkills.pasteResolveOldToNewValues(e3), this.languageSkill.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.acdSkills.pasteReIdOrRename(e3), this.languageSkill.pasteReIdOrRename(e3); + } }, acdSkills: { enumerable: true, get: function() { + return this._acdSkills; + }, set: function(e3) { + this._acdSkills = this.reviveItem(e3, o); + } }, languageSkill: { enumerable: true, get: function() { + return this._languageSkill; + }, set: function(e3) { + this._languageSkill = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 58602(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { setUUIDataActionType: r } = i2(30801), a = i2(89720); + function s() { + Object.defineProperties(this, { _mode: { writable: true }, _uuiData: { writable: true } }), s.baseConstructor.apply(this, arguments); + } + n2.extend(s, r, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.uuiData.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.uuiData.pasteResolveOldToNewValues(e3); + } }, mode: { enumerable: true, get: function() { + return this._mode; + }, set: function(e3) { + this._mode = this.reviveEnum(e3, a); + } }, uuiData: { enumerable: true, get: function() { + return this._uuiData; + }, set: function(e3) { + this._uuiData = this.reviveItem(e3, o); + } } }), e2.exports = s; + }, 94449(e2, t2, i2) { + const n2 = i2(75458), o = i2(7401), { setUtilizationLabelActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _utilizationLabel: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.utilizationLabel.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.utilizationLabel.pasteReIdOrRename(e3); + } }, utilizationLabel: { enumerable: true, get: function() { + return this._utilizationLabel; + }, set: function(e3) { + this._utilizationLabel = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 40311(e2, t2, i2) { + const n2 = i2(2210), o = i2(13240), { setWhisperAudioActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _whisperAudio: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + o.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.whisperAudio.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.whisperAudio.pasteResolveOldToNewValues(e3); + } }, whisperAudio: { enumerable: true, get: function() { + return this._whisperAudio; + }, set: function(e3) { + this._whisperAudio = this.reviveItem(e3, n2); + } } }), e2.exports = a; + }, 75151(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { setWrapupCodeActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _wrapupCode: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.wrapupCode.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.wrapupCode.pasteResolveOldToNewValues(e3); + } }, wrapupCode: { enumerable: true, get: function() { + return this._wrapupCode; + }, set: function(e3) { + this._wrapupCode = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 22780(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { showKnowledgeArticleActionActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _knowledgeArticle: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.knowledgeArticle.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.knowledgeArticle.pasteResolveOldToNewValues(e3); + } }, knowledgeArticle: { enumerable: true, get: function() { + return this._knowledgeArticle; + }, set: function(e3) { + this._knowledgeArticle = this.reviveItem(e3, o); + } } }), n2.extend(a, r, true), e2.exports = a; + }, 50736(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { submitVoiceSnippetActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _snippet: { writable: true }, _destination: { writable: true }, _destinationSnippetId: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.snippet.pasteReIdOrRename(e3), this.destination.pasteReIdOrRename(e3), this.destinationSnippetId.pasteReIdOrRename(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.snippet.pasteResolveOldToNewValues(e3), this.destination.pasteResolveOldToNewValues(e3), this.destinationSnippetId.pasteResolveOldToNewValues(e3); + } }, snippet: { enumerable: true, get: function() { + return this._snippet; + }, set: function(e3) { + this._snippet = this.reviveItem(e3, o); + } }, destination: { enumerable: true, get: function() { + return this._destination; + }, set: function(e3) { + this._destination = this.reviveItem(e3, o); + } }, destinationSnippetId: { enumerable: true, get: function() { + return this._destinationSnippetId; + }, set: function(e3) { + this._destinationSnippetId = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 93443(e2, t2, i2) { + const n2 = i2(13240), { submitVoicemailSnippetActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments); + } }, pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments); + } } }), e2.exports = r; + }, 32601(e2, t2, i2) { + const n2 = i2(13240), o = i2(90807), r = i2(7401), { switchActionActionType: a } = i2(30801); + function s() { + Object.defineProperties(this, { _expression: { writable: true }, _cases: { writable: true } }), this.switchStyle = void 0, this.version = void 0, s.baseConstructor.apply(this, arguments); + } + n2.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.expression.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.expression.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteResolveOldToNewValues(e3); + } }, expression: { enumerable: true, get: function() { + return this._expression; + }, set: function(e3) { + this._expression = this.reviveItem(e3, r); + } }, cases: { enumerable: true, get: function() { + return this._cases; + }, set: function(e3) { + this._cases = this.reviveArray(e3, o); + } } }), e2.exports = s; + }, 52030(e2, t2, i2) { + const n2 = i2(28730), { taskActionActionType: o } = i2(30801); + function r() { + this.taskReference = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.taskReference = e3.pasteResolveOldIdToNewId(this.taskReference), this.name = e3.pasteResolveOldTaskNameToNewTaskName(this.name); + } } }), e2.exports = r; + }, 89016(e2, t2, i2) { + const n2 = i2(75458), { terminateWorkitemActionType: o } = i2(30801); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), e2.exports = r; + }, 84195(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { transcriptionActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _enableTranscription: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.enableTranscription.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.enableTranscription.pasteResolveOldToNewValues(e3); + } }, enableTranscription: { enumerable: true, get: function() { + return this._enableTranscription; + }, set: function(e3) { + this._enableTranscription = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 14075(e2, t2, i2) { + const n2 = i2(54976), o = i2(7401); + function r() { + Object.defineProperties(this, { _connTimeout: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "TransferActionWithConnectTimeoutModel"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.connTimeout.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.connTimeout.pasteResolveOldToNewValues(e3); + } }, connTimeout: { enumerable: true, get: function() { + return this._connTimeout; + }, set: function(e3) { + this._connTimeout = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 37293(e2, t2, i2) { + const n2 = i2(7401), o = i2(14075), { transferExternalActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _externalNumber: { writable: true }, _releaseLinkTransfer: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + o.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.externalNumber.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalNumber.pasteResolveOldToNewValues(e3); + } }, externalNumber: { enumerable: true, get: function() { + return this._externalNumber; + }, set: function(e3) { + this._externalNumber = this.reviveItem(e3, n2); + } }, releaseLinkTransfer: { enumerable: true, get: function() { + return this._releaseLinkTransfer; + }, set: function(e3) { + this._releaseLinkTransfer = this.reviveItem(e3, n2); + } } }), e2.exports = a; + }, 54668(e2, t2, i2) { + const n2 = i2(54976), o = i2(24032), { transferFlowActionType: r } = i2(30801), a = o.getTopic("transferToFlowAction"); + function s() { + this.flowId = void 0, this.flowName = void 0, s.baseConstructor.apply(this, arguments); + } + n2.extend(s, r, true), Object.defineProperties(s.prototype, { getConfiguration: { value: function(e3, t3) { + const i3 = s._super.getConfiguration.apply(this); + return t3?.isForFlowYaml || i3.hasOwnProperty("flowId") || a.infoWithStack(null, "FlowId not found on TransferFlowActionModel"), i3; + } } }), e2.exports = s; + }, 44951(e2, t2, i2) { + const n2 = i2(7401), o = i2(54668), { transferFlowSecureActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _invocationData: { writable: true }, _connTimeout: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + o.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.connTimeout.pasteReIdOrRename(e3), this.invocationData.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.connTimeout.pasteResolveOldToNewValues(e3), this.invocationData.pasteResolveOldToNewValues(e3); + } }, connTimeout: { enumerable: true, get: function() { + return this._connTimeout; + }, set: function(e3) { + this._connTimeout = this.reviveItem(e3, n2); + } }, invocationData: { enumerable: true, get: function() { + return this._invocationData; + }, set: function(e3) { + this._invocationData = this.reviveItem(e3, n2); + } } }), e2.exports = a; + }, 39137(e2, t2, i2) { + const n2 = i2(7401), o = i2(14075), { transferGroupActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _allowVoicemail: { writable: true }, _user: { writable: true }, _group: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + o.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.allowVoicemail.pasteReIdOrRename(e3), this.group.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.allowVoicemail.pasteResolveOldToNewValues(e3), this.group.pasteResolveOldToNewValues(e3); + } }, allowVoicemail: { enumerable: true, get: function() { + return this._allowVoicemail; + }, set: function(e3) { + this._allowVoicemail = this.reviveItem(e3, n2); + } }, group: { get: function() { + return this._group; + }, set: function(e3) { + this._group = this.reviveItem(e3, n2); + }, enumerable: true } }), e2.exports = a; + }, 31061(e2, t2, i2) { + const n2 = i2(28730), { transferMenuActionType: o } = i2(30801); + function r() { + this.menuReference = void 0, this.menuName = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments); + const t3 = e3.pasteResolveOldIdToOldName(this.menuReference); + this.menuReference = this.pasteResolveReferenceAndName(e3, "menu", this.menuReference, t3).reference; + } } }), e2.exports = r; + }, 24421(e2, t2, i2) { + const n2 = i2(54976), o = i2(7401), r = i2(67641), { transferPureMatchActionType: a } = i2(30801); + function s() { + Object.defineProperties(this, { _alertOnTransfer: { writable: true }, _appendSkills: { writable: true }, _languageSkill: { writable: true }, _preferredAgents: { writable: true }, _directAgent: { writable: true }, _priority: { writable: true }, _queues: { writable: true }, _skills: { writable: true }, _skillExpressionFilters: { writable: true } }), this.inQueueFlowId = void 0, this.inQueueFlowName = void 0, this.useDefaultHandling = void 0, s.baseConstructor.apply(this, arguments); + } + n2.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this.alertOnTransfer?.pasteReIdOrRename(e3), this.appendSkills.pasteReIdOrRename(e3), this.directAgent.pasteReIdOrRename(e3), this.languageSkill.pasteReIdOrRename(e3), this.preferredAgents.pasteReIdOrRename(e3), this.priority.pasteReIdOrRename(e3), this.skillExpressionFilters?.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.queues.length; t3++) this.queues[t3].pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.skills.length; t3++) this.skills[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this.alertOnTransfer?.pasteResolveOldToNewValues(e3), this.appendSkills.pasteResolveOldToNewValues(e3), this.directAgent.pasteResolveOldToNewValues(e3), this.languageSkill.pasteResolveOldToNewValues(e3), this.preferredAgents.pasteResolveOldToNewValues(e3), this.priority.pasteResolveOldToNewValues(e3), this.skillExpressionFilters?.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.queues.length; t3++) this.queues[t3].pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.skills.length; t3++) this.skills[t3].pasteResolveOldToNewValues(e3); + } }, alertOnTransfer: { enumerable: true, get: function() { + return this._alertOnTransfer; + }, set: function(e3) { + this._alertOnTransfer = this.reviveItem(e3, o); + } }, appendSkills: { enumerable: true, get: function() { + return this._appendSkills; + }, set: function(e3) { + this._appendSkills = this.reviveItem(e3, o); + } }, directAgent: { enumerable: true, get: function() { + return this._directAgent; + }, set: function(e3) { + this._directAgent = this.reviveItem(e3, o); + } }, languageSkill: { enumerable: true, get: function() { + return this._languageSkill; + }, set: function(e3) { + this._languageSkill = this.reviveItem(e3, o); + } }, preferredAgents: { enumerable: true, get: function() { + return this._preferredAgents; + }, set: function(e3) { + this._preferredAgents = this.reviveItem(e3, o); + } }, priority: { enumerable: true, get: function() { + return this._priority; + }, set: function(e3) { + this._priority = this.reviveItem(e3, o); + } }, queues: { enumerable: true, get: function() { + return this._queues; + }, set: function(e3) { + this._queues = this.reviveArray(e3, o); + } }, skills: { enumerable: true, get: function() { + return this._skills; + }, set: function(e3) { + this._skills = this.reviveArray(e3, r); + } }, skillExpressionFilters: { enumerable: true, get: function() { + return this._skillExpressionFilters; + }, set: function(e3) { + this._skillExpressionFilters = this.reviveItem(e3, o); + } } }), e2.exports = s; + }, 68475(e2, t2, i2) { + const n2 = i2(70380), o = i2(12847), { transferTaskActionType: r } = i2(30801); + function a() { + a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { paths: { enumerable: true, get: function() { + }, set: function(e3) { + e3 && o.error("action does not support paths"); + } }, outputs: { enumerable: true, get: function() { + }, set: function(e3) { + e3 && o.error("action does not support outputs"); + } } }), e2.exports = a; + }, 68657(e2, t2, i2) { + const n2 = i2(7401), o = i2(14075), { transferUserActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _alertOnTransfer: { writable: true }, _allowVoicemail: { writable: true }, _user: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + o.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.alertOnTransfer?.pasteReIdOrRename(e3), this.allowVoicemail.pasteReIdOrRename(e3), this.user.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.alertOnTransfer?.pasteResolveOldToNewValues(e3), this.allowVoicemail.pasteResolveOldToNewValues(e3), this.user.pasteResolveOldToNewValues(e3); + } }, alertOnTransfer: { enumerable: true, get: function() { + return this._alertOnTransfer; + }, set: function(e3) { + this._alertOnTransfer = this.reviveItem(e3, n2); + } }, allowVoicemail: { enumerable: true, get: function() { + return this._allowVoicemail; + }, set: function(e3) { + this._allowVoicemail = this.reviveItem(e3, n2); + } }, user: { enumerable: true, get: function() { + return this._user; + }, set: function(e3) { + this._user = this.reviveItem(e3, n2); + } } }), e2.exports = a; + }, 63207(e2, t2, i2) { + const n2 = i2(2210), o = i2(54976), r = i2(90807), a = i2(7401), { transferVoicemailActionType: s } = i2(30801), l = i2(80748); + function u() { + Object.defineProperties(this, { _inputs: { writable: true }, _transferTarget: { writable: true }, _transferTargetGroup: { writable: true }, _transferTargetQueue: { writable: true }, _calleeName: { writable: true }, _callbackNumbers: { writable: true }, _voicemailGreeting: { writable: true }, _transferTargetType: { writable: true } }), this.scriptId = void 0, this.scriptName = void 0, u.baseConstructor.apply(this, arguments); + } + o.extend(u, s, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { + u._super.pasteReIdOrRename.apply(this, arguments), this.transferTarget.pasteReIdOrRename(e3), this.transferTargetGroup.pasteReIdOrRename(e3), this.transferTargetQueue.pasteReIdOrRename(e3), this.calleeName.pasteReIdOrRename(e3), this.voicemailGreeting.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + u._super.pasteResolveOldToNewValues.apply(this, arguments), this.transferTarget.pasteResolveOldToNewValues(e3), this.transferTargetGroup.pasteResolveOldToNewValues(e3), this.transferTargetQueue.pasteResolveOldToNewValues(e3), this.calleeName.pasteResolveOldToNewValues(e3), this.voicemailGreeting.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); + } }, transferTargetType: { enumerable: true, get: function() { + return this._transferTargetType; + }, set: function(e3) { + this._transferTargetType = this.reviveEnum(e3, l); + } }, transferTarget: { enumerable: true, get: function() { + return this._transferTarget; + }, set: function(e3) { + this._transferTarget = this.reviveItem(e3, a); + } }, transferTargetGroup: { enumerable: true, get: function() { + return this._transferTargetGroup; + }, set: function(e3) { + this._transferTargetGroup = this.reviveItem(e3, a); + } }, transferTargetQueue: { enumerable: true, get: function() { + return this._transferTargetQueue; + }, set: function(e3) { + this._transferTargetQueue = this.reviveItem(e3, a); + } }, calleeName: { enumerable: true, get: function() { + return this._calleeName; + }, set: function(e3) { + this._calleeName = this.reviveItem(e3, a); + } }, callbackNumbers: { enumerable: true, get: function() { + return this._callbackNumbers; + }, set: function(e3) { + this._callbackNumbers = this.reviveArray(e3, a); + } }, voicemailGreeting: { enumerable: true, get: function() { + return this._voicemailGreeting; + }, set: function(e3) { + this._voicemailGreeting = this.reviveItem(e3, n2); + } }, inputs: { enumerable: true, get: function() { + return this._inputs; + }, set: function(e3) { + this._inputs = this.reviveArray(e3, r); + } } }), e2.exports = u; + }, 73954(e2, t2, i2) { + const n2 = i2(92140), o = i2(28730), { updateVariableActionType: r } = i2(30801), a = i2(42217); + function s() { + Object.defineProperties(this, { _variables: { writable: true } }), s.baseConstructor.apply(this, arguments); + } + o.extend(s, r, true), Object.defineProperties(s.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.variables, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)); + } }, pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.variables, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)); + } }, variables: { enumerable: true, get: function() { + return this._variables; + }, set: function(e3) { + this._variables = this.reviveArray(e3, a); + } } }), e2.exports = s; + }, 23540(e2, t2, i2) { + const n2 = i2(75458), { updateWorkitemActionType: o } = i2(30801), r = i2(42217); + function a() { + Object.defineProperties(this, { _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, o, true), Object.defineProperties(a.prototype, { variables: { enumerable: true, get: function() { + return this._variables; + }, set: function(e3) { + this._variables = this.reviveArray(e3, r); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.variables.forEach((t3) => { + t3.pasteResolveOldToNewValues(e3); + }); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.variables.forEach((t3) => { + t3.pasteReIdOrRename(e3); + }); + } } }), e2.exports = a; + }, 47140(e2, t2, i2) { + const n2 = i2(13240), o = i2(7401), { voiceBiometricsActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _confidence: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.confidence.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.confidence.pasteResolveOldToNewValues(e3); + } }, confidence: { enumerable: true, get: function() { + return this._confidence; + }, set: function(e3) { + this._confidence = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 590(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { waitActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _duration: { writable: true }, _trimDurationNearMaxRunningTime: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.duration.pasteReIdOrRename(e3), this.trimDurationNearMaxRunningTime.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.duration.pasteResolveOldToNewValues(e3), this.trimDurationNearMaxRunningTime.pasteResolveOldToNewValues(e3); + } }, trimDurationNearMaxRunningTime: { enumerable: true, get: function() { + return this._trimDurationNearMaxRunningTime; + }, set: function(e3) { + this._trimDurationNearMaxRunningTime = this.reviveItem(e3, o); + } }, duration: { enumerable: true, get: function() { + return this._duration; + }, set: function(e3) { + this._duration = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 66093(e2, t2, i2) { + const n2 = i2(28730), o = i2(7401), { waitForInputActionType: r } = i2(30801); + function a() { + Object.defineProperties(this, { _noMatches: { writable: true }, _customizeNoMatch: { writable: true }, _knowledgeSearchResult: { writable: true }, _noMatchReprompts: { writable: true }, _question: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, r, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.question && this.question.pasteResolveOldToNewValues(e3), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.noMatches && this.noMatches.forEach((t3) => t3.pasteReIdOrRename(e3)), this.question && this.question.pasteReIdOrRename(e3), this.customizeNoMatch && this.customizeNoMatch.pasteReIdOrRename(e3), this.noMatchReprompts && this.noMatchReprompts.pasteReIdOrRename(e3); + } }, noMatch: { enumerable: false, get: function() { + return this.noMatches && this.noMatches[0]; + }, set: function(e3) { + this.noMatches = [e3]; + } }, noMatches: { enumerable: true, get: function() { + return this._noMatches; + }, set: function(e3) { + this._noMatches = this.reviveArray(e3, o); + } }, question: { enumerable: true, get: function() { + return this._question; + }, set: function(e3) { + this._question = this.reviveItem(e3, o); + } }, customizeNoMatch: { enumerable: true, get: function() { + return this._customizeNoMatch; + }, set: function(e3) { + this._customizeNoMatch = this.reviveItem(e3, o); + } }, noMatchReprompts: { enumerable: true, get: function() { + return this._noMatchReprompts; + }, set: function(e3) { + this._noMatchReprompts = this.reviveItem(e3, o); + } }, knowledgeSearchResult: { enumerable: true, get: function() { + return this._knowledgeSearchResult; + }, set: function(e3) { + this._knowledgeSearchResult = this.reviveItem(e3, o); + } } }), e2.exports = a; + }, 93476(e2, t2, i2) { + function n2() { + this.nextActionId = void 0, this.disabled = void 0, this.isDynamicBranch = void 0, this.unreachable = void 0, this.outOfService = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(57632).extend(n2, "ActionOutput"), Object.defineProperties(n2.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + n2._super.pasteResolveOldToNewValues.apply(this, arguments), this.nextActionId = e3.pasteResolveOldIdToNewId(this.nextActionId); + } }, pasteReIdOrRename: { value: function(e3) { + n2._super.pasteReIdOrRename.apply(this, arguments); + } } }), e2.exports = n2; + }, 84133(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + Object.defineProperties(this, { _audioExpression: { writable: true } }), this.langCode = void 0, this.disabled = void 0, this.uiMetaData = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "AudioCase", true), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + this.audioExpression.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + this.audioExpression.pasteResolveOldToNewValues(e3); + } }, audioExpression: { enumerable: true, get: function() { + return this._audioExpression; + }, set: function(e3) { + this._audioExpression = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 2210(e2, t2, i2) { + const n2 = i2(84133), o = i2(45214), r = i2(7401); + function a() { + Object.defineProperties(this, { _defaultAudio: { writable: true }, _bargeInExpression: { writable: true }, _flushExpression: { writable: true }, _cases: { writable: true } }), this.uiMetaData = void 0, a.baseConstructor.apply(this, arguments); + } + o.extend(a, "AudioGroup"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + this.bargeInExpression && this.bargeInExpression.pasteReIdOrRename(e3), this.flushExpression.pasteReIdOrRename(e3), this.defaultAudio.pasteReIdOrRename(e3); + for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + this.bargeInExpression && this.bargeInExpression.pasteResolveOldToNewValues(e3), this.flushExpression.pasteResolveOldToNewValues(e3), this.defaultAudio.pasteResolveOldToNewValues(e3); + for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteResolveOldToNewValues(e3); + } }, bargeInExpression: { enumerable: true, get: function() { + return this._bargeInExpression; + }, set: function(e3) { + this._bargeInExpression = this.reviveItem(e3, r); + } }, flushExpression: { enumerable: true, get: function() { + return this._flushExpression; + }, set: function(e3) { + this._flushExpression = this.reviveItem(e3, r); + } }, defaultAudio: { enumerable: true, get: function() { + return this._defaultAudio; + }, set: function(e3) { + this._defaultAudio = this.reviveItem(e3, r); + } }, cases: { enumerable: true, get: function() { + return this._cases; + }, set: function(e3) { + this._cases = this.reviveArray(e3, n2); + } }, isAudioGroup: { get: function() { + return true; + } } }), e2.exports = a; + }, 60856(e2, t2, i2) { + const n2 = i2(45214), o = i2(15244); + function r() { + Object.defineProperties(this, { _handlingType: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "BaseEventHandlingSettings"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments); + } }, handlingType: { enumerable: true, get: function() { + return this._handlingType; + }, set: function(e3) { + this._handlingType = this.reviveEnum(e3, o); + } } }), e2.exports = r; + }, 24005(e2, t2, i2) { + const n2 = i2(45214), o = i2(43773); + function r() { + this.uiMetaData = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "BaseFlowItem"), Object.defineProperties(r.prototype, { getConfiguration: { value: function(e3, t3) { + return t3?.isForComparison ? o.removePropertiesForComparison(this) : this; + } } }), e2.exports = r; + }, 76768(e2, t2, i2) { + const n2 = i2(92140), o = i2(24005), { uuid: r } = i2(9456); + function a() { + this.id = void 0, this.name = void 0, a.baseConstructor.apply(this, arguments), this.id || (this.id = r()); + } + o.extend(a, "BaseFlowItemWithNameAndId"), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + } }, pasteReIdOrRename: { value: function(e3) { + this.id = e3.pasteGenerateNewGuid(this.id); + } }, pasteResolveReferenceAndName: { value: function(e3, t3, i3, o2) { + const r2 = { reference: e3.pasteResolveOldIdToNewId(i3) }; + switch (t3) { + case "menu": + r2.name = e3.pasteResolveOldMenuNameToNewMenuName(o2); + break; + case "state": + r2.name = e3.pasteResolveOldStateNameToNewStateName(o2); + break; + case "task": + r2.name = e3.pasteResolveOldTaskNameToNewTaskName(o2); + break; + default: + throw "unsupported resolve type passed to pasteResolveReferenceAndName"; } - set supportsNluCortex(e3) { - this._supportsNluCortex = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsNluCortex", "value")); + if (r2.reference !== i3) return r2; + let a2; + switch (t3) { + case "menu": + a2 = e3.pasteContext.destFlowViewModel.menus; + break; + case "state": + a2 = e3.pasteContext.destFlowViewModel.states; + break; + case "task": + a2 = e3.pasteContext.destFlowViewModel.tasks; + break; + default: + throw "unsupported resolve type passed to pasteResolveReferenceAndName"; } - setSupportsNluCortex(e3) { - return this.supportsNluCortex = e3, this; - } - get supportsNluCortexIntents() { - return this._supportsNluCortexIntents; - } - set supportsNluCortexIntents(e3) { - this._supportsNluCortexIntents = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsNluCortexIntents", "value")); - } - setSupportsNluCortexIntents(e3) { - return this.supportsNluCortexIntents = e3, this; - } - get supportsNluIntents() { - return this._supportsNluIntents; - } - set supportsNluIntents(e3) { - this._supportsNluIntents = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsNluIntents", "value")); - } - setSupportsNluIntents(e3) { - return this.supportsNluIntents = e3, this; - } - get supportsPeriodicState() { - return this._supportsPeriodicState && this.supportsStates; - } - set supportsPeriodicState(e3) { - this._supportsPeriodicState = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsPeriodicState", "value")); - } - setSupportsPeriodicState(e3) { - return this.supportsPeriodicState = e3, this; + if (!a2) return r2; + let s = n2.find(a2, function(e4) { + return e4.id === i3; + }); + return n2.isUndefined(s) && n2.isString(o2) && (s = n2.find(a2, function(e4) { + return e4.name === o2; + })), s && (r2.reference = s.id, r2.name = s.name), r2; + } } }), e2.exports = a; + }, 15655(e2, t2, i2) { + const n2 = i2(92140), { uuid: o } = i2(9456), r = i2(28730), a = i2(11475); + function s() { + Object.defineProperties(this, { _actionList: { writable: true }, _variables: { writable: true } }), this.startAction = void 0, s.baseConstructor.apply(this, arguments), this.id || (this.id = o()); + } + i2(62229).extend(s, "BaseTask"), Object.defineProperties(s.prototype, { actionList: { enumerable: true, get: function() { + return this._actionList; + }, set: function(e3) { + this._actionList = this.reviveArray(e3, r); + } }, getUniqueNameSeed: { value: function() { + return this.name ? this.name + " %1$s" : "%1$s"; + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.variables, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)), n2.each(this.actionList, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)), this.startAction = e3.pasteResolveOldIdToNewId(this.startAction); + } }, pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.variables, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)), n2.each(this.actionList, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)); + } }, variables: { enumerable: true, get: function() { + return this._variables; + }, set: function(e3) { + this._variables = this.reviveArray(e3, a), this._variables.forEach((e4) => { + e4._wasRenamed && (e4.name = e4.name.replace("Flow", this._variableScope)); + }); + } } }), e2.exports = s; + }, 15008(e2, t2, i2) { + const n2 = i2(60856), o = i2(15244), r = 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); + } + n2.extend(s, "BotFlowEventHandlingSettings"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this._agentEscalationConfirmationCommunication.pasteReIdOrRename(e3), this._agentEscalationHandoverCommunication.pasteReIdOrRename(e3), this._enableAgentEscalation.pasteReIdOrRename(e3), this._errorEventHandoverCommunication.pasteReIdOrRename(e3), this._recognitionEventHandoverCommunication.pasteReIdOrRename(e3), this._subsequentRecognitionFailuresHandlingType.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this._agentEscalationConfirmationCommunication.pasteResolveOldToNewValues(e3), this._agentEscalationHandoverCommunication.pasteResolveOldToNewValues(e3), this._enableAgentEscalation.pasteResolveOldToNewValues(e3), this._errorEventHandoverCommunication.pasteResolveOldToNewValues(e3), this._recognitionEventHandoverCommunication.pasteResolveOldToNewValues(e3), this._subsequentRecognitionFailuresHandlingType.pasteResolveOldToNewValues(e3); + } }, recognitionHandlingType: { enumerable: true, get: function() { + return this._recognitionHandlingType; + }, set: function(e3) { + this._recognitionHandlingType = this.reviveEnum(e3, o); + } }, agentEscalationConfirmation: { enumerable: true, get: function() { + return this._agentEscalationConfirmationCommunication; + }, set: function(e3) { + this._agentEscalationConfirmationCommunication = this.reviveItem(e3, r); + } }, agentEscalationHandover: { enumerable: true, get: function() { + return this._agentEscalationHandoverCommunication; + }, set: function(e3) { + this._agentEscalationHandoverCommunication = this.reviveItem(e3, r); + } }, enableAgentEscalation: { enumerable: true, get: function() { + return this._enableAgentEscalation; + }, set: function(e3) { + this._enableAgentEscalation = this.reviveItem(e3, r); + } }, errorEventHandover: { enumerable: true, get: function() { + return this._errorEventHandoverCommunication; + }, set: function(e3) { + this._errorEventHandoverCommunication = this.reviveItem(e3, r); + } }, recognitionEventHandover: { enumerable: true, get: function() { + return this._recognitionEventHandoverCommunication; + }, set: function(e3) { + this._recognitionEventHandoverCommunication = this.reviveItem(e3, r); + } }, agentEscalationHandlingType: { enumerable: true, get: function() { + return this._agentEscalationHandlingType; + }, set: function(e3) { + this._agentEscalationHandlingType = this.reviveEnum(e3, o); + } }, subsequentRecognitionFailuresHandlingType: { enumerable: true, get: function() { + return this._subsequentRecognitionFailuresHandlingType; + }, set: function(e3) { + this._subsequentRecognitionFailuresHandlingType = this.reviveEnum(e3, a); + } } }), e2.exports = s; + }, 18685(e2, t2, i2) { + const n2 = i2(24005), o = i2(7401), r = i2(66848), a = i2(66445); + function s() { + Object.defineProperties(this, { _knowledgeConfirmation: { writable: true }, _knowledgeInitialResponseFollowup: { writable: true }, _knowledgeInitialResponseMulti: { writable: true }, _knowledgeInitialResponseMultiRetry: { writable: true }, _knowledgeInitialResponseSingle: { writable: true }, _knowledgeAnswerHighlight: { writable: true }, _knowledgeMultiArticleSource: { writable: true }, _knowledgeContextSearch: { writable: true }, _knowledgeAnswerContentType: { writable: true }, _knowledgeVersion: { writable: true }, _knowledgeAnswerHighlightFullArticle: { writable: true }, _knowledgeAnswerHighlightFlowProgression: { writable: true }, _knowledgeNoMatch: { writable: true }, _maxNumOfAnswersReturned: { writable: true }, _knowledgePathMode: { writable: true }, _knowledgeBase: { writable: true }, _knowledgeSetting: { writable: true }, _responseBias: { writable: true }, _sendKnowledgeFeedback: { writable: true }, _knowledgeSettingsMode: { writable: true } }), this.knowledgeBaseId = void 0, this.knowledgeSettingId = void 0, this.knowledgeBaseName = void 0, this.knowledgeSettingName = void 0, this.knowledgeBaseWelcomeDocumentId = void 0, this.knowledgeBaseWelcomeDocumentName = void 0, this.knowledgeFollowupTaskId = void 0, this.knowledgeFollowupTaskName = void 0, this.knowledgeCustomHandlerTaskId = void 0, this.knowledgeCustomHandlerTaskName = void 0, s.baseConstructor.apply(this, arguments); + } + n2.extend(s, "BotFlowKnowledgeSettings"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { + s._super.pasteReIdOrRename.apply(this, arguments), this._knowledgeBase.pasteReIdOrRename(e3), this._knowledgeSetting.pasteReIdOrRename(e3), this._knowledgeConfirmation.pasteReIdOrRename(e3), this._knowledgeInitialResponseFollowup.pasteReIdOrRename(e3), this._knowledgeInitialResponseMulti.pasteReIdOrRename(e3), this._knowledgeInitialResponseMultiRetry.pasteReIdOrRename(e3), this._knowledgeInitialResponseSingle.pasteReIdOrRename(e3), this._knowledgeAnswerHighlight.pasteReIdOrRename(e3), this._knowledgeMultiArticleSource.pasteReIdOrRename(e3), this._knowledgeContextSearch.pasteReIdOrRename(e3), this._knowledgeAnswerContentType.pasteReIdOrRename(e3), this._knowledgeVersion.pasteReIdOrRename(e3), this._knowledgeAnswerHighlightFullArticle.pasteReIdOrRename(e3), this._knowledgeAnswerHighlightFlowProgression.pasteReIdOrRename(e3), this._knowledgeNoMatch.pasteReIdOrRename(e3), this._maxNumOfAnswersReturned.pasteReIdOrRename(e3), this._knowledgePathMode.pasteReIdOrRename(e3), this._responseBias.pasteReIdOrRename(e3), this._sendKnowledgeFeedback.pasteReIdOrRename(e3), this._knowledgeSettingsMode.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + s._super.pasteResolveOldToNewValues.apply(this, arguments), this._knowledgeBase.pasteResolveOldToNewValues(e3), this._knowledgeSetting.pasteResolveOldToNewValues(e3), this._knowledgeConfirmation.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseFollowup.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseMulti.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseMultiRetry.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseSingle.pasteResolveOldToNewValues(e3), this._knowledgeAnswerHighlight.pasteResolveOldToNewValues(e3), this._knowledgeMultiArticleSource.pasteResolveOldToNewValues(e3), this._knowledgeContextSearch.pasteResolveOldToNewValues(e3), this._knowledgeAnswerContentType.pasteResolveOldToNewValues(e3), this._knowledgeVersion.pasteResolveOldToNewValues(e3), this._knowledgeAnswerHighlightFullArticle.pasteResolveOldToNewValues(e3), this._knowledgeAnswerHighlightFlowProgression.pasteResolveOldToNewValues(e3), this._knowledgeNoMatch.pasteResolveOldToNewValues(e3), this._maxNumOfAnswersReturned.pasteResolveOldToNewValues(e3), this._knowledgePathMode.pasteResolveOldToNewValues(e3), this._responseBias.pasteResolveOldToNewValues(e3), this._sendKnowledgeFeedback.pasteResolveOldToNewValues(e3), this._knowledgeSettingsMode.pasteResolveOldToNewValues(e3); + } }, knowledgeConfirmation: { enumerable: true, get: function() { + return this._knowledgeConfirmation; + }, set: function(e3) { + this._knowledgeConfirmation = this.reviveItem(e3, o); + } }, knowledgeInitialResponseFollowup: { enumerable: true, get: function() { + return this._knowledgeInitialResponseFollowup; + }, set: function(e3) { + this._knowledgeInitialResponseFollowup = this.reviveItem(e3, o); + } }, knowledgeInitialResponseMulti: { enumerable: true, get: function() { + return this._knowledgeInitialResponseMulti; + }, set: function(e3) { + this._knowledgeInitialResponseMulti = this.reviveItem(e3, o); + } }, knowledgeInitialResponseMultiRetry: { enumerable: true, get: function() { + return this._knowledgeInitialResponseMultiRetry; + }, set: function(e3) { + this._knowledgeInitialResponseMultiRetry = this.reviveItem(e3, o); + } }, knowledgeInitialResponseSingle: { enumerable: true, get: function() { + return this._knowledgeInitialResponseSingle; + }, set: function(e3) { + this._knowledgeInitialResponseSingle = this.reviveItem(e3, o); + } }, knowledgeAnswerHighlight: { enumerable: true, get: function() { + return this._knowledgeAnswerHighlight; + }, set: function(e3) { + this._knowledgeAnswerHighlight = this.reviveItem(e3, o); + } }, knowledgeMultiArticleSource: { enumerable: true, get: function() { + return this._knowledgeMultiArticleSource; + }, set: function(e3) { + this._knowledgeMultiArticleSource = this.reviveItem(e3, o); + } }, knowledgeContextSearch: { enumerable: true, get: function() { + return this._knowledgeContextSearch; + }, set: function(e3) { + this._knowledgeContextSearch = this.reviveItem(e3, o); + } }, knowledgeAnswerContentType: { enumerable: true, get: function() { + return this._knowledgeAnswerContentType; + }, set: function(e3) { + this._knowledgeAnswerContentType = this.reviveItem(e3, o); + } }, knowledgeVersion: { enumerable: true, get: function() { + return this._knowledgeVersion; + }, set: function(e3) { + this._knowledgeVersion = this.reviveItem(e3, o); + } }, knowledgeAnswerHighlightFullArticle: { enumerable: true, get: function() { + return this._knowledgeAnswerHighlightFullArticle; + }, set: function(e3) { + this._knowledgeAnswerHighlightFullArticle = this.reviveItem(e3, o); + } }, knowledgeAnswerHighlightFlowProgression: { enumerable: true, get: function() { + return this._knowledgeAnswerHighlightFlowProgression; + }, set: function(e3) { + this._knowledgeAnswerHighlightFlowProgression = this.reviveItem(e3, o); + } }, knowledgeNoMatch: { enumerable: true, get: function() { + return this._knowledgeNoMatch; + }, set: function(e3) { + this._knowledgeNoMatch = this.reviveItem(e3, o); + } }, maxNumOfAnswersReturned: { enumerable: true, get: function() { + return this._maxNumOfAnswersReturned; + }, set: function(e3) { + this._maxNumOfAnswersReturned = this.reviveItem(e3, o); + } }, knowledgePathMode: { enumerable: true, get: function() { + return this._knowledgePathMode; + }, set: function(e3) { + this._knowledgePathMode = this.reviveItem(e3, o); + } }, KnowledgeBase: { enumerable: true, get: function() { + return this._knowledgeBase; + }, set: function(e3) { + this._knowledgeBase = new r(e3); + } }, KnowledgeSetting: { enumerable: true, get: function() { + return this._knowledgeSetting; + }, set: function(e3) { + this._knowledgeSetting = new a(e3); + } }, responseBias: { enumerable: true, get: function() { + return this._responseBias; + }, set: function(e3) { + this._responseBias = this.reviveItem(e3, o); + } }, sendKnowledgeFeedback: { enumerable: true, get: function() { + return this._sendKnowledgeFeedback; + }, set: function(e3) { + this._sendKnowledgeFeedback = this.reviveItem(e3, o); + } }, knowledgeSettingsMode: { enumerable: true, get: function() { + return this._knowledgeSettingsMode; + }, set: function(e3) { + this._knowledgeSettingsMode = this.reviveItem(e3, o); + } } }), e2.exports = s; + }, 42515(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + 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.navigatorVirtualAgentEnabled = void 0, this.voiceProcessingPrompt = void 0, this.initialPlaybackDelay = void 0, this.minimumPlaybackTime = void 0, this.conversationSchemaRecordId = void 0, this.conversationSchemaDivisions = void 0, this.conversationSchemaVersionId = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "BotFlowSettings"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments); + } }, voiceProcessingPrompt: { enumerable: true, get: function() { + return this._voiceProcessingPrompt; + }, set: function(e3) { + this._voiceProcessingPrompt = this.reviveItem(e3, o); + } }, initialPlaybackDelay: { enumerable: true, get: function() { + return this._initialPlaybackDelay; + }, set: function(e3) { + this._initialPlaybackDelay = this.reviveItem(e3, o); + } }, minimumPlaybackTime: { enumerable: true, get: function() { + return this._minimumPlaybackTime; + }, set: function(e3) { + this._minimumPlaybackTime = this.reviveItem(e3, o); + } }, conversationSchemaRecordId: { enumerable: true, get: function() { + return this._conversationSchemaRecordId; + }, set: function(e3) { + this._conversationSchemaRecordId = this.reviveItem(e3, o); + } }, conversationSchemaDivisions: { enumerable: true, get: function() { + return this._conversationSchemaDivisions; + }, set: function(e3) { + this._conversationSchemaDivisions = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 21556(e2, t2, i2) { + const n2 = i2(24005), o = i2(7401), r = 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 }, _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._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._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) { + this._enableBargeIn = this.reviveItem(e3, o); + } }, enableAutomaticQuickReplies: { enumerable: true, get: function() { + return this._enableAutomaticQuickReplies; + }, set: function(e3) { + this._enableAutomaticQuickReplies = this.reviveItem(e3, o); + } }, noMatchesMax: { enumerable: true, get: function() { + return this._noMatchesMax; + }, set: function(e3) { + this._noMatchesMax = this.reviveItem(e3, o); + } }, noInputsMax: { enumerable: true, get: function() { + return this._noInputsMax; + }, set: function(e3) { + this._noInputsMax = this.reviveItem(e3, o); + } }, noInputsMaxExceededHandlingType: { enumerable: true, get: function() { + return this._noInputsMaxExceededHandlingType; + }, set: function(e3) { + this._noInputsMaxExceededHandlingType = this.reviveEnum(e3, r); + } }, endOfSessionMessage: { enumerable: true, get: function() { + return this._endOfSessionMessage; + }, set: function(e3) { + this._endOfSessionMessage = this.reviveItem(e3, o); + } }, noInputsTimeout: { enumerable: true, get: function() { + return this._noInputsTimeout; + }, set: function(e3) { + this._noInputsTimeout = this.reviveItem(e3, o); + } }, speechToTextSpeechDetectionSensitivity: { enumerable: true, get: function() { + return this._speechToTextSpeechDetectionSensitivity; + }, set: function(e3) { + this._speechToTextSpeechDetectionSensitivity = this.reviveItem(e3, o); + } }, speechToTextMaxSpeechTimeout: { enumerable: true, get: function() { + return this._speechToTextMaxSpeechTimeout; + }, set: function(e3) { + this._speechToTextMaxSpeechTimeout = this.reviveItem(e3, o); + } }, speechToTextAdvancedConfiguration: { enumerable: true, get: function() { + return this._speechToTextAdvancedConfiguration; + }, set: function(e3) { + this._speechToTextAdvancedConfiguration = this.reviveItem(e3, o); + } }, enableIntentClassificationHinting: { enumerable: true, get: function() { + return this._enableIntentClassificationHinting; + }, set: function(e3) { + this._enableIntentClassificationHinting = this.reviveItem(e3, o); + } }, interDigitTimeout: { enumerable: true, get: function() { + return this._interDigitTimeout; + }, set: function(e3) { + this._interDigitTimeout = this.reviveItem(e3, o); + } }, dtmfTerminatingCharacter: { enumerable: true, get: function() { + return this._dtmfTerminatingCharacter; + }, set: function(e3) { + this._dtmfTerminatingCharacter = this.reviveItem(e3, o); + } }, confirmationRejectionsMax: { enumerable: true, get: function() { + return this._confirmationRejectionsMax; + }, set: function(e3) { + this._confirmationRejectionsMax = this.reviveItem(e3, o); + } }, collectionLowConfidenceThreshold: { enumerable: true, get: function() { + return this._collectionLowConfidenceThreshold; + }, set: function(e3) { + this._collectionLowConfidenceThreshold = this.reviveItem(e3, o); + } }, collectionHighConfidenceThreshold: { enumerable: true, get: function() { + return this._collectionHighConfidenceThreshold; + }, set: function(e3) { + this._collectionHighConfidenceThreshold = this.reviveItem(e3, o); + } }, confirmationLowConfidenceThreshold: { enumerable: true, get: function() { + return this._confirmationLowConfidenceThreshold; + }, set: function(e3) { + this._confirmationLowConfidenceThreshold = this.reviveItem(e3, o); + } }, noMatchApologies: { enumerable: true, get: function() { + return this._noMatchApologies; + }, set: function(e3) { + e3 && (this._noMatchApologies = this.reviveArray(e3, o)); + } }, noInputsApologies: { enumerable: true, get: function() { + return this._noInputsApologies; + }, set: function(e3) { + e3 && (this._noInputsApologies = this.reviveArray(e3, o)); + } }, noToConfirmationApologies: { enumerable: true, get: function() { + return this._noToConfirmationApologies; + }, set: function(e3) { + e3 && (this._noToConfirmationApologies = this.reviveArray(e3, o)); + } }, confirmationNoMatchApologies: { enumerable: true, get: function() { + return this._confirmationNoMatchApologies; + }, set: function(e3) { + e3 && (this._confirmationNoMatchApologies = this.reviveArray(e3, o)); + } }, confirmationNoInputApologies: { enumerable: true, get: function() { + return this._confirmationNoInputApologies; + }, set: function(e3) { + e3 && (this._confirmationNoInputApologies = this.reviveArray(e3, o)); + } } }), e2.exports = a; + }, 12323(e2, t2, i2) { + const n2 = i2(24005), o = i2(7401); + function r() { + Object.defineProperties(this, { _summarization: { writable: true }, _assignWrapupCodes: { writable: true }, _enabledWrapupCodes: { writable: true } }), this.conversationSummaryId = void 0, this.conversationSummaryName = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "BotFlowVirtualAgentSettings"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.call(this, e3), this._summarization.pasteReIdOrRename(e3), this._assignWrapupCodes.pasteReIdOrRename(e3), this._enabledWrapupCodes.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.call(this, e3), this._summarization.pasteResolveOldToNewValues(e3), this._assignWrapupCodes.pasteResolveOldToNewValues(e3), this._enabledWrapupCodes.pasteResolveOldToNewValues(e3); + } }, summarization: { enumerable: true, get: function() { + return this._summarization; + }, set: function(e3) { + this._summarization = this.reviveItem(e3, o); + } }, assignWrapupCodes: { enumerable: true, get: function() { + return this._assignWrapupCodes; + }, set: function(e3) { + this._assignWrapupCodes = this.reviveItem(e3, o); + } }, enabledWrapupCodes: { enumerable: true, get: function() { + return this._enabledWrapupCodes; + }, set: function(e3) { + this._enabledWrapupCodes = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 50029(e2, t2, i2) { + const n2 = i2(15655), { botStateActionType: o } = i2(30801); + function r() { + Object.defineProperties(this, { _variableScope: { value: "Bot" } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.name = e3.pasteGetUniqueStateName(this.name); + } } }), e2.exports = r; + }, 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, this.categoryId = void 0, this.isCategory = void 0, 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; + } }, pasteResolveOldToNewValues: { value: function(e3) { + } }, pasteReIdOrRename: { value: function(e3) { + this.outputId = e3.pasteResolveOldIdToNewId(this.outputId); + } }, displayLabel: { get: function() { + return this.localizedLabel ? this.localizedLabel : this.label; + } } }), e2.exports = n2; + }, 95812(e2, t2, i2) { + const n2 = i2(76768), o = i2(7401), { uuid: r } = i2(9456); + function a() { + Object.defineProperties(this, { _label: { writable: true } }), this.isEnabled = void 0, this.referenceId = void 0, a.baseConstructor.apply(this, arguments), this.id || (this.id = r()); + } + Object.defineProperties(a.prototype, { isChoice: { value: true }, label: { enumerable: true, get: function() { + return this._label; + }, set: function(e3) { + this._label = this.reviveItem(e3, o); + } } }), n2.extend(a, "Choice"), e2.exports = a; + }, 90807(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + Object.defineProperties(this, { _value: { writable: true } }), this.name = void 0, this.referenceId = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "DataPair"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + this.value.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + this.value.pasteResolveOldToNewValues(e3), this.referenceId = e3.pasteResolveOldIdToNewId(this.referenceId); + } }, isDataPair: { value: true }, value: { enumerable: true, get: function() { + return this._value; + }, set: function(e3) { + this._value = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 52706(e2, t2, i2) { + const n2 = i2(45214), o = i2(90807); + function r() { + Object.defineProperties(this, { _value: { writable: true } }), this.name = void 0, this.referenceId = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "DataPairCollectionModel"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + for (let t3 = 0; t3 < this.value.length; t3++) this.value[t3].pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + for (let t3 = 0; t3 < this.value.length; t3++) this.value[t3].pasteResolveOldToNewValues(e3); + this.referenceId = e3.pasteResolveOldIdToNewId(this.referenceId); + } }, isDataPairCollectionModel: { value: true }, value: { enumerable: true, get: function() { + return this._value; + }, set: function(e3) { + this._value = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 13265(e2, t2, i2) { + function n2() { + Object.defineProperties(this, {}), n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "DebugSettings"), Object.defineProperties(n2.prototype, {}), e2.exports = n2; + }, 74803(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r(e3) { + r.baseConstructor.apply(this, arguments), this._initialize(e3); + } + n2.extend(r, "DefaultSettings"), Object.defineProperties(r.prototype, { _initialize: { value: function(e3) { + for (const t3 in e3) if (e3.hasOwnProperty(t3)) { + this[t3] = e3[t3]; + for (const e4 in this[t3]) this[t3].hasOwnProperty(e4) && (this[t3][e4] instanceof Array ? this._reviveItemArray(this[t3][e4]) : this[t3][e4] && (this[t3][e4] = this.reviveItem(this[t3][e4], o))); } - get supportsQuickRepliesFlowLevelSetting() { - return this._supportsFlowLevelQuickReplyButtonSetting; + } }, _reviveItemArray: { value: function(e3) { + for (let t3 = 0; t3 < e3.length; t3++) e3[t3] = this.reviveItem(e3[t3], o); + } } }), e2.exports = r; + }, 81161(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + Object.defineProperties(this, { _synonyms: { writable: true }, _labels: { writable: true }, _values: { writable: true } }), this.name = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "DynamicSlotTypeModel"), Object.defineProperties(r.prototype, { pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteResolveOldToNewValues.apply(this, arguments), this.labels.pasteResolveOldToNewValues(e3), this.synonyms.pasteResolveOldToNewValues(e3), this.values.pasteResolveOldToNewValues(e3); + } }, pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.labels.pasteReIdOrRename(e3), this.synonyms.pasteReIdOrRename(e3), this.values.pasteReIdOrRename(e3); + } }, labels: { enumerable: true, get: function() { + return this._labels; + }, set: function(e3) { + this._labels = this.reviveItem(e3, o); + } }, synonyms: { enumerable: true, get: function() { + return this._synonyms; + }, set: function(e3) { + this._synonyms = this.reviveItem(e3, o); + } }, values: { enumerable: true, get: function() { + return this._values; + }, set: function(e3) { + this._values = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 2053(e2, t2, i2) { + const n2 = i2(2210), o = i2(60856), r = i2(7401); + function a() { + Object.defineProperties(this, { _audio: { writable: true }, _queue: { writable: true } }), this.menuReference = void 0, this.menuReferenceName = void 0, this.taskReference = void 0, this.taskReferenceName = void 0, this.stateReference = void 0, this.stateReferenceName = void 0, a.baseConstructor.apply(this, arguments); + } + o.extend(a, "ErrorHandlingSettings"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { + a._super.pasteReIdOrRename.apply(this, arguments), this.audio && this.audio.pasteReIdOrRename(e3), this.queue && this.queue.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + a._super.pasteResolveOldToNewValues.apply(this, arguments), this.menuReference = e3.pasteResolveOldIdToNewId(this.menuReference), this.menuReferenceName = e3.pasteResolveOldMenuNameToNewMenuName(this.menuReferenceName), this.taskReference = e3.pasteResolveOldIdToNewId(this.taskReference), this.taskReferenceName = e3.pasteResolveOldStateNameToNewStateName(this.taskReferenceName), this.stateReference = e3.pasteResolveOldIdToNewId(this.stateReference), this.stateReferenceName = e3.pasteResolveOldTaskNameToNewTaskName(this.stateReferenceName), this.audio && this.audio.pasteResolveOldToNewValues(e3), this.queue && this.queue.pasteResolveOldToNewValues(e3); + } }, audio: { enumerable: true, get: function() { + return this._audio; + }, set: function(e3) { + this._audio = this.reviveItem(e3, n2); + } }, queue: { enumerable: true, get: function() { + return this._queue; + }, set: function(e3) { + this._queue = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 7401(e2, t2, i2) { + const n2 = i2(92140), o = i2(42989), r = 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); + } + r.extend(d, "Expression"), Object.defineProperties(d.prototype, { properties: { enumerable: true, get: function() { + return this._properties; + }, set: function(e3) { + this._properties = this.reviveMap(e3, d, false); + } }, setProperty: { value: function(e3, t3) { + this._properties || (this._properties = {}), this._properties[e3] = t3; + } }, getProperty: { value: function(e3) { + if (this._properties && e3) return this._properties[e3]; + } }, getUniqueReplacementStr: { value: function() { + return `~${u()}~`; + } }, removeStringLiterals: { value: function(e3) { + const t3 = { exprLitToGuidText: e3, guidToStringMap: {} }; + if (!n2.isString(e3) && e3.length > 5) return t3; + let i3 = false; + const o2 = e3.split(""), r2 = o2.length; + let a2 = "", s2 = ""; + for (let e4 = 0; e4 < r2; e4++) switch (o2[e4]) { + case '"': + if (i3) { + const e5 = this.getUniqueReplacementStr(); + a2 += e5, t3.guidToStringMap[e5] = s2 + '"', s2 = ""; + } + i3 = !i3, i3 && (s2 = '"'); + break; + case "\\": + if (!i3) { + a2 += "\\"; + break; + } + if (e4 + 1 >= r2) { + s2 += "\\"; + break; + } + switch (o2[e4 + 1]) { + case "\\": + s2 += "\\\\", e4++; + break; + case "n": + case "r": + case "t": + case '"': + s2 = s2 + "\\" + o2[e4 + 1], e4++; + break; + default: + s2 += o2[e4]; + } + break; + default: + i3 ? s2 += o2[e4] : a2 += o2[e4]; } - set supportsQuickRepliesFlowLevelSetting(e3) { - this._supportsFlowLevelQuickReplyButtonSetting = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsQuickRepliesFlowLevelSetting", "value")); + if (s2) { + const e4 = this.getUniqueReplacementStr(); + a2 += e4, t3.guidToStringMap[e4] = s2, s2 = ""; } - get supportsFlowOptimizationData() { - return this._supportsFlowOptimizationData; + return t3.exprLitToGuidText = a2, t3; + } }, pasteReplaceOldVarNamesWithNewNames: { value: function(e3, t3) { + const i3 = e3.pasteContext.getOldVariableNameToNewNameArray(); + if (!n2.isString(t3) || t3.trim().length < 6 || 0 === i3.length) return t3; + const o2 = this.removeStringLiterals(t3), r2 = o2.guidToStringMap; + return t3 = o2.exprLitToGuidText, i3.length && n2.each(i3, function(e4) { + const i4 = this.getUniqueReplacementStr(), o3 = n2.escapeRegExp(e4.oldVarName), a2 = new RegExp(o3 + "(?![A-Za-z0-9_\xC0-\xD6\xD8-\xF6\xF8-\u1FFF\u3040-\u318F\u3300-\u337F\u3400-\u3D2D\u4E00-\u9FFF\uF900\uFAFF])", "ig"), s2 = t3.replace(a2, i4); + s2 !== t3 && (r2[i4] = e4.newVarName, t3 = s2); + }.bind(this)), n2.each(r2, function(e4, i4) { + const o3 = new RegExp(n2.escapeRegExp(i4), "ig"); + t3 = t3.replace(o3, e4); + }.bind(this)), t3; + } }, _reviveBuilderModel: { value: function(e3) { + if (this.uiMetaData && this.uiMetaData.builder) return e3.reviveBuilderModel(this.uiMetaData.builder); + } }, pasteReIdOrRename: { value: function(e3) { + if (!this.uiMetaData) return; + const t3 = this._reviveBuilderModel(e3); + t3 && t3.pasteReIdOrRename(e3), n2.each(this._properties, (t4) => { + t4.pasteReIdOrRename(e3); + }); + } }, _pasteReplaceOldVarNamesWithNewNamesForExpression: { value: function(e3) { + const t3 = this.pasteReplaceOldVarNamesWithNewNames(e3, this.text); + t3 !== this.text && (e3.log(`expressionModel : Updating expression text from '${this.text}' to '${t3}'`), this.text = t3, this.config = void 0); + } }, pasteResolveOldToNewValues: { value: function(e3) { + if (!this.uiMetaData) return; + const t3 = this._reviveBuilderModel(e3); + if (t3 && t3.pasteResolveOldToNewValues(e3), n2.each(this._properties, (t4) => { + t4.pasteResolveOldToNewValues(e3); + }), l.audio.expressionType === this.type) this.uiMetaData.sequenceItems && n2.each(this.uiMetaData.sequenceItems, (t4) => { + switch (t4.type) { + case o.expression: { + const i3 = new this.constructor(t4.model); + i3._pasteReplaceOldVarNamesWithNewNamesForExpression(e3), t4.model = i3.toJSON(), t4.parameter = i3.text; + break; + } + case o.data: + t4.variableId = e3.pasteContext.oldIdToNewIdMap.resolveFlowGroupedMapping(e3.pasteContext.currentContentFlowId, t4.variableId), t4.parameter = this.pasteReplaceOldVarNamesWithNewNames(e3, t4.parameter); + break; + case o.blank: + case o.prompt: + case o.tts: + break; + default: + 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) { + case a.builder: + case a.expression: + this._pasteReplaceOldVarNamesWithNewNamesForExpression(e3); + break; + case a.variable: + if (n2.isString(this.text)) { + const t4 = e3.pasteContext.getOldVariableNameToNewNameArray(), i3 = this.text.toLowerCase(), o2 = n2.find(t4, function(e4) { + return e4.oldVarName === i3; + }); + o2 && (e3.log(`expressionModel : Updating variable name from '${this.text}' to '${o2.newVarName}'`), this.text = o2.newVarName, this.config = void 0); + } + case a.literal: + case a.none: + case a.noValue: } - set supportsFlowOptimizationData(e3) { - this._supportsFlowOptimizationData = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsFlowOptimizationData", "value")); + } }, setStringLiteralBlank: { value: function() { + 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 = d; + }, 89266(e2, t2, i2) { + function n2() { + this.features = void 0, this.flowDocumentVersion = void 0, this.minimumServerVersion = void 0, this.ttsDataVersion = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "FlowMetaData"), e2.exports = n2; + }, 62229(e2, t2, i2) { + function n2() { + this.trackingId = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(76768).extend(n2, "FlowSequenceItem"), Object.defineProperties(n2.prototype, { getConfiguration: { value: function(e3, t3) { + return t3?.isForFlowYaml ? { name: this.name } : n2._super.getConfiguration.apply(this, arguments); + } }, pasteReIdOrRename: { value: function(e3) { + n2._super.pasteReIdOrRename.apply(this, arguments), this.trackingId = e3.pasteGetNewTrackingId(this.trackingId); + } } }), e2.exports = n2; + }, 20236(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + Object.defineProperties(this, { _holdMusic: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "InQueueCallFlowSettings"), Object.defineProperties(r.prototype, { holdMusic: { enumerable: true, get: function() { + return this._holdMusic; + }, set: function(e3) { + this._holdMusic = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 58265(e2, t2, i2) { + const n2 = i2(59946); + function o() { + Object.defineProperties(this, { _autoGeneratedEmailHandlingType: { writable: true } }), o.baseConstructor.apply(this, arguments); + } + i2(45214).extend(o, "InboundEmailSettings"), Object.defineProperties(o.prototype, { autoGeneratedEmailHandlingType: { enumerable: true, get: function() { + return this._autoGeneratedEmailHandlingType; + }, set: function(e3) { + this._autoGeneratedEmailHandlingType = this.reviveEnum(e3, n2); + } } }), e2.exports = o; + }, 85148(e2, t2, i2) { + const { loopTaskActionType: n2 } = i2(30801); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(92330).extend(o, n2, true), e2.exports = o; + }, 85160(e2, t2, i2) { + const n2 = i2(92140), o = i2(2210), r = i2(7401), a = i2(62229), { menuActionType: s } = i2(30801), l = i2(27359), { uuid: u } = i2(9456); + 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(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) { + 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() { + return this._extensionDialingDelay; + }, set: function(e3) { + this._extensionDialingDelay = this.reviveItem(e3, r); + } }, menuChoiceList: { enumerable: true, get: function() { + return this._menuChoiceList; + }, set: function(e3) { + this._menuChoiceList = this.reviveArray(e3, l); + } }, promptRepeatCount: { enumerable: true, get: function() { + return this._promptRepeatCount; + }, set: function(e3) { + this._promptRepeatCount = this.reviveItem(e3, r); + } }, promptRepeatDelay: { enumerable: true, get: function() { + return this._promptRepeatDelay; + }, set: function(e3) { + this._promptRepeatDelay = this.reviveItem(e3, r); + } }, prompts: { enumerable: true, get: function() { + return this._expression; + }, set: function(e3) { + this._expression = this.reviveItem(e3, o); + } }, speechRecMinConfidence: { enumerable: true, get: function() { + return this._speechRecMinConfidence; + }, set: function(e3) { + this._speechRecMinConfidence = this.reviveItem(e3, r); + } }, speechRecTimeoutComplete: { enumerable: true, get: function() { + return this._speechRecTimeoutComplete; + }, set: function(e3) { + this._speechRecTimeoutComplete = this.reviveItem(e3, r); + } }, speechRecTimeoutIncomplete: { enumerable: true, get: function() { + return this._speechRecTimeoutIncomplete; + }, set: function(e3) { + this._speechRecTimeoutIncomplete = this.reviveItem(e3, r); + } }, speechRecTimeoutTotal: { enumerable: true, get: function() { + return this._speechRecTimeoutTotal; + }, set: function(e3) { + this._speechRecTimeoutTotal = this.reviveItem(e3, r); + } }, useExtensionDialing: { enumerable: true, get: function() { + return this._useExtensionDialing; + }, set: function(e3) { + this._useExtensionDialing = this.reviveItem(e3, r); + } } }), e2.exports = c; + }, 27359(e2, t2, i2) { + const n2 = i2(28730), o = i2(76768), r = i2(31178), { menuActionActionType: a } = i2(30801), { taskActionActionType: s } = i2(30801), { uuid: l } = i2(9456); + function u() { + Object.defineProperties(this, { _action: { writable: true }, _digit: { writable: true } }), this.globalDtmf = void 0, this.globalSpeech = void 0, this.speechRecTerms = void 0, u.baseConstructor.apply(this, arguments), this.id || (this.id = l()); + } + o.extend(u, "MenuChoice"), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { + u._super.pasteReIdOrRename.apply(this, arguments), this.action.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + if (u._super.pasteResolveOldToNewValues.apply(this, arguments), this.action.pasteResolveOldToNewValues(e3), this.action) switch (this.action.__type) { + case a: + this.name = e3.pasteResolveOldMenuNameToNewMenuName(this.name); + break; + case s: + this.name = e3.pasteResolveOldTaskNameToNewTaskName(this.name); } - setSupportsFlowOptimizationData(e3) { - return this.supportsFlowOptimizationData = e3, this; - } - get supportsPathDiscovery() { - return this._supportsPathDiscovery; - } - set supportsPathDiscovery(e3) { - this._supportsPathDiscovery = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsPathDiscovery", "value")); - } - setSupportsPathDiscovery(e3) { - return this.supportsPathDiscovery = e3, this; - } - setSupportsQuickRepliesFlowLevelSetting(e3) { - return this.supportsQuickRepliesFlowLevelSetting = e3, this; - } - hasChannelType(e3) { - return a.default.contains(this._channelTypes, e3); - } - get channelTypes() { - return this._channelTypes; - } - set channelTypes(e3) { - this._channelTypes = e3; - } - setChannelTypes(e3) { - return this.channelTypes = e3, this; - } - get supportsMoreThanOneChannelType() { - return this._channelTypes.length > 1; - } - get channelTypeVariableName() { - return this._channelTypeVariableName; - } - set channelTypeVariableName(e3) { - this._channelTypeVariableName = m.ParameterValidator.expectString(e3, () => h.ParameterInfo.createPropertySet(this.className, "channelTypeVariableName", "value")); - } - setChannelTypeVariableName(e3) { - return this.channelTypeVariableName = e3, this; - } - get supportsRecordingSettings() { - return this.canSuppressCallRecordings; - } - get outputModes() { - return this._outputModes; - } - set outputModes(e3) { - this._outputModes = e3; - } - setOutputModes(e3) { - return this.outputModes = e3, this; - } - get supportsMoreThanOneOutputMode() { - var e3; - return (null === (e3 = this._outputModes) || void 0 === e3 ? void 0 : e3.length) > 1; - } - get outputValuesSupportVariableExpressions() { - return this._outputValuesSupportVariableExpressions; - } - set outputValuesSupportVariableExpressions(e3) { - this._outputValuesSupportVariableExpressions = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "outputValuesSupportVariableExpressions", "value")); - } - setOutputValuesSupportVariableExpressions(e3) { - return this.outputValuesSupportVariableExpressions = e3, this; - } - get outputModeVariableName() { - return this._outputModeVariableName; - } - set outputModeVariableName(e3) { - this._outputModeVariableName = m.ParameterValidator.expectString(e3, () => h.ParameterInfo.createPropertySet(this.className, "outputModeVariableName", "value")); - } - setOutputModeVariableName(e3) { - return this.outputModeVariableName = e3, this; - } - get dependencyType() { - return this._dependencyType; - } - set dependencyType(e3) { - this._dependencyType = e3; - } - setDependencyType(e3) { - return this.dependencyType = e3, this; - } - get errorHandlingTypes() { - return this._errorHandlingTypes; - } - get errorHandlingTypesMap() { - return this._errorHandlingTypesMap; - } - set errorHandlingTypes(e3) { - if (this._errorHandlingTypes = e3, this._errorHandlingTypesMap = {}, null == e3 ? void 0 : e3.length) for (const e4 of this._errorHandlingTypes) void 0 !== (null == e4 ? void 0 : e4.value) && (this._errorHandlingTypesMap[e4.value] = e4); - } - setErrorHandlingTypes(e3) { - return this.errorHandlingTypes = e3, this; - } - get fileExtension() { - return this._fileExtension; - } - set fileExtension(e3) { - this._fileExtension = m.ParameterValidator.expectString(e3, () => h.ParameterInfo.createPropertySet(this.className, "fileExtension", "value")); - } - setFileExtension(e3) { - return this.fileExtension = e3, this; - } - get flowInvokingEvents() { - return this._flowInvokingEvents; - } - addFlowInvokingEvent(e3) { - if (a.default.isString(e3) && e3.length) { - if (e3 && !this._flowInvokingEventsMap[e3]) { - const t3 = _.allFlowInvokingEventsMap[e3] || { id: e3, description: (0, o.sprintf)(g.flowInvokingEvents.unknownFlowInvokingEvent, e3) }; - this._flowInvokingEvents.push(t3), this._flowInvokingEventsMap[t3.id] = t3; - } - return this; - } - } - supportsFlowInvokingEvent(e3) { - return !!this._flowInvokingEventsMap[e3]; - } - get hasDestinationFlowTypes() { - return this._hasDestinationFlowTypes; - } - set hasDestinationFlowTypes(e3) { - this._hasDestinationFlowTypes = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "hasDestinationFlowTypes", "value")); - } - setHasDestinationFlowTypes(e3) { - return this.hasDestinationFlowTypes = e3, this; - } - get flowTypeCategory() { - return this._flowTypeCategory; - } - set flowTypeCategory(e3) { - this._flowTypeCategory = e3; - } - setFlowTypeCategory(e3) { - return this.flowTypeCategory = e3, this; - } - get isAvailable() { - return this._isAvailable; - } - set isAvailable(e3) { - this._isAvailable = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "isAvailable", "value")); - } - setIsAvailable(e3) { - return this.isAvailable = e3, this; - } - get isCreatable() { - return this._isCreatable && this.isAvailable; - } - set isCreatable(e3) { - this._isCreatable = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "isCreatable", "value")); - } - setIsCreatable(e3) { - return this.isCreatable = e3, this; - } - get isDeprecated() { - return this._isDeprecated; - } - set isDeprecated(e3) { - this._isDeprecated = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "isDeprecated", "value")); - } - setIsDeprecated(e3) { - return this.isDeprecated = e3, this; - } - get previewPlacesCall() { - return this._previewPlacesCall && this._supportsTestPreview; - } - set previewPlacesCall(e3) { - this._previewPlacesCall = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "previewPlacesCall", "value")); - } - setIsTestCallable(e3) { - return this._previewPlacesCall = e3, this; - } - get previewPerformsLaunch() { - return this._previewPerformsLaunch && this._supportsTestPreview; - } - set previewPerformsLaunch(e3) { - this._previewPerformsLaunch = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "previewPerformsLaunch", "value")); - } - setIsTestLaunchable(e3) { - return this._previewPerformsLaunch = e3, this; - } - get isEmbeddable() { - return this._isEmbeddable; - } - set isEmbeddable(e3) { - this._isEmbeddable = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "isEmbeddable", "value")); - } - get previewAcceptsJsonPayload() { - return this._previewAcceptsJsonPayload && this._supportsTestPreview; - } - set previewAcceptsJsonPayload(e3) { - this._previewAcceptsJsonPayload = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "previewAcceptsJsonPayload", "value")); - } - setPreviewAcceptsJsonPayload(e3) { - return this.previewAcceptsJsonPayload = e3, this; - } - get previewsAreReplayable() { - return this._previewsAreReplayable && this._supportsTestPreview; - } - set previewsAreReplayable(e3) { - this._previewsAreReplayable = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "previewsAreReplayable", "value")); - } - setPreviewsAreReplayable(e3) { - return this.previewsAreReplayable = e3, this; - } - get isReferenceableFromOtherFlows() { - return this._isReferenceableFromOtherFlows; - } - set isReferenceableFromOtherFlows(e3) { - this._isReferenceableFromOtherFlows = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "isReferenceableFromOtherFlows", "value")); - } - setIsReferenceableFromOtherFlows(e3) { - return this.isReferenceableFromOtherFlows = e3, this; - } - get isAutomateFlowType() { - return r2.flowTypes.isAutomateFlowType(this.type); - } - get isAutomateOrCiceroFlowType() { - return r2.flowTypes.isAutomateOrCiceroFlowType(this.type); - } - get isCallFlowType() { - return r2.flowTypes.isVxmlgenFlowType(this.type); - } - get isInitialized() { - return this._isInitialized; - } - set isInitialized(e3) { - this._isInitialized = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "isInitialized", "value")); - } - setIsInitialized(e3) { - return this.isInitialized = e3, this; - } - get isFlowDefinition() { - return true; - } - get languageChangesAreImmediate() { - return this._languageChangesAreImmediate && this._supportsLanguages; - } - set languageChangesAreImmediate(e3) { - this._languageChangesAreImmediate = m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "languageChangesAreImmediate", "value")); - } - setLanguageChangesAreImmediate(e3) { - return this.languageChangesAreImmediate = e3, this; - } - get languagesSupportSttSetting() { - return this._languagesSupportSttSetting && this._supportsLanguages && this.hasChannelType(p.channelTypeCall); - } - set languagesSupportSttSetting(e3) { - this._languagesSupportSttSetting = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "languagesSupportSttSetting", "value")); - } - get supportsGrammars() { - return this._supportsGrammars; - } - set supportsGrammars(e3) { - this._supportsGrammars = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsGrammars", "value")); - } - get languagesRequireTts() { - return this._languagesRequireTts && this._languagesSupportTtsAndAsrSettings; - } - set languagesRequireTts(e3) { - this._languagesRequireTts = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "languagesRequireTts", "value")); - } - setLanguagesRequireTts(e3) { - return this.languagesRequireTts = e3, this; - } - get languagesSupportTtsAndAsrSettings() { - return this._languagesSupportTtsAndAsrSettings && this._supportsLanguages; - } - set languagesSupportTtsAndAsrSettings(e3) { - this._languagesSupportTtsAndAsrSettings = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "languagesSupportTtsAndAsrSettings", "value")); - } - get languagesSupportTtsAndAsrRuntime() { - return this._languagesSupportTtsAndAsrRuntime && this._supportsLanguages && this._supportsAudio; - } - set languagesSupportTtsAndAsrRuntime(e3) { - this._languagesSupportTtsAndAsrRuntime = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "languagesSupportTtsAndAsrRuntime", "value")); - } - setLanguagesSupportSttSetting(e3) { - return this.languagesSupportSttSetting = e3, this; - } - setLanguagesSupportTtsAndAsrSettings(e3) { - return this.languagesSupportTtsAndAsrSettings = e3, this; - } - setLanguagesSupportTtsAndAsrRuntime(e3) { - return this.languagesSupportTtsAndAsrRuntime = e3, this; - } - get languagesSupportDefaultLanguage() { - return this._languagesSupportDefaultLanguage && this._supportsLanguages; - } - set languagesSupportDefaultLanguage(e3) { - this._languagesSupportDefaultLanguage = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "languagesSupportDefaultLanguage", "value")); - } - setLanguagesSupportDefaultLanguage(e3) { - return this.languagesSupportDefaultLanguage = e3, this; - } - get supportsDefaultLanguageChange() { - return this._supportsDefaultLanguageChange && this._supportsLanguages && this._supportsLanguageAddRemove; - } - set supportsDefaultLanguageChange(e3) { - this._supportsDefaultLanguageChange = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsDefaultLanguageChange", "value")); - } - setSupportsLanguageDefaultChange(e3) { - return this.supportsDefaultLanguageChange = e3, this; - } - get languagesSupportDefaultLanguageSkill() { - return this._languagesSupportDefaultLanguageSkill && this._supportsLanguages && l.globalTypes.languageSkill.isAvailableForFlowType(this.type); + } }, action: { enumerable: true, get: function() { + return this._action; + }, set: function(e3) { + this._action = this.reviveItem(e3, n2); + } }, digit: { enumerable: true, get: function() { + return this._digit; + }, set: function(e3) { + this._digit = this.reviveEnum(e3, r); + } } }), e2.exports = u; + }, 96563(e2, t2, i2) { + const n2 = i2(92140), o = i2(45214), r = i2(7800); + function a() { + Object.defineProperties(this, { _mappings: { writable: true } }), this.intents = {}, this.slots = {}, this.rawNlu = null, this.intentHealthInfo = null, this.rawNluCompressionFormat = null, this.archNlu = null, this.nluGeneratedInputInfo = {}, a.baseConstructor.apply(this, arguments), n2.isObject(this._mappings) || (this._mappings = new r()); + } + Object.defineProperties(a.prototype, { mappings: { enumerable: true, get: function() { + return this._mappings; + }, set: function(e3) { + this._mappings = this.reviveItem(e3, r, false); + } } }), o.extend(a, "NluMetaData"), e2.exports = a; + }, 7800(e2, t2, i2) { + const n2 = i2(45214), o = i2(81161), r = i2(45889).default; + function a() { + Object.defineProperties(this, { _dynamicSlotTypes: { writable: true }, _dynamicTimeslots: { writable: true } }), this.intentsToReusableTasks = {}, this.listPickerMappings = {}, this.slotsToGrammars = {}, this.slotToSlotVariables = {}, this.slotToReferencingIntents = {}, this.slotToEntityTypes = {}, a.baseConstructor.apply(this, arguments); + } + Object.defineProperties(a.prototype, { dynamicSlotTypes: { enumerable: true, get: function() { + return this._dynamicSlotTypes; + }, set: function(e3) { + this._dynamicSlotTypes = this.reviveMap(e3, o, false); + } } }), Object.defineProperties(a.prototype, { dynamicTimeslots: { enumerable: true, get: function() { + return this._dynamicTimeslots; + }, set: function(e3) { + this._dynamicTimeslots = this.reviveMap(e3, r, false); + } } }), n2.extend(a, "NluMetaDataMappings"), e2.exports = a; + }, 20374(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + Object.defineProperties(this, { _contactList: { writable: true }, _defaultWrapupCode: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "OutboundCallSettings"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.contactList.pasteReIdOrRename(e3), this.defaultWrapupCode.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.contactList.pasteResolveOldToNewValues(e3), this.defaultWrapupCode.pasteResolveOldToNewValues(e3); + } }, contactList: { enumerable: true, get: function() { + return this._contactList; + }, set: function(e3) { + this._contactList = this.reviveItem(e3, o); + } }, defaultWrapupCode: { enumerable: true, get: function() { + return this._defaultWrapupCode; + }, set: function(e3) { + this._defaultWrapupCode = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 56322(e2, t2, i2) { + function n2() { + this.selection = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(52722).extend(n2, "SelectionItem"), e2.exports = n2; + }, 67641(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + Object.defineProperties(this, { _skill: { writable: true }, _value: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "SkillValuePair"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + this.skill?.pasteReIdOrRename(e3), this.value?.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + this.skill?.pasteResolveOldToNewValues(e3), this.value?.pasteResolveOldToNewValues(e3); + } }, addClipboardDependencies: { value: function(e3) { + this._skill && this._skill.addClipboardDependencies(e3), this._value && this._value.addClipboardDependencies(e3); + } }, initializeDesignTime: { value: function() { + this._skill && this._skill.initializeDesignTime(), this._value && this._value.initializeDesignTime(); + } }, skill: { enumerable: true, get: function() { + return this._skill; + }, set: function(e3) { + this._skill = this.reviveItem(e3, o); + } }, value: { enumerable: true, get: function() { + return this._value; + }, set: function(e3) { + this._value = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 69674(e2, t2, i2) { + const n2 = i2(15655), { stateActionType: o } = i2(30801); + function r() { + Object.defineProperties(this, { _variableScope: { value: "State" } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, o, true), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + r._super.pasteReIdOrRename.apply(this, arguments), this.name = e3.pasteGetUniqueStateName(this.name); + } } }), e2.exports = r; + }, 88654(e2, t2, i2) { + const n2 = i2(45214), o = i2(56322); + function r() { + Object.defineProperties(this, { _engine: { writable: true }, _voice: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "TTSData"), Object.defineProperties(r.prototype, { engine: { enumerable: true, get: function() { + return this._engine || (this._engine = new o()), this._engine; + }, set: function(e3) { + this._engine = this.reviveItem(e3, o); + } }, voice: { enumerable: true, get: function() { + return this._voice || (this._voice = new o()), this._voice; + }, set: function(e3) { + this._voice = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 92330(e2, t2, i2) { + const n2 = i2(92140), o = i2(15655), r = i2(57632), { outputIds: a } = i2(26847), s = i2(47957), { taskActionType: l } = i2(30801); + function u() { + if (Object.defineProperties(this, { _branchItems: { writable: true }, _variableScope: { value: "Task" } }), u.baseConstructor.apply(this, arguments), !this._branchItems) { + this._branchItems = []; + const e3 = new r({ label: s.task.defaultPathLabel, outputId: a.default }); + this._branchItems.push(e3); } - set languagesSupportDefaultLanguageSkill(e3) { - this._languagesSupportDefaultLanguageSkill = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "languagesSupportDefaultLanguageSkill", "value")); + } + o.extend(u, l, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { + u._super.pasteReIdOrRename.apply(this, arguments), this.name = e3.pasteGetUniqueTaskName(this.name), n2.each(this.paths, function(t3) { + t3.pasteReIdOrRename(e3); + }); + } }, pasteResolveOldToNewValues: { value: function(e3) { + u._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.paths, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }); + } }, paths: { enumerable: true, get: function() { + return this._branchItems; + }, set: function(e3) { + this._branchItems = this.reviveArray(e3, r); + } } }), e2.exports = u; + }, 42217(e2, t2, i2) { + const n2 = i2(45214), o = i2(7401); + function r() { + Object.defineProperties(this, { _expression: { writable: true }, _variable: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "VariableExpressionPair"), Object.defineProperties(r.prototype, { pasteReIdOrRename: { value: function(e3) { + this.expression.pasteReIdOrRename(e3), this.variable.pasteReIdOrRename(e3); + } }, pasteResolveOldToNewValues: { value: function(e3) { + this.expression.pasteResolveOldToNewValues(e3), this.variable.pasteResolveOldToNewValues(e3); + } }, expression: { enumerable: true, get: function() { + return this._expression; + }, set: function(e3) { + this._expression = this.reviveItem(e3, o); + } }, variable: { enumerable: true, get: function() { + return this._variable; + }, set: function(e3) { + this._variable = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 87392(e2, t2, i2) { + function n2() { + this.worktype = void 0, this.customFieldsDataTypeId = void 0, this.customFieldsSchemaId = void 0, this.customFieldsSchemaName = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "WorkitemFlowSettings"), Object.defineProperties(n2.prototype, { pasteReIdOrRename: { value: function(e3) { + n2._super.pasteReIdOrRename.apply(this, arguments); + } }, pasteResolveOldToNewValues: { value: function(e3) { + n2._super.pasteResolveOldToNewValues.apply(this, arguments); + } } }), e2.exports = n2; + }, 59946(e2, t2, i2) { + const n2 = i2(92140), o = i2(57731), r = i2(47957), a = {}; + function s(e3, t3, i3, n3) { + a[e3] = this, a[t3] = this, s.baseConstructor.apply(this, arguments), this.scriptingName = n3; + } + o.extend(s, "AutoGeneratedEmailHandlingType"), s.getInstance = function(e3) { + return a[n2.isString(e3) || n2.isActualNumber(e3) ? e3 : 0] || a[0]; + }, s.Disconnect = new s(0, "Disconnect", r.actions.disconnect, "disconnect"), s.Continue = new s(1, "Continue", r.inboundEmailSettings.normalProcessing, "continue"), e2.exports = s; + }, 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; + } + i2(45214).extend(n2, "BaseEnum"), Object.defineProperties(n2.prototype, { toJSON: { value: function() { + return this.name; + } }, toString: { value: function() { + return this.name; + } }, valueOf: { value: function() { + return this.value; + } }, displayName: { get: function() { + return this._displayName || this.name; + } }, pluralDisplayName: { get: function() { + return this._pluralDisplayName; + } }, isEnum: { get: function() { + return true; + } }, label: { get: function() { + return this.displayName; + } }, setName: { value: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 35966(e2, t2, i2) { + const n2 = i2(57731), o = {}; + function r(e3, t3) { + o[e3] = this, o[t3] = this, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "CollectInputVerificationType"), r.getInstance = function(e3) { + return o[e3 || 0] || o[0]; + }, r.UniqueDigits = new r(0, "UniqueDigits"), r.Numeric = new r(1, "Numeric"), Object.defineProperties(r.prototype, { getConfiguration: { value: function(e3, t3) { + return t3?.isForFlowYaml ? this === r.UniqueDigits ? "individualDigits" : this === r.Numeric ? "numeric" : "none" : this; + } } }), e2.exports = r; + }, 27862(e2, t2, i2) { + const n2 = i2(57731), o = i2(47957), r = {}; + function a(e3, t3, i3) { + r[e3] = this, a.baseConstructor.apply(this, [e3, t3, void 0, i3]); + } + Object.defineProperties(a.prototype, { configurationListManager: { writable: true }, hideFromGrid: { value: false, writable: true }, isDependencyType: { get: function() { + return true; + } }, getConfigItem: { value: function(e3, t3, i3) { + if (t3) { + const t4 = this.configurationListManager?.getBriefManagerWithFallback().getItem(e3, i3); + if (t4) return t4; } - setLanguagesSupportDefaultLanguageSkill(e3) { - return this.languagesSupportDefaultLanguageSkill = e3, this; + return this.configurationListManager?.getItem(e3, i3); + } } }), n2.extend(a, "DependencyType"), a.getInstance = function(e3) { + return r[e3 || 0] || r[0]; + }, a.AgenticVirtualAgent = new a("agenticVirtualAgent", o.agenticVirtualAgent.agenticVirtualAgent, o.externalAuths.agenticVirtualAgentView.displayTitle), a.AgenticVirtualAgentVersion = new a("agenticVirtualAgentVersion", o.agenticVirtualAgent.agenticVirtualAgentVersion, o.externalAuths.agenticVirtualAgentVersionView.displayTitle), a.AudioConnectorBot = new a("audioConnectorBot", o.callAudioConnector.audioConnectorType), a.BridgeServer = new a("bridgeAction", o.bridgeServer.bridgeAction, o.externalAuths.bridgeActionView.displayTitle), a.BotConnectorBot = new a("botConnectorBot", o.botConnector.botConnector, o.externalAuths.botConnectorView.displayTitle), a.ConversationCustomAttributeSchema = new a("conversationCustomAttributeSchema", o.conversationAttribute.conversationAttributeSchemaLabel), a.CustomerIntent = new a("customerIntent", o.customerIntent.customerIntentLabel, o.externalAuths.customerIntentsView.customerIntentsViewDisplayTitle), a.CustomerSegment = new a("customerSegment", o.customerSegment.customerSegmentLabel, o.externalAuths.customerSegmentsView.customerSegmentsViewDisplayTitle), a.DigitalBotConnector = new a("digitalBotConnector", o.botConnector.digitalConnector, o.externalAuths.botConnectorView.displayTitle), a.DigitalBotConnectorIntegration = new a("digitalBotConnectorIntegration", o.botConnector.digitalConnectorIntegration, o.externalAuths.botConnectorView.displayTitle), a.DigitalBotFlow = new a("digitalBotFlow", o.flow.types.digitalBotFlow, o.navigationDropDown.sectionDigitalBotFlows), a.Division = new a("division", o.flow.gridColumns.division), a.Guide = new a("guide", o.guide.guide, o.externalAuths.guideView.displayTitle), a.GuideVersion = new a("guideVersion", o.guide.guideVersion, o.externalAuths.guideVersionView.displayTitle), a.Integration = new a("integration", o.integration.name, o.externalAuths.integrationView.displayTitle), a.BotConnectorIntegration = new a("botConnectorIntegration", o.botConnector.botConnectorIntegration), a.BotFlow = new a("botFlow", o.flow.types.bot, o.navigationDropDown.sectionBotFlows), a.LexBotAlias = new a("lexBotAlias", o.lex.lexBotAlias), a.LexBot = new a("lexBot", o.lex.lexBot), a.LexV2BotAlias = new a("lexV2BotAlias", o.lex.lexV2BotAlias), a.LexV2Bot = new a("lexV2Bot", o.lex.lexV2Bot), a.NuanceMixIntegration = new a("nuanceMixIntegration", o.nuanceMix.nuanceMixIntegration), a.NuanceMixBot = new a("nuanceMixBot", o.nuanceMix.nuanceMixBot), a.ContactList = new a("contactList", o.expression.contactList, o.externalAuths.contactListsView.displayTitle), a.EmergencyGroup = new a("emergencyGroup", o.evaluateSchedules.emergencyGroup, o.externalAuths.emergencyGroupView.displayTitle), a.CommonModuleFlow = new a("commonModuleFlow", o.flow.types.commonModule, o.navigationDropDown.sectionCommonModuleFlows), a.InboundCallFlow = new a("inboundCallFlow", o.flow.types.inboundCall, o.navigationDropDown.sectionInboundCallFlows), a.InqueueCallFlow = new a("inqueueCallFlow", o.flow.types.inQueueCall, o.navigationDropDown.sectionInQueueCallFlows), a.InqueueEmailFlow = new a("inqueueEmailFlow", o.flow.types.inQueueEmail, o.navigationDropDown.sectionInQueueEmailFlows), a.InqueueShortMessageFlow = new a("inqueueShortMessageFlow", o.flow.types.inQueueShortMessage, o.navigationDropDown.sectionInQueueShortMessageFlows), a.InboundChatFlow = new a("inboundChatFlow", o.flow.types.inboundChat, o.navigationDropDown.sectionInboundChatFlows), a.InboundEmailFlow = new a("inboundEmailFlow", o.flow.types.inboundEmail, o.navigationDropDown.sectionInboundEmailFlows), a.InboundShortMessageFlow = new a("inboundShortMessageFlow", o.flow.types.inboundShortMessage, o.navigationDropDown.sectionInboundShortMessageFlows), a.SurveyInviteFlow = new a("surveyInviteFlow", o.flow.types.surveyInviteWebPrefix, o.sectionSurveyInviteFlowsWebPrefix), a.Language = new a("language", o.setLocale.headerLanguage, o.expression.languages), a.LanguageSkill = new a("acdLanguage", o.transferPureMatch.languageSkill, o.externalAuths.languageSkillsView.displayTitle), a.OutboundCallFlow = new a("outboundCallFlow", o.flow.types.outboundCall, o.navigationDropDown.sectionOutboundCallFlows), a.Queue = new a("queue", o.configurations.queue, o.externalAuths.queuesView.displayTitle), a.Group = new a("group", o.group.label, o.group.groupLabelPlural), a.ScreenPop = new a("composerScript", o.createCallback.script, o.externalAuths.scriptsView.displayTitle), a.Response = new a("response", o.getResponse.response, o.externalAuths.responseView.displayTitle), a.DecisionTable = new a("decisionTable", o.decisionTable.decisionTableLabel, o.decisionTable.decisionTablePlural), a.Schedule = new a("schedule", o.evaluateSchedules.schedule, o.externalAuths.schedulesView.displayTitle), a.ScheduleGroup = new a("scheduleGroup", o.evaluateSchedules.scheduleGroup, o.externalAuths.scheduleGroupView.displayTitle), a.SecureCallFlow = new a("secureCallFlow", o.flow.types.secureCall, o.navigationDropDown.sectionSecureCallFlows), a.Skill = new a("acdSkill", o.configurations.skill, o.configurations.skillsPlural), a.SmsPhoneNumber = new a("smsPhoneNumber", o.deflect.smsPhoneNumber, o.externalAuths.smsPhoneNumberView.smsPhoneNumberViewDisplayTitle), a.SystemPrompt = new a("systemPrompt", o.audio.promptSystem, o.externalAuths.promptsSystemView.displayTitle), a.UtilizationLabel = new a("utilizationLabel", o.utilizationLabel.utilizationLabelLabel, o.externalAuths.utilizationLabelView.utilizationLabelViewDisplayTitle), a.User = new a("user", o.user.label, o.user.userLabelPlural), a.UserPrompt = new a("userPrompt", o.audio.promptUser, o.externalAuths.promptsUserView.displayTitle), a.WrapupCode = new a("acdWrapupCode", o.setWrapupCode.wrapupCode, o.externalAuths.wrapupCodesView.displayTitle), a.SecureAction = new a("secureAction", o.secureAction.secureAction), a.DataAction = new a("dataAction", o.dataAction.dataAction), a.Video = new a("video", o.generic.video), a.BusinessProcessFlow = new a("businessProcessFlow", o.businessProcessFlow.businessProcessFlowTypeDisplayName, o.businessProcessFlow.businessProcessFlowsSectionLabel), a.EmailSendFlow = new a("emailSendFlow", o.emailSendFlow.emailSendFlowTypeDisplayName, o.emailSendFlow.emailSendFlowsSectionLabel), a.VoiceFlow = new a("voiceFlow", o.flow.types.voiceFlow), a.VoicemailFlow = new a("voicemailFlow", o.flow.types.voicemailFlow, o.navigationDropDown.sectionVoicemailFlows), a.VoiceSurveyFlow = new a("voiceSurveyFlow", o.flow.types.voiceSurveyFlow, o.navigationDropDown.sectionVoiceSurveyFlows), a.Workflow = new a("workflow", o.flow.types.workflow, o.navigationDropDown.sectionWorkflowFlows), a.WorkItemFlow = new a("workItemFlow", o.flow.types.workItem, o.navigationDropDown.sectionWorkItemFlows), a.DataTable = new a("dataTable", o.dataTable.dataTable, o.externalAuths.dataTablesView.displayTitle), a.DigitalAudio = new a("digitalAudio", o.generic.digitalAudio), a.File = new a("file", o.file.file), a.FlowMilestone = new a("flowMilestone", o.flowOutcomes.flowMilestone, o.externalAuths.flowMilestonesView.displayTitle), a.FlowOutcome = new a("flowOutcome", o.flowOutcomes.flowOutcome, o.externalAuths.flowOutcomesView.displayTitle), a.TtsEngine = new a("ttsEngine", o.textToSpeech.ttsEngineDependencyString), a.TtsVoice = new a("ttsVoice", o.textToSpeech.ttsVoice), a.DialogflowAgent = new a("dialogflowAgent", o.dialogflow.dialogflowAgent), a.DialogflowCxAgent = new a("dialogflowCxAgent", o.dialogflowCx.dialogflowCxAgent), a.DialogEngineBot = new a("dialogEngineBot", o.dialogEngine.dialogEngineBot), a.DialogEngineBotVersion = new a("dialogEngineBotVersion", o.dialogEngine.dialogEngineBotVersion), a.FlowAction = new a("flowAction", o.action.action), a.FlowDataType = new a("flowDataType", o.generic.type), a.NLUDomain = new a("nluDomain", o.bot.naturalLanguageUnderstanding), a.NLUDomain.hideFromGrid = true, a.KnowledgeBase = new a("knowledgeBase", o.knowledgeSettings.knowledgeBase, o.externalAuths.knowledgeBaseView.knowledgeBaseViewDisplayTitle), a.ConversationSummarySetting = new a("conversationSummarySetting", o.customNodes.virtualAgentSettings.conversationSummarySettingsTitle, o.customNodes.virtualAgentSettings.conversationSummarySettingsTitle), a.KnowledgeSetting = new a("knowledgeSetting", o.knowledgeSettings.knowledgeSetting, o.knowledgeSettings.knowledgeSetting), a.KnowledgeBaseDocument = new a("knowledgeBaseDocument", o.knowledgeSettings.knowledgeBaseDocument, o.externalAuths.knowledgeBaseDocumentView.knowledgeBaseDocumentViewDisplayTitle), a.Image = new a("image", o.image.image), a.OAuthClient = new a("oAuthClient", o.oauthClient.label), a.ResponseAsset = new a("responseAsset", o.responseAsset.responseAsset), a.SpeechToTextEngine = new a("sttEngine", o.speechToText.speechToTextEngineLabel), a.Grammar = new a("grammar", o.grammars.grammarLabel, o.externalAuths.grammarView.displayTitle), a.SurveyForm = new a("surveyForm", o.voiceSurvey.surveyFormLabel, o.externalAuths.surveyFormView.displayTitle), a.Schema = new a("schema", o.workitem.schemaLabel), a.Worktype = new a("worktype", o.workitem.worktypeLabel, o.externalAuths.worktypesView.displayTitle), Object.defineProperties(a.prototype, { toJSON: { value: function() { + return this.value; + } } }), e2.exports = a; + }, 46056(e2, t2, i2) { + const n2 = i2(57731), o = {}; + function r(e3, t3) { + o[e3] = this, o[t3] = this, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "DialNameMatchStyle"), r.getInstance = function(e3) { + return o[e3 || 0] || o[0]; + }, r.WaitForUniqueMatch = new r(0, "WaitForUniqueMatch"), r.UseSpecificNumChars = new r(1, "UseSpecificNumChars"), e2.exports = r; + }, 94745(e2, t2, i2) { + const n2 = i2(57731), o = {}; + function r(e3, t3) { + o[e3] = this, o[t3] = this, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "DialNameMatchType"), r.getInstance = function(e3) { + return o[e3 || 0] || o[0]; + }, r.FirstName = new r(0, "FirstName"), r.LastName = new r(1, "LastName"), r.FirstOrLastName = new r(2, "FirstOrLastName"), e2.exports = r; + }, 31178(e2, t2, i2) { + const n2 = i2(92140), o = i2(57731), r = {}; + function a(e3, t3) { + r[e3] = this, a.baseConstructor.apply(this, arguments); + } + o.extend(a, "Digit"), a.getInstance = function(e3) { + return r[e3 || 0] || r[0]; + }, a.Zero = new a(0, "0"), a.One = new a(1, "1"), a.Two = new a(2, "2"), a.Three = new a(3, "3"), a.Four = new a(4, "4"), a.Five = new a(5, "5"), a.Six = new a(6, "6"), a.Seven = new a(7, "7"), a.Eight = new a(8, "8"), a.Nine = new a(9, "9"), a.Pound = new a(10, "#"), a.Star = new a(11, "*"), Object.defineProperties(a.prototype, { toJSON: { value: function() { + return this.value; + } }, getConfiguration: { value: function(e3, t3) { + if (t3?.isForFlowYaml) { + if (n2.isNullOrUndefined(this.value)) return null; + let e4 = this.value; + return 10 === this.value ? e4 = "#" : 11 === this.value && (e4 = "*"), `digit_${e4}`; } - get supportsIntentDescriptions() { - return this._supportsIntentDescriptions; + return this; + } } }), e2.exports = a; + }, 15244(e2, t2, i2) { + const n2 = i2(92140), o = i2(57731), r = i2(47957), a = i2(17604).sprintf, s = {}; + function l(e3, t3, i3, n3, o2) { + s[e3] = this, s[t3] = this, l.baseConstructor.apply(this, arguments), Object.defineProperty(this, "displayName", { value: i3, writable: true }), this.scriptingName = n3, this.description = o2; + } + o.extend(l, "ErrorHandlingType"), l.getInstance = function(e3) { + return s[n2.isString(e3) || n2.isActualNumber(e3) ? e3 : 0] || s[0]; + }, l.Disconnect = new l(0, "Disconnect", r.actions.disconnect, "disconnect"), l.Queue = new l(1, "Queue", r.customNodes.errorHandling.queueTransfer, "queue"), l.Menu = new l(2, "Menu", r.actions.menuJump, "menu"), l.Task = new l(3, "Task", r.actions.taskTransfer, "task"), l.State = new l(4, "State", r.actions.changeState, "state"), l.EndWorkflow = new l(5, "EndWorkflow", r.actions.endWorkflow, "endWorkflow"), l.Exit = new l(6, "Exit", r.customNodes.errorHandling.exit, "exit"), l.EndInQueueState = new l(7, "EndInQueueState", r.actions.endState, "endInQueueState", a(r.customNodes.errorHandling.errorHandlingEndInQueueStateDescription, r.periodicStateDisplayName)), l.EndFlow = new l(8, "EndFlow", r.customNodes.errorHandling.errorHandlingEndFlow, "endFlow", r.customNodes.errorHandling.errorHandlingEndFlowDescription), l.Continue = new l(0, "Continue", r.customNodes.errorHandling.errorHandlingContinue, "continue"), l.AbortSend = new l(9, "AbortSend", r.actions.abortSend, "abortSend"), l.CompleteSend = new l(10, "CompleteSend", r.actions.completeSend, "completeSend"), e2.exports = l; + }, 26151(e2, t2, i2) { + const n2 = i2(92140), o = i2(57731), r = {}; + function a(e3, t3) { + r[e3] = this, r[t3] = this, a.baseConstructor.apply(this, arguments); + } + o.extend(a, "PlaybackModeEstimatedWaitTime"), a.getInstance = function(e3) { + return r[e3 || 0] || r[0]; + }, a.about = new a(0, "About"), a.range = new a(1, "Range"), a.exact = new a(2, "Exact"), a.lessThan = new a(3, "LessThan"), Object.defineProperties(a.prototype, { getConfiguration: { value: function(e3, t3) { + return t3?.isForFlowYaml ? n2.lowercaseFirstLetter(this.name) : this; + } } }), e2.exports = a; + }, 96946(e2, t2, i2) { + const n2 = i2(92140), o = i2(57731), r = {}; + function a(e3, t3) { + r[e3] = this, r[t3] = this, a.baseConstructor.apply(this, arguments); + } + o.extend(a, "PlaybackModePositionInQueue"), a.getInstance = function(e3) { + return r[e3 || 0] || r[0]; + }, a.number = new a(0, "Number"), a.ordinal = new a(1, "Ordinal"), a.ahead = new a(2, "Ahead"), Object.defineProperties(a.prototype, { getConfiguration: { value: function(e3, t3) { + return t3?.isForFlowYaml ? n2.lowercaseFirstLetter(this.name) : this; + } } }), e2.exports = a; + }, 18618(e2, t2, i2) { + const n2 = i2(57731), o = {}; + function r(e3, t3) { + o[e3] = this, o[t3] = this, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "SubsequentRecognitionFailuresEnum"), r.getInstance = function(e3) { + return o[e3 || 0]; + }, r.Exit = new r(0, "Exit"), r.ExecuteTask = new r(1, "ExecuteTask"), e2.exports = r; + }, 89720(e2, t2, i2) { + const n2 = i2(57731), o = i2(47957), r = {}; + function a(e3, t3) { + r[e3] = this, r[t3] = this, a.baseConstructor.apply(this, arguments); + } + n2.extend(a, "UUIDataTransferTypeEnum"), a.getInstance = function(e3) { + return r[e3 || 0] || r[0]; + }, a.transfer = new a(0, "transfer", o.setUUIData.transferDropDownText), a.disconnect = new a(1, "disconnect", o.setUUIData.disconnectDropDownText), e2.exports = a; + }, 80748(e2, t2, i2) { + const n2 = i2(57731), o = i2(47957), r = {}; + function a(e3, t3) { + r[e3] = this, r[t3] = this, a.baseConstructor.apply(this, arguments); + } + n2.extend(a, "VoicemailTransferTargetType"), a.getInstance = function(e3) { + return r[e3 || 0] || r[0]; + }, a.User = new a(0, "user", o.user.label), a.Queue = new a(1, "queue", o.transferPureMatch.queue), a.Group = new a(2, "group", o.group.label), e2.exports = a; + }, 55892(e2, t2, i2) { + function n2() { + this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "AudioConnectorBot"), Object.defineProperties(n2.prototype, { label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, integrationId: { get: function() { + return this.id; + }, set: function(e3) { + this.id = e3; + } } }), e2.exports = n2; + }, 7452(e2, t2, i2) { + const n2 = i2(55892); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "AudioConnectorList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 75601(e2, t2, i2) { + const n2 = i2(58597); + function o() { + Object.defineProperties(this, { _botCompositeTag: { writable: true }, _botIntegrationId: { writable: true }, _versions: { writable: true } }), this.id = void 0, this.name = void 0, o.baseConstructor.apply(this, arguments); + } + i2(45214).extend(o, "BotConnector"), Object.defineProperties(o.prototype, { archInternalId: { enumerable: true, get: function() { + return this.botCompositeTag; + } }, getContextInfo: { value: function() { + return { botId: this.id, botCompositeTag: this.botCompositeTag, integrationId: this._botIntegrationId }; + } }, setParentContextInfo: { value: function(e3) { + this._botIntegrationId = e3; + } }, botCompositeTag: { get: function() { + return this._botCompositeTag; + }, set: function(e3) { + this._botCompositeTag = e3; + } }, integrationId: { get: function() { + return this._botIntegrationId; + }, set: function(e3) { + this._botIntegrationId = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, versions: { enumerable: true, get: function() { + return this._versions; + }, set: function(e3) { + this._versions = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 19413(e2, t2, i2) { + const n2 = i2(75601); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "BotConnectorList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 58597(e2, t2, i2) { + function n2() { + Object.defineProperties(this, { _botId: { writable: true }, _botIntegrationId: { writable: true }, _version: { writable: true } }), this.name = void 0, this.supportedLanguages = void 0, this.intents = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "BotConnectorVersion"), Object.defineProperties(n2.prototype, { archInternalId: { enumerable: true, get: function() { + return this.isFromAdsValidationResults ? `${this._botId}:${this._version}` : `${this._botIntegrationId}:${this._botId}:${this._version}`; + } }, getContextInfo: { value: function() { + return { botId: this._botId, integrationId: this._botIntegrationId }; + } }, setParentContextInfo: { value: function(e3) { + this._botIntegrationId = e3; + } }, id: { enumerable: true, get: function() { + if (this.isFromAdsValidationResults) { + const e3 = this._botId.indexOf(":"); + return this._botId.substr(e3 + 1); } - set supportsIntentDescriptions(e3) { - this._supportsIntentDescriptions = e3; - } - setSupportsIntentDescriptions(e3) { - return this.supportsIntentDescriptions = e3, this; - } - get availableLanguageTags() { - if (this.supportsLanguages && 0 !== this._availableLanguageTags.length) return this._availableLanguageTags; - } - set availableLanguageTags(e3) { - this._availableLanguageTags = m.ParameterValidator.expectArray(e3, () => h.ParameterInfo.createPropertySet(this.className, "availableLanguageTags", "value")); - } - setAvailableLanguageTags(e3) { - return this.availableLanguageTags = e3, this; - } - get supportsAllArchitectLanguageTags() { - return this._supportsLanguages && !a.default.isArray(this.availableLanguageTags); - } - get supportsAgentEscalation() { - return this._supportsAgentEscalation; - } - set supportsAgentEscalation(e3) { - this._supportsAgentEscalation = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsAgentEscalation", "value")); - } - setSupportsAgentEscalation(e3) { - return this.supportsAgentEscalation = e3, this; - } - get supportsAddVariablesInDataView() { - return this._supportsAddVariablesInDataView; - } - set supportsAddVariablesInDataView(e3) { - this._supportsAddVariablesInDataView = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsAddVariablesInDataView", "value")); - } - setSupportsAddVariablesInDataView(e3) { - return this.supportsAddVariablesInDataView = e3, this; - } - get supportsAutoDeletingVariablesWithNoUsages() { - return this._supportsAutoDeletingVariablesWithNoUsages; - } - set supportsAutoDeletingVariablesWithNoUsages(e3) { - this._supportsAutoDeletingVariablesWithNoUsages = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsAutoDeletingVariablesWithNoUsages", "value")); - } - setSupportsAutoDeletingVariablesWithNoUsages(e3) { - return this.supportsAutoDeletingVariablesWithNoUsages = e3, this; - } - get supportsComplexTypes() { - return this._supportsComplexTypes; - } - set supportsComplexTypes(e3) { - this._supportsComplexTypes = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsComplexTypes", "value")); - } - setSupportsComplexTypes(e3) { - return this.supportsComplexTypes = e3, this; - } - get supportsContactDataType() { - return this._supportsContactDataType; - } - set supportsContactDataType(e3) { - this._supportsContactDataType = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsContactDataType", "value")); - } - setSupportsContactDataType(e3) { - return this.supportsContactDataType = e3, this; - } - get supportsCustomJsonTypes() { - return this._supportsCustomJsonTypes; - } - set supportsCustomJsonTypes(e3) { - this._supportsCustomJsonTypes = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsCustomJsonTypes", "value")); - } - setSupportsCustomJsonTypes(e3) { - return this.supportsCustomJsonTypes = e3, this; - } - get supportsCustomJsonTypeUserCreatedVariables() { - return this._supportsCustomJsonTypeUserCreatedVariables; - } - set supportsCustomJsonTypeUserCreatedVariables(e3) { - this._supportsCustomJsonTypeUserCreatedVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsCustomJsonTypeUserCreatedVariables", "value")); - } - setSupportsCustomJsonTypeUserCreatedVariables(e3) { - return this.supportsCustomJsonTypeUserCreatedVariables = e3, this; - } - get supportsConversationSummary() { - return this._supportsConversationSummary; - } - set supportsConversationSummary(e3) { - this._supportsConversationSummary = e3; - } - setSupportsConversationSummary(e3) { - return this.supportsConversationSummary = e3, this; - } - get supportsFlowCreationData() { - return this._supportsFlowCreationData; - } - set supportsFlowCreationData(e3) { - this._supportsFlowCreationData = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsFlowCreationData", "value")); - } - setSupportsFlowCreationData(e3) { - return this.supportsFlowCreationData = e3, this; - } - get supportsDataViewFiltering() { - return this._supportsDataViewFiltering; - } - set supportsDataViewFiltering(e3) { - this._supportsDataViewFiltering = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsDataViewFiltering", "value")); - } - setSupportsDataViewFiltering(e3) { - return this.supportsDataViewFiltering = e3, this; - } - get supportsErrorAudio() { - return this._supportsErrorAudio; - } - set supportsErrorAudio(e3) { - this._supportsErrorAudio = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsErrorAudio", "value")); - } - setSupportsErrorAudio(e3) { - return this.supportsErrorAudio = e3, this; - } - get supportsErrorHandlingQueueRouting() { - return this._supportsErrorHandlingQueueRouting; - } - set supportsErrorHandlingQueueRouting(e3) { - this._supportsErrorHandlingQueueRouting = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsErrorHandlingQueueRouting", "value")); - } - setSupportsErrorHandlingQueueRouting(e3) { - return this.supportsErrorHandlingQueueRouting = e3, this; - } - get supportsFlowInputVariables() { - return this._supportsFlowInputVariables; - } - set supportsFlowInputVariables(e3) { - this._supportsFlowInputVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsFlowInputVariables", "value")); - } - get supportsLanguageAddRemove() { - return this._supportsLanguageAddRemove && this._supportsLanguages; - } - set supportsLanguageAddRemove(e3) { - this._supportsLanguageAddRemove = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsLanguageAddRemove", "value")); - } - setSupportsLanguageAddRemove(e3) { - return this.supportsLanguageAddRemove = e3, this; - } - setSupportsFlowInputVariables(e3) { - return this.supportsFlowInputVariables = e3, this; - } - get supportsKnowledge() { - return this._supportsKnowledge; - } - set supportsKnowledge(e3) { - this._supportsKnowledge = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsKnowledge", "value")); - } - setSupportsKnowledge(e3) { - return this.supportsKnowledge = e3, this; - } - get supportsMultilingualKnowledge() { - return this._supportsMultilingualKnowledge; - } - set supportsMultilingualKnowledge(e3) { - this._supportsMultilingualKnowledge = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsMultilingualKnowledge", "value")); - } - setSupportsMultilingualKnowledge(e3) { - return this.supportsMultilingualKnowledge = e3, this; - } - get supportsKnowledgePaths() { - return this._supportsKnowledgePaths; - } - set supportsKnowledgePaths(e3) { - this._supportsKnowledgePaths = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsKnowledgePaths", "value")); - } - setSupportsKnowledgePaths(e3) { - return this.supportsKnowledgePaths = e3, this; - } - get supportsEndToEndKnowledgeHandling() { - return this._supportsEndToEndKnowledgeHandling; - } - set supportsEndToEndKnowledgeHandling(e3) { - this._supportsEndToEndKnowledgeHandling = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsEndToEndKnowledgeHandling", "value")); - } - setSupportsEndToEndKnowledgeHandling(e3) { - return this.supportsEndToEndKnowledgeHandling = e3, this; - } - get supportsAdvancedKnowledgeHandling() { - return this._supportsAdvancedKnowledgeHandling; - } - set supportsAdvancedKnowledgeHandling(e3) { - this._supportsAdvancedKnowledgeHandling = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsAdvancedKnowledgeHandling", "value")); - } - setSupportsAdvancedKnowledgeHandling(e3) { - return this.supportsAdvancedKnowledgeHandling = e3, this; - } - get supportsKnowledgeConfirmation() { - return this._supportsKnowledgeConfirmation && this._supportsKnowledge; - } - set supportsKnowledgeConfirmation(e3) { - this._supportsKnowledgeConfirmation = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsKnowledgeConfirmation", "value")); - } - setSupportsKnowledgeConfirmation(e3) { - return this.supportsKnowledgeConfirmation = e3, this; - } - get supportsKnowledgeWelcomeArticle() { - return this._supportsKnowledgeWelcomeArticle && this._supportsKnowledge; - } - set supportsKnowledgeWelcomeArticle(e3) { - this._supportsKnowledgeWelcomeArticle = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsKnowledgeWelcomeArticle", "value")); - } - setSupportsKnowledgeWelcomeArticle(e3) { - return this.supportsKnowledgeWelcomeArticle = e3, this; - } - get supportsFlowOutputVariables() { - return this._supportsFlowOutputVariables; - } - set supportsFlowOutputVariables(e3) { - this._supportsFlowOutputVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsFlowOutputVariables", "value")); - } - setSupportsFlowOutputVariables(e3) { - return this.supportsFlowOutputVariables = e3, this; - } - get supportsLanguages() { - return this._supportsLanguages; - } - set supportsLanguages(e3) { - this._supportsLanguages = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsLanguages", "value")); - } - setSupportsLanguages(e3) { - return this.supportsLanguages = e3, this; - } - get supportsMoreThanOneLanguage() { - return this._supportsMoreThanOneLanguage && this._supportsLanguages; - } - set supportsMoreThanOneLanguage(e3) { - this._supportsMoreThanOneLanguage = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsMoreThanOneLanguage", "value")); - } - setSupportsMoreThanOneLanguage(e3) { - return this.supportsMoreThanOneLanguage = e3, this; - } - get supportsReusableMenus() { - return this._supportsReusableMenus; - } - set supportsReusableMenus(e3) { - this._supportsReusableMenus = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsReusableMenus", "value")); - } - setSupportsReusableMenus(e3) { - return this.supportsReusableMenus = e3, this; - } - get supportsReusableTasks() { - return this._supportsReusableTasks; - } - set supportsReusableTasks(e3) { - this._supportsReusableTasks = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsReusableTasks", "value")); - } - setSupportsReusableTasks(e3) { - return this.supportsReusableTasks = e3, this; - } - get supportsSecureVariables() { - return this._supportsSecureVariables; - } - set supportsSecureVariables(e3) { - this._supportsSecureVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsSecureVariables", "value")); - } - setSupportsSecureVariables(e3) { - return this.supportsSecureVariables = e3, this; - } - get supportsAudio() { - return this._supportsAudio; - } - set supportsAudio(e3) { - this._supportsAudio = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsAudio", "value")); - } - setSupportsAudio(e3) { - return this.supportsAudio = e3, this; - } - get supportsSpeechRec() { - return this._supportsSpeechRec; - } - set supportsSpeechRec(e3) { - this._supportsSpeechRec = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsSpeechRec", "value")); - } - setSupportsSpeechRec(e3) { - return this.supportsSpeechRec = e3, this; - } - get supportsStates() { - return this._supportsStates; - } - set supportsStates(e3) { - this._supportsStates = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsStates", "value")); - } - setSupportsStates(e3) { - return this.supportsStates = e3, this; - } - get supportsMultipleStates() { - return this._supportsMultipleStates; - } - set supportsMultipleStates(e3) { - this._supportsMultipleStates = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsMultipleStates", "value")); - } - setSupportsMultipleStates(e3) { - return this._supportsMultipleStates = e3, this; - } - get supportsStateInputVariables() { - return this._supportsStateInputVariables && this._supportsStates; - } - set supportsStateInputVariables(e3) { - this._supportsStateInputVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsStateInputVariables", "value")); - } - setSupportsStateInputVariables(e3) { - return this.supportsStateInputVariables = e3, this; - } - get supportsStateOutputVariables() { - return this._supportsStateOutputVariables && this._supportsStates; - } - set supportsStateOutputVariables(e3) { - this._supportsStateOutputVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsStateOutputVariables", "value")); - } - setSupportsStateOutputVariables(e3) { - return this.supportsStateOutputVariables = e3, this; - } - get supportsTaskInputVariables() { - return this._supportsTaskInputVariables && this._supportsReusableTasks; - } - set supportsTaskInputVariables(e3) { - this._supportsTaskInputVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsTaskInputVariables", "value")); - } - get supportsAnyVariablesWithDirection() { - return this.supportsTaskInputVariables || this.supportsTaskOutputVariables || this.supportsStateInputVariables || this.supportsStateOutputVariables || this.supportsFlowInputVariables || this.supportsFlowOutputVariables; - } - setSupportsTaskInputVariables(e3) { - return this.supportsTaskInputVariables = e3, this; - } - get supportsTasksWithOutputPaths() { - return this._supportsTasksWithOutputPaths; - } - set supportsTasksWithOutputPaths(e3) { - this._supportsTasksWithOutputPaths = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsTasksWithOutputPaths", "value")); - } - setSupportsTasksWithOutputPaths(e3) { - return this.supportsTasksWithOutputPaths = e3, this; - } - get supportsTaskOutputVariables() { - return this._supportsTaskOutputVariables && this._supportsReusableTasks; - } - set supportsTaskOutputVariables(e3) { - this._supportsTaskOutputVariables = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsTaskOutputVariables", "value")); - } - setSupportsTaskOutputVariables(e3) { - return this.supportsTaskOutputVariables = e3, this; - } - get supportsVirtualAgent() { - return this._supportsVirtualAgent; - } - set supportsVirtualAgent(e3) { - this._supportsVirtualAgent = e3; - } - setSupportsVirtualAgent(e3) { - return this.supportsVirtualAgent = e3, this; - } - get supportsVoiceProcessingPrompt() { - return this._supportsVoiceProcessingPrompt; - } - set supportsVoiceProcessingPrompt(e3) { - this._supportsVoiceProcessingPrompt = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "supportsVoiceProcessingPrompt", "value")); - } - setSupportsVoiceProcessingPrompt(e3) { - return this.supportsVoiceProcessingPrompt = e3, this; - } - get supportsAnswerGeneration() { - return this._supportsAnswerGeneration; - } - set supportsAnswerGeneration(e3) { - this._supportsAnswerGeneration = e3; - } - setSupportsAnswerGeneration(e3) { - return this.supportsAnswerGeneration = e3, this; - } - get supportsEnableIntentClassificationHinting() { - return this._supportsEnableIntentClassificationHinting; - } - set supportsEnableIntentClassificationHinting(e3) { - this._supportsEnableIntentClassificationHinting = e3; - } - setSupportsEnableIntentClassificationHinting(e3) { - return this.supportsEnableIntentClassificationHinting = e3, this; - } - get startUpObjectCanBeMenu() { - return this._startUpObjectCanBeMenu; - } - set startUpObjectCanBeMenu(e3) { - this._startUpObjectCanBeMenu = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeMenu", "value")); - } - setStartupObjectCanBeMenu(e3) { - return this.startUpObjectCanBeMenu = e3, this; - } - get startUpObjectCanBeState() { - return this._startUpObjectCanBeState; - } - set startUpObjectCanBeState(e3) { - this._startUpObjectCanBeState = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeState", "value")); - } - setStartupObjectCanBeState(e3) { - return this.startUpObjectCanBeState = e3, this; - } - get startUpStateMustTerminate() { - return !this.supportsStates || this._startUpStateMustTerminate; - } - set startUpStateMustTerminate(e3) { - this._startUpStateMustTerminate = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "startUpStateMustTerminate", "value")); - } - setStartupStateMustTerminate(e3) { - return this.startUpStateMustTerminate = e3, this; - } - get startUpObjectCanBeRepeatingTask() { - return this._startUpObjectCanBeRepeatingTask; - } - set startUpObjectCanBeRepeatingTask(e3) { - this._startUpObjectCanBeRepeatingTask = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeRepeatingTask", "value")); - } - setStartupObjectCanBeRepeatingTask(e3) { - return this.startUpObjectCanBeRepeatingTask = e3, this; - } - get startUpObjectCanBeTask() { - return this._startUpObjectCanBeTask; - } - set startUpObjectCanBeTask(e3) { - this._startUpObjectCanBeTask = true === m.ParameterValidator.expectBool(e3, () => h.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeTask", "value")); - } - setStartupObjectCanBeTask(e3) { - return this.startUpObjectCanBeTask = e3, this; - } - get type() { - return this._type; - } - get typeDisplayName() { - return this._typeDisplayName; - } - set typeDisplayName(e3) { - this._typeDisplayName = m.ParameterValidator.expectString(e3, () => h.ParameterInfo.createPropertySet(this.className, "typeDisplayName", "value")); - } - setTypeDisplayName(e3) { - return this.typeDisplayName = e3, this; - } - get systemVariableModels() { - return this._systemVariableModels; - } - set systemVariableModels(e3) { - this._systemVariableModels = e3; - } - setSystemVariableModels(e3) { - return this.systemVariableModels = e3, this; - } - get variableScope() { - return this._variableScope; - } - set variableScope(e3) { - this._variableScope = m.ParameterValidator.expectVariableScope(e3, () => h.ParameterInfo.createPropertySet(this.className, "variableScope", "value")); - } - setVariableScope(e3) { - return this._variableScope = e3, this; + return this._version; + }, set: function(e3) { + this._botId = e3; + } }, integrationId: { enumerable: true, get: function() { + if (this.isFromAdsValidationResults) { + const e3 = this._botId.indexOf(":"); + return this._botId.substr(0, e3); } + return this._botIntegrationId; + }, set: function(e3) { + this._botIntegrationId = e3; + } }, botId: { enumerable: true, get: function() { + return this._botId; + }, set: function(e3) { + console.log("Setting BotConnectorVersion.botId is not allowed."); + } }, isFromAdsValidationResults: { enumerable: false, get: function() { + return this.result; + }, set: function(e3) { + e3 || delete this.result, this.result = e3; + } }, version: { enumerable: true, get: function() { + return this._version; + }, set: function(e3) { + this._version = e3; + } }, label: { get: function() { + return this.version; + }, set: function(e3) { + this.version = e3; + } } }), n2.keyProperty = "archInternalId", e2.exports = n2; + }, 30345(e2, t2, i2) { + const n2 = i2(58597), o = i2(22124), r = i2(24032).getTopic("BotConnectorVersionList"); + function a() { + a.baseConstructor.apply(this, arguments); } - t2.default = T; - }, 3542: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { - constructor(e3) { - super(e3); - } - get id() { - return this._id; - } - set id(e3) { - this._id = e3; - } - get name() { - return this._name; - } - set name(e3) { - this._name = e3; - } - get latestProductionReadyVersion() { - return this._latestProductionReadyVersion; - } - set latestProductionReadyVersion(e3) { - this._latestProductionReadyVersion = e3; - } + o.extend(a, "BotConnectorVersionList"), Object.defineProperties(a.prototype, { entities: { enumerable: true, set: function(e3) { + this._entitiesSetBy && "versions" !== this._entitiesSetBy && r.error('BotConnectorVersionList: "entities" setter called but data was already set by "versions"'), this._entitiesSetBy = "entities", this._entities = this.reviveArray(e3, n2); + }, get: function() { + return this._entities; + } }, versions: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entitiesSetBy && "entities" !== this._entitiesSetBy && r.error('BotConnectorVersionList: "versions" setter called but data was already set by "entities"'), this._entitiesSetBy = "versions", this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = a; + }, 92289(e2, t2, i2) { + function n2() { + 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); } - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findLanguageSkill.nameLabel, searchResultLabel: d.findActions.findLanguageSkill.resultLabel, searchResultExpressionOptions: o.ExpressionTypeLanguageSkillOptions.create(), searchResultItemType: a.expressionTypeNames.languageSkill }); - } + i2(45214).extend(n2, "ConnectionInfo"), e2.exports = n2; + }, 58649(e2, t2, i2) { + function n2() { + this.columnNames = void 0, this.phoneColumns = void 0, n2.baseConstructor.apply(this, arguments); } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(88199)), o = n2.__importDefault(i2(14113)), a = { ArchSpeechRecTermContainer: r2.default, ArchSpeechRecTermContainers: o.default }; - t2.default = a; - }, 3692: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - 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 d = new u(); - if (d.name = c.loopTask, d.variables = [], !i3) { - const e4 = new s(); - 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 = [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), c = i2(47957); - }, 3709: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomerSegmentList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(80101); - class s extends o.PagedList { - constructor(e3) { - super(e3); - } - get entities() { - return this._entities; - } - set entities(e3) { - this._entities = this.reviveArray(e3, a.CustomerSegment); - } + i2(2398).extend(n2, "ContactList"), Object.defineProperties(n2.prototype, { columns: { get: function() { + return this.columnNames; + }, set: function(e3) { + this.columnNames = e3; + } } }), e2.exports = n2; + }, 90700(e2, t2, i2) { + const n2 = i2(58649); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.CustomerSegmentList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 3785: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(10231), o = n2.__importDefault(i2(51695)); - class a extends o.default { - constructor(e3, t3, i3, n3, r3) { - super(), this.model = e3, this.expression = t3, this.field = i3, this._rebuildValueExpression = r3, this.condition = n3, this.id = "ecpc-" + i3.id.replace(/\./g, "_"); - } - get fieldId() { - return this.field.id; - } - get condition() { - return this._condition; - } - set condition(e3) { - this._condition = e3, this.model.condition = e3.id, this.field.isCollection && this._handleCollectionCondition(), this.expression.outOfService = !e3.requiresValue; - } - _handleCollectionCondition() { - const e3 = this.condition.requiresSingleItem ? this.field.valueType.singletonType : this.field.valueType; - this.expression.type !== e3 && (this.expression = this._rebuildValueExpression(e3), this.expression.initializeDesignTime()); - } - get contents() { - return [this.expression]; - } - get availableConditions() { - return (0, r2.getAvailableConditionsForField)(this.field.isCollection); - } - getConfiguration(e3, t3, i3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const n3 = { field: this.fieldId, condition: this.condition.id }; - return this.condition.requiresValue && !this.expression.outOfService && (n3.value = this.expression.getConfiguration(e3, t3, i3)), n3; - } - return this.model; - } - get cardLabel() { - return this.fieldId; - } - get cardSubLabel() { - return `contact.${this.fieldId}`; - } - get className() { - return "ExternalContactPatchChangeItemViewModel"; - } - get isExternalContactPatchChangeItemViewModel() { - return true; - } + i2(22124).extend(o, "ContactListArray"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 32798(e2, t2, i2) { + function n2() { + this.language = void 0, this.summaryType = void 0, n2.baseConstructor.apply(this, arguments); } - t2.default = a; - }, 3812: (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 "dateTimeCollection"; - } - get displayTypeName() { - return "ArchVariableDateTimeCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableDateTimeCollection() { - return true; - } + i2(52722).extend(n2, "ConversationSummarySetting"), e2.exports = n2; + }, 71474(e2, t2, i2) { + const n2 = i2(32798); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 3863: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "To nie jest wa\u017Cne.", noInputReceived: "Nie otrzyma\u0142em \u017Cadnych danych wej\u015Bciowych." }, askForBoolean: { noInput: 'Powiedz "tak", aby kontynuowa\u0107, lub "nie", aby nie kontynuowa\u0107.', noMatch: 'Powiedz "Tak" lub "Nie". Czy kontynuowa\u0107?', question: "Czy kontynuowa\u0107?", noInputDigitalBot: 'Wprowad\u017A "Tak", je\u015Bli chcesz kontynuowa\u0107, lub "Nie" w przeciwnym razie.', noMatchDigitalBot: 'Wprowad\u017A "Tak" lub "Nie". Czy chcesz kontynuowa\u0107?' }, askForIntent: { noInput: 'Wypowiedz kr\xF3tkie zdanie opisuj\u0105ce swoje zapytanie, np. "Sprawd\u017A stan mojego rachunku"', noMatch: "Powt\xF3rz, co chcesz zrobi\u0107.", question: "Co chcia\u0142by\u015B robi\u0107?", noInputDigitalBot: 'Wprowad\u017A kr\xF3tkie zdanie opisuj\u0105ce swoje zapytanie, np. "Sprawd\u017A stan mojego rachunku"' }, askForSlot: { askFor: "Popro\u015B o %1$s", noInput: "Wypowiedz lub wprowad\u017A (tu wprowad\u017A nazw\u0119 slotu).", noInputWithSlot: "Wypowiedz lub wprowad\u017A %1$s.", noMatch: "Podaj ponownie (tu wprowad\u017A nazw\u0119 slotu).", noMatchWithSlot: "Podaj ponownie %1$s.", question: "Co to jest (tu wprowad\u017A nazw\u0119 slotu)?", questionWithSlot: "Co to jest %1$s?", pleaseEnterSlotNameHere: "(tu wprowad\u017A nazw\u0119 slotu)", noInputDigitalBot: "Wprowad\u017A (tu wprowad\u017A nazw\u0119 slotu).", noInputWithSlotDigitalBot: "Wprowad\u017A: %1$s.", continuationPromptWithSlot: "Aktualnie mam: {{Slot.%1$s}}. Kontynuuj." }, askForNextSlot: { noInput: 'Powiedz "tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "nie", aby zako\u0144czy\u0107 rozmow\u0119.', noMatch: 'Powiedz "Tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "Nie", aby zako\u0144czy\u0107 sesj\u0119.', question: "Czy mog\u0119 pom\xF3c w czym\u015B jeszcze?", noInputDigitalBot: 'Wprowad\u017A "Tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "Nie", aby zako\u0144czy\u0107 sesj\u0119.', noMatchDigitalBot: 'Wprowad\u017A "Tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "Nie", aby zako\u0144czy\u0107 sesj\u0119.' }, askForPayment: { noInputDigitalBot: "Aby kontynuowa\u0107, podaj informacje o p\u0142atno\u015Bci.", noMatchDigitalBot: "Nie rozumiem odpowiedzi. Spr\xF3buj ponownie." }, askForAuthentication: { noInputDigitalBot: "Aby kontynuowa\u0107, podaj informacje uwierzytelniaj\u0105ce.", noMatchDigitalBot: "Nie rozumiem odpowiedzi. Spr\xF3buj ponownie." }, askSurveyQuestion: { notApplicable: "Nie dotyczy", surveyAnswerOptionSequence: "Naci\u015Bnij %1$s dla '%2$s'.", surveyAnswerNotApplicableSequence: "Naci\u015Bnij gwiazdk\u0119 dla Nie dotyczy.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Naci\u015Bnij gwiazdk\u0119 dla Nie dotyczy.", voiceSurveyNoInputText: "Odpowiedz na pytanie.", voiceSurveyNoMatchText: "Nie rozumiem." }, commonModule: { exitCommonModule: "Wyj\u015Bcie z modu\u0142u og\xF3lnego" }, form: { noInputDigitalBot: "Aby kontynuowa\u0107, wype\u0142nij formularz.", noMatchDigitalBot: "Aby kontynuowa\u0107, wype\u0142nij formularz." }, messagingTemplate: { noInputDigitalBot: "Prosz\u0119 wybra\u0107 jedn\u0105 z dost\u0119pnych opcji.", noMatchDigitalBot: "Prosz\u0119 wybra\u0107 jedn\u0105 z dost\u0119pnych opcji." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Kontynuuj", knowledgeAnswerHighlightFullArticleDefault: "Wy\u015Bwietl pe\u0142ny artyku\u0142", knowledgeInitialResponseMulti: "Aby pom\xF3c mi w okre\u015Bleniu Twojego celu, wybierz numer z nast\u0119puj\u0105cej listy:", knowledgeInitialResponseMultiRetry: "Wybierz numer, na przyk\u0142ad '1'.\nOto lista opcji:", knowledgeNoMatch: "\u017Badna z powy\u017Cszych", knowledgeConfirmation: "Czy to zadowalaj\u0105ca odpowied\u017A na Twoje pytanie?", knowledgeFollowup: "Mam nadziej\u0119, \u017Ce uda\u0142o mi si\u0119 odpowiedzie\u0107 na pytanie. W razie potrzeby prosz\u0119 mi zada\u0107 jeszcze inne pytania." }, noOverlay: { intent: { intentConfirmationStr1: "Chyba masz zamiar", intentConfirmationStr2: "Tak?" }, youSaid: { youSaidConfirmationStr1: "M\xF3wisz", youSaidConfirmationStr2: "Tak?", youSaidConfirmationStr1DigitalBot: "Wprowadzono" }, noInput: { noInputStr1: "Wypowiedz lub wprowad\u017A", noInputStr1DigitalBot: "Wprowad\u017A" }, noMatch: { noMatchStr1: "Podaj mi" }, whatIs: { whatIsQuestionStr1: "Co to jest", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Aktualnie mam:", iGotContinuationStr2: "Kontynuuj." } }, defaultCallFlowOne: "Domy\u015Blny przep\u0142yw po\u0142\u0105cze\u0144", errorHandlingAgentEscalationConfirmation: "Chcesz porozmawia\u0107 z doradc\u0105, czy to prawda?", errorHandlingAgentEscalationHandover: "Chwileczk\u0119, po\u0142\u0105cz\u0119 Ci\u0119 z kim\u015B.", errorHandlingErrorEventHandover: "Pojawi\u0142 si\u0119 b\u0142\u0105d. Chwileczk\u0119, po\u0142\u0105cz\u0119 Ci\u0119 z kim\u015B, kto mo\u017Ce pom\xF3c.", errorHandlingErrorEventHandoverVoiceSurvey: "Wyst\u0105pi\u0142 b\u0142\u0105d. Do widzenia.", errorHandlingRecognitionEventHandover: "Przepraszam, nie rozumiem Ci\u0119. Chwileczk\u0119, po\u0142\u0105cz\u0119 Ci\u0119 z kim\u015B, kto mo\u017Ce pom\xF3c.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Niestety nie rozumiem Ci\u0119. Do widzenia.", errorHandlingTTS: "Przepraszamy, wyst\u0105pi\u0142 b\u0142\u0105d. Spr\xF3buj jeszcze raz.", initialGreetingTTS: "Witaj, to jest wst\u0119pne powitanie.", initialState: "Stan pocz\u0105tkowy", initialBotState: "Domy\u015Blny bot", initialDigitalBotState: "Wst\u0119pne powitanie", initialSurveyBotState: "Bot ankiety", intentConfirmation: "Chyba chcesz wykona\u0107 operacj\u0119: %1$s. Mam racj\u0119?", mainMenu: "Menu g\u0142\xF3wne", mainMenuTTS: "Jeste\u015B w menu g\u0142\xF3wnym, naci\u015Bnij 9, aby si\u0119 roz\u0142\u0105czy\u0107", mainTask: "Zadanie", settingsConfirmationNoInputApology: "Przepraszam, nie s\u0142ysza\u0142em Ci\u0119. Prosz\u0119 powiedzie\u0107 tak lub nie.", settingsConfirmationNoInputApologyDigitalBot: 'Nie dotar\u0142a \u017Cadna Twoja odpowied\u017A. Wprowad\u017A "Tak" lub "Nie".', settingsConfirmationNoMatchApology: "Przepraszam, prosz\u0119 powiedzie\u0107 tak lub nie.", settingsConfirmationNoMatchApologyDigitalBot: 'Przepraszam, wprowad\u017A "Tak" lub "Nie".', settingsNoInputApology: "Przepraszam, nie s\u0142ysza\u0142em Ci\u0119.", settingsNoInputApologyDigitalBot: "Nie dotar\u0142a \u017Cadna Twoje odpowied\u017A.", settingsEndOfSessionMessageDigitalBot: "Dawno nie rozmawiali\u015Bmy, wi\u0119c zamykam ten czat. Odezwij si\u0119, je\u015Bli zn\xF3w b\u0119dziesz potrzebowa\u0107 mojej pomocy. Dzi\u0119kuj\u0119.", settingsNoMatchApology: "Przepraszam.", settingsNoToConfirmationApology: "M\xF3j b\u0142\u0105d.", periodicStateName: "Powtarzaj\u0105cy si\u0119 stan" }; - }, 3916: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(73198).default, o = i2(8462), a = i2(62778), s = i2(40894), l = {}, u = i2(24032).getTopic("schemaHelper"); - l.createSchemaPropertyList = function(e3, t3, i3, r3) { - const o2 = []; - return n2.each(e3, function(e4, l2) { - if ("patternProperties" !== l2 && "additionalProperties" !== l2 && "definitions" !== l2 && "properties" !== l2 && "dependencies" !== l2 && n2.isObject(e4)) try { - const u2 = (function(e5, t4) { - return n2.isString(t4.slotName) && (e5 = t4.slotName), t4.type && t4.type.enum ? new a(e5, t4) : new s(e5, t4, i3); - })(l2, e4); - u2.type && o2.push(u2), u2.required = !(!r3 || !t3?.includes(l2)); - } catch (e5) { - u.exception(e5, "Could not create property schema property list item"); - } - }.bind(this)), o2; - }, l.createDataPairForSchemaProperty = function(e3, t3, i3) { - i3 || (i3 = t3.type); - const a2 = o.buildOptions(i3, void 0, e3.parentFlow).setAllowSecure(e3.allowSecure).setIsOptional(!e3.isInputList || !t3.required); - let s2; - const l2 = n2.isNull(t3.defaultValue) || n2.isUndefined(t3.defaultValue); - this.defaultInputsWithNoDefaultToNotSet && l2 && e3.isInputList && !t3.type.isCollection ? a2.setDefaultText(r2.notSet).setDefaultToExpression(true).setDefaultToNoValue(false).setDoNotTransitionToNoValue(true) : e3.isInputList && (s2 = t3.defaultValue); - const u2 = { name: t3.name, referenceId: t3.id }; - return e3.createItem(u2, i3, s2, a2); - }, l.setExpressionWithSchemaProperty = function(e3, t3) { - if (e3.options.setDescriptionInfo(t3.title || t3.name, t3.description), t3.examples && e3.options.setExamples(t3.examples), !e3.isOutput && !n2.isUndefined(t3.defaultValue)) { - const i3 = n2.isString(t3.defaultValue) ? t3.defaultValue : String(t3.defaultValue); - e3.options.setDefaultText(i3); - } - t3.title && e3.options.setLabelOverride(t3.title), e3.isOutput || e3.options.setIsOptional(!t3.required), n2.isUndefined(t3.additionalInfoSection) || e3.options.setDescriptionAdditionalInfoSection(t3.additionalInfoSection), !n2.isUndefined(t3.minLength) && e3.options.isExpressionTypeStringOptions && (Number.isInteger(t3.minLength) ? e3.options.facets.setMinLength(t3.minLength) : this.topic.error(`schema property: non-numeric value found for minLength: ${t3.minLength}`)), !n2.isUndefined(t3.maxLength) && e3.options.isExpressionTypeStringOptions && (Number.isInteger(t3.maxLength) ? e3.options.facets.setMaxLength(t3.maxLength) : this.topic.error(`schema property: non-numeric value found for maxLength: ${t3.maxLength}`)), !n2.isUndefined(t3.minimum) && e3.options.facets && e3.options.facets.setMinInt && (Number.isInteger(t3.minimum) ? e3.options.facets.setMinInt(t3.minimum, true) : this.topic.error(`schema property: non-numeric value found for minimum: ${t3.minimum}`)), !n2.isUndefined(t3.maximum) && e3.options.facets && e3.options.facets.setMaxInt && (Number.isInteger(t3.maximum) ? e3.options.facets.setMaxInt(t3.maximum, true) : this.topic.error(`schema property: non-numeric value found for maxLength: ${t3.maximum}`)), t3.model && n2.isArray(t3.model.allowableValues) && e3.options.isExpressionTypeStringOptions && (e3.options.facets.allowableValues = t3.model.allowableValues), n2.isUndefined(t3.staticMetaData) || e3.setStaticMetaData(t3.staticMetaData); - }, e2.exports = l; - }, 3931: (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 "fileCollection"; - } - get displayTypeName() { - return "ArchVariableFileCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableFileCollection() { - return true; - } + i2(22124).extend(o, "ConversationSummarySettingList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 12614(e2, t2, i2) { + function n2() { + this.activeVersion = void 0, n2.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 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 = 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); + i2(52722).extend(n2, "DialogEngineBot"), Object.defineProperties(n2.prototype, {}), e2.exports = n2; + }, 92378(e2, t2, i2) { + const n2 = i2(12614); + function o() { + o.baseConstructor.apply(this, arguments); } - class v extends f.ExpressionContainer { - constructor(e3, t3, i3, n3) { - super(e3.parentFlow, e3, t3, i3, n3), this._initialize(); - } - add(e3, t3, i3) { - return super.add(e3, t3, i3); - } - addClipboardDependencies(e3) { - this.items.forEach((t3) => { - t3.variable.addClipboardDependencies(e3), t3.expression.addClipboardDependencies(e3); - }); - } - createItem(e3, t3, i3) { - 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, (t4) => t4.deleteItem(e3.parentFlow, true)); - } - getValueLabel(e3) { - return (0, r2.sprintf)(S.updateVariables.variableValue, e3 + 1); - } - getVariableLabel(e3) { - return (0, r2.sprintf)(S.updateVariables.variableName, e3 + 1); - } - getVariableReferencesForItem(e3) { - return o.default.defaults({}, e3.variable.variables, e3.expression.variables); - } - get isVariableValuePairs() { - return true; - } - orderChanged() { - this.items.forEach((e3, t3) => { - e3.variable.label = this.getVariableLabel(t3), e3.expression.label = this.getValueLabel(t3); - }), super.orderChanged(); - } - traverse(e3) { - e3.expressionCallback && this.items.find((t3) => (e3.expressionCallback(t3.variable, e3), !!e3.isCanceled || (e3.expressionCallback(t3.expression, e3), e3.isCanceled))); - } - 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); - } + i2(22124).extend(o, "DialogEngineBotList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 95275(e2, t2, i2) { + function n2() { + this.bot = void 0, this.id = void 0, this.languages = void 0, this.name = void 0, this.intents = void 0, this.knowledgebases = void 0, n2.baseConstructor.apply(this, arguments); } - t2.VariableValuePairs = v; - }, 4009: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { sendInteractiveApplicationActionActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _applicationName: { writable: true }, _applicationUrl: { writable: true }, _applicationImage: { writable: true }, _title: { writable: true }, _subTitle: { writable: true } }), a.baseConstructor.apply(this, arguments); + i2(45214).extend(n2, "DialogEngineVersion"), Object.defineProperties(n2.prototype, { label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 48584(e2, t2, i2) { + function n2() { + this.environments = void 0, this.id = void 0, this.integration = void 0, this.languages = void 0, this.name = void 0, this.project = void 0, this.intents = void 0, n2.baseConstructor.apply(this, arguments); } - Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.applicationName.pasteReIdOrRename(e3), this.applicationUrl.pasteReIdOrRename(e3), this.applicationImage.pasteReIdOrRename(e3), this.title.pasteReIdOrRename(e3), this.subTitle.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.applicationName.pasteResolveOldToNewValues(e3), this.applicationUrl.pasteResolveOldToNewValues(e3), this.applicationImage.pasteResolveOldToNewValues(e3), this.title.pasteResolveOldToNewValues(e3), this.subTitle.pasteResolveOldToNewValues(e3); - } }, applicationName: { enumerable: true, get: function() { - return this._applicationName; + i2(45214).extend(n2, "DialogflowAgent"), Object.defineProperties(n2.prototype, { label: { get: function() { + return this.name; }, set: function(e3) { - this._applicationName = this.reviveItem(e3, r2); - } }, applicationUrl: { enumerable: true, get: function() { - return this._applicationUrl; + this.name = e3; + } } }), e2.exports = n2; + }, 62896(e2, t2, i2) { + const n2 = i2(48584); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "DialogflowAgentList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; }, set: function(e3) { - this._applicationUrl = this.reviveItem(e3, r2); - } }, applicationImage: { enumerable: true, get: function() { - return this._applicationImage; + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 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); + } + i2(45214).extend(n2, "DialogflowCxAgent"), Object.defineProperties(n2.prototype, { label: { get: function() { + return this.name; }, set: function(e3) { - this._applicationImage = this.reviveItem(e3, r2); - } }, title: { enumerable: true, get: function() { - return this._title; + this.name = e3; + } } }), e2.exports = n2; + }, 49493(e2, t2, i2) { + const n2 = i2(5233); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "DialogflowCxAgentList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; }, set: function(e3) { - this._title = this.reviveItem(e3, r2); - } }, subTitle: { enumerable: true, get: function() { - return this._subTitle; + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 55295(e2, t2, i2) { + function n2() { + this.id = void 0, this.name = void 0, this.isSecure = void 0, this.isDefault = void 0, this.languages = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "Engine"), e2.exports = n2; + }, 79238(e2, t2, i2) { + function n2() { + this.id = void 0, this.name = void 0, this.state = void 0, this.addresses = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "Group"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; }, set: function(e3) { - this._subTitle = this.reviveItem(e3, r2); - } } }), n2.extend(a, o, true), e2.exports = a, i2(30801); - }, 4059: (e2, t2, i2) => { - const n2 = i2(47957); - e2.exports = [{ displayString: n2.abortSurvey.dispositionError, id: "error" }, { displayString: n2.abortSurvey.dispositionOptOut, id: "optOut" }]; - }, 4085: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.inqueueCallFlowListManager = t2.InqueueCallFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(32), o = i2(6109), a = i2(96618), s = i2(27862); - class l extends o.FlowListManager { - get dependencyType() { - return s.InqueueCallFlow; - } - constructor() { - super(), this.topic = n2.getTopic("inqueueFlowListManager"), this.briefManager = r2.briefInqueueCallFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeInQueueCall }, this.className = "InqueueFlowListManager", this.flowType = a.flowTypes.flowTypeInQueueCall, this._initialize(); - } + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, deleted: { get: function() { + return "deleted" === this.state; + } }, hasExtension: { get: function() { + return this.addresses && this.addresses.length > 0; + } } }), e2.exports = n2; + }, 37338(e2, t2, i2) { + const n2 = i2(79238); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.InqueueCallFlowListManager = l, t2.inqueueCallFlowListManager = new l(); - }, 4087: (e2, t2, i2) => { - let n2 = null; - if (i2(6697)) n2 = i2(20650); - else { - const e3 = i2(29546); - try { - n2 = i2(46556)("./" + e3.getCurrentLanguage() + "/expressions.js"); - } catch (e4) { - n2 = i2(20650); - } + i2(22124).extend(o, "GroupList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 63416(e2, t2, i2) { + const n2 = i2(45214), o = { schemaSectionName: "inputSchemaFlattened", direction: "input" }, r = { schemaSectionName: "successSchemaFlattened", direction: "output" }, a = { schemaSectionName: "errorSchemaFlattened", direction: "output" }; + function s() { + this.id = void 0, this.name = void 0, this.category = void 0, this.contract = void 0, s.baseConstructor.apply(this, arguments); } - n2.then && n2.then((t3) => { - e2.exports = t3; - }), e2.exports = n2; - }, 4130: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.findEmergencyGroupActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionFindEmergencyGroup() { - return true; - } - get findResult() { - return this._findResult; - } + n2.extend(s, "HedwigAction"), Object.defineProperties(s.prototype, { _setSchema: { value: function(e3, t3) { + this.contract || (this.contract = { input: {}, output: {} }); + const i3 = e3.direction, n3 = e3.schemaSectionName; + this.contract[i3] || (this.contract[i3] = {}), this.contract[i3][n3] = { schema: t3 ? t3.schema ? t3.schema : t3 : void 0 }; + } }, inputSchema: { enumerable: true, get: function() { + return this.contract && this.contract.input && this.contract.input.inputSchemaFlattened && this.contract.input.inputSchemaFlattened.schema; + }, set: function(e3) { + this._setSchema(o, e3); + } }, successSchema: { enumerable: true, get: function() { + return this.contract && this.contract.output && this.contract.output.successSchemaFlattened && this.contract.output.successSchemaFlattened.schema; + }, set: function(e3) { + this._setSchema(r, e3); + } }, errorSchema: { enumerable: true, get: function() { + return this.contract && this.contract.output && this.contract.output.errorSchemaFlattened && this.contract.output.errorSchemaFlattened.schema; + }, set: function(e3) { + this._setSchema(a, e3); + } }, actionId: { get: function() { + return this.id; + } }, displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, errorSchemaUri: { enumerable: true, get: function() { + return this.contract && this.contract.output && this.contract.output.errorSchemaUri; + } }, inputSchemaUri: { enumerable: true, get: function() { + return this.contract && this.contract.input && this.contract.input.inputSchemaUri; + } }, successSchemaUri: { enumerable: true, get: function() { + return this.contract && this.contract.output && this.contract.output.successSchemaUri; + } }, schemas: { set: function(e3) { + e3 && (e3.input && (this.inputSchema = e3.input), e3.error && (this.errorSchema = e3.error), e3.success && (this.successSchema = e3.success)); + } } }), e2.exports = s; + }, 31140(e2, t2, i2) { + function n2() { + Object.defineProperties(this, { name: { writable: true, enumerable: true } }), n2.baseConstructor.apply(this, arguments); } - t2.default = o; - }, 4219: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(17405)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "surveyForm"; - } - get displayTypeName() { - return "ArchValueSurveyForm"; - } - get isArchValueSurveyForm() { - return true; - } + i2(45214).extend(n2, "HedwigActionCategory"), Object.defineProperties(n2.prototype, { id: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + }, enumerable: false } }), e2.exports = n2; + }, 83276(e2, t2, i2) { + const n2 = i2(31140); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 4251: (e2, t2, i2) => { - "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), 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"); - } - get responseType() { - return this._responseType; - } - set responseType(e3) { - this._responseType = e3; - } - get form() { - return this._form; - } - set form(e3) { - this._form = e3; - } - get messagingTemplate() { - return this._messagingTemplate; - } - set messagingTemplate(e3) { - this._messagingTemplate = e3; - } - get substitutionsSchema() { - return this._substitutionsSchema; - } - set substitutionsSchema(e3) { - this._substitutionsSchema = e3; - } - get library() { - return this.libraries && this.libraries[0]; - } - get libraries() { - return this._libraries; - } - set libraries(e3) { - this._libraries = this.reviveArray(e3, u.ResponseLibrary); - } - get substitutions() { - return this.substitutionsSchema; - } - set substitutions(e3) { - } - set schemas(e3) { - e3 && e3.input && (this.substitutionsSchema = e3.input); - } + i2(22124).extend(o, "HedwigActionCategoryList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + (e3 = this.reviveArray(e3, n2)) && (this._entities = e3); + } } }), e2.exports = o; + }, 99552(e2, t2, i2) { + const n2 = i2(63416); + function o() { + o.baseConstructor.apply(this, arguments); } - 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 }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "listPicker"; - } - get displayTypeName() { - return "ArchValueListPickerSection"; - } - get isArchValueListPickerSection() { - return true; - } - get items() { - return this._getAssignableProperty("items"); - } - get title() { - return this._getAssignableProperty("title"); - } - get multiSelectEnabled() { - return this._getAssignableProperty("multiSelectEnabled"); - } - setLiteralListPickerSection(e3, t3, i3) { - this.title.setLiteralString(t3), i3 && this.multiSelectEnabled.setLiteralBool(i3); - } + i2(22124).extend(o, "HedwigActionList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 82699(e2, t2, i2) { + function n2() { + this.schema = void 0, this.arrayProperties = void 0, n2.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 4268: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(65302)), o = i2(80428), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(37873)); - class l extends s.default { - constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreOutboundCallSettingsViewModel"), e3), this._contactList = this.coreFactory.createArchWrapper(e3.contactList), this._defaultWrapupCode = this.coreFactory.createArchWrapper(e3.defaultWrapupCode); - } - get displayTypeName() { - return "ArchSettingsOutboundCallFlow"; - } - get contactList() { - return this._contactList; - } - _updateContactType() { - this.logNote("updating Call.Contact properties for new contact list of '" + this._contactList._getCoreViewModel().name + "'"), r2.default.getType(this._getCoreViewModel().parentFlow, o.expressionTypeNames.contact, false).changeProperties(this._contactList._getCoreViewModel()); - } - get defaultWrapupCode() { - return this._defaultWrapupCode; - } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); - } - get isArchSettingsOutboundCallFlow() { - return true; - } - setContactListLiteralByContactListIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("contactListId", "setContactListLiteralByContactListIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setContactListLiteralByContactListIdAsync"), t3, true), this._contactList.setLiteralByContactListIdAsync(e3, () => (this._updateContactType(), a.default.executeCallback(this, "setContactListLiteralByContactListIdAsync", t3, this))); - } - setContactListLiteralByContactListNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("contactListName", "setContactListLiteralByContactListNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setContactListLiteralByContactListNameAsync"), t3, true), this._contactList.setLiteralByContactListNameAsync(e3, () => (this._updateContactType(), a.default.executeCallback(this, "setContactListLiteralByContactListNameAsync", t3, this))); - } + i2(45214).extend(n2, "HedwigActionSchema"), e2.exports = n2; + }, 66848(e2, t2, i2) { + function n2() { + Object.defineProperties(this, { _dateCreated: { writable: true }, _dateModified: { writable: true } }), this.coreLanguage = void 0, this.description = void 0, this.dateCreated = void 0, this.dateDocumentLastModified = void 0, this.dateModified = void 0, this.faqCount = void 0, this.articleCount = void 0, this.contentSearchEnabled = void 0, n2.baseConstructor.apply(this, arguments); } - t2.default = l; - }, 4285: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeFileOptions = void 0; - 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); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeFileOptions"; - } - get isExpressionTypeFileOptions() { - return true; - } - get supportsLiteralMode() { - return (0, a.isFeatureAvailable)(o.default.cannedResponseAttachmentsPostGaFeature); - } + i2(52722).extend(n2, "KnowledgeBase"), Object.defineProperties(n2.prototype, { dateCreated: { get: function() { + return this._dateCreated; + }, set: function(e3) { + const t3 = Date.parse(e3); + this._dateCreated = isNaN(t3) ? void 0 : e3; + } }, dateModified: { get: function() { + return this._dateModified; + }, set: function(e3) { + const t3 = Date.parse(e3); + this._dateModified = isNaN(t3) ? void 0 : e3; + } }, isKnowledgeBaseModel: { get: () => true } }), e2.exports = n2; + }, 36577(e2, t2, i2) { + const n2 = i2(52722), o = i2(66848); + function r() { + Object.defineProperties(this, { _knowledgeBase: { writable: true } }), this.title = void 0, r.baseConstructor.apply(this, arguments), this.name || (this.name = this.title); } - 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), 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: 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; - } - propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.dataToDecrypt && r2.validateItem(this.decryptedDataOutput, true, true); - } - _initializeDesignTime() { - super._initializeDesignTime(), this.decryptedDataOutput.attachValidator((e3) => { - 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))); - }); - } + n2.extend(r, "KnowledgeBaseDocument"), Object.defineProperties(r.prototype, { knowledgeBase: { get: function() { + return this._knowledgeBase; + }, set: function(e3) { + this._knowledgeBase = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 66693(e2, t2, i2) { + const n2 = i2(36577); + function o() { + Object.defineProperties(this, { _nextUri: { value: void 0, writable: true } }), o.baseConstructor.apply(this, arguments); } - 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() { - for (let e3 = 0; e3 < o.length; e3++) { - let t3 = false; - for (let i3 = 0; i3 < a.length; i3++) if (o[e3].funcCategory === a[i3].funcCategory) { - a[i3].functions.push(o[e3]), t3 = true; - break; - } - if (false === t3) { - const t4 = (0, r2.createFuncOpCollection)(o[e3].funcCategory); - t4.functions.push(o[e3]), a.push(t4); - } - } - }; - const n2 = i2(27491), r2 = i2(58801), o = n2.expressionDataService.expressionFuncOps, a = n2.expressionDataService.expressionFuncOpCollections; - }, 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), 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, 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 = !!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(); - } - get isContainerActionProperty() { - return true; + i2(22124).extend(o, "KnowledgeBaseDocumentList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } }, nextUri: { get: function() { + return this._nextUri; + }, set: function(e3) { + this._nextUri = e3; + } } }), e2.exports = o; + }, 54632(e2, t2, i2) { + const n2 = i2(66848); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "KnowledgeBaseList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 66445(e2, t2, i2) { + function n2() { + Object.defineProperties(this, { _dateCreated: { writable: true }, _dateModified: { writable: true } }), this.description = void 0, this.sources = void 0, this.searchSetting = void 0, this.generationSetting = void 0, this.stateful = void 0, this.dateCreated = void 0, this.dateModified = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(52722).extend(n2, "KnowledgeSetting"), Object.defineProperties(n2.prototype, { dateCreated: { get: function() { + return this._dateCreated; + }, set: function(e3) { + const t3 = Date.parse(e3); + this._dateCreated = isNaN(t3) ? void 0 : e3; + } }, dateModified: { get: function() { + return this._dateModified; + }, set: function(e3) { + const t3 = Date.parse(e3); + this._dateModified = isNaN(t3) ? void 0 : e3; + } }, isKnowledgeSettingModel: { get: () => true } }), e2.exports = n2; + }, 40209(e2, t2, i2) { + const n2 = i2(66445); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "KnowledgeSettingList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 19760(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(52722).extend(n2, "KnowledgeSource"), e2.exports = n2; + }, 68511(e2, t2, i2) { + const n2 = i2(92140); + function o() { + this.id = void 0, this.name = void 0, this._state = void 0, o.baseConstructor.apply(this, arguments); + } + i2(45214).extend(o, "Language"), Object.defineProperties(o.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, state: { get: function() { + return this._state; + }, set: function(e3) { + this._state = n2.isString(e3) ? e3.toLowerCase() : e3; + } } }), e2.exports = o; + }, 77396(e2, t2, i2) { + const n2 = i2(68511); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "LanguageList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 87290(e2, t2, i2) { + function n2() { + this.bot = void 0, this.id = void 0, this.language = void 0, this.name = void 0, this.status = void 0, this.intents = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "LexAlias"), Object.defineProperties(n2.prototype, { label: { get: function() { + return this.aliasName; + }, set: function(e3) { + this.aliasName = e3; + } } }), e2.exports = n2; + }, 30702(e2, t2, i2) { + const n2 = i2(87290); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "LexAliasList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 24171(e2, t2, i2) { + function n2() { + this.name = void 0, this.id = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "LexBot"), Object.defineProperties(n2.prototype, { label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 46387(e2, t2, i2) { + const n2 = i2(24171); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "LexBotList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 10438(e2, t2, i2) { + function n2() { + this.region = void 0, this.aliasId = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(87290).extend(n2, "LexV2Alias"), Object.defineProperties(n2.prototype, { isLexV2Alias: { get: function() { + return true; + } } }), e2.exports = n2; + }, 20730(e2, t2, i2) { + const n2 = i2(10438); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "LexV2AliasList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 26063(e2, t2, i2) { + function n2() { + this.region = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(24171).extend(n2, "LexV2Bot"), Object.defineProperties(n2.prototype, { isLexV2Bot: { get: function() { + return true; + } } }), e2.exports = n2; + }, 83959(e2, t2, i2) { + const n2 = i2(26063); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "LexV2BotList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 25760(e2, t2, i2) { + function n2() { + Object.defineProperties(this, { _dateCreated: { writable: true }, _dateModified: { writable: true } }), this.dateCreated = void 0, this.dateModified = void 0, this.engineVersion = void 0, this.draftVersion = void 0, this.lastPublishedVersion = void 0, this.intents = void 0, this.entities = void 0, this.entityTypes = void 0, this.language = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(52722).extend(n2, "NLUDomain"), Object.defineProperties(n2.prototype, { dateCreated: { get: function() { + return this._dateCreated; + }, set: function(e3) { + this._dateCreated = Date.parse(e3); + } }, dateModified: { get: function() { + return this._dateModified; + }, set: function(e3) { + this._dateModified = Date.parse(e3); + } }, isNLUDomainModel: { get: () => true } }), e2.exports = n2; + }, 68040(e2, t2, i2) { + const n2 = i2(25760); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "NLUDomainList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 16926(e2, t2, i2) { + const n2 = i2(92140); + function o() { + this.id = void 0, this.description = void 0, this.engineVersion = void 0, this.intents = void 0, this.entities = void 0, this.entityTypes = void 0, this.language = void 0, this.trainingStatus = void 0, this.languageVersions = void 0, o.baseConstructor.apply(this, arguments); + } + i2(45214).extend(o, "NLUDomainVersion"), Object.defineProperties(o.prototype, { getConfiguration: { value: function(e3, t3) { + if (t3?.isForFlowYaml) { + const e4 = n2.clone(this); + return delete e4.id, delete e4.description, delete e4.engineVersion, delete e4.trainingStatus, e4; } - destroy() { - super.destroy(), this._outOfServiceProvider.destroy(), this.cleanUpEventSinks(); + return this; + } } }), e2.exports = o; + }, 52722(e2, t2, i2) { + function n2() { + this.name = void 0, this.id = void 0, this.description = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "NameIdModel"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 84584(e2, t2, i2) { + const n2 = i2(45214), o = i2(29374); + function r() { + Object.defineProperties(this, { _channels: { writable: true } }), this.id = void 0, this.integrationId = void 0, this.name = void 0, this.application = void 0, this.transferNodes = void 0, this.variables = void 0, this.locales = void 0, r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "NuanceMixBot"), Object.defineProperties(r.prototype, { label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, channels: { get: function() { + return this._channels; + }, set: function(e3) { + this._channels = this.reviveArray(e3, o); + }, enumerable: true } }), e2.exports = r; + }, 20125(e2, t2, i2) { + function n2() { + this.id = void 0, this.state = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "NuanceMixBotJob"), e2.exports = n2; + }, 24528(e2, t2, i2) { + const n2 = i2(84584); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "NuanceMixBotList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 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); + } + i2(45214).extend(n2, "NuanceMixChannel"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 22124(e2, t2, i2) { + const n2 = i2(92140); + function o() { + Object.defineProperties(this, { _entities: { value: [], writable: true } }), this.pageCount = void 0, this.pageNumber = void 0, this.pageSize = void 0, this.total = void 0, o.baseConstructor.apply(this, arguments); + } + i2(45214).extend(o, "PagedList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + n2.isArray(e3) && (this._entities = e3); + } }, results: { enumerable: true, get: function() { + return this.entities; + }, set: function(e3) { + this.entities = e3; + } } }), e2.exports = o; + }, 84670(e2, t2, i2) { + function n2() { + this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "Queue"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 71698(e2, t2, i2) { + const n2 = i2(22124), o = i2(84670); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "QueueList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 15338(e2, t2, i2) { + const n2 = i2(92140), o = i2(45214), r = i2(67513); + function a(e3) { + const t3 = { title: "Variables", description: "The custom variables for this script", type: "object", properties: {} }; + return n2.each(e3, function(e4) { + t3.properties[e4.name] = { type: e4.type.name, description: e4.description, input: true, default: e4.value || "" }; + }), this.reviveItem(t3, r); + } + function s() { + this.id = void 0, this.name = void 0, this.variables = void 0, this.features = void 0, s.baseConstructor.apply(this, arguments); + } + o.extend(s, "Script"), Object.defineProperties(s.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, inputs: { get: function() { + return this.variables; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, schemas: { set: function(e3) { + e3 && e3.input && (n2.isArray(e3.input) ? this.variables = a.call(this, e3.input) : this.variables = this.reviveItem(e3.input, r)); + } } }), e2.exports = s; + }, 34622(e2, t2, i2) { + const n2 = i2(22124), o = i2(15338); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "ScriptList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 67513(e2, t2, i2) { + function n2() { + this.description = void 0, this.title = void 0, this.type = void 0, this.properties = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "ScriptVariables"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, variables: { get: function() { + return this.properties; + } } }), e2.exports = n2; + }, 80800(e2, t2, i2) { + const n2 = i2(92140); + function o() { + this.id = void 0, this.name = void 0, this._state = void 0, o.baseConstructor.apply(this, arguments); + } + i2(45214).extend(o, "Skill"), Object.defineProperties(o.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, state: { get: function() { + return this._state; + }, set: function(e3) { + this._state = n2.isString(e3) ? e3.toLowerCase() : e3; + } } }), e2.exports = o; + }, 1736(e2, t2, i2) { + const n2 = i2(22124), o = i2(80800); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "SkillList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 59964(e2, t2, i2) { + function n2() { + this.OAuthClient = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "Token"), e2.exports = n2; + }, 83462(e2, t2, i2) { + const n2 = i2(92140), o = i2(2398), { permissionService: r } = i2(67210), a = i2(47957), s = i2(97591); + function l() { + Object.defineProperties(this, { _displayName: { writable: true }, _username: { writable: true }, _state: { writable: true } }), this.email = void 0, this.organization = void 0, this._permissions = void 0, this._authorization = void 0, this.divisions = {}, this.status = void 0, this.token = void 0, this.images = void 0, l.baseConstructor.apply(this, arguments); + } + o.extend(l, "User"), Object.defineProperties(l.prototype, { displayName: { get: function() { + let e3 = this._displayName || this.name || this.username; + return e3 || this.id !== s.systemUser || (e3 = a.user.system), e3; + }, set: function(e3) { + this._displayName = e3; + } }, label: { get: function() { + return this.displayName; + }, set: function(e3) { + this.displayName = e3; + } }, state: { get: function() { + return this._state; + }, set: function(e3) { + this._state = n2.isString(e3) ? e3.toLowerCase() : e3; + } }, authorization: { get: function() { + return this._authorization; + }, set: function(e3) { + this._authorization = e3, e3 && e3.permissions && (this.permissions = e3.permissions); + } }, permissions: { get: function() { + return this._permissions; + }, set: function(e3) { + this._permissions = e3, n2.each(e3, function(e4) { + r.addPermissionToUser(e4, this); + }.bind(this)); + } }, username: { get: function() { + return this._username || this.email; + }, set: function(e3) { + this._username = e3; + } } }), e2.exports = l; + }, 92314(e2, t2, i2) { + const n2 = i2(22124), o = i2(83462); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "UserList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 15139(e2, t2, i2) { + const n2 = i2(45214), o = i2(97361); + e2.exports = class extends n2 { + get flowId() { + return this._flowId; } - getConfiguration(e3, t3, i3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const e4 = this.getReferenceViewModel(); - return this.outOfService && i3 && !i3.serializeOutOfService ? void 0 : e4 && e4.yamlPath; - } - return this.parent.isAction ? (console.error("Trying to access ContainerActionProperty.getConfiguration for non-flow-YAML"), null) : (e3[this._modelIdPropName] = this.referenceId, void (e3[this._modelNamePropName] = this.referenceName)); + set flowId(e3) { + this._flowId = e3; } - get parent() { - return this.action; + get flowType() { + return this._flowType; } - get parentFlow() { - return this.action.parentFlow; + set flowType(e3) { + this._flowType = e3; } - get referenceId() { - return this.action[this._modelIdPropName]; + get id() { + return this._id; } - set referenceId(e3) { - this.action[this._modelIdPropName] = e3; + set id(e3) { + this._id = e3; } - get referenceName() { - return this.action[this._modelNamePropName]; + get organizationId() { + return this._organizationId; } - set referenceName(e3) { - this.action[this._modelNamePropName] = e3; + set organizationId(e3) { + this._organizationId = e3; } - get noReferenceString() { - return this._noReferenceString; + get actionName() { + return this._actionName; } - setReference(e3) { - if (e3) { - const t3 = this.getInvalidReferenceReason(e3); - t3 && (console.error(`Can not set reference to '${e3.name}:${e3.id}', reason: ${t3}`), e3 = void 0); - } - o.default.isFunction(this.action.linkTask) ? this.action.linkTask(e3) : o.default.isFunction(this.action.linkState) ? this.action.linkState(e3) : o.default.isFunction(this.action.linkMenu) ? this.action.linkMenu(e3) : e3 ? (this.referenceName = e3.name, this.referenceId = e3.id) : (this.referenceId = void 0, this.referenceName = void 0), e3 && !e3.supportsCustomOutputPaths || s.emitter.emit(s.branchesChanged); + set actionName(e3) { + this._actionName = e3; } - setReferenceIdAndName(e3, t3) { - this.referenceName = t3, this.referenceId = e3; + get actionStatus() { + return this._actionStatus; } - isMatch(e3) { - return e3[this._modelNamePropName] === this._noReferenceString && e3[this._modelIdPropName] === this.referenceId; + set actionStatus(e3) { + this._actionStatus = e3; } - isValidReference(e3) { - return !(!e3 || !e3.isFlowElementWithNodeInformationAndChildren || this.getInvalidReferenceReason(e3)); + get started() { + return this._started; } - validate(e3) { - if (!this.outOfService) if (this.action[this._modelIdPropName]) { - const t3 = this.getReferenceViewModel(); - if (!t3 && this.action[this._modelNamePropName]) e3.addError(this, (0, r2.sprintf)(h.expression.literalDropDownValueDoesNotExist, this._itemDoesNotExistBaseString, this.action[this._modelNamePropName]), false, true), this._hasError = true; - else { - const i3 = this.getReferenceIssues(t3); - i3.error && (e3.addError(this, i3.error, false, true), this._hasError = true), i3.warning && e3.addWarning(this, i3.warning, void 0, true); - } - } else e3.addError(this, this._noReferenceString, false, true), this._hasError = true; + set started(e3) { + this._started = e3; } - getInvalidReferenceReason(e3) { - return this.getReferenceIssues(e3).error; + get complete() { + return this._complete; } - getReferenceWarning(e3) { - return this.getReferenceIssues(e3).warning; + set complete(e3) { + this._complete = e3; } - get hasError() { - return this._hasError; + get completed() { + return this._completed; } - getReferenceIssues(e3) { - if (this._validReferenceCallback) { - const t3 = this._validReferenceCallback(e3); - if (o.default.isObject(t3)) return t3; - } - return {}; + set completed(e3) { + this._completed = e3; } - cleanUpEventSinks() { - this.eventSinks.forEach((e3) => { - d.unregisterEventSink(e3); - }), this.eventSinks.length = 0; + get results() { + return this._results; } - getReferenceViewModel() { - return this.action[this._modelIdPropName] ? c.flowElementRegistrationService.getItemById(this.parentFlow, this.action[this._modelIdPropName]) : null; + set results(e3) { + this._results = this.reviveItem(e3, o); } - setupEventSinks() { - this.cleanUpEventSinks(), this.referenceId && (this.eventSinks.push(d.createEventSinkObject(s.actionContainerDeleted, this.action, () => { - this.validateAction(); - })), 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); - })); + get errorMessage() { + return this._errorMessage; } - static createCreateDetails(e3) { - return { create: (t3, i3) => new m(t3, i3, e3.modelIdPropName, e3.modelNamePropName, e3.itemDoesNotExistBaseString, e3.invalidStringText, e3.noReferenceString, e3.referencesMenus, e3.referencesTasks, e3.referencesStates, e3.isForFollowUpKnowledgeTask, e3.isForCustomKnowledgeHandlingTask, e3.validReferenceCallback), getCreateClass: () => m, modelProperties: [e3.modelIdPropName, e3.modelNamePropName] }; + set errorMessage(e3) { + this._errorMessage = e3; } + }; + }, 97361(e2, t2, i2) { + const n2 = i2(45214); + class o extends n2 { } - t2.ContainerActionProperty = m; - }, 4381: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryActions = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(30801)), a = n2.__importDefault(i2(84783)), s = n2.__importDefault(i2(38689)), l = n2.__importDefault(i2(78432)); - class u extends a.default { - get displayTypeName() { - return "ArchFactoryActions"; - } - get logStr() { - return this._createLogStrFromParts(["ArchFactoryActions"]); - } - get isArchFactoryActions() { - return true; - } - addActionToActionContainer(e3, t3, i3, n3, a2) { - 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 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; - } - addActionAndLog(e3, t3, i3, n3, r3) { - const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, t3, i3, n3, r3)); - return this.logAdd(e3, o2), o2; - } - configureTransferAction(e3, t3, i3, n3) { - return this._checkItemIsValidLiteralString(this._infoParm("preTransferAudioTTS", n3), i3, true), r2.default.isString(i3) && t3.preTransferAudio.setDefaultCaseExpressionToAudioTTS(i3), this.logAdd(e3, t3); - } - addActionAddFlowMilestone(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.addFlowMilestoneActionType, t3, "addActionAddFlowMilestone"); - } - addActionCallData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.dataActionActionType, t3, "addActionCallData"); - } - addActionDataTableLookup(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.dataTableLookupActionType, t3, "addActionDataTableLookup"); - } - addActionCallDataSecure(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.secureActionActionType, t3, "addActionCallDataSecure"); - } - addActionCallDialogEngineBot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.dialogEngineActionType, t3, "addActionCallDialogEngineBot"); - } - addActionCallDialogflowBot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.dialogflowActionType, t3, "addActionCallDialogflowBot"); - } - addActionCallDialogflowCxBot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.dialogflowCxActionType, t3, "addActionCallDialogflowCxBot"); - } - addActionCallLexBot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.lexActionType, t3, "addActionCallLexBot"); - } - addActionCallBotConnector(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.botConnectorActionType, t3, "addActionCallBotConnector"); - } - addActionCallLexV2Bot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.lexV2ActionType, t3, "addActionCallLexV2Bot"); - } - addActionCallNuanceMixBot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.nuanceMixActionType, t3, "addActionCallNuanceMixBot"); - } - addActionClearActiveIntent(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.clearActiveIntentActionType, t3, "addActionClearActiveIntent"); - } - addActionClearPostFlow(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.clearPostFlowActionType, t3, "addActionClearPostFlow"); - } - addActionClearSlot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.clearSlotActionType, t3, "addActionClearSlot"); - } - addActionClearUtilizationLabel(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.clearUtilizationLabelActionType, t3, "addActionClearUtilizationLabel"); - } - addActionCollectInput(e3, t3, i3, n3, a2, s2, l2) { - this._checkItemIsValidLiteralString(this._infoParm("name", "addActionCollectInput"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("inputAudioTTS", "addActionCollectInput"), i3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("inputVariable", "addActionCollectInput"), n3, true), this._checkItemIsValidLiteralInt(this._infoParm("interDigitTimeoutMS", "addActionCollectInput"), a2, true), this._checkItemIsValidLiteralInt(this._infoParm("noEntryTimeoutMS", "addActionCollectInput"), s2, true); - const u2 = this.addActionAndLog(e3, l2, o.collectInputActionType, t3, "addActionCollectInput"); - return r2.default.isString(i3) && u2.inputAudio.setDefaultCaseExpressionToAudioTTS(i3), n3 && u2.setInputDataVariable(n3), r2.default.isActualNumber(a2) && u2.interDigitTimeout.setLiteralMs(a2), r2.default.isActualNumber(s2) && u2.noEntryTimeout.setLiteralMs(s2), u2; - } - addActionClearVoicemailSnippet(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.clearVoicemailSnippetActionType, t3, "addActionClearVoicemailSnippet"); - } - addActionCollectVoiceSnippet(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.collectVoiceSnippetActionType, t3, "addActionCollectVoiceSnippet"); - } - addActionCommunicate(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("communicationExpression", "addActionCommunicate"), i3, true); - const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.communicateActionType, t3, "addActionCommunicate")); - return r2.default.isString(i3) && a2.communication.setExpression(i3), this.logAdd(e3, a2); - } - addActionCreateCallback(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.createCallbackActionType, t3, "addActionCreateCallback"); - } - addActionCreateConversationAttribute(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.createConversationAttributeActionType, t3, "addActionCreateConversationAttribute"); - } - addActionDecision(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("conditionExpression", "addActionDecision"), i3, true); - const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.decisionActionType, t3, "addActionDecision")); - return r2.default.isString(i3) && a2.condition.setExpression(i3), this.logAdd(e3, a2); - } - addActionCallDecisionTable(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.callDecisionTableActionType, t3, "addActionCallDecisionTable"); - } - addActionDecryptData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.decryptDataActionType, t3, "addActionDecryptData"); - } - addActionDeflect(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.deflectActionType, t3, "addActionDeflect"); - } - 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 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"); - } - addActionDisconnectWorkitem(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.disconnectWorkitemActionType, t3, "addActionDisconnectWorkitem"); - } - addActionEnableParticipantRecord(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.participantRecordActionType, t3, "addActionEnableParticipantRecord"); - } - addActionEncryptData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.encryptDataActionType, t3, "addActionEncryptData"); - } - addActionEndWorkflow(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.endWorkflowActionType, t3, "addActionEndWorkflow"); - } - addActionReturnToAgent(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.returnToAgentActionType, t3, "addActionReturnToAgent"); - } - addActionEvaluateSchedule(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.evaluateScheduleActionType, t3, "addActionEvaluateSchedule"); - } - addActionEvaluateScheduleGroup(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.evaluateScheduleGroupActionType, t3, "addActionEvaluateScheduleGroup"); - } - addActionEvaluateSkillExpressionFilters(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.evaluateSkillExpressionFiltersActionType, t3, "addActionEvaluateSkillExpressionFilters"); - } - addActionAbortSurveyInvite(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.abortSurveyActionType, t3, "addActionAbortSurveyInvite"); - } - addActionAbortSend(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.abortSendActionType, t3, "addActionAbortSend"); - } - addActionCompleteSend(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.completeSendActionType, t3, "addActionCompleteSend"); - } - addActionCompleteSurveyInvite(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.completeSurveyActionType, t3, "addActionCompleteSurveyInvite"); - } - addActionDetectIntent(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.detectIntentActionType, t3, "addActionDetectIntent"); - } - addActionDetectSilence(e3, t3, i3) { - const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, o.detectSilenceActionType, t3, "addActionDetectSilence")); - return this.logAdd(e3, n3); - } - addActionExtractSecureData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.extractSecureDataActionType, t3, "addActionExtractSecureData"); - } - addActionExitBotFlow(e3, t3, i3) { - return s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, o.exitBotFlowActionType, t3, "addActionExitBotFlow")); - } - addActionExitWorkitemFlow(e3, t3, i3) { - return s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, o.exitWorkitemFlowActionType, t3, "addActionExitWorkitemFlow")); - } - addActionFindDivision(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findDivisionActionType, t3, "addActionFindDivision"); - } - addActionFindDivisions(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findDivisionsActionType, t3, "addActionFindDivisions"); - } - addActionFindEmergencyGroup(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findEmergencyGroupActionType, t3, "addActionFindEmergencyGroup"); - } - addActionFindGrammar(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findGrammarActionType, t3, "addActionFindGrammar"); - } - addActionFindGrammarById(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findGrammarByIdActionType, t3, "addActionFindGrammarById"); - } - addActionFindGroup(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findGroupActionType, t3, "addActionFindGroup"); - } - addActionFindKnowledgeBaseDocumentById(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findKnowledgeBaseDocumentByIdActionType, t3, "addActionFindKnowledgeBaseDocumentById"); - } - addActionFindLanguageSkill(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findLanguageSkillActionType, t3, "addActionFindLanguageSkill"); - } - addActionFindQueue(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findQueueActionType, t3, "addActionFindQueue"); - } - addActionFindQueueById(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findQueueByIdActionType, t3, "addActionFindQueueById"); - } - addActionFindSchedule(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findScheduleActionType, t3, "addActionFindSchedule"); - } - addActionFindScheduleGroup(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findScheduleGroupActionType, t3, "addActionFindScheduleGroup"); - } - addActionFindSkill(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findSkillActionType, t3, "addActionFindSkill"); - } - addActionFindSystemPrompt(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findSystemPromptActionType, t3, "addActionFindSystemPrompt"); - } - addActionFindUserPrompt(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findUserPromptActionType, t3, "addActionFindUserPrompt"); - } - addActionFindUser(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findUserActionType, t3, "addActionFindUser"); - } - addActionFindUserById(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findUserByIdActionType, t3, "addActionFindUserById"); - } - addActionFindUsersById(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findUsersByIdActionType, t3, "addActionFindUsersById"); - } - addActionFindUtilizationLabel(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.findUtilizationLabelActionType, t3, "addActionFindUtilizationLabel"); - } - addActionFlushAudio(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.flushAudioActionType, t3, "addActionFlushAudio"); - } - addActionForm(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.formActionType, t3, "addActionForm"); - } - 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"); - } - addActionGetConversationAttributes(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getConversationAttributesActionType, t3, "addActionGetConversationAttributes"); - } - addActionGetConversationData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getConversationDataActionType, t3, "addActionGetConversationData"); - } - addActionGetExternalContact(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getExternalContactActionType, t3, "addActionGetExternalContact"); - } - addActionGetExternalOrganization(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getExternalOrganizationActionType, t3, "addActionGetExternalOrganization"); - } - addActionGetRawSIPHeaders(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getRawSIPHeadersActionType, t3, "addActionGetRawSIPHeaders"); - } - addActionGetEmailHeaders(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getEmailHeadersActionType, t3, "addActionGetEmailHeaders"); - } - addActionGetSIPHeaders(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getSIPHeadersActionType, t3, "addActionGetSIPHeaders"); - } - addActionGetJourneyOutcome(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getJourneyOutcomeActionType, t3, "addActionGetJourneyOutcome"); - } - addActionGetJourneyOutcomeScoresBySession(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getJourneyOutcomeScoresBySessionActionType, t3, "addActionGetJourneyOutcomeScoresBySession"); - } - addActionGetJourneySegment(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getJourneySegmentActionType, t3, "addActionGetJourneySegment"); - } - addActionGetJourneySession(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getJourneySessionActionType, t3, "addActionGetJourneySession"); - } - addActionGetJourneySessionsByExternalContact(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getJourneySessionsByExternalContactActionType, t3, "addActionGetJourneySessionsByExternalContact"); - } - addActionGetParticipantData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getAttributesActionType, t3, "addActionGetParticipantData"); - } - addActionGetResponse(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getResponseActionType, t3, "addActionGetResponse"); - } - addActionGetSecuredData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.getSecuredDataActionType, t3, "addActionGetSecuredData"); - } - addActionLoop(e3, t3, i3, n3, a2) { - this._checkItemIsValidLiteralString(this._infoParm("loopCountExpression", "addActionLoop"), n3, true); - const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, o.loopActionType, t3, "addActionLoop")); - return i3 && l2.currentIndex.setVariable(i3), r2.default.isString(n3) && l2.loopCount.setExpression(n3), this.logAdd(e3, l2); - } - addActionLoopAnythingElse(e3, t3, i3) { - const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, o.askForNLUNextIntentActionActionType, t3, "addActionLoopAnythingElse")); - return this.logAdd(e3, n3); - } - addActionLoopUntil(e3, t3, i3, n3, a2) { - this._checkItemIsValidLiteralString(this._infoParm("loopCountExpression", "addActionLoopUntil"), n3, true); - const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, o.loopUntilActionType, t3, "addActionLoopUntil")); - return i3 && l2.currentIndex.setVariable(i3), r2.default.isString(n3) && l2.maxLoopCount.setExpression(n3), this.logAdd(e3, l2); - } - addActionLoopExit(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.exitLoopActionType, t3, "addActionLoopExit"); - } - addActionLoopNext(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.nextLoopActionType, t3, "addActionLoopNext"); - } - addActionJumpToMenu(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferMenuActionType, t3, "addActionJumpToMenu")); - return i3 && (r3.targetMenu = i3), this.logAdd(e3, r3); - } - addActionPreviousMenu(e3, t3, i3) { - const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, o.previousMenuActionType, t3, "addActionPreviousMenu")); - return this.logAdd(e3, n3); - } - addActionProcessVoicemailInput(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.processVoicemailInputActionType, t3, "addActionProcessVoicemailInput"); - } - addActionJumpToTask(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferTaskActionType, t3, "addActionJumpToTask")); - return i3 && (r3.targetTask = i3), this.logAdd(e3, r3); - } - addActionPlayAudio(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("defaultAudioTTS", "addActionPlayAudio"), i3, true); - const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.playAudioActionType, t3, "addActionPlayAudio")); - return r2.default.isString(i3) && a2.audio.setDefaultCaseLiteralTTS(i3), this.logAdd(e3, a2); - } - addActionHoldMusic(e3, t3, i3, n3, r3) { - const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, r3, o.holdMusicActionType, t3, "addActionHoldMusic")); - return i3 && (this._checkItemIsValidLiteralStringEnum(this._infoParm("playStyle", "addActionHoldMusic"), i3, l.default.HOLD_MUSIC_PLAY_STYLES_ALL), a2.playStyle = i3), n3 && (this._checkItemIsValidLiteralString(this._infoParm("durationExpression", "addActionHoldMusic"), n3), a2.playDuration.setExpression(n3)), this.logAdd(e3, a2); - } - addActionPlayEstimatedWaitTime(e3, t3, i3, n3, a2) { - this._checkItemIsValidLiteralString(this._infoParm("playbackMode", "addActionPlayEstimatedWaitTime"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("estimatedWaitTimeExpression", "addActionPlayEstimatedWaitTime"), n3, true); - const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, o.playEstimatedWaitTimeActionType, t3, "addActionPlayEstimatedWaitTime")); - return r2.default.isString(i3) && (l2.playbackMode = i3), r2.default.isString(n3) && l2.estimatedWaitTime.setExpression(n3), this.logAdd(e3, l2); - } - addActionPlayAudioOnSilence(e3, t3, i3) { - const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, o.playAudioOnSilenceActionType, t3, "addActionPlayAudioOnSilence")); - return this.logAdd(e3, n3); - } - addActionPlayPositionInQueue(e3, t3, i3, n3, a2) { - this._checkItemIsValidLiteralString(this._infoParm("playbackMode", "addActionPlayPositionInQueue"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("positionExpression", "addActionPlayPositionInQueue"), n3, true); - const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, o.playPositionInQueueActionType, t3, "addActionPlayPositionInQueue")); - return r2.default.isString(i3) && (l2.playbackMode = i3), r2.default.isString(n3) && l2.positionInQueue.setExpression(n3), this.logAdd(e3, l2); - } - addActionPlayUserGreeting(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.playUserGreetingActionType, t3, "addActionPlayUserGreeting"); - } - addActionPlayUserName(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.playUserNameActionType, t3, "addActionPlayUserName"); - } - addActionPromoteExternalContact(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.promoteExternalContactActionType, t3, "addActionPromoteExternalContact"); - } - addActionSearchExternalContacts(e3, t3, i3) { - return this._checkItemIsValidLiteralString(this._infoParm("name", "addActionSearchExternalContacts"), t3, true), this.addActionAndLog(e3, i3, o.searchExternalContactsActionType, t3, "addActionSearchExternalContacts"); - } - 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 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"))); - } - addActionSendInteractiveApplication(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.sendInteractiveApplicationActionActionType, t3, "addActionSendInteractiveApplication"); - } - addActionSendKnowledgeFeedback(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.sendKnowledgeFeedbackActionActionType, t3, "addActionSendKnowledgeFeedback"); - } - addActionSendNotification(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.sendNotificationActionType, t3, "addActionSendNotification"); - } - addActionSendResponse(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("messageBody", "addActionSendResponse"), i3, true); - const a2 = this.addActionAndLog(e3, n3, o.sendResponseActionType, t3, "addActionSendResponse"); - return r2.default.isString(i3) && a2.messageBody.setExpression(i3), a2; - } - addActionSendRichLink(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.sendRichLinkActionType, t3, "addActionSendRichLink"); - } - addActionSetConversationData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setConversationDataActionType, t3, "addActionSetConversationData"); - } - addActionSetExternalTag(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("externalTagExpression", "addActionSetExternalTag"), i3, true); - const a2 = this.addActionAndLog(e3, n3, o.setExternalTagActionType, t3, "addActionSetExternalTag"); - return r2.default.isString(i3) && a2.externalTag.setExpression(i3), a2; - } - addActionSetIntent(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setActiveIntentActionType, t3, "addActionSetIntent"); - } - addActionSetLanguage(e3, t3, i3, n3) { - const r3 = this.addActionAndLog(e3, n3, o.setLocaleActionType, t3, "addActionSetLanguage"); - return i3 && (r3.language = i3), r3; - } - addActionSetParticipantData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setAttributesActionType, t3, "addActionSetParticipantData"); - } - addActionSetPostFlow(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setPostFlowActionType, t3, "addActionSetPostFlow"); - } - addActionSetPriority(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setPriorityActionType, t3, "addActionSetPriority"); - } - addActionSetScreenPop(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.screenPopActionType, t3, "addActionSetScreenPop"); - } - addActionSetSecuredData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setSecuredDataActionType, t3, "addActionSetSecuredData"); - } - addActionSetSkillExpressionFilters(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setSkillExpressionFiltersActionType, t3, "addActionSetSkillExpressionFilters"); - } - addActionSetSkills(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setSkillsActionType, t3, "addActionSetSkills"); - } - addActionClearSkillExpressionFilters(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.clearSkillExpressionFiltersActionType, t3, "addActionClearSkillExpressionFilters"); - } - addActionSetUtilizationLabel(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setUtilizationLabelActionType, t3, "addActionSetUtilizationLabel"); - } - addActionSetUUIData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setUUIDataActionType, t3, "addActionSetUUIData"); - } - addActionSetWrapupCode(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setWrapupCodeActionType, t3, "addActionSetWrapupCode"); - } - addActionSubmitVoicemailSnippet(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.submitVoicemailSnippetActionType, t3, "addActionSubmitVoicemailSnippet"); - } - addActionSubmitVoiceSnippet(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.submitVoiceSnippetActionType, t3, "addActionSubmitVoiceSnippet"); - } - addActionSwitch(e3, t3, i3, n3, a2) { - this._checkItemIsValidLiteralString(this._infoParm("switchExpression", "addActionSwitch"), i3, true); - const s2 = this.addActionAndLog(e3, a2, o.switchActionActionType, t3, "addActionSwitch"); - return r2.default.isString(i3) && i3.length && s2.setExpressionSwitch(i3, n3), s2; - } - addActionSetWhisperAudio(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("audioExpression", "addActionSetWhisperAudio"), i3, true); - const a2 = this.addActionAndLog(e3, n3, o.setWhisperAudioActionType, t3, "addActionSetWhisperAudio"); - return r2.default.isString(i3) && a2.whisperAudio.setExpression(i3), a2; - } - addActionTerminateWorkitem(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.terminateWorkitemActionType, t3, "addActionTerminateWorkitem"); - } - addActionTranscription(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.transcriptionActionType, t3, "addActionTranscription"); - } - addActionTransferToAcd(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferPureMatchActionType, t3, "addActionTransferToAcd")); - return this.configureTransferAction(e3, r3, i3, "addActionTransferToAcd"); - } - addActionTransferToFlow(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferFlowActionType, t3, "addActionTransferToFlow")); - return this.configureTransferAction(e3, r3, i3, "addActionTransferToFlow"); - } - addActionTransferToFlowSecure(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferFlowSecureActionType, t3, "addActionTransferToFlowSecure")); - return this.configureTransferAction(e3, r3, i3, "addActionTransferToFlowSecure"); - } - addActionTransferToGroup(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferGroupActionType, t3, "addActionTransferToGroup")); - return this.configureTransferAction(e3, r3, i3, "addActionTransferToGroup"); - } - addActionTransferToNumber(e3, t3, i3, n3, a2) { - this._checkItemIsValidLiteralString(this._infoParm("number", "addActionTransferToNumber"), n3, true); - const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, o.transferExternalActionType, t3, "addActionTransferToNumber")); - return r2.default.isString(n3) && l2.targetNumber.setLiteralString(n3), this.configureTransferAction(e3, l2, i3, "addActionTransferToNumber"); - } - addActionTransferToUser(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferUserActionType, t3, "addActionTransferToUser")); - return this.configureTransferAction(e3, r3, i3, "addActionTransferToUser"); - } - addActionTransferToVoicemail(e3, t3, i3, n3) { - const r3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, o.transferVoicemailActionType, t3, "addActionTransferToVoicemail")); - return this.configureTransferAction(e3, r3, i3, "addActionTransferToVoicemail"); - } - addActionUpdateConversationAttribute(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.updateConversationAttributeActionType, t3, "addActionUpdateConversationAttribute"); - } - addActionUpdateData(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.updateVariableActionType, t3, "addActionUpdateData"); - } - addActionUpdateExternalContact(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.updateExternalContactActionType, t3, "addActionUpdateExternalContact"); - } - addActionUpdateWorkitem(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.updateWorkitemActionType, t3, "addActionUpdateWorkitem"); - } - addActionAskForAuthentication(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.askForAuthenticationActionType, t3, "addActionAskForAuthentication"); - } - addActionAskForBoolean(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.askForBooleanActionType, t3, "addActionAskForBoolean"); - } - addActionAskForIntent(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.askForNLUIntentActionType, t3, "addActionAskForIntent"); - } - addActionAskForSlot(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.askForSlotActionType, t3, "addActionAskForSlot"); - } - addActionAskForPayment(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.askForPaymentActionType, t3, "addActionAskForPayment"); - } - 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"); - } - addActionAudioMonitoring(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.audioMonitoringActionType, t3, "addActionAudioMonitoring"); - } - addActionCallAudioConnector(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.callAudioConnectorActionType, t3, "addActionCallAudioConnector"); - } - addActionCallBotFlow(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.callBotFlowActionType, t3, "addActionCallBotFlow"); - } - addActionCallGuide(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.callGuideActionType, t3, "addActionCallGuide"); - } - addActionCallVoiceFlow(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.callVoiceFlowActionType, t3, "addActionCallVoiceFlow"); - } - addActionCallDigitalBotConnector(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.digitalBotConnectorActionType, t3, "addActionCallDigitalBotConnector"); - } - addActionCallDigitalBotFlow(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.callDigitalBotFlowActionType, t3, "addActionCallDigitalBotFlow"); - } - addActionChangeState(e3, t3, i3, n3) { - const r3 = this.addActionAndLog(e3, n3, o.changeStateActionType, t3, "addActionChangeState"); - return i3 && (r3.targetState = i3), r3; - } - addActionCallCommonModule(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.callCommonModuleActionType, t3, "addActionCallCommonModule"); - } - addActionCallTask(e3, t3, i3, n3) { - const r3 = this.addActionAndLog(e3, n3, o.callTaskActionType, t3, "addActionCallTask"); - return i3 && (this._checkItem(this._infoParm("targetTask", "addActionCallTask"), !i3.isArchTask, "The parameter value must be an ArchTask instance."), r3.targetTask = i3), r3; - } - addActionDigitalMenu(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.digitalMenuActionType, t3, "addActionDigitalMenu"); - } - addActionEndTask(e3, t3, i3, n3) { - const r3 = this.addActionAndLog(e3, n3, o.endTaskActionType, t3, "addActionEndTask"); - return i3 && (this._checkItem(this._infoParm("targetBranch", "addActionEndTask"), !i3.isArchBranch, "The parameter value must be an ArchBranch instance."), r3.targetBranch = i3), r3; - } - addActionEndState(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.endStateActionType, t3, "addActionEndState"); - } - addActionSetFlowOutcome(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.setFlowOutcomeActionType, t3, "addActionSetFlowOutcome"); - } - addActionWait(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("durationExpression", "addActionWait"), i3, true); - const a2 = this.addActionAndLog(e3, n3, o.waitActionType, t3, "addActionWait"); - return r2.default.isString(i3) && a2.duration.setExpression(i3), a2; - } - addActionWaitForInput(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.waitForInputActionType, t3, "addActionWaitForInput"); - } - addActionInitializeFlowOutcome(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.initializeFlowOutcomeActionType, t3, "addActionInitializeFlowOutcome"); - } - addActionFromDefinition(e3, t3, i3, n3) { - const r3 = this._infoParm("archDefinitionAction", "addActionFromDefinition"); - return this._checkItemIsArchDefinitionAction(r3, e3), this._checkItem(r3, !e3.canCreateFromDefinition, `instances of '${e3.label}' actions are not creatable from an action definition. The action definition has a canCreateFromDefinition property you can check before trying to create an instance of it.`), this.addActionAndLog(t3, n3, e3._coreTypeId, i3, "addActionFromDefinition"); - } - addActionShowKnowledgeArticle(e3, t3, i3) { - return this.addActionAndLog(e3, i3, o.showKnowledgeArticleActionActionType, t3, "addActionShowKnowledgeArticle"); - } + o.registerObject = function(e3, t3) { + const i3 = "_" + e3; + o.prototype.hasOwnProperty(e3) || Object.defineProperty(o.prototype, e3, { get: function() { + return this[i3]; + }, set: function(e4) { + this[i3] = this.reviveArrayToMap(e4, t3); + } }); + }, e2.exports = o; + }, 1211(e2, t2, i2) { + function n2() { + this.id = void 0, this.name = void 0, this.language = void 0, this.gender = void 0, this.isDefault = void 0, n2.baseConstructor.apply(this, arguments); } - t2.ArchFactoryActions = u, t2.default = new u(); - }, 4406: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(2318)), o = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "optimizationOverview"; - class u extends a.default { - constructor() { - super(...arguments), this._actionId = ""; - } - get actionId() { - return this._actionId; - } - set actionId(e3) { - this._actionId = e3; - } - get outOfService() { - return !r2.default.currentUserCanUseOptimizationOverview; - } - get id() { - return l; - } - static get id() { - return l; - } - get showInFlowSize() { - return false; - } - get className() { - return "OptimizationOverviewModel"; - } - getDisplayName() { - return s.botSessionViewer.optimizationDashboardLabel; - } - get isBotSessionViewerNode() { - return true; - } - get nodeGuxIcon() { - return "graph-pie"; - } - get helpTopic() { - return o.helpTopics.treeNodes.optimizationDashboard; - } - get botSessionViewerArchNodeName() { - return l; - } + i2(45214).extend(n2, "Voice"), e2.exports = n2; + }, 54557(e2, t2, i2) { + function n2() { + this.id = void 0, this.name = void 0, this.description = void 0, this.division = void 0, this.hasDescription = void 0, n2.baseConstructor.apply(this, arguments); } - t2.default = u; - }, 4444: (e2, t2, i2) => { - var n2 = { "./ar-ae/templates": 5700, "./ar-eg/templates": 94434, "./ar-sa/templates": 61510, "./ca-es/templates": 8895, "./cs-cz/templates": 61044, "./da-dk/templates": 44379, "./de-ch/templates": 58873, "./de-de/templates": 69549, "./el-gr/templates": 91709, "./en-au/templates": 49108, "./en-gb/templates": 16435, "./en-us/templates": 6142, "./es-es/templates": 88439, "./es-mx/templates": 73374, "./es-us/templates": 8487, "./eu-es/templates": 94681, "./fi-fi/templates": 66593, "./fil-ph/templates": 5284, "./fr-be/templates": 79186, "./fr-ca/templates": 52179, "./fr-fr/templates": 86875, "./he-il/templates": 92475, "./hi-in/templates": 46377, "./hu-hu/templates": 79133, "./it-it/templates": 48093, "./ja-jp/templates": 55958, "./ko-kr/templates": 82984, "./ms-my/templates": 15897, "./nb-no/templates": 35476, "./nl-be/templates": 55836, "./nl-nl/templates": 68227, "./pl-pl/templates": 3863, "./pt-br/templates": 74423, "./pt-pt/templates": 40551, "./ru-ru/templates": 76641, "./sv-se/templates": 18272, "./th-th/templates": 10135, "./tr-tr/templates": 33943, "./uk-ua/templates": 41593, "./vi-vn/templates": 26928, "./zh-cn/templates": 93500, "./zh-hk/templates": 14372, "./zh-tw/templates": 6500 }; - function r2(e3) { - var t3 = o(e3); - return i2(t3); + i2(45214).extend(n2, "WrapupCode"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 48481(e2, t2, i2) { + const n2 = i2(22124), o = i2(54557); + function r() { + r.baseConstructor.apply(this, arguments); } - function o(e3) { - if (!i2.o(n2, e3)) { - var t3 = new Error("Cannot find module '" + e3 + "'"); - throw t3.code = "MODULE_NOT_FOUND", t3; - } - return n2[e3]; + n2.extend(r, "WrapupCodeList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 44250(e2, t2, i2) { + const n2 = i2(41167), o = i2(35635); + function r() { + o.prototype.extendProperties(this), r.baseConstructor.apply(this, arguments); } - r2.keys = function() { - return Object.keys(n2); - }, r2.resolve = o, e2.exports = r2, r2.id = 4444; - }, 4491: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); + i2(22124).extend(r, "AuditInformation"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = r; + }, 41167(e2, t2, i2) { + const n2 = i2(15321), o = i2(45214), r = i2(30068).default; + function a() { + Object.defineProperties(this, { _client: { writable: true }, _user: { writable: true } }), this.id = void 0, this.action = void 0, this.timestamp = void 0, this.secure = void 0, this.version = void 0, this.virtualAgentEnabled = false, this.agenticVirtualAgentEnabled = false, a.baseConstructor.apply(this, arguments); } - 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, 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: 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"; - var n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = o.__importDefault(i2(66872)), s = i2(96618); - class l extends a.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.callPrompts), "f"), o.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.commonModuleSettings), "f"); - } - get _flowType() { - return s.flowTypes.flowTypeCommonModule; - } - get displayTypeName() { - return "ArchFlowCommonModule"; - } - get isArchFlowCommonModule() { - return true; - } - get settingsCommonModule() { - return o.__classPrivateFieldGet(this, r2, "f"); - } - get settingsPrompts() { - if (!this._getCoreViewModel().callPrompts.outOfService) return o.__classPrivateFieldGet(this, n2, "f"); - } - get startUpObject() { - return this.coreFactory.createArchWrapper(this._coreFlowViewModel.startUpObject); - } + o.extend(a, "AuditMessage"), Object.defineProperties(a.prototype, { client: { enumerable: true, get: function() { + return this._client; + }, set: function(e3) { + this._client = this.reviveItem(e3, r); + } }, user: { enumerable: true, get: function() { + return this._user; + }, set: function(e3) { + this._user = this.reviveItem(e3, n2); + } }, isVersionableAction: { get: function() { + return this.isCheckin || this.isPublish; + } }, isCheckin: { get: function() { + return "CHECKIN" === this.action; + } }, isCheckout: { get: function() { + return "CHECKOUT" === this.action; + } }, isCreate: { get: function() { + return "CREATE" === this.action; + } }, isDeactivate: { get: function() { + return "DEACTIVATE" === this.action; + } }, isDelete: { get: function() { + return "DELETE" === this.action; + } }, isPublish: { get: function() { + return "PUBLISH" === this.action; + } }, isRevert: { get: function() { + return "REVERT" === this.action; + } }, isSave: { get: function() { + return "SAVE" === this.action; + } }, isUpdate: { get: function() { + return "UPDATE" === this.action; + } } }), e2.exports = a; + }, 15321(e2, t2, i2) { + const n2 = i2(45214), o = i2(47957), r = i2(97591); + function a() { + Object.defineProperties(this, { _display: { writable: true } }), this.id = void 0, this.name = void 0, this.organization = void 0, a.baseConstructor.apply(this, arguments); } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = l; - }, 4648: (e2, t2) => { - "use strict"; - var i2; - 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.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: 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) { - c.expectString(n3, () => u.createFunctionParameter(_, "create", "newContentName"), true); - const r3 = o.getFlowViewModel(e3); - if (!r3) return c.expectFlowViewModel(r3, () => u.createFunctionParameter(_, "create", "stateViewModel.parentFlow")), null; - let s2; - try { - const o2 = new a(); - return o2.configure(r3, e3, e3.getConfiguration(), n3), s2 = new h(o2, i3), s2.initialize(r3, e3, t3), s2; - } catch (e4) { - i3.logException(e4, "Unable to create clipboard content state."); - } - return s2 && s2.destroy(), null; - } - _pasteGetCoreModelForContent() { - return new p(this.cloneToRawJsonObject(this._pasteJsonObjects.content)); - } - _pasteGetCoreViewModelForCoreModel(e3, t3) { - return this._pasteAddStateViewModelForStateModel(e3, t3); - } - 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 ? d.clipboard.content.pastableLocations.state : d.clipboard.content.notSupportedByFlowType.states)); - } - get className() { - return _; - } - get clipboardContentType() { - return s.task; - } - get isClipboardContentState() { - return true; - } + n2.extend(a, "AuditUser"), Object.defineProperties(a.prototype, { display: { get: function() { + return this.id === r.systemUser ? o.user.system : this._display || this.name; + }, set: function(e3) { + this._display = e3; + } } }), e2.exports = a; + }, 50700(e2, t2, i2) { + const n2 = i2(28267); + function o() { + Object.defineProperties(this, { _requests: { writable: true }, _inputSchema: { writable: true, enumerable: true }, _successSchema: { writable: true, enumerable: true } }), this.category = void 0, this.deprecated = void 0, this.description = void 0, this.helpLink = void 0, this.id = void 0, this.name = void 0, this.published = void 0, this.tags = void 0, o.baseConstructor.apply(this, arguments); } - e2.exports = h; - }, 4712: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(28562), r2 = i2(69149), o = { _label: "BotSlotConf", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_conf", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1DigitalBot" } }, { builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_slot_conf_seq_1", partContents: [{ builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1DigitalBot" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_conf", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1" } }, { builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_slot_conf_seq_1", parts: [{ builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] } } }; - t2.default = o; - }, 4732: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "response asset"; - } - get displayTypeName() { - return "ArchVariableResponseAsset"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableResponseAsset() { - return true; - } + i2(45214).extend(o, "BridgeActionMetadata"), Object.defineProperties(o.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, id: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + }, enumerable: true }, inputSchema: { get: function() { + return this._inputSchema ? this._inputSchema : this._requests && this._requests.length > 0 ? this._requests[0].inputSchema : void 0; + } }, successSchema: { get: function() { + return this._successSchema ? this._successSchema : this._requests && this._requests.length > 0 ? this._requests[0].successSchema : void 0; + } }, requests: { enumerable: true, get: function() { + return this._requests; + }, set: function(e3) { + this._requests = this.reviveArray(e3, n2); + } }, schemas: { set: function(e3) { + this._inputSchema = e3.input, this._successSchema = e3.success; + } } }), e2.exports = o; + }, 57108(e2, t2, i2) { + const n2 = i2(50700); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.default = r2; - }, 4738: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GroupedBaseService = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299), o = {}; - class a extends r2.BaseClass { - _destroyGroup(e3) { - const t3 = this._getGroupByIdentifier(e3); - return !!t3 && delete o[t3]; - } - static _getObjectInGroupIdentifier(e3) { - if (e3) return e3.id; - } - _performRegisterUnregisterObjectInGroup(e3, t3) { - if (!t3 || !n2.default.isBoolean(e3)) return false; - const i3 = this._getGroupByObjectFromObjectInGroup(t3); - if (!i3) return false; - const r3 = this._getGroupByIdentifier(i3); - if (!r3) return false; - let s = o[r3]; - if (!e3 && !s) return false; - const l = a._getObjectInGroupIdentifier(t3); - return !!l && (s || (s = o[r3] = {}), e3 ? s[l] = t3 : delete s[l], true); - } - getObjectsInGroup(e3, t3, i3) { - const r3 = this._getGroupByIdentifier(e3); - if (!r3) throw "Unable to get a grouping id from the grouping object"; - const a2 = o[r3]; - if (!a2) return; - if (!i3) return t3 ? n2.default.values(e3) : a2; - const s = t3 ? [] : {}; - return n2.default.each(a2, function(e4, n3) { - i3(e4, n3) && (t3 ? s.push(e4) : s[n3] = e4); - }.bind(this)), s; - } - processGroupedObject(e3) { - return !!e3 && this._performRegisterUnregisterObjectInGroup(this._getShouldRegisterObjectInGroup(e3), e3); - } - registerGroupedObject(e3) { - return this._performRegisterUnregisterObjectInGroup(true, e3); - } - unregisterGroupedObject(e3) { - return this._performRegisterUnregisterObjectInGroup(false, e3); - } + i2(22124).extend(o, "BridgeActionMetadataList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 71844(e2, t2, i2) { + function n2() { + this.name = void 0, n2.baseConstructor.apply(this, arguments); } - t2.GroupedBaseService = a; - }, 4778: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11541)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this.populateFromJSON(e3); - } - get outputMode() { - return this._outputMode; - } - set outputMode(e3) { - this._outputMode = e3; - } - get languageTag() { - return this._languageTag; - } - set languageTag(e3) { - this._languageTag = e3; - } + i2(45214).extend(n2, "BridgeServerCategory"), Object.defineProperties(n2.prototype, { id: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 28267(e2, t2, i2) { + function n2() { + this.format = void 0, this.inputSchema = void 0, this.method = void 0, this.successSchema = void 0, n2.baseConstructor.apply(this, arguments); } - 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), c = i2(10798), d = i2(61684), p = i2(47957), _ = i2(27862); - class h extends o.default { - get requiredAuth() { - return (0, c.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.schedulesSearch : s.externalAuthorizations.authStrings.schedulesView; - } - get dependencyType() { - return _.Schedule; - } - constructor() { - 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 d.ScheduleViewModel(e3); - } + i2(45214).extend(n2, "BridgeServerRequest"), e2.exports = n2; + }, 92646(e2, t2, i2) { + const n2 = i2(71844); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.ScheduleManager = h, t2.scheduleManager = new h(); - }, 4872: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeWheelPickerOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeWheelPickerOptions"; - } - get isExpressionTypeWheelPickerOptions() { - return true; - } + i2(22124).extend(o, "CategoryList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + (e3 = this.reviveArray(e3, n2)) && (this._entities = e3); + } } }), e2.exports = o; + }, 2398(e2, t2, i2) { + function n2() { + this.type = void 0, n2.baseConstructor.apply(this, arguments); } - t2.ExpressionTypeWheelPickerOptions = r2; - }, 4897: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(14394), a = n2.__importDefault(i2(21434)), s = n2.__importDefault(i2(55988)); - class l extends s.default { - constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreNameValuePairs"), e3), this._coreNameValuePairs = e3; - } - get displayTypeName() { - return "ArchBaseNameValuePairs"; - } - _addNameValueAssignment(e3, t3, i3, n3) { - const s2 = new a.default(this._coreNameValuePairs.add(null, o.globalTypes.string)), l2 = s2.value, u = s2.name; - return i3 && l2._coreExpression.setAsOutput(), r2.default.isString(e3) && (true === n3 ? u.setLiteralString(e3) : u.setExpression(e3)), i3 ? t3 && l2.setVariable(t3) : r2.default.isString(t3) && l2.setExpression(t3), s2; - } - get isArchBaseNameValuePairs() { - return true; - } - get _globalTypeName() { - return ""; - } - get length() { - return this._length; - } - getNamedValueByIndex(e3) { - return this._getNamedValueByIndex(e3); - } + i2(85386).extend(n2, "BaseBriefEntity"), Object.defineProperties(n2.prototype, { isBaseBriefEntity: { get: function() { + return true; + } } }), e2.exports = n2; + }, 36370(e2, t2, i2) { + const n2 = i2(2398); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.default = l; - }, 5024: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { minTrackingId: 10, maxTrackingId: 999999 }; - }, 5080: (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); - } + i2(22124).extend(o, "BaseBriefEntityList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 65029(e2, t2, i2) { + const n2 = i2(2398), o = i2(98962); + function r() { + Object.defineProperties(this, { _debugVersion: { writable: true }, _publishedVersion: { writable: true } }), this.inputSchema = void 0, this.outputSchema = void 0, this.publishedVersion = void 0, r.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); - }, 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), 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); - } - _loadModel(e3) { - this._clearContents(), this._model = e3, n2.each(this._model.contents, function(e4) { - let t3; - switch (e4.__type) { - case "ClipboardContentActionModel": - t3 = new s(e4, this.clipboardLogging); - break; - case "ClipboardContentMenuModel": - t3 = new u(e4, this.clipboardLogging); - break; - case "ClipboardContentMenuChoiceModel": - t3 = new l(e4, this.clipboardLogging); - break; - case "ClipboardContentStateModel": - t3 = new c(e4, this.clipboardLogging); - break; - case "ClipboardContentTaskModel": - t3 = new d(e4, this.clipboardLogging); - break; - default: - throw "content class not supported :("; - } - t3 ? this._clipboardContents.push(t3) : this.throw("unable to create clipboard content"); - }.bind(this)); - } - _checkPasteOperationInProgress(e3) { - if (!this._pasteContext || !this._pasteContext.pasteInProgress) throw "'" + this.className + "." + e3 + "' called when a paste operation was not in progress. This method should only be called during a paste operation."; - } - _checkPasteOperationNotInProgress(e3) { - if (!this._pasteContext || this._pasteContext.pasteInProgress) throw "'" + this.className + "." + e3 + "' called when a paste operation was in progress. This method should only be called when a paste operation is not in progress."; - } - _removeContent(e3, t3) { - T.expectString(e3, () => f.createFunctionParameter(this.className, "_removeContent", "coreViewModelId"), true), T.expectBool(t3, () => f.createFunctionParameter(this.className, "_removeContent", "onlyRemoveOneContent"), true); - let i3, r3 = 0; - for (let i4 = this._clipboardContents.length - 1; i4 >= 0; i4--) { - const o2 = this._clipboardContents[i4]; - if (n2.isUndefined(e3) || o2.originalObjectId === e3) { - try { - o2.destroy(); - } catch (t4) { - this.log("Exception caught destroying clipboard content for core view model id '" + e3 + "'."); - } - if (this._clipboardContents.splice(i4, 1), this._model.contents.splice(i4, 1), r3++, true === t3) break; - } - } - switch (this.log("Removed " + r3 + " clipboard content item(s)."), r3) { - case 0: - i3 = this.createClipboardResultSuccessWithWarning("No clipboard content was removed from the clipboard object.", "No clipboard content was removed from the clipboard object."); - break; - case 1: - i3 = this.createClipboardResultSuccess(void 0, "1 clipboard content object was removed from the clipboard object."); - break; - default: - i3 = this.createClipboardResultSuccess(void 0, r3 + " clipboard content objects were removed from the clipboard object."); - } - return i3; - } - _resetPasteOperationInfo() { - this._pasteContext.reset(); - } - _checkCanCopyOrCut(e3, t3) { - 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); - const r3 = this.checkCopyCutPermissions(t3); - if (r3.isFailure) return r3; - if (t3) { - if (!i3.info || !i3.info.currentUserCanEdit) return this.createClipboardResultFailure(A.clipboard.cut.cannotCutFlowNotEditable); - const t4 = i3.startUpObject; - if (t4 && t4.id === e3.id) return this.createClipboardResultFailure(A.clipboard.cut.cannotCutStartUpObject); - const n3 = i3.periodicState; - if (n3 && n3.id === e3.id) return this.createClipboardResultFailure(A.clipboard.cut.cannotCutPeriodicState); - } - return r3; - } - checkCopyCutPermissions(e3) { - 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; - return this.createClipboardResultFailure(t4); - } - return this.createClipboardResultSuccess(); - } - checkCanCopy(e3) { - return T.expectObject(e3, () => f.createFunctionParameter(this.className, "checkCanCopy", "coreViewModelToCopy")), this._checkCanCopyOrCut(e3, false); - } - checkCanCut(e3) { - return T.expectObject(e3, () => f.createFunctionParameter(this.className, "checkCanCut", "coreViewModelToCut")), this._checkCanCopyOrCut(e3, true); - } - checkCanPaste(e3, t3) { - if (T.expectObject(e3, () => f.createFunctionParameter(this.className, "checkCanPaste", "destinationCoreViewModel")), T.expectTrue(n2.isUndefined(t3) || t3.isClipboardPasteSettings, t3, "ClipboardPasteSettings", () => f.createFunctionParameter(this.className, "checkCanPaste", "pasteSettings is not a clipboard paste settings instance")), !n2.isArray(this._clipboardContents) || 0 === this._clipboardContents.length) return this.createClipboardResultFailure(A.clipboard.paste.noContent, "If you do call paste, the call will succeed with a warning saying that there was no content."); - let i3, r3; - if (e3 && (i3 = e3.isFlowViewModel ? e3 : e3.parentFlow), !i3) return this.createClipboardResultFailure(A.clipboard.paste.noDestFlow); - if (!i3.info || !i3.info.currentUserCanEdit) return this.createClipboardResultFailure(A.clipboard.paste.flowNotEditableByCurrentUser); - if (n2.find(this._clipboardContents, function(t4) { - return r3 = t4.checkCanPaste(e3), r3.isFailure; - }.bind(this)), r3 && r3.isFailure) return r3; - const o2 = r3.isSuccess ? r3.messageDisplayStr : "", a2 = new h(this.clipboardLogging); - let s2; - try { - let r4; - if (a2.setPasteContext(this, i3, e3, t3), n2.find(this._clipboardContents, function(e4) { - return r4 = e4.checkCanPasteClipboardContextWithDetails(a2), !r4.isFailure && r4.messageDisplayStr && (s2 = r4.messageDisplayStr), r4.isFailure; - }.bind(this)), r4 && r4.isFailure) return r4; - } finally { - a2.destroy(); - } - return this.createClipboardResultSuccess(s2 || o2); - } - getConfigurationStr() { - const e3 = { version: 1, clipboardObjectModel: this._model }; - return o.encodeStr(JSON.stringify(e3)); - } - loadFromConfigurationStr(e3) { - T.expectString(e3, () => f.createFunctionParameter(this.className, "loadFromConfiguration", "configStr")); - const t3 = JSON.parse(o.decodeStr(e3)); - 1 === t3.version && this._loadModel(t3.clipboardObjectModel); - } - get className() { - return I; - } - get contents() { - return this._clipboardContents; - } - static create(e3) { - return T.expectBool(e3, () => f.createFunctionParameter(this.className, "create", "enableLogging"), true), new C(new _(), e3); + n2.extend(r, "BriefFlowEntity"), Object.defineProperties(r.prototype, { debugVersion: { enumerable: true, get: function() { + return this._debugVersion; + }, set: function(e3) { + this._debugVersion = this.reviveItem(e3, o); + } }, publishedVersion: { enumerable: true, get: function() { + return this._publishedVersion; + }, set: function(e3) { + this._publishedVersion = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 93161(e2, t2, i2) { + const n2 = i2(36370), o = i2(65029); + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "BriefFlowEntityList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 34825(e2, t2, i2) { + function n2() { + this.id = void 0, this.selfUri = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "CallCreatedResponse"), e2.exports = n2; + }, 78102(e2, t2, i2) { + const n2 = i2(62979).default; + function o() { + Object.defineProperties(this, { _nextUri: { value: void 0, writable: true } }), o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "DecisionTableList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } }, nextUri: { enumerable: true, get: function() { + return this._nextUri; + }, set: function(e3) { + this._nextUri = e3; + } } }), e2.exports = o; + }, 50778(e2, t2, i2) { + const n2 = i2(45214), o = i2(24032).getTopic("Division"); + function r() { + this.id = void 0, this.name = void 0, this.homeDivision = void 0, r.baseConstructor.apply(this, arguments), "00000000-0000-0000-0000-000000000000" === this.id && o.warningWithStack(null, `Encountered all 0 ids for division with id: '${this.id}'`); + } + n2.extend(r, "Division"), Object.defineProperties(r.prototype, { isDivision: { enumerable: false, get: () => true } }), e2.exports = r; + }, 94830(e2, t2, i2) { + const n2 = i2(50778); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "DivisionList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 85386(e2, t2, i2) { + const n2 = i2(50778); + function o() { + Object.defineProperties(this, { _division: { writable: true } }), o.baseConstructor.apply(this, arguments); + } + i2(52722).extend(o, "BaseDivisionedEntity"), Object.defineProperties(o.prototype, { division: { enumerable: true, get: function() { + return this._division; + }, set: function(e3) { + this._division = this.reviveItem(e3, n2); + } }, isBaseDivisionedEntity: { get: function() { + return true; + } } }), e2.exports = o; + }, 24893(e2, t2, i2) { + const n2 = i2(12323), o = i2(15008), r = 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 }, _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; + }, set: function(e3) { + this._botFlowSettings = new a(e3); + } }, userInputSettings: { enumerable: true, get: function() { + return this._userInputSettings; + }, set: function(e3) { + this._userInputSettings = new s(e3); + } }, errorHandling: { enumerable: true, get: function() { + return this._errorHandling; + }, set: function(e3) { + this._errorHandling = this.reviveItem(e3, o); + } }, 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) { + this._nluMetaData = new l(e3); + } }, knowledgeSettings: { enumerable: true, get: function() { + return this._knowledgeSettings; + }, set: function(e3) { + this._knowledgeSettings = new r(e3); + } }, virtualAgentSettings: { enumerable: true, get: function() { + return this._virtualAgentSettings; + }, set: function(e3) { + this._virtualAgentSettings = new n2(e3); + } } }), e2.exports = u; + }, 59684(e2, t2, i2) { + const n2 = i2(2210), o = i2(13265), r = i2(2053), a = i2(7401), s = i2(58996), l = i2(20236), u = i2(20374); + 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(c, "CallFlowConfiguration"), Object.defineProperties(c.prototype, { debugSettings: { enumerable: true, get: function() { + return this._debugSettings; + }, set: function(e3) { + this._debugSettings = new o(e3); + } }, disableAsr: { enumerable: true, get: function() { + return this._disableAsr; + }, set: function(e3) { + this._disableAsr = this.reviveItem(e3, a); + } }, disableAsrCompanyDirectory: { enumerable: true, get: function() { + return this._disableAsrCompanyDirectory; + }, set: function(e3) { + this._disableAsrCompanyDirectory = this.reviveItem(e3, a); + } }, errorHandling: { enumerable: true, get: function() { + return this._errorHandling; + }, set: function(e3) { + this._errorHandling = this.reviveItem(e3, r); + } }, initialPrompts: { enumerable: true, get: function() { + return this._initialPrompts; + }, set: function(e3) { + this._initialPrompts = this.reviveItem(e3, n2); + } }, inQueueCallFlowSettings: { enumerable: true, get: function() { + return this._inQueueCallFlowSettings; + }, set: function(e3) { + this._inQueueCallFlowSettings = this.reviveItem(e3, l); + } }, outboundCallSettings: { enumerable: true, get: function() { + return this._outboundCallSettings; + }, set: function(e3) { + this._outboundCallSettings = this.reviveItem(e3, u); + } }, speechRecCompanyDirectory: { enumerable: true, get: function() { + return this._speechRecCompanyDirectory; + }, set: function(e3) { + this._speechRecCompanyDirectory = this.reviveItem(e3, a); + } }, speechRecEngine: { enumerable: true, get: function() { + return this._speechRecEngine; + }, set: function(e3) { + this._speechRecEngine = this.reviveItem(e3, a); + } }, suppressRecording: { enumerable: true, get: function() { + return this._suppressRecording; + }, set: function(e3) { + this._suppressRecording = this.reviveItem(e3, a); + } } }), e2.exports = c; + }, 96128(e2, t2, i2) { + const n2 = i2(38416).default; + function o() { + Object.defineProperties(this, { _model: { writable: true } }), this.actionReferences = void 0, this.version = void 0, o.baseConstructor.apply(this, arguments); + } + i2(52722).extend(o, "CommonModuleReference"), Object.defineProperties(o.prototype, { model: { enumerable: true, get: function() { + return this._model; + }, set: function(e3) { + this._model = this.reviveItem(e3, n2); + } } }), e2.exports = o; + }, 17599(e2, t2, i2) { + function n2() { + this.id = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "DigitalBotFlowLaunchResult"), e2.exports = n2; + }, 13440(e2, t2, i2) { + function n2() { + Object.defineProperties(this, { _turnsResult: { writable: true } }), this.id = void 0, this._turnsResult = arguments[0], n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "DigitalBotFlowTurnsResult"), Object.defineProperties(n2.prototype, { turnsResult: { enumerable: true, get: function() { + return this._turnsResult; + } } }), e2.exports = n2; + }, 68374(e2, t2, i2) { + const n2 = i2(58265), o = i2(59441).default; + function r() { + Object.defineProperties(this, { _inboundEmailSettings: { writable: true }, _nluCortex: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + i2(23695).extend(r, "EmailFlowConfiguration"), Object.defineProperties(r.prototype, { inboundEmailSettings: { enumerable: true, get: function() { + return this._inboundEmailSettings; + }, set: function(e3) { + this._inboundEmailSettings = new n2(e3); + } }, nluCortex: { enumerable: true, get: function() { + return this._nluCortex; + }, set: function(e3) { + this._nluCortex = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 49804(e2, t2, i2) { + const n2 = i2(23695), o = i2(88557).default, r = i2(37752).default; + function a() { + Object.defineProperties(this, { _emailSendSettings: { writable: true }, _errorHandling: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, "EmailSendFlowConfiguration"), Object.defineProperties(a.prototype, { emailSendSettings: { enumerable: true, get: function() { + return this._emailSendSettings; + }, set: function(e3) { + this._emailSendSettings = this.reviveItem(e3, o); + } }, errorHandling: { enumerable: true, get: function() { + return this._errorHandling; + }, set: function(e3) { + this._errorHandling = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 58996(e2, t2, i2) { + const n2 = i2(11475), o = i2(39938).default, r = i2(45214), a = i2(74803), s = i2(7401), l = i2(89266), u = i2(62229), { LanguageOptions: c } = i2(53638), 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 = d.minTrackingId, this.uiMetaData = void 0, this.supportedLanguages = void 0, p.baseConstructor.apply(this, arguments); + } + r.extend(p, "FlowConfiguration"), Object.defineProperties(p.prototype, { commonModules: { enumerable: true, get: function() { + return this._commonModules; + }, set: function(e3) { + const t3 = i2(96128); + this._commonModules = this.reviveArray(e3, t3); + } }, customDefinitions: { enumerable: true, get: function() { + return this._customDefinitions; + }, set: function(e3) { + this._customDefinitions = this.reviveItem(e3, o); + } }, defaultSettings: { enumerable: true, get: function() { + return this._defaultSettings; + }, set: function(e3) { + this._defaultSettings = new a(e3); + } }, flowMetaData: { enumerable: true, get: function() { + return this._flowMetaData; + }, set: function(e3) { + this._flowMetaData = this.reviveItem(e3, l); + } }, flowSequenceItemList: { enumerable: true, get: function() { + return this._flowSequenceItemList; + }, set: function(e3) { + this._flowSequenceItemList = this.reviveArray(e3, u); + } }, supportedLanguageOptions: { enumerable: true, get: function() { + return this._supportedLanguageOptions; + }, set: function(e3) { + this._supportedLanguageOptions = this.reviveArray(e3, c); + } }, variables: { enumerable: true, get: function() { + return this._variables; + }, set: function(e3) { + this._variables = this.reviveArray(e3, n2); + } }, systemInitialValues: { enumerable: true, get: function() { + return this._systemInitialValues; + }, set: function(e3) { + this._systemInitialValues = this.reviveMap(e3, s, false); + } }, getConfiguration: { value: function(e3, t3) { + if (t3?.isForFlowYaml) { + const t4 = { name: e3.name }; + return e3.description && (t4.description = e3.description), t4; } - static createFromConfigurationStr(e3, t3) { - let i3; - T.expectString(e3, () => f.createFunctionParameter(this.className, "createFromConfigurationStr", "clipboardConfigStr"), true), T.expectBool(t3, () => f.createFunctionParameter(this.className, "createFromConfigurationStr", "enableLogging"), true); - try { - i3 = JSON.parse(o.decodeStr(e3)); - } catch (e4) { - return void console.error("Unable to hydrate clipboard object information."); - } - try { - if (1 === i3.version) return new C(new _(i3.clipboardObjectModel), t3); - } catch (e4) { - console.error("Unable to load clipboard configuration to clipboard object instance."); - } - return null; - } - static getDependentVariables(e3, t3) { - let i3; - T.expectObject(e3, () => f.createFunctionParameter(this.className, "getDependentVariables", "srcCoreViewModel")), T.expectBool(t3, () => f.createFunctionParameter(this.className, "getDependentVariables", "enableLogging"), true); - let n3 = []; - const r3 = new p(true === t3); - try { - r3.log("Get dependent variables operation begin."), i3 = m.create(e3, r3), i3 && (n3 = i3.dependentVariables); - } finally { - i3 && i3.destroy(), r3.log("Get dependent variables operation end."); - } - return n3; - } - _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 = 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; - T.expectObject(e3, () => f.createFunctionParameter(this.className, "copy", "srcCoreViewModel")), T.expectString(t3, () => f.createFunctionParameter(this.className, "copy", "newContentName"), true), this.pushLogHeader(this.logHeader); - try { - i3 = this._addContent(e3, t3), i3 && this.log("copy operation added new clipboard content object -> " + i3.originalObjectLogStrFull); - } finally { - this.popLogHeader(); - } - return i3; - } - cut(e3, t3) { - let i3; - T.expectObject(e3, () => f.createFunctionParameter(this.className, "cut", "srcCoreViewModel")), T.expectString(t3, () => f.createFunctionParameter(this.className, "cut", "newContentName"), true), this.pushLogHeader(this.logHeader); - try { - i3 = this._addContent(e3, t3, true), i3 && this.log("cut operation added new clipboard content object -> " + i3.originalObjectLogStrFull); - } finally { - this.popLogHeader(); - } - return i3; - } - _clearContents() { - n2.each(this._clipboardContents, function(e3) { - e3.destroy(); - }.bind(this)), this._clipboardContents = []; - } - _performDestroy() { - this._clearContents(), this._resetPasteOperationInfo(), this._pasteContext && (this._pasteContext.destroy(), this._pasteContext = void 0); - } - get dateTimeCreatedLatest() { - let e3 = this.dateTimeCreated; - return n2.each(this.contents, function(t3) { - t3.dateTimeCreated > e3 && (e3 = t3.dateTimeCreated); - }.bind(this)), e3; - } - get isClipboardObject() { - return true; - } - get logHeader() { - return "clipboard object (ID: '" + this.id + "')"; - } - paste(e3, t3) { - let i3, r3, o2; - T.expectObject(e3, () => f.createFunctionParameter(this.className, "paste", "destinationCoreViewModel")), T.expectTrue(n2.isUndefined(t3) || t3.isClipboardPasteSettings, t3, "ClipboardPasteSettings", () => f.createFunctionParameter(this.className, "paste", "pasteSettings is not a clipboard paste settings instance")), this.pushLogHeader(this.logHeader); - try { - let a2; - 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) => { - 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)."); - const e4 = t3 && t3.pasteActionsToEndOfActionContainer ? 0 : this._clipboardContents.length - 1, n3 = t3 && t3.pasteActionsToEndOfActionContainer ? this._clipboardContents.length : -1, s2 = t3 && t3.pasteActionsToEndOfActionContainer ? 1 : -1; - for (let t4 = e4; t4 !== n3; t4 += s2) { - const e5 = this._clipboardContents[t4]; - try { - if (this._pasteContext.setCurrentContent(e5), i3 = e5.paste(this._pasteContext), i3.isFailure) { - this.log("Content object paste failed -> " + e5.originalObjectLogStrFull); - break; - } - } finally { - this._pasteContext.resetCurrentContent(); - } - } - } catch (e4) { - i3 = this.createClipboardResultFailurePasteException(e4, "Exception caught in ClipboardObject::paste."); - } finally { - this._pasteContext.dump(); - } - } else i3 = this.createClipboardResultFailure(A.clipboard.paste.noDestFlow, "No destination flow specified for the paste operation."); - else i3 = this.createClipboardResultSuccessWithWarning(A.clipboard.paste.noContent, "There is no content to paste. This ClipboardObject has no BaseClipboardContent instances added to it."); - } catch (e4) { - i3 = this.createClipboardResultFailurePasteException(e4, "Exception caught in ClipboardObject::paste."); - } finally { - if (this._pasteContext && this._pasteContext.destFlowViewModel && this._pasteContext.destFlowViewModel.validationResults && this._pasteContext.destFlowViewModel.validationResults.removeSuppressPassiveValidation(this), i3.isFailure) { - if (t3 && t3.additionalInfoResults && t3.additionalInfoResults.reset(), this.log("The paste operation failed. Message: '" + i3.messageDisplayStr + "'."), r3) { - this.log("Restoring saved flow configuration."); - const e4 = this._pasteContext.destFlowViewModel.createFlowConfiguration(r3); - this._pasteContext.destFlowViewModel.loadConfiguration(e4), this._pasteContext.destFlowViewModel.initializeDesignTime(), this.log("Flow configuration restored."); - } - } else i3.isWarning && this.log("The paste operation has a warning. Message: '" + i3.messageDisplayStr + "'."); - o2 && this.validateFlow(this.pasteContext.destFlowViewModel), i3.isSuccess && t3 && t3.additionalInfoResults && t3.additionalInfoResults.verifyNotableInformation(this.pasteContext), this._pasteContext.destFlowViewModel && this._pasteContext.destFlowViewModel.calcFlowSizeAsync(), this._resetPasteOperationInfo(), this.log("Paste operation end."), this.popLogHeader(); - } - return i3 || (i3 = this.createClipboardResultFailurePasteGeneric("Creating generic failure clipboard result since no result was specified.")), i3; - } - pasteAddOldIdToNewIdMapping(e3, t3) { - this._checkPasteOperationInProgress("pasteAddOldIdToNewIdMapping"), this._pasteContext.setOldIdToNewIdMapping(e3, t3); - } - get pasteContext() { - return this._pasteContext; - } - pasteGenerateNewGuid(e3) { - this._checkPasteOperationInProgress("pasteGenerateNewGuid"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGenerateNewGuid", "oldGuidId")); - const t3 = O(); - return this.pasteAddOldIdToNewIdMapping(e3, t3), t3; - } - pasteGetNewTrackingId(e3) { - this._checkPasteOperationInProgress("pasteGetNewTrackingId"), T.expectInt(e3, () => f.createFunctionParameter(this.className, "pasteGetNewTrackingId", "oldTrackingId")); - const t3 = N.createNewTrackingId(this._pasteContext.destFlowViewModel); - return this._pasteContext.setOldTrackingIdToNewTrackingId(e3, t3), t3; - } - pasteGetUniqueMenuChoiceName(e3, t3, i3, r3) { - if (this._checkPasteOperationInProgress("pasteGetUniqueMenuChoiceName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueMenuName", "currentMenuChoiceName"), true), n2.find(t3.choices, function(t4) { - return t4.name === e3; - })) { - const n3 = [t3.choices]; - return r3 && n3.push(this._pasteContext.destFlowViewModel.menus), i3 && n3.push(this._pasteContext.destFlowViewModel.tasks), this._pasteContext.pasteGetUniqueName(e3, n3, this._pasteContext, true, void 0, true); - } - return e3; - } - pasteGetUniqueMenuName(e3) { - this._checkPasteOperationInProgress("pasteGetUniqueMenuName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueMenuName", "oldMenuName"), true); - const t3 = this._pasteContext.pasteGetUniqueName(e3, this._pasteContext.destFlowViewModel.menus, this._pasteContext, true, this._pasteContext.oldMenuNameToNewMenuNameMap.getValuesAsArray(this._pasteContext.destFlowViewModel.id)); - return this._pasteContext.setOldMenuNameToNewMenuNameMapping(e3, t3), t3; - } - pasteGetUniqueStateName(e3) { - this._checkPasteOperationInProgress("pasteGetUniqueStateName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueStateName", "oldStateName"), true); - const t3 = this._pasteContext.pasteGetUniqueName(e3, this._pasteContext.destFlowViewModel.states, this._pasteContext, true, this._pasteContext.oldStateNameToNewStateNameMap.getValuesAsArray(this._pasteContext.destFlowViewModel.id)); - return this._pasteContext.setOldStateNameToNewStateNameMapping(e3, t3), t3; - } - pasteGetUniqueTaskName(e3) { - this._checkPasteOperationInProgress("pasteGetUniqueTaskName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueTaskName", "oldTaskName"), true); - const t3 = this._pasteContext.pasteGetUniqueName(e3, this._pasteContext.destFlowViewModel.tasks, this._pasteContext, true, this._pasteContext.oldTaskNameToNewTaskNameMap.getValuesAsArray(this._pasteContext.destFlowViewModel.id)); - return this._pasteContext.setOldTaskNameToNewTaskNameMapping(e3, t3), t3; - } - get pasteInProgress() { - return this._pasteContext.pasteInProgress; - } - pasteResolveOldIdToOldName(e3) { - return this._checkPasteOperationInProgress("pasteResolveOldIdToOldName"), this._pasteContext.resolveOldIdToOldName(e3); - } - pasteResolveOldIdToNewId(e3) { - return this._checkPasteOperationInProgress("pasteResolveOldIdToNewId"), this._pasteContext.resolveOldId(e3); - } - pasteResolveOldMenuNameToNewMenuName(e3) { - return this._checkPasteOperationInProgress("pasteResolveOldMenuNameToNewMenuName"), this._pasteContext.resolveOldMenuName(e3); - } - pasteResolveOldStateNameToNewStateName(e3) { - return this._checkPasteOperationInProgress("pasteResolveOldStateNameToNewStateName"), this._pasteContext.resolveOldStateName(e3); - } - pasteResolveOldTaskNameToNewTaskName(e3) { - return this._checkPasteOperationInProgress("pasteResolveOldTaskNameToNewTaskName"), this._pasteContext.resolveOldTaskName(e3); - } - reviveBuilderModel(e3) { - if (this._checkPasteOperationInProgress("reviveBuilderModel"), T.expectObject(e3, () => f.createFunctionParameter(this.className, "getBuilderModel", "builderJSON"), true), !e3 || !e3.builderDefId) return; - let t3; - const i3 = a.getBuilderDefById(e3.builderDefId); - return i3 && (t3 = i3.reviveBuilderModel(e3)), t3; - } - removeContentByViewModel(e3, t3) { - let i3; - this._checkPasteOperationNotInProgress("removeContentByViewModel"), this.pushLogHeader(this.logHeader); - try { - this.log("Clipboard object remove content by view model begin."), T.expectObject(e3, () => f.createFunctionParameter(this.className, "removeContentByViewModel", "coreViewModel")), T.expectBool(t3, () => f.createFunctionParameter(this.className, "removeContentByViewModel", "removeFirstMatchOnly"), true), e3 && e3.id ? i3 = this._removeContent(e3.id, t3, "removeContentByViewModel") : (this.log("Core view model was invalid or the core view model did not have a valid id property."), i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "Unable to determine the content to remove from the ClipboardObject.")); - } catch (e4) { - i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content by view model operation."); - } finally { - this.log("Clipboard object remove content by view model end."), this.popLogHeader(); - } - return i3; - } - removeContentById(e3, t3) { - let i3; - this._checkPasteOperationNotInProgress("removeContentById"), this.pushLogHeader(this.logHeader); - try { - this.log("Clipboard object remove content by id begin."), T.expectString(e3, () => f.createFunctionParameter(this.className, "removeContentById", "coreViewModelId")), T.expectBool(t3, () => f.createFunctionParameter(this.className, "removeContentById", "removeFirstMatchOnly"), true), n2.isString(e3) && 0 !== e3.length ? i3 = this._removeContent(e3, t3, "removeContentById") : (this.log("Core view model id was invalid."), i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "Unable to determine what to remove from the clipboard object.")); - } catch (e4) { - i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content by id operation."); - } finally { - this.log("Clipboard object remove content by id end."), this.popLogHeader(); - } - return i3; - } - removeContentLastAdded() { - let e3; - this._checkPasteOperationNotInProgress("removeContentLastAdded"), this.pushLogHeader(this.logHeader); - try { - this.log("Clipboard object remove last added content begin."), e3 = this._removeContent(void 0, true); - } catch (t3) { - e3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content last added operation."); - } finally { - this.log("Clipboard object remove last added content end."), this.popLogHeader(); - } - return e3; - } - removeContentAll() { - let e3; - this._checkPasteOperationNotInProgress("removeContentAll"), this.pushLogHeader(this.logHeader); - try { - this.log("Clipboard object remove all content begin."), e3 = this._removeContent(); - } catch (t3) { - e3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content all operation."); - } finally { - this.log("Clipboard object remove all content end."), this.popLogHeader(); - } - return e3; - } - } - e2.exports = C; - }, 5128: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.groupBy = void 0; - 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 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 = d.get(a3); - if (!p2) { - 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); - return function() { - t5.unsubscribe(), 0 === --h && m && g.unsubscribe(); - }; - })).key = y, A); - if (u.next(f), i3) { - var T = s.createOperatorSubscriber(p2, function() { - p2.complete(), null == T || T.unsubscribe(); - }, void 0, void 0, function() { - return d.delete(a3); - }); - g.add(r2.innerFrom(i3(f)).subscribe(T)); - } - } - p2.next(c ? c(t4) : t4); - } catch (e4) { - _(e4); - } - var y, S, A; - }, function() { - return p(function(e4) { - return e4.complete(); - }); - }, _, function() { - return d.clear(); - }, function() { - return m = true, 0 === h; - }); - a2.subscribe(g); - }); - }; - }, 5130: function(e2, t2, i2) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; - } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.AsyncSubject = void 0; - var o = (function(e3) { - function t3() { - var t4 = null !== e3 && e3.apply(this, arguments) || this; - return t4._value = null, t4._hasValue = false, t4._isComplete = false, t4; - } - return r2(t3, e3), t3.prototype._checkFinalizedStatuses = function(e4) { - var t4 = this, i3 = t4.hasError, n3 = t4._hasValue, r3 = t4._value, o2 = t4.thrownError, a = t4.isStopped, s = t4._isComplete; - i3 ? e4.error(o2) : (a || s) && (n3 && e4.next(r3), e4.complete()); - }, t3.prototype.next = function(e4) { - this.isStopped || (this._value = e4, this._hasValue = true); - }, t3.prototype.complete = function() { - var t4 = this, i3 = t4._hasValue, n3 = t4._value; - t4._isComplete || (this._isComplete = true, i3 && e3.prototype.next.call(this, n3), e3.prototype.complete.call(this)); - }, t3; - })(i2(76808).Subject); - t2.AsyncSubject = o; - }, 5138: (e2, t2, i2) => { - const n2 = i2(28730), { completeSurveyActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _inviteBody: { writable: true }, _inviteSubject: { writable: true }, _targetAddressType: { writable: true }, _reminderBody: { writable: true }, _reminderSubject: { writable: true }, _targetAddress: { writable: true } }), a.baseConstructor.apply(this, arguments); + return this; + } } }), e2.exports = p; + }, 17848(e2, t2, i2) { + const n2 = i2(92140), o = i2(85386), r = i2(35635), a = i2(89982), s = i2(98962), l = i2(30068).default, u = i2(83462); + 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); } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.inviteBody.pasteReIdOrRename(e3), this.inviteSubject.pasteReIdOrRename(e3), this.targetAddressType.pasteReIdOrRename(e3), this.reminderBody.pasteReIdOrRename(e3), this.reminderSubject.pasteReIdOrRename(e3), this.targetAddress.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.inviteBody.pasteResolveOldToNewValues(e3), this.inviteSubject.pasteResolveOldToNewValues(e3), this.targetAddressType.pasteResolveOldToNewValues(e3), this.reminderBody.pasteResolveOldToNewValues(e3), this.reminderSubject.pasteResolveOldToNewValues(e3), this.targetAddress.pasteResolveOldToNewValues(e3); - } }, inviteBody: { enumerable: true, get: function() { - return this._inviteBody; + c.duplicateKeyListProperty = "alternateFlowInfos", c.getMasterItemIndexFromDuplicateKeyList = (e3) => { + const t3 = e3.findIndex((e4) => !e4.version); + return t3 >= 0 ? t3 : 0; + }, o.extend(c, "FlowInfo"), Object.defineProperties(c.prototype, { alternateFlowInfos: { enumerable: true, get: function() { + return this._alternateFlowInfos; }, set: function(e3) { - this._inviteBody = this.reviveItem(e3, o); - } }, inviteSubject: { enumerable: true, get: function() { - return this._inviteSubject; + this._alternateFlowInfos = this.reviveArray(e3, c); + } }, checkedInVersion: { enumerable: true, get: function() { + return this._checkedInVersion; }, set: function(e3) { - this._inviteSubject = this.reviveItem(e3, o); - } }, targetAddressType: { enumerable: true, get: function() { - return this._targetAddressType; + this._checkedInVersion = this.reviveItem(e3, s); + } }, currentOperation: { enumerable: true, get: function() { + return this._currentOperation; }, set: function(e3) { - this._targetAddressType = this.reviveItem(e3, o); - } }, reminderBody: { enumerable: true, get: function() { - return this._reminderBody; + this._currentOperation = this.reviveItem(e3, r); + } }, debugVersion: { enumerable: true, get: function() { + return this._debugVersion; }, set: function(e3) { - this._reminderBody = this.reviveItem(e3, o); - } }, reminderSubject: { enumerable: true, get: function() { - return this._reminderSubject; + this._debugVersion = this.reviveItem(e3, s); + } }, isFlowInfo: { value: true }, lockedClient: { enumerable: true, get: function() { + return this._lockedClient; }, set: function(e3) { - this._reminderSubject = this.reviveItem(e3, o); - } }, targetAddress: { enumerable: true, get: function() { - return this._targetAddress; + this._lockedClient = this.reviveItem(e3, l); + } }, lockedUser: { enumerable: true, get: function() { + return this._lockedUser; }, set: function(e3) { - this._targetAddress = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 5173: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFlowPreviewInstance = t2.previewStatus = void 0; - const n2 = i2(31635), r2 = i2(79364), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(68223)), l = i2(77886); - var u; - !(function(e3) { - e3.cancelled = "cancelled", e3.completed = "completed", e3.error = "error", e3.none = "none", e3.running = "running", e3.starting = "starting"; - })(u || (t2.previewStatus = u = {})), t2.BaseFlowPreviewInstance = class { - constructor() { - this._resetSubscriptions = true, this.status$ = new r2.BehaviorSubject(void 0), this.status = u.none; - } - get tag() { - return this._tag; - } - get status() { - return this.status$.value; - } - set status(e3) { - this.status$.next(e3); - } - get startDateTime() { - return this._startDateTime; - } - get previewedFlowInfo() { - return this._previewedFlowInfo; - } - get endDateTime() { - return this._endDateTime; - } - get flowId() { - return this._flowId; - } - get flowVersion() { - return this._flowVersion; - } - get flowType() { - return this._flowType; - } - get resetSubscriptions() { - return this._resetSubscriptions; - } - set resetSubscriptions(e3) { - this._resetSubscriptions = e3; - } - reset() { - try { - this._stopListeningForFlowInstanceEventData(); - } catch (e3) { - } - this._tag = void 0, this._previewedFlowInfo = void 0, this._flowVersion = void 0, this._flowId = void 0, this._startDateTime = void 0, this._endDateTime = void 0, this.status = u.none; - } - get previewInfoLogStr() { - return this.flowId ? this.tag ? `(flow id: '${this.flowId} / tag: '${this.tag}')` : `(flow id: '${this.flowId})` : this.tag ? `(tag: '${this.tag})` : ""; - } - startPreview(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var n3, r3; - if (e3) return yield this.startPreviewForFlowInfo(e3, t3 ? null === (n3 = e3.info.debugVersion) || void 0 === n3 ? void 0 : n3.id : null === (r3 = e3.info.publishedVersion) || void 0 === r3 ? void 0 : r3.id, !!t3, i3); - }); - } - startPreviewForFlowInfo(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - if (this.reset(), !this.supportsDebugPublishedPreview && i3) return a.error("previewer does not support debug"), void (this.status = u.error); - if (!this.supportsPublishedFlowPreview && !i3) return a.error("previewer does not support published"), void (this.status = u.error); - this.supportsPreviewPayload || o.default.isUndefined(r3) || (a.error("previewer does not support preview payloads. Caller is passing a payload. It will not be used for the preview."), r3 = void 0), this.status = u.starting; - try { - const n3 = yield this._startPreviewForFlowInfo(e3, t3, i3, r3); - if (n3) return this._flowId = e3.id, this._flowVersion = t3, this._flowType = e3.type, this._tag = n3, a.log(`preview - starting ${this.previewInfoLogStr}`), yield this._startListeningForFlowInstanceEventData(), this._startDateTime = /* @__PURE__ */ new Date(), this.status = u.running, a.log(`preview - running ${this.previewInfoLogStr}`), n3; - } catch (e4) { - } - this.reset(), this.status = u.error; - }); - } - _startPreviewForFlowInfo(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - }); - } - get amPreviewing() { - switch (this.status) { - case u.starting: - case u.running: - return true; - } - return false; - } - get amDone() { - switch (this.status) { - case u.completed: - case u.error: - case u.cancelled: - return true; - } - return false; - } - get amPreviewingOrDone() { - return this.amPreviewing || this.amDone; - } - get canHaveOrHasFlowInstanceExecutionData() { - return !!this._notificationSubscriptionTopicId || !!this._previewedFlowInfo; - } - processFlowInstanceEventData(e3) { - if (e3) if (a.log(`preview - received flow instance data (flow '${this.flowId}')`), this._isFlowNotificationEventDataForThisPreview(this.tag, e3)) { - a.log(`preview - finishing up, flow instance data is for this preview ${this.previewInfoLogStr}`), this._endDateTime = /* @__PURE__ */ new Date(), this._previewedFlowInfo = e3, this.status = u.completed, this._stopListeningForFlowInstanceEventData(); - try { - this._processFlowInstanceEventData(e3); - } catch (e4) { - } - a.log(`preview - completed ${this.previewInfoLogStr}`); - } else a.log(`preview - still waiting, flow instance data is not for this preview ${this.previewInfoLogStr}`); - } - _startListeningForFlowInstanceEventData() { - return n2.__awaiter(this, void 0, void 0, function* () { - try { - const e3 = (0, l.getFlowInstancesTopic)(this.flowId); - this._notificationSubscriptionTopicId !== e3 ? (yield s.addSubscription(e3, "FlowInstanceEventDataController", (e4) => this.processFlowInstanceEventData(e4)), this._notificationSubscriptionTopicId = e3, a.log(`preview - notification subscription success (topic: '${this._notificationSubscriptionTopicId}')`)) : a.log(`preview - notification subscription already listening (topic: '${this._notificationSubscriptionTopicId}')`); - } catch (e3) { - a.warn(`preview - notification subscription unsuccessful (topic: '${this._notificationSubscriptionTopicId}', flow id: '${this.flowId}') - this often happens when trying to listen for flow instance data events for a flow in a division where you don't have the 'architect:flowInstance:view' permission.`); - } - }); - } - get notificationSubscriptionTopicId() { - return this._notificationSubscriptionTopicId; - } - get amListeningForNotifications() { - var e3; - return (null === (e3 = this._notificationSubscriptionTopicId) || void 0 === e3 ? void 0 : e3.length) > 0; - } - _processFlowInstanceEventData(e3) { - } - _stopListeningForFlowInstanceEventData() { - this.amListeningForNotifications && this.resetSubscriptions && (a.log(`preview - notification unsubscribe (topic: '${this._notificationSubscriptionTopicId}')`), s.removeSubscription(this.notificationSubscriptionTopicId, "FlowInstanceEventDataController"), this._notificationSubscriptionTopicId = void 0); - } - cancel() { - 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; + this._lockedUser = this.reviveItem(e3, u); + } }, publishedVersion: { enumerable: true, get: function() { + return this._publishedVersion; + }, set: function(e3) { + this._publishedVersion = this.reviveItem(e3, s); + } }, savedVersion: { enumerable: true, get: function() { + return this._savedVersion; + }, set: function(e3) { + this._savedVersion = this.reviveItem(e3, s); + } }, state: { get: function() { + return this._state; + }, set: function(e3) { + this._state = n2.isString(e3) ? e3.toLowerCase() : e3; + } }, schemas: { set: function(e3) { + this.inputSchema = e3.input, this.outputSchema = e3.output; + } }, supportedLanguages: { enumerable: true, get: function() { + return this._supportedLanguages; + }, set: function(e3) { + this._supportedLanguages = this.reviveArray(e3, a); + } } }), e2.exports = c; + }, 69770(e2, t2, i2) { + function n2() { + this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); } - function o(e3) { - return e3 >= 48 && e3 <= 55; + i2(45214).extend(n2, "FlowLaunchResult"), e2.exports = n2; + }, 62228(e2, t2, i2) { + const n2 = i2(17848); + function o() { + o.baseConstructor.apply(this, arguments); } - function a(e3) { - return e3 >= 48 && e3 <= 57; + i2(22124).extend(o, "FlowList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 35635(e2, t2, i2) { + function n2() { + this.extendProperties(this), n2.baseConstructor.apply(this, arguments); } + i2(45214).extend(n2, "FlowOperation"), Object.defineProperties(n2.prototype, { extendProperties: { enumerable: false, value: function(e3) { + e3.actionName = void 0, e3.actionStatus = void 0, e3.complete = void 0, e3.id = void 0, e3.errorCode = void 0, e3.errorDetails = void 0, e3.errorMessage = void 0, e3.errorMessageParams = void 0; + } } }), e2.exports = n2; + }, 89982(e2, t2, i2) { + function n2() { + this.isDefault = void 0, this.language = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "FlowSupportedLanguage"), e2.exports = n2; + }, 98962(e2, t2, i2) { + const n2 = i2(92140), o = i2(45214), r = i2(89982), a = i2(83462); 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); + Object.defineProperties(this, { _createdBy: { writable: true }, _supportedLanguages: { writable: true } }), this.commitVersion = void 0, this.configurationVersion = void 0, this.dateCreated = void 0, this.id = void 0, this.name = n2.isString(e3) ? e3 : void 0, this.nluInfo = void 0, this.secure = void 0, this.generationId = void 0, this.debug = void 0, this.virtualAgentEnabled = void 0, this.agenticVirtualAgentEnabled = void 0, this.intentClassifierInfo = void 0, s.baseConstructor.apply(this, arguments); } - 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) => { + o.extend(s, "FlowVersion"), Object.defineProperties(s.prototype, { createdBy: { enumerable: true, get: function() { + return this._createdBy; + }, set: function(e3) { + this._createdBy = this.reviveItem(e3, a); + } }, supportedLanguages: { enumerable: true, get: function() { + return this._supportedLanguages; + }, set: function(e3) { + this._supportedLanguages = this.reviveArray(e3, r); + } } }), e2.exports = s; + }, 6022(e2, t2, i2) { + const n2 = i2(98962); + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "FlowVersionList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 88(e2, t2, i2) { + const n2 = i2(24893), o = i2(7401); + function r() { + Object.defineProperties(this, { _suppressRecording: { writable: true } }), r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "VoiceFlowConfiguration"), Object.defineProperties(r.prototype, { suppressRecording: { enumerable: true, get: function() { + return this._suppressRecording; + }, set: function(e3) { + this._suppressRecording = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 19098(e2, t2, i2) { + const n2 = i2(7401); + function o() { + Object.defineProperties(this, { _suppressRecording: { writable: true } }), o.baseConstructor.apply(this, arguments); + } + i2(24893).extend(o, "VoiceSurveyFlowConfiguration"), Object.defineProperties(o.prototype, { suppressRecording: { enumerable: true, get: function() { + return this._suppressRecording; + }, set: function(e3) { + this._suppressRecording = this.reviveItem(e3, n2); + } } }), e2.exports = o; + }, 23695(e2, t2, i2) { + const n2 = i2(13265), o = i2(2053), r = i2(58996), a = i2(5024).default; + function s() { + Object.defineProperties(this, { _debugSettings: { writable: true }, _errorHandling: { writable: true } }), this.nextTrackingNumber = a.minTrackingId, this.periodicStateId = void 0, s.baseConstructor.apply(this, arguments); + } + r.extend(s, "WorkflowConfiguration"), Object.defineProperties(s.prototype, { debugSettings: { enumerable: true, get: function() { + return this._debugSettings; + }, set: function(e3) { + this._debugSettings = new n2(e3); + } }, errorHandling: { enumerable: true, get: function() { + return this._errorHandling; + }, set: function(e3) { + this._errorHandling = this.reviveItem(e3, o); + } } }), e2.exports = s; + }, 69946(e2, t2, i2) { + const n2 = i2(58996), o = i2(87392), r = i2(2053); + function a() { + Object.defineProperties(this, { _workitemFlowSettings: { writable: true }, _errorHandling: { writable: true } }), a.baseConstructor.apply(this, arguments); + } + n2.extend(a, "WorkitemFlowConfiguration"), Object.defineProperties(a.prototype, { workitemFlowSettings: { enumerable: true, get: function() { + return this._workitemFlowSettings; + }, set: function(e3) { + this._workitemFlowSettings = new o(e3); + } }, errorHandling: { enumerable: true, get: function() { + return this._errorHandling; + }, set: function(e3) { + this._errorHandling = this.reviveItem(e3, r); + } } }), e2.exports = a; + }, 78685(e2, t2, i2) { + const n2 = i2(43933).default; + function o() { + o.baseConstructor.apply(this, arguments); + } + i2(22124).extend(o, "GrammarList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 80259(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); + this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); } - i2(45214).extend(n2, "DialogflowCxAgent"), Object.defineProperties(n2.prototype, { label: { get: function() { + i2(45214).extend(n2, "EmergencyGroup"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { return this.name; }, set: function(e3) { this.name = e3; } } }), e2.exports = n2; - }, 5261: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefVoicemailFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(27862); - class s extends r2.BriefFlowListManager { - get dependencyType() { - return a.VoicemailFlow; - } - constructor() { - super(), this.topic = n2.getTopic("BriefVoicemailFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeVoicemail }, this.className = "BriefVoicemailFlowListManager", this.flowType = o.flowTypes.flowTypeVoicemail, this._initialize(); - } + }, 34763(e2, t2, i2) { + const n2 = i2(80259); + function o() { + o.baseConstructor.apply(this, arguments); } - t2.briefVoicemailFlowListManager = new s(); - }, 5284: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Hindi ito balido.", noInputReceived: "Hindi ako nakatanggap ng anumang input." }, askForBoolean: { noInput: 'Sabihin ang "oo" kung gusto mong magpatuloy o "hindi" kung ayaw mo.', noMatch: 'Mangyaring magsabi ng "oo" o "hindi". Gusto mo bang magpatuloy?', question: "Gusto mo bang magpatuloy?", noInputDigitalBot: 'Ilagay ang "Oo" kung gusto mong magpatuloy o "Hindi" kung hindi.', noMatchDigitalBot: 'Mangyaring ilagay ang "Oo" o "Hindi". Gusto mo bang magpatuloy?' }, askForIntent: { noInput: 'Magbigay lamang ng maikling pangungusap na naglalarawan sa katanungan mo. Halimbawa, "Tingnan ang balanse sa aking account"', noMatch: "Sabihin ulit sa akin kung ano ang gusto mong gawin.", question: "Ano ang gusto mong gawin?", noInputDigitalBot: 'Mangyaring maglagay ng maikling pangungusap na naglalarawan sa katanungan mo. Halimbawa, "Tingnan ang balanse sa aking account"' }, askForSlot: { askFor: "Humiling ng %1$s", noInput: "Mangyaring sabihin o ilagay ang (mangyaring ilagay ang pangalan ng slot mo dito).", noInputWithSlot: "Mangyaring sabihin o ilagay ang %1$s.", noMatch: "Mangyaring ibigay ulit sa akin ang (mangyaring ilagay ang pangalan ng slot mo dito).", noMatchWithSlot: "Mangyaring ibigay ulit sa akin ang %1$s.", question: "Ano ang (mangyaring ilagay ang pangalan ng slot mo dito)?", questionWithSlot: "Ano ang %1$s?", pleaseEnterSlotNameHere: "(mangyaring ilagay ang pangalan ng slot mo dito)", noInputDigitalBot: "Mangyaring ilagay ang (mangyaring ilagay ang pangalan ng slot mo dito).", noInputWithSlotDigitalBot: "Mangyaring ilagay ang %1$s.", continuationPromptWithSlot: "Nakakuha na ako ng {{Slot.%1$s}} sa ngayon, mangyaring magpatuloy." }, askForNextSlot: { noInput: 'Sabihin ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang tawag.', noMatch: 'Sabihin ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang sesyon.', question: "Mayroon pa ba akong ibang maitutulong sa iyo?", noInputDigitalBot: 'Ilagay ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang sesyon.', noMatchDigitalBot: 'Ilagay ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang sesyon.' }, askForPayment: { noInputDigitalBot: "Mangyaring ibigay ang iyong impormasyon sa pagbabayad upang makapagpatuloy.", noMatchDigitalBot: "Hindi ko naintindihan ang sagot mo. Mangyaring subukang muli." }, askForAuthentication: { noInputDigitalBot: "Mangyaring ibigay ang iyong impormasyon sa pagpapatotoo upang magpatuloy.", noMatchDigitalBot: "Hindi ko naintindihan ang sagot mo. Mangyaring subukang muli." }, askSurveyQuestion: { notApplicable: "Hindi Naaangkop", surveyAnswerOptionSequence: "Pindutin ang %1$s para sa '%2$s'.", surveyAnswerNotApplicableSequence: "Pindutin ang bituin para sa Hindi Naaangkop.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Pindutin ang bituin para sa Hindi Naaangkop.", voiceSurveyNoInputText: "Mangyaring sagutin ang tanong.", voiceSurveyNoMatchText: "Hindi kita naintindihan." }, commonModule: { exitCommonModule: "Umalis sa Karaniwang Modyul" }, form: { noInputDigitalBot: "Mangyaring kumpletuhin ang form upang magpatuloy.", noMatchDigitalBot: "Mangyaring kumpletuhin ang form upang magpatuloy." }, messagingTemplate: { noInputDigitalBot: "Mangyaring pumili ng isa sa mga available na opsyon.", noMatchDigitalBot: "Mangyaring pumili ng isa sa mga available na opsyon." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Magpatuloy", knowledgeAnswerHighlightFullArticleDefault: "Tingnan ang Buong Artikulo", knowledgeInitialResponseMulti: "Para matulungan akong linawin ang iyong tunguhin, pumili ng isang numero mula sa sumusunod na listahan:", knowledgeInitialResponseMultiRetry: "Mangyaring pumili ng numero, halimbawa '1'.\nNarito muli ang listahan ng mga opsiyon:", knowledgeNoMatch: "Wala sa mga ito", knowledgeConfirmation: "Sinagot ba nito ang tanong mo?", knowledgeFollowup: "Sana ay nasagot ko ang tanong mo. Maaari kang magtanong ng kahit anong iba pang bagay na gusto mong malaman." }, noOverlay: { intent: { intentConfirmationStr1: "Parang gusto mong", intentConfirmationStr2: "Tama ba iyon?" }, youSaid: { youSaidConfirmationStr1: "Sabi mo", youSaidConfirmationStr2: "Tama ba iyon?", youSaidConfirmationStr1DigitalBot: "Inilagay mo ang" }, noInput: { noInputStr1: "Mangyaring sabihin o ilagay ang", noInputStr1DigitalBot: "Mangyaring ilagay ang" }, noMatch: { noMatchStr1: "Mangyaring ibigay sa akin ang" }, whatIs: { whatIsQuestionStr1: "Ano ang", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Nakakuha ako ng", iGotContinuationStr2: "sa ngayon, mangyaring magpatuloy." } }, defaultCallFlowOne: "Default na Daloy ng Tawag", errorHandlingAgentEscalationConfirmation: "Gusto mong makipag-usap sa isang tagapayo. Tama ba iyon?", errorHandlingAgentEscalationHandover: "Sandali lang, pakiusap, at ililipat kita sa isang tao.", errorHandlingErrorEventHandover: "Paumanhin, nagkaroon ng error. Sandali lang, pakiusap, habang inililipat kita sa isang taong makakatulong sa iyo.", errorHandlingErrorEventHandoverVoiceSurvey: "Paumanhin, nagkaroon ng error. Paalam.", errorHandlingRecognitionEventHandover: "Paumanhin, nahihirapan akong intindihin ka. Sandali lang, pakiusap, habang inililipat kita sa isang taong makakatulong sa iyo.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Paumanhin, nahihirapan akong intindihin ka. Paalam.", errorHandlingTTS: "Paumanhin, nagkaroon ng error. Mangyaring subukang muli ang iyong tawag.", initialGreetingTTS: "Kumusta, ito ang unang pagbati.", initialState: "Paunang Estado", initialBotState: "Default na Bot", initialDigitalBotState: "Unang Pagbati", initialSurveyBotState: "Survey Bot", intentConfirmation: "Parang gusto mong %1$s, tama ba iyon?", mainMenu: "Pangunahing Menu", mainMenuTTS: "Nasa Pangunahing Menu ka, pindutin ang 9 para magdiskonekta", mainTask: "Tungkulin", settingsConfirmationNoInputApology: "Paumanhin, hindi kita narinig. Mangyaring magsabi ng oo o hindi.", settingsConfirmationNoInputApologyDigitalBot: 'Paumanhin, wala akong natanggap na input mula sa iyo. Mangyaring ilagay ang "Oo" o "Hindi".', settingsConfirmationNoMatchApology: "Paumanhin, mangyaring magsabi ng oo o hindi.", settingsConfirmationNoMatchApologyDigitalBot: 'Paumanhin, mangyaring ilagay ang "Oo" o "Hindi".', settingsNoInputApology: "Paumanhin, hindi kita narinig.", settingsNoInputApologyDigitalBot: "Paumanhin, wala akong natanggap na input mula sa iyo.", settingsEndOfSessionMessageDigitalBot: "Matagal na akong walang balita sa 'yo, kaya isasara ko na itong chat na ito, bumalik ka na lang kung kailangan mo muli ng tulong ko. Salamat.", settingsNoMatchApology: "Paumanhin.", settingsNoToConfirmationApology: "Kasalanan ko.", periodicStateName: "Paulit-ulit na Estado" }; - }, 5362: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.zipAll = void 0; - var n2 = i2(11415), r2 = i2(80719); - t2.zipAll = function(e3) { - return r2.joinAllInternals(n2.zip, e3); - }; - }, 5410: (e2, t2, i2) => { + i2(22124).extend(o, "EmergencyGroupList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 94886(e2, t2, i2) { function n2() { - this.outcomeId = void 0, this.outcomeName = void 0, n2.baseConstructor.apply(this, arguments); + this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); } - i2(28730).extend(n2, "BaseFlowOutcomeActionModel"), e2.exports = n2; - }, 5426: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ServerActionSchemaCategoryReference = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55867), o = i2(82185), a = i2(47957); - class s extends r2.BaseActionProperty { - constructor(e3, t3, i3) { - super(e3, t3), Object.defineProperties(e3, { supportsCategories: { value: true, writable: false }, categoryManager: { value: i3, writable: false }, setCategory: { value: (e4, t4) => { - t4 ? this.category = t4 : e4 ? n2.default.isString(e4.category) ? this.category = new o({ id: e4.category, name: e4.category }) : this.category = e4.category : this.category = ""; - } } }); - } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3); - } - get category() { - return this.action.model.category; - } - set category(e3) { - this.action.model.category = e3 ? new o(e3) : void 0; - } - get idValue() { - return this.action.model.category && this.action.model.category.id; - } - search(e3) { - super.search(e3); - const t3 = this.action.serverManager.getCategoryForAction(this.action.actionName, this.action.actionId); - e3.checkText(this.action, t3, a.bridgeServer.category); - } - static createCreateDetails(e3) { - return { create: (t3, i3) => new s(t3, i3, e3), getCreateClass: () => s, modelProperties: [] }; - } + i2(45214).extend(n2, "Schedule"), Object.defineProperties(n2.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } } }), e2.exports = n2; + }, 98643(e2, t2, i2) { + const n2 = i2(45214), o = i2(94886); + function r() { + Object.defineProperties(this, { _schedules: { writable: true }, _closedSchedules: { writable: true }, _openSchedules: { writable: true } }), this.id = void 0, this.name = void 0, r.baseConstructor.apply(this, arguments); } - t2.ServerActionSchemaCategoryReference = s; - }, 5430: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.initializeExpressions = function() { - _ || (d(), c(), l(), Promise.all([r2.getAuthenticatedPromise(), r2.bootstrapLanguageDataLoaded, r2.featureTogglesLoaded]).then(() => { - u(); - const e3 = o.default.getGlobalTypeGroup(); - if (e3) try { - e3.startupConnectedAndReady(s); - } catch (e4) { - p.exception(e4, "globalGroup.startupConnectedAndReady()"); - } - }), _ = 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: c } = i2(33527), { createGlobalTypes: d } = i2(19102), p = (0, a.getTopic)("expressionCoordinator"); - let _ = false; - }, 5455: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.subscribeOn = void 0; - var n2 = i2(65212); - t2.subscribeOn = function(e3, t3) { - return void 0 === t3 && (t3 = 0), n2.operate(function(i3, n3) { - n3.add(e3.schedule(function() { - return i3.subscribe(n3); - }, t3)); - }); - }; - }, 5478: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(27203)), o = n2.__importDefault(i2(57606)), a = n2.__importDefault(i2(5730)), s = i2(47957), l = i2(3916); - class u extends a.default { - constructor(e3, t3) { - super(e3, t3); - } - _initializeDesignTime() { - super._initializeDesignTime(), this._createErrorSchema().properties.forEach((e3) => { - let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); - t3 || (t3 = l.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), l.setExpressionWithSchemaProperty(t3.value, e3); - }); - } - _createErrorSchema() { - const e3 = new o.default({ properties: { errorType: { type: "string", description: s.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: s.errorSchema.errorMessageDescription } } }, false), t3 = this._getPossibleErrors(); - return t3 && t3.length && e3.setErrorTypeAllowableValues(t3.sort()), e3; - } - static get branchInfo() { - return r2.default.successFailure; - } - static get managedProperties() { - return [{ dataList: true, label: s.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", yamlOptions: u.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(120)) }]; - } - _getPossibleErrors() { - return null; - } + n2.extend(r, "ScheduleGroup"), Object.defineProperties(r.prototype, { displayName: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, label: { get: function() { + return this.name; + }, set: function(e3) { + this.name = e3; + } }, schedules: { get: function() { + return this._schedules; + }, set: function(e3) { + this._schedules = this.reviveArray(e3, o); + } }, openSchedules: { get: function() { + return this._openSchedules; + }, set: function(e3) { + this._openSchedules = this.reviveArray(e3, o); + } }, closedSchedules: { get: function() { + return this._closedSchedules; + }, set: function(e3) { + this._closedSchedules = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 88027(e2, t2, i2) { + const n2 = i2(22124), o = i2(98643); + function r() { + r.baseConstructor.apply(this, arguments); } - u.className = "BaseFailureOutputsActionViewModel", t2.default = u; - }, 5482: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(16434)), o = n2.__importDefault(i2(56549)), a = i2(96618), s = i2(71528); - class l extends r2.default { - constructor(e3) { - super(e3); - } - get _flowType() { - return a.flowTypes.flowTypeInboundEmail; - } - get displayTypeName() { - return "ArchFlowInboundEmail"; - } - get isArchFlowInboundEmail() { - return true; - } - loadResponseLibraryManager() { - return n2.__awaiter(this, void 0, void 0, function* () { - const e3 = yield o.default.loadAllItemsAsync(s.responseLibraryManager, "response library names", "name"); - this.logNote("found " + e3.length + " Response Libraries"); - }); - } - get settingsInboundEmailHandling() { - return this.coreFactory.createArchWrapper(this._coreFlowViewModel.inboundEmailSettings); - } + n2.extend(r, "ScheduleGroupList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 40122(e2, t2, i2) { + const n2 = i2(22124), o = i2(94886); + function r() { + r.baseConstructor.apply(this, arguments); } - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - 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 }); - } + n2.extend(r, "ScheduleList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 42590(e2, t2, i2) { + const n2 = i2(1735).default; + function o() { + o.baseConstructor.apply(this, arguments); } - 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)), c = new class { - constructor() { - this._builderPartDefinitions = {}, this._builderPartContainerDefinitions = {}; - } - get className() { - return "BuilderPartDefinitions"; - } - get isBuilderPartDefinitions() { - return true; - } - _getBuilderPartOrContainerPartDefinitions(e3, t3, i3, n3) { - const r3 = []; - return o.default.each(e3, function(e4) { - let a2 = !t3; - a2 || (o.default.isArray(t3) ? o.default.find(t3, (t4) => t4.isMatch(e4.resultExpressionType, u.settings.exact)) && (a2 = true) : a2 = t3.isMatch(e4.resultExpressionType, u.settings.exact)); - const s2 = o.default.isUndefined(o.default.find(e4.expressionDefs, (e5) => { - if (o.default.isArray(e5.requiredFuncOpOverloadIds) && e5.requiredFuncOpOverloadIds.length) return o.default.find(e5.requiredFuncOpOverloadIds, (e6) => !l.expressionDataService.expressionFuncOpsByOverloadId[e6].isAvailableForFlowType(i3)); - })); - !(a2 && s2 && e4.meetsFeatureRequirements) || n3 && !e4.isInCategory(n3) || i3 && !e4.isAvailableForFlowType(i3) || r3.push(e4); - }), r3; - } - getBuilderPartDefinitions(e3, t3, i3) { - return s.ParameterValidator.expectExpressionTypeOrTypes(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefinitions", "builderPartResultExpressionTypeOrTypesFilter"), true), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefinitions", "flowTypeFilter"), true), s.ParameterValidator.expectString(i3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefinitions", "builderCategoryIdFilter"), true), this._getBuilderPartOrContainerPartDefinitions(this._builderPartDefinitions, e3, t3, i3); - } - getBuilderPartContainerDefinitions(e3, t3, i3) { - return s.ParameterValidator.expectExpressionTypeOrTypes(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefinitions", "builderPartResultExpressionTypeOrTypesFilter"), true), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefinitions", "flowTypeFilter"), true), s.ParameterValidator.expectString(i3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefinitions", "builderCategoryIdFilter"), true), this._getBuilderPartOrContainerPartDefinitions(this._builderPartContainerDefinitions, e3, t3, i3); - } - _getBuilderPartOrContainerPartDefById(e3, t3) { - return o.default.find(e3, function(e4) { - return e4.id === t3; - }); - } - getBuilderPartDefById(e3) { - return s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefById", "builderPartDefId"), true), this._getBuilderPartOrContainerPartDefById(this._builderPartDefinitions, e3); - } - getBuilderPartContainerDefById(e3) { - return s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefById", "builderPartContainerDefId"), true), this._getBuilderPartOrContainerPartDefById(this._builderPartContainerDefinitions, e3); - } - addBuilderPartDef(e3) { - this._builderPartDefinitions[e3.id] = e3; - } - addBuilderPartContainerDef(e3) { - this._builderPartContainerDefinitions[e3.id] = e3; - } - getBuilderPartInfo() { - const e3 = []; - return Object.values(this._builderPartDefinitions).forEach((t3) => { - e3.push({ id: t3.id, name: t3.name, type: t3.resultExpressionType.displayString, flowTypes: r2.flowTypes.flowTypesAll.filter((e4) => t3.isAvailableForFlowType(e4, true)).join(", "), featureToggle: t3.requiredFeatureToggle, featureConfig: t3.requiredFeatureConfig, categories: t3.categories.join(", ") }); - }), e3; - } - logBuilderPartInfo() { - console.groupCollapsed("Builder parts"), console.table(this.getBuilderPartInfo()), console.groupEnd(); - } - }(); - 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)), 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); - } - static get branchInfo() { - return a.default.successFailure; - } - _getPossibleErrors() { - return d.promoteExternalContactFailureReasons; - } - static get managedProperties() { - 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 }]; - } + i2(22124).extend(o, "SurveyFormList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArray(e3, n2); + } } }), e2.exports = o; + }, 31938(e2, t2, i2) { + function n2() { + this.id = void 0, this.offset = void 0, n2.baseConstructor.apply(this, arguments); } - 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) { - return a.usingRegionalLocale() ? (i3 || (i3 = a.getRegionalLocale()), (function(e4, t4, i4) { - let n3; - switch (t4) { - case "LL": - n3 = { dateStyle: "long" }; - break; - case "l LT": - n3 = { dateStyle: "short", timeStyle: "short" }; - break; - case "LLLL": - n3 = { dateStyle: "full", timeStyle: "short" }; - break; - case "lll": - n3 = { dateStyle: "medium", timeStyle: "short" }; - break; - default: - n3 = { dateStyle: "long", timeStyle: "long" }; - } - try { - if ((o.default.isActualNumber(e4) || o.default.isStringActualNumber(e4)) && (e4 = s(e4)), Date.parse(e4)) { - const t5 = new Date(e4); - return Intl.DateTimeFormat(i4, n3).format(t5); - } - } catch (e5) { - console.error(e5); - } - return l(e4, t4); - })(e3, t3, i3)) : l(e3, t3); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(95093)), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)); - function s(e3) { - let t3 = Number(e3); - return isNaN(t3) ? e3 : (t3 < 1e10 && (t3 *= 1e3), t3 += -1 * (/* @__PURE__ */ new Date()).getTimezoneOffset(), new Date(t3)); + i2(45214).extend(n2, "TimeZone"), Object.defineProperties(n2.prototype, {}), e2.exports = n2; + }, 29526(e2, t2, i2) { + const n2 = i2(22124), o = i2(31938); + function r() { + r.baseConstructor.apply(this, arguments); } - function l(e3, t3) { - return (o.default.isActualNumber(e3) || o.default.isStringActualNumber(e3)) && (e3 = s(e3)), Date.parse(e3) ? (0, r2.default)(e3).format(t3) : e3; + n2.extend(r, "TimeZoneList"), Object.defineProperties(r.prototype, { entities: { enumerable: true, get: function() { + return this._entities; + }, set: function(e3) { + this._entities = this.reviveArrayToMap(e3, o); + } } }), e2.exports = r; + }, 43096(e2) { + e2.exports = {}; + }, 62532(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); } - }, 5700: (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" }; - }, 5717: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.noop = void 0, t2.noop = function() { - }; - }, 5730: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isAction = function(e3) { - return null == e3 ? void 0 : e3.isAction; - }; - 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) || 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 ? 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; - } - get amObjectEventEmitter() { - return true; - } - static get branchInfo() { - return []; - } - get branchInfos() { - return this.constructor.branchInfo; - } - get branchInfoList() { - return a.default.union(this.branchInfos, this.optionalBranchInfo); - } - get isBaseAction() { - return true; - } - get category() { - return this.info.category; - } - get canCollapse() { - return !!this.topParent.isTaskLike; - } - get collapsed() { - return this.uiMetaData || (this.uiMetaData = { collapsed: false }), this.uiMetaData.collapsed; - } - set collapsed(e3) { - this.uiMetaData ? this.uiMetaData.collapsed = e3 : this.uiMetaData = { collapsed: e3 }, l.emitter.emit(l.collapseExpand, this); - } - collapse(e3) { - return this.expandOrCollapse(true, e3); - } - 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), m.default.create(n3 + e3, t3); - } - expand(e3) { - return this.expandOrCollapse(false, e3); - } - expandOrCollapse(e3, t3) { - 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 && a.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); - } - return i3; - } - _getDetailsForManagedProperty(e3, t3) { - var i3; - 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 = 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(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)(c.default.updateVariables.labelValue, n3, r3) }; - } - } - wrapWithBrackets(e3, t3) { - return t3 ? `<${e3}>` : e3; - } - getDetails() { - return this.getDetailsForProperties(Object.values(this.managedPropertyViewModels)); - } - getDetailsForProperties(e3) { - 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; - let i3; - return i3 = t4.isExpressionList ? t4.expressions : t4.isNameValuePairs ? t4.items : [t4], i3.forEach((t5, i4) => { - if (3 === e4.labels.length) return; - const n3 = this._getDetailsForManagedProperty(t5, i4); - n3 && (e4.labels.push(n3.label), e4.values.push(n3.value)); - }), e4; - }, { labels: [], values: [] }).value(); - 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; - } - get hasChildren() { - for (let e3 = 0; e3 < this.branches.length; e3++) if (this.branches[e3].children.length > 0) return true; - return false; - } - get id() { - return this.model.id; - } - get isDisabled() { - return this._isDisabled; - } - set isDisabled(e3) { - e3 !== this._isDisabled && (this._isDisabled = !!e3, a.default.each(this.branches, function(e4) { - e4.isDisabled = this._isDisabled; - }.bind(this))); - } - get isSingleBranchAction() { - return this.isLoopAction || this.isLoopUntilAction; - } - get isReadOnly() { - return !this.parentFlow.info.currentUserCanEdit; - } - getDisplayName() { - return this.name || (this.info ? this.info.name : ""); - } - get nextAction() { - return this._nextAction; - } - set nextAction(e3) { - e3 ? (this.model.nextAction = e3.id, this._nextAction = e3) : (this.model.nextAction = void 0, this._nextAction = null); - } - _overrideProperties() { - 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), a.default.each(this.managedPropertyViewModels, function(t3) { - t3.addClipboardDependencies(e3); - }.bind(this)), a.default.each(this.branches, function(t3) { - t3.addClipboardDependencies(e3); - }.bind(this)); - } - addOptionalBranchInfo(e3, t3) { - if (e3 && (this.optionalBranchInfo.push(e3), !t3)) return this._addBranch(e3); - } - sortBranches() { - let e3 = false; - 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 && l.emitter.emit(l.branchesChanged); - } - removeOptionalBranchInfoById(e3, t3) { - 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); - } - removeOptionalBranchInfoByLabel(e3) { - const t3 = this.getOptionalBranchInfoIndexByLabel(e3); - if (t3 < 0) return; - const i3 = this.optionalBranchInfo[t3]; - this.optionalBranchInfo.splice(t3, 1), this._removeBranch(i3); - } - get className() { - return "BaseActionViewModel"; - } - getYamlOptionsMap() { - 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) { + i2(11475).extend(n2, "AssignedCustomerIntentVariable", true), e2.exports = n2; + }, 30021(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "AssignedCustomerSegmentVariable", true), e2.exports = n2; + }, 11475(e2, t2, i2) { + const n2 = i2(92140), o = i2(87921).default, r = i2(45214), a = i2(7401), s = i2(24032).getTopic("BaseVariable"), { uuid: l } = i2(9456); + function u(e3) { + Object.defineProperties(this, { _name: { writable: true }, _facets: { writable: true }, _initialValue: { writable: true }, _wasRenamed: { writable: true, value: false, enumerable: false }, allowInitialValueForReadOnly: { writable: true, value: false }, hideFromAutocomplete: { writable: true, value: false }, isReadOnly: { writable: true, value: false }, isSystemVariable: { writable: true, value: false } }), this.description = void 0, this.doNotCleanupIfOrphanedSlot = void 0, this.id = void 0, this.isCollection = false, this.isInternal = false, this.isOutput = false, this.isInput = false, this.isSecure = false, this.descriptionOverrides = void 0, this.deprecatedId = void 0, this.deprecatedName = void 0, this.reconfigure = void 0, this.uiMetaData = void 0, this.version = "1.0", this.initialValueOptionsCallback = void 0, u.baseConstructor.apply(this, arguments), e3.copyPasteId && (this.copyPasteId = e3.copyPasteId), e3.featureToggleName && (this.featureToggleName = e3.featureToggleName), e3.featureConfig && (this.featureConfig = e3.featureConfig), (this.featureToggleName || this.featureConfig) && (this.isUnavailable = true); + } + r.extend(u, "BaseVariable"), Object.defineProperties(u.prototype, { name: { enumerable: true, get: function() { + return this._name; + }, set: function(e3) { + e3 && !n2.isString(e3) ? (e3 = `Flow.Repaired_Name_${l().split("-").join("")}`, this._name = e3, this._wasRenamed = true, s.error(`Variable was renamed to ${this._name} because of an invalidName`)) : this._name = e3; + } }, pasteResolveOldToNewValues: { value: function(e3) { + } }, pasteReIdOrRename: { value: function(e3) { + this.id = e3.pasteGenerateNewGuid(this.id); + } }, facets: { enumerable: true, get: function() { + return this._facets; + }, set: function(e3) { + this._facets = this.reviveItem(e3, o); + } }, initialValue: { enumerable: true, get: function() { + return this._initialValue; + }, set: function(e3) { + this._initialValue = this.reviveItem(e3, a); + } }, clone: { value: function() { + const e3 = n2.clone(this), t3 = new this.__proto__.constructor(e3); + return t3.allowInitialValueForReadOnly = this.allowInitialValueForReadOnly, t3.hideFromAutocomplete = this.hideFromAutocomplete, t3.isReadOnly = this.isReadOnly, t3.isSystemVariable = this.isSystemVariable, t3; + } } }), e2.exports = u; + }, 11384(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "CommunicationVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 95372(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "ComplexVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 42161(e2, t2, i2) { + const n2 = i2(11475), o = i2(68259).default; + function r() { + r.baseConstructor.apply(this, arguments), this.facets || (this.facets = new o({ decimalPlaces: 2 })); + } + n2.extend(r, "CurrencyVariable", true), Object.defineProperties(r.prototype, { facets: { enumerable: false, get: function() { + return this._facets; + }, set: function(e3) { + this._facets = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 43452(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "CustomerIntentVariable", true), e2.exports = n2; + }, 19069(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "CustomerSegmentVariable", true), e2.exports = n2; + }, 74871(e2, t2, i2) { + const n2 = i2(11475), o = i2(63005).default; + function r() { + r.baseConstructor.apply(this, arguments), this.facets || (this.facets = new o({ decimalPlaces: 10 })); + } + n2.extend(r, "DecimalVariable", true), Object.defineProperties(r.prototype, { facets: { enumerable: false, get: function() { + return this._facets; + }, set: function(e3) { + this._facets = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 67692(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "DigitalAudioVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 1057(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "DivisionVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 83226(e2, t2, i2) { + const n2 = i2(11475), o = i2(50964).default; + function r() { + r.baseConstructor.apply(this, arguments); + } + n2.extend(r, "DurationVariable", true), Object.defineProperties(r.prototype, { facets: { enumerable: true, get: function() { + return this._facets; + }, set: function(e3) { + this._facets = this.reviveItem(e3, o); + } } }), e2.exports = r; + }, 19420(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "EnumContainerVariable", true), Object.defineProperties(n2.prototype, { isEnumContainerVariable: { value: true } }), e2.exports = n2; + }, 7320(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "FileVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 18534(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "GrammarVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 15893(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "ImageVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 82584(e2, t2, i2) { + const n2 = i2(11475), { expressionTypeNames: o } = i2(80428); + function r() { + r.baseConstructor.apply(this, arguments), this.typeIdentifier || (this.typeIdentifier = o.json); + } + n2.extend(r, "JsonVariable", true), Object.defineProperties(r.prototype, { typeIdentifier: { writable: true } }), e2.exports = r; + }, 73728(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "KnowledgeBaseDocumentVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 40853(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "ResponseAssetVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 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; + }, 42685(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "VoiceSnippetVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; + }, 67093(e2, t2, i2) { + const n2 = i2(19420); + function o() { + o.baseConstructor.apply(this, arguments); + } + function r() { + r.baseConstructor.apply(this, arguments); + } + function a() { + a.baseConstructor.apply(this, arguments); + } + function s() { + s.baseConstructor.apply(this, arguments); + } + function l() { + l.baseConstructor.apply(this, arguments); + } + function u() { + u.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); + } + function _() { + _.baseConstructor.apply(this, arguments); + } + function h() { + h.baseConstructor.apply(this, arguments); + } + i2(16200), n2.extend(o, "BaseFormatEnumContainerVariable", true), Object.defineProperty(o.prototype, "isFormatEnumVariable", { value: true }), o.extend(r, "BoolFormatEnumContainerVariable", true), o.extend(a, "CurrencyFormatEnumContainerVariable", true), o.extend(s, "DateFormatEnumContainerVariable", true), o.extend(l, "DateTimeFormatEnumContainerVariable", true), o.extend(u, "NumberFormatEnumContainerVariable", true), o.extend(c, "PhoneNumberFormatEnumContainerVariable", true), o.extend(d, "LanguageSkillEnumContainerVariable", true), o.extend(p, "StringFormatEnumContainerVariable", true), o.extend(_, "TimeFormatEnumContainerVariable", true), o.extend(h, "TimePartEnumContainerVariable", true), e2.exports = { BoolFormatEnumContainerVariable: r, CurrencyFormatEnumContainerVariable: a, DateFormatEnumContainerVariable: s, DateTimeFormatEnumContainerVariable: l, LanguageSkillEnumContainerVariable: d, NumberFormatEnumContainerVariable: u, PhoneNumberFormatEnumContainerVariable: c, StringFormatEnumContainerVariable: p, TimeFormatEnumContainerVariable: _, TimePartEnumContainerVariable: h }; + }, 16200(e2, t2, i2) { + const n2 = i2(11475); + function o() { + o.baseConstructor.apply(this, arguments); + } + function r() { + r.baseConstructor.apply(this, arguments); + } + function a() { + a.baseConstructor.apply(this, arguments); + } + function s() { + s.baseConstructor.apply(this, arguments); + } + function l() { + l.baseConstructor.apply(this, arguments); + } + function u() { + u.baseConstructor.apply(this, arguments); + } + function c() { + c.baseConstructor.apply(this, arguments); + } + n2.extend(o, "CurrencyFormatEnumVariable", true), n2.extend(r, "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: o, DateFormatEnumVariable: r, DateTimeFormatEnumVariable: a, NumberFormatEnumVariable: s, StringFormatEnumVariable: l, TimeFormatEnumVariable: u, TimePartEnumVariable: c }; + }, 14134(e2, t2, i2) { + const n2 = i2(19420); + function o() { + o.baseConstructor.apply(this, arguments); + } + function r() { + r.baseConstructor.apply(this, arguments); + } + function a() { + a.baseConstructor.apply(this, arguments); + } + function s() { + s.baseConstructor.apply(this, arguments); + } + function l() { + l.baseConstructor.apply(this, arguments); + } + function u() { + u.baseConstructor.apply(this, arguments); + } + function c() { + c.baseConstructor.apply(this, arguments); + } + i2(8497), n2.extend(o, "ConversationTypesEnumContainerVariable", true), n2.extend(r, "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: o, CurrenciesEnumContainerVariable: r, DateTimeEnumContainerVariable: c, LanguagesEnumContainerVariable: a, MessageBodyStylesEnumContainerVariable: l, RegionsEnumContainerVariable: s, SurveyDispositionsEnumContainerVariable: u }; + }, 8497(e2, t2, i2) { + const n2 = i2(11475); + function o() { + o.baseConstructor.apply(this, arguments); + } + function r() { + r.baseConstructor.apply(this, arguments); + } + function a() { + a.baseConstructor.apply(this, arguments); + } + n2.extend(o, "CurrencyEnumVariable", true), n2.extend(r, "LanguageEnumVariable", true), n2.extend(a, "RegionEnumVariable", true), e2.exports = { CurrencyEnumVariable: o, LanguageEnumVariable: r, RegionEnumVariable: a }; + }, 3172(e2, t2, i2) { + const n2 = i2(19420); + function o() { + o.baseConstructor.apply(this, arguments); + } + function r() { + r.baseConstructor.apply(this, arguments); + } + function a() { + a.baseConstructor.apply(this, arguments); + } + function s() { + s.baseConstructor.apply(this, arguments); + } + i2(27183), n2.extend(o, "BaseLanguageEnumContainerVariable", true), Object.defineProperty(o.prototype, "isLanguageEnumVariable", { value: true }), o.extend(r, "LanguageCaseEnumContainerVariable", true), o.extend(a, "LanguageGenderEnumContainerVariable", true), o.extend(s, "LanguageQuantityEnumContainerVariable", true), e2.exports = { LanguageCaseEnumContainerVariable: r, LanguageGenderEnumContainerVariable: a, LanguageQuantityEnumContainerVariable: s }; + }, 27183(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(11475).extend(n2, "LanguageContextEnumVariable", true), e2.exports = { LanguageContextEnumVariable: n2 }; + }, 35825(e2, t2, i2) { + const n2 = i2(62532), o = i2(30021), r = 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 I() { + I.baseConstructor.apply(this, arguments); + } + function C() { + C.baseConstructor.apply(this, arguments); + } + function O() { + O.baseConstructor.apply(this, arguments); + } + function b() { + b.baseConstructor.apply(this, arguments); + } + function E() { + E.baseConstructor.apply(this, arguments); + } + function w() { + b.baseConstructor.apply(this, arguments); + } + function R() { + R.baseConstructor.apply(this, arguments); + } + function D() { + D.baseConstructor.apply(this, arguments); + } + function P() { + P.baseConstructor.apply(this, arguments); + } + function M() { + M.baseConstructor.apply(this, arguments); + } + function F() { + F.baseConstructor.apply(this, arguments); + } + function L() { + L.baseConstructor.apply(this, arguments); + } + function x() { + x.baseConstructor.apply(this, arguments); + } + function k() { + k.baseConstructor.apply(this, arguments); + } + function V() { + V.baseConstructor.apply(this, arguments); + } + function U() { + U.baseConstructor.apply(this, arguments); + } + function B() { + B.baseConstructor.apply(this, arguments); + } + function G() { + G.baseConstructor.apply(this, arguments); + } + function j() { + j.baseConstructor.apply(this, arguments); + } + function q() { + q.baseConstructor.apply(this, arguments); + } + function W() { + W.baseConstructor.apply(this, arguments); + } + function Y() { + Y.baseConstructor.apply(this, arguments); + } + function H() { + H.baseConstructor.apply(this, arguments); + } + 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 Q() { + Q.baseConstructor.apply(this, arguments); + } + function X() { + X.baseConstructor.apply(this, arguments); + } + function Z() { + Z.baseConstructor.apply(this, arguments); + } + function ee() { + ee.baseConstructor.apply(this, arguments); + } + function te() { + te.baseConstructor.apply(this, arguments); + } + function ie() { + ie.baseConstructor.apply(this, arguments); + } + function ne() { + ne.baseConstructor.apply(this, arguments); + } + function oe() { + oe.baseConstructor.apply(this, arguments); + } + function re() { + re.baseConstructor.apply(this, arguments); + } + function ae() { + ae.baseConstructor.apply(this, arguments); + } + function se() { + se.baseConstructor.apply(this, arguments); + } + function le() { + le.baseConstructor.apply(this, arguments); + } + function ue() { + ue.baseConstructor.apply(this, arguments); + } + r.extend(v, "AudioVariable", true), r.extend(I, "BoolVariable", true), r.extend(C, "ButtonVariable", true), r.extend(O, "CardVariable", true), r.extend(b, "CarouselVariable", true), r.extend(E, "ChoiceVariable", true), r.extend(w, "ChooserVariable", true), r.extend(R, "CampaignVariable", true), r.extend(D, "ContactVariable", true), r.extend(P, "ContactListVariable", true), r.extend(M, "DateVariable", true), r.extend(F, "DateTimeVariable", true), r.extend(L, "EmergencyGroupVariable", true), r.extend(x, "FormInputVariable", true), r.extend(k, "GroupVariable", true), r.extend(V, "IntegerVariable", true), r.extend(U, "LanguageSkillEnumVariable", true), r.extend(B, "LanguageSkillVariable", true), r.extend(function e3() { + e3.baseConstructor.apply(this, arguments); + }, "ListPickerVariable", true), r.extend(function e3() { + e3.baseConstructor.apply(this, arguments); + }, "ListPickerItemVariable", true), r.extend(function e3() { + e3.baseConstructor.apply(this, arguments); + }, "ListPickerSectionVariable", true), r.extend(G, "LineItemVariable", true), r.extend(j, "PhoneNumberVariable", true), r.extend(q, "PromptVariable", true), r.extend(W, "QueueVariable", true), r.extend(Y, "QuickRepliesVariable", true), r.extend(H, "RegionsVariable", true), r.extend(J, "ScheduleVariable", true), r.extend($, "ScheduleGroupVariable", true), r.extend(z, "ShippingOptionVariable", true), r.extend(K, "SkillVariable", true), r.extend(Q, "StringVariable", true), r.extend(X, "SurveyAnswerOptionVariable", true), r.extend(Z, "SurveyFormVariable", true), r.extend(ee, "SurveyQuestionGroupVariable", true), r.extend(te, "SurveyQuestionVariable", true), r.extend(ie, "TimeVariable", true), r.extend(ne, "TimePickerVariable", true), r.extend(oe, "TimeslotVariable", true), r.extend(re, "UserVariable", true), r.extend(ae, "UtilizationLabelVariable", true), r.extend(se, "WheelPickerVariable", true), r.extend(le, "WheelPickerItemVariable", true), r.extend(ue, "WrapupCodeVariable", true), e2.exports = { AssignedCustomerIntentVariable: n2, AssignedCustomerSegmentVariable: o, AudioVariable: v, BoolVariable: I, ButtonVariable: C, CampaignVariable: R, CardVariable: O, 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: q, QueueVariable: W, 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: oe, UserVariable: re, UtilizationLabelVariable: ae, VideoVariable: A, VoiceSnippetVariable: N, WheelPickerVariable: se, WheelPickerItemVariable: le, WrapupCodeVariable: ue }; + }, 10311(e2, t2, i2) { + const n2 = i2(50700), o = i2(57108), r = i2(92646), a = i2(36019).default; + function s() { + } + const l = new s(); + s.prototype.getCategoryList = a.request("GET", "{public-api.apps}/api/v2/bridge/useractions/categories", r), s.prototype.getMetaData = a.request("GET", "{public-api.apps}/api/v2/bridge/useractions/metadata/{name}", n2), s.prototype.getMetaDataList = a.request("GET", "{public-api.apps}/api/v2/bridge/useractions/metadata", o); + const u = { ignoreBadResponse: true }; + l.getCategoryList.addOptions(u), l.getMetaData.addOptions(u), l.getMetaDataList.addOptions(u), e2.exports = l; + }, 42660(e2, t2, i2) { + const n2 = i2(58649), o = i2(90700), r = i2(36019).default; + function a() { + } + const s = new a(); + a.prototype.getContactList = r.request("GET", "{public-api.apps}/api/v2/outbound/contactlists/{id}", n2), a.prototype.getContactListsDivisionViews = r.request("GET", "{public-api.apps}/api/v2/outbound/contactlists/divisionViews", o), s.getContactListsDivisionViews.addOptions({ ignoreBadResponse: true }), e2.exports = s; + }, 21623(e2, t2, i2) { + const n2 = i2(12614), o = i2(92378), r = i2(95275), a = i2(36019).default; + class s { + } + const l = new s(), u = { ignoreBadResponse: true }; + s.prototype.getBots = a.request("GET", "{public-api.apps}/api/v2/dialog/integrations/bots", o, u), s.prototype.getBot = a.request("GET", "{public-api.apps}/api/v2/dialog/integrations/bots/{id}", n2, u), s.prototype.getVersion = a.request("GET", "{public-api.apps}/api/v2/dialog/integrations/bots/{botId}/versions/{versionId}", r, u), e2.exports = l; + }, 49617(e2, t2, i2) { + const n2 = i2(48584), o = i2(62896), r = i2(5233), a = i2(49493), s = i2(36019).default; + class l { + } + const u = new l(), c = { ignoreBadResponse: true }; + l.prototype.getAgents = s.request("GET", "{public-api.apps}/api/v2/integrations/speech/dialogflow/agents/", o, 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}", r, c), e2.exports = u; + }, 29565(e2, t2, i2) { + const n2 = i2(94830), o = i2(36019).default, r = i2(50778); + function a() { + } + const s = new a(); + a.prototype.getDivisions = o.request("GET", "{public-api.apps}/api/v2/authorization/divisions", n2), a.prototype.getDivision = o.request("GET", "{public-api.apps}/api/v2/authorization/divisions/{id}", r), s.getDivisions.addOptions({ ignoreBadResponse: true }), e2.exports = s; + }, 61192(e2, t2, i2) { + const { NameIdDescriptionModel: n2 } = i2(84050), { NameIdDescriptionModelList: o } = i2(71535), r = i2(36019).default; + class a { + } + const s = new a(); + a.prototype.getMilestones = r.request("GET", "{public-api.apps}/api/v2/flows/milestones", o), a.prototype.getMilestone = r.request("GET", "{public-api.apps}/api/v2/flows/milestones/{id}", n2), a.prototype.getMilestonesDivisionView = r.request("GET", "{public-api.apps}/api/v2/flows/milestones/divisionviews", o), a.prototype.getMilestoneDivisionView = r.request("GET", "{public-api.apps}/api/v2/flows/milestones/divisionviews?id={id}", o), a.prototype.getOutcomes = r.request("GET", "{public-api.apps}/api/v2/flows/outcomes", o), a.prototype.getOutcome = r.request("GET", "{public-api.apps}/api/v2/flows/outcomes/{id}", n2), a.prototype.getOutcomesDivisionView = r.request("GET", "{public-api.apps}/api/v2/flows/outcomes/divisionviews", o), a.prototype.getOutcomeDivisionView = r.request("GET", "{public-api.apps}/api/v2/flows/outcomes/divisionviews?id={id}", o); + const l = { ignoreBadResponse: true }; + s.getOutcome.addOptions(l), s.getOutcomeDivisionView.addOptions(l), s.getOutcomes.addOptions(l), s.getOutcomesDivisionView.addOptions(l), s.getMilestone.addOptions(l), s.getMilestoneDivisionView.addOptions(l), s.getMilestones.addOptions(l), s.getMilestonesDivisionView.addOptions(l), e2.exports = s; + }, 64420(e2, t2, i2) { + const n2 = i2(44250), o = i2(24893), r = 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 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", o), 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", r), 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", o), 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), 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) => { + 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; + }, 54501(e2, t2, i2) { + const n2 = i2(79238), o = i2(37338), r = i2(36019).default; + function a() { + } + const s = new a(); + a.prototype.getGroup = r.request("GET", "{public-api.apps}/api/v2/groups/{id}", n2), a.prototype.getGroups = r.request("POST", "{public-api.apps}/api/v2/groups/search", o), s.getGroups.addOptions({ ignoreBadResponse: true }), e2.exports = s; + }, 90729(e2, t2, i2) { + const n2 = i2(63416), o = i2(83276), r = 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", o), l.prototype.getActionList = s.request("GET", "{public-api.apps}/api/v2/integrations/actions", r), 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 c = { ignoreBadResponse: true }; + u.getCategoryList.addOptions(c), u.getActionList.addOptions(c), e2.exports = u; + }, 93973(e2, t2, i2) { + const n2 = i2(68511), o = i2(77396), r = i2(36019).default; + function a() { + } + const s = new a(); + a.prototype.getLanguageSkill = r.request("GET", "{public-api.apps}/api/v2/routing/languages/{id}", n2), a.prototype.getLanguageSkills = r.request("GET", "{public-api.apps}/api/v2/routing/languages", o), e2.exports = s; + }, 19202(e2, t2, i2) { + const n2 = i2(87290), o = i2(30702), r = i2(46387), a = i2(10438), s = i2(20730), l = i2(83959), u = i2(36019).default; + class c { + } + const d = new c(); + c.prototype.getBots = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bots", r), c.prototype.getAliases = u.request("GET", "{public-api.apps}/api/v2/integrations/speech/lex/bot/{botId}/aliases", o), 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 }; + 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; + }, 10954(e2, t2, i2) { + const { DarthUploadResponse: n2 } = i2(94829), o = i2(73198).default, { PromptContainerList: r } = 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 d(); + d.prototype.audioUpload = c.request("POST"), d.prototype.audioUpload.manualRequestTimeoutMs = 2 * o.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", r), d.prototype.getSystemPromptContainers = c.request("GET", "{public-api.apps}/api/v2/architect/systemprompts", r), 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; + }, 25149(e2, t2, i2) { + const n2 = i2(36370), o = i2(84670), r = i2(71698), a = i2(36019).default; + function s() { + } + const l = new s(); + s.prototype.getQueues = a.request("GET", "{public-api.apps}/api/v2/routing/queues", r), l.getQueues.addOptions({ allowRequestChunking: true, chunkingNumber: 25, chunkingParamName: "id" }), s.prototype.getQueue = a.request("GET", "{public-api.apps}/api/v2/routing/queues/{id}", o), s.prototype.getQueuesDivisionViews = a.request("GET", "{public-api.apps}/api/v2/routing/queues/divisionViews", n2), l.getQueues.addOptions({ ignoreBadResponse: true }), l.getQueuesDivisionViews.addOptions({ ignoreBadResponse: true }), e2.exports = l; + }, 81621(e2, t2, i2) { + const { Response: n2 } = i2(4251), { ResponseLibrary: o } = i2(23436), { ResponseAsset: r } = i2(23343), { ResponseAssetList: a } = i2(5080), { ResponseLibraryList: s } = i2(89240), { ResponseList: l } = i2(24247), u = i2(36019).default; + function 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}", o), c.prototype.getLibraryDivisionView = u.request("GET", "{public-api.apps}/api/v2/responsemanagement/libraries/divisionviews/{id}", o), 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}", r), 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; + }, 92737(e2, t2, i2) { + const n2 = i2(15338), o = i2(34622), r = i2(67513), a = i2(36019).default; + function s() { + } + const l = new s(); + s.prototype.getScript = a.request("GET", "{public-api.apps}/api/v2/scripts/published/{id}", n2), s.prototype.getScriptDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews/?id={id}", o), s.prototype.getScripts = a.request("GET", "{public-api.apps}/api/v2/scripts/published", o), s.prototype.getScriptsDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews", o), s.prototype.getScriptsForFeature = a.request("GET", "{public-api.apps}/api/v2/scripts/published?feature={feature}", o), s.prototype.getScriptsForFeatureDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews?feature={feature}", o), s.prototype.getScriptVariables = a.request("GET", "{public-api.apps}/api/v2/scripts/published/{id}/variables", r), s.prototype.getScriptVariablesDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews/{id}/variables", r), l.getScripts.addOptions({ ignoreBadResponse: true }), l.getScript.addOptions({ ignoreBadResponse: true }), l.getScriptsDivisionView.addOptions({ ignoreBadResponse: true }), l.getScriptDivisionView.addOptions({ ignoreBadResponse: true }), e2.exports = l; + }, 86991(e2, t2, i2) { + const n2 = i2(92289), o = i2(36019).default; + function r() { + } + const a = new r(); + r.prototype.connect = o.request("POST", "{public-api.apps}/api/v2/auth/sessions", n2), r.prototype.disconnect = o.request("DELETE", "{public-api.apps}/api/v2/auth/sessions/{id}"), e2.exports = a; + }, 13991(e2, t2, i2) { + const n2 = i2(80800), o = i2(1736), r = i2(36019).default; + function a() { + } + const s = new a(); + a.prototype.getSkill = r.request("GET", "{public-api.apps}/api/v2/routing/skills/{id}", n2), a.prototype.getSkills = r.request("GET", "{public-api.apps}/api/v2/routing/skills", o), s.getSkills.addOptions({ ignoreBadResponse: true }), e2.exports = s; + }, 87200(e2, t2, i2) { + const n2 = i2(35515), o = i2(84940), r = i2(36019).default, a = i2(29526); + function s() { + } + const l = new s(); + s.prototype.featureToggles = r.request("GET", "{public-api.apps}/api/v2/featuretoggles", o), s.prototype.orgInfo = r.request("GET", "{public-api.apps}/api/v2/organizations/me", o), s.prototype.getTimeZones = r.request("GET", "{public-api.apps}/api/v2/telephony/providers/edges/timezones?pageSize=1000", a), s.prototype.getAuthToken = r.request("POST", "{auth}/token", o), s.prototype.mainAppHtml = r.request("GET", n2.values.local ? "http://" + window.location.host : "{purecloud.uri}/architect"), s.prototype.reportError = r.request("POST", "{public-api.apps}/api/v2/diagnostics/support"), s.prototype.trace = r.request("POST", "{public-api.apps}/api/v2/diagnostics/trace", null), l.featureToggles.addOptions({ ignoreBadResponse: true, allowRequestChunking: true, chunkingParamName: "feature", chunkResultsHandling: "chunkResponseToKeyValue" }), l.trace.addOptions({ ignoreTimeouts: true, ignoreBadResponse: true, suppressSuccessTrace: true }), l.orgInfo.addOptions({ ignoreBadResponse: true }), l.mainAppHtml.addOptions({ ignoreBadResponse: true }), e2.exports = l; + }, 80517(e2, t2, i2) { + const n2 = i2(99505).A, o = i2(59964), r = i2(83462), a = i2(92314), s = i2(36019).default; + function l() { + } + const u = new l(); + l.prototype.getCurrentUser = s.request("GET", "{public-api.apps}/api/v2/users/me?expand=token,authorization", r), l.prototype.getCurrentToken = s.request("GET", "{public-api.apps}/api/v2/tokens/me", o), l.prototype.getUser = s.request("GET", "{public-api.apps}/api/v2/users/{id}", r), l.prototype.getUserRolesAndPermissions = s.request("GET", "{public-api.apps}/api/v2/users/{id}/roles", n2), l.prototype.getUsers = s.request("POST", "{public-api.apps}/api/v2/users/search", a), u.getUsers.addOptions({ ignoreBadResponse: true }), e2.exports = u; + }, 89878(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(15139); + class r { + } + const a = new r(); + r.prototype.getValidationResults = n2.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/validate/{operationId}", o), r.prototype.postValidationManifest = n2.request("POST", "{public-api.apps}/api/v2/flows/actions/validate", o), a.getValidationResults.addOptions({ ignoreBadResponse: true }), a.postValidationManifest.addOptions({ ignoreBadResponse: true }), e2.exports = a; + }, 95712(e2, t2, i2) { + const n2 = i2(36019).default, o = i2(54557), r = i2(48481); + function a() { + } + const s = new a(); + a.prototype.getWrapupCode = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes/{id}", o), a.prototype.getWrapupCodeDivisionView = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes/divisionviews/{id}", o), a.prototype.getWrapupCodes = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes", r), a.prototype.getWrapupCodesDivisionView = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes/divisionviews", r), s.getWrapupCodes.addOptions({ ignoreBadResponse: true }), s.getWrapupCodesDivisionView.addOptions({ ignoreBadResponse: true }), e2.exports = s; + }, 80693(e2, t2, i2) { + const n2 = i2(92140), { ParameterInfo: o } = i2(55909), { ParameterValidator: r } = i2(33951); + e2.exports = class { + constructor(e3) { + r.expectBool(e3, () => o.createConstructorParameter(this.className, "enableLogging"), true), Object.defineProperties(this, { _lastLogHeaderWritten: { writable: true, enumerable: true }, _logHeaders: { value: [], enumerable: false }, _shouldLog: { value: true === e3, writable: true, enumerable: true }, _suppressLogHeaders: { value: false, writable: true, enumerable: false } }); } - _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) }))); - } - } + get className() { + return "ClipboardLogging"; } - _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; + get isClipboardLogging() { + return true; } - _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)); - } - }); + get shouldLog() { + return this._shouldLog; } - _claimsNestedOutputKey(e3) { - return false; + set shouldLog(e3) { + this._shouldLog = r.expectBool(e3, () => o.createPropertySet(this.className, "shouldLog", "newValue")); } - _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)); - }); + get suppressLogHeaders() { + return this._suppressLogHeaders; } - _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); + set suppressLogHeaders(e3) { + this._suppressLogHeaders = r.expectBool(e3, () => o.createPropertySet(this.className, "suppressLogHeaders", "newValue")); } - _resolveOrCreateOutputBranch(e3) { - const t3 = O.outputIds[e3]; - if (t3) { - const e4 = this.getBranch(t3); - if (e4) return e4; + _log(e3, t3) { + if (this._shouldLog) { + if (!this._suppressLogHeaders && this._logHeaders.length > 0) { + const e4 = "clipboard: " + this._logHeaders[this._logHeaders.length - 1]; + e4 !== this._lastLogHeaderWritten && (this._lastLogHeaderWritten = e4, console.log("Clipboard: " + this._logHeaders[this._logHeaders.length - 1])); + } + console.log("Clipboard: " + (n2.isString(t3) && t3.length ? t3 + " " : "") + e3); } - 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 a.default.findWhere(this.branches, { id: e3 }); + log(e3) { + this._log(e3); } - setBranchOutOfService(e3, t3) { - const i3 = this.getBranch(e3); - return !!i3 && (i3.outOfService = !!a.default.isUndefined(t3) || t3, true); + logError(e3) { + this._log(e3, "ERROR"); } - getBranchByLabel(e3, t3) { - return t3 ? a.default.find(this.branches, function(t4) { - return t4.label === e3 && "__" !== t4.id.substring(0, 2); - }) : a.default.findWhere(this.branches, { label: e3 }); + logException(e3, t3) { + let i3 = n2.isString(t3) ? t3 : ""; + e3 && e3.message && (i3 = i3 + " -> " + e3.message), this._log(i3, "EXCEPTION"); } - getOptionalBranchInfoIndexByLabel(e3) { - return a.default.findIndex(this.optionalBranchInfo, { label: e3 }); + pushLogHeader(e3) { + this._logHeaders.push("[ " + e3 + " ]"); } - getOptionalBranchInfo(e3) { - if (e3) return a.default.find(this.optionalBranchInfo, function(t3) { - return t3.outputId === e3; - }); + popLogHeader() { + this._logHeaders.length > 0 && this._logHeaders.pop(); } - getBranchInfo(e3) { - if (e3) return a.default.find(this.branchInfos, function(t3) { - return t3.outputId === e3; - }) || a.default.find(this.optionalBranchInfo, function(t3) { - return t3.outputId === e3; - }); + }; + }, 22668(e2, t2, i2) { + const n2 = i2(92140), o = i2(45421), r = i2(25190), { ParameterInfo: a } = i2(55909), { ParameterValidator: s } = i2(33951); + e2.exports = class extends o { + constructor(e3) { + super(e3), Object.defineProperties(this, { _clipboardObject: { writable: true, enumerable: false }, _pasteCurrentContent: { writable: true, enumerable: false }, _pasteDestActionContainer: { writable: true, enumerable: false }, _pasteDestMenuOrStateOrTaskArray: { writable: true, enumerable: false }, _pasteDestFlowVariableGroup: { writable: true, enumerable: false }, _pasteDestFlowViewModel: { writable: true, enumerable: false }, _pasteDestViewModelTaskOrState: { writable: true, enumerable: false }, _pasteDestViewModel: { writable: true, enumerable: false }, _pasteInProgress: { writable: true, enumerable: false }, _pasteOldIdToNewIdMap: { writable: true, enumerable: false, value: new r(this.clipboardLogging, "ID Map") }, _pasteOldMenuNameToNewMenuNameMap: { writable: true, enumerable: false, value: new r(this.clipboardLogging, "Menu Name Map") }, _pasteOldTaskNameToNewTaskNameMap: { writable: true, enumerable: false, value: new r(this.clipboardLogging, "Task Name Map") }, _pasteOldTrackingIdToNewTrackingIdMap: { writable: true, enumerable: false, value: new r(this.clipboardLogging, "Tracking ID Map") }, _pasteOldStateNameToNewStateNameMap: { writable: true, enumerable: false, value: new r(this.clipboardLogging, "State Name Map") }, _pasteOldVariableNameToNewVariableNameArray: { writable: true, enumerable: false }, _pasteSettings: { writable: true, enumerable: false } }), this.reset(); } - _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(); + _fixDestinationViewModel(e3) { + return e3 ? e3.isMenuChoice && e3.isSubMenu && e3.menu ? e3.menu : e3 : null; } - propertyChanged(e3) { - 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)); + get pasteActionsToEndOfActionContainer() { + return !!this._pasteSettings && this._pasteSettings.pasteActionsToEndOfActionContainer; } - 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, K.action.action) || e3.checkName(this, this.name, K.action.action), a.default.each(this.managedPropertyViewModels, function(t4) { - e3.addToQueue(t4); - }.bind(this)); - } - get terminationInfo() { - return this.info.getTerminationInfo(this.parentFlow.type); - } - get doesTerminate() { - return this.parentFlow.destinationFlowTypes.every((e3) => this.info.getTerminationInfo(e3).doesTerminate); - } - _resetParent(e3) { - super._resetParent(e3), this._topParent = this._getTopParent(); + get additionalInfo() { + return this._pasteSettings ? this._pasteSettings.additionalInfoResults : void 0; } - _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; ) 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; + get className() { + return "ClipboardPasteContext"; } - _setTopParent() { - this._topParent = this._getTopParent(); + get clipboardObject() { + return this._clipboardObject; } - get topParent() { - return this._topParent; + get destAllowableClipboardContentTypes() { + return this._pasteSettings ? this._pasteSettings.allowableClipboardContentTypes : void 0; } - get trackingId() { - return this.model.trackingId; + get currentContent() { + return this._pasteCurrentContent; } - set trackingId(e3) { - b.setNodeTrackingId(this, e3); + get destFlowViewModel() { + return this._pasteDestFlowViewModel; } - get uiMetaData() { - return this.model.uiMetaData; + get destFlowVariableGroup() { + return this._pasteDestFlowVariableGroup; } - set uiMetaData(e3) { - this.model.uiMetaData = e3; + get destActionContainer() { + return this._pasteDestActionContainer; } - destroyChildren() { - delete this.menu, delete this.task, this.hasValidationWarning = false, this.hasValidationError = false; - for (let e3 = this.branches.length - 1; e3 >= 0; e3--) { - const t3 = this.branches[e3]; - try { - 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, a.default.each(this.managedPropertyViewModels, (e3) => { - e3.destroy(); - }), a.default.each(Q.getManagedProperties(this), (e3) => { - this[e3.property] && delete this[e3.property]; - }); + get destMenuOrStateOrTaskArray() { + return this._pasteDestMenuOrStateOrTaskArray; } - _preDestroy() { - super._preDestroy(), this.amObjectEventSink && v.unregisterEventSink(this), this.amObjectEventEmitter && v.removeEventEmitter(this), y.unRegisterConsumerEntirely(this), g.actionRegistrationService.unregisterItem(this); + get destViewModel() { + return this._pasteDestViewModel; } - _postDestroy() { - var e3; - super._postDestroy(), (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.isDestroyedOrDestroying) || l.emitter.emit(l.actionDestroyed); + get destViewModelTaskOrState() { + return this._pasteDestViewModelTaskOrState; } - updateDependencies() { - a.default.each(this.managedPropertyViewModels, function(e3) { - e3.isExpression ? y.registerExpression(e3, true) : e3.updateDependencies(); - }.bind(this)); + set destViewModelTaskOrState(e3) { + this._pasteDestViewModelTaskOrState = s.expectTrue(!n2.isUndefined(e3) && e3.isTaskLike, e3, "BaseTaskViewModel", () => a.createPropertySet(this.className, "destViewModelTaskOrState", "newValue is not a state or task")); } - validate(e3) { - var t3, i3; - 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 x.default(this.parentFlow, e3.isDeep); - t4.expression.validate(i4), t4.expression.hasError && e3.addError(this, K.expression.internalErrorExpression); - } - }.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))); + getDestFlowNameAndIdStr() { + return this._getNameAndIdStr(this._pasteDestFlowViewModel); } - _reloadAllBranches() { - z.loadBranches(this); - for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(); + get pasteInProgress() { + return this._pasteInProgress; } - _addBranch(e3) { - const t3 = z.addBranch(this, e3); - return t3 && t3.initialize(), this.updateTermination(), l.emitter.emit(l.branchesChanged), t3; + get pasteSettings() { + return this._pasteSettings; } - _removeBranch(e3) { - z.removeBranch(this, e3), this.updateTermination(), l.emitter.emit(l.branchesChanged); + get oldIdToNewIdMap() { + return this._pasteOldIdToNewIdMap; } - _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)(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; - } - }), !t3; + get oldMenuNameToNewMenuNameMap() { + return this._pasteOldMenuNameToNewMenuNameMap; } - addOptionalPathsFromModel(e3) { - if (e3.paths) for (let t3 = 0; t3 < e3.paths.length; t3++) { - const i3 = e3.paths[t3]; - this.getBranchInfo(i3.outputId) || this.addOptionalBranchInfo(i3, true); - } + get oldStateNameToNewStateNameMap() { + return this._pasteOldStateNameToNewStateNameMap; } - claim(e3) { - this._resetParent(e3); + get oldTaskNameToNewTaskNameMap() { + return this._pasteOldTaskNameToNewTaskNameMap; } - checkVersion(e3) { - e3.checkVersion(this.version), e3.checkFeatures(this.info.requirements), a.default.each(this.managedPropertyViewModels, function(t3) { - t3.checkVersion(e3); - }.bind(this)); + _performDestroy() { + this.reset(); } - get containedActionCount() { - if (!this.branches || 0 === this.branches.length) return 0; - let e3 = 0; - return a.default.each(this.branches, function(t3) { - e3 += t3.containedActionCount; - }), e3; + dump() { + if (!this.shouldLog) return; + const e3 = this.suppressLogHeaders; + this.suppressLogHeaders = true, this.log("----------------------------------------------------------------------------------------"), this.log(" Paste Context Contents"), this.log(" ----------------------"), this._pasteOldIdToNewIdMap.dump(), this.log("> Variable Name Map"), n2.isEmpty(this._pasteOldVariableNameToNewVariableNameArray) ? this.log(" None.") : n2.each(this._pasteOldVariableNameToNewVariableNameArray, function(e4) { + this.log(" " + e4.oldVarName + " -> " + e4.newVarName); + }.bind(this)), this.log(""), this._pasteOldTrackingIdToNewTrackingIdMap.dump(), this._pasteOldStateNameToNewStateNameMap.dump(), this._pasteOldTaskNameToNewTaskNameMap.dump(), this._pasteOldMenuNameToNewMenuNameMap.dump(), this.log("----------------------------------------------------------------------------------------"), this.suppressLogHeaders = e3; } - containsAudioForLang(e3) { - const t3 = this.getAudioNodes(); - return 0 !== t3.length && !!a.default.find(t3, function(t4) { - const i3 = t4.getCaseForLang(e3); - if (i3 && i3.hasAudioSet || t4.defaultAudio.hasAudioSet) return true; - }); + get isClipboardPasteContext() { + return true; } - generateAudioExpression() { - 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), 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))) { - const t3 = e3.getReplacementValues.call(this); - e3.audioSequencer.buildExpression(e3.getPlaybackMode.call(this), t3); - } - }.bind(this)); + get currentContentFlowId() { + return this.currentContent.originalObjectFlowId; } - getAudioNodes() { - return this.parent.isSubMenu ? [this.menu.prompts] : a.default.where(this.managedPropertyViewModels, { isAudioViewModel: true }); + resetCurrentContent() { + this._pasteCurrentContent = void 0; } - getNextTaskRuntimeAction() { - if (this.topParent.isTaskLike) { - let e3 = this.parent, t3 = e3.nextAction; - for (; !t3 && (e3 = e3.parent, e3); ) t3 = e3.nextAction; - return t3; - } - return null; + setCurrentContent(e3) { + this._pasteCurrentContent = s.expectTrue(!n2.isUndefined(e3) && e3.isBaseClipboardContentViewModel, e3, "BaseClipboardContentViewModel", () => a.createFunctionParameter(this.className, "setCurrentContent", "clipboardContentViewModel is a base clipboard content view model")); } - getPromptsUsed(e3) { - let t3 = []; - const i3 = this.getAudioNodes(); - if (i3.length > 0) for (let n3 = 0; n3 < i3.length; n3++) t3 = a.default.union(t3, i3[n3].getPromptsUsedForLang(e3)); - return t3; + setContentDestViewModel(e3) { + this._pasteContentDestViewModel = e3; } - get hasBranchWithError() { - return !!a.default.findWhere(this.branches, { hasValidationError: true }); + setPasteContext(e3, t3, i3, o2) { + this.reset(), this._clipboardObject = s.expectTrue(!n2.isUndefined(e3) && e3.isClipboardObject, e3, "ClipboardObjectViewModel", () => a.createFunctionParameter(this.className, "setPasteContext", "clipboardObjectViewModel is a clipboard object instance")), this._pasteInProgress = true, o2 && (this._pasteSettings = s.expectTrue(o2.isClipboardPasteSettings, o2, "ClipboardPasteSettings", () => a.createFunctionParameter(this.className, "setPasteContext", "pasteSettings is a clipboard paste settings instance"))), i3 = this._fixDestinationViewModel(i3), this._pasteDestFlowViewModel = s.expectTrue(!n2.isUndefined(t3) && t3.isFlowViewModel, t3, "FlowViewModel", () => a.createFunctionParameter(this.className, "setPasteContext", "destFlowViewModel is a flow view model")), this._pasteDestViewModel = s.expectObject(i3, () => a.createFunctionParameter(this.className, "setPasteContext", "destViewModel is an object")), this._pasteDestViewModel.isFlowViewModel || this._pasteDestViewModel.isSubMenu || this._pasteDestViewModel.isMenu || this._pasteDestViewModel.isMenuChoice ? this._pasteDestViewModelTaskOrState = void 0 : (this._pasteDestViewModelTaskOrState = this._pasteDestViewModel.isTaskLike ? this._pasteDestViewModel : this._pasteDestViewModel.topParent, s.expectObject(this._pasteDestViewModelTaskOrState, () => a.createFunctionParameter(this.className, "setPasteContext", "destViewModel cannot determine local scoped variable container"))), this._pasteDestViewModel.parent !== this._pasteDestFlowViewModel || this._pasteDestViewModel !== this._pasteDestFlowViewModel.states && this._pasteDestViewModel !== this._pasteDestFlowViewModel.tasks && this._pasteDestViewModel !== this._pasteDestFlowViewModel.menus || (this._pasteDestMenuOrStateOrTaskArray = this._pasteDestViewModel, this._pasteDestViewModelTaskOrState = void 0); + let r2 = this._pasteDestViewModel; + for (; r2 && !r2.isActionContainerViewModel; ) r2 = r2.parent; + this._pasteDestActionContainer = r2 && r2.isActionContainerViewModel ? r2 : void 0, this._pasteDestFlowVariableGroup = this._pasteDestFlowViewModel.variableGroup; } - get hasBranchWithWarning() { - return !!a.default.findWhere(this.branches, { hasValidationWarning: true }); + resolveOldId(e3) { + return this._pasteOldIdToNewIdMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); } - initialize() { - super.initialize(); - for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(); - this.updateTermination(true); + setOldIdToNewIdMapping(e3, t3) { + this._pasteOldIdToNewIdMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); } - setNewInstanceDefaults(e3) { - a.default.each(this.managedPropertyViewModels, function(e4) { - a.default.isFunction(e4.setNewInstanceDefaults) && e4.setNewInstanceDefaults(); - }); + resolveOldIdToOldName(e3) { + return this.currentContent.resolveOldIdToOldName(e3); } - get isAction() { - return true; + resolveOldMenuName(e3) { + return this._pasteOldMenuNameToNewMenuNameMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); } - log() { - console.log(this.name, this.previousAction ? this.previousAction.name : void 0, this.nextAction ? this.nextAction.name : void 0), this.nextAction && this.nextAction.log(); + setOldMenuNameToNewMenuNameMapping(e3, t3) { + this._pasteOldMenuNameToNewMenuNameMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); } - resetTermination() { - a.default.each(this.branches, function(e3) { - e3.resetTermination(); - }); + resolveOldStateName(e3) { + return this._pasteOldStateNameToNewStateNameMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); } - get supportsCustomOutputPaths() { - return false; + setOldStateNameToNewStateNameMapping(e3, t3) { + this._pasteOldStateNameToNewStateNameMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); } - get hasOptionalPaths() { - return false; + resolveOldTaskName(e3) { + return this._pasteOldTaskNameToNewTaskNameMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); } - get terminatingLabel() { - const e3 = this.parentFlow.destinationFlowTypes.find((e4) => this.info.getTerminationInfo(e4).doesTerminate), t3 = this.info.getTerminationInfo(e3); - return (null == t3 ? void 0 : t3.label) ? t3.label : this._terminatingLabel; + setOldTaskNameToNewTaskNameMapping(e3, t3) { + this._pasteOldTaskNameToNewTaskNameMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); } - toString() { - return `Action: ${super.toString()}`; + resolveOldTrackingId(e3) { + return this._pasteOldTrackingIdToNewTrackingIdMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); } - traverse(e3) { - e3.traverseActionProperties && (a.default.find(this.managedPropertyViewModels, function(t3) { - if (t3 && t3.traverse) return t3.traverse(e3), e3.isCanceled; - }.bind(this)), e3.isCanceled || a.default.find(this.branches, function(t3) { - if (t3 && t3.traverse) return t3.traverse(e3), e3.isCanceled; - }.bind(this))); + setOldTrackingIdToNewTrackingId(e3, t3) { + this._pasteOldTrackingIdToNewTrackingIdMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); } - updateTermination(e3) { - const t3 = this.terminatesTaskOrFlow, i3 = this.terminatesLoop, n3 = this.hasBranchTerminatingWithEndTask; - 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 (a.default.each(this.branches, (n4) => { - if (!n4.outOfService && n4.branchInfo.isActionInternal && n4.branchInfo.canTerminate) { - e4++; - 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; + setOldVariableNameToNewVariableNameMapping(e3, t3) { + if (s.expectString(e3, () => a.createFunctionParameter(this.className, "setOldVariableNameToNewVariableNameMapping", "oldVariableName")), s.expectString(t3, () => a.createFunctionParameter(this.className, "setOldVariableNameToNewVariableNameMapping", "newVariableName")), e3 && t3) { + const i3 = e3.toLowerCase(), o2 = { newVarName: t3, oldVarName: i3 }; + if (0 === this._pasteOldVariableNameToNewVariableNameArray.length) this._pasteOldVariableNameToNewVariableNameArray.push(o2); else { - 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; + const e4 = n2.findIndex(this._pasteOldVariableNameToNewVariableNameArray, function(e5) { + return e5.oldVarName === i3; + }.bind(this)); + if (e4 >= 0) this._pasteOldVariableNameToNewVariableNameArray[e4].newVarName = t3; + else { + let e5 = 0; + const t4 = i3.length; + for (; e5 < this._pasteOldVariableNameToNewVariableNameArray.length && !(t4 >= this._pasteOldVariableNameToNewVariableNameArray[e5].oldVarName.length); ) e5++; + this._pasteOldVariableNameToNewVariableNameArray.splice(e5, 0, o2); + } } - } else this.allBranchesTerminate = false; - 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 $.one.zero; - } - static getManagedProperties(e3) { - return u.getManagedProperties(e3); - } - updateTraceTopic() { - var e3; - 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, r3, s2; - if (!this.parentFlow.definition.supportsLanguages || !t3) return; - if (!(null === (n3 = t3.definition) || void 0 === n3 ? void 0 : n3.supportsLanguages)) return; - 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)); + this.log("Saved old variable name '" + e3 + "' to new variable name '" + t3 + "' mapping."); } - 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); - } - get relatedIssueIds() { + getOldVariableNameToNewNameArray() { + return this._pasteOldVariableNameToNewVariableNameArray; } - get nodeId() { - return this.info.id; + reset() { + this._pasteInProgress = false, this._pasteCurrentContent = void 0, this._pasteDestActionContainer = void 0, this._pasteDestFlowViewModel = void 0, this._pasteDestViewModel = void 0, this._pasteDestViewModelTaskOrState = void 0, this._pasteOldIdToNewIdMap.reset(), this._pasteOldMenuNameToNewMenuNameMap.reset(), this._pasteOldStateNameToNewStateNameMap.reset(), this._pasteOldTrackingIdToNewTrackingIdMap.reset(), this._pasteOldTaskNameToNewTaskNameMap.reset(), this._pasteOldVariableNameToNewVariableNameArray = []; } - } - 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; - var n2 = i2(62326), r2 = i2(72885), o = i2(5825); - t2.delay = function(e3, t3) { - void 0 === t3 && (t3 = n2.asyncScheduler); - var i3 = o.timer(e3, t3); - return r2.delayWhen(function() { - return i3; - }); - }; - }, 5825: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.timer = void 0; - var n2 = i2(48051), r2 = i2(62326), o = i2(68596), a = i2(85345); - t2.timer = function(e3, t3, i3) { - void 0 === e3 && (e3 = 0), void 0 === i3 && (i3 = r2.async); - var s = -1; - return null != t3 && (o.isScheduler(t3) ? i3 = t3 : s = t3), new n2.Observable(function(t4) { - var n3 = a.isValidDate(e3) ? +e3 - i3.now() : e3; - n3 < 0 && (n3 = 0); - var r3 = 0; - return i3.schedule(function() { - t4.closed || (t4.next(r3++), 0 <= s ? this.schedule(void 0, s) : t4.complete()); - }, n3); - }); }; - }, 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findGrammar.findGrammarNameLabel, searchResultLabel: d.findActions.findGrammar.findGrammarResultLabel, searchResultExpressionOptions: o.ExpressionTypeGrammarOptions.create(), searchResultItemType: a.expressionTypeNames.grammar }); - } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "imageCollection"; - } - get displayTypeName() { - return "ArchVariableImageCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableImageCollection() { - return true; - } - } - t2.default = r2; - }, 5894: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFailureOutputsActionModel = void 0; - const n2 = i2(31635), r2 = i2(80934), o = i2(80295), a = i2(80295), s = i2(90807); - class l extends r2.BaseActionWithOutputsModel { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_errorBindings"); - } - get errorBindings() { - return this._errorBindings; - } - set errorBindings(e3) { - this._errorBindings = this.reviveArray(e3, s); - } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); - } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)); - } - } - t2.BaseFailureOutputsActionModel = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "errorBindings", null); - }, 5896: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefInQueueEmailFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(27862); - class s extends r2.BriefFlowListManager { - get dependencyType() { - return a.InqueueEmailFlow; - } + }, 6291(e2, t2, i2) { + const { ParameterInfo: n2 } = i2(55909), { ParameterValidator: o } = i2(33951); + class r { constructor() { - super(), this.topic = n2.getTopic("BriefInQueueEmailFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeInQueueEmail }, this.className = "BriefInQueueEmailFlowListManager", this.flowType = o.flowTypes.flowTypeInQueueEmail, this._initialize(); + Object.defineProperties(this, { _isWarning: { value: false, writable: true, enumerable: false }, _messageDisplayStr: { writable: true, enumerable: false }, _messageInternalStr: { writable: true, enumerable: false }, _result: { value: false, writable: true, enumerable: false } }); } - } - t2.briefInQueueEmailFlowListManager = new s(); - }, 6022: (e2, t2, i2) => { - const n2 = i2(98962); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "FlowVersionList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 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)), 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 c.default(this), this.speechRecognition = new h.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling), this._addToAutoManageSettings(this.speechRecognition); + static createFailureResult(e3, t3) { + return new r().setResult(false).setMessageDisplayStr(e3).setMessageInternalStr(t3); } - 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; + static createSuccessResult(e3, t3) { + return new r().setResult(true).setMessageDisplayStr(e3).setMessageInternalStr(t3); } - checkVersion(e3) { - this.initialPrompts.checkVersion(e3), super.checkVersion(e3); + static createSuccessWarningResult(e3, t3) { + const i3 = new r().setResult(true).setMessageDisplayStr(e3).setMessageInternalStr(t3); + return i3._isWarning = true, i3; } get className() { - return "CommonCallFlowViewModel"; - } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, o.scopes.call, o.scopes.interaction]; - } - getFlowConfigurationClass() { - return g; - } - search(e3) { - e3.addToQueue(this.initialPrompts), super.search(e3); - } - updateDependencies() { - this.initialPrompts.updateDependencies(), super.updateDependencies(); - } - speechRecEnabled() { - return this.speechRecognition && this.speechRecognition.disableAsr && this.speechRecognition.disableAsr.text === d.default.false; - } - validate(e3) { - const t3 = super.validate(e3); - return this.definition.supportsSpeechRec && this.speechRecEnabled() && this.getUsesSpeechRec(), t3; - } - _destroy() { - super._destroy(), this.initialPrompts && this.initialPrompts.destroy(); - } - _getUsesSpeechRec() { - return !!super._getUsesSpeechRec() || !!a.actionRegistrationService.getHasActionsOfActionType(this, _.lexActionType) || !r2.default.isUndefined(r2.default.find(this.menus, (e3) => e3.getUsesSpeechRec())); - } - _loadConfiguration(e3) { - this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), super._loadConfiguration(e3), this.initialPrompts = new s.AudioViewModel(this, this, e3.initialPrompts, l.AudioViewModelOptions.create().setLabel(m.initialGreetingLabel).setIninTestingField("initialGreeting")); - } - _initializeDesignTime() { - super._initializeDesignTime(), this.initialPrompts && this.initialPrompts.initializeDesignTime(); - } - } - t2.default = f; - }, 6074: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreActionContainerViewModel = e3; + return "ClipboardResult"; } - get actionCount() { - return this._coreActionContainerViewModel.children.length; + get messageDisplayStr() { + return this._messageDisplayStr; } - get actionFirst() { - const e3 = this._coreActionContainerViewModel.topAction; - if (e3) return this.coreFactory.createArchWrapper(e3); + set messageDisplayStr(e3) { + this._messageDisplayStr = o.expectString(e3, () => n2.createPropertySet(this.className, "messageDisplayStr", "newValue"), true); } - get actionLast() { - const e3 = this._coreActionContainerViewModel.lastAction; - if (e3) return this.coreFactory.createArchWrapper(e3); + get messageInternalStr() { + return this._messageInternalStr; } - get actions() { - const e3 = []; - let t3 = this._coreActionContainerViewModel.topAction; - if (!t3) return e3; - for (; t3; ) e3.push(this.coreFactory.createArchWrapper(t3)), t3 = t3.nextAction; - return e3; + set messageInternalStr(e3) { + this._messageInternalStr = o.expectString(e3, () => n2.createPropertySet(this.className, "messageDisplayStr", "newValue"), true); } - canAddAction(e3) { - return this._checkItemIsArchDefinitionAction(this._infoParm("archDefinitionAction", "canAddAction"), e3), this._coreActionContainerViewModel.canAddNode(e3._getCoreViewModel().id); + setMessageDisplayStr(e3) { + return this.messageDisplayStr = e3, this; } - deleteAction(e3) { - const t3 = this._infoParm("archActionToDelete", "deleteAction"); - this._checkItem(t3, !e3 || !e3.isArchBaseAction, "The action to delete must be an ArchBaseAction instance."), this.logNote("deleting the action " + e3.logStr + " from the action container " + this.logStr), this._coreActionContainerViewModel.deleteChild(e3._getCoreViewModel()); + setMessageInternalStr(e3) { + return this.messageInternalStr = e3, this; } - get displayTypeName() { - return "ArchBaseMultiActionContainer"; + get isFailure() { + return false === this._result; } - get isArchBaseMultiActionContainer() { - return true; + get isSuccess() { + return true === this._result; } - get isMenuChoiceContainer() { - return this._coreActionContainerViewModel.parent && this._coreActionContainerViewModel.parent.parent && true === this._coreActionContainerViewModel.parent.parent.isMenuChoice; + get isWarning() { + return true === this._isWarning; } - get isTerminated() { - return this._coreActionContainerViewModel.isTerminating; + get result() { + return this._result; } - get isVariableContainer() { - return true === this._isVariableContainer; + set result(e3) { + o.expectBool(e3, () => n2.createPropertySet(this.className, "result", "newValue")), this._result = true === e3; } - moveAction(e3, t3) { - const i3 = this._infoParm("archActionToMove", "moveAction"); - if (this._checkItem(i3, !e3 || !e3.isArchBaseAction, "the action to move must be a valid ArchBaseAction instance."), t3) { - const i4 = this._infoParm("archActionNewPreviousAction", "moveAction"); - this._checkItem(i4, !t3.isArchBaseAction, "the previous action must be a valid ArchBaseAction instance."), e3._getCoreViewModel().parent !== t3._getCoreViewModel().parent && this._itemIsInvalid(i4, "both the archActionToMove and archActionNewPreviousAction actions must be in the same multi action container."), this.logNote("moving " + e3.logStr + " before " + t3.logStr + " in the multi action container."); - } else this.logNote("moving " + e3.logStr + " to the top of the multi action container."); - const n3 = t3 && t3._getCoreViewModel(); - this._coreActionContainerViewModel.moveAction(e3._getCoreViewModel(), n3); + setResult(e3) { + return this.result = e3, this; } } - t2.default = r2; - }, 6085: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "listPicker"; - } - get displayTypeName() { - return "ArchValueListPicker"; - } - get isArchValueListPicker() { - return true; - } - get sections() { - return this._getAssignableProperty("sections"); - } - get receivedMessageImage() { - return this._getAssignableProperty("receivedMessageImage"); - } - get receivedMessageTitle() { - return this._getAssignableProperty("receivedMessageTitle"); - } - get receivedMessageSubtitle() { - return this._getAssignableProperty("receivedMessageSubtitle"); - } - get receivedMessageButtonText() { - return this._getAssignableProperty("receivedMessageButtonText"); - } - get replyMessageImage() { - return this._getAssignableProperty("replyMessageImage"); - } - get replyMessageSubtitle() { - return this._getAssignableProperty("replyMessageSubtitle"); - } - setLiteralListPicker(e3, t3, i3, n3, r3, o, a) { - this.receivedMessageTitle.setLiteralString(i3), this.receivedMessageSubtitle.setLiteralString(n3), this.receivedMessageButtonText.setLiteralString(a), this.replyMessageSubtitle.setLiteralString(o), t3 && this.receivedMessageImage.setLiteralByImageNameAsync(t3), r3 && this.replyMessageImage.setLiteralByImageNameAsync(r3); - } + e2.exports = r; + }, 13126(e2) { + e2.exports = { action: "action", dataType: "dataType", menu: "menu", menuChoice: "menuChoice", state: "state", task: "task", unknown: "unknown" }; + }, 60094(e2) { + e2.exports = { actions: "actions", menus: "menus", menuChoiceAny: "menuChoiceAny", menuChoiceMenu: "menuChoiceMenu", menuChoiceTask: "menuChoiceTask", states: "states", tasks: "tasks" }; + }, 92944(e2) { + e2.exports = { tasks: "tasks", states: "states" }; + }, 7473(e2, t2, i2) { + const n2 = i2(92140), o = i2(39950); + function r() { + Object.defineProperties(this, { _contents: { writable: true } }), r.baseConstructor.apply(this, arguments), n2.isUndefined(this._contents) && (this._contents = []); } - t2.default = r2; - }, 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), 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; - } - get className() { - return "FlowSizeViewModel"; - } - getDisplayName() { - return g.flow.flowSizeNodeTitle; + i2(28403).extend(r, "ClipboardObjectModel", true), Object.defineProperties(r.prototype, { contents: { enumerable: true, get: function() { + return this._contents; + }, set: function(e3) { + this._contents = this.reviveArray(e3, o); + } } }), e2.exports = r; + }, 39950(e2, t2, i2) { + const n2 = i2(92140), o = i2(28403), r = i2(59957), a = i2(93805), s = i2(97329); + function l() { + Object.defineProperties(this, { _dependencies: { value: new a(), writable: true }, _manifest: { value: new s(), writable: true }, _originalObjectInfo: { value: new r(), writable: true } }), this.contentRawJSON = void 0, this.nodeInformationId = void 0, this.name = void 0, this.originalIdToNameMap = {}, l.baseConstructor.apply(this, arguments); + } + o.extend(l, "BaseClipboardContentModel"), Object.defineProperties(l.prototype, { addOldIdToOldNameMapping: { value: function(e3, t3) { + return !(!n2.isString(e3) || !n2.isString(t3) || (this.originalIdToNameMap[e3] = t3, 0)); + } }, configure: { value: function(e3, t3, i3, n3) { + this.contentRawJSON = this.cloneToRawJsonObject(i3), this.name = n3, this.nodeInformationId = t3.info.typeId, this.originalObjectInfo.configure(e3, t3); + } }, dependencies: { enumerable: true, get: function() { + return this._dependencies; + }, set: function(e3) { + this._dependencies = this.reviveItem(e3, a); + } }, manifest: { enumerable: true, get: function() { + return this._manifest; + }, set: function(e3) { + this._manifest = this.reviveItem(e3, s); + } }, originalObjectInfo: { enumerable: true, get: function() { + return this._originalObjectInfo; + }, set: function(e3) { + this._originalObjectInfo = this.reviveItem(e3, r); + } }, resolveOldIdToOldName: { value: function(e3) { + if (n2.isString(e3)) return this.originalIdToNameMap[e3]; + } } }), e2.exports = l; + }, 88732(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "BaseClipboardDependencyModel"), e2.exports = n2; + }, 73649(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "BaseClipboardManifest"), e2.exports = n2; + }, 74817(e2, t2, i2) { + function n2() { + this.id = void 0, this.trackingId = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(73649).extend(n2, "BaseClipboardManifestItemWithTrackingtId"), e2.exports = n2; + }, 28403(e2, t2, i2) { + const n2 = i2(92140), o = i2(93805), r = i2(45214), { uuid: a } = i2(9456); + function s() { + this.createDateTimeStr = void 0, this.id = void 0, s.baseConstructor.apply(this, arguments), n2.isUndefined(this.createDateTimeStr) && (this.createDateTimeStr = (/* @__PURE__ */ new Date()).toISOString()), n2.isUndefined(this.id) && (this.id = a()); + } + r.extend(s, "BaseClipboardModel"), Object.defineProperties(s.prototype, { cloneToRawJsonObject: { value: function(e3) { + return n2.isUndefined(e3) || null === e3 ? e3 : n2.deepClone(e3); + } }, dependencies: { enumerable: true, get: function() { + return this._dependencies; + }, set: function(e3) { + this._variables = this.reviveItem(e3, o); + } } }), e2.exports = s; + }, 29527(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(39950).extend(n2, "ClipboardContentActionModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, o) { + n2._super.configure.apply(this, arguments); + } } }), e2.exports = n2; + }, 49005(e2, t2, i2) { + function n2() { + this.actionInfoId = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(39950).extend(n2, "ClipboardContentMenuChoiceModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, o) { + this.actionInfoId = t3.action && t3.action.info ? t3.action.info.typeId : void 0, n2._super.configure.apply(this, arguments); + } } }), e2.exports = n2; + }, 36024(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(39950).extend(n2, "ClipboardContentMenuModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, o) { + n2._super.configure.apply(this, arguments); + } } }), e2.exports = n2; + }, 59957(e2, t2, i2) { + function n2() { + this.flowId = void 0, this.flowDisplayName = void 0, this.flowType = void 0, this.parentId = void 0, this.parentType = void 0, this.parentName = void 0, this.parentTrackingId = void 0, this.objectId = void 0, this.objectName = void 0, this.objectType = void 0, this.objectTrackingId = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(45214).extend(n2, "ClipboardContentOriginalObjectInfoModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3) { + let i3; + const n3 = t3.topParent || t3.parent; + n3 && (n3.isTaskLike || n3.isMenu) && (i3 = n3), this.flowId = e3.id, this.flowDisplayName = e3.displayName, this.flowType = e3.info.type, this.parentId = i3 ? i3.id : void 0, this.parentType = i3 ? i3.info.typeId : void 0, this.parentName = i3 ? i3.name : void 0, this.parentTrackingId = i3 ? i3.trackingId : void 0, this.objectId = t3.id, this.objectName = t3.name, this.objectType = t3.info.typeId, this.objectTrackingId = t3.trackingId; + } } }), e2.exports = n2; + }, 32556(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(39950).extend(n2, "ClipboardContentStateModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, o) { + n2._super.configure.apply(this, arguments); + } } }), e2.exports = n2; + }, 36742(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(39950).extend(n2, "ClipboardContentTaskModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, o) { + n2._super.configure.apply(this, arguments); + } } }), e2.exports = n2; + }, 93805(e2, t2, i2) { + const n2 = i2(89452), o = i2(72529), r = i2(45214), a = i2(87675).default; + function s() { + Object.defineProperties(this, { _dependencyCustomDataTypes: { value: [], writable: true }, _dependencyFlowUiMetaDataModels: { value: [], writable: true }, _dependencyVariableModels: { value: [], writable: true } }), s.baseConstructor.apply(this, arguments); + } + r.extend(s, "ClipboardDependenciesModel", true), Object.defineProperties(s.prototype, { dependencyFlowUiMetaDataModels: { enumerable: true, get: function() { + return this._dependencyFlowUiMetaDataModels; + }, set: function(e3) { + this._dependencyFlowUiMetaDataModels = this.reviveArray(e3, n2); + } }, dependencyVariableModels: { enumerable: true, get: function() { + return this._dependencyVariableModels; + }, set: function(e3) { + this._dependencyVariableModels = this.reviveArray(e3, o); + } }, dependencyCustomDataTypes: { enumerable: true, get: function() { + return this._dependencyCustomDataTypes; + }, set: function(e3) { + this._dependencyCustomDataTypes = this.reviveArray(e3, a); + } } }), e2.exports = s; + }, 78234(e2, t2, i2) { + function n2() { + this.dataTypeDef = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(88732).extend(n2, "ClipboardDependencyCustomDataTypeDefModel", true), e2.exports = n2; + }, 89452(e2, t2, i2) { + function n2() { + this.sectionName = void 0, this.metaDataId = void 0, this.metaDataJSON = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(88732).extend(n2, "ClipboardDependencyFlowUiMetaDataModel", true), e2.exports = n2; + }, 72529(e2, t2, i2) { + function n2() { + this.variableJSON = void 0, this.supportedFlowTypes = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(88732).extend(n2, "ClipboardDependencyVariableModel", true), e2.exports = n2; + }, 35158(e2, t2, i2) { + function n2() { + this.actionTypeId = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(74817).extend(n2, "ClipboardManifestActionItemModel", true), e2.exports = n2; + }, 93852(e2, t2, i2) { + function n2() { + this.dataTypeId = void 0, this.applicableFlowTypes = void 0, n2.baseConstructor.apply(this, arguments); + } + i2(73649).extend(n2, "ClipboardManifestItemDataTypeModel", true), e2.exports = n2; + }, 62120(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(35158).extend(n2, "ClipboardManifestItemMenuChoiceModel", true), e2.exports = n2; + }, 20557(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(74817).extend(n2, "ClipboardManifestItemMenuModel", true), e2.exports = n2; + }, 88715(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(74817).extend(n2, "ClipboardManifestItemStateModel", true), e2.exports = n2; + }, 4491(e2, t2, i2) { + function n2() { + n2.baseConstructor.apply(this, arguments); + } + i2(74817).extend(n2, "ClipboardManifestItemTaskModel", true), e2.exports = n2; + }, 97329(e2, t2, i2) { + const n2 = i2(35158), o = i2(93852), r = i2(62120), a = i2(20557), s = i2(88715), l = i2(4491); + function u() { + Object.defineProperties(this, { _actionItems: { writable: true }, _dataTypeItems: { writable: true }, _menuItems: { writable: true }, _menuChoiceItems: { writable: true }, _stateItems: { writable: true }, _taskItems: { writable: true } }), u.baseConstructor.apply(this, arguments); + } + i2(45214).extend(u, "ClipboardManifestModel", true), Object.defineProperties(u.prototype, { actionItems: { enumerable: true, get: function() { + return this._actionItems; + }, set: function(e3) { + this._actionItems = this.reviveArray(e3, n2); + } }, dataTypeItems: { enumerable: true, get: function() { + return this._dataTypeItems; + }, set: function(e3) { + this._dataTypeItems = this.reviveArray(e3, o); + } }, menuItems: { enumerable: true, get: function() { + return this._menuItems; + }, set: function(e3) { + this._menuItems = this.reviveArray(e3, a); + } }, menuChoiceItems: { enumerable: true, get: function() { + return this._menuChoiceItems; + }, set: function(e3) { + this._menuChoiceItems = this.reviveArray(e3, r); + } }, stateItems: { enumerable: true, get: function() { + return this._stateItems; + }, set: function(e3) { + this._stateItems = this.reviveArray(e3, s); + } }, taskItems: { enumerable: true, get: function() { + return this._taskItems; + }, set: function(e3) { + this._taskItems = this.reviveArray(e3, l); + } } }), e2.exports = u; + }, 25190(e2, t2, i2) { + const n2 = i2(92140), o = i2(62115), { ParameterInfo: r } = i2(55909), { ParameterValidator: a } = i2(33951); + e2.exports = class extends o { + constructor(e3, t3) { + super(e3, t3); } - get nodeGuxIcon() { - return "graph-pie"; + _dumpContent() { + n2.each(this.map, function(e3, t3) { + this.log(" flow id -> " + this._valueLogStr(t3)), n2.each(e3, function(e4, t4) { + this.log(" " + this._valueLogStr(t4) + " -> " + this._valueLogStr(e4)); + }.bind(this)); + }.bind(this)); } - get id() { - return "flowSize"; + _getFlowContainer(e3, t3) { + let i3 = this.map[e3]; + return !i3 && t3 && (this.map[e3] = {}, i3 = this.map[e3]), i3; } - get helpTopic() { - return h.helpTopics.treeNodes.flowSize; + addFlowGroupedMapping(e3, t3, i3) { + a.expectString(e3, () => r.createFunctionParameter(this.className, "addFlowGroupedMapping", "flowId")), a.expectIntOrString(t3, () => r.createFunctionParameter(this.className, "addFlowGroupedMapping", "oldValue")), a.expectIntOrString(i3, () => r.createFunctionParameter(this.className, "addFlowGroupedMapping", "newValue")), this._getFlowContainer(e3, true)[t3] = i3, this.shouldLog && this.log(this.titleLogPrefix + "flow ID " + this._valueLogStr(e3) + " > Added mapping for old ID " + this._valueLogStr(t3) + " -> new ID " + this._valueLogStr(i3)); } - get showInFlowSize() { - return false; + get className() { + return "OldValueToNewValueFlowGroupedMap"; } - get lastUpdatedFlowSize() { - return this._lastUpdatedFlowSize; + get isOldValueToNewValueFlowGroupedMap() { + return true; } - set lastUpdatedFlowSize(e3) { - this._lastUpdatedFlowSize = e3, d.fireEvent(this.parentFlow, s.lastUpdatedFlowSizeChanged); + resolveFlowGroupedMapping(e3, t3) { + if (a.expectString(e3, () => r.createFunctionParameter(this.className, "resolveFlowGroupedMapping", "flowId")), a.expectIntOrString(t3, () => r.createFunctionParameter(this.className, "resolveFlowGroupedMapping", "oldValue"), true), n2.isUndefined(t3) || null === t3 || "" === t3) return t3; + const i3 = this._getFlowContainer(e3); + if (!i3) return t3; + let o2 = i3[t3]; + if (!o2 && t3.indexOf(".") >= 1) { + const e4 = t3.split("."); + let n3 = false; + for (let t4 = 0; t4 < e4.length; t4++) { + const o3 = i3[e4[t4]]; + o3 && (e4[t4] = o3, n3 = true); + } + n3 && (o2 = e4.join(".")); + } + return o2 ? (this.shouldLog && this.log(this.titleLogPrefix + "flow ID " + this._valueLogStr(e3) + " > Resolved mapping " + this._valueLogStr(t3) + " -> " + this._valueLogStr(o2)), o2) : t3; } - checkUnderSaveSize() { - if (this.parentFlow.isEmbeddedFlow) return void a.error("should not be calling this on an embedded flow"); - const e3 = {}; - return e3.results = !this.lastUpdatedFlowSize || this.lastUpdatedFlowSize < this.parentFlow.definition.maxFlowSize, e3.results || (e3.displayString = g.flow.tooLarge, e3.displayName = g.flow.sizeRestriction), e3; + getValuesAsArray(e3) { + const t3 = this._getFlowContainer(e3); + return t3 ? n2.values(t3) : []; } - processFlowSizeEvent(e3) { - 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); + }; + }, 5093(e2, t2, i2) { + const n2 = i2(92140), o = i2(74359), r = 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: I } = i2(9456), C = "ClipboardObjectViewModel"; + class O extends r { + 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); } - validateSize(e3) { - if (this.parentFlow.isEmbeddedFlow) return; - let t3 = false; - const i3 = l.getStringifiedConfiguration(this.parentFlow), n3 = e3.isDeep ? p.utf8EncodedSizeExceedsMax(i3, this.parentFlow.definition.maxFlowSizeToStopPublish) : this.lastUpdatedFlowSize > this.parentFlow.definition.maxFlowSizeToStopPublish; - n3 && (t3 = e3.isDeep ? p.utf8EncodedSizeExceedsMax(i3, this.parentFlow.definition.maxFlowSize) : this.lastUpdatedFlowSize > this.parentFlow.definition.maxFlowSize), t3 ? e3.addError(this, g.flow.tooLarge, true, void 0, 200) : n3 ? e3.addError(this, g.flow.tooLargeToPublish, true, void 0, 200) : e3.isDeep && (this.lastUpdatedFlowSize = 0); + _loadModel(e3) { + this._clearContents(), this._model = e3, n2.each(this._model.contents, function(e4) { + let t3; + switch (e4.__type) { + case "ClipboardContentActionModel": + t3 = new s(e4, this.clipboardLogging); + break; + case "ClipboardContentMenuModel": + t3 = new u(e4, this.clipboardLogging); + break; + case "ClipboardContentMenuChoiceModel": + t3 = new l(e4, this.clipboardLogging); + break; + case "ClipboardContentStateModel": + t3 = new c(e4, this.clipboardLogging); + break; + case "ClipboardContentTaskModel": + t3 = new d(e4, this.clipboardLogging); + break; + default: + throw "content class not supported :("; + } + t3 ? this._clipboardContents.push(t3) : this.throw("unable to create clipboard content"); + }.bind(this)); } - } - t2.FlowSizeViewModel = f; - }, 6109: (e2, t2, i2) => { - "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 c extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.flowView; + _checkPasteOperationInProgress(e3) { + if (!this._pasteContext || !this._pasteContext.pasteInProgress) throw "'" + this.className + "." + e3 + "' called when a paste operation was not in progress. This method should only be called during a paste operation."; } - constructor() { - super(), this.apiCallList = u.getFlows, this.apiCallSingle = u.getFlow, this.isFlowListManager = true, this.hideDeletedItems = true, this.searchWordSplitWildcard = true; + _checkPasteOperationNotInProgress(e3) { + if (!this._pasteContext || this._pasteContext.pasteInProgress) throw "'" + this.className + "." + e3 + "' called when a paste operation was in progress. This method should only be called when a paste operation is not in progress."; } - get dependencyContext() { - return this._dependencyContext || (this._dependencyContext = o.default.getFlowTypeDisplayName(this.flowType)), this._dependencyContext; + _removeContent(e3, t3) { + T.expectString(e3, () => f.createFunctionParameter(this.className, "_removeContent", "coreViewModelId"), true), T.expectBool(t3, () => f.createFunctionParameter(this.className, "_removeContent", "onlyRemoveOneContent"), true); + let i3, o2 = 0; + for (let i4 = this._clipboardContents.length - 1; i4 >= 0; i4--) { + const r2 = this._clipboardContents[i4]; + if (n2.isUndefined(e3) || r2.originalObjectId === e3) { + try { + r2.destroy(); + } catch (t4) { + this.log("Exception caught destroying clipboard content for core view model id '" + e3 + "'."); + } + if (this._clipboardContents.splice(i4, 1), this._model.contents.splice(i4, 1), o2++, true === t3) break; + } + } + switch (this.log("Removed " + o2 + " clipboard content item(s)."), o2) { + case 0: + i3 = this.createClipboardResultSuccessWithWarning("No clipboard content was removed from the clipboard object.", "No clipboard content was removed from the clipboard object."); + break; + case 1: + i3 = this.createClipboardResultSuccess(void 0, "1 clipboard content object was removed from the clipboard object."); + break; + default: + i3 = this.createClipboardResultSuccess(void 0, o2 + " clipboard content objects were removed from the clipboard object."); + } + return i3; } - isValidItem(e3) { - return this.flowType && e3.type && this.flowType === e3.type.toLocaleLowerCase(); + _resetPasteOperationInfo() { + this._pasteContext.reset(); } - get keepDeletedItems() { - return this.flowType === r2.flowTypeCommonModule; + _checkCanCopyOrCut(e3, t3) { + if (T.expectObject(e3, () => f.createFunctionParameter(C, "_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); + const o2 = this.checkCopyCutPermissions(t3); + if (o2.isFailure) return o2; + if (t3) { + if (!i3.info || !i3.info.currentUserCanEdit) return this.createClipboardResultFailure(A.clipboard.cut.cannotCutFlowNotEditable); + const t4 = i3.startUpObject; + if (t4 && t4.id === e3.id) return this.createClipboardResultFailure(A.clipboard.cut.cannotCutStartUpObject); + const n3 = i3.periodicState; + if (n3 && n3.id === e3.id) return this.createClipboardResultFailure(A.clipboard.cut.cannotCutPeriodicState); + } + return o2; } - _createItemViewModel(e3) { - return new a.default(e3); + checkCopyCutPermissions(e3) { + T.expectBool(e3, () => f.createFunctionParameter(C, "checkCopyCutPermissions", "performCutCheck")); + const t3 = y.checkHasPermissionInAtLeastOneDivision(o.getConnectedUser(), y.staticPermissions[S.architect.flow.edit]); + if (!t3 || t3.lacksPermission) { + const t4 = e3 ? A.clipboard.cut.permissions.cannotCutPermissionsGranularAcl : A.clipboard.copy.permissions.cannotCopyPermissionsGranularAcl; + return this.createClipboardResultFailure(t4); + } + return this.createClipboardResultSuccess(); } - } - 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 = n2.__importDefault(i2(4648)), l = i2(47957); - class u extends a.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); + checkCanCopy(e3) { + return T.expectObject(e3, () => f.createFunctionParameter(this.className, "checkCanCopy", "coreViewModelToCopy")), this._checkCanCopyOrCut(e3, false); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._enableTranscription = this.coreFactory.createArchWrapper(e3.enableTranscription); + checkCanCut(e3) { + return T.expectObject(e3, () => f.createFunctionParameter(this.className, "checkCanCut", "coreViewModelToCut")), this._checkCanCopyOrCut(e3, true); } - get _actionTypeId() { - return r2.transcriptionActionType; + checkCanPaste(e3, t3) { + if (T.expectObject(e3, () => f.createFunctionParameter(this.className, "checkCanPaste", "destinationCoreViewModel")), T.expectTrue(n2.isUndefined(t3) || t3.isClipboardPasteSettings, t3, "ClipboardPasteSettings", () => f.createFunctionParameter(this.className, "checkCanPaste", "pasteSettings is not a clipboard paste settings instance")), !n2.isArray(this._clipboardContents) || 0 === this._clipboardContents.length) return this.createClipboardResultFailure(A.clipboard.paste.noContent, "If you do call paste, the call will succeed with a warning saying that there was no content."); + let i3, o2; + if (e3 && (i3 = e3.isFlowViewModel ? e3 : e3.parentFlow), !i3) return this.createClipboardResultFailure(A.clipboard.paste.noDestFlow); + if (!i3.info || !i3.info.currentUserCanEdit) return this.createClipboardResultFailure(A.clipboard.paste.flowNotEditableByCurrentUser); + if (n2.find(this._clipboardContents, function(t4) { + return o2 = t4.checkCanPaste(e3), o2.isFailure; + }.bind(this)), o2 && o2.isFailure) return o2; + const r2 = o2.isSuccess ? o2.messageDisplayStr : "", a2 = new h(this.clipboardLogging); + let s2; + try { + let o3; + if (a2.setPasteContext(this, i3, e3, t3), n2.find(this._clipboardContents, function(e4) { + return o3 = e4.checkCanPasteClipboardContextWithDetails(a2), !o3.isFailure && o3.messageDisplayStr && (s2 = o3.messageDisplayStr), o3.isFailure; + }.bind(this)), o3 && o3.isFailure) return o3; + } finally { + a2.destroy(); + } + return this.createClipboardResultSuccess(s2 || r2); } - get displayTypeName() { - return this._scriptingName; + getConfigurationStr() { + const e3 = { version: 1, clipboardObjectModel: this._model }; + return r.encodeStr(JSON.stringify(e3)); } - get isArchActionTranscription() { - return true; + loadFromConfigurationStr(e3) { + T.expectString(e3, () => f.createFunctionParameter(this.className, "loadFromConfiguration", "configStr")); + const t3 = JSON.parse(r.decodeStr(e3)); + 1 === t3.version && this._loadModel(t3.clipboardObjectModel); } - get enableTranscription() { - return this._enableTranscription; + get className() { + return C; } - } - t2.default = o; - }, 6225: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.MessagingTemplateViewModel = void 0; - const n2 = i2(43212); - class r2 extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this.whatsApp = e3.whatsApp; + get contents() { + return this._clipboardContents; } - get className() { - return "MessagingTemplateViewModel"; + static create(e3) { + return T.expectBool(e3, () => f.createFunctionParameter(this.className, "create", "enableLogging"), true), new O(new _(), e3); } - } - 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 }; + static createFromConfigurationStr(e3, t3) { + let i3; + T.expectString(e3, () => f.createFunctionParameter(this.className, "createFromConfigurationStr", "clipboardConfigStr"), true), T.expectBool(t3, () => f.createFunctionParameter(this.className, "createFromConfigurationStr", "enableLogging"), true); + try { + i3 = JSON.parse(r.decodeStr(e3)); + } catch (e4) { + return void console.error("Unable to hydrate clipboard object information."); } - 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 }); + if (1 === i3.version) return new O(new _(i3.clipboardObjectModel), t3); } catch (e4) { - return i3.error(p.createFromModel.unableToCreateFlow), { success: false }; + console.error("Unable to load clipboard configuration to clipboard object instance."); } - 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) { - e3 = (e3 = e3.toLowerCase()).replace(/_/g, "-"); - let t3 = n2.default.findWhere(r2.isoLanguagesUiData, { pureCloudLocale: e3 }); - if (t3 || (t3 = n2.default.findWhere(r2.isoLanguagesUiData, { id: e3 })), !t3) { - const i3 = e3.indexOf("-"), o = -1 === i3 ? e3 : e3.substring(0, i3); - t3 = n2.default.find(r2.isoLanguagesUiData, function(e4) { - return e4.id.substring(0, e4.id.indexOf("-")) === o; - }); + return null; } - return t3 || null; - }; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(85306); - }, 6276: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._attributeVariableValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + static getDependentVariables(e3, t3) { + let i3; + T.expectObject(e3, () => f.createFunctionParameter(this.className, "getDependentVariables", "srcCoreViewModel")), T.expectBool(t3, () => f.createFunctionParameter(this.className, "getDependentVariables", "enableLogging"), true); + let n3 = []; + const o2 = new p(true === t3); + try { + o2.log("Get dependent variables operation begin."), i3 = m.create(e3, o2), i3 && (n3 = i3.dependentVariables); + } finally { + i3 && i3.destroy(), o2.log("Get dependent variables operation end."); + } + return n3; } - get _actionTypeId() { - return r2.getAttributesActionType; + _addContent(e3, t3, i3) { + if (!n2.isObject(e3)) return null; + let o2; + return i3 = !!i3, e3.isBaseAction ? o2 = s.create(e3, i3, this.clipboardLogging, t3) : e3.isMenu ? o2 = u.create(e3, i3, this.clipboardLogging, t3) : e3.isMenuChoice ? o2 = l.create(e3, i3, this.clipboardLogging, t3) : e3.isState ? o2 = c.create(e3, i3, this.clipboardLogging, t3) : e3.isTask && (o2 = d.create(e3, i3, this.clipboardLogging, t3)), o2 ? (this._model.contents.push(o2.contentModel), this._clipboardContents.push(o2), o2) : null; } - get displayTypeName() { - return this._scriptingName; + copy(e3, t3) { + let i3; + T.expectObject(e3, () => f.createFunctionParameter(this.className, "copy", "srcCoreViewModel")), T.expectString(t3, () => f.createFunctionParameter(this.className, "copy", "newContentName"), true), this.pushLogHeader(this.logHeader); + try { + i3 = this._addContent(e3, t3), i3 && this.log("copy operation added new clipboard content object -> " + i3.originalObjectLogStrFull); + } finally { + this.popLogHeader(); + } + return i3; } - addAttributeNameOutputValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameOutputValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("variableExpression", "addAttributeNameOutputValuePair"), t3, true), this._attributeVariableValuePairs._addNameValueAssignment(e3, t3, true, false); + cut(e3, t3) { + let i3; + T.expectObject(e3, () => f.createFunctionParameter(this.className, "cut", "srcCoreViewModel")), T.expectString(t3, () => f.createFunctionParameter(this.className, "cut", "newContentName"), true), this.pushLogHeader(this.logHeader); + try { + i3 = this._addContent(e3, t3, true), i3 && this.log("cut operation added new clipboard content object -> " + i3.originalObjectLogStrFull); + } finally { + this.popLogHeader(); + } + return i3; } - get isArchActionGetParticipantData() { - return true; + _clearContents() { + n2.each(this._clipboardContents, function(e3) { + e3.destroy(); + }.bind(this)), this._clipboardContents = []; } - get attributeNameOutputValuePairs() { - return this._attributeVariableValuePairs; + _performDestroy() { + this._clearContents(), this._resetPasteOperationInfo(), this._pasteContext && (this._pasteContext.destroy(), this._pasteContext = void 0); } - } - t2.default = o; - }, 6291: (e2, t2, i2) => { - const { ParameterInfo: n2 } = i2(55909), { ParameterValidator: r2 } = i2(33951); - class o { - constructor() { - Object.defineProperties(this, { _isWarning: { value: false, writable: true, enumerable: false }, _messageDisplayStr: { writable: true, enumerable: false }, _messageInternalStr: { writable: true, enumerable: false }, _result: { value: false, writable: true, enumerable: false } }); + get dateTimeCreatedLatest() { + let e3 = this.dateTimeCreated; + return n2.each(this.contents, function(t3) { + t3.dateTimeCreated > e3 && (e3 = t3.dateTimeCreated); + }.bind(this)), e3; } - static createFailureResult(e3, t3) { - return new o().setResult(false).setMessageDisplayStr(e3).setMessageInternalStr(t3); + get isClipboardObject() { + return true; } - static createSuccessResult(e3, t3) { - return new o().setResult(true).setMessageDisplayStr(e3).setMessageInternalStr(t3); + get logHeader() { + return "clipboard object (ID: '" + this.id + "')"; } - static createSuccessWarningResult(e3, t3) { - const i3 = new o().setResult(true).setMessageDisplayStr(e3).setMessageInternalStr(t3); - return i3._isWarning = true, i3; + paste(e3, t3) { + let i3, o2, r2; + T.expectObject(e3, () => f.createFunctionParameter(this.className, "paste", "destinationCoreViewModel")), T.expectTrue(n2.isUndefined(t3) || t3.isClipboardPasteSettings, t3, "ClipboardPasteSettings", () => f.createFunctionParameter(this.className, "paste", "pasteSettings is not a clipboard paste settings instance")), this.pushLogHeader(this.logHeader); + try { + let a2; + 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) => { + 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."), o2 = this.cloneToRawJsonObject(g.getConfiguration(this._pasteContext.destFlowViewModel)), r2 = true, this.log("Pasting " + this._clipboardContents.length + " content object(s)."); + const e4 = t3 && t3.pasteActionsToEndOfActionContainer ? 0 : this._clipboardContents.length - 1, n3 = t3 && t3.pasteActionsToEndOfActionContainer ? this._clipboardContents.length : -1, s2 = t3 && t3.pasteActionsToEndOfActionContainer ? 1 : -1; + for (let t4 = e4; t4 !== n3; t4 += s2) { + const e5 = this._clipboardContents[t4]; + try { + if (this._pasteContext.setCurrentContent(e5), i3 = e5.paste(this._pasteContext), i3.isFailure) { + this.log("Content object paste failed -> " + e5.originalObjectLogStrFull); + break; + } + } finally { + this._pasteContext.resetCurrentContent(); + } + } + } catch (e4) { + i3 = this.createClipboardResultFailurePasteException(e4, "Exception caught in ClipboardObject::paste."); + } finally { + this._pasteContext.dump(); + } + } else i3 = this.createClipboardResultFailure(A.clipboard.paste.noDestFlow, "No destination flow specified for the paste operation."); + else i3 = this.createClipboardResultSuccessWithWarning(A.clipboard.paste.noContent, "There is no content to paste. This ClipboardObject has no BaseClipboardContent instances added to it."); + } catch (e4) { + i3 = this.createClipboardResultFailurePasteException(e4, "Exception caught in ClipboardObject::paste."); + } finally { + if (this._pasteContext && this._pasteContext.destFlowViewModel && this._pasteContext.destFlowViewModel.validationResults && this._pasteContext.destFlowViewModel.validationResults.removeSuppressPassiveValidation(this), i3.isFailure) { + if (t3 && t3.additionalInfoResults && t3.additionalInfoResults.reset(), this.log("The paste operation failed. Message: '" + i3.messageDisplayStr + "'."), o2) { + this.log("Restoring saved flow configuration."); + const e4 = this._pasteContext.destFlowViewModel.createFlowConfiguration(o2); + this._pasteContext.destFlowViewModel.loadConfiguration(e4), this._pasteContext.destFlowViewModel.initializeDesignTime(), this.log("Flow configuration restored."); + } + } else i3.isWarning && this.log("The paste operation has a warning. Message: '" + i3.messageDisplayStr + "'."); + r2 && this.validateFlow(this.pasteContext.destFlowViewModel), i3.isSuccess && t3 && t3.additionalInfoResults && t3.additionalInfoResults.verifyNotableInformation(this.pasteContext), this._pasteContext.destFlowViewModel && this._pasteContext.destFlowViewModel.calcFlowSizeAsync(), this._resetPasteOperationInfo(), this.log("Paste operation end."), this.popLogHeader(); + } + return i3 || (i3 = this.createClipboardResultFailurePasteGeneric("Creating generic failure clipboard result since no result was specified.")), i3; } - get className() { - return "ClipboardResult"; + pasteAddOldIdToNewIdMapping(e3, t3) { + this._checkPasteOperationInProgress("pasteAddOldIdToNewIdMapping"), this._pasteContext.setOldIdToNewIdMapping(e3, t3); } - get messageDisplayStr() { - return this._messageDisplayStr; + get pasteContext() { + return this._pasteContext; } - set messageDisplayStr(e3) { - this._messageDisplayStr = r2.expectString(e3, () => n2.createPropertySet(this.className, "messageDisplayStr", "newValue"), true); + pasteGenerateNewGuid(e3) { + this._checkPasteOperationInProgress("pasteGenerateNewGuid"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGenerateNewGuid", "oldGuidId")); + const t3 = I(); + return this.pasteAddOldIdToNewIdMapping(e3, t3), t3; } - get messageInternalStr() { - return this._messageInternalStr; + pasteGetNewTrackingId(e3) { + this._checkPasteOperationInProgress("pasteGetNewTrackingId"), T.expectInt(e3, () => f.createFunctionParameter(this.className, "pasteGetNewTrackingId", "oldTrackingId")); + const t3 = N.createNewTrackingId(this._pasteContext.destFlowViewModel); + return this._pasteContext.setOldTrackingIdToNewTrackingId(e3, t3), t3; } - set messageInternalStr(e3) { - this._messageInternalStr = r2.expectString(e3, () => n2.createPropertySet(this.className, "messageDisplayStr", "newValue"), true); - } - setMessageDisplayStr(e3) { - return this.messageDisplayStr = e3, this; + pasteGetUniqueMenuChoiceName(e3, t3, i3, o2) { + if (this._checkPasteOperationInProgress("pasteGetUniqueMenuChoiceName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueMenuName", "currentMenuChoiceName"), true), n2.find(t3.choices, function(t4) { + return t4.name === e3; + })) { + const n3 = [t3.choices]; + return o2 && n3.push(this._pasteContext.destFlowViewModel.menus), i3 && n3.push(this._pasteContext.destFlowViewModel.tasks), this._pasteContext.pasteGetUniqueName(e3, n3, this._pasteContext, true, void 0, true); + } + return e3; } - setMessageInternalStr(e3) { - return this.messageInternalStr = e3, this; + pasteGetUniqueMenuName(e3) { + this._checkPasteOperationInProgress("pasteGetUniqueMenuName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueMenuName", "oldMenuName"), true); + const t3 = this._pasteContext.pasteGetUniqueName(e3, this._pasteContext.destFlowViewModel.menus, this._pasteContext, true, this._pasteContext.oldMenuNameToNewMenuNameMap.getValuesAsArray(this._pasteContext.destFlowViewModel.id)); + return this._pasteContext.setOldMenuNameToNewMenuNameMapping(e3, t3), t3; } - get isFailure() { - return false === this._result; + pasteGetUniqueStateName(e3) { + this._checkPasteOperationInProgress("pasteGetUniqueStateName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueStateName", "oldStateName"), true); + const t3 = this._pasteContext.pasteGetUniqueName(e3, this._pasteContext.destFlowViewModel.states, this._pasteContext, true, this._pasteContext.oldStateNameToNewStateNameMap.getValuesAsArray(this._pasteContext.destFlowViewModel.id)); + return this._pasteContext.setOldStateNameToNewStateNameMapping(e3, t3), t3; } - get isSuccess() { - return true === this._result; + pasteGetUniqueTaskName(e3) { + this._checkPasteOperationInProgress("pasteGetUniqueTaskName"), T.expectString(e3, () => f.createFunctionParameter(this.className, "pasteGetUniqueTaskName", "oldTaskName"), true); + const t3 = this._pasteContext.pasteGetUniqueName(e3, this._pasteContext.destFlowViewModel.tasks, this._pasteContext, true, this._pasteContext.oldTaskNameToNewTaskNameMap.getValuesAsArray(this._pasteContext.destFlowViewModel.id)); + return this._pasteContext.setOldTaskNameToNewTaskNameMapping(e3, t3), t3; } - get isWarning() { - return true === this._isWarning; + get pasteInProgress() { + return this._pasteContext.pasteInProgress; } - get result() { - return this._result; + pasteResolveOldIdToOldName(e3) { + return this._checkPasteOperationInProgress("pasteResolveOldIdToOldName"), this._pasteContext.resolveOldIdToOldName(e3); } - set result(e3) { - r2.expectBool(e3, () => n2.createPropertySet(this.className, "result", "newValue")), this._result = true === e3; + pasteResolveOldIdToNewId(e3) { + return this._checkPasteOperationInProgress("pasteResolveOldIdToNewId"), this._pasteContext.resolveOldId(e3); } - setResult(e3) { - return this.result = e3, this; + pasteResolveOldMenuNameToNewMenuName(e3) { + return this._checkPasteOperationInProgress("pasteResolveOldMenuNameToNewMenuName"), this._pasteContext.resolveOldMenuName(e3); } - } - e2.exports = o; - }, 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)), 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, c.default)(); + pasteResolveOldStateNameToNewStateName(e3) { + return this._checkPasteOperationInProgress("pasteResolveOldStateNameToNewStateName"), this._pasteContext.resolveOldStateName(e3); } - get className() { - return "DialogEngineVersionViewModel"; + pasteResolveOldTaskNameToNewTaskName(e3) { + return this._checkPasteOperationInProgress("pasteResolveOldTaskNameToNewTaskName"), this._pasteContext.resolveOldTaskName(e3); } - get dependencyTrackingId() { - return `${this.botId}/${this.id}`; + reviveBuilderModel(e3) { + if (this._checkPasteOperationInProgress("reviveBuilderModel"), T.expectObject(e3, () => f.createFunctionParameter(this.className, "getBuilderModel", "builderJSON"), true), !e3 || !e3.builderDefId) return; + let t3; + const i3 = a.getBuilderDefById(e3.builderDefId); + return i3 && (t3 = i3.reviveBuilderModel(e3)), t3; } - get botId() { - return r2.default.isObject(this.model.bot) && r2.default.isString(this.model.bot.id) ? this.model.bot.id : ""; + removeContentByViewModel(e3, t3) { + let i3; + this._checkPasteOperationNotInProgress("removeContentByViewModel"), this.pushLogHeader(this.logHeader); + try { + this.log("Clipboard object remove content by view model begin."), T.expectObject(e3, () => f.createFunctionParameter(this.className, "removeContentByViewModel", "coreViewModel")), T.expectBool(t3, () => f.createFunctionParameter(this.className, "removeContentByViewModel", "removeFirstMatchOnly"), true), e3 && e3.id ? i3 = this._removeContent(e3.id, t3, "removeContentByViewModel") : (this.log("Core view model was invalid or the core view model did not have a valid id property."), i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "Unable to determine the content to remove from the ClipboardObject.")); + } catch (e4) { + i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content by view model operation."); + } finally { + this.log("Clipboard object remove content by view model end."), this.popLogHeader(); + } + return i3; } - get botName() { - return r2.default.isObject(this.model.bot) && r2.default.isString(this.model.bot.name) ? this.model.bot.name : ""; + removeContentById(e3, t3) { + let i3; + this._checkPasteOperationNotInProgress("removeContentById"), this.pushLogHeader(this.logHeader); + try { + this.log("Clipboard object remove content by id begin."), T.expectString(e3, () => f.createFunctionParameter(this.className, "removeContentById", "coreViewModelId")), T.expectBool(t3, () => f.createFunctionParameter(this.className, "removeContentById", "removeFirstMatchOnly"), true), n2.isString(e3) && 0 !== e3.length ? i3 = this._removeContent(e3, t3, "removeContentById") : (this.log("Core view model id was invalid."), i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "Unable to determine what to remove from the clipboard object.")); + } catch (e4) { + i3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content by id operation."); + } finally { + this.log("Clipboard object remove content by id end."), this.popLogHeader(); + } + return i3; } - get description() { - return this.model.description; + removeContentLastAdded() { + let e3; + this._checkPasteOperationNotInProgress("removeContentLastAdded"), this.pushLogHeader(this.logHeader); + try { + this.log("Clipboard object remove last added content begin."), e3 = this._removeContent(void 0, true); + } catch (t3) { + e3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content last added operation."); + } finally { + this.log("Clipboard object remove last added content end."), this.popLogHeader(); + } + return e3; } - get errorSchema() { - return this._errorSchema; + removeContentAll() { + let e3; + this._checkPasteOperationNotInProgress("removeContentAll"), this.pushLogHeader(this.logHeader); + try { + this.log("Clipboard object remove all content begin."), e3 = this._removeContent(); + } catch (t3) { + e3 = this.createClipboardResultFailure(A.clipboard.content.removalError, "An error occurred during the remove content all operation."); + } finally { + this.log("Clipboard object remove all content end."), this.popLogHeader(); + } + return e3; } - get id() { - return this.model.id; + } + e2.exports = O; + }, 25088(e2, t2, i2) { + const n2 = i2(92140), o = i2(17604).sprintf, r = 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: I } = i2(55909), { ParameterValidator: C } = i2(33951), O = i2(47957), { isCustomJsonExpressionDataType: b } = i2(66314), E = i2(46521), w = i2(96651).default, R = i2(12889).default; + e2.exports = class extends r { + 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); } - get isDialogEngineVersionViewModel() { - return true; + _loadModel(e3) { + this._contentModel = e3, this._dependenciesViewModel = new l(this.contentModel.dependencies, this.clipboardLogging); } - get knowledgeEnabled() { - return !o.isFeatureUnavailable(l.default.dialogEngineKnowledge) && !(!this.model.knowledgebases || !this.model.knowledgebases.length); + _addManifestItemAction(e3) { + 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 d({ actionTypeId: e3.info.typeId, id: e3.id, trackingId: e3.trackingId }))); } - get label() { - return this.name; + _addManifestItemDataType(e3, t3) { + const i3 = n2.find(this._contentModel.manifest.dataTypeItems, function(t4) { + return t4.dataTypeId === e3.dataType; + }); + n2.isUndefined(i3) ? (n2.isArray(this._contentModel.manifest.dataTypeItems) || (this._contentModel.manifest.dataTypeItems = []), this._contentModel.manifest.dataTypeItems.push(new p({ dataTypeId: e3.dataType, applicableFlowTypes: t3 }))) : n2.isUndefined(i3.applicableFlowTypes) || (i3.applicableFlowTypes = n2.isUndefined(t3) ? void 0 : n2.union(i3.applicableFlowTypes, t3)); } - get languages() { - return this.model.languages; + _addManifestItemMenu(e3) { + const t3 = n2.find(this._contentModel.manifest.menus, function(t4) { + return t4.id === e3.id; + }); + n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.menuItems) || (this._contentModel.manifest.menuItems = []), this._contentModel.manifest.menuItems.push(new h({ id: e3.id, trackingId: e3.trackingId }))); } - get model() { - return this._model; + _addManifestItemMenuChoice(e3) { + const t3 = n2.find(this._contentModel.manifest.menuChoices, function(t4) { + return t4.id === e3.id; + }); + n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.menuChoiceItems) || (this._contentModel.manifest.menuChoiceItems = []), this._contentModel.manifest.menuChoiceItems.push(new _({ actionTypeId: e3.action.info.typeId, id: e3.id, trackingId: e3.trackingId }))); } - set model(e3) { - this._model = e3, this.intents = [], this._model.intents && r2.default.each(this._model.intents, (e4) => { - this.intents.push(new u.default(r2.default.clone(e4))); - }), this.knowledgeEnabled && this.intents.push(new u.default(r2.default.clone(p))); + _addManifestItemState(e3) { + const t3 = n2.find(this._contentModel.manifest.states, function(t4) { + return t4.id === e3.id; + }); + n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.stateItems) || (this._contentModel.manifest.stateItems = []), this._contentModel.manifest.stateItems.push(new m({ id: e3.id, trackingId: e3.trackingId }))); } - get name() { - return this.model.name; + _addManifestItemTask(e3) { + const t3 = n2.find(this._contentModel.manifest.tasks, function(t4) { + return t4.id === e3.id; + }); + n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.taskItems) || (this._contentModel.manifest.taskItems = []), this._contentModel.manifest.taskItems.push(new g({ id: e3.id, trackingId: e3.trackingId }))); } - } - t2.default = _; - }, 6440: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _canPasteToFlowType(e3) { + const t3 = e3 ? e3.type : "", i3 = this._canPasteByFlowType[t3]; + if (i3) return i3; + const r2 = 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(o(O.clipboard.content.notSupportedByFlowType.states, r2)))), n2.isUndefined(s2) && this._contentModel.manifest.taskItems && this._contentModel.manifest.taskItems.length > 0 && t3 === S.flowTypeInQueueCall && (s2 = this.createClipboardResultFailure(o(O.clipboard.content.notSupportedByFlowType.tasks, r2))), n2.isUndefined(s2) && this._contentModel.manifest.menuItems && this._contentModel.manifest.menuItems.length > 0 && (n2.contains(y.getFlowTypesThatSupportMenus(), t3) || (s2 = this.createClipboardResultFailure(o(O.clipboard.content.notSupportedByFlowType.menusOrMenuChoices, r2)))), n2.isUndefined(s2) && this._contentModel.manifest.actionItems && this._contentModel.manifest.actionItems.length > 0) { + const e4 = n2.find(this._contentModel.manifest.actionItems, (e5) => !v.getInfo(e5.actionTypeId).isAvailableForFlowType(t3, true)); + if (e4) { + const t4 = v.getInfo(e4.actionTypeId); + return this.createClipboardResultFailure(o(O.clipboard.content.notSupportedByFlowType.action, t4.name, r2)); + } + } + if (n2.isUndefined(s2) && this._contentModel.contentRawJSON?.length > 0) { + const t4 = e3.definition.type; + let i4; + n2.find(this._contentModel.contentRawJSON[0], (e4) => { + if (e4?.uiMetaData?.builder) { + const n3 = e4.uiMetaData.builder.builderDefId; + if (0 === a.getAvailableBuilderDefinitions(void 0, t4, void 0, [n3]).length) return i4 = a.getBuilderDefById(n3), true; + } + return false; + }) && (l2 = o(O.clipboard.content.notSupportedByFlowType.builder, i4.name, r2)); + } + if (n2.isUndefined(s2) && this._contentModel.manifest.dataTypeItems && this._contentModel.manifest.dataTypeItems.length > 0) { + const i4 = f.getTypeGroup(e3); + i4 ? n2.find(this._contentModel.manifest.dataTypeItems, function(a2) { + if (n2.isUndefined(a2.applicableFlowTypes) || n2.contains(a2.applicableFlowTypes, t3)) { + if (b(a2.dataTypeId)) return true; + const t4 = i4.getType(a2.dataTypeId); + if (!t4) { + const e4 = T.prototype.getDisplayStrForExpressionDataType(a2.dataTypeId); + return s2 = this.createClipboardResultFailure(n2.isString(e4) && e4.length ? o(O.clipboard.content.notSupportedByFlowType.dataTypeKnown, e4, r2) : o(O.clipboard.content.notSupportedByFlowType.dataTypeUnknown, r2)), true; + } + if (!t4.isAvailableForFlowType(e3.type, true)) return s2 = this.createClipboardResultFailure(o(O.clipboard.content.notSupportedByFlowType.dataTypeKnown, t4.displayString, r2)), true; + } + }.bind(this)) : s2 = this.createClipboardResultFailurePasteGeneric("unable to get expression group for destination flow to resolve data types."); + } + return n2.isUndefined(s2) && (s2 = this.createClipboardResultSuccess(l2)), this._canPasteToFlowType[t3] = s2, s2; } - get _globalTypeName() { - return "image"; + _pasteBefore(e3) { + return this.createClipboardResultSuccess(); } - get displayTypeName() { - return "ArchVariableImage"; + _pasteAfter(e3) { + return this.createClipboardResultSuccess(); } - get initialValue() { - return this._initialValue; + _formatResourceStrForDestFlowType(e3, t3) { + return o(t3, y.getFlowTypeDisplayName(e3.destFlowViewModel.info.type)); } - get isArchVariableImage() { - return true; + _pasteAddActionViewModelForActionModel(e3, t3, i3, o2) { + !o2 && e3.destViewModel.isTaskLike && e3.pasteActionsToEndOfActionContainer && (o2 = this.getLastActionForStateOrTask(e3.destViewModel)); + const r2 = v.createActionWithModel(t3, i3); + return e3.destActionContainer._insertAction(r2, o2), n2.isFunction(r2.initializeDesignTime) && r2.initializeDesignTime(), r2; } - } - t2.default = r2; - }, 6458: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(45894)), r2 = i2(79069); - class o extends n2.default { - constructor(e3) { - super(e3.skill, r2.skillManager), this._checkItemUndefinedOrNull(this._infoParmCtor("coreSkillValuePair"), e3), this._coreSkillValuePair = e3; + _pasteAddMenuChoiceViewModelForMenuChoiceModel(e3, t3, i3) { + this.log("Adding menu choice view model for " + this._getNameAndIdStr(i3) + " to parent " + this._getNameAndIdStr(t3.model) + " that currently has " + t3.choices.length + " choice(s)."); + const o2 = A.loadMenuChoice(t3, i3); + return o2.initialize(), o2._isInlineTask() || o2.isSubMenu || (o2.name = e3.clipboardObject.pasteGetUniqueMenuChoiceName(o2.name, t3, false, false)), t3.choices.push(o2), n2.isUndefined(o2.dtmf) || o2.resetDtmfToUniqueDtmf(), n2.isFunction(o2.initializeDesignTime) && o2.initializeDesignTime(), t3.invokeMenuChoicesChanged(), o2; } - get displayTypeName() { - return "ArchBaseSkillValuePair"; + _pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3, t3) { + return this.log("Adding menu choice view model for " + this._getNameAndIdStr(t3) + " to parent " + this._getNameAndIdStr(e3.model) + " that currently has " + e3.choices.length + " choice(s)."), t3.initialize(), e3.choices.push(t3), n2.isFunction(t3.initializeDesignTime) && t3.initializeDesignTime(), e3.invokeMenuChoicesChanged(), t3; } - get skill() { - return this.coreFactory.createArchValueFromExpression(this._coreSkillValuePair.skill); + _pasteAddMenuViewModelForMenuModel(e3, t3) { + this.log("Adding menu view model for " + this._getNameAndIdStr(t3) + " to flow " + this._getNameAndIdStr(e3.destFlowViewModel) + " that currently has " + e3.destFlowViewModel.menus.length + " menu(s)."); + const i3 = new N(e3.destFlowViewModel, t3); + return e3.destFlowViewModel.addNewChild(i3), i3; } - get isArchBaseSkillValuePair() { - return true; + _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 w(e3.destFlowViewModel, t3); + return e3.destFlowViewModel.addNewChild(i3), i3; } - } - t2.default = o; - }, 6475: (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); + _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 R(e3.destFlowViewModel, t3); + return e3.destFlowViewModel.addNewChild(i3), i3; } - get _globalTypeName() { - return "CustomerIntentCollection"; + _performPaste(e3) { } - get displayTypeName() { - return "ArchVariableCustomerIntentCollection"; + _processExpressionType(e3, t3) { + C.expectExpressionType(e3, () => I.createFunctionParameter(this.className, "_processExpressionType", "expressionTypeViewModel")), e3 && e3.isExpressionType && this._addManifestItemDataType(e3, t3); } - get initialValue() { - return this._initialValue; + _resetUpconvertViewModels() { } - get isArchVariableCustomerIntentCollection() { - return true; + get contentModel() { + return this._contentModel; } - } - t2.default = r2; - }, 6500: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\u9019\u4E0D\u662F\u6709\u6548\u7684\u3002", noInputReceived: "\u6211\u6C92\u6709\u6536\u5230\u4EFB\u4F55\u8F38\u5165\u3002" }, askForBoolean: { noInput: '\u5982\u679C\u60F3\u7E7C\u7E8C\uFF0C\u8ACB\u8AAA "\u662F"\uFF0C\u5982\u679C\u4E0D\u60F3\uFF0C\u8ACB\u8AAA "\u5426"\u3002', noMatch: '\u8ACB\u8AAA "\u662F" \u6216 "\u5426"\u3002\u662F\u5426\u8981\u7E7C\u7E8C\uFF1F', question: "\u662F\u5426\u8981\u7E7C\u7E8C\uFF1F", noInputDigitalBot: '\u5982\u679C\u60F3\u7E7C\u7E8C\uFF0C\u8ACB\u8F38\u5165 "\u662F"\uFF0C\u5982\u679C\u4E0D\u60F3\uFF0C\u8ACB\u8F38\u5165 "\u5426"\u3002', noMatchDigitalBot: '\u8ACB\u8F38\u5165 "\u662F" \u6216 "\u5426"\u3002\u662F\u5426\u8981\u7E7C\u7E8C\uFF1F' }, askForIntent: { noInput: '\u53EA\u8981\u8AAA\u51FA\u7C21\u77ED\u7684\u53E5\u5B50\u4F86\u63CF\u8FF0\u60A8\u7684\u67E5\u8A62\u5373\u53EF\uFF0C\u4F8B\u5982 "\u67E5\u770B\u6211\u7684\u5E33\u6236\u9918\u984D"', noMatch: "\u518D\u544A\u8A34\u6211\u60A8\u60F3\u505A\u4EC0\u9EBC\u3002", question: "\u60A8\u60F3\u505A\u4EC0\u9EBC\uFF1F", noInputDigitalBot: '\u8ACB\u8F38\u5165\u7C21\u77ED\u7684\u53E5\u5B50\u4F86\u63CF\u8FF0\u60A8\u7684\u67E5\u8A62\u5373\u53EF\uFF0C\u4F8B\u5982 "\u67E5\u770B\u6211\u7684\u5E33\u6236\u9918\u984D"' }, askForSlot: { askFor: "\u8981\u6C42 %1$s", noInput: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\u540D\u7A31\uFF09\u3002", noInputWithSlot: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165 %1$s\u3002", noMatch: "\u8ACB\u518D\u7D66\u6211\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\u540D\u7A31\uFF09\u3002", noMatchWithSlot: "\u8ACB\u518D\u7D66\u6211 %1$s\u3002", question: "\u4EC0\u9EBC\u662F\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\u540D\u7A31\uFF09\uFF1F", questionWithSlot: "\u4EC0\u9EBC\u662F %1$s\uFF1F", pleaseEnterSlotNameHere: "(\u8ACB\u5728\u6B64\u653E\u5165\u60A8\u7684\u69FD\u4F4D\u540D\u7A31)", noInputDigitalBot: "\u8ACB\u8F38\u5165\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\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\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8AAA "\u662F"\uFF0C\u6216\u8AAA "\u5426" \u4EE5\u7D50\u675F\u547C\u53EB\u3002', noMatch: '\u5982\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8AAA "\u662F"\uFF0C\u6216\u8AAA "\u5426" \u4EE5\u7D50\u675F\u5DE5\u4F5C\u968E\u6BB5\u3002', question: "\u9084\u6709\u4EFB\u4F55\u6211\u53EF\u4EE5\u5354\u52A9\u7684\u5730\u65B9\u55CE\uFF1F", noInputDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8F38\u5165 "\u662F"\uFF0C\u6216\u8F38\u5165 "\u5426" \u4EE5\u7D50\u675F\u5DE5\u4F5C\u968E\u6BB5\u3002', noMatchDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8F38\u5165 "\u662F"\uFF0C\u6216\u8F38\u5165 "\u5426" \u4EE5\u7D50\u675F\u5DE5\u4F5C\u968E\u6BB5\u3002' }, askForPayment: { noInputDigitalBot: "\u8ACB\u63D0\u4F9B\u4ED8\u6B3E\u8CC7\u8A0A\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u61C9\u3002\u8ACB\u91CD\u8A66\u3002" }, askForAuthentication: { noInputDigitalBot: "\u8ACB\u63D0\u4F9B\u4ED8\u9A57\u8B49\u8CC7\u8A0A\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u61C9\u3002\u8ACB\u91CD\u8A66\u3002" }, askSurveyQuestion: { notApplicable: "\u4E0D\u9069\u7528", surveyAnswerOptionSequence: "\u70BA %2$s \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\u7406\u89E3\u60A8\u3002" }, commonModule: { exitCommonModule: "\u9000\u51FA\u901A\u7528\u6A21\u7D44" }, form: { noInputDigitalBot: "\u8ACB\u5B8C\u6210\u8868\u55AE\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u8ACB\u5B8C\u6210\u8868\u55AE\u4EE5\u7E7C\u7E8C\u3002" }, messagingTemplate: { noInputDigitalBot: "\u8ACB\u9078\u53D6\u5176\u4E2D\u4E00\u500B\u53EF\u7528\u9078\u9805\u3002", noMatchDigitalBot: "\u8ACB\u9078\u53D6\u5176\u4E2D\u4E00\u500B\u53EF\u7528\u9078\u9805\u3002" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u7E7C\u7E8C", knowledgeAnswerHighlightFullArticleDefault: "\u6AA2\u8996\u5B8C\u6574\u6587\u7AE0", knowledgeInitialResponseMulti: "\u70BA\u4E86\u8B93\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\u4EE5\u4E0B\u518D\u6B21\u5217\u51FA\u9078\u9805\u6E05\u55AE\uFF1A", knowledgeNoMatch: "\u9078\u9805\u7686\u4E0D\u9069\u7528", knowledgeConfirmation: "\u9019\u500B\u7B54\u6848\u662F\u5426\u80FD\u56DE\u7B54\u60A8\u7684\u554F\u984C\uFF1F", knowledgeFollowup: "\u5E0C\u671B\u6211\u5DF2\u56DE\u7B54\u60A8\u7684\u554F\u984C\u3002\u60A8\u53EF\u4EE5\u8A62\u554F\u4EFB\u4F55\u60A8\u53EF\u80FD\u9084\u60F3\u77E5\u9053\u7684\u4E8B\u60C5\u3002" }, noOverlay: { intent: { intentConfirmationStr1: "\u6211\u60F3\u60A8\u8981", intentConfirmationStr2: "\u662F\u55CE\uFF1F" }, youSaid: { youSaidConfirmationStr1: "\u60A8\u8AAA", youSaidConfirmationStr2: "\u662F\u55CE\uFF1F", youSaidConfirmationStr1DigitalBot: "\u60A8\u5DF2\u8F38\u5165" }, noInput: { noInputStr1: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165", noInputStr1DigitalBot: "\u8ACB\u8F38\u5165" }, noMatch: { noMatchStr1: "\u8ACB\u7D66\u6211" }, whatIs: { whatIsQuestionStr1: "\u4EC0\u9EBC\u662F", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u76EE\u524D\u70BA\u6B62\u6211\u6536\u5230", iGotContinuationStr2: "\u8ACB\u7E7C\u7E8C\u3002" } }, defaultCallFlowOne: "\u9810\u8A2D\u901A\u8A71\u6D41\u7A0B", errorHandlingAgentEscalationConfirmation: "\u60A8\u60F3\u548C\u9867\u554F\u8AC7\u8AC7\uFF0C\u662F\u55CE\uFF1F", errorHandlingAgentEscalationHandover: "\u8F49\u63A5\u4E2D\uFF0C\u8ACB\u7A0D\u5019\u3002", errorHandlingErrorEventHandover: "\u62B1\u6B49\uFF0C\u51FA\u73FE\u932F\u8AA4\u3002\u8ACB\u7A0D\u5019\uFF0C\u6211\u5C07\u70BA\u60A8\u8F49\u63A5\u5354\u52A9\u4EBA\u54E1\u3002", errorHandlingErrorEventHandoverVoiceSurvey: "\u5F88\u62B1\u6B49\uFF0C\u767C\u751F\u932F\u8AA4\u3002\u518D\u898B\u3002", errorHandlingRecognitionEventHandover: "\u62B1\u6B49\uFF0C\u6211\u7121\u6CD5\u77AD\u89E3\u60A8\u7684\u610F\u601D\u3002\u8ACB\u7A0D\u5019\uFF0C\u6211\u5C07\u70BA\u60A8\u8F49\u63A5\u5354\u52A9\u4EBA\u54E1\u3002", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u5F88\u62B1\u6B49\uFF0C\u6211\u5F88\u96E3\u7406\u89E3\u60A8\u3002\u518D\u898B\u3002", errorHandlingTTS: "\u62B1\u6B49\uFF0C\u51FA\u73FE\u932F\u8AA4\u3002\u8ACB\u518D\u6B21\u5617\u8A66\u547C\u53EB\u3002", initialGreetingTTS: "\u60A8\u597D\uFF0C\u9019\u662F\u958B\u59CB\u554F\u5019\u3002", initialState: "\u521D\u59CB\u72C0\u614B", initialBotState: "\u9810\u8A2D Bot", initialDigitalBotState: "\u958B\u59CB\u554F\u5019", initialSurveyBotState: "\u8ABF\u67E5 Bot", intentConfirmation: "\u6211\u60F3\u60A8\u8981 %1$s\uFF0C\u662F\u55CE\uFF1F", mainMenu: "\u4E3B\u529F\u80FD\u8868", mainMenuTTS: "\u60A8\u76EE\u524D\u4F4D\u65BC\u4E3B\u529F\u80FD\u8868\uFF0C\u8ACB\u6309 9 \u65B7\u958B", mainTask: "\u4EFB\u52D9", settingsConfirmationNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6C92\u807D\u5230\u60A8\u8AAA\u4EC0\u9EBC\u3002\u8ACB\u8AAA\u662F\u6216\u5426\u3002", settingsConfirmationNoInputApologyDigitalBot: '\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F38\u5165\u3002\u8ACB\u8F38\u5165 "\u662F" \u6216 "\u5426"\u3002', settingsConfirmationNoMatchApology: "\u62B1\u6B49\uFF0C\u8ACB\u8AAA\u662F\u6216\u5426\u3002", settingsConfirmationNoMatchApologyDigitalBot: '\u5F88\u62B1\u6B49\uFF0C\u8ACB\u8F38\u5165 "\u662F" \u6216 "\u5426"\u3002', settingsNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6C92\u807D\u5230\u60A8\u8AAA\u4EC0\u9EBC\u3002", settingsNoInputApologyDigitalBot: "\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F38\u5165\u3002", settingsEndOfSessionMessageDigitalBot: "\u6211\u6709\u4E00\u9663\u5B50\u6C92\u6709\u60A8\u7684\u6D88\u606F\u4E86\uFF0C\u6240\u4EE5\u6211\u8981\u95DC\u9589\u6B64\u804A\u5929\uFF0C\u82E5\u60A8\u518D\u6B21\u9700\u8981\u6211\u7684\u5354\u52A9\uFF0C\u8ACB\u8FD4\u56DE\u3002\u8B1D\u8B1D\u3002", settingsNoMatchApology: "\u62B1\u6B49\u3002", settingsNoToConfirmationApology: "\u662F\u6211\u7684\u932F\u3002", periodicStateName: "\u91CD\u8907\u72C0\u614B" }; - }, 6568: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(92661)); - class a extends o.default { - constructor(e3) { - super(e3); + get nodeInformation() { + return v.getInfo(this._contentModel.nodeInformationId); } - get _actionTypeId() { - return r2.findUtilizationLabelActionType; + checkCanPaste(e3) { + let t3; + return e3 && (t3 = e3.isFlowViewModel ? e3 : e3.parentFlow), t3 ? t3.info && t3.info.currentUserCanEdit ? this._canPasteToFlowType(t3) : (this.createClipboardResultFailure(O.clipboard.paste.flowNotEditableByCurrentUser), "Clipboard contents cannot be pasted because the current user cannot edit. Normally this is due to the flow not being locked for edit.") : this.createClipboardResultFailure(O.clipboard.paste.flowTypeCouldNotBeDetermined, "Sigh! This should not happen. The paste destination flow type could not be determined."); } - get displayTypeName() { - return this._scriptingName; + checkCanPasteClipboardContextWithDetails(e3) { + return e3.destFlowViewModel ? this.createClipboardResultSuccess() : this.createClipboardResultFailure(O.clipboard.paste.noDestFlow, "No destination flow specified for paste operation."); } - get isArchActionFindUtilizationLabel() { - return true; + get className() { + return "BaseClipboardContentImplViewModel"; } - get findResult() { - return this._findResult; + get clipboardContentType() { + return s.unknown; } - } - 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)), 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: 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)) }]; + copyCutAddDependencyFlowUiMetaData(e3, t3, i3) { + C.expectString(e3, () => I.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "uiMetaDataSectionName")), C.expectString(t3, () => I.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "rawEntityId")), C.expectObject(i3, () => I.createFunctionParameter(this.className, "copyCutAddDependencyFlowUiMetaData", "rawEntityJSON")); + let n3 = u.create(e3, t3, i3, this.clipboardLogging); + this.dependencies.addClipboardDependencyFlowUiMetaDataViewModel(n3) || (n3.destroy(), n3 = void 0); } - constructor(e3, t3) { - super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventListener(s.nluCortexIntentClassificationMetadataUpdated, () => { - this.updateIntentPaths(), l.validateAction(this, true, true); - }), this.addAutoCleanedUpEventSinkWatch(s.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)), this.sortBranches(); + copyCutAddDependencyVariable(e3, t3) { + if (!e3 || !e3.isVariableViewModel || e3.isPromptContainer) return; + const i3 = this._contentModel.dependencies.dependencyVariableModels[e3.id]; + 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 = c.create(e3, this.clipboardLogging, this._contextualFlowTypes); + this.dependencies.addClipboardDependencyVariableViewModel(n3) || (n3.destroy(), n3 = void 0); } - get supportsCustomOutputPaths() { - return true; + copyCutAddDependencyCustomType(e3) { + if (!e3) return; + const t3 = [], i3 = e3?.getCustomDataTypeDefinitions(true); + if (i3 && t3.push(...i3), e3.isCollection) { + const i4 = e3?.singleType?.getCustomDataTypeDefinitions(true); + i4 && t3.push(...i4); + } + const o2 = this.clipboardLogging, r2 = this.dependencies; + n2.each(t3, function(e4) { + let t4 = E.create(e4, o2); + r2.addClipboardDependencyCustomDataTypeDefViewModel(t4) || (t4.destroy(), t4 = void 0); + }); } - static get branchInfo() { - return [p.default.default]; + _processActionViewModel(e3) { + e3 && e3.isBaseAction && e3.info && this._addManifestItemAction(e3); } - createBranchesForAllIntents() { - const e3 = []; - try { - this.getIntents().forEach((t3) => { - const i3 = this._ensureBranchExistsForIntent(t3.name, t3.id, false); - e3.push({ intent: t3, branchItem: i3 }); - }); - } catch (e4) { - this.topic.exception(e4, "failure during createBranchesForAllIntents"); - } finally { - this.sortBranches(); - } - return e3; + addOldIdToOldNameMapping(e3, t3) { + return this.contentModel.addOldIdToOldNameMapping(e3, t3); } - _ensureBranchExistsForIntent(e3, t3, i3) { - let n3 = this.branches.find((e4) => e4.id === t3); - if (n3) n3.label = e3; - else { - const r3 = o.createBranchItemDynamic(this.id, e3, null, true, t3); - n3 = this.addOptionalBranchInfo(r3), i3 && this.sortBranches(); - } - return n3; + resolveOldIdToOldName(e3) { + if (n2.isFunction(this.contentModel.resolveOldIdToOldName)) return this.contentModel.resolveOldIdToOldName(e3); } - addBranchForIntent(e3, t3) { - return this._ensureBranchExistsForIntent(e3, t3, true); + copyCutProcessActionViewModel(e3) { + C.expectTrue(e3 && true === e3.isBaseAction, e3, "BaseActionViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessActionViewModel", "actionViewModel")), this._processActionViewModel(e3, false); } - getIntents() { - var e3, t3; - return (null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.nluCortexMetaData) || void 0 === t3 ? void 0 : t3.intents) || []; + copyCutProcessMenuChoiceViewModel(e3) { + C.expectTrue(e3 && true === e3.isMenuChoice, e3, "MenuChoiceViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessMenuChoiceViewModel", "menuChoiceViewModel")), e3 && e3.isMenuChoice && (this._processActionViewModel(e3.action), this._addManifestItemMenuChoice(e3)); } - switchToNewIntentPaths(e3) { - a.switchToNewIntentPaths(this, e3); + copyCutProcessMenuViewModel(e3) { + C.expectTrue(e3 && true === e3.isMenu, e3, "MenuViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessMenuViewModel", "menuViewModel")), e3 && e3.isMenu && this._addManifestItemMenu(e3); } - removeUnusedOutput(e3, t3) { - if (!this.getOptionalBranchInfo(this.id)) return; - const i3 = this.parentFlow.nluCortexMetaData; - i3 && u.default.findIndex(i3.intents, { id: t3.id }) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); + copyCutProcessStateViewModel(e3) { + C.expectTrue(e3 && true === e3.isState, e3, "StateViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessStateViewModel", "stateViewModel")), e3 && e3.isState && this._addManifestItemState(e3); } - updateIntentPaths() { - const e3 = this.parentFlow.nluCortexMetaData; - if (!e3) return; - const t3 = a.translateEmailIntentsToBranchItems(this, e3.intents); - this.switchToNewIntentPaths(t3); + copyCutProcessTaskViewModel(e3) { + C.expectTrue(e3 && true === e3.isTask, e3, "TaskViewModel", () => I.createFunctionParameter(this.className, "copyCutProcessTaskViewModel", "taskViewModel")), e3 && e3.isTask && this._addManifestItemTask(e3); } - validateSupportedLanguages() { - var e3; - const t3 = f.bootstrapService.featureSupport.naturalLanguageUnderstanding.supportedLanguages.map((e4) => { - var t4, i4; - return (null === (t4 = null == e4 ? void 0 : e4.supportedIntentDetectionSettings) || void 0 === t4 ? void 0 : t4.length) > 0 && (null === (i4 = null == e4 ? void 0 : e4.supportedIntentDetectionSettings) || void 0 === i4 ? void 0 : i4.find((e5) => e5.type === a.GENERETIVE_AI_TYPE)) ? e4.language.toLowerCase() : null; - }).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)(S.naturalLanguageUnderstanding.languageStatusPreviewIntentDetection, null != t4 ? t4 : i3); - } else this.languageWarning.note = null; + 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.")); } - 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, S.naturalLanguageUnderstanding.nluMustHaveOneIntentForIntentDetection); + copyCutSetSupportedFlowTypeFilter(e3) { + C.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(); } - _initializeDesignTime() { - super._initializeDesignTime(), this.optionalBranchInfo.length || this.createBranchesForAllIntents(); + get dependencies() { + return this._dependenciesViewModel; } - } - 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) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { + _performDestroy() { try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; + super._performDestroy(), this._resetUpconvertViewModels(), this.dependencies.destroy(), this._contentModel.dependencies = {}, this._clipboardObject = void 0, this._contentModel = void 0, this._contextualFlowTypes = [], this._copyCutFlowTypes = void 0, this._pasteJsonObjects = void 0, this._pastedTaskOrMenuModel = void 0; + } catch (e3) { + this.logException(e3, "Exception encountered cleaning up clipboard content."); } } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.raceWith = void 0; - var o = i2(89795), a = i2(65212), s = i2(87699); - t2.raceWith = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return e3.length ? a.operate(function(t4, i3) { - o.raceInit(r2([t4], n2(e3)))(i3); - }) : s.identity; - }; - }, 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) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + get isBaseClipboardContentViewModel() { + return true; } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.AnimationFrameAction = void 0; - var o = i2(64772), a = i2(35726), s = (function(e3) { - function t3(t4, i3) { - var n3 = e3.call(this, t4, i3) || this; - return n3.scheduler = t4, n3.work = i3, n3; + get logHeader() { + return this.originalObjectLogStr; } - return r2(t3, e3), t3.prototype.requestAsyncId = function(t4, i3, n3) { - return void 0 === n3 && (n3 = 0), null !== n3 && n3 > 0 ? e3.prototype.requestAsyncId.call(this, t4, i3, n3) : (t4.actions.push(this), t4._scheduled || (t4._scheduled = a.animationFrameProvider.requestAnimationFrame(function() { - return t4.flush(void 0); - }))); - }, t3.prototype.recycleAsyncId = function(t4, i3, n3) { - var r3; - if (void 0 === n3 && (n3 = 0), null != n3 ? n3 > 0 : this.delay > 0) return e3.prototype.recycleAsyncId.call(this, t4, i3, n3); - var o2 = t4.actions; - null != i3 && (null === (r3 = o2[o2.length - 1]) || void 0 === r3 ? void 0 : r3.id) !== i3 && (a.animationFrameProvider.cancelAnimationFrame(i3), t4._scheduled = void 0); - }, t3; - })(o.AsyncAction); - t2.AnimationFrameAction = s; - }, 6854: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get name() { + return this._contentModel.name; } - get _globalTypeName() { - return "timePicker"; + set name(e3) { + this._contentModel.name = C.expectString(e3, () => I.createPropertySet(this.className, "name"), true); } - get displayTypeName() { - return "ArchVariableTimePicker"; + get originalObjectInfo() { + return this._contentModel.originalObjectInfo; } - get initialValue() { - return this._initialValue; + get originalObjectId() { + return this.originalObjectInfo.objectId; } - get isArchVariableTimePicker() { - return true; + get originalObjectFlowId() { + return this.originalObjectInfo.flowId; } - } - t2.default = r2; - }, 6872: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get originalObjectFlowType() { + return this.originalObjectInfo.flowType; } - get _globalTypeName() { - return "quickReplies"; + get originalObjectLogStr() { + return "content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "'"; } - get initialValue() { - return this._initialValue; + get originalObjectLogStrFull() { + return "content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "', orig_flowId: '" + (this.originalObjectInfo.flowId ? this.originalObjectInfo.flowId : "") + "', content_id: '" + this.id + "'"; } - get displayTypeName() { - return "ArchVariableQuickReplies"; + paste(e3) { + let t3; + this.pushLogHeader(this.logHeader); + try { + this.log("Content object paste operation begin."), this._pasteJsonObjects = {}, this._pasteJsonObjects.content = this.cloneToRawJsonObject(this.contentModel.contentRawJSON), this._resetUpconvertViewModels(); + const i3 = this._pasteBefore(e3); + if (i3.isFailure) return i3; + const n3 = this.dependencies.paste(e3); + if (n3.isFailure) return n3; + if (t3 = this._performPaste(e3), t3.isFailure) return t3; + t3 = this._pasteAfter(e3); + } catch (e4) { + t3 = this.createClipboardResultFailure("An error occurred during the content paste operation."); + } finally { + this.log("Content object paste operation end."), this.popLogHeader(), this._pastedTaskOrMenuModel = void 0, this._resetUpconvertViewModels(); + } + return t3; } - get isArchVariableQuickReplies() { - return true; + get pastedMenuOrTaskOrActionViewModel() { + return this._pastedTaskOrMenuModel; } - } - t2.default = r2; - }, 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), c = i2(55295), d = (0, o.getTopic)("ttsEngineService"); - class p extends l.EngineService { - constructor() { - super(u.TtsEngine, c); + set pastedMenuOrTaskOrActionViewModel(e3) { + this._pastedTaskOrMenuModel = C.expectObject(e3, () => I.createPropertySet(this.className, "pastedMenuOrTaskOrActionViewModel", "coreViewModel")); } - _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); - }) : 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), [])) : d.error(`No engine view model found for id '${t6.id}'`); - }); - } - })) : d.errorWithStack(null, "ttsEngineService._processBootstrapDataLoaded was passed null bootstrapService.")); + }; + }, 76395(e2, t2, i2) { + const n2 = i2(92140), o = i2(25088), r = i2(45421), a = i2(13126), s = i2(85160), l = i2(27359), u = i2(92330), c = "rawJsonToModels", d = "pasteReIdOrRename", p = "performPasteResolveOldToNewValues", _ = "modelsToViewModels"; + class h extends o { + constructor(e3, t3) { + super(e3, t3); } - get className() { - return "ttsEngineService"; + static _addMenuChoiceToCoreContent(e3, t3) { + const i3 = e3.getConfiguration(); + if (!i3) throw "could not get core menu choice view model configuration"; + const o2 = { menuChoice: r.cloneToRawJsonObject(i3) }; + if (e3.isSubMenu) { + const t4 = e3.action.menuReference; + if (t4) { + const i4 = e3.parentFlow.getMenuById(t4); + i4 && (o2.menu = h._cloneMenuToJSONClearingChoices(i4.model)); + } + } else if (e3.isInlineTask) { + const t4 = e3.action.taskReference; + if (t4) { + const i4 = e3.parentFlow.getTaskById(t4); + i4 && (o2.task = r.cloneToRawJsonObject(i4.getConfiguration())); + } + } + t3.push(o2), n2.isArray(e3.choices) && (o2.menuChoices = [], n2.each(e3.choices, function(e4) { + h._addMenuChoiceToCoreContent(e4, o2.menuChoices); + }.bind(this))); } - getEngineWithVoiceId(e3) { - return r2.default.find(this.items, (t3) => t3.voices[e3]); + static _addMenuToCoreContent(e3) { + const t3 = e3.model; + if (!t3) throw "could not get core mnenu view model configuration"; + const i3 = { menu: h._cloneMenuToJSONClearingChoices(t3), menuChoices: [] }; + return n2.each(e3.choices, function(e4) { + h._addMenuChoiceToCoreContent(e4, i3.menuChoices); + }.bind(this)), i3; } - get engineIdGenesys() { - return "genesys"; + _deleteMenuChoicesForCut(e3) { + if (n2.isArray(e3.choices)) for (let t3 = e3.choices.length - 1; t3 >= 0; t3--) { + const i3 = this._deleteMenuChoicesForCut(e3.choices[t3]); + if (i3.isFailure) return i3; + } + return e3.destroy(), this.createClipboardResultSuccess(); } - get engineIdGenesysEnhanced() { - return "genesys_enhanced"; + _deleteMenuForCut(e3) { + for (let t3 = e3.choices.length - 1; t3 >= 0; t3--) { + const i3 = this._deleteMenuChoicesForCut(e3.choices[t3]); + if (i3.isFailure) return i3; + } + return e3.parentFlow.deleteNode(e3), this.createClipboardResultSuccess(); } - get engineNameGenesys() { - var e3; - return (null === (e3 = this.getGenesysEngine()) || void 0 === e3 ? void 0 : e3.name) || "Genesys TTS"; + static _cloneMenuToJSONClearingChoices(e3) { + const t3 = r.cloneToRawJsonObject(e3); + return t3.menuChoiceList = [], t3; } - get engineNameGenesysEnhanced() { - var e3; - return (null === (e3 = this.getGenesysEnhancedEngine()) || void 0 === e3 ? void 0 : e3.name) || "Genesys Enhanced TTS"; + _iterateModelsAndProcess(e3, t3, i3, o2, r2, 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, v, I; + if (!n2.isUndefined(y) && o2 === _) { + this.pushLogHeader("menu - name " + this._getNameAndIdStr(y)); + try { + this.log("Adding view model for menu " + this._getNameAndIdStr(y) + " to flow menus that currently has " + e3.destFlowViewModel.menus.length + " menu(s)."), m = this._pasteAddMenuViewModelForMenuModel(e3, y), a2 && (this.pastedMenuOrTaskOrActionViewModel = m), N = m; + } finally { + this.popLogHeader(); + } + } + if (!n2.isUndefined(A) && o2 === _) { + this.pushLogHeader("task - name " + this._getNameAndIdStr(A)); + 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), v = t4; + } finally { + this.popLogHeader(); + } + } + if (n2.isUndefined(g)) { + if (i3) return this.createClipboardResultFailurePasteGeneric("There is no menu choice model for " + this._getNameAndIdStr(t3.menuChoice) + " to call " + o2 + "."); + } else { + this.pushLogHeader("menu choice - name " + this._getNameAndIdStr(g)); + try { + switch (o2) { + case c: + t3.menuChoiceModel = new l(g); + break; + 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, r2, f.action, e3.destViewModel.isAction ? e3.destViewModel : void 0)) : h2 = this._pasteAddMenuChoiceViewModelForMenuChoiceModel(e3, r2, f), a2 && !this.pastedMenuOrTaskOrActionViewModel && (this.pastedMenuOrTaskOrActionViewModel = h2), I = h2; + } + } finally { + this.popLogHeader(); + } + } + if (!n2.isUndefined(T)) { + this.pushLogHeader("menu - name " + this._getNameAndIdStr(T)); + try { + switch (o2) { + case c: + t3.menuModel = new s(T); + break; + case d: + y.pasteReIdOrRename(e3.clipboardObject); + break; + case p: + y.pasteResolveOldToNewValues(e3.clipboardObject); + } + } finally { + this.popLogHeader(); + } + } + if (!n2.isUndefined(S)) { + this.pushLogHeader("task - name " + this._getNameAndIdStr(S)); + try { + switch (o2) { + case c: + t3.taskModel = new u(S); + break; + case d: + A.pasteReIdOrRename(e3.clipboardObject); + break; + case p: + A.pasteResolveOldToNewValues(e3.clipboardObject); + } + } finally { + this.popLogHeader(); + } + } + if (a2 && !this._destUpconvertMenuChoiceViewModel && (I || N || v) && e3.additionalInfo && e3.additionalInfo.addNotableObject(I || N || v), n2.isArray(t3.menuChoices)) for (let i4 = 0; i4 < t3.menuChoices.length; i4++) { + const n3 = this._iterateModelsAndProcess(e3, t3.menuChoices[i4], true, o2, h2 || m, false); + if (n3.isFailure) return n3; + } + return this.createClipboardResultSuccess(); } - getGenesysEngine() { - return this.items[this.engineIdGenesys]; + _performDestroy() { + super._performDestroy(); } - getGenesysEnhancedEngine() { - return this.items[this.engineIdGenesysEnhanced]; + _performPaste(e3) { + let t3; + try { + const i3 = this.clipboardContentType === a.menuChoice; + 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) { + t3 = this.createClipboardResultFailurePasteException(e4, "Exception caught in clipboard menu / menu choice paste handling.", e4); + } + return t3; } - static get defaultId() { - return "__default__"; + _resetUpconvertViewModels() { + super._resetUpconvertViewModels(), this._destUpconvertMenuChoiceViewModel = void 0; } - get defaultId() { - return p.defaultId; + get className() { + return "BaseClipboardContentMenuMenuChoiceViewModel"; } - loadNewBootstrapData(e3) { - e3 ? (this.resetState(), this._processBootstrapDataLoaded(e3)) : d.errorWithStack(null, "ttsEngineService.loadNewBootstrapData was passed null bootstrapService."); + get isBaseClipboardContentMenuMenuChoiceViewModel() { + return true; } - } - t2.default = new p(); - }, 7024: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArgumentOutOfRangeError = void 0; - var n2 = i2(9619); - t2.ArgumentOutOfRangeError = n2.createErrorClass(function(e3) { - return function() { - e3(this), this.name = "ArgumentOutOfRangeError", this.message = "argument out of range"; - }; - }); - }, 7098: (e2, t2, i2) => { - let n2 = null; - if (i2(6697)) n2 = i2(44911); - else { - const e3 = i2(29546); - try { - n2 = i2(23041)("./" + e3.getCurrentLanguage() + "/expressionsPc.js"); - } catch (e4) { - n2 = i2(44911); + shouldPasteAsDownConvertAction(e3) { + return false; + } + shouldPasteAsReusableMenu(e3) { + return false; + } + shouldPasteAsReusableTask(e3) { + return false; } } - n2.then && n2.then((t3) => { - e2.exports = t3; - }), e2.exports = n2; - }, 7221: (e2, t2, i2) => { - "use strict"; - 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), 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), 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"); + e2.exports = h; + }, 96348(e2, t2, i2) { + const n2 = i2(92140), o = i2(25088); + e2.exports = class extends o { + constructor(e3, t3) { + super(e3, t3); } - get _actionTypeId() { - return f.askForSlotActionType; + initialize(e3, t3, i3) { + try { + if (!t3.getConfiguration()) throw "could not get core view model configuration"; + t3.addClipboardDependencies(this), i3 && (e3.deleteNode(t3), this.validateFlow(e3)); + } catch (e4) { + throw this.logException(e4, "'" + this.clipboardContentType + "' initialization failure."), this.destroy(), e4; + } } - get displayTypeName() { - return "ArchActionAskForSlot"; + _performDestroy() { + super._performDestroy(), this._destUpconvertMenuChoiceViewModel = void 0; } - get isArchActionAskForSlot() { + _performPaste(e3) { + const t3 = this._pasteGetCoreModelForContent(); + return t3.pasteReIdOrRename(e3.clipboardObject), t3.pasteResolveOldToNewValues(e3.clipboardObject), n2.each(t3.variables, function(t4) { + this.pasteFixVariable(e3, t4); + }.bind(this)), this.pastedMenuOrTaskOrActionViewModel = this._pasteGetCoreViewModelForCoreModel(e3, t3), n2.each(this.pastedMenuOrTaskOrActionViewModel.variables, (e4) => { + e4 && n2.isFunction(e4.initializeDesignTime) && e4.initializeDesignTime(); + }), e3.additionalInfo && e3.additionalInfo.addNotableObject(this._destUpconvertMenuChoiceViewModel ? this._destUpconvertMenuChoiceViewModel : this.pastedMenuOrTaskOrActionViewModel), this.createClipboardResultSuccess(); + } + _pasteGetCoreModelForContent() { + this.logError("_pasteGetCoreModelForContent being called on base class. This should be overridden by inheriting classes!"); + } + _pasteGetCoreViewModelForCoreModel(e3, t3) { + this.logError("_pasteGetCoreViewModelForCoreModel being called on base class. This should be overridden by inheriting classes!"); + } + get isBaseClipboardContentStateTaskViewModel() { return true; } - get enableBargeIn() { - return g.__classPrivateFieldGet(this, l, "f"); + }; + }, 78446(e2, t2, i2) { + const n2 = i2(45421), o = i2(13126); + e2.exports = class extends n2 { + constructor(e3) { + super(e3); } - get askResult() { - return g.__classPrivateFieldGet(this, n2, "f"); + _throwAbstractMethodCalled(e3) { + throw `${this.className}::${e3} being called and should be overridden in inheriting classes`; } - get chooser() { - return g.__classPrivateFieldGet(this, r2, "f"); + get nodeInformation() { + this._throwAbstractMethodCalled("nodeInformation (get)"); } - get confirmationMode() { - return g.__classPrivateFieldGet(this, o, "f"); + checkCanPaste(e3) { + this._throwAbstractMethodCalled("checkCanPaste"); } - get confirmationQuestion() { - return g.__classPrivateFieldGet(this, a, "f"); + checkCanPasteClipboardContextWithDetails(e3) { + this._throwAbstractMethodCalled("checkCanPasteClipboardContextWithDetails"); } - get customValidation() { - return g.__classPrivateFieldGet(this, s, "f"); + get className() { + return "BaseClipboardContentViewModel"; } - setLiteralConfirmationMode(e3) { - const t3 = this._infoParm("newConfirmationMode", "setLiteralConfirmationMode"); - this._checkItemIsValidLiteralStringEnum(t3, e3, y.default.BOT_CONFIRMATION_MODES_ALL), this._getCoreViewModel().confirmationMode.setAsLiteral(e3), this.logNote(`confirmation mode set to '${this._getCoreViewModel().confirmationMode.text}'`); + get clipboardContentType() { + this._throwAbstractMethodCalled("clipboardContentType (get)"); } - setSlot(e3, t3) { - const i3 = this._infoParm("slotName", "setSlot"); - this._checkItemIsValidLiteralString(i3, e3, false), this._checkItemIsValidLiteralBool(i3, t3, true), this._getCoreViewModel().setSelectedSlotNameAndType(e3, void 0, t3); + copyCutAddDependencyFlowUiMetaData(e3, t3, i3) { + this._throwAbstractMethodCalled("copyCutAddDependencyFlowUiMetaData"); } - get grammar() { - return g.__classPrivateFieldGet(this, u, "f"); + copyCutAddDependencyVariable(e3, t3) { + this._throwAbstractMethodCalled("copyCutAddDependencyVariable"); } - get speechToTextEngineName() { - var e3; - return null === (e3 = this._getCoreViewModel().speechToTextEngine) || void 0 === e3 ? void 0 : e3.nameValue; + copyCutAddDependencyCustomType(e3) { + this._throwAbstractMethodCalled("copyCutAddDependencyCustomType"); } - get speechToTextEngineId() { - var e3; - return null === (e3 = this._getCoreViewModel().speechToTextEngine) || void 0 === e3 ? void 0 : e3.idValue; + addOldIdToOldNameMapping(e3, t3) { + this._throwAbstractMethodCalled("addOldIdToOldNameMapping"); } - 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(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); - }); + resolveOldIdToOldName(e3) { + this._throwAbstractMethodCalled("resolveOldIdToOldName"); } - 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(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); - }); + copyCutProcessActionViewModel(e3) { + this._throwAbstractMethodCalled("copyCutProcessActionViewModel"); } - get speechToTextEngineCompleteTimeout() { - return g.__classPrivateFieldGet(this, c, "f"); + copyCutProcessMenuChoiceViewModel(e3) { + this._throwAbstractMethodCalled("copyCutProcessMenuChoiceViewModel"); } - get speechToTextEngineConfidenceLevel() { - return g.__classPrivateFieldGet(this, d, "f"); + copyCutProcessMenuViewModel(e3) { + this._throwAbstractMethodCalled("copyCutProcessMenuViewModel"); } - get outputMaxNoInputs() { - return this._getOutputById(N.outputIds.maxNoInputs, true); + copyCutProcessStateViewModel(e3) { + this._throwAbstractMethodCalled("copyCutProcessStateViewModel"); } - get outputMaxNoMatches() { - return this._getOutputById(N.outputIds.maxNoMatches, true); + copyCutProcessTaskViewModel(e3) { + this._throwAbstractMethodCalled("copyCutProcessTaskViewModel"); } - get outputSkipResponseCapture() { - return this._getOutputById(N.outputIds.skipResponseCapture, true); + copyCutResetSupportedFlowTypeFilter() { + this._throwAbstractMethodCalled("copyCutResetSupportedFlowTypeFilter"); } - get repromptHandling() { - return g.__classPrivateFieldGet(this, p, "f"); + copyCutSetSupportedFlowTypeFilter(e3) { + this._throwAbstractMethodCalled("copyCutSetSupportedFlowTypeFilter"); } - get continuationPrompt() { - return g.__classPrivateFieldGet(this, _, "f"); + get isBaseClipboardContentViewModel() { + return true; } - get continuationReprompts() { - return g.__classPrivateFieldGet(this, h, "f"); + isVariableScopedToClipboardContent(e3) { + if (!e3 || !e3.isVariableViewModel) return false; + switch (this.clipboardContentType) { + case o.task: + return e3.isTaskVariable; + case o.state: + return e3.isStateVariable; + case o.flow: + return e3.isFlowVariable; + case o.menuChoice: + return !e3.isFlowVariable; + default: + return false; + } } - get customizeContinuation() { - return g.__classPrivateFieldGet(this, m, "f"); + get logHeader() { + this._throwAbstractMethodCalled("logHeader (get)"); } - } - 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; - var n2 = i2(62326), r2 = i2(44880), o = i2(5825); - t2.throttleTime = function(e3, t3, i3) { - void 0 === t3 && (t3 = n2.asyncScheduler); - var a = o.timer(e3, t3); - return r2.throttle(function() { - return a; - }, i3); - }; - }, 7302: (e2, t2, i2) => { - "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 c extends l.default { - constructor(e3) { - super(e3, s.smsPhoneNumberManager); + get name() { + this._throwAbstractMethodCalled("name (get)"); } - get _globalTypeName() { - return "phoneNumber"; + set name(e3) { + this._throwAbstractMethodCalled("name (set)"); } - get displayTypeName() { - return "ArchValuePhoneNumber"; + get originalObjectInfo() { + this._throwAbstractMethodCalled("originalObjectInfo (get)"); } - get isArchValuePhoneNumber() { - return true; + get originalObjectId() { + this._throwAbstractMethodCalled("originalObjectInfoId (get)"); } - _setLiteralPhoneNumber(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - if (this._coreExpression.options.literalUsesSmsPhoneNumberDropdown) { - const e4 = o.splitRawPhoneNumber(t3); - yield this.setLiteralBySmsPhoneNumberIdAsync(`+${e4.dialingCode}${e4.number}`); - } - this.logNote("setting phone number to literal string '" + t3 + "'"), this._setLiteral(this._infoVal("", e3), t3); - }); + get originalObjectFlowId() { + this._throwAbstractMethodCalled("originalObjectFlowId (get)"); } - setLiteralPhoneNumber(e3) { - const t3 = this._infoParm("phoneNumberVal", "setLiteralPhoneNumber"); - this._checkItemIsValidLiteralString(t3, e3, true), null == e3 && (e3 = ""); - const i3 = o.validateLiteralString(e3, this._coreExpression.label); - this._checkItem(t3, void 0 !== i3, i3), this._setLiteralPhoneNumber("setLiteralPhoneNumber", e3); + get originalObjectFlowType() { + this._throwAbstractMethodCalled("originalObjectFlowType (get)"); } - setLiteralSipNumber(e3) { - const t3 = this._infoParm("uri", "setLiteralSipNumber"); - this._checkItemIsValidLiteralString(t3, e3, false), this._setLiteralPhoneNumber("setLiteralSipNumber", "sip:" + e3); + get originalObjectLogStr() { + this._throwAbstractMethodCalled("originalObjectLogStr (get)"); } - setLiteralSipsNumber(e3) { - const t3 = this._infoParm("uri", "setLiteralSipsNumber"); - this._checkItemIsValidLiteralString(t3, e3, false), this._setLiteralPhoneNumber("setLiteralSipsNumber", "sips:" + e3); + get originalObjectLogStrFull() { + this._throwAbstractMethodCalled("originalObjectLogStrFull (get)"); } - setLiteralTelephoneNumber(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = this._infoParm("dialingCode", "setLiteralPhoneNumber"); - this._checkItemIsValidLiteralString(i3, e3, false); - const n3 = this._infoParm("subscriberNumber", "setLiteralPhoneNumber"); - this._checkItemIsValidLiteralString(n3, t3, false), e3 = e3.trim(), t3 = t3.trim(); - const a2 = 0 === e3.indexOf("+") ? e3.substr(1) : e3; - this._checkItem(i3, !r2.dialingCodes[a2], "'" + e3 + "' is not a valid dialing code."); - const s2 = "tel:+" + a2 + t3, l2 = o.validateLiteralString(s2, this._coreExpression.label); - this._checkItem(i3, void 0 !== l2, l2), yield this._setLiteralPhoneNumber("setLiteralTelephoneNumber", s2); - }); + paste(e3) { + this._throwAbstractMethodCalled("paste"); } - setLiteralBySmsPhoneNumberIdAsync(e3, t3) { - 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)); + get pastedMenuOrTaskOrActionViewModel() { + this._throwAbstractMethodCalled("pastedMenuOrTaskOrActionViewModel (get)"); } - } - t2.default = c; - }, 7320: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "FileVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; - }, 7340: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFindSystemObjectActionModel = void 0; - const n2 = i2(31635), r2 = i2(80934), o = i2(80295), a = i2(80295), s = i2(7401); - class l extends r2.BaseActionWithOutputsModel { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_findResult"); + set pastedMenuOrTaskOrActionViewModel(e3) { + this._throwAbstractMethodCalled("pastedMenuOrTaskOrActionViewModel (set)"); } - get findResult() { - return this._findResult; + }; + }, 79042(e2, t2, i2) { + const n2 = i2(45421); + e2.exports = class extends n2 { + constructor(e3) { + super(e3); } - set findResult(e3) { - this._findResult = this.reviveItem(e3, s); + get className() { + return "BaseClipboardDependencyViewModel"; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._findResult.pasteReIdOrRename(e3); + get isBaseClipboardDependencyViewModel() { + return true; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._findResult.pasteResolveOldToNewValues(e3); + paste(e3) { + return this._performPaste(e3); } - } - t2.BaseFindSystemObjectActionModel = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findResult", null); - }, 7342: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(7098), o = i2(4087), a = {}; - n2.default.each(o.expression, function(e3, t3) { - a[t3] = e3; - }), n2.default.each(r2.expression, function(e3, t3) { - a[t3] = e3; - }), a.properties = {}, n2.default.each(o.properties, function(e3, t3) { - a.properties[t3] = e3; - }), n2.default.each(r2.properties, function(e3, t3) { - a.properties[t3] = e3; - }), t2.default = a; - }, 7379: (e2, t2, i2) => { - "use strict"; - 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."); + _performPaste(e3) { + return this.createClipboardResultFailurePasteGeneric("BaseClipboardDependency::_performPaste being called on " + this.className + " instance. Inheriting classes should override."); } - 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), 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(d, "Expression"), Object.defineProperties(d.prototype, { properties: { enumerable: true, get: function() { - return this._properties; - }, set: function(e3) { - this._properties = this.reviveMap(e3, d, false); - } }, setProperty: { value: function(e3, t3) { - this._properties || (this._properties = {}), this._properties[e3] = t3; - } }, getProperty: { value: function(e3) { - if (this._properties && e3) return this._properties[e3]; - } }, getUniqueReplacementStr: { value: function() { - return `~${u()}~`; - } }, removeStringLiterals: { value: function(e3) { - const t3 = { exprLitToGuidText: e3, guidToStringMap: {} }; - if (!n2.isString(e3) && e3.length > 5) return t3; - let i3 = false; - const r3 = e3.split(""), o2 = r3.length; - let a2 = "", s2 = ""; - for (let e4 = 0; e4 < o2; e4++) switch (r3[e4]) { - case '"': - if (i3) { - const e5 = this.getUniqueReplacementStr(); - a2 += e5, t3.guidToStringMap[e5] = s2 + '"', s2 = ""; - } - i3 = !i3, i3 && (s2 = '"'); - break; - case "\\": - if (!i3) { - a2 += "\\"; - break; - } - if (e4 + 1 >= o2) { - s2 += "\\"; - break; - } - switch (r3[e4 + 1]) { - case "\\": - s2 += "\\\\", e4++; - break; - case "n": - case "r": - case "t": - case '"': - s2 = s2 + "\\" + r3[e4 + 1], e4++; - break; - default: - s2 += r3[e4]; - } - break; - default: - i3 ? s2 += r3[e4] : a2 += r3[e4]; + }, 45421(e2, t2, i2) { + const n2 = i2(92140), o = i2(6291), { obfuscation: r } = 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 = d()), n2.isUndefined(this._createDateTime) && (this._createDateTimeStr = (/* @__PURE__ */ new Date()).toISOString()), Object.defineProperties(this, { _createDateTime: { value: new Date(this._createDateTimeStr), writable: false, enumerable: false } }); } - if (s2) { - const e4 = this.getUniqueReplacementStr(); - a2 += e4, t3.guidToStringMap[e4] = s2, s2 = ""; + _getNameAndIdStr(e3) { + return "'" + (e3.name ? e3.name : e3.displayName ? e3.displayName : "") + "' (ID: " + (e3.id ? e3.id : "") + ")"; } - return t3.exprLitToGuidText = a2, t3; - } }, pasteReplaceOldVarNamesWithNewNames: { value: function(e3, t3) { - const i3 = e3.pasteContext.getOldVariableNameToNewNameArray(); - if (!n2.isString(t3) || t3.trim().length < 6 || 0 === i3.length) return t3; - const r3 = this.removeStringLiterals(t3), o2 = r3.guidToStringMap; - return t3 = r3.exprLitToGuidText, i3.length && n2.each(i3, function(e4) { - const i4 = this.getUniqueReplacementStr(), r4 = n2.escapeRegExp(e4.oldVarName), a2 = new RegExp(r4 + "(?![A-Za-z0-9_\xC0-\xD6\xD8-\xF6\xF8-\u1FFF\u3040-\u318F\u3300-\u337F\u3400-\u3D2D\u4E00-\u9FFF\uF900\uFAFF])", "ig"), s2 = t3.replace(a2, i4); - s2 !== t3 && (o2[i4] = e4.newVarName, t3 = s2); - }.bind(this)), n2.each(o2, function(e4, i4) { - const r4 = new RegExp(n2.escapeRegExp(i4), "ig"); - t3 = t3.replace(r4, e4); - }.bind(this)), t3; - } }, _reviveBuilderModel: { value: function(e3) { - if (this.uiMetaData && this.uiMetaData.builder) return e3.reviveBuilderModel(this.uiMetaData.builder); - } }, pasteReIdOrRename: { value: function(e3) { - if (!this.uiMetaData) return; - const t3 = this._reviveBuilderModel(e3); - t3 && t3.pasteReIdOrRename(e3), n2.each(this._properties, (t4) => { - t4.pasteReIdOrRename(e3); - }); - } }, _pasteReplaceOldVarNamesWithNewNamesForExpression: { value: function(e3) { - const t3 = this.pasteReplaceOldVarNamesWithNewNames(e3, this.text); - t3 !== this.text && (e3.log(`expressionModel : Updating expression text from '${this.text}' to '${t3}'`), this.text = t3, this.config = void 0); - } }, pasteResolveOldToNewValues: { value: function(e3) { - if (!this.uiMetaData) return; - const t3 = this._reviveBuilderModel(e3); - if (t3 && t3.pasteResolveOldToNewValues(e3), n2.each(this._properties, (t4) => { - t4.pasteResolveOldToNewValues(e3); - }), l.audio.expressionType === this.type) this.uiMetaData.sequenceItems && n2.each(this.uiMetaData.sequenceItems, (t4) => { - switch (t4.type) { - case r2.expression: { - const i3 = new this.constructor(t4.model); - i3._pasteReplaceOldVarNamesWithNewNamesForExpression(e3), t4.model = i3.toJSON(), t4.parameter = i3.text; - break; - } - case r2.data: - t4.variableId = e3.pasteContext.oldIdToNewIdMap.resolveFlowGroupedMapping(e3.pasteContext.currentContentFlowId, t4.variableId), t4.parameter = this.pasteReplaceOldVarNamesWithNewNames(e3, t4.parameter); - break; - case r2.blank: - case r2.prompt: - case r2.tts: - break; - default: - 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) { - case a.builder: - case a.expression: - this._pasteReplaceOldVarNamesWithNewNamesForExpression(e3); - break; - case a.variable: - if (n2.isString(this.text)) { - const t4 = e3.pasteContext.getOldVariableNameToNewNameArray(), i3 = this.text.toLowerCase(), r3 = n2.find(t4, function(e4) { - return e4.oldVarName === i3; - }); - r3 && (e3.log(`expressionModel : Updating variable name from '${this.text}' to '${r3.newVarName}'`), this.text = r3.newVarName, this.config = void 0); - } - case a.literal: - case a.none: - case a.noValue: + _performDestroy() { } - } }, setStringLiteralBlank: { value: function() { - 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 = d; - }, 7452: (e2, t2, i2) => { - const n2 = i2(55892); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "AudioConnectorList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 7473: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(39950); - function o() { - Object.defineProperties(this, { _contents: { writable: true } }), o.baseConstructor.apply(this, arguments), n2.isUndefined(this._contents) && (this._contents = []); - } - i2(28403).extend(o, "ClipboardObjectModel", true), Object.defineProperties(o.prototype, { contents: { enumerable: true, get: function() { - return this._contents; - }, set: function(e3) { - this._contents = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 7584: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(30801), r2 = i2(92330); - class o extends r2 { - constructor(e3) { - super(e3); + get className() { + return p; } - } - t2.default = o, r2.extend(o, n2.commonModuleTaskActionType, true); - }, 7635: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchDefinitionAction = void 0; - const n2 = i2(92448); - class r2 extends n2.ArchBaseDefinitionActionMenu { - constructor(e3) { - super(e3); + get clipboardLogging() { + return this._clipboardLogging; } - get displayTypeName() { - return "ArchDefinitionAction"; + cloneToRawJsonObject(e3) { + return _.cloneToRawJsonObject(e3); } - get isArchDefinitionAction() { - return true; + static cloneToRawJsonObject(e3) { + return n2.isUndefined(e3) || null === e3 ? e3 : n2.deepClone(e3); } - } - t2.ArchDefinitionAction = r2; - }, 7652: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.argsOrArgArray = void 0; - var i2 = Array.isArray; - t2.argsOrArgArray = function(e3) { - return 1 === e3.length && i2(e3[0]) ? e3[0] : e3; - }; - }, 7658: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(83663)), o = n2.__importDefault(i2(78432)); - class a extends r2.default { - constructor(e3) { - super(e3); + createClipboardResultFailure(e3, t3) { + return o.createFailureResult(e3); } - get _globalTypeName() { - return "chooser"; + createClipboardResultFailureCanPasteGeneric(e3) { + return e3 && this.logError(e3), o.createFailureResult(l.clipboard.content.pastableLocations.cannotPasteGeneric, e3); } - get carousel() { - return this._getAssignableProperty("carousel"); + createClipboardResultFailurePasteException(e3, t3) { + this.logException(e3, t3); + let i3 = n2.isString(t3) && t3.length > 0 ? t3 : ""; + return e3 && e3.message && (i3 = i3 + " -> " + e3.message), o.createFailureResult(l.clipboard.paste.pasteFailed, i3); } - get presentation() { - return this._getAssignableProperty("presentation")._setWritableOverride(true); + createClipboardResultFailurePasteGeneric(e3) { + return e3 && this.logError(e3), o.createFailureResult(l.clipboard.paste.pasteFailed, e3); } - get quickReplies() { - return this._getAssignableProperty("quickReplies"); + createClipboardResultSuccess(e3, t3) { + return o.createSuccessResult(e3, t3); } - get timePicker() { - return this._getAssignableProperty("timePicker"); + createClipboardResultSuccessWithWarning(e3, t3) { + return o.createSuccessWarningResult(e3, t3); } - get listPicker() { - return this._getAssignableProperty("listPicker"); + get dateTimeCreated() { + return this._createDateTime; } - setPresentationMode(e3) { - this._checkItemIsValidLiteralStringEnum(this._infoParm("setPresentationMode", "presentationMode"), e3, o.default.CHOOSER_PRESENTATION_MODES_ALL), this.presentation.setLiteralString(e3), this.logNote(`setting the presentation mode to '${e3}'.`); + destroy() { + this.pushLogHeader(this.logHeader); + try { + this.log("Destroy begin."), this._performDestroy(); + } catch (e3) { + this.logException(e3, "Exception caught in base clipboard destroy"); + } finally { + this.log("Destroy end."), this.popLogHeader(), this._clipboardLogging = void 0, this._id = void 0; + } } - get displayTypeName() { - return "ArchValueChooser"; + static decodeStr(e3) { + return r.decodeStr(e3); } - get isArchValueChooser() { - return true; + static encodeStr(e3) { + return r.encodeStr(e3); } - } - t2.default = a; - }, 7800: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(81161), o = i2(45889).default; - function a() { - Object.defineProperties(this, { _dynamicSlotTypes: { writable: true }, _dynamicTimeslots: { writable: true } }), this.intentsToReusableTasks = {}, this.listPickerMappings = {}, this.slotsToGrammars = {}, this.slotToSlotVariables = {}, this.slotToReferencingIntents = {}, this.slotToEntityTypes = {}, a.baseConstructor.apply(this, arguments); - } - Object.defineProperties(a.prototype, { dynamicSlotTypes: { enumerable: true, get: function() { - return this._dynamicSlotTypes; - }, set: function(e3) { - this._dynamicSlotTypes = this.reviveMap(e3, r2, false); - } } }), Object.defineProperties(a.prototype, { dynamicTimeslots: { enumerable: true, get: function() { - return this._dynamicTimeslots; - }, set: function(e3) { - this._dynamicTimeslots = this.reviveMap(e3, o, false); - } } }), n2.extend(a, "NluMetaDataMappings"), e2.exports = a; - }, 7830: (e2, t2, i2) => { - "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), 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"; + static getFlowViewModel(e3) { + return e3 && e3.parentFlow && e3.parentFlow.isFlowViewModel ? e3.parentFlow : void 0; + } + getLastActionForStateOrTask(e3) { + if (e3 && e3.isTaskLike) return e3.lastAction; } get id() { - return "inboundEmailSettings"; + return this._id; } - get className() { - return "InboundEmailSettingsViewModel"; + get isBaseClipboardViewModel() { + return true; } - get helpTopic() { - return a.helpTopics.treeNodes.inboundEmailSettings; + log(e3) { + this._clipboardLogging.log(e3); } - get isInboundEmailSettingsNode() { - return true; + logError(e3) { + this._clipboardLogging.logError(e3); } - get nodeGuxIcon() { - return "fa/gears-regular"; + logException(e3, t3) { + this._clipboardLogging.logException(e3, t3); } - getConfiguration(e3, t3) { - var i3; - if (null == t3 ? void 0 : t3.isForFlowYaml) { - 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; + get logHeader() { + return this.className + " (ID: '" + this.id + "')"; + } + pasteFixVariable(e3, t3) { + 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 = c.getScope(t3.name); + let o2, r2, l2 = true; + switch (n3) { + case c.scopes.common: + case c.scopes.flow: + o2 = e3.destFlowViewModel.supportsFlowInputVariables, r2 = e3.destFlowViewModel.supportsFlowOutputVariables; + break; + case c.scopes.state: + o2 = e3.destFlowViewModel.supportsStateInputVariables, r2 = e3.destFlowViewModel.supportsStateOutputVariables; + break; + case c.scopes.task: + o2 = e3.destFlowViewModel.supportsTaskInputVariables, r2 = e3.destFlowViewModel.supportsTaskOutputVariables; + break; + default: + l2 = false; } - e3.inboundEmailSettings || (e3.inboundEmailSettings = new u()), e3.inboundEmailSettings.autoGeneratedEmailHandlingType = this.autoGeneratedEmailHandlingType; + return l2 && (t3.isInput && !o2 && (this.log("The variable model " + this._getNameAndIdStr(t3) + " is an input variable which is not supported for " + n3 + " scoped variables in the flow " + e3.getDestFlowNameAndIdStr() + ". Setting isInput to false."), t3.isInput = false), t3.isOutput && !r2 && (this.log("The variable model " + this._getNameAndIdStr(t3) + " is an output variable which is not supported for " + n3 + " scoped variables in the flow " + e3.getDestFlowNameAndIdStr() + ". Setting isOutput to false."), t3.isOutput = false)), i3; } - getDisplayName() { - return c.inboundEmailSettings.treeLabel; + pasteGetUniqueName(e3, t3, i3, o2, r2, a2) { + const s2 = e3 ? e3.toLowerCase() : ""; + if (l2 = t3, u2 = function(e4) { + return e4.name.toLowerCase() === s2; + }, !(a2 ? n2.find(l2, function(e4) { + return n2.find(e4, u2); + }) : n2.find(l2, u2))) return e3; + var l2, u2; + const c2 = (e3 = this.removeNumericSuffixAndSpace(e3)) ? e3 + (o2 ? " " : "") + "%1$s" : "%1$s", d2 = i3.destFlowViewModel._getUniqueName(t3, c2, r2, a2); + return this.log("Generated unique name '" + d2 + "' from original name '" + (e3 || "") + "'"), d2; } - loadConfiguration(e3) { - e3.inboundEmailSettings || (e3.inboundEmailSettings = new u()), void 0 === e3.inboundEmailSettings.autoGeneratedEmailHandlingType && (e3.inboundEmailSettings.autoGeneratedEmailHandlingType = l.Disconnect), r2.__classPrivateFieldSet(this, n2, e3, "f"); + pushLogHeader(e3) { + this._clipboardLogging.pushLogHeader(e3); } - get autoGeneratedEmailHandlingType() { - return r2.__classPrivateFieldGet(this, n2, "f") && r2.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings && r2.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings.autoGeneratedEmailHandlingType ? r2.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings.autoGeneratedEmailHandlingType : null; + popLogHeader() { + this._clipboardLogging.popLogHeader(); } - set autoGeneratedEmailHandlingType(e3) { - r2.__classPrivateFieldGet(this, n2, "f") && r2.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings && (r2.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings.autoGeneratedEmailHandlingType = e3); + removeNumericSuffixAndSpace(e3) { + if (s.expectString(e3, () => a.createFunctionParameter(this.className, "removeNumericSuffixAndSpace", "valueToProcessStr"), true), !n2.isString(e3) && 0 === e3.length) return e3; + for (; e3.length && e3[e3.length - 1] >= "0" && e3[e3.length - 1] <= "9"; ) e3 = e3.substring(0, e3.length - 1); + for (; e3.length && " " === e3[e3.length - 1]; ) e3 = e3.substring(0, e3.length - 1); + return e3; } - get autoGeneratedEmailHandlingTypes() { - return d; + get shouldLog() { + return this._clipboardLogging.shouldLog; } - get wrappedYamlName() { - return "settingsInboundEmailHandling"; + set shouldLog(e3) { + this._clipboardLogging.shouldLog = e3; } - } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = p; - }, 7848: (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 suppressLogHeaders() { + return this._clipboardLogging.suppressLogHeaders; } - get _globalTypeName() { - return "timeCollection"; + set suppressLogHeaders(e3) { + this._clipboardLogging.suppressLogHeaders = e3; } - get displayTypeName() { - return "ArchVariableTimeCollection"; + validateFlow(e3) { + s.expectFlowViewModel(e3, () => a.createFunctionParameter(this.className, "validateFlow", "flowViewModel")), e3 && e3.isFlowViewModel && u.validateFlow(e3); } - get initialValue() { - return this._initialValue; + } + e2.exports = _; + }, 62115(e2, t2, i2) { + const n2 = i2(92140), o = i2(45421), { ParameterInfo: r } = i2(55909), { ParameterValidator: a } = i2(33951); + e2.exports = class extends o { + constructor(e3, t3) { + super(e3), a.expectString(t3, () => r.createConstructorParameter(this.className, "title")), Object.defineProperties(this, { _map: { value: {}, writable: true }, _title: { value: t3 } }); } - get isArchVariableTimeCollection() { + _valueLogStr(e3) { + return n2.isString(e3) ? "'" + e3 + "'" : e3; + } + get className() { + return "BaseOldToNewMap"; + } + get isBaseOldToNewMap() { return true; } - } - t2.default = r2; - }, 7862: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(78432)), o = n2.__importDefault(i2(76634)), a = n2.__importDefault(i2(73198)); - class s extends o.default { - constructor(e3) { - super(e3), this._suppressRecording = this.coreFactory.createArchValueFromExpression(e3.suppressRecording); + get titleLogPrefix() { + return this._title + " > "; } - get displayTypeName() { - return "ArchSettingsSpeechRecFlow"; + dump(e3) { + this.shouldLog && (this.log("> " + this._title), n2.isEmpty(this._map) ? this.log(" None.") : this._dumpContent(), this.log(" ")); } - get _allowBlankObjectId() { - return false; + _dumpContent(e3) { } - get asrEnabledOnFlow() { - return this._getCoreViewModel().disableAsr.text !== a.default.true; + get map() { + return this._map; } - set asrEnabledOnFlow(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("enableFlowSpeechRec", "asrEnabledOnFlow"), e3), this.logNote("setting flow speech rec enabled to '" + e3 + "'"), this._getCoreViewModel().disableAsr.setAsLiteral((!e3).toString()); + reset() { + this._map = {}; } - get asrCompanyDir() { - const e3 = this._getCoreViewModel().asrCompanyDir; - return e3 || this._logErrorInternalAndThrow("unknown company directory speech rec configuration"), e3; + }; + }, 46669(e2, t2, i2) { + const n2 = i2(92140), o = i2(17604).sprintf, r = 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 r { + constructor(e3, t3) { + super(e3, t3); } - set asrCompanyDir(e3) { - this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newCompanyDirectoryAsrValue", "asrCompanyDir"), e3, r2.default.SPEECH_REC_COMPANY_MODES_ALL), this.logNote("setting company directory speech rec support to '" + e3 + "'."); - const t3 = this._getCoreViewModel(); - switch (e3) { - case r2.default.SPEECH_REC_COMPANY_MODES.entireFlow: - t3.speechRecCompanyDirectory.setAsLiteral(a.default.true), t3.disableAsrCompanyDirectory.setAsLiteral(a.default.false); - break; - case r2.default.SPEECH_REC_COMPANY_MODES.none: - t3.speechRecCompanyDirectory.setAsLiteral(a.default.false), t3.disableAsrCompanyDirectory.setAsLiteral(a.default.true); - break; - case r2.default.SPEECH_REC_COMPANY_MODES.startUpObject: - t3.speechRecCompanyDirectory.setAsLiteral(a.default.false), t3.disableAsrCompanyDirectory.setAsLiteral(a.default.false); + _resetUpconvertViewModels() { + super._resetUpconvertViewModels(), this._destUpconvertMenuChoiceViewModel = void 0, this._destUpconvertStateViewModel = void 0, this._destUpconvertTaskViewModel = void 0; + } + static create(e3, t3, i3, o2) { + m.expectBool(t3, () => h.createFunctionParameter(S, "create", "deleteActionForCut"), true), m.expectObject(i3, () => h.createFunctionParameter(S, "create", "clipboardLogging")), m.expectString(o2, () => h.createFunctionParameter(S, "create", "newContentName"), true); + const r2 = a.getFlowViewModel(e3); + if (!r2) return m.expectFlowViewModel(r2, () => h.createFunctionParameter(S, "create", "actionViewModel.parentFlow")), null; + let s2; + m.expectObject(e3.info, () => h.createFunctionParameter(S, "create", "actionViewModel")); + try { + const a2 = []; + if (A._addActionTreeToArray(e3, a2), 0 === a2.length) return null; + n2.each(a2, function(e4) { + A._getActionModelById(e4.nextAction, a2) || (e4.nextAction = void 0), n2.each(e4.paths, function(e5) { + A._getActionModelById(e5.nextActionId, a2) || (e5.nextActionId = void 0); + }); + }.bind(this)); + const u2 = new l(); + if (u2.configure(r2, e3, a2, o2), s2 = new A(u2, i3), e3.addClipboardDependencies(s2), t3) { + const t4 = e3.parent; + if (!t4 || !t4.isActionContainerViewModel) throw "The action parent is not an action container view model. Unable to delete the action."; + t4.deleteChild(e3), s2.validateFlow(r2); + } + return s2; + } catch (e4) { + i3.logException(e4, "Unable to create clipboard content task."); } + return s2 && s2.destroy(), null; } - get logStr() { - if (!this._coreSpeechRecSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); + static _addActionTreeToArray(e3, t3) { + if (!e3) return; + const i3 = a.cloneToRawJsonObject(e3.getConfiguration()); + i3 && (t3.push(i3), n2.each(e3.branches, function(e4) { + n2.each(e4.actions, function(e5) { + this._addActionTreeToArray(e5, t3); + }.bind(this)); + }.bind(this))); } - get isArchSettingsSpeechRecFlow() { - return true; + static _getActionModelById(e3, t3) { + if (e3) return n2.find(t3, function(t4) { + return t4.id === e3; + }.bind(this)); } - get suppressRecording() { - return this._suppressRecording; + _buildInsertArray(e3, t3, i3, o2, r2) { + const a2 = [], s2 = o2 ? _.createActionWithModel(o2, t3, a2) : null, l2 = A._getActionModelById(t3.nextAction, i3); + l2 && (i3 = n2.reject(i3, function(e4) { + return e4.id === t3.id; + }), this._buildInsertArray(e3, l2, i3, o2, s2)); + let u2 = t3.paths; + n2.isNullOrUndefined(u2) && (u2 = t3.path ? [t3.path] : []), a2 && u2.push(...a2), n2.each(u2, (o3) => { + const r3 = A._getActionModelById(o3.nextActionId, i3); + if (r3) { + let a3; + s2 ? (a3 = n2.find(s2.branches, (e4) => e4.id === o3.outputId), this.log(`Not inserting action name ${this._getNameAndIdStr(t3)} because its branch was not available`)) : this.log(`Not inserting action name ${this._getNameAndIdStr(t3)} because previous action wasn't insertable`), this._buildInsertArray(e3, r3, i3, a3); + } + }), s2 ? e3.push({ actionViewModel: s2, destActionContainerViewModel: o2, previousActionViewModel: r2 }) : e3.push({ didNotAdd: t3 }); } - } - t2.default = s; - }, 7878: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseAssetType = void 0; - 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); + _performDestroy() { + super._performDestroy(), this._resetUpconvertViewModels(); } - get className() { - return "ResponseAssetType"; + _pasteBefore(e3) { + const t3 = super._pasteBefore(e3); + if (t3.isFailure) return t3; + if (this.shouldPasteAsMenuChoice(e3)) this._destUpconvertMenuChoiceViewModel = p.createMenuChoice(e3.destViewModel, this.contentModel.contentRawJSON[0].__type), this.log("Paste will be up-converting the action to a menu choice for the action. Newly created menu choice will be " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel)); + else if (this.shouldPasteAsReusableTask(e3)) { + const t4 = new y(); + t4.name = e3.clipboardObject.pasteGetUniqueTaskName(o(f.task.newDefaultName, 1)), this._destUpconvertTaskViewModel = this._pasteAddTaskViewModelForTaskModel(e3, t4), e3.destViewModelTaskOrState = this._destUpconvertTaskViewModel, this.log("Paste will be up-converting the action to a reusable task for the action. Newly created task will be " + this._getNameAndIdStr(this._destUpconvertTaskViewModel)); + } else if (this.shouldPasteAsState(e3)) { + const t4 = new T(); + t4.name = e3.clipboardObject.pasteGetUniqueStateName(o(f.task.newDefaultStateName, 1)), this._destUpconvertStateViewModel = this._pasteAddStateViewModelForStateModel(e3, t4), e3.destViewModelTaskOrState = this._destUpconvertStateViewModel, this.log("Paste will be up-converting the action to a state for the action. Newly created state will be " + this._getNameAndIdStr(this._destUpconvertStateViewModel)); + } + return t3; } - getPlutusMimeTypes() { - return s.ALL_MIME_TYPES_SET; + _pasteAfter(e3) { + if (!n2.isUndefined(this._destUpconvertMenuChoiceViewModel)) { + let t3 = this.pastedMenuOrTaskOrActionViewModel.name; + t3 = e3.clipboardObject.pasteGetUniqueMenuChoiceName(t3, this._destUpconvertMenuChoiceViewModel.parent, true, false), this._destUpconvertMenuChoiceViewModel.name = t3, this._pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3.destViewModel, this._destUpconvertMenuChoiceViewModel), this._destUpconvertMenuChoiceViewModel.resetDtmfToUniqueDtmf(); + } + return this.createClipboardResultSuccess(); } - getPlutusSupportedFileExtensions() { - return l.ALL_SUPPORTED_EXTENSIONS; + _performPaste(e3) { + const t3 = []; + if (this.log("Creating " + this._pasteJsonObjects.content.length + " action model(s) from clipboard content action JSON."), n2.each(this._pasteJsonObjects.content, function(i3) { + const o2 = e3.clipboardObject.pasteContext.destFlowViewModel.definition.type; + n2.each(i3, (e4) => { + if (e4?.uiMetaData?.builder) { + const t4 = e4.uiMetaData.builder.builderDefId; + 0 === s.getAvailableBuilderDefinitions(void 0, o2, void 0, [t4]).length && (e4.uiMetaData.mode = 0, delete e4.uiMetaData.builder); + } + }), 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)); + try { + this.log("Assigning new IDs and names."), t4.pasteReIdOrRename(e3.clipboardObject); + } finally { + this.popLogHeader(); + } + }.bind(this)), this.log("Resolving old values to new values for " + t3.length + " action model(s)."), n2.each(t3, function(t4) { + this.pushLogHeader("action - name " + this._getNameAndIdStr(t4)); + try { + this.log("Resolving old values to new values."), t4.pasteResolveOldToNewValues(e3.clipboardObject); + } finally { + this.popLogHeader(); + } + }.bind(this)); + const i3 = e3.destViewModel.isBaseAction ? e3.destViewModel : e3.destViewModel.isTaskLike && e3.pasteActionsToEndOfActionContainer ? this.getLastActionForStateOrTask(e3.destViewModel) : void 0, o2 = this._destUpconvertStateViewModel ? this._destUpconvertStateViewModel : this._destUpconvertTaskViewModel ? this._destUpconvertTaskViewModel : this._destUpconvertMenuChoiceViewModel ? this._destUpconvertMenuChoiceViewModel : e3.destActionContainer; + let r2 = []; + if (this._buildInsertArray(r2, t3[0], t3, o2, i3), t3.length !== r2.length) return this.createClipboardResultFailurePasteGeneric("The array of action view models to paste did not have the same number of actions that the models had. Maybe model code is not resolving old IDs to new IDs?"); + if (this._destUpconvertMenuChoiceViewModel) { + if (1 !== r2.length) return this.createClipboardResultFailurePasteGeneric("The array of action view models to paste was not 1. This is incorrect when up-converting to a menu choice. Sigh."); + const t4 = r2[0]; + this.log("Assigning new action " + this._getNameAndIdStr(t4.actionViewModel) + " to menu choice " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel) + "."), this._destUpconvertMenuChoiceViewModel.action = t4.actionViewModel, this.pastedMenuOrTaskOrActionViewModel = t4.actionViewModel, e3.additionalInfo && e3.additionalInfo.addNotableObject(this._destUpconvertMenuChoiceViewModel); + } else for (let t4 = r2.length - 1; t4 >= 0; t4--) { + const i4 = r2[t4]; + i4.actionViewModel && (this.log("Inserting action name " + this._getNameAndIdStr(i4.actionViewModel) + ". " + (i4.previousActionViewModel ? "Previous action name " + this._getNameAndIdStr(i4.previousActionViewModel) + "." : "No previous action view model.")), i4.destActionContainerViewModel._insertAction(i4.actionViewModel, i4.previousActionViewModel), i4.actionViewModel.initializeDesignTime && i4.actionViewModel.initializeDesignTime(), 0 === t4 && (this.pastedMenuOrTaskOrActionViewModel = i4.actionViewModel), e3.additionalInfo && t4 === r2.length - 1 && e3.additionalInfo.addNotableObject(i4.actionViewModel)); + } + r2 = void 0; + } + return this.createClipboardResultSuccess(); } - getPlutusMediaPlaceholderText() { - return h.responseAsset.responseAssetPlaceholder; + get className() { + return S; } - getPlutusSupportedFileTypesText() { - return (0, r2.sprintf)(h.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + get clipboardContentType() { + return u.action; } - canConvertLitToExpression(e3) { - return u.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [p.globalTypes.string]); + checkCanPasteClipboardContextWithDetails(e3) { + const t3 = super.checkCanPasteClipboardContextWithDetails(e3); + if (t3.isFailure) return t3; + let i3 = false; + if (this.shouldPasteAsMenuChoice(e3, false)) { + if (i3 = true, !this.shouldPasteAsMenuChoice(e3)) return this.createClipboardResultFailure(f.clipboard.content.pastableLocations.cannotPasteActionAsMenuChoiceMoreThanOne); + t3.messageDisplayStr = f.clipboard.content.canPaste.upConvert.action.toMenuChoice; + } else { + 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, 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."); } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindResponseAsset(${c.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get isClipboardContentAction() { + return true; } - _getLiteralValueOfExpression() { - return ""; + get totalActionCount() { + return n2.isArray(this.contentModel.contentRawJSON) ? this.contentModel.contentRawJSON.length : 0; } - get listManager() { - return a.responseAssetManager; + shouldPasteAsMenuChoice(e3, t3) { + let i3 = false; + if ((e3.destViewModel.isSubMenu || e3.destViewModel.isMenu) && n2.isArray(e3.destViewModel.choices) && (t3 || 1 === this.totalActionCount)) { + const e4 = _.getActionConstructor(this.contentModel.contentRawJSON[0]); + e4 && e4.info && (i3 = true === e4.info.canBeTreeNode); + } + return i3; } - createExpressionOptionClass() { - return new o.ExpressionTypeResponseAssetOptions(); + shouldPasteAsReusableTask(e3) { + return e3.destViewModel.isFlowViewModel && e3.destViewModel.supportsReusableTasks && n2.isArray(e3.destViewModel.tasks) && (!e3.pasteSettings || e3.pasteSettings.pasteActionToFlowDestination === g.tasks); + } + shouldPasteAsState(e3) { + return e3.destViewModel.isFlowViewModel && e3.destViewModel.supportsMultipleStates && n2.isArray(e3.destViewModel.states) && e3.pasteSettings && e3.pasteSettings.pasteActionToFlowDestination === g.states; } } - t2.ResponseAssetType = m, m.typeIdentifier = d.expressionTypeNames.responseAsset; - }, 7946: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + e2.exports = A; + }, 8483(e2, t2, i2) { + const n2 = i2(92140), o = i2(76395), r = 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 o { + constructor(e3, t3) { + super(e3, t3); } - get _globalTypeName() { - return "agentScorePairCollection"; + static create(e3, t3, i3, n3) { + 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 = r.getFlowViewModel(e3); + if (!s2) return d.expectFlowViewModel(s2, () => c.createFunctionParameter(h, "create", "menuChoiceViewModel.parentFlow")), null; + let l2; + d.expectObject(e3.info, () => c.createFunctionParameter(h, "create", "menuChoiceViewModel")); + try { + const r2 = []; + o._addMenuChoiceToCoreContent(e3, r2); + const u2 = new a(); + if (u2.configure(s2, e3, r2[0], n3), l2 = new m(u2, i3), e3.addClipboardDependencies(l2), t3) { + const t4 = l2._deleteMenuChoicesForCut(e3); + if (t4.isFailure) throw t4.messageDisplayStr; + l2.validateFlow(s2); + } + return l2; + } catch (e4) { + i3.logException(e4, "Unable to create clipboard content menu choice."); + } + return l2 && l2.destroy(), null; } - get displayTypeName() { - return "ArchValueAgentScorePairCollection"; + get className() { + return h; } - get isArchValueAgentScorePairCollection() { + get clipboardContentType() { + return s.menuChoice; + } + checkCanPasteClipboardContextWithDetails(e3) { + const t3 = super.checkCanPasteClipboardContextWithDetails(e3); + if (t3.isFailure) return t3; + if (n2.isUndefined(e3.destViewModel) || !(e3.destViewModel.isMenu || e3.destViewModel.isSubMenu || this.shouldPasteAsReusableMenu(e3) || this.shouldPasteAsReusableTask(e3) || this.shouldPasteAsDownConvertAction(e3))) { + let e4; + return e4 = this.isSubMenu ? p.clipboard.content.pastableLocations.menuChoiceSubMenu : this.isInlineTask ? p.clipboard.content.pastableLocations.menuChoiceInlineTask : p.clipboard.content.pastableLocations.destinationHasNoChoices, this.createClipboardResultFailure(e4); + } + const i3 = this.shouldPasteAsReusableTask(e3) ? l.menuChoiceTask : this.shouldPasteAsReusableMenu(e3) ? l.menuChoiceMenu : this.shouldPasteAsDownConvertAction(e3) ? l.actions : l.menuChoiceAny; + return e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, i3) ? this.createClipboardResultFailureCanPasteGeneric() : (this.shouldPasteAsReusableTask(e3) ? t3.messageDisplayStr = p.clipboard.content.canPaste.downConvert.menuChoice.toReusableTask : this.shouldPasteAsReusableMenu(e3) ? t3.messageDisplayStr = p.clipboard.content.canPaste.downConvert.menuChoice.toReusableMenu : this.shouldPasteAsDownConvertAction(e3) && (t3.messageDisplayStr = p.clipboard.content.canPaste.downConvert.menuChoice.toAction), t3); + } + get isClipboardContentMenuChoice() { return true; } - } - t2.default = r2; - }, 7990: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(55988)), a = i2(8462); - class s extends o.default { - constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreVariableValuePairs"), e3); + get isInlineTask() { + return this.contentModel.actionInfoId === _; } - get displayTypeName() { - return "ArchBaseVariableValuePairs"; + get isSubMenu() { + return this.contentModel.actionInfoId === u; } - _addVariableValueAssignment(e3, t3, i3, n3, o2, s2) { - const l = this._infoParm("archDataType", "addVariableValueAssignment"); - 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 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; + shouldPasteAsDownConvertAction(e3) { + return !n2.isUndefined(e3.destActionContainer) && !this.isSubMenu && !this.isInlineTask; } - _createVariableValuePairArray() { - const e3 = [], t3 = this._getCoreViewModel(); - return t3 && r2.default.each(t3.items, (t4) => { - e3.push(this.coreFactory.createArchBaseVariableValuePair(t4)); - }), e3; + shouldPasteAsReusableMenu(e3) { + return e3.destViewModel && e3.destViewModel.isFlowViewModel && this.isSubMenu && e3.destViewModel.supportsReusableMenus; } - get isArchBaseVariableValuePairs() { - return true; + shouldPasteAsReusableTask(e3) { + return e3.destViewModel && e3.destViewModel.isFlowViewModel && this.isInlineTask && e3.destViewModel.supportsReusableTasks; } } - t2.default = s; - }, 8016: (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); + e2.exports = m; + }, 40782(e2, t2, i2) { + const n2 = i2(92140), o = i2(76395), r = 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 o { + constructor(e3, t3) { + super(e3, t3); } - get _globalTypeName() { - return "surveyQuestionGroupCollection"; + _pasteBefore(e3) { + const t3 = super._pasteBefore(e3); + 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()); } - get displayTypeName() { - return "ArchVariableSurveyQuestionGroupCollection"; + _pasteAfter(e3) { + if (!n2.isUndefined(this._destUpconvertMenuChoiceViewModel)) { + let t3 = this.pastedMenuOrTaskOrActionViewModel.name; + t3 = e3.clipboardObject.pasteGetUniqueMenuChoiceName(t3, this._destUpconvertMenuChoiceViewModel.parent, false, true), this._destUpconvertMenuChoiceViewModel.name = t3, this._pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3.destViewModel, this._destUpconvertMenuChoiceViewModel), this._destUpconvertMenuChoiceViewModel.linkMenu(this.pastedMenuOrTaskOrActionViewModel), this.log("Pasted menu linked to paste created menu choice " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel) + "."), this._destUpconvertMenuChoiceViewModel.resetDtmfToUniqueDtmf(); + } + return this.createClipboardResultSuccess(); } - get initialValue() { - return this._initialValue; + static create(e3, t3, i3, n3) { + 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 o2 = r.getFlowViewModel(e3); + if (!o2) return p.expectFlowViewModel(o2, () => d.createFunctionParameter(h, "create", "menuViewModel.parentFlow")), null; + let s2; + p.expectObject(e3.info, () => d.createFunctionParameter(h, "create", "menuViewModel")); + try { + const r2 = m._addMenuToCoreContent(e3), l2 = new a(); + if (l2.configure(o2, e3, r2, n3), s2 = new m(l2, i3), e3.addClipboardDependencies(s2), t3) { + const t4 = s2._deleteMenuForCut(e3); + if (t4.isFailure) throw t4.messageDisplayStr; + s2.validateFlow(o2); + } + return s2; + } catch (e4) { + i3.logException(e4, "Unable to create clipboard content menu."); + } + return s2 && s2.destroy(), null; } - get isArchVariableSurveyQuestionGroupCollection() { + get className() { + return h; + } + get clipboardContentType() { + return s.menu; + } + checkCanPasteClipboardContextWithDetails(e3) { + const t3 = super.checkCanPasteClipboardContextWithDetails(e3); + return t3.isFailure ? t3 : e3.destViewModel && (e3.destViewModel.isFlowViewModel || e3.destViewModel.isMenu || e3.destViewModel.isSubMenu) && (e3.destViewModel.isFlowViewModel ? e3.destViewModel.supportsReusableMenus : e3.destFlowViewModel.supportsReusableMenus) && (e3.destViewModel.isFlowViewModel ? n2.isArray(e3.destViewModel.menus) : n2.isArray(e3.destFlowViewModel.menus)) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, l.menus) ? this.createClipboardResultFailureCanPasteGeneric() : (this.shouldPasteAsSubMenu(e3) && (t3.messageDisplayStr = _.clipboard.content.canPaste.upConvert.menu.toMenuChoice), t3) : this.createClipboardResultFailure(n2.isArray(e3.destFlowViewModel.menus) ? _.clipboard.content.pastableLocations.destinationHasNoChoices : _.clipboard.content.notSupportedByFlowType.menusOrMenuChoices); + } + get isClipboardContentMenu() { return true; } - } - t2.default = r2; - }, 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), 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)); + shouldPasteAsSubMenu(e3) { + return e3.destViewModel.isSubMenu || e3.destViewModel.isMenu; } - get className() { - return "BotFlowEventHandlingViewModel"; + } + e2.exports = m; + }, 4656(e2, t2, i2) { + const n2 = i2(92140), o = i2(96348), r = 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 o { + constructor(e3, t3) { + super(e3, t3); } - get handlingTypes() { - return this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isDigitalBotFlow || this.parentFlow.isBotFlow) ? a.default.without(this._handlingTypes, m.default.Task) : this._handlingTypes; + static create(e3, t3, i3, n3) { + c.expectString(n3, () => u.createFunctionParameter(_, "create", "newContentName"), true); + const o2 = r.getFlowViewModel(e3); + if (!o2) return c.expectFlowViewModel(o2, () => u.createFunctionParameter(_, "create", "stateViewModel.parentFlow")), null; + let s2; + try { + const r2 = new a(); + return r2.configure(o2, e3, e3.getConfiguration(), n3), s2 = new h(r2, i3), s2.initialize(o2, e3, t3), s2; + } catch (e4) { + i3.logException(e4, "Unable to create clipboard content state."); + } + return s2 && s2.destroy(), null; } - get recognitionHandlingTypes() { - return this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isDigitalBotFlow || this.parentFlow.isBotFlow) ? [...this._handlingTypes, m.default.Task] : this._handlingTypes; + _pasteGetCoreModelForContent() { + return new p(this.cloneToRawJsonObject(this._pasteJsonObjects.content)); } - get recognitionHandlingType() { - return this._recognitionHandlingType; + _pasteGetCoreViewModelForCoreModel(e3, t3) { + return this._pasteAddStateViewModelForStateModel(e3, t3); } - set recognitionHandlingType(e3) { - this._recognitionHandlingType = e3, this._updateRecognitionHandingOutOfService(), N.validateNode(this, true); + 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 ? d.clipboard.content.pastableLocations.state : d.clipboard.content.notSupportedByFlowType.states)); } - _updateRecognitionHandingOutOfService() { - 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 className() { + return _; } - get helpTopic() { - return O.helpTopics.treeNodes.eventHandling; + get clipboardContentType() { + return s.task; } - get isBotFlowEventHandlingViewModel() { + get isClipboardContentState() { return true; } - get botFlowEscalationRecognitionHandlingV2() { - return s.isFeatureAvailable(v.default.botFlowEscalationRecognitionHandlingV2); + } + e2.exports = h; + }, 17496(e2, t2, i2) { + const n2 = i2(92140), o = i2(96348), r = 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 o { + constructor(e3, t3) { + super(e3, t3), Object.defineProperties(this, { _destUpconvertMenuChoiceViewModel: { writable: true } }); } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const i4 = super.getConfiguration(e3, t3); - if (i4.recognitionEventHandover) { - const e4 = i4.recognitionEventHandover; - delete i4.recognitionEventHandover, i4.recognitionFailureEventHandover = e4; - } - if (a.default.isNullOrUndefined(this.recognitionHandlingType)) E.error(`Matching handlingTypeEnum not found for recognitionHandlingType value '${this.recognitionHandlingType}'`); - else { - const n3 = this.getConfigurationForHandlingProperty(e3, t3, this.recognitionHandlingType, this.recognitionEventTask), r3 = a.default.tryWrapObject(n3, "recognitionFailureEventHandling"); - a.default.extend(i4, r3), this.recognitionHandlingType === m.default.Task && delete i4.recognitionEventHandover; - } - if (a.default.isNullOrUndefined(this.agentEscalationHandling.handlingType)) E.error(`Matching handlingTypeEnum not found for agentEscalationHandling value '${this.agentEscalationHandling.handlingType}'`); - else if (this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isBotFlow || this.parentFlow.isDigitalBotFlow)) { - const n3 = this.getConfigurationForHandlingProperty(e3, t3, this.agentEscalationHandling.handlingType, this.agentEscalationTask), r3 = a.default.tryWrapObject(n3, "agentEscalationHandling"); - a.default.extend(i4, r3), this.agentEscalationHandling.handlingType === m.default.Task && delete i4.agentEscalationHandover; - } - if (i4.subsequentRecognitionFailures) { - const e4 = i4.subsequentRecognitionFailures; - delete i4.subsequentRecognitionFailures, i4.subsequentRecognitionFailuresHandlingType = e4; - } - return i4; + static create(e3, t3, i3, n3) { + d.expectString(n3, () => c.createFunctionParameter(m, "create", "newContentName"), true); + const o2 = r.getFlowViewModel(e3); + if (!o2) return d.expectFlowViewModel(o2, () => c.createFunctionParameter(m, "create", "taskViewModel.parentFlow")), null; + let s2; + try { + const r2 = new a(); + return r2.configure(o2, e3, e3.getConfiguration(), n3), s2 = new g(r2, i3), s2.initialize(o2, e3, t3), s2; + } catch (e4) { + i3.logException(e4, "Unable to create clipboard content task."); } - const i3 = super.getConfiguration(e3, t3); - return e3.errorHandling.recognitionHandlingType = this.recognitionHandlingType, e3.errorHandling.subsequentRecognitionFailuresHandlingType = this.subsequentRecognitionFailures.text, delete e3.errorHandling.subsequentRecognitionFailures, i3; + return s2 && s2.destroy(), null; } - loadConfiguration(e3) { - super.loadConfiguration(e3), e3.errorHandling.recognitionHandlingType && (this.recognitionHandlingType = e3.errorHandling.recognitionHandlingType), e3.errorHandling.subsequentRecognitionFailuresHandlingType && (this.subsequentRecognitionFailures.text = e3.errorHandling.subsequentRecognitionFailuresHandlingType); + _pasteGetCoreModelForContent() { + return new _(this.cloneToRawJsonObject(this._pasteJsonObjects.content)); } - 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(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] }]; + _pasteGetCoreViewModelForCoreModel(e3, t3) { + return this._pasteAddTaskViewModelForTaskModel(e3, t3); } - showTaskPropertyBasedOnHandlingType(e3, t3) { - const i3 = t3 !== m.default.Task; - e3.outOfService = i3; + _pasteBefore(e3) { + const t3 = super._pasteBefore(e3); + return t3.isFailure || e3.destViewModel.tasks || (this._destUpconvertMenuChoiceViewModel = u.createMenuChoice(e3.destViewModel, h), this.log("Paste will be up-converting the task to an inline task. Newly created menu choice will be " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel))), t3; } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(); + _pasteAfter(e3) { + if (!n2.isUndefined(this._destUpconvertMenuChoiceViewModel)) { + let t3 = this.pastedMenuOrTaskOrActionViewModel.name; + t3 = e3.clipboardObject.pasteGetUniqueMenuChoiceName(t3, this._destUpconvertMenuChoiceViewModel.parent, true, false), this._destUpconvertMenuChoiceViewModel.name = t3, this._pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3.destViewModel, this._destUpconvertMenuChoiceViewModel), this._destUpconvertMenuChoiceViewModel.linkTask(this.pastedMenuOrTaskOrActionViewModel), this._destUpconvertMenuChoiceViewModel.resetDtmfToUniqueDtmf(), this.log("Pasted task linked to paste created menu choice " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel) + "."); + } + return this.createClipboardResultSuccess(); } - updateSettingsDependentOnAgentEscalation() { - const e3 = !this.isAgentEscalationEnabledAtFlowRuntime(); - this.agentEscalationConfirmation.outOfService = this.agentEscalationHandling.outOfService = e3, this.agentEscalationHandover.outOfService = !!e3 || this.agentEscalationHandling.handlingType === m.default.Task, this.agentEscalationTask.outOfService = !!e3 || this.agentEscalationHandling.handlingType !== m.default.Task; + _resetUpconvertViewModels() { + super._resetUpconvertViewModels(), this._destUpconvertMenuChoiceViewModel = void 0; } - isAgentEscalationEnabledAtFlowRuntime() { - return !(!this.enableAgentEscalation.outOfService && (this.enableAgentEscalation.isLiteralMode ? this.enableAgentEscalation.text !== p.default.true : this.enableAgentEscalation.isExpressionMode && this.enableAgentEscalation.text === p.default.false)); + checkCanPasteClipboardContextWithDetails(e3) { + const t3 = super.checkCanPasteClipboardContextWithDetails(e3); + return t3.isFailure ? t3 : e3.destViewModel && (e3.destViewModel.isFlowViewModel || e3.destViewModel.isMenu || e3.destViewModel.isSubMenu) && (e3.destViewModel.isFlowViewModel ? e3.destViewModel.supportsReusableTasks : e3.destFlowViewModel.supportsReusableTasks) && (e3.destViewModel.isFlowViewModel ? n2.isArray(e3.destViewModel.tasks) : n2.isArray(e3.destFlowViewModel.tasks)) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, l.tasks) ? this.createClipboardResultFailureCanPasteGeneric() : (this.shouldPasteAsInlineTask(e3) && (t3.messageDisplayStr = p.clipboard.content.canPaste.upConvert.task.toMenuChoice), t3) : this.createClipboardResultFailure(this._formatResourceStrForDestFlowType(e3, n2.isArray(e3.destFlowViewModel.tasks) ? p.clipboard.content.pastableLocations.task : p.clipboard.content.notSupportedByFlowType.tasks)); } - _initializeDesignTime() { - this.parentFlow.definition.supportsAgentEscalation ? this.updateSettingsDependentOnAgentEscalation() : (this.enableAgentEscalation.outOfService = true, this.agentEscalationConfirmation.outOfService = true, this.agentEscalationHandover.outOfService = true, this.agentEscalationHandling.outOfService = true, this.agentEscalationTask.outOfService = true), this._updateRecognitionHandingOutOfService(), this.addAutoCleanedUpSubscription(this.agentEscalationHandling.valueChanged$.subscribe(() => { - this.showTaskPropertyBasedOnHandlingType(this.agentEscalationTask, this.agentEscalationHandling.handlingType); - const e3 = this.agentEscalationHandling.handlingType === m.default.Task; - this.agentEscalationHandover.outOfService = e3, N.validateNode(this, true); - })), super._initializeDesignTime(); + get className() { + return m; + } + get clipboardContentType() { + return s.task; + } + get isClipboardContentTask() { + return true; + } + shouldPasteAsInlineTask(e3) { + return e3.destViewModel.isMenu || e3.destViewModel.isSubMenu; } } - t2.default = w; - }, 8078: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + e2.exports = g; + }, 27059(e2, t2, i2) { + const n2 = i2(92140), o = i2(78446), r = i2(59957), a = i2(13126), s = i2(62829); + class l extends o { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "emergencyGroup"; + super(e3), Object.defineProperties(this, { _clipboardContentType: { value: a.unknown, writable: true, enumerable: false }, _dependentVariableViewModels: { value: {}, writable: true, enumerable: false }, _nodeInformationId: { writable: true, enumerable: false }, _originalObjectInfo: { writable: true, enumerable: false } }); } - get displayTypeName() { - return "ArchVariableEmergencyGroup"; + static create(e3, t3) { + if (!n2.isObject(e3)) return null; + let i3; + if (e3.isBaseAction) i3 = a.action; + else if (e3.isMenu) i3 = a.menu; + else if (e3.isMenuChoice) i3 = a.menuChoice; + else if (e3.isState) i3 = a.state; + else { + if (!e3.isTask) return null; + i3 = a.task; + } + const o2 = new l(t3); + return o2._clipboardContentType = i3, o2._nodeInformationId = e3.info ? e3.info.typeId : "", o2._originalObjectInfo = new r(), o2._originalObjectInfo.configure(e3.parentFlow, e3), e3.addClipboardDependencies(o2), o2; } - get initialValue() { - return this._initialValue; + get nodeInformation() { + return s.getInfo(this._nodeInformationId); } - get isArchVariableEmergencyGroup() { - return true; + canPaste(e3) { + return this.createClipboardResultFailureCanPasteGeneric("Cannot paste a dependent variable processor."); } - } - t2.default = r2; - }, 8080: (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(37603)), l = i2(32282), u = i2(26847); - class c extends s.default { - constructor(e3) { - super(e3), this._inServiceSchedules = this.coreFactory.createArchWrapper(e3.inServiceSchedules), this._scheduleGroup = this.coreFactory.createArchWrapper(e3.scheduleGroup); + checkCanPasteClipboardContextWithDetails(e3) { + return this.createClipboardResultFailureCanPasteGeneric("Cannot paste a dependent variable processor."); } - get _actionTypeId() { - return r2.evaluateScheduleGroupActionType; + get dependentVariables() { + return n2.values(this._dependentVariableViewModels); } - get displayTypeName() { - return this._scriptingName; + get className() { + return "ClipboardProcessorDependentVariables"; } - get isArchActionEvaluateScheduleGroup() { - return true; + get clipboardContentType() { + return this._clipboardContentType; } - get scheduleGroup() { - return this._scheduleGroup; + copyCutAddDependencyFlowUiMetaData(e3, t3, i3) { } - setScheduleGroupByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupId", "setScheduleGroupByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleGroupByIdAsync"), t3, true), o.default.findItemByIdAsync(l.scheduleGroupManager, e3, "schedule group").then(function(e4) { - return this.logNote("found the schedule group named '" + e4.name + "'."), this._coreActionViewModel.setScheduleGroup(e4), a.default.executeCallback(this, "setScheduleGroupByIdAsync", t3, this); - }.bind(this)); + copyCutAddDependencyVariable(e3, t3) { + !e3 || !e3.isVariableViewModel || e3.isPromptContainer || e3.isSlotVariable || e3.isSystemVariable || this.isVariableScopedToClipboardContent(e3) || this._dependentVariableViewModels[e3.id] || (this.log(`Adding dependent variable ${this._getNameAndIdStr(e3)} to dependent variable map.`), this._dependentVariableViewModels[e3.id] = e3); } - setScheduleGroupByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupName", "setScheduleGroupByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleGroupByNameAsync"), t3, true), o.default.findItemByValueAsync(l.scheduleGroupManager, e3, "schedule group", "name").then(function(e4) { - return this.logNote("found the schedule group named '" + e4.name + "'."), this._coreActionViewModel.setScheduleGroup(e4), a.default.executeCallback(this, "setScheduleGroupByNameAsync", t3, this); - }.bind(this)); + copyCutAddDependencyCustomType(e3) { } - get inServiceSchedules() { - return this._inServiceSchedules; + addOldIdToOldNameMapping(e3, t3) { } - get outputOpen() { - return this._getOutputById(u.outputIds.open, true); + resolveOldIdToOldName(e3) { } - get outputClosed() { - return this._getOutputById(u.outputIds.closed, true); + copyCutProcessActionViewModel(e3) { } - get outputHoliday() { - return this._getOutputById(u.outputIds.holiday, true); + copyCutProcessMenuChoiceViewModel(e3) { } - get outputEmergency() { - return this._getOutputById(u.outputIds.emergency, true); + copyCutProcessMenuViewModel(e3) { } - } - t2.default = c; - }, 8081: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + copyCutProcessStateViewModel(e3) { } - get _globalTypeName() { - return "boolean"; + copyCutProcessTaskViewModel(e3) { } - get displayTypeName() { - return "ArchVariableBoolean"; + copyCutResetSupportedFlowTypeFilter() { } - get initialValue() { - return this._initialValue; + copyCutSetSupportedFlowTypeFilter(e3) { } - get isArchVariableBoolean() { + get isBaseClipboardContentViewModel() { return true; } - } - t2.default = r2; - }, 8136: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeScheduleOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get logHeader() { + return this.originalObjectLogStr; } - constructor(e3) { - super(e3); + get name() { + return ""; } - get className() { - return "ExpressionTypeScheduleOptions"; + set name(e3) { } - get isExpressionTypeScheduleOptions() { - return true; + get originalObjectInfo() { + return this._originalObjectInfo; } - } - t2.ExpressionTypeScheduleOptions = r2; - }, 8156: (e2) => { - "use strict"; - e2.exports = { 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] }; - }, 8229: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get originalObjectId() { + return this.originalObjectInfo.objectId; } - get _globalTypeName() { - return "externalOrganization"; + get originalObjectFlowId() { + return this.originalObjectInfo.flowId; } - get initialValue() { - return this._initialValue; + get originalObjectLogStr() { + return this.className + ", content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "'"; } - get displayTypeName() { - return "ArchVariableExternalOrganization"; + get originalObjectLogStrFull() { + return this.className + ", content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "', orig_flowId: '" + (this.originalObjectInfo.flowId ? this.originalObjectInfo.flowId : "") + "', content_id: '" + this.id + "'"; } - get isArchVariableExternalOrganization() { - return true; + paste(e3) { + return this.createClipboardResultFailureCanPasteGeneric("Cannot paste a dependent variable processor."); + } + get pastedMenuOrTaskOrActionViewModel() { + } + set pastedMenuOrTaskOrActionViewModel(e3) { + } + _performDestroy() { + this._dependentVariableViewModels = {}, super._performDestroy(); } } - t2.default = r2; - }, 8235: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(3215)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + e2.exports = l; + }, 14547(e2, t2, i2) { + const n2 = i2(92140), o = i2(45421), r = i2(58858), a = i2(57391), { ParameterInfo: s } = i2(55909), { ParameterValidator: l } = i2(33951), u = i2(46521), c = "ClipboardDependenciesViewModel"; + e2.exports = class extends o { + 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(); } - get displayTypeName() { - return "ArchSettingsMenuFlow"; + _resetMaps() { + this._dependencyVariableViewModelMap = {}, this._dependencyFlowUiMetaDataSectionMap = {}, this._dependencyCustomDataTypeDefViewModelMap = {}; } - get _allowBlankObjectId() { - return false; + loadModel(e3) { + this._dependenciesModel = e3, this._resetMaps(), n2.each(e3.dependencyFlowUiMetaDataModels, function(e4) { + const t3 = new r(e4, this.clipboardLogging); + let i3 = this._dependencyFlowUiMetaDataSectionMap[t3.metaDataSectionName]; + i3 || (i3 = {}, this._dependencyFlowUiMetaDataSectionMap[t3.metaDataSectionName] = i3), i3[t3.metaDataId] = t3; + }.bind(this)), n2.each(e3.dependencyCustomDataTypes, (e4) => { + const t3 = new u(e4, this.clipboardLogging); + this._dependencyCustomDataTypeDefViewModelMap[t3.dataTypeId] = t3; + }), n2.each(e3.dependencyVariableModels, function(e4) { + const t3 = new a(e4, this.clipboardLogging); + this._dependencyVariableViewModelMap[t3.variableId] = t3; + }.bind(this)); } - get logStr() { - if (!this._coreMenuSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreMenuSettingsViewModel.parent), this._createLogStrFromParts(e3); + addClipboardDependencyVariableViewModel(e3) { + 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); } - get isArchSettingsMenuFlow() { - return true; + addClipboardDependencyFlowUiMetaDataViewModel(e3) { + 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); } - } - t2.default = r2; - }, 8236: (e2, t2, i2) => { - const n2 = i2(28730), { clearSlotActionType: r2 } = i2(30801), o = i2(90807); - function a() { - Object.defineProperties(this, { _slots: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.slots.forEach((t3) => t3.pasteReIdOrRename(e3)); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.slots.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); - } }, slots: { enumerable: true, get: function() { - return this._slots; - }, set: function(e3) { - this._slots = this.reviveArray(e3, o); - } } }), e2.exports = a; - }, 8249: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.voiceFlowListManager = t2.VoiceFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(14944), o = i2(6109), a = i2(96618), s = i2(27862); - class l extends o.FlowListManager { - get dependencyType() { - return s.VoiceFlow; + addClipboardDependencyCustomDataTypeDefViewModel(e3) { + 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); } - constructor() { - super(), this.topic = n2.getTopic("VoiceFlowListManager"), this.briefManager = r2.briefVoiceFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeVoice }, this.className = "VoiceFlowListManager", this.flowType = a.flowTypes.flowTypeVoice, this._rawServerCache = {}, this._initialize(); + get isClipboardDependenciesViewModel() { + return true; } - } - t2.VoiceFlowListManager = l, t2.voiceFlowListManager = new l(); - }, 8284: function(e2, t2) { - "use strict"; - var i2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r2, o = i3.call(e3), a = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o.next()).done; ) a.push(n3.value); - } catch (e4) { - r2 = { error: e4 }; - } finally { + get logHeader() { + return "clipboard dependencies object (ID: '" + this.id + "')"; + } + paste(e3) { + let t3; + this.pushLogHeader(this.logHeader); try { - n3 && !n3.done && (i3 = o.return) && i3.call(o); + if (this.log("Clipboard dependencies processing begin."), this.log("Clipboard dependencies processing custom data type definitions."), t3 = this._performPasteDependencyCustomDataTypeDefs(e3), t3.isFailure) return t3; + if (this.log("Clipboard dependencies processing dependent variables."), t3 = this._performPasteDependencyVariables(e3), t3.isFailure) return t3; + if (this.log("Clipboard dependencies processing flow UI meta data entries."), t3 = this._performPasteDependencyFlowUiMetaData(e3), t3.isFailure) return t3; + this.log("Clipboard dependencies processing end. Successful."); + } catch (e4) { + t3 = this.createClipboardResultFailurePasteException(e4, "exception caught in clipboard dependencies view model paste"); } finally { - if (r2) throw r2.error; + this.popLogHeader(); } + return t3; } - return a; - }, n2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r2 = e3.length; i3 < n3; i3++, r2++) e3[r2] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.intervalProvider = void 0, t2.intervalProvider = { setInterval: function(e3, r2) { - for (var o = [], a = 2; a < arguments.length; a++) o[a - 2] = arguments[a]; - var s = t2.intervalProvider.delegate; - return (null == s ? void 0 : s.setInterval) ? s.setInterval.apply(s, n2([e3, r2], i2(o))) : setInterval.apply(void 0, n2([e3, r2], i2(o))); - }, clearInterval: function(e3) { - var i3 = t2.intervalProvider.delegate; - return ((null == i3 ? void 0 : i3.clearInterval) || clearInterval)(e3); - }, delegate: void 0 }; - }, 8303: (e2, t2, i2) => { - "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(66978)), l = n2.__importDefault(i2(90897)); - class u extends l.default { - constructor(e3) { - super(e3); + _performPasteDependencyFlowUiMetaData(e3) { + let t3 = this.createClipboardResultSuccess(); + return n2.find(this.dependencyFlowUiMetaDataSectionMap, function(i3, o2) { + return n2.find(i3, function(i4) { + return t3 = i4.paste(e3), t3.isFailure; + }); + }), t3; } - get _actionTypeId() { - return a.dataTableLookupActionType; + _performPasteDependencyVariables(e3) { + let t3 = this.createClipboardResultSuccess(); + const i3 = n2.values(this.dependencyVariableViewModelMap); + if (!i3 || 0 === i3.length) return t3; + for (let n3 = 0; n3 < i3.length; n3++) { + const o2 = i3[n3]; + if (o2.shouldPaste(e3)) { + if (t3 = i3[n3].paste(e3), t3.isFailure) break; + } else { + this.pushLogHeader(o2.logHeader); + try { + this.log("Not pasting content dependency variable because it only had usages in flow types " + o2.supportedFlowTypes.join(",")); + } finally { + this.popLogHeader(); + } + } + } + return t3; } - get displayTypeName() { - return this._scriptingName; + _performPasteDependencyCustomDataTypeDefs(e3) { + let t3 = this.createClipboardResultSuccess(); + const i3 = n2.values(this.dependencyCustomDataTypeDefViewModelMap); + for (let n3 = 0; n3 < i3.length && (t3 = i3[n3].paste(e3), !t3.isFailure); n3++) ; + return t3; } - get lookupValue() { - if (this._coreActionViewModel.lookupKeyValue) return this.coreFactory.createArchWrapper(this._coreActionViewModel.lookupKeyValue); + _performDestroy() { + this.pushLogHeader(this.logHeader); + try { + n2.each(this._dependencyFlowUiMetaDataSectionMap, function(e3) { + n2.each(e3, function(e4) { + e4.destroy(); + }); + }.bind(this)), n2.each(this._dependencyVariableViewModelMap, function(e3) { + e3.destroy(); + }.bind(this)), n2.each(this._dependencyCustomDataTypeDefViewModelMap, (e3) => { + e3.destroy(); + }), this._resetMaps(); + } catch (e3) { + } finally { + this.popLogHeader(); + } } - get dataTableOutputsFound() { - if (this._coreActionViewModel.outputs) return this.coreFactory.createArchWrapper(this._coreActionViewModel.outputs); + get dependencyFlowUiMetaDataSectionMap() { + return this._dependencyFlowUiMetaDataSectionMap; } - get dataTableOutputsFailure() { - if (this._coreActionViewModel.errorBindings) return this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings); + get dependencyVariableViewModelMap() { + return this._dependencyVariableViewModelMap; } - get isArchActionDataTableLookup() { - return true; + get dependencyCustomDataTypeDefViewModelMap() { + return this._dependencyCustomDataTypeDefViewModelMap; } - setDataTableByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("datatableId", "setDataTableByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataTableByIdAsync"), t3, true); - const i3 = yield r2.default.findItemByIdAsync(this._getCoreViewModel().serverManager, e3, "data table"); - return this.logNote("found the dataTable named '" + i3.name + "' for the dataTable ID of '" + e3 + "'"), this._coreActionViewModel.setIntegrationActionByViewModel(i3), o.default.executeCallback(this, "setDataTableByIdAsync", t3, this); - }); + }; + }, 46521(e2, t2, i2) { + const n2 = i2(14592), o = i2(87675).default, { ParameterInfo: r } = i2(55909), { ParameterValidator: a } = i2(33951), s = i2(78234), l = i2(79042), u = i2(45421); + class c extends l { + constructor(e3, t3) { + super(t3), a.expectObject(e3, () => r.createConstructorParameter("ClipboardDependencyCustomDataTypeDefViewModel", "customDataTypeDefModel"), true), Object.defineProperties(this, { _dependencyCustomDataTypeDefModel: { writable: true } }), e3 && this.loadModel(e3); } - setDataTableByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("dataTableName", "setDataTableByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataTableByNameAsync"), t3, true); - const i3 = yield r2.default.findItemByValueAsync(this._getCoreViewModel().serverManager, e3, "data table", "name", "name"); - return this.logNote(`Found partial info for the data table named '${i3.name}' for the passed data table name of '${e3}'. Getting full data table details.`), s.default.addPromise(this.setDataTableByIdAsync(i3.id, t3), "setDataTableByNameAsync"); - }); + static create(e3, t3) { + const i3 = new s({ id: e3.dataTypeId, dataTypeDef: u.cloneToRawJsonObject(e3) }); + return new c(i3, t3); } - } - t2.default = u; - }, 8310: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.uiFeatureSetInfo = void 0; - const n2 = i2(44724), r2 = i2(47957); - t2.uiFeatureSetInfo = { flowAddOrSaveAs: { permissions: [n2.permissionStrings.architect.flow.add, n2.permissionStrings.architect.flow.edit, n2.permissionStrings.architect.flow.view] }, flowEditDivision: { permissions: [n2.permissionStrings.architect.flow.edit, n2.permissionStrings.architect.flow.view] }, grammarAdd: { permissions: [n2.permissionStrings.architect.grammar.add, n2.permissionStrings.architect.grammar.edit, n2.permissionStrings.architect.grammar.view] }, userPromptAdd: { permissions: [n2.permissionStrings.architect.userPrompt.add, n2.permissionStrings.architect.userPrompt.edit, n2.permissionStrings.architect.userPrompt.view] }, promptImport: { permissions: [n2.permissionStrings.architect.userPrompt.add, n2.permissionStrings.architect.userPrompt.edit, n2.permissionStrings.architect.userPrompt.view, n2.permissionStrings.architect.systemPrompt.edit, n2.permissionStrings.architect.systemPrompt.view], permissionDeniedOverrideString: r2.generic.permissions.missing.prompts.userPrompts.import } }; - }, 8311: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(69078), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(45894)); - class l extends s.default { - constructor(e3) { - super(e3, o.knowledgeBaseDocumentManager); + loadModel(e3) { + this._dependencyCustomDataTypeDefModel = e3; } - get _globalTypeName() { - return "knowledgeBaseDocument"; + get isClipboardDependencyCustomDataTypeDefViewModel() { + return true; } - get displayTypeName() { - return "ArchValueKnowledgeBaseDocument"; + get dataTypeId() { + return this._dependencyCustomDataTypeDefModel ? this._dependencyCustomDataTypeDefModel.dataTypeDef._dataTypeDef.dataTypeId : void 0; } - get isArchValueKnowledgeBaseDocument() { - return true; + get dataTypeDef() { + return this._dependencyCustomDataTypeDefModel ? this._dependencyCustomDataTypeDefModel.dataTypeDef._dataTypeDef : void 0; } - setLiteralByKnowledgeBaseDocumentIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentId", "setLiteralByKnowledgeBaseDocumentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentIdAsync"), t3, true); - const i3 = this._getFlowConfiguredKnowledgeBaseId, n3 = yield a.default.findItemByIdAsync(o.knowledgeBaseDocumentManager, e3, "knowledge base document", { knowledgeId: i3 }); - return this.logNote(`Found knowledge base document named '${n3.name}' for the passed knowledge base document id of '${e3}'.`), this._coreExpression.updateFromConfigListManagerItem(n3), r2.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentIdAsync", t3, this); - }); - } - setLiteralByKnowledgeBaseDocumentNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "setLiteralByKnowledgeBaseDocumentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentNameAsync"), t3, true); - const i3 = this._getFlowConfiguredKnowledgeBaseId, n3 = yield a.default.findItemByValueAsync(o.knowledgeBaseDocumentManager, e3, "knowledge base document", "name", "name", void 0, { knowledgeId: i3 }); - return this.logNote(`Found knowledge base document named '${n3.name}' for the passed knowledge base document name of '${e3}'.`), this._coreExpression.updateFromConfigListManagerItem(n3), r2.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentNameAsync", t3, this); - }); - } - get _getFlowConfiguredKnowledgeBaseId() { - var e3, t3; - const i3 = null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeBaseId; - return i3 || this.logErrorAndThrow("a knowledge base must be set on the flow knowledge settings to set the knowledge base document."), i3; - } - } - t2.default = l; - }, 8416: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(82985)), o = n2.__importDefault(i2(78432)), a = i2(30801); - class s extends r2.default { - get _actionTypeId() { - return a.callBotFlowActionType; - } - get botFlowTypeEnum() { - return o.default.FLOW_TYPES.bot; + get logHeader() { + return "custom data type def - dataTypeDefId: " + this.dataTypeId; } - get displayTypeName() { - return this._scriptingName; + get dependencyModel() { + return this._dependencyCustomDataTypeDefModel; } - get isArchActionCallBotFlow() { + shouldPaste(e3) { return true; } - } - t2.default = s; - }, 8462: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.buildOptions = function(e3, t3, i3) { - (0, l.isString)(e3) && (e3 = s.default.resolveType(i3, e3)), a.ParameterValidator.expectExpressionType(e3, () => o.ParameterInfo.createFunctionParameter(this.className, "buildOptions", "type")); - const n3 = e3.createExpressionOptionClass(); - return t3 && t3.isBaseOptions ? n3.setFromOptions(t3) : (n3.setAsInput(), r2.default.each(t3, function(e4, t4) { - switch (t4) { - case "literalOnly": - n3.setAllowModeExpression(!e4).setAllowModeVariable(!e4).setAllowModeLiteral(e4); - break; - case "allowSecure": - n3.setAllowSecure(e4); - break; - case "valueChangedCallback": - n3.setValueChangedCallback(e4); - break; - default: - console.log("Add this key to the switch statement in buildOptions: " + t4); + _performDestroy() { + try { + this._dependencyCustomDataTypeDefModel = void 0; + } catch (e3) { + this.logException(e3, "Exception encountered cleaning up clipboard content."); } - })), n3; - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55909), a = i2(33951), s = n2.__importDefault(i2(65302)), l = i2(50474); - }, 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)), c = n2.__importDefault(i2(98717)), d = i2(31178); - class p { - constructor() { - this._amLoggingErrorOrWarning = false; } - static get displayTypeName() { - return this.prototype.displayTypeName; + _performPaste(e3) { + if (!this.dataTypeDef) return this.createClipboardResultFailurePasteGeneric("The custom data type definition was invalid."); + let t3 = this.createClipboardResultSuccess(); + const i3 = u.cloneToRawJsonObject(this.dataTypeDef); + this.pushLogHeader(this.logHeader); + try { + this.log("Processing custom data types for paste operation"); + const t4 = e3.destFlowViewModel?.definitions?.getDataTypeDefViewModelForCustomDataTypeId(this.dataTypeDef.dataTypeId); + if (t4) this.log(`Data type ${i3.dataTypeId} already exists in destination flow.`); + else { + const t5 = new o(i3); + n2.createCustomExpressionTypesFromDataTypeDefs(e3.destFlowViewModel, [t5], true), this.log(`Added new custom data type: ${i3.dataTypeId}`); + } + this.log("Custom data type definition successfully processed."); + } catch (e4) { + t3 = this.createClipboardResultFailurePasteException(e4, "An error occurred during custom data type definition paste processing."); + } finally { + this.popLogHeader(), this.log("Processing clipboard dependency custom data type definition end."); + } + return t3; } - static get isBaseClassObject() { - return true; + } + e2.exports = c; + }, 58858(e2, t2, i2) { + const n2 = i2(92140), o = i2(79042), r = i2(45421), a = i2(89452), { ParameterInfo: s } = i2(55909), { ParameterValidator: l } = i2(33951); + class u extends o { + constructor(e3, t3) { + super(t3), l.expectObject(e3, () => s.createConstructorParameter("ClipboardDependencyFlowUiMetaDataViewModel", "flowUiMetaDataModel"), true), Object.defineProperties(this, { _dependencyUiMetaDataModel: { writable: true } }), e3 && this.loadModel(e3); } - get coreFactory() { - return p._coreFactory; + static create(e3, t3, i3, n3) { + const o2 = new a({ metaDataId: t3, metaDataJSON: r.cloneToRawJsonObject(i3), sectionName: e3 }); + return new u(o2, n3); } - set coreFactory(e3) { - p._coreFactory = e3; + loadModel(e3) { + this._dependencyUiMetaDataModel = e3; } - get isBaseClass() { + get isClipboardDependencyFlowUiMetaDataViewModel() { return true; } - _appendLogStrPartRawString(e3, t3) { - e3.push(t3); - } - _appendLogStrPart(e3, t3, i3, n3, r3) { - if (void 0 === i3 && r3) return; - const o2 = t3 + ":" + (n3 ? "" : "'") + (void 0 === i3 ? "" : String(i3)) + (n3 ? "" : "'"); - e3.push(o2); - } - _appendLogStrArchObject(e3, t3) { - this._appendLogStrPart(e3, "ArchObject", t3, true, true); - } - _appendLogStrTag(e3, t3) { - this._appendLogStrPart(e3, "Tag", t3, false, true); - } - _appendLogStrRollupErrorCount(e3, t3) { - this._appendLogStrPart(e3, "RollupErrorCount", t3, true); - } - _appendLogStrRollupErrorCountTotal(e3, t3) { - this._appendLogStrPart(e3, "RollupErrorCountTotal", t3, true); - } - _appendLogStrCallingMethod(e3, t3) { - this._appendLogStrPart(e3, "CallingMethod", t3, false, true); - } - _appendLogStrCallingArchObject(e3, t3) { - this._appendLogStrPart(e3, "CallingArchObject", t3.logStr, false, true); + get metaDataId() { + return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.metaDataId : void 0; } - _appendLogStrErrorCount(e3, t3) { - this._appendLogStrPart(e3, "ErrorCount", t3, true); + get metaDataJSON() { + return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.metaDataJSON : void 0; } - _appendLogStrErrorCountTotal(e3, t3) { - this._appendLogStrPart(e3, "ErrorCountTotal", t3, true); + get metaDataSectionName() { + return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.sectionName : void 0; } - _appendLogStrEnvironment(e3, t3) { - this._appendLogStrPart(e3, "Environment", t3, false, true); + get logHeader() { + return "flow ui meta data - section name :'" + this.metaDataSectionName + "' (ID: " + this.metaDataId + ")"; } - _appendLogStrSessionId(e3, t3) { - this._appendLogStrPart(e3, "ArchSessionId", t3, false, true); + get rawJson() { + return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.metaDataJSON : void 0; } - _appendLogStrHost(e3, t3) { - this._appendLogStrPart(e3, "Host", t3, false, true); + get dependencyModel() { + return this._dependencyUiMetaDataModel; } - _appendLogStrId(e3, t3) { - this._appendLogStrPart(e3, "Id", t3); + shouldPaste(e3) { + return true; } - _appendLogStrIsHome(e3, t3) { - this._appendLogStrPart(e3, "IsHomeDivision", t3, true, true); + _performDestroy() { + try { + this._dependencyUiMetaDataModel = void 0; + } catch (e3) { + this.logException(e3, "Exception encountered cleaning up clipboard content."); + } } - _appendLogStrFlowId(e3, t3) { - this._appendLogStrPart(e3, "Flow ID", t3); + _performPaste(e3) { + if (!this.metaDataId || !this.metaDataJSON || !this.metaDataSectionName) return this.createClipboardResultFailurePasteGeneric("The flow UI meta data snapshot was invalid. metaDataId: '" + this.metaDataId + "', metaDatSectionName: '" + this.metaDataSectionName + "', meta data JSON isObject: " + n2.isObject(this.metaDataJSON)); + let t3 = this.createClipboardResultSuccess(); + const i3 = this.metaDataSectionName, o2 = this.metaDataId, a2 = r.cloneToRawJsonObject(this.metaDataJSON); + this.pushLogHeader(this.logHeader); + try { + this.log("Processing clipboard dependency flow UI meta data."), e3.destFlowViewModel.getUiMetadataInfoById(i3, o2) ? this.log("Flow UI meta data already exists. Nothing to do.") : (this.log("Adding flow UI meta data."), e3.destFlowViewModel.setUiMetadataInfo(i3, a2)); + } catch (e4) { + t3 = this.createClipboardResultFailurePasteException(e4, "An error occurred during flow UI meta data paste processing."); + } finally { + this.popLogHeader(), this.log("Processing clipboard dependency flow UI meta data end."); + } + return t3; } - _appendLogStrFlowName(e3, t3) { - this._appendLogStrPart(e3, "Flow Name", t3); + } + e2.exports = u; + }, 57391(e2, t2, i2) { + const n2 = i2(92140), o = i2(79042), r = 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 o { + constructor(e3, t3) { + super(t3), d.expectObject(e3, () => c.createConstructorParameter("ClipboardDependencyVariableViewModel", "variableDependencyModel"), true), Object.defineProperties(this, { _dependencyVariableModel: { writable: true } }), e3 && this.loadModel(e3); } - _appendLogStrParentFlowInfo(e3, t3) { - if (!t3) return; - const i3 = t3.parentFlow; - i3 && i3.isFlowViewModel && (this._appendLogStrFlowName(e3, i3.displayName), this._appendLogStrFlowId(e3, i3.id)); + static create(e3, t3, i3) { + const n3 = new s({ variableJSON: r.cloneToRawJsonObject(e3.model), supportedFlowTypes: i3 }); + return new h(n3, t3); } - _appendLogStrHierarchyStr(e3, t3) { - this._appendLogStrPart(e3, "Hierarchy", t3, false, true); + loadModel(e3) { + this._dependencyVariableModel = e3; } - _appendLogStrLabel(e3, t3) { - this._appendLogStrPart(e3, "Label", t3, false, true); + get isClipboardDependencyVariableViewModel() { + return true; } - _appendLogStrLanguageTag(e3, t3) { - this._appendLogStrPart(e3, "LanguageTag", t3, false, true); + get variableId() { + return this._dependencyVariableModel && this._dependencyVariableModel.variableJSON ? this._dependencyVariableModel.variableJSON.id : void 0; } - _appendLogStrName(e3, t3) { - this._appendLogStrPart(e3, "Name", t3, false, true); + get variableName() { + return this._dependencyVariableModel && this._dependencyVariableModel.variableJSON ? this._dependencyVariableModel.variableJSON.name : void 0; } - _appendLogStrCompatibleFlowTypes(e3, t3) { - this._appendLogStrPart(e3, "Compatible Flow Types", r2.default.isArray(t3) && t3.length ? t3.join("', '") : "", false, false); + get logHeader() { + return "dependency variable - name :'" + this.variableName + "' (ID: " + this.variableId + ")"; } - _appendLogStrIsCollection(e3, t3) { - this._appendLogStrPart(e3, "IsCollection", t3, false, true); + get rawJson() { + return this._dependencyVariableModel ? this._dependencyVariableModel.variableJSON : void 0; } - _appendLogStrIsDefault(e3, t3) { - this._appendLogStrPart(e3, "IsDefault", t3, false, true); + get dependencyModel() { + return this._dependencyVariableModel; } - _appendLogStrParentParts(e3, t3) { - if (!t3 || r2.default.isUndefined(t3.trackingId)) return; - const i3 = this.coreFactory.createArchWrapper(t3); - this._appendLogStrTrackingIdNameType(e3, i3.trackingId, i3.name, i3.displayTypeName); + get supportedFlowTypes() { + return this._dependencyVariableModel ? this._dependencyVariableModel.supportedFlowTypes : void 0; } - _appendLogStrAsrCompany(e3, t3) { - this._appendLogStrPart(e3, "Company Directory Asr:", t3, false, true); + shouldPaste(e3) { + return !!n2.isUndefined(this.supportedFlowTypes) || n2.contains(this.supportedFlowTypes, e3.destFlowViewModel.type); } - _appendLogStrRegion(e3, t3) { - this._appendLogStrPart(e3, "Region", t3, false, true); + applySupportedFlowTypes(e3) { + n2.isUndefined(e3) || null === e3 || (d.expectArray(e3, () => c.createFunctionParameter(this.className, "applysupportedFlowTypes", "supportedFlowTypes"), true), this._dependencyVariableModel && (this._dependencyVariableModel.supportedFlowTypes = e3)); } - _appendLogStrOrgId(e3, t3) { - this._appendLogStrPart(e3, "OrgId", t3, false, true); + _performDestroy() { + try { + this._dependencyVariableModel = void 0; + } catch (e3) { + this.logException(e3, "Exception encountered cleaning up clipboard content."); + } } - _appendLogStrOrgName(e3, t3) { - this._appendLogStrPart(e3, "OrgName", t3, false, true); + _performPaste(e3) { + let t3 = this.createClipboardResultSuccess(); + const i3 = this.variableName, o2 = "'" + i3 + "' (ID: '" + this.variableId + "')"; + this.pushLogHeader(this.logHeader); + try { + this.log("Processing clipboard dependency variable begin."); + const t4 = this.cloneToRawJsonObject(this.rawJson), r2 = l.prototype.reviveItem(t4, a); + this.pasteFixVariable(e3, r2); + const s2 = e3.destViewModel.isMenu || e3.destViewModel.isMenuChoice || _.getScope(this.variableName) === _.scopes.flow || _.getScope(this.variableName) === _.scopes.common ? e3.destFlowViewModel : e3.destViewModelTaskOrState; + if (s2.isTask || s2.isState || s2.isFlowViewModel || s2.isBotState) { + const e4 = s2.isBotState ? _.scopes.bot : s2.defaultVariableScope, t5 = _.setScope(e4, r2.name); + i3.toLowerCase() !== t5.toLowerCase() && (this.log("Changing dependency model scope from " + o2 + " to " + e4 + " scoped prior to paste variable model processing. New name '" + t5 + "'."), r2.name = t5); + } + const c2 = r2.name, d2 = this.removeNumericSuffixAndSpace(c2); + let h2, m = false; + for (; !m; ) { + n2.isUndefined(h2) ? h2 = 0 : (h2++, r2.name = d2 + h2, c2 === r2.name && (h2++, r2.name = d2 + h2), this.log("Iterating. Updated paste variable model name to '" + r2.name + "' to see if it works.")), this.log("Looking for existing variable named '" + r2.name + "'"); + let t5 = true; + const a2 = e3.destFlowVariableGroup.getVariableByName(r2.name, s2); + if (a2) { + const i4 = "Found existing variable named " + this._getNameAndIdStr(a2) + ". "; + let n3; + r2.typeIdentifier && (n3 = u.resolveType(e3.destFlowViewModel, r2.typeIdentifier)), n3 || (n3 = u.getTypeFromIcwsType(e3.destFlowViewModel, r2.__type, r2.isCollection)), n3 && (m = a2.type.isMatch(n3)), m ? !!r2.isSecure !== a2.isSecure ? (this.log(i4 + "The existing variable's isSecure setting '" + a2.isSecure + "' is not a match for the clipboard variable isSecure value of '" + r2.isSecure + "'. Will continue looking."), m = false) : (this.log(i4 + "The data type and needed isSecure setting is also a match. :) Clipboard content that that referenced " + o2 + " from the initial copy will reference " + this._getNameAndIdStr(a2) + "."), e3.setOldIdToNewIdMapping(r2.id, a2.id)) : this.log(i4 + "The existing variable's the data type '" + a2.type.dataType + "' is not a match for the clipboard variable type '" + n3.dataType + "'. Will continue looking."), t5 = false; + } else this.log("Paste destination variable container did not have existing variable named '" + r2.name + "'. Will add a new variable there."); + if (t5) { + const t6 = r2.id; + r2.pasteReIdOrRename(e3.clipboardObject); + const i4 = p.createVariable(r2, s2); + n2.isFunction(s2.addVariable) ? s2.addVariable(i4) : n2.isArray(s2.variables) && (s2.variables.push(i4), s2.model && n2.isArray(s2.model.variables) && s2.model.variables.push(i4.model)), i4.initializeDesignTime(), e3.additionalInfo && e3.additionalInfo.addNotableVariable(i4), this.log("Added variable " + this._getNameAndIdStr(i4) + " of type '" + i4.type.dataType + "'. Clipboard content that referenced clipboard variable ID '" + t6 + "' will reference this new variable."), m = true; + } + m && i3.toLowerCase() !== r2.name.toLowerCase() && (e3.setOldVariableNameToNewVariableNameMapping(i3, r2.name), e3.additionalInfo && e3.additionalInfo.addNotableVarNameMapping(i3, r2.name)); + } + } catch (e4) { + t3 = this.createClipboardResultFailurePasteException(e4, "An error occurred during dependency variable paste processing."); + } finally { + this.popLogHeader(), this.log("Processing clipboard dependency variable end."); + } + return t3; } - _appendLogStrOutputId(e3, t3) { - this._appendLogStrPart(e3, "OutputId", t3, false, true); + } + e2.exports = h; + }, 19819(e2, t2, i2) { + const n2 = i2(92140), { isoLanguages: o } = i2(24812), r = {}; + n2.each(o, function(e3) { + const t3 = e3.id.replace("-", ""); + r[t3] && console.error("duplicate language property id of " + t3), r[t3] = e3; + }), e2.exports = { propIdLanguages: r }; + }, 44544(e2, t2, i2) { + !(function() { + "use strict"; + var t3 = {}; + function n2(e3) { + return null == e3 ? String(e3) : t3[Object.prototype.toString.call(e3)] || "object"; } - _appendStrAsrEnabledOnFlow(e3, t3) { - this._appendLogStrPart(e3, "FlowSpeechRecEnabled", t3, false, true); + ["Boolean", "Number", "String", "Function", "Array", "Date", "RegExp", "Object"].forEach(function(e3) { + t3["[object " + e3 + "]"] = e3.toLowerCase(); + }); + var o = i2(68152); + e2.exports.stringify = function(e3) { + var t4, i3 = ""; + t4 = { undefined: function() { + return "null"; + }, null: function() { + return "null"; + }, number: function(e4) { + return e4; + }, boolean: function(e4) { + return e4 ? "true" : "false"; + }, string: function(e4) { + const t5 = "" === e4 || e4.length > 0 && e4.charAt(0).match(/[^\w]/g) || e4.match(/[:#]/g) || e4.includes("\n") || e4.includes(" ") || !isNaN(e4) || "true" === e4.trim().toLowerCase() || "false" === e4.trim().toLowerCase() || "null" === e4.trim().toLowerCase() || "yes" === e4.trim().toLowerCase() || "no" === e4.trim().toLowerCase() || e4.endsWith(" "); + return t5 && (e4 = e4.replace(/"/g, '"')), t5 ? JSON.stringify(e4) : e4; + }, array: function(e4) { + var o2 = ""; + return 0 === e4.length ? o2 += "[]" : (i3 = i3.replace(/$/, " "), e4.forEach(function(e5, r2) { + var a2 = t4[n2(e5)]; + if (!a2) throw new Error("missing root handler: " + n2(e5)); + o2 += "\n" + i3 + "- " + a2(e5, true); + }), i3 = i3.replace(/ /, ""), o2); + }, object: function(e4, o2, r2) { + var a2 = ""; + return 0 === Object.keys(e4).length ? a2 += "{}" : (r2 || (i3 = i3.replace(/$/, " ")), Object.keys(e4).forEach(function(r3, s) { + var l = e4[r3], u = t4[n2(l)]; + if (void 0 !== l) { + if (!u) throw new Error("what the crap: " + n2(l)); + o2 && 0 === s || (a2 += "\n" + i3), (r3.length > 0 && r3.charAt(0).match(/[^\w]/g) || r3.match(/[:#]/g) || "true" === r3.toLowerCase() && "true" !== r3 || "false" === r3.toLowerCase() && "false" !== r3 || "yes" === r3.toLowerCase() || "no" === r3.toLowerCase() || r3.endsWith(" ")) && (r3 = JSON.stringify(r3)), a2 += r3 + ": " + u(l); + } + }), i3 = i3.replace(/ /, ""), a2); + }, function: function() { + return "[object Function]"; + } }; + var r = n2(e3), a = t4[r]; + if (!a) throw new Error("what the crap: " + r); + return o(a(e3, true, true) + "\n"); + }; + })(); + }, 37675(e2) { + e2.exports = { leftToRight: "ltr", rightToLeft: "rtl" }; + }, 42714(e2, t2, i2) { + const n2 = i2(35317).exec, o = i2(35317).spawn, r = { darwin: function(e3) { + return o("open", [e3]); + }, win32: function(e3) { + return n2('start "" "' + e3 + '"'); + }, default: function(e3) { + return o("xdg-open", [e3]); + } }, a = r[process.platform] || r.default; + t2.open = function(e3, t3) { + const i3 = a(e3); + let n3 = ""; + i3.stderr.setEncoding("utf8"), i3.stderr.on("data", function(e4) { + n3 += e4; + }), i3.stderr.on("end", function() { + if (n3.length > 0) { + const e4 = new Error(n3); + if (!t3) throw e4; + t3(e4); + } else t3 && t3(); + }); + }; + }, 81120(e2, t2, i2) { + const n2 = i2(92140), o = i2(33231); + class r { + constructor(e3) { + if (!n2.isFunction(e3)) throw "not a function"; + this._functionToExecute = e3, this._currentDefer = void 0, this._nextDefer = void 0; } - _appendLogStrSettingErrorHandlingFlow(e3, t3) { - this._appendLogStrPart(e3, "Flow Event Error Handling", t3, false, true); + executeInternal(e3) { + const t3 = this._functionToExecute(); + o.isPromiseAlike(t3) ? t3.then(() => { + e3.resolve(), this.startNext(); + }).catch((t4) => { + e3.reject(t4), this.startNext(); + }) : e3.reject("function did not return a promise"); } - _appendLogStrProperty(e3, t3) { - this._appendLogStrPart(e3, "Property", t3, false, true); + startNext() { + setTimeout(function() { + this._currentDefer = this._nextDefer, this._nextDefer = void 0, this._currentDefer && this.executeInternal(this._currentDefer); + }.bind(this), 0); } - _appendLogStrTrackingId(e3, t3) { - this._appendLogStrPart(e3, "TrackingID", t3, true, true); + execute() { + return this._currentDefer ? (this._nextDefer || (this._nextDefer = o.defer()), this._nextDefer.promise) : (this._currentDefer = o.defer(), this.executeInternal(this._currentDefer), this._currentDefer.promise); } - _appendLogStrTrackingIdNameType(e3, t3, i3, n3) { - this._appendLogStrTrackingId(e3, t3), this._appendLogStrName(e3, i3), this._appendLogStrType(e3, n3); + } + e2.exports = function(e3) { + const t3 = new r(e3); + return function() { + return t3.execute(); + }; + }; + }, 3916(e2, t2, i2) { + const n2 = i2(92140), o = i2(73198).default, r = i2(8462), a = i2(62778), s = i2(40894), l = {}, u = i2(24032).getTopic("schemaHelper"); + l.createSchemaPropertyList = function(e3, t3, i3, o2) { + const r2 = []; + return n2.each(e3, function(e4, l2) { + if ("patternProperties" !== l2 && "additionalProperties" !== l2 && "definitions" !== l2 && "properties" !== l2 && "dependencies" !== l2 && n2.isObject(e4)) try { + const u2 = (function(e5, t4) { + return n2.isString(t4.slotName) && (e5 = t4.slotName), t4.type && t4.type.enum ? new a(e5, t4) : new s(e5, t4, i3); + })(l2, e4); + u2.type && r2.push(u2), u2.required = !(!o2 || !t3?.includes(l2)); + } catch (e5) { + u.exception(e5, "Could not create property schema property list item"); + } + }.bind(this)), r2; + }, l.createDataPairForSchemaProperty = function(e3, t3, i3) { + i3 || (i3 = t3.type); + const a2 = r.buildOptions(i3, void 0, e3.parentFlow).setAllowSecure(e3.allowSecure).setIsOptional(!e3.isInputList || !t3.required); + let s2; + const l2 = n2.isNull(t3.defaultValue) || n2.isUndefined(t3.defaultValue); + this.defaultInputsWithNoDefaultToNotSet && l2 && e3.isInputList && !t3.type.isCollection ? a2.setDefaultText(o.notSet).setDefaultToExpression(true).setDefaultToNoValue(false).setDoNotTransitionToNoValue(true) : e3.isInputList && (s2 = t3.defaultValue); + const u2 = { name: t3.name, referenceId: t3.id }; + return e3.createItem(u2, i3, s2, a2); + }, l.setExpressionWithSchemaProperty = function(e3, t3) { + if (e3.options.setDescriptionInfo(t3.title || t3.name, t3.description), t3.examples && e3.options.setExamples(t3.examples), !e3.isOutput && !n2.isUndefined(t3.defaultValue)) { + const i3 = n2.isString(t3.defaultValue) ? t3.defaultValue : String(t3.defaultValue); + e3.options.setDefaultText(i3); } - _appendLogStrTtsEngineName(e3, t3) { - this._appendLogStrPart(e3, "TtsEngineName", t3, false, true); + t3.title && e3.options.setLabelOverride(t3.title), e3.isOutput || e3.options.setIsOptional(!t3.required), n2.isUndefined(t3.additionalInfoSection) || e3.options.setDescriptionAdditionalInfoSection(t3.additionalInfoSection), !n2.isUndefined(t3.minLength) && e3.options.isExpressionTypeStringOptions && (Number.isInteger(t3.minLength) ? e3.options.facets.setMinLength(t3.minLength) : this.topic.error(`schema property: non-numeric value found for minLength: ${t3.minLength}`)), !n2.isUndefined(t3.maxLength) && e3.options.isExpressionTypeStringOptions && (Number.isInteger(t3.maxLength) ? e3.options.facets.setMaxLength(t3.maxLength) : this.topic.error(`schema property: non-numeric value found for maxLength: ${t3.maxLength}`)), !n2.isUndefined(t3.minimum) && e3.options.facets && e3.options.facets.setMinInt && (Number.isInteger(t3.minimum) ? e3.options.facets.setMinInt(t3.minimum, true) : this.topic.error(`schema property: non-numeric value found for minimum: ${t3.minimum}`)), !n2.isUndefined(t3.maximum) && e3.options.facets && e3.options.facets.setMaxInt && (Number.isInteger(t3.maximum) ? e3.options.facets.setMaxInt(t3.maximum, true) : this.topic.error(`schema property: non-numeric value found for maxLength: ${t3.maximum}`)), t3.model && n2.isArray(t3.model.allowableValues) && e3.options.isExpressionTypeStringOptions && (e3.options.facets.allowableValues = t3.model.allowableValues), n2.isUndefined(t3.staticMetaData) || e3.setStaticMetaData(t3.staticMetaData); + }, e2.exports = l; + }, 28195(e2) { + e2.exports = { callback: "callback", chat: "chat", email: "email", message: "message", screenPop: "screenPop" }; + }, 70610(e2, t2, i2) { + const n2 = i2(47957), o = i2(17604).sprintf, r = {}, a = {}; + e2.exports = { addUnknownUser: function(e3, t3) { + const i3 = t3 ? a : r; + if (!i3[e3]) { + const r2 = Object.keys(i3).length + 1; + i3[e3] = o(t3 ? n2.flow.unknownClientNumber : n2.flow.unknownUserNumber, r2); } - _appendLogStrTtsEngineSelectionType(e3, t3) { - this._appendLogStrPart(e3, "TtsEngineSelectionType", t3, false, true); + }, getUnknownUserName: function(e3, t3) { + return (t3 ? a : r)[e3] || ""; + } }; + }, 60137(e2, t2, i2) { + const n2 = i2(92140), o = i2(17604).sprintf, r = 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(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[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; + const o2 = n3.allModes.conditions; + return i3.conditions ? Array.prototype.unshift.apply(i3.conditions, o2) : i3.conditions = o2, i3; + } }, _hasSequenceSetOverride: { value: function(e3) { + return this._sequenceDefinition.supportedLanguages[e3] && this._sequenceDefinition.supportedLanguages[e3] !== u; + } }, _buildSequence: { value: function(e3, t3) { + const i3 = this; + if (1 === e3.length) return this._buildPart(e3[0], t3); + { + const r2 = []; + return n2.each(e3, function(e4) { + r2.push(i3._buildPart(e4, t3)); + }), o("Append(%s)", r2.join(", ")); } - _appendLogStrTtsEngineVoiceName(e3, t3) { - this._appendLogStrPart(e3, "TtsEngineVoiceName", t3, false, true); + } }, _replaceValue: { value: function(e3, t3) { + return n2.each(t3, function(t4, i3) { + for (; e3.indexOf(i3) >= 0; ) e3 = e3.replace(i3, t4); + }), e3; + } }, _buildPart: { value: function(e3, t3) { + switch (e3.type) { + case this._sequenceDefinition.parts.sequenceTypes.tts: + return o('ToAudioTTS("%s")', e3.value); + case this._sequenceDefinition.parts.sequenceTypes.systemPrompt: + return this._sequenceDefinition.parts.systemPrompts[e3.value] ? o("ToAudio(PromptSystem.%s)", e3.value) : "unknown prompt"; + case this._sequenceDefinition.parts.sequenceTypes.subExpression: + return this._replaceValue(e3.value.value, t3); + default: + return "unknown type"; } - _appendLogStrTtsEngineVoiceSelectionType(e3, t3) { - this._appendLogStrPart(e3, "TtsEngineVoiceSelectionType", t3, false, true); + } }, _setAudioExpression: { value: function(e3, t3, i3, r2) { + const a2 = this; + let s2; + if (i3 === u || r2) s2 = a2._audioViewModel.defaultAudio; + else { + if (!a2._audioViewModel.cases || 0 === a2._audioViewModel.cases.length) return; + const e4 = a2._audioViewModel.getCaseForLang(i3); + if (s2 = e4.audioExpression, !a2._hasSequenceSetOverride(i3)) return s2.customExpressionMode = true, e4.audioExpression.setText("", true), void (e4.disabled = true); + e4.disabled = false; } - _appendLogStrType(e3, t3) { - this._appendLogStrPart(e3, "Type", t3, false, true); + const l2 = a2._getSequenceSet(e3, i3), c2 = [], d2 = []; + let p = 0; + n2.each(l2.conditions, function(e4) { + e4.condition ? (c2.push(o("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 _ = c2.join(""); + return _ !== s2.text && s2.setText(_, true), true; + } }, canBuildExpression: { value: function(e3, t3) { + const i3 = this; + let o2 = false; + const r2 = i3._action.parentFlow.languages.supportedLanguages; + return n2.each(r2, function(n3) { + i3._canBuildExpression(t3, e3, n3) || (o2 = true); + }), !o2; + } }, _canBuildExpression: { value: function(e3, t3, i3) { + const n3 = this; + let a2; + const u2 = n3._getSequenceSet(t3, i3); + if (!u2) return e3 && e3.addError(n3._action, o(r.audio.actionNotValidError, i3, this._audioViewModel.label)), false; + if (!this._sequenceDefinition.supportsFlow(i3, this._action.parentFlow)) return l.error("Flow type " + this._action.parentFlow.type + " is not supported for sequence type " + t3 + " and language " + i3), false; + for (let e4 = 0; e4 < u2.conditions.length; e4++) { + const t4 = u2.conditions[e4]; + for (let e5 = 0; e5 < t4.sequence.length; e5++) { + const l2 = t4.sequence[e5]; + if (l2.type === n3._sequenceDefinition.parts.sequenceTypes.subExpression) for (let e6 = 0; e6 < l2.value.ids.length; e6++) { + const t5 = l2.value.ids[e6], n4 = s.expressionFuncOpsByOverloadId[t5]; + (!n4 || n4.supportedLanguageFilter && !n4.supportedLanguageFilter[i3]) && (console.error("can not find id " + t5), a2 = o(r.errors.notAvailableError, i3)); + } + } } - _appendLogStrWarningCount(e3, t3) { - this._appendLogStrPart(e3, "WarningCount", t3, true); + return e3 && a2 && e3.addError(n3._action, a2), !a2; + } }, buildExpression: { value: function(e3, t3) { + const i3 = this; + i3._audioViewModel.updateCases(); + const o2 = i3._action.parentFlow.languages.supportedLanguages; + return 1 === o2.length ? i3._setAudioExpression(e3, t3, o2[0], true) : (i3._setAudioExpression(e3, t3, u), n2.each(o2, function(n3) { + i3._setAudioExpression(e3, t3, n3); + })), true; + } } }), e2.exports = d; + }, 81086(e2, t2, i2) { + const n2 = i2(16029); + function o() { + } + o.extend = function(e3, t3) { + n2(e3, this); + const i3 = this.extend; + t3 ? Object.defineProperty(e3, "extend", { value: function() { + t3.apply(this, arguments), i3.apply(this, arguments); + } }) : Object.defineProperty(e3, "extend", { value: i3 }); + const o2 = e3._super.constructor; + /^class[\s{]/.test(Function.prototype.toString.call(o2)) ? Object.defineProperties(e3, { baseConstructor: { value: { call: function(t4) { + const i4 = Array.prototype.slice.call(arguments, 1), n3 = Reflect.construct(o2, i4, e3), r = Object.getOwnPropertyNames(n3); + for (let e4 = 0; e4 < r.length; e4++) { + const i5 = r[e4]; + Object.prototype.hasOwnProperty.call(t4, i5) || Object.defineProperty(t4, i5, Object.getOwnPropertyDescriptor(n3, i5)); + } + } } } }) : Object.defineProperties(e3, { baseConstructor: { value: o2 } }); + }, Object.defineProperties(o.prototype, { className: { get: function() { + return "BaseClass"; + } }, isBaseClass: { get: function() { + return true; + } } }), o.isBaseClassObject = true, e2.exports = o; + }, 66273(e2, t2, i2) { + const n2 = i2(17604).sprintf, { callTaskActionType: o } = i2(30801), { decisionActionType: r } = 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(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 I = t3.addAction(h); + I.name = g.legacyRouting.actionLoopName, I.loopCount.setAsExpression("Count(Chat.Guest.customFields)"), S.addVariable("Task.chatGuestCustomFieldsIndex", I.currentIndex, t3); + const C = I.getBranch(m.loop).addAction(r); + C.name = g.legacyRouting.actionDecisionFoundFieldName, C.expression.setAsExpression('AreEqual("context.genesys.legacyRoutingTargetQueueAddress", Chat.Guest.customFields[Task.chatGuestCustomFieldsIndex].key) or AreEqual("genesys.legacyRoutingTargetQueueAddress", Chat.Guest.customFields[Task.chatGuestCustomFieldsIndex].key)'); + const O = C.getBranch(m.yes), b = O.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"), O.addAction(s, b); + const w = t3.addAction(r, I); + 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, 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(o); + L.name = g.legacyRouting.actionCallTask, L.linkTask(t3); + const x = F.addAction(r, L); + x.name = g.legacyRouting.actionDecisionFoundQueueName, x.expression.setAsExpression("!IsNotSetOrEmpty(Flow.legacyQueue)"); + const k = x.getBranch(m.yes).addAction(T); + k.name = g.legacyRouting.actionTransferToACDName, k.queues.items[0].mode = l.expression, k.queues.items[0].setText("Flow.legacyQueue"); + }; + }, 45741(e2, t2, i2) { + const n2 = i2(92140); + e2.exports = function(e3, t3) { + n2.isFunction(e3) ? n2.each(t3, function(t4, i3) { + Object.defineProperty(e3.prototype, i3, { value: t4 }); + }) : n2.each(t3, function(t4, i3) { + Object.defineProperty(e3, i3, { value: t4 }); + }); + }; + }, 92669(e2) { + e2.exports = [{ id: "call" }, { id: "callback" }, { id: "chat" }, { id: "cobrowse" }, { id: "email" }, { id: "screenShare" }, { id: "socialExpression" }, { id: "unknown" }, { id: "videoComm" }]; + }, 19502(e2, t2, i2) { + const n2 = i2(83697); + e2.exports = { AED: { displayName: n2.AED.displayName, symbol: "AED", code: "AED" }, AFN: { displayName: n2.AFN.displayName, symbol: "AFN", code: "AFN" }, ALL: { displayName: n2.ALL.displayName, symbol: "ALL", code: "ALL" }, AMD: { displayName: n2.AMD.displayName, symbol: "AMD", code: "AMD" }, ANG: { displayName: n2.ANG.displayName, symbol: "ANG", code: "ANG" }, AOA: { displayName: n2.AOA.displayName, symbol: "AOA", code: "AOA" }, ARS: { displayName: n2.ARS.displayName, symbol: "ARS", code: "ARS" }, AUD: { displayName: n2.AUD.displayName, symbol: "A$", code: "AUD" }, AWG: { displayName: n2.AWG.displayName, symbol: "AWG", code: "AWG" }, AZN: { displayName: n2.AZN.displayName, symbol: "AZN", code: "AZN" }, BAM: { displayName: n2.BAM.displayName, symbol: "BAM", code: "BAM" }, BBD: { displayName: n2.BBD.displayName, symbol: "BBD", code: "BBD" }, BDT: { displayName: n2.BDT.displayName, symbol: "BDT", code: "BDT" }, BGN: { displayName: n2.BGN.displayName, symbol: "BGN", code: "BGN" }, BHD: { displayName: n2.BHD.displayName, symbol: "BHD", code: "BHD" }, BIF: { displayName: n2.BIF.displayName, symbol: "BIF", code: "BIF" }, BMD: { displayName: n2.BMD.displayName, symbol: "BMD", code: "BMD" }, BND: { displayName: n2.BND.displayName, symbol: "BND", code: "BND" }, BOB: { displayName: n2.BOB.displayName, symbol: "BOB", code: "BOB" }, BRL: { displayName: n2.BRL.displayName, symbol: "R$", code: "BRL" }, BSD: { displayName: n2.BSD.displayName, symbol: "BSD", code: "BSD" }, BTN: { displayName: n2.BTN.displayName, symbol: "BTN", code: "BTN" }, BWP: { displayName: n2.BWP.displayName, symbol: "BWP", code: "BWP" }, BYR: { displayName: n2.BYR.displayName, symbol: "BYR", code: "BYR" }, BZD: { displayName: n2.BZD.displayName, symbol: "BZD", code: "BZD" }, CAD: { displayName: n2.CAD.displayName, symbol: "CA$", code: "CAD" }, CDF: { displayName: n2.CDF.displayName, symbol: "CDF", code: "CDF" }, CHF: { displayName: n2.CHF.displayName, symbol: "CHF", code: "CHF" }, CLP: { displayName: n2.CLP.displayName, symbol: "CLP", code: "CLP" }, CNY: { displayName: n2.CNY.displayName, symbol: "CN\xA5", code: "CNY" }, COP: { displayName: n2.COP.displayName, symbol: "COP", code: "COP" }, CRC: { displayName: n2.CRC.displayName, symbol: "CRC", code: "CRC" }, CUC: { displayName: n2.CUC.displayName, symbol: "CUC", code: "CUC" }, CUP: { displayName: n2.CUP.displayName, symbol: "CUP", code: "CUP" }, CVE: { displayName: n2.CVE.displayName, symbol: "CVE", code: "CVE" }, CZK: { displayName: n2.CZK.displayName, symbol: "CZK", code: "CZK" }, DJF: { displayName: n2.DJF.displayName, symbol: "DJF", code: "DJF" }, DKK: { displayName: n2.DKK.displayName, symbol: "DKK", code: "DKK" }, DOP: { displayName: n2.DOP.displayName, symbol: "DOP", code: "DOP" }, DZD: { displayName: n2.DZD.displayName, symbol: "DZD", code: "DZD" }, EGP: { displayName: n2.EGP.displayName, symbol: "EGP", code: "EGP" }, ERN: { displayName: n2.ERN.displayName, symbol: "ERN", code: "ERN" }, ETB: { displayName: n2.ETB.displayName, symbol: "ETB", code: "ETB" }, EUR: { displayName: n2.EUR.displayName, symbol: "\u20AC", code: "EUR" }, FJD: { displayName: n2.FJD.displayName, symbol: "FJD", code: "FJD" }, FKP: { displayName: n2.FKP.displayName, symbol: "FKP", code: "FKP" }, GBP: { displayName: n2.GBP.displayName, symbol: "\xA3", code: "GBP" }, GEL: { displayName: n2.GEL.displayName, symbol: "GEL", code: "GEL" }, GHS: { displayName: n2.GHS.displayName, symbol: "GHS", code: "GHS" }, GIP: { displayName: n2.GIP.displayName, symbol: "GIP", code: "GIP" }, GMD: { displayName: n2.GMD.displayName, symbol: "GMD", code: "GMD" }, GNF: { displayName: n2.GNF.displayName, symbol: "GNF", code: "GNF" }, GTQ: { displayName: n2.GTQ.displayName, symbol: "GTQ", code: "GTQ" }, GWP: { displayName: n2.GWP.displayName, symbol: "GWP", code: "GWP" }, GYD: { displayName: n2.GYD.displayName, symbol: "GYD", code: "GYD" }, HKD: { displayName: n2.HKD.displayName, symbol: "HK$", code: "HKD" }, HNL: { displayName: n2.HNL.displayName, symbol: "HNL", code: "HNL" }, HRK: { displayName: n2.HRK.displayName, symbol: "HRK", code: "HRK" }, HTG: { displayName: n2.HTG.displayName, symbol: "HTG", code: "HTG" }, HUF: { displayName: n2.HUF.displayName, symbol: "HUF", code: "HUF" }, IDR: { displayName: n2.IDR.displayName, symbol: "IDR", code: "IDR" }, ILS: { displayName: n2.ILS.displayName, symbol: "\u20AA", code: "ILS" }, INR: { displayName: n2.INR.displayName, symbol: "\u20B9", code: "INR" }, IQD: { displayName: n2.IQD.displayName, symbol: "IQD", code: "IQD" }, IRR: { displayName: n2.IRR.displayName, symbol: "IRR", code: "IRR" }, ISK: { displayName: n2.ISK.displayName, symbol: "ISK", code: "ISK" }, JMD: { displayName: n2.JMD.displayName, symbol: "JMD", code: "JMD" }, JOD: { displayName: n2.JOD.displayName, symbol: "JOD", code: "JOD" }, JPY: { displayName: n2.JPY.displayName, symbol: "\xA5", code: "JPY" }, KES: { displayName: n2.KES.displayName, symbol: "KES", code: "KES" }, KGS: { displayName: n2.KGS.displayName, symbol: "KGS", code: "KGS" }, KHR: { displayName: n2.KHR.displayName, symbol: "KHR", code: "KHR" }, KMF: { displayName: n2.KMF.displayName, symbol: "KMF", code: "KMF" }, KPW: { displayName: n2.KPW.displayName, symbol: "KPW", code: "KPW" }, KRW: { displayName: n2.KRW.displayName, symbol: "\u20A9", code: "KRW" }, KWD: { displayName: n2.KWD.displayName, symbol: "KWD", code: "KWD" }, KYD: { displayName: n2.KYD.displayName, symbol: "KYD", code: "KYD" }, KZT: { displayName: n2.KZT.displayName, symbol: "KZT", code: "KZT" }, LAK: { displayName: n2.LAK.displayName, symbol: "LAK", code: "LAK" }, LBP: { displayName: n2.LBP.displayName, symbol: "LBP", code: "LBP" }, LKR: { displayName: n2.LKR.displayName, symbol: "LKR", code: "LKR" }, LRD: { displayName: n2.LRD.displayName, symbol: "LRD", code: "LRD" }, LSL: { displayName: n2.LSL.displayName, symbol: "LSL", code: "LSL" }, LTL: { displayName: n2.LTL.displayName, symbol: "LTL", code: "LTL" }, LVL: { displayName: n2.LVL.displayName, symbol: "LVL", code: "LVL" }, LYD: { displayName: n2.LYD.displayName, symbol: "LYD", code: "LYD" }, MAD: { displayName: n2.MAD.displayName, symbol: "MAD", code: "MAD" }, MDL: { displayName: n2.MDL.displayName, symbol: "MDL", code: "MDL" }, MGA: { displayName: n2.MGA.displayName, symbol: "MGA", code: "MGA" }, MKD: { displayName: n2.MKD.displayName, symbol: "MKD", code: "MKD" }, MMK: { displayName: n2.MMK.displayName, symbol: "MMK", code: "MMK" }, MNT: { displayName: n2.MNT.displayName, symbol: "MNT", code: "MNT" }, MOP: { displayName: n2.MOP.displayName, symbol: "MOP", code: "MOP" }, MRO: { displayName: n2.MRO.displayName, symbol: "MRO", code: "MRO" }, MUR: { displayName: n2.MUR.displayName, symbol: "MUR", code: "MUR" }, MVR: { displayName: n2.MVR.displayName, symbol: "MVR", code: "MVR" }, MWK: { displayName: n2.MWK.displayName, symbol: "MWK", code: "MWK" }, MXN: { displayName: n2.MXN.displayName, symbol: "MX$", code: "MXN" }, MYR: { displayName: n2.MYR.displayName, symbol: "MYR", code: "MYR" }, MZE: { displayName: n2.MZE.displayName, symbol: "MZE", code: "MZE" }, MZN: { displayName: n2.MZN.displayName, symbol: "MZN", code: "MZN" }, NAD: { displayName: n2.NAD.displayName, symbol: "NAD", code: "NAD" }, NGN: { displayName: n2.NGN.displayName, symbol: "NGN", code: "NGN" }, NIO: { displayName: n2.NIO.displayName, symbol: "NIO", code: "NIO" }, NOK: { displayName: n2.NOK.displayName, symbol: "NOK", code: "NOK" }, NPR: { displayName: n2.NPR.displayName, symbol: "NPR", code: "NPR" }, NZD: { displayName: n2.NZD.displayName, symbol: "NZ$", code: "NZD" }, OMR: { displayName: n2.OMR.displayName, symbol: "OMR", code: "OMR" }, PAB: { displayName: n2.PAB.displayName, symbol: "PAB", code: "PAB" }, PEN: { displayName: n2.PEN.displayName, symbol: "PEN", code: "PEN" }, PGK: { displayName: n2.PGK.displayName, symbol: "PGK", code: "PGK" }, PHP: { displayName: n2.PHP.displayName, symbol: "PHP", code: "PHP" }, PKR: { displayName: n2.PKR.displayName, symbol: "PKR", code: "PKR" }, PLN: { displayName: n2.PLN.displayName, symbol: "PLN", code: "PLN" }, PYG: { displayName: n2.PYG.displayName, symbol: "PYG", code: "PYG" }, QAR: { displayName: n2.QAR.displayName, symbol: "QAR", code: "QAR" }, RON: { displayName: n2.RON.displayName, symbol: "RON", code: "RON" }, RSD: { displayName: n2.RSD.displayName, symbol: "RSD", code: "RSD" }, RUB: { displayName: n2.RUB.displayName, symbol: "RUB", code: "RUB" }, RWF: { displayName: n2.RWF.displayName, symbol: "RWF", code: "RWF" }, SAR: { displayName: n2.SAR.displayName, symbol: "SAR", code: "SAR" }, SBD: { displayName: n2.SBD.displayName, symbol: "SBD", code: "SBD" }, SCR: { displayName: n2.SCR.displayName, symbol: "SCR", code: "SCR" }, SDG: { displayName: n2.SDG.displayName, symbol: "SDG", code: "SDG" }, SEK: { displayName: n2.SEK.displayName, symbol: "SEK", code: "SEK" }, SGD: { displayName: n2.SGD.displayName, symbol: "SGD", code: "SGD" }, SHP: { displayName: n2.SHP.displayName, symbol: "SHP", code: "SHP" }, SKK: { displayName: n2.SKK.displayName, symbol: "SKK", code: "SKK" }, SLL: { displayName: n2.SLL.displayName, symbol: "SLL", code: "SLL" }, SOS: { displayName: n2.SOS.displayName, symbol: "SOS", code: "SOS" }, SRD: { displayName: n2.SRD.displayName, symbol: "SRD", code: "SRD" }, SSP: { displayName: n2.SSP.displayName, symbol: "SSP", code: "SSP" }, STD: { displayName: n2.STD.displayName, symbol: "STD", code: "STD" }, SVC: { displayName: n2.SVC.displayName, symbol: "SVC", code: "SVC" }, SYP: { displayName: n2.SYP.displayName, symbol: "SYP", code: "SYP" }, SZL: { displayName: n2.SZL.displayName, symbol: "SZL", code: "SZL" }, THB: { displayName: n2.THB.displayName, symbol: "\u0E3F", code: "THB" }, TJS: { displayName: n2.TJS.displayName, symbol: "TJS", code: "TJS" }, TMT: { displayName: n2.TMT.displayName, symbol: "TMT", code: "TMT" }, TND: { displayName: n2.TND.displayName, symbol: "TND", code: "TND" }, TOP: { displayName: n2.TOP.displayName, symbol: "TOP", code: "TOP" }, TRY: { displayName: n2.TRY.displayName, symbol: "TRY", code: "TRY" }, TTD: { displayName: n2.TTD.displayName, symbol: "TTD", code: "TTD" }, TWD: { displayName: n2.TWD.displayName, symbol: "NT$", code: "TWD" }, TZS: { displayName: n2.TZS.displayName, symbol: "TZS", code: "TZS" }, UAH: { displayName: n2.UAH.displayName, symbol: "UAH", code: "UAH" }, UGX: { displayName: n2.UGX.displayName, symbol: "UGX", code: "UGX" }, USD: { displayName: n2.USD.displayName, symbol: "$", code: "USD" }, UYU: { displayName: n2.UYU.displayName, symbol: "UYU", code: "UYU" }, UZS: { displayName: n2.UZS.displayName, symbol: "UZS", code: "UZS" }, VEF: { displayName: n2.VEF.displayName, symbol: "VEF", code: "VEF" }, VND: { displayName: n2.VND.displayName, symbol: "\u20AB", code: "VND" }, VUV: { displayName: n2.VUV.displayName, symbol: "VUV", code: "VUV" }, WST: { displayName: n2.WST.displayName, symbol: "WST", code: "WST" }, XAF: { displayName: n2.XAF.displayName, symbol: "FCFA", code: "XAF" }, XCD: { displayName: n2.XCD.displayName, symbol: "EC$", code: "XCD" }, XOF: { displayName: n2.XOF.displayName, symbol: "CFA", code: "XOF" }, XPF: { displayName: n2.XPF.displayName, symbol: "CFPF", code: "XPF" }, YER: { displayName: n2.YER.displayName, symbol: "YER", code: "YER" }, ZAR: { displayName: n2.ZAR.displayName, symbol: "ZAR", code: "ZAR" }, ZMW: { displayName: n2.ZMW.displayName, symbol: "ZMW", code: "ZMW" } }; + }, 52088(e2, t2, i2) { + const n2 = i2(58380), o = i2(1115); + e2.exports = { createNameChangedEventSinkObject: function(e3) { + return n2.createEventSinkObject("nameChanged", e3, () => { + e3.initializeDesignTimeCalled && o.validateNode(e3, false); + }); + } }; + }, 65011(e2, t2, i2) { + const n2 = i2(47957); + e2.exports = [{ displayString: n2.flowOutcomes.failure, id: "FAILURE" }, { displayString: n2.flowOutcomes.success, id: "SUCCESS" }]; + }, 16029(e2) { + e2.exports = function(e3, t2) { + if ("function" != typeof e3 || "function" != typeof t2) throw new TypeError("inherits expects child and parent to be constructors"); + Object.setPrototypeOf ? Object.setPrototypeOf(e3.prototype, t2.prototype) : e3.prototype.__proto__ = t2.prototype; + const i2 = Object.getOwnPropertyDescriptor(e3.prototype, "constructor"); + return i2 && i2.value === e3 || Object.defineProperty(e3.prototype, "constructor", { value: e3, writable: true, configurable: true }), Object.setPrototypeOf ? Object.setPrototypeOf(e3, t2) : e3.__proto__ = t2, Object.keys(t2).forEach((i3) => { + Object.prototype.hasOwnProperty.call(e3, i3) || Object.defineProperty(e3, i3, Object.getOwnPropertyDescriptor(t2, i3)); + }), "function" == typeof t2["@@create"] && (e3["@@create"] = t2["@@create"]), Object.prototype.hasOwnProperty.call(e3, "_super") || Object.defineProperty(e3, "_super", { value: t2.prototype }), e3; + }; + }, 6697(e2) { + e2.exports = "undefined" == typeof window; + }, 18594(e2) { + e2.exports = function(e3, t2, i2, n2) { + const o = { enumerable: true, configurable: true, get: function() { + return t2 ? t2[i2] : null; + } }; + n2 || (o.set = function(e4) { + t2 && (t2[i2] = e4); + }); + try { + Object.defineProperty(e3, i2, o); + } catch (e4) { } - _appendLogStrWarningCountTotal(e3, t3) { - this._appendLogStrPart(e3, "WarningCountTotal", t3, true); + }; + }, 1360(e2) { + e2.exports = { exactMatch: 1, startsWith: 2, contains: 3, containsAssumed: 4 }; + }, 88276(e2, t2, i2) { + const n2 = i2(47957); + e2.exports = [{ displayString: n2.sendResponse.messageBodyStyleNotice, id: "notice" }, { displayString: n2.sendResponse.messageBodyStyleStandard, id: "standard" }]; + }, 33948(e2) { + e2.exports = { created: "created", transcoded: "transcoded", transcodeFailed: "transcodeFailed", uploaded: "uploaded" }; + }, 69773(e2, t2, i2) { + const n2 = i2(92140), o = i2(90358), r = {}; + n2.each(o, function(e3, t3) { + r[t3] = { code: t3, message: e3 }; + }), e2.exports = r; + }, 4059(e2, t2, i2) { + const n2 = i2(47957); + e2.exports = [{ displayString: n2.abortSurvey.dispositionError, id: "error" }, { displayString: n2.abortSurvey.dispositionOptOut, id: "optOut" }]; + }, 61347(e2, t2, i2) { + const n2 = i2(92140); + n2.mixin({ isActualNumber: function(e3) { + return !isNaN(e3) && n2.isNumber(e3); + }, isStringActualNumber: function(e3) { + if (n2.isString(e3) && "" !== e3) { + const t3 = Number(e3); + return !isNaN(t3); } - _appendLogStrRollupWarningCount(e3, t3) { - this._appendLogStrPart(e3, "RollupWarningCount", t3, true); - } - _appendLogStrRollupWarningCountTotal(e3, t3) { - this._appendLogStrPart(e3, "RollupWarningCountTotal", t3, true); - } - _appendLogStrVersion(e3, t3) { - this._appendLogStrPart(e3, "Version", t3, false); - } - _checkItem(e3, t3, i3, n3) { - t3 && c.default.itemInvalid(e3, i3, this.logStr, this.displayTypeName, n3); - } - _checkItemSameParentFlow(e3, t3, i3) { - let n3 = t3, o2 = i3; - return r2.default.isObject(n3) && n3.isArchBaseFlow && (n3 = n3._getCoreViewModel()), r2.default.isObject(o2) && o2.isArchBaseFlow && (o2 = o2._getCoreViewModel()), this._checkItem(e3, n3 !== o2, `the value specifies an object from a different flow. It comes from the flow '${this.coreFactory.createArchWrapper(o2).logStr}'. The value needs to be an object from the flow '${this.coreFactory.createArchWrapper(n3).logStr}'.`); - } - _checkItemValueFeatureToggleIsSet(e3, t3, i3) { - a.isDisabled(t3) && this._itemIsInvalid(e3, "the feature toggle '" + t3 + "' is required for the parameter value '" + i3 + "'."); - } - _checkMethodCallFeatureIsAvailable(e3, t3) { - o.isFeatureUnavailable(t3) && this._itemIsInvalid(e3, "calling this method requires functionality that is not available in the organization.", p._checkMethodCallFeatureIsAvailable_shouldLog); - } - _checkMethodCallFeatureToggleIsSet(e3, t3) { - a.isDisabled(t3) && this._itemIsInvalid(e3, "the feature toggle '" + t3 + "' is required to make this call."); - } - _checkItemValueFeatureConfigIsSet(e3, t3, i3) { - o.isFeatureUnavailable(t3) && this._itemIsInvalid(e3, `Parameter '${i3}' requires a feature that is not available`); + return false; + }, clamp: function(e3, t3, i3) { + return Math.min(i3, Math.max(t3, e3)); + }, containsAll: function(e3, t3) { + return t3.every((t4) => e3.includes(t4)); + }, extEnsureArray: function(e3) { + return n2.isArray(e3) ? e3 : [e3]; + }, defaultsDeep: function(e3, t3) { + n2.defaults(e3, t3), n2.each(t3, (t4, i3) => { + n2.isObject(t4) && e3 && n2.defaultsDeep(e3[i3], t4); + }); + }, deepClone: function(e3) { + if (!n2.isUndefined(e3)) return JSON.parse(JSON.stringify(e3)); + }, deepDeleteKey: (e3, t3) => { + for (const i3 in e3) e3.hasOwnProperty(i3) && (n2.isObject(e3[i3]) ? n2.deepDeleteKey(e3[i3], t3) : i3 === t3 && delete e3[t3]); + return e3; + }, ensureYamlNoneTrue: function(e3) { + n2.isObject(e3) && n2.isEmpty(e3) && (e3.none = true); + }, getFirstPropertyKeyInObj: (e3) => n2.isObject(e3) ? Object.keys(e3)[0] : null, getFirstPropertyValueInObj: (e3) => n2.isObject(e3) ? Object.values(e3)[0] : null, filterNull: function(e3) { + return n2.filter(e3, (e4) => e4); + }, isNullOrUndefined: function(e3) { + return n2.isNull(e3) || n2.isUndefined(e3); + }, lowercaseFirstLetter: (e3) => n2.isString(e3) ? e3.charAt(0).toLowerCase() + e3.slice(1) : e3, moveAndDeleteProperty: (e3, t3, i3) => { + e3[i3] && t3 && (t3[i3] = e3[i3], delete e3[i3]); + }, moveRenameAndDeleteProperty: (e3, t3, i3, n3) => { + e3[i3] && t3 && (t3[n3] = e3[i3], delete e3[i3]); + }, renameProperty: (e3, t3, i3) => { + e3[t3] && (e3[i3] = e3[t3], delete e3[t3]); + }, sortMapByNameProperty: (e3) => { + if (e3) return n2.sortMapByProperty(e3, "name"); + }, sortMapByProperty: (e3, t3) => { + if (e3) return e3.sort((e4, i3) => e4[Object.keys(e4)[0]][t3].toLowerCase().localeCompare(i3[Object.keys(i3)[0]][t3].toLowerCase())); + }, sortObjectPropertiesByKey: (e3, t3) => { + const i3 = {}; + return Object.keys(e3).sort(t3).forEach(function(t4) { + i3[t4] = e3[t4]; + }), i3; + }, sortByNumericDesc: function(e3, t3) { + return t3 ? n2.sortBy(e3, (e4) => -1 * e4[t3]) : e3; + }, sortTopLevelObjectPropsByAlpha: (e3) => { + const t3 = {}, i3 = Object.keys(e3).sort(); + return n2.each(i3, (i4) => { + t3[i4] = e3[i4]; + }), t3; + }, tryWrapObject: (e3, t3) => { + if (!t3) return e3; + const i3 = {}; + return i3[t3] = e3, i3; + }, traverseFind: function(e3, t3, i3) { + let n3 = e3; + for (; n3; ) { + const e4 = i3(n3); + if (e4) return e4; + n3 = t3(n3); } - _checkItemIsArchBaseObject(e3, t3, i3) { - this._checkItemIsArchType(e3, t3, "ArchBaseObject", i3); + }, deleteAllKeys: function(e3) { + n2.each(e3, (t3, i3) => { + delete e3[i3]; + }); + }, destroyContents: function(e3) { + if (!e3) return; + let t3; + if (n2.isArray(e3) ? t3 = e3 : e3 instanceof Map ? t3 = e3.values() : "object" == typeof e3 && (t3 = Object.values(e3)), t3) { + for (const e4 of t3) try { + n2.isFunction(e4.destroy) ? e4.destroy() : console.error("item is missing destroy method in destroyContents"); + } catch (e5) { + console.error(e5, "exception caught during destroyContents"); + } + if (n2.isArray(e3)) e3.length = 0; + else if (e3 instanceof Map) e3.clear(); + else for (const t4 of Object.keys(e3)) delete e3[t4]; } - _checkItemIsArchBaseObjectWithId(e3, t3, i3) { - this._checkItemIsArchType(e3, t3, "ArchBaseObjectWithId", i3); + }, addPromiseTimeout: function(e3, t3, i3) { + const n3 = new Promise((e4, n4) => setTimeout(() => n4(i3 || "timeout"), t3)); + return Promise.race([e3, n3]); + }, splitOn: function(e3, t3) { + return n2.isString(e3) && n2.isString(t3) ? e3.includes(t3) ? e3.split(t3) : [e3, ""] : null; + }, escapeRegExp: function(e3) { + return e3.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"); + } }), String.prototype.trimForDisplay = function(e3) { + return e3 || (e3 = 30), this.length > e3 ? this.substring(0, e3) + "\u2026" : this; + }, String.prototype.removeSuffixStartingWithString = function(e3) { + return this.substring(0, this.lastIndexOf(e3)); + }, Object.getPropertyDescriptor = function(e3, t3) { + let i3 = Object.getOwnPropertyDescriptor(e3, t3), n3 = Object.getPrototypeOf(e3); + for (; void 0 === i3 && null !== n3; ) i3 = Object.getOwnPropertyDescriptor(n3, t3), n3 = Object.getPrototypeOf(n3); + return i3; + }, String.prototype.contains = function(e3) { + const t3 = arguments.length > 1 ? arguments[1] : void 0; + return -1 !== this.indexOf.call(this, e3, t3); + }; + }, 79353(e2, t2, i2) { + const n2 = i2(92140), o = i2(81086), r = i2(65302), a = i2(22928).default, s = i2(14187); + function l(e3) { + Object.defineProperties(this, { canAttachProperty: { value: true, writable: true }, isUnavailable: { value: false, writable: true }, _isReadOnly: { value: e3.isReadOnly, writable: true }, properties: { value: {} }, realVariable: { value: e3 } }), this._cloneRealModel(); + } + o.extend(l), Object.defineProperties(l.prototype, { _cloneRealModel: { value: function() { + this.name = this.realVariable.name, n2.each(this.realVariable.model, function(e3, t3) { + this[t3] = e3; + }.bind(this)), this.__type = this.__type || this.realVariable.model.__type; + } }, addReader: { value: function(e3) { + return this.realVariable.addReader(e3); + } }, addWriter: { value: function(e3) { + return this.realVariable.addWriter(e3); + } }, attachProperty: { value: function(e3) { + this.canAttachProperty && (this.expressionText = this.name + "." + e3.expressionText, this.name += "." + e3.name, this.lastPropertyName = e3.name, this.id += "." + e3.id, this.isCollection = e3.type.isCollection, this.__type = e3.type.icwsType, this.typeIdentifier = e3.type.expressionType, this.description = e3.description, e3.isUnavailable && (this.isUnavailable = true), this.properties[e3.name.toLowerCase()] = e3, e3.type.isCollection && (this.canAttachProperty = false)); + } }, checkVersion: { value: function(e3) { + this.realVariable.checkVersion(e3), n2.each(this.properties, function(t3) { + t3.checkVersion(e3); + }); + } }, deleteItem: { value: function(e3) { + } }, deleteReference: { value: function(e3) { + return this.realVariable.deleteReference(e3); + } }, expandedKey: { get: function() { + return a.getExpandedKey(this.name, this.id, this.parent); + } }, getExpressionTextWithNameFallback: { value: function() { + return this.expressionText ? this.expressionText : this.name; + } }, hierarchicalParent: { get: function() { + return this._hierarchicalParent; + }, set: function(e3) { + this._hierarchicalParent = e3; + } }, iconGux: { get: function() { + return this.type.getIconGux(); + } }, isClone: { value: true }, isFlowVariable: { get: function() { + return this.realVariable.isFlowVariable; + } }, isSecure: { get: function() { + return this.realVariable.isSecure; + }, set: function() { + } }, isSystemOrFlowVariable: { get: function() { + return this.realVariable.isSystemOrFlowVariable; + } }, isSystemVariable: { get: function() { + return this.realVariable.isSystemVariable; + } }, isTaskVariable: { get: function() { + return this.realVariable.isTaskVariable; + } }, isReadOnly: { get: function() { + return this._isReadOnly; + }, set: function(e3) { + this._isReadOnly = e3; + } }, isStateVariable: { get: function() { + return this.realVariable.isStateVariable; + } }, isVariableClone: { get: function() { + return true; + } }, lowerName: { get: function() { + return this.name.toLocaleLowerCase(); + } }, lowerUnscopedName: { get: function() { + return this.unscopedName.toLocaleLowerCase(); + } }, removeUsage: { value: function(e3) { + return this.realVariable.removeUsage(e3); + } }, parent: { get: function() { + return this.realVariable.parent; + } }, parentFlow: { get: function() { + return this.realVariable.parentFlow; + } }, type: { get: function() { + return this.typeIdentifier ? r.resolveType(this.parentFlow, this.typeIdentifier) : r.getTypeFromIcwsType(this.parentFlow, this.__type, this.isCollection); + } }, unscopedName: { get: function() { + return s.getUnscopedName(this.name); + } }, 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; + }, 85839(e2, t2, i2) { + const { expressionTypeNames: n2 } = i2(80428), o = {}; + o[n2.boolean] = "false", o[n2.currency] = "0.0|USD", o[n2.decimal] = "0.0", o[n2.duration] = "P0D0H0M0S0F", o[n2.integer] = "0", o[n2.string] = "", e2.exports = { defaultTextMap: o, getDefaultText: function(e3) { + return o[e3]; + } }; + }, 26232(e2) { + function t2(e3, t3) { + return !!e3 && e3.type.getPropertyDefinition(t3); + } + e2.exports = function(e3, i2) { + for (let n2 = 1; n2 < e3.length; n2++) { + if (!i2.canAttachProperty) return null; + const o = t2(i2, e3[n2]); + if (!o) return null; + i2.attachProperty(o); } - _checkItemIsArchDefinitionAction(e3, t3, i3) { - this._checkItemIsArchType(e3, t3, "ArchDefinitionAction", i3); + return i2; + }; + }, 25015(e2, t2, i2) { + const n2 = i2(92140), o = i2(27099), r = i2(68899), { VersionItem: a } = i2(82485), s = i2(57141), l = n2.keys(r); + function u() { + } + Object.defineProperties(u.prototype, { canAppSupport: { value: function(e3) { + if ((e3 = e3 || s.one.zero) === this.currentVersion) return true; + const t3 = new a(); + t3.version = e3; + const i3 = new a(); + return i3.version = this.currentVersion, i3.isGreater(t3); + } }, canServerSupport: { value: function() { + return true; + } }, canSupportFeatures: { value: function(e3) { + return !e3 || !e3.length || !n2.find(e3, function(e4) { + return !!n2.contains(l, e4) && !o[e4]; + }); + } }, currentVersion: { get: function() { + return s.one.one; + } }, getVersionInfo: { value: function(e3) { + const t3 = new a(); + return e3.checkVersion(t3), t3; + } }, serverVersion: { value: "1.0" } }), e2.exports = new u(); + }, 68899(e2, t2, i2) { + const n2 = i2(57141); + e2.exports = { archExpressionBuilders: n2.one.one, archExpressionNoConfigError: n2.one.one, archFuncToAudioTTSWithLang: n2.one.one, archPhoneNumberPhase2: n2.one.one, archRenumber: n2.one.one, archShortcuts: n2.one.one }; + }, 57141(e2) { + e2.exports = { one: { zero: "1.0", one: "1.1" } }; + }, 82185(e2, t2, i2) { + function n2(e3) { + n2.baseConstructor.call(this), Object.defineProperties(this, { _model: { value: e3 }, id: { value: e3.id, enumerable: true }, name: { value: e3.name, enumerable: true }, label: { value: e3.name, enumerable: false } }); + } + i2(81086).extend(n2), e2.exports = n2; + }, 79747(e2, t2, i2) { + const n2 = i2(81086), o = i2(57606).default; + function r(e3) { + r.baseConstructor.call(this), Object.defineProperties(this, { _model: { writable: true }, _errorSchema: { writable: true }, _inputSchema: { writable: true }, _successSchema: { writable: true }, isFlowCachedVersion: { value: false, writable: true }, schemasNotLoaded: { value: true, writable: true } }), this.model = e3, (e3.errorSchema && e3.errorSchemaUri || e3.inputSchema && e3.inputSchemaUri || e3.successSchema && e3.successSchemaUri) && (this.schemasNotLoaded = false); + } + n2.extend(r), Object.defineProperties(r.prototype, { actionId: { get: function() { + return this.model.actionId; + }, set: function(e3) { + this.model.actionId = e3; + } }, id: { get: function() { + return this.actionId; + } }, category: { get: function() { + return this.model.category; + }, set: function(e3) { + this.model.category = e3; + } }, errorSchema: { get: function() { + return this._errorSchema; + } }, getProperty: { value: function(e3, t3, i3) { + return t3 ? this.successSchema?.getProperty(e3, i3) : this.inputSchema?.getProperty(e3, i3); + } }, inputSchema: { get: function() { + return this._inputSchema; + } }, successSchema: { get: function() { + return this._successSchema; + } }, model: { get: function() { + return this._model; + }, set: function(e3) { + this._model = e3, this._model.errorSchema && (this._errorSchema = new o(this._model.errorSchema, false)), this._model.inputSchema && (this._inputSchema = new o(this._model.inputSchema, true)), this._model.successSchema && (this._successSchema = new o(this._model.successSchema, false)); + } }, name: { get: function() { + return this.model.name; + }, set: function(e3) { + this.model.category = e3; + } }, label: { get: function() { + return this.model.name; + } }, result: { get: function() { + return this.model.result; + } } }), e2.exports = r; + }, 62778(e2, t2, i2) { + const { globalTypes: n2 } = i2(14394); + function o(e3, t3) { + o.baseConstructor.call(this, e3, t3); + } + i2(40894).extend(o), Object.defineProperties(o.prototype, { _determineType: { value: function() { + return n2.string; + } }, enumValues: { get: function() { + return this.model.type.enum; + } } }), e2.exports = o; + }, 40894(e2, t2, i2) { + const n2 = i2(92140), o = i2(81086), r = 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; + } + o.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 o2 = e3.items || e3.anyOf; + if (!o2) return this.hasArrayWithNoType = true, r.getGlobalTypeGroup().getType(s.string, t3); + if (o2.type || this._hasSchemaDefRef(o2)) return this._determineType(o2, t3, i3); + if (!n2.isArray(o2)) return null; + if (!o2[0]) return null; + const a2 = o2[0].type; + for (let e4 = 1; e4 < o2.length; e4++) if (o2[e4].type && "null" !== o2[e4].type && o2[e4].type !== a2) return null; + return this._determineType(o2[0], t3, i3); + } }, _hasSchemaDefRef: { value: function(e3) { + return n2.isString(e3.$ref) && e3.$ref.length; + } }, _getSchemaDefRef: { value: function(e3) { + 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] : (c.error(`No schema definition found for property ref ${e3.$ref}`), null); + } }, _determineType: { value: function(e3, t3, i3, o2) { + if (e3 = e3 || this.model, this._hasSchemaDefRef(e3)) { + const t4 = this._getSchemaDefRef(e3); + t4 && (e3 = t4); } - _checkItemIsArchFilterObject(e3, t3, i3) { - this._checkItemIsArchType(e3, t3, "ArchFilterObject", i3); + const c2 = r.getGlobalTypeGroup(); + if (!i3 && e3.archDataTypeId) { + t3 = t3 || "array" === e3.type; + const i4 = c2.getType(e3.archDataTypeId, t3); + if (i4) return i4; } - _checkItemIsArchFlowInfo(e3, t3, i3) { - this._checkItemIsArchType(e3, t3, "ArchFlowInfo", i3); + 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, d2 = t4); } - _checkItemIsArchTraverseContext(e3, t3, i3) { - this._checkItemIsArchType(e3, t3, "ArchTraverseContext", i3); + if (n2.isArray(e3.type)) { + const i4 = n2.without(e3.type, "null"); + 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 = c2.getType(s.string, t3); + break; + case l.boolean: + p = c2.getType(s.boolean, t3); + break; + case l.integer: + p = c2.getType(s.integer, t3); + break; + case l.number: + p = c2.getType(s.decimal, t3); + break; + case l.object: + break; + case l.array: + p = this._determineTypeFromArray(e3, true, i3); + break; + case l.date: + p = c2.getType(s.date, t3); } - _checkItemIsArchType(e3, t3, i3, n3) { - if (r2.default.isUndefined(t3) || null === t3) { - if (n3) return; - } else if (r2.default.isObject(t3) && t3[`is${i3}`]) return; - c.default.itemInvalid(e3, `the value is not a valid ${i3} instance.`, void 0, i3); + return o2 && p?.isAvailableForFlowType(o2) && this._applyFallbackTypeProperties(d2), p; + } }, setFallbackType: { value: function(e3) { + return this._determineType(void 0, false, true, e3); + } }, additionalInfoSection: { get: function() { + return this.model.additionalInfoSection; + } }, staticMetaData: { get: function() { + return this.model.staticMetaData; + } }, description: { get: function() { + return n2.isString(this.fallbackTypeDescription) ? n2.isString(this.model.description) ? this.model.description + " " + this.fallbackTypeDescription : this.fallbackTypeDescription : this.model.description; + }, set: function(e3) { + this.model.description = e3; + } }, defaultValue: { get: function() { + if (n2.isArray(this.model.default)) { + const e3 = []; + return n2.each(this.model.default, (t3) => { + e3.push(n2.isNullOrUndefined(t3) ? t3 : t3.toString()); + }), e3; } - _checkItemIsArchTraverseSettings(e3, t3, i3) { - this._checkItemIsArchType(e3, t3, "ArchTraverseSettings", i3); + return void 0 !== this.model.default && null !== this.model.default ? this.model.default.toString() : void 0; + } }, examples: { get: function() { + return this.model.examples; + } }, getConfiguration: { value: function() { + const e3 = {}; + return n2.each(this.properties, function(t3) { + e3[t3.name] = t3.getConfiguration(); + }), { type: this.model.type, description: this.model.description }; + } }, id: { get: function() { + return this.model.id; + }, set: function(e3) { + this.model.id = e3; + } }, jsonType: { get: function() { + return this.model.type; + } }, minimum: { get: function() { + return this.model.minimum; + } }, minLength: { get: function() { + return this.model.minLength; + } }, maximum: { get: function() { + return this.model.maximum; + } }, maxLength: { get: function() { + return this.model.maxLength; + } }, name: { get: function() { + return this.model.name; + }, set: function(e3) { + this.model.name = e3; + } }, required: { get: function() { + return this.model.required; + }, set: function(e3) { + this.model.required = e3; + } }, title: { get: function() { + return this.model.title; + } } }), e2.exports = d; + }, 41330(e2, t2, i2) { + const n2 = i2(92140); + void 0 === global.IS_BUILD && (global.IS_BUILD = true), void 0 === global.IS_SCRIPTING && (global.IS_SCRIPTING = true), void 0 === global.DEBUG && (global.DEBUG = false), void 0 === global.VERBOSE && (global.VERBOSE = false), void 0 === global.TEST_MODE && (global.TEST_MODE = false), void 0 === global.BUILD_INFO_BUILD_NUMBER && (global.BUILD_INFO_BUILD_NUMBER = "0.0.0"); + const o = "20.0.0"; + let r = false; + if (global && global.process && global.process.versions && n2.isString(global.process.versions.node)) { + const e3 = global.process.versions.node.split("."); + if (e3.length >= 2) { + const t3 = parseInt(e3[0], 10), i3 = parseInt(e3[1], 10); + if (t3 < 20 || 20 === t3 && i3 < 0) throw "Error! Architect Scripting requires that it run in Node version '" + o + "' or higher.\nCurrent Node runtime version detected: '" + global.process.versions.node + "'\nPlease update Node and try again. Thanks for playing.\nNow exiting."; + (t3 < 20 || 20 === t3 && i3 < 5) && console.warn("Warning! Architect Scripting recommends that it run in Node version '20.5.0' or higher.\nCurrent Node runtime version detected: '" + global.process.versions.node + "'\nPlease update your Node version."), console.log("Architect Scripting running under Node version '" + global.process.versions.node + "'"), r = true; } - _checkItemIsUndefinedOrNull(e3, t3) { - this.isUndefinedOrNull(t3) || c.default.itemInvalid(e3, `the value '${t3}' is not valid. It must be either null or undefined.`, void 0, void 0); + } + r || console.log("Architect Scripting is running in an unsupported environment. Architect Scripting is supported under Node version '" + o + "' or higher. Running in an unsupported environment may result in unpredictable behavior."), i2(61347); + const a = i2(44254).default, { setDefaultRequestModel: s } = i2(50712); + s(a), global.TEST_MODE || [].push(i2(18266)), i2(5430).initializeExpressions(); + }, 34707(e2, t2, i2) { + "use strict"; + i2.r(t2), i2.d(t2, { default: () => g }); + const n2 = { "Amazon Silk": "amazon_silk", "Android Browser": "android", Bada: "bada", BlackBerry: "blackberry", Chrome: "chrome", Chromium: "chromium", Electron: "electron", Epiphany: "epiphany", Firefox: "firefox", Focus: "focus", Generic: "generic", "Google Search": "google_search", Googlebot: "googlebot", "Internet Explorer": "ie", "K-Meleon": "k_meleon", Maxthon: "maxthon", "Microsoft Edge": "edge", "MZ Browser": "mz", "NAVER Whale Browser": "naver", Opera: "opera", "Opera Coast": "opera_coast", PhantomJS: "phantomjs", Puffin: "puffin", QupZilla: "qupzilla", QQ: "qq", QQLite: "qqlite", Safari: "safari", Sailfish: "sailfish", "Samsung Internet for Android": "samsung_internet", SeaMonkey: "seamonkey", Sleipnir: "sleipnir", Swing: "swing", Tizen: "tizen", "UC Browser": "uc", Vivaldi: "vivaldi", "WebOS Browser": "webos", WeChat: "wechat", "Yandex Browser": "yandex", Roku: "roku" }, o = { amazon_silk: "Amazon Silk", android: "Android Browser", bada: "Bada", blackberry: "BlackBerry", chrome: "Chrome", chromium: "Chromium", electron: "Electron", epiphany: "Epiphany", firefox: "Firefox", focus: "Focus", generic: "Generic", googlebot: "Googlebot", google_search: "Google Search", ie: "Internet Explorer", k_meleon: "K-Meleon", maxthon: "Maxthon", edge: "Microsoft Edge", mz: "MZ Browser", naver: "NAVER Whale Browser", opera: "Opera", opera_coast: "Opera Coast", phantomjs: "PhantomJS", puffin: "Puffin", qupzilla: "QupZilla", qq: "QQ Browser", qqlite: "QQ Browser Lite", safari: "Safari", sailfish: "Sailfish", samsung_internet: "Samsung Internet for Android", seamonkey: "SeaMonkey", sleipnir: "Sleipnir", swing: "Swing", tizen: "Tizen", uc: "UC Browser", vivaldi: "Vivaldi", webos: "WebOS Browser", wechat: "WeChat", yandex: "Yandex Browser" }, r = { tablet: "tablet", mobile: "mobile", desktop: "desktop", tv: "tv" }, a = { WindowsPhone: "Windows Phone", Windows: "Windows", MacOS: "macOS", iOS: "iOS", Android: "Android", WebOS: "WebOS", BlackBerry: "BlackBerry", Bada: "Bada", Tizen: "Tizen", Linux: "Linux", ChromeOS: "Chrome OS", PlayStation4: "PlayStation 4", Roku: "Roku" }, s = { EdgeHTML: "EdgeHTML", Blink: "Blink", Trident: "Trident", Presto: "Presto", Gecko: "Gecko", WebKit: "WebKit" }; + class l { + static getFirstMatch(e3, t3) { + const i3 = t3.match(e3); + return i3 && i3.length > 0 && i3[1] || ""; } - _checkItemIsType(e3, t3, i3, n3, r3, o2) { - 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); + static getSecondMatch(e3, t3) { + const i3 = t3.match(e3); + return i3 && i3.length > 1 && i3[2] || ""; } - _checkItemIsValidFunction(e3, t3, i3) { - if (!i3 || null != t3) return this._checkItem(e3, !r2.default.isFunction(t3), "the value is not a valid JavaScript function."); + static matchAndReturnConst(e3, t3, i3) { + if (e3.test(t3)) return i3; } - _checkItemIsValidJsonObject(e3, t3, i3) { - return this._checkItemIsType(e3, t3, this.isValidJsonObject, i3, "object", "an object value must a JSON object and not be undefined or null."); + static getWindowsVersionName(e3) { + switch (e3) { + case "NT": + return "NT"; + case "XP": + case "NT 5.1": + return "XP"; + case "NT 5.0": + return "2000"; + case "NT 5.2": + return "2003"; + case "NT 6.0": + return "Vista"; + case "NT 6.1": + return "7"; + case "NT 6.2": + return "8"; + case "NT 6.3": + return "8.1"; + case "NT 10.0": + return "10"; + default: + return; + } } - _checkItemIsValidLiteralBool(e3, t3, i3) { - return this._checkItemIsType(e3, t3, this.isValidBool, i3, "boolean", "a literal boolean value must a JavaScript boolean and not be undefined or null."); + static getMacOSVersionName(e3) { + const t3 = e3.split(".").splice(0, 2).map((e4) => parseInt(e4, 10) || 0); + if (t3.push(0), 10 === t3[0]) switch (t3[1]) { + case 5: + return "Leopard"; + case 6: + return "Snow Leopard"; + case 7: + return "Lion"; + case 8: + return "Mountain Lion"; + case 9: + return "Mavericks"; + case 10: + return "Yosemite"; + case 11: + return "El Capitan"; + case 12: + return "Sierra"; + case 13: + return "High Sierra"; + case 14: + return "Mojave"; + case 15: + return "Catalina"; + default: + return; + } } - _checkItemIsValidLiteralDateTime(e3, t3, i3) { - return this._checkItemIsType(e3, t3, this.isValidDateTime, i3, "dateTime", "a literal DateTime parameter must be a JavaScript Date and not be undefined or null."); + static getAndroidVersionName(e3) { + const t3 = e3.split(".").splice(0, 2).map((e4) => parseInt(e4, 10) || 0); + if (t3.push(0), !(1 === t3[0] && t3[1] < 5)) return 1 === t3[0] && t3[1] < 6 ? "Cupcake" : 1 === t3[0] && t3[1] >= 6 ? "Donut" : 2 === t3[0] && t3[1] < 2 ? "Eclair" : 2 === t3[0] && 2 === t3[1] ? "Froyo" : 2 === t3[0] && t3[1] > 2 ? "Gingerbread" : 3 === t3[0] ? "Honeycomb" : 4 === t3[0] && t3[1] < 1 ? "Ice Cream Sandwich" : 4 === t3[0] && t3[1] < 4 ? "Jelly Bean" : 4 === t3[0] && t3[1] >= 4 ? "KitKat" : 5 === t3[0] ? "Lollipop" : 6 === t3[0] ? "Marshmallow" : 7 === t3[0] ? "Nougat" : 8 === t3[0] ? "Oreo" : 9 === t3[0] ? "Pie" : void 0; } - _checkItemIsValidLiteralDecimal(e3, t3, i3) { - if (null == t3 && i3) return; - const n3 = parseFloat(String(t3)); - n3.toString().indexOf("e") > 0 && this._itemIsInvalid(e3, `Architect Scripting does not support decimal values that, when converted to a float, contain e notation. Value was '${n3}'`), this._checkItem(e3, t3 !== n3, `the specified value of '${t3}' is either not a decimal type or is not a decimal value`); + static getVersionPrecision(e3) { + return e3.split(".").length; } - _checkItemIsValidLiteralInt(e3, t3, i3, n3) { - if (this._checkItemIsType(e3, t3, this.isValidInt, i3, "integer", "a literal integer value must a JavaScript number with an integral value and not be NaN, undefined, null."), n3 && r2.default.isActualNumber(t3)) { - const i4 = t3; - this._checkItem(e3, i4 < 0, `the value '${t3}' cannot be used because it is less than 0.`); + static compareVersions(e3, t3, i3 = false) { + const n3 = l.getVersionPrecision(e3), o2 = l.getVersionPrecision(t3); + let r2 = Math.max(n3, o2), a2 = 0; + const s2 = l.map([e3, t3], (e4) => { + const t4 = r2 - l.getVersionPrecision(e4), i4 = e4 + new Array(t4 + 1).join(".0"); + return l.map(i4.split("."), (e5) => new Array(20 - e5.length).join("0") + e5).reverse(); + }); + for (i3 && (a2 = r2 - Math.min(n3, o2)), r2 -= 1; r2 >= a2; ) { + if (s2[0][r2] > s2[1][r2]) return 1; + if (s2[0][r2] === s2[1][r2]) { + if (r2 === a2) return 0; + r2 -= 1; + } else if (s2[0][r2] < s2[1][r2]) return -1; } } - _checkItemIsValidLiteralIntInRange(e3, t3, i3, n3) { - this._checkItemIsType(e3, t3, this.isValidInt, false, "integer", "a literal integer value must a JavaScript number with an integral value and not be NaN, undefined, null."); - const r3 = t3; - this._checkItem(e3, r3 < i3 || r3 >= n3, "invalid integer value of " + t3 + ". It must be >= " + i3 + " and < " + n3 + "."); + static map(e3, t3) { + const i3 = []; + let n3; + if (Array.prototype.map) return Array.prototype.map.call(e3, t3); + for (n3 = 0; n3 < e3.length; n3 += 1) i3.push(t3(e3[n3])); + return i3; } - _checkItemIsValidLiteralString(e3, t3, i3, n3, o2) { - this._checkItemIsType(e3, t3, this.isValidString, i3, "string", "string values must not be undefined, null and must be a JavaScript string."); - const a2 = t3; - r2.default.isActualNumber(n3) && this._checkItem(e3, a2.length > n3, `the value '${t3}' exceeds the maximum length allowed of ${n3} characters.`), o2 && this._checkItem(e3, a2.trim() !== a2, `the value '${t3}' cannot be used because it has leading or trailing whitespace.`); + static find(e3, t3) { + let i3, n3; + if (Array.prototype.find) return Array.prototype.find.call(e3, t3); + for (i3 = 0, n3 = e3.length; i3 < n3; i3 += 1) { + const n4 = e3[i3]; + if (t3(n4, i3)) return n4; + } } - _checkItemIsValidLiteralStringOrStringArray(e3, t3, i3) { - if (r2.default.isArray(t3)) { - let n3 = 0; - return void r2.default.each(t3, (t4) => { - this._checkItemIsType(e3, t4, this.isValidString, i3, "string", `index: ${n3} - string values must not be undefined, null and must be a JavaScript string or array.`), n3++; + static assign(e3, ...t3) { + const i3 = e3; + let n3, o2; + if (Object.assign) return Object.assign(e3, ...t3); + for (n3 = 0, o2 = t3.length; n3 < o2; n3 += 1) { + const e4 = t3[n3]; + "object" == typeof e4 && null !== e4 && Object.keys(e4).forEach((t4) => { + i3[t4] = e4[t4]; }); } - return this._checkItemIsType(e3, t3, this.isValidString, i3, "string", "string values must not be undefined, null and must be a JavaScript string or array."); - } - _checkItemIsValidLiteralStringEnum(e3, t3, i3, n3, o2) { - const a2 = []; - r2.default.each(i3, function(e4) { - a2.push("'" + e4 + "'"); - }); - 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 c2 = t3, d2 = o2 ? c2.toLowerCase() : c2; - r2.default.find(i3, function(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) { - return this._checkItemIsType(e3, t3, this.isValidStringOrArchVariableString, i3, "string or ArchVariableString", "a string value must not be undefined, null and must be a JavaScript string or must be an ArchBaseVariable instance."); + return e3; } - _checkItemUndefined(e3, t3) { - return this._checkItem(e3, void 0 === t3, "there is no value specified"); + static getBrowserAlias(e3) { + return n2[e3]; } - _checkItemUndefinedOrNull(e3, t3) { - return this._checkItem(e3, null == t3, "there is no value specified"); + static getBrowserTypeByAlias(e3) { + return o[e3] || ""; } - _createLogStrFromParts(e3) { - return "[" + e3.join(", ") + "]"; - } - _ensureCanSetTrackingIds(e3, t3, i3) { - this._ensureSessionIsConnected(e3, t3), this._checkItem(e3, !this._getCanSetTrackingIds(e3, t3), "the ability to set tracking IDs on objects is not available in this organization."), void 0 !== i3 && this._checkItemIsValidLiteralIntInRange(e3, i3, l.default.minTrackingId, l.default.maxTrackingId); - } - _ensureSessionIsConnected(e3, t3) { - t3 && t3.isArchSession && t3.isConnected || this._itemIsInvalid(e3, "invalid to call when the Architect Scripting session is not connected."); - } - _ensureTtsInfoAvailable(e3, t3) { - this._ensureSessionIsConnected(e3, t3); - const i3 = t3.orgInfo; - t3 && i3 && i3._getAreTtsEnginesAndVoicesAvailable() || this._itemIsInvalid(e3, `text to speech engines and voices are not available for the organization ${null == i3 ? void 0 : i3.logStr}.`); - } - _getDtmfForCoreDigit(e3, t3, i3) { - switch (t3) { - case d.Zero: - return "0"; - case d.One: - return "1"; - case d.Two: - return "2"; - case d.Three: - return "3"; - case d.Four: - return "4"; - case d.Five: - return "5"; - case d.Six: - return "6"; - case d.Seven: - return "7"; - case d.Eight: - return "8"; - case d.Nine: - return "9"; - case d.Pound: - return "#"; - case d.Star: - return "*"; - default: - if (i3) return; - this._itemIsInvalid(e3, "Invalid core Digit value"); - } - } - _getCoreDigitForDtmf(e3, t3, i3) { - switch (t3) { - case 0: - case "0": - return d.Zero; - case 1: - case "1": - return d.One; - case 2: - case "2": - return d.Two; - case 3: - case "3": - return d.Three; - case 4: - case "4": - return d.Four; - case 5: - case "5": - return d.Five; - case 6: - case "6": - return d.Six; - case 7: - case "7": - return d.Seven; - case 8: - case "8": - return d.Eight; - case 9: - case "9": - return d.Nine; - case "*": - return d.Star; - case "#": - 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."); - } - } - _traverse(...e3) { - var t3; - null === (t3 = this.logItemVerboseNode) || void 0 === t3 || t3.call(this, this._infoMethod("_traverse"), "_traverse being call on non ArchBaseCoreObject instance. :(", this.logStr, this.displayTypeName); - } - _getCanSetTrackingIds(e3, t3) { - return this._ensureSessionIsConnected(e3, t3), o.isFeatureAvailable(u.default.yamlTrackingIdFeature); - } - get displayTypeName() { - return this._logErrorInternalAndThrow("Architect Scripting object does not override ArchBaseObject.displayTypeName property and it should. Constructor name: " + this.constructor.name), ""; - } - isValidBool(e3, t3) { - return !(null != e3 || !t3) || r2.default.isBoolean(e3); - } - isValidDateTime(e3, t3) { - return !(null != e3 || !t3) || r2.default.isDate(e3); - } - isValidInt(e3, t3) { - return null == e3 ? !!t3 : !!r2.default.isActualNumber(e3) && e3 === parseInt(String(e3), 10); - } - isValidJsonObject(e3, t3) { - return !(null != e3 || !t3) || r2.default.isObject(e3); - } - isUndefinedOrNull(e3) { - return r2.default.isNull(e3) || r2.default.isUndefined(e3); - } - isValidString(e3, t3) { - return !(null != e3 || !t3) || r2.default.isString(e3); - } - isValidStringOrArchVariableString(e3, t3) { - return !(null != e3 || !t3) || r2.default.isString(e3) || !!e3 && "object" == typeof e3 && !!e3.isArchVariableString; + } + 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) { + const t3 = { name: "Opera" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/opr\/|opios/i], describe(e3) { + const t3 = { name: "Opera" }, i3 = l.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/SamsungBrowser/i], describe(e3) { + const t3 = { name: "Samsung Internet for Android" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/Whale/i], describe(e3) { + const t3 = { name: "NAVER Whale Browser" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/MZBrowser/i], describe(e3) { + const t3 = { name: "MZ Browser" }, i3 = l.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/focus/i], describe(e3) { + const t3 = { name: "Focus" }, i3 = l.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/swing/i], describe(e3) { + const t3 = { name: "Swing" }, i3 = l.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/coast/i], describe(e3) { + const t3 = { name: "Opera Coast" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/opt\/\d+(?:.?_?\d+)+/i], describe(e3) { + const t3 = { name: "Opera Touch" }, i3 = l.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/yabrowser/i], describe(e3) { + const t3 = { name: "Yandex Browser" }, i3 = l.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/ucbrowser/i], describe(e3) { + const t3 = { name: "UC Browser" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/Maxthon|mxios/i], describe(e3) { + const t3 = { name: "Maxthon" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/epiphany/i], describe(e3) { + const t3 = { name: "Epiphany" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/puffin/i], describe(e3) { + const t3 = { name: "Puffin" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/sleipnir/i], describe(e3) { + const t3 = { name: "Sleipnir" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/k-meleon/i], describe(e3) { + const t3 = { name: "K-Meleon" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/micromessenger/i], describe(e3) { + const t3 = { name: "WeChat" }, i3 = l.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/qqbrowser/i], describe(e3) { + const t3 = { name: /qqbrowserlite/i.test(e3) ? "QQ Browser Lite" : "QQ Browser" }, i3 = l.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/msie|trident/i], describe(e3) { + const t3 = { name: "Internet Explorer" }, i3 = l.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/\sedg\//i], describe(e3) { + const t3 = { name: "Microsoft Edge" }, i3 = l.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/edg([ea]|ios)/i], describe(e3) { + const t3 = { name: "Microsoft Edge" }, i3 = l.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/vivaldi/i], describe(e3) { + const t3 = { name: "Vivaldi" }, i3 = l.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/seamonkey/i], describe(e3) { + const t3 = { name: "SeaMonkey" }, i3 = l.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/sailfish/i], describe(e3) { + const t3 = { name: "Sailfish" }, i3 = l.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/silk/i], describe(e3) { + const t3 = { name: "Amazon Silk" }, i3 = l.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/phantom/i], describe(e3) { + const t3 = { name: "PhantomJS" }, i3 = l.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/slimerjs/i], describe(e3) { + const t3 = { name: "SlimerJS" }, i3 = l.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/blackberry|\bbb\d+/i, /rim\stablet/i], describe(e3) { + const t3 = { name: "BlackBerry" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/(web|hpw)[o0]s/i], describe(e3) { + const t3 = { name: "WebOS Browser" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/bada/i], describe(e3) { + const t3 = { name: "Bada" }, i3 = l.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/tizen/i], describe(e3) { + const t3 = { name: "Tizen" }, i3 = l.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/qupzilla/i], describe(e3) { + const t3 = { name: "QupZilla" }, i3 = l.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/firefox|iceweasel|fxios/i], describe(e3) { + const t3 = { name: "Firefox" }, i3 = l.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/electron/i], describe(e3) { + const t3 = { name: "Electron" }, i3 = l.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/MiuiBrowser/i], describe(e3) { + const t3 = { name: "Miui" }, i3 = l.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/chromium/i], describe(e3) { + const t3 = { name: "Chromium" }, i3 = l.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/chrome|crios|crmo/i], describe(e3) { + const t3 = { name: "Chrome" }, i3 = l.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/GSA/i], describe(e3) { + const t3 = { name: "Google Search" }, i3 = l.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test(e3) { + const t3 = !e3.test(/like android/i), i3 = e3.test(/android/i); + return t3 && i3; + }, describe(e3) { + const t3 = { name: "Android Browser" }, i3 = l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/playstation 4/i], describe(e3) { + const t3 = { name: "PlayStation 4" }, i3 = l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/safari|applewebkit/i], describe(e3) { + const t3 = { name: "Safari" }, i3 = l.getFirstMatch(u, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/.*/i], describe(e3) { + const t3 = -1 !== e3.search("\\(") ? /^(.*)\/(.*)[ \t]\((.*)/ : /^(.*)\/(.*) /; + return { name: l.getFirstMatch(t3, e3), version: l.getSecondMatch(t3, 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) { + const t3 = l.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, e3); + return { name: a.WindowsPhone, version: t3 }; + } }, { test: [/windows /i], describe(e3) { + const t3 = l.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, e3), i3 = l.getWindowsVersionName(t3); + return { name: a.Windows, version: t3, versionName: i3 }; + } }, { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe(e3) { + const t3 = { name: a.iOS }, i3 = l.getSecondMatch(/(Version\/)(\d[\d.]+)/, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/macintosh/i], describe(e3) { + const t3 = l.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, e3).replace(/[_\s]/g, "."), i3 = l.getMacOSVersionName(t3), n3 = { name: a.MacOS, version: t3 }; + return i3 && (n3.versionName = i3), n3; + } }, { test: [/(ipod|iphone|ipad)/i], describe(e3) { + const t3 = l.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, e3).replace(/[_\s]/g, "."); + return { name: a.iOS, version: t3 }; + } }, { test(e3) { + const t3 = !e3.test(/like android/i), i3 = e3.test(/android/i); + return t3 && i3; + }, describe(e3) { + const t3 = l.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, e3), i3 = l.getAndroidVersionName(t3), n3 = { name: a.Android, version: t3 }; + return i3 && (n3.versionName = i3), n3; + } }, { test: [/(web|hpw)[o0]s/i], describe(e3) { + const t3 = l.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, e3), i3 = { name: a.WebOS }; + return t3 && t3.length && (i3.version = t3), i3; + } }, { test: [/blackberry|\bbb\d+/i, /rim\stablet/i], describe(e3) { + const t3 = l.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, e3) || l.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, e3) || l.getFirstMatch(/\bbb(\d+)/i, e3); + return { name: a.BlackBerry, version: t3 }; + } }, { test: [/bada/i], describe(e3) { + const t3 = l.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, e3); + return { name: a.Bada, version: t3 }; + } }, { test: [/tizen/i], describe(e3) { + const t3 = l.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, e3); + return { name: a.Tizen, version: t3 }; + } }, { test: [/linux/i], describe: () => ({ name: a.Linux }) }, { test: [/CrOS/], describe: () => ({ name: a.ChromeOS }) }, { test: [/PlayStation 4/], describe(e3) { + const t3 = l.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, e3); + return { name: a.PlayStation4, version: t3 }; + } }], _ = [{ test: [/googlebot/i], describe: () => ({ type: "bot", vendor: "Google" }) }, { test: [/huawei/i], describe(e3) { + const t3 = l.getFirstMatch(/(can-l01)/i, e3) && "Nova", i3 = { type: r.mobile, vendor: "Huawei" }; + return t3 && (i3.model = t3), i3; + } }, { test: [/nexus\s*(?:7|8|9|10).*/i], describe: () => ({ type: r.tablet, vendor: "Nexus" }) }, { test: [/ipad/i], describe: () => ({ type: r.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe: () => ({ type: r.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/kftt build/i], describe: () => ({ type: r.tablet, vendor: "Amazon", model: "Kindle Fire HD 7" }) }, { test: [/silk/i], describe: () => ({ type: r.tablet, vendor: "Amazon" }) }, { test: [/tablet(?! pc)/i], describe: () => ({ type: r.tablet }) }, { test(e3) { + const t3 = e3.test(/ipod|iphone/i), i3 = e3.test(/like (ipod|iphone)/i); + return t3 && !i3; + }, describe(e3) { + const t3 = l.getFirstMatch(/(ipod|iphone)/i, e3); + return { type: r.mobile, vendor: "Apple", model: t3 }; + } }, { test: [/nexus\s*[0-6].*/i, /galaxy nexus/i], describe: () => ({ type: r.mobile, vendor: "Nexus" }) }, { test: [/[^-]mobi/i], describe: () => ({ type: r.mobile }) }, { test: (e3) => "blackberry" === e3.getBrowserName(true), describe: () => ({ type: r.mobile, vendor: "BlackBerry" }) }, { test: (e3) => "bada" === e3.getBrowserName(true), describe: () => ({ type: r.mobile }) }, { test: (e3) => "windows phone" === e3.getBrowserName(), describe: () => ({ type: r.mobile, vendor: "Microsoft" }) }, { test(e3) { + const t3 = Number(String(e3.getOSVersion()).split(".")[0]); + return "android" === e3.getOSName(true) && t3 >= 3; + }, describe: () => ({ type: r.tablet }) }, { test: (e3) => "android" === e3.getOSName(true), describe: () => ({ type: r.mobile }) }, { test: (e3) => "macos" === e3.getOSName(true), describe: () => ({ type: r.desktop, vendor: "Apple" }) }, { test: (e3) => "windows" === e3.getOSName(true), describe: () => ({ type: r.desktop }) }, { test: (e3) => "linux" === e3.getOSName(true), describe: () => ({ type: r.desktop }) }, { test: (e3) => "playstation 4" === e3.getOSName(true), describe: () => ({ type: r.tv }) }, { test: (e3) => "roku" === e3.getOSName(true), describe: () => ({ type: r.tv }) }], h = [{ test: (e3) => "microsoft edge" === e3.getBrowserName(true), describe(e3) { + if (/\sedg\//i.test(e3)) return { name: s.Blink }; + const t3 = l.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e3); + return { name: s.EdgeHTML, version: t3 }; + } }, { test: [/trident/i], describe(e3) { + const t3 = { name: s.Trident }, i3 = l.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: (e3) => e3.test(/presto/i), describe(e3) { + const t3 = { name: s.Presto }, i3 = l.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test(e3) { + const t3 = e3.test(/gecko/i), i3 = e3.test(/like gecko/i); + return t3 && !i3; + }, describe(e3) { + const t3 = { name: s.Gecko }, i3 = l.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }, { test: [/(apple)?webkit\/537\.36/i], describe: () => ({ name: s.Blink }) }, { test: [/(apple)?webkit/i], describe(e3) { + const t3 = { name: s.WebKit }, i3 = l.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e3); + return i3 && (t3.version = i3), t3; + } }], m = class { + constructor(e3, t3 = false) { + if (null == e3 || "" === e3) throw new Error("UserAgent parameter can't be empty"); + this._ua = e3, this.parsedResult = {}, true !== t3 && this.parse(); } - _infoCalledObject(e3, t3) { - return { title: "Called Object", methodName: t3, label: e3.displayTypeName }; + getUA() { + return this._ua; } - _infoObject(e3) { - return { title: "Called Object", label: e3.displayTypeName }; + test(e3) { + return e3.test(this._ua); } - _infoMethod(e3) { - return { title: "Method", methodName: e3 }; + parseBrowser() { + this.parsedResult.browser = {}; + 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"); + }); + return e3 && (this.parsedResult.browser = e3.describe(this.getUA())), this.parsedResult.browser; } - _infoParmCtor(e3) { - return { title: "Parameter", methodName: "Constructor", label: e3, isCtorItem: true }; + getBrowser() { + return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser(); } - _infoParm(e3, t3) { - return { title: "Parameter", methodName: t3, label: e3 }; + getBrowserName(e3) { + return e3 ? String(this.getBrowser().name).toLowerCase() || "" : this.getBrowser().name || ""; } - _infoPropGet(e3) { - return { title: "Property", methodName: e3 + "(get)", label: e3 }; + getBrowserVersion() { + return this.getBrowser().version; } - _infoPropSet(e3, t3) { - return { title: "Parameter", methodName: t3 + "(set)", label: e3 }; + getOS() { + return this.parsedResult.os ? this.parsedResult.os : this.parseOS(); } - _infoVal(e3, t3) { - return { title: "Value", methodName: t3, label: e3 }; + parseOS() { + this.parsedResult.os = {}; + const e3 = l.find(p, (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"); + }); + return e3 && (this.parsedResult.os = e3.describe(this.getUA())), this.parsedResult.os; } - _itemIsInvalid(e3, t3, i3) { - this._checkItem(e3, true, t3, i3); + getOSName(e3) { + const { name: t3 } = this.getOS(); + return e3 ? String(t3).toLowerCase() || "" : t3 || ""; } - _logErrorInternal(e3) { - this.logError(`INTERNAL ERROR - ${e3 || ""}`); + getOSVersion() { + return this.getOS().version; } - _logErrorInternalAndThrow(e3) { - this.logErrorAndThrow(`INTERNAL ERROR - ${e3 || ""}`); + getPlatform() { + return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform(); } - _throwNotImplementedFunction(e3) { - this.logErrorAndThrow("the function '" + e3 + "' is not implemented."); + getPlatformType(e3 = false) { + const { type: t3 } = this.getPlatform(); + return e3 ? String(t3).toLowerCase() || "" : t3 || ""; } - _throwNotImplementedPropertyGet(e3) { - this.logErrorAndThrow("the getter for the property '" + e3 + "' is not implemented."); + parsePlatform() { + this.parsedResult.platform = {}; + const e3 = l.find(_, (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"); + }); + return e3 && (this.parsedResult.platform = e3.describe(this.getUA())), this.parsedResult.platform; } - _throwNotImplementedPropertySet(e3) { - this.logErrorAndThrow("the setter for the property '" + e3 + "' is not implemented."); + getEngine() { + return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine(); } - getLogStrForItemInfo(e3) { - const t3 = []; - return this._appendLogStrName(t3, e3.name), this._appendLogStrId(t3, e3.id), this._createLogStrFromParts(t3); + getEngineName(e3) { + return e3 ? String(this.getEngine().name).toLowerCase() || "" : this.getEngine().name || ""; } - get logStr() { - 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.>"; + parseEngine() { + this.parsedResult.engine = {}; + const e3 = l.find(h, (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"); + }); + return e3 && (this.parsedResult.engine = e3.describe(this.getUA())), this.parsedResult.engine; } - get logStrTypeOnly() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + parse() { + return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this; } - get isArchBaseObject() { - return true; + getResult() { + return l.assign({}, this.parsedResult); } - logError(e3) { - if (!this._amLoggingErrorOrWarning) try { - this._amLoggingErrorOrWarning = true, c.default.itemError(this._infoObject(this), e3, this.logStr, this.displayTypeName); - } finally { - this._amLoggingErrorOrWarning = false; + satisfies(e3) { + const t3 = {}; + let i3 = 0; + const n3 = {}; + let o2 = 0; + if (Object.keys(e3).forEach((r2) => { + const a2 = e3[r2]; + "string" == typeof a2 ? (n3[r2] = a2, o2 += 1) : "object" == typeof a2 && (t3[r2] = a2, i3 += 1); + }), i3 > 0) { + const e4 = Object.keys(t3), i4 = l.find(e4, (e5) => this.isOS(e5)); + if (i4) { + const e5 = this.satisfies(t3[i4]); + if (void 0 !== e5) return e5; + } + const n4 = l.find(e4, (e5) => this.isPlatform(e5)); + if (n4) { + const e5 = this.satisfies(t3[n4]); + if (void 0 !== e5) return e5; + } } - } - 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.", c.default.itemError(e3, n3, this.logStr, this.displayTypeName); - } finally { - this._amLoggingErrorOrWarning = false; + if (o2 > 0) { + const e4 = Object.keys(n3), t4 = l.find(e4, (e5) => this.isBrowser(e5, true)); + if (void 0 !== t4) return this.compareVersion(n3[t4]); } } - logErrorAndThrow(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); + isBrowser(e3, t3 = false) { + const i3 = this.getBrowserName().toLowerCase(); + let n3 = e3.toLowerCase(); + const o2 = l.getBrowserTypeByAlias(n3); + return t3 && o2 && (n3 = o2.toLowerCase()), n3 === i3; } - logItemErrorAndThrow(e3, t3) { - 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)); + compareVersion(e3) { + let t3 = [0], i3 = e3, n3 = false; + const o2 = this.getBrowserVersion(); + if ("string" == typeof o2) return ">" === e3[0] || "<" === e3[0] ? (i3 = e3.substr(1), "=" === e3[1] ? (n3 = true, i3 = e3.substr(2)) : t3 = [], ">" === e3[0] ? t3.push(1) : t3.push(-1)) : "=" === e3[0] ? i3 = e3.substr(1) : "~" === e3[0] && (n3 = true, i3 = e3.substr(1)), t3.indexOf(l.compareVersions(o2, i3, n3)) > -1; } - logItemNote(e3, t3) { - c.default.itemNote(e3, t3, this.logStr, this.displayTypeName); + isOS(e3) { + return this.getOSName(true) === String(e3).toLowerCase(); } - logItemVerboseNote(e3, t3) { - c.default.itemNoteVerbose(e3, t3, this.logStr, this.displayTypeName); + isPlatform(e3) { + return this.getPlatformType(true) === String(e3).toLowerCase(); } - logItemWarning(e3, t3) { - c.default.itemWarning(e3, t3, this.logStr, this.displayTypeName); + isEngine(e3) { + return this.getEngineName(true) === String(e3).toLowerCase(); } - logNote(e3) { - c.default.itemNote(this._infoObject(this), e3, this.logStr, this.displayTypeName); + is(e3, t3 = false) { + return this.isBrowser(e3, t3) || this.isOS(e3) || this.isPlatform(e3); } - logNoteVerbose(e3) { - c.default.itemNoteVerbose(this._infoObject(this), e3, this.logStr, this.displayTypeName); + some(e3 = []) { + return e3.some((e4) => this.is(e4)); } - logWarning(e3) { - if (!this._amLoggingErrorOrWarning) try { - this._amLoggingErrorOrWarning = true, c.default.itemWarning(this._infoObject(this), e3, this.logStr, this.displayTypeName); - } finally { - this._amLoggingErrorOrWarning = false; - } + }, g = class { + static getParser(e3, t3 = false) { + if ("string" != typeof e3) throw new Error("UserAgent should be a string"); + return new m(e3, t3); } - logDeprecatedPropertyWarning(e3, t3, i3) { - let n3 = r2.default.isString(t3) && t3.length ? `This property is deprecated. Please use the '${t3}' property instead.` : "This property is deprecated. Please do not use."; - r2.default.isString(i3) && i3.length && (n3 += " " + i3), this.logItemWarning(e3, n3); + static parse(e3) { + return new m(e3).getResult(); } - isFilterMatch(e3) { - return this._checkItemIsArchFilterObject(this._infoParm("archFilterObject", "isFilterMatch"), e3), e3.isMatch(this); + static get BROWSER_MAP() { + return o; } - } - 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: 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 get ENGINE_MAP() { + return s; } - static create(e3, t3, i3, n3) { - 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 d.expectFlowViewModel(s2, () => c.createFunctionParameter(h, "create", "menuChoiceViewModel.parentFlow")), null; - let l2; - d.expectObject(e3.info, () => c.createFunctionParameter(h, "create", "menuChoiceViewModel")); - try { - const o2 = []; - r2._addMenuChoiceToCoreContent(e3, o2); - const u2 = new a(); - if (u2.configure(s2, e3, o2[0], n3), l2 = new m(u2, i3), e3.addClipboardDependencies(l2), t3) { - const t4 = l2._deleteMenuChoicesForCut(e3); - if (t4.isFailure) throw t4.messageDisplayStr; - l2.validateFlow(s2); - } - return l2; - } catch (e4) { - i3.logException(e4, "Unable to create clipboard content menu choice."); - } - return l2 && l2.destroy(), null; + static get OS_MAP() { + return a; } - get className() { - return h; + static get PLATFORMS_MAP() { + return r; } - get clipboardContentType() { - return s.menuChoice; + }; + }, 15896(e2, t2, i2) { + "use strict"; + const n2 = i2(52834), o = i2(94083), r = 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 = r ? r.level : 0; + e3.level = void 0 === t3.level ? i3 : t3.level, e3.enabled = "enabled" in t3 ? t3.enabled : e3.level > 0; + } + function p(e3) { + if (!this || !(this instanceof p) || this.template) { + const t3 = {}; + 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; } - checkCanPasteClipboardContextWithDetails(e3) { - const t3 = super.checkCanPasteClipboardContextWithDetails(e3); - if (t3.isFailure) return t3; - if (n2.isUndefined(e3.destViewModel) || !(e3.destViewModel.isMenu || e3.destViewModel.isSubMenu || this.shouldPasteAsReusableMenu(e3) || this.shouldPasteAsReusableTask(e3) || this.shouldPasteAsDownConvertAction(e3))) { - let e4; - return e4 = this.isSubMenu ? p.clipboard.content.pastableLocations.menuChoiceSubMenu : this.isInlineTask ? p.clipboard.content.pastableLocations.menuChoiceInlineTask : p.clipboard.content.pastableLocations.destinationHasNoChoices, this.createClipboardResultFailure(e4); - } - const i3 = this.shouldPasteAsReusableTask(e3) ? l.menuChoiceTask : this.shouldPasteAsReusableMenu(e3) ? l.menuChoiceMenu : this.shouldPasteAsDownConvertAction(e3) ? l.actions : l.menuChoiceAny; - return e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, i3) ? this.createClipboardResultFailureCanPasteGeneric() : (this.shouldPasteAsReusableTask(e3) ? t3.messageDisplayStr = p.clipboard.content.canPaste.downConvert.menuChoice.toReusableTask : this.shouldPasteAsReusableMenu(e3) ? t3.messageDisplayStr = p.clipboard.content.canPaste.downConvert.menuChoice.toReusableMenu : this.shouldPasteAsDownConvertAction(e3) && (t3.messageDisplayStr = p.clipboard.content.canPaste.downConvert.menuChoice.toAction), t3); + d(this, e3); + } + s && (o.blue.open = "\x1B[94m"); + for (const e3 of Object.keys(o)) o[e3].closeRe = new RegExp(n2(o[e3].close), "g"), c[e3] = { get() { + const t3 = o[e3]; + return h.call(this, this._styles ? this._styles.concat(t3) : [t3], this._empty, e3); + } }; + c.visible = { get() { + return h.call(this, this._styles || [], true, "visible"); + } }, o.color.closeRe = new RegExp(n2(o.color.close), "g"); + for (const e3 of Object.keys(o.color.ansi)) u.has(e3) || (c[e3] = { get() { + const t3 = this.level; + return function() { + const i3 = { open: o.color[l[t3]][e3].apply(null, arguments), close: o.color.close, closeRe: o.color.closeRe }; + return h.call(this, this._styles ? this._styles.concat(i3) : [i3], this._empty, e3); + }; + } }); + o.bgColor.closeRe = new RegExp(n2(o.bgColor.close), "g"); + for (const e3 of Object.keys(o.bgColor.ansi)) u.has(e3) || (c["bg" + e3[0].toUpperCase() + e3.slice(1)] = { get() { + const t3 = this.level; + return function() { + const i3 = { open: o.bgColor[l[t3]][e3].apply(null, arguments), close: o.bgColor.close, closeRe: o.bgColor.closeRe }; + return h.call(this, this._styles ? this._styles.concat(i3) : [i3], this._empty, e3); + }; + } }); + const _ = Object.defineProperties(() => { + }, c); + function h(e3, t3, i3) { + const n3 = function() { + return m.apply(n3, arguments); + }; + n3._styles = e3, n3._empty = t3; + const o2 = this; + return Object.defineProperty(n3, "level", { enumerable: true, get: () => o2.level, set(e4) { + o2.level = e4; + } }), Object.defineProperty(n3, "enabled", { enumerable: true, get: () => o2.enabled, set(e4) { + o2.enabled = e4; + } }), n3.hasGrey = this.hasGrey || "gray" === i3 || "grey" === i3, n3.__proto__ = _, n3; + } + function m() { + const e3 = arguments, t3 = e3.length; + let i3 = String(arguments[0]); + if (0 === t3) return ""; + if (t3 > 1) for (let n4 = 1; n4 < t3; n4++) i3 += " " + e3[n4]; + if (!this.enabled || this.level <= 0 || !i3) return this._empty ? "" : i3; + const n3 = o.dim.open; + s && this.hasGrey && (o.dim.open = ""); + for (const e4 of this._styles.slice().reverse()) i3 = e4.open + i3.replace(e4.closeRe, e4.open) + e4.close, i3 = i3.replace(/\r?\n/g, `${e4.close}$&${e4.open}`); + return o.dim.open = n3, i3; + } + function g(e3, t3) { + if (!Array.isArray(t3)) return [].slice.call(arguments, 1).join(" "); + const i3 = [].slice.call(arguments, 2), n3 = [t3.raw[0]]; + 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, c), e2.exports = p(), e2.exports.supportsColor = r, e2.exports.default = e2.exports; + }, 16791(e2) { + "use strict"; + const t2 = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi, i2 = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, n2 = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, o = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi, r = /* @__PURE__ */ new Map([["n", "\n"], ["r", "\r"], ["t", " "], ["b", "\b"], ["f", "\f"], ["v", "\v"], ["0", "\0"], ["\\", "\\"], ["e", "\x1B"], ["a", "\x07"]]); + function a(e3) { + return "u" === e3[0] && 5 === e3.length || "x" === e3[0] && 3 === e3.length ? String.fromCharCode(parseInt(e3.slice(1), 16)) : r.get(e3) || e3; + } + function s(e3, t3) { + const i3 = [], r2 = t3.trim().split(/\s*,\s*/g); + let s2; + for (const t4 of r2) if (isNaN(t4)) { + if (!(s2 = t4.match(n2))) throw new Error(`Invalid Chalk template style argument: ${t4} (in style '${e3}')`); + i3.push(s2[2].replace(o, (e4, t5, i4) => t5 ? a(t5) : i4)); + } else i3.push(Number(t4)); + return i3; + } + function l(e3) { + i2.lastIndex = 0; + const t3 = []; + let n3; + for (; null !== (n3 = i2.exec(e3)); ) { + const e4 = n3[1]; + if (n3[2]) { + const i3 = s(e4, n3[2]); + t3.push([e4].concat(i3)); + } else t3.push([e4]); } - get isClipboardContentMenuChoice() { - return true; + return t3; + } + function u(e3, t3) { + const i3 = {}; + for (const e4 of t3) for (const t4 of e4.styles) i3[t4[0]] = e4.inverse ? null : t4.slice(1); + let n3 = e3; + for (const e4 of Object.keys(i3)) if (Array.isArray(i3[e4])) { + if (!(e4 in n3)) throw new Error(`Unknown Chalk style: ${e4}`); + n3 = i3[e4].length > 0 ? n3[e4].apply(n3, i3[e4]) : n3[e4]; } - get isInlineTask() { - return this.contentModel.actionInfoId === _; + return n3; + } + e2.exports = (e3, i3) => { + const n3 = [], o2 = []; + let r2 = []; + if (i3.replace(t2, (t3, i4, s2, c, d, p) => { + if (i4) r2.push(a(i4)); + else if (c) { + const t4 = r2.join(""); + r2 = [], o2.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"); + o2.push(u(e3, n3)(r2.join(""))), r2 = [], n3.pop(); + } else r2.push(p); + }), o2.push(r2.join("")), n3.length > 0) { + const e4 = `Chalk template literal is missing ${n3.length} closing bracket${1 === n3.length ? "" : "s"} (\`}\`)`; + throw new Error(e4); } - get isSubMenu() { - return this.contentModel.actionInfoId === u; + return o2.join(""); + }; + }, 15659(e2, t2, i2) { + var n2 = i2(8156), o = {}; + for (var r in n2) n2.hasOwnProperty(r) && (o[n2[r]] = r); + var a = e2.exports = { 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" }, lch: { channels: 3, labels: "lch" }, 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"] } }; + for (var s in a) if (a.hasOwnProperty(s)) { + if (!("channels" in a[s])) throw new Error("missing channels property: " + s); + if (!("labels" in a[s])) throw new Error("missing channel labels property: " + s); + if (a[s].labels.length !== a[s].channels) throw new Error("channel and label counts mismatch: " + s); + 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 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, o2 = e3[1] / 255, r2 = e3[2] / 255, a2 = Math.min(n3, o2, r2), s2 = Math.max(n3, o2, r2), l2 = s2 - a2; + return s2 === a2 ? t3 = 0 : n3 === s2 ? t3 = (o2 - r2) / l2 : o2 === s2 ? t3 = 2 + (r2 - n3) / l2 : r2 === s2 && (t3 = 4 + (n3 - o2) / 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, o2, r2, 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 === c2 ? o2 = r2 = 0 : (r2 = c2 / u2, t3 = d(a2), i3 = d(s2), n3 = d(l2), a2 === u2 ? o2 = n3 - i3 : s2 === u2 ? o2 = 1 / 3 + t3 - n3 : l2 === u2 && (o2 = 2 / 3 + i3 - t3), o2 < 0 ? o2 += 1 : o2 > 1 && (o2 -= 1)), [360 * o2, 100 * r2, 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)))]; + }, a.rgb.cmyk = function(e3) { + var t3, i3 = e3[0] / 255, n3 = e3[1] / 255, o2 = e3[2] / 255; + return [100 * ((1 - i3 - (t3 = Math.min(1 - i3, 1 - n3, 1 - o2))) / (1 - t3) || 0), 100 * ((1 - n3 - t3) / (1 - t3) || 0), 100 * ((1 - o2 - t3) / (1 - t3) || 0), 100 * t3]; + }, a.rgb.keyword = function(e3) { + var t3 = o[e3]; + if (t3) return t3; + var i3, r2 = 1 / 0; + for (var a2 in n2) if (n2.hasOwnProperty(a2)) { + var s2 = c(e3, n2[a2]); + s2 < r2 && (r2 = s2, i3 = a2); } - shouldPasteAsDownConvertAction(e3) { - return !n2.isUndefined(e3.destActionContainer) && !this.isSubMenu && !this.isInlineTask; + return i3; + }, a.keyword.rgb = function(e3) { + return n2[e3]; + }, a.rgb.xyz = function(e3) { + var t3 = e3[0] / 255, i3 = e3[1] / 255, n3 = e3[2] / 255; + return [100 * (0.4124 * (t3 = t3 > 0.04045 ? Math.pow((t3 + 0.055) / 1.055, 2.4) : t3 / 12.92) + 0.3576 * (i3 = i3 > 0.04045 ? Math.pow((i3 + 0.055) / 1.055, 2.4) : i3 / 12.92) + 0.1805 * (n3 = n3 > 0.04045 ? Math.pow((n3 + 0.055) / 1.055, 2.4) : n3 / 12.92)), 100 * (0.2126 * t3 + 0.7152 * i3 + 0.0722 * n3), 100 * (0.0193 * t3 + 0.1192 * i3 + 0.9505 * n3)]; + }, a.rgb.lab = function(e3) { + var t3 = a.rgb.xyz(e3), i3 = t3[0], n3 = t3[1], o2 = t3[2]; + return n3 /= 100, o2 /= 108.883, i3 = (i3 /= 95.047) > 8856e-6 ? Math.pow(i3, 1 / 3) : 7.787 * i3 + 16 / 116, [116 * (n3 = n3 > 8856e-6 ? Math.pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116) - 16, 500 * (i3 - n3), 200 * (n3 - (o2 = o2 > 8856e-6 ? Math.pow(o2, 1 / 3) : 7.787 * o2 + 16 / 116))]; + }, a.hsl.rgb = function(e3) { + var t3, i3, n3, o2, r2, a2 = e3[0] / 360, s2 = e3[1] / 100, l2 = e3[2] / 100; + if (0 === s2) return [r2 = 255 * l2, r2, r2]; + t3 = 2 * l2 - (i3 = l2 < 0.5 ? l2 * (1 + s2) : l2 + s2 - l2 * s2), o2 = [0, 0, 0]; + for (var u2 = 0; u2 < 3; u2++) (n3 = a2 + 1 / 3 * -(u2 - 1)) < 0 && n3++, n3 > 1 && n3--, r2 = 6 * n3 < 1 ? t3 + 6 * (i3 - t3) * n3 : 2 * n3 < 1 ? i3 : 3 * n3 < 2 ? t3 + (i3 - t3) * (2 / 3 - n3) * 6 : t3, o2[u2] = 255 * r2; + return o2; + }, a.hsl.hsv = function(e3) { + var t3 = e3[0], i3 = e3[1] / 100, n3 = e3[2] / 100, o2 = i3, r2 = Math.max(n3, 0.01); + return i3 *= (n3 *= 2) <= 1 ? n3 : 2 - n3, o2 *= r2 <= 1 ? r2 : 2 - r2, [t3, 100 * (0 === n3 ? 2 * o2 / (r2 + o2) : 2 * i3 / (n3 + i3)), (n3 + i3) / 2 * 100]; + }, a.hsv.rgb = function(e3) { + var t3 = e3[0] / 60, i3 = e3[1] / 100, n3 = e3[2] / 100, o2 = Math.floor(t3) % 6, r2 = t3 - Math.floor(t3), a2 = 255 * n3 * (1 - i3), s2 = 255 * n3 * (1 - i3 * r2), l2 = 255 * n3 * (1 - i3 * (1 - r2)); + switch (n3 *= 255, o2) { + case 0: + return [n3, l2, a2]; + case 1: + return [s2, n3, a2]; + case 2: + return [a2, n3, l2]; + case 3: + return [a2, s2, n3]; + case 4: + return [l2, a2, n3]; + case 5: + return [n3, a2, s2]; } - shouldPasteAsReusableMenu(e3) { - return e3.destViewModel && e3.destViewModel.isFlowViewModel && this.isSubMenu && e3.destViewModel.supportsReusableMenus; + }, a.hsv.hsl = function(e3) { + var t3, i3, n3, o2 = e3[0], r2 = e3[1] / 100, a2 = e3[2] / 100, s2 = Math.max(a2, 0.01); + return n3 = (2 - r2) * a2, i3 = r2 * s2, [o2, 100 * (i3 = (i3 /= (t3 = (2 - r2) * s2) <= 1 ? t3 : 2 - t3) || 0), 100 * (n3 /= 2)]; + }, a.hwb.rgb = function(e3) { + var t3, i3, n3, o2, r2, 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), o2 = u2 + n3 * ((i3 = 1 - c2) - u2), t3) { + default: + case 6: + case 0: + r2 = i3, a2 = o2, s2 = u2; + break; + case 1: + r2 = o2, a2 = i3, s2 = u2; + break; + case 2: + r2 = u2, a2 = i3, s2 = o2; + break; + case 3: + r2 = u2, a2 = o2, s2 = i3; + break; + case 4: + r2 = o2, a2 = u2, s2 = i3; + break; + case 5: + r2 = i3, a2 = u2, s2 = o2; } - shouldPasteAsReusableTask(e3) { - return e3.destViewModel && e3.destViewModel.isFlowViewModel && this.isInlineTask && e3.destViewModel.supportsReusableTasks; + return [255 * r2, 255 * a2, 255 * s2]; + }, a.cmyk.rgb = function(e3) { + var t3 = e3[0] / 100, i3 = e3[1] / 100, n3 = e3[2] / 100, o2 = e3[3] / 100; + return [255 * (1 - Math.min(1, t3 * (1 - o2) + o2)), 255 * (1 - Math.min(1, i3 * (1 - o2) + o2)), 255 * (1 - Math.min(1, n3 * (1 - o2) + o2))]; + }, a.xyz.rgb = function(e3) { + var t3, i3, n3, o2 = e3[0] / 100, r2 = e3[1] / 100, a2 = e3[2] / 100; + return i3 = -0.9689 * o2 + 1.8758 * r2 + 0.0415 * a2, n3 = 0.0557 * o2 + -0.204 * r2 + 1.057 * a2, t3 = (t3 = 3.2406 * o2 + -1.5372 * r2 + -0.4986 * a2) > 31308e-7 ? 1.055 * Math.pow(t3, 1 / 2.4) - 0.055 : 12.92 * t3, i3 = i3 > 31308e-7 ? 1.055 * Math.pow(i3, 1 / 2.4) - 0.055 : 12.92 * i3, n3 = n3 > 31308e-7 ? 1.055 * Math.pow(n3, 1 / 2.4) - 0.055 : 12.92 * n3, [255 * (t3 = Math.min(Math.max(0, t3), 1)), 255 * (i3 = Math.min(Math.max(0, i3), 1)), 255 * (n3 = Math.min(Math.max(0, n3), 1))]; + }, a.xyz.lab = function(e3) { + var t3 = e3[0], i3 = e3[1], n3 = e3[2]; + return i3 /= 100, n3 /= 108.883, t3 = (t3 /= 95.047) > 8856e-6 ? Math.pow(t3, 1 / 3) : 7.787 * t3 + 16 / 116, [116 * (i3 = i3 > 8856e-6 ? Math.pow(i3, 1 / 3) : 7.787 * i3 + 16 / 116) - 16, 500 * (t3 - i3), 200 * (i3 - (n3 = n3 > 8856e-6 ? Math.pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116))]; + }, a.lab.xyz = function(e3) { + var t3, i3, n3, o2 = e3[0]; + t3 = e3[1] / 500 + (i3 = (o2 + 16) / 116), n3 = i3 - e3[2] / 200; + var r2 = Math.pow(i3, 3), a2 = Math.pow(t3, 3), s2 = Math.pow(n3, 3); + return i3 = r2 > 8856e-6 ? r2 : (i3 - 16 / 116) / 7.787, t3 = a2 > 8856e-6 ? a2 : (t3 - 16 / 116) / 7.787, n3 = s2 > 8856e-6 ? s2 : (n3 - 16 / 116) / 7.787, [t3 *= 95.047, i3 *= 100, n3 *= 108.883]; + }, a.lab.lch = function(e3) { + var t3, i3 = e3[0], n3 = e3[1], o2 = e3[2]; + return (t3 = 360 * Math.atan2(o2, n3) / 2 / Math.PI) < 0 && (t3 += 360), [i3, Math.sqrt(n3 * n3 + o2 * o2), t3]; + }, a.lch.lab = function(e3) { + var t3, i3 = e3[0], n3 = e3[1]; + return t3 = e3[2] / 360 * 2 * Math.PI, [i3, n3 * Math.cos(t3), n3 * Math.sin(t3)]; + }, a.rgb.ansi16 = function(e3) { + var t3 = e3[0], i3 = e3[1], n3 = e3[2], o2 = 1 in arguments ? arguments[1] : a.rgb.hsv(e3)[2]; + if (0 === (o2 = Math.round(o2 / 50))) return 30; + var r2 = 30 + (Math.round(n3 / 255) << 2 | Math.round(i3 / 255) << 1 | Math.round(t3 / 255)); + return 2 === o2 && (r2 += 60), r2; + }, a.hsv.ansi16 = function(e3) { + return a.rgb.ansi16(a.hsv.rgb(e3), e3[2]); + }, a.rgb.ansi256 = function(e3) { + var t3 = e3[0], i3 = e3[1], n3 = e3[2]; + return t3 === i3 && i3 === n3 ? t3 < 8 ? 16 : t3 > 248 ? 231 : Math.round((t3 - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t3 / 255 * 5) + 6 * Math.round(i3 / 255 * 5) + Math.round(n3 / 255 * 5); + }, a.ansi16.rgb = function(e3) { + var t3 = e3 % 10; + if (0 === t3 || 7 === t3) return e3 > 50 && (t3 += 3.5), [t3 = t3 / 10.5 * 255, t3, t3]; + var i3 = 0.5 * (1 + ~~(e3 > 50)); + return [(1 & t3) * i3 * 255, (t3 >> 1 & 1) * i3 * 255, (t3 >> 2 & 1) * i3 * 255]; + }, a.ansi256.rgb = function(e3) { + if (e3 >= 232) { + var t3 = 10 * (e3 - 232) + 8; + return [t3, t3, t3]; } - } - e2.exports = m; - }, 8487: (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" }; - }, 8497: (e2, t2, i2) => { - const n2 = i2(11475); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - function o() { - o.baseConstructor.apply(this, arguments); - } - function a() { - a.baseConstructor.apply(this, arguments); - } - n2.extend(r2, "CurrencyEnumVariable", true), n2.extend(o, "LanguageEnumVariable", true), n2.extend(a, "RegionEnumVariable", true), e2.exports = { CurrencyEnumVariable: r2, LanguageEnumVariable: o, RegionEnumVariable: a }; - }, 8507: (e2, t2, i2) => { + var i3; + return e3 -= 16, [Math.floor(e3 / 36) / 5 * 255, Math.floor((i3 = e3 % 36) / 6) / 5 * 255, i3 % 6 / 5 * 255]; + }, a.rgb.hex = function(e3) { + var t3 = (((255 & Math.round(e3[0])) << 16) + ((255 & Math.round(e3[1])) << 8) + (255 & Math.round(e3[2]))).toString(16).toUpperCase(); + return "000000".substring(t3.length) + t3; + }, a.hex.rgb = function(e3) { + var t3 = e3.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); + if (!t3) return [0, 0, 0]; + var i3 = t3[0]; + 3 === t3[0].length && (i3 = i3.split("").map(function(e4) { + return e4 + e4; + }).join("")); + var n3 = parseInt(i3, 16); + return [n3 >> 16 & 255, n3 >> 8 & 255, 255 & n3]; + }, a.rgb.hcg = function(e3) { + var t3, i3 = e3[0] / 255, n3 = e3[1] / 255, o2 = e3[2] / 255, r2 = Math.max(Math.max(i3, n3), o2), a2 = Math.min(Math.min(i3, n3), o2), s2 = r2 - a2; + return t3 = s2 <= 0 ? 0 : r2 === i3 ? (n3 - o2) / s2 % 6 : r2 === n3 ? 2 + (o2 - i3) / s2 : 4 + (i3 - n3) / s2 + 4, t3 /= 6, [360 * (t3 %= 1), 100 * s2, 100 * (s2 < 1 ? a2 / (1 - s2) : 0)]; + }, a.hsl.hcg = function(e3) { + var t3, i3 = e3[1] / 100, n3 = e3[2] / 100, o2 = 0; + return (t3 = n3 < 0.5 ? 2 * i3 * n3 : 2 * i3 * (1 - n3)) < 1 && (o2 = (n3 - 0.5 * t3) / (1 - t3)), [e3[0], 100 * t3, 100 * o2]; + }, a.hsv.hcg = function(e3) { + var t3 = e3[1] / 100, i3 = e3[2] / 100, n3 = t3 * i3, o2 = 0; + return n3 < 1 && (o2 = (i3 - n3) / (1 - n3)), [e3[0], 100 * n3, 100 * o2]; + }, a.hcg.rgb = function(e3) { + var t3 = e3[0] / 360, i3 = e3[1] / 100, n3 = e3[2] / 100; + if (0 === i3) return [255 * n3, 255 * n3, 255 * n3]; + var o2, r2 = [0, 0, 0], a2 = t3 % 1 * 6, s2 = a2 % 1, l2 = 1 - s2; + switch (Math.floor(a2)) { + case 0: + r2[0] = 1, r2[1] = s2, r2[2] = 0; + break; + case 1: + r2[0] = l2, r2[1] = 1, r2[2] = 0; + break; + case 2: + r2[0] = 0, r2[1] = 1, r2[2] = s2; + break; + case 3: + r2[0] = 0, r2[1] = l2, r2[2] = 1; + break; + case 4: + r2[0] = s2, r2[1] = 0, r2[2] = 1; + break; + default: + r2[0] = 1, r2[1] = 0, r2[2] = l2; + } + return o2 = (1 - i3) * n3, [255 * (i3 * r2[0] + o2), 255 * (i3 * r2[1] + o2), 255 * (i3 * r2[2] + o2)]; + }, a.hcg.hsv = function(e3) { + var t3 = e3[1] / 100, i3 = t3 + e3[2] / 100 * (1 - t3), n3 = 0; + return i3 > 0 && (n3 = t3 / i3), [e3[0], 100 * n3, 100 * i3]; + }, a.hcg.hsl = function(e3) { + var t3 = e3[1] / 100, i3 = e3[2] / 100 * (1 - t3) + 0.5 * t3, n3 = 0; + return i3 > 0 && i3 < 0.5 ? n3 = t3 / (2 * i3) : i3 >= 0.5 && i3 < 1 && (n3 = t3 / (2 * (1 - i3))), [e3[0], 100 * n3, 100 * i3]; + }, a.hcg.hwb = function(e3) { + var t3 = e3[1] / 100, i3 = t3 + e3[2] / 100 * (1 - t3); + return [e3[0], 100 * (i3 - t3), 100 * (1 - i3)]; + }, a.hwb.hcg = function(e3) { + var t3 = e3[1] / 100, i3 = 1 - e3[2] / 100, n3 = i3 - t3, o2 = 0; + return n3 < 1 && (o2 = (i3 - n3) / (1 - n3)), [e3[0], 100 * n3, 100 * o2]; + }, a.apple.rgb = function(e3) { + return [e3[0] / 65535 * 255, e3[1] / 65535 * 255, e3[2] / 65535 * 255]; + }, a.rgb.apple = function(e3) { + return [e3[0] / 255 * 65535, e3[1] / 255 * 65535, e3[2] / 255 * 65535]; + }, a.gray.rgb = function(e3) { + return [e3[0] / 100 * 255, e3[0] / 100 * 255, e3[0] / 100 * 255]; + }, a.gray.hsl = a.gray.hsv = function(e3) { + return [0, 0, e3[0]]; + }, a.gray.hwb = function(e3) { + return [0, 100, e3[0]]; + }, a.gray.cmyk = function(e3) { + return [0, 0, 0, e3[0]]; + }, a.gray.lab = function(e3) { + return [e3[0], 0, 0]; + }, a.gray.hex = function(e3) { + var t3 = 255 & Math.round(e3[0] / 100 * 255), i3 = ((t3 << 16) + (t3 << 8) + t3).toString(16).toUpperCase(); + return "000000".substring(i3.length) + i3; + }, a.rgb.gray = function(e3) { + return [(e3[0] + e3[1] + e3[2]) / 3 / 255 * 100]; + }; + }, 10734(e2, t2, i2) { + var n2 = i2(15659), o = i2(8507), r = {}; + Object.keys(n2).forEach(function(e3) { + r[e3] = {}, Object.defineProperty(r[e3], "channels", { value: n2[e3].channels }), Object.defineProperty(r[e3], "labels", { value: n2[e3].labels }); + var t3 = o(e3); + Object.keys(t3).forEach(function(i3) { + var n3 = t3[i3]; + r[e3][i3] = (function(e4) { + var t4 = function(t5) { + if (null == t5) return t5; + arguments.length > 1 && (t5 = Array.prototype.slice.call(arguments)); + var i4 = e4(t5); + if ("object" == typeof i4) for (var n4 = i4.length, o2 = 0; o2 < n4; o2++) i4[o2] = Math.round(i4[o2]); + return i4; + }; + return "conversion" in e4 && (t4.conversion = e4.conversion), t4; + })(n3), r[e3][i3].raw = (function(e4) { + var t4 = function(t5) { + return null == t5 ? t5 : (arguments.length > 1 && (t5 = Array.prototype.slice.call(arguments)), e4(t5)); + }; + return "conversion" in e4 && (t4.conversion = e4.conversion), t4; + })(n3); + }); + }), e2.exports = r; + }, 8507(e2, t2, i2) { var n2 = i2(15659); - function r2(e3, t3) { + function o(e3, t3) { return function(i3) { return t3(e3(i3)); }; } - function o(e3, t3) { - for (var i3 = [t3[e3].parent, e3], o2 = n2[t3[e3].parent][e3], a = t3[e3].parent; t3[a].parent; ) i3.unshift(t3[a].parent), o2 = r2(n2[t3[a].parent][a], o2), a = t3[a].parent; - return o2.conversion = i3, o2; + function r(e3, t3) { + for (var i3 = [t3[e3].parent, e3], r2 = n2[t3[e3].parent][e3], a = t3[e3].parent; t3[a].parent; ) i3.unshift(t3[a].parent), r2 = o(n2[t3[a].parent][a], r2), a = t3[a].parent; + return r2.conversion = i3, r2; } e2.exports = function(e3) { for (var t3 = (function(e4) { var t4 = (function() { - for (var e5 = {}, t5 = Object.keys(n2), i5 = t5.length, r5 = 0; r5 < i5; r5++) e5[t5[r5]] = { distance: -1, parent: null }; + for (var e5 = {}, t5 = Object.keys(n2), i5 = t5.length, o4 = 0; o4 < i5; o4++) e5[t5[o4]] = { distance: -1, parent: null }; return e5; })(), i4 = [e4]; - for (t4[e4].distance = 0; i4.length; ) for (var r4 = i4.pop(), o2 = Object.keys(n2[r4]), a2 = o2.length, s2 = 0; s2 < a2; s2++) { - var l2 = o2[s2], u = t4[l2]; - -1 === u.distance && (u.distance = t4[r4].distance + 1, u.parent = r4, i4.unshift(l2)); + for (t4[e4].distance = 0; i4.length; ) for (var o3 = i4.pop(), r2 = Object.keys(n2[o3]), a2 = r2.length, s2 = 0; s2 < a2; s2++) { + var l2 = r2[s2], u = t4[l2]; + -1 === u.distance && (u.distance = t4[o3].distance + 1, u.parent = o3, i4.unshift(l2)); } return t4; - })(e3), i3 = {}, r3 = Object.keys(t3), a = r3.length, s = 0; s < a; s++) { - var l = r3[s]; - null !== t3[l].parent && (i3[l] = o(l, t3)); + })(e3), i3 = {}, o2 = Object.keys(t3), a = o2.length, s = 0; s < a; s++) { + var l = o2[s]; + null !== t3[l].parent && (i3[l] = r(l, t3)); } return i3; }; - }, 8532: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeSurveyAnswerOptionOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeSurveyAnswerOptionOptions"; - } - get isExpressionTypeSurveyAnswerOptionOptions() { - return true; - } - } - t2.ExpressionTypeSurveyAnswerOptionOptions = r2; - }, 8538: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { sendResponseActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _messageBody: { writable: true }, _messageBodyStyle: { writable: true }, _attachments: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.messageBodyStyle.pasteReIdOrRename(e3), this.messageBody.pasteReIdOrRename(e3), this.attachments?.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.messageBodyStyle.pasteResolveOldToNewValues(e3), this.messageBody.pasteResolveOldToNewValues(e3), this.attachments?.pasteResolveOldToNewValues(e3); - } }, messageBodyStyle: { enumerable: true, get: function() { - return this._messageBodyStyle; - }, set: function(e3) { - this._messageBodyStyle = this.reviveItem(e3, r2); - } }, messageBody: { enumerable: true, get: function() { - return this._messageBody; - }, set: function(e3) { - this._messageBody = this.reviveItem(e3, r2); - } }, attachments: { enumerable: true, get: function() { - return this._attachments; - }, set: function(e3) { - this._attachments = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 8625: (e2, t2, i2) => { + }, 8156(e2) { "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), c = i2(47957), d = i2(27862), p = i2(51294); - class _ extends o.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.integrationView; - } - get dependencyType() { - 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 = 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) => { + e2.exports = { 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] }; + }, 52834(e2) { "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) }] } }; + var t2 = /[|\\{}()[\]^$+*?.]/g; + e2.exports = function(e3) { + if ("string" != typeof e3) throw new TypeError("Expected a string"); + return e3.replace(t2, "\\$&"); }; - 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)), 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 = 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; - } - get _networkModel() { - return u.default; - } - _createItemViewModel(e3) { - return new c.GuideViewModel(e3); - } - } - t2.GuideManager = _, t2.guideManager = new _(); - }, 8784: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyCustomEventAttributeListCollection"; - } - get displayTypeName() { - return "ArchValueJourneyCustomEventAttributeListCollection"; - } - get isArchValueJourneyCustomEventAttributeListCollection() { - return true; - } - } - t2.default = r2; - }, 8818: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getBotConnectorBotVersions = t2.getBotConnectorBot = t2.getBotConnectorBots = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(75601), o = i2(19413), a = i2(30345), s = { ignoreBadResponse: true }; - t2.getBotConnectorBots = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnector/{integrationId}/bots/summaries", o, s), t2.getBotConnectorBot = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnector/{integrationId}/bots/{botId}", r2, s), t2.getBotConnectorBotVersions = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnector/{integrationId}/bots/{botId}/versions", a, s); - }, 8820: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - }, 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), 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); - } - get _globalTypeName() { - return "prompt"; - } - _getIsSystemPromptIdentifier(e3) { - return r2.default.isString(e3) && e3.startsWith("__") && e3.endsWith("__"); - } - _getIsUserPromptIdentifer(e3) { - return r2.default.isString(e3) && e3.length === a.default.uuidStrLen; - } - _getIsPromptIdentifier(e3) { - return this._getIsUserPromptIdentifer(e3) || this._getIsSystemPromptIdentifier(e3); - } - get displayTypeName() { - return "ArchValuePrompt"; - } - get isArchValuePrompt() { - return true; - } - setLiteralByPromptNameAsync(e3, t3) { - 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, 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 }); - return this._setLiteral(i3, h2.name, h2.id), this.logNote(`prompt value set to '${(0, l.addPrefix)(h2.name, h2.id)}'`), o.default.executeCallback(this, "setLiteralByPromptNameAsync", t3, this); - }); - } - setLiteralByPromptIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = this._infoParm("promptId", "setLiteralByPromptIdAsync"); - this._checkItem(i3, !this._getIsPromptIdentifier(e3), "the prompt identifier must be either a user prompt guid identifier or a system prompt identifier such as '__gl0012_boolean_medial_false__'"), 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", "setLiteralByPromptIdAsync"), t3, true); - const n3 = this._getIsSystemPromptIdentifier(e3); - this.logItemVerboseNote(i3, `will attempt to set a ${n3 ? "system" : "user"} prompt value based on the submitted promptId value '${e3}'.`); - const r3 = n3 ? s.systemPromptListManager : s.userPromptListManager, a2 = yield _.default.findItemByIdAsync(r3, e3, "prompt", { includeMediaUris: true, includeResources: true }); - return this._setLiteral(i3, a2.name, a2.id), this.logNote(`prompt value set to '${(0, l.addPrefix)(a2.name, a2.id)}'`), o.default.executeCallback(this, "setLiteralByPromptIdAsync", t3, this); - }); - } - setLiteralPrompt(e3) { - const t3 = this._infoParm("archValuePrompt", "setLiteralPrompt"); - this._checkItem(t3, !e3 || !e3.isArchBasePrompt, "The prompt parameter must be an ArchPromptUser or ArchPromptSystem instance."), this._setLiteral(t3, e3.name, e3.id), this.logNote(`set the value to the prompt literal '${e3.nameWithPrefix}', id: '${e3.id}'`); - } - } - t2.default = m; - }, 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(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" }; - }, 9019: (e2, t2, i2) => { + }, 25884(e2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(30801), a = n2.__importDefault(i2(11210)); - class s extends a.default { - constructor(e3) { - super(e3), this._actionType = this.coreFactory.createArchWrapper(e3.actionType), this._target = this.coreFactory.createArchWrapper(e3.target), this._invocationData = this.coreFactory.createArchWrapper(e3.invocationData); - } - get _actionTypeId() { - return o.setPostFlowActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSetPostFlow() { - return true; - } - get actionType() { - return this._actionType; - } - get target() { - return this._target; + e2.exports = (e3, t2) => { + t2 = t2 || process.argv; + const i2 = e3.startsWith("-") ? "" : 1 === e3.length ? "-" : "--", n2 = t2.indexOf(i2 + e3), o = t2.indexOf("--"); + return -1 !== n2 && (-1 === o || n2 < o); + }; + }, 76123(e2, t2, i2) { + var n2; + !(function() { + var o = { ar: { y: function(e3) { + return 1 === e3 ? "\u0633\u0646\u0629" : "\u0633\u0646\u0648\u0627\u062A"; + }, mo: function(e3) { + return 1 === e3 ? "\u0634\u0647\u0631" : "\u0623\u0634\u0647\u0631"; + }, w: function(e3) { + return 1 === e3 ? "\u0623\u0633\u0628\u0648\u0639" : "\u0623\u0633\u0627\u0628\u064A\u0639"; + }, d: function(e3) { + return 1 === e3 ? "\u064A\u0648\u0645" : "\u0623\u064A\u0627\u0645"; + }, h: function(e3) { + return 1 === e3 ? "\u0633\u0627\u0639\u0629" : "\u0633\u0627\u0639\u0627\u062A"; + }, m: function(e3) { + return 1 === e3 ? "\u062F\u0642\u064A\u0642\u0629" : "\u062F\u0642\u0627\u0626\u0642"; + }, s: function(e3) { + return 1 === e3 ? "\u062B\u0627\u0646\u064A\u0629" : "\u062B\u0648\u0627\u0646\u064A"; + }, 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"][c(e3)]; + }, mo: function(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"][c(e3)]; + }, d: function(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"][c(e3)]; + }, m: function(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"][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"][c(e3)]; + }, decimal: "," }, ca: { y: function(e3) { + return "any" + (1 === e3 ? "" : "s"); + }, mo: function(e3) { + return "mes" + (1 === e3 ? "" : "os"); + }, w: function(e3) { + return "setman" + (1 === e3 ? "a" : "es"); + }, d: function(e3) { + return "di" + (1 === e3 ? "a" : "es"); + }, h: function(e3) { + return "hor" + (1 === e3 ? "a" : "es"); + }, m: function(e3) { + return "minut" + (1 === e3 ? "" : "s"); + }, s: function(e3) { + return "segon" + (1 === e3 ? "" : "s"); + }, ms: function(e3) { + return "milisegon" + (1 === e3 ? "" : "s"); + }, decimal: "," }, cs: { y: function(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"][d(e3)]; + }, w: function(e3) { + return ["t\xFDden", "t\xFDdne", "t\xFDdny", "t\xFDdn\u016F"][d(e3)]; + }, d: function(e3) { + return ["den", "dne", "dny", "dn\xED"][d(e3)]; + }, h: function(e3) { + return ["hodina", "hodiny", "hodiny", "hodin"][d(e3)]; + }, m: function(e3) { + return ["minuta", "minuty", "minuty", "minut"][d(e3)]; + }, s: function(e3) { + return ["sekunda", "sekundy", "sekundy", "sekund"][d(e3)]; + }, ms: function(e3) { + return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][d(e3)]; + }, decimal: "," }, da: { y: "\xE5r", mo: function(e3) { + return "m\xE5ned" + (1 === e3 ? "" : "er"); + }, w: function(e3) { + return "uge" + (1 === e3 ? "" : "r"); + }, d: function(e3) { + return "dag" + (1 === e3 ? "" : "e"); + }, h: function(e3) { + return "time" + (1 === e3 ? "" : "r"); + }, m: function(e3) { + return "minut" + (1 === e3 ? "" : "ter"); + }, s: function(e3) { + return "sekund" + (1 === e3 ? "" : "er"); + }, ms: function(e3) { + return "millisekund" + (1 === e3 ? "" : "er"); + }, decimal: "," }, de: { y: function(e3) { + return "Jahr" + (1 === e3 ? "" : "e"); + }, mo: function(e3) { + return "Monat" + (1 === e3 ? "" : "e"); + }, w: function(e3) { + return "Woche" + (1 === e3 ? "" : "n"); + }, d: function(e3) { + return "Tag" + (1 === e3 ? "" : "e"); + }, h: function(e3) { + return "Stunde" + (1 === e3 ? "" : "n"); + }, m: function(e3) { + return "Minute" + (1 === e3 ? "" : "n"); + }, s: function(e3) { + return "Sekunde" + (1 === e3 ? "" : "n"); + }, ms: function(e3) { + return "Millisekunde" + (1 === e3 ? "" : "n"); + }, decimal: "," }, en: { y: function(e3) { + return "year" + (1 === e3 ? "" : "s"); + }, mo: function(e3) { + return "month" + (1 === e3 ? "" : "s"); + }, w: function(e3) { + return "week" + (1 === e3 ? "" : "s"); + }, d: function(e3) { + return "day" + (1 === e3 ? "" : "s"); + }, h: function(e3) { + return "hour" + (1 === e3 ? "" : "s"); + }, m: function(e3) { + return "minute" + (1 === e3 ? "" : "s"); + }, s: function(e3) { + return "second" + (1 === e3 ? "" : "s"); + }, ms: function(e3) { + return "millisecond" + (1 === e3 ? "" : "s"); + }, decimal: "." }, es: { y: function(e3) { + return "a\xF1o" + (1 === e3 ? "" : "s"); + }, mo: function(e3) { + return "mes" + (1 === e3 ? "" : "es"); + }, w: function(e3) { + return "semana" + (1 === e3 ? "" : "s"); + }, d: function(e3) { + return "d\xEDa" + (1 === e3 ? "" : "s"); + }, h: function(e3) { + return "hora" + (1 === e3 ? "" : "s"); + }, m: function(e3) { + return "minuto" + (1 === e3 ? "" : "s"); + }, s: function(e3) { + return "segundo" + (1 === e3 ? "" : "s"); + }, ms: function(e3) { + return "milisegundo" + (1 === e3 ? "" : "s"); + }, decimal: "," }, fa: { y: "\u0633\u0627\u0644", mo: "\u0645\u0627\u0647", w: "\u0647\u0641\u062A\u0647", d: "\u0631\u0648\u0632", h: "\u0633\u0627\u0639\u062A", m: "\u062F\u0642\u06CC\u0642\u0647", s: "\u062B\u0627\u0646\u06CC\u0647", ms: "\u0645\u06CC\u0644\u06CC \u062B\u0627\u0646\u06CC\u0647", decimal: "." }, fi: { y: function(e3) { + return 1 === e3 ? "vuosi" : "vuotta"; + }, mo: function(e3) { + return 1 === e3 ? "kuukausi" : "kuukautta"; + }, w: function(e3) { + return "viikko" + (1 === e3 ? "" : "a"); + }, d: function(e3) { + return "p\xE4iv\xE4" + (1 === e3 ? "" : "\xE4"); + }, h: function(e3) { + return "tunti" + (1 === e3 ? "" : "a"); + }, m: function(e3) { + return "minuutti" + (1 === e3 ? "" : "a"); + }, s: function(e3) { + return "sekunti" + (1 === e3 ? "" : "a"); + }, ms: function(e3) { + return "millisekunti" + (1 === e3 ? "" : "a"); + }, decimal: "," }, fr: { y: function(e3) { + return "an" + (e3 >= 2 ? "s" : ""); + }, mo: "mois", w: function(e3) { + return "semaine" + (e3 >= 2 ? "s" : ""); + }, d: function(e3) { + return "jour" + (e3 >= 2 ? "s" : ""); + }, h: function(e3) { + return "heure" + (e3 >= 2 ? "s" : ""); + }, m: function(e3) { + return "minute" + (e3 >= 2 ? "s" : ""); + }, s: function(e3) { + return "seconde" + (e3 >= 2 ? "s" : ""); + }, ms: function(e3) { + return "milliseconde" + (e3 >= 2 ? "s" : ""); + }, decimal: "," }, gr: { y: function(e3) { + return 1 === e3 ? "\u03C7\u03C1\u03CC\u03BD\u03BF\u03C2" : "\u03C7\u03C1\u03CC\u03BD\u03B9\u03B1"; + }, mo: function(e3) { + return 1 === e3 ? "\u03BC\u03AE\u03BD\u03B1\u03C2" : "\u03BC\u03AE\u03BD\u03B5\u03C2"; + }, w: function(e3) { + return 1 === e3 ? "\u03B5\u03B2\u03B4\u03BF\u03BC\u03AC\u03B4\u03B1" : "\u03B5\u03B2\u03B4\u03BF\u03BC\u03AC\u03B4\u03B5\u03C2"; + }, d: function(e3) { + return 1 === e3 ? "\u03BC\u03AD\u03C1\u03B1" : "\u03BC\u03AD\u03C1\u03B5\u03C2"; + }, h: function(e3) { + return 1 === e3 ? "\u03CE\u03C1\u03B1" : "\u03CE\u03C1\u03B5\u03C2"; + }, m: function(e3) { + return 1 === e3 ? "\u03BB\u03B5\u03C0\u03C4\u03CC" : "\u03BB\u03B5\u03C0\u03C4\u03AC"; + }, s: function(e3) { + return 1 === e3 ? "\u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03BF" : "\u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03B1"; + }, ms: function(e3) { + return 1 === e3 ? "\u03C7\u03B9\u03BB\u03B9\u03BF\u03C3\u03C4\u03CC \u03C4\u03BF\u03C5 \u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03BF\u03BB\u03AD\u03C0\u03C4\u03BF\u03C5" : "\u03C7\u03B9\u03BB\u03B9\u03BF\u03C3\u03C4\u03AC \u03C4\u03BF\u03C5 \u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03BF\u03BB\u03AD\u03C0\u03C4\u03BF\u03C5"; + }, decimal: "," }, hu: { y: "\xE9v", mo: "h\xF3nap", w: "h\xE9t", d: "nap", h: "\xF3ra", m: "perc", s: "m\xE1sodperc", ms: "ezredm\xE1sodperc", decimal: "," }, id: { y: "tahun", mo: "bulan", w: "minggu", d: "hari", h: "jam", m: "menit", s: "detik", ms: "milidetik", decimal: "." }, is: { y: "\xE1r", mo: function(e3) { + return "m\xE1nu\xF0" + (1 === e3 ? "ur" : "ir"); + }, w: function(e3) { + return "vik" + (1 === e3 ? "a" : "ur"); + }, d: function(e3) { + return "dag" + (1 === e3 ? "ur" : "ar"); + }, h: function(e3) { + return "klukkut\xEDm" + (1 === e3 ? "i" : "ar"); + }, m: function(e3) { + return "m\xEDn\xFAt" + (1 === e3 ? "a" : "ur"); + }, s: function(e3) { + return "sek\xFAnd" + (1 === e3 ? "a" : "ur"); + }, ms: function(e3) { + return "millisek\xFAnd" + (1 === e3 ? "a" : "ur"); + }, decimal: "." }, it: { y: function(e3) { + return "ann" + (1 === e3 ? "o" : "i"); + }, mo: function(e3) { + return "mes" + (1 === e3 ? "e" : "i"); + }, w: function(e3) { + return "settiman" + (1 === e3 ? "a" : "e"); + }, d: function(e3) { + return "giorn" + (1 === e3 ? "o" : "i"); + }, h: function(e3) { + return "or" + (1 === e3 ? "a" : "e"); + }, m: function(e3) { + return "minut" + (1 === e3 ? "o" : "i"); + }, s: function(e3) { + return "second" + (1 === e3 ? "o" : "i"); + }, ms: function(e3) { + return "millisecond" + (1 === e3 ? "o" : "i"); + }, decimal: "," }, ja: { y: "\u5E74", mo: "\u6708", w: "\u9031", d: "\u65E5", h: "\u6642\u9593", m: "\u5206", s: "\u79D2", ms: "\u30DF\u30EA\u79D2", decimal: "." }, ko: { y: "\uB144", mo: "\uAC1C\uC6D4", w: "\uC8FC\uC77C", d: "\uC77C", h: "\uC2DC\uAC04", m: "\uBD84", s: "\uCD08", ms: "\uBC00\uB9AC \uCD08", decimal: "." }, lt: { y: function(e3) { + return e3 % 10 == 0 || e3 % 100 >= 10 && e3 % 100 <= 20 ? "met\u0173" : "metai"; + }, mo: function(e3) { + return ["m\u0117nuo", "m\u0117nesiai", "m\u0117nesi\u0173"][p(e3)]; + }, w: function(e3) { + return ["savait\u0117", "savait\u0117s", "savai\u010Di\u0173"][p(e3)]; + }, d: function(e3) { + return ["diena", "dienos", "dien\u0173"][p(e3)]; + }, h: function(e3) { + return ["valanda", "valandos", "valand\u0173"][p(e3)]; + }, m: function(e3) { + return ["minut\u0117", "minut\u0117s", "minu\u010Di\u0173"][p(e3)]; + }, s: function(e3) { + return ["sekund\u0117", "sekund\u0117s", "sekund\u017Ei\u0173"][p(e3)]; + }, ms: function(e3) { + return ["milisekund\u0117", "milisekund\u0117s", "milisekund\u017Ei\u0173"][p(e3)]; + }, decimal: "," }, ms: { y: "tahun", mo: "bulan", w: "minggu", d: "hari", h: "jam", m: "minit", s: "saat", ms: "milisaat", decimal: "." }, nl: { y: "jaar", mo: function(e3) { + return 1 === e3 ? "maand" : "maanden"; + }, w: function(e3) { + return 1 === e3 ? "week" : "weken"; + }, d: function(e3) { + return 1 === e3 ? "dag" : "dagen"; + }, h: "uur", m: function(e3) { + return 1 === e3 ? "minuut" : "minuten"; + }, s: function(e3) { + return 1 === e3 ? "seconde" : "seconden"; + }, ms: function(e3) { + return 1 === e3 ? "milliseconde" : "milliseconden"; + }, decimal: "," }, no: { y: "\xE5r", mo: function(e3) { + return "m\xE5ned" + (1 === e3 ? "" : "er"); + }, w: function(e3) { + return "uke" + (1 === e3 ? "" : "r"); + }, d: function(e3) { + return "dag" + (1 === e3 ? "" : "er"); + }, h: function(e3) { + return "time" + (1 === e3 ? "" : "r"); + }, m: function(e3) { + return "minutt" + (1 === e3 ? "" : "er"); + }, s: function(e3) { + return "sekund" + (1 === e3 ? "" : "er"); + }, ms: function(e3) { + return "millisekund" + (1 === e3 ? "" : "er"); + }, decimal: "," }, pl: { y: function(e3) { + return ["rok", "roku", "lata", "lat"][u(e3)]; + }, mo: function(e3) { + return ["miesi\u0105c", "miesi\u0105ca", "miesi\u0105ce", "miesi\u0119cy"][u(e3)]; + }, w: function(e3) { + return ["tydzie\u0144", "tygodnia", "tygodnie", "tygodni"][u(e3)]; + }, d: function(e3) { + return ["dzie\u0144", "dnia", "dni", "dni"][u(e3)]; + }, h: function(e3) { + return ["godzina", "godziny", "godziny", "godzin"][u(e3)]; + }, m: function(e3) { + return ["minuta", "minuty", "minuty", "minut"][u(e3)]; + }, s: function(e3) { + return ["sekunda", "sekundy", "sekundy", "sekund"][u(e3)]; + }, ms: function(e3) { + return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][u(e3)]; + }, decimal: "," }, pt: { y: function(e3) { + return "ano" + (1 === e3 ? "" : "s"); + }, mo: function(e3) { + return 1 === e3 ? "m\xEAs" : "meses"; + }, w: function(e3) { + return "semana" + (1 === e3 ? "" : "s"); + }, d: function(e3) { + return "dia" + (1 === e3 ? "" : "s"); + }, h: function(e3) { + return "hora" + (1 === e3 ? "" : "s"); + }, m: function(e3) { + return "minuto" + (1 === e3 ? "" : "s"); + }, s: function(e3) { + return "segundo" + (1 === e3 ? "" : "s"); + }, ms: function(e3) { + return "milissegundo" + (1 === e3 ? "" : "s"); + }, decimal: "," }, ru: { y: function(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"][c(e3)]; + }, w: function(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"][c(e3)]; + }, h: function(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"][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"][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"][c(e3)]; + }, decimal: "," }, uk: { y: function(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"][c(e3)]; + }, w: function(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"][c(e3)]; + }, h: function(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"][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"][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"][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) { + return 1 === e3 ? "\u06C1\u0641\u062A\u06C1" : "\u06C1\u0641\u062A\u06D2"; + }, 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"][d(e3)]; + }, mo: function(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"][d(e3)]; + }, d: function(e3) { + return ["de\u0148", "dni", "dni", "dn\xED"][d(e3)]; + }, h: function(e3) { + return ["hodina", "hodiny", "hodiny", "hod\xEDn"][d(e3)]; + }, m: function(e3) { + return ["min\xFAta", "min\xFAty", "min\xFAty", "min\xFAt"][d(e3)]; + }, s: function(e3) { + return ["sekunda", "sekundy", "sekundy", "sek\xFAnd"][d(e3)]; + }, ms: function(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) { + return "veck" + (1 === e3 ? "a" : "or"); + }, d: function(e3) { + return "dag" + (1 === e3 ? "" : "ar"); + }, h: function(e3) { + return "timm" + (1 === e3 ? "e" : "ar"); + }, m: function(e3) { + return "minut" + (1 === e3 ? "" : "er"); + }, s: function(e3) { + return "sekund" + (1 === e3 ? "" : "er"); + }, ms: function(e3) { + return "millisekund" + (1 === e3 ? "" : "er"); + }, decimal: "," }, tr: { y: "y\u0131l", mo: "ay", w: "hafta", d: "g\xFCn", h: "saat", m: "dakika", s: "saniye", ms: "milisaniye", decimal: "," }, vi: { y: "n\u0103m", mo: "th\xE1ng", w: "tu\u1EA7n", d: "ng\xE0y", h: "gi\u1EDD", m: "ph\xFAt", s: "gi\xE2y", ms: "mili gi\xE2y", decimal: "," }, zh_CN: { y: "\u5E74", mo: "\u4E2A\u6708", w: "\u5468", d: "\u5929", h: "\u5C0F\u65F6", m: "\u5206\u949F", s: "\u79D2", ms: "\u6BEB\u79D2", decimal: "." }, zh_TW: { y: "\u5E74", mo: "\u500B\u6708", w: "\u5468", d: "\u5929", h: "\u5C0F\u6642", m: "\u5206\u9418", s: "\u79D2", ms: "\u6BEB\u79D2", decimal: "." } }; + function r(e3) { + var t3 = function(e4, i3) { + return (function(e5, t4) { + var i4, n3, r2; + e5 = Math.abs(e5); + var a2 = t4.languages[t4.language] || o[t4.language]; + if (!a2) throw new Error("No language " + a2 + "."); + 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 < d2.length; i4++) if (d2[i4].unitCount) { + h = i4; + break; + } + if (t4.round) for (i4 = d2.length - 1; i4 >= 0 && ((r2 = d2[i4]).unitCount = Math.round(r2.unitCount), 0 !== i4); i4--) _ = d2[i4 - 1], p2 = t4.unitMeasures[_.unitName] / t4.unitMeasures[r2.unitName], (r2.unitCount % p2 === 0 || t4.largest && t4.largest - 1 < i4 - h) && (_.unitCount += r2.unitCount / p2, r2.unitCount = 0); + var m = []; + for (i4 = 0, d2.length; i4 < n3 && ((r2 = d2[i4]).unitCount && m.push(s(r2.unitCount, r2.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 || {})); + }; + return l(t3, { language: "en", delimiter: ", ", spacer: " ", conjunction: "", serialComma: true, units: ["y", "mo", "w", "d", "h", "m", "s"], languages: {}, round: false, unitMeasures: { y: 315576e5, mo: 26298e5, w: 6048e5, d: 864e5, h: 36e5, m: 6e4, s: 1e3, ms: 1 } }, e3); } - get invocationData() { - return this._invocationData; + var a = r({}); + function s(e3, t3, i3, n3) { + var o2; + o2 = void 0 === n3.decimal ? i3.decimal : n3.decimal; + var r2, a2 = e3.toString().replace(".", o2), s2 = i3[t3]; + return r2 = "function" == typeof s2 ? s2(e3) : s2, a2 + n3.spacer + r2; } - get targetFlowInfo() { - const e3 = this._getCoreViewModel(); - return this.coreFactory.createArchFlowInfoBasic(e3.flowId, e3.flowName, e3.flowType); + function l(e3) { + for (var t3, i3 = 1; i3 < arguments.length; i3++) for (var n3 in t3 = arguments[i3]) t3.hasOwnProperty(n3) && (e3[n3] = t3[n3]); + return e3; } - setTargetFlowInfoAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = this._infoParm("targetFlowInfo", "setTargetFlowInfoAsync"), n3 = e3; - return this._checkItem(i3, !e3 || !n3.isArchFlowInfo && !n3.isArchFlowInfoBasic, "you must pass in an ArchFlowInfo or ArchFlowInfoBasic instance when setting the targetFlowInfo value."), this._checkItem(i3, e3.type !== this._getCoreViewModel().flowType, `the supplied flow information points to a flow of type '${e3.type}' which is not supported by this action's current configuration. You must pass in a flow information value that specifies a flow of type '${this._getCoreViewModel().flowType}'. The actionType property controls which flow type is supported.`), this.logNote(`configuring the set post flow action to call the flow with name '${e3.name}' (id: '${e3.id}') at runtime.`), yield this._getCoreViewModel().getTargetFlowRefProp().setFlowById(e3.id), r2.default.executeCallback(this, "setTargetFlowInfoAsync", t3); - }); + 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; } - getTargetTypeForActionType() { - return this._getCoreViewModel().getTargetFlowTypeForActionType(); + 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 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) { + return 1 === e3 || e3 % 10 == 1 && e3 % 100 > 20 ? 0 : Math.floor(e3) !== e3 || e3 % 10 >= 2 && e3 % 100 > 20 || e3 % 10 >= 2 && e3 % 100 < 10 ? 1 : 2; } + a.getSupportedLanguages = function() { + var e3 = []; + for (var t3 in o) o.hasOwnProperty(t3) && e3.push(t3); + return e3; + }, a.humanizer = r, void 0 === (n2 = function() { + return a; + }.call(t2, i2, t2, e2)) || (e2.exports = n2); + })(); + }, 25074(e2, t2) { + Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }); + var i2 = /* @__PURE__ */ Symbol("NOT_RESOLVED"), n2 = /* @__PURE__ */ Symbol("MERGE_KEY"); + function o(e3, t3) { + var i3, n3, o2, r2, 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 !== (o2 = t3.implicitFirstChars) && void 0 !== o2 ? o2 : null, resolve: t3.resolve, identify: null !== (r2 = t3.identify) && void 0 !== r2 ? r2 : null, represent: null !== (a2 = t3.represent) && void 0 !== a2 ? a2 : (e4) => String(e4), representTagName: null !== (s2 = t3.representTagName) && void 0 !== s2 ? s2 : null }; } - t2.default = s; - }, 9183: (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(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(h.ttsEngineChanged, (e4) => this.processTtsEngineChanged(e4)), this._loadModel(t3); + function r(e3, t3) { + var i3, n3, o2, r2, 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 !== (o2 = t3.identify) && void 0 !== o2 ? o2 : null, represent: null !== (r2 = t3.represent) && void 0 !== r2 ? r2 : (e4) => e4, representTagName: null !== (a2 = t3.representTagName) && void 0 !== a2 ? a2 : null }; + } + function a(e3, t3) { + var i3, n3, o2, r2, 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 !== (o2 = t3.identify) && void 0 !== o2 ? o2 : null, represent: null !== (r2 = t3.represent) && void 0 !== r2 ? r2 : (e4) => e4, representTagName: null !== (a2 = t3.representTagName) && void 0 !== a2 ? a2 : null }; + } + var s = o("tag:yaml.org,2002:str", { resolve: (e3) => e3, identify: (e3) => "string" == typeof e3 }), l = ["", "~", "null", "Null", "NULL"], u = o("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 = o("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 = o("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 = o("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 = o("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 = o("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]+)$"), I = o("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) }), C = new RegExp("^-?(?:0|[1-9][0-9]*)$"), O = new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$"), b = o("tag:yaml.org,2002:int", { implicit: true, implicitFirstChars: ["-", ..."0123456789"], resolve: function(e3, t3) { + if (t3) { + if (!O.test(e3)) return i2; + } else if (!C.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 = o("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 = o("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 o2 = n3 * parseFloat(t3); + return Number.isFinite(o2) || D.test(e3) ? o2 : 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 = o("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 o2 = n4 * parseFloat(t4); + return Number.isFinite(o2) ? o2 : i2; } - repointSelfReferencingFlow(e3, t3) { - var i3; - null === (i3 = this.botFlow) || void 0 === i3 || i3.repointSelfReference(e3, t3); + 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 = o("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 o2 = 0; + if (t3.includes(":")) { + for (const e4 of t3.split(":")) o2 = 60 * o2 + Number(e4); + o2 *= n3; + } else o2 = n3 * parseFloat(t3); + return Number.isFinite(o2) || k.test(e3) ? o2 : 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 = o("tag:yaml.org,2002:merge", { implicit: true, implicitFirstChars: ["<"], resolve: (e3, t3) => "<<" === e3 || t3 && "" === e3 ? n2 : i2 }), B = /^[A-Za-z0-9+/]*={0,2}$/, G = o("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), o2 = new Uint8Array(n3.length); + for (let e4 = 0; e4 < n3.length; e4++) o2[e4] = n3.charCodeAt(e4); + return o2; + }, 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])$"), q = 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]))?))?$"), W = o("tag:yaml.org,2002:timestamp", { implicit: true, implicitFirstChars: [..."0123456789"], resolve: function(e3) { + let t3 = j.exec(e3); + if (null === t3 && (t3 = q.exec(e3)), null === t3) return i2; + const n3 = +t3[1], o2 = +t3[2] - 1, r2 = +t3[3]; + if (!t3[4]) { + const e4 = new Date(Date.UTC(n3, o2, r2)); + return e4.getUTCFullYear() !== n3 || e4.getUTCMonth() !== o2 || e4.getUTCDate() !== r2 ? i2 : e4; } - static get managedProperties() { - var e3; - 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: 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: 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); - }) }]; + 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; } - processTtsEngineChanged(e3) { - (!e3 || e3.isTtsDataViewModel && e3.parentFlow === this.parentFlow) && S.validateAction(this, false, true); + const c2 = new Date(Date.UTC(n3, o2, r2, a2, s2, l2, u2)); + if (c2.getUTCFullYear() !== n3 || c2.getUTCMonth() !== o2 || c2.getUTCDate() !== r2) return i2; + if (t3[9]) { + const e4 = +t3[10], n4 = +(t3[11] || 0); + if (e4 > 23 || n4 > 59) return i2; + const o3 = 6e4 * (60 * e4 + n4); + c2.setTime(c2.getTime() - ("-" === t3[9] ? -o3 : o3)); } - _initializeDesignTime() { - var e3; - super._initializeDesignTime(); - 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 === 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 = g.default.getDefinitionForFlowType(t3).typeDisplayName || t3; - let 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; + return c2; + }, identify: (e3) => e3 instanceof Date, represent: (e3) => e3.toISOString() }), Y = r("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 $ = r("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]; } - this.targetFlowType.setSchemaRefreshedCallback(() => this.updateIntentPropDescriptionStr()), this.updateIntentPropDescriptionStr(); - } - updateIntentPropDescriptionStr() { - var e3, t3; - if (!this.intent) return void this.topic.error("no intent object to update!"); - const i3 = this.targetFlowType.getFlowInfo(); - if (!i3) return void this.intent.options.clearDescriptionAdditionalInfoSection(); - const n3 = []; - 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 = 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: I.callBotFlowAction.configuredIntentValues, entries: n3.length ? n3 : [I.callBotFlowAction.intentsNone] }); - } - static get branchInfo() { - return [_.default.fakeDisconnect]; - } - get flowInputs() { - return this.inputs; } - get flowOutputs() { - return this.outputs; - } - setBotFlowReferenceToCallByFlowId(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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)); + return e3.seen.has(i3) ? "duplicate key in ordered map" : (e3.seen.add(i3), e3.list.push(t3), ""); + }, finalize: (e3) => e3.list }), z = r("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 o3 = t4[n4]; + if (o3.nodeKind === i4.nodeKind && o3.tagName === i4.tagName && o3.matchByTagPrefix === i4.matchByTagPrefix) { + e6 = n4; + break; } - }) }); + } + t4[e6] = i4; + } + return t4; + })(e4), i3 = [], n3 = { scalar: {}, sequence: {}, mapping: {} }, o2 = { 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 ? o2.scalar.push(e5) : n3.scalar[e5.tagName] = e5; + break; + case "sequence": + e5.matchByTagPrefix ? o2.sequence.push(e5) : n3.sequence[e5.tagName] = e5; + break; + case "mapping": + e5.matchByTagPrefix ? o2.mapping.push(e5) : n3.mapping[e5.tagName] = e5; } } - super._configureFromModel(e3, t3, i3); + const r2 = 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 = r2, 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 = o2; } - validate(e3) { - super.validate(e3), this._validateTargetFlowInfoLanguages(e3, this.targetFlowType.getFlowInfo(), this.parentFlow.isCallFlowType); - 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, I.textToSpeech.noneLabel); + withTags(...t3) { + let i3 = []; + for (const e4 of t3) i3 = i3.concat(e4); + return new e3([...this.tags, ...i3]); } - getDetails() { - return this.getDetailsForProperties([this.targetFlowType, this.inputText, this.intent]); + }, te = new ee([s, Y, K]), ie = new ee([...te.tags, c, T, b, L]), ne = new ee([...te.tags, u, m, I, P]), oe = new ee([...te.tags, p, A, w, V, W, U, G, $, z, Q]), re = 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); } - get isBaseCallBotFlowAction() { - return true; + 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); } - addTtsEngineValidationError(e3, t3, i3) { - var n3; - 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); + 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; } - C.className = "BaseCallBotFlowAction", t2.default = C; - }, 9275: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { searchExternalContactsActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _externalContactSearchTerm: { writable: true }, _externalContacts: { writable: true } }), a.baseConstructor.apply(this, arguments); + var ce = { maxLength: 79, indent: 1, linesBefore: 3, linesAfter: 2 }; + function de(e3, t3, i3, n3, o2) { + let r2 = "", a2 = ""; + const s2 = Math.floor(o2 / 2) - 1; + return n3 - t3 > s2 && (r2 = " ... ", t3 = n3 - s2 + r2.length), i3 - n3 > s2 && (a2 = " ...", i3 = n3 + s2 - a2.length), { str: r2 + e3.slice(t3, i3).replace(/\t/g, "\u2192") + a2, pos: n3 - t3 + r2.length }; } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.externalId.pasteReIdOrRename(e3), this.externalResult.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalId.pasteResolveOldToNewValues(e3), this.externalResult.pasteResolveOldToNewValues(e3); - } }, externalId: { enumerable: true, get: function() { - return this._externalContactSearchTerm; - }, set: function(e3) { - this._externalContactSearchTerm = this.reviveItem(e3, r2); - } }, externalResult: { enumerable: true, get: function() { - return this._externalContacts; - }, set: function(e3) { - this._externalContacts = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 9283: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importDefault(i2(17405)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "boolean"; - } - get displayTypeName() { - return "ArchValueBoolean"; - } - get isArchValueBoolean() { - return true; + 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); } - setExpressionFalse() { - this.setExpression(r2.default.false); + toString(e3) { + return `${this.name}: ${_e(this, e3)}`; } - setExpressionTrue() { - this.setExpression(r2.default.true); + }; + function me(e3, t3, i3, n3 = "") { + let o2 = 0, r2 = 0; + for (let i4 = 0; i4 < t3; i4++) { + const t4 = e3.charCodeAt(i4); + 10 === t4 ? (o2++, r2 = i4 + 1) : 13 === t4 && (o2++, 10 === e3.charCodeAt(i4 + 1) && i4++, r2 = i4 + 1); } - setLiteralBool(e3) { - const t3 = this._infoParm("boolValue", "setLiteralBool"); - this._checkItemUndefinedOrNull(t3, e3), this._checkItemIsValidLiteralBool(t3, e3), this._setLiteral(t3, e3.toString(), "setLiteral"); + const a2 = { name: n3, buffer: e3, position: t3, line: o2, column: t3 - r2 }; + 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], o3 = []; + let r3, a3 = -1; + for (; r3 = i4.exec(e4.buffer); ) o3.push(r3.index), n4.push(r3.index + r3[0].length), e4.position <= r3.index && a3 < 0 && (a3 = n4.length - 2); + a3 < 0 && (a3 = n4.length - 1); + let s2 = ""; + const l2 = Math.min(e4.line + t4.linesAfter, o3.length).toString().length, u2 = t4.maxLength - (t4.indent + l2 + 3); + for (let i5 = 1; i5 <= t4.linesBefore && !(a3 - i5 < 0); i5++) { + const r4 = de(e4.buffer, n4[a3 - i5], o3[a3 - i5], e4.position - (n4[a3] - n4[a3 - i5]), u2); + s2 = `${" ".repeat(t4.indent)}${pe((e4.line - i5 + 1).toString(), l2)} | ${r4.str} +${s2}`; + } + const c2 = de(e4.buffer, n4[a3], o3[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 >= o3.length); i5++) { + const r4 = de(e4.buffer, n4[a3 + i5], o3[a3 + i5], e4.position - (n4[a3] - n4[a3 + i5]), u2); + s2 += `${" ".repeat(t4.indent)}${pe((e4.line + i5 + 1).toString(), l2)} | ${r4.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 ""; } - setLiteralFalse() { - this._setLiteral(this._infoVal("arch_bool_false", "setLiteralFalse"), r2.default.false); + } + 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++; + } } - setLiteralTrue() { - this._setLiteral(this._infoVal("arch_bool_true", "setLiteralTrue"), r2.default.true); + return { position: t3, breaks: n3 }; + } + function ve(e3) { + return 1 === e3 ? " " : "\n".repeat(e3 - 1); + } + function Ie(e3, t3, i3, n3, o2, r2) { + 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), o3 = i4.charCodeAt(0); + r2 ? 32 === o3 || 9 === o3 ? (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 === o2 ? u2 += "\n".repeat(c2 ? 1 + d2 : d2) : 2 !== o2 && c2 && (u2 += "\n"), u2; } - t2.default = a; - }, 9287: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferCount = void 0; - var r2 = i2(65212), o = i2(17214), a = i2(54830); - t2.bufferCount = function(e3, t3) { - 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, 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); - } catch (e4) { - o2 = { error: e4 }; - } finally { - try { - h && !h.done && (u = _.return) && u.call(_); - } finally { - if (o2) throw o2.error; - } - } - if (p) try { - for (var m = n2(p), g = m.next(); !g.done; g = m.next()) { - var f = g.value; - a.arrRemove(s, f), r3.next(f); - } - } catch (e4) { - c = { error: e4 }; - } finally { - try { - g && !g.done && (d = m.return) && d.call(m); - } finally { - if (c) throw c.error; + function Ce(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 = "", o2 = t4, r2 = t4, a2 = t4; + for (; o2 < i4; ) { + const t5 = e4.charCodeAt(o2); + if (39 === t5) n4 += e4.slice(r2, o2) + "'", o2 += 2, r2 = a2 = o2; + else if (10 === t5 || 13 === t5) { + n4 += e4.slice(r2, a2); + const t6 = Ne(e4, o2, i4); + n4 += ve(t6.breaks), o2 = r2 = a2 = t6.position; + } else o2++, 32 !== t5 && 9 !== t5 && (a2 = o2); } - } - }, function() { - var e4, t4; - try { - for (var i4 = n2(s), o2 = i4.next(); !o2.done; o2 = i4.next()) { - var a2 = o2.value; - r3.next(a2); + return n4 + e4.slice(r2, i4); + })(e3, i3, n3); + case 3: + return (function(e4, t4, i4) { + let n4 = "", o2 = t4, r2 = t4, a2 = t4; + for (; o2 < i4; ) { + const t5 = e4.charCodeAt(o2); + if (92 === t5) { + n4 += e4.slice(r2, o2), o2++; + const t6 = e4.charCodeAt(o2); + if (10 === t6 || 13 === t6) o2 = Ne(e4, o2, i4).position; + else if (t6 < 256 && fe[t6]) n4 += Te[t6], o2++; + else { + let i5 = Ae(t6), r3 = 0; + for (; i5 > 0; i5--) o2++, r3 = (r3 << 4) + Se(e4.charCodeAt(o2)); + n4 += ye(r3), o2++; + } + r2 = a2 = o2; + } else if (10 === t5 || 13 === t5) { + n4 += e4.slice(r2, a2); + const t6 = Ne(e4, o2, i4); + n4 += ve(t6.breaks), o2 = r2 = a2 = t6.position; + } else o2++, 32 !== t5 && 9 !== t5 && (a2 = o2); } - } catch (t5) { - e4 = { error: t5 }; - } finally { - try { - o2 && !o2.done && (t4 = i4.return) && t4.call(i4); - } finally { - if (e4) throw e4.error; + return n4 + e4.slice(r2, i4); + })(e3, i3, n3); + case 4: + return Ie(e3, i3, n3, t3.indent, t3.chomping, false); + case 5: + return Ie(e3, i3, n3, t3.indent, t3.chomping, true); + default: + return (function(e4, t4, i4) { + let n4 = "", o2 = t4, r2 = t4, a2 = t4; + for (; o2 < i4; ) { + const t5 = e4.charCodeAt(o2); + if (10 === t5 || 13 === t5) { + n4 += e4.slice(r2, a2); + const t6 = Ne(e4, o2, i4); + n4 += ve(t6.breaks), o2 = r2 = a2 = t6.position; + } else o2++, 32 !== t5 && 9 !== t5 && (a2 = o2); } - } - r3.complete(); - }, void 0, function() { - s = null; - })); - }); - }; - }, 9290: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.transferToAcdWorkitemFailureReasonsAll = t2.transferToAcdWorkitemFailureReasonsRoutingSkillExpressionsFeature = t2.transferToAcdWorkitemFailureReasonsKnownAgentRoutingFeature = t2.baseTransferToAcdWorkitemFailureReasons = t2.transferToAcdFailureReasonsAll = t2.transferToAcdFailureReasonsRoutingSkillExpressionsFeature = t2.transferToAcdFailureReasonsKnownAgentRoutingFeature = t2.baseTransferToAcdFailureReasons = t2.voicemailTransferFailureReasons = t2.failureReasons = t2.externalTransferFailureReasons = t2.userTransferFailureReasonsAll = t2.queueTransferFailureReasonsAll = t2.userTransferFailureReasonsForBotFlowType = t2.groupTransferFailureReasonsForBotFlowType = t2.baseTransferFailureReasonsForBotFlowType = t2.userTransferFailureReasonsForWorkitemFlowType = t2.queueTransferFailureReasonsForWorkitemFlowType = t2.queueTransferFailureReasons = t2.queueTransferFailureReasonsBase = t2.userTransferFailureReasons = t2.userTransferFailureReasonsBase = t2.groupTransferFailureReasons = t2.flowTransferFailureReasons = t2.defaultTransferFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(3219), o = i2(3219), a = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", busy: "Busy", generalError: "GeneralError", invalidFlow: "InvalidFlow", invalidGroup: "InvalidGroup", invalidNumber: "InvalidNumber", invalidQueue: "InvalidQueue", invalidSkillExpressionFilter: "InvalidSkillExpressionFilter", invalidUser: "InvalidUser", invalidWorkitem: "InvalidWorkitem", networkBusy: "NetworkBusy", noAnswer: "NoAnswer", noAnswerVoicemailNotAllowed: "NoAnswerVoicemailNotAllowed", noAnswerVoicemailNotConfigured: "NoAnswerVoicemailNotConfigured", tooManyPreferredAgents: "TooManyPreferredAgents" }; - t2.defaultTransferFailureReasons = [a.generalError], t2.flowTransferFailureReasons = [...t2.defaultTransferFailureReasons, a.invalidFlow, a.noAnswer], t2.groupTransferFailureReasons = [...t2.defaultTransferFailureReasons, a.busy, a.invalidGroup, a.networkBusy, a.noAnswer, a.noAnswerVoicemailNotAllowed, a.noAnswerVoicemailNotConfigured], t2.userTransferFailureReasonsBase = [...t2.defaultTransferFailureReasons, a.actionInvocationLimitExceeded, a.invalidUser, a.invalidWorkitem, a.networkBusy], t2.userTransferFailureReasons = [...t2.userTransferFailureReasonsBase, a.busy, a.noAnswer, a.noAnswerVoicemailNotAllowed, a.noAnswerVoicemailNotConfigured], t2.queueTransferFailureReasonsBase = [...t2.defaultTransferFailureReasons, a.invalidQueue], t2.queueTransferFailureReasons = [...t2.queueTransferFailureReasonsBase, a.noAnswer], t2.queueTransferFailureReasonsForWorkitemFlowType = n2.default.uniq([...t2.queueTransferFailureReasonsBase, ...r2.queueTransferActionWorkitemFailureReasons]), t2.userTransferFailureReasonsForWorkitemFlowType = n2.default.uniq([...t2.userTransferFailureReasonsBase, ...o.userTransferActionWorkitemFailureReasons]), t2.baseTransferFailureReasonsForBotFlowType = [...t2.defaultTransferFailureReasons, a.busy, a.networkBusy, a.noAnswer], t2.groupTransferFailureReasonsForBotFlowType = [...t2.baseTransferFailureReasonsForBotFlowType, a.invalidGroup], t2.userTransferFailureReasonsForBotFlowType = [...t2.baseTransferFailureReasonsForBotFlowType, a.invalidUser], t2.queueTransferFailureReasonsAll = n2.default.uniq([...t2.queueTransferFailureReasons, ...t2.queueTransferFailureReasonsForWorkitemFlowType, a.tooManyPreferredAgents, a.invalidSkillExpressionFilter]), t2.userTransferFailureReasonsAll = n2.default.uniq([...t2.userTransferFailureReasons, ...t2.userTransferFailureReasonsForWorkitemFlowType]), t2.externalTransferFailureReasons = [...t2.defaultTransferFailureReasons, a.busy, a.invalidNumber, a.networkBusy, a.noAnswer], t2.failureReasons = a, t2.voicemailTransferFailureReasons = [...t2.defaultTransferFailureReasons, a.busy, a.invalidGroup, a.invalidQueue, a.invalidUser, a.networkBusy, a.noAnswer, a.noAnswerVoicemailNotConfigured], t2.baseTransferToAcdFailureReasons = t2.queueTransferFailureReasons, t2.transferToAcdFailureReasonsKnownAgentRoutingFeature = [...t2.baseTransferToAcdFailureReasons, a.tooManyPreferredAgents], t2.transferToAcdFailureReasonsRoutingSkillExpressionsFeature = [...t2.baseTransferToAcdFailureReasons, a.invalidSkillExpressionFilter], t2.transferToAcdFailureReasonsAll = [...t2.baseTransferToAcdFailureReasons, a.tooManyPreferredAgents, a.invalidSkillExpressionFilter], t2.baseTransferToAcdWorkitemFailureReasons = t2.queueTransferFailureReasonsForWorkitemFlowType, t2.transferToAcdWorkitemFailureReasonsKnownAgentRoutingFeature = [...t2.baseTransferToAcdWorkitemFailureReasons, a.tooManyPreferredAgents], t2.transferToAcdWorkitemFailureReasonsRoutingSkillExpressionsFeature = [...t2.baseTransferToAcdWorkitemFailureReasons, a.invalidSkillExpressionFilter], t2.transferToAcdWorkitemFailureReasonsAll = [...t2.baseTransferToAcdWorkitemFailureReasons, a.tooManyPreferredAgents, a.invalidSkillExpressionFilter]; - }, 9292: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.taskActionActionType; - } - get displayTypeName() { - return "ArchMenuTask"; - } - get actionTask() { - return this._archAction; - } - get isArchMenuTask() { - return true; + return n4 + e4.slice(r2, a2); + })(e3, i3, n3); } } - t2.default = a; - }, 9311: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindKnowledgeBaseDocumentByIdActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; - } + var Oe = { "!": "!", "!!": "tag:yaml.org,2002:" }; + function be(e3) { + return encodeURI(e3).replace(/!/g, "%21"); } - t2.FindKnowledgeBaseDocumentByIdActionModel = o, o.__type = r2.findKnowledgeBaseDocumentByIdActionType, o.registerType(); - }, 9330: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; + function Ee(e3, t3) { + var i3, n3; + if (e3.startsWith("!<") && e3.endsWith(">")) return decodeURIComponent(e3.slice(2, -1)); + const o2 = e3.indexOf("!", 1), r2 = -1 === o2 ? "!" : e3.slice(0, o2 + 1), a2 = null !== (i3 = null !== (n3 = null == t3 ? void 0 : t3[r2]) && void 0 !== n3 ? n3 : Oe[r2]) && void 0 !== i3 ? i3 : r2; + return decodeURIComponent(a2) + decodeURIComponent(e3.slice(r2.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 { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } - } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.merge = void 0; - 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), c = l.popNumber(e3, 1 / 0); - return e3 = a.argsOrArgArray(e3), o.operate(function(t4, 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 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) { - this.shouldMatchType = e3, this.allowTypeOf = t3, this.allowTypeAny = i3, this.shouldMatchAny = n3, this.shouldMatchIsCol = r3, this.shouldMatchAnyComplex = a2, this.allowNotSet = o2; - } - get isMatchSettings() { - return true; + 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 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); + 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; } - 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"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11541)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this.outputMode = void 0, this.populateFromJSON(e3); - } - get outputMode() { - return this._outputMode; - } - set outputMode(e3) { - this._outputMode = e3; - } + function xe(e3, t3, i3, n3, o2) { + const r2 = Le(t3, i3, n3); + if (r2) return r2; + Me(e3, `unknown ${o2} tag !<${n3}>`); } - t2.default = r2; - }, 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), 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 c.ChoiceViewModel(e4, this)), this._model = t3); - } - get className() { - return "ChoiceListViewModel"; - } - addChoice(e3) { - var t3; - 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() { - return true; + function ke(e3, t3) { + const n3 = Ce(e3.source, t3), o2 = t3.tagStart === Re ? "" : e3.source.slice(t3.tagStart, t3.tagEnd), r2 = e3.schema.defaultScalarTag; + if ("" !== o2) { + var a2; + if ("!" === o2) return { value: n3, tag: r2 }; + const t4 = Ee(o2, e3.tagHandlers), s3 = Le(e3.schema.exact.scalar, e3.schema.prefix.scalar, t4); + if (s3) { + const o3 = s3.resolve(n3, true, t4); + return o3 === i2 && Me(e3, `cannot resolve a node with !<${t4}> explicit tag`), { value: o3, 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}>`); } - addClipboardDependencies(e3) { + 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 }; + } } - checkVersion(e3) { + return { value: r2.resolve(n3, false, r2.tagName), tag: r2 }; + } + function Ve(e3, t3, i3, n3, o2, r2) { + const a2 = t3.tagStart === Re ? "" : e3.source.slice(t3.tagStart, t3.tagEnd), s2 = "" === a2 || "!" === a2 ? o2 : Ee(a2, e3.tagHandlers); + return { tagName: s2, tag: xe(e3, i3, n3, s2, r2) }; + } + function Ue(e3) { + return "mapping" === e3.nodeKind; + } + function Be(e3, t3, i3, n3) { + for (const r2 of n3.keys(i3)) { + var o2; + if (-1 !== e3.maxTotalMergeKeys && ++e3.totalMergeKeys > e3.maxTotalMergeKeys && Me(e3, `merge keys exceeded maxTotalMergeKeys (${e3.maxTotalMergeKeys})`), t3.tag.has(t3.value, r2)) continue; + const a2 = t3.tag.addPair(t3.value, r2, n3.get(i3, r2)); + a2 && Me(e3, a2), (null !== (o2 = t3.overridable) && void 0 !== o2 ? o2 : t3.overridable = /* @__PURE__ */ new Set()).add(r2); } - destroy() { + } + function Ge(e3, t3, i3) { + const o2 = e3.frames[e3.frames.length - 1]; + if ("document" === o2.kind) o2.value = t3, o2.hasValue = true; + else if ("sequence" === o2.kind) { + o2.merge && (Ue(i3) || Me(e3, "cannot merge mappings; the provided source object is unacceptable")); + const n3 = o2.tag.addItem(o2.value, t3, o2.index++); + n3 && Me(e3, n3); + } else if (o2.hasKey) { + const r2 = o2.key; + o2.key = void 0, o2.hasKey = false, (function(e4, t4, i4, o3, r3) { + 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, o3, r3); + 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, o3); + l2 && Me(e4, l2), null === (s2 = t4.overridable) || void 0 === s2 || s2.delete(i4); + })(e3, o2, r2, t3, i3); + } else o2.key = t3, o2.keyPosition = e3.position, o2.hasKey = true; + } + function je(e3, t3, i3, n3, o2) { + if (t3.anchorStart !== Re) { + const r2 = { value: i3, tag: n3, isValueFinal: o2 }; + return e3.anchors.set(e3.source.slice(t3.anchorStart, t3.anchorEnd), r2), r2; } - getConfiguration(e3, t3, i3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const n3 = []; - return this.items.forEach((o2) => { - 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)); + return null; + } + function qe(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"), o2 = t4.tag.create(t4.tagName), r2 = je(i3, e4, o2, 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: o2, tag: t4.tag, anchor: r2, 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), o2 = je(i3, e4, n3, t4.tag, t4.tag.carrierIsResult); + i3.frames.push({ kind: "mapping", position: i3.position, value: n3, tag: t4.tag, anchor: o2, 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); } - n3.push(r2.default.tryWrapObject(d2, null == i3 ? void 0 : i3.wrapValueAndActionsInPropertyName)); - }), n3.length ? n3 : null; + break; + } } - return this.model; - } - initializeDesignTime() { - this.items.forEach((e3) => { - var t3; - null === (t3 = e3.label) || void 0 === t3 || t3.initializeDesignTime(); - }); } - onChoicesUpdated() { - this.parent.onChoicesUpdated(), l.fireEvent(this, s.sequenceItemsChanged); + return i3.documents; + } + var We = -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, o2, r2, a2) { + e3.events.push({ type: 2, start: t3, anchorStart: i3, anchorEnd: n3, tagStart: o2, tagEnd: r2, style: a2 }); + } + function it(e3, t3, i3, n3, o2, r2, a2) { + e3.events.push({ type: 3, start: t3, anchorStart: i3, anchorEnd: n3, tagStart: o2, tagEnd: r2, style: a2 }); + } + function nt(e3, t3) { + e3.events.splice(t3.eventsLength, 0, { type: 3, start: t3.position, anchorStart: We, anchorEnd: We, tagStart: We, tagEnd: We, style: 2 }); + } + function ot(e3, t3, i3, n3, o2, r2, a2, s2, l2 = 1, u2 = -1, c2 = false) { + e3.events.push({ type: 4, valueStart: t3, valueEnd: i3, anchorStart: n3, anchorEnd: o2, tagStart: r2, tagEnd: a2, style: s2, chomping: l2, indent: u2, fast: c2 }); + } + function rt(e3) { + e3.events.push({ type: 6 }); + } + function at(e3) { + ot(e3, We, We, We, We, We, We, 1); + } + function st() { + return { anchorStart: We, anchorEnd: We, tagStart: We, tagEnd: We }; + } + 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), o2 = e3.position === e3.lineStart || _t(e3.input.charCodeAt(e3.position - 1)); + for (; 0 !== n3; ) { + for (; pt(n3); ) o2 = true, 9 === n3 && -1 === e3.firstTabInLine && (e3.firstTabInLine = e3.position), n3 = e3.input.charCodeAt(++e3.position); + if (t3 && o2 && 35 === n3) do { + n3 = e3.input.charCodeAt(++e3.position); + } while (!dt(n3) && 0 !== n3); + if (!dt(n3)) break; + for (St(e3), i3++, o2 = true, n3 = e3.input.charCodeAt(e3.position); 32 === n3; ) e3.lineIndent++, n3 = e3.input.charCodeAt(++e3.position); } - get model() { - return this._model; + 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); } - get isChoiceList() { - return true; + return false; + } + function vt(e3) { + let t3 = e3.input.charCodeAt(e3.position); + for (; 0 !== t3 && !dt(t3); ) t3 = e3.input.charCodeAt(++e3.position); + } + function It(e3, t3, i3) { + He.test(e3.input.slice(t3, i3)) && ct(e3, "the stream contains non-printable characters"); + } + function Ct(e3, t3, i3) { + if (33 !== e3.input.charCodeAt(e3.position)) return false; + t3.tagStart !== We && ct(e3, "duplication of a tag property"); + const n3 = e3.position; + let o2 = false, r2 = false, a2 = "!", s2 = e3.input.charCodeAt(++e3.position); + 60 === s2 ? (o2 = true, s2 = e3.input.charCodeAt(++e3.position)) : 33 === s2 && (r2 = true, a2 = "!!", s2 = e3.input.charCodeAt(++e3.position)); + let l2, u2 = e3.position; + if (o2) { + 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 && (r2 ? 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"), r2 = 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"); } - get length() { - return this.items.length; + return l2 && !(o2 ? Qe.test(l2) : Xe.test(l2)) && ct(e3, `tag name cannot contain such characters: ${l2}`), o2 || "!" === a2 || "!!" === a2 || Ye.call(e3.tagHandlers, a2) || ct(e3, `undeclared tag handle "${a2}"`), t3.tagStart = n3, t3.tagEnd = e3.position, true; + } + function Ot(e3, t3) { + if (38 !== e3.input.charCodeAt(e3.position)) return false; + t3.anchorStart !== We && 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"); } - set length(e3) { - this.items.length = e3, this.model.length = e3; + return rt(e3), true; + } + function Rt(e3, t3, i3, n3) { + let o2 = false, r2 = false, a2 = false, s2 = false; + if (-1 !== e3.firstTabInLine) return false; + let l2 = e3.input.charCodeAt(e3.position); + for (; 0 !== l2; ) { + o2 || -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)) { + o2 && (at(e3), o2 = 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++; + } + r2 = true, o2 = false, s2 = false; + } else { + if (!r2) return n3.anchorStart === We && n3.tagStart === We || (ut(e3, t4), false); + ct(e3, "expected ':' after a mapping key"); + } + } else { + if (!r2) return n3.anchorStart === We && n3.tagStart === We || (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 ? (o2 && at(e3), r2 = true, o2 = true) : (o2 || (at(e3), r2 = true), o2 = false), e3.position += 1, s2 = true; + if (Dt(e3, t3, 4, true, s2) && (s2 = false), o2 || 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; } - updateDependencies() { + return !!r2 && (o2 && at(e3), a2 && rt(e3), true); + } + function Dt(e3, t3, i3, n3, o2, r2 = 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), o3 = lt(e3); + if (s2 && 1 !== a2 && (33 === n4 || 38 === n4)) break; + if (s2 && _2 && (c2.tagStart !== We || c2.anchorStart !== We) && (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 !== We || 38 === n4 && c2.anchorStart !== We)) break; + if (!Ct(e3, c2, 1 === i3) && !Ot(e3, c2)) break; + null === u2 && (u2 = o3), At(e3, true) ? (s2 = true, p2 = _2, a2 = e3.lineIndent > t3 ? 1 : e3.lineIndent === t3 ? 0 : -1) : p2 = false; } - validate(e3) { - this.choiceErrorStrings.length = 0; - const t3 = {}; - this.items.forEach((i3, n3) => { - if ("" === i3.name || r2.default.isNullOrUndefined(i3.name)) { - const t4 = (0, o.sprintf)(p.choice.choiceButtonNoNameError, n3 + 1); - return this.choiceErrorStrings[n3] = t4, void e3.addError(this.parent, t4); + if (p2 && (p2 = s2 || o2), 1 === a2 || 4 === i3) { + const n4 = 1 === i3 || 2 === i3 ? t3 : t3 + 1, o3 = e3.position - e3.lineStart; + if (1 === a2) if (p2 && (wt(e3, o3, c2) || Rt(e3, o3, n4, c2)) || (function(e4, t4, i4) { + const n5 = e4.input.charCodeAt(e4.position), o4 = 123 === n5, r3 = e4.position; + let a3 = true; + if (91 !== n5 && 123 !== n5) return false; + const s3 = o4 ? 125 : 93; + for (o4 ? it(e4, r3, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, 2) : tt(e4, r3, 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++, rt(e4), true; + a3 ? 44 === i5 && ct(e4, "expected the node content, but found ','") : ct(e4, "missed comma between flow collection entries"); + let n6 = false, r4 = false; + 63 === i5 && _t(e4.input.charCodeAt(e4.position + 1)) && (n6 = r4 = 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), (o4 || r4 || e4.line === l3) && 58 === i5 ? (n6 = true, e4.position++, Et(e4, t4), o4 || nt(e4, u3), c3 || at(e4), Dt(e4, t4, 1, false, true) || at(e4), Et(e4, t4), o4 || rt(e4)) : o4 && n6 ? (c3 || at(e4), at(e4)) : o4 ? at(e4) : n6 && (nt(e4, u3), c3 || at(e4), at(e4), rt(e4)), i5 = e4.input.charCodeAt(e4.position), 44 === i5 ? (a3 = true, e4.position++) : a3 = false; } - if (t3[i3.name.toLowerCase()]) { - const t4 = (0, o.sprintf)(p.choice.choiceButtonDuplicateNameError, i3.name); - this.choiceErrorStrings[n3] = t4, e3.addError(this.parent, t4); + 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 && r2 && _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); } - t3[i3.name.toLowerCase()] = true, i3.validate(e3); - }); + !l2 && (d2 && (function(e4, t5, i4) { + const n5 = e4.input.charCodeAt(e4.position); + let o4 = 1, r3 = -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 !== o4 && ct(e4, "repeat of a chomping mode identifier"), o4 = 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"), r3 = 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 ? r3 : -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 o5 = e4.input.charCodeAt(i5 + n6); + if (0 === o5) { + 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(o5) && (c3 = Math.max(c3, n6)), a3 || -1 !== u3 || dt(o5) || (9 === o5 && 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 !== o5 && !dt(o5) && n6 < t5) { + e4.lineIndent = n6, e4.position = i5 + n6; + break; + } + a3 || 0 === o5 || dt(o5) || -1 !== u3 || (u3 = n6); + const r4 = -1 === u3 ? t5 + 1 : u3; + if (0 !== o5 && !dt(o5) && n6 < r4) { + 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 It(e4, d3, p3), ot(e4, d3, p3, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, s3, o4, 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 o4 = true; + for (; 0 !== e4.input.charCodeAt(e4.position); ) { + const r3 = e4.input.charCodeAt(e4.position); + if (39 === r3) { + if (39 === e4.input.charCodeAt(e4.position + 1)) { + o4 = false, e4.position += 2; + continue; + } + const t6 = e4.position; + return e4.position++, ot(e4, n5, t6, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, 2, 1, -1, o4), true; + } + dt(r3) ? (o4 = false, bt(e4, t5)) : e4.position === e4.lineStart && Nt(e4) ? ct(e4, "unexpected end of the document within a single quoted scalar") : 9 !== r3 && r3 < 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 o4 = true; + for (; 0 !== e4.input.charCodeAt(e4.position); ) { + const r3 = e4.input.charCodeAt(e4.position); + if (34 === r3) { + const t6 = e4.position; + return e4.position++, ot(e4, n5, t6, i4.anchorStart, i4.anchorEnd, i4.tagStart, i4.tagEnd, 3, 1, -1, o4), true; + } + if (92 === r3) { + o4 = 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(r3) ? (o4 = false, bt(e4, t5)) : e4.position === e4.lineStart && Nt(e4) ? ct(e4, "unexpected end of the document within a double quoted scalar") : 9 !== r3 && r3 < 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 === We && t5.tagStart === We || 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 o4 = e4.position; + let r3 = 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, o5 = e4.lineStart, r4 = 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 = o5, e4.lineIndent = r4; + break; + } + } + pt(a3) || (r3 = e4.position + 1), a3 = e4.input.charCodeAt(++e4.position); + } + return r3 !== o4 && (It(e4, o4, r3), ot(e4, o4, r3, 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, o3, c2)); } + return d2 = d2 && !l2, l2 || c2.anchorStart === We && c2.tagStart === We && !d2 || (ot(e3, We, We, c2.anchorStart, c2.anchorEnd, c2.tagStart, c2.tagEnd, 1), l2 = true), e3.depth--, l2 || c2.anchorStart !== We || c2.tagStart !== We; } - t2.default = _; - }, 9436: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(51953)), a = n2.__importDefault(i2(67336)); - class s extends a.default { - constructor(e3) { - super(e3), this.isArchValidationResults = true, this._coreValidationResults = e3, this._coreIssues = e3.issuesMap; - } - get displayTypeName() { - return "ArchValidationResults"; - } - get logStr() { - const e3 = []; - this._appendLogStrType(e3, this.displayTypeName), this.errorCountTotal > 0 && this._appendLogStrErrorCountTotal(e3, this.errorCountTotal), this.warningCountTotal > 0 && this._appendLogStrWarningCountTotal(e3, this.warningCountTotal), this.rollupErrorCountTotal > 0 && this._appendLogStrRollupErrorCountTotal(e3, this.rollupErrorCountTotal), this.rollupWarningCountTotal > 0 && this._appendLogStrRollupWarningCountTotal(e3, this.rollupWarningCountTotal); - const t3 = this._getCoreViewModel(); - if (t3 && t3.parentFlow) { - let i3 = this.coreFactory.createArchWrapper(t3.parentFlow); - this._appendLogStrArchObject(e3, i3 ? i3.logStr : "< no validation object>"), i3 = void 0; - } - return this._createLogStrFromParts(e3); + 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)); } - _getIssueForObject(e3) { - if (e3.id) return r2.default.find(this.issues, function(t3) { - return t3.archObject && t3.archObject.id === e3.id; - }); + 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 }); } - get errorCountTotal() { - let e3 = 0; - return r2.default.each(this.issues, function(t3) { - e3 += t3.errorCount; - }), e3; + 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, o2 = 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), o2 = e3.line > t4; + } else t3 && ct(e3, "directives end mark is expected"); + const r2 = 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, o2, o2) || 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"); } - get issues() { - const e3 = []; - return r2.default.each(this._coreIssues, function(t3) { - e3.push(new o.default(t3)); - }), e3; + const a2 = e3.events[r2]; + 1 === (null == a2 ? void 0 : a2.type) && (a2.explicitEnd = n3), rt(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: [] }), o2 = e3.indexOf("\0"); + for (-1 !== o2 && me(e3, o2, "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"); } - getErrorsForObject(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getErrorsForObject"), e3); - const t3 = this._getIssueForObject(e3); - if (t3 && t3.errors) return t3.errors; + return n3.events; + } + var Lt = ue(ue({}, et), De); + function xt(e3, t3 = {}) { + const i3 = ue(ue({}, Lt), t3), n3 = String(e3), o2 = Object.keys(et), r2 = Object.keys(De); + return qe(Ft(n3, J(i3, o2)), ue(ue({}, J(i3, r2)), {}, { 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); } - getIssueForObject(e3) { - return this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getIssueForObject"), e3), this._getIssueForObject(e3); + }, 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))), o2 = e3.tags.filter((e4) => t3.has(e4)); + return [...i3.map((e4) => ({ tag: e4, implicitTag: true })), ...n3.map((e4) => ({ tag: e4, implicitTag: false })), ...o2.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 }; } - getRollupErrorsForObject(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getRollupErrorsForObject"), e3); - const t3 = this._getIssueForObject(e3); - if (t3) return t3.rollupErrors; + const i3 = (function(e4, t4) { + for (let i4 = 0, n4 = e4.representTypes.length; i4 < n4; i4 += 1) { + const { tag: n5, implicitTag: o3 } = 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: o3 }; + } + } + 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)}`); } - getRollupWarningsForObject(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getRollupWarningsForObject"), e3); - const t3 = this._getIssueForObject(e3); - if (t3) return t3.rollupWarnings; + const { tag: n3, tagName: o2, implicitTag: r2 } = i3, a2 = r2 ? o2 : we(o2); + if ("scalar" === n3.nodeKind) { + const e4 = new kt(); + return e4.tagged = !r2, { kind: "scalar", tag: a2, style: e4, value: n3.represent(t3) }; } - getWarningsForObject(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getWarningsForObject"), e3); - const t3 = this._getIssueForObject(e3); - if (t3 && t3.warnings) return t3.warnings; + if ("sequence" === n3.nodeKind) { + const i4 = n3.represent(t3), o3 = new kt(); + o3.tagged = !r2; + const s3 = { kind: "sequence", tag: a2, style: o3, 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; } - getSummaryStr(e3, t3, i3) { - i3 || (i3 = ""); - const n3 = []; - return t3 && n3.push(i3 + this.logStr), this.issues.length > 0 ? r2.default.each(this.issues, function(t4) { - n3.push(t4.getSummaryStr(e3, i3 + " ")); - }) : n3.push(i3 + " No validation issues."), n3.join("\n"); - } - getSummaryStrForObject(e3) { - const t3 = this.getIssueForObject(e3); - return t3 ? t3.getSummaryStr(true) : ""; - } - get hasErrors() { - return void 0 !== r2.default.find(this.issues, function(e3) { - return e3.hasErrors; - }); - } - get hasNoErrors() { - return !this.hasErrors; - } - get hasErrorsOrWarnings() { - return void 0 !== r2.default.find(this.issues, function(e3) { - return e3.hasErrorsOrWarnings; - }); - } - get hasNoErrorsOrWarnings() { - return !this.hasErrorsOrWarnings; - } - get hasWarnings() { - return void 0 !== r2.default.find(this.issues, function(e3) { - return e3.hasWarnings; - }); - } - get hasNoWarnings() { - return !this.hasWarnings; - } - objectErrorCount(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectErrorCount"), e3); - const t3 = this._getIssueForObject(e3); - return (null == t3 ? void 0 : t3.errorCount) || 0; - } - objectWarningCount(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectWarningCount"), e3); - const t3 = this._getIssueForObject(e3); - return (null == t3 ? void 0 : t3.warningCount) || 0; - } - objectHasErrorString(e3, t3) { - const i3 = this.getIssueForObject(e3); - return !!i3 && i3.hasErrorString(t3); - } - objectHasErrors(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasErrors"), e3); - const t3 = this._getIssueForObject(e3); - return !!t3 && t3.hasErrors; - } - objectHasWarnings(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasWarnings"), e3); - const t3 = this._getIssueForObject(e3); - return !!t3 && t3.hasWarnings; - } - objectHasNoErrors(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasNoErrors"), e3); - const t3 = this._getIssueForObject(e3); - return !t3 || !t3.hasErrors; - } - objectHasErrorsOrWarnings(e3) { - this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasErrorsOrWarnings"), e3); - const t3 = this._getIssueForObject(e3); - return !!t3 && t3.hasErrorsOrWarnings; - } - objectHasNoErrorsOrWarnings(e3) { - const t3 = this.getIssueForObject(e3); - return !t3 || t3.hasNoErrorsOrWarnings; - } - objectHasNoWarnings(e3) { - const t3 = this.getIssueForObject(e3); - return !t3 || t3.hasNoWarnings; - } - objectHasWarningString(e3, t3) { - const i3 = this.getIssueForObject(e3); - return !!i3 && i3.hasWarningString(t3); - } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreValidationResults.parentFlow); - } - get rollupErrorCountTotal() { - let e3 = 0; - return r2.default.each(this.issues, function(t3) { - e3 += t3.rollupErrorCount; - }), e3; - } - get rollupWarningCountTotal() { - let e3 = 0; - return r2.default.each(this.issues, function(t3) { - e3 += t3.rollupWarningCount; - }), e3; - } - get warningCountTotal() { - let e3 = 0; - return r2.default.each(this.issues, function(t3) { - e3 += t3.warningCount; - }), e3; + const s2 = n3.represent(t3), l2 = new kt(); + l2.tagged = !r2; + 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 o3 = Bt(e3, i4); + o3 !== Vt && u2.items.push({ key: n4, value: o3 }); } + return u2; } - t2.default = s; - }, 9446: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GetEmailHeadersActionModel = void 0; - const n2 = i2(31635), r2 = i2(30801), o = i2(80295), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(5894); - class u extends l.BaseFailureOutputsActionModel { - constructor(e3) { - super(e3), this.__type = u.__type, (0, a.makeUnenumerable)(this, "_emailHeaderNames"), (0, a.makeUnenumerable)(this, "_emailHeadersResult"); - } - pasteReIdOrRename(e3) { - var t3, i3; - super.pasteReIdOrRename(e3), null === (t3 = this.emailHeaderNames) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.emailHeadersResult) || void 0 === i3 || i3.pasteReIdOrRename(e3); - } - pasteResolveOldToNewValues(e3) { - var t3, i3; - super.pasteResolveOldToNewValues(e3), null === (t3 = this.emailHeaderNames) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.emailHeadersResult) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3); - } - get emailHeaderNames() { - return this._emailHeaderNames; - } - set emailHeaderNames(e3) { - this._emailHeaderNames = this.reviveItem(e3, s.default); - } - get emailHeadersResult() { - return this._emailHeadersResult; + function Gt(e3, t3, i3 = {}) { + var n3, o2; + const r2 = Bt({ representTypes: Ut(t3), noRefs: null !== (n3 = i3.noRefs) && void 0 !== n3 && n3, skipInvalid: null !== (o2 = i3.skipInvalid) && void 0 !== o2 && o2, refs: /* @__PURE__ */ new Map(), refCounter: 0 }, e3); + return [{ contents: r2 === Vt ? null : r2, directives: [] }]; + } + var jt = /* @__PURE__ */ Symbol("visit:break"), qt = /* @__PURE__ */ Symbol("visit:skip"); + function Wt(e3, t3, i3) { + const n3 = t3(e3, i3); + if (n3 === jt) return true; + if (n3 === qt) return false; + const o2 = i3.depth + 1; + switch (e3.kind) { + case "sequence": + for (const i4 of e3.items) if (Wt(i4, t3, { depth: o2, parent: e3, isKey: false })) return true; + break; + case "mapping": + for (const { key: i4, value: n4 } of e3.items) { + if (Wt(i4, t3, { depth: o2, parent: e3, isKey: true })) return true; + if (Wt(n4, t3, { depth: o2, parent: e3, isKey: false })) return true; + } } - set emailHeadersResult(e3) { - this._emailHeadersResult = this.reviveItem(e3, s.default); + return false; + } + function Yt(e3, t3) { + for (const i3 of e3) if (i3.contents && Wt(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, o2 = ""; + const r2 = e3.length; + for (; n3 < r2; ) { + let t4; + const a2 = e3.indexOf("\n", n3); + -1 === a2 ? (t4 = e3.slice(n3), n3 = r2) : (t4 = e3.slice(n3, a2 + 1), n3 = a2 + 1), t4.length && "\n" !== t4 && (o2 += i3), o2 += t4; } + return o2; } - t2.GetEmailHeadersActionModel = u, u.__type = r2.getEmailHeadersActionType, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "emailHeaderNames", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "emailHeadersResult", null), u.registerType(); - }, 9456: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.uuid = function() { - return globalThis.crypto.randomUUID(); - }; - }, 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), c = i2(27862), d = i2(44931), p = i2(26063), _ = i2(47957); - class h extends a.default { - get requiredAuth() { - return s.externalAuthorizations.authStrings.integrationView; + function Xt(e3, t3) { + return ` +${" ".repeat(e3.indent * t3)}`; + } + function Zt(e3, t3) { + for (let n3 = 0, o2 = e3.implicitResolvers.length; n3 < o2; n3 += 1) { + const o3 = e3.implicitResolvers[n3]; + if (o3.resolve(t3, false, o3.tagName) !== i2) return o3.tagName; } - get dependencyType() { - return c.LexV2Bot; + 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), o2 = n3 && !ei(e3); + return (i3 ? n3 : n3 && 44 !== e3 && 91 !== e3 && 93 !== e3 && 123 !== e3 && 125 !== e3) && 35 !== e3 && !(58 === t3 && !o2) || ii(t3) && !ei(t3) && 35 === e3 || 58 === t3 && o2 && (i3 || 44 !== e3 && 91 !== e3 && 93 !== e3 && 123 !== e3 && 125 !== e3); + } + function oi(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 ri(e3) { + return /^\n* /.test(e3); + } + function ai(e3, t3, i3, n3, o2, r2) { + 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 = oi(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 = oi(e4, 1); + return !ei(n5) && ni(n5, i4, t4); + } + return false; + })(t3, r2) && !ei(g2 = oi(t3, t3.length - 1)) && 58 !== g2; + var g2; + if (n3 || o2) for (l2 = 0; l2 < t3.length; u2 >= 65536 ? l2 += 2 : l2++) { + if (u2 = oi(t3, l2), !ti(u2)) return 5; + m2 = m2 && ni(u2, c2, r2), c2 = u2; } - constructor() { - 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(); + else { + for (l2 = 0; l2 < t3.length; u2 >= 65536 ? l2 += 2 : l2++) { + if (u2 = oi(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, r2), c2 = u2; + } + p2 = p2 || _2 && l2 - h2 - 1 > s2 && " " !== t3[h2 + 1]; } - get _networkModel() { - return this.apiCallList.api ? this.apiCallList.api.DataContract : p; + return d2 || p2 ? a2 > 9 && ri(t3) ? 5 : p2 ? 4 : 3 : m2 && !o2 ? 1 : "double" === e3.quoteStyle ? 5 : 2; + } + function si(e3, t3) { + const i3 = ri(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 o2 = e3.slice(0, i3); + const r2 = /(\n+)([^\n]*)/g; + let a2; + for (r2.lastIndex = i3; a2 = r2.exec(e3); ) { + const e4 = a2[1].length, t4 = a2[2]; + o2 += "\n".repeat(e4 + 1) + n3 + t4; } - _createItemViewModel(e3) { - return new l.LexBotViewModel(e3); + return o2; + } + 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, o2, r2 = 0, a2 = 0, s2 = 0, l2 = ""; + for (; n3 = i3.exec(e3); ) s2 = n3.index, s2 - r2 > t3 && (o2 = a2 > r2 ? a2 : s2, l2 += ` +${e3.slice(r2, o2)}`, r2 = o2 + 1), a2 = s2; + return l2 += "\n", e3.length - r2 > t3 && a2 > r2 ? l2 += `${e3.slice(r2, a2)} +${e3.slice(a2 + 1)}` : l2 += e3.slice(r2), l2.slice(1); + } + function di(e3, t3, i3, n3) { + let o2 = ""; + for (let r2 = 0, a2 = i3.items.length; r2 < a2; r2 += 1) { + const a3 = mi(e3, t3 + 1, i3.items[r2], { block: true, compact: e3.seqInlineFirst, isblockseq: true }); + n3 && "" === o2 || (o2 += Xt(e3, t3)), "" === a3 || Jt === a3.charCodeAt(0) ? o2 += "-" : o2 += "- ", o2 += a3; } + return o2; } - t2.LexV2BotNameManager = h, t2.lexV2BotNameManager = new h(); - }, 9619: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createErrorClass = void 0, t2.createErrorClass = function(e3) { - var t3 = e3(function(e4) { - Error.call(e4), e4.stack = new Error().stack; + 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; }); - return t3.prototype = Object.create(Error.prototype), t3.prototype.constructor = t3, t3; - }; - }, 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), 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(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(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(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(() => { - (0, A.validateAction)(this, false, true); - })), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.listOrderChanged, this.lineItems).subscribe(() => this._updateCurrency())), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.listOrderChanged, this.shippingOptions).subscribe(() => { - this._updateCurrency(), (0, A.validateAction)(this, false, true); - })), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.shippingOptions).subscribe(() => (0, A.validateAction)(this, false, true))), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.lineItems).subscribe(() => (0, A.validateAction)(this, false, true))), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.shippingOptions).subscribe(() => (0, A.validateAction)(this, false, true))), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.totalPrice).subscribe(() => (0, A.validateAction)(this, false, true))); - } - get supportsCustomOutputPaths() { - return true; - } - get hasOptionalPaths() { - return true; - } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3); - const t3 = P(this.parentFlow.defaultLanguage).askForPayment.noInputDigitalBot; - this.setNewInstanceNoInputText(t3); - 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() { - return [...f.default.successFailure, f.default.maxNoInputsOptional, f.default.maxNoMatchesOptional]; + else { + const t4 = e3.sortKeys; + i3.sort((e4, i4) => t4(pi(e4.key), pi(i4.key))); } - _updateCurrency() { - var e3, t3, i3, n3; - this.totalPrice.isLiteralMode && this._setPriceText(this.totalPrice), (null === (t3 = null === (e3 = this.lineItems) || void 0 === e3 ? void 0 : e3.collectionItems) || void 0 === t3 ? void 0 : t3.length) > 0 && this.lineItems.collectionItems.items.forEach((e4) => { - if (e4.isLiteralMode) { - const t4 = e4.type.getPropListingPrice(e4); - this._setPriceText(t4); + 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 o2; + if ("alias" === i3.kind) return `*${i3.anchor}`; + const { block: r2 = false, iskey: a2 = false, isblockseq: s2 = false } = n3; + let l2 = null !== (o2 = n3.compact) && void 0 !== o2 && o2; + const u2 = void 0 !== i3.anchor; + let c2; + hi(e3, i3, t3) && (l2 = false); + let d2 = i3.style.tagged; + const p2 = r2 && ("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 o3 = ""; + const r3 = _i(e4, i4.items); + for (let i5 = 0, a3 = r3.length; i5 < a3; i5 += 1) { + let a4 = ""; + n4 && "" === o3 || (a4 += Xt(e4, t4)); + const { key: s3, value: l3 } = r3[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, o3 += a4; + } + return o3; + })(e3, t3, i3, l2) : (function(e4, t4, i4) { + let n4 = ""; + const o3 = _i(e4, i4.items); + for (const { key: i5, value: r4 } of o3) { + let o4 = ""; + "" !== n4 && (o4 += "," + (e4.flowSkipCommaSpace ? "" : " ")); + const a3 = mi(e4, t4, i5, { iskey: true }), s3 = a3.length > 1024; + s3 ? o4 += "? " : e4.quoteFlowKeys && (o4 += '"'); + const l3 = mi(e4, t4, r4, {}), u3 = e4.flowSkipColonSpace || "" === l3 ? "" : " "; + o4 += `${a3}${e4.quoteFlowKeys && !s3 ? '"' : ""}:${u3}${l3}`, n4 += o4; + } + const r3 = e4.flowBracketPadding && "" !== n4 ? " " : ""; + return `{${r3}${n4}${r3}}`; + })(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 o4 = 0, r3 = i4.items.length; o4 < r3; o4 += 1) { + const r4 = mi(e4, t4, i4.items[o4], {}); + "" !== n4 && (n4 += "," + (e4.flowSkipCommaSpace ? "" : " ")), n4 += r4; + } + const o3 = e4.flowBracketPadding && "" !== n4 ? " " : ""; + return `[${o3}${n4}${o3}]`; + })(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), o3 = (function(e4, t4, i4, n5, o4) { + const r3 = n5 || !o4; + if (t4.style.singleQuoted) return 2; + if (t4.style.doubleQuoted) return 5; + if (!r3) { + if (t4.style.literal) return 3; + if (t4.style.folded) return 4; } - }), (null === (n3 = null === (i3 = this.shippingOptions) || void 0 === i3 ? void 0 : i3.collectionItems) || void 0 === n3 ? void 0 : n3.length) > 0 && this.shippingOptions.collectionItems.items.forEach((e4) => { - if (e4.isLiteralMode) { - const t4 = e4.type.getPropPrice(e4); - this._setPriceText(t4); + 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, r3, e4.forceQuotes && !n5, o4); + return 1 !== s3 || t4.style.tagged || Zt(e4, a3) === t4.tag ? s3 : "double" === e4.quoteStyle ? 5 : 2; + })(e3, i3, n4, a2, r2); + c2 = (function(e4, t4, i4) { + const { indent: n5, blockIndent: o4, lineWidth: r3 } = i4; + switch (t4) { + case 1: + return li(e4, n5); + case 2: + return `'${li(e4, n5).replace(/'/g, "''")}'`; + case 3: + return "|" + si(e4, o4) + ui(Qt(e4, n5)); + case 4: + return ">" + si(e4, o4) + ui(Qt((function(e5, t5) { + const i5 = /(\n+)([^\n]*)/g; + let n6 = e5.indexOf("\n"); + -1 === n6 && (n6 = e5.length), i5.lastIndex = n6; + let o5, r4, a3 = ci(e5.slice(0, n6), t5), s3 = "\n" === e5[0] || " " === e5[0]; + for (; r4 = i5.exec(e5); ) { + const e6 = r4[1], i6 = r4[2]; + o5 = " " === i6[0], a3 += e6 + (s3 || o5 || "" === i6 ? "" : "\n") + ci(i6, t5), s3 = o5; + } + return a3; + })(e4, r3), n5)); + case 5: + return `"${(function(e5) { + let t5 = "", i5 = 0; + for (let n6 = 0; n6 < e5.length; i5 >= 65536 ? n6 += 2 : n6++) { + i5 = oi(e5, n6); + const o5 = $t[i5]; + o5 ? t5 += o5 : ti(i5) ? (t5 += e5[n6], i5 >= 65536 && (t5 += e5[n6 + 1])) : t5 += Kt(i5); + } + return t5; + })(e4)}"`; } - }); + })(i3.value, o3, n4), d2 = i3.style.tagged || 1 !== o3 && i3.tag !== e3.defaultScalarTagName; } - _setPriceText(e3) { - const t3 = e3.text ? e3.text.split("|")[0] : 0; - e3.setText(t3 + "|" + this.currency.text); + 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, o3 = u2 ? `&${i3.anchor}` : null; + e3.tagBeforeAnchor ? (null !== n4 && t4.push(n4), null !== o3 && t4.push(o3)) : (null !== o3 && t4.push(o3), null !== n4 && t4.push(n4)); + const r3 = "" === c2 || c2.charCodeAt(0) === Jt ? "" : " "; + c2 = `${t4.join(" ")}${r3}${c2}`; } - _validateCurrencyConsistency(e3) { - 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 D.askForPayment.askForPaymentCurrencyMismatch; + 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} +`; } - _getCurrencyCodeFromExpression(e3) { - if (!(null == e3 ? void 0 : e3.text)) return null; - const t3 = e3.text.split("|"); - return 2 === t3.length ? t3[1] : null; - } - _validateContactInformationConsistency(e3) { - var t3, i3; - const n3 = null === (i3 = null === (t3 = this.requiredContactInformation) || void 0 === t3 ? void 0 : t3.collectionItems) || void 0 === i3 ? void 0 : i3.items; - 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 D.askForPayment.askForPaymentDuplicateContactInformationTypes; - } + 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 = "", o2 = false; + for (let t4 = 0; t4 < e3.length; t4 += 1) { + const r2 = e3[t4], a2 = Ti(r2), s2 = "" !== a2, l2 = r2.explicitStart || s2 || t4 > 0 && !o2; + if (n3 += a2, null === r2.contents) l2 && (n3 += "---\n"); + else if (l2) { + const e4 = mi(i3, 0, r2.contents, { block: true, compact: true }); + n3 += `---${"" === e4 ? "" : s2 || gi(r2.contents) ? "\n" : " "}${e4} +`; + } else n3 += mi(i3, 0, r2.contents, { block: true, compact: true }) + "\n"; + o2 = r2.explicitEnd || null !== r2.contents && fi(r2.contents), o2 && (n3 += "...\n"); } - _validateShippingOptionIdentifierConsistency(e3) { - var t3, i3; - if (e3.isLiteralMode) { - 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 D.askForPayment.askForPaymentDuplicateIdentifiers; - } - } + return n3; + } + var Si = oe.withTags(ue(ue({}, w), {}, { resolve: (e3, t3, n3) => { + const o2 = w.resolve(e3, t3, n3); + return o2 === i2 ? I.resolve(e3, t3, n3) : o2; + } }), ue(ue({}, V), {}, { resolve: (e3, t3, n3) => { + const o2 = V.resolve(e3, t3, n3); + return o2 === i2 ? P.resolve(e3, t3, n3) : o2; + } })), 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 Ii(e3, t3) { + return -1 === t3.anchorStart ? void 0 : e3.source.slice(t3.anchorStart, t3.anchorEnd); + } + function Ci(e3, t3) { + const n3 = Ce(e3.source, t3), o2 = vi(e3, t3), r2 = new kt(); + switch (t3.style) { + case 2: + r2.singleQuoted = true; + break; + case 3: + r2.doubleQuoted = true; + break; + case 4: + r2.literal = true; + break; + case 5: + r2.folded = true; } + let a2; + return "" !== o2 ? (r2.tagged = true, a2 = o2) : a2 = 1 === t3.style ? (function(e4, t4) { + var n4; + const { schema: o3 } = e4, r3 = null !== (n4 = o3.implicitScalarByFirstChar.get(t4.charAt(0))) && void 0 !== n4 ? n4 : o3.implicitScalarAnyFirstChar; + for (const e5 of r3) if (e5.resolve(t4, false, e5.tagName) !== i2) return e5.tagName; + return o3.defaultScalarTag.tagName; + })(e3, n3) : e3.schema.defaultScalarTag.tagName, { kind: "scalar", tag: a2, style: r2, anchor: Ii(e3, t3), value: n3 }; } - 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; - function n2(e3, t3) { - return Object.prototype.hasOwnProperty.call(e3, t3); + function Oi(e3, t3, i3) { + const n3 = vi(e3, t3), o2 = new kt(); + let r2; + return 2 === t3.style && (o2.flow = true), "" === n3 ? r2 = i3 : (r2 = n3, o2.tagged = true), { tag: r2, style: o2, anchor: Ii(e3, t3) }; } - t2.assign = function(e3) { - for (var t3 = Array.prototype.slice.call(arguments, 1); t3.length; ) { - var i3 = t3.shift(); - if (i3) { - if ("object" != typeof i3) throw new TypeError(i3 + "must be non-object"); - for (var r3 in i3) n2(i3, r3) && (e3[r3] = i3[r3]); + 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 = qt, t2.YAML11_SCHEMA = oe, t2.YAMLException = he, t2.binaryTag = G, t2.boolCoreTag = m, t2.boolJsonTag = T, t2.boolYaml11Tag = A, t2.constructFromEvents = qe, t2.defineMappingTag = a, t2.defineScalarTag = o, t2.defineSequenceTag = r, 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, qt; + }), 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, Ci(i3, t4)); + break; + case 2: { + const { tag: e4, style: n3, anchor: o2 } = Oi(i3, t4, "tag:yaml.org,2002:seq"), r2 = { kind: "sequence", tag: e4, style: n3, anchor: o2, items: [] }; + i3.frames.push({ kind: "sequence", node: r2 }); + break; + } + case 3: { + const { tag: e4, style: n3, anchor: o2 } = Oi(i3, t4, "tag:yaml.org,2002:map"), r2 = { kind: "mapping", tag: e4, style: n3, anchor: o2, items: [] }; + i3.frames.push({ kind: "mapping", node: r2, 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 e3; - }, t2.shrinkBuf = function(e3, t3) { - return e3.length === t3 ? e3 : e3.subarray ? e3.subarray(0, t3) : (e3.length = t3, e3); - }; - var r2 = { arraySet: function(e3, t3, i3, n3, r3) { - if (t3.subarray && e3.subarray) e3.set(t3.subarray(i3, i3 + n3), r3); - else for (var o2 = 0; o2 < n3; o2++) e3[r3 + o2] = t3[i3 + o2]; - }, flattenChunks: function(e3) { - var t3, i3, n3, r3, o2, a; - for (n3 = 0, t3 = 0, i3 = e3.length; t3 < i3; t3++) n3 += e3[t3].length; - for (a = new Uint8Array(n3), r3 = 0, t3 = 0, i3 = e3.length; t3 < i3; t3++) o2 = e3[t3], a.set(o2, r3), r3 += o2.length; - return a; - } }, o = { arraySet: function(e3, t3, i3, n3, r3) { - for (var o2 = 0; o2 < n3; o2++) e3[r3 + o2] = t3[i3 + o2]; - }, flattenChunks: function(e3) { - return [].concat.apply([], e3); - } }; - t2.setTyped = function(e3) { - e3 ? (t2.Buf8 = Uint8Array, t2.Buf16 = Uint16Array, t2.Buf32 = Int32Array, t2.assign(t2, r2)) : (t2.Buf8 = Array, t2.Buf16 = Array, t2.Buf32 = Array, t2.assign(t2, o)); - }, t2.setTyped(i2); - }, 9819: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(55572)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.detectSilenceActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionDetectSilence() { - return true; - } - } - t2.default = a; - }, 9836: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + return i3.documents; + }, t2.floatCoreTag = P, t2.floatJsonTag = L, t2.floatYaml11Tag = V, t2.getScalarValue = Ce, t2.intCoreTag = I, 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 o2 = xt(e3, i3); + if (null === n3) return o2; + for (const e4 of o2) 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 = re, t2.seqTag = Y, t2.setTag = Q, t2.strTag = s, t2.timestampTag = W, t2.visit = Yt; + }, 56464(e2, t2, i2) { + !(function(e3) { + "use strict"; + var t3 = { standalone: "leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"), format: "ledna_\xFAnora_b\u0159ezna_dubna_kv\u011Btna_\u010Dervna_\u010Dervence_srpna_z\xE1\u0159\xED_\u0159\xEDjna_listopadu_prosince".split("_"), isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/ }, i3 = "led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_"), n2 = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i], o = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; + function r(e4) { + return e4 > 1 && e4 < 5 && 1 != ~~(e4 / 10); } - get displayTypeName() { - return "ArchSettingsActionDefaults"; - } - get isArchSettingsActionDefaults() { - return true; - } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - getDefaultSettingsForActionDefinition(e3) { - return this._checkItemIsArchDefinitionAction(this._infoParm("archDefinitionAction", "getDefaultSettingsForActionDefinition"), e3), this._getCoreViewModel().getDefaultExpressionsForActionType(e3.actionNodeInformation.typeId).map((t3) => this.coreFactory.createArchSettingActionPropertyDefault(e3, t3.options.scriptingPropertyName, t3)); - } - } - t2.default = r2; - }, 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), c = o.getTopic("BaseEventHandlingViewModel"); - class d extends l.default { - constructor(e3, t3) { - super(e3, "errorHandling", t3); - } - get id() { - return "errorHandling"; + function a(e4, t4, i4, n3) { + var o2 = e4 + " "; + switch (i4) { + case "s": + return t4 || n3 ? "p\xE1r sekund" : "p\xE1r sekundami"; + case "ss": + return t4 || n3 ? o2 + (r(e4) ? "sekundy" : "sekund") : o2 + "sekundami"; + case "m": + return t4 ? "minuta" : n3 ? "minutu" : "minutou"; + case "mm": + return t4 || n3 ? o2 + (r(e4) ? "minuty" : "minut") : o2 + "minutami"; + case "h": + return t4 ? "hodina" : n3 ? "hodinu" : "hodinou"; + case "hh": + return t4 || n3 ? o2 + (r(e4) ? "hodiny" : "hodin") : o2 + "hodinami"; + case "d": + return t4 || n3 ? "den" : "dnem"; + case "dd": + return t4 || n3 ? o2 + (r(e4) ? "dny" : "dn\xED") : o2 + "dny"; + case "M": + return t4 || n3 ? "m\u011Bs\xEDc" : "m\u011Bs\xEDcem"; + case "MM": + return t4 || n3 ? o2 + (r(e4) ? "m\u011Bs\xEDce" : "m\u011Bs\xEDc\u016F") : o2 + "m\u011Bs\xEDci"; + case "y": + return t4 || n3 ? "rok" : "rokem"; + case "yy": + return t4 || n3 ? o2 + (r(e4) ? "roky" : "let") : o2 + "lety"; + } } - get className() { - return "BaseEventHandlingViewModel"; + e3.defineLocale("cs", { months: t3, monthsShort: i3, monthsRegex: o, monthsShortRegex: o, monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"), weekdaysShort: "ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"), weekdaysMin: "ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"), longDateFormat: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY H:mm", LLLL: "dddd D. MMMM YYYY H:mm", l: "D. M. YYYY" }, calendar: { sameDay: "[dnes v] LT", nextDay: "[z\xEDtra v] LT", nextWeek: function() { + switch (this.day()) { + case 0: + return "[v ned\u011Bli v] LT"; + case 1: + case 2: + return "[v] dddd [v] LT"; + case 3: + return "[ve st\u0159edu v] LT"; + case 4: + return "[ve \u010Dtvrtek v] LT"; + case 5: + return "[v p\xE1tek v] LT"; + case 6: + return "[v sobotu v] LT"; + } + }, lastDay: "[v\u010Dera v] LT", lastWeek: function() { + switch (this.day()) { + case 0: + return "[minulou ned\u011Bli v] LT"; + case 1: + case 2: + return "[minul\xE9] dddd [v] LT"; + case 3: + return "[minulou st\u0159edu v] LT"; + case 4: + case 5: + return "[minul\xFD] dddd [v] LT"; + case 6: + return "[minulou sobotu v] LT"; + } + }, sameElse: "L" }, relativeTime: { future: "za %s", past: "p\u0159ed %s", s: a, ss: a, m: a, mm: a, h: a, hh: a, d: a, dd: a, M: a, MM: a, y: a, yy: a }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: "%d.", week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 77853(e2, t2, i2) { + !(function(e3) { + "use strict"; + var t3 = [/^jan/i, /^feb/i, /^mär/i, /^apr/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dez/i], i3 = /^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember|Jan\.?|Feb\.?|Mär\.?|Apr\.?|Jun\.?|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i; + function n2(e4, t4, i4, n3) { + var o = { m: ["eine Minute", "einer Minute"], h: ["eine Stunde", "einer Stunde"], d: ["ein Tag", "einem Tag"], dd: [e4 + " Tage", e4 + " Tagen"], w: ["eine Woche", "einer Woche"], M: ["ein Monat", "einem Monat"], MM: [e4 + " Monate", e4 + " Monaten"], y: ["ein Jahr", "einem Jahr"], yy: [e4 + " Jahre", e4 + " Jahren"] }; + return t4 ? o[i4][0] : o[i4][1]; } - updateDependencies() { - r2.default.each(this.managedPropertyViewModels, (e3) => { - e3.isExpression ? s.registerExpression(e3, true) : e3.updateDependencies(); - }); + e3.defineLocale("de", { months: "Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"), monthsRegex: i3, monthsShortRegex: i3, monthsStrictRegex: /^(Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)/i, monthsShortStrictRegex: /^(Jan\.?|Feb\.?|März|Mär\.?|Apr\.?|Mai|Juni|Jun\.?|Juli|Jul\.?|Aug\.?|Sep\.?|Okt\.?|Nov\.?|Dez\.?)/i, monthsParse: t3, longMonthsParse: t3, shortMonthsParse: t3, weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY HH:mm", LLLL: "dddd, D. MMMM YYYY HH:mm" }, calendar: { sameDay: "[heute um] LT [Uhr]", sameElse: "L", nextDay: "[morgen um] LT [Uhr]", nextWeek: "dddd [um] LT [Uhr]", lastDay: "[gestern um] LT [Uhr]", lastWeek: "[letzten] dddd [um] LT [Uhr]" }, relativeTime: { future: "in %s", past: "vor %s", s: "ein paar Sekunden", ss: "%d Sekunden", m: n2, mm: "%d Minuten", h: n2, hh: "%d Stunden", d: n2, dd: n2, w: n2, ww: "%d Wochen", M: n2, MM: n2, y: n2, yy: n2 }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: "%d.", week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 97650(e2, t2, i2) { + !(function(e3) { + "use strict"; + var t3 = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"), i3 = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), n2 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i], o = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + e3.defineLocale("es", { months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), monthsShort: function(e4, n3) { + return e4 ? /-MMM-/.test(n3) ? i3[e4.month()] : t3[e4.month()] : t3; + }, monthsRegex: o, monthsShortRegex: o, monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"), weekdaysShort: "dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_s\xE1".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, calendar: { sameDay: function() { + return "[hoy a la" + (1 !== this.hours() ? "s" : "") + "] LT"; + }, nextDay: function() { + return "[ma\xF1ana a la" + (1 !== this.hours() ? "s" : "") + "] LT"; + }, nextWeek: function() { + return "dddd [a la" + (1 !== this.hours() ? "s" : "") + "] LT"; + }, lastDay: function() { + return "[ayer a la" + (1 !== this.hours() ? "s" : "") + "] LT"; + }, lastWeek: function() { + return "[el] dddd [pasado a la" + (1 !== this.hours() ? "s" : "") + "] LT"; + }, sameElse: "L" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", ss: "%d segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un d\xEDa", dd: "%d d\xEDas", w: "una semana", ww: "%d semanas", M: "un mes", MM: "%d meses", y: "un a\xF1o", yy: "%d a\xF1os" }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: "%d\xBA", week: { dow: 1, doy: 4 }, invalidDate: "Fecha inv\xE1lida" }); + })(i2(95093)); + }, 26435(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("fr-ca", { months: "janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"), monthsShort: "janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"), monthsParseExact: true, weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY-MM-DD", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, calendar: { sameDay: "[Aujourd\u2019hui \xE0] LT", nextDay: "[Demain \xE0] LT", nextWeek: "dddd [\xE0] LT", lastDay: "[Hier \xE0] LT", lastWeek: "dddd [dernier \xE0] LT", sameElse: "L" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", ss: "%d secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, ordinal: function(e4, t3) { + switch (t3) { + default: + case "M": + case "Q": + case "D": + case "DDD": + case "d": + return e4 + (1 === e4 ? "er" : "e"); + case "w": + case "W": + return e4 + (1 === e4 ? "re" : "e"); + } + } }); + })(i2(95093)); + }, 88383(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("it", { months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), weekdays: "domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, calendar: { sameDay: function() { + return "[Oggi a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; + }, nextDay: function() { + return "[Domani a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; + }, nextWeek: function() { + return "dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; + }, lastDay: function() { + return "[Ieri a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; + }, lastWeek: function() { + return 0 === this.day() ? "[La scorsa] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT" : "[Lo scorso] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; + }, sameElse: "L" }, relativeTime: { future: "tra %s", past: "%s fa", s: "alcuni secondi", ss: "%d secondi", m: "un minuto", mm: "%d minuti", h: "un'ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", w: "una settimana", ww: "%d settimane", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: "%d\xBA", week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 23827(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("ja", { eras: [{ since: "2019-05-01", offset: 1, name: "\u4EE4\u548C", narrow: "\u32FF", abbr: "R" }, { since: "1989-01-08", until: "2019-04-30", offset: 1, name: "\u5E73\u6210", narrow: "\u337B", abbr: "H" }, { since: "1926-12-25", until: "1989-01-07", offset: 1, name: "\u662D\u548C", narrow: "\u337C", abbr: "S" }, { since: "1912-07-30", until: "1926-12-24", offset: 1, name: "\u5927\u6B63", narrow: "\u337D", abbr: "T" }, { since: "1873-01-01", until: "1912-07-29", offset: 6, name: "\u660E\u6CBB", narrow: "\u337E", abbr: "M" }, { since: "0001-01-01", until: "1873-12-31", offset: 1, name: "\u897F\u66A6", narrow: "AD", abbr: "AD" }, { since: "0000-12-31", until: -1 / 0, offset: 1, name: "\u7D00\u5143\u524D", narrow: "BC", abbr: "BC" }], eraYearOrdinalRegex: /(元|\d+)年/, eraYearOrdinalParse: function(e4, t3) { + return "\u5143" === t3[1] ? 1 : parseInt(t3[1] || e4, 10); + }, months: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), weekdays: "\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"), weekdaysShort: "\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"), weekdaysMin: "\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY\u5E74M\u6708D\u65E5", LLL: "YYYY\u5E74M\u6708D\u65E5 HH:mm", LLLL: "YYYY\u5E74M\u6708D\u65E5 dddd HH:mm", l: "YYYY/MM/DD", ll: "YYYY\u5E74M\u6708D\u65E5", lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm", llll: "YYYY\u5E74M\u6708D\u65E5(ddd) HH:mm" }, meridiemParse: /午前|午後/i, isPM: function(e4) { + return "\u5348\u5F8C" === e4; + }, meridiem: function(e4, t3, i3) { + return e4 < 12 ? "\u5348\u524D" : "\u5348\u5F8C"; + }, calendar: { sameDay: "[\u4ECA\u65E5] LT", nextDay: "[\u660E\u65E5] LT", nextWeek: function(e4) { + return e4.week() !== this.week() ? "[\u6765\u9031]dddd LT" : "dddd LT"; + }, lastDay: "[\u6628\u65E5] LT", lastWeek: function(e4) { + return this.week() !== e4.week() ? "[\u5148\u9031]dddd LT" : "dddd LT"; + }, sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}日/, ordinal: function(e4, t3) { + switch (t3) { + case "y": + return 1 === e4 ? "\u5143\u5E74" : e4 + "\u5E74"; + case "d": + case "D": + case "DDD": + return e4 + "\u65E5"; + default: + return e4; + } + }, relativeTime: { future: "%s\u5F8C", past: "%s\u524D", s: "\u6570\u79D2", ss: "%d\u79D2", m: "1\u5206", mm: "%d\u5206", h: "1\u6642\u9593", hh: "%d\u6642\u9593", d: "1\u65E5", dd: "%d\u65E5", M: "1\u30F6\u6708", MM: "%d\u30F6\u6708", y: "1\u5E74", yy: "%d\u5E74" } }); + })(i2(95093)); + }, 63164(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("ko", { months: "1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"), monthsShort: "1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"), weekdays: "\uC77C\uC694\uC77C_\uC6D4\uC694\uC77C_\uD654\uC694\uC77C_\uC218\uC694\uC77C_\uBAA9\uC694\uC77C_\uAE08\uC694\uC77C_\uD1A0\uC694\uC77C".split("_"), weekdaysShort: "\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"), weekdaysMin: "\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"), longDateFormat: { LT: "A h:mm", LTS: "A h:mm:ss", L: "YYYY.MM.DD.", LL: "YYYY\uB144 MMMM D\uC77C", LLL: "YYYY\uB144 MMMM D\uC77C A h:mm", LLLL: "YYYY\uB144 MMMM D\uC77C dddd A h:mm", l: "YYYY.MM.DD.", ll: "YYYY\uB144 MMMM D\uC77C", lll: "YYYY\uB144 MMMM D\uC77C A h:mm", llll: "YYYY\uB144 MMMM D\uC77C dddd A h:mm" }, calendar: { sameDay: "\uC624\uB298 LT", nextDay: "\uB0B4\uC77C LT", nextWeek: "dddd LT", lastDay: "\uC5B4\uC81C LT", lastWeek: "\uC9C0\uB09C\uC8FC dddd LT", sameElse: "L" }, relativeTime: { future: "%s \uD6C4", past: "%s \uC804", s: "\uBA87 \uCD08", ss: "%d\uCD08", m: "1\uBD84", mm: "%d\uBD84", h: "\uD55C \uC2DC\uAC04", hh: "%d\uC2DC\uAC04", d: "\uD558\uB8E8", dd: "%d\uC77C", M: "\uD55C \uB2EC", MM: "%d\uB2EC", y: "\uC77C \uB144", yy: "%d\uB144" }, dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, ordinal: function(e4, t3) { + switch (t3) { + case "d": + case "D": + case "DDD": + return e4 + "\uC77C"; + case "M": + return e4 + "\uC6D4"; + case "w": + case "W": + return e4 + "\uC8FC"; + default: + return e4; + } + }, meridiemParse: /오전|오후/, isPM: function(e4) { + return "\uC624\uD6C4" === e4; + }, meridiem: function(e4, t3, i3) { + return e4 < 12 ? "\uC624\uC804" : "\uC624\uD6C4"; + } }); + })(i2(95093)); + }, 22274(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: "\xE9n time", hh: "%d timer", d: "\xE9n dag", dd: "%d dager", w: "\xE9n uke", ww: "%d uker", M: "\xE9n 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)); + }, 92572(e2, t2, i2) { + !(function(e3) { + "use strict"; + var t3 = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"), i3 = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"), n2 = [/^jan/i, /^feb/i, /^(maart|mrt\.?)$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i], o = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + e3.defineLocale("nl", { months: "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"), monthsShort: function(e4, n3) { + return e4 ? /-MMM-/.test(n3) ? i3[e4.month()] : t3[e4.month()] : t3; + }, monthsRegex: o, monthsShortRegex: o, monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"), weekdaysShort: "zo._ma._di._wo._do._vr._za.".split("_"), weekdaysMin: "zo_ma_di_wo_do_vr_za".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD-MM-YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, calendar: { sameDay: "[vandaag om] LT", nextDay: "[morgen om] LT", nextWeek: "dddd [om] LT", lastDay: "[gisteren om] LT", lastWeek: "[afgelopen] dddd [om] LT", sameElse: "L" }, relativeTime: { future: "over %s", past: "%s geleden", s: "een paar seconden", ss: "%d seconden", m: "\xE9\xE9n minuut", mm: "%d minuten", h: "\xE9\xE9n uur", hh: "%d uur", d: "\xE9\xE9n dag", dd: "%d dagen", w: "\xE9\xE9n week", ww: "%d weken", M: "\xE9\xE9n maand", MM: "%d maanden", y: "\xE9\xE9n jaar", yy: "%d jaar" }, dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, ordinal: function(e4) { + return e4 + (1 === e4 || 8 === e4 || e4 >= 20 ? "ste" : "de"); + }, week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 94418(e2, t2, i2) { + !(function(e3) { + "use strict"; + var t3 = "stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017Adziernik_listopad_grudzie\u0144".split("_"), i3 = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015Bnia_pa\u017Adziernika_listopada_grudnia".split("_"), n2 = [/^sty/i, /^lut/i, /^mar/i, /^kwi/i, /^maj/i, /^cze/i, /^lip/i, /^sie/i, /^wrz/i, /^paź/i, /^lis/i, /^gru/i]; + function o(e4) { + return e4 % 10 < 5 && e4 % 10 > 1 && ~~(e4 / 10) % 10 != 1; } - getDisplayName() { - return u.customNodes.eventHandling.label; + function r(e4, t4, i4) { + var n3 = e4 + " "; + switch (i4) { + case "ss": + return n3 + (o(e4) ? "sekundy" : "sekund"); + case "m": + return t4 ? "minuta" : "minut\u0119"; + case "mm": + return n3 + (o(e4) ? "minuty" : "minut"); + case "h": + return t4 ? "godzina" : "godzin\u0119"; + case "hh": + return n3 + (o(e4) ? "godziny" : "godzin"); + case "ww": + return n3 + (o(e4) ? "tygodnie" : "tygodni"); + case "MM": + return n3 + (o(e4) ? "miesi\u0105ce" : "miesi\u0119cy"); + case "yy": + return n3 + (o(e4) ? "lata" : "lat"); + } } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - let i3 = {}; - 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"); - } - return r2.default.extend(i3, super.getConfiguration(e3, t3)), i3; + e3.defineLocale("pl", { months: function(e4, n3) { + return e4 ? /D\.? MMMM/.test(n3) ? i3[e4.month()] : t3[e4.month()] : t3; + }, monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017A_lis_gru".split("_"), monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "niedziela_poniedzia\u0142ek_wtorek_\u015Broda_czwartek_pi\u0105tek_sobota".split("_"), weekdaysShort: "ndz_pon_wt_\u015Br_czw_pt_sob".split("_"), weekdaysMin: "Nd_Pn_Wt_\u015Ar_Cz_Pt_So".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" }, calendar: { sameDay: "[Dzi\u015B o] LT", nextDay: "[Jutro o] LT", nextWeek: function() { + switch (this.day()) { + case 0: + return "[W niedziel\u0119 o] LT"; + case 2: + return "[We wtorek o] LT"; + case 3: + return "[W \u015Brod\u0119 o] LT"; + case 6: + return "[W sobot\u0119 o] LT"; + default: + return "[W] dddd [o] LT"; } - super.getConfiguration(e3, t3), e3.errorHandling.handlingType = this.handlingType; + }, lastDay: "[Wczoraj o] LT", lastWeek: function() { + switch (this.day()) { + case 0: + return "[W zesz\u0142\u0105 niedziel\u0119 o] LT"; + case 3: + return "[W zesz\u0142\u0105 \u015Brod\u0119 o] LT"; + case 6: + return "[W zesz\u0142\u0105 sobot\u0119 o] LT"; + default: + return "[W zesz\u0142y] dddd [o] LT"; + } + }, sameElse: "L" }, relativeTime: { future: "za %s", past: "%s temu", s: "kilka sekund", ss: r, m: r, mm: r, h: r, hh: r, d: "1 dzie\u0144", dd: "%d dni", w: "tydzie\u0144", ww: r, M: "miesi\u0105c", MM: r, y: "rok", yy: r }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: "%d.", week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 48303(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("pt-br", { months: "janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"), monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"), weekdays: "domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"), weekdaysShort: "dom_seg_ter_qua_qui_sex_s\xE1b".split("_"), weekdaysMin: "do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_s\xE1".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY [\xE0s] HH:mm", LLLL: "dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm" }, calendar: { sameDay: function() { + return "[Hoje " + (this.hours() >= 2 ? "\xE0s" : "\xE0") + "] LT"; + }, nextDay: function() { + return "[Amanh\xE3 " + (this.hours() >= 2 ? "\xE0s" : "\xE0") + "] LT"; + }, nextWeek: function() { + return "dddd [" + (this.hours() >= 2 ? "\xE0s" : "\xE0") + "] LT"; + }, lastDay: function() { + return "[Ontem " + (this.hours() >= 2 ? "\xE0s" : "\xE0") + "] LT"; + }, lastWeek: function() { + return 0 === this.day() || 6 === this.day() ? "[\xDAltimo] dddd [" + (this.hours() >= 2 ? "\xE0s" : "\xE0") + "] LT" : "[\xDAltima] dddd [" + (this.hours() >= 2 ? "\xE0s" : "\xE0") + "] LT"; + }, sameElse: "L" }, relativeTime: { future: "em %s", past: "h\xE1 %s", s: "poucos segundos", ss: "%d segundos", m: "um minuto", mm: "%d minutos", h: "uma hora", hh: "%d horas", d: "um dia", dd: "%d dias", M: "um m\xEAs", MM: "%d meses", y: "um ano", yy: "%d anos" }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: "%d\xBA", invalidDate: "Data inv\xE1lida" }); + })(i2(95093)); + }, 82271(e2, t2, i2) { + !(function(e3) { + "use strict"; + function t3(e4, t4, i4) { + return "m" === i4 ? t4 ? "\u043C\u0438\u043D\u0443\u0442\u0430" : "\u043C\u0438\u043D\u0443\u0442\u0443" : e4 + " " + (n2 = +e4, o = { ss: t4 ? "\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434" : "\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434", mm: t4 ? "\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442" : "\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442", hh: "\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432", dd: "\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439", ww: "\u043D\u0435\u0434\u0435\u043B\u044F_\u043D\u0435\u0434\u0435\u043B\u0438_\u043D\u0435\u0434\u0435\u043B\u044C", MM: "\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432", yy: "\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442" }[i4].split("_"), n2 % 10 == 1 && n2 % 100 != 11 ? o[0] : n2 % 10 >= 2 && n2 % 10 <= 4 && (n2 % 100 < 10 || n2 % 100 >= 20) ? o[1] : o[2]); + var n2, o; } - getConfigurationForHandlingProperty(e3, t3, i3, n3) { - var o2, s2; - const l2 = {}, u2 = l2[i3.scriptingName] = {}; + var i3 = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; + e3.defineLocale("ru", { months: { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") }, monthsShort: { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") }, weekdays: { standalone: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"), format: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/ }, weekdaysShort: "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"), weekdaysMin: "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"), monthsParse: i3, longMonthsParse: i3, shortMonthsParse: i3, monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, longDateFormat: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY \u0433.", LLL: "D MMMM YYYY \u0433., H:mm", LLLL: "dddd, D MMMM YYYY \u0433., H:mm" }, calendar: { sameDay: "[\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432] LT", nextDay: "[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT", lastDay: "[\u0412\u0447\u0435\u0440\u0430, \u0432] LT", nextWeek: function(e4) { + if (e4.week() === this.week()) return 2 === this.day() ? "[\u0412\u043E] dddd, [\u0432] LT" : "[\u0412] dddd, [\u0432] LT"; + switch (this.day()) { + case 0: + return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd, [\u0432] LT"; + case 1: + case 2: + case 4: + return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd, [\u0432] LT"; + case 3: + case 5: + case 6: + return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd, [\u0432] LT"; + } + }, lastWeek: function(e4) { + if (e4.week() === this.week()) return 2 === this.day() ? "[\u0412\u043E] dddd, [\u0432] LT" : "[\u0412] dddd, [\u0432] LT"; + switch (this.day()) { + case 0: + return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd, [\u0432] LT"; + case 1: + case 2: + case 4: + return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd, [\u0432] LT"; + case 3: + case 5: + case 6: + return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd, [\u0432] LT"; + } + }, sameElse: "L" }, relativeTime: { future: "\u0447\u0435\u0440\u0435\u0437 %s", past: "%s \u043D\u0430\u0437\u0430\u0434", s: "\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434", ss: t3, m: t3, mm: t3, h: "\u0447\u0430\u0441", hh: t3, d: "\u0434\u0435\u043D\u044C", dd: t3, w: "\u043D\u0435\u0434\u0435\u043B\u044F", ww: t3, M: "\u043C\u0435\u0441\u044F\u0446", MM: t3, y: "\u0433\u043E\u0434", yy: t3 }, meridiemParse: /ночи|утра|дня|вечера/i, isPM: function(e4) { + return /^(дня|вечера)$/.test(e4); + }, meridiem: function(e4, t4, i4) { + return e4 < 4 ? "\u043D\u043E\u0447\u0438" : e4 < 12 ? "\u0443\u0442\u0440\u0430" : e4 < 17 ? "\u0434\u043D\u044F" : "\u0432\u0435\u0447\u0435\u0440\u0430"; + }, dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, ordinal: function(e4, t4) { + switch (t4) { + case "M": + case "d": + case "DDD": + return e4 + "-\u0439"; + case "D": + return e4 + "-\u0433\u043E"; + case "w": + case "W": + return e4 + "-\u044F"; + default: + return e4; + } + }, week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 41011(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("sv", { months: "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"), monthsShort: "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"), weekdays: "s\xF6ndag_m\xE5ndag_tisdag_onsdag_torsdag_fredag_l\xF6rdag".split("_"), weekdaysShort: "s\xF6n_m\xE5n_tis_ons_tors_fre_l\xF6r".split("_"), weekdaysMin: "s\xF6_m\xE5_ti_on_to_fr_l\xF6".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY-MM-DD", LL: "D MMMM YYYY", LLL: "D MMMM YYYY [kl.] HH:mm", LLLL: "dddd D MMMM YYYY [kl.] HH:mm", lll: "D MMM YYYY HH:mm", llll: "ddd D MMM YYYY HH:mm" }, calendar: { sameDay: "[Idag] LT", nextDay: "[Imorgon] LT", lastDay: "[Ig\xE5r] LT", nextWeek: "[P\xE5] dddd LT", lastWeek: "[I] dddd[s] LT", sameElse: "L" }, relativeTime: { future: "om %s", past: "f\xF6r %s sedan", s: "n\xE5gra sekunder", ss: "%d sekunder", m: "en minut", mm: "%d minuter", h: "en timme", hh: "%d timmar", d: "en dag", dd: "%d dagar", M: "en m\xE5nad", MM: "%d m\xE5nader", y: "ett \xE5r", yy: "%d \xE5r" }, dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, ordinal: function(e4) { + var t3 = e4 % 10; + return e4 + (1 == ~~(e4 % 100 / 10) ? ":e" : 1 === t3 || 2 === t3 ? ":a" : ":e"); + }, week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 85096(e2, t2, i2) { + !(function(e3) { + "use strict"; + var t3 = { 1: "'inci", 5: "'inci", 8: "'inci", 70: "'inci", 80: "'inci", 2: "'nci", 7: "'nci", 20: "'nci", 50: "'nci", 3: "'\xFCnc\xFC", 4: "'\xFCnc\xFC", 100: "'\xFCnc\xFC", 6: "'nc\u0131", 9: "'uncu", 10: "'uncu", 30: "'uncu", 60: "'\u0131nc\u0131", 90: "'\u0131nc\u0131" }; + e3.defineLocale("tr", { months: "Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"), monthsShort: "Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"), weekdays: "Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"), weekdaysShort: "Paz_Pzt_Sal_\xC7ar_Per_Cum_Cmt".split("_"), weekdaysMin: "Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"), meridiem: function(e4, t4, i3) { + return e4 < 12 ? i3 ? "\xF6\xF6" : "\xD6\xD6" : i3 ? "\xF6s" : "\xD6S"; + }, meridiemParse: /öö|ÖÖ|ös|ÖS/, isPM: function(e4) { + return "\xF6s" === e4 || "\xD6S" === e4; + }, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" }, calendar: { sameDay: "[bug\xFCn saat] LT", nextDay: "[yar\u0131n saat] LT", nextWeek: "[gelecek] dddd [saat] LT", lastDay: "[d\xFCn] LT", lastWeek: "[ge\xE7en] dddd [saat] LT", sameElse: "L" }, relativeTime: { future: "%s sonra", past: "%s \xF6nce", s: "birka\xE7 saniye", ss: "%d saniye", m: "bir dakika", mm: "%d dakika", h: "bir saat", hh: "%d saat", d: "bir g\xFCn", dd: "%d g\xFCn", w: "bir hafta", ww: "%d hafta", M: "bir ay", MM: "%d ay", y: "bir y\u0131l", yy: "%d y\u0131l" }, ordinal: function(e4, i3) { switch (i3) { - case a.default.Disconnect: - break; - case a.default.Queue: - u2.targetQueue = this.queue.getConfiguration(e3, t3); - break; - case a.default.Menu: - const l3 = null === (o2 = this.menuProperty) || void 0 === o2 ? void 0 : o2.getReferenceViewModel(); - r2.default.isNullOrUndefined(l3) || (u2.targetMenuRef = l3.yamlPath); - break; - case a.default.Task: - 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: - const _ = null === (s2 = this.stateProperty) || void 0 === s2 ? void 0 : s2.getReferenceViewModel(); - r2.default.isNullOrUndefined(_) || (u2.targetStateRef = _.yamlPath); - break; - case a.default.EndFlow: - case a.default.EndInQueueState: - case a.default.EndWorkflow: - case a.default.Exit: - case a.default.AbortSend: - case a.default.CompleteSend: - break; + case "d": + case "D": + case "Do": + case "DD": + return e4; default: - const h = `Matching handlingProperty not found for handling type value '${i3}'`; - throw c.exceptionWithErrorObjectInfo(null, h, i3), h; + if (0 === e4) return e4 + "'\u0131nc\u0131"; + var n2 = e4 % 10; + return e4 + (t3[n2] || t3[e4 % 100 - n2] || t3[e4 >= 100 ? 100 : null]); } - return r2.default.ensureYamlNoneTrue(u2), l2; - } - get handlingType() { - return this._handlingType; - } - set handlingType(e3) { - this._handlingType = e3; - } - get wrappedYamlName() { - return "settingsErrorHandling"; - } - loadConfiguration(e3) { - super.loadConfiguration(e3), e3.errorHandling.handlingType && (this.handlingType = e3.errorHandling.handlingType); - } - get nodeGuxIcon() { - return "fa/ticket-regular"; - } + }, week: { dow: 1, doy: 7 } }); + })(i2(95093)); + }, 52648(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("zh-cn", { months: "\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"), monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), weekdays: "\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"), weekdaysShort: "\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"), weekdaysMin: "\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY\u5E74M\u6708D\u65E5", LLL: "YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206", LLLL: "YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206", l: "YYYY/M/D", ll: "YYYY\u5E74M\u6708D\u65E5", lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm", llll: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm" }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function(e4, t3) { + return 12 === e4 && (e4 = 0), "\u51CC\u6668" === t3 || "\u65E9\u4E0A" === t3 || "\u4E0A\u5348" === t3 ? e4 : "\u4E0B\u5348" === t3 || "\u665A\u4E0A" === t3 ? e4 + 12 : e4 >= 11 ? e4 : e4 + 12; + }, meridiem: function(e4, t3, i3) { + var n2 = 100 * e4 + t3; + return n2 < 600 ? "\u51CC\u6668" : n2 < 900 ? "\u65E9\u4E0A" : n2 < 1130 ? "\u4E0A\u5348" : n2 < 1230 ? "\u4E2D\u5348" : n2 < 1800 ? "\u4E0B\u5348" : "\u665A\u4E0A"; + }, calendar: { sameDay: "[\u4ECA\u5929]LT", nextDay: "[\u660E\u5929]LT", nextWeek: function(e4) { + return e4.week() !== this.week() ? "[\u4E0B]dddLT" : "[\u672C]dddLT"; + }, lastDay: "[\u6628\u5929]LT", lastWeek: function(e4) { + return this.week() !== e4.week() ? "[\u4E0A]dddLT" : "[\u672C]dddLT"; + }, sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, ordinal: function(e4, t3) { + switch (t3) { + case "d": + case "D": + case "DDD": + return e4 + "\u65E5"; + case "M": + return e4 + "\u6708"; + case "w": + case "W": + return e4 + "\u5468"; + default: + return e4; + } + }, relativeTime: { future: "%s\u540E", past: "%s\u524D", s: "\u51E0\u79D2", ss: "%d \u79D2", m: "1 \u5206\u949F", mm: "%d \u5206\u949F", h: "1 \u5C0F\u65F6", hh: "%d \u5C0F\u65F6", d: "1 \u5929", dd: "%d \u5929", w: "1 \u5468", ww: "%d \u5468", M: "1 \u4E2A\u6708", MM: "%d \u4E2A\u6708", y: "1 \u5E74", yy: "%d \u5E74" }, week: { dow: 1, doy: 4 } }); + })(i2(95093)); + }, 50304(e2, t2, i2) { + !(function(e3) { + "use strict"; + e3.defineLocale("zh-tw", { months: "\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"), monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), weekdays: "\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"), weekdaysShort: "\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"), weekdaysMin: "\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY\u5E74M\u6708D\u65E5", LLL: "YYYY\u5E74M\u6708D\u65E5 HH:mm", LLLL: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm", l: "YYYY/M/D", ll: "YYYY\u5E74M\u6708D\u65E5", lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm", llll: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm" }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function(e4, t3) { + return 12 === e4 && (e4 = 0), "\u51CC\u6668" === t3 || "\u65E9\u4E0A" === t3 || "\u4E0A\u5348" === t3 ? e4 : "\u4E2D\u5348" === t3 ? e4 >= 11 ? e4 : e4 + 12 : "\u4E0B\u5348" === t3 || "\u665A\u4E0A" === t3 ? e4 + 12 : void 0; + }, meridiem: function(e4, t3, i3) { + var n2 = 100 * e4 + t3; + return n2 < 600 ? "\u51CC\u6668" : n2 < 900 ? "\u65E9\u4E0A" : n2 < 1130 ? "\u4E0A\u5348" : n2 < 1230 ? "\u4E2D\u5348" : n2 < 1800 ? "\u4E0B\u5348" : "\u665A\u4E0A"; + }, calendar: { sameDay: "[\u4ECA\u5929] LT", nextDay: "[\u660E\u5929] LT", nextWeek: "[\u4E0B]dddd LT", lastDay: "[\u6628\u5929] LT", lastWeek: "[\u4E0A]dddd LT", sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, ordinal: function(e4, t3) { + switch (t3) { + case "d": + case "D": + case "DDD": + return e4 + "\u65E5"; + case "M": + return e4 + "\u6708"; + case "w": + case "W": + return e4 + "\u9031"; + default: + return e4; + } + }, relativeTime: { future: "%s\u5F8C", past: "%s\u524D", s: "\u5E7E\u79D2", ss: "%d \u79D2", m: "1 \u5206\u9418", mm: "%d \u5206\u9418", h: "1 \u5C0F\u6642", hh: "%d \u5C0F\u6642", d: "1 \u5929", dd: "%d \u5929", M: "1 \u500B\u6708", MM: "%d \u500B\u6708", y: "1 \u5E74", yy: "%d \u5E74" } }); + })(i2(95093)); + }, 35133(e2, t2, i2) { + const n2 = { "./cs.js": 56464, "./de.js": 77853, "./es.js": 97650, "./fr-ca.js": 26435, "./it.js": 88383, "./ja.js": 23827, "./ko.js": 63164, "./nb.js": 22274, "./nl.js": 92572, "./pl.js": 94418, "./pt-br.js": 48303, "./ru.js": 82271, "./sv.js": 41011, "./tr.js": 85096, "./zh-cn.js": 52648, "./zh-tw.js": 50304, "moment/locale/cs.js": 56464, "moment/locale/de.js": 77853, "moment/locale/es.js": 97650, "moment/locale/fr-ca.js": 26435, "moment/locale/it.js": 88383, "moment/locale/ja.js": 23827, "moment/locale/ko.js": 63164, "moment/locale/nb.js": 22274, "moment/locale/nl.js": 92572, "moment/locale/pl.js": 94418, "moment/locale/pt-br.js": 48303, "moment/locale/ru.js": 82271, "moment/locale/sv.js": 41011, "moment/locale/tr.js": 85096, "moment/locale/zh-cn.js": 52648, "moment/locale/zh-tw.js": 50304, "node_modules/moment/locale/cs.js": 56464, "node_modules/moment/locale/de.js": 77853, "node_modules/moment/locale/es.js": 97650, "node_modules/moment/locale/fr-ca.js": 26435, "node_modules/moment/locale/it.js": 88383, "node_modules/moment/locale/ja.js": 23827, "node_modules/moment/locale/ko.js": 63164, "node_modules/moment/locale/nb.js": 22274, "node_modules/moment/locale/nl.js": 92572, "node_modules/moment/locale/pl.js": 94418, "node_modules/moment/locale/pt-br.js": 48303, "node_modules/moment/locale/ru.js": 82271, "node_modules/moment/locale/sv.js": 41011, "node_modules/moment/locale/tr.js": 85096, "node_modules/moment/locale/zh-cn.js": 52648, "node_modules/moment/locale/zh-tw.js": 50304 }; + function o(e3) { + const t3 = r(e3); + return i2(t3); } - t2.BaseEventHandlingViewModel = d; - }, 10125: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.outboundFlowListManager = t2.OutboundFlowListManager = void 0; - const n2 = i2(89986), r2 = i2(6109), o = i2(96618), a = i2(24032), s = i2(27862); - class l extends r2.FlowListManager { - get dependencyType() { - return s.OutboundCallFlow; - } - constructor() { - super(), this.topic = (0, a.getTopic)("outboundFlowListManager"), this.briefManager = n2.briefOutboundFlowListManager, this.additionalQueryParams = { type: o.flowTypes.flowTypeOutboundCall }, this.className = "OutboundFlowListManager", this.flowType = o.flowTypes.flowTypeOutboundCall, this._initialize(); + function r(e3) { + if (!i2.o(n2, e3)) { + const t3 = new Error("Cannot find module '" + e3 + "'"); + throw t3.code = "MODULE_NOT_FOUND", t3; } + return n2[e3]; } - t2.OutboundFlowListManager = l, t2.outboundFlowListManager = new l(); - }, 10135: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07", noInputReceived: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E14\u0E40\u0E25\u0E22" }, askForBoolean: { noInput: '\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D \u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D', noMatch: '\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48', question: "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", noInputDigitalBot: '\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "Yes" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D \u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "No" \u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D', noMatchDigitalBot: '\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48' }, askForIntent: { noInput: '\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04\u0E2A\u0E31\u0E49\u0E19\u0E46 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E40\u0E0A\u0E48\u0E19 "\u0E40\u0E0A\u0E47\u0E04\u0E22\u0E2D\u0E14\u0E04\u0E07\u0E40\u0E2B\u0E25\u0E37\u0E2D"', noMatch: "\u0E0A\u0E48\u0E27\u0E22\u0E1A\u0E2D\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E33\u0E2D\u0E30\u0E44\u0E23", question: "\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E33\u0E2D\u0E30\u0E44\u0E23", noInputDigitalBot: '\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04\u0E2A\u0E31\u0E49\u0E19\u0E46 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E40\u0E0A\u0E48\u0E19 "\u0E40\u0E0A\u0E47\u0E04\u0E22\u0E2D\u0E14\u0E04\u0E07\u0E40\u0E2B\u0E25\u0E37\u0E2D"' }, askForSlot: { askFor: "\u0E02\u0E2D %1$s", noInput: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E34\u0E21\u0E1E\u0E4C (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", noInputWithSlot: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E34\u0E21\u0E1E\u0E4C %1$s", noMatch: "\u0E42\u0E1B\u0E23\u0E14\u0E1A\u0E2D\u0E01 (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48) \u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", noMatchWithSlot: "\u0E42\u0E1B\u0E23\u0E14\u0E1A\u0E2D\u0E01 %1$s \u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", question: "\u0E2D\u0E30\u0E44\u0E23\u0E04\u0E37\u0E2D (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", questionWithSlot: "%1$s \u0E04\u0E37\u0E2D\u0E2D\u0E30\u0E44\u0E23", pleaseEnterSlotNameHere: "(\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38 (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", noInputWithSlotDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38 %1$s", continuationPromptWithSlot: "\u0E09\u0E31\u0E19\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A {{Slot.%1$s}} \u0E21\u0E32\u0E41\u0E25\u0E49\u0E27 \u0E42\u0E1B\u0E23\u0E14\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D" }, askForNextSlot: { noInput: '\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E27\u0E32\u0E07\u0E2A\u0E32\u0E22', noMatch: '\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19', question: "\u0E21\u0E35\u0E2D\u0E30\u0E44\u0E23\u0E43\u0E2B\u0E49\u0E0A\u0E48\u0E27\u0E22\u0E2D\u0E35\u0E01\u0E44\u0E2B\u0E21", noInputDigitalBot: '\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19', noMatchDigitalBot: '\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19' }, askForPayment: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E21\u0E2D\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", noMatchDigitalBot: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07" }, askForAuthentication: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E21\u0E2D\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E15\u0E31\u0E27\u0E15\u0E19\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", noMatchDigitalBot: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07." }, askSurveyQuestion: { notApplicable: "\u0E44\u0E21\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07", surveyAnswerOptionSequence: "\u0E01\u0E14 %1$s \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A %2$s", surveyAnswerNotApplicableSequence: "\u0E01\u0E14\u0E14\u0E32\u0E27\u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07", surveyAnswerNotApplicableWithQuestionSequence: "%1$s \u0E01\u0E14\u0E14\u0E32\u0E27\u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07", voiceSurveyNoInputText: "\u0E42\u0E1B\u0E23\u0E14\u0E15\u0E2D\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21", voiceSurveyNoMatchText: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08" }, commonModule: { exitCommonModule: "\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E42\u0E21\u0E14\u0E39\u0E25\u0E17\u0E31\u0E48\u0E27\u0E44\u0E1B" }, form: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E17\u0E33\u0E41\u0E1A\u0E1A\u0E1F\u0E2D\u0E23\u0E4C\u0E21\u0E43\u0E2B\u0E49\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", noMatchDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E17\u0E33\u0E41\u0E1A\u0E1A\u0E1F\u0E2D\u0E23\u0E4C\u0E21\u0E43\u0E2B\u0E49\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D." }, messagingTemplate: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E08\u0E32\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E35\u0E48\u0E21\u0E35", noMatchDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E08\u0E32\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E35\u0E48\u0E21\u0E35" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", knowledgeAnswerHighlightFullArticleDefault: "\u0E14\u0E39\u0E1A\u0E17\u0E04\u0E27\u0E32\u0E21\u0E09\u0E1A\u0E31\u0E1A\u0E40\u0E15\u0E47\u0E21", knowledgeInitialResponseMulti: "\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E09\u0E31\u0E19\u0E0A\u0E48\u0E27\u0E22\u0E17\u0E33\u0E43\u0E2B\u0E49\u0E40\u0E1B\u0E49\u0E32\u0E2B\u0E21\u0E32\u0E22\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19\u0E02\u0E36\u0E49\u0E19 \u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E08\u0E32\u0E01\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E44\u0E1B\u0E19\u0E35\u0E49", knowledgeInitialResponseMultiRetry: "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 \u0E40\u0E0A\u0E48\u0E19 '1'.\n\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E21\u0E35\u0E14\u0E31\u0E07\u0E19\u0E35\u0E49", knowledgeNoMatch: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E43\u0E14\u0E40\u0E25\u0E22", knowledgeConfirmation: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E19\u0E35\u0E49\u0E15\u0E2D\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", knowledgeFollowup: "\u0E09\u0E31\u0E19\u0E2B\u0E27\u0E31\u0E07\u0E27\u0E48\u0E32\u0E44\u0E14\u0E49\u0E15\u0E2D\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E41\u0E25\u0E49\u0E27 \u0E04\u0E38\u0E13\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E16\u0E32\u0E21\u0E2D\u0E30\u0E44\u0E23\u0E01\u0E47\u0E44\u0E14\u0E49\u0E17\u0E35\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E23\u0E32\u0E1A" }, noOverlay: { intent: { intentConfirmationStr1: "\u0E09\u0E31\u0E19\u0E04\u0E34\u0E14\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23", intentConfirmationStr2: "\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48" }, youSaid: { youSaidConfirmationStr1: "\u0E04\u0E38\u0E13\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32", youSaidConfirmationStr2: "\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", youSaidConfirmationStr1DigitalBot: "\u0E04\u0E38\u0E13\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E27\u0E48\u0E32" }, noInput: { noInputStr1: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E34\u0E21\u0E1E\u0E4C", noInputStr1DigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E34\u0E21\u0E1E\u0E4C" }, noMatch: { noMatchStr1: "\u0E42\u0E1B\u0E23\u0E14\u0E1A\u0E2D\u0E01" }, whatIs: { whatIsQuestionStr1: "\u0E2D\u0E30\u0E44\u0E23\u0E04\u0E37\u0E2D", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u0E09\u0E31\u0E19\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A", iGotContinuationStr2: "\u0E21\u0E32\u0E41\u0E25\u0E49\u0E27 \u0E42\u0E1B\u0E23\u0E14\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D" } }, defaultCallFlowOne: "\u0E42\u0E1F\u0E25\u0E27\u0E4C\u0E01\u0E32\u0E23\u0E42\u0E17\u0E23\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19", errorHandlingAgentEscalationConfirmation: "\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1E\u0E39\u0E14\u0E01\u0E31\u0E1A\u0E17\u0E35\u0E48\u0E1B\u0E23\u0E36\u0E01\u0E29\u0E32\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", errorHandlingAgentEscalationHandover: "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E2D\u0E2A\u0E31\u0E01\u0E04\u0E23\u0E39\u0E48 \u0E09\u0E31\u0E19\u0E08\u0E30\u0E2A\u0E48\u0E07\u0E15\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E04\u0E19\u0E2D\u0E37\u0E48\u0E19", errorHandlingErrorEventHandover: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E2D\u0E2A\u0E31\u0E01\u0E04\u0E23\u0E39\u0E48\u0E02\u0E13\u0E30\u0E17\u0E35\u0E48\u0E09\u0E31\u0E19\u0E2A\u0E48\u0E07\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E17\u0E35\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49", errorHandlingErrorEventHandoverVoiceSurvey: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E2A\u0E27\u0E31\u0E2A\u0E14\u0E35", errorHandlingRecognitionEventHandover: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E2D\u0E2A\u0E31\u0E01\u0E04\u0E23\u0E39\u0E48\u0E02\u0E13\u0E30\u0E17\u0E35\u0E48\u0E09\u0E31\u0E19\u0E2A\u0E48\u0E07\u0E15\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E1C\u0E39\u0E49\u0E17\u0E35\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08 \u0E2A\u0E27\u0E31\u0E2A\u0E14\u0E35", errorHandlingTTS: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E42\u0E17\u0E23\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", initialGreetingTTS: "\u0E2A\u0E27\u0E31\u0E2A\u0E14\u0E35 \u0E19\u0E35\u0E48\u0E04\u0E37\u0E2D\u0E04\u0E33\u0E17\u0E31\u0E01\u0E17\u0E32\u0E22\u0E40\u0E23\u0E34\u0E48\u0E21\u0E41\u0E23\u0E01", initialState: "\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E40\u0E23\u0E34\u0E48\u0E21\u0E41\u0E23\u0E01", initialBotState: "\u0E1A\u0E47\u0E2D\u0E17\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19", initialDigitalBotState: "\u0E04\u0E33\u0E17\u0E31\u0E01\u0E17\u0E32\u0E22\u0E40\u0E23\u0E34\u0E48\u0E21\u0E41\u0E23\u0E01", initialSurveyBotState: "\u0E1A\u0E47\u0E2D\u0E17\u0E17\u0E33\u0E41\u0E1A\u0E1A\u0E2A\u0E33\u0E23\u0E27\u0E08", intentConfirmation: "\u0E09\u0E31\u0E19\u0E04\u0E34\u0E14\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23 %1$s \u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", mainMenu: "\u0E40\u0E21\u0E19\u0E39\u0E2B\u0E25\u0E31\u0E01", mainMenuTTS: "\u0E15\u0E2D\u0E19\u0E19\u0E35\u0E49\u0E04\u0E38\u0E13\u0E2D\u0E22\u0E39\u0E48\u0E17\u0E35\u0E48\u0E40\u0E21\u0E19\u0E39\u0E2B\u0E25\u0E31\u0E01 \u0E01\u0E14 9 \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01\u0E01\u0E32\u0E23\u0E40\u0E0A\u0E37\u0E48\u0E2D\u0E21\u0E15\u0E48\u0E2D", mainTask: "\u0E07\u0E32\u0E19", settingsConfirmationNoInputApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E22\u0E34\u0E19\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 \u0E43\u0E0A\u0E48 \u0E2B\u0E23\u0E37\u0E2D \u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48", settingsConfirmationNoInputApologyDigitalBot: '\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E08\u0E32\u0E01\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48"', settingsConfirmationNoMatchApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 \u0E43\u0E0A\u0E48 \u0E2B\u0E23\u0E37\u0E2D \u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48", settingsConfirmationNoMatchApologyDigitalBot: '\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48"', settingsNoInputApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E22\u0E34\u0E19\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E04\u0E38\u0E13", settingsNoInputApologyDigitalBot: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E08\u0E32\u0E01\u0E04\u0E38\u0E13", settingsEndOfSessionMessageDigitalBot: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E22\u0E34\u0E19\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E04\u0E38\u0E13\u0E21\u0E32\u0E23\u0E30\u0E22\u0E30\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E41\u0E25\u0E49\u0E27 \u0E14\u0E31\u0E07\u0E19\u0E31\u0E49\u0E19\u0E09\u0E31\u0E19\u0E08\u0E30\u0E1B\u0E34\u0E14\u0E41\u0E0A\u0E17\u0E19\u0E35\u0E49 \u0E42\u0E1B\u0E23\u0E14\u0E01\u0E25\u0E31\u0E1A\u0E21\u0E32\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E2B\u0E32\u0E01\u0E04\u0E38\u0E13\u0E22\u0E31\u0E07\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D \u0E02\u0E2D\u0E1A\u0E04\u0E38\u0E13", settingsNoMatchApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22", settingsNoToConfirmationApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22", periodicStateName: "\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E17\u0E33\u0E0B\u0E49\u0E33" }; - }, 10144: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + o.keys = function() { + return Object.keys(n2); + }, o.resolve = r, e2.exports = o, o.id = 35133; + }, 95093(e2, t2, i2) { + (e2 = i2.nmd(e2)).exports = (function() { + "use strict"; + var t3, n2; + function o() { + return t3.apply(null, arguments); } - get _globalTypeName() { - return "dateTime"; + function r(e3) { + return e3 instanceof Array || "[object Array]" === Object.prototype.toString.call(e3); } - get displayTypeName() { - return "ArchVariableDateTime"; + function a(e3) { + return null != e3 && "[object Object]" === Object.prototype.toString.call(e3); } - get initialValue() { - return this._initialValue; + function s(e3, t4) { + return Object.prototype.hasOwnProperty.call(e3, t4); } - get isArchVariableDateTime() { + function l(e3) { + if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e3).length; + var t4; + for (t4 in e3) if (s(e3, t4)) return false; return true; } - } - t2.default = r2; - }, 10202: (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); + function u(e3) { + return void 0 === e3; } - get _actionTypeId() { - return r2.clearUtilizationLabelActionType; + function c(e3) { + return "number" == typeof e3 || "[object Number]" === Object.prototype.toString.call(e3); } - get displayTypeName() { - return this._scriptingName; + function d(e3) { + return e3 instanceof Date || "[object Date]" === Object.prototype.toString.call(e3); } - get isArchActionClearUtilizationLabel() { - return true; + function p(e3, t4) { + var i3, n3 = [], o2 = e3.length; + for (i3 = 0; i3 < o2; ++i3) n3.push(t4(e3[i3], i3)); + return n3; } - get clearUtilizationLabelOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + function _(e3, t4) { + for (var i3 in t4) s(t4, i3) && (e3[i3] = t4[i3]); + return s(t4, "toString") && (e3.toString = t4.toString), s(t4, "valueOf") && (e3.valueOf = t4.valueOf), e3; } - } - t2.default = a; - }, 10203: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(67336)), o = n2.__importDefault(i2(56549)), a = i2(89599), s = n2.__importDefault(i2(94225)); - class l extends r2.default { - constructor(e3) { - super(e3), this._coreVirtualAgentSettingsViewModel = e3; + function h(e3, t4, i3, n3) { + return jt(e3, t4, i3, n3, true).utc(); } - get displayTypeName() { - return "ArchSettingsNluVirtualAgent"; + function m(e3) { + return null == e3._pf && (e3._pf = { empty: false, unusedTokens: [], unusedInput: [], overflow: -2, charsLeftOver: 0, nullInput: false, invalidEra: null, invalidMonth: null, invalidOffset: null, invalidFormat: false, userInvalidated: false, iso: false, parsedDateParts: [], era: null, meridiem: null, rfc2822: false, weekdayMismatch: false }), e3._pf; } - get isArchSettingsNluVirtualAgent() { - return true; + function g(e3) { + var t4 = null, i3 = false, o2 = e3._d && !isNaN(e3._d.getTime()); + return o2 && (t4 = m(e3), i3 = n2.call(t4.parsedDateParts, function(e4) { + return null != e4; + }), o2 = t4.overflow < 0 && !t4.empty && !t4.invalidEra && !t4.invalidMonth && !t4.invalidOffset && !t4.invalidWeekday && !t4.weekdayMismatch && !t4.nullInput && !t4.invalidFormat && !t4.userInvalidated && (!t4.meridiem || t4.meridiem && i3), e3._strict && (o2 = o2 && 0 === t4.charsLeftOver && 0 === t4.unusedTokens.length && void 0 === t4.bigHour)), null != Object.isFrozen && Object.isFrozen(e3) ? o2 : (e3._isValid = o2, e3._isValid); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + function f(e3) { + var t4 = h(NaN); + return null != e3 ? _(m(t4), e3) : m(t4).userInvalidated = true, t4; } - get summarization() { - return this.coreFactory.createArchWrapper(this._coreVirtualAgentSettingsViewModel.summarization); + n2 = Array.prototype.some ? Array.prototype.some : function(e3) { + var t4, i3 = Object(this), n3 = i3.length >>> 0; + for (t4 = 0; t4 < n3; t4++) if (t4 in i3 && e3.call(this, i3[t4], t4, i3)) return true; + return false; + }; + var T = o.momentProperties = [], y = false; + function S(e3, t4) { + var i3, n3, o2, r2 = T.length; + if (u(t4._isAMomentObject) || (e3._isAMomentObject = t4._isAMomentObject), u(t4._i) || (e3._i = t4._i), u(t4._f) || (e3._f = t4._f), u(t4._l) || (e3._l = t4._l), u(t4._strict) || (e3._strict = t4._strict), u(t4._tzm) || (e3._tzm = t4._tzm), u(t4._isUTC) || (e3._isUTC = t4._isUTC), u(t4._offset) || (e3._offset = t4._offset), u(t4._pf) || (e3._pf = m(t4)), u(t4._locale) || (e3._locale = t4._locale), r2 > 0) for (i3 = 0; i3 < r2; i3++) u(o2 = t4[n3 = T[i3]]) || (e3[n3] = o2); + return e3; } - get assignWrapupCodes() { - return this.coreFactory.createArchWrapper(this._coreVirtualAgentSettingsViewModel.assignWrapupCodes); + function A(e3) { + S(this, e3), this._d = new Date(null != e3._d ? e3._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), false === y && (y = true, o.updateOffset(this), y = false); } - get enabledWrapupCodes() { - return this.coreFactory.createArchWrapper(this._coreVirtualAgentSettingsViewModel.enabledWrapupCodes); + function N(e3) { + return e3 instanceof A || null != e3 && null != e3._isAMomentObject; } - get conversationSummaryId() { - return this._getCoreViewModel().conversationSummaryId; + function v(e3) { + false === o.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e3); } - get conversationSummaryName() { - return this._getCoreViewModel().conversationSummaryName; + function I(e3, t4) { + var i3 = true; + return _(function() { + if (null != o.deprecationHandler && o.deprecationHandler(null, e3), i3) { + var n3, r2, a2, l2 = [], u2 = arguments.length; + for (r2 = 0; r2 < u2; r2++) { + if (n3 = "", "object" == typeof arguments[r2]) { + for (a2 in n3 += "\n[" + r2 + "] ", arguments[0]) s(arguments[0], a2) && (n3 += a2 + ": " + arguments[0][a2] + ", "); + n3 = n3.slice(0, -2); + } else n3 = arguments[r2]; + l2.push(n3); + } + v(e3 + "\nArguments: " + Array.prototype.slice.call(l2).join("") + "\n" + new Error().stack), i3 = false; + } + return t4.apply(this, arguments); + }, t4); } - setConversationSummaryByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryId", "setConversationSummaryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByIdAsync"), t3, true), o.default.findItemByIdAsync(a.conversationSummarySettingManager, e3, "conversationSummaryId").then((i3) => (this.logNote(`found the summarization setting named '${i3.name}' for the summarization setting ID of '${e3}'`), this._coreVirtualAgentSettingsViewModel.conversationSummary.setValue(i3), s.default.executeCallback(this, "setConversationSummaryByIdAsync", t3, this))); + var C = {}; + function O(e3, t4) { + null != o.deprecationHandler && o.deprecationHandler(e3, t4), C[e3] || (v(t4 + "\n" + new Error().stack), C[e3] = true); } - setConversationSummaryByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryName", "setConversationSummaryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByNameAsync"), t3, true), o.default.findItemByValueAsync(a.conversationSummarySettingManager, e3, "summarization setting", "name", "name").then((i3) => (this.logNote(`Found partial info for the summarization setting named '${i3.name}' for the passed summarization setting name of '${e3}'. Getting full summarization setting details.`), this.setConversationSummaryByIdAsync(i3.id, t3))); + function b(e3) { + return "undefined" != typeof Function && e3 instanceof Function || "[object Function]" === Object.prototype.toString.call(e3); } - } - t2.default = l; - }, 10231: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.defaultExternalContactPatchCondition = t2.externalContactPatchConditions = void 0, t2.getAvailableConditionsForField = function(e3) { - return e3 ? t2.externalContactPatchConditions : t2.externalContactPatchConditions.filter((e4) => !e4.requiresSingleItem); - }; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(41510)), a = i2(47957); - function s(e3, t3) { - return (0, r2.sprintf)(o.default.externalContacts.conditionLabelFormat, e3, t3); - } - 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: () => { - n2.addBuilderPartDef(new o({ isSystem: false, resultType: a.audio, id: r2.audio.findUserWithFallback })), n2.addBuilderPartDef(new o({ isSystem: false, resultType: a.prompt, id: r2.prompt.findUserWithFallback })), n2.addBuilderPartDef(new o({ isSystem: true, resultType: a.audio, id: r2.audio.findSystemWithFallback })), n2.addBuilderPartDef(new o({ isSystem: true, resultType: a.prompt, id: r2.prompt.findSystemWithFallback })); - } }; - }, 10281: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isFunction = void 0, t2.isFunction = function(e3) { - return "function" == typeof e3; - }; - }, 10311: (e2, t2, i2) => { - const n2 = i2(50700), r2 = i2(57108), o = i2(92646), a = i2(36019).default; - function s() { - } - const l = new s(); - s.prototype.getCategoryList = a.request("GET", "{public-api.apps}/api/v2/bridge/useractions/categories", o), s.prototype.getMetaData = a.request("GET", "{public-api.apps}/api/v2/bridge/useractions/metadata/{name}", n2), s.prototype.getMetaDataList = a.request("GET", "{public-api.apps}/api/v2/bridge/useractions/metadata", r2); - const u = { ignoreBadResponse: true }; - l.getCategoryList.addOptions(u), l.getMetaData.addOptions(u), l.getMetaDataList.addOptions(u), e2.exports = l; - }, 10381: function(e2, t2, i2) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + o.suppressDeprecationWarnings = false, o.deprecationHandler = null; + var E = { D: "date", dates: "date", date: "date", d: "day", days: "day", day: "day", e: "weekday", weekdays: "weekday", weekday: "weekday", E: "isoWeekday", isoweekdays: "isoWeekday", isoweekday: "isoWeekday", DDD: "dayOfYear", dayofyears: "dayOfYear", dayofyear: "dayOfYear", h: "hour", hours: "hour", hour: "hour", ms: "millisecond", milliseconds: "millisecond", millisecond: "millisecond", m: "minute", minutes: "minute", minute: "minute", M: "month", months: "month", month: "month", Q: "quarter", quarters: "quarter", quarter: "quarter", s: "second", seconds: "second", second: "second", gg: "weekYear", weekyears: "weekYear", weekyear: "weekYear", GG: "isoWeekYear", isoweekyears: "isoWeekYear", isoweekyear: "isoWeekYear", w: "week", weeks: "week", week: "week", W: "isoWeek", isoweeks: "isoWeek", isoweek: "isoWeek", y: "year", years: "year", year: "year" }; + function w(e3) { + return "string" == typeof e3 ? E[e3] || E[e3.toLowerCase()] : void 0; } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.ReplaySubject = void 0; - var o = i2(76808), a = i2(93275), s = (function(e3) { - function t3(t4, i3, n3) { - void 0 === t4 && (t4 = 1 / 0), void 0 === i3 && (i3 = 1 / 0), void 0 === n3 && (n3 = a.dateTimestampProvider); - var r3 = e3.call(this) || this; - return r3._bufferSize = t4, r3._windowTime = i3, r3._timestampProvider = n3, r3._buffer = [], r3._infiniteTimeWindow = true, r3._infiniteTimeWindow = i3 === 1 / 0, r3._bufferSize = Math.max(1, t4), r3._windowTime = Math.max(1, i3), r3; + function R(e3) { + var t4, i3, n3 = {}; + for (i3 in e3) s(e3, i3) && (t4 = w(i3)) && (n3[t4] = e3[i3]); + return n3; } - return r2(t3, e3), t3.prototype.next = function(t4) { - var i3 = this, n3 = i3.isStopped, r3 = i3._buffer, o2 = i3._infiniteTimeWindow, a2 = i3._timestampProvider, s2 = i3._windowTime; - n3 || (r3.push(t4), !o2 && r3.push(a2.now() + s2)), this._trimBuffer(), e3.prototype.next.call(this, t4); - }, t3.prototype._subscribe = function(e4) { - this._throwIfClosed(), this._trimBuffer(); - for (var t4 = this._innerSubscribe(e4), i3 = this._infiniteTimeWindow, n3 = this._buffer.slice(), r3 = 0; r3 < n3.length && !e4.closed; r3 += i3 ? 1 : 2) e4.next(n3[r3]); - return this._checkFinalizedStatuses(e4), t4; - }, t3.prototype._trimBuffer = function() { - var e4 = this, t4 = e4._bufferSize, i3 = e4._timestampProvider, n3 = e4._buffer, r3 = e4._infiniteTimeWindow, o2 = (r3 ? 1 : 2) * t4; - if (t4 < 1 / 0 && o2 < n3.length && n3.splice(0, n3.length - o2), !r3) { - for (var a2 = i3.now(), s2 = 0, l = 1; l < n3.length && n3[l] <= a2; l += 2) s2 = l; - s2 && n3.splice(0, s2 + 1); - } - }, t3; - })(o.Subject); - t2.ReplaySubject = s; - }, 10384: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.botFlowListManager = t2.BotFlowListManager = void 0; - const n2 = i2(98489), r2 = i2(30801), o = i2(6109), a = i2(96618), s = i2(24032), l = i2(27862); - class u extends o.FlowListManager { - get dependencyType() { - return l.BotFlow; + var D = { date: 9, day: 11, weekday: 11, isoWeekday: 11, dayOfYear: 4, hour: 13, millisecond: 16, minute: 14, month: 8, quarter: 7, second: 15, weekYear: 1, isoWeekYear: 1, week: 5, isoWeek: 5, year: 1 }; + function P(e3, t4, i3) { + var n3 = "" + Math.abs(e3), o2 = t4 - n3.length; + return (e3 >= 0 ? i3 ? "+" : "" : "-") + Math.pow(10, Math.max(0, o2)).toString().substr(1) + n3; } - constructor() { - super(), this.topic = (0, s.getTopic)("botListManager"), this.briefManager = n2.briefBotFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeBot }, this.className = "BotFlowListManager", this.uiMetadataSectionName = "botFlows", this.actionsForUsageSearch = [r2.callBotFlowActionType], this.actionPropertyForUsageSearch = "botFlow", this.flowType = a.flowTypes.flowTypeBot, this._initialize(); + var M = /(\[[^\[]*\])|(\\e)|(\\)?(eHHmm|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, F = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, L = {}, x = {}; + function k(e3, t4, i3, n3) { + var o2 = n3; + "string" == typeof n3 && (o2 = function() { + return this[n3](); + }), e3 && (x[e3] = o2), t4 && (x[t4[0]] = function() { + return P(o2.apply(this, arguments), t4[1], t4[2]); + }), i3 && (x[i3] = function() { + return this.localeData().ordinal(o2.apply(this, arguments), e3); + }); } - } - t2.BotFlowListManager = u, t2.botFlowListManager = new u(); - }, 10420: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefEmailSendFlowListManager = void 0; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(24032)), a = i2(70726), s = i2(27862); - class l extends a.BriefFlowListManager { - get dependencyType() { - return s.EmailSendFlow; + function V(e3) { + return e3.match(/\[[\s\S]/) ? e3.replace(/^\[|\]$/g, "") : e3.replace(/\\/g, ""); } - constructor() { - super(), this.topic = o.getTopic("briefEmailSendFlowListManager"), this.additionalQueryParams = { type: r2.flowTypes.flowTypeEmailSend }, this.className = "BriefEmailSendFlowListManager", this.flowType = r2.flowTypes.flowTypeEmailSend, this._initialize(); + function U(e3, t4) { + if (!e3.isValid()) return e3.localeData().invalidDate(); + var i3 = "$" + (t4 = B(t4, e3.localeData())); + return s(L, i3) || (L[i3] = (function(e4) { + var t5, i4, n3 = e4.match(M); + for (t5 = 0, i4 = n3.length; t5 < i4; t5++) x[n3[t5]] ? n3[t5] = x[n3[t5]] : n3[t5] = V(n3[t5]); + return function(t6) { + var o2, r2 = ""; + for (o2 = 0; o2 < i4; o2++) r2 += b(n3[o2]) ? n3[o2].call(t6, e4) : n3[o2]; + return r2; + }; + })(t4)), L[i3](e3); } - } - t2.briefEmailSendFlowListManager = new l(); - }, 10438: (e2, t2, i2) => { - function n2() { - this.region = void 0, this.aliasId = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(87290).extend(n2, "LexV2Alias"), Object.defineProperties(n2.prototype, { isLexV2Alias: { get: function() { - return true; - } } }), e2.exports = n2; - }, 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), 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 (0, h.isFeatureAvailable)(m.default.divisionedCannedResponses) ? u.externalAuthorizations.authStrings.responseSearch : u.externalAuthorizations.authStrings.responseView; + function B(e3, t4) { + var i3 = 5; + function n3(e4) { + return t4.longDateFormat(e4) || e4; + } + for (F.lastIndex = 0; i3 >= 0 && F.test(e3); ) e3 = e3.replace(F, n3), F.lastIndex = 0, i3 -= 1; + return e3; } - get dependencyType() { - return f.Response; + var G, j = /\d/, q = /\d\d/, W = /\d{3}/, Y = /\d{4}/, H = /[+-]?\d{6}/, J = /\d\d?/, $ = /\d\d\d\d?/, z = /\d\d\d\d\d\d?/, K = /\d{1,3}/, Q = /\d{1,4}/, X = /[+-]?\d{1,6}/, Z = /\d+/, ee = /[+-]?\d+/, te = /Z|[+-]\d\d:?\d\d/gi, ie = /Z|[+-]\d\d(?::?\d\d)?/gi, ne = /[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, oe = /^[1-9]\d?/, re = /^([1-9]\d|\d)/; + function ae(e3, t4, i3) { + G[e3] = b(t4) ? t4 : function(e4, n3) { + return e4 && i3 ? i3 : t4; + }; } - constructor() { - 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(); + function se(e3, t4) { + return s(G, e3) ? G[e3](t4._strict, t4._locale) : new RegExp(le(e3.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e4, t5, i3, n3, o2) { + return t5 || i3 || n3 || o2; + }))); } - _createItemViewModel(e3) { - return new _.ResponseViewModel(e3); + function le(e3) { + return e3.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"); } - isResponseInSelectedResponseLibrary(e3, t3) { - return !(!e3 || !t3) && e3.libraries.find((e4) => e4.id === t3.id); + function ue(e3) { + return e3 < 0 ? Math.ceil(e3) || 0 : Math.floor(e3); } - setAdditionalCache(e3) { - o.default.each(e3.libraries, function(e4) { - p.responseLibraryManager.addItem(e4); - }); + function ce(e3) { + var t4 = +e3, i3 = 0; + return 0 !== t4 && isFinite(t4) && (i3 = ue(t4)), i3; } - getSubstitutionInputs(e3) { - return e3.isFlowCachedVersion ? r2.default.fcall(function() { - e3.loadSubstitutionSchema(e3.model.substitutionsSchema); - }) : this.fetchItem(e3.id).then((t3) => { - t3 && (e3.substitutions = t3.substitutions); + G = {}; + var de = {}; + function pe(e3, t4) { + var i3, n3, o2 = t4; + for ("string" == typeof e3 && (e3 = [e3]), c(t4) && (o2 = function(e4, i4) { + i4[t4] = ce(e4); + }), n3 = e3.length, i3 = 0; i3 < n3; i3++) de[e3[i3]] = o2; + } + function _e(e3, t4) { + pe(e3, function(e4, i3, n3, o2) { + n3._w = n3._w || {}, t4(e4, n3._w, n3, o2); }); } - } - 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; + function he(e3, t4, i3) { + null != t4 && s(de, e3) && de[e3](t4, i3._a, i3, e3); } - 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 }); - }); + function me(e3) { + return e3 % 4 == 0 && e3 % 100 != 0 || e3 % 400 == 0; } - _detectFlowType(e3) { - var t3; - return null !== (t3 = a.FlowTypeResolver.detectFromJson(e3)) && void 0 !== t3 ? t3 : "unknown"; + var ge = 0, fe = 1, Te = 2, ye = 3, Se = 4, Ae = 5, Ne = 6, ve = 7, Ie = 8; + function Ce(e3) { + return me(e3) ? 366 : 365; } - _buildResult(e3, t3, i3, n3, r3) { - return { success: e3, flow: t3, errors: i3, warnings: n3, metadata: r3 }; + k("Y", 0, 0, function() { + var e3 = this.year(); + return e3 <= 9999 ? P(e3, 4) : "+" + e3; + }), k(0, ["YY", 2], 0, function() { + return this.year() % 100; + }), k(0, ["YYYY", 4], 0, "year"), k(0, ["YYYYY", 5], 0, "year"), k(0, ["YYYYYY", 6, true], 0, "year"), ae("Y", ee), ae("YY", J, q), ae("YYYY", Q, Y), ae("YYYYY", X, H), ae("YYYYYY", X, H), pe(["YYYYY", "YYYYYY"], ge), pe("YYYY", function(e3, t4) { + t4[ge] = 2 === e3.length ? o.parseTwoDigitYear(e3) : ce(e3); + }), pe("YY", function(e3, t4) { + t4[ge] = o.parseTwoDigitYear(e3); + }), pe("Y", function(e3, t4) { + t4[ge] = parseInt(e3, 10); + }), o.parseTwoDigitYear = function(e3) { + return ce(e3) + (ce(e3) > 68 ? 1900 : 2e3); + }; + var Oe, be = Ee("FullYear", true); + function Ee(e3, t4) { + return function(i3) { + return null != i3 ? (Re(this, e3, i3), o.updateOffset(this, t4), this) : we(this, e3); + }; } - _emitProgress(e3, t3) { - const i3 = this._options.progressCallback; - i3 && i3(e3, t3); + function we(e3, t4) { + if (!e3.isValid()) return NaN; + var i3 = e3._d, n3 = e3._isUTC; + switch (t4) { + case "Milliseconds": + return n3 ? i3.getUTCMilliseconds() : i3.getMilliseconds(); + case "Seconds": + return n3 ? i3.getUTCSeconds() : i3.getSeconds(); + case "Minutes": + return n3 ? i3.getUTCMinutes() : i3.getMinutes(); + case "Hours": + return n3 ? i3.getUTCHours() : i3.getHours(); + case "Date": + return n3 ? i3.getUTCDate() : i3.getDate(); + case "Day": + return n3 ? i3.getUTCDay() : i3.getDay(); + case "Month": + return n3 ? i3.getUTCMonth() : i3.getMonth(); + case "FullYear": + return n3 ? i3.getUTCFullYear() : i3.getFullYear(); + default: + return NaN; + } + } + function Re(e3, t4, i3) { + var n3, o2, r2, a2, s2; + if (e3.isValid() && !isNaN(i3)) { + switch (n3 = e3._d, o2 = e3._isUTC, t4) { + case "Milliseconds": + return void (o2 ? n3.setUTCMilliseconds(i3) : n3.setMilliseconds(i3)); + case "Seconds": + return void (o2 ? n3.setUTCSeconds(i3) : n3.setSeconds(i3)); + case "Minutes": + return void (o2 ? n3.setUTCMinutes(i3) : n3.setMinutes(i3)); + case "Hours": + return void (o2 ? n3.setUTCHours(i3) : n3.setHours(i3)); + case "Date": + return void (o2 ? n3.setUTCDate(i3) : n3.setDate(i3)); + case "FullYear": + break; + default: + return; + } + r2 = i3, a2 = e3.month(), s2 = 29 !== (s2 = e3.date()) || 1 !== a2 || me(r2) ? s2 : 28, o2 ? n3.setUTCFullYear(r2, a2, s2) : n3.setFullYear(r2, a2, s2); + } } - _log(e3, t3) { - this._logger$.next({ level: e3, message: `YamlProcessor: ${t3}` }); + function De(e3, t4) { + if (isNaN(e3) || isNaN(t4)) return NaN; + var i3, n3 = (t4 % (i3 = 12) + i3) % i3; + return e3 += (t4 - n3) / 12, 1 === n3 ? me(e3) ? 29 : 28 : 31 - n3 % 7 % 2; } - }; - }, 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), 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 = d.scheduleManager, this._loadModel(t3), this.evaluateEmergencyGroup = this.model.evaluateEmergencyGroup; + Oe = Array.prototype.indexOf ? Array.prototype.indexOf : function(e3) { + var t4; + for (t4 = 0; t4 < this.length; ++t4) if (this[t4] === e3) return t4; + return -1; + }, k("M", ["MM", 2], "Mo", function() { + return this.month() + 1; + }), k("MMM", 0, 0, function(e3) { + return this.localeData().monthsShort(this, e3); + }), k("MMMM", 0, 0, function(e3) { + return this.localeData().months(this, e3); + }), ae("M", J, oe), ae("MM", J, q), ae("MMM", function(e3, t4) { + return t4.monthsShortRegex(e3); + }), ae("MMMM", function(e3, t4) { + return t4.monthsRegex(e3); + }), pe(["M", "MM"], function(e3, t4) { + t4[fe] = ce(e3) - 1; + }), pe(["MMM", "MMMM"], function(e3, t4, i3, n3) { + var o2 = i3._locale.monthsParse(e3, n3, i3._strict); + null != o2 ? t4[fe] = o2 : m(i3).invalidMonth = e3; + }); + var Pe = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), Me = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Fe = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, Le = ne, xe = ne, ke = ["monthsParse", "longMonthsParse", "shortMonthsParse", "monthsRegex", "monthsShortRegex", "monthsStrictRegex", "monthsShortStrictRegex"]; + function Ve(e3, t4, i3) { + var n3, o2, r2, a2 = e3.toLocaleLowerCase(); + if (!this._monthsParse) for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], n3 = 0; n3 < 12; ++n3) r2 = h([2e3, n3]), this._shortMonthsParse[n3] = this.monthsShort(r2, "").toLocaleLowerCase(), this._longMonthsParse[n3] = this.months(r2, "").toLocaleLowerCase(); + return i3 ? "MMM" === t4 ? -1 !== (o2 = Oe.call(this._shortMonthsParse, a2)) ? o2 : null : -1 !== (o2 = Oe.call(this._longMonthsParse, a2)) ? o2 : null : "MMM" === t4 ? -1 !== (o2 = Oe.call(this._shortMonthsParse, a2)) || -1 !== (o2 = Oe.call(this._longMonthsParse, a2)) ? o2 : null : -1 !== (o2 = Oe.call(this._longMonthsParse, a2)) || -1 !== (o2 = Oe.call(this._shortMonthsParse, a2)) ? o2 : null; } - _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; + function Ue(e3, t4) { + if (!e3.isValid()) return e3; + if ("string" == typeof t4) { + if (/^\d+$/.test(t4)) t4 = ce(t4); + else if (!c(t4 = e3.localeData().monthsParse(t4))) return e3; + } + var i3 = t4, n3 = e3.date(); + return n3 = n3 < 29 ? n3 : Math.min(n3, De(e3.year(), i3)), e3._isUTC ? e3._d.setUTCMonth(i3, n3) : e3._d.setMonth(i3, n3), e3; } - _initializeDesignTime() { - super._initializeDesignTime(), !this.scheduleName && !this.scheduleId || this.schedule.text || (this.schedule.update(this.scheduleName, this.scheduleId), this.scheduleName = void 0, this.scheduleId = void 0), this.emergencyGroup.options.setIsOptional(false), this.emergencyGroup.isNoValueMode && (this.emergencyGroup.mode = o.ExpressionModes.literal); + function Be(e3) { + return null != e3 ? (Ue(this, e3), o.updateOffset(this, true), this) : we(this, "Month"); } - getConfiguration(e3, t3) { - return e3 = super.getConfiguration(e3, t3), this.schedule.isLiteralMode && this.schedule.text ? (this.scheduleId = this.schedule.val, this.scheduleName = this.schedule.text) : (this.scheduleId = void 0, this.scheduleName = void 0), e3; + function Ge() { + function e3(e4, t5) { + return t5.length - e4.length; + } + var t4, i3, n3, o2, r2 = [], a2 = [], s2 = []; + for (t4 = 0; t4 < 12; t4++) i3 = h([2e3, t4]), n3 = le(this.monthsShort(i3, "")), o2 = le(this.months(i3, "")), r2.push(n3), a2.push(o2), s2.push(o2), s2.push(n3); + r2.sort(e3), a2.sort(e3), s2.sort(e3), this._monthsRegex = new RegExp("^(" + s2.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + a2.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + r2.join("|") + ")", "i"); } - _preDestroy() { - super._preDestroy(), this.scheduleManager.tryRemoveItemFromFlowMetadata(this, this.scheduleId); + function je(e3, t4) { + return e3.slice(t4, 7).concat(e3.slice(0, t4)); } - get evaluateEmergencyGroup() { - return this.model.evaluateEmergencyGroup; + k("d", 0, "do", "day"), k("dd", 0, 0, function(e3) { + return this.localeData().weekdaysMin(this, e3); + }), k("ddd", 0, 0, function(e3) { + return this.localeData().weekdaysShort(this, e3); + }), k("dddd", 0, 0, function(e3) { + return this.localeData().weekdays(this, e3); + }), k("e", 0, 0, "weekday"), k("E", 0, 0, "isoWeekday"), k("eHHmm", 0, 0, function() { + return "" + this.weekday() + P(this.hours(), 2) + P(this.minutes(), 2); + }), ae("d", J), ae("e", J), ae("E", J), ae("eHHmm", z), ae("dd", function(e3, t4) { + return t4.weekdaysMinRegex(e3); + }), ae("ddd", function(e3, t4) { + return t4.weekdaysShortRegex(e3); + }), ae("dddd", function(e3, t4) { + return t4.weekdaysRegex(e3); + }), _e(["dd", "ddd", "dddd"], function(e3, t4, i3, n3) { + var o2 = i3._locale.weekdaysParse(e3, n3, i3._strict); + null != o2 ? t4.d = o2 : m(i3).invalidWeekday = e3; + }), _e(["d", "e", "E"], function(e3, t4, i3, n3) { + t4[n3] = ce(e3); + }), _e("eHHmm", function(e3, t4, i3) { + var n3 = e3.length - 4; + t4.e = ce(e3.substr(0, n3)), i3._a[ye] = ce(e3.substr(n3, 2)), i3._a[Se] = ce(e3.substr(n3 + 2)); + }); + var qe, We = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Ye = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), He = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Je = ne, $e = ne, ze = ne, Ke = ["weekdaysParse", "fullWeekdaysParse", "shortWeekdaysParse", "minWeekdaysParse", "weekdaysRegex", "weekdaysShortRegex", "weekdaysMinRegex", "weekdaysStrictRegex", "weekdaysShortStrictRegex", "weekdaysMinStrictRegex"]; + function Qe(e3, t4, i3) { + var n3, o2, r2, a2 = e3.toLocaleLowerCase(); + if (!this._weekdaysParse) for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], n3 = 0; n3 < 7; ++n3) r2 = h([2e3, 1]).day(n3), this._minWeekdaysParse[n3] = this.weekdaysMin(r2, "").toLocaleLowerCase(), this._shortWeekdaysParse[n3] = this.weekdaysShort(r2, "").toLocaleLowerCase(), this._weekdaysParse[n3] = this.weekdays(r2, "").toLocaleLowerCase(); + return i3 ? "dddd" === t4 ? -1 !== (o2 = Oe.call(this._weekdaysParse, a2)) ? o2 : null : "ddd" === t4 ? -1 !== (o2 = Oe.call(this._shortWeekdaysParse, a2)) ? o2 : null : -1 !== (o2 = Oe.call(this._minWeekdaysParse, a2)) ? o2 : null : "dddd" === t4 ? -1 !== (o2 = Oe.call(this._weekdaysParse, a2)) || -1 !== (o2 = Oe.call(this._shortWeekdaysParse, a2)) || -1 !== (o2 = Oe.call(this._minWeekdaysParse, a2)) ? o2 : null : "ddd" === t4 ? -1 !== (o2 = Oe.call(this._shortWeekdaysParse, a2)) || -1 !== (o2 = Oe.call(this._weekdaysParse, a2)) || -1 !== (o2 = Oe.call(this._minWeekdaysParse, a2)) ? o2 : null : -1 !== (o2 = Oe.call(this._minWeekdaysParse, a2)) || -1 !== (o2 = Oe.call(this._weekdaysParse, a2)) || -1 !== (o2 = Oe.call(this._shortWeekdaysParse, a2)) ? o2 : null; } - set evaluateEmergencyGroup(e3) { - this.model.evaluateEmergencyGroup = e3, this.emergencyGroup.outOfService = !e3, this.schedule.outOfService = e3, this.setOutOfService(); + function Xe() { + function e3(e4, t5) { + return t5.length - e4.length; + } + var t4, i3, n3, o2, r2, a2 = [], s2 = [], l2 = [], u2 = []; + for (t4 = 0; t4 < 7; t4++) i3 = h([2e3, 1]).day(t4), n3 = le(this.weekdaysMin(i3, "")), o2 = le(this.weekdaysShort(i3, "")), r2 = le(this.weekdays(i3, "")), a2.push(n3), s2.push(o2), l2.push(r2), u2.push(n3), u2.push(o2), u2.push(r2); + a2.sort(e3), s2.sort(e3), l2.sort(e3), u2.sort(e3), this._weekdaysRegex = new RegExp("^(" + u2.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + l2.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + s2.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + a2.join("|") + ")", "i"); } - setOutOfService() { - super.setOutOfService(), this.evaluationDateTime.outOfService = this.evaluationDateTime.outOfService || this.evaluateEmergencyGroup, this.timeZone.outOfService = this.evaluateEmergencyGroup; + function Ze(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; } - static get branchInfo() { - return c.default.activeInactive; + function et(e3) { + null != e3 && this.set(e3); } - static get managedProperties() { - 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)) }]; + qe = Object.keys ? Object.keys : function(e3) { + var t4, i3 = []; + for (t4 in e3) s(e3, t4) && i3.push(t4); + return i3; + }; + function tt(e3, t4, i3, n3) { + var o2 = this._relativeTime[i3]; + return b(o2) ? o2(e3, t4, i3, n3) : o2.replace(/%d/i, e3); } - postProcessYamlConfig(e3, t3, i3) { - var n3, o2, a2, s2, l2; - super.postProcessYamlConfig(e3, t3, i3), e3.evaluationType = {}, this.evaluateEmergencyGroup ? (e3.evaluationType.emergencyGroup || (e3.evaluationType.emergencyGroup = {}), r2.default.moveRenameAndDeleteProperty(e3, e3.evaluationType, "emergencyGroup", "emergencyGroup"), (null === (n3 = e3.evaluationType.emergencyGroup.lit) || void 0 === n3 ? void 0 : n3.name) && (e3.evaluationType.emergencyGroup.name = e3.evaluationType.emergencyGroup.lit.name), delete e3.evaluationTimeZone, delete e3.evaluate) : (e3.evaluationType.schedule || (e3.evaluationType.schedule = {}), r2.default.moveRenameAndDeleteProperty(e3, e3.evaluationType.schedule, "schedule", "selectedSchedule"), (null === (a2 = null === (o2 = e3.evaluationType.schedule.selectedSchedule) || void 0 === o2 ? void 0 : o2.lit) || void 0 === a2 ? void 0 : a2.name) ? e3.evaluationType.schedule.name = e3.evaluationType.schedule.selectedSchedule.lit.name : (null === (s2 = e3.evaluationType.schedule.selectedSchedule) || void 0 === s2 ? void 0 : s2.lit) && delete e3.evaluationType.schedule.selectedSchedule, (null === (l2 = e3.scheduleTimeZone) || void 0 === l2 ? void 0 : l2.lit) && (e3.evaluationType.schedule.evaluationTimeZone = e3.scheduleTimeZone.lit), r2.default.moveAndDeleteProperty(e3, e3.evaluationType.schedule, "scheduleTimeZone"), r2.default.moveAndDeleteProperty(e3, e3.evaluationType.schedule, "evaluate")), r2.default.isEmpty(e3.evaluationType) && delete e3.evaluationType; + function it(e3, t4) { + var i3 = this._relativeTime[e3 > 0 ? "future" : "past"]; + return b(i3) ? i3(t4) : i3.replace(/%s/i, t4); } - setSchedule(e3) { - this.schedule.update(null == e3 ? void 0 : e3.name, null == e3 ? void 0 : e3.id); + function nt(e3, t4, i3, n3, o2, r2, a2) { + var s2; + return e3 < 100 && e3 >= 0 ? (s2 = new Date(e3 + 400, t4, i3, n3, o2, r2, a2), isFinite(s2.getFullYear()) && s2.setFullYear(e3)) : s2 = new Date(e3, t4, i3, n3, o2, r2, a2), s2; } - get selectedSchedule() { - 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"); + function ot(e3) { + var t4, i3; + return e3 < 100 && e3 >= 0 ? ((i3 = Array.prototype.slice.call(arguments))[0] = e3 + 400, t4 = new Date(Date.UTC.apply(null, i3)), isFinite(t4.getUTCFullYear()) && t4.setUTCFullYear(e3)) : t4 = new Date(Date.UTC.apply(null, arguments)), t4; } - } - 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 }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(25498)); - class a extends o.default { - constructor(e3) { - super(e3), this._settingsOutboundCall = this.coreFactory.createArchWrapper(e3.outboundSettings); + function rt(e3, t4, i3) { + var n3 = 7 + t4 - i3; + return -(7 + ot(e3, 0, n3).getUTCDay() - t4) % 7 + n3 - 1; } - get _flowType() { - return r2.flowTypes.flowTypeOutboundCall; + function at(e3, t4, i3, n3, o2) { + var r2, a2, s2 = 1 + 7 * (t4 - 1) + (7 + i3 - n3) % 7 + rt(e3, n3, o2); + return s2 <= 0 ? a2 = Ce(r2 = e3 - 1) + s2 : s2 > Ce(e3) ? (r2 = e3 + 1, a2 = s2 - Ce(e3)) : (r2 = e3, a2 = s2), { year: r2, dayOfYear: a2 }; } - get displayTypeName() { - return "ArchFlowOutboundCall"; + function st(e3, t4, i3, n3) { + var o2, r2, a2 = rt(e3, i3, n3), s2 = Math.floor((t4 - a2 - 1) / 7) + 1; + return s2 < 1 ? o2 = s2 + ct(r2 = e3 - 1, i3, n3) : s2 > ct(e3, i3, n3) ? (o2 = s2 - ct(e3, i3, n3), r2 = e3 + 1) : (r2 = e3, o2 = s2), { week: o2, year: r2 }; } - get isArchFlowOutboundCall() { - return true; + function lt(e3, t4, i3) { + return st(e3.year(), e3.dayOfYear(), t4, i3); } - get settingsOutboundCall() { - return this._settingsOutboundCall; + function ut(e3, t4, i3, n3, o2) { + return st(e3, Math.round((ot(e3, t4, i3) - ot(e3, 0, 1)) / 864e5) + 1, n3, o2); } - } - t2.default = a; - }, 10706: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.buffer = void 0; - var n2 = i2(65212), r2 = i2(5717), o = i2(17214), a = i2(19724); - t2.buffer = function(e3) { - return n2.operate(function(t3, i3) { - var n3 = []; - return t3.subscribe(o.createOperatorSubscriber(i3, function(e4) { - return n3.push(e4); - }, function() { - i3.next(n3), i3.complete(); - })), a.innerFrom(e3).subscribe(o.createOperatorSubscriber(i3, function() { - var e4 = n3; - n3 = [], i3.next(e4); - }, r2.noop)), function() { - n3 = null; - }; + function ct(e3, t4, i3) { + var n3 = rt(e3, t4, i3), o2 = rt(e3 + 1, t4, i3); + return (Ce(e3) - n3 + o2) / 7; + } + k("w", ["ww", 2], "wo", "week"), k("W", ["WW", 2], "Wo", "isoWeek"), ae("w", J, oe), ae("ww", J, q), ae("W", J, oe), ae("WW", J, q), _e(["w", "ww", "W", "WW"], function(e3, t4, i3, n3) { + t4[n3.substr(0, 1)] = ce(e3); }); - }; - }, 10734: (e2, t2, i2) => { - var n2 = i2(15659), r2 = i2(8507), o = {}; - Object.keys(n2).forEach(function(e3) { - o[e3] = {}, Object.defineProperty(o[e3], "channels", { value: n2[e3].channels }), Object.defineProperty(o[e3], "labels", { value: n2[e3].labels }); - var t3 = r2(e3); - Object.keys(t3).forEach(function(i3) { - var n3 = t3[i3]; - o[e3][i3] = (function(e4) { - var t4 = function(t5) { - if (null == t5) return t5; - arguments.length > 1 && (t5 = Array.prototype.slice.call(arguments)); - var i4 = e4(t5); - if ("object" == typeof i4) for (var n4 = i4.length, r3 = 0; r3 < n4; r3++) i4[r3] = Math.round(i4[r3]); - return i4; - }; - return "conversion" in e4 && (t4.conversion = e4.conversion), t4; - })(n3), o[e3][i3].raw = (function(e4) { - var t4 = function(t5) { - return null == t5 ? t5 : (arguments.length > 1 && (t5 = Array.prototype.slice.call(arguments)), e4(t5)); - }; - return "conversion" in e4 && (t4.conversion = e4.conversion), t4; - })(n3); + function dt() { + return this.hours() % 12 || 12; + } + function pt(e3, t4) { + k(e3, 0, 0, function() { + return this.localeData().meridiem(this.hours(), this.minutes(), t4); + }); + } + function _t(e3, t4) { + return t4._meridiemParse; + } + k("H", ["HH", 2], 0, "hour"), k("h", ["hh", 2], 0, dt), k("k", ["kk", 2], 0, function() { + return this.hours() || 24; + }), k("hmm", 0, 0, function() { + return "" + dt.apply(this) + P(this.minutes(), 2); + }), k("hmmss", 0, 0, function() { + return "" + dt.apply(this) + P(this.minutes(), 2) + P(this.seconds(), 2); + }), k("Hmm", 0, 0, function() { + return "" + this.hours() + P(this.minutes(), 2); + }), k("Hmmss", 0, 0, function() { + return "" + this.hours() + P(this.minutes(), 2) + P(this.seconds(), 2); + }), pt("a", true), pt("A", false), ae("a", _t), ae("A", _t), ae("H", J, re), ae("h", J, oe), ae("k", J, oe), ae("HH", J, q), ae("hh", J, q), ae("kk", J, q), ae("hmm", $), ae("hmmss", z), ae("Hmm", $), ae("Hmmss", z), pe(["H", "HH"], ye), pe(["k", "kk"], function(e3, t4, i3) { + var n3 = ce(e3); + t4[ye] = 24 === n3 ? 0 : n3; + }), pe(["a", "A"], function(e3, t4, i3) { + i3._isPm = i3._locale.isPM(e3), i3._meridiem = e3; + }), pe(["h", "hh"], function(e3, t4, i3) { + t4[ye] = ce(e3), m(i3).bigHour = true; + }), pe("hmm", function(e3, t4, i3) { + var n3 = e3.length - 2; + t4[ye] = ce(e3.substr(0, n3)), t4[Se] = ce(e3.substr(n3)), m(i3).bigHour = true; + }), pe("hmmss", function(e3, t4, i3) { + var n3 = e3.length - 4, o2 = e3.length - 2; + t4[ye] = ce(e3.substr(0, n3)), t4[Se] = ce(e3.substr(n3, 2)), t4[Ae] = ce(e3.substr(o2)), m(i3).bigHour = true; + }), pe("Hmm", function(e3, t4, i3) { + var n3 = e3.length - 2; + t4[ye] = ce(e3.substr(0, n3)), t4[Se] = ce(e3.substr(n3)); + }), pe("Hmmss", function(e3, t4, i3) { + var n3 = e3.length - 4, o2 = e3.length - 2; + t4[ye] = ce(e3.substr(0, n3)), t4[Se] = ce(e3.substr(n3, 2)), t4[Ae] = ce(e3.substr(o2)); }); - }), 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; + var ht = Ee("Hours", true); + var mt, gt = { 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: Pe, monthsShort: Me, week: { dow: 0, doy: 6 }, weekdays: We, weekdaysMin: He, weekdaysShort: Ye, meridiemParse: /[ap]\.?m?\.?/i }, ft = {}, Tt = {}; + function yt(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; + return n3; } - static getNextNumber() { - return p._nextNumber++; + function St(e3) { + return e3 ? e3.toLowerCase().replace("_", "-") : e3; } - get changes() { - return this._changes; + function At(t4) { + var n3, o2 = null; + if (s(ft, t4)) return ft[t4]; + if (n3 = St(t4), s(ft, n3)) return ft[n3]; + if (e2 && e2.exports && (function(e3) { + return "string" == typeof e3 && /^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(e3); + })(n3)) try { + o2 = mt._abbr, i2(35133)("./" + n3), Nt(o2); + } catch (e3) { + ft[n3] = null; + } + return s(ft, n3) ? ft[n3] : void 0; } - toChangeSet() { - return this._changes.slice(); + function Nt(e3, t4) { + var i3; + return e3 && ((i3 = u(t4) ? It(e3) : vt(e3, t4)) ? mt = i3 : "undefined" != typeof console && console.warn && console.warn("Locale " + e3 + " not found. Did you forget to load it?")), mt._abbr; } - 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; + function vt(e3, t4) { + if (null !== t4) { + var i3, n3 = gt; + if (t4.abbr = e3, null != ft[e3]) O("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 = ft[e3]._config; + else if (null != t4.parentLocale) if (null != ft[t4.parentLocale]) n3 = ft[t4.parentLocale]._config; + else { + if (null == (i3 = At(t4.parentLocale))) return Tt[t4.parentLocale] || (Tt[t4.parentLocale] = []), Tt[t4.parentLocale].push({ name: e3, config: t4 }), null; + n3 = i3._config; + } + return ft[e3] = new et(Ze(n3, t4)), Tt[e3] && Tt[e3].forEach(function(e4) { + vt(e4.name, e4.config); + }), Nt(e3), ft[e3]; + } + return delete ft[e3], null; } - static fromModel(e3) { - const t3 = new p(); - for (const i3 of e3.changes) t3._changes.push(i3); - return t3; + function It(e3) { + var t4; + if (e3 && e3._locale && e3._locale._abbr && (e3 = e3._locale._abbr), !e3) return mt; + if (!r(e3)) { + if (t4 = At(e3)) return t4; + e3 = [e3]; + } + return (function(e4) { + for (var t5, i3, n3, o2, r2 = 0; r2 < e4.length; ) { + for (t5 = (o2 = St(e4[r2]).split("-")).length, i3 = (i3 = St(e4[r2 + 1])) ? i3.split("-") : null; t5 > 0; ) { + if (n3 = At(o2.slice(0, t5).join("-"))) return n3; + if (i3 && i3.length >= t5 && yt(o2, i3) >= t5 - 1) break; + t5--; + } + r2++; + } + return mt; + })(e3); } - 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; + function Ct(e3) { + var t4, i3 = e3._a; + return i3 && -2 === m(e3).overflow && (t4 = i3[fe] < 0 || i3[fe] > 11 ? fe : i3[Te] < 1 || i3[Te] > De(i3[ge], i3[fe]) ? Te : i3[ye] < 0 || i3[ye] > 24 || 24 === i3[ye] && (0 !== i3[Se] || 0 !== i3[Ae] || 0 !== i3[Ne]) ? ye : i3[Se] < 0 || i3[Se] > 59 ? Se : i3[Ae] < 0 || i3[Ae] > 59 ? Ae : i3[Ne] < 0 || i3[Ne] > 999 ? Ne : -1, m(e3)._overflowDayOfYear && (t4 < ge || t4 > Te) && (t4 = Te), m(e3)._overflowWeeks && -1 === t4 && (t4 = ve), m(e3)._overflowWeekday && -1 === t4 && (t4 = Ie), m(e3).overflow = t4), e3; } - _addChange(e3) { - this._changes.push(e3); + var Ot = /^\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)?)?$/, bt = /^\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)?)?$/, Et = /Z|[+-]\d\d(?::?\d\d)?/, wt = [["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]], Rt = [["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/]], Dt = /^\/?Date\((-?\d+)/i, Pt = /^(?:(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}))$/, Mt = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 }; + function Ft(e3) { + var t4, i3, n3, o2, r2, a2, s2 = e3._i, l2 = Ot.exec(s2) || bt.exec(s2), u2 = wt.length, c2 = Rt.length; + if (l2) { + for (m(e3).iso = true, t4 = 0, i3 = u2; t4 < i3; t4++) if (wt[t4][1].exec(l2[1])) { + o2 = wt[t4][0], n3 = false !== wt[t4][2]; + break; + } + if (null == o2) return void (e3._isValid = false); + if (l2[3]) { + for (t4 = 0, i3 = c2; t4 < i3; t4++) if (Rt[t4][1].exec(l2[3])) { + r2 = (l2[2] || " ") + Rt[t4][0]; + break; + } + if (null == r2) return void (e3._isValid = false); + } + if (!n3 && null != r2) return void (e3._isValid = false); + if (l2[4]) { + if (!Et.exec(l2[4])) return void (e3._isValid = false); + a2 = "Z"; + } + e3._f = o2 + (r2 || "") + (a2 || ""), Bt(e3); + } else e3._isValid = false; } - addTask(e3, t3) { - const i3 = { taskToAdd: e3 }; - t3 && (i3.where = t3), this._addChange({ add: { task: i3 } }); + function Lt(e3) { + var t4 = parseInt(e3, 10); + return t4 <= 49 ? 2e3 + t4 : t4 <= 999 ? 1900 + t4 : t4; } - addState(e3, t3) { - const i3 = { stateToAdd: e3 }; - t3 && (i3.where = t3), this._addChange({ add: { state: i3 } }); + function xt(e3) { + var t4, i3, n3, o2, r2, a2, s2, l2, u2 = Pt.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], o2 = u2[2], r2 = u2[5], a2 = u2[6], s2 = u2[7], l2 = [Lt(i3), Me.indexOf(n3), parseInt(o2, 10), parseInt(r2, 10), parseInt(a2, 10)], s2 && l2.push(parseInt(s2, 10)), t4 = l2, !(function(e4, t5, i4) { + return !e4 || Ye.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) { + if (e4) return Mt[e4]; + if (t5) return 0; + var n4 = parseInt(i4, 10), o3 = n4 % 100; + return (n4 - o3) / 100 * 60 + o3; + })(u2[8], u2[9], u2[10]), e3._d = ot.apply(null, e3._a), e3._d.setUTCMinutes(e3._d.getUTCMinutes() - e3._tzm), m(e3).rfc2822 = true; + } else e3._isValid = false; } - addMenu(e3, t3) { - const i3 = { menuToAdd: e3 }; - t3 && (i3.where = t3), this._addChange({ add: { menu: i3 } }); + function kt(e3, t4, i3) { + return null != e3 ? e3 : null != t4 ? t4 : i3; } - addMenuChoice(e3, t3) { - this._addChange({ add: { menuChoice: { menuChoiceToAdd: e3, where: t3 } } }); + function Vt(e3, t4, i3) { + var n3 = Object.prototype.hasOwnProperty.call(e3, "_isDefaultDatePartsForWeek"), r2 = e3._isDefaultDatePartsForWeek; + e3._isDefaultDatePartsForWeek = !!i3; + try { + return o._getDefaultDateParts(e3, t4, i3); + } finally { + n3 ? e3._isDefaultDatePartsForWeek = r2 : delete e3._isDefaultDatePartsForWeek; + } } - addActions(e3, t3) { - this._addChange({ add: { actions: { where: e3, actionsToAdd: t3 } } }); + function Ut(e3) { + var t4, i3, n3, r2, a2, s2, l2, u2 = []; + if (!e3._d) { + for (null != e3._a[ge] && null != e3._a[fe] && null != e3._a[Te] || (r2 = Vt(e3, n3 = (function(e4) { + var t5 = e4._defaultDatePartsNow; + return t5 ? (t5.hasValue || (t5.value = o.now(), t5.hasValue = true), t5.value) : o.now(); + })(e3))), e3._w && null == e3._a[Te] && null == e3._a[fe] && (function(e4, t5) { + var i4, n4, o2, r3, a3, s3, l3, u3, c2; + null != (i4 = e4._w).GG || null != i4.W || null != i4.E ? (a3 = 1, s3 = 4, n4 = kt(i4.GG, e4._a[ge], ut(t5[ge], t5[fe], t5[Te], 1, 4).year), o2 = kt(i4.W, 1), ((r3 = kt(i4.E, 1)) < 1 || r3 > 7) && (u3 = true)) : (a3 = e4._locale._week.dow, s3 = e4._locale._week.doy, c2 = ut(t5[ge], t5[fe], t5[Te], a3, s3), n4 = kt(i4.gg, e4._a[ge], c2.year), o2 = kt(i4.w, c2.week), null != i4.d ? ((r3 = i4.d) < 0 || r3 > 6) && (u3 = true) : null != i4.e ? (r3 = i4.e + a3, (i4.e < 0 || i4.e > 6) && (u3 = true)) : r3 = a3), o2 < 1 || o2 > ct(n4, a3, s3) ? m(e4)._overflowWeeks = true : null != u3 ? m(e4)._overflowWeekday = true : (l3 = at(n4, o2, r3, a3, s3), e4._a[ge] = l3.year, e4._dayOfYear = l3.dayOfYear); + })(e3, Vt(e3, n3, true)), null != e3._dayOfYear && (s2 = null != e3._a[ge] ? e3._a[ge] : r2[ge], (e3._dayOfYear > Ce(s2) || 0 === e3._dayOfYear) && (m(e3)._overflowDayOfYear = true), i3 = ot(s2, 0, e3._dayOfYear), e3._a[fe] = i3.getUTCMonth(), e3._a[Te] = i3.getUTCDate()), l2 = null == e3._a[ge] || null == e3._a[fe] || null == e3._a[Te], t4 = 0; t4 < 3 && null == e3._a[t4]; ++t4) e3._a[t4] = u2[t4] = r2[t4]; + for (; t4 < 7; t4++) e3._a[t4] = u2[t4] = null == e3._a[t4] ? 2 === t4 ? 1 : 0 : e3._a[t4]; + 24 === e3._a[ye] && 0 === e3._a[Se] && 0 === e3._a[Ae] && 0 === e3._a[Ne] && (e3._nextDay = true, e3._a[ye] = 0), e3._d = (e3._useUTC ? ot : nt).apply(null, u2), a2 = e3._useUTC ? e3._d.getUTCDay() : e3._d.getDay(), null != e3._tzm && e3._d.setUTCMinutes(e3._d.getUTCMinutes() - e3._tzm), e3._nextDay && (e3._a[ye] = 24), e3._w && void 0 !== e3._w.d && !l2 && e3._w.d !== a2 && (m(e3).weekdayMismatch = true); + } + } + function Bt(e3) { + if (e3._f !== o.ISO_8601) if (e3._f !== o.RFC_2822) { + e3._a = [], m(e3).empty = true; + var t4, i3, n3, r2, a2, s2, l2, u2 = "" + e3._i, c2 = u2.length, d2 = 0; + for (l2 = (n3 = B(e3._f, e3._locale).match(M) || []).length, t4 = 0; t4 < l2; t4++) r2 = n3[t4], (i3 = (u2.match(se(r2, 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), x[r2] ? (i3 ? m(e3).empty = false : m(e3).unusedTokens.push(r2), he(r2, i3, e3)) : e3._strict && !i3 && m(e3).unusedTokens.push(r2); + m(e3).charsLeftOver = c2 - d2, u2.length > 0 && m(e3).unusedInput.push(u2), e3._a[ye] <= 12 && true === m(e3).bigHour && e3._a[ye] > 0 && (m(e3).bigHour = void 0), m(e3).parsedDateParts = e3._a.slice(0), m(e3).meridiem = e3._meridiem, e3._a[ye] = (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[ye], e3._meridiem), null !== (s2 = m(e3).era) && (e3._a[ge] = e3._locale.erasConvertYear(s2, e3._a[ge])), Ut(e3), Ct(e3); + } else xt(e3); + else Ft(e3); } - addDelete(e3) { - this._addChange({ delete: { items: e3 } }); + function Gt(e3) { + var t4 = e3._i, i3 = e3._f; + return e3._locale = e3._locale || It(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(Ct(t4)) : (d(t4) ? e3._d = t4 : r(i3) ? (function(e4) { + var t5, i4, n3, o2, r2, a2, s2 = false, l2 = {}, u2 = e4._f.length; + if (0 === u2) return m(e4).invalidFormat = true, void (e4._d = /* @__PURE__ */ new Date(NaN)); + for (o2 = 0; o2 < u2; o2++) r2 = 0, a2 = false, t5 = S({}, e4), null != e4._useUTC && (t5._useUTC = e4._useUTC), t5._defaultDatePartsNow = l2, t5._f = e4._f[o2], Bt(t5), g(t5) && (a2 = true), r2 += m(t5).charsLeftOver, r2 += 10 * m(t5).unusedTokens.length, m(t5).score = r2, s2 ? r2 < n3 && (n3 = r2, i4 = t5) : (null == n3 || r2 < n3 || a2) && (n3 = r2, i4 = t5, a2 && (s2 = true)); + _(e4, i4 || t5); + })(e3) : i3 ? Bt(e3) : (function(e4) { + var t5 = e4._i; + u(t5) ? e4._d = new Date(o.now()) : d(t5) ? e4._d = new Date(t5.valueOf()) : "string" == typeof t5 ? (function(e5) { + var t6 = Dt.exec(e5._i); + null === t6 ? (Ft(e5), false === e5._isValid && (delete e5._isValid, xt(e5), false === e5._isValid && (delete e5._isValid, e5._strict ? e5._isValid = false : o.createFromInputFallback(e5)))) : e5._d = /* @__PURE__ */ new Date(+t6[1]); + })(e4) : r(t5) ? (e4._a = p(t5.slice(0), function(e5) { + return parseInt(e5, 10); + }), Ut(e4)) : a(t5) ? (function(e5) { + if (!e5._d) { + var t6 = R(e5._i), i4 = void 0 === t6.day ? t6.date : t6.day; + e5._a = p([t6.year, t6.month, i4, t6.hour, t6.minute, t6.second, t6.millisecond], function(e6) { + return e6 && parseInt(e6, 10); + }), Ut(e5); + } + })(e4) : c(t5) ? e4._d = new Date(t5) : o.createFromInputFallback(e4); + })(e3), g(e3) || (e3._d = null), e3)); } - addUpdate(e3) { - this._addChange({ update: e3 }); + function jt(e3, t4, i3, n3, o2) { + var s2, u2 = {}; + return true !== t4 && false !== t4 || (n3 = t4, t4 = void 0), true !== i3 && false !== i3 || (n3 = i3, i3 = void 0), (a(e3) && l(e3) || r(e3) && 0 === e3.length) && (e3 = void 0), u2._isAMomentObject = true, u2._useUTC = u2._isUTC = o2, u2._l = i3, u2._i = e3, u2._f = t4, u2._strict = n3, (s2 = new A(Ct(Gt(u2))))._nextDay && (s2.add(1, "d"), s2._nextDay = void 0), s2; } - isUndoDeleteGroupActive() { - return this._undoDeleteGroupDepth > 0; + function qt(e3, t4, i3, n3) { + return jt(e3, t4, i3, n3, false); } - beginUndoDeleteGroup() { - this._undoDeleteGroupDepth++; + o.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) { + e3._d = /* @__PURE__ */ new Date(e3._i + (e3._useUTC ? " UTC" : "")); + }), o._getDefaultDateParts = function(e3, t4, i3) { + var n3 = i3 || e3._isDefaultDatePartsForWeek, o2 = n3 ? qt(t4) : new Date(t4); + return n3 ? [o2.year(), o2.month(), o2.date()] : e3._useUTC ? [o2.getUTCFullYear(), o2.getUTCMonth(), o2.getUTCDate()] : [o2.getFullYear(), o2.getMonth(), o2.getDate()]; + }, o.ISO_8601 = function() { + }, o.RFC_2822 = function() { + }; + var Wt = I("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() { + var e3 = qt.apply(null, arguments); + return this.isValid() && e3.isValid() ? e3 < this ? this : e3 : f(); + }), Yt = I("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() { + var e3 = qt.apply(null, arguments); + return this.isValid() && e3.isValid() ? e3 > this ? this : e3 : f(); + }); + function Ht(e3, t4) { + var i3, n3; + if (1 === t4.length && r(t4[0]) && (t4 = t4[0]), !t4.length) return qt(); + for (n3 = 0; n3 < t4.length; ++n3) if (N(t4[n3])) { + i3 = t4[n3]; + break; + } + if (!i3) return f(); + for (++n3; n3 < t4.length; ++n3) !N(t4[n3]) || t4[n3].isValid() && !t4[n3][e3](i3) || (i3 = t4[n3]); + return i3; } - endUndoDeleteGroup() { - this._undoDeleteGroupDepth > 0 && this._undoDeleteGroupDepth--; + var Jt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"]; + function $t(e3) { + var t4 = R(e3), i3 = t4.year || 0, n3 = t4.quarter || 0, o2 = t4.month || 0, r2 = 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, o3 = Jt.length; + for (t5 in e4) if (s(e4, t5) && (-1 === Oe.call(Jt, t5) || null != e4[t5] && isNaN(e4[t5]))) return false; + for (i4 = 0; i4 < o3; ++i4) if (e4[Jt[i4]]) { + if (n4) return false; + parseFloat(e4[Jt[i4]]) !== ce(e4[Jt[i4]]) && (n4 = true); + } + return true; + })(t4), this._milliseconds = +d2 + 1e3 * c2 + 6e4 * u2 + 1e3 * l2 * 60 * 60, this._days = +a2 + 7 * r2, this._months = +o2 + 3 * n3 + 12 * i3, this._data = {}, this._locale = It(), this._bubble(); } - recordUndoDeleteByTrackingId(e3, t3) { - this.recordUndoDeleteItem(e3, { trackingId: t3 }); + function zt(e3) { + return e3 instanceof $t; } - recordUndoDeleteByObjectId(e3, t3) { - this.recordUndoDeleteItem(e3, { id: t3 }); + function Kt(e3) { + return e3 < 0 ? -1 * Math.round(-1 * e3) : Math.round(e3); } - 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] } }); + function Qt(e3, t4) { + k(e3, 0, 0, function() { + var e4 = this.utcOffset(), i3 = "+"; + return e4 < 0 && (e4 = -e4, i3 = "-"), i3 + P(~~(e4 / 60), 2) + t4 + P(~~e4 % 60, 2); + }); } - 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; + Qt("Z", ":"), Qt("ZZ", ""), ae("Z", ie), ae("ZZ", ie), pe(["Z", "ZZ"], function(e3, t4, i3) { + var n3 = Zt(ie, e3); + i3._useUTC = true, i3._tzm = n3, null === n3 && (m(i3).invalidOffset = e3); + }); + var Xt = /([\+\-]|\d\d)/gi; + function Zt(e3, t4) { + var i3, n3, o2 = (t4 || "").match(e3); + return null === o2 ? null : (n3 = 60 * (i3 = ((o2[o2.length - 1] || []) + "").match(Xt) || ["-", 0, 0])[1] + ce(i3[2]), ce(i3[2]) > 59 || ("+" === i3[0] ? n3 > 840 : n3 > 720) ? null : 0 === n3 ? 0 : "+" === i3[0] ? n3 : -n3); } - _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]); - } + function ei(e3, t4) { + var i3, n3; + return t4._isUTC ? (i3 = t4.clone(), n3 = (N(e3) || d(e3) ? e3.valueOf() : qt(e3).valueOf()) - i3.valueOf(), i3._d.setTime(i3._d.valueOf() + n3), o.updateOffset(i3, false), i3) : qt(e3).local(); } - _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); + function ti(e3) { + return -Math.round(e3._d.getTimezoneOffset()); } - _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); + function ii() { + return !!this.isValid() && this._isUTC && 0 === this._offset; } - _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); + o.updateOffset = function() { + }; + var ni = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, oi = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + function ri(e3, t4) { + var i3, n3, o2, r2, a2, l2, u2 = e3, d2 = null; + return zt(e3) ? u2 = { ms: e3._milliseconds, d: e3._days, M: e3._months } : c(e3) || !isNaN(+e3) ? (u2 = {}, t4 ? u2[t4] = +e3 : u2.milliseconds = +e3) : (d2 = ni.exec(e3)) ? (i3 = "-" === d2[1] ? -1 : 1, u2 = { y: 0, d: ce(d2[Te]) * i3, h: ce(d2[ye]) * i3, m: ce(d2[Se]) * i3, s: ce(d2[Ae]) * i3, ms: ce(Kt(1e3 * d2[Ne])) * i3 }) : (d2 = oi.exec(e3)) ? (i3 = "-" === d2[1] ? -1 : 1, u2 = { y: ai(d2[2], i3), M: ai(d2[3], i3), w: ai(d2[4], i3), d: ai(d2[5], i3), h: ai(d2[6], i3), m: ai(d2[7], i3), s: ai(d2[8], i3) }) : null == u2 ? u2 = {} : "object" == typeof u2 && ("from" in u2 || "to" in u2) && (r2 = qt(u2.from), a2 = qt(u2.to), o2 = r2.isValid() && a2.isValid() ? (a2 = ei(a2, r2), r2.isBefore(a2) ? l2 = si(r2, a2) : ((l2 = si(a2, r2)).milliseconds = -l2.milliseconds, l2.months = -l2.months), l2) : { milliseconds: 0, months: 0 }, (u2 = {}).ms = o2.milliseconds, u2.M = o2.months), n3 = new $t(u2), zt(e3) && s(e3, "_locale") && (n3._locale = e3._locale), zt(e3) && s(e3, "_isValid") && (n3._isValid = e3._isValid), n3; } - _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); + function ai(e3, t4) { + var i3 = e3 && parseFloat(e3.replace(",", ".")); + return (isNaN(i3) ? 0 : i3) * t4; } - } - t2.ChangeSet = p, p._nextNumber = 1; - }, 10798: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getFeatureConfig = h, t2.getEnabledFeatureConfigNames = function() { - const e3 = []; - return r2.default.each(_, (t3) => { - g(t3.featureConfigName) && e3.push(t3.featureConfigName); - }), e3; - }, t2.isFeaturePresent = m, t2.isFeatureAvailable = g, t2.isFeatureUnavailable = function(e3) { - return !g(e3); - }, t2.setBootstrapData = function(e3) { - (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 = f, t2.checkArrayForFeatureSupport = function(e3) { - let t3 = true; - return e3.forEach((e4) => { - 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)), c = o.getTopic("featureConfig"); - let d = false; - 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 _ = /* @__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 = _[e3] = new s.default(e3, i3); - } - return t3; - } - function m(e3) { - 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) { - 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"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NluVersionUtil = void 0, t2.NluVersionUtil = class { - static reverseArray(e3) { - return e3 ? [...e3].reverse() : e3; + function si(e3, t4) { + var i3 = {}; + return i3.months = t4.month() - e3.month() + 12 * (t4.year() - e3.year()), e3.clone().add(i3.months, "M").isAfter(t4) && --i3.months, i3.milliseconds = +t4 - +e3.clone().add(i3.months, "M"), i3; } - }; - }, 10923: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + function li(e3, t4) { + return function(i3, n3) { + var o2; + return null === n3 || isNaN(+n3) || (O(t4, "moment()." + t4 + "(period, number) is deprecated. Please use moment()." + t4 + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), o2 = i3, i3 = n3, n3 = o2), ui(this, ri(i3, n3), e3), this; + }; } - get _actionTypeId() { - return r2.findLanguageSkillActionType; + function ui(e3, t4, i3, n3) { + var r2 = t4._milliseconds, a2 = Kt(t4._days), s2 = Kt(t4._months); + e3.isValid() && (n3 = n3 ?? true, s2 && Ue(e3, we(e3, "Month") + s2 * i3), a2 && Re(e3, "Date", we(e3, "Date") + a2 * i3), r2 && e3._d.setTime(e3._d.valueOf() + r2 * i3), n3 && o.updateOffset(e3, a2 || s2)); } - get displayTypeName() { - return this._scriptingName; + ri.fn = $t.prototype, ri.invalid = function() { + return ri(NaN); + }; + var ci = li(1, "add"), di = li(-1, "subtract"); + function pi(e3) { + return "string" == typeof e3 || e3 instanceof String; } - get isArchActionFindLanguageSkill() { - return true; + function _i(e3) { + return N(e3) || d(e3) || pi(e3) || c(e3) || (function(e4) { + var t4 = r(e4), i3 = false; + return t4 && (i3 = 0 === e4.filter(function(t5) { + return !c(t5) && pi(e4); + }).length), t4 && i3; + })(e3) || (function(e4) { + var t4, i3, n3 = a(e4) && !l(e4), o2 = false, r2 = ["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 = r2.length; + for (t4 = 0; t4 < u2; t4 += 1) i3 = r2[t4], o2 = o2 || s(e4, i3); + return n3 && o2; + })(e3) || null == e3; } - get findResult() { - return this._findResult; + function hi(e3, t4) { + if (e3.date() < t4.date()) return -hi(t4, e3); + var i3 = 12 * (t4.year() - e3.year()) + (t4.month() - e3.month()), n3 = e3.clone().add(i3, "months"); + return -(i3 + (t4 - n3 < 0 ? (t4 - n3) / (n3 - e3.clone().add(i3 - 1, "months")) : (t4 - n3) / (e3.clone().add(i3 + 1, "months") - n3))) || 0; } - } - 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), c = i2(36019).default; - function d() { - } - 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), 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)); + function mi(e3) { + var t4; + return void 0 === e3 ? this._locale._abbr : (null != (t4 = It(e3)) && (this._locale = t4), this); } - _initializeDesignTime() { - var e3, t3, i3; - super._initializeDesignTime(); - const n3 = this.parentFlow; - (null === (e3 = n3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.isKnowledgeV3AvailableInOrg) && (this._setKnowledgeVersionSettings(null === (i3 = null === (t3 = n3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeVersion) || void 0 === i3 ? void 0 : i3.text), this.addAutoCleanedUpEventListener(_.knowledgeVersionChanged, (e4) => { - this._setKnowledgeVersionSettings(e4); - })); + o.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", o.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; + var gi = I("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 fi() { + return this._locale; } - static get managedProperties() { - 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)) }]; + var Ti = 1e3, yi = 6e4, Si = 36e5, Ai = 126227808e5; + function Ni(e3, t4) { + return (e3 % t4 + t4) % t4; } - _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); + function vi(e3, t4, i3) { + return e3 < 100 && e3 >= 0 ? new Date(e3 + 400, t4, i3) - Ai : new Date(e3, t4, i3).valueOf(); } - } - 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, 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 { - constructor(e3) { - super(e3), this.__type = N.__type, (0, A.makeUnenumerable)(this, "_messagingTemplate"), (0, A.makeUnenumerable)(this, "_messagingTemplateId"), (0, A.makeUnenumerable)(this, "_messagingTemplateName"), (0, A.makeUnenumerable)(this, "_selectionResult"), (0, A.makeUnenumerable)(this, "_responseLibrary"), (0, A.makeUnenumerable)(this, "_substitutions"), (0, A.makeUnenumerable)(this, "_question"), (0, A.makeUnenumerable)(this, "_messagingTemplateType"); + function Ii(e3, t4, i3) { + return e3 < 100 && e3 >= 0 ? Date.UTC(e3 + 400, t4, i3) - Ai : Date.UTC(e3, t4, i3); } - pasteReIdOrRename(e3) { - var t3, i3, n3, r3, o2, a2; - super.pasteReIdOrRename(e3), null === (t3 = this._messagingTemplate) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this._responseLibrary) || void 0 === i3 || i3.pasteReIdOrRename(e3), null === (n3 = this._selectionResult) || void 0 === n3 || n3.pasteReIdOrRename(e3), null === (r3 = this._substitutions) || void 0 === r3 || r3.forEach((t4) => null == t4 ? void 0 : t4.pasteReIdOrRename(e3)), null === (o2 = this._question) || void 0 === o2 || o2.pasteReIdOrRename(e3), null === (a2 = this._messagingTemplateType) || void 0 === a2 || a2.pasteReIdOrRename(e3); + function Ci(e3, t4) { + return t4.erasAbbrRegex(e3); } - pasteResolveOldToNewValues(e3) { - var t3, i3, n3, r3, o2, a2; - super.pasteResolveOldToNewValues(e3), null === (t3 = this._messagingTemplate) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this._responseLibrary) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), null === (n3 = this._selectionResult) || void 0 === n3 || n3.pasteResolveOldToNewValues(e3), null === (r3 = this._substitutions) || void 0 === r3 || r3.forEach((t4) => null == t4 ? void 0 : t4.pasteResolveOldToNewValues(e3)), null === (o2 = this._question) || void 0 === o2 || o2.pasteResolveOldToNewValues(e3), null === (a2 = this._messagingTemplateType) || void 0 === a2 || a2.pasteResolveOldToNewValues(e3); + function Oi() { + var e3, t4, i3, n3, o2, r2 = [], a2 = [], s2 = [], l2 = [], u2 = this.eras(); + for (e3 = 0, t4 = u2.length; e3 < t4; ++e3) i3 = le(u2[e3].name), n3 = le(u2[e3].abbr), o2 = le(u2[e3].narrow), a2.push(i3), r2.push(n3), s2.push(o2), l2.push(i3), l2.push(n3), l2.push(o2); + this._erasRegex = new RegExp("^(" + l2.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + a2.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + r2.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp("^(" + s2.join("|") + ")", "i"); } - get messagingTemplate() { - return this._messagingTemplate; + function bi(e3, t4) { + k(0, [e3, e3.length], 0, t4); } - set messagingTemplate(e3) { - this._messagingTemplate = this.reviveItem(e3, f.MessagingTemplate); + function Ei(e3, t4, i3, n3, o2) { + var r2; + return null == e3 ? lt(this, n3, o2).year : (t4 > (r2 = ct(e3, n3, o2)) && (t4 = r2), wi.call(this, e3, t4, i3, n3, o2)); } - get messagingTemplateId() { - return this._messagingTemplateId; + function wi(e3, t4, i3, n3, o2) { + var r2 = at(e3, t4, i3, n3, o2), a2 = ot(r2.year, 0, r2.dayOfYear); + return this.year(a2.getUTCFullYear()), this.month(a2.getUTCMonth()), this.date(a2.getUTCDate()), this; } - set messagingTemplateId(e3) { - this._messagingTemplateId = e3; + k("N", 0, 0, "eraAbbr"), k("NN", 0, 0, "eraAbbr"), k("NNN", 0, 0, "eraAbbr"), k("NNNN", 0, 0, "eraName"), k("NNNNN", 0, 0, "eraNarrow"), k("y", ["y", 1], "yo", "eraYear"), k("y", ["yy", 2], 0, "eraYear"), k("y", ["yyy", 3], 0, "eraYear"), k("y", ["yyyy", 4], 0, "eraYear"), ae("N", Ci), ae("NN", Ci), ae("NNN", Ci), ae("NNNN", function(e3, t4) { + return t4.erasNameRegex(e3); + }), ae("NNNNN", function(e3, t4) { + return t4.erasNarrowRegex(e3); + }), pe(["N", "NN", "NNN", "NNNN", "NNNNN"], function(e3, t4, i3, n3) { + var o2 = i3._locale.erasParse(e3, n3, i3._strict); + o2 ? m(i3).era = o2 : m(i3).invalidEra = e3; + }), ae("y", Z), ae("yy", Z), ae("yyy", Z), ae("yyyy", Z), ae("yo", function(e3, t4) { + return t4._eraYearOrdinalRegex || Z; + }), pe(["y", "yy", "yyy", "yyyy"], ge), pe(["yo"], function(e3, t4, i3, n3) { + var o2; + i3._locale._eraYearOrdinalRegex && (o2 = e3.match(i3._locale._eraYearOrdinalRegex)), i3._locale.eraYearOrdinalParse ? t4[ge] = i3._locale.eraYearOrdinalParse(e3, o2) : t4[ge] = parseInt(e3, 10); + }), k(0, ["gg", 2], 0, function() { + return this.weekYear() % 100; + }), k(0, ["GG", 2], 0, function() { + return this.isoWeekYear() % 100; + }), bi("gggg", "weekYear"), bi("ggggg", "weekYear"), bi("GGGG", "isoWeekYear"), bi("GGGGG", "isoWeekYear"), ae("G", ee), ae("g", ee), ae("GG", J, q), ae("gg", J, q), ae("GGGG", Q, Y), ae("gggg", Q, Y), ae("GGGGG", X, H), ae("ggggg", X, H), _e(["gggg", "ggggg", "GGGG", "GGGGG"], function(e3, t4, i3, n3) { + t4[n3.substr(0, 2)] = ce(e3); + }), _e(["gg", "GG"], function(e3, t4, i3, n3) { + t4[n3] = o.parseTwoDigitYear(e3); + }), k("Q", 0, "Qo", "quarter"), ae("Q", j), pe("Q", function(e3, t4) { + t4[fe] = 3 * (ce(e3) - 1); + }), k("D", ["DD", 2], "Do", "date"), ae("D", J, oe), ae("DD", J, q), ae("Do", function(e3, t4) { + return e3 ? t4._dayOfMonthOrdinalParse || t4._ordinalParse : t4._dayOfMonthOrdinalParseLenient; + }), pe(["D", "DD"], Te), pe("Do", function(e3, t4) { + t4[Te] = ce(e3.match(J)[0]); + }); + var Ri = Ee("Date", true); + k("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), ae("DDD", K), ae("DDDD", W), pe(["DDD", "DDDD"], function(e3, t4, i3) { + i3._dayOfYear = ce(e3); + }), k("m", ["mm", 2], 0, "minute"), ae("m", J, re), ae("mm", J, q), pe(["m", "mm"], Se); + var Di = Ee("Minutes", false); + k("s", ["ss", 2], 0, "second"), ae("s", J, re), ae("ss", J, q), pe(["s", "ss"], Ae); + var Pi, Mi, Fi = Ee("Seconds", false); + for (k("S", 0, 0, function() { + return ~~(this.millisecond() / 100); + }), k(0, ["SS", 2], 0, function() { + return ~~(this.millisecond() / 10); + }), k(0, ["SSS", 3], 0, "millisecond"), k(0, ["SSSS", 4], 0, function() { + return 10 * this.millisecond(); + }), k(0, ["SSSSS", 5], 0, function() { + return 100 * this.millisecond(); + }), k(0, ["SSSSSS", 6], 0, function() { + return 1e3 * this.millisecond(); + }), k(0, ["SSSSSSS", 7], 0, function() { + return 1e4 * this.millisecond(); + }), k(0, ["SSSSSSSS", 8], 0, function() { + return 1e5 * this.millisecond(); + }), k(0, ["SSSSSSSSS", 9], 0, function() { + return 1e6 * this.millisecond(); + }), ae("S", K, j), ae("SS", K, q), ae("SSS", K, W), Pi = "SSSS"; Pi.length <= 9; Pi += "S") ae(Pi, Z); + function Li(e3, t4) { + t4[Ne] = ce(1e3 * ("0." + e3)); } - get messagingTemplateName() { - return this._messagingTemplateName; + for (Pi = "S"; Pi.length <= 9; Pi += "S") pe(Pi, Li); + Mi = Ee("Milliseconds", false), k("z", 0, 0, "zoneAbbr"), k("zz", 0, 0, "zoneName"); + var xi = A.prototype; + function ki(e3) { + return e3; } - set messagingTemplateName(e3) { - this._messagingTemplateName = e3; + xi.add = ci, xi.calendar = function(e3, t4) { + 1 === arguments.length && (arguments[0] ? _i(arguments[0]) ? (e3 = arguments[0], t4 = void 0) : (function(e4) { + var t5, i4 = a(e4) && !l(e4), n4 = false, o2 = ["sameDay", "nextDay", "lastDay", "nextWeek", "lastWeek", "sameElse"]; + for (t5 = 0; t5 < o2.length; t5 += 1) n4 = n4 || s(e4, o2[t5]); + return i4 && n4; + })(arguments[0]) && (t4 = arguments[0], e3 = void 0) : (e3 = void 0, t4 = void 0)); + var i3 = e3 || qt(), n3 = ei(i3, this).startOf("day"), r2 = o.calendarFormat(this, n3) || "sameElse", u2 = t4 && (b(t4[r2]) ? t4[r2].call(this, i3) : t4[r2]); + return this.format(u2 || this.localeData().calendar(r2, this, qt(i3))); + }, xi.clone = function() { + return new A(this); + }, xi.diff = function(e3, t4, i3) { + var n3, o2, r2; + if (!this.isValid()) return NaN; + if (!(n3 = ei(e3, this)).isValid()) return NaN; + switch (o2 = 6e4 * (n3.utcOffset() - this.utcOffset()), t4 = w(t4)) { + case "year": + r2 = hi(this, n3) / 12; + break; + case "month": + r2 = hi(this, n3); + break; + case "quarter": + r2 = hi(this, n3) / 3; + break; + case "second": + r2 = (this - n3) / 1e3; + break; + case "minute": + r2 = (this - n3) / 6e4; + break; + case "hour": + r2 = (this - n3) / 36e5; + break; + case "day": + r2 = (this - n3 - o2) / 864e5; + break; + case "week": + r2 = (this - n3 - o2) / 6048e5; + break; + default: + r2 = this - n3; + } + return i3 ? r2 : ue(r2); + }, xi.endOf = function(e3) { + var t4, i3; + if (void 0 === (e3 = w(e3)) || "millisecond" === e3 || !this.isValid()) return this; + switch (i3 = this._isUTC ? Ii : vi, e3) { + case "year": + t4 = i3(this.year() + 1, 0, 1) - 1; + break; + case "quarter": + t4 = i3(this.year(), this.month() - this.month() % 3 + 3, 1) - 1; + break; + case "month": + t4 = i3(this.year(), this.month() + 1, 1) - 1; + break; + case "week": + t4 = i3(this.year(), this.month(), this.date() - this.weekday() + 7) - 1; + break; + case "isoWeek": + t4 = i3(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1; + break; + case "day": + case "date": + t4 = i3(this.year(), this.month(), this.date() + 1) - 1; + break; + case "hour": + t4 = this._d.valueOf(), t4 += Si - Ni(t4 + (this._isUTC ? 0 : this.utcOffset() * yi), Si) - 1; + break; + case "minute": + t4 = this._d.valueOf(), t4 += yi - Ni(t4, yi) - 1; + break; + case "second": + t4 = this._d.valueOf(), t4 += Ti - Ni(t4, Ti) - 1; + } + return this._d.setTime(t4), o.updateOffset(this, true), this; + }, xi.format = function(e3) { + e3 || (e3 = this.isUtc() ? o.defaultFormatUtc : o.defaultFormat); + var t4 = U(this, e3); + return this.localeData().postformat(t4); + }, xi.from = function(e3, t4) { + return this.isValid() && (N(e3) && e3.isValid() || qt(e3).isValid()) ? ri({ to: this, from: e3 }).locale(this.locale()).humanize(!t4) : this.localeData().invalidDate(); + }, xi.fromNow = function(e3) { + return this.from(qt(), e3); + }, xi.to = function(e3, t4) { + return this.isValid() && (N(e3) && e3.isValid() || qt(e3).isValid()) ? ri({ from: this, to: e3 }).locale(this.locale()).humanize(!t4) : this.localeData().invalidDate(); + }, xi.toNow = function(e3) { + return this.to(qt(), e3); + }, xi.get = function(e3) { + return b(this[e3 = w(e3)]) ? this[e3]() : this; + }, xi.invalidAt = function() { + return m(this).overflow; + }, xi.isAfter = function(e3, t4) { + var i3 = N(e3) ? e3 : qt(e3); + return !(!this.isValid() || !i3.isValid()) && ("millisecond" === (t4 = w(t4) || "millisecond") ? this.valueOf() > i3.valueOf() : i3.valueOf() < this.clone().startOf(t4).valueOf()); + }, xi.isBefore = function(e3, t4) { + var i3 = N(e3) ? e3 : qt(e3); + return !(!this.isValid() || !i3.isValid()) && ("millisecond" === (t4 = w(t4) || "millisecond") ? this.valueOf() < i3.valueOf() : this.clone().endOf(t4).valueOf() < i3.valueOf()); + }, xi.isBetween = function(e3, t4, i3, n3) { + var o2 = N(e3) ? e3 : qt(e3), r2 = N(t4) ? t4 : qt(t4); + return !!(this.isValid() && o2.isValid() && r2.isValid()) && ("(" === (n3 = n3 || "()")[0] ? this.isAfter(o2, i3) : !this.isBefore(o2, i3)) && (")" === n3[1] ? this.isBefore(r2, i3) : !this.isAfter(r2, i3)); + }, xi.isSame = function(e3, t4) { + var i3, n3 = N(e3) ? e3 : qt(e3); + return !(!this.isValid() || !n3.isValid()) && ("millisecond" === (t4 = w(t4) || "millisecond") ? this.valueOf() === n3.valueOf() : (i3 = n3.valueOf(), this.clone().startOf(t4).valueOf() <= i3 && i3 <= this.clone().endOf(t4).valueOf())); + }, xi.isSameOrAfter = function(e3, t4) { + return this.isSame(e3, t4) || this.isAfter(e3, t4); + }, xi.isSameOrBefore = function(e3, t4) { + return this.isSame(e3, t4) || this.isBefore(e3, t4); + }, xi.isValid = function() { + return g(this); + }, xi.lang = gi, xi.locale = mi, xi.localeData = fi, xi.max = Yt, xi.min = Wt, xi.parsingFlags = function() { + return _({}, m(this)); + }, xi.set = function(e3, t4) { + if ("object" == typeof e3) { + var i3, n3 = (function(e4) { + var t5, i4 = []; + for (t5 in e4) s(e4, t5) && i4.push({ unit: t5, priority: D[t5] }); + return i4.sort(function(e5, t6) { + return e5.priority - t6.priority; + }), i4; + })(e3 = R(e3)), o2 = n3.length; + for (i3 = 0; i3 < o2; i3++) this[n3[i3].unit](e3[n3[i3].unit]); + } else if (b(this[e3 = w(e3)])) return this[e3](t4); + return this; + }, xi.startOf = function(e3) { + var t4, i3; + if (void 0 === (e3 = w(e3)) || "millisecond" === e3 || !this.isValid()) return this; + switch (i3 = this._isUTC ? Ii : vi, e3) { + case "year": + t4 = i3(this.year(), 0, 1); + break; + case "quarter": + t4 = i3(this.year(), this.month() - this.month() % 3, 1); + break; + case "month": + t4 = i3(this.year(), this.month(), 1); + break; + case "week": + t4 = i3(this.year(), this.month(), this.date() - this.weekday()); + break; + case "isoWeek": + t4 = i3(this.year(), this.month(), this.date() - (this.isoWeekday() - 1)); + break; + case "day": + case "date": + t4 = i3(this.year(), this.month(), this.date()); + break; + case "hour": + t4 = this._d.valueOf(), t4 -= Ni(t4 + (this._isUTC ? 0 : this.utcOffset() * yi), Si); + break; + case "minute": + t4 = this._d.valueOf(), t4 -= Ni(t4, yi); + break; + case "second": + t4 = this._d.valueOf(), t4 -= Ni(t4, Ti); + } + return this._d.setTime(t4), o.updateOffset(this, true), this; + }, xi.subtract = di, xi.toArray = function() { + var e3 = this; + return [e3.year(), e3.month(), e3.date(), e3.hour(), e3.minute(), e3.second(), e3.millisecond()]; + }, xi.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() }; + }, xi.toDate = function() { + return new Date(this.valueOf()); + }, xi.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 ? U(i3, t4 ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : b(Date.prototype.toISOString) ? t4 ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", U(i3, "Z")) : U(i3, t4 ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"); + }, xi.inspect = function() { + if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)"; + var e3, t4, i3, n3 = "moment", o2 = ""; + return this.isLocal() || (n3 = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", o2 = "Z"), e3 = "[" + n3 + '("]', t4 = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", i3 = o2 + '[")]', this.format(e3 + t4 + "-MM-DD[T]HH:mm:ss.SSS" + i3); + }, "undefined" != typeof Symbol && null != Symbol.for && (xi[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = function() { + return "Moment<" + this.format() + ">"; + }), xi.toJSON = function() { + return this.isValid() ? this.toISOString() : null; + }, xi.toString = function() { + return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ"); + }, xi.unix = function() { + return Math.floor(this.valueOf() / 1e3); + }, xi.valueOf = function() { + return this._d.valueOf() - 6e4 * (this._offset || 0); + }, xi.creationData = function() { + return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict }; + }, xi.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 ""; + }, xi.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 ""; + }, xi.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 ""; + }, xi.eraYear = function() { + var e3, t4, i3, n3, r2 = this.localeData().eras(); + for (e3 = 0, t4 = r2.length; e3 < t4; ++e3) if (i3 = r2[e3].since <= r2[e3].until ? 1 : -1, n3 = this.clone().startOf("day").valueOf(), r2[e3].since <= n3 && n3 <= r2[e3].until || r2[e3].until <= n3 && n3 <= r2[e3].since) return (this.year() - o(r2[e3].since).year()) * i3 + r2[e3].offset; + return this.year(); + }, xi.year = be, xi.isLeapYear = function() { + return me(this.year()); + }, xi.weekYear = function(e3) { + return Ei.call(this, e3, this.week(), this.weekday() + this.localeData()._week.dow, this.localeData()._week.dow, this.localeData()._week.doy); + }, xi.isoWeekYear = function(e3) { + return Ei.call(this, e3, this.isoWeek(), this.isoWeekday(), 1, 4); + }, xi.quarter = xi.quarters = function(e3) { + return null == e3 ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e3 - 1) + this.month() % 3); + }, xi.month = Be, xi.daysInMonth = function() { + return De(this.year(), this.month()); + }, xi.week = xi.weeks = function(e3) { + var t4 = this.localeData().week(this); + return null == e3 ? t4 : this.add(7 * (e3 - t4), "d"); + }, xi.isoWeek = xi.isoWeeks = function(e3) { + var t4 = lt(this, 1, 4).week; + return null == e3 ? t4 : this.add(7 * (e3 - t4), "d"); + }, xi.weeksInYear = function() { + var e3 = this.localeData()._week; + return ct(this.year(), e3.dow, e3.doy); + }, xi.weeksInWeekYear = function() { + var e3 = this.localeData()._week; + return ct(this.weekYear(), e3.dow, e3.doy); + }, xi.isoWeeksInYear = function() { + return ct(this.year(), 1, 4); + }, xi.isoWeeksInISOWeekYear = function() { + return ct(this.isoWeekYear(), 1, 4); + }, xi.date = Ri, xi.day = xi.days = function(e3) { + if (!this.isValid()) return null != e3 ? this : NaN; + var t4 = we(this, "Day"); + 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; + }, xi.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"); + }, xi.isoWeekday = function(e3) { + if (!this.isValid()) return null != e3 ? this : NaN; + if (null != e3) { + var t4 = (function(e4, t5) { + return "string" == typeof e4 ? t5.weekdaysParse(e4) % 7 || 7 : isNaN(e4) ? null : e4; + })(e3, this.localeData()); + return this.day(this.day() % 7 ? t4 : t4 - 7); + } + return this.day() || 7; + }, xi.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"); + }, xi.hour = xi.hours = ht, xi.minute = xi.minutes = Di, xi.second = xi.seconds = Fi, xi.millisecond = xi.milliseconds = Mi, xi.utcOffset = function(e3, t4, i3) { + var n3, r2 = this._offset || 0; + if (!this.isValid()) return null != e3 ? this : NaN; + if (null != e3) { + if ("string" == typeof e3) { + if (null === (e3 = Zt(ie, e3))) return this; + } else Math.abs(e3) < 16 && !i3 && (e3 *= 60); + return !this._isUTC && t4 && (n3 = ti(this)), this._offset = e3, this._isUTC = true, null != n3 && this.add(n3, "m"), r2 !== e3 && (!t4 || this._changeInProgress ? ui(this, ri(e3 - r2, "m"), 1, false) : this._changeInProgress || (this._changeInProgress = true, o.updateOffset(this, true), this._changeInProgress = null)), this; + } + return this._isUTC ? r2 : ti(this); + }, xi.utc = function(e3) { + return this.utcOffset(0, e3); + }, xi.local = function(e3) { + return this._isUTC && (this.utcOffset(0, e3), this._isUTC = false, e3 && this.subtract(ti(this), "m")), this; + }, xi.parseZone = function() { + if (null != this._tzm) this.utcOffset(this._tzm, false, true); + else if ("string" == typeof this._i) { + var e3 = Zt(te, this._i); + null != e3 ? this.utcOffset(e3) : this.utcOffset(0, true); + } + return this; + }, xi.hasAlignedHourOffset = function(e3) { + return !!this.isValid() && (e3 = e3 ? qt(e3).utcOffset() : 0, (this.utcOffset() - e3) % 60 == 0); + }, xi.isDST = function() { + return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset(); + }, xi.isLocal = function() { + return !!this.isValid() && !this._isUTC; + }, xi.isUtcOffset = function() { + return !!this.isValid() && this._isUTC; + }, xi.isUtc = ii, xi.isUTC = ii, xi.zoneAbbr = function() { + return this._isUTC ? "UTC" : ""; + }, xi.zoneName = function() { + return this._isUTC ? "Coordinated Universal Time" : ""; + }, xi.dates = I("dates accessor is deprecated. Use date instead.", Ri), xi.months = I("months accessor is deprecated. Use month instead", Be), xi.years = I("years accessor is deprecated. Use year instead", be), xi.zone = I("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(); + }), xi.isDSTShifted = I("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 = Gt(t4))._a ? (e3 = t4._isUTC ? h(t4._a) : qt(t4._a), this._isDSTShifted = this.isValid() && (function(e4, t5) { + var i3, n3 = Math.min(e4.length, t5.length), o2 = Math.abs(e4.length - t5.length), r2 = 0; + for (i3 = 0; i3 < n3; i3++) ce(e4[i3]) !== ce(t5[i3]) && r2++; + return r2 + o2; + })(t4._a, e3.toArray()) > 0) : this._isDSTShifted = false, this._isDSTShifted; + }); + var Vi = et.prototype; + function Ui(e3, t4, i3, n3) { + var o2 = It(), r2 = h().set(n3, t4); + return o2[i3](r2, e3); + } + function Bi(e3, t4, i3) { + if (c(e3) && (t4 = e3, e3 = void 0), e3 = e3 || "", null != t4) return Ui(e3, t4, i3, "month"); + var n3, o2 = []; + for (n3 = 0; n3 < 12; n3++) o2[n3] = Ui(e3, n3, i3, "month"); + return o2; } - get selectionResult() { - return this._selectionResult; + function Gi(e3, t4, i3, n3) { + "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 o2, r2 = It(), a2 = e3 ? r2._week.dow : 0, s2 = []; + if (null != i3) return Ui(t4, (i3 + a2) % 7, n3, "day"); + for (o2 = 0; o2 < 7; o2++) s2[o2] = Ui(t4, (o2 + a2) % 7, n3, "day"); + return s2; } - set selectionResult(e3) { - this._selectionResult = this.reviveItem(e3, m.default); + Vi.calendar = function(e3, t4, i3) { + var n3 = this._calendar[e3] || this._calendar.sameElse; + return b(n3) ? n3.call(t4, i3) : n3; + }, Vi.longDateFormat = function(e3) { + var t4 = this._longDateFormat[e3], i3 = this._longDateFormat[e3.toUpperCase()], n3 = this._longDateFormatCache; + return t4 || !i3 ? t4 : n3 && n3[e3] && n3[e3].formatUpper === i3 ? n3[e3].format : (t4 = i3.match(M).map(function(e4) { + return "MMMM" === e4 || "MM" === e4 || "DD" === e4 || "dddd" === e4 ? e4.slice(1) : e4; + }).join(""), n3 || (n3 = this._longDateFormatCache = {}), n3[e3] = { formatUpper: i3, format: t4 }, t4); + }, Vi.invalidDate = function() { + return this._invalidDate; + }, Vi.ordinal = function(e3) { + return this._ordinal.replace("%d", e3); + }, Vi.preparse = ki, Vi.postformat = ki, Vi.relativeTime = function(e3, t4, i3, n3) { + return this.postformat(tt.call(this, e3, t4, i3, n3)); + }, Vi.pastFuture = function(e3, t4) { + return this.postformat(it.call(this, e3, t4)); + }, Vi.set = function(e3) { + var t4, i3; + for (i3 in (function(e4, t5) { + var i4, n3; + for (i4 = 0; i4 < ke.length; i4++) s(t5, n3 = ke[i4]) || delete e4["_" + n3]; + })(this, e3), (function(e4, t5) { + var i4, n3; + for (i4 = 0; i4 < Ke.length; i4++) s(t5, n3 = Ke[i4]) || delete e4["_" + n3]; + })(this, e3), e3) s(e3, i3) && (b(t4 = e3[i3]) ? this[i3] = t4 : this["_" + i3] = t4); + this._config = e3, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source); + }, Vi.eras = function(e3, t4) { + var i3, n3, r2, a2 = this._eras || It("en")._eras; + for (i3 = 0, n3 = a2.length; i3 < n3; ++i3) switch ("string" == typeof a2[i3].since && (r2 = o(a2[i3].since).startOf("day"), a2[i3].since = r2.valueOf()), typeof a2[i3].until) { + case "undefined": + a2[i3].until = 1 / 0; + break; + case "string": + r2 = o(a2[i3].until).startOf("day").valueOf(), a2[i3].until = r2.valueOf(); + } + return a2; + }, Vi.erasParse = function(e3, t4, i3) { + var n3, o2, r2, a2, s2, l2 = this.eras(); + for (e3 = e3.toUpperCase(), n3 = 0, o2 = l2.length; n3 < o2; ++n3) if (r2 = l2[n3].name.toUpperCase(), a2 = l2[n3].abbr.toUpperCase(), s2 = l2[n3].narrow.toUpperCase(), i3) switch (t4) { + case "N": + case "NN": + case "NNN": + if (a2 === e3) return l2[n3]; + break; + case "NNNN": + if (r2 === e3) return l2[n3]; + break; + case "NNNNN": + if (s2 === e3) return l2[n3]; + } + else if ([r2, a2, s2].indexOf(e3) >= 0) return l2[n3]; + }, Vi.erasConvertYear = function(e3, t4) { + var i3 = e3.since <= e3.until ? 1 : -1; + return void 0 === t4 ? o(e3.since).year() : o(e3.since).year() + (t4 - e3.offset) * i3; + }, Vi.erasAbbrRegex = function(e3) { + return s(this, "_erasAbbrRegex") || Oi.call(this), e3 ? this._erasAbbrRegex : this._erasRegex; + }, Vi.erasNameRegex = function(e3) { + return s(this, "_erasNameRegex") || Oi.call(this), e3 ? this._erasNameRegex : this._erasRegex; + }, Vi.erasNarrowRegex = function(e3) { + return s(this, "_erasNarrowRegex") || Oi.call(this), e3 ? this._erasNarrowRegex : this._erasRegex; + }, Vi.months = function(e3, t4) { + return e3 ? r(this._months) ? this._months[e3.month()] : this._months[(this._months.isFormat || Fe).test(t4) ? "format" : "standalone"][e3.month()] : r(this._months) ? this._months : this._months.standalone; + }, Vi.monthsShort = function(e3, t4) { + return e3 ? r(this._monthsShort) ? this._monthsShort[e3.month()] : this._monthsShort[Fe.test(t4) ? "format" : "standalone"][e3.month()] : r(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone; + }, Vi.monthsParse = function(e3, t4, i3) { + var n3, o2, r2; + if (this._monthsParseExact) return Ve.call(this, e3, t4, i3); + for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), n3 = 0; n3 < 12; n3++) { + if (o2 = h([2e3, n3]), i3 && !this._longMonthsParse[n3] && (this._longMonthsParse[n3] = new RegExp("^" + this.months(o2, "").replace(".", "") + "$", "i"), this._shortMonthsParse[n3] = new RegExp("^" + this.monthsShort(o2, "").replace(".", "") + "$", "i")), i3 || this._monthsParse[n3] || (r2 = "^" + this.months(o2, "") + "|^" + this.monthsShort(o2, ""), this._monthsParse[n3] = new RegExp(r2.replace(".", ""), "i")), i3 && "MMMM" === t4 && this._longMonthsParse[n3].test(e3)) return n3; + if (i3 && "MMM" === t4 && this._shortMonthsParse[n3].test(e3)) return n3; + if (!i3 && this._monthsParse[n3].test(e3)) return n3; + } + }, Vi.monthsRegex = function(e3) { + return this._monthsParseExact ? (s(this, "_monthsRegex") || Ge.call(this), e3 ? this._monthsStrictRegex : this._monthsRegex) : (s(this, "_monthsRegex") || (this._monthsRegex = xe), this._monthsStrictRegex && e3 ? this._monthsStrictRegex : this._monthsRegex); + }, Vi.monthsShortRegex = function(e3) { + return this._monthsParseExact ? (s(this, "_monthsRegex") || Ge.call(this), e3 ? this._monthsShortStrictRegex : this._monthsShortRegex) : (s(this, "_monthsShortRegex") || (this._monthsShortRegex = Le), this._monthsShortStrictRegex && e3 ? this._monthsShortStrictRegex : this._monthsShortRegex); + }, Vi.week = function(e3) { + return lt(e3, this._week.dow, this._week.doy).week; + }, Vi.firstDayOfYear = function() { + return this._week.doy; + }, Vi.firstDayOfWeek = function() { + return this._week.dow; + }, Vi.weekdays = function(e3, t4) { + var i3 = r(this._weekdays) ? this._weekdays : this._weekdays[e3 && true !== e3 && this._weekdays.isFormat.test(t4) ? "format" : "standalone"]; + return true === e3 ? je(i3, this._week.dow) : e3 ? i3[e3.day()] : i3; + }, Vi.weekdaysMin = function(e3) { + return true === e3 ? je(this._weekdaysMin, this._week.dow) : e3 ? this._weekdaysMin[e3.day()] : this._weekdaysMin; + }, Vi.weekdaysShort = function(e3) { + return true === e3 ? je(this._weekdaysShort, this._week.dow) : e3 ? this._weekdaysShort[e3.day()] : this._weekdaysShort; + }, Vi.weekdaysParse = function(e3, t4, i3) { + var n3, o2, r2; + if (this._weekdaysParseExact) return Qe.call(this, e3, t4, i3); + for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), n3 = 0; n3 < 7; n3++) { + if (o2 = h([2e3, 1]).day(n3), i3 && !this._fullWeekdaysParse[n3] && (this._fullWeekdaysParse[n3] = new RegExp("^" + this.weekdays(o2, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[n3] = new RegExp("^" + this.weekdaysShort(o2, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[n3] = new RegExp("^" + this.weekdaysMin(o2, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[n3] || (r2 = "^" + this.weekdays(o2, "") + "|^" + this.weekdaysShort(o2, "") + "|^" + this.weekdaysMin(o2, ""), this._weekdaysParse[n3] = new RegExp(r2.replace(".", ""), "i")), i3 && "dddd" === t4 && this._fullWeekdaysParse[n3].test(e3)) return n3; + if (i3 && "ddd" === t4 && this._shortWeekdaysParse[n3].test(e3)) return n3; + if (i3 && "dd" === t4 && this._minWeekdaysParse[n3].test(e3)) return n3; + if (!i3 && this._weekdaysParse[n3].test(e3)) return n3; + } + }, Vi.weekdaysRegex = function(e3) { + return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || Xe.call(this), e3 ? this._weekdaysStrictRegex : this._weekdaysRegex) : (s(this, "_weekdaysRegex") || (this._weekdaysRegex = Je), this._weekdaysStrictRegex && e3 ? this._weekdaysStrictRegex : this._weekdaysRegex); + }, Vi.weekdaysShortRegex = function(e3) { + return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || Xe.call(this), e3 ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (s(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = $e), this._weekdaysShortStrictRegex && e3 ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex); + }, Vi.weekdaysMinRegex = function(e3) { + return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || Xe.call(this), e3 ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (s(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = ze), this._weekdaysMinStrictRegex && e3 ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex); + }, Vi.isPM = function(e3) { + return "p" === (e3 + "").toLowerCase().charAt(0); + }, Vi.meridiem = function(e3, t4, i3) { + return e3 > 11 ? i3 ? "pm" : "PM" : i3 ? "am" : "AM"; + }, Nt("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 === ce(e3 % 100 / 10) ? "th" : 1 === t4 ? "st" : 2 === t4 ? "nd" : 3 === t4 ? "rd" : "th"); + } }), o.lang = I("moment.lang is deprecated. Use moment.locale instead.", Nt), o.langData = I("moment.langData is deprecated. Use moment.localeData instead.", It); + var ji = Math.abs; + function qi(e3, t4, i3, n3) { + var o2 = ri(t4, i3); + return e3._milliseconds += n3 * o2._milliseconds, e3._days += n3 * o2._days, e3._months += n3 * o2._months, e3._bubble(); + } + function Wi(e3) { + return e3 < 0 ? Math.floor(e3) : Math.ceil(e3); } - get responseLibrary() { - return this._responseLibrary; + function Yi(e3) { + return 4800 * e3 / 146097; } - set responseLibrary(e3) { - this._responseLibrary = this.reviveItem(e3, T.ResponseLibrary); + function Hi(e3) { + return 146097 * e3 / 4800; } - get substitutions() { - return this._substitutions; + function Ji(e3) { + return function() { + return this.as(e3); + }; } - set substitutions(e3) { - this._substitutions = this.reviveArray(e3, g.default); + var $i = Ji("ms"), zi = Ji("s"), Ki = Ji("m"), Qi = Ji("h"), Xi = Ji("d"), Zi = Ji("w"), en = Ji("M"), tn = Ji("Q"), nn = Ji("y"), on = $i; + function rn(e3) { + return function() { + return this.isValid() ? this._data[e3] : NaN; + }; } - get question() { - return this._question; + var an = rn("milliseconds"), sn = rn("seconds"), ln = rn("minutes"), un = rn("hours"), cn = rn("days"), dn = rn("months"), pn = rn("years"); + var _n = Math.round, hn = { ss: 44, s: 45, m: 45, h: 22, d: 26, w: null, M: 11 }; + function mn(e3, t4, i3, n3, o2) { + return tt.call(o2, t4 || 1, !!i3, e3, n3); } - set question(e3) { - this._question = this.reviveItem(e3, m.default); + function gn(e3, t4, i3, n3) { + var o2 = ri(e3).abs(), r2 = _n(o2.as("s")), a2 = _n(o2.as("m")), s2 = _n(o2.as("h")), l2 = _n(o2.as("d")), u2 = _n(o2.as("M")), c2 = _n(o2.as("w")), d2 = _n(o2.as("y")), p2 = r2 <= i3.ss && ["s", r2] || r2 < i3.s && ["ss", r2] || a2 <= 1 && ["m"] || a2 < i3.m && ["mm", a2] || s2 <= 1 && ["h"] || s2 < i3.h && ["hh", s2] || l2 <= 1 && ["d"] || l2 < i3.d && ["dd", l2]; + return null != i3.w && (p2 = p2 || c2 <= 1 && ["w"] || c2 < i3.w && ["ww", c2]), (p2 = p2 || u2 <= 1 && ["M"] || u2 < i3.M && ["MM", u2] || d2 <= 1 && ["y"] || ["yy", d2])[2] = t4, p2[3] = +e3 > 0, p2[4] = n3, mn.apply(null, p2); } - get messagingTemplateType() { - return this._messagingTemplateType; + var fn = Math.abs; + function Tn(e3) { + return (e3 > 0) - (e3 < 0) || +e3; } - set messagingTemplateType(e3) { - this._messagingTemplateType = this.reviveItem(e3, m.default); + function yn() { + if (!this.isValid()) return this.localeData().invalidDate(); + var e3, t4, i3, n3, o2, r2, a2, s2, l2 = fn(this._milliseconds) / 1e3, u2 = fn(this._days), c2 = fn(this._months), d2 = this.asSeconds(); + return d2 ? (e3 = ue(l2 / 60), t4 = ue(e3 / 60), l2 %= 60, e3 %= 60, i3 = ue(c2 / 12), c2 %= 12, n3 = l2 ? l2.toFixed(3).replace(/\.?0+$/, "") : "", o2 = d2 < 0 ? "-" : "", r2 = Tn(this._months) !== Tn(d2) ? "-" : "", a2 = Tn(this._days) !== Tn(d2) ? "-" : "", s2 = Tn(this._milliseconds) !== Tn(d2) ? "-" : "", o2 + "P" + (i3 ? r2 + i3 + "Y" : "") + (c2 ? r2 + c2 + "M" : "") + (u2 ? a2 + u2 + "D" : "") + (t4 || e3 || l2 ? "T" : "") + (t4 ? s2 + t4 + "H" : "") + (e3 ? s2 + e3 + "M" : "") + (l2 ? s2 + n3 + "S" : "")) : "P0D"; } - } - 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) => { + var Sn = $t.prototype; + return Sn.isValid = function() { + return this._isValid; + }, Sn.abs = function() { + var e3 = this._data; + return this._milliseconds = ji(this._milliseconds), this._days = ji(this._days), this._months = ji(this._months), e3.milliseconds = ji(e3.milliseconds), e3.seconds = ji(e3.seconds), e3.minutes = ji(e3.minutes), e3.hours = ji(e3.hours), e3.months = ji(e3.months), e3.years = ji(e3.years), this; + }, Sn.add = function(e3, t4) { + return qi(this, e3, t4, 1); + }, Sn.subtract = function(e3, t4) { + return qi(this, e3, t4, -1); + }, Sn.as = function(e3) { + if (!this.isValid()) return NaN; + var t4, i3, n3 = this._milliseconds; + if ("month" === (e3 = w(e3)) || "quarter" === e3 || "year" === e3) switch (t4 = this._days + n3 / 864e5, i3 = this._months + Yi(t4), e3) { + case "month": + return i3; + case "quarter": + return i3 / 3; + case "year": + return i3 / 12; + } + else switch (t4 = this._days + Math.round(Hi(this._months)), e3) { + case "week": + return t4 / 7 + n3 / 6048e5; + case "day": + return t4 + n3 / 864e5; + case "hour": + return 24 * t4 + n3 / 36e5; + case "minute": + return 1440 * t4 + n3 / 6e4; + case "second": + return 86400 * t4 + n3 / 1e3; + case "millisecond": + return Math.floor(864e5 * t4) + n3; + default: + throw new Error("Unknown unit " + e3); + } + }, Sn.asMilliseconds = $i, Sn.asSeconds = zi, Sn.asMinutes = Ki, Sn.asHours = Qi, Sn.asDays = Xi, Sn.asWeeks = Zi, Sn.asMonths = en, Sn.asQuarters = tn, Sn.asYears = nn, Sn.valueOf = on, Sn._bubble = function() { + var e3, t4, i3, n3, o2, r2 = this._milliseconds, a2 = this._days, s2 = this._months, l2 = this._data; + return r2 >= 0 && a2 >= 0 && s2 >= 0 || r2 <= 0 && a2 <= 0 && s2 <= 0 || (r2 += 864e5 * Wi(Hi(s2) + a2), a2 = 0, s2 = 0), l2.milliseconds = r2 % 1e3, e3 = ue(r2 / 1e3), l2.seconds = e3 % 60, t4 = ue(e3 / 60), l2.minutes = t4 % 60, i3 = ue(t4 / 60), l2.hours = i3 % 24, a2 += ue(i3 / 24), s2 += o2 = ue(Yi(a2)), a2 -= Wi(Hi(o2)), n3 = ue(s2 / 12), s2 %= 12, l2.days = a2, l2.months = s2, l2.years = n3, this; + }, Sn.clone = function() { + return ri(this); + }, Sn.get = function(e3) { + return e3 = w(e3), this.isValid() ? this[e3 + "s"]() : NaN; + }, Sn.milliseconds = an, Sn.seconds = sn, Sn.minutes = ln, Sn.hours = un, Sn.days = cn, Sn.weeks = function() { + return ue(this.days() / 7); + }, Sn.months = dn, Sn.years = pn, Sn.humanize = function(e3, t4) { + if (!this.isValid()) return this.localeData().invalidDate(); + var i3, n3, o2 = false, r2 = hn; + return "object" == typeof e3 && (t4 = e3, e3 = false), "boolean" == typeof e3 && (o2 = e3), "object" == typeof t4 && (r2 = _(_({}, hn), t4 || {}), null != t4.s && null == t4.ss && (r2.ss = t4.s - 1)), n3 = gn(this, !o2, r2, i3 = this.localeData()), o2 && (n3 = it.call(i3, +this, n3)), i3.postformat(n3); + }, Sn.toISOString = yn, Sn.toString = yn, Sn.toJSON = yn, Sn.locale = mi, Sn.localeData = fi, Sn.toIsoString = I("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", yn), Sn.lang = gi, k("X", 0, 0, "unix"), k("x", 0, 0, "valueOf"), ae("x", ee), ae("X", /[+-]?\d+(\.\d{1,3})?/), pe("X", function(e3, t4, i3) { + i3._d = new Date(1e3 * parseFloat(e3)); + }), pe("x", function(e3, t4, i3) { + i3._d = new Date(ce(e3)); + }), o.version = "2.31.0", t3 = qt, o.fn = xi, o.min = function() { + return Ht("isBefore", [].slice.call(arguments, 0)); + }, o.max = function() { + return Ht("isAfter", [].slice.call(arguments, 0)); + }, o.now = function() { + return Date.now ? Date.now() : +/* @__PURE__ */ new Date(); + }, o.utc = h, o.unix = function(e3) { + return qt(1e3 * e3); + }, o.months = function(e3, t4) { + return Bi(e3, t4, "months"); + }, o.isDate = d, o.locale = Nt, o.invalid = f, o.duration = ri, o.isMoment = N, o.weekdays = function(e3, t4, i3) { + return Gi(e3, t4, i3, "weekdays"); + }, o.parseZone = function() { + return qt.apply(null, arguments).parseZone(); + }, o.localeData = It, o.isDuration = zt, o.monthsShort = function(e3, t4) { + return Bi(e3, t4, "monthsShort"); + }, o.weekdaysMin = function(e3, t4, i3) { + return Gi(e3, t4, i3, "weekdaysMin"); + }, o.defineLocale = vt, o.updateLocale = function(e3, t4) { + var i3, n3 = At(e3), o2 = gt; + return null != n3 && (e3 = n3._abbr), null != t4 ? (null != ft[e3] && null != ft[e3].parentLocale ? ft[e3].set(Ze(ft[e3]._config, t4)) : (null != n3 && (o2 = n3._config), t4 = Ze(o2, t4), null == n3 && (t4.abbr = e3), (i3 = new et(t4)).parentLocale = ft[e3], ft[e3] = i3), Nt(e3)) : null != ft[e3] && (null != ft[e3].parentLocale ? (ft[e3] = ft[e3].parentLocale, e3 === Nt() && Nt(e3)) : null != ft[e3] && delete ft[e3]), ft[e3]; + }, o.locales = function() { + return qe(ft); + }, o.weekdaysShort = function(e3, t4, i3) { + return Gi(e3, t4, i3, "weekdaysShort"); + }, o.normalizeUnits = w, o.relativeTimeRounding = function(e3) { + return void 0 === e3 ? _n : "function" == typeof e3 && (_n = e3, true); + }, o.relativeTimeThreshold = function(e3, t4) { + return void 0 !== hn[e3] && (void 0 === t4 ? hn[e3] : (hn[e3] = t4, "s" === e3 && (hn.ss = t4 - 1), true)); + }, o.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"; + }, o.prototype = xi, o.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" }, o; + })(); + }, 51668(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PermissionShiroValue = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55909), o = i2(33951); - t2.PermissionShiroValue = class { - constructor(e3) { - o.ParameterValidator.expectString(e3, () => r2.ParameterInfo.createConstructorParameter(this.className, "value")), Object.defineProperties(this, { _value: { writable: true, value: e3 }, _valueLCase: { writable: true, value: n2.default.isString(e3) ? e3.toLowerCase() : e3 } }); - } - get className() { - return "PermissionShiroValue"; - } - get isPermissionShiroValue() { - return true; - } - get isWildCard() { - return "*" === this.value; - } - get valueLCase() { - return this._valueLCase; - } - get value() { - return this._value; - } - set value(e3) { - this._value = o.ParameterValidator.expectString(e3, () => r2.ParameterInfo.createPropertySet(this.className, "value", "value")); - } - isMatch(e3) { - return e3 && e3.isPermissionShiroValue && (this.isWildCard || this._valueLCase === e3.valueLCase); - } - }; - }, 11053: (e2, t2, i2) => { + var n2 = {}; + (0, i2(9805).assign)(n2, i2(63303), i2(87083), i2(19681)), e2.exports = n2; + }, 63303(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "emailAddress"; - } - get displayTypeName() { - return "ArchVariableEmailAddress"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableEmailAddress() { - return true; + var n2 = i2(58411), o = i2(9805), r = i2(41996), a = i2(54674), s = i2(44442), l = Object.prototype.toString; + function u(e3) { + if (!(this instanceof u)) return new u(e3); + this.options = o.assign({ level: -1, method: 8, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: 0, to: "" }, e3 || {}); + var t3 = this.options; + t3.raw && t3.windowBits > 0 ? t3.windowBits = -t3.windowBits : t3.gzip && t3.windowBits > 0 && t3.windowBits < 16 && (t3.windowBits += 16), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new s(), this.strm.avail_out = 0; + 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 c2; + if (c2 = "string" == typeof t3.dictionary ? r.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; } } - t2.default = r2; - }, 11097: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeBase = a, t2.getKnowledgeBases = s, t2.getKnowledgeBaseDocument = l, t2.getKnowledgeBaseDocuments = u; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(56972)); - function a(e3) { - return r2.default.build(o.getKnowledgeBase).templateParams({ id: e3 }).call(); - } - function s(e3) { - return r2.default.build(o.getKnowledgeBases).queryParams(e3.getSearchQueryParams()).call(); + 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; } - function l(e3, t3) { - const i3 = r2.default.build(o.getKnowledgeBaseDocument), n3 = { documentId: e3 }; - return (null == t3 ? void 0 : t3.knowledgeId) && (n3.knowledgeId = t3.knowledgeId), i3.templateParams(n3).call(); + u.prototype.push = function(e3, t3) { + var i3, a2, s2 = this.strm, u2 = this.options.chunkSize; + if (this.ended) return false; + a2 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? s2.input = r.string2buf(e3) : "[object ArrayBuffer]" === l.call(e3) ? s2.input = new Uint8Array(e3) : s2.input = e3, s2.next_in = 0, s2.avail_in = s2.input.length; + do { + if (0 === s2.avail_out && (s2.output = new o.Buf8(u2), s2.next_out = 0, s2.avail_out = u2), 1 !== (i3 = n2.deflate(s2, a2)) && 0 !== i3) return this.onEnd(i3), this.ended = true, false; + 0 !== s2.avail_out && (0 !== s2.avail_in || 4 !== a2 && 2 !== a2) || ("string" === this.options.to ? this.onData(r.buf2binstring(o.shrinkBuf(s2.output, s2.next_out))) : this.onData(o.shrinkBuf(s2.output, s2.next_out))); + } while ((s2.avail_in > 0 || 0 === s2.avail_out) && 1 !== i3); + return 4 === a2 ? (i3 = n2.deflateEnd(this.strm), this.onEnd(i3), this.ended = true, 0 === i3) : 2 !== a2 || (this.onEnd(0), s2.avail_out = 0, true); + }, u.prototype.onData = function(e3) { + this.chunks.push(e3); + }, u.prototype.onEnd = function(e3) { + 0 === e3 && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg; + }, 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, c(e3, t3); + }; + }, 87083(e2, t2, i2) { + "use strict"; + var n2 = i2(71447), o = i2(9805), r = 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 = o.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 = r.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 u(e3) { - const t3 = r2.default.build(o.getKnowledgeBaseDocuments), i3 = e3.getSearchQueryParams(true), n3 = e3.additionalParams; - return t3.templateParams(n3).queryParams(i3).call(); + function p(e3, t3) { + var i3 = new d(t3); + if (i3.push(e3, true), i3.err) throw i3.msg || s[i3.err]; + return i3.result; } - a.api = o.getKnowledgeBase, s.api = o.getKnowledgeBases, l.api = o.getKnowledgeBaseDocument, u.api = o.getKnowledgeBaseDocuments; - }, 11181: (e2, t2, i2) => { + 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 = r.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 o.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 = r.utf8border(p2.output, p2.next_out), u2 = p2.next_out - l2, d2 = r.buf2string(p2.output, l2), p2.next_out = u2, p2.avail_out = _ - u2, u2 && o.arraySet(p2.output, p2.output, l2, u2, 0), this.onData(d2)) : this.onData(o.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); + }, d.prototype.onData = function(e3) { + this.chunks.push(e3); + }, d.prototype.onEnd = function(e3) { + e3 === a.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg; + }, t2.Inflate = d, t2.inflate = p, t2.inflateRaw = function(e3, t3) { + return (t3 = t3 || {}).raw = true, p(e3, t3); + }, t2.ungzip = p; + }, 9805(e2, t2) { "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)), c = i2(24032), d = i2(10798), p = i2(47957), _ = i2(27862); - class h extends o.default { - get requiredAuth() { - return (0, d.isFeatureAvailable)(u.default.divisionedDataTables) ? l.externalAuthorizations.authStrings.dataTablesSearch : l.externalAuthorizations.authStrings.dataTablesView; - } - get dependencyType() { - return _.DataTable; - } - constructor() { - 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); - } + var i2 = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array; + function n2(e3, t3) { + return Object.prototype.hasOwnProperty.call(e3, t3); } - t2.DataTablesManager = h, t2.dataTablesManager = new h(); - }, 11201: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.variablePropertySupportedSetService = void 0; - const n2 = i2(31635).__importStar(i2(14187)), r2 = i2(78870), o = i2(44033); - class a extends r2.PropertyBaseSupportedSetService { - get className() { - return "VariablePropertySupportedSetService"; - } - get _propertyReasonsInstance() { - return o.variablePropertyReasons; - } - getCanSetScopedVariableTypeAsInput(e3, t3, i3, n3, r3) { - return !!this.getCanSetVariableFlowSchemaInputDependentProperty(e3, n3) && !!this.getFlowTypeSupportsScopedInputVariableOfType(e3, t3, i3, r3); - } - getCanSetScopedVariableTypeAsOutput(e3, t3, i3, n3, r3) { - return !!this.getCanSetVariableFlowSchemaOutputDependentProperty(e3, n3) && !!this.getFlowTypeSupportsScopedOutputVariableOfType(e3, t3, i3, r3); - } - getCanSetVariableFlowSchemaDependentProperty(e3, t3, i3) { - return t3 ? i3 ? this._propertyReasonsInstance.setCannotSetIsSchemaInputOutput(e3) : this._propertyReasonsInstance.setCannotSetIsSchemaInput(e3) : !i3 || this._propertyReasonsInstance.setCannotSetIsSchemaOutput(e3); - } - getCanSetVariableFlowSchemaInputDependentProperty(e3, t3) { - return !t3 || this._propertyReasonsInstance.setCannotSetIsSchemaInput(e3); - } - getCanSetVariableFlowSchemaOutputDependentProperty(e3, t3) { - return !t3 || this._propertyReasonsInstance.setCannotSetIsSchemaOutput(e3); - } - getFlowTypeSupportsSecureVariables(e3, t3) { - return !!t3.supportsSecureVariables || this._propertyReasonsInstance.setNotSupportedNoFlowSecureVariables(e3, t3); - } - getFlowTypeSupportsScopedInputVariableOfType(e3, t3, i3, r3) { - switch (i3) { - case n2.scopes.task: - return !!t3.supportsTaskInputVariables || this._propertyReasonsInstance.setNotSupportedInputVariableScope(e3, t3, i3); - case n2.scopes.common: - case n2.scopes.slot: - case n2.scopes.flow: - return t3.supportsFlowInputVariables ? !!r3.isAvailableAsInputForFlowType(t3.type) || this._propertyReasonsInstance.setNotSupportedTypeNotValidAsFlowInput(e3, t3, r3) : this._propertyReasonsInstance.setNotSupportedInputVariableScope(e3, t3, i3); - default: - return this._propertyReasonsInstance.setNotSupportedInputVariableScope(e3, t3, i3); - } - } - getFlowTypeSupportsScopedOutputVariableOfType(e3, t3, i3, r3) { - switch (i3) { - case n2.scopes.task: - return !!t3.supportsTaskOutputVariables || this._propertyReasonsInstance.setNotSupportedOutputVariableScope(e3, t3, i3); - case n2.scopes.common: - case n2.scopes.slot: - case n2.scopes.flow: - return t3.supportsFlowOutputVariables ? !!r3.isAvailableAsOutputForFlowType(t3.type) || this._propertyReasonsInstance.setNotSupportedTypeNotValidAsFlowOutput(e3, t3, r3) : this._propertyReasonsInstance.setNotSupportedOutputVariableScope(e3, t3, i3); - default: - return this._propertyReasonsInstance.setNotSupportedOutputVariableScope(e3, t3, i3); + t2.assign = function(e3) { + for (var t3 = Array.prototype.slice.call(arguments, 1); t3.length; ) { + var i3 = t3.shift(); + if (i3) { + if ("object" != typeof i3) throw new TypeError(i3 + "must be non-object"); + for (var o2 in i3) n2(i3, o2) && (e3[o2] = i3[o2]); } } - getIsVariableWritable(e3, t3) { - return !!t3 || this._propertyReasonsInstance.setVariableReadOnly(e3); - } - getIsSecureOutputOk(e3, t3, i3) { - return !t3 || !i3 || this._propertyReasonsInstance.setVariableCannotBeSecureOutput(e3); - } - getIsSecureInputOk(e3, t3, i3) { - return !t3 || !i3 || this._propertyReasonsInstance.setVariableCannotBeSecureInput(e3); - } - } - t2.variablePropertySupportedSetService = new a(); - }, 11210: (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 = n2.__importStar(i2(62829)); - class s extends r2.default { - static get definition() { - const e3 = this.prototype; - return e3._ensureSessionIsConnected(e3._infoPropGet("definition"), o.default), e3.coreFactory.createArchWrapper(a.getInfo(e3._actionTypeId)); - } - constructor(e3) { - super(e3), this._coreActionViewModel = e3; - } - get _scriptingName() { - return a.getInfo(this._actionTypeId).scriptingName; - } - get _actionTypeId() { - return console.log(`INTERNAL ERROR - _actionTypeId not implemented for '${this.displayTypeName}'`), ""; - } - get definition() { - return this.coreFactory.createArchWrapper(a.getInfo(this._actionTypeId)); - } - get displayTypeName() { - return "ArchBaseAction"; - } - get logStr() { - if (!this._coreActionViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrTrackingId(e3, this.trackingId), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - get displayTypeNameArchitect() { - return this._coreActionViewModel.info.name; - } - get isArchBaseAction() { - return true; - } - get isMenuChoiceAction() { - const e3 = this._getCoreViewModel().parent; - return !(!e3 || !e3.isMenuChoice); - } - get isReachable() { - return !this.isUnreachable; - } - get isSecure() { - return this._coreActionViewModel.consumesSecureData; - } - get isUnreachable() { - return this._coreActionViewModel.isDisabled; - } - get name() { - return this._coreActionViewModel.name; - } - set name(e3) { - if (!e3) throw "you cannot have a blank name set on an action"; - this._coreActionViewModel.name = e3, this._coreActionViewModel.nameFacetError && this.logErrorAndThrow(this._coreActionViewModel.nameFacetError); - } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreActionViewModel.parentFlow); - } - get parentMenuChoice() { - return this.isMenuChoiceAction ? this.coreFactory.createArchWrapper(this._getCoreViewModel().parent) : void 0; - } - get parentTask() { - const e3 = this._coreActionViewModel.topParent; - if (e3 && e3.isTask) return this.coreFactory.createArchWrapper(e3); - } - get parentState() { - const e3 = this._coreActionViewModel.topParent; - if (e3 && e3.isStateLike) return this.coreFactory.createArchWrapper(e3); - } - get trackingId() { - return this._coreActionViewModel.trackingId; - } - set trackingId(e3) { - const t3 = this._infoPropSet("value", "trackingId"); - this._ensureCanSetTrackingIds(t3, o.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 = s; - }, 11276: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(93476), o = i2(193).A; - e2.exports = { loadBranches: function(e3) { - e3.branches.length = 0, 0 !== e3.branchInfoList.length && (1 === e3.branchInfoList.length && e3.isSingleBranchAction ? (function(e4) { - const t3 = new r2(e4.branchInfoList[0]); - e4.model.path && (t3.nextActionId = e4.model.path.nextActionId), e4.model.path = t3, e4.branches.push(new o(e4.parentFlow, e4, e4.model.path)); - })(e3) : (function(e4) { - const t3 = [], i3 = []; - e4.model.paths = e4.model.paths || [], n2.each(e4.branchInfoList, function(a) { - if (a.supportedFlowTypes && !n2.contains(a.supportedFlowTypes, e4.parentFlow.type)) { - const t4 = n2.findWhere(e4.model.paths, { outputId: a.outputId }); - return void (t4 && i3.push(t4)); - } - const s = new r2(a), l = n2.findWhere(e4.model.paths, { outputId: a.outputId }); - l ? (s.nextActionId = l.nextActionId, s.outOfService = l.outOfService) : a.defaultToOutOfService && (s.outOfService = true); - const u = new o(e4.parentFlow, e4, s); - u.isFake || t3.push(s), e4.branches.push(u); - }), e4.model.paths = t3, i3.length && (e4.model.__notApplicablePaths = i3); - })(e3)); - }, addBranch: function(e3, t3) { - const i3 = new r2(t3), n3 = new o(e3.parentFlow, e3, i3); - return n3.isFake || e3.model.paths.push(i3), e3.branches.push(n3), n3; - }, removeBranch: function(e3, t3) { - const i3 = n2.findIndex(e3.branches, { id: t3.outputId }); - i3 > -1 && e3.branches.splice(i3, 1); - const r3 = n2.findIndex(e3.model.paths, { outputId: t3.outputId }); - r3 > -1 && e3.model.paths.splice(r3, 1); + return e3; + }, t2.shrinkBuf = function(e3, t3) { + return e3.length === t3 ? e3 : e3.subarray ? e3.subarray(0, t3) : (e3.length = t3, e3); + }; + var o = { arraySet: function(e3, t3, i3, n3, o2) { + if (t3.subarray && e3.subarray) e3.set(t3.subarray(i3, i3 + n3), o2); + else for (var r2 = 0; r2 < n3; r2++) e3[o2 + r2] = t3[i3 + r2]; + }, flattenChunks: function(e3) { + var t3, i3, n3, o2, r2, a; + for (n3 = 0, t3 = 0, i3 = e3.length; t3 < i3; t3++) n3 += e3[t3].length; + for (a = new Uint8Array(n3), o2 = 0, t3 = 0, i3 = e3.length; t3 < i3; t3++) r2 = e3[t3], a.set(r2, o2), o2 += r2.length; + return a; + } }, r = { arraySet: function(e3, t3, i3, n3, o2) { + for (var r2 = 0; r2 < n3; r2++) e3[o2 + r2] = t3[i3 + r2]; + }, flattenChunks: function(e3) { + return [].concat.apply([], e3); } }; - }, 11304: (e2, t2, i2) => { + t2.setTyped = function(e3) { + e3 ? (t2.Buf8 = Uint8Array, t2.Buf16 = Uint16Array, t2.Buf32 = Int32Array, t2.assign(t2, o)) : (t2.Buf8 = Array, t2.Buf16 = Array, t2.Buf32 = Array, t2.assign(t2, r)); + }, t2.setTyped(i2); + }, 41996(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GroupType = void 0; - 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); - } - get className() { - return "GroupType"; - } - createExpressionOptionClass() { - return new r2.ExpressionTypeNetworkObjectOptions(); - } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindGroup", e3, [u.globalTypes.string]); - } - convertLitToExpression(e3, 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 o.groupManager; - } + var n2 = i2(9805), o = true, r = true; + try { + String.fromCharCode.apply(null, [0]); + } catch (e3) { + o = false; } - 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)), 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); + try { + String.fromCharCode.apply(null, new Uint8Array(1)); + } catch (e3) { + r = false; } - function F(e3) { - return (0, w.isNonArrayObject)(e3); + for (var a = new n2.Buf8(256), s = 0; s < 256; s++) a[s] = s >= 252 ? 6 : s >= 248 ? 5 : s >= 240 ? 4 : s >= 224 ? 3 : s >= 192 ? 2 : 1; + function l(e3, t3) { + if (t3 < 65534 && (e3.subarray && r || !e3.subarray && o)) return String.fromCharCode.apply(null, n2.shrinkBuf(e3, t3)); + for (var i3 = "", a2 = 0; a2 < t3; a2++) i3 += String.fromCharCode(e3[a2]); + return i3; } - class L extends S.default { - constructor(e3, t3) { - 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: 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]; - } - isOptionalPathAvailable(e3) { - var t3, i3; - return e3.branchInfo.outputId !== l.default.knowledgeOptional.outputId || !!(null === (t3 = e3.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledge.idValue) || !!(null === (i3 = e3.parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.knowledge_v3.idValue); + a[254] = a[254] = 1, t2.string2buf = function(e3) { + var t3, i3, o2, r2, a2, s2 = e3.length, l2 = 0; + for (r2 = 0; r2 < s2; r2++) 55296 == (64512 & (i3 = e3.charCodeAt(r2))) && r2 + 1 < s2 && 56320 == (64512 & (o2 = e3.charCodeAt(r2 + 1))) && (i3 = 65536 + (i3 - 55296 << 10) + (o2 - 56320), r2++), l2 += i3 < 128 ? 1 : i3 < 2048 ? 2 : i3 < 65536 ? 3 : 4; + for (t3 = new n2.Buf8(l2), a2 = 0, r2 = 0; a2 < l2; r2++) 55296 == (64512 & (i3 = e3.charCodeAt(r2))) && r2 + 1 < s2 && 56320 == (64512 & (o2 = e3.charCodeAt(r2 + 1))) && (i3 = 65536 + (i3 - 55296 << 10) + (o2 - 56320), r2++), i3 < 128 ? t3[a2++] = i3 : i3 < 2048 ? (t3[a2++] = 192 | i3 >>> 6, t3[a2++] = 128 | 63 & i3) : i3 < 65536 ? (t3[a2++] = 224 | i3 >>> 12, t3[a2++] = 128 | i3 >>> 6 & 63, t3[a2++] = 128 | 63 & i3) : (t3[a2++] = 240 | i3 >>> 18, t3[a2++] = 128 | i3 >>> 12 & 63, t3[a2++] = 128 | i3 >>> 6 & 63, t3[a2++] = 128 | 63 & i3); + return t3; + }, t2.buf2binstring = function(e3) { + return l(e3, e3.length); + }, t2.binstring2buf = function(e3) { + for (var t3 = new n2.Buf8(e3.length), i3 = 0, o2 = t3.length; i3 < o2; i3++) t3[i3] = e3.charCodeAt(i3); + return t3; + }, t2.buf2string = function(e3, t3) { + var i3, n3, o2, r2, s2 = t3 || e3.length, u = new Array(2 * s2); + for (n3 = 0, i3 = 0; i3 < s2; ) if ((o2 = e3[i3++]) < 128) u[n3++] = o2; + else if ((r2 = a[o2]) > 4) u[n3++] = 65533, i3 += r2 - 1; + else { + for (o2 &= 2 === r2 ? 31 : 3 === r2 ? 15 : 7; r2 > 1 && i3 < s2; ) o2 = o2 << 6 | 63 & e3[i3++], r2--; + r2 > 1 ? u[n3++] = 65533 : o2 < 65536 ? u[n3++] = o2 : (o2 -= 65536, u[n3++] = 55296 | o2 >> 10 & 1023, u[n3++] = 56320 | 1023 & o2); } - get supportsCustomOutputPaths() { - return true; + return l(u, n3); + }, t2.utf8border = function(e3, t3) { + var i3; + for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), i3 = t3 - 1; i3 >= 0 && 128 == (192 & e3[i3]); ) i3--; + return i3 < 0 || 0 === i3 ? t3 : i3 + a[e3[i3]] > t3 ? i3 : t3; + }; + }, 53269(e2) { + "use strict"; + e2.exports = function(e3, t2, i2, n2) { + for (var o = 65535 & e3, r = e3 >>> 16 & 65535, a = 0; 0 !== i2; ) { + i2 -= a = i2 > 2e3 ? 2e3 : i2; + do { + r = r + (o = o + t2[n2++] | 0) | 0; + } while (--a); + o %= 65521, r %= 65521; } - setNewInstanceDefaults(e3) { - 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); + return o | r << 16; + }; + }, 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 }; + }, 14823(e2) { + "use strict"; + var t2 = (function() { + for (var e3, t3 = [], i2 = 0; i2 < 256; i2++) { + e3 = i2; + for (var n2 = 0; n2 < 8; n2++) e3 = 1 & e3 ? 3988292384 ^ e3 >>> 1 : e3 >>> 1; + t3[i2] = e3; } - addBranchForIntent(e3) { - let t3 = this.branches.find((t4) => t4.label === e3); - if (!t3) { - const i3 = u.createBranchItem(this.id, e3, null, true); - i3.isDynamicBranch = true, t3 = this.addOptionalBranchInfo(i3), this.sortBranches(); + return t3; + })(); + e2.exports = function(e3, i2, n2, o) { + var r = t2, a = o + n2; + e3 ^= -1; + for (var s = o; s < a; s++) e3 = e3 >>> 8 ^ r[255 & (e3 ^ i2[s])]; + return -1 ^ e3; + }; + }, 58411(e2, t2, i2) { + "use strict"; + var n2, o = i2(9805), r = 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; + } + function g(e3) { + return (e3 << 1) - (e3 > 4 ? 9 : 0); + } + function f(e3) { + for (var t3 = e3.length; --t3 >= 0; ) e3[t3] = 0; + } + function T(e3) { + var t3 = e3.state, i3 = t3.pending; + i3 > e3.avail_out && (i3 = e3.avail_out), 0 !== i3 && (o.arraySet(e3.output, t3.pending_buf, t3.pending_out, i3, e3.next_out), e3.next_out += i3, t3.pending_out += i3, e3.total_out += i3, e3.avail_out -= i3, t3.pending -= i3, 0 === t3.pending && (t3.pending_out = 0)); + } + function y(e3, t3) { + r._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, T(e3.strm); + } + function S(e3, t3) { + e3.pending_buf[e3.pending++] = t3; + } + function A(e3, t3) { + e3.pending_buf[e3.pending++] = t3 >>> 8 & 255, e3.pending_buf[e3.pending++] = 255 & t3; + } + function N(e3, t3, i3, n3) { + var r2 = e3.avail_in; + return r2 > n3 && (r2 = n3), 0 === r2 ? 0 : (e3.avail_in -= r2, o.arraySet(t3, e3.input, e3.next_in, r2, i3), 1 === e3.state.wrap ? e3.adler = a(e3.adler, t3, r2, i3) : 2 === e3.state.wrap && (e3.adler = s(e3.adler, t3, r2, i3)), e3.next_in += r2, e3.total_in += r2, r2); + } + function v(e3, t3) { + var i3, n3, o2 = e3.max_chain_length, r2 = 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[r2 + a2 - 1], g2 = u2[r2 + a2]; + e3.prev_length >= e3.good_match && (o2 >>= 2), s2 > e3.lookahead && (s2 = e3.lookahead); + do { + if (u2[(i3 = t3) + a2] === g2 && u2[i3 + a2 - 1] === m2 && u2[i3] === u2[r2] && u2[++i3] === u2[r2 + 1]) { + r2 += 2, i3++; + do { + } while (u2[++r2] === u2[++i3] && u2[++r2] === u2[++i3] && u2[++r2] === u2[++i3] && u2[++r2] === u2[++i3] && u2[++r2] === u2[++i3] && u2[++r2] === u2[++i3] && u2[++r2] === u2[++i3] && u2[++r2] === u2[++i3] && r2 < h2); + if (n3 = c - (h2 - r2), r2 = h2 - c, n3 > a2) { + if (e3.match_start = t3, a2 = n3, n3 >= s2) break; + m2 = u2[r2 + a2 - 1], g2 = u2[r2 + a2]; + } } - return t3; - } - createBranchesForAllNLUIntents() { - const e3 = []; - try { - this.getIntents().forEach((t3) => { - const i3 = this.addBranchForIntent(t3.name); - e3.push({ intent: t3, branchItem: i3 }); - }); - } catch (e4) { - this.topic.exception(e4, "failure during createBranchesForAllNLUIntents"); + } while ((t3 = _2[t3 & p2]) > l2 && 0 !== --o2); + return a2 <= e3.lookahead ? a2 : e3.lookahead; + } + function I(e3) { + var t3, i3, n3, r2, a2, s2 = e3.w_size; + do { + if (r2 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= s2 + (s2 - d)) { + o.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; + } while (--i3); + t3 = i3 = s2; + do { + n3 = e3.prev[--t3], e3.prev[t3] = n3 >= s2 ? n3 - s2 : 0; + } while (--i3); + r2 += s2; } - return e3; - } - getIntents() { - var e3; - return (null === (e3 = this.parentFlow.botFlowSettings.nluDomain) || void 0 === e3 ? void 0 : e3.intents) || []; - } - get supportsNLUIntents() { - return true; - } - switchToNewIntentPaths(e3) { - p.switchToNewIntentPaths(this, e3); - } - removeUnusedOutput(e3, t3) { - if (!this.getOptionalBranchInfo(this.id)) return; - const i3 = this.parentFlow.botFlowSettings.nluDomain; - i3 && o.default.findIndex(i3.intents, { name: t3.label }) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); + if (0 === e3.strm.avail_in) break; + if (i3 = N(e3.strm, e3.window, e3.strstart + e3.lookahead, r2), 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 < d && 0 !== e3.strm.avail_in); + } + function C(e3, t3) { + for (var i3, n3; ; ) { + if (e3.lookahead < d) { + if (I(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 - d && (e3.match_length = v(e3, i3)), e3.match_length >= 3) if (n3 = r._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; + } while (0 !== --e3.match_length); + e3.strstart++; + } else e3.strstart += e3.match_length, e3.match_length = 0, e3.ins_h = e3.window[e3.strstart], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 1]) & e3.hash_mask; + else n3 = r._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++; + if (n3 && (y(e3, false), 0 === e3.strm.avail_out)) return 1; } - updateIntentPaths() { - const e3 = this.parentFlow.botFlowSettings.nluDomain; - if (!e3) return; - const t3 = p.translateIntentsToBranchItems(this, e3.intents); - this.switchToNewIntentPaths(t3); + return e3.insert = e3.strstart < 2 ? e3.strstart : 2, 4 === t3 ? (y(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (y(e3, false), 0 === e3.strm.avail_out) ? 1 : 2; + } + function O(e3, t3) { + for (var i3, n3, o2; ; ) { + if (e3.lookahead < d) { + if (I(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 - 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) { + o2 = e3.strstart + e3.lookahead - 3, n3 = r._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 <= o2 && (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); + } while (0 !== --e3.prev_length); + if (e3.match_available = 0, e3.match_length = 2, e3.strstart++, n3 && (y(e3, false), 0 === e3.strm.avail_out)) return 1; + } else if (e3.match_available) { + if ((n3 = r._tr_tally(e3, 0, e3.window[e3.strstart - 1])) && y(e3, false), e3.strstart++, e3.lookahead--, 0 === e3.strm.avail_out) return 1; + } else e3.match_available = 1, e3.strstart++, e3.lookahead--; } - validate(e3) { - var t3, i3; - 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)(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 !== 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))); + return e3.match_available && (n3 = r._tr_tally(e3, 0, e3.window[e3.strstart - 1]), e3.match_available = 0), e3.insert = e3.strstart < 2 ? e3.strstart : 2, 4 === t3 ? (y(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (y(e3, false), 0 === e3.strm.avail_out) ? 1 : 2; + } + function b(e3, t3, i3, n3, o2) { + this.good_length = e3, this.max_lazy = t3, this.nice_length = i3, this.max_chain = n3, this.func = o2; + } + 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 o.Buf16(1146), this.dyn_dtree = new o.Buf16(122), this.bl_tree = new o.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 o.Buf16(16), this.heap = new o.Buf16(573), f(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new o.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 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, r._tr_init(t3), 0) : m(e3, u); + } + 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, r2, a2) { + if (!e3) return u; + var s2 = 1; + if (-1 === t3 && (t3 = 6), n3 < 0 ? (s2 = 0, n3 = -n3) : n3 > 15 && (s2 = 2, n3 -= 16), r2 < 1 || r2 > 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 = r2 + 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 o.Buf8(2 * l2.w_size), l2.head = new o.Buf16(l2.hash_size), l2.prev = new o.Buf16(l2.w_size), l2.lit_bufsize = 1 << r2 + 6, l2.pending_buf_size = 4 * l2.lit_bufsize, l2.pending_buf = new o.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 (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 - d && (y(e3, false), 0 === e3.strm.avail_out)) return 1; } - _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; + 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, C), new b(4, 5, 16, 8, C), new b(4, 6, 32, 32, C), new b(4, 4, 16, 16, O), new b(8, 16, 32, 32, O), new b(8, 16, 128, 128, O), new b(8, 32, 128, 256, O), new b(32, 128, 258, 1024, O), new b(32, 258, 258, 4096, O)], t2.deflateInit = function(e3, t3) { + return D(e3, t3, 8, 15, 8, 0); + }, 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, o2, a2, l2; + if (!e3 || !e3.state || t3 > 5 || t3 < 0) return e3 ? m(e3, u) : u; + if (o2 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || o2.status === h && 4 !== t3) return m(e3, 0 === e3.avail_out ? -5 : u); + if (o2.strm = e3, i3 = o2.last_flush, o2.last_flush = t3, 42 === o2.status) if (2 === o2.wrap) e3.adler = 0, S(o2, 31), S(o2, 139), S(o2, 8), o2.gzhead ? (S(o2, (o2.gzhead.text ? 1 : 0) + (o2.gzhead.hcrc ? 2 : 0) + (o2.gzhead.extra ? 4 : 0) + (o2.gzhead.name ? 8 : 0) + (o2.gzhead.comment ? 16 : 0)), S(o2, 255 & o2.gzhead.time), S(o2, o2.gzhead.time >> 8 & 255), S(o2, o2.gzhead.time >> 16 & 255), S(o2, o2.gzhead.time >> 24 & 255), S(o2, 9 === o2.level ? 2 : o2.strategy >= 2 || o2.level < 2 ? 4 : 0), S(o2, 255 & o2.gzhead.os), o2.gzhead.extra && o2.gzhead.extra.length && (S(o2, 255 & o2.gzhead.extra.length), S(o2, o2.gzhead.extra.length >> 8 & 255)), o2.gzhead.hcrc && (e3.adler = s(e3.adler, o2.pending_buf, o2.pending, 0)), o2.gzindex = 0, o2.status = 69) : (S(o2, 0), S(o2, 0), S(o2, 0), S(o2, 0), S(o2, 0), S(o2, 9 === o2.level ? 2 : o2.strategy >= 2 || o2.level < 2 ? 4 : 0), S(o2, 3), o2.status = _); + else { + var d2 = 8 + (o2.w_bits - 8 << 4) << 8; + d2 |= (o2.strategy >= 2 || o2.level < 2 ? 0 : o2.level < 6 ? 1 : 6 === o2.level ? 2 : 3) << 6, 0 !== o2.strstart && (d2 |= 32), d2 += 31 - d2 % 31, o2.status = _, A(o2, d2), 0 !== o2.strstart && (A(o2, e3.adler >>> 16), A(o2, 65535 & e3.adler)), e3.adler = 1; + } + if (69 === o2.status) if (o2.gzhead.extra) { + for (a2 = o2.pending; o2.gzindex < (65535 & o2.gzhead.extra.length) && (o2.pending !== o2.pending_buf_size || (o2.gzhead.hcrc && o2.pending > a2 && (e3.adler = s(e3.adler, o2.pending_buf, o2.pending - a2, a2)), T(e3), a2 = o2.pending, o2.pending !== o2.pending_buf_size)); ) S(o2, 255 & o2.gzhead.extra[o2.gzindex]), o2.gzindex++; + o2.gzhead.hcrc && o2.pending > a2 && (e3.adler = s(e3.adler, o2.pending_buf, o2.pending - a2, a2)), o2.gzindex === o2.gzhead.extra.length && (o2.gzindex = 0, o2.status = 73); + } else o2.status = 73; + if (73 === o2.status) if (o2.gzhead.name) { + a2 = o2.pending; + do { + if (o2.pending === o2.pending_buf_size && (o2.gzhead.hcrc && o2.pending > a2 && (e3.adler = s(e3.adler, o2.pending_buf, o2.pending - a2, a2)), T(e3), a2 = o2.pending, o2.pending === o2.pending_buf_size)) { + l2 = 1; + break; + } + l2 = o2.gzindex < o2.gzhead.name.length ? 255 & o2.gzhead.name.charCodeAt(o2.gzindex++) : 0, S(o2, l2); + } while (0 !== l2); + o2.gzhead.hcrc && o2.pending > a2 && (e3.adler = s(e3.adler, o2.pending_buf, o2.pending - a2, a2)), 0 === l2 && (o2.gzindex = 0, o2.status = 91); + } else o2.status = 91; + if (91 === o2.status) if (o2.gzhead.comment) { + a2 = o2.pending; + do { + if (o2.pending === o2.pending_buf_size && (o2.gzhead.hcrc && o2.pending > a2 && (e3.adler = s(e3.adler, o2.pending_buf, o2.pending - a2, a2)), T(e3), a2 = o2.pending, o2.pending === o2.pending_buf_size)) { + l2 = 1; + break; + } + l2 = o2.gzindex < o2.gzhead.comment.length ? 255 & o2.gzhead.comment.charCodeAt(o2.gzindex++) : 0, S(o2, l2); + } while (0 !== l2); + o2.gzhead.hcrc && o2.pending > a2 && (e3.adler = s(e3.adler, o2.pending_buf, o2.pending - a2, a2)), 0 === l2 && (o2.status = p); + } else o2.status = p; + if (o2.status === p && (o2.gzhead.hcrc ? (o2.pending + 2 > o2.pending_buf_size && T(e3), o2.pending + 2 <= o2.pending_buf_size && (S(o2, 255 & e3.adler), S(o2, e3.adler >> 8 & 255), e3.adler = 0, o2.status = _)) : o2.status = _), 0 !== o2.pending) { + if (T(e3), 0 === e3.avail_out) return o2.last_flush = -1, 0; + } else if (0 === e3.avail_in && g(t3) <= g(i3) && 4 !== t3) return m(e3, -5); + if (o2.status === h && 0 !== e3.avail_in) return m(e3, -5); + if (0 !== e3.avail_in || 0 !== o2.lookahead || 0 !== t3 && o2.status !== h) { + var N2 = 2 === o2.strategy ? (function(e4, t4) { + for (var i4; ; ) { + if (0 === e4.lookahead && (I(e4), 0 === e4.lookahead)) { + if (0 === t4) return 1; + break; } - 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; + if (e4.match_length = 0, i4 = r._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++, i4 && (y(e4, false), 0 === e4.strm.avail_out)) return 1; + } + 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; + })(o2, t3) : 3 === o2.strategy ? (function(e4, t4) { + for (var i4, n3, o3, a3, s2 = e4.window; ; ) { + if (e4.lookahead <= c) { + if (I(e4), e4.lookahead <= c && 0 === t4) return 1; + if (0 === e4.lookahead) break; } - 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); + if (e4.match_length = 0, e4.lookahead >= 3 && e4.strstart > 0 && (n3 = s2[o3 = e4.strstart - 1]) === s2[++o3] && n3 === s2[++o3] && n3 === s2[++o3]) { + a3 = e4.strstart + c; + do { + } while (n3 === s2[++o3] && n3 === s2[++o3] && n3 === s2[++o3] && n3 === s2[++o3] && n3 === s2[++o3] && n3 === s2[++o3] && n3 === s2[++o3] && n3 === s2[++o3] && o3 < a3); + e4.match_length = c - (a3 - o3), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead); } - 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)); + if (e4.match_length >= 3 ? (i4 = r._tr_tally(e4, 1, e4.match_length - 3), e4.lookahead -= e4.match_length, e4.strstart += e4.match_length, e4.match_length = 0) : (i4 = r._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++), i4 && (y(e4, false), 0 === e4.strm.avail_out)) return 1; } - }); - } - _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); - } - updateKnowledgePath() { - this.parentFlow.isReadOnly; - } - setKnowledgeSearchResultOutOfService() { - const e3 = this.getBranch(l.default.knowledgeOptional.outputId); - this.knowledgeSearchResult.outOfService = e3.outOfService && true; - } - _destroy() { - super._destroy(); + 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; + })(o2, t3) : n2[o2.level].func(o2, t3); + if (3 !== N2 && 4 !== N2 || (o2.status = h), 1 === N2 || 3 === N2) return 0 === e3.avail_out && (o2.last_flush = -1), 0; + if (2 === N2 && (1 === t3 ? r._tr_align(o2) : 5 !== t3 && (r._tr_stored_block(o2, 0, 0, false), 3 === t3 && (f(o2.head), 0 === o2.lookahead && (o2.strstart = 0, o2.block_start = 0, o2.insert = 0))), T(e3), 0 === e3.avail_out)) return o2.last_flush = -1, 0; } - _initializeDesignTime() { - var e3, t3; - 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(); + return 4 !== t3 ? 0 : o2.wrap <= 0 ? 1 : (2 === o2.wrap ? (S(o2, 255 & e3.adler), S(o2, e3.adler >> 8 & 255), S(o2, e3.adler >> 16 & 255), S(o2, e3.adler >> 24 & 255), S(o2, 255 & e3.total_in), S(o2, e3.total_in >> 8 & 255), S(o2, e3.total_in >> 16 & 255), S(o2, e3.total_in >> 24 & 255)) : (A(o2, e3.adler >>> 16), A(o2, 65535 & e3.adler)), T(e3), o2.wrap > 0 && (o2.wrap = -o2.wrap), 0 !== o2.pending ? 0 : 1); + }, t2.deflateEnd = function(e3) { + 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, r2, 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 o.Buf8(i3.w_size), o.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, I(i3); i3.lookahead >= 3; ) { + n3 = i3.strstart, r2 = 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 (--r2); + i3.strstart = n3, i3.lookahead = 2, I(i3); } - } - 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() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 11345: (e2, t2, i2) => { + 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)"; + }, 37414(e2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getFunctionsForCharPosition = function(e3, t3, i3) { - r2.ParameterValidator.expectObject(e3, function() { - return n2.ParameterInfo.createFunctionParameter("expressionCharacterParser", "getFunctionsForCharPosition", "expression"); - }.bind(this)), r2.ParameterValidator.expectInt(t3, function() { - return n2.ParameterInfo.createFunctionParameter("expressionCharacterParser", "getFunctionsForCharPosition", "position"); - }.bind(this)), r2.ParameterValidator.expectBool(i3, function() { - return n2.ParameterInfo.createFunctionParameter("expressionCharacterParser", "getFunctionsForCharPosition", "wantFunctionCallStack"); - }.bind(this), true); - 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 (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: - if (-1 === S) break; - A[S].addParameterPlaceholder(); - break; - case l.PAREN_LEFT: - if (-1 === S) break; - A[S].hasIdentifier && !A[S].hasLeftParen ? A[S].setLeftParenFromAntlrToken(g) : A[S].addLParenAntlrTokenToCurrentParameter(g); - break; - case l.PAREN_RIGHT: { - if (-1 === S) break; - if (A[S].parameterHasMismatchedParens) { - A[S].addRParenAntlrTokenToCurrentParameter(g); - break; + e2.exports = function() { + this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false; + }; + }, 47293(e2) { + "use strict"; + e2.exports = function(e3, t2) { + var i2, n2, o, r, a, s, l, u, c, d, p, _, h, m, g, f, T, y, S, A, N, v, I, C, O; + i2 = e3.state, n2 = e3.next_in, C = e3.input, o = n2 + (e3.avail_in - 5), r = e3.next_out, O = e3.output, a = r - (t2 - e3.avail_out), s = r + (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 && (_ += C[n2++] << h, h += 8, _ += C[n2++] << h, h += 8), y = m[_ & f]; + t: for (; ; ) { + if (_ >>>= S = y >>> 24, h -= S, 0 == (S = y >>> 16 & 255)) O[r++] = 65535 & y; + else { + if (!(16 & S)) { + if (64 & S) { + if (32 & S) { + i2.mode = 12; + break e; + } + e3.msg = "invalid literal/length code", i2.mode = 30; + break e; } - A[S].setRightParenFromAntlrToken(g); - const e4 = A.pop(); - A.length > 0 && A[A.length - 1].appendExpressionFuncPartTextForCurrentParameter(e4), e4.containsPosition(t3) && (i3 || (y = [e4], f = false), f && y.push(e4)), S -= 1; - break; + y = m[(65535 & y) + (_ & (1 << S) - 1)]; + continue t; } - case l.IDENTIFIER: { - const t4 = u(h, m, T + 1); - switch (t4.tokenType) { - case l.FIELD_ACCESS_IDENTIFIER: - case l.FIELD_ACCESS_STRING_LITERAL: - case l.FIELD_ACCESS_UNQUOTED_STRING_LITERAL: - -1 === S ? (A.push(new o.ExpressionFuncPart(e3).setIdentifierFromAntlrToken(g)), S += 1) : A[S].addAntlrTokenToCurrentParameter(g), A[S].addAntlrTokenToCurrentParameter(t4), T += 1; - break; - case l.PAREN_RIGHT: - break; - case l.EOF: - f = false; - break; - default: - A.push(new o.ExpressionFuncPart(e3).setIdentifierFromAntlrToken(g)), S += 1; + for (A = 65535 & y, (S &= 15) && (h < S && (_ += C[n2++] << h, h += 8), A += _ & (1 << S) - 1, _ >>>= S, h -= S), h < 15 && (_ += C[n2++] << h, h += 8, _ += C[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) && (_ += C[n2++] << h, (h += 8) < S && (_ += C[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 = r - a)) { + if ((S = N - S) > c && i2.sane) { + e3.msg = "invalid distance too far back", i2.mode = 30; + break e; + } + if (v = 0, I = p, 0 === d) { + if (v += u - S, S < A) { + A -= S; + do { + O[r++] = p[v++]; + } while (--S); + v = r - N, I = O; + } + } else if (d < S) { + if (v += u + d - S, (S -= d) < A) { + A -= S; + do { + O[r++] = p[v++]; + } while (--S); + if (v = 0, d < A) { + A -= S = d; + do { + O[r++] = p[v++]; + } while (--S); + v = r - N, I = O; + } + } + } else if (v += d - S, S < A) { + A -= S; + do { + O[r++] = p[v++]; + } while (--S); + v = r - N, I = O; + } + for (; A > 2; ) O[r++] = I[v++], O[r++] = I[v++], O[r++] = I[v++], A -= 3; + A && (O[r++] = I[v++], A > 1 && (O[r++] = I[v++])); + } else { + v = r - N; + do { + O[r++] = O[v++], O[r++] = O[v++], O[r++] = O[v++], A -= 3; + } while (A > 2); + A && (O[r++] = O[v++], A > 1 && (O[r++] = O[v++])); + } + break; } - break; + if (64 & S) { + e3.msg = "invalid distance code", i2.mode = 30; + break e; + } + y = g[(65535 & y) + (_ & (1 << S) - 1)]; } - default: - S >= 0 && A[S].addAntlrTokenToCurrentParameter(g); } - if (!f) break; - T += 1; - } - if (f) for (; A.length > 0; ) { - const e4 = A.pop(); - e4.resolvedFuncDef && e4.setEndTextPosToExpressionTextLength(), A.length > 0 && A[A.length - 1].appendExpressionFuncPartTextForCurrentParameter(e4), y.push(e4); - } - if (0 === y.length) for (T = 0; T < m; ) { - if (g = u(h, m, T), g.tokenType === l.IDENTIFIER) { - if (g.tokenPos <= t3 && g.tokenPos + g.token.getText().length >= t3) { - y.push(new o.ExpressionFuncPart(e3).setIdentifierFromAntlrToken(g)); - break; - } - } else if (g.tokenPos > t3) break; - T += 1; - } - } catch (e4) { - console.error(e4); - } finally { - d = void 0, p.displayRecognitionError = void 0, p = void 0, _ = void 0; - } - return y; - }; - const n2 = i2(55909), r2 = i2(33951), o = i2(90924), a = i2(40810), s = i2(44051), l = i2(36470); - function u(e3, t3, i3) { - if (i3 >= t3) return { token: void 0, tokenType: l.EOF, tokenPos: -1 }; - 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); - } - i2(11475).extend(n2, "CommunicationVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; - }, 11415: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; + break; } - } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - 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), c = i2(26404); - t2.zip = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = c.popResultSelector(e3), d = s.argsOrArgArray(e3); - return d.length ? new o.Observable(function(e4) { - var t4 = d.map(function() { - return []; - }), o2 = d.map(function() { - return false; - }); - e4.add(function() { - t4 = o2 = null; - }); - for (var s2 = function(s3) { - a.innerFrom(d[s3]).subscribe(u.createOperatorSubscriber(e4, function(a2) { - if (t4[s3].push(a2), t4.every(function(e5) { - return e5.length; - })) { - var l3 = t4.map(function(e5) { - return e5.shift(); - }); - e4.next(i3 ? i3.apply(void 0, r2([], n2(l3))) : l3), t4.some(function(e5, t5) { - return !e5.length && o2[t5]; - }) && e4.complete(); - } - }, function() { - o2[s3] = true, !t4[s3].length && e4.complete(); - })); - }, l2 = 0; !e4.closed && l2 < d.length; l2++) s2(l2); - return function() { - t4 = o2 = null; - }; - }) : l.EMPTY; - }; - }, 11464: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.exhaust = void 0; - var n2 = i2(17977); - t2.exhaust = n2.exhaustAll; - }, 11475: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(87921).default, o = i2(45214), a = i2(7401), s = i2(24032).getTopic("BaseVariable"), { uuid: l } = i2(9456); - function u(e3) { - Object.defineProperties(this, { _name: { writable: true }, _facets: { writable: true }, _initialValue: { writable: true }, _wasRenamed: { writable: true, value: false, enumerable: false }, allowInitialValueForReadOnly: { writable: true, value: false }, hideFromAutocomplete: { writable: true, value: false }, isReadOnly: { writable: true, value: false }, isSystemVariable: { writable: true, value: false } }), this.description = void 0, this.doNotCleanupIfOrphanedSlot = void 0, this.id = void 0, this.isCollection = false, this.isInternal = false, this.isOutput = false, this.isInput = false, this.isSecure = false, this.descriptionOverrides = void 0, this.deprecatedId = void 0, this.deprecatedName = void 0, this.reconfigure = void 0, this.uiMetaData = void 0, this.version = "1.0", this.initialValueOptionsCallback = void 0, u.baseConstructor.apply(this, arguments), e3.copyPasteId && (this.copyPasteId = e3.copyPasteId), e3.featureToggleName && (this.featureToggleName = e3.featureToggleName), e3.featureConfig && (this.featureConfig = e3.featureConfig), (this.featureToggleName || this.featureConfig) && (this.isUnavailable = true); - } - o.extend(u, "BaseVariable"), Object.defineProperties(u.prototype, { name: { enumerable: true, get: function() { - return this._name; - }, set: function(e3) { - e3 && !n2.isString(e3) ? (e3 = `Flow.Repaired_Name_${l().split("-").join("")}`, this._name = e3, this._wasRenamed = true, s.error(`Variable was renamed to ${this._name} because of an invalidName`)) : this._name = e3; - } }, pasteResolveOldToNewValues: { value: function(e3) { - } }, pasteReIdOrRename: { value: function(e3) { - this.id = e3.pasteGenerateNewGuid(this.id); - } }, facets: { enumerable: true, get: function() { - return this._facets; - }, set: function(e3) { - this._facets = this.reviveItem(e3, r2); - } }, initialValue: { enumerable: true, get: function() { - return this._initialValue; - }, set: function(e3) { - this._initialValue = this.reviveItem(e3, a); - } }, clone: { value: function() { - const e3 = n2.clone(this), t3 = new this.__proto__.constructor(e3); - return t3.allowInitialValueForReadOnly = this.allowInitialValueForReadOnly, t3.hideFromAutocomplete = this.hideFromAutocomplete, t3.isReadOnly = this.isReadOnly, t3.isSystemVariable = this.isSystemVariable, t3; - } } }), e2.exports = u; - }, 11493: (e2) => { - "use strict"; - e2.exports = require("v8"); - }, 11541: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(80295), a = i2(80295), s = n2.__importDefault(i2(62121)), l = n2.__importDefault(i2(27702)); - class u extends s.default { - constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_builderParts"), (0, o.makeUnenumerable)(this, "_criteria"), this.populateFromJSON(e3); - } - get builderParts() { - return this._builderParts; - } - set builderParts(e3) { - this._builderParts = this.reviveArray(e3, l.default); - } - get criteria() { - return this._criteria; - } - set criteria(e3) { - this._criteria = e3; - } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), r2.default.each(this._builderParts, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)); - } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), r2.default.each(this._builderParts, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)); - } - } - t2.default = u, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "builderParts", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "criteria", null); - }, 11675: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ScheduleGroupViewModel = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(43212); - class o extends r2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), e3.openSchedules && e3.closedSchedules && (this.schedules = n2.default.union(this._model.openSchedules, this._model.closedSchedules)); - } - get className() { - return "ScheduleGroupViewModel"; - } - get id() { - return this._model.id; - } - set id(e3) { - this._model.id = e3; - } - get name() { - return this._model.name; - } - set name(e3) { - this._model.category = e3; - } - get label() { - return this._model.name; - } - get schedules() { - return this._model.schedules; - } - set schedules(e3) { - this._model.schedules = e3; - } - hasSchedule(e3) { - return e3 && n2.default.findWhere(this.schedules, { id: e3.id }); - } - } - t2.ScheduleGroupViewModel = o; - }, 11749: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { - t3 || (t3 = e3); - const i3 = new n2(); - i3.variables = [], i3.defaultSettings = new o(), i3.defaultLanguage = e3, i3.flowMetaData = new a({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", ttsDataVersion: "1.0", features: [] }), i3.flowSequenceItemList = []; - const l = new r2(); - return l.name = s(t3).initialState, l.variables = [], l.actionList = [], i3.flowSequenceItemList = [l], i3.initialSequence = l.id, i3; + } while (n2 < o && r < s); + n2 -= A = h >> 3, _ &= (1 << (h -= A << 3)) - 1, e3.next_in = n2, e3.next_out = r, e3.avail_in = n2 < o ? o - n2 + 5 : 5 - (n2 - o), e3.avail_out = r < s ? s - r + 257 : 257 - (r - s), i2.hold = _, i2.bits = h; }; - const n2 = i2(88), r2 = i2(69674), o = i2(74803), a = i2(89266), s = i2(21733); - }, 11865: (e2, t2, i2) => { + }, 71447(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.LexBotViewModel = void 0; - const n2 = i2(17604), r2 = i2(43212), o = i2(47957); - class a extends r2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3); - } - get className() { - return "LexBotViewModel"; - } - get botName() { - return this._model.name; - } - get description() { - var e3; - return this.isLexV2Bot && (null === (e3 = this.region) || void 0 === e3 ? void 0 : e3.length) ? (0, n2.sprintf)(o.lex.lexV2BotDescription, this.region) : null; - } - get region() { - var e3, t3; - return this.isLexV2Bot ? this._model.region || (null === (t3 = null === (e3 = this.id) || void 0 === e3 ? void 0 : e3.split("~")) || void 0 === t3 ? void 0 : t3[1]) : null; - } - getConfiguration() { - return this._model; - } - get id() { - return this._model.id; - } - get isLexV2Bot() { - return this._model.isLexV2Bot; - } - get label() { - return this._model.name || ""; - } - get name() { - return this._model.name; - } - get status() { - return this._model.status; - } + var n2 = i2(9805), o = i2(53269), r = 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); } - t2.LexBotViewModel = a; - }, 11877: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(51695)); - class a extends o.default { - constructor(e3, t3) { - super(), this.model = e3, this.skill = t3; - } - getConfiguration(e3, t3) { - return (null == t3 ? void 0 : t3.isForFlowYaml) ? r2.default.tryWrapObject(this.skill.getConfiguration(e3, t3), "acdSkill") : this.model; - } - get contents() { - return [this.skill]; - } - get className() { - return "SkillValuePairViewModel"; - } - get isSkillValuePairViewModel() { - return true; - } - get id() { - return "skill-" + this.skill.id; - } - get cardLabel() { - return this.skill.label; - } + function p() { + this.mode = 0, this.last = false, this.wrap = 0, this.havedict = false, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new n2.Buf16(320), this.work = new n2.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0; } - t2.default = a; - }, 11909: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "surveyQuestionCollection"; - } - get displayTypeName() { - return "ArchValueSurveyQuestionCollection"; - } - get isArchValueSurveyQuestionCollection() { - return true; - } + function _(e3) { + var t3; + return e3 && e3.state ? (t3 = e3.state, e3.total_in = e3.total_out = t3.total = 0, e3.msg = "", t3.wrap && (e3.adler = 1 & t3.wrap), t3.mode = 1, t3.last = 0, t3.havedict = 0, t3.dmax = 32768, t3.head = null, t3.hold = 0, t3.bits = 0, t3.lencode = t3.lendyn = new n2.Buf32(852), t3.distcode = t3.distdyn = new n2.Buf32(592), t3.sane = 1, t3.back = -1, 0) : l; } - t2.default = r2; - }, 11914: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getGuides = a, t2.getGuide = s, t2.getGuideVersion = l; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(36839)); - function a(e3) { - return r2.default.build(o.getGuides).queryParams(e3.getSearchQueryParams()).call(); + function h(e3) { + var t3; + return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0, _(e3)) : l; } - function s(e3) { - const t3 = { guideId: e3 }; - return r2.default.build(o.getGuide).templateParams(t3).call(); + function m(e3, t3) { + var i3, n3; + return e3 && e3.state ? (n3 = e3.state, t3 < 0 ? (i3 = 0, t3 = -t3) : (i3 = 1 + (t3 >> 4), t3 < 48 && (t3 &= 15)), t3 && (t3 < 8 || t3 > 15) ? l : (null !== n3.window && n3.wbits !== t3 && (n3.window = null), n3.wrap = i3, n3.wbits = t3, h(e3))) : l; } - function l(e3, t3) { - const i3 = { guideId: e3, guideVersionId: null == t3 ? void 0 : t3.version }; - return r2.default.build(o.getGuideVersion).templateParams(i3).call(); + function g(e3, t3) { + var i3, n3; + return e3 ? (n3 = new p(), e3.state = n3, n3.window = null, 0 !== (i3 = m(e3, t3)) && (e3.state = null), i3) : l; } - a.api = o.getGuides, s.api = o.getGuide, l.api = o.getGuideVersion; - }, 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(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.availableFieldGroups = [], this._initialize(); - } - get className() { - return "ExternalContactPatchChangeList"; - } - get isExternalContactPatchChangeList() { - return true; - } - get hasMax() { - 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 ? (T.warning("Attempted to add field but max items reached"), null) : super.add(e3); - } - orderChanged() { - super.orderChanged(), this._updateAvailableFields(); - } - _updateAvailableFields() { - 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 g.ExternalContactPatchChange(); - return t3.field = e3, this.add(t3); - } - _isUnusedField(e3) { - if (!(0, a.getExternalContactFieldDef)(e3)) return false; - const t3 = new Set(this.items.map((e4) => e4.fieldId)); - if (t3.has(e3)) return false; - const i3 = e3.split("."); - if (i3.length > 1 && t3.has(i3[0])) return false; - if (1 === i3.length) { - const i4 = `${e3}.`; - return ![...t3].some((e4) => e4.startsWith(i4)); - } - return true; - } - _initialize() { - this.model.forEach((e3) => { - if (!(0, a.getExternalContactFieldDef)(null == e3 ? void 0 : e3.field)) return; - const t3 = this.createItem(e3); - t3 && this.items.push(t3); - }), this._updateAvailableFields(); - } - createItem(e3) { + var f, T, y = true; + function S(e3) { + if (y) { var t3; - const i3 = (0, l.resolveExternalContactFieldType)(e3.field, this.parentFlow); - if (!i3) return null; - 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 m.default(e3, o2, i3, n3, (t4) => this._buildValueExpression(e3, i3.id, t4)); - } - _buildValueExpression(e3, t3, i3) { - 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); + for (f = new n2.Buf32(512), T = new n2.Buf32(32), t3 = 0; t3 < 144; ) e3.lens[t3++] = 8; + for (; t3 < 256; ) e3.lens[t3++] = 9; + for (; t3 < 280; ) e3.lens[t3++] = 7; + for (; t3 < 288; ) e3.lens[t3++] = 8; + for (s(1, e3.lens, 0, 288, f, 0, e3.work, { bits: 9 }), t3 = 0; t3 < 32; ) e3.lens[t3++] = 5; + s(2, e3.lens, 0, 32, T, 0, e3.work, { bits: 5 }), y = false; } + e3.lencode = f, e3.lenbits = 9, e3.distcode = T, e3.distbits = 5; } - t2.ExternalContactPatchChangeList = y; - }, 11934: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.never = t2.NEVER = void 0; - var n2 = i2(48051), r2 = i2(5717); - t2.NEVER = new n2.Observable(r2.noop), t2.never = function() { - return t2.NEVER; - }; - }, 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)), 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); - function s() { - Object.defineProperties(this, { _initialIntent: { writable: true }, _outputSessionVariables: { writable: true } }), this.region = void 0, this.shortBotId = void 0, this.shortAliasId = void 0, s.baseConstructor.apply(this, arguments); + function A(e3, t3, i3, o2) { + var r2, a2 = e3.state; + return null === a2.window && (a2.wsize = 1 << a2.wbits, a2.wnext = 0, a2.whave = 0, a2.window = new n2.Buf8(a2.wsize)), o2 >= a2.wsize ? (n2.arraySet(a2.window, t3, i3 - a2.wsize, a2.wsize, 0), a2.wnext = 0, a2.whave = a2.wsize) : ((r2 = a2.wsize - a2.wnext) > o2 && (r2 = o2), n2.arraySet(a2.window, t3, i3 - o2, r2, a2.wnext), (o2 -= r2) ? (n2.arraySet(a2.window, t3, i3 - o2, o2, 0), a2.wnext = o2, a2.whave = a2.wsize) : (a2.wnext += r2, a2.wnext === a2.wsize && (a2.wnext = 0), a2.whave < a2.wsize && (a2.whave += r2))), 0; } - n2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.initialIntent.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.initialIntent.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteResolveOldToNewValues(e3); - } }, initialIntent: { enumerable: true, get: function() { - return this._initialIntent; - }, set: function(e3) { - this._initialIntent = this.reviveItem(e3, r2); - } }, outputSessionVariables: { enumerable: true, get: function() { - return this._outputSessionVariables; - }, set: function(e3) { - this._outputSessionVariables = this.reviveArray(e3, a); - } } }), e2.exports = s; - }, 12104: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.emptyAudio = void 0, t2.emptyAudio = new function() { - Object.defineProperties(this, { defaultAudio: { value: { config: { emp: { pos: 1, text: "", type: "aud" } }, text: "", uiMetaData: { sequenceItems: [] } } }, cases: { value: [] } }); - }(); - }, 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)), c = "AsyncOperationInfo"; - t2.default = class { - 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; - } - logCurrentOperation(e3, t3, i3) { - const n3 = e3 ? e3.currentOperation : void 0; - if (n3) { - const r3 = this.isDelete ? this.logTopic.withContext("flowId", e3.id) : this.logTopic, o2 = t3 + " Current operation - actionStatus is '" + n3.actionStatus + "' and completed is '" + n3.complete + "'"; - i3 ? r3.error(o2) : r3.info(o2); - } else this.logTopic.warning(t3 + " Current operation - no current operation."); - } - get abandonProcessingTimeoutMS() { - return this._abandonProcessingTimeoutMS; - } - get abandonProcessingTimeout() { - return this._abandonProcessingTimeoutMS / r2.default.msPerSecond; - } - set abandonProcessingTimeout(e3) { - this._abandonProcessingTimeoutMS = e3 * r2.default.msPerSecond; - } - get deferredOperation() { - return this._deferredOperation; - } - get emergencyPollingTimeoutMS() { - return this._emergencyPollingTimeoutMS; - } - get emergencyPollingTimeout() { - return this._emergencyPollingTimeoutMS / r2.default.msPerSecond; - } - set emergencyPollingTimeout(e3) { - this._emergencyPollingTimeoutMS = e3 * r2.default.msPerSecond; - } - get emergencyPollingRetryTimeoutMS() { - return this._emergencyPollingRetryTimeoutMS; - } - get emergencyPollingRetryTimeout() { - return this._emergencyPollingRetryTimeoutMS / r2.default.msPerSecond; - } - set emergencyPollingRetryTimeout(e3) { - this._emergencyPollingRetryTimeoutMS = e3 * r2.default.msPerSecond; - } - get finished() { - return this._deferredOperation.promise; - } - get logTopic() { - return this._logTopic; - } - get emergencyRequestPending() { - return this._emergencyRequestPending; - } - set emergencyRequestPending(e3) { - this._emergencyRequestPending = e3; - } - get operationToPerform() { - return this._operationToPerform; - } - set operationToPerform(e3) { - this._operationToPerform = e3; - } - get operationStillInProgress() { - return this._operationStillInProgress; - } - set operationStillInProgress(e3) { - this._operationStillInProgress = e3; - } - get retryEmergencyPollOn404() { - return this._retryEmergencyPollOn404; - } - set retryEmergencyPollOn404(e3) { - this._retryEmergencyPollOn404 = e3; - } - get staleNotificationTimeMS() { - return this._staleNotificationTimeMS; - } - get staleNotificationTime() { - return this._staleNotificationTimeMS / r2.default.msPerSecond; - } - set staleNotificationTime(e3) { - this._staleNotificationTimeMS = e3; - } - get stateChangedCallBack() { - return this._stateChangedCallBack; - } - set stateChangedCallBack(e3) { - this._stateChangedCallBack = e3; - } - get subscriberId() { - return this._subscriberId; - } - get subscriptionTopics() { - return this._subscriptionTopics; + 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, v, I, C, O, 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, v = f2, F = 0; + e: for (; ; ) switch (i3.mode) { + case 1: + if (0 === i3.wrap) { + i3.mode = 13; + break; + } + for (; y2 < 16; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + if (2 & i3.wrap && 35615 === T2) { + i3.check = 0, V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, i3.check = r(i3.check, V, 2, 0), T2 = 0, y2 = 0, i3.mode = 2; + 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 = c; + break; + } + if (8 != (15 & T2)) { + 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 = c; + break; + } + i3.dmax = 1 << M, e3.adler = i3.check = 1, i3.mode = 512 & T2 ? 10 : u, T2 = 0, y2 = 0; + break; + case 2: + for (; y2 < 16; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + if (i3.flags = T2, 8 != (255 & i3.flags)) { + e3.msg = "unknown compression method", i3.mode = c; + break; + } + if (57344 & i3.flags) { + 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 = r(i3.check, V, 2, 0)), T2 = 0, y2 = 0, i3.mode = 3; + case 3: + for (; y2 < 32; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + i3.head && (i3.head.time = T2), 512 & i3.flags && (V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, V[2] = T2 >>> 16 & 255, V[3] = T2 >>> 24 & 255, i3.check = r(i3.check, V, 4, 0)), T2 = 0, y2 = 0, i3.mode = 4; + case 4: + for (; y2 < 16; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + i3.head && (i3.head.xflags = 255 & T2, i3.head.os = T2 >> 8), 512 & i3.flags && (V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, i3.check = r(i3.check, V, 2, 0)), T2 = 0, y2 = 0, i3.mode = 5; + case 5: + if (1024 & i3.flags) { + for (; y2 < 16; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + i3.length = T2, i3.head && (i3.head.extra_len = T2), 512 & i3.flags && (V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, i3.check = r(i3.check, V, 2, 0)), T2 = 0, y2 = 0; + } 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 = r(i3.check, p2, I, h2)), g2 -= I, h2 += I, i3.length -= I), i3.length)) break e; + i3.length = 0, i3.mode = 7; + case 7: + if (2048 & i3.flags) { + if (0 === g2) break e; + I = 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 = r(i3.check, p2, I, h2)), g2 -= I, h2 += I, 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; + 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 = r(i3.check, p2, I, h2)), g2 -= I, h2 += I, M) break e; + } else i3.head && (i3.head.comment = null); + i3.mode = 9; + case 9: + if (512 & i3.flags) { + for (; y2 < 16; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + if (T2 !== (65535 & i3.check)) { + e3.msg = "header crc mismatch", i3.mode = c; + break; + } + T2 = 0, y2 = 0; + } + i3.head && (i3.head.hcrc = i3.flags >> 9 & 1, i3.head.done = true), e3.adler = i3.check = 0, i3.mode = u; + break; + case 10: + for (; y2 < 32; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + 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; + case u: + if (5 === t3 || 6 === t3) break e; + case 13: + if (i3.last) { + T2 >>>= 7 & y2, y2 -= 7 & y2, i3.mode = 27; + break; + } + for (; y2 < 3; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + switch (i3.last = 1 & T2, y2 -= 1, 3 & (T2 >>>= 1)) { + case 0: + i3.mode = 14; + break; + case 1: + if (S(i3), i3.mode = 20, 6 === t3) { + T2 >>>= 2, y2 -= 2; + break e; + } + break; + case 2: + i3.mode = 17; + break; + case 3: + e3.msg = "invalid block type", i3.mode = c; + } + T2 >>>= 2, y2 -= 2; + break; + case 14: + for (T2 >>>= 7 & y2, y2 -= 7 & y2; y2 < 32; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + if ((65535 & T2) != (T2 >>> 16 ^ 65535)) { + 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; + break; + } + i3.mode = u; + break; + case 17: + for (; y2 < 14; ) { + if (0 === g2) break e; + 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 = c; + break; + } + i3.have = 0, i3.mode = 18; + case 18: + for (; i3.have < i3.ncode; ) { + for (; y2 < 3; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + i3.lens[U[i3.have++]] = 7 & T2, T2 >>>= 3, y2 -= 3; + } + 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 = 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, w = 65535 & k, !((b = k >>> 24) <= y2); ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + if (w < 16) T2 >>>= b, y2 -= b, i3.lens[i3.have++] = w; + else { + 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 = c; + break; + } + M = i3.lens[i3.have - 1], I = 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; + } 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; + } + if (i3.have + I > i3.nlen + i3.ndist) { + e3.msg = "invalid bit length repeat", i3.mode = c; + break; + } + for (; I--; ) i3.lens[i3.have++] = M; + } + } + if (i3.mode === c) break; + if (0 === i3.lens[256]) { + 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 = 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 = c; + break; + } + if (i3.mode = 20, 6 === t3) break e; + case 20: + 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, 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, w = 65535 & k, !((b = k >>> 24) <= y2); ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + if (E && !(240 & E)) { + 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 >>>= R, y2 -= R, i3.back += R; + } + if (T2 >>>= b, y2 -= b, i3.back += b, i3.length = w, 0 === E) { + i3.mode = 26; + break; + } + if (32 & E) { + i3.back = -1, i3.mode = u; + break; + } + if (64 & E) { + e3.msg = "invalid literal/length code", i3.mode = c; + break; + } + i3.extra = 15 & E, i3.mode = 22; + case 22: + if (i3.extra) { + for (x = i3.extra; y2 < x; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + i3.length += T2 & (1 << i3.extra) - 1, T2 >>>= i3.extra, y2 -= i3.extra, i3.back += i3.extra; + } + i3.was = i3.length, i3.mode = 23; + case 23: + 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 (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 >>>= R, y2 -= R, i3.back += R; + } + if (T2 >>>= b, y2 -= b, i3.back += b, 64 & E) { + e3.msg = "invalid distance code", i3.mode = c; + break; + } + i3.offset = w, i3.extra = 15 & E, i3.mode = 24; + case 24: + if (i3.extra) { + for (x = i3.extra; y2 < x; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + 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 = c; + break; + } + i3.mode = 25; + case 25: + if (0 === f2) break e; + if (I = v - f2, i3.offset > I) { + if ((I = i3.offset - I) > i3.whave && i3.sane) { + e3.msg = "invalid distance too far back", i3.mode = c; + break; + } + I > i3.wnext ? (I -= i3.wnext, C = i3.wsize - I) : C = i3.wnext - I, I > i3.length && (I = i3.length), O = i3.window; + } else O = _2, C = m2 - i3.offset, I = i3.length; + I > f2 && (I = f2), f2 -= I, i3.length -= I; + do { + _2[m2++] = O[C++]; + } while (--I); + 0 === i3.length && (i3.mode = 21); + break; + case 26: + if (0 === f2) break e; + _2[m2++] = i3.length, f2--, i3.mode = 21; + break; + case 27: + if (i3.wrap) { + for (; y2 < 32; ) { + if (0 === g2) break e; + g2--, T2 |= p2[h2++] << y2, y2 += 8; + } + if (v -= f2, e3.total_out += v, i3.total += v, v && (e3.adler = i3.check = i3.flags ? r(i3.check, _2, v, m2 - v) : o(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; + } + i3.mode = 28; + case 28: + if (i3.wrap && i3.flags) { + for (; y2 < 32; ) { + if (0 === g2) break e; + g2--, T2 += p2[h2++] << y2, y2 += 8; + } + if (T2 !== (4294967295 & i3.total)) { + e3.msg = "incorrect length check", i3.mode = c; + break; + } + T2 = 0, y2 = 0; + } + i3.mode = 29; + case 29: + F = 1; + break e; + case c: + F = -3; + break e; + case 31: + return -4; + default: + return l; } - set subscriptionTopics(e3) { - this._subscriptionTopics = e3; + 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 ? r(i3.check, _2, v, e3.next_out - v) : o(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; + return t3.window && (t3.window = null), e3.state = null, 0; + }, t2.inflateGetHeader = function(e3, t3) { + var i3; + return e3 && e3.state && 2 & (i3 = e3.state).wrap ? (i3.head = t3, t3.done = false, 0) : l; + }, t2.inflateSetDictionary = function(e3, t3) { + var i3, n3 = t3.length; + return e3 && e3.state ? 0 !== (i3 = e3.state).wrap && 11 !== i3.mode ? l : 11 === i3.mode && o(1, t3, n3, 0) !== i3.check ? -3 : A(e3, t3, n3, n3) ? (i3.mode = 31, -4) : (i3.havedict = 1, 0) : l; + }, t2.inflateInfo = "pako inflate (from Nodeca project)"; + }, 21998(e2, t2, i2) { + "use strict"; + var n2 = i2(9805), o = [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], r = [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, c, d, p) { + var _, h, m, g, f, T, y, S, A, N = p.bits, v = 0, I = 0, C = 0, O = 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 (I = 0; I < l; I++) L[t3[i3 + I]]++; + for (b = N, O = 15; O >= 1 && 0 === L[O]; O--) ; + if (b > O && (b = O), 0 === O) return u[c++] = 20971520, u[c++] = 20971520, p.bits = 1, 0; + for (C = 1; C < O && 0 === L[C]; C++) ; + for (b < C && (b = C), R = 1, v = 1; v <= 15; v++) if (R <<= 1, (R -= L[v]) < 0) return -1; + if (R > 0 && (0 === e3 || 1 !== O)) return -1; + for (x[1] = 0, v = 1; v < 15; v++) x[v + 1] = x[v] + L[v]; + for (I = 0; I < l; I++) 0 !== t3[i3 + I] && (d[x[t3[i3 + I]]++] = I); + if (0 === e3 ? (M = k = d, T = 19) : 1 === e3 ? (M = o, F -= 257, k = r, V -= 257, T = 256) : (M = a, k = s, T = -1), P = 0, I = 0, v = C, 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 = v - w, d[I] < T ? (S = 0, A = d[I]) : d[I] > T ? (S = k[V + d[I]], A = M[F + d[I]]) : (S = 96, A = 0), _ = 1 << v - w, C = h = 1 << E; + do { + u[f + (P >> w) + (h -= _)] = y << 24 | S << 16 | A; + } while (0 !== h); + for (_ = 1 << v - 1; P & _; ) _ >>= 1; + if (0 !== _ ? (P &= _ - 1, P += _) : P = 0, I++, 0 === --L[v]) { + if (v === O) break; + v = t3[i3 + d[I]]; + } + if (v > b && (P & g) !== m) { + for (0 === w && (w = b), f += C, R = 1 << (E = v - w); E + w < O && !((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 - c; + } } + return 0 !== P && (u[f + P] = v - w << 24 | 64 << 16), p.bits = b, 0; }; - }, 12163: (e2, t2, i2) => { + }, 54674(e2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(82985)), o = n2.__importDefault(i2(78432)), a = i2(30801); - class s extends r2.default { - get _actionTypeId() { - return a.callVoiceFlowActionType; - } - get botFlowTypeEnum() { - return o.default.FLOW_TYPES.voice; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionCallVoiceFlow() { - return true; - } - } - t2.default = s; - }, 12179: (e2, t2, i2) => { + e2.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }; + }, 23665(e2, t2, i2) { "use strict"; - 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; - }; - const n2 = i2(74359); - function r2() { - return (0, n2.getCurrentLanguage)() || "en-us"; - } + var n2 = i2(9805); function o(e3) { - return `https://help.genesys.cloud/redirect/${encodeURIComponent(e3 || "en-us")}`; + for (var t3 = e3.length; --t3 >= 0; ) e3[t3] = 0; } - function a(e3) { - return `${o(e3)}/architect`; + var r = [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); + o(u); + var c = new Array(60); + o(c); + var d = new Array(512); + o(d); + var p = new Array(256); + o(p); + var _ = new Array(29); + o(_); + var h, m, g, f = new Array(30); + function T(e3, t3, i3, n3, o2) { + this.static_tree = e3, this.extra_bits = t3, this.extra_base = i3, this.elems = n3, this.max_length = o2, this.has_stree = e3 && e3.length; } - function s(e3) { - return `${o(e3)}/articles`; + function y(e3, t3) { + this.dyn_tree = e3, this.max_code = 0, this.stat_desc = t3; } - 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; - var n2 = i2(34891), r2 = i2(10281); - t2.isIterable = function(e3) { - return r2.isFunction(null == e3 ? void 0 : e3[n2.iterator]); - }; - }, 12199: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeySession"; - } - get id() { - } - get createdDate() { - } - get customerId() { - } - get customerIdType() { - } - get divisionIds() { - } - get type() { - } - get externalId() { - } - get externalUrl() { - } - get outcomeAchievements() { + function S(e3) { + 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; + } + 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 v(e3, t3, i3) { + N(e3, i3[2 * t3], i3[2 * t3 + 1]); + } + function I(e3, t3) { + var i3 = 0; + do { + i3 |= 1 & e3, e3 >>>= 1, i3 <<= 1; + } while (--t3 > 0); + return i3 >>> 1; + } + function C(e3, t3, i3) { + var n3, o2, r2 = new Array(16), a2 = 0; + for (n3 = 1; n3 <= 15; n3++) r2[n3] = a2 = a2 + i3[n3 - 1] << 1; + for (o2 = 0; o2 <= t3; o2++) { + var s2 = e3[2 * o2 + 1]; + 0 !== s2 && (e3[2 * o2] = I(r2[s2]++, s2)); } - get segmentAssignments() { - } - get attributes() { - } - get attributeLists() { - } - get awayDate() { - } - get browser() { - } - get device() { - } - get geolocation() { - } - get idleDate() { - } - get ipAddress() { - } - get ipOrganization() { - } - get lastPage() { - } - get mktCampaign() { - } - get referrer() { - } - get searchTerms() { - } - get userAgentString() { - } - get durationInSeconds() { - } - get eventCount() { - } - get pageviewCount() { - } - get screenviewCount() { - } - get app() { - } - get networkConnectivity() { - } - get sdkLibrary() { - } - get displayTypeName() { - return "ArchValueJourneySession"; - } - get isArchValueJourneySession() { - return true; + } + function O(e3) { + var t3; + for (t3 = 0; t3 < 286; t3++) e3.dyn_ltree[2 * t3] = 0; + for (t3 = 0; t3 < 30; t3++) e3.dyn_dtree[2 * t3] = 0; + for (t3 = 0; t3 < 19; t3++) e3.bl_tree[2 * t3] = 0; + e3.dyn_ltree[512] = 1, e3.opt_len = e3.static_len = 0, e3.last_lit = e3.matches = 0; + } + function b(e3) { + e3.bi_valid > 8 ? A(e3, e3.bi_buf) : e3.bi_valid > 0 && (e3.pending_buf[e3.pending++] = e3.bi_buf), e3.bi_buf = 0, e3.bi_valid = 0; + } + function E(e3, t3, i3, n3) { + var o2 = 2 * t3, r2 = 2 * i3; + return e3[o2] < e3[r2] || e3[o2] === e3[r2] && n3[t3] <= n3[i3]; + } + function w(e3, t3, i3) { + for (var n3 = e3.heap[i3], o2 = i3 << 1; o2 <= e3.heap_len && (o2 < e3.heap_len && E(t3, e3.heap[o2 + 1], e3.heap[o2], e3.depth) && o2++, !E(t3, n3, e3.heap[o2], e3.depth)); ) e3.heap[i3] = e3.heap[o2], i3 = o2, o2 <<= 1; + e3.heap[i3] = n3; + } + function R(e3, t3, i3) { + var n3, o2, 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], o2 = e3.pending_buf[e3.l_buf + u2], u2++, 0 === n3 ? v(e3, o2, t3) : (v(e3, (s2 = p[o2]) + 256 + 1, t3), 0 !== (l2 = r[s2]) && N(e3, o2 -= _[s2], l2), v(e3, s2 = S(--n3), i3), 0 !== (l2 = a[s2]) && N(e3, n3 -= f[s2], l2)); + } while (u2 < e3.last_lit); + v(e3, 256, t3); + } + function D(e3, t3) { + var i3, n3, o2, r2 = 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 !== r2[2 * i3] ? (e3.heap[++e3.heap_len] = u2 = i3, e3.depth[i3] = 0) : r2[2 * i3 + 1] = 0; + for (; e3.heap_len < 2; ) r2[2 * (o2 = e3.heap[++e3.heap_len] = u2 < 2 ? ++u2 : 0)] = 1, e3.depth[o2] = 0, e3.opt_len--, s2 && (e3.static_len -= a2[2 * o2 + 1]); + for (t3.max_code = u2, i3 = e3.heap_len >> 1; i3 >= 1; i3--) w(e3, r2, i3); + o2 = l2; + do { + i3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], w(e3, r2, 1), n3 = e3.heap[1], e3.heap[--e3.heap_max] = i3, e3.heap[--e3.heap_max] = n3, r2[2 * o2] = r2[2 * i3] + r2[2 * n3], e3.depth[o2] = (e3.depth[i3] >= e3.depth[n3] ? e3.depth[i3] : e3.depth[n3]) + 1, r2[2 * i3 + 1] = r2[2 * n3 + 1] = o2, e3.heap[1] = o2++, w(e3, r2, 1); + } while (e3.heap_len >= 2); + e3.heap[--e3.heap_max] = e3.heap[1], (function(e4, t4) { + var i4, n4, o3, r3, 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 (r3 = 0; r3 <= 15; r3++) e4.bl_count[r3] = 0; + for (l3[2 * e4.heap[e4.heap_max] + 1] = 0, i4 = e4.heap_max + 1; i4 < 573; i4++) (r3 = l3[2 * l3[2 * (n4 = e4.heap[i4]) + 1] + 1] + 1) > h2 && (r3 = h2, m2++), l3[2 * n4 + 1] = r3, n4 > u3 || (e4.bl_count[r3]++, a3 = 0, n4 >= _2 && (a3 = p2[n4 - _2]), s3 = l3[2 * n4], e4.opt_len += s3 * (r3 + a3), d2 && (e4.static_len += s3 * (c2[2 * n4 + 1] + a3))); + if (0 !== m2) { + do { + for (r3 = h2 - 1; 0 === e4.bl_count[r3]; ) r3--; + e4.bl_count[r3]--, e4.bl_count[r3 + 1] += 2, e4.bl_count[h2]--, m2 -= 2; + } while (m2 > 0); + for (r3 = h2; 0 !== r3; r3--) for (n4 = e4.bl_count[r3]; 0 !== n4; ) (o3 = e4.heap[--i4]) > u3 || (l3[2 * o3 + 1] !== r3 && (e4.opt_len += (r3 - l3[2 * o3 + 1]) * l3[2 * o3], l3[2 * o3 + 1] = r3), n4--); + } + })(e3, t3), C(r2, u2, e3.bl_count); + } + function P(e3, t3, i3) { + var n3, o2, r2 = -1, a2 = t3[1], s2 = 0, l2 = 7, u2 = 4; + for (0 === a2 && (l2 = 138, u2 = 3), t3[2 * (i3 + 1) + 1] = 65535, n3 = 0; n3 <= i3; n3++) o2 = a2, a2 = t3[2 * (n3 + 1) + 1], ++s2 < l2 && o2 === a2 || (s2 < u2 ? e3.bl_tree[2 * o2] += s2 : 0 !== o2 ? (o2 !== r2 && e3.bl_tree[2 * o2]++, e3.bl_tree[32]++) : s2 <= 10 ? e3.bl_tree[34]++ : e3.bl_tree[36]++, s2 = 0, r2 = o2, 0 === a2 ? (l2 = 138, u2 = 3) : o2 === a2 ? (l2 = 6, u2 = 3) : (l2 = 7, u2 = 4)); + } + function M(e3, t3, i3) { + var n3, o2, r2 = -1, a2 = t3[1], s2 = 0, l2 = 7, u2 = 4; + for (0 === a2 && (l2 = 138, u2 = 3), n3 = 0; n3 <= i3; n3++) if (o2 = a2, a2 = t3[2 * (n3 + 1) + 1], !(++s2 < l2 && o2 === a2)) { + if (s2 < u2) do { + v(e3, o2, e3.bl_tree); + } while (0 !== --s2); + else 0 !== o2 ? (o2 !== r2 && (v(e3, o2, 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, r2 = o2, 0 === a2 ? (l2 = 138, u2 = 3) : o2 === a2 ? (l2 = 6, u2 = 3) : (l2 = 7, u2 = 4); } } - t2.default = r2; - }, 12252: (e2, t2, i2) => { - "use strict"; - var n2, r2, o; - Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); - class u extends l.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.knowledgeArticle), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.knowledgeFeedback), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.knowledgeSearchId), "f"); - } - get _actionTypeId() { - return s.sendKnowledgeFeedbackActionActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSendKnowledgeFeedback() { - return true; - } - get knowledgeArticle() { - return a.__classPrivateFieldGet(this, n2, "f"); - } - get knowledgeFeedback() { - return a.__classPrivateFieldGet(this, r2, "f"); - } - get knowledgeSearchId() { - return a.__classPrivateFieldGet(this, o, "f"); - } + o(f); + var F = false; + function L(e3, t3, i3, o2) { + N(e3, 0 + (o2 ? 1 : 0), 3), (function(e4, t4, i4) { + b(e4), A(e4, i4), A(e4, ~i4), n2.arraySet(e4.pending_buf, e4.window, t4, i4, e4.pending), e4.pending += i4; + })(e3, t3, i3); } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 12268: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.languageData = void 0; - const n2 = i2(31635).__importDefault(i2(77838)); - t2.languageData = { af: { id: "af", text: n2.default.af }, "af-na": { id: "af-NA", text: n2.default.af_na }, "af-za": { id: "af-ZA", text: n2.default.af_za }, agq: { id: "agq", text: n2.default.agq }, "agq-cm": { id: "agq-CM", text: n2.default.agq_cm }, ak: { id: "ak", text: n2.default.ak }, "ak-gh": { id: "ak-GH", text: n2.default.ak_gh }, am: { id: "am", text: n2.default.am }, "am-et": { id: "am-ET", text: n2.default.am_et }, ar: { id: "ar", text: n2.default.ar }, "ar-001": { id: "ar-001", text: n2.default.ar_001 }, "ar-ae": { id: "ar-AE", text: n2.default.ar_ae }, "ar-bh": { id: "ar-BH", text: n2.default.ar_bh }, "ar-dj": { id: "ar-DJ", text: n2.default.ar_dj }, "ar-dz": { id: "ar-DZ", text: n2.default.ar_dz }, "ar-eg": { id: "ar-EG", text: n2.default.ar_eg }, "ar-eh": { id: "ar-EH", text: n2.default.ar_eh }, "ar-er": { id: "ar-ER", text: n2.default.ar_er }, "ar-il": { id: "ar-IL", text: n2.default.ar_il }, "ar-iq": { id: "ar-IQ", text: n2.default.ar_iq }, "ar-jo": { id: "ar-JO", text: n2.default.ar_jo }, "ar-km": { id: "ar-KM", text: n2.default.ar_km }, "ar-kw": { id: "ar-KW", text: n2.default.ar_kw }, "ar-lb": { id: "ar-LB", text: n2.default.ar_lb }, "ar-ly": { id: "ar-LY", text: n2.default.ar_ly }, "ar-ma": { id: "ar-MA", text: n2.default.ar_ma }, "ar-mr": { id: "ar-MR", text: n2.default.ar_mr }, "ar-om": { id: "ar-OM", text: n2.default.ar_om }, "ar-ps": { id: "ar-PS", text: n2.default.ar_ps }, "ar-qa": { id: "ar-QA", text: n2.default.ar_qa }, "ar-sa": { id: "ar-SA", text: n2.default.ar_sa }, "ar-sd": { id: "ar-SD", text: n2.default.ar_sd }, "ar-so": { id: "ar-SO", text: n2.default.ar_so }, "ar-sy": { id: "ar-SY", text: n2.default.ar_sy }, "ar-td": { id: "ar-TD", text: n2.default.ar_td }, "ar-tn": { id: "ar-TN", text: n2.default.ar_tn }, "ar-ye": { id: "ar-YE", text: n2.default.ar_ye }, "arn-cl": { id: "arn-CL", text: n2.default.arn_cl }, as: { id: "as", text: n2.default.as }, "as-in": { id: "as-IN", text: n2.default.as_in }, asa: { id: "asa", text: n2.default.asa }, "asa-tz": { id: "asa-TZ", text: n2.default.asa_tz }, az: { id: "az", text: n2.default.az }, "az-cyrl": { id: "az-Cyrl", text: n2.default.az_cyrl }, "az-cyrl-az": { id: "az-Cyrl-AZ", text: n2.default.az_cyrl_az }, "az-latn": { id: "az-Latn", text: n2.default.az_latn }, "az-latn-az": { id: "az-Latn-AZ", text: n2.default.az_latn_az }, "ba-ru": { id: "ba-RU", text: n2.default.ba_ru }, bas: { id: "bas", text: n2.default.bas }, "bas-cm": { id: "bas-CM", text: n2.default.bas_cm }, be: { id: "be", text: n2.default.be }, "be-by": { id: "be-BY", text: n2.default.be_by }, bem: { id: "bem", text: n2.default.bem }, "bem-zm": { id: "bem-ZM", text: n2.default.bem_zm }, bez: { id: "bez", text: n2.default.bez }, "bez-tz": { id: "bez-TZ", text: n2.default.bez_tz }, bg: { id: "bg", text: n2.default.bg }, "bg-bg": { id: "bg-BG", text: n2.default.bg_bg }, bm: { id: "bm", text: n2.default.bm }, "bm-ml": { id: "bm-ML", text: n2.default.bm_ml }, bn: { id: "bn", text: n2.default.bn }, "bn-bd": { id: "bn-BD", text: n2.default.bn_bd }, "bn-in": { id: "bn-IN", text: n2.default.bn_in }, bo: { id: "bo", text: n2.default.bo }, "bo-cn": { id: "bo-CN", text: n2.default.bo_cn }, "bo-in": { id: "bo-IN", text: n2.default.bo_in }, br: { id: "br", text: n2.default.br }, "br-fr": { id: "br-FR", text: n2.default.br_fr }, bs: { id: "bs", text: n2.default.bs }, "bs-cyrl": { id: "bs-Cyrl", text: n2.default.bs_cyrl }, "bs-cyrl-ba": { id: "bs-Cyrl-BA", text: n2.default.bs_cyrl_ba }, "bs-latn": { id: "bs-Latn", text: n2.default.bs_latn }, "bs-latn-ba": { id: "bs-Latn-BA", text: n2.default.bs_latn_ba }, ca: { id: "ca", text: n2.default.ca }, "ca-ad": { id: "ca-AD", text: n2.default.ca_ad }, "ca-es": { id: "ca-ES", text: n2.default.ca_es }, cgg: { id: "cgg", text: n2.default.cgg }, "cgg-ug": { id: "cgg-UG", text: n2.default.cgg_ug }, chr: { id: "chr", text: n2.default.chr }, "chr-us": { id: "chr-US", text: n2.default.chr_us }, "co-fr": { id: "co-FR", text: n2.default.co_fr }, cs: { id: "cs", text: n2.default.cs }, "cs-cz": { id: "cs-CZ", text: n2.default.cs_cz }, cy: { id: "cy", text: n2.default.cy }, "cy-gb": { id: "cy-GB", text: n2.default.cy_gb }, da: { id: "da", text: n2.default.da }, "da-dk": { id: "da-DK", isAutomateFlowCreateSuggestion: true, text: n2.default.da_dk }, dav: { id: "dav", text: n2.default.dav }, "dav-ke": { id: "dav-KE", text: n2.default.dav_ke }, de: { id: "de", text: n2.default.de }, "de-at": { id: "de-AT", text: n2.default.de_at, fallback: "de-DE" }, "de-be": { id: "de-BE", text: n2.default.de_be }, "de-ch": { id: "de-CH", text: n2.default.de_ch, fallback: "de-DE" }, "de-de": { id: "de-DE", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.de_de, isAutomateFlowCreateSuggestion: true, supported: true }, "de-li": { id: "de-LI", text: n2.default.de_li, fallback: "de-DE" }, "de-lu": { id: "de-LU", text: n2.default.de_lu, fallback: "de-DE" }, dje: { id: "dje", text: n2.default.dje }, "dje-ne": { id: "dje-NE", text: n2.default.dje_ne }, "dsb-de": { id: "dsb-DE", text: n2.default.dsb_de }, dua: { id: "dua", text: n2.default.dua }, "dua-cm": { id: "dua-CM", text: n2.default.dua_cm }, "dv-mv": { id: "dv-MV", text: n2.default.dv_mv }, dyo: { id: "dyo", text: n2.default.dyo }, "dyo-sn": { id: "dyo-SN", text: n2.default.dyo_sn }, dz: { id: "dz", text: n2.default.dz }, "dz-bt": { id: "dz-BT", text: n2.default.dz_bt }, ebu: { id: "ebu", text: n2.default.ebu }, "ebu-ke": { id: "ebu-KE", text: n2.default.ebu_ke }, ee: { id: "ee", text: n2.default.ee }, "ee-gh": { id: "ee-GH", text: n2.default.ee_gh }, "ee-tg": { id: "ee-TG", text: n2.default.ee_tg }, el: { id: "el", text: n2.default.el }, "el-cy": { id: "el-CY", text: n2.default.el_cy }, "el-gr": { id: "el-GR", text: n2.default.el_gr }, en: { id: "en", text: n2.default.en }, "en-029": { id: "en-029", text: n2.default.en_029, fallback: "en-US" }, "en-150": { id: "en-150", text: n2.default.en_150 }, "en-ag": { id: "en-AG", text: n2.default.en_ag }, "en-as": { id: "en-AS", text: n2.default.en_as }, "en-au": { id: "en-AU", text: n2.default.en_au, needsServerInfo: true, hasFlowCreationTTS: true, hasFlowDebugTTS: true, isAutomateFlowCreateSuggestion: true, supported: true }, "en-bb": { id: "en-BB", text: n2.default.en_bb }, "en-be": { id: "en-BE", text: n2.default.en_be }, "en-bm": { id: "en-BM", text: n2.default.en_bm }, "en-bs": { id: "en-BS", text: n2.default.en_bs }, "en-bw": { id: "en-BW", text: n2.default.en_bw }, "en-bz": { id: "en-BZ", text: n2.default.en_bz, fallback: "en-US" }, "en-ca": { id: "en-CA", text: n2.default.en_ca, fallback: "en-US" }, "en-cm": { id: "en-CM", text: n2.default.en_cm }, "en-dm": { id: "en-DM", text: n2.default.en_dm }, "en-fj": { id: "en-FJ", text: n2.default.en_fj }, "en-fm": { id: "en-FM", text: n2.default.en_fm }, "en-gb": { id: "en-GB", text: n2.default.en_gb, needsServerInfo: true, hasFlowCreationTTS: true, hasFlowDebugTTS: true, isAutomateFlowCreateSuggestion: true, supported: true }, "en-gb-wls": { id: "en-GB-WLS", text: n2.default.en_gb_wls }, "en-gd": { id: "en-GD", text: n2.default.en_gd }, "en-gg": { id: "en-GG", text: n2.default.en_gg }, "en-gh": { id: "en-GH", text: n2.default.en_gh }, "en-gi": { id: "en-GI", text: n2.default.en_gi }, "en-gm": { id: "en-GM", text: n2.default.en_gm }, "en-gu": { id: "en-GU", text: n2.default.en_gu }, "en-gy": { id: "en-GY", text: n2.default.en_gy }, "en-hk": { id: "en-HK", text: n2.default.en_hk }, "en-ie": { id: "en-IE", text: n2.default.en_ie, fallback: "en-US" }, "en-im": { id: "en-IM", text: n2.default.en_im }, "en-in": { id: "en-IN", text: n2.default.en_in, fallback: "en-US" }, "en-je": { id: "en-JE", text: n2.default.en_je }, "en-jm": { id: "en-JM", text: n2.default.en_jm, fallback: "en-US" }, "en-ke": { id: "en-KE", text: n2.default.en_ke }, "en-ki": { id: "en-KI", text: n2.default.en_ki }, "en-kn": { id: "en-KN", text: n2.default.en_kn }, "en-ky": { id: "en-KY", text: n2.default.en_ky }, "en-lc": { id: "en-LC", text: n2.default.en_lc }, "en-lr": { id: "en-LR", text: n2.default.en_lr }, "en-ls": { id: "en-LS", text: n2.default.en_ls }, "en-mg": { id: "en-MG", text: n2.default.en_mg }, "en-mh": { id: "en-MH", text: n2.default.en_mh }, "en-mp": { id: "en-MP", text: n2.default.en_mp }, "en-mt": { id: "en-MT", text: n2.default.en_mt }, "en-mu": { id: "en-MU", text: n2.default.en_mu }, "en-mw": { id: "en-MW", text: n2.default.en_mw }, "en-my": { id: "en-MY", text: n2.default.en_my, fallback: "en-US" }, "en-na": { id: "en-NA", text: n2.default.en_na }, "en-ng": { id: "en-NG", text: n2.default.en_ng }, "en-nz": { id: "en-NZ", text: n2.default.en_nz, supported: true }, "en-pg": { id: "en-PG", text: n2.default.en_pg }, "en-ph": { id: "en-PH", text: n2.default.en_ph, fallback: "en-US" }, "en-pk": { id: "en-PK", text: n2.default.en_pk }, "en-pr": { id: "en-PR", text: n2.default.en_pr }, "en-pw": { id: "en-PW", text: n2.default.en_pw }, "en-sb": { id: "en-SB", text: n2.default.en_sb }, "en-sc": { id: "en-SC", text: n2.default.en_sc }, "en-sg": { id: "en-SG", text: n2.default.en_sg, fallback: "en-US" }, "en-sl": { id: "en-SL", text: n2.default.en_sl }, "en-ss": { id: "en-SS", text: n2.default.en_ss }, "en-sz": { id: "en-SZ", text: n2.default.en_sz }, "en-tc": { id: "en-TC", text: n2.default.en_tc }, "en-to": { id: "en-TO", text: n2.default.en_to }, "en-tt": { id: "en-TT", text: n2.default.en_tt, fallback: "en-US" }, "en-tz": { id: "en-TZ", text: n2.default.en_tz }, "en-ug": { id: "en-UG", text: n2.default.en_ug }, "en-um": { id: "en-UM", text: n2.default.en_um }, "en-us": { id: "en-US", needsServerInfo: true, hasFlowCreationTTS: true, hasFlowDebugTTS: true, text: n2.default.en_us, isAutomateFlowCreateSuggestion: true, supported: true }, "en-vc": { id: "en-VC", text: n2.default.en_vc }, "en-vg": { id: "en-VG", text: n2.default.en_vg }, "en-vi": { id: "en-VI", text: n2.default.en_vi }, "en-vu": { id: "en-VU", text: n2.default.en_vu }, "en-ws": { id: "en-WS", text: n2.default.en_ws }, "en-za": { id: "en-ZA", text: n2.default.en_za, fallback: "en-US" }, "en-zm": { id: "en-ZM", text: n2.default.en_zm }, "en-zw": { id: "en-ZW", text: n2.default.en_zw, fallback: "en-US" }, eo: { id: "eo", text: n2.default.eo }, es: { id: "es", text: n2.default.es }, "es-419": { id: "es-419", text: n2.default.es_419 }, "es-ar": { id: "es-AR", text: n2.default.es_ar, fallback: "es-US" }, "es-bo": { id: "es-BO", text: n2.default.es_bo, fallback: "es-US" }, "es-cl": { id: "es-CL", text: n2.default.es_cl, fallback: "es-US" }, "es-co": { id: "es-CO", text: n2.default.es_co }, "es-cr": { id: "es-CR", text: n2.default.es_cr, fallback: "es-US" }, "es-cu": { id: "es-CU", text: n2.default.es_cu }, "es-do": { id: "es-DO", text: n2.default.es_do, fallback: "es-US" }, "es-ea": { id: "es-EA", text: n2.default.es_ea }, "es-ec": { id: "es-EC", text: n2.default.es_ec, fallback: "es-US" }, "es-es": { id: "es-ES", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.es_es, isAutomateFlowCreateSuggestion: true, supported: true }, "es-gq": { id: "es-GQ", text: n2.default.es_gq }, "es-gt": { id: "es-GT", text: n2.default.es_gt, fallback: "es-US" }, "es-hn": { id: "es-HN", text: n2.default.es_hn, fallback: "es-US" }, "es-ic": { id: "es-IC", text: n2.default.es_ic }, "es-mx": { id: "es-MX", text: n2.default.es_mx, fallback: "es-US" }, "es-ni": { id: "es-NI", text: n2.default.es_ni, fallback: "es-US" }, "es-pa": { id: "es-PA", text: n2.default.es_pa, fallback: "es-US" }, "es-pe": { id: "es-PE", text: n2.default.es_pe }, "es-ph": { id: "es-PH", text: n2.default.es_ph }, "es-pr": { id: "es-PR", text: n2.default.es_pr, fallback: "es-US" }, "es-py": { id: "es-PY", text: n2.default.es_py, fallback: "es-US" }, "es-sv": { id: "es-SV", text: n2.default.es_sv, fallback: "es-US" }, "es-us": { id: "es-US", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.es_us, isAutomateFlowCreateSuggestion: true, supported: true }, "es-uy": { id: "es-UY", text: n2.default.es_uy, fallback: "es-US" }, "es-ve": { id: "es-VE", text: n2.default.es_ve, fallback: "es-US" }, et: { id: "et", text: n2.default.et }, "et-ee": { id: "et-EE", text: n2.default.et_ee }, eu: { id: "eu", text: n2.default.eu }, "eu-es": { id: "eu-ES", text: n2.default.eu_es }, ewo: { id: "ewo", text: n2.default.ewo }, "ewo-cm": { id: "ewo-CM", text: n2.default.ewo_cm }, fa: { id: "fa", text: n2.default.fa }, "fa-af": { id: "fa-AF", text: n2.default.fa_af }, "fa-ir": { id: "fa-IR", text: n2.default.fa_ir }, ff: { id: "ff", text: n2.default.ff }, "ff-sn": { id: "ff-SN", text: n2.default.ff_sn }, fi: { id: "fi", text: n2.default.fi }, "fi-fi": { id: "fi-FI", isAutomateFlowCreateSuggestion: true, text: n2.default.fi_fi }, fil: { id: "fil", text: n2.default.fil }, "fil-ph": { id: "fil-PH", text: n2.default.fil_ph }, fo: { id: "fo", text: n2.default.fo }, "fo-fo": { id: "fo-FO", text: n2.default.fo_fo }, fr: { id: "fr", text: n2.default.fr }, "fr-be": { id: "fr-BE", text: n2.default.fr_be, fallback: "fr-FR" }, "fr-bf": { id: "fr-BF", text: n2.default.fr_bf }, "fr-bi": { id: "fr-BI", text: n2.default.fr_bi }, "fr-bj": { id: "fr-BJ", text: n2.default.fr_bj }, "fr-bl": { id: "fr-BL", text: n2.default.fr_bl }, "fr-ca": { id: "fr-CA", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.fr_ca, isAutomateFlowCreateSuggestion: true, supported: true }, "fr-cd": { id: "fr-CD", text: n2.default.fr_cd }, "fr-cf": { id: "fr-CF", text: n2.default.fr_cf }, "fr-cg": { id: "fr-CG", text: n2.default.fr_cg }, "fr-ch": { id: "fr-CH", text: n2.default.fr_ch, fallback: "fr-FR" }, "fr-ci": { id: "fr-CI", text: n2.default.fr_ci }, "fr-cm": { id: "fr-CM", text: n2.default.fr_cm }, "fr-dj": { id: "fr-DJ", text: n2.default.fr_dj }, "fr-dz": { id: "fr-DZ", text: n2.default.fr_dz }, "fr-fr": { id: "fr-FR", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.fr_fr, isAutomateFlowCreateSuggestion: true, supported: true }, "fr-ga": { id: "fr-GA", text: n2.default.fr_ga }, "fr-gf": { id: "fr-GF", text: n2.default.fr_gf }, "fr-gn": { id: "fr-GN", text: n2.default.fr_gn }, "fr-gp": { id: "fr-GP", text: n2.default.fr_gp }, "fr-gq": { id: "fr-GQ", text: n2.default.fr_gq }, "fr-ht": { id: "fr-HT", text: n2.default.fr_ht }, "fr-km": { id: "fr-KM", text: n2.default.fr_km }, "fr-lu": { id: "fr-LU", text: n2.default.fr_lu, fallback: "fr-FR" }, "fr-ma": { id: "fr-MA", text: n2.default.fr_ma }, "fr-mc": { id: "fr-MC", text: n2.default.fr_mc, fallback: "fr-FR" }, "fr-mf": { id: "fr-MF", text: n2.default.fr_mf }, "fr-mg": { id: "fr-MG", text: n2.default.fr_mg }, "fr-ml": { id: "fr-ML", text: n2.default.fr_ml }, "fr-mq": { id: "fr-MQ", text: n2.default.fr_mq }, "fr-mr": { id: "fr-MR", text: n2.default.fr_mr }, "fr-mu": { id: "fr-MU", text: n2.default.fr_mu }, "fr-nc": { id: "fr-NC", text: n2.default.fr_nc }, "fr-ne": { id: "fr-NE", text: n2.default.fr_ne }, "fr-pf": { id: "fr-PF", text: n2.default.fr_pf }, "fr-re": { id: "fr-RE", text: n2.default.fr_re }, "fr-rw": { id: "fr-RW", text: n2.default.fr_rw }, "fr-sc": { id: "fr-SC", text: n2.default.fr_sc }, "fr-sn": { id: "fr-SN", text: n2.default.fr_sn }, "fr-sy": { id: "fr-SY", text: n2.default.fr_sy }, "fr-td": { id: "fr-TD", text: n2.default.fr_td }, "fr-tg": { id: "fr-TG", text: n2.default.fr_tg }, "fr-tn": { id: "fr-TN", text: n2.default.fr_tn }, "fr-vu": { id: "fr-VU", text: n2.default.fr_vu }, "fr-yt": { id: "fr-YT", text: n2.default.fr_yt }, "fy-nl": { id: "fy-NL", text: n2.default.fy_nl }, ga: { id: "ga", text: n2.default.ga }, "ga-ie": { id: "ga-IE", text: n2.default.ga_ie }, "gd-gb": { id: "gd-GB", text: n2.default.gd_gb }, gl: { id: "gl", text: n2.default.gl }, "gl-es": { id: "gl-ES", text: n2.default.gl_es }, gsw: { id: "gsw", text: n2.default.gsw }, "gsw-ch": { id: "gsw-CH", text: n2.default.gsw_ch }, "gsw-fr": { id: "gsw-FR", text: n2.default.gsw_fr }, gu: { id: "gu", text: n2.default.gu }, "gu-in": { id: "gu-IN", text: n2.default.gu_in }, guz: { id: "guz", text: n2.default.guz }, "guz-ke": { id: "guz-KE", text: n2.default.guz_ke }, gv: { id: "gv", text: n2.default.gv }, "gv-gb": { id: "gv-GB", text: n2.default.gv_gb }, ha: { id: "ha", text: n2.default.ha }, "ha-latn": { id: "ha-Latn", text: n2.default.ha_latn }, "ha-latn-gh": { id: "ha-Latn-GH", text: n2.default.ha_latn_gh }, "ha-latn-ne": { id: "ha-Latn-NE", text: n2.default.ha_latn_ne }, "ha-latn-ng": { id: "ha-Latn-NG", text: n2.default.ha_latn_ng }, "ha-ng": { id: "ha-NG", text: n2.default.ha_ng }, haw: { id: "haw", text: n2.default.haw }, "haw-us": { id: "haw-US", text: n2.default.haw_us }, he: { id: "he", text: n2.default.he }, "he-il": { id: "he-IL", text: n2.default.he_il }, hi: { id: "hi", text: n2.default.hi }, "hi-in": { id: "hi-IN", text: n2.default.hi_in }, hr: { id: "hr", text: n2.default.hr }, "hr-ba": { id: "hr-BA", text: n2.default.hr_ba }, "hr-hr": { id: "hr-HR", text: n2.default.hr_hr }, "hsb-de": { id: "hsb-DE", text: n2.default.hsb_de }, hu: { id: "hu", text: n2.default.hu }, "hu-hu": { id: "hu-HU", text: n2.default.hu_hu }, hy: { id: "hy", text: n2.default.hy }, "hy-am": { id: "hy-AM", text: n2.default.hy_am }, id: { id: "id", text: n2.default.id }, "id-id": { id: "id-ID", text: n2.default.id_id }, ig: { id: "ig", text: n2.default.ig }, "ig-ng": { id: "ig-NG", text: n2.default.ig_ng }, ii: { id: "ii", text: n2.default.ii }, "ii-cn": { id: "ii-CN", text: n2.default.ii_cn }, is: { id: "is", text: n2.default.is }, "is-is": { id: "is-IS", text: n2.default.is_is }, it: { id: "it", text: n2.default.it }, "it-ch": { id: "it-CH", text: n2.default.it_ch }, "it-it": { id: "it-IT", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.it_it, isAutomateFlowCreateSuggestion: true, supported: true }, "it-sm": { id: "it-SM", text: n2.default.it_sm }, ja: { id: "ja", text: n2.default.ja }, "ja-jp": { id: "ja-JP", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.ja_jp, isAutomateFlowCreateSuggestion: true, supported: true }, jgo: { id: "jgo", text: n2.default.jgo }, "jgo-cm": { id: "jgo-CM", text: n2.default.jgo_cm }, jmc: { id: "jmc", text: n2.default.jmc }, "jmc-tz": { id: "jmc-TZ", text: n2.default.jmc_tz }, ka: { id: "ka", text: n2.default.ka }, "ka-ge": { id: "ka-GE", text: n2.default.ka_ge }, kab: { id: "kab", text: n2.default.kab }, "kab-dz": { id: "kab-DZ", text: n2.default.kab_dz }, kam: { id: "kam", text: n2.default.kam }, "kam-ke": { id: "kam-KE", text: n2.default.kam_ke }, kde: { id: "kde", text: n2.default.kde }, "kde-tz": { id: "kde-TZ", text: n2.default.kde_tz }, kea: { id: "kea", text: n2.default.kea }, "kea-cv": { id: "kea-CV", text: n2.default.kea_cv }, khq: { id: "khq", text: n2.default.khq }, "khq-ml": { id: "khq-ML", text: n2.default.khq_ml }, ki: { id: "ki", text: n2.default.ki }, "ki-ke": { id: "ki-KE", text: n2.default.ki_ke }, kk: { id: "kk", text: n2.default.kk }, "kk-cyrl": { id: "kk-Cyrl", text: n2.default.kk_cyrl }, "kk-cyrl-kz": { id: "kk-Cyrl-KZ", text: n2.default.kk_cyrl_kz }, "kk-kz": { id: "kk-KZ", text: n2.default.kk_kz }, kl: { id: "kl", text: n2.default.kl }, "kl-gl": { id: "kl-GL", text: n2.default.kl_gl }, kln: { id: "kln", text: n2.default.kln }, "kln-ke": { id: "kln-KE", text: n2.default.kln_ke }, km: { id: "km", text: n2.default.km }, "km-kh": { id: "km-KH", text: n2.default.km_kh }, kn: { id: "kn", text: n2.default.kn }, "kn-in": { id: "kn-IN", text: n2.default.kn_in }, ko: { id: "ko", text: n2.default.ko }, "ko-kp": { id: "ko-KP", text: n2.default.ko_kp }, "ko-kr": { id: "ko-KR", hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, text: n2.default.ko_kr }, kok: { id: "kok", text: n2.default.kok }, "kok-in": { id: "kok-IN", text: n2.default.kok_in }, ks: { id: "ks", text: n2.default.ks }, "ks-arab": { id: "ks-Arab", text: n2.default.ks_arab }, "ks-arab-in": { id: "ks-Arab-IN", text: n2.default.ks_arab_in }, ksb: { id: "ksb", text: n2.default.ksb }, "ksb-tz": { id: "ksb-TZ", text: n2.default.ksb_tz }, ksf: { id: "ksf", text: n2.default.ksf }, "ksf-cm": { id: "ksf-CM", text: n2.default.ksf_cm }, kw: { id: "kw", text: n2.default.kw }, "kw-gb": { id: "kw-GB", text: n2.default.kw_gb }, "ky-kg": { id: "ky-KG", text: n2.default.ky_kg }, lag: { id: "lag", text: n2.default.lag }, "lag-tz": { id: "lag-TZ", text: n2.default.lag_tz }, "lb-lu": { id: "lb-LU", text: n2.default.lb_lu }, lg: { id: "lg", text: n2.default.lg }, "lg-ug": { id: "lg-UG", text: n2.default.lg_ug }, ln: { id: "ln", text: n2.default.ln }, "ln-ao": { id: "ln-AO", text: n2.default.ln_ao }, "ln-cd": { id: "ln-CD", text: n2.default.ln_cd }, "ln-cf": { id: "ln-CF", text: n2.default.ln_cf }, "ln-cg": { id: "ln-CG", text: n2.default.ln_cg }, lo: { id: "lo", text: n2.default.lo }, "lo-la": { id: "lo-LA", text: n2.default.lo_la }, lt: { id: "lt", text: n2.default.lt }, "lt-lt": { id: "lt-LT", text: n2.default.lt_lt }, lu: { id: "lu", text: n2.default.lu }, "lu-cd": { id: "lu-CD", text: n2.default.lu_cd }, luo: { id: "luo", text: n2.default.luo }, "luo-ke": { id: "luo-KE", text: n2.default.luo_ke }, luy: { id: "luy", text: n2.default.luy }, "luy-ke": { id: "luy-KE", text: n2.default.luy_ke }, lv: { id: "lv", text: n2.default.lv }, "lv-lv": { id: "lv-LV", text: n2.default.lv_lv }, mas: { id: "mas", text: n2.default.mas }, "mas-ke": { id: "mas-KE", text: n2.default.mas_ke }, "mas-tz": { id: "mas-TZ", text: n2.default.mas_tz }, mer: { id: "mer", text: n2.default.mer }, "mer-ke": { id: "mer-KE", text: n2.default.mer_ke }, mfe: { id: "mfe", text: n2.default.mfe }, "mfe-mu": { id: "mfe-MU", text: n2.default.mfe_mu }, mg: { id: "mg", text: n2.default.mg }, "mg-mg": { id: "mg-MG", text: n2.default.mg_mg }, mgh: { id: "mgh", text: n2.default.mgh }, "mgh-mz": { id: "mgh-MZ", text: n2.default.mgh_mz }, mgo: { id: "mgo", text: n2.default.mgo }, "mgo-cm": { id: "mgo-CM", text: n2.default.mgo_cm }, "mi-nz": { id: "mi-NZ", text: n2.default.mi_nz }, mk: { id: "mk", text: n2.default.mk }, "mk-mk": { id: "mk-MK", text: n2.default.mk_mk }, ml: { id: "ml", text: n2.default.ml }, "ml-in": { id: "ml-IN", text: n2.default.ml_in }, "mn-cn": { id: "mn-CN", text: n2.default.mn_cn }, "mn-mn": { id: "mn-MN", text: n2.default.mn_mn }, "moh-ca": { id: "moh-CA", text: n2.default.moh_ca }, mr: { id: "mr", text: n2.default.mr }, "mr-in": { id: "mr-IN", text: n2.default.mr_in }, ms: { id: "ms", text: n2.default.ms }, "ms-bn": { id: "ms-BN", text: n2.default.ms_bn }, "ms-my": { id: "ms-MY", text: n2.default.ms_my }, "ms-sg": { id: "ms-SG", text: n2.default.ms_sg }, mt: { id: "mt", text: n2.default.mt }, "mt-mt": { id: "mt-MT", text: n2.default.mt_mt }, mua: { id: "mua", text: n2.default.mua }, "mua-cm": { id: "mua-CM", text: n2.default.mua_cm }, my: { id: "my", text: n2.default.my }, "my-mm": { id: "my-MM", text: n2.default.my_mm }, naq: { id: "naq", text: n2.default.naq }, "naq-na": { id: "naq-NA", text: n2.default.naq_na }, nb: { id: "nb", text: n2.default.nb }, "nb-no": { id: "nb-NO", needsServerInfo: true, text: n2.default.nb_no, hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, supported: true }, nd: { id: "nd", text: n2.default.nd }, "nd-zw": { id: "nd-ZW", text: n2.default.nd_zw }, ne: { id: "ne", text: n2.default.ne }, "ne-in": { id: "ne-IN", text: n2.default.ne_in }, "ne-np": { id: "ne-NP", text: n2.default.ne_np }, nl: { id: "nl", text: n2.default.nl }, "nl-aw": { id: "nl-AW", text: n2.default.nl_aw }, "nl-be": { id: "nl-BE", text: n2.default.nl_be, fallback: "nl-NL" }, "nl-cw": { id: "nl-CW", text: n2.default.nl_cw }, "nl-nl": { id: "nl-NL", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.nl_nl, isAutomateFlowCreateSuggestion: true, supported: true }, "nl-sr": { id: "nl-SR", text: n2.default.nl_sr }, nmg: { id: "nmg", text: n2.default.nmg }, "nmg-cm": { id: "nmg-CM", text: n2.default.nmg_cm }, nn: { id: "nn", text: n2.default.nn }, "nn-no": { id: "nn-NO", text: n2.default.nn_no }, no: { id: "no", text: n2.default.no }, "nso-za": { id: "nso-ZA", text: n2.default.nso_za }, nus: { id: "nus", text: n2.default.nus }, "nus-sd": { id: "nus-SD", text: n2.default.nus_sd }, nyn: { id: "nyn", text: n2.default.nyn }, "nyn-ug": { id: "nyn-UG", text: n2.default.nyn_ug }, "oc-fr": { id: "oc-FR", text: n2.default.oc_fr }, om: { id: "om", text: n2.default.om }, "om-et": { id: "om-ET", text: n2.default.om_et }, "om-ke": { id: "om-KE", text: n2.default.om_ke }, or: { id: "or", text: n2.default.or }, "or-in": { id: "or-IN", text: n2.default.or_in }, pa: { id: "pa", text: n2.default.pa }, "pa-arab": { id: "pa-Arab", text: n2.default.pa_arab }, "pa-arab-pk": { id: "pa-Arab-PK", text: n2.default.pa_arab_pk }, "pa-guru": { id: "pa-Guru", text: n2.default.pa_guru }, "pa-guru-in": { id: "pa-Guru-IN", text: n2.default.pa_guru_in }, "pa-in": { id: "pa-IN", text: n2.default.pa_in }, pl: { id: "pl", text: n2.default.pl }, "pl-pl": { id: "pl-PL", hasFlowCreationTTS: true, text: n2.default.pl_pl }, "prs-af": { id: "prs-AF", text: n2.default.prs_af }, ps: { id: "ps", text: n2.default.ps }, "ps-af": { id: "ps-AF", text: n2.default.ps_af }, pt: { id: "pt", text: n2.default.pt }, "pt-ao": { id: "pt-AO", text: n2.default.pt_ao }, "pt-br": { id: "pt-BR", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.pt_br, isAutomateFlowCreateSuggestion: true, supported: true }, "pt-cv": { id: "pt-CV", text: n2.default.pt_cv }, "pt-gw": { id: "pt-GW", text: n2.default.pt_gw }, "pt-mo": { id: "pt-MO", text: n2.default.pt_mo }, "pt-mz": { id: "pt-MZ", text: n2.default.pt_mz }, "pt-pt": { id: "pt-PT", text: n2.default.pt_pt, supported: true }, "pt-st": { id: "pt-ST", text: n2.default.pt_st }, "pt-tl": { id: "pt-TL", text: n2.default.pt_tl }, "qut-gt": { id: "qut-GT", text: n2.default.qut_gt }, "quz-bo": { id: "quz-BO", text: n2.default.quz_bo }, "quz-ec": { id: "quz-EC", text: n2.default.quz_ec }, "quz-pe": { id: "quz-PE", text: n2.default.quz_pe }, rm: { id: "rm", text: n2.default.rm }, "rm-ch": { id: "rm-CH", text: n2.default.rm_ch }, rn: { id: "rn", text: n2.default.rn }, "rn-bi": { id: "rn-BI", text: n2.default.rn_bi }, ro: { id: "ro", text: n2.default.ro }, "ro-md": { id: "ro-MD", text: n2.default.ro_md }, "ro-ro": { id: "ro-RO", text: n2.default.ro_ro }, rof: { id: "rof", text: n2.default.rof }, "rof-tz": { id: "rof-TZ", text: n2.default.rof_tz }, ru: { id: "ru", text: n2.default.ru }, "ru-by": { id: "ru-BY", text: n2.default.ru_by }, "ru-kg": { id: "ru-KG", text: n2.default.ru_kg }, "ru-kz": { id: "ru-KZ", text: n2.default.ru_kz }, "ru-md": { id: "ru-MD", text: n2.default.ru_md }, "ru-ru": { id: "ru-RU", text: n2.default.ru_ru }, "ru-ua": { id: "ru-UA", text: n2.default.ru_ua }, rw: { id: "rw", text: n2.default.rw }, "rw-rw": { id: "rw-RW", text: n2.default.rw_rw }, rwk: { id: "rwk", text: n2.default.rwk }, "rwk-tz": { id: "rwk-TZ", text: n2.default.rwk_tz }, "sa-in": { id: "sa-IN", text: n2.default.sa_in }, "sah-ru": { id: "sah-RU", text: n2.default.sah_ru }, saq: { id: "saq", text: n2.default.saq }, "saq-ke": { id: "saq-KE", text: n2.default.saq_ke }, sbp: { id: "sbp", text: n2.default.sbp }, "sbp-tz": { id: "sbp-TZ", text: n2.default.sbp_tz }, "se-fi": { id: "se-FI", text: n2.default.se_fi }, "se-no": { id: "se-NO", text: n2.default.se_no }, "se-se": { id: "se-SE", text: n2.default.se_se }, seh: { id: "seh", text: n2.default.seh }, "seh-mz": { id: "seh-MZ", text: n2.default.seh_mz }, ses: { id: "ses", text: n2.default.ses }, "ses-ml": { id: "ses-ML", text: n2.default.ses_ml }, sg: { id: "sg", text: n2.default.sg }, "sg-cf": { id: "sg-CF", text: n2.default.sg_cf }, shi: { id: "shi", text: n2.default.shi }, "shi-latn": { id: "shi-Latn", text: n2.default.shi_latn }, "shi-latn-ma": { id: "shi-Latn-MA", text: n2.default.shi_latn_ma }, "shi-tfng": { id: "shi-Tfng", text: n2.default.shi_tfng }, "shi-tfng-ma": { id: "shi-Tfng-MA", text: n2.default.shi_tfng_ma }, si: { id: "si", text: n2.default.si }, "si-lk": { id: "si-LK", text: n2.default.si_lk }, sk: { id: "sk", text: n2.default.sk }, "sk-sk": { id: "sk-SK", text: n2.default.sk_sk }, sl: { id: "sl", text: n2.default.sl }, "sl-si": { id: "sl-SI", text: n2.default.sl_si }, "sma-no": { id: "sma-NO", text: n2.default.sma_no }, "sma-se": { id: "sma-SE", text: n2.default.sma_se }, "smj-no": { id: "smj-NO", text: n2.default.smj_no }, "smj-se": { id: "smj-SE", text: n2.default.smj_se }, "smn-fi": { id: "smn-FI", text: n2.default.smn_fi }, "sms-fi": { id: "sms-FI", text: n2.default.sms_fi }, sn: { id: "sn", text: n2.default.sn }, "sn-zw": { id: "sn-ZW", text: n2.default.sn_zw }, so: { id: "so", text: n2.default.so }, "so-dj": { id: "so-DJ", text: n2.default.so_dj }, "so-et": { id: "so-ET", text: n2.default.so_et }, "so-ke": { id: "so-KE", text: n2.default.so_ke }, "so-so": { id: "so-SO", text: n2.default.so_so }, sq: { id: "sq", text: n2.default.sq }, "sq-al": { id: "sq-AL", text: n2.default.sq_al }, "sq-mk": { id: "sq-MK", text: n2.default.sq_mk }, sr: { id: "sr", text: n2.default.sr }, "sr-cyrl": { id: "sr-Cyrl", text: n2.default.sr_cyrl }, "sr-cyrl-ba": { id: "sr-Cyrl-BA", text: n2.default.sr_cyrl_ba }, "sr-cyrl-cs": { id: "sr-Cyrl-CS", text: n2.default.sr_cyrl_cs }, "sr-cyrl-me": { id: "sr-Cyrl-ME", text: n2.default.sr_cyrl_me }, "sr-cyrl-rs": { id: "sr-Cyrl-RS", text: n2.default.sr_cyrl_rs }, "sr-latn": { id: "sr-Latn", text: n2.default.sr_latn }, "sr-latn-ba": { id: "sr-Latn-BA", text: n2.default.sr_latn_ba }, "sr-latn-cs": { id: "sr-Latn-CS", text: n2.default.sr_latn_cs }, "sr-latn-me": { id: "sr-Latn-ME", text: n2.default.sr_latn_me }, "sr-latn-rs": { id: "sr-Latn-RS", text: n2.default.sr_latn_rs }, sv: { id: "sv", text: n2.default.sv }, "sv-fi": { id: "sv-FI", text: n2.default.sv_fi }, "sv-se": { id: "sv-SE", hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, text: n2.default.sv_se }, sw: { id: "sw", text: n2.default.sw }, "sw-ke": { id: "sw-KE", text: n2.default.sw_ke }, "sw-tz": { id: "sw-TZ", text: n2.default.sw_tz }, "sw-ug": { id: "sw-UG", text: n2.default.sw_ug }, swc: { id: "swc", text: n2.default.swc }, "swc-cd": { id: "swc-CD", text: n2.default.swc_cd }, "syr-sy": { id: "syr-SY", text: n2.default.syr_sy }, ta: { id: "ta", text: n2.default.ta }, "ta-in": { id: "ta-IN", text: n2.default.ta_in }, "ta-lk": { id: "ta-LK", text: n2.default.ta_lk }, "ta-my": { id: "ta-MY", text: n2.default.ta_my }, "ta-sg": { id: "ta-SG", text: n2.default.ta_sg }, te: { id: "te", text: n2.default.te }, "te-in": { id: "te-IN", text: n2.default.te_in }, teo: { id: "teo", text: n2.default.teo }, "teo-ke": { id: "teo-KE", text: n2.default.teo_ke }, "teo-ug": { id: "teo-UG", text: n2.default.teo_ug }, "tg-tj": { id: "tg-TJ", text: n2.default.tg_tj }, th: { id: "th", text: n2.default.th }, "th-th": { id: "th-TH", needsServerInfo: true, text: n2.default.th_th, isAutomateFlowCreateSuggestion: true, supported: true }, ti: { id: "ti", text: n2.default.ti }, "ti-er": { id: "ti-ER", text: n2.default.ti_er }, "ti-et": { id: "ti-ET", text: n2.default.ti_et }, "tk-tm": { id: "tk-TM", text: n2.default.tk_tm }, "tn-za": { id: "tn-ZA", text: n2.default.tn_za }, to: { id: "to", text: n2.default.to }, "to-to": { id: "to-TO", text: n2.default.to_to }, tr: { id: "tr", text: n2.default.tr }, "tr-cy": { id: "tr-CY", text: n2.default.tr_cy }, "tr-tr": { id: "tr-TR", hasFlowCreationTTS: true, text: n2.default.tr_tr }, "tt-ru": { id: "tt-RU", text: n2.default.tt_ru }, twq: { id: "twq", text: n2.default.twq }, "twq-ne": { id: "twq-NE", text: n2.default.twq_ne }, tzm: { id: "tzm", text: n2.default.tzm }, "tzm-dz": { id: "tzm-DZ", text: n2.default.tzm_dz }, "tzm-latn": { id: "tzm-Latn", text: n2.default.tzm_latn }, "tzm-latn-ma": { id: "tzm-Latn-MA", text: n2.default.tzm_latn_ma }, "ug-cn": { id: "ug-CN", text: n2.default.ug_cn }, uk: { id: "uk", text: n2.default.uk }, "uk-ua": { id: "uk-UA", text: n2.default.uk_ua }, ur: { id: "ur", text: n2.default.ur }, "ur-in": { id: "ur-IN", text: n2.default.ur_in }, "ur-pk": { id: "ur-PK", text: n2.default.ur_pk }, uz: { id: "uz", text: n2.default.uz }, "uz-arab": { id: "uz-Arab", text: n2.default.uz_arab }, "uz-arab-af": { id: "uz-Arab-AF", text: n2.default.uz_arab_af }, "uz-cyrl": { id: "uz-Cyrl", text: n2.default.uz_cyrl }, "uz-cyrl-uz": { id: "uz-Cyrl-UZ", text: n2.default.uz_cyrl_uz }, "uz-latn": { id: "uz-Latn", text: n2.default.uz_latn }, "uz-latn-uz": { id: "uz-Latn-UZ", text: n2.default.uz_latn_uz }, vai: { id: "vai", text: n2.default.vai }, "vai-latn": { id: "vai-Latn", text: n2.default.vai_latn }, "vai-latn-lr": { id: "vai-Latn-LR", text: n2.default.vai_latn_lr }, "vai-vaii": { id: "vai-Vaii", text: n2.default.vai_vaii }, "vai-vaii-lr": { id: "vai-Vaii-LR", text: n2.default.vai_vaii_lr }, vi: { id: "vi", text: n2.default.vi }, "vi-vn": { id: "vi-VN", text: n2.default.vi_vn }, vun: { id: "vun", text: n2.default.vun }, "vun-tz": { id: "vun-TZ", text: n2.default.vun_tz }, "wo-sn": { id: "wo-SN", text: n2.default.wo_sn }, yav: { id: "yav", text: n2.default.yav }, "yav-cm": { id: "yav-CM", text: n2.default.yav_cm }, yo: { id: "yo", text: n2.default.yo }, "yo-ng": { id: "yo-NG", text: n2.default.yo_ng }, zh: { id: "zh", text: n2.default.zh }, "zh-cn": { id: "zh-CN", hasFlowCreationTTS: true, text: n2.default.zh_cn, isAutomateFlowCreateSuggestion: true, supported: true }, "zh-hans": { id: "zh-Hans", needsServerInfo: true, hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, text: n2.default.zh_hans }, "zh-hans-cn": { id: "zh-Hans-CN", text: n2.default.zh_hans_cn }, "zh-hans-hk": { id: "zh-Hans-HK", text: n2.default.zh_hans_hk }, "zh-hans-mo": { id: "zh-Hans-MO", text: n2.default.zh_hans_mo }, "zh-hans-sg": { id: "zh-Hans-SG", text: n2.default.zh_hans_sg }, "zh-hant": { id: "zh-Hant", text: n2.default.zh_hant }, "zh-hant-hk": { id: "zh-Hant-HK", text: n2.default.zh_hant_hk }, "zh-hant-mo": { id: "zh-Hant-MO", text: n2.default.zh_hant_mo }, "zh-hant-tw": { id: "zh-Hant-TW", text: n2.default.zh_hant_tw }, "zh-hk": { id: "zh-HK", text: n2.default.zh_hk }, "zh-mo": { id: "zh-MO", text: n2.default.zh_mo }, "zh-sg": { id: "zh-SG", text: n2.default.zh_sg }, "zh-tw": { id: "zh-TW", text: n2.default.zh_tw }, zu: { id: "zu", text: n2.default.zu }, "zu-za": { id: "zu-ZA", text: n2.default.zu_za } }; - }, 12298: (e2, t2, i2) => { + t2._tr_init = function(e3) { + F || ((function() { + var e4, t3, i3, n3, o2, l2 = new Array(16); + for (i3 = 0, n3 = 0; n3 < 28; n3++) for (_[n3] = i3, e4 = 0; e4 < 1 << r[n3]; e4++) p[i3++] = n3; + for (p[i3 - 1] = n3, o2 = 0, n3 = 0; n3 < 16; n3++) for (f[n3] = o2, e4 = 0; e4 < 1 << a[n3]; e4++) d[o2++] = n3; + for (o2 >>= 7; n3 < 30; n3++) for (f[n3] = o2 << 7, e4 = 0; e4 < 1 << a[n3] - 7; e4++) d[256 + o2++] = 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 (C(u, 287, l2), e4 = 0; e4 < 30; e4++) c[2 * e4 + 1] = 5, c[2 * e4] = I(e4, 5); + h = new T(u, r, 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, O(e3); + }, t2._tr_stored_block = L, t2._tr_flush_block = function(e3, t3, i3, n3) { + var o2, r2, a2 = 0; + e3.level > 0 ? (2 === e3.strm.data_type && (e3.strm.data_type = (function(e4) { + var t4, i4 = 4093624447; + for (t4 = 0; t4 <= 31; t4++, i4 >>>= 1) if (1 & i4 && 0 !== e4.dyn_ltree[2 * t4]) return 0; + if (0 !== e4.dyn_ltree[18] || 0 !== e4.dyn_ltree[20] || 0 !== e4.dyn_ltree[26]) return 1; + for (t4 = 32; t4 < 256; t4++) if (0 !== e4.dyn_ltree[2 * t4]) return 1; + return 0; + })(e3)), D(e3, e3.l_desc), D(e3, e3.d_desc), a2 = (function(e4) { + 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), o2 = e3.opt_len + 3 + 7 >>> 3, (r2 = e3.static_len + 3 + 7 >>> 3) <= o2 && (o2 = r2)) : o2 = r2 = i3 + 5, i3 + 4 <= o2 && -1 !== t3 ? L(e3, t3, i3, n3) : 4 === e3.strategy || r2 === o2 ? (N(e3, 2 + (n3 ? 1 : 0), 3), R(e3, u, c)) : (N(e3, 4 + (n3 ? 1 : 0), 3), (function(e4, t4, i4, n4) { + var o3; + for (N(e4, t4 - 257, 5), N(e4, i4 - 1, 5), N(e4, n4 - 4, 4), o3 = 0; o3 < n4; o3++) N(e4, e4.bl_tree[2 * l[o3] + 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), R(e3, e3.dyn_ltree, e3.dyn_dtree)), O(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), 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); + }; + }, 44442(e2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyGeolocation"; - } - get country() { - } - get countryName() { - } - get latitude() { - } - get longitude() { - } - get locality() { - } - get postalCode() { - } - get region() { + e2.exports = function() { + this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0; + }; + }, 33231(e2) { + !(function(t2) { + "use strict"; + "function" == typeof bootstrap ? bootstrap("promise", t2) : e2.exports = t2(); + })(function() { + "use strict"; + var e3 = false; + try { + throw new Error(); + } catch (t3) { + e3 = !!t3.stack; } - get regionName() { + var t2, i2 = A(), n2 = function() { + }, o = (function() { + var e4 = { task: void 0, next: null }, t3 = e4, i3 = false, n3 = void 0, r2 = false; + function a2() { + for (; e4.next; ) { + var t4 = (e4 = e4.next).task; + e4.task = void 0; + var n4 = e4.domain; + n4 && (e4.domain = void 0, n4.enter()); + try { + t4(); + } catch (e5) { + if (r2) throw n4 && n4.exit(), setTimeout(a2, 0), n4 && n4.enter(), e5; + setTimeout(function() { + throw e5; + }, 0); + } + n4 && n4.exit(); + } + i3 = false; + } + if (o = function(e5) { + t3 = t3.next = { task: e5, domain: r2 && process.domain, next: null }, i3 || (i3 = true, n3()); + }, "undefined" != typeof process && process.nextTick) r2 = true, n3 = function() { + process.nextTick(a2); + }; + else if ("function" == typeof setImmediate) n3 = "undefined" != typeof window ? setImmediate.bind(window, a2) : function() { + setImmediate(a2); + }; + else if ("undefined" != typeof MessageChannel) { + var s2 = new MessageChannel(); + s2.port1.onmessage = function() { + n3 = l2, s2.port1.onmessage = a2, a2(); + }; + var l2 = function() { + s2.port2.postMessage(0); + }; + n3 = function() { + setTimeout(a2, 0), l2(); + }; + } else n3 = function() { + setTimeout(a2, 0); + }; + return o; + })(), r = Function.call; + function a(e4) { + return function() { + return r.apply(e4, arguments); + }; } - get source() { + var s, l = a(Array.prototype.slice), u = a(Array.prototype.reduce || function(e4, t3) { + var i3 = 0, n3 = this.length; + if (1 === arguments.length) for (; ; ) { + if (i3 in this) { + t3 = this[i3++]; + break; + } + if (++i3 >= n3) throw new TypeError(); + } + for (; i3 < n3; i3++) i3 in this && (t3 = e4(t3, this[i3], i3)); + return t3; + }), c = a(Array.prototype.indexOf || function(e4) { + for (var t3 = 0; t3 < this.length; t3++) if (this[t3] === e4) return t3; + return -1; + }), d = a(Array.prototype.map || function(e4, t3) { + var i3 = this, n3 = []; + return u(i3, function(o2, r2, a2) { + n3.push(e4.call(t3, r2, a2, i3)); + }, void 0), n3; + }), p = Object.create || function(e4) { + function t3() { + } + return t3.prototype = e4, new t3(); + }, _ = a(Object.prototype.hasOwnProperty), h = Object.keys || function(e4) { + var t3 = []; + for (var i3 in e4) _(e4, i3) && t3.push(i3); + return t3; + }, m = a(Object.prototype.toString); + s = "undefined" != typeof ReturnValue ? ReturnValue : function(e4) { + this.value = e4; + }; + var g = "From previous event:"; + function f(t3, i3) { + if (e3 && i3.stack && "object" == typeof t3 && null !== t3 && t3.stack && -1 === t3.stack.indexOf(g)) { + for (var n3 = [], o2 = i3; o2; o2 = o2.source) o2.stack && n3.unshift(o2.stack); + n3.unshift(t3.stack); + var r2 = n3.join("\n" + g + "\n"); + t3.stack = (function(e4) { + for (var t4 = e4.split("\n"), i4 = [], n4 = 0; n4 < t4.length; ++n4) { + var o3 = t4[n4]; + S(o3) || T(o3) || !o3 || i4.push(o3); + } + return i4.join("\n"); + })(r2); + } } - get timezone() { + function T(e4) { + return -1 !== e4.indexOf("(module.js:") || -1 !== e4.indexOf("(node.js:"); } - get displayTypeName() { - return "ArchValueJourneyGeolocation"; + function y(e4) { + var t3 = /at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e4); + if (t3) return [t3[1], Number(t3[2])]; + var i3 = /at ([^ ]+):(\d+):(?:\d+)$/.exec(e4); + if (i3) return [i3[1], Number(i3[2])]; + var n3 = /.*@(.+):(\d+)$/.exec(e4); + return n3 ? [n3[1], Number(n3[2])] : void 0; } - get isArchValueJourneyGeolocation() { - return true; + function S(e4) { + var n3 = y(e4); + if (!n3) return false; + var o2 = n3[0], r2 = n3[1]; + return o2 === t2 && r2 >= i2 && r2 <= q; } - } - t2.default = r2; - }, 12323: (e2, t2, i2) => { - const n2 = i2(24005), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _summarization: { writable: true }, _assignWrapupCodes: { writable: true }, _enabledWrapupCodes: { writable: true } }), this.conversationSummaryId = void 0, this.conversationSummaryName = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BotFlowVirtualAgentSettings"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.call(this, e3), this._summarization.pasteReIdOrRename(e3), this._assignWrapupCodes.pasteReIdOrRename(e3), this._enabledWrapupCodes.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.call(this, e3), this._summarization.pasteResolveOldToNewValues(e3), this._assignWrapupCodes.pasteResolveOldToNewValues(e3), this._enabledWrapupCodes.pasteResolveOldToNewValues(e3); - } }, summarization: { enumerable: true, get: function() { - return this._summarization; - }, set: function(e3) { - this._summarization = this.reviveItem(e3, r2); - } }, assignWrapupCodes: { enumerable: true, get: function() { - return this._assignWrapupCodes; - }, set: function(e3) { - this._assignWrapupCodes = this.reviveItem(e3, r2); - } }, enabledWrapupCodes: { enumerable: true, get: function() { - return this._enabledWrapupCodes; - }, set: function(e3) { - this._enabledWrapupCodes = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 12345: (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 A() { + if (e3) try { + throw new Error(); + } catch (e4) { + var i3 = e4.stack.split("\n"), n3 = y(i3[0].indexOf("@") > 0 ? i3[1] : i3[2]); + if (!n3) return; + return t2 = n3[0], n3[1]; + } } - get _globalTypeName() { - return "knowledgeBaseDocumentCollection"; + function N(e4) { + return e4 instanceof O ? e4 : R(e4) ? (function(e5) { + var t3 = v(); + return N.nextTick(function() { + try { + e5.then(t3.resolve, t3.reject, t3.notify); + } catch (e6) { + t3.reject(e6); + } + }), t3.promise; + })(e4) : k(e4); } - get displayTypeName() { - return "ArchVariableKnowledgeBaseDocumentCollection"; + function v() { + var t3, i3 = [], n3 = [], o2 = p(v.prototype), r2 = p(O.prototype); + if (r2.promiseDispatch = function(e4, o3, r3) { + var a3 = l(arguments); + i3 ? (i3.push(a3), "when" === o3 && r3[1] && n3.push(r3[1])) : N.nextTick(function() { + t3.promiseDispatch.apply(t3, a3); + }); + }, r2.valueOf = function() { + if (i3) return r2; + var e4 = E(t3); + return w(e4) && (t3 = e4), e4; + }, r2.inspect = function() { + return t3 ? t3.inspect() : { state: "pending" }; + }, N.longStackSupport && e3) try { + throw new Error(); + } catch (e4) { + r2.stack = e4.stack.substring(e4.stack.indexOf("\n") + 1); + } + function a2(e4) { + t3 = e4, r2.source = e4, u(i3, function(t4, i4) { + N.nextTick(function() { + e4.promiseDispatch.apply(e4, i4); + }); + }, void 0), i3 = void 0, n3 = void 0; + } + return o2.promise = r2, o2.resolve = function(e4) { + t3 || a2(N(e4)); + }, o2.fulfill = function(e4) { + t3 || a2(k(e4)); + }, o2.reject = function(e4) { + t3 || a2(x(e4)); + }, o2.notify = function(e4) { + t3 || u(n3, function(t4, i4) { + N.nextTick(function() { + i4(e4); + }); + }, void 0); + }, o2; } - get initialValue() { - return this._initialValue; + function I(e4) { + if ("function" != typeof e4) throw new TypeError("resolver must be a function."); + var t3 = v(); + try { + e4(t3.resolve, t3.reject, t3.notify); + } catch (e5) { + t3.reject(e5); + } + return t3.promise; } - get isArchVariableKnowledgeBaseDocumentCollection() { - return true; + function C(e4) { + return I(function(t3, i3) { + for (var n3 = 0, o2 = e4.length; n3 < o2; n3++) N(e4[n3]).then(t3, i3); + }); } - } - t2.default = r2; - }, 12360: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(17102)), o = i2(12179), a = n2.__importDefault(i2(59441)), s = i2(47957), l = "nluCortexMetaData"; - class u extends r2.default { - constructor() { - super(...arguments), this.modelPropertyName = "nluCortex"; + function O(e4, t3, i3) { + void 0 === t3 && (t3 = function(e5) { + return x(new Error("Promise does not support operation: " + e5)); + }), void 0 === i3 && (i3 = function() { + return { state: "unknown" }; + }); + var n3 = p(O.prototype); + if (n3.promiseDispatch = function(i4, o3, r2) { + var a2; + try { + a2 = e4[o3] ? e4[o3].apply(n3, r2) : t3.call(n3, o3, r2); + } catch (e5) { + a2 = x(e5); + } + i4 && i4(a2); + }, n3.inspect = i3, i3) { + var o2 = i3(); + "rejected" === o2.state && (n3.exception = o2.reason), n3.valueOf = function() { + var e5 = i3(); + return "pending" === e5.state || "rejected" === e5.state ? n3 : e5.value; + }; + } + return n3; } - get outOfService() { - return !this._nluCortex; + function b(e4, t3, i3, n3) { + return N(e4).then(t3, i3, n3); } - get id() { - return l; + function E(e4) { + if (w(e4)) { + var t3 = e4.inspect(); + if ("fulfilled" === t3.state) return t3.value; + } + return e4; } - get isNluCortexMetaDataViewModel() { - return true; + function w(e4) { + return e4 instanceof O; } - get intents() { - var e3; - return null === (e3 = this._nluCortex) || void 0 === e3 ? void 0 : e3.intents; + function R(e4) { + return (t3 = e4) === Object(t3) && "function" == typeof e4.then; + var t3; } - set intents(e3) { - this._nluCortex.intents = e3; + N.resolve = N, N.nextTick = o, 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 = C, I.all = B, I.reject = x, I.resolve = N, N.passByCopy = function(e4) { + return e4; + }, O.prototype.passByCopy = function() { + return this; + }, N.join = function(e4, t3) { + return N(e4).join(t3); + }, O.prototype.join = function(e4) { + return N([this, e4]).spread(function(e5, t3) { + if (e5 === t3) return e5; + throw new Error("Can't join: not the same: " + e5 + " " + t3); + }); + }, N.race = C, O.prototype.race = function() { + return this.then(N.race); + }, N.makePromise = O, O.prototype.toString = function() { + return "[object Promise]"; + }, O.prototype.then = function(e4, t3, i3) { + var n3 = this, o2 = v(), r2 = false; + return N.nextTick(function() { + n3.promiseDispatch(function(t4) { + r2 || (r2 = true, o2.resolve((function(t5) { + try { + return "function" == typeof e4 ? e4(t5) : t5; + } catch (e5) { + return x(e5); + } + })(t4))); + }, "when", [function(e5) { + r2 || (r2 = true, o2.resolve((function(e6) { + if ("function" == typeof t3) { + f(e6, n3); + try { + return t3(e6); + } catch (e7) { + return x(e7); + } + } + return x(e6); + })(e5))); + }]); + }), n3.promiseDispatch(void 0, "when", [void 0, function(e5) { + var t4, n4 = false; + try { + t4 = (function(e6) { + return "function" == typeof i3 ? i3(e6) : e6; + })(e5); + } catch (e6) { + if (n4 = true, !N.onerror) throw e6; + N.onerror(e6); + } + n4 || o2.notify(t4); + }]), o2.promise; + }, N.tap = function(e4, t3) { + return N(e4).tap(t3); + }, O.prototype.tap = function(e4) { + return e4 = N(e4), this.then(function(t3) { + return e4.fcall(t3).thenResolve(t3); + }); + }, N.when = b, O.prototype.thenResolve = function(e4) { + return this.then(function() { + return e4; + }); + }, N.thenResolve = function(e4, t3) { + return N(e4).thenResolve(t3); + }, O.prototype.thenReject = function(e4) { + return this.then(function() { + throw e4; + }); + }, N.thenReject = function(e4, t3) { + return N(e4).thenReject(t3); + }, N.nearer = E, N.isPromise = w, N.isPromiseAlike = R, N.isPending = function(e4) { + return w(e4) && "pending" === e4.inspect().state; + }, O.prototype.isPending = function() { + return "pending" === this.inspect().state; + }, N.isFulfilled = function(e4) { + return !w(e4) || "fulfilled" === e4.inspect().state; + }, O.prototype.isFulfilled = function() { + return "fulfilled" === this.inspect().state; + }, N.isRejected = function(e4) { + return w(e4) && "rejected" === e4.inspect().state; + }, O.prototype.isRejected = function() { + return "rejected" === this.inspect().state; + }; + var D, P = [], M = [], F = true; + function L() { + P.length = 0, M.length = 0, F || (F = true); } - get className() { - return "NluCortexMetaDataViewModel"; + function x(e4) { + var t3 = O({ when: function(t4) { + return t4 && (function(e5) { + if (F) { + var t5 = c(M, e5); + -1 !== t5 && (M.splice(t5, 1), P.splice(t5, 1)); + } + })(this), t4 ? t4(e4) : this; + } }, function() { + return this; + }, function() { + return { state: "rejected", reason: e4 }; + }); + return (function(e5, t4) { + F && (M.push(e5), t4 && void 0 !== t4.stack ? P.push(t4.stack) : P.push("(no stack) " + t4)); + })(t3, e4), t3; } - getDisplayName() { - return s.intents.label; + function k(e4) { + return O({ when: function() { + return e4; + }, get: function(t3) { + return e4[t3]; + }, set: function(t3, i3) { + e4[t3] = i3; + }, delete: function(t3) { + delete e4[t3]; + }, post: function(t3, i3) { + return null == t3 ? e4.apply(void 0, i3) : e4[t3].apply(e4, i3); + }, apply: function(t3, i3) { + return e4.apply(t3, i3); + }, keys: function() { + return h(e4); + } }, void 0, function() { + return { state: "fulfilled", value: e4 }; + }); } - get NluCortexMetaDataArchNodeName() { - return l; + function V(e4, t3, i3) { + return N(e4).spread(t3, i3); } - get nodeGuxIcon() { - return "fa/signs-post-regular"; + function U(e4, t3, i3) { + return N(e4).dispatch(t3, i3); } - get helpTopic() { - return o.helpTopics.treeNodes.intentsSettings; + function B(e4) { + return b(e4, function(e5) { + var t3 = 0, i3 = v(); + return u(e5, function(n3, o2, r2) { + var a2; + w(o2) && "fulfilled" === (a2 = o2.inspect()).state ? e5[r2] = a2.value : (++t3, b(o2, function(n4) { + e5[r2] = n4, 0 === --t3 && i3.resolve(e5); + }, i3.reject, function(e6) { + i3.notify({ index: r2, value: e6 }); + })); + }, void 0), 0 === t3 && i3.resolve(e5), i3.promise; + }); } - getConfiguration(e3, t3, i3) { - if (e3.nluCortex = new a.default(this._nluCortex) || new a.default(), null == t3 ? void 0 : t3.isForFlowYaml) return super.getConfiguration(e3, t3, i3); + function G(e4) { + if (0 === e4.length) return N.resolve(); + var t3 = N.defer(), i3 = 0; + return u(e4, function(n3, o2, r2) { + var a2 = e4[r2]; + i3++, b(a2, function(e5) { + t3.resolve(e5); + }, function() { + 0 === --i3 && t3.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected.")); + }, function(e5) { + t3.notify({ index: r2, value: e5 }); + }); + }, void 0), t3.promise; } - loadConfiguration(e3) { - super.loadConfiguration(e3), e3.nluCortex || (e3.nluCortex = new a.default()), this._nluCortex = e3.nluCortex; + function j(e4) { + return b(e4, function(e5) { + return e5 = d(e5, N), b(B(d(e5, function(e6) { + return b(e6, n2, n2); + })), function() { + return e5; + }); + }); } - } - t2.default = u; - }, 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)), 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 = 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; - } - get _networkModel() { - return o.default; - } - _createItemViewModel(e3) { - return new c.AgenticVirtualAgentViewModel(e3); - } - } - t2.AgenticVirtualAgentManager = _, t2.agenticVirtualAgentManager = new _(); - }, 12384: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(25498)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _flowType() { - return r2.flowTypes.flowTypeSecureCall; - } - get displayTypeName() { - return "ArchFlowSecureCall"; - } - get isArchFlowSecureCall() { - return true; - } - } - t2.default = o; - }, 12457: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ActionDetails = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(24032)).getTopic("ActionDetails"); - t2.ActionDetails = class { - constructor(e3, t3) { - if (e3 && t3) return r2.default.isArray(e3) && r2.default.isArray(t3) ? e3.length !== t3.length ? (o.errorWithStack(null, "Arrays with non-matching lengths were passed into ActionDetails."), void (this.textDetailsObjects = [])) : void (this.textDetailsObjects = r2.default.map(e3, function(e4, i3) { - return { label: e4, value: t3[i3] }; - })) : (o.errorWithStack(null, "Non-array values were passed into ActionDetails."), void (this.textDetailsObjects = [])); - this.textDetailsObjects = []; - } - get detailLines() { - const e3 = []; - for (let t3 = 0; t3 < this.textDetailsObjects.length; t3++) { - const i3 = this.getDetailText(this.textDetailsObjects[t3]); - e3.push(i3); - } - return e3; - } - getDetailText(e3) { - if (!e3) return ""; - let t3 = ""; - return e3.label && (t3 += e3.label + ": "), t3 += e3.value, t3.substring(0, 256); - } - }; - }, 12614: (e2, t2, i2) => { - function n2() { - this.activeVersion = void 0, n2.baseConstructor.apply(this, arguments); - } - 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", 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; - var n2 = i2(93728), r2 = null; - t2.errorContext = function(e3) { - if (n2.config.useDeprecatedSynchronousErrorHandling) { - var t3 = !r2; - if (t3 && (r2 = { errorThrown: false, error: null }), e3(), t3) { - var i3 = r2, o = i3.errorThrown, a = i3.error; - if (r2 = null, o) throw a; - } - } else e3(); - }, t2.captureError = function(e3) { - n2.config.useDeprecatedSynchronousErrorHandling && r2 && (r2.errorThrown = true, r2.error = e3); - }; - }, 12707: (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(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"); - } - get _actionTypeId() { - return s.lexV2ActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionCallLexV2Bot() { - return true; - } - addSessionVariableOutputNameValuePair(e3, t3) { - var i3; - return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), null === (i3 = this.sessionVariableOutputs) || void 0 === i3 ? void 0 : i3._addNameValueAssignment(e3, t3, true, true); - } - get aliasInitialIntentName() { - return r2.__classPrivateFieldGet(this, n2, "f"); - } - get sessionVariableOutputs() { - const e3 = this._getCoreViewModel().outputSessionVariables; - if (e3) return this.coreFactory.createArchBaseValueContainer(e3); - } - setLexBotAliasByIdAsync(e3, t3, i3, n3) { - this._checkItemIsValidLiteralString(this._infoParm("botName", "setLexBotAliasByIdAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("lexBotAliasId", "setLexBotAliasByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botRegion", "setLexBotAliasByIdAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByIdAsync"), n3, true); - const r3 = { region: i3 }; - return a.default.findItemByValueAsync(this._botNameManager, t3, "lex bot", void 0, void 0, r3).then((t4) => (this._getCoreViewModel().setBotCategoryByViewModel(t4), this._setLexBotAliasByIdAsync("setLexBotAliasByIdAsync", e3, n3))); - } - setLexBotAliasByNameAsync(e3, t3, i3, n3, o2, s2) { - return r2.__awaiter(this, void 0, void 0, function* () { - if (this._checkItemIsValidLiteralString(this._infoParm("aliasName", "setLexBotAliasByNameAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botName", "setLexBotAliasByNameAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botRegion", "setLexBotAliasByNameAsync"), i3, false), this._checkItemIsValidLiteralString(this._infoParm("aliasLanguageTag", "setLexBotAliasByNameAsync"), n3, false), this._checkItemIsValidLiteralBool(this._infoParm("searchByBotName", "setLexBotAliasByNameAsync"), o2), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByNameAsync"), s2, true), o2) { - const r4 = { region: i3 }, o3 = yield a.default.findItemByValueAsync(this._botNameManager, t3, "lex bot", void 0, void 0, r4); - this.logNote(`Found partial info for the Lex Bot named '${o3.name}' for the passed bot name of '${t3}'. Getting full bot details.`), this._getCoreViewModel().setBotCategoryByViewModel(o3); - 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.`), 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.`), c.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", r3.id, s2), "setLexBotAliasByNameAsync"); + N.resetUnhandledRejections = L, N.getUnhandledReasons = function() { + return P.slice(); + }, N.stopUnhandledRejectionTracking = function() { + L(), F = false; + }, L(), N.reject = x, N.fulfill = k, N.master = function(e4) { + return O({ isDef: function() { + } }, function(t3, i3) { + return U(e4, t3, i3); + }, function() { + return N(e4).inspect(); }); - } - } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; - }, 12715: (e2, t2, i2) => { - const n2 = i2(2210), r2 = i2(28730), { playAudioActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _prompts: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.prompts.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.prompts.pasteResolveOldToNewValues(e3); - } }, prompts: { enumerable: true, get: function() { - return this._prompts; - }, set: function(e3) { - this._prompts = this.reviveItem(e3, n2); - } } }), 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findUser.nameLabel, searchResultLabel: d.findActions.findUser.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUserOptions.create(), searchResultItemType: o.expressionTypeNames.userQueue }); - } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "surveyQuestion"; - } - get displayTypeName() { - return "ArchVariableSurveyQuestion"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableSurveyQuestion() { - return true; - } - } - t2.default = r2; - }, 12729: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.VoiceSurveyFlowReferenceProperty = void 0; - const n2 = i2(33381), r2 = i2(44307); - class o extends n2.FlowReferenceProperty { - constructor(e3, t3, i3, n3, r3, o2) { - super(e3, t3, i3, n3, r3, o2); - } - get className() { - return "VoiceSurveyFlowReferenceProperty"; - } - static createCreateDetails(e3) { - const t3 = this.createModelPropNames(e3.useFlowTypeSpecificModelProps, null == e3 ? void 0 : e3.flowType); - return { create: (t4, i3) => new o(t4, i3, e3.flowType, e3.supportsSpecificVersion, e3.showVersionSelection, e3.useFlowTypeSpecificModelProps), getCreateClass: () => o, modelProperties: [t3.idPropName, t3.namePropName, t3.versionPropName, t3.latestVersionPropName, t3.debugPublishedPropName] }; - } - get isVoiceSurveyFlowReferenceProperty() { - return true; - } - getConfiguration(e3, t3) { - var i3, n3; - const o2 = super.getConfiguration(e3, t3); - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const t4 = this.getFlowInfo(); - if (null === (i3 = null == t4 ? void 0 : t4.surveyForm) || void 0 === i3 ? void 0 : i3.name) { - const i4 = (0, r2.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); - i4 && (i4.flow.surveyForm = null === (n3 = null == t4 ? void 0 : t4.surveyForm) || void 0 === n3 ? void 0 : n3.name); - } - } - return o2; - } - } - t2.VoiceSurveyFlowReferenceProperty = o; - }, 12786: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.updateConversationAttributeFailureReasons = t2.createConversationAttributeFailureReasons = t2.getConversationAttributesFailureReasons = t2.getConversationAttributeFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = "ConversationCustomAttributeRecordNotFound", o = "InvalidAttribute", a = ["GeneralError", "ActionInvocationLimitExceeded"]; - t2.getConversationAttributeFailureReasons = n2.default.uniq(a.concat([r2])), t2.getConversationAttributesFailureReasons = n2.default.uniq(a.concat([r2])), t2.createConversationAttributeFailureReasons = n2.default.uniq(a.concat([o, "InvalidConversationCustomAttributeSchema"])), t2.updateConversationAttributeFailureReasons = n2.default.uniq(a.concat([r2, o])); - }, 12847: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.infoHighlightAlways = function(e3) { - console.log(r2.bgGreen.black(e3)); - }, t2.infoHighlight = function(e3) { - }, t2.infoInverse = function(e3) { - }, t2.errorAlways = function(...e3) { - !(function() { - { - const e4 = n2.default.rest(arguments); - console.log(r2.red(arguments[0]), ...e4); - } - })(...e3); - }, t2.error = function(...e3) { - }, t2.logAlways = function(...e3) { - o(...e3); - }, t2.log = function(...e3) { - }, t2.infoAlways = function(...e3) { - o(...e3); - }, t2.info = function(...e3) { - }, t2.table = function(e3, t3, i3) { - }, t2.warnAlways = function(...e3) { - !(function(...e4) { - { - const t3 = n2.default.rest(e4); - console.log(r2.yellow(e4[0]), ...t3); - } - })(...e3); - }, t2.warn = function(...e3) { - }, t2.time = function(e3, t3 = 1e3, i3 = false) { - return () => { - }; - }; - const n2 = i2(31635).__importDefault(i2(92140)); - let r2; - function o(...e3) { - console.log(...e3); - } - r2 = i2(15896); - }, 12861: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(17405)), o = n2.__importDefault(i2(73198)); - class a extends r2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "integer"; - } - get displayTypeName() { - return "ArchValueInteger"; - } - _checkAndSetLiteral(e3, t3) { - this._checkItemIsValidLiteralInt(e3, t3), this._checkItem(e3, t3 < o.default.minInt, "the integer value of '" + t3 + "' is less than the allowed minimum of '" + o.default.minInt + "'"), this._checkItem(e3, t3 > o.default.maxInt, "the integer value of '" + t3 + "' is greater than the allowed maximum of '" + o.default.maxInt + "'"), this._setLiteral(e3, t3.toString()); - } - get isArchValueInteger() { - return true; - } - setExpressionMaxInt() { - this._setExpression(this._infoVal("arch_max_int", "setExpressionMaxInt"), o.default.minInt.toString()); - } - setExpressionMinInt() { - this._setExpression(this._infoVal("arch_min_int", "setExpressionMinInt"), o.default.minInt.toString()); - } - setLiteralInt(e3) { - this._checkAndSetLiteral(this._infoParm("intValue", "setLiteralInt"), e3); - } - setLiteralMaxInt() { - this._checkAndSetLiteral(this._infoVal("arch_max_int", "setLiteralMaxInt"), o.default.maxInt); - } - setLiteralMinInt() { - this._checkAndSetLiteral(this._infoVal("arch_min_int", "setLiteralMinInt"), o.default.minInt); - } - } - t2.default = a; - }, 12889: (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 = 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 v = (e3) => e3 === d.outputIds.default; - class O extends A.default { - constructor(e3, t3) { - super(e3), this._branchItems = [], this._loadModel(t3); - } - static get notRealAction() { - return true; - } - get resources() { - 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 = s.createBranchItem(e3.id, e3.paths[t3], (e4) => this.removeBranch(e4), v(e3.paths[t3].outputId)); - this._branchItems.push(i3); - } - super._loadModel(e3); - } - } - getBranches() { - return this._branchItems; - } - getBranchByName(e3) { - if (!this.parentFlow.supportsTasksWithOutputPaths) return null; - 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 a.default.isUndefined(t3) ? null : t3; - } - createBranch(e3) { - if (!this.supportsCustomOutputPaths) return null; - 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 a.default.filter(this.variables, (e3) => e3.isInput); - } - get isReusableTask() { - return !this.isInlineTask && this.id !== this.parentFlow.initialSequence; - } - getOutputVariables() { - 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)); + }, N.spread = V, O.prototype.spread = function(e4, t3) { + return this.all().then(function(t4) { + return e4.apply(void 0, t4); + }, t3); + }, N.async = function(e4) { + return function() { + function t3(e5, t4) { + var r2; + if ("undefined" == typeof StopIteration) { + try { + r2 = i3[e5](t4); + } catch (e6) { + return x(e6); + } + return r2.done ? N(r2.value) : b(r2.value, n3, o2); + } + try { + r2 = i3[e5](t4); + } catch (e6) { + return (function(e7) { + return "[object StopIteration]" === m(e7) || e7 instanceof s; + })(e6) ? N(e6.value) : x(e6); } + return b(r2, n3, o2); } - yield o2.configureFromModel.call(this, e3, t3, i3, r3); + var i3 = e4.apply(this, arguments), n3 = t3.bind(t3, "next"), o2 = t3.bind(t3, "throw"); + return n3(); + }; + }, N.spawn = function(e4) { + N.done(N.async(e4)()); + }, N.return = function(e4) { + throw new s(e4); + }, N.promised = function(e4) { + return function() { + return V([this, B(arguments)], function(t3, i3) { + return e4.apply(t3, i3); + }); + }; + }, N.dispatch = U, O.prototype.dispatch = function(e4, t3) { + var i3 = this, n3 = v(); + return N.nextTick(function() { + i3.promiseDispatch(n3.resolve, e4, t3); + }), n3.promise; + }, N.get = function(e4, t3) { + return N(e4).dispatch("get", [t3]); + }, O.prototype.get = function(e4) { + return this.dispatch("get", [e4]); + }, N.set = function(e4, t3, i3) { + return N(e4).dispatch("set", [t3, i3]); + }, O.prototype.set = function(e4, t3) { + return this.dispatch("set", [e4, t3]); + }, N.del = N.delete = function(e4, t3) { + return N(e4).dispatch("delete", [t3]); + }, O.prototype.del = O.prototype.delete = function(e4) { + return this.dispatch("delete", [e4]); + }, N.mapply = N.post = function(e4, t3, i3) { + return N(e4).dispatch("post", [t3, i3]); + }, O.prototype.mapply = O.prototype.post = function(e4, t3) { + return this.dispatch("post", [e4, t3]); + }, N.send = N.mcall = N.invoke = function(e4, t3) { + return N(e4).dispatch("post", [t3, l(arguments, 2)]); + }, O.prototype.send = O.prototype.mcall = O.prototype.invoke = function(e4) { + return this.dispatch("post", [e4, l(arguments, 1)]); + }, N.fapply = function(e4, t3) { + return N(e4).dispatch("apply", [void 0, t3]); + }, O.prototype.fapply = function(e4) { + return this.dispatch("apply", [void 0, e4]); + }, N.try = N.fcall = function(e4) { + return N(e4).dispatch("apply", [void 0, l(arguments, 1)]); + }, O.prototype.fcall = function() { + return this.dispatch("apply", [void 0, l(arguments)]); + }, N.fbind = function(e4) { + var t3 = N(e4), i3 = l(arguments, 1); + return function() { + return t3.dispatch("apply", [this, i3.concat(l(arguments))]); + }; + }, O.prototype.fbind = function() { + var e4 = this, t3 = l(arguments); + return function() { + return e4.dispatch("apply", [this, t3.concat(l(arguments))]); + }; + }, N.keys = function(e4) { + return N(e4).dispatch("keys", []); + }, O.prototype.keys = function() { + return this.dispatch("keys", []); + }, N.all = B, O.prototype.all = function() { + return B(this); + }, N.any = G, O.prototype.any = function() { + return G(this); + }, N.allResolved = (D = j, function() { + return "undefined" != typeof console && "function" == typeof console.warn && console.warn("allResolved is deprecated, use allSettled instead.", new Error("").stack), D.apply(D, arguments); + }), O.prototype.allResolved = function() { + return j(this); + }, N.allSettled = function(e4) { + return N(e4).allSettled(); + }, O.prototype.allSettled = function() { + return this.then(function(e4) { + return B(d(e4, function(e5) { + function t3() { + return e5.inspect(); + } + return (e5 = N(e5)).then(t3, t3); + })); }); - } - 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 = a.default.getFirstPropertyValueInObj(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 && this.parentFlow.type !== r2.flowTypes.flowTypeVoiceSurvey; - } - get isCallable() { - return !this.isInlineTask && !this.isStartUpObject; - } - get isTask() { - return true; - } - get isTransferable() { - return (this.isStartUpObject || !this.hasBranchTerminatingWithEndTask) && !this.isInlineTask; - } - get name() { - return super.name; - } - set name(e3) { - const t3 = this.name; - 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; - } - get supportsCustomOutputPaths() { - return this.isCallable && this.parentFlow.supportsTasksWithOutputPaths; - } - get supportsOutputVariables() { - return !this.isInlineTask && this.parentFlow.supportsTaskOutputVariables; - } - get supportsInputAndOutputVariables() { - return this.parentFlow.supportsTaskInputAndOutputVariables; - } - removeBranch(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, o.sprintf)(h.default.task.targetPathDisplayStr, this.linkedMenuChoice.parent.name, this.name) : this.name; - } - } - 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) => { + }, N.fail = N.catch = function(e4, t3) { + return N(e4).then(void 0, t3); + }, O.prototype.fail = O.prototype.catch = function(e4) { + return this.then(void 0, e4); + }, N.progress = function(e4, t3) { + return N(e4).then(void 0, void 0, t3); + }, O.prototype.progress = function(e4) { + return this.then(void 0, void 0, e4); + }, N.fin = N.finally = function(e4, t3) { + return N(e4).finally(t3); + }, O.prototype.fin = O.prototype.finally = function(e4) { + return e4 = N(e4), this.then(function(t3) { + return e4.fcall().then(function() { + return t3; + }); + }, function(t3) { + return e4.fcall().then(function() { + throw t3; + }); + }); + }, N.done = function(e4, t3, i3, n3) { + return N(e4).done(t3, i3, n3); + }, O.prototype.done = function(e4, t3, i3) { + var n3 = function(e5) { + N.nextTick(function() { + if (f(e5, o2), !N.onerror) throw e5; + N.onerror(e5); + }); + }, o2 = e4 || t3 || i3 ? this.then(e4, t3, i3) : this; + "object" == typeof process && process && process.domain && (n3 = process.domain.bind(n3)), o2.then(void 0, n3); + }, N.timeout = function(e4, t3, i3) { + return N(e4).timeout(t3, i3); + }, O.prototype.timeout = function(e4, t3) { + 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) { + clearTimeout(n3), i3.resolve(e5); + }, function(e5) { + clearTimeout(n3), i3.reject(e5); + }, i3.notify), i3.promise; + }, N.delay = function(e4, t3) { + return void 0 === t3 && (t3 = e4, e4 = void 0), N(e4).delay(t3); + }, O.prototype.delay = function(e4) { + return this.then(function(t3) { + var i3 = v(); + return setTimeout(function() { + i3.resolve(t3); + }, e4), i3.promise; + }); + }, N.nfapply = function(e4, t3) { + return N(e4).nfapply(t3); + }, O.prototype.nfapply = function(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); + }, O.prototype.nfcall = function() { + 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 = v(); + return i3.push(n3.makeNodeResolver()), N(e4).fapply(i3).fail(n3.reject), n3.promise; + }; + }, O.prototype.nfbind = O.prototype.denodeify = function() { + var e4 = l(arguments); + return e4.unshift(this), N.denodeify.apply(void 0, e4); + }, N.nbind = function(e4, t3) { + var i3 = l(arguments, 2); + return function() { + var n3 = i3.concat(l(arguments)), o2 = v(); + return n3.push(o2.makeNodeResolver()), N(function() { + return e4.apply(t3, arguments); + }).fapply(n3).fail(o2.reject), o2.promise; + }; + }, O.prototype.nbind = function() { + var e4 = l(arguments, 0); + return e4.unshift(this), N.nbind.apply(void 0, e4); + }, N.nmapply = N.npost = function(e4, t3, i3) { + return N(e4).npost(t3, i3); + }, O.prototype.nmapply = O.prototype.npost = function(e4, t3) { + 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 = v(); + return i3.push(n3.makeNodeResolver()), N(e4).dispatch("post", [t3, i3]).fail(n3.reject), n3.promise; + }, O.prototype.nsend = O.prototype.nmcall = O.prototype.ninvoke = function(e4) { + 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); + }, O.prototype.nodeify = function(e4) { + if (!e4) return this; + this.then(function(t3) { + N.nextTick(function() { + e4(null, t3); + }); + }, function(t3) { + N.nextTick(function() { + e4(t3); + }); + }); + }; + var q = A(); + return N; + }); + }, 68152(e2) { "use strict"; - 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)(f.screenPop.mustSelectScript, f.createCallback.selectedScript), scriptNotFound: f.createCallback.callbackScriptNotFound }; - } - get useQueue() { - return this.model.useQueue; - } - set useQueue(e3) { - this.model.useQueue = e3; - } - get result() { - return this.model.result; - } - getDetails() { - if (!this.callbackNumbers || !this.queue) return null; - const 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(); - } - _loadModel(e3) { - super._loadModel(e3), this.setOutOfService(); - } - static get managedProperties() { - 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 c.callbackManager; - } - getCachedServerPropertyById(e3, t3) { - return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); - } - setOutOfService() { - this.useQueue = !this.parentFlow.isInQueueCallFlow, this.queue.outOfService = !this.useQueue; - } - } - 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 }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(65485)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseActionWithOutputsSuccessFailureNoInputNoMatch"; - } - get isArchBaseActionWithOutputsSuccessFailureNoInputNoMatch() { - return true; - } - get outputSuccess() { - return this._getOutputById(r2.outputIds.success, true); - } - get outputFailure() { - return this._getOutputById(r2.outputIds.failure, true); - } - } - t2.default = a; - }, 13106: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundChatListManager = t2.InboundChatListManager = void 0; - const n2 = i2(6109), r2 = i2(96618), o = i2(24032), a = i2(27862); - class s extends n2.FlowListManager { - get dependencyType() { - return a.InboundChatFlow; - } - constructor() { - super(), this.topic = (0, o.getTopic)("inboundChatListManager"), this.additionalQueryParams = { type: r2.flowTypes.flowTypeInboundChat }, this.className = "InboundChatListManager", this.flowType = r2.flowTypes.flowTypeInboundChat, this._initialize(); - } - } - t2.InboundChatListManager = s, t2.inboundChatListManager = new s(); - }, 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)), c = i2(47957), d = (0, s.getTopic)("EventHandlingTypeProperty"); - class p extends a.BaseActionProperty { - constructor(e3, t3, i3, n3, r3, a2) { - var s2, u2; - super(e3, t3), this.handlingTypes = i3, this.modelPropertyName = n3, this.defaultHandlingType = r3, this.suppressDefaultInConfig = a2, this.valueChangedSubject = new l.Subject(), this.valueChanged$ = this.valueChangedSubject.asObservable(), this._outOfServiceProvider = (0, o.addOutOfServiceProperties)(this), (null === (u2 = null === (s2 = this.metaData) || void 0 === s2 ? void 0 : s2.options) || void 0 === u2 ? void 0 : u2.featureConfigName) && (this._outOfServiceProvider.featureConfigName = this.metaData.options.featureConfigName), this.label = t3.label, void 0 === this.handlingType && this.defaultHandlingType && (this.handlingType = this.defaultHandlingType); - } - destroy() { - super.destroy(), this._outOfServiceProvider.destroy(); - } - get handlingType() { - return this.action.model[this.modelPropertyName]; - } - set handlingType(e3) { - this.handlingTypes.find((t3) => t3.value === (null == e3 ? void 0 : e3.value)) || console.error("handlingType not valid"), this.action.model[this.modelPropertyName] = e3, this.valueChangedSubject.next(this); - } - get className() { - return "HandlingTypeProperty"; - } - get isEventHandlingTypeProperty() { - return true; - } - getConfiguration(e3, t3, i3) { - super.getConfiguration(e3, t3); - const n3 = this.outOfService || this.suppressDefaultInConfig && this.handlingType === this.defaultHandlingType; - return (null == t3 ? void 0 : t3.isForFlowYaml) ? n3 ? void 0 : this._getYamlConfiguration() : n3 ? void delete e3[this.modelPropertyName] : this.handlingType; - } - getConfigurationForHandlingProperty(e3, t3) { - const i3 = {}, n3 = i3[e3.scriptingName] = {}; - switch (e3) { - case u.default.Disconnect: - break; - case u.default.Task: - const i4 = null != t3 ? t3 : this.taskProperty, o2 = null == i4 ? void 0 : i4.getReferenceViewModel(); - r2.default.isNullOrUndefined(o2) || (n3.targetTaskRef = o2.yamlPath); - break; - case u.default.Exit: - break; - default: - const a2 = `Matching handlingProperty not found for handling type value '${e3}'`; - throw d.exceptionWithErrorObjectInfo(null, a2, e3), a2; - } - return r2.default.ensureYamlNoneTrue(n3), i3; - } - static createCreateDetails(e3, t3, i3, n3) { - return { create: (r3, o2) => new p(r3, o2, e3, t3, i3, n3), getCreateClass: () => p, modelProperties: [] }; - } - _getYamlConfiguration() { - const e3 = {}, t3 = e3[this.handlingType.scriptingName] = {}; - switch (this.handlingType) { - case u.default.Disconnect: - case u.default.EndFlow: - case u.default.EndInQueueState: - case u.default.EndWorkflow: - case u.default.Exit: - case u.default.Task: - break; - case u.default.Queue: - case u.default.Menu: - case u.default.State: - const e4 = `'${this.handlingType.name}' is not supported yet`; - throw d.error(e4), e4; - default: - const t4 = `Matching handlingProperty not found for handling type value '${this.handlingType.name}'`; - throw d.exceptionWithErrorObjectInfo(null, t4, this.handlingType), t4; - } - return r2.default.ensureYamlNoneTrue(t3), e3; - } - getErrors() { - const e3 = []; - return this.handlingType || e3.push(c.facets.valueStringMinLengthOne), e3; - } - validate(e3) { - super.validate(e3), this.getErrors().forEach((t3) => e3.addError(this.action, t3)); - } - } - t2.EventHandlingTypeProperty = p; - }, 13116: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SlotHandlingType = void 0, (function(e3) { - e3.standardSlot = "standardSlot", e3.surveyFormQuestionSlot = "surveyFormQuestionSlot", e3.surveyFormQuestionFollowUpSlot = "surveyFormQuestionFollowUpSlot"; - })(i2 || (t2.SlotHandlingType = i2 = {})); - }, 13126: (e2) => { - e2.exports = { action: "action", dataType: "dataType", menu: "menu", menuChoice: "menuChoice", state: "state", task: "task", unknown: "unknown" }; - }, 13139: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SupportedDigitalChannel = void 0, (function(e3) { - e3.facebook = "facebook", e3.whatsapp = "whatsapp"; - })(i2 || (t2.SupportedDigitalChannel = i2 = {})); - }, 13140: (e2, t2) => { - "use strict"; - var i2, n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DiffType = t2.DiffItem = t2.DiffResult = void 0, (function(e3) { - e3.doesNotMatch = "doesNotMatch", e3.lessRestrictive = "lessRestrictive", e3.moreRestrictive = "moreRestrictive"; - })(i2 || (t2.DiffResult = i2 = {})), (function(e3) { - e3.property = "property", e3.propertyCount = "propertyCount"; - })(n2 || (t2.DiffItem = n2 = {})), (function(e3) { - e3.addition = "addition", e3.isNotEqual = "isNotEqual", e3.maxValueIsGreaterThan = "maxValueIsGreaterThan", e3.maxValueIsLessThan = "maxValueIsLessThan", e3.maxValueIsLessThanInclusive = "maxValueIsLessThanInclusive", e3.maxValueIsGreaterThanInclusive = "maxValueIsGreaterThanInclusive", e3.minValueIsGreaterThan = "minValueIsGreaterThan", e3.minValueIsGreaterThanInclusive = "minValueIsGreaterThanInclusive", e3.minValueIsLessThan = "minValueIsLessThan", e3.minValueIsLessThanInclusive = "minValueIsLessThanInclusive", e3.removed = "removed", e3.valueNowDefined = "valueNowDefined", e3.valueNoLongerDefined = "valueNoLongerDefined"; - })(r2 || (t2.DiffType = r2 = {})); - class o { - constructor(e3, t3, i3, n3, r3, o2, a, s, l) { - this.diffResult = t3, this.diffType = i3, this.diffItem = n3, this.itemName = r3, this.itemValue = o2, this.itemValueIsInclusive = a, this.otherValue = s, this.otherValueIsInclusive = l, this.path = e3; - } - static createComparedToHasAdditionalPropertyDiff(e3, t3) { - return new o(t3, i2.lessRestrictive, r2.addition, n2.property, e3); - } - get propertyName() { - if (this.diffItem === n2.property) return this.itemName; - } - get isComparedToAdditionalProperty() { - return this.diffItem === n2.propertyCount && this.diffType === r2.addition; - } - } - t2.default = o; - }, 13169: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(78432)), o = i2(30801), a = n2.__importDefault(i2(11210)); - class s extends a.default { - constructor(e3) { - super(e3), this._bargeInEnabled = this.coreFactory.createArchWrapper(e3.bargeInExpression), this._prompt = this.coreFactory.createArchWrapper(e3.prompt), this._playDuration = this.coreFactory.createArchWrapper(e3.duration); - } - get _actionTypeId() { - return o.holdMusicActionType; - } - get bargeInEnabled() { - return this._bargeInEnabled; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionHoldMusic() { - return true; - } - get playDuration() { - return this._playDuration; - } - get playStyle() { - return this._coreActionViewModel.playForDuration ? r2.default.HOLD_MUSIC_PLAY_STYLES.duration : r2.default.HOLD_MUSIC_PLAY_STYLES.prompt; - } - set playStyle(e3) { - switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newPlayStyle", "playStyle"), e3, r2.default.HOLD_MUSIC_PLAY_STYLES_ALL), this.logNote("setting the play style to '" + e3 + "'"), e3) { - case r2.default.HOLD_MUSIC_PLAY_STYLES.prompt: - this._coreActionViewModel.playForDuration = false; - break; - case r2.default.HOLD_MUSIC_PLAY_STYLES.duration: - this._coreActionViewModel.playForDuration = true; - } - } - get prompt() { - return this._prompt; - } - } - t2.default = s; - }, 13202: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getLatestPublishedSurveyForm = t2.getSurveyFormVersions = t2.getSurveyForm = t2.getSurveyForms = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(1735)), o = n2.__importDefault(i2(98046)), a = n2.__importDefault(i2(36019)), s = i2(42590), l = { ignoreBadResponse: true }; - 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)), 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); - } - static get branchInfo() { - return a.default.successFailure; - } - static get managedProperties() { - 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; - } - } - _.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() { - Object.defineProperties(this, { _paths: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - i2(28730).extend(o, "BaseActionWithOutputsModel"), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.paths, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)); - } }, pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.paths, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)); - } }, paths: { enumerable: true, get: function() { - return this._paths; - }, set: function(e3) { - this._paths = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 13265: (e2, t2, i2) => { - function n2() { - Object.defineProperties(this, {}), n2.baseConstructor.apply(this, arguments); - } - 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), 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: 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)) }]; - } - } - 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 }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(1012)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseActionWithOutputsFakeSuccessFailureTimeout"; - } - get isArchBaseActionWithOutputsFakeSuccessFailureTimeout() { - return true; - } - get outputTimeout() { - return this._getOutputById(r2.outputIds.timeout, true); - } - } - t2.default = a; - }, 13337: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mapTo = void 0; - var n2 = i2(26872); - t2.mapTo = function(e3) { - return n2.map(function() { - return e3; - }); - }; - }, 13436: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allModes = t2.neutral = t2.intents = t2.knowledge = void 0; - const n2 = i2(47957); - t2.knowledge = { displayString: n2.knowledgeSettings.responseBiasModes.responseBiasModeKnowledge, description: n2.knowledgeSettings.responseBiasModes.responseBiasKnowledgeDescription, id: "knowledge" }, t2.intents = { displayString: n2.knowledgeSettings.responseBiasModes.responseBiasModeIntents, description: n2.knowledgeSettings.responseBiasModes.responseBiasIntentDescription, id: "intents" }, t2.neutral = { displayString: n2.knowledgeSettings.responseBiasModes.responseBiasModeNeutral, description: n2.knowledgeSettings.responseBiasModes.responseBiasNeutralDescription, id: "neutral" }, t2.allModes = [t2.intents, t2.neutral, t2.knowledge]; - }, 13440: (e2, t2, i2) => { - function n2() { - Object.defineProperties(this, { _turnsResult: { writable: true } }), this.id = void 0, this._turnsResult = arguments[0], n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "DigitalBotFlowTurnsResult"), Object.defineProperties(n2.prototype, { turnsResult: { enumerable: true, get: function() { - return this._turnsResult; - } } }), e2.exports = n2; - }, 13442: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(17405)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "surveyAnswerOption"; - } - get displayTypeName() { - return "ArchValueSurveyAnswerOption"; - } - get isArchValueSurveyAnswerOption() { - return true; - } - setGlobalDtmf(e3) { - const t3 = this._infoParm("dtmf", "setGlobalDtmf"); - this._checkItemIsValidLiteralString(t3, e3), e3 = e3 || ""; - const i3 = this._getCoreViewModel(); - i3 && (i3.type.setDtmf(i3, e3), this.logNote(`survey answer option dtmf updated to '${e3}'`)); - } - get text() { - return this._getAssignableProperty("text"); - } - } - t2.default = r2; - }, 13446: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - class i2 { - constructor(e3, t3) { - this._id = e3, this._displayStr = t3; - } - static create(e3, t3) { - return new i2(e3, t3); - } - get id() { - return this._id; - } - get displayStr() { - return this._displayStr; - } - get displayString() { - return this._displayStr; - } - } - t2.default = i2; - }, 13462: (e2, t2, i2) => { - const n2 = i2(13240), { processVoicemailInputActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments); - } }, pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments); - } } }), e2.exports = o; - }, 13523: (e2, t2, i2) => { - "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 c extends l.default { - _coreTypesToArchTypes(e3, t3) { - this._checkItemUndefinedOrNull(this._infoParm("coreExpressionTypesObject", "_coreTypesToArchTypes"), e3); - const i3 = t3 || {}; - return r2.default.each(e3, (e4) => { - var t4, n3; - if (this._checkItem(this._infoParm("coreExpressionType.model", "_coreTypesToArchTypes"), !e4.model, "the core expression type in coreExpressionTypesObject does not have a model property"), this._checkItem(this._infoParm("coreExpressionType.model.support", "_coreTypesToArchTypes"), !e4.model.support, "the core expression type model does not have a support property"), this._checkItem(this._infoParm("coreExpressionType.model.support.expressionDataType", "_coreTypesToArchTypes"), !e4.model.support.expressionDataType, "the core expression type model's support property does not have an expression data type"), e4.isAbstract) ; - else { - const r3 = u[e4.model.support.expressionDataType]; - if (r3 || e4.isCustomType && (null === (n3 = null === (t4 = e4.parentFlow) || void 0 === t4 ? void 0 : t4.definition) || void 0 === n3 ? void 0 : n3.supportsCustomJsonTypes)) { - const t5 = new o.default(e4, r3); - i3[t5.name] = t5; - } - } - }), i3; - } - _coreExpressionGroupToArchTypes(e3) { - return this._checkItem(this._infoParm("coreExpressionGroup", "_coreExpressionGroupToArchTypes"), !e3, "core expression group not specified"), this._coreTypesToArchTypes(e3.collections, this._coreTypesToArchTypes(e3.singletons)); - } - get displayTypeName() { - return "ArchDataTypes"; - } - getFlowDataTypes(e3) { - this._checkItem(this._infoParm("archBaseFlow", "getFlowDataTypes"), !e3 || !e3.isArchBaseFlow, "you must pass in an Architect flow such as an inbound, outbound or in-queue flow"); - const t3 = s.default.getTypeGroup(e3._getCoreViewModel()); - return this._coreExpressionGroupToArchTypes(t3); - } - getFlowTypeDataTypes(e3) { - const t3 = s.default.getGlobalTypeGroup()._getFlowTypeTypes(e3); - return r2.default.values(this._coreTypesToArchTypes(t3)); - } - } - t2.default = new c(); - }, 13720: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(8471)); - class r2 extends n2.default { - get displayTypeName() { - return "ArchBaseObjectFilterCommon"; - } - get isArchBaseObjectFilterCommon() { - return true; - } - isMatch(e3) { - return this._checkItemIsArchBaseObject(this._infoParm("archBaseObjectToCheck", "isMatch"), e3), this._isMatch(e3); - } - _isMatch(e3) { - return false; - } - } - t2.default = r2; - }, 13730: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "timeCollection"; - } - get displayTypeName() { - return "ArchValueTimeCollection"; - } - get isArchValueTimeCollection() { - return true; - } - } - t2.default = r2; - }, 13804: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.voiceProcessingPromptDefaultValue = t2.voiceProcessingPromptFilterNames = void 0, t2.getSystemPromptId = function(e3) { - return e3 ? `__${e3}__` : ""; - }, t2.voiceProcessingPromptFilterNames = ["processing_keyboard", "connecting_vibe", "delayed_chime", "delayed_tones", "data_transfer_chime", "minimal_chime_melody"], t2.voiceProcessingPromptDefaultValue = "connecting_vibe"; - }, 13818: (e2, t2, i2) => { - const { askForNLUNextIntentActionActionType: n2 } = i2(30801), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _currentIndex: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - i2(2444).extend(o, n2, true), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.currentIndex.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.currentIndex.pasteResolveOldToNewValues(e3); - } }, currentIndex: { enumerable: true, get: function() { - return this._currentIndex; - }, 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 }; - }); + e2.exports = function(e3) { + return e3.split("\n").map(function(e4) { + return e4.trimRight(); + }).join("\n"); }; - 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) { + }, 79364(e2, t2, i2) { "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } - } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mapOneOrManyArgs = void 0; - var o = i2(26872), a = Array.isArray; - t2.mapOneOrManyArgs = function(e3) { - return o.map(function(t3) { - return (function(e4, t4) { - return a(t4) ? e4.apply(void 0, r2([], n2(t4))) : e4(t4); - })(e3, t3); - }); + var n2 = this && this.__createBinding || (Object.create ? function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3), Object.defineProperty(e3, n3, { enumerable: true, get: function() { + return t3[i3]; + } }); + } : function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; + }), o = this && this.__exportStar || function(e3, t3) { + for (var i3 in e3) "default" === i3 || Object.prototype.hasOwnProperty.call(t3, i3) || n2(t3, e3, i3); }; - }, 13991: (e2, t2, i2) => { - const n2 = i2(80800), r2 = i2(1736), o = i2(36019).default; - function a() { - } - const s = new a(); - a.prototype.getSkill = o.request("GET", "{public-api.apps}/api/v2/routing/skills/{id}", n2), a.prototype.getSkills = o.request("GET", "{public-api.apps}/api/v2/routing/skills", r2), s.getSkills.addOptions({ ignoreBadResponse: true }), e2.exports = s; - }, 14e3: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(55015)), o = i2(80295); - class a extends r2.default { - constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_moreThanOneLanguage"); - } - get moreThanOneLanguage() { - return this._moreThanOneLanguage; - } - set moreThanOneLanguage(e3) { - this._moreThanOneLanguage = e3; - } - } - t2.default = a, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], a.prototype, "moreThanOneLanguage", null); - }, 14038: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = i2(30801), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(66978)); - class u extends r2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return o.screenPopActionType; - } - _clearInputs() { - this._scriptInputs = void 0; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSetScreenPop() { - return true; - } - get scriptInputs() { - return this._scriptInputs || (this._scriptInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._scriptInputs; - } - setScriptByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("scriptName", "setScriptByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScriptByNameAsync"), t3, true), a.default.findItemByValueAsync(this._coreActionViewModel.scriptManager, e3, "screen pop script").then(function(e4) { - return l.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByNameAsync"); - }.bind(this)).then(function() { - return this._clearInputs(), s.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), a.default.findItemByIdAsync(this._coreActionViewModel.scriptManager, e3, "screen pop script").then(function(e4) { - return l.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByIdAsync"); - }.bind(this)).then(function() { - return this._clearInputs(), s.default.executeCallback(this, "setScriptByIdAsync", t3, this); - }.bind(this)); - } - } - t2.default = u; - }, 14075: (e2, t2, i2) => { - const n2 = i2(54976), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _connTimeout: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "TransferActionWithConnectTimeoutModel"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.connTimeout.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.connTimeout.pasteResolveOldToNewValues(e3); - } }, connTimeout: { enumerable: true, get: function() { - return this._connTimeout; - }, set: function(e3) { - this._connTimeout = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 14086: (e2, t2, i2) => { - "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)), 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; - } - get isCommonModuleFlowReferenceProperty() { - return true; - } - get className() { - return "CommonModuleFlowReferenceProperty"; - } - destroy() { - this.parentFlow.removeCommonModuleActionReference(this.action, this.flowId, this.flowVersion), super.destroy(); - } - getErrors(e3) { - var t3, i3, n3; - const r3 = super.getErrors(e3); - if (!this.flowId || this.isRefreshingFlowReference) return r3; - const o2 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); - if (this._commonModuleFlowDoesNotExist) ; - else if (null == o2 ? void 0 : o2.viewModel) { - let t4 = null === (i3 = o2.viewModel) || void 0 === i3 ? void 0 : i3.info; - if (t4 || (t4 = this.getFlowInfoReference(this.flowId)), this.checkHasPermissionError(t4) || !(null === (n3 = o2.viewModel) || void 0 === n3 ? void 0 : n3.loaded)) r3.push(p.commonModule.commonModuleNotUsableMissingPermission); - else if (t4 && !t4.deleted) { - this.isMissingDestinationFlowType(o2.viewModel) && r3.push((0, a.sprintf)(e3 ? p.commonModule.flowTypeNotSupportedValidationError : p.commonModule.flowTypeNotSupported, this.parentFlow.info.flowTypeName)); - const i4 = this._getMissingLanguages(o2.viewModel); - i4.length && r3.push((0, a.sprintf)(e3 ? p.commonModule.languageNotSupportedValidationError : p.commonModule.languageNotSupported, i4)), o2.viewModel.getHasMissingTTSEngineErrors() && r3.push((0, a.sprintf)(p.audio.errorCommonModuleTTS, o2.viewModel.displayName)), this.isInvalidDebugFlowReference(t4) && r3.push(p.commonModule.debugPublishVersionNotAvailable), this.isInvalidPublishedFlowReference(t4) && r3.push(p.commonModule.publishedVersionNotAvailable); - } - } else r3.push(p.commonModule.internalError), this.traceTopic.traceOnce(`cm-missing-ref-${null === (t3 = this.action) || void 0 === t3 ? void 0 : t3.id}-${this.flowId}`, (e4) => e4.error(`CallCommonModule action has a missing embedded flow reference: ${this.flowId}`)); - return r3; - } - getFlowInfoReference(e3) { - const t3 = super.getFlowInfoReference(e3); - if (t3) return t3; - if (e3 === this.flowId) { - const e4 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); - return null == e4 ? void 0 : e4.flowInfoViewModel; - } - } - validate(e3) { - this.updateEmbeddedFlow(e3), super.validate(e3); - } - setFlowById(e3, t3, i3) { - return r2.__awaiter(this, void 0, void 0, function* () { - let n3; - i3 && (i3 = void 0), this.setIsRefreshingFlowReference(true); - try { - e3 && (n3 = this.getFlowInfoReference(e3), n3 && (i3 || n3.publishedDisplay) || (n3 = yield this.flowListManager.fullManager.fetchItem(e3))), n3 = yield this.setReferenceWithFlowInfo(n3, i3, t3); - } finally { - this.setIsRefreshingFlowReference(false), this.validateAction(); - } - return n3; - }); - } - setReferenceWithFlowInfo(e3, t3, i3) { - return r2.__awaiter(this, void 0, void 0, function* () { - if (e3 && e3.type !== this.flowType) throw new Error(`flowInfoViewModel is not of type ${this.flowType}`); - if (this.parentFlow.removeCommonModuleActionReference(this.action, this.flowId, this.flowVersion), !e3) return this.clearReference(), void this.validateAction(); - let n3, r3 = false; - this.setIsRefreshingFlowReference(true); - try { - this.flowName = e3.displayName, this.flowId = e3.id, this.flowVersion = t3, t3 || i3 ? !t3 && i3 ? (this.flowVersion = e3.debugVersionDisplay, this.isFlowRefLatestPublished = false, this.isFlowRefDebugPublish = true) : (this.isFlowRefLatestPublished = false, this.isFlowRefDebugPublish = false) : (this.flowVersion = e3.publishedDisplay, this.isFlowRefLatestPublished = true, this.isFlowRefDebugPublish = false), n3 = this.parentFlow.addCommonModuleActionReference(this.action, e3, void 0, this.flowVersion), n3.viewModel || e3.division && this.checkHasPermissionError(e3) || (n3.updateRequestedPromise ? yield n3.updateRequestedPromise : (n3.updateRequestedPromise = this.fetchEmbeddedFlow(e3, this.flowVersion), r3 = true, n3.viewModel = yield n3.updateRequestedPromise)), e3 = yield this.refreshFlowSchema(e3); - } finally { - r3 && n3 && (n3.updateRequestedPromise = void 0), this.setIsRefreshingFlowReference(false); - } - return e3; - }); - } - _initializeDesignTime() { - if (super._initializeDesignTime(), this.flowId) { - const e3 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); - if (this.parentFlow.initializeDesignTimeCalled && !(null == e3 ? void 0 : e3.viewModel)) return void this.forceFetchReference(); - (null == e3 ? void 0 : e3.viewModel) && e3.actionReferences.indexOf(this.action.id) < 0 && this.parentFlow.addCommonModuleActionReference(this.action, e3.viewModel.info, e3.viewModel, this.flowVersion); - } - } - forceFetchReference() { - return r2.__awaiter(this, void 0, void 0, function* () { - try { - this.setIsRefreshingFlowReference(true); - const e3 = yield this.flowListManager.getOrFetchItem(this.flowId); - if (e3) { - const t3 = yield this.fetchEmbeddedFlow(e3, this.flowVersion); - t3 ? (this._commonModuleFlowDoesNotExist = false, this.parentFlow.addCommonModuleActionReference(this.action, e3, t3, this.flowVersion)) : this._commonModuleFlowDoesNotExist = true, this.validateAction(true); - } - } catch (e3) { - 410 === e3.status && (this._commonModuleFlowDoesNotExist = true); - } finally { - this.setIsRefreshingFlowReference(false); - } - }); - } - clearReference() { - r2.__classPrivateFieldSet(this, n2, false, "f"), super.clearReference(); - } - getCommonModuleReference() { - return this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); - } - updateEmbeddedFlow(e3) { - const t3 = this.getCommonModuleReference(); - if (t3) { - let i3 = super.getFlowInfoReference(this.flowId); - if (!i3) return void this.traceTopic.warning("missing flowInfo reference, can not update embedded flow"); - if (t3.viewModel && e3.isDeep && (t3.viewModel.info.loadModel(i3), i3 = t3.viewModel.info, r2.__classPrivateFieldGet(this, n2, "f") && r2.__classPrivateFieldSet(this, n2, false, "f")), this.parentFlow.isReadOnly) return; - if (this.checkHasPermissionError(i3)) return; - let o2 = null; - if (this.isFlowRefLatestPublished && i3.publishedDisplay ? t3.viewModel && this.flowVersion === i3.publishedDisplay || (o2 = i3.publishedDisplay) : this.isFlowRefDebugPublish && i3.debugVersionDisplay && (t3.viewModel && this.flowVersion === i3.debugVersionDisplay || (o2 = i3.debugVersionDisplay)), o2) { - if (!e3.isDeep) return; - this.setIsRefreshingFlowReference(true); - let n3 = false; - t3.updateRequestedPromise || (e3.addError(this.action, (0, a.sprintf)(p.commonModule.embeddedFlowNeedsUpdated, this.flowName, this.flowVersion, o2)), this.traceTopic.info(`Action is referencing ${this.flowVersion} but ${o2} is the latest, getting latest`), n3 = true, t3.updateRequestedPromise = this.fetchEmbeddedFlow(i3, o2).finally(() => delete t3.updateRequestedPromise), e3.addRevalidateTrigger(t3.updateRequestedPromise, 60 * l.default.msPerSecond)), t3.updateRequestedPromise.then((e4) => { - if (e4) { - if (this.flowVersion !== o2) return this.traceTopic.info(`updated flow reference from version '${this.flowVersion}' to '${o2}'`), this.parentFlow.removeCommonModuleActionReference(this.action, this.flowId, this.flowVersion), this.flowVersion = o2, this.parentFlow.addCommonModuleActionReference(this.action, i3, e4, this.flowVersion), this.refreshFlowSchema(e4.info); - { - const t4 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); - t4 && !t4.viewModel && (t4.viewModel = e4); - } - } - }).finally(() => { - this.setIsRefreshingFlowReference(false), n3 && (t3.updateRequestedPromise = void 0); - }); - } - } - } - fetchEmbeddedFlow(e3, t3) { - return r2.__awaiter(this, void 0, void 0, function* () { - if (!e3.division || !this.checkHasPermissionError(e3)) { - r2.__classPrivateFieldSet(this, n2, false, "f"); - try { - const i3 = new u.default(e3, this.parentFlow); - return yield i3.requestConfiguration(t3, true, true), i3; - } catch (e4) { - return void (403 === e4.status ? r2.__classPrivateFieldSet(this, n2, true, "f") : this.traceTopic.requestError(e4, "failed to update embedded flow")); - } - } - }); - } - checkHasPermissionError(e3) { - return !(!e3.division || e3.canView || (r2.__classPrivateFieldSet(this, n2, true, "f"), 0)); - } - isMissingDestinationFlowType(e3) { - return !!(null == e3 ? void 0 : e3.loaded) && !e3.commonModuleSettings.destinationFlowTypes.find((e4) => e4 === this.parentFlow.type); - } - _getMissingLanguages(e3) { - if (null == e3 ? void 0 : e3.loaded) { - const t3 = e3.getMissingLanguages(); - if (t3) return s.getLanguageListDisplayStr(s.getLanguageEntries(t3)); - } - return []; - } - isInvalidDebugFlowReference(e3) { - return !!this.isFlowRefDebugPublish && !(null == e3 ? void 0 : e3.hasDebugPublish); - } - isInvalidPublishedFlowReference(e3) { - return !!this.isFlowRefLatestPublished && !(null == e3 ? void 0 : e3.isPublished); - } - static createCreateDetails() { - return { create: (e3, t3) => new _(e3, t3), getCreateClass: () => _, modelProperties: ["flowId", "flowName", "flowVersion", "flowLatestVersion", "flowDebugPublished"] }; - } - getConfiguration(e3, t3) { - var i3, n3, r3, o2; - const a2 = super.getConfiguration(e3, t3); - 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, d.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); - i4 && (i4.flow.compatibleFlowTypes = t4); - } - } - return a2; - } - } - t2.CommonModuleFlowReferenceProperty = _, n2 = /* @__PURE__ */ new WeakMap(); - }, 14113: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreSpeechRecViewModel = e3; - } - get displayTypeName() { - return "ArchSpeechRecTermContainers"; - } - get logStr() { - if (!this._coreSpeechRecViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreSpeechRecViewModel.menuChoice), this._createLogStrFromParts(e3); - } - getContainer(e3) { - const t3 = this._infoParm("archLanguage", "getContainer"); - this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance."), this._checkItem(t3, !this._coreSpeechRecViewModel.parentFlow.languages.isFlowSupportedLanguage(e3.tag), "the language " + e3.logStr + " is not a supported language in the flow."); - let i3 = this._coreSpeechRecViewModel.getContainer(e3.tag); - return i3 || (this._coreSpeechRecViewModel.refreshContainers(), i3 = this._coreSpeechRecViewModel.getContainer(e3.tag)), i3 || this._itemIsInvalid(t3, "could not find speech rec term container for the language " + e3.logStr), this.coreFactory.createArchWrapper(i3); - } - get isArchSpeechRecTermContainers() { - return true; - } - } - t2.default = r2; - }, 14115: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(91674), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.emergencyGroupManager); - } - get _globalTypeName() { - return "emergencyGroupCollection"; - } - get displayTypeName() { - return "ArchValueEmergencyGroupCollection"; - } - get _searchByValueSearchProperty() { - return "name"; - } - addLiteralByEmergencyGroupIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupId", "addLiteralByEmergencyGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByEmergencyGroupIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "emergencyGroup").then(() => r2.default.executeCallback(this, "addLiteralByEmergencyGroupIdAsync", t3, this)); - }); - } - addLiteralByEmergencyGroupNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupName", "addLiteralByEmergencyGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByEmergencyGroupNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "emergencyGroup").then(() => r2.default.executeCallback(this, "addLiteralByEmergencyGroupNameAsync", t3, this)); - }); - } - get isArchValueEmergencyGroupCollection() { - return true; - } - } - t2.default = s; - }, 14120: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.not = void 0, t2.not = function(e3, t3) { - return function(i2, n2) { - return !e3.call(t3, i2, n2); - }; - }; - }, 14134: (e2, t2, i2) => { - const n2 = i2(19420); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - function o() { - o.baseConstructor.apply(this, arguments); - } - function a() { - a.baseConstructor.apply(this, arguments); - } - function s() { - s.baseConstructor.apply(this, arguments); - } - function l() { - l.baseConstructor.apply(this, arguments); - } - function u() { - u.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(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 }); - const n2 = i2(31635).__importDefault(i2(55015)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - static createNotAvailable(e3 = "") { - return new r2({ isAvailable: false, id: e3 }); - } - static createAvailable(e3 = "") { - return new r2({ isAvailable: true, id: e3 }); - } - } - t2.default = r2; - }, 14175: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyOutcomeCollection"; - } - get displayTypeName() { - return "ArchValueJourneyOutcomeCollection"; - } - get isArchValueJourneyOutcomeCollection() { - return true; - } - } - t2.default = r2; - }, 14187: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.scopes = void 0, t2.containsScope = function(e3, t3) { - return n2.default.any(e3, (e4) => r2[e4].match.test(t3)); - }, t2.getUnscopedName = l, t2.getCasedScope = function(e3) { - if (!e3) return; - const i3 = r2[t2.scopes[e3.toLocaleLowerCase()]]; - return i3 ? i3.cased : void 0; - }, t2.getIsGlobalScope = function(e3) { - if (!e3) return false; - const i3 = r2[t2.scopes[e3.toLowerCase()]]; - return !!i3 && i3.isGlobalScope; - }, t2.getScope = function(e3) { - if (e3) { - const t3 = e3.match(o); - if (t3 && t3[1]) return s[t3[1].toLowerCase()]; - } - }, t2.setScope = function(e3, t3) { - if (r2[e3] || console.error("Using invalid scope value. please use one of the variableScope.scopes values"), u(e3, t3)) return t3; - const i3 = l(t3); - return r2[e3].cased + "." + i3; - }, t2.hasAnyScope = function(e3) { - return a.test(e3); - }, t2.hasScope = u; - const n2 = i2(31635).__importDefault(i2(92140)); - t2.scopes = { call: "call", chat: "chat", common: "common", bot: "bot", email: "email", flow: "flow", form: "form", interaction: "interaction", menu: "menu", message: "message", prompt: "prompt", promptSystem: "promptSystem", session: "session", slot: "slot", state: "state", survey: "survey", system: "system", task: "task", voice: "voice", voicemail: "voicemail", voiceSurvey: "voiceSurvey", workflow: "workflow", workitem: "workitem" }; - const r2 = { call: { cased: "Call", isGlobalScope: true, match: /^Call\./i }, chat: { cased: "Chat", isGlobalScope: true, match: /^Chat\./i }, common: { cased: "Common", match: /^Common\./i }, bot: { cased: "Bot", isGlobalScope: false, match: /^Bot\./i }, email: { cased: "Email", isGlobalScope: true, match: /^Email\./i }, flow: { cased: "Flow", isGlobalScope: true, match: /^Flow\./i }, form: { cased: "Form", isGlobalScope: true, match: /^Form\./i }, interaction: { cased: "Interaction", isGlobalScope: true, match: /^Interaction\./i }, menu: { cased: "Menu", isGlobalScope: true, match: /^Menu\./i }, message: { cased: "Message", isGlobalScope: true, match: /^Message\./i }, session: { cased: "Session", isGlobalScope: true, match: /^Session\./i }, slot: { cased: "Slot", isGlobalScope: true, match: /^Slot\./i }, state: { cased: "State", isGlobalScope: false, match: /^State\./i }, task: { cased: "Task", isGlobalScope: false, match: /^Task\./i }, prompt: { cased: "Prompt", isGlobalScope: true, match: /^Prompt\./i }, promptSystem: { cased: "PromptSystem", isGlobalScope: true, match: /^PromptSystem\./i }, survey: { cased: "Survey", isGlobalScope: true, match: /^Survey\./i }, system: { cased: "System", isGlobalScope: true, match: /^System\./i }, voice: { cased: "Voice", isGlobalScope: true, match: /^Voice\./i }, voicemail: { cased: "Voicemail", isGlobalScope: true, match: /^Voicemail\./i }, voiceSurvey: { cased: "VoiceSurvey", isGlobalScope: true, match: /^VoiceSurvey\./i }, workflow: { cased: "Workflow", isGlobalScope: true, match: /^Workflow\./i }, workitem: { cased: "Workitem", isGlobalScope: true, match: /^Workitem\./i } }, o = /^(.*)\./i, a = new RegExp(n2.default.map(t2.scopes, (e3) => "^" + e3 + "\\.").join("|"), "i"), s = {}; - function l(e3) { - return e3 ? e3.replace(a, "") : ""; - } - function u(e3, t3) { - return r2[e3] || console.error("Using invalid scope value. please use one of the variableScope.scopes values"), r2[e3].match.test(t3); - } - n2.default.each(t2.scopes, (e3) => { - s[e3.toLowerCase()] = e3; - }); - }, 14232: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getOAuthClientInfo = a; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(66299)); - function a(e3) { - return r2.default.build(o.getOAuthClientInfo).templateParams({ clientId: e3 }).call(); - } - a.api = o.getOAuthClientInfo; - }, 14240: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.KnowledgeMode = void 0, (function(e3) { - e3.statement = "statement", e3.task = "task"; - })(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)), c = n2.__importDefault(i2(80570)), d = i2(95443), p = i2(21733), _ = i2(47957); - class h extends c.default { - static get managedProperties() { - 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)); - } - get supportsCustomOutputPaths() { - return true; - } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(p(this.parentFlow.defaultLanguage).askForBoolean.question), this.parentFlow.isDigitalBotFlow ? (this.setNewInstanceNoInputText(p(this.parentFlow.defaultLanguage).askForBoolean.noInputDigitalBot), this.setNewInstanceNoMatchText(p(this.parentFlow.defaultLanguage).askForBoolean.noMatchDigitalBot)) : (this.setNewInstanceNoInputText(p(this.parentFlow.defaultLanguage).askForBoolean.noInput), this.setNewInstanceNoMatchText(p(this.parentFlow.defaultLanguage).askForBoolean.noMatch)), this.setBranchOutOfService(o.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(o.default.maxNoMatchesOptional.outputId); - } - static get branchInfo() { - 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, modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = h; - }, 14298: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - }, 14300: (e2, t2, i2) => { - const n2 = i2(75458), { encryptDataActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _dataToBeEncrypted: { writable: true }, _encryptedDataOutput: { writable: true }, _errorBindings: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.dataToEncrypt.pasteResolveOldToNewValues(e3), this.encryptedDataOutput.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.dataToEncrypt.pasteResolveOldToNewValues(e3), this.encryptedDataOutput.pasteResolveOldToNewValues(e3); - } }, dataToEncrypt: { enumerable: true, get: function() { - return this._dataToBeEncrypted; - }, set: function(e3) { - this._dataToBeEncrypted = this.reviveItem(e3, o); - } }, encryptedDataOutput: { enumerable: true, get: function() { - return this._encryptedDataOutput; - }, set: function(e3) { - this._encryptedDataOutput = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 14359: function(e2, t2, i2) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; - } - 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), 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; - } - return r2(t3, e3), t3.prototype._subscribe = function(e4) { - return this.getSubject().subscribe(e4); - }, t3.prototype.getSubject = function() { - var e4 = this._subject; - return e4 && !e4.isStopped || (this._subject = this.subjectFactory()), this._subject; - }, t3.prototype._teardown = function() { - this._refCount = 0; - var e4 = this._connection; - this._subject = this._connection = null, null == e4 || e4.unsubscribe(); - }, t3.prototype.connect = function() { - var e4 = this, t4 = this._connection; - if (!t4) { - t4 = this._connection = new a.Subscription(); - var i3 = this.getSubject(); - t4.add(this.source.subscribe(l.createOperatorSubscriber(i3, void 0, function() { - e4._teardown(), i3.complete(); - }, function(t5) { - e4._teardown(), i3.error(t5); - }, function() { - return e4._teardown(); - }))), t4.closed && (this._connection = null, t4 = a.Subscription.EMPTY); - } - return t4; - }, t3.prototype.refCount = function() { - return s.refCount()(this); - }, t3; - })(o.Observable); - 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(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); - } - get className() { - return "BooleanType"; - } - _getLiteralValueOfExpression(e3) { - var t3; - switch (null === (t3 = e3.text) || void 0 === t3 ? void 0 : t3.toLowerCase()) { - case a.default.true: - case "1": - case "t": - return a.default.true; - case a.default.false: - case "0": - case "f": - return a.default.false; - default: - return ""; - } - } - createExpressionOptionClass() { - return new o.ExpressionTypeBooleanOptions(this.isCollection); - } - getYamlObjectForLiteralSingleton(e3) { - 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 = c, c.typeIdentifier = s.expressionTypeNames.boolean; - }, 14394: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.globalTypes = void 0; - const n2 = i2(31635).__importDefault(i2(65302)); - function r2(e3) { - return n2.default.getGlobalTypeGroup().getType(e3); - } - function o(e3) { - return n2.default.getGlobalTypeGroup().getType(e3, true); - } - t2.globalTypes = new class { - get agentScorePair() { - return r2("cpx_agent_score_pair"); - } - get agentScorePairCollection() { - return o("cpx_agent_score_pair"); - } - get any() { - return r2("any"); - } - get anyCollection() { - return o("any"); - } - get anyAudio() { - return r2("apa"); - } - get anyAudioCollection() { - return o("apa"); - } - get anyComplex() { - return r2("acp"); - } - get anyComplexCollection() { - return o("acp"); - } - get assignedCustomerIntent() { - return r2("aci"); - } - get assignedCustomerIntentCollection() { - return o("aci"); - } - get assignedCustomerSegment() { - return r2("acs"); - } - get assignedCustomerSegmentCollection() { - return o("acs"); - } - get audio() { - return r2("aud"); - } - get boolean() { - return r2("bln"); - } - get booleanCollection() { - return o("bln"); - } - get campaign() { - return r2("cam"); - } - get card() { - return r2("crd"); - } - get cardCollection() { - return o("crd"); - } - get carousel() { - return r2("crs"); - } - get chatGuest() { - return r2("cpx_chat_guest"); - } - get chatGuestCollection() { - return o("cpx_chat_guest"); - } - get choice() { - return r2("chc"); - } - get choiceCollection() { - return o("chc"); - } - get chooser() { - return r2("chs"); - } - get communication() { - return r2("com"); - } - get communicationCollection() { - return o("com"); - } - get contactList() { - return r2("cnl"); - } - get currency() { - return r2("cur"); - } - get currencyCollection() { - return o("cur"); - } - get customerIntent() { - return r2("cin"); - } - get customerIntentCollection() { - return o("cin"); - } - get customerSegment() { - return r2("csg"); - } - get customerSegmentCollection() { - return o("csg"); - } - get date() { - return r2("dat"); - } - get dateCollection() { - return o("dat"); - } - get dateTime() { - return r2("dtm"); - } - get dateTimeCollection() { - return o("dtm"); - } - get decimal() { - return r2("dec"); - } - get decimalCollection() { - return o("dec"); - } - get digitalAudio() { - return r2("dia"); - } - get digitalAudioCollection() { - return o("dia"); - } - get division() { - return r2("dvn"); - } - get divisionCollection() { - return o("dvn"); - } - get draftEmail() { - return r2("jsn__architect::draft_email"); - } - get draftEmailAddress() { - return r2("jsn__architect::draft_email_address"); - } - get draftEmailAddressCollection() { - return o("jsn__architect::draft_email_address"); - } - get draftEmailAttachment() { - return r2("jsn__architect::draft_email_attachment"); - } - get draftEmailAttachmentCollection() { - return o("jsn__architect::draft_email_attachment"); - } - get duration() { - return r2("dur"); - } - get durationCollection() { - return o("dur"); - } - get email() { - return r2("cpx_email"); - } - get emailCollection() { - return o("cpx_email"); - } - get emailAddress() { - return r2("cpx_email_address"); - } - get emailAddressCollection() { - return o("cpx_email_address"); - } - get emailAttachment() { - return r2("cpx_email_attachment"); - } - get emailAttachmentCollection() { - return o("cpx_email_attachment"); - } - get emergencyGroup() { - return r2("emg"); - } - get emergencyGroupCollection() { - return o("emg"); - } - get emptyJson() { - return r2("jsn__architect::empty_json"); - } - get emptyJsonCollection() { - return o("jsn__architect::empty_json"); - } - get externalAddress() { - return r2("cpx_external_address"); - } - get externalAddressCollection() { - return o("cpx_external_address"); - } - get externalAppleInfo() { - return r2("cpx_external_apple_info"); - } - get externalAppleInfoCollection() { - return o("cpx_external_apple_info"); - } - get externalContact() { - return r2("cpx_external_contact"); - } - get externalContactCollection() { - return o("cpx_external_contact"); - } - get externalFacebookId() { - return r2("cpx_external_facebook_id"); - } - get externalFacebookIdCollection() { - return o("cpx_external_facebook_id"); - } - get externalFacebookInfo() { - return r2("cpx_external_facebook_info"); - } - get externalFacebookInfoCollection() { - return o("cpx_external_facebook_info"); - } - get externalIdInfo() { - return r2("cpx_external_id_info"); - } - get externalIdInfoCollection() { - return o("cpx_external_id_info"); - } - get externalInstagramInfo() { - return r2("cpx_external_instagram_info"); - } - get externalInstagramInfoCollection() { - return o("cpx_external_instagram_info"); - } - get externalInstagramScopedId() { - return r2("cpx_external_instagram_scoped_id"); - } - get externalInstagramScopedIdCollection() { - return o("cpx_external_instagram_scoped_id"); - } - get externalLineId() { - return r2("cpx_external_line_id"); - } - get externalLineIdCollection() { - return o("cpx_external_line_id"); - } - get externalLineInfo() { - return r2("cpx_external_line_info"); - } - get externalLineInfoCollection() { - return o("cpx_external_line_info"); - } - get externalLinkConfiguration() { - return r2("cpx_external_link_configuration"); - } - get externalLinkConfigurationCollection() { - return o("cpx_external_link_configuration"); - } - get externalOrganization() { - return r2("cpx_external_organization"); - } - get externalOrganizationCollection() { - return o("cpx_external_organization"); - } - get externalPhoneNumber() { - return r2("cpx_external_phone_number"); - } - get externalPhoneNumberCollection() { - return o("cpx_external_phone_number"); - } - get externalSource() { - return r2("cpx_external_source"); - } - get externalSourceCollection() { - return o("cpx_external_source"); - } - get externalTwitterInfo() { - return r2("cpx_external_twitter_info"); - } - get externalTwitterInfoCollection() { - return o("cpx_external_twitter_info"); - } - get externalWhatsAppInfo() { - return r2("cpx_external_whats_app_info"); - } - get externalWhatsAppInfoCollection() { - return o("cpx_external_whats_app_info"); - } - get file() { - return r2("fil"); - } - get fileCollection() { - return o("fil"); - } - get formInput() { - return r2("fip"); - } - get grammar() { - return r2("gmr"); - } - get grammarCollection() { - return o("gmr"); - } - get group() { - return r2("grp"); - } - get groupCollection() { - return o("grp"); - } - get image() { - return r2("img"); - } - get imageCollection() { - return o("img"); - } - get integer() { - return r2("int"); - } - get integerCollection() { - return o("int"); - } - get issueInfo() { - return r2("jsn__architect::issue_info"); - } - get issueInfoCollection() { - return o("jsn__architect::issue_info"); - } - get journeyAction() { - return r2("cpx_journey_action"); - } - get journeyActionMap() { - return r2("cpx_journey_action_map"); - } - get journeyApp() { - return r2("cpx_journey_app"); - } - get journeyBrowser() { - return r2("cpx_journey_browser"); - } - get journeyCampaign() { - return r2("cpx_journey_campaign"); - } - get journeyContext() { - return r2("cpx_journey_context"); - } - get journeyCustomEventAttribute() { - return r2("cpx_journey_custom_event_attribute"); - } - get journeyCustomEventAttributeCollection() { - return o("cpx_journey_custom_event_attribute"); - } - get journeyCustomEventAttributeList() { - return r2("cpx_journey_custom_event_attribute_list"); - } - get journeyCustomEventAttributeListCollection() { - return o("cpx_journey_custom_event_attribute_list"); - } - get journeyCustomer() { - return r2("cpx_journey_customer"); - } - get journeyCustomerSession() { - return r2("cpx_journey_customer_session"); - } - get journeyDevice() { - return r2("cpx_journey_device"); - } - get journeyGeolocation() { - return r2("cpx_journey_geolocation"); - } - get journeyNetworkConnectivity() { - return r2("cpx_journey_network_connectivity"); - } - get journeyOutcome() { - return r2("cpx_journey_outcome"); - } - get journeyOutcomeCollection() { - return o("cpx_journey_outcome"); - } - get journeyOutcomeScore() { - return r2("cpx_journey_outcome_score"); - } - get journeyOutcomeScoreCollection() { - return o("cpx_journey_outcome_score"); - } - get journeyPage() { - return r2("cpx_journey_page"); - } - get journeyReferrer() { - return r2("cpx_journey_referrer"); - } - get journeySdkLibrary() { - return r2("cpx_journey_sdk_library"); - } - get journeySegment() { - return r2("cpx_journey_segment"); - } - get journeySegmentCollection() { - return o("cpx_journey_segment"); - } - get journeySession() { - return r2("cpx_journey_session"); - } - get journeySessionCollection() { - return o("cpx_journey_session"); - } - get journeySessionOutcomeAchievement() { - return r2("cpx_journey_session_outcome_achievement"); - } - get journeySessionOutcomeAchievementCollection() { - return o("cpx_journey_session_outcome_achievement"); - } - get journeySessionSegmentAssignment() { - return r2("cpx_journey_session_segment_assignment"); - } - get journeySessionSegmentAssignmentCollection() { - return o("cpx_journey_session_segment_assignment"); - } - get json() { - return r2("jsn"); - } - get jsonCollection() { - return o("jsn"); - } - get knowledgeBaseDocument() { - return r2("kbd"); - } - get knowledgeBaseDocumentCollection() { - return o("kbd"); - } - get knowledgeBaseDocumentCategory() { - return r2("cpx_knowledge_base_document_category"); - } - get knowledgeBaseDocumentLabel() { - return r2("cpx_knowledge_base_document_label"); - } - get knowledgeBaseDocumentLabelCollection() { - return o("cpx_knowledge_base_document_label"); - } - get languageSkill() { - return r2("lac"); - } - get languageSkillCollection() { - return o("lac"); - } - get lineItem() { - return r2("lni"); - } - get lineItemCollection() { - return o("lni"); - } - get listPicker() { - return r2("lpk"); - } - get listPickerItem() { - return r2("lpi"); - } - get listPickerItemCollection() { - return o("lpi"); - } - get listPickerSection() { - return r2("lps"); - } - get listPickerSectionCollection() { - return o("lps"); - } - get messageAddressInfo() { - return r2("cpx_message_address_info"); - } - get messageAddressInfoCollection() { - return o("cpx_message_address_info"); - } - get messageStickerInfo() { - return r2("cpx_message_sticker_info"); - } - get messageStickerInfoCollection() { - return o("cpx_message_sticker_info"); - } - get notSet() { - return r2("nts"); - } - get phoneNumber() { - return r2("phn"); - } - get phoneNumberCollection() { - return o("phn"); - } - get prompt() { - return r2("pmt"); - } - get promptCollection() { - return o("pmt"); - } - get queue() { - return r2("que"); - } - get queueCollection() { - return o("que"); - } - get quickReplies() { - return r2("qrl"); - } - get responseAsset() { - return r2("rpa"); - } - get responseAssetCollection() { - return o("rpa"); - } - get schedule() { - return r2("sch"); - } - get scheduleCollection() { - return o("sch"); - } - get scheduleGroup() { - return r2("scg"); - } - get scheduleGroupCollection() { - return o("scg"); - } - get shippingOption() { - return r2("sho"); - } - get shippingOptionCollection() { - return o("sho"); - } - get shortMessage() { - return r2("cpx_short_message"); - } - get shortMessageCollection() { - return o("cpx_short_message"); - } - get skill() { - return r2("skl"); - } - get skillCollection() { - return o("skl"); - } - get skillExpressionFilter() { - return r2("jsn__architect::skill_expression_filter"); - } - get skillExpressionFilterCollection() { - return o("jsn__architect::skill_expression_filter"); - } - get string() { - return r2("str"); - } - get stringCollection() { - return o("str"); - } - get stringKeyValuePair() { - return r2("cpx_string_key_value_pair"); - } - get stringKeyValuePairCollection() { - return o("cpx_string_key_value_pair"); - } - get surveyAnswerOption() { - return r2("sao"); - } - get surveyAnswerOptionCollection() { - return o("sao"); - } - get surveyForm() { - return r2("sfo"); - } - get surveyQuestion() { - return r2("squ"); - } - get surveyQuestionCollection() { - return o("squ"); - } - get surveyQuestionGroup() { - return r2("sqg"); - } - get surveyQuestionGroupCollection() { - return o("sqg"); - } - get time() { - return r2("tim"); - } - get timeCollection() { - return o("tim"); - } - get timePicker() { - return r2("tpk"); - } - get timeslot() { - return r2("tsl"); - } - get timeslotCollection() { - return o("tsl"); - } - get userQueue() { - return r2("usr"); - } - get userQueueCollection() { - return o("usr"); - } - get utilizationLabel() { - return r2("cul"); - } - get utilizationLabelCollection() { - return o("cul"); - } - get video() { - return r2("vid"); - } - get videoCollection() { - return o("vid"); - } - get voiceSnippet() { - return r2("cpx_voice_snippet"); - } - get voicemailSnippet() { - return r2("cpx_voicemail_snippet"); - } - get wheelPicker() { - return r2("wpk"); - } - get wheelPickerItem() { - return r2("wpi"); - } - get wheelPickerItemCollection() { - return o("wpi"); - } - get workbin() { - return r2("cpx_workbin"); - } - get workbinCollection() { - return o("cpx_workbin"); - } - get workitem() { - return r2("cpx_workitem"); - } - get workitemEventData() { - return r2("jsn__architect::workitem_event_data"); - } - get workitemEventRule() { - return r2("jsn__architect::workitem_event_rule"); - } - get worktypeStatus() { - return r2("cpx_worktype_status"); - } - get worktypeStatusCollection() { - return o("cpx_worktype_status"); - } - get wrapupCode() { - return r2("wrc"); - } - get wrapupCodeCollection() { - return o("wrc"); - } - }(); - }, 14443: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isString = t2.isEmptyObject = void 0, t2.isEmptyObject = function(e3) { - return e3 && Object.keys(e3).length < 1; - }, t2.isString = function(e3) { - return "string" == typeof e3; - }; - }, 14517: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(8471)); - class a extends o.default { - constructor(e3) { - super(), this._coreFlowVersionModel = e3; - } - get displayTypeName() { - return "ArchFlowInfoVersion"; - } - get logStr() { - if (!this._coreFlowVersionModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - get isArchFlowInfoVersion() { - return true; - } - get dateCreated() { - if (r2.default.isActualNumber(this._coreFlowVersionModel.dateCreated) && !isNaN(this._coreFlowVersionModel.dateCreated) && this._coreFlowVersionModel.dateCreated > 0) return new Date(this._coreFlowVersionModel.dateCreated); - } - get versionStr() { - if (r2.default.isString(this._coreFlowVersionModel.commitVersion)) return this._coreFlowVersionModel.commitVersion; - } - } - 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), 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(); - } - _resetMaps() { - this._dependencyVariableViewModelMap = {}, this._dependencyFlowUiMetaDataSectionMap = {}, this._dependencyCustomDataTypeDefViewModelMap = {}; - } - loadModel(e3) { - this._dependenciesModel = e3, this._resetMaps(), n2.each(e3.dependencyFlowUiMetaDataModels, function(e4) { - const t3 = new o(e4, this.clipboardLogging); - let i3 = this._dependencyFlowUiMetaDataSectionMap[t3.metaDataSectionName]; - i3 || (i3 = {}, this._dependencyFlowUiMetaDataSectionMap[t3.metaDataSectionName] = i3), i3[t3.metaDataId] = t3; - }.bind(this)), n2.each(e3.dependencyCustomDataTypes, (e4) => { - const t3 = new u(e4, this.clipboardLogging); - this._dependencyCustomDataTypeDefViewModelMap[t3.dataTypeId] = t3; - }), n2.each(e3.dependencyVariableModels, function(e4) { - const t3 = new a(e4, this.clipboardLogging); - this._dependencyVariableViewModelMap[t3.variableId] = t3; - }.bind(this)); - } - addClipboardDependencyVariableViewModel(e3) { - 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(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(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; - } - get logHeader() { - return "clipboard dependencies object (ID: '" + this.id + "')"; - } - paste(e3) { - let t3; - this.pushLogHeader(this.logHeader); - try { - if (this.log("Clipboard dependencies processing begin."), this.log("Clipboard dependencies processing custom data type definitions."), t3 = this._performPasteDependencyCustomDataTypeDefs(e3), t3.isFailure) return t3; - if (this.log("Clipboard dependencies processing dependent variables."), t3 = this._performPasteDependencyVariables(e3), t3.isFailure) return t3; - if (this.log("Clipboard dependencies processing flow UI meta data entries."), t3 = this._performPasteDependencyFlowUiMetaData(e3), t3.isFailure) return t3; - this.log("Clipboard dependencies processing end. Successful."); - } catch (e4) { - t3 = this.createClipboardResultFailurePasteException(e4, "exception caught in clipboard dependencies view model paste"); - } finally { - this.popLogHeader(); - } - return t3; - } - _performPasteDependencyFlowUiMetaData(e3) { - let t3 = this.createClipboardResultSuccess(); - return n2.find(this.dependencyFlowUiMetaDataSectionMap, function(i3, r3) { - return n2.find(i3, function(i4) { - return t3 = i4.paste(e3), t3.isFailure; - }); - }), t3; - } - _performPasteDependencyVariables(e3) { - let t3 = this.createClipboardResultSuccess(); - const i3 = n2.values(this.dependencyVariableViewModelMap); - if (!i3 || 0 === i3.length) return t3; - for (let n3 = 0; n3 < i3.length; n3++) { - const r3 = i3[n3]; - if (r3.shouldPaste(e3)) { - if (t3 = i3[n3].paste(e3), t3.isFailure) break; - } else { - this.pushLogHeader(r3.logHeader); - try { - this.log("Not pasting content dependency variable because it only had usages in flow types " + r3.supportedFlowTypes.join(",")); - } finally { - this.popLogHeader(); - } - } - } - return t3; - } - _performPasteDependencyCustomDataTypeDefs(e3) { - let t3 = this.createClipboardResultSuccess(); - const i3 = n2.values(this.dependencyCustomDataTypeDefViewModelMap); - for (let n3 = 0; n3 < i3.length && (t3 = i3[n3].paste(e3), !t3.isFailure); n3++) ; - return t3; - } - _performDestroy() { - this.pushLogHeader(this.logHeader); - try { - n2.each(this._dependencyFlowUiMetaDataSectionMap, function(e3) { - n2.each(e3, function(e4) { - e4.destroy(); - }); - }.bind(this)), n2.each(this._dependencyVariableViewModelMap, function(e3) { - e3.destroy(); - }.bind(this)), n2.each(this._dependencyCustomDataTypeDefViewModelMap, (e3) => { - e3.destroy(); - }), this._resetMaps(); - } catch (e3) { - } finally { - this.popLogHeader(); - } - } - get dependencyFlowUiMetaDataSectionMap() { - return this._dependencyFlowUiMetaDataSectionMap; - } - get dependencyVariableViewModelMap() { - return this._dependencyVariableViewModelMap; - } - get dependencyCustomDataTypeDefViewModelMap() { - 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.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 = 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(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 g.info(`${r3} custom expression type definition(s) created.`), n3; - } - 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 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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "surveyAnswerOption"; - } - get displayTypeName() { - return "ArchVariableSurveyAnswerOption"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableSurveyAnswerOption() { - return true; - } - } - t2.default = r2; - }, 14744: (e2, t2, i2) => { - "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 = c, t2.getDatePlaybackOptions = d, t2.getPlaybackOptions = function(e3, t3) { - switch (e3) { - case a.globalTypes.boolean: - return g(t3); - case a.globalTypes.currency: - return S(t3); - case a.globalTypes.date: - return d(t3); - case a.globalTypes.dateTime: - return c(t3); - case a.globalTypes.decimal: - return _(t3); - case a.globalTypes.duration: - return p(); - case a.globalTypes.integer: - return h(t3); - case a.globalTypes.json: - return m(); - case a.globalTypes.phoneNumber: - return f(); - case a.globalTypes.prompt: - return T(); - case a.globalTypes.string: - return A(t3); - case a.globalTypes.voiceSnippet: - return y(); - } - }, 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) { - const e4 = `${i3} not found for adding to data sequence item`; - return void l.error(e4); - } - 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"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(62957)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseActionBot"; - } - get isArchBaseActionBotWithSessionVariables() { - return true; - } - addSessionVariableNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addSessionVariableNameValuePair"), t3, true), this.sessionVariables._addNameValueAssignment(e3, t3, false, true); - } - get sessionVariables() { - const e3 = this._getCoreViewModel().sessionVariables; - if (e3) return this.coreFactory.createArchBaseValueContainer(e3); - } - } - t2.default = r2; - }, 14823: (e2) => { - "use strict"; - var t2 = (function() { - for (var e3, t3 = [], i2 = 0; i2 < 256; i2++) { - e3 = i2; - for (var n2 = 0; n2 < 8; n2++) e3 = 1 & e3 ? 3988292384 ^ e3 >>> 1 : e3 >>> 1; - t3[i2] = e3; - } - return t3; - })(); - e2.exports = function(e3, i2, n2, r2) { - var o = t2, a = r2 + n2; - e3 ^= -1; - for (var s = r2; s < a; s++) e3 = e3 >>> 8 ^ o[255 & (e3 ^ i2[s])]; - return -1 ^ e3; - }; - }, 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), 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 }]; - } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - } - 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; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(30801), a = i2(96618), s = i2(27862); - class l extends r2.BriefFlowListManager { - get dependencyType() { - return s.VoiceFlow; - } - constructor() { - super(), this.topic = n2.getTopic("BriefVoiceFlowListManager"), this.additionalQueryParams = { type: a.flowTypes.flowTypeVoice }, this.className = "BriefVoiceFlowListManager", this.uiMetadataSectionName = "voiceFlows", this.actionsForUsageSearch = [o.callVoiceFlowActionType], this.actionPropertyForUsageSearch = "voiceFlow", this.flowType = a.flowTypes.flowTypeVoice, this._initialize(); - } - } - t2.briefVoiceFlowListManager = new l(); - }, 14961: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(74359), o = i2(81086), a = i2(12847), { isoLanguages: s } = i2(24812), l = i2(24032).getTopic("runtimeLanguageFeatures"); - function u() { - u.baseConstructor.call(this), Object.defineProperties(this, { supportedLanguages: { value: {}, writable: true } }), r2.bootstrapLanguageDataLoaded.then(function() { - this.processLanguageChanges(); - }.bind(this)), u.instances.push(this); - } - u.instances = [], o.extend(u), Object.defineProperties(u.prototype, { processLanguageChanges: { value: function() { - this.supportedLanguages = {}; - const e3 = { enabled: [], disabled: [] }; - n2.each(this.languageSequences, function(t3, i3) { - if ("fallbackSequence" === i3) return; - const r3 = s[i3]; - r3 ? r3.features && r3.features[this.adsSectionName] && r3.features[this.adsSectionName].flowTypes && n2.findWhere(r3.features[this.adsSectionName].flowTypes, { isAvailable: true }) ? (this.supportedLanguages[r3.id] = t3, e3.enabled.push(i3)) : e3.disabled.push(i3) : l.error("Could not find isoLanguage for " + i3); - }.bind(this)), a.table(`Audio Sequence ${this.adsSectionName} support`, e3); - } }, supportsFlow: { value: function(e3, t3) { - if (!e3) return false; - const i3 = s[e3.toLocaleLowerCase()]; - return i3 ? i3.features[this.adsSectionName].flowTypes ? t3.destinationFlowTypes.every((t4) => i3.features[this.adsSectionName].flowTypes[t4] ? i3.features[this.adsSectionName].flowTypes[t4].isAvailable : (l.error(`${this.adsSectionName}.flowTypes[${t4}] not found for language ${e3}`), false)) : (l.error(`${this.adsSectionName}.flowTypes not found for language ${e3}`), false) : (l.error("Could not find isoLanguage for " + e3), false); - } } }), e2.exports = u; - }, 14994: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(43212); - class o extends r2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3); - } - get className() { - return "DialogEngineBotViewModel"; - } - get activeVersion() { - return n2.default.isObject(this.model.activeVersion) && n2.default.isString(this.model.activeVersion.id) ? this.model.activeVersion.id : ""; - } - get botName() { - return this.model.name; - } - get getConfiguration() { - return this.model; - } - get id() { - return this.model.id; - } - get label() { - return this.name; - } - get name() { - return this.model.name; - } - } - t2.default = o; - }, 15008: (e2, t2, i2) => { - 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); - } - n2.extend(s, "BotFlowEventHandlingSettings"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this._agentEscalationConfirmationCommunication.pasteReIdOrRename(e3), this._agentEscalationHandoverCommunication.pasteReIdOrRename(e3), this._enableAgentEscalation.pasteReIdOrRename(e3), this._errorEventHandoverCommunication.pasteReIdOrRename(e3), this._recognitionEventHandoverCommunication.pasteReIdOrRename(e3), this._subsequentRecognitionFailuresHandlingType.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this._agentEscalationConfirmationCommunication.pasteResolveOldToNewValues(e3), this._agentEscalationHandoverCommunication.pasteResolveOldToNewValues(e3), this._enableAgentEscalation.pasteResolveOldToNewValues(e3), this._errorEventHandoverCommunication.pasteResolveOldToNewValues(e3), this._recognitionEventHandoverCommunication.pasteResolveOldToNewValues(e3), this._subsequentRecognitionFailuresHandlingType.pasteResolveOldToNewValues(e3); - } }, recognitionHandlingType: { enumerable: true, get: function() { - return this._recognitionHandlingType; - }, set: function(e3) { - this._recognitionHandlingType = this.reviveEnum(e3, r2); - } }, agentEscalationConfirmation: { enumerable: true, get: function() { - return this._agentEscalationConfirmationCommunication; - }, set: function(e3) { - this._agentEscalationConfirmationCommunication = this.reviveItem(e3, o); - } }, agentEscalationHandover: { enumerable: true, get: function() { - return this._agentEscalationHandoverCommunication; - }, set: function(e3) { - this._agentEscalationHandoverCommunication = this.reviveItem(e3, o); - } }, enableAgentEscalation: { enumerable: true, get: function() { - return this._enableAgentEscalation; - }, set: function(e3) { - this._enableAgentEscalation = this.reviveItem(e3, o); - } }, errorEventHandover: { enumerable: true, get: function() { - return this._errorEventHandoverCommunication; - }, set: function(e3) { - this._errorEventHandoverCommunication = this.reviveItem(e3, o); - } }, recognitionEventHandover: { enumerable: true, get: function() { - return this._recognitionEventHandoverCommunication; - }, set: function(e3) { - this._recognitionEventHandoverCommunication = this.reviveItem(e3, o); - } }, agentEscalationHandlingType: { enumerable: true, get: function() { - return this._agentEscalationHandlingType; - }, set: function(e3) { - this._agentEscalationHandlingType = this.reviveEnum(e3, r2); - } }, subsequentRecognitionFailuresHandlingType: { enumerable: true, get: function() { - return this._subsequentRecognitionFailuresHandlingType; - }, set: function(e3) { - this._subsequentRecognitionFailuresHandlingType = this.reviveEnum(e3, a); - } } }), e2.exports = s; - }, 15019: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.tap = void 0; - var n2 = i2(10281), r2 = i2(65212), o = i2(17214), a = i2(87699); - t2.tap = function(e3, t3, i3) { - var s = n2.isFunction(e3) || t3 || i3 ? { next: e3, error: t3, complete: i3 } : e3; - return s ? r2.operate(function(e4, t4) { - var i4; - null === (i4 = s.subscribe) || void 0 === i4 || i4.call(s); - var n3 = true; - e4.subscribe(o.createOperatorSubscriber(t4, function(e5) { - var i5; - null === (i5 = s.next) || void 0 === i5 || i5.call(s, e5), t4.next(e5); - }, function() { - var e5; - n3 = false, null === (e5 = s.complete) || void 0 === e5 || e5.call(s), t4.complete(); - }, function(e5) { - var i5; - n3 = false, null === (i5 = s.error) || void 0 === i5 || i5.call(s, e5), t4.error(e5); - }, function() { - var e5, t5; - n3 && (null === (e5 = s.unsubscribe) || void 0 === e5 || e5.call(s)), null === (t5 = s.finalize) || void 0 === t5 || t5.call(s); - })); - }) : a.identity; - }; - }, 15086: (e2) => { - "use strict"; - 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), 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); - } - static get branchInfo() { - return l.default.foundPartiallyFoundNotFound; - } - static get managedProperties() { - 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 }); - } - } - 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; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(80295), a = i2(19596); - class s extends a.DataContract { - constructor(e3) { - super(e3); - } - get entities() { - return this._entities; - } - set entities(e3) { - r2.default.isArray(e3) && (this._entities = e3); - } - get results() { - return this.entities; - } - set results(e3) { - this.entities = e3; - } - get nextUri() { - return this._nextUri; - } - set nextUri(e3) { - this._nextUri = e3; - } - get total() { - return this._total; - } - set total(e3) { - this._total = e3; - } - get pageSize() { - return this._pageSize; - } - set pageSize(e3) { - this._pageSize = e3; - } - get pageNumber() { - return this._pageNumber; - } - set pageNumber(e3) { - this._pageNumber = e3; - } - get pageCount() { - return this._pageCount; - } - set pageCount(e3) { - this._pageCount = e3; - } - } - t2.PagedList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "results", null); - }, 15117: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeCustomerIntentOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeCustomerIntentOptions"; - } - get isExpressionTypeCustomerIntentOptions() { - return true; - } - get supportsLiteralMode() { - return this.isCollection; - } - } - t2.ExpressionTypeCustomerIntentOptions = r2; - }, 15129: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.WheelPickerItemType = t2.PROP_VALUE = t2.PROP_TITLE = void 0; - const n2 = i2(91437), r2 = i2(80428), o = i2(94765); - t2.PROP_TITLE = "title", t2.PROP_VALUE = "value"; - class a extends o.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "WheelPickerItemType"; - } - convertLitToExpression(e3, t3) { - return ""; - } - _getLiteralValueOfExpression() { - return ""; - } - createExpressionOptionClass() { - return new n2.ExpressionTypeWheelPickerItemOptions(); - } - get supportsLiteralEditor() { - return true; - } - getPropTitle(e3) { - return e3.getProperty(t2.PROP_TITLE); - } - getPropValue(e3) { - return e3.getProperty(t2.PROP_VALUE); - } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`wheel-picker-item-${i3.name}`), n3.options.setIsOptional(true), n3.options.setDefaultToNoValue(true), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_TITLE: - case t2.PROP_VALUE: - } - } - } - t2.WheelPickerItemType = a, a.typeIdentifier = r2.expressionTypeNames.wheelPickerItem; - }, 15137: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(88827)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseActionWithOutputsFoundNotFoundPartiallyFound"; - } - get isArchBaseActionWithOutputsFoundNotFoundPartiallyFound() { - return true; - } - get outputPartiallyFound() { - return this._getOutputById(r2.outputIds.partiallyFound, true); - } - } - t2.default = a; - }, 15138: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "shortMessageCollection"; - } - get displayTypeName() { - return "ArchValueShortMessageCollection"; - } - get isArchValueShortMessageCollection() { - return true; - } - } - t2.default = r2; - }, 15139: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(97361); - e2.exports = class extends n2 { - get flowId() { - return this._flowId; - } - set flowId(e3) { - this._flowId = e3; - } - get flowType() { - return this._flowType; - } - set flowType(e3) { - this._flowType = e3; - } - get id() { - return this._id; - } - set id(e3) { - this._id = e3; - } - get organizationId() { - return this._organizationId; - } - set organizationId(e3) { - this._organizationId = e3; - } - get actionName() { - return this._actionName; - } - set actionName(e3) { - this._actionName = e3; - } - get actionStatus() { - return this._actionStatus; - } - set actionStatus(e3) { - this._actionStatus = e3; - } - get started() { - return this._started; - } - set started(e3) { - this._started = e3; - } - get complete() { - return this._complete; - } - set complete(e3) { - this._complete = e3; - } - get completed() { - return this._completed; - } - set completed(e3) { - this._completed = e3; - } - get results() { - return this._results; - } - set results(e3) { - this._results = this.reviveItem(e3, r2); - } - get errorMessage() { - return this._errorMessage; - } - set errorMessage(e3) { - this._errorMessage = e3; - } - }; - }, 15144: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.taskActionActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionTask() { - return true; - } - get task() { - const e3 = this._coreActionViewModel.taskReference, t3 = this._coreActionViewModel.parentFlow.getTaskById(e3); - return this.coreFactory.createArchWrapper(t3); - } - } - t2.default = o; - }, 15179: (e2, t2, i2) => { - "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 = i2(47957), l = "slotTypeSettings"; - class u extends a.default { - get id() { - return l; - } - static get id() { - return l; - } - get showInFlowSize() { - return false; - } - get className() { - return "SlotTypeSettingsViewModel"; - } - getDisplayName() { - return s.slotTypes.label; - } - get isSlotSettingsViewModel() { - return true; - } - get isSlotTypeSettingNode() { - return true; - } - get nodeGuxIcon() { - return "file-text"; - } - get helpTopic() { - return o.helpTopics.treeNodes.slotTypeSettings; - } - get workbenchArchNodeName() { - return r2.default.nodeIds.slotTypes; - } - _destroy() { - super._destroy(); - } - } - t2.default = u; - }, 15244: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(57731), o = i2(47957), a = i2(17604).sprintf, s = {}; - function l(e3, t3, i3, n3, r3) { - s[e3] = this, s[t3] = this, l.baseConstructor.apply(this, arguments), Object.defineProperty(this, "displayName", { value: i3, writable: true }), this.scriptingName = n3, this.description = r3; - } - r2.extend(l, "ErrorHandlingType"), l.getInstance = function(e3) { - return s[n2.isString(e3) || n2.isActualNumber(e3) ? e3 : 0] || s[0]; - }, l.Disconnect = new l(0, "Disconnect", o.actions.disconnect, "disconnect"), l.Queue = new l(1, "Queue", o.customNodes.errorHandling.queueTransfer, "queue"), l.Menu = new l(2, "Menu", o.actions.menuJump, "menu"), l.Task = new l(3, "Task", o.actions.taskTransfer, "task"), l.State = new l(4, "State", o.actions.changeState, "state"), l.EndWorkflow = new l(5, "EndWorkflow", o.actions.endWorkflow, "endWorkflow"), l.Exit = new l(6, "Exit", o.customNodes.errorHandling.exit, "exit"), l.EndInQueueState = new l(7, "EndInQueueState", o.actions.endState, "endInQueueState", a(o.customNodes.errorHandling.errorHandlingEndInQueueStateDescription, o.periodicStateDisplayName)), l.EndFlow = new l(8, "EndFlow", o.customNodes.errorHandling.errorHandlingEndFlow, "endFlow", o.customNodes.errorHandling.errorHandlingEndFlowDescription), l.Continue = new l(0, "Continue", o.customNodes.errorHandling.errorHandlingContinue, "continue"), l.AbortSend = new l(9, "AbortSend", o.actions.abortSend, "abortSend"), l.CompleteSend = new l(10, "CompleteSend", o.actions.completeSend, "completeSend"), e2.exports = l; - }, 15321: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(47957), o = i2(97591); - function a() { - Object.defineProperties(this, { _display: { writable: true } }), this.id = void 0, this.name = void 0, this.organization = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, "AuditUser"), Object.defineProperties(a.prototype, { display: { get: function() { - return this.id === o.systemUser ? r2.user.system : this._display || this.name; - }, set: function(e3) { - this._display = e3; - } } }), e2.exports = a; - }, 15338: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(45214), o = i2(67513); - function a(e3) { - const t3 = { title: "Variables", description: "The custom variables for this script", type: "object", properties: {} }; - return n2.each(e3, function(e4) { - t3.properties[e4.name] = { type: e4.type.name, description: e4.description, input: true, default: e4.value || "" }; - }), this.reviveItem(t3, o); - } - function s() { - this.id = void 0, this.name = void 0, this.variables = void 0, this.features = void 0, s.baseConstructor.apply(this, arguments); - } - r2.extend(s, "Script"), Object.defineProperties(s.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, inputs: { get: function() { - return this.variables; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, schemas: { set: function(e3) { - e3 && e3.input && (n2.isArray(e3.input) ? this.variables = a.call(this, e3.input) : this.variables = this.reviveItem(e3.input, o)); - } } }), e2.exports = s; - }, 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 = 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(); - } - _initialize() { - super._initialize(), this.items.forEach((e3) => { - e3.value.options.setAllowSecure(this.allowSecure), this.isInputList || e3.value.options.setAsOutput(); - }); - } - get isDataPairList() { - return true; - } - outOfServiceChanged() { - this.items.forEach((e3) => { - e3.value.outOfService = this.outOfService; - }); - } - get className() { - return O.className; - } - static get className() { - return "DataPairList"; - } - addClipboardDependencies(e3) { - o.default.each(this.items, function(t3) { - t3.addClipboardDependencies(e3); - }); - } - createFromVariable(e3, t3) { - let i3 = t3; - !i3 && this.isInputList && (i3 = e3.initValue); - const n3 = e3.type.createExpressionOptionClass(); - e3.facets && (n3.facets = e3.facets); - 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) { - 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 : 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 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 || (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 && !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 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; - } - 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) => { - var t4; - return (null === (t4 = e4.value) || void 0 === t4 ? void 0 : t4.isOutput) && e4.value.variableReference; - }).map((e4) => e4.value); - o.default.uniq(t3.map((e4) => e4.variableReference.val)).forEach((e4) => { - const i3 = t3.find((t4) => t4.variableReference.val === e4); - t3.splice(t3.indexOf(i3), 1); - }), t3 && t3.forEach((t4) => { - 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 = O; - }, 15390: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "group"; - } - get displayTypeName() { - return "ArchVariableGroup"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableGroup() { - return true; - } - } - t2.default = r2; - }, 15453: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(57382)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseActionWithOutputLoop"; - } - get isArchBaseActionWithOutputLoop() { - return true; - } - get outputLoop() { - return this._getOutputById(r2.outputIds.loop, true); - } - } - t2.default = a; - }, 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)), 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); - } - get _actionTypeId() { - return s.transferVoicemailActionType; - } - _clearInputs() { - this._scriptInputs = void 0; - } - _getVoicemailTargetTransferType(e3) { - switch (e3) { - case l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.user: - return p.User; - case l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.queue: - return p.Queue; - case l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.group: - return p.Group; - } - } - get calleeName() { - return this._calleeName; - } - get callbackNumber() { - return this.coreFactory.createArchWrapper(this._callbackNumbers._getCoreViewModel().items[0]); - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionTransferToVoicemail() { - return true; - } - get scriptInputs() { - return this._scriptInputs || (this._scriptInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._scriptInputs; - } - 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 d.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByNameAsync"); - }.bind(this)).then(function() { - 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 d.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByIdAsync"); - }.bind(this)).then(function() { - 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 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 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(() => 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(() => 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 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 c.default.executeCallback(this, "setTargetUserLiteralByUserNameAsync", t3, this); - }.bind(this)); - } - get targetUser() { - return this._targetUser; - } - get targetQueue() { - return this._targetQueue; - } - get targetGroup() { - return this._targetGroup; - } - get transferTargetType() { - return r2.default.isObject(this._getCoreViewModel().transferTargetType) ? this._getCoreViewModel().transferTargetType.name : void 0; - } - set transferTargetType(e3) { - const t3 = this._infoPropSet("newTransferType", "transferTargetType"); - this._checkItemIsValidLiteralStringEnum(t3, e3, l.default.VOICEMAIL_TRANSFER_TARGET_TYPES_ALL), this._getCoreViewModel().transferTargetType = this._getVoicemailTargetTransferType(e3), this.logNote("transfer type set to '" + this._getCoreViewModel().transferTargetType.name + "'"); - } - isTargetTransferTypeAvailable(e3, t3) { - const i3 = this._infoPropSet("transferTargetType", "isTargetTransferTypeAvailable"); - this._checkItemIsValidLiteralStringEnum(i3, e3, l.default.VOICEMAIL_TRANSFER_TARGET_TYPES_ALL); - const n3 = this._infoPropSet("allowAnyLanguage", "isTargetTransferTypeAvailable"); - this._checkItemIsValidLiteralBool(n3, t3, true); - const r3 = this._getCoreViewModel().parentFlow, o2 = this._getVoicemailTargetTransferType(e3), s2 = (e4) => a.supportsVoicemailTypeForFlowType(e4.language, r3.type, o2); - return t3 ? r3.supportedLanguageOptions.some(s2) : r3.supportedLanguageOptions.every(s2); - } - get voicemailGreeting() { - return this._voicemailGreeting; - } - } - t2.default = _; - }, 15461: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(38249), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(28326)), s = i2(50474); - class l extends a.default { - constructor(e3) { - super(e3), this._agentEscalationConfirmation = this.coreFactory.createArchWrapper(e3.agentEscalationConfirmation), this._agentEscalationHandover = this.coreFactory.createArchWrapper(e3.agentEscalationHandover), this._coreBotErrorHandlingSettingsViewModel = e3, this._enableAgentEscalation = this.coreFactory.createArchWrapper(e3.enableAgentEscalation), this._errorEventHandover = this.coreFactory.createArchWrapper(e3.errorEventHandover), this._recognitionFailureEventHandover = this.coreFactory.createArchWrapper(e3.recognitionEventHandover), this._subsequentRecognitionFailuresHandlingType = this.coreFactory.createArchWrapper(e3.subsequentRecognitionFailures); - } - get displayTypeName() { - return "ArchSettingsEventErrorFlowBot"; - } - get isArchSettingsEventErrorFlowBot() { - return true; - } - get agentEscalationConfirmation() { - return this._agentEscalationConfirmation; - } - get agentEscalationHandover() { - return this._agentEscalationHandover; - } - get enableAgentEscalation() { - return this._enableAgentEscalation; - } - get errorEventHandover() { - return this._errorEventHandover; - } - get recognitionFailureEventHandover() { - return this._recognitionFailureEventHandover; - } - get recognitionFailureEventHandling() { - return r2.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreBotErrorHandlingSettingsViewModel.recognitionHandlingType); - } - set recognitionFailureEventHandling(e3) { - const t3 = this._infoPropSet("newBotErrorEventHandlingTypeValue", "recognitionEventHandling"); - this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL), this._coreBotErrorHandlingSettingsViewModel.recognitionHandlingTypes.find((t4) => t4.scriptingName === e3) || this.logItemErrorAndThrow(t3, `the recognition handling type of '${e3}' is not available for the flow type '${this.parentFlow.flowType}'.`); - const i3 = r2.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); - this.logNote(`setting the flow recognition error handling type to '${e3}'.`), this._coreBotErrorHandlingSettingsViewModel.recognitionHandlingType = i3; - } - get agentEscalationHandling() { - return r2.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreBotErrorHandlingSettingsViewModel.agentEscalationHandling.handlingType); - } - set agentEscalationHandling(e3) { - const t3 = this._infoPropSet("newBotErrorEventHandlingTypeValue", "agentEscalationHandling"); - this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL), this._coreBotErrorHandlingSettingsViewModel.agentEscalationHandling.handlingTypes.find((t4) => t4.scriptingName === e3) || this.logItemErrorAndThrow(t3, `the agent escalation handling type of '${e3}' is not available for the flow type '${this.parentFlow.flowType}'.`); - const i3 = r2.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); - this.logNote(`setting the flow agent escalation error handling type to '${e3}'.`), this._coreBotErrorHandlingSettingsViewModel.agentEscalationHandling.handlingType = i3; - } - get recognitionFailureEventTargetTask() { - const e3 = this._coreBotErrorHandlingSettingsViewModel.parentFlow; - if (e3 && e3.hasTasks) { - const t3 = e3.tasks.find((e4) => e4.id === this._coreBotErrorHandlingSettingsViewModel.recognitionEventTaskId); - if (t3) return this.coreFactory.createArchWrapper(t3); - } - } - set recognitionFailureEventTargetTask(e3) { - const t3 = this._infoPropSet("archTaskTarget", "recognitionFailureEventTargetTask"); - if (this.logNote(`recognitionFailureEventHandling: ${this.recognitionFailureEventHandling}`), this._checkItem(t3, "task" !== this.recognitionFailureEventHandling, 'the recognition event handling type must be set to "Jump to Reusable Task" to set the recognition event task path.'), !e3) return void this._coreBotErrorHandlingSettingsViewModel.recognitionEventTask.setReference(null); - this._checkItem(t3, !e3 || !e3.isArchTask, "the recognition event task path must be an ArchTask."); - const i3 = this._coreBotErrorHandlingSettingsViewModel.recognitionEventTask.getInvalidReferenceReason(e3.coreTaskViewModel); - this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !(0, s.isNullOrUndefined)(i3), `targetTask is not valid as the recognition event task path: ${i3}`), this.logNote("setting the recognition event task path to " + e3.logStr), this._coreBotErrorHandlingSettingsViewModel.recognitionEventTask.setReference(e3.coreTaskViewModel); - } - get agentEscalationTargetTask() { - const e3 = this._coreBotErrorHandlingSettingsViewModel.parentFlow; - if (e3 && e3.hasTasks) { - const t3 = e3.tasks.find((e4) => e4.id === this._coreBotErrorHandlingSettingsViewModel.agentEscalationTaskId); - if (t3) return this.coreFactory.createArchWrapper(t3); - } - } - set agentEscalationTargetTask(e3) { - const t3 = this._infoPropSet("archTaskTarget", "agentEscalationTargetTask"); - if (this.logNote(`agentEscalationHandling: ${this.agentEscalationHandling}`), this._checkItem(t3, "task" !== this.agentEscalationHandling, 'the agent escalation handling type must be set to "Jump to Reusable Task" to set the agent escalation task path.'), !e3) return void this._coreBotErrorHandlingSettingsViewModel.agentEscalationTask.setReference(null); - this._checkItem(t3, !e3 || !e3.isArchTask, "the agent escalation task path must be an ArchTask."); - const i3 = this._coreBotErrorHandlingSettingsViewModel.agentEscalationTask.getInvalidReferenceReason(e3.coreTaskViewModel); - this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !(0, s.isNullOrUndefined)(i3), `targetTask is not valid as the agent escalation task path: ${i3}`), this.logNote("setting the agent escalation task path to " + e3.logStr), this._coreBotErrorHandlingSettingsViewModel.agentEscalationTask.setReference(e3.coreTaskViewModel); - } - get subsequentRecognitionFailuresHandlingType() { - return this._subsequentRecognitionFailuresHandlingType; - } - } - t2.default = l; - }, 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), 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"); - } - static createMinMax(e3, t3, i3, n3) { - const o2 = new _(); - return r2.default.isUndefined(e3) || o2.setMinInt(e3, true === t3), r2.default.isUndefined(i3) || o2.setMaxInt(i3, true === n3), o2; - } - _setFromFacets(e3) { - super._setFromFacets(e3), this._setFacetIfSet(() => this.setMaxInt(e3.maxVal, e3.maxValInclusive), e3.maxVal, "_maxVal"), this._setFacetIfSet(() => this.setMinInt(e3.minVal, e3.maxValInclusive), e3.minVal, "_minVal"), this._setFacetIfSet(this.setDisallowZero, e3.disallowZero, "_disallowZero"); - } - get className() { - return "IntegerFacets"; - } - get isIntegerFacets() { - return true; - } - addDescriptionInfo(e3, t3) { - super.addDescriptionInfo(e3, t3), true === this.disallowZero && t3.push(p.expressionsHelp.parameters.notAllowedZero); - } - get hasDescriptionInfo() { - return !!super.hasDescriptionInfo || this.disallowZero; - } - setMaxInt(e3, t3) { - if (!r2.default.isUndefined(e3)) { - const i3 = u.ParameterValidator.expectIntMoreThan(e3, this.minVal, () => l.ParameterInfo.createFunctionParameter(this.className, "setMaxInt", "maxInt")); - !r2.default.isUndefined(i3) && (t3 && i3 < o.default.maxInt || i3 < o.default.maxInt - 1) ? (this._maxVal = i3, r2.default.isUndefined(t3) || this.setMaxValInclusive(t3)) : this._maxVal = void 0; - } - return this; - } - setMinInt(e3, t3) { - if (!r2.default.isUndefined(e3)) { - const i3 = u.ParameterValidator.expectIntLessThan(e3, this.maxVal, () => l.ParameterInfo.createFunctionParameter(this.className, "setMinInt", "minInt")); - !r2.default.isUndefined(i3) && (t3 && i3 > o.default.minInt || i3 > o.default.minInt + 1) ? (this._minVal = i3, r2.default.isUndefined(t3) || this.setMinValInclusive(t3)) : this._minVal = void 0; - } - return this; - } - get disallowZero() { - return this._disallowZero; - } - set disallowZero(e3) { - this._disallowZero = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "disallowZero", "value")); - } - setDisallowZero(e3) { - return this.disallowZero = e3, this; - } - _facetGetExpressionItemLitValue(e3) { - return e3.getLitAsInt(); - } - _facetGetExpressionType() { - 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); - }, 15589: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.flushAudioActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionFlushAudio() { - return true; - } - } - t2.default = o; - }, 15612: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "listPickerItem"; - } - get displayTypeName() { - return "ArchVariableListPickerItem"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableListPickerItem() { - return true; - } - } - t2.default = r2; - }, 15655: (e2, t2, i2) => { - const n2 = i2(92140), { uuid: r2 } = i2(9456), o = i2(28730), a = i2(11475); - function s() { - Object.defineProperties(this, { _actionList: { writable: true }, _variables: { writable: true } }), this.startAction = void 0, s.baseConstructor.apply(this, arguments), this.id || (this.id = r2()); - } - i2(62229).extend(s, "BaseTask"), Object.defineProperties(s.prototype, { actionList: { enumerable: true, get: function() { - return this._actionList; - }, set: function(e3) { - this._actionList = this.reviveArray(e3, o); - } }, getUniqueNameSeed: { value: function() { - return this.name ? this.name + " %1$s" : "%1$s"; - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.variables, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)), n2.each(this.actionList, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)), this.startAction = e3.pasteResolveOldIdToNewId(this.startAction); - } }, pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.variables, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)), n2.each(this.actionList, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)); - } }, variables: { enumerable: true, get: function() { - return this._variables; - }, set: function(e3) { - this._variables = this.reviveArray(e3, a), this._variables.forEach((e4) => { - e4._wasRenamed && (e4.name = e4.name.replace("Flow", this._variableScope)); - }); - } } }), e2.exports = s; - }, 15659: (e2, t2, i2) => { - var n2 = i2(8156), r2 = {}; - for (var o in n2) n2.hasOwnProperty(o) && (r2[n2[o]] = o); - var a = e2.exports = { 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" }, lch: { channels: 3, labels: "lch" }, 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"] } }; - for (var s in a) if (a.hasOwnProperty(s)) { - if (!("channels" in a[s])) throw new Error("missing channels property: " + s); - if (!("labels" in a[s])) throw new Error("missing channel labels property: " + s); - if (a[s].labels.length !== a[s].channels) throw new Error("channel and label counts mismatch: " + s); - 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 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), c2 = u2 - Math.min(a2, s2, l2), d = function(e4) { - return (u2 - e4) / 6 / c2 + 0.5; - }; - 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)))]; - }, a.rgb.cmyk = function(e3) { - var t3, i3 = e3[0] / 255, n3 = e3[1] / 255, r3 = e3[2] / 255; - return [100 * ((1 - i3 - (t3 = Math.min(1 - i3, 1 - n3, 1 - r3))) / (1 - t3) || 0), 100 * ((1 - n3 - t3) / (1 - t3) || 0), 100 * ((1 - r3 - t3) / (1 - t3) || 0), 100 * t3]; - }, a.rgb.keyword = function(e3) { - var t3 = r2[e3]; - if (t3) return t3; - var i3, o2 = 1 / 0; - for (var a2 in n2) if (n2.hasOwnProperty(a2)) { - var s2 = c(e3, n2[a2]); - s2 < o2 && (o2 = s2, i3 = a2); - } - return i3; - }, a.keyword.rgb = function(e3) { - return n2[e3]; - }, a.rgb.xyz = function(e3) { - var t3 = e3[0] / 255, i3 = e3[1] / 255, n3 = e3[2] / 255; - return [100 * (0.4124 * (t3 = t3 > 0.04045 ? Math.pow((t3 + 0.055) / 1.055, 2.4) : t3 / 12.92) + 0.3576 * (i3 = i3 > 0.04045 ? Math.pow((i3 + 0.055) / 1.055, 2.4) : i3 / 12.92) + 0.1805 * (n3 = n3 > 0.04045 ? Math.pow((n3 + 0.055) / 1.055, 2.4) : n3 / 12.92)), 100 * (0.2126 * t3 + 0.7152 * i3 + 0.0722 * n3), 100 * (0.0193 * t3 + 0.1192 * i3 + 0.9505 * n3)]; - }, a.rgb.lab = function(e3) { - var t3 = a.rgb.xyz(e3), i3 = t3[0], n3 = t3[1], r3 = t3[2]; - return n3 /= 100, r3 /= 108.883, i3 = (i3 /= 95.047) > 8856e-6 ? Math.pow(i3, 1 / 3) : 7.787 * i3 + 16 / 116, [116 * (n3 = n3 > 8856e-6 ? Math.pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116) - 16, 500 * (i3 - n3), 200 * (n3 - (r3 = r3 > 8856e-6 ? Math.pow(r3, 1 / 3) : 7.787 * r3 + 16 / 116))]; - }, a.hsl.rgb = function(e3) { - var t3, i3, n3, r3, o2, a2 = e3[0] / 360, s2 = e3[1] / 100, l2 = e3[2] / 100; - if (0 === s2) return [o2 = 255 * l2, o2, o2]; - t3 = 2 * l2 - (i3 = l2 < 0.5 ? l2 * (1 + s2) : l2 + s2 - l2 * s2), r3 = [0, 0, 0]; - for (var u2 = 0; u2 < 3; u2++) (n3 = a2 + 1 / 3 * -(u2 - 1)) < 0 && n3++, n3 > 1 && n3--, o2 = 6 * n3 < 1 ? t3 + 6 * (i3 - t3) * n3 : 2 * n3 < 1 ? i3 : 3 * n3 < 2 ? t3 + (i3 - t3) * (2 / 3 - n3) * 6 : t3, r3[u2] = 255 * o2; - return r3; - }, a.hsl.hsv = function(e3) { - var t3 = e3[0], i3 = e3[1] / 100, n3 = e3[2] / 100, r3 = i3, o2 = Math.max(n3, 0.01); - return i3 *= (n3 *= 2) <= 1 ? n3 : 2 - n3, r3 *= o2 <= 1 ? o2 : 2 - o2, [t3, 100 * (0 === n3 ? 2 * r3 / (o2 + r3) : 2 * i3 / (n3 + i3)), (n3 + i3) / 2 * 100]; - }, a.hsv.rgb = function(e3) { - var t3 = e3[0] / 60, i3 = e3[1] / 100, n3 = e3[2] / 100, r3 = Math.floor(t3) % 6, o2 = t3 - Math.floor(t3), a2 = 255 * n3 * (1 - i3), s2 = 255 * n3 * (1 - i3 * o2), l2 = 255 * n3 * (1 - i3 * (1 - o2)); - switch (n3 *= 255, r3) { - case 0: - return [n3, l2, a2]; - case 1: - return [s2, n3, a2]; - case 2: - return [a2, n3, l2]; - case 3: - return [a2, s2, n3]; - case 4: - return [l2, a2, n3]; - case 5: - return [n3, a2, s2]; - } - }, a.hsv.hsl = function(e3) { - 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, 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: - o2 = i3, a2 = r3, s2 = u2; - break; - case 1: - o2 = r3, a2 = i3, s2 = u2; - break; - case 2: - o2 = u2, a2 = i3, s2 = r3; - break; - case 3: - o2 = u2, a2 = r3, s2 = i3; - break; - case 4: - o2 = r3, a2 = u2, s2 = i3; - break; - case 5: - o2 = i3, a2 = u2, s2 = r3; - } - return [255 * o2, 255 * a2, 255 * s2]; - }, a.cmyk.rgb = function(e3) { - var t3 = e3[0] / 100, i3 = e3[1] / 100, n3 = e3[2] / 100, r3 = e3[3] / 100; - return [255 * (1 - Math.min(1, t3 * (1 - r3) + r3)), 255 * (1 - Math.min(1, i3 * (1 - r3) + r3)), 255 * (1 - Math.min(1, n3 * (1 - r3) + r3))]; - }, a.xyz.rgb = function(e3) { - var t3, i3, n3, r3 = e3[0] / 100, o2 = e3[1] / 100, a2 = e3[2] / 100; - return i3 = -0.9689 * r3 + 1.8758 * o2 + 0.0415 * a2, n3 = 0.0557 * r3 + -0.204 * o2 + 1.057 * a2, t3 = (t3 = 3.2406 * r3 + -1.5372 * o2 + -0.4986 * a2) > 31308e-7 ? 1.055 * Math.pow(t3, 1 / 2.4) - 0.055 : 12.92 * t3, i3 = i3 > 31308e-7 ? 1.055 * Math.pow(i3, 1 / 2.4) - 0.055 : 12.92 * i3, n3 = n3 > 31308e-7 ? 1.055 * Math.pow(n3, 1 / 2.4) - 0.055 : 12.92 * n3, [255 * (t3 = Math.min(Math.max(0, t3), 1)), 255 * (i3 = Math.min(Math.max(0, i3), 1)), 255 * (n3 = Math.min(Math.max(0, n3), 1))]; - }, a.xyz.lab = function(e3) { - var t3 = e3[0], i3 = e3[1], n3 = e3[2]; - return i3 /= 100, n3 /= 108.883, t3 = (t3 /= 95.047) > 8856e-6 ? Math.pow(t3, 1 / 3) : 7.787 * t3 + 16 / 116, [116 * (i3 = i3 > 8856e-6 ? Math.pow(i3, 1 / 3) : 7.787 * i3 + 16 / 116) - 16, 500 * (t3 - i3), 200 * (i3 - (n3 = n3 > 8856e-6 ? Math.pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116))]; - }, a.lab.xyz = function(e3) { - var t3, i3, n3, r3 = e3[0]; - t3 = e3[1] / 500 + (i3 = (r3 + 16) / 116), n3 = i3 - e3[2] / 200; - var o2 = Math.pow(i3, 3), a2 = Math.pow(t3, 3), s2 = Math.pow(n3, 3); - return i3 = o2 > 8856e-6 ? o2 : (i3 - 16 / 116) / 7.787, t3 = a2 > 8856e-6 ? a2 : (t3 - 16 / 116) / 7.787, n3 = s2 > 8856e-6 ? s2 : (n3 - 16 / 116) / 7.787, [t3 *= 95.047, i3 *= 100, n3 *= 108.883]; - }, a.lab.lch = function(e3) { - var t3, i3 = e3[0], n3 = e3[1], r3 = e3[2]; - return (t3 = 360 * Math.atan2(r3, n3) / 2 / Math.PI) < 0 && (t3 += 360), [i3, Math.sqrt(n3 * n3 + r3 * r3), t3]; - }, a.lch.lab = function(e3) { - var t3, i3 = e3[0], n3 = e3[1]; - return t3 = e3[2] / 360 * 2 * Math.PI, [i3, n3 * Math.cos(t3), n3 * Math.sin(t3)]; - }, a.rgb.ansi16 = function(e3) { - var t3 = e3[0], i3 = e3[1], n3 = e3[2], r3 = 1 in arguments ? arguments[1] : a.rgb.hsv(e3)[2]; - if (0 === (r3 = Math.round(r3 / 50))) return 30; - var o2 = 30 + (Math.round(n3 / 255) << 2 | Math.round(i3 / 255) << 1 | Math.round(t3 / 255)); - return 2 === r3 && (o2 += 60), o2; - }, a.hsv.ansi16 = function(e3) { - return a.rgb.ansi16(a.hsv.rgb(e3), e3[2]); - }, a.rgb.ansi256 = function(e3) { - var t3 = e3[0], i3 = e3[1], n3 = e3[2]; - return t3 === i3 && i3 === n3 ? t3 < 8 ? 16 : t3 > 248 ? 231 : Math.round((t3 - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t3 / 255 * 5) + 6 * Math.round(i3 / 255 * 5) + Math.round(n3 / 255 * 5); - }, a.ansi16.rgb = function(e3) { - var t3 = e3 % 10; - if (0 === t3 || 7 === t3) return e3 > 50 && (t3 += 3.5), [t3 = t3 / 10.5 * 255, t3, t3]; - var i3 = 0.5 * (1 + ~~(e3 > 50)); - return [(1 & t3) * i3 * 255, (t3 >> 1 & 1) * i3 * 255, (t3 >> 2 & 1) * i3 * 255]; - }, a.ansi256.rgb = function(e3) { - if (e3 >= 232) { - var t3 = 10 * (e3 - 232) + 8; - return [t3, t3, t3]; - } - var i3; - return e3 -= 16, [Math.floor(e3 / 36) / 5 * 255, Math.floor((i3 = e3 % 36) / 6) / 5 * 255, i3 % 6 / 5 * 255]; - }, a.rgb.hex = function(e3) { - var t3 = (((255 & Math.round(e3[0])) << 16) + ((255 & Math.round(e3[1])) << 8) + (255 & Math.round(e3[2]))).toString(16).toUpperCase(); - return "000000".substring(t3.length) + t3; - }, a.hex.rgb = function(e3) { - var t3 = e3.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); - if (!t3) return [0, 0, 0]; - var i3 = t3[0]; - 3 === t3[0].length && (i3 = i3.split("").map(function(e4) { - return e4 + e4; - }).join("")); - var n3 = parseInt(i3, 16); - return [n3 >> 16 & 255, n3 >> 8 & 255, 255 & n3]; - }, a.rgb.hcg = function(e3) { - var t3, i3 = e3[0] / 255, n3 = e3[1] / 255, r3 = e3[2] / 255, o2 = Math.max(Math.max(i3, n3), r3), a2 = Math.min(Math.min(i3, n3), r3), s2 = o2 - a2; - return t3 = s2 <= 0 ? 0 : o2 === i3 ? (n3 - r3) / s2 % 6 : o2 === n3 ? 2 + (r3 - i3) / s2 : 4 + (i3 - n3) / s2 + 4, t3 /= 6, [360 * (t3 %= 1), 100 * s2, 100 * (s2 < 1 ? a2 / (1 - s2) : 0)]; - }, a.hsl.hcg = function(e3) { - var t3, i3 = e3[1] / 100, n3 = e3[2] / 100, r3 = 0; - return (t3 = n3 < 0.5 ? 2 * i3 * n3 : 2 * i3 * (1 - n3)) < 1 && (r3 = (n3 - 0.5 * t3) / (1 - t3)), [e3[0], 100 * t3, 100 * r3]; - }, a.hsv.hcg = function(e3) { - var t3 = e3[1] / 100, i3 = e3[2] / 100, n3 = t3 * i3, r3 = 0; - return n3 < 1 && (r3 = (i3 - n3) / (1 - n3)), [e3[0], 100 * n3, 100 * r3]; - }, a.hcg.rgb = function(e3) { - var t3 = e3[0] / 360, i3 = e3[1] / 100, n3 = e3[2] / 100; - if (0 === i3) return [255 * n3, 255 * n3, 255 * n3]; - var r3, o2 = [0, 0, 0], a2 = t3 % 1 * 6, s2 = a2 % 1, l2 = 1 - s2; - switch (Math.floor(a2)) { - case 0: - o2[0] = 1, o2[1] = s2, o2[2] = 0; - break; - case 1: - o2[0] = l2, o2[1] = 1, o2[2] = 0; - break; - case 2: - o2[0] = 0, o2[1] = 1, o2[2] = s2; - break; - case 3: - o2[0] = 0, o2[1] = l2, o2[2] = 1; - break; - case 4: - o2[0] = s2, o2[1] = 0, o2[2] = 1; - break; - default: - o2[0] = 1, o2[1] = 0, o2[2] = l2; - } - return r3 = (1 - i3) * n3, [255 * (i3 * o2[0] + r3), 255 * (i3 * o2[1] + r3), 255 * (i3 * o2[2] + r3)]; - }, a.hcg.hsv = function(e3) { - var t3 = e3[1] / 100, i3 = t3 + e3[2] / 100 * (1 - t3), n3 = 0; - return i3 > 0 && (n3 = t3 / i3), [e3[0], 100 * n3, 100 * i3]; - }, a.hcg.hsl = function(e3) { - var t3 = e3[1] / 100, i3 = e3[2] / 100 * (1 - t3) + 0.5 * t3, n3 = 0; - return i3 > 0 && i3 < 0.5 ? n3 = t3 / (2 * i3) : i3 >= 0.5 && i3 < 1 && (n3 = t3 / (2 * (1 - i3))), [e3[0], 100 * n3, 100 * i3]; - }, a.hcg.hwb = function(e3) { - var t3 = e3[1] / 100, i3 = t3 + e3[2] / 100 * (1 - t3); - return [e3[0], 100 * (i3 - t3), 100 * (1 - i3)]; - }, a.hwb.hcg = function(e3) { - var t3 = e3[1] / 100, i3 = 1 - e3[2] / 100, n3 = i3 - t3, r3 = 0; - return n3 < 1 && (r3 = (i3 - n3) / (1 - n3)), [e3[0], 100 * n3, 100 * r3]; - }, a.apple.rgb = function(e3) { - return [e3[0] / 65535 * 255, e3[1] / 65535 * 255, e3[2] / 65535 * 255]; - }, a.rgb.apple = function(e3) { - return [e3[0] / 255 * 65535, e3[1] / 255 * 65535, e3[2] / 255 * 65535]; - }, a.gray.rgb = function(e3) { - return [e3[0] / 100 * 255, e3[0] / 100 * 255, e3[0] / 100 * 255]; - }, a.gray.hsl = a.gray.hsv = function(e3) { - return [0, 0, e3[0]]; - }, a.gray.hwb = function(e3) { - return [0, 100, e3[0]]; - }, a.gray.cmyk = function(e3) { - return [0, 0, 0, e3[0]]; - }, a.gray.lab = function(e3) { - return [e3[0], 0, 0]; - }, a.gray.hex = function(e3) { - var t3 = 255 & Math.round(e3[0] / 100 * 255), i3 = ((t3 << 16) + (t3 << 8) + t3).toString(16).toUpperCase(); - return "000000".substring(i3.length) + i3; - }, a.rgb.gray = function(e3) { - return [(e3[0] + e3[1] + e3[2]) / 3 / 255 * 100]; - }; - }, 15717: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.outputModesAll = t2.outputModeText = t2.outputModeVoice = void 0, t2.getOutputModeForOutputModeId = function(e3) { - if (e3.length) return o[e3.toLowerCase()]; - }; - const n2 = i2(31635).__importDefault(i2(13446)), r2 = i2(47957), o = {}, a = (e3, t3) => o[e3] = n2.default.create(e3, t3); - t2.outputModeVoice = a("voice", r2.outputModes.voice), t2.outputModeText = a("text", r2.outputModes.text), t2.outputModesAll = Object.values(o); - }, 15721: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.repromptHandlingOptions = t2.manual = t2.aiManaged = void 0; - const n2 = i2(47957); - t2.aiManaged = { displayString: n2.askForSlot.repromptHandlingOptions.repromptHandlingOptionAIManaged, id: "aiManaged" }, t2.manual = { displayString: n2.askForSlot.repromptHandlingOptions.repromptHandlingOptionManuallyManaged, id: "manual" }, t2.repromptHandlingOptions = [t2.aiManaged, t2.manual]; - }, 15745: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(42175)); - class l extends s.default { - constructor(e3) { - super(e3), this._audio = this.coreFactory.createArchAudio(e3.prompts), this._coreMenuViewModel = e3, this._menuSettings = this.coreFactory.createArchWrapper(e3.menuSettings), this._speechRecSettings = this.coreFactory.createArchWrapper(e3.speechRecSettings); - } - get _actionTypeId() { - return o.menuActionType; - } - get childMenus() { - const e3 = []; - return r2.default.each(this._coreMenuViewModel.choices, (t3) => { - e3.push(this.coreFactory.createArchWrapper(t3)); - }), e3; - } - get displayTypeName() { - return "ArchMenu"; - } - get logStr() { - if (!this._coreMenuViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); - } - get menuDefault() { - const e3 = this._getCoreViewModel().defaultMenuChoice; - if (e3) { - const t3 = r2.default.find(this._getCoreViewModel().choices, (t4) => t4.id === e3); - if (t3) return this.coreFactory.createArchWrapper(t3); - } - } - set menuDefault(e3) { - let t3, i3 = "no default menu choice"; - if (!r2.default.isUndefined(e3) && null !== e3) { - const n3 = this._infoPropSet("newValue", "menuDefault"); - this._checkItem(n3, !e3.isArchBaseMenuChoice, "The parameter value must be an ArchBaseMenuChoice instance."), t3 = this._findCoreMenuChoiceById(e3.id), this._checkItem(n3, !t3, `The menu choice ${e3.logStr} is not a child of this menu and cannot be set to the default menu choice.`), i3 = e3.logStr; - } - this._getCoreViewModel().defaultMenuChoice = t3 ? t3.id : null, this.logNote(`default menu choice set to ${i3}`); - } - get audio() { - return this._audio; - } - get isArchMenu() { - return true; - } - get isReusableMenu() { - return this._getCoreViewModel().id !== this._coreMenuViewModel.parentFlow.initialSequence && !this._coreMenuViewModel.isHidden; - } - get name() { - return this._coreMenuViewModel.name; - } - set name(e3) { - if (!e3) throw "you cannot have a blank name set on a menu"; - this._coreMenuViewModel.name = e3, this._coreMenuViewModel.nameFacetError && this.logErrorAndThrow(this._coreMenuViewModel.nameFacetError); - } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreMenuViewModel.parentFlow); - } - get settingsMenu() { - return this._menuSettings; - } - get settingsSpeechRec() { - return this._speechRecSettings; - } - get trackingId() { - return this._coreMenuViewModel.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; - }, 15777: (e2, t2, i2) => { - "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), 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; - let n3 = t3; - n3 && !t3.includes(i3.id + "/") && (n3 = i3.getDependencyTrackingIdForVoice(t3)), this.id = n3, this._updateCachedValues(); - } - get engine() { - return this._engine; - } - _traceNoLanguageError() { - this._noLanguageErrorTraced || (p.error(`Language tag not set on voice with ID '${this.id}'`), this._noLanguageErrorTraced = true); - } - _updateCacheLanguage() { - var e3; - this._lowerLanguage = this.language ? this.language.toLocaleLowerCase() : this.language, this._languageNoRegion = null === (e3 = this._lowerLanguage) || void 0 === e3 ? void 0 : e3.split("-")[0]; - } - _updateCacheName() { - this._lowerName = this.name ? this.name.toLocaleLowerCase() : this.name; - } - _updateCachedValues() { - this._updateCacheLanguage(), this._updateCacheName(), delete this._genderForDisplay, delete this._flexibleTTSLabel; - } - get className() { - return "VoiceViewModel"; - } - get description() { - return (0, o.sprintf)(d.textToSpeech.voiceDescription, this.language, this.genderForDisplay); - } - get isDefault() { - return this._model.isDefault; - } - set isDefault(e3) { - this._model.isDefault = !!e3; - } - get isVoiceViewModel() { - return true; - } - get language() { - return this._model.language; - } - set language(e3) { - this._model.language = e3, this._updateCacheLanguage(); - } - get lowerLanguage() { - return this._lowerLanguage; - } - get name() { - return this._model.name; - } - set name(e3) { - this._model.name = e3, this._updateCacheName(); - } - get lowerName() { - return this._lowerName; - } - get gender() { - return this._model.gender; - } - set gender(e3) { - this._model.gender = e3; - } - get 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; - } - setLanguage(e3, t3) { - this.language = e3, this.isDefault = t3; - } - getIsVoiceDefaultForLanguage(e3) { - return this.isDefault && this.getVoiceSupportsLanguage(e3); - } - getVoiceSupportsLanguage(e3, t3) { - return !!a.default.isString(e3) && (this._lowerLanguage ? this._lowerLanguage === (t3 ? e3 : e3.toLocaleLowerCase()) : (this._traceNoLanguageError(), false)); - } - getVoiceSupportsLanguageNoRegion(e3) { - return !!a.default.isString(e3) && (this._languageNoRegion ? this._languageNoRegion === e3 : (this._traceNoLanguageError(), false)); - } - updateItem(e3) { - 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 !== 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; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(80295), o = i2(33296), a = i2(55909), s = i2(33951), l = "anyNonSpecificFlowType"; - class u extends o.BaseOptionSetting { - constructor() { - super(), this._flowTypeToValue = {}, (0, r2.makeUnenumerable)(this, "_flowTypeToValue"); - } - get className() { - return "OptionSettingWithFlowTypes"; - } - clone() { - const e3 = super.clone(); - return this.copyValuesTo(e3), e3; - } - copyValuesTo(e3) { - n2.default.each(this._flowTypeToValue, function(t3, i3) { - i3 === l ? e3.setValueForAllFlowTypes(t3) : e3.setValueForFlowType(t3, i3); - }); - } - getValueForFlowType(e3) { - return s.ParameterValidator.expectFlowType(e3, () => a.ParameterInfo.createPropertySet(this.className, "getValueForFlowType", "flowType"), true), n2.default.has(this._flowTypeToValue, e3) ? this._flowTypeToValue[e3] : n2.default.has(this._flowTypeToValue, l) ? this._flowTypeToValue[l] : void 0; - } - setValueForAllFlowTypes(e3) { - this.setValueForFlowType(e3); - } - setValueForFlowType(e3, t3) { - s.ParameterValidator.expectFlowType(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setValueForFlowType", "flowType"), true), this._flowTypeToValue[n2.default.isString(t3) ? t3 : l] = e3; - } - setValueForFlowTypeOrTypes(e3, t3) { - s.ParameterValidator.expectArrayOrString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setValueForFlowTypeOrTypes", "flowTypeOrTypes"), true), n2.default.isArray(t3) ? this.setValueForFlowTypes(e3, t3) : this.setValueForFlowType(e3, t3); - } - setValueForFlowTypes(e3, t3) { - s.ParameterValidator.expectArray(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setValueForFlowTypes", "flowTypes"), true), n2.default.isArray(t3) && !n2.default.isEmpty(t3) ? n2.default.each(t3, function(t4) { - this.setValueForFlowType(e3, t4); - }.bind(this)) : this.setValueForAllFlowTypes(e3); - } - } - t2.OptionSettingWithFlowTypes = u; - }, 15787: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.voiceSurveyFlowListManager = t2.VoiceSurveyFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(21706), o = i2(6109), a = i2(96618), s = i2(27862); - class l extends o.FlowListManager { - get dependencyType() { - return s.VoiceSurveyFlow; - } - constructor() { - super(), this.topic = n2.getTopic("VoiceSurveyFlowListManager"), this.briefManager = r2.briefVoiceSurveyFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeVoiceSurvey }, this.className = "VoiceSurveyFlowListManager", this.flowType = a.flowTypes.flowTypeVoiceSurvey, this._rawServerCache = {}, this._initialize(); - } - } - t2.VoiceSurveyFlowListManager = l, t2.voiceSurveyFlowListManager = new l(); - }, 15797: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getUtilizationLabels = a, t2.getUtilizationLabel = s, t2.deleteUtilizationLabel = l, t2.createUtilizationLabel = u; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(51724)); - function a(e3) { - const t3 = r2.default.build(o.getUtilizationLabels); - return t3.queryParams({ name: e3.searchTerm, pageSize: e3.defaultPageSize, sortOrder: e3.sortOrder, pageNumber: e3.pageNumber }), t3.call(); - } - function s(e3) { - return r2.default.build(o.getUtilizationLabel).templateParams({ id: e3 }).call(); - } - function l(e3) { - return r2.default.build(o.deleteUtilizationLabel).templateParams({ id: e3 }).call(); - } - function u() { - return r2.default.build(o.createUtilizationLabel).call(); - } - a.api = o.getUtilizationLabels, s.api = o.getUtilizationLabel, l.api = o.deleteUtilizationLabel, u.api = o.createUtilizationLabel; - }, 15810: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createObject = void 0, t2.createObject = function(e3, t3) { - return e3.reduce(function(e4, i2, n2) { - return e4[i2] = t3[n2], e4; - }, {}); - }; - }, 15887: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.animationFrame = t2.animationFrameScheduler = void 0; - var n2 = i2(6757), r2 = i2(74478); - t2.animationFrameScheduler = new r2.AnimationFrameScheduler(n2.AnimationFrameAction), t2.animationFrame = t2.animationFrameScheduler; - }, 15893: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - 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"]), 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; - } - function p(e3) { - if (!this || !(this instanceof p) || this.template) { - const t3 = {}; - 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; - } - 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"), c[e3] = { get() { - const t3 = r2[e3]; - return h.call(this, this._styles ? this._styles.concat(t3) : [t3], this._empty, e3); - } }; - 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) || (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 }; - return h.call(this, this._styles ? this._styles.concat(i3) : [i3], this._empty, e3); - }; - } }); - r2.bgColor.closeRe = new RegExp(n2(r2.bgColor.close), "g"); - 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 }; - return h.call(this, this._styles ? this._styles.concat(i3) : [i3], this._empty, e3); - }; - } }); - const _ = Object.defineProperties(() => { - }, c); - function h(e3, t3, i3) { - const n3 = function() { - return m.apply(n3, arguments); - }; - n3._styles = e3, n3._empty = t3; - const r3 = this; - return Object.defineProperty(n3, "level", { enumerable: true, get: () => r3.level, set(e4) { - r3.level = e4; - } }), Object.defineProperty(n3, "enabled", { enumerable: true, get: () => r3.enabled, set(e4) { - r3.enabled = e4; - } }), n3.hasGrey = this.hasGrey || "gray" === i3 || "grey" === i3, n3.__proto__ = _, n3; - } - function m() { - const e3 = arguments, t3 = e3.length; - let i3 = String(arguments[0]); - if (0 === t3) return ""; - if (t3 > 1) for (let n4 = 1; n4 < t3; n4++) i3 += " " + e3[n4]; - if (!this.enabled || this.level <= 0 || !i3) return this._empty ? "" : i3; - const n3 = r2.dim.open; - s && this.hasGrey && (r2.dim.open = ""); - for (const e4 of this._styles.slice().reverse()) i3 = e4.open + i3.replace(e4.closeRe, e4.open) + e4.close, i3 = i3.replace(/\r?\n/g, `${e4.close}$&${e4.open}`); - return r2.dim.open = n3, i3; - } - function g(e3, t3) { - if (!Array.isArray(t3)) return [].slice.call(arguments, 1).join(" "); - const i3 = [].slice.call(arguments, 2), n3 = [t3.raw[0]]; - 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, 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 c extends r2.default { - constructor(e3) { - super(e3), this._channelId = this.coreFactory.createArchWrapper(e3.channelId); - } - get _actionTypeId() { - return s.nuanceMixActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get channelId() { - return this._channelId; - } - get nuanceMixBotOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; - } - get isArchActionCallNuanceMixBot() { - return true; - } - get intentSlots() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); - } - get availableChannelIds() { - return this._getCoreViewModel().getAllowableChannels().map((e3) => e3.id); - } - get botVariables() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().botVariables); - } - setBotByIdAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("nuanceMixIntegrationId", "setBotByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("nuanceMixBotId", "setBotByIdAsync"), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), i3, true); - const n3 = yield o.default.findItemByIdAsync(u.nuanceMixIntegrationManager, e3, "nuanceMix integration"); - return this.logNote("Found the bot integration named '" + n3.name + "' for the integration ID of '" + e3 + "'"), this._getCoreViewModel().setBotCategoryByViewModel(n3), yield this._setBotByIdAsync("setBotByIdAsync", e3, t3), a.default.executeCallback(this, "setBotByIdAsync", i3, this); - }); - } - _setBotByIdAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const e4 = yield o.default.findItemByIdAsync(l.nuanceMixBotManager, i3, "nuanceMix bot", { integrationId: t3 }); - this.logNote("Found the bot named '" + e4.name + "' for the bot ID of '" + i3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(e4); - }); - } - setBotByNameAsync(e3, t3, i3, r3) { - 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 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 = c; - }, 15928: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { replyToAll: "replyToAll", replyToSender: "replyToSender" }; - }, 15948: (e2, t2, i2) => { - const n2 = i2(28730), { changeStateActionType: r2 } = i2(30801); - function o() { - this.stateReference = void 0, this.stateName = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments); - const t3 = this.pasteResolveReferenceAndName(e3, "state", this.stateReference, this.stateName); - this.stateReference = t3.reference, this.stateName = t3.name; - } } }), e2.exports = o; - }, 16002: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } - } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.immediateProvider = void 0; - var o = i2(92052), a = o.Immediate.setImmediate, s = o.Immediate.clearImmediate; - t2.immediateProvider = { setImmediate: function() { - for (var e3 = [], i3 = 0; i3 < arguments.length; i3++) e3[i3] = arguments[i3]; - var o2 = t2.immediateProvider.delegate; - return ((null == o2 ? void 0 : o2.setImmediate) || a).apply(void 0, r2([], n2(e3))); - }, clearImmediate: function(e3) { - var i3 = t2.immediateProvider.delegate; - return ((null == i3 ? void 0 : i3.clearImmediate) || s)(e3); - }, delegate: void 0 }; - }, 16029: (e2) => { - e2.exports = function(e3, t2) { - if ("function" != typeof e3 || "function" != typeof t2) throw new TypeError("inherits expects child and parent to be constructors"); - Object.setPrototypeOf ? Object.setPrototypeOf(e3.prototype, t2.prototype) : e3.prototype.__proto__ = t2.prototype; - const i2 = Object.getOwnPropertyDescriptor(e3.prototype, "constructor"); - return i2 && i2.value === e3 || Object.defineProperty(e3.prototype, "constructor", { value: e3, writable: true, configurable: true }), Object.setPrototypeOf ? Object.setPrototypeOf(e3, t2) : e3.__proto__ = t2, Object.keys(t2).forEach((i3) => { - Object.prototype.hasOwnProperty.call(e3, i3) || Object.defineProperty(e3, i3, Object.getOwnPropertyDescriptor(t2, i3)); - }), "function" == typeof t2["@@create"] && (e3["@@create"] = t2["@@create"]), Object.prototype.hasOwnProperty.call(e3, "_super") || Object.defineProperty(e3, "_super", { value: t2.prototype }), e3; - }; - }, 16113: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _evaluationDateTime: { writable: true }, _emergencyGroup: { writable: true } }), this.emergencyGroupId = void 0, this.emergencyGroupName = void 0, this.evaluateNow = true, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BaseScheduleActionModel"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.evaluationDateTime.pasteReIdOrRename(e3), this.emergencyGroup.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.evaluationDateTime.pasteResolveOldToNewValues(e3), this.emergencyGroup.pasteResolveOldToNewValues(e3); - } }, evaluationDateTime: { enumerable: true, get: function() { - return this._evaluationDateTime; - }, set: function(e3) { - this._evaluationDateTime = this.reviveItem(e3, r2); - } }, emergencyGroup: { enumerable: true, get: function() { - return this._emergencyGroup; - }, set: function(e3) { - this._emergencyGroup = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 16127: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PagedListByCursor = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(19596); - class o extends r2.DataContract { - constructor(e3) { - super(e3); - } - get entities() { - return this._entities; - } - set entities(e3) { - n2.default.isArray(e3) && (this._entities = e3); - } - get results() { - return this.entities; - } - set results(e3) { - this.entities = e3; - } - get after() { - return this._after; - } - set after(e3) { - this._after = e3; - } - get cursors() { - return this._cursors; - } - set cursors(e3) { - this._cursors = e3; - } - } - t2.PagedListByCursor = o; - }, 16200: (e2, t2, i2) => { - const n2 = i2(11475); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - function o() { - o.baseConstructor.apply(this, arguments); - } - function a() { - a.baseConstructor.apply(this, arguments); - } - function s() { - s.baseConstructor.apply(this, arguments); - } - function l() { - l.baseConstructor.apply(this, arguments); - } - function u() { - u.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(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; - var n2 = i2(90680), r2 = i2(87699); - t2.switchAll = function() { - return n2.switchMap(r2.identity); - }; - }, 16230: (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 = i2(69149), u = n2.__importDefault(i2(5532)); - class c extends s.BaseBuilderWithBuilderPartsViewModel { - constructor({ owningExpression: e3, model: t3, reId: i3 }) { - super(e3, t3, void 0, i3, false); - } - get className() { - return "StringBuilderWithBuilderPartsViewModel"; - } - get isStringBuilderWithBuilderPartsViewModel() { - return true; - } - get helpTopic() { - return a.helpTopics.builders.string; - } - _buildExpressionGenerationFromManager(e3) { - const t3 = e3.getIndividualPartGenerations(); - if (1 === t3.length) return t3[0]; - const i3 = this.builderDef.generators.containerPartsGenerator.createGeneration(); - return o.default.each(t3, (e4) => { - i3.addGenerationToBucket(e4); - }), i3; - } - addOrSetStringLiteralBuilderPart(e3, t3) { - const i3 = this.parentFlow.type === r2.flowTypes.flowTypeDigitalBot ? l.builderPartIds.string.markdown : l.builderPartIds.string.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 = u.default.getBuilderPartDefById(i3); - a2 = n3.createAndAddPartFromBuilderPartDef(e4); - } - const s2 = a2.builderPartExpressions[0]; - s2 && s2.setAsLiteral(e3), o.default.isFunction(a2.setMarkdownText) && a2.setMarkdownText(e3); - } - } - t2.default = c; - }, 16321: (e2, t2, i2) => { - "use strict"; - 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 || 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, 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)) : (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) { - throw c.exception(e4, "Unable to get startup bootstrap information from server."), e4; - } - }); - } - setSectionData(e3, t3) { - this[e3] = t3; - } - } - 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() { - Object.defineProperties(this, { _outputSessionVariables: { writable: true } }), this.languages = void 0, this.botCompositeTag = void 0, this.botId = void 0, this.botName = void 0, this.versionId = void 0, this.versionName = void 0, this.botIntegrationId = void 0, this.botIntegrationName = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments); - } }, outputSessionVariables: { enumerable: true, get: function() { - return this._outputSessionVariables; - }, set: function(e3) { - this._outputSessionVariables = this.reviveArray(e3, o); - } } }), e2.exports = a; - }, 16434: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(88308)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - deleteState(e3) { - const t3 = this._infoParm("stateToDelete", "deleteState"); - this._checkItem(t3, !e3 || !e3.isArchState, "the parameter value must be an ArchState instance."), this._checkItem(t3, e3.parentFlow._getCoreViewModel() !== this._getCoreViewModel(), "the state to delete is not part of this flow."); - const i3 = e3._getCoreViewModel(); - this._checkItem(t3, this._getCoreViewModel().startUpObject === i3, "unable to delete the state because it is the startup object configured on the flow."), this._checkItem(t3, this._getCoreViewModel().periodicState === i3, "unable to delete the state because it is the periodic state configured on the flow."); - const n3 = e3.logStr; - this.logNote("deleting the state " + n3), this._coreFlowViewModel.deleteNode(i3) || this.logErrorAndThrow(`the state ${e3.logStr} could not be deleted.`), this.logNote("state deletion complete for " + n3); - } - get displayTypeName() { - return "ArchBaseFlowWorkflow"; - } - get isArchBaseFlowWorkflow() { - return true; - } - setStartingState(e3) { - this._checkItem(this._infoParm("archState", "setStartingState"), !e3 || !e3.isArchState, "you must pass in a valid ArchState instance to set it as the starting state on a flow."), this._checkItem(this._infoParm("archState", "setStartingState"), !e3._getCoreViewModel().isAllowedAsStartupNode, "the ArchState instance is not a valid startup state. State: " + e3.logStr), this.logNote("setting the starting state to " + e3.logStr), this._coreFlowViewModel.initialSequence = e3.id; - } - get startUpObject() { - const e3 = this._getCoreViewModel().startUpObject; - return e3 ? this.coreFactory.createArchWrapper(e3) : null; - } - get states() { - const e3 = []; - return this._getCoreViewModel().states.forEach((t3) => { - e3.push(this.coreFactory.createArchWrapper(t3)); - }), e3; - } - } - t2.default = r2; - }, 16435: (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" }; - }, 16468: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(85383)); - class o extends r2.default { - constructor(e3, t3) { - super(e3, t3); - } - get displayTypeName() { - return "ArchBaseNetworkValueContainer"; - } - _addLiteralByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._findItemByIdAsync(e3, t3).then(this._addNetworkModelToCollection.bind(this)); - }); - } - _addLiteralByValueAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._findItemByValueAsync(e3, t3, i3).then(this._addNetworkModelToCollection.bind(this)); - }); - } - _addNetworkModelToCollection(e3) { - this._itemIsInvalid(this._infoParm("this", "_addNetworkModelToCollection"), "_addNetworkModelToCollection must be overridden by subclass"); - } - get isArchBaseNetworkValueContainer() { - return true; - } - } - t2.default = o; - }, 16598: (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(17405)); - class s extends a.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "dateTime"; - } - get displayTypeName() { - return "ArchValueDateTime"; - } - _checkAndSetLiteral(e3, t3) { - this._checkItemIsValidLiteralDateTime(e3, t3), this._checkItem(e3, t3 < o.default.minDateTime, "the dateTime value of '" + t3.toISOString() + "' is less than the allowed minimum of '" + o.default.minDateTime.toISOString() + "'"), this._checkItem(e3, t3 > o.default.maxDateTime, "the dateTime value of '" + t3.toISOString() + "' is greater than the allowed maximum of '" + o.default.maxDateTime.toISOString() + "'"), this._checkItem(e3, 0 !== t3.getUTCMilliseconds(), "the dateTime value of '" + t3.toISOString() + "' is not valid because it has fractional seconds specified of " + t3.getUTCMilliseconds() + " millisecond(s). The dateTime must be 0 milliseconds."), this._setLiteral(e3, this._getArchIsoDateTimeStr(t3)); - } - _getArchIsoDateTimeStr(e3) { - if (r2.default.isDate(e3)) { - const t3 = e3.toISOString(); - return t3.substring(0, t3.indexOf(".")) + "+00:00"; - } - } - get isArchValueDateTime() { - return true; - } - setExpressionMinDateTime() { - this._setExpression(this._infoVal("arch_min_datetime", "setExpressionMinDateTime"), "MakeDateTime(1800, 1, 1, 0, 0, 0)"); - } - setExpressionMaxDateTime() { - this._setExpression(this._infoVal("arch_max_datetime", "setExpressionMaxDateTime"), "MakeDateTime(2200, 12, 31, 23, 59, 59)"); - } - setLiteralDateTime(e3) { - this._checkAndSetLiteral(this._infoParm("dateTime", "setLiteralDateTime"), e3); - } - setLiteralMinDateTime() { - this._checkAndSetLiteral(this._infoVal("arch_min_datetime", "setLiteralMinDateTime"), o.default.minDateTime); - } - setLiteralMaxDateTime() { - this._checkAndSetLiteral(this._infoVal("arch_max_datetime", "setLiteralMaxDateTime"), o.default.maxDateTimeNoMs); - } - } - t2.default = s; - }, 16608: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = i2(30801), a = n2.__importDefault(i2(78432)), s = i2(89720); - class l extends r2.default { - constructor(e3) { - super(e3), this._uuiData = this.coreFactory.createArchWrapper(e3.uuiData); - } - get _actionTypeId() { - return o.setUUIDataActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSetUUIData() { - return true; - } - get uuiData() { - return this._uuiData; - } - get mode() { - var e3; - return null === (e3 = this._getCoreViewModel().mode) || void 0 === e3 ? void 0 : e3.name; - } - set mode(e3) { - const t3 = this._infoPropSet("newOutboundUUIDataMode", "mode"); - switch (this._checkItemIsValidLiteralStringEnum(t3, e3, a.default.SET_UUI_DATA_MODES_ALL), e3) { - case a.default.SET_UUI_DATA_MODES.transfer: - this._getCoreViewModel().mode = s.transfer; - break; - case a.default.SET_UUI_DATA_MODES.disconnect: - this._getCoreViewModel().mode = s.disconnect; - } - this.logNote("mode set to '" + this.mode + "'"); - } - } - t2.default = l; - }, 16707: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeScan = void 0; - var n2 = i2(65212), r2 = i2(2574); - t2.mergeScan = function(e3, t3, i3) { - return void 0 === i3 && (i3 = 1 / 0), n2.operate(function(n3, o) { - var a = t3; - return r2.mergeInternals(n3, o, function(t4, i4) { - return e3(a, t4, i4); - }, i3, function(e4) { - a = e4; - }, false, void 0, function() { - return a = null; - }); - }); - }; - }, 16714: (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 "worktypeStatusCollection"; - } - get initialValue() { - return this._initialValue; - } - get displayTypeName() { - return "ArchVariableWorktypeStatusCollection"; - } - get isArchVariableWorktypeStatusCollection() { - return true; - } - } - t2.default = r2; - }, 16731: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(16434)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._userInputSettings = this.coreFactory.createArchWrapper(e3.userInputSettings); - } - get displayTypeName() { - return "ArchBaseFlowBot"; - } - get isArchBaseFlowBot() { - return true; - } - get userInputSettings() { - return this._userInputSettings; - } - get _wantValidateBeforeCreate() { - return false; - } - get settingsErrorHandling() { - if (this._getCoreViewModel().errorHandling) return this.coreFactory.createArchWrapper(this._coreFlowViewModel.errorHandling); - } - } - t2.default = r2; - }, 16791: (e2) => { - "use strict"; - const t2 = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi, i2 = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, n2 = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, r2 = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi, o = /* @__PURE__ */ new Map([["n", "\n"], ["r", "\r"], ["t", " "], ["b", "\b"], ["f", "\f"], ["v", "\v"], ["0", "\0"], ["\\", "\\"], ["e", "\x1B"], ["a", "\x07"]]); - function a(e3) { - return "u" === e3[0] && 5 === e3.length || "x" === e3[0] && 3 === e3.length ? String.fromCharCode(parseInt(e3.slice(1), 16)) : o.get(e3) || e3; - } - function s(e3, t3) { - const i3 = [], o2 = t3.trim().split(/\s*,\s*/g); - let s2; - for (const t4 of o2) if (isNaN(t4)) { - if (!(s2 = t4.match(n2))) throw new Error(`Invalid Chalk template style argument: ${t4} (in style '${e3}')`); - i3.push(s2[2].replace(r2, (e4, t5, i4) => t5 ? a(t5) : i4)); - } else i3.push(Number(t4)); - return i3; - } - function l(e3) { - i2.lastIndex = 0; - const t3 = []; - let n3; - for (; null !== (n3 = i2.exec(e3)); ) { - const e4 = n3[1]; - if (n3[2]) { - const i3 = s(e4, n3[2]); - t3.push([e4].concat(i3)); - } else t3.push([e4]); - } - return t3; - } - function u(e3, t3) { - const i3 = {}; - for (const e4 of t3) for (const t4 of e4.styles) i3[t4[0]] = e4.inverse ? null : t4.slice(1); - let n3 = e3; - for (const e4 of Object.keys(i3)) if (Array.isArray(i3[e4])) { - if (!(e4 in n3)) throw new Error(`Unknown Chalk style: ${e4}`); - n3 = i3[e4].length > 0 ? n3[e4].apply(n3, i3[e4]) : n3[e4]; - } - return n3; - } - e2.exports = (e3, i3) => { - const n3 = [], r3 = []; - let o2 = []; - if (i3.replace(t2, (t3, i4, s2, c, d, p) => { - if (i4) o2.push(a(i4)); - else if (c) { - const t4 = o2.join(""); - 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); - }), r3.push(o2.join("")), n3.length > 0) { - const e4 = `Chalk template literal is missing ${n3.length} closing bracket${1 === n3.length ? "" : "s"} (\`}\`)`; - throw new Error(e4); - } - return r3.join(""); - }; - }, 16817: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BridgeServerAction = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(43212), a = i2(1078), s = n2.__importDefault(i2(57606)); - class l extends o.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this._model && r2.default.each(this._model.requests, function(e4) { - this.requests.push(new a.BridgeServerRequest(e4)); - }.bind(this)); - } - get className() { - return "BridgeServerAction"; - } - get category() { - return this._model.category; - } - get deprecated() { - return this._model.deprecated; - } - get description() { - return this._model.description; - } - getConfiguration() { - const e3 = []; - return r2.default.each(this.requests, function(t3) { - e3.push(t3.getConfiguration()); - }), { name: this._model.name, category: this._model.category, latest: this._model.latest, suggestedTimeout: this._model.suggestedTimeout, helpLink: this._model.helpLink, requests: e3 }; - } - get id() { - return this._model.name; - } - get errorSchema() { - } - get inputSchema() { - return this._model.inputSchema ? new s.default(this._model.inputSchema, true) : void 0; - } - get successSchema() { - return this._model.successSchema ? new s.default(this._model.successSchema, true) : void 0; - } - get label() { - return this.name; - } - get name() { - return this._model.name; - } - get helpLink() { - return this._model.helpLink; - } - get published() { - return this._model.published; - } - get result() { - return this._model.result; - } - get suggestedTimeout() { - return this._model.suggestedTimeout; - } - get tags() { - return this._model.tags; - } - } - t2.BridgeServerAction = l; - }, 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), 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); - } - addExpression(e3) { - var t3; - this.builderPartExpressions.push(e3), (null === (t3 = this.owningExpression.options) || void 0 === t3 ? void 0 : t3.allowSecure) && (e3.options.allowSecure = true), T.registerEventSinkForEventEmitter(e3.id, this); - } - _initializeDesignTime() { - super._initializeDesignTime(), r2.default.each(this._builderPartExpressions, (e3) => { - var t3; - this.owningExpression.optionsisExpressionTypePromptOptions && e3.options.isExpressionTypePromptOptions && e3.options.setRequireAudio(this.owningExpression.options.requiresAudio), (null === (t3 = this.owningExpression.options) || void 0 === t3 ? void 0 : t3.allowSecure) && (e3.options.allowSecure = true), e3.initializeDesignTime(), this.outOfService && (e3.outOfService = true); - }); - } - getInternalExpressions() { - return r2.default.filter(this._builderPartExpressions, (e3) => !e3.outOfService); - } - _replaceUsages(e3, t3, i3) { - super._replaceUsages(e3, t3, i3), r2.default.each(this._builderPartExpressions, (n3) => { - r2.default.isFunction(n3.replaceUsages) && n3.replaceUsages(e3, t3, i3); - }); - } - _buildExpressionGeneration() { - const e3 = []; - return r2.default.each(this.builderPartExpressions, (t3) => { - t3.processText(true), e3.push(t3.getEmbeddableExpressionText() || ""); - }), this.builderPartDef.getExpressionGenerator(this) ? 1 === e3.length && this.builderPartDef.useStringLiteralProcessing && this.builderPartDef.useStringLiteralProcessing(this.builderViewModel, this, e3[0]) ? this.builderPartDef.generators.stringLiteralGenerator ? this.createGenerationResult(this.builderPartDef.generators.stringLiteralGenerator, e3) : this.createSingleStringGenerationResult(e3) : this.createGenerationResult(this.builderPartDef.getExpressionGenerator(this), e3) : (e3.length > 1 && S.traceOnce(`multipleEmbeddableExpressions-${this.builderPartDefId}`, (e4) => e4.error(`The builder part instance for the builder part definition ${this.builderPartDefId} has no expression wrapper text but multiple embeddable expression text instances. Returning the first embeddable expression text only.`)), e3.length > 0 ? this.createSingleStringGenerationResult(e3) : void 0); - } - _processOutOfService(e3) { - super._processOutOfService(e3), r2.default.each(this._builderPartExpressions, (t3) => { - t3.outOfService = e3; - }); - } - objEvent_expressionValueChanged() { - this._fireBuilderPartExpressionTextChanged(); - } - get className() { - return "BuilderPartWithExpressionsViewModel"; - } - get isBuilderPartWithExpressionsViewModel() { - return true; - } - get builderPartDisplayLabel() { - return this.builderPartDef ? this.builderPartDef.name : void 0; - } - get builderPartExpressions() { - return this._builderPartExpressions; - } - set builderPartExpressions(e3) { - 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); - }); - } - get isMarkdownSingleExpressionPart() { - return false; - } - setMarkdownText(e3) { - } - getExpressionDetails(e3) { - 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, c2 = s.getDisplayText(t3, e3); - if (r2.default.isFunction(this.builderPartDef.displayStringOverride)) { - const e4 = this.builderPartDef.displayStringOverride(this, c2); - c2 = null == e4 ? void 0 : e4.displayString, u2 = null == e4 ? void 0 : e4.shouldTokenizeDisplayString; - } - 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 ? 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) { - super._loadModel(e3, t3); - const i3 = new f(); - this._builderPartExpressions || (this._builderPartExpressions = []); - const n3 = g.default.getBuilderPartDefById(this.builderPartModel.builderPartDefId); - if (n3) for (let r3 = 0; r3 < n3.expressionDefs.length; r3++) { - const o2 = n3.expressionDefs[r3].type.createExpressionOptionClass(); - n3.expressionDefs[r3].descriptionInfo && o2.setDescriptionInfo(n3.expressionDefs[r3].descriptionInfo.name, n3.expressionDefs[r3].descriptionInfo.description), n3.expressionDefs[r3].configureOptionsCallback && n3.expressionDefs[r3].configureOptionsCallback(o2), o2.setAllowModeBuilder(false), o2.setDoNotTrackUsages(true); - const a2 = _.expression(e3.parentFlow, e3.parent, t3.builderPartExpressions && 0 === t3.builderPartExpressions.length ? i3 : i3.reviveItem(t3.builderPartExpressions[r3], f), n3.expressionDefs[r3].label, n3.expressionDefs[r3].type, e3.propertyName, o2); - t3.builderPartExpressions[r3] = a2.model, T.registerEventSinkForEventEmitter(a2.id, this), this.addExpression(a2); - } - } - _validatePart(e3, t3) { - const i3 = super._validatePart(e3, t3); - if (r2.default.each(this.builderPartExpressions, (e4) => { - e4.validate(t3); - }), !i3 || 0 === this.builderPartExpressions.length) return i3; - let n3; - for (n3 = 0; n3 < this.builderPartExpressions.length; n3++) if (this.builderPartExpressions[n3].hasError) return e3.addError(this, y.builders.builderPartErrorGeneric), false; - for (n3 = 0; n3 < this.builderPartExpressions.length; n3++) this.builderPartExpressions[n3].hasWarning ? e3.addWarning(this, y.builders.builderPartWarningGeneric) : this.builderPartExpressions[n3].hasInfo && e3.addInfo(this, y.builders.builderPartInfoGeneric); - return true; - } - _addClipboardDependencies(e3) { - super._addClipboardDependencies(e3), r2.default.each(this.builderPartExpressions, (t3) => { - t3.addClipboardDependencies(e3); - }); - } - _destroy() { - this.builderPartExpressions = void 0, super._destroy(); - } - } - t2.default = A; - }, 16912: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.clearActiveIntentActionType; - } - get displayTypeName() { - return "ArchActionClearActiveIntent"; - } - get isArchActionClearActiveIntent() { - return true; - } - } - t2.default = a; - }, 16926: (e2, t2, i2) => { - const n2 = i2(92140); - function r2() { - this.id = void 0, this.description = void 0, this.engineVersion = void 0, this.intents = void 0, this.entities = void 0, this.entityTypes = void 0, this.language = void 0, this.trainingStatus = void 0, this.languageVersions = void 0, r2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(r2, "NLUDomainVersion"), Object.defineProperties(r2.prototype, { getConfiguration: { value: function(e3, t3) { - if (t3?.isForFlowYaml) { - const e4 = n2.clone(this); - return delete e4.id, delete e4.description, delete e4.engineVersion, delete e4.trainingStatus, e4; - } - return this; - } } }), e2.exports = r2; - }, 16928: (e2) => { - "use strict"; - e2.exports = require("path"); - }, 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), 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"))]); - if (r2.default.isArray(h)) { - this._requiredChannelTypes = []; - for (const e4 of h) this._requiredChannelTypes.push(u.ParameterValidator.expectChannelType(e4, () => l.ParameterInfo.createConstructorParameter(this.className, "requiredChannelTypeOrTypes"))); - } else h && (this._requiredChannelTypes = [u.ParameterValidator.expectChannelType(h, () => l.ParameterInfo.createConstructorParameter(this.className, "requiredChannelTypeOrTypes"))]); - if (u.ParameterValidator.expectArrayOrString(s2, () => l.ParameterInfo.createConstructorParameter(this.className, "categoryIdentifierOrIdentifiers"), true), r2.default.isArray(s2)) { - this._categories = []; - for (const e4 of s2) this._categories.push(u.ParameterValidator.expectString(e4, () => l.ParameterInfo.createConstructorParameter(this.className, "categoryIdentifierOrIdentifiers"))); - } else r2.default.isString(s2) && (this._categories = [u.ParameterValidator.expectString(s2, () => l.ParameterInfo.createConstructorParameter(this.className, "categoryIdentifierOrIdentifiers"))]); - } - get className() { - return "BaseCommonMetaData"; - } - get categories() { - return this._categories; - } - get isBaseCommonMetaData() { - return true; - } - get resultExpressionType() { - return this._resultExpressionType; - } - get requiredFeatureToggle() { - return this._requiredFeatureToggle; - } - get helpTopic() { - return this._helpTopic; - } - get requiredFeatureConfig() { - return this._requiredFeatureConfig; - } - isMatch(e3) { - return e3 && e3.id === this.id; - } - get meetsFeatureRequirements() { - return (!this._requiredFeatureToggle || a.isEnabled(this._requiredFeatureToggle)) && (!this._requiredFeatureConfig || o.isFeatureAvailable(this._requiredFeatureConfig)); - } - isAvailableForFlow(e3) { - return e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)); - } - isAvailableForFlowType(e3, t3) { - var i3; - if (u.ParameterValidator.expectFlowType(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "isAvailableForFlowType", "flowTypeToCheck")), !t3 && !this.meetsFeatureRequirements) return false; - if (!this._isAvailableForFlowType(e3)) return false; - if (this._requiredChannelTypes) { - const t4 = null === (i3 = s.default.getDefinitionForFlowType(e3)) || void 0 === i3 ? void 0 : i3.channelTypes; - if (r2.default.find(this._requiredChannelTypes, (e4) => !r2.default.contains(t4, e4))) return false; - } - return !this._restrictToFlowTypes || r2.default.contains(this._restrictToFlowTypes, e3); - } - _isAvailableForFlowType(e3) { - return true; - } - isInCategory(e3) { - return -1 !== r2.default.indexOf(this._categories, e3); - } - get descriptionInfo() { - return this._descriptionInfo.description = this.description, this._descriptionInfo.name = this.name, this._descriptionInfo; - } - get version() { - return this._version; - } - } - t2.default = d; - }, 16958: (e2, t2, i2) => { - let n2 = null; - try { - if (i2(6697)) n2 = i2(39958); - else { - const e3 = i2(29546); - n2 = i2(87860)("./" + e3.getCurrentLanguage() + "/builder.js"); - } - } catch (e3) { - n2 = i2(39958); - } - n2.then && n2.then((t3) => { - e2.exports = t3; - }), e2.exports = n2; - }, 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), c = i2(25130); - class d extends r2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return s.botConnectorActionType; - } - get displayTypeName() { - return this._scriptingName; - } - addSessionVariableOutputNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), this.sessionVariableOutputs._addNameValueAssignment(e3, t3, true, true); - } - get botConnectorOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; - } - get isArchActionCallBotConnector() { - return true; - } - get intentSlots() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); - } - get sessionVariableOutputs() { - const e3 = this._getCoreViewModel().outputSessionVariables; - if (e3) return this.coreFactory.createArchBaseValueContainer(e3); - } - setBotByIdAsync(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("botConnectorIntegrationId", "setBotByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotId", "setBotByIdAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotVersionId", "setBotByIdAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), r3, true); - const n3 = yield o.default.findItemByIdAsync(l.botConnectorIntegrationManager, e3, "bot integration"); - 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 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) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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 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 = d; - }, 17102: (e2, t2, i2) => { - "use strict"; - var n2, r2, o, a, s, l; - Object.defineProperty(t2, "__esModule", { value: true }); - 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; - } - destroy() { - if (this.isDestroying) return false; - if (this.isDestroyed) return false; - this.isDestroying = true; - try { - this._preDestroy(); - } catch (e3) { - m.exceptionWithErrorObjectInfo(e3, "Error in _preDestroy processing.", this, true); - } - try { - this._destroy(); - } catch (e3) { - m.exceptionWithErrorObjectInfo(e3, "Error in _destroy processing.", this, true); - } finally { - this.isDestroyed = true, this.isDestroying = false; - } - try { - this._postDestroy(); - } catch (e3) { - m.exceptionWithErrorObjectInfo(e3, "Error in _postDestroy processing.", this, true); - } - return true; - } - get isDestroying() { - return u.__classPrivateFieldGet(this, l, "f"); - } - set isDestroying(e3) { - u.__classPrivateFieldSet(this, l, e3, "f"); - } - get isDestroyed() { - return u.__classPrivateFieldGet(this, s, "f"); - } - set isDestroyed(e3) { - u.__classPrivateFieldSet(this, s, e3, "f"); - } - get isDestroyedOrDestroying() { - return u.__classPrivateFieldGet(this, s, "f") || u.__classPrivateFieldGet(this, l, "f"); - } - _preDestroy() { - } - _destroy() { - } - _postDestroy() { - _.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) { - 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) { - _.addToAutoCleanupWatchList(u.__classPrivateFieldGet(this, n2, "f"), e3, t3, i3); - } - get id() { - return this.className; - } - get parentFlow() { - return u.__classPrivateFieldGet(this, o, "f"); - } - get topParentFlow() { - return u.__classPrivateFieldGet(this, o, "f").topParentFlow; - } - get parent() { - return u.__classPrivateFieldGet(this, a, "f"); - } - _resetParent(e3) { - u.__classPrivateFieldSet(this, a, e3, "f"); - } - getNodeName() { - return this.getDisplayName(); - } - getConfiguration(e3, t3, i3) { - } - initializeDesignTime() { - this._initializeDesignTimeCalled = true; - } - get initializeDesignTimeCalled() { - return this._initializeDesignTimeCalled; - } - loadConfiguration(e3) { - } - search(e3) { - } - validate(e3) { - } - updateDependencies() { - } - get isDisplayableNode() { - return true; - } - get showInFlowSize() { - return this.isDisplayableNode; - } - getNodeToNavigateToOnDelete() { - let e3 = this.parent; - for (; e3; ) { - if (!e3.isDestroyed) return e3; - e3 = e3.parent; - } - if (this.parentFlow) return this.parentFlow.startUpObject; - } - toString() { - 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 = 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) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; - } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.OperatorSubscriber = t2.createOperatorSubscriber = void 0; - var o = i2(2708); - t2.createOperatorSubscriber = function(e3, t3, i3, n3, r3) { - return new a(e3, t3, i3, n3, r3); - }; - var a = (function(e3) { - function t3(t4, i3, n3, r3, o2, a2) { - var s = e3.call(this, t4) || this; - return s.onFinalize = o2, s.shouldUnsubscribe = a2, s._next = i3 ? function(e4) { - try { - i3(e4); - } catch (e5) { - t4.error(e5); - } - } : e3.prototype._next, s._error = r3 ? function(e4) { - try { - r3(e4); - } catch (e5) { - t4.error(e5); - } finally { - this.unsubscribe(); - } - } : e3.prototype._error, s._complete = n3 ? function() { - try { - n3(); - } catch (e4) { - t4.error(e4); - } finally { - this.unsubscribe(); - } - } : e3.prototype._complete, s; - } - return r2(t3, e3), t3.prototype.unsubscribe = function() { - var t4; - if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) { - var i3 = this.closed; - e3.prototype.unsubscribe.call(this), !i3 && (null === (t4 = this.onFinalize) || void 0 === t4 || t4.call(this)); - } - }, t3; - })(o.Subscriber); - t2.OperatorSubscriber = a; - }, 17302: (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._getAssignedCustomerIntentsResult = this.coreFactory.createArchWrapper(e3.getAssignedCustomerIntentsResult); - } - get _actionTypeId() { - return r2.getAssignedCustomerIntentsActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get getAssignedCustomerIntentsOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; - } - get isArchActionGetAssignedCustomerIntents() { - return true; - } - get externalContactId() { - return this._externalContactId; - } - get getAssignedCustomerIntentsResult() { - return this._getAssignedCustomerIntentsResult; - } - } - t2.default = a; - }, 17314: (e2, t2, i2) => { - "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 c extends l.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "PhoneNumberType"; - } - createExpressionOptionClass() { - return new o.ExpressionTypePhoneNumberOptions(); - } - _getLiteralValueOfExpression() { - return ""; - } - convertLitToExpression(e3, t3) { - return "ToPhoneNumber(" + (u.default.getQuotedExpressionStringLiteral(t3) || "") + ")"; - } - validateLiteral(e3, t3) { - super.validateLiteral(e3, t3); - const i3 = r2.validateLiteralString(t3.text, t3.label); - return !i3 || (t3.setParseError(i3), e3.addError(t3, i3, void 0, true), false); - } - getListManagerForExpression(e3) { - var t3; - return (null === (t3 = e3.options) || void 0 === t3 ? void 0 : t3.literalUsesSmsPhoneNumberDropdown) ? a.smsPhoneNumberManager : super.getListManagerForExpression(e3); - } - } - 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) { - return { item: e3, displayName: t3, errorMessage: i2, consumers: n2, divisions: r2 }; - }; - }, 17343: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "digitalAudio"; - } - get displayTypeName() { - return "ArchVariableDigitalAudio"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableDigitalAudio() { - return true; - } - } - 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), 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(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)(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 ? d.userTransferFailureReasonsForWorkitemFlowType : c.userTransferFailureReasons; - } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseValueBasic"; - } - get isArchBaseValueBasic() { - return true; - } - } - t2.default = r2; - }, 17466: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeLanguageSkillOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeLanguageSkillOptions"; - } - get isExpressionLanguageSkillOptions() { - return true; - } - } - 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), 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(p.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); - }) }); - } - static get managedProperties() { - return [...this.createBaseManagedProperties(), this.createRecordIdsManagedProperty(), ...this.createCustomJsonProperties()]; - } - static get branchInfo() { - return r2.default.foundPartiallyFoundNotFound; - } - _getPossibleErrors() { - return l.getConversationAttributesFailureReasons; - } - } - _.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) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } - } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - 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), 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(d)); - }; - 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 c.AsyncSubject(), u2 = true; - return new a.Observable(function(a2) { - var s3 = l2.subscribe(a2); - if (u2) { - u2 = 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]), d2 = true, c2 && l2.complete(); - }])), d2 && l2.complete(), c2 = true; - } - return s3; - }); - }; - }; - }, 17475: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefInQueueShortMessageFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(27862); - class s extends r2.BriefFlowListManager { - get dependencyType() { - return a.InqueueShortMessageFlow; - } - constructor() { - super(), this.topic = n2.getTopic("BriefInQueueShortMessageFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeInQueueShortMessage }, this.className = "BriefInQueueShortMessageFlowListManager", this.flowType = o.flowTypes.flowTypeInQueueShortMessage, this._initialize(); - } - } - t2.briefInQueueShortMessageFlowListManager = new s(); - }, 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), 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; - } - get dependencyType() { - return h.NuanceMixBot; - } - constructor() { - 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 d.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 ? p.nuanceMixIntegrationManager.getItem(t3.integrationId) : null; - } - get _networkModel() { - return m; - } - } - 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: 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) { - d.expectString(n3, () => c.createFunctionParameter(m, "create", "newContentName"), true); - const r3 = o.getFlowViewModel(e3); - if (!r3) return d.expectFlowViewModel(r3, () => c.createFunctionParameter(m, "create", "taskViewModel.parentFlow")), null; - let s2; - try { - const o2 = new a(); - return o2.configure(r3, e3, e3.getConfiguration(), n3), s2 = new g(o2, i3), s2.initialize(r3, e3, t3), s2; - } catch (e4) { - i3.logException(e4, "Unable to create clipboard content task."); - } - return s2 && s2.destroy(), null; - } - _pasteGetCoreModelForContent() { - return new _(this.cloneToRawJsonObject(this._pasteJsonObjects.content)); - } - _pasteGetCoreViewModelForCoreModel(e3, t3) { - return this._pasteAddTaskViewModelForTaskModel(e3, t3); - } - _pasteBefore(e3) { - const t3 = super._pasteBefore(e3); - return t3.isFailure || e3.destViewModel.tasks || (this._destUpconvertMenuChoiceViewModel = u.createMenuChoice(e3.destViewModel, h), this.log("Paste will be up-converting the task to an inline task. Newly created menu choice will be " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel))), t3; - } - _pasteAfter(e3) { - if (!n2.isUndefined(this._destUpconvertMenuChoiceViewModel)) { - let t3 = this.pastedMenuOrTaskOrActionViewModel.name; - t3 = e3.clipboardObject.pasteGetUniqueMenuChoiceName(t3, this._destUpconvertMenuChoiceViewModel.parent, true, false), this._destUpconvertMenuChoiceViewModel.name = t3, this._pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3.destViewModel, this._destUpconvertMenuChoiceViewModel), this._destUpconvertMenuChoiceViewModel.linkTask(this.pastedMenuOrTaskOrActionViewModel), this._destUpconvertMenuChoiceViewModel.resetDtmfToUniqueDtmf(), this.log("Pasted task linked to paste created menu choice " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel) + "."); - } - return this.createClipboardResultSuccess(); - } - _resetUpconvertViewModels() { - super._resetUpconvertViewModels(), this._destUpconvertMenuChoiceViewModel = void 0; - } - checkCanPasteClipboardContextWithDetails(e3) { - const t3 = super.checkCanPasteClipboardContextWithDetails(e3); - return t3.isFailure ? t3 : e3.destViewModel && (e3.destViewModel.isFlowViewModel || e3.destViewModel.isMenu || e3.destViewModel.isSubMenu) && (e3.destViewModel.isFlowViewModel ? e3.destViewModel.supportsReusableTasks : e3.destFlowViewModel.supportsReusableTasks) && (e3.destViewModel.isFlowViewModel ? n2.isArray(e3.destViewModel.tasks) : n2.isArray(e3.destFlowViewModel.tasks)) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, l.tasks) ? this.createClipboardResultFailureCanPasteGeneric() : (this.shouldPasteAsInlineTask(e3) && (t3.messageDisplayStr = p.clipboard.content.canPaste.upConvert.task.toMenuChoice), t3) : this.createClipboardResultFailure(this._formatResourceStrForDestFlowType(e3, n2.isArray(e3.destFlowViewModel.tasks) ? p.clipboard.content.pastableLocations.task : p.clipboard.content.notSupportedByFlowType.tasks)); - } - get className() { - return m; - } - get clipboardContentType() { - return s.task; - } - get isClipboardContentTask() { - return true; - } - shouldPasteAsInlineTask(e3) { - return e3.destViewModel.isMenu || e3.destViewModel.isSubMenu; - } - } - e2.exports = g; - }, 17498: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NO_VERSION = void 0, t2.registerConsumerDependencies = function(e3, t3, i3) { - A(e3, t3), i3.forEach((i4) => { - 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 !== 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) { - return _[e4.instanceId] || (_[e4.instanceId] = []), _[e4.instanceId]; - })(i3), a2 = e3 ? e3.toLowerCase() : void 0, s2 = { nameLower: a2, name: e3, type: t3, id: n3 }; - let l2 = n3 ? o.default.findIndex(r3, { id: n3, type: t3 }) : -1; - l2 >= 0 ? r3[l2] = o.default.defaults(r3[l2], s2) : (l2 = a2 ? o.default.findIndex(r3, { nameLower: a2, type: t3 }) : -1, l2 >= 0 ? r3[l2] = o.default.defaults(r3[l2], s2) : r3.push(s2)); - }, t2.registerNonDependencyValidationItem = S, t2.registerExpression = function(e3, i3) { - if (!e3) return; - N(e3); - const n3 = g(e3); - o.default.each(n3, (n4) => { - if (n4.isTransitory) return; - n4.registerDependencies(); - const r3 = m(n4); - if (r3) { - const o2 = n4.getLitAsString(); - if (o2) { - n4.parent.isVariableViewModel && !i3 && u.validateItem(n4.parent); - const a2 = n4.getDependencyTrackingId(); - e3.outOfService || n4.outOfService ? S(n4.parent, 0, o2, a2, r3.value) : y(n4.parent, n4, o2, a2, t2.NO_VERSION, r3); - } - } - }); - }, 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 = v, t2.getDependenciesForFlow = O, t2.getDependencyGraphForFlow = function(e3) { - const t3 = {}; - return o.default.each(O(e3), (e4) => { - if (e4.type.hideFromGrid) return; - const i3 = e4.version ? `-${e4.version}` : "", n3 = `${e4.type.value}${i3}-${e4.id}`; - if (t3[n3]) t3[n3].visibleUsages.push({ consumer: e4.consumer, context: e4.context }); - else { - let o2 = e4.name; - if (i3 && e4.type === c.CommonModuleFlow) { - const t4 = e4.consumer.commonModule.getCommonModuleReference(); - 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 }] }; - } - }), t3; - }, t2.getUnverifiedPrompts = function(e3) { - var t3; - if (!e3) return a.error("no flow passed in to getUnverifiedPrompts"), []; - const i3 = (null === (t3 = _[e3.instanceId]) || void 0 === t3 ? void 0 : t3.slice()) || []; - return e3.getEmbeddedCommonModules().forEach((e4) => { - const t4 = _[e4.instanceId]; - t4 && t4.forEach((e5) => { - i3.find((t5) => t5.id === e5.id && t5.type === e5.type) || i3.push(e5); - }); - }), i3; - }, t2.getValidationOnlyItems = function(e3) { - const t3 = o.default.clone(h[e3.instanceId]) || {}; - return e3.getEmbeddedCommonModules().forEach((e4) => { - const i3 = h[e4.instanceId]; - o.default.forEach(i3, (e5, i4) => { - t3[i4] || (t3[i4] = e5); - }); - }), t3; - }, t2.updateDependencies = function(e3, t3) { - 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)), c = i2(27862), d = i2(47957), p = {}, _ = {}, h = {}; - function m(e3) { - if (e3 && e3.type) switch (e3.type.singletonType) { - case s.globalTypes.contactList: - return c.ContactList; - case s.globalTypes.customerSegment: - return c.CustomerSegment; - case s.globalTypes.digitalAudio: - return c.DigitalAudio; - case s.globalTypes.division: - return c.Division; - case s.globalTypes.emergencyGroup: - return c.EmergencyGroup; - case s.globalTypes.file: - return c.File; - case s.globalTypes.grammar: - return c.Grammar; - case s.globalTypes.group: - return c.Group; - case s.globalTypes.image: - return c.Image; - case s.globalTypes.languageSkill: - return c.LanguageSkill; - case s.globalTypes.knowledgeBaseDocument: - return c.KnowledgeBaseDocument; - case s.globalTypes.queue: - return c.Queue; - case s.globalTypes.responseAsset: - return c.ResponseAsset; - case s.globalTypes.schedule: - return c.Schedule; - case s.globalTypes.scheduleGroup: - return c.ScheduleGroup; - case s.globalTypes.skill: - return c.Skill; - case s.globalTypes.userQueue: - return c.User; - case s.globalTypes.utilizationLabel: - return c.UtilizationLabel; - case s.globalTypes.video: - return c.Video; - case s.globalTypes.wrapupCode: - return c.WrapupCode; - } - } - function g(e3) { - if (e3.getExpressions) return e3.getExpressions(); - } - function f(e3) { - if (e3.isFlowViewModel) return e3; - let t3 = e3; - for (; t3; ) { - if (t3.flow || t3.parentFlow) return t3.flow || t3.parentFlow; - t3 = t3.parent === t3 ? null : t3.parent; - } - } - function T(e3) { - return p[e3.instanceId] || (p[e3.instanceId] = []), p[e3.instanceId]; - } - function y(e3, t3, i3, n3, r3, o2, s2, l2, u2) { - if (!e3) return void a.error("registerConsumer missing consumer parameter"); - if (!n3) return void a.error("registerConsumer missing dependencyId parameter"); - 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 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); - const a2 = (function(e4, t4) { - h[e4.instanceId] || (h[e4.instanceId] = {}); - const i4 = h[e4.instanceId]; - return i4[t4] || (i4[t4] = {}), i4[t4]; - })(o2, r3); - a2[n3] = { name: i3, id: n3 }; - } - function A(e3, t3, i3) { - i3 || (i3 = f(e3)), i3 && (p[i3.instanceId] = o.default.reject(T(i3), (i4) => i4.consumer && i4.consumer.id === e3.id && i4.context === t3)); - } - function N(e3) { - const t3 = g(e3); - o.default.each(t3, (e4) => { - if (m(e4)) { - const t4 = f(e4); - if (!t4) return; - p[t4.instanceId] = o.default.reject(T(t4), (t5) => t5.context === e4); - } - }); - } - 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 []; - const t3 = p[e3.instanceId].slice(); - return e3.getEmbeddedCommonModules().forEach((e4) => { - const i3 = p[e4.instanceId]; - (null == i3 ? void 0 : i3.length) && t3.push(...i3.slice()); - }), t3; - } - t2.NO_VERSION = void 0, l.serviceListen(l.cleanUpFlow, (e3) => { - delete p[e3.instanceId]; - }); - }, 17512: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindSkillActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; - } - } - t2.FindSkillActionModel = o, o.__type = r2.findSkillActionType, o.registerType(); - }, 17548: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(323)), o = n2.__importDefault(i2(22322)), a = n2.__importDefault(i2(29659)), s = { ArchTtsEngine: r2.default, archTtsEngines: o.default, ArchTtsVoice: a.default }; - t2.default = s; - }, 17552: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getSmsPhoneNumber = t2.getSmsPhoneNumbers = void 0; - const n2 = i2(31635), r2 = i2(49756), o = i2(33416), a = n2.__importDefault(i2(36019)); - t2.getSmsPhoneNumbers = a.default.request("GET", "{public-api.apps}/api/v2/routing/sms/phonenumbers?phoneNumberStatus=active", o.SmsPhoneNumberList, { ignoreBadResponse: true }), t2.getSmsPhoneNumber = a.default.request("GET", "{public-api.apps}/api/v2/routing/sms/phonenumbers/{phoneNumber}", r2.SmsPhoneNumber, { ignoreBadResponse: true }); - }, 17599: (e2, t2, i2) => { - function n2() { - this.id = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "DigitalBotFlowLaunchResult"), e2.exports = n2; - }, 17604: (e2, t2, i2) => { - var n2; - !(function() { - "use strict"; - 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, 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++) { - if (!i3.hasOwnProperty(s2[2][a2])) throw new Error(o('[sprintf] property "%s" does not exist', s2[2][a2])); - i3 = i3[s2[2][a2]]; - } - 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]) && (d = i3 >= 0), s2[8]) { - case "b": - i3 = parseInt(i3, 10).toString(2); - break; - case "c": - i3 = String.fromCharCode(parseInt(i3, 10)); - break; - case "d": - case "i": - i3 = parseInt(i3, 10); - break; - case "j": - i3 = JSON.stringify(i3, null, s2[6] ? parseInt(s2[6]) : 0); - break; - case "e": - i3 = s2[7] ? parseFloat(i3).toExponential(s2[7]) : parseFloat(i3).toExponential(); - break; - case "f": - i3 = s2[7] ? parseFloat(i3).toFixed(s2[7]) : parseFloat(i3); - break; - case "g": - i3 = s2[7] ? String(Number(i3.toPrecision(s2[7]))) : parseFloat(i3); - break; - case "o": - i3 = (parseInt(i3, 10) >>> 0).toString(8); - break; - case "s": - i3 = String(i3), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; - break; - case "t": - i3 = String(!!i3), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; - break; - case "T": - i3 = Object.prototype.toString.call(i3).slice(8, -1).toLowerCase(), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; - break; - case "u": - i3 = parseInt(i3, 10) >>> 0; - break; - case "v": - i3 = i3.valueOf(), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; - break; - case "x": - i3 = (parseInt(i3, 10) >>> 0).toString(16); - break; - case "X": - i3 = (parseInt(i3, 10) >>> 0).toString(16).toUpperCase(); - } - 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) { - if (s[e4]) return s[e4]; - for (var t3, i3 = e4, n3 = [], o2 = 0; i3; ) { - if (null !== (t3 = r2.text.exec(i3))) n3.push(t3[0]); - else if (null !== (t3 = r2.modulo.exec(i3))) n3.push("%"); - else { - if (null === (t3 = r2.placeholder.exec(i3))) throw new SyntaxError("[sprintf] unexpected placeholder"); - if (t3[2]) { - o2 |= 1; - var a2 = [], l = t3[2], u = []; - if (null === (u = r2.key.exec(l))) throw new SyntaxError("[sprintf] failed to parse named argument key"); - for (a2.push(u[1]); "" !== (l = l.substring(u[0].length)); ) if (null !== (u = r2.key_access.exec(l))) a2.push(u[1]); - else { - if (null === (u = r2.index_access.exec(l))) throw new SyntaxError("[sprintf] failed to parse named argument key"); - a2.push(u[1]); - } - t3[2] = a2; - } else o2 |= 2; - if (3 === o2) throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported"); - n3.push(t3); - } - i3 = i3.substring(t3[0].length); - } - return s[e4] = n3; - })(e3), arguments); - } - function a(e3, t3) { - return o.apply(null, [e3].concat(t3 || [])); - } - var s = /* @__PURE__ */ Object.create(null); - t2.sprintf = o, t2.vsprintf = a, "undefined" != typeof window && (window.sprintf = o, window.vsprintf = a, void 0 === (n2 = function() { - return { sprintf: o, vsprintf: a }; - }.call(t2, i2, t2, e2)) || (e2.exports = n2)); - })(); - }, 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)), 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: _.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) => { - var t4; - this.parentFlow === e4 && (null === (t4 = this.parentFlow) || void 0 === t4 ? void 0 : t4.initializeDesignTimeCalled) && !this.parentFlow.isDestroyedOrDestroying && this._configureIntentAllowableValues(); - }, this._loadModel(t3); - } - _configureIntentAllowableValues() { - this.intent.options.facets.setAllowableValues(this.parentFlow.nluMetaData.allowableIntentValues), s.validateAction(this, false, true); - } - _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(_.setIntent.nluMustHaveOneIntentToSetIntent); - }); - } - } - 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.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) { - e3.appendText = "appendText", e3.replaceText = "replaceText", e3.removeText = "removeText", e3.wrapText = "wrapText"; - })(o || (t2.CodeSuggestionWhatToDo = o = {})), (function(e3) { - e3.ArchitectExpression = "ArchitectExpression", e3.ArchitectExpressionContent = "ArchitectExpressionContent", e3.ArchitectLiteral = "ArchitectLiteral", e3.ArchitectLiteralContent = "ArchitectLiteralContent", e3.Array = "Array", e3.ArrayEnd = "]", e3.ArrayStart = "[", e3.False = "False", e3.JsonText = "JsonText", e3.LineComment = "LineComment", e3.ItemSeparator = "ItemSeparator", e3.Null = "Null", e3.Number = "Number", e3.Object = "Object", e3.ObjectStart = "{", e3.ObjectEnd = "}", e3.Property = "Property", e3.PropertyName = "PropertyName", e3.String = "String", e3.True = "True"; - })(a || (t2.CodeArchitectJsonParserToken = a = {})), (function(e3) { - e3.ArrayItemStartSeparator = "-", e3.BlockMapping = "BlockMapping", e3.BlockSequence = "BlockSequence", e3.Document = "Document", e3.FlowMapping = "FlowMapping", e3.Item = "Item", e3.Key = "Key", e3.KeyValueSeparator = ":", e3.Literal = "Literal", e3.Pair = "Pair", e3.QuotedLiteral = "QuotedLiteral", e3.Stream = "Stream", e3.ArchitectExpression = "ArchitectExpression", e3.ArchitectExpressionContent = "ArchitectExpressionContent", e3.ArchitectLiteral = "ArchitectLiteral", e3.ArchitectLiteralContent = "ArchitectLiteralContent"; - })(s || (t2.CodeArchitectYamlParserToken = s = {})); - }, 17749: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ClearSkillExpressionFiltersActionModel = void 0; - const n2 = i2(5894), r2 = i2(30801); - class o extends n2.BaseFailureOutputsActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; - } - } - t2.ClearSkillExpressionFiltersActionModel = o, o.__type = r2.clearSkillExpressionFiltersActionType, o.registerType(); - }, 17769: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "chatGuestCollection"; - } - get displayTypeName() { - return "ArchValueChatGuestCollection"; - } - get isArchValueChatGuestCollection() { - return true; - } - } - t2.default = r2; - }, 17782: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.shareReplay = void 0; - var n2 = i2(10381), r2 = i2(93405); - t2.shareReplay = function(e3, t3, i3) { - var o, a, s, l, u = false; - return e3 && "object" == typeof e3 ? (o = e3.bufferSize, l = void 0 === o ? 1 / 0 : o, a = e3.windowTime, t3 = void 0 === a ? 1 / 0 : a, u = void 0 !== (s = e3.refCount) && s, i3 = e3.scheduler) : l = null != e3 ? e3 : 1 / 0, r2.share({ connector: function() { - return new n2.ReplaySubject(l, t3, i3); - }, resetOnError: true, resetOnComplete: false, resetOnRefCountZero: u }); - }; - }, 17785: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeListPickerOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeListPickerOptions"; - } - get isExpressionTypeListPickerOptions() { - return true; - } - } - t2.ExpressionTypeListPickerOptions = r2; - }, 17802: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.finalize = void 0; - var n2 = i2(65212); - t2.finalize = function(e3) { - return n2.operate(function(t3, i3) { - try { - t3.subscribe(i3); - } finally { - i3.add(e3); - } - }); - }; - }, 17812: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.connect = void 0; - var n2 = i2(76808), r2 = i2(19724), o = i2(65212), a = i2(51071), s = { connector: function() { - return new n2.Subject(); - } }; - t2.connect = function(e3, t3) { - void 0 === t3 && (t3 = s); - var i3 = t3.connector; - return o.operate(function(t4, n3) { - var o2 = i3(); - r2.innerFrom(e3(a.fromSubscribable(o2))).subscribe(n3), n3.add(t4.subscribe(o2)); - }); - }; - }, 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), 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)(); - } - get className() { - return "DialogflowAgentViewModel"; - } - get description() { - return this.projectId ? (0, r2.sprintf)(_.dialogflow.projectIdLabel, this.projectId) : null; - } - get descriptionIntegrationName() { - return a.isFeatureAvailable(l.default.googleDialogflowEsResellV2Feature) && o.default.isString(this.integrationName) ? (0, r2.sprintf)(_.dialogflow.integrationNameLabel, o.default.escape(this.integrationName)) : null; - } - get errorSchema() { - return this._errorSchema; - } - getConfiguration() { - return this._model; - } - get id() { - return this._model.id; - } - get label() { - return this._model.name || ""; - } - get languages() { - return this._model.languages; - } - get model() { - return this._model; - } - set model(e3) { - this._model = e3, this.intents = [], this._model.intents && o.default.each(this._model.intents, (e4) => { - 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() { - return this._model.name; - } - get projectId() { - var e3; - return null === (e3 = this._model.project) || void 0 === e3 ? void 0 : e3.id; - } - get integrationId() { - var e3; - return null === (e3 = this._model.integration) || void 0 === e3 ? void 0 : e3.id; - } - get integrationName() { - var e3; - return null === (e3 = this._model.integration) || void 0 === e3 ? void 0 : e3.name; - } - } - 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 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); - } - c.duplicateKeyListProperty = "alternateFlowInfos", c.getMasterItemIndexFromDuplicateKeyList = (e3) => { - const t3 = e3.findIndex((e4) => !e4.version); - return t3 >= 0 ? t3 : 0; - }, r2.extend(c, "FlowInfo"), Object.defineProperties(c.prototype, { alternateFlowInfos: { enumerable: true, get: function() { - return this._alternateFlowInfos; - }, set: function(e3) { - this._alternateFlowInfos = this.reviveArray(e3, c); - } }, checkedInVersion: { enumerable: true, get: function() { - return this._checkedInVersion; - }, set: function(e3) { - this._checkedInVersion = this.reviveItem(e3, s); - } }, currentOperation: { enumerable: true, get: function() { - return this._currentOperation; - }, set: function(e3) { - this._currentOperation = this.reviveItem(e3, o); - } }, debugVersion: { enumerable: true, get: function() { - return this._debugVersion; - }, set: function(e3) { - this._debugVersion = this.reviveItem(e3, s); - } }, isFlowInfo: { value: true }, lockedClient: { enumerable: true, get: function() { - return this._lockedClient; - }, set: function(e3) { - this._lockedClient = this.reviveItem(e3, l); - } }, lockedUser: { enumerable: true, get: function() { - return this._lockedUser; - }, set: function(e3) { - this._lockedUser = this.reviveItem(e3, u); - } }, publishedVersion: { enumerable: true, get: function() { - return this._publishedVersion; - }, set: function(e3) { - this._publishedVersion = this.reviveItem(e3, s); - } }, savedVersion: { enumerable: true, get: function() { - return this._savedVersion; - }, set: function(e3) { - this._savedVersion = this.reviveItem(e3, s); - } }, state: { get: function() { - return this._state; - }, set: function(e3) { - this._state = n2.isString(e3) ? e3.toLowerCase() : e3; - } }, schemas: { set: function(e3) { - this.inputSchema = e3.input, this.outputSchema = e3.output; - } }, supportedLanguages: { enumerable: true, get: function() { - return this._supportedLanguages; - }, set: function(e3) { - this._supportedLanguages = this.reviveArray(e3, a); - } } }), e2.exports = c; - }, 17873: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleAsyncIterable = void 0; - var n2 = i2(48051), r2 = i2(28619); - t2.scheduleAsyncIterable = function(e3, t3) { - if (!e3) throw new Error("Iterable cannot be null"); - return new n2.Observable(function(i3) { - r2.executeSchedule(i3, t3, function() { - var n3 = e3[Symbol.asyncIterator](); - r2.executeSchedule(i3, t3, function() { - n3.next().then(function(e4) { - e4.done ? i3.complete() : i3.next(e4.value); - }); - }, 0, true); - }); - }); - }; - }, 17894: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.buildFlowEntitiesFromSurveyForm = N, t2.createSurveyFlow = function(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var n3; - const s2 = { id: void 0 }; - let d2; - try { - d2 = yield c.surveyFormManager.apiCallSingle(e3); - } catch (e4) { - switch (null == e4 ? void 0 : e4.status) { - case 403: - s2.id = "voiceSurveyPermissionsError", s2.text = (0, o.sprintf)(y.voiceSurvey.surveyFormInsufficientPermissions, p.permissionStrings.external.externalAuthorizations.qualitySurveyFormView); - break; - case 404: - s2.id = "voiceSurveyFormNotFound", s2.text = y.voiceSurvey.voiceSurveyDoesNotExistError; - break; - default: - s2.id = "voiceSurveyUnspecifiedError", A.requestError(e4, "failed to create voice survey flow"); - } - return { error: s2 }; - } - 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); - const g2 = { flow: m2, nluDomainVersion: _2.nluDomainVersion }; - return a.default.isUndefined(s2.id) || (g2.error = s2), g2; - }); - }, t2.getFirstEntityErrorInfo = function(e3, t3) { - const i3 = { name: "", type: "", namesMatch: false, typesMatch: false }; - return t3.forEach((t4) => { - const n3 = e3.find((e4) => e4.name === t4.name); - return n3 ? (null == n3 ? void 0 : n3.type) !== t4.type ? (i3.name = t4.name, i3.type = t4.type, i3) : void 0 : (i3.name = t4.name, i3); - }), i3; - }, t2.getFirstEntityTypeErrorInfo = function(e3, t3) { - const i3 = { name: "", namesMatch: false, mechanismsMatch: true }; - return t3.forEach((t4) => { - var n3, r3, o2, a2, s2, l2; - const u2 = e3.find((e4) => e4.name === t4.name); - 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)), 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: [] }, c2 = l2.archSurveyForm; - e3.questionGroups.forEach((e4, t4) => { - 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), 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) { - case f.SurveyQuestionTypesEnum.freeTextQuestion: - const e5 = { name: (0, h.getSurveyQuestionSlotName)(i4, y2), type: r2.BuiltInEntityType.BuiltInAny }; - A3.push(e5); - break; - case f.SurveyQuestionTypesEnum.npsQuestion: - for (let e6 = 0; e6 <= 10; e6++) { - const t6 = e6.toString(), i5 = { value: t6, synonyms: [t6] }; - d4.push(i5); - } - 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; - case f.SurveyQuestionTypesEnum.multipleChoiceQuestion: - let o4 = 1; - t5.answerOptions.forEach((e6) => { - const t6 = { id: e6.id, text: e6.text, dtmf: o4.toString() }; - if (!c3.answerOptions.find((e7) => e7.text === t6.text)) { - if (void 0 !== t6.text) { - const t7 = { value: e6.text }; - d4.push(t7), t7.synonyms || (t7.synonyms = []), t7.synonyms.push(o4.toString()); - } - c3.answerOptions.push(t6), o4++; - } - }), 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); - } - if ((0, g.surveyQuestionHasFollowUp)(t5)) { - const e5 = { name: (0, h.getSurveyQuestionSlotName)(i4, y2, true), type: r2.BuiltInEntityType.BuiltInAny }; - A3.push(e5); - } - 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 O = { surveyQuestionId: t5.id, parentSurveyQuestionGroupId: e4.id, surveyQuestionIndex: y2, questionVariableId: N3.id }; - s2.push(O), y2++; - }); - 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 d2 = new S.SurveyFormVariable({ name: "Form.FullSurvey", id: "__SURVEY_FORM__", version: "1.0", description: y.systemVariables.surveyForm }); - return u2.flowVariables.push(d2), u2; - } - function v(e3) { - if ("readOnlyTextBlockQuestion" === e3) return f.SurveyQuestionTypesEnum.readOnlyQuestion; - 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 }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(95079)), a = i2(80295); - class s extends o.default { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_isDefault"), (0, a.makeUnenumerable)(this, "_voices"); - } - get isDefault() { - return this._isDefault; - } - set isDefault(e3) { - this._isDefault = e3; - } - get voices() { - return this._voices; - } - set voices(e3) { - Array.isArray(e3) ? this._voices = this.reviveArrayToMap(e3, Object) : this._voices = this.reviveMap(e3, Object, true); - } - } - t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "isDefault", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "voices", null); - }, 17977: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.exhaustAll = void 0; - var n2 = i2(86632), r2 = i2(87699); - 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 }); - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = n2.__importDefault(i2(62100)); - class s extends o.PagedList { - constructor(e3) { - super(e3); - } - get entities() { - return this._entities; - } - set entities(e3) { - this._entities = this.reviveArray(e3, a.default); - } - } - t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 18126: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "imageCollection"; - } - get displayTypeName() { - return "ArchValueImageCollection"; - } - get isArchValueImageCollection() { - return true; - } - } - t2.default = r2; - }, 18184: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(83747)), o = i2(96618), a = n2.__importDefault(i2(56549)), s = i2(71528); - class l extends r2.default { - constructor(e3) { - super(e3), this._virtualAgentSettings = this.coreFactory.createArchWrapper(e3.virtualAgentSettings); - } - get _flowType() { - return o.flowTypes.flowTypeDigitalBot; - } - get displayTypeName() { - return "ArchFlowDigitalBot"; - } - get isArchFlowDigitalBot() { - return true; - } - get settingsVirtualAgent() { - return this._virtualAgentSettings; - } - loadResponseLibraryManager() { - return n2.__awaiter(this, void 0, void 0, function* () { - const e3 = yield a.default.loadAllItemsAsync(s.responseLibraryManager, "response library names", "name"); - this.logNote("found " + e3.length + " Response Libraries"); - }); - } - } - t2.default = l; - }, 18187: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "file"; - } - get displayTypeName() { - return "ArchVariableFile"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableFile() { - return true; - } - } - t2.default = r2; - }, 18251: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryDataTypes = void 0; - 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(); - } - get displayTypeName() { - return "ArchFactoryDataTypes"; - } - get logStr() { - return this._createLogStrFromParts(["ArchFactoryDataTypes"]); - } - 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); - 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 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 { - n4 = yield a.default.findItemByValueAsync(m.decisionTableManager, i3, "decision table", "name", "name"); - } catch (e4) { - } - n4 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by name`); - try { - u3 = yield a.default.findItemByIdAsync(m.decisionTableManager, n4.id, "decision table"); - } catch (e4) { - } - switch (u3 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by id '${n4.id}'`), r3) { - case o.default.CUSTOM_JSON_SCHEMA_TYPES.input: - _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: - _2 = d.default.getOrCreateDecisionTableCustomJsonManager(e3._getCoreViewModel(), u3.name, u3.id, false, "Inputs", "Outputs"), _2.tryUpdateParentExpressionPropTypeFromSchema(u3.model.publishedContract.executionOutputSchema, true, e3.isReadOnly); - } - if (!_2) return; - return this.coreFactory.createArchWrapper(_2.customDataType); - case p.CustomJsonNamespace.conversationAttribute: - let h2, g2; - try { - h2 = yield a.default.findItemByValueAsync(l.conversationCustomAttributeSchemaManager, i3, "conversation custom attribute schema", "name", "name"); - } catch (e4) { - } - h2 || this.logErrorAndThrow(`was unable to find conversation custom attribute schema '${i3}' by name`); - try { - g2 = yield a.default.findItemByIdAsync(l.conversationCustomAttributeSchemaManager, h2.id, "conversation custom attribute schema"); - } catch (e4) { - } - 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.record: - N = s.BaseConversationAttributeActionViewModel.createOrGetRecordType(f2, A, T, y); - } - 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 _.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 g.default(void 0, e3, p.CustomJsonNamespace.userDefined).createDataTypeDefViewModelsForJsonSchema(); - return i3.failure, this.coreFactory.createArchWrapper(i3.customDataTypeDefs[i3.rootDataTypeDefId]); - } - } - 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, 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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "listPickerItemCollection"; - } - get displayTypeName() { - return "ArchValueListPickerSectionCollection"; - } - get isArchValueListPickerSectionCollection() { - return true; - } - } - t2.default = r2; - }, 18325: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.published = t2.debug = t2.ver_1_0 = t2.saved = t2.latest = void 0, t2.latest = "latest", t2.saved = "saved", t2.ver_1_0 = "1.0", t2.debug = "debug", t2.published = "published"; - }, 18381: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(16434)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _flowType() { - return r2.flowTypes.flowTypeSurveyInvite; - } - get displayTypeName() { - return "ArchFlowSurveyInvite"; - } - get isArchFlowSurveyInvite() { - return true; - } - } - t2.default = o; - }, 18431: (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), e3.skillExpressionFilters && (this._skillExpressionFilters = this.coreFactory.createArchWrapper(e3.skillExpressionFilters)); - } - get _actionTypeId() { - return r2.setSkillExpressionFiltersActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSetSkillExpressionFilters() { - return true; - } - get skillExpressionFilters() { - return this._skillExpressionFilters; - } - get setSkillExpressionFiltersOutputsFailure() { - return this.failureOutputs; - } - } - t2.default = a; - }, 18464: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.multicast = void 0; - var n2 = i2(14359), r2 = i2(10281), o = i2(17812); - t2.multicast = function(e3, t3) { - var i3 = r2.isFunction(e3) ? e3 : function() { - return e3; - }; - return r2.isFunction(t3) ? o.connect(t3, { connector: i3 }) : function(e4) { - return new n2.ConnectableObservable(e4, i3); - }; - }; - }, 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)), 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 }; - } - get isDataAction() { - return true; - } - static get managedProperties() { - return [{ property: "actionSetting", createDetails: p.NetworkBasedActionProperty.createCreateDetails("actionId", "actionName", s.dataActionManager, m.dataAction.mustSelectAction, m.dataAction.actionNotFound, "categorySetting"), yamlOptions: g.createYamlOptions("actionSetting", (e3) => e3.setSkipProperty(true)) }, { allowSecure: false, dataList: true, property: "inputs" }, { createDetails: _.ServerActionSchemaCategoryReference.createCreateDetails(a.dataActionCategoryManager), property: "categorySetting", yamlOptions: g.createYamlOptions("categorySetting", (e3) => e3.setSkipProperty(true)) }, { dataList: true, isOutput: true, property: "errorBindings", yamlOptions: g.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; - } - postProcessYamlConfig(e3, t3, i3) { - this.commonServerActionPostProcessYamlConfig(e3, t3, i3); - } - } - 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; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(75601), o = i2(19413), a = i2(30345), s = { ignoreBadResponse: true }; - t2.getDigitalBotConnectorBots = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnectors/{integrationId}/bots/summaries", o, s), t2.getDigitalBotConnectorBot = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}", r2, s), t2.getDigitalBotConnectorBotVersions = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}", a, s); - }, 18534: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - 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), 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: 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(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); - } - get amObjectEventSink() { - return true; - } - static get branchInfo() { - return h.default.successFailure; - } - getDetails() { - 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); - } - objEvent_supportedLanguagesChanged() { - this.generateAudioExpression(), this.parentFlow.validationComplete$.pipe((0, r2.first)()).subscribe(() => { - this._updatePromptReferencesForAudioCases(); - }); - } - postProcessYamlConfig(e3, t3, i3) { - var n3; - if (e3.digits = {}, this.numberOfDigitsMax.text === this.numberOfDigitsMin.text) e3.digits.exact = e3.min, delete e3.min, delete e3.max; - else { - const r3 = e3.digits.range = {}; - r3.terminatingDtmf = null === (n3 = this.terminatingCharacter) || void 0 === n3 ? void 0 : n3.getConfiguration(t3, i3), o.default.moveAndDeleteProperty(e3, r3, "min"), o.default.moveAndDeleteProperty(e3, r3, "max"), o.default.moveAndDeleteProperty(e3, r3, "includeTerminatingDtmfInResultData"); - } - e3.verificationType = this.verificationType ? this.verificationType.getConfiguration(t3, i3) : "none"; - } - get terminatingCharacter() { - return this.model.terminatingCharacter; - } - set terminatingCharacter(e3) { - this.model.terminatingCharacter = e3, this._updateOutOfService(); - } - get verification() { - return this.model.verification; - } - set verification(e3) { - this.model.verification = e3; - } - get verificationType() { - return this.model.verificationType; - } - set verificationType(e3) { - this.model.verificationType = e3, this.generateAudioExpression(); - } - _initializeDesignTime() { - super._initializeDesignTime(), this.isReadOnly || !this.verificationPrompts || this.verificationPrompts.defaultAudio.customExpressionMode || this.generateAudioExpression(), this._updateOutOfService(), this._updatePromptReferencesForAudioCases(true), (0, g.isFeatureAvailable)(y.default.collectInput40Digits) && (this.numberOfDigitsMax.options.facets.setMaxInt(S.collectInput.maxDigits_40, true), this.numberOfDigitsMin.options.facets.setMaxInt(S.collectInput.maxDigits_40, true)), this.addAutoCleanedUpEventSinkWatch(m.expressionValueChanged, this.numberOfDigitsMin, () => (0, T.validateAction)(this, true, true)), this.addAutoCleanedUpEventSinkWatch(m.expressionValueChanged, this.numberOfDigitsMax, () => (0, T.validateAction)(this, true, true)); - } - _updatePromptReferencesForAudioCases(e3) { - this.verificationPrompts.cases.forEach((t3) => { - var i3; - const n3 = t3.audioExpression; - (null == n3 ? void 0 : n3.text) && !(null === (i3 = n3.getPromptReferences()) || void 0 === i3 ? void 0 : i3.length) && n3.processText(e3); - }); - } - _updateOutOfService() { - this.includeTerminatingDtmfInResultData.outOfService = !this.terminatingCharacter; - } - } - 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() { - return t2 ? t2[i2] : null; - } }; - n2 || (r2.set = function(e4) { - t2 && (t2[i2] = e4); - }); - try { - Object.defineProperty(e3, i2, r2); - } 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 = 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 M.NormalExpression(r3); - return e3.initializeDesignTimeCalled && a2.initializeDesignTime(), a2; - } - function k(e3) { - o.default.each(e3.sequenceItems, function(t3) { - e3.validateSequenceItem(t3); - }); - } - function V(e3) { - if (e3.isNoValueMode) return ""; - const t3 = []; - o.default.each(e3.sequenceItems, (i4) => { - const n3 = (function(e4, t4) { - if (!e4.parameter) return ""; - let i5, n4; - switch (e4.type) { - 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 O.blank: - return e4.parameter ? (0, r2.sprintf)("ToAudioBlank(%s)", e4.parameter) : null; - case O.data: - try { - const i6 = t4.parentFlow.variableGroup.getExpandedVariable(e4.variableId); - if (i6) return (0, r2.sprintf)(e4.expressionFormat, i6.getExpressionTextWithNameFallback(), e4.parameter2 || ""); - } catch (e5) { - console.log(e5); - } - return (0, r2.sprintf)(e4.expressionFormat, e4.parameter, e4.parameter2 || ""); - default: - 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(", "))), 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 U(e3) { - if (e3.parentFlow && !e3.parentFlow.loaded) return; - if (e3.customExpressionMode) return; - const t3 = V(e3); - e3.setText(t3, true, false), k(e3); - } - function B(e3, t3) { - return e3.sequenceItems.push(t3), e3.validateSequenceItem(t3), d.fireEvent(e3, u.sequenceItemsChanged, false), t3; - } - let G = 500; - class j extends D.BaseExpression { - get className() { - return "AudioExpression"; - } - constructor(e3) { - 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, 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 G; - } - set blankAudioDefault(e3) { - G = e3; - } - get customExpressionMode() { - return !!this.model.uiMetaData && !!this.model.uiMetaData.customExpressionMode; - } - set customExpressionMode(e3) { - this.model.uiMetaData.customExpressionMode = !!e3, e3 || 0 !== this.sequenceItems.length || this.addTtsSequence(); - } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForComparison) return c.removePropertiesForComparison(this.model); - if (null == t3 ? void 0 : t3.isForFlowYaml) { - if (!this.hasAudioSet) return null; - const e4 = {}, t4 = this.isBargeInEnabled; - if (t4 && this.isTTSOnly) e4.tts = this.sequenceItems[0].parameter; - else if (t4 && this.isPromptOnly) e4.prompt = this.sequenceItems[0].name; - else { - if (!this.text) return null; - e4.exp = this.text; - } - return e4; - } - return this.model; - } - getDisplayName() { - return ""; - } - get isNoValueMode() { - const e3 = this.parentAudioViewModel; - return !!e3 && e3.noValueMode; - } - get isAudioExpression() { - return true; - } - get parentAudio() { - return this._parentAudio; - } - set parentAudio(e3) { - this._parentAudio = e3, this.updateSequenceExpression(true); - } - get isTTSOnly() { - 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 === O.prompt; - } - get isPromptVariableOnly() { - 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(R.globalTypes.prompt, E.settings.exact); - } - return false; - } - get parentAudioViewModel() { - return !this.parentAudio || this.parentAudio.isAudioViewModel ? this.parentAudio : this.parentAudio.parentAudioViewModel; - } - get hasAudioSet() { - return this.customExpressionMode ? !this.isBlank : this.isTTSOnly ? !!this.sequenceItems[0].parameter : this.hasSequenceItems; - } - get hasSequenceItems() { - return this.sequenceItems && this.sequenceItems.length > 0; - } - get sequenceInError() { - return this._sequenceErrors && Object.keys(this._sequenceErrors).length > 0; - } - getErrorForSequenceItem(e3) { - if (this._sequenceErrors && e3) return this._sequenceErrors[e3.$testId]; - } - get isSequenceItemsEmptyOrTtsWithNoAudioSet() { - return !this.hasSequenceItems || this.isTTSOnly && !this.hasAudioSet; - } - _getHasError() { - return !!this.sequenceInError || super._getHasError(); - } - updateSequenceExpression(e3) { - e3 ? U(this) : this.updateSequenceExpressionDebounced(); - } - _initialize() { - o.default.each(this.sequenceItems, (e3) => { - 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; - } - }), _.userPromptListManager.registerAudioExpression(this), super._initialize(); - } - _initializeDesignTime() { - super._initializeDesignTime(), this.parentFlow.isReadOnly || this.sequenceItems.forEach((e3) => { - if (e3.type === O.data && e3.expressionFormat) { - const t3 = this.parentFlow.variableGroup.getExpandedVariable(e3.variableId); - if (t3) { - 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 === 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, g.uuid)(); - } - addBlankSequence() { - 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 O.data: - n3 = this.parentFlow.getVariable(i3.variableId), e3.copyCutAddDependencyVariable(n3, t3); - break; - case O.expression: - i3.expression && i3.expression.addClipboardDependencies(e3); - } - }), o.default.each(this.variables, function(i3) { - e3.copyCutAddDependencyVariable(i3, t3); - }); - } - addTtsSequence() { - return B(this, { $testId: (0, g.uuid)(), type: O.tts }); - } - addPromptSequence() { - return B(this, { $testId: (0, g.uuid)(), type: O.prompt }); - } - addDataSequence(e3) { - 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, 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)); - } - cloneSequenceItems(e3) { - this.sequenceItems.length = 0, o.default.each(e3.sequenceItems, (e4) => { - let 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(w.default.getEmp(this)); - } - _destroy() { - _.userPromptListManager.unregisterAudioExpression(this), o.default.each(this.sequenceItems, (e3) => { - e3 && e3.type === O.expression && e3.expression && e3.expression.destroy(); - }), super._destroy(); - } - getOrderedPrompts() { - var e3; - let t3 = []; - if (this.customExpressionMode) { - const i3 = this.getPromptReferences(); - (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 = _.getItem(e4.id); - i4 && t3.push(i4); - }); - } else o.default.each(this.sequenceItems, (e4) => { - t3 = o.default.union(t3, this.getPromptsFromSequenceItem(e4)); - }); - return t3; - } - getPromptsFromSequenceItem(e3) { - const t3 = []; - let i3, n3; - switch (e3.type) { - case O.prompt: - i3 = _.getItem(e3.parameter), i3 && t3.push(i3); - break; - case O.expression: - n3 = e3.expression.getPromptReferences(), o.default.each(n3, function(e4) { - const i4 = _.getItem(e4.id); - i4 && t3.push(i4); - }); - break; - case O.data: - case O.tts: - case O.blank: - break; - default: - L.error("Unknown sequence item type of " + e3.type); - } - return t3; - } - promptSequenceHasAudio(e3) { - return e3.type !== O.prompt || !e3.parameter || this.promptHasAudio(e3.parameter); - } - promptHasAudio(e3) { - if (e3) { - const t3 = _.getItem(e3); - return !!t3 && p.promptHasRequiredMedia(this.parentFlow, t3, this.languages); - } - return false; - } - replaceUsages(e3, t3, i3) { - if (this.customExpressionMode) super.replaceUsages(e3, t3, i3); - else { - let n3 = false; - o.default.each(this.sequenceItems, (r3) => { - 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 === 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; - 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); - } - updateIfPromptIsUsed(e3) { - 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), k(this)); - } - search(e3) { - this.customExpressionMode ? e3.checkText(this, this.text, this.label) : o.default.each(this.sequenceItems, (t3) => { - 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 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 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(), 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(), 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(), 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), h.validateItem(this, void 0, true), d.fireEvent(this, u.sequenceItemsChanged)); - } - setPromptOnly(e3) { - this.customExpressionMode = false, this.isPromptOnly || (this.sequenceItems.length = 0, this.addPromptSequence()); - const t3 = this.sequenceItems[0]; - e3.id !== t3.parameter && (t3.parameter = e3.id, t3.isSystem = e3.isSystem, t3.name = e3.expressionName, t3.expressionName = e3.expressionName), this.updateSequenceExpression(); - } - setTTSOnly(e3) { - this.customExpressionMode = false, this.isTTSOnly || (this.sequenceItems.length = 0, this.addTtsSequence()), e3 !== this.sequenceItems[0].parameter && (this.sequenceItems[0].parameter = e3), this.updateSequenceExpression(); - } - setPromptVariableOnly(e3) { - this.customExpressionMode = false, this.sequenceItems.length = 0, this.addDataSequence(e3), this.sequenceItems[0].expressionFormat = "ToAudio(%s)", this.updateSequenceExpression(); - } - validate(e3) { - if (this._sequenceErrors = {}, !this.outOfService) { - if (e3.isDeep && this.renamePromptVariables(), this.customExpressionMode) this.hasWarning && this._parseResult.resultMessage && e3.addWarning(this, this._parseResult.resultMessage, void 0, true); - else { - if (this.isNoValueMode ? this.processText(true) : o.default.each(this.sequenceItems, (t3, i3) => { - if (this.validateSequenceItem(t3)) { - 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)(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)(F.expression.notSetWithContext, this.label), void 0, true); - } - } - validateSequenceItem(e3) { - let t3, i3; - switch (e3.type) { - case O.prompt: - t3 = (function(e4, t4) { - if (t4.parameter) { - 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 F.audio.errorNoPrompt; - })(this, e3) || "", i3 = e3.$testId; - break; - 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 = 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)(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 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)(F.expression.secureVariableUsageNotAllowed, n4.name) : t4.expressionFormat ? "" : F.audio.errorNoDataOptions : F.audio.errorInvalidVariable; - } - return F.audio.errorNoVariable; - })(this, e3) || "", i3 = e3.$testId; - break; - 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 = I.checkExpressionPromptReferences(e4)); - })(this, e3) || "", i3 = e3.expression.id; - break; - 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)(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 O.blank: - t3 = (function(e4, t4) { - if (!t4.parameter) return F.audio.errorNoBlankAudioLength; - t4.warningText = I.checkBlankAudioLength(e4, t4.parameter); - })(this, e3) || "", i3 = e3.$testId; - break; - default: - 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 O.tts: - if (!e3.parameter) return F.audio.blankTTSWarning; - break; - case O.expression: - return e3.expression && e3.expression.hasWarning ? e3.expression._parseResult.resultMessage : e3.warningText; - case O.prompt: - case O.blank: - return e3.warningText; - } - } - get runtimeConsumingFlowTypes() { - 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) === N.default.true; - } - allowExpandedVariableReference(e3) { - return !(null == e3 ? void 0 : e3.hierarchicalParent); - } - } - 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), c = i2(47957); - t2.permissionServiceHelper = new class { - constructor() { - this.permissionMap = void 0; - } - canAddResponseAsset() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.responseAssets.asset.add]).hasPermission; - } - canViewResponseAsset() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.responseAssets.asset.view]).hasPermission; - } - getDivisionsWithAddResponseAssetPermission() { - return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.responseAssets.asset.add]); - } - canViewActionMap() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.journey.actionMap.view]).hasPermission; - } - canViewProcessAutomationTriggers() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.processAutomation.triggers.view]).hasPermission; - } - canViewWorkitems() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.workitemsView]).hasPermission; - } - canRebuildDependencyTracking() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.dependencyTracking.rebuild]).hasPermission; - } - canEditVirtualAgentFlow() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.virtualAgentFlow.edit]).hasPermission; - } - canViewVirtualAgentWrapupCodeGrid() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.wrapupCode]).hasPermission && s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.wrapupCodeSearch]).hasPermission; - } - canViewDependencyTracking() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.dependencyTracking.view]).hasPermission; - } - canViewFlowExecution() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowExecution.view]).hasPermission; - } - canViewFlowDefaultLogLevelConfiguration() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowLogLevelDefault.view]).hasPermission; - } - canViewFlowLogLevelConfiguration() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowLogLevel.view]).hasPermission; - } - canViewLogLevelConfigurationForFlow(e3) { - return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flowLogLevel.view).hasPermission; - } - canManageExecutionDataConfigurationInAdmin() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowInstanceExecutionData.view]).hasPermission && s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.directoryOrganizationAdmin]).hasPermission; - } - canViewSettingsExecutionData() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.settingsExecutionDataView]).hasPermission; - } - canQueryAnalyticsFlowExecutionAggregate() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.analyticsFlowExecutionAggregateView]).hasPermission; - } - canQueryFlowInstanceHistory() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowInstance.search]).hasPermission; - } - canViewFlowInstanceHistory() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowInstance.view]).hasPermission; - } - canViewUserPrompts() { - return this.checkCanViewUserPrompts().hasPermission; - } - checkCanViewUserPrompts() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.userPrompt.view]); - } - canEditUserPrompts() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.userPrompt.edit]).hasPermission; - } - canViewSystemPrompts() { - return this.checkCanViewSystemPrompts().hasPermission; - } - checkCanViewSystemPrompts() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.systemPrompt.view]); - } - canEditSystemPrompts() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.systemPrompt.edit]).hasPermission; - } - getDivisionsWithFlowView() { - return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flow.view]); - } - getDivisionsWithFlowAdd() { - const e3 = o.default.map(u.uiFeatureSetInfo.flowAddOrSaveAs.permissions, (e4) => s.permissionService.staticPermissions[e4]); - return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), e3); - } - getDivisionsWithFlowChangeDivision() { - const e3 = o.default.map(u.uiFeatureSetInfo.flowEditDivision.permissions, (e4) => s.permissionService.staticPermissions[e4]); - return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), e3); - } - canAddFlowToDivision(e3) { - const t3 = o.default.map(u.uiFeatureSetInfo.flowAddOrSaveAs.permissions, (e4) => s.permissionService.staticPermissions[e4]); - return s.permissionService.checkDivisionHasPermission(e3, t3).hasPermission; - } - canUnlockFlow(e3) { - return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.unlock).hasPermission; - } - canDeleteFlow(e3) { - return this.checkCanDeleteFlow(e3).hasPermission; - } - checkCanDeleteFlow(e3) { - return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.delete); - } - canEditFlow(e3) { - return this.checkCanEditFlow(e3).hasPermission; - } - checkCanEditFlow(e3) { - return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.edit); - } - canPublishFlow(e3) { - return this.checkCanPublishFlow(e3).hasPermission; - } - checkCanPublishFlow(e3) { - return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.publish); - } - checkCanUnlockFlow(e3) { - return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.unlock); - } - canViewFlow(e3) { - return this.checkCanViewFlow(e3).hasPermission; - } - checkCanViewFlow(e3) { - return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.view); - } - canViewBotSessions() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.analyticsBotFlowReportingTurnView]).hasPermission; - } - canViewIntentMiner() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.intentMinerView]).hasPermission; - } - canUsePreviewWidget() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.previewWidgetView]).hasPermission; - } - canViewBotPerformanceReport() { - return [l.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView, l.permissionStrings.architect.flow.search].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); - } - canViewVirtualAgentPerformanceReport() { - return [l.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsFlowAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsKnowledgeAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsSummaryAggregateView].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); - } - canViewInteractionReport() { - const e3 = [l.permissionStrings.external.externalAuthorizations.analyticsConversationAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsConversationDetailView].every((e4) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e4]).hasPermission), t3 = [l.permissionStrings.external.externalAuthorizations.conversationCommunicationView, l.permissionStrings.external.externalAuthorizations.qualityCalibrationView, l.permissionStrings.external.externalAuthorizations.qualityEvaluationEditScore, l.permissionStrings.external.externalAuthorizations.qualityEvaluationAdd].some((e4) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e4]).hasPermission); - return e3 && t3; - } - canViewPathDiscovery() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.journey.flowpaths.view]).hasPermission; - } - canViewSurveyPerformanceReport() { - return [l.permissionStrings.external.externalAuthorizations.analyticsSurveyAggregateView, l.permissionStrings.external.externalAuthorizations.qualitySurveyFormView].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); - } - canAddGrammars() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.add]).hasPermission; - } - canDeleteGrammars() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.delete]).hasPermission; - } - canEditGrammars() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.edit]).hasPermission; - } - canViewGrammars() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.view]).hasPermission; - } - canFetchGeocoding() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.geocodingGeolocationFetch]).hasPermission; - } - canViewOptimizationOverview() { - return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.analyticsBotFlowSessionView]).hasPermission; - } - canViewCopilotLauncher() { - return [l.permissionStrings.copilot.session.view, l.permissionStrings.copilot.message.view, l.permissionStrings.copilot.message.send].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); - } - 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], 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) { - e3.permissionStrings || (e3.permissionStrings = {}), e3.permissionStrings[i3] || (e3.permissionStrings[i3] = { prefix: (0, r2.sprintf)("%s > %s > %s > ", i3, "architect", t3), actionList: [] }), e3.permissionStrings[i3].actionList.push(n3); - }); - }), o.default.each(this.permissionMap, function(e3) { - o.default.each(e3, function(t3) { - e3.permissionStrings[t3] && (e3.permissionStrings[t3].actionList = e3.permissionStrings[t3].actionList.sort(), e3.permissionStrings[t3].actions = e3.permissionStrings[t3].actionList.join(", ")); - }); - })), this.permissionMap; - } - }(); - }, 18685: (e2, t2, i2) => { - const n2 = i2(24005), r2 = i2(7401), o = i2(66848), a = i2(66445); - function s() { - Object.defineProperties(this, { _knowledgeConfirmation: { writable: true }, _knowledgeInitialResponseFollowup: { writable: true }, _knowledgeInitialResponseMulti: { writable: true }, _knowledgeInitialResponseMultiRetry: { writable: true }, _knowledgeInitialResponseSingle: { writable: true }, _knowledgeAnswerHighlight: { writable: true }, _knowledgeMultiArticleSource: { writable: true }, _knowledgeContextSearch: { writable: true }, _knowledgeAnswerContentType: { writable: true }, _knowledgeVersion: { writable: true }, _knowledgeAnswerHighlightFullArticle: { writable: true }, _knowledgeAnswerHighlightFlowProgression: { writable: true }, _knowledgeNoMatch: { writable: true }, _maxNumOfAnswersReturned: { writable: true }, _knowledgePathMode: { writable: true }, _knowledgeBase: { writable: true }, _knowledgeSetting: { writable: true }, _responseBias: { writable: true }, _sendKnowledgeFeedback: { writable: true }, _knowledgeSettingsMode: { writable: true } }), this.knowledgeBaseId = void 0, this.knowledgeSettingId = void 0, this.knowledgeBaseName = void 0, this.knowledgeSettingName = void 0, this.knowledgeBaseWelcomeDocumentId = void 0, this.knowledgeBaseWelcomeDocumentName = void 0, this.knowledgeFollowupTaskId = void 0, this.knowledgeFollowupTaskName = void 0, this.knowledgeCustomHandlerTaskId = void 0, this.knowledgeCustomHandlerTaskName = void 0, s.baseConstructor.apply(this, arguments); - } - n2.extend(s, "BotFlowKnowledgeSettings"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this._knowledgeBase.pasteReIdOrRename(e3), this._knowledgeSetting.pasteReIdOrRename(e3), this._knowledgeConfirmation.pasteReIdOrRename(e3), this._knowledgeInitialResponseFollowup.pasteReIdOrRename(e3), this._knowledgeInitialResponseMulti.pasteReIdOrRename(e3), this._knowledgeInitialResponseMultiRetry.pasteReIdOrRename(e3), this._knowledgeInitialResponseSingle.pasteReIdOrRename(e3), this._knowledgeAnswerHighlight.pasteReIdOrRename(e3), this._knowledgeMultiArticleSource.pasteReIdOrRename(e3), this._knowledgeContextSearch.pasteReIdOrRename(e3), this._knowledgeAnswerContentType.pasteReIdOrRename(e3), this._knowledgeVersion.pasteReIdOrRename(e3), this._knowledgeAnswerHighlightFullArticle.pasteReIdOrRename(e3), this._knowledgeAnswerHighlightFlowProgression.pasteReIdOrRename(e3), this._knowledgeNoMatch.pasteReIdOrRename(e3), this._maxNumOfAnswersReturned.pasteReIdOrRename(e3), this._knowledgePathMode.pasteReIdOrRename(e3), this._responseBias.pasteReIdOrRename(e3), this._sendKnowledgeFeedback.pasteReIdOrRename(e3), this._knowledgeSettingsMode.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this._knowledgeBase.pasteResolveOldToNewValues(e3), this._knowledgeSetting.pasteResolveOldToNewValues(e3), this._knowledgeConfirmation.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseFollowup.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseMulti.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseMultiRetry.pasteResolveOldToNewValues(e3), this._knowledgeInitialResponseSingle.pasteResolveOldToNewValues(e3), this._knowledgeAnswerHighlight.pasteResolveOldToNewValues(e3), this._knowledgeMultiArticleSource.pasteResolveOldToNewValues(e3), this._knowledgeContextSearch.pasteResolveOldToNewValues(e3), this._knowledgeAnswerContentType.pasteResolveOldToNewValues(e3), this._knowledgeVersion.pasteResolveOldToNewValues(e3), this._knowledgeAnswerHighlightFullArticle.pasteResolveOldToNewValues(e3), this._knowledgeAnswerHighlightFlowProgression.pasteResolveOldToNewValues(e3), this._knowledgeNoMatch.pasteResolveOldToNewValues(e3), this._maxNumOfAnswersReturned.pasteResolveOldToNewValues(e3), this._knowledgePathMode.pasteResolveOldToNewValues(e3), this._responseBias.pasteResolveOldToNewValues(e3), this._sendKnowledgeFeedback.pasteResolveOldToNewValues(e3), this._knowledgeSettingsMode.pasteResolveOldToNewValues(e3); - } }, knowledgeConfirmation: { enumerable: true, get: function() { - return this._knowledgeConfirmation; - }, set: function(e3) { - this._knowledgeConfirmation = this.reviveItem(e3, r2); - } }, knowledgeInitialResponseFollowup: { enumerable: true, get: function() { - return this._knowledgeInitialResponseFollowup; - }, set: function(e3) { - this._knowledgeInitialResponseFollowup = this.reviveItem(e3, r2); - } }, knowledgeInitialResponseMulti: { enumerable: true, get: function() { - return this._knowledgeInitialResponseMulti; - }, set: function(e3) { - this._knowledgeInitialResponseMulti = this.reviveItem(e3, r2); - } }, knowledgeInitialResponseMultiRetry: { enumerable: true, get: function() { - return this._knowledgeInitialResponseMultiRetry; - }, set: function(e3) { - this._knowledgeInitialResponseMultiRetry = this.reviveItem(e3, r2); - } }, knowledgeInitialResponseSingle: { enumerable: true, get: function() { - return this._knowledgeInitialResponseSingle; - }, set: function(e3) { - this._knowledgeInitialResponseSingle = this.reviveItem(e3, r2); - } }, knowledgeAnswerHighlight: { enumerable: true, get: function() { - return this._knowledgeAnswerHighlight; - }, set: function(e3) { - this._knowledgeAnswerHighlight = this.reviveItem(e3, r2); - } }, knowledgeMultiArticleSource: { enumerable: true, get: function() { - return this._knowledgeMultiArticleSource; - }, set: function(e3) { - this._knowledgeMultiArticleSource = this.reviveItem(e3, r2); - } }, knowledgeContextSearch: { enumerable: true, get: function() { - return this._knowledgeContextSearch; - }, set: function(e3) { - this._knowledgeContextSearch = this.reviveItem(e3, r2); - } }, knowledgeAnswerContentType: { enumerable: true, get: function() { - return this._knowledgeAnswerContentType; - }, set: function(e3) { - this._knowledgeAnswerContentType = this.reviveItem(e3, r2); - } }, knowledgeVersion: { enumerable: true, get: function() { - return this._knowledgeVersion; - }, set: function(e3) { - this._knowledgeVersion = this.reviveItem(e3, r2); - } }, knowledgeAnswerHighlightFullArticle: { enumerable: true, get: function() { - return this._knowledgeAnswerHighlightFullArticle; - }, set: function(e3) { - this._knowledgeAnswerHighlightFullArticle = this.reviveItem(e3, r2); - } }, knowledgeAnswerHighlightFlowProgression: { enumerable: true, get: function() { - return this._knowledgeAnswerHighlightFlowProgression; - }, set: function(e3) { - this._knowledgeAnswerHighlightFlowProgression = this.reviveItem(e3, r2); - } }, knowledgeNoMatch: { enumerable: true, get: function() { - return this._knowledgeNoMatch; - }, set: function(e3) { - this._knowledgeNoMatch = this.reviveItem(e3, r2); - } }, maxNumOfAnswersReturned: { enumerable: true, get: function() { - return this._maxNumOfAnswersReturned; - }, set: function(e3) { - this._maxNumOfAnswersReturned = this.reviveItem(e3, r2); - } }, knowledgePathMode: { enumerable: true, get: function() { - return this._knowledgePathMode; - }, set: function(e3) { - this._knowledgePathMode = this.reviveItem(e3, r2); - } }, KnowledgeBase: { enumerable: true, get: function() { - return this._knowledgeBase; - }, set: function(e3) { - this._knowledgeBase = new o(e3); - } }, KnowledgeSetting: { enumerable: true, get: function() { - return this._knowledgeSetting; - }, set: function(e3) { - this._knowledgeSetting = new a(e3); - } }, responseBias: { enumerable: true, get: function() { - return this._responseBias; - }, set: function(e3) { - this._responseBias = this.reviveItem(e3, r2); - } }, sendKnowledgeFeedback: { enumerable: true, get: function() { - return this._sendKnowledgeFeedback; - }, set: function(e3) { - this._sendKnowledgeFeedback = this.reviveItem(e3, r2); - } }, knowledgeSettingsMode: { enumerable: true, get: function() { - return this._knowledgeSettingsMode; - }, set: function(e3) { - this._knowledgeSettingsMode = this.reviveItem(e3, r2); - } } }), e2.exports = s; - }, 18710: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "video"; - } - get displayTypeName() { - return "ArchVariableVideo"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableVideo() { - return true; - } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyCustomerSession"; - } - get id() { - } - get type() { - } - get displayTypeName() { - return "ArchValueJourneyCustomerSession"; - } - get isArchValueJourneyCustomerSession() { - return true; - } - } - t2.default = r2; - }, 18818: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(17405)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "string"; - } - get displayTypeName() { - return "ArchValueString"; - } - get isArchValueString() { - return true; - } - setExpressionString(e3) { - null == e3 && (e3 = ""); - const t3 = this._infoParm("stringVal", "setExpressionString"); - this._checkItemIsValidLiteralString(t3, e3), this._setExpression(t3, '"' + this._escapeTextForExpression(e3) + '"'); - } - setLiteralString(e3) { - null == e3 && (e3 = ""); - const t3 = this._infoParm("stringVal", "setLiteralString"); - this._checkItemIsValidLiteralString(t3, e3), this._setLiteral(t3, e3); - } - } - t2.default = r2; - }, 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)), c = i2(47957), d = i2(27862); - class p extends l.default { - get dependencyType() { - 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 = 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); - } - } - t2.KnowledgeSettingManager = p, t2.knowledgeSettingManager = new p(); - }, 18953: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(88827)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._externalId = this.coreFactory.createArchWrapper(e3.externalId), this._externalResult = this.coreFactory.createArchWrapper(e3.externalResult); - } - get _actionTypeId() { - return r2.getExternalOrganizationActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionGetExternalOrganization() { - return true; - } - get externalId() { - return this._externalId; - } - get externalResult() { - return this._externalResult; - } - } - t2.default = o; - }, 18993: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(39292)), o = n2.__importDefault(i2(78432)), a = i2(30801); - class s extends r2.default { - constructor(e3) { - super(e3), this._flowOutcomeValue = this.coreFactory.createArchWrapper(e3.outcomeValue); - } - get _actionTypeId() { - return a.setFlowOutcomeActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSetFlowOutcome() { - return true; - } - get flowOutcomeValue() { - return this._flowOutcomeValue; - } - setFlowOutcomeValue(e3) { - const t3 = this._infoPropSet("newValue", "flowOutcome"); - this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.FLOW_OUTCOMES_ALL), this._coreActionViewModel.outcomeValue.setAsLiteral(e3), this.logNote("Flow outcome value set to '" + this.flowOutcomeValue.valueText + "'"); - } - } - t2.default = s; - }, 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)), 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))); - var t4; - }); - } - get className() { - return "ContactType"; - } - createExpressionOptionClass() { - return new a.ExpressionTypeNetworkObjectOptions(this.isCollection); - } - canConvertLitToExpression(e3) { - return false; - } - destroy() { - super.destroy(), this._listenerUnsubscribe(), o.default.keys(this.singletonProperties).forEach((e3) => { - delete this.singletonProperties[e3]; - }); - } - changeProperties(e3) { - const t3 = s.contactListManager.getItem(e3.val); - t3 && (o.default.keys(this.singletonProperties).forEach((e4) => { - delete this.singletonProperties[e4]; - }), o.default.each(t3.columnNames, function(e4) { - const i3 = o.default.findWhere(t3.phoneColumns, { columnName: e4 }); - this._addProperty(e4, e4, "str", (0, r2.sprintf)(i3 ? p.contact.phonePropertyDescription : p.contact.propertyDescription, e4), "1.0"); - }.bind(this)), this.parentFlow && this.parentFlow.uiMetaData && (this.parentFlow.uiMetaData.contactList = []), s.contactListManager.addItemToFlowMetadata(this.parentFlow, t3.name, t3.id), l.emitter.emit(l.typeChanged, this)); - } - get isContactType() { - return true; - } - get listManager() { - return s.contactListManager; - } - } - t2.ContactType = _, _.typeIdentifier = d.expressionTypeNames.contact; - }, 19044: (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 "listPickerSectionCollection"; - } - get displayTypeName() { - return "ArchVariableListPickerSectionCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableListPickerSectionCollection() { - return true; - } - } - t2.default = r2; - }, 19047: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(88827)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._findResult = this.coreFactory.createArchWrapper(e3.findResult); - } - get displayTypeName() { - return "ArchBaseActionFindSystemObject"; - } - get isArchBaseActionFindSystemObject() { - return true; - } - get findResult() { - this.logErrorAndThrow(`findResult should be overridden by derived class ${this.logStr}`); - } - } - t2.default = r2; - }, 19069: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "CustomerSegmentVariable", true), e2.exports = n2; - }, 19071: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyOutcomeScore"; - } - get initialValue() { - return this._initialValue; - } - get displayTypeName() { - return "ArchVariableJourneyOutcomeScore"; - } - get isArchVariableJourneyOutcomeScore() { - return true; - } - } - t2.default = r2; - }, 19098: (e2, t2, i2) => { - const n2 = i2(7401); - function r2() { - Object.defineProperties(this, { _suppressRecording: { writable: true } }), r2.baseConstructor.apply(this, arguments); - } - i2(24893).extend(r2, "VoiceSurveyFlowConfiguration"), Object.defineProperties(r2.prototype, { suppressRecording: { enumerable: true, get: function() { - return this._suppressRecording; - }, set: function(e3) { - this._suppressRecording = this.reviveItem(e3, n2); - } } }), e2.exports = r2; - }, 19102: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createGlobalTypes = function() { - return r2.default.each(me.type, function(e3) { - e3.support && "con" !== e3.support.expressionDataType && (Se.map[e3.support.expressionDataType] = { single: Ae(e3, false), collection: e3.allowArray || e3.allowArray_altAvailability ? Ae(e3, true) : void 0 }); - }), r2.default.each(ye, function(e3) { - var t3, i3; - 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, 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), 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); - }); - class Te { - constructor(e3, t3, i3, n3) { - this.type = e3, this.ctor = t3, this.model = i3, this.isCollection = n3; - } - } - const ye = [], Se = a.default.getGlobalTypeGroup(); - function Ae(e3, t3) { - 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; - const n2 = i2(59821), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectsByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; - } - } - 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 c { - } - 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 }; - 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), c = n2.__importDefault(i2(40773)), d = i2(47957), p = i2(27862); - class _ extends l.default { - get requiredAuth() { - return u.externalAuthorizations.authStrings.integrationView; - } - get dependencyType() { - 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 = d.speechToText.speechToTextEngineLabel, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "speechToTextEngines", this._initialize(); - } - _createItemViewModel(e3) { - return new c.default(e3); - } - } - t2.SpeechToTextEngineManager = _, t2.speechToTextEngineManager = new _(); - }, 19296: (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._externalTag = this.coreFactory.createArchWrapper(e3.externalTag); - } - get _actionTypeId() { - return r2.setExternalTagActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionSetExternalTag() { - return true; - } - get externalTag() { - return this._externalTag; - } - } - t2.default = a; - }, 19312: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.flowNameIsInvalidMessage = function(e3) { - return e3 ? e3.trim().match(/-debug$/i) ? r2.editFlow.noDebugPostfix : e3.indexOf("/") > -1 ? r2.editFlow.flowNameInvalidCharacter : (0, n2.getStringContainsValidCharacter)(e3, true) ? null : r2.editFlow.flowNameIsInvalidMessageNoAlphaNumericError : r2.editFlow.flowNameCannotBeBlank; - }; - const n2 = i2(66381), r2 = i2(47957); - }, 19328: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54982)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreCommonModuleTaskViewModel = e3; - } - get displayTypeName() { - return "ArchTaskCommonModule"; - } - get isArchTaskCommonModule() { - return true; - } - get logStr() { - if (!this._coreCommonModuleTaskViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); - } - } - t2.default = r2; - }, 19359: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(2318)), o = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "pathDiscovery"; - class u extends a.default { - get outOfService() { - return !r2.default.currentUserCanUsePathDiscovery && !r2.default.currentUserCanUsePathDiscoveryCallFlows && !r2.default.currentUserCanUsePathDiscoveryV3Flows; - } - get id() { - return l; - } - static get id() { - return l; - } - get showInFlowSize() { - return false; - } - get className() { - return "PathDiscoveryViewModel"; - } - getDisplayName() { - return s.pathDiscovery.pathDiscoveryLabel; - } - get nodeGuxIcon() { - return "fa/diagram-project-regular"; - } - get helpTopic() { - return o.helpTopics.treeNodes.journeyFlows; - } - get isPathDiscoveryNode() { - return true; - } - get pathDiscoveryNodeArchName() { - return l; - } - } - t2.default = u; - }, 19360: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeQuickRepliesOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3) { - return new this().invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeQuickRepliesOptions"; - } - get isExpressionTypeQuickRepliesOptions() { - return true; - } - } - t2.ExpressionTypeQuickRepliesOptions = r2; - }, 19384: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.flowElementRegistrationService = void 0; - const n2 = i2(31635), r2 = i2(56673), o = n2.__importStar(i2(12847)); - class a extends r2.BaseRegistrationService { - constructor() { - super(); - } - get className() { - return "FlowElementRegistrationService"; - } - registerItem(e3) { - super.registerItem(e3), this._getFlowSpecificMap(e3)[e3.id] = e3; - } - unregisterItem(e3) { - var t3; - super.unregisterItem(e3); - const i3 = this._getFlowSpecificMap(e3); - i3 ? (null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.loaded) && delete i3[e3.id] : o.error(`${e3.id} not found to unregister - no flow bucket available for flow id '${e3.parentFlow.id}'`); - } - getItemById(e3, t3) { - return this._getFlowSpecificMap(e3)[t3]; - } - } - t2.flowElementRegistrationService = new a(); - }, 19413: (e2, t2, i2) => { - const n2 = i2(75601); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "BotConnectorList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 19420: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "EnumContainerVariable", true), Object.defineProperties(n2.prototype, { isEnumContainerVariable: { value: true } }), e2.exports = n2; - }, 19444: (e2, t2, i2) => { - "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 c extends a.default { - get requiredAuth() { - return s.externalAuthorizations.authStrings.queuesView; - } - get dependencyType() { - return l.Queue; - } - constructor() { - 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 = c, t2.queueManager = new c(); - }, 19496: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(16434)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _flowType() { - return r2.flowTypes.flowTypeWorkflow; - } - get displayTypeName() { - return "ArchFlowWorkflow"; - } - get isArchFlowWorkflow() { - return true; - } - } - t2.default = o; - }, 19502: (e2, t2, i2) => { - const n2 = i2(83697); - e2.exports = { AED: { displayName: n2.AED.displayName, symbol: "AED", code: "AED" }, AFN: { displayName: n2.AFN.displayName, symbol: "AFN", code: "AFN" }, ALL: { displayName: n2.ALL.displayName, symbol: "ALL", code: "ALL" }, AMD: { displayName: n2.AMD.displayName, symbol: "AMD", code: "AMD" }, ANG: { displayName: n2.ANG.displayName, symbol: "ANG", code: "ANG" }, AOA: { displayName: n2.AOA.displayName, symbol: "AOA", code: "AOA" }, ARS: { displayName: n2.ARS.displayName, symbol: "ARS", code: "ARS" }, AUD: { displayName: n2.AUD.displayName, symbol: "A$", code: "AUD" }, AWG: { displayName: n2.AWG.displayName, symbol: "AWG", code: "AWG" }, AZN: { displayName: n2.AZN.displayName, symbol: "AZN", code: "AZN" }, BAM: { displayName: n2.BAM.displayName, symbol: "BAM", code: "BAM" }, BBD: { displayName: n2.BBD.displayName, symbol: "BBD", code: "BBD" }, BDT: { displayName: n2.BDT.displayName, symbol: "BDT", code: "BDT" }, BGN: { displayName: n2.BGN.displayName, symbol: "BGN", code: "BGN" }, BHD: { displayName: n2.BHD.displayName, symbol: "BHD", code: "BHD" }, BIF: { displayName: n2.BIF.displayName, symbol: "BIF", code: "BIF" }, BMD: { displayName: n2.BMD.displayName, symbol: "BMD", code: "BMD" }, BND: { displayName: n2.BND.displayName, symbol: "BND", code: "BND" }, BOB: { displayName: n2.BOB.displayName, symbol: "BOB", code: "BOB" }, BRL: { displayName: n2.BRL.displayName, symbol: "R$", code: "BRL" }, BSD: { displayName: n2.BSD.displayName, symbol: "BSD", code: "BSD" }, BTN: { displayName: n2.BTN.displayName, symbol: "BTN", code: "BTN" }, BWP: { displayName: n2.BWP.displayName, symbol: "BWP", code: "BWP" }, BYR: { displayName: n2.BYR.displayName, symbol: "BYR", code: "BYR" }, BZD: { displayName: n2.BZD.displayName, symbol: "BZD", code: "BZD" }, CAD: { displayName: n2.CAD.displayName, symbol: "CA$", code: "CAD" }, CDF: { displayName: n2.CDF.displayName, symbol: "CDF", code: "CDF" }, CHF: { displayName: n2.CHF.displayName, symbol: "CHF", code: "CHF" }, CLP: { displayName: n2.CLP.displayName, symbol: "CLP", code: "CLP" }, CNY: { displayName: n2.CNY.displayName, symbol: "CN\xA5", code: "CNY" }, COP: { displayName: n2.COP.displayName, symbol: "COP", code: "COP" }, CRC: { displayName: n2.CRC.displayName, symbol: "CRC", code: "CRC" }, CUC: { displayName: n2.CUC.displayName, symbol: "CUC", code: "CUC" }, CUP: { displayName: n2.CUP.displayName, symbol: "CUP", code: "CUP" }, CVE: { displayName: n2.CVE.displayName, symbol: "CVE", code: "CVE" }, CZK: { displayName: n2.CZK.displayName, symbol: "CZK", code: "CZK" }, DJF: { displayName: n2.DJF.displayName, symbol: "DJF", code: "DJF" }, DKK: { displayName: n2.DKK.displayName, symbol: "DKK", code: "DKK" }, DOP: { displayName: n2.DOP.displayName, symbol: "DOP", code: "DOP" }, DZD: { displayName: n2.DZD.displayName, symbol: "DZD", code: "DZD" }, EGP: { displayName: n2.EGP.displayName, symbol: "EGP", code: "EGP" }, ERN: { displayName: n2.ERN.displayName, symbol: "ERN", code: "ERN" }, ETB: { displayName: n2.ETB.displayName, symbol: "ETB", code: "ETB" }, EUR: { displayName: n2.EUR.displayName, symbol: "\u20AC", code: "EUR" }, FJD: { displayName: n2.FJD.displayName, symbol: "FJD", code: "FJD" }, FKP: { displayName: n2.FKP.displayName, symbol: "FKP", code: "FKP" }, GBP: { displayName: n2.GBP.displayName, symbol: "\xA3", code: "GBP" }, GEL: { displayName: n2.GEL.displayName, symbol: "GEL", code: "GEL" }, GHS: { displayName: n2.GHS.displayName, symbol: "GHS", code: "GHS" }, GIP: { displayName: n2.GIP.displayName, symbol: "GIP", code: "GIP" }, GMD: { displayName: n2.GMD.displayName, symbol: "GMD", code: "GMD" }, GNF: { displayName: n2.GNF.displayName, symbol: "GNF", code: "GNF" }, GTQ: { displayName: n2.GTQ.displayName, symbol: "GTQ", code: "GTQ" }, GWP: { displayName: n2.GWP.displayName, symbol: "GWP", code: "GWP" }, GYD: { displayName: n2.GYD.displayName, symbol: "GYD", code: "GYD" }, HKD: { displayName: n2.HKD.displayName, symbol: "HK$", code: "HKD" }, HNL: { displayName: n2.HNL.displayName, symbol: "HNL", code: "HNL" }, HRK: { displayName: n2.HRK.displayName, symbol: "HRK", code: "HRK" }, HTG: { displayName: n2.HTG.displayName, symbol: "HTG", code: "HTG" }, HUF: { displayName: n2.HUF.displayName, symbol: "HUF", code: "HUF" }, IDR: { displayName: n2.IDR.displayName, symbol: "IDR", code: "IDR" }, ILS: { displayName: n2.ILS.displayName, symbol: "\u20AA", code: "ILS" }, INR: { displayName: n2.INR.displayName, symbol: "\u20B9", code: "INR" }, IQD: { displayName: n2.IQD.displayName, symbol: "IQD", code: "IQD" }, IRR: { displayName: n2.IRR.displayName, symbol: "IRR", code: "IRR" }, ISK: { displayName: n2.ISK.displayName, symbol: "ISK", code: "ISK" }, JMD: { displayName: n2.JMD.displayName, symbol: "JMD", code: "JMD" }, JOD: { displayName: n2.JOD.displayName, symbol: "JOD", code: "JOD" }, JPY: { displayName: n2.JPY.displayName, symbol: "\xA5", code: "JPY" }, KES: { displayName: n2.KES.displayName, symbol: "KES", code: "KES" }, KGS: { displayName: n2.KGS.displayName, symbol: "KGS", code: "KGS" }, KHR: { displayName: n2.KHR.displayName, symbol: "KHR", code: "KHR" }, KMF: { displayName: n2.KMF.displayName, symbol: "KMF", code: "KMF" }, KPW: { displayName: n2.KPW.displayName, symbol: "KPW", code: "KPW" }, KRW: { displayName: n2.KRW.displayName, symbol: "\u20A9", code: "KRW" }, KWD: { displayName: n2.KWD.displayName, symbol: "KWD", code: "KWD" }, KYD: { displayName: n2.KYD.displayName, symbol: "KYD", code: "KYD" }, KZT: { displayName: n2.KZT.displayName, symbol: "KZT", code: "KZT" }, LAK: { displayName: n2.LAK.displayName, symbol: "LAK", code: "LAK" }, LBP: { displayName: n2.LBP.displayName, symbol: "LBP", code: "LBP" }, LKR: { displayName: n2.LKR.displayName, symbol: "LKR", code: "LKR" }, LRD: { displayName: n2.LRD.displayName, symbol: "LRD", code: "LRD" }, LSL: { displayName: n2.LSL.displayName, symbol: "LSL", code: "LSL" }, LTL: { displayName: n2.LTL.displayName, symbol: "LTL", code: "LTL" }, LVL: { displayName: n2.LVL.displayName, symbol: "LVL", code: "LVL" }, LYD: { displayName: n2.LYD.displayName, symbol: "LYD", code: "LYD" }, MAD: { displayName: n2.MAD.displayName, symbol: "MAD", code: "MAD" }, MDL: { displayName: n2.MDL.displayName, symbol: "MDL", code: "MDL" }, MGA: { displayName: n2.MGA.displayName, symbol: "MGA", code: "MGA" }, MKD: { displayName: n2.MKD.displayName, symbol: "MKD", code: "MKD" }, MMK: { displayName: n2.MMK.displayName, symbol: "MMK", code: "MMK" }, MNT: { displayName: n2.MNT.displayName, symbol: "MNT", code: "MNT" }, MOP: { displayName: n2.MOP.displayName, symbol: "MOP", code: "MOP" }, MRO: { displayName: n2.MRO.displayName, symbol: "MRO", code: "MRO" }, MUR: { displayName: n2.MUR.displayName, symbol: "MUR", code: "MUR" }, MVR: { displayName: n2.MVR.displayName, symbol: "MVR", code: "MVR" }, MWK: { displayName: n2.MWK.displayName, symbol: "MWK", code: "MWK" }, MXN: { displayName: n2.MXN.displayName, symbol: "MX$", code: "MXN" }, MYR: { displayName: n2.MYR.displayName, symbol: "MYR", code: "MYR" }, MZE: { displayName: n2.MZE.displayName, symbol: "MZE", code: "MZE" }, MZN: { displayName: n2.MZN.displayName, symbol: "MZN", code: "MZN" }, NAD: { displayName: n2.NAD.displayName, symbol: "NAD", code: "NAD" }, NGN: { displayName: n2.NGN.displayName, symbol: "NGN", code: "NGN" }, NIO: { displayName: n2.NIO.displayName, symbol: "NIO", code: "NIO" }, NOK: { displayName: n2.NOK.displayName, symbol: "NOK", code: "NOK" }, NPR: { displayName: n2.NPR.displayName, symbol: "NPR", code: "NPR" }, NZD: { displayName: n2.NZD.displayName, symbol: "NZ$", code: "NZD" }, OMR: { displayName: n2.OMR.displayName, symbol: "OMR", code: "OMR" }, PAB: { displayName: n2.PAB.displayName, symbol: "PAB", code: "PAB" }, PEN: { displayName: n2.PEN.displayName, symbol: "PEN", code: "PEN" }, PGK: { displayName: n2.PGK.displayName, symbol: "PGK", code: "PGK" }, PHP: { displayName: n2.PHP.displayName, symbol: "PHP", code: "PHP" }, PKR: { displayName: n2.PKR.displayName, symbol: "PKR", code: "PKR" }, PLN: { displayName: n2.PLN.displayName, symbol: "PLN", code: "PLN" }, PYG: { displayName: n2.PYG.displayName, symbol: "PYG", code: "PYG" }, QAR: { displayName: n2.QAR.displayName, symbol: "QAR", code: "QAR" }, RON: { displayName: n2.RON.displayName, symbol: "RON", code: "RON" }, RSD: { displayName: n2.RSD.displayName, symbol: "RSD", code: "RSD" }, RUB: { displayName: n2.RUB.displayName, symbol: "RUB", code: "RUB" }, RWF: { displayName: n2.RWF.displayName, symbol: "RWF", code: "RWF" }, SAR: { displayName: n2.SAR.displayName, symbol: "SAR", code: "SAR" }, SBD: { displayName: n2.SBD.displayName, symbol: "SBD", code: "SBD" }, SCR: { displayName: n2.SCR.displayName, symbol: "SCR", code: "SCR" }, SDG: { displayName: n2.SDG.displayName, symbol: "SDG", code: "SDG" }, SEK: { displayName: n2.SEK.displayName, symbol: "SEK", code: "SEK" }, SGD: { displayName: n2.SGD.displayName, symbol: "SGD", code: "SGD" }, SHP: { displayName: n2.SHP.displayName, symbol: "SHP", code: "SHP" }, SKK: { displayName: n2.SKK.displayName, symbol: "SKK", code: "SKK" }, SLL: { displayName: n2.SLL.displayName, symbol: "SLL", code: "SLL" }, SOS: { displayName: n2.SOS.displayName, symbol: "SOS", code: "SOS" }, SRD: { displayName: n2.SRD.displayName, symbol: "SRD", code: "SRD" }, SSP: { displayName: n2.SSP.displayName, symbol: "SSP", code: "SSP" }, STD: { displayName: n2.STD.displayName, symbol: "STD", code: "STD" }, SVC: { displayName: n2.SVC.displayName, symbol: "SVC", code: "SVC" }, SYP: { displayName: n2.SYP.displayName, symbol: "SYP", code: "SYP" }, SZL: { displayName: n2.SZL.displayName, symbol: "SZL", code: "SZL" }, THB: { displayName: n2.THB.displayName, symbol: "\u0E3F", code: "THB" }, TJS: { displayName: n2.TJS.displayName, symbol: "TJS", code: "TJS" }, TMT: { displayName: n2.TMT.displayName, symbol: "TMT", code: "TMT" }, TND: { displayName: n2.TND.displayName, symbol: "TND", code: "TND" }, TOP: { displayName: n2.TOP.displayName, symbol: "TOP", code: "TOP" }, TRY: { displayName: n2.TRY.displayName, symbol: "TRY", code: "TRY" }, TTD: { displayName: n2.TTD.displayName, symbol: "TTD", code: "TTD" }, TWD: { displayName: n2.TWD.displayName, symbol: "NT$", code: "TWD" }, TZS: { displayName: n2.TZS.displayName, symbol: "TZS", code: "TZS" }, UAH: { displayName: n2.UAH.displayName, symbol: "UAH", code: "UAH" }, UGX: { displayName: n2.UGX.displayName, symbol: "UGX", code: "UGX" }, USD: { displayName: n2.USD.displayName, symbol: "$", code: "USD" }, UYU: { displayName: n2.UYU.displayName, symbol: "UYU", code: "UYU" }, UZS: { displayName: n2.UZS.displayName, symbol: "UZS", code: "UZS" }, VEF: { displayName: n2.VEF.displayName, symbol: "VEF", code: "VEF" }, VND: { displayName: n2.VND.displayName, symbol: "\u20AB", code: "VND" }, VUV: { displayName: n2.VUV.displayName, symbol: "VUV", code: "VUV" }, WST: { displayName: n2.WST.displayName, symbol: "WST", code: "WST" }, XAF: { displayName: n2.XAF.displayName, symbol: "FCFA", code: "XAF" }, XCD: { displayName: n2.XCD.displayName, symbol: "EC$", code: "XCD" }, XOF: { displayName: n2.XOF.displayName, symbol: "CFA", code: "XOF" }, XPF: { displayName: n2.XPF.displayName, symbol: "CFPF", code: "XPF" }, YER: { displayName: n2.YER.displayName, symbol: "YER", code: "YER" }, ZAR: { displayName: n2.ZAR.displayName, symbol: "ZAR", code: "ZAR" }, ZMW: { displayName: n2.ZMW.displayName, symbol: "ZMW", code: "ZMW" } }; - }, 19507: (e2, t2, i2) => { - "use strict"; - var n2, r2, o, a, s, l; - 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), 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 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)); - } - _setFromOptions(e3) { - var t3, i3; - if (super._setFromOptions(e3), e3.isExpressionOptions) this._configureInputOutputState(e3.isInput, e3.allowModeLiteral, e3.allowModeVariable, e3._allowModeExpression, e3.allowModeBuilder); - else { - const n3 = e3; - if (null === (t3 = n3.direction) || void 0 === t3 ? void 0 : t3.output) this.setAsOutput(); - else if (null === (i3 = n3.direction) || void 0 === i3 ? void 0 : i3.input) if (n3.direction.input[_.modeCombinations.expressionOnly]) this.setAllowModeExpressionOnly(false); - else if (n3.direction.input[_.modeCombinations.expressionOrBuilderOnly]) this.setAllowModeExpressionOnly(true); - else if (n3.direction.input[_.modeCombinations.literalOnly]) this.setAllowModeLiteralOnly(); - else if (n3.direction.input[_.modeCombinations.variableOnly]) this.setAsVariableInput(); - else if (n3.direction.input[_.modeCombinations.variableAndExpression]) this.setAsVariableInput(), this.setAllowModeExpression(true); - else { - const e4 = Object.keys(n3.direction.input); - 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.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, I.uuid)(), this.descriptionInfoGenerationId$.next(this._descriptionInfoFull.generationId); - } - getAllowableModeCount(e3) { - let t3 = 0; - return this.allowModeLiteral && t3++, this.allowModeVariable && t3++, this.getAllowModeExpression(e3) && t3++, this.allowModeNoValue && t3++, this.allowModeBuilder && t3++, t3; - } - get isInput() { - return this._isInput; - } - get isOutput() { - return this._isOutput; - } - get className() { - return "BaseExpressionTypeOptions"; - } - get isExpressionOptions() { - return true; - } - get allowModeExpression() { - return this._allowModeExpression; - } - getAllowModeExpression(e3) { - return !!this._allowModeExpression && (!!this._isInput || !!this._outputExprTextAllowsReadOnlyVarType || e3.parentFlow.definition.outputValuesSupportVariableExpressions); - } - get allowEmptyConfig() { - return this._allowEmptyConfig; - } - set allowEmptyConfig(e3) { - this._allowEmptyConfig = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowEmptyConfig", "value")); - } - get allowFlowLevelDefault() { - return this._allowFlowLevelDefault; - } - set allowFlowLevelDefault(e3) { - this._allowFlowLevelDefault = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowFlowLevelDefault", "value")); - } - get allowModeLiteral() { - return this._allowModeLiteral && this.supportsLiteralMode; - } - get descriptionAdditionalInfoSection() { - return this._descriptionAdditionalInfoSection; - } - set descriptionAdditionalInfoSection(e3) { - this._descriptionAdditionalInfoSection = S.ParameterValidator.expectObject(e3, () => y.ParameterInfo.createPropertySet(this.className, "descriptionAdditionalInfoSection", "value"), true), this._incrementDescriptionInfoGenId(); - } - clearDescriptionAdditionalInfoSection() { - return this.descriptionAdditionalInfoSection = void 0, this; - } - setDescriptionAdditionalInfoSection(e3) { - return this.descriptionAdditionalInfoSection = e3, this; - } - get labelBadge() { - return this._labelBadge; - } - set labelBadge(e3) { - this._labelBadge = e3; - } - setLabelBadge(e3) { - return this.labelBadge = e3, this; - } - get useLabelBadge() { - return this._useLabelBadge; - } - set useLabelBadge(e3) { - this._useLabelBadge = e3; - } - setUseLabelBadge(e3) { - return this.useLabelBadge = e3, this; - } - get descriptionNote() { - return this._descriptionNote; - } - set descriptionNote(e3) { - this._descriptionNote = e3; - } - setDescriptionNote(e3) { - return this.descriptionNote = e3, this; - } - setVirtualAgentLabelBadge() { - return this.setLabelBadge(f.aiPoweredBadgeWithText); - } - get customizations() { - return this._customizations; - } - get customizationsRoot() { - return this._customizationsRoot; - } - setAndApplyCustomizations(e3, t3) { - return (t3 = m.resolveCustomization(e3, t3)) ? (this._customizations = t3, this._customizationsRoot = e3, (null == t3 ? void 0 : t3.isLiteralOnly) && this.setAllowModeLiteralOnly(), this) : (this._customizations = void 0, void (this._customizationsRoot = void 0)); - } - get doNotWantBlankRuntimeOutput() { - return this._doNotWantBlankRuntimeOutput; - } - set doNotWantBlankRuntimeOutput(e3) { - this._doNotWantBlankRuntimeOutput = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "doNotWantBlankRuntimeOutput", "value")); - } - setDoNotWantBlankRuntimeOutput(e3) { - return this.doNotWantBlankRuntimeOutput = e3, this; - } - get supportsLiteralMode() { - return true; - } - get suppressBuilderModePromptResourceChecks() { - return this._suppressBuilderModePromptResourceChecks; - } - set suppressBuilderModePromptResourceChecks(e3) { - this._suppressBuilderModePromptResourceChecks = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "suppressBuilderModePromptResourceChecks", "value")); - } - get allowModeBuilder() { - return this._allowModeExpression && this.isInput && this._allowModeBuilder; - } - get allowModeNoValue() { - return this.isOptional || this.isInheritingExpression || !this.allowModeLiteral && !this.allowModeVariable && !this._allowModeExpression; - } - get allowedBuilderCategoryIdFilter() { - return this._allowedBuilderCategoryIdFilter; - } - set allowedBuilderCategoryIdFilter(e3) { - this._allowedBuilderCategoryIdFilter = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowedBuilderCategoryIdFilter", "value"), true); - } - get allowedBuilderIds() { - return this._allowedBuilderIds; - } - set allowedBuilderIds(e3) { - this._allowedBuilderIds = S.ParameterValidator.expectArray(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowedBuilderIds", "value"), true); - } - get allowSecure() { - return this._allowSecure; - } - set allowSecure(e3) { - this._allowSecure = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowSecure", "value")); - } - get assignablePropertiesNoExpression() { - return this._assignablePropertiesNoExpression; - } - set assignablePropertiesNoExpression(e3) { - this._assignablePropertiesNoExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "assignablePropertiesNoExpression", "value")); - } - setAssignablePropertiesNoExpression(e3) { - return this.assignablePropertiesNoExpression = e3, this; - } - get allowModeVariable() { - return this._allowModeVariable; - } - get authToCheck() { - return this._authToCheck; - } - get allowNotSet() { - return this._allowNotSet; - } - set allowNotSet(e3) { - this._allowNotSet = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowNotSet", "value")); - } - get allowNoValueModeWithNoFallback() { - return this._allowNoValueModeWithNoFallback && this.allowModeNoValue && !this.isOverridableFlowLevelDefaultExpression; - } - set allowNoValueModeWithNoFallback(e3) { - this._allowNoValueModeWithNoFallback = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowNoValueModeWithNoFallback", "value")); - } - get collectionItemsWantCollectionDescriptionInfo() { - return this._collectionItemsWantCollectionDescriptionInfo; - } - set collectionItemsWantCollectionDescriptionInfo(e3) { - this._collectionItemsWantCollectionDescriptionInfo = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "collectionItemsWantCollectionDescriptionInfo", "value")); - } - get builderLanguagesSequenceConfig() { - return this._builderLanguagesSequenceConfig; - } - set builderLanguagesSequenceConfig(e3) { - this._builderLanguagesSequenceConfig = e3; - } - setBuilderLanguagesSequenceConfig(e3) { - return this.builderLanguagesSequenceConfig = e3, this; - } - get customLiteralValidator() { - return this._customLiteralValidator; - } - set customLiteralValidator(e3) { - this._customLiteralValidator = e3; - } - get defaultText() { - return this._defaultText; - } - set defaultText(e3) { - this._defaultText = S.ParameterValidator.expectNumberOrString(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultText", "value")); - } - get hasDefaultText() { - return void 0 !== this.defaultText; - } - get defaultToBuilderId() { - return this._defaultToBuilderId; - } - set defaultToBuilderId(e3) { - this._defaultToBuilderId = e3; - } - get defaultToExpression() { - return this._defaultToExpression; - } - set defaultToExpression(e3) { - this._defaultToExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultToExpression", "value")); - } - get defaultToNoValue() { - return this._defaultToNoValue; - } - set defaultToNoValue(e3) { - this._defaultToNoValue = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultToNoValue", "value")); - } - get defaultVariableScope() { - return this._defaultVariableScope; - } - set defaultVariableScope(e3) { - this._defaultVariableScope = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultVariableScope", "value")); - } - get defaultToVariable() { - return this._defaultToVariable && this.allowModeVariable; - } - set defaultToVariable(e3) { - this._defaultToVariable = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultToVariable", "value")); - } - get doNotTransitionToNoValue() { - return this._doNotTransitionToNoValue; - } - 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; - } - set doNotTrackUsages(e3) { - this._doNotTrackUsages = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "doNotTrackUsages", "value")); - } - get emitNonConfigItemForEmptyAndNoDefault() { - return this._emitNonConfigItemForEmptyAndNoDefault; - } - set emitNonConfigItemForEmptyAndNoDefault(e3) { - this._emitNonConfigItemForEmptyAndNoDefault = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "emitNonConfigItemForEmptyAndNoDefault", "value")); - } - get exprTextMustBeVarOrVarPropRef() { - return this._exprTextMustBeVarOrVarPropRef; - } - set exprTextMustBeVarOrVarPropRef(e3) { - this._exprTextMustBeVarOrVarPropRef = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "exprTextMustBeVarOrVarPropRef", "value")); - } - get exprTextRootVariableNameMustBe() { - if (this.exprTextMustBeVarOrVarPropRef) return this._exprTextRootVariableNameMustBe; - } - set exprTextRootVariableNameMustBe(e3) { - this._exprTextRootVariableNameMustBe = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "exprTextRootVariableNameMustBe", "variableName")); - } - setExprTextRootVariableNameMustBe(e3) { - return this.exprTextRootVariableNameMustBe = e3, this; - } - get outputExprTextAllowsReadOnlyVarType() { - return !!this._exprTextMustBeVarOrVarPropRef && this._outputExprTextAllowsReadOnlyVarType; - } - set outputExprTextAllowsReadOnlyVarType(e3) { - this._outputExprTextAllowsReadOnlyVarType = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "outputExprTextAllowsReadOnlyVarType", "value")); - } - setOutputExprTextAllowsReadOnlyVarType(e3) { - return this.outputExprTextAllowsReadOnlyVarType = e3, this; - } - get initializedForDesignTimeCallback() { - return this._initializedForDesignTimeCallback; - } - set initializedForDesignTimeCallback(e3) { - this._initializedForDesignTimeCallback = S.ParameterValidator.expectFunction(e3, () => y.ParameterInfo.createPropertySet(this.className, "initializedForDesignTimeCallback", "callbackFunction")); - } - get literalValidatorName() { - return this._literalValidatorName; - } - set literalValidatorName(e3) { - this._literalValidatorName = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "literalValidatorName", "value"), true); - } - get flowLevelDefaultHasDefault() { - return this._flowLevelDefaultHasDefault && this.allowFlowLevelDefault; - } - set flowLevelDefaultHasDefault(e3) { - this._flowLevelDefaultHasDefault = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "flowLevelDefaultHasDefault", "value")); - } - get flowLevelDefaultSameModes() { - return this._flowLevelDefaultSameModes && this.allowFlowLevelDefault; - } - set flowLevelDefaultSameModes(e3) { - this._flowLevelDefaultSameModes = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "flowLevelDefaultSameModes", "value")); - } - get hideDefaultTextDescription() { - return this._hideDefaultTextDescription; - } - set hideDefaultTextDescription(e3) { - this._hideDefaultTextDescription = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "hideDefaultTextDescription", "value")); - } - get allowEmbeddedExpressionsInLiteralMode() { - return this._allowEmbeddedExpressionsInLiteralMode; - } - set allowEmbeddedExpressionsInLiteralMode(e3) { - this._allowEmbeddedExpressionsInLiteralMode = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowEmbeddedExpressionsInLiteralMode", "value")); - } - get isInternal() { - return this._isInternal; - } - set isInternal(e3) { - this._isInternal = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "isInternal", "value")); - } - get isOptional() { - return this._isOptional || this.isInheritingExpression; - } - set isOptional(e3) { - super.isOptional = e3; - } - get isExpressionPart() { - return this._isExpressionPart; - } - set isExpressionPart(e3) { - this._isExpressionPart = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "isExpressionPart", "value")); - } - get isOverridableFlowLevelDefaultExpression() { - return this._isOverridableFlowLevelDefaultExpression; - } - set isOverridableFlowLevelDefaultExpression(e3) { - this._isOverridableFlowLevelDefaultExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "isOverridableFlowLevelDefault", "value")); - } - get isFlowLevelInheritingExpression() { - return this.isOverridableFlowLevelDefaultExpression && this.flowLevelDefaultHasDefault; - } - get inheritsFromFlowLevelDefaultExpression() { - return !this.isOverridableFlowLevelDefaultExpression && this.allowFlowLevelDefault; - } - get isInheritingExpression() { - return this.inheritsFromFlowLevelDefaultExpression || this.isFlowLevelInheritingExpression; - } - get noOriginalType() { - return this._noOriginalType; - } - set noOriginalType(e3) { - this._noOriginalType = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "noOriginalType", "value")); - } - get readOnly() { - return this._readOnly; - } - set readOnly(e3) { - this._readOnly = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "readOnly", "value")); - } - get requiredFlowChannelType() { - return this._requiredFlowChannelType; - } - set requiredFlowChannelType(e3) { - this._requiredFlowChannelType = S.ParameterValidator.expectChannelType(e3, () => y.ParameterInfo.createPropertySet(this.className, "requiredFlowChannelType", "value")); - } - get requiresFlowQuickRepliesSetting() { - return this._requiresFlowQuickRepliesSetting; - } - set requiresFlowQuickRepliesSetting(e3) { - this._requiresFlowQuickRepliesSetting = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "requiresFlowQuickRepliesSetting", "value")); - } - setRequiresFlowQuickRepliesSetting(e3) { - return this.requiresFlowQuickRepliesSetting = e3, this; - } - setRestrictionsFromOperandDef(e3) { - return e3 && (this.setAllowNotSet(e3.allowNotSet).setLiteralValidatorName(e3.literalValidatorName), this._setRestrictionsFromOperandDef(e3)), this; - } - _setRestrictionsFromOperandDef(e3) { - } - get allowableValues() { - return this.facets ? this.facets.allowableValues : void 0; - } - get hasAllowableValues() { - var e3; - return !!(null === (e3 = this.facets) || void 0 === e3 ? void 0 : e3.hasAllowableValues); - } - get hasIAllowableValueTypeAllowableValues() { - var e3; - return !!(null === (e3 = this.facets) || void 0 === e3 ? void 0 : e3.hasIAllowableValueAllowableValues); - } - get hasStringTypeAllowableValues() { - var e3; - return !!(null === (e3 = this.facets) || void 0 === e3 ? void 0 : e3.hasStringTypeAllowableValues); - } - getAllowableValueForValue(e3) { - var t3; - return null === (t3 = this.facets) || void 0 === t3 ? void 0 : t3.getAllowableValueForValue(e3); - } - get descriptionInfo() { - return this._descriptionInfo; - } - hasDescriptionInfo(e3) { - return (this._descriptionInfo.name || e3 && e3.label) && (this._descriptionInfo.description || this.isCollection && (this.minItems || this.maxItems) || this.examples || this.hasDefaultText || !this.isCollection && !this.allowNotSet || this.facets && this.facets.hasDescriptionInfo || this._descriptionAdditionalInfoSection || e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes).length) || this.readOnly; - } - 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, 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, 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, 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; - case h.literalValidatorNames.iso4217: - s2.push(D.expressionsHelp.parameters.valueMustBeLiteralISO4217); - break; - case h.literalValidatorNames.supportedTTSLangs: - s2.push(D.expressionsHelp.parameters.valueMustBeLiteralSupportedTTSLangTag); - } - 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, d.sprintf)(D.generic.sessionSourcesNote, v.getListDisplayString(e4), v.getListDisplayString(t4, false, true, true))] }; - this._descriptionInfoFull.additionalInfoSections.push(i4); - } - } - if (p.default.isArray(this.examples) && this.examples.length > 0) { - const e4 = { title: 1 === this.examples.length ? D.expression.facets.example : D.expression.facets.examples, entries: [] }; - this._descriptionInfoFull.additionalInfoSections.push(e4), p.default.each(this.examples, function(t4) { - e4.entries.push(t4); - }); - } - if (l2 && 0 === l2.entries.length) { - const e4 = this._descriptionInfoFull.additionalInfoSections.indexOf(l2); - this._descriptionInfoFull.additionalInfoSections.splice(e4, 1); - } - const u2 = e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes); - 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; - } - get namedExpressionMode() { - return this.expressionOnly ? _.modeCombinations.expressionOnly : this.expressionOrBuilderOnly ? _.modeCombinations.expressionOrBuilderOnly : this.literalOnly ? _.modeCombinations.literalOnly : this.variableAndExpression ? _.modeCombinations.variableAndExpression : this.variableOnly ? _.modeCombinations.variableOnly : void 0; - } - get literalOnly() { - return this.allowModeLiteral && !this._allowModeExpression && !this.allowModeVariable && !this.allowModeNoValue && !this.allowModeBuilder; - } - get literalOrNoValueOnly() { - return this.allowModeLiteral && !this._allowModeExpression && !this.allowModeVariable && this.allowModeNoValue && !this.allowModeBuilder; - } - get expressionOnly() { - return this._allowModeExpression && !this.allowModeLiteral && !this.allowModeVariable && !this.allowModeNoValue && !this.allowModeBuilder; - } - get expressionOrBuilderOnly() { - return this._allowModeExpression && !this.allowModeLiteral && !this.allowModeVariable && !this.allowModeNoValue && this.allowModeBuilder; - } - get variableAndExpression() { - return this._allowModeVariable && this._allowModeExpression && !this.allowModeLiteral; - } - get variableOnly() { - return !this.allowModeLiteral && !this._allowModeExpression && this.allowModeVariable && !this.allowModeNoValue; - } - get modeNoValueSelectionLabel() { - return this._modeNoValueSelectionLabel; - } - set modeNoValueSelectionLabel(e3) { - this._modeNoValueSelectionLabel = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "modeNoValueSelectionLabel", "value")); - } - get modeNoValueSelectionLabelForContext() { - return this.isFlowLevelInheritingExpression ? D.expression.noValue.selection.useDefault : this.inheritsFromFlowLevelDefaultExpression ? D.expression.noValue.selection.useFlowDefault : this._modeNoValueSelectionLabel; - } - getModeNoValueRuntimeEvaluationStr(e3) { - return this._modeNoValueRuntimeEvaluationSetting.getValueForFlowType(e3.parentFlow.type) || (this._allowModeExpression || this.allowModeLiteral || !this.allowModeVariable ? this.allowFlowLevelDefault && !e3.isOverride ? D.expression.noValue.selectionRuntimeEvaluation.noDefaultValueSpecified : D.expression.noValue.selectionRuntimeEvaluation.noValueSpecified : D.expression.noValue.selectionRuntimeEvaluation.noVariableSpecified); - } - setModeNoValueRuntimeEvaluationStr(e3, t3) { - return this._modeNoValueRuntimeEvaluationSetting.setValueForFlowTypeOrTypes(e3, t3), this; - } - getModeNoValueRuntimeEvaluationStrForContext(e3) { - return this.inheritsFromFlowLevelDefaultExpression && !e3.isNoValueModeWithNoFallback ? D.expression.noValue.selectionRuntimeEvaluation.useFlowDefault : this.getModeNoValueRuntimeEvaluationStr(e3); - } - get anySpecificModeAvailable() { - return this.allowModeLiteral || this._allowModeExpression || this.allowModeVariable || this.allowModeNoValue; - } - get useDefaultValueNodeIcons() { - return this._useDefaultValueNodeIcons; - } - set useDefaultValueNodeIcons(e3) { - this._useDefaultValueNodeIcons = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "useDefaultValueNodeIcons", "value")); - } - get usedAsReplacementValueInOtherExpressions() { - return this._usedAsReplacementValueInOtherExpressions; - } - set usedAsReplacementValueInOtherExpressions(e3) { - this._usedAsReplacementValueInOtherExpressions = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "usedAsReplacementValueInOtherExpressions", "value")); - } - get valueChangedCallback() { - return this._valueChangedCallback; - } - set valueChangedCallback(e3) { - this._valueChangedCallback = S.ParameterValidator.expectFunction(e3, () => y.ParameterInfo.createPropertySet(this.className, "valueChangedCallback", "callbackFunction")); - } - get newInstanceDefaultExpressionCallback() { - return this._newInstanceDefaultExpressionCallback; - } - set newInstanceDefaultExpressionCallback(e3) { - this._newInstanceDefaultExpressionCallback = S.ParameterValidator.expectFunction(e3, () => y.ParameterInfo.createPropertySet(this.className, "newInstanceDefaultExpressionCallback", "callbackFunction")); - } - get extraRealtimeValidationEventSinkName() { - return this._extraRealtimeValidationEventSinkName; - } - set extraRealtimeValidationEventSinkName(e3) { - this._extraRealtimeValidationEventSinkName = e3; - } - get scriptingPropertyName() { - return this._scriptingPropertyName; - } - set scriptingPropertyName(e3) { - this._scriptingPropertyName = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "scriptingPropertyName", "value")); - } - addAuthToCheck(e3, t3) { - return S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "addAuthToCheck", "authStringParameter")), S.ParameterValidator.expectBool(t3, () => y.ParameterInfo.createFunctionParameter(this.className, "addAuthToCheck", "isWarningParameter")), this.authToCheck.push({ authString: e3, isWarning: t3 }), this; - } - setAllowedBuilderCategoryIdFilter(e3) { - return this.allowedBuilderCategoryIdFilter = e3, this; - } - setAllowedBuilderIds(e3) { - return this.allowedBuilderIds = e3, this; - } - setAllowModeBuilder(e3) { - return this._allowModeBuilder = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowModeBuilder", "value")), this; - } - setAllowModeExpression(e3, t3) { - return this._allowModeExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeExpression", "value")), S.ParameterValidator.expectBool(t3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeExpression", "allowBuilder"), true), p.default.isBoolean(t3) && this.setAllowModeBuilder(t3), this; - } - setAllowModeExpressionOnly(e3) { - return this._configureInputOutputState(this.isInput, false, false, true, e3), this; - } - setAllowModeLiteralOnly() { - return this._configureInputOutputState(this.isInput, true, false, false, false), this; - } - setAllowEmptyConfig(e3) { - return this.allowEmptyConfig = e3, this; - } - setAllowModeLiteral(e3) { - return this._allowModeLiteral = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeLiteral", "value")), this; - } - setAllowSecure(e3) { - return this.allowSecure = e3, this; - } - setAllowNotSet(e3) { - return this.allowNotSet = e3, this; - } - setLiteralValidatorName(e3) { - return this.literalValidatorName = e3, this; - } - setAllowModeVariable(e3) { - return this._allowModeVariable = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeVariable", "value")), this; - } - setRequiredFlowChannelType(e3) { - return this.requiredFlowChannelType = e3, this; - } - setAllowFlowLevelDefault(e3) { - return this.allowFlowLevelDefault = e3, this; - } - setInheritsFromFlowLevelDefault(e3 = true, t3 = true) { - return this.setAllowFlowLevelDefault(true), this.setFlowLevelDefaultSameModes(e3), this.setDefaultToNoValue(t3), this; - } - setAllowNoValueModeWithNoFallback(e3) { - return this.allowNoValueModeWithNoFallback = e3, this; - } - setSuppressBuilderModePromptResourceChecks(e3) { - return this.suppressBuilderModePromptResourceChecks = e3, this; - } - setAsInput(e3) { - S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); - const t3 = !(true === e3); - return this._configureInputOutputState(true, true, false, t3); - } - setAsVariableInput() { - return this._configureInputOutputState(true, false, true, false, false); - } - setAsOutput() { - const e3 = this.isUpdateWorkitemActionVariable; - return this._configureInputOutputState(false, false, !e3, e3, false).setAllowSecure(true).setExprTextMustBeVarOrVarPropRef(e3); - } - get isUpdateWorkitemActionVariable() { - return this._isUpdateWorkitemActionVariable; - } - set isUpdateWorkitemActionVariable(e3) { - this._isUpdateWorkitemActionVariable = e3; - } - setAsOutputExpressionOnly() { - return this._configureInputOutputState(false, false, false, true, false).setAllowSecure(true).setExprTextMustBeVarOrVarPropRef(true); - } - 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; - } - setFlowLevelDefaultSameModes(e3) { - return this.flowLevelDefaultSameModes = e3, this; - } - setFlowLevelDefaultHasDefault(e3) { - return this.flowLevelDefaultHasDefault = e3, this; - } - setHideDefaultTextDescription(e3) { - return this.hideDefaultTextDescription = e3, this; - } - setIsExpressionPart(e3) { - return this.isExpressionPart = e3, this; - } - setAllowEmbeddedExpressionsInLiteralMode(e3) { - return this.allowEmbeddedExpressionsInLiteralMode = e3, this; - } - setIsInternal(e3) { - return this.isInternal = e3, this; - } - setDefaultText(e3) { - return this.defaultText = e3, this; - } - setRuntimeValueInheritsFromCallingFlow(e3) { - return this.runtimeValueInheritsFromCallingFlow = e3, this; - } - setDoNotTrackUsages(e3) { - return this.doNotTrackUsages = e3, this; - } - setDefaultToBuilderId(e3) { - return this.defaultToBuilderId = e3, this; - } - setDefaultToExpression(e3) { - return this.defaultToExpression = e3, this; - } - setDefaultToNoValue(e3) { - return this.defaultToNoValue = e3, this; - } - setDefaultToVariable(e3) { - return this.defaultToVariable = e3, this; - } - setDefaultVariableScope(e3) { - return this.defaultVariableScope = e3, this; - } - setDoNotTransitionToNoValue(e3) { - return this.doNotTransitionToNoValue = e3, this; - } - setExprTextMustBeVarOrVarPropRef(e3) { - return this.exprTextMustBeVarOrVarPropRef = e3, this; - } - setInitializedForDesignTimeCallback(e3) { - return this.initializedForDesignTimeCallback = e3, this; - } - setIsFlowLevelDefaultExpression(e3) { - return this.isOverridableFlowLevelDefaultExpression = e3, this; - } - setModeNoValueSelectionLabel(e3) { - return this.modeNoValueSelectionLabel = e3, this; - } - setModeNoValueSelectionLabelToDefault() { - return this.setModeNoValueSelectionLabel(D.expression.noValue.selection.default); - } - setNoOriginalType(e3) { - return this.noOriginalType = e3, this; - } - clearDescriptionInfo() { - return this.setDescriptionInfo(void 0, void 0); - } - setDescriptionInfo(e3, t3) { - return this._descriptionInfo.name = e3, this._descriptionInfo.description = t3, this._incrementDescriptionInfoGenId(), this; - } - setReadOnly(e3) { - return this.readOnly = e3, this; - } - setUsedAsReplacementValueInOtherExpressions(e3) { - return this.usedAsReplacementValueInOtherExpressions = e3, this; - } - setExtraRealtimeValidationEventSinkName(e3) { - return this.extraRealtimeValidationEventSinkName = e3, this; - } - setUseDefaultValueNodeIcons(e3) { - return this.useDefaultValueNodeIcons = e3, this; - } - setValueChangedCallback(e3) { - return this.valueChangedCallback = e3, this; - } - setNewInstanceDefaultExpressionCallback(e3) { - return this.newInstanceDefaultExpressionCallback = e3, this; + Object.defineProperty(t2, "__esModule", { value: true }), t2.interval = t2.iif = t2.generate = t2.fromEventPattern = t2.fromEvent = t2.from = t2.forkJoin = t2.empty = t2.defer = t2.connectable = t2.concat = t2.combineLatest = t2.bindNodeCallback = t2.bindCallback = t2.UnsubscriptionError = t2.TimeoutError = t2.SequenceError = t2.ObjectUnsubscribedError = t2.NotFoundError = t2.EmptyError = t2.ArgumentOutOfRangeError = t2.firstValueFrom = t2.lastValueFrom = t2.isObservable = t2.identity = t2.noop = t2.pipe = t2.NotificationKind = t2.Notification = t2.Subscriber = t2.Subscription = t2.Scheduler = t2.VirtualAction = t2.VirtualTimeScheduler = t2.animationFrameScheduler = t2.animationFrame = t2.queueScheduler = t2.queue = t2.asyncScheduler = t2.async = t2.asapScheduler = t2.asap = t2.AsyncSubject = t2.ReplaySubject = t2.BehaviorSubject = t2.Subject = t2.animationFrames = t2.observable = t2.ConnectableObservable = t2.Observable = void 0, t2.filter = t2.expand = t2.exhaustMap = t2.exhaustAll = t2.exhaust = t2.every = t2.endWith = t2.elementAt = t2.distinctUntilKeyChanged = t2.distinctUntilChanged = t2.distinct = t2.dematerialize = t2.delayWhen = t2.delay = t2.defaultIfEmpty = t2.debounceTime = t2.debounce = t2.count = t2.connect = t2.concatWith = t2.concatMapTo = t2.concatMap = t2.concatAll = t2.combineLatestWith = t2.combineLatestAll = t2.combineAll = t2.catchError = t2.bufferWhen = t2.bufferToggle = t2.bufferTime = t2.bufferCount = t2.buffer = t2.auditTime = t2.audit = t2.config = t2.NEVER = t2.EMPTY = t2.scheduled = t2.zip = t2.using = t2.timer = t2.throwError = t2.range = t2.race = t2.partition = t2.pairs = t2.onErrorResumeNext = t2.of = t2.never = t2.merge = void 0, t2.switchMap = t2.switchAll = t2.subscribeOn = t2.startWith = t2.skipWhile = t2.skipUntil = t2.skipLast = t2.skip = t2.single = t2.shareReplay = t2.share = t2.sequenceEqual = t2.scan = t2.sampleTime = t2.sample = t2.refCount = t2.retryWhen = t2.retry = t2.repeatWhen = t2.repeat = t2.reduce = t2.raceWith = t2.publishReplay = t2.publishLast = t2.publishBehavior = t2.publish = t2.pluck = t2.pairwise = t2.onErrorResumeNextWith = t2.observeOn = t2.multicast = t2.min = t2.mergeWith = t2.mergeScan = t2.mergeMapTo = t2.mergeMap = t2.flatMap = t2.mergeAll = t2.max = t2.materialize = t2.mapTo = t2.map = t2.last = t2.isEmpty = t2.ignoreElements = t2.groupBy = t2.first = t2.findIndex = t2.find = t2.finalize = void 0, t2.zipWith = t2.zipAll = t2.withLatestFrom = t2.windowWhen = t2.windowToggle = t2.windowTime = t2.windowCount = t2.window = t2.toArray = t2.timestamp = t2.timeoutWith = t2.timeout = t2.timeInterval = t2.throwIfEmpty = t2.throttleTime = t2.throttle = t2.tap = t2.takeWhile = t2.takeUntil = t2.takeLast = t2.take = t2.switchScan = t2.switchMapTo = void 0; + var r = i2(48051); + Object.defineProperty(t2, "Observable", { enumerable: true, get: function() { + return r.Observable; + } }); + var a = i2(14359); + Object.defineProperty(t2, "ConnectableObservable", { enumerable: true, get: function() { + return a.ConnectableObservable; + } }); + var s = i2(2884); + Object.defineProperty(t2, "observable", { enumerable: true, get: function() { + return s.observable; + } }); + var l = i2(21875); + Object.defineProperty(t2, "animationFrames", { enumerable: true, get: function() { + return l.animationFrames; + } }); + var u = i2(76808); + Object.defineProperty(t2, "Subject", { enumerable: true, get: function() { + return u.Subject; + } }); + var c = i2(97314); + Object.defineProperty(t2, "BehaviorSubject", { enumerable: true, get: function() { + return c.BehaviorSubject; + } }); + var d = i2(10381); + Object.defineProperty(t2, "ReplaySubject", { enumerable: true, get: function() { + return d.ReplaySubject; + } }); + var p = i2(5130); + Object.defineProperty(t2, "AsyncSubject", { enumerable: true, get: function() { + return p.AsyncSubject; + } }); + var _ = i2(22105); + Object.defineProperty(t2, "asap", { enumerable: true, get: function() { + return _.asap; + } }), Object.defineProperty(t2, "asapScheduler", { enumerable: true, get: function() { + return _.asapScheduler; + } }); + var h = i2(62326); + Object.defineProperty(t2, "async", { enumerable: true, get: function() { + return h.async; + } }), Object.defineProperty(t2, "asyncScheduler", { enumerable: true, get: function() { + return h.asyncScheduler; + } }); + var m = i2(99245); + Object.defineProperty(t2, "queue", { enumerable: true, get: function() { + return m.queue; + } }), Object.defineProperty(t2, "queueScheduler", { enumerable: true, get: function() { + return m.queueScheduler; + } }); + var g = i2(15887); + Object.defineProperty(t2, "animationFrame", { enumerable: true, get: function() { + return g.animationFrame; + } }), Object.defineProperty(t2, "animationFrameScheduler", { enumerable: true, get: function() { + return g.animationFrameScheduler; + } }); + var f = i2(50875); + Object.defineProperty(t2, "VirtualTimeScheduler", { enumerable: true, get: function() { + return f.VirtualTimeScheduler; + } }), Object.defineProperty(t2, "VirtualAction", { enumerable: true, get: function() { + return f.VirtualAction; + } }); + var T = i2(65881); + Object.defineProperty(t2, "Scheduler", { enumerable: true, get: function() { + return T.Scheduler; + } }); + var y = i2(69879); + Object.defineProperty(t2, "Subscription", { enumerable: true, get: function() { + return y.Subscription; + } }); + var S = i2(2708); + Object.defineProperty(t2, "Subscriber", { enumerable: true, get: function() { + return S.Subscriber; + } }); + var A = i2(31245); + Object.defineProperty(t2, "Notification", { enumerable: true, get: function() { + return A.Notification; + } }), Object.defineProperty(t2, "NotificationKind", { enumerable: true, get: function() { + return A.NotificationKind; + } }); + var N = i2(99517); + Object.defineProperty(t2, "pipe", { enumerable: true, get: function() { + return N.pipe; + } }); + var v = i2(5717); + Object.defineProperty(t2, "noop", { enumerable: true, get: function() { + return v.noop; + } }); + var I = i2(87699); + Object.defineProperty(t2, "identity", { enumerable: true, get: function() { + return I.identity; + } }); + var C = i2(62560); + Object.defineProperty(t2, "isObservable", { enumerable: true, get: function() { + return C.isObservable; + } }); + var O = i2(85761); + Object.defineProperty(t2, "lastValueFrom", { enumerable: true, get: function() { + return O.lastValueFrom; + } }); + var b = i2(40841); + Object.defineProperty(t2, "firstValueFrom", { enumerable: true, get: function() { + return b.firstValueFrom; + } }); + var E = i2(7024); + Object.defineProperty(t2, "ArgumentOutOfRangeError", { enumerable: true, get: function() { + return E.ArgumentOutOfRangeError; + } }); + var w = i2(59328); + Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() { + return w.EmptyError; + } }); + var R = i2(23506); + Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() { + return R.NotFoundError; + } }); + var D = i2(50839); + Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() { + return D.ObjectUnsubscribedError; + } }); + var P = i2(94708); + Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() { + return P.SequenceError; + } }); + var M = i2(81713); + Object.defineProperty(t2, "TimeoutError", { enumerable: true, get: function() { + return M.TimeoutError; + } }); + var F = i2(69517); + Object.defineProperty(t2, "UnsubscriptionError", { enumerable: true, get: function() { + return F.UnsubscriptionError; + } }); + var L = i2(79750); + Object.defineProperty(t2, "bindCallback", { enumerable: true, get: function() { + return L.bindCallback; + } }); + var x = i2(21946); + Object.defineProperty(t2, "bindNodeCallback", { enumerable: true, get: function() { + return x.bindNodeCallback; + } }); + var k = i2(88246); + Object.defineProperty(t2, "combineLatest", { enumerable: true, get: function() { + return k.combineLatest; + } }); + var V = i2(39546); + Object.defineProperty(t2, "concat", { enumerable: true, get: function() { + return V.concat; + } }); + var U = i2(98590); + Object.defineProperty(t2, "connectable", { enumerable: true, get: function() { + return U.connectable; + } }); + var B = i2(35884); + Object.defineProperty(t2, "defer", { enumerable: true, get: function() { + return B.defer; + } }); + var G = i2(44885); + Object.defineProperty(t2, "empty", { enumerable: true, get: function() { + return G.empty; + } }); + var j = i2(75266); + Object.defineProperty(t2, "forkJoin", { enumerable: true, get: function() { + return j.forkJoin; + } }); + var q = i2(47058); + Object.defineProperty(t2, "from", { enumerable: true, get: function() { + return q.from; + } }); + var W = i2(88616); + Object.defineProperty(t2, "fromEvent", { enumerable: true, get: function() { + return W.fromEvent; + } }); + var Y = i2(26920); + Object.defineProperty(t2, "fromEventPattern", { enumerable: true, get: function() { + return Y.fromEventPattern; + } }); + var H = i2(87281); + Object.defineProperty(t2, "generate", { enumerable: true, get: function() { + return H.generate; + } }); + var J = i2(99380); + Object.defineProperty(t2, "iif", { enumerable: true, get: function() { + return J.iif; + } }); + var $ = i2(62275); + Object.defineProperty(t2, "interval", { enumerable: true, get: function() { + return $.interval; + } }); + var z = i2(95936); + Object.defineProperty(t2, "merge", { enumerable: true, get: function() { + return z.merge; + } }); + var K = i2(11934); + Object.defineProperty(t2, "never", { enumerable: true, get: function() { + return K.never; + } }); + var Q = i2(61587); + Object.defineProperty(t2, "of", { enumerable: true, get: function() { + return Q.of; + } }); + var X = i2(1903); + Object.defineProperty(t2, "onErrorResumeNext", { enumerable: true, get: function() { + return X.onErrorResumeNext; + } }); + var Z = i2(88269); + Object.defineProperty(t2, "pairs", { enumerable: true, get: function() { + return Z.pairs; + } }); + var ee = i2(57406); + Object.defineProperty(t2, "partition", { enumerable: true, get: function() { + return ee.partition; + } }); + var te = i2(89795); + Object.defineProperty(t2, "race", { enumerable: true, get: function() { + return te.race; + } }); + var ie = i2(74385); + Object.defineProperty(t2, "range", { enumerable: true, get: function() { + return ie.range; + } }); + var ne = i2(26680); + Object.defineProperty(t2, "throwError", { enumerable: true, get: function() { + return ne.throwError; + } }); + var oe = i2(5825); + Object.defineProperty(t2, "timer", { enumerable: true, get: function() { + return oe.timer; + } }); + var re = i2(35904); + Object.defineProperty(t2, "using", { enumerable: true, get: function() { + return re.using; + } }); + var ae = i2(11415); + Object.defineProperty(t2, "zip", { enumerable: true, get: function() { + return ae.zip; + } }); + var se = i2(30131); + Object.defineProperty(t2, "scheduled", { enumerable: true, get: function() { + return se.scheduled; + } }); + var le = i2(44885); + Object.defineProperty(t2, "EMPTY", { enumerable: true, get: function() { + return le.EMPTY; + } }); + var ue = i2(11934); + Object.defineProperty(t2, "NEVER", { enumerable: true, get: function() { + return ue.NEVER; + } }), o(i2(96153), t2); + var ce = i2(93728); + Object.defineProperty(t2, "config", { enumerable: true, get: function() { + return ce.config; + } }); + var de = i2(88877); + Object.defineProperty(t2, "audit", { enumerable: true, get: function() { + return de.audit; + } }); + var pe = i2(51608); + Object.defineProperty(t2, "auditTime", { enumerable: true, get: function() { + return pe.auditTime; + } }); + var _e = i2(10706); + Object.defineProperty(t2, "buffer", { enumerable: true, get: function() { + return _e.buffer; + } }); + var he = i2(9287); + Object.defineProperty(t2, "bufferCount", { enumerable: true, get: function() { + return he.bufferCount; + } }); + var me = i2(41719); + Object.defineProperty(t2, "bufferTime", { enumerable: true, get: function() { + return me.bufferTime; + } }); + var ge = i2(61778); + Object.defineProperty(t2, "bufferToggle", { enumerable: true, get: function() { + return ge.bufferToggle; + } }); + var fe = i2(56606); + Object.defineProperty(t2, "bufferWhen", { enumerable: true, get: function() { + return fe.bufferWhen; + } }); + var Te = i2(72719); + Object.defineProperty(t2, "catchError", { enumerable: true, get: function() { + return Te.catchError; + } }); + var ye = i2(89244); + Object.defineProperty(t2, "combineAll", { enumerable: true, get: function() { + return ye.combineAll; + } }); + var Se = i2(67933); + Object.defineProperty(t2, "combineLatestAll", { enumerable: true, get: function() { + return Se.combineLatestAll; + } }); + var Ae = i2(82044); + Object.defineProperty(t2, "combineLatestWith", { enumerable: true, get: function() { + return Ae.combineLatestWith; + } }); + var Ne = i2(70201); + Object.defineProperty(t2, "concatAll", { enumerable: true, get: function() { + return Ne.concatAll; + } }); + var ve = i2(29512); + Object.defineProperty(t2, "concatMap", { enumerable: true, get: function() { + return ve.concatMap; + } }); + var Ie = i2(19913); + Object.defineProperty(t2, "concatMapTo", { enumerable: true, get: function() { + return Ie.concatMapTo; + } }); + var Ce = i2(98032); + Object.defineProperty(t2, "concatWith", { enumerable: true, get: function() { + return Ce.concatWith; + } }); + var Oe = i2(17812); + Object.defineProperty(t2, "connect", { enumerable: true, get: function() { + return Oe.connect; + } }); + var be = i2(88589); + Object.defineProperty(t2, "count", { enumerable: true, get: function() { + return be.count; + } }); + var Ee = i2(3143); + Object.defineProperty(t2, "debounce", { enumerable: true, get: function() { + return Ee.debounce; + } }); + var we = i2(21762); + Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() { + return we.debounceTime; + } }); + var Re = i2(58799); + Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() { + return Re.defaultIfEmpty; + } }); + var De = i2(5797); + Object.defineProperty(t2, "delay", { enumerable: true, get: function() { + return De.delay; + } }); + var Pe = i2(72885); + Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() { + return Pe.delayWhen; + } }); + var Me = i2(19818); + Object.defineProperty(t2, "dematerialize", { enumerable: true, get: function() { + return Me.dematerialize; + } }); + var Fe = i2(77876); + Object.defineProperty(t2, "distinct", { enumerable: true, get: function() { + return Fe.distinct; + } }); + var Le = i2(22044); + Object.defineProperty(t2, "distinctUntilChanged", { enumerable: true, get: function() { + return Le.distinctUntilChanged; + } }); + var xe = i2(76035); + Object.defineProperty(t2, "distinctUntilKeyChanged", { enumerable: true, get: function() { + return xe.distinctUntilKeyChanged; + } }); + var ke = i2(61279); + Object.defineProperty(t2, "elementAt", { enumerable: true, get: function() { + return ke.elementAt; + } }); + var Ve = i2(66791); + Object.defineProperty(t2, "endWith", { enumerable: true, get: function() { + return Ve.endWith; + } }); + var Ue = i2(21361); + Object.defineProperty(t2, "every", { enumerable: true, get: function() { + return Ue.every; + } }); + var Be = i2(11464); + Object.defineProperty(t2, "exhaust", { enumerable: true, get: function() { + return Be.exhaust; + } }); + var Ge = i2(17977); + Object.defineProperty(t2, "exhaustAll", { enumerable: true, get: function() { + return Ge.exhaustAll; + } }); + var je = i2(86632); + Object.defineProperty(t2, "exhaustMap", { enumerable: true, get: function() { + return je.exhaustMap; + } }); + var qe = i2(75544); + Object.defineProperty(t2, "expand", { enumerable: true, get: function() { + return qe.expand; + } }); + var We = i2(85934); + Object.defineProperty(t2, "filter", { enumerable: true, get: function() { + return We.filter; + } }); + var Ye = i2(17802); + Object.defineProperty(t2, "finalize", { enumerable: true, get: function() { + return Ye.finalize; + } }); + var He = i2(98183); + Object.defineProperty(t2, "find", { enumerable: true, get: function() { + return He.find; + } }); + var Je = i2(29035); + Object.defineProperty(t2, "findIndex", { enumerable: true, get: function() { + return Je.findIndex; + } }); + var $e = i2(19980); + Object.defineProperty(t2, "first", { enumerable: true, get: function() { + return $e.first; + } }); + var ze = i2(5128); + Object.defineProperty(t2, "groupBy", { enumerable: true, get: function() { + return ze.groupBy; + } }); + var Ke = i2(2959); + Object.defineProperty(t2, "ignoreElements", { enumerable: true, get: function() { + return Ke.ignoreElements; + } }); + var Qe = i2(69915); + Object.defineProperty(t2, "isEmpty", { enumerable: true, get: function() { + return Qe.isEmpty; + } }); + var Xe = i2(32568); + Object.defineProperty(t2, "last", { enumerable: true, get: function() { + return Xe.last; + } }); + var Ze = i2(26872); + Object.defineProperty(t2, "map", { enumerable: true, get: function() { + return Ze.map; + } }); + var et = i2(13337); + Object.defineProperty(t2, "mapTo", { enumerable: true, get: function() { + return et.mapTo; + } }); + var tt = i2(75019); + Object.defineProperty(t2, "materialize", { enumerable: true, get: function() { + return tt.materialize; + } }); + var it = i2(50096); + Object.defineProperty(t2, "max", { enumerable: true, get: function() { + return it.max; + } }); + var nt = i2(68087); + Object.defineProperty(t2, "mergeAll", { enumerable: true, get: function() { + return nt.mergeAll; + } }); + var ot = i2(74613); + Object.defineProperty(t2, "flatMap", { enumerable: true, get: function() { + return ot.flatMap; + } }); + var rt = i2(67478); + Object.defineProperty(t2, "mergeMap", { enumerable: true, get: function() { + return rt.mergeMap; + } }); + var at = i2(76075); + Object.defineProperty(t2, "mergeMapTo", { enumerable: true, get: function() { + return at.mergeMapTo; + } }); + var st = i2(16707); + Object.defineProperty(t2, "mergeScan", { enumerable: true, get: function() { + return st.mergeScan; + } }); + var lt = i2(79694); + Object.defineProperty(t2, "mergeWith", { enumerable: true, get: function() { + return lt.mergeWith; + } }); + var ut = i2(80142); + Object.defineProperty(t2, "min", { enumerable: true, get: function() { + return ut.min; + } }); + var ct = i2(18464); + Object.defineProperty(t2, "multicast", { enumerable: true, get: function() { + return ct.multicast; + } }); + var dt = i2(32071); + Object.defineProperty(t2, "observeOn", { enumerable: true, get: function() { + return dt.observeOn; + } }); + var pt = i2(95513); + Object.defineProperty(t2, "onErrorResumeNextWith", { enumerable: true, get: function() { + return pt.onErrorResumeNextWith; + } }); + var _t = i2(26744); + Object.defineProperty(t2, "pairwise", { enumerable: true, get: function() { + return _t.pairwise; + } }); + var ht = i2(66355); + Object.defineProperty(t2, "pluck", { enumerable: true, get: function() { + return ht.pluck; + } }); + var mt = i2(53197); + Object.defineProperty(t2, "publish", { enumerable: true, get: function() { + return mt.publish; + } }); + var gt = i2(82955); + Object.defineProperty(t2, "publishBehavior", { enumerable: true, get: function() { + return gt.publishBehavior; + } }); + var ft = i2(26569); + Object.defineProperty(t2, "publishLast", { enumerable: true, get: function() { + return ft.publishLast; + } }); + var Tt = i2(68710); + Object.defineProperty(t2, "publishReplay", { enumerable: true, get: function() { + return Tt.publishReplay; + } }); + var yt = i2(6677); + Object.defineProperty(t2, "raceWith", { enumerable: true, get: function() { + return yt.raceWith; + } }); + var St = i2(92070); + Object.defineProperty(t2, "reduce", { enumerable: true, get: function() { + return St.reduce; + } }); + var At = i2(56131); + Object.defineProperty(t2, "repeat", { enumerable: true, get: function() { + return At.repeat; + } }); + var Nt = i2(82139); + Object.defineProperty(t2, "repeatWhen", { enumerable: true, get: function() { + return Nt.repeatWhen; + } }); + var vt = i2(3352); + Object.defineProperty(t2, "retry", { enumerable: true, get: function() { + return vt.retry; + } }); + var It = i2(73956); + Object.defineProperty(t2, "retryWhen", { enumerable: true, get: function() { + return It.retryWhen; + } }); + var Ct = i2(79224); + Object.defineProperty(t2, "refCount", { enumerable: true, get: function() { + return Ct.refCount; + } }); + var Ot = i2(43434); + Object.defineProperty(t2, "sample", { enumerable: true, get: function() { + return Ot.sample; + } }); + var bt = i2(44143); + Object.defineProperty(t2, "sampleTime", { enumerable: true, get: function() { + return bt.sampleTime; + } }); + var Et = i2(35565); + Object.defineProperty(t2, "scan", { enumerable: true, get: function() { + return Et.scan; + } }); + var wt = i2(73929); + Object.defineProperty(t2, "sequenceEqual", { enumerable: true, get: function() { + return wt.sequenceEqual; + } }); + var Rt = i2(93405); + Object.defineProperty(t2, "share", { enumerable: true, get: function() { + return Rt.share; + } }); + var Dt = i2(17782); + Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() { + return Dt.shareReplay; + } }); + var Pt = i2(55440); + Object.defineProperty(t2, "single", { enumerable: true, get: function() { + return Pt.single; + } }); + var Mt = i2(23079); + Object.defineProperty(t2, "skip", { enumerable: true, get: function() { + return Mt.skip; + } }); + var Ft = i2(92359); + Object.defineProperty(t2, "skipLast", { enumerable: true, get: function() { + return Ft.skipLast; + } }); + var Lt = i2(97783); + Object.defineProperty(t2, "skipUntil", { enumerable: true, get: function() { + return Lt.skipUntil; + } }); + var xt = i2(65774); + Object.defineProperty(t2, "skipWhile", { enumerable: true, get: function() { + return xt.skipWhile; + } }); + var kt = i2(99054); + Object.defineProperty(t2, "startWith", { enumerable: true, get: function() { + return kt.startWith; + } }); + var Vt = i2(5455); + Object.defineProperty(t2, "subscribeOn", { enumerable: true, get: function() { + return Vt.subscribeOn; + } }); + var Ut = i2(16201); + Object.defineProperty(t2, "switchAll", { enumerable: true, get: function() { + return Ut.switchAll; + } }); + var Bt = i2(90680); + Object.defineProperty(t2, "switchMap", { enumerable: true, get: function() { + return Bt.switchMap; + } }); + var Gt = i2(761); + Object.defineProperty(t2, "switchMapTo", { enumerable: true, get: function() { + return Gt.switchMapTo; + } }); + var jt = i2(48461); + Object.defineProperty(t2, "switchScan", { enumerable: true, get: function() { + return jt.switchScan; + } }); + var qt = i2(54383); + Object.defineProperty(t2, "take", { enumerable: true, get: function() { + return qt.take; + } }); + var Wt = i2(65279); + Object.defineProperty(t2, "takeLast", { enumerable: true, get: function() { + return Wt.takeLast; + } }); + var Yt = i2(66911); + Object.defineProperty(t2, "takeUntil", { enumerable: true, get: function() { + return Yt.takeUntil; + } }); + var Ht = i2(60598); + Object.defineProperty(t2, "takeWhile", { enumerable: true, get: function() { + return Ht.takeWhile; + } }); + var Jt = i2(15019); + Object.defineProperty(t2, "tap", { enumerable: true, get: function() { + return Jt.tap; + } }); + var $t = i2(44880); + Object.defineProperty(t2, "throttle", { enumerable: true, get: function() { + return $t.throttle; + } }); + var zt = i2(7245); + Object.defineProperty(t2, "throttleTime", { enumerable: true, get: function() { + return zt.throttleTime; + } }); + var Kt = i2(30632); + Object.defineProperty(t2, "throwIfEmpty", { enumerable: true, get: function() { + return Kt.throwIfEmpty; + } }); + var Qt = i2(32508); + Object.defineProperty(t2, "timeInterval", { enumerable: true, get: function() { + return Qt.timeInterval; + } }); + var Xt = i2(81713); + Object.defineProperty(t2, "timeout", { enumerable: true, get: function() { + return Xt.timeout; + } }); + var Zt = i2(50597); + Object.defineProperty(t2, "timeoutWith", { enumerable: true, get: function() { + return Zt.timeoutWith; + } }); + var ei = i2(53866); + Object.defineProperty(t2, "timestamp", { enumerable: true, get: function() { + return ei.timestamp; + } }); + var ti = i2(73484); + Object.defineProperty(t2, "toArray", { enumerable: true, get: function() { + return ti.toArray; + } }); + var ii = i2(78072); + Object.defineProperty(t2, "window", { enumerable: true, get: function() { + return ii.window; + } }); + var ni = i2(62893); + Object.defineProperty(t2, "windowCount", { enumerable: true, get: function() { + return ni.windowCount; + } }); + var oi = i2(90037); + Object.defineProperty(t2, "windowTime", { enumerable: true, get: function() { + return oi.windowTime; + } }); + var ri = i2(28996); + Object.defineProperty(t2, "windowToggle", { enumerable: true, get: function() { + return ri.windowToggle; + } }); + var ai = i2(65156); + Object.defineProperty(t2, "windowWhen", { enumerable: true, get: function() { + return ai.windowWhen; + } }); + var si = i2(66975); + Object.defineProperty(t2, "withLatestFrom", { enumerable: true, get: function() { + return si.withLatestFrom; + } }); + var li = i2(5362); + Object.defineProperty(t2, "zipAll", { enumerable: true, get: function() { + return li.zipAll; + } }); + var ui = i2(36977); + Object.defineProperty(t2, "zipWith", { enumerable: true, get: function() { + return ui.zipWith; + } }); + }, 5130(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = 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), 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; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.AsyncSubject = void 0; + var r = (function(e3) { + function t3() { + var t4 = null !== e3 && e3.apply(this, arguments) || this; + return t4._value = null, t4._hasValue = false, t4._isComplete = false, t4; } - get examples() { - return this._examples; + return o(t3, e3), t3.prototype._checkFinalizedStatuses = function(e4) { + var t4 = this, i3 = t4.hasError, n3 = t4._hasValue, o2 = t4._value, r2 = t4.thrownError, a = t4.isStopped, s = t4._isComplete; + i3 ? e4.error(r2) : (a || s) && (n3 && e4.next(o2), e4.complete()); + }, t3.prototype.next = function(e4) { + this.isStopped || (this._value = e4, this._hasValue = true); + }, t3.prototype.complete = function() { + var t4 = this, i3 = t4._hasValue, n3 = t4._value; + t4._isComplete || (this._isComplete = true, i3 && e3.prototype.next.call(this, n3), e3.prototype.complete.call(this)); + }, t3; + })(i2(76808).Subject); + t2.AsyncSubject = r; + }, 97314(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - set examples(e3) { - this._examples = S.ParameterValidator.expectArrayOrString(e3, () => y.ParameterInfo.createPropertySet(this.className, "examples", "value")); + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.BehaviorSubject = void 0; + var r = (function(e3) { + function t3(t4) { + var i3 = e3.call(this) || this; + return i3._value = t4, i3; } - setExamples(e3) { - return this.examples = e3, this; + return o(t3, e3), Object.defineProperty(t3.prototype, "value", { get: function() { + return this.getValue(); + }, enumerable: false, configurable: true }), t3.prototype._subscribe = function(t4) { + var i3 = e3.prototype._subscribe.call(this, t4); + return !i3.closed && t4.next(this._value), i3; + }, t3.prototype.getValue = function() { + var e4 = this, t4 = e4.hasError, i3 = e4.thrownError, n3 = e4._value; + if (t4) throw i3; + return this._throwIfClosed(), n3; + }, t3.prototype.next = function(t4) { + e3.prototype.next.call(this, this._value = t4); + }, t3; + })(i2(76808).Subject); + t2.BehaviorSubject = r; + }, 31245(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.observeNotification = t2.Notification = t2.NotificationKind = void 0; + var n2, o = i2(44885), r = i2(61587), a = i2(26680), s = i2(10281); + (n2 = t2.NotificationKind || (t2.NotificationKind = {})).NEXT = "N", n2.ERROR = "E", n2.COMPLETE = "C"; + var l = (function() { + function e3(e4, t3, i3) { + this.kind = e4, this.value = t3, this.error = i3, this.hasValue = "N" === e4; } - get labelOverride() { - return this._labelOverride; + return e3.prototype.observe = function(e4) { + return u(this, e4); + }, e3.prototype.do = function(e4, t3, i3) { + var n3 = this, o2 = n3.kind, r2 = n3.value, a2 = n3.error; + return "N" === o2 ? null == e4 ? void 0 : e4(r2) : "E" === o2 ? null == t3 ? void 0 : t3(a2) : null == i3 ? void 0 : i3(); + }, e3.prototype.accept = function(e4, t3, i3) { + var n3; + return s.isFunction(null === (n3 = e4) || void 0 === n3 ? void 0 : n3.next) ? this.observe(e4) : this.do(e4, t3, i3); + }, e3.prototype.toObservable = function() { + var e4 = this, t3 = e4.kind, i3 = e4.value, n3 = e4.error, s2 = "N" === t3 ? r.of(i3) : "E" === t3 ? a.throwError(function() { + return n3; + }) : "C" === t3 ? o.EMPTY : 0; + if (!s2) throw new TypeError("Unexpected notification kind " + t3); + return s2; + }, e3.createNext = function(t3) { + return new e3("N", t3); + }, e3.createError = function(t3) { + return new e3("E", void 0, t3); + }, e3.createComplete = function() { + return e3.completeNotification; + }, e3.completeNotification = new e3("C"), e3; + })(); + function u(e3, t3) { + var i3, n3, o2, r2 = e3, a2 = r2.kind, s2 = r2.value, l2 = r2.error; + if ("string" != typeof a2) throw new TypeError('Invalid notification, missing "kind"'); + "N" === a2 ? null === (i3 = t3.next) || void 0 === i3 || i3.call(t3, s2) : "E" === a2 ? null === (n3 = t3.error) || void 0 === n3 || n3.call(t3, l2) : null === (o2 = t3.complete) || void 0 === o2 || o2.call(t3); + } + t2.Notification = l, t2.observeNotification = u; + }, 42767(e2, t2) { + "use strict"; + function i2(e3, t3, i3) { + return { kind: e3, value: t3, error: i3 }; + } + Object.defineProperty(t2, "__esModule", { value: true }), t2.createNotification = t2.nextNotification = t2.errorNotification = t2.COMPLETE_NOTIFICATION = void 0, t2.COMPLETE_NOTIFICATION = i2("C", void 0, void 0), t2.errorNotification = function(e3) { + return i2("E", void 0, e3); + }, t2.nextNotification = function(e3) { + return i2("N", e3, void 0); + }, t2.createNotification = i2; + }, 48051(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.Observable = void 0; + var n2 = i2(2708), o = i2(69879), r = i2(2884), a = i2(99517), s = i2(93728), l = i2(10281), u = i2(12688), c = (function() { + function e3(e4) { + e4 && (this._subscribe = e4); } - set labelOverride(e3) { - this._labelOverride = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "labelOverride", "value")); + return e3.prototype.lift = function(t3) { + var i3 = new e3(); + return i3.source = this, i3.operator = t3, i3; + }, e3.prototype.subscribe = function(e4, t3, i3) { + var r2, a2 = this, s2 = (r2 = e4) && r2 instanceof n2.Subscriber || (function(e5) { + return e5 && l.isFunction(e5.next) && l.isFunction(e5.error) && l.isFunction(e5.complete); + })(r2) && o.isSubscription(r2) ? e4 : new n2.SafeSubscriber(e4, t3, i3); + return u.errorContext(function() { + var e5 = a2, t4 = e5.operator, i4 = e5.source; + s2.add(t4 ? t4.call(s2, i4) : i4 ? a2._subscribe(s2) : a2._trySubscribe(s2)); + }), s2; + }, e3.prototype._trySubscribe = function(e4) { + try { + return this._subscribe(e4); + } catch (t3) { + e4.error(t3); + } + }, e3.prototype.forEach = function(e4, t3) { + var i3 = this; + return new (t3 = d(t3))(function(t4, o2) { + var r2 = new n2.SafeSubscriber({ next: function(t5) { + try { + e4(t5); + } catch (e5) { + o2(e5), r2.unsubscribe(); + } + }, error: o2, complete: t4 }); + i3.subscribe(r2); + }); + }, e3.prototype._subscribe = function(e4) { + var t3; + return null === (t3 = this.source) || void 0 === t3 ? void 0 : t3.subscribe(e4); + }, e3.prototype[r.observable] = function() { + return this; + }, e3.prototype.pipe = function() { + for (var e4 = [], t3 = 0; t3 < arguments.length; t3++) e4[t3] = arguments[t3]; + return a.pipeFromArray(e4)(this); + }, e3.prototype.toPromise = function(e4) { + var t3 = this; + return new (e4 = d(e4))(function(e5, i3) { + var n3; + t3.subscribe(function(e6) { + return n3 = e6; + }, function(e6) { + return i3(e6); + }, function() { + return e5(n3); + }); + }); + }, e3.create = function(t3) { + return new e3(t3); + }, e3; + })(); + function d(e3) { + var t3; + return null !== (t3 = null != e3 ? e3 : s.config.Promise) && void 0 !== t3 ? t3 : Promise; + } + t2.Observable = c; + }, 10381(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - setLabelOverride(e3) { - return this.labelOverride = e3, this; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.ReplaySubject = void 0; + var r = i2(76808), a = i2(93275), s = (function(e3) { + function t3(t4, i3, n3) { + void 0 === t4 && (t4 = 1 / 0), void 0 === i3 && (i3 = 1 / 0), void 0 === n3 && (n3 = a.dateTimestampProvider); + var o2 = e3.call(this) || this; + return o2._bufferSize = t4, o2._windowTime = i3, o2._timestampProvider = n3, o2._buffer = [], o2._infiniteTimeWindow = true, o2._infiniteTimeWindow = i3 === 1 / 0, o2._bufferSize = Math.max(1, t4), o2._windowTime = Math.max(1, i3), o2; } - get localizedLabelPrefix() { - return this._localizedLabelPrefix; + return o(t3, e3), t3.prototype.next = function(t4) { + var i3 = this, n3 = i3.isStopped, o2 = i3._buffer, r2 = i3._infiniteTimeWindow, a2 = i3._timestampProvider, s2 = i3._windowTime; + n3 || (o2.push(t4), !r2 && o2.push(a2.now() + s2)), this._trimBuffer(), e3.prototype.next.call(this, t4); + }, t3.prototype._subscribe = function(e4) { + this._throwIfClosed(), this._trimBuffer(); + for (var t4 = this._innerSubscribe(e4), i3 = this._infiniteTimeWindow, n3 = this._buffer.slice(), o2 = 0; o2 < n3.length && !e4.closed; o2 += i3 ? 1 : 2) e4.next(n3[o2]); + return this._checkFinalizedStatuses(e4), t4; + }, t3.prototype._trimBuffer = function() { + var e4 = this, t4 = e4._bufferSize, i3 = e4._timestampProvider, n3 = e4._buffer, o2 = e4._infiniteTimeWindow, r2 = (o2 ? 1 : 2) * t4; + if (t4 < 1 / 0 && r2 < n3.length && n3.splice(0, n3.length - r2), !o2) { + for (var a2 = i3.now(), s2 = 0, l = 1; l < n3.length && n3[l] <= a2; l += 2) s2 = l; + s2 && n3.splice(0, s2 + 1); + } + }, t3; + })(r.Subject); + t2.ReplaySubject = s; + }, 65881(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.Scheduler = void 0; + var n2 = i2(93275), o = (function() { + function e3(t3, i3) { + void 0 === i3 && (i3 = e3.now), this.schedulerActionCtor = t3, this.now = i3; } - set localizedLabelPrefix(e3) { - this._localizedLabelPrefix = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "localizedLabelPrefix", "value")); + return e3.prototype.schedule = function(e4, t3, i3) { + return void 0 === t3 && (t3 = 0), new this.schedulerActionCtor(this, e4).schedule(i3, t3); + }, e3.now = n2.dateTimestampProvider.now, e3; + })(); + t2.Scheduler = o; + }, 76808(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - setLocalizedLabelPrefix(e3) { - return this.localizedLabelPrefix = e3, this; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }), r = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + 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), 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; } - setEmitNonConfigItemForEmptyAndNoDefault(e3) { - return this.emitNonConfigItemForEmptyAndNoDefault = e3, this; + return o(t3, e3), t3.prototype.lift = function(e4) { + var t4 = new p(this, this); + return t4.operator = e4, t4; + }, t3.prototype._throwIfClosed = function() { + if (this.closed) throw new l.ObjectUnsubscribedError(); + }, t3.prototype.next = function(e4) { + var t4 = this; + c.errorContext(function() { + var i3, n3; + if (t4._throwIfClosed(), !t4.isStopped) { + t4.currentObservers || (t4.currentObservers = Array.from(t4.observers)); + try { + for (var o2 = r(t4.currentObservers), a2 = o2.next(); !a2.done; a2 = o2.next()) a2.value.next(e4); + } catch (e5) { + i3 = { error: e5 }; + } finally { + try { + a2 && !a2.done && (n3 = o2.return) && n3.call(o2); + } finally { + if (i3) throw i3.error; + } + } + } + }); + }, t3.prototype.error = function(e4) { + var t4 = this; + 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); + } + }); + }, t3.prototype.complete = function() { + var e4 = this; + c.errorContext(function() { + if (e4._throwIfClosed(), !e4.isStopped) { + e4.isStopped = true; + for (var t4 = e4.observers; t4.length; ) t4.shift().complete(); + } + }); + }, t3.prototype.unsubscribe = function() { + this.isStopped = this.closed = true, this.observers = this.currentObservers = null; + }, Object.defineProperty(t3.prototype, "observed", { get: function() { + var e4; + return (null === (e4 = this.observers) || void 0 === e4 ? void 0 : e4.length) > 0; + }, enumerable: false, configurable: true }), t3.prototype._trySubscribe = function(t4) { + return this._throwIfClosed(), e3.prototype._trySubscribe.call(this, t4); + }, t3.prototype._subscribe = function(e4) { + return this._throwIfClosed(), this._checkFinalizedStatuses(e4), this._innerSubscribe(e4); + }, t3.prototype._innerSubscribe = function(e4) { + var t4 = this, i3 = this, n3 = i3.hasError, o2 = i3.isStopped, r2 = i3.observers; + return n3 || o2 ? s.EMPTY_SUBSCRIPTION : (this.currentObservers = null, r2.push(e4), new s.Subscription(function() { + t4.currentObservers = null, u.arrRemove(r2, e4); + })); + }, t3.prototype._checkFinalizedStatuses = function(e4) { + var t4 = this, i3 = t4.hasError, n3 = t4.thrownError, o2 = t4.isStopped; + i3 ? e4.error(n3) : o2 && e4.complete(); + }, t3.prototype.asObservable = function() { + var e4 = new a.Observable(); + return e4.source = this, e4; + }, t3.create = function(e4, t4) { + return new p(e4, t4); + }, t3; + })(a.Observable); + t2.Subject = d; + var p = (function(e3) { + function t3(t4, i3) { + var n3 = e3.call(this) || this; + return n3.destination = t4, n3.source = i3, n3; } - get suppressParserValidationMessages() { - return this._suppressParserValidationMessages; + return o(t3, e3), t3.prototype.next = function(e4) { + var t4, i3; + null === (i3 = null === (t4 = this.destination) || void 0 === t4 ? void 0 : t4.next) || void 0 === i3 || i3.call(t4, e4); + }, t3.prototype.error = function(e4) { + var t4, i3; + null === (i3 = null === (t4 = this.destination) || void 0 === t4 ? void 0 : t4.error) || void 0 === i3 || i3.call(t4, e4); + }, t3.prototype.complete = function() { + var e4, t4; + null === (t4 = null === (e4 = this.destination) || void 0 === e4 ? void 0 : e4.complete) || void 0 === t4 || t4.call(e4); + }, t3.prototype._subscribe = function(e4) { + 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; + })(d); + t2.AnonymousSubject = p; + }, 2708(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - set suppressParserValidationMessages(e3) { - this._suppressParserValidationMessages = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "suppressParserValidationMessages", "value")); + 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 r = 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; } - setSuppressParserValidationMessages(e3) { - return this.suppressParserValidationMessages = e3, this; + return o(i3, e3), i3.create = function(e4, t3, i4) { + return new f(e4, t3, i4); + }, i3.prototype.next = function(e4) { + this.isStopped ? y(c.nextNotification(e4), this) : this._next(e4); + }, i3.prototype.error = function(e4) { + this.isStopped ? y(c.errorNotification(e4), this) : (this.isStopped = true, this._error(e4)); + }, i3.prototype.complete = function() { + 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) { + this.destination.next(e4); + }, i3.prototype._error = function(e4) { + try { + this.destination.error(e4); + } finally { + this.unsubscribe(); + } + }, i3.prototype._complete = function() { + try { + this.destination.complete(); + } finally { + this.unsubscribe(); + } + }, i3; + })(a.Subscription); + t2.Subscriber = _; + var h = Function.prototype.bind; + function m(e3, t3) { + return h.call(e3, t3); + } + var g = (function() { + function e3(e4) { + this.partialObserver = e4; } - setScriptingPropertyName(e3) { - return this.scriptingPropertyName = e3, this; + return e3.prototype.next = function(e4) { + var t3 = this.partialObserver; + if (t3.next) try { + t3.next(e4); + } catch (e5) { + T(e5); + } + }, e3.prototype.error = function(e4) { + var t3 = this.partialObserver; + if (t3.error) try { + t3.error(e4); + } catch (e5) { + T(e5); + } + else T(e4); + }, e3.prototype.complete = function() { + var e4 = this.partialObserver; + if (e4.complete) try { + e4.complete(); + } catch (e5) { + T(e5); + } + }, e3; + })(), f = (function(e3) { + function t3(t4, i3, n3) { + var o2, a2, l2 = e3.call(this) || this; + return r.isFunction(t4) || !t4 ? o2 = { next: null != t4 ? t4 : void 0, error: null != i3 ? i3 : void 0, complete: null != n3 ? n3 : void 0 } : l2 && s.config.useDeprecatedNextContext ? ((a2 = Object.create(t4)).unsubscribe = function() { + return l2.unsubscribe(); + }, o2 = { next: t4.next && m(t4.next, a2), error: t4.error && m(t4.error, a2), complete: t4.complete && m(t4.complete, a2) }) : o2 = t4, l2.destination = new g(o2), l2; } - get restrictToFlowGlobalVariables() { - return this._restrictToFlowGlobalVariables; + return o(t3, e3), t3; + })(_); + function T(e3) { + s.config.useDeprecatedSynchronousErrorHandling ? p.captureError(e3) : l.reportUnhandledError(e3); + } + function y(e3, t3) { + var i3 = s.config.onStoppedNotification; + i3 && d.timeoutProvider.setTimeout(function() { + return i3(e3, t3); + }); + } + t2.SafeSubscriber = f, t2.EMPTY_OBSERVER = { closed: true, next: u.noop, error: function(e3) { + throw e3; + }, complete: u.noop }; + }, 69879(e2, t2, i2) { + "use strict"; + var n2 = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); + }, o = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - set restrictToFlowGlobalVariables(e3) { - this._restrictToFlowGlobalVariables = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "restrictToFlowGlobalVariables", "value")); + return a2; + }, r = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isSubscription = t2.EMPTY_SUBSCRIPTION = t2.Subscription = void 0; + var a = i2(10281), s = i2(69517), l = i2(54830), u = (function() { + function e3(e4) { + this.initialTeardown = e4, this.closed = false, this._parentage = null, this._finalizers = null; } - setRestrictToFlowGlobalVariables(e3) { - return this.restrictToFlowGlobalVariables = e3, this; + var t3; + return e3.prototype.unsubscribe = function() { + var e4, t4, i3, l2, u2; + if (!this.closed) { + this.closed = true; + 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 { + try { + _ && !_.done && (t4 = p.return) && t4.call(p); + } finally { + if (e4) throw e4.error; + } + } + else d.remove(this); + var h = this.initialTeardown; + if (a.isFunction(h)) try { + h(); + } catch (e5) { + u2 = e5 instanceof s.UnsubscriptionError ? e5.errors : [e5]; + } + var m = this._finalizers; + if (m) { + this._finalizers = null; + try { + for (var g = n2(m), f = g.next(); !f.done; f = g.next()) { + var T = f.value; + try { + c(T); + } catch (e5) { + u2 = null != u2 ? u2 : [], e5 instanceof s.UnsubscriptionError ? u2 = r(r([], o(u2)), o(e5.errors)) : u2.push(e5); + } + } + } catch (e5) { + i3 = { error: e5 }; + } finally { + try { + f && !f.done && (l2 = g.return) && l2.call(g); + } finally { + if (i3) throw i3.error; + } + } + } + if (u2) throw new s.UnsubscriptionError(u2); + } + }, e3.prototype.add = function(t4) { + var i3; + if (t4 && t4 !== this) if (this.closed) c(t4); + else { + if (t4 instanceof e3) { + if (t4.closed || t4._hasParent(this)) return; + t4._addParent(this); + } + (this._finalizers = null !== (i3 = this._finalizers) && void 0 !== i3 ? i3 : []).push(t4); + } + }, e3.prototype._hasParent = function(e4) { + var t4 = this._parentage; + return t4 === e4 || Array.isArray(t4) && t4.includes(e4); + }, e3.prototype._addParent = function(e4) { + var t4 = this._parentage; + this._parentage = Array.isArray(t4) ? (t4.push(e4), t4) : t4 ? [t4, e4] : e4; + }, e3.prototype._removeParent = function(e4) { + var t4 = this._parentage; + t4 === e4 ? this._parentage = null : Array.isArray(t4) && l.arrRemove(t4, e4); + }, e3.prototype.remove = function(t4) { + var i3 = this._finalizers; + i3 && l.arrRemove(i3, t4), t4 instanceof e3 && t4._removeParent(this); + }, e3.EMPTY = ((t3 = new e3()).closed = true, t3), e3; + })(); + function c(e3) { + a.isFunction(e3) ? e3() : e3.unsubscribe(); + } + t2.Subscription = u, t2.EMPTY_SUBSCRIPTION = u.EMPTY, t2.isSubscription = function(e3) { + return e3 instanceof u || e3 && "closed" in e3 && a.isFunction(e3.remove) && a.isFunction(e3.add) && a.isFunction(e3.unsubscribe); + }; + }, 93728(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.config = void 0, t2.config = { onUnhandledError: null, onStoppedNotification: null, Promise: void 0, useDeprecatedSynchronousErrorHandling: false, useDeprecatedNextContext: false }; + }, 40841(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.firstValueFrom = void 0; + var n2 = i2(59328), o = i2(2708); + t2.firstValueFrom = function(e3, t3) { + var i3 = "object" == typeof t3; + return new Promise(function(r, a) { + var s = new o.SafeSubscriber({ next: function(e4) { + r(e4), s.unsubscribe(); + }, error: a, complete: function() { + i3 ? r(t3.defaultValue) : a(new n2.EmptyError()); + } }); + e3.subscribe(s); + }); + }; + }, 85761(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.lastValueFrom = void 0; + var n2 = i2(59328); + t2.lastValueFrom = function(e3, t3) { + var i3 = "object" == typeof t3; + return new Promise(function(o, r) { + var a, s = false; + e3.subscribe({ next: function(e4) { + a = e4, s = true; + }, error: r, complete: function() { + s ? o(a) : i3 ? o(t3.defaultValue) : r(new n2.EmptyError()); + } }); + }); + }; + }, 14359(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - get wantVariableMode() { - return this.defaultToVariable || this.variableOnly || this.allowModeVariable && this._allowModeExpression && this.isOutput && !this.isOptional; + 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 r = 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; } - getDependencyTrackingId(e3) { - return null == e3 ? void 0 : e3.val; + return o(t3, e3), t3.prototype._subscribe = function(e4) { + return this.getSubject().subscribe(e4); + }, t3.prototype.getSubject = function() { + var e4 = this._subject; + return e4 && !e4.isStopped || (this._subject = this.subjectFactory()), this._subject; + }, t3.prototype._teardown = function() { + this._refCount = 0; + var e4 = this._connection; + this._subject = this._connection = null, null == e4 || e4.unsubscribe(); + }, t3.prototype.connect = function() { + var e4 = this, t4 = this._connection; + if (!t4) { + t4 = this._connection = new a.Subscription(); + var i3 = this.getSubject(); + t4.add(this.source.subscribe(l.createOperatorSubscriber(i3, void 0, function() { + e4._teardown(), i3.complete(); + }, function(t5) { + e4._teardown(), i3.error(t5); + }, function() { + return e4._teardown(); + }))), t4.closed && (this._connection = null, t4 = a.Subscription.EMPTY); + } + return t4; + }, t3.prototype.refCount = function() { + return s.refCount()(this); + }, t3; + })(r.Observable); + t2.ConnectableObservable = c; + }, 79750(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.bindCallback = void 0; + var n2 = i2(17474); + t2.bindCallback = function(e3, t3, i3) { + return n2.bindCallbackInternals(false, e3, t3, i3); + }; + }, 17474(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - get subLabel() { - return this._subLabel; + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.bindCallbackInternals = void 0; + var r = 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 (!r.isScheduler(d)) return function() { + for (var n3 = [], o2 = 0; o2 < arguments.length; o2++) n3[o2] = arguments[o2]; + return e3(t3, i3, p).apply(this, n3).pipe(l.mapOneOrManyArgs(d)); + }; + p = d; } - set subLabel(e3) { - this._subLabel = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "subLabel", "value"), true); + return p ? function() { + for (var n3 = [], o2 = 0; o2 < arguments.length; o2++) n3[o2] = arguments[o2]; + return e3(t3, i3).apply(this, n3).pipe(s.subscribeOn(p), u.observeOn(p)); + } : function() { + for (var e4 = this, r2 = [], s2 = 0; s2 < arguments.length; s2++) r2[s2] = arguments[s2]; + var l2 = new c.AsyncSubject(), u2 = true; + return new a.Observable(function(a2) { + var s3 = l2.subscribe(a2); + if (u2) { + u2 = false; + var c2 = false, d2 = false; + i3.apply(e4, o(o([], n2(r2)), [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]), d2 = true, c2 && l2.complete(); + }])), d2 && l2.complete(), c2 = true; + } + return s3; + }); + }; + }; + }, 21946(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.bindNodeCallback = void 0; + var n2 = i2(17474); + t2.bindNodeCallback = function(e3, t3, i3) { + return n2.bindCallbackInternals(true, e3, t3, i3); + }; + }, 88246(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatestInit = t2.combineLatest = void 0; + var n2 = i2(48051), o = i2(50439), r = 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 o2 = e3.length, a2 = new Array(o2), s2 = o2, l2 = o2, u2 = function(o3) { + _(t3, function() { + var u3 = r.from(e3[o3], t3), d3 = false; + u3.subscribe(c.createOperatorSubscriber(n3, function(e4) { + a2[o3] = e4, d3 || (d3 = true, l2--), l2 || n3.next(i3(a2.slice())); + }, function() { + --s2 || n3.complete(); + })); + }, n3); + }, d2 = 0; d2 < o2; d2++) u2(d2); + }, n3); + }; + } + function _(e3, t3, i3) { + 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), c2 = l.popResultSelector(e3), d2 = o.argsArgArrayOrObject(e3), _2 = d2.args, h = d2.keys; + if (0 === _2.length) return r.from([], i3); + var m = new n2.Observable(p(_2, i3, h ? function(e4) { + return u.createObject(h, e4); + } : a.identity)); + return c2 ? m.pipe(s.mapOneOrManyArgs(c2)) : m; + }, t2.combineLatestInit = p; + }, 39546(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.concat = void 0; + var n2 = i2(70201), o = i2(26404), r = i2(47058); + t2.concat = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return n2.concatAll()(r.from(e3, o.popScheduler(e3))); + }; + }, 98590(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.connectable = void 0; + var n2 = i2(76808), o = i2(48051), r = i2(35884), a = { connector: function() { + return new n2.Subject(); + }, 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(), c = new o.Observable(function(e4) { + return u.subscribe(e4); + }); + return c.connect = function() { + return i3 && !i3.closed || (i3 = r.defer(function() { + return e3; + }).subscribe(u), l && i3.add(function() { + return u = n3(); + })), i3; + }, c; + }; + }, 35884(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.defer = void 0; + var n2 = i2(48051), o = i2(19724); + t2.defer = function(e3) { + return new n2.Observable(function(t3) { + o.innerFrom(e3()).subscribe(t3); + }); + }; + }, 21875(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.animationFrames = void 0; + var n2 = i2(48051), o = i2(22931), r = i2(35726); + function a(e3) { + return new n2.Observable(function(t3) { + var i3 = e3 || o.performanceTimestampProvider, n3 = i3.now(), a2 = 0, s2 = function() { + t3.closed || (a2 = r.animationFrameProvider.requestAnimationFrame(function(o2) { + a2 = 0; + var r2 = i3.now(); + t3.next({ timestamp: e3 ? r2 : o2, elapsed: r2 - n3 }), s2(); + })); + }; + return s2(), function() { + a2 && r.animationFrameProvider.cancelAnimationFrame(a2); + }; + }); + } + t2.animationFrames = function(e3) { + return e3 ? a(e3) : s; + }; + var s = a(); + }, 44885(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.empty = t2.EMPTY = void 0; + var n2 = i2(48051); + t2.EMPTY = new n2.Observable(function(e3) { + return e3.complete(); + }), t2.empty = function(e3) { + return e3 ? (function(e4) { + return new n2.Observable(function(t3) { + return e4.schedule(function() { + return t3.complete(); + }); + }); + })(e3) : t2.EMPTY; + }; + }, 75266(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.forkJoin = void 0; + var n2 = i2(48051), o = i2(50439), r = 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), c = o.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, o2 = t4, a2 = function(t5) { + var a3 = false; + r.innerFrom(d[t5]).subscribe(s.createOperatorSubscriber(e4, function(e5) { + a3 || (a3 = true, o2--), i4[t5] = e5; + }, function() { + return n3--; + }, void 0, function() { + n3 && a3 || (o2 || e4.next(p ? u.createObject(p, i4) : i4), e4.complete()); + })); + }, l2 = 0; l2 < t4; l2++) a2(l2); + else e4.complete(); + }); + return i3 ? _.pipe(l.mapOneOrManyArgs(i3)) : _; + }; + }, 47058(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.from = void 0; + var n2 = i2(30131), o = i2(19724); + t2.from = function(e3, t3) { + return t3 ? n2.scheduled(e3, t3) : o.innerFrom(e3); + }; + }, 88616(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - setSubLabel(e3) { - return this.subLabel = e3, this; + return a2; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.fromEvent = void 0; + var o = i2(19724), r = 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) { + return e3[i3](t3, n3); + }; + }; + } + t2.fromEvent = function e3(t3, i3, h, m) { + 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) ? 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) ? 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) { + return e3(t4, i3, h); + })(o.innerFrom(t3)); + if (!f) throw new TypeError("Invalid event target"); + return new r.Observable(function(e4) { + var t4 = function() { + for (var t5 = [], i4 = 0; i4 < arguments.length; i4++) t5[i4] = arguments[i4]; + return e4.next(1 < t5.length ? t5 : t5[0]); + }; + return f(t4), function() { + return T(t4); + }; + }); + }; + }, 26920(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.fromEventPattern = void 0; + var n2 = i2(48051), o = i2(10281), r = i2(13916); + t2.fromEventPattern = function e3(t3, i3, a) { + return a ? e3(t3, i3).pipe(r.mapOneOrManyArgs(a)) : new n2.Observable(function(e4) { + var n3 = function() { + for (var t4 = [], i4 = 0; i4 < arguments.length; i4++) t4[i4] = arguments[i4]; + return e4.next(1 === t4.length ? t4[0] : t4); + }, r2 = t3(n3); + return o.isFunction(i3) ? function() { + return i3(n3, r2); + } : void 0; + }); + }; + }, 51071(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.fromSubscribable = void 0; + var n2 = i2(48051); + t2.fromSubscribable = function(e3) { + return new n2.Observable(function(t3) { + return e3.subscribe(t3); + }); + }; + }, 87281(e2, t2, i2) { + "use strict"; + var n2 = this && this.__generator || function(e3, t3) { + var i3, n3, o2, r2, a2 = { label: 0, sent: function() { + if (1 & o2[0]) throw o2[1]; + return o2[1]; + }, trys: [], ops: [] }; + return r2 = { next: s2(0), throw: s2(1), return: s2(2) }, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return this; + }), r2; + function s2(r3) { + return function(s3) { + return (function(r4) { + if (i3) throw new TypeError("Generator is already executing."); + for (; a2; ) try { + if (i3 = 1, n3 && (o2 = 2 & r4[0] ? n3.return : r4[0] ? n3.throw || ((o2 = n3.return) && o2.call(n3), 0) : n3.next) && !(o2 = o2.call(n3, r4[1])).done) return o2; + switch (n3 = 0, o2 && (r4 = [2 & r4[0], o2.value]), r4[0]) { + case 0: + case 1: + o2 = r4; + break; + case 4: + return a2.label++, { value: r4[1], done: false }; + case 5: + a2.label++, n3 = r4[1], r4 = [0]; + continue; + case 7: + r4 = a2.ops.pop(), a2.trys.pop(); + continue; + default: + if (!((o2 = (o2 = a2.trys).length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + a2 = 0; + continue; + } + if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + a2.label = r4[1]; + break; + } + if (6 === r4[0] && a2.label < o2[1]) { + a2.label = o2[1], o2 = r4; + break; + } + if (o2 && a2.label < o2[2]) { + a2.label = o2[2], a2.ops.push(r4); + break; + } + o2[2] && a2.ops.pop(), a2.trys.pop(); + continue; + } + r4 = t3.call(e3, a2); + } catch (e4) { + r4 = [6, e4], n3 = 0; + } finally { + i3 = o2 = 0; + } + if (5 & r4[0]) throw r4[1]; + return { value: r4[0] ? r4[1] : void 0, done: true }; + })([r3, s3]); + }; } - set validVariableReferenceCallback(e3) { - this._validVariableReferenceCallback = e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.generate = void 0; + var o = i2(87699), r = i2(68596), a = i2(35884), s = i2(36805); + t2.generate = function(e3, t3, i3, l, u) { + var c, d, p, _; + function h() { + var e4; + return n2(this, function(n3) { + switch (n3.label) { + case 0: + e4 = _, n3.label = 1; + case 1: + return t3 && !t3(e4) ? [3, 4] : [4, p(e4)]; + case 2: + n3.sent(), n3.label = 3; + case 3: + return e4 = i3(e4), [3, 1]; + case 4: + return [2]; + } + }); } - get validVariableReferenceCallback() { - return this._validVariableReferenceCallback; + return 1 === arguments.length ? (_ = (c = e3).initialState, t3 = c.condition, i3 = c.iterate, d = c.resultSelector, p = void 0 === d ? o.identity : d, u = c.scheduler) : (_ = e3, !l || r.isScheduler(l) ? (p = o.identity, u = l) : p = l), a.defer(u ? function() { + return s.scheduleIterable(h(), u); + } : h); + }; + }, 99380(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.iif = void 0; + var n2 = i2(35884); + t2.iif = function(e3, t3, i3) { + return n2.defer(function() { + return e3() ? t3 : i3; + }); + }; + }, 19724(e2, t2, i2) { + "use strict"; + var n2 = this && this.__awaiter || function(e3, t3, i3, n3) { + return new (i3 || (i3 = Promise))(function(o2, r2) { + function a2(e4) { + try { + l2(n3.next(e4)); + } catch (e5) { + r2(e5); + } + } + function s2(e4) { + try { + l2(n3.throw(e4)); + } catch (e5) { + r2(e5); + } + } + function l2(e4) { + var t4; + e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) { + e5(t4); + })).then(a2, s2); + } + l2((n3 = n3.apply(e3, t3 || [])).next()); + }); + }, o = this && this.__generator || function(e3, t3) { + var i3, n3, o2, r2, a2 = { label: 0, sent: function() { + if (1 & o2[0]) throw o2[1]; + return o2[1]; + }, trys: [], ops: [] }; + return r2 = { next: s2(0), throw: s2(1), return: s2(2) }, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return this; + }), r2; + function s2(r3) { + return function(s3) { + return (function(r4) { + if (i3) throw new TypeError("Generator is already executing."); + for (; a2; ) try { + if (i3 = 1, n3 && (o2 = 2 & r4[0] ? n3.return : r4[0] ? n3.throw || ((o2 = n3.return) && o2.call(n3), 0) : n3.next) && !(o2 = o2.call(n3, r4[1])).done) return o2; + switch (n3 = 0, o2 && (r4 = [2 & r4[0], o2.value]), r4[0]) { + case 0: + case 1: + o2 = r4; + break; + case 4: + return a2.label++, { value: r4[1], done: false }; + case 5: + a2.label++, n3 = r4[1], r4 = [0]; + continue; + case 7: + r4 = a2.ops.pop(), a2.trys.pop(); + continue; + default: + if (!((o2 = (o2 = a2.trys).length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + a2 = 0; + continue; + } + if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + a2.label = r4[1]; + break; + } + if (6 === r4[0] && a2.label < o2[1]) { + a2.label = o2[1], o2 = r4; + break; + } + if (o2 && a2.label < o2[2]) { + a2.label = o2[2], a2.ops.push(r4); + break; + } + o2[2] && a2.ops.pop(), a2.trys.pop(); + continue; + } + r4 = t3.call(e3, a2); + } catch (e4) { + r4 = [6, e4], n3 = 0; + } finally { + i3 = o2 = 0; + } + if (5 & r4[0]) throw r4[1]; + return { value: r4[0] ? r4[1] : void 0, done: true }; + })([r3, s3]); + }; } - setValidVariableReferenceCallback(e3) { - return this._validVariableReferenceCallback = e3, this; + }, r = this && this.__asyncValues || function(e3) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var t3, i3 = e3[Symbol.asyncIterator]; + return i3 ? i3.call(e3) : (e3 = "function" == typeof a ? a(e3) : e3[Symbol.iterator](), t3 = {}, n3("next"), n3("throw"), n3("return"), t3[Symbol.asyncIterator] = function() { + return this; + }, t3); + function n3(i4) { + t3[i4] = e3[i4] && function(t4) { + return new Promise(function(n4, o2) { + !(function(e4, t5, i5, n5) { + Promise.resolve(n5).then(function(t6) { + e4({ value: t6, done: i5 }); + }, t5); + })(n4, o2, (t4 = e3[i4](t4)).done, t4.value); + }); + }; } - set disallowExpressionFunctions(e3) { - this._disallowExpressionFunctions = e3; + }, a = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + 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), 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](); + if (m.isFunction(i3.subscribe)) return i3.subscribe(t3); + throw new TypeError("Provided object does not correctly implement Symbol.observable"); + }); + } + function y(e3) { + return new u.Observable(function(t3) { + for (var i3 = 0; i3 < e3.length && !t3.closed; i3++) t3.next(e3[i3]); + t3.complete(); + }); + } + function S(e3) { + return new u.Observable(function(t3) { + e3.then(function(e4) { + t3.closed || (t3.next(e4), t3.complete()); + }, function(e4) { + return t3.error(e4); + }).then(null, g.reportUnhandledError); + }); + } + function A(e3) { + return new u.Observable(function(t3) { + var i3, n3; + try { + for (var o2 = a(e3), r2 = o2.next(); !r2.done; r2 = o2.next()) { + var s2 = r2.value; + if (t3.next(s2), t3.closed) return; + } + } catch (e4) { + i3 = { error: e4 }; + } finally { + try { + r2 && !r2.done && (n3 = o2.return) && n3.call(o2); + } finally { + if (i3) throw i3.error; + } + } + t3.complete(); + }); + } + function N(e3) { + return new u.Observable(function(t3) { + (function(e4, t4) { + var i3, a2, s2, l2; + return n2(this, void 0, void 0, function() { + var n3, u2; + return o(this, function(o2) { + switch (o2.label) { + case 0: + o2.trys.push([0, 5, 6, 11]), i3 = r(e4), o2.label = 1; + case 1: + return [4, i3.next()]; + case 2: + if ((a2 = o2.sent()).done) return [3, 4]; + if (n3 = a2.value, t4.next(n3), t4.closed) return [2]; + o2.label = 3; + case 3: + return [3, 1]; + case 4: + return [3, 11]; + case 5: + return u2 = o2.sent(), s2 = { error: u2 }, [3, 11]; + case 6: + return o2.trys.push([6, , 9, 10]), a2 && !a2.done && (l2 = i3.return) ? [4, l2.call(i3)] : [3, 8]; + case 7: + o2.sent(), o2.label = 8; + case 8: + return [3, 10]; + case 9: + if (s2) throw s2.error; + return [7]; + case 10: + return [7]; + case 11: + return t4.complete(), [2]; + } + }); + }); + })(e3, t3).catch(function(e4) { + return t3.error(e4); + }); + }); + } + function v(e3) { + return N(h.readableStreamLikeToAsyncGenerator(e3)); + } + t2.innerFrom = function(e3) { + if (e3 instanceof u.Observable) return e3; + if (null != e3) { + if (c.isInteropObservable(e3)) return T(e3); + if (s.isArrayLike(e3)) return y(e3); + if (l.isPromise(e3)) return S(e3); + if (d.isAsyncIterable(e3)) return N(e3); + if (_.isIterable(e3)) return A(e3); + if (h.isReadableStreamLike(e3)) return v(e3); } - get disallowExpressionFunctions() { - return this._disallowExpressionFunctions; + throw p.createInvalidObservableTypeError(e3); + }, t2.fromInteropObservable = T, t2.fromArrayLike = y, t2.fromPromise = S, t2.fromIterable = A, t2.fromAsyncIterable = N, t2.fromReadableStreamLike = v; + }, 62275(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.interval = void 0; + var n2 = i2(62326), o = i2(5825); + t2.interval = function(e3, t3) { + return void 0 === e3 && (e3 = 0), void 0 === t3 && (t3 = n2.asyncScheduler), e3 < 0 && (e3 = 0), o.timer(e3, e3, t3); + }; + }, 95936(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.merge = void 0; + var n2 = i2(68087), o = i2(19724), r = i2(44885), a = i2(26404), s = i2(47058); + t2.merge = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + var i3 = a.popScheduler(e3), l = a.popNumber(e3, 1 / 0), u = e3; + return u.length ? 1 === u.length ? o.innerFrom(u[0]) : n2.mergeAll(l)(s.from(u, i3)) : r.EMPTY; + }; + }, 11934(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.never = t2.NEVER = void 0; + var n2 = i2(48051), o = i2(5717); + t2.NEVER = new n2.Observable(o.noop), t2.never = function() { + return t2.NEVER; + }; + }, 61587(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.of = void 0; + var n2 = i2(26404), o = i2(47058); + t2.of = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + var i3 = n2.popScheduler(e3); + return o.from(e3, i3); + }; + }, 1903(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.onErrorResumeNext = void 0; + var n2 = i2(48051), o = i2(7652), r = i2(17214), a = i2(5717), s = i2(19724); + t2.onErrorResumeNext = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + var i3 = o.argsOrArgArray(e3); + return new n2.Observable(function(e4) { + var t4 = 0, n3 = function() { + if (t4 < i3.length) { + var o2 = void 0; + try { + o2 = s.innerFrom(i3[t4++]); + } catch (e5) { + return void n3(); + } + var l = new r.OperatorSubscriber(e4, void 0, a.noop, a.noop); + o2.subscribe(l), l.add(n3); + } else e4.complete(); + }; + n3(); + }); + }; + }, 88269(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.pairs = void 0; + var n2 = i2(47058); + t2.pairs = function(e3, t3) { + return n2.from(Object.entries(e3), t3); + }; + }, 57406(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.partition = void 0; + var n2 = i2(14120), o = i2(85934), r = i2(19724); + t2.partition = function(e3, t3, i3) { + return [o.filter(t3, i3)(r.innerFrom(e3)), o.filter(n2.not(t3, i3))(r.innerFrom(e3))]; + }; + }, 89795(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.raceInit = t2.race = void 0; + var n2 = i2(48051), o = i2(19724), r = i2(7652), a = i2(17214); + function s(e3) { + return function(t3) { + for (var i3 = [], n3 = function(n4) { + i3.push(o.innerFrom(e3[n4]).subscribe(a.createOperatorSubscriber(t3, function(e4) { + if (i3) { + for (var o2 = 0; o2 < i3.length; o2++) o2 !== n4 && i3[o2].unsubscribe(); + i3 = null; + } + t3.next(e4); + }))); + }, r2 = 0; i3 && !t3.closed && r2 < e3.length; r2++) n3(r2); + }; + } + t2.race = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return 1 === (e3 = r.argsOrArgArray(e3)).length ? o.innerFrom(e3[0]) : new n2.Observable(s(e3)); + }, t2.raceInit = s; + }, 74385(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.range = void 0; + var n2 = i2(48051), o = i2(44885); + t2.range = function(e3, t3, i3) { + if (null == t3 && (t3 = e3, e3 = 0), t3 <= 0) return o.EMPTY; + var r = t3 + e3; + return new n2.Observable(i3 ? function(t4) { + var n3 = e3; + return i3.schedule(function() { + n3 < r ? (t4.next(n3++), this.schedule()) : t4.complete(); + }); + } : function(t4) { + for (var i4 = e3; i4 < r && !t4.closed; ) t4.next(i4++); + t4.complete(); + }); + }; + }, 26680(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.throwError = void 0; + var n2 = i2(48051), o = i2(10281); + t2.throwError = function(e3, t3) { + var i3 = o.isFunction(e3) ? e3 : function() { + return e3; + }, r = function(e4) { + return e4.error(i3()); + }; + return new n2.Observable(t3 ? function(e4) { + return t3.schedule(r, 0, e4); + } : r); + }; + }, 5825(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.timer = void 0; + var n2 = i2(48051), o = i2(62326), r = i2(68596), a = i2(85345); + t2.timer = function(e3, t3, i3) { + void 0 === e3 && (e3 = 0), void 0 === i3 && (i3 = o.async); + var s = -1; + return null != t3 && (r.isScheduler(t3) ? i3 = t3 : s = t3), new n2.Observable(function(t4) { + var n3 = a.isValidDate(e3) ? +e3 - i3.now() : e3; + n3 < 0 && (n3 = 0); + var o2 = 0; + return i3.schedule(function() { + t4.closed || (t4.next(o2++), 0 <= s ? this.schedule(void 0, s) : t4.complete()); + }, n3); + }); + }; + }, 35904(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.using = void 0; + var n2 = i2(48051), o = i2(19724), r = i2(44885); + t2.using = function(e3, t3) { + return new n2.Observable(function(i3) { + var n3 = e3(), a = t3(n3); + return (a ? o.innerFrom(a) : r.EMPTY).subscribe(i3), function() { + n3 && n3.unsubscribe(); + }; + }); + }; + }, 11415(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - setDisallowExpressionFunctions(e3) { - return this._disallowExpressionFunctions = e3, this; + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.zip = void 0; + var r = 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 = c.popResultSelector(e3), d = s.argsOrArgArray(e3); + return d.length ? new r.Observable(function(e4) { + var t4 = d.map(function() { + return []; + }), r2 = d.map(function() { + return false; + }); + e4.add(function() { + t4 = r2 = null; + }); + for (var s2 = function(s3) { + a.innerFrom(d[s3]).subscribe(u.createOperatorSubscriber(e4, function(a2) { + if (t4[s3].push(a2), t4.every(function(e5) { + return e5.length; + })) { + var l3 = t4.map(function(e5) { + return e5.shift(); + }); + e4.next(i3 ? i3.apply(void 0, o([], n2(l3))) : l3), t4.some(function(e5, t5) { + return !e5.length && r2[t5]; + }) && e4.complete(); + } + }, function() { + r2[s3] = true, !t4[s3].length && e4.complete(); + })); + }, l2 = 0; !e4.closed && l2 < d.length; l2++) s2(l2); + return function() { + t4 = r2 = null; + }; + }) : l.EMPTY; + }; + }, 17214(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - get hideLabel() { - return this._hideLabel; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.OperatorSubscriber = t2.createOperatorSubscriber = void 0; + var r = i2(2708); + t2.createOperatorSubscriber = function(e3, t3, i3, n3, o2) { + return new a(e3, t3, i3, n3, o2); + }; + var a = (function(e3) { + function t3(t4, i3, n3, o2, r2, a2) { + var s = e3.call(this, t4) || this; + return s.onFinalize = r2, s.shouldUnsubscribe = a2, s._next = i3 ? function(e4) { + try { + i3(e4); + } catch (e5) { + t4.error(e5); + } + } : e3.prototype._next, s._error = o2 ? function(e4) { + try { + o2(e4); + } catch (e5) { + t4.error(e5); + } finally { + this.unsubscribe(); + } + } : e3.prototype._error, s._complete = n3 ? function() { + try { + n3(); + } catch (e4) { + t4.error(e4); + } finally { + this.unsubscribe(); + } + } : e3.prototype._complete, s; } - set hideLabel(e3) { - this._hideLabel = e3; + return o(t3, e3), t3.prototype.unsubscribe = function() { + var t4; + if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) { + var i3 = this.closed; + e3.prototype.unsubscribe.call(this), !i3 && (null === (t4 = this.onFinalize) || void 0 === t4 || t4.call(this)); + } + }, t3; + })(r.Subscriber); + t2.OperatorSubscriber = a; + }, 88877(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.audit = void 0; + var n2 = i2(65212), o = i2(19724), r = i2(17214); + t2.audit = function(e3) { + return n2.operate(function(t3, i3) { + var n3 = false, a = null, s = null, l = false, u = function() { + if (null == s || s.unsubscribe(), s = null, n3) { + n3 = false; + var e4 = a; + a = null, i3.next(e4); + } + l && i3.complete(); + }, c = function() { + s = null, l && i3.complete(); + }; + t3.subscribe(r.createOperatorSubscriber(i3, function(t4) { + n3 = true, a = t4, s || o.innerFrom(e3(t4)).subscribe(s = r.createOperatorSubscriber(i3, u, c)); + }, function() { + l = true, (!n3 || !s || s.closed) && i3.complete(); + })); + }); + }; + }, 51608(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.auditTime = void 0; + var n2 = i2(62326), o = i2(88877), r = i2(5825); + t2.auditTime = function(e3, t3) { + return void 0 === t3 && (t3 = n2.asyncScheduler), o.audit(function() { + return r.timer(e3, t3); + }); + }; + }, 10706(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.buffer = void 0; + var n2 = i2(65212), o = i2(5717), r = i2(17214), a = i2(19724); + t2.buffer = function(e3) { + return n2.operate(function(t3, i3) { + var n3 = []; + return t3.subscribe(r.createOperatorSubscriber(i3, function(e4) { + return n3.push(e4); + }, function() { + i3.next(n3), i3.complete(); + })), a.innerFrom(e3).subscribe(r.createOperatorSubscriber(i3, function() { + var e4 = n3; + n3 = [], i3.next(e4); + }, o.noop)), function() { + n3 = null; + }; + }); + }; + }, 9287(e2, t2, i2) { + "use strict"; + var n2 = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferCount = void 0; + var o = i2(65212), r = i2(17214), a = i2(54830); + t2.bufferCount = function(e3, t3) { + return void 0 === t3 && (t3 = null), t3 = null != t3 ? t3 : e3, o.operate(function(i3, o2) { + var s = [], l = 0; + i3.subscribe(r.createOperatorSubscriber(o2, function(i4) { + var r2, 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); + } catch (e4) { + r2 = { error: e4 }; + } finally { + try { + h && !h.done && (u = _.return) && u.call(_); + } finally { + if (r2) throw r2.error; + } + } + if (p) try { + for (var m = n2(p), g = m.next(); !g.done; g = m.next()) { + var f = g.value; + a.arrRemove(s, f), o2.next(f); + } + } catch (e4) { + c = { error: e4 }; + } finally { + try { + g && !g.done && (d = m.return) && d.call(m); + } finally { + if (c) throw c.error; + } + } + }, function() { + var e4, t4; + try { + for (var i4 = n2(s), r2 = i4.next(); !r2.done; r2 = i4.next()) { + var a2 = r2.value; + o2.next(a2); + } + } catch (t5) { + e4 = { error: t5 }; + } finally { + try { + r2 && !r2.done && (t4 = i4.return) && t4.call(i4); + } finally { + if (e4) throw e4.error; + } + } + o2.complete(); + }, void 0, function() { + s = null; + })); + }); + }; + }, 41719(e2, t2, i2) { + "use strict"; + var n2 = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferTime = void 0; + var o = i2(69879), r = 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, 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 r.operate(function(t4, i4) { + var r2 = [], l2 = false, u2 = function(e4) { + var t5 = e4.buffer; + e4.subs.unsubscribe(), s.arrRemove(r2, e4), i4.next(t5), l2 && d2(); + }, d2 = function() { + if (r2) { + var t5 = new o.Subscription(); + i4.add(t5); + var n3 = { buffer: [], subs: t5 }; + r2.push(n3), c.executeSchedule(t5, _, function() { + return u2(n3); + }, e3); + } + }; + null !== h && h >= 0 ? c.executeSchedule(i4, _, d2, h, true) : l2 = true, d2(); + var p2 = a.createOperatorSubscriber(i4, function(e4) { + var t5, i5, o2 = r2.slice(); + try { + for (var a2 = n2(o2), s2 = a2.next(); !s2.done; s2 = a2.next()) { + var l3 = s2.value, c2 = l3.buffer; + c2.push(e4), m <= c2.length && u2(l3); + } + } catch (e5) { + t5 = { error: e5 }; + } finally { + try { + s2 && !s2.done && (i5 = a2.return) && i5.call(a2); + } finally { + if (t5) throw t5.error; + } + } + }, function() { + for (; null == r2 ? void 0 : r2.length; ) i4.next(r2.shift().buffer); + null == p2 || p2.unsubscribe(), i4.complete(), i4.unsubscribe(); + }, void 0, function() { + return r2 = null; + }); + t4.subscribe(p2); + }); + }; + }, 61778(e2, t2, i2) { + "use strict"; + var n2 = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferToggle = void 0; + var o = i2(69879), r = i2(65212), a = i2(19724), s = i2(17214), l = i2(5717), u = i2(54830); + t2.bufferToggle = function(e3, t3) { + return r.operate(function(i3, r2) { + var c = []; + a.innerFrom(e3).subscribe(s.createOperatorSubscriber(r2, function(e4) { + var i4 = []; + c.push(i4); + var n3 = new o.Subscription(); + n3.add(a.innerFrom(t3(e4)).subscribe(s.createOperatorSubscriber(r2, function() { + u.arrRemove(c, i4), r2.next(i4), n3.unsubscribe(); + }, l.noop))); + }, l.noop)), i3.subscribe(s.createOperatorSubscriber(r2, function(e4) { + var t4, i4; + try { + for (var o2 = n2(c), r3 = o2.next(); !r3.done; r3 = o2.next()) r3.value.push(e4); + } catch (e5) { + t4 = { error: e5 }; + } finally { + try { + r3 && !r3.done && (i4 = o2.return) && i4.call(o2); + } finally { + if (t4) throw t4.error; + } + } + }, function() { + for (; c.length > 0; ) r2.next(c.shift()); + r2.complete(); + })); + }); + }; + }, 56606(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferWhen = void 0; + var n2 = i2(65212), o = i2(5717), r = i2(17214), a = i2(19724); + t2.bufferWhen = function(e3) { + return n2.operate(function(t3, i3) { + var n3 = null, s = null, l = function() { + null == s || s.unsubscribe(); + var t4 = n3; + n3 = [], t4 && i3.next(t4), a.innerFrom(e3()).subscribe(s = r.createOperatorSubscriber(i3, l, o.noop)); + }; + l(), t3.subscribe(r.createOperatorSubscriber(i3, function(e4) { + return null == n3 ? void 0 : n3.push(e4); + }, function() { + n3 && i3.next(n3), i3.complete(); + }, void 0, function() { + return n3 = s = null; + })); + }); + }; + }, 72719(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.catchError = void 0; + var n2 = i2(19724), o = i2(17214), r = i2(65212); + t2.catchError = function e3(t3) { + return r.operate(function(i3, r2) { + var a, s = null, l = false; + s = i3.subscribe(o.createOperatorSubscriber(r2, void 0, void 0, function(o2) { + a = n2.innerFrom(t3(o2, e3(t3)(i3))), s ? (s.unsubscribe(), s = null, a.subscribe(r2)) : l = true; + })), l && (s.unsubscribe(), s = null, a.subscribe(r2)); + }); + }; + }, 89244(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.combineAll = void 0; + var n2 = i2(67933); + t2.combineAll = n2.combineLatestAll; + }, 64948(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - setHideLabel(e3) { - return this._hideLabel = e3, this; + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatest = void 0; + var r = 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 d = c.popResultSelector(t3); + return d ? u.pipe(e3.apply(void 0, o([], n2(t3))), l.mapOneOrManyArgs(d)) : a.operate(function(e4, i4) { + r.combineLatestInit(o([e4], n2(s.argsOrArgArray(t3))))(i4); + }); + }; + }, 67933(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatestAll = void 0; + var n2 = i2(88246), o = i2(80719); + t2.combineLatestAll = function(e3) { + return o.joinAllInternals(n2.combineLatest, e3); + }; + }, 82044(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - get useSeparator() { - return this._useSeparator; + return a; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatestWith = void 0; + var r = i2(64948); + t2.combineLatestWith = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return r.combineLatest.apply(void 0, o([], n2(e3))); + }; + }, 96328(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - set useSeparator(e3) { - this._useSeparator = e3; + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.concat = void 0; + var r = i2(65212), a = i2(70201), s = i2(26404), l = i2(47058); + t2.concat = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + var i3 = s.popScheduler(e3); + return r.operate(function(t4, r2) { + a.concatAll()(l.from(o([t4], n2(e3)), i3)).subscribe(r2); + }); + }; + }, 70201(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.concatAll = void 0; + var n2 = i2(68087); + t2.concatAll = function() { + return n2.mergeAll(1); + }; + }, 29512(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.concatMap = void 0; + var n2 = i2(67478), o = i2(10281); + t2.concatMap = function(e3, t3) { + return o.isFunction(t3) ? n2.mergeMap(e3, t3, 1) : n2.mergeMap(e3, 1); + }; + }, 19913(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.concatMapTo = void 0; + var n2 = i2(29512), o = i2(10281); + t2.concatMapTo = function(e3, t3) { + return o.isFunction(t3) ? n2.concatMap(function() { + return e3; + }, t3) : n2.concatMap(function() { + return e3; + }); + }; + }, 98032(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - setUseSeparator(e3) { - return this._useSeparator = e3, this; + return a; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.concatWith = void 0; + var r = i2(96328); + t2.concatWith = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return r.concat.apply(void 0, o([], n2(e3))); + }; + }, 17812(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.connect = void 0; + var n2 = i2(76808), o = i2(19724), r = i2(65212), a = i2(51071), s = { connector: function() { + return new n2.Subject(); + } }; + t2.connect = function(e3, t3) { + void 0 === t3 && (t3 = s); + var i3 = t3.connector; + return r.operate(function(t4, n3) { + var r2 = i3(); + o.innerFrom(e3(a.fromSubscribable(r2))).subscribe(n3), n3.add(t4.subscribe(r2)); + }); + }; + }, 88589(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.count = void 0; + var n2 = i2(92070); + t2.count = function(e3) { + return n2.reduce(function(t3, i3, n3) { + return !e3 || e3(i3, n3) ? t3 + 1 : t3; + }, 0); + }; + }, 3143(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.debounce = void 0; + var n2 = i2(65212), o = i2(5717), r = i2(17214), a = i2(19724); + t2.debounce = function(e3) { + return n2.operate(function(t3, i3) { + var n3 = false, s = null, l = null, u = function() { + if (null == l || l.unsubscribe(), l = null, n3) { + n3 = false; + var e4 = s; + s = null, i3.next(e4); + } + }; + t3.subscribe(r.createOperatorSubscriber(i3, function(t4) { + null == l || l.unsubscribe(), n3 = true, s = t4, l = r.createOperatorSubscriber(i3, u, o.noop), a.innerFrom(e3(t4)).subscribe(l); + }, function() { + u(), i3.complete(); + }, void 0, function() { + s = l = null; + })); + }); + }; + }, 21762(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.debounceTime = void 0; + var n2 = i2(62326), o = i2(65212), r = i2(17214); + t2.debounceTime = function(e3, t3) { + return void 0 === t3 && (t3 = n2.asyncScheduler), o.operate(function(i3, n3) { + var o2 = null, a = null, s = null, l = function() { + if (o2) { + o2.unsubscribe(), o2 = null; + var e4 = a; + a = null, n3.next(e4); + } + }; + function u() { + var i4 = s + e3, r2 = t3.now(); + if (r2 < i4) return o2 = this.schedule(void 0, i4 - r2), void n3.add(o2); + l(); + } + i3.subscribe(r.createOperatorSubscriber(n3, function(i4) { + a = i4, s = t3.now(), o2 || (o2 = t3.schedule(u, e3), n3.add(o2)); + }, function() { + l(), n3.complete(); + }, void 0, function() { + a = o2 = null; + })); + }); + }; + }, 58799(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.defaultIfEmpty = void 0; + var n2 = i2(65212), o = i2(17214); + t2.defaultIfEmpty = function(e3) { + return n2.operate(function(t3, i3) { + var n3 = false; + t3.subscribe(o.createOperatorSubscriber(i3, function(e4) { + n3 = true, i3.next(e4); + }, function() { + n3 || i3.next(e3), i3.complete(); + })); + }); + }; + }, 5797(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.delay = void 0; + var n2 = i2(62326), o = i2(72885), r = i2(5825); + t2.delay = function(e3, t3) { + void 0 === t3 && (t3 = n2.asyncScheduler); + var i3 = r.timer(e3, t3); + return o.delayWhen(function() { + return i3; + }); + }; + }, 72885(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.delayWhen = void 0; + var n2 = i2(39546), o = i2(54383), r = i2(2959), a = i2(13337), s = i2(67478), l = i2(19724); + t2.delayWhen = function e3(t3, i3) { + return i3 ? function(a2) { + return n2.concat(i3.pipe(o.take(1), r.ignoreElements()), a2.pipe(e3(t3))); + } : s.mergeMap(function(e4, i4) { + return l.innerFrom(t3(e4, i4)).pipe(o.take(1), a.mapTo(e4)); + }); + }; + }, 19818(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.dematerialize = void 0; + var n2 = i2(31245), o = i2(65212), r = i2(17214); + t2.dematerialize = function() { + return o.operate(function(e3, t3) { + e3.subscribe(r.createOperatorSubscriber(t3, function(e4) { + return n2.observeNotification(e4, t3); + })); + }); + }; + }, 77876(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.distinct = void 0; + var n2 = i2(65212), o = i2(17214), r = i2(5717), a = i2(19724); + t2.distinct = function(e3, t3) { + return n2.operate(function(i3, n3) { + var s = /* @__PURE__ */ new Set(); + i3.subscribe(o.createOperatorSubscriber(n3, function(t4) { + var i4 = e3 ? e3(t4) : t4; + s.has(i4) || (s.add(i4), n3.next(t4)); + })), t3 && a.innerFrom(t3).subscribe(o.createOperatorSubscriber(n3, function() { + return s.clear(); + }, r.noop)); + }); + }; + }, 22044(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.distinctUntilChanged = void 0; + var n2 = i2(87699), o = i2(65212), r = i2(17214); + function a(e3, t3) { + return e3 === t3; + } + t2.distinctUntilChanged = function(e3, t3) { + return void 0 === t3 && (t3 = n2.identity), e3 = null != e3 ? e3 : a, o.operate(function(i3, n3) { + var o2, a2 = true; + i3.subscribe(r.createOperatorSubscriber(n3, function(i4) { + var r2 = t3(i4); + !a2 && e3(o2, r2) || (a2 = false, o2 = r2, n3.next(i4)); + })); + }); + }; + }, 76035(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.distinctUntilKeyChanged = void 0; + var n2 = i2(22044); + t2.distinctUntilKeyChanged = function(e3, t3) { + return n2.distinctUntilChanged(function(i3, n3) { + return t3 ? t3(i3[e3], n3[e3]) : i3[e3] === n3[e3]; + }); + }; + }, 61279(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.elementAt = void 0; + var n2 = i2(7024), o = i2(85934), r = i2(30632), a = i2(58799), s = i2(54383); + t2.elementAt = function(e3, t3) { + if (e3 < 0) throw new n2.ArgumentOutOfRangeError(); + var i3 = arguments.length >= 2; + return function(l) { + return l.pipe(o.filter(function(t4, i4) { + return i4 === e3; + }), s.take(1), i3 ? a.defaultIfEmpty(t3) : r.throwIfEmpty(function() { + return new n2.ArgumentOutOfRangeError(); + })); + }; + }; + }, 66791(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - get additionalBuilderPartDefs() { - return this._additionalBuilderPartDefs; + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.endWith = void 0; + var r = i2(39546), a = i2(61587); + t2.endWith = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return function(t4) { + return r.concat(t4, a.of.apply(void 0, o([], n2(e3)))); + }; + }; + }, 21361(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.every = void 0; + var n2 = i2(65212), o = i2(17214); + t2.every = function(e3, t3) { + return n2.operate(function(i3, n3) { + var r = 0; + i3.subscribe(o.createOperatorSubscriber(n3, function(o2) { + e3.call(t3, o2, r++, i3) || (n3.next(false), n3.complete()); + }, function() { + n3.next(true), n3.complete(); + })); + }); + }; + }, 11464(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.exhaust = void 0; + var n2 = i2(17977); + t2.exhaust = n2.exhaustAll; + }, 17977(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.exhaustAll = void 0; + var n2 = i2(86632), o = i2(87699); + t2.exhaustAll = function() { + return n2.exhaustMap(o.identity); + }; + }, 86632(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.exhaustMap = void 0; + var n2 = i2(26872), o = i2(19724), r = i2(65212), a = i2(17214); + t2.exhaustMap = function e3(t3, i3) { + return i3 ? function(r2) { + return r2.pipe(e3(function(e4, r3) { + return o.innerFrom(t3(e4, r3)).pipe(n2.map(function(t4, n3) { + return i3(e4, t4, r3, n3); + })); + })); + } : r.operate(function(e4, i4) { + var n3 = 0, r2 = null, s = false; + e4.subscribe(a.createOperatorSubscriber(i4, function(e5) { + r2 || (r2 = a.createOperatorSubscriber(i4, void 0, function() { + r2 = null, s && i4.complete(); + }), o.innerFrom(t3(e5, n3++)).subscribe(r2)); + }, function() { + s = true, !r2 && i4.complete(); + })); + }); + }; + }, 75544(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.expand = void 0; + var n2 = i2(65212), o = i2(2574); + t2.expand = function(e3, t3, i3) { + return void 0 === t3 && (t3 = 1 / 0), t3 = (t3 || 0) < 1 ? 1 / 0 : t3, n2.operate(function(n3, r) { + return o.mergeInternals(n3, r, e3, t3, void 0, true, i3); + }); + }; + }, 85934(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.filter = void 0; + var n2 = i2(65212), o = i2(17214); + t2.filter = function(e3, t3) { + return n2.operate(function(i3, n3) { + var r = 0; + i3.subscribe(o.createOperatorSubscriber(n3, function(i4) { + return e3.call(t3, i4, r++) && n3.next(i4); + })); + }); + }; + }, 17802(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.finalize = void 0; + var n2 = i2(65212); + t2.finalize = function(e3) { + return n2.operate(function(t3, i3) { + try { + t3.subscribe(i3); + } finally { + i3.add(e3); + } + }); + }; + }, 98183(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createFind = t2.find = void 0; + var n2 = i2(65212), o = i2(17214); + function r(e3, t3, i3) { + var n3 = "index" === i3; + return function(i4, r2) { + var a = 0; + i4.subscribe(o.createOperatorSubscriber(r2, function(o2) { + var s = a++; + e3.call(t3, o2, s, i4) && (r2.next(n3 ? s : o2), r2.complete()); + }, function() { + r2.next(n3 ? -1 : void 0), r2.complete(); + })); + }; + } + t2.find = function(e3, t3) { + return n2.operate(r(e3, t3, "value")); + }, t2.createFind = r; + }, 29035(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.findIndex = void 0; + var n2 = i2(65212), o = i2(98183); + t2.findIndex = function(e3, t3) { + return n2.operate(o.createFind(e3, t3, "index")); + }; + }, 19980(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.first = void 0; + var n2 = i2(59328), o = i2(85934), r = i2(54383), a = i2(58799), s = i2(30632), l = i2(87699); + t2.first = function(e3, t3) { + var i3 = arguments.length >= 2; + return function(u) { + return u.pipe(e3 ? o.filter(function(t4, i4) { + return e3(t4, i4, u); + }) : l.identity, r.take(1), i3 ? a.defaultIfEmpty(t3) : s.throwIfEmpty(function() { + return new n2.EmptyError(); + })); + }; + }; + }, 74613(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.flatMap = void 0; + var n2 = i2(67478); + t2.flatMap = n2.mergeMap; + }, 5128(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.groupBy = void 0; + var n2 = i2(48051), o = i2(19724), r = i2(76808), a = i2(65212), s = i2(17214); + t2.groupBy = function(e3, t3, i3, l) { + return a.operate(function(a2, 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 = d.get(a3); + if (!p2) { + d.set(a3, p2 = l ? l() : new r.Subject()); + var f = (y = a3, S = p2, (A = new n2.Observable(function(e4) { + h++; + var t5 = S.subscribe(e4); + return function() { + t5.unsubscribe(), 0 === --h && m && g.unsubscribe(); + }; + })).key = y, A); + if (u.next(f), i3) { + var T = s.createOperatorSubscriber(p2, function() { + p2.complete(), null == T || T.unsubscribe(); + }, void 0, void 0, function() { + return d.delete(a3); + }); + g.add(o.innerFrom(i3(f)).subscribe(T)); + } + } + p2.next(c ? c(t4) : t4); + } catch (e4) { + _(e4); + } + var y, S, A; + }, function() { + return p(function(e4) { + return e4.complete(); + }); + }, _, function() { + return d.clear(); + }, function() { + return m = true, 0 === h; + }); + a2.subscribe(g); + }); + }; + }, 2959(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ignoreElements = void 0; + var n2 = i2(65212), o = i2(17214), r = i2(5717); + t2.ignoreElements = function() { + return n2.operate(function(e3, t3) { + e3.subscribe(o.createOperatorSubscriber(t3, r.noop)); + }); + }; + }, 69915(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isEmpty = void 0; + var n2 = i2(65212), o = i2(17214); + t2.isEmpty = function() { + return n2.operate(function(e3, t3) { + e3.subscribe(o.createOperatorSubscriber(t3, function() { + t3.next(false), t3.complete(); + }, function() { + t3.next(true), t3.complete(); + })); + }); + }; + }, 80719(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.joinAllInternals = void 0; + var n2 = i2(87699), o = i2(13916), r = i2(99517), a = i2(67478), s = i2(73484); + t2.joinAllInternals = function(e3, t3) { + return r.pipe(s.toArray(), a.mergeMap(function(t4) { + return e3(t4); + }), t3 ? o.mapOneOrManyArgs(t3) : n2.identity); + }; + }, 32568(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.last = void 0; + var n2 = i2(59328), o = i2(85934), r = i2(65279), a = i2(30632), s = i2(58799), l = i2(87699); + t2.last = function(e3, t3) { + var i3 = arguments.length >= 2; + return function(u) { + return u.pipe(e3 ? o.filter(function(t4, i4) { + return e3(t4, i4, u); + }) : l.identity, r.takeLast(1), i3 ? s.defaultIfEmpty(t3) : a.throwIfEmpty(function() { + return new n2.EmptyError(); + })); + }; + }; + }, 26872(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.map = void 0; + var n2 = i2(65212), o = i2(17214); + t2.map = function(e3, t3) { + return n2.operate(function(i3, n3) { + var r = 0; + i3.subscribe(o.createOperatorSubscriber(n3, function(i4) { + n3.next(e3.call(t3, i4, r++)); + })); + }); + }; + }, 13337(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mapTo = void 0; + var n2 = i2(26872); + t2.mapTo = function(e3) { + return n2.map(function() { + return e3; + }); + }; + }, 75019(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.materialize = void 0; + var n2 = i2(31245), o = i2(65212), r = i2(17214); + t2.materialize = function() { + return o.operate(function(e3, t3) { + e3.subscribe(r.createOperatorSubscriber(t3, function(e4) { + t3.next(n2.Notification.createNext(e4)); + }, function() { + t3.next(n2.Notification.createComplete()), t3.complete(); + }, function(e4) { + t3.next(n2.Notification.createError(e4)), t3.complete(); + })); + }); + }; + }, 50096(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.max = void 0; + var n2 = i2(92070), o = i2(10281); + t2.max = function(e3) { + return n2.reduce(o.isFunction(e3) ? function(t3, i3) { + return e3(t3, i3) > 0 ? t3 : i3; + } : function(e4, t3) { + return e4 > t3 ? e4 : t3; + }); + }; + }, 9330(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - set additionalBuilderPartDefs(e3) { - this._additionalBuilderPartDefs = e3; + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.merge = void 0; + var r = 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), c = l.popNumber(e3, 1 / 0); + return e3 = a.argsOrArgArray(e3), r.operate(function(t4, r2) { + s.mergeAll(c)(u.from(o([t4], n2(e3)), i3)).subscribe(r2); + }); + }; + }, 68087(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeAll = void 0; + var n2 = i2(67478), o = i2(87699); + t2.mergeAll = function(e3) { + return void 0 === e3 && (e3 = 1 / 0), n2.mergeMap(o.identity, e3); + }; + }, 2574(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeInternals = void 0; + var n2 = i2(19724), o = i2(28619), r = i2(17214); + 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) : d.push(e4); + }, f = function(e4) { + l && t3.next(e4), p++; + var c2 = false; + n2.innerFrom(i3(e4, _++)).subscribe(r.createOperatorSubscriber(t3, function(e5) { + null == s || s(e5), l ? g(e5) : t3.next(e5); + }, function() { + c2 = true; + }, void 0, function() { + if (c2) try { + p--; + for (var e5 = function() { + var e6 = d.shift(); + u ? o.executeSchedule(t3, u, function() { + return f(e6); + }) : f(e6); + }; d.length && p < a; ) e5(); + m(); + } catch (e6) { + t3.error(e6); + } + })); + }; + return e3.subscribe(r.createOperatorSubscriber(t3, g, function() { + h = true, m(); + })), function() { + null == c || c(); + }; + }; + }, 67478(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeMap = void 0; + var n2 = i2(26872), o = i2(19724), r = i2(65212), a = i2(2574), s = i2(10281); + t2.mergeMap = function e3(t3, i3, l) { + return void 0 === l && (l = 1 / 0), s.isFunction(i3) ? e3(function(e4, r2) { + return n2.map(function(t4, n3) { + return i3(e4, t4, r2, n3); + })(o.innerFrom(t3(e4, r2))); + }, l) : ("number" == typeof i3 && (l = i3), r.operate(function(e4, i4) { + return a.mergeInternals(e4, i4, t3, l); + })); + }; + }, 76075(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeMapTo = void 0; + var n2 = i2(67478), o = i2(10281); + t2.mergeMapTo = function(e3, t3, i3) { + return void 0 === i3 && (i3 = 1 / 0), o.isFunction(t3) ? n2.mergeMap(function() { + return e3; + }, t3, i3) : ("number" == typeof t3 && (i3 = t3), n2.mergeMap(function() { + return e3; + }, i3)); + }; + }, 16707(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeScan = void 0; + var n2 = i2(65212), o = i2(2574); + t2.mergeScan = function(e3, t3, i3) { + return void 0 === i3 && (i3 = 1 / 0), n2.operate(function(n3, r) { + var a = t3; + return o.mergeInternals(n3, r, function(t4, i4) { + return e3(a, t4, i4); + }, i3, function(e4) { + a = e4; + }, false, void 0, function() { + return a = null; + }); + }); + }; + }, 79694(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - setAdditionalBuilderPartDefs(e3) { - return this._additionalBuilderPartDefs = e3, this; + return a; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeWith = void 0; + var r = i2(9330); + t2.mergeWith = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return r.merge.apply(void 0, o([], n2(e3))); + }; + }, 80142(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.min = void 0; + var n2 = i2(92070), o = i2(10281); + t2.min = function(e3) { + return n2.reduce(o.isFunction(e3) ? function(t3, i3) { + return e3(t3, i3) < 0 ? t3 : i3; + } : function(e4, t3) { + return e4 < t3 ? e4 : t3; + }); + }; + }, 18464(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.multicast = void 0; + var n2 = i2(14359), o = i2(10281), r = i2(17812); + t2.multicast = function(e3, t3) { + var i3 = o.isFunction(e3) ? e3 : function() { + return e3; + }; + return o.isFunction(t3) ? r.connect(t3, { connector: i3 }) : function(e4) { + return new n2.ConnectableObservable(e4, i3); + }; + }; + }, 32071(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.observeOn = void 0; + var n2 = i2(28619), o = i2(65212), r = i2(17214); + t2.observeOn = function(e3, t3) { + return void 0 === t3 && (t3 = 0), o.operate(function(i3, o2) { + i3.subscribe(r.createOperatorSubscriber(o2, function(i4) { + return n2.executeSchedule(o2, e3, function() { + return o2.next(i4); + }, t3); + }, function() { + return n2.executeSchedule(o2, e3, function() { + return o2.complete(); + }, t3); + }, function(i4) { + return n2.executeSchedule(o2, e3, function() { + return o2.error(i4); + }, t3); + })); + }); + }; + }, 95513(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.onErrorResumeNext = t2.onErrorResumeNextWith = void 0; + var r = i2(7652), a = i2(1903); + function s() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + var i3 = r.argsOrArgArray(e3); + return function(e4) { + return a.onErrorResumeNext.apply(void 0, o([e4], n2(i3))); + }; } - 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) { + t2.onErrorResumeNextWith = s, t2.onErrorResumeNext = s; + }, 26744(e2, t2, i2) { "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; - } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.AsyncScheduler = void 0; - var o = i2(65881), a = (function(e3) { - function t3(t4, i3) { - void 0 === i3 && (i3 = o.Scheduler.now); - var n3 = e3.call(this, t4, i3) || this; - return n3.actions = [], n3._active = false, n3; - } - return r2(t3, e3), t3.prototype.flush = function(e4) { - var t4 = this.actions; - if (this._active) t4.push(e4); - else { - var i3; - this._active = true; - do { - if (i3 = e4.execute(e4.state, e4.delay)) break; - } while (e4 = t4.shift()); - if (this._active = false, i3) { - for (; e4 = t4.shift(); ) e4.unsubscribe(); - throw i3; - } + Object.defineProperty(t2, "__esModule", { value: true }), t2.pairwise = void 0; + var n2 = i2(65212), o = i2(17214); + t2.pairwise = function() { + return n2.operate(function(e3, t3) { + var i3, n3 = false; + e3.subscribe(o.createOperatorSubscriber(t3, function(e4) { + var o2 = i3; + i3 = e4, n3 && t3.next([o2, e4]), n3 = true; + })); + }); + }; + }, 99516(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.partition = void 0; + var n2 = i2(14120), o = i2(85934); + t2.partition = function(e3, t3) { + return function(i3) { + return [o.filter(e3, t3)(i3), o.filter(n2.not(e3, t3))(i3)]; + }; + }; + }, 66355(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.pluck = void 0; + var n2 = i2(26872); + t2.pluck = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + var i3 = e3.length; + if (0 === i3) throw new Error("list of properties cannot be empty."); + return n2.map(function(t4) { + for (var n3 = t4, o = 0; o < i3; o++) { + var r = null == n3 ? void 0 : n3[e3[o]]; + if (void 0 === r) return; + n3 = r; } - }, t3; - })(o.Scheduler); - t2.AsyncScheduler = a; - }, 19563: (e2, t2, i2) => { + return n3; + }); + }; + }, 53197(e2, t2, i2) { "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 c extends s.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return a.formActionType; - } - get displayTypeName() { - return "ArchActionForm"; - } - get isArchActionForm() { - return true; - } - get libraryName() { - var e3; - return null === (e3 = this._getCoreViewModel().responseLibrary) || void 0 === e3 ? void 0 : e3.name; - } - get formName() { - return this._getCoreViewModel().formName; - } - get formCompletionTimeout() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().formCompletionTimeout); - } - get formOutputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); - } - setFormByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("formId", "setFormByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFormByIdAsync"), t3, true), r2.default.findItemByIdAsync(l.formResponseManager, e3, "form").then(function(i3) { - return this.logNote("found the form named '" + i3.name + "' by the form Id '" + e3 + "'"), this._coreActionViewModel.form.setValue(i3), o.default.executeCallback(this, "setFormByIdAsync", t3, this); - }.bind(this)); + Object.defineProperty(t2, "__esModule", { value: true }), t2.publish = void 0; + var n2 = i2(76808), o = i2(18464), r = i2(17812); + t2.publish = function(e3) { + return e3 ? function(t3) { + return r.connect(e3)(t3); + } : function(e4) { + return o.multicast(new n2.Subject())(e4); + }; + }; + }, 82955(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.publishBehavior = void 0; + var n2 = i2(97314), o = i2(14359); + t2.publishBehavior = function(e3) { + return function(t3) { + var i3 = new n2.BehaviorSubject(e3); + return new o.ConnectableObservable(t3, function() { + return i3; }); - } - setFormByNameAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - let n3; - this._checkItemIsValidLiteralString(this._infoParm("formName", "setFormByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setFormByNameAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFormByNameAsync"), i3, true), (null == t3 ? void 0 : t3.length) && (n3 = (e4) => e4.libraries && e4.libraries.some((e5) => e5.name === t3)); - const a2 = yield r2.default.findItemByValueAsync(l.formResponseManager, e3, "form", null, null, n3, { queryPhrase: e3 }); - return this.logNote(`found the response named '${a2.name}' by the form Id '${a2.id}'`), this._getCoreViewModel().form.setValue(a2), o.default.executeCallback(this, "setFormByNameAsync", i3, this); + }; + }; + }, 26569(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.publishLast = void 0; + var n2 = i2(5130), o = i2(14359); + t2.publishLast = function() { + return function(e3) { + var t3 = new n2.AsyncSubject(); + return new o.ConnectableObservable(e3, function() { + return t3; }); + }; + }; + }, 68710(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.publishReplay = void 0; + var n2 = i2(10381), o = i2(18464), r = i2(10281); + t2.publishReplay = function(e3, t3, i3, a) { + i3 && !r.isFunction(i3) && (a = i3); + var s = r.isFunction(i3) ? i3 : void 0; + return function(i4) { + return o.multicast(new n2.ReplaySubject(e3, t3, a), s)(i4); + }; + }; + }, 86081(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - setResponseLibraryByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setResponseLibraryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByNameAsync"), t3, true); - const i3 = yield r2.default.findItemByValueAsync(u.responseLibraryManager, e3, "response library", "name"); - return this.logNote(`found the response library named '${i3.name}' by the library Id '${i3.id}'`), this._getCoreViewModel().library.setValue(i3), o.default.executeCallback(this, "setResponseLibraryByNameAsync", t3, this); - }); + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.race = void 0; + var r = i2(7652), a = i2(6677); + t2.race = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return a.raceWith.apply(void 0, o([], n2(r.argsOrArgArray(e3)))); + }; + }, 6677(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - setResponseLibraryByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setResponseLibraryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByIdAsync"), t3, true); - const i3 = yield r2.default.findItemByIdAsync(u.responseLibraryManager, e3, "response library"); - return this.logNote(`found the response library named '${i3.name}' by the library Id '${i3.id}'`), this._getCoreViewModel().library.setValue(i3), o.default.executeCallback(this, "setResponseLibraryByIdAsync", t3, this); + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.raceWith = void 0; + var r = i2(89795), a = i2(65212), s = i2(87699); + t2.raceWith = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return e3.length ? a.operate(function(t4, i3) { + r.raceInit(o([t4], n2(e3)))(i3); + }) : s.identity; + }; + }, 92070(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.reduce = void 0; + var n2 = i2(78531), o = i2(65212); + t2.reduce = function(e3, t3) { + return o.operate(n2.scanInternals(e3, t3, arguments.length >= 2, false, true)); + }; + }, 79224(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.refCount = void 0; + var n2 = i2(65212), o = i2(17214); + t2.refCount = function() { + return n2.operate(function(e3, t3) { + var i3 = null; + e3._refCount++; + var n3 = o.createOperatorSubscriber(t3, void 0, void 0, void 0, function() { + if (!e3 || e3._refCount <= 0 || 0 < --e3._refCount) i3 = null; + else { + var n4 = e3._connection, o2 = i3; + i3 = null, !n4 || o2 && n4 !== o2 || n4.unsubscribe(), t3.unsubscribe(); + } }); - } - } - t2.default = c; - }, 19596: (e2, t2, i2) => { + e3.subscribe(n3), n3.closed || (i3 = e3.connect()); + }); + }; + }, 56131(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DataContract = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(80295), o = i2(24032), a = i2(43096), s = (0, o.getTopic)("DataContract"); - t2.DataContract = class { - constructor(e3) { - n2.default.isString(e3) && (e3 = this._jsonParse(e3)), this._clone(e3, this), this.autoUnEnumeratePrivateVariables(); - } - get result() { - return this._result; - } - set result(e3) { - this._result = e3; - } - flatten() { - return this._flatten(this); - } - toJSON() { - return this.flatten(); - } - valueOf() { - return this.flatten(); - } - getConfiguration(e3, t3) { - return this; - } - handleError(e3) { - s.errorWithStack(e3, "Ignored Configuration Item"); - } - _flatten(e3) { - const t3 = {}; - for (const i3 in e3) t3[i3] = e3[i3]; - return t3; - } - _clone(e3, t3) { - if (e3 && t3) for (const i3 of Object.getOwnPropertyNames(e3)) t3[i3] = e3[i3]; - } - autoUnEnumeratePrivateVariables() { - const e3 = Object.getOwnPropertyNames(this); - for (const t3 of e3) t3.match(/^_[^_].*$/) && (0, r2.makeUnenumerable)(this, t3); - } - _jsonParse(e3) { - return JSON.parse(e3, this._jsonReviver); - } - _jsonReviver(e3, t3) { - return t3 && t3.__type && n2.default.isFunction(a[t3.__type]) ? new a[t3.__type](t3) : t3; - } - populateFromJSON(e3) { - this._clone(e3, this); - } - pasteReIdOrRename(e3) { - } - pasteResolveOldToNewValues(e3) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.repeat = void 0; + var n2 = i2(44885), o = i2(65212), r = i2(17214), a = i2(19724), s = i2(5825); + t2.repeat = function(e3) { + var t3, i3, l = 1 / 0; + return null != e3 && ("object" == typeof e3 ? (t3 = e3.count, l = void 0 === t3 ? 1 / 0 : t3, i3 = e3.delay) : l = e3), l <= 0 ? function() { + return n2.EMPTY; + } : o.operate(function(e4, t4) { + var n3, o2 = 0, u = function() { + if (null == n3 || n3.unsubscribe(), n3 = null, null != i3) { + var e5 = "number" == typeof i3 ? s.timer(i3) : a.innerFrom(i3(o2)), l2 = r.createOperatorSubscriber(t4, function() { + l2.unsubscribe(), c(); + }); + e5.subscribe(l2); + } else c(); + }, c = function() { + var i4 = false; + n3 = e4.subscribe(r.createOperatorSubscriber(t4, void 0, function() { + ++o2 < l ? n3 ? u() : i4 = true : t4.complete(); + })), i4 && u(); + }; + c(); + }); + }; + }, 82139(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.repeatWhen = void 0; + var n2 = i2(19724), o = i2(76808), r = i2(65212), a = i2(17214); + t2.repeatWhen = function(e3) { + return r.operate(function(t3, i3) { + var r2, s, l = false, u = false, c = false, d = function() { + return c && u && (i3.complete(), true); + }, p = function() { + c = false, r2 = t3.subscribe(a.createOperatorSubscriber(i3, void 0, function() { + c = true, !d() && (s || (s = new o.Subject(), n2.innerFrom(e3(s)).subscribe(a.createOperatorSubscriber(i3, function() { + r2 ? p() : l = true; + }, function() { + u = true, d(); + }))), s).next(); + })), l && (r2.unsubscribe(), r2 = null, l = false, p()); + }; + p(); + }); + }; + }, 3352(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.retry = void 0; + var n2 = i2(65212), o = i2(17214), r = i2(87699), a = i2(5825), s = i2(19724); + 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, c = t3.resetOnSuccess, d = void 0 !== c && c; + return l <= 0 ? r.identity : n2.operate(function(e4, t4) { + var i4, n3 = 0, r2 = function() { + var c2 = false; + i4 = e4.subscribe(o.createOperatorSubscriber(t4, function(e5) { + d && (n3 = 0), t4.next(e5); + }, void 0, function(e5) { + if (n3++ < l) { + var d2 = function() { + i4 ? (i4.unsubscribe(), i4 = null, r2()) : c2 = true; + }; + if (null != u) { + var p = "number" == typeof u ? a.timer(u) : s.innerFrom(u(e5, n3)), _ = o.createOperatorSubscriber(t4, function() { + _.unsubscribe(), d2(); + }, function() { + t4.complete(); + }); + p.subscribe(_); + } else d2(); + } else t4.error(e5); + })), c2 && (i4.unsubscribe(), i4 = null, r2()); + }; + r2(); + }); + }; + }, 73956(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.retryWhen = void 0; + var n2 = i2(19724), o = i2(76808), r = i2(65212), a = i2(17214); + t2.retryWhen = function(e3) { + return r.operate(function(t3, i3) { + var r2, s, l = false, u = function() { + r2 = t3.subscribe(a.createOperatorSubscriber(i3, void 0, void 0, function(t4) { + s || (s = new o.Subject(), n2.innerFrom(e3(s)).subscribe(a.createOperatorSubscriber(i3, function() { + return r2 ? u() : l = true; + }))), s && s.next(t4); + })), l && (r2.unsubscribe(), r2 = null, l = false, u()); + }; + u(); + }); + }; + }, 43434(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.sample = void 0; + var n2 = i2(19724), o = i2(65212), r = i2(5717), a = i2(17214); + t2.sample = function(e3) { + return o.operate(function(t3, i3) { + var o2 = false, s = null; + t3.subscribe(a.createOperatorSubscriber(i3, function(e4) { + o2 = true, s = e4; + })), n2.innerFrom(e3).subscribe(a.createOperatorSubscriber(i3, function() { + if (o2) { + o2 = false; + var e4 = s; + s = null, i3.next(e4); + } + }, r.noop)); + }); + }; + }, 44143(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.sampleTime = void 0; + var n2 = i2(62326), o = i2(43434), r = i2(62275); + t2.sampleTime = function(e3, t3) { + return void 0 === t3 && (t3 = n2.asyncScheduler), o.sample(r.interval(e3, t3)); + }; + }, 35565(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.scan = void 0; + var n2 = i2(65212), o = i2(78531); + t2.scan = function(e3, t3) { + return n2.operate(o.scanInternals(e3, t3, arguments.length >= 2, true)); + }; + }, 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, o, r) { + return function(a, s) { + var l = i3, u = t3, c = 0; + a.subscribe(n2.createOperatorSubscriber(s, function(t4) { + var i4 = c++; + u = l ? e3(u, t4, i4) : (l = true, t4), o && s.next(u); + }, r && function() { + l && s.next(u), s.complete(); + })); + }; + }; + }, 73929(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.sequenceEqual = void 0; + var n2 = i2(65212), o = i2(17214), r = i2(19724); + t2.sequenceEqual = function(e3, t3) { + return void 0 === t3 && (t3 = function(e4, t4) { + return e4 === t4; + }), n2.operate(function(i3, n3) { + var a = { buffer: [], complete: false }, s = { buffer: [], complete: false }, l = function(e4) { + n3.next(e4), n3.complete(); + }, u = function(e4, i4) { + var r2 = o.createOperatorSubscriber(n3, function(n4) { + var o2 = i4.buffer, r3 = i4.complete; + 0 === o2.length ? r3 ? l(false) : e4.buffer.push(n4) : !t3(n4, o2.shift()) && l(false); + }, function() { + e4.complete = true; + var t4 = i4.complete, n4 = i4.buffer; + t4 && l(0 === n4.length), null == r2 || r2.unsubscribe(); + }); + return r2; + }; + i3.subscribe(u(a, s)), r.innerFrom(e3).subscribe(u(s, a)); + }); + }; + }, 93405(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - reviveArray(e3, t3) { - if (!Array.isArray(e3)) return []; - for (let i3 = 0; i3 < e3.length; i3++) { - const n3 = e3[i3]; - try { - if (!n3) { - e3.splice(i3--, 1); - continue; - } - n3 instanceof (t3 = a[n3.__type] || t3) || (e3[i3] = new t3(n3)); - } catch (t4) { - e3.splice(i3--, 1), this.handleError(t4); + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.share = void 0; + var r = i2(19724), a = i2(76808), s = i2(2708), l = i2(65212); + function u(e3, t3) { + for (var i3 = [], a2 = 2; a2 < arguments.length; a2++) i3[a2 - 2] = arguments[a2]; + if (true !== t3) { + if (false !== t3) { + var l2 = new s.SafeSubscriber({ next: function() { + l2.unsubscribe(), e3(); + } }); + return r.innerFrom(t3.apply(void 0, o([], n2(i3)))).subscribe(l2); + } + } else e3(); + } + t2.share = function(e3) { + void 0 === e3 && (e3 = {}); + var t3 = e3.connector, i3 = void 0 === t3 ? function() { + return new a.Subject(); + } : t3, n3 = e3.resetOnError, o2 = 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, 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; + }, f = function() { + var e5 = t4; + g(), null == e5 || e5.unsubscribe(); + }; + return l.operate(function(e5, l2) { + c2++, h || p2 || m(); + var T = a2 = null != a2 ? a2 : i3(); + l2.add(function() { + 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, o2, e6), T.error(e6); + }, complete: function() { + p2 = true, m(), n4 = u(g, d), T.complete(); + } }), r.innerFrom(e5).subscribe(t4)); + })(e4); + }; + }; + }, 17782(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.shareReplay = void 0; + var n2 = i2(10381), o = i2(93405); + t2.shareReplay = function(e3, t3, i3) { + var r, a, s, l, u = false; + return e3 && "object" == typeof e3 ? (r = e3.bufferSize, l = void 0 === r ? 1 / 0 : r, a = e3.windowTime, t3 = void 0 === a ? 1 / 0 : a, u = void 0 !== (s = e3.refCount) && s, i3 = e3.scheduler) : l = null != e3 ? e3 : 1 / 0, o.share({ connector: function() { + return new n2.ReplaySubject(l, t3, i3); + }, resetOnError: true, resetOnComplete: false, resetOnRefCountZero: u }); + }; + }, 55440(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.single = void 0; + var n2 = i2(59328), o = i2(94708), r = i2(23506), a = i2(65212), s = i2(17214); + t2.single = function(e3) { + return a.operate(function(t3, i3) { + var a2, l = false, u = false, c = 0; + t3.subscribe(s.createOperatorSubscriber(i3, function(n3) { + u = true, e3 && !e3(n3, c++, t3) || (l && i3.error(new o.SequenceError("Too many matching values")), l = true, a2 = n3); + }, function() { + l ? (i3.next(a2), i3.complete()) : i3.error(u ? new r.NotFoundError("No matching values") : new n2.EmptyError()); + })); + }); + }; + }, 23079(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.skip = void 0; + var n2 = i2(85934); + t2.skip = function(e3) { + return n2.filter(function(t3, i3) { + return e3 <= i3; + }); + }; + }, 92359(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.skipLast = void 0; + var n2 = i2(87699), o = i2(65212), r = i2(17214); + t2.skipLast = function(e3) { + return e3 <= 0 ? n2.identity : o.operate(function(t3, i3) { + var n3 = new Array(e3), o2 = 0; + return t3.subscribe(r.createOperatorSubscriber(i3, function(t4) { + var r2 = o2++; + if (r2 < e3) n3[r2] = t4; + else { + var a = r2 % e3, s = n3[a]; + n3[a] = t4, i3.next(s); } - } + })), function() { + n3 = null; + }; + }); + }; + }, 97783(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.skipUntil = void 0; + var n2 = i2(65212), o = i2(17214), r = i2(19724), a = i2(5717); + t2.skipUntil = function(e3) { + return n2.operate(function(t3, i3) { + var n3 = false, s = o.createOperatorSubscriber(i3, function() { + null == s || s.unsubscribe(), n3 = true; + }, a.noop); + r.innerFrom(e3).subscribe(s), t3.subscribe(o.createOperatorSubscriber(i3, function(e4) { + return n3 && i3.next(e4); + })); + }); + }; + }, 65774(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.skipWhile = void 0; + var n2 = i2(65212), o = i2(17214); + t2.skipWhile = function(e3) { + return n2.operate(function(t3, i3) { + var n3 = false, r = 0; + t3.subscribe(o.createOperatorSubscriber(i3, function(t4) { + return (n3 || (n3 = !e3(t4, r++))) && i3.next(t4); + })); + }); + }; + }, 99054(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.startWith = void 0; + var n2 = i2(39546), o = i2(26404), r = i2(65212); + t2.startWith = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + var i3 = o.popScheduler(e3); + return r.operate(function(t4, o2) { + (i3 ? n2.concat(e3, t4, i3) : n2.concat(e3, t4)).subscribe(o2); + }); + }; + }, 5455(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.subscribeOn = void 0; + var n2 = i2(65212); + t2.subscribeOn = function(e3, t3) { + return void 0 === t3 && (t3 = 0), n2.operate(function(i3, n3) { + n3.add(e3.schedule(function() { + return i3.subscribe(n3); + }, t3)); + }); + }; + }, 16201(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.switchAll = void 0; + var n2 = i2(90680), o = i2(87699); + t2.switchAll = function() { + return n2.switchMap(o.identity); + }; + }, 90680(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.switchMap = void 0; + var n2 = i2(19724), o = i2(65212), r = i2(17214); + t2.switchMap = function(e3, t3) { + return o.operate(function(i3, o2) { + var a = null, s = 0, l = false, u = function() { + return l && !a && o2.complete(); + }; + i3.subscribe(r.createOperatorSubscriber(o2, function(i4) { + null == a || a.unsubscribe(); + var l2 = 0, c = s++; + n2.innerFrom(e3(i4, c)).subscribe(a = r.createOperatorSubscriber(o2, function(e4) { + return o2.next(t3 ? t3(i4, e4, c, l2++) : e4); + }, function() { + a = null, u(); + })); + }, function() { + l = true, u(); + })); + }); + }; + }, 761(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.switchMapTo = void 0; + var n2 = i2(90680), o = i2(10281); + t2.switchMapTo = function(e3, t3) { + return o.isFunction(t3) ? n2.switchMap(function() { return e3; - } - reviveArrayToMap(e3, t3) { - return n2.default.chain(e3).map((e4) => { + }, t3) : n2.switchMap(function() { + return e3; + }); + }; + }, 48461(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.switchScan = void 0; + var n2 = i2(90680), o = i2(65212); + t2.switchScan = function(e3, t3) { + return o.operate(function(i3, o2) { + var r = t3; + return n2.switchMap(function(t4, i4) { + return e3(r, t4, i4); + }, function(e4, t4) { + return r = t4, t4; + })(i3).subscribe(o2), function() { + r = null; + }; + }); + }; + }, 54383(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.take = void 0; + var n2 = i2(44885), o = i2(65212), r = i2(17214); + t2.take = function(e3) { + return e3 <= 0 ? function() { + return n2.EMPTY; + } : o.operate(function(t3, i3) { + var n3 = 0; + t3.subscribe(r.createOperatorSubscriber(i3, function(t4) { + ++n3 <= e3 && (i3.next(t4), e3 <= n3 && i3.complete()); + })); + }); + }; + }, 65279(e2, t2, i2) { + "use strict"; + var n2 = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.takeLast = void 0; + var o = i2(44885), r = i2(65212), a = i2(17214); + t2.takeLast = function(e3) { + return e3 <= 0 ? function() { + return o.EMPTY; + } : r.operate(function(t3, i3) { + var o2 = []; + t3.subscribe(a.createOperatorSubscriber(i3, function(t4) { + o2.push(t4), e3 < o2.length && o2.shift(); + }, function() { + var e4, t4; try { - return this.reviveItem(e4, t3); - } catch (e5) { - this.handleError(e5); + for (var r2 = n2(o2), a2 = r2.next(); !a2.done; a2 = r2.next()) { + var s = a2.value; + i3.next(s); + } + } catch (t5) { + e4 = { error: t5 }; + } finally { + try { + a2 && !a2.done && (t4 = r2.return) && t4.call(r2); + } finally { + if (e4) throw e4.error; + } } - }).filter((e4) => e4).groupBy((e4) => { - const i3 = e4[t3.keyProperty || "id"]; - if (!i3) throw new Error(`revived item has no id or keyProperty ${JSON.stringify(e4)}`); - return i3; - }).reduce((e4, i3, r3) => { - let o2, a2 = i3[0]; - if (i3.length > 1) if (n2.default.isFunction(t3.getMasterItemIndexFromDuplicateKeyList)) { - const e5 = t3.getMasterItemIndexFromDuplicateKeyList(i3); - i3[e5] ? (a2 = i3.splice(e5, 1)[0], o2 = i3) : s.error(`Failed to get master item for group of duplicate ids: ${r3}, using first item, ignoring the rest`); - } else s.error(`Unexpected array with duplicate keys: ${r3}, using first item, ignoring the rest`); - return o2 && (t3.duplicateKeyListProperty ? a2[t3.duplicateKeyListProperty] = o2 : s.error(`Throwing away duplicates for key ${r3} because no duplicateKeyCombineProperty found`)), e4[r3] = a2, e4; - }, {}).value(); - } - reviveEnum(e3, t3) { - if (e3 || 0 === e3) return e3 instanceof t3 ? e3 : t3.getInstance(e3); - } - reviveItem(e3, t3) { - let i3; - try { - if (!e3) return; - e3.__type && (t3 = a[e3.__type] || t3), i3 = e3 instanceof t3 ? e3 : new t3(e3); - } catch (e4) { - i3 = void 0, this.handleError(e4); - } - return i3; - } - reviveMap(e3, t3, i3) { - const r3 = {}; - return n2.default.each(e3, (e4, n3) => { - const o2 = this.reviveItem(e4, t3); - i3 && (o2.id = n3), r3[n3] = o2; - }), r3; - } - static registerType() { - a[this.__type] = this; - } + i3.complete(); + }, void 0, function() { + o2 = null; + })); + }); }; - }, 19613: (e2, t2, i2) => { + }, 66911(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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); - } - static createCustomJsonProperties() { - return this.createManagedPropertiesFromConfig({ includeInput: true, includeOutput: true }); - } - static get managedProperties() { - return []; - } - static createManagedPropertiesFromConfig(e3) { - const t3 = []; - if (e3.includeInput) { - let i3; - 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() : 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; - } - setSelectedActionByViewModel(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - e3 && (this.selectedItemNetworkProperty.setValue(e3), this.createOrUpdateCustomJsonTypes(), this._updateForItemSelection()); - }); - } - _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(), o.validateAction(this, void 0, true); + Object.defineProperty(t2, "__esModule", { value: true }), t2.takeUntil = void 0; + var n2 = i2(65212), o = i2(17214), r = i2(19724), a = i2(5717); + t2.takeUntil = function(e3) { + return n2.operate(function(t3, i3) { + r.innerFrom(e3).subscribe(o.createOperatorSubscriber(i3, function() { + return i3.complete(); + }, a.noop)), !i3.closed && t3.subscribe(i3); + }); + }; + }, 60598(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.takeWhile = void 0; + var n2 = i2(65212), o = i2(17214); + t2.takeWhile = function(e3, t3) { + return void 0 === t3 && (t3 = false), n2.operate(function(i3, n3) { + var r = 0; + i3.subscribe(o.createOperatorSubscriber(n3, function(i4) { + var o2 = e3(i4, r++); + (o2 || t3) && n3.next(i4), !o2 && n3.complete(); })); - } - _updateForItemSelection() { - const e3 = !!this.selectedItemNetworkProperty.getItem(); - this.input && (this.input.outOfService = !e3 || !this.input.type.isCustomType), this.output && (this.output.outOfService = !e3 || !this.output.type.isCustomType); - } - _clearInputsAndOutputs() { - var e3, t3; - 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 = p; - }, 19681: (e2) => { + }); + }; + }, 15019(e2, t2, i2) { "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 }; - }, 19724: function(e2, t2, i2) { + Object.defineProperty(t2, "__esModule", { value: true }), t2.tap = void 0; + var n2 = i2(10281), o = i2(65212), r = i2(17214), a = i2(87699); + t2.tap = function(e3, t3, i3) { + var s = n2.isFunction(e3) || t3 || i3 ? { next: e3, error: t3, complete: i3 } : e3; + return s ? o.operate(function(e4, t4) { + var i4; + null === (i4 = s.subscribe) || void 0 === i4 || i4.call(s); + var n3 = true; + e4.subscribe(r.createOperatorSubscriber(t4, function(e5) { + var i5; + null === (i5 = s.next) || void 0 === i5 || i5.call(s, e5), t4.next(e5); + }, function() { + var e5; + n3 = false, null === (e5 = s.complete) || void 0 === e5 || e5.call(s), t4.complete(); + }, function(e5) { + var i5; + n3 = false, null === (i5 = s.error) || void 0 === i5 || i5.call(s, e5), t4.error(e5); + }, function() { + var e5, t5; + n3 && (null === (e5 = s.unsubscribe) || void 0 === e5 || e5.call(s)), null === (t5 = s.finalize) || void 0 === t5 || t5.call(s); + })); + }) : a.identity; + }; + }, 44880(e2, t2, i2) { "use strict"; - var n2 = this && this.__awaiter || function(e3, t3, i3, n3) { - return new (i3 || (i3 = Promise))(function(r3, o2) { - function a2(e4) { - try { - l2(n3.next(e4)); - } catch (e5) { - o2(e5); - } - } - function s2(e4) { - try { - l2(n3.throw(e4)); - } catch (e5) { - o2(e5); + Object.defineProperty(t2, "__esModule", { value: true }), t2.throttle = void 0; + var n2 = i2(65212), o = i2(17214), r = 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, 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 _ = r.innerFrom(e3(t4)).subscribe(o.createOperatorSubscriber(n3, m, g)); + }, T = function() { + if (d) { + d = false; + var e4 = p; + p = null, n3.next(e4), !h && f(e4); } - } - function l2(e4) { - var t4; - e4.done ? r3(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) { - e5(t4); - })).then(a2, s2); - } - l2((n3 = n3.apply(e3, t3 || [])).next()); + }; + i3.subscribe(o.createOperatorSubscriber(n3, function(e4) { + d = true, p = e4, (!_ || _.closed) && (l ? T() : f(e4)); + }, function() { + h = true, (!(c && d && _) || _.closed) && n3.complete(); + })); }); - }, r2 = this && this.__generator || function(e3, t3) { - var i3, n3, r3, o2, a2 = { label: 0, sent: function() { - if (1 & r3[0]) throw r3[1]; - return r3[1]; - }, trys: [], ops: [] }; - return o2 = { next: s2(0), throw: s2(1), return: s2(2) }, "function" == typeof Symbol && (o2[Symbol.iterator] = function() { - return this; - }), o2; - function s2(o3) { - return function(s3) { - return (function(o4) { - if (i3) throw new TypeError("Generator is already executing."); - for (; a2; ) try { - if (i3 = 1, n3 && (r3 = 2 & o4[0] ? n3.return : o4[0] ? n3.throw || ((r3 = n3.return) && r3.call(n3), 0) : n3.next) && !(r3 = r3.call(n3, o4[1])).done) return r3; - switch (n3 = 0, r3 && (o4 = [2 & o4[0], r3.value]), o4[0]) { - case 0: - case 1: - r3 = o4; - break; - case 4: - return a2.label++, { value: o4[1], done: false }; - case 5: - a2.label++, n3 = o4[1], o4 = [0]; - continue; - case 7: - o4 = a2.ops.pop(), a2.trys.pop(); - continue; - default: - if (!((r3 = (r3 = a2.trys).length > 0 && r3[r3.length - 1]) || 6 !== o4[0] && 2 !== o4[0])) { - a2 = 0; - continue; - } - if (3 === o4[0] && (!r3 || o4[1] > r3[0] && o4[1] < r3[3])) { - a2.label = o4[1]; - break; - } - if (6 === o4[0] && a2.label < r3[1]) { - a2.label = r3[1], r3 = o4; - break; - } - if (r3 && a2.label < r3[2]) { - a2.label = r3[2], a2.ops.push(o4); - break; - } - r3[2] && a2.ops.pop(), a2.trys.pop(); - continue; - } - o4 = t3.call(e3, a2); - } catch (e4) { - o4 = [6, e4], n3 = 0; - } finally { - i3 = r3 = 0; + }; + }, 7245(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.throttleTime = void 0; + var n2 = i2(62326), o = i2(44880), r = i2(5825); + t2.throttleTime = function(e3, t3, i3) { + void 0 === t3 && (t3 = n2.asyncScheduler); + var a = r.timer(e3, t3); + return o.throttle(function() { + return a; + }, i3); + }; + }, 30632(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.throwIfEmpty = void 0; + var n2 = i2(59328), o = i2(65212), r = i2(17214); + function a() { + return new n2.EmptyError(); + } + t2.throwIfEmpty = function(e3) { + return void 0 === e3 && (e3 = a), o.operate(function(t3, i3) { + var n3 = false; + t3.subscribe(r.createOperatorSubscriber(i3, function(e4) { + n3 = true, i3.next(e4); + }, function() { + return n3 ? i3.complete() : i3.error(e3()); + })); + }); + }; + }, 32508(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.TimeInterval = t2.timeInterval = void 0; + var n2 = i2(62326), o = i2(65212), r = i2(17214); + t2.timeInterval = function(e3) { + return void 0 === e3 && (e3 = n2.asyncScheduler), o.operate(function(t3, i3) { + var n3 = e3.now(); + t3.subscribe(r.createOperatorSubscriber(i3, function(t4) { + var o2 = e3.now(), r2 = o2 - n3; + n3 = o2, i3.next(new a(t4, r2)); + })); + }); + }; + var a = function(e3, t3) { + this.value = e3, this.interval = t3; + }; + t2.TimeInterval = a; + }, 81713(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.timeout = t2.TimeoutError = void 0; + var n2 = i2(62326), o = i2(85345), r = i2(65212), a = i2(19724), s = i2(9619), l = i2(17214), u = i2(28619); + function c(e3) { + throw new t2.TimeoutError(e3); + } + t2.TimeoutError = s.createErrorClass(function(e3) { + return function(t3) { + 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 = o.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 r.operate(function(e4, t4) { + var i4, n3, o2 = null, r2 = 0, c2 = function(e5) { + n3 = u.executeSchedule(t4, m, function() { + try { + i4.unsubscribe(), a.innerFrom(_({ meta: f, lastValue: o2, seen: r2 })).subscribe(t4); + } catch (e6) { + t4.error(e6); } - if (5 & o4[0]) throw o4[1]; - return { value: o4[0] ? o4[1] : void 0, done: true }; - })([o3, s3]); + }, e5); }; - } - }, o = this && this.__asyncValues || function(e3) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var t3, i3 = e3[Symbol.asyncIterator]; - return i3 ? i3.call(e3) : (e3 = "function" == typeof a ? a(e3) : e3[Symbol.iterator](), t3 = {}, n3("next"), n3("throw"), n3("return"), t3[Symbol.asyncIterator] = function() { - return this; - }, t3); - function n3(i4) { - t3[i4] = e3[i4] && function(t4) { - return new Promise(function(n4, r3) { - !(function(e4, t5, i5, n5) { - Promise.resolve(n5).then(function(t6) { - e4({ value: t6, done: i5 }); - }, t5); - })(n4, r3, (t4 = e3[i4](t4)).done, t4.value); - }); + i4 = e4.subscribe(l.createOperatorSubscriber(t4, function(e5) { + null == n3 || n3.unsubscribe(), r2++, t4.next(o2 = e5), d > 0 && c2(d); + }, void 0, void 0, function() { + (null == n3 ? void 0 : n3.closed) || null == n3 || n3.unsubscribe(), o2 = null; + })), !r2 && c2(null != s2 ? "number" == typeof s2 ? s2 : +s2 - m.now() : d); + }); + }; + }, 50597(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.timeoutWith = void 0; + var n2 = i2(62326), o = i2(85345), r = i2(81713); + t2.timeoutWith = function(e3, t3, i3) { + var a, s, l; + if (i3 = null != i3 ? i3 : n2.async, o.isValidDate(e3) ? a = e3 : "number" == typeof e3 && (s = e3), !t3) throw new TypeError("No observable provided to switch to"); + if (l = function() { + return t3; + }, null == a && null == s) throw new TypeError("No timeout provided."); + return r.timeout({ first: a, each: s, scheduler: i3, with: l }); + }; + }, 53866(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.timestamp = void 0; + var n2 = i2(93275), o = i2(26872); + t2.timestamp = function(e3) { + return void 0 === e3 && (e3 = n2.dateTimestampProvider), o.map(function(t3) { + return { value: t3, timestamp: e3.now() }; + }); + }; + }, 73484(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.toArray = void 0; + var n2 = i2(92070), o = i2(65212), r = function(e3, t3) { + return e3.push(t3), e3; + }; + t2.toArray = function() { + return o.operate(function(e3, t3) { + n2.reduce(r, [])(e3).subscribe(t3); + }); + }; + }, 78072(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.window = void 0; + var n2 = i2(76808), o = i2(65212), r = i2(17214), a = i2(5717), s = i2(19724); + t2.window = function(e3) { + return o.operate(function(t3, i3) { + var o2 = new n2.Subject(); + i3.next(o2.asObservable()); + var l = function(e4) { + o2.error(e4), i3.error(e4); }; - } - }, a = this && this.__values || function(e3) { + return t3.subscribe(r.createOperatorSubscriber(i3, function(e4) { + return null == o2 ? void 0 : o2.next(e4); + }, function() { + o2.complete(), i3.complete(); + }, l)), s.innerFrom(e3).subscribe(r.createOperatorSubscriber(i3, function() { + o2.complete(), i3.next(o2 = new n2.Subject()); + }, a.noop, l)), function() { + null == o2 || o2.unsubscribe(), o2 = null; + }; + }); + }; + }, 62893(e2, t2, i2) { + "use strict"; + var n2 = this && this.__values || function(e3) { var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; if (i3) return i3.call(e3); if (e3 && "number" == typeof e3.length) return { next: function() { @@ -27398,33162 +24419,32455 @@ 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), 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](); - if (m.isFunction(i3.subscribe)) return i3.subscribe(t3); - throw new TypeError("Provided object does not correctly implement Symbol.observable"); - }); - } - function y(e3) { - return new u.Observable(function(t3) { - for (var i3 = 0; i3 < e3.length && !t3.closed; i3++) t3.next(e3[i3]); - t3.complete(); + Object.defineProperty(t2, "__esModule", { value: true }), t2.windowCount = void 0; + var o = i2(76808), r = i2(65212), a = i2(17214); + t2.windowCount = function(e3, t3) { + void 0 === t3 && (t3 = 0); + var i3 = t3 > 0 ? t3 : e3; + return r.operate(function(t4, r2) { + var s = [new o.Subject()], l = 0; + r2.next(s[0].asObservable()), t4.subscribe(a.createOperatorSubscriber(r2, function(t5) { + var a2, u; + try { + for (var c = n2(s), d = c.next(); !d.done; d = c.next()) d.value.next(t5); + } catch (e4) { + a2 = { error: e4 }; + } finally { + try { + d && !d.done && (u = c.return) && u.call(c); + } finally { + if (a2) throw a2.error; + } + } + var p = l - e3 + 1; + if (p >= 0 && p % i3 === 0 && s.shift().complete(), ++l % i3 === 0) { + var _ = new o.Subject(); + s.push(_), r2.next(_.asObservable()); + } + }, function() { + for (; s.length > 0; ) s.shift().complete(); + r2.complete(); + }, function(e4) { + for (; s.length > 0; ) s.shift().error(e4); + r2.error(e4); + }, function() { + s = null; + })); }); - } - function S(e3) { - return new u.Observable(function(t3) { - e3.then(function(e4) { - t3.closed || (t3.next(e4), t3.complete()); + }; + }, 90037(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.windowTime = void 0; + var n2 = i2(76808), o = i2(62326), r = 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, d = [], p = 1; p < arguments.length; p++) d[p - 1] = arguments[p]; + var _ = null !== (t3 = u.popScheduler(d)) && void 0 !== t3 ? t3 : o.asyncScheduler, h = null !== (i3 = d[0]) && void 0 !== i3 ? i3 : null, m = d[1] || 1 / 0; + return a.operate(function(t4, i4) { + var o2 = [], a2 = false, u2 = function(e4) { + var t5 = e4.window, i5 = e4.subs; + t5.complete(), i5.unsubscribe(), l.arrRemove(o2, e4), a2 && d2(); + }, d2 = function() { + if (o2) { + var t5 = new r.Subscription(); + i4.add(t5); + var a3 = new n2.Subject(), s2 = { window: a3, subs: t5, seen: 0 }; + o2.push(s2), i4.next(a3.asObservable()), c.executeSchedule(t5, _, function() { + return u2(s2); + }, e3); + } + }; + null !== h && h >= 0 ? c.executeSchedule(i4, _, d2, h, true) : a2 = true, d2(); + var p2 = function(e4) { + return o2.slice().forEach(e4); + }, g = function(e4) { + p2(function(t5) { + var i5 = t5.window; + return e4(i5); + }), e4(i4), i4.unsubscribe(); + }; + return t4.subscribe(s.createOperatorSubscriber(i4, function(e4) { + p2(function(t5) { + t5.window.next(e4), m <= ++t5.seen && u2(t5); + }); + }, function() { + return g(function(e4) { + return e4.complete(); + }); }, function(e4) { - return t3.error(e4); - }).then(null, g.reportUnhandledError); + return g(function(t5) { + return t5.error(e4); + }); + })), function() { + o2 = null; + }; }); - } - function A(e3) { - return new u.Observable(function(t3) { - var i3, n3; - try { - for (var r3 = a(e3), o2 = r3.next(); !o2.done; o2 = r3.next()) { - var s2 = o2.value; - if (t3.next(s2), t3.closed) return; + }; + }, 28996(e2, t2, i2) { + "use strict"; + var n2 = this && this.__values || function(e3) { + var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; + if (i3) return i3.call(e3); + if (e3 && "number" == typeof e3.length) return { next: function() { + return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; + } }; + throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.windowToggle = void 0; + var o = i2(76808), r = 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 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 o.Subject(); + d.push(i4); + var n3, _ = new r.Subscription(); + try { + n3 = s.innerFrom(t3(e4)); + } catch (e5) { + return void p(e5); } - } catch (e4) { - i3 = { error: e4 }; - } finally { + a2.next(i4.asObservable()), _.add(n3.subscribe(l.createOperatorSubscriber(a2, function() { + c.arrRemove(d, i4), i4.complete(), _.unsubscribe(); + }, u.noop, p))); + }, u.noop)), i3.subscribe(l.createOperatorSubscriber(a2, function(e4) { + var t4, i4, o2 = d.slice(); try { - o2 && !o2.done && (n3 = r3.return) && n3.call(r3); + for (var r2 = n2(o2), a3 = r2.next(); !a3.done; a3 = r2.next()) a3.value.next(e4); + } catch (e5) { + t4 = { error: e5 }; } finally { - if (i3) throw i3.error; + try { + a3 && !a3.done && (i4 = r2.return) && i4.call(r2); + } finally { + if (t4) throw t4.error; + } } - } - t3.complete(); + }, function() { + for (; 0 < d.length; ) d.shift().complete(); + a2.complete(); + }, p, function() { + for (; 0 < d.length; ) d.shift().unsubscribe(); + })); }); - } - function N(e3) { - return new u.Observable(function(t3) { - (function(e4, t4) { - var i3, a2, s2, l2; - return n2(this, void 0, void 0, function() { - var n3, u2; - return r2(this, function(r3) { - switch (r3.label) { - case 0: - r3.trys.push([0, 5, 6, 11]), i3 = o(e4), r3.label = 1; - case 1: - return [4, i3.next()]; - case 2: - if ((a2 = r3.sent()).done) return [3, 4]; - if (n3 = a2.value, t4.next(n3), t4.closed) return [2]; - r3.label = 3; - case 3: - return [3, 1]; - case 4: - return [3, 11]; - case 5: - return u2 = r3.sent(), s2 = { error: u2 }, [3, 11]; - case 6: - return r3.trys.push([6, , 9, 10]), a2 && !a2.done && (l2 = i3.return) ? [4, l2.call(i3)] : [3, 8]; - case 7: - r3.sent(), r3.label = 8; - case 8: - return [3, 10]; - case 9: - if (s2) throw s2.error; - return [7]; - case 10: - return [7]; - case 11: - return t4.complete(), [2]; - } - }); - }); - })(e3, t3).catch(function(e4) { - return t3.error(e4); - }); + }; + }, 65156(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.windowWhen = void 0; + var n2 = i2(76808), o = i2(65212), r = i2(17214), a = i2(19724); + t2.windowWhen = function(e3) { + return o.operate(function(t3, i3) { + var o2, s, l = function(e4) { + o2.error(e4), i3.error(e4); + }, u = function() { + var t4; + null == s || s.unsubscribe(), null == o2 || o2.complete(), o2 = new n2.Subject(), i3.next(o2.asObservable()); + try { + t4 = a.innerFrom(e3()); + } catch (e4) { + return void l(e4); + } + t4.subscribe(s = r.createOperatorSubscriber(i3, u, u, l)); + }; + u(), t3.subscribe(r.createOperatorSubscriber(i3, function(e4) { + return o2.next(e4); + }, function() { + o2.complete(), i3.complete(); + }, l, function() { + null == s || s.unsubscribe(), o2 = null; + })); }); - } - function v(e3) { - return N(h.readableStreamLikeToAsyncGenerator(e3)); - } - t2.innerFrom = function(e3) { - if (e3 instanceof u.Observable) return e3; - if (null != e3) { - if (c.isInteropObservable(e3)) return T(e3); - if (s.isArrayLike(e3)) return y(e3); - if (l.isPromise(e3)) return S(e3); - if (d.isAsyncIterable(e3)) return N(e3); - if (_.isIterable(e3)) return A(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 = v; - }, 19760: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(52722).extend(n2, "KnowledgeSource"), e2.exports = n2; - }, 19784: (e2, t2, i2) => { + }; + }, 66975(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.transferGroupActionType; - } - get displayTypeName() { - return "ArchMenuTransferToGroup"; - } - get actionTransferToGroup() { - return this._archAction; - } - get isArchMenuTransferToGroup() { - return true; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - } - t2.default = a; - }, 19791: (e2, t2, i2) => { + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.withLatestFrom = void 0; + var r = 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 = c.popResultSelector(e3); + return r.operate(function(t4, r2) { + 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(r2, function(e4) { + d[t5] = e4, _ || p[t5] || (p[t5] = true, (_ = p.every(l.identity)) && (p = null)); + }, u.noop)); + }, m = 0; m < c2; m++) h(m); + t4.subscribe(a.createOperatorSubscriber(r2, function(e4) { + if (_) { + var t5 = o([e4], n2(d)); + r2.next(i3 ? i3.apply(void 0, o([], n2(t5))) : t5); + } + })); + }); + }; + }, 26749(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.exitWorkitemFlowActionType; - } - get displayTypeName() { - return this._scriptingName; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - get isArchExitWorkitemFlow() { - return true; + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.zip = void 0; + var r = i2(11415), a = i2(65212); + t2.zip = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return a.operate(function(t4, i3) { + r.zip.apply(void 0, o([t4], n2(e3))).subscribe(i3); + }); + }; + }, 5362(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.zipAll = void 0; + var n2 = i2(11415), o = i2(80719); + t2.zipAll = function(e3) { + return o.joinAllInternals(n2.zip, e3); + }; + }, 36977(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } - } - t2.default = a; - }, 19818: (e2, t2, i2) => { + return a; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.zipWith = void 0; + var r = i2(26749); + t2.zipWith = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return r.zip.apply(void 0, o([], n2(e3))); + }; + }, 34950(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.dematerialize = void 0; - var n2 = i2(31245), r2 = i2(65212), o = i2(17214); - t2.dematerialize = function() { - return r2.operate(function(e3, t3) { - e3.subscribe(o.createOperatorSubscriber(t3, function(e4) { - return n2.observeNotification(e4, t3); - })); + Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleArray = void 0; + var n2 = i2(48051); + t2.scheduleArray = function(e3, t3) { + return new n2.Observable(function(i3) { + var n3 = 0; + return t3.schedule(function() { + n3 === e3.length ? i3.complete() : (i3.next(e3[n3++]), i3.closed || this.schedule()); + }); }); }; - }, 19819: (e2, t2, i2) => { - const n2 = i2(92140), { isoLanguages: r2 } = i2(24812), o = {}; - n2.each(r2, function(e3) { - const t3 = e3.id.replace("-", ""); - o[t3] && console.error("duplicate language property id of " + t3), o[t3] = e3; - }), e2.exports = { propIdLanguages: o }; - }, 19859: (e2, t2, i2) => { + }, 17873(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.flowHasUnpublishedWarning = function(e3, t3) { - 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); + Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleAsyncIterable = void 0; + var n2 = i2(48051), o = i2(28619); + t2.scheduleAsyncIterable = function(e3, t3) { + if (!e3) throw new Error("Iterable cannot be null"); + return new n2.Observable(function(i3) { + o.executeSchedule(i3, t3, function() { + var n3 = e3[Symbol.asyncIterator](); + o.executeSchedule(i3, t3, function() { + n3.next().then(function(e4) { + e4.done ? i3.complete() : i3.next(e4.value); + }); + }, 0, true); + }); + }); }; - const n2 = i2(96618), r2 = i2(17604), o = i2(47957); - }, 19886: (e2, t2, i2) => { - const n2 = i2(82149), { callAudioConnectorActionType: r2 } = i2(30801), o = i2(7401), a = i2(42217); - function s() { - Object.defineProperties(this, { _connectorId: { writable: true }, _outputSessionVariables: { writable: true } }), this.integrationId = void 0, this.integrationName = void 0, s.baseConstructor.apply(this, arguments); - } - n2.extend(s, r2, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.connectorId.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.connectorId.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.outputSessionVariables.length; t3++) this.outputSessionVariables[t3].pasteResolveOldToNewValues(e3); - } }, outputSessionVariables: { enumerable: true, get: function() { - return this._outputSessionVariables; - }, set: function(e3) { - this._outputSessionVariables = this.reviveArray(e3, a); - } }, connectorId: { enumerable: true, get: function() { - return this._connectorId; - }, set: function(e3) { - this._connectorId = this.reviveItem(e3, o); - } } }), e2.exports = s; - }, 19913: (e2, t2, i2) => { + }, 36805(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.concatMapTo = void 0; - var n2 = i2(29512), r2 = i2(10281); - t2.concatMapTo = function(e3, t3) { - return r2.isFunction(t3) ? n2.concatMap(function() { - return e3; - }, t3) : n2.concatMap(function() { - return e3; + Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleIterable = void 0; + var n2 = i2(48051), o = i2(34891), r = i2(10281), a = i2(28619); + t2.scheduleIterable = function(e3, t3) { + return new n2.Observable(function(i3) { + var n3; + return a.executeSchedule(i3, t3, function() { + n3 = e3[o.iterator](), a.executeSchedule(i3, t3, function() { + var e4, t4, o2; + try { + t4 = (e4 = n3.next()).value, o2 = e4.done; + } catch (e5) { + return void i3.error(e5); + } + o2 ? i3.complete() : i3.next(t4); + }, 0, true); + }), function() { + return r.isFunction(null == n3 ? void 0 : n3.return) && n3.return(); + }; }); }; - }, 19942: (e2, t2) => { + }, 65650(e2, t2, i2) { "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) => { + Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleObservable = void 0; + var n2 = i2(19724), o = i2(32071), r = i2(5455); + t2.scheduleObservable = function(e3, t3) { + return n2.innerFrom(e3).pipe(r.subscribeOn(t3), o.observeOn(t3)); + }; + }, 54530(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowVersionManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(18325)), a = i2(55299), s = i2(80295); - class l extends a.BaseClass { - constructor(e3) { - super(), this._inferredVersions = [], (0, s.makeUnenumerable)(this, "flowInfo"), this.flowInfo = e3; - } - get className() { - return "FlowVersionManager"; - } - alreadyLoaded(e3) { - return !(e3 !== this._currentVersionNumber && (this.savedVersion || !this.checkedInVersion || e3 !== o.latest && this._currentVersionNumber !== o.latest || this.checkedInVersion.name !== this._currentVersionNumber && this.checkedInVersion.name !== e3)); - } - convertVersionUrl(e3) { - if (!e3 && !this.checkedInVersion) return o.latest; - if ((e3 = e3 || o.latest) === o.latest) return e3; - const t3 = e3.replace("v", "").replace("-", "."), i3 = this._getVersionNumber(t3); - return r2.default.isNaN(i3) || i3 <= 0 || this.checkedInVersion && this._getVersionNumber(this.checkedInVersion.name) < i3 ? o.latest : i3 + ".0"; - } - get checkedInDisplay() { - return this.checkedInVersion && this.checkedInVersion.name ? this.checkedInVersion.name : ""; - } - get checkedInVersion() { - return this._checkedInVersion; - } - get currentVersionNumber() { - return this.checkedInVersion ? this._currentVersionNumber === o.latest ? this.flowInfo.isLocked && this.flowInfo.currentUserHasLock ? this.nextVersionNumber : this.latestVersionNumber : this._currentVersionNumber || this.checkedInVersion.name : o.ver_1_0; - } - get rawCurrentVersionNumber() { - return this._currentVersionNumber; - } - getInferredVersions() { - if (this._inferredVersions.length > 0) return this._inferredVersions; - const e3 = this._getVersionNumber(this.latestVersionNumber); - let t3; - this.checkedInVersion && this.flowInfo.currentUserHasLock && (t3 = this._createInferredVersion(e3 + 1), t3.isSavedVersion = true, t3.versionId = o.latest, this._inferredVersions.push(t3)); - for (let t4 = e3; t4 >= 1; t4--) this._inferredVersions.push(this._createInferredVersion(t4)); - return !this.checkedInVersion && this.savedVersion && 1 === e3 && (t3 = this._inferredVersions[0], t3.isSavedVersion = true, t3.versionId = o.latest), this._inferredVersions; - } - getVersionNumber(e3) { - return r2.default.find(this.getInferredVersions(), (t3) => t3.displayName === e3); - } - getVersionExtension() { - return "_v" + this.currentVersionNumber.replace(/\./, "-"); + Object.defineProperty(t2, "__esModule", { value: true }), t2.schedulePromise = void 0; + var n2 = i2(19724), o = i2(32071), r = i2(5455); + t2.schedulePromise = function(e3, t3) { + return n2.innerFrom(e3).pipe(r.subscribeOn(t3), o.observeOn(t3)); + }; + }, 30380(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleReadableStreamLike = void 0; + var n2 = i2(17873), o = i2(95462); + t2.scheduleReadableStreamLike = function(e3, t3) { + return n2.scheduleAsyncIterable(o.readableStreamLikeToAsyncGenerator(e3), t3); + }; + }, 30131(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduled = void 0; + var n2 = i2(65650), o = i2(54530), r = 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 (c.isArrayLike(e3)) return r.scheduleArray(e3, t3); + if (u.isPromise(e3)) return o.schedulePromise(e3, t3); + if (p.isAsyncIterable(e3)) return s.scheduleAsyncIterable(e3, t3); + if (d.isIterable(e3)) return a.scheduleIterable(e3, t3); + if (h.isReadableStreamLike(e3)) return m.scheduleReadableStreamLike(e3, t3); } - get isLatestVersion() { - return !(this._currentVersionNumber || this.savedVersion || this.checkedInVersion || this.publishedVersion) || this._currentVersionNumber === o.latest || this.checkedInVersion && !this.savedVersion && this.checkedInVersion.name === this._currentVersionNumber; + throw _.createInvalidObservableTypeError(e3); + }; + }, 71666(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - get isVersionOne() { - return this.currentVersionNumber === o.ver_1_0; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.Action = void 0; + var r = (function(e3) { + function t3(t4, i3) { + return e3.call(this) || this; } - get latestVersion() { - return this.savedVersion ? this.savedVersion : this.checkedInVersion ? this.checkedInVersion : null; + return o(t3, e3), t3.prototype.schedule = function(e4, t4) { + return void 0 === t4 && (t4 = 0), this; + }, t3; + })(i2(69879).Subscription); + t2.Action = r; + }, 6757(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - get latestVersionNumber() { - const e3 = this.checkedInVersion; - return e3 ? e3.name : o.ver_1_0; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.AnimationFrameAction = void 0; + var r = i2(64772), a = i2(35726), s = (function(e3) { + function t3(t4, i3) { + var n3 = e3.call(this, t4, i3) || this; + return n3.scheduler = t4, n3.work = i3, n3; } - loadedConfigurationVersion(e3) { - this._currentVersionNumber = e3, this.flowInfo.resetCurrentUserCanEdit(); + return o(t3, e3), t3.prototype.requestAsyncId = function(t4, i3, n3) { + return void 0 === n3 && (n3 = 0), null !== n3 && n3 > 0 ? e3.prototype.requestAsyncId.call(this, t4, i3, n3) : (t4.actions.push(this), t4._scheduled || (t4._scheduled = a.animationFrameProvider.requestAnimationFrame(function() { + return t4.flush(void 0); + }))); + }, t3.prototype.recycleAsyncId = function(t4, i3, n3) { + var o2; + if (void 0 === n3 && (n3 = 0), null != n3 ? n3 > 0 : this.delay > 0) return e3.prototype.recycleAsyncId.call(this, t4, i3, n3); + var r2 = t4.actions; + null != i3 && (null === (o2 = r2[r2.length - 1]) || void 0 === o2 ? void 0 : o2.id) !== i3 && (a.animationFrameProvider.cancelAnimationFrame(i3), t4._scheduled = void 0); + }, t3; + })(r.AsyncAction); + t2.AnimationFrameAction = s; + }, 74478(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - get nextVersionNumber() { - const e3 = this.checkedInVersion; - return (this._getVersionNumber(e3 ? e3.name : null) + 1).toString() + ".0"; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.AnimationFrameScheduler = void 0; + var r = (function(e3) { + function t3() { + return null !== e3 && e3.apply(this, arguments) || this; } - get publishedDisplay() { - return this.publishedVersion && this.publishedVersion.name ? this.publishedVersion.name : ""; + return o(t3, e3), t3.prototype.flush = function(e4) { + this._active = true; + var t4 = this._scheduled; + this._scheduled = void 0; + var i3, n3 = this.actions; + e4 = e4 || n3.shift(); + do { + if (i3 = e4.execute(e4.state, e4.delay)) break; + } while ((e4 = n3[0]) && e4.id === t4 && n3.shift()); + if (this._active = false, i3) { + for (; (e4 = n3[0]) && e4.id === t4 && n3.shift(); ) e4.unsubscribe(); + throw i3; + } + }, t3; + })(i2(19533).AsyncScheduler); + t2.AnimationFrameScheduler = r; + }, 78051(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - get debugDisplay() { - return this.debugVersion && this.debugVersion.name ? this.debugVersion.name : ""; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.AsapAction = void 0; + var r = i2(64772), a = i2(16002), s = (function(e3) { + function t3(t4, i3) { + var n3 = e3.call(this, t4, i3) || this; + return n3.scheduler = t4, n3.work = i3, n3; } - get debugVersion() { - return this._debugVersion; + return o(t3, e3), t3.prototype.requestAsyncId = function(t4, i3, n3) { + return void 0 === n3 && (n3 = 0), null !== n3 && n3 > 0 ? e3.prototype.requestAsyncId.call(this, t4, i3, n3) : (t4.actions.push(this), t4._scheduled || (t4._scheduled = a.immediateProvider.setImmediate(t4.flush.bind(t4, void 0)))); + }, t3.prototype.recycleAsyncId = function(t4, i3, n3) { + var o2; + if (void 0 === n3 && (n3 = 0), null != n3 ? n3 > 0 : this.delay > 0) return e3.prototype.recycleAsyncId.call(this, t4, i3, n3); + var r2 = t4.actions; + null != i3 && (null === (o2 = r2[r2.length - 1]) || void 0 === o2 ? void 0 : o2.id) !== i3 && (a.immediateProvider.clearImmediate(i3), t4._scheduled === i3 && (t4._scheduled = void 0)); + }, t3; + })(r.AsyncAction); + t2.AsapAction = s; + }, 23952(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - get publishedVersion() { - return this._publishedVersion; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.AsapScheduler = void 0; + var r = (function(e3) { + function t3() { + return null !== e3 && e3.apply(this, arguments) || this; } - get savedVersion() { - return this._savedVersion; + return o(t3, e3), t3.prototype.flush = function(e4) { + this._active = true; + var t4 = this._scheduled; + this._scheduled = void 0; + var i3, n3 = this.actions; + e4 = e4 || n3.shift(); + do { + if (i3 = e4.execute(e4.state, e4.delay)) break; + } while ((e4 = n3[0]) && e4.id === t4 && n3.shift()); + if (this._active = false, i3) { + for (; (e4 = n3[0]) && e4.id === t4 && n3.shift(); ) e4.unsubscribe(); + throw i3; + } + }, t3; + })(i2(19533).AsyncScheduler); + t2.AsapScheduler = r; + }, 64772(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - updateInfoVersions(e3, t3, i3, n3) { - this._inferredVersions.length = 0, this._savedVersion = e3, this._checkedInVersion = t3, this._debugVersion = n3, this._publishedVersion = i3; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.AsyncAction = void 0; + var r = i2(71666), a = i2(8284), s = i2(54830), l = (function(e3) { + function t3(t4, i3) { + var n3 = e3.call(this, t4, i3) || this; + return n3.scheduler = t4, n3.work = i3, n3.pending = false, n3; } - _createInferredVersion(e3) { - return { versionId: "v" + e3 + "-0", displayName: e3 + ".0", isVersionOne: 1 === e3 }; + return o(t3, e3), t3.prototype.schedule = function(e4, t4) { + var i3; + if (void 0 === t4 && (t4 = 0), this.closed) return this; + this.state = e4; + var n3 = this.id, o2 = this.scheduler; + return null != n3 && (this.id = this.recycleAsyncId(o2, n3, t4)), this.pending = true, this.delay = t4, this.id = null !== (i3 = this.id) && void 0 !== i3 ? i3 : this.requestAsyncId(o2, this.id, t4), this; + }, t3.prototype.requestAsyncId = function(e4, t4, i3) { + return void 0 === i3 && (i3 = 0), a.intervalProvider.setInterval(e4.flush.bind(e4, this), i3); + }, t3.prototype.recycleAsyncId = function(e4, t4, i3) { + if (void 0 === i3 && (i3 = 0), null != i3 && this.delay === i3 && false === this.pending) return t4; + null != t4 && a.intervalProvider.clearInterval(t4); + }, t3.prototype.execute = function(e4, t4) { + if (this.closed) return new Error("executing a cancelled action"); + this.pending = false; + var i3 = this._execute(e4, t4); + if (i3) return i3; + false === this.pending && null != this.id && (this.id = this.recycleAsyncId(this.scheduler, this.id, null)); + }, t3.prototype._execute = function(e4, t4) { + var i3, n3 = false; + try { + this.work(e4); + } catch (e5) { + n3 = true, i3 = e5 || new Error("Scheduled action threw falsy error"); + } + if (n3) return this.unsubscribe(), i3; + }, t3.prototype.unsubscribe = function() { + if (!this.closed) { + var t4 = this.id, i3 = this.scheduler, n3 = i3.actions; + this.work = this.state = this.scheduler = null, this.pending = false, s.arrRemove(n3, this), null != t4 && (this.id = this.recycleAsyncId(i3, t4, null)), this.delay = null, e3.prototype.unsubscribe.call(this); + } + }, t3; + })(r.Action); + t2.AsyncAction = l; + }, 19533(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - _getVersionNumber(e3, t3) { - let i3 = t3 || 0; - return e3 && (i3 = parseFloat(e3)), i3; + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.AsyncScheduler = void 0; + var r = i2(65881), a = (function(e3) { + function t3(t4, i3) { + void 0 === i3 && (i3 = r.Scheduler.now); + var n3 = e3.call(this, t4, i3) || this; + return n3.actions = [], n3._active = false, n3; } - } - t2.FlowVersionManager = l; - }, 19980: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.first = void 0; - var n2 = i2(59328), r2 = i2(85934), o = i2(54383), a = i2(58799), s = i2(30632), l = i2(87699); - t2.first = function(e3, t3) { - var i3 = arguments.length >= 2; - return function(u) { - return u.pipe(e3 ? r2.filter(function(t4, i4) { - return e3(t4, i4, u); - }) : l.identity, o.take(1), i3 ? a.defaultIfEmpty(t3) : s.throwIfEmpty(function() { - return new n2.EmptyError(); - })); - }; - }; - }, 20030: (e2, t2, i2) => { + return o(t3, e3), t3.prototype.flush = function(e4) { + var t4 = this.actions; + if (this._active) t4.push(e4); + else { + var i3; + this._active = true; + do { + if (i3 = e4.execute(e4.state, e4.delay)) break; + } while (e4 = t4.shift()); + if (this._active = false, i3) { + for (; e4 = t4.shift(); ) e4.unsubscribe(); + throw i3; + } + } + }, t3; + })(r.Scheduler); + t2.AsyncScheduler = a; + }, 31983(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)), 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: 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) { - super(e3.parentFlow, e3), this._removedInputs = {}, this._removedOutputs = {}; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - updateTraceTopic() { - super.updateTraceTopic(), this._topicIOList = a.getTopic("taskRefIO").withMultipleContext(this.topic.context); + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.QueueAction = void 0; + var r = (function(e3) { + function t3(t4, i3) { + var n3 = e3.call(this, t4, i3) || this; + return n3.scheduler = t4, n3.work = i3, n3; } - getDetails() { - return this.referencedTaskViewModel ? new c.ActionDetails([_.task.label], [this.taskName]) : null; + return o(t3, e3), t3.prototype.schedule = function(t4, i3) { + return void 0 === i3 && (i3 = 0), i3 > 0 ? e3.prototype.schedule.call(this, t4, i3) : (this.delay = i3, this.state = t4, this.scheduler.flush(this), this); + }, t3.prototype.execute = function(t4, i3) { + return i3 > 0 || this.closed ? e3.prototype.execute.call(this, t4, i3) : this._execute(t4, i3); + }, t3.prototype.requestAsyncId = function(t4, i3, n3) { + return void 0 === n3 && (n3 = 0), null != n3 && n3 > 0 || null == n3 && this.delay > 0 ? e3.prototype.requestAsyncId.call(this, t4, i3, n3) : (t4.flush(this), 0); + }, t3; + })(i2(64772).AsyncAction); + t2.QueueAction = r; + }, 32036(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - 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); + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.QueueScheduler = void 0; + var r = (function(e3) { + function t3() { + return null !== e3 && e3.apply(this, arguments) || this; } - objEvent_variableAdded(e3, t3) { - let i3 = false; - this.inputs && t3.isInput && !this.inputs.getItem(t3.name) && (this._topicIOList.info(`adding new input variable for ${t3[h]} because of variableAdded event`), this.inputs.addItem(this.inputs.createFromVariable(t3)), i3 = true), this.outputs && t3.isOutput && !this.outputs.getItem(t3.name) && (this._topicIOList.info(`adding new output variable for ${t3[h]} because of variableAdded event`), this.outputs.addItem(this.outputs.createFromVariable(t3)), i3 = true), i3 && u.validateNode(this.topParent, true); + return o(t3, e3), t3; + })(i2(19533).AsyncScheduler); + t2.QueueScheduler = r; + }, 50875(e2, t2, i2) { + "use strict"; + var n2, o = this && this.__extends || (n2 = function(e3, t3) { + return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { + e4.__proto__ = t4; + } || function(e4, t4) { + for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); + }, n2(e3, t3); + }, function(e3, t3) { + if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); + function i3() { + this.constructor = e3; } - objEvent_terminatingStateChanged(e3) { - u.validateNode(this, true); + n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); + }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.VirtualAction = t2.VirtualTimeScheduler = void 0; + var r = i2(64772), a = i2(69879), s = (function(e3) { + function t3(t4, i3) { + void 0 === t4 && (t4 = l), void 0 === i3 && (i3 = 1 / 0); + var n3 = e3.call(this, t4, function() { + return n3.frame; + }) || this; + return n3.maxFrames = i3, n3.frame = 0, n3.index = -1, n3; } - objEvent_variableChanged(e3, t3) { - const i3 = t3.newVariable, n3 = t3.oldVariable.name, r3 = t3.oldVariable._destroyed; - let o2 = false; - if (i3.parentId === this.taskReference) { - if (this.inputs) { - const e4 = this.inputs.getItem(i3.name), t4 = this.inputs.getItem(n3) || this._removedInputs[n3], a2 = t4 ? t4.value : e4 ? e4.value : i3.initValue; - t4 && r3 && (this.inputs.removeChild(t4, true) && (this._topicIOList.info(`removing oldInputItem for ${t4[h]} because of variableChanged event`), o2 = true), delete this._removedInputs[n3]), e4 && this.inputs.removeChild(e4, true) && (this._topicIOList.info(`removing inputItem for ${e4[h]} because of variableChanged event`), o2 = true), i3.isInput ? (this._topicIOList.info(`adding back input variable for ${i3[h]} because of variableChanged event`), this.inputs.addItem(this.inputs.createFromVariable(i3, a2)), o2 = true) : this._topicIOList.warning(`NOT adding back input variable for ${i3[h]} because it isOutput is false`); - } - if (this.outputs) { - const e4 = this.outputs.getItem(i3.name), t4 = this.outputs.getItem(n3) || this._removedOutputs[n3], a2 = t4 ? t4.value : e4 ? e4.value : null; - t4 && r3 && (this.outputs.removeChild(t4, true) && (this._topicIOList.info(`removing oldInputItem for ${t4[h]} because of variableChanged event`), o2 = true), delete this._removedOutputs[n3]), e4 && this.outputs.removeChild(e4, true) && (this._topicIOList.info(`removing outputItem for ${e4[h]} because of variableChanged event`), o2 = true), i3.isOutput ? (this._topicIOList.info(`adding back output variable for ${i3[h]} because of variableChanged event`), this.outputs.addItem(this.outputs.createFromVariable(i3, a2)), o2 = true) : this._topicIOList.warning(`NOT adding back output variable for ${i3[h]} because it isOutput is false`); - } - o2 && u.validateNode(this.topParent, true); + return o(t3, e3), t3.prototype.flush = function() { + for (var e4, t4, i3 = this.actions, n3 = this.maxFrames; (t4 = i3[0]) && t4.delay <= n3 && (i3.shift(), this.frame = t4.delay, !(e4 = t4.execute(t4.state, t4.delay))); ) ; + if (e4) { + for (; t4 = i3.shift(); ) t4.unsubscribe(); + throw e4; } + }, t3.frameTimeFactor = 10, t3; + })(i2(19533).AsyncScheduler); + t2.VirtualTimeScheduler = s; + var l = (function(e3) { + function t3(t4, i3, n3) { + void 0 === n3 && (n3 = t4.index += 1); + var o2 = e3.call(this, t4, i3) || this; + return o2.scheduler = t4, o2.work = i3, o2.index = n3, o2.active = true, o2.index = t4.index = n3, o2; } - objEvent_variableRemoved(e3, t3) { - if (this.parent.isDestroyed || this.parentFlow.isDestroyed) return; - let i3 = false; - if (this.inputs) { - const e4 = this.inputs.getItem(t3.name); - e4 && (this._removedInputs[e4.name] = e4, this.inputs.removeChild(e4, true) && (this._topicIOList.info(`removing input for ${e4[h]} because of variableRemoved event`), i3 = true)); + return o(t3, e3), t3.prototype.schedule = function(i3, n3) { + if (void 0 === n3 && (n3 = 0), Number.isFinite(n3)) { + if (!this.id) return e3.prototype.schedule.call(this, i3, n3); + this.active = false; + var o2 = new t3(this.scheduler, this.work); + return this.add(o2), o2.schedule(i3, n3); } - if (this.outputs) { - const e4 = this.outputs.getItem(t3.name); - e4 && (this._removedOutputs[e4.name] = e4, this.outputs.removeChild(e4, true) && (this._topicIOList.info(`removing output for ${e4[h]} because of variableRemoved event`), i3 = true)); + return a.Subscription.EMPTY; + }, t3.prototype.requestAsyncId = function(e4, i3, n3) { + void 0 === n3 && (n3 = 0), this.delay = e4.frame + n3; + var o2 = e4.actions; + return o2.push(this), o2.sort(t3.sortActions), 1; + }, t3.prototype.recycleAsyncId = function(e4, t4, i3) { + void 0 === i3 && (i3 = 0); + }, t3.prototype._execute = function(t4, i3) { + if (true === this.active) return e3.prototype._execute.call(this, t4, i3); + }, t3.sortActions = function(e4, t4) { + return e4.delay === t4.delay ? e4.index === t4.index ? 0 : e4.index > t4.index ? 1 : -1 : e4.delay > t4.delay ? 1 : -1; + }, t3; + })(r.AsyncAction); + t2.VirtualAction = l; + }, 15887(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.animationFrame = t2.animationFrameScheduler = void 0; + var n2 = i2(6757), o = i2(74478); + t2.animationFrameScheduler = new o.AnimationFrameScheduler(n2.AnimationFrameAction), t2.animationFrame = t2.animationFrameScheduler; + }, 35726(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; } - i3 && u.validateNode(this.topParent, true); - } - get amObjectEventSink() { - return true; - } - get referencedTaskViewModel() { - return this.taskReference ? s.flowElementRegistrationService.getItemById(this.parentFlow, this.taskReference) : null; - } - search(e3) { - super.search(e3); - const t3 = this.referencedTaskViewModel; - t3 && e3.checkText(this, t3.name, _.task.label); - } - setTask(e3) { - let t3; - if (this.initializeDesignTimeCalled && (this.parentFlow.loaded ? this._topicIOList.info(`Setting new task ref: ${e3}, clearing outputs`) : this._topicIOList.error(`Flow not loaded but setting new task ref: ${e3}, clearing outputs`), this.outputs && this.outputs.destroyChildren(), this.inputs && this.inputs.destroyChildren()), e3) if (t3 = this.parentFlow.getTaskById(e3), t3) { - if (this.outputs) { - const e4 = t3.getOutputVariables(); - this._resolveToVariableList(this.outputs, e4, "output"); - } - if (this.inputs) { - const e4 = t3.getInputVariables(); - this._resolveToVariableList(this.inputs, e4, "input"); - } - } else this.initializeDesignTimeCalled ? this.topic.error(`BaseTaskReferenceActionViewModel.setTask - can't find task '${e3}' on parent flow`) : this._topicIOList.warning(`BaseTaskReferenceActionViewModel.setTask - can't find task '${e3}' on parent flow`); - l.changeEventEmitterForEventSink(this, this.taskReference, e3), this.containerActionProperty.setReferenceIdAndName(e3, t3 ? t3.name : null); } - _resolveToVariableList(e3, t3, i3) { - const n3 = [], o2 = []; - e3.items.forEach((e4) => { - const i4 = e4.name ? e4.name.toLowerCase() : e4.name, a2 = r2.default.find(t3, (t4) => { - const n4 = t4.name ? t4.name.toLowerCase() : t4.name; - return i4 === n4 && e4.type.isMatch(t4.type); - }); - a2 && (n3.push(e4), e4.referenceId = a2.id, o2.push(a2)); - }); - for (let t4 = e3.items.length - 1; t4 >= 0; t4--) { - const o3 = e3.items[t4]; - if (!r2.default.contains(n3, o3)) { - const t5 = `removing ${i3} for ${o3[h]} during _resolveToVariableList`; - this.initializeDesignTimeCalled ? this._topicIOList.info(t5) : this._topicIOList.error("before initialized - " + t5), e3.removeChild(o3); - } + return a; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.animationFrameProvider = void 0; + var r = i2(69879); + t2.animationFrameProvider = { schedule: function(e3) { + var i3 = requestAnimationFrame, n3 = cancelAnimationFrame, o2 = t2.animationFrameProvider.delegate; + o2 && (i3 = o2.requestAnimationFrame, n3 = o2.cancelAnimationFrame); + var a = i3(function(t3) { + n3 = void 0, e3(t3); + }); + return new r.Subscription(function() { + return null == n3 ? void 0 : n3(a); + }); + }, requestAnimationFrame: function() { + for (var e3 = [], i3 = 0; i3 < arguments.length; i3++) e3[i3] = arguments[i3]; + var r2 = t2.animationFrameProvider.delegate; + return ((null == r2 ? void 0 : r2.requestAnimationFrame) || requestAnimationFrame).apply(void 0, o([], n2(e3))); + }, cancelAnimationFrame: function() { + for (var e3 = [], i3 = 0; i3 < arguments.length; i3++) e3[i3] = arguments[i3]; + var r2 = t2.animationFrameProvider.delegate; + return ((null == r2 ? void 0 : r2.cancelAnimationFrame) || cancelAnimationFrame).apply(void 0, o([], n2(e3))); + }, delegate: void 0 }; + }, 22105(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.asap = t2.asapScheduler = void 0; + var n2 = i2(78051), o = i2(23952); + t2.asapScheduler = new o.AsapScheduler(n2.AsapAction), t2.asap = t2.asapScheduler; + }, 62326(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.async = t2.asyncScheduler = void 0; + var n2 = i2(64772), o = i2(19533); + t2.asyncScheduler = new o.AsyncScheduler(n2.AsyncAction), t2.async = t2.asyncScheduler; + }, 93275(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.dateTimestampProvider = void 0, t2.dateTimestampProvider = { now: function() { + return (t2.dateTimestampProvider.delegate || Date).now(); + }, delegate: void 0 }; + }, 16002(e2, t2, i2) { + "use strict"; + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; } - r2.default.each(t3, (t4) => { - if (!r2.default.contains(o2, t4)) { - const n4 = `adding ${i3} for variable ${t4[h]} during _resolveToVariableList`; - this.initializeDesignTimeCalled ? this._topicIOList.info(n4) : this._topicIOList.error("before initialized - " + n4), e3.addItem(e3.createFromVariable(t4)); - } - }); } - _initializeDesignTime() { - if (super._initializeDesignTime(), this.initializeDesignTimeCalled) { - const e3 = `initializeDesignTimeCalled being called a second time for ${this.toString()}`; - return void this.topic.traceOnce("repeat initializeDesignTimeCalled", (t3) => t3.errorWithStack(void 0, e3)); + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.immediateProvider = void 0; + var r = i2(92052), a = r.Immediate.setImmediate, s = r.Immediate.clearImmediate; + t2.immediateProvider = { setImmediate: function() { + for (var e3 = [], i3 = 0; i3 < arguments.length; i3++) e3[i3] = arguments[i3]; + var r2 = t2.immediateProvider.delegate; + return ((null == r2 ? void 0 : r2.setImmediate) || a).apply(void 0, o([], n2(e3))); + }, clearImmediate: function(e3) { + var i3 = t2.immediateProvider.delegate; + return ((null == i3 ? void 0 : i3.clearImmediate) || s)(e3); + }, delegate: void 0 }; + }, 8284(e2, t2) { + "use strict"; + var i2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o, r = i3.call(e3), a = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r.next()).done; ) a.push(n3.value); + } catch (e4) { + o = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r.return) && i3.call(r); + } finally { + if (o) throw o.error; } - this.setTask(this.taskReference); } - _preDestroy() { - super._preDestroy(), this.parentFlow.tryRemoveUiMetadataInfo(this, "task", this.taskReference, [this.model.__type], "taskReference", false); + return a; + }, n2 = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o = e3.length; i3 < n3; i3++, o++) e3[o] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.intervalProvider = void 0, t2.intervalProvider = { setInterval: function(e3, o) { + for (var r = [], a = 2; a < arguments.length; a++) r[a - 2] = arguments[a]; + var s = t2.intervalProvider.delegate; + return (null == s ? void 0 : s.setInterval) ? s.setInterval.apply(s, n2([e3, o], i2(r))) : setInterval.apply(void 0, n2([e3, o], i2(r))); + }, clearInterval: function(e3) { + var i3 = t2.intervalProvider.delegate; + return ((null == i3 ? void 0 : i3.clearInterval) || clearInterval)(e3); + }, delegate: void 0 }; + }, 22931(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.performanceTimestampProvider = void 0, t2.performanceTimestampProvider = { now: function() { + return (t2.performanceTimestampProvider.delegate || performance).now(); + }, delegate: void 0 }; + }, 99245(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.queue = t2.queueScheduler = void 0; + var n2 = i2(31983), o = i2(32036); + t2.queueScheduler = new o.QueueScheduler(n2.QueueAction), t2.queue = t2.queueScheduler; + }, 94808(e2, t2) { + "use strict"; + var i2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o, r = i3.call(e3), a = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r.next()).done; ) a.push(n3.value); + } catch (e4) { + o = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r.return) && i3.call(r); + } finally { + if (o) throw o.error; + } } + return a; + }, n2 = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o = e3.length; i3 < n3; i3++, o++) e3[o] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.timeoutProvider = void 0, t2.timeoutProvider = { setTimeout: function(e3, o) { + for (var r = [], a = 2; a < arguments.length; a++) r[a - 2] = arguments[a]; + var s = t2.timeoutProvider.delegate; + return (null == s ? void 0 : s.setTimeout) ? s.setTimeout.apply(s, n2([e3, o], i2(r))) : setTimeout.apply(void 0, n2([e3, o], i2(r))); + }, clearTimeout: function(e3) { + var i3 = t2.timeoutProvider.delegate; + return ((null == i3 ? void 0 : i3.clearTimeout) || clearTimeout)(e3); + }, delegate: void 0 }; + }, 34891(e2, t2) { + "use strict"; + function i2() { + return "function" == typeof Symbol && Symbol.iterator ? Symbol.iterator : "@@iterator"; } - t2.default = m, m.className = "BaseTaskReferenceActionViewModel"; - }, 20083: (e2, t2, i2) => { + Object.defineProperty(t2, "__esModule", { value: true }), t2.iterator = t2.getSymbolIterator = void 0, t2.getSymbolIterator = i2, t2.iterator = i2(); + }, 2884(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeKnowledgeBaseDocumentOptions = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(71056), a = i2(55909), s = i2(33951); - class l extends o.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setKnowledgeBaseIdCallback, e3._knowledgeBaseIdCallback); - } - constructor(e3) { - super(e3), this._knowledgeBaseIdCallback = (e4) => { - var t3; - return { knowledgeId: null === (t3 = e4.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeBaseId }; - }, (0, r2.makeUnenumerable)(this, "_knowledgeBaseIdCallback"); - } - get className() { - return "ExpressionTypeKnowledgeBaseDocumentOptions"; - } - get isExpressionTypeKnowledgeBaseDocumentOptions() { - return true; - } - get knowledgeBaseIdCallback() { - return this._knowledgeBaseIdCallback; - } - set knowledgeBaseIdCallback(e3) { - this._knowledgeBaseIdCallback = s.ParameterValidator.expectFunction(e3, () => a.ParameterInfo.createPropertySet(this.className, "knowledgeBaseIdCallback", "value")); + Object.defineProperty(t2, "__esModule", { value: true }), t2.observable = void 0, t2.observable = "function" == typeof Symbol && Symbol.observable || "@@observable"; + }, 96153(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 7024(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArgumentOutOfRangeError = void 0; + var n2 = i2(9619); + t2.ArgumentOutOfRangeError = n2.createErrorClass(function(e3) { + return function() { + e3(this), this.name = "ArgumentOutOfRangeError", this.message = "argument out of range"; + }; + }); + }, 59328(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.EmptyError = void 0; + var n2 = i2(9619); + t2.EmptyError = n2.createErrorClass(function(e3) { + return function() { + e3(this), this.name = "EmptyError", this.message = "no elements in sequence"; + }; + }); + }, 92052(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.TestTools = t2.Immediate = void 0; + var i2, n2 = 1, o = {}; + function r(e3) { + return e3 in o && (delete o[e3], true); + } + t2.Immediate = { setImmediate: function(e3) { + var t3 = n2++; + return o[t3] = true, i2 || (i2 = Promise.resolve()), i2.then(function() { + return r(t3) && e3(); + }), t3; + }, clearImmediate: function(e3) { + r(e3); + } }, t2.TestTools = { pending: function() { + return Object.keys(o).length; + } }; + }, 23506(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.NotFoundError = void 0; + var n2 = i2(9619); + t2.NotFoundError = n2.createErrorClass(function(e3) { + return function(t3) { + e3(this), this.name = "NotFoundError", this.message = t3; + }; + }); + }, 50839(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ObjectUnsubscribedError = void 0; + var n2 = i2(9619); + t2.ObjectUnsubscribedError = n2.createErrorClass(function(e3) { + return function() { + e3(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed"; + }; + }); + }, 94708(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.SequenceError = void 0; + var n2 = i2(9619); + t2.SequenceError = n2.createErrorClass(function(e3) { + return function(t3) { + e3(this), this.name = "SequenceError", this.message = t3; + }; + }); + }, 69517(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.UnsubscriptionError = void 0; + var n2 = i2(9619); + t2.UnsubscriptionError = n2.createErrorClass(function(e3) { + return function(t3) { + e3(this), this.message = t3 ? t3.length + " errors occurred during unsubscription:\n" + t3.map(function(e4, t4) { + return t4 + 1 + ") " + e4.toString(); + }).join("\n ") : "", this.name = "UnsubscriptionError", this.errors = t3; + }; + }); + }, 26404(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.popNumber = t2.popScheduler = t2.popResultSelector = void 0; + var n2 = i2(10281), o = i2(68596); + function r(e3) { + return e3[e3.length - 1]; + } + t2.popResultSelector = function(e3) { + return n2.isFunction(r(e3)) ? e3.pop() : void 0; + }, t2.popScheduler = function(e3) { + return o.isScheduler(r(e3)) ? e3.pop() : void 0; + }, t2.popNumber = function(e3, t3) { + return "number" == typeof r(e3) ? e3.pop() : t3; + }; + }, 50439(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.argsArgArrayOrObject = void 0; + var i2 = Array.isArray, n2 = Object.getPrototypeOf, o = Object.prototype, r = Object.keys; + t2.argsArgArrayOrObject = function(e3) { + if (1 === e3.length) { + var t3 = e3[0]; + if (i2(t3)) return { args: t3, keys: null }; + if ((s = t3) && "object" == typeof s && n2(s) === o) { + var a = r(t3); + return { args: a.map(function(e4) { + return t3[e4]; + }), keys: a }; + } } - setKnowledgeBaseIdCallback(e3) { - return this.knowledgeBaseIdCallback = e3, this; + var s; + return { args: e3, keys: null }; + }; + }, 7652(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.argsOrArgArray = void 0; + var i2 = Array.isArray; + t2.argsOrArgArray = function(e3) { + return 1 === e3.length && i2(e3[0]) ? e3[0] : e3; + }; + }, 54830(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.arrRemove = void 0, t2.arrRemove = function(e3, t3) { + if (e3) { + var i2 = e3.indexOf(t3); + 0 <= i2 && e3.splice(i2, 1); } - getDependencyTrackingId(e3) { - if (this.knowledgeBaseIdCallback) { - const t3 = this.knowledgeBaseIdCallback(e3); - if ((null == t3 ? void 0 : t3.knowledgeId) && e3.val) return `${t3.knowledgeId}/${e3.val}`; + }; + }, 9619(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createErrorClass = void 0, t2.createErrorClass = function(e3) { + var t3 = e3(function(e4) { + Error.call(e4), e4.stack = new Error().stack; + }); + return t3.prototype = Object.create(Error.prototype), t3.prototype.constructor = t3, t3; + }; + }, 15810(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createObject = void 0, t2.createObject = function(e3, t3) { + return e3.reduce(function(e4, i2, n2) { + return e4[i2] = t3[n2], e4; + }, {}); + }; + }, 12688(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.captureError = t2.errorContext = void 0; + var n2 = i2(93728), o = null; + t2.errorContext = function(e3) { + if (n2.config.useDeprecatedSynchronousErrorHandling) { + var t3 = !o; + if (t3 && (o = { errorThrown: false, error: null }), e3(), t3) { + var i3 = o, r = i3.errorThrown, a = i3.error; + if (o = null, r) throw a; } - return super.getDependencyTrackingId(e3); - } - } - t2.ExpressionTypeKnowledgeBaseDocumentOptions = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Function), n2.__metadata("design:paramtypes", [Object])], l.prototype, "knowledgeBaseIdCallback", null); - }, 20084: (e2, t2, i2) => { + } else e3(); + }, t2.captureError = function(e3) { + n2.config.useDeprecatedSynchronousErrorHandling && o && (o.errorThrown = true, o.error = e3); + }; + }, 28619(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.executeSchedule = void 0, t2.executeSchedule = function(e3, t3, i2, n2, o) { + void 0 === n2 && (n2 = 0), void 0 === o && (o = false); + var r = t3.schedule(function() { + i2(), o ? e3.add(this.schedule(null, n2)) : this.unsubscribe(); + }, n2); + if (e3.add(r), !o) return r; + }; + }, 87699(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.identity = void 0, t2.identity = function(e3) { + return e3; + }; + }, 94975(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isArrayLike = void 0, t2.isArrayLike = function(e3) { + return e3 && "number" == typeof e3.length && "function" != typeof e3; + }; + }, 78263(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isAsyncIterable = void 0; + var n2 = i2(10281); + t2.isAsyncIterable = function(e3) { + return Symbol.asyncIterator && n2.isFunction(null == e3 ? void 0 : e3[Symbol.asyncIterator]); + }; + }, 85345(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isValidDate = void 0, t2.isValidDate = function(e3) { + return e3 instanceof Date && !isNaN(e3); + }; + }, 10281(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isFunction = void 0, t2.isFunction = function(e3) { + return "function" == typeof e3; + }; + }, 80629(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isInteropObservable = void 0; + var n2 = i2(2884), o = i2(10281); + t2.isInteropObservable = function(e3) { + return o.isFunction(e3[n2.observable]); + }; + }, 12187(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isIterable = void 0; + var n2 = i2(34891), o = i2(10281); + t2.isIterable = function(e3) { + return o.isFunction(null == e3 ? void 0 : e3[n2.iterator]); + }; + }, 62560(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isObservable = void 0; + var n2 = i2(48051), o = i2(10281); + t2.isObservable = function(e3) { + return !!e3 && (e3 instanceof n2.Observable || o.isFunction(e3.lift) && o.isFunction(e3.subscribe)); + }; + }, 67552(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), 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(); - } - get modelPropertyName() { - return this._modelPropertyName; - } - createTraceTopic() { - this.className || s.error("missing class name!"), this.traceTopic = a.getTopic(this.className); - } - get isBaseFlowSettingsViewModel() { - return true; - } - get managedPropertyViewModels() { - const e3 = []; - return Object.values(this._managedPropertyViewModels).forEach((t3) => { - t3.isExpressionList ? e3.push(...t3.items) : e3.push(t3); - }), e3; - } - createModelConfigSection(e3) { - this._modelPropertyName && (e3[this._modelPropertyName] || (e3[this._modelPropertyName] = new this._modelSettingsClass())); - } - getConfiguration(e3, t3) { - if (!this._modelPropertyName) return; - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const i4 = {}; - return Object.entries(this._managedPropertyViewModels).forEach(([n3, o2]) => { - var a2; - const s2 = (null === (a2 = o2.metaData) || void 0 === a2 ? void 0 : a2.yamlOptions) || o2.yamlOptions; - if (null == s2 ? void 0 : s2.skipProperty) return; - const l2 = o2.getConfiguration(e3, t3, s2); - if (!r2.default.isNullOrUndefined(o2)) { - if (r2.default.isObject(l2)) { - const e4 = o2.propertyName || (null == s2 ? void 0 : s2.propertyName); - i4[e4] = l2; - } else if (r2.default.isString(l2) && o2.isContainerActionProperty) { - const e4 = o2.propertyName || (null == s2 ? void 0 : s2.propertyName); - (null == s2 ? void 0 : s2.wrappedObjectName) ? i4[s2.wrappedObjectName] = r2.default.tryWrapObject(l2, e4) : i4[e4] = l2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isPromise = void 0; + var n2 = i2(10281); + t2.isPromise = function(e3) { + return n2.isFunction(null == e3 ? void 0 : e3.then); + }; + }, 95462(e2, t2, i2) { + "use strict"; + var n2 = this && this.__generator || function(e3, t3) { + var i3, n3, o2, r2, a2 = { label: 0, sent: function() { + if (1 & o2[0]) throw o2[1]; + return o2[1]; + }, trys: [], ops: [] }; + return r2 = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (r2[Symbol.iterator] = function() { + return this; + }), r2; + function s(r3) { + return function(s2) { + return (function(r4) { + if (i3) throw new TypeError("Generator is already executing."); + for (; a2; ) try { + if (i3 = 1, n3 && (o2 = 2 & r4[0] ? n3.return : r4[0] ? n3.throw || ((o2 = n3.return) && o2.call(n3), 0) : n3.next) && !(o2 = o2.call(n3, r4[1])).done) return o2; + switch (n3 = 0, o2 && (r4 = [2 & r4[0], o2.value]), r4[0]) { + case 0: + case 1: + o2 = r4; + break; + case 4: + return a2.label++, { value: r4[1], done: false }; + case 5: + a2.label++, n3 = r4[1], r4 = [0]; + continue; + case 7: + r4 = a2.ops.pop(), a2.trys.pop(); + continue; + default: + if (!((o2 = (o2 = a2.trys).length > 0 && o2[o2.length - 1]) || 6 !== r4[0] && 2 !== r4[0])) { + a2 = 0; + continue; + } + if (3 === r4[0] && (!o2 || r4[1] > o2[0] && r4[1] < o2[3])) { + a2.label = r4[1]; + break; + } + if (6 === r4[0] && a2.label < o2[1]) { + a2.label = o2[1], o2 = r4; + break; + } + if (o2 && a2.label < o2[2]) { + a2.label = o2[2], a2.ops.push(r4); + break; + } + o2[2] && a2.ops.pop(), a2.trys.pop(); + continue; } + r4 = t3.call(e3, a2); + } catch (e4) { + r4 = [6, e4], n3 = 0; + } finally { + i3 = o2 = 0; } - }), i4; - } - this.createModelConfigSection(e3); - const i3 = e3[this._modelPropertyName]; - Object.entries(this._managedPropertyViewModels).forEach(([e4, n3]) => { - i3[n3.modelPropertyName || e4] = n3.getConfiguration(i3, t3); - }), Object.entries(this.uiMetaData).length && (i3.uiMetaData = Object.assign({}, this.uiMetaData)); - } - loadConfiguration(e3) { - this.createModelConfigSection(e3), this.model = e3[this._modelPropertyName], (0, u.getManagedProperties)(this).forEach((e4) => { - var t3; - const i3 = (0, o.default)(this, e4); - this._managedPropertyViewModels[e4.property] = i3, !e4.yamlOptions || i3.yamlOptions || (null === (t3 = i3.metaData) || void 0 === t3 ? void 0 : t3.yamlOptions) || (i3.yamlOptions = e4.yamlOptions), l.registerExpression(i3); - }); + if (5 & r4[0]) throw r4[1]; + return { value: r4[0] ? r4[1] : void 0, done: true }; + })([r3, s2]); + }; } - updateDependencies() { - super.updateDependencies(), Object.values(this._managedPropertyViewModels).forEach((e3) => { - r2.default.isFunction(e3.updateDependencies) && e3.updateDependencies(), e3.isNormalExpression && l.registerExpression(e3); + }, o = this && this.__await || function(e3) { + return this instanceof o ? (this.v = e3, this) : new o(e3); + }, r = this && this.__asyncGenerator || function(e3, t3, i3) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var n3, r2 = i3.apply(e3, t3 || []), a2 = []; + return n3 = {}, s("next"), s("throw"), s("return"), n3[Symbol.asyncIterator] = function() { + return this; + }, n3; + function s(e4) { + r2[e4] && (n3[e4] = function(t4) { + return new Promise(function(i4, n4) { + a2.push([e4, t4, i4, n4]) > 1 || l(e4, t4); + }); }); } - _initializeDesignTime() { - this.currentUiVersion && (!this.hasSavedUiVersion || this.currentUiVersion > this.savedUiVersion) && !this.parentFlow.isReadOnly && (this.traceTopic.info(`upgrading uiVersion from version: ${this.savedUiVersion} to version:${this.currentUiVersion}`), this.updateConfiguration(this.savedUiVersion, this.currentUiVersion), this.savedUiVersion = this.currentUiVersion), super._initializeDesignTime(), Object.values(this._managedPropertyViewModels).forEach((e3) => e3.initializeDesignTime()); - } - search(e3) { - Object.values(this._managedPropertyViewModels).forEach((t3) => e3.addToQueue(t3)); - } - validate(e3) { - super.validate(e3), Object.values(this._managedPropertyViewModels).forEach((t3) => t3.validate(e3)); - } - _destroy() { - super._destroy(), Object.values(this._managedPropertyViewModels).forEach((e3) => e3.destroy()), this._managedPropertyViewModels.length = 0; - } - setNewInstanceDefaults() { - } - get uiMetaData() { - if (this.model) return this.model.uiMetaData || (this.model.uiMetaData = {}), this.model.uiMetaData; - } - get currentUiVersion() { - } - get hasSavedUiVersion() { - return !r2.default.isUndefined(this.uiMetaData.currentUiVersion); - } - get savedUiVersion() { - return this.uiMetaData.currentUiVersion; + function l(e4, t4) { + try { + (i4 = r2[e4](t4)).value instanceof o ? Promise.resolve(i4.value.v).then(u, c) : d(a2[0][2], i4); + } catch (e5) { + d(a2[0][3], e5); + } + var i4; } - set savedUiVersion(e3) { - this.uiMetaData.currentUiVersion = e3; + function u(e4) { + l("next", e4); } - updateConfiguration(e3, t3) { + function c(e4) { + l("throw", e4); } - get nodeId() { - return this.id; + function d(e4, t4) { + e4(t4), a2.shift(), a2.length && l(a2[0][0], a2[0][1]); } + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isReadableStreamLike = t2.readableStreamLikeToAsyncGenerator = void 0; + var a = i2(10281); + t2.readableStreamLikeToAsyncGenerator = function(e3) { + return r(this, arguments, function() { + var t3, i3, r2; + return n2(this, function(n3) { + switch (n3.label) { + case 0: + t3 = e3.getReader(), n3.label = 1; + case 1: + n3.trys.push([1, , 9, 10]), n3.label = 2; + case 2: + return [4, o(t3.read())]; + case 3: + return i3 = n3.sent(), r2 = i3.value, i3.done ? [4, o(void 0)] : [3, 5]; + case 4: + return [2, n3.sent()]; + case 5: + return [4, o(r2)]; + case 6: + return [4, n3.sent()]; + case 7: + return n3.sent(), [3, 2]; + case 8: + return [3, 10]; + case 9: + return t3.releaseLock(), [7]; + case 10: + return [2]; + } + }); + }); + }, t2.isReadableStreamLike = function(e3) { + return a.isFunction(null == e3 ? void 0 : e3.getReader); + }; + }, 68596(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isScheduler = void 0; + var n2 = i2(10281); + t2.isScheduler = function(e3) { + return e3 && n2.isFunction(e3.schedule); + }; + }, 65212(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.operate = t2.hasLift = void 0; + var n2 = i2(10281); + function o(e3) { + return n2.isFunction(null == e3 ? void 0 : e3.lift); } - t2.default = d; - }, 20100: (e2, t2, i2) => { + t2.hasLift = o, t2.operate = function(e3) { + return function(t3) { + if (o(t3)) return t3.lift(function(t4) { + try { + return e3(t4, this); + } catch (e4) { + this.error(e4); + } + }); + throw new TypeError("Unable to lift unknown Observable type"); + }; + }; + }, 13916(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)), 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 m.getCxAgent; - } - addLiveAgentHandoffMetadataOutput() { - const e3 = this.liveAgentHandoffMetadata.add(null, o.globalTypes.string); - return e3.expression.mode = r2.variable, e3.expression.setAsOutput(), u.validateAction(this, true, true), e3.id; - } - static get branchInfo() { - return s.default.successFailure; - } - get doesNotSupportIntents() { - return true; - } - get environmentName() { - return this.model.environmentName; - } - set environmentName(e3) { - this.model.environmentName = e3; - } - get isDialogflowCxAction() { - return true; - } - static get managedProperties() { - 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; - } - updateBotRunnablePropertyDependency() { - (this.botRunnableProperty.nameValue || this.botRunnableProperty.idValue) && this.botRunnableManager.registerConsumer(this, this.botRunnableProperty.nameValue, this.getDependencyTrackingId(), { environments: this.environmentId }); + var n2 = this && this.__read || function(e3, t3) { + var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; + if (!i3) return e3; + var n3, o2, r2 = i3.call(e3), a2 = []; + try { + for (; (void 0 === t3 || t3-- > 0) && !(n3 = r2.next()).done; ) a2.push(n3.value); + } catch (e4) { + o2 = { error: e4 }; + } finally { + try { + n3 && !n3.done && (i3 = r2.return) && i3.call(r2); + } finally { + if (o2) throw o2.error; + } } + return a2; + }, o = this && this.__spreadArray || function(e3, t3) { + for (var i3 = 0, n3 = t3.length, o2 = e3.length; i3 < n3; i3++, o2++) e3[o2] = t3[i3]; + return e3; + }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.mapOneOrManyArgs = void 0; + var r = i2(26872), a = Array.isArray; + t2.mapOneOrManyArgs = function(e3) { + return r.map(function(t3) { + return (function(e4, t4) { + return a(t4) ? e4.apply(void 0, o([], n2(t4))) : e4(t4); + })(e3, t3); + }); + }; + }, 5717(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.noop = void 0, t2.noop = function() { + }; + }, 14120(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.not = void 0, t2.not = function(e3, t3) { + return function(i2, n2) { + return !e3.call(t3, i2, n2); + }; + }; + }, 99517(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.pipeFromArray = t2.pipe = void 0; + var n2 = i2(87699); + function o(e3) { + return 0 === e3.length ? n2.identity : 1 === e3.length ? e3[0] : function(t3) { + return e3.reduce(function(e4, t4) { + return t4(e4); + }, t3); + }; } - 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); - } - i2(45214).extend(n2, "NuanceMixBotJob"), e2.exports = n2; - }, 20164: (e2, t2, i2) => { + t2.pipe = function() { + for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; + return o(e3); + }, t2.pipeFromArray = o; + }, 32980(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)), 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); - } - static get branchInfo() { - return a.default.successFailure; - } - _getPossibleErrors() { - return d.updateExternalContactFailureReasons; - } - validate(e3) { - var t3; - const i3 = null === (t3 = this.patchChanges) || void 0 === t3 ? void 0 : t3.items; - 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: 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" }]; - } + Object.defineProperty(t2, "__esModule", { value: true }), t2.reportUnhandledError = void 0; + var n2 = i2(93728), o = i2(94808); + t2.reportUnhandledError = function(e3) { + o.timeoutProvider.setTimeout(function() { + var t3 = n2.config.onUnhandledError; + if (!t3) throw e3; + t3(e3); + }); + }; + }, 86297(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createInvalidObservableTypeError = void 0, t2.createInvalidObservableTypeError = function(e3) { + return new TypeError("You provided " + (null !== e3 && "object" == typeof e3 ? "an invalid object" : "'" + e3 + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."); + }; + }, 92794(e2, t2, i2) { + "use strict"; + t2.map = t2.first = t2.filter = t2.delay = void 0, t2.take = t2.skipWhile = void 0; + i2(88877), i2(51608), i2(10706), i2(9287), i2(41719), i2(61778), i2(56606), i2(72719), i2(89244), i2(67933), i2(64948), i2(82044), i2(96328), i2(70201), i2(29512), i2(19913), i2(98032), i2(17812), i2(88589), i2(3143), i2(21762), i2(58799); + var n2 = i2(5797); + Object.defineProperty(t2, "delay", { enumerable: true, get: function() { + return n2.delay; + } }); + i2(72885), i2(19818), i2(77876), i2(22044), i2(76035), i2(61279), i2(66791), i2(21361), i2(11464), i2(17977), i2(86632), i2(75544); + var o = i2(85934); + Object.defineProperty(t2, "filter", { enumerable: true, get: function() { + return o.filter; + } }); + i2(17802), i2(98183), i2(29035); + var r = i2(19980); + Object.defineProperty(t2, "first", { enumerable: true, get: function() { + return r.first; + } }); + i2(5128), i2(2959), i2(69915), i2(32568); + var a = i2(26872); + Object.defineProperty(t2, "map", { enumerable: true, get: function() { + return a.map; + } }); + i2(13337), i2(75019), i2(50096), i2(9330), i2(68087), i2(74613), i2(67478), i2(76075), i2(16707), i2(79694), i2(80142), i2(18464), i2(32071), i2(95513), i2(26744), i2(99516), i2(66355), i2(53197), i2(82955), i2(26569), i2(68710), i2(86081), i2(6677), i2(92070), i2(56131), i2(82139), i2(3352), i2(73956), i2(79224), i2(43434), i2(44143), i2(35565), i2(73929), i2(93405), i2(17782), i2(55440), i2(23079), i2(92359), i2(97783); + var s = i2(65774); + Object.defineProperty(t2, "skipWhile", { enumerable: true, get: function() { + return s.skipWhile; + } }); + i2(99054), i2(5455), i2(16201), i2(90680), i2(761), i2(48461); + var l = i2(54383); + Object.defineProperty(t2, "take", { enumerable: true, get: function() { + return l.take; + } }); + i2(65279), i2(66911), i2(60598), i2(15019), i2(44880), i2(7245), i2(30632), i2(32508), i2(81713), i2(50597), i2(53866), i2(73484), i2(78072), i2(62893), i2(90037), i2(28996), i2(65156), i2(66975), i2(26749), i2(5362), i2(36977); + }, 65824(e2, t2, i2) { + "use strict"; + e2.exports = i2(43276); + }, 61897(e2, t2, i2) { + "use strict"; + var n2, o, r, a = i2(81452), s = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-"; + function l() { + r = false; } - 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() { - Object.defineProperties(this, { _holdMusic: { writable: true } }), o.baseConstructor.apply(this, arguments); + function u(e3) { + if (e3) { + if (e3 !== n2) { + if (64 !== e3.length) throw new Error("Custom alphabet for shortid must be 64 unique characters. You submitted " + e3.length + " characters: " + e3); + var t3 = e3.split("").filter(function(e4, t4, i3) { + return t4 !== i3.lastIndexOf(e4); + }); + if (t3.length) throw new Error("Custom alphabet for shortid must be 64 unique characters. These characters were not unique: " + t3.join(", ")); + n2 = e3, l(); + } + } else n2 !== s && (n2 = s, l()); } - n2.extend(o, "InQueueCallFlowSettings"), Object.defineProperties(o.prototype, { holdMusic: { enumerable: true, get: function() { - return this._holdMusic; - }, set: function(e3) { - this._holdMusic = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 20254: (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 "languageSkillCollection"; - } - get displayTypeName() { - return "ArchVariableLanguageSkillCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableLanguageSkillCollection() { - return true; - } + function c() { + return r || (r = (function() { + n2 || u(s); + for (var e3, t3 = n2.split(""), i3 = [], o2 = a.nextValue(); t3.length > 0; ) o2 = a.nextValue(), e3 = Math.floor(o2 * t3.length), i3.push(t3.splice(e3, 1)[0]); + return i3.join(""); + })()); } - t2.default = r2; - }, 20275: (e2, t2, i2) => { + e2.exports = { get: function() { + return n2 || s; + }, characters: function(e3) { + return u(e3), n2; + }, seed: function(e3) { + a.seed(e3), o !== e3 && (l(), o = e3); + }, lookup: function(e3) { + return c()[e3]; + }, shuffled: c }; + }, 66852(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 "assignedCustomerIntentCollection"; - } - get displayTypeName() { - return "ArchVariableAssignedCustomerIntentCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableAssignedCustomerIntentCollection() { - return true; - } - } - t2.default = r2; - }, 20374: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _contactList: { writable: true }, _defaultWrapupCode: { writable: true } }), o.baseConstructor.apply(this, arguments); + var n2, o, r = i2(85697); + i2(61897), e2.exports = function(e3) { + var t3 = "", i3 = Math.floor(1e-3 * (Date.now() - 1567752802062)); + return i3 === o ? n2++ : (n2 = 0, o = i3), t3 += r(7), t3 += r(e3), n2 > 0 && (t3 += r(n2)), t3 + r(i3); + }; + }, 85697(e2, t2, i2) { + "use strict"; + var n2 = i2(61897), o = i2(84346), r = i2(61154).customRandom; + e2.exports = function(e3) { + for (var t3, i3 = 0, a = ""; !t3; ) a += r(n2.get(), 1, o)(), t3 = e3 < Math.pow(16, i3 + 1), i3++; + return a; + }; + }, 43276(e2, t2, i2) { + "use strict"; + var n2 = i2(61897), o = i2(66852), r = i2(48905), a = i2(46894) || 0; + function s() { + return o(a); } - n2.extend(o, "OutboundCallSettings"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.contactList.pasteReIdOrRename(e3), this.defaultWrapupCode.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.contactList.pasteResolveOldToNewValues(e3), this.defaultWrapupCode.pasteResolveOldToNewValues(e3); - } }, contactList: { enumerable: true, get: function() { - return this._contactList; - }, set: function(e3) { - this._contactList = this.reviveItem(e3, r2); - } }, defaultWrapupCode: { enumerable: true, get: function() { - return this._defaultWrapupCode; - }, set: function(e3) { - this._defaultWrapupCode = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 20391: (e2, t2, i2) => { + e2.exports = s, e2.exports.generate = s, e2.exports.seed = function(t3) { + return n2.seed(t3), e2.exports; + }, e2.exports.worker = function(t3) { + return a = t3, e2.exports; + }, e2.exports.characters = function(e3) { + return void 0 !== e3 && n2.characters(e3), n2.shuffled(); + }, e2.exports.isValid = r; + }, 48905(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getDisplayInfoForComponent = function(e3) { - var t3, i3; - switch (e3.formComponentType) { - case "ListPicker": { - const o = null === (i3 = null === (t3 = e3.listPicker.sections) || void 0 === t3 ? void 0 : t3[0]) || void 0 === i3 ? void 0 : i3.multipleSelection; - return { id: e3.listPicker.id, displayName: o ? r2.form.formActionListPickerMultiSelect : r2.form.formActionListPickerSingle, type: o ? n2.globalTypes.stringCollection : n2.globalTypes.string }; - } - case "WheelPicker": - return { id: e3.wheelPicker.id, displayName: r2.form.formActionListPickerSingle, type: n2.globalTypes.string }; - case "Input": - return { id: e3.input.id, displayName: r2.form.formActionInput, type: n2.globalTypes.string }; - case "DatePicker": - return { id: e3.datePicker.id, displayName: r2.form.formActionDatePicker, type: n2.globalTypes.date }; - } + var n2 = i2(61897); + e2.exports = function(e3) { + return !(!e3 || "string" != typeof e3 || e3.length < 6 || new RegExp("[^" + n2.get().replace(/[|\\{}()[\]^$+*?.-]/g, "\\$&") + "]").test(e3)); }; - const n2 = i2(14394), r2 = i2(47957); - }, 20403: (e2, t2, i2) => { + }, 84346(e2, t2, i2) { + var n2 = i2(61154).random; + e2.exports = n2; + }, 81452(e2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.findQueueByIdActionType; + var t2 = 1; + e2.exports = { nextValue: function() { + return (t2 = (9301 * t2 + 49297) % 233280) / 233280; + }, seed: function(e3) { + t2 = e3; + } }; + }, 46894(e2, t2, i2) { + "use strict"; + var n2 = i2(29907), o = 0; + !n2.isMaster && n2.worker && (o = n2.worker.id), e2.exports = parseInt(process.env.NODE_UNIQUE_ID || o, 10); + }, 17604(e2, t2, i2) { + var n2; + !(function() { + "use strict"; + var o = { 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 r(e3) { + return (function(e4, t3) { + 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++) { + if (!i3.hasOwnProperty(s2[2][a2])) throw new Error(r('[sprintf] property "%s" does not exist', s2[2][a2])); + i3 = i3[s2[2][a2]]; + } + else i3 = s2[1] ? t3[s2[1]] : t3[_++]; + if (o.not_type.test(s2[8]) && o.not_primitive.test(s2[8]) && i3 instanceof Function && (i3 = i3()), o.numeric_arg.test(s2[8]) && "number" != typeof i3 && isNaN(i3)) throw new TypeError(r("[sprintf] expecting number but found %T", i3)); + switch (o.number.test(s2[8]) && (d = i3 >= 0), s2[8]) { + case "b": + i3 = parseInt(i3, 10).toString(2); + break; + case "c": + i3 = String.fromCharCode(parseInt(i3, 10)); + break; + case "d": + case "i": + i3 = parseInt(i3, 10); + break; + case "j": + i3 = JSON.stringify(i3, null, s2[6] ? parseInt(s2[6]) : 0); + break; + case "e": + i3 = s2[7] ? parseFloat(i3).toExponential(s2[7]) : parseFloat(i3).toExponential(); + break; + case "f": + i3 = s2[7] ? parseFloat(i3).toFixed(s2[7]) : parseFloat(i3); + break; + case "g": + i3 = s2[7] ? String(Number(i3.toPrecision(s2[7]))) : parseFloat(i3); + break; + case "o": + i3 = (parseInt(i3, 10) >>> 0).toString(8); + break; + case "s": + i3 = String(i3), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; + break; + case "t": + i3 = String(!!i3), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; + break; + case "T": + i3 = Object.prototype.toString.call(i3).slice(8, -1).toLowerCase(), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; + break; + case "u": + i3 = parseInt(i3, 10) >>> 0; + break; + case "v": + i3 = i3.valueOf(), i3 = s2[7] ? i3.substring(0, s2[7]) : i3; + break; + case "x": + i3 = (parseInt(i3, 10) >>> 0).toString(16); + break; + case "X": + i3 = (parseInt(i3, 10) >>> 0).toString(16).toUpperCase(); + } + o.json.test(s2[8]) ? m += i3 : (!o.number.test(s2[8]) || d && !s2[3] ? p = "" : (p = d ? "+" : "-", i3 = i3.toString().replace(o.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) { + if (s[e4]) return s[e4]; + for (var t3, i3 = e4, n3 = [], r2 = 0; i3; ) { + if (null !== (t3 = o.text.exec(i3))) n3.push(t3[0]); + else if (null !== (t3 = o.modulo.exec(i3))) n3.push("%"); + else { + if (null === (t3 = o.placeholder.exec(i3))) throw new SyntaxError("[sprintf] unexpected placeholder"); + if (t3[2]) { + r2 |= 1; + var a2 = [], l = t3[2], u = []; + if (null === (u = o.key.exec(l))) throw new SyntaxError("[sprintf] failed to parse named argument key"); + for (a2.push(u[1]); "" !== (l = l.substring(u[0].length)); ) if (null !== (u = o.key_access.exec(l))) a2.push(u[1]); + else { + if (null === (u = o.index_access.exec(l))) throw new SyntaxError("[sprintf] failed to parse named argument key"); + a2.push(u[1]); + } + t3[2] = a2; + } else r2 |= 2; + if (3 === r2) throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported"); + n3.push(t3); + } + i3 = i3.substring(t3[0].length); + } + return s[e4] = n3; + })(e3), arguments); } - get displayTypeName() { - return this._scriptingName; + function a(e3, t3) { + return r.apply(null, [e3].concat(t3 || [])); } - get isArchActionFindQueueById() { - return true; + var s = /* @__PURE__ */ Object.create(null); + t2.sprintf = r, t2.vsprintf = a, "undefined" != typeof window && (window.sprintf = r, window.vsprintf = a, void 0 === (n2 = function() { + return { sprintf: r, vsprintf: a }; + }.call(t2, i2, t2, e2)) || (e2.exports = n2)); + })(); + }, 27687(e2, t2, i2) { + "use strict"; + const n2 = i2(70857), o = i2(25884), r = process.env; + let a; + function s(e3) { + const t3 = (function(e4) { + if (false === a) return 0; + if (o("color=16m") || o("color=full") || o("color=truecolor")) return 3; + if (o("color=256")) return 2; + if (e4 && !e4.isTTY && true !== a) return 0; + const t4 = a ? 1 : 0; + if ("win32" === process.platform) { + const e5 = n2.release().split("."); + return Number(process.versions.node.split(".")[0]) >= 8 && Number(e5[0]) >= 10 && Number(e5[2]) >= 10586 ? Number(e5[2]) >= 14931 ? 3 : 2 : 1; + } + if ("CI" in r) return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((e5) => e5 in r) || "codeship" === r.CI_NAME ? 1 : t4; + if ("TEAMCITY_VERSION" in r) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION) ? 1 : 0; + if ("truecolor" === r.COLORTERM) return 3; + if ("TERM_PROGRAM" in r) { + const e5 = parseInt((r.TERM_PROGRAM_VERSION || "").split(".")[0], 10); + switch (r.TERM_PROGRAM) { + case "iTerm.app": + return e5 >= 3 ? 3 : 2; + case "Apple_Terminal": + return 2; + } + } + return /-256(color)?$/i.test(r.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM) || "COLORTERM" in r ? 1 : (r.TERM, t4); + })(e3); + return (function(e4) { + return 0 !== e4 && { level: e4, hasBasic: true, has256: e4 >= 2, has16m: e4 >= 3 }; + })(t3); + } + o("no-color") || o("no-colors") || o("color=false") ? a = false : (o("color") || o("colors") || o("color=true") || o("color=always")) && (a = true), "FORCE_COLOR" in r && (a = 0 === r.FORCE_COLOR.length || 0 !== parseInt(r.FORCE_COLOR, 10)), e2.exports = { supportsColor: s, stdout: s(process.stdout), stderr: s(process.stderr) }; + }, 13293(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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); } - get findResult() { - return this._findResult; + static get managedProperties() { + 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: [o.flowTypes.flowTypeEmailSend], type: r.expressionTypeNames.string, yamlOptions: m.createYamlOptions("message", (e3) => e3.setExportOrder(1)) }]; } } - t2.default = o; - }, 20407: (e2, t2, i2) => { + 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; + }, 2337(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), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends a.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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.user = null, this._loadModel(t3); + super(e3.parentFlow, e3), this._loadModel(t3); } getDetails() { - var e3; - 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(); + let e3 = this.disposition.text; + if (this.disposition.isLiteralMode) { + const t3 = o.default.find(h, { id: this.disposition.text }); + e3 = t3 ? t3.displayString : _.abortSurvey.noDisposition; + } + return new a.ActionDetails([_.abortSurvey.dispositionLabel], [e3]); } static get managedProperties() { - 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 }]; + 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 }]; } } - 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() { - Object.defineProperties(this, { _choices: { writable: true }, _chooser: { writable: true }, _customizeNoMatch: { writable: true }, _knowledgeSearchResult: { writable: true }, _noMatches: { writable: true }, _noMatchReprompts: { writable: true }, _paths: { writable: true }, _selection: { writable: true } }), u.baseConstructor.apply(this, arguments), this.paths || (this.paths = []); - } - o.extend(u, s, true), Object.defineProperties(u.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - u._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.choices, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), n2.each(this.paths, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), this.chooser?.pasteResolveOldToNewValues(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - u._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.choices, (t3) => { - t3.pasteReIdOrRename(e3); - }), n2.each(this.paths, (t3) => { - t3.pasteReIdOrRename(e3); - }), this.chooser?.pasteReIdOrRename(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteReIdOrRename(e3)), this.customizeNoMatch && this.customizeNoMatch.pasteReIdOrRename(e3), this.noMatchReprompts && this.noMatchReprompts.pasteReIdOrRename(e3); - } }, choices: { enumerable: true, get: function() { - return this._choices; - }, set: function(e3) { - this._choices = this.reviveArray(e3, a); - } }, chooser: { enumerable: true, get: function() { - return this._chooser; - }, set: function(e3) { - this._chooser = this.reviveItem(e3, l); - } }, noMatch: { enumerable: false, get: function() { - return this.noMatches && this.noMatches[0]; - }, set: function(e3) { - this.noMatches = [e3]; - } }, noMatches: { enumerable: true, get: function() { - return this._noMatches; - }, set: function(e3) { - this._noMatches = this.reviveArray(e3, l); - } }, customizeNoMatch: { enumerable: true, get: function() { - return this._customizeNoMatch; - }, set: function(e3) { - this._customizeNoMatch = this.reviveItem(e3, l); - } }, noMatchReprompts: { enumerable: true, get: function() { - return this._noMatchReprompts; - }, set: function(e3) { - this._noMatchReprompts = this.reviveItem(e3, l); - } }, paths: { enumerable: true, get: function() { - return this._paths; - }, set: function(e3) { - this._paths = this.reviveArray(e3, r2); - } }, selection: { enumerable: true, get: function() { - return this._selection; - }, set: function(e3) { - this._selection = this.reviveItem(e3, l); - } }, knowledgeSearchResult: { enumerable: true, get: function() { - return this._knowledgeSearchResult; - }, set: function(e3) { - this._knowledgeSearchResult = this.reviveItem(e3, l); - } } }), e2.exports = u; - }, 20498: (e2, t2, i2) => { + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: r.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; + }, 84896(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "assignedCustomerSegment"; - } - get displayTypeName() { - return "ArchValueAssignedCustomerSegment"; + const n2 = i2(31635), o = i2(99469), r = 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([p.flowOutcomes.flowOutcome, p.flowOutcomes.flowMilestone], [this.outcomeName, this.milestoneName]); } - get name() { + getFlowInfoSpecAnnotation() { var e3; - return null === (e3 = this._getAssignableProperty("customerSegment")) || void 0 === e3 ? void 0 : e3.name; + if (null === (e3 = this.milestoneName) || void 0 === e3 ? void 0 : e3.length) return `-> milestone ${this.getFlowInfoSpecNameLabel(this.milestoneName)} (outcome ${this.getFlowInfoSpecNameLabel(this.outcomeName)})`; } - get isArchValueAssignedCustomerSegment() { - return true; + static get managedProperties() { + return [{ property: "milestone", label: p.flowOutcomes.flowMilestone, options: o.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("milestone-selector").setDropdownPlaceholder(p.flowOutcomes.selectFlowMilestone).setUiPropertyOrder(1)), createDetails: u.NetworkBasedActionProperty.createCreateDetails("milestoneId", "milestoneName", r.milestoneManager, p.flowOutcomes.mustSelectFlowMilestone, p.flowOutcomes.flowMilestoneNotFound, null) }]; + } + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } } - t2.default = r2; - }, 20549: (e2, t2, i2) => { + _.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 = _; + }, 96275(e2, t2, i2) { "use strict"; - 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 { + const n2 = i2(31635), o = i2(96618), r = 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 = i2(97891), f = n2.__importDefault(i2(5730)), T = i2(47957); + class y extends f.default { constructor(e3, t3) { - super(e3, t3); - } - get botRunnableProperty() { - return this.botVersion; - } - get botCategoryProperty() { - return this.bot; + super(e3.parentFlow, e3), this._loadModel(t3); } - get botIntegrationProperty() { - return this.botIntegration; + get isAgenticAnythingElseAction() { + return true; } static get branchInfo() { - return [g.default.failure]; - } - get botRunnableNetworkGetCall() { - return c.getBotConnectorBotVersion; - } - get isBotConnectorAction() { - return true; + return [p.default.loop]; } static get managedProperties() { - 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; - } - getUniqueBotCategoryId() { - return this.botIntegration.idValue && this.bot.idValue ? `${this.botIntegration.idValue}:${this.bot.idValue}` : null; - } - getUniqueBotRunnableId() { - return this.botIntegration.idValue && this.bot.idValue && this.botVersion.idValue ? `${this.getUniqueBotCategoryId()}:${this.botVersion.idValue}` : null; - } - get botCompositeTag() { - return this.model.botCompositeTag; - } - set botCompositeTag(e3) { - this.model.botCompositeTag = e3; + return [{ label: T.loop.indexDataName, options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setAllowSecure(true).setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(T.loopUntil.noLoopIndexVariableSpecified).setUiPropertyOrder(1).setIninTestingField("currentLoopIndex")), property: "currentIndex", type: s.expressionTypeNames.integer }, { label: T.askCommon.voiceEndOfInputTimeout, options: u.ExpressionTypeDurationOptions.create((e3) => e3.setRequiredFlowChannelType(_.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDefaultText(r.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setDescriptionInfo(T.askCommon.voiceEndOfInputTimeout, T.askCommon.voiceEndOfInputTimeoutDescriptionAskActions).setFlowLevelDefaultSameModes(true).setScriptingPropertyName("voiceEndOfInputTimeout").setUiPropertyOrder(2).setDurationStyle(a.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * r.default.msPerSecond, true)), supportedFlowTypes: [o.flowTypes.flowTypeBot], property: "voiceEndOfInputTimeout", type: s.expressionTypeNames.duration }]; } - updateBotCategoryPropertyDependency() { + 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, T.agenticAnythingElse.onlyOneAllowedPerFlow); } - 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 && S.registerConsumer(this, P.botConnector.botName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, D.BotConnectorBot); + } + y.info = m.default.createActionInfo({ actionClass: y, canBeInTask: true, canBeTreeNode: false, navigatorAvailability: g.navigatorAvailability.required, helpTopic: h.helpTopics.actions.agenticAnythingElse, modelClass: l.AgenticAnythingElseActionModel, name: T.actions.agenticAnythingElse, scriptingName: "ArchActionAgenticAnythingElse" }), t2.A = y; + }, 74188(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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(97891), y = i2(95443), S = n2.__importDefault(i2(5730)), A = i2(47957); + class N extends S.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventListener(h.intentClassifierUpdated, this.updateAgenticIntentPaths.bind(this)), this.addAutoCleanedUpEventSinkWatch(h.lastPathActionRemoved, this, this._removeUnusedOutput.bind(this)); } - postProcessYamlConfig(e3, t3, i3) { - if (this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), !this.botIntegration.nameValue) return; - e3.botIntegration = {}; - const n3 = e3.botIntegration[this.botIntegration.nameValue] = {}; - if (!this.botName) return void o.default.ensureYamlNoneTrue(n3); - const r3 = n3[this.botName] = {}; - if (!this.versionName) return void o.default.ensureYamlNoneTrue(r3); - const a2 = r3[this.versionName] = {}; - this.commonBotPostProcessYamlConfig(e3, a2); + _removeUnusedOutput(e3, t3) { + var i3, n3; + (null == t3 ? void 0 : t3.isDynamicBranch) && this.getOptionalBranchInfo(t3.id) && ((null === (n3 = null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.intentClassifierData) || void 0 === n3 ? void 0 : n3.hasLiveOutputId(t3.id)) || this.removeOptionalBranchInfoById(t3.id, false)); } - getAdditionalParams() { - return new d.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); + static get branchInfo() { + return [p.default.failure, p.default.timeout, p.default.maxNoInputsOptional, p.default.maxNoMatchesOptional]; } - get supportsInputsOutputs() { + get isAgenticAskForIntentAction() { return true; } - _setBotCategoryProperties(e3) { - e3 && (this.botCategoryProperty.nameValue = e3.botName, this.botCategoryProperty.idValue = e3.botId); - } - _setBotIntegrationProperties(e3) { - e3 && (this.botIntegrationProperty.idValue = e3.integrationId); + get supportsCustomOutputPaths() { + return true; } - setBotCategoryByViewModel(e3) { - super.setBotCategoryByViewModel(e3); - const t3 = this.botIntegrationProperty.configListManager, i3 = this.botCategoryProperty.configListManager; - 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); + static get managedProperties() { + return [(0, y.createBargeInManagedProperty)(10, A.speechToText.recognitionParams.speechRecognitionParameters), { label: A.askCommon.voiceEndOfInputTimeout, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setRequiredFlowChannelType(_.channelTypeCall).setIninTestingField("voiceEndOfInputTimeout").setDefaultText(a.default.litDurationOneSecond).setAllowFlowLevelDefault(true).setDescriptionInfo(A.askCommon.voiceEndOfInputTimeout, A.askCommon.voiceEndOfInputTimeoutDescriptionAskActions).setFlowLevelDefaultSameModes(true).setScriptingPropertyName("voiceEndOfInputTimeout").setUiPropertyOrder(20).setUiPropertyGroup(A.speechToText.recognitionParams.speechRecognitionParameters).setDurationStyle(s.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true).setMaxDur(10 * a.default.msPerSecond, true)), supportedFlowTypes: [o.flowTypes.flowTypeBot], property: "voiceEndOfInputTimeout", type: l.expressionTypeNames.duration }]; } - get yamlNoBotRunnablePropName() { - return "noBotIntegration"; + initializeDesignTime() { + super.initializeDesignTime(), this.updateAgenticIntentPaths(); } - _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)); - } - }) }); + getConfiguration(e3, t3) { + const i3 = super.getConfiguration(e3, t3); + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = i3.agenticAskForIntent, o2 = { agenticAskForIntent: { name: n3.name } }, a2 = o2.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) { + const n4 = this.branches.some((e4) => e4.categoryId === i4.id); + if (i4.isDynamicBranch && n4) { + const n5 = {}; + for (const o3 of this.branches) if (o3.categoryId === i4.id) { + const i5 = o3.getConfiguration(e3, t3) || {}; + r.default.ensureYamlNoneTrue(i5), n5[o3.label] = i5; + } + r.default.ensureYamlNoneTrue(n5), s2[i4.label] = n5; + } else if (i4.isDynamicBranch && !i4.categoryId) { + const n5 = i4.getConfiguration(e3, t3); + s2[i4.label] = n5 || {}, r.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 || {}, r.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), r.default.ensureYamlNoneTrue(o2), o2; } - super._configureFromModel(e3, t3, i3); - } - } - 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); - } - i2(74817).extend(n2, "ClipboardManifestItemMenuModel", true), e2.exports = n2; - }, 20611: (e2, t2, i2) => { - const n2 = i2(28730), { endTaskActionType: r2 } = i2(30801); - function o() { - this.pathReference = void 0, this.pathName = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.pathReference = e3.pasteResolveOldIdToNewId(this.pathReference); - } } }), e2.exports = o; - }, 20650: (e2) => { - e2.exports = { expression: { AR_CT_AUDIO: "Audio", AR_CT_DSC_AUDIO: "Contains non type casting Audio functions.", AR_CT_CAST: "Type Cast", AR_CT_DSC_CAST: "Contains functions that cast values from one type to another type.", AR_CT_COMPARISON: "Comparison", AR_CT_DSC_COMPARISON: "Contains operators and functions that compare values.", AR_CT_COMPLEX: "Complex", AR_CT_DSC_COMPLEX: "Contains generic complex value related functions.", AR_CT_DTM: "DateTime", AR_CT_DSC_DTM: "Contains DateTime related functions.", AR_CT_EMAIL: "Email", AR_CT_DSC_EMAIL: "Contains Email related functions.", AR_CT_FINANCIAL: "Financial", AR_CT_DSC_FINANCIAL: "Contains financial related functions.", AR_CT_LIST: "List", AR_CT_DSC_LIST: "Contains functions applicable to collections.", AR_CT_LOGICAL: "Logical", AR_CT_DSC_LOGICAL: "Contains logical functions like And, Or and If.", AR_CT_LANGUAGE: "Language", AR_CT_DSC_LANGUAGE: "Contains language related functions.", AR_CT_JSON: "JSON", AR_CT_DSC_JSON: "Contains JSON related functions.", AR_CT_MATHEMATICAL: "Mathematical", AR_CT_DSC_MATHEMATICAL: "Contains mathematical functions like Round, Sum, mathematical operators including bitwise operators.", AR_CT_OPERATORS: "Operators", AR_CT_DSC_OPERATORS: "Contains equality, comparison, math and unary operators.", AR_CT_PROMPT: "Prompt", AR_CT_DSC_PROMPT: "Contains Prompt related functions.", AR_CT_SEARCH: "Search", AR_CT_DSC_SEARCH: "Contains search functions that allow for lookups.", AR_CT_STATISTICAL: "Statistical", AR_CT_DSC_STATISTICAL: "Contains statistical functions like Average.", AR_CT_SURVEY: "Survey", AR_CT_DSC_SURVEY: "Contains voice survey related functions.", AR_CT_TEXT: "Text", AR_CT_DSC_TEXT: "Contains functions that work with strings.", AR_CT_UNARY: "Unary", AR_CT_DSC_UNARY: "Contains negation and Boolean not operators." } }; - }, 20692: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(31824)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseVariableCollection"; - } - setInitialValueEmptyCollection() { - this.initialValue.setNoValue(); - } - } - t2.default = r2; - }, 20695: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyOutcome"; - } - get id() { - } - get description() { - } - get displayName() { - } - get version() { - } - get createdDateUtc() { - } - get modifiedDateUtc() { - } - get isActive() { + return i3; } - get displayTypeName() { - return "ArchValueJourneyOutcome"; + updateAgenticIntentPaths(e3) { + var t3, i3, n3; + if ((null == e3 ? void 0 : e3.length) && (null === (t3 = this.parentFlow) || void 0 === t3 ? void 0 : t3.id) !== e3) return; + const o2 = null === (n3 = null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.intentClassifierData) || void 0 === n3 ? void 0 : n3.categories; + if (!o2 || 0 === o2.length) return void m.switchToNewAgenticIntentPaths(this, []); + const r2 = m.translateHierarchicalRoutesToBranchItems(this, o2); + m.switchToNewAgenticIntentPaths(this, r2); } - get isArchValueJourneyOutcome() { - return true; + validate(e3) { + var t3, i3; + if (super.validate(e3), e3.isDeep && this.updateAgenticIntentPaths(), this.isDisabled) return; + const n3 = d.actionRegistrationService.getActionIdsForActionType(this.parentFlow, this.info.typeId); + n3 && n3.length > 1 ? e3.addError(this, A.agenticAskForIntent.onlyOneAllowedPerFlow) : (null === (i3 = null === (t3 = this.parentFlow) || void 0 === t3 ? void 0 : t3.intentClassifierData) || void 0 === i3 ? void 0 : i3.hasCategories) ? this.branches.some((e4) => e4.isDynamicBranch && !e4.isDisabled) || e3.addError(this, A.agenticAskForIntent.mustEnableOneCategoryOrIntent) : e3.addError(this, A.agenticAskForIntent.mustHaveOneCategory); } } - t2.default = r2; - }, 20730: (e2, t2, i2) => { - const n2 = i2(10438); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "LexV2AliasList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 20812: (e2, t2, i2) => { + N.info = f.default.createActionInfo({ actionClass: N, canBeInTask: true, navigatorAvailability: T.navigatorAvailability.required, helpTopic: g.helpTopics.actions.agenticAskForIntent, modelClass: u.AgenticAskForIntentActionModel, name: A.actions.agenticAskForIntent, scriptingName: "ArchActionAgenticAskForIntent" }), t2.A = N; + }, 25575(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3), e3.defaultAbortMessage && (this._defaultAbortMessage = this.coreFactory.createArchWrapper(e3.defaultAbortMessage)); - } - get displayTypeName() { - return "ArchSettingsEmailSendFlow"; - } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); + const n2 = i2(31635), o = i2(80428), r = 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); } - get isArchSettingsEmailSendFlow() { - return true; + _getPossibleErrors() { + return l.assignCustomerSegmentFailureReasons; } - get defaultAbortMessage() { - return this._defaultAbortMessage; + 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).setAllowNull(false)), property: "externalContactId", type: o.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).facets.setAllowNull(false)), property: "customerSegment", type: o.expressionTypeNames.customerSegment }]; } } - t2.default = r2; - }, 20815: (e2, t2, i2) => { + _.info = c.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: u.helpTopics.actions.assignCustomerSegment, modelClass: r.AssignCustomerSegmentActionModel, name: p.actions.assignCustomerSegment, scriptingName: "ArchActionAssignCustomerSegment" }), t2.A = _; + }, 14897(e2, t2, i2) { "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), c = o.__importDefault(i2(7401)); - class d extends a.BaseFailureOutputsActionModel { - constructor(e3) { - super(e3), this.__type = d.__type, (0, u.makeUnenumerable)(this, "_skillExpressionFilters"), (0, u.makeUnenumerable)(this, "_skillExpressionFiltersResult"); - } - pasteReIdOrRename(e3) { - var t3, i3; - super.pasteReIdOrRename(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.skillExpressionFiltersResult) || void 0 === i3 || i3.pasteReIdOrRename(e3); - } - pasteResolveOldToNewValues(e3) { - var t3, i3; - super.pasteResolveOldToNewValues(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.skillExpressionFiltersResult) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3); - } - get skillExpressionFilters() { - return this._skillExpressionFilters; - } - set skillExpressionFilters(e3) { - this._skillExpressionFilters = this.reviveItem(e3, c.default); - } - get skillExpressionFiltersResult() { - return this._skillExpressionFiltersResult; + const n2 = i2(31635), o = i2(12179), r = 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 r.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 }]; } - set skillExpressionFiltersResult(e3) { - this._skillExpressionFiltersResult = this.reviveItem(e3, c.default); + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } } - 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) => { + p.info = s.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.audioMonitoring, modelClass: i2(89127), name: d.actions.audioMonitoring, scriptingName: "ArchActionAudioMonitoring", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 97883(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(4861), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.scheduleManager); - } - get _globalTypeName() { - return "schedule"; - } - get displayTypeName() { - return "ArchValueSchedule"; - } - get isArchValueSchedule() { - return true; - } - setLiteralByScheduleIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleId", "setLiteralByScheduleIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByScheduleIdAsync", t3, this)); - }); - } - setLiteralByScheduleNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleName", "setLiteralByScheduleNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByScheduleNameAsync", t3, this)); - }); - } - } - t2.default = s; - }, 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), 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; - } - canStubFlowType(e3) { - const t3 = null == e3 ? void 0 : e3.toLowerCase(); - if (!t3) return this._archFactoryFlows.logError("no flow type was provided to the canStubFlowType function."), false; - if (!s.default.getIsValidFlowType(t3)) return this._archFactoryFlows.logError(`the flow type '${t3}' is not a valid flow type.`), false; - if (!s.default.getFlowTypeIsAvailable(t3)) return this._archFactoryFlows.logError(`the flow type '${t3}' is not available in the organization.`), false; - if (!s.default.getDefinitionForFlowType(t3).isCreatable) return this._archFactoryFlows.logError(`the flow type '${t3}' is not creatable in the organization.`), false; - switch (t3) { - case r2.flowTypes.flowTypeBot: - case r2.flowTypes.flowTypeDigitalBot: - return (0, a.isFeatureAvailable)(y.default.botFlowsBotsCallingBots) || (0, a.isFeatureAvailable)(y.default.flowStubbing); - case r2.flowTypes.flowTypeInboundCall: - case r2.flowTypes.flowTypeSecureCall: - return true; - case r2.flowTypes.flowTypeVoicemail: - return this._archFactoryFlows.logError("voicemail flows cannot be stubbed because only have a single voicemail flow is allowed in an organization."), false; - case r2.flowTypes.flowTypeInboundChat: - return false; - default: - return (0, a.isFeatureAvailable)(y.default.flowStubbing); - } - } - createStubFlowAsync(e3, t3, i3, o2, a2) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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, 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 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) { - var i3; - switch (e3) { - case r2.flowTypes.flowTypeVoiceSurvey: - (null == t3 ? void 0 : t3.surveyForm) || this._archFactoryFlows.logErrorAndThrow("a survey form must be specified when creating a voice survey stub flow"); - break; - 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: ${O.default.FLOW_TYPES_ALL.join(", ")}`); - const t4 = s.default.getDefinitionForFlowType(e4); - if (!t4 || !t4.isEmbeddable || !t4.isAvailable) { - const t5 = O.default.FLOW_TYPES_ALL.filter((e5) => { - const t6 = s.default.getDefinitionForFlowType(e5); - return t6 && t6.isAvailable && t6.isEmbeddable; - }); - this._archFactoryFlows.logErrorAndThrow(`the flow type '${e4}' cannot be used as a compatible flow type when creating a common module stub flow. Available compatible flow types are: ${t5.join(", ")}`); - } - } - break; - case r2.flowTypes.flowTypeWorkitem: - (null == t3 ? void 0 : t3.worktype) || this._archFactoryFlows.logErrorAndThrow("a worktype must be specified when creating a workitem stub flow"); - } - } - _buildCreationData(e3, t3, i3) { - var n3; - switch (e3) { - case r2.flowTypes.flowTypeBot: - case r2.flowTypes.flowTypeDigitalBot: { - const e4 = (null === (n3 = null == i3 ? void 0 : i3.variables) || void 0 === n3 ? void 0 : n3.filter((e5) => e5.name.startsWith("Slot."))) || []; - return e4.length ? this._createStubNluData(t3, e4) : void 0; - } - case r2.flowTypes.flowTypeVoiceSurvey: - return { surveyForm: { name: null == i3 ? void 0 : i3.surveyForm } }; - case r2.flowTypes.flowTypeWorkitem: - return { worktype: { name: null == i3 ? void 0 : i3.worktype } }; - default: - return; - } - } - _performFlowTypeSpecificSetup(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - switch (e3) { - case r2.flowTypes.flowTypeBot: - case r2.flowTypes.flowTypeDigitalBot: - case r2.flowTypes.flowTypeVoice: - this._processBotSlotSettings(t3, i3); - break; - case r2.flowTypes.flowTypeInboundCall: - case r2.flowTypes.flowTypeSecureCall: - this._setStartingTask(t3); - break; - case r2.flowTypes.flowTypeOutboundCall: - const e4 = t3; - yield e4.settingsOutboundCall.setContactListLiteralByContactListNameAsync(null == i3 ? void 0 : i3.contactList), yield e4.settingsOutboundCall.defaultWrapupCode.setLiteralByWrapupCodeNameAsync(null == i3 ? void 0 : i3.wrapupCode), this._setStartingTask(t3); - } - this._addSupportedLanguages(t3, i3); - }); - } - _processBotSlotSettings(e3, t3) { - var i3; - 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 = O.default.CAPTURE_TYPES.multiple); - } - } - _addSupportedLanguages(e3, t3) { - var i3; - const n3 = null == t3 ? void 0 : t3.supportedLanguages; - if (!(null == n3 ? void 0 : n3.length) || !e3.supportsLanguages) return; - 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 = C.default.getByLanguageTag(t4); - i4 && e3.addFlowSupportedLanguage(i4); - } - } - _setupInitialAudio(e3) { - e3.initialAudio && e3.initialAudio.setDefaultCaseExpression('ToAudioTTS("stub")'); + const n2 = i2(31635), o = i2(96618), r = 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(r.builderIds.parts.genericCommunication), supportedFlowTypes: [o.flowTypes.flowTypeBot, o.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(r.builderIds.parts.genericCommunication), supportedFlowTypes: [o.flowTypes.flowTypeBot, o.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: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("customizeNoInput", (e3) => e3.setSkipProperty(true)), property: "customizeNoInput", type: l.expressionTypeNames.boolean }, { label: h.askCommon.noMatch, options: m.createNoMatchOptions().setDefaultToBuilderId(r.builderIds.parts.genericCommunication).setUiPropertyGroup(h.askCommon.invalidResponse), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: m.createNoMatchOptions().setDefaultToBuilderId(r.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(r.builderIds.parts.genericCommunication).setUiPropertyGroup(h.askCommon.invalidResponse), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(r.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 }]; } - _setStartingTask(e3) { - const t3 = e3._getCoreViewModel().createTask(); - t3.name = "Initial Task"; - const i3 = this._archFactoryFlows.coreFactory.createArchWrapper(t3); - e3.setStartingTask(i3); + constructor(e3) { + super(e3.parentFlow, e3); } - _addTerminatingActionsToFlow(e3, t3) { - this._addTerminatingAction(e3, t3.startUpObject._getCoreViewModel()), t3.definition.supportsPeriodicState && this._addTerminatingAction(e3, t3.periodicState._getCoreViewModel()); + setNewInstanceDefaults(e3) { + var t3, i3; + super.setNewInstanceDefaults(e3), null === (t3 = this.noInput.builder) || void 0 === t3 || t3.deleteAllParts(), null === (i3 = this.noMatch.builder) || void 0 === i3 || i3.deleteAllParts(); } - _getSlotNameFromSlotVariableName(e3) { - let t3 = e3.replace("Slot.", ""); - return t3.endsWith("_Collection") && (t3 = t3.substring(0, t3.length - 11)), t3; + initializeDesignTime() { + super.initializeDesignTime(), this._updatePropertiesOOS(); } - _createStubNluData(e3, t3) { - const i3 = { nluDomainVersion: { intents: [], entities: [], entityTypes: [], language: null == e3 ? void 0 : e3.tag.toLowerCase(), languageVersions: {} } }; - return t3.forEach(({ name: e4, type: t4 }) => { - 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, 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; + setNewInstanceNoInputText(e3) { + return this.noInput.setCommunicationBuilderText(e3); } - _createStubFlowVariable(e3, t3, i3, n3) { - var r3; - 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); - 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; + setNewInstanceNoMatchText(e3) { + return this.noMatch.setCommunicationBuilderText(e3); } - _configureStubFlowVariables(e3, t3, i3) { - if ((null == t3 ? void 0 : t3.length) && e3) for (const n3 of t3) { - const t4 = { isInput: n3.isInput || false, isOutput: n3.isOutput || false, dataType: n3.type }; - this._createStubFlowVariable(e3, n3.name, t4, i3); - } + getConfiguration(e3, t3) { + const i3 = super.getConfiguration(e3, t3); + return this.parentFlow.isDigitalBotFlow && (i3.noInputReprompts = void 0, i3.noInputs = void 0), i3; } - _getDefaultLanguageAndDivision(e3, t3) { - 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 }; + _updatePropertiesOOS() { + this.noInput.outOfService = this._isNoInputOOS(), this.noInputReprompts.outOfService = this._isNoInputRepromptsOOS(), this.noMatch.outOfService = this._isNoMatchOOS(), this.noMatchReprompts.outOfService = this._isNoMatchRepromptsOOS(); } - _addTerminatingAction(e3, t3) { - switch (e3) { - case r2.flowTypes.flowTypeCommonModule: - 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(m.exitBotFlowActionType, t3.topAction).name = b.actions.exitBotFlow; - break; - case r2.flowTypes.flowTypeInQueueEmail: - case r2.flowTypes.flowTypeInQueueShortMessage: - t3.addAction(_.endStateActionType, t3.topAction).name = b.actions.endState; - break; - case r2.flowTypes.flowTypeInQueueCall: { - 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: - case r2.flowTypes.flowTypeInboundEmail: - case r2.flowTypes.flowTypeInboundShortMessage: - case r2.flowTypes.flowTypeOutboundCall: - case r2.flowTypes.flowTypeSecureCall: - case r2.flowTypes.flowTypeVoiceSurvey: - t3.addAction(c.disconnectActionType, t3.topAction).name = b.actions.disconnect; - break; - case r2.flowTypes.flowTypeSurveyInvite: { - 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 = b.actions.endWorkflow; - break; - case r2.flowTypes.flowTypeWorkitem: - 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}'`); - } + _isNoInputOOS() { + return this.customizeNoInput.model.text === a.default.true; } - applyStubVariablesToFlow(e3, t3) { - (null == t3 ? void 0 : t3.length) && e3 && (this._processVariables(e3, t3), this._processBotSlotSettings(e3, { division: "", defaultLanguage: "", variables: t3 })); + _isNoInputRepromptsOOS() { + return this.customizeNoInput.model.text !== a.default.true; } - _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, N.scopes.common), r3.length && this._configureStubFlowVariables(e3, r3, N.scopes.slot); + _isNoMatchOOS() { + return this.customizeNoMatch.model.text === a.default.true; } - _getFlowDefinitionForFlowType(e3) { - return this._archFactoryFlows.coreFactory.createArchWrapper(s.default.getDefinitionForFlowType(e3)); + _isNoMatchRepromptsOOS() { + return this.customizeNoMatch.model.text !== a.default.true; + } + propertyChanged(e3) { + var t3, 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 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 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 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.ArchFlowStubbing = E, t2.archFlowStubbing = new E(); - }, 21030: (e2, t2, i2) => { + t2.default = m, m.className = "BaseActionNoInputNoMatchViewModel"; + }, 47163(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUserPromptActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(57606)), r = n2.__importDefault(i2(97883)), a = i2(47957), s = i2(3916); + class l extends r.default { constructor(e3) { - super(e3), this.__type = o.__type; + super(e3); + } + _initializeDesignTime() { + super._initializeDesignTime(), this._initializeErrorBindings(); + } + _initializeErrorBindings() { + this._createErrorSchema().properties.forEach((e3) => { + let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); + t3 || (t3 = s.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), s.setExpressionWithSchemaProperty(t3.value, e3); + }); + } + _createErrorSchema() { + const e3 = new o.default({ properties: { errorType: { type: "string", description: a.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: a.errorSchema.errorMessageDescription } } }, false), t3 = this._getPossibleErrors(); + return t3 && t3.length && e3.setErrorTypeAllowableValues(t3.sort()), e3; + } + static get managedProperties() { + return [{ dataList: true, label: a.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", yamlOptions: l.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(120)) }]; + } + _getPossibleErrors() { + return null; } } - t2.FindUserPromptActionModel = o, o.__type = r2.findUserPromptActionType, o.registerType(); - }, 21042: (e2, t2, i2) => { + l.className = "BaseActionNoInputNoMatchWithFailureOutputsViewModel", t2.default = l; + }, 5730(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allListManagers = t2.BootstrapListManager = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299), o = i2(24032), a = i2(97361), s = (0, o.getTopic)("bootstrapListManager"), l = []; - t2.allListManagers = l; - class u extends r2.BaseClass { + Object.defineProperty(t2, "__esModule", { value: true }), t2.isAction = function(e3) { + return null == e3 ? void 0 : e3.isAction; + }; + const n2 = i2(31635), o = i2(96618), r = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importStar(i2(24032)), l = i2(46744), u = n2.__importStar(i2(36781)), c = n2.__importStar(i2(71314)), d = n2.__importDefault(i2(41510)), p = i2(69453), _ = i2(8712), h = i2(8712), m = i2(8712), g = n2.__importDefault(i2(22917)), f = i2(84464), T = n2.__importStar(i2(59288)), y = n2.__importStar(i2(12847)), S = n2.__importStar(i2(17498)), A = n2.__importStar(i2(99434)), N = n2.__importStar(i2(10798)), v = n2.__importStar(i2(27099)), I = i2(58155), C = i2(58155), O = n2.__importStar(i2(58380)), b = i2(26847), E = n2.__importStar(i2(66381)), w = n2.__importStar(i2(98442)), R = n2.__importStar(i2(48565)), D = i2(30801), P = i2(48641), M = i2(48641), F = i2(50474), L = i2(50474), x = i2(50474), k = i2(50474), V = i2(50474), U = n2.__importDefault(i2(59805)), B = i2(12457), G = n2.__importDefault(i2(41197)), j = i2(1910), q = i2(1910), W = i2(1910), Y = i2(1910), H = i2(1910), J = i2(1910), $ = i2(1910), z = n2.__importDefault(i2(33667)), K = i2(60137), Q = i2(57141), X = i2(11276), Z = i2(47957); + class ee extends G.default { constructor(e3, t3) { - super(), this.dependencyType = e3, this._networkModel = t3, l.push(this), this.items = {}, this.dependencyType && this._networkModel && a.registerObject(this.dependencyType.value, this._networkModel); + 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) || y.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) || y.error(`invalid parent - id: ${null == t3 ? void 0 : t3.id} - className: ${null == t3 ? void 0 : t3.className}`), this._setTopParent(); } - get className() { - return "BootstrapListManager"; + _loadModel(e3) { + e3 ? (super._loadModel(e3), this.uiMetaData ? a.default.isBoolean(this.collapsed) || (this.collapsed = false) : this.uiMetaData = { collapsed: false }, R.registerNode(this), this._overrideProperties(), X.loadBranches(this), this.updateDependencies(), this.info && this.info.actionIsAlwaysSecure && this.setAlwaysSecure(), f.actionRegistrationService.registerItem(this), this.updateTraceTopic()) : this.uiMetaData = { collapsed: false }; } - get isBootstrapListManager() { + get amObjectEventSink() { + return false; + } + get amObjectEventEmitter() { return true; } - getItemById(e3) { - return this.items[e3]; + static get branchInfo() { + return []; } - getItemByName(e3) { - return n2.default.find(this.items, (t3) => t3.name.toLocaleLowerCase() === e3.toLocaleLowerCase()); + get branchInfos() { + return this.constructor.branchInfo; } - updateItem(e3) { - if (!e3.id) return null; - const t3 = this.items[e3.id]; - return t3 ? t3.updateItem ? t3.updateItem(e3) : (s.errorWithStack(null, `updateItem not implemented for viewmodel class '${t3.className}' with id '${t3.id}' from manager '${this.className}'`), null) : null; + get branchInfoList() { + return a.default.union(this.branchInfos, this.optionalBranchInfo); } - removeItemWithId(e3) { - delete this.items[e3]; + get isBaseAction() { + return true; } - removeItemWithName(e3) { - const t3 = n2.default.findWhere(this.items, { name: e3 }); - t3 && delete this.items[t3.id]; + get category() { + return this.info.category; } - resetState() { - this.items = {}; + get canCollapse() { + return !!this.topParent.isTaskLike; } - } - t2.BootstrapListManager = u; - }, 21044: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.VideoType = void 0; - 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 collapsed() { + return this.uiMetaData || (this.uiMetaData = { collapsed: false }), this.uiMetaData.collapsed; } - get className() { - return "VideoType"; + set collapsed(e3) { + this.uiMetaData ? this.uiMetaData.collapsed = e3 : this.uiMetaData = { collapsed: e3 }, (0, l.markCollapseToggled)(this), u.emitter.emit(u.collapseExpand, this); } - getPlutusMimeTypes() { - return u.VIDEO_MIME_TYPES_SET; + collapse(e3) { + return this.expandOrCollapse(true, e3); } - getPlutusSupportedFileExtensions() { - return c.VIDEO_SUPPORTED_EXTENSIONS; + 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), g.default.create(n3 + e3, t3); } - getPlutusMediaPlaceholderText() { - return g.video.videoPlaceholder; + expand(e3) { + return this.expandOrCollapse(false, e3); } - getPlutusSupportedFileTypesText() { - return (0, r2.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + expandAncestors() { + const e3 = this.parent; + return !(!e3 || !a.default.isFunction(e3.expandOrCollapse)) && e3.expandOrCollapse(false, true); } - canConvertLitToExpression(e3) { - return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToVideo", e3, [h.globalTypes.responseAsset, h.globalTypes.video]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); + expandOrCollapse(e3, t3) { + 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 && a.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); + } + return i3; } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `ToVideo(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; + *allChildren() { + for (const e3 of this.branches) yield e3, yield* e3.allChildren(); } - _getLiteralValueOfExpression() { - return ""; + _getDetailsForManagedProperty(e3, t3) { + var i3; + 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 = A.getDisplayText(t4); + if (i4) return { label: t4.label, value: i4 }; + } else if (e3.isDataPairList) ; + else if (e3.isNameValuePairViewModel) { + let n3, o2; + if (o2 = this.wrapWithBrackets(A.getDisplayText(e3.expression), e3.expression.isBuilderMode), n3 = this.wrapWithBrackets(A.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 = o2, o2 = e4; + } + return { label: `${t3 + 1}`, value: (0, r.sprintf)(d.default.updateVariables.labelValue, n3, o2) }; + } } - get supportsLiteralEditor() { - return (0, a.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); + wrapWithBrackets(e3, t3) { + return t3 ? `<${e3}>` : e3; } - get listManager() { - return s.videoManager; + getDetails() { + return this.getDetailsForProperties(Object.values(this.managedPropertyViewModels)); } - createExpressionOptionClass() { - return new o.ExpressionTypeVideoOptions(); + getDetailsForProperties(e3) { + 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; + let i3; + return i3 = t4.isExpressionList ? t4.expressions : t4.isNameValuePairs ? t4.items : [t4], i3.forEach((t5, i4) => { + if (3 === e4.labels.length) return; + const n3 = this._getDetailsForManagedProperty(t5, i4); + n3 && (e4.labels.push(n3.label), e4.values.push(n3.value)); + }), e4; + }, { labels: [], values: [] }).value(); + return new B.ActionDetails(t3.labels, t3.values); } - } - 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), 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 }]; + getFlowInfoSpecLabel() { + return this.info.name; } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + getFlowInfoSpecAnnotation() { } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getFlowInfoSpecDependencyAnnotation() { } - get _globalTypeName() { - return "externalContactCollection"; + getFlowInfoSpecTerminalKind() { + const e3 = this.terminationInfo; + return (null == e3 ? void 0 : e3.flow) ? I.flowInfoSpecTerminalKind.terminal : (null == e3 ? void 0 : e3.task) ? I.flowInfoSpecTerminalKind.endsTask : (null == e3 ? void 0 : e3.state) ? I.flowInfoSpecTerminalKind.endsState : void 0; } - get displayTypeName() { - return "ArchValueExternalContactCollection"; + getFlowInfoSpecNameLabel(e3) { + return (0, C.getFlowInfoSpecNameLabel)(e3); } - get isArchValueExternalContactCollection() { - return true; + 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; } - } - t2.default = r2; - }, 21095: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.EntityUtil = void 0; - const n2 = i2(14443), r2 = i2(30058), o = i2(65654); - t2.EntityUtil = class { - static getEntityTypeByName(e3, t3) { - return (null == e3 ? void 0 : e3.entityTypes) && t3 && e3.entityTypes.find((e4) => { - var i3; - return (null === (i3 = e4.name) || void 0 === i3 ? void 0 : i3.toLowerCase()) === t3.toLowerCase(); - }) || {}; + get hasChildren() { + for (let e3 = 0; e3 < this.branches.length; e3++) if (this.branches[e3].children.length > 0) return true; + return false; } - static getListTypeEntityTypeValueLabels(e3, t3, i3) { - if (!e3 || !t3 || !i3) return {}; - const r3 = this.getListTypeEntityTypeItem(t3, i3); - if ((0, n2.isEmptyObject)(r3)) return {}; - const o2 = r3.value, a = {}; - o2 && (a._default = o2, a[e3.language] = o2); - for (let e4 in r3.additionalLanguages) { - const t4 = r3.additionalLanguages[e4]; - a[e4.toLowerCase()] = t4.synonyms ? t4.synonyms[0] : o2; - } - return a; + get id() { + return this.model.id; } - static getListTypeEntityTypeByNameValueLabels(e3, t3, i3) { - return this.getListTypeEntityTypeValueLabels(e3, this.getEntityTypeByName(e3, t3), i3); + get isDisabled() { + return this._isDisabled; } - static getListTypeEntityTypeValueLabelForLanguage(e3, t3, i3, r3) { - if (!(e3 && t3 && r3 && i3 && this.isEntityTypeOfTypeList(t3))) return ""; - const o2 = this.getListTypeEntityTypeItem(t3, i3); - if ((0, n2.isEmptyObject)(o2)) return ""; - r3 = r3.toLowerCase(); - const a = o2.value; - if (r3 === e3.language.toLowerCase()) return a; - let s = {}; - for (let e4 in o2.additionalLanguages) e4.toLowerCase() === r3 && (s = o2.additionalLanguages[e4]); - return (0, n2.isEmptyObject)(s) ? a : s.synonyms[0] || a; + set isDisabled(e3) { + e3 !== this._isDisabled && (this._isDisabled = !!e3, a.default.each(this.branches, function(e4) { + e4.isDisabled = this._isDisabled; + }.bind(this))); } - static getListTypeEntityTypeByNameValueLabelForLanguage(e3, t3, i3, n3) { - return this.getListTypeEntityTypeValueLabelForLanguage(e3, this.getEntityTypeByName(e3, t3), i3, n3); + get isSingleBranchAction() { + return this.isLoopAction || this.isLoopUntilAction; } - static getEntities(e3) { - return (null == e3 ? void 0 : e3.entities) ? e3.entities : []; + get isReadOnly() { + return !this.parentFlow.info.currentUserCanEdit; } - static getEntityByName(e3, t3) { - return (null == e3 ? void 0 : e3.entities) && t3 && e3.entities.find((e4) => (null == e4 ? void 0 : e4.name.toLowerCase()) === t3.toLowerCase()) || {}; + getDisplayName() { + return this.name || (this.info ? this.info.name : ""); } - static getEntityNames(e3) { - var t3; - if (!e3) return []; - const i3 = []; - return null === (t3 = e3.entities) || void 0 === t3 || t3.forEach((e4) => { - i3.push(e4.name); - }), i3; + get nextAction() { + return this._nextAction; } - static getEntityTypeNames(e3) { - var t3; - if (!e3) return []; - const i3 = []; - return null === (t3 = e3.entityTypes) || void 0 === t3 || t3.forEach((e4) => { - i3.push(e4.name); - }), i3; + set nextAction(e3) { + e3 ? (this.model.nextAction = e3.id, this._nextAction = e3) : (this.model.nextAction = void 0, this._nextAction = null); } - static isEntityTypeOfType(e3, t3) { - var i3, n3; - return !(!e3 || !t3) && (null === (n3 = null === (i3 = null == e3 ? void 0 : e3.mechanism) || void 0 === i3 ? void 0 : i3.type) || void 0 === n3 ? void 0 : n3.toLowerCase()) === t3; + _overrideProperties() { + a.default.each(ee.getManagedProperties(this), function(e3) { + const t3 = (0, z.default)(this, e3); + t3 && (this.managedPropertyViewModels[e3.property] = t3, S.registerExpression(t3), e3.generatedPromptsDetails && (t3.__isGeneratedPrompt = true, this._generatedAudioExpressions.push(a.default.extend({ expression: t3, audioSequencer: new K(this, t3, e3.generatedPromptsDetails.sequenceDefinition) }, e3.generatedPromptsDetails)))); + }.bind(this)); } - static getEntityTypeFromEntity(e3, t3) { - return this.getEntityTypeByName(e3, null == t3 ? void 0 : t3.type); + addClipboardDependencies(e3) { + e3.copyCutProcessActionViewModel(this), a.default.each(this.managedPropertyViewModels, function(t3) { + t3.addClipboardDependencies(e3); + }.bind(this)), a.default.each(this.branches, function(t3) { + t3.addClipboardDependencies(e3); + }.bind(this)); } - static getListTypeEntityTypeByName(e3, t3) { - const i3 = this.getEntityTypeByName(e3, t3); - return this.isEntityTypeOfTypeList(i3) ? i3 : {}; + addOptionalBranchInfo(e3, t3) { + if (e3 && (this.optionalBranchInfo.push(e3), !t3)) return this._addBranch(e3); } - static getEntityTypeAllowableValues(e3) { - var t3; - if (!(null === (t3 = null == e3 ? void 0 : e3.mechanism) || void 0 === t3 ? void 0 : t3.items) || !this.isEntityTypeOfTypeList(e3)) return []; - const i3 = []; - return e3.mechanism.items.forEach((e4) => { - "string" == typeof e4.value && e4.value.length && i3.push(e4.value); - }), i3; + sortBranches() { + let e3 = false; + 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 && u.emitter.emit(u.branchesChanged); } - static getListTypeEntityTypeByNameAllowableValues(e3, t3) { - return e3 && t3 ? this.getEntityTypeAllowableValues(this.getEntityTypeByName(e3, t3)) : []; + removeOptionalBranchInfoById(e3, t3) { + 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); } - static getEntityTypeItemFromEntityTypeByName(e3, t3, i3) { - return e3 && t3 && i3 ? this.getListTypeEntityTypeItem(this.getEntityTypeByName(e3, t3), i3) : {}; + removeOptionalBranchInfoByLabel(e3) { + const t3 = this.getOptionalBranchInfoIndexByLabel(e3); + if (t3 < 0) return; + const i3 = this.optionalBranchInfo[t3]; + this.optionalBranchInfo.splice(t3, 1), this._removeBranch(i3); } - static getListTypeEntityTypeItem(e3, t3) { - var i3; - if (!e3 || !this.isEntityTypeOfTypeList(e3) || !t3) return {}; - if (e3.mechanism.items) { - t3 = t3.toLowerCase(); - const n3 = e3.mechanism.items; - for (let e4 = 0; e4 < n3.length; e4++) if ((null === (i3 = n3[e4].value) || void 0 === i3 ? void 0 : i3.toLowerCase()) === t3) return n3[e4]; - } - return {}; + get className() { + return "BaseActionViewModel"; } - static isEntityTypeOfTypeDynamicDateTime(e3) { - return this.isEntityTypeOfType(e3, r2.EntityTypeMechanismType.DynamicDateTime); + getYamlOptionsMap() { + const e3 = { name: g.default.create() }; + return a.default.each(ee.getManagedProperties(this), (t3) => { + a.default.isArray(t3.supportedFlowTypes) && !a.default.some(this.parentFlow.destinationFlowTypes, (e4) => t3.supportedFlowTypes.includes(e4)) || (e3[t3.property] = t3.yamlOptions || g.default.create(), t3.deprecatedYamlOptions && (e3[this.deprecatedViewModelMarker + t3.property] = t3.deprecatedYamlOptions)); + }), e3; } - static isEntityTypeOfTypeAI(e3) { - return this.isEntityTypeOfType(e3, r2.EntityTypeMechanismType.AI); + configureFromModel(e3, t3, i3) { + const o2 = Object.create(null, { configureFromModel: { get: () => super.configureFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + var a2, s2; + o2.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, P.deriveFlowYamlSupportState)(l2); + return u2 === M.flowYamlSupportState.notAvailable ? (i3.error((0, r.sprintf)(p.configureFromModel.actionFormatNotSupported, this.className, t3)), void (i3.continueProcessing = false)) : u2 === M.flowYamlSupportState.deprecated ? (i3.error((0, r.sprintf)(p.configureFromModel.actionDeprecatedForFormat, this.className, t3)), void (i3.continueProcessing = false)) : u2 === M.flowYamlSupportState.conditional && (null == l2 ? void 0 : l2.feature) && N.isFeatureUnavailable(l2.feature) ? (i3.error((0, r.sprintf)(p.configureFromModel.actionRequiresFeature, this.className, l2.feature, t3)), void (i3.continueProcessing = false)) : void (yield (0, $.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); + }))); + }); } - static isEntityTypeOfTypeDynamicList(e3) { - return this.isEntityTypeOfType(e3, r2.EntityTypeMechanismType.DynamicList); + _preProcessYamlConfig(e3, t3, i3) { } - static isEntityTypeOfTypeEnum(e3) { - return this.isEntityTypeOfType(e3, r2.EntityTypeMechanismType.Enum); + _configureFromModel(e3, t3, i3) { + var n3, o2, a2, s2, l2, u2; + const c2 = (0, H.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 === (o2 = this.model) || void 0 === o2 ? void 0 : o2.trackingId; + i3.reportActivity((0, h.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, m.getActionPropertyDisplayName)(this, "name"), propertyValue: c2 })); + } + const d2 = ee.getManagedProperties(this), g2 = /* @__PURE__ */ new Map(); + for (const e4 of d2) { + const t4 = e4.yamlOptions && e4.yamlOptions.propertyName ? e4.yamlOptions.propertyName : e4.property; + t4 && g2.set(t4, e4); + } + for (const [n4, o3] of Object.entries(e3)) { + if (ee.WELL_KNOWN_YAML_KEYS.has(n4)) continue; + const e4 = g2.get(n4); + if (!e4) { + i3.warn((0, r.sprintf)(p.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, J.withModelContext)(i3, n4, () => { + const r2 = this[e4.property]; + (0, Y.hasConfigureFromModel)(r2) && (e4.audio ? i3.debug(`Configuring AudioViewModel from YAML key '${n4}'.`) : i3.debug(`Configuring expression from YAML key '${n4}': ${JSON.stringify(o3)}.`), r2.configureFromModel(o3, 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, r.sprintf)(p.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, r2 = { 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, m.getActionPropertyDisplayName)(this, e4.property) }; + i3.consumeDeferSyncPropertySetActivity() ? i3.reportActivity((0, _.buildPropertyConfiguringActivityEvent)(r2)) : i3.reportActivity((0, h.buildPropertySetActivityEvent)(Object.assign(Object.assign({}, r2), { propertyValue: this._getPropertyDisplayValue(o3) }))); + } + } } - static isEntityTypeOfTypeList(e3) { - return this.isEntityTypeOfType(e3, r2.EntityTypeMechanismType.List); + _getPropertyDisplayValue(e3) { + let t3; + if ((0, x.isNullOrUndefined)(e3)) t3 = ""; + else if ((0, V.isString)(e3)) t3 = e3; + else if (a.default.isNumber(e3) || a.default.isBoolean(e3)) t3 = String(e3); + else if ((0, F.isArray)(e3)) t3 = `[${e3.length} items]`; + else if ((0, k.isObject)(e3)) { + const i3 = e3; + t3 = (0, V.isString)(i3.name) ? i3.name : (0, V.isString)(i3.id) ? i3.id : (0, V.isString)(i3.var) ? i3.var : (0, V.isString)(i3.lit) ? i3.lit : (0, V.isString)(i3.exp) ? i3.exp : JSON.stringify(e3); + } else t3 = String(e3); + return t3.length > 64 && (t3 = t3.substring(0, 64) + "\u2026"), t3; } - static isEntityTypeOfTypeRegex(e3) { - return this.isEntityTypeOfType(e3, r2.EntityTypeMechanismType.Regex); + _configureNestedActionsFromModel(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (t3 !== W.ModelFormat.FlowYaml && t3 !== W.ModelFormat.ChangeSet) return; + const n3 = e3.outputs; + if (!(0, q.isConfigureFromModelRecord)(n3)) return; + const o2 = n3; + for (const [e4, t4] of Object.entries(o2)) { + if (i3.isCancelled || !i3.continueProcessing) break; + "intents" !== e4 ? "paths" !== e4 && (0, q.isConfigureFromModelRecord)(t4) && (yield this._processOutputBranch(e4, t4, i3, `outputs[${e4}]`)) : this._claimsNestedOutputKey("intents") || i3.warn((0, r.sprintf)(p.configureFromModel.intentsUnderOutputsUnsupported, this.name || this.className)); + } + }); } - static isEntityTypeABuiltInType(e3) { - var t3, i3; - return null === (i3 = null === (t3 = null == e3 ? void 0 : e3.type) || void 0 === t3 ? void 0 : t3.toLowerCase()) || void 0 === i3 ? void 0 : i3.startsWith(r2.BuiltInEntityType.BuiltInPrefix); + _claimsNestedOutputKey(e3) { + return false; } - static getArchFlowSummaryNluDomainVersion(e3) { - return new o.SummaryUtil().getArchFlowSummaryNluDomainVersion(e3); + _processOutputBranch(e3, t3, i3, o2) { + 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, r.sprintf)(p.configureFromModel.outputCouldNotResolve, e3, this.name || this.className)); + this._applyOutputEnabledFromModel(n3, e3, t3, i3); + const a2 = (0, j.getConfigureFromModelRecords)(t3.actions, i3, `${o2}.actions`); + a2 && (yield n3.appendActionsFromModel(void 0, a2, i3, o2)); + }); } - static hasMinLengthForEntityType(e3) { - var t3; - return void 0 !== (null === (t3 = null == e3 ? void 0 : e3.mechanism) || void 0 === t3 ? void 0 : t3.minLength); + _applyOutputEnabledFromModel(e3, t3, i3, n3) { + const o2 = i3.enabled; + if ("boolean" != typeof o2) return; + if (this.parentFlow.isReadOnly) return void n3.warn((0, r.sprintf)(p.configureFromModel.outputToggleReadOnly, t3, this.name || this.className, o2)); + const a2 = !o2; + e3.outOfService !== a2 && (o2 && e3.isUnavailable ? n3.warn((0, r.sprintf)(p.configureFromModel.outputUnavailableCannotEnable, t3, this.name || this.className)) : e3.outOfService = a2); } - }; - }, 21224: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); + _resolveOrCreateOutputBranch(e3) { + const t3 = b.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 = T.createBranchItemDynamic(this.id, e3, null, false); + return this.addOptionalBranchInfo(n3); } - get _actionTypeId() { - return r2.participantRecordActionType; + getBranch(e3) { + return a.default.findWhere(this.branches, { id: e3 }); } - get displayTypeName() { - return this._scriptingName; + setBranchOutOfService(e3, t3) { + const i3 = this.getBranch(e3); + return !!i3 && (i3.outOfService = !!a.default.isUndefined(t3) || t3, true); } - get isArchActionEnableParticipantRecord() { - return true; + getBranchByLabel(e3, t3) { + return t3 ? a.default.find(this.branches, function(t4) { + return t4.label === e3 && "__" !== t4.id.substring(0, 2); + }) : a.default.findWhere(this.branches, { label: e3 }); } - } - t2.default = a; - }, 21270: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAudioConnectorBots = l, t2.getAudioConnectorBot = u; - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(33067)), a = n2.__importDefault(i2(36019)), s = r2.getTopic("audioConnectorApi"); - function l() { - return n2.__awaiter(this, void 0, void 0, function* () { - try { - const e3 = a.default.build(o.getAudioConnectorBots); - return yield e3.call(); - } catch (e3) { - throw s.exception(e3, "Error fetching audio connector bots:"), new Error("Failed to fetch audio connector bots."); - } - }); - } - function u(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - if (!e3) throw s.error("Invalid getAudioConnectorBot request parameters"), new Error("Invalid getAudioConnectorBot request parameters"); - const t3 = { integrationId: e3 }, i3 = a.default.build(o.getAudioConnectorBot).templateParams(t3); - return yield i3.call(); - }); - } - l.api = o.getAudioConnectorBots, u.api = o.getAudioConnectorBot; - }, 21273: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(37873)); - class a extends o.default { - constructor(e3) { - super(e3), this._coreFlowInfoViewModel = e3; + getOptionalBranchInfoIndexByLabel(e3) { + return a.default.findIndex(this.optionalBranchInfo, { label: e3 }); } - _getArchFlowInfoVersionForVersion(e3) { - if (r2.default.isObject(e3) && r2.default.isString(e3.commitVersion)) return this.coreFactory.createArchFlowInfoVersion(e3); + getOptionalBranchInfo(e3) { + if (e3) return a.default.find(this.optionalBranchInfo, function(t3) { + return t3.outputId === e3; + }); } - get displayTypeName() { - return "ArchFlowInfo"; + getBranchInfo(e3) { + if (e3) return a.default.find(this.branchInfos, function(t3) { + return t3.outputId === e3; + }) || a.default.find(this.optionalBranchInfo, function(t3) { + return t3.outputId === e3; + }); } - get logStr() { - if (!this._coreFlowInfoViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrFlowId(e3, this.id), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + _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(); } - get hasSavedVersion() { - return !!this._coreFlowInfoViewModel.versions && !r2.default.isUndefined(this._getArchFlowInfoVersionForVersion(this._coreFlowInfoViewModel.versions.savedVersion)); + propertyChanged(e3) { + 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)); } - get isArchFlowInfo() { - return true; + 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, Z.action.action) || e3.checkName(this, this.name, Z.action.action), a.default.each(this.managedPropertyViewModels, function(t4) { + e3.addToQueue(t4); + }.bind(this)); } - get isCheckedIn() { - return !this.isLocked; + get terminationInfo() { + return this.info.getTerminationInfo(this.parentFlow.type); } - get isLocked() { - return !!this._coreFlowInfoViewModel.isLocked; + get doesTerminate() { + return this.parentFlow.destinationFlowTypes.every((e3) => this.info.getTerminationInfo(e3).doesTerminate); } - get isLockedByAnotherUser() { - return this.isLocked && !!this._coreFlowInfoViewModel.isLockedByOtherUser; + _resetParent(e3) { + super._resetParent(e3), this._topParent = this._getTopParent(); } - get isLockedByCurrentUser() { - return this.isLocked && !this.isLockedByAnotherUser; + _getTopParent() { + var e3, t3, i3, n3; + let o2 = null !== (t3 = null === (e3 = this.parent) || void 0 === e3 ? void 0 : e3.topParent) && void 0 !== t3 ? t3 : this.parent; + for (; o2 && !o2.isTaskLike && !o2.isMenuChoice; ) y.error("topParent check fired unexpectedly"), o2 = null !== (n3 = null === (i3 = o2.parent) || void 0 === i3 ? void 0 : i3.topParent) && void 0 !== n3 ? n3 : o2.parent; + return o2; } - get isPublished() { - return !!this._coreFlowInfoViewModel.isPublished; + _setTopParent() { + this._topParent = this._getTopParent(); } - get isSystem() { - return !!this._coreFlowInfoViewModel.system; + get topParent() { + return this._topParent; } - get name() { - return this._coreFlowInfoViewModel.label; + get trackingId() { + return this.model.trackingId; } - get type() { - return this._coreFlowInfoViewModel.type; + set trackingId(e3) { + R.setNodeTrackingId(this, e3); + } + get uiMetaData() { + return this.model.uiMetaData; + } + set uiMetaData(e3) { + this.model.uiMetaData = e3; + } + destroyChildren() { + delete this.menu, delete this.task, this.hasValidationWarning = false, this.hasValidationError = false; + for (let e3 = this.branches.length - 1; e3 >= 0; e3--) { + const t3 = this.branches[e3]; + try { + 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, a.default.each(this.managedPropertyViewModels, (e3) => { + e3.destroy(); + }), a.default.each(ee.getManagedProperties(this), (e3) => { + this[e3.property] && delete this[e3.property]; + }); } - get versionCheckedIn() { - if (this._coreFlowInfoViewModel.versions) return this._getArchFlowInfoVersionForVersion(this._coreFlowInfoViewModel.versions.checkedInVersion); + _preDestroy() { + super._preDestroy(), this.amObjectEventSink && O.unregisterEventSink(this), this.amObjectEventEmitter && O.removeEventEmitter(this), S.unRegisterConsumerEntirely(this), f.actionRegistrationService.unregisterItem(this); } - get versionPublished() { - if (this._coreFlowInfoViewModel.versions) return this._getArchFlowInfoVersionForVersion(this._coreFlowInfoViewModel.versions.publishedVersion); + _postDestroy() { + var e3; + super._postDestroy(), (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.isDestroyedOrDestroying) || u.emitter.emit(u.actionDestroyed); } - } - t2.default = a; - }, 21305: (e2, t2, i2) => { - "use strict"; - 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); + updateDependencies() { + a.default.each(this.managedPropertyViewModels, function(e3) { + e3.isExpression ? S.registerExpression(e3, true) : e3.updateDependencies(); + }.bind(this)); } - constructor(e3) { - 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"); + validate(e3) { + var t3, i3; + super.validate(e3), this._validateAvailability(e3) && (a.default.each(this.managedPropertyViewModels, function(t4) { + !t4.__isGeneratedPrompt && a.default.isFunction(t4.validate) && (t4.validate(e3), (0, L.isBaseExpression)(t4) && t4.doConfigCheck(e3)); + }), !this.info.canBeInTask && this.topParent.isTaskLike && e3.addError(this, Z.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 U.default(this.parentFlow, e3.isDeep); + t4.expression.validate(i4), t4.expression.hasError && e3.addError(this, Z.expression.internalErrorExpression); + } + }.bind(this)), this.parentFlow.isCommonModuleFlow && o.flowTypes.hasVxmlgenFlowType(this.parentFlow.destinationFlowTypes) && o.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) === D.transferPureMatchActionType ? e3.addWarning(this, Z.commonModule.subsequentActionsExecutableOnlyIfEmbeddingFlowIsCallFlow) : this.getParentingFlowElementByIdOrNodeInfoId([D.transferPureMatchActionType], true) && e3.addWarning(this, Z.commonModule.actionExecutableOnlyIfEmbeddingFlowIsCallFlow))); } - _setFromOptions(e3) { - 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"); + _reloadAllBranches() { + X.loadBranches(this); + for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(); } - get isExpressionTypeJsonOptions() { - return true; + _addBranch(e3) { + const t3 = X.addBranch(this, e3); + return t3 && t3.initialize(), this.updateTermination(), u.emitter.emit(u.branchesChanged), t3; } - get className() { - return "ExpressionTypeJsonOptions"; + _removeBranch(e3) { + X.removeBranch(this, e3), this.updateTermination(), u.emitter.emit(u.branchesChanged); } - get isJson() { - return true; + _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, r.sprintf)(Z.commonModule.actionNotSupportedForFlowTypes, this.info.name, E.getFlowTypesDisplayString(i3))), t3 = true), t3 || (t3 = this.parentFlow.destinationFlowTypes.some((e4) => !this.info.passesAvailabilityCallback(e4, this.topParent, this.topParent.isTaskLike)) || !this.info.isAvailableForNavigatorEnabledFlow(this.topParent), t3 && e3.addError(this, (0, r.sprintf)(Z.errors.actionNotValidHere))), this.parentFlow.destinationFlowTypes.forEach((i4) => { + this.info.isDeprecatedForFlowType(i4) && (e3.addWarning(this, (0, r.sprintf)(Z.action.actionIsDeprecated, this.info.name)), t3 = true); + }), t3 || a.default.each(this.info.requirements.featuresToggles, (i4) => { + if (v.isDisabled(i4)) { + let i5 = Z.features.missingFeatureError; + const n3 = this.parentFlow.info.flowTypeName; + i5 = (0, r.sprintf)(i5, this.info.name, n3), e3.addError(this, i5), t3 = true; + } + }), !t3; } - get typeIdentifier() { - return this._typeIdentifier; + addOptionalPathsFromModel(e3) { + if (e3.paths) for (let t3 = 0; t3 < e3.paths.length; t3++) { + const i3 = e3.paths[t3]; + this.getBranchInfo(i3.outputId) || this.addOptionalBranchInfo(i3, true); + } } - set typeIdentifier(e3) { - this.isCustomJsonType ? this._typeIdentifier = u.ParameterValidator.expectCustomJsonIdentifier(e3, () => l.ParameterInfo.createPropertySet(this.className, "typeIdentifier", "value")) : this._typeIdentifier = u.ParameterValidator.expectStringComplexIdentifier(e3, () => l.ParameterInfo.createPropertySet(this.className, "typeIdentifier", "value")); + claim(e3) { + this._resetParent(e3); } - setTypeIdentifier(e3) { - return this.typeIdentifier = e3, this; + checkVersion(e3) { + e3.checkVersion(this.version), e3.checkFeatures(this.info.requirements), a.default.each(this.managedPropertyViewModels, function(t3) { + t3.checkVersion(e3); + }.bind(this)); } - get isCustomJsonType() { - return this._isCustomJsonType; + get containedActionCount() { + if (!this.branches || 0 === this.branches.length) return 0; + let e3 = 0; + return a.default.each(this.branches, function(t3) { + e3 += t3.containedActionCount; + }), e3; } - setIsCustomJsonType(e3) { - return this._isCustomJsonType = e3, this; + containsAudioForLang(e3) { + const t3 = this.getAudioNodes(); + return 0 !== t3.length && !!a.default.find(t3, function(t4) { + const i3 = t4.getCaseForLang(e3); + if (i3 && i3.hasAudioSet || t4.defaultAudio.hasAudioSet) return true; + }); } - get requireObjectLiteral() { - return this._requireObjectLiteral; + generateAudioExpression() { + 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), 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))) { + const t3 = e3.getReplacementValues.call(this); + e3.audioSequencer.buildExpression(e3.getPlaybackMode.call(this), t3); + } + }.bind(this)); } - set requireObjectLiteral(e3) { - this._requireObjectLiteral = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "requireObjectLiteral", "value")); + getAudioNodes() { + return this.parent.isSubMenu ? [this.menu.prompts] : a.default.where(this.managedPropertyViewModels, { isAudioViewModel: true }); } - setRequireObjectLiteral(e3) { - return this.requireObjectLiteral = e3, this; + getNextTaskRuntimeAction() { + if (this.topParent.isTaskLike) { + let e3 = this.parent, t3 = e3.nextAction; + for (; !t3 && (e3 = e3.parent, e3); ) t3 = e3.nextAction; + return t3; + } + return null; } - get nullPropertyValueNoOpWarningText() { - return this._nullPropertyValueNoOpWarningText; + getPromptsUsed(e3) { + let t3 = []; + const i3 = this.getAudioNodes(); + if (i3.length > 0) for (let n3 = 0; n3 < i3.length; n3++) t3 = a.default.union(t3, i3[n3].getPromptsUsedForLang(e3)); + return t3; } - set nullPropertyValueNoOpWarningText(e3) { - this._nullPropertyValueNoOpWarningText = u.ParameterValidator.expectString(e3, () => l.ParameterInfo.createPropertySet(this.className, "nullPropertyValueNoOpWarningText", "value")); + get hasBranchWithError() { + return !!a.default.findWhere(this.branches, { hasValidationError: true }); } - setNullPropertyValueNoOpWarningText(e3) { - return this.nullPropertyValueNoOpWarningText = e3, this; + get hasBranchWithWarning() { + return !!a.default.findWhere(this.branches, { hasValidationWarning: true }); } - get atLeastOnePropertyMustBeSetErrorText() { - return this._atLeastOnePropertyMustBeSetErrorText; + initialize() { + super.initialize(); + for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(); + this.updateTermination(true); } - set atLeastOnePropertyMustBeSetErrorText(e3) { - this._atLeastOnePropertyMustBeSetErrorText = u.ParameterValidator.expectString(e3, () => l.ParameterInfo.createPropertySet(this.className, "atLeastOnePropertyMustBeSetErrorText", "value")); + setNewInstanceDefaults(e3) { + a.default.each(this.managedPropertyViewModels, function(e4) { + a.default.isFunction(e4.setNewInstanceDefaults) && e4.setNewInstanceDefaults(); + }); } - setAtLeastOnePropertyMustBeSetErrorText(e3) { - return this.atLeastOnePropertyMustBeSetErrorText = e3, this; + get isAction() { + return true; } - get issueInfoTypes() { - var e3, t3, i3, n3; - if (this.typeIdentifier === a.expressionTypeNames.skillExpressionFilter) { - 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 []; + log() { + console.log(this.name, this.previousAction ? this.previousAction.name : void 0, this.nextAction ? this.nextAction.name : void 0), this.nextAction && this.nextAction.log(); } - get supportsLiteralMode() { - if (this.isCustomJsonType) { - if (void 0 === this._customJsonTypeSupportsLiteralMode) { - const e3 = c.default.getGlobalTypeGroup().getType(this.typeIdentifier, false); - this._customJsonTypeSupportsLiteralMode = !e3 || !e3.hasPropertiesAndAllAreReadOnly; - } - return this._customJsonTypeSupportsLiteralMode; - } - return super.supportsLiteralMode; + resetTermination() { + a.default.each(this.branches, function(e3) { + e3.resetTermination(); + }); } - applyDefaultCollectionItemOptions(e3) { - return super.applyDefaultCollectionItemOptions(e3), e3.isCustomJsonType && this.setAllowEmbeddedExpressionsInLiteralMode(e3.allowEmbeddedExpressionsInLiteralMode), this._setOptionIfSet(this.setRequireObjectLiteral, e3.requireObjectLiteral, "_requireObjectLiteral"), this; + get supportsCustomOutputPaths() { + return false; } - } - 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 }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(62957)); - class a extends o.default { - constructor(e3) { - super(e3); + get hasOptionalPaths() { + return false; } - get displayTypeName() { - return "ArchBaseActionWithOutputsSuccessFailure"; + get terminatingLabel() { + const e3 = this.parentFlow.destinationFlowTypes.find((e4) => this.info.getTerminationInfo(e4).doesTerminate), t3 = this.info.getTerminationInfo(e3); + return (null == t3 ? void 0 : t3.label) ? t3.label : this._terminatingLabel; } - get isArchBaseActionWithOutputsSuccessFailure() { - return true; + toString() { + return `Action: ${super.toString()}`; } - get outputSuccess() { - return this._getOutputById(r2.outputIds.success, true); + traverse(e3) { + e3.traverseActionProperties && (a.default.find(this.managedPropertyViewModels, function(t3) { + if (t3 && t3.traverse) return t3.traverse(e3), e3.isCanceled; + }.bind(this)), e3.isCanceled || a.default.find(this.branches, function(t3) { + if (t3 && t3.traverse) return t3.traverse(e3), e3.isCanceled; + }.bind(this))); } - } - t2.default = a; - }, 21361: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.every = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.every = function(e3, t3) { - return n2.operate(function(i3, n3) { - var o = 0; - i3.subscribe(r2.createOperatorSubscriber(n3, function(r3) { - e3.call(t3, r3, o++, i3) || (n3.next(false), n3.complete()); - }, function() { - n3.next(true), n3.complete(); - })); - }); - }; - }, 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), 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); + updateTermination(e3) { + const t3 = this.terminatesTaskOrFlow, i3 = this.terminatesLoop, n3 = this.hasBranchTerminatingWithEndTask; + let o2 = []; + const r2 = 1 === this.branches.length && this.branches[0].id === b.outputIds.fake; + if (this.branches.length > 1 || 1 === this.branches.length && !r2) { + let e4 = 0, t4 = false; + const i4 = {}; + if (a.default.each(this.branches, (n4) => { + if (!n4.outOfService && n4.branchInfo.isActionInternal && n4.branchInfo.canTerminate) { + e4++; + const o3 = n4.terminatesTaskOrFlow; + i4[n4.id] = o3, o3 && (t4 = true); + } + }), t4) this.allBranchesTerminate = true; + else if (e4 && e4 === this.branches.length) this.allBranchesTerminate = false; + else { + 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 ? 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; + } + } else this.allBranchesTerminate = false; + this.allBranchesTerminate ? (o2 = a.default.uniq(o2), this._terminatingLabel = 1 === o2.length ? o2[0] : o2.length > 1 ? this.topParent.isState ? Z.state.endStateOrFlow : Z.task.endTaskOrFlow : void 0) : this._terminatingLabel = void 0, this.terminatesTaskOrFlow = this.terminationInfo.isNonLoopTerminating || this.allBranchesTerminate, this.terminatesLoop = this.terminationInfo.terminatesLoop || this.branches.length > 0 && !r2 && a.default.every(this.branches, function(e4) { + return e4.id !== b.outputIds.loop && e4.id !== b.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(); } - getDetails() { - return this.outcomeId ? new o.ActionDetails([p.flowOutcomes.flowOutcome, p.generic.value], [this.outcomeName, this.outcomeValue.text]) : null; + get version() { + return Q.one.zero; } - static get managedProperties() { - 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 }]; + static getManagedProperties(e3) { + return c.getManagedProperties(e3); } - } - _.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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94241)), o = n2.__importDefault(i2(84821)), a = n2.__importDefault(i2(79635)), s = n2.__importDefault(i2(13523)), l = { ArchDataType: r2.default, ArchDataTypeJsonCustomProperty: o.default, ArchDataTypeJsonCustomSchema: a.default, ArchDataTypes: s.default }; - t2.default = l; - }, 21434: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreNameValuePair = e3; + updateTraceTopic() { + var e3; + 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; } - get displayTypeName() { - return "ArchBaseNameValuePair"; + _ensureUiMetaData() { + this.model.uiMetaData || (this.model.uiMetaData = {}); } - get isArchBaseNameValuePair() { - return true; + _validateTargetFlowInfoLanguages(e3, t3, i3) { + var n3, o2, s2; + if (!this.parentFlow.definition.supportsLanguages || !t3) return; + if (!(null === (n3 = t3.definition) || void 0 === n3 ? void 0 : n3.supportsLanguages)) return; + const l2 = null === (s2 = null === (o2 = this.parentFlow) || void 0 === o2 ? void 0 : o2.languages) || void 0 === s2 ? void 0 : s2.supportedLanguagesViewModels, u2 = null == t3 ? void 0 : t3.supportedLanguages, c2 = []; + if (a.default.isArray(u2) && a.default.each(u2, (e4) => { + a.default.isUndefined(a.default.find(l2, (t4) => e4.language === t4.idExpressionText)) && c2.push(e4.language); + }), i3 && c2.length) { + const i4 = w.getLanguageNameAndCodeDisplay(c2); + return void e3.addError(this, (0, r.sprintf)(1 === c2.length ? Z.languages.targetFlowSupportedLanguageNotSupportedInCallingFlow : Z.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, r.sprintf)(Z.languages.flowRunsInDefaultLanguageIfInvokedWithUnsupportedLanguage, t3.displayName, w.getLanguageNameAndCodeDisplay(_2.language))); + const m2 = w.getLanguageNameAndCodeDisplay(p2), g2 = (0, r.sprintf)(1 === p2.length ? Z.languages.flowSupportedLanguageNotSupportedInTargetFlow : Z.languages.flowSupportedLanguageNotSupportedInTargetFlowMoreThanOne, m2, t3.displayName); + e3.addWarning(this, h2 ? (0, r.sprintf)(d.default.generic.twoStringsSpaceSeparator, g2, h2) : g2); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = [], t3 = this.name.valueText; - return t3 && this._appendLogStrName(e3, t3), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + get wrappedYamlName() { + return this.info.getWrappedYamlName(this.parent.isMenuChoice, this.isSubMenuActionViewModel); } - get name() { - return this.coreFactory.createArchWrapper(this._coreNameValuePair.name); + get relatedIssueIds() { } - get value() { - return this.coreFactory.createArchWrapper(this._coreNameValuePair.expression); + get nodeId() { + return this.info.id; } } - t2.default = r2; - }, 21453: (e2, t2, i2) => { - const { askForSlotActionType: n2 } = i2(30801), r2 = i2(2444), o = i2(7401); - function a() { - Object.defineProperties(this, { _askResult: { writable: true }, _chooser: { writable: true }, _confirmationMode: { writable: true }, _confirmationQuestion: { writable: true }, _customValidation: { writable: true }, _grammar: { writable: true }, _speechToTextEngine: { writable: true }, _speechToTextEngineCompleteTimeout: { writable: true }, _speechToTextEngineConfidenceLevel: { writable: true }, _repromptHandling: { writable: true }, _continuationPrompt: { writable: true }, _customizeContinuation: { writable: true }, _continuationReprompts: { writable: true } }), this.selectedSlot = void 0, this.selectedSlotType = void 0, this.speechToTextEngineName = void 0, this.speechToTextEngineId = void 0, a.baseConstructor.apply(this, arguments); - } - r2.extend(a, n2, true), e2.exports = a, Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.askResult.pasteResolveOldToNewValues(e3), this.grammar && this.grammar.pasteResolveOldToNewValues(e3), this.chooser && this.chooser.pasteResolveOldToNewValues(e3), this.confirmationMode && this.confirmationMode.pasteResolveOldToNewValues(e3), this.confirmationQuestion && this.confirmationQuestion.pasteResolveOldToNewValues(e3), this.customValidation.pasteResolveOldToNewValues(e3), this.repromptHandling && this.repromptHandling.pasteResolveOldToNewValues(e3), this.continuationPrompt && this.continuationPrompt.pasteResolveOldToNewValues(e3), this.customizeContinuation && this.customizeContinuation.pasteResolveOldToNewValues(e3), this.continuationReprompts && this.continuationReprompts.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.askResult.pasteReIdOrRename(e3), this.grammar && this.grammar.pasteReIdOrRename(e3), this.chooser && this.chooser.pasteReIdOrRename(e3), this.confirmationMode && this.confirmationMode.pasteReIdOrRename(e3), this.confirmationQuestion && this.confirmationQuestion.pasteReIdOrRename(e3), this.customValidation.pasteReIdOrRename(e3), this.repromptHandling && this.repromptHandling.pasteReIdOrRename(e3), this.continuationPrompt && this.continuationPrompt.pasteReIdOrRename(e3), this.customizeContinuation && this.customizeContinuation.pasteReIdOrRename(e3), this.continuationReprompts && this.continuationReprompts.pasteReIdOrRename(e3); - } }, askResult: { enumerable: true, get: function() { - return this._askResult; - }, set: function(e3) { - this._askResult = this.reviveItem(e3, o); - } }, chooser: { enumerable: true, get: function() { - return this._chooser; - }, set: function(e3) { - this._chooser = this.reviveItem(e3, o); - } }, confirmationMode: { enumerable: true, get: function() { - return this._confirmationMode; - }, set: function(e3) { - this._confirmationMode = this.reviveItem(e3, o); - } }, confirmationQuestion: { enumerable: true, get: function() { - return this._confirmationQuestion; - }, set: function(e3) { - this._confirmationQuestion = this.reviveItem(e3, o); - } }, customValidation: { enumerable: true, get: function() { - return this._customValidation; - }, set: function(e3) { - this._customValidation = this.reviveItem(e3, o); - } }, grammar: { enumerable: true, get: function() { - return this._grammar; - }, set: function(e3) { - this._grammar = this.reviveItem(e3, o); - } }, speechToTextEngine: { enumerable: true, get: function() { - return this._speechToTextEngine; - }, set: function(e3) { - this._speechToTextEngine = this.reviveItem(e3, o); - } }, speechToTextEngineCompleteTimeout: { enumerable: true, get: function() { - return this._speechToTextEngineCompleteTimeout; - }, set: function(e3) { - this._speechToTextEngineCompleteTimeout = this.reviveItem(e3, o); - } }, speechToTextEngineConfidenceLevel: { enumerable: true, get: function() { - return this._speechToTextEngineConfidenceLevel; - }, set: function(e3) { - this._speechToTextEngineConfidenceLevel = this.reviveItem(e3, o); - } }, repromptHandling: { enumerable: true, get: function() { - return this._repromptHandling; - }, set: function(e3) { - this._repromptHandling = this.reviveItem(e3, o); - } }, continuationPrompt: { enumerable: true, get: function() { - return this._continuationPrompt; - }, set: function(e3) { - this._continuationPrompt = this.reviveItem(e3, o); - } }, customizeContinuation: { enumerable: true, get: function() { - return this._customizeContinuation; - }, set: function(e3) { - this._customizeContinuation = this.reviveItem(e3, o); - } }, continuationReprompts: { enumerable: true, get: function() { - return this._continuationReprompts; - }, set: function(e3) { - this._continuationReprompts = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 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 }, _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._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._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) { - this._enableBargeIn = this.reviveItem(e3, r2); - } }, enableAutomaticQuickReplies: { enumerable: true, get: function() { - return this._enableAutomaticQuickReplies; - }, set: function(e3) { - this._enableAutomaticQuickReplies = this.reviveItem(e3, r2); - } }, noMatchesMax: { enumerable: true, get: function() { - return this._noMatchesMax; - }, set: function(e3) { - this._noMatchesMax = this.reviveItem(e3, r2); - } }, noInputsMax: { enumerable: true, get: function() { - return this._noInputsMax; - }, set: function(e3) { - this._noInputsMax = this.reviveItem(e3, r2); - } }, noInputsMaxExceededHandlingType: { enumerable: true, get: function() { - return this._noInputsMaxExceededHandlingType; - }, set: function(e3) { - this._noInputsMaxExceededHandlingType = this.reviveEnum(e3, o); - } }, endOfSessionMessage: { enumerable: true, get: function() { - return this._endOfSessionMessage; - }, set: function(e3) { - this._endOfSessionMessage = this.reviveItem(e3, r2); - } }, noInputsTimeout: { enumerable: true, get: function() { - return this._noInputsTimeout; - }, set: function(e3) { - this._noInputsTimeout = this.reviveItem(e3, r2); - } }, speechToTextSpeechDetectionSensitivity: { enumerable: true, get: function() { - return this._speechToTextSpeechDetectionSensitivity; - }, set: function(e3) { - this._speechToTextSpeechDetectionSensitivity = this.reviveItem(e3, r2); - } }, speechToTextMaxSpeechTimeout: { enumerable: true, get: function() { - 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) { - this._enableIntentClassificationHinting = this.reviveItem(e3, r2); - } }, interDigitTimeout: { enumerable: true, get: function() { - return this._interDigitTimeout; - }, set: function(e3) { - this._interDigitTimeout = this.reviveItem(e3, r2); - } }, dtmfTerminatingCharacter: { enumerable: true, get: function() { - return this._dtmfTerminatingCharacter; - }, set: function(e3) { - this._dtmfTerminatingCharacter = this.reviveItem(e3, r2); - } }, confirmationRejectionsMax: { enumerable: true, get: function() { - return this._confirmationRejectionsMax; - }, set: function(e3) { - this._confirmationRejectionsMax = this.reviveItem(e3, r2); - } }, collectionLowConfidenceThreshold: { enumerable: true, get: function() { - return this._collectionLowConfidenceThreshold; - }, set: function(e3) { - this._collectionLowConfidenceThreshold = this.reviveItem(e3, r2); - } }, collectionHighConfidenceThreshold: { enumerable: true, get: function() { - return this._collectionHighConfidenceThreshold; - }, set: function(e3) { - this._collectionHighConfidenceThreshold = this.reviveItem(e3, r2); - } }, confirmationLowConfidenceThreshold: { enumerable: true, get: function() { - return this._confirmationLowConfidenceThreshold; - }, set: function(e3) { - this._confirmationLowConfidenceThreshold = this.reviveItem(e3, r2); - } }, noMatchApologies: { enumerable: true, get: function() { - return this._noMatchApologies; - }, set: function(e3) { - e3 && (this._noMatchApologies = this.reviveArray(e3, r2)); - } }, noInputsApologies: { enumerable: true, get: function() { - return this._noInputsApologies; - }, set: function(e3) { - e3 && (this._noInputsApologies = this.reviveArray(e3, r2)); - } }, noToConfirmationApologies: { enumerable: true, get: function() { - return this._noToConfirmationApologies; - }, set: function(e3) { - e3 && (this._noToConfirmationApologies = this.reviveArray(e3, r2)); - } }, confirmationNoMatchApologies: { enumerable: true, get: function() { - return this._confirmationNoMatchApologies; - }, set: function(e3) { - e3 && (this._confirmationNoMatchApologies = this.reviveArray(e3, r2)); - } }, confirmationNoInputApologies: { enumerable: true, get: function() { - return this._confirmationNoInputApologies; - }, set: function(e3) { - e3 && (this._confirmationNoInputApologies = this.reviveArray(e3, r2)); - } } }), e2.exports = a; - }, 21569: (e2, t2, i2) => { + ee.WELL_KNOWN_YAML_KEYS = /* @__PURE__ */ new Set(["refId", "name", "outputs", "trackingId"]), t2.default = ee; + }, 88391(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 = i2(37001), s = n2.__importDefault(i2(47532)), l = i2(61144), u = i2(81801), c = i2(27862); - class d extends s.default { - get requiredAuth() { - return u.externalAuthorizations.authStrings.customerSegmentsView; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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; } - get dependencyType() { - return c.CustomerSegment; + get shouldSkipLanguageValidation() { + return false; } - _createItemViewModel(e3) { - return new l.CustomerSegmentViewModel(e3); + get supportsEnvironments() { + return false; } - constructor() { - 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(); + get doesNotSupportIntents() { + return false; } - } - t2.CustomerSegmentManager = d, t2.customerSegmentManager = new d(); - }, 21601: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchDefinitionVariable = void 0; - const n2 = i2(39637); - class r2 extends n2.ArchBaseDefinition { - constructor(e3) { - super(e3); + constructor(e3, t3) { + super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventSinkWatch(_.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)); } - get dataType() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel()); + get customIntentNames() { + const e3 = []; + let t3; + return t3 = this.hasAutoSelectedBotRunnable && this.botCategoryProperty.idValue ? this._getLocalAutoSelectedBotRunnable() : this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this), r.default.each(null == t3 ? void 0 : t3.intents, (t4) => { + e3.push(t4.name); + }), e3; } - get displayTypeName() { - return "ArchDefinitionVariable"; + _destroy() { + super._destroy(); } - get isArchDefinitionVariable() { - return true; + _initializeDesignTime() { + let e3; + this.isReadOnly || (e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this)), e3 || (e3 = this.botRunnableManager.getItemFromFlowMetadata(this, this.botRunnableProperty.idValue)), e3 && this.updateBotActionFromBotRunnable(e3), this.setBotLanguages(e3 ? e3.languages || e3.language : void 0), super._initializeDesignTime(); } - } - t2.ArchDefinitionVariable = r2; - }, 21623: (e2, t2, i2) => { - const n2 = i2(12614), r2 = i2(92378), o = i2(95275), a = i2(36019).default; - class s { - } - const l = new s(), u = { ignoreBadResponse: true }; - s.prototype.getBots = a.request("GET", "{public-api.apps}/api/v2/dialog/integrations/bots", r2, u), s.prototype.getBot = a.request("GET", "{public-api.apps}/api/v2/dialog/integrations/bots/{id}", n2, u), s.prototype.getVersion = a.request("GET", "{public-api.apps}/api/v2/dialog/integrations/bots/{botId}/versions/{versionId}", o, u), e2.exports = l; - }, 21637: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeCardOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + _processMergedSchema(e3) { + this.initializeDesignTimeCalled && r.default.each(e3, (e4) => { + e4.data && e4.data.initializeDesignTime && e4.data.initializeDesignTime(); + }); } - constructor(e3) { - super(e3); + _setBotIntegrationProperties(e3) { } - get className() { - return "ExpressionTypeCardOptions"; + _setBotCategoryProperties(e3) { } - get isExpressionTypeCardOptions() { - return true; + addAttribute() { + const e3 = this.sessionVariables.add(null, s.globalTypes.string); + return (0, T.validateAction)(this, true, true), e3.id; } - } - t2.ExpressionTypeCardOptions = r2; - }, 21647: (e2, t2, i2) => { - "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 c extends a.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + addOutputSessionVariablesAttribute() { + if (!this.outputSessionVariables) return; + const e3 = this.outputSessionVariables.add(null, s.globalTypes.string); + return e3.expression.mode = a.variable, e3.expression.setAsOutput(), (0, T.validateAction)(this, true, true), e3.id; } - constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_typeIdentifier"), (0, o.makeUnenumerable)(this, "_supportsLiteralMode"); + getLanguageWarning(e3) { + if (!r.default.isArray(e3) || !e3.length) return null; + let t3; + if (1 === (e3 = e3.map((e4) => `'${e4}'`)).length) t3 = e3[0]; + else { + const i3 = e3.pop(); + t3 = e3.join(g.default.itemListing.itemSeparator).concat(A.itemListing.lastItemAndSeparator + i3); + } + return (0, o.sprintf)(A.bot.languageWarning, this.botRunnableManager.dependencyType.displayName, t3); } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setTypeIdentifier, e3.typeIdentifier, "_typeIdentifier"); + static get branchInfo() { + return [c.default.failure]; } - get isExpressionTypeComplexOptions() { - return true; + get languagesProperty() { + return this.model.languages; } - get className() { - return "ExpressionTypeComplexOptions"; + set languagesProperty(e3) { + this.model.languages = e3; } - get supportsLiteralMode() { - const e3 = u.default.getGlobalTypeGroup().getType(this._typeIdentifier); - return e3 && (!this.isCollection || (null == e3 ? void 0 : e3.supportsLiteralEditor)) && this.isInput; + get botRunnableManager() { + return this.botRunnableProperty.configListManager; } - get allowModeLiteral() { - const e3 = u.default.getGlobalTypeGroup().getType(this._typeIdentifier); - return !(!e3 || !(null == e3 ? void 0 : e3.allowLiteralSelect)) && this.supportsLiteralMode; + get botCategoryProperty() { + return null; } - setAsInput(e3) { - l.ParameterValidator.expectBool(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); - const t3 = !(true === e3); - return this._configureInputOutputState(true, this.supportsLiteralMode, false, t3); + get botCategoryManager() { + return this.botCategoryProperty ? this.botCategoryProperty.configListManager : null; } - setAsOutput() { - return this._configureInputOutputState(false, false, true, false); + get botIntegrationProperty() { + return null; } - get typeIdentifier() { - return this._typeIdentifier; + get botIntegrationManager() { + return this.botIntegrationProperty ? this.botIntegrationProperty.configListManager : null; } - get isCollection() { - return super.isCollection; + get botRunnableNetworkGetCall() { + return d.error("botRunnableNetworkGetCall not implemented!"), null; } - set isCollection(e3) { - super.isCollection = e3; + commonBotPostProcessYamlConfig(e3, t3) { + r.default.moveAndDeleteProperty(e3, t3, "intents"), r.default.moveAndDeleteProperty(e3, t3, "outputs"), r.default.moveAndDeleteProperty(e3, t3, "failureOutputs"); } - set typeIdentifier(e3) { - this._typeIdentifier = l.ParameterValidator.expectStringComplexIdentifier(e3, () => s.ParameterInfo.createPropertySet(this.className, "typeIdentifier", "value")); + removeYamlExportPropsThatRequireRunnable(e3) { + if (delete e3.intents, delete e3.failureOutputs, e3.outputs) { + const t3 = e3[this.yamlNoBotRunnablePropName] = {}; + r.default.moveAndDeleteProperty(e3, t3, "outputs"); + } } - setTypeIdentifier(e3) { - return this.typeIdentifier = e3, this; + clearSchemaBindings() { + this.outputs && r.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(), this.errorBindings && r.default.isFunction(this.errorBindings.destroyChildren) && this.errorBindings.destroyChildren(); } - } - 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; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(27862); - class s extends r2.BriefFlowListManager { - get dependencyType() { - return a.VoiceSurveyFlow; + refreshBotRunnableFromServer(e3) { + if (e3) { + const t3 = this.getAdditionalParams(); + return this.botRunnableNetworkGetCall(e3.id, t3).then((t4) => (e3.model = t4, e3.fullBotNotLoaded = false, this.botRunnableManager.addItem(t4, true), e3)); + } + return Promise.resolve(); } - constructor() { - super(), this.topic = n2.getTopic("BriefVoiceSurveyFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeVoiceSurvey }, this.className = "BriefVoiceSurveyFlowListManager", this.uiMetadataSectionName = "voiceSurveyFlows", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "voiceSurveyFlow", this.flowType = o.flowTypes.flowTypeVoiceSurvey, this._initialize(); + getDetails() { + 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)), r.default.isFunction(this.getEnvironmentName) && (e3.push(A.dialogflow.environment), t3.push(this.getEnvironmentName())), new y.ActionDetails(e3, t3); } - } - t2.briefVoiceSurveyFlowListManager = new s(); - }, 21733: (e2, t2, i2) => { - let n2 = null; - if (!i2(6697)) try { - n2 = i2(33089); - } catch (e3) { - n2 = null; - } - e2.exports = function(e3) { - e3 = e3.toLowerCase(); - try { - return n2 ? n2("./" + e3 + "/templates.js") : i2(4444)("./" + e3 + "/templates"); - } catch (e4) { - return i2(6142); + getUnsupportedLanguageInfo(e3) { + if (this.shouldSkipLanguageValidation) return null; + if (e3 || (e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this)), !e3) return null; + const t3 = r.default.filter(e3.languages, (e4) => f.isValidLanguageCode(e4)); + if (!t3.length) return { message: (0, o.sprintf)(A.bot.noSupportedLanguages, this.botRunnableManager.dependencyType.displayName) }; + const i3 = t3.map((e4) => e4.toLowerCase()); + if (r.default.filter(this.parentFlow.languages.supportedLanguages, (e4) => !i3.includes(e4.toLowerCase())).length) { + const t4 = r.default.map(e3.languages, (e4) => f.isValidLanguageCode(e4) ? f.getLanguageNameAndCodeDisplay(e4) : e4); + return { message: this.getLanguageWarning(t4), isWarning: true }; + } + return null; } - }; - }, 21762: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.debounceTime = void 0; - var n2 = i2(62326), r2 = i2(65212), o = i2(17214); - t2.debounceTime = function(e3, t3) { - return void 0 === t3 && (t3 = n2.asyncScheduler), r2.operate(function(i3, n3) { - var r3 = null, a = null, s = null, l = function() { - if (r3) { - r3.unsubscribe(), r3 = null; - var e4 = a; - a = null, n3.next(e4); + get isBaseBotActionViewModel() { + return true; + } + mergeSlotSchemas(e3) { + const t3 = []; + if (e3) { + if (e3.errorSchema && this._processMergedSchema(this.botRunnableManager.mergeSchemaProperties(e3.errorSchema.properties, this.errorBindings)), this.doesNotSupportIntents) return null; + r.default.each(e3.intents, (i3) => { + if (i3.slots) { + let n3 = r.default.findWhere(this.outputs.items, { name: i3.name }); + const o2 = r.default.find(this.branches, (e4) => !(!i3.builtInPathId || e4.id !== i3.builtInPathId) || !(e4.label !== i3.name && e4.label !== i3.localizedLabel || !e4.isDynamicBranch)); + o2 && o2.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 = o2 ? o2.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: o2 ? o2.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 }); + } + }); + for (let t4 = this.outputs.items.length - 1; t4 >= 0; t4--) { + const i3 = this.outputs.items[t4]; + r.default.findWhere(e3.intents, { name: i3.name }) || this.outputs.removeChildByReferenceId(i3); } - }; - function u() { - var i4 = s + e3, o2 = t3.now(); - if (o2 < i4) return r3 = this.schedule(void 0, i4 - o2), void n3.add(r3); - l(); } - i3.subscribe(o.createOperatorSubscriber(n3, function(i4) { - a = i4, s = t3.now(), r3 || (r3 = t3.schedule(u, e3), n3.add(r3)); - }, function() { - l(), n3.complete(); - }, void 0, function() { - a = r3 = null; - })); - }); - }; - }, 21770: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + return t3; } - get _globalTypeName() { - return "surveyAnswerOptionCollection"; + removeUnusedOutput(e3, t3) { + if (!this.getOptionalBranchInfo(this.id)) return; + const i3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this); + i3 && this.getIntentIndexByLabel(i3.intents, t3.label) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); } - get displayTypeName() { - return "ArchValueSurveyAnswerOptionCollection"; + getIntentIndexByLabel(e3, t3) { + return r.default.findIndex(e3, { name: t3 }); } - get isArchValueSurveyAnswerOptionCollection() { - return true; + setBotLanguages(e3) { + if (r.default.isString(e3)) e3 = [e3.toLowerCase()]; + else if (r.default.isUndefined(e3) || null === e3) e3 = []; + else if (!r.default.isArray(e3)) { + const t3 = []; + r.default.each(e3, (e4) => { + t3.push(r.default.isString(e4) ? e4.toLowerCase() : e4); + }), e3 = t3; + } + this.languagesProperty = e3; } - getAnswerOptionForAnswerOptionText(e3) { - var t3, i3; - const n3 = this._infoParm("answerOptionText", "getAnswerOptionForAnswerOptionText"); - if (this._checkItemIsValidLiteralString(n3, e3), !(null == e3 ? void 0 : e3.length)) return void this.logNote("the answer option text specified in the answerOptionText parameter is blank. Exiting."); - const r3 = this.length; - if (r3) { - this.logNoteVerbose(`looking for an answer option in this collection with the text '${e3}'.`); - for (let n4 = 0; n4 < r3; n4++) { - const r4 = this.getItemByIndex(n4); - if ((null === (t3 = r4.text) || void 0 === t3 ? void 0 : t3.isLiteral) && (null === (i3 = r4.text) || void 0 === i3 ? void 0 : i3.valueText) === e3) return this.logNoteVerbose(`success, the answer option at index ${n4} matched.`), r4; - } - this.logNoteVerbose(`there is no answer option in this collection that could be found for the answer text '${e3}'.`); - } else this.logNote("there are no answer options in this survey answer option collection. Exiting."); + setBotCategoryByViewModel(e3) { + this.botCategoryProperty && this.botCategoryProperty.setValue(e3 ? { id: e3.id, name: e3.name } : void 0); } - } - t2.default = r2; - }, 21875: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.animationFrames = void 0; - var n2 = i2(48051), r2 = i2(22931), o = i2(35726); - function a(e3) { - return new n2.Observable(function(t3) { - var i3 = e3 || r2.performanceTimestampProvider, n3 = i3.now(), a2 = 0, s2 = function() { - t3.closed || (a2 = o.animationFrameProvider.requestAnimationFrame(function(r3) { - a2 = 0; - var o2 = i3.now(); - t3.next({ timestamp: e3 ? o2 : r3, elapsed: o2 - n3 }), s2(); - })); - }; - return s2(), function() { - a2 && o.animationFrameProvider.cancelAnimationFrame(a2); - }; - }); - } - t2.animationFrames = function(e3) { - return e3 ? a(e3) : s; - }; - var s = a(); - }, 21946: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.bindNodeCallback = void 0; - var n2 = i2(17474); - t2.bindNodeCallback = function(e3, t3, i3) { - return n2.bindCallbackInternals(true, e3, t3, i3); - }; - }, 21954: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + setBotIntegrationByViewModel(e3) { + this.botIntegrationProperty && this.botIntegrationProperty.setValue(e3 ? { id: e3.id, name: e3.name } : void 0); } - get _globalTypeName() { - return "worktypeStatus"; + 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, T.validateAction)(this, false, true), h.fireEvent(this.botRunnableProperty, _.valueChanged); } - get initialValue() { - return this._initialValue; + _getLocalAutoSelectedBotRunnable() { + 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 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) : (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); } - get displayTypeName() { - return "ArchVariableWorktypeStatus"; + getAdditionalParams() { + return this.hasAutoSelectedBotRunnable ? new u.default(this.botRunnableManager, { additionalParams: { botId: this.botCategoryProperty.idValue } }) : null; } - get isArchVariableWorktypeStatus() { + getDependencyTrackingId() { + return this.botRunnableProperty && this.botRunnableProperty.idValue; + } + getAutoSelectedBotRunnable() { + if (!this.botCategoryProperty.idValue) return Promise.resolve(null); + 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) : (N.error(`Received incorrect or no dialogEngineVersionViewModel: '${JSON.stringify(e4)}'`), Promise.reject())); + } + get supportsIntents() { return true; } - } - t2.default = r2; - }, 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, 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[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 = 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 >> w) + (h -= _)] = y << 24 | S << 16 | A; - } while (0 !== h); - 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 (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 - c; - } + switchToNewBotPaths(e3) { + return m.switchToNewIntentPaths(this, e3); } - return 0 !== P && (u[f + P] = v - w << 24 | 64 << 16), p.bits = b, 0; - }; - }, 22028: (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); + translateIntentsToBranchItems(e3) { + return m.translateIntentsToBranchItems(this, e3); } - get _actionTypeId() { - return r2.terminateWorkitemActionType; + updateBotActionFromBotRunnable(e3) { + const t3 = this.translateIntentsToBranchItems(e3 ? e3.intents : []); + return this.switchToNewBotPaths(t3), this.mergeSlotSchemas(e3); } - get displayTypeName() { - return this._scriptingName; + updateDependencies() { + this.updateBotIntegrationPropertyDependency(), this.updateBotCategoryPropertyDependency(), this.updateBotRunnablePropertyDependency(), super.updateDependencies(); } - get isArchActionTerminateWorkitem() { - return true; + updateBotIntegrationPropertyDependency() { + var e3; + (null === (e3 = this.botIntegrationProperty) || void 0 === e3 ? void 0 : e3.idValue) && this.botIntegrationManager.registerConsumer(this, this.botIntegrationProperty.nameValue, this.botIntegrationProperty.idValue); } - get terminateWorkitemOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + updateBotCategoryPropertyDependency() { + var e3; + (null === (e3 = this.botCategoryProperty) || void 0 === e3 ? void 0 : e3.idValue) && this.botCategoryManager.registerConsumer(this, this.botCategoryProperty.nameValue, this.botCategoryProperty.idValue); } - } - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends u.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); + updateBotRunnablePropertyDependency() { + (this.botRunnableProperty.nameValue || this.botRunnableProperty.idValue) && this.botRunnableManager.registerConsumer(this, this.botRunnableProperty.nameValue, this.getDependencyTrackingId()); } - static get branchInfo() { - return o.default.successFailure; + 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, o.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, o.sprintf)(A.bot.internalErrReferenceId, this.botRunnableManager.dependencyType.displayName)); + break; + } + } + } + const i3 = this.getUnsupportedLanguageInfo(t3); + i3 && (i3.isWarning ? e3.addWarning(this, i3.message) : e3.addError(this, i3.message, false, false)); } - get isSecureDataAction() { - return true; + get yamlNoBotRunnablePropName() { + return "noBot"; } - static get managedProperties() { - 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)) }]; + get requiresSpeechRec() { + return false; } } - 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; - var n2 = i2(87699), r2 = i2(65212), o = i2(17214); - function a(e3, t3) { - return e3 === t3; - } - t2.distinctUntilChanged = function(e3, t3) { - return void 0 === t3 && (t3 = n2.identity), e3 = null != e3 ? e3 : a, r2.operate(function(i3, n3) { - var r3, a2 = true; - i3.subscribe(o.createOperatorSubscriber(n3, function(i4) { - var o2 = t3(i4); - !a2 && e3(r3, o2) || (a2 = false, r3 = o2, n3.next(i4)); - })); - }); - }; - }, 22047: (e2, t2, i2) => { + v.className = "BaseBotActionViewModel", t2.default = v; + }, 9183(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importDefault(i2(5730)), C = i2(47957); + class O extends I.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this.addAutoCleanedUpEventListener(h.ttsEngineChanged, (e4) => this.processTtsEngineChanged(e4)), this._loadModel(t3); } - get _globalTypeName() { - return "json"; + repointSelfReferencingFlow(e3, t3) { + var i3; + null === (i3 = this.botFlow) || void 0 === i3 || i3.repointSelfReference(e3, t3); } - get displayTypeName() { - return "ArchVariableJson"; + static get managedProperties() { + var e3; + const t3 = null === (e3 = g.default.getDefinitionForFlowType(o.flowTypes.flowTypeBot).getAdditionalInfoSection("exitReasons")) || void 0 === e3 ? void 0 : e3.value, i3 = []; + return a.default.each(t3, (e4) => { + i3.push(`"${e4}"`); + }), [{ label: C.dialogEngine.inputTextLabel, options: d.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(C.callBotFlowAction.inputTextLabel, C.callBotFlowAction.inputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInQueueShortMessage], options: d.ExpressionTypeStringOptions.create((e4) => e4.setDefaultToExpression(true).setDoNotTransitionToNoValue(true).setDefaultText(l.default.messageBodyVariable).setIsOptional(true).setDescriptionInfo(C.callBotFlowAction.inputTextLabel, C.callBotFlowAction.inputTextDescription).setIninTestingField("inputTextExpression")) }], property: "inputText", type: u.expressionTypeNames.string, yamlOptions: O.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: O.createYamlOptions("callBotFlowInfoWithHelpLink", (e4) => e4.setSkipProperty(true)) }] : [{ createDetails: v.NoteActionProperty.createCreateDetails("", "info", "CallBotFlow-applyWarning"), options: c.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(2)), property: "languageChangeWarning", yamlOptions: O.createYamlOptions("languageChangeWarning", (e4) => e4.setSkipProperty(true)) }], { dataList: true, label: C.inputOutputList.inputs, options: c.ExpressionTypelessOptions.create((e4) => e4.setIsOptional(true).setUiPropertyOrder(3)), property: "inputs", yamlOptions: O.createYamlOptions("inputs", (e4) => e4.setSkipProperty(true).setExportOrder(2)) }, { dataList: true, isOutput: true, label: C.inputOutputList.outputs, options: c.ExpressionTypelessOptions.create((e4) => e4.setUiPropertyOrder(4)), property: "outputs", yamlOptions: O.createYamlOptions("outputs", (e4) => e4.setSkipProperty(true).setExportOrder(3)) }, { label: C.callBotFlowAction.exitReason, options: d.ExpressionTypeStringOptions.create((e4) => e4.setIninTestingField("exitReason").setUiPropertyGroup(C.callBotFlowAction.executionResults).setDescriptionInfo(C.callBotFlowAction.exitReason, C.callBotFlowAction.exitReasonDescription).setDescriptionAdditionalInfoSection({ title: C.callBotFlowAction.exitReasonExamplesTitle, entries: i3 }).setAsOutput().setIsOptional(true)), property: "exitReason", type: u.expressionTypeNames.string, yamlOptions: O.createYamlOptions("exitReason", (e4) => { + e4.setExportOrder(4); + }) }, { label: C.callBotFlowAction.intent, options: d.ExpressionTypeStringOptions.create((e4) => e4.setIninTestingField("intent").setUiPropertyGroup(C.callBotFlowAction.executionResults).setDescriptionInfo(C.callBotFlowAction.intent, C.callBotFlowAction.intentDescription).setAsOutput().setIsOptional(true)), property: "intent", type: u.expressionTypeNames.string, yamlOptions: O.createYamlOptions("intent", (e4) => { + e4.setExportOrder(5); + }) }]; } - get initialValue() { - return this._initialValue; + processTtsEngineChanged(e3) { + (!e3 || e3.isTtsDataViewModel && e3.parentFlow === this.parentFlow) && S.validateAction(this, false, true); } - get dataType() { - return this.coreFactory.createArchWrapper(this._coreVariableViewModel.type); + _initializeDesignTime() { + var e3; + super._initializeDesignTime(); + 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 === o.flowTypes.flowTypeBot ? e4 = C.callBotFlowAction.callBotFlowInfo : t3 === o.flowTypes.flowTypeDigitalBot && (e4 = C.callBotFlowAction.callDigitalBotFlowInfo), e4 && this.callBotFlowInfoWithHelpLink && (this.callBotFlowInfoWithHelpLink.note = `${e4} ${C.generic.seeResourceCenter.flowsCallingFlows}`); + } else if ((null == i3 ? void 0 : i3.supportsMoreThanOneLanguage) && this.parentFlow.supportsLanguages) { + const e4 = g.default.getDefinitionForFlowType(t3).typeDisplayName || t3; + let i4; + i4 = this.parentFlow.isCommonModuleFlow ? (0, r.sprintf)(C.callBotFlowAction.languageChangeWarningCommonModule, e4) : this.parentFlow.languageChangesAreImmediate ? (0, r.sprintf)(C.callBotFlowAction.languageChangeWarningImmediate, e4) : (0, r.sprintf)(C.callBotFlowAction.languageChangeWarningTaskEnd, e4), this.languageChangeWarning.note = i4; + } + this.targetFlowType.setSchemaRefreshedCallback(() => this.updateIntentPropDescriptionStr()), this.updateIntentPropDescriptionStr(); } - get isArchVariableJson() { - return true; + updateIntentPropDescriptionStr() { + var e3, t3; + if (!this.intent) return void this.topic.error("no intent object to update!"); + 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 && a.default.isArray(o2.intents) && a.default.each(o2.intents, (e4) => { + if (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: C.callBotFlowAction.configuredIntentValues, entries: n3.length ? n3 : [C.callBotFlowAction.intentsNone] }); } - } - t2.default = r2; - }, 22105: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.asap = t2.asapScheduler = void 0; - var n2 = i2(78051), r2 = i2(23952); - t2.asapScheduler = new r2.AsapScheduler(n2.AsapAction), t2.asap = t2.asapScheduler; - }, 22124: (e2, t2, i2) => { - const n2 = i2(92140); - function r2() { - Object.defineProperties(this, { _entities: { value: [], writable: true } }), this.pageCount = void 0, this.pageNumber = void 0, this.pageSize = void 0, this.total = void 0, r2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(r2, "PagedList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - n2.isArray(e3) && (this._entities = e3); - } }, results: { enumerable: true, get: function() { - return this.entities; - }, set: function(e3) { - this.entities = e3; - } } }), 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 = 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, " ") : ""; - } - function o(e3) { - return e3 ? e3.replace(/\\/g, "\\\\").replace(/\"/g, '\\"').replace(/\t/g, "\\t").replace(/\r/g, "\\r").replace(/\n/g, "\\n") : ""; - } - function a(e3, t3) { - return !(!n2.default.isString(e3) || (t3 || (e3 = e3.trim()), e3.length < 2 || '"' !== e3[0] || '"' !== e3[e3.length - 1])); - } - function s(e3) { - return o(e3); - } - function l(e3) { - return r2(e3); - } - function u(e3) { - return e3 ? `"${o(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: 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); + static get branchInfo() { + return [_.default.fakeDisconnect]; } - _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); - } + get flowInputs() { + return this.inputs; } - _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 }] }; + get flowOutputs() { + return this.outputs; } - _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)); + setBotFlowReferenceToCallByFlowId(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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 o2 = e3.botFlow ? "botFlow" : e3.digitalBotFlow ? "digitalBotFlow" : void 0, a2 = o2 ? e3[o2] : void 0; + if (o2 && (0, N.isConfigureFromModelRecord)(a2) && !a2.none) { + const e4 = a2, o3 = Object.keys(e4)[0]; + if (o3) { + const a3 = t3, l2 = (0, N.isConfigureFromModelRecord)(e4[o3]) ? e4[o3] : 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(o3); + if (!u2) { + for (const e6 of Object.values(n3.items || {})) if (e6.displayName === o3) { + u2 = e6; + break; + } + } + if (!u2 && n3.fullManager) { + for (const e6 of Object.values(n3.fullManager.items || {})) if (e6.displayName === o3) { + u2 = e6; + break; + } + } + if (u2) { + if (yield this.targetFlowType.setReferenceWithFlowInfo(u2), l2) { + const n4 = Object.keys(l2)[0], o4 = n4 && (0, N.isConfigureFromModelRecord)(l2[n4]) ? l2[n4] : void 0; + o4 && (i3.currentPropertyName = "inputs", null === (e5 = this.inputs) || void 0 === e5 || e5.configureFromModel(o4.inputs, a3, i3), i3.currentPropertyName = "outputs", null === (t4 = this.outputs) || void 0 === t4 || t4.configureFromModel(o4.outputs, a3, i3), i3.currentPropertyName = void 0); + } + } else i3.warn((0, r.sprintf)(s.configureFromModel.failedToResolve, "bot flow", o3)); + } catch (e6) { + const t5 = e6 instanceof Error ? e6.message : String(e6); + i3.warn((0, r.sprintf)(s.configureFromModel.entityResolutionFailed, "botFlow", o3, t5)); + } + }) }); + } } - return { json: {}, errors: [t3] }; + super._configureFromModel(e3, t3, i3); } - }; - }, 22309: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(46210)), r2 = i2(30801), o = i2(32678), a = i2(26847); - class s extends n2.default { - constructor(e3) { - super(e3), this._agentManager = o.dialogflowCxAgentManager; + validate(e3) { + super.validate(e3), this._validateTargetFlowInfoLanguages(e3, this.targetFlowType.getFlowInfo(), this.parentFlow.isCallFlowType); + 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, C.textToSpeech.noneLabel); } - get _actionTypeId() { - return r2.dialogflowCxActionType; + getDetails() { + return this.getDetailsForProperties([this.targetFlowType, this.inputText, this.intent]); } - addSessionParameterNameValuePair(e3, t3) { - return this.addSessionVariableNameValuePair(e3, t3); + get isBaseCallBotFlowAction() { + return true; } - addSessionParameterOutputNameValuePair(e3, t3) { - return this._addSessionVariableOutputNameValuePair(e3, t3); + addTtsEngineValidationError(e3, t3, i3) { + var n3; + const o2 = y.getLanguageNameAndCodeDisplay(e3); + t3.addError(this, (0, r.sprintf)(1 === e3.length ? C.textToSpeech.ttsEngineNotUsableByAction : C.textToSpeech.ttsEngineNotUsableByActionMoreThanOne, this.info.name, i3, o2), void 0, void 0, void 0, null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.languages); } - addLiveAgentHandoffMetadataNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addLiveAgentHandoffMetadataNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addLiveAgentHandoffMetadataNameValuePair"), t3, true), this.liveAgentHandoffMetadata._addNameValueAssignment(e3, t3, true, true); + } + O.className = "BaseCallBotFlowAction", t2.default = O; + }, 53755(e2, t2, i2) { + "use strict"; + t2.BaseConversationAttributeActionViewModel = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(14592)), r = n2.__importDefault(i2(19613)), a = i2(82632), s = i2(85415), l = i2(66314), u = i2(79519), c = i2(89917), d = i2(79519), p = n2.__importDefault(i2(85499)), _ = n2.__importDefault(i2(87675)), h = n2.__importDefault(i2(65302)), m = i2(29586), g = i2(80428), f = i2(81516), T = i2(82632), y = i2(96618), S = i2(99469), A = i2(28803), N = i2(47957); + class v extends r.default { + get selectedItemNetworkProperty() { + return this.conversationCustomAttributeSchema; } - get displayTypeName() { - return this._scriptingName; + constructor(e3, t3) { + super(e3, t3); } - getOutputByIntentName(e3) { - throw this.logErrorAndThrow(`The Call Dialogflow CX Bot action does not support getting outputs by an intent name (requested: '${e3}').`), new Error("unreachable"); + get inputUsesSchemaDataPatch() { + return false; } - get isArchActionCallDialogflowCxBot() { - return true; + createOrGetSchemaDataPatchInputType(e3) { + return o.createOrGetPatchableMirrorType(this.parentFlow, e3, { mapTypeId: o.mapSchemaDataTypeIdToPatch, entityName: this.conversationCustomAttributeSchemaName, rootDisplayNameSuffix: "Schema Data Patch" }); } - get liveAgentHandoffMetadata() { - const e3 = this._getCoreViewModel().liveAgentHandoffMetadata; - if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + static createRecordWrapperDataTypeDef(e3, t3, i3, n3) { + const o2 = _.default.createEmptyDataTypeDef(); + o2.id = i3.expressionTypeStr, o2.dataTypeId = i3.expressionTypeStr, o2.name = `${n3} - Record`, o2.additionalProperties = false; + const r2 = _.default.createFromPropertyParams(e3, "id", g.expressionTypeNames.string, N.conversationAttribute.recordIdDescription, { isReadOnly: true, minLength: a.conversationAttributeLimits.recordId.minLength, maxLength: a.conversationAttributeLimits.recordId.maxLength }), s2 = _.default.createFromPropertyParams(e3, "versionId", g.expressionTypeNames.integer, N.conversationAttribute.recordVersionDescription, { isReadOnly: true, minValue: a.conversationAttributeLimits.versionId.minValue, minValueInclusive: a.conversationAttributeLimits.versionId.minValueInclusive }), l2 = _.default.createFromPropertyParams(e3, "schemaVersionId", g.expressionTypeNames.integer, N.conversationAttribute.schemaVersionIdDescription, { isReadOnly: true }), u2 = _.default.createFromPropertyParams(e3, "divisions", g.expressionTypeNames.division, N.conversationAttribute.divisionsForConversationAttributeRecord, { isCollection: true, isReadOnly: true }), c2 = _.default.createFromPropertyParams(e3, "customAttributes", t3.expressionType, N.conversationAttribute.customAttributesDescription, { isReadOnly: true }); + return o2.addProperty(r2), o2.addProperty(s2), o2.addProperty(l2), o2.addProperty(u2), o2.addProperty(c2), o2; } - get outputSuccess() { - return this._getOutputById(a.outputIds.success, true); + static createOrGetRecordType(e3, t3, i3, n3) { + var r2; + if (!t3) return null; + if (!t3.expressionType) return null; + const a2 = c.CustomJsonIdentifierInfo.create((0, l.createCustomJsonExpressionDataTypeStr)(d.CustomJsonNamespace.conversationAttribute, n3, u.CustomJsonContext.record)), s2 = h.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 p2 = v.createRecordWrapperDataTypeDef(e3, t3, a2, i3), _2 = o.createCustomExpressionTypesFromDataTypeDefs(e3, [p2], true); + return null !== (r2 = null == _2 ? void 0 : _2[0]) && void 0 !== r2 ? r2 : null; } - get sessionParameterOutputs() { - return this._sessionVariableOutputs; + static createBaseManagedProperties() { + return [{ property: "conversationCustomAttributeSchema", label: N.conversationAttribute.schemaLabel, createDetails: A.NetworkBasedActionProperty.createCreateDetails("conversationCustomAttributeSchemaId", "conversationCustomAttributeSchemaName", s.conversationCustomAttributeSchemaManager, N.conversationAttribute.mustSelectSchema, N.conversationAttribute.schemaNotFound, null), yamlOptions: v.createYamlOptions("conversationCustomAttributeSchema", (e3) => e3.setSkipProperty(true)), options: S.ManagedPropertyOptions.create((e3) => e3.setDropdownPlaceholder(N.conversationAttribute.selectSchema).setIninTestingField("selectSchema")) }, { property: "conversationId", label: N.setConversationData.conversationLabel, options: f.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(N.setConversationData.conversationLabel, N.setConversationData.conversationDescription).setIninTestingField("conversationIdExpression").setDisableSpellcheck(true).setUiPropertyOrder(10).facets.setLengthForUuid()), type: g.expressionTypeNames.string, supportedFlowTypes: [y.flowTypes.flowTypeWorkflow] }]; } - get sessionParameters() { - return this.sessionVariables; + static createRecordIdManagedProperty() { + return { label: N.conversationAttribute.recordId, options: f.ExpressionTypeStringOptions.create((e3) => { + e3.setAsInput().setIninTestingField("recordId").setDisableSpellcheck(true).setDefaultToExpression(true).setAllowNotSet(false).setAllowModeBuilder(false).setDescriptionInfo(N.conversationAttribute.recordId, N.conversationAttribute.recordIdDescription).facets.setAllowNull(false).setMaxLength(a.conversationAttributeLimits.recordId.maxLength).setMinLength(a.conversationAttributeLimits.recordId.minLength).setLiteralPattern(a.conversationAttributeLimits.recordId.literalPattern, N.conversationAttribute.invalidRecordId); + }), property: "recordId", type: g.expressionTypeNames.string }; } - } - t2.default = s; - }, 22322: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchTtsEngines = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = n2.__importDefault(i2(6953)), a = n2.__importDefault(i2(8471)); - class s extends a.default { - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + static createRecordIdsManagedProperty() { + return { label: N.conversationAttribute.recordIds, options: f.ExpressionTypeStringOptions.create((e3) => { + e3.setAsInput().setIninTestingField("recordIds").setIsCollection(true).setDisableSpellcheck(true).setDefaultToExpression(true).setAllowModeBuilder(false).setDescriptionInfo(N.conversationAttribute.recordIds, N.conversationAttribute.recordIdsDescription).facets.setMaxLength(a.conversationAttributeLimits.recordId.maxLength).setMinLength(a.conversationAttributeLimits.recordId.minLength).setLiteralPattern(a.conversationAttributeLimits.recordId.literalPattern, N.conversationAttribute.invalidRecordId); + }), property: "recordIds", type: g.expressionTypeNames.string }; } - get displayTypeName() { - return "ArchTtsEngines"; + static createDivisionsManagedProperty() { + return { label: N.generic.divisions, options: m.ExpressionTypeDivisionOptions.create((e3) => { + e3.setAsInput().setIninTestingField("divisions").setIsCollection(true).setDescriptionInfo(N.generic.divisions, N.conversationAttribute.divisionsForConversationAttributeRecord).setMaxItems(T.findLimits.maxBulkFindByName); + }), property: "divisions", type: g.expressionTypeNames.division }; } - getEngineByName(e3) { - const t3 = this._infoMethod("getEngineByName"); - this._ensureTtsInfoAvailable(t3, r2.default); - const i3 = this._infoParm("engineName", "getEngineByName"); - this._checkItemIsValidLiteralString(i3, e3); - const n3 = o.default.getItemByName(e3); - if (n3) return this.logNoteVerbose(`a text to speech engine with the name '${e3}' was found.`), this.coreFactory.createArchWrapper(n3); - this.logItemWarning(i3, `a text to speech engine with the name '${e3}' was not found.`); + createOrUpdateCustomJsonTypes() { + return n2.__awaiter(this, void 0, void 0, function* () { + var e3, t3, i3, n3, o2, r2, a2; + let l2 = this.conversationCustomAttributeSchema.getItem(); + const u2 = null === (e3 = null == l2 ? void 0 : l2.model) || void 0 === e3 ? void 0 : e3.jsonSchema; + if (!(null == u2 ? void 0 : u2.properties)) try { + l2 = yield s.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(l2)), this.output && (this.outputCustomJsonTypeManager = this._getOrCreateCustomJsonManager(l2)); + const c2 = null === (i3 = null == l2 ? void 0 : l2.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(l2)}`), 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 === (o2 = this.outputCustomJsonTypeManager) || void 0 === o2 ? void 0 : o2.customDataType)) { + const e4 = h.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) { + const e4 = this.inputCustomJsonTypeManager.customDataType; + if (this.input.type = this.inputUsesSchemaDataPatch && this.createOrGetSchemaDataPatchInputType(e4) || e4, this.recordDataType = v.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 === (r2 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataPatchTypeInfo.expressionTypeStr)) || void 0 === r2 || r2.addReader(this.input)); + } + if (this.output && this.outputCustomJsonTypeManager) { + const e4 = this.outputCustomJsonTypeManager.customDataType; + this.recordDataType = v.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) ? h.default.getType(this.parentFlow, this.recordDataType.expressionType, true) : this.recordDataType, this._registerOutputRecordTypeReader()); + } + }); } - get ttsEngineGenesys() { - const e3 = this._infoPropGet("ttsEngineGenesys"); - return this._ensureTtsInfoAvailable(e3, r2.default), this.coreFactory.createArchWrapper(o.default.getGenesysEngine()); + setCachedCustomJsonTypesForInputOutput() { + var e3, t3, i3, n3, o2; + const r2 = null === (e3 = this.parentFlow.definitions) || void 0 === e3 ? void 0 : e3.customDataTypeExpressionType; + if (this.input) { + const e4 = this.inputUsesSchemaDataPatch ? this._schemaDataPatchTypeInfo.expressionTypeStr : this._schemaDataTypeInfo.expressionTypeStr; + let o3 = r2.find((t4) => t4.dataType === e4); + if (!o3 && this.inputUsesSchemaDataPatch) { + const e5 = r2.find((e6) => e6.dataType === this._schemaDataTypeInfo.expressionTypeStr); + e5 && (o3 = this.createOrGetSchemaDataPatchInputType(e5)); + } + o3 && (this.input.type = o3), 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 = r2.find((e5) => e5.dataType === this._recordDataTypeInfo.expressionTypeStr); + e4 && (this.output.type = (null === (o2 = this.output.options) || void 0 === o2 ? void 0 : o2.isCollection) ? h.default.getType(this.parentFlow, e4.expressionType, true) : e4), this._registerOutputRecordTypeReader(); + } } - } - t2.ArchTtsEngines = s; - const l = new s(); - t2.default = l; - }, 22456: (e2, t2, i2) => { - "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 c extends s.default { - constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }) { - super({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }); + validate(e3) { + var t3, i3, n3, o2, r2, a2, s2; + 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, N.conversationAttribute.disabledSchemaSelected), this.selectedItemNetworkProperty.currentUiErrorMessage = N.conversationAttribute.disabledSchemaSelected); + const t4 = null === (r2 = null === (o2 = this.input) || void 0 === o2 ? void 0 : o2.type) || void 0 === r2 ? void 0 : r2.isCustomType, l2 = null === (s2 = null === (a2 = this.output) || void 0 === a2 ? void 0 : a2.type) || void 0 === s2 ? void 0 : s2.isCustomType; + (this.input && !t4 || this.output && !l2) && e3.addError(this, N.conversationAttribute.unableToLoadSchema); + } } - get className() { - return "LanguageOutputModeBuilderPartContainerViewModel"; + _getOrCreateCustomJsonManager(e3) { + var t3, i3, n3, o2; + return (null === (t3 = e3.model) || void 0 === t3 ? void 0 : t3.id) && (null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.name) ? p.default.getOrCreateConversationCustomAttributeSchemaCustomJsonManager(this.parentFlow, null === (n3 = e3.model) || void 0 === n3 ? void 0 : n3.name, null === (o2 = e3.model) || void 0 === o2 ? void 0 : o2.id) : null; } - get isLanguageOutputModeBuilderPartContainerViewModel() { - return true; + get _recordDataTypeInfo() { + return c.CustomJsonIdentifierInfo.create((0, l.createCustomJsonExpressionDataTypeStr)(d.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, u.CustomJsonContext.record)); + } + get _schemaDataTypeInfo() { + return c.CustomJsonIdentifierInfo.create((0, l.createCustomJsonExpressionDataTypeStr)(d.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, u.CustomJsonContext.schemaData)); } - get outputMode() { - return this.criteria ? this.criteria.outputMode : ""; + get _schemaDataPatchTypeInfo() { + return c.CustomJsonIdentifierInfo.create((0, l.createCustomJsonExpressionDataTypeStr)(d.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, u.CustomJsonContext.schemaDataPatch)); } - get containerDisplayString() { - let e3 = ""; - const t3 = a.getLanguageEntry(this.languageTag); - t3 && (e3 = (0, r2.sprintf)(u.language.labelAndTagDisplayStr, t3.text), e3 += o.default.itemListing.itemSeparator); - const i3 = l.getOutputModeForOutputModeId(this.outputMode); - return e3 += (0, r2.sprintf)(u.flow.outputMode.labelAndValue, i3 ? i3.displayStr : this.outputMode), e3; + _clearInputsAndOutputs() { + this._removeInputCustomJsonTypeReaders(), this._removeOutputCustomJsonTypeReaders(), super._clearInputsAndOutputs(); } - _validateContainerOnly(e3, t3) { - return super._validateContainerOnly(e3, t3); + _preDestroy() { + this._removeInputCustomJsonTypeReaders(), this._removeOutputCustomJsonTypeReaders(), super._preDestroy(); } - } - t2.default = c; - }, 22465: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(22226)), a = n2.__importDefault(i2(70310)); - class s extends a.default { - constructor() { - super(), this._displayFacetsAsInputWhenOnlyOneValueAllowed = false; + _getSchemaDataTypeDef() { + var e3, t3, i3, n3, o2, r2; + return null !== (r2 = 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 === (o2 = null === (n3 = this.outputCustomJsonTypeManager) || void 0 === n3 ? void 0 : n3.customDataType) || void 0 === o2 ? void 0 : o2.getCustomDataTypeDefinition()) && void 0 !== r2 ? r2 : this.parentFlow.definitions.getCustomDataTypeDefinition(this._schemaDataTypeInfo.expressionTypeStr); } - static create() { - return new s(); + _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); } - static createMinMaxLength(e3, t3, i3) { - const n3 = new s(); - return r2.default.isUndefined(e3) || n3.setMinLength(e3), r2.default.isUndefined(t3) || n3.setMaxLength(t3), r2.default.isUndefined(i3) || n3.setTrim(i3), n3; + _registerInputSchemaDataTypeReader() { + var e3; + this.input && (null === (e3 = this._getSchemaDataTypeDef()) || void 0 === e3 || e3.addReader(this.input)); } - get isStringFacets() { - return true; + _registerOutputRecordTypeReader() { + var e3; + this.output && (null === (e3 = this._getRecordDataTypeDef()) || void 0 === e3 || e3.addReader(this.output)); } - _facetGetExpressionItemLitValue(e3) { - const t3 = e3.getLitAsString(); - return t3 ? o.default.rawUnescapeExpressionModeString(t3) : t3; + _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)); } - _setFromFacets(e3) { - super._setFromFacets(e3), this._setFacetIfSet(this.setDisplayFacetsAsInputWhenOnlyOneValueAllowed, e3.displayFacetsAsInputWhenOnlyOneValueAllowed); + _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)); } - setDisplayFacetsAsInputWhenOnlyOneValueAllowed(e3) { - this._displayFacetsAsInputWhenOnlyOneValueAllowed = e3; + getConfiguration(e3, t3) { + var i3; + if (e3 = super.getConfiguration(e3, t3), null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = null === (i3 = this.conversationCustomAttributeSchema) || void 0 === i3 ? void 0 : i3.getConfiguration(e3, t3); + if (!n3) return e3; + e3[this.wrappedYamlName].conversationCustomAttributeSchema = n3; + } + return e3; } - get displayFacetsAsInputWhenOnlyOneValueAllowed() { - return this._displayFacetsAsInputWhenOnlyOneValueAllowed; + _configureFromModel(e3, t3, i3) { + void 0 !== e3.conversationCustomAttributeSchema && this.conversationCustomAttributeSchema.configureFromModel(e3.conversationCustomAttributeSchema, t3, i3), super._configureFromModel(e3, t3, i3); } } - t2.default = s; - }, 22488: (e2, t2, i2) => { + t2.BaseConversationAttributeActionViewModel = v; + }, 98495(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(98835), a = n2.__importDefault(i2(40559)); - class s extends a.default { + const n2 = i2(31635), o = n2.__importDefault(i2(5730)), r = n2.__importStar(i2(1115)); + class a extends o.default { constructor(e3) { - super(e3, o.groupManager); - } - get _globalTypeName() { - return "groupCollection"; - } - get displayTypeName() { - return "ArchValueGroupCollection"; - } - get _searchByValueSearchProperty() { - return "name"; + super(e3.parentFlow, e3); } - addLiteralByGroupIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("groupId", "addLiteralByGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGroupIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "group").then(() => r2.default.executeCallback(this, "addLiteralByGroupIdAsync", t3, this)); - }); + propertyChanged(e3) { + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.variables && r.validateAction(this, false, true); } - addLiteralByGroupNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("groupName", "addLiteralByGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGroupNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "group").then(() => r2.default.executeCallback(this, "addLiteralByGroupNameAsync", t3, this)); - }); + setNewInstanceDefaults(e3) { + return super.setNewInstanceDefaults(e3); } - get isArchValueGroupCollection() { - return true; + validate(e3) { + this.variables.isVariableListEmpty(e3), super.validate(e3); } } - t2.default = s; - }, 22599: (e2, t2, i2) => { + a.className = "BaseConversationDataActionViewModel", t2.default = a; + }, 19613(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)), 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 } }); - } - static create() { - return new _(); + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = 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); } - _initialize() { - let e3 = ""; - o.default.each(this._generationBlueprintOrigMetaData, (t3) => { - switch (t3.type) { - case 1: - case 2: - case 11: - case 12: - case 13: - case 10: - case 5: - case 8: - o.default.isString(e3) && e3.length > 0 && (this._generationBlueprintBuiltResults.push(e3), this._generationBlueprintBuiltMetaData.push(void 0), e3 = ""), this._generationBlueprintBuiltMetaData.push(t3), this._generationBlueprintBuiltResults.push(void 0); - break; - case 3: - case 4: - e3 += t3.operatorText; - break; - case 6: - e3 += t3.propertyAccessText; - break; - case 9: - e3 += t3.text; - break; - case 7: - e3 += t3.token; - break; - default: - throw p.error(`Unhandled Type for expressionBitMetaData: ${JSON.stringify(t3)}`), "unhandled type!"; - } - }), e3.length > 0 && (this._generationBlueprintBuiltResults.push(e3), this._generationBlueprintBuiltMetaData.push(void 0)), this._initialized = true; + static createCustomJsonProperties() { + return this.createManagedPropertiesFromConfig({ includeInput: true, includeOutput: true }); } - addFuncCall(e3) { - return this._generationBlueprintOrigMetaData.push({ type: 1, funcName: e3, funcCallText: `${e3}(` }), this; + static get managedProperties() { + return []; } - _addGenerationBucket(e3, t3, i3, n3) { - return this._generationBlueprintOrigMetaData.push({ type: n3, generationBucketName: e3, separatorText: o.default.isString(i3) ? i3 : "" }), true === t3 && (this._defaultGenerationBucketName = e3), this; + static createManagedPropertiesFromConfig(e3) { + const t3 = []; + if (e3.includeInput) { + let i3; + 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() : 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; } - addSingleGenerationBucket(e3, t3) { - return this._addGenerationBucket(e3, t3, "", 13); + setSelectedActionByViewModel(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + e3 && (this.selectedItemNetworkProperty.setValue(e3), this.createOrUpdateCustomJsonTypes(), this._updateForItemSelection()); + }); } - addFuncCallParmGenerationBucket(e3, t3) { - return this._addGenerationBucket(e3, t3, " ", 11); + _initializeDesignTime() { + super._initializeDesignTime(), this.setCachedCustomJsonTypesForInputOutput(), this._updateForItemSelection(), this.addAutoCleanedUpEventSinkWatch(o.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(), r.validateAction(this, void 0, true); + })); } - addLogicalAndParmGenerationBucket(e3, t3) { - return this._addGenerationBucket(e3, t3, " And ", 12); + _updateForItemSelection() { + const e3 = !!this.selectedItemNetworkProperty.getItem(); + this.input && (this.input.outOfService = !e3 || !this.input.type.isCustomType), this.output && (this.output.outOfService = !e3 || !this.output.type.isCustomType); } - addLogicalOrParmGenerationBucket(e3, t3) { - return this._addGenerationBucket(e3, t3, " Or ", 12); + _clearInputsAndOutputs() { + var e3, t3; + 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(); } - createGeneration() { - return c.default.createForGenerator(this); + _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)); } - get defaultGenerationBucketName() { - return this._defaultGenerationBucketName; + } + t2.default = p; + }, 25234(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importStar(i2(63824)), r = 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 r.default { + static get managedProperties() { + 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(o.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(o.durationStyles.secondsAndTenthsDuration).setUiPropertyOrder(21).facets.setMinDur(1e3, true).setMaxDur(6e4, true)), property: "timeout", type: u.expressionTypeNames.duration }]; } - addFuncCallEnd() { - return this._generationBlueprintOrigMetaData.push({ type: 2 }), this; + static get branchInfo() { + return a.default.successTimeout; } - addTokenReplacement(e3) { - return this._generationBlueprintOrigMetaData.push({ type: 8, tokenIndex: e3 }), this; + constructor(e3) { + super(e3.parentFlow, e3); } - addToken(e3) { - return this._generationBlueprintOrigMetaData.push({ type: 7, token: e3 }), this; + } + t2.default = d, d.className = "BaseDetectSilenceActionViewModel"; + }, 92566(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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); } - addText(e3) { - return this._generationBlueprintOrigMetaData.push({ type: 9, text: e3 }), this; + _initializeDesignTime() { + super._initializeDesignTime(), this.addAutoCleanedUpEventSinkWatch(p.listOrderChanged, this.sessionVariables, () => this.validateIfNoSessionVariables()); } - addTokenBooleanFalse() { - return this.addToken(l.default.false); + get botRunnableProperty() { + return this.bot; } - addTokenBooleanTrue() { - return this.addToken(l.default.true); + get environmentId() { + return this.model.environmentId; } - addTokenNotSet() { - return this.addToken(l.default.notSet); + set environmentId(e3) { + this.model.environmentId = e3; } - addPropertyAccess(e3) { - return this._generationBlueprintOrigMetaData.push({ type: 6, propertyName: e3, propertyAccessText: `.${e3}` }), this; + get environmentName() { + return this.model.environmentName; } - addOperatorOneOperand(e3) { - return this._generationBlueprintOrigMetaData.push({ type: 3, operator: e3, operatorText: `${e3}` }), this; + getEnvironmentName() { + return this.environmentId === h.default.dialogflow.draftEnvironmentId ? h.default.dialogflow.draftEnvironmentName : this.environmentName || this.environmentId; } - addOperatorTwoOperand(e3) { - return this._generationBlueprintOrigMetaData.push({ type: 4, operator: e3, operatorText: ` ${e3} ` }), this; + get integrationName() { + return this.model.integrationName; } - addOperatorMinus() { - return this.addOperatorTwoOperand("-"); + set integrationName(e3) { + this.model.integrationName = e3; } - addOperatorAnd() { - return this.addOperatorTwoOperand("And"); + get integrationId() { + return this.model.integrationId; } - addOpenParen() { - return this.addToken("("); + set integrationId(e3) { + this.model.integrationId = e3; } - addCloseParen() { - return this.addToken(")"); + get isBaseDialogflowAction() { + return true; } - addNotSet() { - return this.addToken(l.default.notSet); + static get managedProperties() { + 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: [o.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: [o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInQueueShortMessage, o.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: [o.flowTypes.flowTypeInboundShortMessage, o.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: [o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInQueueShortMessage, o.flowTypes.flowTypeInboundChat], type: u.expressionTypeNames.string, yamlOptions: A.createYamlOptions("inputText", (e3) => e3.setExportOrder(1)) }]; } - addLastGeneratedText() { - return this._generationBlueprintOrigMetaData.push({ type: 10 }), this; + postProcessYamlConfig(e3, t3, i3) { + if (!this.botRunnableProperty.idValue) return void this.removeYamlExportPropsThatRequireRunnable(e3); + let n3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); + n3 || (n3 = this.botRunnableManager.getItemFromFlowMetadata(this, this.botRunnableProperty.idValue)), n3.integrationName && (e3.integration = {}, e3.integration.name = n3.integrationName); + const o2 = (null == n3 ? void 0 : n3.projectId) || "unknownProjectId"; + e3.dialogflow = {}, e3.dialogflow[o2] = {}; + const r2 = e3.dialogflow[o2][this.botName || "unknownBotName"] = {}; + r2.environment = this.getEnvironmentName(), this.commonBotPostProcessYamlConfig(e3, r2); } - addOperatorNot() { - return this.addOperatorOneOperand("!"); + _configureFromModel(e3, t3, i3) { + if ((0, f.isConfigureFromModelRecord)(e3.dialogflow)) { + const o2 = e3.dialogflow, r2 = Object.keys(o2)[0]; + if (r2) { + const e4 = (0, f.isConfigureFromModelRecord)(o2[r2]) ? o2[r2] : void 0, s2 = e4 ? Object.keys(e4)[0] : void 0; + if (s2 && e4) { + const o3 = 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, o3, i3), i3.currentPropertyName = void 0), (null == l2 ? void 0 : l2.intents) && this.outputs && (i3.currentPropertyName = "intents", this.outputs.configureFromModel(l2.intents, o3, i3), i3.currentPropertyName = void 0)) : i3.warn((0, y.sprintf)(a.configureFromModel.failedToResolveIn, "dialogflow bot", s2, "project", r2)); + } 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); } - addOperatorEquals() { - return this.addOperatorTwoOperand("=="); + 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); } - addOperatorNotEquals() { - return this.addOperatorTwoOperand("!="); + get shouldSkipLanguageValidation() { + return true; } - addOperatorGreaterThan() { - return this.addOperatorTwoOperand(">"); + get supportsEnvironments() { + return true; } - addOperatorGreaterThanOrEqualTo() { - return this.addOperatorTwoOperand(">="); + get supportsInputsOutputs() { + return true; } - addOperatorLessThan() { - return this.addOperatorTwoOperand("<"); + 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 ? S.dialogflow.sessionInputsWarning : ""; + } + return ""; } - addOperatorLessThanOrEqualTo() { - return this.addOperatorTwoOperand("<="); + setEnvironment(e3) { + this.environmentId = null == e3 ? void 0 : e3.id; } - addOperatorOr() { - return this.addOperatorTwoOperand("Or"); + validate(e3) { + if (super.validate(e3), !r.default.isNullOrUndefined(this.environmentId)) { + const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); + t3 && !r.default.findWhere(t3.environments, { id: this.environmentId }) && e3.addError(this, S.dialogflow.environmentNotFound); + } + r.default.isEmpty(this.sessionInputsWarning) || e3.addWarning(this, this.sessionInputsWarning); } - addOperatorPlus() { - return this.addOperatorTwoOperand("+"); + propertyChanged(e3) { + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.eventName && m.validateAction(this, false, true); } - addFuncParameterSeparator() { - return this._generationBlueprintOrigMetaData.push({ type: 5 }), this; + validateIfNoSessionVariables() { + this.sessionVariables && 0 === this.sessionVariables.length && m.validateAction(this, true, true); } - get className() { - return "ExpressionGenerator"; + get yamlNoBotRunnablePropName() { + return "noDialogflowBot"; } - get sprintfString() { - if (o.default.isUndefined(this._sprintfString)) { - let e3, t3; - try { - 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 { - e3 && e3.destroy(), t3 && t3.destroy(); - } - } - return this._sprintfString; + } + A.className = "BaseDialogflowActionViewModel", t2.default = A; + }, 5478(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(27203)), r = n2.__importDefault(i2(57606)), a = n2.__importDefault(i2(5730)), s = i2(47957), l = i2(3916); + class u extends a.default { + constructor(e3, t3) { + super(e3, t3); } - _generate(e3, t3) { - this._initialized || console.error("bad!"); - const i3 = o.default.clone(this._generationBlueprintBuiltResults); - let n3, r3, a2; - for (let s2 = 0; s2 < i3.length; s2++) if (void 0 === i3[s2]) switch (n3 = this._generationBlueprintBuiltMetaData[s2], n3.type) { - case 1: - t3.addFuncCall(n3.funcCallText); - break; - case 2: - t3.endFuncCall(); - break; - case 10: - t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? "" : t3.lastBucketGenerationText); - break; - case 11: - r3 = e3.getGenerationForBucket(n3.generationBucketName), o.default.isUndefined(r3) ? t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? `` : "") : o.default.each(r3, (e4) => { - t3.addFuncParmSeparator(), t3.setBucketGenerationStart(true), e4._generate(t3), t3.setBucketGenerationEnd(); - }); - break; - case 12: - r3 = e3.getGenerationForBucket(n3.generationBucketName), o.default.isUndefined(r3) ? t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? `` : "") : (a2 = 0, o.default.each(r3, (e4) => { - a2 > 0 && t3.addGenerationSeparator(n3.separatorText), t3.setBucketGenerationStart(), e4._generate(t3), t3.setBucketGenerationEnd(), a2++; - })); - break; - case 13: - r3 = e3.getGenerationForBucket(n3.generationBucketName), o.default.isUndefined(r3) ? t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? `` : "") : o.default.each(r3, (e4) => { - t3.setBucketGenerationStart(true), e4._generate(t3), t3.setBucketGenerationEnd(); - }); - break; - case 5: - t3.addFuncParmSeparator(); - break; - case 8: - t3.addResultPart(e3.getReplacementTokenAtIndex(n3.tokenIndex)); - break; - default: - throw p.error(`Unhandled Type for expressionBitMetaData: ${JSON.stringify(n3)}`), "Unhandled Type"; - } - else t3.addResultPart(i3[s2]); + _initializeDesignTime() { + super._initializeDesignTime(), this._createErrorSchema().properties.forEach((e3) => { + let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); + t3 || (t3 = l.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), l.setExpressionWithSchemaProperty(t3.value, e3); + }); } - getWillGenerateNotSetOrStringLiteral(e3) { - if (1 !== this._generationBlueprintBuiltResults.length) return false; - let t3 = e3.generate(); - return !(!o.default.isString(t3) || 0 === t3.length || (t3 = t3.trim(), t3 !== l.default.notSet && (t3.length < 2 || '"' !== t3[0] || t3.indexOf('"', 1) !== t3.length - 1))); + _createErrorSchema() { + const e3 = new r.default({ properties: { errorType: { type: "string", description: s.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: s.errorSchema.errorMessageDescription } } }, false), t3 = this._getPossibleErrors(); + return t3 && t3.length && e3.setErrorTypeAllowableValues(t3.sort()), e3; } - get aboutToAddGenerationCallback() { - return this._aboutToAddGenerationCallback; + static get branchInfo() { + return o.default.successFailure; } - set aboutToAddGenerationCallback(e3) { - this._aboutToAddGenerationCallback = e3; + static get managedProperties() { + return [{ dataList: true, label: s.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", yamlOptions: u.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(120)) }]; } - get generationDescription() { - return this._generationDescription; + _getPossibleErrors() { + return null; } - set generationDescription(e3) { - this._generationDescription = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "generationDescription", "value"), true); + } + u.className = "BaseFailureOutputsActionViewModel", t2.default = u; + }, 33644(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(99469), r = i2(51306), a = i2(28803), s = n2.__importDefault(i2(5730)), l = i2(47957); + class u extends s.default { + constructor(e3, t3) { + super(e3, t3); } - setGenerationDescription(e3) { - return this.generationDescription = e3, this; + getFlowInfoSpecAnnotation() { + return this.outcomeName ? `-> outcome "${this.outcomeName}"` : void 0; } - setGenerationDescriptionFromType(e3) { - 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)); + static get managedProperties() { + return [{ property: "outcome", label: l.flowOutcomes.flowOutcome, options: o.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("outcome-selector").setDropdownPlaceholder(l.flowOutcomes.selectFlowOutcome).setUiPropertyOrder(0)), yamlOptions: u.createYamlOptions("flowOutcome", (e3) => e3.setPropertyName("flowOutcome")), createDetails: a.NetworkBasedActionProperty.createCreateDetails("outcomeId", "outcomeName", r.outcomeManager, l.flowOutcomes.mustSelectFlowOutcome, l.flowOutcomes.flowOutcomeNotFound, null) }]; } - setAboutToAddGenerationCallback(e3) { - return this.aboutToAddGenerationCallback = s.ParameterValidator.expectFunction(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "aboutToAddGenerationCallbackFunction")), this; + } + u.className = "BaseFlowOutcomeAction", t2.default = u; + }, 55581(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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 = r.variable, e3.expression.setAsOutput(), c.validateAction(this, true, true), e3.id; } - verifySprintfStringAndInitialize(e3) { - return this._initialize(), this; + 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: [o.flowTypes.flowTypeWorkflow, o.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)) }]; } } t2.default = _; - }, 22604: (e2, t2, i2) => { + }, 89181(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { + const n2 = i2(31635), o = n2.__importStar(i2(63352)), r = i2(14394), a = i2(36128), s = n2.__importStar(i2(1115)), l = n2.__importDefault(i2(49487)), u = i2(47957); + class c extends l.default { constructor(e3) { super(e3); } - get grammarId() { - return this._grammarId; + addAttribute() { + const e3 = this.variables.add(null, r.globalTypes.string); + return e3.expression.mode = o.variable, e3.expression.setAsOutput(), s.validateAction(this, true, true), e3.id; } - set grammarId(e3) { - this._grammarId = e3; + 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: c.createYamlOptions("variables", (e3) => e3.setPropertyName("attributes").setNameValuePairShouldUseVariableProperty(true).setWrappedCollectionItemName("attribute")) }]; } - get language() { - return this._language; + } + t2.default = c; + }, 87951(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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); } - set language(e3) { - this._language = e3; + _postProcessYamlConfig(e3, t3, i3) { } - get fileUrl() { - return this._fileUrl; + _setBotCategoryProperties(e3) { + e3 && (this.botCategoryProperty.nameValue = e3.botName, this.isLexV2Action || (this.botCategoryProperty.idValue = e3.botId)); } - set fileUrl(e3) { - this._fileUrl = e3; + get botRunnableProperty() { + return this.alias; } - } - t2.default = a, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "grammarId", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "language", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "fileUrl", null); - }, 22668: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(45421), o = i2(25190), { ParameterInfo: a } = i2(55909), { ParameterValidator: s } = i2(33951); - e2.exports = class extends r2 { - constructor(e3) { - super(e3), Object.defineProperties(this, { _clipboardObject: { writable: true, enumerable: false }, _pasteCurrentContent: { writable: true, enumerable: false }, _pasteDestActionContainer: { writable: true, enumerable: false }, _pasteDestMenuOrStateOrTaskArray: { writable: true, enumerable: false }, _pasteDestFlowVariableGroup: { writable: true, enumerable: false }, _pasteDestFlowViewModel: { writable: true, enumerable: false }, _pasteDestViewModelTaskOrState: { writable: true, enumerable: false }, _pasteDestViewModel: { writable: true, enumerable: false }, _pasteInProgress: { writable: true, enumerable: false }, _pasteOldIdToNewIdMap: { writable: true, enumerable: false, value: new o(this.clipboardLogging, "ID Map") }, _pasteOldMenuNameToNewMenuNameMap: { writable: true, enumerable: false, value: new o(this.clipboardLogging, "Menu Name Map") }, _pasteOldTaskNameToNewTaskNameMap: { writable: true, enumerable: false, value: new o(this.clipboardLogging, "Task Name Map") }, _pasteOldTrackingIdToNewTrackingIdMap: { writable: true, enumerable: false, value: new o(this.clipboardLogging, "Tracking ID Map") }, _pasteOldStateNameToNewStateNameMap: { writable: true, enumerable: false, value: new o(this.clipboardLogging, "State Name Map") }, _pasteOldVariableNameToNewVariableNameArray: { writable: true, enumerable: false }, _pasteSettings: { writable: true, enumerable: false } }), this.reset(); + get botCategoryProperty() { + return this.bot; } - _fixDestinationViewModel(e3) { - return e3 ? e3.isMenuChoice && e3.isSubMenu && e3.menu ? e3.menu : e3 : null; + get botRunnableNetworkGetCall() { + return A.getAlias; } - get pasteActionsToEndOfActionContainer() { - return !!this._pasteSettings && this._pasteSettings.pasteActionsToEndOfActionContainer; + get languagesProperty() { + return this.model.aliasLanguages; } - get additionalInfo() { - return this._pasteSettings ? this._pasteSettings.additionalInfoResults : void 0; + set languagesProperty(e3) { + this.model.aliasLanguages = e3; } - get className() { - return "ClipboardPasteContext"; + get isLexAction() { + return true; } - get clipboardObject() { - return this._clipboardObject; + static get managedProperties() { + 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: [o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInQueueShortMessage, o.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: [o.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: [o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInQueueShortMessage, o.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: [o.flowTypes.flowTypeInboundShortMessage, o.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: o.flowTypes.flowTypesAllVxmlgen, options: h.AudioViewModelOptions.create((e3) => e3.setLabel(N.lex.startingAudio).setIninTestingField("startingAudio")), yamlOptions: v.createYamlOptions("prompts", (e3) => e3.setPropertyName("startAudio")) }]; } - get destAllowableClipboardContentTypes() { - return this._pasteSettings ? this._pasteSettings.allowableClipboardContentTypes : void 0; + postProcessYamlConfig(e3, t3, i3) { + this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), this.botName && this._postProcessYamlConfig(e3, t3, i3); } - get currentContent() { - return this._pasteCurrentContent; + removeYamlExportPropsThatRequireRunnable(e3) { + super.removeYamlExportPropsThatRequireRunnable(e3), delete e3.aliasInitialIntentName; } - get destFlowViewModel() { - return this._pasteDestFlowViewModel; + validate(e3) { + 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, r.sprintf)(N.lex.lexAliasNotReady, i3.status, this.aliasReadyStatus)); } - get destFlowVariableGroup() { - return this._pasteDestFlowVariableGroup; + get yamlNoBotRunnablePropName() { + return "noLexBot"; } - get destActionContainer() { - return this._pasteDestActionContainer; + _configureNestedActionsFromModel(e3, t3, i3) { + const o2 = Object.create(null, { _configureNestedActionsFromModel: { get: () => super._configureNestedActionsFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + if (yield o2._configureNestedActionsFromModel.call(this, e3, t3, i3), t3 !== a.ModelFormat.FlowYaml && t3 !== a.ModelFormat.ChangeSet) return; + const n3 = this._findLexBotAliasYamlRef(e3), r2 = null == n3 ? void 0 : n3.outputs; + if (!(0, s.isConfigureFromModelRecord)(r2)) return; + for (const [e4, t4] of Object.entries(r2)) "intents" !== e4 && (0, s.isConfigureFromModelRecord)(t4) && (yield this._processOutputBranch(e4, t4, i3, `outputs[${e4}]`)); + const l2 = r2.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}]`)); + }); } - get destMenuOrStateOrTaskArray() { - return this._pasteDestMenuOrStateOrTaskArray; + _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; + } + } + } + v.className = "BaseLexAction", t2.default = v; + }, 49487(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importStar(i2(1115)), r = n2.__importDefault(i2(5730)); + class a extends r.default { + constructor(e3) { + super(e3.parentFlow, e3); } - get destViewModel() { - return this._pasteDestViewModel; + setNewInstanceDefaults() { + super.setNewInstanceDefaults(); } - get destViewModelTaskOrState() { - return this._pasteDestViewModelTaskOrState; + validate(e3) { + this.variables.isVariableListEmpty(e3), super.validate(e3); } - set destViewModelTaskOrState(e3) { - this._pasteDestViewModelTaskOrState = s.expectTrue(!n2.isUndefined(e3) && e3.isTaskLike, e3, "BaseTaskViewModel", () => a.createPropertySet(this.className, "destViewModelTaskOrState", "newValue is not a state or task")); + propertyChanged(e3) { + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.variables && o.validateAction(this, false, true); } - getDestFlowNameAndIdStr() { - return this._getNameAndIdStr(this._pasteDestFlowViewModel); + } + a.className = "BaseParticipantDataActionViewModel", t2.default = a; + }, 36825(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get pasteInProgress() { - return this._pasteInProgress; + _preDestroy() { + super._preDestroy(), this.emergencyGroupManager.tryRemoveItemFromFlowMetadata(this, this.emergencyGroupId); } - get pasteSettings() { - return this._pasteSettings; + get evaluateNow() { + return this.model.evaluateNow; } - get oldIdToNewIdMap() { - return this._pasteOldIdToNewIdMap; + set evaluateNow(e3) { + this.model.evaluateNow = e3, this.setOutOfService(), e3 || l.validateAction(this, true); } - get oldMenuNameToNewMenuNameMap() { - return this._pasteOldMenuNameToNewMenuNameMap; + _loadModel(e3) { + super._loadModel(e3), this.setOutOfService(), !this.emergencyGroup.text && this.model.emergencyGroupName && this.model.emergencyGroupId && this.emergencyGroup.update(this.model.emergencyGroupName, this.model.emergencyGroupId), this.emergencyGroup.text && this.model.emergencyGroupName && delete this.model.emergencyGroupName, this.emergencyGroup.text && this.model.emergencyGroupId && delete this.model.emergencyGroupId; } - get oldStateNameToNewStateNameMap() { - return this._pasteOldStateNameToNewStateNameMap; + setOutOfService() { + this.evaluationDateTime.outOfService = this.evaluateNow; } - get oldTaskNameToNewTaskNameMap() { - return this._pasteOldTaskNameToNewTaskNameMap; + _initializeDesignTime() { + super._initializeDesignTime(), !this.emergencyGroupName && !this.emergencyGroupId || this.emergencyGroup.text || (this.emergencyGroup.update(this.emergencyGroupName, this.emergencyGroupId), this.emergencyGroupName = void 0, this.emergencyGroupId = void 0); } - _performDestroy() { - this.reset(); + getConfiguration(e3, t3) { + 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; } - dump() { - if (!this.shouldLog) return; - const e3 = this.suppressLogHeaders; - this.suppressLogHeaders = true, this.log("----------------------------------------------------------------------------------------"), this.log(" Paste Context Contents"), this.log(" ----------------------"), this._pasteOldIdToNewIdMap.dump(), this.log("> Variable Name Map"), n2.isEmpty(this._pasteOldVariableNameToNewVariableNameArray) ? this.log(" None.") : n2.each(this._pasteOldVariableNameToNewVariableNameArray, function(e4) { - this.log(" " + e4.oldVarName + " -> " + e4.newVarName); - }.bind(this)), this.log(""), this._pasteOldTrackingIdToNewTrackingIdMap.dump(), this._pasteOldStateNameToNewStateNameMap.dump(), this._pasteOldTaskNameToNewTaskNameMap.dump(), this._pasteOldMenuNameToNewMenuNameMap.dump(), this.log("----------------------------------------------------------------------------------------"), this.suppressLogHeaders = e3; + static get managedProperties() { + return [{ description: p.evaluateSchedules.evaluationDateTimeDescription, label: p.evaluateSchedules.evaluateAtDateTime, options: r.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)) }]; } - get isClipboardPasteContext() { - return true; + postProcessYamlConfig(e3, t3, i3) { + o.default.renameProperty(e3, "emergencyGroupDeprecated", "emergencyGroup"), e3.evaluate = {}, this.evaluateNow ? e3.evaluate.now = true : o.default.moveAndDeleteProperty(e3, e3.evaluate, "specific"); } - get currentContentFlowId() { - return this.currentContent.originalObjectFlowId; + _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); + } } - resetCurrentContent() { - this._pasteCurrentContent = void 0; + setEmergencyGroup(e3) { + this.emergencyGroup.update(null == e3 ? void 0 : e3.name, null == e3 ? void 0 : e3.id); } - setCurrentContent(e3) { - this._pasteCurrentContent = s.expectTrue(!n2.isUndefined(e3) && e3.isBaseClipboardContentViewModel, e3, "BaseClipboardContentViewModel", () => a.createFunctionParameter(this.className, "setCurrentContent", "clipboardContentViewModel is a base clipboard content view model")); + get selectedEmergencyGroup() { + 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"); } - setContentDestViewModel(e3) { - this._pasteContentDestViewModel = e3; + } + _.className = "BaseScheduleAction", t2.default = _; + }, 73753(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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: 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: [o.flowTypes.flowTypeWorkflow, o.flowTypes.flowTypeWorkitem], type: r.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)) }]; } - setPasteContext(e3, t3, i3, r3) { - this.reset(), this._clipboardObject = s.expectTrue(!n2.isUndefined(e3) && e3.isClipboardObject, e3, "ClipboardObjectViewModel", () => a.createFunctionParameter(this.className, "setPasteContext", "clipboardObjectViewModel is a clipboard object instance")), this._pasteInProgress = true, r3 && (this._pasteSettings = s.expectTrue(r3.isClipboardPasteSettings, r3, "ClipboardPasteSettings", () => a.createFunctionParameter(this.className, "setPasteContext", "pasteSettings is a clipboard paste settings instance"))), i3 = this._fixDestinationViewModel(i3), this._pasteDestFlowViewModel = s.expectTrue(!n2.isUndefined(t3) && t3.isFlowViewModel, t3, "FlowViewModel", () => a.createFunctionParameter(this.className, "setPasteContext", "destFlowViewModel is a flow view model")), this._pasteDestViewModel = s.expectObject(i3, () => a.createFunctionParameter(this.className, "setPasteContext", "destViewModel is an object")), this._pasteDestViewModel.isFlowViewModel || this._pasteDestViewModel.isSubMenu || this._pasteDestViewModel.isMenu || this._pasteDestViewModel.isMenuChoice ? this._pasteDestViewModelTaskOrState = void 0 : (this._pasteDestViewModelTaskOrState = this._pasteDestViewModel.isTaskLike ? this._pasteDestViewModel : this._pasteDestViewModel.topParent, s.expectObject(this._pasteDestViewModelTaskOrState, () => a.createFunctionParameter(this.className, "setPasteContext", "destViewModel cannot determine local scoped variable container"))), this._pasteDestViewModel.parent !== this._pasteDestFlowViewModel || this._pasteDestViewModel !== this._pasteDestFlowViewModel.states && this._pasteDestViewModel !== this._pasteDestFlowViewModel.tasks && this._pasteDestViewModel !== this._pasteDestFlowViewModel.menus || (this._pasteDestMenuOrStateOrTaskArray = this._pasteDestViewModel, this._pasteDestViewModelTaskOrState = void 0); - let o2 = this._pasteDestViewModel; - for (; o2 && !o2.isActionContainerViewModel; ) o2 = o2.parent; - this._pasteDestActionContainer = o2 && o2.isActionContainerViewModel ? o2 : void 0, this._pasteDestFlowVariableGroup = this._pasteDestFlowViewModel.variableGroup; + addAttribute() { + const e3 = this.variables.add(null, a.globalTypes.string); + return u.validateAction(this, true, true), null == e3 ? void 0 : e3.id; } - resolveOldId(e3) { - return this._pasteOldIdToNewIdMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); + } + t2.default = p; + }, 30785(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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); } - setOldIdToNewIdMapping(e3, t3) { - this._pasteOldIdToNewIdMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); + addAttribute() { + const e3 = this.variables.add(null, r.globalTypes.string); + return s.validateAction(this, true, true), e3.id; } - resolveOldIdToOldName(e3) { - return this.currentContent.resolveOldIdToOldName(e3); + static get managedProperties() { + 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", o.flowTypes.flowTypesAllVxmlgen), property: "setAttributesWarning", yamlOptions: d.createYamlOptions("setAttributesWarning", (e3) => e3.setSkipProperty(true)) }]; } - resolveOldMenuName(e3) { - return this._pasteOldMenuNameToNewMenuNameMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); + } + t2.default = d; + }, 20030(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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: 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 && !r.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; } - setOldMenuNameToNewMenuNameMapping(e3, t3) { - this._pasteOldMenuNameToNewMenuNameMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); + constructor(e3) { + super(e3.parentFlow, e3), this._removedInputs = {}, this._removedOutputs = {}; } - resolveOldStateName(e3) { - return this._pasteOldStateNameToNewStateNameMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); + updateTraceTopic() { + super.updateTraceTopic(), this._topicIOList = a.getTopic("taskRefIO").withMultipleContext(this.topic.context); } - setOldStateNameToNewStateNameMapping(e3, t3) { - this._pasteOldStateNameToNewStateNameMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); + getDetails() { + return this.referencedTaskViewModel ? new c.ActionDetails([_.task.label], [this.taskName]) : null; } - resolveOldTaskName(e3) { - return this._pasteOldTaskNameToNewTaskNameMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); + getFlowInfoSpecAnnotation() { + var e3; + if (null === (e3 = this.taskName) || void 0 === e3 ? void 0 : e3.length) return `-> task ${this.getFlowInfoSpecNameLabel(this.taskName)}`; } - setOldTaskNameToNewTaskNameMapping(e3, t3) { - this._pasteOldTaskNameToNewTaskNameMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); + 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); } - resolveOldTrackingId(e3) { - return this._pasteOldTrackingIdToNewTrackingIdMap.resolveFlowGroupedMapping(this.currentContentFlowId, e3); + objEvent_variableAdded(e3, t3) { + let i3 = false; + this.inputs && t3.isInput && !this.inputs.getItem(t3.name) && (this._topicIOList.info(`adding new input variable for ${t3[h]} because of variableAdded event`), this.inputs.addItem(this.inputs.createFromVariable(t3)), i3 = true), this.outputs && t3.isOutput && !this.outputs.getItem(t3.name) && (this._topicIOList.info(`adding new output variable for ${t3[h]} because of variableAdded event`), this.outputs.addItem(this.outputs.createFromVariable(t3)), i3 = true), i3 && u.validateNode(this.topParent, true); } - setOldTrackingIdToNewTrackingId(e3, t3) { - this._pasteOldTrackingIdToNewTrackingIdMap.addFlowGroupedMapping(this.currentContentFlowId, e3, t3); + objEvent_terminatingStateChanged(e3) { + u.validateNode(this, true); } - setOldVariableNameToNewVariableNameMapping(e3, t3) { - if (s.expectString(e3, () => a.createFunctionParameter(this.className, "setOldVariableNameToNewVariableNameMapping", "oldVariableName")), s.expectString(t3, () => a.createFunctionParameter(this.className, "setOldVariableNameToNewVariableNameMapping", "newVariableName")), e3 && t3) { - const i3 = e3.toLowerCase(), r3 = { newVarName: t3, oldVarName: i3 }; - if (0 === this._pasteOldVariableNameToNewVariableNameArray.length) this._pasteOldVariableNameToNewVariableNameArray.push(r3); - else { - const e4 = n2.findIndex(this._pasteOldVariableNameToNewVariableNameArray, function(e5) { - return e5.oldVarName === i3; - }.bind(this)); - if (e4 >= 0) this._pasteOldVariableNameToNewVariableNameArray[e4].newVarName = t3; - else { - let e5 = 0; - const t4 = i3.length; - for (; e5 < this._pasteOldVariableNameToNewVariableNameArray.length && !(t4 >= this._pasteOldVariableNameToNewVariableNameArray[e5].oldVarName.length); ) e5++; - this._pasteOldVariableNameToNewVariableNameArray.splice(e5, 0, r3); - } + objEvent_variableChanged(e3, t3) { + const i3 = t3.newVariable, n3 = t3.oldVariable.name, o2 = t3.oldVariable._destroyed; + let r2 = false; + if (i3.parentId === this.taskReference) { + if (this.inputs) { + const e4 = this.inputs.getItem(i3.name), t4 = this.inputs.getItem(n3) || this._removedInputs[n3], a2 = t4 ? t4.value : e4 ? e4.value : i3.initValue; + t4 && o2 && (this.inputs.removeChild(t4, true) && (this._topicIOList.info(`removing oldInputItem for ${t4[h]} because of variableChanged event`), r2 = true), delete this._removedInputs[n3]), e4 && this.inputs.removeChild(e4, true) && (this._topicIOList.info(`removing inputItem for ${e4[h]} because of variableChanged event`), r2 = true), i3.isInput ? (this._topicIOList.info(`adding back input variable for ${i3[h]} because of variableChanged event`), this.inputs.addItem(this.inputs.createFromVariable(i3, a2)), r2 = true) : this._topicIOList.warning(`NOT adding back input variable for ${i3[h]} because it isOutput is false`); } - this.log("Saved old variable name '" + e3 + "' to new variable name '" + t3 + "' mapping."); + if (this.outputs) { + const e4 = this.outputs.getItem(i3.name), t4 = this.outputs.getItem(n3) || this._removedOutputs[n3], a2 = t4 ? t4.value : e4 ? e4.value : null; + t4 && o2 && (this.outputs.removeChild(t4, true) && (this._topicIOList.info(`removing oldInputItem for ${t4[h]} because of variableChanged event`), r2 = true), delete this._removedOutputs[n3]), e4 && this.outputs.removeChild(e4, true) && (this._topicIOList.info(`removing outputItem for ${e4[h]} because of variableChanged event`), r2 = true), i3.isOutput ? (this._topicIOList.info(`adding back output variable for ${i3[h]} because of variableChanged event`), this.outputs.addItem(this.outputs.createFromVariable(i3, a2)), r2 = true) : this._topicIOList.warning(`NOT adding back output variable for ${i3[h]} because it isOutput is false`); + } + r2 && u.validateNode(this.topParent, true); } } - getOldVariableNameToNewNameArray() { - return this._pasteOldVariableNameToNewVariableNameArray; + objEvent_variableRemoved(e3, t3) { + if (this.parent.isDestroyed || this.parentFlow.isDestroyed) return; + let i3 = false; + if (this.inputs) { + const e4 = this.inputs.getItem(t3.name); + e4 && (this._removedInputs[e4.name] = e4, this.inputs.removeChild(e4, true) && (this._topicIOList.info(`removing input for ${e4[h]} because of variableRemoved event`), i3 = true)); + } + if (this.outputs) { + const e4 = this.outputs.getItem(t3.name); + e4 && (this._removedOutputs[e4.name] = e4, this.outputs.removeChild(e4, true) && (this._topicIOList.info(`removing output for ${e4[h]} because of variableRemoved event`), i3 = true)); + } + i3 && u.validateNode(this.topParent, true); } - reset() { - this._pasteInProgress = false, this._pasteCurrentContent = void 0, this._pasteDestActionContainer = void 0, this._pasteDestFlowViewModel = void 0, this._pasteDestViewModel = void 0, this._pasteDestViewModelTaskOrState = void 0, this._pasteOldIdToNewIdMap.reset(), this._pasteOldMenuNameToNewMenuNameMap.reset(), this._pasteOldStateNameToNewStateNameMap.reset(), this._pasteOldTrackingIdToNewTrackingIdMap.reset(), this._pasteOldTaskNameToNewTaskNameMap.reset(), this._pasteOldVariableNameToNewVariableNameArray = []; + get amObjectEventSink() { + return true; } - }; - }, 22685: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get referencedTaskViewModel() { + return this.taskReference ? s.flowElementRegistrationService.getItemById(this.parentFlow, this.taskReference) : null; } - get _globalTypeName() { - return "wrapupCode"; + search(e3) { + super.search(e3); + const t3 = this.referencedTaskViewModel; + t3 && e3.checkText(this, t3.name, _.task.label); } - get displayTypeName() { - return "ArchVariableWrapupCode"; + setTask(e3) { + let t3; + if (this.initializeDesignTimeCalled && (this.parentFlow.loaded ? this._topicIOList.info(`Setting new task ref: ${e3}, clearing outputs`) : this._topicIOList.error(`Flow not loaded but setting new task ref: ${e3}, clearing outputs`), this.outputs && this.outputs.destroyChildren(), this.inputs && this.inputs.destroyChildren()), e3) if (t3 = this.parentFlow.getTaskById(e3), t3) { + if (this.outputs) { + const e4 = t3.getOutputVariables(); + this._resolveToVariableList(this.outputs, e4, "output"); + } + if (this.inputs) { + const e4 = t3.getInputVariables(); + this._resolveToVariableList(this.inputs, e4, "input"); + } + } else this.initializeDesignTimeCalled ? this.topic.error(`BaseTaskReferenceActionViewModel.setTask - can't find task '${e3}' on parent flow`) : this._topicIOList.warning(`BaseTaskReferenceActionViewModel.setTask - can't find task '${e3}' on parent flow`); + l.changeEventEmitterForEventSink(this, this.taskReference, e3), this.containerActionProperty.setReferenceIdAndName(e3, t3 ? t3.name : null); } - get initialValue() { - return this._initialValue; + _resolveToVariableList(e3, t3, i3) { + const n3 = [], r2 = []; + e3.items.forEach((e4) => { + const i4 = e4.name ? e4.name.toLowerCase() : e4.name, a2 = o.default.find(t3, (t4) => { + const n4 = t4.name ? t4.name.toLowerCase() : t4.name; + return i4 === n4 && e4.type.isMatch(t4.type); + }); + a2 && (n3.push(e4), e4.referenceId = a2.id, r2.push(a2)); + }); + for (let t4 = e3.items.length - 1; t4 >= 0; t4--) { + const r3 = e3.items[t4]; + if (!o.default.contains(n3, r3)) { + const t5 = `removing ${i3} for ${r3[h]} during _resolveToVariableList`; + this.initializeDesignTimeCalled ? this._topicIOList.info(t5) : this._topicIOList.error("before initialized - " + t5), e3.removeChild(r3); + } + } + o.default.each(t3, (t4) => { + if (!o.default.contains(r2, t4)) { + const n4 = `adding ${i3} for variable ${t4[h]} during _resolveToVariableList`; + this.initializeDesignTimeCalled ? this._topicIOList.info(n4) : this._topicIOList.error("before initialized - " + n4), e3.addItem(e3.createFromVariable(t4)); + } + }); } - get isArchVariableWrapupCode() { - return true; + _initializeDesignTime() { + if (super._initializeDesignTime(), this.initializeDesignTimeCalled) { + const e3 = `initializeDesignTimeCalled being called a second time for ${this.toString()}`; + return void this.topic.traceOnce("repeat initializeDesignTimeCalled", (t3) => t3.errorWithStack(void 0, e3)); + } + this.setTask(this.taskReference); + } + _preDestroy() { + super._preDestroy(), this.parentFlow.tryRemoveUiMetadataInfo(this, "task", this.taskReference, [this.model.__type], "taskReference", false); } } - t2.default = r2; - }, 22717: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.poll = function(e3, t3, i3, o) { - return n2.__awaiter(this, void 0, void 0, function* () { - let n3 = yield e3(); - for (r2.default.isActualNumber(o) ? o < 0 && (o = 0) : o = 10, (!r2.default.isActualNumber(i3) || i3 < 0) && (i3 = 1e3); true !== t3(n3) && o; ) yield new Promise((e4) => setTimeout(() => e4(true), i3)), n3 = yield e3(), o--; - return n3; - }); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)); - }, 22754: (e2, t2, i2) => { + t2.default = m, m.className = "BaseTaskReferenceActionViewModel"; + }, 78791(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)), 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 { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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(58155), m = i2(47957), g = i2(3916); + class f extends _.default { 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(d._getKey(e3)) : (console.error("Tried to get data with a non-string or empty key: {}", e3), null); + super(e3.parentFlow, e3); } - isTrue(e3) { - return "true" === this.get(e3); + static get branchInfo() { + return u.default.fakeFailure; } - createKeyObservable$(e3) { - const t3 = d._getKey(e3); - return (0, r2.fromEvent)(window, "storage").pipe((0, o.filter)((e4) => e4.key === t3)); + getFlowInfoSpecTerminalKind() { + return h.flowInfoSpecTerminalKind.terminal; } - static _getKey(e3) { - const t3 = [c.pcAuthToken]; - return l.default.contains(t3, e3) || e3 && e3.contains("architect.") ? e3 : "architect." + e3; + _getPossibleErrors() { + return d.defaultTransferFailureReasons; } - parse(e3, t3) { - let i3 = this.get(e3); - if (i3) try { - i3 = JSON.parse(i3); - } catch (e4) { - console.log(e4), i3 = t3; - } - return null != i3 ? i3 : t3; + _createErrorSchema() { + return new p.default({ properties: { errorType: { allowableValues: this._getPossibleErrors().sort(), type: "string", description: m.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: m.errorSchema.errorMessageDescription } } }, false); } - remove(e3) { - return this.nativeStorage.removeItem(d._getKey(e3)); + setNewInstanceDefaults() { + this.preTransferCommunication.setCommunicationBuilderText("", true), this.failureTransferCommunication.setCommunicationBuilderText("", true), super.setNewInstanceDefaults(...arguments); } - 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(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) { - this.retryCount++, 1 === this.retryCount && this.topic.info("Local storage QuotaExceededError. key '{}'. Attempting cleanup", e3); - try { - this.processingCleanup = true, a.emitter.emit(a.localStorageCleanup, { key: e3, value: t3 }); - } finally { - this.processingCleanup = false; - } - this.set(e3, t3); - } else this.topic.info("No more retries will be attempted for key: {{}}", e3); - } - } + _initializeDesignTime() { + super._initializeDesignTime(), this._createErrorSchema().properties.forEach((e3) => { + let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); + t3 || (t3 = g.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), g.setExpressionWithSchemaProperty(t3.value, e3); + }); } - stringify(e3, t3) { - return this.set(e3, JSON.stringify(t3)); + static get managedProperties() { + return [{ audio: true, supportedFlowTypes: o.flowTypes.flowTypesAllVxmlgen, options: l.AudioViewModelOptions.create((e3) => e3.setUiPropertyGroup(m.audio.audioLabel).setAssumeOosIfTypeUnavailable(true).setIninTestingField("preTransferAudio").setLabel(m.transfer.preTransferAudio)), property: "preTransferAudio", yamlOptions: f.createYamlOptions("preTransferAudio", (e3) => e3.setExportOrder(50)) }, { audio: true, supportedFlowTypes: o.flowTypes.flowTypesAllVxmlgen, options: l.AudioViewModelOptions.create((e3) => e3.setUiPropertyGroup(m.audio.audioLabel).setAssumeOosIfTypeUnavailable(true).setIninTestingField("failedTransferAudio").setLabel(m.transfer.failureTransferAudio)), property: "failureTransferAudio", yamlOptions: f.createYamlOptions("failureTransferAudio", (e3) => e3.setExportOrder(60)) }, { label: m.transfer.preTransferCommunication, property: "preTransferCommunication", supportedFlowTypes: o.flowTypes.flowTypesAllCicero, type: a.expressionTypeNames.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("preTransferCommunication").setDescriptionInfo(m.transfer.preTransferCommunication, m.transfer.preTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeCall).setDefaultToBuilderId(r.builderIds.parts.genericCommunication).setUiPropertyGroup(m.communicate.communication).setScriptingPropertyName("preTransferCommunication").setUiPropertyOrder(21)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("preTransferCommunication").setDescriptionInfo(m.transfer.preTransferCommunication, m.transfer.preTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeChat).setDefaultToBuilderId(r.builderIds.parts.markdownCommunication).setUiPropertyGroup(m.communicate.communication).setScriptingPropertyName("preTransferCommunication").setUiPropertyOrder(22)) }], yamlOptions: f.createYamlOptions("preTransferCommunication", (e3) => e3.setExportOrder(50)) }, { label: m.transfer.failureTransferCommunication, property: "failureTransferCommunication", supportedFlowTypes: o.flowTypes.flowTypesAllCicero, type: a.expressionTypeNames.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("failureTransferCommunication").setDescriptionInfo(m.transfer.failureTransferCommunication, m.transfer.failureTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeCall).setDefaultToBuilderId(r.builderIds.parts.genericCommunication).setUiPropertyGroup(m.communicate.communication).setScriptingPropertyName("failureTransferCommunication").setUiPropertyOrder(23)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("failureTransferCommunication").setDescriptionInfo(m.transfer.failureTransferCommunication, m.transfer.failureTransferCommunicationDescription).setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setRequiredFlowChannelType(c.channelTypeChat).setDefaultToBuilderId(r.builderIds.parts.markdownCommunication).setUiPropertyGroup(m.communicate.communication).setScriptingPropertyName("failureTransferCommunication").setUiPropertyOrder(24)) }], yamlOptions: f.createYamlOptions("failureTransferCommunication", (e3) => e3.setExportOrder(50)) }, { dataList: true, label: m.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", supportedFlowTypes: [...o.flowTypes.flowTypesAllVxmlgen, ...o.flowTypes.flowTypesAllCicero, o.flowTypes.flowTypeWorkitem], yamlOptions: f.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(120)) }]; } } - const p = "undefined" != typeof window && window; - 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; - e3 = encodeURIComponent(e3), t3 = -1 === document.cookie.indexOf(";") ? [document.cookie] : document.cookie.split("; "); - for (let i3 = 0; i3 < t3.length; i3++) { - const n3 = t3[i3].split("="); - if (n3[0] === e3) return decodeURIComponent(n3[1]); - } - return null; + f.className = "BaseTransferAction", t2.default = f; + }, 20549(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importDefault(i2(97891)), C = i2(1910), O = 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); } - remove(e3) { - e3 = encodeURIComponent(e3), document.cookie = e3 + "=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/"; + get botRunnableProperty() { + return this.botVersion; } - set(e3, t3, i3, n3) { - if (!e3 || !l.default.isString(e3)) return console.error("Tried to save cookie with a non-string or empty key: {}", e3), null; - const r3 = /* @__PURE__ */ new Date(); - r3.setTime(r3.getTime() + (i3 || u.default.msPerDay)); - let o2 = encodeURIComponent(e3) + "=" + encodeURIComponent(t3); - o2 += "; expires=" + r3.toGMTString() + ";path=/", "https:" === location.protocol && (o2 += "; secure"), n3 && (o2 += `;domain=${n3}`), document.cookie = o2; - } - }(), 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 }); - }, parsePcAuthToken: function(e3) { - try { - const t3 = JSON.parse(e3); - if (t3) { - if (t3.authenticated) return t3.authenticated.access_token; - if (t3.secure) return t3.secure.access_token; - } - } catch (e4) { - console.log(e4); + get botCategoryProperty() { + return this.bot; } - return ""; - } }; - }, 22780: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { showKnowledgeArticleActionActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _knowledgeArticle: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.knowledgeArticle.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.knowledgeArticle.pasteResolveOldToNewValues(e3); - } }, knowledgeArticle: { enumerable: true, get: function() { - return this._knowledgeArticle; - }, set: function(e3) { - this._knowledgeArticle = this.reviveItem(e3, r2); - } } }), n2.extend(a, o, true), e2.exports = a; - }, 22917: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(92140)), a = /* @__PURE__ */ new Map(); - class s { - constructor() { - (0, r2.makeUnenumerable)(this, "_propertyName"), (0, r2.makeUnenumerable)(this, "_convertToSingleItem"), (0, r2.makeUnenumerable)(this, "_exportOrder"), (0, r2.makeUnenumerable)(this, "_nameValuePairShouldUseVariableProperty"), (0, r2.makeUnenumerable)(this, "_shouldBeBoolIndicatingIfSet"), (0, r2.makeUnenumerable)(this, "_shouldBePlainJsType"), (0, r2.makeUnenumerable)(this, "_useNoneTrueForExpressionContainerClass"), (0, r2.makeUnenumerable)(this, "_skipProperty"), (0, r2.makeUnenumerable)(this, "_valueShouldBeLowercase"), (0, r2.makeUnenumerable)(this, "_serializeOutOfService"), (0, r2.makeUnenumerable)(this, "_wrapDataPairNameAndValueInTypeString"), (0, r2.makeUnenumerable)(this, "_wrapDataPairNameAndValueInString"), (0, r2.makeUnenumerable)(this, "_wrappedCollectionItemName"), (0, r2.makeUnenumerable)(this, "_wrapListItemValueInPropertyName"), (0, r2.makeUnenumerable)(this, "_wrapValueAndActionsInPropertyName"), (0, r2.makeUnenumerable)(this, "_wrappedValueName"), (0, r2.makeUnenumerable)(this, "_wrappedObjectName"); + get botIntegrationProperty() { + return this.botIntegration; } - static create(e3, t3) { - if (!o.default.isFunction(t3)) return l; - if (e3) { - const t4 = a.get(e3); - if (t4) return t4; - } - const i3 = new this(); - return i3.invokeOptionsCallback(t3), e3 && a.set(e3, i3), i3; + static get branchInfo() { + return [g.default.failure]; } - static sortObjectByPropertyMap(e3, t3) { - return t3 ? o.default.sortObjectPropertiesByKey(e3, (e4, i3) => { - let n3 = t3[e4], r3 = t3[i3]; - return "outputs" !== e4 || o.default.isActualNumber(r3) || (r3 = n3 - 1), "outputs" !== i3 || o.default.isActualNumber(n3) || (n3 = r3 - 1), o.default.isActualNumber(n3) ? o.default.isActualNumber(r3) ? n3 - r3 : -1 : 1; - }) : e3; + get botRunnableNetworkGetCall() { + return c.getBotConnectorBotVersion; } - invokeOptionsCallback(e3) { - return o.default.isFunction(e3) && e3(this), this; + get isBotConnectorAction() { + return true; } - setPropertyName(e3) { - return this.propertyName = e3, this; + static get managedProperties() { + 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: [o.flowTypes.flowTypeInboundShortMessage, o.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" }]; } - get propertyName() { - return this._propertyName; + getDependencyTrackingId() { + return this.botCompositeTag; } - set propertyName(e3) { - this._propertyName = e3; + getUniqueBotCategoryId() { + return this.botIntegration.idValue && this.bot.idValue ? `${this.botIntegration.idValue}:${this.bot.idValue}` : null; } - setConvertToSingleItem(e3) { - return this.convertToSingleItem = e3, this; + getUniqueBotRunnableId() { + return this.botIntegration.idValue && this.bot.idValue && this.botVersion.idValue ? `${this.getUniqueBotCategoryId()}:${this.botVersion.idValue}` : null; } - get convertToSingleItem() { - return this._convertToSingleItem; + get botCompositeTag() { + return this.model.botCompositeTag; } - set convertToSingleItem(e3) { - this._convertToSingleItem = e3; + set botCompositeTag(e3) { + this.model.botCompositeTag = e3; } - setDoNotExportAsExpressionForFlowTypes(e3) { - return this.doNotExportAsExpressionForFlowTypes = e3, this; + updateBotCategoryPropertyDependency() { } - get doNotExportAsExpressionForFlowTypes() { - return this._doNotExportAsExpressionForFlowTypes; + 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 && S.registerConsumer(this, P.botConnector.botName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, D.BotConnectorBot); } - set doNotExportAsExpressionForFlowTypes(e3) { - this._doNotExportAsExpressionForFlowTypes = e3; + postProcessYamlConfig(e3, t3, i3) { + if (this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), !this.botIntegration.nameValue) return; + e3.botIntegration = {}; + const n3 = e3.botIntegration[this.botIntegration.nameValue] = {}; + if (!this.botName) return void r.default.ensureYamlNoneTrue(n3); + const o2 = n3[this.botName] = {}; + if (!this.versionName) return void r.default.ensureYamlNoneTrue(o2); + const a2 = o2[this.versionName] = {}; + this.commonBotPostProcessYamlConfig(e3, a2); } - setDoNotExportForFlowTypes(e3) { - return this.doNotExportForFlowTypes = e3, this; + getAdditionalParams() { + return new d.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); } - get doNotExportForFlowTypes() { - return this._doNotExportForFlowTypes; + get supportsInputsOutputs() { + return true; } - set doNotExportForFlowTypes(e3) { - this._doNotExportForFlowTypes = e3; + _setBotCategoryProperties(e3) { + e3 && (this.botCategoryProperty.nameValue = e3.botName, this.botCategoryProperty.idValue = e3.botId); } - setExportOrder(e3) { - return this.exportOrder = e3, this; + _setBotIntegrationProperties(e3) { + e3 && (this.botIntegrationProperty.idValue = e3.integrationId); } - get exportOrder() { - return this._exportOrder; + setBotCategoryByViewModel(e3) { + super.setBotCategoryByViewModel(e3); + const t3 = this.botIntegrationProperty.configListManager, i3 = this.botCategoryProperty.configListManager; + 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); } - set exportOrder(e3) { - this._exportOrder = e3; + get yamlNoBotRunnablePropName() { + return "noBotIntegration"; } - setSerializeOutOfService(e3) { - return this.serializeOutOfService = e3, this; + _configureFromModel(e3, t3, i3) { + if ((0, C.isConfigureFromModelRecord)(e3.botIntegration)) { + const o2 = e3.botIntegration, r2 = Object.keys(o2)[0]; + if (r2) { + const e4 = (0, C.isConfigureFromModelRecord)(o2[r2]) ? o2[r2] : void 0, s2 = e4 ? Object.keys(e4)[0] : void 0, l2 = s2 && e4 && (0, C.isConfigureFromModelRecord)(e4[s2]) ? e4[s2] : void 0, u2 = l2 ? Object.keys(l2)[0] : void 0, c2 = u2 && l2 && (0, C.isConfigureFromModelRecord)(l2[u2]) ? l2[u2] : void 0; + if (r2 && 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, r2, f.botConnectorIntegrationManager); + if (!t4) return void i3.warn((0, R.sprintf)(a.configureFromModel.failedToResolve, "bot connector integration", r2)); + this.botIntegration.setValue({ id: t4.id, name: r2 }); + const n3 = yield (0, b.resolveNamedConfigListEntity)(i3, T.botConnectorManager.dependencyType.value, s2, T.botConnectorManager); + n3 && this.bot.setValue({ id: n3.id, name: s2 }); + const o3 = `${this.botIntegration.idValue}:${this.bot.idValue}:${u2}`, l3 = (0, O.findDependentConfigListItemByName)(y.botConnectorVersionManager, o3, 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", `${r2}/${s2}/${u2}`, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); } - get serializeOutOfService() { - return this._serializeOutOfService; + } + M.info = I.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; + }, 57310(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importDefault(i2(97891)), C = n2.__importDefault(i2(57606)), O = 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); } - set serializeOutOfService(e3) { - this._serializeOutOfService = e3; + static get branchInfo() { + return g.default.successFailureTimeout; } - setNameValuePairShouldUseVariableProperty(e3) { - return this.nameValuePairShouldUseVariableProperty = e3, this; + get isCallAgenticVirtualAgentAction() { + return true; } - get nameValuePairShouldUseVariableProperty() { - return this._nameValuePairShouldUseVariableProperty; + getDetails() { + return this.agenticVirtualAgentId ? new v.ActionDetails([F.agenticVirtualAgent.agenticVirtualAgent], [this.agenticVirtualAgentName]) : null; } - set nameValuePairShouldUseVariableProperty(e3) { - this._nameValuePairShouldUseVariableProperty = e3; + static getExitReasonVals(e3) { + const t3 = ["Error", "Escalation", "TriggeredByUser", "Guardrails"]; + return e3 ? t3.map((e4) => `"${e4}"`) : [...t3]; } - setValueShouldBeLowercase(e3) { - return this.valueShouldBeLowercase = e3, this; + static get managedProperties() { + 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: 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: [o.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: 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)) }]; } - get valueShouldBeLowercase() { - return this._valueShouldBeLowercase; + initializeDesignTime() { + var e3; + 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(); + })); } - set valueShouldBeLowercase(e3) { - this._valueShouldBeLowercase = e3; + getConfiguration(e3, t3) { + var i3, n3, o2, 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 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 r.default.ensureYamlNoneTrue(A2), A2; + A2.callAgenticVirtualAgent.agenticVirtualAgent = {}; + const v2 = A2.callAgenticVirtualAgent.agenticVirtualAgent[N2] = {}; + if (!(null === (o2 = null === (n3 = this.agenticVirtualAgentSetting) || void 0 === n3 ? void 0 : n3.getItem()) || void 0 === o2 ? void 0 : o2.version)) return r.default.ensureYamlNoneTrue(A2), A2; + const I2 = v2.ver_latestPublished = {}; + if (S2.callAgenticVirtualAgent.voiceProcessingPrompt && (I2.voiceProcessingPrompt = S2.callAgenticVirtualAgent.voiceProcessingPrompt), S2.callAgenticVirtualAgent.outputs) { + const 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 === (_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) && (I2.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) && (I2.outputs = this.outputs.getConfiguration(e3, t3)), S2.callAgenticVirtualAgent.failureOutputs && (I2.failureOutputs = S2.callAgenticVirtualAgent.failureOutputs), S2.callAgenticVirtualAgent.exitReason && (I2.exitReason = S2.callAgenticVirtualAgent.exitReason), A2) : (r.default.ensureYamlNoneTrue(I2), A2); + } + return S2; } - setShouldBePlainJsType(e3) { - return this.shouldBePlainJsType = e3, this; + _configureFromModel(e3, t3, i3) { + if ((0, O.isConfigureFromModelRecord)(e3.agenticVirtualAgent)) { + const o2 = e3.agenticVirtualAgent, r2 = Object.keys(o2)[0]; + if (r2) { + const e4 = t3, a2 = (0, O.isConfigureFromModelRecord)(o2[r2]) ? o2[r2] : 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, r2, f.agenticVirtualAgentManager); + if (t4) { + if (this.agenticVirtualAgentSetting.setValue({ id: t4.id, name: r2 }), a2) { + const t5 = Object.keys(a2)[0], n3 = t5 && (0, O.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", r2)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, M.sprintf)(s.configureFromModel.entityResolutionFailed, "agenticVirtualAgent", r2, t4)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); } - get shouldBePlainJsType() { - return this._shouldBePlainJsType; + _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(), y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentSage) && (this.parentFlow.isDestroyedOrDestroying || null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState()); } - set shouldBePlainJsType(e3) { - this._shouldBePlainJsType = e3; + _createErrorSchema() { + const e3 = y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentLinkOpaqueIDFromOptionalInput) ? S.callAgenticVirtualAgentFailureReasonsOpaqueIDFeature : S.callAgenticVirtualAgentFailureReasons; + return new C.default({ properties: { errorCode: { type: "string", description: F.generic.errors.errorCodeDescription, additionalInfoSection: { title: F.generic.errors.errorCodeExamplesTitle, entries: e3.map((e4) => `"${e4}"`) } } } }, false); } - setShouldBeBoolIndicatingIfSet(e3) { - return this.shouldBeBoolIndicatingIfSet = e3, this; + _initializeErrorBindings() { + this.errorBindings && this._createErrorSchema().properties.forEach((e3) => { + let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); + t3 || (t3 = L.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), L.setExpressionWithSchemaProperty(t3.value, e3); + }); } - get shouldBeBoolIndicatingIfSet() { - return this._shouldBeBoolIndicatingIfSet; + _clearSchemaBindings() { + this.inputs && r.default.isFunction(this.inputs.destroyChildren) && this.inputs.destroyChildren(), this.outputs && r.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(); } - set shouldBeBoolIndicatingIfSet(e3) { - this._shouldBeBoolIndicatingIfSet = e3; + _getReferencedAgenticVirtualAgentName() { + var e3; + const t3 = null === (e3 = this.agenticVirtualAgentSetting) || void 0 === e3 ? void 0 : e3.getItem(); + return (null == t3 ? void 0 : t3.name) || this.agenticVirtualAgentName; } - setUseNoneTrueForExpressionContainerClass(e3) { - return this.useNoneTrueForExpressionContainerClass = e3, this; + _mergeSchemaProperties(e3) { + const t3 = (e4, t4) => { + var i3; + 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), y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentOutputValues) && t3(null == e3 ? void 0 : e3.outputSchema, this.outputs); } - get useNoneTrueForExpressionContainerClass() { - return this._useNoneTrueForExpressionContainerClass; + _setAdditionalSearchParams() { + return { status: m.AiGuideStatus.published }; } - set useNoneTrueForExpressionContainerClass(e3) { - this._useNoneTrueForExpressionContainerClass = e3; + validate(e3) { + if (super.validate(e3), e3.isDeep) { + const e4 = this.agenticVirtualAgentVersionSetting.getItem(); + e4 && this._mergeSchemaProperties(e4); + } } - setWrapDataPairNameAndValueInTypeString(e3) { - return this.wrapDataPairNameAndValueInTypeString = e3, this; + } + x.info = I.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 = x; + }, 78306(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); } - get wrapDataPairNameAndValueInTypeString() { - return this._wrapDataPairNameAndValueInTypeString; + get applicationName() { + const e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this); + return null == e3 ? void 0 : e3.applicationName; } - set wrapDataPairNameAndValueInTypeString(e3) { - this._wrapDataPairNameAndValueInTypeString = e3; + static get branchInfo() { + return c.default.successFailure; } - setWrapDataPairNameAndValueInString(e3) { - return this.wrapDataPairNameAndValueInString = e3, this; + static get managedProperties() { + 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 wrapDataPairNameAndValueInString() { - return this._wrapDataPairNameAndValueInString; + get botRunnableProperty() { + return this.botIntegration; } - set wrapDataPairNameAndValueInString(e3) { - this._wrapDataPairNameAndValueInString = e3; + get isCallAudioConnectorAction() { + return true; } - setWrapListItemValueInPropertyName(e3) { - return this.wrapListItemValueInPropertyName = e3, this; + get supportsInputsOutputs() { + return true; } - get wrapListItemValueInPropertyName() { - return this._wrapListItemValueInPropertyName; + get doesNotSupportIntents() { + return true; } - set wrapListItemValueInPropertyName(e3) { - this._wrapListItemValueInPropertyName = e3; + get supportsSessionVariables() { + return false; } - setWrapValueAndActionsInPropertyName(e3) { - return this.wrapValueAndActionsInPropertyName = e3, this; + get shouldSkipLanguageValidation() { + return true; } - get wrapValueAndActionsInPropertyName() { - return this._wrapValueAndActionsInPropertyName; + _configureFromModel(e3, t3, i3) { + if ((0, m.isConfigureFromModelRecord)(e3.integration)) { + const o2 = e3.integration, a2 = Object.keys(o2)[0]; + if (a2) { + const e4 = t3, s2 = (0, m.isConfigureFromModelRecord)(o2[a2]) ? o2[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)(r.configureFromModel.failedToResolve, "audio connector integration", a2)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, y.sprintf)(r.configureFromModel.entityResolutionFailed, "audio connector", a2, t4)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); } - set wrapValueAndActionsInPropertyName(e3) { - this._wrapValueAndActionsInPropertyName = e3; + postProcessYamlConfig(e3, t3, i3) { + if (this.botRunnableProperty.idValue || (this.removeYamlExportPropsThatRequireRunnable(e3), delete e3.connectorId), !this.botIntegration.nameValue) return; + e3.integration = {}; + const n3 = e3.integration[this.botIntegration.nameValue] = {}; + o.default.moveAndDeleteProperty(e3, n3, "connectorId"), this.commonBotPostProcessYamlConfig(e3, n3); } - setSkipProperty(e3) { - return this.skipProperty = e3, this; + } + 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; + }, 73578(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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); } - get skipProperty() { - return this._skipProperty; + static get managedProperties() { + return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: o.flowTypes.flowTypeBot, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "botFlow", yamlOptions: p.createYamlOptions("botFlow", (e3) => e3.setExportOrder(6)) }]; } - set skipProperty(e3) { - this._skipProperty = e3; + get targetFlowType() { + return this.botFlow; } - setWrappedCollectionItemName(e3) { - return this.wrappedCollectionItemName = e3, this; + } + p.className = "CallBotFlowAction", p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r.helpTopics.actions.callBotFlow, modelClass: i2(37852), name: d.actions.callBotFlow, scriptingName: "ArchActionCallBotFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 1438(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(49892), r = 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: h.inputOutputList.inputs, property: "inputs", options: o.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)) }]; } - get wrappedCollectionItemName() { - return this._wrappedCollectionItemName; + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - set wrappedCollectionItemName(e3) { - this._wrappedCollectionItemName = e3; + static get branchInfo() { + return [r.default.fakeNoLabel]; } - setWrappedObjectName(e3) { - return this.wrappedObjectName = e3, this; + getFlowInfoSpecDependencyAnnotation() { + var e3, t3; + if (null === (t3 = null === (e3 = this.commonModule) || void 0 === e3 ? void 0 : e3.flowName) || void 0 === t3 ? void 0 : t3.length) return `-> commonModule ${this.getFlowInfoSpecNameLabel(this.commonModule.flowName)}`; } - get wrappedObjectName() { - return this._wrappedObjectName; + _configureFromModel(e3, t3, i3) { + if ((0, c.isConfigureFromModelRecord)(e3.commonModule) && !e3.commonModule.none) { + const o2 = e3.commonModule, r2 = Object.keys(o2)[0]; + if (r2) { + const e4 = t3, a2 = (0, c.isConfigureFromModelRecord)(o2[r2]) ? o2[r2] : void 0; + i3.registerDeferredOp({ type: "resolveCommonModuleFlow", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + var t4, n3; + try { + const o3 = this.commonModule.flowListManager; + let s2 = o3.findItemByName(r2); + if (!s2) { + for (const e5 of Object.values(o3.items || {})) if (e5.displayName === r2) { + s2 = e5; + break; + } + } + if (!s2 && o3.fullManager) { + for (const e5 of Object.values(o3.fullManager.items || {})) if (e5.displayName === r2) { + s2 = e5; + break; + } + } + if (s2) { + if (yield this.commonModule.setReferenceWithFlowInfo(s2), a2) { + const o4 = Object.keys(a2)[0], r3 = o4 && (0, c.isConfigureFromModelRecord)(a2[o4]) ? a2[o4] : void 0; + r3 && (i3.currentPropertyName = "inputs", null === (t4 = this.inputs) || void 0 === t4 || t4.configureFromModel(r3.inputs, e4, i3), i3.currentPropertyName = "outputs", null === (n3 = this.outputs) || void 0 === n3 || n3.configureFromModel(r3.outputs, e4, i3), i3.currentPropertyName = void 0); + } + } else i3.warn((0, _.sprintf)(d.configureFromModel.failedToResolve, "common module flow", r2)); + } catch (e5) { + const t5 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, _.sprintf)(d.configureFromModel.entityResolutionFailed, "common module", r2, t5)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); } - set wrappedObjectName(e3) { - this._wrappedObjectName = e3; + get flowInputs() { + return this.inputs; } - setWrappedValueName(e3) { - return this.wrappedValueName = e3, this; + get flowOutputs() { + return this.outputs; } - get wrappedValueName() { - return this._wrappedValueName; + get relatedIssueIds() { + var e3; + return (null === (e3 = this.commonModule) || void 0 === e3 ? void 0 : e3.flowId) ? [this.commonModule.flowId] : void 0; } - set wrappedValueName(e3) { - this._wrappedValueName = e3; + get flowId() { + var e3; + return null === (e3 = this.commonModule) || void 0 === e3 ? void 0 : e3.flowId; } } - t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "propertyName", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "convertToSingleItem", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "exportOrder", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "serializeOutOfService", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "nameValuePairShouldUseVariableProperty", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "valueShouldBeLowercase", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "shouldBePlainJsType", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "shouldBeBoolIndicatingIfSet", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "useNoneTrueForExpressionContainerClass", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "wrapDataPairNameAndValueInTypeString", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrapDataPairNameAndValueInString", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrapListItemValueInPropertyName", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrapValueAndActionsInPropertyName", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "skipProperty", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrappedCollectionItemName", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrappedValueName", null); - const l = new s(); - }, 22928: (e2, t2, i2) => { + 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; + }, 34611(e2, t2, i2) { "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), 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(); + const n2 = i2(31635), o = n2.__importDefault(i2(19613)), r = 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 o.default { + get selectedItemNetworkProperty() { + return this.decisionTable; } - constructor(e3) { - this.formatVariables = [], this.flowVariables = [], this.languageVariables = [], this.systemVariables = [], this.taskVariables = [], this.map = {}, this.hasExpanded = {}, this._expansions = {}, this._expansionsNameToId = {}, this._expansionsDeprecatedNameToId = {}, n2.set(this, []), r2.set(this, false), this.parentFlow = e3, (0, u.makeUnenumerable)(this, "_expansions"), (0, u.makeUnenumerable)(this, "_expansionsNameToId"), (0, u.makeUnenumerable)(this, "_expansionsDeprecatedNameToId"), o.__classPrivateFieldGet(this, n2, "f").push(l.listen(l.variableDestroyed, (e4) => { - this.isDestroyedCheck(), e4.parentFlow.instanceId === this.parentFlow.instanceId && this.removeVariable(e4); - })), o.__classPrivateFieldGet(this, n2, "f").push(l.listen(l.typeChanged, (e4) => { - this.isDestroyedCheck(), e4.parentFlow.instanceId === this.parentFlow.instanceId && (0, _.updateType)(this, e4); - })); + constructor(e3, t3) { + super(e3, t3), this._loadModel(t3); } - addExpansionVariable(e3) { - e3.hideFromAutocomplete || this.hasExpanded[e3.expandedKey] || (e3.isClone || (this.map[e3.id] = e3), this._expansions[e3.id] = e3, this._expansionsNameToId[this.getMapIdForContainer(e3.parent)] || (this._expansionsNameToId[this.getMapIdForContainer(e3.parent)] = {}), this._expansionsNameToId[this.getMapIdForContainer(e3.parent)][e3.lowerName] = e3.id, e3.deprecatedName && (this._expansionsDeprecatedNameToId[this.getMapIdForContainer(e3.parent)] || (this._expansionsDeprecatedNameToId[this.getMapIdForContainer(e3.parent)] = {}), this._expansionsDeprecatedNameToId[this.getMapIdForContainer(e3.parent)][e3.deprecatedName] = e3.id)); + get isCallDecisionTableAction() { + return true; } - expandVariable(e3) { - if (this.hasExpanded[e3.expandedKey]) return; - this.hasExpanded[e3.expandedKey] = true; - const t3 = p.addVariable(this, e3, true); - return h.default.each(t3, (e4) => this.hasExpanded[e4.expandedKey] = true), t3; + static get managedProperties() { + 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]; } - expandVariableByName(e3, t3, i3) { - let n3; - if (i3 = this.fixParent(i3), !t3) { - if (n3 = this.getVariableByName(e3, i3, true), !n3) return; - t3 = n3.id; - } - const r3 = n3 ? n3.expandedKey : g.getExpandedKey(e3, t3, i3); - if (!this.hasExpanded[r3] && (n3 || (n3 = this.getVariableByName(e3, i3, true)), n3)) { - this.hasExpanded[n3.expandedKey] = true; - const e4 = p.addVariable(this, n3); - return h.default.each(e4, (e5) => this.hasExpanded[e5.expandedKey] = true), e4; + getConfiguration(e3, t3) { + var i3; + if (e3 = super.getConfiguration(e3, t3), null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = null === (i3 = this.decisionTable) || void 0 === i3 ? void 0 : i3.getConfiguration(e3, t3); + if (!n3) return e3; + e3.callDecisionTable.decisionTable = n3; } + return e3; } - addFormatVariable(e3) { - this.formatVariables.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3); - } - addLanguageVariable(e3) { - this.languageVariables.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3); - } - addSystemVariable(e3) { - this.systemVariables.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3); - } - initializeDesignTime() { - h.default.each(this.taskVariables, (e3) => { - e3.initializeDesignTime(); - }), h.default.each(this.flowVariables, (e3) => { - e3.initializeDesignTime(); - }), h.default.each(this.systemVariables, (e3) => { - e3.initializeDesignTime(); - }); - } - addVariable(e3, t3 = false) { - if (this.isDestroyedCheck(), !e3 || !e3.parent) return; - const i3 = e3.parent.isTaskLike ? this.taskVariables : this.flowVariables, n3 = i3.find((t4) => (t4.lowerName === e3.lowerName || t4.id === e3.id) && t4.parent.id === e3.parent.id); - if (n3) { - if (t3) return; - m.errorWithStack(void 0, `Trying to add variable with duplicate name or id: Existing: ${n3.toString()} -- New: ${e3.toString()}`); + _configureFromModel(e3, t3, i3) { + if ((0, T.isConfigureFromModelRecord)(e3.decisionTable)) { + const o2 = e3.decisionTable.name; + if (o2) { + const r2 = 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(o2); + if (!e4) { + for (const t4 of Object.values(u.decisionTableManager.items || {})) if (t4.displayName === o2 || t4.name === o2) { + e4 = t4; + break; + } + } + e4 ? (yield this.setSelectedActionByViewModel(e4), a2 && (0, y.hasConfigureFromModel)(this.input) && this.input.configureFromModel(a2, r2, i3), s2 && (0, y.hasConfigureFromModel)(this.output) && this.output.configureFromModel(s2, r2, i3), l2 && this.errorBindings && (i3.currentPropertyName = "failureOutputs", this.errorBindings.configureFromModel(l2, r2, i3), i3.currentPropertyName = void 0)) : i3.warn((0, f.sprintf)(g.configureFromModel.failedToResolve, "decision table", o2)); + } catch (e4) { + const t4 = e4 instanceof Error ? e4.message : String(e4); + i3.warn((0, f.sprintf)(g.configureFromModel.entityResolutionFailed, "decision table", o2, t4)); + } + }) }); + } } - i3.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3), this.parentFlow && this.parentFlow.initializeDesignTimeCalled && l.emitter.emit(l.variableAdded, this); + super._configureFromModel(e3, t3, i3); } - getExpansions() { - return h.default.clone(this._expansions); + createOrUpdateCustomJsonTypes() { + return n2.__awaiter(this, void 0, void 0, function* () { + var e3, t3, i3, n3, o2, r2; + let a2 = this.decisionTable.getItem(); + 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 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 === (r2 = null === (o2 = null == a2 ? void 0 : a2.model) || void 0 === o2 ? void 0 : o2.publishedContract) || void 0 === r2 ? void 0 : r2.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; + }); } - getVariableByName(e3, t3, i3, n3) { - 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)], 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; + setCachedCustomJsonTypesForInputOutput() { + var e3; + const t3 = null === (e3 = this.parentFlow.definitions) || void 0 === e3 ? void 0 : e3.customDataTypeExpressionType, i3 = t3.find((e4) => e4.dataType === this._inputDataTypeId), n3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._inputDataTypeId); + i3 && (this.input.type = i3, n3.addReader(this.input)); + const o2 = t3.find((e4) => e4.dataType === this._outputDataTypeId), r2 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._outputDataTypeId); + o2 && (this.output.type = o2, r2.addReader(this.output)); } - hasPrefixVariable(e3) { - return e3 = e3.toLocaleLowerCase(), h.default.find(this._expansions, (t3) => 0 === t3.lowerName.indexOf(e3) || 0 === t3.lowerUnscopedName.indexOf(e3)); + 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, N.decisionTable.unableToLoadDecisionTableInputOutputSchema); } - getExpandedVariable(e3) { - if (!e3) return; - const t3 = h.default.find(this._expansions, (t4) => t4.id === e3); - if (!t3) { - const t4 = /^([A-Za-z_-]+)\..*$/.exec(e3); - if (t4) { - const e4 = this.map[t4[1]]; - e4 && this.expandVariable(e4); - } - } - return t3; + _getOrCreateCustomJsonManager(e3, t3) { + var i3, n3, o2, r2; + 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 === (o2 = e3.model) || void 0 === o2 ? void 0 : o2.name, null === (r2 = e3.model) || void 0 === r2 ? void 0 : r2.id, t3, N.variable.input, N.variable.output) : null; } - getSlotVariables() { - return this.parentFlow.isNluFlow ? h.default.where(this.flowVariables, { isSlotVariable: true }) : []; + _getPossibleErrors() { + return c.callDecisionTableFailureReasons; } - getSystemVariablesWithInitialValues() { - return this.systemVariables.filter((e3) => e3.initValue); + get _inputDataTypeId() { + return (0, r.createCustomJsonExpressionDataTypeStr)(l.CustomJsonNamespace.decisionTable, this.decisionTableId, s.CustomJsonContext.input); } - filterByTask(e3) { - const t3 = this.getExpansions(); - return h.default.filter(t3, (t4) => !(t4.isInternal || t4.isTaskVariable && (!e3 || !e3.isTaskLike || t4.parent !== e3))); + get _outputDataTypeId() { + return (0, r.createCustomJsonExpressionDataTypeStr)(l.CustomJsonNamespace.decisionTable, this.decisionTableId, s.CustomJsonContext.output); } - filterVariable(e3) { - return h.default.filter(this.filterByTask(e3.task), (t3) => (0, d.isVariableAllowedForExpression)(t3, e3)); + } + 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; + }, 31682(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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: o.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")) }]; } - removeVariable(e3) { - if (e3.isSystemVariable || e3.isInternal) return false; - p.removeVariable(this, e3), delete this.map[e3.id]; - const t3 = e3.isTaskVariable ? this.taskVariables : this.flowVariables, i3 = t3.indexOf(e3); - return i3 >= 0 && t3.splice(i3, 1), e3.destroy(), true; + get targetFlowType() { + return this.botFlow; } - reexpandVariable(e3) { - p.removeVariable(this, e3), this.addExpansionVariable(e3), this.expandVariable(e3); + } + p.className = "CallDigitalBotFlowAction", p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r.helpTopics.actions.callDigitalBotFlow, modelClass: i2(90562), name: d.actions.callDigitalBotFlow, scriptingName: "ArchActionCallDigitalBotFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 56157(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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), I = i2(87870), C = i2(54590), O = 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 O.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - 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, 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, 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, c.settings.exactMatch)) && this.reexpandVariable(t3); - }); + static get branchInfo() { + return g.default.successFailureTimeout; } - getVariablesWithDeprecatedNames(e3) { - return h.default.filter(this.filterByTask(e3), (e4) => !(!h.default.isString(e4.deprecatedName) || !e4.deprecatedName.length)); + get isCallGuideAction() { + return true; } - getVariableIds(e3) { - return h.default.pluck(e3, "id"); + getDetails() { + return this.guideId ? new A.ActionDetails([P.guide.guide], [this.guideName]) : null; } - getVariableModelTypes(e3) { - return h.default.pluck(e3, "modelType"); + static get managedProperties() { + return [{ createDetails: I.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: C.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: 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: [o.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: c.expressionTypeNames.communication }, { createDetails: I.NoteActionProperty.createCreateDetails((0, r.sprintf)(P.botFlowSettings.valueConfiguredInBotFlowSettingsWillBeUsed, P.askCommon.voiceProcessingPrompt), "warning", "voiceProcessingPromptWarning", void 0, true), property: "voiceProcessingPromptWarning", supportedFlowTypes: [o.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")) }]; } - destroy() { - this.reset(), this.parentFlow = null, o.__classPrivateFieldGet(this, n2, "f").forEach((e3) => e3()), o.__classPrivateFieldSet(this, r2, true, "f"); + processYamlProperty(e3, t3, i3, n3) { + var o2; + const r2 = i3 === this.voiceProcessingPrompt ? (null == n3 ? void 0 : n3.serializeOutOfService) && !!(null === (o2 = this.parentFlow.botFlowSettings) || void 0 === o2 ? void 0 : o2.virtualAgentEnabled) : null == n3 ? void 0 : n3.serializeOutOfService, a2 = r2 !== (null == n3 ? void 0 : n3.serializeOutOfService) ? Object.assign({}, n3, { serializeOutOfService: r2 }) : n3; + return super.processYamlProperty(e3, t3, i3, a2); } - reset() { - this.formatVariables.length = 0, this.flowVariables.length = 0, this.languageVariables.length = 0, this.systemVariables.length = 0, this.taskVariables.length = 0, h.default.deleteAllKeys(this._expansions), h.default.deleteAllKeys(this._expansionsDeprecatedNameToId), h.default.deleteAllKeys(this._expansionsNameToId), h.default.deleteAllKeys(this.hasExpanded), h.default.deleteAllKeys(this.map); + initializeDesignTime() { + 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), 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 === E.ExpressionModes.literal && "" !== e4.text; + this._setVoiceProcessingPromptOptions(t4), this.addAutoCleanedUpEventListener(s.promptChanged, (e5) => { + "voiceProcessingPrompt" === e5.type && this._setVoiceProcessingPromptOptions(e5.isSet); + }); + } + } else this.voiceProcessingPromptWarning.outOfService = true, this.voiceProcessingPrompt.outOfService = false, this.voiceProcessingPrompt.defaultExpression && (this.voiceProcessingPrompt.defaultExpression.outOfService = false); + this.addAutoCleanedUpEventSinkWatch(s.valueChanged, this.guideVersionSetting, () => n2.__awaiter(this, void 0, void 0, function* () { + const e4 = this.guideVersionSetting.getItem(); + e4 ? this._mergeSchemaProperties(e4) : this._clearSchemaBindings(); + })); } - getAllVariables() { - return h.default.values(this.map); + getConfiguration(e3, t3) { + var i3, n3, o2, r2, 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 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 === (o2 = null === (n3 = this.guideSetting) || void 0 === n3 ? void 0 : n3.getItem()) || void 0 === o2 ? void 0 : o2.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 === (s2 = null === (r2 = y2.callGuide) || void 0 === r2 ? void 0 : r2.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 === (_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 y2; } - clearOldName(e3, t3, i3) { - t3 && (t3 = t3.toLowerCase(), delete this._expansionsNameToId[this.getMapIdForContainer(e3)][t3], delete this.hasExpanded[t3], delete this._expansions[i3]); + _getReferencedGuideName() { + var e3; + const t3 = null === (e3 = this.guideSetting) || void 0 === e3 ? void 0 : e3.getItem(); + return (null == t3 ? void 0 : t3.name) || this.guideName; } - getUserVisibleExpansions(e3) { - return e3 = this.fixParent(e3), h.default.filter(this._expansions, (t3) => !(t3.isUnavailable || t3.isInternal || !t3.isSystemOrFlowVariable && (!e3 || t3.parent !== e3))); + _mergeSchemaProperties(e3) { + const t3 = (e4, t4) => { + var i3; + const n3 = null !== (i3 = null == e4 ? void 0 : e4.properties) && void 0 !== i3 ? i3 : []; + this.guideSetting.configListManager.mergeSchemaProperties(n3, t4); + }; + t3(null == e3 ? void 0 : e3.inputSchema, this.inputs), t3(null == e3 ? void 0 : e3.outputSchema, this.outputs); } - getUserVisibleVariables(e3) { - return h.default.filter(e3, (e4) => !(e4.isUnavailable || e4.isInternal)); + _clearSchemaBindings() { + this.outputs && a.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(), this.inputs && a.default.isFunction(this.inputs.destroyChildren) && this.inputs.destroyChildren(); } - getVariable(e3) { - return this.isDestroyedCheck(), this.map[e3] || h.default.find(this.map, function(t3) { - return t3.deprecatedId === e3; - }); + _setAdditionalSearchParams() { + return { status: m.AiGuideStatus.published }; } - getVariablesWithUsages(e3) { - this.isDestroyedCheck(); - const t3 = []; - return h.default.each(e3, (e4) => { - (!e4.isInternal && e4.hasVisibleUsages(e4.parentFlow) || e4.allowInitialValueForReadOnly) && t3.push(e4); - }), t3; + _setVoiceProcessingPromptOptions(e3) { + this.voiceProcessingPrompt.outOfService = e3, this.voiceProcessingPromptWarning.outOfService = !(e3 && b.isFeatureAvailable(y.default.botFlowsVoiceProcessingPrompt)); } - getVariableFromExpression(e3) { - if (this.isDestroyedCheck(), !e3 || !e3.config) return null; - if (!e3.config.ref && !e3.config.sysref) return null; - const t3 = e3.config.ref ? e3.config.ref.val : e3.config.sysref.val; - return this.getExpandedVariable(t3); + validate(e3) { + if (super.validate(e3), e3.isDeep) { + const e4 = this.guideVersionSetting.getItem(); + e4 && this._mergeSchemaProperties(e4); + } } - isDestroyedCheck() { - o.__classPrivateFieldGet(this, r2, "f") && s.error("Accessing destroyed VariableGroup"); + _configureFromModel(e3, t3, i3) { + if ((0, R.isConfigureFromModelRecord)(e3.guide)) { + const o2 = e3.guide, a2 = Object.keys(o2)[0]; + if (a2) { + const e4 = t3, s2 = (0, R.isConfigureFromModelRecord)(o2[a2]) ? o2[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, r.sprintf)(l.configureFromModel.failedToResolve, "guide", a2)); + } catch (e5) { + const t4 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, r.sprintf)(l.configureFromModel.entityResolutionFailed, "guide", a2, t4)); + } + }) }); + } + } + super._configureFromModel(e3, t3, i3); } - fixParent(e3) { - return e3 || this.parentFlow; + _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); } - getMapIdForContainer(e3) { - return e3 && !e3.isFlowViewModel ? e3.id : this.parentFlow.instanceId; + _destroy() { + var e3; + super._destroy(), this.parentFlow.isDestroyedOrDestroying || null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState(); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = g; - }, 22931: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.performanceTimestampProvider = void 0, t2.performanceTimestampProvider = { now: function() { - return (t2.performanceTimestampProvider.delegate || performance).now(); - }, delegate: void 0 }; - }, 22999: (e2, t2, i2) => { + 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 = M; + }, 72194(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)), 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); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 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)); + } + objEvent_outputBranchAdded(e3, t3) { + const i3 = this.getBranch(t3.outputId); + i3 ? i3.enableFull() : this.addOptionalBranchInfo(t3); + } + objEvent_outputBranchRemoved(e3, t3) { + const i3 = this.getBranch(t3); + i3 && i3.hasChildren ? i3.isUnreachable = true : this.removeOptionalBranchInfoById(t3); } - get className() { - return "InboundChatViewModel"; + static get branchInfo() { + return [r.default.default]; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, a.scopes.chat]; + setTask(e3) { + super.setTask(e3), this.referencedTaskViewModel ? this.switchToNewTaskPaths(this.referencedTaskViewModel.getBranches()) : this.resetToDefaultTaskPaths(); } - get isInboundChat() { + get supportsCustomOutputPaths() { return true; } - get type() { - return r2.flowTypes.flowTypeInboundChat; - } - get wrappedYamlName() { - return "inboundChat"; + switchToNewTaskPaths(e3) { + const t3 = o.default.pluck(this.branchInfoList, "outputId"), i3 = o.default.pluck(e3, "outputId"); + let n3; + for (let t4 = 0; t4 < e3.length; t4++) { + const i4 = e3[t4]; + n3 = this.getBranch(i4.outputId), n3 ? n3.enableFull() : this.addOptionalBranchInfo(i4); + } + const r2 = o.default.difference(t3, i3); + for (let e4 = 0; e4 < r2.length; e4++) n3 = this.getBranch(r2[e4]), n3 && n3.hasChildren ? n3.isUnreachable = true : this.removeOptionalBranchInfoById(r2[e4]); } - setNewInstanceDefaults(e3) { - const t3 = e3 && e3.transferQueue ? e3.transferQueue : null; - return t3 ? (this.errorHandling.loadErrorSettings(t3), this.errorHandling.handlingType = o.default.Queue) : this.errorHandling.handlingType = o.default.Disconnect, super.setNewInstanceDefaults(e3); + validate(e3) { + super.validate(e3), this.taskReference && (s.flowElementRegistrationService.getItemById(this.parentFlow, this.taskReference) || this.resetToDefaultTaskPaths()); } - _createInitialActions() { - return n2.__awaiter(this, void 0, void 0, function* () { - return c(this), this; - }); + resetToDefaultTaskPaths() { + this.switchToNewTaskPaths(this.branchInfos ? this.branchInfos : []); } - search(e3) { - super.search(e3); + removeUnusedOutput(e3, t3) { + if (!this.getOptionalBranchInfo(t3.id)) return; + const i3 = this.parentFlow.getTaskById(this.taskReference); + i3 && o.default.findIndex(i3.getBranches(), { outputId: t3.id }) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); } } - 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) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); - } - r2.keys = () => Object.keys(n2), r2.id = 23041, e2.exports = r2; - }, 23079: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.skip = void 0; - var n2 = i2(85934); - t2.skip = function(e3) { - return n2.filter(function(t3, i3) { - return e3 <= i3; - }); - }; - }, 23106: (e2, t2, i2) => { + _.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 = _; + }, 84415(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)), c = a.getTopic("ValidationIssues"); - class d extends l.BaseClass { + const n2 = i2(31635), o = i2(96618), r = 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 || 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); + super(e3, t3); } - get className() { - return "ValidationIssues"; + static get managedProperties() { + return [{ createDetails: s.FlowReferenceProperty.createCreateDetails({ flowType: o.flowTypes.flowTypeVoice, supportsSpecificVersion: false }), options: u.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(1).setCanCreateObjectInAction(true)), property: "voiceFlow", yamlOptions: p.createYamlOptions("voiceFlow", (e3) => e3.setExportOrder(6)) }]; } - addRollUpError(e3) { - this.rollupErrors.push(e3); + get targetFlowType() { + return this.voiceFlow; } - addRollUpWarning(e3) { - this.rollupWarnings.push(e3); + } + p.className = "CallVoiceFlowAction", p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r.helpTopics.actions.callVoiceFlow, modelClass: i2(55817), name: d.actions.callVoiceFlow, scriptingName: "ArchActionCallVoiceFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 89690(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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); } - clearRollupErrorAndWarnings() { - this.rollupErrors = [], this.rollupWarnings = []; + get amObjectEventSink() { + return true; } - clearErrorsAndWarnings() { - this.errors = [], this.warnings = []; + _preDestroy() { + super._preDestroy(), this.parentFlow.tryRemoveUiMetadataInfo(this, "state", this.stateReference, [this.model.__type], "stateReference", false); } - getErrorTexts() { - return r2.default.pluck(this.errors, "text"); + initialize() { + super.initialize(); } - getWarningTexts() { - return r2.default.pluck(this.warnings, "text"); + getDetails() { + return this.stateName ? new s.ActionDetails([_.state.label], [this.stateName]) : null; } - getRollupErrorTexts() { - return this.rollupErrors; + 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); } - getRollupWarningTexts() { - return this.rollupWarnings; + search(e3) { + super.search(e3); + const t3 = r.flowElementRegistrationService.getItemById(this.parentFlow, this.stateReference); + t3 && e3.checkText(this, t3.name, _.state.label); } - tryAddError(e3, t3, i3, n3) { - return !this.validationObjectAlreadyExists(this.errors, e3, t3) && (this.errors.push(this.createValidationIssue(e3, t3, i3, n3)), this.errors = r2.default.sortByNumericDesc(this.errors), true); + static get managedProperties() { + 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")) }]; } - tryAddWarning(e3, t3, i3, n3) { - return !this.validationObjectAlreadyExists(this.warnings, e3, t3) && (this.warnings.push(this.createValidationIssue(e3, t3, i3, n3)), this.warnings = r2.default.sortByNumericDesc(this.warnings), true); + validate(e3) { + super.validate(e3); } - createValidationIssue(e3, t3, i3, n3) { - return new u.default(e3, t3, i3, this.item, this.displayName, this.guxIcon, n3); + } + 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 && o.flowTypes.isInQueueAutomateFlowType(e3)); + }, termination: u.terminatesState, modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; + }, 72378(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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 []; } - validationObjectAlreadyExists(e3, t3, i3) { - return !!r2.default.findWhere(e3, { text: t3, flowElementId: i3 }) && (o.error("Validation error already exists: " + t3), true); + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } } - t2.default = d; - }, 23123: (e2, t2, i2) => { + u.info = r.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.clearActiveIntent, modelClass: i2(67504), name: l.actions.clearActiveIntent, scriptingName: "ArchActionClearActiveIntent", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; + }, 25308(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { + const n2 = i2(31635), o = i2(89134), r = 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); } static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findEmergencyGroup.findEmergencyGroupNameLabel, searchResultLabel: d.findActions.findEmergencyGroup.findEmergencyGroupResultLabel, searchResultExpressionOptions: o.ExpressionTypeEmergencyGroupOptions.create(), searchResultItemType: a.expressionTypeNames.emergencyGroup }); + 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(o.allPostCallFlowTargetTypes).setAllowableValuePlaceholder(d.setPostFlow.targetPlaceholder)), property: "target", type: u.expressionTypeNames.string }]; } } - 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) => { + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r.helpTopics.actions.clearPostFlow, modelClass: i2(97534), name: d.actions.clearPostFlow, scriptingName: "ArchActionClearPostFlow", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 60440(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "externalWhatsAppInfo"; - } - get displayName() { - } - get phoneNumber() { - } - get displayTypeName() { - return "ArchValueExternalWhatsAppInfo"; + const n2 = i2(31635), o = n2.__importDefault(i2(5478)), r = i2(17749), a = i2(45077), s = i2(12179), l = n2.__importDefault(i2(97891)), u = n2.__importDefault(i2(4648)), c = i2(47957); + class d extends o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get isArchValueExternalWhatsAppInfo() { - return true; + _getPossibleErrors() { + return a.clearSkillExpressionFiltersFailureReasons; } } - t2.default = r2; - }, 23208: (e2, t2, i2) => { + d.info = l.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: s.helpTopics.actions.clearSkillExpressionFilters, modelClass: r.ClearSkillExpressionFiltersActionModel, name: c.actions.clearSkillExpressionFilters, scriptingName: "ArchActionClearSkillExpressionFilters", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; + }, 47598(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)), c = i2(12179), d = n2.__importDefault(i2(68460)), p = i2(47957); - class _ extends d.default { - constructor(e3) { - super(e3), this.modelPropertyName = "commonModuleFlowSettings"; + const n2 = i2(31635), o = i2(17604), r = 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: y.clearSlot.slotsLabel, yamlOptions: S.createYamlOptions("slots", (e3) => e3.setWrapDataPairNameAndValueInString("slot")) }]; } - get id() { - return "commonModuleSettings"; + constructor(e3, t3) { + super(e3.parentFlow, e3), this.slotErrors = [], this._loadModel(t3), r.default.each(this.slots.items, (e4) => { + e4 && e4.value && (e4.value.outOfService = true); + }); } - get className() { - return "CommonModuleFlowSettingsViewModel"; + addSlot() { + 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; } - get amObjectEventEmitter() { - return true; + getSelectedSlots() { + return r.default.pluck(this.slots.items, "name"); } - _postDestroy() { - super._postDestroy(), u.removeEventEmitter(this); + _setupEventSinks() { + this.slotListOrderChangedSink = u.createEventSinkObject(l.listOrderChanged, this, () => { + this.initializeDesignTimeCalled && c.validateAction(this, false, true); + }), u.registerEventSinkForEventEmitter(this.slots.id, this.slotListOrderChangedSink); } - getConfiguration(e3, t3) { - let i3; - return (null == t3 ? void 0 : t3.isForFlowYaml) ? (i3 = { compatibleFlowTypes: [] }, o.default.each(this.destinationFlowTypes, (e4) => { - i3.compatibleFlowTypes.push(o.default.tryWrapObject(e4, "flowType")); - }), i3) : (i3 = new a.default(null), i3.destinationFlowTypes = this.destinationFlowTypes, i3); + _clearEventSinks() { + u.unregisterEventSinkForEventEmitter(this.slots.id, this.slotListOrderChangedSink), u.unregisterEventSink(this.slotListOrderChangedSink); } - getDisplayName() { - return p.commonModule.settingsNodeName; + propertyChanged(e3) { + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.slots && c.validateAction(this, false, true); } - get isCommonModuleSettingsNode() { - return true; + _initializeDesignTime() { + super._initializeDesignTime(), this._setupEventSinks(); } - loadConfiguration(e3) { - e3.commonModuleFlowSettings || (e3.commonModuleFlowSettings = new a.default(null)), this._config = e3.commonModuleFlowSettings; + setNewInstanceDefaults() { + return super.setNewInstanceDefaults(); } - get destinationFlowTypes() { - return this._config.destinationFlowTypes || (this._config.destinationFlowTypes = []), this._config.destinationFlowTypes; + _preDestroy() { + super._preDestroy(), this._clearEventSinks(); } - get destinationFlowTypesMap() { - if (void 0 === this._destinationFlowTypesMap) { - this._destinationFlowTypesMap = {}; - for (const e3 of this.destinationFlowTypes) this._destinationFlowTypesMap[e3] = true; + getDetails() { + if (this.slots.items.length) { + const e3 = [], t3 = []; + return r.default.each(this.slots.items, (i3, n3) => { + e3.push(n3 + 1), t3.push(i3.name); + }), new _.ActionDetails(e3, t3); } - return this._destinationFlowTypesMap; - } - set destinationFlowTypes(e3) { - this._config.destinationFlowTypes = [...e3], this._destinationFlowTypesMap = void 0, u.fireEvent(this, s.destinationFlowTypesChanged); - } - get nodeGuxIcon() { - return "fa/gears-regular"; - } - get helpTopic() { - return c.helpTopics.treeNodes.commonModuleSettings; + return null; } - get wrappedYamlName() { - return "settingsCommonModule"; + getAvailableSlotNames() { + return this.parentFlow.getAvailableSlotNames(true, false); } validate(e3) { - super.validate(e3), this.getDestinationFlowTypesInError(e3); - } - getDestinationFlowTypesInError(e3) { - let t3; - return 0 === this.destinationFlowTypes.length ? t3 = p.commonModule.mustSelectFlowType : this.destinationFlowTypes.find((e4) => { - if (!l.default.getDefinitionForFlowType(e4).isEmbeddable) return t3 = (0, r2.sprintf)(p.commonModule.flowTypeNotSupported, e4), true; - }), e3 && t3 && e3.addError(this, t3), t3; + 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, y.clearSlot.noSlotsToClearWarning); + const n3 = this.getSelectedSlots(), a2 = r.default.countBy(n3), s2 = []; + this.slots.items.forEach((t4, i4) => { + this.slotErrors.push(void 0); + const n4 = null == t4 ? void 0 : t4.name; + let r2; + const l2 = this.parentFlow.getAllSlotsToSlotHandlingMap().get(n4); + n4 ? void 0 === l2 ? r2 = (0, o.sprintf)(y.askForSlot.selectedSlotError, null == t4 ? void 0 : t4.name) : l2 !== p.SlotHandlingType.standardSlot ? r2 = (0, o.sprintf)(y.voiceSurvey.voiceSurveySlotNotAllowedErrorMessage, n4) : a2[n4] > 1 && !s2[n4] && (r2 = (0, o.sprintf)(y.clearSlot.specifiedMoreThanOnce, null == t4 ? void 0 : t4.name), s2[n4] = true) : r2 = y.clearSlot.mustSpecifySlot, r2 && (this.slotErrors[i4] = r2, e3.addError(this, r2)); + }); } } - t2.default = _; - }, 23215: (e2, t2, i2) => { + 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; + }, 95320(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), c = n2.__importStar(i2(81116)), d = n2.__importDefault(i2(51695)), p = i2(47957); - class _ extends d.default { + const n2 = i2(31635), o = n2.__importDefault(i2(5478)), r = 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 o.default { constructor(e3, t3) { - super(), this.model = e3, this._parentFlow = t3, this.id = (0, o.uuid)(), this.timeslots = this._createNewTimeslotsExpression(this.model.timeslots); - } - get parentFlow() { - return this._parentFlow; - } - get name() { - return this.model.name; + super(e3.parentFlow, e3), this._loadModel(t3); } - get cardLabel() { - return this.name; + static get branchInfo() { + return r.default.successFailure; } - get contents() { - return [this.timeslots]; + _getPossibleErrors() { + return this.parentFlow.isWorkitemFlow ? s.clearUtilizationLabelFailureReasonsWithWorkitem : a.clearUtilizationLabelFailureReasons; } - get referenceId() { - return this.name; + } + 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; + }, 92244(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); } - get className() { - return "DynamicTimeslotTypeViewModel"; + } + u.info = r.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.clearVoicemailSnippet, modelClass: i2(51336), name: l.actions.clearVoicemailSnippetActionLabel, scriptingName: "ArchActionClearVoicemailSnippet", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; + }, 18543(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(92794), r = 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)), I = n2.__importDefault(i2(5730)), C = i2(47957), O = i2(53486); + class b extends I.default { + static get managedProperties() { + return [{ label: C.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: C.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: C.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: C.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(C.collectInput.inputAudio)), property: "prompts", yamlOptions: b.createYamlOptions("inputAudio", (e3) => e3.setPropertyName("inputAudio")) }, { label: C.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: O, getPlaybackMode() { + return this.verificationType.name.toLocaleLowerCase(); + }, getReplacementValues() { + const e3 = {}; + return e3[O.parts.replacementLastInput] = "Flow.$lastInput", e3; + } }, options: _.AudioViewModelOptions.create((e3) => e3.setIsInternal(true).setIninTestingField("verificationAudio").setLabel(C.collectInput.verification)), yamlOptions: b.createYamlOptions("verificationPrompts", (e3) => e3.setSkipProperty(true)), property: "verificationPrompts" }, { label: C.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: C.collectInput.acceptJustStar, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("acceptJustStar")), property: "acceptJustStar", type: l.expressionTypeNames.boolean }, { label: C.collectInput.acceptJustPound, options: u.ExpressionTypeBooleanOptions.create((e3) => e3.setDefaultText("false").setUseCheckbox(true).setAllowModeLiteralOnly().setIninTestingField("acceptJustPound")), property: "acceptJustPound", type: l.expressionTypeNames.boolean }]; } - getConfiguration(e3, t3) { - return this.model; + constructor(e3, t3) { + super(e3.parentFlow, e3), this.prompts = null, this.verificationPrompts = null, this._loadModel(t3); } get amObjectEventSink() { return true; } - initializeDesignTime() { - super.initializeDesignTime(), s.registerEventSinkForEventEmitter(this.timeslots.id, this); + static get branchInfo() { + return h.default.successFailure; } - objEvent_listOrderChanged() { - this._handleSlotTypeInfoUpdated(); + getDetails() { + return this.resultData && this.resultData.text ? new N.ActionDetails([C.collectInput.dtmfVariable], [this.resultData.text]) : null; } - objEvent_expressionValueChanged() { - this._handleSlotTypeInfoUpdated(); + initialize() { + super.initialize(), f.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this); } - get isDynamicTimeslotTypeViewModel() { - return true; + objEvent_supportedLanguagesChanged() { + this.generateAudioExpression(), this.parentFlow.validationComplete$.pipe((0, o.first)()).subscribe(() => { + this._updatePromptReferencesForAudioCases(); + }); } - destroy() { - var e3; - s.unregisterEventSinkForEventEmitter(null === (e3 = this.timeslots) || void 0 === e3 ? void 0 : e3.id, this), super.destroy(); + postProcessYamlConfig(e3, t3, i3) { + var n3; + if (e3.digits = {}, this.numberOfDigitsMax.text === this.numberOfDigitsMin.text) e3.digits.exact = e3.min, delete e3.min, delete e3.max; + else { + const o2 = e3.digits.range = {}; + o2.terminatingDtmf = null === (n3 = this.terminatingCharacter) || void 0 === n3 ? void 0 : n3.getConfiguration(t3, i3), r.default.moveAndDeleteProperty(e3, o2, "min"), r.default.moveAndDeleteProperty(e3, o2, "max"), r.default.moveAndDeleteProperty(e3, o2, "includeTerminatingDtmfInResultData"); + } + e3.verificationType = this.verificationType ? this.verificationType.getConfiguration(t3, i3) : "none"; } - _handleSlotTypeInfoUpdated() { - const e3 = this.parentFlow; - r2.default.isFunction(e3.updateWorkbenchDynamicSlotTypesUpdated) && e3.updateWorkbenchDynamicSlotTypesUpdated(); + get terminatingCharacter() { + return this.model.terminatingCharacter; } - _createNewTimeslotsExpression(e3) { - 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 c.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, p.dynamicTimeslots.settings.dynamicTimeslotSettingTimeslotsLabel, u.globalTypes.timeslotCollection, null, i3); + set terminatingCharacter(e3) { + this.model.terminatingCharacter = e3, this._updateOutOfService(); } - } - t2.default = _; - }, 23217: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get verification() { + return this.model.verification; } - get _globalTypeName() { - return "digitalAudioCollection"; + set verification(e3) { + this.model.verification = e3; } - get displayTypeName() { - return "ArchValueDigitalAudioCollection"; + get verificationType() { + return this.model.verificationType; } - get isArchValueDigitalAudioCollection() { - return true; + set verificationType(e3) { + this.model.verificationType = e3, this.generateAudioExpression(); } - } - t2.default = r2; - }, 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)), 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; + _initializeDesignTime() { + super._initializeDesignTime(), this.isReadOnly || !this.verificationPrompts || this.verificationPrompts.defaultAudio.customExpressionMode || this.generateAudioExpression(), this._updateOutOfService(), this._updatePromptReferencesForAudioCases(true), (0, g.isFeatureAvailable)(y.default.collectInput40Digits) && (this.numberOfDigitsMax.options.facets.setMaxInt(S.collectInput.maxDigits_40, true), this.numberOfDigitsMin.options.facets.setMaxInt(S.collectInput.maxDigits_40, true)), this.addAutoCleanedUpEventSinkWatch(m.expressionValueChanged, this.numberOfDigitsMin, () => (0, T.validateAction)(this, true, true)), this.addAutoCleanedUpEventSinkWatch(m.expressionValueChanged, this.numberOfDigitsMax, () => (0, T.validateAction)(this, true, true)); } - get dependencyType() { - return h.UserPrompt; + _updatePromptReferencesForAudioCases(e3) { + this.verificationPrompts.cases.forEach((t3) => { + var i3; + const n3 = t3.audioExpression; + (null == n3 ? void 0 : n3.text) && !(null === (i3 = n3.getPromptReferences()) || void 0 === i3 ? void 0 : i3.length) && n3.processText(e3); + }); } - constructor() { - 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); - }), o.serviceListen(o.cleanUpFlow, (e3) => { - this.registeredAudioExpressions = {}, r2.default.each(this.items, (t3) => t3.removeUsageForFlow(e3)); - }), this._initialize(); + _updateOutOfService() { + this.includeTerminatingDtmfInResultData.outOfService = !this.terminatingCharacter; } - getItemByName(e3) { - if (!e3) return null; - if (l.hasSystemPromptPrefix(e3)) return null; - const t3 = l.removePrefix(e3).toLowerCase(); - return r2.default.find(this.items, (e4) => e4.lowerDisplayName === t3); + } + b.info = v.default.createActionInfo({ actionClass: b, canBeInTask: true, helpTopic: A.helpTopics.actions.collectInput, modelClass: i2(70339), name: C.actions.collectInput, scriptingName: "ArchActionCollectInput", modelFormatSupport: { flowYaml: { inProgress: true, feature: y.default.changeSetsFeaturePhase2 } } }), t2.A = b; + }, 97505(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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 r.default { + static get managedProperties() { + 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 }]; } - removeItemWithName(e3) { - const t3 = this.getItemByName(e3); - t3 && delete this.items[t3.id]; + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - getBulkPromptContainers(e3) { - return a.getBulkUserPromptContainers(e3).then((e4) => { - r2.default.each(e4.entities, (e5) => { - this.addItem(e5, true); - }); - }); + static get branchInfo() { + return a.default.successNoInputFailure; } - _createItemViewModel(e3) { - return new d.default(e3, false); + } + g.info = l.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: o.helpTopics.actions.collectVoiceSnippet, modelClass: i2(92372), name: _.actions.collectVoiceSnippet, scriptingName: "ArchActionCollectVoiceSnippet", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = g; + }, 71530(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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: _.communicate.communication, options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("communication").setDefaultToBuilderId(r.builderIds.parts.genericCommunication).setUiPropertyOrder(0)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: s.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("communication").setDefaultToBuilderId(r.builderIds.parts.markdownCommunication).setUiPropertyOrder(0)) }], property: "communication", type: a.expressionTypeNames.communication }, (0, l.createBargeInManagedProperty)(1)]; } - 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)))); + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - deletePrompt(e3) { - return a.deletePromptContainer(e3).then(() => { - this.topic.info("Successfully deleted prompt container: {}", e3), this.getItem(e3) && this.removeItemWithId(e3, true); - }); + setNewInstanceDefaults() { + return super.setNewInstanceDefaults(); } - getGroupForItem(e3) { - if ((e3 = e3.isPromptContainer ? e3 : this.getItem(e3.id)) && e3.isUser) return Object.assign(Object.assign({}, m), { audioPreview: this.audioPreview }); + } + 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.default = h; + }, 66590(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); } - refreshSinglePrompt(e3) { - return a.getPromptContainer(e3, false, { includeMediaUris: true }).then((e4) => { - const t3 = this._createItemViewModel(e4); - return this.items[e4.id] && t3.transferUsagesFrom(this.items[e4.id]), this.items[e4.id] = t3, t3; - }); + } + d.info = r.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: o.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; + }, 76218(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(63352)), r = 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(); } - registerAudioExpression(e3) { - e3 && e3.id && (this.registeredAudioExpressions[e3.id] = e3); + getDetails() { + return this.targetAddress ? new c.ActionDetails([h.completeSurvey.targetAddressLabel], [this.targetAddress.text]) : null; } - unregisterAudioExpression(e3) { - e3 && e3.id && delete this.registeredAudioExpressions[e3.id]; + static get managedProperties() { + 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 }]; } - updatePromptNameAndUsages(e3, t3) { - const i3 = this.items[e3.id]; - if (i3) { - const n3 = i3.cloneUsages(); - return t3 !== e3.expressionName && (r2.default.each(n3, (i4) => { - r2.default.each(i4, (i5) => { - (0, s.isBaseExpression)(i5.expression) && i5.expression.replaceUsages(t3, e3.expressionName); - }); - }), e3.transferUsagesFrom(i3)), this.items[e3.id] = e3, true; - } - return false; + setTargetAddressType() { + this.targetAddressType.outOfService = true, this.targetAddressType.setAsLiteral("Email"); } - updateRegisteredAudioExpressions(e3) { - r2.default.each(this.registeredAudioExpressions, (t3) => { - t3.updateIfPromptIsUsed(e3); - }); + validate(e3) { + super.validate(e3), (this.reminderSubject.mode === o.noValue && this.reminderBody.mode !== o.noValue || this.reminderSubject.mode !== o.noValue && this.reminderBody.mode === o.noValue) && e3.addError(this, h.completeSurvey.validation.reminderMustHaveSubjectAndBody); } } - t2.UserPromptListManager = g, t2.userPromptListManager = new g(); - }, 23308: (e2, t2, i2) => { + m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: r.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; + }, 12992(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)), 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 { + const n2 = i2(31635), o = i2(17604), r = 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, 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; + super(e3.parentFlow, e3), this._loadModel(t3), this.resources = { mustSelectScript: (0, o.sprintf)(f.screenPop.mustSelectScript, f.createCallback.selectedScript), scriptNotFound: f.createCallback.callbackScriptNotFound }; } - set actionName(e3) { - this.datatableName = e3; + get useQueue() { + return this.model.useQueue; } - get actionId() { - return this.datatableId; + set useQueue(e3) { + this.model.useQueue = e3; } - set actionId(e3) { - this.datatableId = e3; + get result() { + return this.model.result; } getDetails() { - return this.actionName ? new p.ActionDetails([A.dataTable.dataTable], [this.actionName]) : null; + if (!this.callbackNumbers || !this.queue) return null; + const 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(), this.lookupKeyValue.outOfService = true; - } - get isDataTableLookupAction() { - return true; + super.setNewInstanceDefaults(...arguments), this.callbackNumbers.add(), this.callbackNumbers.items[0].setAsExpression("ToPhoneNumber(Call.Ani)"), this.setOutOfService(); } _loadModel(e3) { - super._loadModel(e3), this.inputs = new o.DataPairList(this, [], false); - const t3 = new a.default(this.model.lookupKeyValue, this.lookupKeyValue.type, this.lookupKeyValue); - t3.name = "lookupKeyValue", this.inputs.addItem(t3); - } - clearSchemaBindings() { - var e3, t3; - 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(); + super._loadModel(e3), this.setOutOfService(); } 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", 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")) }]; + return [{ label: f.configurations.queue, options: l.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("queueExpression").setAllowEmptyConfig(true)), property: "queue", type: r.expressionTypeNames.queue }, { label: f.createCallback.callbackNumber, list: true, property: "callbackNumbers", type: r.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: r.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)) }]; } - 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 && N.setExpressionWithSchemaProperty(this.lookupKeyValue, t3), this.lookupKeyValue.outOfService = r2.default.isUndefined(t3); + get scriptManager() { + return c.callbackManager; } - _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); + getCachedServerPropertyById(e3, t3) { + return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); } - postProcessYamlConfig(e3, t3, i3) { - if (this.actionName) { - e3.dataTable = {}; - const t4 = e3.dataTable[this.actionName] = {}; - r2.default.moveAndDeleteProperty(e3, t4, "foundOutputs"), r2.default.moveAndDeleteProperty(e3, t4, "failureOutputs"); - } + setOutOfService() { + this.useQueue = !this.parentFlow.isInQueueCallFlow, this.queue.outOfService = !this.useQueue; } - static get branchInfo() { - return u.default.foundNotFoundFailure; + } + 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; + }, 42062(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(53755), r = 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 o.BaseConversationAttributeActionViewModel { + constructor(e3, t3) { + super(e3, t3), this._loadModel(t3); } - getCachedServerPropertyByName(e3, t3) { - return this._serverManager.getCachedServerPropertyByName(e3, this.datatableId, t3, this); + static createCustomJsonProperties() { + return this.createManagedPropertiesFromConfig({ includeInput: true, includeOutput: true, inputOptionsFactory: () => s.ExpressionTypeJsonOptions.create((e3) => { + e3.setAsInput().setUiPropertyGroup(d.setAttributes.attribute).setIsCustomJsonType(true).setUiSingleItemSectionPropertyGroup(true).setHideLabel(true).setIninTestingField("customJsonInput"); + }), outputOptionsFactory: () => s.ExpressionTypeJsonOptions.create((e3) => { + e3.setAsOutput().setIsCustomJsonType(true).setLabelOverride(d.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); + }) }); } - loadDataSchemas(e3) { - return e3 ? this.serverManager.fetchItem(e3.id) : Promise.resolve(); + static get managedProperties() { + return [...this.createBaseManagedProperties(), this.createRecordIdManagedProperty(), this.createDivisionsManagedProperty(), ...this.createCustomJsonProperties()]; + } + _getPossibleErrors() { + return a.createConversationAttributeFailureReasons; + } + } + p.info = u.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: l.helpTopics.actions.createConversationAttribute, modelClass: r.CreateConversationAttributeActionModel, name: d.actions.createConversationAttribute, scriptingName: "ArchActionCreateConversationAttribute", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 35951(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); + } + static get branchInfo() { + return s.default.yesNo; + } + getDetails() { + return this.expression && this.expression.text ? new r.ActionDetails([""], [this.expression.text]) : null; + } + static get managedProperties() { + 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")) }]; } } - 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) => { + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: o.helpTopics.actions.decision, modelClass: i2(33631), name: p.actions.decision, scriptingName: "ArchActionDecision", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; + }, 4294(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFlowItemWithNameAndId = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(64015), o = i2(9456); - class a extends r2.BaseFlowItem { - constructor(e3) { - var t3; - super(e3), this.id = null !== (t3 = null == e3 ? void 0 : e3.id) && void 0 !== t3 ? t3 : (0, o.uuid)(), this.name = null == e3 ? void 0 : e3.name; + const n2 = i2(31635), o = n2.__importStar(i2(1115)), r = 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); } - pasteReIdOrRename(e3) { - this.id = e3.pasteGenerateNewGuid(this.id); + static get managedProperties() { + 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, r.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 }]; } - pasteResolveOldToNewValues(e3) { + _getPossibleErrors() { + return s.decryptDataFailureReasons; } - pasteResolveReferenceAndName(e3, t3, i3, r3) { - const o2 = { reference: e3.pasteResolveOldIdToNewId(i3), name: "" }; - switch (t3) { - case "menu": - o2.name = e3.pasteResolveOldMenuNameToNewMenuName(r3); - break; - case "state": - o2.name = e3.pasteResolveOldStateNameToNewStateName(r3); - break; - case "task": - o2.name = e3.pasteResolveOldTaskNameToNewTaskName(r3); - break; - default: - throw "unsupported resolve type passed to pasteResolveReferenceAndName"; - } - if (o2.reference !== i3) return o2; - let a2; - switch (t3) { - case "menu": - a2 = e3.pasteContext.destFlowViewModel.menus; - break; - case "state": - a2 = e3.pasteContext.destFlowViewModel.states; - break; - case "task": - a2 = e3.pasteContext.destFlowViewModel.tasks; - break; - default: - throw "unsupported resolve type passed to pasteResolveReferenceAndName"; - } - if (!a2) return o2; - let s = n2.default.find(a2, function(e4) { - return e4.id === i3; + propertyChanged(e3) { + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.dataToDecrypt && o.validateItem(this.decryptedDataOutput, true, true); + } + _initializeDesignTime() { + super._initializeDesignTime(), this.decryptedDataOutput.attachValidator((e3) => { + 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))); }); - return n2.default.isUndefined(s) && n2.default.isString(r3) && (s = n2.default.find(a2, function(e4) { - return e4.name === r3; - })), s && (o2.reference = s.id, o2.name = s.name), o2; } } - t2.BaseFlowItemWithNameAndId = a; - }, 23335: (e2, t2, i2) => { + 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; + }, 86332(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), 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); + const n2 = i2(31635), o = n2.__importStar(i2(17498)), r = 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); } - get _coreExpression() { - return this._coreExpressionInternal; + static get managedProperties() { + return [{ label: r.deflect.deflectToLabel, options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(r.deflect.deflectToLabel, r.deflect.deflectToDescription).setAsInput().setIsOptional(false).setDefaultText(r.deflect.sms).setAllowModeLiteralOnly().setIninTestingField("deflect-deflectTo").setReadOnly(true).facets.setAllowableValues([r.deflect.sms]).setDisplayFacetsAsInputWhenOnlyOneValueAllowed(true)), property: "deflectTo", type: _.expressionTypeNames.string }, { label: r.deflect.messageLabel, options: m.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(r.deflect.messageLabel, r.deflect.messageDescription).setIninTestingField("deflect-message").setAdditionalBuilderPartDefs([l.default.getBuilderPartDefById(u.builderPartIds.string.deflectionURL)]).facets.setMinLength(1).setMaxLength(p.default.maxSmsMessageLength).setTrim(true)), property: "message", type: _.expressionTypeNames.string }, { label: r.deflect.smsToLabel, options: h.ExpressionTypePhoneNumberOptions.create((e3) => e3.setAsInput().setIsOptional(false).setDescriptionInfo(r.deflect.smsToLabel, r.deflect.smsToDescription).setDefaultToExpression(true).setDefaultText("ToPhoneNumber(Call.Ani)").setIninTestingField("deflect-smsTo")), property: "smsTo", type: _.expressionTypeNames.phoneNumber }, { label: r.deflect.smsFromLabel, options: h.ExpressionTypePhoneNumberOptions.create((e3) => e3.setAsInput().setIsOptional(false).setDescriptionInfo(r.deflect.smsFromLabel, r.deflect.smsFromDescription).setAllowModeLiteralOnly().setLiteralUsesSmsPhoneNumberDropdown(true).setIninTestingField("deflect-smsFrom")), property: "smsFrom", type: _.expressionTypeNames.phoneNumber }]; } - _getCoreExpression() { - return this._coreExpression; + static get branchInfo() { + return s.default.successFailure; } - get _globalTypeName() { - return console.log(`INTERNAL ERROR - _globalTypeName not implemented for '${this.displayTypeName}'`), ""; + _getPossibleErrors() { + return d.deflectFailureReasons; } - get consumesSecureData() { - return this._coreExpression.consumesSecureData; + 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) && o.registerConsumer(this, "smsPhoneNumber", this.smsFrom.model.config.val, this.smsFrom.model.config.val, o.NO_VERSION, y.SmsPhoneNumber, this.parentFlow); } - get displayTypeName() { - return "ArchBaseValue"; + } + S.info = f.default.createActionInfo({ actionClass: S, canBeInTask: true, helpTopic: g.helpTopics.actions.deflect, modelClass: c.DeflectActionModel, name: r.deflect.deflect, scriptingName: "ArchActionDeflect", modelFormatSupport: { flowYaml: { inProgress: true, feature: T.default.changeSetsFeaturePhase2 } } }), t2.A = S; + }, 6666(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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: 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)) }]; } - get definition() { - if (!this._globalTypeName) return null; - const e3 = p.globalTypes[this._globalTypeName]; - return this._checkItem(this._infoVal("globalType", "definition(get)"), !e3, `INTERNAL ERROR - unable to find global type for '${this._globalTypeName}'`), this.coreFactory.createArchDefinitionValue(e3); + constructor(e3, t3) { + super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventListener(s.nluCortexIntentClassificationMetadataUpdated, () => { + this.updateIntentPaths(), l.validateAction(this, true, true); + }), this.addAutoCleanedUpEventSinkWatch(s.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)), this.sortBranches(); } - get logStr() { - if (!this._coreExpression) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrParentParts(e3, this._coreExpression.parent), this._appendLogStrProperty(e3, this._coreExpression.label), this._createLogStrFromParts(e3); + get supportsCustomOutputPaths() { + return true; } - _createStringLiteralForText(e3) { - return '"' + this._escapeTextForExpression(e3) + '"'; + static get branchInfo() { + return [p.default.default]; } - _escapeTextForExpression(e3) { - return d.default.rawEscapeStringForExpressionMode(e3); + createBranchesForAllIntents() { + const e3 = []; + try { + this.getIntents().forEach((t3) => { + const i3 = this._ensureBranchExistsForIntent(t3.name, t3.id, false); + e3.push({ intent: t3, branchItem: i3 }); + }); + } catch (e4) { + this.topic.exception(e4, "failure during createBranchesForAllIntents"); + } finally { + this.sortBranches(); + } + return e3; } - _failIfOutput(e3) { - this._settings.isOutput && this.logErrorAndThrow("assignment is invalid because this value is an output."); + _ensureBranchExistsForIntent(e3, t3, i3) { + let n3 = this.branches.find((e4) => e4.id === t3); + if (n3) n3.label = e3; + else { + const o2 = r.createBranchItemDynamic(this.id, e3, null, true, t3); + n3 = this.addOptionalBranchInfo(o2), i3 && this.sortBranches(); + } + return n3; } - _getCoreExpressionText() { - return this._coreExpression.text; + addBranchForIntent(e3, t3) { + return this._ensureBranchExistsForIntent(e3, t3, true); } - _getAssignableProperty(e3) { - if (this._getCoreViewModel().isLiteralMode) return this.coreFactory.createArchWrapper(this._getCoreViewModel().getProperty(e3)); + getIntents() { + var e3, t3; + return (null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.nluCortexMetaData) || void 0 === t3 ? void 0 : t3.intents) || []; } - _getValueTextCommon() { - if (this.isExpression) return this.getExpressionText(); - if (this.isVariable) { - const e3 = this.getVariable(); - return e3 ? e3.name : ""; - } - if (this.isNoValue) return ""; - if (this.isBuilder) return this._getCoreExpressionText(); - if (this.isLiteral && this.isCollection) { - const e3 = this.length; - if (!r2.default.isUndefined(e3) && r2.default.isFunction(this.getItemByIndex)) { - const t3 = []; - for (let i3 = 0; i3 < e3; i3++) { - const e4 = this.getItemByIndex(i3); - if (e4) { - const n3 = e4.valueText; - r2.default.isUndefined(n3) ? (this._logErrorInternal(`Item ${i3} in collection isn't returning a string for the valueText property. Using a blank string for the item's valueText.`), t3.push("")) : t3.push(n3); - } else this._logErrorInternal(`Item ${i3} in collection isn't an ArchBaseValue. Using a blank string for the item's valueText.`), t3.push(""); - } - return t3; - } - } + switchToNewIntentPaths(e3) { + a.switchToNewIntentPaths(this, e3); } - _processTextAndFailIfInvalid(e3) { - this._coreExpression.processText(true), this._coreExpression.resultType !== h.ParseResultTypes.error || e3 || this.logErrorAndThrow("expression text of '" + this._coreExpression.text + "' is in error. Reason: " + (this._coreExpression.resultMessage ? this._coreExpression.resultMessage : "Invalid.")); + removeUnusedOutput(e3, t3) { + if (!this.getOptionalBranchInfo(this.id)) return; + const i3 = this.parentFlow.nluCortexMetaData; + i3 && u.default.findIndex(i3.intents, { id: t3.id }) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); } - _processValueOverridden() { + updateIntentPaths() { + const e3 = this.parentFlow.nluCortexMetaData; + if (!e3) return; + const t3 = a.translateEmailIntentsToBranchItems(this, e3.intents); + this.switchToNewIntentPaths(t3); + } + validateSupportedLanguages() { var e3; - (this.settings.hasFlowLevelDefault || (null === (e3 = this._coreExpression.options) || void 0 === e3 ? void 0 : e3.allowFlowLevelDefault)) && (this.logNote("setting the value so it overrides a flow level default"), this._coreExpression.isOverride = true); + const t3 = f.bootstrapService.featureSupport.naturalLanguageUnderstanding.supportedLanguages.map((e4) => { + var t4, i4; + return (null === (t4 = null == e4 ? void 0 : e4.supportedIntentDetectionSettings) || void 0 === t4 ? void 0 : t4.length) > 0 && (null === (i4 = null == e4 ? void 0 : e4.supportedIntentDetectionSettings) || void 0 === i4 ? void 0 : i4.find((e5) => e5.type === a.GENERETIVE_AI_TYPE)) ? e4.language.toLowerCase() : null; + }).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, o.sprintf)(S.naturalLanguageUnderstanding.languageStatusPreviewIntentDetection, null != t4 ? t4 : i3); + } else this.languageWarning.note = null; } - _setExpression(e3, t3) { - null == t3 && (t3 = ""), this._checkItemIsValidLiteralString(e3, t3), this._checkItem(e3, !this._settings.isWritable, "you cannot assign the expression text '" + t3 + "' because this value " + this.settings.logStr + " is not writable."), this._checkItem(e3, !this._settings.canBeExpression, "you cannot assign the expression text '" + t3 + "' because this value " + this.settings.logStr + " cannot be an expression."), this.logNote("assigning expression [Text: '" + t3 + "', ValueType: '" + this.displayTypeName + "']"), this._coreExpression.isNormalExpression || this._coreExpression.isCollectionExpression ? this._coreExpression.setAsExpression(t3) : this._coreExpression.setText(t3), this._processValueOverridden(), this._processTextAndFailIfInvalid(l.default.allowInvalidExpressionText), this._registerExpressionServerSearchesOnAsyncTracker(); + 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, S.naturalLanguageUnderstanding.nluMustHaveOneIntentForIntentDetection); } - _registerExpressionServerSearchesOnAsyncTracker() { - const e3 = this._coreExpression, t3 = e3._serverSearches; - if (!Array.isArray(t3) || !t3.length) return; - const i3 = e3.propertyName || this.displayTypeName; - for (let e4 = 0; e4 < t3.length; e4++) { - const n3 = t3[e4]; - o.default.isPromiseAlike(n3) ? y.default.addPromise(n3, `setExpression server search (${i3}) [${e4}]`) : this._logErrorInternal(`setExpression server search at index ${e4} on '${i3}' is not promise-like (${typeof n3}) and was not registered on ArchAsyncTracker.`); - } + _initializeDesignTime() { + super._initializeDesignTime(), this.optionalBranchInfo.length || this.createBranchesForAllIntents(); } - _setNotWritableOverride(e3) { - return this.settings._setNotWritableOverride(e3); + } + 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; + }, 98151(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); } - _setWritableOverride(e3) { - return this.settings._setWritableOverride(e3); + } + u.info = r.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.detectSilence, modelClass: i2(39533), name: l.actions.detectSilence, scriptingName: "ArchActionDetectSilence", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; + }, 74884(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(63824)), r = 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); } - _setLiteral(e3, t3, i3) { - this._checkItem(e3, !this._settings.isWritable, "you cannot assign a literal because this value " + this.settings.logStr + " is not writable."), this._checkItem(e3, !this._settings.canBeLiteral, "you cannot assign a literal because this value " + this.settings.logStr + " cannot be a literal."); - const n3 = r2.default.isString(i3) && i3.length > 0 ? `, Val: '${i3}'` : ""; - this.logNote(`assigning literal [Text: '${t3}', ValueType: '${this.displayTypeName}'${n3}]`), this._coreExpression.isNormalExpression || this._coreExpression.isCollectionExpression ? this._coreExpression.setAsLiteral(t3) : this._coreExpression.setText(t3), r2.default.isString(i3) && i3.length > 0 && this._coreExpression.config && this._coreExpression.config.root && (this._coreExpression.config.root.val = i3, this.logNote("literal value successfully applied to config root.")), this._processValueOverridden(), this._processTextAndFailIfInvalid(); + static get branchInfo() { + return [s.default.fake, s.default.failure, s.default.timeout]; } - get dataType() { - return this._dataType; + static get managedProperties() { + return [{ label: g.collectInput.interDigitTimeout, options: d.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(l.default.litDurationSixSeconds).setAllowFlowLevelDefault(true).setScriptingPropertyName("interDigitTimeout").setDurationStyle(o.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")) }]; } - get flowLevelDefault() { - if (this._coreExpression.options && this._coreExpression.options.isOverridableFlowLevelDefaultExpression) return null; - const e3 = this._coreExpression.propertyName; - if (!e3) return null; - if (!this._settings.hasFlowLevelDefault) return null; - const t3 = this._coreExpression.parentFlow.defaultSettings.getDefaultExpression(this.parent._actionTypeId, e3); - return t3 || this.logErrorAndThrow("flow level default not found for '" + e3 + "'"), this.coreFactory.createArchWrapper(t3); + } + f.info = u.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: true, helpTopic: r.helpTopics.actions.dialExtension, modelClass: i2(77170), name: g.dialExtension.title, scriptingName: "ArchActionDialByExtension", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = f; + }, 55510(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(80428), r = 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); } - getExpressionText() { - if (this.isExpression) return this._coreExpression.text; + static get branchInfo() { + return [a.default.fake, a.default.failure, a.default.timeout]; } - getVariable() { - const e3 = this._coreExpression.variableReference; - if (e3 && e3.val) { - const t3 = this._coreExpression.parentFlow.variableGroup.getVariable(e3.val); - if (t3) return this.coreFactory.createArchWrapper(t3); - } + static get managedProperties() { + return [{ property: "specificNumChars", label: d.dialName.numberOfCharacters, type: o.expressionTypeNames.integer, options: r.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("numChars")) }]; } - get hasError() { - return this._coreExpression.hasError; + get matchByType() { + return this.model.matchByType; } - get hasErrorOrWarning() { - return this.hasError || this.hasWarning; + set matchByType(e3) { + this.model.matchByType = e3; } - get hasWarning() { - return this._coreExpression.hasWarning; + get matchingStyle() { + return this.model.matchingStyle; } - get isArchBaseValue() { - return true; + set matchingStyle(e3) { + this.model.matchingStyle = e3; } - get isBuilder() { - return this._coreExpression.mode === u.ExpressionModes.builder; + } + 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; + }, 93619(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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), I = [(0, r.sprintf)(v.dialogEngine.terminationStateDescription, "AgentEscalation", v.generic.branches.noIntent), (0, r.sprintf)(v.dialogEngine.terminationStateDescription, "Error", v.generic.branches.failure), (0, r.sprintf)(v.dialogEngine.terminationStateDescription, "Expired", v.generic.branches.failure), (0, r.sprintf)(v.dialogEngine.terminationStateDescription, "Failure", v.generic.branches.failure), (0, r.sprintf)(v.dialogEngine.terminationStateDescriptionIntentOutput, "GoalReached")]; + class C extends S.default { + constructor(e3, t3) { + super(e3, t3); } - get isExpression() { - return this._coreExpression.isAudioExpression && true === this._coreExpression.customExpressionMode || this._coreExpression.mode === u.ExpressionModes.expression; + get botRunnableProperty() { + return this.botVersion; } - get isNoValue() { - return this._coreExpression.mode === u.ExpressionModes.noValue; + get botCategoryProperty() { + return this.bot; } - get isNoValueNoFallback() { - return this._coreExpression.isNoValueModeWithNoFallback; + static get branchInfo() { + return [d.default.noIntent, d.default.failure]; } - get isVariableInitialValue() { - return this._coreExpression.isVariableInitialValue; + getDependencyTrackingId() { + if (!this.botRunnableProperty.idValue) return null; + let e3; + const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); + return t3 && t3.dependencyTrackingId ? e3 = t3.dependencyTrackingId : t3 && !t3.dependencyTrackingId && console.error("botRunnable has no dependencyTrackingId"), !e3 && this.botCategoryProperty.idValue && (e3 = this.botCategoryProperty.idValue + "/" + this.botRunnableProperty.idValue), e3; } - get isLiteral() { - return this._coreExpression.mode === u.ExpressionModes.literal; + get botRunnableNetworkGetCall() { + return N.getVersion; } - get isVariable() { - return this._coreExpression.mode === u.ExpressionModes.variable; + get isDialogEngineAction() { + return true; } - get isCollection() { - return false; + get hasAutoSelectedBotRunnable() { + return true; } - get overridesDefaultValue() { - return this._coreExpression.isOverride; + get linkButtonInfo() { + return { text: v.dialogEngine.openDialogEngineUI, url: m.getDialogEngineWorkbenchUrl() }; } - get parent() { - return this.coreFactory.createArchWrapper(this._coreExpression.parent); + static get managedProperties() { + return [{ dataList: true, isOutput: true, property: "errorBindings", yamlOptions: C.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }, { createDetails: y.NetworkBasedActionProperty.createCreateDetails("botId", "botName", p.dialogEngineBotManager, v.dialogEngine.mustSelectBot, v.dialogEngine.botNotFound, null), property: "bot", yamlOptions: C.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { createDetails: y.NetworkBasedActionProperty.createCreateDetails("versionId", "versionName", _.dialogEngineVersionManager, v.bot.informationCouldNotBeLoaded, v.bot.informationCouldNotBeLoaded, "bot"), property: "botVersion", yamlOptions: C.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { dataPairListCollection: true, isOutput: true, options: c.ManagedPropertyOptions.create((e3) => e3.setIsOptional(true)), property: "outputs", yamlOptions: C.createYamlOptions("outputs", (e3) => e3.setPropertyName("intents")) }, { label: v.dialogEngine.terminationState, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setIninTestingField("terminationStateExpression").setExamples(I)), 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: [o.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: [o.flowTypes.flowTypeInboundShortMessage, o.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: [o.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: [o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInboundChat], type: A.expressionTypeNames.string }]; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreExpression.parentFlow); + postProcessYamlConfig(e3, t3, i3) { + if (!this.botRunnableProperty.idValue) return void this.removeYamlExportPropsThatRequireRunnable(e3); + e3.bot = {}; + const n3 = e3.bot[this.botName] = {}; + this.commonBotPostProcessYamlConfig(e3, n3); } - get settings() { - return this._settings; + _setBotCategoryProperties(e3) { + e3 && (this.botCategoryProperty.nameValue = e3.botName, this.botCategoryProperty.idValue = e3.botId); } - setExpression(e3) { - this._setExpression(this._infoParm("expressionText", "setExpression"), e3); + } + C.info = T.default.createActionInfo({ actionClass: C, 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 = C; + }, 29317(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 && o.default.isUndefined(this.environmentId) && (this.environmentId = u.default.dialogflow.draftEnvironmentId), super._initializeDesignTime(); } - _getUserCreatableVariableScopes(e3) { - const t3 = this._coreExpression.getParentTask() ? this._coreExpression.getParentTask().userCreatableVariableScopes : [], i3 = e3 ? this._coreExpression.parentFlow.userCreatableVariableScopes : []; - return t3.concat(i3); + get botRunnableNetworkGetCall() { + return g.getAgent; } - _resolveToCoreVariable(e3, t3) { - let i3, n3; - if (t3.isArchBaseVariable) { - if (i3 = t3._coreVariableViewModel, this._checkItem(e3, !i3, "INTERNAL ERROR - there is no core variable associated with this Architect variable."), n3 = i3.parent, t3 = i3.name, i3.isTaskVariable) { - const n4 = i3.parent, r3 = this._coreExpression.getParentTask(); - n4 !== r3 && this._itemIsInvalid(e3, "you cannot assign '" + t3 + "' to this value because it is declared in a different task from this value. The variable exists in the task '" + (n4 ? n4.name : "unknown") + "' and this value exists in the task '" + (r3 ? r3.name : "") + "'"); - } - } else { - const o2 = this._coreExpression.parentFlow; - let s2, l2 = false; - const u2 = false, d2 = false; - let p2, _2, h2 = false; - const y2 = (0, m.getScope)(t3); - switch (y2) { - case f.scopes.call: - case f.scopes.chat: - case f.scopes.email: - case f.scopes.form: - case f.scopes.interaction: - case f.scopes.menu: - case f.scopes.message: - case f.scopes.prompt: - case f.scopes.promptSystem: - case f.scopes.session: - case f.scopes.slot: - case f.scopes.survey: - case f.scopes.workflow: - case f.scopes.workitem: - l2 = true, _2 = f.scopes[y2], p2 = (0, g.getUnscopedName)(t3), n3 = o2, s2 = n3.displayName; - break; - case f.scopes.common: - case f.scopes.flow: - h2 = true, _2 = f.scopes[y2], p2 = (0, g.getUnscopedName)(t3), n3 = o2, s2 = n3.displayName; - break; - case f.scopes.bot: - case f.scopes.state: - case f.scopes.task: - _2 = f.scopes[y2], p2 = (0, g.getUnscopedName)(t3), n3 = this._coreExpression.getParentTask(), n3 || this.logItemErrorAndThrow(e3, `the variable '${t3}' is not valid for use here because it is a '${y2}' scoped variable and there is no container available in which it could belong.`), s2 = n3.name; - break; - default: { - const t4 = this._getUserCreatableVariableScopes(true); - this._itemIsInvalid(e3, `the scoped variable name must begin with one of the following scope(s): '${r2.default.isArray(t4) && t4.length ? t4.join(".', '") : "flow"}.'`); - } - } - 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 !== 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."), 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; + get isDialogflowAction() { + return true; } - setExpressionFromVariable(e3) { - const t3 = this._infoParm("variableToAssign", "setExpressionFromVariable"); - this._checkItemUndefinedOrNull(t3, e3); - const i3 = "string" == typeof e3 ? !this.isValidString(e3) : !e3.isArchBaseVariable; - this._checkItem(t3, i3, "you must pass in either an Architect variable or string like 'Flow.MyString' that identifies the variable to set."), this._checkItem(t3, !this._settings.isWritable, "you cannot assign a variable because this value " + this.settings.logStr + " is not writable."), this._checkItem(t3, !this._settings.canBeExpression, "you cannot assign a variable because this value " + this.settings.logStr + " cannot be an expression."); - const n3 = this._resolveToCoreVariable(t3, e3); - return this._coreExpression.mode = u.ExpressionModes.expression, this._coreExpression.setText(n3.name), this._processValueOverridden(), "string" == typeof e3 ? this.coreFactory.createArchWrapper(n3) : e3; + static get managedProperties() { + return [{ label: f.dialogflow.intentProbabilityLabel, options: r.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)) }]; } - setFromValue(e3) { - var t3, i3; - const n3 = this._infoParm("sourceValue", "setFromValue"); - this._checkItemUndefinedOrNull(n3, e3), this._checkItem(n3, !e3.isArchBaseValue, "you must pass in an ArchBaseValue instance."), this._checkItem(n3, !this._settings.isWritable, "you cannot set from value because this value " + this.settings.logStr + " is not writable."), this._checkItem(n3, !(0, _.isMatch)(e3._coreExpression.type, this._coreExpression.type, _.settings.exact), "the source value type '" + (null === (t3 = e3._coreExpression.type) || void 0 === t3 ? void 0 : t3.displayString) + "' does not match the destination value type '" + (null === (i3 = this._coreExpression.type) || void 0 === i3 ? void 0 : i3.displayString) + "'."), this._coreExpression.copyExpressionValue(e3._coreExpression), this._processValueOverridden(); + validate(e3) { + super.validate(e3); + const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); + 0 === (null == t3 ? void 0 : t3.intents.length) && e3.addError(this, f.dialogflow.agentHasNoIntents); } - setNoValue() { - const e3 = this._infoMethod("setNoValue"); - this._checkItem(e3, !this._settings.canBeNoValue, "you cannot assign no value because this value " + this.settings.logStr + " needs to have a value assigned to it."), this._checkItem(e3, !this._settings.isWritable, "you cannot assign no value because this value " + this.settings.logStr + " is not writable."), this._coreExpression.setAsNoValue(), this._processValueOverridden(); + } + 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; + }, 20100(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(63352)), r = 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 m.getCxAgent; } - setNoValueNoFallback() { - const e3 = this._infoMethod("setNoValueNoFallback"); - this._checkItem(e3, !this._settings.canBeNoValue, "you cannot assign no value because this value " + this.settings.logStr + " needs to have a value assigned to it."), this._checkItem(e3, !this._settings.canBeNoValueNoFallback, "you cannot assign no value with no fallback because this value " + this.settings.logStr + " does not allow it."), this._checkItem(e3, !this._settings.isWritable, "you cannot assign no value because this value " + this.settings.logStr + " is not writable."), this._coreExpression.setAsNoValueNoFallback(), this._processValueOverridden(); + addLiveAgentHandoffMetadataOutput() { + const e3 = this.liveAgentHandoffMetadata.add(null, r.globalTypes.string); + return e3.expression.mode = o.variable, e3.expression.setAsOutput(), u.validateAction(this, true, true), e3.id; } - setVariable(e3) { - const t3 = this._infoParm("variableToAssign", "setVariable"); - this._checkItemUndefinedOrNull(t3, e3), this._checkItem(t3, !e3.isArchBaseVariable && !this.isValidString(e3), "you must pass in either an Architect variable or string like 'Flow.MyString' that identifies the variable to set."), this._checkItem(t3, !this._settings.canBeVariable, "you cannot assign a variable because this value " + this.settings.logStr + " cannot be a variable."), this._checkItem(t3, !this._settings.isWritable, "you cannot assign a variable because this value " + this.settings.logStr + " is not writable."); - const i3 = this._resolveToCoreVariable(t3, e3); - return this._settings.isOutput && i3.isReadOnly && this._itemIsInvalid(t3, "the variable '" + i3.name + "' cannot be set on this output value because it is read-only."), this._coreExpression.mode = u.ExpressionModes.variable, this._coreExpression.setText(i3.name), this._processValueOverridden(), e3.isArchBaseVariable ? e3 : this.coreFactory.createArchWrapper(i3); + static get branchInfo() { + return s.default.successFailure; } - get valueText() { + get doesNotSupportIntents() { + return true; } - } - t2.default = A, Object.defineProperty(A, "definition", { get: function() { - return this.prototype._globalTypeName ? (this.prototype._ensureSessionIsConnected(this.prototype._infoPropGet("definition"), s.default), this.prototype.coreFactory.createArchDefinitionValue(p.globalTypes[this.prototype._globalTypeName])) : null; - }, enumerable: true, configurable: true }); - }, 23340: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.UtilizationLabelList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(64288); - class s extends o.PagedList { - constructor(e3) { - super(e3); + get environmentName() { + return this.model.environmentName; } - get entities() { - return this._entities; + set environmentName(e3) { + this.model.environmentName = e3; } - set entities(e3) { - this._entities = this.reviveArray(e3, a.UtilizationLabel); + get isDialogflowCxAction() { + return true; } - } - t2.UtilizationLabelList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 23343: (e2, t2, i2) => { - "use strict"; - var n2, r2, o, a, s, l; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseAsset = void 0; - 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"); + static get managedProperties() { + 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)) }]; } - get division() { - return this._division; + setEnvironment(e3) { + super.setEnvironment(e3), this.environmentName = null == e3 ? void 0 : e3.name; } - set division(e3) { - this._division = e3; + updateBotRunnablePropertyDependency() { + (this.botRunnableProperty.nameValue || this.botRunnableProperty.idValue) && this.botRunnableManager.registerConsumer(this, this.botRunnableProperty.nameValue, this.getDependencyTrackingId(), { environments: this.environmentId }); } - get contentLength() { - return this._contentLength; + } + 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; + }, 43629(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importDefault(i2(97891)), C = i2(1910), O = 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); } - set contentLength(e3) { - this._contentLength = e3; + get botRunnableProperty() { + return this.botVersion; } - get contentLocation() { - return this._contentLocation; + get botCategoryProperty() { + return this.bot; } - set contentLocation(e3) { - this._contentLocation = e3; + get botIntegrationProperty() { + return this.botIntegration; } - get contentType() { - return this._contentType; + static get branchInfo() { + return [g.default.failure]; } - set contentType(e3) { - this._contentType = e3; + get botRunnableNetworkGetCall() { + return c.getDigitalBotConnectorBotVersion; } - get dateCreated() { - return this._dateCreated; + get isDigitalBotConnectorAction() { + return true; } - set dateCreated(e3) { - this._dateCreated = e3; + static get managedProperties() { + 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.mustSelectDigitalConnectorVersion, P.botConnector.digitalConnectorVersionNotFound, "bot"), yamlOptions: M.createYamlOptions("botVersion", (e3) => e3.setSkipProperty(true)) }, { property: "bot", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botId", "botName", T.digitalBotConnectorManager, P.botConnector.mustSelectDigitalConnectorName, P.botConnector.digitalConnectorNameNotFound, "botIntegration"), yamlOptions: M.createYamlOptions("bot", (e3) => e3.setSkipProperty(true)) }, { property: "botIntegration", skipNetworkPropertyDependencyUpdate: true, createDetails: E.NetworkBasedActionProperty.createCreateDetails("botIntegrationId", "botIntegrationName", f.digitalBotConnectorIntegrationManager, P.botConnector.mustSelectDigitalConnectorIntegration, P.botConnector.digitalConnectorIntegrationNotFound, 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.setPropertyName("responseTimeout").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.connectorInputTextLabel, type: u.expressionTypeNames.string, options: _.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(P.botConnector.connectorInputTextLabel, P.botConnector.connectorInputTextDescription).setIninTestingField("inputTextExpression").setIsOptional(true)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeInboundShortMessage, o.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" }]; } - get createdBy() { - return this._createdBy; + getDependencyTrackingId() { + return this.botCompositeTag; } - set createdBy(e3) { - this._createdBy = e3; + getUniqueBotCategoryId() { + if (this.botIntegration.idValue && this.bot.idValue) return `${this.botIntegration.idValue}:${this.bot.idValue}`; } - get dateModified() { - return this._dateModified; + getUniqueBotRunnableId() { + if (this.botIntegration.idValue && this.bot.idValue && this.botVersion.idValue) return `${this.getUniqueBotCategoryId()}:${this.botVersion.idValue}`; } - set dateModified(e3) { - this._dateModified = e3; + get botCompositeTag() { + return this.model.botCompositeTag; } - get modifiedBy() { - return this._modifiedBy; + set botCompositeTag(e3) { + this.model.botCompositeTag = e3; } - set modifiedBy(e3) { - this._modifiedBy = e3; + updateBotCategoryPropertyDependency() { } - get responses() { - return this._responses; + 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 && S.registerConsumer(this, P.botConnector.digitalConnectorName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, D.DigitalBotConnector); } - set responses(e3) { - this._responses = e3; + postProcessYamlConfig(e3, t3, i3) { + if (this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), !this.botIntegration.nameValue) return; + e3.digitalConnectorIntegration = {}; + const n3 = e3.digitalConnectorIntegration[this.botIntegration.nameValue] = {}; + if (!this.botName) return void r.default.ensureYamlNoneTrue(n3); + const o2 = n3[this.botName] = {}; + if (!this.versionName) return void r.default.ensureYamlNoneTrue(o2); + const a2 = o2[this.versionName] = {}; + this.commonBotPostProcessYamlConfig(e3, a2); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getAdditionalParams() { + return new d.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); } - get _globalTypeName() { - return "externalOrganization"; + get supportsInputsOutputs() { + return true; } - get id() { + _setBotCategoryProperties(e3) { + e3 && (this.botCategoryProperty.nameValue = e3.botName, this.botCategoryProperty.idValue = e3.botId); } - get createDateTimeUtc() { + _setBotIntegrationProperties(e3) { + e3 && (this.botIntegrationProperty.idValue = e3.integrationId); } - get modifyDateTimeUtc() { + setBotCategoryByViewModel(e3) { + super.setBotCategoryByViewModel(e3); + const t3 = this.botIntegrationProperty.configListManager, i3 = this.botCategoryProperty.configListManager; + 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 kind() { + get yamlNoBotRunnablePropName() { + return "noDigitalConnectorIntegration"; } - get name() { + _configureFromModel(e3, t3, i3) { + if ((0, C.isConfigureFromModelRecord)(e3.digitalConnectorIntegration)) { + const o2 = e3.digitalConnectorIntegration, r2 = Object.keys(o2)[0]; + if (r2) { + const e4 = (0, C.isConfigureFromModelRecord)(o2[r2]) ? o2[r2] : void 0, s2 = e4 ? Object.keys(e4)[0] : void 0, l2 = s2 && e4 && (0, C.isConfigureFromModelRecord)(e4[s2]) ? e4[s2] : void 0, u2 = l2 ? Object.keys(l2)[0] : void 0, c2 = u2 && l2 && (0, C.isConfigureFromModelRecord)(l2[u2]) ? l2[u2] : void 0; + if (r2 && 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, r2, f.digitalBotConnectorIntegrationManager); + if (!t4) return void i3.warn((0, R.sprintf)(a.configureFromModel.failedToResolve, "digital bot connector integration", r2)); + this.botIntegration.setValue({ id: t4.id, name: r2 }); + const n3 = yield (0, b.resolveNamedConfigListEntity)(i3, T.digitalBotConnectorManager.dependencyType.value, s2, T.digitalBotConnectorManager); + n3 && this.bot.setValue({ id: n3.id, name: s2 }); + const o3 = `${this.botIntegration.idValue}:${this.bot.idValue}:${u2}`, l3 = (0, O.findDependentConfigListItemByName)(y.digitalBotConnectorVersionManager, o3, 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", `${r2}/${s2}/${u2}`, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); } - get companyType() { + } + M.info = I.default.createActionInfo({ actionClass: M, canBeInTask: true, canBeTreeNode: false, helpTopic: v.helpTopics.actions.callDigitalBotConnector, modelClass: i2(3211), name: P.actions.digitalConnector, scriptingName: "ArchActionCallDigitalConnector", modelFormatSupport: { flowYaml: { inProgress: true, feature: N.default.changeSetsFeaturePhase2 } } }), t2.A = M; + }, 120(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importStar(i2(1115)), C = n2.__importDefault(i2(4648)), O = 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(); } - get industry() { + static get branchInfo() { + return N.isFeatureAvailable(C.default.botFlowsEnhancedRecognitionFailureHandling) ? [y.default.maxNoInputsOptional, y.default.maxNoMatchesOptional] : [y.default.maxNoInputsOptional]; } - get primaryContactId() { + get supportsCustomOutputPaths() { + return true; } - get address() { + static get managedProperties() { + 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(C.default.botFlowsAnswerGenerationMultipleArticles) ? R.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : R.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(C.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: [o.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(C.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 }]; } - get phoneNumber() { + _updateChooser() { + this.chooser.type.setValueSourceTypeToCustom(this.chooser); } - get faxNumber() { + _updateOutOfService() { } - get employeeCount() { + onChoicesUpdated() { + this.updateChoicePaths(), this.initializeDesignTimeCalled && I.validateAction(this, false, true); } - get revenue() { + 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)); } - get tags() { + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3), this.setBranchOutOfService(y.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(y.default.maxNoMatchesOptional.outputId), this.uiMetaData.version = D; } - get tickers() { + get isDigitalMenuActionViewModel() { + return true; } - get twitterInfo() { + updateChoicePaths() { + if (!this.initializeDesignTimeCalled) return; + const e3 = (e4) => { + const t4 = S.createBranchItem(this.id, e4.choiceValueStr, null, false); + return t4.isDynamicBranch = true, e4.branch = t4, t4; + }, t3 = (e4, t4) => { + if (e4) { + const i4 = this.getBranchInfo(e4); + if (i4) return t4.branch = i4, true; + } + }, i3 = this.chooser.type.getPossibleChoices(this.chooser, true) || [], n3 = this.chooser.type.couldHaveUnknownPostbackValue(this.chooser, false), o2 = i3.map((i4) => { + if (i4.type.isPostbackChoice(i4)) { + const n4 = i4.type.getValueStr(i4).trim() || R.cardsAndCars.choiceLabelNoName; + if (n4) { + const o3 = { choice: i4, choiceValueStr: n4, branch: null }; + if (!t3(i4.type.getReferenceId(i4), o3)) { + o3.choiceValueStr = n4; + const t4 = e3(o3); + i4.type.setReferenceId(i4, t4.outputId); + } + return o3; + } + } + }), r2 = this.getBranch(y.default.default.outputId); + n3 ? r2 || this.addOptionalBranchInfo(y.default.default) : r2 && r2.hasChildren ? r2.isUnreachable = true : this.removeOptionalBranchInfoById(y.default.default.outputId); + const s2 = a.default.pluck(this.branchInfoList, "outputId"), l2 = o2.map((e4) => { + var t4; + return null === (t4 = null == e4 ? void 0 : e4.branch) || void 0 === t4 ? void 0 : t4.outputId; + }); + let u2; + for (const e4 of o2) 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 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: + case y.default.default.outputId: + continue; + } + u2 && u2.hasChildren ? u2.isUnreachable = true : this.removeOptionalBranchInfoById(e4); + } + this.branches.sort((e4, t4) => l2.indexOf(e4.id) - l2.indexOf(t4.id)), this.updateTermination(false), A.emitter.emit(A.branchesChanged); } - get externalSystemUrl() { + validate(e3) { + super.validate(e3), e3.isDeep && !this.isReadOnly && this.updateChoicePaths(); } - get websites() { + static createNoMatchRepromptsOptions() { + return m.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("noMatchReprompts").setFeatureConfigName(C.default.botFlowsDigitalBotFlowsReprompts).setDescriptionInfo(R.askCommon.noMatchReprompts, R.askCommon.noMatchRepromptsDescription).setIsOptional(true).setScriptingPropertyName("noMatchReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setUiPropertyOrder(11), true); } - get divisionId() { + 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, r.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(C.default.botFlowsDigitalBotFlowsReprompts) && (this.noMatchReprompts.outOfService = this.customizeNoMatch.model.text !== u.default.true, this.noMatch.outOfService = this.customizeNoMatch.model.text === u.default.true); } - get displayTypeName() { - return "ArchValueExternalOrganization"; + propertyChanged(e3) { + super.propertyChanged(e3), N.isFeatureAvailable(C.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); } - get isArchValueExternalOrganization() { - return true; + postProcessYamlConfig(e3, t3, i3) { + var n3, o2; + null === (o2 = null === (n3 = e3.chooser) || void 0 === n3 ? void 0 : n3.lit) || void 0 === o2 || delete o2[d.PROP_LISTPICKER]; } } - t2.default = r2; - }, 23436: (e2, t2, i2) => { + P.info = E.default.createActionInfo({ actionClass: P, canBeInTask: true, canBeTreeNode: false, helpTopic: O.helpTopics.actions.digitalMenu, modelClass: i2(20450), modelFormatSupport: { flowYaml: { inProgress: true, feature: C.default.changeSetsFeaturePhase2 } }, name: R.actions.digitalMenu, scriptingName: "ArchActionDigitalMenu", supportsUtteranceHistoricalData: true }), t2.A = P; + }, 81907(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseLibrary = void 0; - const n2 = i2(84050); - class r2 extends n2.NameIdDescriptionModel { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(12179), r = 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); } } - t2.ResponseLibrary = r2; - }, 23488: (e2, t2, i2) => { + c.info = r.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: true, helpTopic: o.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; + }, 33853(e2, t2, i2) { "use strict"; - var n2, r2, o, a; - Object.defineProperty(t2, "__esModule", { value: true }); - 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, _.makeUnenumerable)(this, "_categoryInfo"), (0, _.makeUnenumerable)(this, "_flowTypesDeprecated"), (0, _.makeUnenumerable)(this, "_limits"); + const n2 = i2(31635), o = n2.__importDefault(i2(5478)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get categoryInfo() { - return this._categoryInfo; + static get branchInfo() { + return r.default.successFailure; } - set categoryInfo(e3) { - this._categoryInfo = this.reviveItem(e3, u.default); + _getPossibleErrors() { + return a.disconnectWorkitemFailureReasons; } - setExpandedFlowTypesDeprecated(e3) { - this._flowTypesDeprecated = e3; + } + 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; + }, 75374(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(1115)), r = 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); } - get flowTypesDeprecated() { - return this._flowTypesDeprecated; + static get managedProperties() { + 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, r.allEncryptDecryptFailureReasons.noDataSupplied, r.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 }]; } - set flowTypesDeprecated(e3) { - this._reviveFlowTypeMap(e3, "_flowTypesDeprecated"); + _getPossibleErrors() { + return s.encryptDataFailureReasons; } - get limits() { - return this._limits; + propertyChanged(e3) { + super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.dataToEncrypt && o.validateItem(this.encryptedDataOutput, true, true); } - set limits(e3) { - this._limits = this.reviveItem(e3, c.default); + _initializeDesignTime() { + super._initializeDesignTime(), this.encryptedDataOutput.attachValidator((e3) => { + 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))); + }); } } - 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) => { + 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; + }, 68173(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 c extends o.default { - get requiredAuth() { - return a.externalAuthorizations.authStrings.queuesSearch; - } - get dependencyType() { - return l.Queue; - } - constructor() { - 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(); + const n2 = i2(31635), o = i2(12179), r = n2.__importDefault(i2(97891)), a = i2(24383), s = n2.__importDefault(i2(5730)), l = i2(79080), u = n2.__importDefault(i2(4648)), c = i2(47957); + class d extends s.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } } - t2.briefQueueManager = new c(); - }, 23506: (e2, t2, i2) => { + d.info = r.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: o.helpTopics.actions.endBusinessProcess, modelClass: l.EndBusinessProcessActionModel, name: c.actions.endBusinessProcess, scriptingName: "ArchActionEndBusinessProcess", termination: a.terminatesFlow, modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; + }, 87759(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NotFoundError = void 0; - var n2 = i2(9619); - t2.NotFoundError = n2.createErrorClass(function(e3) { - return function(t3) { - e3(this), this.name = "NotFoundError", this.message = t3; - }; - }); - }, 23516: (e2, t2, i2) => { + const n2 = i2(31635), o = i2(12179), r = 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); + } + } + c.info = r.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.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 = c; + }, 27313(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._notWritableOverride = false; - const t3 = this._infoParmCtor("coreAudioViewModel"); - this._checkItem(t3, !e3.parentFlow, "the coreAudioViewModel does not have a parent flow"), this._coreAudioViewModel = e3; + const n2 = i2(31635), o = i2(17604), r = 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); } - _setNotWritableOverride(e3) { - return this._notWritableOverride = e3, this; + get amObjectEventSink() { + return true; } - get displayTypeName() { - return "ArchAudio"; + _preDestroy() { + super._preDestroy(), this.model.pathReference && a.removeBranchConsumer(this.topParent.id, this.model.pathReference, this); } - get logStr() { - if (!this._coreAudioViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrParentParts(e3, this._coreAudioViewModel.parent), this._appendLogStrProperty(e3, this._coreAudioViewModel.label), this._createLogStrFromParts(e3); + _getParentTaskDefaultBranch() { + return this.topParent.getBranches().find((e3) => e3.outputId === m.outputIds.default); } - get defaultCase() { - return this.coreFactory.createArchWrapper(this._coreAudioViewModel.defaultAudio)._setNotWritableOverride(this._notWritableOverride); + getDetails() { + return this.pathName ? new c.ActionDetails([y.task.path], [this.pathName]) : null; } - getAudioCaseByLanguage(e3) { - const t3 = this._infoParm("archLanguage", "getAudioCaseByLanguage"); - this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when requesting an audio case."), this._checkItem(t3, !this._coreAudioViewModel.parentFlow.languages.isFlowSupportedLanguage(e3.tag), "the language " + e3.logStr + " is not a supported language in the flow."); - let i3 = this._coreAudioViewModel.getCaseForLang(e3.tag, true); - return i3 || (this.logNote("adding a core audio case for " + e3.logStr + " since it did not exist for that language."), i3 = this._coreAudioViewModel.addAudioCase(e3.tag)), this.coreFactory.createArchWrapper(i3)._setNotWritableOverride(this._notWritableOverride); + get _isInCommonModuleTask() { + return this.topParent.isCommonModuleTaskViewModel; } - get isArchAudio() { + _initializeDesignTime() { + if (this._isInCommonModuleTask && (this.pathReference || this.pathName)) this.pathReference = void 0, this.pathName = void 0; + else if (!this.pathName && this.pathReference === m.outputIds.default) { + const e3 = this._getParentTaskDefaultBranch(); + this.linkPath(e3); + } + super._initializeDesignTime(); + } + initialize() { + super.initialize(), this.pathReference && a.setBranchConsumer(this.topParent.id, this.pathReference, this, (0, o.sprintf)(y.task.outputPathForTask, this.topParent.name)), s.registerEventSinkForEventEmitter(this.parent.id, this); + } + get isEndTask() { return true; } - get isWritable() { - return !this._notWritableOverride; + linkPath(e3) { + this.pathReference = e3.outputId, this.pathName = e3.label; } - get label() { - return this._coreAudioViewModel.label; + objEvent_outputBranchRemoved(e3, t3) { + t3 === this.pathReference && (this.pathReference = null); } - get parent() { - return this.coreFactory.createArchWrapper(this._coreAudioViewModel.parent); + get pathName() { + return this.model.pathName; } - setDefaultCaseExpression(e3) { - this.defaultCase.setExpression(e3); + set pathName(e3) { + this._isInCommonModuleTask && e3 && (h.error("this action does not support output paths"), e3 = void 0), this.model.pathName = e3; } - setDefaultCaseExpressionToAudioTTS(e3, t3) { - this.defaultCase.setExpressionToAudioTTS(e3, t3); + get pathReference() { + return this.model.pathReference; } - setDefaultCaseLiteralTTS(e3) { - this.defaultCase.setLiteralTTS(e3); + 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, o.sprintf)(y.task.outputPathForTask, this.topParent.name)), this.initializeDesignTimeCalled && l.validateAction(this)); } - setFromArchAudio(e3) { - this._checkItem(this._infoObject(this), this._notWritableOverride, "you cannot assign an ArchAudio instance because this ArchAudio " + this.logStr + " is not writable."), this._coreAudioViewModel.copyAudioViewModel(e3._coreAudioViewModel); + _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, o.sprintf)(f.configureFromModel.outputPathNotFoundOnParentTask, t4, this.topParent.name)); + } + } })); + } + } + } + postProcessYamlConfig(e3, t3, i3) { + var n3, o2; + this.pathName && ((null === (n3 = this.pathReference) || void 0 === n3 ? void 0 : n3.startsWith("__")) && (null === (o2 = this.pathReference) || void 0 === o2 ? void 0 : o2.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, y.task.path); + } + validate(e3) { + super.validate(e3), this.topParent && this.topParent.supportsCustomOutputPaths && (this.pathReference ? r.default.find(this.topParent.getBranches(), (e4) => e4.outputId === this.pathReference) || (this.pathName ? e3.addError(this, (0, o.sprintf)(y.expression.literalDropDownValueDoesNotExist, y.task.path, this.pathName)) : e3.addError(this, y.task.invalidBranchReference)) : e3.addError(this, y.task.noPathReference)); } } - t2.default = r2; - }, 23540: (e2, t2, i2) => { - const n2 = i2(75458), { updateWorkitemActionType: r2 } = i2(30801), o = i2(42217); - function a() { - Object.defineProperties(this, { _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); + 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 = S; + }, 21045(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(81516), r = 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: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExitReason").setDisableSpellcheck(true).setIsOptional(true)), property: "exitReason", type: u.expressionTypeNames.string }]; + } + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { variables: { enumerable: true, get: function() { - return this._variables; - }, set: function(e3) { - this._variables = this.reviveArray(e3, o); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.variables.forEach((t3) => { - t3.pasteResolveOldToNewValues(e3); - }); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.variables.forEach((t3) => { - t3.pasteReIdOrRename(e3); - }); - } } }), e2.exports = a; - }, 23581: (e2, t2, i2) => { + p.info = a.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: r.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; + }, 10555(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(98134)), s = n2.__importDefault(i2(5532)), l = n2.__importDefault(i2(45148)), u = o.getTopic("BaseBuilderWithBuilderPartsDef"); - 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); - } + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = d.scheduleManager, this._loadModel(t3), this.evaluateEmergencyGroup = this.model.evaluateEmergencyGroup; } - get className() { - return "BaseBuilderWithBuilderPartsDef"; + _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; } - createOrReviveBuilder(e3, t3) { - var i3, n3; - try { - const r3 = null === (n3 = null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.uiMetaData) || void 0 === n3 ? void 0 : n3.builder; - if (r3 && this.id === r3.builderDefId) return this.reviveBuilder(e3, e3.model.uiMetaData.builder, t3); - r3 && delete e3.model.uiMetaData.builder; - } catch (e4) { - console.error(e4); - } - return this.createBuilder(e3); + _initializeDesignTime() { + super._initializeDesignTime(), !this.scheduleName && !this.scheduleId || this.schedule.text || (this.schedule.update(this.scheduleName, this.scheduleId), this.scheduleName = void 0, this.scheduleId = void 0), this.emergencyGroup.options.setIsOptional(false), this.emergencyGroup.isNoValueMode && (this.emergencyGroup.mode = r.ExpressionModes.literal); } - get defaultBuilderPartId() { - return this._defaultBuilderPartId; + getConfiguration(e3, t3) { + return e3 = super.getConfiguration(e3, t3), this.schedule.isLiteralMode && this.schedule.text ? (this.scheduleId = this.schedule.val, this.scheduleName = this.schedule.text) : (this.scheduleId = void 0, this.scheduleName = void 0), e3; } - get isBaseBuilderWithBuilderPartsDef() { - return true; + _preDestroy() { + super._preDestroy(), this.scheduleManager.tryRemoveItemFromFlowMetadata(this, this.scheduleId); } - get fixedBuilderPart() { - return this._fixedBuilderPart; + get evaluateEmergencyGroup() { + return this.model.evaluateEmergencyGroup; } - get builderManagesContainerOrder() { - return this._builderManagesContainerOrder; + set evaluateEmergencyGroup(e3) { + this.model.evaluateEmergencyGroup = e3, this.emergencyGroup.outOfService = !e3, this.schedule.outOfService = e3, this.setOutOfService(); } - get hasMaxBuilderPartCount() { - return r2.default.isActualNumber(this.maxBuilderPartCount); + setOutOfService() { + super.setOutOfService(), this.evaluationDateTime.outOfService = this.evaluationDateTime.outOfService || this.evaluateEmergencyGroup, this.timeZone.outOfService = this.evaluateEmergencyGroup; } - get maxBuilderPartCount() { - return this._maxBuilderPartCount; + static get branchInfo() { + return c.default.activeInactive; } - get hasMinBuilderPartCount() { - return r2.default.isActualNumber(this.minBuilderPartCount); + static get managedProperties() { + 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)) }]; } - get minBuilderPartCount() { - return this._minBuilderPartCount; + postProcessYamlConfig(e3, t3, i3) { + var n3, r2, a2, s2, l2; + super.postProcessYamlConfig(e3, t3, i3), e3.evaluationType = {}, this.evaluateEmergencyGroup ? (e3.evaluationType.emergencyGroup || (e3.evaluationType.emergencyGroup = {}), o.default.moveRenameAndDeleteProperty(e3, e3.evaluationType, "emergencyGroup", "emergencyGroup"), (null === (n3 = e3.evaluationType.emergencyGroup.lit) || void 0 === n3 ? void 0 : n3.name) && (e3.evaluationType.emergencyGroup.name = e3.evaluationType.emergencyGroup.lit.name), delete e3.evaluationTimeZone, delete e3.evaluate) : (e3.evaluationType.schedule || (e3.evaluationType.schedule = {}), o.default.moveRenameAndDeleteProperty(e3, e3.evaluationType.schedule, "schedule", "selectedSchedule"), (null === (a2 = null === (r2 = e3.evaluationType.schedule.selectedSchedule) || void 0 === r2 ? void 0 : r2.lit) || void 0 === a2 ? void 0 : a2.name) ? e3.evaluationType.schedule.name = e3.evaluationType.schedule.selectedSchedule.lit.name : (null === (s2 = e3.evaluationType.schedule.selectedSchedule) || void 0 === s2 ? void 0 : s2.lit) && delete e3.evaluationType.schedule.selectedSchedule, (null === (l2 = e3.scheduleTimeZone) || void 0 === l2 ? void 0 : l2.lit) && (e3.evaluationType.schedule.evaluationTimeZone = e3.scheduleTimeZone.lit), o.default.moveAndDeleteProperty(e3, e3.evaluationType.schedule, "scheduleTimeZone"), o.default.moveAndDeleteProperty(e3, e3.evaluationType.schedule, "evaluate")), o.default.isEmpty(e3.evaluationType) && delete e3.evaluationType; } - get warnOnNoParts() { - return this._warnOnNoParts; + setSchedule(e3) { + this.schedule.update(null == e3 ? void 0 : e3.name, null == e3 ? void 0 : e3.id); } - _isAvailableForFlowType(e3) { - return !!super._isAvailableForFlowType(e3) && this.getAvailableBuilderPartDefinitionsForFlowType(e3).length > 0; + get selectedSchedule() { + 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"); } - getSupportedBuilderPartTypes() { - return r2.default.isArray(this._builderPartTypes) ? this._builderPartTypes : [this.resultExpressionType]; + } + 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; + }, 70826(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(75255), r = 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); } - getAvailableBuilderPartDefinitionsForFlowType(e3, t3) { - return s.default.getBuilderPartDefinitions(this.getSupportedBuilderPartTypes(), e3, this._builderPartDefCategoryIdentifierOrIdentifiers || t3); + _loadModel(e3) { + super._loadModel(e3), !this.scheduleGroup.text && this.model.scheduleGroupName && this.model.scheduleGroupId && this.scheduleGroup.update(this.model.scheduleGroupName, this.model.scheduleGroupId), this.scheduleGroup.text && this.model.scheduleGroupName && delete this.model.scheduleGroupName, this.scheduleGroup.text && this.model.scheduleGroupId && delete this.model.scheduleGroupId; } - getAvailableBuilderPartContainerDefinitionsForFlowType(e3) { - return s.default.getBuilderPartContainerDefinitions(this.getSupportedBuilderPartTypes(), e3, this._builderPartDefCategoryIdentifierOrIdentifiers); + _preDestroy() { + super._preDestroy(), this.scheduleGroupManager.tryRemoveItemFromFlowMetadata(this, this.scheduleGroupId); } - createDefaultBuilderPartsModel() { - return new a.default({ builderDefId: this.id, version: this.version }); + static get branchInfo() { + return a.default.openClosedHolidayEmergency; } - get modelType() { - return a.default; + _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(_.evaluateSchedules.emergencyGroup, _.evaluateSchedules.emergencyGroupDescription).setDescriptionAdditionalInfoSection({ title: void 0, entries: [_.generic.optional] }); } - } - t2.default = c; - }, 23657: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeShippingOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + 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; } - constructor(e3) { - super(e3); + static get managedProperties() { + return [{ description: _.evaluateSchedules.inServiceSchedulesDescription, label: _.evaluateSchedules.inServiceSchedules, options: r.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: o.ExpressionTypeScheduleGroupOptions.create((e3) => e3.setIninTestingField("scheduleGroup")) }]; } - get isExpressionTypeShippingOptions() { - return true; + postProcessYamlConfig(e3, t3, i3) { + var n3, o2, r2, a2; + super.postProcessYamlConfig(e3, t3, i3), (null === (o2 = null === (n3 = e3.scheduleGroup) || void 0 === n3 ? void 0 : n3.lit) || void 0 === o2 ? void 0 : o2.name) && (e3.scheduleGroup.name = e3.scheduleGroup.lit.name), (null === (a2 = null === (r2 = e3.emergencyGroup) || void 0 === r2 ? void 0 : r2.lit) || void 0 === a2 ? void 0 : a2.name) && (e3.emergencyGroup.name = e3.emergencyGroup.lit.name); } - get className() { - return "ExpressionTypeShippingOptions"; + setScheduleGroup(e3) { + this.scheduleGroup.update(e3.name, e3.id); + } + get selectedScheduleGroup() { + if (this.scheduleGroupId) return this.scheduleGroupManager.getItem(this.scheduleGroupId); } } - t2.ExpressionTypeShippingOptions = r2; - }, 23665: (e2, t2, i2) => { + 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; + }, 85714(e2, t2, i2) { "use strict"; - var n2 = i2(9805); - function r2(e3) { - for (var t3 = e3.length; --t3 >= 0; ) e3[t3] = 0; - } - 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 c = new Array(60); - r2(c); - var d = new Array(512); - r2(d); - var p = new Array(256); - r2(p); - var _ = new Array(29); - r2(_); - var h, m, g, f = new Array(30); - function T(e3, t3, i3, n3, r3) { - this.static_tree = e3, this.extra_bits = t3, this.extra_base = i3, this.elems = n3, this.max_length = r3, this.has_stree = e3 && e3.length; - } - function y(e3, t3) { - this.dyn_tree = e3, this.max_code = 0, this.stat_desc = t3; - } - function S(e3) { - 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; - } - 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 v(e3, t3, i3) { - N(e3, i3[2 * t3], i3[2 * t3 + 1]); - } - function O(e3, t3) { - var i3 = 0; - do { - i3 |= 1 & e3, e3 >>>= 1, i3 <<= 1; - } while (--t3 > 0); - return i3 >>> 1; - } - 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] = O(o2[s2]++, s2)); + const n2 = i2(31635), o = n2.__importDefault(i2(5478)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - } - function C(e3) { - var t3; - for (t3 = 0; t3 < 286; t3++) e3.dyn_ltree[2 * t3] = 0; - for (t3 = 0; t3 < 30; t3++) e3.dyn_dtree[2 * t3] = 0; - for (t3 = 0; t3 < 19; t3++) e3.bl_tree[2 * t3] = 0; - e3.dyn_ltree[512] = 1, e3.opt_len = e3.static_len = 0, e3.last_lit = e3.matches = 0; - } - function b(e3) { - e3.bi_valid > 8 ? A(e3, e3.bi_buf) : e3.bi_valid > 0 && (e3.pending_buf[e3.pending++] = e3.bi_buf), e3.bi_buf = 0, e3.bi_valid = 0; - } - function E(e3, t3, i3, n3) { - var r3 = 2 * t3, o2 = 2 * i3; - return e3[r3] < e3[o2] || e3[r3] === e3[o2] && n3[t3] <= n3[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 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 ? 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); - 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--) w(e3, o2, i3); - r3 = l2; - do { - 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, 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), d2 && (e4.static_len += s3 * (c2[2 * n4 + 1] + a3))); - if (0 !== m2) { - do { - for (o3 = h2 - 1; 0 === e4.bl_count[o3]; ) o3--; - e4.bl_count[o3]--, e4.bl_count[o3 + 1] += 2, e4.bl_count[h2]--, m2 -= 2; - } 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), 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; - for (0 === a2 && (l2 = 138, u2 = 3), t3[2 * (i3 + 1) + 1] = 65535, n3 = 0; n3 <= i3; n3++) r3 = a2, a2 = t3[2 * (n3 + 1) + 1], ++s2 < l2 && r3 === a2 || (s2 < u2 ? e3.bl_tree[2 * r3] += s2 : 0 !== r3 ? (r3 !== o2 && e3.bl_tree[2 * r3]++, e3.bl_tree[32]++) : s2 <= 10 ? e3.bl_tree[34]++ : e3.bl_tree[36]++, s2 = 0, o2 = r3, 0 === a2 ? (l2 = 138, u2 = 3) : r3 === a2 ? (l2 = 6, u2 = 3) : (l2 = 7, u2 = 4)); - } - function M(e3, t3, i3) { - 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 { - v(e3, r3, e3.bl_tree); - } while (0 !== --s2); - 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); + static get branchInfo() { + return r.default.validInvalidFailure; } - } - r2(f); - var F = false; - function L(e3, t3, i3, r3) { - N(e3, 0 + (r3 ? 1 : 0), 3), (function(e4, t4, i4) { - b(e4), A(e4, i4), A(e4, ~i4), n2.arraySet(e4.pending_buf, e4.window, t4, i4, e4.pending), e4.pending += i4; - })(e3, t3, i3); - } - t2._tr_init = function(e3) { - 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++) 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 (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; - e3.level > 0 ? (2 === e3.strm.data_type && (e3.strm.data_type = (function(e4) { - var t4, i4 = 4093624447; - for (t4 = 0; t4 <= 31; t4++, i4 >>>= 1) if (1 & i4 && 0 !== e4.dyn_ltree[2 * t4]) return 0; - if (0 !== e4.dyn_ltree[18] || 0 !== e4.dyn_ltree[20] || 0 !== e4.dyn_ltree[26]) return 1; - for (t4 = 32; t4 < 256; t4++) if (0 !== e4.dyn_ltree[2 * t4]) return 1; - return 0; - })(e3)), D(e3, e3.l_desc), D(e3, e3.d_desc), a2 = (function(e4) { - 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), 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), 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), 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); - }; - }, 23695: (e2, t2, i2) => { - const n2 = i2(13265), r2 = i2(2053), o = i2(58996), a = i2(5024).default; - function s() { - Object.defineProperties(this, { _debugSettings: { writable: true }, _errorHandling: { writable: true } }), this.nextTrackingNumber = a.minTrackingId, this.periodicStateId = void 0, s.baseConstructor.apply(this, arguments); - } - o.extend(s, "WorkflowConfiguration"), Object.defineProperties(s.prototype, { debugSettings: { enumerable: true, get: function() { - return this._debugSettings; - }, set: function(e3) { - this._debugSettings = new n2(e3); - } }, errorHandling: { enumerable: true, get: function() { - return this._errorHandling; - }, set: function(e3) { - this._errorHandling = this.reviveItem(e3, r2); - } } }), e2.exports = s; - }, 23714: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(88308)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + static get managedProperties() { + 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)) }]; } - _deleteMenuChoices(e3) { - for (let t3 = e3.choices.length - 1; t3 >= 0; t3--) { - const i3 = e3.choices[t3]; - i3.choices && this._deleteMenuChoices(i3); - } - e3.parentFlow.deleteNode(e3); + _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: m.skillExpressionFilters.exampleErrorResultsTitle, entries: n3 }); } - deleteMenu(e3) { - const t3 = this._infoParm("reusableMenuToDelete", "deleteMenu"); - this._checkItem(t3, !e3 || !e3.isArchMenu, "The parameter value must be an ArchMenu instance."), this._checkItem(t3, !e3.isReusableMenu, "The menu to delete must be a reusable menu instance."), this._checkItem(t3, e3.parentFlow._getCoreViewModel() !== this._getCoreViewModel(), "The menu to delete is not part of this flow."); - const i3 = e3.logStr; - this.logNote("deleting the reusable menu " + i3), this._deleteMenuChoices(e3._getCoreViewModel()), this.logNote("reusable menu deletion complete for " + i3); + _getPossibleErrors() { + return l.evaluateSkillExpressionFiltersFailureReasons; } - get menusReusable() { - const e3 = []; - return this._getCoreViewModel().menus.forEach((t3) => { - const i3 = this.coreFactory.createArchWrapper(t3); - i3.isReusableMenu && e3.push(i3); - }), e3; + } + 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; + }, 24954(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); } } - t2.default = r2; - }, 23753: (e2, t2, i2) => { + c.info = r.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.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; + }, 876(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)), 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 { + const n2 = i2(31635), o = i2(30801), r = 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), this._updateOutOfService(), this.cases.items.forEach((e4) => e4.collapsed = false), this.addAutoCleanedUpEventSinkWatch(m.listOrderChanged, this.cases, () => { - this._renameAllCases(); - }), this.addAutoCleanedUpEventSinkWatch(c.expressionValueChanged, this.expression, () => { - this._hasCaseMismatch(true) && S.validateAction(this, false, true); - }); + super(e3.parentFlow, e3), this._loadModel(t3); } - findBranchIndex(e3) { - let t3; - for (let i3 = 0; i3 < this.branches.length; i3++) if (this.branches[i3].model.outputId === e3.model.referenceId) { - t3 = i3; - break; - } - return t3; + validate(e3) { + super.validate(e3), this.getParentingFlowElementByIdOrNodeInfoId([l.loopActionType, u.loopUntilActionType, r.askForNLUNextIntentActionActionType, o.agenticAnythingElseActionType]) || e3.addError(this, _.loop.notInLoop); } - _createCaseExpressionOptions() { - const e3 = u.buildOptions(this._getSwitchExpressionType(), void 0, this.parentFlow); - return e3.setFromOptions(F.managedProperties.find((e4) => "cases" === e4.property).options), e3; + } + 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; + }, 24891(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); } - _getSwitchExpressionType() { - return this.switchStyle === v.SwitchStyles.matchExpression ? this.expression.type : p.default.getGlobalTypeGroup().getType(w.expressionTypeNames.boolean); + } + c.info = r.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.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; + }, 51905(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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(r.getConnectedUser()); } - _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; + get acknowledgementUserIsOAuthClient() { + return this.model.acknowledgementUserIsOAuthClient; } - _renameCase(e3, t3) { - this.cases.items[t3].name = e3, this.cases.model[t3].label = e3, this.cases.items[t3].value.label = this.cases.getLabel((t3 + 1).toString()), this.model.paths[t3].label = e3; + set acknowledgementUserIsOAuthClient(e3) { + this.model.acknowledgementUserIsOAuthClient = e3; } - _renameAllCases() { - this.cases.items.forEach((e3, t3) => { - this._renameCase((0, r2.sprintf)(y.default.switchAction.caseNumber, t3 + 1), t3); - }); + get acknowledgementInvalidUser() { + return this._acknowledgementInvalidUser; } - get switchStyle() { - return this.model.switchStyle; + get acknowledgementDate() { + if (this.model.acknowledgementDate) return new Date(this.model.acknowledgementDate); } - set switchStyle(e3) { - this.model.switchStyle = e3, this._updateOutOfService(); + clearAcknowledgment() { + return !this.isReadOnly && (this.acknowledgementUserId = void 0, this.acknowledgementUserDisplayName = void 0, this.model.acknowledgementDate = void 0, this._acknowledgementInvalidUser = false, l.unRegisterConsumer(this, "acknowledgementUser"), true); } - _updateOutOfService() { - this.expression.outOfService = this.switchStyle !== v.SwitchStyles.matchExpression; + get createStatementOptions() { + return { variable: { disallowSecure: true }, expression: { options: { allowSecure: true } } }; } - get branchInfos() { - return this.createBranchInfo(); + get hasSecureDataAcknowledgment() { + return !(this.acknowledgementInvalidUser || !this.acknowledgementUserId); } - get canAddMore() { - return this.cases.items.length < A.switchActionCaseLimits.numMaxCases; + get isExtractSecureData() { + return true; } - get canDeleteMore() { - return this.cases.items.length > 1; + initialize() { + super.initialize(), o.default.each(this.variables.items, (e3) => { + e3.variable.setAsOutput(true), e3.expression.options.allowSecure = true; + }); } - 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)(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; + _initializeDesignTime() { + super._initializeDesignTime(), this.acknowledgementUserId ? this.acknowledgementUser.configListManager = this.getManagerForUserWhoAcknowledged() : this.acknowledgementUser.configListManager = this.getManagerForCurrentUser(); } - createCaseDefaults() { - for (let e3 = 0; e3 < A.switchActionCaseLimits.numDefaultCases; e3++) this.addCase(true); + setAcknowledgment() { + return !this.isReadOnly && (this.acknowledgementUserId = r.getConnectedUser().id, this.acknowledgementUserDisplayName = r.getConnectedUser().name, this.model.acknowledgementDate = (/* @__PURE__ */ new Date()).toISOString(), this._acknowledgementInvalidUser = false, this.acknowledgementUserIsOAuthClient = !!r.getConnectedUser().isOAuthClient, l.registerConsumer(this, "acknowledgementUser", this.acknowledgementUserDisplayName, this.acknowledgementUserId, l.NO_VERSION, this.getManagerForCurrentUser().dependencyType), true); } - addCase(e3) { - if (this.canAddMore) { - 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 !== 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; - } + getManagerForCurrentUser() { + return r.getConnectedUser().isOAuthClient ? a.oAuthClientManager : s.userManager; } - deleteCase(e3) { - if (this.canDeleteMore) { - let t3 = false; - 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(); - } + getManagerForUserWhoAcknowledged() { + return this.acknowledgementUserIsOAuthClient ? a.oAuthClientManager : s.userManager; } - getDetails() { - 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; + updateDependencies() { + 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(); } - _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(); - } + static get managedProperties() { + 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)) }]; } - _hasCaseMismatch(e3) { - let t3; - 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; + validate(e3) { + super.validate(e3); + let t3 = e3.getIssues(this.id); + t3 && 0 !== t3.errors.length || o.default.find(this.variables.items, function(e4) { + return !e4.expression.consumesSecureData; + }) && e3.addWarning(this, h.secureData.notUsingSecureDataWarning), t3 = e3.getIssues(this.id), t3 && 0 !== t3.errors.length || this.acknowledgementUserId || e3.addError(this, h.secureData.extractWarningValidationError); } - _initializeDesignTime() { - super._initializeDesignTime(); - 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); + } + 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; + }, 41053(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(...arguments), o.default.isUndefined(this.switchStyle) && (this.switchStyle = v.SwitchStyles.firstTrueCase); + } + u.info = r.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.flushAudio, modelClass: i2(30905), name: l.actions.flushAudio, scriptingName: "ArchActionFlushAudio", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; + }, 33924(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(80428), r = 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); } - static get managedProperties() { - 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")) }]; + static get branchInfo() { + return s.default.foundNotFoundFailure; } - moveCaseUp(e3) { - const t3 = this.findBranchIndex(e3), i3 = this.cases.moveUp(e3); - 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; + _getPossibleErrors() { + return l.getAssignedCustomerIntentsFailureReasons; } - moveCaseDown(e3) { - const t3 = this.findBranchIndex(e3), i3 = this.cases.moveDown(e3); - 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; + static get managedProperties() { + return [{ label: _.assignedCustomerIntents.assignedCustomerIntentsLabel, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalContactIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalContactId", type: o.expressionTypeNames.string }, { label: _.assignedCustomerIntents.assignedCustomerIntentsResult, options: r.ExpressionTypeAssignedCustomerIntentOptions.create((e3) => e3.setIninTestingField("AssignedCustomerIntentsExpression").setIsCollection(true).setAsOutput().setAllowSecure(true)), property: "getAssignedCustomerIntentsResult", type: o.expressionTypeNames.assignedCustomerIntent }]; } - moveToIndex(e3, t3) { - this.cases.moveToIndex(e3, t3), this._renameAllCases(), this.reloadBranches(); + } + 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; + }, 45195(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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); } - _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); - }); + static get branchInfo() { + return c.default.foundNotFoundFailure; } - _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); - }); - } + _getPossibleErrors() { + return p.getAssignedCustomerSegmentsFailureReasons; } - _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; + 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).setAllowNull(false)), property: "externalContactId", type: r.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, o.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: r.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: r.expressionTypeNames.assignedCustomerSegment }]; } - postProcessYamlConfig(e3, t3, i3) { - let n3; - 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 === 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); - } - delete e3.outputs, o.default.moveAndDeleteProperty(e3, n3, "cases"); + } + 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; + }, 72426(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = n2.__importDefault(i2(89181)), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(4648)), l = i2(47957); + class u extends r.default { + constructor(e3, t3) { + super(e3), this._loadModel(t3); } - updateCaseTypes(e3, t3) { - if (!t3) { - 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, 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, 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(); - } - S.validateAction(this, false, true); + } + u.info = a.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.getAttributes, modelClass: i2(48944), name: l.actions.getAttributes, scriptingName: "ArchActionGetParticipantData", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; + }, 28206(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(27203)), r = 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 r.BaseConversationAttributeActionViewModel { + constructor(e3, t3) { + super(e3, t3), this._loadModel(t3); } - reloadBranches() { - P.loadBranches(this); - for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(), this.branches[e3].updateTermination(); - c.emitter.emit(c.branchesChanged); + static createCustomJsonProperties() { + return this.createManagedPropertiesFromConfig({ includeInput: false, includeOutput: true, outputOptionsFactory: () => a.ExpressionTypeJsonOptions.create((e3) => { + e3.setAsOutput().setIsCustomJsonType(true).setLabelOverride(p.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); + }) }); } - validate(e3) { - 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; + static get managedProperties() { + return [...this.createBaseManagedProperties(), this.createRecordIdManagedProperty(), ...this.createCustomJsonProperties()]; } - get version() { - return this.model.version; + static get branchInfo() { + return o.default.foundNotFound; } - set version(e3) { - this.model.version = e3; + _getPossibleErrors() { + return l.getConversationAttributeFailureReasons; } } - 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"; - e3.defineLocale("ja", { eras: [{ since: "2019-05-01", offset: 1, name: "\u4EE4\u548C", narrow: "\u32FF", abbr: "R" }, { since: "1989-01-08", until: "2019-04-30", offset: 1, name: "\u5E73\u6210", narrow: "\u337B", abbr: "H" }, { since: "1926-12-25", until: "1989-01-07", offset: 1, name: "\u662D\u548C", narrow: "\u337C", abbr: "S" }, { since: "1912-07-30", until: "1926-12-24", offset: 1, name: "\u5927\u6B63", narrow: "\u337D", abbr: "T" }, { since: "1873-01-01", until: "1912-07-29", offset: 6, name: "\u660E\u6CBB", narrow: "\u337E", abbr: "M" }, { since: "0001-01-01", until: "1873-12-31", offset: 1, name: "\u897F\u66A6", narrow: "AD", abbr: "AD" }, { since: "0000-12-31", until: -1 / 0, offset: 1, name: "\u7D00\u5143\u524D", narrow: "BC", abbr: "BC" }], eraYearOrdinalRegex: /(元|\d+)年/, eraYearOrdinalParse: function(e4, t3) { - return "\u5143" === t3[1] ? 1 : parseInt(t3[1] || e4, 10); - }, months: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), weekdays: "\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"), weekdaysShort: "\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"), weekdaysMin: "\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY\u5E74M\u6708D\u65E5", LLL: "YYYY\u5E74M\u6708D\u65E5 HH:mm", LLLL: "YYYY\u5E74M\u6708D\u65E5 dddd HH:mm", l: "YYYY/MM/DD", ll: "YYYY\u5E74M\u6708D\u65E5", lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm", llll: "YYYY\u5E74M\u6708D\u65E5(ddd) HH:mm" }, meridiemParse: /午前|午後/i, isPM: function(e4) { - return "\u5348\u5F8C" === e4; - }, meridiem: function(e4, t3, i3) { - return e4 < 12 ? "\u5348\u524D" : "\u5348\u5F8C"; - }, calendar: { sameDay: "[\u4ECA\u65E5] LT", nextDay: "[\u660E\u65E5] LT", nextWeek: function(e4) { - return e4.week() !== this.week() ? "[\u6765\u9031]dddd LT" : "dddd LT"; - }, lastDay: "[\u6628\u65E5] LT", lastWeek: function(e4) { - return this.week() !== e4.week() ? "[\u5148\u9031]dddd LT" : "dddd LT"; - }, sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}日/, ordinal: function(e4, t3) { - switch (t3) { - case "y": - return 1 === e4 ? "\u5143\u5E74" : e4 + "\u5E74"; - case "d": - case "D": - case "DDD": - return e4 + "\u65E5"; - default: - return e4; - } - }, relativeTime: { future: "%s\u5F8C", past: "%s\u524D", s: "\u6570\u79D2", ss: "%d\u79D2", m: "1\u5206", mm: "%d\u5206", h: "1\u6642\u9593", hh: "%d\u6642\u9593", d: "1\u65E5", dd: "%d\u65E5", M: "1\u30F6\u6708", MM: "%d\u30F6\u6708", y: "1\u5E74", yy: "%d\u5E74" } }); - })(i2(95093)); - }, 23862: (e2, t2, i2) => { + _.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 = _; + }, 17471(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreWorkitemFlowSettingsViewModel = e3; + const n2 = i2(31635), o = n2.__importDefault(i2(27203)), r = 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 r.BaseConversationAttributeActionViewModel { + constructor(e3, t3) { + super(e3, t3), this._loadModel(t3); } - get displayTypeName() { - return "ArchSettingsWorkitemFlow"; + static createCustomJsonProperties() { + return this.createManagedPropertiesFromConfig({ includeInput: false, includeOutput: true, outputOptionsFactory: () => a.ExpressionTypeJsonOptions.create((e3) => { + e3.setAsOutput().setIsCustomJsonType(true).setIsCollection(true).setLabelOverride(p.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); + }) }); } - get isArchSettingsWorkitemFlow() { - return true; + static get managedProperties() { + return [...this.createBaseManagedProperties(), this.createRecordIdsManagedProperty(), ...this.createCustomJsonProperties()]; } - get worktypeName() { - var e3; - return null === (e3 = this._coreWorkitemFlowSettingsViewModel.worktype) || void 0 === e3 ? void 0 : e3.name; + static get branchInfo() { + return o.default.foundPartiallyFoundNotFound; } - get worktypeId() { - var e3; - return null === (e3 = this._coreWorkitemFlowSettingsViewModel.worktype) || void 0 === e3 ? void 0 : e3.id; + _getPossibleErrors() { + return l.getConversationAttributesFailureReasons; } } - t2.default = r2; - }, 23906: (e2, t2, i2) => { + _.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 = _; + }, 79348(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(81516), r = 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); } - get _globalTypeName() { - return "stringKeyValuePair"; + static get branchInfo() { + return r.default.foundNotFound; } - get key() { + static get managedProperties() { + return [{ label: d.getConversationData.participantLabel, options: o.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)) }]; } - get value() { + } + 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; + }, 60079(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(80428), r = 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); } - get displayTypeName() { - return "ArchValueStringKeyValuePair"; + static get branchInfo() { + return l.default.successFailure; } - get isArchValueStringKeyValuePair() { - return true; + static get managedProperties() { + return [{ label: m.getEmailHeaders.emailHeaderNamesLabel, type: o.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: o.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; } } - t2.default = r2; - }, 23952: function(e2, t2, i2) { + g.info = p.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: d.helpTopics.actions.getEmailHeaders, modelClass: r.GetEmailHeadersActionModel, name: m.actions.getEmailHeaders, scriptingName: "ArchActionGetEmailHeaders", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; + }, 36834(e2, t2, i2) { "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + const n2 = i2(31635), o = i2(12179), r = 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); } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.AsapScheduler = void 0; - var o = (function(e3) { - function t3() { - return null !== e3 && e3.apply(this, arguments) || this; + static get branchInfo() { + return l.default.foundNotFound; + } + getDetails() { + return this.externalId ? new r.ActionDetails([h.commonExternalContact.nameLabel], [u.getDisplayText(this.externalId)]) : null; + } + static get managedProperties() { + 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 }]; } - return r2(t3, e3), t3.prototype.flush = function(e4) { - this._active = true; - var t4 = this._scheduled; - this._scheduled = void 0; - var i3, n3 = this.actions; - e4 = e4 || n3.shift(); - do { - if (i3 = e4.execute(e4.state, e4.delay)) break; - } while ((e4 = n3[0]) && e4.id === t4 && n3.shift()); - if (this._active = false, i3) { - for (; (e4 = n3[0]) && e4.id === t4 && n3.shift(); ) e4.unsubscribe(); - throw i3; - } - }, t3; - })(i2(19533).AsyncScheduler); - t2.AsapScheduler = o; - }, 24005: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(43773); - function o() { - this.uiMetaData = void 0, o.baseConstructor.apply(this, arguments); } - n2.extend(o, "BaseFlowItem"), Object.defineProperties(o.prototype, { getConfiguration: { value: function(e3, t3) { - return t3?.isForComparison ? r2.removePropertiesForComparison(this) : this; - } } }), e2.exports = o; - }, 24027: (e2, t2, i2) => { + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: o.helpTopics.actions.getExternalContact, modelClass: i2(2750), name: h.actions.getExternalContact, scriptingName: "ArchActionGetExternalContact", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; + }, 66033(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(12179), r = 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); } - get _globalTypeName() { - return "wheelPickerItem"; + static get branchInfo() { + return l.default.foundNotFound; } - get displayTypeName() { - return "ArchVariableWheelPickerItem"; + getDetails() { + return this.externalId ? new r.ActionDetails([h.getExternalOrganization.nameLabel], [u.getDisplayText(this.externalId)]) : null; } - get isArchVariableWheelPickerItem() { - return true; + static get managedProperties() { + 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 }]; } } - t2.default = r2; - }, 24032: (e2, t2, i2) => { + m.info = c.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: o.helpTopics.actions.getExternalOrganization, modelClass: i2(70691), name: h.actions.getExternalOrganization, scriptingName: "ArchActionGetExternalOrganization", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; + }, 13221(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getTopic = a; - const n2 = i2(31635).__importDefault(i2(68208)), r2 = {}, o = a("architect"); - function a(e3) { - if (!e3) return o; - let t3 = r2[e3]; - if (t3) return t3; - const i3 = "architect." + e3; - return t3 = r2[i3], t3 || (t3 = new n2.default(i3), r2[e3] = t3, t3); + const n2 = i2(31635), o = i2(80428), r = 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); + } + static get branchInfo() { + return a.default.successFailure; + } + static get managedProperties() { + return [{ label: p.getSIPHeaders.rawSIPHeadersResultLabel, type: o.expressionTypeNames.string, options: r.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; + } } - }, 24156: (e2, t2, i2) => { + _.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 = _; + }, 41108(e2, t2, i2) { "use strict"; - var n2, r2, o; - Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); - class u extends l.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.dataToDecrypt), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.decryptedDataOutput), "f"), e3.errorBindings && a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); - } - get _actionTypeId() { - return s.decryptDataActionType; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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), I = i2(71528), C = i2(17604), O = 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); } - get displayTypeName() { - return this._scriptingName; + _loadModel(e3) { + super._loadModel(e3), this.setOutOfService(); } - get isArchActionDecryptData() { - return true; + setOutOfService() { + this.substitutions.outOfService = !this.model || !this.performSubstitutions; } - get dataToDecrypt() { - return a.__classPrivateFieldGet(this, n2, "f"); + static get branchInfo() { + return [{ label: O.generic.branches.success, outputId: N.outputIds.success, required: true }, { label: O.generic.branches.failure, outputId: N.outputIds.failure, required: true }]; } - get decryptedData() { - return a.__classPrivateFieldGet(this, r2, "f"); + getDetails() { + return this.responseName ? new l.ActionDetails([O.getResponse.selectedResponse], [this.responseName]) : null; } - get decryptDataOutputsFailure() { - return a.__classPrivateFieldGet(this, o, "f"); + get performSubstitutions() { + return this.model.performSubstitutions; } - } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 24171: (e2, t2, i2) => { - function n2() { - this.name = void 0, this.id = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "LexBot"), Object.defineProperties(n2.prototype, { label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 24175: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54982)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreLoopingTaskViewModel = e3; + set performSubstitutions(e3) { + this.model.performSubstitutions = e3, this.setOutOfService(), e3 && a.validateAction(this, true); } - get displayTypeName() { - return "ArchTaskLoop"; + get responseLibrary() { + return this.model.responseLibrary; } - get isArchTaskLoop() { - return true; + set responseLibrary(e3) { + this.model.responseLibrary = e3; } - get logStr() { - if (!this._coreLoopingTaskViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); + _preDestroy() { + super._preDestroy(), this.responseManager.tryRemoveItemFromFlowMetadata(this, this.responseId); } - } - t2.default = r2; - }, 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)), 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); + static get managedProperties() { + return [{ property: "response", createDetails: T.NetworkBasedActionProperty.createCreateDetails("responseId", "responseName", A.nonFormResponseManager, O.getResponse.mustSelectResponse, O.getResponse.responseNotFound, null), yamlOptions: b.createYamlOptions("response", (e3) => e3.setSkipProperty(true).setExportOrder(20)) }, { description: O.getResponse.responseBodyDescription, label: O.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, C.sprintf)(O.getResponse.responseBodyHandlingDescription, O.getResponse.responseBody), label: O.getResponse.responseBodyHandlingLabel, property: "responseBodyHandling", options: h.ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(S.none.id).setDescriptionInfo(O.getResponse.responseBodyHandlingLabel, (0, C.sprintf)(O.getResponse.responseBodyHandlingDescription, O.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(O.getResponse.responseBodyHandlingLabel, (0, C.sprintf)(O.getResponse.responseBodyHandlingDescription, O.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: O.responseAsset.responseAssetAttachmentsLabel, options: _.ExpressionTypeResponseAssetOptions.create((e3) => e3.setAsOutput().setIninTestingField("get-attachments").setDescriptionInfo(O.responseAsset.responseAssetAttachmentsLabel, O.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] }]; } - get className() { - return "InQueueCallViewModel"; + _isSelectedResponseInSelectedResponseLibrary(e3, t3) { + const i3 = e3 || this.selectedResponse, n3 = t3 || this.selectedResponseLibrary; + return !(!i3 || !n3 || o.default.isUndefined(o.default.find(i3.libraries, { id: n3.id }))); } - get isInQueueCallFlow() { - return true; + postProcessYamlConfig(e3, t3, i3) { + var n3; + if (!this.responseName) return false; + const r2 = (null === (n3 = this.responseLibrary) || void 0 === n3 ? void 0 : n3.name) || s.unknownLibrary; + e3.library = {}; + const a2 = (e3.library[r2] = { response: {} }).response[this.responseName] = {}; + e3.substitutions ? o.default.moveAndDeleteProperty(e3, a2, "substitutions") : o.default.ensureYamlNoneTrue(a2); } - getFlowConfigurationClass() { - return c; + search(e3) { + super.search(e3); + const t3 = this.responseName, i3 = this.responseLibrary ? this.responseLibrary.name : ""; + e3.checkText(this, i3, O.getResponse.library), e3.checkText(this, t3, O.getResponse.selectedResponse); } - _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) { - const t3 = new o.default(this, e3.flowSequenceItemList[0]); - t3.initialize(), this._addTask(t3); - } + get responseLibraryDoesNotContainResponse() { + if (!this.responseLibrary && !this.responseId) return false; + const e3 = this.responseManager.getItem(this.responseId); + return e3 && !o.default.findWhere(e3.libraries, { id: this.responseLibrary.id }); } - get type() { - return r2.flowTypes.flowTypeInQueueCall; + get selectedResponseLibraryIsInvalid() { + if (!this.responseLibrary || !this.responseLibrary.id) return false; + const e3 = this.libraryManager.getItem(this.responseLibrary.id); + return o.default.isUndefined(e3); } - updateDependencies() { - this.inQueueSettings.holdMusic.registerDependencies(), super.updateDependencies(); + get selectedResponseNotInResponseLibraryMessage() { + if (!this.responseId) return ""; + const e3 = this.selectedResponse; + return e3 && e3.libraries.length > 0 ? O.getResponse.responseLibraryDoesNotContainResponse : (0, C.sprintf)(O.getResponse.noResponseLibrariesContainResponse); } - get wrappedYamlName() { - return "inqueueCall"; + get suggestedResponseLibraryCount() { + const e3 = this.suggestedResponseLibraries; + return e3 ? e3.length : 0; } - } - t2.default = d; - }, 24215: (e2, t2, i2) => { - const { extractSecureDataActionType: n2 } = i2(30801), r2 = i2(73954); - function o() { - Object.defineProperties(this, { _variables: { writable: true } }), this.acknowledgementUserId = void 0, this.acknowledgementUserDisplayName = void 0, this.acknowledgementDate = void 0, this.acknowledgementUserIsOAuthClient = void 0, r2.baseConstructor.apply(this, arguments); - } - r2.extend(o, n2, true), e2.exports = o; - }, 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), 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); + setResponseLibrary(e3) { + this.responseLibrary = e3 ? e3.model : void 0, a.validateAction(this, false, true); } - constructor() { - super(), this._allowSecure = true, this._allowBlankAudio = true, this._emitNonConfigItemForEmptyAndNoDefault = false, this._maxDurInclusive = false, this._isInternal = false, this._descriptionInfo = {}, (0, u.makeUnenumerable)(this, "_allowSecure"), (0, u.makeUnenumerable)(this, "_allowBlankAudio"), (0, u.makeUnenumerable)(this, "_emitNonConfigItemForEmptyAndNoDefault"), (0, u.makeUnenumerable)(this, "_maxDuration"), (0, u.makeUnenumerable)(this, "_maxDurInclusive"), (0, u.makeUnenumerable)(this, "_isInternal"), (0, u.makeUnenumerable)(this, "_label"), (0, u.makeUnenumerable)(this, "_noValueRuntimeEvaluationStr"), (0, u.makeUnenumerable)(this, "_noValueSelectionLabel"), (0, u.makeUnenumerable)(this, "_descriptionInfo"), this._isOptional = true; + setResponseDataAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = e3 ? e3.name : "", n3 = e3 ? e3.id : ""; + if (null === e3 && null === t3 || this.responseId !== n3) { + if (this.responseName && (this.responseManager.tryRemoveItemFromFlowMetadata(this, this.responseId), r.unRegisterConsumer(this, this.responseManager.dependencyContext)), this.responseId = n3, this.responseName = i3, this.substitutions.destroyChildren(), this.performSubstitutions = false, t3 ? this.setResponseLibrary(t3) : e3 && e3.libraries ? this.responseLibrary = e3.library : this.responseLibrary = void 0, !this.responseName) return a.validateAction(this, false, true), Promise.resolve(); + this.responseManager.addItemToFlowMetadata(this, this.responseName, n3), yield this.responseManager.getSubstitutionInputs(e3), this.responseManager.mergeSchemaProperties(e3.substitutions, this.substitutions); + } + }); } - get className() { - return "AudioViewModelOptions"; + get selectedResponse() { + if (this.responseId) return this.responseManager.getItem(this.responseId); } - get isAudioViewModelOptions() { - return true; + get selectedResponseLibrary() { + if (this.responseLibrary && this.responseLibrary.id) return this.libraryManager.getItem(this.responseLibrary.id); } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setAllowSecure, e3.allowSecure), this._setOptionIfSet(this.setIsInternal, e3.isInternal), this._setOptionIfSet(this.setAllowBlankAudio, e3.allowBlankAudio), this._setOptionIfSet(this.setEmitNonConfigItemForEmptyAndNoDefault, e3.emitNonConfigItemForEmptyAndNoDefault), a.default.isActualNumber(e3.maxDuration) && this.setMaxDuration(e3.maxDuration, e3.maxDurInclusive), this._setOptionIfSet(this.setLabel, e3.label, "_label"), this._setOptionIfSet(this.setModeNoValueRuntimeEvaluationStr, e3.noValueRuntimeEvaluationStr, "_noValueRuntimeEvaluationStr"), this._setOptionIfSet(this.setModeNoValueSelectionLabel, e3.noValueSelectionLabel, "_noValueSelectionLabel"); + get isSelectedResponseInSelectedResponseLibrary() { + return this._isSelectedResponseInSelectedResponseLibrary(this.selectedResponse, this.selectedResponseLibrary); } - hasDescriptionInfo(e3) { - return !!e3 && (!!a.default.isActualNumber(this.maxDuration) || e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes).length > 0); + get suggestedResponseLibraries() { + const e3 = this.selectedResponse; + if (e3 && !this._isSelectedResponseInSelectedResponseLibrary(e3)) return e3.libraries; } - getFullDescription(e3) { - if (this.hasDescriptionInfo(e3)) { - const t3 = e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes); - return t3.length && (this._descriptionInfo.info = (0, c.sprintf)(h.commonModule.notAvailableInFlowTypes, o.getFlowTypesDisplayString(t3))), this._descriptionInfo; + validate(e3) { + const t3 = this.selectedResponse; + if (e3.isDeep && t3 && (this.responseManager.mergeSchemaProperties(t3.substitutions, this.substitutions), this.responseManager.addItemToFlowMetadata(this, this.responseName, this.responseId)), this.responseLibrary) { + const i3 = this.selectedResponseLibrary; + i3 ? this.selectedResponse && !this._isSelectedResponseInSelectedResponseLibrary(t3, i3) && e3.addWarning(this, this.selectedResponseNotInResponseLibraryMessage) : e3.addWarning(this, O.getResponse.responseLibraryNotFound); + } else e3.addError(this, O.getResponse.mustSelectLibrary); + try { + this.response.skipValidationCheck = !this.responseLibrary, this.responseBody.options.suppressParserValidationMessages = !this.responseId, super.validate(e3); + } finally { + this.response.skipValidationCheck = false, this.responseBody.options.suppressParserValidationMessages = false; } } - get allowSecure() { - return this._allowSecure; + } + b.info = y.default.createActionInfo({ actionClass: b, canBeInTask: true, helpTopic: f.helpTopics.actions.getResponse, modelClass: i2(55706), name: O.actions.getResponse, scriptingName: "ArchActionGetResponse", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = b; + }, 77479(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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 r.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - set allowSecure(e3) { - this._allowSecure = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "allowSecure", "value")); + static get branchInfo() { + return a.default.successFailure; } - get allowBlankAudio() { - return this._allowBlankAudio; + static get managedProperties() { + 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" }]; } - set allowBlankAudio(e3) { - this._allowBlankAudio = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "allowBlankAudio", "value")); + _getPossibleErrors() { + return c.getSipHeadersFailureReasons; } - get emitNonConfigItemForEmptyAndNoDefault() { - return this._emitNonConfigItemForEmptyAndNoDefault; + } + m.info = s.default.createActionInfo({ actionClass: m, canBeInTask: true, helpTopic: o.helpTopics.actions.getSIPHeaders, modelClass: i2(60633), name: h.actions.getSIPHeaders, scriptingName: "ArchActionGetSIPHeaders", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; + }, 22036(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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); } - set emitNonConfigItemForEmptyAndNoDefault(e3) { - this._emitNonConfigItemForEmptyAndNoDefault = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "emitNonConfigItemForEmptyAndNoDefault", "value")); + static get branchInfo() { + return r.default.successFailure; } - get noValueRuntimeEvaluationStr() { - return this._noValueRuntimeEvaluationStr; + get isSecureDataAction() { + return true; } - set noValueRuntimeEvaluationStr(e3) { - this._noValueRuntimeEvaluationStr = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "noValueRuntimeEvaluationStr", "value")); + static get managedProperties() { + return [{ createDetails: l.NoteActionProperty.createCreateDetails((0, o.sprintf)(d.securedActions.securedActionsInformationalMessage, d.generic.branches.matchExact), "info", "getSecureDataNote"), property: "actionInformationalMessage", yamlOptions: p.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; } - get noValueSelectionLabel() { - return this._noValueSelectionLabel; + } + 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; + }, 61289(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); } - set noValueSelectionLabel(e3) { - this._noValueSelectionLabel = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "noValueSelectionLabel", "value")); + _loadModel(e3) { + super._loadModel(e3), this.setOutOfService(); } - get isInternal() { - return this._isInternal; + getDetails() { + const e3 = [], t3 = []; + 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(y.holdMusic.durationLabel), t3.push(i3); + } + return new h.ActionDetails(e3, t3); } - set isInternal(e3) { - this._isInternal = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "isInternal", "value")); + _initializeDesignTime() { + 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); } - get maxDurInclusive() { - return this._maxDurInclusive; + setOutOfService() { + this.duration.outOfService = !this.model.playForDuration; } - set maxDurInclusive(e3) { - this._maxDurInclusive = e3; + static get managedProperties() { + return [{ property: "duration", label: y.holdMusic.durationLabel, type: s.expressionTypeNames.duration, options: c.ExpressionTypeDurationOptions.create((e3) => e3.setDefaultText(r.default.litDurationOneMinute).setDurationStyle(a.durationStyles.minutesSecondsAndMsDuration).setIninTestingField("durationExpression").facets.setMinDur(0, true).setMaxDur(900 * r.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(r.default.false)), yamlOptions: S.createYamlOptions("bargeInExpression", (e3) => e3.setPropertyName("bargeInEnabled")) }]; } - get maxDuration() { - return this._maxDuration; + get playForDuration() { + return this.model.playForDuration; } - 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, c.sprintf)(d.default.itemColonValue, h.expressionsHelp.parameters.maxValue, r2.getSearchStringFromMilliseconds(this.maxDuration))); + set playForDuration(e3) { + this.model.playForDuration = e3, this.setOutOfService(); } - get label() { - return this._label; + postProcessYamlConfig(e3, t3, i3) { + e3.playStyle = {}, this.playForDuration ? o.default.moveAndDeleteProperty(e3, e3.playStyle, "duration") : (e3.playStyle.entirePrompt = true, delete e3.duration); } - set label(e3) { - this._label = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "label", "value")), this._descriptionInfo.name = this.label; + } + 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; + }, 62279(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); } - get supportsBargeInExpression() { - return a.default.isUndefined(this.disallowedFunctionMap) || this.disallowedFunctionMap && !this.disallowedFunctionMap.audioplaybackoptions; + getDetails() { + return this.outcomeId ? new r.ActionDetails([u.flowOutcomes.flowOutcome], [this.outcomeName]) : null; } - setAllowSecure(e3) { - return this.allowSecure = e3, this; + } + c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: o.helpTopics.actions.initializeFlowOutcome, modelClass: i2(76573), name: u.actions.initializeFlowOutcome, scriptingName: "ArchActionInitializeFlowOutcome", modelFormatSupport: { flowYaml: { feature: l.default.changeSetsFeaturePhase1 } } }), t2.A = c; + }, 45817(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(19384), r = i2(12179), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(5730)), l = i2(47957); + class u extends s.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - setIsInternal(e3) { - return this.isInternal = e3, this; + get isInlineTaskAction() { + return true; } - setLabel(e3) { - return this.label = e3, this; + get taskReference() { + return this.model.taskReference; } - setModeNoValueRuntimeEvaluationStr(e3) { - return this.noValueRuntimeEvaluationStr = e3, this; + set taskReference(e3) { + this.model.taskReference = e3; } - setModeNoValueSelectionLabel(e3) { - return this.noValueSelectionLabel = e3, this; + initialize() { + super.initialize(); + const e3 = this.parentFlow; + if (this.task) return; + const t3 = this.taskReference; + if (!t3) return; + if (!e3) return; + const i3 = e3.getTopLevelChild(t3); + this.linkTask(i3); } - setMaxDuration(e3, t3) { - return this.maxDuration = e3, this.maxDurInclusive = t3, this; + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), this.task && this.task.isTask && this.task.addClipboardDependencies(e3); } - setAllowBlankAudio(e3) { - return this.allowBlankAudio = e3, this; + linkTask(e3) { + this.taskReference = e3.id, this.task = e3; } - setEmitNonConfigItemForEmptyAndNoDefault(e3) { - return this.emitNonConfigItemForEmptyAndNoDefault = e3, this; + validate(e3) { + super.validate(e3), o.flowElementRegistrationService.getItemById(this.parentFlow, this.taskReference) || e3.addInternalError(this, l.task.invalidReference); } } - t2.AudioViewModelOptions = m, n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "allowSecure", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "allowBlankAudio", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "emitNonConfigItemForEmptyAndNoDefault", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], m.prototype, "noValueRuntimeEvaluationStr", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], m.prototype, "noValueSelectionLabel", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "isInternal", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "maxDurInclusive", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], m.prototype, "maxDuration", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], m.prototype, "label", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], m.prototype, "supportsBargeInExpression", null); - }, 24237: (e2, t2, i2) => { + u.info = a.default.createActionInfo({ actionClass: u, canBeTreeNode: true, helpTopic: r.helpTopics.tasks.task, modelClass: i2(52030), name: l.actions.task, scriptingName: "ArchActionTask", availabilityCallback: (e3, t3, i3) => t3.parentFlow.definition.supportsReusableMenus }), t2.A = u; + }, 72577(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.all = t2.address = t2.phone = t2.name = t2.email = void 0; - const n2 = i2(47957); - t2.email = { displayString: n2.actions.email, id: "email" }, t2.name = { displayString: n2.generic.name, id: "name" }, t2.phone = { displayString: n2.askForPayment.askForPaymentContactInformationPhone, id: "phone" }, t2.address = { displayString: n2.cardsAndCars.timePickerType.addressPlaceHolder, id: "address" }, t2.all = [t2.email, t2.name, t2.phone, t2.address]; - }, 24247: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(4251); - class s extends o.PagedList { - constructor(e3) { - super(e3.results); - } - get entities() { - return this._entities; + const n2 = i2(31635), o = i2(12179), r = 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: u.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: u.task.invalidReference } }); } - set entities(e3) { - this._entities = this.reviveArray(e3, a.Response); + constructor(e3, t3) { + super(e3), this._loadModel(t3); } } - t2.ResponseList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 24338: (e2, t2, i2) => { + c.info = r.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: true, helpTopic: o.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; + }, 78830(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), 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; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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", r.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 parent() { - return this.action; + get aliasReadyStatus() { + return d.lexStatuses.v1.ready; } - getAdditionalSearchParams() { + get aliasReadyStatusLower() { + return d.lexStatuses.v1.readyLower; } - get isConfigListProperty() { - return true; + _postProcessYamlConfig(e3, t3, i3) { + e3.lexBot = {}; + const n3 = e3.lexBot[this.botName] = {}; + if (!this.aliasName) return void o.default.ensureYamlNoneTrue(n3); + const r2 = n3[this.aliasName] = {}; + this.commonBotPostProcessYamlConfig(e3, r2); } - searchResultsFilter(e3) { + get supportsSessionVariables() { return true; } - get idValue() { - var e3; - return null === (e3 = this.action.responseLibrary) || void 0 === e3 ? void 0 : e3.id; - } - get nameValue() { - var e3; - return null === (e3 = this.action.responseLibrary) || void 0 === e3 ? void 0 : e3.name; - } - getConfiguration(e3, t3, i3) { - if (!this.featureConfigUnavailable && (null == t3 ? void 0 : t3.isForFlowYaml)) { - if (null == i3 ? void 0 : i3.skipProperty) return; - return this.nameValue ? { name: this.nameValue } : null; - } - } - setValue(e3) { - this.configListManager.tryRemoveItemFromFlowMetadata(this.action, this.idValue), (this.idValue || e3) && (this.nameValue === (null == e3 ? void 0 : e3.name) && this.idValue === (null == e3 ? void 0 : e3.id) || (this.action.responseLibrary = e3 ? { name: e3.name, id: e3.id } : null, o.fireEvent(this, r2.valueChanged), a.validateAction(this.action, void 0, true))); + get requiresSpeechRec() { + return true; } - get selectedResponseLibrary() { - if (this.idValue) return this.configListManager.getItem(this.idValue); + } + 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; + }, 82490(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 amObjectEventEmitter() { - return true; + get botRunnableNetworkGetCall() { + return A.getV2Alias; } - get isResponseLibraryProperty() { + get isLexV2Action() { return true; } - search(e3) { - super.search(e3), e3.checkText(this, this.nameValue, c.getResponse.library); + get aliasLanguage() { + return o.default.isArray(this.languagesProperty) && o.default.isString(this.languagesProperty[0]) ? this.languagesProperty[0] : null; } - 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 ? 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); + get aliasReadyStatus() { + return h.lexStatuses.v2.available; } - static createCreateDetails(e3, t3, i3) { - return { create: function(n3, r3) { - return new d(n3, r3, e3, t3, i3); - }, getCreateClass: function() { - return d; - }, modelProperties: [], manager: l.responseLibraryManager }; + get aliasReadyStatusLower() { + return h.lexStatuses.v2.availableLower; } - } - t2.ResponseLibraryProperty = d; - }, 24364: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(45741), o = i2(36019).default; - function a() { - } - function s(e3, t3) { - return e3.context ? (t3 += "\n", n2.each(e3.context, function(e4, i3) { - t3 += i3 + ": " + e4 + ", "; - }), t3.substring(0, t3.length - 2)) : t3; - } - r2(a, { debug: function(e3) { - let t3 = "TRACE:[" + e3.name + "] "; - t3 += o.formatStringForTracing.apply(this, n2.rest(arguments)), console.debug(s(e3, t3)); - }, error: function(e3, t3, i3) { - let r3 = "TRACE:[" + e3.name + "] "; - n2.isString(i3) && (r3 += o.formatStringForTracing.apply(null, n2.rest(arguments, 2))), n2.isString(t3) ? r3 = `${t3} -- ${r3}` : t3 || i3 || (r3 += "No error message"), console.error(s(e3, r3)); - }, info: function(e3) { - let t3 = "TRACE:[" + e3.name + "] "; - t3 += o.formatStringForTracing.apply(this, n2.rest(arguments)), console.info(s(e3, t3)); - }, infoWithObject: function(e3, t3) { - let i3 = "TRACE:[" + e3.name + "] "; - i3 += o.formatStringForTracing.apply(this, n2.rest(arguments, 2)), console.info(s(e3, i3)), console.info(t3); - }, warning: function(e3) { - let t3 = "TRACE:[" + e3.name + "] "; - t3 += o.formatStringForTracing.apply(this, n2.rest(arguments)), console.warn(s(e3, t3)); - } }), e2.exports = new a(); - }, 24383: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.terminatesFlow = t2.terminatesTask = t2.terminatesNextLoop = t2.terminatesExitLoop = t2.terminatesNone = t2.terminatesState = t2.TerminationInfo = void 0; - const n2 = i2(47957); - class r2 { - constructor(e3) { - this.isTerminationInfo = true, this.flow = e3.terminatesFlow, this.task = e3.terminatesTask, this.state = e3.terminatesState, this.loop = e3.terminatesLoop, this.restartsLoop = e3.restartsLoop; + static get managedProperties() { + 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: r.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setAllowNotSet(false).setIninTestingField("initialIntentExpression")), yamlOptions: v.createYamlOptions("initialIntent", (e3) => e3.setPropertyName("aliasInitialIntentName")), property: "initialIntent", type: m.expressionTypeNames.string }]; } - get doesTerminate() { - return this.flow || this.task || this.state || this.loop || this.restartsLoop; + _postProcessYamlConfig(e3, t3, i3) { + e3.lexBot = {}; + const n3 = (e3.lexBot[this.region] = {})[this.botName] = {}; + if (!this.aliasName) return void o.default.ensureYamlNoneTrue(n3); + const r2 = (n3[this.aliasLanguage] = {})[this.aliasName] = {}; + o.default.moveAndDeleteProperty(e3, r2, "aliasInitialIntentName"), this.commonBotPostProcessYamlConfig(e3, r2); } - get isNonLoopTerminating() { - return this.flow || this.task || this.state; + get region() { + return this.model.region || this.getRegionFromBotId(this.botId); } - get terminatesLoop() { - return this.loop || this.restartsLoop; + set region(e3) { + this.model.region = e3; } - get label() { - return this.flow ? n2.task.endFlow : this.state ? n2.state.endState : this.task ? n2.task.endTask : this.loop ? n2.task.endLoop : this.restartsLoop ? n2.task.nextLoop : void 0; + getRegionFromBotId(e3) { + var t3; + if (e3) return null === (t3 = null == e3 ? void 0 : e3.split("~")) || void 0 === t3 ? void 0 : t3[1]; } - } - t2.TerminationInfo = r2, t2.terminatesState = new r2({ terminatesState: true }), t2.terminatesNone = new r2({}), t2.terminatesExitLoop = new r2({ terminatesLoop: true }), t2.terminatesNextLoop = new r2({ restartsLoop: true }), t2.terminatesTask = new r2({ terminatesTask: true }), t2.terminatesFlow = new r2({ terminatesFlow: true }); - }, 24409: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(87200); - e2.exports = { featureToggles: function(e3) { - const t3 = n2.build(r2.featureToggles); - return t3.queryParams(e3), t3.call(); - } }; - }, 24421: (e2, t2, i2) => { - const n2 = i2(54976), r2 = i2(7401), o = i2(67641), { transferPureMatchActionType: a } = i2(30801); - function s() { - Object.defineProperties(this, { _alertOnTransfer: { writable: true }, _appendSkills: { writable: true }, _languageSkill: { writable: true }, _preferredAgents: { writable: true }, _directAgent: { writable: true }, _priority: { writable: true }, _queues: { writable: true }, _skills: { writable: true }, _skillExpressionFilters: { writable: true } }), this.inQueueFlowId = void 0, this.inQueueFlowName = void 0, this.useDefaultHandling = void 0, s.baseConstructor.apply(this, arguments); - } - n2.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.alertOnTransfer?.pasteReIdOrRename(e3), this.appendSkills.pasteReIdOrRename(e3), this.directAgent.pasteReIdOrRename(e3), this.languageSkill.pasteReIdOrRename(e3), this.preferredAgents.pasteReIdOrRename(e3), this.priority.pasteReIdOrRename(e3), this.skillExpressionFilters?.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.queues.length; t3++) this.queues[t3].pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.skills.length; t3++) this.skills[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.alertOnTransfer?.pasteResolveOldToNewValues(e3), this.appendSkills.pasteResolveOldToNewValues(e3), this.directAgent.pasteResolveOldToNewValues(e3), this.languageSkill.pasteResolveOldToNewValues(e3), this.preferredAgents.pasteResolveOldToNewValues(e3), this.priority.pasteResolveOldToNewValues(e3), this.skillExpressionFilters?.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.queues.length; t3++) this.queues[t3].pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.skills.length; t3++) this.skills[t3].pasteResolveOldToNewValues(e3); - } }, alertOnTransfer: { enumerable: true, get: function() { - return this._alertOnTransfer; - }, set: function(e3) { - this._alertOnTransfer = this.reviveItem(e3, r2); - } }, appendSkills: { enumerable: true, get: function() { - return this._appendSkills; - }, set: function(e3) { - this._appendSkills = this.reviveItem(e3, r2); - } }, directAgent: { enumerable: true, get: function() { - return this._directAgent; - }, set: function(e3) { - this._directAgent = this.reviveItem(e3, r2); - } }, languageSkill: { enumerable: true, get: function() { - return this._languageSkill; - }, set: function(e3) { - this._languageSkill = this.reviveItem(e3, r2); - } }, preferredAgents: { enumerable: true, get: function() { - return this._preferredAgents; - }, set: function(e3) { - this._preferredAgents = this.reviveItem(e3, r2); - } }, priority: { enumerable: true, get: function() { - return this._priority; - }, set: function(e3) { - this._priority = this.reviveItem(e3, r2); - } }, queues: { enumerable: true, get: function() { - return this._queues; - }, set: function(e3) { - this._queues = this.reviveArray(e3, r2); - } }, skills: { enumerable: true, get: function() { - return this._skills; - }, set: function(e3) { - this._skills = this.reviveArray(e3, o); - } }, skillExpressionFilters: { enumerable: true, get: function() { - return this._skillExpressionFilters; - }, set: function(e3) { - this._skillExpressionFilters = this.reviveItem(e3, r2); - } } }), e2.exports = s; - }, 24434: (e2) => { - "use strict"; - e2.exports = require("events"); - }, 24528: (e2, t2, i2) => { - const n2 = i2(84584); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "NuanceMixBotList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 24601: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createNluDomain = function(e3, t3) { - return r2.default.build(o.createDomain).content({ name: e3, language: t3 }).call(); - }, t2.getNluDomain = a, t2.getNluDomains = s, t2.getNluDomainVersion = function(e3, t3) { - return r2.default.build(o.getDomainVersion).templateParams({ domainId: e3, domainVersionId: t3 }).call(); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(74168)); - function a(e3) { - return r2.default.build(o.getDomain).templateParams({ domainId: e3 }).call(); - } - function s(e3) { - return r2.default.build(o.getDomains).queryParams(e3.getSearchQueryParams()).call(); - } - a.api = o.getDomain, s.api = o.getDomains; - }, 24629: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + setBotCategoryByViewModel(e3) { + super.setBotCategoryByViewModel(e3), this.region = (null == e3 ? void 0 : e3.region) || this.getRegionFromBotId(null == e3 ? void 0 : e3.id); } - get _globalTypeName() { - return "chatGuest"; + setBotRunnableByViewModel(e3) { + super.setBotRunnableByViewModel(e3), this.shortBotId = null == e3 ? void 0 : e3.botId, this.shortAliasId = null == e3 ? void 0 : e3.shortAliasId, this._configureInitialIntentAllowableValues(e3); } - get id() { + get shortAliasId() { + return this.model.shortAliasId; } - get displayName() { + set shortAliasId(e3) { + this.model.shortAliasId = e3; } - get avatarImageUrl() { + get shortBotId() { + return this.model.shortBotId; } - get isAuthenticated() { + set shortBotId(e3) { + this.model.shortBotId = e3; } - get customFields() { + get shouldSkipLanguageValidation() { + return true; } - get authenticatedCustomFields() { + get supportsInputsOutputs() { + return true; } - get displayTypeName() { - return "ArchValueChatGuest"; + _configureFromModel(e3, t3, i3) { + if ((0, g.isConfigureFromModelRecord)(e3.lexBot)) { + const o2 = e3.lexBot, r2 = Object.keys(o2)[0]; + if (r2) { + const e4 = (0, g.isConfigureFromModelRecord)(o2[r2]) ? o2[r2] : 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); } - get isArchValueChatGuest() { - return true; + _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); } } - t2.default = r2; - }, 24669: (e2, t2, i2) => { + 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; + }, 47567(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)), 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 { + const n2 = i2(31635), o = i2(12179), r = 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), this.reasonCode.outOfService = true; + super(e3.parentFlow, e3), this._loadModel(t3); } - getDetails() { - return !this.reasonCode || this.reasonCode.isBlank || this.reasonCode.isNotSet ? null : new a.ActionDetails([m.returnToAgent.reasonCodeLabel], [this.reasonCode.text]); + get isLoopAction() { + return true; + } + static get branchInfo() { + return [s.default.loop]; } static get managedProperties() { - 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)) }]; + 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 }]; } - _initializeDesignTime() { - super._initializeDesignTime(), this.reasonCode.outOfService = !this.parentFlow.isAutomateFlowType, this.helpInfo.outOfService = !!this.parentFlow.isAutomateFlowType; + getDetails() { + return this.loopCount && this.loopCount.text && this.currentIndex && this.currentIndex.text ? new r.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, p.loop.lessThanOne), this.currentIndex.validate(e3), this.branches[0].terminatesTaskOrFlow && e3.addError(this, p.loop.terminating); } } - 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); - }, modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; - }, 24710: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(73303); - function o() { - Object.defineProperties(this, { _engine: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "STTData"), Object.defineProperties(o.prototype, { engine: { enumerable: true, get: function() { - return this._engine; - }, set: function(e3) { - this._engine = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 24714: (e2, t2, i2) => { + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: o.helpTopics.actions.loop, modelClass: i2(84111), name: p.actions.loop, scriptingName: "ArchActionLoop", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; + }, 3287(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = i2(30801), a = n2.__importDefault(i2(94225)); - class s extends r2.default { - constructor(e3) { - super(e3), this._knowledgeArticle = this.coreFactory.createArchValueFromExpression(e3.knowledgeArticle); - } - get _actionTypeId() { - return o.showKnowledgeArticleActionActionType; - } - get displayTypeName() { - return "ArchActionShowKnowledgeArticle"; + const n2 = i2(31635), o = (n2.__importStar(i2(63352)), i2(67607)), r = 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)); } - get isArchActionShowKnowledgeArticle() { + get isLoopUntilAction() { return true; } - get knowledgeArticle() { - return this._knowledgeArticle; + _initializeDesignTime() { + super._initializeDesignTime(); } - setLiteralByKnowledgeBaseDocumentNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var i3; - return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "setLiteralByKnowledgeBaseDocumentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentNameAsync"), t3, true), this._checkItem(this._infoParm("knowledgeBaseDocumentName", "setLiteralByKnowledgeBaseDocumentNameAsync"), !(null === (i3 = this._getCoreViewModel().parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.knowledgeBaseId), "cannot set the knowledge article on this action to a knowledge base document when there is no knowledge base configured on the flow. Please set the knowledge base on the flow first and then set the knowledge article."), yield this.knowledgeArticle.setLiteralByKnowledgeBaseDocumentNameAsync(e3), a.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentNameAsync", t3, this); - }); + setNewInstanceDefaults() { + super.setNewInstanceDefaults(); } - setLiteralByKnowledgeBaseDocumentIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var i3; - return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentId", "setLiteralByKnowledgeBaseDocumentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentIdAsync"), t3, true), this._checkItem(this._infoParm("knowledgeBaseDocumentId", "setLiteralByKnowledgeBaseDocumentIdAsync"), !(null === (i3 = this._getCoreViewModel().parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.knowledgeBaseId), "cannot set the knowledge article on this action to a knowledge base document when there is no knowledge base configured on the flow. Please set the knowledge base on the flow first and then set the knowledge article."), yield this.knowledgeArticle.setLiteralByKnowledgeBaseDocumentIdAsync(e3), a.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentIdAsync", t3, this); - }); + static get branchInfo() { + return [p.default.loop, p.default.loopNext, p.default.loopsMax]; } - } - t2.default = s; - }, 24739: (e2, t2, i2) => { - "use strict"; - 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)(d(e3).initialGreetingTTS) : s.emptyAudio; - const m = new p(); - 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 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), 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"); + getReferenceById(e3) { + return this.getBranch(e3); } - get enableBargeIn() { - return this._enableBargeIn; + static get managedProperties() { + return [{ label: f.loop.indexDataName, options: r.ExpressionTypeIntegerOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(f.loopUntil.noLoopIndexVariableSpecified)), property: "currentIndex", type: _.expressionTypeNames.integer }, { label: f.loopUntil.maxLoopCount, options: r.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: o.ExpressionTypeBooleanOptions.create((e3) => e3), yamlOptions: T.createYamlOptions("untilCases", (e3) => e3.setWrapValueAndActionsInPropertyName("untilCase").setWrapListItemValueInPropertyName("condition")), property: "untilCases", type: _.expressionTypeNames.boolean }]; } - set enableBargeIn(e3) { - this._enableBargeIn = this.reviveItem(e3, c.default); + validate(e3) { + 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; } - get voiceEndOfInputTimeout() { - return this._voiceEndOfInputTimeout; + addUntilCase(e3, t3) { + 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; } - set voiceEndOfInputTimeout(e3) { - this._voiceEndOfInputTimeout = this.reviveItem(e3, c.default); + propertyChanged(e3) { + super.propertyChanged(e3), e3 === this.untilCases ? this.cleanUpBranches() : e3 === this.maxLoopCount && (this.getReferenceById(p.default.loopsMax.outputId).outOfService = this.maxLoopCount.isNoValueMode, s.emitter.emit(s.branchesChanged)); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._enableBargeIn && this._enableBargeIn.pasteResolveOldToNewValues(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3); + cleanUpBranches() { + this.isDestroyedOrDestroying || (this.optionalBranchInfo.forEach((e3) => { + var t3; + if (!this.untilCases.items.find((t4) => t4.referenceId === e3.outputId)) { + const i3 = this.getReferenceById(e3.outputId); + (null === (t3 = null == i3 ? void 0 : i3.children) || void 0 === t3 ? void 0 : t3.length) ? (i3.outOfService = true, s.emitter.emit(s.branchesChanged)) : this.removeOptionalBranchInfoById(e3.outputId); + } + }), this.sortBranches()); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._enableBargeIn && this._enableBargeIn.pasteReIdOrRename(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteReIdOrRename(e3); + sortBranches() { + const e3 = [...this.branchInfos.map((e4) => e4.outputId), ...this.untilCases.items.map((e4) => e4.referenceId)].reduce((e4, t3, i3) => (e4[t3] = i3, e4), {}); + 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)); } } - 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; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(74359), a = i2(74359), s = n2.__importDefault(i2(88802)), l = i2(12268), u = n2.__importStar(i2(24032)).getTopic("runtimeLanguageFeatures"); - t2.isoLanguages = new class { - constructor() { - this.viewModels = /* @__PURE__ */ new Map(), a.bootstrapDataLoaded.then((e3) => (0, o.autoResolveBootstrapLanguageDataLoadedPromise)(() => { - const t3 = {}; - return r2.default.each(e3.languages, (e4) => { - if (null == e4 ? void 0 : e4.id) { - const i3 = e4.id.toLowerCase(), n3 = this.viewModels[i3]; - t3[i3] ? u.error("Unexpected duplicate runtime language setting for: {}", i3) : n3 && (n3.addServerData(e4), t3[i3] = n3); - } - }), t3; - })); - for (const e3 in l.languageData) l.languageData.hasOwnProperty(e3) && (this.viewModels[e3.toLocaleLowerCase()] = new s.default(l.languageData[e3])); - } - }().viewModels; - }, 24844: (e2, t2, i2) => { + 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; + }, 80684(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); + const n2 = i2(31635), o = i2(19384), r = 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); } - get _globalTypeName() { - return "phoneNumberCollection"; + _preDestroy() { + super._preDestroy(), this.parentFlow.tryRemoveUiMetadataInfo(this, "menu", this.menuReference, [this.model.__type], "menuReference", false); } - get displayTypeName() { - return "ArchVariablePhoneNumberCollection"; + getDetails() { + if (!this.menuReference) return null; + const e3 = o.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference); + return e3 ? new a.ActionDetails([p.menu.label], [e3.name]) : null; } - get initialValue() { - return this._initialValue; + getFlowInfoSpecAnnotation() { + return this.menuName ? `-> menu "${this.menuName}"` : void 0; } - get isArchVariablePhoneNumberCollection() { - return true; + getFlowInfoSpecTerminalKind() { } - } - t2.default = r2; - }, 24886: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(16434)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3); + const t3 = o.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference); + t3 && t3.name && e3.addOldIdToOldNameMapping(this.menuReference, t3.name); } - get _flowType() { - return r2.flowTypes.flowTypeInboundChat; + linkMenu(e3) { + var t3; + if (this.parentFlow.tryRemoveUiMetadataInfo(this, "menu", this.menuReference, [this.model.__type], "menuReference", false), e3) { + const i3 = e3.isMenuChoice || (null === (t3 = e3.menu) || void 0 === t3 ? void 0 : t3.isMenu) ? e3.menu : e3; + this.parentFlow.setUiMetadataInfo("menu", { id: e3.id, name: e3.name }), this.menuReference = i3.id, this.menuName = i3.name; + } else this.menuReference = void 0, this.menuName = void 0; } - get displayTypeName() { - return "ArchFlowInboundChat"; + static get managedProperties() { + 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")) }]; } - get isArchFlowInboundChat() { - return true; + validate(e3) { + super.validate(e3); } } - t2.default = o; - }, 24891: (e2, t2, i2) => { + _.info = s.default.createActionInfo({ actionClass: _, canBeInTask: true, canBeTreeNode: true, helpTopic: r.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 = _; + }, 80632(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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends a.default { + const n2 = i2(31635), o = i2(30801), r = 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([l.loopActionType, u.loopUntilActionType, r.askForNLUNextIntentActionActionType, o.agenticAnythingElseActionType]) || e3.addError(this, _.loop.notInLoop); + } } - 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 }, _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; - }, set: function(e3) { - this._botFlowSettings = new a(e3); - } }, userInputSettings: { enumerable: true, get: function() { - return this._userInputSettings; - }, set: function(e3) { - this._userInputSettings = new s(e3); - } }, errorHandling: { enumerable: true, get: function() { - 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) { - this._nluMetaData = new l(e3); - } }, knowledgeSettings: { enumerable: true, get: function() { - return this._knowledgeSettings; - }, set: function(e3) { - this._knowledgeSettings = new o(e3); - } }, virtualAgentSettings: { enumerable: true, get: function() { - return this._virtualAgentSettings; - }, set: function(e3) { - this._virtualAgentSettings = new n2(e3); - } } }), e2.exports = u; - }, 24954: (e2, t2, i2) => { + 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; + }, 59421(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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends s.default { + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importDefault(i2(97891)), C = i2(1910), O = 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.parentFlow, e3), this._loadModel(t3); + super(e3, t3); } - } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(77841), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(40559)); - class l extends s.default { - constructor(e3) { - super(e3, o.grammarManager); + get applicationName() { + const e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this); + return null == e3 ? void 0 : e3.applicationName; } - get _globalTypeName() { - return "grammarCollection"; + get botRunnableProperty() { + return this.bot; } - get displayTypeName() { - return "ArchValueGrammarCollection"; + get botCategoryProperty() { + return this.botIntegration; } - get isArchValueGrammarCollection() { + static get branchInfo() { + return [T.default.failure]; + } + get botRunnableNetworkGetCall() { + return p.getSingleBot; + } + get isNuanceMixAction() { return true; } - get _searchByValueSearchProperty() { - return "name"; + static get managedProperties() { + 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: [o.flowTypes.flowTypeInboundShortMessage, o.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: [o.flowTypes.flowTypeInboundShortMessage, o.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: [o.flowTypes.flowTypeInboundShortMessage, o.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)) }]; } - addLiteralByGrammarIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("grammarName", "addLiteralByGrammarIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGrammarIdAsync"), t3, true); - const i3 = yield a.default.findItemByIdAsync(o.grammarManager, e3, "grammar"); - return this._addNetworkModelToCollection(i3), r2.default.executeCallback(this, "addLiteralByGrammarIdAsync", t3, this); - }); + updateBotActionFromBotRunnable(e3) { + 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); } - addLiteralByGrammarNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("grammarName", "addLiteralByGrammarNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGrammarNameAsync"), t3, true); - const i3 = yield a.default.findItemByValueAsync(o.grammarManager, e3, "grammar"); - return this._addNetworkModelToCollection(i3), r2.default.executeCallback(this, "addLiteralByGrammarNameAsync", t3, this); - }); + postProcessYamlConfig(e3, t3, i3) { + this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3); + const n3 = this.botIntegration.nameValue; + if (!n3) return; + e3.botIntegration = {}; + const o2 = e3.botIntegration[n3] = {}; + if (!this.botName) return void (o2.none = true); + const r2 = (o2[this.botName] = {})[this.applicationName] = {}; + a.default.moveAndDeleteProperty(e3, r2, "channelId"), a.default.moveAndDeleteProperty(e3, r2, "botVariables"), this.commonBotPostProcessYamlConfig(e3, r2); } - } - t2.default = l; - }, 25015: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(27099), o = i2(68899), { VersionItem: a } = i2(82485), s = i2(57141), l = n2.keys(o); - function u() { - } - Object.defineProperties(u.prototype, { canAppSupport: { value: function(e3) { - if ((e3 = e3 || s.one.zero) === this.currentVersion) return true; - const t3 = new a(); - t3.version = e3; - const i3 = new a(); - return i3.version = this.currentVersion, i3.isGreater(t3); - } }, canServerSupport: { value: function() { - return true; - } }, canSupportFeatures: { value: function(e3) { - return !e3 || !e3.length || !n2.find(e3, function(e4) { - return !!n2.contains(l, e4) && !r2[e4]; - }); - } }, currentVersion: { get: function() { - return s.one.one; - } }, getVersionInfo: { value: function(e3) { - const t3 = new a(); - return e3.checkVersion(t3), t3; - } }, serverVersion: { value: "1.0" } }), e2.exports = new u(); - }, 25016: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _configureFromModel(e3, t3, i3) { + if ((0, C.isConfigureFromModelRecord)(e3.botIntegration)) { + const o2 = e3.botIntegration, a2 = Object.keys(o2)[0]; + if (a2) { + const e4 = (0, C.isConfigureFromModelRecord)(o2[a2]) ? o2[a2] : void 0, l2 = e4 ? Object.keys(e4)[0] : void 0, u2 = l2 && e4 && (0, C.isConfigureFromModelRecord)(e4[l2]) ? e4[l2] : void 0, c2 = u2 ? Object.keys(u2)[0] : void 0, d2 = c2 && u2 && (0, C.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, O.resolveNamedConfigListEntity)(i3, S.nuanceMixIntegrationManager.dependencyType.value, a2, S.nuanceMixIntegrationManager); + if (!t4) return void i3.warn((0, r.sprintf)(s.configureFromModel.failedToResolve, "Nuance Mix integration", a2)); + this.botIntegration.setValue({ id: t4.id, name: a2 }); + const n3 = yield (0, O.resolveNamedConfigListEntity)(i3, y.nuanceMixBotManager.dependencyType.value, l2, y.nuanceMixBotManager), o3 = n3 ? y.nuanceMixBotManager.getItem(n3.id) : void 0; + o3 ? (this.setBotRunnableByViewModel(o3), (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, r.sprintf)(s.configureFromModel.failedToResolveIn, "Nuance Mix bot", l2, "integration", a2)); + } catch (e6) { + const t4 = e6 instanceof Error ? e6.message : String(e6); + i3.warn((0, r.sprintf)(s.configureFromModel.entityResolutionFailed, "Nuance Mix bot", `${a2}/${l2}/${c2}`, t4)); + } + }) }); + } + } + } + super._configureFromModel(e3, t3, i3); } - get displayTypeName() { - return "ArchSpeechToTextEngine"; + removeYamlExportPropsThatRequireRunnable(e3) { + super.removeYamlExportPropsThatRequireRunnable(e3), delete e3.channelId; } - get isArchSpeechToTextEngine() { - return true; + getAdditionalParams() { + return new _.default(this.botRunnableManager, { additionalParams: { integrationId: this.botCategoryProperty.idValue } }); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + _setBotCategoryProperties(e3) { + e3 && (this.botCategoryProperty.idValue = e3.integrationId); } - get name() { - return this._getCoreViewModel().name; + setBotCategoryByViewModel(e3) { + super.setBotCategoryByViewModel(e3); + const t3 = this.botCategoryProperty.configListManager; + this.botCategoryProperty.idValue && t3.addItemToFlowMetadata(this, null, this.botCategoryProperty.idValue); } - get id() { - return this._getCoreViewModel().id; + getOptionalBranchInfoIndexByLabel(e3) { + return a.default.findIndex(this.optionalBranchInfo, { localizedLabel: e3 }); + } + getIntentIndexByLabel(e3, t3) { + return a.default.findIndex(e3, { localizedLabel: t3 }); + } + getAllowableChannels() { + const e3 = y.nuanceMixBotManager.getItem(this.botRunnableProperty.idValue); + return e3 ? this.parentFlow.supportsDigital ? e3.textChannels : e3.audioChannels : []; + } + getAllChannels() { + 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, R.nuanceMix.noChannelsAvailable), this._addAdditionalChannelValidationInfo(e3)), this.channelId.hasError && this._addAdditionalChannelValidationInfo(e3)); + } + get yamlNoBotRunnablePropName() { + return "noBotIntegration"; + } + _initializeDesignTime() { + 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 !== c.literal || a.default.findWhere(this.getAllChannels(), { id: this.channelId.text }) && e3.addError(this.channelId, (0, r.sprintf)(R.nuanceMix.selectedChannelNotValid, this.channelId.text), void 0, true); } } - t2.default = r2; - }, 25021: (e2, t2, i2) => { + D.info = I.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; + }, 95689(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.addGlobalSpeechTracking = function(e3, t3) { - r2[e3.instanceId] || (r2[e3.instanceId] = []), r2[e3.instanceId].indexOf(t3) < 0 && r2[e3.instanceId].push(t3); - }, t2.removeGlobalSpeechTracking = function(e3, t3) { - if (!r2[e3.instanceId]) return; - const i3 = r2[e3.instanceId].indexOf(t3); - i3 >= 0 && r2[e3.instanceId].splice(i3, 1); - }, t2.getGlobalSpeechForFlow = function(e3) { - return r2[e3.instanceId] || []; - }, t2.addGlobalDtmfTracking = function(e3, t3) { - o[e3.instanceId] || (o[e3.instanceId] = []), o[e3.instanceId].indexOf(t3) < 0 && o[e3.instanceId].push(t3); - }, t2.removeGlobalDtmfTracking = function(e3, t3) { - if (!o[e3.instanceId]) return; - const i3 = o[e3.instanceId].indexOf(t3); - i3 >= 0 && o[e3.instanceId].splice(i3, 1); - }, t2.getGlobalDtmfForFlow = function(e3) { - return o[e3.instanceId] || []; - }; - const n2 = i2(31635).__importStar(i2(36781)), r2 = {}, o = {}; - n2.serviceListen(n2.cleanUpFlow, (e3) => { - delete r2[e3.instanceId], delete o[e3.instanceId]; - }); - }, 25054: (e2, t2, i2) => { + const n2 = i2(31635), o = i2(12179), r = 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); + } + validate(e3) { + super.validate(e3); + } + } + u.info = r.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.participantRecord, modelClass: i2(11343), name: l.actions.enableParticipantRecording, scriptingName: "ArchActionEnableParticipantRecord", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; + }, 38750(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchDefinitionMenu = void 0; - const n2 = i2(92448); - class r2 extends n2.ArchBaseDefinitionActionMenu { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(12179), r = 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); } - get displayTypeName() { - return "ArchDefinitionMenu"; + getDetails() { + const e3 = this.prompts ? this.prompts.getDescription() : void 0; + return e3 ? new r.ActionDetails([c.audio.audioLabel], [e3]) : null; } - get isArchDefinitionMenu() { - return true; + static get managedProperties() { + 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")) }]; } } - 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 }; + d.info = s.default.createActionInfo({ actionClass: d, canBeInTask: true, helpTopic: o.helpTopics.actions.playAudio, modelClass: i2(12715), name: c.actions.playAudio, scriptingName: "ArchActionPlayAudio", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; + }, 42473(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(78513), r = 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: r.AudioViewModelOptions.create((e3) => e3.setIninTestingField("playAudioOnSilenceAudio").setLabel(d.audio.audioLabel).setIsOptional(false).setDisallowedFunctionMap({ AudioPlayBackOptions: true }).setUiPropertyOrder(0)), property: "audio" }, { label: d.playAudioOnSilence.allowedRepeatCount, options: o.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: o.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("playAudioOnSilenceActualRepeatCount").setIsOptional(true).setAsOutput().setUiPropertyOrder(41)), property: "actualRepeatCount", type: u.expressionTypeNames.integer }]; + } + constructor(e3, t3) { + super(e3), this._loadModel(t3); + } } - 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; + 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; + }, 50293(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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); } - 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; + get playbackMode() { + return this.model.playbackMode; } - 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; + set playbackMode(e3) { + this.model.playbackMode = e3, this.setMode(true); } - 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)); + _loadModel(e3) { + super._loadModel(e3), this.setOutOfService(); } - 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]; + get amObjectEventSink() { + return true; + } + addSpecificInterval(e3) { + if (this.supportsSpecificRoundingIntervals()) { + const t3 = this.specificRoundingIntervals.add(void 0, void 0, this.specificRoundingIntervals.options); + return t3.setAsLiteral(e3 || a.millisecondsToXSD(6e4)), t3.id; } } - 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; + getDetails() { + 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 = g.lessThan, this.parentFlow.isInQueueCallFlow && this.estimatedWaitTime.setText("Call.EstimatedWaitTime", true), this.setMode(true); + } + static get managedProperties() { + 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[T.parts.replacementDuration] = (0, o.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 = r.default.map(this.specificRoundingIntervals.items, function(e4) { + return e4.getEmbeddableExpressionText(); + }); + e3[T.parts.replacementSpecificRoundingInterval] = t3.length ? (0, o.sprintf)("MakeList(%s)", t3.join(",")) : "MakeEmptyList(ToDuration(0))"; } - } - 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; + return e3; + } }, 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 }]; } - withTags(...t3) { - let i3 = []; - for (const e4 of t3) i3 = i3.concat(e4); - return new e3([...this.tags, ...i3]); + objEvent_supportedLanguagesChanged() { + this.generateAudioExpression(); } - }, 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]"); + supportsSpecificRoundingIntervals() { + 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 g.exact.value: + break; + 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 = f.estimatedWaitTime.roundingInterval; } - return String(t3); + this.roundingInterval.options.durationStyle = this.playbackMode.value === g.range.value ? a.durationStyles.minutes : a.durationStyles.mediumDuration, this.setOutOfService(), this.generateAudioExpression(); } - 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); + setOutOfService() { + this.playbackMode && (this.specificRoundingIntervals.outOfService = !this.supportsSpecificRoundingIntervals(), this.roundingInterval.outOfService = this.playbackMode.value === g.exact.value); } - 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)); - }); + 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; + }, 69038(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); + } + get playbackMode() { + return this.model.playbackMode; + } + set playbackMode(e3) { + this.model.playbackMode = e3, this.generateAudioExpression(); + } + get amObjectEventSink() { + return true; + } + getDetails() { + 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 r.ActionDetails(e3, t3); + } + initialize() { + super.initialize(), l.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this); + } + setNewInstanceDefaults() { + super.setNewInstanceDefaults(...arguments), this.playbackMode = _.number, this.parentFlow.isInQueueCallFlow && this.positionInQueue.setText("Call.PositionInQueue", true), this.generateAudioExpression(); + } + static get managedProperties() { + 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[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(); } - 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; + g.info = u.default.createActionInfo({ actionClass: g, canBeInTask: true, helpTopic: o.helpTopics.actions.playPositionInQueue, modelClass: i2(38752), name: m.actions.playPositionInQueue, scriptingName: "ArchActionPlayPositionInQueue", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = g; + }, 20407(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); + } + getDetails() { + var e3; + return (null === (e3 = this.user) || void 0 === e3 ? void 0 : e3.isLiteralMode) && this.user.text ? new r.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: p.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: u.expressionTypeNames.userQueue }]; + } } - 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; + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.playUserGreeting, modelClass: i2(71507), name: d.actions.playUserGreeting, scriptingName: "ArchActionPlayUserGreeting", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 86527(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); + } + getDetails() { + var e3; + return (null === (e3 = this.user) || void 0 === e3 ? void 0 : e3.isLiteralMode) && this.user.text ? new r.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: p.createYamlOptions("user", (e3) => e3.setPropertyName("targetUser").setExportOrder(20)), property: "user", type: u.expressionTypeNames.userQueue }]; + } } - var he = class extends Error { + p.info = l.default.createActionInfo({ actionClass: p, canBeInTask: true, helpTopic: o.helpTopics.actions.playUserName, modelClass: i2(36955), name: d.actions.playUserName, scriptingName: "ArchActionPlayUserName", modelFormatSupport: { flowYaml: { inProgress: true, feature: c.default.changeSetsFeaturePhase2 } } }), t2.A = p; + }, 39843(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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(), 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); + super(e3.parentFlow, e3), this._loadModel(t3); } - toString(e3) { - return `${this.name}: ${_e(this, e3)}`; + isInStartupObject() { + const e3 = this.topParent; + return (e3.isMenuChoice ? e3.parent : e3).isStartUpObject; } - }; - 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); + getFlowInfoSpecTerminalKind() { + } + 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); } - 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 ""; + c.info = r.default.createActionInfo({ actionClass: c, canBeInTask: true, canBeTreeNode: true, helpTopic: o.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; + }, 93087(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(27203)), r = 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" }]; + } + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + static get voicemailInputInfoMessage() { + return r.isFeatureAvailable(a.default.voicemailRecordingMaxTime) ? d.processVoicemailInput.processVoicemailInputInfoMessageWithMaxRecordingTime : d.processVoicemailInput.processVoicemailInputInfoMessage; + } + static get branchInfo() { + return o.default.faxProcessedVoicemailNoInputFailure; } } - 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)); + 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; + }, 5578(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(21647), r = 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); + } + static get branchInfo() { + return a.default.successFailure; + } + _getPossibleErrors() { + return d.promoteExternalContactFailureReasons; + } + static get managedProperties() { + return [{ label: _.commonExternalContact.nameLabel, options: r.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalIdExpression").setDisableSpellcheck(true).setDefaultToExpression(true).facets.setMinLength(1)), property: "externalId", type: c.expressionTypeNames.string }, { label: _.commonExternalContact.externalContactResult, options: o.ExpressionTypeComplexOptions.create((e3) => e3.setTypeIdentifier(c.expressionTypeNames.externalContact).setIninTestingField("ExternalContactExpression").setAsOutput().setAllowSecure(true)), property: "externalResult", type: c.expressionTypeNames.externalContact }]; + } } - function Se(e3) { - return e3 >= 48 && e3 <= 57 ? e3 - 48 : (32 | e3) - 97 + 10; + 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; + }, 61781(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); + } + getFlowInfoSpecTerminalKind() { + } } - function Ae(e3) { - return 120 === e3 ? 2 : 117 === e3 ? 4 : 8; + c.info = r.default.createActionInfo({ actionClass: c, canBeInTask: false, canBeTreeNode: true, helpTopic: o.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; + }, 24669(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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([m.returnToAgent.reasonCodeLabel], [this.reasonCode.text]); + } + static get managedProperties() { + 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; + } } - 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++; - } + g.info = u.default.createActionInfo({ actionClass: g, canBeInTask: true, canBeTreeNode: true, helpTopic: r.helpTopics.actions.returnToAgent, modelClass: i2(63007), name: m.actions.returnToAgent, scriptingName: "ArchActionReturnToAgent", termination: c.terminatesFlow, availabilityCallback: function(e3, t3, i3) { + return !o.default.contains(l.flowTypes.flowTypesAllAutomate, e3) || !(!i3 || !t3.isState); + }, modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.A = g; + }, 77372(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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 = r.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 = r.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, o.sprintf)(g.screenPop.mustSelectScript, i3), noInputs: (0, o.sprintf)(g.screenPop.noInputs, i3), savedVersionOfScript: (0, o.sprintf)(g.screenPop.savedVersionOfScript, i3), scriptMissingFeature: (0, o.sprintf)(g.screenPop.scriptMissingFeature, i3, n3), scriptNotFound: (0, o.sprintf)(g.screenPop.scriptNotFound, i3), selectedScript: this._scriptManager.dependencyContext, selectScript: (0, o.sprintf)(g.screenPop.selectScript, i3) }, this._loadModel(t3); + } + get result() { + return this.model.result; + } + getDetails() { + return this.scriptName ? new d.ActionDetails([this.resources.selectedScript], [this.scriptName]) : null; + } + static get managedProperties() { + return [{ createDetails: _.ScriptProperties.createCreateDetails("screenPopId", "screenPopName"), yamlOptions: f.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("screenPopScript")), property: "scriptSettings" }]; + } + get scriptManager() { + return this._scriptManager; + } + get allScriptsManager() { + return this._allScriptsManager; + } + getCachedServerPropertyById(e3, t3) { + return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); } - return { position: t3, breaks: n3 }; } - function ve(e3) { - return 1 === e3 ? " " : "\n".repeat(e3 - 1); + 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; + }, 72627(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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); + } + static get branchInfo() { + return u.default.matchExactMultipleNotFound; + } + static get managedProperties() { + 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, o.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([g.generic.searchTerm], [c.getDisplayText(this.externalId)]) : null; + } } - 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; + f.info = d.default.createActionInfo({ actionClass: f, canBeInTask: true, helpTopic: r.helpTopics.actions.searchExternalContacts, modelClass: i2(9275), name: g.actions.searchExternalContacts, scriptingName: "ArchActionSearchExternalContacts", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = f; + }, 71516(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); + } + getDetails() { + return this.messageBody ? new r.ActionDetails([g.sendAutoReply.sendBody], [this.messageBody.text]) : null; + } + setNewInstanceDefaults() { + super.setNewInstanceDefaults(...arguments), this.replyToSenderOnly = true; + } + _initializeDesignTime() { + super._initializeDesignTime(), o.default.isUndefined(this.replyToSenderOnly) && (this.replyToSenderOnly = false); + } + get replyToSenderOnly() { + return this.model.replyToSenderOnly; + } + set replyToSenderOnly(e3) { + 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: 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; } - 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); + 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; + }, 43080(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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)), I = i2(54057), C = i2(28803), O = 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); + } + initializeDesignTime() { + super.initializeDesignTime(), this.addAutoCleanedUpEventSinkWatch(f.valueChanged, this.library, () => { + this.messagingTemplate.reset(), this._updatePropertiesOOS(); + }), this.addAutoCleanedUpEventSinkWatch(f.expressionValueChanged, this.messagingTemplateType, () => { + this.messagingTemplate.reset(), this._updatePropertiesOOS(); + }), this.addAutoCleanedUpEventSinkWatch(f.valueChanged, this.messagingTemplate, () => { + this._handleMessagingTemplateSelectionChanged(); + }); + } + get supportsCustomOutputPaths() { + return true; + } + get responseLibrary() { + return this.model.responseLibrary; + } + set responseLibrary(e3) { + this.model.responseLibrary = e3; + } + get responseId() { + return this.messagingTemplateId; + } + get selectedResponse() { + if (this.responseId) return this.responseManager.getItem(this.responseId); + } + get selectedResponseLibrary() { + var e3; + if ((null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id) && this.libraryManager) return this.libraryManager.getItem(this.responseLibrary.id); + } + static get branchInfo() { + return [...h.default.successFailure, h.default.maxNoInputsOptional, h.default.maxNoMatchesOptional]; + } + setNewInstanceDefaults(e3) { + 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([L.getResponse.library, L.messagingTemplate.messagingTemplateLabel], [this.responseLibrary.name, this.messagingTemplateName]); + } + static get managedProperties() { + return [{ createDetails: O.NoteActionProperty.createCreateDetails((0, r.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, r.sprintf)(s.default.generic.twoStringsSpaceSeparator, L.cannedResponses.cannedResponseTypeMessageTemplateDescription, L.generic.pickOneToSend)).setIninTestingField("messagingTemplate").setUiPropertyOrder(4).setDropdownPlaceholder(L.messagingTemplate.selectMessagingTemplate)), property: "messagingTemplate", createDetails: C.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: O.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; + if (!(null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id)) return; + const i3 = (0, I.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; } - return n4 + e4.slice(o2, a2); - })(e3, i3, n3); + 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 }; } - } - 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); + _searchFilterCallback(e3) { + var t3, i3, n3, r2; + if (e3.responseType !== R.CannedResponseType.messagingTemplate) return false; + if (!o.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 === (r2 = this.messagingTemplateType) || void 0 === r2 ? void 0 : r2.text) { + case w.CannedResponseMessageTemplateType.standard: + return M.isFeatureUnavailable(F.default.whatsAppCustomTemplateFeature) ? a2 : !a2; + case w.CannedResponseMessageTemplateType.carousel: + return a2; + default: + return false; + } + } + _updatePropertiesOOS() { + var e3, t3, i3, n3; + super._updatePropertiesOOS(), this.question.outOfService = true, this.messagingTemplate.outOfService = !this.responseLibrary, this.selectionResult.outOfService = !this.messagingTemplateId, this.noSubstitutionsNote.outOfService = (null === (t3 = null === (e3 = this.substitutions) || void 0 === e3 ? void 0 : e3.items) || void 0 === t3 ? void 0 : t3.length) > 0 || !this.messagingTemplateId, this.substitutions && (this.substitutions.outOfService = (null === (n3 = null === (i3 = this.substitutions) || void 0 === i3 ? void 0 : i3.items) || void 0 === n3 ? void 0 : n3.length) < 1 || !this.messagingTemplateId); + } + _handleMessagingTemplateSelectionChanged() { + return n2.__awaiter(this, void 0, void 0, function* () { + this.messagingTemplateId, this._mergeSchemaProperties(), this._updatePropertiesOOS(), this.substitutions.orderChanged(), (0, S.validateAction)(this, void 0, true); + }); + } + _mergeSchemaProperties() { + const e3 = this.selectedResponse; + (null == e3 ? void 0 : e3.substitutions) ? this.responseManager.mergeSchemaProperties(e3.substitutions, this.substitutions) : this.substitutions.destroyChildren(); + } + get selectedResponseNotInResponseLibraryMessage() { + var e3; + if (!this.responseId) return ""; + const t3 = this.selectedResponse; + 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 || o.default.isUndefined(o.default.find(this.selectedResponse.libraries, { id: this.selectedResponseLibrary.id }))); + } + search(e3) { + 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, L.getResponse.responseLibraryNotFound)), super.validate(e3); + } + _preDestroy() { + super._preDestroy(), this.responseManager.tryRemoveItemFromFlowMetadata(this, this.messagingTemplateId); + } + postProcessYamlConfig(e3, t3, i3) { + var n3; + if (!this.messagingTemplateName) return false; + const r2 = (null === (n3 = this.responseLibrary) || void 0 === n3 ? void 0 : n3.name) || T.unknownLibrary; + e3.library = {}; + const a2 = (e3.library[r2] = { messagingTemplate: {} }).messagingTemplate[this.messagingTemplateName] = {}; + return e3.substitutions ? o.default.moveAndDeleteProperty(e3, a2, "substitutions") : o.default.ensureYamlNoneTrue(a2), true; + } + setMessagingTemplateDataAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this.messagingTemplate.setValue(e3), yield this.responseManager.getSubstitutionInputs(e3), this._mergeSchemaProperties(), this._updatePropertiesOOS(); + }); } } - 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}>`); + 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; + }, 76657(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(80428), r = 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); } - 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 }; - } + static get branchInfo() { + return s.default.successFailure; } - 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); + static get managedProperties() { + 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: o.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: o.expressionTypeNames.string }, { label: m.image.image, options: r.ExpressionTypeImageOptions.create((e3) => e3.setIsOptional(true).setAllowModeLiteralOnly().setUiPropertyGroup(m.sendInteractiveApplication.receivedMessage).setIninTestingField("applicationImage")), property: "applicationImage", type: o.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: o.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: o.expressionTypeNames.string }]; } } - 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; + 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; + }, 71222(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(27203)), r = i2(12179), a = n2.__importDefault(i2(5730)), s = n2.__importDefault(i2(97891)), l = i2(97891), u = i2(81516), c = i2(20083), d = i2(99769), p = i2(80428), _ = i2(38551), h = n2.__importStar(i2(36781)), m = n2.__importDefault(i2(92140)), g = i2(87870), f = n2.__importDefault(i2(4648)), T = i2(47957); + class y extends a.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + _initializeDesignTime() { + var e3, t3, i3; + super._initializeDesignTime(); + const n3 = this.parentFlow; + (null === (e3 = n3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.isKnowledgeV3AvailableInOrg) && (this._setKnowledgeVersionSettings(null === (i3 = null === (t3 = n3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeVersion) || void 0 === i3 ? void 0 : i3.text), this.addAutoCleanedUpEventListener(h.knowledgeVersionChanged, (e4) => { + this._setKnowledgeVersionSettings(e4); + })); + } + static get branchInfo() { + return o.default.successFailure; + } + static get managedProperties() { + return [{ label: T.sendKnowledgeFeedback.knowledgeArticleLabel, options: c.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setDescriptionInfo(T.sendKnowledgeFeedback.knowledgeArticleLabel, T.sendKnowledgeFeedback.knowledgeArticleDescription).setAllowModeExpressionOnly(false).setUiDisableOnOutOfService(true).setIninTestingField("knowledge-feedback-article")), property: "knowledgeArticle", type: p.expressionTypeNames.knowledgeBaseDocument }, { label: T.sendKnowledgeFeedback.knowledgeSearchIdLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setIninTestingField("knowledge-feedback-search-id").setDefaultText("Session.LastKnowledgeSearchId").setUiDisableOnOutOfService(true).setDefaultToExpression(true)), property: "knowledgeSearchId", type: p.expressionTypeNames.string }, { label: T.sendKnowledgeFeedback.knowledgeFeedbackLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(false).setDescriptionInfo(T.sendKnowledgeFeedback.knowledgeFeedbackLabel, T.sendKnowledgeFeedback.knowledgeFeedbackDescription).setIninTestingField("knowledge-feedback-values").setUiDisableOnOutOfService(true).setAllowModeBuilder(false).facets.setAllowableValues(d.allKnowledgeFeedbackValues)), property: "knowledgeFeedback", type: p.expressionTypeNames.string }, { createDetails: g.NoteActionProperty.createCreateDetails(T.sendKnowledgeFeedback.knowledgeSettingAlert, "info", "knowledgeFeedbackV3Alert", void 0), property: "knowledgeFeedbackV3Alert", yamlOptions: y.createYamlOptions("knowledgeFeedbackV3Alert", (e3) => e3.setSkipProperty(true)) }]; + } + _setKnowledgeVersionSettings(e3) { + e3 === _.KnowledgeVersionValues.v3 ? (m.default.each(this.managedPropertyViewModels, (e4) => { + e4.isNoteProperty || (e4.isOptional = true, e4.outOfService = true, e4.setAsNoValue()); + }), this.knowledgeFeedbackV3Alert.outOfService = false) : (m.default.each(this.managedPropertyViewModels, (e4) => { + e4.isOptional = false, e4.outOfService = false; + }), this.knowledgeFeedbackV3Alert.outOfService = true); } - 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); + y.info = s.default.createActionInfo({ actionClass: y, canBeInTask: true, canBeTreeNode: false, navigatorAvailability: l.navigatorAvailability.disallowed, helpTopic: r.helpTopics.actions.sendKnowledgeFeedback, modelClass: i2(53548), name: T.actions.sendKnowledgeFeedback, scriptingName: "ArchActionSendKnowledgeFeedback", modelFormatSupport: { flowYaml: { inProgress: true, feature: f.default.changeSetsFeaturePhase2 } } }), t2.A = y; + }, 49450(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(80428), r = 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(c.expressionValueChanged, this.notificationType, () => { + this.setOutOfService(); + }), this.setOutOfService(); + } + static get managedProperties() { + 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: o.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: o.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: o.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: o.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: o.expressionTypeNames.string }, { label: T.sendNotification.emailFromLabel, options: r.ExpressionTypeComplexOptions.create((e3) => e3.setAsInput().setTypeIdentifier(o.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: o.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: o.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: o.expressionTypeNames.string }]; + } + static get branchInfo() { + return u.default.successFailure; + } + _getPossibleErrors() { + return d.sendNotificationFailureReasons; + } + setOutOfService() { + switch (this.notificationType.text) { + case "email": + this.setOutOfServiceForEmailProperties(true), this.setOutOfServiceForChatProperties(false); 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); - } + case "chat": + this.setOutOfServiceForEmailProperties(false), this.setOutOfServiceForChatProperties(true); break; - } + default: + this.setOutOfServiceForEmailProperties(false), this.setOutOfServiceForChatProperties(false); } + _.validate(this, true); } - 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); + setOutOfServiceForChatProperties(e3) { + this.sendToGroup.outOfService = !e3, this.chatMessage.outOfService = !e3; } - 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); + setOutOfServiceForEmailProperties(e3) { + 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; } - 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"); + 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; + }, 63150(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); + } + getDetails() { + if (!this.messageBody) return null; + const e3 = [], t3 = []; + if (e3.push(g.sendResponse.sendBody), t3.push(this.messageBody.text), !this.messageBodyStyle.outOfService) { + e3.push(g.sendResponse.messageBodyStyleLabel); + let i3 = this.messageBodyStyle.text; + if (this.messageBodyStyle.isLiteralMode) { + const e4 = o.default.find(m, { id: this.messageBodyStyle.text }); + i3 = e4 ? e4.displayString : g.sendResponse.noMessageBodyStyle; + } + t3.push(i3); + } + return new r.ActionDetails(e3, t3); + } + static get managedProperties() { + 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 }]; + } } - 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"); + 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; + }, 77953(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = 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 I extends a.default { + static get branchInfo() { + return s.default.successFailure; + } + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + static get managedProperties() { + return [{ createDetails: g.NoteActionProperty.createCreateDetails(v.sendRichLink.showNote, "info", "showNote"), options: h.ManagedPropertyOptions.create((e3) => e3.setUiPropertyOrder(0)), property: "showNote", yamlOptions: I.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(r.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(o.expressionValueChanged, this.headerType, () => { + this._updateState(); + }), this.addAutoCleanedUpEventSinkWatch(o.expressionModeChanged, this.headerType, () => { + this._updateState(); + }), this._updateState(); + } + _updateOutOfService() { + 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; + 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(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(); + } + _getPossibleErrors() { + return y.sendRichLinkFailureReasons; } - 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; + I.info = m.default.createActionInfo({ actionClass: I, 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 = I; + }, 17637(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(81516), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(1115)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = i2(97891), d = n2.__importDefault(i2(5730)), p = i2(80428), _ = n2.__importDefault(i2(4648)), h = i2(47957); + class m extends d.default { + static get managedProperties() { + return [{ label: h.callBotFlowAction.intent, options: r.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("intent").setUiPropertyOrder(0).facets.setAllowNull(false)), property: "intent", type: p.expressionTypeNames.string }]; + } + constructor(e3, t3) { + super(e3.parentFlow, e3), this.onNluIntentConfigurationUpdated = (e4) => { + var t4; + this.parentFlow === e4 && (null === (t4 = this.parentFlow) || void 0 === t4 ? void 0 : t4.initializeDesignTimeCalled) && !this.parentFlow.isDestroyedOrDestroying && this._configureIntentAllowableValues(); + }, this._loadModel(t3); + } + _configureIntentAllowableValues() { + this.intent.options.facets.setAllowableValues(this.parentFlow.nluMetaData.allowableIntentValues), s.validateAction(this, false, true); + } + _initializeDesignTime() { + super._initializeDesignTime(), this.addAutoCleanedUpEventListener(a.nluIntentConfigurationUpdated, this.onNluIntentConfigurationUpdated), this._configureIntentAllowableValues(), this.intent.attachValidator((e3, t3) => { + const i3 = this.parentFlow.nluMetaData.allowableIntentValues; + (!o.default.isArray(i3) || i3.length < 1) && t3.setParseError(h.setIntent.nluMustHaveOneIntentToSetIntent); + }); + } } - function bt(e3, t3) { - At(e3, false), e3.lineIndent < t3 && ct(e3, "deficient indentation"); + m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, navigatorAvailability: c.navigatorAvailability.disallowed, helpTopic: l.helpTopics.actions.setActiveIntent, modelClass: i2(94639), name: h.actions.setIntent, scriptingName: "ArchActionSetIntent", modelFormatSupport: { flowYaml: { inProgress: true, feature: _.default.changeSetsFeaturePhase2 } } }), t2.A = m; + }, 6174(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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); + } } - 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"); + u.info = r.default.createActionInfo({ actionClass: u, canBeInTask: true, helpTopic: o.helpTopics.actions.setAttributes, modelClass: i2(89844), name: l.actions.setAttributes, scriptingName: "ArchActionSetParticipantData", modelFormatSupport: { flowYaml: { inProgress: true, feature: s.default.changeSetsFeaturePhase2 } } }), t2.A = u; + }, 72040(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(81516), r = 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: o.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 r.default.successFailure; + } } - 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"); + 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; + }, 84378(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(81516), r = 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); + } + static get managedProperties() { + return [{ label: d.setExternalTag.externalTagSettingLabel, options: o.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalTag").setDisableSpellcheck(true).facets.setMaxLength(36)), property: "externalTag", type: u.expressionTypeNames.string }]; + } + static get branchInfo() { + return r.default.successFailure; } - 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; + 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; + }, 21401(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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(58155), p = i2(65011), _ = i2(47957); + class h extends l.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + getDetails() { + return this.outcomeId ? new r.ActionDetails([_.flowOutcomes.flowOutcome, _.generic.value], [this.outcomeName, this.outcomeValue.text]) : null; + } + getFlowInfoSpecAnnotation() { + var e3; + if (null === (e3 = this.outcomeName) || void 0 === e3 ? void 0 : e3.length) return `-> outcome ${this.getFlowInfoSpecNameLabel(this.outcomeName)} value: ${(0, d.escapeFlowInfoSpecInlineText)(this.outcomeValue.text)}`; + } + static get managedProperties() { + return [{ property: "outcomeValue", label: _.generic.value, options: a.ExpressionTypeStringOptions.create((e3) => e3.setAllowModeLiteralOnly().setIninTestingField("outcome-value-expression").setUiPropertyOrder(1).facets.setTrim(true).setAllowableValues(p)), yamlOptions: h.createYamlOptions("outcomeValue", (e3) => e3.setPropertyName("flowOutcomeValue").setShouldBePlainJsType(true)), type: u.expressionTypeNames.string }]; } - 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; + h.info = s.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: o.helpTopics.actions.setFlowOutcome, modelClass: i2(67277), name: _.actions.setFlowOutcome, scriptingName: "ArchActionSetFlowOutcome", modelFormatSupport: { flowYaml: { feature: c.default.changeSetsFeaturePhase1 } } }), t2.A = h; + }, 37595(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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); } - 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); + getDetails() { + return this.languageCode && this.languageCode.text ? new d.ActionDetails([f.actions.language], [this.languageCode.text]) : null; + } + get amObjectEventSink() { + return true; + } + objEvent_supportedLanguagesChanged() { + this._configureAllowableLanguageCodes(), u.validateAction(this, true, true); + } + static get managedProperties() { + 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: o.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(o.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 ? f.setLocale.warningAutomate : e3.isCommonModuleFlow || e3.isInQueueCallFlow || e3.isVoicemailFlow ? f.setLocale.warningImmediate : f.setLocale.warning; + } + isSetLanguageWarningNoteApplicable(e3) { + return !(e3.isNluFlow || e3.isSurveyInvite || e3.isWorkflow); + } + search(e3) { + if (super.search(e3), this.languageCode.text && this.languageCode.isLiteralMode) { + const t3 = l.getLanguageDisplayName(this.languageCode.text); + t3 && e3.checkText(this, t3, this.languageCode.label); } - 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)); + _configureAllowableLanguageCodes() { + this.languageCode.options.facets.setAllowableValues(l.getLanguageEntries(this.parentFlow.languages.supportedLanguages)); } - 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 }); + _overrideProperties() { + var e3, t3, i3; + super._overrideProperties.apply(this, arguments), this.languageCode.mode === r.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 === r.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)); + }); } - 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"); + 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; + }, 52423(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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)), I = n2.__importStar(i2(1115)), C = i2(17604), O = i2(12729), b = i2(47957), E = (0, C.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); } - 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"); + static get managedProperties() { + 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: O.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)) }]; } - 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); + get flowId() { + var e3; + return null === (e3 = this.getTargetFlowRefProp()) || void 0 === e3 ? void 0 : e3.flowId; } - }, 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 }; + get flowName() { + var e3; + return null === (e3 = this.getTargetFlowRefProp()) || void 0 === e3 ? void 0 : e3.flowName; } - 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 }; - } + get flowType() { + return this.getTargetFlowTypeForActionType(); + } + initializeDesignTime() { + var e3; + super.initializeDesignTime(), this._updateOutOfService(), this.addAutoCleanedUpEventSinkWatch(s.expressionValueChanged, this.actionType, () => { + this._updateOutOfService(); + }), (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.isCommonModuleFlow) && this.parentFlow.commonModuleSettings && this.addAutoCleanedUpEventSinkWatch(s.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { + this._updateOptionsForCommonModule(); + }), this._updateOptionsForCommonModule(); + } + _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(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, o2 = false, r2 = true; + switch (this.actionType.text) { + case N.inboundCallFlow.id: + e3 = false, n3 = false, r2 = false; + break; + case N.voiceSurveyFlow.id: + t3 = false, n3 = false, r2 = false; + break; + case N.inboundShortMessageFlow.id: + i3 = false, n3 = false; } - 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)}`); + this.inboundCallFlow.outOfService !== e3 && (this.inboundCallFlow.outOfService = e3, o2 = true), this.voiceSurveyFlow.outOfService !== t3 && (this.voiceSurveyFlow.outOfService = t3, o2 = true), this.inboundShortMessageFlow.outOfService !== i3 && (this.inboundShortMessageFlow.outOfService = i3, o2 = true), this.updateWarning.outOfService = r2, this.invocationData.outOfService !== n3 && (this.invocationData.outOfService = n3, o2 = true), o2 && I.validateAction(this, false, true); } - 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) }; + postProcessYamlConfig(e3, t3, i3) { + e3.actionType = {}; + const n3 = this.actionType.text || N.inboundCallFlow.id, o2 = {}; + e3.actionType[n3] = o2, o2.targetFlow = e3[n3], e3.invocationData && (o2.invocationData = e3.invocationData, delete e3.invocationData), delete e3.inboundCallFlow, delete e3.voiceSurveyFlow, delete e3.inboundShortMessageFlow; } - 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); + getTargetFlowRefProp() { + switch (this.actionType.text) { + case N.inboundCallFlow.id: + return this.inboundCallFlow; + case N.voiceSurveyFlow.id: + return this.voiceSurveyFlow; + case N.inboundShortMessageFlow.id: + return this.inboundShortMessageFlow; } - 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 }); + repointSelfReferencingFlow(e3, t3) { + var i3; + null === (i3 = this.getTargetFlowRefProp()) || void 0 === i3 || i3.repointSelfReference(e3, t3); } - 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; + getTargetFlowTypeForActionType() { + switch (this.actionType.text) { + case N.inboundCallFlow.id: + return d.flowTypes.flowTypeInboundCall; + case N.voiceSurveyFlow.id: + return d.flowTypes.flowTypeVoiceSurvey; + case N.inboundShortMessageFlow.id: + return d.flowTypes.flowTypeInboundShortMessage; + } + } + static getPostFlowActionTypesForFlowType(e3) { + var t3; + (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 d.flowTypes.flowTypeInboundShortMessage: + this._postFlowActionTypesByFlowType[d.flowTypes.flowTypeInboundShortMessage] = { postFlowActionTypes: [N.inboundShortMessageFlow] }; + break; + case d.flowTypes.flowTypeCommonModule: + this._postFlowActionTypesByFlowType[d.flowTypes.flowTypeCommonModule] = { postFlowActionTypes: N.allPostFlowActionTypes }; + break; + 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: + this._postFlowActionTypesByFlowType[e3] = { postFlowActionTypes: void 0 }; } + i3 = this._postFlowActionTypesByFlowType[e3].postFlowActionTypes; + } + return i3; } - 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; + static getPostFlowActionTypesMapForFlowType(e3) { + var t3; + (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); + if (null == t4 ? void 0 : t4.length) { + const n3 = {}; + for (const e4 of t4) n3[e4.id] = e4; + this._postFlowActionTypesMapByFlowType[e3] = { postFlowActionTypesMap: n3 }, i3 = n3; + } else this._postFlowActionTypesMapByFlowType[e3] = { postFlowActionTypesMap: void 0 }; + } + return i3; } - 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; + _updateCommonModuleNoteVisibility() { + const e3 = this._hasFlowTypesWithConflictingFlowTypes(); + this.target && this.target.options.setReadOnly(e3), this.actionType && this.actionType.options.setReadOnly(e3), this.invocationData && this.invocationData.options.setReadOnly(e3), this.commonModuleNote.outOfService = !e3; } - 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); + _getAllowableValueMapKeysAsStr(e3) { + var t3, i3; + if (e3) return null === (i3 = null === (t3 = Object.keys(e3)) || void 0 === t3 ? void 0 : t3.sort()) || void 0 === i3 ? void 0 : i3.join("-"); + } + _hasFlowTypesWithConflictingFlowTypes() { + return !o.default.isEmpty(this._getFlowTypesWithConflictingPostFlowActionTypes()); + } + _getFlowTypesWithConflictingPostFlowActionTypes() { + const e3 = this.parentFlow.destinationFlowTypes; + if (!e3 || e3.length <= 1) return {}; + 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() { + const e3 = this.parentFlow.destinationFlowTypes; + if (!e3 || e3.length <= 1) return {}; + const t3 = {}; + for (const i3 of e3) { + const e4 = w.getPostFlowActionTypesForFlowType(i3); + if (null == e4 ? void 0 : e4.length) for (const i4 of e4) t3[i4.id] = i4; } - 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; + return t3; } - 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; + validate(e3) { + var t3; + super.validate(e3); + const i3 = this._getFlowTypesWithConflictingPostFlowActionTypes(); + if (!o.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 o2 = (0, C.sprintf)(b.errors.invalidFlowTypeCombinationError, b.actions.setPostFlow, (0, g.getListDisplayString)(n3, void 0, void 0, true)); + e3.addError(this, o2), this.commonModuleNote.note = o2; } - 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; + w.info = S.default.createActionInfo({ actionClass: w, canBeInTask: true, helpTopic: r.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; + }, 93213(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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: _.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: [o.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 }]; } - 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; + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + static get branchInfo() { + return s.default.successFailure; } - return r3; } - function pi(e3) { - return "scalar" === e3.kind ? e3.value : e3; + h.info = u.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: r.helpTopics.actions.setPriority, modelClass: i2(371), name: _.actions.setPriority, scriptingName: "ArchActionSetPriority", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; + }, 3416(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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); + } + static get branchInfo() { + return r.default.successFailure; + } + get isSecureDataAction() { + return true; + } + static get managedProperties() { + return [{ createDetails: l.NoteActionProperty.createCreateDetails((0, o.sprintf)(d.securedActions.securedActionsInformationalMessage, d.generic.branches.matchExact), "info", "setSecureDataNote"), property: "actionInformationalMessage", yamlOptions: p.createYamlOptions("actionInformationalMessage", (e3) => e3.setSkipProperty(true)) }]; + } } - 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))); + 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; + }, 63003(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(5478)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + static get managedProperties() { + return [{ label: _.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", options: r.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 d.setSkillExpressionFiltersFailureReasons; } - return i3; } - function hi(e3, t3, i3) { - return t3.style.tagged || void 0 !== t3.anchor || e3.indent < 2 && i3 > 0; + 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; + }, 97643(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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: _.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: [o.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: r.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: [o.flowTypes.flowTypeWorkitem], options: r.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); + } + static get branchInfo() { + return s.default.successFailure; + } } - 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; + 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; + }, 71002(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(80428), r = 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 = _.transfer); + } + getDetails() { + 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: p.transfer.uuiData, options: r.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: o.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 _.transfer: + case _.disconnect: + this.model.mode = e3, (0, a.validateAction)(this, true, true); } - 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}`; + postProcessYamlConfig(e3, t3, i3) { + var n3; + (null === (n3 = this.mode) || void 0 === n3 ? void 0 : n3.name) && (e3.mode = this.mode.name); } - 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; + 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; + }, 64315(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(5478)), r = 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 o.default { + static get managedProperties() { + 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); + } + static get branchInfo() { + return r.default.successFailure; + } + _getPossibleErrors() { + return this.parentFlow.isWorkitemFlow ? d.setUtilizationLabelFailureReasonsWithWorkitem : c.setUtilizationLabelFailureReasons; + } } - function Ti(e3) { - let t3 = ""; - for (const i3 of e3.directives) { - if ("yaml" === i3.kind) { - t3 += `%YAML ${i3.version} -`; - continue; + 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; + }, 48289(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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 r.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([_.audio.audioLabel], [e3]); + if (this.whisperAudio.noValueMode) return new u.ActionDetails([""], [_.setWhisperAudio.noValueRuntimeEvaluationString]); } - const { handle: e4, prefix: n3 } = i3; - t3 += `%TAG ${e4} ${n3} -`; + return null; + } + static get branchInfo() { + return a.default.successFailure; + } + static get managedProperties() { + 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)) }]; + } + } + h.info = l.default.createActionInfo({ actionClass: h, canBeInTask: true, helpTopic: o.helpTopics.actions.setWhisperAudio, modelClass: i2(40311), name: _.actions.setWhisperAudio, scriptingName: "ArchActionSetWhisperAudio", modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = h; + }, 72749(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(12179), r = 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"; + } + static get branchInfo() { + return s.default.successFailure; + } + getDetails() { + return this.wrapupCode && this.wrapupCode.text ? new r.ActionDetails([p.setWrapupCode.wrapupCode], [this.wrapupCode.text]) : null; + } + static get managedProperties() { + return [{ label: p.setWrapupCode.wrapupCode, options: a.ExpressionTypeWrapupCodeOptions.create((e3) => e3.setIninTestingField("wrapupCodeExpression").setAllowNotSet(false).facets.setAllowNull(false)), property: "wrapupCode", type: c.expressionTypeNames.wrapupCode }]; } - 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"); + get informationalMessage() { + return this.parentFlow.isCallFlowType ? p.setWrapupCode.applyWarning : ""; } - 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; + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, helpTopic: o.helpTopics.actions.setWrapupCode, modelClass: i2(75151), name: p.actions.setWrapupCode, scriptingName: "ArchActionSetWrapupCode", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; + }, 10955(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(1115)), r = 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(() => o.validateAction(this, true, true)); + } + _initializeDesignTime() { + var e3, t3, i3; + super._initializeDesignTime(); + const n3 = this.parentFlow; + (null === (e3 = n3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.isKnowledgeV3AvailableInOrg) && (this._setKnowledgeVersionSettings(null === (i3 = null === (t3 = n3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeVersion) || void 0 === i3 ? void 0 : i3.text), this.addAutoCleanedUpEventListener(_.knowledgeVersionChanged, (e4) => { + this._setKnowledgeVersionSettings(e4); + })); + } + static get managedProperties() { + 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); } - 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) }; + f.info = s.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: true, helpTopic: r.helpTopics.actions.showKnowledgeArticle, modelClass: i2(22780), name: g.actions.showKnowledgeArticle, scriptingName: "ArchActionShowKnowledgeArticle", modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } } }), t2.A = f; + }, 58778(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(62829)), r = i2(96618), a = n2.__importDefault(i2(97891)), s = i2(30801), l = i2(47957); + class u { + static get info() { + return c; + } + static get notRealAction() { + return true; + } } - 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.A = u; + const c = a.default.create(s.stateActionType, false, true); + c.modelClass = i2(52030), c.name = l.actions.state, c.supportedFlowTypes = r.flowTypes.flowTypesAllAutomate, c.setActionClass(u), o.registerAction(c); + }, 30346(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(19384), r = i2(12179), a = n2.__importDefault(i2(97891)), s = n2.__importDefault(i2(5730)), l = i2(46744), u = n2.__importDefault(i2(4648)), c = i2(47957); + class d extends s.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + static get notRealAction() { + return false; + } + get menuReference() { + return this.model.menuReference; + } + set menuReference(e3) { + this.model.menuReference = e3; + } + initialize() { + super.initialize(); + const e3 = this.parentFlow; + if (this.menu) return; + const t3 = this.menuReference; + if (!t3) return; + if (!e3) return; + const i3 = e3.getMenuById(t3); + this.linkMenu(i3); + } + get canCollapse() { + return this.menu && this.menu.canCollapse; + } + get collapsed() { + return !!this.menu && this.menu.collapsed; + } + set collapsed(e3) { + (0, l.markCollapseToggled)(this), this.menu && (this.menu.collapsed = e3); + } + get isSubMenuActionViewModel() { + return true; + } + linkMenu(e3) { + this.menuReference = e3.id, this.menu = e3; + } + validate(e3) { + this.menuReference ? o.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference) || e3.addInternalError(this, c.menu.invalidReference) : e3.addInternalError(this, c.menu.noReference); + } } - 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; - } - } + d.info = a.default.createActionInfo({ actionClass: d, canBeInTask: false, canBeTreeNode: true, helpTopic: r.helpTopics.actions.subMenu, modelClass: i2(1248), name: c.actions.menu, scriptingName: "ArchActionMenu", modelFormatSupport: { flowYaml: { inProgress: true, feature: u.default.changeSetsFeaturePhase2 } } }), t2.A = d; + }, 83516(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(81516), r = 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: r.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: o.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: o.ExpressionTypeStringOptions.create((e3) => e3.setAsOutput().setIsOptional(true).setDescriptionInfo(p.submitVoiceSnippet.destinationVoiceSnippetIdLabel, p.submitVoiceSnippet.destinationVoiceSnippetIdDescription).setIninTestingField("destinationSnippetId")), property: "destinationSnippetId", type: d.expressionTypeNames.string }]; } - 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), 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); - } - _loadModel(e3) { - this._contentModel = e3, this._dependenciesViewModel = new l(this.contentModel.dependencies, this.clipboardLogging); + super(e3.parentFlow, e3), this._loadModel(t3); } - _addManifestItemAction(e3) { - 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 d({ actionTypeId: e3.info.typeId, id: e3.id, trackingId: e3.trackingId }))); + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3), this.destination.setText(l.default.defaultDestinationId); } - _addManifestItemDataType(e3, t3) { - const i3 = n2.find(this._contentModel.manifest.dataTypeItems, function(t4) { - return t4.dataTypeId === e3.dataType; - }); - n2.isUndefined(i3) ? (n2.isArray(this._contentModel.manifest.dataTypeItems) || (this._contentModel.manifest.dataTypeItems = []), this._contentModel.manifest.dataTypeItems.push(new p({ dataTypeId: e3.dataType, applicableFlowTypes: t3 }))) : n2.isUndefined(i3.applicableFlowTypes) || (i3.applicableFlowTypes = n2.isUndefined(t3) ? void 0 : n2.union(i3.applicableFlowTypes, t3)); + initializeDesignTime() { + super.initializeDesignTime(), this.destination.options.facets.setAllowableValueUseOriginalDisplayString(true).setAllowableValueShowOriginalDisplayStringInPopover(true).setAllowableValues(l.default.getAvailableDestinations()), this.destinationSnippetId.outOfService = !l.default.getDestination(this.destination.text).submissionReturnsSnippetIdentifier; } - _addManifestItemMenu(e3) { - const t3 = n2.find(this._contentModel.manifest.menus, function(t4) { - return t4.id === e3.id; - }); - n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.menuItems) || (this._contentModel.manifest.menuItems = []), this._contentModel.manifest.menuItems.push(new h({ id: e3.id, trackingId: e3.trackingId }))); + static get branchInfo() { + return a.default.successFailure; } - _addManifestItemMenuChoice(e3) { - const t3 = n2.find(this._contentModel.manifest.menuChoices, function(t4) { - return t4.id === e3.id; - }); - n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.menuChoiceItems) || (this._contentModel.manifest.menuChoiceItems = []), this._contentModel.manifest.menuChoiceItems.push(new _({ actionTypeId: e3.action.info.typeId, id: e3.id, trackingId: e3.trackingId }))); + } + 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; + }, 37323(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(27203)), r = 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); } - _addManifestItemState(e3) { - const t3 = n2.find(this._contentModel.manifest.states, function(t4) { - return t4.id === e3.id; - }); - n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.stateItems) || (this._contentModel.manifest.stateItems = []), this._contentModel.manifest.stateItems.push(new m({ id: e3.id, trackingId: e3.trackingId }))); + static get branchInfo() { + return o.default.successFailure; } - _addManifestItemTask(e3) { - const t3 = n2.find(this._contentModel.manifest.tasks, function(t4) { - return t4.id === e3.id; + } + c.info = a.default.createActionInfo({ actionClass: c, canBeInTask: true, helpTopic: r.helpTopics.actions.submitVoicemailSnippet, modelClass: i2(93443), name: u.actions.submitVoicemailSnippet, scriptingName: "ArchActionSubmitVoicemailSnippet", modelFormatSupport: { flowYaml: { inProgress: true, feature: l.default.changeSetsFeaturePhase2 } } }), t2.A = c; + }, 23753(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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), I = i2(50474), C = i2(12457), O = 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(c.expressionValueChanged, this.expression, () => { + this._hasCaseMismatch(true) && S.validateAction(this, false, true); }); - n2.isUndefined(t3) && (n2.isArray(this._contentModel.manifest.taskItems) || (this._contentModel.manifest.taskItems = []), this._contentModel.manifest.taskItems.push(new g({ id: e3.id, trackingId: e3.trackingId }))); } - _canPasteToFlowType(e3) { - const t3 = e3 ? e3.type : "", i3 = this._canPasteByFlowType[t3]; - if (i3) return i3; - 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) => !v.getInfo(e5.actionTypeId).isAvailableForFlowType(t3, true)); - if (e4) { - const t4 = v.getInfo(e4.actionTypeId); - return this.createClipboardResultFailure(r2(C.clipboard.content.notSupportedByFlowType.action, t4.name, o2)); - } - } - if (n2.isUndefined(s2) && this._contentModel.contentRawJSON?.length > 0) { - const t4 = e3.definition.type; - let i4; - n2.find(this._contentModel.contentRawJSON[0], (e4) => { - if (e4?.uiMetaData?.builder) { - const n3 = e4.uiMetaData.builder.builderDefId; - if (0 === a.getAvailableBuilderDefinitions(void 0, t4, void 0, [n3]).length) return i4 = a.getBuilderDefById(n3), true; - } - return false; - }) && (l2 = r2(C.clipboard.content.notSupportedByFlowType.builder, i4.name, o2)); - } - if (n2.isUndefined(s2) && this._contentModel.manifest.dataTypeItems && this._contentModel.manifest.dataTypeItems.length > 0) { - const i4 = f.getTypeGroup(e3); - i4 ? n2.find(this._contentModel.manifest.dataTypeItems, function(a2) { - if (n2.isUndefined(a2.applicableFlowTypes) || n2.contains(a2.applicableFlowTypes, t3)) { - if (b(a2.dataTypeId)) return true; - const t4 = i4.getType(a2.dataTypeId); - if (!t4) { - const e4 = T.prototype.getDisplayStrForExpressionDataType(a2.dataTypeId); - return s2 = this.createClipboardResultFailure(n2.isString(e4) && e4.length ? r2(C.clipboard.content.notSupportedByFlowType.dataTypeKnown, e4, o2) : r2(C.clipboard.content.notSupportedByFlowType.dataTypeUnknown, o2)), true; - } - if (!t4.isAvailableForFlowType(e3.type, true)) return s2 = this.createClipboardResultFailure(r2(C.clipboard.content.notSupportedByFlowType.dataTypeKnown, t4.displayString, o2)), true; - } - }.bind(this)) : s2 = this.createClipboardResultFailurePasteGeneric("unable to get expression group for destination flow to resolve data types."); + findBranchIndex(e3) { + let t3; + for (let i3 = 0; i3 < this.branches.length; i3++) if (this.branches[i3].model.outputId === e3.model.referenceId) { + t3 = i3; + break; } - return n2.isUndefined(s2) && (s2 = this.createClipboardResultSuccess(l2)), this._canPasteToFlowType[t3] = s2, s2; + return t3; } - _pasteBefore(e3) { - return this.createClipboardResultSuccess(); + _createCaseExpressionOptions() { + const e3 = u.buildOptions(this._getSwitchExpressionType(), void 0, this.parentFlow); + return e3.setFromOptions(F.managedProperties.find((e4) => "cases" === e4.property).options), e3; } - _pasteAfter(e3) { - return this.createClipboardResultSuccess(); + _getSwitchExpressionType() { + return this.switchStyle === v.SwitchStyles.matchExpression ? this.expression.type : p.default.getGlobalTypeGroup().getType(w.expressionTypeNames.boolean); } - _formatResourceStrForDestFlowType(e3, t3) { - return r2(t3, y.getFlowTypeDisplayName(e3.destFlowViewModel.info.type)); + _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; } - _pasteAddActionViewModelForActionModel(e3, t3, i3, r3) { - !r3 && e3.destViewModel.isTaskLike && e3.pasteActionsToEndOfActionContainer && (r3 = this.getLastActionForStateOrTask(e3.destViewModel)); - const o2 = v.createActionWithModel(t3, i3); - return e3.destActionContainer._insertAction(o2, r3), n2.isFunction(o2.initializeDesignTime) && o2.initializeDesignTime(), o2; + _renameCase(e3, t3) { + this.cases.items[t3].name = e3, this.cases.model[t3].label = e3, this.cases.items[t3].value.label = this.cases.getLabel((t3 + 1).toString()), this.model.paths[t3].label = e3; } - _pasteAddMenuChoiceViewModelForMenuChoiceModel(e3, t3, i3) { - this.log("Adding menu choice view model for " + this._getNameAndIdStr(i3) + " to parent " + this._getNameAndIdStr(t3.model) + " that currently has " + t3.choices.length + " choice(s)."); - const r3 = A.loadMenuChoice(t3, i3); - return r3.initialize(), r3._isInlineTask() || r3.isSubMenu || (r3.name = e3.clipboardObject.pasteGetUniqueMenuChoiceName(r3.name, t3, false, false)), t3.choices.push(r3), n2.isUndefined(r3.dtmf) || r3.resetDtmfToUniqueDtmf(), n2.isFunction(r3.initializeDesignTime) && r3.initializeDesignTime(), t3.invokeMenuChoicesChanged(), r3; + _renameAllCases() { + this.cases.items.forEach((e3, t3) => { + this._renameCase((0, o.sprintf)(y.default.switchAction.caseNumber, t3 + 1), t3); + }); } - _pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3, t3) { - return this.log("Adding menu choice view model for " + this._getNameAndIdStr(t3) + " to parent " + this._getNameAndIdStr(e3.model) + " that currently has " + e3.choices.length + " choice(s)."), t3.initialize(), e3.choices.push(t3), n2.isFunction(t3.initializeDesignTime) && t3.initializeDesignTime(), e3.invokeMenuChoicesChanged(), t3; + get switchStyle() { + return this.model.switchStyle; } - _pasteAddMenuViewModelForMenuModel(e3, t3) { - this.log("Adding menu view model for " + this._getNameAndIdStr(t3) + " to flow " + this._getNameAndIdStr(e3.destFlowViewModel) + " that currently has " + e3.destFlowViewModel.menus.length + " menu(s)."); - const i3 = new N(e3.destFlowViewModel, t3); - return e3.destFlowViewModel.addNewChild(i3), i3; + set switchStyle(e3) { + this.model.switchStyle = e3, this._updateOutOfService(); } - _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 w(e3.destFlowViewModel, t3); - return e3.destFlowViewModel.addNewChild(i3), i3; + _updateOutOfService() { + this.expression.outOfService = this.switchStyle !== v.SwitchStyles.matchExpression; } - _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 R(e3.destFlowViewModel, t3); - return e3.destFlowViewModel.addNewChild(i3), i3; + get branchInfos() { + return this.createBranchInfo(); } - _performPaste(e3) { + get canAddMore() { + return this.cases.items.length < A.switchActionCaseLimits.numMaxCases; } - _processExpressionType(e3, t3) { - I.expectExpressionType(e3, () => O.createFunctionParameter(this.className, "_processExpressionType", "expressionTypeViewModel")), e3 && e3.isExpressionType && this._addManifestItemDataType(e3, t3); + get canDeleteMore() { + return this.cases.items.length > 1; } - _resetUpconvertViewModels() { + 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, o.sprintf)(M.switch.caseNum, t3 + 1), label: (0, o.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; } - get contentModel() { - return this._contentModel; + createCaseDefaults() { + for (let e3 = 0; e3 < A.switchActionCaseLimits.numDefaultCases; e3++) this.addCase(true); } - get nodeInformation() { - return v.getInfo(this._contentModel.nodeInformationId); + addCase(e3) { + if (this.canAddMore) { + const t3 = this._getSwitchExpressionType(), i3 = { name: (0, o.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 !== 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; + } } - checkCanPaste(e3) { - let t3; - return e3 && (t3 = e3.isFlowViewModel ? e3 : e3.parentFlow), t3 ? t3.info && t3.info.currentUserCanEdit ? this._canPasteToFlowType(t3) : (this.createClipboardResultFailure(C.clipboard.paste.flowNotEditableByCurrentUser), "Clipboard contents cannot be pasted because the current user cannot edit. Normally this is due to the flow not being locked for edit.") : this.createClipboardResultFailure(C.clipboard.paste.flowTypeCouldNotBeDetermined, "Sigh! This should not happen. The paste destination flow type could not be determined."); + deleteCase(e3) { + if (this.canDeleteMore) { + let t3 = false; + for (let i3 = 0; i3 < this.cases.items.length; i3++) t3 && this._renameCase((0, o.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(); + } } - checkCanPasteClipboardContextWithDetails(e3) { - return e3.destFlowViewModel ? this.createClipboardResultSuccess() : this.createClipboardResultFailure(C.clipboard.paste.noDestFlow, "No destination flow specified for paste operation."); + getDetails() { + return this.switchStyle === v.SwitchStyles.firstTrueCase ? new C.ActionDetails([null], [M.switch.firstTrueCase]) : this.expression && this.expression.text ? new C.ActionDetails([null], [this.expression.text]) : null; } - get className() { - return "BaseClipboardContentImplViewModel"; + getFlowInfoSpecLabel() { + var e3; + return this.switchStyle === v.SwitchStyles.matchExpression && (null === (e3 = this.expression) || void 0 === e3 ? void 0 : e3.text) ? `Switch expression: ${this.expression.text}` : this.info.name; } - get clipboardContentType() { - return s.unknown; + _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(); + } } - copyCutAddDependencyFlowUiMetaData(e3, t3, i3) { - 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); + _hasCaseMismatch(e3) { + let t3; + 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; } - copyCutAddDependencyVariable(e3, t3) { - if (!e3 || !e3.isVariableViewModel || e3.isPromptContainer) return; - const i3 = this._contentModel.dependencies.dependencyVariableModels[e3.id]; - 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 = c.create(e3, this.clipboardLogging, this._contextualFlowTypes); - this.dependencies.addClipboardDependencyVariableViewModel(n3) || (n3.destroy(), n3 = void 0); + _initializeDesignTime() { + super._initializeDesignTime(); + for (let e3 = 0; e3 < this.cases.items.length; e3++) this.cases.items[e3].model.name = (0, o.sprintf)(y.default.switchAction.caseNumber, e3 + 1); } - copyCutAddDependencyCustomType(e3) { - if (!e3) return; - const t3 = [], i3 = e3?.getCustomDataTypeDefinitions(true); - if (i3 && t3.push(...i3), e3.isCollection) { - const i4 = e3?.singleType?.getCustomDataTypeDefinitions(true); - i4 && t3.push(...i4); - } - const r3 = this.clipboardLogging, o2 = this.dependencies; - n2.each(t3, function(e4) { - let t4 = E.create(e4, r3); - o2.addClipboardDependencyCustomDataTypeDefViewModel(t4) || (t4.destroy(), t4 = void 0); - }); + setNewInstanceDefaults() { + super.setNewInstanceDefaults(...arguments), r.default.isUndefined(this.switchStyle) && (this.switchStyle = v.SwitchStyles.firstTrueCase); } - _processActionViewModel(e3) { - e3 && e3.isBaseAction && e3.info && this._addManifestItemAction(e3); + static get managedProperties() { + 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")) }]; } - addOldIdToOldNameMapping(e3, t3) { - return this.contentModel.addOldIdToOldNameMapping(e3, t3); + moveCaseUp(e3) { + const t3 = this.findBranchIndex(e3), i3 = this.cases.moveUp(e3); + if (i3 >= 0) return this._renameCase((0, o.sprintf)(y.default.switchAction.caseNumber, t3 + 1), t3), this._renameCase((0, o.sprintf)(y.default.switchAction.caseNumber, t3), t3 - 1), this.reloadBranches(), i3; } - resolveOldIdToOldName(e3) { - if (n2.isFunction(this.contentModel.resolveOldIdToOldName)) return this.contentModel.resolveOldIdToOldName(e3); + moveCaseDown(e3) { + const t3 = this.findBranchIndex(e3), i3 = this.cases.moveDown(e3); + if (i3 >= 0) return this._renameCase((0, o.sprintf)(y.default.switchAction.caseNumber, t3 + 2), t3 + 1), this._renameCase((0, o.sprintf)(y.default.switchAction.caseNumber, t3 + 1), t3), this.reloadBranches(), i3; } - copyCutProcessActionViewModel(e3) { - I.expectTrue(e3 && true === e3.isBaseAction, e3, "BaseActionViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessActionViewModel", "actionViewModel")), this._processActionViewModel(e3, false); + moveToIndex(e3, t3) { + this.cases.moveToIndex(e3, t3), this._renameAllCases(), this.reloadBranches(); } - copyCutProcessMenuChoiceViewModel(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)); + _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, o.sprintf)(R.configureFromModel.invalidSwitchStyle, n3))); + const r2 = e3.cases, a2 = Object.assign({}, e3); + delete a2.cases, delete a2.switchStyle, super._configureFromModel(a2, t3, i3), void 0 !== r2 && (0, f.withModelContext)(i3, "cases", () => { + this._configureCasesFromModel(r2, t3, i3); + }); } - copyCutProcessMenuViewModel(e3) { - I.expectTrue(e3 && true === e3.isMenu, e3, "MenuViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessMenuViewModel", "menuViewModel")), e3 && e3.isMenu && this._addManifestItemMenu(e3); + _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 r2 = false; + for (; this.cases.items.length < n3 && this.canAddMore; ) this.addCase(true), r2 = true; + r2 && this.reloadBranches(), this.cases.items.length !== e3.length && i3.warn((0, o.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 o2 = this._unwrapSwitchCaseYamlEntry(e3[n4], i3, n4); + if (!o2) continue; + const r3 = o2.value; + void 0 !== r3 && (0, T.hasConfigureFromModel)(this.cases.items[n4].value) && (0, f.withModelContext)(i3, `[${n4}]`, () => { + this.cases.items[n4].value.configureFromModel(r3, t3, i3); + }); + } } - copyCutProcessStateViewModel(e3) { - I.expectTrue(e3 && true === e3.isState, e3, "StateViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessStateViewModel", "stateViewModel")), e3 && e3.isState && this._addManifestItemState(e3); + _unwrapSwitchCaseYamlEntry(e3, t3, i3) { + if (!(0, g.isConfigureFromModelRecord)(e3)) return t3.warn((0, o.sprintf)(R.configureFromModel.switchCaseMustBeObject, i3)), null; + const n3 = e3.case; + return (0, g.isConfigureFromModelRecord)(n3) ? n3 : e3; } - copyCutProcessTaskViewModel(e3) { - I.expectTrue(e3 && true === e3.isTask, e3, "TaskViewModel", () => O.createFunctionParameter(this.className, "copyCutProcessTaskViewModel", "taskViewModel")), e3 && e3.isTask && this._addManifestItemTask(e3); + postProcessYamlConfig(e3, t3, i3) { + let n3; + if (e3.evaluate = {}, this.switchStyle === v.SwitchStyles.matchExpression) { + e3.evaluate.firstMatch = {}; + const t4 = this.expression.type.yamlTypeName; + n3 = e3.evaluate.firstMatch[t4] = {}, r.default.moveAndDeleteProperty(e3, n3, "value"); + } else this.switchStyle === v.SwitchStyles.firstTrueCase && (n3 = e3.evaluate.firstTrue = {}, delete e3.value); + const o2 = this.getBranch(E.outputIds.default); + if (o2) { + const e4 = o2.getConfiguration(t3, i3); + e4 && (n3.default = e4); + } + delete e3.outputs, r.default.moveAndDeleteProperty(e3, n3, "cases"); } - 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.")); + updateCaseTypes(e3, t3) { + if (!t3) { + 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 o2 = n3.value, r2 = o2.isExpressionMode, a2 = o2.isLiteralMode, u2 = o2.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 (r2) _2.setAsExpression(u2); + else if (a2) { + const e4 = p.default.getType(this.parentFlow, w.expressionTypeNames.boolean); + _2.type.isMatch(e4, l.settings.exactMatch) ? _2.setAsLiteral(s.default.true) : (0, I.isCollectionExpression)(_2) ? _2.setAsLiteral(_2) : _2.setAsLiteral(""), _2.options.allowModeLiteral || _2.setModeWithTransition(d.noValue); + } + _2.processText(); + } + S.validateAction(this, false, true); } - copyCutSetSupportedFlowTypeFilter(e3) { - 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(); + reloadBranches() { + P.loadBranches(this); + for (let e3 = 0; e3 < this.branches.length; e3++) this.branches[e3].initialize(), this.branches[e3].updateTermination(); + c.emitter.emit(c.branchesChanged); } - get dependencies() { - return this._dependenciesViewModel; + validate(e3) { + 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, o.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; } - _performDestroy() { - try { - super._performDestroy(), this._resetUpconvertViewModels(), this.dependencies.destroy(), this._contentModel.dependencies = {}, this._clipboardObject = void 0, this._contentModel = void 0, this._contextualFlowTypes = [], this._copyCutFlowTypes = void 0, this._pasteJsonObjects = void 0, this._pastedTaskOrMenuModel = void 0; - } catch (e3) { - this.logException(e3, "Exception encountered cleaning up clipboard content."); - } + get version() { + return this.model.version; } - get isBaseClipboardContentViewModel() { - return true; + set version(e3) { + this.model.version = e3; } - get logHeader() { - return this.originalObjectLogStr; + } + F.info = O.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.default = F; + }, 65878(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(5478)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get name() { - return this._contentModel.name; + static get branchInfo() { + return r.default.successFailure; } - set name(e3) { - this._contentModel.name = I.expectString(e3, () => O.createPropertySet(this.className, "name"), true); + _getPossibleErrors() { + return l.terminateWorkitemFailureReasons; } - get originalObjectInfo() { - return this._contentModel.originalObjectInfo; + } + 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; + }, 87321(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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: p.transcription.enableTranscription, options: r.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 }]; } - get originalObjectId() { - return this.originalObjectInfo.objectId; + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get originalObjectFlowId() { - return this.originalObjectInfo.flowId; + validate(e3) { + 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, o.sprintf)(p.transcription.notValidForLanguages, a.getLanguageNameAndCodeDisplay(t3))), super.validate(e3); } - get originalObjectFlowType() { - return this.originalObjectInfo.flowType; + } + _.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 = _; + }, 49717(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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); } - get originalObjectLogStr() { - return "content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "'"; + static get managedProperties() { + 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: o.flowTypes.flowTypesAllVxmlgen }]; } - get originalObjectLogStrFull() { - return "content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "', orig_flowId: '" + (this.originalObjectInfo.flowId ? this.originalObjectInfo.flowId : "") + "', content_id: '" + this.id + "'"; + _getPossibleErrors() { + return _.externalTransferFailureReasons; } - paste(e3) { - let t3; - this.pushLogHeader(this.logHeader); - try { - this.log("Content object paste operation begin."), this._pasteJsonObjects = {}, this._pasteJsonObjects.content = this.cloneToRawJsonObject(this.contentModel.contentRawJSON), this._resetUpconvertViewModels(); - const i3 = this._pasteBefore(e3); - if (i3.isFailure) return i3; - const n3 = this.dependencies.paste(e3); - if (n3.isFailure) return n3; - if (t3 = this._performPaste(e3), t3.isFailure) return t3; - t3 = this._pasteAfter(e3); - } catch (e4) { - t3 = this.createClipboardResultFailure("An error occurred during the content paste operation."); - } finally { - this.log("Content object paste operation end."), this.popLogHeader(), this._pastedTaskOrMenuModel = void 0, this._resetUpconvertViewModels(); - } - return t3; + getDetails() { + return this.externalNumber && this.externalNumber.text ? new u.ActionDetails([g.externalTransfer.number], [this.externalNumber.text]) : null; + } + } + f.info = l.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: true, helpTopic: r.helpTopics.actions.transferExternal, modelClass: i2(37293), modelFormatSupport: { flowYaml: { inProgress: true, feature: m.default.changeSetsFeaturePhase2 } }, name: g.actions.transfers.external, scriptingName: "ArchActionTransferToNumber" }), t2.A = f; + }, 84568(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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 = 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"; } - get pastedMenuOrTaskOrActionViewModel() { - return this._pastedTaskOrMenuModel; + _getPossibleErrors() { + return c.flowTransferFailureReasons; } - set pastedMenuOrTaskOrActionViewModel(e3) { - this._pastedTaskOrMenuModel = I.expectObject(e3, () => O.createPropertySet(this.className, "pastedMenuOrTaskOrActionViewModel", "coreViewModel")); + get flowId() { + return this.model.flowId; } - }; - }, 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), 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 d.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + get flowName() { + return this.model.flowName; } - get className() { - return "ListPickerItemType"; + getDetails() { + return this.flowId ? new _.ActionDetails([f.flow.flow], [this.flowName]) : null; } - canConvertLitToExpression(e3) { - return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPickerItem", e3, [c.globalTypes.string, c.globalTypes.string, c.globalTypes.image]); + static get managedProperties() { + return [{ property: "flowName", isJustForFlowYaml: true, yamlOptions: T.createYamlOptions("flowName", (e3) => e3.setExportOrder(20).setPropertyName("targetFlow").setWrappedValueName("name")) }]; } - convertLitToExpression(e3, t3, i3, n3) { - var r3, o2, a2; - return n3 && this.canConvertLitToExpression(e3) ? `MakeListPickerItem(${(null === (r3 = this.getPropTitle(n3)) || void 0 === r3 ? void 0 : r3.getEmbeddableExpressionText()) || s.default.notSet}, ${(null === (o2 = this.getPropSubtitle(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || s.default.notSet}, ${(null === (a2 = this.getPropImage(n3)) || void 0 === a2 ? void 0 : a2.getEmbeddableExpressionText()) || s.default.notSet})` : ""; + search(e3) { + super.search(e3), e3.checkText(this, this.flowName, f.flow.flow); } - _getLiteralValueOfExpression() { - return ""; + 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(); } - createExpressionOptionClass() { - return new r2.ExpressionTypeListPickerItemOptions(); + repointSelfReferencingFlow(e3, t3) { + u.repointSelfReferenceIfMatch(this.flowId, this.flowName, e3, t3, (e4, t4) => { + this.setTransferToFlowInfo(e4, t4); + }); } - get supportsLiteralEditor() { + updateDependencies() { + 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, o.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, o.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; } - getPropTitle(e3) { - return e3.getProperty(t2.PROP_TITLE); + _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, o.sprintf)(r.configureFromModel.failedToResolve, "target flow", e4)); + } + } catch (t5) { + const n3 = t5 instanceof Error ? t5.message : String(t5); + i3.warn((0, o.sprintf)(r.configureFromModel.entityResolutionFailed, "targetFlow", e4, n3)); + } + }) }); + } else a2 && this.setTransferToFlowInfo(void 0, a2); + } + super._configureFromModel(e3, t3, i3); } - getPropSubtitle(e3) { - return e3.getProperty(t2.PROP_SUBTITLE); + } + 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; + }, 64647(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(73198)), r = 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 = m.flow.types.secureCall, this._loadModel(t3); } - getPropImage(e3) { - return e3.getProperty(t2.PROP_IMAGE); + get className() { + return "FlowSecureTransferAction"; } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`list-picker-item-${i3.name}`), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_TITLE: - n3.options.setIsOptional(false), n3.options.setAllowedBuilderIds([a.builderIds.parts.genericString]); - break; - case t2.PROP_SUBTITLE: - n3.options.setIsOptional(true), n3.options.setAllowedBuilderIds([a.builderIds.parts.genericString]); - break; - case t2.PROP_IMAGE: - n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setDefaultToNoValue(true); - } + static get managedProperties() { + return [{ label: m.transfer.connectTimeout, options: a.ExpressionTypeDurationOptions.create((e3) => e3.setAllowEmptyConfig(true).setAllowFlowLevelDefault(true).setScriptingPropertyName("connectTimeout").setFlowLevelDefaultHasDefault(false).setAsInput(true).setDurationStyle(r.durationStyles.secondsAndTenthsDuration).setDefaultText(o.default.litDurationFifteenSeconds).setIsOptional(true).setIninTestingField("connect-timeout-expression").facets.setMinDur(10 * o.default.msPerSecond, true).setMaxDur(o.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)) }]; } - get hasRichLiteralEditor() { - return true; + getDetails() { + return this.flowId ? new c.ActionDetails([m.flow.flow], [this.flowName]) : null; } - isValueUnknownAtDesignTime(e3) { - var t3; - return !e3.isLiteralMode || !(null === (t3 = this.getPropTitle(e3)) || void 0 === t3 ? void 0 : t3.isLiteralMode); + } + 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; + }, 2499(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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); } - isTypeUnknownAtDesignTime(e3) { - return false; + _getPossibleErrors() { + return this.parentFlow.isNluFlow ? c.groupTransferFailureReasonsForBotFlowType : u.groupTransferFailureReasons; } - getIsSlotOrSlotTypeChoice(e3) { - return true; + _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 = T.group.noExtError; + t3.setParseWarning(i4), e3.nodeHasWarning(this.id, i4) || e3.addWarning(this, i4); + } + } + }.bind(this)); } - isPostbackChoice(e3) { - return true; + getDetails() { + return this.group ? new p.ActionDetails([T.group.label], [this.group.text]) : null; } - getValueStr(e3) { - var t3; - return null === (t3 = this.getPropTitle(e3)) || void 0 === t3 ? void 0 : t3.text; + static get managedProperties() { + 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(r.default.true)), yamlOptions: y.createYamlOptions("allowVoicemail", (e3) => e3.setPropertyName("allowVoicemailRollover").setExportOrder(30)), property: "allowVoicemail", type: g.expressionTypeNames.boolean, supportedFlowTypes: o.flowTypes.flowTypesAllVxmlgen }]; } - getReferenceId(e3) { + } + 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; + }, 99831(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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 = i2(22226), y = i2(58155), S = n2.__importStar(i2(82453)), A = n2.__importStar(i2(66381)), N = n2.__importStar(i2(98442)), v = n2.__importStar(i2(1115)), I = n2.__importDefault(i2(4648)), C = i2(12179), O = i2(12457), b = n2.__importDefault(i2(97891)), E = i2(24383), w = i2(30028), R = i2(87870), D = n2.__importDefault(i2(78791)), P = i2(9290), M = i2(9290), F = i2(9290), L = i2(9290), x = i2(9290), k = i2(9290), V = i2(9290), U = i2(9290), B = i2(80428), G = i2(21305), j = i2(82632), q = i2(47957), W = [o.flowTypes.flowTypeInboundEmail, o.flowTypes.flowTypeInQueueEmail], Y = o.flowTypes.flowTypesAllVxmlgen.concat(o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInQueueShortMessage, o.flowTypes.flowTypeInboundEmail, o.flowTypes.flowTypeInQueueEmail), H = [o.flowTypes.flowTypeInboundChat, o.flowTypes.flowTypeInboundEmail, o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeInQueueEmail, o.flowTypes.flowTypeInQueueShortMessage, o.flowTypes.flowTypeSurveyInvite, o.flowTypes.flowTypeWorkflow], J = m.default.setSupportedFlowTypes(a.default.clone(m.default.fakeFailure), [...o.flowTypes.flowTypesAllVxmlgen, o.flowTypes.flowTypeCommonModule, ...o.flowTypes.flowTypesAllCicero, o.flowTypes.flowTypeWorkitem]); + class $ extends D.default { + constructor(e3, t3) { + super(e3), this._loadModel(t3); } - setReferenceId(e3, t3) { + get isTransferPureMatchAction() { + return true; } - getPossibleStringFacetValue(e3, t3) { - const i3 = this.getValueStr(e3); - if (i3) return { id: i3, displayString: i3 }; + getFlowInfoSpecDependencyAnnotation() { + var e3, t3; + const i3 = null === (t3 = null === (e3 = this.queues) || void 0 === e3 ? void 0 : e3.items) || void 0 === t3 ? void 0 : t3.map((e4) => e4.text).filter(Boolean).map((e4) => (0, y.getFlowInfoSpecNameLabel)((0, T.getUnquotedExpressionStringLiteralContents)(e4))); + if (null == i3 ? void 0 : i3.length) return `-> queue ${i3.join(", ")}`; } - setAsManagedValue(e3, i3) { - this.getPropTitle(e3).setAsLiteral(i3), e3.setUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE, i3); + repointSelfReferencingFlow(e3, t3) { + var i3; + null === (i3 = this.inQueueFlow) || void 0 === i3 || i3.repointSelfReference(e3, t3); } - isManagedValue(e3) { - return !!e3.getUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE); + static get branchInfo() { + return J; } - isValidNluValue(e3) { - var t3, i3; - if (!this.isManagedValue(e3)) return false; - const n3 = this._findChooserExprInParentChain(e3); - if (!n3) return false; - if (!n3.type.getIsSlotOrSlotTypeChooser(n3)) return false; - const r3 = n3.type.getSlotTypeName(n3); - if (!r3) return false; - const o2 = null === (i3 = null === (t3 = n3.parentFlow) || void 0 === t3 ? void 0 : t3.nluMetaData) || void 0 === i3 ? void 0 : i3.getEntityTypeAllowableValues(r3); - if (!o2) return false; - const a2 = this.getValueStr(e3); - return o2.includes(a2); + static get managedProperties() { + return [{ label: q.transferPureMatch.languageSkill, options: d.ExpressionTypeLanguageSkillOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(q.expression.noValue.selection.useDefault).setDescriptionInfo(q.transferPureMatch.languageSkill, q.transferPureMatch.languageSkillDescription).setUseDefaultValueNodeIcons(true).setModeNoValueRuntimeEvaluationStr(q.transferPureMatch.languageSkillDefault, N.getFlowTypesThatSupportLanguages()).setIninTestingField("pureMatchLanguageSkill")), property: "languageSkill", type: B.expressionTypeNames.languageSkill, yamlOptions: $.createYamlOptions("languageSkill", (e3) => e3.setExportOrder(90)) }, { label: q.transferPureMatch.priority, options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("priorityVSC").facets.setMinInt(0, true).setMaxInt(10, true)), property: "priority", type: B.expressionTypeNames.integer, yamlOptions: $.createYamlOptions("priority", (e3) => e3.setExportOrder(70)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeWorkitem], options: c.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("priorityVSC").setDescriptionInfo(q.transferPureMatch.priority, q.transferPureMatch.workitemPriorityDescription).facets.setMinInt(0, true).setMaxInt(10, true)) }] }, { label: q.configurations.queue, list: true, property: "queues", type: B.expressionTypeNames.queue, options: p.ExpressionTypeQueueOptions.create((e3) => e3.setIninTestingField("pureMatchTransferExpression")), yamlOptions: $.createYamlOptions("queues", (e3) => e3.setPropertyName("targetQueue").setConvertToSingleItem(true).setExportOrder(20)) }, { property: "skills", skills: true, yamlOptions: $.createYamlOptions("skills", (e3) => e3.setPropertyName("acdSkills").setExportOrder(30)) }, { createDetails: w.InqueueFlowActionProperty.createCreateDetails("inQueueFlowId", "inQueueFlowName"), options: h.ManagedPropertyOptions.create(), property: "inQueueFlow", yamlOptions: $.createYamlOptions("inQueueFlow", (e3) => e3.setPropertyName("overrideInQueueFlow").setExportOrder(40)) }, { createDetails: R.NoteActionProperty.createCreateDetails(q.transferPureMatch.transferACDInCommonModuleWarning, "info", "inQueueFlowWarning"), property: "inQueueFlowWarning", yamlOptions: $.createYamlOptions("inQueueFlowWarning", (e3) => e3.setSkipProperty(true)) }, { label: q.transferPureMatch.appendSkills, supportedFlowTypes: W, options: l.ExpressionTypeBooleanOptions.create((e3) => e3.setIninTestingField("appendSkillsExpression").setDescriptionInfo(q.transferPureMatch.appendSkillsHeader, q.transferPureMatch.appendSkillsDescription)), property: "appendSkills", type: B.expressionTypeNames.boolean, yamlOptions: $.createYamlOptions("appendSkills", (e3) => e3.setExportOrder(100)) }, { property: "preferredAgents", label: q.transferPureMatch.preferredAgents, type: B.expressionTypeNames.agentScorePair, options: u.ExpressionTypeComplexOptions.create((e3) => e3.setFeatureConfigName(I.default.knownAgentRouting).setAssumeOosIfTypeUnavailable(true).setAllowModeLiteral(false).setDescriptionInfo(null, q.transferPureMatch.preferredAgentsDescription).setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("preferred-agents"), true).setMaxItems(j.transferToAcd.preferredAgents.maxItems), yamlOptions: $.createYamlOptions("preferredAgents", (e3) => e3.setExportOrder(80)) }, { property: "directAgent", label: q.transferPureMatch.directAgent, supportedFlowTypes: [...Y, ...f.isFeatureAvailable(I.default.botFlowsAlignTransferActions) ? [o.flowTypes.flowTypeDigitalBot] : []], type: B.expressionTypeNames.userQueue, options: _.ExpressionTypeUserOptions.create((e3) => e3.setFeatureConfigName(I.default.vipExperience).setDescriptionInfo(null, q.transferPureMatch.directAgentDescription).setIsOptional(true).setDefaultToNoValue(true).setIninTestingField("direct-agent")), yamlOptions: $.createYamlOptions("directAgent", (e3) => e3.setExportOrder(100)) }, { createDetails: R.NoteActionProperty.createCreateDetails((0, r.sprintf)(q.commonModule.actionOutputExecutableOnlyIfEmbeddingFlowIsCallFlow, q.generic.branches.failure), "info", "branch-warning"), property: "branchExecutionRestriction" }, { label: q.skillExpressionFilters.skillExpressionFiltersLabel, property: "skillExpressionFilters", type: B.expressionTypeNames.skillExpressionFilter, supportedFlowTypes: [o.flowTypes.flowTypeInboundCall, o.flowTypes.flowTypeInboundEmail, o.flowTypes.flowTypeInboundShortMessage, o.flowTypes.flowTypeOutboundCall, o.flowTypes.flowTypeInQueueCall, o.flowTypes.flowTypeInQueueEmail, o.flowTypes.flowTypeInQueueShortMessage, o.flowTypes.flowTypeSecureCall, o.flowTypes.flowTypeVoicemail, o.flowTypes.flowTypeCommonModule], options: G.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToNoValue(true).setIsCollection(true).setMinItems(j.transferToAcd.skillExpressionFilters.minItems).setMaxItems(j.transferToAcd.skillExpressionFilters.maxItems).setFeatureConfigName(I.default.routingSkillExpressionsFeature).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, (0, r.sprintf)(q.generic.joinTwoSentences, q.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoPrefix, q.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoNonAutomateSuffix))), optionsForSpecificFlowTypes: [{ flowTypes: o.flowTypes.flowTypesAllAutomate, options: G.ExpressionTypeJsonOptions.create((e3) => e3.setAsInput().setIsOptional(true).setDefaultToNoValue(true).setIsCollection(true).setMinItems(j.transferToAcd.skillExpressionFilters.minItems).setMaxItems(j.transferToAcd.skillExpressionFilters.maxItems).setFeatureConfigName(I.default.routingSkillExpressionsFeature).setIninTestingField("skillExpressionFilters").setDescriptionInfo(null, (0, r.sprintf)(q.generic.joinTwoSentences, q.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoPrefix, q.skillExpressionFilters.transferToAcdSkillExpressionFiltersTooltipInfoAutomateSuffix))) }], yamlOptions: $.createYamlOptions("skillExpressionFilters", (e3) => e3.setPropertyName("skillExpressionFilters")) }]; } - _findChooserExprInParentChain(e3) { - let t3 = null == e3 ? void 0 : e3.parent; - for (; t3; ) { - if (t3.chooser && (0, p.isChooserExpressionType)(t3.chooser.type)) return t3.chooser; - t3 = t3.parent; - } + _getPossibleErrors() { + const e3 = f.isFeatureAvailable(I.default.knownAgentRouting), t3 = f.isFeatureAvailable(I.default.routingSkillExpressionsFeature); + return e3 && t3 ? this.parentFlow.isWorkitemFlow ? k.transferToAcdWorkitemFailureReasonsAll : F.transferToAcdFailureReasonsAll : e3 ? this.parentFlow.isWorkitemFlow ? V.transferToAcdWorkitemFailureReasonsKnownAgentRoutingFeature : L.transferToAcdFailureReasonsKnownAgentRoutingFeature : t3 ? this.parentFlow.isWorkitemFlow ? U.transferToAcdWorkitemFailureReasonsRoutingSkillExpressionsFeature : x.transferToAcdFailureReasonsRoutingSkillExpressionsFeature : this.parentFlow.isWorkitemFlow ? M.baseTransferToAcdWorkitemFailureReasons : P.baseTransferToAcdFailureReasons; } - _getChooserExpr(e3) { - var t3, i3; - return (0, p.isChooserExpressionType)(null === (i3 = null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.chooser) || void 0 === i3 ? void 0 : i3.type) ? e3.parent.chooser : void 0; + _loadModel(e3) { + super._loadModel(e3), this.useDefaultHandling = void 0 === this.useDefaultHandling || this.useDefaultHandling, this.languageSkill.isEmpty && this.languageSkill.isExpressionMode && this.languageSkill.setAsNoValue(); } - getListPickerItemTitle(e3) { - var t3, i3, n3, r3, a2, s2; - if (this.isManagedValue) { - const o2 = this._getChooserExpr(e3); - if (o2) { - const l3 = o2.type.getSlotTypeName(o2); - if (l3) { - let u2; - if ((null === (i3 = null === (t3 = o2.parentFlow) || void 0 === t3 ? void 0 : t3.flowViewFilterOptions) || void 0 === i3 ? void 0 : i3.enabled) && (u2 = null === (n3 = o2.parentFlow) || void 0 === n3 ? void 0 : n3.flowViewFilterOptions.language), u2 || (u2 = null === (a2 = null === (r3 = o2.parentFlow) || void 0 === r3 ? void 0 : r3.defaultLanguage) || void 0 === a2 ? void 0 : a2.toLowerCase()), u2) { - const t4 = this.getValueStr(e3), i4 = null === (s2 = o2.parentFlow) || void 0 === s2 ? void 0 : s2.nluMetaData.getEntityTypeValueLabelForLanguage(l3, t4, u2); - if (i4) return i4; - } - } + _overrideProperties() { + super._overrideProperties.apply(this, arguments), this.skills.attachValidator((e3, t3, i3) => { + const n3 = a.default.where(i3, { text: t3.text }); + if (n3 && n3.length > 1) { + const i4 = q.skills.multipleSkillsError; + t3.setLiteralError(true), t3.setParseError(i4), e3.nodeHasError(this.id, i4) || e3.addError(this, i4); } - } - const l2 = this.getPropTitle(e3); - return (null == l2 ? void 0 : l2.text) && (0, o.getDisplayText)(l2) || _.collectionEditor.itemLabel; + }); } - copyExpressionValue(e3, i3) { - e3.setUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE, i3.getUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE)); + getDetails() { + const e3 = [], t3 = [], i3 = function(i4, n3, o2) { + if (i4 && i4.length) for (let a2 = 0; a2 < i4.length; a2++) { + const s2 = i4[a2]; + e3.push((0, r.sprintf)(n3, a2 + 1)), t3.push(o2(s2)); + } + }; + return this.queues ? i3(this.queues.items, q.transferPureMatch.queue, function(e4) { + return e4.text; + }) : this.topic.errorWithErrorObjectInfo(`Blank queues property found in TransferPureMatchActionViewModel. Action info: ${this.toString()}`, this, true), this.skills ? i3(this.skills.items, q.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 O.ActionDetails(e3, t3); } - } - t2.ListPickerItemType = h, h.typeIdentifier = u.expressionTypeNames.listPickerItem; - }, 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)), 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 d.externalAuthorizations.authStrings.botConnectorView; + setNewInstanceDefaults() { + super.setNewInstanceDefaults(), this.queues.add(), this.priority.setAsLiteral("0"), this.appendSkills.setAsLiteral(this.supportsAppendSkills.toString()); } - get dependencyType() { - return m.BotConnectorBot; + _initializeDesignTime() { + super._initializeDesignTime(), this.appendSkills.isLiteralMode && this.appendSkills.isBlank && this.appendSkills.setAsLiteral(s.default.false), this.priority.options.facets.setMinInt(s.default.minConversationPriority, true).setMaxInt(s.default.maxConversationPriority, true), this.parentFlow.isCommonModuleFlow ? (this.addAutoCleanedUpEventSinkWatch(g.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { + this._updateInqueueFlowWarningOutOfService(), this._updateBranchesOOS(); + }), this._updateBranchesOOS()) : this.branchExecutionRestriction.outOfService = true, this._updateInqueueFlowWarningOutOfService(); } - constructor() { - super(), this.topic = a.getTopic("BotConnectorVersionManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "version", this.actionsForUsageSearch = [l.botConnectorActionType], this.apiCallList = o.getBotConnectorBotVersions, this.apiCallSingle = o.getBotConnectorBotVersion, this.caseSensitiveIds = true, this.className = "BotConnectorVersionManager", this.defaultMatchingStyle = u.exactMatch, this.dependencyContext = h.botConnector.botConnectorVersion, this.idEquivalent = "archInternalId", this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "botConnectorVersion", this._initialize(); + _updateInqueueFlowWarningOutOfService() { + if (this.parentFlow.isCommonModuleFlow) { + if (this.inQueueFlowWarning.outOfService = !S.needsConflictingInQueueFlowTypes(this.parentFlow), this.inQueueFlowWarning.outOfService) { + const e3 = S.getUnsupportedDestinationFlowTypes(this.parentFlow); + e3.length ? this.inQueueFlow.options.setDescriptionInfo(this.inQueueFlow.configListManager.dependencyType.displayName, (0, r.sprintf)(q.commonModule.notAvailableInFlowTypes, A.getFlowTypesDisplayString(e3))) : this.inQueueFlow.options.clearDescriptionInfo(); + } + } else this.inQueueFlowWarning.outOfService = true, this.inQueueFlow.options.clearDescriptionInfo(); } - addItem(e3, t3, i3) { - e3.isFromAdsValidationResults && (p.botConnectorManager.createAndAddBot(e3.id, e3.name, e3.botId, e3.integrationId), e3 = o.ensureCorrectVersionProperties(e3, null, e3.id, e3.integrationId)); - const n3 = !!e3.intents && e3.intents.length > 0; - return super.addItem(e3, n3); + _updateBranchesOOS() { + const e3 = o.flowTypes.hasVxmlgenFlowType(this.parentFlow.destinationFlowTypes) || o.flowTypes.hasCiceroFlowType(this.parentFlow.destinationFlowTypes), t3 = o.flowTypes.hasAutomateFlowType(this.parentFlow.destinationFlowTypes); + this.branches.forEach((t4) => { + t4.outOfService = !e3; + }), this.branchExecutionRestriction.outOfService = !(e3 && t3); } - addItemToFlowMetadata(e3, t3, i3) { - const n3 = r2.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : i3; - return super.addItemToFlowMetadata(e3, t3, n3); + get supportsAppendSkills() { + return a.default.contains(W, this.parentFlow.type); } - get _networkModel() { - return s.default; + search(e3) { + var t3; + super.search.apply(this, arguments), this.inQueueFlowName && (null === (t3 = this.supportedInQueueFlowTypeDefinition) || void 0 === t3 ? void 0 : t3.typeDisplayName) && e3.checkText(this, this.inQueueFlowName, this.supportedInQueueFlowTypeDefinition.typeDisplayName); } - _createItemViewModel(e3) { - return new c.BotConnectorVersionViewModel(e3); + get supportedInQueueFlowTypeDefinition() { + return S.getInqueueFlowTypeDefinition(this.parentFlow); } - getItemFromFlowMetadata(e3, t3) { - const i3 = r2.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : t3, n3 = super.getItemFromFlowMetadata(e3, i3); - return n3 && (n3.model = o.ensureCorrectVersionProperties(n3.model, n3.botId, e3.bot.idValue, n3.integrationId)), n3; + get supportedInQueueFlowType() { + return S.getSupportedInQueueFlowType(this.parentFlow); } - getBotCategoryForBotRunnable(e3, t3) { - if (!r2.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; - const i3 = this.getItem(e3.toLowerCase(), t3); - return i3 ? p.botConnectorManager.getItem(i3.botId, t3) : null; + get useDefaultHandling() { + return this.model.useDefaultHandling; } - getItem(e3, t3) { - const i3 = t3, n3 = r2.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotRunnableId) ? i3.getUniqueBotRunnableId() : e3; - return super.getItem(n3); + set useDefaultHandling(e3) { + e3 !== this.model.useDefaultHandling && (this.model.useDefaultHandling = e3, this.initializeDesignTimeCalled && v.validateNode(this)); } } - t2.BotConnectorVersionManager = g, t2.botConnectorVersionManager = new g(); - }, 25149: (e2, t2, i2) => { - const n2 = i2(36370), r2 = i2(84670), o = i2(71698), a = i2(36019).default; - function s() { - } - const l = new s(); - s.prototype.getQueues = a.request("GET", "{public-api.apps}/api/v2/routing/queues", o), l.getQueues.addOptions({ allowRequestChunking: true, chunkingNumber: 25, chunkingParamName: "id" }), s.prototype.getQueue = a.request("GET", "{public-api.apps}/api/v2/routing/queues/{id}", r2), s.prototype.getQueuesDivisionViews = a.request("GET", "{public-api.apps}/api/v2/routing/queues/divisionViews", n2), l.getQueues.addOptions({ ignoreBadResponse: true }), l.getQueuesDivisionViews.addOptions({ ignoreBadResponse: true }), e2.exports = l; - }, 25154: (e2, t2, i2) => { + $.info = b.default.createActionInfo({ actionClass: $, canBeInTask: true, canBeTreeNode: true, helpTopic: C.helpTopics.actions.transferPureMatch, modelClass: i2(24421), name: q.actions.transfers.acd, scriptingName: "ArchActionTransferToAcd", terminationInfoForFlowTypes: [{ flowTypes: H, terminationInfo: E.terminatesFlow }], modelFormatSupport: { flowYaml: { inProgress: true, feature: I.default.changeSetsFeaturePhase2 } } }), t2.A = $; + }, 17357(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299); - class o extends r2.BaseClass { - constructor(e3) { - super(), this.id = e3.id, this.model = e3; - } - get className() { - return "NuanceMixChannelViewModel"; - } - get isNuanceMixChannelViewModel() { - return true; + const n2 = i2(31635), o = i2(96618), r = 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); } - get displayString() { - return this.model.name; + getDetails() { + var e3; + const 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); } - get isVoiceChannel() { - return n2.default.contains(this.model.modes, "TTS"); + static get managedProperties() { + 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(r.default.true)), yamlOptions: y.createYamlOptions("allowVoicemail", (e3) => e3.setPropertyName("allowVoicemailRollover").setExportOrder(30)), property: "allowVoicemail", type: a.expressionTypeNames.boolean, supportedFlowTypes: o.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(r.default.true)), yamlOptions: y.createYamlOptions("alertOnTransfer", (e3) => e3.setPropertyName("alertOnTransfer").setExportOrder(40)), type: a.expressionTypeNames.boolean, supportedFlowTypes: [o.flowTypes.flowTypeWorkitem] }]; } - get isTextChannel() { - return n2.default.contains(this.model.modes, "RICH_TEXT") || this.isVoiceChannel; + _getPossibleErrors() { + return this.parentFlow.isNluFlow ? u.userTransferFailureReasonsForBotFlowType : this.parentFlow.isWorkitemFlow ? d.userTransferFailureReasonsForWorkitemFlowType : c.userTransferFailureReasons; } } - t2.default = o; - }, 25162: (e2, t2, i2) => { + 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; + }, 81453(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { + const n2 = i2(31635), o = i2(96618), r = 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)), I = i2(77415), C = n2.__importDefault(i2(78791)), O = i2(80428), b = i2(1910), E = n2.__importDefault(i2(4648)), w = i2(47957), R = i2(80748); + class D extends C.default { constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + 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 r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findDivision.findDivisionNameLabel, searchResultLabel: d.findActions.findDivision.findDivisionResultLabel, searchResultExpressionOptions: a.ExpressionTypeDivisionOptions.create(), searchResultItemType: o.expressionTypeNames.division }); + return [{ label: w.createCallback.calleeName, options: p.ExpressionTypeStringOptions.create((e3) => e3.setIsOptional(true).setDefaultToExpression(true).setIninTestingField("calleeName")), property: "calleeName", type: O.expressionTypeNames.string }, { label: w.createCallback.callbackNumber, list: true, property: "callbackNumbers", type: O.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: O.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: O.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: O.expressionTypeNames.group }, { audio: true, options: h.AudioViewModelOptions.create((e3) => e3.setIninTestingField("voicemailGreeting").setLabel(w.transferVoicemail.voicemailGreeting)), property: "voicemailGreeting", type: O.expressionTypeNames.audio }, { createDetails: I.ScriptProperties.createCreateDetails(void 0, void 0, true), property: "scriptSettings", yamlOptions: D.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("voicemailScript").setUseNoneTrueForExpressionContainerClass(l.DataPairList.className)) }]; } - } - 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 { - constructor(e3, t3) { - super(e3, t3); + _getPossibleErrors() { + return T.voicemailTransferFailureReasons; } - _dumpContent() { - n2.each(this.map, function(e3, t3) { - this.log(" flow id -> " + this._valueLogStr(t3)), n2.each(e3, function(e4, t4) { - this.log(" " + this._valueLogStr(t4) + " -> " + this._valueLogStr(e4)); - }.bind(this)); - }.bind(this)); + _loadModel(e3) { + 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(); } - _getFlowContainer(e3, t3) { - let i3 = this.map[e3]; - return !i3 && t3 && (this.map[e3] = {}, i3 = this.map[e3]), i3; + getCachedServerPropertyById(e3, t3) { + return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); } - addFlowGroupedMapping(e3, t3, i3) { - a.expectString(e3, () => o.createFunctionParameter(this.className, "addFlowGroupedMapping", "flowId")), a.expectIntOrString(t3, () => o.createFunctionParameter(this.className, "addFlowGroupedMapping", "oldValue")), a.expectIntOrString(i3, () => o.createFunctionParameter(this.className, "addFlowGroupedMapping", "newValue")), this._getFlowContainer(e3, true)[t3] = i3, this.shouldLog && this.log(this.titleLogPrefix + "flow ID " + this._valueLogStr(e3) + " > Added mapping for old ID " + this._valueLogStr(t3) + " -> new ID " + this._valueLogStr(i3)); + getDetails() { + const 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 className() { - return "OldValueToNewValueFlowGroupedMap"; + get isQueueTransfer() { + return this.transferTargetType === R.Queue; } - get isOldValueToNewValueFlowGroupedMap() { - return true; + get isUserTransfer() { + return this.transferTargetType === R.User; } - resolveFlowGroupedMapping(e3, t3) { - if (a.expectString(e3, () => o.createFunctionParameter(this.className, "resolveFlowGroupedMapping", "flowId")), a.expectIntOrString(t3, () => o.createFunctionParameter(this.className, "resolveFlowGroupedMapping", "oldValue"), true), n2.isUndefined(t3) || null === t3 || "" === t3) return t3; - const i3 = this._getFlowContainer(e3); - if (!i3) return t3; - let r3 = i3[t3]; - if (!r3 && t3.indexOf(".") >= 1) { - const e4 = t3.split("."); - let n3 = false; - for (let t4 = 0; t4 < e4.length; t4++) { - const r4 = i3[e4[t4]]; - r4 && (e4[t4] = r4, n3 = true); + get isGroupTransfer() { + return this.transferTargetType === R.Group; + } + get scriptManager() { + return m.voicemailScriptManager; + } + postProcessYamlConfig(e3, t3, i3) { + if (!this.transferTargetType) return; + e3.destination = {}; + 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)), o2 = i4 && t4[i4.name]; + if (i4 && (0, b.isConfigureFromModelRecord)(o2)) { + this.transferTargetType = i4; + const t5 = o2; + 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; } - n3 && (r3 = e4.join(".")); } - return r3 ? (this.shouldLog && this.log(this.titleLogPrefix + "flow ID " + this._valueLogStr(e3) + " > Resolved mapping " + this._valueLogStr(t3) + " -> " + this._valueLogStr(r3)), r3) : t3; } - getValuesAsArray(e3) { - const t3 = this._getFlowContainer(e3); - return t3 ? n2.values(t3) : []; + 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(w.transferVoicemail.transferTarget, (0, r.sprintf)(w.transferVoicemail.noQueueTooltip, y.getFlowTypesDisplayString([o.flowTypes.flowTypeInQueueCall]))) : this.transferTargetQueue.options.clearDescriptionInfo(); } - }; - }, 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), c = i2(47957); - class d extends o.default { - static get managedProperties() { - 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 }]; + get shouldShowDescriptionTooltip() { + var e3; + return !this.transferTargetQueue.outOfService && this.parentFlow.isCommonModuleFlow && (null === (e3 = this.parentFlow.destinationFlowTypes) || void 0 === e3 ? void 0 : e3.length) > 1 && this.parentFlow.destinationFlowTypesInclude(o.flowTypes.flowTypeInQueueCall); } - static get branchInfo() { - return a.default.successTimeout; + get doesQueueTransferToCurrentQueueVoicemail() { + var e3; + const t3 = this.isQueueTransfer && this.parentFlow.isInQueueCallFlow, i3 = this.isQueueTransfer && this.parentFlow.isCommonModuleFlow && 1 === (null === (e3 = this.parentFlow.destinationFlowTypes) || void 0 === e3 ? void 0 : e3.length) && this.parentFlow.destinationFlowTypes[0] === o.flowTypes.flowTypeInQueueCall; + return !(!t3 && !i3); } - constructor(e3) { - super(e3.parentFlow, e3); + setOpenedBefore() { + this.model.uiMetaData || (this.model.uiMetaData = {}), this.model.uiMetaData.openedBefore = true; + } + get transferTargetType() { + return this.model.transferTargetType; + } + set transferTargetType(e3) { + switch (e3) { + case R.User: + case R.Group: + case R.Queue: + this.model.transferTargetType = e3, this.setOutOfService(), s.validate(this, true); + } + } + get transferTargetUser() { + return this.transferTarget; + } + validate(e3) { + const t3 = a.default.filter(this.parentFlow.supportedLanguageOptions, (e4) => !!this.parentFlow.destinationFlowTypes.find((t4) => !S.supportsVoicemailTypeForFlowType(e4.language, t4, this.transferTargetType))); + if (t3.length > 0) { + const i3 = y.getListDisplayString(a.default.map(t3, function(e4) { + return S.getLanguageNameAndCodeDisplay(e4.language); + })), n3 = t3.length > 1 ? w.transferVoicemail.voicemailTypeNonVocalByLangs : w.transferVoicemail.voicemailTypeNonVocalByLang; + e3.addWarning(this, (0, r.sprintf)(n3, this.transferTargetType.displayName, i3)); + } + super.validate(e3); } } - t2.default = d, d.className = "BaseDetectSilenceActionViewModel"; - }, 25255: (e2, t2, i2) => { + 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; + }, 60599(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(53755), r = 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 o.BaseConversationAttributeActionViewModel { + constructor(e3, t3) { + super(e3, t3), this._loadModel(t3); } - get _actionTypeId() { - return r2.disconnectActionType; + get inputUsesSchemaDataPatch() { + return true; } - get displayTypeName() { - return this._scriptingName; + static createCustomJsonProperties() { + return this.createManagedPropertiesFromConfig({ includeInput: true, includeOutput: true, inputOptionsFactory: () => r.ExpressionTypeJsonOptions.create((e3) => { + e3.setAsInput().setUiPropertyGroup(d.setAttributes.attribute).setIsCustomJsonType(true).setNullPropertyValueNoOpWarningText(d.conversationAttribute.supplyRecordDataWithPropertyOmittedToRemove).setUiSingleItemSectionPropertyGroup(true).setHideLabel(true).setIninTestingField("customJsonInput"); + }), outputOptionsFactory: () => r.ExpressionTypeJsonOptions.create((e3) => { + e3.setAsOutput().setIsCustomJsonType(true).setLabelOverride(d.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); + }) }); } - get isArchActionDisconnect() { - return true; + static get managedProperties() { + return [...this.createBaseManagedProperties(), this.createRecordIdManagedProperty(), this.createDivisionsManagedProperty(), ...this.createCustomJsonProperties()]; + } + _getPossibleErrors() { + return u.updateConversationAttributeFailureReasons; } } - 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) => { + 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; + }, 20164(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(15453)); - class a extends o.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(21647), r = 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); } - get displayTypeName() { - return "ArchBaseActionWithOutputLoopMaxLoopsNextLoop"; + static get branchInfo() { + return a.default.successFailure; } - get isArchBaseActionWithOutputLoopMaxLoopsNextLoop() { - return true; + _getPossibleErrors() { + return d.updateExternalContactFailureReasons; } - get outputLoopNext() { - return this._getOutputById(r2.outputIds.loopNext, true); + validate(e3) { + var t3; + const i3 = null === (t3 = this.patchChanges) || void 0 === t3 ? void 0 : t3.items; + 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); } - get outputLoopsMax() { - return this._getOutputById(r2.outputIds.loopsMax, true); + static get managedProperties() { + return [{ label: m.commonExternalContact.nameLabel, options: r.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: o.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" }]; } } - t2.default = a; - }, 25301: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allModes = t2.never = t2.always = void 0; - const n2 = i2(47957); - 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) => { + 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; + }, 86855(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), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends a.default { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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(50474), _ = i2(76869), h = n2.__importDefault(i2(4648)), m = i2(58155), g = i2(47957); + class f extends s.default { constructor(e3, t3) { super(e3.parentFlow, e3), this._loadModel(t3); } + getDetails() { + const e3 = this.variables ? this.variables.items : null; + if (e3 && e3.length) { + const t3 = [], i3 = []; + return o.default.each(e3, (e4, n3) => { + if (!e4.variable || !e4.expression) return; + const o2 = r.getDisplayText(e4.expression); + t3.push(n3 + 1), i3.push((0, d.sprintf)(c.default.updateVariables.labelValue, e4.variable.text, o2)); + }), new a.ActionDetails(t3, i3); + } + return null; + } + getFlowInfoSpecAnnotation() { + var e3, t3; + const i3 = null === (t3 = null === (e3 = this.variables) || void 0 === e3 ? void 0 : e3.items) || void 0 === t3 ? void 0 : t3.filter((e4) => { + var t4; + return null === (t4 = e4.variable) || void 0 === t4 ? void 0 : t4.text; + }).map((e4) => this._getFlowInfoSpecAssignmentText(e4)); + if (null == i3 ? void 0 : i3.length) return `-> writes ${i3.join(", ")}`; + } + _getFlowInfoSpecAssignmentText(e3) { + const t3 = e3.variable.text, i3 = this._getFlowInfoSpecValueText(e3.expression); + return i3 ? `${t3} = ${i3}` : t3; + } + _getFlowInfoSpecValueText(e3) { + var t3, i3; + return (0, p.isCollectionExpression)(e3) && e3.isLiteralMode ? `[${(null !== (i3 = null === (t3 = e3.collectionItems) || void 0 === t3 ? void 0 : t3.items.map((e4) => { + var t4; + return (0, m.escapeFlowInfoSpecInlineText)(null !== (t4 = e4.text) && void 0 !== t4 ? t4 : ""); + })) && void 0 !== i3 ? i3 : []).join(", ")}]` : (null == e3 ? void 0 : e3.text) ? (0, m.escapeFlowInfoSpecInlineText)(e3.text) : void 0; + } static get managedProperties() { - 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 }]; + return [{ property: "variables", label: g.updateVariables.updateStatements, variables: true, options: _.VariableOptions.create(), yamlOptions: f.createYamlOptions("variables", (e3) => e3.setPropertyName("statements")) }]; + } + validate(e3) { + const t3 = this.variables ? this.variables.items : null; + t3 && 0 !== t3.length || e3.addWarning(this, g.updateVariables.noStatementError), super.validate(e3); } } - 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) => { + f.info = u.default.createActionInfo({ actionClass: f, canBeInTask: true, canBeTreeNode: false, helpTopic: l.helpTopics.actions.updateVariables, modelClass: i2(73954), name: g.actions.updateVariables, scriptingName: "ArchActionUpdateData", modelFormatSupport: { flowYaml: { inProgress: true, feature: h.default.changeSetsFeaturePhase2 } } }), t2.default = f; + }, 340(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importStar(i2(99434)), r = 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); } - get _globalTypeName() { - return "string"; + getDetails() { + var e3, t3; + if (!(null === (t3 = null === (e3 = this.variables) || void 0 === e3 ? void 0 : e3.items) || void 0 === t3 ? void 0 : t3.length)) return null; + const i3 = [], n3 = []; + return this.variables.items.forEach((e4, t4) => { + if (!e4.variable || !e4.expression) return; + const r2 = o.getDisplayText(e4.expression); + i3.push((t4 + 1).toString()), n3.push((0, c.sprintf)(d.default.updateVariables.labelValue, e4.variable.text, r2)); + }), new r.ActionDetails(i3, n3); } - get displayTypeName() { - return "ArchVariableString"; + static get managedProperties() { + 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")) }]; } - get initialValue() { - return this._initialValue; + 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, m.updateVariables.noStatementError), super.validate(e3); } - get isArchVariableString() { + static get branchInfo() { + return s.default.successFailure; + } + get isUpdateWorkitem() { return true; } + _getPossibleErrors() { + return p.updateWorkitemFailureReasons; + } } - t2.default = r2; - }, 25446: (e2, t2, i2) => { + 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; + }, 72830(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(12179), r = 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); } - get _allowBlankObjectId() { - return false; + static get branchInfo() { + return s.default.processedTimeoutFailure; } - get displayTypeName() { - return "ArchBasePrompt"; + getDetails() { + return this.confidence ? new r.ActionDetails([p.voiceBiometrics.confidence], [this.confidence.text]) : null; } - get isArchBasePrompt() { - return true; + static get managedProperties() { + return [{ label: p.voiceBiometrics.confidence, options: a.ExpressionTypeDecimalOptions.create((e3) => e3.setAsOutput()), property: "confidence", type: c.expressionTypeNames.decimal }]; } - get name() { - return this._getCoreViewModel().name; + validate(e3) { + super.validate(e3); } - get nameWithPrefix() { - return this._getCoreViewModel().expressionName; + } + _.info = l.default.createActionInfo({ actionClass: _, canBeInTask: true, canBeTreeNode: false, helpTopic: o.helpTopics.actions.voiceBiometrics, modelClass: i2(47140), name: p.actions.voiceBiometrics, scriptingName: "ArchActionVoiceBiometrics", modelFormatSupport: { flowYaml: { inProgress: true, feature: d.default.changeSetsFeaturePhase2 } } }), t2.A = _; + }, 96422(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(63824)), r = 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 d.ActionDetails([g.wait.durationLabel], [r.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(o.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)) }]; } - get isSystemPrompt() { - return this._getCoreViewModel().isSystem; + initializeDesignTime() { + super.initializeDesignTime(), this.trimDurationNearMaxRunningTime.isLiteralMode && this.trimDurationNearMaxRunningTime.isBlank && this.trimDurationNearMaxRunningTime.setAsLiteral(l.default.false); } - get isUserPrompt() { - return this._getCoreViewModel().isUser; + validate(e3) { + super.validate(e3), this.duration || e3.addError(this, g.wait.noDurationSet); } } - t2.default = r2; - }, 25498: (e2, t2, i2) => { + 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; + }, 49661(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(23714)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._initialAudio = this.coreFactory.createArchWrapper(e3.initialPrompts), this._menuSettings = this.coreFactory.createArchWrapper(e3.menuSettings), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts), this._speechRecSettings = this.coreFactory.createArchWrapper(e3.speechRecognition); - } - get displayTypeName() { - return "ArchBaseFlowInboundOutboundSecureCall"; - } - get initialAudio() { - return this._initialAudio; + const n2 = i2(31635), o = i2(96618), r = 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: 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(r.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(r.askForIntentSequences.noMatchSequence).setScriptingPropertyName("noMatch")), optionsForSpecificFlowTypes: [{ flowTypes: [o.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(r.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: [o.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 }]; } - get isArchBaseFlowInboundOutboundSecureCall() { - return true; + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - setStartingMenu(e3) { - this._checkItem(this._infoParm("archMenu", "setStartingMenu"), !e3 || !e3.isArchMenu, "you must pass in a valid ArchMenu instance to set it as the starting menu on a flow."), this.logNote("setting the starting menu to " + e3.logStr), this._coreFlowViewModel.initialSequence = e3.id; + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3); } - setStartingTask(e3) { - this._checkItem(this._infoParm("archTask", "setStartingTask"), !e3 || !e3.isArchTask, "you must pass in a valid ArchTask instance to set it as the starting task on a flow."), this.logNote("setting the starting task to " + e3.logStr), this._coreFlowViewModel.initialSequence = e3.id; + static createNoMatchRepromptsOptions() { + 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); } - get settingsMenu() { - return this._menuSettings; + 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); } - get settingsPrompts() { - return this._promptSettings; + getFlowInfoSpecTerminalKind() { } - get settingsSpeechRec() { - return this._speechRecSettings; + 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); } - get startUpObject() { - const e3 = this._getCoreViewModel().startUpObject; - return e3 ? this.coreFactory.createArchWrapper(e3) : null; + _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); } } - t2.default = r2; - }, 25575: (e2, t2, i2) => { + 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; + }, 55867(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 { + t2.BaseActionProperty = void 0; + const n2 = i2(31635), o = i2(19206), r = 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) { - super(e3.parentFlow, e3), this._loadModel(t3); + if (super(), this.supportsInitializeDesignTime = true, this._initializeDesignTimeCalled = false, this._attachedActionProperties = [], this._autoCleanedUpSinks = [], !e3) throw new Error("no action"); + this.traceTopic = r.getTopic(this.className).copyContext(e3.topic), this.$action = e3, this.metaData = t3, this.options = t3.options; } - _getPossibleErrors() { - return l.assignCustomerSegmentFailureReasons; + get lastActor() { + return this._lastActor; } - 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 }]; + get lastActorWasUser() { + return !this._lastActor; } - } - _.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; - Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = i2(96618), l = a.__importDefault(i2(16731)); - class u extends l.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.callPrompts), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.voiceSurveyFlowSettings), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.speechRecognition), "f"); + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); } - get _flowType() { - return s.flowTypes.flowTypeVoiceSurvey; + 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; } - get displayTypeName() { - return "ArchFlowVoiceSurvey"; + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); } - get isArchFlowVoiceSurvey() { - return true; + get action() { + return this.$action; } - get settingsPrompts() { - if (!this._getCoreViewModel().callPrompts.outOfService) return a.__classPrivateFieldGet(this, n2, "f"); + get className() { + return "BaseActionProperty"; } - get settingsSpeechRec() { - return a.__classPrivateFieldGet(this, o, "f"); + getConfiguration(e3, t3, i3) { + return null; } - get voiceSurveySettings() { - return a.__classPrivateFieldGet(this, r2, "f"); + get parentFlow() { + return this.action.parentFlow; } - } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 25632: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.Operand = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(15508)), o = n2.__importStar(i2(9345)); - t2.Operand = class { - constructor(e3, t3, i3) { - this.className = "Operand", this.isOperand = true, this.allowNotSet = !e3.required, this.canAppearMoreThanOnce = e3.repeatable, this.description = i3, this.name = e3.identifier, this.type = t3, this.allowCustomJson = e3.allowCustomJson, void 0 !== e3.helpDisplayIdx && (this.helpDisplayIdx = e3.helpDisplayIdx), e3.isDecimalPlaces && (this.isDecimalPlaces = true); - let n3 = false, o2 = false, a = false; - void 0 !== e3.allowNotSet && (n3 = true), void 0 !== e3.min && (this.min = parseInt(e3.min, 10), a = true), void 0 !== e3.max && (this.max = parseInt(e3.max, 10), a = true), e3.disallowZero && (this.disallowZero = true, n3 = true), void 0 !== e3.minLength && (this.minLength = parseInt(e3.minLength, 10), a = true), e3.mustBeLiteral && (this.mustBeLiteral = true, n3 = true), e3.mustBeVariable && (this.mustBeVariable = true, e3.mustBeVariableScope && (this.mustBeVariableScope = e3.mustBeVariableScope), n3 = true), e3.literalValidatorName && (this.literalValidatorName = e3.literalValidatorName, n3 = true), e3.checkPromptTTSLength && (this.checkPromptTTSLength = e3.checkPromptTTSLength, n3 = true), void 0 !== e3.itemAllowNotSet && (this.itemAllowNotSet = e3.itemAllowNotSet, o2 = true), void 0 !== e3.itemMax && (this.itemMax = parseInt(e3.itemMax, 10), o2 = true), void 0 !== e3.itemMin && (this.itemMin = parseInt(e3.itemMin, 10), o2 = true), void 0 !== e3.maxItems && (this.maxItems = parseInt(e3.maxItems, 10), n3 = true), void 0 !== e3.minItems && (this.minItems = parseInt(e3.minItems, 10), n3 = true), o2 && (this.hasCollectionItemRestrictions = true), a && (this.facets = r2.default.createMinMax(this.min, void 0 !== this.min, this.max, void 0 !== this.max)), (o2 || a || n3) && (this.hasRestrictions = true); + get topParent() { + return this.action.topParent; } - isExpressionMatch(e3) { - let t3; - if (this.allowNotSet) t3 = o.settings.typeOfOrAnyOrNotSet; - else { - if (e3.isNotSet) return false; - t3 = this.type.isAnyComplex ? o.settings.anyComplex : o.settings.typeOfOrAny; - } - return o.isMatch(e3.type, this.type, t3, this.allowCustomJson); + addClipboardDependencies(e3) { } - checkMaxIntRestriction(e3) { - return !(void 0 !== this.max && e3 > this.max); + checkVersion(e3) { } - checkMinIntRestriction(e3) { - return !(void 0 !== this.min && e3 < this.min); + destroy() { + this._attachedActionProperties.forEach((e3) => { + delete this.action[e3]; + }), this._attachedActionProperties.length = 0, a.cleanUpAutoCleanupWatchList(this._autoCleanedUpSinks); } - checkZeroRestriction(e3) { - return !(this.disallowZero && 0 === e3); + setNewInstanceDefaults() { } - }; - }, 25638: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(76117)); - class r2 extends n2.default { - constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }) { - super(e3, t3, i3, void 0, n3); + initializeDesignTime() { + try { + this._initializeDesignTime(); + } catch (e3) { + this.traceTopic.exception(e3, "BaseActionProperty _initializeDesignTime"); + } + this._initializeDesignTimeCalled = true; + try { + this._postInitializeDesignTime(); + } catch (e3) { + this.traceTopic.exception(e3, "BaseActionProperty _postInitializeDesignTime"); + } } - get className() { - return "OutputModeBuilderPartContainerViewModel"; + get initializeDesignTimeCalled() { + return this._initializeDesignTimeCalled; } - get isOutputModeBuilderPartContainerViewModel() { + get isActionProperty() { return true; } - get outputMode() { - return this.criteria ? this.criteria.outputMode : ""; - } - get containerDisplayString() { - return this.outputMode; + search(e3) { } - _validateContainerOnly(e3, t3) { - return super._validateContainerOnly(e3, t3); + updateDependencies() { } - } - t2.default = r2; - }, 25653: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.askForNextSlotSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(73324); - class s extends a.BaseBotActionSettingsSequence { - constructor() { - super("askForNextSlot"); + validate(e3) { } - get noInputSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInput"); - return this.generateLanguageSequenceConfig("AskForNextSlotNoInput", r2.builderIds.parts.genericCommunication, e3); + validateAction(e3) { + s.validate(this.action, e3); } - get noInputDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); - return this.generateLanguageSequenceConfig("AskForNextSlotNoInputDigitalBot", r2.builderIds.parts.markdownCommunication, e3); + _initializeDesignTime() { } - get noMatchSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"); - return this.generateLanguageSequenceConfig("AskForNextSlotNoMatch", r2.builderIds.parts.genericCommunication, e3); + _postInitializeDesignTime() { } - get noMatchDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"); - return this.generateLanguageSequenceConfig("AskForNextSlotNoMatch", r2.builderIds.parts.markdownCommunication, e3); + attachActionProperty(e3, t3, i3) { + Object.defineProperty(this.action, e3, { get: t3, set: i3, configurable: true }), this._attachedActionProperties.push(e3); } - get questionSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("question"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("AskForNextSlotQuestion", r2.builderIds.parts.genericCommunication, e3, t3); + addAutoCleanedUpEventSinkWatch(e3, t3, i3) { + a.addToAutoCleanupWatchList(this._autoCleanedUpSinks, e3, t3, 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, "noMatchDigitalBotSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "questionSequence", null), t2.askForNextSlotSequences = new s(); - }, 25657: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSource = a; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(94604)); - function a(e3) { - return r2.default.build(o.getKnowledgeSource).templateParams({ id: e3 }).call(); - } - a.api = o.getKnowledgeSource; - }, 25679: (e2, t2, i2) => { + t2.BaseActionProperty = u; + }, 14086(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + var n2; + t2.CommonModuleFlowReferenceProperty = void 0; + const o = i2(31635), r = i2(96618), a = i2(17604), s = o.__importStar(i2(98442)), l = o.__importDefault(i2(73198)), u = o.__importDefault(i2(60571)), c = i2(33381), d = i2(44307), p = i2(47957); + class _ extends c.FlowReferenceProperty { + constructor(e3, t3) { + super(e3, t3, r.flowTypes.flowTypeCommonModule, false), n2.set(this, false), this._commonModuleFlowDoesNotExist = false; } - get _globalTypeName() { - return "externalOrganizationCollection"; + get isCommonModuleFlowReferenceProperty() { + return true; } - get displayTypeName() { - return "ArchValueExternalOrganizationCollection"; + get className() { + return "CommonModuleFlowReferenceProperty"; } - get isArchValueExternalOrganizationCollection() { - return true; + destroy() { + this.parentFlow.removeCommonModuleActionReference(this.action, this.flowId, this.flowVersion), super.destroy(); } - } - t2.default = r2; - }, 25760: (e2, t2, i2) => { - function n2() { - Object.defineProperties(this, { _dateCreated: { writable: true }, _dateModified: { writable: true } }), this.dateCreated = void 0, this.dateModified = void 0, this.engineVersion = void 0, this.draftVersion = void 0, this.lastPublishedVersion = void 0, this.intents = void 0, this.entities = void 0, this.entityTypes = void 0, this.language = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(52722).extend(n2, "NLUDomain"), Object.defineProperties(n2.prototype, { dateCreated: { get: function() { - return this._dateCreated; - }, set: function(e3) { - this._dateCreated = Date.parse(e3); - } }, dateModified: { get: function() { - return this._dateModified; - }, set: function(e3) { - this._dateModified = Date.parse(e3); - } }, isNLUDomainModel: { get: () => true } }), e2.exports = n2; - }, 25767: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importDefault(i2(4648)), a = n2.__importDefault(i2(37873)); - class s extends a.default { - constructor(e3) { - super(e3), this._coreBotSettingsViewModel = e3; + getErrors(e3) { + var t3, i3, n3; + const o2 = super.getErrors(e3); + if (!this.flowId || this.isRefreshingFlowReference) return o2; + const r2 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); + if (this._commonModuleFlowDoesNotExist) ; + else if (null == r2 ? void 0 : r2.viewModel) { + let t4 = null === (i3 = r2.viewModel) || void 0 === i3 ? void 0 : i3.info; + if (t4 || (t4 = this.getFlowInfoReference(this.flowId)), this.checkHasPermissionError(t4) || !(null === (n3 = r2.viewModel) || void 0 === n3 ? void 0 : n3.loaded)) o2.push(p.commonModule.commonModuleNotUsableMissingPermission); + else if (t4 && !t4.deleted) { + this.isMissingDestinationFlowType(r2.viewModel) && o2.push((0, a.sprintf)(e3 ? p.commonModule.flowTypeNotSupportedValidationError : p.commonModule.flowTypeNotSupported, this.parentFlow.info.flowTypeName)); + const i4 = this._getMissingLanguages(r2.viewModel); + i4.length && o2.push((0, a.sprintf)(e3 ? p.commonModule.languageNotSupportedValidationError : p.commonModule.languageNotSupported, i4)), r2.viewModel.getHasMissingTTSEngineErrors() && o2.push((0, a.sprintf)(p.audio.errorCommonModuleTTS, r2.viewModel.displayName)), this.isInvalidDebugFlowReference(t4) && o2.push(p.commonModule.debugPublishVersionNotAvailable), this.isInvalidPublishedFlowReference(t4) && o2.push(p.commonModule.publishedVersionNotAvailable); + } + } else o2.push(p.commonModule.internalError), this.traceTopic.traceOnce(`cm-missing-ref-${null === (t3 = this.action) || void 0 === t3 ? void 0 : t3.id}-${this.flowId}`, (e4) => e4.error(`CallCommonModule action has a missing embedded flow reference: ${this.flowId}`)); + return o2; } - get displayTypeName() { - return "ArchSettingsBotFlow"; + getFlowInfoReference(e3) { + const t3 = super.getFlowInfoReference(e3); + if (t3) return t3; + if (e3 === this.flowId) { + const e4 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); + return null == e4 ? void 0 : e4.flowInfoViewModel; + } } - get logStr() { - if (!this._coreBotSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); + validate(e3) { + this.updateEmbeddedFlow(e3), super.validate(e3); } - get isArchSettingsBotFlow() { - return true; + setFlowById(e3, t3, i3) { + return o.__awaiter(this, void 0, void 0, function* () { + let n3; + i3 && (i3 = void 0), this.setIsRefreshingFlowReference(true); + try { + e3 && (n3 = this.getFlowInfoReference(e3), n3 && (i3 || n3.publishedDisplay) || (n3 = yield this.flowListManager.fullManager.fetchItem(e3))), n3 = yield this.setReferenceWithFlowInfo(n3, i3, t3); + } finally { + this.setIsRefreshingFlowReference(false), this.validateAction(); + } + return n3; + }); } - get agenticVirtualAgentEnabled() { - return this._getCoreViewModel().agenticVirtualAgentEnabled; + setReferenceWithFlowInfo(e3, t3, i3) { + return o.__awaiter(this, void 0, void 0, function* () { + if (e3 && e3.type !== this.flowType) throw new Error(`flowInfoViewModel is not of type ${this.flowType}`); + if (this.parentFlow.removeCommonModuleActionReference(this.action, this.flowId, this.flowVersion), !e3) return this.clearReference(), void this.validateAction(); + let n3, o2 = false; + this.setIsRefreshingFlowReference(true); + try { + this.flowName = e3.displayName, this.flowId = e3.id, this.flowVersion = t3, t3 || i3 ? !t3 && i3 ? (this.flowVersion = e3.debugVersionDisplay, this.isFlowRefLatestPublished = false, this.isFlowRefDebugPublish = true) : (this.isFlowRefLatestPublished = false, this.isFlowRefDebugPublish = false) : (this.flowVersion = e3.publishedDisplay, this.isFlowRefLatestPublished = true, this.isFlowRefDebugPublish = false), n3 = this.parentFlow.addCommonModuleActionReference(this.action, e3, void 0, this.flowVersion), n3.viewModel || e3.division && this.checkHasPermissionError(e3) || (n3.updateRequestedPromise ? yield n3.updateRequestedPromise : (n3.updateRequestedPromise = this.fetchEmbeddedFlow(e3, this.flowVersion), o2 = true, n3.viewModel = yield n3.updateRequestedPromise)), e3 = yield this.refreshFlowSchema(e3); + } finally { + o2 && n3 && (n3.updateRequestedPromise = void 0), this.setIsRefreshingFlowReference(false); + } + return e3; + }); } - getDynamicSlotTypeSettingsByName(e3) { - const t3 = this._infoParm("dynamicSlotTypeName", "getDynamicSlotTypeSettingsByName"); - this._checkItemIsValidLiteralString(t3, e3); - const i3 = this._coreBotSettingsViewModel.parent.nluMetaData.dynamicSlotTypesMap.items, n3 = e3.toLowerCase(), r3 = i3.find((e4) => { - var t4; - return (null === (t4 = null == e4 ? void 0 : e4.model) || void 0 === t4 ? void 0 : t4.name.toLowerCase()) === n3; + _initializeDesignTime() { + if (super._initializeDesignTime(), this.flowId) { + const e3 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); + if (this.parentFlow.initializeDesignTimeCalled && !(null == e3 ? void 0 : e3.viewModel)) return void this.forceFetchReference(); + (null == e3 ? void 0 : e3.viewModel) && e3.actionReferences.indexOf(this.action.id) < 0 && this.parentFlow.addCommonModuleActionReference(this.action, e3.viewModel.info, e3.viewModel, this.flowVersion); + } + } + forceFetchReference() { + return o.__awaiter(this, void 0, void 0, function* () { + try { + this.setIsRefreshingFlowReference(true); + const e3 = yield this.flowListManager.getOrFetchItem(this.flowId); + if (e3) { + const t3 = yield this.fetchEmbeddedFlow(e3, this.flowVersion); + t3 ? (this._commonModuleFlowDoesNotExist = false, this.parentFlow.addCommonModuleActionReference(this.action, e3, t3, this.flowVersion)) : this._commonModuleFlowDoesNotExist = true, this.validateAction(true); + } + } catch (e3) { + 410 === e3.status && (this._commonModuleFlowDoesNotExist = true); + } finally { + this.setIsRefreshingFlowReference(false); + } }); - if (r3) return this.coreFactory.createArchSettingsNluDynamicSlotType(r3); - this.logItemWarning(t3, `could not find the slot type with name '${e3}', returning nothing.`); } - getDynamicTimeslotTypeSettingsByName(e3) { - const t3 = this._infoParm("dynamicTimeslotTypeName", "getDynamicTimeslotTypeSettingsByName"); - this._checkItemIsValidLiteralString(t3, e3); - const i3 = this._coreBotSettingsViewModel.parent.nluMetaData.dynamicTimeslotTypeList.items, n3 = e3.toLowerCase(), r3 = i3.find((e4) => { - var t4; - return (null === (t4 = null == e4 ? void 0 : e4.model) || void 0 === t4 ? void 0 : t4.name.toLowerCase()) === n3; + clearReference() { + o.__classPrivateFieldSet(this, n2, false, "f"), super.clearReference(); + } + getCommonModuleReference() { + return this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); + } + updateEmbeddedFlow(e3) { + const t3 = this.getCommonModuleReference(); + if (t3) { + let i3 = super.getFlowInfoReference(this.flowId); + if (!i3) return void this.traceTopic.warning("missing flowInfo reference, can not update embedded flow"); + if (t3.viewModel && e3.isDeep && (t3.viewModel.info.loadModel(i3), i3 = t3.viewModel.info, o.__classPrivateFieldGet(this, n2, "f") && o.__classPrivateFieldSet(this, n2, false, "f")), this.parentFlow.isReadOnly) return; + if (this.checkHasPermissionError(i3)) return; + let r2 = null; + if (this.isFlowRefLatestPublished && i3.publishedDisplay ? t3.viewModel && this.flowVersion === i3.publishedDisplay || (r2 = i3.publishedDisplay) : this.isFlowRefDebugPublish && i3.debugVersionDisplay && (t3.viewModel && this.flowVersion === i3.debugVersionDisplay || (r2 = i3.debugVersionDisplay)), r2) { + if (!e3.isDeep) return; + this.setIsRefreshingFlowReference(true); + let n3 = false; + t3.updateRequestedPromise || (e3.addError(this.action, (0, a.sprintf)(p.commonModule.embeddedFlowNeedsUpdated, this.flowName, this.flowVersion, r2)), this.traceTopic.info(`Action is referencing ${this.flowVersion} but ${r2} is the latest, getting latest`), n3 = true, t3.updateRequestedPromise = this.fetchEmbeddedFlow(i3, r2).finally(() => delete t3.updateRequestedPromise), e3.addRevalidateTrigger(t3.updateRequestedPromise, 60 * l.default.msPerSecond)), t3.updateRequestedPromise.then((e4) => { + if (e4) { + if (this.flowVersion !== r2) return this.traceTopic.info(`updated flow reference from version '${this.flowVersion}' to '${r2}'`), this.parentFlow.removeCommonModuleActionReference(this.action, this.flowId, this.flowVersion), this.flowVersion = r2, this.parentFlow.addCommonModuleActionReference(this.action, i3, e4, this.flowVersion), this.refreshFlowSchema(e4.info); + { + const t4 = this.parentFlow.getCommonModuleReference(this.flowId, this.flowVersion); + t4 && !t4.viewModel && (t4.viewModel = e4); + } + } + }).finally(() => { + this.setIsRefreshingFlowReference(false), n3 && (t3.updateRequestedPromise = void 0); + }); + } + } + } + fetchEmbeddedFlow(e3, t3) { + return o.__awaiter(this, void 0, void 0, function* () { + if (!e3.division || !this.checkHasPermissionError(e3)) { + o.__classPrivateFieldSet(this, n2, false, "f"); + try { + const i3 = new u.default(e3, this.parentFlow); + return yield i3.requestConfiguration(t3, true, true), i3; + } catch (e4) { + return void (403 === e4.status ? o.__classPrivateFieldSet(this, n2, true, "f") : this.traceTopic.requestError(e4, "failed to update embedded flow")); + } + } }); - if (r3) return this.coreFactory.createArchSettingsNluDynamicTimeslotType(r3); - this.logItemWarning(t3, `could not find the slot type with name '${e3}', returning nothing.`); } - getIntentSettingsByIntentName(e3) { - this._checkItemIsValidLiteralString(this._infoParm("intentName", "getIntentSettingsByIntentName"), e3); - const t3 = this._coreBotSettingsViewModel.parent.nluMetaData.intentSettingsMap[e3]; - if (t3) return this.coreFactory.createArchSettingsNluIntent(t3); + checkHasPermissionError(e3) { + return !(!e3.division || e3.canView || (o.__classPrivateFieldSet(this, n2, true, "f"), 0)); } - getSlotSettingsBySlotName(e3) { - this._checkItemIsValidLiteralString(this._infoParm("slotName", "getSlotSettingsBySlotName"), e3); - const t3 = this._coreBotSettingsViewModel.parent.nluMetaData.slotSettingsMap[e3]; - if (t3) return this.coreFactory.createArchSettingsNluSlot(t3); + isMissingDestinationFlowType(e3) { + return !!(null == e3 ? void 0 : e3.loaded) && !e3.commonModuleSettings.destinationFlowTypes.find((e4) => e4 === this.parentFlow.type); } - get virtualAgentEnabled() { - return this._getCoreViewModel().virtualAgentEnabled; + _getMissingLanguages(e3) { + if (null == e3 ? void 0 : e3.loaded) { + const t3 = e3.getMissingLanguages(); + if (t3) return s.getLanguageListDisplayStr(s.getLanguageEntries(t3)); + } + return []; } - set virtualAgentEnabled(e3) { - const t3 = this._infoPropSet("newValue", "virtualAgentEnabled"); - this._checkItemIsValidLiteralBool(t3, e3), true !== e3 || r2.isFeatureAvailable(o.default.botFlowsVirtualAgentOffering) || this.logItemErrorAndThrow(t3, "unable to enable Virtual Agent functionality on this flow because this organization does not have Virtual Agent functionality available to it."), this._getCoreViewModel().virtualAgentEnabled = !!e3; + isInvalidDebugFlowReference(e3) { + return !!this.isFlowRefDebugPublish && !(null == e3 ? void 0 : e3.hasDebugPublish); } - get voiceProcessingPrompt() { - return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.voiceProcessingPrompt); + isInvalidPublishedFlowReference(e3) { + return !!this.isFlowRefLatestPublished && !(null == e3 ? void 0 : e3.isPublished); } - get minimumPlaybackTime() { - return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.minimumPlaybackTime); + static createCreateDetails() { + return { create: (e3, t3) => new _(e3, t3), getCreateClass: () => _, modelProperties: ["flowId", "flowName", "flowVersion", "flowLatestVersion", "flowDebugPublished"] }; } - get initialPlaybackDelay() { - return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.initialPlaybackDelay); + getConfiguration(e3, t3) { + var i3, n3, o2, r2; + const a2 = super.getConfiguration(e3, t3); + if (null === (n3 = null === (i3 = e3.referencedObjects) || void 0 === i3 ? void 0 : i3.flows) || void 0 === n3 ? void 0 : n3.length) { + const t4 = null === (r2 = null === (o2 = this.getCommonModuleReference()) || void 0 === o2 ? void 0 : o2.viewModel) || void 0 === r2 ? void 0 : r2.commonModuleDestinationFlowTypes; + if (t4) { + const i4 = (0, d.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); + i4 && (i4.flow.compatibleFlowTypes = t4); + } + } + return a2; } } - t2.default = s; - }, 25884: (e2) => { - "use strict"; - e2.exports = (e3, t2) => { - t2 = t2 || process.argv; - const i2 = e3.startsWith("-") ? "" : 1 === e3.length ? "-" : "--", n2 = t2.indexOf(i2 + e3), r2 = t2.indexOf("--"); - return -1 !== n2 && (-1 === r2 || n2 < r2); - }; - }, 25965: (e2, t2, i2) => { + t2.CommonModuleFlowReferenceProperty = _, n2 = /* @__PURE__ */ new WeakMap(); + }, 4333(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.messagingTemplateResponseManager = t2.MessagingTemplateResponseManager = void 0; - const n2 = i2(24032), r2 = i2(10535), o = i2(30801), a = i2(60609); - class s extends r2.ResponseManager { - constructor() { - super(...arguments), this.topic = (0, n2.getTopic)("MessagingTemplateResponseManager"), this.responseType = a.CannedResponseType.messagingTemplate, this.actionsForUsageSearch = [o.sendDigitalContentActionType]; + t2.ContainerActionProperty = void 0; + const n2 = i2(31635), o = i2(17604), r = 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, o2, r2, 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 = o2, this._invalidStringText = r2, 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(); } - additionalItemFilter(e3) { - return e3.filter((e4) => e4.responseType === this.responseType); + get isContainerActionProperty() { + return true; } - } - t2.MessagingTemplateResponseManager = s, t2.messagingTemplateResponseManager = new s(); - }, 26031: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(87200); - function o() { - } - o.prototype.orgInfo = function() { - return n2.build(r2.orgInfo).call(); - }, o.prototype.getAuthToken = function(e3) { - const t3 = n2.build(r2.getAuthToken); - return t3.addTokenRequestHeaders(), t3.content("grant_type=authorization_code&code=" + e3 + "&redirect_uri=http://localhost:9001/callback"), t3.call(); - }, o.prototype.getAuthTokenClientCredentials = function() { - const e3 = n2.build(r2.getAuthToken); - return e3.addTokenRequestHeaders(), e3.content("grant_type=client_credentials&redirect_uri=http://localhost:9001/callback"), e3.call(); - }, o.prototype.getTimeZones = function() { - return n2.build(r2.getTimeZones).call(); - }, o.prototype.mainAppHtml = function() { - return n2.build(r2.mainAppHtml).call(); - }, o.prototype.reportError = function(e3, t3, i3, o2, a) { - const s = n2.build(r2.reportError); - return s.content({ topic: e3, description: t3, priority: i3, type: o2, data: a }), s.call(); - }, e2.exports = new o(); - }, 26063: (e2, t2, i2) => { - function n2() { - this.region = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(24171).extend(n2, "LexV2Bot"), Object.defineProperties(n2.prototype, { isLexV2Bot: { get: function() { - return true; - } } }), e2.exports = n2; - }, 26151: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(57731), o = {}; - function a(e3, t3) { - o[e3] = this, o[t3] = this, a.baseConstructor.apply(this, arguments); - } - r2.extend(a, "PlaybackModeEstimatedWaitTime"), a.getInstance = function(e3) { - return o[e3 || 0] || o[0]; - }, a.about = new a(0, "About"), a.range = new a(1, "Range"), a.exact = new a(2, "Exact"), a.lessThan = new a(3, "LessThan"), Object.defineProperties(a.prototype, { getConfiguration: { value: function(e3, t3) { - return t3?.isForFlowYaml ? n2.lowercaseFirstLetter(this.name) : this; - } } }), e2.exports = a; - }, 26166: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(91981)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId); + destroy() { + super.destroy(), this._outOfServiceProvider.destroy(), this.cleanUpEventSinks(); } - get _actionTypeId() { - return r2.getSecuredDataActionType; + getConfiguration(e3, t3, i3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const e4 = this.getReferenceViewModel(); + return this.outOfService && i3 && !i3.serializeOutOfService ? void 0 : e4 && e4.yamlPath; + } + return this.parent.isAction ? (console.error("Trying to access ContainerActionProperty.getConfiguration for non-flow-YAML"), null) : (e3[this._modelIdPropName] = this.referenceId, void (e3[this._modelNamePropName] = this.referenceName)); } - get conversationId() { - return this._conversationId; + get parent() { + return this.action; } - get isArchActionGetSecuredData() { - return true; + get parentFlow() { + return this.action.parentFlow; } - } - t2.default = o; - }, 26232: (e2) => { - function t2(e3, t3) { - return !!e3 && e3.type.getPropertyDefinition(t3); - } - e2.exports = function(e3, i2) { - for (let n2 = 1; n2 < e3.length; n2++) { - if (!i2.canAttachProperty) return null; - const r2 = t2(i2, e3[n2]); - if (!r2) return null; - i2.attachProperty(r2); + get referenceId() { + return this.action[this._modelIdPropName]; } - return i2; - }; - }, 26349: (e2, t2, i2) => { - var n2 = { "./cs-cz/serverErrors.js": [66515, 6515], "./de-de/serverErrors.js": [520, 520], "./en-us/serverErrors.js": [70425], "./es-us/serverErrors.js": [26966, 6966], "./fr-ca/serverErrors.js": [49154, 9154], "./it-it/serverErrors.js": [1368, 1368], "./ja-jp/serverErrors.js": [49425, 9425], "./ko-kr/serverErrors.js": [89943, 9943], "./nb-no/serverErrors.js": [11539, 1539], "./nl-nl/serverErrors.js": [44946, 4946], "./pl-pl/serverErrors.js": [13638, 3638], "./pt-br/serverErrors.js": [62822, 2822], "./ru-ru/serverErrors.js": [50860, 860], "./sv-se/serverErrors.js": [91439, 1439], "./tr-tr/serverErrors.js": [2278, 2278], "./zh-cn/serverErrors.js": [44571, 4571], "./zh-tw/serverErrors.js": [51203, 1203] }; - function r2(e3) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); - } - r2.keys = () => Object.keys(n2), r2.id = 26349, e2.exports = r2; - }, 26403: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ParseResult = t2.ParseResultTypes = void 0; - const n2 = i2(31635), r2 = i2(82485), o = n2.__importDefault(i2(73198)); - t2.ParseResultTypes = { error: "error", info: "info", warn: "warn" }; - class a extends r2.VersionItem { - get resultType() { - return this._resultType; + set referenceId(e3) { + this.action[this._modelIdPropName] = e3; } - set resultType(e3) { - this._resultType = e3; + get referenceName() { + return this.action[this._modelNamePropName]; } - constructor(e3) { - super(), this._maxCallStack = o.default.maxExpressionCallStack, this._maxExpressionSize = o.default.maxExpressionTextLength, this._brackets = [], this._parens = [], this._lineExtents = [], this.consumesSecureData = false, this.properties = [], this.resultExpression = void 0, this.resultHelpTopic = void 0, this.expression = e3, this.languages = e3.languages, this.parentFlow = e3.parentFlow; + set referenceName(e3) { + this.action[this._modelNamePropName] = e3; } - get className() { - return "ParsedExpression"; + get noReferenceString() { + return this._noReferenceString; } - } - t2.ParseResult = a; - }, 26404: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.popNumber = t2.popScheduler = t2.popResultSelector = void 0; - var n2 = i2(10281), r2 = i2(68596); - function o(e3) { - return e3[e3.length - 1]; - } - t2.popResultSelector = function(e3) { - return n2.isFunction(o(e3)) ? e3.pop() : void 0; - }, t2.popScheduler = function(e3) { - return r2.isScheduler(o(e3)) ? e3.pop() : void 0; - }, t2.popNumber = function(e3, t3) { - return "number" == typeof o(e3) ? e3.pop() : t3; - }; - }, 26435: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - e3.defineLocale("fr-ca", { months: "janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"), monthsShort: "janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"), monthsParseExact: true, weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY-MM-DD", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, calendar: { sameDay: "[Aujourd\u2019hui \xE0] LT", nextDay: "[Demain \xE0] LT", nextWeek: "dddd [\xE0] LT", lastDay: "[Hier \xE0] LT", lastWeek: "dddd [dernier \xE0] LT", sameElse: "L" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", ss: "%d secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, ordinal: function(e4, t3) { - switch (t3) { - default: - case "M": - case "Q": - case "D": - case "DDD": - case "d": - return e4 + (1 === e4 ? "er" : "e"); - case "w": - case "W": - return e4 + (1 === e4 ? "re" : "e"); + setReference(e3) { + if (e3) { + const t3 = this.getInvalidReferenceReason(e3); + t3 && (console.error(`Can not set reference to '${e3.name}:${e3.id}', reason: ${t3}`), e3 = void 0); } - } }); - })(i2(95093)); - }, 26448: (e2, t2, i2) => { - "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = i2(30801), a = r2.__importDefault(i2(65305)); - class s extends a.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.detectedIntent), "f"); + r.default.isFunction(this.action.linkTask) ? this.action.linkTask(e3) : r.default.isFunction(this.action.linkState) ? this.action.linkState(e3) : r.default.isFunction(this.action.linkMenu) ? this.action.linkMenu(e3) : e3 ? (this.referenceName = e3.name, this.referenceId = e3.id) : (this.referenceId = void 0, this.referenceName = void 0), e3 && !e3.supportsCustomOutputPaths || s.emitter.emit(s.branchesChanged); } - get _actionTypeId() { - return o.detectIntentActionType; + setReferenceIdAndName(e3, t3) { + this.referenceName = t3, this.referenceId = e3; + } + isMatch(e3) { + return e3[this._modelNamePropName] === this._noReferenceString && e3[this._modelIdPropName] === this.referenceId; + } + isValidReference(e3) { + return !(!e3 || !e3.isFlowElementWithNodeInformationAndChildren || this.getInvalidReferenceReason(e3)); + } + validate(e3) { + if (!this.outOfService) if (this.action[this._modelIdPropName]) { + const t3 = this.getReferenceViewModel(); + if (!t3 && this.action[this._modelNamePropName]) e3.addError(this, (0, o.sprintf)(h.expression.literalDropDownValueDoesNotExist, this._itemDoesNotExistBaseString, this.action[this._modelNamePropName]), false, true), this._hasError = true; + else { + const i3 = this.getReferenceIssues(t3); + i3.error && (e3.addError(this, i3.error, false, true), this._hasError = true), i3.warning && e3.addWarning(this, i3.warning, void 0, true); + } + } else e3.addError(this, this._noReferenceString, false, true), this._hasError = true; } - get displayTypeName() { - return this._scriptingName; + getInvalidReferenceReason(e3) { + return this.getReferenceIssues(e3).error; } - get isArchActionDetectIntent() { - return true; + getReferenceWarning(e3) { + return this.getReferenceIssues(e3).warning; } - get detectedIntent() { - return r2.__classPrivateFieldGet(this, n2, "f"); + get hasError() { + return this._hasError; } - } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; - }, 26461: (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); + getReferenceIssues(e3) { + if (this._validReferenceCallback) { + const t3 = this._validReferenceCallback(e3); + if (r.default.isObject(t3)) return t3; + } + return {}; } - get _globalTypeName() { - return "booleanCollection"; + cleanUpEventSinks() { + this.eventSinks.forEach((e3) => { + d.unregisterEventSink(e3); + }), this.eventSinks.length = 0; } - get displayTypeName() { - return "ArchVariableBooleanCollection"; + getReferenceViewModel() { + return this.action[this._modelIdPropName] ? c.flowElementRegistrationService.getItemById(this.parentFlow, this.action[this._modelIdPropName]) : null; } - get initialValue() { - return this._initialValue; + setupEventSinks() { + this.cleanUpEventSinks(), this.referenceId && (this.eventSinks.push(d.createEventSinkObject(s.actionContainerDeleted, this.action, () => { + this.validateAction(); + })), 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); + })); } - get isArchVariableBooleanCollection() { - return true; + static createCreateDetails(e3) { + return { create: (t3, i3) => new m(t3, i3, e3.modelIdPropName, e3.modelNamePropName, e3.itemDoesNotExistBaseString, e3.invalidStringText, e3.noReferenceString, e3.referencesMenus, e3.referencesTasks, e3.referencesStates, e3.isForFollowUpKnowledgeTask, e3.isForCustomKnowledgeHandlingTask, e3.validReferenceCallback), getCreateClass: () => m, modelProperties: [e3.modelIdPropName, e3.modelNamePropName] }; } } - t2.default = r2; - }, 26519: (e2, t2, i2) => { + t2.ContainerActionProperty = m; + }, 13110(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)), 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); - } - get className() { - return "ErrorHandlingViewModel"; - } - get helpTopic() { - return g.helpTopics.treeNodes.eventHandling; + t2.EventHandlingTypeProperty = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, o2, a2) { + var s2, u2; + super(e3, t3), this.handlingTypes = i3, this.modelPropertyName = n3, this.defaultHandlingType = o2, this.suppressDefaultInConfig = a2, this.valueChangedSubject = new l.Subject(), this.valueChanged$ = this.valueChangedSubject.asObservable(), this._outOfServiceProvider = (0, r.addOutOfServiceProperties)(this), (null === (u2 = null === (s2 = this.metaData) || void 0 === s2 ? void 0 : s2.options) || void 0 === u2 ? void 0 : u2.featureConfigName) && (this._outOfServiceProvider.featureConfigName = this.metaData.options.featureConfigName), this.label = t3.label, void 0 === this.handlingType && this.defaultHandlingType && (this.handlingType = this.defaultHandlingType); } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) return super.getConfiguration(e3, t3); - super.getConfiguration(e3, t3), e3.errorHandling.queue = this.queue.getConfiguration(e3, t3), e3.errorHandling.menuReference = this.menuReference, e3.errorHandling.taskReference = this.taskReference, e3.errorHandling.stateReference = this.stateReference, e3.errorHandling.menuReferenceName = this.menuReferenceName, e3.errorHandling.taskReferenceName = this.taskReferenceName, e3.errorHandling.stateReferenceName = this.stateReferenceName; + destroy() { + super.destroy(), this._outOfServiceProvider.destroy(); } get handlingType() { - return super.handlingType; + return this.action.model[this.modelPropertyName]; } set handlingType(e3) { - super.handlingType = e3, this._config && this._config.errorHandling && (this._updateQueueOutOfService(), h.validateNode(this, true)); + this.handlingTypes.find((t3) => t3.value === (null == e3 ? void 0 : e3.value)) || console.error("handlingType not valid"), this.action.model[this.modelPropertyName] = e3, this.valueChangedSubject.next(this); } - get handlingTypes() { - const e3 = d.getHandlingTypesForFlowType(this.parentFlow.type); - return this._updateQueueDescription(e3), e3; + get className() { + return "HandlingTypeProperty"; } - get isErrorHandlingNode() { + get isEventHandlingTypeProperty() { return true; } - loadConfiguration(e3) { - super.loadConfiguration(e3), e3.errorHandling.handlingType || (e3.errorHandling.handlingType = this.handlingTypes[0]), this._queue = s.expression(this.parentFlow, this, e3.errorHandling.queue, y.transferPureMatch.queue, l.globalTypes.queue, null, l.globalTypes.queue.createExpressionOptionClass().setAllowEmptyConfig(true).setIninTestingField("queue")), this._config = e3, this._createReferenceProperties(), this._updateQueueOutOfService(); - } - loadErrorSettings(e3) { - this._queue = s.expression(this.parentFlow, this, null, y.transferPureMatch.queue, l.globalTypes.queue, null, l.globalTypes.queue.createExpressionOptionClass().setAllowEmptyConfig(true)), this.queue.update(e3.name, e3.id), this._updateQueueOutOfService(); - } - get queue() { - return this._queue; + getConfiguration(e3, t3, i3) { + super.getConfiguration(e3, t3); + const n3 = this.outOfService || this.suppressDefaultInConfig && this.handlingType === this.defaultHandlingType; + return (null == t3 ? void 0 : t3.isForFlowYaml) ? n3 ? void 0 : this._getYamlConfiguration() : n3 ? void delete e3[this.modelPropertyName] : this.handlingType; } - search(e3) { - switch (this.handlingType) { - case u.default.Queue: - e3.addToQueue(this.queue); + getConfigurationForHandlingProperty(e3, t3) { + const i3 = {}, n3 = i3[e3.scriptingName] = {}; + switch (e3) { + case u.default.Disconnect: break; - case u.default.Menu: - this._searchReference(e3, this.menuReference, y.menu.label); + case u.default.Task: + const i4 = null != t3 ? t3 : this.taskProperty, r2 = null == i4 ? void 0 : i4.getReferenceViewModel(); + o.default.isNullOrUndefined(r2) || (n3.targetTaskRef = r2.yamlPath); break; - case u.default.State: - this._searchReference(e3, this.stateReference, y.state.label); + case u.default.Exit: break; - case u.default.Task: - this._searchReference(e3, this.taskReference, y.task.label); + default: + const a2 = `Matching handlingProperty not found for handling type value '${e3}'`; + throw d.exceptionWithErrorObjectInfo(null, a2, e3), a2; } + return o.default.ensureYamlNoneTrue(n3), i3; } - updateDependencies() { - this._queue.outOfService || c.registerExpression(this.queue); + static createCreateDetails(e3, t3, i3, n3) { + return { create: (o2, r2) => new p(o2, r2, e3, t3, i3, n3), getCreateClass: () => p, modelProperties: [] }; } - validate(e3) { - var t3, i3, n3, r3; - if (super.validate(e3), this.handlingType && !(null === (t3 = this.parentFlow.definition) || void 0 === t3 ? void 0 : t3.errorHandlingTypesMap[this.handlingType.value])) e3.addError(this, (0, o.sprintf)(y.customNodes.errorHandling.errorHandlingTypeNotAvailableForFlowType, null === (i3 = this.handlingType) || void 0 === i3 ? void 0 : i3.label, null === (r3 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.definition) || void 0 === r3 ? void 0 : r3.typeDisplayName)); - else switch (this.handlingType) { - case u.default.CompleteSend: + _getYamlConfiguration() { + const e3 = {}, t3 = e3[this.handlingType.scriptingName] = {}; + switch (this.handlingType) { case u.default.Disconnect: case u.default.EndFlow: case u.default.EndInQueueState: case u.default.EndWorkflow: case u.default.Exit: - case u.default.AbortSend: + case u.default.Task: break; case u.default.Queue: - this.queue.validate(e3); - break; case u.default.Menu: - this.menuProperty.validate(e3); - break; case u.default.State: - this.stateProperty.validate(e3); - break; - case u.default.Task: - this.taskProperty.validate(e3); - break; + const e4 = `'${this.handlingType.name}' is not supported yet`; + throw d.error(e4), e4; default: - e3.addError(this, (0, o.sprintf)(y.errors.invalidValue, y.customNodes.errorHandling.handling)); - } - } - _destroy() { - super._destroy(), this._queue && this._queue.destroy(); - } - _initializeDesignTime() { - super._initializeDesignTime(), this.menuProperty.initializeDesignTime(), this.stateProperty.initializeDesignTime(), this.taskProperty.initializeDesignTime(), this._queue.initializeDesignTime(); - } - _createReferenceProperties() { - this.menuProperty || (this.menuProperty = new a.ContainerActionProperty(this, {}, "menuReference", "menuReferenceName", y.menu.label, y.menu.noReference, y.menu.invalidReference, true, false, false, false, false, (e3) => { - if (!e3 || !e3.isMenu) return { error: y.menu.invalidReference }; - }), this.stateProperty = new a.ContainerActionProperty(this, {}, "stateReference", "stateReferenceName", y.state.label, y.state.noReference, y.state.invalidReference, false, false, true, false, false, (e3) => e3 && e3.isState ? e3.isStartUpObject ? { warning: y.customNodes.errorHandling.changeStateToFlowStartup } : void 0 : { error: y.state.invalidReference }), this.taskProperty = new a.ContainerActionProperty(this, {}, "taskReference", "taskReferenceName", y.task.label, y.task.noReference, y.task.invalidReference, false, true, false, false, false, (e3) => { - if (!e3 || !e3.isTask || !e3.isTransferable) return { error: y.task.invalidReference }; - })); - } - _searchReference(e3, t3, i3) { - if (t3) { - const n3 = _.flowElementRegistrationService.getItemById(this.parentFlow, t3); - n3 && e3.checkText(this, n3.name, i3); + const t4 = `Matching handlingProperty not found for handling type value '${this.handlingType.name}'`; + throw d.exceptionWithErrorObjectInfo(null, t4, this.handlingType), t4; } + return o.default.ensureYamlNoneTrue(t3), e3; } - _updateQueueDescription(e3) { - const t3 = e3.find((e4) => e4.value === u.default.Queue.value); - if (!t3) return; - const i3 = this.parentFlow.type; - i3 !== r2.flowTypes.flowTypeInQueueEmail && i3 !== r2.flowTypes.flowTypeInQueueShortMessage || !p.isFeatureAvailable(m.default.transferToQueueErrorHandlingAutomate) ? t3.description = void 0 : t3.description = y.customNodes.errorHandling.queueTransferDigitalAutomateDescription; + getErrors() { + const e3 = []; + return this.handlingType || e3.push(c.facets.valueStringMinLengthOne), e3; } - _updateQueueOutOfService() { - var e3; - const t3 = this.handlingType && this.handlingType.value === u.default.Queue.value, i3 = !!(null === (e3 = this.parentFlow.definition) || void 0 === e3 ? void 0 : e3.errorHandlingTypesMap[u.default.Queue.value]); - this._queue.outOfService = !(t3 && i3); + validate(e3) { + super.validate(e3), this.getErrors().forEach((t3) => e3.addError(this.action, t3)); } } - t2.default = S; - }, 26567: (e2, t2, i2) => { + t2.EventHandlingTypeProperty = p; + }, 33381(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(66872)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts); - } - get _flowType() { - return r2.flowTypes.flowTypeInQueueCall; - } - get displayTypeName() { - return "ArchFlowInQueueCall"; + t2.FlowReferenceProperty = void 0; + const n2 = i2(31635), o = i2(96618), r = 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, o2, r2) { + 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(r2, this._flowType), this._outOfServiceProvider = (0, p.addOutOfServiceProperties)(this), false === n3 && (this._supportsSpecificVersion = false), false === o2 && (this._showVersionSelection = false); } - get isArchFlowInQueueCall() { + get isFlowReferenceProperty() { return true; } - get settingsInQueueCall() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().inQueueSettings); + get className() { + return "FlowReferenceProperty"; } - get settingsPrompts() { - return this._promptSettings; + get isRefreshingFlowReference() { + return this._isRefreshingFlowReferenceCounter > 0; } - get startUpObject() { - return this.coreFactory.createArchWrapper(this._coreFlowViewModel.startUpObject); + setIsRefreshingFlowReference(e3) { + e3 ? this._isRefreshingFlowReferenceCounter++ : this._isRefreshingFlowReferenceCounter--; } - } - t2.default = o; - }, 26569: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.publishLast = void 0; - var n2 = i2(5130), r2 = i2(14359); - t2.publishLast = function() { - return function(e3) { - var t3 = new n2.AsyncSubject(); - return new r2.ConnectableObservable(e3, function() { - return t3; - }); - }; - }; - }, 26680: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.throwError = void 0; - var n2 = i2(48051), r2 = i2(10281); - t2.throwError = function(e3, t3) { - var i3 = r2.isFunction(e3) ? e3 : function() { - return e3; - }, o = function(e4) { - return e4.error(i3()); - }; - return new n2.Observable(t3 ? function(e4) { - return t3.schedule(o, 0, e4); - } : o); - }; - }, 26744: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.pairwise = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.pairwise = function() { - return n2.operate(function(e3, t3) { - var i3, n3 = false; - e3.subscribe(r2.createOperatorSubscriber(t3, function(e4) { - var r3 = i3; - i3 = e4, n3 && t3.next([r3, e4]), n3 = true; - })); - }); - }; - }, 26749: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; + getConfiguration(e3, t3) { + var i3, n3, o2, r2; + if (null == t3 ? void 0 : t3.isForFlowYaml) { + (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 = {}; + return (null === (i3 = this.flowInputs) || void 0 === i3 ? void 0 : i3.length) || (null === (n3 = this.flowOutputs) || void 0 === n3 ? void 0 : n3.length) ? ((null === (o2 = this.flowInputs) || void 0 === o2 ? void 0 : o2.length) && (u2.inputs = this.flowInputs.getConfiguration(e3, t3)), (null === (r2 = this.flowOutputs) || void 0 === r2 ? void 0 : r2.length) && (u2.outputs = this.flowOutputs.getConfiguration(e3, t3)), s2) : (a.default.ensureYamlNoneTrue(u2), s2); } + return console.error("Trying to access FlowReferenceProperty.getConfiguration for non-flow-YAML"), null; } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.zip = void 0; - var o = i2(11415), a = i2(65212); - t2.zip = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return a.operate(function(t4, i3) { - o.zip.apply(void 0, r2([t4], n2(e3))).subscribe(i3); - }); - }; - }, 26847: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.outputIds = void 0, t2.outputIds = { _placeholder: "__PLACE_HOLDER__", active: "__ACTIVE__", addBranch: "__ADD_BRANCH__", canceled: "__CANCELED__", closed: "__CLOSED__", conditionsNotMet: "__CONDITIONS_NOT_MET__", default: "__DEFAULT__", disconnect: "__DISCONNECT__", emergency: "__EMERGENCY__", error: "__ERROR__", event: "__EVENT__", failure: "__FAILURE__", found: "__FOUND__", fake: "__FAKE__", holiday: "__HOLIDAY__", inactive: "__INACTIVE__", knowledge: "__KNOWLEDGE__", loop: "__LOOP__", loopNext: "__LOOP_NEXT__", loopsMax: "__LOOP_MAX__", matchExact: "__MATCH_EXACT__", matchMultiple: "__MATCH_MULTIPLE__", maxNoInputs: "__MAX_NO_INPUTS__", maxNoMatches: "__MAX_NO_MATCHES__", no: "__NO__", noEvent: "__NO_EVENT__", noInput: "__NO_INPUT__", noIntent: "__NO_INTENT__", notFound: "__NOT_FOUND__", open: "__OPEN__", partiallyFound: "__PARTIALLY_FOUND__", processed: "__PROCESSED__", skipResponseCapture: "__SKIP_RESPONSE_CAPTURE__", success: "__SUCCESS__", timeout: "__TIMEOUT__", valid: "__VALID__", invalid: "__INVALID__", voicemail: "__VOICEMAIL__", yes: "__YES__" }; - }, 26872: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.map = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.map = function(e3, t3) { - return n2.operate(function(i3, n3) { - var o = 0; - i3.subscribe(r2.createOperatorSubscriber(n3, function(i4) { - n3.next(e3.call(t3, i4, o++)); - })); - }); - }; - }, 26920: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.fromEventPattern = void 0; - var n2 = i2(48051), r2 = i2(10281), o = i2(13916); - t2.fromEventPattern = function e3(t3, i3, a) { - return a ? e3(t3, i3).pipe(o.mapOneOrManyArgs(a)) : new n2.Observable(function(e4) { - var n3 = function() { - for (var t4 = [], i4 = 0; i4 < arguments.length; i4++) t4[i4] = arguments[i4]; - return e4.next(1 === t4.length ? t4[0] : t4); - }, o2 = t3(n3); - return r2.isFunction(i3) ? function() { - return i3(n3, o2); - } : void 0; - }); - }; - }, 26928: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Th\xF4ng tin \u0111\u1EA7u v\xE0o \u0111\xF3 kh\xF4ng h\u1EE3p l\u1EC7.", noInputReceived: "T\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c th\xF4ng tin \u0111\u1EA7u v\xE0o n\xE0o." }, askForBoolean: { noInput: 'N\xF3i "c\xF3" n\u1EBFu b\u1EA1n mu\u1ED1n ti\u1EBFp t\u1EE5c ho\u1EB7c "kh\xF4ng" n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n ti\u1EBFp t\u1EE5c.', noMatch: 'Vui l\xF2ng n\xF3i "c\xF3" ho\u1EB7c "kh\xF4ng". B\u1EA1n c\xF3 mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?', question: "B\u1EA1n c\xF3 mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?", noInputDigitalBot: 'Nh\u1EADp "C\xF3" n\u1EBFu b\u1EA1n mu\u1ED1n ti\u1EBFp t\u1EE5c ho\u1EB7c "Kh\xF4ng" n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n ti\u1EBFp t\u1EE5c.', noMatchDigitalBot: 'Vui l\xF2ng nh\u1EADp "C\xF3" ho\u1EB7c "Kh\xF4ng". B\u1EA1n c\xF3 mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?' }, askForIntent: { noInput: 'Ch\u1EC9 c\u1EA7n n\xF3i m\u1ED9t c\xE2u ng\u1EAFn g\u1ECDn m\xF4 t\u1EA3 truy v\u1EA5n c\u1EE7a b\u1EA1n. V\xED d\u1EE5: "Ki\u1EC3m tra s\u1ED1 d\u01B0 t\xE0i kho\u1EA3n c\u1EE7a t\xF4i"', noMatch: "Vui l\xF2ng n\xF3i l\u1EA1i cho t\xF4i bi\u1EBFt b\u1EA1n mu\u1ED1n l\xE0m g\xEC.", question: "B\u1EA1n mu\u1ED1n l\xE0m g\xEC?", noInputDigitalBot: 'Vui l\xF2ng nh\u1EADp m\u1ED9t c\xE2u ng\u1EAFn g\u1ECDn m\xF4 t\u1EA3 truy v\u1EA5n c\u1EE7a b\u1EA1n. V\xED d\u1EE5: "Ki\u1EC3m tra s\u1ED1 d\u01B0 t\xE0i kho\u1EA3n c\u1EE7a t\xF4i"' }, askForSlot: { askFor: "Y\xEAu c\u1EA7u cung c\u1EA5p %1$s", noInput: "Vui l\xF2ng n\xF3i ho\u1EB7c nh\u1EADp (vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y).", noInputWithSlot: "Vui l\xF2ng n\xF3i ho\u1EB7c nh\u1EADp %1$s.", noMatch: "Vui l\xF2ng cung c\u1EA5p l\u1EA1i cho t\xF4i (vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y).", noMatchWithSlot: "Vui l\xF2ng cung c\u1EA5p l\u1EA1i cho t\xF4i %1$s.", question: "(Vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y) l\xE0 g\xEC?", questionWithSlot: "%1$s l\xE0 g\xEC?", pleaseEnterSlotNameHere: "(vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y)", noInputDigitalBot: "Vui l\xF2ng nh\u1EADp (vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y).", noInputWithSlotDigitalBot: "Vui l\xF2ng nh\u1EADp %1$s.", continuationPromptWithSlot: "T\xF4i \u0111\xE3 nh\u1EADn \u0111\u01B0\u1EE3c {{Slot.%1$s}} t\xEDnh \u0111\u1EBFn th\u1EDDi \u0111i\u1EC3m n\xE0y, vui l\xF2ng ti\u1EBFp t\u1EE5c." }, askForNextSlot: { noInput: 'N\xF3i "c\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc cu\u1ED9c g\u1ECDi.', noMatch: 'N\xF3i "c\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc phi\xEAn.', question: "T\xF4i c\xF3 th\u1EC3 gi\xFAp g\xEC kh\xE1c cho b\u1EA1n kh\xF4ng?", noInputDigitalBot: 'Nh\u1EADp "C\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "Kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc phi\xEAn.', noMatchDigitalBot: 'Nh\u1EADp "C\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "Kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc phi\xEAn.' }, askForPayment: { noInputDigitalBot: "Vui l\xF2ng cung c\u1EA5p th\xF4ng tin thanh to\xE1n c\u1EE7a b\u1EA1n \u0111\u1EC3 ti\u1EBFp t\u1EE5c.", noMatchDigitalBot: "T\xF4i kh\xF4ng hi\u1EC3u ph\u1EA3n h\u1ED3i c\u1EE7a b\u1EA1n. Vui l\xF2ng th\u1EED l\u1EA1i." }, askForAuthentication: { noInputDigitalBot: "Vui l\xF2ng cung c\u1EA5p th\xF4ng tin x\xE1c th\u1EF1c c\u1EE7a b\u1EA1n \u0111\u1EC3 ti\u1EBFp t\u1EE5c.", noMatchDigitalBot: "T\xF4i kh\xF4ng hi\u1EC3u ph\u1EA3n h\u1ED3i c\u1EE7a b\u1EA1n. Vui l\xF2ng th\u1EED l\u1EA1i." }, askSurveyQuestion: { notApplicable: "Kh\xF4ng \xE1p d\u1EE5ng", surveyAnswerOptionSequence: "Nh\u1EA5n %1$s cho '%2$s'.", surveyAnswerNotApplicableSequence: "Nh\u1EA5n d\u1EA5u sao cho Kh\xF4ng \xE1p d\u1EE5ng.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Nh\u1EA5n d\u1EA5u sao cho Kh\xF4ng \xE1p d\u1EE5ng.", voiceSurveyNoInputText: "Vui l\xF2ng tr\u1EA3 l\u1EDDi c\xE2u h\u1ECFi.", voiceSurveyNoMatchText: "T\xF4i ch\u01B0a hi\u1EC3u \xFD b\u1EA1n." }, commonModule: { exitCommonModule: "Tho\xE1t M\xF4-\u0111un chung" }, form: { noInputDigitalBot: "Vui l\xF2ng ho\xE0n th\xE0nh bi\u1EC3u m\u1EABu \u0111\u1EC3 ti\u1EBFp t\u1EE5c.", noMatchDigitalBot: "Vui l\xF2ng ho\xE0n th\xE0nh bi\u1EC3u m\u1EABu \u0111\u1EC3 ti\u1EBFp t\u1EE5c." }, messagingTemplate: { noInputDigitalBot: "Vui l\xF2ng ch\u1ECDn m\u1ED9t trong c\xE1c t\xF9y ch\u1ECDn s\u1EB5n c\xF3.", noMatchDigitalBot: "Vui l\xF2ng ch\u1ECDn m\u1ED9t trong c\xE1c t\xF9y ch\u1ECDn s\u1EB5n c\xF3." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Ti\u1EBFp t\u1EE5c", knowledgeAnswerHighlightFullArticleDefault: "Xem to\xE0n b\u1ED9 b\xE0i vi\u1EBFt", knowledgeInitialResponseMulti: "\u0110\u1EC3 gi\xFAp t\xF4i hi\u1EC3u r\xF5 m\u1EE5c ti\xEAu c\u1EE7a b\u1EA1n, vui l\xF2ng ch\u1ECDn m\u1ED9t s\u1ED1 t\u1EEB danh s\xE1ch sau:", knowledgeInitialResponseMultiRetry: "Vui l\xF2ng ch\u1ECDn m\u1ED9t s\u1ED1, v\xED d\u1EE5 nh\u01B0 '1'.\nSau \u0111\xE2y l\xE0 danh s\xE1ch c\xE1c t\xF9y ch\u1ECDn:", knowledgeNoMatch: "Kh\xF4ng m\u1EE5c n\xE0o trong s\u1ED1 n\xE0y", knowledgeConfirmation: "N\u1ED9i dung n\xE0y c\xF3 tr\u1EA3 l\u1EDDi \u0111\u01B0\u1EE3c c\xE2u h\u1ECFi c\u1EE7a b\u1EA1n kh\xF4ng?", knowledgeFollowup: "T\xF4i hy v\u1ECDng m\xECnh \u0111\xE3 tr\u1EA3 l\u1EDDi \u0111\u01B0\u1EE3c c\xE2u h\u1ECFi c\u1EE7a b\u1EA1n. B\u1EA1n c\xF3 th\u1EC3 h\u1ECFi b\u1EA5t c\u1EE9 \u0111i\u1EC1u g\xEC kh\xE1c m\xE0 b\u1EA1n mu\u1ED1n bi\u1EBFt." }, noOverlay: { intent: { intentConfirmationStr1: "T\xF4i ngh\u0129 b\u1EA1n mu\u1ED1n", intentConfirmationStr2: "C\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?" }, youSaid: { youSaidConfirmationStr1: "B\u1EA1n \u0111\xE3 n\xF3i", youSaidConfirmationStr2: "C\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?", youSaidConfirmationStr1DigitalBot: "B\u1EA1n \u0111\xE3 nh\u1EADp" }, noInput: { noInputStr1: "Vui l\xF2ng n\xF3i ho\u1EB7c nh\u1EADp", noInputStr1DigitalBot: "Vui l\xF2ng nh\u1EADp" }, noMatch: { noMatchStr1: "Vui l\xF2ng cung c\u1EA5p cho t\xF4i" }, whatIs: { whatIsQuestionStr1: "\u0110\u1ECBnh ngh\u0129a c\u1EE7a", whatIsQuestionStr2: "l\xE0 g\xEC?" }, iGotContinuation: { iGotContinuationStr1: "T\xF4i \u0111\xE3 nh\u1EADn \u0111\u01B0\u1EE3c", iGotContinuationStr2: "t\xEDnh \u0111\u1EBFn th\u1EDDi \u0111i\u1EC3m n\xE0y, vui l\xF2ng ti\u1EBFp t\u1EE5c." } }, defaultCallFlowOne: "Lu\u1ED3ng cu\u1ED9c g\u1ECDi m\u1EB7c \u0111\u1ECBnh", errorHandlingAgentEscalationConfirmation: "B\u1EA1n mu\u1ED1n n\xF3i chuy\u1EC7n v\u1EDBi t\u01B0 v\u1EA5n vi\xEAn. C\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?", errorHandlingAgentEscalationHandover: "Vui l\xF2ng \u0111\u1EE3i m\u1ED9t l\xE1t, t\xF4i s\u1EBD k\u1EBFt n\u1ED1i b\u1EA1n v\u1EDBi m\u1ED9t t\u01B0 v\u1EA5n vi\xEAn.", errorHandlingErrorEventHandover: "R\u1EA5t ti\u1EBFc, \u0111\xE3 x\u1EA3y ra l\u1ED7i. Vui l\xF2ng \u0111\u1EE3i m\u1ED9t l\xE1t trong khi t\xF4i k\u1EBFt n\u1ED1i b\u1EA1n v\u1EDBi m\u1ED9t t\u01B0 v\u1EA5n vi\xEAn c\xF3 th\u1EC3 tr\u1EE3 gi\xFAp cho b\u1EA1n.", errorHandlingErrorEventHandoverVoiceSurvey: "R\u1EA5t ti\u1EBFc, \u0111\xE3 x\u1EA3y ra l\u1ED7i. T\u1EA1m bi\u1EC7t b\u1EA1n.", errorHandlingRecognitionEventHandover: "Xin l\u1ED7i, t\xF4i ch\u01B0a hi\u1EC3u \xFD b\u1EA1n. Vui l\xF2ng \u0111\u1EE3i m\u1ED9t l\xE1t trong khi t\xF4i k\u1EBFt n\u1ED1i b\u1EA1n v\u1EDBi m\u1ED9t t\u01B0 v\u1EA5n vi\xEAn c\xF3 th\u1EC3 tr\u1EE3 gi\xFAp cho b\u1EA1n.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Xin l\u1ED7i, t\xF4i ch\u01B0a hi\u1EC3u \xFD b\u1EA1n. T\u1EA1m bi\u1EC7t b\u1EA1n.", errorHandlingTTS: "R\u1EA5t ti\u1EBFc, \u0111\xE3 x\u1EA3y ra l\u1ED7i. Vui l\xF2ng th\u1EED g\u1ECDi l\u1EA1i.", initialGreetingTTS: "Xin ch\xE0o, \u0111\xE2y l\xE0 l\u1EDDi ch\xE0o \u0111\u1EA7u ti\xEAn.", initialState: "Tr\u1EA1ng th\xE1i ban \u0111\u1EA7u", initialBotState: "Bot m\u1EB7c \u0111\u1ECBnh", initialDigitalBotState: "L\u1EDDi ch\xE0o \u0111\u1EA7u ti\xEAn", initialSurveyBotState: "Bot kh\u1EA3o s\xE1t", intentConfirmation: "T\xF4i ngh\u0129 b\u1EA1n mu\u1ED1n %1$s, c\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?", mainMenu: "Menu ch\xEDnh", mainMenuTTS: "B\u1EA1n \u0111ang \u1EDF Menu ch\xEDnh, vui l\xF2ng nh\u1EA5n ph\xEDm 9 \u0111\u1EC3 ng\u1EAFt k\u1EBFt n\u1ED1i", mainTask: "Nhi\u1EC7m v\u1EE5", settingsConfirmationNoInputApology: "Xin l\u1ED7i, t\xF4i ch\u01B0a nghe th\u1EA5y b\u1EA1n. Vui l\xF2ng n\xF3i c\xF3 ho\u1EB7c kh\xF4ng.", settingsConfirmationNoInputApologyDigitalBot: 'Xin l\u1ED7i, t\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c th\xF4ng tin \u0111\u1EA7u v\xE0o n\xE0o t\u1EEB b\u1EA1n. Vui l\xF2ng nh\u1EADp "C\xF3" ho\u1EB7c "Kh\xF4ng".', settingsConfirmationNoMatchApology: "Xin l\u1ED7i, vui l\xF2ng n\xF3i c\xF3 ho\u1EB7c kh\xF4ng.", settingsConfirmationNoMatchApologyDigitalBot: 'Xin l\u1ED7i, vui l\xF2ng nh\u1EADp "C\xF3" ho\u1EB7c "Kh\xF4ng".', settingsNoInputApology: "Xin l\u1ED7i, t\xF4i ch\u01B0a nghe th\u1EA5y b\u1EA1n.", settingsNoInputApologyDigitalBot: "Xin l\u1ED7i, t\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c th\xF4ng tin \u0111\u1EA7u v\xE0o n\xE0o t\u1EEB b\u1EA1n.", settingsEndOfSessionMessageDigitalBot: "\u0110\xE3 kh\xE1 l\xE2u r\u1ED3i t\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c ph\u1EA3n h\u1ED3i c\u1EE7a b\u1EA1n n\xEAn t\xF4i s\u1EBD \u0111\xF3ng cu\u1ED9c tr\xF2 chuy\u1EC7n n\xE0y. Vui l\xF2ng quay l\u1EA1i n\u1EBFu b\u1EA1n v\u1EABn c\u1EA7n t\xF4i tr\u1EE3 gi\xFAp. C\u1EA3m \u01A1n b\u1EA1n.", settingsNoMatchApology: "Xin l\u1ED7i.", settingsNoToConfirmationApology: "T\xF4i nh\u1EA7m.", periodicStateName: "Tr\u1EA1ng th\xE1i theo \u0111\u1ECBnh k\u1EF3" }; - }, 26940: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "lineItem"; - } - get displayTypeName() { - return "ArchVariableLineItem"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableLineItem() { - return true; - } - } - t2.default = r2; - }, 26954: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeUserOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + getReferencedFlowName() { + var e3; + const t3 = null === (e3 = this._flowListManager) || void 0 === e3 ? void 0 : e3.getItem(this.flowId); + return (null == t3 ? void 0 : t3.displayName) || this.flowName; } - constructor(e3) { - super(e3); + getReferencedFlowDefaultLanguage() { + var e3, t3; + const i3 = null === (e3 = this._flowListManager) || void 0 === e3 ? void 0 : e3.getItem(this.flowId); + if (null === (t3 = null == i3 ? void 0 : i3.supportedLanguages) || void 0 === t3 ? void 0 : t3.length) { + for (const e4 of i3.supportedLanguages) if (e4.isDefault) return e4.language; + } } - get className() { - return "ExpressionTypeUserOptions"; + _addSupportedLanguagesToSnapshot(e3) { + var t3, i3, n3; + 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 o2 = null === (n3 = this._flowListManager) || void 0 === n3 ? void 0 : n3.getItem(this.flowId), r2 = null == o2 ? void 0 : o2.supportedLanguages; + if (null == r2 ? void 0 : r2.length) { + const t4 = (0, m.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); + t4 && (t4.flow.supportedLanguages = r2.map((e4) => e4.language)); + } } - get isExpressionTypeUserOptions() { - return true; + getDetailDescription() { + const e3 = this.getReferencedFlowName(); + return e3 ? { label: u.default.getFlowTypeDisplayName(this.flowType), value: this.flowVersion ? (0, r.sprintf)(f.nameAndVersion, e3, this.flowVersion) : e3 } : null; } - } - t2.ExpressionTypeUserOptions = r2; - }, 27059: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(78446), o = i2(59957), a = i2(13126), s = i2(62829); - class l extends r2 { - constructor(e3) { - super(e3), Object.defineProperties(this, { _clipboardContentType: { value: a.unknown, writable: true, enumerable: false }, _dependentVariableViewModels: { value: {}, writable: true, enumerable: false }, _nodeInformationId: { writable: true, enumerable: false }, _originalObjectInfo: { writable: true, enumerable: false } }); + get flowId() { + return this.action.model[this._modelPropNames.idPropName]; } - static create(e3, t3) { - if (!n2.isObject(e3)) return null; - let i3; - if (e3.isBaseAction) i3 = a.action; - else if (e3.isMenu) i3 = a.menu; - else if (e3.isMenuChoice) i3 = a.menuChoice; - else if (e3.isState) i3 = a.state; - else { - if (!e3.isTask) return null; - i3 = a.task; - } - const r3 = new l(t3); - return r3._clipboardContentType = i3, r3._nodeInformationId = e3.info ? e3.info.typeId : "", r3._originalObjectInfo = new o(), r3._originalObjectInfo.configure(e3.parentFlow, e3), e3.addClipboardDependencies(r3), r3; + set flowId(e3) { + this.action.model[this._modelPropNames.idPropName] = e3; } - get nodeInformation() { - return s.getInfo(this._nodeInformationId); + get flowDefaultLanguage() { + return this.getReferencedFlowDefaultLanguage(); } - canPaste(e3) { - return this.createClipboardResultFailureCanPasteGeneric("Cannot paste a dependent variable processor."); + get flowName() { + return this.action.model[this._modelPropNames.namePropName]; } - checkCanPasteClipboardContextWithDetails(e3) { - return this.createClipboardResultFailureCanPasteGeneric("Cannot paste a dependent variable processor."); + set flowName(e3) { + this.action.model[this._modelPropNames.namePropName] = e3; } - get dependentVariables() { - return n2.values(this._dependentVariableViewModels); + get flowVersion() { + return this.action.model[this._modelPropNames.versionPropName]; } - get className() { - return "ClipboardProcessorDependentVariables"; + set flowVersion(e3) { + this.action.model[this._modelPropNames.versionPropName] = e3; } - get clipboardContentType() { - return this._clipboardContentType; + outOfServiceChanged() { + this.action.model[this._modelPropNames.outOfServicePropName] = this.outOfService; } - copyCutAddDependencyFlowUiMetaData(e3, t3, i3) { + get isFlowRefLatestPublished() { + return this.action.model[this._modelPropNames.latestVersionPropName]; } - copyCutAddDependencyVariable(e3, t3) { - !e3 || !e3.isVariableViewModel || e3.isPromptContainer || e3.isSlotVariable || e3.isSystemVariable || this.isVariableScopedToClipboardContent(e3) || this._dependentVariableViewModels[e3.id] || (this.log(`Adding dependent variable ${this._getNameAndIdStr(e3)} to dependent variable map.`), this._dependentVariableViewModels[e3.id] = e3); + set isFlowRefLatestPublished(e3) { + this.action.model[this._modelPropNames.latestVersionPropName] = e3; } - copyCutAddDependencyCustomType(e3) { + get isFlowRefDebugPublish() { + return this.action.model[this._modelPropNames.debugPublishedPropName]; } - addOldIdToOldNameMapping(e3, t3) { + set isFlowRefDebugPublish(e3) { + this.action.model[this._modelPropNames.debugPublishedPropName] = e3; } - resolveOldIdToOldName(e3) { + get flowType() { + return this._flowType; } - copyCutProcessActionViewModel(e3) { + setFlowById(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return yield this.setReferenceWithFlowInfo(this.getFlowInfoReference(e3), i3, t3); + }); } - copyCutProcessMenuChoiceViewModel(e3) { + 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.updateDependencies(), this.validateAction(), e3) : (this.clearReference(), this.updateDependencies(), void this.validateAction()); + }); } - copyCutProcessMenuViewModel(e3) { + destroy() { + this.flowListManager.tryRemoveItemFromFlowMetadata(this.action, this.flowId), this._outOfServiceProvider.destroy(); } - copyCutProcessStateViewModel(e3) { + get hasError() { + return this.getErrors(false).length > 0; } - copyCutProcessTaskViewModel(e3) { + getErrors(e3) { + if (!this.outOfService) { + const e4 = this.getFlowInfoReference(this.flowId); + if (!e4 || e4.deleted) return [(0, r.sprintf)(f.missingReference, u.default.getFlowTypeDisplayName(this.flowType))]; + } + return []; } - copyCutResetSupportedFlowTypeFilter() { + validate(e3) { + super.validate(e3), this.getErrors(true).forEach((t4) => e3.addError(this.action, t4)); + const t3 = this.getFlowInfoReference(this.flowId); + t3 && e3.isDeep && this.mergeSchemaProperties(t3); } - copyCutSetSupportedFlowTypeFilter(e3) { + updateDependencies() { + if (super.updateDependencies(), this.flowName && this.flowId && !this.outOfService) { + 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); } - get isBaseClipboardContentViewModel() { - return true; + 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(); + } + }); } - get logHeader() { - return this.originalObjectLogStr; + _resolveFlowInfoForReference(e3) { + const t3 = this.getFlowInfoReference(e3); + if (t3 && !t3.deleted) return t3; } - get name() { - return ""; + get flowListManager() { + return this._flowListManager; } - set name(e3) { + get supportsSpecificVersion() { + return this._supportsSpecificVersion; } - get originalObjectInfo() { - return this._originalObjectInfo; + get showVersionSelection() { + return this._showVersionSelection; } - get originalObjectId() { - return this.originalObjectInfo.objectId; + getFlowInfoReference(e3) { + 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; } - get originalObjectFlowId() { - return this.originalObjectInfo.flowId; + 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 : f.commonModule.hardcodedTaskName); } - get originalObjectLogStr() { - return this.className + ", content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "'"; + _initializeDesignTime() { + if (super._initializeDesignTime(), this.flowId) { + const e3 = this.getFlowInfoReference(this.flowId); + e3 ? e3.deleted || (this.flowVersion || this.isFlowRefLatestPublished || (this.isFlowRefLatestPublished = true), this.refreshFlowSchema(e3)) : this.traceTopic.warning(`missing flowInfoViewModel for id:${this.flowId}`); + } } - get originalObjectLogStrFull() { - return this.className + ", content_type: '" + this.clipboardContentType + "', orig_name: '" + (this.originalObjectInfo.objectName ? this.originalObjectInfo.objectName : "") + "', orig_id: '" + (this.originalObjectInfo.objectId ? this.originalObjectInfo.objectId : "") + "', orig_flowName: '" + (this.originalObjectInfo.flowDisplayName ? this.originalObjectInfo.flowDisplayName : "") + "', orig_flowId: '" + (this.originalObjectInfo.flowId ? this.originalObjectInfo.flowId : "") + "', content_id: '" + this.id + "'"; + get flowInputs() { + return this._actionWithFlowSchemaRef.flowInputs; } - paste(e3) { - return this.createClipboardResultFailureCanPasteGeneric("Cannot paste a dependent variable processor."); + get flowOutputs() { + return this._actionWithFlowSchemaRef.flowOutputs; } - get pastedMenuOrTaskOrActionViewModel() { + clearReference() { + this.flowListManager.tryRemoveItemFromFlowMetadata(this.action, this.flowId), this.flowName = void 0, this.flowId = void 0, this.flowVersion = void 0, this.isFlowRefDebugPublish = false, this.flowOutputs && this.flowOutputs.destroyChildren(), this.flowInputs && this.flowInputs.destroyChildren(), this.invokeSchemaRefreshedCallback(); } - set pastedMenuOrTaskOrActionViewModel(e3) { + mergeSchemaProperties(e3) { + if (!this.parentFlow.isReadOnly) { + if (e3) { + if (this.flowOutputs) { + const t3 = this.getSchema(e3, false); + t3 && this.flowListManager.mergeSchemaProperties(t3.properties, this.flowOutputs); + } + if (this.flowInputs && e3.inputSchema) { + const t3 = this.getSchema(e3, true); + t3 && this.flowListManager.mergeSchemaProperties(t3.properties, this.flowInputs); + } + this.flowName = e3.displayName, this.flowListManager.addItemToFlowMetadata(this.action, this.flowName, this.flowId); + } + this.invokeSchemaRefreshedCallback(); + } } - _performDestroy() { - this._dependentVariableViewModels = {}, super._performDestroy(); + refreshFlowSchema(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (this.parentFlow.isReadOnly) return e3; + if (this.hasCorrectFlowInfo(e3)) return this.mergeSchemaProperties(e3), e3; + 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 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`); + } finally { + this.mergeSchemaProperties(e3), this.setIsRefreshingFlowReference(false); + } + }); } - } - e2.exports = l; - }, 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), 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 O extends o.default { - get displayTypeName() { - return "ArchFactoryMenus"; + hasCorrectFlowInfo(e3) { + if (e3.hasLoadedSchemas) { + if (this.isFlowRefLatestPublished || this.isFlowRefDebugPublish) return true; + if (this.flowVersion && e3.alternateOutputSchemas[this.flowVersion] || e3.alternateInputSchemas[this.flowVersion]) return true; + } + return false; } - get logStr() { - return this._createLogStrFromParts(["ArchFactoryMenus"]); + getFlowInfo() { + return this.getFlowInfoReference(this.flowId); } - get isArchFactoryMenus() { - return true; + getSchema(e3, t3) { + return !t3 || !this.isFlowRefLatestPublished && e3.alternateInputSchemas[this.flowVersion] ? t3 ? e3.alternateInputSchemas[this.flowVersion] : this.isFlowRefLatestPublished || !e3.alternateOutputSchemas[this.flowVersion] ? e3.outputSchema : e3.alternateOutputSchemas[this.flowVersion] : e3.inputSchema; } - 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, 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; + setSchemaRefreshedCallback(e3) { + a.default.isFunction(e3) && (this._schemaRefreshedCallback = e3); } - createArchTransferMenuChoice(e3, t3, i3, n3, o2, a2, s2) { - this._checkItemIsValidLiteralString(this._infoParm("preTransferTTS", s2), o2, true); - const l2 = this.createArchMenuChoice(e3, t3, i3, n3, a2, s2); - return r2.default.isString(o2) && l2._archAction.preTransferAudio.setDefaultCaseLiteralTTS(o2), l2; + invokeSchemaRefreshedCallback() { + if (a.default.isFunction(this._schemaRefreshedCallback)) try { + this._schemaRefreshedCallback(); + } catch (e3) { + this.traceTopic.exception(e3, "exception calling _schemaRefreshedCallback"); + } } - _verifyFlowSupportsMenus(e3, t3) { - this._checkItem(e3, !t3 || !t3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItem(e3, !t3.definition.supportsMenusReusable, `the flow type '${t3.flowType}' does not support menus.`); + static createModelPropNames(e3, t3) { + const i3 = e3 ? `${o.flowTypes.getCamelCasedFlowTypeStr(t3)}Flow` : "flow"; + return { debugPublishedPropName: `${i3}DebugPublished`, idPropName: `${i3}Id`, latestVersionPropName: `${i3}LatestVersion`, namePropName: `${i3}Name`, outOfServicePropName: `${i3}OutOfService`, versionPropName: `${i3}Version` }; } - addMenu(e3, t3, i3, n3) { - const o2 = this._infoParm("archBaseFlow", "addMenu"); - this._verifyFlowSupportsMenus(o2, e3), this._checkItemIsValidLiteralString(this._infoParm("name", "addMenu"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("menuAudioTTS", "addMenu"), i3, true), this._checkItemIsValidLiteralBool(this._infoParm("setAsStartingMenu", "addMenu"), n3, true), n3 && this._checkItem(o2, !e3.definition.startUpObjectCanBeMenu, `a menu cannot be the startup object for the flow type '${e3.flowType}'.`); - const s2 = e3._getCoreViewModel().createMenu(t3), l2 = a.default.createArchMenu(s2); - return r2.default.isString(t3) && t3.length && (l2.name = t3), n3 && e3.setStartingMenu(l2), r2.default.isString(i3) && l2.audio.setDefaultCaseLiteralTTS(i3), l2; + static createCreateDetails(e3) { + const t3 = this.createModelPropNames(e3.useFlowTypeSpecificModelProps, null == e3 ? void 0 : e3.flowType); + 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] }; } - 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 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; + } + t2.FlowReferenceProperty = T; + }, 30028(e2, t2, i2) { + "use strict"; + t2.InqueueFlowActionProperty = void 0; + const n2 = i2(31635), o = i2(96618), r = 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, o2) { + super(e3, t3, (0, p.getSupportedInQueueFlowManager)(e3.parentFlow), n3, o2), e3.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(d.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { + this.setConfigListMangerAndUpdateDependencies((0, p.getSupportedInQueueFlowManager)(e3.parentFlow)); + }); } - addMenuDisconnect(e3, t3, i3, n3) { - return this.createArchMenuChoice(e3, t3, i3, n3, l.disconnectActionType, "addMenuDisconnect"); + getConfiguration(e3, t3) { + var i3; + if (null == t3 ? void 0 : t3.isForFlowYaml) { + if (!(null === (i3 = this.action.supportedInQueueFlowType) || void 0 === i3 ? void 0 : i3.length) || this.action.useDefaultHandling) return null; + const t4 = this.action[this._modelNamePropName], n3 = this.action[this._modelIdPropName], o2 = this.configListManager.getItem(n3); + return (0, m.snapshotReferencedObject)(e3, this.action.supportedInQueueFlowType, t4, o2.defaultLanguage), a.default.tryWrapObject(t4, "name"); + } + return console.error("Trying to access InqueueFlowActionProperty.getConfiguration for non-flow-YAML"), null; } - addMenuJumpToMenu(e3, t3, i3, n3, r3) { - const o2 = this.createArchMenuChoice(e3, t3, i3, r3, T.transferMenuActionType, "addMenuJumpToMenu"); - return n3 && (o2.actionJumpToMenu.targetMenu = n3), o2; + setInQueueFlow(e3, t3) { + this.action.inQueueFlowId = e3, this.action.inQueueFlowName = t3, e3 && (this.action.useDefaultHandling = false), this.updateDependencies(); } - addMenuJumpToTask(e3, t3, i3, n3, r3) { - const o2 = this.createArchMenuChoice(e3, t3, i3, r3, S.transferTaskActionType, "addMenuJumpToTask"); - return n3 && (o2.actionJumpToTask.targetTask = n3), o2; + 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]) : c.unRegisterConsumer(this.action, "flow"); } - addMenuPreviousMenu(e3, t3, i3, n3) { - return this.createArchMenuChoice(e3, t3, i3, n3, c.previousMenuActionType, "addMenuPreviousMenu"); + repointSelfReference(e3, t3) { + h.repointSelfReferenceIfMatch(this.action[this._modelIdPropName], this.action[this._modelNamePropName], e3, t3, (e4, t4) => { + this.setInQueueFlow(e4, t4); + }); } - addMenuRepeatMenu(e3, t3, i3, n3) { - return this.createArchMenuChoice(e3, t3, i3, n3, d.repeatMenuActionType, "addMenuRepeatMenu"); + validate(e3) { + if (!this.action.supportedInQueueFlowType || this.action.useDefaultHandling) return; + if (!this.action[this._modelIdPropName]) return void e3.addError(this, (0, r.sprintf)(g.expression.notSetWithContext, this.action.supportedInQueueFlowTypeDefinition.typeDisplayName), false, true); + const t3 = this.action[this._modelIdPropName]; + let i3 = this.configListManager.getItem(t3); + i3 || (i3 = this.configListManager.getItemFromFullManager(t3)), !i3 || i3.deleted ? e3.addError(this, (0, r.sprintf)(g.expression.literalDropDownValueDoesNotExist, this.action.supportedInQueueFlowTypeDefinition.typeDisplayName, this.action[this._modelNamePropName] || this.action[this._modelIdPropName]), false, true) : (this.action[this._modelNamePropName] !== i3.displayName && this.setInQueueFlow(this.action[this._modelIdPropName], i3.displayName), h.flowHasUnpublishedWarning(i3, this.parentFlow) && e3.addError(this.action, h.getUnpublishedWarning(i3, this.parentFlow))); } - addMenuReturnToAgent(e3, t3, i3, n3) { - return this.createArchMenuChoice(e3, t3, i3, n3, p.returnToAgentActionType, "addMenuReturnToAgent"); + static createCreateDetails(e3, t3) { + return { create: function(i3, n3) { + let r2; + return o.flowTypes.isVxmlgenFlowType(i3.parentFlow.type) ? r2 = s.inqueueCallFlowListManager.getBriefManagerWithFallback() : o.flowTypes.isShortMessageFlowType(i3.parentFlow.type) ? r2 = u.inqueueShortMessageFlowListManager.getBriefManagerWithFallback() : o.flowTypes.isEmailFlowType(i3.parentFlow.type) && (r2 = l.inqueueEmailFlowListManager.getBriefManagerWithFallback()), new f(i3, n3, r2, e3, t3); + }, getCreateClass: function() { + return f; + }, modelProperties: [e3, t3] }; } - addMenuSubMenu(e3, t3, i3, n3, o2) { - this._checkItemIsValidLiteralString(this._infoParm("subMenuTTS", "addMenuSubMenu"), n3, true); - const a2 = this.createArchMenuChoice(e3, t3, i3, o2, u.menuActionActionType, "addMenuSubMenu"); - return r2.default.isString(n3) && a2.audio.setDefaultCaseLiteralTTS(n3), a2; + } + t2.InqueueFlowActionProperty = f; + }, 41500(e2, t2, i2) { + "use strict"; + t2.MirroredExpressionActionProperty = void 0; + const n2 = i2(36781), o = i2(88473), r = i2(55867); + class a extends r.BaseActionProperty { + constructor(e3, t3, i3, n3) { + super(e3, t3), this._getExpressionChangeTrigger = i3, this._getExpressionCallback = n3, this._outOfServiceProvider = (0, o.addOutOfServiceProperties)(this); } - addMenuTask(e3, t3, i3, n3) { - return this.createArchMenuChoice(e3, t3, i3, n3, _.taskActionActionType, "addMenuTask"); + destroy() { + super.destroy(), this._outOfServiceProvider.destroy(); } - addMenuTransferToAcd(e3, t3, i3, n3, r3) { - return this.createArchTransferMenuChoice(e3, t3, i3, r3, n3, y.transferPureMatchActionType, "addMenuTransferToAcd"); + get className() { + return "MirroredExpressionActionProperty"; } - addMenuTransferToFlow(e3, t3, i3, n3, r3) { - return this.createArchTransferMenuChoice(e3, t3, i3, r3, n3, m.transferFlowActionType, "addMenuTransferToFlow"); + get isMirroredExpression() { + return true; } - addMenuTransferToFlowSecure(e3, t3, i3, n3, r3) { - return this.createArchTransferMenuChoice(e3, t3, i3, r3, n3, g.transferFlowSecureActionType, "addMenuTransferToFlowSecure"); + initializeDesignTime() { + super.initializeDesignTime(); + const e3 = this._getExpressionChangeTrigger(this.action); + this.addAutoCleanedUpEventSinkWatch(n2.expressionValueChanged, e3, () => this._updateMirroredExpression()); } - addMenuTransferToGroup(e3, t3, i3, n3, r3) { - return this.createArchTransferMenuChoice(e3, t3, i3, r3, n3, f.transferGroupActionType, "addMenuTransferToGroup"); + _updateMirroredExpression() { + this._expression = this._getExpressionCallback(this.action); } - addMenuTransferToNumber(e3, t3, i3, n3, r3) { - return this.createArchTransferMenuChoice(e3, t3, i3, r3, n3, h.transferExternalActionType, "addMenuTransferToNumber"); + get expression() { + return this._expression || this._updateMirroredExpression(), this._expression; } - addMenuTransferToUser(e3, t3, i3, n3, r3) { - return this.createArchTransferMenuChoice(e3, t3, i3, r3, n3, A.transferUserActionType, "addMenuTransferToUser"); + getDetailDescription() { } - addMenuTransferToVoicemail(e3, t3, i3, n3, r3) { - return this.createArchTransferMenuChoice(e3, t3, i3, r3, n3, N.transferVoicemailActionType, "addMenuTransferToVoicemail"); + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) return this.expression.getConfiguration(e3, t3); } - addMenuChoiceFromDefinition(e3, t3, i3, n3, r3, o2) { - const a2 = this._infoParm("archDefinitionMenuChoice", "addMenuChoiceFromDefinition"); - 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"); + static createCreateDetails(e3, t3) { + return { create: (i3, n3) => new a(i3, n3, t3, e3), getCreateClass: () => a, modelProperties: [] }; } } - t2.ArchFactoryMenus = O, t2.default = new O(); - }, 27099: (e2, t2, i2) => { + t2.MirroredExpressionActionProperty = a; + }, 28803(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); + t2.NetworkBasedActionProperty = void 0, t2.isNetworkBasedActionProperty = function(e3) { + return null == e3 ? void 0 : e3.isConfigListProperty; }; - 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) => { - !(function(e5, t5) { - u[e5] = t5; - })(t4, e4); - }); - const t3 = r2.default.filter(r2.default.keys(u), (e4) => u[e4]); - l.infoWithObject({ features: t3 || [] }, "enabled features"), a.setFeatureTogglesLoaded(u); - } - function p(e3) { - return u[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"), d({}); - }); - }); - }, 27183: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "LanguageContextEnumVariable", true), e2.exports = { LanguageContextEnumVariable: n2 }; - }, 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), 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(); + const n2 = i2(31635), o = i2(17604), r = 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, o2, r2, a2, s2, c2, p2) { + var h2, m2, g2, f2; + super(e3, t3), this._configListManager = i3, this._modelIdPropName = n3, this._modelNamePropName = o2, this._notSelectedErrorMessage = r2, 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); } - _validateValue(e3, t3, i3) { - if (t3.validate(e3) && t3.isLiteralMode) { - const n3 = parseInt(t3.text, 10); - if (n3 < 0 || n3 > 10) { - const t4 = _.transferPureMatch.invalidProficiency; - e3.addError(this.parent, (0, r2.sprintf)(t4, i3 + 1)); + get configListManager() { + return this._configListManager; + } + set configListManager(e3) { + this._configListManager = e3; + } + setConfigListMangerAndUpdateDependencies(e3) { + this._configListManager.tryRemoveItemFromFlowMetadata(this.action, this.idValue), this.idValue = void 0, this.nameValue = void 0, this._configListManager = e3, this.updateDependencies(); + } + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), this.action && this.idValue && this.configListManager.addClipboardDependencies(e3, this.idValue, this.action.parentFlow); + } + destroy() { + this.configListManager.tryRemoveItemFromFlowMetadata(this.action, this.idValue), this._outOfServiceProvider.destroy(), delete this.idValue, delete this.nameValue, super.destroy(); + } + getConfiguration(e3, t3, i3) { + if (!this.featureConfigUnavailable) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + if (null == i3 ? void 0 : i3.skipProperty) return; + return (null == i3 ? void 0 : i3.shouldBeBoolIndicatingIfSet) ? !!this.idValue : this.nameValue ? { name: this.nameValue } : null; } + return this.parent.isAction ? console.error("Trying to access NetworkBasedActionProperty.getConfiguration for non-flow-YAML") : (e3[this._modelIdPropName] = this.parent.model[this._modelIdPropName], e3[this._modelNamePropName] = this.parent.model[this._modelNamePropName]), null; } } - addItem(e3) { - this.items.push(e3), this.model.push(e3.model), e3.outOfService = this.outOfService, e3.initializeDesignTime(), this.expandNewItem(e3), this.orderChanged(); + get modelIdPropName() { + return this._modelIdPropName; } - 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 d.default(e3, t3), n3 = a.createEventSinkObject("skillValueChanged", i3.skill, () => { - s.validateItem(this.parent, false, true); - }); - return a.registerEventSinkForEventEmitter(i3.skill.id, n3), i3; + get modelNamePropName() { + return this._modelNamePropName; } - getExpressions() { - const e3 = []; - return this.items.forEach((t3) => { - e3.push(...t3.skill.getExpressions()); - }), e3; + get idValue() { + return this.action[this._modelIdPropName]; } - getSkillLabel(e3) { - return (0, r2.sprintf)(_.transferPureMatch.skill, e3 + 1); + set idValue(e3) { + this.action[this._modelIdPropName] = e3; } - get isSkillValuePairs() { + get isNetworkBasedActionProperty() { return true; } - orderChanged() { - this.items.forEach((e3, t3) => { - e3.skill.label = this.getSkillLabel(t3); - }), super.orderChanged(); - } - validate(e3) { - let t3; - this._extraValidator && (t3 = [], this.items.forEach((e4) => { - e4.skill.isLiteralMode && t3.push(e4.skill); - })), this.items.forEach((i3) => { - i3.skill.validate(e3) && i3.skill.isLiteralMode && t3 && this._extraValidator(e3, i3.skill, t3); - }); + get isConfigListProperty() { + return true; } - get className() { - return "SkillValuePairs"; + get nameValue() { + return this.action[this._modelNamePropName]; } - } - t2.SkillValuePairs = m; - }, 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), 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; + set nameValue(e3) { + this.action[this._modelNamePropName] = e3; } - get className() { - return "BranchInfos"; + get featureConfigUnavailable() { + return this._featureConfigUnavailable; } - get active() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.active], outputId: o.outputIds.active, required: true }; + outOfServiceChanged() { + this.containedValidation(); } - get activeInactive() { - return [this.active, this.inactive]; + get skipValidationCheck() { + return this._skipValidationCheck; } - get canceled() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.canceled], outputId: o.outputIds.canceled, required: true }; + set skipValidationCheck(e3) { + this._skipValidationCheck = e3; } - get closed() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.closed], outputId: o.outputIds.closed, required: true }; + search(e3) { + super.search(e3), e3.checkText(this.action, this.nameValue, this.configListManager.dependencyContext); } - get conditionsNotMet() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.conditionsNotMet], outputId: o.outputIds.conditionsNotMet, required: true }; + reset() { + this.setValue(void 0), c.fireEvent(this, s.valueChanged); } - get default() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.default], outputId: o.outputIds.default, required: true, sortIndex: 4 }; + 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, s.valueChanged))); } - get emergency() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.emergency], outputId: o.outputIds.emergency, required: true }; + get amObjectEventEmitter() { + return true; } - get event() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.event], outputId: o.outputIds.event, required: true }; + containedValidation() { + this.initializeDesignTimeCalled && p.validateItem(this, true, true); } - get eventNoEventFailure() { - return [this.event, this.noEvent, this.failure]; + updateDependencies() { + 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); + } } - get fake() { - return { canTerminate: false, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.fake], outputId: o.outputIds.fake, required: true }; + getItem() { + return this.configListManager.getItem(this.idValue, this.action); } - get fakeDisconnect() { - return { canTerminate: false, isActionInternal: false, label: u.actions.disconnect, outputId: o.outputIds.fake, required: true }; + validate(e3) { + var t3, i3, n3, s2, l2; + if (super.validate(e3), this.currentUiErrorMessage = null, !this.outOfService && !this.skipValidationCheck) if (this.idValue || this.isOptional || (null === (t3 = this.action.uiMetaData) || void 0 === t3 ? void 0 : t3.isLoadingAutoManagedBotRunnable)) { + if (this.idValue) { + let t4 = this.configListManager.getItem(this.idValue, this.action); + if (!t4 && this.action.hasAutoSelectedBotRunnable && this._predecessorProp && !this.action.isReadOnly) { + const e4 = this.action[this._predecessorProp]._modelIdPropName; + t4 = r.default.find(this.configListManager.items, (t5) => t5[e4] === this.action[this._predecessorProp].idValue), r.default.isObject(t4) && (this.idValue = t4.id, this.nameValue = t4.name); + } + const a2 = null === (n3 = (i3 = this.configListManager).resolveReplacement) || void 0 === n3 ? void 0 : n3.call(i3, this.idValue); + if (a2 && ((null === (s2 = this.action.parentFlow) || void 0 === s2 ? void 0 : s2.isReadOnly) ? t4 || (t4 = a2) : (this.idValue = a2.id, t4 = this.configListManager.getItem(this.idValue, this.action) || a2)), !t4 || t4.isFlowCachedVersion) if (this.configListManager.viewModelIsAutoSelectedBotRunnable && this.action.isReadOnly) ; + else if (this.configListManager.viewModelIsAutoSelectedBotRunnable && this._predecessorProp && this.action[this._predecessorProp].notFoundErrorMessage) ; + else { + const t5 = (0, o.sprintf)(this.notFoundErrorMessage, this.nameValue); + e3.addError(this, t5, false, true), this.currentUiErrorMessage = t5; + } + else e3.isDeep && (a2 && (null === (l2 = this.action.parentFlow) || void 0 === l2 ? void 0 : l2.isReadOnly) ? this.nameValue = a2.name : this.nameValue = t4.name, this.updateDependencies(), 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, a.unRegisterConsumer(this.action, this.configListManager.dependencyType.value)); } - get fakeNoLabel() { - return { canTerminate: false, isActionInternal: false, outputId: o.outputIds.fake, required: true }; + static get managedProperties() { + return []; } - get fakeFailure() { - return [this.fake, this.failure]; + 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); + }); } - get failure() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.failure], outputId: o.outputIds.failure, required: true }; + getAdditionalSearchParams() { + if (this._additionalSearchParamsCallback) return this._additionalSearchParamsCallback(this); } - get found() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.found], outputId: o.outputIds.found, required: true }; + searchResultsFilter(e3) { + return !this._searchResultsFilterCallback || this._searchResultsFilterCallback(this, e3); } - get foundNotFound() { - return [this.found, this.notFound]; + static createCreateDetails(e3, t3, i3, n3, o2, r2, a2, s2) { + return { create: function(l2, u2) { + return new f(l2, u2, i3, e3, t3, n3, o2, r2, a2, s2); + }, getCreateClass: function() { + return f; + }, modelProperties: [e3, t3], manager: i3 }; } - get foundPartiallyFoundNotFound() { - return [this.found, this.partiallyFound, this.notFound]; + } + t2.NetworkBasedActionProperty = f; + }, 87870(e2, t2, i2) { + "use strict"; + t2.NoteActionProperty = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(88473), a = n2.__importDefault(i2(49416)), s = i2(55867); + class l extends s.BaseActionProperty { + constructor(e3, t3, i3, n3, o2, a2, s2) { + super(e3, t3), this.accent = n3, this.ininTestField = o2, this.ininTestField = o2, this.hasInteractiveLinks = s2 || false, this.note = i3, this._outOfServiceProvider = (0, r.addOutOfServiceProperties)(this), this.supportedFlowTypes = a2 || []; } - get foundNotFoundFailure() { - return [this.found, this.notFound, this.failure]; + destroy() { + super.destroy(), this._outOfServiceProvider.destroy(); } - get holiday() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.holiday], outputId: o.outputIds.holiday, required: true }; + get note() { + return this._note; } - get inactive() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.inactive], outputId: o.outputIds.inactive, required: true }; + set note(e3) { + this._noteUnresolved = e3, this._note = a.default.resolveString(e3, this.parentFlow); } - get knowledgeOptional() { - return { canTerminate: true, featureConfigName: r2.default.botFlowsKnowledge, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.knowledge], outputId: o.outputIds.knowledge, required: false, yamlOptions: { exportOutOfService: true } }; + get noteUnresolved() { + return this._noteUnresolved; } - get loop() { - return { canTerminate: true, isActionInternal: true, label: this.outputIdsToLabels[o.outputIds.loop], outputId: o.outputIds.loop, required: true }; + get isNoteProperty() { + return true; } - get loopNext() { - return { canTerminate: false, isActionInternal: true, label: this.outputIdsToLabels[o.outputIds.loopNext], outputId: o.outputIds.loopNext, required: true }; + get className() { + return "NoteActionProperty"; } - get matchExactMultipleNotFound() { - return [this.matchExact, this.matchMultiple, this.notFound]; + getDetailDescription() { } - get matchExact() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.matchExact], outputId: o.outputIds.matchExact, required: true }; + get isNoteEmpty() { + return o.default.isEmpty(this.note); } - get loopsMax() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.loopsMax], outputId: o.outputIds.loopsMax, required: true, sortIndex: 6 }; + static createCreateDetails(e3, t3, i3, n3, o2) { + return { create: (r2, a2) => new l(r2, a2, e3, t3, i3, n3, o2), getCreateClass: () => l, modelProperties: [] }; } - get matchMultiple() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.matchMultiple], outputId: o.outputIds.matchMultiple, required: true }; + } + t2.NoteActionProperty = l; + }, 24338(e2, t2, i2) { + "use strict"; + t2.ResponseLibraryProperty = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = 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, o2) { + super(e3, t3), this._wrongLibraryWarning = i3, this._invalidLibraryWarning = n3, this._selectLibraryError = o2, this.id = (0, u.uuid)(), this.configListManager = l.responseLibraryManager, this.featureConfigUnavailable = false; } - get skipResponseCaptureOptional() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.skipResponseCapture], outputId: o.outputIds.skipResponseCapture, featureConfigName: r2.default.botFlowsSupportDontKnowAnswers, required: false, defaultToOutOfService: true, sortIndex: 10, yamlOptions: { exportOutOfService: true } }; + get parent() { + return this.action; } - get maxNoInputsOptional() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.maxNoInputs], outputId: o.outputIds.maxNoInputs, required: false, defaultToOutOfService: true, sortIndex: 8, yamlOptions: { exportOutOfService: true } }; + getAdditionalSearchParams() { } - get maxNoMatchesOptional() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.maxNoMatches], outputId: o.outputIds.maxNoMatches, featureConfigName: r2.default.botFlowsEnhancedRecognitionFailureHandling, required: false, defaultToOutOfService: true, sortIndex: 9, yamlOptions: { exportOutOfService: true } }; + get isConfigListProperty() { + return true; } - get no() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.no], outputId: o.outputIds.no, required: true }; + searchResultsFilter(e3) { + return true; } - get noEvent() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.noEvent], outputId: o.outputIds.noEvent, required: true }; + get idValue() { + var e3; + return null === (e3 = this.action.responseLibrary) || void 0 === e3 ? void 0 : e3.id; } - get noInput() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.noInput], outputId: o.outputIds.noInput, required: true }; + get nameValue() { + var e3; + return null === (e3 = this.action.responseLibrary) || void 0 === e3 ? void 0 : e3.name; } - get noIntent() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.noIntent], outputId: o.outputIds.noIntent, required: true }; + getConfiguration(e3, t3, i3) { + if (!this.featureConfigUnavailable && (null == t3 ? void 0 : t3.isForFlowYaml)) { + if (null == i3 ? void 0 : i3.skipProperty) return; + return this.nameValue ? { name: this.nameValue } : null; + } } - get noIntentOptional() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.noIntent], outputId: o.outputIds.noIntent, required: false, yamlOptions: { exportOutOfService: true } }; + setValue(e3) { + this.configListManager.tryRemoveItemFromFlowMetadata(this.action, this.idValue), (this.idValue || e3) && (this.nameValue === (null == e3 ? void 0 : e3.name) && this.idValue === (null == e3 ? void 0 : e3.id) || (this.action.responseLibrary = e3 ? { name: e3.name, id: e3.id } : null, r.fireEvent(this, o.valueChanged), a.validateAction(this.action, void 0, true))); } - get notFound() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.notFound], outputId: o.outputIds.notFound, required: true }; + get selectedResponseLibrary() { + if (this.idValue) return this.configListManager.getItem(this.idValue); } - get open() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.open], outputId: o.outputIds.open, required: true }; + get amObjectEventEmitter() { + return true; } - get openClosed() { - return [this.open, this.closed]; + get isResponseLibraryProperty() { + return true; } - get openClosedHolidayEmergency() { - return [this.open, this.closed, this.holiday, this.emergency]; + search(e3) { + super.search(e3), e3.checkText(this, this.nameValue, c.getResponse.library); } - get partiallyFound() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.partiallyFound], outputId: o.outputIds.partiallyFound, required: true }; + 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 ? 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); } - get processed() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.processed], outputId: o.outputIds.processed, required: true }; + static createCreateDetails(e3, t3, i3) { + return { create: function(n3, o2) { + return new d(n3, o2, e3, t3, i3); + }, getCreateClass: function() { + return d; + }, modelProperties: [], manager: l.responseLibraryManager }; } - get processedTimeoutFailure() { - return [this.processed, this.timeout, this.failure]; + } + t2.ResponseLibraryProperty = d; + }, 42098(e2, t2, i2) { + "use strict"; + t2.createTransferConnectTimeoutProperty = function(e3) { + 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), o = n2.__importStar(i2(63824)), r = 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(o.durationStyles.secondsAndTenthsDuration).setDefaultText(r.default.litDurationTenSeconds).setIsOptional(true).setIninTestingField("connect-timeout-expression").facets.setMinDur(r.default.msPerSecond, true).setMaxDur(r.default.msPerMinute, true)); + }, 54590(e2, t2, i2) { + "use strict"; + t2.VersionedNetworkBasedActionProperty = void 0; + const n2 = i2(31635), o = i2(79364), r = 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, r2, a2, s2, l2, c2) { + if (super(e3, t3, i3, n3, r2, a2, s2, l2, c2, (e4, t4) => e4.idValue === t4.id), this._allowableValues = [], this._loadingReference$ = new o.BehaviorSubject(false), this.lastApiErrors = [], !(0, u.isNetworkBasedActionProperty)(e3[l2])) throw new Error(`${l2} not found on action`); + this._dependentNetworkBasedActionProperty = e3[l2]; } - get success() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.success], outputId: o.outputIds.success, required: true }; + initializeDesignTime() { + super.initializeDesignTime(), this._updateOOS(), this.addAutoCleanedUpEventSinkWatch(a.valueChanged, this._dependentNetworkBasedActionProperty, () => n2.__awaiter(this, void 0, void 0, function* () { + yield this._refreshReference(); + })); } - get successFailure() { - return [this.success, this.failure]; + get loadingReference$() { + return this._loadingReference$.asObservable(); } - get successFailureTimeout() { - return [this.success, this.failure, this.timeout]; + get isVersionedNetworkBasedActionProperty() { + return true; } - get successNoInputFailure() { - return [this.success, this.noInput, this.failure]; + get allowableValues() { + return this._allowableValues; } - get successFailureCanceled() { - return [this.success, this.failure, this.canceled]; + fetchItem() { + return this.getAdditionalSearchParams() ? this.configListManager.fetchItem(this._dependentReferenceId, false, this.getAdditionalSearchParams()) : Promise.resolve(void 0); } - get successTimeout() { - return [this.success, this.timeout]; + get _dependentReferenceId() { + return this._dependentNetworkBasedActionProperty.idValue; } - get validInvalidFailure() { - return [this.valid, this.invalid, this.failure]; + _refreshReference() { + return n2.__awaiter(this, void 0, void 0, function* () { + if (this._dependentReferenceId) if (this._loadingReference$.value) r.warn("already refreshing reference"); + else { + this.lastApiErrors.length = 0, this.currentUiErrorMessage = void 0, this._allowableValues.length = 0, this.setValue(void 0); + try { + this._loadingReference$.next(true); + const e3 = yield this.fetchItem(); + this._updateAllowableValues(null == e3 ? void 0 : e3.id), this.setValue(e3), (0, l.validateAction)(this.action, true); + } catch (e3) { + if (403 === e3.status && this.configListManager.requiredAuth) { + let t3; + 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); + } + } + }); } - get timeout() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.timeout], outputId: o.outputIds.timeout, required: true }; + _updateAllowableValues(e3) { + this._allowableValues.length = 0, e3 && this.allowableValues.push({ label: d.versions.latestPublishedVersion, id: e3 }); } - get valid() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.valid], outputId: o.outputIds.valid, required: true }; + _updateOOS() { + this.outOfService = !this._dependentReferenceId; } - get invalid() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.invalid], outputId: o.outputIds.invalid, required: true }; + validate(e3) { + if (this._updateOOS(), this.idValue && this._dependentReferenceId) { + if (!this.configListManager.getItem(this.idValue, this.action)) { + const e4 = this._dependentNetworkBasedActionProperty.getItem(); + if (e4) { + const t3 = `${this._dependentReferenceId}~${e4.version}`, i3 = this.configListManager.getItem(t3, this.action); + i3 && this.setValue(i3); + } + } + } else !this.idValue && this._dependentReferenceId && this._refreshReference(); + this._updateAllowableValues(this.idValue), super.validate(e3); } - get yes() { - return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[o.outputIds.yes], outputId: o.outputIds.yes, required: true }; + static createCreateDetails(e3, t3, i3, n3, o2, r2, a2) { + return { create: function(s2, l2) { + return new p(s2, l2, i3, e3, t3, n3, o2, r2, a2); + }, getCreateClass: function() { + return p; + }, modelProperties: [t3], manager: i3 }; } - get yesNo() { - return [this.yes, this.no]; + } + t2.VersionedNetworkBasedActionProperty = p; + }, 12729(e2, t2, i2) { + "use strict"; + t2.VoiceSurveyFlowReferenceProperty = void 0; + const n2 = i2(33381), o = i2(44307); + class r extends n2.FlowReferenceProperty { + constructor(e3, t3, i3, n3, o2, r2) { + super(e3, t3, i3, n3, o2, r2); } - get fakeFaxProcessed() { - return { canTerminate: true, isActionInternal: false, label: u.generic.branches.faxProcessed, outputId: o.outputIds.fake, required: true }; + get className() { + return "VoiceSurveyFlowReferenceProperty"; } - get voicemail() { - return { canTerminate: false, isActionInternal: false, label: u.generic.branches.voicemail, outputId: o.outputIds.voicemail, required: true }; + static createCreateDetails(e3) { + const t3 = this.createModelPropNames(e3.useFlowTypeSpecificModelProps, null == e3 ? void 0 : e3.flowType); + return { create: (t4, i3) => new r(t4, i3, e3.flowType, e3.supportsSpecificVersion, e3.showVersionSelection, e3.useFlowTypeSpecificModelProps), getCreateClass: () => r, modelProperties: [t3.idPropName, t3.namePropName, t3.versionPropName, t3.latestVersionPropName, t3.debugPublishedPropName] }; } - get faxProcessedVoicemailNoInputFailure() { - return [this.fakeFaxProcessed, this.voicemail, this.noInput, this.failure]; + get isVoiceSurveyFlowReferenceProperty() { + return true; } - setSupportedFlowTypes(e3, t3) { - return s.ParameterValidator.expectArrayOrObject(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "restrictToFlowTypes", "branchInfoOrInfos")), s.ParameterValidator.expectArray(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "restrictToFlowTypes", "supportedFlowTypes")), l.default.isArray(e3) ? l.default.each(e3, (e4) => { - e4.supportedFlowTypes = t3; - }) : e3.supportedFlowTypes = t3, e3; + getConfiguration(e3, t3) { + var i3, n3; + const r2 = super.getConfiguration(e3, t3); + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const t4 = this.getFlowInfo(); + if (null === (i3 = null == t4 ? void 0 : t4.surveyForm) || void 0 === i3 ? void 0 : i3.name) { + const i4 = (0, o.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); + i4 && (i4.flow.surveyForm = null === (n3 = null == t4 ? void 0 : t4.surveyForm) || void 0 === n3 ? void 0 : n3.name); + } + } + return r2; } - }(); - t2.default = c; - }, 27244: (e2, t2, i2) => { + } + t2.VoiceSurveyFlowReferenceProperty = r; + }, 33667(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneySessionActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + if (t3.createDetails && t3.createDetails.create) { + e3[t3.property] && (r.default.isFunction(e3[t3.property].destroy) && e3[t3.property].destroy(), delete e3[t3.property]); + const i4 = e3[t3.property] = t3.createDetails.create(e3, t3); + return t3.supportedFlowTypes && i4.hasOutOfServiceProvider && (i4.supportedFlowTypes = t3.supportedFlowTypes, r.default.isFunction(i4.outOfServiceChanged) && i4.outOfServiceChanged(true)), i4; } - } - t2.GetJourneySessionActionModel = o, o.__type = r2.getJourneySessionActionType, o.registerType(); - }, 27277: (e2, t2, i2) => { + if (t3.isJustForFlowYaml) return null; + let i3, n3, S, A = e3.model[t3.property]; + if (Array.isArray(t3.optionsForSpecificFlowTypes)) { + const i4 = t3.optionsForSpecificFlowTypes.find((t4) => t4.flowTypes.find((t5) => t5 === e3.parentFlow.type)); + r.default.isUndefined(i4) || (S = i4.options); + } + return S || (S = t3.options), e3.propertyChanged && (S = r.default.extend(S || {}, { valueChangedCallback: e3.propertyChanged.bind(e3) })), t3.audio ? (A = A || new o(), 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, r.default.isFunction(i3.outOfServiceChanged) && i3.outOfServiceChanged(true)), t3 && (t3.featureFlags || S.featureToggleName) && (!t3.featureFlagEnabledForFlowTypes || t3.featureFlagEnabledForFlowTypes && r.default.contains(t3.featureFlagEnabledForFlowTypes, e3.parentFlow.type)) && ((function(e4, t4) { + e4 && t4 && (r.default.isArray(t4) || (t4 = [t4]), e4.featureFlags ? r.default.each(t4, function(t5) { + r.default.findIndex(e4.featureFlags, t5) || e4.featureFlags.push(t5); + }) : e4.featureFlags = t4); + })(i3, t3.featureFlags), r.default.isFunction(i3.outOfServiceChanged) && i3.outOfServiceChanged(true))), t3.hideFromModel || (e3.model[t3.property] = A), e3[t3.property] = i3, i3; + }; + const n2 = i2(31635), o = i2(2210), r = 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)); + }, 95443(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(2318)), o = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "intentMiner"; - class u extends a.default { - constructor() { - super(...arguments), this._actionId = ""; + t2.createBargeInManagedProperty = function(e3, 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(r.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: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeVoiceSurvey], property: "enableBargeIn", type: a.expressionTypeNames.boolean }; + }; + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(73198)), a = i2(80428), s = i2(67607), l = n2.__importStar(i2(85020)), u = n2.__importDefault(i2(4648)), c = i2(47957); + }, 77415(e2, t2, i2) { + "use strict"; + t2.ScriptProperties = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(9456), a = n2.__importDefault(i2(22917)), s = n2.__importStar(i2(17498)), l = i2(55867), u = i2(47957); + class c extends l.BaseActionProperty { + constructor(e3, t3, i3, n3, o2, a2) { + super(e3, t3), this.id = (0, r.uuid)(), this.scriptManager = i3, this._outOfService = false, this._scriptIdPropName = n3 || "scriptId", this._scriptNamePropName = o2 || "scriptName", this.isOptional = a2, this.parent = e3, Object.defineProperties(e3, { scriptId: { get: () => this.scriptId }, scriptName: { get: () => this.scriptName, set: (e4) => { + this.scriptName = e4; + } }, setScriptAsync: { value: this.setScriptOnAction.bind(this) } }); + } + get scriptIdPropName() { + return this._scriptIdPropName; + } + get scriptNamePropName() { + return this._scriptNamePropName; + } + get scriptId() { + return this.action.model[this._scriptIdPropName]; + } + get scriptName() { + return this.action.model[this._scriptNamePropName]; + } + set scriptName(e3) { + this.action.model[this._scriptNamePropName] = e3; } - get actionId() { - return this._actionId; + get isBaseActionProperty() { + return true; } - set actionId(e3) { - this._actionId = e3; + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), this.action && this.scriptId && this.scriptManager.addClipboardDependencies(e3, this.scriptId, this.action.parentFlow); + } + destroy() { + super.destroy(), this.scriptManager.tryRemoveItemFromFlowMetadata(this.action, this.scriptId); + } + getConfiguration(e3, t3, i3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + if (!this.scriptName) return null; + const n3 = {}; + n3[this.scriptName] = {}; + let r2 = this.inputs.getConfiguration(e3, t3, i3); + return this.inputs.items.length ? n3[this.scriptName].inputs = r2 : (o.default.isNull(r2) && (r2 = { none: true }), n3[this.scriptName] = r2), n3; + } + return console.error("Trying to access ScriptProperties.getConfiguration for non-flow-YAML"), null; } get outOfService() { - return !r2.default.currentUserCanUseIntentMiner; + return this._outOfService = false; } - get id() { - return l; + set outOfService(e3) { + this._outOfService = e3, this.inputs.outOfService = e3; } - static get id() { - return l; + search(e3) { + super.search(e3), e3.checkText(this.action, this.scriptName, this.scriptManager.dependencyContext); + const t3 = this.scriptManager.getCategoryForScript(this.scriptId); + e3.checkText(this.action, t3, this.scriptManager.dependencyContext); } - get showInFlowSize() { - return false; + setScriptOnAction(e3) { + const t3 = e3 ? e3.name : "", i3 = e3 ? e3.id : ""; + return this.scriptName === t3 && this.scriptId === i3 ? Promise.resolve() : (this.scriptName && this.scriptManager.tryRemoveItemFromFlowMetadata(this.action, this.scriptId), this.action.model[this._scriptIdPropName] = i3, this.action.model[this._scriptNamePropName] = t3, this.inputs.destroyChildren(), this.scriptName ? (this.scriptManager.addItemToFlowMetadata(this.action, this.scriptName, this.scriptId), this.scriptManager.getScriptInputs(e3).then(() => { + this.scriptManager.mergeSchemaProperties(e3.inputs, this.inputs), this.validateAction(); + })) : (this.validateAction(), Promise.resolve())); } - get className() { - return "IntentMinerViewModel"; + _initializeDesignTime() { + super._initializeDesignTime(); + const e3 = this.scriptManager.getScript(this.scriptId); + e3 && this.scriptManager.mergeSchemaProperties(e3.inputs, this.inputs); } - getDisplayName() { - return s.intentMiner.intentMinerLabel; + updateDependencies() { + super.updateDependencies(), this.scriptName && this.scriptId && (this.outOfService ? s.registerNonDependencyValidationItem(this.action, this.scriptManager.dependencyContext, this.scriptName, this.scriptId, this.scriptManager.dependencyType.value) : this.scriptManager.registerConsumer(this.action, this.scriptName, this.scriptId)); } - get isIntentMinerNode() { - return true; + validate(e3) { + if (super.validate(e3), this.scriptId || this.isOptional) if (!this.outOfService && this.scriptId) { + const t3 = this.scriptManager.getItem(this.scriptId); + !t3 || t3.isFlowCachedVersion ? this.action.allScriptsManager && this.action.allScriptsManager.getItem(this.scriptId) ? e3.addWarning(this, this.action.resources && this.action.resources.scriptMissingFeature || u.scripts.scriptMissingFeature, void 0, true) : e3.addError(this, this.action.resources && this.action.resources.scriptNotFound || u.scripts.scriptNotFound, false, true) : e3.isDeep && (this.scriptManager.registerConsumer(this.action, t3.name, t3.id), this.scriptName !== t3.label && (this.scriptName = t3.label), "schemas.not.available" === t3.result && e3.addError(this, u.inputOutputList.unableToRetrieveSchema, false, true), this.scriptManager.mergeSchemaProperties(t3.inputs, this.inputs), this.scriptManager.addItemToFlowMetadata(this.action, this.scriptName, this.scriptId)); + } else s.unRegisterConsumer(this.action, this.scriptManager.dependencyContext); + else e3.addError(this, this.action.resources.mustSelectScript, false, true); } - get nodeGuxIcon() { - return "fa/gem-regular"; + get inputs() { + return this.action.inputs; } - get helpTopic() { - return o.helpTopics.treeNodes.intentMiner; + static get managedProperties() { + return [{ property: "inputs", dataList: true, yamlOptions: a.default.create("scriptProperties-inputs", (e3) => e3.setSkipProperty(true)) }]; } - get intentMinerArchNodeName() { - return l; + static createCreateDetails(e3, t3, i3) { + return { modelProperties: [], create: function(n3, o2) { + return new c(n3, o2, n3.scriptManager, e3, t3, i3); + }, getCreateClass: function() { + return c; + } }; + } + get isScriptProperties() { + return true; } } - t2.default = u; - }, 27283: (e2, t2, i2) => { + t2.ScriptProperties = c; + }, 5426(e2, t2, i2) { "use strict"; - 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._inFlightCount = 0; + t2.ServerActionSchemaCategoryReference = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55867), r = i2(82185), a = i2(47957); + class s extends o.BaseActionProperty { + constructor(e3, t3, i3) { + super(e3, t3), Object.defineProperties(e3, { supportsCategories: { value: true, writable: false }, categoryManager: { value: i3, writable: false }, setCategory: { value: (e4, t4) => { + t4 ? this.category = t4 : e4 ? n2.default.isString(e4.category) ? this.category = new r({ id: e4.category, name: e4.category }) : this.category = e4.category : this.category = ""; + } } }); } - get rateLimitRestricted() { - return this._rateLimitRestricted; + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3); } - set rateLimitRestricted(e3) { - this._rateLimitRestricted = e3; + get category() { + return this.action.model.category; } - get rateResetRateLimit() { - return this._rateResetRateLimit; + set category(e3) { + this.action.model.category = e3 ? new r(e3) : void 0; } - set rateResetRateLimit(e3) { - this._rateResetRateLimit = e3; + get idValue() { + return this.action.model.category && this.action.model.category.id; } - get retryPolicy() { - return t2.SCRIPTING_RETRY_POLICY; + search(e3) { + super.search(e3); + const t3 = this.action.serverManager.getCategoryForAction(this.action.actionName, this.action.actionId); + e3.checkText(this.action, t3, a.bridgeServer.category); } - get resources() { - return r2.default.isUndefined(this._resources) && (this._resources = i2(47957)), this._resources; + static createCreateDetails(e3) { + return { create: (t3, i3) => new s(t3, i3, e3), getCreateClass: () => s, modelProperties: [] }; } - enqueueNetworkCall(e3) { - const t3 = new u.PromiseDefer(); - return this._queuedNetworkCalls.push({ request: e3, defer: t3 }), this._processQueue(), t3.promise; + } + t2.ServerActionSchemaCategoryReference = s; + }, 47628(e2, t2, i2) { + "use strict"; + t2.ServerActionTimeoutSettings = void 0; + const n2 = i2(31635).__importStar(i2(63824)), o = i2(55867), r = i2(47957); + class a extends o.BaseActionProperty { + constructor(e3, t3, i3) { + super(e3, t3), this._defaultTimeoutLiteral = i3, this.action.timeout.options.setAllowModeExpression(!!this.action.parentFlow.isAutomateFlowType), Object.defineProperties(e3, { supportsTimeout: { value: true, writable: false }, useSuggestedTimeout: { get: () => e3.model.useSuggestedTimeout, set: (t4) => { + e3.model.useSuggestedTimeout = !!t4, e3.timeout.outOfService = !!t4; + } }, timeoutTooltip: { get: () => n2.getSearchStringFromLiteral(this._defaultTimeoutLiteral) }, resetTimeout: { value: () => { + this.reset(); + } } }); } - _retryNetworkCall(e3) { - this._queuedNetworkCalls.push(e3), this._processQueue(); + reset() { + this.action.timeout.text = this._defaultTimeoutLiteral, this.action.useSuggestedTimeout = true; } - _createNewRequest(e3) { - const t3 = s.default.build(e3.request.info); - t3.content(e3.request._content), t3.templateParams(e3.request._templateParams), t3.queryParams(e3.request._queryParams), e3.request = t3; + setNewInstanceDefaults() { + super.setNewInstanceDefaults(), this.reset(); } - _rateLimitHandling(e3, t3) { - 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 = c); - } catch (e4) { - 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); + validate(e3) { + super.validate(e3), "P0D0H0M0S0F" !== this.action.timeout.text || this.action.useSuggestedTimeout || e3.addError(this.action, r.bridgeServer.timeoutOfZero); } - _advanceRetryCount(e3) { - !r2.default.isActualNumber(e3.retryCount) || e3.retryCount < 0 ? e3.retryCount = 1 : e3.retryCount++; + static createCreateDetails(e3) { + return { create: (t3, i3) => new a(t3, i3, e3), getCreateClass: () => a, modelProperties: [] }; } - _hasRetriesRemaining(e3) { - return !r2.default.isActualNumber(e3.retryCount) || e3.retryCount < this.retryPolicy.maxRetryCount; + } + t2.ServerActionTimeoutSettings = a; + }, 78105(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(97891)), r = 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); } - _nonRateLimitedRetry(e3) { - this._advanceRetryCount(e3), setTimeout(() => { - this._createNewRequest(e3), this._retryNetworkCall(e3); - }, this._getRetryBackoffMs(e3.retryCount)); + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3); + const t3 = A(this.parentFlow.defaultLanguage).askForAuthentication.noInputDigitalBot; + this.setNewInstanceNoInputText(t3); + const i3 = A(this.parentFlow.defaultLanguage).askForAuthentication.noMatchDigitalBot; + this.setNewInstanceNoMatchText(i3), this.setBranchOutOfService(l.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(l.default.maxNoMatchesOptional.outputId); } - _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); + static get managedProperties() { + 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: r.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: r.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.minDurationMs, g.askForAuthentication.authenticationCompletionTimeout.minDurationInclusive).setMaxDur(g.askForAuthentication.authenticationCompletionTimeout.maxDurationMs, g.askForAuthentication.authenticationCompletionTimeout.maxDurationInclusive)), property: "authenticationCompletionTimeout", type: a.expressionTypeNames.duration }]; } - _shiftAndMakeNetworkCall() { - const e3 = this._queuedNetworkCalls.shift(); - let i3; - this._inFlightCount++; - try { - i3 = e3.request.makeNetworkRequest(); - } catch (e4) { - throw this._inFlightCount--, e4; - } - i3.then((t3) => { - e3.defer.resolve(t3); - }).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(); - }); + get supportsCustomOutputPaths() { + return true; } - _processQueue() { - if (this.rateLimitRestricted) this._delayingRequests || (this._delayingRequests = true, setTimeout(() => { - this.rateLimitRestricted = false, this._delayingRequests = false, this._processQueue(); - }, this.rateResetRateLimit)); - else for (; this._queuedNetworkCalls.length > 0 && this._inFlightCount < t2.MAX_IN_FLIGHT_NETWORK_CALLS; ) this._shiftAndMakeNetworkCall(); + get hasOptionalPaths() { + return true; } - }(); - }, 27313: (e2, t2, i2) => { + static get branchInfo() { + return [...l.default.successFailure, l.default.maxNoInputsOptional, l.default.maxNoMatchesOptional]; + } + _getPossibleErrors() { + return u.askForAuthenticationFailureReasons; + } + } + N.info = o.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; + }, 14273(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), 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 { + const n2 = i2(31635), o = i2(54708), r = 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, d.createBargeInManagedProperty)(8, _.speechToText.recognitionParams.speechRecognitionParameters)]; + } constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + super(e3), this._loadModel(t3), this.question.options.setBuilderLanguagesSequenceConfig(o.askForBooleanSequences.questionSequence), this.parentFlow.isDigitalBotFlow ? (this.noInput.options.setBuilderLanguagesSequenceConfig(o.askForBooleanSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(o.askForBooleanSequences.noMatchDigitalBotSequence)) : (this.noInput.options.setBuilderLanguagesSequenceConfig(o.askForBooleanSequences.noInputSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(o.askForBooleanSequences.noMatchSequence)); } - get amObjectEventSink() { + get supportsCustomOutputPaths() { return true; } - _preDestroy() { - super._preDestroy(), this.model.pathReference && a.removeBranchConsumer(this.topParent.id, this.model.pathReference, this); + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(p(this.parentFlow.defaultLanguage).askForBoolean.question), this.parentFlow.isDigitalBotFlow ? (this.setNewInstanceNoInputText(p(this.parentFlow.defaultLanguage).askForBoolean.noInputDigitalBot), this.setNewInstanceNoMatchText(p(this.parentFlow.defaultLanguage).askForBoolean.noMatchDigitalBot)) : (this.setNewInstanceNoInputText(p(this.parentFlow.defaultLanguage).askForBoolean.noInput), this.setNewInstanceNoMatchText(p(this.parentFlow.defaultLanguage).askForBoolean.noMatch)), this.setBranchOutOfService(r.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(r.default.maxNoMatchesOptional.outputId); } - _getParentTaskDefaultBranch() { - return this.topParent.getBranches().find((e3) => e3.outputId === m.outputIds.default); + static get branchInfo() { + return a.isFeatureAvailable(s.default.botFlowsEnhancedRecognitionFailureHandling) ? [...r.default.yesNo, r.default.maxNoInputsOptional, r.default.maxNoMatchesOptional] : [...r.default.yesNo, r.default.maxNoInputsOptional]; } - getDetails() { - return this.pathName ? new c.ActionDetails([y.task.path], [this.pathName]) : null; + } + 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; + }, 11332(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(17604), r = 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(97891), T = i2(1910), y = i2(1910), S = i2(1910), A = n2.__importDefault(i2(80570)), N = i2(95443), v = i2(20083), I = n2.__importDefault(i2(4648)), C = i2(80428), O = i2(14187), b = i2(38551), E = i2(69453), w = i2(50474), R = i2(50474), D = i2(50474), P = i2(21733), M = i2(47957); + function F(e3) { + return (0, R.isNonArrayObject)(e3); + } + function L(e3) { + return (0, R.isNonArrayObject)(e3); + } + class x extends A.default { + constructor(e3, t3) { + super(e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), d.isFeatureAvailable(I.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(I.default.botFlowsAdvancedKnowledgeHandling) && this.addAutoCleanedUpEventListener(c.branchesChanged, () => { + this.setKnowledgeSearchResultOutOfService(); + }), this.sortBranches(); } - get _isInCommonModuleTask() { - return this.topParent.isCommonModuleTaskViewModel; + static get managedProperties() { + return [{ property: "knowledgeSearchResult", label: M.cardsAndCars.knowledgeSearchResultLabel, type: C.expressionTypeNames.knowledgeBaseDocument, options: v.ExpressionTypeKnowledgeBaseDocumentOptions.create((e3) => e3.setAsOutput().setDefaultVariableScope(O.scopes.flow).setIsOptional(true).setDefaultToVariable(true).setIsCollection(true).setIninTestingField("knowledgeSearchResult").setDescriptionInfo(M.cardsAndCars.knowledgeSearchResultLabel, d.isFeatureAvailable(I.default.botFlowsAnswerGenerationMultipleArticles) ? M.cardsAndCars.knowledgeSearchResultDescriptionMultipleArticles : M.cardsAndCars.knowledgeSearchResultDescription).setFeatureConfigName(I.default.botFlowsAdvancedKnowledgeHandling).setUiPropertyOrder(15)), yamlOptions: x.createYamlOptions("knowledgeSearchResult", (e3) => e3.setExportOrder(51)) }, (0, N.createBargeInManagedProperty)(8, M.speechToText.recognitionParams.speechRecognitionParameters)]; } - _initializeDesignTime() { - if (this._isInCommonModuleTask && (this.pathReference || this.pathName)) this.pathReference = void 0, this.pathName = void 0; - else if (!this.pathName && this.pathReference === m.outputIds.default) { - const e3 = this._getParentTaskDefaultBranch(); - this.linkPath(e3); - } - super._initializeDesignTime(); + static get branchInfo() { + return [l.default.noIntentOptional, l.default.knowledgeOptional, l.default.maxNoInputsOptional]; } - initialize() { - 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); + isOptionalPathAvailable(e3) { + var t3, i3; + return e3.branchInfo.outputId !== l.default.knowledgeOptional.outputId || !!(null === (t3 = e3.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledge.idValue) || !!(null === (i3 = e3.parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.knowledge_v3.idValue); } - get isEndTask() { + get supportsCustomOutputPaths() { return true; } - linkPath(e3) { - this.pathReference = e3.outputId, this.pathName = e3.label; - } - objEvent_outputBranchRemoved(e3, t3) { - t3 === this.pathReference && (this.pathReference = null); + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(P(this.parentFlow.defaultLanguage).askForIntent.question), this.setNewInstanceNoMatchText(P(this.parentFlow.defaultLanguage).askForIntent.noMatch), this.parentFlow.isDigitalBotFlow ? this.setNewInstanceNoInputText(P(this.parentFlow.defaultLanguage).askForIntent.noInputDigitalBot) : this.setNewInstanceNoInputText(P(this.parentFlow.defaultLanguage).askForIntent.noInput), this.setBranchOutOfService(l.default.noIntentOptional.outputId), this.setBranchOutOfService(l.default.knowledgeOptional.outputId), this.setBranchOutOfService(l.default.maxNoInputsOptional.outputId); } - get pathName() { - return this.model.pathName; + addBranchForIntent(e3) { + let t3 = this.branches.find((t4) => t4.label === e3); + if (!t3) { + const i3 = u.createBranchItem(this.id, e3, null, true); + i3.isDynamicBranch = true, t3 = this.addOptionalBranchInfo(i3), this.sortBranches(); + } + return t3; } - set pathName(e3) { - this._isInCommonModuleTask && e3 && (h.error("this action does not support output paths"), e3 = void 0), this.model.pathName = e3; + createBranchesForAllNLUIntents() { + const e3 = []; + try { + this.getIntents().forEach((t3) => { + const i3 = this.addBranchForIntent(t3.name); + e3.push({ intent: t3, branchItem: i3 }); + }); + } catch (e4) { + this.topic.exception(e4, "failure during createBranchesForAllNLUIntents"); + } + return e3; } - get pathReference() { - return this.model.pathReference; + getIntents() { + var e3; + return (null === (e3 = this.parentFlow.botFlowSettings.nluDomain) || void 0 === e3 ? void 0 : e3.intents) || []; } - 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)(y.task.outputPathForTask, this.topParent.name)), this.initializeDesignTimeCalled && l.validateAction(this)); + get supportsNLUIntents() { + return true; } - _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)); - } - } })); - } - } + switchToNewIntentPaths(e3) { + p.switchToNewIntentPaths(this, e3); } - 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 }); + removeUnusedOutput(e3, t3) { + if (!this.getOptionalBranchInfo(this.id)) return; + const i3 = this.parentFlow.botFlowSettings.nluDomain; + i3 && r.default.findIndex(i3.intents, { name: t3.label }) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); } - search(e3) { - super.search(e3), this.pathName && e3.checkText(this, this.pathName, y.task.path); + updateIntentPaths() { + const e3 = this.parentFlow.botFlowSettings.nluDomain; + if (!e3) return; + const t3 = p.translateIntentsToBranchItems(this, e3.intents); + this.switchToNewIntentPaths(t3); } 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)(y.expression.literalDropDownValueDoesNotExist, y.task.path, this.pathName)) : e3.addError(this, y.task.invalidBranchReference)) : e3.addError(this, y.task.noPathReference)); - } - } - 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 = S; - }, 27314: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DateTimeType = void 0; - 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); + var t3, i3; + super.validate(e3); + const n3 = this.parentFlow.botFlowSettings.nluDomain; + if (e3.isDeep && !this.isReadOnly && n3 && this.updateIntentPaths(), this.isDisabled) return; + s.default.currentUserCanUseKnowledge ? r.default.find(this.branches, (e4) => (e4.isDynamicBranch || e4.id === _.outputIds.knowledge) && !e4.isDisabled) || e3.addError(this, (0, o.sprintf)(M.askForIntent.mustEnableOneNluIntentOrKnowledge, M.generic.branches.knowledgeDialogEngine)) : this.getIntents().length ? r.default.find(this.branches, (e4) => e4.isDynamicBranch && !e4.isDisabled) || e3.addError(this, M.askForIntent.mustEnableOneNluIntent) : e3.addError(this, M.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 !== b.KnowledgeVersionValues.v2 ? (null === (i3 = this.parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.hasKnowledgeSettingConfigured) || this.parentFlow.knowledgeSettings.knowledgeVersion.text !== b.KnowledgeVersionValues.v3 || e3.addError(this, (0, o.sprintf)(M.askForIntent.knowledgeSettingMustBeSelectedWhenKnowledgePathEnabled, M.knowledgeSettings.knowledgeSetting)) : e3.addError(this, (0, o.sprintf)(M.askForIntent.knowledgeBaseMustBeSelectedWhenKnowledgePathEnabled, M.knowledgeSettings.knowledgeBase))); } - get className() { - return "DateTimeType"; + _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 !== S.ModelFormat.FlowYaml && t3 !== S.ModelFormat.ChangeSet) return; + const n3 = e3.outputs; + if (!(0, T.isConfigureFromModelRecord)(n3)) return; + const s2 = n3.intents; + if (!(0, w.isArray)(s2)) return; + const l2 = []; + for (let e4 = 0; e4 < s2.length; e4++) { + const t4 = s2[e4]; + if (!F(t4)) continue; + if (!L(t4.intent)) continue; + const n4 = t4.intent; + if (!(0, D.isString)(n4.name) || !n4.name) { + i3.warn((0, o.sprintf)(E.configureFromModel.intentMissingName, e4, this.name || this.className)); + continue; + } + const a3 = n4.name, u2 = r.default.isBoolean(n4.enabled) ? n4.enabled : void 0, c2 = (0, w.isArray)(n4.actions); + if (false === u2 && !this._intentExistsOnNluDomain(a3)) { + i3.warn((0, o.sprintf)(E.configureFromModel.intentNotDefinedOnNluDomain, a3)); + continue; + } + l2.push(a3.toLowerCase()); + const d2 = {}, p2 = null != u2 ? u2 : !!c2 || void 0; + if (r.default.isBoolean(p2) && (d2.enabled = p2), c2) { + const t5 = (0, y.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)); + } + }); } - createExpressionOptionClass() { - return new s.ExpressionTypeDateTimeOptions(this.isCollection); + _claimsNestedOutputKey(e3) { + return "intents" === e3 || super._claimsNestedOutputKey(e3); } - convertLitToExpression(e3, t3) { - const i3 = this.getParsedDate(t3, null, false); - 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; + _intentExistsOnNluDomain(e3) { + return this.getIntents().some((t3) => t3.name === e3); } - _getLiteralValueOfExpression() { - return ""; + processKnowledgeBaseChanged() { + this.updateKnowledgePath(), h.validateAction(this, true, true); } - getYamlObjectForLiteralSingleton(e3) { - super.getYamlObjectForLiteralSingleton.apply(this, arguments); - const t3 = this.getParsedDate(e3.text, e3, true); - return { year: t3.year, month: t3.month, day: t3.date, hour: t3.hours, minute: t3.minutes, second: t3.seconds }; + updateKnowledgePath() { + this.parentFlow.isReadOnly; } - searchExpression(e3, t3) { - const i3 = r2.default.utc(t3.text); - if (t3.isLiteralMode && i3) { - let n3 = i3.hours(); - const r3 = n3 >= 12 ? "PM" : "AM"; - n3 = n3 > 12 ? n3 - 12 : n3; - 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); + setKnowledgeSearchResultOutOfService() { + const e3 = this.getBranch(l.default.knowledgeOptional.outputId); + this.knowledgeSearchResult.outOfService = e3.outOfService && true; } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - return `"${i3 || t3 || ""}"`; + _destroy() { + super._destroy(); } - 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); - } + _initializeDesignTime() { + var e3, t3; + 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(); } } - t2.DateTimeType = p, p.typeIdentifier = d.expressionTypeNames.dateTime; - }, 27341: (e2, t2, i2) => { + x.info = g.default.createActionInfo({ actionClass: x, canBeInTask: true, canBeTreeNode: false, navigatorAvailability: f.navigatorAvailability.disallowed, helpTopic: m.helpTopics.actions.askForNLUIntent, modelClass: i2(51350), name: M.actions.askForIntent, scriptingName: "ArchActionAskForIntent", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: I.default.changeSetsFeaturePhase2 } } }), t2.A = x; + }, 45626(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GENERETIVE_AI_TYPE = void 0, t2.switchToNewIntentPaths = function(e3, t3, i3) { - let n3; - t3.forEach((t4) => { - n3 = e3.getBranch(t4.outputId), n3 ? (n3.model.label = t4.label, n3.outOfService || n3.enableFull()) : (n3 = e3.addOptionalBranchInfo(t4), o.default.isFunction(i3) && i3(n3)); - }); - const r3 = o.default.reject(e3.branchInfoList, (e4) => !e4.isDynamicBranch); - o.default.filter(r3, (e4) => !o.default.findWhere(t3, { outputId: e4.outputId })).forEach((t4) => { - n3 = e3.getBranch(t4.outputId), n3 && n3.hasChildren ? n3.isUnreachable = true : e3.removeOptionalBranchInfoById(t4.outputId); - }), e3.sortBranches(); - }, t2.translateEmailIntentsToBranchItems = function(e3, t3) { - return t3.map((t4) => r2.createBranchItemDynamic(e3.id, t4.name, null, true, t4.id)); - }; - const n2 = i2(31635), r2 = n2.__importStar(i2(59288)), o = n2.__importDefault(i2(92140)); - t2.GENERETIVE_AI_TYPE = "GenerativeAI"; - }, 27359: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(76768), o = i2(31178), { menuActionActionType: a } = i2(30801), { taskActionActionType: s } = i2(30801), { uuid: l } = i2(9456); - function u() { - Object.defineProperties(this, { _action: { writable: true }, _digit: { writable: true } }), this.globalDtmf = void 0, this.globalSpeech = void 0, this.speechRecTerms = void 0, u.baseConstructor.apply(this, arguments), this.id || (this.id = l()); - } - r2.extend(u, "MenuChoice"), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { - u._super.pasteReIdOrRename.apply(this, arguments), this.action.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - if (u._super.pasteResolveOldToNewValues.apply(this, arguments), this.action.pasteResolveOldToNewValues(e3), this.action) switch (this.action.__type) { - case a: - this.name = e3.pasteResolveOldMenuNameToNewMenuName(this.name); - break; - case s: - this.name = e3.pasteResolveOldTaskNameToNewTaskName(this.name); + const n2 = i2(31635), o = i2(25653), r = i2(80428), a = i2(78513), s = n2.__importDefault(i2(27203)), l = i2(12179), u = n2.__importDefault(i2(97891)), c = i2(97891), d = n2.__importDefault(i2(80570)), p = n2.__importDefault(i2(4648)), _ = i2(21733), h = i2(47957); + i2(84111); + class m extends d.default { + constructor(e3, t3) { + super(e3), this._loadModel(t3), this.question.options.setBuilderLanguagesSequenceConfig(o.askForNextSlotSequences.questionSequence), this.parentFlow.isDigitalBotFlow ? (this.noInput.options.setBuilderLanguagesSequenceConfig(o.askForNextSlotSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(o.askForNextSlotSequences.noMatchDigitalBotSequence)) : (this.noInput.options.setBuilderLanguagesSequenceConfig(o.askForNextSlotSequences.noInputSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(o.askForNextSlotSequences.noMatchSequence)); } - } }, action: { enumerable: true, get: function() { - return this._action; - }, set: function(e3) { - this._action = this.reviveItem(e3, n2); - } }, digit: { enumerable: true, get: function() { - return this._digit; - }, set: function(e3) { - this._digit = this.reviveEnum(e3, o); - } } }), e2.exports = u; - }, 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), 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) { - super(e3, t3, i3); + get isAskForNextIntentLoopAction() { + return true; } - get className() { - return "LineItemType"; + static get branchInfo() { + return [s.default.loop]; } - canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeLineItem", e3, [c.globalTypes.string, c.globalTypes.currency]); + static get managedProperties() { + return [{ label: h.loop.indexDataName, options: a.ExpressionTypeIntegerOptions.create((e3) => e3.setAllowSecure(true).setAsOutput().setIsOptional(true).setModeNoValueRuntimeEvaluationStr(h.loopUntil.noLoopIndexVariableSpecified).setUiPropertyOrder(1).setIninTestingField("currentLoopIndex")), property: "currentIndex", type: r.expressionTypeNames.integer }]; } - convertLitToExpression(e3, t3, i3, n3) { - var r3, a2; - return n3 && this.canConvertLitToExpression(e3) ? `MakeLineItem(${(null === (r3 = n3.type.getPropListingName(n3)) || void 0 === r3 ? void 0 : r3.getEmbeddableExpressionText()) || o.default.notSet}, ${(null === (a2 = n3.type.getPropListingPrice(n3)) || void 0 === a2 ? void 0 : a2.getEmbeddableExpressionText()) || o.default.notSet})` : ""; + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3), this.setNewInstanceQuestionText(_(this.parentFlow.defaultLanguage).askForNextSlot.question), this.parentFlow.isDigitalBotFlow ? (this.setNewInstanceNoInputText(_(this.parentFlow.defaultLanguage).askForNextSlot.noInputDigitalBot), this.setNewInstanceNoMatchText(_(this.parentFlow.defaultLanguage).askForNextSlot.noMatchDigitalBot)) : (this.setNewInstanceNoInputText(_(this.parentFlow.defaultLanguage).askForNextSlot.noInput), this.setNewInstanceNoMatchText(_(this.parentFlow.defaultLanguage).askForNextSlot.noMatch)); } - _getLiteralValueOfExpression() { - return ""; + } + m.info = u.default.createActionInfo({ actionClass: m, canBeInTask: true, canBeTreeNode: false, navigatorAvailability: c.navigatorAvailability.disallowed, helpTopic: l.helpTopics.actions.askForNextIntentLoop, modelClass: i2(13818), name: h.actions.askForNLUNextIntentAction, scriptingName: "ArchActionLoopAnythingElse", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: p.default.changeSetsFeaturePhase2 } } }), t2.A = m; + }, 9687(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importStar(i2(30879)), r = 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), I = n2.__importStar(i2(30065)), C = i2(12179), O = 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(r.askForPaymentSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(r.askForPaymentSequences.noMatchDigitalBotSequence); } - createExpressionOptionClass() { - return new l.ExpressionTypeLineItemOptions(this.isCollection); + static get managedProperties() { + 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(o.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(I.applePay.id).setUiPropertyOrder(4).setAllowModeLiteralOnly().facets.setAllowableValueShowOriginalDisplayStringInPopover(true).setAllowableValues(I.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(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(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 }]; } - get supportsLiteralEditor() { - return true; + 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(() => { + (0, A.validateAction)(this, false, true); + })), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.listOrderChanged, this.lineItems).subscribe(() => this._updateCurrency())), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.listOrderChanged, this.shippingOptions).subscribe(() => { + this._updateCurrency(), (0, A.validateAction)(this, false, true); + })), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.shippingOptions).subscribe(() => (0, A.validateAction)(this, false, true))), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.lineItems).subscribe(() => (0, A.validateAction)(this, false, true))), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.shippingOptions).subscribe(() => (0, A.validateAction)(this, false, true))), this.addAutoCleanedUpSubscription((0, S.createObservableForEvent$)(y.expressionValueChanged, this.totalPrice).subscribe(() => (0, A.validateAction)(this, false, true))); } - getPropListingName(e3) { - return e3.getProperty(t2.PROP_LISTING_NAME); + get supportsCustomOutputPaths() { + return true; } - getPropListingPrice(e3) { - return e3.getProperty(t2.PROP_LISTING_PRICE); + get hasOptionalPaths() { + return true; } - configurePropertyCreationParams(e3, i3, n3) { - 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(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(d.askForPayment.askForPaymentListingPrice, d.askForPayment.askForPaymentListingPriceDesc), n3.options.facets.setMinValInclusive(true).setMinDec(-1e9).setMaxValInclusive(true).setMaxDec(1e9).setDecimalPlaces(3); - } + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3); + const t3 = P(this.parentFlow.defaultLanguage).askForPayment.noInputDigitalBot; + this.setNewInstanceNoInputText(t3); + const i3 = P(this.parentFlow.defaultLanguage).askForPayment.noMatchDigitalBot; + this.setNewInstanceNoMatchText(i3), this.setBranchOutOfService(f.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(f.default.maxNoMatchesOptional.outputId); } - get hasRichLiteralEditor() { - return true; + static get branchInfo() { + return [...f.default.successFailure, f.default.maxNoInputsOptional, f.default.maxNoMatchesOptional]; } - } - t2.LineItemType = p, p.typeIdentifier = u.expressionTypeNames.lineItem; - }, 27368: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _updateCurrency() { + var e3, t3, i3, n3; + this.totalPrice.isLiteralMode && this._setPriceText(this.totalPrice), (null === (t3 = null === (e3 = this.lineItems) || void 0 === e3 ? void 0 : e3.collectionItems) || void 0 === t3 ? void 0 : t3.length) > 0 && this.lineItems.collectionItems.items.forEach((e4) => { + if (e4.isLiteralMode) { + const t4 = e4.type.getPropListingPrice(e4); + this._setPriceText(t4); + } + }), (null === (n3 = null === (i3 = this.shippingOptions) || void 0 === i3 ? void 0 : i3.collectionItems) || void 0 === n3 ? void 0 : n3.length) > 0 && this.shippingOptions.collectionItems.items.forEach((e4) => { + if (e4.isLiteralMode) { + const t4 = e4.type.getPropPrice(e4); + this._setPriceText(t4); + } + }); } - get _globalTypeName() { - return "journeySessionOutcomeAchievement"; + _setPriceText(e3) { + const t3 = e3.text ? e3.text.split("|")[0] : 0; + e3.setText(t3 + "|" + this.currency.text); } - get id() { + _validateCurrencyConsistency(e3) { + 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 D.askForPayment.askForPaymentCurrencyMismatch; + } } - get achievedDate() { + _getCurrencyCodeFromExpression(e3) { + if (!(null == e3 ? void 0 : e3.text)) return null; + const t3 = e3.text.split("|"); + return 2 === t3.length ? t3[1] : null; } - get displayTypeName() { - return "ArchValueJourneySessionOutcomeAchievement"; + _validateContactInformationConsistency(e3) { + var t3, i3; + const n3 = null === (i3 = null === (t3 = this.requiredContactInformation) || void 0 === t3 ? void 0 : t3.collectionItems) || void 0 === i3 ? void 0 : i3.items; + 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 D.askForPayment.askForPaymentDuplicateContactInformationTypes; + } } - get isArchValueJourneySessionOutcomeAchievement() { - return true; + _validateShippingOptionIdentifierConsistency(e3) { + var t3, i3; + if (e3.isLiteralMode) { + const n3 = e3.type.getPropIdentifier(e3).text, o2 = null === (i3 = null === (t3 = this.shippingOptions) || void 0 === t3 ? void 0 : t3.collectionItems) || void 0 === i3 ? void 0 : i3.items; + if (o2 && n3) { + let e4 = 0; + for (const t4 of o2) if (t4.isLiteralMode && t4.type.getPropIdentifier(t4).text === n3 && (e4++, e4 > 1)) return D.askForPayment.askForPaymentDuplicateIdentifiers; + } + } } } - t2.default = r2; - }, 27377: (e2, t2, i2) => { + M.info = O.default.createActionInfo({ actionClass: M, canBeInTask: true, helpTopic: C.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; + }, 60873(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(68460)), s = i2(99472), l = o.getTopic("BaseWorkbenchSettingsNode"); - class u extends a.default { - constructor() { - super(...arguments), this.labelBadge = s.aiPoweredBadgeWithNoText; + var n2, o, r, a, s; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isAskForSlotActionViewModel = function(e3) { + return null == e3 ? void 0 : e3.isAskForSlotActionViewModel; + }; + 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)), I = i2(53476), C = i2(53476), O = 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)), q = l.__importStar(i2(10798)), W = 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), oe = i2(47957), re = "2.1"; + class ae extends X.default { + static get branchInfo() { + const e3 = [k.default.default, k.default.maxNoInputsOptional]; + return q.isFeatureAvailable(H.default.botFlowsEnhancedRecognitionFailureHandling) && e3.push(k.default.maxNoMatchesOptional), q.isFeatureAvailable(H.default.botFlowsSupportDontKnowAnswers) && e3.push(k.default.skipResponseCaptureOptional), e3; } - get isWorkbenchSettingsNode() { + isOptionalPathAvailable(e3) { return true; } - get virtualAgentEnabled() { - var e3; - return null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled; + get supportsCustomOutputPaths() { + return true; } - validate(e3) { - var t3; - const i3 = r2.default.where(null === (t3 = this.parentFlow.nluMetaData.currentWorkbenchMessage) || void 0 === t3 ? void 0 : t3.validationResults, { archNode: this.workbenchArchNodeName }); - r2.default.each(i3, (e4) => { - if (r2.default.isString(e4.message)) if ("error" === e4.type) this.parentFlow.validationResults.addError(this, e4.message); - else { - if ("warn" !== e4.type) return "info" === e4.type ? void l.error(`Validation result for ${this.className} had info type but info isn't supported yet. Object: '${e4}`) : void l.error(`Validation result for ${this.className} had unrecognized type '${e4.type}'. Object: '${e4}`); - this.parentFlow.validationResults.addWarning(this, e4.message); - } - else l.error(`Validation result for ${this.className} had no message. Object: '${e4}`); - }); + getYamlOptionsMap() { + const e3 = super.getYamlOptionsMap(); + return this._doesSelectedSlotTypeSupportChooser || (e3.chooser = x.default.create(void 0, (e4) => e4.setSkipProperty(true))), e3; } - } - t2.default = u; - }, 27381: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + static get managedProperties() { + return [{ label: oe.askForSlot.slotResult, options: M.ExpressionTypelessOptions.create((e3) => e3.setIninTestingField("askResult").setAsOutput().setUiPropertyOrder(12).setDescriptionInfo(oe.askForSlot.slotResult, oe.askForSlot.slotResultDescription).setReadOnly(true)), yamlOptions: ae.createYamlOptions("askResult", (e3) => e3.setSkipProperty(true)), property: "askResult", type: N.expressionTypeNames.any }, { property: "chooser", label: oe.cardsAndCars.askForSlotChooserLabel, type: N.expressionTypeNames.chooser, supportedFlowTypes: [u.flowTypes.flowTypeDigitalBot], options: E.ExpressionTypeChooserOptions.create((e3) => e3.setUiPropertyOrder(10).setDescriptionInfo(oe.cardsAndCars.askForSlotChooserLabel, oe.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: oe.askCommon.customValidation.label, options: b.ExpressionTypeBooleanOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("customValidation").setUiPropertyOrder(13).setDescriptionInfo(oe.askCommon.customValidation.label, oe.askCommon.customValidation.description).setUiPropertyGroup(oe.generic.validation).setIsOptional(true).setAllowModeLiteral(false).setModeNoValueRuntimeEvaluationStr(oe.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: oe.askForSlot.confirmationMode, options: F.ExpressionTypeStringOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(oe.askForSlot.confirmationMode, (0, d.sprintf)(oe.askForSlot.confirmationModeDescription, B.always.id, oe.generic.validation, oe.askForSlot.confirmationQuestion)).setIninTestingField("confirmationModeExpression").setUiPropertyGroup(oe.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(oe.askForSlot.confirmationModeUnavailableNote, "info", "confirmation-note"), options: M.ExpressionTypelessOptions.create((e3) => e3.setUiPropertyGroup(oe.askForSlot.verifyGroupingLabel).setUiSingleItemSectionPropertyGroup(true)), property: "confirmationModeNote" }, { label: oe.askForSlot.confirmationQuestion, options: w.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setDescriptionInfo(oe.askForSlot.confirmationQuestion, oe.askForSlot.confirmationQuestionDescription).setIninTestingField("confirmationQuestionExpression").setUiPropertyGroup(oe.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(oe.askForSlot.confirmationQuestion, oe.askForSlot.confirmationQuestionDescription).setIninTestingField("confirmationQuestionExpression").setUiPropertyGroup(oe.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: oe.grammars.grammarLabel, options: P.ExpressionTypeGrammarOptions.create((e3) => e3.setDescriptionInfo(oe.grammars.grammarLabel, oe.grammars.grammarSlots.grammarSlotDescriptionInfo).setModeNoValueRuntimeEvaluationStr(oe.grammars.grammarSlots.useSlotConfigDescription).setModeNoValueSelectionLabel(oe.grammars.grammarSlots.useSlotConfigLabel).setIninTestingField("grammar").setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setIsOptional(true).setUiPropertyGroup(oe.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: oe.speechToText.speechToTextEngineLabel, options: L.ManagedPropertyOptions.create((e3) => e3.setDropdownPlaceholder(oe.grammars.grammarSlots.useSlotConfigDescription).setDescriptionInfo(oe.speechToText.speechToTextEngineLabel, oe.speechToText.speechToTextEngineForSlotDescriptionInfo).setIninTestingField("speechToTextEngine").setUiPropertyGroup(oe.speechToText.recognitionParams.speechRecognitionParameters).setUiPropertyOrder(16)), createDetails: K.NetworkBasedActionProperty.createCreateDetails("speechToTextEngineId", "speechToTextEngineName", U.speechToTextEngineManager, null, oe.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: oe.speechToText.recognitionParams.speechToTextCompleteTimeoutLabel, options: D.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("speechToTextEngineCompleteTimeout").setDescriptionInfo(oe.speechToText.recognitionParams.speechToTextCompleteTimeoutLabel, oe.speechToText.recognitionParams.speechToTextCompleteTimeoutDescription).setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setUiPropertyOrder(18).setIsOptional(true).setUiPropertyGroup(oe.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: oe.speechToText.recognitionParams.speechToTextConfidenceLevelLabel, options: R.ExpressionTypeDecimalOptions.create((e3) => e3.setIninTestingField("speechToTextEngineConfidenceLevel").setDescriptionInfo(oe.speechToText.recognitionParams.speechToTextConfidenceLevelLabel, oe.speechToText.recognitionParams.speechToTextConfidenceLevelDescription).setFeatureConfigName(H.default.orgAvailabilitySttEnginesGrammarBased).setUiPropertyOrder(19).setIsOptional(true).setUiPropertyGroup(oe.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: oe.askForSlot.repromptHandling, options: F.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("repromptHandling").setUiPropertyGroup(oe.askForSlot.continuationPromptGroupingLabel).setUiSingleItemSectionPropertyGroup(true).setUiPropertyOrder(14).setAllowModeLiteralOnly().setIsOptional(false).setDefaultText(oe.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: oe.askForSlot.continuationPrompt, options: w.ExpressionTypeCommunicationOptions.create((e3) => e3.setAllowSecure(true).setIninTestingField("continuationPrompt").setIsOptional(true).setDefaultToNoValue(true).setDoNotTransitionToNoValue(false).setScriptingPropertyName("continuationPrompt").setUiPropertyGroup(oe.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(oe.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: oe.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(oe.askCommon.defaultContinuationPrompt, oe.askCommon.customizeContinuationPrompt).setUiPropertyGroup(oe.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, oe.speechToText.recognitionParams.speechRecognitionParameters)]; } - get _globalTypeName() { - return "workbin"; + constructor(e3, t3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.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, () => { + const e4 = this.getBranch(k.default.maxNoInputsOptional.outputId), t4 = this.getBranch(k.default.default.outputId); + let i3 = null, n3 = null; + q.isFeatureAvailable(H.default.botFlowsEnhancedRecognitionFailureHandling) && (i3 = this.getBranch(k.default.maxNoMatchesOptional.outputId)), q.isFeatureAvailable(H.default.botFlowsSupportDontKnowAnswers) && (n3 = this.getBranch(k.default.skipResponseCaptureOptional.outputId)), (!e4.outOfService || i3 && !i3.outOfService || n3 && !n3.outOfService) && t4.outOfService ? (t4.outOfService = false, j.emitter.emit(j.branchesChanged)) : !e4.outOfService || i3 && !i3.outOfService || n3 && !n3.outOfService || t4.outOfService || (t4.outOfService = true, j.emitter.emit(j.branchesChanged)), this._updateSkipCapture(); + }), this.parentFlow.supportsGrammars && this.addAutoCleanedUpEventSinkWatch(j.valueChanged, this.speechToTextEngine, () => { + this._updateSpeechRecognitionSettings(); + }), j.emitter.on(j.rangeValueSelected, (e4) => { + this.selectedSlotType === e4.slotTypeName && this.confirmationMode && this.confirmationMode.text !== B.always.id && this.confirmationMode.setAsLiteral(B.always.id); + }); } - get id() { + _setOptions(e3, t3) { + const i3 = t3.flowTypeOverrides[this.parentFlow.type] || t3; + e3.options.setDefaultToBuilderId(i3.builderId).setBuilderLanguagesSequenceConfig(t3); } - get name() { + get hasMultiSelectSlot() { + return this.selectedSlot && l.__classPrivateFieldGet(this, s, "f"); } - get divisionId() { + get hasSingleSelectSlot() { + return this.selectedSlot && !l.__classPrivateFieldGet(this, s, "f"); } - get displayTypeName() { - return "ArchValueWorkbin"; + _updateHasMultiSelect() { + l.__classPrivateFieldSet(this, s, this.selectedSlot && this.parentFlow.nluMetaData.isMultiSelectSlot(this.selectedSlot), "f"); } - get isArchValueWorkbin() { - return true; + get selectedSlot() { + return this.model.selectedSlot; } - } - t2.default = r2; - }, 27395: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(42660); - function o() { - } - o.prototype.getContactListsDivisionViews = function(e3) { - const t3 = r2.getContactListsDivisionViews, i3 = n2.build(t3); - return e3.sortOrder = void 0, i3.queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getContactList = function(e3) { - return n2.build(r2.getContactList).templateParams({ id: e3 }).call(); - }, o.prototype.getContactList.api = r2.getContactList, e2.exports = new o(); - }, 27450: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(82149), o = i2(90807), a = i2(7401), { nuanceMixActionType: s } = i2(30801); - function l() { - Object.defineProperties(this, { _channelId: { writable: true }, _botVariables: { writable: true } }), this.botId = void 0, this.botName = void 0, this.botIntegrationId = void 0, this.botIntegrationName = void 0, l.baseConstructor.apply(this, arguments); - } - r2.extend(l, s, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { - if (l._super.pasteReIdOrRename.apply(this, arguments), n2.isArray(this.variables)) for (let t3 = 0; t3 < this.variables.length; t3++) this.botVariables[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - if (l._super.pasteResolveOldToNewValues.apply(this, arguments), n2.isArray(this.variables)) for (let t3 = 0; t3 < this.variables.length; t3++) this.botVariables[t3].pasteResolveOldToNewValues(e3); - } }, botVariables: { enumerable: true, get: function() { - return this._botVariables; - }, set: function(e3) { - this._botVariables = this.reviveArray(e3, o); - } }, channelId: { enumerable: true, get: function() { - return this._channelId; - }, set: function(e3) { - this._channelId = this.reviveItem(e3, a); - } } }), e2.exports = l; - }, 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)), 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) => { - const t3 = o.default.find(e3, function(e4) { - return e4["en-us"]; - }); - this.startupConnectedAndReady(t3); - }); + getFlowInfoSpecAnnotation() { + return this.selectedSlot ? `-> writes Slot.${this.selectedSlot}` : void 0; } - _doOperandsMatchRegisteredOperands(e3, t3) { - if (t3.length < e3.length) return false; - if (t3.length > e3.length && (!e3.length || !o.default.last(e3).canAppearMoreThanOnce)) return false; - const i3 = t3.length, n3 = e3.length; - let r3; - for (let o2 = 0; o2 < i3; o2++) if (r3 = o2 >= n3 ? n3 - 1 : o2, !e3[r3].isExpressionMatch(t3[o2])) return false; + get isAskForSlotActionViewModel() { return true; } - _errorStrWithFuncOpAndPosPrefix(e3, ...t3) { - const i3 = [arguments[1], (0, r2.sprintf)(b.expression.functions.funcOpPosPrefix, e3.getTextWithFuncOpTextFallback(), e3.position)]; - if (arguments.length > 2) for (let e4 = 2; e4 < arguments.length; e4++) i3.push(arguments[e4]); - return r2.sprintf.apply(null, i3); - } - _errorResult(e3, t3, i3) { - return g.createDataResult(false, null, e3, t3, i3); + get selectedSlotError() { + return l.__classPrivateFieldGet(this, n2, "f"); } - _evaluateRegisteredOverloadAudioSupport(e3, t3, i3, n3) { - var r3; - if (t3.runtimeSequencesSystemPrompts) for (let t4 = 0; t4 < i3.length; t4++) { - const r4 = i3[t4]; - if (!n3.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((e4) => r4.getSupportsAudioDataPlaybackForFlowType(e4))) return this._getRuntimePlaybackNotSupportedErrorResult(e3, r4); - } - if (t3.runtimeRequiresTTSSupport) { - const a2 = n3.runtimeConsumingFlowTypes; - if (null == a2 ? void 0 : a2.length) { - const i4 = o.default.difference(a2, o.default.values(t3.supportedFlowTypes)); - if (i4.length) return this._getTTSNotSupportedForFlowTypeErrorResult(e3, i4); - } - for (let t4 = 0; t4 < i3.length; t4++) { - const o2 = i3[t4]; - if (!o2) { - null === (r3 = null == n3 ? void 0 : n3.parentFlow) || void 0 === r3 || r3.topic.error(`null entry found at languages[${t4}] in _evaluateRegisteredOverloadAudioSupport`); - continue; - } - if (!n3.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((e4) => o2.getSupportsTTSPlaybackForFlowType(e4, n3.parentFlow))) return this._getTTSEngineNotSupportedErrorResult(e3, o2); - if (!o2.getSupportsTTSPlaybackForFlow(n3.parentFlow)) return this._getTTSEngineNotValidErrorResult(e3, o2); - const a3 = e3.getOperands(); - if (a3 && 1 === a3.length) { - const t5 = a3[0]; - if (t5.isLit && t5.type.isMatch(y.globalTypes.string, T.settings.exact)) { - const i4 = o2.getStringExceedsMaxRequestLengthError(n3.parentFlow, t5.text); - if (i4) return this._getGenericFuncOpError(e3, i4); - } - } - } - } + get selectedSlotErrorText() { + return l.__classPrivateFieldGet(this, o, "f"); } - _evaluateRegisteredOverloadLanguageFilter(e3, t3, i3) { - if (t3.supportedLanguageFilter) { - for (let n3 = 0; n3 < i3.length; n3++) if (!t3.supportedLanguageFilter[i3[n3].id]) return this._getOverloadNotSupportedForLanguageErrorResult(e3, i3[n3]); - } + get speechToTextEngineName() { + return l.__classPrivateFieldGet(this, r, "f"); } - _evaluateRegisteredOverloadRestrictions(e3, t3, i3, n3, r3) { - let o2; - if (n3) { - if (o2 = this._evaluateRegisteredOverloadAudioSupport(e3, t3, n3, r3), o2) return o2; - if (o2 = this._evaluateRegisteredOverloadLanguageFilter(e3, t3, n3), o2) return o2; - } - const a2 = t3.operands.length; - for (let n4 = 0; n4 < i3.length; n4++) { - const s2 = t3.operands[n4 >= a2 ? a2 - 1 : n4]; - if (o2 = this._evaluateRegisteredOperandRestrictions(e3, i3[n4], s2, r3), o2) return o2; - } + get speechToTextEngineId() { + return l.__classPrivateFieldGet(this, a, "f"); } - _evaluateRegisteredOperandRestrictions(e3, t3, i3, n3) { - var r3; - if (t3.isLit) { - if (void 0 !== i3.minLength && (null === (r3 = t3.text) || void 0 === r3 ? void 0 : r3.length) < i3.minLength) return this._getLiteralLessThanMinLength(e3, t3, i3); - if (i3.literalValidatorName) { - const r4 = this._validateLiteralWithProvider(i3.literalValidatorName, t3, n3); - if (r4.parameterErrorStr) return r4.parameterErrorStrIsFullSentence ? this._getLiteralNotValidResult(e3, t3, i3, r4.parameterErrorStr) : this._getLiteralNotInProviderResult(e3, t3, i3, r4.parameterErrorStr); - r4.providerFixedValue && (t3.text = r4.providerFixedValue); - } - } else if (i3.mustBeLiteral) return this._getParameterValueMustBeLiteral(e3, t3, i3); - if (i3.mustBeVariable) { - if (i3.mustBeVariableScope) { - if (!t3.getIsVariableRefWithScope(i3.mustBeVariableScope)) return this._getParameterValueMustBeVariableScope(e3, t3, i3); - } else if (!t3.isVariableRef) return this._getParameterValueMustBeVariable(e3, t3, i3); - } - if (i3.checkPromptTTSLength && t3.isPromptRef) { - const i4 = n3._getReferenceByName(t3.text); - if (i4 && i4.isPromptContainer) { - const t4 = i4.getTtsExceedsMaxLengthError(n3); - if (t4) return this._getGenericFuncOpError(e3, t4); - } - } - const o2 = parseFloat(t3.getText()); - return i3.checkMaxIntRestriction(o2) ? i3.checkMinIntRestriction(o2) ? i3.checkZeroRestriction(o2) ? void 0 : this._getZeroNotAllowedErrorResult(e3, t3, i3) : this._getLessThanMinErrorResult(e3, t3, i3) : this._getGreaterThanMaxErrorResult(e3, t3, i3); + get selectedSlotType() { + return this.model.selectedSlotType; } - evaluateRegisteredFuncOp(e3, t3, i3, n3, r3) { - let o2; - for (let a2 = 0; a2 < t3.overloads.length; a2++) { - const s2 = t3.overloads[a2]; - if (this._doOperandsMatchRegisteredOperands(s2.operands, i3)) return s2.isUnavailable ? this._getUnavailableOverloadErrorResult(e3, s2) : s2.hasRestrictions ? (o2 = this._evaluateRegisteredOverloadRestrictions(e3, s2, i3, n3, r3), o2 || this._result(s2)) : this._result(s2); - } + static createNoMatchProgressiveRepromptsOptions(e3) { + return w.ExpressionTypeCommunicationOptions.create((t3) => t3.setAllowSecure(true).setIninTestingField("continuationReprompts").setDescriptionInfo(oe.askCommon.continuationReprompts, (0, d.sprintf)(W.default.generic.twoStringsSpaceSeparator, oe.askCommon.continuationRepromptsDescription, oe.errors.emptyCollectionInvokesErrorHandling)).setIsOptional(true).setRequiredFlowChannelType(V.channelTypeCall).setUiPropertyGroup(oe.askForSlot.continuationPromptGroupingLabel).setScriptingPropertyName("continuationReprompts").setIsCollection(true).setAllowModeLiteral(true).setMaxItems(10).setDoNotTransitionToNoValue(true).setDefaultToBuilderId(e3).setFeatureConfigName(H.default.botFlowsAIPoweredSlotsEnhancements).setUiPropertyOrder(27), true); } - _getFuncOpForText(e3) { - return e3 ? this.expressionFuncOpsByText["_" + e3.toLowerCase()] : null; + 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); } - _getFuncOpForIdentifier(e3) { - if (!e3) return null; - const t3 = this.expressionFuncOpsById[e3]; - return t3 || "toUser" !== e3 ? t3 : this.expressionFuncOpsById.toUserQueue; + _initializeDesignTime() { + super._initializeDesignTime(), this.isChooserFunctionalityAvailable && this.chooser.isNoValueMode && this.chooser.setModeWithTransition(A.literal), this.isChooserFunctionalityAvailable && this.uiMetaData.version !== re && (!this.chooser.type.getPresentationModeIsCarousel(this.chooser) && this.chooser.isLiteralMode && this.chooser.type.configureForSlotBySlotName(this.chooser, this.selectedSlot), this.uiMetaData.version = re, 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(); } - _getGenericFuncOpError(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.genericFunctionErrorTemplate, t3), e3.position, e3.getTextWithFuncOpTextFallback()); + setOutOfService() { + 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(); } - _getGreaterThanMaxErrorResult(e3, t3, i3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueGreaterThanMax, t3.getText(), i3.name, t3.position, i3.max), t3.position, e3.getTextWithFuncOpTextFallback()); + _showChooserLabelAndModeSelector(e3) { + this.chooser.label = e3 ? oe.cardsAndCars.askForSlotChooserLabel : void 0; } - _getLessThanMinErrorResult(e3, t3, i3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueLessThanMin, t3.getText(), i3.name, t3.position, i3.min), t3.position, e3.getTextWithFuncOpTextFallback()); + _updateSpeechRecognitionSettings() { + const e3 = ee.default.isSttIdBotTranscriptionConnectorType(this.speechToTextEngineId); + e3 ? (this.grammar.setAsNoValue(), this.grammar.options.setReadOnly(true)) : this.grammar.options.setReadOnly(false); + const t3 = !!this.speechToTextEngineId && !this.grammar.isNoValueMode, i3 = !this.speechToTextEngineId && this.grammar.isNoValueMode; + this._needsSpeechParamOverrideError = !t3 && !i3 && !e3, Y.validateAction(this, false, true); } - _getLiteralLessThanMinLength(e3, t3, i3) { - return 1 === i3.minLength ? this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterTextLengthLessThanMin, i3.name, t3.position), t3.position, e3.getTextWithFuncOpTextFallback()) : this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterTextLengthLessThanMinMoreThanOne, i3.name, t3.position, i3.minLength), t3.position, e3.getTextWithFuncOpTextFallback()); + get _doesSelectedSlotTypeSupportChooser() { + return this.isChooserFunctionalityAvailable && (this.chooser.type.isSelectedSlotTypeListOrDynamicList(this.chooser) || this.chooser.type.isSelectedSlotTypeDynamicDateTime(this.chooser)); } - _getLiteralNotInProviderResult(e3, t3, i3, n3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterLiteralValueNotInProvider, t3.getTextWithFuncOpTextFallback(), i3.name, t3.position, n3), t3.position, e3.getTextWithFuncOpTextFallback()); + _updateChooser() { + 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 = oe.cardsAndCars.noRichMediaSlotTypeNotList) : e3 = (0, d.sprintf)(oe.cardsAndCars.noRichMediaTooManyChoices, this.chooser.type.getMaxChoiceCountForPresentation(this.chooser)), this._updateSkipCapture()) : (t3 = true, e3 = oe.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); } - _getLiteralNotValidResult(e3, t3, i3, n3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterLiteralValueNotValid, t3.getTextWithFuncOpTextFallback(), i3.name, t3.position, n3), t3.position, e3.getTextWithFuncOpTextFallback()); + _updateNluInformation() { + this._updateAskResultProperty(), this._updateSelectedSlotType(), this._updateConfirmationQuestionProperty(false), this._updateHasMultiSelect(), this.setOutOfService(); } - _getNoOverloadErrorResult(e3, t3) { - 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 += d.default.itemListing.itemSeparator), i3 += e3[t4].getErrorDisplayText(); - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(t3, b.expression.functions.noOverloadMoreThanOneParm, i3), t3.position, t3.getTextWithFuncOpTextFallback()); + _updateSkipCapture() { + var e3, t3, i3, n3, o2, r2, a2, s2, l2; + if (!q.isFeatureAvailable(H.default.botFlowsSupportDontKnowAnswers)) 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, O.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; + c2 ? e4 = null === (o2 = 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 === o2 ? void 0 : o2.buttons : d2 && (e4 = null === (l2 = null === (s2 = null === (a2 = null === (r2 = this.chooser) || void 0 === r2 ? void 0 : r2.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; + d2 && (this.skipChoice.properties.title.setText(oe.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(oe.generic.branches.skipResponse, false, true); } - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(t3, b.expression.functions.noOverloadNoParm), t3.position, t3.getTextWithFuncOpTextFallback()); - } - _getParameterValueMustBeLiteral(e3, t3, i3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueMustBeLiteral, i3.name, t3.position, i3.type.displayString), t3.position, e3.getTextWithFuncOpTextFallback()); - } - _getParameterValueMustBeVariable(e3, t3, i3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueMustBeVariable, i3.name, t3.position, i3.type.displayString), t3.position, e3.getTextWithFuncOpTextFallback()); + !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, C.isCardExpression)(i4) && (0, I.isCardCollection)(i4.parentList) && i4.parentList.collectionItems.removeChild(i4)); + }); } - _getParameterValueMustBeVariableScope(e3, t3, i3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueMustBeVariableScope, i3.name, t3.position, `${m.getCasedScope(i3.mustBeVariableScope)}.`), t3.position, e3.getTextWithFuncOpTextFallback()); + 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()); } - _getRuntimePlaybackNotSupportedErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.dataPlaybackNotSupportedForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + _updateProgressivePropertiesOOS() { + 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; } - _getOverloadNotSupportedForLanguageErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.overloadNotSupportedForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + _isContinuationNoMatchOOS() { + return this.customizeContinuation.model.text === y.default.true; } - _getTTSEngineNotValidErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsEngineNotValidForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + _isContinuationNoMatchRepromptsOOS() { + return this.customizeContinuation.model.text !== y.default.true; } - _getTTSEngineNotSupportedErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsNotSupportedForLanguage, (0, r2.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); + 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, 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 = re); } - _getTTSNotSupportedForFlowTypeErrorResult(e3, t3) { - const i3 = (null == t3 ? void 0 : t3.length) > 1 ? b.expression.ttsNotSupportedForFlowTypes : b.expression.ttsNotSupportedForFlowType; - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, i3, p.getFlowTypesDisplayString(t3)), e3.position, e3.getTextWithFuncOpTextFallback()); + _updateAskResultProperty() { + const e3 = this.parentFlow.nluMetaData.getSlotVariableForSlotName(this.selectedSlot); + e3 ? (this.askResult.type = e3.type, this.askResult.setText(e3.name, true, true), this.askResult.outOfService = false) : (this.askResult.setText("", true, true), this.askResult.outOfService = true); } - _getUnavailableOverloadErrorResult(e3, t3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.unavailableOverloadNeedsFeatureToggle), e3.position, e3.getTextWithFuncOpTextFallback()); + _updateContinuationPromptProperty(e3) { + const t3 = ne(this.parentFlow.defaultLanguage); + if (!this.continuationPrompt.outOfService) { + const e4 = (0, d.sprintf)(t3.askForSlot.continuationPromptWithSlot, this.selectedSlot); + this.continuationPrompt.setCommunicationBuilderText(e4); + } + e3 && this.continuationPrompt.resetForBuilder(true, false); } - _getZeroNotAllowedErrorResult(e3, t3, i3) { - return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterCannotBeZero, i3.name, t3.getText(), t3.position), t3.position, e3.getTextWithFuncOpTextFallback()); + _updateConfirmationQuestionProperty(e3) { + if (this.askResult.type.isCollection) return this.confirmationModeNote.outOfService = false, this.confirmationMode.outOfService = true, void (this.confirmationQuestion.outOfService = true); + this.confirmationModeNote.outOfService = true, this.confirmationMode.outOfService = false; + const t3 = this.confirmationMode.isLiteralMode && this.confirmationMode.text === B.never.id || this.confirmationMode.isExpressionMode && this.confirmationMode.text === `"${B.never.id}"`; + this.confirmationQuestion.hasConfig && this.confirmationQuestion.outOfService === t3 || (this.confirmationQuestion.outOfService = t3, Y.validateAction(this, false, true)), e3 && this.confirmationQuestion.resetForBuilder(true, false); } - _result(e3) { - return g.createDataResult(true, e3); + _updateSelectedSlotType() { + const e3 = this.parentFlow.getSlotToSlotTypeMap(true, false).get(this.selectedSlot); + e3 && e3 !== this.selectedSlotType && (this.model.selectedSlotType = e3); } - isValidIdentifierCharacter(e3, t3) { - return !!p.getStringContainsValidCharacter(e3, false) || !t3 && ("_" === e3 || e3 >= "0" && e3 <= "9"); + getAvailableSlotNames() { + return this.parentFlow.getAvailableSlotNames(true, false); } - _validateLiteralWithProvider(e3, t3, i3) { - if (!t3 || !t3.isLit) return {}; - switch (e3) { - case S.literalValidatorNames.dialingCodes: { - const e4 = t3.getStringLit(), i4 = u.dialingCodes[e4]; - return i4 ? { providerFixedValue: i4 } : { parameterErrorStr: b.expression.functions.parameterTypeDialingCode }; - } - case S.literalValidatorNames.supportedTTSLangs: { - 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 O[e4.toUpperCase()] ? { providerFixedValue: e4.toUpperCase() } : { parameterErrorStr: b.expression.functions.parameterTypeCurrencyCode }; - } - case S.literalValidatorNames.timeZones: { - const e4 = t3.getStringLit(); - return _.timeZoneService.timeZoneKeyIsValid(e4) ? {} : { parameterErrorStr: b.expression.notValidTimeZone }; + validate(e3) { + var t3, i3, r2, 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, o, void 0, "f"), this.selectedSlot) { + const e4 = this.parentFlow.getAllSlotsToSlotHandlingMap().get(this.selectedSlot); + void 0 === e4 ? l.__classPrivateFieldSet(this, o, (0, d.sprintf)(oe.askForSlot.selectedSlotError, this.selectedSlot), "f") : e4 !== $.SlotHandlingType.standardSlot && l.__classPrivateFieldSet(this, o, (0, d.sprintf)(oe.voiceSurvey.voiceSurveySlotNotAllowedErrorMessage, this.selectedSlot), "f"); + } else this.selectedSlot || l.__classPrivateFieldSet(this, o, oe.askForSlot.noSlotSelected, "f"); + if (l.__classPrivateFieldGet(this, o, "f") && (l.__classPrivateFieldSet(this, n2, true, "f"), e3.addError(this, l.__classPrivateFieldGet(this, o, "f"))), this._updateSelectedSlotType(), this.selectedSlot && this.askResult.isEmpty && e3.addError(this, oe.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, d.sprintf)(oe.cardsAndCars.expression.chooserPresentationModeNotAllowedWithMismatchSlotType, n3); + ie.default.addError(e3, this.chooser, t5); } - case S.literalValidatorNames.phoneNumber: { - const e4 = t3.getStringLit(), i4 = A.validateLiteralString(e4); - return i4 ? { parameterErrorStr: i4, parameterErrorStrIsFullSentence: true } : { providerFixedValue: e4 }; + } + 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, d.sprintf)(oe.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, d.sprintf)(oe.askForSlot.continuationPromptDoesNotReferenceSlotVariable, t4.name); + e3.addExpressionWarning(this.continuationPrompt, i4); } - case S.literalValidatorNames.supportedDigitalChannels: { - const e4 = t3.getStringLit(); - return h.SupportedDigitalChannel[e4.toLowerCase()] ? { providerFixedValue: e4.toLowerCase() } : { parameterErrorStr: b.expression.functions.parameterTypeDigitalChannel }; + } + if (this.selectedSlot && this.selectedSlotType && !this.confirmationMode.outOfService) { + 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, d.sprintf)(oe.askForSlot.confirmationModeNeverWithRangeValuesWarning, this.selectedSlot); + e3.addExpressionWarning(this.confirmationMode, t5); } - default: - return { parameterErrorStr: b.expression.functions.parameterTypeUnknown }; + } + if (this._needsSpeechParamOverrideError && (this.speechToTextEngineId ? (e3.addError(this, (0, d.sprintf)(oe.grammars.modal.overrideSpeechRecognitionErrorMessage, oe.speechToText.speechToTextEngineLabel, oe.grammars.grammarLabel)), this.grammar.setParseError((0, d.sprintf)(oe.grammars.modal.overrideSpeechRecognitionErrorMessageAlternative, oe.grammars.grammarLabel))) : (e3.addError(this, (0, d.sprintf)(oe.grammars.modal.overrideSpeechRecognitionErrorMessage, oe.grammars.grammarLabel, oe.speechToText.speechToTextEngineLabel)), this.speechToTextEngine.currentUiErrorMessage = (0, d.sprintf)(oe.grammars.modal.overrideSpeechRecognitionErrorMessageAlternative, oe.speechToText.speechToTextEngineLabel))), this.isChooserFunctionalityAvailable && this.chooser && this.chooser.type.getPresentationModeIsQuickReplies(this.chooser)) { + const n3 = (null === (p2 = null === (u2 = null === (s2 = null === (a2 = null === (r2 = null === (i3 = null === (t3 = this.chooser) || void 0 === t3 ? void 0 : t3.properties) || void 0 === i3 ? void 0 : i3.quickreplies) || void 0 === r2 ? void 0 : r2.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, d.sprintf)(oe.askForSlot.tooManySkipChoicesError, n3.length)); + }); + } + if (this.isChooserFunctionalityAvailable && this.chooser && this.chooser.type.getPresentationModeIsCarousel(this.chooser)) { + const t4 = (null === (y2 = null === (T2 = null === (f2 = null === (g2 = null === (m2 = null === (h2 = null === (_2 = this.chooser) || void 0 === _2 ? void 0 : _2.properties) || void 0 === h2 ? void 0 : h2.carousel) || void 0 === m2 ? void 0 : m2.properties) || void 0 === g2 ? void 0 : g2.cards) || void 0 === f2 ? void 0 : f2.collectionItems) || void 0 === T2 ? void 0 : T2.items) || void 0 === y2 ? void 0 : y2.filter((e4) => { + var t5, i4, n3, o2; + return null === (o2 = 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 === o2 ? void 0 : o2.filter((e5) => e5.type.isSkipChoice(e5)).length; + })) || []; + t4.length > 1 && t4.forEach((i4) => { + e3.addExpressionError(i4, (0, d.sprintf)(oe.askForSlot.tooManySkipChoicesError, t4.length)); + }); } } - cleanseForIdentifierNameWithProps(e3) { - if (!e3) return e3; - let t3 = ""; - for (let i3 = 0; i3 < e3.length; i3++) ("." === e3.charAt(i3) || this.isValidIdentifierCharacter(e3.charAt(i3), 0 === t3.length)) && (t3 += e3.charAt(i3)); - return t3; + get isChooserFunctionalityAvailable() { + var e3, t3, i3, 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; } - cleanseForIdentifierName(e3, t3, i3) { - if (!e3) return e3; - e3 = e3.trim(); - const n3 = []; - for (let r3 = 0; r3 < e3.length; r3++) this.isValidIdentifierCharacter(e3.charAt(r3), 0 === n3.length) ? n3.push(e3.charAt(r3)) : t3 && (i3 && r3 && n3[n3.length - 1] === t3 || n3.push(t3)); - return n3.join(""); + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__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: oe.actions.askForSlot, scriptingName: "ArchActionAskForSlot", supportsUtteranceHistoricalData: true, modelFormatSupport: { flowYaml: { inProgress: true, feature: H.default.changeSetsFeaturePhase2 } } }), t2.default = ae; + }, 71020(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = (i2(92794), i2(17604)), r = 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), I = i2(56969), C = n2.__importStar(i2(1115)), O = 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); } - isFunctionTextAvailableForFlowTypeAndOperandTypes(e3, t3, i3) { - const n3 = this.getRegisteredFuncOpsByText(e3); - return !!n3 && !!n3[0].overloads.find((e4) => { - if (i3.length !== e4.operands.length) return; - if (!o.default.contains(e4.supportedFlowTypes, t3)) return false; - let n4 = true; - return i3.find((t4, i4) => { - if (!e4.operands[i4].type.isMatch(t4, T.settings.typeOfOrAny)) return n4 = false, true; - }), n4; - }); + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3); + const t3 = P(this.parentFlow.defaultLanguage); + this.setNewInstanceNoInputText(t3.askSurveyQuestion.voiceSurveyNoInputText), this.setNewInstanceNoMatchText(t3.askSurveyQuestion.voiceSurveyNoMatchText), this.setBranchOutOfService(m.default.maxNoInputsOptional.outputId); } - getExpansions(e3, t3, i3) { - const n3 = {}; - return o.default.each(i3.properties, (i4) => { - const r3 = e3 + "." + i4.name; - n3[r3] = { text: r3, expressionText: t3 + "." + i4.expressionText, description: i4.description, guxIcon: i4.type.getIconGux(), propertyName: i4.name }; - }), n3; + initializeDesignTime() { + super.initializeDesignTime(), this.updateSurveyFormQuestionDynamicProps(), this.addAutoCleanedUpSubscription((0, f.createObservableForEvent$)(g.expressionValueChanged, this.notApplicable).subscribe(() => C.validateAction(this, false, true))); } - getAllFuncOpDisplayNames() { - return o.default.pluck(this.expressionFuncOps, "displayName"); + get supportsCustomOutputPaths() { + return true; } - getAvailableFuncOpNamesAndCategories(e3, t3, i3) { - const n3 = (e3 ? "yes_desc" : "no_desc") + "|" + (t3 ? "yes_ops" : "no_ops"), r3 = E[n3]; - if (r3) return r3; - const a2 = o.default.filter(this.expressionFuncOps, function(e4) { - return !(e4.isUnavailable || !e4.funcCategory) && (t3 || e4.isFunction); - }); - return E[n3] = o.default.map(a2, function(t4) { - let n4 = { identifier: t4.identifier, displayName: t4.text, category: t4.funcCategory }; - return e3 && (n4 = o.default.extend(n4, { description: t4.description })), i3 && (n4 = o.default.extend(n4, { supportedFlowTypes: t4.supportedFlowTypes })), n4; - }.bind(this)), E[n3]; + static get branchInfo() { + return [m.default.default, m.default.conditionsNotMet]; } - getExpressionIdentifier(e3) { - if (!e3) return e3; - let t3, i3, n3; - try { - const r3 = new v.runtime.ANTLRStringStream(e3); - i3 = new I(r3), i3.displayRecognitionError = function(e4, t4) { - }; - 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() === I.IDENTIFIER); - } catch (e4) { - } - return i3 && (i3.displayRecognitionError = null), n3 && (n3.displayRecognitionError = null), t3 ? e3 : f.default.getQuotedExpressionStringLiteral(e3); + get hasOptionalPaths() { + return false; } - getFunctionsForCategory(e3) { - const t3 = o.default.find(this.expressionFuncOpCollections, function(t4) { - return t4.funcCategory === e3; - }); - return t3 ? t3.functions : null; + static getSurveyQuestionExpression(e3) { + return e3.surveyQuestion; } - getHelp(e3) { - if (e3) return this._getFuncOpForIdentifier(e3); + static getSurveyQuestionType(e3) { + return e3.parentFlow.voiceSurveyFlowSettings.getQuestionTypeExpressionForQuestionId(e3.surveyFormQuestionId); } - getNonOperatorFuncOpDisplayNames() { - const e3 = o.default.filter(this.expressionFuncOps, function(e4) { - return e4.funcCategory !== this.expressionFuncOpCategories.operator; - }.bind(this)); - return o.default.pluck(e3, "displayName"); + static getQuestionAnswerOptions(e3) { + return e3.parentFlow.voiceSurveyFlowSettings.getAnswerOptionsExpressionForQuestionId(e3.surveyFormQuestionId); } - getOverload(e3, t3, i3) { - const n3 = this.getRegisteredFuncOps(e3); - if (n3 || this._errorResult((0, r2.sprintf)(b.expression.notFuncOrRef, e3.getTextWithFuncOpTextFallback, e3.position), e3.position, e3.rootText), i3 && i3.options && i3.options.hasDisallowedFunctionMap && i3.options.disallowedFunctionMap[n3[0].identifier.toLowerCase()]) return this._errorResult((0, r2.sprintf)(b.expression.functions.notAvailableInExpression, e3.getTextWithFuncOpTextFallback(), e3.position), e3.position, e3.rootText); - const o2 = e3.getOperands(); - for (let r3 = 0; r3 < n3.length; r3++) { - const a2 = this.evaluateRegisteredFuncOp(e3, n3[r3], o2, t3, i3); - if (a2) return a2; + static _disableDTMFChoiceForNACallback(e3, t3) { + var i3; + const n3 = e3.parent; + if (n3) { + const o2 = null === (i3 = e3.parentFlow.userInputSettings) || void 0 === i3 ? void 0 : i3.dtmfTerminatingCharacter, r2 = null == o2 ? void 0 : o2.type.getDesignTimeStringValue(o2); + if (r2 && r2 === t3.id) return true; + const a2 = n3.parentFlow.voiceSurveyFlowSettings.getAnswerOptionsExpressionForQuestionId(n3.surveyFormQuestionId); + if (a2) return !!a2.collectionItems.items.find((e4) => e4.type.getDtmf(e4) === t3.id); } - return this._getNoOverloadErrorResult(o2, e3); + return false; } - getRegisteredFuncOps(e3) { - return this.getRegisteredFuncOpsByText(e3.rootText); + static get managedProperties() { + 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)]; } - getRegisteredFuncOpsByText(e3) { - return e3 ? this.expressionFuncOpsByText["_" + e3.toLowerCase()] : null; + get isAskSurveyQuestionAction() { + return true; } - getFuncIdByText(e3) { - return this._getFuncOpForText(e3); + get surveyFormQuestionId() { + if (this.surveyQuestion.isLiteralMode && !this.surveyQuestion.outOfService) return this.surveyQuestion.val; } - getStringConversionExamples(e3, t3) { - const i3 = [], n3 = t3.getDefaultImplicitConversionFunc(e3), r3 = null == n3 ? void 0 : n3.overloads.find((t4) => 1 === t4.operands.length && T.isMatch(t4.operands[0].type, e3, T.settings.exact)); - return r3 && Array.isArray(null == r3 ? void 0 : r3.examples) && r3.examples.forEach((e4) => { - if (e4.input.indexOf("NOT_SET") < 0) { - const t4 = `${n3.text}(`, r4 = e4.input.indexOf(t4) + t4.length, o2 = e4.input.lastIndexOf(")"); - r4 >= 0 && o2 >= r4 && i3.push(e4.input.substring(r4, o2)); - } - }), i3; + get surveyFormQuestionText() { + if (this.surveyQuestion.isLiteralMode) return this.surveyQuestion.text; } - isValidIdentifierName(e3) { - if (!e3) return false; - for (let t3 = 0; t3 < e3.length; t3++) if (!this.isValidIdentifierCharacter(e3.charAt(t3), 0 === t3)) return false; - return true; + get surveyForm() { + var e3; + return null === (e3 = this.parentFlow.voiceSurveyFlowSettings) || void 0 === e3 ? void 0 : e3.archSurveyForm; } - getInvalidIdentifierCharacters(e3) { - if (!e3) return []; - const t3 = []; - for (let i3 = 0; i3 < e3.length; i3++) this.isValidIdentifierCharacter(e3.charAt(i3), 0 === i3) || "." === e3.charAt(i3) || t3.push(e3.charAt(i3)); - return o.default.uniq(t3); + get surveyFormQuestion() { + return this._surveyFormQuestion || this.surveyQuestion.isLiteralMode && !this.surveyQuestion.outOfService && (this._surveyFormQuestion = (0, N.findSurveyQuestionInForm)(this.surveyForm, this.surveyQuestion.val, true)), this._surveyFormQuestion; } - getInvalidIdentifierCharPos(e3) { - if (!o.default.isString(e3) || !e3.length) return -1; - for (let t3 = 0; t3 < e3.length; t3++) if (!this.isValidIdentifierCharacter(e3.charAt(t3), 0 === t3)) return t3; - return null; + _clearArchSurveyQuestion() { + const e3 = this.surveyQuestion.type.clearArchSurveyQuestion(this.surveyQuestion); + return this._surveyFormQuestion = void 0, this.followUpQuestion.setAsNoValue(), this.notApplicable.setAsNoValue(), this.surveyQuestionResult.setAsNoValue(), this.question.mode = l.builder, this.question.setCommunicationBuilderText(""), this.questionCondition.setAsNoValue(), e3; } - _configureFuncOpModel(e3, t3, i3, n3) { - const r3 = this._getFuncOpForIdentifier(n3); - r3 && (r3.startupConfigureFromBootstrapInfo(i3, t3), o.default.each(r3.overloads, function(t4) { - e3[t4.id] = o.default.union(o.default.keys(t4.supportedLanguageFilter), o.default.keys(t4.supportedFlowTypes)); - })); + clearSurveyQuestion() { + const e3 = this._clearArchSurveyQuestion(); + return this._updatePropertiesOOS(), C.validateAction(this, true, true), e3; } - getPromptsFromExpressionText(e3) { - if (!o.default.isString(e3)) return null; - const t3 = []; - e3 = this.removeStringLiterals(e3); - const i3 = /((Prompt(System)?)\.[0-9\u0041-\u005a\u0061-\u007a\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u3040-\u318F\u3300-\u337F\u3400-\u3D2D\u4E00-\u9FFF\uF900-\uFAFF\.\_]*)/gi; - let n3, r3; - do { - if (n3 = i3.exec(e3), n3 && 1 === (n3[1].match(/\./g) || []).length) { - const e4 = n3[1].split("."); - e4.splice(0, 1), r3 = { name: e4.join(""), type: /PromptSystem./g.exec(n3[1]) ? N.SystemPrompt : N.UserPrompt }, r3.type === N.SystemPrompt ? r3.isSystemPrompt = true : r3.isUserPrompt = true, t3.push(r3); - } - } while (n3); - return t3; + configureFromArchSurveyQuestionId(e3, t3) { + const i3 = (0, N.findSurveyQuestionInForm)(this.surveyForm, e3, true); + return i3 ? this.configureFromArchSurveyQuestion(i3) : (t3 && this.clearSurveyQuestion(), false); } - removeStringLiterals(e3) { - if (!o.default.isString(e3)) return null; - let t3 = false; - const i3 = e3.split(""), n3 = i3.length, r3 = "__"; - for (let e4 = 0; e4 < n3; e4++) switch (i3[e4]) { - case '"': - t3 = !t3, i3[e4] = r3; + configureFromArchSurveyQuestionText(e3, t3, i3) { + const n3 = (0, N.findSurveyQuestionInForm)(this.surveyForm, e3, i3, true); + return n3 ? this.configureFromArchSurveyQuestion(n3) : (t3 && this.clearSurveyQuestion(), false); + } + configureFromSurveyQuestionViewModel(e3) { + return !!e3 && this.configureFromArchSurveyQuestionId(e3.id, false); + } + configureFromArchSurveyQuestion(e3) { + if (!e3) return false; + if (!this._clearArchSurveyQuestion()) return false; + 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 v.SurveyQuestionTypesEnum.freeTextQuestion: + case v.SurveyQuestionTypesEnum.readOnlyQuestion: break; - case "\\": - if (!t3) break; - if (e4 + 1 >= n3) { - i3[e4] = r3; - break; - } - switch (i3[e4 + 1]) { - case "\\": - case "n": - case "r": - case "t": - case '"': - i3[e4] = i3[e4 + 1] = r3, e4++; - break; - default: - i3[e4] = r3; - } + case v.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 = P(this.parentFlow.defaultLanguage), i3 = (0, o.sprintf)(t4.askSurveyQuestion.surveyAnswerNotApplicableWithQuestionSequence, e3.followUpQuestionText); + this.followUpQuestion.setCommunicationBuilderText(i3, true); + } else this.followUpQuestion.setCommunicationBuilderText(e3.followUpQuestionText, true); break; default: - t3 && (i3[e4] = r3); + this.answer.options.setAllowModeBuilder(true), this.answer.options.setDefaultToBuilderId(a.builderIds.parts.genericCommunication), this.answer.setCommunicationBuilderText(this._generateAnswerOutputText(e3.answerOptions, e3.naEnabled), true); } - return o.default.without(i3, r3).join(""); + return (0, I.surveyQuestionHasNa)(this.surveyFormQuestion) && (this.notApplicable.setModeWithTransition(l.literal, void 0), this.notApplicable.setAsLiteral(s.default.star)), this._updatePropertiesOOS(), C.validateAction(this, true, true), C.validateNode(this.parentFlow.voiceSurveyFlowSettings, true), true; + } + destroy() { + return this.parentFlow.isDestroyedOrDestroying || C.validateNode(this.parentFlow.voiceSurveyFlowSettings, true), super.destroy(); } - startupConnectedAndReady(e3) { - const t3 = {}; - o.default.each(e3, (e4) => { - o.default.each(e4.functions, (i3, n3) => this._configureFuncOpModel(t3, e4, i3, n3)); - }), o.default.each(s.bootstrapService.functions, (e4, i3) => this._configureFuncOpModel(t3, null, e4, i3)), l.table("Bootstrap expression support", t3), o.default.each(this.expressionFuncOps, function(e4) { - e4.startupFinalize(); - }); + updateSurveyFormQuestionDynamicProps() { + this.surveyFormQuestion ? this.surveyQuestionResult.setAsExpression(this.surveyFormQuestion.variableName) : this.surveyQuestionResult.setAsExpression(""); } - unitTestEnableAllFunctions() { - console.error("ExpressionDataService.unitTestEnableAllFunctions should only be called in unit tests!"); + _updatePropertiesOOS() { + 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; } - unitTestEnableLanguageForNeedServerInfoFuncOps(e3, t3, i3) { - return console.error("ExpressionDataService.unitTestEnableLanguageForNeedServerInfoFuncOps should only be called in unit tests!"), false; + get _isNoneOrReadOnlyQuestion() { + return !this.surveyFormQuestion || this.surveyFormQuestion.questionType === v.SurveyQuestionTypesEnum.readOnlyQuestion; } - unitTestRestoreNeedServerInfoSnapshot() { - console.error("ExpressionDataService.unitTestRestoreNeedServerInfoSnapshot should only be called in unit tests!"); + _isNoInputOOS() { + return this._isNoneOrReadOnlyQuestion || super._isNoInputOOS(); } - }(); - }, 27579: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3 = []) { - let t3 = ["FeatureNotEnabledError", "InternalServerError", "NoInputError", "NoMatchError", "NoResourceError", "VersionMismatchError"]; - return e3.length > 0 && (t3 = t3.concat(e3), t3.sort()), new n2.default({ properties: { errorType: { allowableValues: t3, description: r2.errorSchema.errorTypeDescription, type: "string" }, errorMessage: { description: r2.errorSchema.errorMessageDescription, type: "string" } } }, false); - }; - const n2 = i2(31635).__importDefault(i2(57606)), r2 = i2(47957); - }, 27667: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allHeaderTypeChoicesMap = t2.allHeaderTypeChoices = t2.headerTypeTextChoice = t2.headerTypeImageChoice = void 0; - const n2 = i2(47957); - t2.headerTypeImageChoice = { displayString: n2.sendRichLink.headerTypeImageChoice, id: "image" }, t2.headerTypeTextChoice = { displayString: n2.sendRichLink.headerTypeTextChoice, id: "text" }, t2.allHeaderTypeChoices = [t2.headerTypeImageChoice, t2.headerTypeTextChoice], t2.allHeaderTypeChoicesMap = {}; - for (const e3 of t2.allHeaderTypeChoices) t2.allHeaderTypeChoicesMap[e3.id] = e3; - }, 27687: (e2, t2, i2) => { - "use strict"; - const n2 = i2(70857), r2 = i2(25884), o = process.env; - let a; - function s(e3) { - const t3 = (function(e4) { - if (false === a) return 0; - if (r2("color=16m") || r2("color=full") || r2("color=truecolor")) return 3; - if (r2("color=256")) return 2; - if (e4 && !e4.isTTY && true !== a) return 0; - const t4 = a ? 1 : 0; - if ("win32" === process.platform) { - const e5 = n2.release().split("."); - return Number(process.versions.node.split(".")[0]) >= 8 && Number(e5[0]) >= 10 && Number(e5[2]) >= 10586 ? Number(e5[2]) >= 14931 ? 3 : 2 : 1; - } - if ("CI" in o) return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((e5) => e5 in o) || "codeship" === o.CI_NAME ? 1 : t4; - if ("TEAMCITY_VERSION" in o) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION) ? 1 : 0; - if ("truecolor" === o.COLORTERM) return 3; - if ("TERM_PROGRAM" in o) { - const e5 = parseInt((o.TERM_PROGRAM_VERSION || "").split(".")[0], 10); - switch (o.TERM_PROGRAM) { - case "iTerm.app": - return e5 >= 3 ? 3 : 2; - case "Apple_Terminal": - return 2; - } - } - return /-256(color)?$/i.test(o.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM) || "COLORTERM" in o ? 1 : (o.TERM, t4); - })(e3); - return (function(e4) { - return 0 !== e4 && { level: e4, hasBasic: true, has256: e4 >= 2, has16m: e4 >= 3 }; - })(t3); - } - r2("no-color") || r2("no-colors") || r2("color=false") ? a = false : (r2("color") || r2("colors") || r2("color=true") || r2("color=always")) && (a = true), "FORCE_COLOR" in o && (a = 0 === o.FORCE_COLOR.length || 0 !== parseInt(o.FORCE_COLOR, 10)), e2.exports = { supportsColor: s, stdout: s(process.stdout), stderr: s(process.stderr) }; - }, 27702: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(62121)), a = i2(7401); - class s extends o.default { - constructor(e3) { - super(e3), Object.defineProperties(this, { _builderPartExpressions: { value: [], writable: true } }), this.populateFromJSON(e3); + _isNoInputRepromptsOOS() { + return this._isNoneOrReadOnlyQuestion || super._isNoInputRepromptsOOS(); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), r2.default.each(this._builderPartExpressions, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)); + _isNoMatchOOS() { + return this._isNoneOrReadOnlyQuestion || super._isNoMatchOOS(); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), r2.default.each(this._builderPartExpressions, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)); + _isNoMatchRepromptsOOS() { + return this._isNoneOrReadOnlyQuestion || super._isNoMatchRepromptsOOS(); } - } - t2.default = s, Object.defineProperties(s.prototype, { builderPartExpressions: { enumerable: true, get: function() { - return this._builderPartExpressions; - }, set: function(e3) { - this._builderPartExpressions = this.reviveArray(e3, a); - } } }); - }, 27716: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ObjectValueDisplay = void 0; - const n2 = i2(55299); - class r2 extends n2.BaseClass { - constructor(e3) { - super(), this._object = e3; + _generateAnswerOutputText(e3, t3) { + const i3 = P(this.parentFlow.defaultLanguage), n3 = []; + return e3.length ? (e3.forEach((e4) => { + n3.push((0, o.sprintf)(i3.askSurveyQuestion.surveyAnswerOptionSequence, e4.dtmf, e4.text)); + }), t3 && n3.push(i3.askSurveyQuestion.surveyAnswerNotApplicableSequence), (0, T.getSentenceListDisplayString)(n3)) : ""; } - _getDisplayString(e3) { - return null == e3 ? "" : e3.displayString ? e3.displayString : e3.label ? e3.label : e3.name ? e3.name : e3.toString(); + postProcessYamlConfig(e3, t3, i3) { + var n3; + const o2 = (e3.surveyQuestion = {})[this.surveyForm.name] = {}; + (null === (n3 = this.surveyQuestion.text) || void 0 === n3 ? void 0 : n3.length) ? this.surveyQuestion.isLiteralMode ? o2.lit = { text: this.surveyQuestion.text } : this.surveyQuestion.isExpressionMode && (o2.exp = this.surveyQuestion.text) : r.default.ensureYamlNoneTrue(o2); } - get className() { - return "ObjectValueDisplay"; + get yamlPropertyOrderMap() { + return r.default.extend(super.yamlPropertyOrderMap, { surveyQuestion: 15 }); } - get object() { - return this._object; + _validateDuplicateDTMF(e3) { + 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, o.sprintf)(M.voiceSurvey.voiceSurveyDuplicateDtmfError, t3)) : t3 === n3 && e3.addExpressionError(this.notApplicable, M.voiceSurvey.voiceSurveyNotApplicableSetAsTerminatingCharacter); + } } - get displayString() { - return this._getDisplayString(this._object); + validate(e3) { + super.validate(e3), this._validateDuplicateDTMF(e3); } - get isObjectValueDisplay() { - return true; + _setQuestionProperty(e3) { + switch (this.question.mode = l.noValue, e3.questionType) { + case v.SurveyQuestionTypesEnum.freeTextQuestion: + case v.SurveyQuestionTypesEnum.readOnlyQuestion: + if ((0, I.surveyQuestionHasNa)(e3)) { + const t3 = P(this.parentFlow.defaultLanguage), i3 = (0, o.sprintf)(t3.askSurveyQuestion.surveyAnswerNotApplicableWithQuestionSequence, e3.questionText); + this.question.setCommunicationBuilderText(i3, true); + } else this.question.setCommunicationBuilderText(e3.questionText, true); + break; + default: + this.question.setCommunicationBuilderText(e3.questionText, true); + } } } - t2.ObjectValueDisplay = r2; - }, 27727: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(90807), o = i2(7401); - function a() { - Object.defineProperties(this, { _inputs: { writable: true }, _outputs: { writable: true }, _processingPrompt: { writable: true }, _timeout: { writable: true } }), this.actionName = void 0, this.actionId = void 0, this.category = void 0, this.useSuggestedTimeout = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, "BaseServerActionModel"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.timeout.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteReIdOrRename(e3); - this.errorData && this.errorData.pasteReIdOrRename(e3), this.messageData && this.message.pasteReIdOrRename(e3), this.status && this.status.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.timeout.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteResolveOldToNewValues(e3); - this.errorData && this.errorData.pasteResolveOldToNewValues(e3), this.messageData && this.message.pasteResolveOldToNewValues(e3), this.status && this.status.pasteResolveOldToNewValues(e3); - } }, processingPrompt: { enumerable: true, get: function() { - return this._processingPrompt; - }, set: function(e3) { - this._processingPrompt = this.reviveItem(e3, o); - } }, inputs: { enumerable: true, get: function() { - return this._inputs; - }, set: function(e3) { - this._inputs = this.reviveArray(e3, r2); - } }, outputs: { enumerable: true, get: function() { - return this._outputs; - }, set: function(e3) { - this._outputs = this.reviveArray(e3, r2); - } }, timeout: { enumerable: true, get: function() { - return this._timeout; - }, set: function(e3) { - this._timeout = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 27752: (e2, t2, i2) => { + F.info = b.default.createActionInfo({ actionClass: F, canBeInTask: true, helpTopic: O.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; + }, 80570(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(11210)); - class s extends a.default { + const n2 = i2(31635), o = i2(96618), r = 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(r.builderIds.parts.genericCommunication), supportedFlowTypes: [o.flowTypes.flowTypeBot, o.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(r.builderIds.parts.genericCommunication), supportedFlowTypes: [o.flowTypes.flowTypeBot, o.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: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeVoiceSurvey], yamlOptions: m.createYamlOptions("customizeNoInput", (e3) => e3.setSkipProperty(true)), property: "customizeNoInput", type: l.expressionTypeNames.boolean }, { label: h.askCommon.noMatch, options: m.createNoMatchOptions().setDefaultToBuilderId(r.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: m.createNoMatchOptions().setDefaultToBuilderId(r.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(r.builderIds.parts.genericCommunication), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: m.createNoMatchRepromptsOptions().setDefaultToBuilderId(r.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), this._disposition = this.coreFactory.createArchWrapper(e3.disposition); + super(e3); } - get _actionTypeId() { - return r2.abortSurveyActionType; + setNewInstanceDefaults(e3) { + var t3, i3; + super.setNewInstanceDefaults(e3), null === (t3 = this.noInput.builder) || void 0 === t3 || t3.deleteAllParts(), null === (i3 = this.noMatch.builder) || void 0 === i3 || i3.deleteAllParts(); } - get displayTypeName() { - return this._scriptingName; + initializeDesignTime() { + super.initializeDesignTime(), this._updatePropertiesOOS(); } - get isArchActionAbortSurveyInvite() { - return true; + setNewInstanceNoInputText(e3) { + return this.noInput.setCommunicationBuilderText(e3); } - get disposition() { - return this._disposition; + setNewInstanceNoMatchText(e3) { + return this.noMatch.setCommunicationBuilderText(e3); } - setLiteralDisposition(e3) { - const t3 = this._infoPropSet("newDisposition", "disposition"); - this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.ABORT_SURVEY_INVITE_DISPOSITIONS_ALL), this._coreActionViewModel.disposition.setAsLiteral(e3), this.logNote("disposition set to '" + this.disposition + "'"); + getConfiguration(e3, t3) { + const i3 = super.getConfiguration(e3, t3); + return this.parentFlow.isDigitalBotFlow && (i3.noInputReprompts = void 0, i3.noInputs = void 0), i3; } - } - t2.default = s; - }, 27816: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - const a = (0, n2.default)(e3, t3, i3), s = new o(); - s.name = r2.actions.exitWorkitemFlow; - const l = a.flowSequenceItemList[0]; - return l.actionList = [s], l.startAction = s.id, a; - }; - const n2 = i2(31635).__importDefault(i2(42193)), r2 = i2(47957), o = i2(96603); - }, 27839: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.workitemFlowListManager = t2.WorkitemFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(6109), o = i2(96618), a = i2(27862); - class s extends r2.FlowListManager { - get dependencyType() { - return a.WorkItemFlow; + _updatePropertiesOOS() { + this.noInput.outOfService = this._isNoInputOOS(), this.noInputReprompts.outOfService = this._isNoInputRepromptsOOS(), this.noMatch.outOfService = this._isNoMatchOOS(), this.noMatchReprompts.outOfService = this._isNoMatchRepromptsOOS(); } - constructor() { - super(), this.topic = n2.getTopic("WorkitemFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeWorkitem }, this.className = "WorkitemFlowListManager", this.flowType = o.flowTypes.flowTypeWorkitem, this._rawServerCache = {}, this._initialize(); + _isNoInputOOS() { + return this.customizeNoInput.model.text === a.default.true; } - } - t2.WorkitemFlowListManager = s, t2.workitemFlowListManager = new s(); - }, 27844: (e2, t2, i2) => { - "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 c extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.smsPhoneNumberView; + _isNoInputRepromptsOOS() { + return this.customizeNoInput.model.text !== a.default.true; } - get dependencyType() { - return u.SmsPhoneNumber; + _isNoMatchOOS() { + return this.customizeNoMatch.model.text === a.default.true; } - constructor() { - 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(); + _isNoMatchRepromptsOOS() { + return this.customizeNoMatch.model.text !== a.default.true; } - } - 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) { - return a(e3) || o(e3); - }, t2.removePrefix = function(e3) { - return a(e3) ? e3.substring(r2.user.length) : o(e3) ? e3.substring(r2.system.length) : e3; - }, t2.addPrefix = function(e3, i3) { - return e3 ? n2.default.isString(i3) && 0 === i3.indexOf("__") ? t2.prefixes.system + e3 : t2.prefixes.user + e3 : ""; - }; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { user: "prompt.", system: "promptsystem." }; - function o(e3) { - return !!e3 && 0 === e3.toLowerCase().lastIndexOf(r2.system, 0); - } - function a(e3) { - return !!e3 && 0 === e3.toLowerCase().lastIndexOf(r2.user, 0); - } - t2.prefixes = { user: "Prompt.", system: "PromptSystem." }; - }, 27862: (e2, t2, i2) => { - const n2 = i2(57731), r2 = i2(47957), o = {}; - function a(e3, t3, i3) { - o[e3] = this, a.baseConstructor.apply(this, [e3, t3, void 0, i3]); - } - Object.defineProperties(a.prototype, { configurationListManager: { writable: true }, hideFromGrid: { value: false, writable: true }, isDependencyType: { get: function() { - return true; - } }, getConfigItem: { value: function(e3, t3, i3) { - if (t3) { - const t4 = this.configurationListManager?.getBriefManagerWithFallback().getItem(e3, i3); - if (t4) return t4; + propertyChanged(e3) { + var t3, 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(); } - return this.configurationListManager?.getItem(e3, i3); - } } }), n2.extend(a, "DependencyType"), a.getInstance = function(e3) { - return o[e3 || 0] || o[0]; - }, a.AgenticVirtualAgent = new a("agenticVirtualAgent", r2.agenticVirtualAgent.agenticVirtualAgent, r2.externalAuths.agenticVirtualAgentView.displayTitle), a.AgenticVirtualAgentVersion = new a("agenticVirtualAgentVersion", r2.agenticVirtualAgent.agenticVirtualAgentVersion, r2.externalAuths.agenticVirtualAgentVersionView.displayTitle), a.AudioConnectorBot = new a("audioConnectorBot", r2.callAudioConnector.audioConnectorType), a.BridgeServer = new a("bridgeAction", r2.bridgeServer.bridgeAction, r2.externalAuths.bridgeActionView.displayTitle), a.BotConnectorBot = new a("botConnectorBot", r2.botConnector.botConnector, r2.externalAuths.botConnectorView.displayTitle), a.ConversationCustomAttributeSchema = new a("conversationCustomAttributeSchema", r2.conversationAttribute.conversationAttributeSchemaLabel), a.CustomerIntent = new a("customerIntent", r2.customerIntent.customerIntentLabel, r2.externalAuths.customerIntentsView.customerIntentsViewDisplayTitle), a.CustomerSegment = new a("customerSegment", r2.customerSegment.customerSegmentLabel, r2.externalAuths.customerSegmentsView.customerSegmentsViewDisplayTitle), a.DigitalBotConnector = new a("digitalBotConnector", r2.botConnector.digitalBotConnector, r2.externalAuths.botConnectorView.displayTitle), a.DigitalBotConnectorIntegration = new a("digitalBotConnectorIntegration", r2.botConnector.digitalBotConnectorIntegration, r2.externalAuths.botConnectorView.displayTitle), a.DigitalBotFlow = new a("digitalBotFlow", r2.flow.types.digitalBotFlow, r2.navigationDropDown.sectionDigitalBotFlows), a.Division = new a("division", r2.flow.gridColumns.division), a.Guide = new a("guide", r2.guide.guide, r2.externalAuths.guideView.displayTitle), a.GuideVersion = new a("guideVersion", r2.guide.guideVersion, r2.externalAuths.guideVersionView.displayTitle), a.Integration = new a("integration", r2.integration.name, r2.externalAuths.integrationView.displayTitle), a.BotConnectorIntegration = new a("botConnectorIntegration", r2.botConnector.botConnectorIntegration), a.BotFlow = new a("botFlow", r2.flow.types.bot, r2.navigationDropDown.sectionBotFlows), a.LexBotAlias = new a("lexBotAlias", r2.lex.lexBotAlias), a.LexBot = new a("lexBot", r2.lex.lexBot), a.LexV2BotAlias = new a("lexV2BotAlias", r2.lex.lexV2BotAlias), a.LexV2Bot = new a("lexV2Bot", r2.lex.lexV2Bot), a.NuanceMixIntegration = new a("nuanceMixIntegration", r2.nuanceMix.nuanceMixIntegration), a.NuanceMixBot = new a("nuanceMixBot", r2.nuanceMix.nuanceMixBot), a.ContactList = new a("contactList", r2.expression.contactList, r2.externalAuths.contactListsView.displayTitle), a.EmergencyGroup = new a("emergencyGroup", r2.evaluateSchedules.emergencyGroup, r2.externalAuths.emergencyGroupView.displayTitle), a.CommonModuleFlow = new a("commonModuleFlow", r2.flow.types.commonModule, r2.navigationDropDown.sectionCommonModuleFlows), a.InboundCallFlow = new a("inboundCallFlow", r2.flow.types.inboundCall, r2.navigationDropDown.sectionInboundCallFlows), a.InqueueCallFlow = new a("inqueueCallFlow", r2.flow.types.inQueueCall, r2.navigationDropDown.sectionInQueueCallFlows), a.InqueueEmailFlow = new a("inqueueEmailFlow", r2.flow.types.inQueueEmail, r2.navigationDropDown.sectionInQueueEmailFlows), a.InqueueShortMessageFlow = new a("inqueueShortMessageFlow", r2.flow.types.inQueueShortMessage, r2.navigationDropDown.sectionInQueueShortMessageFlows), a.InboundChatFlow = new a("inboundChatFlow", r2.flow.types.inboundChat, r2.navigationDropDown.sectionInboundChatFlows), a.InboundEmailFlow = new a("inboundEmailFlow", r2.flow.types.inboundEmail, r2.navigationDropDown.sectionInboundEmailFlows), a.InboundShortMessageFlow = new a("inboundShortMessageFlow", r2.flow.types.inboundShortMessage, r2.navigationDropDown.sectionInboundShortMessageFlows), a.SurveyInviteFlow = new a("surveyInviteFlow", r2.flow.types.surveyInviteWebPrefix, r2.sectionSurveyInviteFlowsWebPrefix), a.Language = new a("language", r2.setLocale.headerLanguage, r2.expression.languages), a.LanguageSkill = new a("acdLanguage", r2.transferPureMatch.languageSkill, r2.externalAuths.languageSkillsView.displayTitle), a.OutboundCallFlow = new a("outboundCallFlow", r2.flow.types.outboundCall, r2.navigationDropDown.sectionOutboundCallFlows), a.Queue = new a("queue", r2.configurations.queue, r2.externalAuths.queuesView.displayTitle), a.Group = new a("group", r2.group.label, r2.group.groupLabelPlural), a.ScreenPop = new a("composerScript", r2.createCallback.script, r2.externalAuths.scriptsView.displayTitle), a.Response = new a("response", r2.getResponse.response, r2.externalAuths.responseView.displayTitle), a.DecisionTable = new a("decisionTable", r2.decisionTable.decisionTableLabel, r2.decisionTable.decisionTablePlural), a.Schedule = new a("schedule", r2.evaluateSchedules.schedule, r2.externalAuths.schedulesView.displayTitle), a.ScheduleGroup = new a("scheduleGroup", r2.evaluateSchedules.scheduleGroup, r2.externalAuths.scheduleGroupView.displayTitle), a.SecureCallFlow = new a("secureCallFlow", r2.flow.types.secureCall, r2.navigationDropDown.sectionSecureCallFlows), a.Skill = new a("acdSkill", r2.configurations.skill, r2.configurations.skillsPlural), a.SmsPhoneNumber = new a("smsPhoneNumber", r2.deflect.smsPhoneNumber, r2.externalAuths.smsPhoneNumberView.smsPhoneNumberViewDisplayTitle), a.SystemPrompt = new a("systemPrompt", r2.audio.promptSystem, r2.externalAuths.promptsSystemView.displayTitle), a.UtilizationLabel = new a("utilizationLabel", r2.utilizationLabel.utilizationLabelLabel, r2.externalAuths.utilizationLabelView.utilizationLabelViewDisplayTitle), a.User = new a("user", r2.user.label, r2.user.userLabelPlural), a.UserPrompt = new a("userPrompt", r2.audio.promptUser, r2.externalAuths.promptsUserView.displayTitle), a.WrapupCode = new a("acdWrapupCode", r2.setWrapupCode.wrapupCode, r2.externalAuths.wrapupCodesView.displayTitle), a.SecureAction = new a("secureAction", r2.secureAction.secureAction), a.DataAction = new a("dataAction", r2.dataAction.dataAction), a.Video = new a("video", r2.generic.video), a.EmailSendFlow = new a("emailSendFlow", r2.emailSendFlow.emailSendFlowTypeDisplayName, r2.emailSendFlow.emailSendFlowsSectionLabel), a.VoiceFlow = new a("voiceFlow", r2.flow.types.voiceFlow), a.VoicemailFlow = new a("voicemailFlow", r2.flow.types.voicemailFlow, r2.navigationDropDown.sectionVoicemailFlows), a.VoiceSurveyFlow = new a("voiceSurveyFlow", r2.flow.types.voiceSurveyFlow, r2.navigationDropDown.sectionVoiceSurveyFlows), a.Workflow = new a("workflow", r2.flow.types.workflow, r2.navigationDropDown.sectionWorkflowFlows), a.WorkItemFlow = new a("workItemFlow", r2.flow.types.workItem, r2.navigationDropDown.sectionWorkItemFlows), a.DataTable = new a("dataTable", r2.dataTable.dataTable, r2.externalAuths.dataTablesView.displayTitle), a.DigitalAudio = new a("digitalAudio", r2.generic.digitalAudio), a.File = new a("file", r2.file.file), a.FlowMilestone = new a("flowMilestone", r2.flowOutcomes.flowMilestone, r2.externalAuths.flowMilestonesView.displayTitle), a.FlowOutcome = new a("flowOutcome", r2.flowOutcomes.flowOutcome, r2.externalAuths.flowOutcomesView.displayTitle), a.TtsEngine = new a("ttsEngine", r2.textToSpeech.ttsEngineDependencyString), a.TtsVoice = new a("ttsVoice", r2.textToSpeech.ttsVoice), a.DialogflowAgent = new a("dialogflowAgent", r2.dialogflow.dialogflowAgent), a.DialogflowCxAgent = new a("dialogflowCxAgent", r2.dialogflowCx.dialogflowCxAgent), a.DialogEngineBot = new a("dialogEngineBot", r2.dialogEngine.dialogEngineBot), a.DialogEngineBotVersion = new a("dialogEngineBotVersion", r2.dialogEngine.dialogEngineBotVersion), a.FlowAction = new a("flowAction", r2.action.action), a.FlowDataType = new a("flowDataType", r2.generic.type), a.NLUDomain = new a("nluDomain", r2.bot.naturalLanguageUnderstanding), a.NLUDomain.hideFromGrid = true, a.KnowledgeBase = new a("knowledgeBase", r2.knowledgeSettings.knowledgeBase, r2.externalAuths.knowledgeBaseView.knowledgeBaseViewDisplayTitle), a.ConversationSummarySetting = new a("conversationSummarySetting", r2.customNodes.virtualAgentSettings.conversationSummarySettingsTitle, r2.customNodes.virtualAgentSettings.conversationSummarySettingsTitle), a.KnowledgeSetting = new a("knowledgeSetting", r2.knowledgeSettings.knowledgeSetting, r2.knowledgeSettings.knowledgeSetting), a.KnowledgeBaseDocument = new a("knowledgeBaseDocument", r2.knowledgeSettings.knowledgeBaseDocument, r2.externalAuths.knowledgeBaseDocumentView.knowledgeBaseDocumentViewDisplayTitle), a.Image = new a("image", r2.image.image), a.OAuthClient = new a("oAuthClient", r2.oauthClient.label), a.ResponseAsset = new a("responseAsset", r2.responseAsset.responseAsset), a.SpeechToTextEngine = new a("sttEngine", r2.speechToText.speechToTextEngineLabel), a.Grammar = new a("grammar", r2.grammars.grammarLabel, r2.externalAuths.grammarView.displayTitle), a.SurveyForm = new a("surveyForm", r2.voiceSurvey.surveyFormLabel, r2.externalAuths.surveyFormView.displayTitle), a.Schema = new a("schema", r2.workitem.schemaLabel), a.Worktype = new a("worktype", r2.workitem.worktypeLabel, r2.externalAuths.worktypesView.displayTitle), Object.defineProperties(a.prototype, { toJSON: { value: function() { - return this.value; - } } }), e2.exports = a; - }, 27873: (e2, t2, i2) => { + static createNoInputOptions() { + 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 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 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"; + }, 81823(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(62957)); - class a extends o.default { + const n2 = i2(31635), o = i2(96618), r = i2(28562), a = i2(80428), s = i2(82319), l = n2.__importDefault(i2(5730)), u = i2(47957); + 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(r.builderIds.parts.genericCommunication).setUiPropertyOrder(5)), optionsForSpecificFlowTypes: [{ flowTypes: [o.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(r.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); + super(e3.parentFlow, e3); } - get displayTypeName() { - return "ArchBaseActionWithOutputsFailureNoInput"; + setNewInstanceDefaults(e3) { + var t3; + super.setNewInstanceDefaults(e3), null === (t3 = this.question.builder) || void 0 === t3 || t3.deleteAllParts(); } - get isArchBaseActionWithOutputsFailureNoInput() { + setNewInstanceQuestionText(e3) { + return this.question.setCommunicationBuilderText(e3); + } + get hasOptionalPaths() { return true; } - get outputNoInput() { - return this._getOutputById(r2.outputIds.noInput, true); + getDetails() { + return this.getDetailsForProperties([this.question]); } } - t2.default = a; - }, 27936: (e2, t2, i2) => { + t2.default = c, c.className = "BaseAskActionViewModel"; + }, 71075(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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.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: l.admin.adminOrganizationSettingsLabel, getLinkUrl: () => s.getAdminOrganizationSettingsUrl(), name: "Link.OrganizationSettings" }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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)), I = i2(54057), C = i2(28803), O = 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(r.formSequences.noInputDigitalBotSequence), this.noMatch.options.setBuilderLanguagesSequenceConfig(r.formSequences.noMatchDigitalBotSequence); } - get 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 }; + _initializeDesignTime() { + super._initializeDesignTime(), this._updateOOS(), this.addAutoCleanedUpEventSinkWatch(h.valueChanged, this.library, () => { + this.form.reset(), this._updateOOS(); + }), this.addAutoCleanedUpEventSinkWatch(h.valueChanged, this.form, () => { + this._handleFormSelectionChanged(); + }); } - get 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 responseLibrary() { + return this.model.responseLibrary; } - get 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 responseId() { + return this.formId; } - get summaryWorkbench() { - return { id: "__SUMMARY_WORKBENCH__", linkTitle: l.customNodes.virtualAgentSettings.conversationSummarySettingsWorkbenchBanner, getLinkUrl: () => s.getAdminConversationSummarySettingUrl() }; + get selectedResponse() { + if (this.responseId) return this.responseManager.getItem(this.responseId); } - get resourceCenterUrlCustomKnowledge() { - return { id: "__RESOURCE_CENTER_URL_CUSTOM_KNOWLEDGE__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.customKnowledge), helpTopic: a.helpTopics.articles.customKnowledge, name: "Link.ResourceCenterCustomKnowledge" }; + set responseLibrary(e3) { + this.model.responseLibrary = e3; } - get resourceCenterExecutionData() { - 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 }; + _updateOOS() { + this.question.outOfService = true, this.form.outOfService = !this.responseLibrary; } - get aboutGenesysVirtualAgent() { - return { id: "__VIRTUAL_AGENT_HELP__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.aboutGenesysVirtualAgent), name: "Link.ResourceCenterVirtualAgent", helpTopic: a.helpTopics.articles.aboutGenesysVirtualAgent }; + get supportsCustomOutputPaths() { + return true; } - get 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 }; + _clearOutputs() { + this.outputs.destroyChildren(); } - get sttEngineOverview() { - return { id: "__STT_ENGINE_OVERVIEW__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.sttEngineOverview), name: "link.sttEngineOverview", helpTopic: a.helpTopics.articles.sttEngineOverview }; + static get branchInfo() { + const e3 = [...p.default.successFailure, p.default.maxNoInputsOptional]; + return m.isFeatureAvailable(S.default.botFlowsEnhancedRecognitionFailureHandling) ? [...e3, p.default.maxNoMatchesOptional] : e3; } - get surveyFormsAdmin() { - return { id: "__SURVEY_FORMS__", getLinkUrl: () => s.getAdminSurveyFormsUrl() }; + setNewInstanceDefaults(e3) { + super.setNewInstanceDefaults(e3), this.setNewInstanceNoInputText(R(this.parentFlow.defaultLanguage).form.noInputDigitalBot), this.setNewInstanceNoMatchText(R(this.parentFlow.defaultLanguage).form.noMatchDigitalBot); } - get surveyFormAdmin() { - return { id: "__SURVEY_FORM__", getLinkUrl: () => s.getAdminSurveyFormsUrl() }; + getDetails() { + var e3; + 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]); } - get voiceMismatchHelp() { - return { id: "__VOICE_MISMATCH_LINK__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.ttsOverview), helpTopic: a.helpTopics.articles.ttsOverview }; + static get managedProperties() { + return [{ createDetails: O.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: C.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")) }]; } - get voiceSurveyFlows() { - return { id: "__VOICE_SURVEY_FLOWS__", getLinkUrl: () => s.getArchitectFlowsBaseUrl(r2.flowTypes.flowTypeVoiceSurvey) }; + _getAdditionalSearchParams() { + var e3; + if (null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id) return { filters: (0, I.createResponseLibrarySearchFilters)(this.responseLibrary.id) }; } - get webChatDeprecation() { - return { id: "__CHAT_DEPRECATION__", getLinkUrl: () => (0, o.getExternalHelpUrl)(a.helpTopics.articles.chatDeprecation), linkTitle: l.webChatDeprecationLinkText, name: "Link.WebChatDeprecation" }; + _searchFilterCallback(e3) { + var t3; + return e3.responseType === f.CannedResponseType.form && !!o.default.findWhere(e3.libraries, { id: null === (t3 = this.responseLibrary) || void 0 === t3 ? void 0 : t3.id }); } - get workitemFlows() { - return { id: "__WORKITEM_FLOWS__", getLinkUrl: () => s.getArchitectFlowsBaseUrl(r2.flowTypes.flowTypeWorkitem) }; + _handleFormSelectionChanged() { + return n2.__awaiter(this, void 0, void 0, function* () { + this.formId, this._mergeSchemaProperties(), (0, y.validateAction)(this, void 0, true); + }); } - get workTypesAdmin() { - return { id: "__WORKTYPES__", getLinkUrl: () => s.getAdminWorktypesUrl() }; + _mergeSchemaProperties() { + var e3, t3; + const i3 = null === (t3 = null === (e3 = this.selectedResponse) || void 0 === e3 ? void 0 : e3.form) || void 0 === t3 ? void 0 : t3.formPages; + if (i3) { + const e4 = {}; + i3.forEach((t4) => { + const i4 = `${t4.title} (${t4.componentInfo.displayName})`; + e4[t4.componentInfo.id] ? this.topic.error("duplicate id encountered adding form properties") : e4[t4.componentInfo.id] = { name: i4, type: t4.componentInfo.type, id: t4.componentInfo.id }; + }), this.responseManager.mergeSchemaProperties(Object.values(e4), this.outputs); + } else this._clearOutputs(); } - get workTypeCustomAttributesAdmin() { - return { id: "__CUSTOM_ATTRIBUTES__", getLinkUrl: () => s.getAdminWorktypeCustomAttributesUrl() }; + validate(e3) { + super.validate(e3), e3.isDeep && this._mergeSchemaProperties(); } - get botFlowSettingsNode() { - return { id: "__BOT_FLOW_SETTINGS_NODE__", linkTitle: l.botFlowSettings.titleWithSettings, getLinkUrl: () => "#", navigateToNodeId: "botFlowSettings", name: "Link.BotFlowSettings" }; + postProcessYamlConfig(e3, t3, i3) { + var n3; + if (!this.formName) return false; + const r2 = (null === (n3 = this.responseLibrary) || void 0 === n3 ? void 0 : n3.name) || g.unknownLibrary; + e3.library = {}; + const a2 = (e3.library[r2] = { form: {} }).form[this.formName] = {}; + return e3.formOutputs ? o.default.moveAndDeleteProperty(e3, a2, "formOutputs") : o.default.ensureYamlNoneTrue(a2), true; } - }(); - t2.default = u; - }, 28031: (e2, t2, i2) => { + } + 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; + }, 46744(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.WorktypeStatusCategories = void 0, t2.getWorktypeStatusCategoryLabel = function(e3) { - switch (e3) { - case a.closed: - return r2.workitem.worktypeStatusClosed; - case a.inProgress: - return r2.workitem.worktypeStatusInProgress; - case a.open: - return r2.workitem.worktypeStatusOpen; - case a.waiting: - return r2.workitem.worktypeStatusWaiting; - default: - return o.traceOnce("missingWorktypeStatus", (t3) => t3.error(`No worktype status found for category: '${e3}'. You may need to add a new entry to the worktype status enum.`)), e3; - } + t2.markCollapseToggled = function(e3) { + i2.set(e3, Date.now()); }; - const n2 = i2(24032), r2 = i2(47957), o = (0, n2.getTopic)("workitemFlowStatusCategories"); - var a; - !(function(e3) { - e3.open = "Open", e3.inProgress = "InProgress", e3.waiting = "Waiting", e3.closed = "Closed"; - })(a || (t2.WorktypeStatusCategories = a = {})); - }, 28033: (e2, t2, i2) => { + const i2 = /* @__PURE__ */ new WeakMap(); + }, 942(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeCarouselOptions = void 0; - const n2 = i2(19507); - class r2 extends n2.BaseExpressionTypeOptions { - static create(e3) { - return new this().invokeOptionsCallback(e3); - } - constructor() { - super(); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(5730)), r = n2.__importDefault(i2(27203)), a = i2(80428), s = i2(81516), l = i2(82632); + class u extends o.default { + constructor(e3, t3) { + super(e3, t3); } - get className() { - return "ExpressionTypeCarouselOptions"; + static get branchInfo() { + return r.default.foundNotFound; } - get isExpressionTypeCarouselOptions() { - return true; + static createManagedProperties(e3) { + const { searchFieldPropertyName: t3 = "findName", searchFieldOptionsCallback: i3, searchFieldLabel: n3, searchResultLabel: o2, searchResultExpressionOptions: r2, searchResultItemType: u2 } = e3; + return [{ label: n3, options: s.ExpressionTypeStringOptions.create((e4) => { + e4.setAsInput().setUiPropertyOrder(10).setIninTestingField(t3).setDisableSpellcheck(true).setDefaultToExpression(true).setDescriptionInfo(n3).facets.setMaxLength(l.findLimits.findName.maxLength).setMinLength(l.findLimits.findName.minLength), e4.invokeOptionsCallback(i3); + }), property: t3, type: a.expressionTypeNames.string }, { label: o2, options: r2.setUiPropertyOrder(20).setIninTestingField("findResult").setAsOutput(), property: "findResult", type: u2 }]; } } - t2.ExpressionTypeCarouselOptions = r2; - }, 28044: (e2, t2, i2) => { + t2.default = u, e2.exports = u, u.className = "BaseFindSystemObjectActionViewModel"; + }, 25162(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryTasks = void 0; - 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"; - } - get logStr() { - return this._createLogStrFromParts(["ArchFactoryTasks"]); - } - get isArchFactoryTasks() { - return true; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - 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}'.`), 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; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findDivision.findDivisionNameLabel, searchResultLabel: d.findActions.findDivision.findDivisionResultLabel, searchResultExpressionOptions: a.ExpressionTypeDivisionOptions.create(), searchResultItemType: r.expressionTypeNames.division }); } } - t2.ArchFactoryTasks = l, t2.default = new l(); - }, 28071: (e2, t2, i2) => { + 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; + }, 15091(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeySessionSegmentAssignment"; - } - get id() { - } - get assignedDate() { + const n2 = i2(31635), o = i2(17604), r = 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); } - get displayTypeName() { - return "ArchValueJourneySessionSegmentAssignment"; + static get branchInfo() { + return l.default.foundPartiallyFoundNotFound; } - get isArchValueJourneySessionSegmentAssignment() { - return true; + static get managedProperties() { + return p.default.createManagedProperties({ searchFieldPropertyName: "findNames", searchFieldOptionsCallback: (e3) => e3.setIsCollection(true).setMaxItems(u.findLimits.maxBulkFindByName).setDescriptionInfo(h.findActions.findDivision.findDivisionsNameLabel, (0, o.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: r.expressionTypeNames.division }); } } - t2.default = r2; - }, 28080: (e2, t2, i2) => { + 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; + }, 23123(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.QueueType = void 0; - 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); - } - get className() { - return "QueueType"; - } - createExpressionOptionClass() { - return new r2.ExpressionTypeNetworkObjectOptions(this.isCollection); - } - get listManager() { - return o.queueManager.getBriefManagerWithFallback(); - } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindQueue", e3, [u.globalTypes.string]); - } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindQueue(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - applyLiteralFromModel(e3, t3, i3, n3) { - (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findEmergencyGroup.findEmergencyGroupNameLabel, searchResultLabel: d.findActions.findEmergencyGroup.findEmergencyGroupResultLabel, searchResultExpressionOptions: r.ExpressionTypeEmergencyGroupOptions.create(), searchResultItemType: a.expressionTypeNames.emergencyGroup }); } } - 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() { - Object.defineProperties(this, { _matchByType: { writable: true }, _matchingStyle: { writable: true }, _specificNumChars: { writable: true } }), l.baseConstructor.apply(this, arguments); - } - n2.extend(l, r2, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { - l._super.pasteReIdOrRename.apply(this, arguments), this.specificNumChars.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - l._super.pasteResolveOldToNewValues.apply(this, arguments), this.specificNumChars.pasteResolveOldToNewValues(e3); - } }, matchByType: { enumerable: true, get: function() { - return this._matchByType; - }, set: function(e3) { - this._matchByType = this.reviveEnum(e3, a); - } }, matchingStyle: { enumerable: true, get: function() { - return this._matchingStyle; - }, set: function(e3) { - this._matchingStyle = this.reviveEnum(e3, o); - } }, specificNumChars: { enumerable: true, get: function() { - return this._specificNumChars; - }, set: function(e3) { - this._specificNumChars = this.reviveItem(e3, s); - } } }), e2.exports = l; - }, 28130: (e2, t2, i2) => { + 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; + }, 5828(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(55909), r2 = i2(33951); - class o { - constructor() { - this._actions = []; - } - static create(e3, t3, i3) { - return new o()._setId(e3)._setName(t3)._setIconName(i3); + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get actions() { - return this._actions; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findGrammar.findGrammarNameLabel, searchResultLabel: d.findActions.findGrammar.findGrammarResultLabel, searchResultExpressionOptions: r.ExpressionTypeGrammarOptions.create(), searchResultItemType: a.expressionTypeNames.grammar }); } - addActionClass(e3) { - if (this._actions.includes(e3)) return; - let t3 = 0; - for (; t3 < this._actions.length && !(e3.info.displayIndex < this._actions[t3].info.displayIndex); ) t3++; - this._actions.splice(t3, 0, e3); + } + 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; + }, 68108(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get className() { - return "ActionCategory"; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findGrammar.findGrammarIdLabel, searchResultLabel: d.findActions.findGrammar.findGrammarResultLabel, searchResultExpressionOptions: r.ExpressionTypeGrammarOptions.create(), searchResultItemType: a.expressionTypeNames.grammar }); } - get iconName() { - return this._iconName; + } + 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; + }, 56146(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get id() { - return this._id; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findGroup.nameLabel, searchResultLabel: d.findActions.findGroup.resultLabel, searchResultExpressionOptions: r.ExpressionTypeGroupOptions.create(), searchResultItemType: a.expressionTypeNames.group }); } - get name() { - return this._name; + } + 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; + }, 78091(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - _setIconName(e3) { - return this._iconName = e3, this; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findKnowledgeBaseDocument.findKnowledgeBaseDocumentIdLabel, searchResultLabel: d.findActions.findKnowledgeBaseDocument.findKnowledgeBaseDocumentResultLabel, searchResultExpressionOptions: r.ExpressionTypeKnowledgeBaseDocumentOptions.create(), searchResultItemType: a.expressionTypeNames.knowledgeBaseDocument }); } - _setId(e3) { - return this._id = r2.ParameterValidator.expectString(e3, () => n2.ParameterInfo.createPropertySet(this.className, "id", "value")), this; + } + 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; + }, 3554(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - _setName(e3) { - return this._name = r2.ParameterValidator.expectString(e3, () => n2.ParameterInfo.createPropertySet(this.className, "name", "value")), this; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findLanguageSkill.nameLabel, searchResultLabel: d.findActions.findLanguageSkill.resultLabel, searchResultExpressionOptions: r.ExpressionTypeLanguageSkillOptions.create(), searchResultItemType: a.expressionTypeNames.languageSkill }); } } - t2.default = o; - }, 28195: (e2) => { - e2.exports = { callback: "callback", chat: "chat", email: "email", message: "message", screenPop: "screenPop" }; - }, 28206: (e2, t2, i2) => { + 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; + }, 49149(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), c = n2.__importDefault(i2(97891)), d = n2.__importDefault(i2(4648)), p = i2(47957); - class _ extends o.BaseConversationAttributeActionViewModel { + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { 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(p.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); - }) }); + super(e3.parentFlow, e3), this._loadModel(t3); } static get managedProperties() { - return [...this.createBaseManagedProperties(), this.createRecordIdManagedProperty(), ...this.createCustomJsonProperties()]; + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findQueue.nameLabel, searchResultLabel: d.findActions.findQueue.resultLabel, searchResultExpressionOptions: a.ExpressionTypeQueueOptions.create(), searchResultItemType: r.expressionTypeNames.queue }); } - static get branchInfo() { - return r2.default.foundNotFound; + } + 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; + }, 86758(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - _getPossibleErrors() { - return l.getConversationAttributeFailureReasons; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findQueue.idLabel, searchResultLabel: d.findActions.findQueue.resultLabel, searchResultExpressionOptions: a.ExpressionTypeQueueOptions.create(), searchResultItemType: r.expressionTypeNames.queue }); } } - _.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) => { + 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; + }, 77152(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.dataActionManager = t2.DataActionManager = void 0; - const n2 = i2(84822), r2 = i2(30801), o = i2(24032), a = i2(47957), s = i2(27862); - class l extends n2.BaseIntegrationsActionManager { - get dependencyType() { - return s.DataAction; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - constructor() { - super(), this.topic = (0, o.getTopic)("dataActionManager"), this.actionsForUsageSearch = [r2.dataActionActionType], this.additionalQueryParams = { secure: false }, this.defaultInputsWithNoDefaultToNotSet = true, this.dependencyContext = a.dataAction.dataAction, this.className = "DataActionManager", this._initialize(); + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findSchedule.findScheduleNameLabel, searchResultLabel: d.findActions.findSchedule.findScheduleResultLabel, searchResultExpressionOptions: a.ExpressionTypeScheduleOptions.create(), searchResultItemType: r.expressionTypeNames.schedule }); } } - t2.DataActionManager = l, t2.dataActionManager = new l(); - }, 28267: (e2, t2, i2) => { - function n2() { - this.format = void 0, this.inputSchema = void 0, this.method = void 0, this.successSchema = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "BridgeServerRequest"), e2.exports = n2; - }, 28290: (e2, t2, i2) => { + 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; + }, 59463(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeVideoOptions = void 0; - 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); - } - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get className() { - return "ExpressionTypeVideoOptions"; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findScheduleGroup.findScheduleGroupNameLabel, searchResultLabel: d.findActions.findScheduleGroup.findScheduleGroupResultLabel, searchResultExpressionOptions: a.ExpressionTypeScheduleGroupOptions.create(), searchResultItemType: r.expressionTypeNames.scheduleGroup }); } - get isExpressionTypeVideoOptions() { - return true; + } + 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; + }, 80700(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get supportsLiteralMode() { - return (0, o.isFeatureAvailable)(a.default.cannedResponseAttachmentsPostGaFeature); + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findSkill.nameLabel, searchResultLabel: d.findActions.findSkill.resultLabel, searchResultExpressionOptions: a.ExpressionTypeSkillOptions.create(), searchResultItemType: r.expressionTypeNames.skill }); } } - t2.ExpressionTypeVideoOptions = s; - }, 28323: (e2, t2, i2) => { + 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; + }, 78534(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._intent = this.coreFactory.createArchValueFromExpression(e3.intent); + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get _actionTypeId() { - return r2.setActiveIntentActionType; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findSystemPrompt.nameLabel, searchResultLabel: d.findActions.findSystemPrompt.resultLabel, searchResultExpressionOptions: a.ExpressionTypePromptOptions.create(), searchResultItemType: r.expressionTypeNames.prompt }); } - get displayTypeName() { - return "ArchActionSetIntent"; + } + 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; + }, 12722(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get intent() { - return this._intent; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findUser.nameLabel, searchResultLabel: d.findActions.findUser.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUserOptions.create(), searchResultItemType: r.expressionTypeNames.userQueue }); } - get isArchActionSetIntent() { - return true; + } + 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; + }, 5486(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); + } + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.findUser.idLabel, searchResultLabel: d.findActions.findUser.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUserOptions.create(), searchResultItemType: r.expressionTypeNames.userQueue }); } } - t2.default = o; - }, 28326: (e2, t2, i2) => { + 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; + }, 67444(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(38249), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(37873)); - class s extends a.default { - constructor(e3) { - super(e3), this._coreErrorHandlingSettingsViewModel = e3, e3.audio && (this._preHandlingAudio = this.coreFactory.createArchWrapper(e3.audio)), e3.queue && (this._targetArchQueue = this.coreFactory.createArchWrapper(e3.queue)), e3.abortMessage && (this._abortMessage = this.coreFactory.createArchWrapper(e3.abortMessage)); + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get displayTypeName() { - return "ArchSettingsEventErrorFlow"; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findUserPrompt.nameLabel, searchResultLabel: d.findActions.findUserPrompt.resultLabel, searchResultExpressionOptions: a.ExpressionTypePromptOptions.create(), searchResultItemType: r.expressionTypeNames.prompt }); } - get logStr() { - if (!this._coreErrorHandlingSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - let t3; - switch (this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._appendLogStrSettingErrorHandlingFlow(e3, this.handling), this.handling) { - case o.default.EVENTS_FLOW_ERROR_HANDLING.jumpToMenu: - this._targetArchMenu && (t3 = this._targetArchMenu.logStr); - break; - case o.default.EVENTS_FLOW_ERROR_HANDLING.transferToQueue: - this._targetArchQueue && (t3 = this._targetArchQueue.logStr); - break; - case o.default.EVENTS_FLOW_ERROR_HANDLING.jumpToTask: - this._targetArchTask && (t3 = this._targetArchTask.logStr); - break; - case o.default.EVENTS_FLOW_ERROR_HANDLING.abortSend: - this._abortMessage && (t3 = this._abortMessage.logStr); - } - return t3 && this._appendLogStrPartRawString(e3, t3), this._createLogStrFromParts(e3); + } + 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; + }, 37687(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get isArchSettingsEventErrorFlow() { - return true; + static get branchInfo() { + return r.default.foundPartiallyFoundNotFound; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().parentFlow); + static get managedProperties() { + return o.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 }); } - get preHandlingAudio() { - return this._preHandlingAudio; + } + 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; + }, 78785(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get handling() { - return r2.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreErrorHandlingSettingsViewModel.handlingType); + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldLabel: d.findActions.findUtilizationLabel.nameLabel, searchResultLabel: d.findActions.findUtilizationLabel.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUtilizationLabelOptions.create(), searchResultItemType: r.expressionTypeNames.utilizationLabel }); } - set handling(e3) { - const t3 = this._infoPropSet("newErrorEventHandlingTypeValue", "handling"); - this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL), this.isErrorHandlingTypeAvailable(e3) || this.logItemErrorAndThrow(t3, `the handling type of '${e3}' is not available for the flow type '${this.parentFlow.flowType}'.`); - const i3 = r2.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); - this.logNote(`setting the flow error handling type to '${e3}'.`), this._coreErrorHandlingSettingsViewModel.handlingType = i3; + } + 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; + }, 55048(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - isErrorHandlingTypeAvailable(e3) { - return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isErrorHandlingValueAvailable"), e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL), r2.archHandlingTypeConversion.findHandlingTypeForValue(this._coreErrorHandlingSettingsViewModel.handlingTypes, e3); + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneyOutcome.idLabel, searchResultLabel: d.findActions.getJourneyOutcome.resultLabel, searchResultExpressionOptions: r.ExpressionTypeComplexOptions.create(), searchResultItemType: a.expressionTypeNames.journeyOutcome }); } - isRecognitionErrorHandlingTypeAvailable(e3) { - return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isRecognitionErrorHandlingTypeAvailable"), e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL), r2.archHandlingTypeConversion.findHandlingTypeForValue(this._getCoreViewModel().recognitionHandlingTypes, e3); + } + 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; + }, 184(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - isAgentEscalationHandlingTypeAvailable(e3) { - return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isAgentEscalationHandlingTypeAvailable"), e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL), r2.archHandlingTypeConversion.findHandlingTypeForValue(this._getCoreViewModel().agentEscalationHandling.handlingTypes, e3); + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneyOutcomeScoresBySession.idLabel, searchResultLabel: d.findActions.getJourneyOutcomeScoresBySession.resultsLabel, searchResultExpressionOptions: r.ExpressionTypeComplexOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.journeyOutcomeScore }); } - get targetMenu() { - return this._targetArchMenu; + } + 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; + }, 80251(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - set targetMenu(e3) { - this._checkItem(this._infoPropSet("archMenuTarget", "targetMenu"), !e3 || !e3.isArchMenu, "you cannot set the targetMenu to an object that is not an Architect menu"), this.logNote("setting the event error handling menu of " + e3.logStr), this._targetArchMenu = e3, this._getCoreViewModel().menuReference = e3.id; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneySegment.idLabel, searchResultLabel: d.findActions.getJourneySegment.resultLabel, searchResultExpressionOptions: r.ExpressionTypeComplexOptions.create(), searchResultItemType: a.expressionTypeNames.journeySegment }); } - get targetState() { - return this._targetArchState; + } + 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; + }, 84684(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - set targetState(e3) { - this._checkItem(this._infoPropSet("archStateTarget", "targetState"), !e3 || !e3.isArchState, "you cannot set the targetState to an object that is not an Architect state"), this.logNote("setting the event error handling state of " + e3.logStr), this._targetArchState = e3, this._getCoreViewModel().stateReference = e3.id; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneySession.idLabel, searchResultLabel: d.findActions.getJourneySession.resultLabel, searchResultExpressionOptions: r.ExpressionTypeComplexOptions.create(), searchResultItemType: a.expressionTypeNames.journeySession }); } - get targetTask() { - return this._targetArchTask; + } + 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; + }, 91606(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - set targetTask(e3) { - this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !e3 || !e3.isArchTask, "you cannot set the targetTask to an object that is not an Architect task"), this.logNote("setting the event error handling task of " + e3.logStr), this._targetArchTask = e3, this._getCoreViewModel().taskReference = e3.id; + static get managedProperties() { + const e3 = o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e4) => e4.facets.setLengthForUuid(), searchFieldLabel: p.findActions.getJourneySessionsByCustomer.idLabel, searchResultLabel: p.findActions.getJourneySessionsByCustomer.resultsLabel, searchResultExpressionOptions: r.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; } - get targetQueue() { - return this._targetArchQueue; + } + _.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 = _; + }, 66347(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(942)), r = 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 o.default { + constructor(e3, t3) { + super(e3.parentFlow, e3), this._loadModel(t3); } - get abortMessage() { - return this._abortMessage; + static get managedProperties() { + return o.default.createManagedProperties({ searchFieldPropertyName: "findId", searchFieldOptionsCallback: (e3) => e3.facets.setLengthForUuid(), searchFieldLabel: d.findActions.getJourneySessionsByExternalContact.idLabel, searchResultLabel: d.findActions.getJourneySessionsByExternalContact.resultsLabel, searchResultExpressionOptions: r.ExpressionTypeComplexOptions.create((e3) => e3.setIsCollection(true)), searchResultItemType: a.expressionTypeNames.journeySession }); } } - t2.default = s; - }, 28333: (e2, t2, i2) => { + 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; + }, 44307(e2, t2, i2) { + "use strict"; + t2.snapshotReferencedObject = function(e3, t3, i3, n3, s, l) { + if (!e3 || !t3 || !i3) return; + if (!(function(e4) { + switch (e4) { + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: + return (0, a.isFeatureAvailable)(r.default.botFlowsBotsCallingBots) || (0, a.isFeatureAvailable)(r.default.flowStubbing); + default: + return (0, a.isFeatureAvailable)(r.default.flowStubbing); + } + })(t3)) return; + if (!i3) return; + let u = e3.referencedObjects; + u || (u = {}); + let c = u.flows; + if (null == c ? void 0 : c.length) { + if (c.find((e4) => e4.flow.name === i3 && e4.flow.type === t3)) return; + } else u.flows = c = []; + const d = (function(e4, t4, i4, n4, o2) { + if (!e4 || !t4) return; + return { flow: { name: e4, type: t4, defaultLanguage: i4, variables: (function(e5, t5) { + const i5 = /* @__PURE__ */ new Map(); + (null == e5 ? void 0 : e5.items) && e5.items.forEach((e6) => { + const t6 = null == e6 ? void 0 : e6.name; + t6 && i5.set(t6, { name: t6, type: null == e6 ? void 0 : e6.type, isInput: true, isOutput: false }); + }), (null == t5 ? void 0 : t5.items) && t5.items.forEach((e6) => { + const t6 = null == e6 ? void 0 : e6.name; + if (t6) { + const n6 = i5.get(t6); + n6 ? n6.isOutput = true : i5.set(t6, { name: t6, type: null == e6 ? void 0 : e6.type, isInput: false, isOutput: true }); + } + }); + const n5 = []; + return i5.forEach(({ name: e6, type: t6, isInput: i6, isOutput: o3 }) => { + const r2 = null == t6 ? void 0 : t6.yamlTypeName; + if (r2) { + const t7 = `${r2}Variable`, a2 = { [t7]: { name: e6, isInput: i6, isOutput: o3 } }; + n5.push(a2); + } + }), n5; + })(n4, o2) } }; + })(i3, t3, n3, s, l); + d && (c.push(d), e3.referencedObjects || (e3.referencedObjects = u)); + }, t2.getFlowConfigFromSnapshot = function(e3, t3, i3) { + var n3, o2; + return (null === (o2 = null === (n3 = null == e3 ? void 0 : e3.referencedObjects) || void 0 === n3 ? void 0 : n3.flows) || void 0 === o2 ? void 0 : o2.length) ? e3.referencedObjects.flows.find((e4) => e4.flow.name === t3 && e4.flow.type === i3) : null; + }; + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(4648)), a = i2(10798); + }, 52910(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), c = i2(43011), d = n2.__importDefault(i2(56549)), p = n2.__importDefault(i2(40559)); - class _ extends p.default { - constructor(e3) { - super(e3, c.userPromptListManager); + const n2 = i2(31635), o = n2.__importStar(i2(63824)), r = 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 f extends a.default { + constructor(e3, t3, i3) { + super(e3, t3, i3), this.allowSecure = false, this.allowErrorSchema = false; } - get _globalTypeName() { - return "promptCollection"; + static get branchInfo() { + return s.default.successFailureTimeout; } - get displayTypeName() { - return "ArchValuePromptCollection"; + static get managedProperties() { + 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(o.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; } - addLiteralByPromptNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = this._infoParm("promptName", "addLiteralByPromptNameAsync"); - 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 : c.userPromptListManager; - e3 = (0, l.removePrefix)(e3); - const h = yield d.default.findItemByValueAsync(_2, e3, "prompt"); - return this._addNetworkModelToCollection(h), r2.default.executeCallback(this, "addLiteralByPromptNameAsync", t3, this); - }); + loadDataSchemas(e3) { + 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(); } - addLiteralByPromptIdAsync(e3, t3) { - 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 d.default.findItemByIdAsync(c.userPromptListManager, e3, "prompt"); - return this._addNetworkModelToCollection(n3), r2.default.executeCallback(this, "addLiteralByPromptIdAsync", t3, this); - }); + validate(e3) { + switch (super.validate(e3), this.timeout.mode) { + case r.expression: + this.timeout.options.literalOnly && e3.addError(this, g.expression.expressionModeNotAllowed); + break; + case r.builder: + this.timeout.options.literalOnly && e3.addError(this, g.expression.builderModeNotAllowed); + } } - get isArchValuePromptCollection() { - return true; + get yamlActionSectionName() { + return "dataAction"; } - } - t2.default = _; - }, 28350: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createWorkitem = t2.getSchema = t2.getWorktype = t2.getWorktypes = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(80408)), o = n2.__importDefault(i2(48019)), a = i2(42607), s = n2.__importDefault(i2(67377)), l = n2.__importDefault(i2(36019)), u = { ignoreBadResponse: true }; - t2.getWorktypes = l.default.request("POST", "{public-api.apps}/api/v2/taskmanagement/worktypes/query", a.WorktypeList, u), t2.getWorktype = l.default.request("GET", "{public-api.apps}/api/v2/taskmanagement/worktypes/{id}?expands=defaultQueue,defaultLanguage,schema,defaultSkills", o.default, u), t2.getSchema = l.default.request("GET", "{public-api.apps}/api/v2/taskmanagement/workitems/schemas/{id}", s.default, u), t2.createWorkitem = l.default.request("POST", "{public-api.apps}/api/v2/taskmanagement/workitems/", r2.default, u); - }, 28403: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(93805), o = i2(45214), { uuid: a } = i2(9456); - function s() { - this.createDateTimeStr = void 0, this.id = void 0, s.baseConstructor.apply(this, arguments), n2.isUndefined(this.createDateTimeStr) && (this.createDateTimeStr = (/* @__PURE__ */ new Date()).toISOString()), n2.isUndefined(this.id) && (this.id = a()); - } - o.extend(s, "BaseClipboardModel"), Object.defineProperties(s.prototype, { cloneToRawJsonObject: { value: function(e3) { - return n2.isUndefined(e3) || null === e3 ? e3 : n2.deepClone(e3); - } }, dependencies: { enumerable: true, get: function() { - return this._dependencies; - }, set: function(e3) { - this._variables = this.reviveItem(e3, r2); - } } }), e2.exports = s; - }, 28443: (e2, t2, i2) => { - "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 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; + _configureFromModel(e3, t3, i3) { + var o2, r2, 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, o3 = t3; + i3.registerDeferredOp({ type: `resolve_${this.yamlActionSectionName}`, execute: () => n2.__awaiter(this, void 0, void 0, function* () { + var t4, n3, r3; + 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, o3, i3), i3.currentPropertyName = "successOutputs", null === (n3 = this.outputs) || void 0 === n3 || n3.configureFromModel(s2.successOutputs, o3, i3), i3.currentPropertyName = "failureOutputs", null === (r3 = this.errorBindings) || void 0 === r3 || r3.configureFromModel(s2.failureOutputs, o3, 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 === (o2 = this.inputs) || void 0 === o2 || o2.configureFromModel(s2.inputs, t3, i3), i3.currentPropertyName = "successOutputs", null === (r2 = this.outputs) || void 0 === r2 || r2.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 o2 = n3; + for (const e5 of Object.keys(o2)) { + const t4 = o2[e5]; + if (!(0, p.isConfigureFromModelRecord)(t4)) continue; + const i4 = t4; + return { inputs: i4.inputs, successOutputs: i4.successOutputs, failureOutputs: i4.failureOutputs, actionId: e5 }; + } + } } } - t2.ScreenPopManager = c, t2.screenPopManager = new c(); - }, 28447: (e2, t2, i2) => { + f.className = "BaseIntegrationsAction", t2.default = f; + }, 61086(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), 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"); + const n2 = i2(31635), o = i2(96618), r = 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() { } - get _actionTypeId() { - return s.lexActionType; + constructor(e3, t3, i3) { + super(e3.parentFlow, e3), this._serverManager = i3, this._loadModel(t3); } - get displayTypeName() { - return this._scriptingName; + getDetails() { + return this.actionName ? new d.ActionDetails([m.bridgeServer.action], [this.actionName]) : null; } - get isArchActionCallLexBot() { - return true; + getCachedServerPropertyByName(e3, t3) { + return this._serverManager.getCachedServerPropertyByName(e3, this.actionId, t3, this); } - setLexBotAliasByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("lexBotAliasId", "setLexBotAliasByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByIdAsync"), t3, true), this._setLexBotAliasByIdAsync("setLexBotAliasByIdAsync", e3, t3); + getServerActionOrCachedAction() { + return this._serverManager.getItem(this.actionId) || this._serverManager.getItemFromFlowMetadata(this, this[this._serverManager.actionPropertyForUsageSearch]); } - 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.`), 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"))); + _preDestroy() { + super._preDestroy(), this._serverManager.tryRemoveItemFromFlowMetadata(this, this.actionId); } - get startAudio() { - return r2.__classPrivateFieldGet(this, n2, "f"); + mergeSchemaProperties(e3) { + e3 && (this.allowErrorSchema && e3.errorSchema && this._serverManager.mergeSchemaProperties(e3.errorSchema.properties, this.errorBindings), e3.inputSchema && this._serverManager.mergeSchemaProperties(e3.inputSchema.properties, this.inputs), e3.successSchema && this._serverManager.mergeSchemaProperties(e3.successSchema.properties, this.outputs)); } - } - 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)), 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) { - super(e3, t3, i3); + 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)), c.validateItem(this, false, true); } - get className() { - return "SurveyAnswerOptionType"; + static get managedProperties() { + return [{ property: "category", isJustForFlowYaml: true, yamlOptions: g.createYamlOptions("category", (e3) => e3.setSkipProperty(true).setExportOrder(50)) }]; } - createExpressionOptionClass() { - return new s.ExpressionTypeSurveyAnswerOptionOptions(); + static createProcessingManagedExpression() { + return { label: m.bridgeServer.processingPrompt, options: s.ExpressionTypePromptOptions.create((e3) => e3.setIninTestingField("processingPrompt").setAsInput(true).setRequireAudio(true).setAllowEmptyConfig(true).setAllowNoValueModeWithNoFallback(true).setIsOptional(true).setNewInstanceDefaultExpressionCallback((e4) => l.systemPromptListManager.promptHasAudioForLanguages(e4.parentFlow, "__processing__").then((t3) => { + t3 ? e4.update("processing", "__processing__") : e4.topic.warning(`Not setting processing prompt because its missing audio for flows language ${e4.parentFlow.languages.supportedLanguages}`); + }).catch((t3) => { + e4.topic.errorPromise(t3, "failed to find __processing__ prompt"); + })).setAllowFlowLevelDefault(true).setScriptingPropertyName("processingPrompt")), property: "processingPrompt", supportedFlowTypes: o.flowTypes.flowTypesAllVxmlgenAndVoice, type: _.expressionTypeNames.prompt, yamlOptions: g.createYamlOptions("processingPrompt", (e3) => e3.setExportOrder(30)) }; } - _getLiteralValueOfExpression() { - return ""; + static get branchInfo() { } - validateLiteral(e3, t3) { - return true; + clearSchemaBindings() { + this.outputs && a.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(), this.inputs && a.default.isFunction(this.inputs.destroyChildren) && this.inputs.destroyChildren(), this.errorBindings && a.default.isFunction(this.errorBindings.destroyChildren) && this.errorBindings.destroyChildren(); } - get supportsLiteralEditor() { + get isBaseServerAction() { return true; } - getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { - const r3 = super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3); - return null == r3 || delete r3.id, r3; + search(e3) { + super.search(e3), e3.checkText(this, this.actionName, this._serverManager.dependencyContext); } - setDtmf(e3, i3) { - var n3; - if (!(null == e3 ? void 0 : e3.isLiteralMode)) return false; - const r3 = e3.getProperty(t2.PROP_ID, true); - if (!r3) return false; - const o2 = r3.text; - if (!o2) return false; - const a2 = e3.getProperty(t2.PROP_DTMF, true); - return !!a2 && !!(null === (n3 = e3.parentFlow) || void 0 === n3 ? void 0 : n3.setAnswerOptionDtmf(o2, i3)) && void (i3 !== a2.text && a2.setAsLiteral(i3)); + get serverManager() { + return this._serverManager; } - static createExpressionOptionClass() { - return new s.ExpressionTypeSurveyAnswerOptionOptions(); + updateDependencies() { + this.actionName && this.actionId && this._serverManager.registerConsumer(this, this.actionName, this.actionId), super.updateDependencies(); } - static create(e3, t3, i3) { - 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; + _initializeDesignTime() { + const e3 = this.getServerActionOrCachedAction(); + this.mergeSchemaProperties(e3), super._initializeDesignTime(), !this.allowErrorSchema && this.errorBindings && (this.errorBindings.outOfService = true); } - populateFromSurveyAnswerOption(e3, i3) { - if (!e3) return; - e3.mode = u.literal; - const n3 = e3.getProperty(t2.PROP_ID), r3 = e3.getProperty(t2.PROP_TEXT), o2 = e3.getProperty(t2.PROP_DTMF); - 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)); + commonServerActionPostProcessYamlConfig(e3, t3, i3) { + const n3 = this.getServerActionOrCachedAction(); + if ((null == n3 ? void 0 : n3.category) && (null == n3 ? void 0 : n3.name)) { + e3.category = {}, e3.category[n3.category] = {}, e3.category[n3.category][this.yamlActionSectionName] = {}; + const t4 = e3.category[n3.category][this.yamlActionSectionName][n3.name] = {}; + a.default.moveAndDeleteProperty(e3, t4, "inputs"), a.default.moveAndDeleteProperty(e3, t4, "successOutputs"), a.default.moveAndDeleteProperty(e3, t4, "failureOutputs"), Object.keys(t4).length || a.default.ensureYamlNoneTrue(t4); + } else delete e3.inputs, delete e3.successOutputs, delete e3.failureOutputs; } - static _disableDTMFChoiceCallback(e3, t3) { - 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 === (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; - })); + validate(e3) { + var t3, i3, n3; + if (super.validate(e3), this._serverManager.insufficientAuthorizations) return void e3.addError(this, h.externalAuthorizations.getAuthValidationWarning(this._serverManager.requiredAuth)); + const o2 = this.getServerActionOrCachedAction(); + o2 && ("schemas.not.available" === o2.result ? e3.addError(this, m.inputOutputList.unableToRetrieveSchema) : o2.schemaInError && (o2.inputSchemaInError && e3.addError(this, (0, r.sprintf)(m.inputOutputList.schemaError, m.inputOutputList.inputs)), o2.successOutputSchemaInError && e3.addError(this, (0, r.sprintf)(m.inputOutputList.schemaError, m.inputOutputList.successOutputs)), o2.failureOutputSchemaInError && this.allowErrorSchema && e3.addError(this, (0, r.sprintf)(m.inputOutputList.schemaError, m.inputOutputList.failureOutputs)))), e3.isDeep && this.mergeSchemaProperties(o2), ((null === (t3 = null == o2 ? void 0 : o2.inputSchema) || void 0 === t3 ? void 0 : t3.hasArrayPropertyWithNoType) || (null === (i3 = null == o2 ? void 0 : o2.errorSchema) || void 0 === i3 ? void 0 : i3.hasArrayPropertyWithNoType) || (null === (n3 = null == o2 ? void 0 : o2.successSchema) || void 0 === n3 ? void 0 : n3.hasArrayPropertyWithNoType)) && e3.addWarning(this, (0, r.sprintf)(m.inputOutputList.arrayWithNoType, o2.name)), (null == o2 ? void 0 : o2.inputSchemaMixedTypeWarning) && e3.addWarning(this, (0, r.sprintf)(m.inputOutputList.arrayWithMixedTypes, m.inputOutputList.inputs, o2.name)), (null == o2 ? void 0 : o2.successOutputSchemaMixedTypeWarning) && e3.addWarning(this, (0, r.sprintf)(m.inputOutputList.arrayWithMixedTypes, m.inputOutputList.successOutputs, o2.name)), (null == o2 ? void 0 : o2.failureOutputSchemaMixedTypeWarning) && e3.addWarning(this, (0, r.sprintf)(m.inputOutputList.arrayWithMixedTypes, m.inputOutputList.failureOutputs, o2.name)); } - getDtmf(e3) { - var i3; - return null === (i3 = null == e3 ? void 0 : e3.getProperty(t2.PROP_DTMF, true)) || void 0 === i3 ? void 0 : i3.text; + } + g.className = "BaseServerAction", t2.default = g; + }, 28690(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(73198)), r = 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, 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 }; } - populateFromSurveyAnswerOptions(e3, i3) { - e3 && (e3.setAsNoValue(), e3.setModeWithTransition(u.literal, void 0), r2.default.each(i3, (i4, n3) => { - const r3 = e3.collectionItems.createItem(null, null, e3.options), o2 = `surveyAnswerOption_${n3}`; - r3.options.setIninTestingField(o2), e3.collectionItems.addItem(r3), r3.type.populateFromSurveyAnswerOption(r3, i4); - const a2 = r3.getProperty(t2.PROP_DTMF, true); - null == a2 || a2.options.setIninTestingField(`${o2}_DTMF`); - const s2 = r3.getProperty(t2.PROP_TEXT, true); - null == s2 || s2.options.setIninTestingField(`${o2}_TEXT`); - })); + static get branchInfo() { + return l.default.successFailureTimeout; + } + get isBridgeAction() { + return true; + } + static get managedProperties() { + 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(r.durationStyles.secondsAndTenthsDuration).facets.setMinDur(100, true)), property: "timeout", yamlOptions: y.createYamlOptions("timeout", (e4) => e4.setExportOrder(40)), type: a.expressionTypeNames.duration }, { createDetails: m.ServerActionTimeoutSettings.createCreateDetails(o.default.litDurationFiveSeconds), property: "serverActionTimeoutSettings", yamlOptions: y.createYamlOptions("serverActionTimeoutSettings", (e4) => e4.setSkipProperty(true)) }]; + return e3.push(g.default.createProcessingManagedExpression()), e3; + } + updateDependencies() { + this.actionName && !this.actionId && (this.actionId = this.actionName), super.updateDependencies(); + } + postProcessYamlConfig(e3, t3, i3) { + this.commonServerActionPostProcessYamlConfig(e3, t3, i3); + } + get yamlActionSectionName() { + return "bridgeAction"; } } - 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) => { + 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; + }, 18468(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), 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: 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"; - })(w || (t2.slotTypeValueMergeMode = w = {})), (function(e3) { - e3.custom = "custom", e3.slot = "slot", e3.slotType = "slotType"; - })(R || (R = {})); - class D extends y.BasedOnChoicesType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "ChooserType"; + const n2 = i2(31635), o = i2(96618), r = 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) || !r.default.contains(o.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 }; } - get isChooserType() { + get isDataAction() { return true; } - getPropQuickReplies(e3, i3) { - return e3.getProperty(t2.PROP_QUICK_REPLIES, i3); + getFlowInfoSpecDependencyAnnotation() { + var e3; + if (null === (e3 = this.actionName) || void 0 === e3 ? void 0 : e3.length) return `-> dataAction ${this.getFlowInfoSpecNameLabel(this.actionName)}`; } - canConvertLitToExpression(e3) { - return false; + static get managedProperties() { + return [{ property: "actionSetting", createDetails: p.NetworkBasedActionProperty.createCreateDetails("actionId", "actionName", s.dataActionManager, m.dataAction.mustSelectAction, m.dataAction.actionNotFound, "categorySetting"), yamlOptions: g.createYamlOptions("actionSetting", (e3) => e3.setSkipProperty(true)) }, { allowSecure: false, dataList: true, property: "inputs" }, { createDetails: _.ServerActionSchemaCategoryReference.createCreateDetails(a.dataActionCategoryManager), property: "categorySetting", yamlOptions: g.createYamlOptions("categorySetting", (e3) => e3.setSkipProperty(true)) }, { dataList: true, isOutput: true, property: "errorBindings", yamlOptions: g.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs")) }]; } - convertLitToExpression(e3, t3, i3) { - return ""; + postProcessYamlConfig(e3, t3, i3) { + this.commonServerActionPostProcessYamlConfig(e3, t3, i3); } - createExpressionOptionClass() { - return new u.ExpressionTypeChooserOptions(); + } + 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; + }, 23308(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, 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; } - getYamlObjectForLiteralSingleton(e3, i3, n3, r3) { - const o2 = super.getYamlObjectForLiteralSingleton(e3, i3, n3, r3); - return p.isFeatureAvailable(g.default.botFlowsMessagingDatePicker) && this.isSelectedSlotTypeDynamicDateTime(e3) ? this.isSelectedSlotTypeDynamicDateTime(e3) && (delete o2[t2.PROP_QUICK_REPLIES], delete o2[t2.PROP_CAROUSEL]) : delete o2[t2.PROP_TIMEPICKER], o2; + set actionName(e3) { + this.datatableName = e3; } - deleteChoiceAtIndex(e3, i3) { - if (i3 < 0) return false; - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: { - const t3 = this.getPropQuickReplies(e3); - return t3.type.deleteChoiceAtIndex(t3, i3); - } - case t2.PRESENTATION_MODE_CAROUSEL: { - const n3 = e3.getProperty(t2.PROP_CAROUSEL); - return n3.type.deleteChoiceAtIndex(n3, i3); - } - } - return false; + get actionId() { + return this.datatableId; } - get supportsLiteralEditor() { - return true; + set actionId(e3) { + this.datatableId = e3; } - getPropPresentation(e3) { - return null == e3 ? void 0 : e3.getProperty(t2.PROP_PRESENTATION, true); + getDetails() { + return this.actionName ? new p.ActionDetails([A.dataTable.dataTable], [this.actionName]) : null; } - getPresentationModeStr(e3) { - var i3; - return null === (i3 = null == e3 ? void 0 : e3.getProperty(t2.PROP_PRESENTATION, true)) || void 0 === i3 ? void 0 : i3.text; + getFlowInfoSpecDependencyAnnotation() { + var e3; + if (null === (e3 = this.datatableName) || void 0 === e3 ? void 0 : e3.length) return `-> dataTable ${this.getFlowInfoSpecNameLabel(this.datatableName)}`; + } + setNewInstanceDefaults() { + super.setNewInstanceDefaults(), this.lookupKeyValue.outOfService = true; } - getPresentationModeIsQuickReplies(e3) { - return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_QUICK_REPLIES; + get isDataTableLookupAction() { + return true; } - getPresentationModeIsCarousel(e3) { - return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_CAROUSEL; + _loadModel(e3) { + super._loadModel(e3), this.inputs = new r.DataPairList(this, [], false); + const t3 = new a.default(this.model.lookupKeyValue, this.lookupKeyValue.type, this.lookupKeyValue); + t3.name = "lookupKeyValue", this.inputs.addItem(t3); } - getPresentationModeIsTimePicker(e3) { - return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_TIMEPICKER; + clearSchemaBindings() { + var e3, t3; + o.default.isFunction(null === (e3 = this.outputs) || void 0 === e3 ? void 0 : e3.destroyChildren) && this.outputs.destroyChildren(), this.lookupKeyValue && this.lookupKeyValue.clear(true), o.default.isFunction(null === (t3 = this.errorBindings) || void 0 === t3 ? void 0 : t3.destroyChildren) && this.errorBindings.destroyChildren(); } - getPresentationModeIsListPicker(e3) { - return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_LISTPICKER; + 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", 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")) }]; } - getPossibleChoices(e3, i3, n3) { - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: { - const r3 = e3.getProperty(t2.PROP_QUICK_REPLIES); - return r3.type.getPossibleChoices(r3, i3, n3); - } - case t2.PRESENTATION_MODE_CAROUSEL: { - const r3 = e3.getProperty(t2.PROP_CAROUSEL); - return r3.type.getPossibleChoices(r3, i3, n3); - } - case t2.PRESENTATION_MODE_LISTPICKER: { - const i4 = e3.getProperty(t2.PROP_LISTPICKER); - return i4.type.getPossibleChoices(i4, n3); + 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 && N.setExpressionWithSchemaProperty(this.lookupKeyValue, t3), this.lookupKeyValue.outOfService = o.default.isUndefined(t3); + } + _configureFromModel(e3, t3, i3) { + if ((0, f.isConfigureFromModelRecord)(e3.dataTable)) { + const o2 = e3.dataTable, r2 = Object.keys(o2)[0]; + if (r2) { + const e4 = t3, a2 = (0, f.isConfigureFromModelRecord)(o2[r2]) ? o2[r2] : void 0; + i3.registerDeferredOp({ type: "resolveDataTable", execute: () => n2.__awaiter(this, void 0, void 0, function* () { + var t4, n3; + try { + let o3 = c.dataTablesManager.findItemByName(r2); + if (!o3) { + for (const e5 of Object.values(c.dataTablesManager.items || {})) if (e5.displayName === r2 || e5.name === r2) { + o3 = e5; + break; + } + } + o3 ? (this.setIntegrationActionByViewModel(o3, 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", r2)); + } catch (e5) { + const t5 = e5 instanceof Error ? e5.message : String(e5); + i3.warn((0, S.sprintf)(T.configureFromModel.entityResolutionFailed, "dataTable", r2, t5)); + } + }) }); } } - return []; + super._configureFromModel(e3, t3, i3); } - getPresentationModeExpression(e3) { - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: - return this.getPropQuickReplies(e3); - case t2.PRESENTATION_MODE_CAROUSEL: - return e3.getProperty(t2.PROP_CAROUSEL); - case t2.PRESENTATION_MODE_TIMEPICKER: - return e3.getProperty(t2.PROP_TIMEPICKER); - case t2.PRESENTATION_MODE_LISTPICKER: - return e3.getProperty(t2.PROP_LISTPICKER); + postProcessYamlConfig(e3, t3, i3) { + if (this.actionName) { + e3.dataTable = {}; + const t4 = e3.dataTable[this.actionName] = {}; + o.default.moveAndDeleteProperty(e3, t4, "foundOutputs"), o.default.moveAndDeleteProperty(e3, t4, "failureOutputs"); } } - getChoiceErrorsExpression(e3) { - var t3; - const i3 = null === (t3 = this.getPresentationModeExpression(e3)) || void 0 === t3 ? void 0 : t3.type; - return (0, v.isListPickerExpressionType)(i3) ? i3.invalidChoicesErrors : E; + static get branchInfo() { + return u.default.foundNotFoundFailure; } - getHasAtLeastOnePostbackChoice(e3) { - if ((null == e3 ? void 0 : e3.isLiteralMode) && !e3.outOfService) switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: { - const t3 = this.getPropQuickReplies(e3); - return t3.type.getHasAtLeastOnePostbackChoice(t3); - } - case t2.PRESENTATION_MODE_CAROUSEL: { - const i3 = e3.getProperty(t2.PROP_CAROUSEL); - return i3.type.getHasAtLeastOnePostbackChoice(i3); - } - case t2.PRESENTATION_MODE_LISTPICKER: { - const i3 = e3.getProperty(t2.PROP_LISTPICKER); - return i3.type.getHasAtLeastOnePostbackChoice(i3); - } - } + getCachedServerPropertyByName(e3, t3) { + return this._serverManager.getCachedServerPropertyByName(e3, this.datatableId, t3, this); } - isUnknownAtDesignTime(e3) { - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: { - const t3 = this.getPropQuickReplies(e3); - return t3.type.isUnknownAtDesignTime(t3); - } - case t2.PRESENTATION_MODE_CAROUSEL: { - const i3 = e3.getProperty(t2.PROP_CAROUSEL); - return i3.type.isUnknownAtDesignTime(i3); - } - case t2.PRESENTATION_MODE_LISTPICKER: { - const i3 = e3.getProperty(t2.PROP_LISTPICKER); - return i3.type.isUnknownAtDesignTime(i3); - } - } + loadDataSchemas(e3) { + return e3 ? this.serverManager.fetchItem(e3.id) : Promise.resolve(); } - getPossibleStringFacetValues(e3) { - const t3 = [], i3 = this.getPossibleChoices(e3, true); - return s.default.each(i3, (e4) => { - const i4 = e4.type.getPossibleStringFacetValue(e4); - i4 && t3.push(i4); - }), t3; + } + 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; + }, 69091(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = i2(96618), r = 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) && o.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 }; } - getUsesDynamicListSlotType(e3) { - var t3; - return null === (t3 = this.getChooserSlotTypeNluInfo(e3)) || void 0 === t3 ? void 0 : t3.slotTypeIsDynamicList; + get isSecureAction() { + return true; } - getQuickRepliesIsOosForDynamicListSlotType(e3) { - var i3; - if (this.getPresentationModeStr(e3) !== t2.PRESENTATION_MODE_QUICK_REPLIES) return false; - const n3 = this.getChooserSlotTypeNluInfo(e3); - return !(!n3 || !n3.slotTypeIsDynamicList) && (null === (i3 = this.getPropQuickReplies(e3)) || void 0 === i3 ? void 0 : i3.outOfService); + static get managedProperties() { + 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(r.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")) }]; } - configureForMode(e3, i3, n3, r3) { - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: - const o2 = this.getPropQuickReplies(e3); - o2.type.configureFromChoices(o2, i3); - break; - case t2.PRESENTATION_MODE_CAROUSEL: - const a2 = e3.getProperty(t2.PROP_CAROUSEL); - a2.type.configureFromChoices(a2, i3, void 0, void 0, r3); - break; - case t2.PRESENTATION_MODE_LISTPICKER: - const s2 = e3.getProperty(t2.PROP_LISTPICKER); - s2.type.configureFromChoices(s2, n3); - } + get yamlActionSectionName() { + return "secureDataAction"; } - transitionToPresentationMode(e3, i3, n3, r3) { - const o2 = e3.getProperty(t2.PROP_PRESENTATION); - if (this.getPresentationModeStr(e3) !== i3) try { - let t3; - 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); - } + postProcessYamlConfig(e3, t3, i3) { + this.commonServerActionPostProcessYamlConfig(e3, t3, i3); } - _ensureCorrectExpressionModes(e3, t3, i3, n3) { - null == e3 || e3.options.setAllowModeLiteral(!n3 || !n3.slotTypeIsDynamicList), null == t3 || t3.options.setAllowModeLiteral(!n3 || !n3.slotTypeIsDynamicList), null == i3 || i3.options.setAllowModeLiteral(!n3 || !n3.slotTypeIsDynamicList); + } + 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; + }, 10751(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ChangeSet = void 0; + const n2 = i2(50474), o = i2(50474), r = 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; } - getMaxChoiceCountForPresentation(e3) { - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_CAROUSEL: - case t2.PRESENTATION_MODE_QUICK_REPLIES: - return f.dataTypeLimits.quickRepliesDataType.properties.buttons.maxItems.count; - case t2.PRESENTATION_MODE_LISTPICKER: - return f.dataTypeLimits.listPickerSectionType.properties.items.maxItems.count; - } + static getNextNumber() { + return p._nextNumber++; } - totalChoiceCountIsWithinLimits(e3) { - var t3; - if (null == e3 ? void 0 : e3.isLiteralMode) { - const i3 = (null === (t3 = this.getAllowableValues(e3)) || void 0 === t3 ? void 0 : t3.length) || 0, n3 = this.getMaxChoiceCountForPresentation(e3); - if (s.default.isActualNumber(n3) && i3 > n3) return false; - } - return true; + get changes() { + return this._changes; } - updatePropertiesOutOfServiceStatus(e3) { - if (!e3.isLiteralMode) return; - let i3 = false, n3 = false, r3 = false, o2 = true; - const a2 = this.getChooserSlotTypeNluInfo(e3); - if (this.getPropPresentation(e3).isLiteralMode) switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: - i3 = false, n3 = true, r3 = true, o2 = true, (null == a2 ? void 0 : a2.slotTypeIsDynamicList) ? i3 = true : a2 && (i3 = !this.totalChoiceCountIsWithinLimits(e3)); - break; - case t2.PRESENTATION_MODE_CAROUSEL: - n3 = false, r3 = true, o2 = true, i3 = true, a2 && (n3 = !this.totalChoiceCountIsWithinLimits(e3)); - break; - case t2.PRESENTATION_MODE_TIMEPICKER: - n3 = true, r3 = true, o2 = false, i3 = true; - break; - case t2.PRESENTATION_MODE_LISTPICKER: - n3 = true, r3 = false, o2 = true, i3 = true, a2 && (r3 = !this.totalChoiceCountIsWithinLimits(e3)); - break; - default: - this.isSelectedSlotTypeDynamicDateTime(e3) ? (i3 = n3 = true, o2 = false) : n3 = i3 = false; - } - const s2 = e3.getProperty(t2.PROP_CAROUSEL); - s2 && (s2.outOfService = n3); - const l2 = e3.getProperty(t2.PROP_LISTPICKER); - l2 && (l2.outOfService = r3, l2.type.updatePropertiesOutOfServiceStatus(l2)); - const u2 = this.getPropQuickReplies(e3); - u2 && (u2.outOfService = i3); - const c2 = e3.getProperty(t2.PROP_TIMEPICKER); - c2 && (c2.outOfService = o2), this._ensureCorrectExpressionModes(u2, s2, l2, a2); + toChangeSet() { + return this._changes.slice(); } - configurePropertyCreationParams(e3, i3, n3) { - switch (super.configurePropertyCreationParams(e3, i3, n3), i3.name) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: - n3.label = I.cardsAndCars.quickRepliesLabel, n3.options.setIninTestingField("chooser-quickReplies"); - break; - case t2.PRESENTATION_MODE_CAROUSEL: - n3.label = I.cardsAndCars.carouselLabel, n3.options.setIninTestingField("chooser-carousel"); - break; - case t2.PRESENTATION_MODE_TIMEPICKER: - n3.label = I.askForSlot.timePicker, n3.options.setIninTestingField("chooser-timePicker"); - break; - case t2.PRESENTATION_MODE_LISTPICKER: - n3.label = I.cardsAndCars.listPickerType.listPicker, n3.options.setIninTestingField("chooser-listPicker"); - break; - case t2.PROP_PRESENTATION: - n3.options.setIninTestingField("chooser-presentation"); - const e4 = s.default.findWhere(this.model.nativeProperties, { id: t2.PROP_PRESENTATION }); - if (null == e4 ? void 0 : e4.allowableValues) { - const i4 = e4.allowableValues.split(","), r3 = []; - p.isFeatureAvailable(g.default.botFlowsMessagingDatePicker) && !i4.includes(t2.PRESENTATION_MODE_TIMEPICKER) && r3.push(t2.PRESENTATION_MODE_TIMEPICKER), p.isFeatureAvailable(g.default.botFlowsAppleListPicker) && !i4.includes(t2.PRESENTATION_MODE_LISTPICKER) && r3.push(t2.PRESENTATION_MODE_LISTPICKER), r3.length && n3.options.facets.setAllowableValues([...i4, ...r3]); - } - } + 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; } - initializeDesignTime(e3) { - super.initializeDesignTime(e3), e3.type.updatePropertiesOutOfServiceStatus(e3); + static fromModel(e3) { + const t3 = new p(); + for (const i3 of e3.changes) t3._changes.push(i3); + return t3; } - propertiesCreatedForThisTypeInstance(e3) { - e3.type.updatePropertiesOutOfServiceStatus(e3), null == e3 || e3.addAutoCleanedUpSubscription(_.createObservableForEvent$(d.expressionValueChanged, e3).subscribe(() => this.updatePropertiesOutOfServiceStatus(e3))); + 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; } - updateNluInfo(e3) { - this.updateAllowableValues(e3), this.updatePropertiesOutOfServiceStatus(e3); + _addChange(e3) { + this._changes.push(e3); } - setValueSourceTypeToCustom(e3) { - 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}`); + addTask(e3, t3) { + const i3 = { taskToAdd: e3 }; + t3 && (i3.where = t3), this._addChange({ add: { task: i3 } }); } - setValueSourceTypeToSlot(e3, i3) { - 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}`); + addState(e3, t3) { + const i3 = { stateToAdd: e3 }; + t3 && (i3.where = t3), this._addChange({ add: { state: i3 } }); } - setValueSourceType(e3, t3, i3) { - 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}`); + addMenu(e3, t3) { + const i3 = { menuToAdd: e3 }; + t3 && (i3.where = t3), this._addChange({ add: { menu: i3 } }); } - getValueSourceType(e3) { - return e3.getUiMetaData(C); + addMenuChoice(e3, t3) { + this._addChange({ add: { menuChoice: { menuChoiceToAdd: e3, where: t3 } } }); } - getValueSourceTypeEnum(e3) { - return e3.getUiMetaData(C); + addActions(e3, t3) { + this._addChange({ add: { actions: { where: e3, actionsToAdd: t3 } } }); } - getValueSourceValue(e3) { - return e3.getUiMetaData(b); + addDelete(e3) { + this._addChange({ delete: { items: e3 } }); } - updateAllowableValues(e3) { - var i3; - if (!e3) return; - if (this.getPresentationModeIsTimePicker(e3)) return; - const n3 = this.getPossibleStringFacetValues(e3), r3 = e3.getProperty(t2.PROP_CAROUSEL); - if (r3 && !r3.outOfService) return r3.type.updateAllowableValues(r3, n3); - const o2 = e3.getProperty(t2.PROP_CARD); - if (o2 && !o2.outOfService) return o2.type.updateAllowableValues(o2, n3); - const a2 = this.getPropQuickReplies(e3); - a2 && !a2.outOfService && a2.isLiteralMode && s.default.each(null === (i3 = a2.collectionItems) || void 0 === i3 ? void 0 : i3.items, (e4) => { - e4.type.updateAllowableValues(e4, n3); - }); + addUpdate(e3) { + this._addChange({ update: e3 }); } - configureForSlotBySlotName(e3, i3, n3) { - 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), 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)); - })), this.configureForMode(e3, r3, _2), s.default.each(r3, (e4) => { - e4.destroy(); - }), r3.length = 0; + isUndoDeleteGroupActive() { + return this._undoDeleteGroupDepth > 0; } - getAllowableValues(e3) { - switch (this.getValueSourceType(e3)) { - case t2.VALUE_SOURCE_TYPE_SLOT: - return this.getSlotValues(e3, this.getValueSourceValue(e3)); - case t2.VALUE_SOURCE_TYPE_SLOT_TYPE: - return this.getSlotTypeValues(e3, this.getValueSourceValue(e3)); - } + beginUndoDeleteGroup() { + this._undoDeleteGroupDepth++; } - getIsSlotOrSlotTypeChooser(e3) { - if (e3) { - switch (this.getValueSourceTypeEnum(e3)) { - case R.slot: - case R.slotType: - return true; + 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, r.isActionsAddOperation)(t3.add)) { + const i3 = t3.add.actions.actionsToAdd; + (0, n2.isArray)(i3) && this._extractActionTypes(i3, e3); + continue; } - return false; + 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; } - getCanUserAddChoices(e3) { - var t3; - return !(null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.isAskForSlotActionViewModel); - } - getSlotTypeName(e3) { - switch (this.getValueSourceType(e3)) { - case t2.VALUE_SOURCE_TYPE_SLOT: - return this.getSlotTypeNameForSlotName(e3, this.getValueSourceValue(e3)); - case t2.VALUE_SOURCE_TYPE_SLOT_TYPE: - return this.getValueSourceValue(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]); } } - getSlotValues(e3, t3) { - const i3 = this.getSlotTypeNameForSlotName(e3, t3); - if (i3) return this.getSlotTypeValues(e3, i3); + _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); } - getSlotTypeValues(e3, t3) { - var i3; - if (t3) return null === (i3 = e3.parentFlow) || void 0 === i3 ? void 0 : i3.nluMetaData.getEntityTypeAllowableValues(t3); + _extractActionTypesFromMenuChoiceWrapper(e3, t3) { + if (!(0, o.isNonArrayObject)(e3)) return; + const i3 = e3, n3 = Object.keys(i3); + if (0 === n3.length) return; + const r2 = i3[n3[0]]; + this._extractActionTypesFromMenuChoiceBody(r2, t3); } - getSlotTypeNameForSlotName(e3, t3) { - var i3, n3; - if (t3) { - const r3 = t3.toLowerCase(); - return s.default.find(null === (n3 = null === (i3 = e3.parentFlow) || void 0 === i3 ? void 0 : i3.nluMetaData) || void 0 === n3 ? void 0 : n3.slotToEntityTypesMapping, (e4, t4) => (null == t4 ? void 0 : t4.toLowerCase()) === r3); - } + _extractActionTypesFromMenuChoiceBody(e3, t3) { + if (!(0, o.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, o.isNonArrayObject)(i3.menu) && this._extractActionTypesFromMenuYaml(i3.menu, t3); } - setLiteralQuickRepliesFromChoiceListViewModel(e3, i3) { - 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); - n3.type.setLiteralFromChoiceListViewModel(n3, i3); + _extractActionTypesFromTaskYaml(e3, t3) { + if (!(0, o.isNonArrayObject)(e3)) return; + const i3 = e3; + "actions" in i3 && (0, n2.isArray)(i3.actions) && this._extractActionTypes(i3.actions, t3); } - isSelectedSlotTypeList(e3) { - var t3; - return !!(null === (t3 = this.getChooserSlotTypeNluInfo(e3)) || void 0 === t3 ? void 0 : t3.slotTypeIsList); + } + t2.ChangeSet = p, p._nextNumber = 1; + }, 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." }; + }, 90205(e2, t2, i2) { + "use strict"; + t2.ChangeSetResultObject = void 0; + const n2 = i2(84464); + t2.ChangeSetResultObject = class { + constructor(e3, t3, i3, n3, o) { + this.id = e3, this.name = t3, this.trackingId = i3, this.actionTypeName = n3, this.containerName = o; } - isSelectedSlotTypeListOrDynamicList(e3) { - const t3 = this.getChooserSlotTypeNluInfo(e3); - return !!t3 && (t3.slotTypeIsList || t3.slotTypeIsDynamicList); + getAction(e3) { + return n2.actionRegistrationService.getActionById(e3, this.id); } - isSelectedSlotTypeDynamicDateTime(e3) { - const t3 = this.getChooserSlotTypeNluInfo(e3); - return !!t3 && t3.slotTypeIsDynamicDateTime; + }; + }, 76565(e2, t2, i2) { + "use strict"; + t2.ChangeSetResults = void 0; + const n2 = i2(31635), o = i2(79364), r = n2.__importDefault(i2(92140)), a = i2(65782), s = i2(19206); + t2.ChangeSetResults = class { + constructor() { + this.id = r.default.uniqueId("crResults"), this.isUndoRedo = false, this._byPath = /* @__PURE__ */ new Map(), this._byRefId = /* @__PURE__ */ new Map(), this._results = [], this._results$ = new o.Subject(), this.results$ = this._results$.asObservable(), this._lookupStats = /* @__PURE__ */ new Map(); } - hasNluDiffs(e3) { - if (!this.canApplyNluDiffs(e3)) return false; - const t3 = this.getChooserToSlotTypeDiffs(e3); - return !!t3 && (!t3.hasUnknownAtDesignTimeContents && !s.default.isUndefined(t3.missingSlotTypeValues) || !s.default.isUndefined(t3.invalidPostbackValueChoices) || t3.orderHasChanged); + get sourceIconName() { + return this.sourceEntityType === s.changeSetEntityType.copilot ? "fa/wand-magic-sparkles-regular" : "settings"; } - _applyNluDiffs(e3, i3, n3, r3) { - if (r3 || (r3 = this.getChooserToSlotTypeDiffs(i3)), !r3) return; - const o2 = this.getPresentationModeStr(i3), a2 = this.getAllowableValues(i3); - switch (o2) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: { - const t3 = this.getPropQuickReplies(i3); - t3.type.applyNluDiffs(e3, t3, r3), r3.orderHasChanged && (null == a2 ? void 0 : a2.length) && t3.type.reorderItemsByAllowableValues(t3, a2); - break; - } - case t2.PRESENTATION_MODE_CAROUSEL: { - const o3 = i3.getProperty(t2.PROP_CAROUSEL); - o3.type.applyNluDiffs(e3, o3, n3, r3); - break; - } - case t2.PRESENTATION_MODE_LISTPICKER: { - const o3 = i3.getProperty(t2.PROP_LISTPICKER); - o3.type.applyNluDiffs(e3, o3, n3, r3); - break; - } - default: - return; - } - r3.invalidPostbackValueChoices && (e3.invalidSlotTypeValuesNotRemoved = [], s.default.keys(r3.invalidPostbackValueChoices, (t3) => { - s.default.contains(e3.invalidSlotTypeValuesRemoved, t3) || (e3.invalidSlotTypeValuesNotRemoved || (e3.invalidSlotTypeValuesNotRemoved = []), e3.invalidSlotTypeValuesNotRemoved.push(t3)); - })), r3.missingSlotTypeValues && (e3.missingSlotTypeValuesNotAdded = [], s.default.each(r3.missingSlotTypeValues, (t3) => { - s.default.contains(e3.missingSlotTypeValuesAdded, t3) || (e3.missingSlotTypeValuesNotAdded || (e3.missingSlotTypeValuesNotAdded = []), e3.missingSlotTypeValuesNotAdded.push(t3)); - })), r3.orderHasChanged && (e3.valuesReordered = true), m.validateAction(i3.parent, void 0, true); + recordLookupRegistered(e3) { + const t3 = this._getOrCreateLookupStats(e3); + t3.total++, t3.inProgress++; } - _logNluDiffs(e3) { + recordLookupResolved(e3) { + const t3 = this._getOrCreateLookupStats(e3); + t3.succeeded++, t3.inProgress--; } - applyNluDiffs(e3, t3, i3) { - 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 = 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 = d2.invalidSlotTypeValuesRemoved) || void 0 === u2 ? void 0 : u2.length) && (this._logNluDiffs("Slot Type Values Removed"), d2.invalidSlotTypeValuesRemoved.forEach((e4) => { - this._logNluDiffs(` * ${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), d2; + recordLookupFailed(e3) { + const t3 = this._getOrCreateLookupStats(e3); + t3.failed++, t3.inProgress--; } - getChooserSlotTypeNluInfo(e3) { - var t3; - if (!e3) return; - const i3 = this.getValueSourceTypeEnum(e3); - switch (i3) { - 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, c2 = false, d2 = false, p2 = false; - switch (i3) { - 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; - 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 R.slotType: - if (u2 = this.getValueSourceValue(e3), !u2) break; - if (l2 = o.EntityUtil.getEntityTypeByName(n3, u2), !l2) break; - 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: c2, slotTypeIsDynamicList: d2, slotTypeIsDynamicDateTime: p2 }; + get lookupStats() { + return this._lookupStats; } - validateNluInfo(e3, t3, i3) { - if (!t3) return true; - if (t3.slotName) { - 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)(I.cardsAndCars.expression.chooserSlotTypeNotListOrDynamicListType, t3.slotNluEntityType.name)), false) : (i3.addExpressionError(e3, (0, a.sprintf)(I.cardsAndCars.expression.chooserSlotTypeNameIsNotValid, t3.slotTypeName)), false); + _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; } - _getChooserToSlotTypeDiffsHeader(e3) { - if (!e3) return; - if (!this.getIsSlotOrSlotTypeChooser(e3)) return; - let i3, n3 = true; - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: - i3 = this.getPropQuickReplies(e3, true), n3 = this.getCanUserAddChoices(e3); - break; - case t2.PRESENTATION_MODE_CAROUSEL: - i3 = e3.getProperty(t2.PROP_CAROUSEL, true); - break; - case t2.PRESENTATION_MODE_LISTPICKER: - i3 = e3.getProperty(t2.PROP_LISTPICKER, true); - } - if (!i3) return; - let r3 = this.isUnknownAtDesignTime(e3); - return !r3 && s.default.isUndefined(e3.type.getHasAtLeastOnePostbackChoice(e3)) && (r3 = true), { canReorderItems: n3, hasUnknownAtDesignTimeContents: r3 }; + get results() { + return this._results; } - getSlotTypeDiffsForChoices(e3, t3, i3, n3) { - let r3, o2, a2 = 0; - const l2 = {}, u2 = (e4, i4) => { - if (!(s.default.contains(t3, e4) || (0, N.isChoiceExpression)(i4) && i4.type.isSkipChoice(i4))) { - o2 || (o2 = {}); - let t4 = o2[e4]; - t4 ? t4.push(i4) : (t4 = [i4], o2[e4] = t4); - } - }; - let c2; - e3.forEach((e4) => { - if (!e4.isLiteralMode) { - const t4 = e4.getUiMetaData(A.MANAGED_SLOT_TYPE_VALUE); - return void (t4 && (u2(t4, e4), l2[t4] = true)); - } - if (e4.type.isTypeUnknownAtDesignTime(e4)) a2++; - else if (e4.type.getIsSlotOrSlotTypeChoice(e4)) { - if (e4.type.isValueUnknownAtDesignTime(e4)) return; - const t4 = e4.type.getValueStr(e4); - if (t4 || "" === t4) { - if (l2[t4]) { - r3 || (r3 = {}); - let i4 = r3[t4]; - return void (i4 ? i4.push(e4) : (i4 = [e4], r3[t4] = i4)); - } - u2(t4, e4), l2[t4] = true; + 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 = [], o2 = [], r2 = { 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), (r2[t4] || (r2[t4] = [])).push(e5), "action" === t4 && n4.actionTypeName && (u[n4.actionTypeName] || (u[n4.actionTypeName] = [])).push(e5); } - } else e4.type.isPostbackChoice(e4); - }), t3.forEach((e4) => { - l2[e4] || (c2 || (c2 = []), c2.push(e4)); - }); - 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) => { - if (e4.isLiteralMode && e4.type.getIsSlotOrSlotTypeChoice(e4) && !e4.type.isValueUnknownAtDesignTime(e4)) { - const i4 = e4.type.getValueStr(e4); - i4 && t3.includes(i4) && n4.push(i4); + } + 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); } - }), !i3 && n4.length > 0 && t3.length === n4.length) { - for (let e4 = 0; e4 < t3.length; e4++) if (t3[e4] !== n4[e4]) { - d2 = true; - break; + } + 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 }; + o2.push(e5), (l[t4] || (l[t4] = [])).push(e5), "action" === t4 && i4.actionTypeName && (c[i4.actionTypeName] || (c[i4.actionTypeName] = [])).push(e5); } } } - 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); - if (!i3) return; - const n3 = this.getAllowableValues(e3); - return this.getSlotTypeDiffsForChoices(t3, n3, i3.canReorderItems, i3.hasUnknownAtDesignTimeContents); - } - getChooserToSlotTypeDiffs(e3) { - const t3 = this._getChooserToSlotTypeDiffsHeader(e3); - if (!t3) return; - const i3 = this.getPossibleChoices(e3), n3 = this.getAllowableValues(e3); - return this.getSlotTypeDiffsForChoices(i3, n3, t3.canReorderItems, t3.hasUnknownAtDesignTimeContents); - } - canApplyNluDiffs(e3) { - var i3, n3; - if (!e3 || (null === (i3 = e3.parentFlow) || void 0 === i3 ? void 0 : i3.isReadOnly)) return false; - if (!this.getIsSlotOrSlotTypeChooser(e3)) return false; - if (null === (n3 = this.getPresentationModeExpression(e3)) || void 0 === n3 ? void 0 : n3.outOfService) return false; - switch (this.getPresentationModeStr(e3)) { - case t2.PRESENTATION_MODE_QUICK_REPLIES: - return this.getPropQuickReplies(e3).isLiteralMode; - case t2.PRESENTATION_MODE_CAROUSEL: - return e3.getProperty(t2.PROP_CAROUSEL).isLiteralMode; - case t2.PRESENTATION_MODE_LISTPICKER: { - const i4 = e3.getProperty(t2.PROP_LISTPICKER); - return !!i4.isLiteralMode && i4.getProperty(O.PROP_SECTIONS).isLiteralMode; + if (e3) { + r2.variable = (0, a.applyVariableDisplayNamesToOperationObjects)(r2.variable), s2.variable = (0, a.applyVariableDisplayNamesToOperationObjects)(s2.variable), l.variable = (0, a.applyVariableDisplayNamesToOperationObjects)(l.variable); + const e4 = new Map(r2.variable.map((e5) => [e5.id, e5.name])); + for (const t5 of i3) { + const i4 = e4.get(t5.id); + void 0 !== i4 && (t5.name = i4); } - } - return false; - } - validateLiteral(e3, t3) { - if (!t3) return true; - if (!this.getIsSlotOrSlotTypeChooser(t3)) return this.validateDuplicates(e3, t3); - const i3 = this.getChooserSlotTypeNluInfo(t3); - if (!i3) return false; - if (this.updatePropertiesOutOfServiceStatus(t3), i3.slotTypeIsDynamicList) return true; - if (!this.validateNluInfo(t3, i3, e3)) return false; - 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)(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; - }), n3.hasUnknownAtDesignTimeContents) return true; - if (n3.unknownAtDesignTimeChoiceCount) { - if (n3.slotTypeAllowableValues && n3.possibleChoices && n3.slotTypeAllowableValues.length !== n3.possibleChoices.length) return e3.addExpressionError(t3, (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserInvalidChoiceCountForSlotType, i3.slotTypeName)), false; - } else if (n3.missingSlotTypeValues) { - if (1 === n3.missingSlotTypeValues.length) e3.addExpressionError(t3, (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserNoChoicesConfiguredForSlotTypeValues, i3.slotTypeName, `'${n3.missingSlotTypeValues[0]}'`)); - else { - const r4 = h.getListDisplayString(`'${n3.missingSlotTypeValues.join("', '")}'`); - e3.addExpressionError(t3, (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserNoChoicesConfiguredForSlotTypeValues, i3.slotTypeName, r4)); + 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); } - return false; } - return super.validateLiteral(e3, t3); - } - couldHaveUnknownPostbackValue(e3, i3) { - if (!e3 || e3.outOfService) return false; - switch (e3.mode) { - case l.noValue: - return false; - case l.literal: - break; - default: - return i3; - } - const n3 = this.getPresentationModeStr(e3), r3 = !n3 || n3 === t2.PRESENTATION_MODE_QUICK_REPLIES, o2 = !n3 || n3 === t2.PRESENTATION_MODE_CAROUSEL; - if (r3) { - const t3 = this.getPropQuickReplies(e3); - if (null == t3 ? void 0 : t3.type.couldHaveUnknownPostbackValue(t3)) return true; + const d = (t4) => { + const i4 = { count: t4.length }; + return e3 && (i4.objects = t4), i4; + }, p = (e4) => ({ created: d(r2[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, o3 = { created: d(i4), deleted: d([]), updated: d(c[e4] || []), displayName: n4 }; + _.actions[e4] = o3; } - if (o2) { - const i4 = e3.getProperty(t2.PROP_CAROUSEL); - if (null == i4 ? void 0 : i4.type.couldHaveUnknownPostbackValue(i4)) return true; + 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 }; } - return false; + const h = { created: d(i3), deleted: d(n3), updated: d(o2), 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 } }; } - get hasRichLiteralEditor() { - return true; + }; + }, 65782(e2, t2, i2) { + "use strict"; + t2.getVariableContainerDisplayName = function(e3, t3) { + const { scopes: i3 } = r; + if ((t3 === i3.task || t3 === i3.state) && (0, o.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: o2 }) => Object.assign(Object.assign({ id: i3, name: e4 }, void 0 !== n3 ? { trackingId: n3 } : {}), void 0 !== o2 ? { icon: o2 } : {})); + }; + const n2 = i2(31635), o = i2(61610), r = n2.__importStar(i2(14187)); + function a(e3) { + var t3; + if (0 === e3.length) return []; + const i3 = [...e3].sort((e4, t4) => { + var i4, n4; + const o2 = e4.name.localeCompare(t4.name); + if (0 !== o2) return o2; + const r2 = null !== (i4 = e4.containerName) && void 0 !== i4 ? i4 : "", a2 = null !== (n4 = t4.containerName) && void 0 !== n4 ? n4 : ""; + return r2.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 }); + }); } - t2.ChooserType = D, D.typeIdentifier = T.expressionTypeNames.chooser; - }, 28619: (e2, t2) => { + }, 39426(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.executeSchedule = void 0, t2.executeSchedule = function(e3, t3, i2, n2, r2) { - void 0 === n2 && (n2 = 0), void 0 === r2 && (r2 = false); - var o = t3.schedule(function() { - i2(), r2 ? e3.add(this.schedule(null, n2)) : this.unsubscribe(); - }, n2); - if (e3.add(o), !r2) return o; + function i2(e3) { + return e3 ? e3 instanceof Set ? e3 : new Set(e3) : /* @__PURE__ */ new Set(); + } + 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, o, r, a; + return !t3 || ("featureToggle" in t3 ? i3.enabledFeatureToggles.has(t3.featureToggle) : "adsFeature" in t3 ? i3.enabledAdsFeatures.has(t3.adsFeature) : "permission" in t3 ? null !== (o = null === (n2 = i3.permissions) || void 0 === n2 ? void 0 : n2.has(t3.permission)) && void 0 !== o && o : "product" in t3 ? null !== (a = null === (r = i3.products) || void 0 === r ? void 0 : r.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))); }; - }, 28689: (e2, t2, i2) => { + }, 44494(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.T2 = t2.T$ = t2.g6 = void 0, t2.clampStepDelay = function(e3) { + return "number" != typeof e3 || isNaN(e3) ? t2.g6 : Math.max(t2.T$, Math.min(t2.T2, e3)); + }, t2.g6 = 5e3, t2.T$ = 1e3, t2.T2 = 12e3; + }, 20422(e2, t2) { + "use strict"; + 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.callDigitalConnector": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.digitalMenu": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.disconnect": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.disconnectWorkitem": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.encryptData": { adsFeature: "changeSetsFeaturePhase2" }, "flowYamlSingleActionItem.endBusinessProcess": { 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" } }; + }, 8712(e2, t2, i2) { + "use strict"; + 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); } - get _globalTypeName() { - return "scheduleGroup"; + return l(t3, e3); + }, t2.buildPropertySetActivityEvent = function(e3) { + const { objectType: t3, objectName: i3, objectId: n3, trackingId: o2, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c, propertyValue: d } = e3; + return { type: "propertySet", objectType: t3, objectName: i3, objectId: n3, trackingId: o2, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c, propertyValue: d, message: { template: d ? r.changeSet.activity.propertySet : r.changeSet.activity.propertySetNoValue, params: [{ value: c, link: u(e3) }, ...d ? [{ value: d }] : []] } }; + }, t2.buildPropertyConfiguringActivityEvent = function(e3) { + const { objectType: t3, objectName: i3, objectId: n3, trackingId: o2, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c } = e3; + return { type: "propertyConfiguring", objectType: t3, objectName: i3, objectId: n3, trackingId: o2, viewModel: a2, changeIndex: s2, property: l2, propertyDisplayName: c, message: { template: r.changeSet.activity.propertyConfiguring, params: [{ value: c, link: u(e3) }] } }; + }; + const n2 = i2(31635), o = i2(71314), r = 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, o.getManagedProperties)(e3)) if (i4.property === t3 && i4.label) return i4.label; + if ("statements" === t3) return a.updateVariables.updateStatements; + const r2 = t3.match(/^variables\[(\d+)]\.(\w+)$/); + if (r2) { + const t4 = parseInt(r2[1], 10), o2 = r2[2], a2 = e3.variables; + if (a2 && "object" == typeof a2 && "items" in a2) { + const e4 = a2.items, r3 = null == e4 ? void 0 : e4[t4]; + if (r3 && "variable" === o2 && (null === (i3 = r3.variable) || void 0 === i3 ? void 0 : i3.label)) return r3.variable.label; + if (r3 && "expression" === o2 && (null === (n3 = r3.expression) || void 0 === n3 ? void 0 : n3.label)) return r3.expression.label; + } } - get displayTypeName() { - return "ArchVariableScheduleGroup"; + 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; } - get initialValue() { - return this._initialValue; + return t3; + } + function u(e3) { + const { objectId: t3, objectType: i3, trackingId: n3, viewModel: o2, property: r2, linkPropertyName: a2, propertyViewModel: s2 } = e3; + if (t3) return { objectId: t3, objectType: i3, trackingId: n3, viewModel: o2, propertyName: null != a2 ? a2 : r2, propertyViewModel: s2 }; + } + }, 40478(e2, t2) { + "use strict"; + t2.extractRefIdFromPath = function(e3) { + const t3 = e3.lastIndexOf("["), i2 = e3.lastIndexOf("]"); + return t3 >= 0 && i2 > t3 ? e3.substring(t3 + 1, i2) : e3; + }; + }, 19206(e2, t2, i2) { + "use strict"; + t2.changeSetEntityType = 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.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; + }; + i2(25277); + t2.changeSetEntityType = { architect: "architect", copilot: "copilot", pinkfish: "pinkfish", user: "user" }; + }, 18732(e2, t2, i2) { + "use strict"; + t2.buildChangeSetValidationOptionsFromFeatureConfig = function() { + const e3 = [], t3 = []; + for (const i3 of [r.default.changeSetsFeaturePhase1, r.default.changeSetsFeaturePhase2]) o.isFeatureAvailable(i3) && (e3.push(i3), t3.push(i3)); + return { enabledAdsFeatures: t3, enabledFeatureToggles: e3 }; + }; + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = n2.__importDefault(i2(4648)); + }, 18573(e2, t2, i2) { + "use strict"; + t2.isStartupStateLike = c, t2.evaluateChangeSetWhenForFlow = function(e3, t3, i3) { + return t3 ? d(e3, t3, i3) : { satisfied: true }; + }, t2.describeChangeSetWhen = p; + const n2 = i2(31635), o = i2(17604), r = 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 (function(e4, t4, i4) { + return "task" in t4 ? void 0 !== (0, u.findTaskBySelector)(e4, t4.task, i4) : "state" in t4 ? void 0 !== (0, l.findStateBySelector)(e4, t4.state, i4) : "menu" in t4 ? void 0 !== (0, s.findMenuBySelector)(e4, t4.menu, i4) : "startupTask" in t4 ? (function(e5) { + const t5 = e5.startUpObject; + return !(!t5 || t5.isMenu || c(t5)) && (0, a.isTaskLike)(t5); + })(e4) : "startupState" in t4 ? (function(e5) { + return c(e5.startUpObject); + })(e4) : "periodicState" in t4 && (function(e5) { + const t5 = e5.periodicState; + return null != t5 && (0, a.isTaskLike)(t5); + })(e4); + })(e3, t3.exists, i3) ? { satisfied: true } : { satisfied: false, reason: (0, o.sprintf)(r.changeSet.apply.whenExistsNotMet, _(t3.exists)) }; + if ("not" in t3) { + const a2 = d(e3, t3.not, i3); + return a2.satisfied ? { satisfied: false, reason: (0, o.sprintf)(r.changeSet.apply.whenNotClauseFailed, null !== (n3 = a2.reason) && void 0 !== n3 ? n3 : p(t3.not)) } : { satisfied: true }; } - get isArchVariableScheduleGroup() { - return 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 o2 of t3.or) { + const t4 = d(e3, o2, i3); + if (t4.satisfied) return { satisfied: true }; + t4.reason && n4.push(t4.reason); + } + return { satisfied: false, reason: n4.length > 0 ? n4.join("; ") : r.changeSet.apply.whenOrClauseNotMet }; } + return { satisfied: false, reason: r.changeSet.apply.whenUnrecognizedShape }; + } + function p(e3) { + return "exists" in e3 ? `exists ${_(e3.exists)}` : "not" in e3 ? `not (${p(e3.not)})` : "and" in e3 ? e3.and.map(p).join(" and ") : "or" in e3 ? e3.or.map(p).join(" or ") : ""; + } + function _(e3) { + return "task" in e3 ? `task ${h(e3.task)}` : "state" in e3 ? `state ${h(e3.state)}` : "menu" in e3 ? `menu ${h(e3.menu)}` : "startupTask" in e3 ? "startupTask" : "startupState" in e3 ? "startupState" : "periodicState" in e3 ? "periodicState" : ""; + } + function h(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)"; } - t2.default = r2; - }, 28690: (e2, t2, i2) => { + }, 17914(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), 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, 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 }; + 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.resolveFromList = function(e3, t3, i3) { + if (t3.refId && i3) { + const n3 = i3.refIdMap.get(t3.refId); + return n3 && e3.includes(n3) ? n3 : void 0; } - static get branchInfo() { - return l.default.successFailureTimeout; + 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, o.isMenu)(e5); + })(e4) ? e4 : void 0; } - get isBridgeAction() { - return true; + if (t3.id) return e3.getTaskById(t3.id); + if (void 0 === t3.trackingId) return t3.name ? e3.tasks.find((e4) => l(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; } - static get managedProperties() { - 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; + if (t3.id && (0, n2.isCommonWorkflowViewModel)(e3)) return e3.getStateById(t3.id); + if (void 0 === t3.trackingId) { + if (t3.name) { + for (const i4 of u(e3)) if (l(i4, t3.name)) return i4; + } + } else for (const i4 of u(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, o.isMenu)(e4) ? e4 : void 0; } - updateDependencies() { - this.actionName && !this.actionId && (this.actionId = this.actionName), super.updateDependencies(); + if (t3.id) return e3.getMenuById(t3.id); + if (void 0 !== t3.trackingId) { + const i4 = c(e3, t3.trackingId); + return (0, o.isMenu)(i4) ? i4 : void 0; } - postProcessYamlConfig(e3, t3, i3) { - this.commonServerActionPostProcessYamlConfig(e3, t3, i3); + 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 r.flowElementRegistrationService.getItemById(e3, t3.id); + if (void 0 !== t3.trackingId) return c(e3, t3.trackingId); + if (t3.name) { + for (const i4 of e3.tasks || []) if (l(i4, t3.name)) return i4; + for (const i4 of u(e3)) if (l(i4, t3.name)) return i4; + for (const i4 of e3.menus || []) { + if (l(i4, t3.name)) return i4; + let e4; + if (s(i4.choices, (i5) => { + !e4 && l(i5, t3.name) && (e4 = i5); + }), e4) return e4; + } } - get yamlActionSectionName() { - return "bridgeAction"; + }; + const n2 = i2(50474), o = i2(1782), r = i2(19384), a = i2(18573); + i2(40478); + function s(e3, t3) { + var i3; + for (const n3 of e3) t3(n3), (null === (i3 = n3.choices) || void 0 === i3 ? void 0 : i3.length) && s(n3.choices, t3); + } + function l(e3, t3) { + var i3; + return e3.name === t3 || (null === (i3 = e3.getDisplayName) || void 0 === i3 ? void 0 : i3.call(e3)) === t3; + } + function u(e3) { + return (0, n2.isCommonWorkflowViewModel)(e3) ? e3.states : []; + } + function c(e3, t3) { + for (const i3 of e3.tasks) if (i3.trackingId === t3) return i3; + for (const i3 of u(e3)) if (i3.trackingId === t3) return i3; + for (const i3 of e3.menus || []) { + if (i3.trackingId === t3) return i3; + let e4; + if (s(i3.choices, (i4) => { + e4 || i4.trackingId !== t3 || (e4 = i4); + }), e4) return e4; } } - 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) => { + }, 83701(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); + Object.defineProperty(t2, "__esModule", { value: true }), t2.validateChangeSetDocument = function(e3, t3, i3) { + const o2 = [], r2 = i3 ? (0, n2.buildAvailabilityContext)(i3) : void 0; + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return o2.push(s("/", `Expected changeset document to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })), o2; + 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, o2) ? ((function(e4, t4, i4, n3) { + for (let o3 = 0; o3 < e4.length; o3++) { + const r3 = e4[o3], u2 = `/changes[${o3}]`; + if ("object" != typeof r3 || null === r3 || Array.isArray(r3)) { + n3.push(s(u2, `Expected change entry to be an object, got ${l(r3)}`, "invalidType", { expected: "object", actual: l(r3) })); + continue; + } + const c2 = Object.keys(r3); + 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 = r3[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, r2, o2), o2) : o2; }; - 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 }; + const n2 = i2(39426), o = i2(20422), r = i2(19206); + function a(e3, t3, i3, r2, a2) { + if (!r2) return true; + const l2 = `${e3}.${t3}`, u2 = o.CHANGE_SET_PROPERTY_AVAILABILITY[l2]; + return !u2 || !!(0, n2.evaluateAvailabilityCondition)(u2, r2) || (a2.push(s(i3, `Property '${t3}' is not available with the current feature configuration`, "featureNotEnabled", { property: t3 })), false); } - 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; - const n2 = i2(31635), r2 = n2.__importDefault(i2(57606)), o = n2.__importDefault(i2(92140)); - t2.AgenticVirtualAgentVersionViewModel = class { - constructor(e3) { - if (this._schemasNotLoaded = false, this._model = e3, this._schemasNotLoaded = true, this._model.inputs || this._model.outputs) { - this._schemasNotLoaded = false; - const e4 = { properties: {}, required: [] }, t3 = { properties: {}, required: [] }; - o.default.each(this._model.inputs, (t4) => { - o.default.isObject(t4) && (e4.properties[t4.name] = Object.assign({}, t4)); - }), o.default.each(this._model.outputs, (e5) => { - o.default.isObject(e5) && (t3.properties[e5.name] = Object.assign({}, e5), e5.required && t3.required.push(e5.name)); - }), this._inputSchema = new r2.default(e4, true), this._outputSchema = new r2.default(t3, false); - } else this._schemasNotLoaded = true; + 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([r.changeSetEntityType.architect, r.changeSetEntityType.copilot, r.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, o2, r2) { + "string" == typeof e3 ? (e3.length < n3 && r2.push(s(t3, `Property '${i3}' must be at least ${n3} character(s)`, "stringTooShort", { property: i3, expected: `minLength ${n3}`, actual: String(e3.length) })), e3.length > o2 && r2.push(s(t3, `Property '${i3}' exceeds maximum length of ${o2} (got ${e3.length})`, "stringTooLong", { property: i3, expected: `maxLength ${o2}`, actual: String(e3.length) }))) : r2.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 o2 = e3, r2 = Object.keys(o2).filter((e4) => m.has(e4)); + if (0 === r2.length) n3.push(s(t3, `Update operation must have at least one target selector (${[...m].join(", ")})`, "missingRequired", { expected: [...m].join(", ") })); + else if (r2.length > 1) n3.push(s(t3, `Update operation must have exactly one target selector, got: ${r2.join(", ")}`, "invalidValue", { expected: "exactly one target selector", actual: r2.join(", ") })); + else { + const e4 = r2[0]; + a("update", e4, `${t3}/${e4}`, i3, n3), "flow" === e4 ? true !== o2.flow && n3.push(s(`${t3}/flow`, "Expected 'flow' to be true when updating flow-level properties", "invalidValue", { property: "flow", expected: "true", actual: l(o2.flow) })) : v(o2[e4], `${t3}/${e4}`, n3, i3); } - get className() { - return "AgenticVirtualAgentVersionViewModel"; + "properties" in o2 ? ("object" != typeof o2.properties || null === o2.properties || Array.isArray(o2.properties)) && n3.push(s(`${t3}/properties`, `Expected 'properties' to be an object, got ${l(o2.properties)}`, "invalidType", { expected: "object", actual: l(o2.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 o2 = e3; + "refId" in o2 ? C(o2.refId, `${t3}/refId`, "refId", n3) : n3.push(s(`${t3}/refId`, "Required property 'refId' is missing in createRef operation", "missingRequired", { property: "refId" })); + const r2 = Object.keys(o2).filter((e4) => "refId" !== e4 && f.has(e4)); + if (0 === r2.length) n3.push(s(t3, `createRef must have exactly one target selector or startup flag (${[...f].join(", ")})`, "missingRequired", { expected: [...f].join(", ") })); + else if (r2.length > 1) n3.push(s(t3, `createRef must have exactly one target key, got: ${r2.join(", ")}`, "invalidValue", { expected: "exactly one target key", actual: r2.join(", ") })); + else { + const e4 = r2[0]; + a("createRefPayload", e4, `${t3}/${e4}`, i3, n3); + const s2 = o2[e4]; + T.has(e4) ? F(s2, `${t3}/${e4}`, n3) : v(s2, `${t3}/${e4}`, n3, i3); } - get isBaseClass() { - return false; + } + 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 o2 = e3; + if (0 === Object.keys(o2).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 o2 && (C(o2.refId, `${t3}/refId`, "refId", i3), a("identifierSelector", "refId", `${t3}/refId`, n3, i3)), "id" in o2 && C(o2.id, `${t3}/id`, "id", i3), "name" in o2 && C(o2.name, `${t3}/name`, "name", i3), "trackingId" in o2 && ("number" == typeof o2.trackingId && Number.isInteger(o2.trackingId) ? a("identifierSelector", "trackingId", `${t3}/trackingId`, n3, i3) : i3.push(s(`${t3}/trackingId`, `Expected 'trackingId' to be an integer, got ${l(o2.trackingId)}`, "invalidType", { property: "trackingId", expected: "integer", actual: l(o2.trackingId) }))); + const r2 = "id" in o2 && "string" == typeof o2.id && o2.id.length > 0, u2 = "name" in o2 && "string" == typeof o2.name && o2.name.length > 0, c2 = "refId" in o2 && "string" == typeof o2.refId && o2.refId.length > 0, d2 = "trackingId" in o2 && "number" == typeof o2.trackingId && Number.isInteger(o2.trackingId); + r2 || 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 I(e3, t3, i3, n3, o2) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return; + const r2 = e3; + "refId" in r2 && C(r2.refId, `${t3}/refId`, "refId", o2), "trackingId" in r2 && ("number" == typeof r2.trackingId && Number.isInteger(r2.trackingId) ? a(i3, "trackingId", `${t3}/trackingId`, n3, o2) : o2.push(s(`${t3}/trackingId`, `Expected 'trackingId' to be an integer, got ${l(r2.trackingId)}`, "invalidType", { property: "trackingId", expected: "integer", actual: l(r2.trackingId) }))); + } + function C(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 O(e3, t3, i3, n3, o2) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void o2.push(s(t3, `Expected ${n3} to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r2 = Object.keys(e3); + if (1 !== r2.length) return void o2.push(s(t3, `${n3} must have exactly one key, found ${r2.length}`, 0 === r2.length ? "missingOneOf" : "mutuallyExclusive", { expected: `exactly 1 of: ${[...i3].join(", ")}`, actual: `${r2.length} properties` })); + const a2 = r2[0]; + if (i3.has(a2)) return a2; + o2.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 o2 = n3[0]; + if (!S.has(o2)) return void i3.push(s(t3, `Unknown when key '${o2}' \u2014 expected one of: ${[...S].join(", ")}`, "invalidValue", { property: o2, expected: [...S].join(", "), actual: o2 })); + const r2 = e3[o2]; + if ("exists" !== o2) if ("not" !== o2) if (Array.isArray(r2)) if (0 !== r2.length) for (let e4 = 0; e4 < r2.length; e4++) b(r2[e4], `${t3}/${o2}[${e4}]`, i3); + else i3.push(s(`${t3}/${o2}`, `'${o2}' must contain at least one when expression`, "invalidValue", { property: o2, expected: "non-empty array" })); + else i3.push(s(`${t3}/${o2}`, `Expected '${o2}' to be an array, got ${l(r2)}`, "invalidType", { property: o2, expected: "array", actual: l(r2) })); + else b(r2, `${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 o3 = n4[0]; + if (!A.has(o3)) return void i4.push(s(t4, `Unknown existence target '${o3}' \u2014 expected one of: ${[...A].join(", ")}`, "invalidValue", { property: o3, expected: [...A].join(", "), actual: o3 })); + const r3 = e4[o3]; + N.has(o3) ? true !== r3 && i4.push(s(`${t4}/${o3}`, `'${o3}' must be true`, "invalidValue", { property: o3, expected: "true", actual: String(r3) })) : v(r3, `${t4}/${o3}`, i4); + })(r2, `${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 o2 = e3; + 0 !== Object.keys(o2).length ? ("id" in o2 ? C(o2.id, `${t3}/id`, "id", i3) : n3 && i3.push(s(`${t3}/id`, "Required property 'id' is missing in outputPath", "missingRequired", { property: "id" })), "name" in o2 && C(o2.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, o2) { + 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 r2 = e3; + "action" in r2 ? v(r2.action, `${t3}/action`, n3, o2) : n3.push(s(`${t3}/action`, `Required property 'action' is missing in ${i3} placement`, "missingRequired", { property: "action" })), "outputPath" in r2 && void 0 !== r2.outputPath && P(r2.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 o2 = O(e3, t3, w, "where", n3); + if (!o2) return; + a("addActionsWhere", o2, `${t3}/${o2}`, i3, n3); + const r2 = e3; + "afterAction" !== o2 ? "beforeAction" !== o2 ? (function(e4, t4, i4, n4) { + const o3 = O(e4, t4, R, "edge placement", n4); + if (!o3) return; + a("edgePlacement", o3, `${t4}/${o3}`, i4, n4); + const r3 = e4[o3]; + "startupTask" !== o3 && "startupState" !== o3 && "periodicState" !== o3 ? "task" !== o3 && "state" !== o3 ? "actionOutput" === o3 && (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 o4 = e5; + "action" in o4 ? v(o4.action, `${t5}/action`, n5, i5) : n5.push(s(`${t5}/action`, "Required property 'action' is missing in actionOutput", "missingRequired", { property: "action" })), "outputPath" in o4 ? P(o4.outputPath, `${t5}/outputPath`, n5, true) : n5.push(s(`${t5}/outputPath`, "Required property 'outputPath' is missing in actionOutput", "missingRequired", { property: "outputPath" })); + })(r3, `${t4}/actionOutput`, i4, n4) : v(r3, `${t4}/${o3}`, n4, i4) : F(r3, `${t4}/${o3}`, n4); + })(r2[o2], `${t3}/${o2}`, i3, n3) : (function(e4, t4, i4, n4) { + M(e4, t4, "beforeAction", i4, n4); + })(r2.beforeAction, `${t3}/beforeAction`, n3, i3) : (function(e4, t4, i4, n4) { + M(e4, t4, "afterAction", i4, n4); + })(r2.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, o2 = Object.keys(n3); + 0 !== o2.length ? 1 === o2.length && "toFlow" === o2[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: ${o2.join(", ")}`, "mutuallyExclusive", { expected: "toFlow", actual: o2.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, o2) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void o2.push(s(t3, `Expected 'add' to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r2 = Object.keys(e3); + if (0 === r2.length) return void o2.push(s(t3, `'add' must have exactly one target (${[...p].join(", ")})`, "missingOneOf", { expected: "exactly 1 property", actual: "0 properties" })); + if (r2.length > 1) return void o2.push(s(t3, `'add' must have exactly one target, found ${r2.length}: ${r2.join(", ")}`, "mutuallyExclusive", { expected: "exactly 1 property", actual: `${r2.length} properties` })); + const u2 = r2[0]; + if (!p.has(u2)) return void o2.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, o2), "actions" === u2 ? (function(e4, t4, i4, n4, o3) { + if ("object" != typeof e4 || null === e4 || Array.isArray(e4)) return void o3.push(s(t4, `Expected actions body to be an object, got ${l(e4)}`, "invalidType", { expected: "object", actual: l(e4) })); + const r3 = e4; + if (E(r3, t4, o3), "where" in r3 ? L(r3.where, `${t4}/where`, n4, o3) : o3.push(s(`${t4}/where`, "Required property 'where' is missing", "missingRequired", { property: "where" })), "actionsToAdd" in r3) if (Array.isArray(r3.actionsToAdd)) for (let e5 = 0; e5 < r3.actionsToAdd.length; e5++) V(r3.actionsToAdd[e5], `${t4}/actionsToAdd[${e5}]`, i4, n4, o3); + else o3.push(s(`${t4}/actionsToAdd`, `Expected 'actionsToAdd' to be an array, got ${l(r3.actionsToAdd)}`, "invalidType", { property: "actionsToAdd", expected: "array", actual: l(r3.actionsToAdd) })); + else o3.push(s(`${t4}/actionsToAdd`, "Required property 'actionsToAdd' is missing", "missingRequired", { property: "actionsToAdd" })); + })(c2, `${t3}/actions`, i3, n3, o2) : "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 o3 = e4; + E(o3, t4, n4), x(o3, t4, n4), "taskToAdd" in o3 ? "object" != typeof o3.taskToAdd || null === o3.taskToAdd || Array.isArray(o3.taskToAdd) ? n4.push(s(`${t4}/taskToAdd`, `Expected 'taskToAdd' to be an object, got ${l(o3.taskToAdd)}`, "invalidType", { property: "taskToAdd", expected: "object", actual: l(o3.taskToAdd) })) : I(o3.taskToAdd, `${t4}/taskToAdd`, "flowYamlTask", i4, n4) : n4.push(s(`${t4}/taskToAdd`, "Required property 'taskToAdd' is missing", "missingRequired", { property: "taskToAdd" })); + })(c2, `${t3}/task`, n3, o2) : "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 o3 = e4; + E(o3, t4, n4), x(o3, t4, n4), "stateToAdd" in o3 ? "object" != typeof o3.stateToAdd || null === o3.stateToAdd || Array.isArray(o3.stateToAdd) ? n4.push(s(`${t4}/stateToAdd`, `Expected 'stateToAdd' to be an object, got ${l(o3.stateToAdd)}`, "invalidType", { property: "stateToAdd", expected: "object", actual: l(o3.stateToAdd) })) : I(o3.stateToAdd, `${t4}/stateToAdd`, "flowYamlState", i4, n4) : n4.push(s(`${t4}/stateToAdd`, "Required property 'stateToAdd' is missing", "missingRequired", { property: "stateToAdd" })); + })(c2, `${t3}/state`, n3, o2) : "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`, o2) : "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 o3 = e4; + E(o3, t4, n4), x(o3, t4, n4), "menuToAdd" in o3 ? "object" != typeof o3.menuToAdd || null === o3.menuToAdd || Array.isArray(o3.menuToAdd) ? n4.push(s(`${t4}/menuToAdd`, `Expected 'menuToAdd' to be an object, got ${l(o3.menuToAdd)}`, "invalidType", { property: "menuToAdd", expected: "object", actual: l(o3.menuToAdd) })) : I(o3.menuToAdd, `${t4}/menuToAdd`, "flowYamlMenu", i4, n4) : n4.push(s(`${t4}/menuToAdd`, "Required property 'menuToAdd' is missing", "missingRequired", { property: "menuToAdd" })); + })(c2, `${t3}/menu`, n3, o2) : "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 o3 = e4; + E(o3, t4, n4), "menuChoiceToAdd" in o3 ? "object" != typeof o3.menuChoiceToAdd || null === o3.menuChoiceToAdd || Array.isArray(o3.menuChoiceToAdd) ? n4.push(s(`${t4}/menuChoiceToAdd`, `Expected 'menuChoiceToAdd' to be an object, got ${l(o3.menuChoiceToAdd)}`, "invalidType", { property: "menuChoiceToAdd", expected: "object", actual: l(o3.menuChoiceToAdd) })) : I(o3.menuChoiceToAdd, `${t4}/menuChoiceToAdd`, "flowYamlMenuChoice", i4, n4) : n4.push(s(`${t4}/menuChoiceToAdd`, "Required property 'menuChoiceToAdd' is missing", "missingRequired", { property: "menuChoiceToAdd" })), "where" in o3 ? (function(e5, t5, i5, n5) { + const o4 = O(e5, t5, D, "where", n5); + o4 && v(e5[o4], `${t5}/${o4}`, n5, i5); + })(o3.where, `${t4}/where`, i4, n4) : n4.push(s(`${t4}/where`, "Required property 'where' is missing", "missingRequired", { property: "where" })); + })(c2, `${t3}/menuChoice`, n3, o2); + } + function V(e3, t3, i3, n3, o2) { + if ("object" != typeof e3 || null === e3 || Array.isArray(e3)) return void o2.push(s(t3, `Expected action wrapper to be an object, got ${l(e3)}`, "invalidType", { expected: "object", actual: l(e3) })); + const r2 = Object.keys(e3); + if (1 !== r2.length) return void o2.push(s(t3, `Action wrapper must have exactly one key (the action type), found ${r2.length}`, 0 === r2.length ? "missingOneOf" : "mutuallyExclusive", { expected: "exactly 1 property", actual: `${r2.length} properties` })); + const u2 = r2[0]; + a("flowYamlSingleActionItem", u2, t3, n3, o2), i3 && !i3.actions[u2] && o2.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 o2 = e3; + if ("items" in o2) if (Array.isArray(o2.items)) for (let e4 = 0; e4 < o2.items.length; e4++) G(o2.items[e4], `${t3}/items[${e4}]`, i3, n3); + else n3.push(s(`${t3}/items`, `Expected 'items' to be an array, got ${l(o2.items)}`, "invalidType", { property: "items", expected: "array", actual: l(o2.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 o2 = Object.keys(e3); + if (1 !== o2.length) return void n3.push(s(t3, `Delete item must have exactly one type key, found ${o2.length}`, 0 === o2.length ? "missingOneOf" : "mutuallyExclusive", { expected: `exactly 1 of: ${[...U].join(", ")}`, actual: `${o2.length} properties` })); + const r2 = o2[0]; + U.has(r2) ? (a("typedDeleteItem", r2, `${t3}/${r2}`, i3, n3), v(e3[r2], `${t3}/${r2}`, n3, i3)) : n3.push(s(t3, `Unknown delete item type '${r2}' \u2014 expected one of: ${[...U].join(", ")}`, "invalidValue", { property: r2, expected: [...U].join(", "), actual: r2 })); + } + }, 4652(e2, t2, i2) { + "use strict"; + t2.validateChangeSetDocument = void 0; + var n2 = i2(83701); + Object.defineProperty(t2, "validateChangeSetDocument", { enumerable: true, get: function() { + return n2.validateChangeSetDocument; + } }); + }, 38597(e2, t2, i2) { + "use strict"; + t2.CodeJsonBuilder = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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), I = i2(33336), C = i2(53476), O = 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"; + })(F || (F = {})), (function(e3) { + e3.archExpression = "archExpression", e3.archLiteral = "archLiteral", e3.boolean = "boolean", e3.null = "null", e3.number = "number", e3.string = "string"; + })(L || (L = {})), t2.CodeJsonBuilder = class { + constructor(e3, t3, i3, n3, o2) { + this._stack = [], this._parseResult = i3, this._parseSettings = n3, this._loggingEnabled = this._parseSettings.enableLogging, this._language = o2, this._languageCharacteristics = (0, v.getCharacteristicsForLanguage)(o2), this._rootExpression = e3, this._sourceText = t3, this._returnConfigOnError = this._parseSettings.returnConfigOnError, this._preventModeSwitch = this._parseSettings.preventModeSwitch; + const r2 = t3.split("\n"); + let a2 = 0; + this._sourceTextLineStartPos = []; + for (const e4 of r2) this._sourceTextLineStartPos.push(a2), a2 += e4.length + 1; + 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: {} }; } - get id() { - return this._model.id; + _getNodeText(e3, t3) { + var i3; + return e3 ? null === (i3 = this._sourceText) || void 0 === i3 ? void 0 : i3.substring(e3.from, e3.to) : t3; } - get name() { - return this._model.version; + _arrayItemsRequirePrefixSeparator() { + return !!this._languageCharacteristics.arrayItemPrefixSeparator; } - get label() { - return this.name; + _propertyValuesRequirePrefixSeparator() { + return !!this._languageCharacteristics.objectPropertyNameValueSeparator; } - get version() { - return this._model.version; + get stack() { + return this._stack; } - get inputSchema() { - return this._inputSchema; + get currentParseItem() { + return 0 === this._stack.length ? this._rootParseItem : this._stack[this._stack.length - 1]; + } + getExpressionConfigVal() { + if (this.isParseItemComplete(this.currentParseItem) && (!this._parseResult.errorItems.length || this._returnConfigOnError)) return this._rootParseItem.configVal; } - get outputSchema() { - return this._outputSchema; + isParseItemArray(e3) { + return (null == e3 ? void 0 : e3.mode) === F.array; } - get schemasNotLoaded() { - return this._schemasNotLoaded; + isParseItemComplete(e3) { + return (null == e3 ? void 0 : e3.mode) === F.complete; } - }; - }, 28730: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(76768); - function o() { - this.nextAction = void 0, this.trackingId = void 0, this.result = void 0, o.baseConstructor.apply(this, arguments); - } - Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), n2.isUndefined(this.trackingId) || (this.trackingId = e3.pasteGetNewTrackingId(this.trackingId)); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.nextAction = e3.pasteResolveOldIdToNewId(this.nextAction); - } }, type: { get: function() { - return this.__type; - } } }), r2.extend(o, "BaseActionModel"), e2.exports = o; - }, 28803: (e2, t2, i2) => { - "use strict"; - 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 = 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); + isParseItemObjectOrArray(e3) { + return this.isParseItemObject(e3) || this.isParseItemArray(e3); } - get configListManager() { - return this._configListManager; + isParseItemObject(e3) { + return (null == e3 ? void 0 : e3.mode) === F.object; } - set configListManager(e3) { - this._configListManager = e3; + isParseItemObjectPropertyValue(e3) { + return (null == e3 ? void 0 : e3.mode) === F.objectPropertyValue; } - setConfigListMangerAndUpdateDependencies(e3) { - this._configListManager.tryRemoveItemFromFlowMetadata(this.action, this.idValue), this.idValue = void 0, this.nameValue = void 0, this._configListManager = e3, this.updateDependencies(); + _binarySearchLineStartPosIdx(e3) { + let t3 = 0, i3 = this._sourceTestLineStartPosLen; + for (; t3 <= i3; ) { + const n3 = Math.floor((t3 + i3) / 2); + if (this._sourceTextLineStartPos[n3] === e3) return n3; + if (this._sourceTextLineStartPos[n3] < e3) { + if (this._sourceTextLineStartPos[n3 + 1] > e3 || n3 + 1 === this._sourceTestLineStartPosLen) return n3; + t3 = n3 + 1; + } else i3 = n3 - 1; + } } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3), this.action && this.idValue && this.configListManager.addClipboardDependencies(e3, this.idValue, this.action.parentFlow); + getLineAndCharPosForPosition(e3, t3) { + const i3 = this._binarySearchLineStartPosIdx(e3); + return { lineNo: i3, charPos: e3 - this._sourceTextLineStartPos[i3] + (t3 ? 1 : 0) }; } - destroy() { - this.configListManager.tryRemoveItemFromFlowMetadata(this.action, this.idValue), this._outOfServiceProvider.destroy(), delete this.idValue, delete this.nameValue, super.destroy(); + getParseItemFromLineInfo(e3, t3) { + if (e3) return this.getLineAndCharPosForPosition(e3.nodeFrom, t3); } - getConfiguration(e3, t3, i3) { - if (!this.featureConfigUnavailable) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - if (null == i3 ? void 0 : i3.skipProperty) return; - return (null == i3 ? void 0 : i3.shouldBeBoolIndicatingIfSet) ? !!this.idValue : this.nameValue ? { name: this.nameValue } : null; - } - return this.parent.isAction ? console.error("Trying to access NetworkBasedActionProperty.getConfiguration for non-flow-YAML") : (e3[this._modelIdPropName] = this.parent.model[this._modelIdPropName], e3[this._modelNamePropName] = this.parent.model[this._modelNamePropName]), null; - } + getParseItemToLineInfo(e3, t3) { + if (e3) return this.getLineAndCharPosForPosition(e3.nodeTo, t3); } - get modelIdPropName() { - return this._modelIdPropName; + getParseItemLineInfo(e3, t3) { + if (e3) return { from: this.getParseItemFromLineInfo(e3, t3), to: this.getParseItemToLineInfo(e3, t3) }; } - get modelNamePropName() { - return this._modelNamePropName; + addParseResultItem(e3, t3, i3, n3, o2, r2, a2, s2) { + var l2, u2, c2, d2; + const p2 = o2 || (t3 ? t3.from : 0), _2 = r2 || (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 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 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}`); } - get idValue() { - return this.action[this._modelIdPropName]; + _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; } - set idValue(e3) { - this.action[this._modelIdPropName] = e3; + _parseItemStr(e3) { + return `Item: ${e3.mode} - ${this._getNodeText(e3.node)}`; } - get isNetworkBasedActionProperty() { - return true; + _updateLastAssignedForNode(e3) { + if (!this._currentObjectOrArray) return; + this._currentObjectOrArray.lastAssigned = { text: this._getNodeText(e3), from: e3.from, to: e3.to }; + const t3 = this._currentObjectOrArray.lastAssigned; + switch (e3.type.name) { + case s.CodeArchitectJsonParserToken.ArchitectExpressionContent: + for (; "}" !== this._sourceText[t3.to] && "}" !== this._sourceText[t3.to + 1] && t3.to < this._sourceText.length; ) t3.to = t3.to + 1; + for (t3.to = t3.to + 2; "{" !== this._sourceText[t3.from - 1] && "{" !== this._sourceText[t3.from] && t3.from >= 0; ) t3.from = t3.from - 1; + t3.from = t3.from - 2; + break; + case s.CodeArchitectJsonParserToken.ArchitectLiteralContent: + for (; "]" !== this._sourceText[t3.to] && "]" !== this._sourceText[t3.to + 1] && t3.to < this._sourceText.length; ) t3.to = t3.to + 1; + for (t3.to = t3.to + 2; "[" !== this._sourceText[t3.from - 1] && "[" !== this._sourceText[t3.from] && t3.from >= 0; ) t3.from = t3.from - 1; + t3.from = t3.from - 2; + } } - get isConfigListProperty() { - return true; + _checkCanAddNewParseItem(e3, t3) { + return !(this._parseResult.items.length > 0 && !this._stack.length && (this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue()), 1)); } - get nameValue() { - return this.action[this._modelNamePropName]; + _checkCanPopParseItem() { + return this._stack.length > 0; } - set nameValue(e3) { - this.action[this._modelNamePropName] = e3; + _checkNotAlreadyDone(e3) { + const t3 = this.currentParseItem; + if (!this.isParseItemComplete(t3)) return t3; + this.addParseResultItem(t3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpectedAfterValue(this._getNodeText(e3)), null, null, null, this._preventModeSwitch); } - get featureConfigUnavailable() { - return this._featureConfigUnavailable; + _checkType(e3, t3, i3) { + var n3, o2; + switch (e3.mode) { + 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 F.objectPropertyValue: + if (!this._checkTypeCompatibility(e3, t3, i3, (null === (o2 = null == e3 ? void 0 : e3.expressionPropDef) || void 0 === o2 ? void 0 : o2.type) || R.globalTypes.json)) return false; + } } - outOfServiceChanged() { - this.containedValidation(); + _checkTypeCompatibility(e3, t3, i3, n3) { + 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._preventModeSwitch), false); } - get skipValidationCheck() { - return this._skipValidationCheck; + _getIncompatibleTypeAssignmentSuggestions(e3, t3, i3) { + const n3 = []; + if (this._languageCharacteristics.supportsArchitectExpressions) { + const o2 = null == e3 ? void 0 : e3.getDefaultImplicitConversionFunc(t3); + (null == o2 ? void 0 : o2.text) && n3.push((0, g.createSuggestion)(c.CodeSuggestionType.convert, d.CodeSuggestionWhatToDo.replaceText, (0, E.sprintf)(D.codeEditor.types.typeCanBeConverted, t3.displayString, e3.displayString, null == o2 ? void 0 : o2.text), void 0, `{{${null == o2 ? void 0 : o2.text}(${i3})}}`)); + } + return n3; } - set skipValidationCheck(e3) { - this._skipValidationCheck = e3; + _popContainerFromStack(e3, t3) { + return !!this._popParseItem(t3) && (e3 = this.currentParseItem, !this.isParseItemObjectPropertyValue(e3) || !!this._popParseItem(t3)); } - search(e3) { - super.search(e3), e3.checkText(this.action, this.nameValue, this.configListManager.dependencyContext); + _popParseItem(e3) { + var t3; + 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, 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)) { + this._currentObjectOrArray = t4; + break; + } + } + this._currentObjectOrArray && (this._currentObjectOrArray.hasSeparator = false), this._updateLastAssignedForNode(e3); + } + return 0 === this._stack.length && (this._rootParseItem.mode = F.complete), i3; + } + this._rootParseItem.mode === F.root && (this._rootParseItem.mode = F.complete); } - reset() { - this.setValue(void 0), c.fireEvent(this, s.valueChanged); + addAssignArchitectExpr(e3, t3) { + return this._assignArchitectValue(e3, t3, L.archExpression); } - 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, s.valueChanged))); + addAssignArchitectLiteral(e3, t3) { + return this._assignArchitectValue(e3, t3, L.archLiteral); } - get amObjectEventEmitter() { - return true; + _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; } - containedValidation() { - this.initializeDesignTimeCalled && p.validateItem(this, true, true); + _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)); } - updateDependencies() { - 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); + addPropertyAssignment(e3, t3) { + var 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.createInvalidTypeValue(null === (i3 = o2.type) || void 0 === i3 ? void 0 : i3.displayString).addWhat(D.codeEditor.properties.propertyCannotBeAddedToNonObject), null, null, null, this._preventModeSwitch), false; + if (this._checkForMissingSeparator(o2, e3), null == t3 ? void 0 : t3.length) if (void 0 !== o2.configVal.json[t3]) this.addParseResultItem(o2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createDuplicateProperty(t3)); else { - const e3 = this.configListManager.hasDependencyTrackingId && this.action.getDependencyTrackingId ? this.action.getDependencyTrackingId() : this.idValue; - this.configListManager.registerConsumer(this.action, this.nameValue, e3); + let i4; + o2.configVal.json[t3] = { __placeHolder: true }; + const n4 = o2.type.getPropertyDefinition(t3); + n4 ? i4 = this.parseItemIsRawJson(o2) ? R.globalTypes.json : n4.type : (i4 = R.globalTypes.json, o2.type.additionalProperties || this.addParseResultItem(o2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createPropertyNotValidForType(t3, o2.type.displayString))), (null == n4 ? void 0 : n4.isReadOnly) && this.addParseResultItem(o2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createPropertyIsReadOnly(t3)), this._pushParseItem({ mode: F.objectPropertyValue, propertyName: t3, expressionPropDef: n4, lineInfo: this.getLineAndCharPosForPosition(e3.from), node: o2.node, nodeFrom: o2.nodeFrom, nodeTo: o2.nodeTo, expression: void 0, type: i4, configVal: o2.configVal, propertyValuePrefixSeparatorAdded: !this._propertyValuesRequirePrefixSeparator() }, o2); } + else this.addParseResultItem(o2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(null === (n3 = o2.type) || void 0 === n3 ? void 0 : n3.displayString).addWhat(D.codeEditor.properties.propertyNamesCannotBeBlank)); } - getItem() { - return this.configListManager.getItem(this.idValue, this.action); + addPropertyValueSeparator(e3, t3) { + const i3 = this._checkNotAlreadyDone(e3); + return !(!i3 || !this.isParseItemObjectPropertyValue(i3) || t3 !== this._languageCharacteristics.objectPropertyNameValueSeparator || (i3.propertyValuePrefixSeparatorAdded = true, 0)); } - validate(e3) { - var t3; - if (super.validate(e3), this.currentUiErrorMessage = null, !this.outOfService && !this.skipValidationCheck) if (this.idValue || this.isOptional || (null === (t3 = this.action.uiMetaData) || void 0 === t3 ? void 0 : t3.isLoadingAutoManagedBotRunnable)) { - if (this.idValue) { - let t4 = this.configListManager.getItem(this.idValue, this.action); - if (!t4 && this.action.hasAutoSelectedBotRunnable && this._predecessorProp && !this.action.isReadOnly) { - const e4 = this.action[this._predecessorProp]._modelIdPropName; - t4 = o.default.find(this.configListManager.items, (t5) => t5[e4] === this.action[this._predecessorProp].idValue), o.default.isObject(t4) && (this.idValue = t4.id, this.nameValue = t4.name); - } - if (!t4 || t4.isFlowCachedVersion) if (this.configListManager.viewModelIsAutoSelectedBotRunnable && this.action.isReadOnly) ; - else if (this.configListManager.viewModelIsAutoSelectedBotRunnable && this._predecessorProp && this.action[this._predecessorProp].notFoundErrorMessage) ; - else { - const t5 = (0, r2.sprintf)(this.notFoundErrorMessage, this.nameValue); - e3.addError(this, t5, false, true), this.currentUiErrorMessage = t5; - } - 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, a.unRegisterConsumer(this.action, this.configListManager.dependencyType.value)); + addArrayItemStartSeparator(e3, t3) { + const i3 = this._checkNotAlreadyDone(e3); + return !(!i3 || !this.isParseItemArray(i3) || t3 !== this._languageCharacteristics.arrayItemPrefixSeparator || (i3.arrayItemPrefixSeparatorAdded = true, 0)); } - static get managedProperties() { - return []; + assignValueBoolean(e3, t3) { + return this._assignScalarValue(e3, L.boolean, t3); } - 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); - }); + assignValueNull(e3) { + return this._assignScalarValue(e3, L.null); } - getAdditionalSearchParams() { - if (this._additionalSearchParamsCallback) return this._additionalSearchParamsCallback(this); + assignValueNumber(e3, t3) { + return this._assignScalarValue(e3, L.number, t3 || this._sourceText.substring(e3.from, e3.to)); } - searchResultsFilter(e3) { - return !this._searchResultsFilterCallback || this._searchResultsFilterCallback(this, e3); + assignValueString(e3, t3) { + return this._assignScalarValue(e3, L.string, void 0 !== t3 ? t3 : this._sourceText.substring(e3.from, e3.to)); } - static createCreateDetails(e3, t3, i3, n3, r3, o2, a2, s2) { - return { create: function(l2, u2) { - return new f(l2, u2, i3, e3, t3, n3, r3, o2, a2, s2); - }, getCreateClass: function() { - return f; - }, modelProperties: [e3, t3], manager: i3 }; + assignScalarValue(e3, t3, i3) { + const n3 = void 0 !== t3 ? t3 : this._sourceText.substring(e3.from, e3.to); + if (!i3) switch (this._language) { + case l.CodeLanguage.yaml: + case l.CodeLanguage.architectYaml: + switch (n3) { + case f.default.true: + return this._assignScalarValue(e3, L.boolean, true); + case f.default.false: + return this._assignScalarValue(e3, L.boolean, false); + case "null": + return this._assignScalarValue(e3, L.null); + default: + 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, L.number, n3); + } + } + } + return this._assignScalarValue(e3, L.string, n3); } - } - t2.NetworkBasedActionProperty = f; - }, 28817: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + popArray(e3) { + var t3, i3, n3, r2, a2, l2, c2, d2, p2, _2; + const h2 = this._checkNotAlreadyDone(e3); + return !!h2 && (h2.mode !== F.array && this.addParseResultItem(h2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(s.CodeArchitectJsonParserToken.ArrayEnd), null, null, null, this._preventModeSwitch), this.logMessage(() => "checking max / max items"), o.default.isActualNumber(null === (t3 = h2.expressionPropDef) || void 0 === t3 ? void 0 : t3.minItems) && o.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 === (r2 = h2.expressionPropDef) || void 0 === r2 ? void 0 : r2.maxItems).setFacetInfo({ facet: O.jsonParseItemFacet.propFacetMaxItems, facetOutOfBoundsValue: h2.configVal.json.length, facetValue: null === (a2 = h2.expressionPropDef) || void 0 === a2 ? void 0 : a2.maxItems })), o.default.isActualNumber(null === (l2 = h2.expressionPropDef) || void 0 === l2 ? void 0 : l2.maxItems) && o.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: O.jsonParseItemFacet.propFacetMaxItems, facetOutOfBoundsValue: h2.configVal.json.length, facetValue: null === (_2 = h2.expressionPropDef) || void 0 === _2 ? void 0 : _2.maxItems })), this._popContainerFromStack(h2, e3)); } - get _globalTypeName() { - return "jsonCollection"; + popObject(e3) { + var t3, i3, n3; + this._closeIncompleteObjectPropertyValueIfNeeded(e3); + const r2 = this._checkNotAlreadyDone(e3); + if (!r2) return false; + if (r2.mode !== F.object) return this.addParseResultItem(r2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._preventModeSwitch), this._popContainerFromStack(r2, e3); + this.logMessage(() => "checking missing properties"); + const a2 = [], s2 = null === (t3 = r2.type) || void 0 === t3 ? void 0 : t3.properties, l2 = null === (i3 = r2.configVal) || void 0 === i3 ? void 0 : i3.json; + if (o.default.each(s2, (e4) => { + e4.isRequired && (o.default.isUndefined(l2) || o.default.isUndefined(l2[e4.name])) && !e4.isPatchable && a2.push(e4.id); + }), null == a2 ? void 0 : a2.length) { + const t4 = []; + o.default.each(s2, (e4) => { + t4.push(e4.id); + }), this.addParseResultItem(r2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createRequiredPropertiesMissing(t4, a2, null === (n3 = r2.type) || void 0 === n3 ? void 0 : n3.displayString).setFacetInfo({ facet: O.jsonParseItemFacet.propFacetRequiredProperties, facetOutOfBoundsValue: a2, facetValue: t4 })); + } + return this._popContainerFromStack(r2, e3); } - get displayTypeName() { - return "ArchValueJsonCollection"; + pushArray(e3) { + var t3, i3; + const n3 = this._checkNotAlreadyDone(e3); + if (!n3) 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 o2 = []; + switch (n3.mode) { + case F.root: + n3.configVal.json = o2; + break; + case F.objectPropertyValue: + n3.configVal.json[n3.propertyName] = o2; + break; + case F.array: + n3.configVal.json.push(o2); + break; + default: + this.addParseResultItem(n3, n3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._preventModeSwitch); + } + return this._pushParseItem({ mode: F.array, node: e3, lineInfo: this.getLineAndCharPosForPosition(e3.from), nodeFrom: e3.from, nodeTo: e3.to, configVal: { json: o2, 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; } - get isArchValueJsonCollection() { - return true; + pushObject(e3) { + var t3, i3, n3; + const o2 = this._checkNotAlreadyDone(e3); + if (!o2) return false; + if (this._checkType(o2, e3, R.globalTypes.json)) return false; + !(null === (t3 = o2.type) || void 0 === t3 ? void 0 : t3.hasPropertiesAndAllAreReadOnly) || o2.mode !== F.root || this._language !== l.CodeLanguage.architectJson && this._language !== l.CodeLanguage.jsn || this.addParseResultItem(o2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createObjectLiteralNotAllowedWhenAllPropertiesReadOnly(o2.type.displayString)); + const r2 = {}; + switch (o2.mode) { + case F.root: + o2.configVal.json = r2; + break; + case F.objectPropertyValue: + (null === (i3 = o2.expressionPropDef) || void 0 === i3 ? void 0 : i3.id) === P ? o2.configVal.json[o2.propertyName] = r2 : o2.configVal.json[null === (n3 = o2.expressionPropDef) || void 0 === n3 ? void 0 : n3.id] = r2; + break; + case F.array: + o2.configVal.json.push(r2); + break; + default: + this.addParseResultItem(o2, o2.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._preventModeSwitch); + } + const a2 = this._language === l.CodeLanguage.architectYaml ? (0, I.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: r2, exprs: o2.configVal.exprs }, type: o2.type, expression: o2.expression, expressionPropDef: o2.expressionPropDef }, o2), true; } - } - t2.default = r2; - }, 28850: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + logMessage(e3) { + this._loggingEnabled && console.log(e3()); } - get _globalTypeName() { - return "journeySegment"; + _unwindLastStackParseItem() { + var e3; + 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 F.array: + return this.popArray(t3.node); + case F.object: + return this.popObject(t3.node); + case F.objectPropertyValue: + return !!this._closeIncompleteObjectPropertyValueIfNeeded(t3.node) || this._popValueAssignment(t3, t3.node); + default: + return false; + } } - get id() { + _unwindToIndex(e3) { + let t3 = false; + for (; this._stack.length - 1 > e3 && (t3 = this._unwindLastStackParseItem(), t3); ) ; + return t3; } - get color() { + _unwindToParseItemWithMode(e3, t3) { + let i3, n3; + for (i3 = this._stack.length - 1; i3 >= 0 && (n3 = this._stack[i3], n3.mode !== e3[0] && n3.mode !== e3[1] || !(void 0 === t3 || n3.lineInfo.charPos <= t3)); i3--) ; + if (i3 >= 0 && i3 !== this._stack.length - 1 && this._unwindToIndex(i3)) return this._stack[i3]; } - get createdDateUtc() { + unwindToArray(e3) { + return this._unwindToParseItemWithMode([F.array], e3); } - get description() { + unwindToArrayOrObject(e3) { + return this._unwindToParseItemWithMode([F.array, F.object], e3); } - get displayName() { + unwindToObject(e3) { + return this._unwindToParseItemWithMode([F.object], e3); } - get isActive() { + unwindEntireStack() { + let e3 = true; + for (; this._stack.length > 0 && e3; ) e3 = !!this._unwindLastStackParseItem(); + return e3; } - get modifiedDateUtc() { + parseComplete(e3) { + var t3; + this.unwindEntireStack(); + const i3 = this.currentParseItem; + let n3; + 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), o.default.each(this._parseResult.itemsByLinePosMap, (e4) => { + o.default.each(e4, (e5) => { + o.default.each(e5, (e6) => { + switch (this._parseResult.items.push(e6), e6.resultType) { + case b.ParseResultTypes.error: + this._parseResult.errorItems.push(e6); + break; + case b.ParseResultTypes.warn: + this._parseResult.warningItems.push(e6); + break; + case b.ParseResultTypes.info: + this._parseResult.infoItems.push(e6); + } + }); + }); + }), this._parseResult.dependencies = this._rootParseItem.dependencies, this.logMessage(() => `json config: +${JSON.stringify(i3.configVal, null, 2)}`), n3; } - get shouldDisplayToAgent() { + _addEmptyCustomJsonPayloadErrorIfConfigured(e3) { + var t3, i3; + const n3 = null === (t3 = this._rootExpression) || void 0 === t3 ? void 0 : t3.type; + if (!(0, C.isCustomJsonExpressionType)(n3)) return; + const o2 = n3.resolveAtLeastOnePropertyMustBeSetErrorText((0, T.areOptionsJsonType)(null === (i3 = this._rootExpression) || void 0 === i3 ? void 0 : i3.options) ? this._rootExpression.options : void 0); + o2 && (S.JsonType.hasAnyCustomJsonPropertyIncludedAtRuntime(e3.configVal) || this.addParseResultItem(e3, e3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createAtLeastOnePropertyMustBeSet(o2))); } - get version() { + _createExpression(e3, t3, i3, n3) { + return r.expression(this._rootExpression.parentFlow, this._rootExpression.parent, null, e3 || "", t3 || R.globalTypes.json, e3 || "", a.buildOptions(t3 || R.globalTypes.json).setIsOptional(!i3 || !!n3), true); } - get displayTypeName() { - return "ArchValueJourneySegment"; + _assignArchitectValue(e3, t3, i3) { + var n3, r2, a2; + const s2 = this._checkNotAlreadyDone(e3); + if (!s2) return false; + if (!this._checkValueAssignment(s2, e3)) return false; + let l2; + try { + switch (l2 = this._createExpression(s2.propertyName, s2.type, null === (n3 = s2.expressionPropDef) || void 0 === n3 ? void 0 : n3.isRequired, null === (r2 = s2.expressionPropDef) || void 0 === r2 ? void 0 : r2.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 (o.default.isNumber(t4.resultPosition) && -1 !== t4.resultPosition && (i5 = t4.resultPosition + e3.from + 1, o.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 b.ParseResultTypes.info: + this.addParseResultItem(s2, e3, b.ParseResultTypes.info, u.CodeParseItemMessage.createArchitectExpressionInfo(t4.resultMessage).addSuggestions(t4.fixes), i5, i5); + break; + case b.ParseResultTypes.error: + default: + this.addParseResultItem(s2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectExpressionInfo(t4.resultMessage).addSuggestions(t4.fixes), i5, i5, null, t4.preventsJsonStandardModeSwitch); + } + } + } + break; + case L.archLiteral: + const i4 = s2.type.listManager; + if (i4) { + const n4 = null == t3 ? void 0 : t3.trim(), o2 = (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 }; + }, r3 = () => { + this.addParseResultItem(s2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectLiteralInfo((0, E.sprintf)(D.codeEditor.types.typeNotFoundError, s2.type.displayString, n4)).setFacetInfo({ facet: O.jsonParseItemFacet.propFacetReferencedObjectNotFound, facetOutOfBoundsValue: n4 }), null, null, null, this._preventModeSwitch); + }; + if (!(null === global || void 0 === global ? void 0 : global.window)) { + i4.findOrFetchItemByName(n4).then((e4) => { + o2(e4), this._setJsonValExpressionRef(s2, l2); + }).catch((e4) => { + throw r3(), (0, E.sprintf)(D.codeEditor.types.typeNotFoundError, s2.type.displayString, n4); + }); + break; + } + { + const e4 = i4.findItemByName(n4); + e4 ? o2(e4) : r3(); + } + } else { + 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(s2, l2); + } finally { + null == l2 || l2.destroy(); + } + return this._popValueAssignment(s2, e3); } - get isArchValueJourneySegment() { - return true; + _popValueAssignment(e3, t3) { + let i3 = true; + switch (e3.mode) { + case F.array: + break; + case F.objectPropertyValue: + i3 = !!this._popParseItem(t3); + break; + case F.root: + e3.mode = F.complete; + } + return this._updateLastAssignedForNode(t3), this._currentObjectOrArray && (this._currentObjectOrArray.hasSeparator = false), i3; } - } - t2.default = r2; - }, 28904: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFindSystemObjectByIdActionModel = void 0; - const n2 = i2(31635), r2 = i2(7340), o = i2(80295), a = i2(80295), s = i2(7401); - class l extends r2.BaseFindSystemObjectActionModel { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_findId"); + _setJsonValExpressionRef(e3, t3) { + const i3 = { __isArchExpr: true, expressionId: t3.id }; + if (void 0 === e3.configVal.json) e3.configVal.json = i3; + else switch (e3.mode) { + case F.array: + e3.configVal.json.push(i3); + break; + case F.objectPropertyValue: { + const n3 = e3.configVal.json[e3.propertyName]; + o.default.isArray(n3) ? n3.push(i3) : e3.configVal.json[e3.propertyName || t3.id] = i3; + break; + } + } + e3.configVal.exprs[t3.id] = { propertiesBucketName: e3.propertyName, expression: (null == t3 ? void 0 : t3.model) ? o.default.deepClone(t3.model) : void 0 }; } - get findId() { - return this._findId; + 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, b.ParseResultTypes.error, u.CodeParseItemMessage.createUnnecessarySeparator(this._getNodeText(e3)).addSuggestion((0, h.createFixRemoveUnnecessarySeparator)(this._languageCharacteristics.itemSeparator))), false)); } - set findId(e3) { - this._findId = this.reviveItem(e3, s); + _checkForMissingSeparator(e3, t3) { + var i3, n3, r2, a2, s2; + this._languageCharacteristics.itemSeparator && ((null === (i3 = this._currentObjectOrArray) || void 0 === i3 ? void 0 : i3.hasSeparator) || o.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 === (r2 = null === (n3 = this._currentObjectOrArray) || void 0 === n3 ? void 0 : n3.lastAssigned) || void 0 === r2 ? void 0 : r2.to, null === (s2 = null === (a2 = this._currentObjectOrArray) || void 0 === a2 ? void 0 : a2.lastAssigned) || void 0 === s2 ? void 0 : s2.to)); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._findId.pasteReIdOrRename(e3); + parseItemIsRawJson(e3) { + return e3 && e3.type.isJsonType && !e3.type.isCustomType; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._findId.pasteResolveOldToNewValues(e3); + wantZeroPaddedNumericValueForPart(e3, t3, i3, n3, o2, r2, a2, s2, l2, c2, d2) { + const p2 = (null == e3 ? void 0 : e3.length) || 0; + if (o2 >= p2) { + const e4 = l2(); + return void this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(n3).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + o2 + 1, t3.from + o2 + 1); + } + let _2; + for (_2 = o2; _2 < o2 + r2 && e3[_2] >= "0" && e3[_2] <= "9"; _2++) ; + const h2 = parseInt(e3.substring(o2, o2 + _2)); + if (_2 !== o2 + r2) { + if (h2 >= s2 && h2 <= s2 && _2 === p2) { + const e4 = d2(); + let l3 = h2.toString(); + for (; l3.length < r2; ) l3 = "0" + l3; + 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 + o2 + 1, t3.from + o2 + r2); + } + { + const e4 = d2(); + return void this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueIncomplete(n3).addWhat(e4.message).addFacetsMinMax(a2, s2), t3.from + o2 + 1, t3.from + o2 + r2); + } + } + if (h2 < a2 || h2 > s2) { + 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 + o2 + 1, t3.from + o2 + r2 + 1) : this.addParseResultItem(i3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueTooSmall(h2, a2, true, s2, true).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + o2 + 1, t3.from + o2 + r2 + 1)); + } + return h2; } - } - t2.BaseFindSystemObjectByIdActionModel = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findId", null); - }, 28912: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(39139), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.videoManager); + _getNumberFromStr(e3, t3, i3, n3, o2, r2, 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 (r2 && "." === e3[T2]) { + h2 = T2, m2 = 0, _2 = true; + let o3 = e3[T2 + m2 + 1]; + for (; o3 >= "0" && o3 <= "9"; ) m2++, o3 >= "1" && isNaN(g2) ? g2 = 1 : g2++, o3 = e3[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 (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 || 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)) 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 (r2 || !_2) { + if (o2 || _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); } - get _globalTypeName() { - return "video"; + _checkDurationStr(e3, t3, i3) { + const n3 = "-" === e3[0]; + let r2 = n3 ? 1 : 0; + if (!this._checkSeparator(e3, i3, t3, "P", r2, () => u.CodeParseItemMessage.createTokenMissing("P", R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat))) return false; + r2++; + const a2 = {}; + let s2, l2 = 0; + const c2 = e3.length; + for (; r2 < c2; ) if ("T" === e3[r2]) { + 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 + r2 + 1, i3.from + r2 + 2), false; + s2 = true, r2++; + } else { + const n4 = this._getNumberFromStr(e3, i3, t3, r2, true, true, D.codeEditor.types.durationXsdFormat, true, 3); + if (!n4) return false; + r2 = n4.nextCharPos; + const o2 = e3[r2]; + let c3, d2; + switch (o2) { + case "D": + d2 = true, c3 = f.default.msPerDay; + break; + case "H": + c3 = f.default.msPerHour; + break; + case "M": + c3 = f.default.msPerMinute; + break; + case "S": + c3 = f.default.msPerSecond; + break; + default: + return void 0 !== o2 ? this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(o2, R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + r2 + 1, i3.from + r2 + 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 + r2 + 1, i3.from + r2 + 1), false; + } + if ("S" !== o2 && 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 + r2 + 1, i3.from + n4.nextCharPos), false; + if (a2[o2]) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenDuplicate(o2, R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + r2 + 1, i3.from + r2 + 2), false; + if (a2[o2] = true, r2++, c3) { + if (d2 && s2) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(o2).addWhat(D.codeEditor.parseErrors.tokens.invalidTokenOrderMustPrecede, [o2, "T"]).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + r2 + 1, i3.from + r2 + 2), false; + if (!d2 && !s2) return this.addParseResultItem(t3, i3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenInvalid(o2).addWhat(D.codeEditor.parseErrors.tokens.invalidTokenOrderMustFollow, [o2, "T"]).addWhat(D.codeEditor.types.durationXsdFormat), i3.from + r2 + 1, i3.from + r2 + 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, 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) : !o.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); } - get displayTypeName() { - return "ArchValueVideo"; + _checkDateStr(e3, t3, i3, n3) { + const r2 = n3 ? R.globalTypes.dateTime.displayString : R.globalTypes.date.displayString, a2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, r2, 0, 4, f.default.minDateYear, f.default.maxDateYear, () => { + const e4 = (/* @__PURE__ */ new Date()).toISOString().substring(0, 19) + ".000"; + if (n3) return { message: (0, E.sprintf)(D.codeEditor.types.valueMustBeInGivenFormat, r2, 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, E.sprintf)(D.codeEditor.types.valueMustBeInGivenFormat, r2, f.default.dateTimeFormat), suggestions: [(0, m.createFixReplaceText)((0, E.sprintf)(D.codeEditor.suggestions.replaceWith, t4), t4, D.codeEditor.types.dateSupplyCurrent)] }; + } + }, () => ({ 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 (!o.default.isActualNumber(a2)) return false; + if (!this._checkSeparator(e3, i3, t3, "-", 4, () => u.CodeParseItemMessage.createInvalidTypeValue(r2).addWhat(D.codeEditor.types.timeInvalidSeparatorYearMonth))) return false; + const s2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, r2, 5, 2, 1, 12, () => { + let e4 = ((/* @__PURE__ */ new Date()).getMonth() + 1).toString(); + return 1 === e4.length && (e4 = "0" + e4), { message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValueForDataType, D.codeEditor.units.monthUnitLabel, M.month.toString(), r2), 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 (!o.default.isActualNumber(s2)) return false; + if (!this._checkSeparator(e3, i3, t3, "-", 7, () => u.CodeParseItemMessage.createInvalidTypeValue(r2).addWhat(D.codeEditor.types.timeInvalidSeparatorMonthDay))) return false; + let l2; + switch (s2) { + case 1: + case 3: + case 5: + case 7: + case 8: + case 10: + case 12: + l2 = 31; + break; + case 2: + l2 = a2 % 4 != 0 || a2 % 100 == 0 && a2 % 400 != 0 ? 28 : 29; + break; + default: + l2 = 30; + } + const c2 = this.wantZeroPaddedNumericValueForPart(e3, i3, t3, r2, 8, 2, 1, l2, () => { + let e4 = (/* @__PURE__ */ new Date()).getDate().toString(); + return 1 === e4.length && (e4 = "0" + e4), { message: (0, E.sprintf)(D.codeEditor.types.timeUnitNeedsDigitValueForDataType, D.codeEditor.units.dayUnitLabel, M.day.toString(), r2), 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 o.default.isActualNumber(c2); } - get isArchValueVideo() { + _checkTimeStr(e3, t3, i3, n3) { + const r2 = n3 ? R.globalTypes.dateTime.displayString : R.globalTypes.date.displayString, a2 = n3 ? 11 : 0, s2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, r2, 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 (!o.default.isActualNumber(s2)) return false; + if (!this._checkSeparator(e3, t3, i3, ":", 2 + a2, () => u.CodeParseItemMessage.createInvalidTypeValue(r2).addWhat(D.codeEditor.types.timeInvalidSeparatorHourMinute))) return false; + const l2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, r2, 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 (!o.default.isActualNumber(l2)) return false; + if (!this._checkSeparator(e3, t3, i3, ":", 5 + a2, () => u.CodeParseItemMessage.createInvalidTypeValue(r2).addWhat(D.codeEditor.types.timeInvalidSeparatorMinuteSecond))) return false; + const c2 = this.wantZeroPaddedNumericValueForPart(e3, t3, i3, r2, 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 o.default.isActualNumber(c2); + } + _checkSeparator(e3, t3, i3, n3, o2, r2) { + if (e3[o2] !== n3) { + let a2, s2 = 0; + e3.length >= o2 && e3[o2] < "0" || e3[o2] > "9" ? (a2 = [(0, m.createFixReplaceText)(n3, n3, (0, E.sprintf)(D.codeEditor.suggestions.separators.replaceSeparatorSuggestion, n3))], s2 = 1) : e3.length === o2 && (a2 = [(0, p.createAppendTextFix)(n3, n3, (0, E.sprintf)(D.codeEditor.suggestions.separators.addSeparatorSuggestion, n3))]); + const l2 = r2(); + return this.addParseResultItem(i3, t3, b.ParseResultTypes.error, l2.addSuggestions(a2), t3.from + o2 + 1, t3.from + o2 + 1 + s2), false; + } return true; } - setLiteralByVideoIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("videoId", "setLiteralByVideoIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByVideoIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByVideoIdAsync", t3, this)); - }); + _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(R.globalTypes.dateTime.displayString).addWhat(D.codeEditor.types.dateTimeInvalid)) && this._checkTimeStr(e3, t3, i3, true)); } - setLiteralByVideoNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("videoName", "setLiteralByVideoNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByVideoNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByVideoNameAsync", t3, this)); - }); + _checkCurrencyStr(e3, t3, i3, n3) { + var o2; + const r2 = i3.type.parseLiteral(e3, n3); + if (r2.errorString) { + let n4, o3, a2; + if (r2.errorString === D.expressionsHelp.parameters.valueMustBeLiteralISO4217) { + const { amount: t4 } = y.CurrencyType.splitCurrencyLiteralParts(e3); + n4 = t4.length + 1, o3 = 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 !== o3 ? t3.from + o3 + 1 : null, null, this._preventModeSwitch), null; + } + return null !== (o2 = r2.resultString) && void 0 !== o2 ? o2 : null; } - } - t2.default = s; - }, 28996: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - 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), c = i2(54830); - t2.windowToggle = function(e3, t3) { - return a.operate(function(i3, a2) { - 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(); - d.push(i4); - var n3, _ = new o.Subscription(); - try { - n3 = s.innerFrom(t3(e4)); - } catch (e5) { - return void p(e5); - } - a2.next(i4.asObservable()), _.add(n3.subscribe(l.createOperatorSubscriber(a2, function() { - c.arrRemove(d, i4), i4.complete(), _.unsubscribe(); - }, u.noop, p))); - }, u.noop)), i3.subscribe(l.createOperatorSubscriber(a2, function(e4) { - 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) { - t4 = { error: e5 }; - } finally { - try { - a3 && !a3.done && (i4 = o2.return) && i4.call(o2); - } finally { - if (t4) throw t4.error; + _resolveValueAssignment(e3, t3, i3, n3) { + var r2; + if (!(null == e3 ? void 0 : e3.type)) return; + let a2; + switch (void 0 === i3 && (i3 = this._sourceText.substring(t3.from, t3.to)), n3) { + case L.boolean: + o.default.isBoolean(i3) ? a2 = { archType: R.globalTypes.boolean, archValue: i3 ? f.default.true : f.default.false, jsonValue: i3, isBoolean: true } : o.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 L.null: + (null === i3 || o.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 L.string: { + let n4; + if (o.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 === (r2 = e3.type) || void 0 === r2 ? void 0 : r2.displayString).addSuggestions(this._getIncompatibleTypeAssignmentSuggestions(e3.type, R.globalTypes.string, `"${i3}"`)), null, null, null, this._preventModeSwitch); + break; } - }, function() { - for (; 0 < d.length; ) d.shift().complete(); - a2.complete(); - }, p, function() { - 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(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); + case L.number: { + const n4 = this._getNumberFromStr(i3, t3, e3, 0, true, true, void 0, false); + 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; } - constructor(e3) { - super(e3); + _assignValue(e3, t3, i3) { + var n3, o2, r2, a2, s2, l2, c2, d2, p2, _2, h2, g2, f2, T2, S2, v2, I2, C2, w2, P2, M2, F2, L2, x, k, V, U, B, G, j, q, W, 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._preventModeSwitch), false; + if ((null === (n3 = e3.expressionPropDef) || void 0 === n3 ? void 0 : n3.maxLength) && i3.isString && K.length > (null === (o2 = e3.expressionPropDef) || void 0 === o2 ? void 0 : o2.maxLength) && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createStringLengthTooBig(K.length, null === (r2 = e3.expressionPropDef) || void 0 === r2 ? void 0 : r2.minLength, null === (a2 = e3.expressionPropDef) || void 0 === a2 ? void 0 : a2.maxLength).setFacetInfo({ facet: O.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, 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: O.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 ? K > e3.expressionPropDef.maxValue : K >= e3.expressionPropDef.maxValue)) { + const i4 = e3.expressionPropDef.maxValue - (e3.expressionPropDef.maxValueInclusive ? 0 : 1); + 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 === (I2 = e3.expressionPropDef) || void 0 === I2 ? void 0 : I2.maxValue, !!(null === (C2 = e3.expressionPropDef) || void 0 === C2 ? void 0 : C2.maxValueInclusive)).setFacetInfo({ facet: O.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 === (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, 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: O.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, o3 = null == i4 ? void 0 : i4.maxValueParsedDecimal; + if (void 0 !== n4 || void 0 !== o3) { + const r3 = "string" == typeof K ? y.CurrencyType.splitCurrencyLiteralParts(K).amount : ""; + if ("" !== r3) { + const a3 = (0, A.getParsedDecimal)(r3, N.VALIDATE_ALLOW_INTEGER_FORM); + void 0 !== a3 && (a3.isGreaterThan(o3) && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooBig(r3, null == i4 ? void 0 : i4.minValueStr, true, null == i4 ? void 0 : i4.maxValueStr, true).setFacetInfo({ facet: O.jsonParseItemFacet.propFacetMaxValue, facetOutOfBoundsValue: Q, facetValue: null == i4 ? void 0 : i4.maxValueStr })), a3.isLessThan(n4) && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createValueStrTooSmall(r3, null == i4 ? void 0 : i4.minValueStr, true, null == i4 ? void 0 : i4.maxValueStr, true).setFacetInfo({ facet: O.jsonParseItemFacet.propFacetMinValue, facetOutOfBoundsValue: Q, facetValue: null == i4 ? void 0 : i4.minValueStr }))); + } + } + } + if (null === (j = null === (G = e3.expressionPropDef) || void 0 === G ? void 0 : G.allowableValues) || void 0 === j ? void 0 : j.length) { + const n4 = null === (q = i3.jsonValue) || void 0 === q ? void 0 : q.toString(); + (null === (W = e3.expressionPropDef) || void 0 === W ? void 0 : W.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: O.jsonParseItemFacet.propFacetAllowableValue, facetOutOfBoundsValue: n4, facetValue: null === (H = e3.expressionPropDef) || void 0 === H ? void 0 : H.allowableValues })); + } + 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; } - get className() { - return "ExpressionTypeDigitalAudioOptions"; + _addNullPropertyValueNoOpWarningIfConfigured(e3, t3, i3) { + var n3, o2, r2, a2; + if (!this.isParseItemObjectPropertyValue(e3)) return; + const s2 = !!(null === (n3 = e3.expressionPropDef) || void 0 === n3 ? void 0 : n3.isRequired), l2 = !!(null === (o2 = e3.expressionPropDef) || void 0 === o2 ? void 0 : o2.isPatchable), c2 = (0, C.isCustomJsonExpressionType)(null === (r2 = this._rootExpression) || void 0 === r2 ? void 0 : r2.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)); } - get isExpressionTypeDigitalAudioOptions() { + _checkValueAssignment(e3, t3) { + switch (e3.mode) { + case F.array: + this._arrayItemsRequirePrefixSeparator() && !e3.arrayItemPrefixSeparatorAdded && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._preventModeSwitch); + break; + case F.objectPropertyValue: + this._propertyValuesRequirePrefixSeparator() && !e3.propertyValuePrefixSeparatorAdded && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._preventModeSwitch); + } return true; } - get supportsLiteralMode() { - return (0, a.isFeatureAvailable)(o.default.cannedResponseAttachmentsPostGaFeature); + _assignScalarValue(e3, t3, i3) { + const n3 = this._checkNotAlreadyDone(e3); + if (!n3) return false; + if (!this._checkValueAssignment(n3, e3)) return false; + let o2; + const r2 = this._resolveValueAssignment(n3, e3, i3, t3); + return o2 = !!r2 && this._assignValue(n3, e3, r2), this._popValueAssignment(n3, e3), o2; } - } - t2.ExpressionTypeDigitalAudioOptions = s; - }, 29035: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.findIndex = void 0; - var n2 = i2(65212), r2 = i2(98183); - t2.findIndex = function(e3, t3) { - return n2.operate(r2.createFind(e3, t3, "index")); }; - }, 29102: (e2, t2, i2) => { + }, 57653(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), 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 } }); - } - get id() { - return "menuSettings"; + t2.CodeParseItemMessage = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 = []; } - get className() { - return "MenuSettingsViewModel"; + static _createParseItemMessageInfo(e3, t3) { + const i3 = new g().addWhatInvalidDataType(t3); + return i3._type = e3, i3; } - get showInFlowSize() { - return false; + static createExtraValue() { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueExtra).addWhat(m.codeEditor.parseErrors.extraValueErrorMessage); } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) return { extensionDialingMaxDelay: this.extensionDialingDelay.getConfiguration(e3, t3), listenForExtensionDialing: this.useExtensionDialing.getConfiguration(e3, t3), menuSelectionTimeout: this.promptRepeatDelay.getConfiguration(e3, t3), repeatCount: this.promptRepeatCount.getConfiguration(e3, t3) }; - this.isFlowSettings && (e3.defaultSettings || (e3.defaultSettings = new m()), e3.defaultSettings.Menu || (e3.defaultSettings.Menu = {}), e3.defaultSettings.Menu.promptRepeatCount = this.promptRepeatCount.getConfiguration(e3, t3), e3.defaultSettings.Menu.promptRepeatDelay = this.promptRepeatDelay.getConfiguration(e3, t3), e3.defaultSettings.Menu.extensionDialingDelay = this.extensionDialingDelay.getConfiguration(e3, t3), e3.defaultSettings.Menu.useExtensionDialing = this.useExtensionDialing.getConfiguration(e3, t3)); + static createMissingValue(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueMissing); + return t3.addWhat(e3), t3; } - getDisplayName() { - return f.menu.defaultMenuSettings; + static createInvalidTypeValue(e3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.invalidTypeValue, e3); } - getNodeName() { - return f.customNodes.menus; + static createTypesIncompatible(e3, t3) { + const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.typeIncompatible); + return i3.addWhat(m.codeEditor.types.incompatibleType), i3.addWhat(m.codeEditor.types.typeIncompatibilityError, [e3, t3]), i3; } - get isMenuSettingsNode() { - return true; + static createIncompatibleTypesValueAssignment(e3, t3, i3) { + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.typeIncompatibleAssignment); + return n3.addWhat(m.codeEditor.types.incompatibleTypeAssignment), n3.addWhat(m.codeEditor.types.typeIncompatibilityAssignmentError, [e3, t3, i3]), n3; } - loadConfiguration(e3) { - var t3; - this.isFlowSettings && !e3.defaultSettings && (e3.defaultSettings = new m()); - 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, d2), this.useExtensionDialing = a.expression(this.parentFlow, _2, this._prepareModel(e3, "useExtensionDialing"), f.menu.useExtensionDialing, s.globalTypes.boolean, null, p2); + static createArchitectExpressionInfo(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectExpression); + return t3.addWhat(e3), t3; } - get nodeGuxIcon() { - return d.default.menu; + static createNullPropertyValueNoOpWarning(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.nullPropertyValueNoOpWarning); + return t3.addWhat(e3), t3; } - get helpTopic() { - return _.helpTopics.treeNodes.menuSettings; + static createAtLeastOnePropertyMustBeSet(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.atLeastOnePropertyMustBeSet); + return t3.addWhat(e3), t3; } - search(e3) { - e3.addToQueue(this.promptRepeatCount), e3.addToQueue(this.promptRepeatDelay), e3.addToQueue(this.extensionDialingDelay), e3.addToQueue(this.useExtensionDialing); + static _hasNullPropertyValueNoOpWarningsConfigured(e3, t3) { + return !(!(0, l.areOptionsJsonType)(e3) || !e3.nullPropertyValueNoOpWarningText) || !(!(0, u.isCustomJsonExpressionType)(t3) || !t3.nullPropertyValueNoOpWarningText); } - validate(e3) { - this.isValidatingExtDelay = true, this.promptRepeatDelay.validate(e3), this.promptRepeatCount.validate(e3), this.useExtensionDialing.validate(e3), this.isValidatingPromptDelay = true, this.extensionDialingDelay.validate(e3); + static _getNullPropertyValueNoOpWarningText(e3, t3, i3, n3, r2) { + const a2 = "jsonNull" === r2 ? s.default.null : s.default.notSet, d2 = (0, o.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, o.sprintf)(m.generic.joinTwoSentences, d2, i3.nullPropertyValueNoOpWarningText)) : ((0, u.isCustomJsonExpressionType)(n3) && n3.nullPropertyValueNoOpWarningText, p.default.resolveString(d2)); } - validateExtDialDelayIsLessThanRepeatDelay(e3) { - const t3 = e3 === this.extensionDialingDelay ? f.menu.extDialDelayTooBigError : f.menu.promptRepeatDelayTooSmallError; - e3 !== this.extensionDialingDelay || this.isValidatingPromptDelay ? this.isValidatingExtDelay || p.validateItem(this.extensionDialingDelay, false, true) : p.validateItem(this.promptRepeatDelay, false, true), this.isValidatingExtDelay = false, this.isValidatingPromptDelay = false; - const i3 = this.parentFlow.menuSettings; - if (i3 !== this || this.parentFlow.isValidating || this.parentFlow.menus.forEach((e4) => p.validateNode(e4)), e3.hasValidationError) return; - const n3 = (e4, t4) => e4.isBlank ? t4 : e4, o2 = n3(this.useExtensionDialing, i3.useExtensionDialing); - if (!this.isFlowSettings && "false" === o2.text) return; - if (!this.isFlowSettings && this.extensionDialingDelay.isBlank && this.promptRepeatDelay.isBlank) return; - const a2 = n3(this.extensionDialingDelay, i3.extensionDialingDelay).toNumber(), s2 = n3(this.promptRepeatDelay, i3.promptRepeatDelay).toNumber(); - return r2.default.isUndefined(a2) || r2.default.isUndefined(s2) ? void 0 : a2 >= s2 ? t3 : void 0; + static getNullPropertyValueNoOpMessage(e3, t3, i3, n3, o2 = "notSetExpression") { + return e3 && !t3 ? { messageText: "jsonNull" === o2 ? m.facets.valueCannotBeNull : m.facets.valueCannotBeNotSet, isError: true } : g._hasNullPropertyValueNoOpWarningsConfigured(i3, n3) ? { messageText: g._getNullPropertyValueNoOpWarningText(e3, t3, i3, n3, o2), isError: false } : void 0; } - get wrappedYamlName() { - return "settingsMenu"; + static createArchitectExpressionUsageUnavailable(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectExpressionUnavailable); + return t3.addWhat(e3 ? m.codeEditor.architectExpressionsUnavailableForVariableInitialValue : m.codeEditor.architectExpressionsUnavailable), t3; } - _destroy() { - super._destroy(), this.promptRepeatDelay && this.promptRepeatDelay.destroy(), this.promptRepeatCount && this.promptRepeatCount.destroy(), this.extensionDialingDelay && this.extensionDialingDelay.destroy(), this.useExtensionDialing && this.useExtensionDialing.destroy(); + static createArchitectLiteralInfo(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectLiteral); + return t3.addWhat(e3), t3; } - _initializeDesignTime() { - super._initializeDesignTime(), this.promptRepeatCount.initializeDesignTime(), this.promptRepeatDelay.initializeDesignTime(), this.extensionDialingDelay.initializeDesignTime(), this.useExtensionDialing.initializeDesignTime(); + static createArrayLengthTooSmall(e3, t3, i3) { + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.arrayLengthTooSmall); + return n3.addWhat(m.codeEditor.parseErrors.arrayLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; } - _prepareModel(e3, t3) { - const i3 = this.isFlowSettings ? e3.defaultSettings : e3; - return this.isFlowSettings ? (i3.Menu || (i3.Menu = {}), i3.Menu[t3] && !r2.default.isEmpty(i3.Menu[t3]) || (i3.Menu[t3] = new g()), i3.Menu[t3]) : (i3[t3] && !r2.default.isEmpty(i3[t3]) || (i3[t3] = new g()), i3[t3]); + static createArrayLengthTooBig(e3, t3, i3) { + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.arrayLengthTooBig); + return n3.addWhat(m.codeEditor.parseErrors.arrayLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; } - } - t2.default = T; - }, 29115: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ContactListType = void 0; - const n2 = i2(71056), r2 = i2(43610), o = i2(80428), a = i2(94765); - class s extends a.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + static createPropertyNotValidForType(e3, t3) { + const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.propertyNotValidForType); + return i3.addWhat(m.codeEditor.properties.propertyNameNotValidForType, [e3, t3]), i3; } - get className() { - return "ContactListType"; + static createPropertyIsReadOnly(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.propertyNotValidForType); + return t3.addWhat(m.codeEditor.properties.propertyIsReadOnly, [e3]), t3; } - createExpressionOptionClass() { - return new n2.ExpressionTypeNetworkObjectOptions(); + static createObjectLiteralNotAllowedWhenAllPropertiesReadOnly(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.objectLiteralNotAllowedWhenAllPropertiesReadOnly); + return t3.addWhat((0, o.vsprintf)(m.generic.joinTwoSentences, [m.codeEditor.properties.objectLiteralNotAllowedWhenAllPropertiesReadOnly, (0, o.vsprintf)(m.codeEditor.properties.useExpressionNotationForType, [e3])])), t3; } - canConvertLitToExpression(e3) { - return false; + static createDuplicateProperty(e3) { + const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.duplicateProperty); + return t3.addWhat(m.codeEditor.properties.propertyIsDuplicated, [e3]), t3; } - convertLitToExpression(e3, t3) { - return ""; + static createInvalidSyntax() { + const e3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.invalidSyntax); + return e3.addWhat(m.codeEditor.parseErrors.invalidSyntax), e3; } - _getLiteralValueOfExpression() { - return ""; + static createInvalidIndent(e3, t3) { + 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; } - get listManager() { - return r2.contactListManager; + static createRequiredPropertiesMissing(e3, t3, i3) { + 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; } - } - t2.ContactListType = s, s.typeIdentifier = o.expressionTypeNames.contactList; - }, 29133: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.addVariable = s, t2.removeVariable = u, t2.updateType = function(e3, t3) { - let i3 = []; - o.default.each(e3._expansions, (e4) => { - e4.type === t3 && (i3 = o.default.union(i3, [e4.realVariable || e4])); - }), o.default.each(i3, (t4) => { - u(e3, t4); - const i4 = s(e3, t4, true); - e3.hasExpanded = o.default.union(e3.hasExpanded, o.default.pluck(i4, "expandedKey"), [t4.expandedKey]); - }); - }; - const n2 = i2(31635), r2 = n2.__importStar(i2(9345)), o = n2.__importDefault(i2(92140)), a = i2(26232); - function s(e3, t3, i3) { - if (!t3) return; - 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, (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) => { - const r3 = [t3.name, i4.name], o2 = a(r3, t3.clone()); - o2 && (o2.hierarchicalParent = t3, o2.description = i4.description, o2.ids = [t3.id, i4.id], o2.displayValue = i4.displayValue, (t3.isReadOnly || i4.isReadOnly || i4.isComputed) && (o2.isReadOnly = true), e3.addExpansionVariable(o2), t3.expansionList.push(o2), n3.push(o2), s2(o2, r3, t3)); - }), n3; - } - function l(e3, t3) { - const i3 = t3.parent ? t3.parent.id : t3.parentFlow.id; - delete e3._expansions[t3.id], e3._expansionsNameToId[i3] && e3._expansionsNameToId[i3][t3.lowerName] === t3.id && delete e3._expansionsNameToId[i3][t3.name], e3._expansionsDeprecatedNameToId[i3] && e3._expansionsDeprecatedNameToId[i3][t3.lowerName] === t3.id && delete e3._expansionsDeprecatedNameToId[i3][t3.deprecatedName]; - } - function u(e3, t3) { - t3 && (l(e3, t3), delete e3.hasExpanded[t3.expandedKey]), o.default.each(t3.expansionList, (t4) => { - l(e3, t4), delete e3.hasExpanded[t4.expandedKey]; - }); - } - }, 29268: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + static createStringLengthTooSmall(e3, t3, i3) { + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.stringLengthTooSmall); + return n3.addWhat(m.codeEditor.parseErrors.stringLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; } - get _globalTypeName() { - return "worktypeStatusCollection"; + static createStringLengthTooBig(e3, t3, i3) { + const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.stringLengthTooBig); + return n3.addWhat(m.codeEditor.parseErrors.stringLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; } - get displayTypeName() { - return "ArchValueWorktypeStatusCollection"; + static createTokenDuplicate(e3, t3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenDuplicate, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenDuplicate, [e3]); } - get isArchValueWorktypeStatusCollection() { - return true; + static createTokenInvalid(e3, t3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenInvalid, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenInvalid, [e3]); } - } - t2.default = r2; - }, 29269: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.utf8EncodedSizeCalc = function(e3, t3) { - if ("string" != typeof e3) return console.error("Non-string value passed into utf8EncodedSizeCalc."), 0; - let i2 = e3.length; - for (let n2 = e3.length - 1; n2 >= 0; n2--) { - const r2 = e3.charCodeAt(n2); - if (r2 > 127 && r2 <= 2047 ? i2++ : r2 > 2047 && r2 <= 65535 && (i2 += 2), r2 >= 56320 && r2 <= 57343 && n2--, t3 && i2 > t3) return t3 + 1; + static createTokenInvalidIsNotType(e3, t3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenInvalidType).addWhat(m.codeEditor.types.valueNotValidForTypeGeneric, [e3, t3]); } - return i2; - }; - }, 29304: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(83663)); - class o extends r2.default { - constructor(e3) { - super(e3); + static createTokenMissing(e3, t3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenMissing, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenMissing, [e3]); } - get _globalTypeName() { - return "timePicker"; + static createTokenUnexpected(e3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenUnexpected).addWhat(m.codeEditor.parseErrors.tokens.tokenUnexpected, [e3]); } - get displayTypeName() { - return "ArchValueTimePicker"; + static createTokenUnexpectedAfterValue(e3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenAfterEndOfValue).addWhat(m.codeEditor.parseErrors.tokenAfterEndOfValue, [e3]); } - get isArchValueTimePicker() { - return true; + static createTotalTextLengthTooBig(e3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.totalTextLengthTooBig).addWhat(m.expression.expressionLengthToLong, [e3.toString(), s.default.maxExpressionTextLength.toString()]); } - get title() { - return this._getAssignableProperty("title"); + static createUnnecessarySeparator(e3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.unnecessarySeparator).addWhat(m.codeEditor.parseErrors.separatorIsUnnecessary, [e3]); } - get subtitle() { - return this._getAssignableProperty("subtitle"); + static createValueIncomplete(e3) { + return g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueIncomplete, e3).addWhat(m.codeEditor.parseErrors.valueIncomplete); } - get image() { - return this._getAssignableProperty("image"); + static createValueNotInAllowableValues(e3, t3) { + const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueNotInAllowableValues); + return i3.addWhat(m.codeEditor.types.valueNotAllowed, [e3]), i3.addFacetAllowableValues(t3), i3; } - get address() { - return this._getAssignableProperty("address"); + static createValueTooBig(e3, t3, i3, n3, o2) { + const r2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooBig); + return void 0 !== e3 ? r2.addWhat(m.codeEditor.types.codeEditorValueTooLarge, [e3.toString()]) : r2.addWhat(m.codeEditor.types.codeEditorValueTooLargeNoValue), r2.addFacetsMinMaxDetailed(t3, i3, n3, o2), r2; } - get longitude() { - return this._getAssignableProperty("longitude"); + static createValueStrTooBig(e3, t3, i3, n3, o2) { + const r2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooBig); + return void 0 !== e3 ? r2.addWhat(m.codeEditor.types.codeEditorValueTooLarge, [e3]) : r2.addWhat(m.codeEditor.types.codeEditorValueTooLargeNoValue), r2.addFacetsMinMaxDetailed(t3, i3, n3, o2), r2; } - get latitude() { - return this._getAssignableProperty("latitude"); + static createValueStrTooSmall(e3, t3, i3, n3, o2) { + const r2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooSmall); + return void 0 !== e3 ? r2.addWhat(m.codeEditor.types.codeEditorValueTooSmall, [e3]) : r2.addWhat(m.codeEditor.types.codeEditorValueTooSmallNoValue), r2.addFacetsMinMaxDetailed(t3, i3, n3, o2), r2; } - setLiteralTimePicker(e3, t3, i3, r3, o2, a) { - return n2.__awaiter(this, void 0, void 0, function* () { - this.title.setLiteralString(e3), t3 && this.subtitle.setLiteralString(t3), i3 && (yield this.image.setLiteralByImageNameAsync(i3)), r3 && o2 && a && (this.address.setLiteralString(r3), this.longitude.setLiteralDecimal(o2), this.latitude.setLiteralDecimal(a)); - }); + static createValueTooSmall(e3, t3, i3, n3, o2) { + const r2 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueTooSmall); + return void 0 !== e3 ? r2.addWhat(m.codeEditor.types.codeEditorValueTooSmall, [e3.toString()]) : r2.addWhat(m.codeEditor.types.codeEditorValueTooSmallNoValue), r2.addFacetsMinMaxDetailed(t3, i3, n3, o2), r2; } - } - 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)), 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(); + 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) > _.propertyLimits.name.maxLength && (n3 = true); + }), n3) { + const n4 = []; + t3.forEach((e4) => { + n4.push(d.truncateText(e4, _.propertyLimits.name.maxLength)); + }), i3.displayText = (0, o.vsprintf)(e3, n4); + } + return i3.rawText = (0, o.vsprintf)(e3, t3), this._messageParts.push(i3), this; } - get botRunnableNetworkGetCall() { - return g.getAgent; + addWhatInvalidDataType(e3) { + return e3 && this.addWhat(m.codeEditor.types.invalidTypeValue, [e3]), this; } - get isDialogflowAction() { - return true; + addSuggestion(e3) { + return e3 && this._suggestions.push(e3), this; } - static get managedProperties() { - 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)) }]; + addSuggestions(e3) { + return (null == e3 ? void 0 : e3.length) > 0 && (this._suggestions = this._suggestions.concat(e3)), this; } - validate(e3) { - super.validate(e3); - const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); - 0 === (null == t3 ? void 0 : t3.intents.length) && e3.addError(this, f.dialogflow.agentHasNoIntents); + _generateWhatMessage(e3) { + let t3; + if (this._facetLabelValues) { + const e4 = []; + r.default.each(this._facetLabelValues, (t4) => { + e4.push(t4.operator ? `${t4.facetLabel}: ${t4.operator} ${t4.facetVal}` : `${t4.facetLabel}: ${t4.facetVal}`); + }), e4.length > 0 && (t3 = `( ${e4.join(", ")} )`); + } + const i3 = this._messageParts.map((t4) => t4.displayText && e3 ? t4.displayText : t4.rawText); + return (null == t3 ? void 0 : t3.length) > 0 ? i3.concat(t3).join(" ") : i3.join(" "); } - } - 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); - } - i2(45214).extend(n2, "NuanceMixChannel"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 29390: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3), this._target = this.coreFactory.createArchWrapper(e3.target); + get message() { + return this._generateWhatMessage(); } - get _actionTypeId() { - return r2.clearPostFlowActionType; + get displayMessage() { + return this._generateWhatMessage(true); } - get displayTypeName() { - return this._scriptingName; + get facetInfo() { + return this._facetInfo; } - get isArchActionClearPostFlow() { - return true; + setFacetInfo(e3) { + return this._facetInfo = e3, this; } - get target() { - return this._target; + addFacetAllowableValues(e3) { + return (null == e3 ? void 0 : e3.length) && this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.allowableValuesFacetLabel, facetVal: d.getListDisplayString(e3, false, false, true) }), this; } - } - t2.default = a; - }, 29433: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + addFacetsMinMax(e3, t3) { + return this.addFacetsMinMaxDetailed(e3, void 0, t3, void 0); } - get _actionTypeId() { - return r2.findGrammarActionType; + addFacetsMinMaxItems(e3, 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 }); } - get displayTypeName() { - return this._scriptingName; + addFacetsMinMaxLength(e3, 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 }); } - get isArchActionFindGrammar() { - return true; + addFacetsMinMaxDetailed(e3, t3, i3, n3) { + if (void 0 !== e3) switch (t3) { + case true: + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">=" }); + break; + case false: + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">" }); + break; + default: + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3 }); + } + if (void 0 !== i3) switch (n3) { + case true: + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<=" }); + break; + case false: + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<" }); + break; + default: + this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3 }); + } + return this; } - get findResult() { - return this._findResult; + get suggestions() { + return this._suggestions; } } - t2.default = o; - }, 29463: (e2, t2, i2) => { + t2.CodeParseItemMessage = g; + }, 51677(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(55015)); - class a extends o.default { + t2.CodeParser = void 0; + const n2 = i2(31635), o = i2(29762), r = 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) { - super(e3), (0, r2.makeUnenumerable)(this, "_language"), this.isAvailable = !!this.language; + this._language = e3; } get language() { return this._language; } - set language(e3) { - this._language = e3; - } - } - t2.default = a, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "language", null); - }, 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)), 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 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); - this.isOutput && r3.setAsOutput(); - const l2 = a.expression(this.parentFlow, this.parent, e3.expression, this.getValueLabel(this.items.length), t3, void 0, r3); - return new u.default(e3, n3, l2); + static createUiParseSettings() { + return { returnConfigOnError: true, preventModeSwitch: true, captureTopLevelDisplayText: true }; } - getValueLabel(e3) { - const t3 = this.options && this.options.valueLabel ? this.options.valueLabel : d.updateVariables.variableValue; - return (0, r2.sprintf)(t3, e3 + 1); + static get JSONParser() { + return m._jsonParser || (m._jsonParser = new m(d.CodeLanguage.jsn)), m._jsonParser; } - getAddButtonLabel() { - return this.options && this.options.addButtonLabel ? this.options.addButtonLabel : d.collectionEditor.addItem; + static get ArchitectJSONParser() { + return m._architectJSONParser || (m._architectJSONParser = new m(d.CodeLanguage.architectJson)), m._architectJSONParser; } - getSectionLabel() { - return this.options && this.options.sectionLabel ? this.options.sectionLabel : d.setAttributes.attribute; + static get ArchitectExpressionParser() { + return m._architectExpressionParser || (m._architectExpressionParser = new m(d.CodeLanguage.architectExpression)), m._architectExpressionParser; } - getEmptySectionLabel() { - return d.setAttributes.noAttributesDefined; + static get ArchitectYAMLParser() { + return m._architectYAMLParser || (m._architectYAMLParser = new m(d.CodeLanguage.architectYaml)), m._architectYAMLParser; } - getNameLabel(e3) { - const t3 = this.options && this.options.nameLabel ? this.options.nameLabel : d.setAttributes.nameLabel; - return (0, r2.sprintf)(t3, e3 + 1); + static getParserForLanguage(e3) { + switch (e3) { + case d.CodeLanguage.architectExpression: + return m.ArchitectExpressionParser; + case d.CodeLanguage.architectJson: + return m.ArchitectJSONParser; + case d.CodeLanguage.architectYaml: + return m.ArchitectYAMLParser; + case d.CodeLanguage.jsn: + return m.JSONParser; + default: + return m.ArchitectJSONParser; + } } - get isNameValuePairs() { - return true; + traverseTree(e3, t3) { + e3.iterate({ enter(e4) { + t3(e4); + }, leave() { + } }); } - orderChanged() { - this.updateItemLabels(), super.orderChanged(); + _incrementYamlIndent(e3) { + return void 0 === e3 ? 0 : e3 + 2; } - updateItemLabels() { - this.items.forEach((e3, t3) => { - e3.name.label = this.getNameLabel(t3), e3.expression.label = this.getValueLabel(t3); - }); + _checkYamlIndent(e3, t3, i3, n3, o2) { + const r2 = o2 ? e3.getLineAndCharPosForPosition((0, h.getIndentPositionForNode)(o2, t3.from, t3.to)) : e3.getLineAndCharPosForPosition(t3.from), a2 = !!(r2.charPos % 2); + void 0 === n3 || r2 && (null == r2 ? void 0 : r2.charPos) === n3 ? a2 && e3.addParseResultItem(e3.currentParseItem, t3, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidIndent(r2.charPos)) : e3.addParseResultItem(e3.currentParseItem, t3, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidIndent(r2.charPos, n3)); } - get className() { - return "NameValuePairs"; + parse(e3, t3, i3) { + if (!e3.parentFlow.loaded) return; + i3 || (i3 = {}); + const n3 = !!(null == i3 ? void 0 : i3.enableLogging), a2 = !!(null == i3 ? void 0 : i3.captureTopLevelDisplayText), h2 = {}, m2 = { settings: i3, items: [], itemsByLinePosMap: {}, errorItems: [], warningItems: [], infoItems: [], language: this._language }; + n3 && console.log(`Parse text: ${t3}`); + const g = new p.CodeJsonBuilder(e3, t3, m2, i3, this.language); + let f = false; + if ((null == t3 ? void 0 : t3.length) > s.default.maxExpressionTextLength) g.addParseResultItem(g.currentParseItem, void 0, l.ParseResultTypes.error, _.CodeParseItemMessage.createTotalTextLengthTooBig(t3.length), void 0, void 0, true), f = true; + else { + const e4 = i3.quickParse ? i3.quickParseNode : void 0; + let s2; + switch (this._language) { + case d.CodeLanguage.architectJson: + s2 = o.parser.parse(t3), this.traverseTree(s2, (o2) => { + var r2, s3, c2, d2, p2, f2; + const T = t3.substring(o2.from, o2.to); + switch (n3 && console.log(`JSON Node type name: ${o2.type.name}, Node text: ${T}`), (null == e4 ? void 0 : e4.to) === o2.to && (m2.quickResultParseItem = g.currentParseItem), o2.type.name) { + case u.CodeArchitectJsonParserToken.Array: + case u.CodeArchitectJsonParserToken.ArchitectExpression: + case u.CodeArchitectJsonParserToken.ArchitectLiteral: + case u.CodeArchitectJsonParserToken.JsonText: + case u.CodeArchitectJsonParserToken.LineComment: + case u.CodeArchitectJsonParserToken.Object: + case u.CodeArchitectJsonParserToken.Property: + if (a2 && 1 === g.stack.length) { + const e5 = null == t3 ? void 0 : t3.substring(o2.from, o2.to), i4 = null === (s3 = null === (r2 = null == e5 ? void 0 : e5.split(":")) || void 0 === r2 ? void 0 : r2[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 ${o2.type.name}`); + break; + case u.CodeArchitectJsonParserToken.ArchitectExpressionContent: + g.addAssignArchitectExpr(o2, null === (p2 = t3.substring(o2.from, o2.to)) || void 0 === p2 ? void 0 : p2.trim()); + break; + case u.CodeArchitectJsonParserToken.ArchitectLiteralContent: + g.addAssignArchitectLiteral(o2, null === (f2 = t3.substring(o2.from, o2.to)) || void 0 === f2 ? void 0 : f2.trim()); + break; + case u.CodeArchitectJsonParserToken.ArrayStart: + g.pushArray(o2); + break; + case u.CodeArchitectJsonParserToken.ArrayEnd: + g.popArray(o2); + break; + case u.CodeArchitectJsonParserToken.False: + g.assignValueBoolean(o2, false); + break; + case u.CodeArchitectJsonParserToken.ItemSeparator: + g.addSeparator(o2); + break; + case u.CodeArchitectJsonParserToken.Null: + g.assignValueNull(o2); + break; + case u.CodeArchitectJsonParserToken.Number: + g.assignValueNumber(o2); + break; + case u.CodeArchitectJsonParserToken.ObjectStart: + g.pushObject(o2); + break; + case u.CodeArchitectJsonParserToken.ObjectEnd: + g.popObject(o2); + break; + case u.CodeArchitectJsonParserToken.PropertyName: + g.addPropertyAssignment(o2, T.slice(1, -1)); + break; + case u.CodeArchitectJsonParserToken.String: + g.assignValueString(o2, T.slice(1, -1)); + break; + case u.CodeArchitectJsonParserToken.True: + g.assignValueBoolean(o2, true); + break; + default: + if ("\u26A0" !== o2.type.name) g.addParseResultItem(g.currentParseItem, o2, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(T), void 0, void 0, true, i3.preventModeSwitch); + else if (T) g.addParseResultItem(g.currentParseItem, o2, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(T), void 0, void 0, true, i3.preventModeSwitch); + else if ("\u26A0" === o2.type.name && o2.type.isError) { + const e5 = g.currentParseItem; + !(null == e5 ? void 0 : e5.hasSeparator) && g.isParseItemObjectOrArray(e5) && g.addParseResultItem(g.currentParseItem, o2, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidSyntax(), void 0, void 0, true); + } + } + }), s2 = void 0; + break; + case d.CodeLanguage.architectYaml: { + let e5; + s2 = r.parser.parse(t3), this.traverseTree(s2, (o2) => { + var r2, a3, s3, u2, d2, p2; + const h3 = t3.substring(o2.from, o2.to); + switch (n3 && console.log(`YAML Node type name: ${o2.type.name}, Node text: ${h3}`), o2.type.name) { + 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 ${o2.type.name}`); + break; + case c.CodeArchitectYamlParserToken.ArchitectExpressionContent: + g.addAssignArchitectExpr(o2, null === (r2 = t3.substring(o2.from, o2.to)) || void 0 === r2 ? void 0 : r2.trim()); + break; + case c.CodeArchitectYamlParserToken.ArchitectLiteralContent: + g.addAssignArchitectLiteral(o2, null === (a3 = t3.substring(o2.from, o2.to)) || void 0 === a3 ? void 0 : a3.trim()); + break; + case c.CodeArchitectYamlParserToken.BlockMapping: + g.pushObject(o2), e5 = this._incrementYamlIndent(e5), this._checkYamlIndent(g, o2, h3, e5, t3); + break; + case c.CodeArchitectYamlParserToken.BlockSequence: + g.pushArray(o2), e5 = this._incrementYamlIndent(e5), this._checkYamlIndent(g, o2, h3, e5); + break; + case c.CodeArchitectYamlParserToken.ArrayItemStartSeparator: { + const t4 = null === (d2 = null === (u2 = g.unwindToArray(null === (s3 = g.getLineAndCharPosForPosition(o2.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(o2, h3), this._checkYamlIndent(g, o2, h3, e5); + break; + } + case c.CodeArchitectYamlParserToken.KeyValueSeparator: + g.addPropertyValueSeparator(o2, h3); + break; + case c.CodeArchitectYamlParserToken.Literal: + case c.CodeArchitectYamlParserToken.QuotedLiteral: { + const t4 = o2.type.name === c.CodeArchitectYamlParserToken.QuotedLiteral, i4 = t4 ? h3.slice(1, -1) : h3; + let r3 = g.currentParseItem; + if (g.isParseItemObject(r3) || g.isParseItemArray(r3) && !r3.arrayItemPrefixSeparatorAdded) { + const t5 = g.unwindToArrayOrObject(null === (p2 = g.getLineAndCharPosForPosition(o2.from)) || void 0 === p2 ? void 0 : p2.charPos); + t5 && (r3 = t5, e5 = t5.lineInfo.charPos), this._checkYamlIndent(g, o2, h3, e5); + } + g.isParseItemObject(r3) && g.addPropertyAssignment(o2, h3), g.isParseItemObjectPropertyValue(r3) || g.isParseItemArray(r3) ? g.assignScalarValue(o2, i4, t4) : n3 && console.log(`unknown '${h3}'`); + break; + } + default: + if ("\u26A0" !== o2.type.name) g.addParseResultItem(g.currentParseItem, o2, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(h3), void 0, void 0, true, i3.preventModeSwitch); + else if (h3) g.addParseResultItem(g.currentParseItem, o2, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(h3), void 0, void 0, true, i3.preventModeSwitch); + else if ("\u26A0" === o2.type.name && o2.type.isError) { + const e6 = g.currentParseItem; + !(null == e6 ? void 0 : e6.hasSeparator) && g.isParseItemObjectOrArray(e6) && g.addParseResultItem(g.currentParseItem, o2, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidSyntax(), void 0, void 0, true); + } + } + }); + break; + } + } + s2 = void 0; + } + return g.parseComplete(f), m2.configJson = g.getExpressionConfigVal(), a2 && (m2.topLevelDisplayTexts = h2), m2; } - isVariableListEmpty(e3) { - const t3 = this.parent, i3 = t3.variables ? t3.variables.items : null; - i3 && 0 !== i3.length || e3.addWarning(t3, d.getAttributes.noAttributesError); + parseAndSetExpressionConfig(e3, t3, i3) { + var n3, o2, r2; + if (!e3.parentFlow.loaded) return; + const s2 = this.parse(e3, a.default.isUndefined(t3) ? e3.text : t3, i3), l2 = null === (o2 = null === (n3 = e3.model) || void 0 === n3 ? void 0 : n3.config) || void 0 === o2 ? void 0 : o2.lit; + return l2 && (e3.type.isJsonType && !e3.type.isCustomType ? l2.val = null === (r2 = s2.configJson) || void 0 === r2 ? void 0 : r2.json : l2.val = s2.configJson), e3.setParseResult(s2), s2; } } - t2.NameValuePairs = _; - }, 29505: (e2, t2, i2) => { + t2.CodeParser = m; + }, 17666(e2, t2) { "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), c = i2(55909), d = i2(33951); - class p extends l.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3), this._utilizationLabelFacets = new a.default(), (0, u.makeUnenumerable)(this, "_utilizationLabelFacets"); - } - get className() { - return "ExpressionTypeUtilizationLabelOptions"; - } - get isExpressionTypeUtilizationLabelOptions() { - return true; - } - get facets() { - return this._utilizationLabelFacets; - } - set facets(e3) { - this._utilizationLabelFacets = d.ParameterValidator.expectTrue(e3 && true === e3.isUtilizationLabelFacets, e3, "UtilizationLabelFacets", () => c.ParameterInfo.createPropertySet(this.className, "facets", "value")); + var i2, n2, o, r, a, s; + 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.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"; + })(o || (t2.CodeSuggestionType = o = {})), (function(e3) { + e3.appendText = "appendText", e3.replaceText = "replaceText", e3.removeText = "removeText", e3.wrapText = "wrapText"; + })(r || (t2.CodeSuggestionWhatToDo = r = {})), (function(e3) { + e3.ArchitectExpression = "ArchitectExpression", e3.ArchitectExpressionContent = "ArchitectExpressionContent", e3.ArchitectLiteral = "ArchitectLiteral", e3.ArchitectLiteralContent = "ArchitectLiteralContent", e3.Array = "Array", e3.ArrayEnd = "]", e3.ArrayStart = "[", e3.False = "False", e3.JsonText = "JsonText", e3.LineComment = "LineComment", e3.ItemSeparator = "ItemSeparator", e3.Null = "Null", e3.Number = "Number", e3.Object = "Object", e3.ObjectStart = "{", e3.ObjectEnd = "}", e3.Property = "Property", e3.PropertyName = "PropertyName", e3.String = "String", e3.True = "True"; + })(a || (t2.CodeArchitectJsonParserToken = a = {})), (function(e3) { + e3.ArrayItemStartSeparator = "-", e3.BlockMapping = "BlockMapping", e3.BlockSequence = "BlockSequence", e3.Document = "Document", e3.FlowMapping = "FlowMapping", e3.Item = "Item", e3.Key = "Key", e3.KeyValueSeparator = ":", e3.Literal = "Literal", e3.Pair = "Pair", e3.QuotedLiteral = "QuotedLiteral", e3.Stream = "Stream", e3.ArchitectExpression = "ArchitectExpression", e3.ArchitectExpressionContent = "ArchitectExpressionContent", e3.ArchitectLiteral = "ArchitectLiteral", e3.ArchitectLiteralContent = "ArchitectLiteralContent"; + })(s || (t2.CodeArchitectYamlParserToken = s = {})); + }, 33336(e2, t2) { + "use strict"; + t2.getIndentPositionForNode = function(e3, t3, i2) { + if (null == e3 ? void 0 : e3.length) for (let n2 = t3; n2 < i2; n2++) switch (e3.charCodeAt(n2)) { + case 9: + case 10: + case 13: + case 32: + break; + default: + return n2; } - } - 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); - }, 29512: (e2, t2, i2) => { + return t3; + }; + }, 51125(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.concatMap = void 0; - var n2 = i2(67478), r2 = i2(10281); - t2.concatMap = function(e3, t3) { - return r2.isFunction(t3) ? n2.mergeMap(e3, t3, 1) : n2.mergeMap(e3, 1); + t2.Yb = t2.rq = t2.fs = t2.gN = void 0, t2.getCharacteristicsForLanguage = function(e3) { + switch (e3) { + case n2.CodeLanguage.jsn: + return t2.rq; + case n2.CodeLanguage.architectJson: + return t2.gN; + case n2.CodeLanguage.yaml: + return t2.Yb; + case n2.CodeLanguage.architectYaml: + return t2.fs; + } }; - }, 29526: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(31938); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "TimeZoneList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArrayToMap(e3, r2); - } } }), e2.exports = o; - }, 29527: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(39950).extend(n2, "ClipboardContentActionModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, r2) { - n2._super.configure.apply(this, arguments); - } } }), e2.exports = n2; - }, 29546: (e2, t2, i2) => { + const n2 = i2(17666); + t2.gN = { arrayItemPrefixSeparator: "", itemSeparator: ",", objectPropertyNameValueSeparator: "", objectPropertySeparator: ",", supportsArchitectExpressions: true, supportsArchitectLiterals: true }, t2.fs = { arrayItemPrefixSeparator: "-", itemSeparator: "", objectPropertyNameValueSeparator: ":", objectPropertySeparator: "", supportsArchitectExpressions: true, supportsArchitectLiterals: true }, t2.rq = { arrayItemPrefixSeparator: "", itemSeparator: ",", objectPropertyNameValueSeparator: "", objectPropertySeparator: ",", supportsArchitectExpressions: false, supportsArchitectLiterals: false }, t2.Yb = { arrayItemPrefixSeparator: "-", itemSeparator: "", objectPropertyNameValueSeparator: ":", objectPropertySeparator: "", supportsArchitectExpressions: false, supportsArchitectLiterals: false }; + }, 34630(e2, t2, i2) { "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 : c.leftToRight; - }, t2.getCurrentLanguage = function() { - return _; + t2.createSuggestion = s, t2.createAppendTextFix = u, t2.createFixReplaceText = c, t2.createFixImplicitCast = function(e3, t3, i3, o2) { + const r2 = `${i3}()`, s2 = []; + return s2.push((0, n2.sprintf)(a.codeEditor.types.returnValueTypeMismatch, e3.displayString, t3.displayString, r2)), c((0, n2.sprintf)(a.codeEditor.suggestions.addFunctionCall, r2), `${i3}(${o2 || ""})`, s2.join(" ")); + }, t2.createFixAddMissingSeparator = function(e3) { + return u((0, n2.sprintf)(a.codeEditor.suggestions.addMissingSeparator, e3), e3 || ","); + }, t2.createFixRemoveUnnecessarySeparator = function(e3) { + return t3 = (0, n2.sprintf)(a.codeEditor.suggestions.removeUnnecessarySeparator, e3), l(r.CodeSuggestionWhatToDo.removeText, t3, i3); + var t3, i3; }; - 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 (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 ? (d.info("Using language " + JSON.stringify(n3)), n3.id) : (r2.default.contains(h, e3) || d.error(`No matching language found for "${e3}".`), null); + const n2 = i2(17604), o = i2(17666), r = i2(17666), a = i2(47957); + function s(e3, t3, i3, n3, o2, r2, a2) { + return { type: e3, whatToDo: t3, displayString: i3, displayStringDetails: n3, text: o2, textWrapBefore: r2, textWrapAfter: a2 }; } - { - let e3; - e3 = m(), e3 ? (d.info("Setting currentLanguage to: " + e3), _ = e3) : (d.info("Setting currentLanguage to default language: " + p), _ = p); + function l(e3, t3, i3, n3, r2, a2) { + return s(o.CodeSuggestionType.fix, e3, t3, i3, n3, r2, a2); } - if (l.setCurrentLanguage(_), r2.default.findWhere(a.isoLanguagesUiData, { id: _ }).italic) { - const e3 = document.createElement("style"); - e3.type = "text/css", e3.innerHTML = ".italicize { font-style: italic; }", document.getElementsByTagName("head")[0].appendChild(e3); + function u(e3, t3, i3) { + return l(r.CodeSuggestionWhatToDo.appendText, e3, i3, t3); } - }, 29565: (e2, t2, i2) => { - const n2 = i2(94830), r2 = i2(36019).default, o = i2(50778); - function a() { + function c(e3, t3, i3) { + return l(r.CodeSuggestionWhatToDo.replaceText, e3, i3, t3); } - const s = new a(); - a.prototype.getDivisions = r2.request("GET", "{public-api.apps}/api/v2/authorization/divisions", n2), a.prototype.getDivision = r2.request("GET", "{public-api.apps}/api/v2/authorization/divisions/{id}", o), s.getDivisions.addOptions({ ignoreBadResponse: true }), e2.exports = s; - }, 29586: (e2, t2, i2) => { + }, 45148(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeDivisionOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(62252)), a = n2.__importDefault(i2(16945)); + class s extends a.default { + constructor(e3, t3, i3, n3, o2, r2, a2, s2, l, u, c, d, p, _) { + super(e3, t3, i3, n3, r2, a2, s2, l, u, c, d, p, _), Object.defineProperties(this, { _generators: { value: o2, writable: true } }); } get className() { - return "ExpressionTypeDivisionOptions"; + return "BaseBuilderDef"; } - get isExpressionTypeDivisionOptions() { - return true; + get fixedBuilderPart() { + return false; } - } - t2.ExpressionTypeDivisionOptions = r2; - }, 29626: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.sendRichLinkFailureReasons = void 0; - t2.sendRichLinkFailureReasons = ["ActionInvocationLimitExceeded", "GeneralError"]; - }, 29651: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(91674), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.emergencyGroupManager); + get warnOnNoParts() { + return false; } - get _globalTypeName() { - return "emergencyGroup"; + get hasMaxBuilderPartCount() { + return false; } - get displayTypeName() { - return "ArchValueEmergencyGroup"; + get hasMinBuilderPartCount() { + return false; } - get isArchValueEmergencyGroup() { - return true; + get maxBuilderPartCount() { } - setLiteralByEmergencyGroupIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupId", "setLiteralByEmergencyGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByEmergencyGroupIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByEmergencyGroupIdAsync", t3, this)); - }); + get minBuilderPartCount() { } - setLiteralByEmergencyGroupNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupName", "setLiteralByEmergencyGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByEmergencyGroupNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByEmergencyGroupNameAsync", t3, this)); - }); + getExpressionGenerator(e3) { + if (this._generators.getExpressionGenerator && o.default.isFunction(this._generators.getExpressionGenerator)) { + const t3 = this._generators.getExpressionGenerator(e3, this.generators); + if (t3) return t3; + } + return this._generators.expressionGenerator; } - } - t2.default = s; - }, 29659: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(3220)), o = n2.__importDefault(i2(37873)); - class a extends o.default { - constructor(e3) { - super(e3); + getNoPartsGenerator() { + return this._generators.noOrDisabledPartsGenerator; } - get displayTypeName() { - return "ArchTtsVoice"; + get generators() { + return this._generators; } - get isArchTtsVoice() { + get isBaseBuilderDef() { return true; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + createBuilder(e3, t3) { + throw "You must override the createBuilder method in inheriting classes"; } - get name() { - return this._getCoreViewModel().name; + reviveBuilder(e3, t3, i3) { + throw "You must override the reviveBuilder method in inheriting classes"; } - get parentEngine() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().engine); + reviveBuilderModel(e3) { + const t3 = this.createModel(e3); + return t3.populateFromJSON(e3), t3; } - get supportedLanguage() { - const e3 = this._getCoreViewModel().language; - return this.logItemVerboseNote(this._infoPropGet("supportedLanguage"), `looking up ArchLanguage for voice language tag '${e3}' to return.`), r2.default.getByLanguageTag(e3); + get modelType() { + return r.default; } - getLanguageSupport(e3) { - const t3 = this._infoParm("archLanguage", "getLanguageSupport"); - this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve language support."); - const i3 = this._getCoreViewModel(), n3 = e3.tag.toLowerCase(); - return i3.getVoiceSupportsLanguage(n3) ? "exact" : i3.getVoiceSupportsLanguageNoRegion(n3.split("-")[0]) ? "languageOnly" : "none"; + createModel(e3) { + return new this.modelType({ builderId: e3.builderDefId, version: e3.version }); } } - t2.default = a; - }, 29680: (e2, t2, i2) => { - const n2 = i2(60475), { getSecuredDataActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 29762: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - var n2 = i2(41827), r2 = i2(67359); - const o = r2.styleTags({ String: r2.tags.string, Number: r2.tags.number, "True False": r2.tags.bool, PropertyName: r2.tags.propertyName, Null: r2.tags.null, ",": r2.tags.separator, "[ ]": r2.tags.squareBracket, "{ }": r2.tags.brace, LineComment: r2.tags.lineComment }), a = n2.LRParser.deserialize({ version: 14, states: "%pOYQPOOO!PQPO'#CkO!WQPO'#CaQOQPOOOOQO'#Ch'#ChO!`QPO'#C{OOQO,59V,59VO!hQPO,59VO!mQQO'#CmO!uQQO'#CoOOQO'#Cz'#CzOOQO'#Cc'#CcO!}QPO'#CbO#SQPO'#CwOOQO,58{,58{O#[QPO,58{ObQPO'#CqO#aQPO,59gOOQO1G.q1G.qOOQO'#Cr'#CrO#iQQO'#CnO#qQQO,59XO#vQQO'#CpO$OQQO,59ZObQPO,58|O!ZQPO'#CsO$TQPO,59cOOQO1G.g1G.gOOQO,59],59]OOQO-E6o-E6oOOQO-E6p-E6pOOQO1G.s1G.sOOQO1G.u1G.uOOQO1G.h1G.hOOQO,59_,59_OOQO-E6q-E6q", stateData: "$b~OPOSjOS~OSQO^PO~OSQOWYOXYOYYOZYO^POlSOqWOtXO~O]UO~PbOR^OlZO~O``O]oX~O]bO~OrcOpbP~OrcOsdP~OmhO~O`iORkX~ORkO~O``O]oa~OrcOpbX~OpoO~OrcOsdX~OspO~O`iORka~OPrjr~", goto: "#QpPPPPPqy!PPPPPtPPqPt!Tt!W!Z!a!kPPP!qPP!t!}QROVYP`hQ]QRriT[QiReWRgXQaTRmaQdWQfXTndfQj]RsjR_QQTPQl`RqhRVP", nodeNames: "\u26A0 LineComment JsonText } { Object Property PropertyName True False Null Number String ] [ Array ItemSeparator ArchitectExpression ArchitectExpressionContent ArchitectLiteral ArchitectLiteralContent", maxTerm: 36, nodeProps: [["openedBy", 3, "{", 13, "["], ["closedBy", 4, "}", 14, "]"], ["isolate", -2, 7, 12, ""]], propSources: [o], skippedNodes: [0, 1], repeatNodeCount: 3, tokenData: "0O~RqOX#YXY#_YZ#_Z]#Y]^#_^p#Ypq#_qr#Yrs#fs|#Y|})m}!O)t!O!P+b!P!Q+j!Q![,Z![!],n!]!}#Y!}#O,u#O#P#Y#P#Q-U#Q#Y#Y#Y#Z-e#Z#b#Y#b#c.U#c#h#Y#h#i.o#i#o#Y#o#p/Y#p#q#Y#q#r/i#r;'S#Y;'S;=`/x<%lO#YQ#_OrQ~#fOrQj~R#korQpq%lqr%lrs'ps!c%l!c!}%l!}#O%l#O#P'u#P#T%l#T#o%l#o%W%l%W%o%l%o%p%l%p&a%l&a&b%l&b&j%l&j$IS%l$IS&Gh%l&Gh&Nv%l&Nv'(v%l'(v'+l%l'+l'.b%l'.b(3f%l(3f*5S%l*5S41d%l41d;'S%l;'S;=`)g<%l?&r%l?&r?1x%l?1x?HU%l?HU?M`%l?M`O%lP%oopq%lqr%lrs'ps!c%l!c!}%l!}#O%l#O#P'u#P#T%l#T#o%l#o%W%l%W%o%l%o%p%l%p&a%l&a&b%l&b&j%l&j$IS%l$IS&Gh%l&Gh&Nv%l&Nv'(v%l'(v'+l%l'+l'.b%l'.b(3f%l(3f*5S%l*5S41d%l41d;'S%l;'S;=`)g<%l?&r%l?&r?1x%l?1x?HU%l?HU?M`%l?M`O%lP'uOlPP'xXrs%l!P!Q%l#O#P%l#U#V%l#Y#Z%l#b#c%l#f#g%l#h#i%l#i#j(eP(hR!Q![(q!c!i(q#T#Z(qP(tR!Q![(}!c!i(}#T#Z(}P)QR!Q![)Z!c!i)Z#T#Z)ZP)^R!Q![%l!c!i%l#T#Z%lP)jP;=`<%l%lR)tO`PrQR)yQrQ!O!P*P!Q![+PP*SP!Q![*VP*[RZP!Q![*V!g!h*e#X#Y*eP*hR{|*q}!O*q!Q![*wP*tP!Q![*wP*|PZP!Q![*wP+USZP!O!P*P!Q![+P!g!h*e#X#Y*eR+gPrQ!Q![*V~+oPrQ!P!Q+r~+wSP~OY+rZ;'S+r;'S;=`,T<%lO+r~,WP;=`<%l+rR,bSZPrQ!O!P*P!Q![+P!g!h*e#X#Y*eR,uOmPrQR,|P^PrQ!}#O-PP-UOtPR-]P]PrQ#P#Q-`Q-eOsQR-jPrQ#T#U-mP-pP#`#a-sP-vP#g#h-yP-|P#X#Y.PP.UOXPR.ZPrQ#i#j.^P.aP#`#a.dP.gP#`#a.jP.oOYPR.tPrQ#f#g.wP.zP#i#j.}P/QP#X#Y/TP/YOWPR/aPSPrQ#o#p/dP/iOqPR/pPRPrQ#q#r/sQ/xOpQQ/{P;=`<%l#Y", tokenizers: [0, 1], topRules: { JsonText: [0, 2] }, tokenPrec: 151 }); - t2.parser = a; - }, 29795: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.jsonSchemaTypeNames = t2.aiGuidePrimitiveTypes = t2.agenticVirtualAgentPrimitiveTypes = void 0, t2.agenticVirtualAgentPrimitiveTypes = { boolean: "boolean", integer: "integer", number: "number", string: "string" }, t2.aiGuidePrimitiveTypes = { Boolean: "Boolean", Integer: "Integer", Number: "Number", String: "String" }, t2.jsonSchemaTypeNames = { array: "array", boolean: "boolean", date: "date", integer: "integer", number: "number", object: "object", string: "string" }; - }, 29824: (e2, t2, i2) => { + t2.default = s; + }, 71549(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(8471)); - class a extends o.default { - constructor(e3) { - super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDetectionJobIntentSettingsViewModel"), e3), this._coreDetectionJobIntentSettingsViewModel = e3, (0, r2.makeUnenumerable)(this, "_coreDetectionJobIntentSettingsViewModel"); + const n2 = i2(31635), o = i2(17604), r = 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) { + const e4 = "no builder definition available for the builder definition id '" + (t3 ? t3.builderDefId : "undefined") + "'"; + throw console.error(e4), e4; + } + super.configureForBuilderViewModel(this), this._availableBuilderPartDefinitions = this.builderDef.getAvailableBuilderPartDefinitionsForFlowType(this.parentFlowType, e3.options.allowedBuilderCategoryIdFilter, e3.options.allowedBuilderIds), e3.options.additionalBuilderPartDefs && (this._availableBuilderPartDefinitions = this._availableBuilderPartDefinitions.concat(e3.options.additionalBuilderPartDefs)), this._availableBuilderPartContainerDefinitions = this.builderDef.getAvailableBuilderPartContainerDefinitionsForFlowType(this.parentFlowType), u.registerEventSinkForEventEmitter(e3.parentFlow.languages.id, this); } - get displayTypeName() { - return "ArchSettingsDetectionJobIntent"; + _buildExpressionGeneration() { + throw "You must override the _buildExpressionGeneration method in inheriting classes"; } - get isArchSettingsDetectionJobIntent() { - return true; + _configureForFlowState() { + return false; } - get logStr() { - return this.logStrTypeOnly; + _destroyIdleCallback(e3) { + e3 && e3.destroy(); } - get name() { - return this._coreDetectionJobIntentSettingsViewModel.name; + _fireBuilderValidated() { + this._suppressEventFiring || u.fireEvent(this, s.builderValidated); } - get description() { - return this._coreDetectionJobIntentSettingsViewModel.description; + _preValidateConfigureResultsOrganizer(e3) { } - } - t2.default = a; - }, 29829: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + _postValidateClearResultsOrganizer(e3) { } - get _actionTypeId() { - return r2.returnToAgentActionType; + _processLanguagesChanged() { } - get displayTypeName() { - return this._scriptingName; + _validateBuilderObject(e3, t3) { + return !!super._validateBuilderObject(e3, t3) && (void 0 === this._meetsFeatureRequirementsCheck && (this._meetsFeatureRequirementsCheck = this.builderDef.meetsFeatureRequirements), true !== this._meetsFeatureRequirementsCheck ? (e3.addError(this, (0, o.sprintf)(T.expression.builderUnavailableFeatureRequirements, this.builderDef.name)), false) : (void 0 === this._isAvailableForFlowTypeCheck && (this._isAvailableForFlowTypeCheck = this.builderDef.isAvailableForFlow(this.parentFlow)), true === this._isAvailableForFlowTypeCheck || (e3.addError(this, (0, o.sprintf)(T.expression.builderUnavailableForFlowType, this.builderDef.name, this.parentFlow.info.flowTypeName)), false))); } - get isArchActionReturnToAgent() { + configureForLanguageSequence(e3, t3) { + let i3; + if (e3.flowTypeOverrides && (i3 = e3.flowTypeOverrides[this.parentFlowType]), i3 || (i3 = e3), i3.builderId !== this.builderDefId) return false; + try { + return this._configureForLanguageSequence(e3, t3); + } catch (e4) { + } + return false; + } + _configureForLanguageSequence(e3, t3) { return true; } - } - t2.default = o; - }, 29907: (e2) => { - "use strict"; - e2.exports = require("cluster"); - }, 29925: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getBuilderValidationResultsOrganizer() { + return this._builderValidationResultsOrganizer; } - get _globalTypeName() { - return "externalTwitterInfo"; + get className() { + return "BaseBuilderViewModel"; } - get id() { + configureForFlowState() { + if (this.parentFlow && this.parentFlow.info && !this.parentFlow.info.currentUserCanEdit) return false; + let e3; + try { + this._suppressEventFiring = true, this._queuedConfigureForFlowStateCallback = this._destroyIdleCallback(this._queuedConfigureForFlowStateCallback), e3 = this._configureForFlowState(); + } catch (e4) { + } finally { + this._suppressEventFiring = false; + } + e3 && this.updateOwningExpression(); } - get name() { + createBuilderDefaultBuildTextHelper() { + return p.default.createFormattedBuildTextHelper(); } - get screenName() { + get availableBuilderPartContainerDefinitions() { + if (this.parentFlow) { + const e3 = []; + return r.default.each(this._availableBuilderPartContainerDefinitions, (t3) => { + t3.isAvailableForFlow(this.parentFlow) && e3.push(t3); + }), e3; + } + return this._availableBuilderPartContainerDefinitions; } - get displayTypeName() { - return "ArchValueExternalTwitterInfo"; + get availableBuilderPartDefinitions() { + return this._availableBuilderPartDefinitions; } - get isArchValueExternalTwitterInfo() { - return true; + get builderDef() { + return !this._builderDef && this.builderDefId && (this._builderDef = _.default.getBuilderDefById(this.builderDefId)), this._builderDef; } - } - t2.default = r2; - }, 29926: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.RequestInfo = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = 30 * n2.__importDefault(i2(73198)).default.msPerSecond; - class a { - constructor(e3, t3, i3) { - this.options = {}, this.protocol = "https:", this.urlTemplate = t3 || "", this.method = e3, this.DataContract = (null == i3 ? void 0 : i3.default) ? i3.default : i3; + get builderDefId() { + var e3; + return null === (e3 = this._builderModel) || void 0 === e3 ? void 0 : e3.builderDefId; } - get hasMock() { - return !!this._mockFunction; + buildExpressionText(e3) { + if (this._amBuildingExpressionText) return; + this._amBuildingExpressionText = true; + let t3, i3, n3 = ""; + r.default.isObject(e3) && !e3.isBuildTextHelper || (e3 = this.createBuilderDefaultBuildTextHelper(), i3 = true); + try { + e3.startBuilder(), t3 = this._buildExpressionGeneration(), r.default.isUndefined(t3) ? n3 = "" : (n3 = t3.generate(e3), r.default.isString(n3) || (n3 = "")); + } finally { + this._amBuildingExpressionText = false, e3.endBuilder(), t3 && t3.destroy(), i3 && e3.destroy(); + } + return this.validateBuilder(), n3; } - get manualRequestTimeoutMs() { - return this._manualRequestTimeoutMs || o; + get definitionId() { + return this.builderDefId; } - set manualRequestTimeoutMs(e3) { - Number.isInteger && !Number.isInteger(e3) || (this._manualRequestTimeoutMs = e3); + get overrideErrorText() { } - addOptions(e3) { - r2.default.extend(this.options, e3); + get id() { + var e3; + return null === (e3 = this._builderModel) || void 0 === e3 ? void 0 : e3.id; } - callMock(e3) { - if (this.hasMock) return this._mockFunction(e3); + _postInitializeDesignTime() { + this.updateOwningExpression(); + } + get isBaseBuilderViewModel() { + return true; + } + get model() { + return this._builderModel; + } + objEvent_builderPartExpressionTextChanged() { + this.parentFlow.loaded && this.postUpdateOwningExpression(); + } + objEvent_supportedLanguagesChanged() { + this.parentFlow.info.currentUserCanEdit && this._processLanguagesChanged(), this.postNeedsValidation(); } - clone(e3) { - const t3 = new a(this.method, this.urlTemplate, this.DataContract); - return t3._mockFunction = this._mockFunction, t3.addOptions(this.options), t3.addOptions(e3), t3; + postUpdateOwningExpression(e3) { + this._queuedUpdateOwningExpression || (this._queuedUpdateOwningExpression = l.default.create(this.processUpdateOwningExpression.bind(this), r.default.isActualNumber(e3) ? e3 : 300)); } - ignore(e3) { - let t3; - this.options.codesToIgnore || (this.options.codesToIgnore = []), r2.default.isArray(e3) ? r2.default.each(e3, function(e4) { - t3 = e4.replace(/_/g, ".").toLowerCase(), this.options.codesToIgnore.push(e4), this.options.codesToIgnore.push(t3); - }.bind(this)) : (t3 = e3.replace(/_/g, ".").toLowerCase(), this.options.codesToIgnore.push(e3), this.options.codesToIgnore.push(t3)); + postNeedsConfigurationForFlowState() { + this._queuedConfigureForFlowStateCallback || (this._queuedConfigureForFlowStateCallback = l.default.create(this.configureForFlowState.bind(this))); } - mock(e3) { - r2.default.isFunction(e3) ? this._mockFunction = e3 : this._mockFunction = void 0; + postNeedsValidation() { + this._queuedValidate || (this._queuedValidate = l.default.create(this.processValidateBuilder.bind(this))); } - } - t2.RequestInfo = a; - }, 29954: (e2, t2, i2) => { - "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), c = i2(80295), d = i2(30801); - class p extends a.BaseFailureOutputsActionModel { - constructor(e3) { - 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 = []); + processUpdateOwningExpression() { + this._queuedUpdateOwningExpression = this._destroyIdleCallback(this._queuedUpdateOwningExpression), this.updateOwningExpression(); } - pasteReIdOrRename(e3) { - var t3, i3, n3; - super.pasteReIdOrRename(e3), null === (t3 = this.externalContactId) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.externalContact) || void 0 === i3 || i3.pasteReIdOrRename(e3), null === (n3 = this.patchChanges) || void 0 === n3 || n3.forEach((t4) => t4.pasteReIdOrRename(e3)); + updateOwningExpression() { + this.parentFlow.loaded && this.initializeDesignTimeCalled && this._shouldUpdateOwningExpression && this.owningExpression.setText(this.buildExpressionText()); } - pasteResolveOldToNewValues(e3) { - var t3, i3, n3; - super.pasteResolveOldToNewValues(e3), null === (t3 = this.externalContactId) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.externalContact) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), null === (n3 = this.patchChanges) || void 0 === n3 || n3.forEach((t4) => t4.pasteResolveOldToNewValues(e3)); + get _shouldUpdateOwningExpression() { + return this.owningExpression.mode === d.builder; } - get externalContactId() { - return this._externalContactId; + processValidateBuilder() { + this._queuedValidate = this._destroyIdleCallback(this._queuedValidate), this.validateBuilder(); } - set externalContactId(e3) { - this._externalContactId = this.reviveItem(e3, l.default); + replaceUsages(e3, t3, i3) { + super.replaceUsages(e3, t3, i3), this.updateOwningExpression(); } - get externalContact() { - return this._externalContact; + validate(e3) { + const t3 = this.validateBuilder(!!e3 && e3.isDeep); + if (!e3) return t3; + const i3 = this.builderValidationResults; + if (!i3) return t3; + const n3 = this.owningExpression.label; + return t3 ? (i3.hasWarning && e3.addWarning(this.owningExpression, r.default.isString(n3) && n3.length ? (0, o.sprintf)(T.builders.builderConfigWarningWithLabel, n3) : T.builders.builderConfigWarning, void 0, true), t3) : (this.owningExpression.parent.hasValidationError || e3.addError(this.owningExpression, r.default.isString(n3) && n3.length ? (0, o.sprintf)(T.builders.builderConfigInvalidWithLabel, n3) : T.builders.builderConfigInvalid, void 0, true), t3); } - set externalContact(e3) { - this._externalContact = this.reviveItem(e3, l.default); + validateBuilder(e3) { + let t3 = true; + const i3 = new c.default(this.parentFlow, !!r.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) { + t3 = false, this._builderValidationResultsOrganizer.addError(this, T.builders.errorValidatingBuilder); + } finally { + this._postValidateClearResultsOrganizer(this._builderValidationResultsOrganizer); + } + return t3; } - get patchChanges() { - return this._patchChanges; + validateBuilderObject(e3, t3) { + const i3 = super.validateBuilderObject(e3, t3); + return this._fireBuilderValidated(), i3; } - set patchChanges(e3) { - this._patchChanges = this.reviveArray(e3, u.ExternalContactPatchChange); + _destroy() { + u.unregisterAndRemoveObject(this), this._queuedConfigureForFlowStateCallback = this._destroyIdleCallback(this._queuedConfigureForFlowStateCallback), this._queuedUpdateOwningExpression = this._destroyIdleCallback(this._queuedUpdateOwningExpression), this._queuedValidate = this._destroyIdleCallback(this._queuedValidate), this._builderValidationResultsOrganizer.destroy(), this._amBuildingExpressionText = void 0, this._availableBuilderPartDefinitions = void 0, this._availableBuilderPartContainerDefinitions = void 0, this._builderDef = void 0, this._builderModel = void 0, this._builderValidationResultsOrganizer = void 0, this._suppressEventFiring = void 0, super._destroy(); } } - 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", "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) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "AssignedCustomerSegmentVariable", true), e2.exports = n2; - }, 30028: (e2, t2, i2) => { + t2.default = y; + }, 23581(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), 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(d.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { - this.setConfigListMangerAndUpdateDependencies((0, p.getSupportedInQueueFlowManager)(e3.parentFlow)); - }); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(98134)), s = n2.__importDefault(i2(5532)), l = n2.__importDefault(i2(45148)), u = r.getTopic("BaseBuilderWithBuilderPartsDef"); + class c extends l.default { + constructor(e3, t3, i3, n3, o2, r2, a2, s2, l2, c2, d, p, _, h, m, g, f, T) { + if (super(e3, t3, i3, n3, o2, r2, a2, s2, d || r2.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); + } } - getConfiguration(e3, t3) { - var i3; - if (null == t3 ? void 0 : t3.isForFlowYaml) { - if (!(null === (i3 = this.action.supportedInQueueFlowType) || void 0 === i3 ? void 0 : i3.length) || this.action.useDefaultHandling) return null; - const t4 = this.action[this._modelNamePropName], n3 = this.action[this._modelIdPropName], r3 = this.configListManager.getItem(n3); - return (0, m.snapshotReferencedObject)(e3, this.action.supportedInQueueFlowType, t4, r3.defaultLanguage), a.default.tryWrapObject(t4, "name"); + get className() { + return "BaseBuilderWithBuilderPartsDef"; + } + createOrReviveBuilder(e3, t3) { + var i3, n3; + try { + const o2 = null === (n3 = null === (i3 = e3.model) || void 0 === i3 ? void 0 : i3.uiMetaData) || void 0 === n3 ? void 0 : n3.builder; + if (o2 && this.id === o2.builderDefId) return this.reviveBuilder(e3, e3.model.uiMetaData.builder, t3); + o2 && delete e3.model.uiMetaData.builder; + } catch (e4) { + console.error(e4); } - return console.error("Trying to access InqueueFlowActionProperty.getConfiguration for non-flow-YAML"), null; + return this.createBuilder(e3); } - setInQueueFlow(e3, t3) { - this.action.inQueueFlowId = e3, this.action.inQueueFlowName = t3, e3 && (this.action.useDefaultHandling = false), this.updateDependencies(); + get defaultBuilderPartId() { + return this._defaultBuilderPartId; } - 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]) : c.unRegisterConsumer(this.action, "flow"); + get isBaseBuilderWithBuilderPartsDef() { + return true; } - repointSelfReference(e3, t3) { - h.repointSelfReferenceIfMatch(this.action[this._modelIdPropName], this.action[this._modelNamePropName], e3, t3, (e4, t4) => { - this.setInQueueFlow(e4, t4); - }); + get fixedBuilderPart() { + return this._fixedBuilderPart; } - validate(e3) { - if (!this.action.supportedInQueueFlowType || this.action.useDefaultHandling) return; - if (!this.action[this._modelIdPropName]) return void e3.addError(this, (0, o.sprintf)(g.expression.notSetWithContext, this.action.supportedInQueueFlowTypeDefinition.typeDisplayName), false, true); - const t3 = this.action[this._modelIdPropName]; - let i3 = this.configListManager.getItem(t3); - i3 || (i3 = this.configListManager.getItemFromFullManager(t3)), !i3 || i3.deleted ? e3.addError(this, (0, o.sprintf)(g.expression.literalDropDownValueDoesNotExist, this.action.supportedInQueueFlowTypeDefinition.typeDisplayName, this.action[this._modelNamePropName] || this.action[this._modelIdPropName]), false, true) : (this.action[this._modelNamePropName] !== i3.displayName && this.setInQueueFlow(this.action[this._modelIdPropName], i3.displayName), h.flowHasUnpublishedWarning(i3, this.parentFlow) && e3.addError(this.action, h.getUnpublishedWarning(i3, this.parentFlow))); + get builderManagesContainerOrder() { + return this._builderManagesContainerOrder; } - static createCreateDetails(e3, t3) { - return { create: function(i3, n3) { - let o2; - return r2.flowTypes.isVxmlgenFlowType(i3.parentFlow.type) ? o2 = s.inqueueCallFlowListManager.getBriefManagerWithFallback() : r2.flowTypes.isShortMessageFlowType(i3.parentFlow.type) ? o2 = u.inqueueShortMessageFlowListManager.getBriefManagerWithFallback() : r2.flowTypes.isEmailFlowType(i3.parentFlow.type) && (o2 = l.inqueueEmailFlowListManager.getBriefManagerWithFallback()), new f(i3, n3, o2, e3, t3); - }, getCreateClass: function() { - return f; - }, modelProperties: [e3, t3] }; + get hasMaxBuilderPartCount() { + return o.default.isActualNumber(this.maxBuilderPartCount); } - } - t2.InqueueFlowActionProperty = f; - }, 30042: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get maxBuilderPartCount() { + return this._maxBuilderPartCount; } - get _globalTypeName() { - return "listPickerItemCollection"; + get hasMinBuilderPartCount() { + return o.default.isActualNumber(this.minBuilderPartCount); } - get displayTypeName() { - return "ArchValueListPickerItemCollection"; + get minBuilderPartCount() { + return this._minBuilderPartCount; } - get isArchValueListPickerItemCollection() { - return true; + get warnOnNoParts() { + return this._warnOnNoParts; } - } - t2.default = r2; - }, 30058: (e2, t2) => { - "use strict"; - var i2, n2, r2, o; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NluUtteranceSource = t2.EntityTypeMechanismSubType = t2.BuiltInEntityType = t2.EntityTypeMechanismType = void 0, (o = t2.EntityTypeMechanismType || (t2.EntityTypeMechanismType = {})).AI = "ai", o.DynamicDateTime = "dynamicdatetime", o.DynamicList = "dynamiclist", o.Enum = "enum", o.List = "list", o.Regex = "regex", (r2 = t2.BuiltInEntityType || (t2.BuiltInEntityType = {})).BuiltInPrefix = "builtin:", r2.BuiltInAmountOfMoney = "builtin:amountOfMoney", r2.BuiltInDate = "builtin:date", r2.BuiltInDateTime = "builtin:datetime", r2.BuiltInDuration = "builtin:duration", r2.BuiltInInteger = "builtin:integer", r2.BuiltInNumber = "builtin:number", r2.BuiltInTime = "builtin:time", r2.BuiltInAny = "builtin:any", (n2 = t2.EntityTypeMechanismSubType || (t2.EntityTypeMechanismSubType = {})).Alphanumeric = "Alphanumeric", n2.FreeForm = "FreeForm", n2.NumberSequence = "NumberSequence", (i2 = t2.NluUtteranceSource || (t2.NluUtteranceSource = {})).Generated = "Generated", i2.User = "User"; - }, 30065: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.all = t2.applePay = void 0; - const n2 = i2(47957); - t2.applePay = { displayString: n2.askForPayment.applePay, id: "applePay" }, t2.all = [t2.applePay]; - }, 30068: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(67210), o = n2.__importDefault(i2(92140)), a = i2(52722); - t2.default = class extends a { - constructor(e3) { - super(e3), this.divisions = {}; + _isAvailableForFlowType(e3) { + return !!super._isAvailableForFlowType(e3) && this.getAvailableBuilderPartDefinitionsForFlowType(e3).length > 0; } - get isOAuthClient() { - return true; + getSupportedBuilderPartTypes() { + return o.default.isArray(this._builderPartTypes) ? this._builderPartTypes : [this.resultExpressionType]; } - get divisions() { - return this._divisions; + getAvailableBuilderPartDefinitionsForFlowType(e3, t3) { + return s.default.getBuilderPartDefinitions(this.getSupportedBuilderPartTypes(), e3, this._builderPartDefCategoryIdentifierOrIdentifiers || t3); } - set divisions(e3) { - this._divisions = e3; + getAvailableBuilderPartContainerDefinitionsForFlowType(e3) { + return s.default.getBuilderPartContainerDefinitions(this.getSupportedBuilderPartTypes(), e3, this._builderPartDefCategoryIdentifierOrIdentifiers); } - get permissions() { - return this._permissions; + createDefaultBuilderPartsModel() { + return new a.default({ builderDefId: this.id, version: this.version }); } - set permissions(e3) { - this._permissions = e3, o.default.each(e3, (e4) => { - r2.permissionService.addPermissionToUser(e4, this); - }); + get modelType() { + return a.default; } - }; - }, 30097: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationSummarySetting = t2.getConversationSummarySettings = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(32798)), o = n2.__importDefault(i2(71474)), a = n2.__importDefault(i2(36019)), s = { ignoreBadResponse: true }; - t2.getConversationSummarySettings = a.default.request("GET", "{public-api.apps}/api/v2/conversations/summaries/settings", o.default, s), t2.getConversationSummarySetting = a.default.request("GET", "{public-api.apps}/api/v2/conversations/summaries/settings/{id}", r2.default, s); - }, 30131: (e2, t2, i2) => { + } + t2.default = c; + }, 99772(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), 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 (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 (d.isIterable(e3)) return a.scheduleIterable(e3, t3); - if (h.isReadableStreamLike(e3)) return m.scheduleReadableStreamLike(e3, t3); - } - throw _.createInvalidObservableTypeError(e3); + t2.BaseBuilderWithBuilderPartsViewModel = void 0, t2.isBaseBuilderWithBuilderPartsViewModel = function(e3) { + return null == e3 ? void 0 : e3.isBaseBuilderWithBuilderPartsViewModel; }; - }, 30163: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.userManager = t2.UserManager = void 0; - const n2 = i2(31635).__importDefault(i2(47532)), r2 = i2(30801), o = i2(24032), a = i2(27862), s = i2(33588); - class l extends n2.default { - get dependencyType() { - return a.User; + const n2 = i2(31635), o = i2(17604), r = 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), I = i2(47957); + class C extends y.default { + constructor(e3, t3, i3, n3, o2) { + 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: o2 }), writable: true, enumerable: false } }); } - constructor() { - super(), this.topic = (0, o.getTopic)("userManager"), this._rawServerCache = {}, this.apiCallList = s.getUsers, this.apiCallSingle = s.getUser, this.className = "UserManager", this.dependencyContext = null, this.networkType = "users", this.uiMetadataSectionName = "users", this.actionsForUsageSearch = [r2.extractSecureDataActionType], this.actionPropertyForUsageSearch = "acknowledgementUser", this._initialize(); + setNewInstanceDefaults() { + if (this.builderDef.defaultBuilderPartId) { + const e3 = r.default.find(this.availableBuilderPartDefinitions, (e4) => e4.id === this.builderDef.defaultBuilderPartId); + e3 && this._builderPartsManager.createAndAddPartFromBuilderPartDef(e3, void 0); + } } - } - 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: 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: 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)") } }); - } }; - }, 30231: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(69675); - class o { - constructor(e3, t3, i3) { - Object.defineProperties(this, { _doNotDestroyResults: { value: true === i3 }, _builderObjectId: { value: e3, writable: true }, _rollupErrorCount: { value: 0, writable: true }, _rollupInfoCount: { value: 0, writable: true }, _rollupWarningCount: { value: 0, writable: true }, _validationResultArray: { value: t3, writable: true } }), n2.default.each(t3, (e4) => { - this._processRollupCounts(e4, 1); - }); + get helpTopic() { + return this.builderDef.helpTopic || d.helpTopics.builders.builder; } - static create(e3, t3, i3) { - return n2.default.isArray(t3) || (t3 = [t3]), new o(e3, t3, i3); + _addClipboardDependencies(e3) { + super._addClipboardDependencies(e3), this.builderPartsManager.addClipboardDependencies(e3), this.builderContainerPartsManager.addClipboardDependencies(e3); } - _processRollupCounts(e3, t3) { - if (e3 && e3.getIsRollupForBuilderObject(this._builderObjectId)) switch (e3.type) { - case r2.error: - this._rollupErrorCount = this._rollupErrorCount + t3; - break; - case r2.info: - this._rollupInfoCount = this._rollupInfoCount + t3; - break; - case r2.warning: - this._rollupWarningCount = this._rollupWarningCount + t3; - } + _initializeDesignTime() { + super._initializeDesignTime(), this._builderPartsManager.initializeDesignTime(), this._builderContainerPartsManager.initializeDesignTime(), this.parentFlowIsReadOnly || this.supportsLanguageContainersOnly && !this.partAndPartsOutOfService && this.hasEnabledLanguageContainerPartsForAllSupportedLanguages && (this.partAndPartsOutOfService = true); } - addValidationResult(e3) { - this._validationResultArray.push(e3), this._processRollupCounts(e3, 1); + getInternalExpressions() { + if (this.isDestroyed) return []; + const e3 = this._builderPartsManager.getInternalExpressions(), t3 = this._builderContainerPartsManager.getInternalExpressions(); + return r.default.union(e3, t3); } - get builderObjectId() { - return this._builderObjectId; + _replaceUsages(e3, t3, i3) { + super._replaceUsages(e3, t3, i3), this._builderPartsManager.replaceUsages(e3, t3, i3), this._builderContainerPartsManager.replaceUsages(e3, t3, i3); } - _getResultsByType(e3, t3, i3) { - const r3 = []; - return n2.default.each(this._validationResultArray, (n3) => { - if (n3.type === e3) { - let e4 = true; - true === t3 && (e4 = n3.getIsRollupForBuilderObject(this._builderObjectId)), true === i3 && (e4 = !n3.getIsRollupForBuilderObject(this._builderObjectId)), e4 && r3.push(n3); - } - }), r3.length > 0 ? i3 ? r3[0] : r3 : void 0; + _getManagerForBuilderPart(e3) { + return e3.isContainerPart ? this._builderContainerPartsManager : this._builderPartsManager; } - _getStringFromResult(e3) { - return e3 ? e3.message : void 0; + _processLanguagesChanged() { + super._processLanguagesChanged(), this.supportsLanguageContainersOnly && (this.hasEnabledLanguageContainerPartsForAllSupportedLanguages ? this.mainSequenceEnabled && (this.mainSequenceEnabled = false) : this.mainSequenceEnabled = true); } - _getStringsFromResultsArray(e3) { - if (!n2.default.isArray(e3) || 0 === e3.length) return; - const t3 = []; - return n2.default.each(e3, (e4) => { - t3.push(e4.message); - }), t3; + objEvent_idAboutToChange(e3, t3) { + v.updateEventEmitterIdentifier(e3.id, t3, this); } - getBuilderObjectResults(e3, t3) { - return n2.default.isArray(t3) || (t3 = []), n2.default.each(this._validationResultArray, (i3) => { - i3.hasId(e3) && t3.push(i3); - }), t3; + get className() { + return "BaseBuilderWithBuilderPartsViewModel"; } - getBuilderObjectResultsByType(e3, t3, i3) { - return n2.default.isArray(t3) || (t3 = []), n2.default.each(this._validationResultArray, (n3) => { - n3.type === i3 && n3.hasId(e3) && t3.push(n3); - }), t3; + _configureForLanguageSequence(e3, t3) { + var i3, n3; + const o2 = super._configureForLanguageSequence(e3, t3); + if (!o2) return o2; + t3 || this.deleteAllParts(); + const a2 = null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.languages; + if (!a2) return; + const s2 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.defaultLanguageLCase; + r.default.each(a2.supportedLanguagesViewModels, (i4) => { + var n4, o3, a3; + const l2 = e3.availableLanguages[i4.idExpressionText]; + if (!l2) return; + let u2; + e3.flowTypeOverrides && (u2 = e3.flowTypeOverrides[this.parentFlow.type]), u2 || (u2 = e3); + 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); + d2 = e4.builderPartsManager; + } + if ((null === (n4 = d2.parts) || void 0 === n4 ? void 0 : n4.length) && t3) return; + const p2 = this.builderDef; + if (!(null === (o3 = d2.parts) || void 0 === o3 ? void 0 : o3.length) && p2.defaultBuilderPartId) { + const e4 = r.default.find(this.availableBuilderPartDefinitions, (e5) => e5.id === p2.defaultBuilderPartId); + d2.createAndAddPartFromBuilderPartDef(e4, void 0); + } + c2.partContents ? 1 === (null === (a3 = d2.parts) || void 0 === a3 ? void 0 : a3.length) ? d2.parts[0].configureWithLanguageContexts(c2.partContents, i4) : r.default.each(c2.partContents, (e4) => { + const t4 = g.default.getBuilderPartDefById(e4.builderPartId); + d2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); + }) : r.default.each(c2.parts, (e4) => { + const t4 = g.default.getBuilderPartDefById(e4.builderPartId); + d2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); + }); + }); } - getBuilderObjectErrors(e3, t3) { - return this.getBuilderObjectResultsByType(e3, t3, r2.error); + deleteAllParts() { + const e3 = this._builderPartsManager.deleteAllParts(), t3 = this._builderContainerPartsManager.deleteAllParts(); + return r.default.isUndefined(e3) ? t3 : r.default.isUndefined(t3) ? e3 : r.default.isArray(e3) && r.default.isArray(t3) ? e3.concat(t3) : void 0; } - getBuilderObjectInfos(e3, t3) { - return this.getBuilderObjectResultsByType(e3, t3, r2.info); + get overrideErrorText() { + var e3; + return super.overrideErrorText || (this.builderDef.fixedBuilderPart || !this.hasMaxNumOfBuilderPartsConfigured || 1 !== this.builderDef.maxBuilderPartCount || 1 !== this.builderParts.length ? null === (e3 = this.builderParts[0]) || void 0 === e3 ? void 0 : e3.overrideErrorText : void 0); } - getBuilderObjectWarnings(e3, t3) { - return this.getBuilderObjectResultsByType(e3, t3, r2.warning); + get isBaseBuilderWithBuilderPartsViewModel() { + return true; } - getBuilderObjectHasResultOfType(e3, t3) { - return !n2.default.isUndefined(n2.default.find(this._validationResultArray, (i3) => i3.type === t3 && i3.hasId(e3))); + get supportsLanguageContainersOnly() { + return 1 === this.availableBuilderPartContainerDefinitions.length && this.availableBuilderPartContainerDefinitions[0].isBuilderPartContainerLanguageDef; } - getBuilderObjectHasError(e3) { - return this.getBuilderObjectHasResultOfType(e3, r2.error); + get mainSequenceEnabled() { + return !this.supportsLanguageContainersOnly || !this.partAndPartsOutOfService; } - getBuilderObjectHasInfo(e3) { - return this.getBuilderObjectHasResultOfType(e3, r2.info); + set mainSequenceEnabled(e3) { + (e3 || this.supportsLanguageContainersOnly) && (u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "mainSequenceEnabled", "value")), this.partAndPartsOutOfService !== !e3 && (this.partAndPartsOutOfService = !e3, this.buildExpressionText())); } - getBuilderObjectHasWarning(e3) { - return this.getBuilderObjectHasResultOfType(e3, r2.warning); + _validateBuilderObject(e3, t3) { + var i3; + let n3 = super._validateBuilderObject(e3, t3); + const a2 = this.owningExpression.options; + if (a2 && a2.doNotWantBlankRuntimeOutput && (n3 = this._validateSequenceRuntimeNotBlank(this, this.builderParts, e3), (null === (i3 = this.builderPartContainers) || void 0 === i3 ? void 0 : i3.length) && r.default.each(this.builderPartContainers, (t4) => { + this._validateSequenceRuntimeNotBlank(t4, t4.builderParts, e3) || (n3 = false); + })), !n3) return n3; + !this.partAndPartsOutOfService && n3 && (this._builderPartsManager.validateBuilderObject(e3, t3) || (n3 = false)), this._builderContainerPartsManager.validateBuilderObject(e3, t3) || (n3 = false); + const s2 = this.builderContainerPartsManager.getMissingFlowSupportedLanguages(); + if (r.default.isArray(s2) && s2.length) { + let t4; + t4 = 1 === s2.length ? (0, o.sprintf)(I.builders.builderSupportedLanguageMissing, s2[0].text) : (0, o.sprintf)(I.builders.builderSupportedLanguageMissingMoreThanOne, c.getLanguageListDisplayStr(s2)), e3.addError(this, t4), n3 = false; + } else this.supportsLanguageContainersOnly && !this.partAndPartsOutOfService && this.hasEnabledLanguageContainerPartsForAllSupportedLanguages && e3.addWarning(this, I.builders.builderMainSequenceWillNotBeRun); + return n3; } - getHasResultOfType(e3) { - return !n2.default.isUndefined(n2.default.find(this._validationResultArray, (t3) => t3.type === e3)); + _validateSequenceRuntimeNotBlank(e3, t3, i3) { + let n3 = true; + if ((null == t3 ? void 0 : t3.length) && (r.default.isUndefined(r.default.find(t3, (e4) => e4 instanceof f.default && !r.default.isUndefined(r.default.find(e4.getInternalExpressions(), (e5) => !e5.isBlankOrNotSetOrEmpty)))) || (n3 = false)), n3) try { + e3 !== this && i3.setContextIsContainerRelated(), i3.addError(e3, I.expression.builderOrContainerErrorRuntimeOutputBlank); + } finally { + e3 !== this && i3.clearContextIsContainerRelated(); + } + return !n3; } - get errorResultsArray() { - return this._getResultsByType(r2.error); + get builderParts() { + return this._builderPartsManager.parts; } - get infoResultsArray() { - return this._getResultsByType(r2.info); + get builderPartsManager() { + return this._builderPartsManager; } - get warningResultsArray() { - return this._getResultsByType(r2.warning); + get builderPartContainers() { + return this._builderContainerPartsManager.parts; } - get rollupErrorResultsArray() { - return this._getResultsByType(r2.error, true); + get builderContainerPartsManager() { + return this._builderContainerPartsManager; } - get rollupInfoResultsArray() { - return this._getResultsByType(r2.info, true); + builderPartAdded(e3) { } - get rollupWarningResultsArray() { - return this._getResultsByType(r2.warning, true); + builderPartContainerAdded(e3) { } - get objectErrorResult() { - return this._getResultsByType(r2.error, void 0, true); + _destroy() { + try { + this.builderPartsManager.destroy(), this.builderContainerPartsManager.destroy(); + } catch (e3) { + } + this._builderPartsManager = void 0, this._builderContainerPartsManager = void 0, super._destroy(); } - get objectInfoResult() { - return this._getResultsByType(r2.info, void 0, true); + get partAndPartsOutOfService() { + return !!this.model.partAndPartsOutOfService; } - get objectWarningResult() { - return this._getResultsByType(r2.warning, void 0, true); + set partAndPartsOutOfService(e3) { + u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "partAndPartsOutOfService", "value")), this.model.partAndPartsOutOfService !== !!e3 && (this.model.partAndPartsOutOfService = e3, this.builderPartsManager.setPartsOutOfServiceValue(e3), this.postUpdateOwningExpression(p.default.msWaitPartsChanged)); } - get objectErrorString() { - return this._getStringFromResult(this._getResultsByType(r2.error, void 0, true)); + get hasMaxNumOfBuilderPartsConfigured() { + return !!this.hasMaxBuilderPartCount && (this.builderPartsManager.hasMaxNumOfBuilderPartsConfigured || this.builderContainerPartsManager.hasMaxNumOfBuilderPartsConfigured); } - get objectInfoString() { - return this._getStringFromResult(this._getResultsByType(r2.info, void 0, true)); + getToolbarActions() { + if (this.builderDef.fixedBuilderPart && this.hasMaxNumOfBuilderPartsConfigured) return []; + const e3 = {}, t3 = []; + return r.default.each(this.availableBuilderPartDefinitions, (i3) => { + const n3 = { toolbarId: (0, a.uuid)(), name: i3.name, icon: i3.icon || s.default.any, testAttr: "addBuilderOptions-" + i3.name, callback: (e4) => e4 && e4.builderPartsManager ? e4.builderPartsManager.createAndAddPartFromBuilderPartDef(i3) : this.createAndAddPartFromBuilderPartDef(i3), sortName: i3.sortValue || i3.name }; + 0 !== i3.categories.length ? r.default.each(r.default.contains(i3.categories, h.builderCategoryIds.toolbar) ? [h.builderCategoryIds.toolbar] : i3.categories, (i4) => { + if (0 === this.builderDef.categories.length || r.default.contains(this.builderDef.categories, i4)) { + const o2 = m.default.getCategory(i4); + o2.actionsOnToolbar ? t3.push(n3) : (e3[i4] || (e3[i4] = { toolbarId: (0, a.uuid)(), name: o2.name, icon: o2.icon, isCategory: true, testAttr: "addBuilderCategory", actions: [] }), e3[i4].actions.push(n3)); + } + }) : N.error(`${i3.id} has no categories`); + }), r.default.union(r.default.values(e3), t3); } - get objectWarningString() { - return this._getStringFromResult(this._getResultsByType(r2.warning, void 0, true)); + _configureForFlowState() { + let e3 = this.builderPartsManager.configureForFlowState(); + return this.builderContainerPartsManager.configureForFlowState() && (e3 = true), e3; } - get errorStringsArray() { - return this._getStringsFromResultsArray(this._getResultsByType(r2.error)); + deletePart(e3) { + const t3 = this._getManagerForBuilderPart(e3); + return !!t3 && t3.deletePart(e3); } - get infoStringsArray() { - return this._getStringsFromResultsArray(this._getResultsByType(r2.info)); + get hasMaxBuilderPartCount() { + return this.builderPartsManager.hasMaxBuilderPartCount; } - get warningStringsArray() { - return this._getStringsFromResultsArray(this._getResultsByType(r2.warning)); + get maxBuilderPartCount() { + return this.builderPartsManager.maxBuilderPartCount; } - get rollupErrorStringsArray() { - return this._getStringsFromResultsArray(this._getResultsByType(r2.error, true)); + get hasMinBuilderPartCount() { + return this.builderPartsManager.hasMinBuilderPartCount; } - get rollupInfoStringsArray() { - return this._getStringsFromResultsArray(this._getResultsByType(r2.info, true)); + get minBuilderPartCount() { + return this.builderPartsManager.minBuilderPartCount; } - get rollupWarningStringsArray() { - return this._getStringsFromResultsArray(this._getResultsByType(r2.warning, true)); + getBuilderPartTotal() { + let e3 = this.builderPartsManager.enabledNonContainerPartCount; + return e3 += this.builderContainerPartsManager.enabledNonContainerPartCount, e3; } - get hasError() { - return this.getHasResultOfType(r2.error); + getExpressionDetails(e3) { + if ((null == e3 ? void 0 : e3.richSummary) && e3.criteria) { + const t4 = this.builderContainerPartsManager.getExpressionDetails(e3); + if (t4) return t4; + } + if (this.builderPartsManager.enabledNonContainerPartCount > 0 && (null == e3 ? void 0 : e3.richSummary)) return this.builderPartsManager.getExpressionDetails(e3); + const t3 = this.getBuilderPartTotal(); + let i3; + switch (t3) { + case 0: + i3 = A.builders.shared.details.builderPartsNone; + break; + case 1: + i3 = A.builders.shared.details.builderPartsOne; + break; + default: + i3 = (0, o.sprintf)(A.builders.shared.details.builderPartsMoreThanOne, t3); + } + return i3; } - get hasInfo() { - return this.getHasResultOfType(r2.info); + getExpressionDetailParts(e3) { + if ((null == e3 ? void 0 : e3.richSummary) && e3.criteria) { + const t3 = this.builderContainerPartsManager.getExpressionDetailParts(e3); + if (t3) return t3; + } + return this.builderPartsManager.enabledNonContainerPartCount > 0 && (null == e3 ? void 0 : e3.richSummary) ? this.builderPartsManager.getExpressionDetailParts(e3) : []; } - get hasWarning() { - return this.getHasResultOfType(r2.warning); + movePartToIndex(e3, t3) { + const i3 = this._getManagerForBuilderPart(e3); + return !!i3 && i3.movePartToIndex(e3, t3); } - get rollupErrorCount() { - return this._rollupErrorCount; + movePartDown(e3) { + const t3 = this._getManagerForBuilderPart(e3); + return t3 ? t3.movePartDown(e3) : -1; } - get rollupInfoCount() { - return this._rollupInfoCount; + movePartUp(e3) { + const t3 = this._getManagerForBuilderPart(e3); + return t3 ? t3.movePartUp(e3) : -1; } - get rollupWarningCount() { - return this._rollupWarningCount; + createAndAddPartFromBuilderPartDef(e3, t3) { + return this._getManagerForBuilderPart(e3).createAndAddPartFromBuilderPartDef(e3, t3); } - get results() { - return this._validationResultArray; + getContainerPart(e3, t3, i3) { + let n3 = this.builderContainerPartsManager.findContainerPart(e3, t3); + return !n3 && i3 && (n3 = this.createAndAddPartFromBuilderPartDef(e3, t3)), n3; } - destroy() { - this._doNotDestroyResults || n2.default.each(this._validationResultArray, (e3) => { - try { - e3.destroy(); - } catch (e4) { - } - }), this._validationResultArray = void 0, this._builderObjectId = void 0, this._rollupErrorCount = void 0, this._rollupInfoCount = void 0, this._rollupWarningCount = void 0; + getOutputModeContainerPart(e3, t3) { + if (!r.default.isString(e3) || 0 === e3.length) return; + const i3 = this.availableBuilderPartContainerDefinitions.find((e4) => e4.isBuilderPartContainerOutputModeDef); + if (!i3) return; + const n3 = T.default.createForOutputMode(e3); + return this.getContainerPart(i3, n3, t3); } - } - t2.default = o; - }, 30249: (e2, t2, i2) => { - const n2 = i2(75458), { callDecisionTableActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _input: { writable: true }, _output: { writable: true } }), this.decisionTableId = void 0, this.decisionTableName = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { input: { enumerable: true, get: function() { - return this._input; - }, set: function(e3) { - this._input = this.reviveItem(e3, o); - } }, output: { enumerable: true, get: function() { - return this._output; - }, set: function(e3) { - this._output = this.reviveItem(e3, o); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.input && this.input.pasteResolveOldToNewValues(e3), this.output && this.output.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.input && this.input.pasteReIdOrRename(e3), this.output && this.output.pasteReIdOrRename(e3); - } } }), e2.exports = a; - }, 30260: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAllFlowListManagers = l, t2.getItem = function(e3) { - if (!e3) return; - let t3; - return r2.default.find(l(), (i3) => (t3 = i3.getItem(e3), !!t3)), t3; - }, t2.removeItem = function(e3) { - e3 && r2.default.find(l(), (t3) => t3.flowType === e3.type && (t3.removeItemWithId(e3.id, false), true)); - }, t2.getManagerForFlowType = function(e3, t3) { - let i3 = a.default.allListManagers.find((i4) => i4.isFlowListManager && i4.flowType === e3 && !!i4.isBriefObjectManager == !!t3); - return i3 || (i3 = a.default.allListManagers.find((t4) => t4.isFlowListManager && t4.flowType === e3)), i3 || o.error(`Missing flow manager for ${e3}`), i3; - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = n2.__importDefault(i2(47532)); - let s; - function l() { - return s || (s = r2.default.where(a.default.allListManagers, { isFlowListManager: true }), s); - } - i2(10384), i2(99678), i2(64410), i2(68297), i2(13106), i2(94564), i2(90480), i2(61343), i2(4085), i2(36843), i2(33690), i2(10125), i2(81562), i2(66908), i2(8249), i2(15787), i2(91156), i2(27839), i2(48002); - }, 30268: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.VoiceSnippetType = void 0; - const n2 = i2(91546), r2 = i2(94765), o = i2(80428); - class a extends r2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + getLanguageOutputModeContainerPart(e3, t3, i3) { + if (!r.default.isString(e3) || 0 === e3.length || !r.default.isString(t3) || 0 === t3.length) return; + const n3 = this.availableBuilderPartContainerDefinitions.find((e4) => e4.isBuilderPartContainerLanguageOutputModeDef); + if (!n3) return; + const o2 = T.default.createForLanguageTagAndOutputMode(e3, t3); + return this.getContainerPart(n3, o2, i3); } - get className() { - return "VoiceSnippetType"; + getLanguageContainerPart(e3, t3) { + if (!r.default.isString(e3) || 0 === e3.length) return; + const i3 = this.availableBuilderPartContainerDefinitions.find((e4) => e4.isBuilderPartContainerLanguageDef); + if (!i3) return; + const n3 = T.default.createForLanguageTag(e3); + return this.getContainerPart(i3, n3, t3); } - canConvertLitToExpression(e3) { - return false; + get hasEnabledLanguageContainerPartsForAllSupportedLanguages() { + if (!this.supportsLanguageContainersOnly) return false; + const e3 = this.parentFlow; + if (!e3 || !e3.languages) return false; + if (!r.default.isArray(e3.languages.supportedLanguagesViewModels) || 0 === e3.languages.supportedLanguagesViewModels.length) return false; + const t3 = r.default.find(e3.languages.supportedLanguagesViewModels, (e4) => { + const t4 = this.getLanguageContainerPart(e4.idExpressionText, false); + return r.default.isUndefined(t4) || t4.outOfService; + }); + return r.default.isUndefined(t3); } - convertLitToExpression(e3, t3) { - return ""; + _buildExpressionGeneration() { + if (0 === this.builderPartContainers.length) { + return this._buildExpressionGenerationFromManager(this.builderPartsManager) || _.default.createEmptyStringGeneration(); + } + let e3 = ""; + const t3 = _.default.genericBuilderWithPartsGenerator.createGeneration(); + r.default.each(this.builderPartContainers, (i4) => { + const n3 = i4.buildExpressionGeneration(); + n3 && (t3.addGenerationToBucket(n3, "containerPartGenerations"), e3 += ")"); + }); + const i3 = this._buildExpressionGenerationFromManager(this.builderPartsManager); + return t3.addGenerationToBucket(i3 || _.default.createEmptyStringGeneration(), "builderGeneration"), t3.setReplacementTokens(e3), t3; } - createExpressionOptionClass() { - return new n2.ExpressionTypeVoiceSnippetOptions(); + _buildExpressionGenerationFromManager(e3) { } - get supportsLiteralEditor() { - return false; + findBestContainerPartForCriteria(e3) { + return this.builderContainerPartsManager.findBestContainerPartForCriteria(e3) || this.builderPartsManager.findBestContainerPartForCriteria(e3); } } - t2.VoiceSnippetType = a, a.typeIdentifier = o.expressionTypeNames.voiceSnippet; - }, 30276: (e2, t2, i2) => { - const n2 = i2(28730), { nextLoopActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 30345: (e2, t2, i2) => { - const n2 = i2(58597), r2 = i2(22124), o = i2(24032).getTopic("BotConnectorVersionList"); - function a() { - a.baseConstructor.apply(this, arguments); - } - r2.extend(a, "BotConnectorVersionList"), Object.defineProperties(a.prototype, { entities: { enumerable: true, set: function(e3) { - this._entitiesSetBy && "versions" !== this._entitiesSetBy && o.error('BotConnectorVersionList: "entities" setter called but data was already set by "versions"'), this._entitiesSetBy = "entities", this._entities = this.reviveArray(e3, n2); - }, get: function() { - return this._entities; - } }, versions: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entitiesSetBy && "entities" !== this._entitiesSetBy && o.error('BotConnectorVersionList: "versions" setter called but data was already set by "entities"'), this._entitiesSetBy = "versions", this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = a; - }, 30346: (e2, t2, i2) => { + t2.BaseBuilderWithBuilderPartsViewModel = C; + }, 43693(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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends s.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get notRealAction() { - return false; - } - get menuReference() { - return this.model.menuReference; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 r.default { + constructor({ builderViewModel: e3, containerPartViewModel: t3, owningExpression: i3, parentModel: n3, isManagingPartContainers: r2, 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: r2, 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(); + o.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, c.sprintf)("%1$s-%2$s", n4.builderPartDef.id, this._partViewModels.length - 1), h.registerEventSinkForEventEmitter(n4.id, this.builderViewModel); + }); } - set menuReference(e3) { - this.model.menuReference = e3; + _getBuilderModelArray(e3) { + return this.isManagingPartContainers ? (e3 && !o.default.isArray(this._parentModel.builderPartContainers) && (this._parentModel.builderPartContainers = []), this._parentModel.builderPartContainers) : (e3 && !o.default.isArray(this._parentModel.builderParts) && (this._parentModel.builderParts = []), this._parentModel.builderParts); } - initialize() { - super.initialize(); - const e3 = this.parentFlow; - if (this.menu) return; - const t3 = this.menuReference; - if (!t3) return; - if (!e3) return; - const i3 = e3.getMenuById(t3); - this.linkMenu(i3); + get builderDef() { + return this.builderViewModel.builderDef; } - get canCollapse() { - return this.menu && this.menu.canCollapse; + get isManagingPartContainers() { + return this._isManagingPartContainers; } - get collapsed() { - return !!this.menu && this.menu.collapsed; + get sortPartContainers() { + return this._sortPartContainers; } - set collapsed(e3) { - this.menu && (this.menu.collapsed = e3); + _addPart(e3) { + if (this.isManagingPartContainers !== e3.isContainerPart) throw g.error(`Attempting to add a non builder part container to a container array. Container: ${JSON.stringify(this)}; BuilderPartToAdd: ${JSON.stringify(e3)}`), "no no, you are adding a non builder part container to a container array or vice versa. Boo!"; + let t3 = -1; + if (this.sortPartContainers && this._partViewModels.length && e3) { + const i4 = e3.sortValue; + for (let e4 = 0; e4 < this._partViewModels.length; e4++) if (i4 < this._partViewModels[e4].sortValue) { + t3 = e4; + break; + } + } + 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, 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 isSubMenuActionViewModel() { - return true; + get errorParent() { + return this.parentIsContainerPart ? this.parentContainerPart : this.builderViewModel; } - linkMenu(e3) { - this.menuReference = e3.id, this.menu = e3; + _initializeDesignTime() { + super._initializeDesignTime(), o.default.each(this._partViewModels, (e3) => { + e3.initializeDesignTime(); + }); } - validate(e3) { - this.menuReference ? r2.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference) || e3.addInternalError(this, u.menu.invalidReference) : e3.addInternalError(this, u.menu.noReference); + getInternalExpressions() { + const e3 = o.default.map(this._partViewModels, (e4) => e4.getInternalExpressions()); + return o.default.union(...e3); } - } - 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; - const n2 = i2(43212), r2 = i2(68823), o = i2(20391); - class a extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this._pageComponents = e3.pageComponents.map((e4) => new r2.FormPageComponentViewModel(e4)); + _replaceUsages(e3, t3, i3) { + super._replaceUsages(e3, t3, i3), o.default.each(this._partViewModels, (n3) => { + n3.replaceUsages(e3, t3, i3); + }); } - get className() { - return "FormPageViewModel"; + _validateBuilderObject(e3, t3) { + let i3 = super._validateBuilderObject(e3, t3); + try { + if (e3.setContextIsContainerRelated(), o.default.each(this._partViewModels, (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, 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; + o.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, c.sprintf)(m.builders.maxPartsMoreThanOne, this.maxBuilderPartCount); + e3.addError(this.errorParent, t4); + } + } + } finally { + this.builderViewModel.builderValidationResultsOrganizer.clearContextIsContainerRelated(); + } + return i3; } - get title() { - return this._model.title; + _indexForPartId(e3) { + return o.default.isString(e3) && 0 !== e3.length ? o.default.findIndex(this.parts, function(t3) { + return t3.id === e3; + }) : -1; } - get subtitle() { - return this._model.subtitle; + get enabledNonContainerPartCount() { + let e3 = 0; + return this.isManagingPartContainers ? o.default.each(this.parts, (t3) => { + if (!t3.outOfService) { + const i3 = t3.builderPartsManager; + i3 && (e3 += i3.enabledNonContainerPartCount); + } + }) : o.default.each(this.parts, (t3) => { + t3.outOfService || e3++; + }), e3; } - get pageComponents() { - return this._pageComponents; + _indexForPartViewModel(e3) { + return e3 ? e3.isDestroyed ? -1 : this._indexForPartId(e3.id) : -1; } - get componentInfo() { - return (0, o.getDisplayInfoForComponent)(this.pageComponents[0]); + canMovePartAtIndex(e3) { + const t3 = this.hasMinBuilderPartCount ? Math.min(this.minBuilderPartCount, this.parts.length) : this.parts.length; + return e3 >= 0 && e3 < t3; } - } - t2.FormPageViewModel = a; - }, 30380: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleReadableStreamLike = void 0; - var n2 = i2(17873), r2 = i2(95462); - t2.scheduleReadableStreamLike = function(e3, t3) { - return n2.scheduleAsyncIterable(r2.readableStreamLikeToAsyncGenerator(e3), t3); - }; - }, 30502: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindQueueByIdActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + _movePartToIndex(e3, t3) { + if (!this.canMovePartAtIndex(e3)) return false; + if (!this.canMovePartAtIndex(t3)) return false; + const i3 = this._partViewModels[e3]; + this._partViewModels.splice(e3, 1), this._partViewModels.splice(t3, 0, i3); + const n3 = this._getBuilderModelArray(), o2 = n3[e3]; + return n3.splice(e3, 1), n3.splice(t3, 0, o2), this.builderViewModel.updateOwningExpression(), true; } - } - t2.FindQueueByIdActionModel = o, o.__type = r2.findQueueByIdActionType, o.registerType(); - }, 30632: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.throwIfEmpty = void 0; - var n2 = i2(59328), r2 = i2(65212), o = i2(17214); - function a() { - return new n2.EmptyError(); - } - t2.throwIfEmpty = function(e3) { - return void 0 === e3 && (e3 = a), r2.operate(function(t3, i3) { - var n3 = false; - t3.subscribe(o.createOperatorSubscriber(i3, function(e4) { - n3 = true, i3.next(e4); - }, function() { - return n3 ? i3.complete() : i3.error(e3()); - })); - }); - }; - }, 30702: (e2, t2, i2) => { - const n2 = i2(87290); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "LexAliasList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 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 = 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); + _swapPartsAtIndex(e3, t3) { + if (!this.canMovePartAtIndex(e3)) return false; + if (!this.canMovePartAtIndex(t3)) return false; + const i3 = this._getBuilderModelArray(), n3 = this._partViewModels[e3], o2 = i3[e3]; + return this._partViewModels[e3] = this._partViewModels[t3], this._partViewModels[t3] = n3, i3[e3] = i3[t3], i3[t3] = o2, this.builderViewModel.updateOwningExpression(), true; } get className() { - return "CustomerSegmentType"; + return "BuilderPartsManager"; } - createExpressionOptionClass() { - return new c.ExpressionTypeCustomerSegmentOptions(this.isCollection); + get isBaseBuilderWithBuilderPartsViewModel() { + return true; } - canConvertLitToExpression(e3) { - return o.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindCustomerSegments", e3, [s.globalTypes.stringCollection]); + canRemovePart(e3) { + const t3 = o.default.indexOf(this.parts, e3); + return !(t3 < 0 || this.builderDef.fixedBuilderPart || this.parts[t3].cannotBeDeleted); } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindCustomerSegments(MakeList(${a.default.getQuotedExpressionStringLiteral(t3)}))` : ""; + get parts() { + return this._partViewModels; } - getCollectionItemLiteralText(e3) { - return e3.isLiteralMode && e3.text ? a.default.getQuotedExpressionStringLiteral(e3.text) : e3.getEmbeddableExpressionText(); + get hasParts() { + return this._partViewModels && this._partViewModels.length > 0; } - convertCollectionLiteralToExpression(e3, t3) { - return this.canConvertLitToExpression(e3) ? `FindCustomerSegments(MakeList(${t3.filter((e4) => e4).join(", ")}))` : null; + deletePart(e3) { + const t3 = this._indexForPartViewModel(e3); + return -1 !== t3 && this.deletePartAtIndex(t3); } - _getLiteralValueOfExpression() { - return ""; + configureForFlowState() { + const e3 = this.parentFlow; + if (e3 && e3.info && !e3.info.currentUserCanEdit) return false; + let t3 = false; + for (let e4 = this._partViewModels.length - 1; e4 >= 0; e4--) this._partViewModels[e4].needsDeletion && this.deletePartAtIndex(e4) && (t3 = true); + return t3; } - get listManager() { - return l.customerSegmentManager.getBriefManagerWithFallback(); + _deletePartAtIndex(e3, t3) { + 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); + const t4 = i3[0]; + t4 && (h.unregisterEventSinkForEventEmitter(t4.id, this.builderViewModel), t4.destroy()), this.builderViewModel.updateOwningExpression(); + } catch (e4) { + console.error("Unable to destroy builder part. " + e4); + } + return true; } - } - 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)), c = i2(47957); - class d extends u.default { - constructor(e3) { - super(e3); + get hasMaxNumOfBuilderPartsConfigured() { + return !!this.hasMaxBuilderPartCount && (this.isManagingPartContainers ? !o.default.find(this.parts, (e3) => !e3.hasMaxNumOfBuilderPartsConfigured) : this._partViewModels.length === this.maxBuilderPartCount); } - addAttribute() { - const e3 = this.variables.add(null, o.globalTypes.string); - return s.validateAction(this, true, true), e3.id; + deletePartAtIndex(e3) { + return this._deletePartAtIndex(e3); } - static get managedProperties() { - 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)) }]; + deleteAllParts() { + const e3 = []; + let t3 = false; + try { + for (let i3 = this.parts.length - 1; i3 >= 0; i3--) { + const n3 = this.parts[i3]; + this.canRemovePart(n3) && this._deletePartAtIndex(i3, true) ? t3 = true : e3.push(n3); + } + } finally { + t3 && this.builderViewModel.updateOwningExpression(); + } + return e3.length ? e3 : void 0; } - } - t2.default = d; - }, 30801: (e2, t2) => { - "use strict"; - 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", 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() { - Object.defineProperties(this, { _actualRepeatCount: { writable: true }, _allowedRepeatCount: { writable: true }, _audio: { writable: true } }), s.baseConstructor.apply(this, arguments); - } - r2.extend(s, a, "PlayAudioOnSilenceActionModel"), Object.defineProperties(s.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.actualRepeatCount.pasteReIdOrRename(e3), this.allowedRepeatCount.pasteReIdOrRename(e3), this.audio.pasteReIdOrRename(e3); - } }, pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.actualRepeatCount.pasteResolveOldToNewValues(e3), this.allowedRepeatCount.pasteResolveOldToNewValues(e3), this.audio.pasteResolveOldToNewValues(e3); - } }, actualRepeatCount: { enumerable: true, get: function() { - return this._actualRepeatCount; - }, set: function(e3) { - this._actualRepeatCount = this.reviveItem(e3, o); - } }, allowedRepeatCount: { enumerable: true, get: function() { - return this._allowedRepeatCount; - }, set: function(e3) { - this._allowedRepeatCount = this.reviveItem(e3, o); - } }, audio: { enumerable: true, get: function() { - return this._audio; - }, set: function(e3) { - this._audio = this.reviveItem(e3, n2); - } } }), e2.exports = s; - }, 30879: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getCurrencies = function() { - return o.length || o.push(...n2.default.map(r2, (e3, t3) => { - const i3 = s(e3); - return a.push(i3), e3.code || n2.default.extend(e3, { code: t3 }), n2.default.extend(e3, { description: i3 }); - })), o; - }, t2.getCurrencyEntryFromCode = function(e3) { - return r2[e3]; - }, t2.getDescriptionStringFromCode = function(e3) { - const t3 = r2[e3]; - return t3 ? s(t3) : null; - }, t2.getCurrencyCodeAllowableValues = function() { - return void 0 === l && (l = [], Object.values(r2).forEach((e3) => { - l.push({ id: e3.code, displayString: e3.displayName }); - })), l; - }; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(19502), o = [], a = []; - function s(e3) { - return (e3.code || e3.symbol) + " - " + e3.displayName; - } - let l; - }, 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), c = i2(47957), d = i2(27862), p = i2(94384); - class _ extends a.default { - get requiredAuth() { - return u.externalAuthorizations.authStrings.integrationView; + get hasMaxBuilderPartCount() { + return !this.isManagingPartContainers && this.builderDef.hasMaxBuilderPartCount; } - get dependencyType() { - return d.DialogEngineBot; + get maxBuilderPartCount() { + return this.isManagingPartContainers ? void 0 : this.builderDef.maxBuilderPartCount; } - 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 = c.dialogEngine.dialogEngineBot, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "dialogEngineBots", this._initialize(); + get hasMinBuilderPartCount() { + return !this.isManagingPartContainers && this.builderDef.hasMinBuilderPartCount; } - _createItemViewModel(e3) { - return new l.default(e3); + get minBuilderPartCount() { + return this.isManagingPartContainers ? void 0 : this.builderDef.minBuilderPartCount; } - } - t2.DialogEngineBotManager = _, t2.dialogEngineBotManager = new _(); - }, 30905: (e2, t2, i2) => { - const n2 = i2(28730), { flushAudioActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 31006: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get warnOnNoParts() { + return this.isManagingPartContainers ? void 0 : this.builderDef.warnOnNoParts; } - get _globalTypeName() { - return "workitemEventRule"; + findBestContainerPartForCriteria(e3) { + return this.parts.find((t3) => !t3.outOfService && t3.criteria && (t3.criteria.languageTag === e3.languageTag || o.default.isUndefined(t3.criteria.languageTag) || o.default.isUndefined(e3.languageTag)) && (t3.criteria.outputMode === e3.outputMode || o.default.isUndefined(t3.criteria.outputMode) || o.default.isUndefined(e3.outputMode))); } - get initialValue() { - return this._initialValue; + getExpressionDetails(e3) { + if (this._isManagingPartContainers && (null == e3 ? void 0 : e3.richSummary) && e3.criteria) { + const t4 = this.findBestContainerPartForCriteria(e3.criteria); + return t4 ? t4.getExpressionDetails(e3) : void 0; + } + if (this.enabledNonContainerPartCount > 0 && (null == e3 ? void 0 : e3.richSummary)) { + const t4 = this.getExpressionDetailParts(e3); + if (t4 && t4.length) return t4.map((e4) => e4.displayString).join(" "); + } + const t3 = this._partViewModels.length; + switch (t3) { + case 0: + return _.builders.shared.details.builderPartsNone; + case 1: + return this._partViewModels[0].builderPartDef.name; + default: + return (0, c.sprintf)(_.builders.shared.details.builderPartsMoreThanOne, t3); + } } - get displayTypeName() { - return "ArchVariableWorkitemEventRule"; + getExpressionDetailParts(e3) { + if (this._isManagingPartContainers && (null == e3 ? void 0 : e3.richSummary) && e3.criteria) { + const t3 = this.findBestContainerPartForCriteria(e3.criteria); + return t3 ? t3.getExpressionDetailParts(e3) : void 0; + } + return o.default.flatten(this._partViewModels.map((t3) => t3.getExpressionDetailParts(e3))); } - get isArchVariableWorkitemEventRule() { - return true; + getIndexForPart(e3) { + return this._indexForPartId(e3); } - } - t2.default = r2; - }, 31061: (e2, t2, i2) => { - const n2 = i2(28730), { transferMenuActionType: r2 } = i2(30801); - function o() { - this.menuReference = void 0, this.menuName = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments); - const t3 = e3.pasteResolveOldIdToOldName(this.menuReference); - this.menuReference = this.pasteResolveReferenceAndName(e3, "menu", this.menuReference, t3).reference; - } } }), e2.exports = o; - }, 31140: (e2, t2, i2) => { - function n2() { - Object.defineProperties(this, { name: { writable: true, enumerable: true } }), n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "HedwigActionCategory"), Object.defineProperties(n2.prototype, { id: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - }, enumerable: false } }), e2.exports = n2; - }, 31145: (e2, t2, i2) => { - "use strict"; - var n2; - 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 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); + findContainerPart(e3, t3) { + if (this.isManagingPartContainers && o.default.isObject(t3) && e3) return o.default.find(this.parts, (i3) => t3.isEqualTo(i3.criteria) && i3.builderPartDef && i3.builderPartDef.isMatch(e3)); } - _createBotFlowSettings() { - return new R.default(this); + movePartToIndex(e3, t3) { + const i3 = this._indexForPartViewModel(e3); + return -1 !== i3 && this._movePartToIndex(i3, t3); } - validate(e3) { - var t3, i3, n3; - if (super.validate(e3), this.supportsGrammars) for (const n4 in this.nluMetaData.slotsToGrammarsMapping) { - const r4 = null === (t3 = this.nluMetaData.slotsToGrammarsMapping[n4]) || void 0 === t3 ? void 0 : t3.id; - if ((!r4 || !h.grammarManager.getItem(r4)) && r4) { - const t4 = n4, o2 = null === (i3 = this.nluMetaData.slotsToGrammarsMapping[n4]) || void 0 === i3 ? void 0 : i3.name, a2 = o2 ? (0, s.sprintf)(z.grammars.modal.errors.grammarNameDoesNotExistOnSlot, o2, t4) : (0, s.sprintf)(z.grammars.modal.errors.grammarIdDoesNotExistOnSlot, r4, t4); - e3.addError(this.slotSettings, a2); - } - } - const r3 = o.EntityUtil.getEntityTypeNames(this.nlu); - r3.length && r3.forEach((t4) => { - var i4, n4; - const r4 = o.EntityUtil.getEntityTypeByName(this.nlu, t4); - "List" === (null === (i4 = null == r4 ? void 0 : r4.mechanism) || void 0 === i4 ? void 0 : i4.type) && (null === (n4 = null == r4 ? void 0 : r4.mechanism) || void 0 === n4 ? void 0 : n4.items.length) && r4.mechanism.items.forEach((t5) => { - var i5; - if (t5.value !== t5.value.trim()) { - const n5 = (0, s.sprintf)(z.bot.whitespacePresentInSlotTypeValue, t5.value, r4.name); - (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)(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)); + movePartDown(e3) { + const t3 = this._indexForPartViewModel(e3); + return -1 === t3 ? -1 : this.movePartDownAtIndex(t3); } - get isNluFlow() { - return true; + movePartDownAtIndex(e3) { + return p.ParameterValidator.expectInt(e3, () => d.ParameterInfo.createPropertySet(this.className, "movePartDownAtIndex", "indexToMoveDown")), this._swapPartsAtIndex(e3, e3 + 1) ? e3 + 1 : -1; } - get languageForFlowCreation() { - return this.defaultLanguage; + get parentIsContainerPart() { + return !o.default.isUndefined(this._containerPartViewModel); } - get hasIntentTaskMappings() { - return false; + get parentIsBuilder() { + return !this.parentIsContainerPart; } - get supportsNluIntents() { - return this.definition.supportsNluIntents; + get partsValidForProcessing() { + return this.parentIsContainerPart && !this.parentContainerPart.outOfService || this.parentIsBuilder && !this.builderViewModel.partAndPartsOutOfService; } - get supportsKnowledge() { - return this.definition.supportsKnowledge; + get parentContainerPart() { + return this._containerPartViewModel; } - get supportsConversationSummary() { - var e3; - return this.definition.supportsConversationSummary && (null === (e3 = this.virtualAgentSettings) || void 0 === e3 ? void 0 : e3.summarizationEnabled); + movePartUp(e3) { + const t3 = this._indexForPartViewModel(e3); + return -1 === t3 ? -1 : this.movePartUpAtIndex(t3); } - createState(e3) { - if (this.definition.supportsMultipleStates) return super.createState(e3); - g.error("Multiple states not supported"); + movePartUpAtIndex(e3) { + return p.ParameterValidator.expectInt(e3, () => d.ParameterInfo.createPropertySet(this.className, "movePartUpAtIndex", "movePartUpAtIndex")), this._swapPartsAtIndex(e3, e3 - 1) ? e3 - 1 : -1; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, E.scopes.session, E.scopes.flow, E.scopes.slot]; + 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)); } - get allowedAssignableVariableScopes() { - return [...super.allowedAssignableVariableScopes, E.scopes.slot]; + cloneParts(e3) { + if (this._partViewModels.length) throw g.error("Attempted to call cloneParts on a builder container with existing parts."), "trying to call cloneParts on a builder container with existing parts"; + o.default.each(e3, (e4) => { + const t3 = o.default.deepClone(e4.builderPartModel), i3 = e4.builderPartDef.reviveItem(this.builderViewModel, this.owningExpression, t3, true); + return this._addPart(i3); + }); } - getFlowConfigurationClass() { - return J; + getOverallPartsGeneration(e3, t3) { + const i3 = this.getIndividualPartGenerations(); + if (1 === i3.length) return i3[0]; + const n3 = e3.createGeneration(); + return o.default.each(i3, function(e4) { + n3.addGenerationToBucket(e4, t3); + }), n3; } - get overrideWireFlowConfiguration() { - return K.getBotFlowConfiguration; + get hasLanguagePartContainers() { + return !!this.isManagingPartContainers && !o.default.isUndefined(o.default.find(this.parts, (e3) => e3.isLanguageBuilderPartContainerViewModel)); } - get overrideWireFlowVersionConfiguration() { - return K.getVersionBotFlowConfiguration; + getMissingFlowSupportedLanguages() { + if (!this.builderViewModel.partAndPartsOutOfService) return; + if (!this.isManagingPartContainers) return; + const e3 = this.parentFlow; + if (!e3 || !e3.languages) return; + const t3 = []; + return o.default.each(e3.languages.supportedLanguagesViewModels, (e4) => { + o.default.isUndefined(o.default.find(this.parts, (t4) => { + if (t4.isLanguageBuilderPartContainerViewModel) return t4.languageTag === e4.idExpressionText; + })) && t3.push(e4); + }), t3; } - get grammarsInUse() { - return l.default.isNullOrUndefined(this.nluMetaData.slotsToGrammarsMapping) ? [] : [...Object.values(this.nluMetaData.slotsToGrammarsMapping)]; + getIndividualPartGenerations() { + const e3 = []; + return this.parentIsBuilder && this.builderViewModel.partAndPartsOutOfService ? e3.push(this.builderDef.generators.noOrDisabledPartsGenerator.createGeneration()) : 0 === this.parts.length ? this.hasMinBuilderPartCount && 0 !== this.minBuilderPartCount || this.builderDef.generators.noOrDisabledPartsGenerator && e3.push(this.builderDef.generators.noOrDisabledPartsGenerator.createGeneration()) : o.default.each(this.parts, function(t3) { + const i3 = t3.buildExpressionGeneration(); + i3 && e3.push(i3); + }), 0 === e3.length && e3.push(l.default.emptyStringGenerator.createGeneration()), e3; } - get speechToTextEnginesInUse() { - var e3; - const t3 = []; - if (!l.default.isEmpty(this.nluMetaData.slotsToGrammarsMapping)) { - for (const i3 in this.nluMetaData.slotsToGrammarsMapping) { - const n3 = null === (e3 = this.nluMetaData.slotsToGrammarsMapping[i3]) || void 0 === e3 ? void 0 : e3.sttEngine; - t3.includes(n3) || t3.push(n3); + _buildCriteriaPropOrderedObject(e3) { + if (!this.isManagingPartContainers) return {}; + const t3 = {}; + return o.default.each(this.parts, (i3) => { + if (i3.outOfService) return; + const n3 = i3.criteria; + if (!o.default.isObject(n3)) return; + let r2 = t3; + const a2 = e3.length, s2 = a2 - 1; + for (let t4 = 0; t4 < a2; t4++) { + let a3 = n3[e3[t4]]; + if (o.default.isUndefined(a3) && (a3 = "__none__"), t4 === s2) o.default.isUndefined(r2[a3]) && (r2[a3] = i3); + else { + let e4 = r2[a3]; + o.default.isUndefined(e4) && (e4 = {}, r2[a3] = e4), r2 = e4; + } } - return t3; - } - return []; - } - get nluSettingsHaveUnsavedChanges() { - return !this.isReadOnly && r2.__classPrivateFieldGet(this, n2, "f"); + }), t3; } - set nluSettingsHaveUnsavedChanges(e3) { - r2.__classPrivateFieldSet(this, n2, e3, "f"), A.fireEvent(this, f.nluSettingsHaveUnsavedChangesChanged); + getLanguageTagOutputModeContainer() { + return this._buildCriteriaPropOrderedObject(["languageTag", "outputMode"]); } - setBotFlowNluSettings(e3) { - this.botFlowSettings.loadSettings(null == e3 ? void 0 : e3.nluDomainId, null == e3 ? void 0 : e3.nluDomainVersionId, void 0); + _addClipboardDependencies(e3) { + super._addClipboardDependencies(e3), o.default.each(this.parts, function(t3) { + t3.addClipboardDependencies(e3); + }.bind(this)); } - postCreate(e3) { - return r2.__awaiter(this, void 0, void 0, function* () { - var t3; - e3 || (e3 = {}); - let i3 = null === (t3 = e3.nluVersionTemplate) || void 0 === t3 ? void 0 : t3.templateObject; - 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); + setPartsOutOfServiceValue(e3) { + p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "setOutOfServiceValue", "outOfServiceValue")), o.default.each(this._partViewModels, (t3) => { + t3.outOfService = e3; }); } - getSaveAsConfig(e3) { - return r2.__awaiter(this, void 0, void 0, function* () { - var t3, i3, n3; - const r3 = y.getStringifiedConfiguration(this); - let o2 = JSON.parse(r3); - return o2 = yield this.preExport(o2), o2.botFlowSettings.nluDomainId = null === (i3 = null === (t3 = e3.nluInfo) || void 0 === t3 ? void 0 : t3.domain) || void 0 === i3 ? void 0 : i3.id, o2.botFlowSettings.engineVersion = null === (n3 = e3.nluInfo) || void 0 === n3 ? void 0 : n3.engineVersion, delete o2.botFlowSettings.nluDomainVersionId, { newConfig: y.stringifyConfig(o2) }; - }); + _destroy() { + o.default.each(this._partViewModels, (e3) => { + h.unregisterEventSinkForEventEmitter(e3.id, this.builderViewModel), e3.destroy(); + }), this._partViewModels.splice(0, this._partViewModels.length), this._containerPartViewModel = void 0, this._parentModel = void 0, this._isManagingPartContainers = void 0, super._destroy(); } - updateNluIdsInConfig(e3, t3, i3, n3, r3, o2, a2) { - 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 === (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 === (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)); - } + } + t2.default = f; + }, 45431(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isBaseBuilderObjectViewModel = function(e3) { + return null == e3 ? void 0 : e3.isBaseBuilderObjectViewModel; + }; + const n2 = i2(55909), o = i2(33951), r = i2(24032).getTopic("BaseBuilderObjectViewModel"); + t2.default = class { + constructor(e3) { + this._isDestroyed = false, o.ParameterValidator.expectExpression(e3, () => n2.ParameterInfo.createConstructorParameter(this.className, "owningExpressionViewModel")), Object.defineProperties(this, { _builderValidationResultsOrganizer: { writable: true }, _builderViewModel: { writable: true }, _initializeDesignTimeCalled: { value: false, writable: true }, _owningExpressionViewModel: { value: e3, writable: true } }); } - waitForNluTrainingCompletion(e3, t3) { - return r2.__awaiter(this, void 0, void 0, function* () { - let i3 = 0; - return C.poll(() => r2.__awaiter(this, void 0, void 0, function* () { - return u.getNluDomainVersion(e3, t3); - }), (e4) => { - if (i3++, l.default.isObject(e4)) return e4.trainingStatus === S.default.trainingStatuses.trained || e4.trainingStatus === S.default.trainingStatuses.error || e4.trainingStatus === S.default.trainingStatuses.untrained && i3 >= 3; - }, 1500, 60); - }); + get id() { + return this._id; } - postScriptingCreateFlowAsync(e3) { - var t3; - if (l.default.isObject(e3)) { - this.cachedCreationDataFromScripting = e3; - const i3 = null === (t3 = null == e3 ? void 0 : e3.nluVersionTemplate) || void 0 === t3 ? void 0 : t3.templateObject; - if (i3) { - const t4 = m.nluDomainManager.checkNluDomainVersionJson(i3, this.supportsNluIntents); - if (t4) throw `An invalid Natural Language Understanding configuration was supplied. Error: ${t4}`; - 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) || []); - } - } + _addClipboardDependencies(e3) { } - preExport(e3, t3) { - const i3 = Object.create(null, { preExport: { get: () => super.preExport } }); - return r2.__awaiter(this, void 0, void 0, function* () { - 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 $(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 (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; - }); + _initializeDesignTime() { } - preImport(e3) { - const t3 = Object.create(null, { preImport: { get: () => super.preImport } }); - return r2.__awaiter(this, void 0, void 0, function* () { - var i3, n3, r3; - yield t3.preImport.call(this, e3); - const o2 = {}; - if (null === (i3 = null == e3 ? void 0 : e3.nluMetaData) || void 0 === i3 ? void 0 : i3.rawNlu) { - let t4; - const i4 = e3.nluMetaData.rawNlu; - t4 = l.default.isObject(i4) ? i4 : this.nluMetaData.unpackRawNlu(e3.nluMetaData), this.cachedCreationDataFromScripting = { nluVersionTemplate: { templateObject: t4 } }; - } - 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, 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; - }); + _postInitializeDesignTime() { } - 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 = 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 }); - } - }); + _replaceUsages(e3, t3, i3) { } - processNluWorkbenchMessage(e3) { - if (e3) { - if (this.nluMetaData.currentWorkbenchMessage = e3, this.intentsSettings && N.validateItem(this.intentsSettings), N.validateItem(this.slotSettings), N.validateItem(this.learningSettings), N.validateItem(this.slotTypeSettings), this.nluMetaData.setRawNluFromWorkbench(e3.rawNlu), this.nluMetaData.archNlu = e3.archNlu, l.default.isObject(null == e3 ? void 0 : e3.archNlu)) { - const t3 = this.parentFlow.variableGroup.getSlotVariables(), i3 = this.parentFlow.variableGroup.getVariableIds(t3), n3 = this.parentFlow.variableGroup.getVariableModelTypes(t3); - 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), 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, c2) && !this.hasIntentTaskMappings || this.debouncedValidateFlow(), f.emitter.emit(f.nluUpdatedByWorkbench), (o2 || a2) && this.updateWorkbenchDynamicSlotTypesUpdated(); - } - this._nluWbMessageProcessingShouldCacheFlowConfig && (this._nluWbMessageProcessingShouldCacheFlowConfig = false, y.cacheConfiguration(this, true)); - } + _validateBuilderObject(e3, t3) { + return true; } - processIntentClassifierUpdatedMessage(e3) { - e3 && (this.intentClassifierData.updateIntentClassifier(e3), this.debouncedValidateFlow()); + get amObjectEventEmitter() { + return true; } - updateBotSessionViewer() { - f.emitter.emit(f.botSessionViewerUpdated); + get amObjectEventSink() { + return true; } - updateWorkbenchDynamicSlotTypesUpdated() { - this.updateWorkbench(O.NluUpdateType.dynamicSlotTypes); + get builderViewModel() { + return this._builderViewModel; } - 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)); + get builderValidationResults() { + return this._builderValidationResultsOrganizer.getBuilderObjectResults(this.id); } - get areFlowFilterPreviewOptionsAvailable() { - return this.definition.supportsMoreThanOneOutputMode || this.definition.supportsMoreThanOneLanguage; + get className() { + return "BaseBuilderObjectViewModel"; } - getFlowFilterPreviewOptionsExpressionDisplayOptions(e3) { - var t3; - 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); + addClipboardDependencies(e3) { + try { + this._addClipboardDependencies(e3); + } catch (e4) { + throw r.exceptionWithErrorObjectInfo(e4, "Error occurred in _addClipboardDependencies processing.", this, true), e4; + } } - postSave(e3, t3) { - return r2.__awaiter(this, void 0, void 0, function* () { - var i3, n3, r3; - const o2 = null === (i3 = e3.nluInfo.domain) || void 0 === i3 ? void 0 : i3.id, a2 = e3.nluInfo.engineVersion, s2 = null === (n3 = e3.nluInfo.version) || void 0 === n3 ? void 0 : n3.id; - o2 && this.botFlowSettings.setNluDomainInfo(o2, a2); - 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)(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); - } 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) => { - this._logNluTrainingWaitError(e4); - }); - }); + configureForBuilderViewModel(e3) { + this._builderViewModel = o.ParameterValidator.expectObject(e3, () => n2.ParameterInfo.createFunctionParameter(this.className, "configureForBuilderViewModel", "builderViewModel")), this._builderValidationResultsOrganizer = this._builderViewModel.getBuilderValidationResultsOrganizer(); } - _isNluTrainingPermissionError(e3) { - var t3; - return !(!e3 || "object" != typeof e3) && 403 === (null !== (t3 = e3.status) && void 0 !== t3 ? t3 : e3._status); + get hasError() { + var e3; + return null === (e3 = this._builderValidationResultsOrganizer) || void 0 === e3 ? void 0 : e3.getBuilderObjectHasError(this.id); } - _logNluTrainingWaitError(e3) { - const t3 = `Error waiting for NLU training completion: '${e3}'`; - this._isNluTrainingPermissionError(e3) ? this.topic.warning(t3) : this.topic.error(t3); + get hasWarning() { + var e3; + return null === (e3 = this._builderValidationResultsOrganizer) || void 0 === e3 ? void 0 : e3.getBuilderObjectHasWarning(this.id); } - _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(); + get hasInfo() { + return this._builderValidationResultsOrganizer.getBuilderObjectHasInfo(this.id); } - _initializeDesignTime() { - 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(O.NluUpdateType.taskUpdate); - }; - this.addAutoCleanedUpEventSinkWatch(f.containerListChanged, this, e3), this.addAutoCleanedUpEventSinkWatch(f.taskNameChanged, this, e3); + get isBaseBuilderObjectViewModel() { + return true; + } + initializeDesignTime() { + try { + this._initializeDesignTime(); + } catch (e3) { + } + this._initializeDesignTimeCalled = true; + try { + this._postInitializeDesignTime(); + } catch (e3) { } - this.addAutoCleanedUpEventSinkWatch(f.supportedLanguagesChanged, this.parentFlow.languages, () => this._configureNluLanguageVersionsForScripting()); } - _configureNluLanguageVersionsForScripting() { - var e3, t3; - const i3 = a.LanguageVersionsUtil.ensureLanguageVersions(this.nlu, this.parentFlow.languages.supportedLanguages); - i3 && this.nluMetaData.setRawNluAndCompressionFormat(i3, S.default.compressionFormats.none), (null === (t3 = null === (e3 = this.cachedCreationDataFromScripting) || void 0 === e3 ? void 0 : e3.nluVersionTemplate) || void 0 === t3 ? void 0 : t3.templateObject) && (this.cachedCreationDataFromScripting.nluVersionTemplate.templateObject = a.LanguageVersionsUtil.ensureLanguageVersions(this.cachedCreationDataFromScripting.nluVersionTemplate.templateObject, this.parentFlow.languages.supportedLanguages)); + getInternalExpressions() { + return []; } - get nlu() { - var e3, t3, i3; - let n3 = null === (e3 = this.nluMetaData) || void 0 === e3 ? void 0 : e3.rawNlu; - return n3 || (n3 = null === (i3 = null === (t3 = this.botFlowSettings) || void 0 === t3 ? void 0 : t3.nluDomain) || void 0 === i3 ? void 0 : i3.model), n3; + get initializeDesignTimeCalled() { + return this._initializeDesignTimeCalled; } - get hasAISlotType() { - var e3, t3; - return !!(null === (t3 = null === (e3 = this.nlu) || void 0 === e3 ? void 0 : e3.entityTypes) || void 0 === t3 ? void 0 : t3.length) && this.nlu.entityTypes.some((e4) => o.EntityUtil.isEntityTypeOfTypeAI(e4)); + get owningExpression() { + return this._owningExpressionViewModel; } - getAllSlotNames() { - const e3 = []; - return l.default.each(o.EntityUtil.getEntities(this.nlu), (t3) => { - t3.name && e3.push(t3.name); - }), e3; + get parentFlow() { + return this._owningExpressionViewModel.parentFlow; } - getAvailableSlotNames(e3, t3) { - return Array.from(this.getSlotToSlotHandlingMap(e3, t3).keys()); + get parentFlowIsReadOnly() { + const e3 = this.parentFlow; + return !e3 || !e3.info || !e3.info.currentUserCanEdit; } - getSlotToSlotTypeMap(e3, t3) { - const i3 = /* @__PURE__ */ new Map(), n3 = this.getSlotToSlotHandlingMap(e3, t3); - return l.default.each(o.EntityUtil.getEntities(this.nlu), (e4) => { - n3.get(e4.name) && i3.set(e4.name, e4.type); - }), i3; + get parentFlowType() { + return this._parentFlowType || (this._parentFlowType = this._owningExpressionViewModel.parentFlow ? this._owningExpressionViewModel.parentFlow.type : ""), this._parentFlowType; } - getAllSlotsToSlotHandlingMap() { - return this.getSlotToSlotHandlingMap(true, true); + replaceUsages(e3, t3, i3) { + try { + this._replaceUsages(e3, t3, i3); + } catch (e4) { + r.exceptionWithErrorObjectInfo(e4, "Error occurred in _replaceUsages processing.", this, true); + } } - getSlotToSlotHandlingMap(e3, t3) { - if (!e3 && !t3) return /* @__PURE__ */ new Map(); - const i3 = this._getFlowManagedSlotToSlotHandlingMap() || /* @__PURE__ */ new Map(); - if (!e3) return i3; - const n3 = /* @__PURE__ */ new Map(); - if (l.default.each(o.EntityUtil.getEntities(this.nlu), (e4) => { - if (e4.name) { - const r3 = i3.get(e4.name); - if (r3) { - if (!t3) return; - n3.set(e4.name, r3); - } else n3.set(e4.name, b.SlotHandlingType.standardSlot); - } - }), o.IntentUtil.hasIntents(this.nlu)) for (const e4 of o.IntentUtil.getIntentNames(this.nlu)) l.default.each(o.IntentUtil.getIntentEntityTypeBindings(this.nlu, e4), (e5) => { - if (e5.entityName) { - const r3 = i3.get(e5.entityName); - if (r3) { - if (!t3) return; - n3.set(e5.entityName, r3); - } else n3.set(e5.entityName, b.SlotHandlingType.standardSlot); - } - }); - return n3; + validateBuilderObject(e3, t3) { + let i3; + try { + i3 = this._validateBuilderObject(this._builderValidationResultsOrganizer, t3); + } catch (e4) { + i3 = false; + } + return i3; } - _getFlowManagedSlotToSlotHandlingMap() { + get builderValidationResultsOrganizer() { + return this._builderValidationResultsOrganizer; } - updateNluEngineVersion(e3) { - this.botFlowSettings.engineVersion = e3; + destroy() { + this._builderValidationResultsOrganizer.clearBuilderObject(this.id); + try { + this._destroy(); + } catch (e3) { + } finally { + this._isDestroyed = true; + } } - canAddLanguage() { - const e3 = super.canAddLanguage(); - return 0 === this.supportedLanguageOptions.length ? e3 : e3 && this.botFlowSettings.allowsMoreThanOneSupportedLanguage; + get isDestroyed() { + return this._isDestroyed; } - get _canOnlyAddLanguageInAnotherFlowInstance() { - return !this.botFlowSettings.allowsMoreThanOneSupportedLanguage || super._canOnlyAddLanguageInAnotherFlowInstance; + _destroy() { + this._builderViewModel = void 0, this._initializeDesignTimeCalled = void 0, this._owningExpressionViewModel = void 0, this._builderValidationResultsOrganizer = void 0; } - } - t2.NluFlowViewModel = Q, n2 = /* @__PURE__ */ new WeakMap(); - }, 31151: (e2, t2, i2) => { + }; + }, 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(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(d(e4.referenceElement.parent)); - }), t3.length) return t3; - } - function _(e3, t3, i3) { - const n3 = o.getDependenciesForFlow(e3), a2 = r2.default.groupBy(n3, (e4) => e4.type.value); - r2.default.each(a2, (e4, i4) => { - t3[i4] = []; - }); - const s2 = r2.default.groupBy(n3, (e4) => `${e4.type.value}-${e4.id}-${e4.version}`); - 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(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); - }); - } - function h(e3, t3) { - if (e3.supportsLanguages) { - const i3 = e3 ? e3.languages.supportedLanguages : []; - i3.length > 0 && (t3[u.Language.value] = [], r2.default.each(i3, (e4) => { - t3[u.Language.value].push({ id: e4 }); - })); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, r2, 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: r2, 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), o.default.isArray(a2)) { + this._restrictToFlowTypes = []; + for (const e4 of a2) this._restrictToFlowTypes.push(u.ParameterValidator.expectFlowType(e4, () => l.ParameterInfo.createConstructorParameter(this.className, "restrictToFlowTypeOrTypes"))); + } else o.default.isString(a2) && (this._restrictToFlowTypes = [u.ParameterValidator.expectFlowType(a2, () => l.ParameterInfo.createConstructorParameter(this.className, "restrictToFlowTypeOrTypes"))]); + if (o.default.isArray(h)) { + this._requiredChannelTypes = []; + for (const e4 of h) this._requiredChannelTypes.push(u.ParameterValidator.expectChannelType(e4, () => l.ParameterInfo.createConstructorParameter(this.className, "requiredChannelTypeOrTypes"))); + } else h && (this._requiredChannelTypes = [u.ParameterValidator.expectChannelType(h, () => l.ParameterInfo.createConstructorParameter(this.className, "requiredChannelTypeOrTypes"))]); + if (u.ParameterValidator.expectArrayOrString(s2, () => l.ParameterInfo.createConstructorParameter(this.className, "categoryIdentifierOrIdentifiers"), true), o.default.isArray(s2)) { + this._categories = []; + for (const e4 of s2) this._categories.push(u.ParameterValidator.expectString(e4, () => l.ParameterInfo.createConstructorParameter(this.className, "categoryIdentifierOrIdentifiers"))); + } else o.default.isString(s2) && (this._categories = [u.ParameterValidator.expectString(s2, () => l.ParameterInfo.createConstructorParameter(this.className, "categoryIdentifierOrIdentifiers"))]); } - } - function m(e3, t3) { - var i3; - if (e3.supportsGrammars) { - const n3 = (null === (i3 = e3.grammarsInUse) || void 0 === i3 ? void 0 : i3.length) ? e3.grammarsInUse : []; - t3[u.Grammar.value] || (t3[u.Grammar.value] = []), n3.length > 0 && r2.default.each(n3, (e4) => { - e4.id && !t3[u.Grammar.value].some((t4) => t4.id === e4.id) && t3[u.Grammar.value].push({ id: e4.id }); - }); + get className() { + return "BaseCommonMetaData"; } - } - function g(e3, t3) { - var i3; - if (e3.supportsGrammars) { - const n3 = (null === (i3 = e3.speechToTextEnginesInUse) || void 0 === i3 ? void 0 : i3.length) ? e3.speechToTextEnginesInUse : []; - t3[u.SpeechToTextEngine.value] || (t3[u.SpeechToTextEngine.value] = []), n3.length > 0 && r2.default.each(n3, (e4) => { - r2.default.isUndefined(e4) || t3[u.SpeechToTextEngine.value].some((t4) => t4.id === e4.id) || t3[u.SpeechToTextEngine.value].push({ name: e4.name, id: e4.id }); - }); + get categories() { + return this._categories; } - } - class f extends l.default { - constructor() { - super(...arguments), this.modelPropertyName = "manifest"; + get isBaseCommonMetaData() { + return true; } - get className() { - return "DependenciesViewModel"; + get resultExpressionType() { + return this._resultExpressionType; } - get isDependenciesNode() { - return true; + get requiredFeatureToggle() { + return this._requiredFeatureToggle; } - get nodeGuxIcon() { - return "fa/life-ring-regular"; + get helpTopic() { + return this._helpTopic; } - get id() { - return "dependencies"; + get requiredFeatureConfig() { + return this._requiredFeatureConfig; } - get showInFlowSize() { - return false; + isMatch(e3) { + return e3 && e3.id === this.id; } - get helpTopic() { - return s.helpTopics.treeNodes.dependencies; + get meetsFeatureRequirements() { + return (!this._requiredFeatureToggle || a.isEnabled(this._requiredFeatureToggle)) && (!this._requiredFeatureConfig || r.isFeatureAvailable(this._requiredFeatureConfig)); } - getConfiguration(e3, t3) { - try { - 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, (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, (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) { - e3.manifest = void 0, console.error(t4); + isAvailableForFlow(e3) { + return e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)); + } + isAvailableForFlowType(e3, t3) { + var i3; + if (u.ParameterValidator.expectFlowType(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "isAvailableForFlowType", "flowTypeToCheck")), !t3 && !this.meetsFeatureRequirements) return false; + if (!this._isAvailableForFlowType(e3)) return false; + if (this._requiredChannelTypes) { + const t4 = null === (i3 = s.default.getDefinitionForFlowType(e3)) || void 0 === i3 ? void 0 : i3.channelTypes; + if (o.default.find(this._requiredChannelTypes, (e4) => !o.default.contains(t4, e4))) return false; } + return !this._restrictToFlowTypes || o.default.contains(this._restrictToFlowTypes, e3); } - getValidationManifest() { - const e3 = {}; - return o.updateDependencies(this.parentFlow, true), _(this.parentFlow, e3, true), (function(e4, t3) { - o.getUnverifiedPrompts(e4).forEach((e5) => { - t3[e5.type.value] || (t3[e5.type.value] = []), t3[e5.type.value].push({ name: e5.name, id: e5.id }); - }); - })(this.parentFlow, e3), h(this.parentFlow, e3), m(this.parentFlow, e3), g(this.parentFlow, e3), (function(e4, t3) { - const i3 = o.getValidationOnlyItems(e4); - r2.default.each(i3, (e5, i4) => { - !(function(e6, t4, i5) { - i5[t4] || (i5[t4] = []), r2.default.each(e6, (e7) => { - r2.default.findWhere(i5[t4], { id: e7.id }) || r2.default.findWhere(i5[t4], { name: e7.name }) || i5[t4].push(e7); - }); - })(e5, i4, t3); - }); - })(this.parentFlow, e3), e3; + _isAvailableForFlowType(e3) { + return true; } - getDisplayName() { - return c.customNodes.dependencies.label; + isInCategory(e3) { + return -1 !== o.default.indexOf(this._categories, e3); } - } - t2.default = f; - }, 31178: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(57731), o = {}; - function a(e3, t3) { - o[e3] = this, a.baseConstructor.apply(this, arguments); - } - r2.extend(a, "Digit"), a.getInstance = function(e3) { - return o[e3 || 0] || o[0]; - }, a.Zero = new a(0, "0"), a.One = new a(1, "1"), a.Two = new a(2, "2"), a.Three = new a(3, "3"), a.Four = new a(4, "4"), a.Five = new a(5, "5"), a.Six = new a(6, "6"), a.Seven = new a(7, "7"), a.Eight = new a(8, "8"), a.Nine = new a(9, "9"), a.Pound = new a(10, "#"), a.Star = new a(11, "*"), Object.defineProperties(a.prototype, { toJSON: { value: function() { - return this.value; - } }, getConfiguration: { value: function(e3, t3) { - if (t3?.isForFlowYaml) { - if (n2.isNullOrUndefined(this.value)) return null; - let e4 = this.value; - return 10 === this.value ? e4 = "#" : 11 === this.value && (e4 = "*"), `digit_${e4}`; + get descriptionInfo() { + return this._descriptionInfo.description = this.description, this._descriptionInfo.name = this.name, this._descriptionInfo; } - return this; - } } }), e2.exports = a; - }, 31245: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.observeNotification = t2.Notification = t2.NotificationKind = void 0; - var n2, r2 = i2(44885), o = i2(61587), a = i2(26680), s = i2(10281); - (n2 = t2.NotificationKind || (t2.NotificationKind = {})).NEXT = "N", n2.ERROR = "E", n2.COMPLETE = "C"; - var l = (function() { - function e3(e4, t3, i3) { - this.kind = e4, this.value = t3, this.error = i3, this.hasValue = "N" === e4; + get version() { + return this._version; } - return e3.prototype.observe = function(e4) { - return u(this, e4); - }, e3.prototype.do = function(e4, t3, i3) { - var n3 = this, r3 = n3.kind, o2 = n3.value, a2 = n3.error; - return "N" === r3 ? null == e4 ? void 0 : e4(o2) : "E" === r3 ? null == t3 ? void 0 : t3(a2) : null == i3 ? void 0 : i3(); - }, e3.prototype.accept = function(e4, t3, i3) { - var n3; - return s.isFunction(null === (n3 = e4) || void 0 === n3 ? void 0 : n3.next) ? this.observe(e4) : this.do(e4, t3, i3); - }, e3.prototype.toObservable = function() { - var e4 = this, t3 = e4.kind, i3 = e4.value, n3 = e4.error, s2 = "N" === t3 ? o.of(i3) : "E" === t3 ? a.throwError(function() { - return n3; - }) : "C" === t3 ? r2.EMPTY : 0; - if (!s2) throw new TypeError("Unexpected notification kind " + t3); - return s2; - }, e3.createNext = function(t3) { - return new e3("N", t3); - }, e3.createError = function(t3) { - return new e3("E", void 0, t3); - }, e3.createComplete = function() { - return e3.completeNotification; - }, e3.completeNotification = new e3("C"), e3; - })(); - function u(e3, t3) { - var i3, n3, r3, o2 = e3, a2 = o2.kind, s2 = o2.value, l2 = o2.error; - if ("string" != typeof a2) throw new TypeError('Invalid notification, missing "kind"'); - "N" === a2 ? null === (i3 = t3.next) || void 0 === i3 || i3.call(t3, s2) : "E" === a2 ? null === (n3 = t3.error) || void 0 === n3 || n3.call(t3, l2) : null === (r3 = t3.complete) || void 0 === r3 || r3.call(t3); } - t2.Notification = l, t2.observeNotification = u; - }, 31278: (e2, t2, i2) => { + t2.default = d; + }, 41898(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(3916)), a = i2(43212), s = i2(89125), l = i2(6225); - class u extends a.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this._model.substitutionsSchema && this.loadSubstitutionSchema(this._model.substitutionsSchema); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(61864)), o = i2(55299), r = i2(55909), a = i2(33951); + class s extends o.BaseClass { + constructor(e3, t3, i3, o2) { + super(), a.ParameterValidator.expectString(e3, () => r.ParameterInfo.createConstructorParameter(this.className, "id")), a.ParameterValidator.expectString(t3, () => r.ParameterInfo.createConstructorParameter(this.className, "name")), a.ParameterValidator.expectString(i3, () => r.ParameterInfo.createConstructorParameter(this.className, "description"), true), this._icon = o2 ? a.ParameterValidator.expectString(o2, () => r.ParameterInfo.createConstructorParameter(this.className, "icon")) : n2.default.wrench, Object.defineProperties(this, { _description: { value: i3, writable: true }, _icon: { value: o2, writable: true }, _id: { value: e3, writable: true }, _name: { value: t3, writable: true } }); } get className() { - return "ResponseViewModel"; - } - get library() { - return this._model.libraries && this._model.libraries[0]; - } - get libraries() { - return this._model.libraries || []; - } - get form() { - return new s.FormViewModel(this._model.form); + return "BaseIdNameDesc"; } - get messagingTemplate() { - return new l.MessagingTemplateViewModel(this._model.messagingTemplate); + get description() { + return this._description; } - getConfiguration() { - return { name: this.name, library: this.library, responseType: this.responseType, substitutions: this._model.substitutionsSchema }; + get icon() { + return this._icon; } get id() { - return this._model.id; - } - get label() { - return this._model.name || ""; + return this._id; } get name() { - return this._model.name; - } - get responseType() { - return this._model.responseType; - } - hasLibrary(e3) { - return e3 && r2.default.findWhere(this.libraries, { id: e3.id }); + return this._name; } - loadSubstitutionSchema(e3) { - this.substitutions = o.default.createSchemaPropertyList(e3.properties); + get isBaseIdNameDesc() { + return true; } } - t2.ResponseViewModel = u; - }, 31349: (e2, t2, i2) => { + t2.default = s; + }, 64584(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 { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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) { - super(e3), this._wrapupCode = this.coreFactory.createArchValueFromExpression(e3.wrapupCode); + Object.defineProperties(this, { _languageVarName: { writable: true, enumerable: false }, _sortValue: { writable: true, enumerable: false }, _json: { value: o.default.isObject(e3) ? e3 : {}, writable: false, enumerable: false } }); } - get _actionTypeId() { - return r2.setWrapupCodeActionType; + static get NO_CRITERIA() { + return d.__NO_CRITERIA__; } - get displayTypeName() { - return this._scriptingName; + static createForLanguageTag(e3) { + return new d().setLanguageTag(e3); } - get isArchActionSetWrapupCode() { - return true; + static createForLanguageTagAndOutputMode(e3, t3) { + return new d().setLanguageTag(e3).setOutputMode(t3); } - get wrapupCode() { - return this._wrapupCode; + static createForOutputMode(e3) { + return new d().setOutputMode(e3); } - } - t2.default = o; - }, 31375: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = i2(94453), a = n2.__importDefault(i2(66700)), s = i2(31145); - class l extends s.NluFlowViewModel { - get hasIntentTaskMappings() { - return true; + static createFromBuilderPartContainerCriteria(e3) { + return new d().setFromJsonObject(e3.json); } - get className() { - return "DigitalBotFlowViewModel"; + static createFromJsonObject(e3) { + return new d().setFromJsonObject(e3); } - get isDigitalBotFlow() { - return true; + _resetCriteriaPieces() { + this.setLanguageTag(void 0), this.setOutputMode(void 0), this._sortValue = void 0; } - get stateViewModel() { - return a.default; + get className() { + return "BuilderPartContainerCriteriaViewModel"; } - get type() { - return r2.flowTypes.flowTypeDigitalBot; + setFromJsonObject(e3) { + return this._resetCriteriaPieces(), o.default.isObject(e3) ? this.setLanguageTag(e3.languageTag).setOutputMode(e3.outputMode) : this; } - get wrappedYamlName() { - return "digitalBot"; + getGeneration(e3) { + if (this === d.__NO_CRITERIA__) return new r.default(); + const t3 = []; + let i3; + if (this._json.languageTag) { + const n3 = e3.parentFlow.variableGroup.getVariable("__INTERACTION_LANGUAGE__"); + i3 = s.createGeneration(), i3.setReplacementTokens([n3.name, `"${this._json.languageTag}"`]), t3.push(i3); + } + 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 = c.createGeneration(); + return e4.addGenerationToBucket(t3[0], "condition"), e4; + } + case 2: { + const e4 = c.createGeneration(), i4 = u.createGeneration(); + return i4.setReplacementTokens([t3[0].generate(), t3[1].generate()]), e4.addGenerationToBucket(i4, "condition"), e4; + } + default: { + const i4 = { generationCount: t3.length, builderPartContainerDefId: e3.builderPartDefId, builderDefId: e3.builderViewModel.builderDefId }; + throw `Builder container part criteria unable to generate "If" expression generation. Info: ${JSON.stringify(i4)}`; + } + } } - get statesYamlPropertyName() { - return "bots"; + hasLanguageTag(e3) { + return this._json.languageTag === (e3 ? e3.toLowerCase() : e3); } - _createInitialActions() { - return n2.__awaiter(this, void 0, void 0, function* () { - return (0, o.addBotFlowActions)(this), this; - }); + hasOutputMode(e3) { + return this._json.outputMode === (e3 ? e3.toLowerCase() : e3); } - canAddLanguage() { - return this.botFlowSettings.allowsMoreThanOneSupportedLanguage || this.topic.traceOnce("DigitalBotFlow engine version is below 3.0", (e3) => e3.warning("Wait a minute, how is this Digital Bot Flow engine version below 3.0? That's umpossible!")), super.canAddLanguage(); + get json() { + return this._json; } - } - t2.default = l; - }, 31485: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + isEqualTo(e3) { + return o.default.isObject(e3) && this._json.languageTag === e3.languageTag && this._json.outputMode === e3.outputMode; } - get _globalTypeName() { - return "emailAttachmentCollection"; + get languageTag() { + return this._json.languageTag; + } + get outputMode() { + return this._json.outputMode; } - get displayTypeName() { - return "ArchValueEmailAttachmentCollection"; + setLanguageTag(e3) { + return this._json.languageTag = o.default.isString(e3) ? e3.toLowerCase() : e3, this._sortValue = void 0, this; } - get isArchValueEmailAttachmentCollection() { - return true; + setOutputMode(e3) { + return this._json.outputMode = o.default.isString(e3) ? e3.toLowerCase() : e3, this._sortValue = void 0, this; } - } - t2.default = r2; - }, 31498: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67432)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get sortValue() { + return o.default.isUndefined(this._sortValue) && (this._sortValue = `0${this._json.languageTag ? "0" : "1"}${this._json.outputMode ? "0" : "1"}${this._json.languageTag ? this._json.languageTag : "__none-lang__"}/${this._json.outputMode ? this._json.outputMode : "__none-outputMode__"}`), this._sortValue; } - get isVideoViewModel() { - return true; + destroy() { + this._languageVarName = void 0, this._resetCriteriaPieces(); } } - t2.default = r2; - }, 31517: (e2, t2, i2) => { + d.__NO_CRITERIA__ = new d(), t2.default = d; + }, 39732(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), 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, !d.isoLanguages[e3.id.toLowerCase()], "the specified core isoLanguage does not have a valid id"); + const n2 = i2(31635), o = i2(55909), r = 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, c, d, p, _, h, m, g, f, T) { + super(e3, t3, i3, n3, a2, s2, u2, d, p, _, h, m, g, f, T), r.ParameterValidator.expectObject(c, () => o.ParameterInfo.createConstructorParameter(l, "creationCriteria")), Object.defineProperties(this, { _creationCriteria: { value: c, enumerable: false } }); } - get displayTypeName() { - return "ArchLanguage"; + get className() { + return l; } - getTtsEnginesForFlowType(e3) { - return this._ensureSessionIsConnected(this._infoMethod("getTtsEnginesForFlowType"), s.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getTtsEnginesForFlowType"), e3, a.default.FLOW_TYPES_ALL), (0, u.isFeatureAvailable)(l.default.flexibleTtsSelection) ? o.default.getSelectableEnginesForLanguageAndFlowTypeOrTypes(this.tag, e3).map((e4) => this.coreFactory.createArchWrapper(e4)) : o.default.getEnginesForLanguageAndFlowTypeOrTypes(this.tag, e3).map((e4) => this.coreFactory.createArchWrapper(e4)); + get creationCriteria() { + return this._creationCriteria; } - getDefaultTtsEngine() { - this._ensureSessionIsConnected(this._infoMethod("getDefaultEngineForLanguage"), s.default); - const e3 = o.default.getDefaultEngineForLanguage(this._getCoreViewModel().id); - if (e3) return this.coreFactory.createArchWrapper(e3); + get isBaseBuilderPartContainerDef() { + return true; } - getDefaultTtsEngineVoice() { - this._ensureSessionIsConnected(this._infoMethod("getDefaultEngineVoiceForLanguage"), s.default); - const e3 = this.getDefaultTtsEngine(); - return e3 ? e3.getDefaultVoiceForLanguage(this) : void 0; + get isContainerPart() { + return true; } - get hasFlowCreationTTS() { - return true === this._getCoreViewModel().hasFlowCreationTTS; + createBuilderPartViewModel(e3, t3, i3) { + throw "You must override the createBuilderPartViewModel method in inheriting classes"; } - get isArchLanguage() { - return true; + reviveItem(e3, t3, i3, n3) { + throw "You must override the reviveItem method in inheriting classes"; } - isRuntimeDataPlaybackSupported(e3) { - return true === this._getCoreViewModel().getSupportsAudioDataPlaybackForFlowType(e3); + get modelType() { + return a.default; } - isSpeechRecSupported(e3) { - return true === this._getCoreViewModel().getSupportsSpeechRecForFlowType(e3); + get supportsLanguageTag() { + return false; } - isTextToSpeechSupported(e3) { - return true === this._getCoreViewModel().getSupportsTTSPlaybackForFlowType(e3); + get supportsOutputMode() { + return false; } - get label() { - return this._getCoreViewModel().text; + } + t2.default = u; + }, 76117(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(54882)), r = n2.__importDefault(i2(64584)), a = n2.__importDefault(i2(43693)); + class s extends o.default { + constructor(e3, t3, i3, n3, o2) { + super(e3, t3, i3, n3, o2), Object.defineProperties(this, { _builderPartsManager: { value: new a.default({ builderViewModel: e3, containerPartViewModel: this, owningExpression: t3, parentModel: i3, isManagingPartContainers: false }), enumerable: false }, _criteria: { value: i3 && i3.criteria ? r.default.createFromJsonObject(i3.criteria) : r.default.NO_CRITERIA, writable: false, enumerable: true } }), i3.criteria = this._criteria.json; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrLabel(e3, this.label), this._appendLogStrTag(e3, this.tag), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + get isContainerPart() { + return true; } - get supportsCase() { - return this.supportsCaseArticle || this.supportsCaseAccusative || this.supportsCaseDative || this.supportsCaseGenitive || this.supportsCaseNominative; + get hasMaxNumOfBuilderPartsConfigured() { + return this.builderPartsManager.hasMaxNumOfBuilderPartsConfigured; } - get supportsCaseArticle() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseArticle; + get containerDisplayString() { + throw `classes inheriting from ${this.className} should override the containerDisplayString property.`; } - get supportsCaseAccusative() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseAccusative; + get isBaseBuilderPartContainerViewModel() { + return true; } - get supportsCaseDative() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseDative; + _addClipboardDependencies(e3) { + super._addClipboardDependencies(e3), this._builderPartsManager.addClipboardDependencies(e3); } - get supportsCaseGenitive() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseGenitive; + _initializeDesignTime() { + super._initializeDesignTime(), this._builderPartsManager.initializeDesignTime(); } - get supportsCaseNominative() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseNomninative; + getInternalExpressions() { + return this._builderPartsManager.getInternalExpressions(); } - get supportsGender() { - return this.supportsGenderFeminine || this.supportsGenderNeuter || this.supportsGenderMasculine || this.supportsGenderCommon; + _processOutOfService(e3) { + super._processOutOfService(e3), this._builderPartsManager.setPartsOutOfServiceValue(e3); } - get supportsGenderCommon() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderCommon; + _replaceUsages(e3, t3, i3) { + super._replaceUsages(e3, t3, i3), this._builderPartsManager.replaceUsages(e3, t3, i3); } - get supportsGenderFeminine() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderFeminine; + get className() { + return "BaseBuilderPartContainerViewModel"; } - get supportsGenderMasculine() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderMasculine; + get criteria() { + return this._criteria; } - get supportsGenderNeuter() { - return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderNeuter; + get criteriaLanguageTag() { + var e3; + return null === (e3 = this.criteria) || void 0 === e3 ? void 0 : e3.languageTag; } - get tag() { - return this._getCoreViewModel().id; + get criteriaOutputMode() { + var e3; + return null === (e3 = this.criteria) || void 0 === e3 ? void 0 : e3.outputMode; } - get ttsEngines() { - const e3 = this._infoPropGet("ttsEngines"); - return this._ensureTtsInfoAvailable(e3, s.default), (0, u.isFeatureAvailable)(l.default.flexibleTtsSelection) ? r2.default.map(o.default.getSelectableEnginesForLanguage(this.tag), (e4) => this.coreFactory.createArchWrapper(e4)) : r2.default.map(o.default.getEnginesForLanguage(this.tag), (e4) => this.coreFactory.createArchWrapper(e4)); + _getCriteriaGeneration() { + return this._criteria.getGeneration(this); } - } - t2.default = p; - }, 31635: (e2, t2, i2) => { - "use strict"; - 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; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }; - function r2(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + get sortValue() { + return this.criteria.sortValue; } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - } - var o = function() { - return o = Object.assign || function(e3) { - for (var t3, i3 = 1, n3 = arguments.length; i3 < n3; i3++) for (var r3 in t3 = arguments[i3]) Object.prototype.hasOwnProperty.call(t3, r3) && (e3[r3] = t3[r3]); - return e3; - }, o.apply(this, arguments); - }; - function a(e3, t3) { - var i3 = {}; - for (var n3 in e3) Object.prototype.hasOwnProperty.call(e3, n3) && t3.indexOf(n3) < 0 && (i3[n3] = e3[n3]); - if (null != e3 && "function" == typeof Object.getOwnPropertySymbols) { - var r3 = 0; - for (n3 = Object.getOwnPropertySymbols(e3); r3 < n3.length; r3++) t3.indexOf(n3[r3]) < 0 && Object.prototype.propertyIsEnumerable.call(e3, n3[r3]) && (i3[n3[r3]] = e3[n3[r3]]); + _preValidateConfigureResultsOrganizer(e3) { + super._preValidateConfigureResultsOrganizer(e3), e3.setContextBuilderPartContainer(this); } - return i3; - } - function s(e3, t3, i3, n3) { - var r3, o2 = arguments.length, a2 = o2 < 3 ? t3 : null === n3 ? n3 = Object.getOwnPropertyDescriptor(t3, i3) : n3; - if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a2 = Reflect.decorate(e3, t3, i3, n3); - else for (var s2 = e3.length - 1; s2 >= 0; s2--) (r3 = e3[s2]) && (a2 = (o2 < 3 ? r3(a2) : o2 > 3 ? r3(t3, i3, a2) : r3(t3, i3)) || a2); - return o2 > 3 && a2 && Object.defineProperty(t3, i3, a2), a2; - } - function l(e3, t3) { - return function(i3, n3) { - t3(i3, n3, e3); - }; - } - function u(e3, t3, i3, n3, r3, o2) { - function a2(e4) { - if (void 0 !== e4 && "function" != typeof e4) throw new TypeError("Function expected"); - return e4; + _postValidateClearResultsOrganizer(e3) { + super._postValidateClearResultsOrganizer(e3), e3.clearContextBuilderPartContainer(); } - 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]; - h2.addInitializer = function(e4) { - 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: 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)) && (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); + _buildExpressionGeneration() { + const e3 = this._getCriteriaGeneration(), t3 = this.builderPartsManager.getIndividualPartGenerations(); + let i3; + return 1 !== t3.length || this.builderPartDef.generators.wantContainerPartsGeneratorForSingleton ? (i3 = this.builderPartDef.generators.containerPartsGenerator.createGeneration(), t3.forEach((e4) => { + i3.addGenerationToBucket(e4); + })) : i3 = t3[0], e3.addGenerationToBucket(i3, "true"), e3; } - c2 && Object.defineProperty(c2, n3.name, d2), p2 = true; - } - 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 d(e3) { - return "symbol" == typeof e3 ? e3 : "".concat(e3); - } - function p(e3, t3, i3) { - return "symbol" == typeof t3 && (t3 = t3.description ? "[".concat(t3.description, "]") : ""), Object.defineProperty(e3, "name", { configurable: true, value: i3 ? "".concat(i3, " ", t3) : t3 }); - } - function _(e3, t3) { - if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e3, t3); - } - function h(e3, t3, i3, n3) { - return new (i3 || (i3 = Promise))(function(r3, o2) { - function a2(e4) { - try { - l2(n3.next(e4)); - } catch (e5) { - o2(e5); - } - } - function s2(e4) { - try { - l2(n3.throw(e4)); - } catch (e5) { - o2(e5); - } - } - function l2(e4) { - var t4; - e4.done ? r3(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) { - e5(t4); - })).then(a2, s2); - } - l2((n3 = n3.apply(e3, t3 || [])).next()); - }); - } - function m(e3, t3) { - var i3, n3, r3, o2, a2 = { label: 0, sent: function() { - if (1 & r3[0]) throw r3[1]; - return r3[1]; - }, trys: [], ops: [] }; - return o2 = { next: s2(0), throw: s2(1), return: s2(2) }, "function" == typeof Symbol && (o2[Symbol.iterator] = function() { - return this; - }), o2; - function s2(s3) { - return function(l2) { - return (function(s4) { - if (i3) throw new TypeError("Generator is already executing."); - for (; o2 && (o2 = 0, s4[0] && (a2 = 0)), a2; ) try { - if (i3 = 1, n3 && (r3 = 2 & s4[0] ? n3.return : s4[0] ? n3.throw || ((r3 = n3.return) && r3.call(n3), 0) : n3.next) && !(r3 = r3.call(n3, s4[1])).done) return r3; - switch (n3 = 0, r3 && (s4 = [2 & s4[0], r3.value]), s4[0]) { - case 0: - case 1: - r3 = s4; - break; - case 4: - return a2.label++, { value: s4[1], done: false }; - case 5: - a2.label++, n3 = s4[1], s4 = [0]; - continue; - case 7: - s4 = a2.ops.pop(), a2.trys.pop(); - continue; - default: - if (!((r3 = (r3 = a2.trys).length > 0 && r3[r3.length - 1]) || 6 !== s4[0] && 2 !== s4[0])) { - a2 = 0; - continue; - } - if (3 === s4[0] && (!r3 || s4[1] > r3[0] && s4[1] < r3[3])) { - a2.label = s4[1]; - break; - } - if (6 === s4[0] && a2.label < r3[1]) { - a2.label = r3[1], r3 = s4; - break; - } - if (r3 && a2.label < r3[2]) { - a2.label = r3[2], a2.ops.push(s4); - break; - } - r3[2] && a2.ops.pop(), a2.trys.pop(); - continue; - } - s4 = t3.call(e3, a2); - } catch (e4) { - s4 = [6, e4], n3 = 0; - } finally { - i3 = r3 = 0; - } - if (5 & s4[0]) throw s4[1]; - return { value: s4[0] ? s4[1] : void 0, done: true }; - })([s3, l2]); - }; + _validateContainerOnly(e3, t3) { + return true; } - } - var g = Object.create ? function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3); - var r3 = Object.getOwnPropertyDescriptor(t3, i3); - r3 && !("get" in r3 ? !t3.__esModule : r3.writable || r3.configurable) || (r3 = { enumerable: true, get: function() { - return t3[i3]; - } }), Object.defineProperty(e3, n3, r3); - } : function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; - }; - function f(e3, t3) { - for (var i3 in e3) "default" === i3 || Object.prototype.hasOwnProperty.call(t3, i3) || g(t3, e3, i3); - } - function T(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); - } - function y(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { + _validatePart(e3, t3) { + let i3 = super._validatePart(e3, t3); try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); + e3.setContextIsContainerRelated(), this._validateContainerOnly(e3, t3) || (i3 = false); } finally { - if (r3) throw r3.error; + e3.clearContextIsContainerRelated(); } + return this._builderPartsManager.validateBuilderObject(e3, t3) || (i3 = false), i3; } - return a2; - } - function S() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3 = e3.concat(y(arguments[t3])); - return e3; - } - function A() { - for (var e3 = 0, t3 = 0, i3 = arguments.length; t3 < i3; t3++) e3 += arguments[t3].length; - var n3 = Array(e3), r3 = 0; - for (t3 = 0; t3 < i3; t3++) for (var o2 = arguments[t3], a2 = 0, s2 = o2.length; a2 < s2; a2++, r3++) n3[r3] = o2[a2]; - return n3; - } - function N(e3, t3, i3) { - 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 v(e3) { - return this instanceof v ? (this.v = e3, this) : new v(e3); - } - 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() { - return this; - }, n3; - function a2(e4) { - r3[e4] && (n3[e4] = function(t4) { - return new Promise(function(i4, n4) { - o2.push([e4, t4, i4, n4]) > 1 || s2(e4, t4); - }); - }); - } - function s2(e4, t4) { - try { - (i4 = r3[e4](t4)).value instanceof v ? Promise.resolve(i4.value.v).then(l2, u2) : c2(o2[0][2], i4); - } catch (e5) { - c2(o2[0][3], e5); - } - var i4; + get builderParts() { + return this._builderPartsManager.parts; } - function l2(e4) { - s2("next", e4); + get builderPartsManager() { + return this._builderPartsManager; } - function u2(e4) { - s2("throw", e4); + _destroy() { + this.builderPartsManager.destroy(), this.criteria.destroy(), super._destroy(); } - function c2(e4, t4) { - e4(t4), o2.shift(), o2.length && s2(o2[0][0], o2[0][1]); + get partAndPartsOutOfService() { + return this.outOfService; } - } - function I(e3) { - var t3, i3; - return t3 = {}, n3("next"), n3("throw", function(e4) { - throw e4; - }), n3("return"), t3[Symbol.iterator] = function() { - return this; - }, t3; - function n3(n4, r3) { - t3[n4] = e3[n4] ? function(t4) { - return (i3 = !i3) ? { value: v(e3[n4](t4)), done: false } : r3 ? r3(t4) : t4; - } : r3; + set partAndPartsOutOfService(e3) { + this.outOfService = e3; } - } - function C(e3) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var t3, i3 = e3[Symbol.asyncIterator]; - return i3 ? i3.call(e3) : (e3 = T(e3), t3 = {}, n3("next"), n3("throw"), n3("return"), t3[Symbol.asyncIterator] = function() { - return this; - }, t3); - function n3(i4) { - t3[i4] = e3[i4] && function(t4) { - return new Promise(function(n4, r3) { - !(function(e4, t5, i5, n5) { - Promise.resolve(n5).then(function(t6) { - e4({ value: t6, done: i5 }); - }, t5); - })(n4, r3, (t4 = e3[i4](t4)).done, t4.value); - }); - }; + getExpressionDetails(e3) { + if (!this.isDestroyed) return this.builderPartsManager.getExpressionDetails(e3); + console.error("Unable to return expression details on destroyed builder part container."); } - } - function b(e3, t3) { - return Object.defineProperty ? Object.defineProperty(e3, "raw", { value: t3 }) : e3.raw = t3, e3; - } - var E = Object.create ? function(e3, t3) { - Object.defineProperty(e3, "default", { enumerable: true, value: t3 }); - } : function(e3, t3) { - e3.default = t3; - }; - 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 R(e3) { - return e3 && e3.__esModule ? e3 : { default: e3 }; - } - function D(e3, t3, i3, n3) { - if ("a" === i3 && !n3) throw new TypeError("Private accessor was defined without a getter"); - if ("function" == typeof t3 ? e3 !== t3 || !n3 : !t3.has(e3)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return "m" === i3 ? n3 : "a" === i3 ? n3.call(e3) : n3 ? n3.value : t3.get(e3); - } - function P(e3, t3, i3, n3, r3) { - if ("m" === n3) throw new TypeError("Private method is not writable"); - if ("a" === n3 && !r3) throw new TypeError("Private accessor was defined without a setter"); - if ("function" == typeof t3 ? e3 !== t3 || !r3 : !t3.has(e3)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return "a" === n3 ? r3.call(e3, i3) : r3 ? r3.value = i3 : t3.set(e3, i3), i3; - } - function M(e3, t3) { - if (null === t3 || "object" != typeof t3 && "function" != typeof t3) throw new TypeError("Cannot use 'in' operator on non-object"); - return "function" == typeof e3 ? t3 === e3 : e3.has(t3); - } - function F(e3, t3, i3) { - if (null != t3) { - if ("object" != typeof t3 && "function" != typeof t3) throw new TypeError("Object expected."); - var n3; - if (i3) { - if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); - n3 = t3[Symbol.asyncDispose]; - } - if (void 0 === n3) { - if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); - n3 = t3[Symbol.dispose]; - } - if ("function" != typeof n3) throw new TypeError("Object not disposable."); - e3.stack.push({ value: t3, dispose: n3, async: i3 }); - } else i3 && e3.stack.push({ async: true }); - return t3; - } - var L = "function" == typeof SuppressedError ? SuppressedError : function(e3, t3, i3) { - var n3 = new Error(i3); - return n3.name = "SuppressedError", n3.error = e3, n3.suppressed = t3, n3; - }; - function x(e3) { - function t3(t4) { - e3.error = e3.hasError ? new L(t4, e3.error, "An error was suppressed during disposal.") : t4, e3.hasError = true; + getExpressionDetailParts(e3) { + return this.builderPartsManager.getExpressionDetailParts(e3); } - return (function i3() { - for (; e3.stack.length; ) { - var n3 = e3.stack.pop(); - try { - var r3 = n3.dispose && n3.dispose.call(n3.value); - if (n3.async) return Promise.resolve(r3).then(i3, function(e4) { - return t3(e4), i3(); - }); - } catch (e4) { - t3(e4); - } - } - 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: 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) => { + t2.default = s; + }, 88835(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), 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: p.createYamlOptions("botFlow", (e3) => e3.setExportOrder(6).setPropertyName("digitalBotFlow")) }]; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(62121)), a = n2.__importDefault(i2(16945)); + class s extends a.default { + constructor(e3, t3, i3, n3, r2, 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: o.default.isObject(r2) ? r2 : {} }, _partConfigurators: { value: o.default.isObject(a2) ? a2 : {} } }), this.displayStringOverride = g; } - get targetFlowType() { - return this.botFlow; + get generators() { + return this._generators; } - } - 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), 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() { - Object.defineProperties(this, { _displayErrorString: { writable: true }, _domain: { writable: true }, _object: { writable: true }, _action: { writable: true, value: {} }, _originalShiroString: { writable: true } }); + get partConfigurators() { + return this._partConfigurators; } - static get className() { - return "PermissionShiro"; + getExpressionGenerator(e3) { + if (this._generators.getExpressionGenerator && o.default.isFunction(this._generators.getExpressionGenerator)) { + const t3 = this._generators.getExpressionGenerator(e3, this.generators); + if (t3) return t3; + } + return this._generators.expressionGenerator; } - get isPermissionShiro() { + get className() { + return "BaseBuilderPartDef"; + } + get isBaseBuilderPartDef() { return true; } - _fromShiroString(e3) { - const t3 = e3.split(":"); - if (0 !== t3.length) { - switch (t3.length) { - case 1: - this._domain = new c.PermissionShiroValue(t3[0]), this._object = new c.PermissionShiroValue("*"), this._action = new c.PermissionShiroValue("*"); - break; - case 2: - 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 c.PermissionShiroValue(t3[0]), this._object = new c.PermissionShiroValue(t3[1]), this._action = new c.PermissionShiroValue(t3[2]); - break; - default: - d.error((0, r2.sprintf)("Invalid permission string - %s", e3)); - } - this._originalShiroString = e3; - } + createBuilderPartViewModel(e3, t3, i3) { + throw "You must override the createBuilderPartViewModel method in inheriting classes"; } - get action() { - return this._action; + reviveItem(e3, t3, i3, n3) { + throw "You must override the reviveItem method in inheriting classes"; } - get domain() { - return this._domain; + get modelType() { + return r.default; } - get object() { - return this._object; + } + t2.default = s; + }, 54882(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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, o2) { + 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(o2, () => c.ParameterInfo.createConstructorParameter(this.className, "reId")), o2 && 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 } }); } - get displayErrorString() { - return this._displayErrorString; + _fireBuilderPartExpressionTextChanged() { + this.parentFlow.loaded && _.fireEvent(this, p.builderPartExpressionTextChanged); } - toString() { - return this._cachedToString || (this._cachedToString = (0, r2.sprintf)("%s:%s:%s", this.domain.value, this.object.value, this.action.value)), this._cachedToString; + _loadModel(e3, t3) { } - static isAllowedArchitectPermission(e3) { - if (p[e3]) return true; - const t3 = e3.split(":"); - if (0 === t3.length) return false; - switch (t3.length) { - case 1: - return o.default.isEqual(t3[0], "architect") || o.default.isEqual(t3[0], "authorization") || o.default.isEqual(t3[0], "*"); - case 2: - 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: - d.error((0, r2.sprintf)("Invalid permission string - %s", e3)); - } + configureWithLanguageContext(e3, t3) { + var i3; + const n3 = null === (i3 = this.builderPartDef.partConfigurators) || void 0 === i3 ? void 0 : i3.configureWithLanguageContext; + r.default.isFunction(n3) && n3(this, e3, t3); } - static createOnDivision(e3, t3, i3) { - i3 || (t3.divisions[a.starDivision] || (t3.divisions[a.starDivision] = s.DivisionViewModel.create(a.starDivision, "Star Division")), i3 = t3.divisions[a.starDivision]), this.isAllowedArchitectPermission(e3) && i3.addPermission(_.create(e3)); + configureWithLanguageContexts(e3, t3) { + var i3; + const n3 = null === (i3 = this.builderPartDef.partConfigurators) || void 0 === i3 ? void 0 : i3.configureWithLanguageContexts; + r.default.isFunction(n3) && n3(this, e3, t3); } - static createOnUser(e3, t3) { - const i3 = e3.split(":"); - e3.contains(",") || 4 === i3.length ? 3 === i3.length ? o.default.each(i3[2].split(","), (e4) => _.createOnDivision(`${i3[0]}:${i3[1]}:${e4}`, t3)) : 4 === i3.length && o.default.each(i3[2].split(","), (e4) => { - o.default.each(i3[3].split(","), (n3) => { - "00000000-0000-0000-0000-000000000000" !== n3 && (t3.divisions[n3] || (t3.divisions[n3] = s.DivisionViewModel.create(n3, void 0)), _.createOnDivision(`${i3[0]}:${i3[1]}:${e4}`, t3, t3.divisions[n3])); - }); - }) : _.createOnDivision(e3, t3); + get hasError() { + return !this.outOfService && super.hasError; } - static create(e3, t3) { - const i3 = new _(); - return i3._fromShiroString(e3), i3._displayErrorString = t3, i3; + get hasWarning() { + return !this.outOfService && super.hasWarning; } - hasPermission(e3) { - return e3 && e3.isPermissionShiro && this.domain.isMatch(e3.domain) && this.object.isMatch(e3.object) && this.action.isMatch(e3.action); + get hasInfo() { + return !this.outOfService && super.hasInfo; } - } - t2.PermissionShiro = _; - }, 31758: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = { archEnums: i2(31635).__importDefault(i2(78432)).default }; - t2.default = n2; - }, 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)), c = n2.__importStar(i2(14187)), d = i2(92140); - class p extends r2.default { - static get definition() { - const e3 = this.prototype; - return e3._globalTypeName ? (e3._ensureSessionIsConnected(e3._infoPropGet("definition"), o.default), e3.coreFactory.createArchDefinitionVariable(s.globalTypes[e3._globalTypeName])) : null; + get isContainerPart() { + return false; } - constructor(e3) { - super(e3), this._coreVariableViewModel = e3; + get needsDeletion() { + let e3 = false; + try { + e3 = this._needsDeletion; + } catch (e4) { + } + return e3; } - get _globalTypeName() { - console.log(`INTERNAL ERROR - _globalTypeName not implemented for '${this.displayTypeName}'`); + get _needsDeletion() { + return false; } - get displayTypeName() { - return "ArchBaseVariable"; + _validateBuilderObject(e3, t3) { + if (this.outOfService) return true; + let i3 = super._validateBuilderObject(e3, t3); + try { + this._preValidateConfigureResultsOrganizer(e3), i3 = this._validatePart(e3, t3); + } catch (t4) { + i3 = false, e3.addError(this, h.builders.errorValidatingBuilderPart); + } finally { + this._postValidateClearResultsOrganizer(e3); + } + return i3; } - get definition() { - return this._globalTypeName ? this.coreFactory.createArchDefinitionVariable(s.globalTypes[this._globalTypeName]) : null; + _preValidateConfigureResultsOrganizer(e3) { } - get hasUsages() { - return this._coreVariableViewModel.hasUsagesForFlow(this._coreVariableViewModel.parentFlow); + _postValidateClearResultsOrganizer(e3) { } - get _initialValue() { - if (this._coreVariableViewModel.initValue) return this.coreFactory.createArchValueFromExpression(this._coreVariableViewModel.initValue); + _validatePart(e3, t3) { + var i3; + e3.setContextIsBuilderPartDefRelated(); + let n3 = true; + try { + (null === (i3 = this.owningExpression.options) || void 0 === i3 ? void 0 : i3.additionalBuilderPartDefs.some((e4) => e4.id === this.builderPartDefId)) && (this._meetsFeatureRequirementsCheck = true, this._isAvailableForFlowTypeCheck = true), void 0 === this._meetsFeatureRequirementsCheck && (this._meetsFeatureRequirementsCheck = this.builderPartDef.meetsFeatureRequirements), true !== this._meetsFeatureRequirementsCheck ? (e3.addError(this, (0, o.sprintf)(h.expression.builderPartOrContainerUnavailableFeatureRequirements, this.builderPartDef.name)), n3 = false) : (void 0 === this._isAvailableForFlowTypeCheck && (this._isAvailableForFlowTypeCheck = this.builderPartDef.isAvailableForFlow(this.parentFlow)), true !== this._isAvailableForFlowTypeCheck && (e3.addError(this, (0, o.sprintf)(h.expression.builderPartOrContainerUnavailableForFlowType, this.builderPartDef.name, this.parentFlow.info.flowTypeName)), n3 = false)); + } finally { + e3.clearContextIsBuilderPartDefRelated(); + } + return n3; } - get canDelete() { - return this._coreVariableViewModel.canDelete(this._coreVariableViewModel.parentFlow) && !this.cannotDeleteReason; + createGenerationResult(e3, t3) { + return e3.createGeneration().setReplacementTokens(t3); } - get cannotDeleteReason() { - return this._coreVariableViewModel.getDeletionTooltip(true); + createSingleStringGenerationResult(e3) { + return this.createGenerationResult(s.default.singleTokenReplacementGenerator, e3); } - get dataType() { - return this.coreFactory.createArchWrapper(this._coreVariableViewModel.type); + get outOfService() { + return !!this.builderPartModel && !!this.builderPartModel.outOfService; } - get description() { - return this._coreVariableViewModel.description; + set outOfService(e3) { + !!e3 !== this.builderPartModel.outOfService && (this.builderPartModel.outOfService = !!e3, this._processOutOfService(!!e3), this._fireBuilderPartExpressionTextChanged()); } - set description(e3) { - const t3 = this._infoParm("value", "description"); - this._checkItemIsValidLiteralString(t3, e3, true), this._coreVariableViewModel.description = d.isNullOrUndefined(e3) || "" === e3 ? void 0 : e3; + get overrideErrorText() { + return this._overrideErrorText; } - get isArchBaseVariable() { - return true; + get _overrideErrorText() { } - get isInput() { - return this._coreVariableViewModel.isInput; + _processOutOfService(e3) { } - set isInput(e3) { - const t3 = this._infoPropSet("newValue", "isInput"); - this._checkItemIsValidLiteralBool(t3, e3); - const i3 = {}; - e3 && this.isSecure && (l.variablePropertySupportedSetService.getIsSecureInputOk(i3, e3, this.isSecure) || this._itemIsInvalid(t3, i3.displayString)), this._coreVariableViewModel.isInput = e3, this._checkItem(t3, this.isInput !== e3, "The isInput setting of '" + e3 + "' could not be set on the variable."), this.logNote("isInput now set to " + e3), this._coreVariableViewModel.fireVariableChanged(); + get builderPartDefId() { + var e3; + return null === (e3 = this.builderPartModel) || void 0 === e3 ? void 0 : e3.builderPartDefId; } - get isOutput() { - return this._coreVariableViewModel.isOutput; + get builderPartDef() { + return this._builderPartDef || (this._builderPartDef = this.isContainerPart ? l.default.getBuilderPartContainerDefById(this.builderPartDefId) : l.default.getBuilderPartDefById(this.builderPartDefId)), this._builderPartDef; } - set isOutput(e3) { - const t3 = this._infoPropSet("newValue", "isOutput"); - this._checkItemIsValidLiteralBool(t3, e3); - const i3 = {}; - if (!this._coreVariableViewModel.getIsOutputCanSet(i3)) { - if (false === e3) return; - this._itemIsInvalid(t3, i3.displayString); + buildExpressionGeneration() { + if (this.outOfService) return ""; + if (!this._amBuildingExpressionGeneration) { + this._amBuildingExpressionGeneration = true; + try { + return this._buildExpressionGeneration(); + } finally { + this._amBuildingExpressionGeneration = false; + } } - e3 && this.isSecure && (l.variablePropertySupportedSetService.getIsSecureOutputOk(i3, e3, this.isSecure) || this._itemIsInvalid(t3, i3.displayString)), this._coreVariableViewModel.isOutput = e3, this._checkItem(t3, this.isOutput !== e3, "The isOutput setting of '" + e3 + "' could not be set on the variable."), this.logNote("isOutput now set to " + e3), this._coreVariableViewModel.fireVariableChanged(); } - get isReadOnly() { - return this._coreVariableViewModel.isReadOnly; + _buildExpressionGeneration() { + throw "You must override the _buildExpressionGeneration method in inheriting classes"; } - get isSecure() { - return this._coreVariableViewModel.isSecure; + get cannotBeDeleted() { + return this._cannotBeDeleted; } - set isSecure(e3) { - const t3 = this._infoPropSet("newValue", "isSecure"); - this._checkItemIsValidLiteralBool(t3, e3); - const i3 = {}; - this._coreVariableViewModel.getIsSecureCanSet(i3) || this._itemIsInvalid(t3, i3.displayString), e3 && (l.variablePropertySupportedSetService.getIsSecureInputOk(i3, this.isInput, e3) || this._itemIsInvalid(t3, i3.displayString), l.variablePropertySupportedSetService.getIsSecureOutputOk(i3, this.isOutput, e3) || this._itemIsInvalid(t3, i3.displayString)), this._coreVariableViewModel.isSecure = e3, this._checkItem(t3, this.isSecure !== e3, "The secure setting of '" + e3 + "' could not be set on the variable. Remember that flow input or output variables cannot be set to secure."), this.logNote("isSecure now set to " + e3), this._coreVariableViewModel.fireVariableChanged(); + set cannotBeDeleted(e3) { + this._cannotBeDeleted = d.ParameterValidator.expectBool(e3, () => c.ParameterInfo.createPropertySet(this.className, "cannotBeDeleted", "value")); } - get isFlowVariable() { - return !!this._coreVariableViewModel.isFlowScopedVariable; + get definitionId() { + return this.builderPartDefId; } - get isStateVariable() { - return this._coreVariableViewModel.isStateVariable; + setCannotBeDeleted(e3) { + return this.cannotBeDeleted = e3, this; } - get isSystemVariable() { - return this._coreVariableViewModel.isSystemVariable; + get className() { + return "BaseBuilderPartViewModel"; } - get isFlowManagedVariable() { - return this._coreVariableViewModel.isFlowManagedVariable; + createBuilderPartViewModel(e3, t3) { + throw "You must override the createBuilderPartViewModel method in inheriting classes"; } - get isTaskVariable() { - return this._coreVariableViewModel.isTaskVariable; + _destroy() { + _.unregisterAndRemoveObject(this), this._amBuildingExpressionGeneration = void 0, this._builderPartDef = void 0, this._builderPartModel = void 0, this._cannotBeDeleted = void 0, super._destroy(); } - get isUnavailable() { - return this._coreVariableViewModel.isUnavailable; + get isBaseBuilderPartViewModel() { + return true; } - get logStr() { - if (!this._coreVariableViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrName(e3, this.name), this._createLogStrFromParts(e3); + get id() { + return this._builderPartModel.id; } - get name() { - return this._coreVariableViewModel.name; + get viewId() { + return this._builderPartDef.viewId; } - set name(e3) { - if (!e3) throw "you cannot have a blank name set on a variable"; - this.rename(e3); + get builderPartModel() { + return this._builderPartModel; } - 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 = 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.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 descriptionInfo() { + return this.builderPartDef.descriptionInfo; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreVariableViewModel.parentFlow); + getFullDescription() { + return this.descriptionInfo; } - get scope() { - return this._coreVariableViewModel.scope; + get sortValue() { + return "0"; } - get canAssignInitialValue() { - return !!this._coreVariableViewModel.getInitialValueSupported(); + } + t2.default = m; + }, 63145(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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: {} } }); } - get type() { - return this._coreVariableViewModel.type; + initialize() { + 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: o.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: o.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: o.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: r.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: o.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 o2 = i3[i3.length - 1]; + o2 && (o2.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: o.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: o.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: o.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: o.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: o.flowTypes.flowTypesAllCicero, categoryIdentifierOrIdentifiers: null, builderPartDefCategoryIdentifierOrIdentifiers: null, icon: null, helpTopic: null })); } - get settings() { - return this.coreFactory.createArchVariableSettings(this); + get className() { + return "BuilderDefsBootstrap"; + } + get isBuilderDefsBootstrap() { + return true; + } + static get genericStringAndLabelStringBuilderDefGenerators() { + return { containerPartsGenerator: h.default.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(Append())").setAboutToAddGenerationCallback((e3, t3, i3, n3) => { + if (!n3 || "append" !== t3 || 0 === i3.length) return; + const o2 = i3[i3.length - 1]; + o2 && (o2.willGenerateNotSetOrStringLiteral ? e3.addGenerationToBucket(m.default.singleSpaceStringLiteralGenerator.createGeneration()) : e3.addGenerationToBucket(m.default.lastGenNotSetOrEmptySpaceSepGenerator.createGeneration())); + }), noOrDisabledPartsGenerator: m.default.emptyStringLiteralGenerator }; } } - t2.default = p; - }, 31938: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.offset = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "TimeZone"), Object.defineProperties(n2.prototype, {}), e2.exports = n2; - }, 31983: function(e2, t2, i2) { + const N = new A(); + t2.default = N; + }, 95803(e2, t2, i2) { "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + 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) => { + let i3; + try { + if (e3 && e3.builderPartExpressions && e3.builderPartExpressions.length > 1) { + const n3 = e3.builderViewModel.builderDef.id === C.builderIds.parts.genericCommunication ? "GenericBuilder" : ""; + switch (e3.builderPartExpressions[1].text) { + case "auto": + i3 = t3[`promptGenerator${n3}`]; + break; + case "tts": + i3 = t3[`promptTtsGenerator${n3}`]; + break; + case "text": + i3 = t3[`promptTextGenerator${n3}`]; + } + } + } catch (e4) { + } + return i3 || t3.promptGenerator; + } }, requiredFeatureConfig: p.default.botFlowsPromptFeature, viewId: w.selectAndAddPrompt, id: O.builderPartIds.communication.prompt, icon: c.default.communication, name: M.builderParts.communication.prompt.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: o.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) => { + 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 === C.builderIds.parts.genericCommunication && (i3 = t3.rawExpressionGenerator); + } catch (e4) { + } + return i3; + } }, viewId: b.defaultWithNoLabel, id: O.builderPartIds.communication.text, icon: c.default.string, name: M.builderParts.communication.text.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeVoice, o.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) => { + 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 = v.resolvePartsParametersAndGetText(e3, t3, i3, true); + if (!n3.length) return; + const o2 = n3.join(" "); + e3.setMarkdownTextImmediate(o2); + } }, viewId: E.markdown, id: O.builderPartIds.communication.markdown, icon: c.default.modifyIntents, name: M.builderParts.communication.markdown.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: o.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) => { + const i3 = e3.getVariableFormattingMetadataForExpression(t3); + if (!(null == i3 ? void 0 : i3.overloadId)) return; + const n3 = _.expressionDataService.expressionFuncOpsByOverloadId[i3.overloadId]; + if (!n3) return void P.error(`could not find FuncOp: ${i3.overloadId}`); + if (n3.isUnavailable) return void P.error(`FuncOp: ${i3.overloadId} is not available to use`); + let o2, r2, s2, l2; + if (null == t3 ? void 0 : t3.isVariableMode) { + const i4 = t3.variables[Object.keys(t3.variables)[0]]; + r2 = _.expressionDataService.expressionFuncOpsByOverloadId[d.default.any_ResolveSlot_any], (null == i4 ? void 0 : i4.isSlotVariable) && (null == r2 ? void 0 : r2.isAvailableForFlowType(e3.parentFlowType)) && (o2 = true); + } + return o2 && r2 ? (s2 = A.default.create().addFuncCall(n3.parent.text).addFuncCall(r2.parent.text).addTokenReplacement(0).addFuncCallEnd(), l2 = `${n3.parent.text}(${r2.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) => { + s2.addFuncParameterSeparator().addText(e5), l2 += `, ${e5}`; + }) : P.error(`could not find operand value for: ${e4.name}`)); + }), s2.addFuncCallEnd(), l2 += ")", s2.verifySprintfStringAndInitialize(l2), s2; + }, getExpressionGenerator: (e3, t3) => { + if (e3.builderPartExpressions && e3.builderPartExpressions[0]) { + const i3 = e3.builderPartExpressions[0].configType; + if (a.default.isObject(i3)) { + const n3 = e3.builderPartExpressions[0]; + return t3.formattingGenerator(e3, n3) || (i3.isSupportedByAny ? N.default.singleTokenReplacementGenerator : e3.parentFlow.definition.isAutomateOrCiceroFlowType ? t3.toDisplayStringGenerator : t3.toStringGenerator); + } + } + return N.default.singleTokenReplacementGenerator; + } }, id: O.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: [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: O.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: O.builderPartIds.communication.container.languageAndOutputMode, name: M.builderParts.container.languageAndOutputMode.name, restrictToFlowTypeOrTypes: o.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: O.builderPartIds.communication.container.outputMode, name: M.builderParts.container.outputMode.name, restrictToFlowTypeOrTypes: o.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: O.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: 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: O.builderPartIds.communication.imageUrl, icon: c.default.image, name: M.builderParts.communication.imageUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: o.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: O.builderPartIds.communication.videoUrl, icon: c.default.video, name: M.builderParts.communication.videoUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: o.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: O.builderPartIds.communication.digitalAudioUrl, icon: c.default.digitalAudio, name: M.builderParts.communication.digitalAudioUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: o.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: O.builderPartIds.communication.fileUrl, icon: c.default.file, name: M.builderParts.communication.fileUrlText.name, resultExpressionType: h.globalTypes.communication, restrictToFlowTypeOrTypes: o.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) => { + 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, r.sprintf)(F.blankAudio.msContext, "100") }, { id: 250, displayString: (0, r.sprintf)(F.blankAudio.msContext, "250") }, { id: 500, displayString: (0, r.sprintf)(F.blankAudio.msContext, "500") }, { id: 750, displayString: (0, r.sprintf)(F.blankAudio.msContext, "750") }, { id: 1e3, displayString: F.blankAudio.oneSecond }, { id: 2e3, displayString: (0, r.sprintf)(F.blankAudio.secondsContext, "2") }, { id: 3e3, displayString: (0, r.sprintf)(F.blankAudio.secondsContext, "3") }, { id: 5e3, displayString: (0, r.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: O.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, r.sprintf)(F.blankAudio.blankAudioLabel, t3 || F.literal.empty), shouldTokenizeDisplayString: true }) })); + }; + const n2 = i2(31635), o = i2(96618), r = 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)), I = i2(73062), C = i2(28562), O = 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); + }, 59426(e2, t2, i2) { + "use strict"; + 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: c.default.create().addFuncCall("MakeImageFromUrl").addTokenReplacement(0).addFuncCallEnd().verifySprintfStringAndInitialize("MakeImageFromUrl(%1$s)") }, id: _.builderPartIds.image.imageUrl, icon: r.default.image, name: g.builderParts.image.imageUrlText.name, resultExpressionType: a.globalTypes.image, restrictToFlowTypeOrTypes: o.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: r.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: r.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: o.flowTypes.flowTypesAllCicero, resultExpressionType: a.globalTypes.image, version: 1, wantBucketOnSingleGeneration: true })); + }; + const n2 = i2(31635), o = i2(96618), r = 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); + }, 56016(e2, t2, i2) { + "use strict"; + t2.create = function() { + 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: r.default.video, name: m.builderParts.video.videoUrlText.name, requiredFeatureConfig: a.default.botFlowsDigitalBotFlowsPhase2, resultExpressionType: s.globalTypes.video, restrictToFlowTypeOrTypes: o.flowTypes.flowTypeDigitalBot, version: 1 })); + }; + const n2 = i2(31635), o = i2(96618), r = 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); + }, 46772(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(41898)); + class o extends n2.default { + constructor(e3, t3, i3, n3, o2) { + super(e3, t3, i3, n3), this._onToolbar = o2; } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.QueueAction = void 0; - var o = (function(e3) { - function t3(t4, i3) { - var n3 = e3.call(this, t4, i3) || this; - return n3.scheduler = t4, n3.work = i3, n3; + get className() { + return "BuilderCategory"; } - return r2(t3, e3), t3.prototype.schedule = function(t4, i3) { - return void 0 === i3 && (i3 = 0), i3 > 0 ? e3.prototype.schedule.call(this, t4, i3) : (this.delay = i3, this.state = t4, this.scheduler.flush(this), this); - }, t3.prototype.execute = function(t4, i3) { - return i3 > 0 || this.closed ? e3.prototype.execute.call(this, t4, i3) : this._execute(t4, i3); - }, t3.prototype.requestAsyncId = function(t4, i3, n3) { - return void 0 === n3 && (n3 = 0), null != n3 && n3 > 0 || null == n3 && this.delay > 0 ? e3.prototype.requestAsyncId.call(this, t4, i3, n3) : (t4.flush(this), 0); - }, t3; - })(i2(64772).AsyncAction); - t2.QueueAction = o; - }, 32018: (e2, t2, i2) => { + get isBuilderCategory() { + return true; + } + get actionsOnToolbar() { + return this._onToolbar; + } + } + t2.default = o; + }, 82619(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importDefault(i2(23581)), r = n2.__importDefault(i2(66959)); + class a extends o.default { + constructor({ id: e3, name: t3, description: i3, version: n3, generators: o2, resultExpressionType: r2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: c, helpTopic: d, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m }) { + super(e3, t3, i3, n3, o2, r2, a2, s, l, u, c, d, p, _, h, m); } - get _globalTypeName() { - return "queue"; + get className() { + return "BooleanBuilderWithBuilderPartsDef"; } - get displayTypeName() { - return "ArchVariableQueue"; + get isBooleanBuilderWithBuilderPartsDef() { + return true; } - get initialValue() { - return this._initialValue; + createBuilder(e3) { + const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); + return t3.setNewInstanceDefaults(), t3; } - get isArchVariableQueue() { - return true; + reviveBuilder(e3, t3, i3) { + return new r.default({ owningExpression: e3, model: t3, reId: !!i3 }); } } - t2.default = r2; - }, 32036: function(e2, t2, i2) { + t2.default = a; + }, 35050(e2, t2, i2) { "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(23581)), r = n2.__importDefault(i2(74998)); + class a extends o.default { + constructor({ id: e3, name: t3, description: i3, version: n3, generators: o2, resultExpressionType: r2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: c, helpTopic: d, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h }) { + super(e3, t3, i3, n3, o2, r2, a2, s, l, u, c, d, p, _, h, { maxBuilderPartCount: 1, minBuilderPartCount: 1 }); } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.QueueScheduler = void 0; - var o = (function(e3) { - function t3() { - return null !== e3 && e3.apply(this, arguments) || this; + get className() { + return "BuilderWithSingleBuilderPartDef"; } - return r2(t3, e3), t3; - })(i2(19533).AsyncScheduler); - t2.QueueScheduler = o; - }, 32050: (e2, t2, i2) => { + get isBuilderWithSingleBuilderPartDef() { + return true; + } + createBuilder(e3) { + const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); + return t3.setNewInstanceDefaults(), t3; + } + reviveBuilder(e3, t3, i3) { + return new r.default({ owningExpression: e3, model: t3, reId: true === i3 }); + } + } + t2.default = a; + }, 91935(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.menuActionActionType; + const n2 = i2(31635), o = n2.__importDefault(i2(23581)), r = n2.__importDefault(i2(69215)); + class a extends o.default { + constructor({ id: e3, name: t3, description: i3, version: n3, generators: o2, resultExpressionType: r2, 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, o2, r2, a2, s, l, u, c, d, p, _, h, m, g, f); } - get displayTypeName() { - return this._scriptingName; + get className() { + return "CommunicationBuilderWithBuilderPartsDef"; } - get isArchActionMenu() { + get isCommunicationBuilderWithBuilderPartsDef() { return true; } + createBuilder(e3) { + const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); + return t3.setNewInstanceDefaults(), t3; + } + reviveBuilder(e3, t3, i3) { + return new r.default({ owningExpression: e3, model: t3, reId: true === i3 }); + } } - t2.default = o; - }, 32051: (e2, t2) => { + t2.default = a; + }, 32756(e2, t2, i2) { "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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(23581)), r = n2.__importDefault(i2(16230)); + class a extends o.default { + constructor({ id: e3, name: t3, description: i3, version: n3, generators: o2, resultExpressionType: r2, restrictToFlowTypeOrTypes: a2, categoryIdentifierOrIdentifiers: s, builderPartDefCategoryIdentifierOrIdentifiers: l, defaultBuilderPartId: u, icon: c, helpTopic: d, requiredFeatureToggle: p, requiredFeatureConfig: _, requiredChannelTypeOrTypes: h, minMaxInfo: m }) { + super(e3, t3, i3, n3, o2, r2, a2, s, l, u, c, d, p, _, h, m); + } + get className() { + return "StringBuilderWithBuilderPartsDef"; + } + get isStringBuilderWithBuilderPartsDef() { + return true; + } + createBuilder(e3) { + const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); + return t3.setNewInstanceDefaults(), t3; + } + reviveBuilder(e3, t3, i3) { + return new r.default({ owningExpression: e3, model: t3, reId: true === i3 }); } } - t2.YamlReferenceError = i2; - }, 32071: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.observeOn = void 0; - var n2 = i2(28619), r2 = i2(65212), o = i2(17214); - t2.observeOn = function(e3, t3) { - return void 0 === t3 && (t3 = 0), r2.operate(function(i3, r3) { - i3.subscribe(o.createOperatorSubscriber(r3, function(i4) { - return n2.executeSchedule(r3, e3, function() { - return r3.next(i4); - }, t3); - }, function() { - return n2.executeSchedule(r3, e3, function() { - return r3.complete(); - }, t3); - }, function(i4) { - return n2.executeSchedule(r3, e3, function() { - return r3.error(i4); - }, t3); - })); - }); - }; - }, 32100: (e2, t2, i2) => { + t2.default = a; + }, 76486(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(55909), o = i2(33951); + t2.default = class { + constructor({ expressionType: e3, label: t3, descriptionInfo: i3, configureOptionsCallback: r, requiredFuncOpOverloadIds: a }) { + o.ParameterValidator.expectExpressionType(e3, () => n2.ParameterInfo.createConstructorParameter(this.className, "expressionType")), o.ParameterValidator.expectString(t3, () => n2.ParameterInfo.createConstructorParameter(this.className, "label")), o.ParameterValidator.expectObject(i3, () => n2.ParameterInfo.createConstructorParameter(this.className, "descriptionInfo"), true), o.ParameterValidator.expectFunction(r, () => n2.ParameterInfo.createConstructorParameter(this.className, "configureOptionsCallback"), true), o.ParameterValidator.expectArray(a, () => n2.ParameterInfo.createConstructorParameter(this.className, "requiredFuncOpOverloadIds"), true), Object.defineProperties(this, { _configureOptionsCallback: { value: r }, _descriptionInfo: { value: i3 }, _expressionType: { value: e3 }, _label: { value: t3 }, _requiredFuncOpOverloadIds: { value: a } }); } - get _globalTypeName() { - return "grammar"; + get defaultText() { + return this._defaultText; } - get displayTypeName() { - return "ArchVariableGrammar"; + get label() { + return this._label; } - get initialValue() { - return this._initialValue; + get configureOptionsCallback() { + return this._configureOptionsCallback; } - get isArchVariableGrammar() { + get type() { + return this._expressionType; + } + get descriptionInfo() { + return this._descriptionInfo; + } + get requiredFuncOpOverloadIds() { + return this._requiredFuncOpOverloadIds; + } + get className() { + return "ExpressionDef"; + } + get isExpressionDef() { return true; } - } - t2.default = r2; - }, 32108: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ttsOnly = t2.audioAndTTS = t2.audioOnly = t2.promptMediaTypes = void 0, t2.hasMediaType = function(e3, t3) { - return e3 && e3.includes(t3); - }, (function(e3) { - e3.audio = "audio", e3.tts = "tts", e3.text = "text"; - })(i2 || (t2.promptMediaTypes = i2 = {})), t2.audioOnly = [i2.audio], t2.audioAndTTS = [i2.audio, i2.tts], t2.ttsOnly = [i2.tts]; - }, 32224: (e2, t2, i2) => { + createExpression(e3) { + } + reviveItem(e3, t3, i3) { + } + }; + }, 79904(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(68460)), r2 = i2(47957); - class o extends n2.default { - constructor(e3, t3, i3) { - super(t3, i3), this.name = e3; + const n2 = i2(31635), o = n2.__importDefault(i2(39732)), r = n2.__importDefault(i2(41800)), a = n2.__importDefault(i2(83630)); + class s extends o.default { + constructor({ id: e3, name: t3, description: i3, version: n3, generators: o2, partConfigurators: r2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: c }) { + super(e3, t3, i3, n3, o2, r2, a2 = a2 || s2, { languageTag: "lower-case ietf language-tag" }, u, c, a2.getArchIcon()); } get className() { - return "SlotSettingsViewModel"; + return "BuilderPartContainerLanguageDef"; } - getDisplayName() { - return r2.clearSlot.slotsLabel; + isAvailableForFlow(e3) { + const t3 = null == e3 ? void 0 : e3.definition.supportsMoreThanOneLanguage; + return this.supportsLanguageTag && t3 && !this.supportsOutputMode; } - } - t2.default = o; - }, 32236: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getIntegration = a, t2.getDigitalBotConnectorIntegrations = s, t2.getBotConnectorIntegrations = l, t2.getNuanceMixIntegrations = u; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(63569)); - function a(e3) { - return r2.default.build(o.getIntegration).templateParams({ id: e3 }).call(); - } - function s(e3) { - return r2.default.build(o.getDigitalBotConnectorIntegrations).queryParams(e3.getSearchQueryParams()).call(); - } - function l(e3) { - return r2.default.build(o.getBotConnectorIntegrations).queryParams(e3.getSearchQueryParams()).call(); - } - function u(e3) { - return r2.default.build(o.getNuanceMixIntegrations).queryParams(e3.getSearchQueryParams()).call(); - } - a.api = o.getIntegration, s.api = o.getDigitalBotConnectorIntegrations, l.api = o.getBotConnectorIntegrations, u.api = o.getNuanceMixIntegrations; - }, 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), c = i2(10798), d = i2(11675), p = i2(47957), _ = i2(27862); - class h extends o.default { - get requiredAuth() { - return (0, c.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.scheduleGroupSearch : s.externalAuthorizations.authStrings.scheduleGroupView; + get isBuilderPartContainerLanguageDef() { + return true; } - get dependencyType() { - return _.ScheduleGroup; + get supportsLanguageTag() { + return true; } - constructor() { - 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(); + createBuilderPartViewModel(e3, t3, i3) { + const n3 = new r.default({ builderPartDefId: this.id, criteria: i3, version: this.version }); + return this.reviveItem(e3, t3, n3); } - _createItemViewModel(e3) { - return new d.ScheduleGroupViewModel(e3); + reviveItem(e3, t3, i3, n3) { + return new a.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: !!n3 }); } } - t2.ScheduleGroupManager = h, t2.scheduleGroupManager = new h(); - }, 32307: (e2, t2, i2) => { + t2.default = s; + }, 81818(e2, t2, i2) { "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)), 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"); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(39732)), r = n2.__importDefault(i2(4778)), a = n2.__importDefault(i2(22456)); + class s extends o.default { + constructor({ id: e3, name: t3, description: i3, version: n3, generators: o2, partConfigurators: r2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: c }) { + super(e3, t3, i3, n3, o2, r2, a2 = a2 || s2, { languageTag: "", outputMode: "" }, u, c, a2.getArchIcon()); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), d.default.each(this._inputs, (t3) => { - t3.pasteReIdOrRename(e3); - }), d.default.each(this._outputs, (t3) => { - t3.pasteReIdOrRename(e3); - }), d.default.each(this._errorBindings, (t3) => { - t3.pasteReIdOrRename(e3); - }); + get className() { + return "BuilderPartContainerLanguageOutputModeDef"; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), d.default.each(this.inputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), d.default.each(this.outputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), d.default.each(this._errorBindings, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }); + isAvailableForFlow(e3) { + const t3 = null == e3 ? void 0 : e3.definition.supportsMoreThanOneLanguage, i3 = (null == e3 ? void 0 : e3.definition.outputModes.length) > 1; + return this.supportsLanguageTag && t3 && this.supportsOutputMode && i3; } - get agenticVirtualAgentId() { - return this._agenticVirtualAgentId; + get isBuilderPartContainerLanguageOutputModeDef() { + return true; } - set agenticVirtualAgentId(e3) { - this._agenticVirtualAgentId = e3; + get supportsLanguageTag() { + return true; } - get agenticVirtualAgentName() { - return this._agenticVirtualAgentName; + get supportsOutputMode() { + return true; } - set agenticVirtualAgentName(e3) { - this._agenticVirtualAgentName = e3; + createBuilderPartViewModel(e3, t3, i3) { + const n3 = new r.default({ builderPartDefId: this.id, criteria: i3, version: this.version }); + return this.reviveItem(e3, t3, n3); } - get agenticVirtualAgentVersion() { - return this._agenticVirtualAgentVersion; + reviveItem(e3, t3, i3, n3) { + return new a.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: !!n3 }); } - set agenticVirtualAgentVersion(e3) { - this._agenticVirtualAgentVersion = e3; + } + t2.default = s; + }, 41568(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(39732)), r = n2.__importDefault(i2(9372)), a = n2.__importDefault(i2(25638)); + class s extends o.default { + constructor({ id: e3, name: t3, description: i3, version: n3, generators: o2, partConfigurators: r2, resultExpressionType: a2, type: s2, expressionDefs: l, restrictToFlowTypeOrTypes: u, categoryIdentifierOrIdentifiers: c }) { + super(e3, t3, i3, n3, o2, r2, a2 = a2 || s2, { outputMode: "" }, u, c, a2.getArchIcon()); } - get agenticVirtualAgentLatestVersion() { - return this._agenticVirtualAgentLatestVersion; + get className() { + return "BuilderPartContainerOutputModeDef"; } - set agenticVirtualAgentLatestVersion(e3) { - this._agenticVirtualAgentLatestVersion = e3; + isAvailableForFlow(e3) { + const t3 = (null == e3 ? void 0 : e3.definition.outputModes.length) > 1; + return this.supportsOutputMode && t3 && !this.supportsLanguageTag; } - get inputs() { - return this._inputs; + get isBuilderPartContainerOutputModeDef() { + return true; } - set inputs(e3) { - this._inputs = this.reviveArray(e3, p); + get supportsOutputMode() { + return true; + } + createBuilderPartViewModel(e3, t3, i3) { + const n3 = new r.default({ builderPartDefId: this.id, criteria: i3, version: this.version }); + return this.reviveItem(e3, t3, n3); } - get outputs() { - return this._outputs; + reviveItem(e3, t3, i3, n3) { + return new a.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: !!n3 }); } - set outputs(e3) { - this._outputs = this.reviveArray(e3, p); + } + t2.default = s; + }, 42290(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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: 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(_, () => r.ParameterInfo.createConstructorParameter(this.className, "expressionDefs")), Object.defineProperties(this, { _expressionDefs: { value: _ }, _viewId: { value: S }, _useStringLiteralProcessing: { value: o.default.isFunction(y) ? y : void 0 } }); } - get errorBindings() { - return this._errorBindings; + get expressionDefs() { + return this._expressionDefs; } - set errorBindings(e3) { - this._errorBindings = this.reviveArray(e3, p); + get viewId() { + return this._viewId; } - get voiceProcessingPrompt() { - return this._voiceProcessingPrompt; + get useStringLiteralProcessing() { + return this._useStringLiteralProcessing; } - set voiceProcessingPrompt(e3) { - this._voiceProcessingPrompt = this.reviveItem(e3, u.default); + get className() { + return "BuilderPartWithExpressionsDef"; } - get exitReason() { - return this._exitReason; + createBuilderPartViewModel(e3, t3) { + const i3 = new u.default({ builderPartDefId: this.id, version: this.version }); + return this.reviveItem(e3, t3, i3); } - set exitReason(e3) { - this._exitReason = this.reviveItem(e3, u.default); + reviveItem(e3, t3, i3, n3) { + switch (null == i3 ? void 0 : i3.builderPartDefId) { + case l.builderPartIds.communication.markdown: + case l.builderPartIds.string.markdown: + 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 }); + } } } - t2.CallAgenticVirtualAgentActionModel = _, _.__type = a.callAgenticVirtualAgentActionType, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentName", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentVersion", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentLatestVersion", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], _.prototype, "inputs", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], _.prototype, "outputs", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], _.prototype, "errorBindings", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], _.prototype, "voiceProcessingPrompt", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== u.default && u.default) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], _.prototype, "exitReason", null), _.registerType(); - }, 32345: (e2, t2, i2) => { + t2.default = p; + }, 34875(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(92661)); - class a extends o.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importDefault(i2(66740)), r = n2.__importDefault(i2(42290)); + class a extends r.default { + get className() { + return "BuilderPartWithVariableFormattingPartDef"; } - get _actionTypeId() { - return r2.findDivisionActionType; + reviveItem(e3, t3, i3, n3) { + return new o.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: void 0, reId: !!n3 }); } - get displayTypeName() { - return this._scriptingName; + } + t2.default = a; + }, 94053(e2, t2, i2) { + "use strict"; + const n2 = i2(31635), o = n2.__importDefault(i2(98114)), r = 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(r.globalTypes.prompt), c2 = t3.isMatch(r.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: r.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: r.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: o.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 isArchActionFindDivision() { - return true; + get className() { + return "FindPromptPartDef"; } - get findResult() { - return this._findResult; + reviveItem(e3, t3, i3, n3) { + return new u.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: void 0, reId: !!n3 }); } } - t2.default = a; - }, 32392: (e2, t2, i2) => { + t2.A = p; + }, 2315(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(57382)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(92140)); + class o { constructor(e3) { - super(e3); + Object.defineProperties(this, { _currentIndent: { value: "", writable: true }, _indent: { writable: true }, _indentLength: { writable: true }, _newLine: { writable: true }, _sprintfCustomizations: { value: false, writable: true }, _wantFormatting: { value: e3, writable: true } }), this.reset(); } - get displayTypeName() { - return "ArchBaseActionWithOutputsYesNo"; + static createNoFormattingBuildTextHelper() { + return new o(false); } - get isArchBaseActionWithOutputsYesNo() { - return true; + static createFormattedBuildTextHelper() { + return new o(true); } - get outputNo() { - return this._getOutputById(r2.outputIds.no, true); + static createSprintfBuildTextHelper() { + const e3 = new o(false); + return e3._sprintfCustomizations = true, e3; } - get outputYes() { - return this._getOutputById(r2.outputIds.yes, true); + get currentIndent() { + return this._currentIndent; } - } - t2.default = a; - }, 32504: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(82985)), o = n2.__importDefault(i2(78432)), a = i2(30801); - class s extends r2.default { - get _actionTypeId() { - return a.callDigitalBotFlowActionType; + get indent() { + return this._indent; } - get botFlowTypeEnum() { - return o.default.FLOW_TYPES.digitalBot; + get newLine() { + return this._newLine; } - get displayTypeName() { - return this._scriptingName; + get allowSprintfCustomizations() { + return this._sprintfCustomizations; } - get isArchActionCallDigitalBotFlow() { + get className() { + return "BuildTextHelper"; + } + get isBuildTextHelper() { return true; } - } - t2.default = s; - }, 32508: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.TimeInterval = t2.timeInterval = void 0; - var n2 = i2(62326), r2 = i2(65212), o = i2(17214); - t2.timeInterval = function(e3) { - return void 0 === e3 && (e3 = n2.asyncScheduler), r2.operate(function(t3, i3) { - var n3 = e3.now(); - t3.subscribe(o.createOperatorSubscriber(i3, function(t4) { - var r3 = e3.now(), o2 = r3 - n3; - n3 = r3, i3.next(new a(t4, o2)); - })); - }); - }; - var a = function(e3, t3) { - this.value = e3, this.interval = t3; - }; - t2.TimeInterval = a; - }, 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.__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; + destroy() { + this._currentIndent = void 0, this._indent = void 0, this._indentLength = void 0, this._newLine = void 0, this._wantFormatting = void 0; } - objEvent_customDataTypeRegistered(e3, t3) { - this.registerCustomExpressionType(t3), t3.dataTypeDefViewModel.bindToFlow(this.parentFlow), t3.dataTypeDefViewModel.registerPropertyTypeUsages(); + increaseIndent() { + this._currentIndent += this._indent; } - objEvent_customDataTypeUnregistered(e3, t3) { - const i3 = this.getCustomDataTypeDefinition(t3.dataTypeIdentifier); - null == i3 || i3.unregisterPropertyTypeUsages(), this.unregisterCustomExpressionType(t3); + decreaseIndent() { + this._currentIndent = this._currentIndent.substring(this._indentLength); } - get className() { - return "FlowDefinitionsViewModel"; + formatBuiltText(e3, t3) { + return n2.default.isString(e3) && e3.length ? t3 ? `${this._currentIndent}${e3}` : `${this._currentIndent}${e3}${this._newLine}` : ""; } - getDisplayName() { - return "Flow Definitions"; + formatBuiltTextNoNewline(e3) { + return n2.default.isString(e3) && e3.length ? `${this._currentIndent}${e3}` : ""; } - get nodeGuxIcon() { - return "graph-pie"; + startBuilder() { + this.reset(); } - get id() { - return "flowDefinitions"; + endBuilder() { } - get showInFlowSize() { - return false; + formatExpressionText(e3, t3, i3) { + return t3 ? i3 ? `${this._newLine}${this._currentIndent}${e3}` : `${this._newLine}${e3}` : i3 ? `${this._currentIndent}${e3}` : e3; } - loadConfiguration(e3) { - var t3; - e3.customDefinitions || (e3.customDefinitions = new u.default()); - const i3 = null === (t3 = e3.customDefinitions.dataTypeDefinitions) || void 0 === t3 ? void 0 : t3.length; - if (i3) { - m.info(`loading ${i3} custom data type definition${1 !== i3 ? "s" : ""}`); - const t4 = []; - for (const i4 of e3.customDefinitions.dataTypeDefinitions) { - 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); - } + formatFunctionInvocation(e3, t3, i3, o2, r) { + let a = o2 ? this._newLine : ""; + return r && (a += this._currentIndent), n2.default.isArray(t3) ? `${a}${e3}${t3.join(", ")}${i3}` : `${a}${e3}${i3}`; } - addCustomTypesToFlowExpressionTypeGroup() { - r2.info("Adding custom types to the flow expression type group"); - const e3 = this.customDataTypeDefinitionViewModels; - (null == e3 ? void 0 : e3.length) && o.createCustomExpressionTypesFromDataTypeDefs(this.parentFlow, e3, true); + reset() { + this._currentIndent = "", this._indent = this._wantFormatting ? " " : "", this._indentLength = this._indent.length, this._newLine = this._wantFormatting ? "\n" : ""; } - registerExpressionTypeGroupEventSink() { - const e3 = h.default.getTypeGroup(this.parentFlow); - e3 && a.registerEventSinkForEventEmitter(e3.id, this); + } + t2.default = o; + }, 35882(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(2315)), r = n2.__importDefault(i2(39029)), a = n2.__importDefault(i2(92140)); + class s { + constructor() { + Object.defineProperties(this, { _defaultGenerationBucketName: { writable: true }, _expressionGenerator: { writable: true }, _generationBuckets: { value: {}, writable: true }, _replacementTokens: { writable: true } }); } - getCustomDataTypeDefinition(e3) { - var t3; - return null === (t3 = this._customDataTypesMap[e3]) || void 0 === t3 ? void 0 : t3.dataTypeDefViewModel; + static create(e3) { + const t3 = new s(); + return e3 ? t3.setGenerator(e3) : t3; } - getCustomDataTypeDefinitionByName(e3, t3) { - return this.customDataTypeDefinitionViewModels.find((i3) => i3.customJsonIdentifierInfo.namespace === e3 && i3.name === t3); + static createSprintfGeneration(e3) { + return this.create(e3).setReplacementTokens(["%1$s", "%2$s", "%3$s", "%4$s", "%5$s", "%6$s", "%7$s", "%8$s"]); } - get customDataTypeDefinitionViewModels() { - const e3 = []; - for (const t3 of Object.values(this._customDataTypesMap)) t3.dataTypeDefViewModel && e3.push(t3.dataTypeDefViewModel); - return e3; + static createForGenerator(e3) { + return new s().setGenerator(e3); } - get customDataTypeDefinitionModels() { - var e3; - const t3 = []; - for (const i3 of Object.values(this._customDataTypesMap)) { - const n3 = null === (e3 = i3.dataTypeDefViewModel) || void 0 === e3 ? void 0 : e3.model; - n3 && t3.push(n3); - } - return t3; + get defaultGenerationBucketName() { + return this._defaultGenerationBucketName; } - get customDataTypeExpressionType() { - const e3 = []; - for (const t3 of Object.values(this._customDataTypesMap)) { - const i3 = t3.expressionType; - i3 && e3.push(i3); + generate(e3) { + if (!this._expressionGenerator) return; + let t3, i3, n3; + try { + a.default.isUndefined(e3) && (e3 = o.default.createNoFormattingBuildTextHelper(), i3 = true), t3 = r.default.create(e3), n3 = this._generate(t3); + } finally { + t3 && t3.destroy(), i3 && e3.destroy(); } - return e3; + return n3; } - registerCustomExpressionType(e3) { - var t3; - if (!(null === (t3 = null == e3 ? void 0 : e3.dataTypeDefViewModel) || void 0 === t3 ? void 0 : t3.dataTypeId)) return; - const i3 = this._customDataTypesMap[e3.dataTypeDefViewModel.dataTypeId]; - i3 ? (i3.expressionType = e3.expressionType, i3.dataTypeDefViewModel = e3.dataTypeDefViewModel) : this._customDataTypesMap[e3.dataTypeDefViewModel.dataTypeId] = { dataTypeDefViewModel: e3.dataTypeDefViewModel, expressionType: e3.expressionType }; + _generate(e3) { + let t3; + return e3.genDepthIncrement(), this._expressionGenerator._generate(this, e3), e3.genDepthDecrement(), 0 === e3.genDepth && (t3 = e3.getResult()), t3; } - unregisterCustomExpressionType(e3) { - (null == e3 ? void 0 : e3.dataTypeIdentifier) && delete this._customDataTypesMap[e3.dataTypeIdentifier]; + setGenerator(e3) { + return this._expressionGenerator = e3, this._defaultGenerationBucketName = e3.defaultGenerationBucketName, this; } - getConfiguration(e3, t3, i3) { - super.getConfiguration(e3, t3, i3); - const n3 = this._getCustomDataTypeDefinitionIdsToSerialize(t3), r3 = this.customDataTypeDefinitionModels.filter((e4) => n3.has(e4.dataTypeId)); - e3.customDefinitions = new u.default({ dataTypeDefinitions: r3 }); + setReplacementTokens(e3) { + return this._replacementTokens = a.default.isArray(e3) ? e3 : [e3], this; } - _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; + get replacementTokens() { + return this._replacementTokens; } - _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; + get generator() { + return this._expressionGenerator; + } + getReplacementTokenAtIndex(e3) { + return e3 < this._replacementTokens.length ? this._replacementTokens[e3] : ""; + } + get generationBuckets() { + return this._generationBuckets; + } + get willGenerateNotSetOrStringLiteral() { + return this._expressionGenerator.getWillGenerateNotSetOrStringLiteral(this); + } + addGenerationToBucket(e3, t3) { + a.default.isUndefined(t3) && (t3 = this._defaultGenerationBucketName); + let i3 = this._generationBuckets[t3]; + a.default.isUndefined(i3) && (i3 = [], this._generationBuckets[t3] = i3); + try { + !this._amInAboutToAddGenerationCallout && this._expressionGenerator && this._expressionGenerator.aboutToAddGenerationCallback && (this._amInAboutToAddGenerationCallout = true, this._expressionGenerator.aboutToAddGenerationCallback(this, t3, i3, e3)); + } finally { + this._amInAboutToAddGenerationCallout = false; } - return i3; + return i3.push(e3), this; } - _preDestroy() { - this.amObjectEventSink && a.unregisterEventSink(this), this._customDataTypesMap = {}, super._preDestroy(); + getGenerationForBucket(e3) { + return this._generationBuckets[e3]; } - getDataTypeDefViewModelForCustomDataTypeId(e3) { - var t3; - return null === (t3 = this._customDataTypesMap[e3]) || void 0 === t3 ? void 0 : t3.dataTypeDefViewModel; + _destroyGenerationBucketMap(e3) { + a.default.each(e3, (e4) => { + a.default.each(e4, (e5) => { + try { + e5.destroy(); + } catch (e6) { + } + }); + }); } - getExpressionTypeForCustomDataTypeId(e3) { - var t3; - return null === (t3 = this._customDataTypesMap[e3]) || void 0 === t3 ? void 0 : t3.expressionType; + destroy() { + this._destroyGenerationBucketMap(this._generationBuckets), this._defaultGenerationBucketName = void 0, this._expressionGenerator = void 0, this._generationBuckets = void 0, this._replacementTokens = void 0; } } - t2.FlowCustomDefinitionsViewModel = g; - }, 32556: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(39950).extend(n2, "ClipboardContentStateModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, r2) { - n2._super.configure.apply(this, arguments); - } } }), e2.exports = n2; - }, 32568: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.last = void 0; - var n2 = i2(59328), r2 = i2(85934), o = i2(65279), a = i2(30632), s = i2(58799), l = i2(87699); - t2.last = function(e3, t3) { - var i3 = arguments.length >= 2; - return function(u) { - return u.pipe(e3 ? r2.filter(function(t4, i4) { - return e3(t4, i4, u); - }) : l.identity, o.takeLast(1), i3 ? s.defaultIfEmpty(t3) : a.throwIfEmpty(function() { - return new n2.EmptyError(); - })); - }; - }; - }, 32592: (e2, t2) => { + t2.default = s; + }, 22599(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AgenticVirtualAgentViewModel = void 0, t2.AgenticVirtualAgentViewModel = class { - constructor(e3) { - this._model = e3; - } - get className() { - return "AgenticVirtualAgentViewModel"; - } - get isBaseClass() { - return false; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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 } }); } - get id() { - return this._model.id; + static create() { + return new _(); } - get name() { - return this._model.name; + _initialize() { + let e3 = ""; + r.default.each(this._generationBlueprintOrigMetaData, (t3) => { + switch (t3.type) { + case 1: + case 2: + case 11: + case 12: + case 13: + case 10: + case 5: + case 8: + r.default.isString(e3) && e3.length > 0 && (this._generationBlueprintBuiltResults.push(e3), this._generationBlueprintBuiltMetaData.push(void 0), e3 = ""), this._generationBlueprintBuiltMetaData.push(t3), this._generationBlueprintBuiltResults.push(void 0); + break; + case 3: + case 4: + e3 += t3.operatorText; + break; + case 6: + e3 += t3.propertyAccessText; + break; + case 9: + e3 += t3.text; + break; + case 7: + e3 += t3.token; + break; + default: + throw p.error(`Unhandled Type for expressionBitMetaData: ${JSON.stringify(t3)}`), "unhandled type!"; + } + }), e3.length > 0 && (this._generationBlueprintBuiltResults.push(e3), this._generationBlueprintBuiltMetaData.push(void 0)), this._initialized = true; } - set name(e3) { - this._model.name = e3; + addFuncCall(e3) { + return this._generationBlueprintOrigMetaData.push({ type: 1, funcName: e3, funcCallText: `${e3}(` }), this; } - get label() { - return this.name; + _addGenerationBucket(e3, t3, i3, n3) { + return this._generationBlueprintOrigMetaData.push({ type: n3, generationBucketName: e3, separatorText: r.default.isString(i3) ? i3 : "" }), true === t3 && (this._defaultGenerationBucketName = e3), this; } - get version() { - var e3; - return null === (e3 = this._model.latestProductionReadyVersion) || void 0 === e3 ? void 0 : e3.version; + addSingleGenerationBucket(e3, t3) { + return this._addGenerationBucket(e3, t3, "", 13); } - }; - }, 32595: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.schemaTypeHelper = void 0; - const n2 = i2(29795), r2 = i2(29795), o = i2(29795); - t2.schemaTypeHelper = new class { - isJsonSchemaType(e3) { - return !!o.jsonSchemaTypeNames[e3]; + addFuncCallParmGenerationBucket(e3, t3) { + return this._addGenerationBucket(e3, t3, " ", 11); } - isAgenticVirtualAgentPrimitiveType(e3) { - return !!n2.agenticVirtualAgentPrimitiveTypes[e3]; + addLogicalAndParmGenerationBucket(e3, t3) { + return this._addGenerationBucket(e3, t3, " And ", 12); } - isAiGuidePrimitiveType(e3) { - return !!r2.aiGuidePrimitiveTypes[e3]; + addLogicalOrParmGenerationBucket(e3, t3) { + return this._addGenerationBucket(e3, t3, " Or ", 12); } - }(); - }, 32601: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(90807), o = i2(7401), { switchActionActionType: a } = i2(30801); - function s() { - Object.defineProperties(this, { _expression: { writable: true }, _cases: { writable: true } }), this.switchStyle = void 0, this.version = void 0, s.baseConstructor.apply(this, arguments); - } - n2.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.expression.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.expression.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.cases.length; t3++) this.cases[t3].pasteResolveOldToNewValues(e3); - } }, expression: { enumerable: true, get: function() { - return this._expression; - }, set: function(e3) { - this._expression = this.reviveItem(e3, o); - } }, cases: { enumerable: true, get: function() { - return this._cases; - }, set: function(e3) { - this._cases = this.reviveArray(e3, r2); - } } }), e2.exports = s; - }, 32624: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + createGeneration() { + return c.default.createForGenerator(this); } - get _globalTypeName() { - return "skill"; + get defaultGenerationBucketName() { + return this._defaultGenerationBucketName; } - get displayTypeName() { - return "ArchVariableSkill"; + addFuncCallEnd() { + return this._generationBlueprintOrigMetaData.push({ type: 2 }), this; } - get initialValue() { - return this._initialValue; + addTokenReplacement(e3) { + return this._generationBlueprintOrigMetaData.push({ type: 8, tokenIndex: e3 }), this; } - get isArchVariableSkill() { - return true; + addToken(e3) { + return this._generationBlueprintOrigMetaData.push({ type: 7, token: e3 }), this; } - } - t2.default = r2; - }, 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), c = i2(47957), d = i2(27862), p = i2(51294); - class _ extends o.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.integrationView; + addText(e3) { + return this._generationBlueprintOrigMetaData.push({ type: 9, text: e3 }), this; } - get dependencyType() { - return d.DialogflowCxAgent; + addTokenBooleanFalse() { + return this.addToken(l.default.false); } - 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 = c.dialogflowCx.dialogflowCxAgent, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "dialogflowCxAgents", this._initialize(); + addTokenBooleanTrue() { + return this.addToken(l.default.true); } - _createItemViewModel(e3) { - return new s.default(e3); + addTokenNotSet() { + return this.addToken(l.default.notSet); } - } - 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() { - Object.defineProperties(this, { _eventName: { writable: true }, _outputSessionVariables: { writable: true } }), this.environmentId = void 0, this.languages = void 0, this.integrationId = void 0, this.integrationName = void 0, s.baseConstructor.apply(this, arguments); - } - r2.extend(s, "BaseDialogflowActionModel"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.eventName.pasteReIdOrRename(e3), n2.each(this.outputSessionVariables, (t3) => { - t3.pasteReIdOrRename(e3); - }); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.eventName.pasteResolveOldToNewValues(e3), n2.each(this.outputSessionVariables, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }); - } }, eventName: { enumerable: true, get: function() { - return this._eventName; - }, set: function(e3) { - this._eventName = this.reviveItem(e3, o); - } }, outputSessionVariables: { enumerable: true, get: function() { - return this._outputSessionVariables; - }, set: function(e3) { - this._outputSessionVariables = this.reviveArray(e3, a); - } } }), e2.exports = s; - }, 32732: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(82472)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._alertOnTransfer = this.coreFactory.createArchValueFromExpression(e3.alertOnTransfer), this._allowVoicemail = this.coreFactory.createArchWrapper(e3.allowVoicemail), this._targetUser = this.coreFactory.createArchWrapper(e3.user); + addPropertyAccess(e3) { + return this._generationBlueprintOrigMetaData.push({ type: 6, propertyName: e3, propertyAccessText: `.${e3}` }), this; } - get _actionTypeId() { - return r2.transferUserActionType; + addOperatorOneOperand(e3) { + return this._generationBlueprintOrigMetaData.push({ type: 3, operator: e3, operatorText: `${e3}` }), this; } - get allowVoicemailRollover() { - return this._allowVoicemail; + addOperatorTwoOperand(e3) { + return this._generationBlueprintOrigMetaData.push({ type: 4, operator: e3, operatorText: ` ${e3} ` }), this; } - get displayTypeName() { - return this._scriptingName; + addOperatorMinus() { + return this.addOperatorTwoOperand("-"); } - get isArchActionTransferToUser() { - return true; + addOperatorAnd() { + return this.addOperatorTwoOperand("And"); } - get targetUser() { - return this._targetUser; + addOpenParen() { + return this.addToken("("); } - get alertOnTransfer() { - return this._alertOnTransfer; + addCloseParen() { + return this.addToken(")"); } - } - t2.default = o; - }, 32756: (e2, t2, i2) => { - "use strict"; - 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: 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); + addNotSet() { + return this.addToken(l.default.notSet); } - get className() { - return "StringBuilderWithBuilderPartsDef"; + addLastGeneratedText() { + return this._generationBlueprintOrigMetaData.push({ type: 10 }), this; } - get isStringBuilderWithBuilderPartsDef() { - return true; + addOperatorNot() { + return this.addOperatorOneOperand("!"); } - createBuilder(e3) { - const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); - return t3.setNewInstanceDefaults(), t3; + addOperatorEquals() { + return this.addOperatorTwoOperand("=="); } - reviveBuilder(e3, t3, i3) { - return new o.default({ owningExpression: e3, model: t3, reId: true === i3 }); + addOperatorNotEquals() { + return this.addOperatorTwoOperand("!="); } - } - t2.default = a; - }, 32773: (e2, t2, i2) => { - "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 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; + addOperatorGreaterThan() { + return this.addOperatorTwoOperand(">"); } - } - 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); - } - i2(52722).extend(n2, "ConversationSummarySetting"), e2.exports = n2; - }, 32829: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); + addOperatorGreaterThanOrEqualTo() { + return this.addOperatorTwoOperand(">="); } - get _actionTypeId() { - return r2.transferTaskActionType; + addOperatorLessThan() { + return this.addOperatorTwoOperand("<"); } - get displayTypeName() { - return "ArchMenuJumpToTask"; + addOperatorLessThanOrEqualTo() { + return this.addOperatorTwoOperand("<="); } - get actionJumpToTask() { - return this._archAction; + addOperatorOr() { + return this.addOperatorTwoOperand("Or"); } - get isArchMenuJumpToTask() { - return true; + addOperatorPlus() { + return this.addOperatorTwoOperand("+"); } - } - t2.default = a; - }, 32854: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomTypesViewModel = void 0; - 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", this.isCustomTypesNode = true; + addFuncParameterSeparator() { + return this._generationBlueprintOrigMetaData.push({ type: 5 }), this; } get className() { - return "CustomTypesViewModel"; + return "ExpressionGenerator"; } - get id() { - return "customTypes"; + get sprintfString() { + if (r.default.isUndefined(this._sprintfString)) { + let e3, t3; + try { + 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 { + e3 && e3.destroy(), t3 && t3.destroy(); + } + } + return this._sprintfString; } - getDisplayName() { - return this.getNodeName(); + _generate(e3, t3) { + this._initialized || console.error("bad!"); + const i3 = r.default.clone(this._generationBlueprintBuiltResults); + let n3, o2, a2; + for (let s2 = 0; s2 < i3.length; s2++) if (void 0 === i3[s2]) switch (n3 = this._generationBlueprintBuiltMetaData[s2], n3.type) { + case 1: + t3.addFuncCall(n3.funcCallText); + break; + case 2: + t3.endFuncCall(); + break; + case 10: + t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? "" : t3.lastBucketGenerationText); + break; + case 11: + o2 = e3.getGenerationForBucket(n3.generationBucketName), r.default.isUndefined(o2) ? t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? `` : "") : r.default.each(o2, (e4) => { + t3.addFuncParmSeparator(), t3.setBucketGenerationStart(true), e4._generate(t3), t3.setBucketGenerationEnd(); + }); + break; + case 12: + o2 = e3.getGenerationForBucket(n3.generationBucketName), r.default.isUndefined(o2) ? t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? `` : "") : (a2 = 0, r.default.each(o2, (e4) => { + a2 > 0 && t3.addGenerationSeparator(n3.separatorText), t3.setBucketGenerationStart(), e4._generate(t3), t3.setBucketGenerationEnd(), a2++; + })); + break; + case 13: + o2 = e3.getGenerationForBucket(n3.generationBucketName), r.default.isUndefined(o2) ? t3.addResultPart(t3.buildTextHelper.allowSprintfCustomizations ? `` : "") : r.default.each(o2, (e4) => { + t3.setBucketGenerationStart(true), e4._generate(t3), t3.setBucketGenerationEnd(); + }); + break; + case 5: + t3.addFuncParmSeparator(); + break; + case 8: + t3.addResultPart(e3.getReplacementTokenAtIndex(n3.tokenIndex)); + break; + default: + throw p.error(`Unhandled Type for expressionBitMetaData: ${JSON.stringify(n3)}`), "Unhandled Type"; + } + else t3.addResultPart(i3[s2]); } - getNodeName() { - return r2.customDataTypes.customTypesNodeTitle; + getWillGenerateNotSetOrStringLiteral(e3) { + if (1 !== this._generationBlueprintBuiltResults.length) return false; + let t3 = e3.generate(); + return !(!r.default.isString(t3) || 0 === t3.length || (t3 = t3.trim(), t3 !== l.default.notSet && (t3.length < 2 || '"' !== t3[0] || t3.indexOf('"', 1) !== t3.length - 1))); } - get nodeGuxIcon() { - return "view-grid"; + get aboutToAddGenerationCallback() { + return this._aboutToAddGenerationCallback; } - loadConfiguration() { + set aboutToAddGenerationCallback(e3) { + this._aboutToAddGenerationCallback = e3; } - get helpTopic() { + get generationDescription() { + return this._generationDescription; } - } - t2.CustomTypesViewModel = a; - }, 32967: (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); + set generationDescription(e3) { + this._generationDescription = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "generationDescription", "value"), true); } - get _globalTypeName() { - return "journeyOutcomeScoreCollection"; + setGenerationDescription(e3) { + return this.generationDescription = e3, this; } - get initialValue() { - return this._initialValue; + setGenerationDescriptionFromType(e3) { + if (s.ParameterValidator.expectExpressionType(e3, () => a.ParameterInfo.createPropertySet(this.className, "setGenerationDescriptionFromType", "value")), e3) return this.setGenerationDescription(e3.isCollection ? (0, o.sprintf)(d.generators.common.emptyCollectionTypeGenerationDescription, e3.displayString) : (0, o.sprintf)(d.generators.common.notSetSingletonTypeGenerationDescription, e3.displayString)); } - get displayTypeName() { - return "ArchVariableJourneyOutcomeScoreCollection"; + setAboutToAddGenerationCallback(e3) { + return this.aboutToAddGenerationCallback = s.ParameterValidator.expectFunction(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "aboutToAddGenerationCallbackFunction")), this; } - get isArchVariableJourneyOutcomeScoreCollection() { - return true; + verifySprintfStringAndInitialize(e3) { + return this._initialize(), this; } } - t2.default = r2; - }, 32980: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.reportUnhandledError = void 0; - var n2 = i2(93728), r2 = i2(94808); - t2.reportUnhandledError = function(e3) { - r2.timeoutProvider.setTimeout(function() { - var t3 = n2.config.onUnhandledError; - if (!t3) throw e3; - t3(e3); - }); - }; - }, 33022: (e2, t2, i2) => { + t2.default = _; + }, 39029(e2, t2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const i2 = ", "; + class n2 { constructor(e3) { - super(e3); + Object.defineProperties(this, { _amInBucketGeneration: { value: false, writable: true }, _amInBucketGenerationCheckFunctionCall: { value: false, writable: true }, _buildTextHelper: { value: e3, writable: true }, _funcCallStack: { value: [], writable: true }, _funcCallDepth: { value: 0, writable: true }, _genDepth: { value: 0, writable: true }, _prevGenerationsStartIdx: { value: [], writable: true }, _prevGenerationsEndIdx: { value: [], writable: true }, _resultParts: { value: [], writable: true } }); } - get _globalTypeName() { - return "languageSkill"; + static create(e3) { + const t3 = new n2(e3); + return e3.reset(), t3; } - get displayTypeName() { - return "ArchVariableLanguageSkill"; + get _lastResultPart() { + return this._resultParts.length ? this._resultParts[this._resultParts.length - 1] : ""; } - get initialValue() { - return this._initialValue; + _addResultPart(e3, t3) { + e3 && (this._resultParts.push(e3), !t3 && this._funcCallDepth && (this._funcCallStack[this._funcCallDepth - 1] = true)); } - get isArchVariableLanguageSkill() { - return true; + _disableBucketGenerationChecks() { + this._amInBucketGeneration = false, this._amInBucketGenerationCheckFunctionCall = false; } - } - t2.default = r2; - }, 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), 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; + addFuncCall(e3) { + return this.addResultPart(e3), this._funcCallStack.push(false), this._funcCallDepth++, this._buildTextHelper.increaseIndent(), true; } - get id() { - return this.name; + addNewlineIndent() { + this._resultParts.length && this._addResultPart(`${this._buildTextHelper.newLine}${this._buildTextHelper.currentIndent}`, true); } - get cardLabel() { - return this.name; + addResultPart(e3) { + e3 && (this._amInBucketGeneration && (this._amInBucketGenerationCheckFunctionCall && !this._funcCallDepth || this.addNewlineIndent(), this._disableBucketGenerationChecks()), this._addResultPart(e3)); } - get className() { - return "IntentSettingsViewModel"; + addFuncParmSeparator() { + this._funcCallDepth && this._funcCallStack[this._funcCallDepth - 1] && this._lastResultPart !== i2 && this.addResultPart(i2); } - getDisplayName() { - return h.intents.label; + destroy() { + this._buildTextHelper = void 0, this._funcCallStack = void 0, this._funcCallDepth = void 0, this._genDepth = void 0, this._prevGenerationsStartIdx = void 0, this._prevGenerationsEndIdx = void 0, this._resultParts = void 0, this._amInBucketGeneration = void 0, this._amInBucketGenerationCheckFunctionCall = void 0; } - getConfiguration(e3, t3) { - var i3; - e3.nluMetaData && e3.nluMetaData.intents && (e3.nluMetaData.intents[this.name] = { confirmation: null === (i3 = this.confirmationExpression) || void 0 === i3 ? void 0 : i3.getConfiguration(e3, t3) }); + endFuncCall() { + return !!this._funcCallDepth && (this._funcCallStack.pop(), this._funcCallDepth--, this._buildTextHelper.decreaseIndent(), this.addResultPart(")"), true); } - loadConfiguration(e3) { - var t3, i3; - const n3 = (null === (t3 = e3.nluMetaData) || void 0 === t3 ? void 0 : t3.intents) && (null === (i3 = e3.nluMetaData) || void 0 === i3 ? void 0 : i3.intents[this.name]); - if (!n3) return; - if (!n3.confirmation && !this.parentFlow.isReadOnly) return void this.createNewConfirmationExpression(); - const r3 = new p(n3.confirmation); - this.confirmationExpression = s.expression(this.parentFlow, this.parentFlow.botFlowSettings, r3, h.intents.settings.confirmation, u.globalTypes.communication, null, null); + get buildTextHelper() { + return this._buildTextHelper; } - updateDependencies() { - c.registerExpression(this.confirmationExpression); + clearBuildTextHelper() { + this._buildTextHelper = void 0; } - _setConfirmationDesciptionInfo(e3) { - null == e3 || e3.options.setDescriptionInfo(h.intents.settings.confirmation, h.intents.settings.intentSettingConfirmationDescription); + get genDepth() { + return this._genDepth; } - createNewConfirmationExpression() { - const e3 = s.expression(this.parentFlow, this.parentFlow.botFlowSettings, null, h.intents.settings.confirmation, u.globalTypes.communication, null, null); - e3.options.setDefaultToBuilderId(a.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(o.default), e3.setModeWithTransition(l.builder, a.builderIds.parts.genericCommunication), e3.builder.addOrSetStringLiteralBuilderPart((0, r2.sprintf)(_(this.parentFlow.defaultLanguage).intentConfirmation, this.name)), this._setConfirmationDesciptionInfo(e3), e3.initializeDesignTime(), this.confirmationExpression = e3; + genDepthIncrement() { + return this._genDepth = this._genDepth + 1, this._genDepth; } - validate(e3) { - var t3, i3; - (null === (t3 = this.confirmationExpression) || void 0 === t3 ? void 0 : t3.builder) && !this.confirmationExpression.config && this.confirmationExpression.builder.updateOwningExpression(), null === (i3 = this.confirmationExpression) || void 0 === i3 || i3.validate(e3); + genDepthDecrement() { + return this._genDepth = this._genDepth - 1, this._genDepth; } - destroy() { - var e3; - return null === (e3 = this.confirmationExpression) || void 0 === e3 || e3.destroy(), super.destroy(); + get lastBucketGenerationText() { + let e3; + for (e3 = this._prevGenerationsEndIdx.length - 1; e3 >= 0 && !(this._prevGenerationsEndIdx[e3] > -1); e3--) ; + if (e3 < 0) return ""; + let t3 = ""; + for (let n3 = this._prevGenerationsStartIdx[e3]; n3 <= this._prevGenerationsEndIdx[e3]; n3++) t3 += this._resultParts[n3] !== i2 ? this._resultParts[n3].trim() : i2; + return t3; } - search(e3) { - e3.addToQueue(this.confirmationExpression); + getResult() { + return this._resultParts.join(""); } - initializeDesignTime() { - var e3; - super.initializeDesignTime(), this._setConfirmationDesciptionInfo(this.confirmationExpression), null === (e3 = this.confirmationExpression) || void 0 === e3 || e3.initializeDesignTime(); + addGenerationSeparator(e3) { + this._buildTextHelper.increaseIndent(), this.addGenerationText(e3), this._buildTextHelper.decreaseIndent(); + } + addGenerationText(e3) { + this.addNewlineIndent(), this.addResultPart(e3); + } + setBucketGenerationStart(e3) { + this._amInBucketGeneration = true, this._amInBucketGenerationCheckFunctionCall = !!e3, this._prevGenerationsStartIdx.push(this._resultParts.length), this._prevGenerationsEndIdx.push(-1); + } + setBucketGenerationEnd() { + this._prevGenerationsEndIdx[this._prevGenerationsEndIdx.length - 1] = this._resultParts.length - 1, this._disableBucketGenerationChecks(); } } - t2.default = m; - }, 33067: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAudioConnectorBot = t2.getAudioConnectorBots = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(55892), o = i2(7452), a = { ignoreBadResponse: true }; - t2.getAudioConnectorBots = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/audioconnector/", o, a), t2.getAudioConnectorBot = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/audioconnector/{integrationId}", r2, a); - }, 33073: (e2, t2, i2) => { + t2.default = n2; + }, 96727(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importStar(i2(74359)), r = n2.__importDefault(i2(73198)), a = i2(14394), s = n2.__importDefault(i2(22599)), l = i2(16958), u = new class { + constructor() { + Object.defineProperties(this, { _genericBuilderWithPartsGenerator: { value: s.default.create().addFuncCallParmGenerationBucket("containerPartGenerations", true).addFuncCallParmGenerationBucket("builderGeneration").addTokenReplacement(0).verifySprintfStringAndInitialize("%1$s") }, _emptyStringGenerator: { value: s.default.create().addText("").verifySprintfStringAndInitialize("") }, _emptyStringLiteralGenerator: { value: s.default.create().addText('""').verifySprintfStringAndInitialize('""') }, _falseLiteralGenerator: { value: s.default.create().addTokenBooleanFalse().verifySprintfStringAndInitialize("false") }, _lastGenNotSetOrEmptySpaceSepGenerator: { value: s.default.create().addFuncCall("If").addFuncCall("IsNotSetOrEmpty").addLastGeneratedText().addFuncCallEnd().addFuncParameterSeparator().addToken('""').addFuncParameterSeparator().addToken('" "').addFuncCallEnd().verifySprintfStringAndInitialize('If(IsNotSetOrEmpty(), "", " ")') }, _notSetAudioGenerator: { value: s.default.create().addFuncCall("ToAudio").addFuncCall("ToPrompt").addNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToAudio(ToPrompt(NOT_SET))") }, _notSetBooleanGenerator: { value: s.default.create().addFuncCall("ToBool").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToBool(NOT_SET)") }, _notSetCommunicationGenerator: { value: s.default.create().addFuncCall("ToCommunication").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(NOT_SET)") }, _notSetDateTimeGenerator: { value: s.default.create().addFuncCall("ToDateTime").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToDateTime(NOT_SET)") }, _notSetDurationGenerator: { value: s.default.create().addFuncCall("ToDuration").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToDuration(NOT_SET)") }, _notSetImageGenerator: { value: s.default.create().addFuncCall("ToImage").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToImage(NOT_SET)") }, _notSetIntegerGenerator: { value: s.default.create().addFuncCall("ToInt").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToInt(NOT_SET)") }, _notSetPromptGenerator: { value: s.default.create().addFuncCall("ToPrompt").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToPrompt(NOT_SET)") }, _notSetStringGenerator: { value: s.default.create().addFuncCall("ToString").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToString(NOT_SET)") }, _notSetVideoGenerator: { value: s.default.create().addFuncCall("ToVideo").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToVideo(NOT_SET)") }, _notSetAgentScorePairGenerator: { value: s.default.create().addFuncCall("ToAgentScorePair").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToAgentScorePair(NOT_SET)") }, _singleSpaceStringLiteralGenerator: { value: s.default.create().addText('" "').verifySprintfStringAndInitialize('" "') }, _singleTokenReplacementGenerator: { value: s.default.create().addTokenReplacement(0).verifySprintfStringAndInitialize("%1$s") } }), o.loaded.then(() => this._finalizeGenerators()); } - get _globalTypeName() { - return "date"; + get singleTokenReplacementGenerator() { + return this._singleTokenReplacementGenerator; } - get displayTypeName() { - return "ArchVariableDate"; + get emptyStringLiteralGenerator() { + return this._emptyStringLiteralGenerator; } - get initialValue() { - return this._initialValue; + get emptyStringGenerator() { + return this._emptyStringGenerator; } - get isArchVariableDate() { - return true; + get falseLiteralGenerator() { + return this._falseLiteralGenerator; } - } - t2.default = r2; - }, 33089: (e2, t2, i2) => { - var n2 = { "./ar-ae/templates.js": 5700, "./ar-eg/templates.js": 94434, "./ar-sa/templates.js": 61510, "./ca-es/templates.js": 8895, "./cs-cz/templates.js": 61044, "./da-dk/templates.js": 44379, "./de-ch/templates.js": 58873, "./de-de/templates.js": 69549, "./el-gr/templates.js": 91709, "./en-au/templates.js": 49108, "./en-gb/templates.js": 16435, "./en-us/templates.js": 6142, "./es-es/templates.js": 88439, "./es-mx/templates.js": 73374, "./es-us/templates.js": 8487, "./eu-es/templates.js": 94681, "./fi-fi/templates.js": 66593, "./fil-ph/templates.js": 5284, "./fr-be/templates.js": 79186, "./fr-ca/templates.js": 52179, "./fr-fr/templates.js": 86875, "./he-il/templates.js": 92475, "./hi-in/templates.js": 46377, "./hu-hu/templates.js": 79133, "./it-it/templates.js": 48093, "./ja-jp/templates.js": 55958, "./ko-kr/templates.js": 82984, "./ms-my/templates.js": 15897, "./nb-no/templates.js": 35476, "./nl-be/templates.js": 55836, "./nl-nl/templates.js": 68227, "./pl-pl/templates.js": 3863, "./pt-br/templates.js": 74423, "./pt-pt/templates.js": 40551, "./ru-ru/templates.js": 76641, "./sv-se/templates.js": 18272, "./th-th/templates.js": 10135, "./tr-tr/templates.js": 33943, "./uk-ua/templates.js": 41593, "./vi-vn/templates.js": 26928, "./zh-cn/templates.js": 93500, "./zh-hk/templates.js": 14372, "./zh-tw/templates.js": 6500 }; - function r2(e3) { - var t3 = o(e3); - return i2(t3); - } - function o(e3) { - if (!i2.o(n2, e3)) { - var t3 = new Error("Cannot find module '" + e3 + "'"); - throw t3.code = "MODULE_NOT_FOUND", t3; + get lastGenNotSetOrEmptySpaceSepGenerator() { + return this._lastGenNotSetOrEmptySpaceSepGenerator; } - return n2[e3]; - } - r2.keys = function() { - return Object.keys(n2); - }, r2.resolve = o, e2.exports = r2, r2.id = 33089; - }, 33139: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { actions: "actions", actionList: "actionList", choices: "choices", flowSequenceItemList: "flowSequenceItemList", menuChoiceList: "menuChoiceList", menus: "menus", outputPaths: "outputPaths", paths: "paths", tasks: "tasks", states: "states" }; - }, 33143: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BotConnectorViewModel = void 0; - const n2 = i2(43212); - class r2 extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3); + get singleSpaceStringLiteralGenerator() { + return this._singleSpaceStringLiteralGenerator; } - get className() { - return "BotConnectorViewModel"; + get genericBuilderWithPartsGenerator() { + return this._genericBuilderWithPartsGenerator; } - get botCompositeTag() { - return this._model.botCompositeTag; + get notSetAudioGenerator() { + return this._notSetAudioGenerator; } - get botName() { - return this._model.name; + get notSetBooleanGenerator() { + return this._notSetBooleanGenerator; } - get dependencySearchId() { - return this.botCompositeTag; + get notSetCommunicationGenerator() { + return this._notSetCommunicationGenerator; } - get id() { - return this._model.id; + get notSetDateTimeGenerator() { + return this._notSetDateTimeGenerator; } - get integrationId() { - return this._model.integrationId; + get notSetDurationGenerator() { + return this._notSetDurationGenerator; } - getConfiguration() { - return this._model; + get notSetIntegerGenerator() { + return this._notSetIntegerGenerator; } - get label() { - return this._model.name || ""; + get notSetImageGenerator() { + return this._notSetImageGenerator; } - get name() { - return this._model.name; + get notSetPromptGenerator() { + return this._notSetPromptGenerator; } - get versions() { - return this._model.versions; + get notSetStringGenerator() { + return this._notSetStringGenerator; } - } - t2.BotConnectorViewModel = r2; - }, 33169: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get notSetVideoGenerator() { + return this._notSetVideoGenerator; } - get _globalTypeName() { - return "integerCollection"; + get notSetAgentScorePairGenerator() { + return this._notSetAgentScorePairGenerator; } - get displayTypeName() { - return "ArchValueIntegerCollection"; + createEmptyStringGeneration() { + return this._emptyStringGenerator.createGeneration(); } - get isArchValueIntegerCollection() { - return true; + _finalizeGenerators() { + this._emptyStringLiteralGenerator.setGenerationDescription(l.generators.emptyStringLiteral.generationDescription), this._falseLiteralGenerator.setGenerationDescription(r.default.false), this._notSetAudioGenerator.setGenerationDescriptionFromType(a.globalTypes.audio), this._notSetBooleanGenerator.setGenerationDescriptionFromType(a.globalTypes.boolean), this._notSetDateTimeGenerator.setGenerationDescriptionFromType(a.globalTypes.dateTime), this._notSetDurationGenerator.setGenerationDescriptionFromType(a.globalTypes.duration), this._notSetImageGenerator.setGenerationDescriptionFromType(a.globalTypes.image), this._notSetIntegerGenerator.setGenerationDescriptionFromType(a.globalTypes.integer), this._notSetPromptGenerator.setGenerationDescriptionFromType(a.globalTypes.prompt), this._notSetStringGenerator.setGenerationDescriptionFromType(a.globalTypes.string), this._notSetVideoGenerator.setGenerationDescriptionFromType(a.globalTypes.video), this._notSetAgentScorePairGenerator.setGenerationDescriptionFromType(a.globalTypes.agentScorePair); } - } - t2.default = r2; - }, 33230: (e2, t2, i2) => { + }(); + t2.default = u; + }, 80568(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.switchToNewIntentPaths = function(e3, t3, i3) { - let n3; - for (let r4 = 0; r4 < t3.length; r4++) { - const a2 = t3[r4]; - n3 = e3.getBranch(a2.outputId) || e3.getBranchByLabel(a2.localizedLabel || a2.label, true), n3 ? (n3.model.localizedLabel = a2.localizedLabel, n3.outOfService || n3.enableFull()) : (n3 = e3.addOptionalBranchInfo(a2), o.default.isFunction(i3) && i3(n3)); - } - const r3 = o.default.reject(e3.branchInfoList, (e4) => !e4.isDynamicBranch), a = o.default.filter(r3, (e4) => e4.localizedLabel ? !o.default.findWhere(t3, { localizedLabel: e4.localizedLabel }) : !o.default.findWhere(t3, { label: e4.label })); - for (let t4 = 0; t4 < a.length; t4++) { - const i4 = a[t4].localizedLabel || a[t4].label; - n3 = e3.getBranchByLabel(i4, a[t4].isDynamicBranch), n3 && n3.hasChildren ? n3.isUnreachable = true : e3.removeOptionalBranchInfoByLabel(i4); - } - e3.sortBranches(); - }, t2.translateIntentsToBranchItems = function(e3, t3) { - const i3 = []; - return o.default.each(t3, (t4) => { - 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); + Object.defineProperty(t2, "__esModule", { value: true }), t2.resolvePartsParametersAndGetText = function(e3, t3, i3, o2) { + const a = []; + return t3.length ? (n2.default.each(t3, (t4) => { + const s = r(e3, t4, i3, o2); + n2.default.isString(s) && a.push(s); + }), a) : a; + }, t2.resolveParametersAndGetText = r, t2.resolveParametersAndSetExpressionValue = function(e3, t3, i3, r2) { + var a, s, l, u; + if (!(null == i3 ? void 0 : i3.parameters)) return false; + let c = i3.parameters.text; + if (n2.default.isString(c)) return t3.setAsLiteral(c), true; + if (r2) { + const e4 = i3.parameters.templateNoOverlaySection; + if (e4) { + const a2 = i3.parameters.templateNoOverlaySectionKey; + if (a2) { + const i4 = o(r2.idExpressionText).noOverlay; + 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 = o(r2.idExpressionText)[e5]; + if (n2.default.isString(a2)) return c = a2, t3.setAsLiteral(c), true; + const s2 = a2[i3.parameters[e5]]; + if (s2 && (c = s2, n2.default.isString(c))) return t3.setAsLiteral(c), true; + } } } - 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); + switch (i3.parameters.reference) { + case "$askResultVariable": + 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 (c = (null === (u = e3.owningExpression.parent) || void 0 === u ? void 0 : u.selectedSlot) || o(e3.owningExpression.parentFlow.defaultLanguage).askForSlot.pleaseEnterSlotNameHere, n2.default.isString(c)) return t3.setAsLiteral(c), true; } - e3.sortBranches(); + return false; }; - const n2 = i2(31635), r2 = n2.__importStar(i2(59288)), o = n2.__importDefault(i2(92140)); - }, 33231: (e2) => { - !(function(t2) { - "use strict"; - "function" == typeof bootstrap ? bootstrap("promise", t2) : e2.exports = t2(); - })(function() { - "use strict"; - var e3 = false; - try { - throw new Error(); - } catch (t3) { - e3 = !!t3.stack; - } - var t2, i2 = A(), n2 = function() { - }, r2 = (function() { - var e4 = { task: void 0, next: null }, t3 = e4, i3 = false, n3 = void 0, o2 = false; - function a2() { - for (; e4.next; ) { - var t4 = (e4 = e4.next).task; - e4.task = void 0; - var n4 = e4.domain; - n4 && (e4.domain = void 0, n4.enter()); - try { - t4(); - } catch (e5) { - if (o2) throw n4 && n4.exit(), setTimeout(a2, 0), n4 && n4.enter(), e5; - setTimeout(function() { - throw e5; - }, 0); - } - n4 && n4.exit(); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(21733); + function r(e3, t3, i3, r2) { + var a, s, l, u; + if (!(null == t3 ? void 0 : t3.parameters)) return; + let c = t3.parameters.text; + if (n2.default.isString(c)) return c; + if (i3) { + const e4 = t3.parameters.templateNoOverlaySection; + if (e4) { + const r3 = t3.parameters.templateNoOverlaySectionKey; + if (r3) { + const t4 = o(i3.idExpressionText).noOverlay; + if (t4 && t4[e4] && (c = t4[e4][r3], n2.default.isString(c))) return c; } - i3 = false; - } - if (r2 = function(e5) { - t3 = t3.next = { task: e5, domain: o2 && process.domain, next: null }, i3 || (i3 = true, n3()); - }, "undefined" != typeof process && process.nextTick) o2 = true, n3 = function() { - process.nextTick(a2); - }; - else if ("function" == typeof setImmediate) n3 = "undefined" != typeof window ? setImmediate.bind(window, a2) : function() { - setImmediate(a2); - }; - else if ("undefined" != typeof MessageChannel) { - var s2 = new MessageChannel(); - s2.port1.onmessage = function() { - n3 = l2, s2.port1.onmessage = a2, a2(); - }; - var l2 = function() { - s2.port2.postMessage(0); - }; - n3 = function() { - setTimeout(a2, 0), l2(); - }; - } else n3 = function() { - setTimeout(a2, 0); - }; - return r2; - })(), o = Function.call; - function a(e4) { - return function() { - return o.apply(e4, arguments); - }; - } - var s, l = a(Array.prototype.slice), u = a(Array.prototype.reduce || function(e4, t3) { - var i3 = 0, n3 = this.length; - if (1 === arguments.length) for (; ; ) { - if (i3 in this) { - t3 = this[i3++]; - break; + } else if (1 === Object.keys(t3.parameters).length && "reference" !== Object.keys(t3.parameters)[0]) { + const e5 = Object.keys(t3.parameters)[0]; + if (e5) { + const r3 = o(i3.idExpressionText)[e5]; + if (n2.default.isString(r3)) return r3; + const a2 = r3[t3.parameters[e5]]; + if (a2 && (c = a2, n2.default.isString(c))) return c; } - if (++i3 >= n3) throw new TypeError(); - } - for (; i3 < n3; i3++) i3 in this && (t3 = e4(t3, this[i3], i3)); - return t3; - }), c = a(Array.prototype.indexOf || function(e4) { - for (var t3 = 0; t3 < this.length; t3++) if (this[t3] === e4) return t3; - return -1; - }), 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)); - }, void 0), n3; - }), p = Object.create || function(e4) { - function t3() { - } - return t3.prototype = e4, new t3(); - }, _ = a(Object.prototype.hasOwnProperty), h = Object.keys || function(e4) { - var t3 = []; - for (var i3 in e4) _(e4, i3) && t3.push(i3); - return t3; - }, m = a(Object.prototype.toString); - s = "undefined" != typeof ReturnValue ? ReturnValue : function(e4) { - this.value = e4; - }; - var g = "From previous event:"; - function f(t3, i3) { - if (e3 && i3.stack && "object" == typeof t3 && null !== t3 && t3.stack && -1 === t3.stack.indexOf(g)) { - for (var n3 = [], r3 = i3; r3; r3 = r3.source) r3.stack && n3.unshift(r3.stack); - n3.unshift(t3.stack); - var o2 = n3.join("\n" + g + "\n"); - t3.stack = (function(e4) { - for (var t4 = e4.split("\n"), i4 = [], n4 = 0; n4 < t4.length; ++n4) { - var r4 = t4[n4]; - S(r4) || T(r4) || !r4 || i4.push(r4); - } - return i4.join("\n"); - })(o2); } } - function T(e4) { - return -1 !== e4.indexOf("(module.js:") || -1 !== e4.indexOf("(node.js:"); + switch (t3.parameters.reference) { + case "$askResultVariable": + 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 r2 ? `{{${c}}}` : c; + break; + case "$selectedSlotName": + if (c = (null === (u = e3.owningExpression.parent) || void 0 === u ? void 0 : u.selectedSlot) || o(e3.owningExpression.parentFlow.defaultLanguage).askForSlot.pleaseEnterSlotNameHere, n2.default.isString(c)) return c; + } + } + }, 73062(e2, t2) { + "use strict"; + 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__" }; + }, 28562(e2, t2) { + "use strict"; + 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__" } }; + }, 69149(e2, t2) { + "use strict"; + t2.builderPartIds = void 0, t2.builderPartIds = { agentScorePair: { makeAgentScorePair: "__BUILDER_PART_MAKE_AGENT_SCORE_PAIR__" }, audio: { container: { language: "__BUILDER_PART_AUDIO_CONTAINER_LANGUAGE__" }, data: "__BUILDER_PART_AUDIO_DATA__", expression: "__BUILDER_PART_AUDIO_EXPRESSION__", findUserWithFallback: "__BUILDER_PART_AUDIO_USER_WITH_FALLBACK__", findSystemWithFallback: "__BUILDER_PART_AUDIO_SYSTEM_WITH_FALLBACK__", prompt: "__BUILDER_PART_AUDIO_PROMPT__", text: "__BUILDER_PART_AUDIO_TEXT__" }, boolean: { checkDialingCode: "__BUILDER_PART_BOOLEAN_CHECK_DIALING_CODE__", container: { language: "__BUILDER_PART_BOOLEAN_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_BOOLEAN_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_BOOLEAN_CONTAINER_OUTPUT_MODE__" }, expression: "__BUILDER_PART_BOOLEAN_EXPRESSION__", literal: "__BUILDER_PART_BOOLEAN_LITERAL__" }, communication: { container: { language: "__BUILDER_PART_COMMUNICATION_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_COMMUNICATION_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_COMMUNICATION_CONTAINER_OUTPUT_MODE__" }, blank: "__BUILDER_PART_COMMUNICATION_BLANK__", data: "__BUILDER_PART_COMMUNICATION_DATA__", digitalAudioUrl: "__BUILDER_PART_COMMUNICATION_DIGITAL_AUDIO_URL__", expression: "__BUILDER_PART_COMMUNICATION_EXPRESSION__", fileUrl: "__BUILDER_PART_COMMUNICATION_FILE_URL__", imageUrl: "__BUILDER_PART_COMMUNICATION_IMAGE_URL__", markdown: "__BUILDER_PART_COMMUNICATION_MARKDOWN__", prompt: "__BUILDER_PART_COMMUNICATION_PROMPT__", text: "__BUILDER_PART_COMMUNICATION_TEXT__", videoUrl: "__BUILDER_PART_COMMUNICATION_VIDEO_URL__" }, dateTime: { container: { language: "__BUILDER_PART_DATE_TIME_CONTAINER_LANGUAGE__" }, dateTimeInDateRange: "__BUILDER_PART_DATE_TIME_IS_IN_DATE_RANGE__", dateTimeInTimeRange: "__BUILDER_PART_DATE_TIME_IS_IN_TIME_RANGE__", dateTimeIsWeekday: "__BUILDER_PART_DATE_TIME_IS_WEEKDAY__", dateTimeIsWeekend: "__BUILDER_PART_DATE_TIME_IS_WEEKEND__", firstDayOfNextMonth: "__BUILDER_PART_FIRST_DAY_OF_NEXT_MONTH__", lastDayOfMonth: "__BUILDER_PART_LAST_DAY_OF_MONTH__", nextDayOfWeek: "__BUILDER_PART_NEXT_DAY_OF_WEEK__" }, duration: { container: { language: "__BUILDER_PART_DURATION_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_DURATION_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_DURATION_CONTAINER_OUTPUT_MODE__" }, literal: "__BUILDER_PART_DURATION_LITERAL__" }, email: { emailBodyContains: "__BUILDER_PART_EMAIL_BODY_CONTAINS__", emailBodyOrSubjectContains: "__BUILDER_PART_EMAIL_SUBJECT_OR_BODY_CONTAINS__", emailFromDomainPartContains: "__BUILDER_PART_EMAIL_FROM_DOMAIN_PART_CONTAINS__", emailFromLocalPartContains: "__BUILDER_PART_EMAIL_FROM_LOCAL_PART_CONTAINS__", emailSubjectContains: "__BUILDER_PART_EMAIL_SUBJECT_CONTAINS__" }, image: { imageUrl: "__BUILDER_PART_IMAGE_IMAGE_URL__", expression: "__BUILDER_PART_IMAGE_EXPRESSION__", literal: "__BUILDER_PART_IMAGE_LITERAL_TO_FIND_BY_NAME__", container: { language: "__BUILDER_PART_IMAGE_CONTAINER_LANGUAGE__" } }, integer: { container: { language: "__BUILDER_PART_INTEGER_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_INTEGER_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_INTEGER_CONTAINER_OUTPUT_MODE__" }, literal: "__BUILDER_PART_INTEGER_LITERAL__" }, prompt: { findUserWithFallback: "__BUILDER_PART_PROMPT_USER_WITH_FALLBACK__", findSystemWithFallback: "__BUILDER_PART_PROMPT_SYSTEM_WITH_FALLBACK__" }, string: { container: { language: "__BUILDER_PART_STRING_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_STRING_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_STRING_CONTAINER_OUTPUT_MODE__" }, contains: "__BUILDER_PART_STRING_CONTAINS__", data: "__BUILDER_PART_STRING_DATA__", deflectionURL: "__BUILDER_PART_STRING_DEFLECTION_URL__", endsWith: "__BUILDER_PART_STRING_ENDS_WITH__", expression: "__BUILDER_PART_STRING_EXPRESSION__", lastFour: "__BUILDER_PART_LAST_4__", markdown: "__BUILDER_PART_STRING_MARKDOWN__", prompt: "__BUILDER_PART_STRING_PROMPT__", startsWith: "__BUILDER_PART_STRING_STARTS_WITH__", text: "__BUILDER_PART_STRING_TEXT__" }, video: { videoUrl: "__BUILDER_PART_VIDEO_VIDEO_URL__" } }; + }, 93631(e2, t2) { + "use strict"; + 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__"; + }, 62252(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(19596), o = i2(80295), r = i2(9456); + class a extends n2.DataContract { + constructor(e3) { + super(e3), (0, o.makeUnenumerable)(this, "_partAndPartsOutOfService"), Object.defineProperties(this, { builderDefId: { writable: true, enumerable: true }, id: { value: (0, r.uuid)(), writable: true, enumerable: true }, version: { value: e3.version, writable: true, enumerable: true } }), e3.builderDefId && (this.builderDefId = e3.builderDefId); } - function y(e4) { - var t3 = /at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e4); - if (t3) return [t3[1], Number(t3[2])]; - var i3 = /at ([^ ]+):(\d+):(?:\d+)$/.exec(e4); - if (i3) return [i3[1], Number(i3[2])]; - var n3 = /.*@(.+):(\d+)$/.exec(e4); - return n3 ? [n3[1], Number(n3[2])] : void 0; + pasteReIdOrRename(e3) { + this.id = e3.pasteGenerateNewGuid(this.id); } - function S(e4) { - var n3 = y(e4); - if (!n3) return false; - var r3 = n3[0], o2 = n3[1]; - return r3 === t2 && o2 >= i2 && o2 <= W; + pasteResolveOldToNewValues(e3) { } - function A() { - if (e3) try { - throw new Error(); - } catch (e4) { - var i3 = e4.stack.split("\n"), n3 = y(i3[0].indexOf("@") > 0 ? i3[1] : i3[2]); - if (!n3) return; - return t2 = n3[0], n3[1]; - } + get partAndPartsOutOfService() { + return this._partAndPartsOutOfService; } - function N(e4) { - 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); - } catch (e6) { - t3.reject(e6); - } - }), t3.promise; - })(e4) : k(e4); + set partAndPartsOutOfService(e3) { + this._partAndPartsOutOfService = e3; } - 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() { - t3.promiseDispatch.apply(t3, a3); - }); - }, o2.valueOf = function() { - if (i3) return o2; - var e4 = E(t3); - return w(e4) && (t3 = e4), e4; - }, o2.inspect = function() { - return t3 ? t3.inspect() : { state: "pending" }; - }, N.longStackSupport && e3) try { - throw new Error(); - } catch (e4) { - o2.stack = e4.stack.substring(e4.stack.indexOf("\n") + 1); - } - function a2(e4) { - t3 = e4, o2.source = e4, u(i3, function(t4, i4) { - N.nextTick(function() { - e4.promiseDispatch.apply(e4, i4); - }); - }, void 0), i3 = void 0, n3 = void 0; - } - return r3.promise = o2, r3.resolve = function(e4) { - t3 || a2(N(e4)); - }, r3.fulfill = function(e4) { - t3 || a2(k(e4)); - }, r3.reject = function(e4) { - t3 || a2(x(e4)); - }, r3.notify = function(e4) { - t3 || u(n3, function(t4, i4) { - N.nextTick(function() { - i4(e4); - }); - }, void 0); - }, r3; + } + t2.default = a; + }, 98134(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(11541)), a = n2.__importDefault(i2(27702)), s = n2.__importDefault(i2(62252)); + class l extends s.default { + constructor(e3) { + super(e3), Object.defineProperties(this, { _builderPartContainerModels: { writable: true, enumerable: false }, _builderPartModels: { writable: true, enumerable: false } }), this.partAndPartsOutOfService = void 0; } - function O(e4) { - if ("function" != typeof e4) throw new TypeError("resolver must be a function."); - var t3 = v(); - try { - e4(t3.resolve, t3.reject, t3.notify); - } catch (e5) { - t3.reject(e5); - } - return t3.promise; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), o.default.each(this._builderPartModels, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)), o.default.each(this._builderPartContainerModels, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)); } - function I(e4) { - return O(function(t3, i3) { - for (var n3 = 0, r3 = e4.length; n3 < r3; n3++) N(e4[n3]).then(t3, i3); - }); + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), o.default.each(this._builderPartModels, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)), o.default.each(this._builderPartContainerModels, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)); } - function C(e4, t3, i3) { - void 0 === t3 && (t3 = function(e5) { - return x(new Error("Promise does not support operation: " + e5)); - }), void 0 === i3 && (i3 = function() { - return { state: "unknown" }; - }); - var n3 = p(C.prototype); - if (n3.promiseDispatch = function(i4, r4, o2) { - var a2; - try { - a2 = e4[r4] ? e4[r4].apply(n3, o2) : t3.call(n3, r4, o2); - } catch (e5) { - a2 = x(e5); - } - i4 && i4(a2); - }, n3.inspect = i3, i3) { - var r3 = i3(); - "rejected" === r3.state && (n3.exception = r3.reason), n3.valueOf = function() { - var e5 = i3(); - return "pending" === e5.state || "rejected" === e5.state ? n3 : e5.value; - }; - } - return n3; + } + t2.default = l, Object.defineProperties(l.prototype, { builderPartContainers: { enumerable: true, get: function() { + return this._builderPartContainerModels; + }, set: function(e3) { + this._builderPartContainerModels = this.reviveArray(e3, r.default); + } }, builderParts: { enumerable: true, get: function() { + return this._builderPartModels; + }, set: function(e3) { + this._builderPartModels = this.reviveArray(e3, a.default); + } } }); + }, 11541(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(80295), a = i2(80295), s = n2.__importDefault(i2(62121)), l = n2.__importDefault(i2(27702)); + class u extends s.default { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_builderParts"), (0, r.makeUnenumerable)(this, "_criteria"), this.populateFromJSON(e3); } - function b(e4, t3, i3, n3) { - return N(e4).then(t3, i3, n3); + get builderParts() { + return this._builderParts; } - function E(e4) { - if (w(e4)) { - var t3 = e4.inspect(); - if ("fulfilled" === t3.state) return t3.value; - } - return e4; + set builderParts(e3) { + this._builderParts = this.reviveArray(e3, l.default); } - function w(e4) { - return e4 instanceof C; + get criteria() { + return this._criteria; } - function R(e4) { - return (t3 = e4) === Object(t3) && "function" == typeof e4.then; - var t3; + set criteria(e3) { + this._criteria = e3; } - 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 = 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; - }, N.join = function(e4, t3) { - return N(e4).join(t3); - }, C.prototype.join = function(e4) { - return N([this, e4]).spread(function(e5, t3) { - if (e5 === t3) return e5; - throw new Error("Can't join: not the same: " + e5 + " " + t3); - }); - }, 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 = v(), o2 = false; - return N.nextTick(function() { - n3.promiseDispatch(function(t4) { - o2 || (o2 = true, r3.resolve((function(t5) { - try { - return "function" == typeof e4 ? e4(t5) : t5; - } catch (e5) { - return x(e5); - } - })(t4))); - }, "when", [function(e5) { - o2 || (o2 = true, r3.resolve((function(e6) { - if ("function" == typeof t3) { - f(e6, n3); - try { - return t3(e6); - } catch (e7) { - return x(e7); - } - } - return x(e6); - })(e5))); - }]); - }), n3.promiseDispatch(void 0, "when", [void 0, function(e5) { - var t4, n4 = false; - try { - t4 = (function(e6) { - return "function" == typeof i3 ? i3(e6) : e6; - })(e5); - } catch (e6) { - if (n4 = true, !N.onerror) throw e6; - N.onerror(e6); - } - n4 || r3.notify(t4); - }]), r3.promise; - }, N.tap = function(e4, t3) { - return N(e4).tap(t3); - }, C.prototype.tap = function(e4) { - return e4 = N(e4), this.then(function(t3) { - return e4.fcall(t3).thenResolve(t3); - }); - }, N.when = b, C.prototype.thenResolve = function(e4) { - return this.then(function() { - return e4; - }); - }, N.thenResolve = function(e4, t3) { - return N(e4).thenResolve(t3); - }, C.prototype.thenReject = function(e4) { - return this.then(function() { - throw e4; - }); - }, N.thenReject = function(e4, t3) { - return N(e4).thenReject(t3); - }, 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 !w(e4) || "fulfilled" === e4.inspect().state; - }, C.prototype.isFulfilled = function() { - return "fulfilled" === this.inspect().state; - }, N.isRejected = function(e4) { - return w(e4) && "rejected" === e4.inspect().state; - }, C.prototype.isRejected = function() { - return "rejected" === this.inspect().state; - }; - var D, P = [], M = [], F = true; - function L() { - P.length = 0, M.length = 0, F || (F = true); + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), o.default.each(this._builderParts, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)); } - function x(e4) { - var t3 = C({ when: function(t4) { - return t4 && (function(e5) { - if (F) { - var t5 = c(M, e5); - -1 !== t5 && (M.splice(t5, 1), P.splice(t5, 1)); - } - })(this), t4 ? t4(e4) : this; - } }, function() { - return this; - }, function() { - return { state: "rejected", reason: e4 }; - }); - return (function(e5, t4) { - F && (M.push(e5), t4 && void 0 !== t4.stack ? P.push(t4.stack) : P.push("(no stack) " + t4)); - })(t3, e4), t3; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), o.default.each(this._builderParts, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)); } - function k(e4) { - return C({ when: function() { - return e4; - }, get: function(t3) { - return e4[t3]; - }, set: function(t3, i3) { - e4[t3] = i3; - }, delete: function(t3) { - delete e4[t3]; - }, post: function(t3, i3) { - return null == t3 ? e4.apply(void 0, i3) : e4[t3].apply(e4, i3); - }, apply: function(t3, i3) { - return e4.apply(t3, i3); - }, keys: function() { - return h(e4); - } }, void 0, function() { - return { state: "fulfilled", value: e4 }; - }); + } + t2.default = u, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "builderParts", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "criteria", null); + }, 41800(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11541)); + class o extends n2.default { + constructor(e3) { + super(e3), this.populateFromJSON(e3); } - function V(e4, t3, i3) { - return N(e4).spread(t3, i3); + get languageTag() { + return this._languageTag; } - function U(e4, t3, i3) { - return N(e4).dispatch(t3, i3); + set languageTag(e3) { + this._languageTag = e3; } - function B(e4) { - return b(e4, function(e5) { - var t3 = 0, i3 = v(); - return u(e5, function(n3, r3, o2) { - var a2; - 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 }); - })); - }, void 0), 0 === t3 && i3.resolve(e5), i3.promise; - }); + } + t2.default = o; + }, 4778(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11541)); + class o extends n2.default { + constructor(e3) { + super(e3), this.populateFromJSON(e3); } - function G(e4) { - if (0 === e4.length) return N.resolve(); - var t3 = N.defer(), i3 = 0; - return u(e4, function(n3, r3, o2) { - var a2 = e4[o2]; - i3++, b(a2, function(e5) { - t3.resolve(e5); - }, function() { - 0 === --i3 && t3.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected.")); - }, function(e5) { - t3.notify({ index: o2, value: e5 }); - }); - }, void 0), t3.promise; + get outputMode() { + return this._outputMode; } - function j(e4) { - return b(e4, function(e5) { - return e5 = d(e5, N), b(B(d(e5, function(e6) { - return b(e6, n2, n2); - })), function() { - return e5; - }); - }); + set outputMode(e3) { + this._outputMode = e3; } - N.resetUnhandledRejections = L, N.getUnhandledReasons = function() { - return P.slice(); - }, N.stopUnhandledRejectionTracking = function() { - L(), F = false; - }, L(), N.reject = x, N.fulfill = k, N.master = function(e4) { - return C({ isDef: function() { - } }, function(t3, i3) { - return U(e4, t3, i3); - }, function() { - return N(e4).inspect(); - }); - }, N.spread = V, C.prototype.spread = function(e4, t3) { - return this.all().then(function(t4) { - return e4.apply(void 0, t4); - }, t3); - }, N.async = function(e4) { - return function() { - function t3(e5, t4) { - var o2; - if ("undefined" == typeof StopIteration) { - try { - o2 = i3[e5](t4); - } catch (e6) { - return x(e6); - } - return o2.done ? N(o2.value) : b(o2.value, n3, r3); - } - try { - o2 = i3[e5](t4); - } catch (e6) { - return (function(e7) { - return "[object StopIteration]" === m(e7) || e7 instanceof s; - })(e6) ? N(e6.value) : x(e6); - } - return b(o2, n3, r3); - } - var i3 = e4.apply(this, arguments), n3 = t3.bind(t3, "next"), r3 = t3.bind(t3, "throw"); - return n3(); - }; - }, N.spawn = function(e4) { - N.done(N.async(e4)()); - }, N.return = function(e4) { - throw new s(e4); - }, N.promised = function(e4) { - return function() { - return V([this, B(arguments)], function(t3, i3) { - return e4.apply(t3, i3); - }); - }; - }, N.dispatch = U, C.prototype.dispatch = function(e4, t3) { - var i3 = this, n3 = v(); - return N.nextTick(function() { - i3.promiseDispatch(n3.resolve, e4, t3); - }), n3.promise; - }, N.get = function(e4, t3) { - return N(e4).dispatch("get", [t3]); - }, C.prototype.get = function(e4) { - return this.dispatch("get", [e4]); - }, N.set = function(e4, t3, i3) { - return N(e4).dispatch("set", [t3, i3]); - }, C.prototype.set = function(e4, t3) { - return this.dispatch("set", [e4, t3]); - }, N.del = N.delete = function(e4, t3) { - return N(e4).dispatch("delete", [t3]); - }, C.prototype.del = C.prototype.delete = function(e4) { - return this.dispatch("delete", [e4]); - }, N.mapply = N.post = function(e4, t3, i3) { - return N(e4).dispatch("post", [t3, i3]); - }, C.prototype.mapply = C.prototype.post = function(e4, t3) { - return this.dispatch("post", [e4, t3]); - }, N.send = N.mcall = N.invoke = function(e4, t3) { - return N(e4).dispatch("post", [t3, l(arguments, 2)]); - }, C.prototype.send = C.prototype.mcall = C.prototype.invoke = function(e4) { - return this.dispatch("post", [e4, l(arguments, 1)]); - }, N.fapply = function(e4, t3) { - return N(e4).dispatch("apply", [void 0, t3]); - }, C.prototype.fapply = function(e4) { - return this.dispatch("apply", [void 0, e4]); - }, N.try = N.fcall = function(e4) { - return N(e4).dispatch("apply", [void 0, l(arguments, 1)]); - }, C.prototype.fcall = function() { - return this.dispatch("apply", [void 0, l(arguments)]); - }, N.fbind = function(e4) { - var t3 = N(e4), i3 = l(arguments, 1); - return function() { - return t3.dispatch("apply", [this, i3.concat(l(arguments))]); - }; - }, C.prototype.fbind = function() { - var e4 = this, t3 = l(arguments); - return function() { - return e4.dispatch("apply", [this, t3.concat(l(arguments))]); - }; - }, N.keys = function(e4) { - return N(e4).dispatch("keys", []); - }, C.prototype.keys = function() { - return this.dispatch("keys", []); - }, N.all = B, C.prototype.all = function() { - return B(this); - }, N.any = G, C.prototype.any = function() { - return G(this); - }, N.allResolved = (D = j, function() { - return "undefined" != typeof console && "function" == typeof console.warn && console.warn("allResolved is deprecated, use allSettled instead.", new Error("").stack), D.apply(D, arguments); - }), C.prototype.allResolved = function() { - return j(this); - }, N.allSettled = function(e4) { - return N(e4).allSettled(); - }, C.prototype.allSettled = function() { - return this.then(function(e4) { - return B(d(e4, function(e5) { - function t3() { - return e5.inspect(); - } - return (e5 = N(e5)).then(t3, t3); - })); - }); - }, N.fail = N.catch = function(e4, t3) { - return N(e4).then(void 0, t3); - }, C.prototype.fail = C.prototype.catch = function(e4) { - return this.then(void 0, e4); - }, N.progress = function(e4, t3) { - return N(e4).then(void 0, void 0, t3); - }, C.prototype.progress = function(e4) { - return this.then(void 0, void 0, e4); - }, N.fin = N.finally = function(e4, t3) { - return N(e4).finally(t3); - }, C.prototype.fin = C.prototype.finally = function(e4) { - return e4 = N(e4), this.then(function(t3) { - return e4.fcall().then(function() { - return t3; - }); - }, function(t3) { - return e4.fcall().then(function() { - throw t3; - }); - }); - }, N.done = function(e4, t3, i3, n3) { - return N(e4).done(t3, i3, n3); - }, C.prototype.done = function(e4, t3, i3) { - var n3 = function(e5) { - N.nextTick(function() { - if (f(e5, r3), !N.onerror) throw e5; - N.onerror(e5); - }); - }, r3 = e4 || t3 || i3 ? this.then(e4, t3, i3) : this; - "object" == typeof process && process && process.domain && (n3 = process.domain.bind(n3)), r3.then(void 0, n3); - }, N.timeout = function(e4, t3, i3) { - return N(e4).timeout(t3, i3); - }, C.prototype.timeout = function(e4, t3) { - 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) { - clearTimeout(n3), i3.resolve(e5); - }, function(e5) { - clearTimeout(n3), i3.reject(e5); - }, i3.notify), i3.promise; - }, N.delay = function(e4, t3) { - 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 = v(); - return setTimeout(function() { - i3.resolve(t3); - }, e4), i3.promise; - }); - }, N.nfapply = function(e4, t3) { - return N(e4).nfapply(t3); - }, C.prototype.nfapply = function(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 = 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 = v(); - return i3.push(n3.makeNodeResolver()), N(e4).fapply(i3).fail(n3.reject), n3.promise; - }; - }, C.prototype.nfbind = C.prototype.denodeify = function() { - var e4 = l(arguments); - return e4.unshift(this), N.denodeify.apply(void 0, e4); - }, N.nbind = function(e4, t3) { - var i3 = l(arguments, 2); - return function() { - 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; - }; - }, C.prototype.nbind = function() { - var e4 = l(arguments, 0); - return e4.unshift(this), N.nbind.apply(void 0, e4); - }, 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 = 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 = 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 = 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); - }, C.prototype.nodeify = function(e4) { - if (!e4) return this; - this.then(function(t3) { - N.nextTick(function() { - e4(null, t3); - }); - }, function(t3) { - N.nextTick(function() { - e4(t3); - }); - }); - }; - var W = A(); - return N; - }); - }, 33235: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DurationType = void 0; - 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)}`; + get languageTag() { + return this._languageTag; + } + set languageTag(e3) { + this._languageTag = e3; } - 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 = s.ExpressionTypeDurationOptions; + t2.default = o; + }, 9372(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11541)); + class o extends n2.default { + constructor(e3) { + super(e3), this.outputMode = void 0, this.populateFromJSON(e3); } - get className() { - return "DurationType"; + get outputMode() { + return this._outputMode; } - createExpressionOptionClass() { - return new s.ExpressionTypeDurationOptions(); + set outputMode(e3) { + this._outputMode = e3; } - convertLitToExpression(e3, t3) { - const i3 = u.matchText(t3); - return i3 ? (0, r2.sprintf)("MakeDuration(%s,%s,%s,%s,%s)", i3[0], i3[1], i3[2], i3[3], i3[4]) : t3; + } + t2.default = o; + }, 62121(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(19596), r = i2(80295), a = i2(80295), s = i2(9456); + class l extends o.DataContract { + constructor(e3) { + var t3; + super(e3), this._outOfService = false, (0, a.makeUnenumerable)(this, "_builderPartDefId"), (0, a.makeUnenumerable)(this, "_outOfService"), this._builderPartDefId = e3.builderPartDefId, this.id = null !== (t3 = e3.id) && void 0 !== t3 ? t3 : (0, s.uuid)(), this.version = e3.version; } - _getLiteralValueOfExpression(e3) { - const t3 = u.matchExpression(e3.text); - return u.getXsdString(t3) || e3.text || ""; + get builderPartDefId() { + return this._builderPartDefId; } - getYamlObjectForLiteralSingleton(e3) { - super.getYamlObjectForLiteralSingleton(e3); - const t3 = u.matchText(e3.text); - if (!t3) return ""; - const i3 = {}; - return t3[0] && (i3.days = t3[0]), t3[1] && (i3.hours = t3[1]), t3[2] && (i3.minutes = t3[2]), t3[3] && (i3.seconds = t3[3]), !t3[4] && Object.keys(i3).length || (i3.ms = t3[4]), i3; + set builderPartDefId(e3) { + this._builderPartDefId = e3; } - searchExpression(e3, t3) { - if (t3.isLiteralMode) { - const i3 = u.getSearchStringFromLiteral(t3.text); - e3.checkText(t3, i3, t3.label); - } else super.searchExpression(e3, t3); + get outOfService() { + return this._outOfService; } - toNumber(e3) { - return u.toSeconds(e3); + set outOfService(e3) { + this._outOfService = e3; } - toMilliseconds(e3) { - const t3 = u.toSeconds(e3); - return void 0 !== t3 ? t3 * a.default.msPerSecond : null; + pasteReIdOrRename(e3) { + this.id = e3.pasteGenerateNewGuid(this.id); } - 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(_)); - } + pasteResolveOldToNewValues(e3) { } } - t2.DurationType = g, g.typeIdentifier = c.expressionTypeNames.duration; - }, 33237: (e2, t2, i2) => { + t2.default = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "builderPartDefId", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "outOfService", null); + }, 27702(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeSurveyQuestionOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(62121)), a = i2(7401); + class s extends r.default { constructor(e3) { - super(e3); + super(e3), Object.defineProperties(this, { _builderPartExpressions: { value: [], writable: true } }), this.populateFromJSON(e3); } - get className() { - return "ExpressionTypeSurveyQuestionOptions"; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), o.default.each(this._builderPartExpressions, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)); } - get isExpressionTypeSurveyQuestionOptions() { - return true; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), o.default.each(this._builderPartExpressions, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)); } } - t2.ExpressionTypeSurveyQuestionOptions = r2; - }, 33264: (e2, t2, i2) => { + t2.default = s, Object.defineProperties(s.prototype, { builderPartExpressions: { enumerable: true, get: function() { + return this._builderPartExpressions; + }, set: function(e3) { + this._builderPartExpressions = this.reviveArray(e3, a); + } } }); + }, 39041(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)), c = i2(53649), d = i2(81801), p = i2(27862); - class _ extends l.default { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(9345)), a = i2(55909), s = i2(33951), l = new class { 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(); + Object.defineProperties(this, { _builderDefs: { value: {} } }); } - get requiredAuth() { - return d.externalAuthorizations.authStrings.decisionTablesSearch; + get className() { + return "BuilderDefinitions"; } - get dependencyType() { - return p.DecisionTable; + get isBuilderDefinitions() { + return true; } - _createItemViewModel(e3) { - return new c.DecisionTableViewModel(e3); + getAvailableBuilderDefinitions(e3, t3, i3, n3) { + s.ParameterValidator.expectExpressionType(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "builderPartResultExpressionTypeFilter"), true), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "flowTypeFilter"), true), s.ParameterValidator.expectString(i3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "builderCategoryIdFilter"), true), s.ParameterValidator.expectArray(n3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "allowedBuilderIds"), true); + const l2 = []; + return o.default.each(this._builderDefs, function(o2) { + n3 && !n3.includes(o2.id) || e3 && !e3.isMatch(o2.resultExpressionType, r.settings.exact) || i3 && !o2.isInCategory(i3) || !o2.isAvailableForFlowType(t3, true) || l2.push(o2); + }), l2; } - get _networkModel() { - return u.default; + getBuilderDefById(e3, t3) { + return s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderDefById", "builderDefId")), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderDefById", "flowTypeFilter"), true), o.default.find(this._builderDefs, function(i3) { + return i3.id === e3 && (!t3 || i3.isAvailableForFlowType(t3, true)); + }); } - get isDecisionTableManager() { + addBuilderDef(e3) { + this._builderDefs[e3.id] = e3; + } + }(); + t2.default = l; + }, 99131(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(61864)), r = n2.__importDefault(i2(46772)), a = i2(73062), s = i2(16958), l = new class { + constructor() { + Object.defineProperties(this, { _categories: { value: {} } }); + } + initialize() { + this.addCategory(new r.default(a.builderCategoryIds.email, s.categories.emailName, s.categories.emailDesc, o.default.emailEnvelope)), this.addCategory(new r.default(a.builderCategoryIds.stringParsing, s.categories.stringParsingName, s.categories.stringParsingDesc, o.default.stringMethods)), this.addCategory(new r.default(a.builderCategoryIds.toolbar, s.categories.stringSequenceName, s.categories.stringSequenceDesc, o.default.wrench, true)), this.addCategory(new r.default(a.builderCategoryIds.phoneNumber, s.categories.phoneNumber, s.categories.phoneNumberDesc, o.default.phone)), this.addCategory(new r.default(a.builderCategoryIds.dateTime, s.categories.dateTime, s.categories.dateTimeDesc, o.default.datetime)), this.addCategory(new r.default(a.builderCategoryIds.markdown, s.categories.markdownName, s.categories.markdownDesc, o.default.string)), this.addCategory(new r.default(a.builderCategoryIds.prompt, s.categories.prompt, s.categories.promptDesc, o.default.prompt)), this.addCategory(new r.default(a.builderCategoryIds.container, s.categories.container, s.categories.containerDesc, o.default.complex)), this.addCategory(new r.default(a.builderCategoryIds.agentScorePair, s.categories.agentScorePair, s.categories.agentScorePairDesc, o.default.complex)), this.addCategory(new r.default(a.builderCategoryIds.communication, s.categories.communicationName, s.categories.communicationDesc, o.default.communication)), this.addCategory(new r.default(a.builderCategoryIds.labelString, s.categories.labelStringName, s.categories.labelStringDesc, o.default.label)); + } + get className() { + return "BuilderCategories"; + } + get isBuilderCategories() { return true; } - getOrFetchItem(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = this.getItem(e3); - return t3 && !t3.schemasNotLoaded ? Promise.resolve(t3) : this.fetchItem(e3); - }); + get categories() { + return this._categories; } - addItemToFlowMetadata(e3, t3, i3) { - const n3 = e3.isFlowViewModel ? e3 : e3.parentFlow; - return n3.getUiMetadataInfoById(this.uiMetadataSectionName, i3) && n3.tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, i3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, true), n3.setUiMetadataInfo(this.uiMetadataSectionName, { tableId: i3, name: t3 }, this.idEquivalent), true; + addCategory(e3) { + this.categories[e3.id] || (this.categories[e3.id] = e3); } - } - t2.DecisionTableManager = _, t2.decisionTableManager = new _(); - }, 33286: (e2, t2, i2) => { + getCategory(e3) { + return this.categories[e3]; + } + }(); + t2.default = l; + }, 5532(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(96618), r = 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 = {}; } - get _globalTypeName() { - return "journeyNetworkConnectivity"; + get className() { + return "BuilderPartDefinitions"; } - get carrier() { + get isBuilderPartDefinitions() { + return true; } - get bluetoothEnabled() { + _getBuilderPartOrContainerPartDefinitions(e3, t3, i3, n3) { + const o2 = []; + return r.default.each(e3, function(e4) { + let a2 = !t3; + a2 || (r.default.isArray(t3) ? r.default.find(t3, (t4) => t4.isMatch(e4.resultExpressionType, u.settings.exact)) && (a2 = true) : a2 = t3.isMatch(e4.resultExpressionType, u.settings.exact)); + const s2 = r.default.isUndefined(r.default.find(e4.expressionDefs, (e5) => { + if (r.default.isArray(e5.requiredFuncOpOverloadIds) && e5.requiredFuncOpOverloadIds.length) return r.default.find(e5.requiredFuncOpOverloadIds, (e6) => !l.expressionDataService.expressionFuncOpsByOverloadId[e6].isAvailableForFlowType(i3)); + })); + !(a2 && s2 && e4.meetsFeatureRequirements) || n3 && !e4.isInCategory(n3) || i3 && !e4.isAvailableForFlowType(i3) || o2.push(e4); + }), o2; } - get cellularEnabled() { + getBuilderPartDefinitions(e3, t3, i3) { + return s.ParameterValidator.expectExpressionTypeOrTypes(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefinitions", "builderPartResultExpressionTypeOrTypesFilter"), true), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefinitions", "flowTypeFilter"), true), s.ParameterValidator.expectString(i3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefinitions", "builderCategoryIdFilter"), true), this._getBuilderPartOrContainerPartDefinitions(this._builderPartDefinitions, e3, t3, i3); } - get wifiEnabled() { + getBuilderPartContainerDefinitions(e3, t3, i3) { + return s.ParameterValidator.expectExpressionTypeOrTypes(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefinitions", "builderPartResultExpressionTypeOrTypesFilter"), true), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefinitions", "flowTypeFilter"), true), s.ParameterValidator.expectString(i3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefinitions", "builderCategoryIdFilter"), true), this._getBuilderPartOrContainerPartDefinitions(this._builderPartContainerDefinitions, e3, t3, i3); } - get displayTypeName() { - return "ArchValueJourneyNetworkConnectivity"; + _getBuilderPartOrContainerPartDefById(e3, t3) { + return r.default.find(e3, function(e4) { + return e4.id === t3; + }); } - get isArchValueJourneyNetworkConnectivity() { + getBuilderPartDefById(e3) { + return s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartDefById", "builderPartDefId"), true), this._getBuilderPartOrContainerPartDefById(this._builderPartDefinitions, e3); + } + getBuilderPartContainerDefById(e3) { + return s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderPartContainerDefById", "builderPartContainerDefId"), true), this._getBuilderPartOrContainerPartDefById(this._builderPartContainerDefinitions, e3); + } + addBuilderPartDef(e3) { + this._builderPartDefinitions[e3.id] = e3; + } + addBuilderPartContainerDef(e3) { + this._builderPartContainerDefinitions[e3.id] = e3; + } + getBuilderPartInfo() { + const e3 = []; + return Object.values(this._builderPartDefinitions).forEach((t3) => { + e3.push({ id: t3.id, name: t3.name, type: t3.resultExpressionType.displayString, flowTypes: o.flowTypes.flowTypesAll.filter((e4) => t3.isAvailableForFlowType(e4, true)).join(", "), featureToggle: t3.requiredFeatureToggle, featureConfig: t3.requiredFeatureConfig, categories: t3.categories.join(", ") }); + }), e3; + } + logBuilderPartInfo() { + console.groupCollapsed("Builder parts"), console.table(this.getBuilderPartInfo()), console.groupEnd(); + } + }(); + t2.default = c; + }, 66959(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(99772); + class o extends n2.BaseBuilderWithBuilderPartsViewModel { + constructor({ owningExpression: e3, model: t3, reId: i3 }) { + super(e3, t3, void 0, i3, false); + } + get className() { + return "BooleanBuilderWithBuilderPartsViewModel"; + } + get isBooleanBuilderWithBuilderPartsViewModel() { return true; } + _buildExpressionGenerationFromManager(e3) { + return e3.getOverallPartsGeneration(this.builderDef.getExpressionGenerator(this)); + } } - t2.default = r2; - }, 33296: (e2, t2, i2) => { + t2.default = o; + }, 74998(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseOptionSetting = void 0; - const n2 = i2(98126); - t2.BaseOptionSetting = class { - clone() { - return (0, n2.clone)(this); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(99772), r = n2.__importDefault(i2(96727)), a = i2(12847); + class s extends o.BaseBuilderWithBuilderPartsViewModel { + constructor({ owningExpression: e3, model: t3, reId: i3 }) { + super(e3, t3, void 0, i3, false); } - }; - }, 33336: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getIndentPositionForNode = function(e3, t3, i2) { - if (null == e3 ? void 0 : e3.length) for (let n2 = t3; n2 < i2; n2++) switch (e3.charCodeAt(n2)) { - case 9: - case 10: - case 13: - case 32: - break; - default: - return n2; + get className() { + return "BuilderWithSingleBuilderPartViewModel"; } - return t3; - }; - }, 33344: (e2, t2, i2) => { + get isBuilderWithSingleBuilderPartViewModel() { + return true; + } + _buildExpressionGenerationFromManager(e3) { + this.builderDef.maxBuilderPartCount > 1 && a.error(`${this.builderDef.name} is mis-configured to support multiple parts: ${this.builderDef.maxBuilderPartCount}`); + const t3 = e3.getIndividualPartGenerations(); + return 1 === t3.length ? t3[0] : r.default.createEmptyStringGeneration(); + } + } + t2.default = s; + }, 69215(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); + const n2 = i2(31635), o = i2(96618), r = 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); } - get _globalTypeName() { - return "surveyAnswerOptionCollection"; + get className() { + return "CommunicationBuilderWithBuilderPartsViewModel"; } - get displayTypeName() { - return "ArchVariableSurveyAnswerOptionCollection"; + get isCommunicationBuilderWithBuilderPartsViewModel() { + return true; } - get initialValue() { - return this._initialValue; + get helpTopic() { + return a.helpTopics.builders.communication; } - get isArchVariableSurveyAnswerOptionCollection() { - return true; + _processLanguagesChanged() { + super._processLanguagesChanged(); + } + _buildExpressionGenerationFromManager(e3) { + const t3 = e3.getIndividualPartGenerations(), i3 = this.builderDef.generators.containerPartsGenerator.createGeneration(); + return r.default.each(t3, (e4) => { + i3.addGenerationToBucket(e4); + }), i3; + } + addOrSetStringLiteralBuilderPart(e3, t3) { + const i3 = this.parentFlow.type === o.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 = c.default.getBuilderPartDefById(i3); + a2 = n3.createAndAddPartFromBuilderPartDef(e4); + } + const s2 = a2.builderPartExpressions[0]; + s2 && s2.setAsLiteral(e3), r.default.isFunction(a2.setMarkdownTextImmediate) && a2.setMarkdownTextImmediate(e3); + } + builderPartContainerAdded(e3) { + super.builderPartContainerAdded(e3), this.sortContainerParts(); + } + sortContainerParts() { + } + _buildToMultimodalCommunicationGeneration(e3, t3, i3, n3) { + let o2; + if (o2 = e3 === t3 ? this._buildExpressionGenerationFromManager(e3) : _.createGeneration().addGenerationToBucket(this._buildExpressionGenerationFromManager(e3)).addGenerationToBucket(this._buildExpressionGenerationFromManager(t3)), !i3) return o2; + const r2 = p.createGeneration(); + return n3 && r2.setReplacementTokens([n3, `"${i3}"`]), r2.addGenerationToBucket(o2), r2; + } + _getBuilderPartsManagerForLangOutputMode(e3, t3, i3, n3) { + let o2; + if (i3) { + if (o2 = i3[n3], o2) return o2.builderPartsManager; + if (o2 = i3.__none__, o2) return o2.builderPartsManager; + } + return t3 && (o2 = t3[n3], o2) ? o2.builderPartsManager : this.builderPartsManager; + } + _buildExpressionGeneration() { + if (0 === this.builderPartContainers.length) return super._buildExpressionGeneration(); + const e3 = this.builderContainerPartsManager.getLanguageTagOutputModeContainer(), t3 = e3.__none__, i3 = l.default.genericBuilderWithPartsGenerator.createGeneration(); + let n3 = ""; + const o2 = this.parentFlow.variableGroup.getVariable("__INTERACTION_LANGUAGE__"); + return r.default.each(e3, (r2, a2) => { + "__none__" !== a2 && (i3.addGenerationToBucket(this._buildToMultimodalCommunicationGeneration(this._getBuilderPartsManagerForLangOutputMode(e3, t3, r2, "voice"), this._getBuilderPartsManagerForLangOutputMode(e3, t3, r2, "text"), a2, o2.name)), n3 += ")"); + }), i3.addGenerationToBucket(this._buildToMultimodalCommunicationGeneration(this._getBuilderPartsManagerForLangOutputMode(e3, t3, void 0, "voice"), this._getBuilderPartsManagerForLangOutputMode(e3, t3, void 0, "text"))), i3.setReplacementTokens(n3), i3; } } - t2.default = r2; - }, 33380: (e2, t2, i2) => { + t2.default = h; + }, 16230(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.botFlowKnowledgeSettingsSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(73324); - class s extends a.BaseBotActionSettingsSequence { - constructor() { - super("knowledgeSettings"); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(92140)), a = i2(12179), s = i2(99772), l = i2(69149), u = n2.__importDefault(i2(5532)); + class c extends s.BaseBuilderWithBuilderPartsViewModel { + constructor({ owningExpression: e3, model: t3, reId: i3 }) { + super(e3, t3, void 0, i3, false); } - get knowledgeInitialResponseMultiSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeInitialResponseMulti"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("KnowledgeInitialResponseMulti", r2.builderIds.parts.genericCommunication, e3, t3); + get className() { + return "StringBuilderWithBuilderPartsViewModel"; } - get knowledgeInitialResponseMultiRetrySequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeInitialResponseMultiRetry"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("KnowledgeInitialResponseMultiRetry", r2.builderIds.parts.genericCommunication, e3, t3); + get isStringBuilderWithBuilderPartsViewModel() { + return true; } - get knowledgeNoMatchSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeNoMatch"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("KnowledgeNoMatch", r2.builderIds.parts.genericCommunication, e3, t3); + get helpTopic() { + return a.helpTopics.builders.string; } - get knowledgeConfirmationSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeConfirmation"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("KnowledgeConfirmation", r2.builderIds.parts.genericCommunication, e3, t3); + _buildExpressionGenerationFromManager(e3) { + const t3 = e3.getIndividualPartGenerations(); + if (1 === t3.length) return t3[0]; + const i3 = this.builderDef.generators.containerPartsGenerator.createGeneration(); + return r.default.each(t3, (e4) => { + i3.addGenerationToBucket(e4); + }), i3; } - get knowledgeFollowupSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeFollowup"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("KnowledgeFollowup", r2.builderIds.parts.genericCommunication, e3, t3); + addOrSetStringLiteralBuilderPart(e3, t3) { + const i3 = this.parentFlow.type === o.flowTypes.flowTypeDigitalBot ? l.builderPartIds.string.markdown : l.builderPartIds.string.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 = u.default.getBuilderPartDefById(i3); + a2 = n3.createAndAddPartFromBuilderPartDef(e4); + } + const s2 = a2.builderPartExpressions[0]; + s2 && s2.setAsLiteral(e3), r.default.isFunction(a2.setMarkdownText) && a2.setMarkdownText(e3); } } - n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeInitialResponseMultiSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeInitialResponseMultiRetrySequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeNoMatchSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeConfirmationSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeFollowupSequence", null), t2.botFlowKnowledgeSettingsSequences = new s(); - }, 33381: (e2, t2, i2) => { + t2.default = c; + }, 16864(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)), 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 = T.createModelPropNames(o2, this._flowType), this._outOfServiceProvider = (0, p.addOutOfServiceProperties)(this), false === n3 && (this._supportsSpecificVersion = false), false === r3 && (this._showVersionSelection = false); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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: o2 }) { + super(e3, t3, i3, n3, o2), Object.defineProperties(this, { _builderPartExpressions: { writable: true, enumerable: true } }), this._loadModel(t3, i3); } - get isFlowReferenceProperty() { - return true; + addExpression(e3) { + var t3; + this.builderPartExpressions.push(e3), (null === (t3 = this.owningExpression.options) || void 0 === t3 ? void 0 : t3.allowSecure) && (e3.options.allowSecure = true), T.registerEventSinkForEventEmitter(e3.id, this); + } + _initializeDesignTime() { + super._initializeDesignTime(), o.default.each(this._builderPartExpressions, (e3) => { + var t3; + this.owningExpression.optionsisExpressionTypePromptOptions && e3.options.isExpressionTypePromptOptions && e3.options.setRequireAudio(this.owningExpression.options.requiresAudio), (null === (t3 = this.owningExpression.options) || void 0 === t3 ? void 0 : t3.allowSecure) && (e3.options.allowSecure = true), e3.initializeDesignTime(), this.outOfService && (e3.outOfService = true); + }); + } + getInternalExpressions() { + return o.default.filter(this._builderPartExpressions, (e3) => !e3.outOfService); + } + _replaceUsages(e3, t3, i3) { + super._replaceUsages(e3, t3, i3), o.default.each(this._builderPartExpressions, (n3) => { + o.default.isFunction(n3.replaceUsages) && n3.replaceUsages(e3, t3, i3); + }); + } + _buildExpressionGeneration() { + const e3 = []; + return o.default.each(this.builderPartExpressions, (t3) => { + t3.processText(true), e3.push(t3.getEmbeddableExpressionText() || ""); + }), this.builderPartDef.getExpressionGenerator(this) ? 1 === e3.length && this.builderPartDef.useStringLiteralProcessing && this.builderPartDef.useStringLiteralProcessing(this.builderViewModel, this, e3[0]) ? this.builderPartDef.generators.stringLiteralGenerator ? this.createGenerationResult(this.builderPartDef.generators.stringLiteralGenerator, e3) : this.createSingleStringGenerationResult(e3) : this.createGenerationResult(this.builderPartDef.getExpressionGenerator(this), e3) : (e3.length > 1 && S.traceOnce(`multipleEmbeddableExpressions-${this.builderPartDefId}`, (e4) => e4.error(`The builder part instance for the builder part definition ${this.builderPartDefId} has no expression wrapper text but multiple embeddable expression text instances. Returning the first embeddable expression text only.`)), e3.length > 0 ? this.createSingleStringGenerationResult(e3) : void 0); + } + _processOutOfService(e3) { + super._processOutOfService(e3), o.default.each(this._builderPartExpressions, (t3) => { + t3.outOfService = e3; + }); + } + objEvent_expressionValueChanged() { + this._fireBuilderPartExpressionTextChanged(); } get className() { - return "FlowReferenceProperty"; + return "BuilderPartWithExpressionsViewModel"; } - get isRefreshingFlowReference() { - return this._isRefreshingFlowReferenceCounter > 0; + get isBuilderPartWithExpressionsViewModel() { + return true; } - setIsRefreshingFlowReference(e3) { - e3 ? this._isRefreshingFlowReferenceCounter++ : this._isRefreshingFlowReferenceCounter--; + get builderPartDisplayLabel() { + return this.builderPartDef ? this.builderPartDef.name : void 0; } - getConfiguration(e3, t3) { - var i3, n3, r3, o2; - if (null == t3 ? void 0 : t3.isForFlowYaml) { - (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 = {}; - return (null === (i3 = this.flowInputs) || void 0 === i3 ? void 0 : i3.length) || (null === (n3 = this.flowOutputs) || void 0 === n3 ? void 0 : n3.length) ? ((null === (r3 = this.flowInputs) || void 0 === r3 ? void 0 : r3.length) && (u2.inputs = this.flowInputs.getConfiguration(e3, t3)), (null === (o2 = this.flowOutputs) || void 0 === o2 ? void 0 : o2.length) && (u2.outputs = this.flowOutputs.getConfiguration(e3, t3)), s2) : (a.default.ensureYamlNoneTrue(u2), s2); - } - return console.error("Trying to access FlowReferenceProperty.getConfiguration for non-flow-YAML"), null; + get builderPartExpressions() { + return this._builderPartExpressions; } - getReferencedFlowName() { - var e3; - const t3 = null === (e3 = this._flowListManager) || void 0 === e3 ? void 0 : e3.getItem(this.flowId); - return (null == t3 ? void 0 : t3.displayName) || this.flowName; + set builderPartExpressions(e3) { + c.ParameterValidator.expectExpression(e3, () => u.ParameterInfo.createPropertySet(this.className, "builderPartExpressions", "value"), true), this._builderPartExpressions && o.default.each(this._builderPartExpressions, (e4) => { + T.unregisterEventSinkForEventEmitter(e4.id, this), e4.destroy(); + }), this._builderPartExpressions = e3, this._builderPartExpressions && o.default.each(this._builderPartExpressions, (e4) => { + e4.options.setAllowModeBuilder(false), T.registerEventSinkForEventEmitter(e4.id, this); + }); } - getReferencedFlowDefaultLanguage() { - var e3, t3; - const i3 = null === (e3 = this._flowListManager) || void 0 === e3 ? void 0 : e3.getItem(this.flowId); - if (null === (t3 = null == i3 ? void 0 : i3.supportedLanguages) || void 0 === t3 ? void 0 : t3.length) { - for (const e4 of i3.supportedLanguages) if (e4.isDefault) return e4.language; - } + get isMarkdownSingleExpressionPart() { + return false; } - _addSupportedLanguagesToSnapshot(e3) { - var t3, i3, n3; - 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, m.getFlowConfigFromSnapshot)(e3, this.flowName, this.flowType); - t4 && (t4.flow.supportedLanguages = o2.map((e4) => e4.language)); + setMarkdownText(e3) { + } + getExpressionDetails(e3) { + 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, c2 = s.getDisplayText(t3, e3); + if (o.default.isFunction(this.builderPartDef.displayStringOverride)) { + const e4 = this.builderPartDef.displayStringOverride(this, c2); + c2 = null == e4 ? void 0 : e4.displayString, u2 = null == e4 ? void 0 : e4.shouldTokenizeDisplayString; + } + 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 ? c2 : void 0, m2.generationId = (0, r.uuid)(), u2 && (d2 = `{${d2}}`), { displayString: d2, displayStringTrimmed: _2, expression: t3, token: u2, builderPart: this, popoverInfo: m2 }; + }); + } + _loadModel(e3, t3) { + super._loadModel(e3, t3); + const i3 = new f(); + this._builderPartExpressions || (this._builderPartExpressions = []); + const n3 = g.default.getBuilderPartDefById(this.builderPartModel.builderPartDefId); + if (n3) for (let o2 = 0; o2 < n3.expressionDefs.length; o2++) { + const r2 = n3.expressionDefs[o2].type.createExpressionOptionClass(); + n3.expressionDefs[o2].descriptionInfo && r2.setDescriptionInfo(n3.expressionDefs[o2].descriptionInfo.name, n3.expressionDefs[o2].descriptionInfo.description), n3.expressionDefs[o2].configureOptionsCallback && n3.expressionDefs[o2].configureOptionsCallback(r2), r2.setAllowModeBuilder(false), r2.setDoNotTrackUsages(true); + const a2 = _.expression(e3.parentFlow, e3.parent, t3.builderPartExpressions && 0 === t3.builderPartExpressions.length ? i3 : i3.reviveItem(t3.builderPartExpressions[o2], f), n3.expressionDefs[o2].label, n3.expressionDefs[o2].type, e3.propertyName, r2); + t3.builderPartExpressions[o2] = a2.model, T.registerEventSinkForEventEmitter(a2.id, this), this.addExpression(a2); } } - getDetailDescription() { - const e3 = this.getReferencedFlowName(); - return e3 ? { label: u.default.getFlowTypeDisplayName(this.flowType), value: this.flowVersion ? (0, o.sprintf)(f.nameAndVersion, e3, this.flowVersion) : e3 } : null; + _validatePart(e3, t3) { + const i3 = super._validatePart(e3, t3); + if (o.default.each(this.builderPartExpressions, (e4) => { + e4.validate(t3); + }), !i3 || 0 === this.builderPartExpressions.length) return i3; + let n3; + for (n3 = 0; n3 < this.builderPartExpressions.length; n3++) if (this.builderPartExpressions[n3].hasError) return e3.addError(this, y.builders.builderPartErrorGeneric), false; + for (n3 = 0; n3 < this.builderPartExpressions.length; n3++) this.builderPartExpressions[n3].hasWarning ? e3.addWarning(this, y.builders.builderPartWarningGeneric) : this.builderPartExpressions[n3].hasInfo && e3.addInfo(this, y.builders.builderPartInfoGeneric); + return true; } - get flowId() { - return this.action.model[this._modelPropNames.idPropName]; + _addClipboardDependencies(e3) { + super._addClipboardDependencies(e3), o.default.each(this.builderPartExpressions, (t3) => { + t3.addClipboardDependencies(e3); + }); } - set flowId(e3) { - this.action.model[this._modelPropNames.idPropName] = e3; + _destroy() { + this.builderPartExpressions = void 0, super._destroy(); } - get flowDefaultLanguage() { - return this.getReferencedFlowDefaultLanguage(); + } + t2.default = A; + }, 66740(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(16864)), o = i2(92908); + class r extends n2.default { + get className() { + return "BuilderPartWithVariableFormattingViewModel"; } - get flowName() { - return this.action.model[this._modelPropNames.namePropName]; + getVariableFormattingMetadataForExpression(e3) { + return e3.getUiMetaData(o.uiMetaDataKey.builderVariableFormattingOptions); } - set flowName(e3) { - this.action.model[this._modelPropNames.namePropName] = e3; + setVariableFormattingMetadataForExpression(e3, t3) { + e3.setUiMetaData(o.uiMetaDataKey.builderVariableFormattingOptions, t3), this.builderViewModel.postUpdateOwningExpression(); } - get flowVersion() { - return this.action.model[this._modelPropNames.versionPropName]; + } + t2.default = r; + }, 83630(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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); } - set flowVersion(e3) { - this.action.model[this._modelPropNames.versionPropName] = e3; + objEvent_supportedLanguagesChanged() { + this._getIsInFlowSupportedLanguages() || this.builderViewModel.postNeedsConfigurationForFlowState(); } - outOfServiceChanged() { - this.action.model[this._modelPropNames.outOfServicePropName] = this.outOfService; + _getIsInFlowSupportedLanguages() { + const e3 = this.parentFlow; + return !!(e3 && e3.definition && e3.definition.supportsLanguages && e3.languages && e3.languages.supportedLanguages) && r.default.contains(e3.languages.supportedLanguagesLCase, this.languageTag); } - get isFlowRefLatestPublished() { - return this.action.model[this._modelPropNames.latestVersionPropName]; + get _needsDeletion() { + return !!super._needsDeletion || !this._getIsInFlowSupportedLanguages(); } - set isFlowRefLatestPublished(e3) { - this.action.model[this._modelPropNames.latestVersionPropName] = e3; + get className() { + return "LanguageBuilderPartContainerViewModel"; } - get isFlowRefDebugPublish() { - return this.action.model[this._modelPropNames.debugPublishedPropName]; + get isLanguageBuilderPartContainerViewModel() { + return true; } - set isFlowRefDebugPublish(e3) { - this.action.model[this._modelPropNames.debugPublishedPropName] = e3; + get languageTag() { + return this.criteria ? this.criteria.languageTag : ""; } - get flowType() { - return this._flowType; + get containerDisplayString() { + const e3 = s.getLanguageEntry(this.languageTag); + return e3 ? e3.text : ""; } - setFlowById(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return yield this.setReferenceWithFlowInfo(this.getFlowInfoReference(e3), i3, t3); - }); + _validateContainerOnly(e3, t3) { + let i3 = super._validateContainerOnly(e3, t3); + if (i3) { + const t4 = this.languageTag; + if (r.default.isString(t4) && 0 !== t4.length) { + const n3 = this.parentFlow; + if (n3 && n3.definition && n3.definition.supportsLanguages && n3.languages && n3.languages.supportedLanguages) { + const a2 = u.isoLanguages[t4]; + a2 ? r.default.contains(n3.languages.supportedLanguagesLCase, t4) || (e3.addError(this, (0, o.sprintf)(c.builders.containerParts.language.languageNotInFlowSupportedLanguages, a2.displayString)), i3 = false) : (e3.addError(this, (0, o.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; } - 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.updateDependencies(), this.validateAction(), e3) : (this.clearReference(), this.updateDependencies(), void this.validateAction()); - }); + _destroy() { + a.unregisterEventSinkForEventEmitter(this.parentFlow.languages.id, this), super._destroy(); } - destroy() { - this.flowListManager.tryRemoveItemFromFlowMetadata(this.action, this.flowId), this._outOfServiceProvider.destroy(); + } + t2.default = d; + }, 22456(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(41510)), a = n2.__importStar(i2(98442)), s = n2.__importDefault(i2(83630)), l = i2(15717), u = i2(47957); + class c extends s.default { + constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }) { + super({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }); } - get hasError() { - return this.getErrors(false).length > 0; + get className() { + return "LanguageOutputModeBuilderPartContainerViewModel"; } - getErrors(e3) { - if (!this.outOfService) { - const e4 = this.getFlowInfoReference(this.flowId); - if (!e4 || e4.deleted) return [(0, o.sprintf)(f.missingReference, u.default.getFlowTypeDisplayName(this.flowType))]; - } - return []; + get isLanguageOutputModeBuilderPartContainerViewModel() { + return true; } - validate(e3) { - super.validate(e3), this.getErrors(true).forEach((t4) => e3.addError(this.action, t4)); - const t3 = this.getFlowInfoReference(this.flowId); - t3 && e3.isDeep && this.mergeSchemaProperties(t3); + get outputMode() { + return this.criteria ? this.criteria.outputMode : ""; } - updateDependencies() { - if (super.updateDependencies(), this.flowName && this.flowId && !this.outOfService) { - 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); + get containerDisplayString() { + let e3 = ""; + const t3 = a.getLanguageEntry(this.languageTag); + t3 && (e3 = (0, o.sprintf)(u.language.labelAndTagDisplayStr, t3.text), e3 += r.default.itemListing.itemSeparator); + const i3 = l.getOutputModeForOutputModeId(this.outputMode); + return e3 += (0, o.sprintf)(u.flow.outputMode.labelAndValue, i3 ? i3.displayStr : this.outputMode), e3; } - 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(); - } - }); + _validateContainerOnly(e3, t3) { + return super._validateContainerOnly(e3, t3); } - _resolveFlowInfoForReference(e3) { - const t3 = this.getFlowInfoReference(e3); - if (t3 && !t3.deleted) return t3; + } + t2.default = c; + }, 88878(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(92794), r = 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 = d.doNotTrackExpression(this.parentFlow, this.owningExpression.parent, new s.default(), "", h.globalTypes.any, ""), this._curlyExpression.setModeWithTransition(_.expression), this._curlyExpression.initializeDesignTime(), this.clearCurlyExpressionResult()), this._curlyExpression; } - get flowListManager() { - return this._flowListManager; + constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: n3, reId: o2 }) { + super({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: n3, reId: o2 }), this._hasNoClosingCurlyBraces = false, this._hasNestedCurlyBraces = false, this._processMarkdownTextCalled = false; } - get supportsSpecificVersion() { - return this._supportsSpecificVersion; + get isCommunicationPart() { + return this.builderPartDef.id === g.builderPartIds.communication.markdown; } - get showVersionSelection() { - return this._showVersionSelection; + get isStringPart() { + return this.builderPartDef.id === g.builderPartIds.string.markdown; } - getFlowInfoReference(e3) { - 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; + clearCurlyExpressionResult() { + this.curlyExpression.resetToOriginalType(); } - 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 : f.commonModule.hardcodedTaskName); + get curlyExpressionHasError() { + var e3; + return (null === (e3 = this.curlyExpression._parseResult) || void 0 === e3 ? void 0 : e3.resultType) === m.ParseResultTypes.error; } - _initializeDesignTime() { - if (super._initializeDesignTime(), this.flowId) { - const e3 = this.getFlowInfoReference(this.flowId); - e3 ? e3.deleted || (this.flowVersion || this.isFlowRefLatestPublished || (this.isFlowRefLatestPublished = true), this.refreshFlowSchema(e3)) : this.traceTopic.warning(`missing flowInfoViewModel for id:${this.flowId}`); + verifyCurlyExpression(e3, t3) { + var i3, n3, o2, r2; + if (!e3 || this.curlyExpressionHasError) return e3; + this.curlyExpression.resetToOriginalType(), this.curlyExpression.setText(e3, true), (null === (i3 = this.curlyExpression._parseResult) || void 0 === i3 ? void 0 : i3.resultType) !== m.ParseResultTypes.error && (null === (o2 = null === (n3 = this.curlyExpression._parseResult) || void 0 === n3 ? void 0 : n3.resultExpression) || void 0 === o2 ? void 0 : o2.isCollection) && (this.curlyExpression.resetToOriginalType(), this.curlyExpression.setText(`ToCommunication(${e3})`, true), (null === (r2 = this.curlyExpression._parseResult) || void 0 === r2 ? void 0 : r2.resultType) !== m.ParseResultTypes.error ? e3 = `ToCommunication(${e3})` : (this.curlyExpression.resetToOriginalType(), this.curlyExpression.setText(e3, true))); + const s2 = this.curlyExpression._parseResult; + if ((null == s2 ? void 0 : s2.resultType) === m.ParseResultTypes.error) { + const i4 = s2.resultPosition; + return s2.resultPosition = i4 >= 0 ? i4 + t3 : -1, a.default.isString(s2.resultMessage) && a.default.isNumber(i4) && (s2.resultMessage = s2.resultMessage.replace((i4 + 1).toString(), s2.resultPosition.toString())), u.fireEvent(this.curlyExpression, l.expressionParseComplete), e3; } + return (null == s2 ? void 0 : s2.resultType) && (s2.resultMessage = void 0, s2.resultPosition = void 0, s2.resultType = void 0, u.fireEvent(this.curlyExpression, l.expressionParseComplete)), e3; } - get flowInputs() { - return this._actionWithFlowSchemaRef.flowInputs; - } - get flowOutputs() { - return this._actionWithFlowSchemaRef.flowOutputs; + get _overrideErrorText() { + if (this._processMarkdownTextCalled || this.setMarkdownTextImmediate(this.getSavedMarkdownText()), this.curlyExpressionHasError) return this._curlyExpression.resultMessage; } - clearReference() { - this.flowListManager.tryRemoveItemFromFlowMetadata(this.action, this.flowId), this.flowName = void 0, this.flowId = void 0, this.flowVersion = void 0, this.isFlowRefDebugPublish = false, this.flowOutputs && this.flowOutputs.destroyChildren(), this.flowInputs && this.flowInputs.destroyChildren(), this.invokeSchemaRefreshedCallback(); + getMarkdownImageFromString(e3) { + const t3 = e3.indexOf("!["); + if (-1 === t3) return; + const i3 = e3.indexOf("](", t3 + 2); + if (-1 === i3) return; + const n3 = e3.indexOf(")", i3 + 2); + if (-1 === n3) return; + const o2 = { startPos: t3, endPos: n3 + 1, url: e3.substring(i3 + 2, n3) }; + return t3 + 2 < i3 - 1 && (o2.alternateText = e3.substring(t3 + 2, i3)), o2; } - mergeSchemaProperties(e3) { - if (!this.parentFlow.isReadOnly) { - if (e3) { - if (this.flowOutputs) { - const t3 = this.getSchema(e3, false); - t3 && this.flowListManager.mergeSchemaProperties(t3.properties, this.flowOutputs); - } - if (this.flowInputs && e3.inputSchema) { - const t3 = this.getSchema(e3, true); - t3 && this.flowListManager.mergeSchemaProperties(t3.properties, this.flowInputs); + generateExpressionTextForMarkdownPart(e3, t3, i3, n3) { + if (a.default.isString(e3) && e3.length) { + const o2 = e3.length; + if (t3) { + if (this.isCommunicationPart || this.isStringPart) { + let t4 = e3.trim(); + t4.trim().length && (t4 = this.verifyCurlyExpression(t4, n3), i3.push(this.isStringPart ? `ToDisplayString(${t4})` : `${t4}`)); } - this.flowName = e3.displayName, this.flowListManager.addItemToFlowMetadata(this.action, this.flowName, this.flowId); + } else { + let t4 = this.getMarkdownImageFromString(e3); + for (; t4; ) t4.startPos > 0 && i3.push(`"${p.default.rawEscapeStringForExpressionMode(e3.substring(0, t4.startPos))}"`), i3.push(`MakeImageFromUrl("${p.default.rawEscapeStringForExpressionMode(t4.url)}")`), t4 = (e3 = e3.substring(t4.endPos + 1)) ? this.getMarkdownImageFromString(e3) : void 0; + e3 && i3.push(`"${p.default.rawEscapeStringForExpressionMode(e3)}"`); } - this.invokeSchemaRefreshedCallback(); + return o2; } + return 0; } - refreshFlowSchema(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - if (this.parentFlow.isReadOnly) return e3; - if (this.hasCorrectFlowInfo(e3)) return this.mergeSchemaProperties(e3), e3; - 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 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`); - } finally { - this.mergeSchemaProperties(e3), this.setIsRefreshingFlowReference(false); - } - }); + get isMarkdownSingleExpressionPart() { + return true; } - hasCorrectFlowInfo(e3) { - if (e3.hasLoadedSchemas) { - if (this.isFlowRefLatestPublished || this.isFlowRefDebugPublish) return true; - if (this.flowVersion && e3.alternateOutputSchemas[this.flowVersion] || e3.alternateInputSchemas[this.flowVersion]) return true; - } - return false; + get markdownExpression() { + return this.builderPartExpressions[0]; } - getFlowInfo() { - return this.getFlowInfoReference(this.flowId); + getSavedMarkdownText() { + var e3; + return null === (e3 = this.markdownExpression) || void 0 === e3 ? void 0 : e3.getUiMetaData(S); } - getSchema(e3, t3) { - return !t3 || !this.isFlowRefLatestPublished && e3.alternateInputSchemas[this.flowVersion] ? t3 ? e3.alternateInputSchemas[this.flowVersion] : this.isFlowRefLatestPublished || !e3.alternateOutputSchemas[this.flowVersion] ? e3.outputSchema : e3.alternateOutputSchemas[this.flowVersion] : e3.inputSchema; + _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); } - setSchemaRefreshedCallback(e3) { - a.default.isFunction(e3) && (this._schemaRefreshedCallback = e3); + checkCurlyBraceWarnings(e3) { + 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; } - invokeSchemaRefreshedCallback() { - if (a.default.isFunction(this._schemaRefreshedCallback)) try { - this._schemaRefreshedCallback(); - } catch (e3) { - this.traceTopic.exception(e3, "exception calling _schemaRefreshedCallback"); + _processMarkdownText() { + var e3; + this._processMarkdownTextCalled = true; + const t3 = this.markdownExpression; + if (!t3) return; + 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 o2 = 0; + if (this.clearCurlyExpressionResult(), 1 === i3.length) o2 += this.generateExpressionTextForMarkdownPart(i3[0], false, n3, o2); + else for (let t4 = 0; t4 < i3.length; t4++) { + const r3 = i3[t4], a2 = t4 > 0; + if (0 === r3.length) { + if (a2 && (o2 += this.generateExpressionTextForMarkdownPart(c.default.leftCurlies, false, n3, o2), null === (e3 = this.curlyExpression._parseResult) || void 0 === e3 ? void 0 : e3.resultType)) break; + } else if (a2) { + const e4 = r3.split(c.default.rightCurlies); + if (1 === e4.length) { + if (o2 += this.generateExpressionTextForMarkdownPart(`${c.default.leftCurlies}${e4[0]}`, false, n3, o2), this.curlyExpressionHasError) break; + o2 += c.default.rightCurliesLen; + } else { + if (o2 += this.generateExpressionTextForMarkdownPart(e4[0], true, n3, o2 + c.default.leftCurliesLen), this.curlyExpressionHasError) break; + o2 += c.default.rightCurliesLen; + for (let t5 = 1; t5 < e4.length && (o2 += this.generateExpressionTextForMarkdownPart(e4[t5], false, n3, o2 + c.default.leftCurliesLen), !this.curlyExpressionHasError); t5++) o2 += c.default.rightCurliesLen; + } + } else { + if (o2 += this.generateExpressionTextForMarkdownPart(r3, false, n3, o2 + c.default.leftCurliesLen), this.curlyExpressionHasError) break; + o2 += c.default.rightCurliesLen; + } } + const r2 = () => { + this._updateBracesWarnings(this._hasNoClosingCurlyBraces, this._hasNestedCurlyBraces); + }; + 0 === n3.length ? t3.setAsExpression(c.default.notSet, void 0, r2) : 1 === n3.length ? t3.setAsExpression(n3[0], void 0, r2) : this.isStringPart ? t3.setAsExpression(`Append(${n3.join(", ")})`, void 0, r2) : this.isCommunicationPart && t3.setAsExpression(`MakeCommunication(${n3.join(", ")})`, void 0, r2); } - static createModelPropNames(e3, t3) { - const i3 = e3 ? `${r2.flowTypes.getCamelCasedFlowTypeStr(t3)}Flow` : "flow"; - return { debugPublishedPropName: `${i3}DebugPublished`, idPropName: `${i3}Id`, latestVersionPropName: `${i3}LatestVersion`, namePropName: `${i3}Name`, outOfServicePropName: `${i3}OutOfService`, versionPropName: `${i3}Version` }; + _initializeDesignTime() { + super._initializeDesignTime(); + const e3 = this.getSavedMarkdownText(); + e3 && (this._loadSubscription = this.parentFlow.loaded$.pipe((0, r.skipWhile)((e4) => !e4), (0, o.take)(1)).subscribe(() => { + this.setMarkdownTextImmediate(e3); + })); } - static createCreateDetails(e3) { - const t3 = this.createModelPropNames(e3.useFlowTypeSpecificModelProps, null == e3 ? void 0 : e3.flowType); - 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] }; + destroy() { + var e3, t3; + super.destroy(), null === (e3 = this._curlyExpression) || void 0 === e3 || e3.destroy(), null === (t3 = this._loadSubscription) || void 0 === t3 || t3.unsubscribe(); } - } - t2.FlowReferenceProperty = T; - }, 33416: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SmsPhoneNumberList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(49756); - class s extends o.PagedList { - constructor(e3) { - super(e3); + setMarkdownTextImmediate(e3) { + this._markdownTextToSet = e3, this._processMarkdownText(); } - get entities() { - return this._entities; + setMarkdownText(e3) { + this._markdownTimeout && clearTimeout(this._markdownTimeout), this._markdownTextToSet = e3, this._markdownTimeout = setTimeout(() => { + this.isDestroyed ? T.error(`cannot set markdown text because we have been destroyed: builderPartDefId:${this.builderPartDefId}`) : this._processMarkdownText(); + }, 250); } - set entities(e3) { - this._entities = this.reviveArray(e3, a.SmsPhoneNumber); + _updateBracesWarnings(e3, t3) { + t3 ? this.markdownExpression.setParseWarning(y.markdownEditor.nestedCurlyBraces) : e3 && this.markdownExpression.setParseWarning(y.markdownEditor.missingClosingCurlyBraces); } - } - t2.SmsPhoneNumberList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 33423: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(13720)); - class r2 extends n2.default { - get displayTypeName() { - return "ArchBaseFilterClause"; + get className() { + return "MarkdownPartWithExpressionsViewModel"; } - get isArchBaseFilterClause() { + get isMarkdownPartWithExpressionsViewModel() { return true; } } - t2.default = r2; - }, 33513: (e2, t2, i2) => { + t2.default = A; + }, 25638(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(11210)); - class s extends a.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return o.endTaskActionType; + const n2 = i2(31635).__importDefault(i2(76117)); + class o extends n2.default { + constructor({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: n3 }) { + super(e3, t3, i3, void 0, n3); } - get displayTypeName() { - return this._scriptingName; + get className() { + return "OutputModeBuilderPartContainerViewModel"; } - get isArchActionEndTask() { + get isOutputModeBuilderPartContainerViewModel() { return true; } - get targetBranch() { - if (!this._targetArchBranch && this._getCoreViewModel().pathReference) { - const e3 = this._coreActionViewModel.topParent; - if (e3 && r2.default.isFunction(e3.getBranches)) { - const t3 = e3.getBranches(), i3 = r2.default.findWhere(t3, { outputId: this._getCoreViewModel().pathReference }); - i3 && (this._targetArchBranch = this.coreFactory.createArchWrapper(i3)); - } - } - return this._targetArchBranch; + get outputMode() { + return this.criteria ? this.criteria.outputMode : ""; } - set targetBranch(e3) { - this._checkItem(this._infoPropSet("newValue", "targetBranch"), !e3 || !e3.isArchBranch, "you cannot set the output to an object that is not an Architect branch object"), this._targetArchBranch = e3, this.logNote("setting the end task output branch to " + e3.logStr), this._getCoreViewModel().linkPath(e3._getCoreViewModel()); + get containerDisplayString() { + return this.outputMode; } - } - t2.default = s; - }, 33527: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createFunctions = function() { - h.expression = r2.default.pick(h.expression, function(e3) { - return e3.overloads = r2.default.pick(e3.overloads, function(e4) { - return !e4.hidden; - }), r2.default.each(e3.overloads, function(e4) { - r2.default.isBoolean(e4) || r2.default.isUndefined(e4) || (e4.examples = r2.default.pick(e4.examples, function(e5) { - return !e5.hidden; - })); - }), !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, 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), 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; - } - function A(e3, t3) { - return s.default.getGlobalTypeGroup().getType(e3, t3); - } - function N(e3) { - const t3 = e3.symbol || e3.name, i3 = S(e3.description); - let n3; - e3.category && (n3 = T[e3.category], n3 || console.error("Unknown category '" + e3.category + "' for function '" + e3.identifier + "'")); - const o2 = []; - let a2 = 0; - if (r2.default.each(e3.overloads, function(t4) { - const i4 = (function(e4, t5) { - if (!t5.support) return; - const i5 = []; - r2.default.each(t5.parameters, function(n5) { - const r3 = A(n5.type, n5.isArray); - r3 || console.error("Unknown parameter type '" + n5.type + "' for parameter '" + n5.identifier + "' in overload '" + t5.identifier + "' for function '" + e4.identifier + "' "); - const o4 = S(n5.description); - i5.push((0, _.createOperand)(n5, r3, o4)); - }); - const n4 = l.expressionResolvers.getResolver(t5.support.resolver); - !n4 && t5.support && "None" !== t5.support.resolver && console.error("No resolver found for: '" + t5.support.resolver + "'"); - const o3 = A(t5.returnValue.type, t5.returnValue.isArray); - o3 || console.error("Unknown return type '" + t5.returnValue.type + "' in overload '" + t5.identifier + "' for function + '" + e4.identifier + "'"); - const a3 = []; - let s2; - r2.default.each(t5.examples, function(e5) { - const t6 = { input: S(e5.input), output: S(e5.output) }; - e5.outputFlowCurrentLanguage && (t6.outputFlowCurrentLanguage = e5.outputFlowCurrentLanguage), e5.hidden && (t6.hidden = true), e5.featureConfigName && (t6.featureConfigName = e5.featureConfigName), e5.featureToggleName && (t6.featureToggleName = e5.featureToggleName), e5.addNewLineInfo && (t6.addNewLineInfo = true), a3.push(t6); - }), t5.passThrough && (s2 = { dataTypes: [], funcOpOverloadId: t5.passThrough.funcOpOverloadId, isArrayItemPassThrough: true === t5.passThrough.isArrayItemPassThrough }, r2.default.each(t5.passThrough.dataTypes, (i6) => { - 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), c2 = S(t5.returnValue.description); - return (0, p.createFuncOpOverload)(t5, u2, o3, c2, n4, i5, a3, s2); - })(e3, t4); - if (i4) { - let e4 = false; - if (t4.parameters && t4.parameters.length > 0) { - for (let i5 = 0; i5 < t4.parameters.length; i5++) if (t4.parameters[i5].type === u.expressionTypeNames.any) { - e4 = true; - break; - } - } - e4 ? o2.push(i4) : (o2.splice(a2, 0, i4), a2++), y[t4.identifier] = i4; - } - }), 0 !== o2.length) { - const a3 = (0, c.createFuncOp)(e3, t3, i3, n3, o2); - r2.default.each(o2, function(e4) { - e4.parent = a3; - }), m.push(a3); - const s2 = "_" + a3.text.toLocaleLowerCase(); - g[s2] || (g[s2] = []), g[s2].push(a3), f[a3.identifier] = a3; + _validateContainerOnly(e3, t3) { + return super._validateContainerOnly(e3, t3); } } - }, 33534: (e2, t2, i2) => { + t2.default = o; + }, 52800(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "voiceSnippet"; + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = i2(69675), s = i2(47957); + class l { + constructor() { + Object.defineProperties(this, { _builderViewModel: { writable: true, enumerable: false }, _builderPartViewModel: { writable: true, enumerable: false }, _builderPartContainerViewModel: { writable: true, enumerable: false }, _isContainerRelated: { value: false, writable: true, enumerable: false }, _isBuilderPartDefRelated: { value: false, writable: true, enumerable: false }, _message: { writable: true, enumerable: false }, _type: { value: a.none, writable: true, enumerable: false } }); } - get initialValue() { - return this._initialValue; + static createForBuilder(e3, t3, i3, n3) { + return new l().setType(e3).setMessage(t3).setBuilder(i3).setIsContainerRelated(n3); } - get displayTypeName() { - return "ArchVariableVoiceSnippet"; + static createForBuilderPart(e3, t3, i3, n3, o2, r2, a2) { + return new l().setType(e3).setMessage(t3).setBuilder(i3).setBuilderPartContainer(o2).setBuilderPart(r2).setIsContainerRelated(n3).setIsBuilderPartDefRelated(a2); } - get isArchVariableVoiceSnippet() { - return true; + static createForBuilderPartContainer(e3, t3, i3, n3, o2) { + return new l().setType(e3).setMessage(t3).setBuilder(i3).setBuilderPartContainer(o2).setIsContainerRelated(n3); } - } - 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 }; + hasId(e3) { + return !(!r.default.isString(e3) || 0 === e3.length || this.builderId !== e3 && this.builderContainerPartId !== e3 && this.builderPartId !== e3); } - }; - }, 33577: (e2, t2, i2) => { - "use strict"; - 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 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 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(); - } - 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() { - } - o.prototype.getCurrentToken = function() { - return n2.build(r2.getCurrentToken).call(); - }, o.prototype.getCurrentUser = function() { - return n2.build(r2.getCurrentUser).call(); - }, o.prototype.getUser = function(e3) { - const t3 = n2.build(r2.getUser); - return t3.queryParams({ expand: "authorization" }), t3.templateParams({ id: e3 }).call(); - }, o.prototype.getUser.api = r2.getUser, o.prototype.getUserRolesAndPermissions = function(e3) { - return n2.build(r2.getUserRolesAndPermissions).templateParams({ id: e3 }).call(); - }, o.prototype.getUsers = function(e3) { - const t3 = n2.build(r2.getUsers), i3 = e3.get_q64searchContent(); - return t3.content(i3), t3.call(); - }, e2.exports = new o(); - }, 33631: (e2, t2, i2) => { - const n2 = i2(13240), { decisionActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _expression: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.expression.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.expression.pasteReIdOrRename(e3); - } }, expression: { enumerable: true, get: function() { - return this._expression; - }, set: function(e3) { - this._expression = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 33644: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(99469), o = i2(51306), a = i2(28803), s = n2.__importDefault(i2(5730)), l = i2(47957); - class u extends s.default { - constructor(e3, t3) { - super(e3, t3); + get builderViewModel() { + return this._builderViewModel; } - static get managedProperties() { - return [{ property: "outcome", label: l.flowOutcomes.flowOutcome, options: r2.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("outcome-selector").setDropdownPlaceholder(l.flowOutcomes.selectFlowOutcome).setUiPropertyOrder(0)), yamlOptions: u.createYamlOptions("flowOutcome", (e3) => e3.setPropertyName("flowOutcome")), createDetails: a.NetworkBasedActionProperty.createCreateDetails("outcomeId", "outcomeName", o.outcomeManager, l.flowOutcomes.mustSelectFlowOutcome, l.flowOutcomes.flowOutcomeNotFound, null) }]; + get builderId() { + return this._builderViewModel ? this._builderViewModel.id : void 0; } - } - u.className = "BaseFlowOutcomeAction", t2.default = u; - }, 33653: (e2, t2, i2) => { - "use strict"; - 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 = 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)(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)), c = i2(47957); - function d(e3, t3) { - if (!t3 || !e3.options || !e3.options.durationFacets) return; - const i3 = s.getItem(t3); - if (!i3) return; - const n3 = []; - return o.default.each(e3.languages, function(t4) { - const r3 = i3.getResource(t4.id.toLowerCase()); - if (r3) { - const i4 = r3.getAudioLength() * l.default.msPerSecond; - e3.options.durationFacets.validateMilliseconds(i4, e3).isValid || n3.push(t4.id); - } - }), 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"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { - if (t3.createDetails && t3.createDetails.create) { - e3[t3.property] && (o.default.isFunction(e3[t3.property].destroy) && e3[t3.property].destroy(), delete e3[t3.property]); - const i4 = e3[t3.property] = t3.createDetails.create(e3, t3); - return t3.supportedFlowTypes && i4.hasOutOfServiceProvider && (i4.supportedFlowTypes = t3.supportedFlowTypes, o.default.isFunction(i4.outOfServiceChanged) && i4.outOfServiceChanged(true)), i4; + get builderDefId() { + return this._builderViewModel ? this._builderViewModel.builderDefId : void 0; } - if (t3.isJustForFlowYaml) return null; - let i3, n3, S, A = e3.model[t3.property]; - if (Array.isArray(t3.optionsForSpecificFlowTypes)) { - const i4 = t3.optionsForSpecificFlowTypes.find((t4) => t4.flowTypes.find((t5) => t5 === e3.parentFlow.type)); - o.default.isUndefined(i4) || (S = i4.options); + get builderContainerPartId() { + return this._builderPartContainerViewModel ? this._builderPartContainerViewModel.id : void 0; } - 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), 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; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get builderContainerPartDefId() { + return this._builderPartContainerViewModel ? this._builderPartContainerViewModel.builderPartDefId : void 0; } - constructor(e3) { - super(e3); + get builderPartContainerViewModel() { + return this._builderPartContainerViewModel; } get className() { - return "ExpressionTypeSurveyQuestionGroupOptions"; + return "BuilderObjectValidationResult"; } - get isExpressionTypeSurveyQuestionGroupOptions() { + get isBuilderObjectValidationResult() { return true; } - } - t2.ExpressionTypeSurveyQuestionGroupOptions = r2; - }, 33690: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.inqueueShortMessageFlowListManager = t2.InqueueShortMessageFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(17475), o = i2(6109), a = i2(96618), s = i2(27862); - class l extends o.FlowListManager { - get dependencyType() { - return s.InqueueShortMessageFlow; - } - constructor() { - super(), this.topic = n2.getTopic("InqueueShortMessageFlowListManager"), this.briefManager = r2.briefInQueueShortMessageFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeInQueueShortMessage }, this.className = "InqueueShortMessageFlowListManager", this.flowType = a.flowTypes.flowTypeInQueueShortMessage, this._rawServerCache = {}, this._initialize(); - } - } - t2.InqueueShortMessageFlowListManager = l, t2.inqueueShortMessageFlowListManager = new l(); - }, 33726: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(28562), r2 = i2(69149), o = { _label: "BotSlotQuestion", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "localizedSequence1", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "localizedSequence2", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_question", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence1: { _label: "bot_slot_question_seq_1", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence2: { _label: "bot_slot_question_seq_2", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_question", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence1: { _label: "bot_slot_question_seq_1", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence2: { _label: "bot_slot_question_seq_2", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }] } } }; - t2.default = o; - }, 33805: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "externalIdInfoCollection"; + get builderPartIndex() { + return this._builderPartViewModel ? this._builderPartContainerViewModel && this._builderPartContainerViewModel.builderParts ? this._builderPartContainerViewModel.builderPartsManager.getIndexForPart(this.builderPartId) : this._builderViewModel && this._builderViewModel.builderParts ? this._builderViewModel.builderPartsManager.getIndexForPart(this.builderPartId) : -1 : -1; } - get displayTypeName() { - return "ArchValueExternalIdInfoCollection"; + get builderPartDisplayIndex() { + const e3 = this.builderPartIndex; + return -1 === e3 ? -1 : e3 + 1; } - get isArchValueExternalIdInfoCollection() { - return true; + get builderPartId() { + return this._builderPartViewModel ? this._builderPartViewModel.id : void 0; } - } - 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 = n2.__importDefault(i2(4648)), c = i2(47957); - class d extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get builderPartDefId() { + return this._builderPartViewModel ? this._builderPartViewModel.defId : void 0; } - static get branchInfo() { - return o.default.successFailure; + get builderPartViewModel() { + return this._builderPartViewModel; } - _getPossibleErrors() { - return a.disconnectWorkitemFailureReasons; + get message() { + return this._message; } - } - 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) { - return e3 ? t3 ? (0, r2.sprintf)(e3, t3) : e3 : ""; - }, 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(c) && (i3 = this.sanitizeErrorCode(i3)), i3 && e3 === i3; - }, t2.getErrorInformation = function(e3) { - const t3 = this.getErrorText(e3.code, e3.messageParams); - let i3; - if (e3.code === a.permissionService.missingDivisionPermissionString && e3.messageParams) { - let t4 = []; - e3.messageParams.divisionUris && (t4 = a.permissionService.getDivisionListFromDivisionUrisErrorString(e3.messageParams.divisionUris)), !t4.length && e3.messageParams.divisions && (t4 = a.permissionService.getDivisionListFromDivisionsErrorString(e3.messageParams.divisions)), t4.length && (i3 = [{ title: t4.length > 1 ? u.generic.permissions.divisionHeaderMoreThanOne : u.generic.permissions.divisionHeader, entries: t4 }]); + get messageFull() { + const e3 = this._builderPartContainerViewModel ? this._builderPartContainerViewModel.containerDisplayString : void 0, t3 = this.builderPartDisplayIndex; + return r.default.isString(e3) && e3.length ? t3 > -1 ? (0, o.sprintf)(s.builders.validationMessage.withContainerAndIndex, e3, t3, this.message) : (0, o.sprintf)(s.builders.validationMessage.withContainer, e3, this.message) : t3 > -1 ? (0, o.sprintf)(s.builders.validationMessage.withIndex, t3, this.message) : this.message; } - return new s.ErrorInformation(t3, void 0, null, i3); - }, t2.getErrorText = function(e3, t3) { - if (!e3) return; - e3 = this.sanitizeErrorCode(e3); - const i3 = o.default.findWhere(l, { code: e3 }); - return i3 ? this.formatErrorString(i3.message, t3) : ""; - }, 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(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), c = /^(VXMLGEN_)|\./; - }, 33923: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(51695)); - class r2 extends n2.default { - constructor(e3, t3) { - super(), this.model = e3, this.value = t3; + get type() { + return this._type; } - get contents() { - return [this.value]; + get isContainerRelated() { + return this._isContainerRelated; } - get id() { - return "eri-" + this.value.id; + get isBuilderPartDefRelated() { + return this._isBuilderPartDefRelated; } - get cardLabel() { + get guxAccent() { + return this.isError ? "error" : this.isWarning ? "warning" : this.isInfo ? "info" : void 0; } - get className() { - return "ExpressionWithReferenceId"; + get isError() { + return this._type === a.error; } - getConfiguration(e3, t3, i3) { - return (null == t3 ? void 0 : t3.isForFlowYaml) ? { value: this.value.getConfiguration(e3, t3, i3) } : this.model; + get isInfo() { + return this._type === a.info; } - get referenceId() { - return this.model.referenceId; + get isWarning() { + return this._type === a.warning; } - set referenceId(e3) { - this.model.referenceId = e3; + getIsRollupForBuilderObject(e3) { + if (r.default.isString(e3)) { + if (this.builderId === e3) return r.default.isString(this.builderContainerPartId) || r.default.isString(this.builderPartId); + if (this.builderContainerPartId === e3) return r.default.isString(this.builderPartId); + } + return false; } - get value() { - return this._value; + getIsPartInContainerPart(e3) { + return this.builderContainerPartId === e3 && this.builderPartId; } - set value(e3) { - this._value = e3, this.model.value = this._value.model; + getIsPartOrContainerPartResult() { + return this.builderPartId || this.builderContainerPartId; } - get label() { - return this.value.label; + setBuilder(e3) { + return this._builderViewModel = e3, this; } - set label(e3) { - this.value.label = e3; + setIsContainerRelated(e3) { + return this._isContainerRelated = !!e3, this; } - } - 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), 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); + setIsBuilderPartDefRelated(e3) { + return this._isBuilderPartDefRelated = !!e3, this; } - static get branchInfo() { - return s.default.foundNotFoundFailure; + setBuilderPart(e3) { + return this._builderPartViewModel = e3, this; } - _getPossibleErrors() { - return l.getAssignedCustomerIntentsFailureReasons; + setBuilderPartContainer(e3) { + return this._builderPartContainerViewModel = e3, this; } - static get managedProperties() { - 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 }]; + setMessage(e3) { + return this._message = e3, this; + } + setType(e3) { + return this._type = e3, this; + } + _reset() { + this._builderViewModel = void 0, this._builderPartViewModel = void 0, this._builderPartContainerViewModel = void 0, this._message = void 0, this._type = a.none; + } + destroy() { + this._reset(); } } - 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) => { - e2.exports = { created: "created", transcoded: "transcoded", transcodeFailed: "transcodeFailed", uploaded: "uploaded" }; - }, 33951: (e2, t2, i2) => { + t2.default = l; + }, 30231(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), c = {}; - r2.default.each(a.actionTypeValues, function(e3) { - c[e3] = true; - }), t2.ParameterValidator = class { - static _logError(e3, t3) { - return console.error(e3), t3; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(69675); + class r { + constructor(e3, t3, i3) { + Object.defineProperties(this, { _doNotDestroyResults: { value: true === i3 }, _builderObjectId: { value: e3, writable: true }, _rollupErrorCount: { value: 0, writable: true }, _rollupInfoCount: { value: 0, writable: true }, _rollupWarningCount: { value: 0, writable: true }, _validationResultArray: { value: t3, writable: true } }), n2.default.each(t3, (e4) => { + this._processRollupCounts(e4, 1); + }); } - static _logExpectedTypeError(e3, t3, i3, n3) { - let r3; - r3 = void 0 !== r3 ? i3().logStringHeader : "", this._logError(r3 + "Expected: " + t3 + (n3 ? ", null or undefined" : "") + ", Received: '" + e3 + "' (type: " + typeof e3 + ")", e3); + static create(e3, t3, i3) { + return n2.default.isArray(t3) || (t3 = [t3]), new r(e3, t3, i3); } - static _okIfNullOrUndefined(e3, t3) { - return t3 && null == e3; + _processRollupCounts(e3, t3) { + if (e3 && e3.getIsRollupForBuilderObject(this._builderObjectId)) switch (e3.type) { + case o.error: + this._rollupErrorCount = this._rollupErrorCount + t3; + break; + case o.info: + this._rollupInfoCount = this._rollupInfoCount + t3; + break; + case o.warning: + this._rollupWarningCount = this._rollupWarningCount + t3; + } } - static _expectTrue(e3, t3, i3, n3, r3) { - if (true === e3 || this._okIfNullOrUndefined(t3, r3)) return t3; - this._logExpectedTypeError(t3, i3, n3, r3); + addValidationResult(e3) { + this._validationResultArray.push(e3), this._processRollupCounts(e3, 1); } - static expectActionType(e3, t3, i3) { - return this._expectTrue("string" == typeof e3 && true === c[e3], e3, "actionType string", t3, i3); + get builderObjectId() { + return this._builderObjectId; } - static expectArray(e3, t3, i3) { - return this._expectTrue(r2.default.isArray(e3), e3, "array", t3, i3); + _getResultsByType(e3, t3, i3) { + const o2 = []; + return n2.default.each(this._validationResultArray, (n3) => { + if (n3.type === e3) { + let e4 = true; + true === t3 && (e4 = n3.getIsRollupForBuilderObject(this._builderObjectId)), true === i3 && (e4 = !n3.getIsRollupForBuilderObject(this._builderObjectId)), e4 && o2.push(n3); + } + }), o2.length > 0 ? i3 ? o2[0] : o2 : void 0; } - static expectArrayOrObject(e3, t3, i3) { - return this._expectTrue(r2.default.isArray(e3) || r2.default.isObject(e3), e3, "array or object", t3, i3); + _getStringFromResult(e3) { + return e3 ? e3.message : void 0; } - static expectArrayOrString(e3, t3, i3) { - return this._expectTrue(r2.default.isArray(e3) || r2.default.isString(e3), e3, "array or string", t3, i3); + _getStringsFromResultsArray(e3) { + if (!n2.default.isArray(e3) || 0 === e3.length) return; + const t3 = []; + return n2.default.each(e3, (e4) => { + t3.push(e4.message); + }), t3; } - static expectBool(e3, t3, i3) { - return this._expectTrue(r2.default.isBoolean(e3), e3, "boolean", t3, i3); + getBuilderObjectResults(e3, t3) { + return n2.default.isArray(t3) || (t3 = []), n2.default.each(this._validationResultArray, (i3) => { + i3.hasId(e3) && t3.push(i3); + }), t3; } - static expectChannelType(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isChannelType, e3, "ChannelType", t3, i3); + getBuilderObjectResultsByType(e3, t3, i3) { + return n2.default.isArray(t3) || (t3 = []), n2.default.each(this._validationResultArray, (n3) => { + n3.type === i3 && n3.hasId(e3) && t3.push(n3); + }), t3; } - static expectExpression(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isExpression, e3, "expression", t3, i3); + getBuilderObjectErrors(e3, t3) { + return this.getBuilderObjectResultsByType(e3, t3, o.error); } - static expectExpressionOptions(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isExpressionOptions, e3, "expression options", t3, i3); + getBuilderObjectInfos(e3, t3) { + return this.getBuilderObjectResultsByType(e3, t3, o.info); } - static expectExpressionType(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isExpressionType, e3, "expressionType", t3, i3); + getBuilderObjectWarnings(e3, t3) { + return this.getBuilderObjectResultsByType(e3, t3, o.warning); } - static expectExpressionTypeOrTypes(e3, t3, i3, n3) { - let o2; - return r2.default.isArray(e3) ? (r2.default.isUndefined(i3) && (i3 = true), r2.default.isUndefined(n3) && (n3 = true), o2 = r2.default.isEmpty(n3) ? n3 : r2.default.isUndefined(r2.default.find(e3, (t4) => t4 ? !(null == e3 ? void 0 : e3.isExpressionType) : !i3))) : o2 = null == e3 ? void 0 : e3.isExpressionType, this._expectTrue(o2, e3, "expressionType", t3, false); + getBuilderObjectHasResultOfType(e3, t3) { + return !n2.default.isUndefined(n2.default.find(this._validationResultArray, (i3) => i3.type === t3 && i3.hasId(e3))); } - static expectExpressionTypeOrString(e3, t3, i3) { - return this._expectTrue((null == e3 ? void 0 : e3.isExpressionType) || r2.default.isString(e3), e3, "expressionType or string", t3, i3); + getBuilderObjectHasError(e3) { + return this.getBuilderObjectHasResultOfType(e3, o.error); } - static expectFeatureConfigName(e3, t3, i3) { - return this._expectTrue(r2.default.isString(e3) && !r2.default.isUndefined(l.default[e3]), e3, "feature config name", t3, i3); + getBuilderObjectHasInfo(e3) { + return this.getBuilderObjectHasResultOfType(e3, o.info); } - static expectFlowType(e3, t3, i3) { - return this._expectTrue(r2.default.isString(e3) && r2.default.contains(u.flowTypes.flowTypesAll, e3), e3, "flowType string", t3, i3); + getBuilderObjectHasWarning(e3) { + return this.getBuilderObjectHasResultOfType(e3, o.warning); } - static expectFlowViewModel(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isFlowViewModel, e3, "flow view model", t3, i3); + getHasResultOfType(e3) { + return !n2.default.isUndefined(n2.default.find(this._validationResultArray, (t3) => t3.type === e3)); } - static expectBaseClassObject(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isBaseClass, e3, "not a baseClass", t3, i3); + get errorResultsArray() { + return this._getResultsByType(o.error); } - static expectInt(e3, t3, i3) { - return this._expectTrue(r2.default.isActualNumber(e3) && e3 === parseInt(e3, 10), e3, "integer ( number with integral value )", t3, i3); + get infoResultsArray() { + return this._getResultsByType(o.info); } - static expectIntLessThan(e3, t3, i3, n3) { - if (!r2.default.isUndefined(this.expectInt(e3, i3, n3))) return r2.default.isUndefined(t3) ? e3 : this._expectTrue(e3 < t3, e3, "integer is not less than a max value", i3, false); + get warningResultsArray() { + return this._getResultsByType(o.warning); } - static expectIntLessThanOrEqualTo(e3, t3, i3, n3) { - if (!r2.default.isUndefined(this.expectInt(e3, i3, n3))) return r2.default.isUndefined(t3) ? e3 : this._expectTrue(e3 <= t3, e3, "integer is not less than or equal to a max value", i3, false); + get rollupErrorResultsArray() { + return this._getResultsByType(o.error, true); } - static expectIntMoreThan(e3, t3, i3, n3) { - if (!r2.default.isUndefined(this.expectInt(e3, i3, n3))) return r2.default.isUndefined(t3) ? e3 : this._expectTrue(e3 > t3, e3, "integer is not more than a max value", i3, false); + get rollupInfoResultsArray() { + return this._getResultsByType(o.info, true); } - static expectIntMoreThanOrEqualTo(e3, t3, i3, n3) { - if (!r2.default.isUndefined(this.expectInt(e3, i3, n3))) return r2.default.isUndefined(t3) ? e3 : this._expectTrue(e3 >= t3, e3, "integer is not more than or equal to a max value", i3, false); + get rollupWarningResultsArray() { + return this._getResultsByType(o.warning, true); } - static expectIntOrString(e3, t3, i3) { - return this._expectTrue(r2.default.isString(e3) || r2.default.isActualNumber(e3) && e3 === parseInt(e3, 10), e3, "string or integer ( number with integral value )", t3, i3); + get objectErrorResult() { + return this._getResultsByType(o.error, void 0, true); } - static expectMatchSettings(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isMatchSettings, e3, "match settings instance", t3, i3); + get objectInfoResult() { + return this._getResultsByType(o.info, void 0, true); } - static expectNodeInformation(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isNodeInformation, e3, "NodeInformation", t3, i3); + get objectWarningResult() { + return this._getResultsByType(o.warning, void 0, true); } - static expectNumber(e3, t3, i3) { - return this._expectTrue(r2.default.isActualNumber(e3), e3, "number", t3, i3); + get objectErrorString() { + return this._getStringFromResult(this._getResultsByType(o.error, void 0, true)); } - static expectNumberOrString(e3, t3, i3) { - return this._expectTrue(r2.default.isString(e3) || r2.default.isActualNumber(e3), e3, "number or string", t3, i3); + get objectInfoString() { + return this._getStringFromResult(this._getResultsByType(o.info, void 0, true)); } - static expectObject(e3, t3, i3) { - return this._expectTrue(r2.default.isObject(e3) || r2.default.isActualNumber(e3), e3, "object", t3, i3); + get objectWarningString() { + return this._getStringFromResult(this._getResultsByType(o.warning, void 0, true)); } - static expectFunction(e3, t3, i3) { - return this._expectTrue(r2.default.isFunction(e3), e3, "function", t3, i3); + get errorStringsArray() { + return this._getStringsFromResultsArray(this._getResultsByType(o.error)); } - static expectString(e3, t3, i3) { - return this._expectTrue(r2.default.isString(e3), e3, "string", t3, i3); + get infoStringsArray() { + return this._getStringsFromResultsArray(this._getResultsByType(o.info)); } - static expectStringComplexIdentifier(e3, t3, i3) { - return this._expectTrue(r2.default.isString(e3) && e3.slice(0, s.default.exprDataTypePrefixComplex.length) === s.default.exprDataTypePrefixComplex, e3, "complex identifier string", t3, i3); + get warningStringsArray() { + return this._getStringsFromResultsArray(this._getResultsByType(o.warning)); } - static expectCustomJsonIdentifier(e3, t3, i3) { - return this._expectTrue(r2.default.isString(e3) && e3.slice(0, s.default.exprDataTypePrefixJsonArch.length) === s.default.exprDataTypePrefixJsonArch, e3, "custom json identifier", t3, i3); + get rollupErrorStringsArray() { + return this._getStringsFromResultsArray(this._getResultsByType(o.error, true)); } - static expectTrue(e3, t3, i3, n3, r3) { - return this._expectTrue(e3, t3, i3, n3, r3); + get rollupInfoStringsArray() { + return this._getStringsFromResultsArray(this._getResultsByType(o.info, true)); } - static expectValidationResults(e3, t3, i3) { - return this._expectTrue(null == e3 ? void 0 : e3.isValidationResults, e3, "validation results view model", t3, i3); + get rollupWarningStringsArray() { + return this._getStringsFromResultsArray(this._getResultsByType(o.warning, true)); } - static expectVariableScope(e3, t3, i3) { - return this._expectTrue(o.scopes[e3], e3, "number or string", t3, i3); + get hasError() { + return this.getHasResultOfType(o.error); } - static valueIsInvalid(e3, t3, i3, n3) { - this._logError((r2.default.isFunction(t3) ? t3().logStringHeader : "") + (n3 ? "" : "Invalid Value: '" + e3 + "', ") + "Message: '" + i3 + "'", e3); + get hasInfo() { + return this.getHasResultOfType(o.info); } - }; - }, 33965: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get hasWarning() { + return this.getHasResultOfType(o.warning); } - get _globalTypeName() { - return "journeyOutcome"; + get rollupErrorCount() { + return this._rollupErrorCount; } - get initialValue() { - return this._initialValue; + get rollupInfoCount() { + return this._rollupInfoCount; } - get displayTypeName() { - return "ArchVariableJourneyOutcome"; + get rollupWarningCount() { + return this._rollupWarningCount; } - get isArchVariableJourneyOutcome() { - return true; + get results() { + return this._validationResultArray; + } + destroy() { + this._doNotDestroyResults || n2.default.each(this._validationResultArray, (e3) => { + try { + e3.destroy(); + } catch (e4) { + } + }), this._validationResultArray = void 0, this._builderObjectId = void 0, this._rollupErrorCount = void 0, this._rollupInfoCount = void 0, this._rollupWarningCount = void 0; } } - 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: { 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) => { + t2.default = r; + }, 43221(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(61203)); - class a extends o.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(52800)), a = n2.__importDefault(i2(30231)), s = i2(55909), l = i2(33951), u = i2(69675), c = "BuilderValidationResultsOrganizer"; + class d { constructor(e3) { - super(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 } }); } - get _actionTypeId() { - return r2.transferFlowSecureActionType; + static create(e3) { + return new d(e3); } - get displayTypeName() { - return "ArchMenuTransferToFlowSecure"; + _addResult(e3, t3, i3) { + if (l.ParameterValidator.expectObject(e3, () => s.ParameterInfo.createFunctionParameter(c, "_addResult", "builderObjectViewModel")), o.default.isUndefined(e3)) return; + let n3; + if (e3.isBaseBuilderViewModel) { + if (e3.id !== this._builderViewModel.id) return null; + n3 = r.default.createForBuilder(i3, t3, this._builderViewModel, this._contextIsContainerRelated); + } else if (e3.isContainerPart) { + if (e3.builderViewModel.id !== this._builderViewModel.id) return null; + n3 = r.default.createForBuilderPartContainer(i3, t3, this._builderViewModel, this._contextIsContainerRelated, e3); + } else if (e3.isBaseBuilderPartViewModel) { + if (e3.builderViewModel.id !== this._builderViewModel.id) return null; + n3 = r.default.createForBuilderPart(i3, t3, this._builderViewModel, this._contextIsContainerRelated, this._contextBuilderPartContainerViewModel, e3, this._contextIsBuilderPartDefRelated); + } + if (!n3) return; + let u2 = this._objectIdsToValidationResults[e3.id]; + return o.default.isUndefined(u2) ? (u2 = new a.default(e3.id, [n3]), this._objectIdsToValidationResults[e3.id] = u2) : u2.addValidationResult(n3), n3; } - get actionTransferToFlowSecure() { - return this._archAction; + get className() { + return c; } - get isArchMenuTransferToFlowSecure() { + get isBuilderValidationResultsOrganizer() { return true; } - } - t2.default = a; - }, 34015: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(51695)), a = n2.__importStar(i2(1115)); - class s extends o.default { - constructor(e3, t3, i3) { - super(), this.model = e3, this.type = t3, this.value = i3; + setContextBuilderPartContainer(e3) { + this._contextBuilderPartContainerViewModel = e3; } - get contents() { - return [this.value]; + clearContextBuilderPartContainer() { + this._contextBuilderPartContainerViewModel = void 0; } - get id() { - return "dpp-" + this.value.id; + setContextIsContainerRelated() { + this._contextIsContainerRelated = true; } - get className() { - return "DataPairViewModel"; + clearContextIsContainerRelated() { + this._contextIsContainerRelated = false; } - getConfiguration(e3, t3, i3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - let n3; - if ((null == i3 ? void 0 : i3.wrapDataPairNameAndValueInTypeString) ? n3 = this.type.yamlTypeName : r2.default.isString(null == i3 ? void 0 : i3.wrapDataPairNameAndValueInString) && (n3 = null == i3 ? void 0 : i3.wrapDataPairNameAndValueInString), r2.default.isString(n3)) { - const o2 = { name: this.name || "" }; - return this.value.outOfService || (o2.value = this.value.getConfiguration(e3, t3, i3)), r2.default.tryWrapObject(o2, n3); - } - return r2.default.tryWrapObject(this.value.getConfiguration(e3, t3), this.name); - } - return this.model; + setContextIsBuilderPartDefRelated() { + this._contextIsBuilderPartDefRelated = true; } - get isDataPairViewModel() { - return true; + clearContextIsBuilderPartDefRelated() { + this._contextIsBuilderPartDefRelated = false; } - get cardLabel() { - return this.name; + getBuilderObjectResults(e3) { + const t3 = []; + return o.default.each(this._objectIdsToValidationResults, (i3) => { + i3.getBuilderObjectResults(e3, t3); + }), t3.length ? a.default.create(e3, t3, true) : void 0; } - get name() { - return this.model.name; + getBuilderObjectResultsByType(e3, t3) { + const i3 = []; + return o.default.each(this._objectIdsToValidationResults, (n3) => { + n3.getBuilderObjectResultsByType(e3, i3, t3); + }), i3.length ? a.default.create(e3, i3, true) : void 0; } - set name(e3) { - this.model.name === e3 && this.value.label === e3 || (this.model.name = e3, this.value.label = e3, this.value.parent && this.value.parent.initializeDesignTimeCalled && a.validateNode(this.value.parent, true)); + getBuilderObjectErrors(e3) { + return this.getBuilderObjectResultsByType(e3, u.error); } - get referenceId() { - return this.model.referenceId; + getBuilderObjectInfos(e3) { + return this.getBuilderObjectResultsByType(e3, u.info); } - set referenceId(e3) { - this.model.referenceId = e3; + getBuilderObjectWarnings(e3) { + return this.getBuilderObjectResultsByType(e3, u.warning); + } + getBuilderObjectHasResultOfType(e3, t3) { + return o.default.any(this._objectIdsToValidationResults, (i3) => i3.getBuilderObjectHasResultOfType(e3, t3)); + } + getBuilderObjectHasError(e3) { + return this.getBuilderObjectHasResultOfType(e3, u.error); + } + getBuilderObjectHasInfo(e3) { + return this.getBuilderObjectHasResultOfType(e3, u.info); + } + getBuilderObjectHasWarning(e3) { + return this.getBuilderObjectHasResultOfType(e3, u.warning); + } + clearBuilderObject(e3) { + if (!o.default.isString(e3) || 0 === e3.length) return; + const t3 = this._objectIdsToValidationResults[e3]; + o.default.isUndefined(t3) || (delete this._objectIdsToValidationResults[e3], t3.destroy()); + } + addError(e3, t3) { + this._addResult(e3, t3, u.error); + } + addInfo(e3, t3) { + this._addResult(e3, t3, u.info); + } + addWarning(e3, t3) { + this._addResult(e3, t3, u.warning); + } + destroy() { + this.reset(), this._builderViewModel = void 0; + } + reset() { + this._contextBuilderPartContainerViewModel = void 0, o.default.each(this._objectIdsToValidationResults, (e3) => { + e3.destroy(); + }), this._objectIdsToValidationResults = {}; } } - t2.default = s; - }, 34345: (e2, t2, i2) => { + t2.default = d; + }, 73198(e2, t2) { "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), 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) => { + 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; + }, 7342(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAdminAgenticVirtualAgentUrl = function(e3) { - return `${r2}/ai-studio/agentic-virtual-agents${e3 ? `/agent/${e3}` : ""}`; - }, t2.getAdminCannedResponsesUrl = function(e3) { - if (e3) return `${r2}/responseManagement/responses/detail/${e3}/library/edit`; - }, t2.getAdminConversationSchemaUrl = function(e3) { - return `${r2}/conversation-schemas${e3 ? `/${e3}` : ""}`; - }, t2.getAdminConversationSummarySettingUrl = function(e3) { - return `${r2}/ai-studio/summary-workbench${e3 ? `/config/${e3}` : ""}`; - }, t2.getAdminGuideUrl = function(e3) { - return `${r2}/ai-studio/guides${e3 ? `/guide/${e3}` : ""}`; - }, t2.getCopilotBaseUrl = function() { - return `${n2}/copilot-framework/`; - }, t2.getAdminKnowledgeBaseUrl = function(e3) { - return `${r2}/knowledge/knowledgeBases/articles${e3 ? `?kbId=${e3}` : ""}`; - }, t2.getAdminKnowledgeSettingUrl = function(e3) { - return `${r2}/knowledge/knowledgeConfiguration/configurations/${e3 ? `${e3}/edit` : ""}`; - }, t2.getAdminOrganizationSettingsUrl = function() { - return `${r2}/organization/settings`; - }, t2.getAdminPredictiveEngagementActionMapUrl = function() { - return `${r2}/embed/engagement/action-map/`; - }, t2.getAdminProcessAutomationEventTriggersUrl = function() { - return `${r2}/triggers/edit/`; - }, t2.getAdminProcessAutomationScheduledTriggersUrl = function() { - return `${r2}/triggers/scheduled/edit/`; - }, t2.getAdminQualityPoliciesUrl = function() { - return `${s}/quality/admin/policies/mediaRetention/update/`; - }, t2.getWorkitemUrl = function() { - return l; - }, t2.getAdminSurveyFormsUrl = u, t2.getAdminSurveyFormUrl = function(e3) { - return `${u()}/${e3}`; - }, 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) { - return `${a}/quality/surveys/${e3}/performance`; - }, t2.getAnalyticsInteractionReportForFlowUrl = function(e3) { - return `${a}/interactions?flow=${e3}`; - }, t2.getAnalyticsVirtualAgentPerformanceForFlowUrl = function(e3) { - return `${a}/virtual-agent/performance${e3 ? `?virtualAgent=${e3}` : ""}`; - }, t2.getArchitectFlowsBaseUrl = function(e3) { - return `${o}/${e3}/flows`; - }, t2.getDialogEngineWorkbenchUrl = function() { - return `${n2}/dialog-engine/#/`; - }, t2.getKnowledgeBaseWorkbenchUrl = function(e3) { - return `${n2}/knowledge-workbench/#/knowledgeBases${e3 ? `/${e3}` : ""}`; - }, t2.getPubApiWorktypeCustomAttributeSchemaUrl = function(e3) { - return `/api/v2/taskmanagement/workitems/schemas/${e3}`; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(7098), r = i2(4087), a = {}; + n2.default.each(r.expression, function(e3, t3) { + a[t3] = e3; + }), n2.default.each(o.expression, function(e3, t3) { + a[t3] = e3; + }), a.properties = {}, n2.default.each(r.properties, function(e3, t3) { + a.properties[t3] = e3; + }), n2.default.each(o.properties, function(e3, t3) { + a.properties[t3] = e3; + }), t2.default = a; + }, 4308(e2, t2, i2) { + "use strict"; + t2.categorizeFunctions = function() { + for (let e3 = 0; e3 < r.length; e3++) { + let t3 = false; + for (let i3 = 0; i3 < a.length; i3++) if (r[e3].funcCategory === a[i3].funcCategory) { + a[i3].functions.push(r[e3]), t3 = true; + break; + } + if (false === t3) { + const t4 = (0, o.createFuncOpCollection)(r[e3].funcCategory); + t4.functions.push(r[e3]), a.push(t4); + } + } }; - const n2 = `https://${i2(31635).__importStar(i2(35515)).values.host}`, r2 = `${n2}/directory/#/admin`, o = `${n2}/architect/#`, a = `${n2}/directory/#/analytics`, s = `${n2}/directory/#/engage`, l = `${n2}/directory/#/agent/task-management/workitems`; - function u() { - return `${r2}/quality/surveyForms`; + const n2 = i2(27491), o = i2(58801), r = n2.expressionDataService.expressionFuncOps, a = n2.expressionDataService.expressionFuncOpCollections; + }, 64832(e2, t2, i2) { + "use strict"; + t2.createBuilders = function() { + o.default.initialize(), a.initialize(), r.default.initialize(); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(99131)), r = n2.__importDefault(i2(63145)), a = i2(85167); + }, 33527(e2, t2, i2) { + "use strict"; + t2.createFunctions = function() { + h.expression = o.default.pick(h.expression, function(e3) { + return e3.overloads = o.default.pick(e3.overloads, function(e4) { + return !e4.hidden; + }), o.default.each(e3.overloads, function(e4) { + o.default.isBoolean(e4) || o.default.isUndefined(e4) || (e4.examples = o.default.pick(e4.examples, function(e5) { + return !e5.hidden; + })); + }), !o.default.isEmpty(e3.overloads); + }), o.default.each(h.category, function(e3, t3) { + const i3 = r.default[e3.name], n3 = r.default[e3.description]; + T[t3] = (0, d.createFuncOpCategory)(e3, i3, n3); + }), o.default.each(h.expression, N), a.expressionDataService.makeListFunc = a.expressionDataService._getFuncOpForIdentifier("makeList"); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 r.default[e3] || e3; } - function c() { - return `${r2}/custom-attributes`; + function A(e3, t3) { + return s.default.getGlobalTypeGroup().getType(e3, t3); } - function d() { - return `${r2}/worktypes`; + function N(e3) { + const t3 = e3.symbol || e3.name, i3 = S(e3.description); + let n3; + e3.category && (n3 = T[e3.category], n3 || console.error("Unknown category '" + e3.category + "' for function '" + e3.identifier + "'")); + const r2 = []; + let a2 = 0; + if (o.default.each(e3.overloads, function(t4) { + const i4 = (function(e4, t5) { + if (!t5.support) return; + const i5 = []; + o.default.each(t5.parameters, function(n5) { + const o2 = A(n5.type, n5.isArray); + o2 || console.error("Unknown parameter type '" + n5.type + "' for parameter '" + n5.identifier + "' in overload '" + t5.identifier + "' for function '" + e4.identifier + "' "); + const r4 = S(n5.description); + i5.push((0, _.createOperand)(n5, o2, r4)); + }); + const n4 = l.expressionResolvers.getResolver(t5.support.resolver); + !n4 && t5.support && "None" !== t5.support.resolver && console.error("No resolver found for: '" + t5.support.resolver + "'"); + const r3 = A(t5.returnValue.type, t5.returnValue.isArray); + r3 || console.error("Unknown return type '" + t5.returnValue.type + "' in overload '" + t5.identifier + "' for function + '" + e4.identifier + "'"); + const a3 = []; + let s2; + o.default.each(t5.examples, function(e5) { + const t6 = { input: S(e5.input), output: S(e5.output) }; + e5.outputFlowCurrentLanguage && (t6.outputFlowCurrentLanguage = e5.outputFlowCurrentLanguage), e5.hidden && (t6.hidden = true), e5.featureConfigName && (t6.featureConfigName = e5.featureConfigName), e5.featureToggleName && (t6.featureToggleName = e5.featureToggleName), e5.addNewLineInfo && (t6.addNewLineInfo = true), a3.push(t6); + }), t5.passThrough && (s2 = { dataTypes: [], funcOpOverloadId: t5.passThrough.funcOpOverloadId, isArrayItemPassThrough: true === t5.passThrough.isArrayItemPassThrough }, o.default.each(t5.passThrough.dataTypes, (i6) => { + 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), c2 = S(t5.returnValue.description); + return (0, p.createFuncOpOverload)(t5, u2, r3, c2, n4, i5, a3, s2); + })(e3, t4); + if (i4) { + let e4 = false; + if (t4.parameters && t4.parameters.length > 0) { + for (let i5 = 0; i5 < t4.parameters.length; i5++) if (t4.parameters[i5].type === u.expressionTypeNames.any) { + e4 = true; + break; + } + } + e4 ? r2.push(i4) : (r2.splice(a2, 0, i4), a2++), y[t4.identifier] = i4; + } + }), 0 !== r2.length) { + const a3 = (0, c.createFuncOp)(e3, t3, i3, n3, r2); + o.default.each(r2, function(e4) { + e4.parent = a3; + }), m.push(a3); + const s2 = "_" + a3.text.toLocaleLowerCase(); + g[s2] || (g[s2] = []), g[s2].push(a3), f[a3.identifier] = a3; + } } - }, 34490: (e2, t2, i2) => { + }, 19102(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.LexAliasViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(43212), a = n2.__importDefault(i2(56133)), s = n2.__importDefault(i2(27579)); - class l extends o.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, s.default)(); - } - get className() { - return "LexAliasViewModel"; - } - get aliasId() { - return this.model.id; - } - get botId() { - var e3; - return null === (e3 = this.model.bot) || void 0 === e3 ? void 0 : e3.id; - } - get botName() { - return this.model.bot && this.model.bot.name; - } - get errorSchema() { - return this._errorSchema; - } - getConfiguration() { - return this.model; - } - get id() { - return this.model.id; + t2.createGlobalTypes = function() { + return o.default.each(me.type, function(e3) { + e3.support && "con" !== e3.support.expressionDataType && (Se.map[e3.support.expressionDataType] = { single: Ae(e3, false), collection: e3.allowArray || e3.allowArray_altAvailability ? Ae(e3, true) : void 0 }); + }), o.default.each(ye, function(e3) { + var t3, i3; + 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 o2 = new e3.ctor(null, e3.model, e3.isCollection, n3), r2 = o2.model.support.expressionDataType; + (0, w.isCollectionType)(o2) ? (Se.collections.push(o2), Se.map[r2].collection = o2) : (Se.singletons.push(o2), Se.map[r2].single = o2); + }), ye.length = 0, Se; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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), I = i2(84), C = i2(93105), O = 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), q = i2(92457), W = 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), oe = i2(58436), re = 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, I.DecimalType, C.DigitalAudioType, O.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, q.ListPickerType, W.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, oe.TimePickerType, re.TimeslotType, se.UserType, le.UtilizationLabelType, ue.VideoType, ce.VoiceSnippetType, pe.WheelPickerType, de.WheelPickerItemType, _e.WrapupCodeType], fe = {}; + o.default.each(ge, function(e3) { + e3 && (fe[e3.typeIdentifier] = e3); + }); + class Te { + constructor(e3, t3, i3, n3) { + this.type = e3, this.ctor = t3, this.model = i3, this.isCollection = n3; } - get label() { - return this.model.name || ""; + } + const ye = [], Se = a.default.getGlobalTypeGroup(); + function Ae(e3, t3) { + let i3, n3 = R.ExpressionType; + if (e3.support.expressionDataType && e3.support.expressionDataType.substring(0, 3) === r.default.exprDataTypePrefixComplex ? n3 = i3 = f.ComplexType : e3.support.expressionDataType && e3.support.expressionDataType.substring(0, 3) === r.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. :("); } - get languages() { - return [this.model.language]; + return ye.push(new Te(i3, n3, e3, t3)), 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), o = n2.__importDefault(i2(92140)), r = 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, o2, r2, a2, s2) { + return { description: e3 || "", descriptionId: t3 || "", id: i3, isCollection: n3, name: o2, propertyToLiteralResolvers: a2, type: r2, version: s2 || "1.0" }; + } + function h(e3, t3, i3, n3) { + e3[t3] = { resolver: i3, valueToResolve: n3 }; + } + t2.ConversationTypes = (function() { + const e3 = [], t3 = {}; + return o.default.each(s, function(e4) { + h(t3, e4.id, r.propertyToLiteralResolverNames.propIDToConversationType, e4.id); + }), 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)) { + const i3 = l[t3], n3 = {}; + h(n3, "code", r.propertyToLiteralResolverNames.propIDToCurrencyCode, t3), e3.push(_(i3.displayName, null, t3, false, t3, "cre", n3, null)); } - get model() { - return this._model; + return e3; + })(), t2.Languages = (function() { + const e3 = []; + for (const t3 in u.propIdLanguages) if (u.propIdLanguages.hasOwnProperty(t3)) { + const i3 = u.propIdLanguages[t3], n3 = {}; + h(n3, "tag", r.propertyToLiteralResolverNames.propIDToLanguageTag, t3), e3.push(_(i3.text, null, t3, false, t3, "lge", n3, null)); } - set model(e3) { - this._model = e3, this.intents = [], this._model.intents && r2.default.each(this._model.intents, (e4) => { - this.intents.push(new a.default(r2.default.clone(e4))); - }); + return e3; + })(), t2.MessageBodyStyles = (function() { + const e3 = [], t3 = {}; + return o.default.each(c, function(e4) { + h(t3, e4.id, r.propertyToLiteralResolverNames.propIDToMessageBodyStyle, e4.id); + }), 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)) { + const i3 = a.countryMap[t3], n3 = {}; + h(n3, "countryCode", r.propertyToLiteralResolverNames.propIDToCountryCode, t3), h(n3, "dialingCode", r.propertyToLiteralResolverNames.propIDToDialingCode, t3), e3.push(_(i3.name, null, t3, false, t3, "rge", n3, null)); } - get name() { - return this.model.name; + return e3; + })(), t2.SurveyDispositions = (function() { + const e3 = [], t3 = {}; + return o.default.each(p, function(e4) { + h(t3, e4.id, r.propertyToLiteralResolverNames.propIDToSurveyDisposition, e4.id); + }), e3.push(_(d.surveyInviteFlowVariables.surveyDispositions, null, "Dispositions", false, "Dispositions", "sde", t3, null)), e3; + })(); + }, 5430(e2, t2, i2) { + "use strict"; + t2.initializeExpressions = function() { + _ || (d(), c(), l(), Promise.all([o.getAuthenticatedPromise(), o.bootstrapLanguageDataLoaded, o.featureTogglesLoaded]).then(() => { + u(); + const e3 = r.default.getGlobalTypeGroup(); + if (e3) try { + e3.startupConnectedAndReady(s); + } catch (e4) { + p.exception(e4, "globalGroup.startupConnectedAndReady()"); + } + }), _ = true); + }; + const n2 = i2(31635), o = n2.__importStar(i2(74359)), r = 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; + }, 697(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 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; } - get status() { - return this.model.status || ""; + static fromValidatedParts(e3, t3, n2) { + return new i2(e3, t3, n2, i2.decimalStringToScaledBigInt(e3)); } - } - 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), 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; + static decimalStringToScaledBigInt(e3) { + let t3 = e3.trim(), i3 = false; + "-" === t3[0] && (i3 = true, t3 = t3.slice(1)); + const n2 = t3.replace(".", ""), o = BigInt("" === n2 ? "0" : n2), r = BigInt(0); + return o === r ? r : i3 ? -o : o; } - constructor(e3, t3) { - super(e3, t3), this._loadModel(t3); + compareTo(e3) { + if (null == e3) return; + const t3 = BigInt(0), n2 = this.value < t3, o = e3.value < t3; + if (n2 !== o) return n2 ? -1 : 1; + const r = Math.max(this.decimalPlaces, e3.decimalPlaces), a = n2 ? -this.value : this.value, s = o ? -e3.value : e3.value, l = a * i2.pow10(r - this.decimalPlaces), u = s * i2.pow10(r - e3.decimalPlaces); + if (l === u) return 0; + const c = l < u ? -1 : 1; + return n2 ? -1 === c ? 1 : -1 : c; } - get isCallDecisionTableAction() { - return true; + static pow10(e3) { + const t3 = BigInt(10); + let i3 = BigInt(1); + for (let n2 = 0; n2 < e3; n2++) i3 *= t3; + return i3; } - static get managedProperties() { - 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]; + isGreaterThan(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 > 0; } - getConfiguration(e3, t3) { - var i3; - if (e3 = super.getConfiguration(e3, t3), null == t3 ? void 0 : t3.isForFlowYaml) { - const n3 = null === (i3 = this.decisionTable) || void 0 === i3 ? void 0 : i3.getConfiguration(e3, t3); - if (!n3) return e3; - e3.callDecisionTable.decisionTable = n3; - } - return e3; + isLessThan(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 < 0; } - _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); + isGreaterThanOrEqualTo(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 >= 0; } - createOrUpdateCustomJsonTypes() { - return n2.__awaiter(this, void 0, void 0, function* () { - var e3, t3, i3, n3, r3, o2; - let a2 = this.decisionTable.getItem(); - 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 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; - }); + isLessThanOrEqualTo(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && t3 <= 0; } - setCachedCustomJsonTypesForInputOutput() { - var e3; - const t3 = null === (e3 = this.parentFlow.definitions) || void 0 === e3 ? void 0 : e3.customDataTypeExpressionType, i3 = t3.find((e4) => e4.dataType === this._inputDataTypeId), n3 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._inputDataTypeId); - i3 && (this.input.type = i3, n3.addReader(this.input)); - const r3 = t3.find((e4) => e4.dataType === this._outputDataTypeId), o2 = this.parentFlow.definitions.getCustomDataTypeDefinition(this._outputDataTypeId); - r3 && (this.output.type = r3, o2.addReader(this.output)); + equals(e3) { + const t3 = this.compareTo(e3); + return void 0 !== t3 && 0 === t3; } - 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, N.decisionTable.unableToLoadDecisionTableInputOutputSchema); + notEquals(e3) { + return !this.equals(e3); } - _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, N.variable.input, N.variable.output) : null; + } + t2.ParsedDecimal = i2; + }, 14744(e2, t2, i2) { + "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 = c, t2.getDatePlaybackOptions = d, t2.getPlaybackOptions = function(e3, t3) { + switch (e3) { + case a.globalTypes.boolean: + return g(t3); + case a.globalTypes.currency: + return S(t3); + case a.globalTypes.date: + return d(t3); + case a.globalTypes.dateTime: + return c(t3); + case a.globalTypes.decimal: + return _(t3); + case a.globalTypes.duration: + return p(); + case a.globalTypes.integer: + return h(t3); + case a.globalTypes.json: + return m(); + case a.globalTypes.phoneNumber: + return f(); + case a.globalTypes.prompt: + return T(); + case a.globalTypes.string: + return A(t3); + case a.globalTypes.voiceSnippet: + return y(); } - _getPossibleErrors() { - return c.callDecisionTableFailureReasons; + }, 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), o = n2.__importStar(i2(24032)), r = n2.__importDefault(i2(80145)), a = i2(14394), s = i2(47957), l = o.getTopic("dataEditor"), u = (e3, t3, i3, n3, o2, r2) => { + const a2 = n3.variableGroup.getVariableByName(i3); + if (!a2) { + const e4 = `${i3} not found for adding to data sequence item`; + return void l.error(e4); } - get _inputDataTypeId() { - return (0, o.createCustomJsonExpressionDataTypeStr)(l.CustomJsonNamespace.decisionTable, this.decisionTableId, s.CustomJsonContext.input); + const s2 = { description: a2.description, display: a2.displayValue, functionOverloadIds: o2, functionOverloadIdsLanguage: r2, 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, [r.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.shortMonthAndDay", e3, [r.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.monthOnly", e3, [r.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.dayOnly", e3, [r.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.dayOfWeekOnly", e3, [r.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.shortYearOnly", e3, [r.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioDate(%s, $var1)", "Format.Date.longYearOnly", e3, [r.default.audio_ToAudioDate_DateTime_FormatEnum]), u(i3, "ToAudioTime(%s, $var1)", "Format.Time.twelveHours", e3, [r.default.audio_ToAudioTime_DateTime_FormatEnum]), u(i3, "ToAudioTime(%s, $var1)", "Format.Time.twentyFourHours", e3, [r.default.audio_ToAudioTime_DateTime_FormatEnum]), i3; + } + function d(e3) { + const t3 = []; + return u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYear", e3, [r.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortMonthAndDay", e3, [r.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.monthOnly", e3, [r.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOnly", e3, [r.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.dayOfWeekOnly", e3, [r.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.shortYearOnly", e3, [r.default.audio_ToAudioDate_Date_FormatEnum]), u(t3, "ToAudioDate(%s, $var1)", "Format.Date.longYearOnly", e3, [r.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, [r.default.audio_ToAudioNumber_Decimal_FormatEnum], [r.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, [r.default.audio_ToAudioNumber_Int_FormatEnum], [r.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, [r.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, [r.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(i3, "ToAudioCurrency(%s, $var1)", "Format.Currency.majorUnitsOnly", e3, [r.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(i3, "ToAudioCurrency(%s, $var1)", "Format.Currency.minorUnitsOnly", e3, [r.default.audio_ToAudioCurrency_Currency_FormatEnum]), u(i3, "ToAudioCurrency(%s, $var1)", "Format.Currency.playDigits", e3, [r.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, [r.default.audio_ToAudioTTS_String_FormatEnum]), i3; + } + t2.DateTimeOptions = [{ display: s.audioFormats.dateAndTime, functionOverloadIds: [r.default.audio_ToAudioDateTime_DateTime], value: "ToAudioDateTime(%s)" }, { description: s.audioFormats.timeDesc, display: s.audioFormats.time, functionOverloadIds: [r.default.audio_ToAudioTime_DateTime], value: "ToAudioTime(%s)" }], t2.DurationPlaybackOptions = [{ description: s.audioFormats.durationExactDesc, display: s.audioFormats.durationExact, functionOverloadIds: [r.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: [r.default.audio_ToAudioDuration_Duration, r.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: [r.default.audio_ToAudioDuration_Duration, r.default.duration_RoundUp_Duration, r.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: [r.default.audio_ToAudioDuration_Duration, r.default.duration_RoundUp_Duration, r.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: [r.default.audio_ToAudioDuration_Duration, r.default.duration_RoundUp_Duration, r.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: [r.default.audio_ToAudioDuration_Duration, r.default.duration_RoundUp_Duration, r.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: [r.default.audio_ToAudioDuration_Duration, r.default.duration_RoundUp_Duration, r.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: [r.default.audio_ToAudioNumber_Decimal], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_LangEnumStar], value: "ToAudioNumber(%s%s)" }, { display: s.audioFormats.precision0, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 0%s)" }, { display: s.audioFormats.precision1, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 1%s)" }, { display: s.audioFormats.precision2, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 2%s)" }, { display: s.audioFormats.precision3, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 3%s)" }, { display: s.audioFormats.precision4, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 4%s)" }, { display: s.audioFormats.precision5, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 5%s)" }, { display: s.audioFormats.precision6, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 6%s)" }, { display: s.audioFormats.precision7, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 7%s)" }, { display: s.audioFormats.precision8, functionOverloadIds: [r.default.audio_ToAudioNumber_Decimal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Decimal_Int_LangEnumStar], value: "ToAudioNumber(%s, 8%s)" }, { display: s.audioFormats.percentage, functionOverloadIds: [r.default.audio_ToAudioPercent_Decimal], value: "ToAudioPercent(%s)" }, { display: s.audioFormats.percentage1, functionOverloadIds: [r.default.audio_ToAudioPercent_Decimal], value: "ToAudioPercent(%s, 1)" }, { display: s.audioFormats.percentage2, functionOverloadIds: [r.default.audio_ToAudioPercent_Decimal], value: "ToAudioPercent(%s, 2)" }], t2.IntegerPlaybackOptions = [{ display: s.audioFormats.wholeValue, functionOverloadIds: [r.default.audio_ToAudioNumber_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumber_Int_FormatEnum_LangEnumStar], value: "ToAudioNumber(%s%s)" }, { display: s.audioFormats.percentage, functionOverloadIds: [r.default.audio_ToAudioPercent_Int], value: "ToAudioPercent(%s)" }, { display: s.audioFormats.ordinal, functionOverloadIds: [r.default.audio_ToAudioNumberOrdinal_Int], functionOverloadIdsLanguage: [r.default.audio_ToAudioNumberOrdinal_Int_LangEnumStar], value: "ToAudioNumberOrdinal(%s%s)" }], t2.JsonPlaybackOptions = [{ display: s.audioFormats.playJsonData, functionOverloadIds: [r.default.audio_ToAudioTTS_String, r.default.audio_ToAudio_Prompt, r.default.audio_ToAudioNumber_Decimal, r.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: [r.default.audio_ToAudioBool_Bool], value: "ToAudioBool(%s)" }], t2.PhoneNumberPlaybackOptions = [{ description: s.audioFormats.phoneNumberLocalDesc, display: s.audioFormats.phoneNumberLocal, functionOverloadIds: [r.default.audio_ToAudioPhoneNumber_PhoneNumber_FormatEnum], value: "ToAudioPhoneNumber(%s, Format.PhoneNumber.local)" }, { description: s.audioFormats.phoneNumberGlobalDesc, display: s.audioFormats.phoneNumberGlobal, functionOverloadIds: [r.default.audio_ToAudioPhoneNumber_PhoneNumber], value: "ToAudioPhoneNumber(%s)" }, { description: s.audioFormats.phoneNumberAutoDesc, display: s.audioFormats.phoneNumberAuto, functionOverloadIds: [r.default.audio_ToAudioPhoneNumber_PhoneNumber_String], specifyCountryCode: true, value: 'ToAudioPhoneNumber(%s, "%s")' }], t2.PromptPlaybackOptions = [{ display: s.audio.sequenceTypePromptLabel, functionOverloadIds: [r.default.audio_ToAudio_Prompt], value: "ToAudio(%s)" }], t2.VoiceSnippetPlaybackOptions = [{ display: s.audio.sequenceTypeVoiceSnippetLabel, functionOverloadIds: [r.default.audio_ToAudio_VoiceSnippet], value: "ToAudio(%s)" }], t2.CurrencyPlaybackOptions = [{ display: s.audioFormats.wholeValue, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency], value: "ToAudioCurrency(%s)" }, { display: s.audioFormats.precision1, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 1)" }, { display: s.audioFormats.precision2, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 2)" }, { display: s.audioFormats.precision3, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 3)" }, { display: s.audioFormats.precision4, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 4)" }, { display: s.audioFormats.precision5, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 5)" }, { display: s.audioFormats.precision6, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 6)" }, { display: s.audioFormats.precision7, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 7)" }, { display: s.audioFormats.precision8, functionOverloadIds: [r.default.audio_ToAudioCurrency_Currency_Int], value: "ToAudioCurrency(%s, 8)" }], t2.StringPlaybackOptions = [{ display: s.audioFormats.stringTTS, functionOverloadIds: [r.default.audio_ToAudioTTS_String], value: "ToAudioTTS(%s)" }, { display: s.audioFormats.stringPhoneNumber, functionOverloadIds: [r.default.audio_ToAudioPhoneNumber_String], value: "ToAudioPhoneNumber(%s)" }]; + }, 42989(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allSequenceItemTypes = t2.blank = t2.expression = t2.data = t2.prompt = t2.tts = void 0, t2.tts = 0, t2.prompt = 1, t2.data = 2, t2.expression = 3, t2.blank = 4, t2.allSequenceItemTypes = [t2.tts, t2.prompt, t2.data, t2.expression, t2.blank]; + }, 14592(e2, t2, i2) { + "use strict"; + 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 = 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, o2 = n3.dataType || n3.expressionType, r2 = i3.mapTypeId(o2); + if (!r2 || r2 === o2) 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 = r2, u2.dataTypeId = r2, 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); } - get _outputDataTypeId() { - return (0, o.createCustomJsonExpressionDataTypeStr)(l.CustomJsonNamespace.decisionTable, this.decisionTableId, s.CustomJsonContext.output); + return T(e3, [u2], true), l.default.getType(e3, r2, false); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = r.getTopic("customDataTypeService"); + function f(e3, t3, i3) { + if (!(null == t3 ? void 0 : t3.id) || !e3) return; + const n3 = l.default.getTypeGroup(e3), o2 = y(e3, t3.dataTypeId, false, t3.additionalProperties), r2 = y(e3, t3.dataTypeId, true, t3.additionalProperties); + return t3.name && (o2 && (o2.schemaName = t3.name), r2 && (r2.schemaName = (0, _.sprintf)(m.expression.collection, t3.name))), (null == o2 ? void 0 : o2.isConversationAttributeSchemaDataType) && (o2.nullPropertyValueNoOpWarningText = p.NULL_PROPERTY_VALUE_NO_OP_WARNING_ENABLED, o2.atLeastOnePropertyMustBeSetErrorText = (0, _.sprintf)(m.json.customJson.atLeastOnePropertyMustBeSet, h.default.notSet, h.default.null)), i3 && o2.hydratePropertiesFromDataTypeDefViewModel(t3), n3.addCustomType(t3, o2, r2, e3), o2; + } + function T(e3, t3, i3) { + const n3 = [], o2 = null == t3 ? void 0 : t3.length; + if (!o2) return n3; + 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], o3 = t3[e4]; + i4.hydratePropertiesFromDataTypeDefViewModel(o3); } + return g.info(`${o2} custom expression type definition(s) created.`), n3; } - 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) => { + function y(e3, t3, i3, n3, r2) { + const a2 = l.default.getTypeGroup(e3).getType(u.expressionTypeNames.json, false), s2 = o.default.deepClone(null == a2 ? void 0 : a2.model.support); + s2.expressionDataType = t3, s2.expressionBaseDataType = u.expressionTypeNames.json, s2.isCustomizablePerFlow = true; + const p2 = new d.JsonType(e3, { name: r2 || (i3 ? c.globalTypes.json.collectionType.typeCode : c.globalTypes.json.typeCode), isCollection: !!i3, support: s2 }, !!i3, !!n3); + return p2.additionalProperties = n3, p2; + } + }, 38809(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - t3 || (t3 = e3); - const c = (0, n2.default)(e3, t3, r2.flowTypes.flowTypeSecureCall); - c.variables = []; - const d = new u(); - let p; - 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; + t2.validateDecimalPlaces = function(e3, t3, i3, a) { + if (!t3) return true; + const s = (function(e4) { + if (n2.default.isNullOrUndefined(e4) || isNaN(e4)) return 0; + const t4 = ("" + e4).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/); + return t4 ? Math.max(0, (t4[1] ? t4[1].length : 0) - (t4[2] ? +t4[2] : 0)) : 0; + })(e3); + return !(s > t3) || (null == i3 || i3.setParseError((0, o.sprintf)(r.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, s, i3.options.facets.decimalPlaces)), null == a || a.addError(i3, (0, o.sprintf)(r.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, s, i3.options.facets.decimalPlaces), false, true), false); }; - 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) => { - const n2 = i2(22124), r2 = i2(15338); - function o() { - o.baseConstructor.apply(this, arguments); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(17604), r = i2(47957); + }, 83855(e2, t2, i2) { + "use strict"; + t2.VALIDATE_STRICT_DECIMAL = t2.VALIDATE_ALLOW_INTEGER_FORM = t2.ValidateDecimalStringReason = void 0, t2.validateIntegerFormOptions = function(e3) { + return void 0 === e3 ? t2.VALIDATE_ALLOW_INTEGER_FORM : { allowIntegerForm: true, allowedDecimalPlaces: e3 }; + }, t2.validateDecimalString = a, t2.getParsedDecimal = function(e3, t3) { + const i3 = a(e3, t3); + if (true === i3.ok) return i3.parsedDecimal; + }; + const n2 = i2(31635).__importDefault(i2(73198)), o = i2(44018); + var r; + i2(44018); + function a(e3, t3) { + if (null == e3) return { ok: false, reason: r.empty }; + const i3 = e3.trim(); + if (0 === i3.length) return { ok: false, reason: r.empty }; + const a2 = i3.search(/\s/); + if (a2 >= 0) return { ok: false, reason: r.invalid, errorPos: a2 }; + const s = !!(null == t3 ? void 0 : t3.allowIntegerForm), l = null == t3 ? void 0 : t3.allowedDecimalPlaces, u = "-" === i3[0] ? 1 : 0; + if (1 === u && 1 === i3.length) return { ok: false, reason: r.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: r.invalid, errorPos: e4 }; + if (h === n2.default.maxPrecision) return { ok: false, reason: r.tooMuchPrecision, errorPos: e4, significantDigits: n2.default.maxPrecision + 1, maxPrecision: n2.default.maxPrecision }; + h++; + } else { + if (_) return { ok: false, reason: r.invalid, errorPos: e4 }; + _ = true; + } + else 0 !== h || p ? h++ : p = true; + } + return (s || _) && (h > 0 || p) ? void 0 !== l && m > l ? { ok: false, reason: r.tooManyDecimalPlaces, errorPos: g + 1 + l, decimalPlaces: m, allowedDecimalPlaces: l } : { ok: true, parsedDecimal: o.ParsedDecimal.fromValidatedParts(i3, h, m) } : /^-?[0-9]+(\.[0-9]*)?$/.test(i3) || /^-?\.[0-9]+$/.test(i3) ? { ok: false, reason: r.tooMuchPrecision, errorPos: 0, significantDigits: h, maxPrecision: n2.default.maxPrecision } : { ok: false, reason: r.invalid, errorPos: g >= 0 ? g : 0 }; } - n2.extend(o, "ScriptList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 34630: (e2, t2, i2) => { + (function(e3) { + e3.empty = "empty", e3.invalid = "invalid", e3.tooMuchPrecision = "tooMuchPrecision", e3.tooManyDecimalPlaces = "tooManyDecimalPlaces"; + })(r || (t2.ValidateDecimalStringReason = r = {})), t2.VALIDATE_ALLOW_INTEGER_FORM = { allowIntegerForm: true }, t2.VALIDATE_STRICT_DECIMAL = { allowIntegerForm: false }; + }, 63824(e2, t2, i2) { "use strict"; - 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)), 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 d((0, n2.sprintf)(a.codeEditor.suggestions.removeUnnecessarySeparator, e3)); + Object.defineProperty(t2, "__esModule", { value: true }), t2.durationStyles = void 0, t2.getAvailableUnits = function(e3) { + if (e3 && _[e3]) return _[e3].supportedUnits; + }, t2.getDefaultUnit = function(e3) { + if (e3 && _[e3]) return _[e3].defaultUnit; + }, t2.getTimeFormat = function(e3) { + if (e3 && _[e3]) return _[e3].timeFormat; + }, t2.getMaxSeconds = function(e3) { + if (e3 && _[e3]) return _[e3].maxSeconds; + }, t2.convertSecondsToUnit = function(e3, t3) { + if ((e3 || 0 === e3) && t3 && o.default.find(p, { type: t3 })) return Math.floor(e3 / o.default.find(p, { type: t3 }).scale); + }, t2.createParsedDuration = function(e3, t3) { + const i3 = [0, 0, 0, 0, 0]; + if (!e3 && 0 !== e3 || !t3 || !o.default.find(p, { type: t3 })) return i3; + switch (t3) { + case p.days.type: + i3[0] = e3; + break; + case p.hours.type: + i3[1] = e3; + break; + case p.minutes.type: + i3[2] = e3; + break; + case p.seconds.type: + i3[3] = e3; + break; + case p.milliseconds.type: + i3[4] = e3; + } + return i3; + }, t2.toSeconds = g, t2.getUnitFromParsedDuration = function(e3, t3) { + return e3 ? e3[4] ? p.milliseconds.type : e3[3] ? p.seconds.type : e3[2] ? p.minutes.type : e3[1] ? p.hours.type : e3[0] ? p.days.type : t3 : p.seconds.type; + }, t2.getNonZeroValueFromParsedDuration = function(e3) { + return e3 ? e3[4] ? parseInt(e3[4]) : e3[3] ? parseInt(e3[3]) : e3[2] ? parseInt(e3[2]) : e3[1] ? parseInt(e3[1]) : parseInt(e3[0]) : 0; + }, t2.getSecondsFromParsedDuration = function(e3) { + return e3 ? e3[0] ? parseInt(e3[0]) * p.days.scale : e3[1] ? parseInt(e3[1]) * p.hours.scale : e3[2] ? parseInt(e3[2]) * p.minutes.scale : e3[3] ? parseInt(e3[3]) : parseInt(e3[4]) * p.milliseconds.scale : 0; + }, t2.getMillisecondsFromDurationMatches = f, t2.getSearchStringFromLiteral = function(e3) { + const t3 = g(e3); + return t3 || 0 === t3 ? e3.includes("0.") ? m(t3) : m(t3 * r.default.msPerSecond) : e3; + }, t2.getSearchStringFromMilliseconds = function(e3) { + return m(e3); + }, t2.getXsdString = T, t2.matchMilliseconds = y, t2.millisecondsToXSD = function(e3) { + return T(y(e3)); + }, t2.matchText = S, t2.matchExpression = function(e3) { + 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(17604), r2 = i2(17666), o = i2(17666), a = i2(47957); - function s(e3, t3, i3, n3, r3, o2, a2) { - return { type: e3, whatToDo: t3, displayString: i3, displayStringDetails: n3, text: r3, textWrapBefore: o2, textWrapAfter: a2 }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(73198)), a = i2(17604), s = n2.__importStar(i2(74359)), l = i2(85306), u = i2(76123), c = i2(47957), d = o.default.findWhere(l.isoLanguagesUiData, { id: s.getCurrentLanguage() }).humanizeDuration || "en", p = { days: { display: c.duration.days, type: "D", scale: r.default.secsPerDay }, hours: { display: c.duration.hours, type: "H", scale: r.default.secsPerHour }, minutes: { display: c.duration.minutes, type: "M", scale: r.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: r.default.secsPerMinute - 0.1 }, minutesSecondsAndMsDuration: { timeFormat: "mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.minutes, p.seconds, p.milliseconds], maxSeconds: r.default.secsPerHour - 1e-3 }, veryShortDuration: { timeFormat: "mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.minutes, p.seconds], maxSeconds: r.default.secsPerHour - 1 }, shortDuration: { timeFormat: "HH:mm", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes], maxSeconds: r.default.secsPerDay - r.default.secsPerMinute }, mediumDuration: { timeFormat: "HH:mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes, p.seconds], maxSeconds: r.default.secsPerDay - 1 }, mediumAndMsDuration: { timeFormat: "HH:mm:ss.SSS", defaultUnit: p.minutes.type, supportedUnits: [p.hours, p.minutes, p.seconds, p.milliseconds], maxSeconds: r.default.secsPerDay - 1e-3 }, longDuration: { timeFormat: "d-HH:mm", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes], maxSeconds: r.default.maxDurationSecs }, fullDuration: { timeFormat: "d-HH:mm:ss", defaultUnit: p.minutes.type, supportedUnits: [p.days, p.hours, p.minutes, p.seconds], maxSeconds: r.default.maxDurationSecs }, minutes: { timeFormat: "mm", defaultUnit: p.minutes.type, supportedUnits: [p.minutes], maxSeconds: r.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: r.default.maxDurationSecs } }; + function h(e3) { + const t3 = [0, 0, 0, 0, 0]; + if (!e3) return t3; + let i3 = e3[4] ? parseInt(e3[4], 10) : 0, n3 = e3[3] ? parseFloat(e3[3]) : 0, o2 = e3[2] ? parseInt(e3[2], 10) : 0, r2 = e3[1] ? parseInt(e3[1], 10) : 0; + const a2 = e3[0] ? parseInt(e3[0], 10) : 0; + return i3 ? (i3 += (a2 * p.days.scale + r2 * p.hours.scale + o2 * p.minutes.scale + n3) / p.milliseconds.scale, t3[4] = i3, t3) : n3 ? (n3 += a2 * p.days.scale + r2 * p.hours.scale + o2 * p.minutes.scale, t3[3] = n3, t3) : o2 ? (o2 += (a2 * p.days.scale + r2 * p.hours.scale) / p.minutes.scale, t3[2] = o2, t3) : r2 ? (r2 += a2 * p.days.scale / p.hours.scale, t3[1] = r2, t3) : (t3[0] = a2, t3); + } + function m(e3) { + let t3; + 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 l(e3, t3, i3, n3, o2, a2) { - return s(r2.CodeSuggestionType.fix, e3, t3, i3, n3, o2, a2); + function g(e3) { + if (!e3) return; + const t3 = S(e3); + return t3 ? t3[0] * r.default.secsPerDay + t3[1] * r.default.secsPerHour + t3[2] * r.default.secsPerMinute + t3[3] + t3[4] / r.default.msPerSecond : void 0; } - function u(e3, t3, i3) { - return l(o.CodeSuggestionWhatToDo.appendText, e3, i3, t3); + function f(e3) { + if (e3) return parseInt(e3[0]) * r.default.msPerDay + parseInt(e3[1]) * r.default.msPerHour + parseInt(e3[2]) * r.default.msPerMinute + parseInt(e3[3]) * r.default.msPerSecond + parseInt(e3[4]); } - function c(e3, t3, i3) { - return l(o.CodeSuggestionWhatToDo.replaceText, e3, i3, t3); + function T(e3) { + if (!e3) return; + const t3 = f(e3); + let i3 = false; + return t3 < 0 && (i3 = true, e3 = y(-1 * t3)), (0, a.sprintf)("%1$sP%2$sD%3$sH%4$sM%5$sS%6$sF", i3 ? "-" : "", e3[0], e3[1], e3[2], e3[3], e3[4]); + } + function y(e3) { + let t3 = false; + e3 < 0 && (t3 = true, e3 *= -1); + const i3 = [0, 0, 0, 0, 0], n3 = Math.floor(e3 / r.default.msPerSecond); + i3[4] = e3 % r.default.msPerSecond; + const o2 = Math.floor(n3 / r.default.secsPerMinute); + i3[3] = n3 % r.default.secsPerMinute; + const a2 = Math.floor(o2 / r.default.minutesPerHour); + i3[2] = o2 % r.default.minutesPerHour; + const s2 = a2 / r.default.hoursPerDay; + if (i3[1] = a2 % r.default.hoursPerDay, i3[0] = Math.floor(s2), t3) for (let e4 = 0; e4 < i3.length; e4++) i3[e4] && (i3[e4] = -1 * i3[e4]); + return h(i3); + } + function S(e3) { + const t3 = (e3 = e3 || "").match(/^(-?)(?:P|PT)(\d+(?:D|DT))?(\d+(?:H|HT))?(\d+(?:M|MT))?(\d+\.?\d*(?:S|ST))?(\d+(?:F|FT))?$/i); + if (!t3) return; + const i3 = t3[1] ? -1 : 1, n3 = t3[2], o2 = t3[3], r2 = t3[4]; + 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] && e4[1] && (a2 = "0." + e4[1]); + } + return h([n3 ? i3 * parseInt(n3, 10) : 0, o2 ? i3 * parseInt(o2, 10) : 0, r2 ? i3 * parseInt(r2, 10) : 0, a2 ? i3 * parseFloat(a2) : 0, s2 ? i3 * parseInt(s2, 10) : 0]); } + t2.durationStyles = _; + }, 33653(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.checkPromptAudioDuration = d, t2.checkExpressionPromptReferences = function(e3) { + if (!e3.options || !e3.options.durationFacets) return; + let t3; + return r.default.find(e3.variables, function(i3) { + 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, o.sprintf)(c.expression.audioBlankExpressionTooLong, u.getSearchStringFromMilliseconds(e3.options.durationFacets.maxVal)); + }; + const n2 = i2(31635), o = i2(17604), r = 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) { - return l(o.CodeSuggestionWhatToDo.removeText, e3, t3); + if (!t3 || !e3.options || !e3.options.durationFacets) return; + const i3 = s.getItem(t3); + if (!i3) return; + const n3 = []; + return r.default.each(e3.languages, function(t4) { + const o2 = i3.getResource(t4.id.toLowerCase()); + if (o2) { + const i4 = o2.getAudioLength() * l.default.msPerSecond; + e3.options.durationFacets.validateMilliseconds(i4, e3).isValid || n3.push(t4.id); + } + }), n3.length > 0 ? (0, o.sprintf)(c.expression.promptDurationTooLong, i3.expressionName, (0, a.getListDisplayString)(n3), u.getSearchStringFromMilliseconds(e3.options.durationFacets.maxVal)) : void 0; } - }, 34707: (e2, t2, i2) => { + }, 81116(e2, t2, i2) { "use strict"; - i2.r(t2), i2.d(t2, { default: () => g }); - const n2 = { "Amazon Silk": "amazon_silk", "Android Browser": "android", Bada: "bada", BlackBerry: "blackberry", Chrome: "chrome", Chromium: "chromium", Electron: "electron", Epiphany: "epiphany", Firefox: "firefox", Focus: "focus", Generic: "generic", "Google Search": "google_search", Googlebot: "googlebot", "Internet Explorer": "ie", "K-Meleon": "k_meleon", Maxthon: "maxthon", "Microsoft Edge": "edge", "MZ Browser": "mz", "NAVER Whale Browser": "naver", Opera: "opera", "Opera Coast": "opera_coast", PhantomJS: "phantomjs", Puffin: "puffin", QupZilla: "qupzilla", QQ: "qq", QQLite: "qqlite", Safari: "safari", Sailfish: "sailfish", "Samsung Internet for Android": "samsung_internet", SeaMonkey: "seamonkey", Sleipnir: "sleipnir", Swing: "swing", Tizen: "tizen", "UC Browser": "uc", Vivaldi: "vivaldi", "WebOS Browser": "webos", WeChat: "wechat", "Yandex Browser": "yandex", Roku: "roku" }, r2 = { amazon_silk: "Amazon Silk", android: "Android Browser", bada: "Bada", blackberry: "BlackBerry", chrome: "Chrome", chromium: "Chromium", electron: "Electron", epiphany: "Epiphany", firefox: "Firefox", focus: "Focus", generic: "Generic", googlebot: "Googlebot", google_search: "Google Search", ie: "Internet Explorer", k_meleon: "K-Meleon", maxthon: "Maxthon", edge: "Microsoft Edge", mz: "MZ Browser", naver: "NAVER Whale Browser", opera: "Opera", opera_coast: "Opera Coast", phantomjs: "PhantomJS", puffin: "Puffin", qupzilla: "QupZilla", qq: "QQ Browser", qqlite: "QQ Browser Lite", safari: "Safari", sailfish: "Sailfish", samsung_internet: "Samsung Internet for Android", seamonkey: "SeaMonkey", sleipnir: "Sleipnir", swing: "Swing", tizen: "Tizen", uc: "UC Browser", vivaldi: "Vivaldi", webos: "WebOS Browser", wechat: "WeChat", yandex: "Yandex Browser" }, o = { tablet: "tablet", mobile: "mobile", desktop: "desktop", tv: "tv" }, a = { WindowsPhone: "Windows Phone", Windows: "Windows", MacOS: "macOS", iOS: "iOS", Android: "Android", WebOS: "WebOS", BlackBerry: "BlackBerry", Bada: "Bada", Tizen: "Tizen", Linux: "Linux", ChromeOS: "Chrome OS", PlayStation4: "PlayStation 4", Roku: "Roku" }, s = { EdgeHTML: "EdgeHTML", Blink: "Blink", Trident: "Trident", Presto: "Presto", Gecko: "Gecko", WebKit: "WebKit" }; - class l { - static getFirstMatch(e3, t3) { - const i3 = t3.match(e3); - return i3 && i3.length > 0 && i3[1] || ""; + Object.defineProperty(t2, "__esModule", { value: true }), t2.audioExpression = function(e3, t3, i3, n3, o2, r2) { + const a2 = new c.ExpressionParameters(e3, t3, i3, n3, o2, r2); + return new l.AudioExpression(a2); + }, t2.doNotTrackExpression = function(e3, t3, i3, n3, o2, r2, a2) { + return h(e3, t3, i3, n3, o2, r2, a2, true); + }, t2.expression = h, t2.cloneExpression = function(e3) { + if (!e3) return; + const t3 = new c.ExpressionParameters(e3.parentFlow, e3.parent, new r.default(o.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 d.NormalExpression(t3), e3.initializeDesignTimeCalled && i3.initializeDesignTime(), i3; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, o2, r2, l2, h2) { + var m; + s.ParameterValidator.expectFlowViewModel(e3, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "flow"); + }.bind(this), true), s.ParameterValidator.expectBaseClassObject(t3, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "parent"); + }.bind(this), true), s.ParameterValidator.expectObject(i3, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "model"); + }.bind(this), true), s.ParameterValidator.expectString(n3, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "label"); + }.bind(this), true), s.ParameterValidator.expectExpressionTypeOrString(o2, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "type"); + }.bind(this), true), s.ParameterValidator.expectString(r2, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "propertyName"); + }.bind(this), true), s.ParameterValidator.expectExpressionOptions(l2, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "options"); + }.bind(this), true), s.ParameterValidator.expectBool(h2, function() { + return a.ParameterInfo.createConstructorParameter("expressionCreator", "transitory"); + }.bind(this), true); + const g = new c.ExpressionParameters(e3, t3, i3, n3); + return g.propertyName = r2, g.options = l2, (0, _.isString)(o2) && (o2 = p.default.resolveType(e3, o2, void 0)), i3 && (i3.config || i3.type) && (!o2 || o2.isAny && (null === (m = i3.config) || void 0 === m ? void 0 : m.ref)) ? g.type = p.default.resolveType(e3, i3.type, i3.config) : g.type = o2, h2 && (g.transitory = true), g.type && g.type.isCollection ? new u.CollectionExpression(g) : new d.NormalExpression(g); + } + }, 27491(e2, t2, i2) { + "use strict"; + t2.expressionDataService = void 0; + const n2 = i2(31635), o = (i2(96618), i2(17604)), r = 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), I = i2(19502), C = i2(44051), O = 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) => { + const t3 = r.default.find(e3, function(e4) { + return e4["en-us"]; + }); + this.startupConnectedAndReady(t3); + }); } - static getSecondMatch(e3, t3) { - const i3 = t3.match(e3); - return i3 && i3.length > 1 && i3[2] || ""; + _doOperandsMatchRegisteredOperands(e3, t3) { + if (t3.length < e3.length) return false; + if (t3.length > e3.length && (!e3.length || !r.default.last(e3).canAppearMoreThanOnce)) return false; + const i3 = t3.length, n3 = e3.length; + let o2; + for (let r2 = 0; r2 < i3; r2++) if (o2 = r2 >= n3 ? n3 - 1 : r2, !e3[o2].isExpressionMatch(t3[r2])) return false; + return true; } - static matchAndReturnConst(e3, t3, i3) { - if (e3.test(t3)) return i3; + _errorStrWithFuncOpAndPosPrefix(e3, ...t3) { + const i3 = [arguments[1], (0, o.sprintf)(b.expression.functions.funcOpPosPrefix, e3.getTextWithFuncOpTextFallback(), e3.position)]; + if (arguments.length > 2) for (let e4 = 2; e4 < arguments.length; e4++) i3.push(arguments[e4]); + return o.sprintf.apply(null, i3); } - static getWindowsVersionName(e3) { - switch (e3) { - case "NT": - return "NT"; - case "XP": - case "NT 5.1": - return "XP"; - case "NT 5.0": - return "2000"; - case "NT 5.2": - return "2003"; - case "NT 6.0": - return "Vista"; - case "NT 6.1": - return "7"; - case "NT 6.2": - return "8"; - case "NT 6.3": - return "8.1"; - case "NT 10.0": - return "10"; - default: - return; - } + _errorResult(e3, t3, i3) { + return g.createDataResult(false, null, e3, t3, i3); } - static getMacOSVersionName(e3) { - const t3 = e3.split(".").splice(0, 2).map((e4) => parseInt(e4, 10) || 0); - if (t3.push(0), 10 === t3[0]) switch (t3[1]) { - case 5: - return "Leopard"; - case 6: - return "Snow Leopard"; - case 7: - return "Lion"; - case 8: - return "Mountain Lion"; - case 9: - return "Mavericks"; - case 10: - return "Yosemite"; - case 11: - return "El Capitan"; - case 12: - return "Sierra"; - case 13: - return "High Sierra"; - case 14: - return "Mojave"; - case 15: - return "Catalina"; - default: - return; + _evaluateRegisteredOverloadAudioSupport(e3, t3, i3, n3) { + var o2; + if (t3.runtimeSequencesSystemPrompts) for (let t4 = 0; t4 < i3.length; t4++) { + const o3 = i3[t4]; + if (!n3.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((e4) => o3.getSupportsAudioDataPlaybackForFlowType(e4))) return this._getRuntimePlaybackNotSupportedErrorResult(e3, o3); + } + if (t3.runtimeRequiresTTSSupport) { + const a2 = n3.runtimeConsumingFlowTypes; + if (null == a2 ? void 0 : a2.length) { + const i4 = r.default.difference(a2, r.default.values(t3.supportedFlowTypes)); + if (i4.length) return this._getTTSNotSupportedForFlowTypeErrorResult(e3, i4); + } + for (let t4 = 0; t4 < i3.length; t4++) { + const r2 = i3[t4]; + if (!r2) { + null === (o2 = null == n3 ? void 0 : n3.parentFlow) || void 0 === o2 || o2.topic.error(`null entry found at languages[${t4}] in _evaluateRegisteredOverloadAudioSupport`); + continue; + } + if (!n3.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((e4) => r2.getSupportsTTSPlaybackForFlowType(e4, n3.parentFlow))) return this._getTTSEngineNotSupportedErrorResult(e3, r2); + if (!r2.getSupportsTTSPlaybackForFlow(n3.parentFlow)) return this._getTTSEngineNotValidErrorResult(e3, r2); + const a3 = e3.getOperands(); + if (a3 && 1 === a3.length) { + const t5 = a3[0]; + if (t5.isLit && t5.type.isMatch(y.globalTypes.string, T.settings.exact)) { + const i4 = r2.getStringExceedsMaxRequestLengthError(n3.parentFlow, t5.text); + if (i4) return this._getGenericFuncOpError(e3, i4); + } + } + } } } - static getAndroidVersionName(e3) { - const t3 = e3.split(".").splice(0, 2).map((e4) => parseInt(e4, 10) || 0); - if (t3.push(0), !(1 === t3[0] && t3[1] < 5)) return 1 === t3[0] && t3[1] < 6 ? "Cupcake" : 1 === t3[0] && t3[1] >= 6 ? "Donut" : 2 === t3[0] && t3[1] < 2 ? "Eclair" : 2 === t3[0] && 2 === t3[1] ? "Froyo" : 2 === t3[0] && t3[1] > 2 ? "Gingerbread" : 3 === t3[0] ? "Honeycomb" : 4 === t3[0] && t3[1] < 1 ? "Ice Cream Sandwich" : 4 === t3[0] && t3[1] < 4 ? "Jelly Bean" : 4 === t3[0] && t3[1] >= 4 ? "KitKat" : 5 === t3[0] ? "Lollipop" : 6 === t3[0] ? "Marshmallow" : 7 === t3[0] ? "Nougat" : 8 === t3[0] ? "Oreo" : 9 === t3[0] ? "Pie" : void 0; - } - static getVersionPrecision(e3) { - return e3.split(".").length; - } - static compareVersions(e3, t3, i3 = false) { - const n3 = l.getVersionPrecision(e3), r3 = l.getVersionPrecision(t3); - let o2 = Math.max(n3, r3), a2 = 0; - const s2 = l.map([e3, t3], (e4) => { - const t4 = o2 - l.getVersionPrecision(e4), i4 = e4 + new Array(t4 + 1).join(".0"); - return l.map(i4.split("."), (e5) => new Array(20 - e5.length).join("0") + e5).reverse(); - }); - for (i3 && (a2 = o2 - Math.min(n3, r3)), o2 -= 1; o2 >= a2; ) { - if (s2[0][o2] > s2[1][o2]) return 1; - if (s2[0][o2] === s2[1][o2]) { - if (o2 === a2) return 0; - o2 -= 1; - } else if (s2[0][o2] < s2[1][o2]) return -1; + _evaluateRegisteredOverloadLanguageFilter(e3, t3, i3) { + if (t3.supportedLanguageFilter) { + for (let n3 = 0; n3 < i3.length; n3++) if (!t3.supportedLanguageFilter[i3[n3].id]) return this._getOverloadNotSupportedForLanguageErrorResult(e3, i3[n3]); } } - static map(e3, t3) { - const i3 = []; - let n3; - if (Array.prototype.map) return Array.prototype.map.call(e3, t3); - for (n3 = 0; n3 < e3.length; n3 += 1) i3.push(t3(e3[n3])); - return i3; + _evaluateRegisteredOverloadRestrictions(e3, t3, i3, n3, o2) { + let r2; + if (n3) { + if (r2 = this._evaluateRegisteredOverloadAudioSupport(e3, t3, n3, o2), r2) return r2; + if (r2 = this._evaluateRegisteredOverloadLanguageFilter(e3, t3, n3), r2) return r2; + } + const a2 = t3.operands.length; + for (let n4 = 0; n4 < i3.length; n4++) { + const s2 = t3.operands[n4 >= a2 ? a2 - 1 : n4]; + if (r2 = this._evaluateRegisteredOperandRestrictions(e3, i3[n4], s2, o2), r2) return r2; + } } - static find(e3, t3) { - let i3, n3; - if (Array.prototype.find) return Array.prototype.find.call(e3, t3); - for (i3 = 0, n3 = e3.length; i3 < n3; i3 += 1) { - const n4 = e3[i3]; - if (t3(n4, i3)) return n4; + _evaluateRegisteredOperandRestrictions(e3, t3, i3, n3) { + var o2; + if (t3.isLit) { + if (void 0 !== i3.minLength && (null === (o2 = t3.text) || void 0 === o2 ? void 0 : o2.length) < i3.minLength) return this._getLiteralLessThanMinLength(e3, t3, i3); + if (i3.literalValidatorName) { + const o3 = this._validateLiteralWithProvider(i3.literalValidatorName, t3, n3); + if (o3.parameterErrorStr) return o3.parameterErrorStrIsFullSentence ? this._getLiteralNotValidResult(e3, t3, i3, o3.parameterErrorStr) : this._getLiteralNotInProviderResult(e3, t3, i3, o3.parameterErrorStr); + o3.providerFixedValue && (t3.text = o3.providerFixedValue); + } + } else if (i3.mustBeLiteral) return this._getParameterValueMustBeLiteral(e3, t3, i3); + if (i3.mustBeVariable) { + if (i3.mustBeVariableScope) { + if (!t3.getIsVariableRefWithScope(i3.mustBeVariableScope)) return this._getParameterValueMustBeVariableScope(e3, t3, i3); + } else if (!t3.isVariableRef) return this._getParameterValueMustBeVariable(e3, t3, i3); + } + if (i3.checkPromptTTSLength && t3.isPromptRef) { + const i4 = n3._getReferenceByName(t3.text); + if (i4 && i4.isPromptContainer) { + const t4 = i4.getTtsExceedsMaxLengthError(n3); + if (t4) return this._getGenericFuncOpError(e3, t4); + } } + const r2 = parseFloat(t3.getText()); + return i3.checkMaxIntRestriction(r2) ? i3.checkMinIntRestriction(r2) ? i3.checkZeroRestriction(r2) ? void 0 : this._getZeroNotAllowedErrorResult(e3, t3, i3) : this._getLessThanMinErrorResult(e3, t3, i3) : this._getGreaterThanMaxErrorResult(e3, t3, i3); } - static assign(e3, ...t3) { - const i3 = e3; - let n3, r3; - if (Object.assign) return Object.assign(e3, ...t3); - for (n3 = 0, r3 = t3.length; n3 < r3; n3 += 1) { - const e4 = t3[n3]; - "object" == typeof e4 && null !== e4 && Object.keys(e4).forEach((t4) => { - i3[t4] = e4[t4]; - }); + evaluateRegisteredFuncOp(e3, t3, i3, n3, o2) { + let r2; + for (let a2 = 0; a2 < t3.overloads.length; a2++) { + const s2 = t3.overloads[a2]; + if (this._doOperandsMatchRegisteredOperands(s2.operands, i3)) return s2.isUnavailable ? this._getUnavailableOverloadErrorResult(e3, s2) : s2.hasRestrictions ? (r2 = this._evaluateRegisteredOverloadRestrictions(e3, s2, i3, n3, o2), r2 || this._result(s2)) : this._result(s2); } - return e3; } - static getBrowserAlias(e3) { - return n2[e3]; + _getFuncOpForText(e3) { + return e3 ? this.expressionFuncOpsByText["_" + e3.toLowerCase()] : null; } - static getBrowserTypeByAlias(e3) { - return r2[e3] || ""; + _getFuncOpForIdentifier(e3) { + if (!e3) return null; + const t3 = this.expressionFuncOpsById[e3]; + return t3 || "toUser" !== e3 ? t3 : this.expressionFuncOpsById.toUserQueue; } - } - 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) { - const t3 = { name: "Opera" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/opr\/|opios/i], describe(e3) { - const t3 = { name: "Opera" }, i3 = l.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/SamsungBrowser/i], describe(e3) { - const t3 = { name: "Samsung Internet for Android" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/Whale/i], describe(e3) { - const t3 = { name: "NAVER Whale Browser" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/MZBrowser/i], describe(e3) { - const t3 = { name: "MZ Browser" }, i3 = l.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/focus/i], describe(e3) { - const t3 = { name: "Focus" }, i3 = l.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/swing/i], describe(e3) { - const t3 = { name: "Swing" }, i3 = l.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/coast/i], describe(e3) { - const t3 = { name: "Opera Coast" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/opt\/\d+(?:.?_?\d+)+/i], describe(e3) { - const t3 = { name: "Opera Touch" }, i3 = l.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/yabrowser/i], describe(e3) { - const t3 = { name: "Yandex Browser" }, i3 = l.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/ucbrowser/i], describe(e3) { - const t3 = { name: "UC Browser" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/Maxthon|mxios/i], describe(e3) { - const t3 = { name: "Maxthon" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/epiphany/i], describe(e3) { - const t3 = { name: "Epiphany" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/puffin/i], describe(e3) { - const t3 = { name: "Puffin" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/sleipnir/i], describe(e3) { - const t3 = { name: "Sleipnir" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/k-meleon/i], describe(e3) { - const t3 = { name: "K-Meleon" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/micromessenger/i], describe(e3) { - const t3 = { name: "WeChat" }, i3 = l.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/qqbrowser/i], describe(e3) { - const t3 = { name: /qqbrowserlite/i.test(e3) ? "QQ Browser Lite" : "QQ Browser" }, i3 = l.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/msie|trident/i], describe(e3) { - const t3 = { name: "Internet Explorer" }, i3 = l.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/\sedg\//i], describe(e3) { - const t3 = { name: "Microsoft Edge" }, i3 = l.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/edg([ea]|ios)/i], describe(e3) { - const t3 = { name: "Microsoft Edge" }, i3 = l.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/vivaldi/i], describe(e3) { - const t3 = { name: "Vivaldi" }, i3 = l.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/seamonkey/i], describe(e3) { - const t3 = { name: "SeaMonkey" }, i3 = l.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/sailfish/i], describe(e3) { - const t3 = { name: "Sailfish" }, i3 = l.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/silk/i], describe(e3) { - const t3 = { name: "Amazon Silk" }, i3 = l.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/phantom/i], describe(e3) { - const t3 = { name: "PhantomJS" }, i3 = l.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/slimerjs/i], describe(e3) { - const t3 = { name: "SlimerJS" }, i3 = l.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/blackberry|\bbb\d+/i, /rim\stablet/i], describe(e3) { - const t3 = { name: "BlackBerry" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/(web|hpw)[o0]s/i], describe(e3) { - const t3 = { name: "WebOS Browser" }, i3 = l.getFirstMatch(u, e3) || l.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/bada/i], describe(e3) { - const t3 = { name: "Bada" }, i3 = l.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/tizen/i], describe(e3) { - const t3 = { name: "Tizen" }, i3 = l.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/qupzilla/i], describe(e3) { - const t3 = { name: "QupZilla" }, i3 = l.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/firefox|iceweasel|fxios/i], describe(e3) { - const t3 = { name: "Firefox" }, i3 = l.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/electron/i], describe(e3) { - const t3 = { name: "Electron" }, i3 = l.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/MiuiBrowser/i], describe(e3) { - const t3 = { name: "Miui" }, i3 = l.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/chromium/i], describe(e3) { - const t3 = { name: "Chromium" }, i3 = l.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, e3) || l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/chrome|crios|crmo/i], describe(e3) { - const t3 = { name: "Chrome" }, i3 = l.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/GSA/i], describe(e3) { - const t3 = { name: "Google Search" }, i3 = l.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test(e3) { - const t3 = !e3.test(/like android/i), i3 = e3.test(/android/i); - return t3 && i3; - }, describe(e3) { - const t3 = { name: "Android Browser" }, i3 = l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/playstation 4/i], describe(e3) { - const t3 = { name: "PlayStation 4" }, i3 = l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/safari|applewebkit/i], describe(e3) { - const t3 = { name: "Safari" }, i3 = l.getFirstMatch(u, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/.*/i], describe(e3) { - const t3 = -1 !== e3.search("\\(") ? /^(.*)\/(.*)[ \t]\((.*)/ : /^(.*)\/(.*) /; - return { name: l.getFirstMatch(t3, e3), version: l.getSecondMatch(t3, 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) { - const t3 = l.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, e3); - return { name: a.WindowsPhone, version: t3 }; - } }, { test: [/windows /i], describe(e3) { - const t3 = l.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, e3), i3 = l.getWindowsVersionName(t3); - return { name: a.Windows, version: t3, versionName: i3 }; - } }, { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe(e3) { - const t3 = { name: a.iOS }, i3 = l.getSecondMatch(/(Version\/)(\d[\d.]+)/, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/macintosh/i], describe(e3) { - const t3 = l.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, e3).replace(/[_\s]/g, "."), i3 = l.getMacOSVersionName(t3), n3 = { name: a.MacOS, version: t3 }; - return i3 && (n3.versionName = i3), n3; - } }, { test: [/(ipod|iphone|ipad)/i], describe(e3) { - const t3 = l.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, e3).replace(/[_\s]/g, "."); - return { name: a.iOS, version: t3 }; - } }, { test(e3) { - const t3 = !e3.test(/like android/i), i3 = e3.test(/android/i); - return t3 && i3; - }, describe(e3) { - const t3 = l.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, e3), i3 = l.getAndroidVersionName(t3), n3 = { name: a.Android, version: t3 }; - return i3 && (n3.versionName = i3), n3; - } }, { test: [/(web|hpw)[o0]s/i], describe(e3) { - const t3 = l.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, e3), i3 = { name: a.WebOS }; - return t3 && t3.length && (i3.version = t3), i3; - } }, { test: [/blackberry|\bbb\d+/i, /rim\stablet/i], describe(e3) { - const t3 = l.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, e3) || l.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, e3) || l.getFirstMatch(/\bbb(\d+)/i, e3); - return { name: a.BlackBerry, version: t3 }; - } }, { test: [/bada/i], describe(e3) { - const t3 = l.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, e3); - return { name: a.Bada, version: t3 }; - } }, { test: [/tizen/i], describe(e3) { - const t3 = l.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, e3); - return { name: a.Tizen, version: t3 }; - } }, { test: [/linux/i], describe: () => ({ name: a.Linux }) }, { test: [/CrOS/], describe: () => ({ name: a.ChromeOS }) }, { test: [/PlayStation 4/], describe(e3) { - const t3 = l.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, e3); - return { name: a.PlayStation4, version: t3 }; - } }], _ = [{ test: [/googlebot/i], describe: () => ({ type: "bot", vendor: "Google" }) }, { test: [/huawei/i], describe(e3) { - const t3 = l.getFirstMatch(/(can-l01)/i, e3) && "Nova", i3 = { type: o.mobile, vendor: "Huawei" }; - return t3 && (i3.model = t3), i3; - } }, { test: [/nexus\s*(?:7|8|9|10).*/i], describe: () => ({ type: o.tablet, vendor: "Nexus" }) }, { test: [/ipad/i], describe: () => ({ type: o.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe: () => ({ type: o.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/kftt build/i], describe: () => ({ type: o.tablet, vendor: "Amazon", model: "Kindle Fire HD 7" }) }, { test: [/silk/i], describe: () => ({ type: o.tablet, vendor: "Amazon" }) }, { test: [/tablet(?! pc)/i], describe: () => ({ type: o.tablet }) }, { test(e3) { - const t3 = e3.test(/ipod|iphone/i), i3 = e3.test(/like (ipod|iphone)/i); - return t3 && !i3; - }, describe(e3) { - const t3 = l.getFirstMatch(/(ipod|iphone)/i, e3); - return { type: o.mobile, vendor: "Apple", model: t3 }; - } }, { test: [/nexus\s*[0-6].*/i, /galaxy nexus/i], describe: () => ({ type: o.mobile, vendor: "Nexus" }) }, { test: [/[^-]mobi/i], describe: () => ({ type: o.mobile }) }, { test: (e3) => "blackberry" === e3.getBrowserName(true), describe: () => ({ type: o.mobile, vendor: "BlackBerry" }) }, { test: (e3) => "bada" === e3.getBrowserName(true), describe: () => ({ type: o.mobile }) }, { test: (e3) => "windows phone" === e3.getBrowserName(), describe: () => ({ type: o.mobile, vendor: "Microsoft" }) }, { test(e3) { - const t3 = Number(String(e3.getOSVersion()).split(".")[0]); - return "android" === e3.getOSName(true) && t3 >= 3; - }, describe: () => ({ type: o.tablet }) }, { test: (e3) => "android" === e3.getOSName(true), describe: () => ({ type: o.mobile }) }, { test: (e3) => "macos" === e3.getOSName(true), describe: () => ({ type: o.desktop, vendor: "Apple" }) }, { test: (e3) => "windows" === e3.getOSName(true), describe: () => ({ type: o.desktop }) }, { test: (e3) => "linux" === e3.getOSName(true), describe: () => ({ type: o.desktop }) }, { test: (e3) => "playstation 4" === e3.getOSName(true), describe: () => ({ type: o.tv }) }, { test: (e3) => "roku" === e3.getOSName(true), describe: () => ({ type: o.tv }) }], h = [{ test: (e3) => "microsoft edge" === e3.getBrowserName(true), describe(e3) { - if (/\sedg\//i.test(e3)) return { name: s.Blink }; - const t3 = l.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e3); - return { name: s.EdgeHTML, version: t3 }; - } }, { test: [/trident/i], describe(e3) { - const t3 = { name: s.Trident }, i3 = l.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: (e3) => e3.test(/presto/i), describe(e3) { - const t3 = { name: s.Presto }, i3 = l.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test(e3) { - const t3 = e3.test(/gecko/i), i3 = e3.test(/like gecko/i); - return t3 && !i3; - }, describe(e3) { - const t3 = { name: s.Gecko }, i3 = l.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }, { test: [/(apple)?webkit\/537\.36/i], describe: () => ({ name: s.Blink }) }, { test: [/(apple)?webkit/i], describe(e3) { - const t3 = { name: s.WebKit }, i3 = l.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e3); - return i3 && (t3.version = i3), t3; - } }], m = class { - constructor(e3, t3 = false) { - if (null == e3 || "" === e3) throw new Error("UserAgent parameter can't be empty"); - this._ua = e3, this.parsedResult = {}, true !== t3 && this.parse(); + _getGenericFuncOpError(e3, t3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.genericFunctionErrorTemplate, t3), e3.position, e3.getTextWithFuncOpTextFallback()); } - getUA() { - return this._ua; + _getGreaterThanMaxErrorResult(e3, t3, i3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueGreaterThanMax, t3.getText(), i3.name, t3.position, i3.max), t3.position, e3.getTextWithFuncOpTextFallback()); } - test(e3) { - return e3.test(this._ua); + _getLessThanMinErrorResult(e3, t3, i3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueLessThanMin, t3.getText(), i3.name, t3.position, i3.min), t3.position, e3.getTextWithFuncOpTextFallback()); } - parseBrowser() { - this.parsedResult.browser = {}; - 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"); - }); - return e3 && (this.parsedResult.browser = e3.describe(this.getUA())), this.parsedResult.browser; + _getLiteralLessThanMinLength(e3, t3, i3) { + return 1 === i3.minLength ? this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterTextLengthLessThanMin, i3.name, t3.position), t3.position, e3.getTextWithFuncOpTextFallback()) : this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterTextLengthLessThanMinMoreThanOne, i3.name, t3.position, i3.minLength), t3.position, e3.getTextWithFuncOpTextFallback()); } - getBrowser() { - return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser(); + _getLiteralNotInProviderResult(e3, t3, i3, n3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterLiteralValueNotInProvider, t3.getTextWithFuncOpTextFallback(), i3.name, t3.position, n3), t3.position, e3.getTextWithFuncOpTextFallback()); } - getBrowserName(e3) { - return e3 ? String(this.getBrowser().name).toLowerCase() || "" : this.getBrowser().name || ""; + _getLiteralNotValidResult(e3, t3, i3, n3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterLiteralValueNotValid, t3.getTextWithFuncOpTextFallback(), i3.name, t3.position, n3), t3.position, e3.getTextWithFuncOpTextFallback()); } - getBrowserVersion() { - return this.getBrowser().version; + _getNoOverloadErrorResult(e3, t3) { + 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 += 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()); } - getOS() { - return this.parsedResult.os ? this.parsedResult.os : this.parseOS(); + _getParameterValueMustBeLiteral(e3, t3, i3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueMustBeLiteral, i3.name, t3.position, i3.type.displayString), t3.position, e3.getTextWithFuncOpTextFallback()); } - parseOS() { - this.parsedResult.os = {}; - const e3 = l.find(p, (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"); - }); - return e3 && (this.parsedResult.os = e3.describe(this.getUA())), this.parsedResult.os; + _getParameterValueMustBeVariable(e3, t3, i3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueMustBeVariable, i3.name, t3.position, i3.type.displayString), t3.position, e3.getTextWithFuncOpTextFallback()); } - getOSName(e3) { - const { name: t3 } = this.getOS(); - return e3 ? String(t3).toLowerCase() || "" : t3 || ""; + _getParameterValueMustBeVariableScope(e3, t3, i3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterValueMustBeVariableScope, i3.name, t3.position, `${m.getCasedScope(i3.mustBeVariableScope)}.`), t3.position, e3.getTextWithFuncOpTextFallback()); } - getOSVersion() { - return this.getOS().version; + _getRuntimePlaybackNotSupportedErrorResult(e3, t3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.dataPlaybackNotSupportedForLanguage, (0, o.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } - getPlatform() { - return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform(); + _getOverloadNotSupportedForLanguageErrorResult(e3, t3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.overloadNotSupportedForLanguage, (0, o.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } - getPlatformType(e3 = false) { - const { type: t3 } = this.getPlatform(); - return e3 ? String(t3).toLowerCase() || "" : t3 || ""; + _getTTSEngineNotValidErrorResult(e3, t3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsEngineNotValidForLanguage, (0, o.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } - parsePlatform() { - this.parsedResult.platform = {}; - const e3 = l.find(_, (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"); - }); - return e3 && (this.parsedResult.platform = e3.describe(this.getUA())), this.parsedResult.platform; + _getTTSEngineNotSupportedErrorResult(e3, t3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.ttsNotSupportedForLanguage, (0, o.sprintf)(d.default.language.formatDisplayStringAndCode, t3.text, t3.idExpressionText)), e3.position, e3.getTextWithFuncOpTextFallback()); } - getEngine() { - return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine(); + _getTTSNotSupportedForFlowTypeErrorResult(e3, t3) { + const i3 = (null == t3 ? void 0 : t3.length) > 1 ? b.expression.ttsNotSupportedForFlowTypes : b.expression.ttsNotSupportedForFlowType; + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, i3, p.getFlowTypesDisplayString(t3)), e3.position, e3.getTextWithFuncOpTextFallback()); } - getEngineName(e3) { - return e3 ? String(this.getEngine().name).toLowerCase() || "" : this.getEngine().name || ""; + _getUnavailableOverloadErrorResult(e3, t3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.unavailableOverloadNeedsFeatureToggle), e3.position, e3.getTextWithFuncOpTextFallback()); } - parseEngine() { - this.parsedResult.engine = {}; - const e3 = l.find(h, (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"); - }); - return e3 && (this.parsedResult.engine = e3.describe(this.getUA())), this.parsedResult.engine; + _getZeroNotAllowedErrorResult(e3, t3, i3) { + return this._errorResult(this._errorStrWithFuncOpAndPosPrefix(e3, b.expression.functions.parameterCannotBeZero, i3.name, t3.getText(), t3.position), t3.position, e3.getTextWithFuncOpTextFallback()); } - parse() { - return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this; + _result(e3) { + return g.createDataResult(true, e3); } - getResult() { - return l.assign({}, this.parsedResult); + isValidIdentifierCharacter(e3, t3) { + return !!p.getStringContainsValidCharacter(e3, false) || !t3 && ("_" === e3 || e3 >= "0" && e3 <= "9"); } - satisfies(e3) { - const t3 = {}; - let i3 = 0; - const n3 = {}; - let r3 = 0; - if (Object.keys(e3).forEach((o2) => { - const a2 = e3[o2]; - "string" == typeof a2 ? (n3[o2] = a2, r3 += 1) : "object" == typeof a2 && (t3[o2] = a2, i3 += 1); - }), i3 > 0) { - const e4 = Object.keys(t3), i4 = l.find(e4, (e5) => this.isOS(e5)); - if (i4) { - const e5 = this.satisfies(t3[i4]); - if (void 0 !== e5) return e5; + _validateLiteralWithProvider(e3, t3, i3) { + if (!t3 || !t3.isLit) return {}; + switch (e3) { + case S.literalValidatorNames.dialingCodes: { + const e4 = t3.getStringLit(), i4 = u.dialingCodes[e4]; + return i4 ? { providerFixedValue: i4 } : { parameterErrorStr: b.expression.functions.parameterTypeDialingCode }; } - const n4 = l.find(e4, (e5) => this.isPlatform(e5)); - if (n4) { - const e5 = this.satisfies(t3[n4]); - if (void 0 !== e5) return e5; + case S.literalValidatorNames.supportedTTSLangs: { + 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 }; + } + case S.literalValidatorNames.timeZones: { + const e4 = t3.getStringLit(); + return _.timeZoneService.timeZoneKeyIsValid(e4) ? {} : { parameterErrorStr: b.expression.notValidTimeZone }; + } + case S.literalValidatorNames.phoneNumber: { + const e4 = t3.getStringLit(), i4 = A.validateLiteralString(e4); + return i4 ? { parameterErrorStr: i4, parameterErrorStrIsFullSentence: true } : { providerFixedValue: e4 }; + } + case S.literalValidatorNames.supportedDigitalChannels: { + const e4 = t3.getStringLit(); + return h.SupportedDigitalChannel[e4.toLowerCase()] ? { providerFixedValue: e4.toLowerCase() } : { parameterErrorStr: b.expression.functions.parameterTypeDigitalChannel }; + } + default: + return { parameterErrorStr: b.expression.functions.parameterTypeUnknown }; } - if (r3 > 0) { - const e4 = Object.keys(n3), t4 = l.find(e4, (e5) => this.isBrowser(e5, true)); - if (void 0 !== t4) return this.compareVersion(n3[t4]); - } - } - isBrowser(e3, t3 = false) { - const i3 = this.getBrowserName().toLowerCase(); - let n3 = e3.toLowerCase(); - const r3 = l.getBrowserTypeByAlias(n3); - return t3 && r3 && (n3 = r3.toLowerCase()), n3 === i3; } - compareVersion(e3) { - let t3 = [0], i3 = e3, n3 = false; - const r3 = this.getBrowserVersion(); - if ("string" == typeof r3) return ">" === e3[0] || "<" === e3[0] ? (i3 = e3.substr(1), "=" === e3[1] ? (n3 = true, i3 = e3.substr(2)) : t3 = [], ">" === e3[0] ? t3.push(1) : t3.push(-1)) : "=" === e3[0] ? i3 = e3.substr(1) : "~" === e3[0] && (n3 = true, i3 = e3.substr(1)), t3.indexOf(l.compareVersions(r3, i3, n3)) > -1; + cleanseForIdentifierNameWithProps(e3) { + if (!e3) return e3; + let t3 = ""; + for (let i3 = 0; i3 < e3.length; i3++) ("." === e3.charAt(i3) || this.isValidIdentifierCharacter(e3.charAt(i3), 0 === t3.length)) && (t3 += e3.charAt(i3)); + return t3; } - isOS(e3) { - return this.getOSName(true) === String(e3).toLowerCase(); + cleanseForIdentifierName(e3, t3, i3) { + if (!e3) return e3; + e3 = e3.trim(); + const n3 = []; + for (let o2 = 0; o2 < e3.length; o2++) this.isValidIdentifierCharacter(e3.charAt(o2), 0 === n3.length) ? n3.push(e3.charAt(o2)) : t3 && (i3 && o2 && n3[n3.length - 1] === t3 || n3.push(t3)); + return n3.join(""); } - isPlatform(e3) { - return this.getPlatformType(true) === String(e3).toLowerCase(); + isFunctionTextAvailableForFlowTypeAndOperandTypes(e3, t3, i3) { + const n3 = this.getRegisteredFuncOpsByText(e3); + return !!n3 && !!n3[0].overloads.find((e4) => { + if (i3.length !== e4.operands.length) return; + if (!r.default.contains(e4.supportedFlowTypes, t3)) return false; + let n4 = true; + return i3.find((t4, i4) => { + if (!e4.operands[i4].type.isMatch(t4, T.settings.typeOfOrAny)) return n4 = false, true; + }), n4; + }); } - isEngine(e3) { - return this.getEngineName(true) === String(e3).toLowerCase(); + getExpansions(e3, t3, i3) { + const n3 = {}; + return r.default.each(i3.properties, (i4) => { + const o2 = e3 + "." + i4.name; + n3[o2] = { text: o2, expressionText: t3 + "." + i4.expressionText, description: i4.description, guxIcon: i4.type.getIconGux(), propertyName: i4.name }; + }), n3; } - is(e3, t3 = false) { - return this.isBrowser(e3, t3) || this.isOS(e3) || this.isPlatform(e3); + getAllFuncOpDisplayNames() { + return r.default.pluck(this.expressionFuncOps, "displayName"); } - some(e3 = []) { - return e3.some((e4) => this.is(e4)); + getAvailableFuncOpNamesAndCategories(e3, t3, i3) { + const n3 = (e3 ? "yes_desc" : "no_desc") + "|" + (t3 ? "yes_ops" : "no_ops"), o2 = E[n3]; + if (o2) return o2; + const a2 = r.default.filter(this.expressionFuncOps, function(e4) { + return !(e4.isUnavailable || !e4.funcCategory) && (t3 || e4.isFunction); + }); + return E[n3] = r.default.map(a2, function(t4) { + let n4 = { identifier: t4.identifier, displayName: t4.text, category: t4.funcCategory }; + return e3 && (n4 = r.default.extend(n4, { description: t4.description })), i3 && (n4 = r.default.extend(n4, { supportedFlowTypes: t4.supportedFlowTypes })), n4; + }.bind(this)), E[n3]; } - }, g = class { - static getParser(e3, t3 = false) { - if ("string" != typeof e3) throw new Error("UserAgent should be a string"); - return new m(e3, t3); + getExpressionIdentifier(e3) { + if (!e3) return e3; + let t3, i3, n3; + try { + const o2 = new v.runtime.ANTLRStringStream(e3); + i3 = new C(o2), i3.displayRecognitionError = function(e4, t4) { + }; + const r2 = new v.runtime.CommonTokenStream(i3); + n3 = new O(r2), n3.displayRecognitionError = function(e4, t4) { + }.bind(this); + const a2 = n3.designerexpression().getTree(); + a2 && (t3 = a2.getType() === C.IDENTIFIER); + } catch (e4) { + } + return i3 && (i3.displayRecognitionError = null), n3 && (n3.displayRecognitionError = null), t3 ? e3 : f.default.getQuotedExpressionStringLiteral(e3); } - static parse(e3) { - return new m(e3).getResult(); + getFunctionsForCategory(e3) { + const t3 = r.default.find(this.expressionFuncOpCollections, function(t4) { + return t4.funcCategory === e3; + }); + return t3 ? t3.functions : null; } - static get BROWSER_MAP() { - return r2; + getHelp(e3) { + if (e3) return this._getFuncOpForIdentifier(e3); } - static get ENGINE_MAP() { - return s; + getNonOperatorFuncOpDisplayNames() { + const e3 = r.default.filter(this.expressionFuncOps, function(e4) { + return e4.funcCategory !== this.expressionFuncOpCategories.operator; + }.bind(this)); + return r.default.pluck(e3, "displayName"); } - static get OS_MAP() { - return a; + getOverload(e3, t3, i3) { + const n3 = this.getRegisteredFuncOps(e3); + if (n3 || this._errorResult((0, o.sprintf)(b.expression.notFuncOrRef, e3.getTextWithFuncOpTextFallback, e3.position), e3.position, e3.rootText), i3 && i3.options && i3.options.hasDisallowedFunctionMap && i3.options.disallowedFunctionMap[n3[0].identifier.toLowerCase()]) return this._errorResult((0, o.sprintf)(b.expression.functions.notAvailableInExpression, e3.getTextWithFuncOpTextFallback(), e3.position), e3.position, e3.rootText); + const r2 = e3.getOperands(); + for (let o2 = 0; o2 < n3.length; o2++) { + const a2 = this.evaluateRegisteredFuncOp(e3, n3[o2], r2, t3, i3); + if (a2) return a2; + } + return this._getNoOverloadErrorResult(r2, e3); } - static get PLATFORMS_MAP() { - return o; + getRegisteredFuncOps(e3) { + return this.getRegisteredFuncOpsByText(e3.rootText); } - }; - }, 34727: (e2, t2, i2) => { - "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)), c = i2(47957); - class d extends u.default { - constructor(e3, t3, i3) { - 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"); + getRegisteredFuncOpsByText(e3) { + return e3 ? this.expressionFuncOpsByText["_" + e3.toLowerCase()] : null; } - get consumerCount() { - return a.__classPrivateFieldGet(this, o, "f").length; + getFuncIdByText(e3) { + return this._getFuncOpForText(e3); } - visibleUsages(e3) { - return this._visibleUsages(e3).concat(a.__classPrivateFieldGet(this, o, "f")); + getStringConversionExamples(e3, t3) { + const i3 = [], n3 = t3.getDefaultImplicitConversionFunc(e3), o2 = null == n3 ? void 0 : n3.overloads.find((t4) => 1 === t4.operands.length && T.isMatch(t4.operands[0].type, e3, T.settings.exact)); + return o2 && Array.isArray(null == o2 ? void 0 : o2.examples) && o2.examples.forEach((e4) => { + if (e4.input.indexOf("NOT_SET") < 0) { + const t4 = `${n3.text}(`, o3 = e4.input.indexOf(t4) + t4.length, r2 = e4.input.lastIndexOf(")"); + o3 >= 0 && r2 >= o3 && i3.push(e4.input.substring(o3, r2)); + } + }), i3; } - get name() { - return a.__classPrivateFieldGet(this, r2, "f").label; + isValidIdentifierName(e3) { + if (!e3) return false; + for (let t3 = 0; t3 < e3.length; t3++) if (!this.isValidIdentifierCharacter(e3.charAt(t3), 0 === t3)) return false; + return true; } - set name(e3) { - a.__classPrivateFieldGet(this, r2, "f").label = e3; + getInvalidIdentifierCharacters(e3) { + if (!e3) return []; + const t3 = []; + for (let i3 = 0; i3 < e3.length; i3++) this.isValidIdentifierCharacter(e3.charAt(i3), 0 === i3) || "." === e3.charAt(i3) || t3.push(e3.charAt(i3)); + return r.default.uniq(t3); } - get outputId() { - return a.__classPrivateFieldGet(this, r2, "f").outputId; + getInvalidIdentifierCharPos(e3) { + if (!r.default.isString(e3) || !e3.length) return -1; + for (let t3 = 0; t3 < e3.length; t3++) if (!this.isValidIdentifierCharacter(e3.charAt(t3), 0 === t3)) return t3; + return null; } - set outputId(e3) { - a.__classPrivateFieldGet(this, r2, "f").outputId = e3; + _configureFuncOpModel(e3, t3, i3, n3) { + const o2 = this._getFuncOpForIdentifier(n3); + o2 && (o2.startupConfigureFromBootstrapInfo(i3, t3), r.default.each(o2.overloads, function(t4) { + e3[t4.id] = r.default.union(r.default.keys(t4.supportedLanguageFilter), r.default.keys(t4.supportedFlowTypes)); + })); } - get branchItem() { - return a.__classPrivateFieldGet(this, r2, "f"); + getPromptsFromExpressionText(e3) { + if (!r.default.isString(e3)) return null; + const t3 = []; + e3 = this.removeStringLiterals(e3); + const i3 = /((Prompt(System)?)\.[0-9\u0041-\u005a\u0061-\u007a\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u3040-\u318F\u3300-\u337F\u3400-\u3D2D\u4E00-\u9FFF\uF900-\uFAFF\.\_]*)/gi; + let n3, o2; + do { + if (n3 = i3.exec(e3), n3 && 1 === (n3[1].match(/\./g) || []).length) { + const e4 = n3[1].split("."); + e4.splice(0, 1), o2 = { name: e4.join(""), type: /PromptSystem./g.exec(n3[1]) ? N.SystemPrompt : N.UserPrompt }, o2.type === N.SystemPrompt ? o2.isSystemPrompt = true : o2.isUserPrompt = true, t3.push(o2); + } + } while (n3); + return t3; } - canDelete(e3) { - return !this.required; + removeStringLiterals(e3) { + if (!r.default.isString(e3)) return null; + let t3 = false; + const i3 = e3.split(""), n3 = i3.length, o2 = "__"; + for (let e4 = 0; e4 < n3; e4++) switch (i3[e4]) { + case '"': + t3 = !t3, i3[e4] = o2; + break; + case "\\": + if (!t3) break; + if (e4 + 1 >= n3) { + i3[e4] = o2; + break; + } + switch (i3[e4 + 1]) { + case "\\": + case "n": + case "r": + case "t": + case '"': + i3[e4] = i3[e4 + 1] = o2, e4++; + break; + default: + i3[e4] = o2; + } + break; + default: + t3 && (i3[e4] = o2); + } + return r.default.without(i3, o2).join(""); } - 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); + startupConnectedAndReady(e3) { + const t3 = {}; + r.default.each(e3, (e4) => { + r.default.each(e4.functions, (i3, n3) => this._configureFuncOpModel(t3, e4, i3, n3)); + }), r.default.each(s.bootstrapService.functions, (e4, i3) => this._configureFuncOpModel(t3, null, e4, i3)), l.table("Bootstrap expression support", t3), r.default.each(this.expressionFuncOps, function(e4) { + e4.startupFinalize(); + }); } - get deletionTooltip() { - return c.variable.outputDeleteTooltip; + unitTestEnableAllFunctions() { + console.error("ExpressionDataService.unitTestEnableAllFunctions should only be called in unit tests!"); } - 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); + unitTestEnableLanguageForNeedServerInfoFuncOps(e3, t3, i3) { + return console.error("ExpressionDataService.unitTestEnableLanguageForNeedServerInfoFuncOps should only be called in unit tests!"), 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); + unitTestRestoreNeedServerInfoSnapshot() { + console.error("ExpressionDataService.unitTestRestoreNeedServerInfoSnapshot should only be called in unit tests!"); } - } - 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() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "EmergencyGroupList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 34825: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.selfUri = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "CallCreatedResponse"), e2.exports = n2; - }, 34875: (e2, t2, i2) => { + }(); + }, 11345(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(66740)), o = n2.__importDefault(i2(42290)); - class a extends o.default { - get className() { - return "BuilderPartWithVariableFormattingPartDef"; - } - reviveItem(e3, t3, i3, n3) { - return new r2.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: void 0, reId: !!n3 }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.getFunctionsForCharPosition = function(e3, t3, i3) { + o.ParameterValidator.expectObject(e3, function() { + return n2.ParameterInfo.createFunctionParameter("expressionCharacterParser", "getFunctionsForCharPosition", "expression"); + }.bind(this)), o.ParameterValidator.expectInt(t3, function() { + return n2.ParameterInfo.createFunctionParameter("expressionCharacterParser", "getFunctionsForCharPosition", "position"); + }.bind(this)), o.ParameterValidator.expectBool(i3, function() { + return n2.ParameterInfo.createFunctionParameter("expressionCharacterParser", "getFunctionsForCharPosition", "wantFunctionCallStack"); + }.bind(this), true); + 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 (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: + if (-1 === S) break; + A[S].addParameterPlaceholder(); + break; + case l.PAREN_LEFT: + if (-1 === S) break; + A[S].hasIdentifier && !A[S].hasLeftParen ? A[S].setLeftParenFromAntlrToken(g) : A[S].addLParenAntlrTokenToCurrentParameter(g); + break; + case l.PAREN_RIGHT: { + if (-1 === S) break; + if (A[S].parameterHasMismatchedParens) { + A[S].addRParenAntlrTokenToCurrentParameter(g); + break; + } + A[S].setRightParenFromAntlrToken(g); + const e4 = A.pop(); + A.length > 0 && A[A.length - 1].appendExpressionFuncPartTextForCurrentParameter(e4), e4.containsPosition(t3) && (i3 || (y = [e4], f = false), f && y.push(e4)), S -= 1; + break; + } + case l.IDENTIFIER: { + const t4 = u(h, m, T + 1); + switch (t4.tokenType) { + case l.FIELD_ACCESS_IDENTIFIER: + case l.FIELD_ACCESS_STRING_LITERAL: + case l.FIELD_ACCESS_UNQUOTED_STRING_LITERAL: + -1 === S ? (A.push(new r.ExpressionFuncPart(e3).setIdentifierFromAntlrToken(g)), S += 1) : A[S].addAntlrTokenToCurrentParameter(g), A[S].addAntlrTokenToCurrentParameter(t4), T += 1; + break; + case l.PAREN_RIGHT: + break; + case l.EOF: + f = false; + break; + default: + A.push(new r.ExpressionFuncPart(e3).setIdentifierFromAntlrToken(g)), S += 1; + } + break; + } + default: + S >= 0 && A[S].addAntlrTokenToCurrentParameter(g); + } + if (!f) break; + T += 1; + } + if (f) for (; A.length > 0; ) { + const e4 = A.pop(); + e4.resolvedFuncDef && e4.setEndTextPosToExpressionTextLength(), A.length > 0 && A[A.length - 1].appendExpressionFuncPartTextForCurrentParameter(e4), y.push(e4); + } + if (0 === y.length) for (T = 0; T < m; ) { + if (g = u(h, m, T), g.tokenType === l.IDENTIFIER) { + if (g.tokenPos <= t3 && g.tokenPos + g.token.getText().length >= t3) { + y.push(new r.ExpressionFuncPart(e3).setIdentifierFromAntlrToken(g)); + break; + } + } else if (g.tokenPos > t3) break; + T += 1; + } + } catch (e4) { + console.error(e4); + } finally { + d = void 0, p.displayRecognitionError = void 0, p = void 0, _ = void 0; } + return y; + }; + const n2 = i2(55909), o = i2(33951), r = i2(90924), a = i2(40810), s = i2(44051), l = i2(36470); + function u(e3, t3, i3) { + if (i3 >= t3) return { token: void 0, tokenType: l.EOF, tokenPos: -1 }; + const n3 = e3[i3]; + return { token: n3, tokenType: n3.getType(), tokenPos: n3.start }; } - t2.default = a; - }, 34891: (e2, t2) => { + }, 65302(e2, t2, i2) { "use strict"; - function i2() { - return "function" == typeof Symbol && Symbol.iterator ? Symbol.iterator : "@@iterator"; + 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), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(36781)), a = n2.__importDefault(i2(2384)), s = i2(34005), l = {}, u = new a.default(); + function c() { + return u; } - Object.defineProperty(t2, "__esModule", { value: true }), t2.iterator = t2.getSymbolIterator = void 0, t2.getSymbolIterator = i2, t2.iterator = i2(); - }, 34950: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleArray = void 0; - var n2 = i2(48051); - t2.scheduleArray = function(e3, t3) { - return new n2.Observable(function(i3) { - var n3 = 0; - return t3.schedule(function() { - n3 === e3.length ? i3.complete() : (i3.next(e3[n3++]), i3.closed || this.schedule()); - }); + function d(e3, t3) { + return c()._getMatchingTypes(e3, t3); + } + function p(e3) { + if (!e3) return u; + if (l[e3.instanceId]) return l[e3.instanceId]; + const t3 = new a.default(); + return l[e3.instanceId] = t3, e3.registerExpressionTypeGroupEventSink && e3.registerExpressionTypeGroupEventSink.call(e3), u.cloneTo(e3, t3), e3.onTypeMapCreated && e3.onTypeMapCreated.call(e3), t3; + } + function _(e3, t3, i3) { + if (!o.default.isString(t3)) return null; + const n3 = p(e3), r2 = o.default.find(n3.map, function(e4) { + return e4.single.icwsType === t3; }); - }; - }, 35050: (e2, t2, i2) => { - "use strict"; - 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: 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"; - } - get isBuilderWithSingleBuilderPartDef() { - return true; - } - createBuilder(e3) { - const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); - return t3.setNewInstanceDefaults(), t3; - } - reviveBuilder(e3, t3, i3) { - return new o.default({ owningExpression: e3, model: t3, reId: true === i3 }); - } + return r2 ? i3 ? r2.collection : r2.single : null; } - t2.default = a; - }, 35133: (e2, t2, i2) => { - var n2 = { "./cs.js": 56464, "./de.js": 77853, "./es.js": 97650, "./fr-ca.js": 26435, "./it.js": 88383, "./ja.js": 23827, "./ko.js": 63164, "./nb.js": 22274, "./nl.js": 92572, "./pl.js": 94418, "./pt-br.js": 48303, "./ru.js": 82271, "./sv.js": 41011, "./tr.js": 85096, "./zh-cn.js": 52648, "./zh-tw.js": 50304, "moment/locale/cs.js": 56464, "moment/locale/de.js": 77853, "moment/locale/es.js": 97650, "moment/locale/fr-ca.js": 26435, "moment/locale/it.js": 88383, "moment/locale/ja.js": 23827, "moment/locale/ko.js": 63164, "moment/locale/nb.js": 22274, "moment/locale/nl.js": 92572, "moment/locale/pl.js": 94418, "moment/locale/pt-br.js": 48303, "moment/locale/ru.js": 82271, "moment/locale/sv.js": 41011, "moment/locale/tr.js": 85096, "moment/locale/zh-cn.js": 52648, "moment/locale/zh-tw.js": 50304, "node_modules/moment/locale/cs.js": 56464, "node_modules/moment/locale/de.js": 77853, "node_modules/moment/locale/es.js": 97650, "node_modules/moment/locale/fr-ca.js": 26435, "node_modules/moment/locale/it.js": 88383, "node_modules/moment/locale/ja.js": 23827, "node_modules/moment/locale/ko.js": 63164, "node_modules/moment/locale/nb.js": 22274, "node_modules/moment/locale/nl.js": 92572, "node_modules/moment/locale/pl.js": 94418, "node_modules/moment/locale/pt-br.js": 48303, "node_modules/moment/locale/ru.js": 82271, "node_modules/moment/locale/sv.js": 41011, "node_modules/moment/locale/tr.js": 85096, "node_modules/moment/locale/zh-cn.js": 52648, "node_modules/moment/locale/zh-tw.js": 50304 }; - function r2(e3) { - var t3 = o(e3); - return i2(t3); + function h(e3, t3) { + if (!o.default.isString(t3)) return null; + const i3 = t3.length; + return i3 > 5 && "_coll" === t3.substring(i3 - 5) ? e3.map[t3.substring(0, i3 - 5)].collection : e3.map[t3] ? e3.map[t3].single : void 0; + } + function m(e3, t3, i3) { + const n3 = p(e3); + return h(n3, t3) || (function(e4, t4) { + if (!t4) return null; + let i4; + for (const n4 in t4) if (t4.hasOwnProperty(n4) && (i4 = t4[n4].type, i4)) return h(e4, i4); + return null; + })(n3, i3); + } + function g(e3, t3, i3) { + return p(e3).getType(t3, i3); + } + function f(e3, t3) { + return p(e3).getTypeFromDisplayString(t3); + } + function T(e3, t3) { + const i3 = o.default.find(s.type, function(t4) { + return t4.support && t4.support.expressionDataType === e3.typeIdentifier; + }), n3 = new e3(t3, i3, false), r2 = p(t3); + return r2.map[i3.support.expressionDataType] = { single: n3, collection: null }, r2.singletons.push(n3), n3; + } + function y(e3) { + const t3 = l[e3.instanceId]; + delete l[e3.instanceId], t3 && t3.destroy(); } + r.serviceListen(r.cleanUpFlow, y), t2.default = { getGlobalTypeGroup: c, getGlobalMatchingTypes: d, getTypeGroup: p, getTypeFromIcwsType: _, resolveType: m, getType: g, getTypeFromDisplayString: f, createType: T, destroyGroup: y }; + }, 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 = c; + const n2 = i2(31635).__importDefault(i2(92140)); function o(e3) { - if (!i2.o(n2, e3)) { - var t3 = new Error("Cannot find module '" + e3 + "'"); - throw t3.code = "MODULE_NOT_FOUND", t3; - } - return n2[e3]; + return e3 ? e3.replace(/\\"/g, '"').replace(/\\\\/g, "\\").replace(/\r/g, "\r").replace(/\n/g, "\n").replace(/\t/g, " ") : ""; } - r2.keys = function() { - return Object.keys(n2); - }, r2.resolve = o, e2.exports = r2, r2.id = 35133; - }, 35158: (e2, t2, i2) => { - function n2() { - this.actionTypeId = void 0, n2.baseConstructor.apply(this, arguments); + function r(e3) { + return e3 ? e3.replace(/\\/g, "\\\\").replace(/\"/g, '\\"').replace(/\t/g, "\\t").replace(/\r/g, "\\r").replace(/\n/g, "\\n") : ""; } - i2(74817).extend(n2, "ClipboardManifestActionItemModel", true), e2.exports = n2; - }, 35284: (e2, t2, i2) => { + function a(e3, t3) { + return !(!n2.default.isString(e3) || (t3 || (e3 = e3.trim()), e3.length < 2 || '"' !== e3[0] || '"' !== e3[e3.length - 1])); + } + function s(e3) { + return r(e3); + } + function l(e3) { + return o(e3); + } + function u(e3) { + return e3 ? `"${r(e3)}"` : '""'; + } + function c(e3) { + return e3 && 1 !== e3.length ? '"' !== e3[0] || '"' !== e3[e3.length - 1] ? e3 : o(e3.substring(1, e3.length - 1)) : e3; + } + t2.default = { textIsExpressionStringLiteral: a, rawEscapeStringForExpressionMode: s, rawUnescapeExpressionModeString: l, getQuotedExpressionStringLiteral: u, getUnquotedExpressionStringLiteralContents: c }; + }, 98552(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), c = n2.__importStar(i2(10798)), d = n2.__importDefault(i2(4648)), p = n2.__importDefault(i2(95085)); - class _ extends p.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return o.callAgenticVirtualAgentActionType; + t2.expressionItems = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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"); } - get isArchActionCallAgenticVirtualAgent() { - return true; + isSystemId(e3) { + return e3 && "__" === e3.substring(0, 2); } - get displayTypeName() { - return this._scriptingName; + accessor(e3) { + const t3 = new r.ExpressionItem(".", e3, null); + return t3.type = ".", t3.opOrFunc = true, t3; } - get agentInputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + checkDecimalStr(e3, t3) { + return !(!o.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; } - get agentOutputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + checkIntStr(e3) { + return e3 && e3.match(/^[-]?[0-9]+$/) && (e3.length <= 15 || 16 === e3.length && "-" === e3[0]); } - get avaOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + isCollectionCreatableFromMakeList(e3, t3) { + if (!t3.isCollection) return false; + if (e3.type.isCollection) return false; + 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; } - get voiceProcessingPrompt() { - return c.isFeatureAvailable(d.default.botFlowsVoiceProcessingPrompt) && this.logDeprecatedPropertyWarning(this._infoPropGet("voiceProcessingPrompt")), this.coreFactory.createArchWrapper(this._getCoreViewModel().voiceProcessingPrompt); + conversionFuncWrapper(e3, t3) { + const i3 = e3.type, n3 = t3.getDefaultImplicitConversionFunc(i3); + if (!n3) return null; + const o2 = new r.ExpressionItem(n3.text, e3.position, n3.display); + return o2.opOrFunc = "fn", o2.getOperands().push(e3), o2; } - get exitReason() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().exitReason); + emp(e3) { + if (!e3) return null; + const t3 = new r.ExpressionItem("emp", 1, null); + return t3.type = e3, t3; } - setAgenticVirtualAgentByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("agenticVirtualAgentId", "setAgenticVirtualAgentByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAgenticVirtualAgentByIdAsync"), t3, true); - const i3 = yield s.default.findItemByIdAsync(r2.agenticVirtualAgentManager, e3, "agenticVirtualAgentId"); - return this.logNote("found the agenticVirtualAgent named '" + i3.name + "' for the agenticVirtualAgent ID of '" + e3 + "'"), this.validateAgenticVirtualAgentIsPublished(i3), this._getCoreViewModel().agenticVirtualAgentSetting.setValue(i3), yield this.waitForAgenticVirtualAgentVersionLoading(), a.default.executeCallback(this, "setAgenticVirtualAgentByIdAsync", t3, this); - }); + enf(e3) { + if (!e3) return null; + const t3 = new r.ExpressionItem("enf", 1, null); + return t3.type = e3, t3; } - setAgenticVirtualAgentByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("agenticVirtualAgentName", "setAgenticVirtualAgentByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAgenticVirtualAgentByNameAsync"), t3, true); - const i3 = yield s.default.findItemByValueAsync(r2.agenticVirtualAgentManager, e3, "agenticVirtualAgent", "name", "name"); - return this.logNote(`Found info for the agenticVirtualAgent named '${i3.name}' for the passed agenticVirtualAgent name of '${i3}'. Getting agenticVirtualAgent details.`), this.validateAgenticVirtualAgentIsPublished(i3), this._getCoreViewModel().agenticVirtualAgentSetting.setValue(i3), yield this.waitForAgenticVirtualAgentVersionLoading(), a.default.executeCallback(this, "setAgenticVirtualAgentByNameAsync", t3, this); - }); + empOrEnf(e3, t3) { + return t3 && t3.emitNonConfigItemForEmptyAndNoDefault ? this.enf(e3) : this.emp(e3); } - waitForAgenticVirtualAgentVersionLoading() { - return n2.__awaiter(this, void 0, void 0, function* () { - this.logNoteVerbose(`Loading latest version definition for agenticVirtualAgent, agenticVirtualAgentId: ${this._getCoreViewModel().agenticVirtualAgentId}`), yield (0, u.firstValueFrom)(this._getCoreViewModel().agenticVirtualAgentVersionSetting.loadingReference$.pipe((0, l.first)((e3) => false === e3))), this._getCoreViewModel().agenticVirtualAgentVersionSetting.currentUiErrorMessage ? this.logError(`error loading latest agenticVirtualAgent version, agenticVirtualAgentId: ${this._getCoreViewModel().agenticVirtualAgentId} - ${this._getCoreViewModel().agenticVirtualAgentVersionSetting.currentUiErrorMessage}`) : this.logNoteVerbose(`Successfully loaded latest version definition for agenticVirtualAgent, agenticVirtualAgentId: ${this._getCoreViewModel().agenticVirtualAgentId}`); - }); + getPromptsFromExpressionMetadata(e3) { + if (!e3.isOutput) return e3.metaData && e3.metaData.references && e3.metaData.references.length > 0 ? o.default.filter(e3.metaData.references, function(e4) { + return e4.type === d.expressionTypeNames.prompt; + }) : []; } - validateAgenticVirtualAgentIsPublished(e3) { - e3.version || this.logErrorAndThrow(`Agentic Virtual Agent '${e3.name}' is not published. Only published Agentic Virtual Agents can be used in Call Agentic Virtual Agent action.`); + getUniquePromptIds(e3, t3, i3) { + return t3 || (t3 = []), o.default.each(e3, function(e4, n3) { + if (e4.operands && o.default.each(e4.operands, function(e5) { + this.getUniquePromptIds(e5, t3, i3); + }.bind(this)), e4.type === d.expressionTypeNames.prompt && (!i3 || "sysref" !== n3 || "ref" === n3)) { + const i4 = e4.val; + o.default.find(t3, function(e5) { + return e5.id === i4; + }) || t3.push({ id: i4, type: e4.type, isSysRef: "sysref" === n3 }); + } + }.bind(this)), t3; } - } - t2.default = _; - }, 35291: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getEmailHeadersFailureReasons = void 0; - t2.getEmailHeadersFailureReasons = ["ActionInvocationLimitExceeded", "GeneralError", "NoEmailHeadersExist", "EmailHeaderNamesCollectionItemLimitExceeded"]; - }, 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)), 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; - const i3 = e3.getSearchQueryParams(true); - return s.default.build(u.getDigitalBotConnectorBots).templateParams({ integrationId: t3.integrationId }).queryParams(i3).call().then((e4) => (e4.entities.forEach((e5) => { - e5.setParentContextInfo(t3.integrationId); - }), e4)); - } - function m(e3) { - const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; - if (!(null == t3 ? void 0 : t3.integrationId) || !(null == t3 ? void 0 : t3.botId)) return; - const i3 = e3.getSearchQueryParams(true); - return s.default.build(u.getDigitalBotConnectorBotVersions).templateParams({ integrationId: t3.integrationId, botId: t3.botId }).queryParams(i3).call().then(function(e4) { - return e4.entities = e4.entities.map(function(e5) { - return e5.setParentContextInfo(t3.integrationId), e5.id = t3.botId, T(e5, e5.id, t3.botId, t3.integrationId); - }), e4; - }); - } - function g(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; - if (!(null == i3 ? void 0 : i3.botId) || !(null == i3 ? void 0 : i3.integrationId)) return; - const n3 = { version: e3 }, o2 = s.default.build(u.getDigitalBotConnectorBot).templateParams({ botId: i3.botId, integrationId: i3.integrationId }).queryParams(n3), a2 = yield o2.call(); - return r2.default.find(a2.versions, (t4) => { - if (t4.version === e3) return T(t4, a2.name, i3.botId, i3.integrationId); - }); - }); - } - function f(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; - if (!(null == i3 ? void 0 : i3.integrationId)) return; - const n3 = { botId: e3, integrationId: i3.integrationId }, r3 = s.default.build(u.getDigitalBotConnectorBot).templateParams(n3), o2 = yield r3.call(); - return o2 && o2.setParentContextInfo(i3.integrationId), o2; - }); - } - function T(e3, t3, i3, n3) { - if (!r2.default.isObject(e3)) return; - const o2 = e3; - t3 && (o2.name = t3), o2.id = i3, o2.version = e3.version, o2.setParentContextInfo(n3); - const a2 = o2.isFromAdsValidationResults; - return o2.isFromAdsValidationResults = false, r2.default.each(e3.intents, (e4) => { - 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)) 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) ? 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 c.error("missing type for slot"); - }); - const t4 = {}; - e4.entities && r2.default.isArray(e4.entities) && (e4.entities.forEach((e5) => { - e5 && e5.name && (t4[e5.name] = e5); - }), e4.entities = t4); - }), o2; - } - ["Boolean", "Currency", "Datetime", "Decimal", "Duration", "Integer", "String"].forEach((e3) => { - const t3 = e3, i3 = "Datetime" !== e3 ? e3.toLowerCase() : "dateTime"; - _[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"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionTypeCustomizedModes = void 0, t2.resolveCustomization = function(e3, t3) { - if (!(null == t3 ? void 0 : t3.ref) || !e3) return t3; - let n2 = 0; - for (; (null == t3 ? void 0 : t3.ref) && n2 < i2; ) t3 = e3[t3.ref], n2++; - return n2 < i2 ? t3 : void 0; - }; - const i2 = 16; - t2.expressionTypeCustomizedModes = { literalCard: { isLiteralOnly: true, properties: { buttons: { ref: "literalChoices" } } }, literalCards: { isLiteralOnly: true, items: { ref: "literalCard" } }, literalCarousel: { isLiteralOnly: true, properties: { cards: { ref: "literalCards" } } }, literalChoice: { isLiteralOnly: true, properties: { value: { isLiteralOnly: true }, type: { isLiteralOnly: true } } }, literalChoices: { isLiteralOnly: true, items: { ref: "literalChoice" } }, literalChooser: { isLiteralOnly: true, properties: { presentation: { isLiteralOnly: true }, carousel: { ref: "literalCarousel" }, quickReplies: { ref: "literalQuickReplies" } } }, literalQuickReplies: { isLiteralOnly: true, properties: { buttons: { ref: "literalChoices" } } } }; - }, 35317: (e2) => { - "use strict"; - e2.exports = require("child_process"); - }, 35476: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Det er ikke gyldig.", noInputReceived: "Jeg mottok ingen inndata." }, askForBoolean: { noInput: 'Si "ja" hvis du \xF8nsker \xE5 fortsette, eller "nei" hvis du ikke vil fortsette.', noMatch: 'Si "Ja" eller "Nei". \xD8nsker du \xE5 fortsette?', question: "\xD8nsker du \xE5 fortsette?", noInputDigitalBot: 'Angi "Ja" hvis du vil fortsette eller "Nei" hvis du ikke vil.', noMatchDigitalBot: 'Angi "Ja" eller "Nei". \xD8nsker du \xE5 fortsette?' }, askForIntent: { noInput: 'Si en kort setning som beskriver sp\xF8rsm\xE5let ditt, slikt som "Kontroller saldoen min"', noMatch: "Si igjen hva det er du \xF8nsker \xE5 gj\xF8re.", question: "Hva \xF8nsker du \xE5 gj\xF8re?", noInputDigitalBot: 'Skriv inn en kort setning som beskriver sp\xF8rringen din. For eksempel, "Sjekke saldoen p\xE5 kontoen min"' }, askForSlot: { askFor: "Sp\xF8r for %1$s", noInput: "Si eller skriv inn (angi spornavnet ditt her).", noInputWithSlot: "Si eller skriv inn %1$s.", noMatch: "Fortell meg (skriv inn spornavnet ditt her) igjen.", noMatchWithSlot: "Gi meg %1$s igjen.", question: "Hva er (skriv inn spornavnet ditt her)?", questionWithSlot: "Hva er %1$s?", pleaseEnterSlotNameHere: "(legg inn spornavnet ditt her)", noInputDigitalBot: "Angi (skriv inn spornavnet ditt her).", noInputWithSlotDigitalBot: "Angi %1$s.", continuationPromptWithSlot: "Jeg har {{Slot.%1$s}} s\xE5 langt, vennligst fortsett." }, askForNextSlot: { noInput: 'Si "ja" hvis du har et annet sp\xF8rsm\xE5l, eller "nei" for \xE5 avslutte oppringningen.', noMatch: 'Si "Ja" hvis du har et annet sp\xF8rsm\xE5l, eller "Nei" for \xE5 avslutte \xF8kten.', question: "Er det noe annet jeg kan hjelpe deg med?", noInputDigitalBot: 'Angi "Ja" hvis du har en sp\xF8rring til, eller "Nei" for \xE5 avslutte \xF8kten.', noMatchDigitalBot: 'Angi "Ja" hvis du har en sp\xF8rring til, eller "Nei" for \xE5 avslutte \xF8kten.' }, askForPayment: { noInputDigitalBot: "Angi betalingsopplysningene dine for \xE5 fortsette.", noMatchDigitalBot: "Jeg forsto ikke svaret ditt. Pr\xF8v igjen." }, askForAuthentication: { noInputDigitalBot: "Oppgi autentiseringsinformasjonen din for \xE5 fortsette.", noMatchDigitalBot: "Jeg forsto ikke svaret ditt. Pr\xF8v igjen." }, askSurveyQuestion: { notApplicable: "Ikke relevant", surveyAnswerOptionSequence: "Trykk p\xE5 %1$s for '%2$s'.", surveyAnswerNotApplicableSequence: "Trykk p\xE5 stjerne for Ikke relevant.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Trykk p\xE5 stjerne for Ikke relevant.", voiceSurveyNoInputText: "Vennligst svar p\xE5 sp\xF8rsm\xE5let.", voiceSurveyNoMatchText: "Jeg forst\xE5r deg ikke." }, commonModule: { exitCommonModule: "Avslutt fellesmodul" }, form: { noInputDigitalBot: "Fullf\xF8r skjemaet for \xE5 fortsette.", noMatchDigitalBot: "Fullf\xF8r skjemaet for \xE5 fortsette." }, messagingTemplate: { noInputDigitalBot: "Velg ett av de tilgjengelige alternativene.", noMatchDigitalBot: "Velg ett av de tilgjengelige alternativene." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Fortsett", knowledgeAnswerHighlightFullArticleDefault: "Vis hele artikkelen", knowledgeInitialResponseMulti: "For \xE5 hjelpe meg med \xE5 tydeliggj\xF8re m\xE5let ditt, velger du et tall fra f\xF8lgende liste:", knowledgeInitialResponseMultiRetry: "Velg et tall, for eksempel '1'.\nHer har du listen over valg igjen:", knowledgeNoMatch: "Ingen av disse", knowledgeConfirmation: "Svarte dette p\xE5 sp\xF8rsm\xE5let ditt?", knowledgeFollowup: "Jeg h\xE5per jeg svarte p\xE5 sp\xF8rsm\xE5let ditt. Du kan sp\xF8rre om hva som helst du lurer p\xE5." }, noOverlay: { intent: { intentConfirmationStr1: "Jeg tror du vil", intentConfirmationStr2: "Er dette riktig?" }, youSaid: { youSaidConfirmationStr1: "Du sa", youSaidConfirmationStr2: "Er dette riktig?", youSaidConfirmationStr1DigitalBot: "Du skrev inn" }, noInput: { noInputStr1: "Si eller angi", noInputStr1DigitalBot: "Skriv inn" }, noMatch: { noMatchStr1: "Gi meg" }, whatIs: { whatIsQuestionStr1: "Hva er", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Jeg har", iGotContinuationStr2: "s\xE5 langt, vennligst fortsett." } }, defaultCallFlowOne: "Standard samtaleflyt", errorHandlingAgentEscalationConfirmation: "Du \xF8nsker \xE5 snakke med en r\xE5dgiver. Er det riktig?", errorHandlingAgentEscalationHandover: "Et \xF8yeblikk, s\xE5 finner jeg noen du kan snakke med.", errorHandlingErrorEventHandover: "Beklager, det oppsto en feil. Vent et \xF8yeblikk mens jeg setter deg over til noen som kan hjelpe.", errorHandlingErrorEventHandoverVoiceSurvey: "Beklager, en feil har oppst\xE5tt. Adj\xF8.", errorHandlingRecognitionEventHandover: "Beklager. Jeg har vanskeligheter med \xE5 forst\xE5 deg. Vent et \xF8yeblikk mens jeg setter deg over til noen som kan hjelpe.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Beklager, jeg har problemer med \xE5 forst\xE5 deg. Adj\xF8.", errorHandlingTTS: "Beklager, det oppstod en feil. Pr\xF8v anropet p\xE5 nytt.", initialGreetingTTS: "Hei, dette er den innledende hilsenen.", initialState: "Opprinnelig tilstand", initialBotState: "Standard bot", initialDigitalBotState: "Innledende hilsen", initialSurveyBotState: "Unders\xF8kelse-bot", intentConfirmation: "Jeg tror du \xF8nsker \xE5 %1$s, er det riktig?", mainMenu: "Hovedmeny", mainMenuTTS: "Du er p\xE5 hovedmenyen. Trykk p\xE5 9 for \xE5 legge p\xE5", mainTask: "Oppgave", settingsConfirmationNoInputApology: "Beklager, jeg h\xF8rte deg ikke. Si ja eller nei.", settingsConfirmationNoInputApologyDigitalBot: 'Beklager, jeg fikk ikke inndata fra deg. Angi "Ja" eller "Nei".', settingsConfirmationNoMatchApology: "Beklager, si ja eller nei.", settingsConfirmationNoMatchApologyDigitalBot: 'Beklager, angi "Ja" eller "Nei".', settingsNoInputApology: "Beklager, jeg h\xF8rte deg ikke.", settingsNoInputApologyDigitalBot: "Beklager, jeg fikk ikke svar fra deg.", settingsEndOfSessionMessageDigitalBot: "Jeg har ikke h\xF8rt fra deg p\xE5 en stund, s\xE5 jeg lukker denne chatten. Kom tilbake hvis du trenger hjelp av meg igjen. Tusen takk.", settingsNoMatchApology: "Beklager.", settingsNoToConfirmationApology: "Det var min feil.", periodicStateName: "Tilbakevendende tilstand" }; - }, 35481: (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._whisperAudio = this.coreFactory.createArchWrapper(e3.whisperAudio); + intLiteral(e3, t3, i3) { + return this.literal(e3, t3.toString(), p.globalTypes.integer, i3); } - get _actionTypeId() { - return r2.setWhisperAudioActionType; + litColl(e3) { + if (!e3) return null; + const t3 = new r.ExpressionItem("lit", 1, ""); + return t3.type = e3, t3.items = [], t3; } - get displayTypeName() { - return this._scriptingName; + literal(e3, t3, i3, n3) { + if (!i3) return null; + const o2 = new r.ExpressionItem("lit", e3, t3); + return o2.type = i3, n3 && o2.addAdditionalProperties(n3), o2; } - setUseDefaultWhisper() { - this.whisperAudio._getCoreViewModel().noValueMode = true; + nul(e3, t3) { + const i3 = new r.ExpressionItem("nul", e3, null); + return i3.type = t3 || p.globalTypes.notSet, i3; } - get whisperAudio() { - return this._whisperAudio; + fieldAccess(e3) { + const t3 = new r.ExpressionItem(".", e3, null); + return t3.opOrFunc = "op", t3; } - get isArchActionSetWhisperAudio() { - return true; + funcOp(e3, t3, i3) { + const n3 = new r.ExpressionItem(t3, e3, i3); + return n3.opOrFunc = "fn", n3; } - } - t2.default = o; - }, 35515: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.archSessionId = t2.pageSizes = t2.pageOrientationOptions = t2.pageSizeOptions = t2.osList = t2.buildNumber = t2.browserInfo = t2.values = t2.limits = t2.browser = void 0, t2.isConnected = function() { - return !!y(); - }, t2.isChrome = function() { - return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("chrome"); - }, t2.isChromium = function() { - return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.isEngine("Blink"); - }, t2.isEdge = function() { - return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("Microsoft Edge"); - }, t2.isFirefox = function() { - return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("firefox"); - }, t2.isSafari = function() { - return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("safari"); - }, t2.getNodeUserAgentHeader = function() { - var e3; - if (!_) { - const i3 = !!(null === (e3 = null === process || void 0 === process ? void 0 : process.env) || void 0 === e3 ? void 0 : e3.IS_ARCHY_CX_AS_CODE_LAMBDA); - _ = `ArchitectScripting-build-${t2.buildNumber}${i3 ? "-lambda)" : ""}`; + getStringLiteralText(e3) { + return this.stringLiteral(1, e3, p.globalTypes.string).getText(); } - return _; - }, t2.getGenesysAppHeader = function() { - return `${`architect-webui/${t2.buildNumber}`}/scripting`; - }, t2.getAuthToken = y, t2.setAuthToken = function(e3) { - h = e3; - try { - null == p || p.sendTokenToClients(e3); - } catch (e4) { - u.error(`Encountered exception from pcUiAuthHost.sendTokenToClients: "${e4}"`); + op(e3, t3, i3) { + const n3 = new r.ExpressionItem(t3, e3, i3); + return n3.opOrFunc = "op", n3; } - }, t2.getConnectUrl = function(e3, t3, i3) { - return e3 = e3 || (0, a.uuid)(), "https://" + f.urls.auth + "/authorize?response_type=" + (i3 ? "code" : "token") + "&redirect_uri=" + t3 + "&state=" + e3 + "&client_id=" + f.client; - }, t2.getDirectoryUrl = function() { - return `https://${f.host}/directory/#/activity`; - }, t2.getDisconnectUrl = function() { - return "https://" + f.urls.auth + "/logout"; - }, t2.getAppsV2StreamingUrl = function() { - return f.host.includes("apps.") ? f.domain = f.host.replace("apps.", "") : f.domain = f.host.replace("app-regional.", ""), `wss://streaming.${f.domain}`; - }, t2.initialize = function(e3, i3, n3, r3, o2, a2) { - f.host = g.host || i3, f.env = g.env || e3, f.appsV2Env = g.appsV2Env || a2, f.urls = f.urls || {}, f.region = g.region || n3, f.isFedRamp = g.isFedRamp || o2, r3 || (f.domain = f.host.replace("apps", ""), f.domain = f.host.replace("app-regional", "")), f.client = g.client ? g.client : S, f.client_secret = g.client_secret, r3 ? (f.redirectUri = window.location.origin + window.location.pathname, f.local = true) : f.redirectUri = f.local ? "http://" + window.location.host : "https://" + f.host + "/architect/", f.coreRedirectUri = "http://localhost:9001/callback", (function() { - const e4 = t2.browser && window.navigator || null; - e4 ? e4.appVersion ? -1 !== e4.appVersion.toLowerCase().indexOf("win") ? m = t2.osList.windows : -1 !== e4.appVersion.toLowerCase().indexOf("mac") ? m = t2.osList.mac : -1 !== e4.appVersion.toLowerCase().indexOf("x11") ? m = t2.osList.unix : -1 !== e4.appVersion.toLowerCase().indexOf("linux") ? m = t2.osList.linux : console.error("OS could not be detected. appVersion: " + e4.appVersion) : (console.error("No navigator.appVersion detected."), m = t2.osList.unknown) : (console.log("navigator unavailable - setting operating system to unknown"), m = t2.osList.unknown); - })(); - }, t2.overrideProperties = function(e3) { - e3 && o.default.each(e3, function(e4, t3) { - g[t3] = e4; - }); - }, t2.loadProperties = function(e3) { - e3 && (function(e4) { - var t3; - f.urls.auth = g.auth || e4["auth.uri"], f.urls["public-api.apps"] = g["api.uri"] || g["public-api.apps"] || e4["api.uri"]; - let i3 = g["purecloud.uri"] || e4["purecloud.uri"]; - i3 && "/" === i3.slice(-1) && (i3 = i3.slice(0, -1)), (null === (t3 = f.host) || void 0 === t3 ? void 0 : t3.includes("app-regional")) && i3 && (i3 = i3.replace("apps.", "app-regional.")), f.urls["purecloud.uri"] = i3; - })((function(e4) { - const t3 = {}; - return o.default.each(e4.split("\n"), function(e5) { - e5 && (e5 = e5.split("="), t3[e5[0]] = e5[1].replace(/http(s|):\/\//, "")); - }), t3; - })(e3)); - }, t2.getCurrentBrowserPageSize = function(e3, i3) { - let n3, r3 = t2.pageSizes.windows.chrome.letter.portrait; - n3 = t2.pageSizes[m] ? t2.pageSizes[m] : t2.pageSizes.windows; - const a2 = t2.browserInfo.getBrowserName(); - return o.default.isString(a2) && n3[a2.toLowerCase()] ? (n3 = n3[t2.browserInfo.getBrowserName().toLowerCase()], n3[e3] && n3[e3][i3] && (r3 = n3[e3][i3]), r3) : (console.error('Did not recognize browser. Name: "' + a2 + '"'), r3); - }, t2.isRedirectingToOAuth = function() { - return A; - }, t2.setIsRedirectingToOAuth = function(e3) { - A = e3; - }, t2.desiredParameters = function() { - return N; - }, t2.setDesiredParameters = function(e3) { - N = e3; - }, t2.desiredHash = function() { - return v; - }, t2.setDesiredHash = function(e3) { - v = e3; - }, t2.desiredPath = function() { - return v ? v.substring(2, v.length) : null; - }, t2.isDevOrTest = function() { - 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)), 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 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.68.3") ? String("0.68.3") : "0.68.3"; - const S = "cd443cab-4821-487f-9fd2-465ec1735ba3"; - 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"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(54251), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.divisionManager); + root() { + const e3 = new r.ExpressionItem("root", -1, "**ROOT**"); + return e3.opOrFunc = "rt", e3; } - get _globalTypeName() { - return "divisionCollection"; + reference(e3, t3, i3) { + const n3 = new r.ExpressionItem(this.isSystemId(t3.id) || t3.isSystem ? "sysref" : "ref", e3, i3); + n3.type = t3.type, n3.val = t3.id; + const o2 = t3.expressionText; + return o2 && i3 !== o2 && (n3.knownExprText = o2), n3; } - get displayTypeName() { - return "ArchValueDivisionCollection"; + stringWrapper(e3) { + const t3 = new r.ExpressionItem("tostring", e3.position, "ToString"); + return t3.opOrFunc = "fn", t3.getOperands().push(e3), t3; } - get _searchByValueSearchProperty() { - return "name"; + stringLiteral(e3, t3, i3, n3) { + if (t3.indexOf("\\") >= 0) { + const e4 = []; + for (let i4 = 0; i4 < t3.length; i4++) if ("\\" === t3[i4]) switch (t3[i4 + 1]) { + case "\\": + e4.push("\\"), i4++; + break; + case '"': + e4.push('"'), i4++; + break; + case "r": + e4.push("\r"), i4++; + break; + case "n": + e4.push("\n"), i4++; + break; + case "f": + e4.push("\f"), i4++; + break; + case "t": + e4.push(" "), i4++; + break; + default: + e4.push(t3[i4]); + } + else e4.push(t3[i4]); + t3 = e4.join(""); + } + return this.literal(e3, t3, i3, n3); } - addLiteralByDivisionIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("divisionId", "addLiteralByDivisionIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByDivisionIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "division").then(() => r2.default.executeCallback(this, "addLiteralByDivisionIdAsync", t3, this)); - }); + 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 o2 = this.literal(e3, t3, p.globalTypes.string); + return o2.lit.val = i3, n3 && (o2.lit.propGroup = n3), o2; } - addLiteralByDivisionNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("divisionName", "addLiteralByDivisionNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByDivisionNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "division").then(() => r2.default.executeCallback(this, "addLiteralByDivisionNameAsync", t3, this)); - }); + }(); + }, 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 l(e3, t3, i3) || l(t3, e3, i3); + }, t2.isMatch = l; + const n2 = i2(14394), o = i2(53476), r = i2(55909), a = i2(33951); + class s { + constructor(e3, t3, i3, n3, o2, r2, a2) { + this.shouldMatchType = e3, this.allowTypeOf = t3, this.allowTypeAny = i3, this.shouldMatchAny = n3, this.shouldMatchIsCol = o2, this.shouldMatchAnyComplex = a2, this.allowNotSet = r2; } - get isArchValueDivisionCollection() { + get isMatchSettings() { return true; } } - t2.default = s; - }, 35565: (e2, t2, i2) => { + function l(e3, t3, i3, s2) { + let l2; + if (a.ParameterValidator.expectMatchSettings(i3, () => r.ParameterInfo.createFunctionParameter("ExpressionMatchingService", "isMatch", "matchSettings")), t3) if (i3.allowNotSet && e3.inheritedType === n2.globalTypes.notSet) l2 = true; + else if (e3.isAny) l2 = true; + else if (e3.isAnyComplex) l2 = t3.isComplex; + else if (i3.shouldMatchType) if (t3.inheritedType === n2.globalTypes.any && e3.isSupportedByAny) l2 = i3.allowTypeAny; + else if (i3.allowTypeOf) { + const i4 = t3.inheritedType, r2 = e3.inheritedType; + l2 = i4 === n2.globalTypes.anyAudio.inheritedType ? r2 === n2.globalTypes.audio.inheritedType || r2 === n2.globalTypes.prompt.inheritedType : e3.isCustomType || t3.isCustomType ? e3.isCustomType && s2 ? r2 === i4 : (function(e4, t4) { + return !(!(0, o.isCustomJsonExpressionType)(e4) || !(0, o.isCustomJsonExpressionType)(t4)) && e4.dataType === t4.dataType; + })(e3, t3) : r2 === i4; + } else { + const i4 = t3.singletonType, o2 = e3.singletonType; + l2 = i4 === n2.globalTypes.anyAudio ? o2 === n2.globalTypes.audio || o2 === n2.globalTypes.prompt : o2 === i4; + } + else l2 = i3.shouldMatchAny ? t3.inheritedType === n2.globalTypes.any : !i3.shouldMatchAnyComplex || e3.isComplex; + else l2 = false; + return !(!l2 || i3.shouldMatchIsCol && e3.isCollection !== t3.isCollection); + } + t2.MatchSettings = s, t2.settings = { any: new s(false, false, false, true, true, false, false), anyComplex: new s(false, false, false, false, true, false, true), exact: new s(true, false, false, false, true, false, false), typeOf: new s(true, true, false, false, true, false, false), typeOfOrAny: new s(true, true, true, false, true, false, false), typeOfOrAnyOrNotSet: new s(true, true, true, false, true, true, false) }; + }, 63352(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.scan = void 0; - var n2 = i2(65212), r2 = i2(78531); - t2.scan = function(e3, t3) { - return n2.operate(r2.scanInternals(e3, t3, arguments.length >= 2, true)); + var i2, n2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.modeCombinations = t2.builder = t2.noValue = t2.variable = t2.literal = t2.expression = t2.none = t2.ExpressionModes = void 0, t2.modeToString = function(e3) { + switch (e3) { + case i2.expression: + return "expression"; + case i2.literal: + return "literal"; + case i2.variable: + return "variable"; + case i2.noValue: + return "noValue"; + case i2.builder: + return "builder"; + } + }, (function(e3) { + e3[e3.none = -1] = "none", e3[e3.expression = 0] = "expression", e3[e3.literal = 1] = "literal", e3[e3.variable = 2] = "variable", e3[e3.noValue = 3] = "noValue", e3[e3.builder = 4] = "builder"; + })(i2 || (t2.ExpressionModes = i2 = {})), t2.none = i2.none, t2.expression = i2.expression, t2.literal = i2.literal, t2.variable = i2.variable, t2.noValue = i2.noValue, t2.builder = i2.builder, (function(e3) { + e3.expressionOnly = "expressionOnly", e3.expressionOrBuilderOnly = "expressionOrBuilderOnly", e3.literalOnly = "literalOnly", e3.variableAndExpression = "variableAndExpression", e3.variableOnly = "variableOnly"; + })(n2 || (t2.modeCombinations = n2 = {})); + }, 8462(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.buildOptions = function(e3, t3, i3) { + (0, l.isString)(e3) && (e3 = s.default.resolveType(i3, e3)), a.ParameterValidator.expectExpressionType(e3, () => r.ParameterInfo.createFunctionParameter(this.className, "buildOptions", "type")); + const n3 = e3.createExpressionOptionClass(); + return t3 && t3.isBaseOptions ? n3.setFromOptions(t3) : (n3.setAsInput(), o.default.each(t3, function(e4, t4) { + switch (t4) { + case "literalOnly": + n3.setAllowModeExpression(!e4).setAllowModeVariable(!e4).setAllowModeLiteral(e4); + break; + case "allowSecure": + n3.setAllowSecure(e4); + break; + case "valueChangedCallback": + n3.setValueChangedCallback(e4); + break; + default: + console.log("Add this key to the switch statement in buildOptions: " + t4); + } + })), n3; }; - }, 35583: (e2, t2, i2) => { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(55909), a = i2(33951), s = n2.__importDefault(i2(65302)), l = i2(50474); + }, 86833(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(12138)), o = n2.__importDefault(i2(92140)); - class a extends r2.default { - constructor(e3, t3, i3, n3, r3) { - super(e3, t3, i3, n3, r3), this.operationIds = {}; + Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionParser = void 0; + const n2 = i2(31635), o = i2(17604), r = 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, o2) { + var a2; + if (i3 && (o2 ? t3.setParseWarning(i3) : t3.setParseError(i3)), (n3 || i3) && !t3.options.suppressParserValidationMessages) { + if (t3.options.isExpressionPart) return; + n3 && r.default.isString(null === (a2 = t3._parseResult) || void 0 === a2 ? void 0 : a2.resultMessage) && (n3 += ` - ${t3._parseResult.resultMessage}`), o2 ? e3.addWarning(t3, n3 || i3, void 0, true) : e3.addError(t3, n3 || i3, void 0, true); + } + return false; } - _applyOperationId(e3) { - o.default.each(o.default.isArray(e3) ? e3 : [e3], (e4) => { - e4 && e4.id ? (this.operationIds[e4.id] = e4.id, this.logTopic.addContext("opId", o.default.keys(this.operationIds).join(","))) : (this.logTopic.error("did not receive async operationId"), this._cleanOperation(false, this)); - }); + getLiteral(e3, t3, i3, n3) { + const o2 = g.globalTypes.string; + if (!i3 && e3.type.isMatch(o2, m.settings.typeOf)) return h.expressionItems.literal(1, t3, o2, n3); + const r2 = h.expressionItems.literal(1, t3, e3.type, n3); + return i3 && (r2.val = i3), r2; } - get firstOperationId() { - return o.default.keys(this.operationIds)[0]; + getNull(e3) { + return h.expressionItems.nul(1, e3.type); } - matchesOperationId(e3) { - return !!this.operationIds[e3]; + getEmp(e3) { + return h.expressionItems.emp(e3.type); } - set operationToPerform(e3) { - super.operationToPerform = (t3) => e3(t3).then((e4) => this._applyOperationId(e4)); + parse(e3) { + const t3 = new _.ParseResult(e3); + return (0, p.parseExpression)(t3), t3; } - get operationToPerform() { - return super.operationToPerform; + addWarning(e3, t3, i3) { + this._addErrorOrWarning(e3, t3, i3, void 0, true); } - } - t2.default = a; - }, 35589: (e2, t2, i2) => { + addError(e3, t3, i3) { + this._addErrorOrWarning(e3, t3, i3); + } + validateExpression(e3, t3) { + if (e3 && !e3.shouldValidate()) return; + const i3 = this._validateTypeAvailability(t3, e3); + (e3.isDeep || e3.forceTextReprocess) && t3.processText(true); + const n3 = t3; + if (t3.isBlank) { + 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, o.sprintf)(f.expression.invalidLiteralContext, t3.label)) : this._addErrorOrWarning(e3, t3, f.facets.valueShouldBeNoValue, (0, o.sprintf)(f.expression.invalidLiteralContext, t3.label)); + if (!(0, d.areOptionsStringType)(t3.options) || !t3.options.allowEmpty) return t3.options.isOptional ? ((0, d.areOptionsStringType)(t3.options) && r.default.isString(t3.options.blankWarningText) && t3.options.blankWarningText.length && this._addErrorOrWarning(e3, t3, t3.options.blankWarningText, (0, o.sprintf)(f.expression.invalidLiteralContext, t3.label), true), true) : this._addErrorOrWarning(e3, t3, f.facets.valueStringMinLengthOne, (0, o.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, o.sprintf)(f.expression.notSetWithContext, t3.label)); + } else if (n3.isExpressionMode) return this._addErrorOrWarning(e3, t3, f.expression.notSet, (0, o.sprintf)(f.expression.notSetWithContext, t3.label)); + } + if (!n3.mode || n3.isExpressionMode || n3.isBuilderMode || n3.isLiteralMode && t3.type.isCustomType) { + if (t3.hasError) { + if (!t3.isInternal) return this._addErrorOrWarning(e3, t3, void 0, (0, o.sprintf)(f.errors.invalidValue, t3.label)); + e3.addError(t3, f.expression.internalErrorExpression, void 0, true); + } + return t3.hasWarning && this._addErrorOrWarning(e3, t3, void 0, t3.resultMessage, true), true; + } + if (n3.isLiteralMode) { + if (i3 && t3.clearParseResult(true), t3.options && t3.options.facets) { + const i4 = t3.options.facets.validateExpressionItem(t3.config, t3); + i4.isValid && !i4.isWarning || this._addErrorOrWarning(e3, t3, i4.message, t3.label ? (0, o.sprintf)(l.default.facets.errorWithExpressionLabel, i4.message, t3.label) : i4.message, i4.isWarning); + } + if (n3.val && t3.type.isMatch(g.globalTypes.prompt, m.settings.exact)) { + const i4 = s.getItem(n3.val); + i4 && (i4.isMissingAudioOrTtsForLanguages(t3.parentFlow, t3.languages, n3) || this._addErrorOrWarning(e3, t3, t3.getPromptMissingResourcesErrorString(i4))); + } + if (t3.options && t3.options.customLiteralValidator) { + const i4 = t3.options.customLiteralValidator(t3); + 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); + e4 && t3.addVariableOrPromptReference(e4.expressionName); + } + return !t3.setLiteralError(!t3.type.validateLiteral(e3, n3)); + } + if (n3.isVariableMode) { + let r2; + if (i3 && t3.clearParseResult(), t3.parentFlow && (r2 = t3.parentFlow.variableGroup.getVariableFromExpression(n3), r2)) { + if (r2.isUnavailable) return this._addErrorOrWarning(e3, t3, (0, o.sprintf)(f.expression.unavailableVariable, t3.text)); + if (n3.isOutput && r2.isReadOnly) return this._addErrorOrWarning(e3, t3, (0, o.sprintf)(f.expression.variableIsReadOnly, r2.name)); + if (r2.isSecure && (!t3.options || !t3.options.allowSecure)) return this._addErrorOrWarning(e3, t3, (0, o.sprintf)(f.expression.secureVariableUsageNotAllowed, r2.name)); + if (!t3.allowExpandedVariableReference(r2)) return this._addErrorOrWarning(e3, t3, f.audio.errorInvalidVariable); + } + const a2 = n3.checkVariableModeType(); + return a2 ? this._addErrorOrWarning(e3, t3, a2) : !!t3.type.validateVariable(e3, n3) && (!(t3.text && !r2 && t3.isEmpty) || this._addErrorOrWarning(e3, t3, f.expression.noVariableSet)); + } + return !n3.isNoValueMode || (t3.clearParseResult(), true); + } + _validateTypeAvailability(e3, t3) { + const i3 = e3.type.getFlowTypesUnavailableForExpression(e3); + if (!i3 || 0 === i3.length) return true; + let n3, r2; + if (e3.parentFlow.definition.hasDestinationFlowTypes && !e3.parentFlow.isEmbeddedFlow) { + const t4 = e3.parentFlow.destinationFlowTypes.filter((e4) => i3.indexOf(e4) >= 0); + if (e3.isOptional && (null == t4 ? void 0 : t4.length)) return true; + r2 = n3 = (0, o.sprintf)(f.expression.unavailableDataTypeForFlowTypes, e3.type.displayString, u.getFlowTypesDisplayString(i3)); + } else n3 = (0, o.sprintf)(f.expression.unavailableDataType, e3.type.displayString), r2 = e3.label ? (0, o.sprintf)(f.expression.unavailableDataTypeWithContext, e3.type.displayString, e3.label) : n3; + return this._addErrorOrWarning(t3, e3, n3, r2), false; + } + }(), t2.default = t2.expressionParser; + }, 71615(e2, t2, i2) { "use strict"; - var n2, r2, o, a, s; - Object.defineProperty(t2, "__esModule", { value: true }); - 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"); + t2.expressionResolvers = void 0; + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(9345)), s = i2(14394), l = i2(47957); + class u { + constructor(e3, t3, i3, n3, o2) { + this.error = n3, this.operand = o2, this.position = e3, this.success = t3, this.type = i3; } - get _actionTypeId() { - return u.waitForInputActionType; + } + t2.expressionResolvers = new class { + constructor() { + this.map = {}, this._initialize(); } - get displayTypeName() { - return this._scriptingName; + _errorResult(...e3) { + return new u(void 0, false, null, o.sprintf.apply(null, e3)); } - get isArchActionWaitForInput() { - return true; + _errorFuncOpPrefixStr(e3) { + return (0, o.sprintf)(l.expression.functions.funcOpPosPrefix, e3.getTextWithFuncOpTextFallback(), e3.position); } - get knowledgeSearchResult() { - return l.__classPrivateFieldGet(this, o, "f"); + _errorResultWithPos(e3, ...t3) { + return new u(e3, false, null, o.sprintf.apply(null, t3)); } - get noMatch() { - return l.__classPrivateFieldGet(this, n2, "f"); + _errorResultWithPosAndOperand(e3, ...t3) { + const i3 = [t3[0], this._errorFuncOpPrefixStr(e3)]; + for (let e4 = 1; e4 < t3.length; e4++) i3.push(t3[e4]); + return new u(e3.position, false, null, o.sprintf.apply(null, i3), e3.getTextWithFuncOpTextFallback()); } - get question() { - return l.__classPrivateFieldGet(this, r2, "f"); + _initialize() { + this.map.Accessor = this.resolveAccessor.bind(this), this.map.CollectionBrackets = this.resolveCollectionBrackets.bind(this), this.map.CollectionPropertyAccessor = this.resolveCollectionPropertyAccessor.bind(this), this.map.PropertyBrackets = this.resolvePropertyBrackets.bind(this), this.map.EmptyList = this.resolveEmptyList.bind(this), this.map.Find = this.resolveFind.bind(this), this.map.GetAt = this.resolveGetAt.bind(this), this.map.If = this.resolveLogicalIf.bind(this), this.map.LanguageUniqueContext = this.resolveLanguageUniqueContext.bind(this), this.map["n-SameType"] = this.resolveNSameTypeOperands.bind(this), this.map["n-SameTypeParmNotSetToString"] = this.resolveNSameTypeOperandsNotSetToString.bind(this), this.map["n-SameTypeRetColl"] = this.resolveNSameTypeReturnCollection.bind(this), this.map.NotSetToRetType = this.resolveNotSetToRetType.bind(this), this.map.SameType = this.resolveSameTypeOperands.bind(this), this.map.CollectionMods = this.resolveCollectionMods.bind(this); } - get customizeNoMatch() { - return l.__classPrivateFieldGet(this, a, "f"); + _typeResult(e3, t3) { + const i3 = new u(void 0, true, e3); + return t3 && r.default.each(t3, function(e4, t4) { + Object.defineProperty(i3, t4, { value: e4 }); + }), i3; } - get noMatchReprompts() { - return l.__classPrivateFieldGet(this, s, "f"); + _resolveAccessor(e3, t3, i3) { + const n3 = t3.getOperands(); + if (!n3 || 2 !== n3.length) return this._errorResult(l.expression.functions.internalErrMustBeTwoArgsOnAccessor); + const o2 = n3[1].type; + if (o2 === s.globalTypes.notSet) return this._errorResult(l.expression.functions.internalErrSecondArgCannotBeNotSet); + const r2 = n3[0].getText(void 0, void 0, true), a2 = o2.getPropertyDefinition(r2, true); + return a2 ? (n3[0].lit.val = o2 === s.globalTypes.json ? r2 : a2.id, this._typeResult(a2.type, { property: a2 })) : !r2 && i3 ? this._errorResultWithPos(n3[0].position, l.expression.propAccessBracketNeedsStringLit, n3[0].position) : this._errorResultWithPos(n3[0].position, l.expression.noPropertyWithName, r2, o2.displayString, n3[0].position); } - } - 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); - } - i2(45214).extend(n2, "FlowOperation"), Object.defineProperties(n2.prototype, { extendProperties: { enumerable: false, value: function(e3) { - e3.actionName = void 0, e3.actionStatus = void 0, e3.complete = void 0, e3.id = void 0, e3.errorCode = void 0, e3.errorDetails = void 0, e3.errorMessage = void 0, e3.errorMessageParams = void 0; - } } }), e2.exports = n2; - }, 35648: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { cardDataType: { properties: { title: { minLength: 1 }, buttons: { minItems: { count: 1 }, maxItems: { count: 3 } } } }, choiceDataType: { properties: { value: { minLength: 1 } } }, quickRepliesDataType: { properties: { buttons: { minItems: { count: 1 }, maxItems: { count: 10, isSoftLimit: true } }, quickReplySummary: { maxLength: 512 } } }, carouselDataType: { properties: { cards: { minItems: { count: 1 }, maxItems: { count: 10 } } } }, formInputDataType: { properties: { title: { maxLength: 512 }, subtitle: { maxLength: 512 }, placeholderText: { maxLength: 512 } } }, listPickerType: { properties: { sections: { minItems: { count: 1 }, maxItems: { count: 10 } }, receivedMessageTitle: { minLength: 1, maxLength: 256 }, receivedMessageSubtitle: { maxLength: 256 }, receivedMessageButtonText: { minLength: 1, maxLength: 20 }, replyMessageSubtitle: { maxLength: 256 } } }, listPickerItemType: { properties: { title: { minLength: 1, maxLength: 50 }, subtitle: { maxLength: 256 } } }, listPickerSectionType: { properties: { title: { minLength: 1, maxLength: 256 }, items: { maxItems: { count: 100 } } } }, wheelPickerDataType: { properties: { items: { minItems: { count: 1 }, maxItems: { count: 100 } } } }, timePickerDataType: { properties: { title: { minLength: 1 } } } }; - }, 35711: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allPostFlowActionTypes = t2.inboundShortMessageFlow = t2.voiceSurveyFlow = t2.inboundCallFlow = void 0; - const n2 = i2(47957); - t2.inboundCallFlow = { displayString: n2.flow.types.inboundCall, id: "inboundCallFlow" }, t2.voiceSurveyFlow = { displayString: n2.flow.types.voiceSurveyFlow, id: "voiceSurveyFlow" }, t2.inboundShortMessageFlow = { displayString: n2.flow.types.inboundShortMessage, id: "inboundShortMessageFlow" }, t2.allPostFlowActionTypes = [t2.inboundCallFlow, t2.voiceSurveyFlow, t2.inboundShortMessageFlow]; - }, 35726: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + _resolveGetAtOrBracket(e3, t3, i3) { + const n3 = e3.getOperands(); + if (!n3[i3].type.isMatch(s.globalTypes.integer, a.settings.typeOf)) return this._errorResultWithPosAndOperand(e3, l.expression.functions.argumentNumMustBeOfType, i3, s.globalTypes.integer.displayString); + const o2 = n3[t3]; + return o2.isCollection ? this._typeResult(o2.type.singletonType) : this._errorResult(l.expression.functions.argumentMustBeCollection, o2.position, e3.rootText, e3.position); } - return a; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.animationFrameProvider = void 0; - var o = i2(69879); - t2.animationFrameProvider = { schedule: function(e3) { - var i3 = requestAnimationFrame, n3 = cancelAnimationFrame, r3 = t2.animationFrameProvider.delegate; - r3 && (i3 = r3.requestAnimationFrame, n3 = r3.cancelAnimationFrame); - var a = i3(function(t3) { - n3 = void 0, e3(t3); - }); - return new o.Subscription(function() { - return null == n3 ? void 0 : n3(a); - }); - }, requestAnimationFrame: function() { - for (var e3 = [], i3 = 0; i3 < arguments.length; i3++) e3[i3] = arguments[i3]; - var o2 = t2.animationFrameProvider.delegate; - return ((null == o2 ? void 0 : o2.requestAnimationFrame) || requestAnimationFrame).apply(void 0, r2([], n2(e3))); - }, cancelAnimationFrame: function() { - for (var e3 = [], i3 = 0; i3 < arguments.length; i3++) e3[i3] = arguments[i3]; - var o2 = t2.animationFrameProvider.delegate; - return ((null == o2 ? void 0 : o2.cancelAnimationFrame) || cancelAnimationFrame).apply(void 0, r2([], n2(e3))); - }, delegate: void 0 }; - }, 35730: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeTimePickerOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + getResolver(e3) { + return this.map[e3]; } - constructor(e3) { - super(e3); + resolveAccessor(e3, t3) { + return this._resolveAccessor(e3, t3, false); } - get className() { - return "ExpressionTypeTimePickerOptions"; + resolveCollectionBrackets(e3, t3) { + return this._resolveGetAtOrBracket(t3, 1, 0); } - get isExpressionTypeTimePickerOptions() { - return true; + resolvePropertyBrackets(e3, t3) { + return this._resolveAccessor(e3, t3, true); } - } - t2.ExpressionTypeTimePickerOptions = r2; - }, 35786: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + resolveCollectionPropertyAccessor(e3, t3) { + const i3 = t3.getOperands(), n3 = i3[0], o2 = i3[1]; + if (!n3.isCollection) return this._errorResult(l.expression.functions.argumentMustBeCollection, n3.position, t3.rootText, t3.position); + const a2 = n3.type.singletonType, u2 = o2.getText(void 0, void 0, true), c = a2.getPropertyDefinition(u2, true); + if (!c) return this._errorResultWithPos(o2.position, l.expression.noPropertyWithName, u2, a2.displayString, o2.position); + if (c.type.isCollection) return this._errorResultWithPosAndOperand(t3, l.expression.functions.propertyCannotBeCollectionValueProperty, u2); + o2.lit.val = a2 === s.globalTypes.json ? u2 : c.id; + const d = c.type.collectionType; + return r.default.isNullOrUndefined(d) ? this._errorResultWithPosAndOperand(t3, l.expression.functions.returnDataTypeAsCollectionNotAvailable, c.type.displayString) : this._typeResult(d, { property: c }); } - get _globalTypeName() { - return "messageAddressInfo"; + resolveEmptyList(e3, t3) { + const i3 = t3.getOperands()[0]; + return i3.isCollection ? this._errorResultWithPos(t3.position, l.expression.functions.argumentMustBeCollection, 1, t3.rootText, t3.position) : this._typeResult(i3.type.collectionType); } - get name() { + resolveFind(e3, t3) { + const i3 = t3.getOperands(), n3 = i3[0], o2 = i3[1], r2 = n3.type, s2 = o2.type; + if (!n3.isCollection) return this._errorResult(l.expression.functions.argumentMustBeCollection, 1, t3.rootText, t3.position); + const u2 = r2.singletonType; + return u2.isMatch(s2, a.settings.exact) ? this._typeResult(e3.returnType) : this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, 2, u2.displayString); } - get addressRaw() { + resolveGetAt(e3, t3) { + return this._resolveGetAtOrBracket(t3, 0, 1); } - get addressNormalized() { + resolveLanguageUniqueContext(e3, t3) { + const i3 = t3.getOperands(), n3 = {}; + for (let o2 = e3.operands.length - 1; o2 < i3.length; o2++) { + const e4 = i3[o2].getPropAccessInfo(); + if (e4 && e4.propGroup) { + const r2 = n3[e4.propGroup]; + if (r2) return this._errorResultWithPosAndOperand(t3, l.expression.functions.parameterEnumNotGroupUnique, i3[r2.index].getPropAccessName(), i3[o2].getPropAccessName()); + e4.index = o2, n3[e4.propGroup] = e4; + } + } + return this._typeResult(e3.returnType); } - get addressDisplayable() { + resolveLogicalIf(e3, t3) { + const i3 = t3.getOperands(); + if (!i3[0].type.isMatch(s.globalTypes.boolean, a.settings.typeOf)) return this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, 1, s.globalTypes.boolean.displayString); + const n3 = i3[1].type, o2 = i3[2].type; + return n3 === s.globalTypes.notSet ? o2 === s.globalTypes.notSet ? this._errorResultWithPosAndOperand(t3, l.expression.functions.secondAndThirdArgumentsCannotBeNotSet, t3.getTextWithFuncOpTextFallback(), t3.position) : (i3[1].type = o2, this._typeResult(o2)) : o2 === s.globalTypes.notSet ? (i3[2].type = n3, this._typeResult(n3)) : n3.isBidirectionalMatch(o2, a.settings.typeOf) ? this._typeResult(n3) : this._errorResultWithPosAndOperand(t3, l.expression.functions.secondAndThirdArgumentsMustBeSameType, i3[1].position, i3[1].getErrorDisplayText(), i3[2].position, i3[2].getErrorDisplayText()); } - get email() { + resolveNotSetTypedOperands(e3, t3) { + const i3 = e3.operands, n3 = t3.getOperands(), o2 = n3.length, r2 = i3.length; + for (let e4 = 0; e4 < o2; e4++) { + const o3 = i3[e4 >= r2 ? r2 - 1 : e4], a2 = n3[e4]; + if (a2.isTypeNotSet) { + if (o3.type.isAny || a2.isCollection || o3.type.isCollection) return this._errorResultWithPosAndOperand(t3, l.expression.functions.typeForNotSetOperandCouldNotBeDetermined, o3.name, a2.position); + a2.type = o3.type; + } + } + return this._typeResult(e3.returnType); } - get displayTypeName() { - return "ArchValueMessageAddressInfo"; + _resolveNSameTypeOperands(e3, t3, i3, n3) { + const o2 = t3.getOperands(); + let u2, c = null, d = null; + for (let e4 = 0; e4 < o2.length; e4++) if (u2 = o2[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); + c = s.globalTypes.string; + } + for (let e4 = 0; e4 < o2.length; e4++) u2 = o2[e4], u2.isNotSet && (u2.type = c); + const p = n3 ? c.collectionType : c; + return r.default.isNullOrUndefined(p) ? n3 ? this._errorResultWithPosAndOperand(t3, l.expression.functions.returnDataTypeAsCollectionNotAvailable, c.displayString) : this._errorResultWithPosAndOperand(t3, l.expression.functions.returnDataTypeCouldNotBeDetermined) : this._typeResult(p); } - get isArchValueMessageAddressInfo() { - return true; + resolveNSameTypeOperands(e3, t3) { + return this._resolveNSameTypeOperands(e3, t3, false, false); } + resolveNSameTypeOperandsNotSetToString(e3, t3) { + return this._resolveNSameTypeOperands(e3, t3, true, false); + } + resolveNSameTypeReturnCollection(e3, t3) { + return this._resolveNSameTypeOperands(e3, t3, false, true); + } + resolveNotSetToRetType(e3, t3) { + const i3 = t3.getOperands()[0], n3 = i3.type; + return n3 === s.globalTypes.notSet ? (i3.type = e3.returnType, this._typeResult(e3.returnType)) : this._errorResultWithPosAndOperand(t3, l.expression.functions.internalErrCannotResolveToNotSet, e3.operands[0].name, i3.position, n3.displayString); + } + resolveSameTypeOperands(e3, t3) { + const i3 = t3.getOperands(), n3 = i3[0].type, o2 = i3[1].type; + return n3 === s.globalTypes.notSet ? o2 === s.globalTypes.notSet ? (i3[0].type = s.globalTypes.string, i3[1].type = s.globalTypes.string, this._typeResult(s.globalTypes.boolean)) : (i3[0].type = o2, this._typeResult(s.globalTypes.boolean)) : o2 === s.globalTypes.notSet ? (i3[1].type = n3, this._typeResult(s.globalTypes.boolean)) : n3.isBidirectionalMatch(o2, a.settings.typeOf) ? this._typeResult(s.globalTypes.boolean) : this._errorResultWithPosAndOperand(t3, l.expression.functions.mustBeSameType, i3[0].position, i3[0].getErrorDisplayText(), i3[1].position, i3[1].getErrorDisplayText()); + } + resolveCollectionMods(e3, t3) { + const i3 = t3.getOperands(), n3 = i3[0], o2 = n3.type.singletonType; + if (!n3.isCollection) return this._errorResult(l.expression.functions.argumentMustBeCollection, n3.position, t3.rootText, t3.position); + for (let n4 = 1; n4 < i3.length; n4++) { + const r2 = i3[n4], u2 = e3.operands[n4]; + if (u2.type.isAny) { + if (u2.allowNotSet && r2.type === s.globalTypes.notSet) r2.type = o2; + else if (!o2.isMatch(r2.type.singletonType, a.settings.exact)) return this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, n4 + 1, o2.displayString); + } else if (r2.type.isNotSet) { + if (u2.type.isCollection) return this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, n4 + 1, o2.displayString); + r2.type = u2.type; + } + } + return this._typeResult(n3.type); + } + }(); + }, 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 = d, t2.createCustomJsonExpressionDataTypeStr = function(e3, i3, n3) { + return e3 ? n3 ? `${t2.CUSTOM_JSON_PREFIX}${e3}::${i3 || (0, o.uuid)()}_${n3}` : `${t2.CUSTOM_JSON_PREFIX}${e3}::${i3 || (0, o.uuid)()}` : ""; + }, t2.namespaceSupportsInputOutput = function(e3) { + return e3 === s.CustomJsonNamespace.decisionTable; + }, t2.getCustomJsonNamespaceLabel = function(e3) { + if (!e3) return ""; + switch (e3) { + case s.CustomJsonNamespace.architect: + return "Architect"; + case s.CustomJsonNamespace.architectFlow: + return r.architect.architectFlowLabel; + case s.CustomJsonNamespace.botConnector: + return c.botConnector.botConnector; + case s.CustomJsonNamespace.composerScript: + return c.createCallback.script; + case s.CustomJsonNamespace.conversationAttribute: + return c.conversationAttribute.conversationAttributeLabel; + case s.CustomJsonNamespace.dataAction: + return c.dataTable.dataTable; + case s.CustomJsonNamespace.decisionTable: + return c.decisionTable.decisionTableLabel; + case s.CustomJsonNamespace.externalContact: + return r.externalContact.label; + case s.CustomJsonNamespace.structuredParticipantData: + return r.structuredParticipantData.label; + case s.CustomJsonNamespace.userDefined: + return r.architect.userDefinedLabel; + case s.CustomJsonNamespace.worktype: + return c.workitem.worktypeLabel; + default: + return `*${e3}`; + } + }, t2.getCustomJsonNamespaceSupportsContext = p, t2.getCustomJsonInfoForDataTypeStr = function(e3) { + var i3; + let n3, o2; + const r2 = 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, r2) { + 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 ? c2 = e4[1] : (c2 = e4[1].substring(0, t3), n3 = a.CustomJsonContext[e4[1].substring(t3 + 1)]); + } else c2 = e4[1]; + o2 = e4[1]; + } + return { context: n3 || a.CustomJsonContext.none, dataTypeStr: h, expressionDataTypeStr: e3, identifier: o2, isCollection: _, isCustomJsonType: r2, namespace: u2, subIdentifier: c2 }; + }; + const n2 = i2(31635), o = i2(9456), r = 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 c = i2(47957); + function d(e3) { + return (null == e3 ? void 0 : e3.startsWith(t2.CUSTOM_JSON_PREFIX)) && e3.indexOf("::") > 0; } - 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), 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 C() { - C.baseConstructor.apply(this, arguments); - } - function b() { - b.baseConstructor.apply(this, arguments); - } - function E() { - E.baseConstructor.apply(this, arguments); - } - function w() { - b.baseConstructor.apply(this, arguments); - } - function R() { - R.baseConstructor.apply(this, arguments); - } - function D() { - D.baseConstructor.apply(this, arguments); - } - function P() { - P.baseConstructor.apply(this, arguments); - } - function M() { - M.baseConstructor.apply(this, arguments); - } - function F() { - F.baseConstructor.apply(this, arguments); - } - function L() { - L.baseConstructor.apply(this, arguments); - } - function x() { - x.baseConstructor.apply(this, arguments); - } - function k() { - k.baseConstructor.apply(this, arguments); - } - function V() { - V.baseConstructor.apply(this, arguments); - } - function U() { - U.baseConstructor.apply(this, arguments); - } - function B() { - B.baseConstructor.apply(this, arguments); - } - function G() { - G.baseConstructor.apply(this, arguments); - } - function j() { - j.baseConstructor.apply(this, arguments); - } - function W() { - W.baseConstructor.apply(this, arguments); - } - function q() { - q.baseConstructor.apply(this, arguments); - } - function Y() { - Y.baseConstructor.apply(this, arguments); - } - function H() { - H.baseConstructor.apply(this, arguments); - } - 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 Q() { - Q.baseConstructor.apply(this, arguments); - } - function X() { - X.baseConstructor.apply(this, arguments); - } - function Z() { - Z.baseConstructor.apply(this, arguments); - } - function ee() { - ee.baseConstructor.apply(this, arguments); - } - function te() { - te.baseConstructor.apply(this, arguments); - } - function ie() { - ie.baseConstructor.apply(this, arguments); - } - function ne() { - ne.baseConstructor.apply(this, arguments); - } - function re() { - re.baseConstructor.apply(this, arguments); + function p(e3) { + switch (e3) { + case s.CustomJsonNamespace.conversationAttribute: + case s.CustomJsonNamespace.decisionTable: + return true; + default: + return false; + } } - function oe() { - oe.baseConstructor.apply(this, arguments); + }, 80428(e2, t2) { + "use strict"; + t2.expressionTypeNames = void 0, t2.expressionTypeNames = { agentScorePair: "cpx_agent_score_pair", any: "any", anyAudio: "apa", anyComplex: "acp", assignedCustomerIntent: "aci", assignedCustomerSegment: "acs", audio: "aud", boolFormatEnum: "bof", boolFormatEnumContainer: "blc", boolean: "bln", campaign: "cam", card: "crd", carousel: "crs", chatGuest: "cpx_chat_guest", choice: "chc", chooser: "chs", communication: "com", contact: "con", contactList: "cnl", conversationTypeEnum: "cte", conversationTypesEnumContainer: "ctc", currenciesEnumContainer: "cec", currency: "cur", currencyEnum: "cre", currencyFormatEnum: "cuf", currencyFormatEnumContainer: "cuc", customerIntent: "cin", customerSegment: "csg", date: "dat", dateFormatEnum: "daf", dateFormatEnumContainer: "dac", dateTime: "dtm", dateTimeEnumContainer: "dlc", dateTimeFormatEnum: "dtf", dayOfWeekEnumContainer: "dwc", decimal: "dec", digitalAudio: "dia", division: "dvn", draftEmail: "jsn__architect::draft_email", draftEmailAddress: "jsn__architect::draft_email_address", draftEmailAttachment: "jsn__architect::draft_email_attachment", duration: "dur", email: "cpx_email", emailAddress: "cpx_email_address", emailAttachment: "cpx_email_attachment", emergencyGroup: "emg", emptyJson: "jsn__architect::empty_json", externalAddress: "cpx_external_address", externalAppleInfo: "cpx_external_apple_info", externalContact: "cpx_external_contact", externalFacebookId: "cpx_external_facebook_id", externalFacebookInfo: "cpx_external_facebook_info", externalIdInfo: "cpx_external_id_info", externalInstagramInfo: "cpx_external_instagram_info", externalInstagramScopedId: "cpx_external_instagram_scoped_id", externalLineId: "cpx_external_line_id", externalLineInfo: "cpx_external_line_info", externalLinkConfiguration: "cpx_external_link_configuration", externalOrganization: "cpx_external_organization", externalPhoneNumber: "cpx_external_phone_number", externalSource: "cpx_external_source", externalTwitterInfo: "cpx_external_twitter_info", externalWhatsAppInfo: "cpx_external_whats_app_info", file: "fil", formInput: "fip", grammar: "gmr", group: "grp", image: "img", integer: "int", issueInfo: "jsn__architect::issue_info", journeyAction: "cpx_journey_action", journeyActionMap: "cpx_journey_action_map", journeyApp: "cpx_journey_app", journeyBrowser: "cpx_journey_browser", journeyCampaign: "cpx_journey_campaign", journeyContext: "cpx_journey_context", journeyCustomEventAttribute: "cpx_journey_custom_event_attribute", journeyCustomEventAttributeList: "cpx_journey_custom_event_attribute_list", journeyCustomer: "cpx_journey_customer", journeyCustomerSession: "cpx_journey_customer_session", journeyDevice: "cpx_journey_device", journeyGeolocation: "cpx_journey_geolocation", journeyNetworkConnectivity: "cpx_journey_network_connectivity", journeyOutcome: "cpx_journey_outcome", journeyOutcomeScore: "cpx_journey_outcome_score", journeyPage: "cpx_journey_page", journeyReferrer: "cpx_journey_referrer", journeySdkLibrary: "cpx_journey_sdk_library", journeySegment: "cpx_journey_segment", journeySession: "cpx_journey_session", journeySessionOutcomeAchievement: "cpx_journey_session_outcome_achievement", journeySessionSegmentAssignment: "cpx_journey_session_segment_assignment", json: "jsn", knowledgeBaseDocument: "kbd", knowledgeBaseDocumentCategory: "cpx_knowledge_base_document_category", knowledgeBaseDocumentLabel: "cpx_knowledge_base_document_label", languageCaseEnumContainer: "lcc", languageContextEnum: "lne", languageEnum: "lge", languageGenderEnumContainer: "lgc", languageQuantityEnumContainer: "lqc", languageSkill: "lac", languagesEnumContainer: "lnc", lineItem: "lni", listPicker: "lpk", listPickerItem: "lpi", listPickerSection: "lps", messageAddressInfo: "cpx_message_address_info", messageBodyStyleEnum: "mbe", messageStickerInfo: "cpx_message_sticker_info", notSet: "nts", numberFormatEnum: "nuf", numberFormatEnumContainer: "nuc", phoneNumber: "phn", phoneNumberFormatEnum: "phf", phoneNumberFormatEnumContainer: "phc", prompt: "pmt", queue: "que", quickReplies: "qrl", regionEnum: "rge", regionsEnumContainer: "rec", responseAsset: "rpa", schedule: "sch", scheduleGroup: "scg", shippingOption: "sho", shortMessage: "cpx_short_message", skill: "skl", skillExpressionFilter: "jsn__architect::skill_expression_filter", string: "str", stringFormatEnum: "stf", stringFormatEnumContainer: "stc", stringKeyValuePair: "cpx_string_key_value_pair", surveyAnswerOption: "sao", surveyDispositionEnum: "sde", surveyDispositionsEnumContainer: "sec", surveyForm: "sfo", surveyQuestion: "squ", surveyQuestionGroup: "sqg", time: "tim", timeFormatEnum: "tif", timeFormatEnumContainer: "tic", timePartEnum: "tpf", timePartEnumContainer: "tpc", timePicker: "tpk", timeslot: "tsl", userQueue: "usr", utilizationLabel: "cul", video: "vid", voiceSnippet: "cpx_voice_snippet", voicemailSnippet: "cpx_voicemail_snippet", wheelPicker: "wpk", wheelPickerItem: "wpi", workbin: "cpx_workbin", workitem: "cpx_workitem", workitemEventData: "jsn__architect::workitem_event_data", workitemEventRule: "jsn__architect::workitem_event_rule", worktypeStatus: "cpx_worktype_status", wrapupCode: "wrc" }; + }, 85047(e2, t2, i2) { + "use strict"; + t2.getExternalContactPatchCollectionConstraints = function(e3) { + const t3 = g(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.getExternalContactFieldDef = function(e3) { + if (e3) return (function() { + const e4 = m(); + return Object.values(e4).flatMap((e5) => [e5.id, ...e5.childIds]); + })().includes(e3) ? e3 : void 0; + }, t2.resolveExternalContactFieldType = function(e3, t3) { + var i3; + if (!e3) return; + const n3 = g(e3); + if (!n3) return; + const o2 = n3.type, r2 = !!n3.isCollection; + let a2 = o2; + return ((null == o2 ? void 0 : o2.hasProperties()) || (null == o2 ? void 0 : o2.isCollection)) && (a2 = null !== (i3 = (function(e4, t4, i4) { + const n4 = `jsn__architect::${d}_${t4.replace(/\./g, "_")}`, o3 = i4.isCollection ? i4.singletonType : i4; + if (o3) return f(e4, n4, o3, i4.isCollection); + })(t3, e3, o2)) && void 0 !== i3 ? i3 : o2), { id: e3, valueType: a2, isCollection: r2 }; + }; + const n2 = i2(31635), o = n2.__importStar(i2(14592)), r = 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 ae() { - ae.baseConstructor.apply(this, arguments); + function h(e3) { + return e3.isPatchable ? e3.patchableSettings : void 0; } - function se() { - se.baseConstructor.apply(this, arguments); + 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 le() { - le.baseConstructor.apply(this, arguments); + function g(e3) { + var t3; + const i3 = e3.split("."); + let n3 = l.globalTypes.externalContact; + for (let e4 = 0; e4 < i3.length; e4++) { + const o2 = null == n3 ? void 0 : n3.getPropertyDefinition(i3[e4]); + if (!o2) return; + if (e4 === i3.length - 1) return o2; + if (null === (t3 = o2.type) || void 0 === t3 ? void 0 : t3.isCollection) return; + n3 = o2.type; + } } - function ue() { - ue.baseConstructor.apply(this, arguments); + function f(e3, t3, i3, n3) { + const l2 = a.default.getType(e3, t3, n3); + if (l2) return l2; + const p2 = (function(e4, t4, i4) { + var n4, o2, a2, l3, p3, m2; + const g2 = r.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 T = _(i4); + if (T.length) { + for (const t5 of T) { + const i5 = null !== (o2 = null === (n4 = t5.type) || void 0 === n4 ? void 0 : n4.singletonType) && void 0 !== o2 ? o2 : t5.type; + if (!i5) continue; + let s2 = i5.expressionType; + if (i5.hasProperties()) { + const t6 = f(e4, `jsn__architect::${d}_type_${i5.expressionType}`, i5, false); + if (!t6) continue; + s2 = t6.expressionType; + } + const u2 = h(t5); + g2.addProperty(r.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 g2.hasProperties ? g2 : void 0; + } + })(e3, t3, i3); + return p2 ? (o.createCustomExpressionTypesFromDataTypeDefs(e3, [p2], true), a.default.getType(e3, t3, n3)) : void 0; } - 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($, "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) => { + }, 10231(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(31517)), o = n2.__importDefault(i2(3220)), a = { ArchLanguage: r2.default, archLanguages: o.default }; - t2.default = a; - }, 35882: (e2, t2, i2) => { + t2.defaultExternalContactPatchCondition = t2.externalContactPatchConditions = void 0, t2.getAvailableConditionsForField = function(e3) { + return e3 ? t2.externalContactPatchConditions : t2.externalContactPatchConditions.filter((e4) => !e4.requiresSingleItem); + }; + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(41510)), a = i2(47957); + function s(e3, t3) { + return (0, o.sprintf)(r.default.externalContacts.conditionLabelFormat, e3, t3); + } + 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]; + }, 14394(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(2315)), o = n2.__importDefault(i2(39029)), a = n2.__importDefault(i2(92140)); - class s { - constructor() { - Object.defineProperties(this, { _defaultGenerationBucketName: { writable: true }, _expressionGenerator: { writable: true }, _generationBuckets: { value: {}, writable: true }, _replacementTokens: { writable: true } }); + t2.globalTypes = void 0; + const n2 = i2(31635).__importDefault(i2(65302)); + function o(e3) { + return n2.default.getGlobalTypeGroup().getType(e3); + } + function r(e3) { + return n2.default.getGlobalTypeGroup().getType(e3, true); + } + t2.globalTypes = new class { + get agentScorePair() { + return o("cpx_agent_score_pair"); } - static create(e3) { - const t3 = new s(); - return e3 ? t3.setGenerator(e3) : t3; + get agentScorePairCollection() { + return r("cpx_agent_score_pair"); } - static createSprintfGeneration(e3) { - return this.create(e3).setReplacementTokens(["%1$s", "%2$s", "%3$s", "%4$s", "%5$s", "%6$s", "%7$s", "%8$s"]); + get any() { + return o("any"); } - static createForGenerator(e3) { - return new s().setGenerator(e3); + get anyCollection() { + return r("any"); } - get defaultGenerationBucketName() { - return this._defaultGenerationBucketName; + get anyAudio() { + return o("apa"); } - generate(e3) { - if (!this._expressionGenerator) return; - let t3, i3, n3; - try { - a.default.isUndefined(e3) && (e3 = r2.default.createNoFormattingBuildTextHelper(), i3 = true), t3 = o.default.create(e3), n3 = this._generate(t3); - } finally { - t3 && t3.destroy(), i3 && e3.destroy(); - } - return n3; + get anyAudioCollection() { + return r("apa"); } - _generate(e3) { - let t3; - return e3.genDepthIncrement(), this._expressionGenerator._generate(this, e3), e3.genDepthDecrement(), 0 === e3.genDepth && (t3 = e3.getResult()), t3; + get anyComplex() { + return o("acp"); } - setGenerator(e3) { - return this._expressionGenerator = e3, this._defaultGenerationBucketName = e3.defaultGenerationBucketName, this; + get anyComplexCollection() { + return r("acp"); } - setReplacementTokens(e3) { - return this._replacementTokens = a.default.isArray(e3) ? e3 : [e3], this; + get assignedCustomerIntent() { + return o("aci"); } - get replacementTokens() { - return this._replacementTokens; + get assignedCustomerIntentCollection() { + return r("aci"); } - get generator() { - return this._expressionGenerator; + get assignedCustomerSegment() { + return o("acs"); } - getReplacementTokenAtIndex(e3) { - return e3 < this._replacementTokens.length ? this._replacementTokens[e3] : ""; + get assignedCustomerSegmentCollection() { + return r("acs"); } - get generationBuckets() { - return this._generationBuckets; + get audio() { + return o("aud"); } - get willGenerateNotSetOrStringLiteral() { - return this._expressionGenerator.getWillGenerateNotSetOrStringLiteral(this); + get boolean() { + return o("bln"); } - addGenerationToBucket(e3, t3) { - a.default.isUndefined(t3) && (t3 = this._defaultGenerationBucketName); - let i3 = this._generationBuckets[t3]; - a.default.isUndefined(i3) && (i3 = [], this._generationBuckets[t3] = i3); - try { - !this._amInAboutToAddGenerationCallout && this._expressionGenerator && this._expressionGenerator.aboutToAddGenerationCallback && (this._amInAboutToAddGenerationCallout = true, this._expressionGenerator.aboutToAddGenerationCallback(this, t3, i3, e3)); - } finally { - this._amInAboutToAddGenerationCallout = false; - } - return i3.push(e3), this; + get booleanCollection() { + return r("bln"); } - getGenerationForBucket(e3) { - return this._generationBuckets[e3]; + get campaign() { + return o("cam"); } - _destroyGenerationBucketMap(e3) { - a.default.each(e3, (e4) => { - a.default.each(e4, (e5) => { - try { - e5.destroy(); - } catch (e6) { - } - }); - }); + get card() { + return o("crd"); } - destroy() { - this._destroyGenerationBucketMap(this._generationBuckets), this._defaultGenerationBucketName = void 0, this._expressionGenerator = void 0, this._generationBuckets = void 0, this._replacementTokens = void 0; + get cardCollection() { + return r("crd"); } - } - t2.default = s; - }, 35884: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.defer = void 0; - var n2 = i2(48051), r2 = i2(19724); - t2.defer = function(e3) { - return new n2.Observable(function(t3) { - r2.innerFrom(e3()).subscribe(t3); - }); - }; - }, 35904: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.using = void 0; - var n2 = i2(48051), r2 = i2(19724), o = i2(44885); - t2.using = function(e3, t3) { - return new n2.Observable(function(i3) { - var n3 = e3(), a = t3(n3); - return (a ? r2.innerFrom(a) : o.EMPTY).subscribe(i3), function() { - n3 && n3.unsubscribe(); - }; - }); - }; - }, 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)), 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); + get carousel() { + return o("crs"); } - static get branchInfo() { - return s.default.yesNo; + get chatGuest() { + return o("cpx_chat_guest"); } - getDetails() { - return this.expression && this.expression.text ? new o.ActionDetails([""], [this.expression.text]) : null; + get chatGuestCollection() { + return r("cpx_chat_guest"); } - static get managedProperties() { - 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")) }]; + get choice() { + return o("chc"); } - } - _.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 }); - const n2 = i2(31635).__importDefault(i2(65294)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._findIds = this.coreFactory.createArchWrapper(e3.findIds); + get choiceCollection() { + return r("chc"); } - get displayTypeName() { - return "ArchBaseActionFindSystemObjectsById"; + get chooser() { + return o("chs"); } - get isArchBaseActionFindSystemObjectsById() { - return true; + get communication() { + return o("com"); } - get findIds() { - return this._findIds; + get communicationCollection() { + return r("com"); } - } - t2.default = r2; - }, 35966: (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, "CollectInputVerificationType"), o.getInstance = function(e3) { - return r2[e3 || 0] || r2[0]; - }, o.UniqueDigits = new o(0, "UniqueDigits"), o.Numeric = new o(1, "Numeric"), Object.defineProperties(o.prototype, { getConfiguration: { value: function(e3, t3) { - return t3?.isForFlowYaml ? this === o.UniqueDigits ? "individualDigits" : this === o.Numeric ? "numeric" : "none" : this; - } } }), e2.exports = o; - }, 36019: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(35515)), a = i2(52164), s = i2(50712), l = i2(29926), u = o.browser ? window : global; - u.TestKillConnection = function() { - console.debug("Testing - killing the connection"), o.setAuthToken(o.getAuthToken() + "_fake"); - }, u.TestTimeoutConnection = function() { - console.debug("Testing - timing out the connection"), u.__timeOutConnection = true; - }, u.TestFakeServerResponse = function(e3) { - e3 === parseInt(e3, 10) ? (console.debug("Testing - returning faked specified response type for all server calls"), u.__testFakeServerResponseCode = e3) : console.debug("Error: Must specify a valid HTTP response code for window.TestFakeServerResponse"); - }, u.TestFakeServerResponseOff = function() { - console.debug("Testing - turning off faked response types for server calls"), u.__testFakeServerResponseCode = null; - }; - const c = new class { - addRequestHandler(e3, t3) { - t3 ? a.BasicRequest.handlers.unshift(e3) : a.BasicRequest.handlers.splice(a.BasicRequest.handlers.length - 1, 0, e3); + get contactList() { + return o("cnl"); } - makeRequest(e3, t3, i3, n3, r3) { - const o2 = new l.RequestInfo(e3, t3, i3); - return o2.addOptions(n3), this.build(o2, r3).call(); + get currency() { + return o("cur"); } - request(e3, t3, i3, n3) { - const r3 = new l.RequestInfo(e3, t3, i3); - return n3 && r3.addOptions(n3), r3; + get currencyCollection() { + return r("cur"); } - formatStringForTracing(e3) { - return e3 ? (e3 instanceof Error ? e3 = e3.toString() : r2.default.isString(e3) || (e3 = JSON.stringify(e3)), r2.default.each(r2.default.rest(arguments), function(t3) { - e3 = e3.replace(/{}/, t3); - }), e3) : ""; + get customerIntent() { + return o("cin"); } - build(e3, t3) { - return new ((0, s.getDefaultRequestModel)())(e3, t3); + get customerIntentCollection() { + return r("cin"); } - }(); - t2.default = c; - }, 36024: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(39950).extend(n2, "ClipboardContentMenuModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, r2) { - n2._super.configure.apply(this, arguments); - } } }), e2.exports = n2; - }, 36128: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NameValuePairsOptions = void 0; - const n2 = i2(31635), r2 = i2(42433), o = i2(80295), a = i2(55909), s = i2(33951); - class l extends r2.BaseOptions { - static create(e3) { - return new this().invokeOptionsCallback(e3); + get customerSegment() { + return o("csg"); } - constructor() { - super(), this._allowLiteralOnlyOnName = false, (0, o.makeUnenumerable)(this, "_addButtonLabel"), (0, o.makeUnenumerable)(this, "_allowLiteralOnlyOnName"), (0, o.makeUnenumerable)(this, "_nameLabel"), (0, o.makeUnenumerable)(this, "_sectionLabel"), (0, o.makeUnenumerable)(this, "_valueLabel"); + get customerSegmentCollection() { + return r("csg"); } - get className() { - return "NameValuePairsOptions"; + get date() { + return o("dat"); } - get isNameValuePairsOptions() { - return true; + get dateCollection() { + return r("dat"); } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setAddButtonLabel, e3.addButtonLabel), this._setOptionIfSet(this.setAllowLiteralModeOnlyOnName, e3.allowLiteralOnlyOnName), this._setOptionIfSet(this.setSectionLabel, e3.sectionLabel), this._setOptionIfSet(this.setNameLabel, e3.nameLabel, "_nameLabel"), this._setOptionIfSet(this.setValueLabel, e3.valueLabel, "_valueLabel"); + get dateTime() { + return o("dtm"); } - get addButtonLabel() { - return this._addButtonLabel; + get dateTimeCollection() { + return r("dtm"); } - set addButtonLabel(e3) { - this._addButtonLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "addButtonLabel", "value")); + get decimal() { + return o("dec"); } - get allowLiteralOnlyOnName() { - return this._allowLiteralOnlyOnName; + get decimalCollection() { + return r("dec"); } - set allowLiteralOnlyOnName(e3) { - this._allowLiteralOnlyOnName = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "allowLiteralOnlyOnName", "value")); + get digitalAudio() { + return o("dia"); } - get nameLabel() { - return this._nameLabel; + get digitalAudioCollection() { + return r("dia"); } - set nameLabel(e3) { - this._nameLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "nameLabel", "value")); + get division() { + return o("dvn"); } - get sectionLabel() { - return this._sectionLabel; + get divisionCollection() { + return r("dvn"); } - set sectionLabel(e3) { - this._sectionLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "sectionLabel", "value")); + get draftEmail() { + return o("jsn__architect::draft_email"); } - get valueLabel() { - return this._valueLabel; + get draftEmailAddress() { + return o("jsn__architect::draft_email_address"); } - set valueLabel(e3) { - this._valueLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "valueLabel", "value")); + get draftEmailAddressCollection() { + return r("jsn__architect::draft_email_address"); } - setAddButtonLabel(e3) { - return this.addButtonLabel = e3, this; + get draftEmailAttachment() { + return o("jsn__architect::draft_email_attachment"); } - setAllowLiteralModeOnlyOnName(e3) { - return this.allowLiteralOnlyOnName = e3, this; + get draftEmailAttachmentCollection() { + return r("jsn__architect::draft_email_attachment"); } - setNameLabel(e3) { - return this.nameLabel = e3, this; + get duration() { + return o("dur"); } - setValueLabel(e3) { - return this.valueLabel = e3, this; + get durationCollection() { + return r("dur"); } - setSectionLabel(e3) { - return this.sectionLabel = e3, this; + get email() { + return o("cpx_email"); } - } - 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, c = i2(76486).default, d = i2(22599).default, p = i2(98114).default, { globalTypes: _ } = i2(14394); - e2.exports = { create: function() { - 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"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); + get emailCollection() { + return r("cpx_email"); } - get _actionTypeId() { - return r2.previousMenuActionType; + get emailAddress() { + return o("cpx_email_address"); } - get displayTypeName() { - return "ArchMenuPreviousMenu"; + get emailAddressCollection() { + return r("cpx_email_address"); } - get actionPreviousMenu() { - return this._archAction; + get emailAttachment() { + return o("cpx_email_attachment"); } - get isArchMenuPreviousMenu() { - return true; + get emailAttachmentCollection() { + return r("cpx_email_attachment"); } - } - 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() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "BaseBriefEntityList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 36444: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeListPickerItemOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get emergencyGroup() { + return o("emg"); } - constructor(e3) { - super(e3); + get emergencyGroupCollection() { + return r("emg"); } - get className() { - return "ExpressionTypeListPickerItemOptions"; + get emptyJson() { + return o("jsn__architect::empty_json"); } - get isExpressionTypeListPickerItemOptions() { - return true; + get emptyJsonCollection() { + return r("jsn__architect::empty_json"); } - } - t2.ExpressionTypeListPickerItemOptions = r2; - }, 36470: (e2) => { - var t2, i2, n2, r2 = function(e3, t3) { - t3 || (t3 = new org.antlr.runtime.RecognizerSharedState()), function() { - }.call(this), r2.superclass.constructor.call(this, e3, t3), this.dfa18 = new r2.DFA18(this), this.dfa20 = new r2.DFA20(this), this.dfa24 = new r2.DFA24(this), this.dfa25 = new r2.DFA25(this), this.dfa29 = new r2.DFA29(this), this.dfa30 = new r2.DFA30(this), this.dfa31 = new r2.DFA31(this), this.dfa34 = new r2.DFA34(this), this.dfa39 = new r2.DFA39(this), this.adaptor = new org.antlr.runtime.tree.CommonTreeAdaptor(); - }; - org.antlr.lang.augmentObject(r2, { EOF: -1, BOOL_TRUE: 4, BOOL_FALSE: 5, NOT_SET: 6, TERNARY_IF: 7, TERNARY_THEN: 8, OP_LOG_OR: 9, OP_LOG_AND: 10, OP_BIT_INCL_OR: 11, OP_BIT_AND: 12, OP_EQU: 13, OP_NEQ: 14, OP_GTE: 15, OP_LTE: 16, OP_GT: 17, OP_LT: 18, OP_PLUS: 19, OP_MINUS: 20, OP_MULT: 21, OP_DIV: 22, OP_MOD: 23, OP_POW: 24, WS: 25, OP_NOT: 26, OP_BIT_NOT: 27, PAREN_LEFT: 28, PAREN_RIGHT: 29, IDENTIFIER: 30, PERIOD: 31, UNQUOTED_STRING_LITERAL: 32, BRACKET_LEFT: 33, BRACKET_RIGHT: 34, FIELD_ACCESS_IDENTIFIER: 35, FIELD_ACCESS_STRING_LITERAL: 36, FIELD_ACCESS_UNQUOTED_STRING_LITERAL: 37, COMMA: 38, STRING_LITERAL: 39, BAD_ESCAPE_STRING_LITERAL: 40, INTEGER: 41, DECIMAL: 42, NON_SUPPORTED: 43, UNDERSCORE: 44, QUOTE: 45, BACKSLASH: 46, DOLLAR_SIGN: 47, DIGIT: 48, ECSCAPE_CHARS: 49, ESCAPE_SEQUENCE: 50, STRING_LITERAL_CONTENTS: 51, LETTER: 52 }), t2 = -1, i2 = 25, n2 = 32, org.antlr.lang.extend(r2, org.antlr.runtime.Parser, { setTreeAdaptor: function(e3) { - this.adaptor = e3; - }, getTreeAdaptor: function() { - return this.adaptor; - }, getTokenNames: function() { - return r2.tokenNames; - }, getGrammarFileName: function() { - return "/Users/bliang/genesys_src/architect/src/core/expressions/metadata/grammar/Architect.g"; - } }), org.antlr.lang.augmentObject(r2.prototype, { designerexpression_return: (r2.designerexpression_return = function() { - }, void org.antlr.lang.extend(r2.designerexpression_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), designerexpression: function() { - var e3 = new r2.designerexpression_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_expr_in_designerexpression129), i3 = this.expr(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalAddress() { + return o("cpx_external_address"); } - return e3; - }, expr_return: (r2.expr_return = function() { - }, void org.antlr.lang.extend(r2.expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), expr: function() { - var e3 = new r2.expr_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_ternary_if_then_in_expr146), i3 = this.ternary_if_then(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalAddressCollection() { + return r("cpx_external_address"); } - return e3; - }, ternary_if_then_return: (r2.ternary_if_then_return = function() { - }, void org.antlr.lang.extend(r2.ternary_if_then_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), 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, 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), 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 { - if (h != t2) throw new org.antlr.runtime.NoViableAltException("", 1, 0, this.input); - _ = 2; - } - switch (_) { - case 1: - 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()); - } - this.pushFollow(r2.FOLLOW_log_op_and_in_ternary_if_then191), u = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(i3, u.getTree()); - } - 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); + get externalAppleInfo() { + return o("cpx_external_apple_info"); } - return e3; - }, log_op_or_return: (r2.log_op_or_return = function() { - }, void org.antlr.lang.extend(r2.log_op_or_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), log_op_or: function() { - var e3 = new r2.log_op_or_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_log_op_and_in_log_op_or212), n3 = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - e: for (; ; ) { - var s = 2; - if (9 == this.input.LA(1) && (s = 1), 1 !== s) break e; - i3 = this.match(this.input, 9, r2.FOLLOW_OP_LOG_OR_in_log_op_or216), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(r2.FOLLOW_log_op_and_in_log_op_or221), o = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalAppleInfoCollection() { + return r("cpx_external_apple_info"); } - return e3; - }, log_op_and_return: (r2.log_op_and_return = function() { - }, void org.antlr.lang.extend(r2.log_op_and_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), log_op_and: function() { - var e3 = new r2.log_op_and_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_bitwise_or_in_log_op_and241), n3 = this.bitwise_or(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - e: for (; ; ) { - var s = 2; - if (10 == this.input.LA(1) && (s = 1), 1 !== s) break e; - i3 = this.match(this.input, 10, r2.FOLLOW_OP_LOG_AND_in_log_op_and246), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(r2.FOLLOW_bitwise_or_in_log_op_and251), o = this.bitwise_or(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalContact() { + return o("cpx_external_contact"); } - return e3; - }, bitwise_or_return: (r2.bitwise_or_return = function() { - }, void org.antlr.lang.extend(r2.bitwise_or_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), bitwise_or: function() { - var e3 = new r2.bitwise_or_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_bitwise_and_in_bitwise_or271), n3 = this.bitwise_and(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - e: for (; ; ) { - var s = 2; - if (11 == this.input.LA(1) && (s = 1), 1 !== s) break e; - i3 = this.match(this.input, 11, r2.FOLLOW_OP_BIT_INCL_OR_in_bitwise_or276), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(r2.FOLLOW_bitwise_and_in_bitwise_or281), o = this.bitwise_and(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalContactCollection() { + return r("cpx_external_contact"); } - return e3; - }, bitwise_and_return: (r2.bitwise_and_return = function() { - }, void org.antlr.lang.extend(r2.bitwise_and_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), bitwise_and: function() { - var e3 = new r2.bitwise_and_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_equ_op_in_bitwise_and301), n3 = this.equ_op(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - e: for (; ; ) { - var s = 2; - if (12 == this.input.LA(1) && (s = 1), 1 !== s) break e; - i3 = this.match(this.input, 12, r2.FOLLOW_OP_BIT_AND_in_bitwise_and307), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(r2.FOLLOW_equ_op_in_bitwise_and312), o = this.equ_op(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalFacebookId() { + return o("cpx_external_facebook_id"); } - return e3; - }, equ_op_return: (r2.equ_op_return = function() { - }, void org.antlr.lang.extend(r2.equ_op_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), equ_op: function() { - var e3 = new r2.equ_op_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null, s = null, l = null; - 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, 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); - d = 2; - } - 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; - case 2: - n3 = this.match(this.input, 14, r2.FOLLOW_OP_NEQ_in_equ_op342), l = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(l, t3); - } - this.pushFollow(r2.FOLLOW_comp_op_in_equ_op347), a = this.comp_op(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalFacebookIdCollection() { + return r("cpx_external_facebook_id"); + } + get externalFacebookInfo() { + return o("cpx_external_facebook_info"); + } + get externalFacebookInfoCollection() { + return r("cpx_external_facebook_info"); + } + get externalIdInfo() { + return o("cpx_external_id_info"); + } + get externalIdInfoCollection() { + return r("cpx_external_id_info"); + } + get externalInstagramInfo() { + return o("cpx_external_instagram_info"); + } + get externalInstagramInfoCollection() { + return r("cpx_external_instagram_info"); + } + get externalInstagramScopedId() { + return o("cpx_external_instagram_scoped_id"); + } + get externalInstagramScopedIdCollection() { + return r("cpx_external_instagram_scoped_id"); + } + get externalLineId() { + return o("cpx_external_line_id"); + } + get externalLineIdCollection() { + return r("cpx_external_line_id"); + } + get externalLineInfo() { + return o("cpx_external_line_info"); + } + get externalLineInfoCollection() { + return r("cpx_external_line_info"); + } + get externalLinkConfiguration() { + return o("cpx_external_link_configuration"); + } + get externalLinkConfigurationCollection() { + return r("cpx_external_link_configuration"); + } + get externalOrganization() { + return o("cpx_external_organization"); + } + get externalOrganizationCollection() { + return r("cpx_external_organization"); + } + get externalPhoneNumber() { + return o("cpx_external_phone_number"); + } + get externalPhoneNumberCollection() { + return r("cpx_external_phone_number"); } - return e3; - }, comp_op_return: (r2.comp_op_return = function() { - }, void org.antlr.lang.extend(r2.comp_op_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), 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, 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 (; ; ) { - var _ = 2, h = this.input.LA(1); - if (h >= 15 && h <= 18 && (_ = 1), 1 !== _) break e; - var m = 4; - switch (this.input.LA(1)) { - case 15: - m = 1; - break; - case 16: - m = 2; - break; - case 17: - m = 3; - break; - case 18: - m = 4; - break; - default: - throw new org.antlr.runtime.NoViableAltException("", 9, 0, this.input); - } - switch (m) { - case 1: - 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), 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), 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); - } - this.pushFollow(r2.FOLLOW_add_sub_expr_in_comp_op391), l = this.add_sub_expr(), this.state._fsp--, this.adaptor.addChild(t3, l.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalSource() { + return o("cpx_external_source"); } - return e3; - }, add_sub_expr_return: (r2.add_sub_expr_return = function() { - }, void org.antlr.lang.extend(r2.add_sub_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), add_sub_expr: function() { - var e3 = new r2.add_sub_expr_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null, s = null, l = null; - 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, 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); - d = 2; - } - 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; - case 2: - n3 = this.match(this.input, 20, r2.FOLLOW_OP_MINUS_in_add_sub_expr425), l = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(l, t3); - } - this.pushFollow(r2.FOLLOW_mul_div_mod_expr_in_add_sub_expr430), a = this.mul_div_mod_expr(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalSourceCollection() { + return r("cpx_external_source"); } - return e3; - }, mul_div_mod_expr_return: (r2.mul_div_mod_expr_return = function() { - }, void org.antlr.lang.extend(r2.mul_div_mod_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), 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, 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 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: - _ = 1; - break; - case 22: - _ = 2; - break; - case 23: - _ = 3; - break; - default: - throw new org.antlr.runtime.NoViableAltException("", 13, 0, this.input); - } - switch (_) { - case 1: - i3 = this.match(this.input, 21, r2.FOLLOW_OP_MULT_in_mul_div_mod_expr458), l = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(l, t3); - break; - case 2: - 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), 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()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalTwitterInfo() { + return o("cpx_external_twitter_info"); } - return e3; - }, pow_expr_return: (r2.pow_expr_return = function() { - }, void org.antlr.lang.extend(r2.pow_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), pow_expr: function() { - var e3 = new r2.pow_expr_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_not_bitnot_expr_in_pow_expr495), n3 = this.not_bitnot_expr(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - var s = 2; - 24 == this.input.LA(1) && (s = 1), 1 === s && (i3 = this.match(this.input, 24, r2.FOLLOW_OP_POW_in_pow_expr499), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(r2.FOLLOW_pow_expr_in_pow_expr502), o = this.pow_expr(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree())), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalTwitterInfoCollection() { + return r("cpx_external_twitter_info"); } - return e3; - }, not_bitnot_expr_return: (r2.not_bitnot_expr_return = function() { - }, void org.antlr.lang.extend(r2.not_bitnot_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), not_bitnot_expr: function() { - var e3 = new r2.not_bitnot_expr_return(); - e3.start = this.input.LT(1); - var t3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null; - try { - switch (this.dfa18.predict(this.input)) { - case 1: - t3 = this.adaptor.nil(); - e: for (; ; ) { - 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 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); - d = 2; - } - 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; - case 2: - o = this.match(this.input, 27, r2.FOLLOW_OP_BIT_NOT_in_not_bitnot_expr540), u = this.adaptor.create(o), t3 = this.adaptor.becomeRoot(u, t3); - } - this.pushFollow(r2.FOLLOW_not_bitnot_expr_in_not_bitnot_expr544), a = this.not_bitnot_expr(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); - break; - case 2: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_neg_expr_in_not_bitnot_expr558), s = this.neg_expr(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalWhatsAppInfo() { + return o("cpx_external_whats_app_info"); } - return e3; - }, neg_expr_return: (r2.neg_expr_return = function() { - }, void org.antlr.lang.extend(r2.neg_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), neg_expr: function() { - var e3 = new r2.neg_expr_return(); - e3.start = this.input.LT(1); - var t3 = null, n3 = null, o = null, a = null, s = null; - try { - switch (this.dfa20.predict(this.input)) { - case 1: - t3 = this.adaptor.nil(); - e: for (; ; ) { - var l = 2; - if (this.input.LA(1) == i2 && (l = 1), 1 !== l) break e; - this.match(this.input, i2, r2.FOLLOW_WS_in_neg_expr580); - } - n3 = this.match(this.input, 20, r2.FOLLOW_OP_MINUS_in_neg_expr586), s = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(s, t3), this.pushFollow(r2.FOLLOW_ws_primary_in_neg_expr590), o = this.ws_primary(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - break; - case 2: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_ws_primary_in_neg_expr604), a = this.ws_primary(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get externalWhatsAppInfoCollection() { + return r("cpx_external_whats_app_info"); } - return e3; - }, ws_primary_return: (r2.ws_primary_return = function() { - }, void org.antlr.lang.extend(r2.ws_primary_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), ws_primary: function() { - var e3 = new r2.ws_primary_return(); - e3.start = this.input.LT(1); - var t3 = null, n3 = null; - try { - t3 = this.adaptor.nil(); - e: for (; ; ) { - var o = 2; - if (this.input.LA(1) == i2 && (o = 1), 1 !== o) break e; - this.match(this.input, i2, r2.FOLLOW_WS_in_ws_primary622); - } - this.pushFollow(r2.FOLLOW_primary_in_ws_primary627), n3 = this.primary(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - e: for (; ; ) { - var a = 2; - if (this.input.LA(1) == i2 && (a = 1), 1 !== a) break e; - this.match(this.input, i2, r2.FOLLOW_WS_in_ws_primary630); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get file() { + return o("fil"); } - return e3; - }, primary_return: (r2.primary_return = function() { - }, void org.antlr.lang.extend(r2.primary_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), 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, c = null, d = null, p = null, _ = null, h = null; - try { - switch (this.dfa24.predict(this.input)) { - case 1: - i3 = this.adaptor.nil(), n3 = this.match(this.input, 28, r2.FOLLOW_PAREN_LEFT_in_primary646), _ = this.adaptor.create(n3), this.adaptor.addChild(i3, _), this.pushFollow(r2.FOLLOW_expr_in_primary648), a = this.expr(), this.state._fsp--, this.adaptor.addChild(i3, a.getTree()); - var m = 2, g = this.input.LA(1); - if (29 == g) m = 1; - else { - if (g != t2) throw new org.antlr.runtime.NoViableAltException("", 23, 0, this.input); - m = 2; - } - switch (m) { - case 1: - o = this.match(this.input, 29, r2.FOLLOW_PAREN_RIGHT_in_primary652), h = this.adaptor.create(o), this.adaptor.addChild(i3, h); - break; - case 2: - this.pushFollow(r2.FOLLOW_not_done_yet_are_ya_in_primary656), s = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, s.getTree()); - } - break; - case 2: - i3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_literal_in_primary666), l = this.literal(), this.state._fsp--, this.adaptor.addChild(i3, l.getTree()); - break; - case 3: - 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), 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), 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()); - } - 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); + get fileCollection() { + return r("fil"); } - return e3; - }, variable_base_return: (r2.variable_base_return = function() { - }, void org.antlr.lang.extend(r2.variable_base_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), 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, 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), 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); - var m = 2, g = this.input.LA(1); - if (g == n2) m = 1; - else { - if (g != t2) throw new org.antlr.runtime.NoViableAltException("", 26, 0, this.input); - m = 2; - } - switch (m) { - case 1: - s = this.match(this.input, n2, r2.FOLLOW_UNQUOTED_STRING_LITERAL_in_variable_base740), _ = this.adaptor.create(s), this.adaptor.addChild(i3, _); - break; - case 2: - this.pushFollow(r2.FOLLOW_not_done_yet_are_ya_in_variable_base744), u = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, u.getTree()); - } - } - var f = 2; - 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); + get formInput() { + return o("fip"); } - return e3; - }, name_return: (r2.name_return = function() { - }, void org.antlr.lang.extend(r2.name_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), name: function() { - var e3 = new r2.name_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, 30, r2.FOLLOW_IDENTIFIER_in_name772), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get grammar() { + return o("gmr"); } - return e3; - }, variable_collection_access_return: (r2.variable_collection_access_return = function() { - }, void org.antlr.lang.extend(r2.variable_collection_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), variable_collection_access: function() { - var e3 = new r2.variable_collection_access_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_collection_access_in_variable_collection_access796), i3 = this.collection_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(i3.getTree(), t3), 1 === this.dfa29.predict(this.input) && (this.pushFollow(r2.FOLLOW_datatype_access_in_variable_collection_access800), n3 = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(n3.getTree(), t3)), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get grammarCollection() { + return r("gmr"); } - return e3; - }, datatype_access_return: (r2.datatype_access_return = function() { - }, void org.antlr.lang.extend(r2.datatype_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), datatype_access: function() { - var e3 = new r2.datatype_access_return(); - e3.start = this.input.LT(1); - var t3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null; - try { - var c = 3; - switch (this.input.LA(1)) { - case i2: - case 35: - case 36: - case 37: - c = 1; - break; - case 33: - c = 2; - break; - case 31: - c = 3; - break; - default: - throw new org.antlr.runtime.NoViableAltException("", 32, 0, this.input); - } - 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; - case 2: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_collection_access_in_datatype_access838), s = this.collection_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(s.getTree(), t3), 1 === this.dfa31.predict(this.input) && (this.pushFollow(r2.FOLLOW_datatype_access_in_datatype_access842), l = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(l.getTree(), t3)); - break; - case 3: - t3 = this.adaptor.nil(), n3 = this.match(this.input, 31, r2.FOLLOW_PERIOD_in_datatype_access855), u = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(u, t3); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get group() { + return o("grp"); } - return e3; - }, func_call_return: (r2.func_call_return = function() { - }, void org.antlr.lang.extend(r2.func_call_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), func_call: function() { - var e3 = new r2.func_call_return(); - e3.start = this.input.LT(1); - var t3 = null, n3 = null, o = null, a = null, s = null; - try { - t3 = this.adaptor.nil(), n3 = this.match(this.input, 30, r2.FOLLOW_IDENTIFIER_in_func_call879), s = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(s, t3); - e: for (; ; ) { - var l = 2; - if (this.input.LA(1) == i2 && (l = 1), 1 !== l) break e; - this.match(this.input, i2, r2.FOLLOW_WS_in_func_call883); - } - this.pushFollow(r2.FOLLOW_func_parens_in_func_call888), o = this.func_parens(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()), 1 === this.dfa34.predict(this.input) && (this.pushFollow(r2.FOLLOW_datatype_access_in_func_call891), a = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(a.getTree(), t3)), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get groupCollection() { + return r("grp"); } - return e3; - }, collection_access_return: (r2.collection_access_return = function() { - }, void org.antlr.lang.extend(r2.collection_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), collection_access: function() { - var e3 = new r2.collection_access_return(); - e3.start = this.input.LT(1); - 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 c = 2, d = this.input.LA(1); - if (34 == d) c = 1; - else { - if (d != t2) throw new org.antlr.runtime.NoViableAltException("", 35, 0, this.input); - c = 2; - } - 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; - case 2: - this.pushFollow(r2.FOLLOW_not_done_yet_are_ya_in_collection_access927), s = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, s.getTree()); - } - 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); + get image() { + return o("img"); } - return e3; - }, datatype_property_access_return: (r2.datatype_property_access_return = function() { - }, void org.antlr.lang.extend(r2.datatype_property_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), datatype_property_access: function() { - var e3 = new r2.datatype_property_access_return(); - e3.start = this.input.LT(1); - var t3 = null, n3 = null, o = null, a = null, s = null, l = null, u = null; - try { - switch (this.dfa39.predict(this.input)) { - case 1: - t3 = this.adaptor.nil(); - e: for (; ; ) { - 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); - break; - case 2: - t3 = this.adaptor.nil(); - e: for (; ; ) { - 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); - break; - case 3: - t3 = this.adaptor.nil(); - e: for (; ; ) { - var p = 2; - if (this.input.LA(1) == i2 && (p = 1), 1 !== p) break e; - this.match(this.input, i2, r2.FOLLOW_WS_in_datatype_property_access981); - } - a = this.match(this.input, 37, r2.FOLLOW_FIELD_ACCESS_UNQUOTED_STRING_LITERAL_in_datatype_property_access986), u = this.adaptor.create(a), t3 = this.adaptor.becomeRoot(u, t3); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get imageCollection() { + return r("img"); } - return e3; - }, func_parens_return: (r2.func_parens_return = function() { - }, void org.antlr.lang.extend(r2.func_parens_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), 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, c = null, d = null; - try { - 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); - if (29 == m) h = 1; - else { - if (m != t2) throw new org.antlr.runtime.NoViableAltException("", 41, 0, this.input); - h = 2; - } - switch (h) { - case 1: - 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()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(o), 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); + get integer() { + return o("int"); } - return e3; - }, funcarglist_return: (r2.funcarglist_return = function() { - }, void org.antlr.lang.extend(r2.funcarglist_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), funcarglist: function() { - var e3 = new r2.funcarglist_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null, o = null, a = null; - try { - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_expr_in_funcarglist1045), n3 = this.expr(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - e: for (; ; ) { - var s = 2; - if (38 == this.input.LA(1) && (s = 1), 1 !== s) break e; - i3 = this.match(this.input, 38, r2.FOLLOW_COMMA_in_funcarglist1049), a = this.adaptor.create(i3), this.adaptor.addChild(t3, a), this.pushFollow(r2.FOLLOW_expr_in_funcarglist1053), o = this.expr(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get integerCollection() { + return r("int"); } - return e3; - }, literal_return: (r2.literal_return = function() { - }, void org.antlr.lang.extend(r2.literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), literal: function() { - var e3 = new r2.literal_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, o = null, a = null, s = null; - try { - var l = 4; - switch (this.input.LA(1)) { - case 4: - case 5: - l = 1; - break; - case 41: - case 42: - l = 2; - break; - case n2: - case 39: - case 40: - l = 3; - break; - case 6: - l = 4; - break; - default: - throw new org.antlr.runtime.NoViableAltException("", 43, 0, this.input); - } - switch (l) { - case 1: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_boolean_literal_in_literal1076), i3 = this.boolean_literal(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()); - break; - case 2: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_number_literal_in_literal1084), o = this.number_literal(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - break; - case 3: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_string_literal_core_in_literal1092), a = this.string_literal_core(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); - break; - case 4: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_null_literal_in_literal1102), s = this.null_literal(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get issueInfo() { + return o("jsn__architect::issue_info"); } - return e3; - }, null_literal_return: (r2.null_literal_return = function() { - }, void org.antlr.lang.extend(r2.null_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), null_literal: function() { - var e3 = new r2.null_literal_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, 6, r2.FOLLOW_NOT_SET_in_null_literal1123), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get issueInfoCollection() { + return r("jsn__architect::issue_info"); } - return e3; - }, boolean_literal_return: (r2.boolean_literal_return = function() { - }, void org.antlr.lang.extend(r2.boolean_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), boolean_literal: function() { - var e3 = new r2.boolean_literal_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null; - try { - if (t3 = this.adaptor.nil(), i3 = this.input.LT(1), !(this.input.LA(1) >= 4 && this.input.LA(1) <= 5)) throw new org.antlr.runtime.MismatchedSetException(null, this.input); - this.input.consume(), this.adaptor.addChild(t3, this.adaptor.create(i3)), this.state.errorRecovery = false, e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyAction() { + return o("cpx_journey_action"); } - return e3; - }, string_literal_core_return: (r2.string_literal_core_return = function() { - }, void org.antlr.lang.extend(r2.string_literal_core_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), string_literal_core: function() { - var e3 = new r2.string_literal_core_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, o = null, a = null; - try { - var s = 3; - switch (this.input.LA(1)) { - case 39: - s = 1; - break; - case n2: - s = 2; - break; - case 40: - s = 3; - break; - default: - throw new org.antlr.runtime.NoViableAltException("", 44, 0, this.input); - } - switch (s) { - case 1: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_string_literal_in_string_literal_core1167), i3 = this.string_literal(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()); - break; - case 2: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_unquoted_string_literal_in_string_literal_core1176), o = this.unquoted_string_literal(), this.state._fsp--, this.adaptor.addChild(t3, o.getTree()); - break; - case 3: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_bad_escape_string_literal_in_string_literal_core1186), a = this.bad_escape_string_literal(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyActionMap() { + return o("cpx_journey_action_map"); + } + get journeyApp() { + return o("cpx_journey_app"); + } + get journeyBrowser() { + return o("cpx_journey_browser"); + } + get journeyCampaign() { + return o("cpx_journey_campaign"); + } + get journeyContext() { + return o("cpx_journey_context"); + } + get journeyCustomEventAttribute() { + return o("cpx_journey_custom_event_attribute"); + } + get journeyCustomEventAttributeCollection() { + return r("cpx_journey_custom_event_attribute"); + } + get journeyCustomEventAttributeList() { + return o("cpx_journey_custom_event_attribute_list"); + } + get journeyCustomEventAttributeListCollection() { + return r("cpx_journey_custom_event_attribute_list"); } - return e3; - }, unquoted_string_literal_return: (r2.unquoted_string_literal_return = function() { - }, void org.antlr.lang.extend(r2.unquoted_string_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), unquoted_string_literal: function() { - var e3 = new r2.unquoted_string_literal_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, o = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, n2, r2.FOLLOW_UNQUOTED_STRING_LITERAL_in_unquoted_string_literal1203), o = this.adaptor.create(i3), this.adaptor.addChild(t3, o), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyCustomer() { + return o("cpx_journey_customer"); } - return e3; - }, string_literal_return: (r2.string_literal_return = function() { - }, void org.antlr.lang.extend(r2.string_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), string_literal: function() { - var e3 = new r2.string_literal_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, 39, r2.FOLLOW_STRING_LITERAL_in_string_literal1220), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyCustomerSession() { + return o("cpx_journey_customer_session"); } - return e3; - }, bad_escape_string_literal_return: (r2.bad_escape_string_literal_return = function() { - }, void org.antlr.lang.extend(r2.bad_escape_string_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), bad_escape_string_literal: function() { - var e3 = new r2.bad_escape_string_literal_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, 40, r2.FOLLOW_BAD_ESCAPE_STRING_LITERAL_in_bad_escape_string_literal1239), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyDevice() { + return o("cpx_journey_device"); } - return e3; - }, number_literal_return: (r2.number_literal_return = function() { - }, void org.antlr.lang.extend(r2.number_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), number_literal: function() { - var e3 = new r2.number_literal_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - var o = 2, a = this.input.LA(1); - if (41 == a) o = 1; - else { - if (42 != a) throw new org.antlr.runtime.NoViableAltException("", 45, 0, this.input); - o = 2; - } - switch (o) { - case 1: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_integer_expr_in_number_literal1256), i3 = this.integer_expr(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()); - break; - case 2: - t3 = this.adaptor.nil(), this.pushFollow(r2.FOLLOW_decimal_expr_in_number_literal1264), n3 = this.decimal_expr(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); - } - e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyGeolocation() { + return o("cpx_journey_geolocation"); } - return e3; - }, integer_expr_return: (r2.integer_expr_return = function() { - }, void org.antlr.lang.extend(r2.integer_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), integer_expr: function() { - var e3 = new r2.integer_expr_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, 41, r2.FOLLOW_INTEGER_in_integer_expr1281), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyNetworkConnectivity() { + return o("cpx_journey_network_connectivity"); } - return e3; - }, decimal_expr_return: (r2.decimal_expr_return = function() { - }, void org.antlr.lang.extend(r2.decimal_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), decimal_expr: function() { - var e3 = new r2.decimal_expr_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, 42, r2.FOLLOW_DECIMAL_in_decimal_expr1298), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyOutcome() { + return o("cpx_journey_outcome"); } - return e3; - }, error_return: (r2.error_return = function() { - }, void org.antlr.lang.extend(r2.error_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), error: function() { - var e3 = new r2.error_return(); - e3.start = this.input.LT(1); - var t3 = null, i3 = null, n3 = null; - try { - t3 = this.adaptor.nil(), i3 = this.match(this.input, 43, r2.FOLLOW_NON_SUPPORTED_in_error1321), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); - } catch (t4) { - if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; - this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); + get journeyOutcomeCollection() { + return r("cpx_journey_outcome"); } - return e3; - }, not_done_yet_are_ya_return: (r2.not_done_yet_are_ya_return = function() { - }, void org.antlr.lang.extend(r2.not_done_yet_are_ya_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { - return this.tree; - } })), not_done_yet_are_ya: function() { - var e3 = new r2.not_done_yet_are_ya_return(); - e3.start = this.input.LT(1); - var i3 = null, n3 = null, o = null; - try { - i3 = this.adaptor.nil(), n3 = this.match(this.input, t2, r2.FOLLOW_EOF_in_not_done_yet_are_ya1348), o = this.adaptor.create(n3), this.adaptor.addChild(i3, o), 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); + get journeyOutcomeScore() { + return o("cpx_journey_outcome_score"); } - return e3; - } }, true), org.antlr.lang.augmentObject(r2, { DFA18_eotS: "\uFFFF", DFA18_eofS: "\uFFFF", DFA18_minS: "\uFFFF", DFA18_maxS: "+\uFFFF", DFA18_acceptS: "\uFFFF", DFA18_specialS: "\uFFFF}>", DFA18_transitionS: ["\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA18_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA18_eotS), DFA18_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA18_eofS), DFA18_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA18_minS), DFA18_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA18_maxS), DFA18_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA18_acceptS), DFA18_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA18_specialS), DFA18_transition: (function() { - var e3, t3 = [], i3 = r2.DFA18_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA18_transitionS[e3])); - return t3; - })() }), r2.DFA18 = function(e3) { - this.recognizer = e3, this.decisionNumber = 18, this.eot = r2.DFA18_eot, this.eof = r2.DFA18_eof, this.min = r2.DFA18_min, this.max = r2.DFA18_max, this.accept = r2.DFA18_accept, this.special = r2.DFA18_special, this.transition = r2.DFA18_transition; - }, org.antlr.lang.extend(r2.DFA18, org.antlr.runtime.DFA, { getDescription: function() { - return "96:1: not_bitnot_expr : ( ( WS )* ( OP_NOT | OP_BIT_NOT ) not_bitnot_expr | neg_expr );"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA20_eotS: "\uFFFF", DFA20_eofS: "\uFFFF", DFA20_minS: "\uFFFF", DFA20_maxS: "+\uFFFF", DFA20_acceptS: "\uFFFF", DFA20_specialS: "\uFFFF}>", DFA20_transitionS: ["\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA20_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA20_eotS), DFA20_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA20_eofS), DFA20_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA20_minS), DFA20_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA20_maxS), DFA20_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA20_acceptS), DFA20_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA20_specialS), DFA20_transition: (function() { - var e3, t3 = [], i3 = r2.DFA20_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA20_transitionS[e3])); - return t3; - })() }), r2.DFA20 = function(e3) { - this.recognizer = e3, this.decisionNumber = 20, this.eot = r2.DFA20_eot, this.eof = r2.DFA20_eof, this.min = r2.DFA20_min, this.max = r2.DFA20_max, this.accept = r2.DFA20_accept, this.special = r2.DFA20_special, this.transition = r2.DFA20_transition; - }, org.antlr.lang.extend(r2.DFA20, org.antlr.runtime.DFA, { getDescription: function() { - return "104:1: neg_expr : ( ( WS )* ( OP_MINUS ) ws_primary | ws_primary );"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA24_eotS: " \uFFFF", DFA24_eofS: "\uFFFF\x07\uFFFF\x07\uFFFF", DFA24_minS: "\uFFFF\x07\uFFFF\x07\uFFFF", DFA24_maxS: "+\uFFFF&\uFFFF&\uFFFF", DFA24_acceptS: "\uFFFF\uFFFF\uFFFF", DFA24_specialS: " \uFFFF}>", DFA24_transitionS: ["\uFFFF\uFFFF\uFFFF\uFFFF", "", "", "\x07\uFFFF\b\x07\uFFFF\x07\uFFFF\x07", "", "", "\x07\uFFFF\b\x07\uFFFF\x07", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA24_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA24_eotS), DFA24_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA24_eofS), DFA24_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA24_minS), DFA24_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA24_maxS), DFA24_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA24_acceptS), DFA24_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA24_specialS), DFA24_transition: (function() { - var e3, t3 = [], i3 = r2.DFA24_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA24_transitionS[e3])); - return t3; - })() }), r2.DFA24 = function(e3) { - this.recognizer = e3, this.decisionNumber = 24, this.eot = r2.DFA24_eot, this.eof = r2.DFA24_eof, this.min = r2.DFA24_min, this.max = r2.DFA24_max, this.accept = r2.DFA24_accept, this.special = r2.DFA24_special, this.transition = r2.DFA24_transition; - }, org.antlr.lang.extend(r2.DFA24, org.antlr.runtime.DFA, { getDescription: function() { - return "113:1: primary : ( PAREN_LEFT expr ( PAREN_RIGHT | not_done_yet_are_ya ) | literal | variable_base | func_call | not_done_yet_are_ya | error );"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA25_eotS: "\uFFFF", DFA25_eofS: "\uFFFF\uFFFF", DFA25_minS: "\x07\uFFFF\x07\uFFFF", DFA25_maxS: "&\uFFFF&\uFFFF", DFA25_acceptS: "\uFFFF\uFFFF", DFA25_specialS: "\uFFFF}>", DFA25_transitionS: ["\uFFFF\uFFFF\uFFFF", "", "\uFFFF\uFFFF", ""] }), org.antlr.lang.augmentObject(r2, { DFA25_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA25_eotS), DFA25_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA25_eofS), DFA25_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA25_minS), DFA25_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA25_maxS), DFA25_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA25_acceptS), DFA25_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA25_specialS), DFA25_transition: (function() { - var e3, t3 = [], i3 = r2.DFA25_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA25_transitionS[e3])); - return t3; - })() }), r2.DFA25 = function(e3) { - this.recognizer = e3, this.decisionNumber = 25, this.eot = r2.DFA25_eot, this.eof = r2.DFA25_eof, this.min = r2.DFA25_min, this.max = r2.DFA25_max, this.accept = r2.DFA25_accept, this.special = r2.DFA25_special, this.transition = r2.DFA25_transition; - }, org.antlr.lang.extend(r2.DFA25, org.antlr.runtime.DFA, { getDescription: function() { - return "()* loopback of 131:18: ( datatype_property_access )*"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA29_eotS: "\uFFFF", DFA29_eofS: "\uFFFF", DFA29_minS: "\x07\uFFFF", DFA29_maxS: "&\uFFFF", DFA29_acceptS: "\uFFFF", DFA29_specialS: "\uFFFF}>", DFA29_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA29_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA29_eotS), DFA29_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA29_eofS), DFA29_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA29_minS), DFA29_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA29_maxS), DFA29_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA29_acceptS), DFA29_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA29_specialS), DFA29_transition: (function() { - var e3, t3 = [], i3 = r2.DFA29_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA29_transitionS[e3])); - return t3; - })() }), r2.DFA29 = function(e3) { - this.recognizer = e3, this.decisionNumber = 29, this.eot = r2.DFA29_eot, this.eof = r2.DFA29_eof, this.min = r2.DFA29_min, this.max = r2.DFA29_max, this.accept = r2.DFA29_accept, this.special = r2.DFA29_special, this.transition = r2.DFA29_transition; - }, org.antlr.lang.extend(r2.DFA29, org.antlr.runtime.DFA, { getDescription: function() { - return "146:26: ( datatype_access )?"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA30_eotS: "\uFFFF", DFA30_eofS: "\uFFFF", DFA30_minS: "\x07\uFFFF", DFA30_maxS: "&\uFFFF", DFA30_acceptS: "\uFFFF", DFA30_specialS: "\uFFFF}>", DFA30_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA30_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA30_eotS), DFA30_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA30_eofS), DFA30_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA30_minS), DFA30_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA30_maxS), DFA30_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA30_acceptS), DFA30_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA30_specialS), DFA30_transition: (function() { - var e3, t3 = [], i3 = r2.DFA30_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA30_transitionS[e3])); - return t3; - })() }), r2.DFA30 = function(e3) { - this.recognizer = e3, this.decisionNumber = 30, this.eot = r2.DFA30_eot, this.eof = r2.DFA30_eof, this.min = r2.DFA30_min, this.max = r2.DFA30_max, this.accept = r2.DFA30_accept, this.special = r2.DFA30_special, this.transition = r2.DFA30_transition; - }, org.antlr.lang.extend(r2.DFA30, org.antlr.runtime.DFA, { getDescription: function() { - return "153:33: ( datatype_access )?"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA31_eotS: "\uFFFF", DFA31_eofS: "\uFFFF", DFA31_minS: "\x07\uFFFF", DFA31_maxS: "&\uFFFF", DFA31_acceptS: "\uFFFF", DFA31_specialS: "\uFFFF}>", DFA31_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA31_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA31_eotS), DFA31_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA31_eofS), DFA31_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA31_minS), DFA31_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA31_maxS), DFA31_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA31_acceptS), DFA31_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA31_specialS), DFA31_transition: (function() { - var e3, t3 = [], i3 = r2.DFA31_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA31_transitionS[e3])); - return t3; - })() }), r2.DFA31 = function(e3) { - this.recognizer = e3, this.decisionNumber = 31, this.eot = r2.DFA31_eot, this.eof = r2.DFA31_eof, this.min = r2.DFA31_min, this.max = r2.DFA31_max, this.accept = r2.DFA31_accept, this.special = r2.DFA31_special, this.transition = r2.DFA31_transition; - }, org.antlr.lang.extend(r2.DFA31, org.antlr.runtime.DFA, { getDescription: function() { - return "154:26: ( datatype_access )?"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA34_eotS: "\uFFFF", DFA34_eofS: "\uFFFF", DFA34_minS: "\x07\uFFFF", DFA34_maxS: "&\uFFFF", DFA34_acceptS: "\uFFFF", DFA34_specialS: "\uFFFF}>", DFA34_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA34_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA34_eotS), DFA34_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA34_eofS), DFA34_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA34_minS), DFA34_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA34_maxS), DFA34_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA34_acceptS), DFA34_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA34_specialS), DFA34_transition: (function() { - var e3, t3 = [], i3 = r2.DFA34_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA34_transitionS[e3])); - return t3; - })() }), r2.DFA34 = function(e3) { - this.recognizer = e3, this.decisionNumber = 34, this.eot = r2.DFA34_eot, this.eof = r2.DFA34_eof, this.min = r2.DFA34_min, this.max = r2.DFA34_max, this.accept = r2.DFA34_accept, this.special = r2.DFA34_special, this.transition = r2.DFA34_transition; - }, org.antlr.lang.extend(r2.DFA34, org.antlr.runtime.DFA, { getDescription: function() { - return "165:38: ( datatype_access )?"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { DFA39_eotS: "\uFFFF", DFA39_eofS: "\uFFFF", DFA39_minS: "\uFFFF", DFA39_maxS: "%\uFFFF", DFA39_acceptS: "\uFFFF", DFA39_specialS: "\uFFFF}>", DFA39_transitionS: [" \uFFFF", " \uFFFF", "", "", ""] }), org.antlr.lang.augmentObject(r2, { DFA39_eot: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA39_eotS), DFA39_eof: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA39_eofS), DFA39_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA39_minS), DFA39_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(r2.DFA39_maxS), DFA39_accept: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA39_acceptS), DFA39_special: org.antlr.runtime.DFA.unpackEncodedString(r2.DFA39_specialS), DFA39_transition: (function() { - var e3, t3 = [], i3 = r2.DFA39_transitionS.length; - for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(r2.DFA39_transitionS[e3])); - return t3; - })() }), r2.DFA39 = function(e3) { - this.recognizer = e3, this.decisionNumber = 39, this.eot = r2.DFA39_eot, this.eof = r2.DFA39_eof, this.min = r2.DFA39_min, this.max = r2.DFA39_max, this.accept = r2.DFA39_accept, this.special = r2.DFA39_special, this.transition = r2.DFA39_transition; - }, org.antlr.lang.extend(r2.DFA39, org.antlr.runtime.DFA, { getDescription: function() { - return "180:1: datatype_property_access : ( ( WS )* FIELD_ACCESS_IDENTIFIER | ( WS )* FIELD_ACCESS_STRING_LITERAL | ( WS )* FIELD_ACCESS_UNQUOTED_STRING_LITERAL );"; - }, dummy: null }), org.antlr.lang.augmentObject(r2, { tokenNames: ["", "", "", "", "BOOL_TRUE", "BOOL_FALSE", "NOT_SET", "TERNARY_IF", "TERNARY_THEN", "OP_LOG_OR", "OP_LOG_AND", "OP_BIT_INCL_OR", "OP_BIT_AND", "OP_EQU", "OP_NEQ", "OP_GTE", "OP_LTE", "OP_GT", "OP_LT", "OP_PLUS", "OP_MINUS", "OP_MULT", "OP_DIV", "OP_MOD", "OP_POW", "WS", "OP_NOT", "OP_BIT_NOT", "PAREN_LEFT", "PAREN_RIGHT", "IDENTIFIER", "PERIOD", "UNQUOTED_STRING_LITERAL", "BRACKET_LEFT", "BRACKET_RIGHT", "FIELD_ACCESS_IDENTIFIER", "FIELD_ACCESS_STRING_LITERAL", "FIELD_ACCESS_UNQUOTED_STRING_LITERAL", "COMMA", "STRING_LITERAL", "BAD_ESCAPE_STRING_LITERAL", "INTEGER", "DECIMAL", "NON_SUPPORTED", "UNDERSCORE", "QUOTE", "BACKSLASH", "DOLLAR_SIGN", "DIGIT", "ECSCAPE_CHARS", "ESCAPE_SEQUENCE", "STRING_LITERAL_CONTENTS", "LETTER"], FOLLOW_expr_in_designerexpression129: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_ternary_if_then_in_expr146: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_log_op_or_in_ternary_if_then165: new org.antlr.runtime.BitSet([130, 0]), FOLLOW_TERNARY_IF_in_ternary_if_then175: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_log_op_and_in_ternary_if_then179: new org.antlr.runtime.BitSet([256, 0]), FOLLOW_TERNARY_THEN_in_ternary_if_then183: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_not_done_yet_are_ya_in_ternary_if_then187: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_log_op_and_in_ternary_if_then191: new org.antlr.runtime.BitSet([130, 0]), FOLLOW_log_op_and_in_log_op_or212: new org.antlr.runtime.BitSet([514, 0]), FOLLOW_OP_LOG_OR_in_log_op_or216: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_log_op_and_in_log_op_or221: new org.antlr.runtime.BitSet([514, 0]), FOLLOW_bitwise_or_in_log_op_and241: new org.antlr.runtime.BitSet([1026, 0]), FOLLOW_OP_LOG_AND_in_log_op_and246: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_bitwise_or_in_log_op_and251: new org.antlr.runtime.BitSet([1026, 0]), FOLLOW_bitwise_and_in_bitwise_or271: new org.antlr.runtime.BitSet([2050, 0]), FOLLOW_OP_BIT_INCL_OR_in_bitwise_or276: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_bitwise_and_in_bitwise_or281: new org.antlr.runtime.BitSet([2050, 0]), FOLLOW_equ_op_in_bitwise_and301: new org.antlr.runtime.BitSet([4098, 0]), FOLLOW_OP_BIT_AND_in_bitwise_and307: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_equ_op_in_bitwise_and312: new org.antlr.runtime.BitSet([4098, 0]), FOLLOW_comp_op_in_equ_op331: new org.antlr.runtime.BitSet([24578, 0]), FOLLOW_OP_EQU_in_equ_op337: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_NEQ_in_equ_op342: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_comp_op_in_equ_op347: new org.antlr.runtime.BitSet([24578, 0]), FOLLOW_add_sub_expr_in_comp_op366: new org.antlr.runtime.BitSet([491522, 0]), FOLLOW_OP_GTE_in_comp_op371: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_LTE_in_comp_op376: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_GT_in_comp_op381: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_LT_in_comp_op386: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_add_sub_expr_in_comp_op391: new org.antlr.runtime.BitSet([491522, 0]), FOLLOW_mul_div_mod_expr_in_add_sub_expr414: new org.antlr.runtime.BitSet([1572866, 0]), FOLLOW_OP_PLUS_in_add_sub_expr419: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_MINUS_in_add_sub_expr425: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_mul_div_mod_expr_in_add_sub_expr430: new org.antlr.runtime.BitSet([1572866, 0]), FOLLOW_pow_expr_in_mul_div_mod_expr453: new org.antlr.runtime.BitSet([14680066, 0]), FOLLOW_OP_MULT_in_mul_div_mod_expr458: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_DIV_in_mul_div_mod_expr463: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_MOD_in_mul_div_mod_expr468: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_pow_expr_in_mul_div_mod_expr472: new org.antlr.runtime.BitSet([14680066, 0]), FOLLOW_not_bitnot_expr_in_pow_expr495: new org.antlr.runtime.BitSet([16777218, 0]), FOLLOW_OP_POW_in_pow_expr499: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_pow_expr_in_pow_expr502: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_not_bitnot_expr529: new org.antlr.runtime.BitSet([234881024, 0]), FOLLOW_OP_NOT_in_not_bitnot_expr535: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_BIT_NOT_in_not_bitnot_expr540: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_not_bitnot_expr_in_not_bitnot_expr544: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_neg_expr_in_not_bitnot_expr558: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_neg_expr580: new org.antlr.runtime.BitSet([34603008, 0]), FOLLOW_OP_MINUS_in_neg_expr586: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_ws_primary_in_neg_expr590: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_ws_primary_in_neg_expr604: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_ws_primary622: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_primary_in_ws_primary627: new org.antlr.runtime.BitSet([33554434, 0]), FOLLOW_WS_in_ws_primary630: new org.antlr.runtime.BitSet([33554434, 0]), FOLLOW_PAREN_LEFT_in_primary646: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_expr_in_primary648: new org.antlr.runtime.BitSet([536870912, 0]), FOLLOW_PAREN_RIGHT_in_primary652: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_primary656: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_literal_in_primary666: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_variable_base_in_primary674: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_func_call_in_primary682: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_primary690: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_error_in_primary698: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_IDENTIFIER_in_variable_base724: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_property_access_in_variable_base728: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_PERIOD_in_variable_base735: new org.antlr.runtime.BitSet([0, 1]), FOLLOW_UNQUOTED_STRING_LITERAL_in_variable_base740: new org.antlr.runtime.BitSet([2, 2]), FOLLOW_not_done_yet_are_ya_in_variable_base744: new org.antlr.runtime.BitSet([2, 2]), FOLLOW_variable_collection_access_in_variable_base751: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_IDENTIFIER_in_name772: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_collection_access_in_variable_collection_access796: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_variable_collection_access800: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_datatype_property_access_in_datatype_access823: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_datatype_access827: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_collection_access_in_datatype_access838: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_datatype_access842: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_PERIOD_in_datatype_access855: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_IDENTIFIER_in_func_call879: new org.antlr.runtime.BitSet([301989888, 0]), FOLLOW_WS_in_func_call883: new org.antlr.runtime.BitSet([301989888, 0]), FOLLOW_func_parens_in_func_call888: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_func_call891: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_BRACKET_LEFT_in_collection_access915: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_expr_in_collection_access919: new org.antlr.runtime.BitSet([0, 4]), FOLLOW_BRACKET_RIGHT_in_collection_access923: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_collection_access927: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_datatype_property_access951: new org.antlr.runtime.BitSet([33554432, 8]), FOLLOW_FIELD_ACCESS_IDENTIFIER_in_datatype_property_access956: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_datatype_property_access966: new org.antlr.runtime.BitSet([33554432, 16]), FOLLOW_FIELD_ACCESS_STRING_LITERAL_in_datatype_property_access971: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_datatype_property_access981: new org.antlr.runtime.BitSet([33554432, 32]), FOLLOW_FIELD_ACCESS_UNQUOTED_STRING_LITERAL_in_datatype_property_access986: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_PAREN_LEFT_in_func_parens1012: new org.antlr.runtime.BitSet([2114977904, 3969]), FOLLOW_funcarglist_in_func_parens1014: new org.antlr.runtime.BitSet([536870912, 0]), FOLLOW_PAREN_RIGHT_in_func_parens1019: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_func_parens1023: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_expr_in_funcarglist1045: new org.antlr.runtime.BitSet([2, 64]), FOLLOW_COMMA_in_funcarglist1049: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_expr_in_funcarglist1053: new org.antlr.runtime.BitSet([2, 64]), FOLLOW_boolean_literal_in_literal1076: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_number_literal_in_literal1084: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_string_literal_core_in_literal1092: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_null_literal_in_literal1102: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_NOT_SET_in_null_literal1123: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_set_in_boolean_literal0: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_string_literal_in_string_literal_core1167: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_unquoted_string_literal_in_string_literal_core1176: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_bad_escape_string_literal_in_string_literal_core1186: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_UNQUOTED_STRING_LITERAL_in_unquoted_string_literal1203: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_STRING_LITERAL_in_string_literal1220: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_BAD_ESCAPE_STRING_LITERAL_in_bad_escape_string_literal1239: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_integer_expr_in_number_literal1256: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_decimal_expr_in_number_literal1264: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_INTEGER_in_integer_expr1281: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_DECIMAL_in_decimal_expr1298: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_NON_SUPPORTED_in_error1321: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_EOF_in_not_done_yet_are_ya1348: new org.antlr.runtime.BitSet([2, 0]) }), e2.exports = r2; - }, 36479: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(86991); - function o() { - } - o.prototype.connect = function(e3, t3) { - const i3 = n2.build(r2.connect); - return i3.content({ userIdentifier: e3, password: t3 }), i3.call(); - }, o.prototype.disconnect = function(e3) { - const t3 = n2.build(r2.disconnect); - return t3.templateParams({ id: e3 }), t3.call(); - }, e2.exports = new o(); - }, 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"]; - }, 36577: (e2, t2, i2) => { - const n2 = i2(52722), r2 = i2(66848); - function o() { - Object.defineProperties(this, { _knowledgeBase: { writable: true } }), this.title = void 0, o.baseConstructor.apply(this, arguments), this.name || (this.name = this.title); - } - n2.extend(o, "KnowledgeBaseDocument"), Object.defineProperties(o.prototype, { knowledgeBase: { get: function() { - return this._knowledgeBase; - }, set: function(e3) { - this._knowledgeBase = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 36742: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(39950).extend(n2, "ClipboardContentTaskModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, r2) { - n2._super.configure.apply(this, arguments); - } } }), 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.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); - }, t2.serviceListen = function(e3, t3) { - a.on(e3, t3); - }; - const n2 = i2(31635), r2 = i2(24434), o = n2.__importStar(i2(24032)), a = new r2.EventEmitter(); - a.setMaxListeners(500); - let s = 0; - function l(e3, ...t3) { - try { - s++, a.emit.apply(a, arguments); - } catch (t4) { - o.getTopic("events").exception(t4, "Exception during event emit for: " + e3); - } finally { - s > 0 && s--; + get journeyOutcomeScoreCollection() { + return r("cpx_journey_outcome_score"); } - } - t2.emitter = { emit(e3, ...t3) { - return l.apply(a, arguments); - }, on(e3, t3) { - return a.on.apply(a, arguments); - }, once(e3, t3) { - return a.once.apply(a, arguments); - }, removeListener(e3, t3) { - 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.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; - var n2 = i2(48051), r2 = i2(34891), o = i2(10281), a = i2(28619); - t2.scheduleIterable = function(e3, t3) { - return new n2.Observable(function(i3) { - var n3; - return a.executeSchedule(i3, t3, function() { - n3 = e3[r2.iterator](), a.executeSchedule(i3, t3, function() { - var e4, t4, r3; - try { - t4 = (e4 = n3.next()).value, r3 = e4.done; - } catch (e5) { - return void i3.error(e5); - } - r3 ? i3.complete() : i3.next(t4); - }, 0, true); - }), function() { - return o.isFunction(null == n3 ? void 0 : n3.return) && n3.return(); - }; - }); - }; - }, 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)), c = i2(80428), d = i2(1910), p = i2(47957); - class _ extends u.default { - constructor(e3) { - super(e3.parentFlow, e3), this.emergencyGroupManager = s.emergencyGroupManager; + get journeyPage() { + return o("cpx_journey_page"); } - _preDestroy() { - super._preDestroy(), this.emergencyGroupManager.tryRemoveItemFromFlowMetadata(this, this.emergencyGroupId); + get journeyReferrer() { + return o("cpx_journey_referrer"); } - get evaluateNow() { - return this.model.evaluateNow; + get journeySdkLibrary() { + return o("cpx_journey_sdk_library"); } - set evaluateNow(e3) { - this.model.evaluateNow = e3, this.setOutOfService(), e3 || l.validateAction(this, true); + get journeySegment() { + return o("cpx_journey_segment"); } - _loadModel(e3) { - super._loadModel(e3), this.setOutOfService(), !this.emergencyGroup.text && this.model.emergencyGroupName && this.model.emergencyGroupId && this.emergencyGroup.update(this.model.emergencyGroupName, this.model.emergencyGroupId), this.emergencyGroup.text && this.model.emergencyGroupName && delete this.model.emergencyGroupName, this.emergencyGroup.text && this.model.emergencyGroupId && delete this.model.emergencyGroupId; + get journeySegmentCollection() { + return r("cpx_journey_segment"); } - setOutOfService() { - this.evaluationDateTime.outOfService = this.evaluateNow; + get journeySession() { + return o("cpx_journey_session"); } - _initializeDesignTime() { - super._initializeDesignTime(), !this.emergencyGroupName && !this.emergencyGroupId || this.emergencyGroup.text || (this.emergencyGroup.update(this.emergencyGroupName, this.emergencyGroupId), this.emergencyGroupName = void 0, this.emergencyGroupId = void 0); + get journeySessionCollection() { + return r("cpx_journey_session"); } - getConfiguration(e3, t3) { - 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; + get journeySessionOutcomeAchievement() { + return o("cpx_journey_session_outcome_achievement"); } - static get managedProperties() { - 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)) }]; + get journeySessionOutcomeAchievementCollection() { + return r("cpx_journey_session_outcome_achievement"); } - 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"); + get journeySessionSegmentAssignment() { + return o("cpx_journey_session_segment_assignment"); } - _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); - } + get journeySessionSegmentAssignmentCollection() { + return r("cpx_journey_session_segment_assignment"); } - setEmergencyGroup(e3) { - this.emergencyGroup.update(null == e3 ? void 0 : e3.name, null == e3 ? void 0 : e3.id); + get json() { + return o("jsn"); } - get selectedEmergencyGroup() { - 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"); + get jsonCollection() { + return r("jsn"); } - } - _.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)), 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); + get knowledgeBaseDocument() { + return o("kbd"); } - static get branchInfo() { - return l.default.foundNotFound; + get knowledgeBaseDocumentCollection() { + return r("kbd"); } - getDetails() { - return this.externalId ? new o.ActionDetails([h.commonExternalContact.nameLabel], [u.getDisplayText(this.externalId)]) : null; + get knowledgeBaseDocumentCategory() { + return o("cpx_knowledge_base_document_category"); } - static get managedProperties() { - 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 }]; + get knowledgeBaseDocumentLabel() { + return o("cpx_knowledge_base_document_label"); } - } - 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; - const n2 = i2(31635), r2 = n2.__importDefault(i2(62100)), o = n2.__importDefault(i2(18048)), a = n2.__importDefault(i2(82630)), s = n2.__importDefault(i2(36019)), l = { ignoreBadResponse: true }; - t2.getGuides = s.default.request("GET", "{public-api.apps}/api/v2/guides", o.default, l), t2.getGuide = s.default.request("GET", "{public-api.apps}/api/v2/guides/{guideId}", r2.default, l), t2.getGuideVersion = s.default.request("GET", "{public-api.apps}/api/v2/guides/{guideId}/versions/{guideVersionId}", a.default, l); - }, 36843: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.inqueueEmailFlowListManager = t2.InqueueEmailFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(5896), o = i2(6109), a = i2(96618), s = i2(27862); - class l extends o.FlowListManager { - get dependencyType() { - return s.InqueueEmailFlow; + get knowledgeBaseDocumentLabelCollection() { + return r("cpx_knowledge_base_document_label"); } - constructor() { - super(), this.topic = n2.getTopic("InqueueEmailFlowListManager"), this.briefManager = r2.briefInQueueEmailFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeInQueueEmail }, this.className = "InqueueEmailFlowListManager", this.flowType = a.flowTypes.flowTypeInQueueEmail, this._rawServerCache = {}, this._initialize(); + get languageSkill() { + return o("lac"); } - } - 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 languageSkillCollection() { + return r("lac"); } - get _actionTypeId() { - return r2.getAssignedCustomerSegmentsActionType; + get lineItem() { + return o("lni"); } - get displayTypeName() { - return this._scriptingName; + get lineItemCollection() { + return r("lni"); } - get getAssignedCustomerSegmentsOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get listPicker() { + return o("lpk"); } - get isArchActionGetAssignedCustomerSegments() { - return true; + get listPickerItem() { + return o("lpi"); } - get externalContactId() { - return this._externalContactId; + get listPickerItemCollection() { + return r("lpi"); } - get segmentsToCheck() { - return this._segmentsToCheck; + get listPickerSection() { + return o("lps"); } - get assignedCustomerSegmentsResult() { - return this._assignedCustomerSegmentsResult; + get listPickerSectionCollection() { + return r("lps"); } - } - t2.default = a; - }, 36932: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.formSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(73324); - class s extends a.BaseBotActionSettingsSequence { - constructor() { - super("form"); + get messageAddressInfo() { + return o("cpx_message_address_info"); } - get noInputDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); - return this.generateLanguageSequenceConfig("FormNoInputDigitalBot", r2.builderIds.parts.markdownCommunication, e3); + get messageAddressInfoCollection() { + return r("cpx_message_address_info"); } - get noMatchDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); - return this.generateLanguageSequenceConfig("FormNoMatchDigitalBot", r2.builderIds.parts.markdownCommunication, e3); + get messageStickerInfo() { + return o("cpx_message_sticker_info"); } - } - 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.formSequences = new s(); - }, 36955: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { playUserNameActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _user: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.user.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.user.pasteResolveOldToNewValues(e3); - } }, user: { enumerable: true, get: function() { - return this._user; - }, set: function(e3) { - this._user = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 36967: (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(90077)); - class s extends a.default { - constructor(e3) { - super(e3), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._knowledgeSearchResult = this.coreFactory.createArchWrapper(e3.knowledgeSearchResult); + get messageStickerInfoCollection() { + return r("cpx_message_sticker_info"); } - get _actionTypeId() { - return r2.askForNLUIntentActionType; + get notSet() { + return o("nts"); } - get displayTypeName() { - return this._scriptingName; + get phoneNumber() { + return o("phn"); } - get isArchActionAskForIntent() { - return true; + get phoneNumberCollection() { + return r("phn"); } - get enableBargeIn() { - return this._enableBargeIn; + get prompt() { + return o("pmt"); } - get outputKnowledge() { - return this._getOutputById(o.outputIds.knowledge, true); + get promptCollection() { + return r("pmt"); } - get outputNoIntent() { - return this._getOutputById(o.outputIds.noIntent, true); + get queue() { + return o("que"); } - get outputMaxNoInputs() { - return this._getOutputById(o.outputIds.maxNoInputs, true); + get queueCollection() { + return r("que"); } - get knowledgeSearchResult() { - return this._knowledgeSearchResult; + get quickReplies() { + return o("qrl"); } - set knowledgeSearchResult(e3) { - this._knowledgeSearchResult = e3; + get responseAsset() { + return o("rpa"); } - } - t2.default = s; - }, 36977: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + get responseAssetCollection() { + return r("rpa"); } - return a; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.zipWith = void 0; - var o = i2(26749); - t2.zipWith = function() { - 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 schedule() { + return o("sch"); } - get dependencyType() { - return u.CustomerSegment; + get scheduleCollection() { + return r("sch"); } - _createItemViewModel(e3) { - return new s.CustomerSegmentViewModel(e3); + get scheduleGroup() { + return o("scg"); } - 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(); + get scheduleGroupCollection() { + return r("scg"); } - } - t2.briefCustomerSegmentManager = new c(); - }, 37007: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowExportSettingAvailability = void 0; - const n2 = i2(31635), r2 = i2(10798), o = n2.__importDefault(i2(4648)); - t2.FlowExportSettingAvailability = class { - static get yamlTrackingIdsCanBeExported() { - return (0, r2.isFeatureAvailable)(o.default.yamlTrackingIdFeature); + get shippingOption() { + return o("sho"); } - static getFlowExportSettingAvailabilityInfo() { - return { yaml: { trackingIdsCanBeExported: this.yamlTrackingIdsCanBeExported } }; + get shippingOptionCollection() { + return r("sho"); } - static hasConfigurableFlowExportSettings() { - return this.getFlowExportSettingAvailabilityInfo().yaml.trackingIdsCanBeExported; + get shortMessage() { + return o("cpx_short_message"); } - }; - }, 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), c = i2(20236), d = i2(47957), p = r2.getTopic("InQueueCallFlowSettingsViewModel"); - class _ extends l.default { - constructor(e3) { - super(e3, "inQueueCallFlowSettings", c), this.editor_testing_tag = "in-queue-settings"; + get shortMessageCollection() { + return r("cpx_short_message"); } - get id() { - return "inQueueSettings"; + get skill() { + return o("skl"); } - get helpTopic() { - return s.helpTopics.treeNodes.inQueueCallFlowSettings; + get skillCollection() { + return r("skl"); } - get className() { - return "InQueueCallFlowSettingsViewModel"; + get skillExpressionFilter() { + return o("jsn__architect::skill_expression_filter"); } - getDisplayName() { - return d.inQueueCallFlowSettings.label; + get skillExpressionFilterCollection() { + return r("jsn__architect::skill_expression_filter"); } - get isInQueueCallFlowSettingsNode() { - return true; + get string() { + return o("str"); } - loadConfiguration(e3) { - super.loadConfiguration(e3); + get stringCollection() { + return r("str"); } - static get managedProperties() { - 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 stringKeyValuePair() { + return o("cpx_string_key_value_pair"); } - get nodeGuxIcon() { - return "fa/gears-regular"; + get stringKeyValuePairCollection() { + return r("cpx_string_key_value_pair"); } - validate(e3) { - this.holdMusic.validate(e3); + get surveyAnswerOption() { + return o("sao"); } - get wrappedYamlName() { - return "settingsInQueueCall"; + get surveyAnswerOptionCollection() { + return r("sao"); } - _initializeDesignTime() { - if (super._initializeDesignTime(), this.holdMusic && this.holdMusic.isVariableMode) { - const e3 = a.getItem(this.holdMusic.val); - e3 ? this.holdMusic.updateFromConfigListManagerItem(e3) : this.holdMusic.update(this.holdMusic.text, this.holdMusic.val), p.info(`Migrated hold music '${this.id} to prompt literal`); - } - this.holdMusic.options.setAllowModeVariable(false); + get surveyForm() { + return o("sfo"); } - } - t2.default = _; - }, 37097: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.postDigitalBotFlowLaunch = function(e3, t3, i3, n3) { - const a = o.default.build(r2.postDigitalBotFlowLaunch); - return a.content({ channel: { inputModes: ["Text"], outputModes: ["Text"], name: "Messaging", userAgent: { name: "GenesysWebWidget" } }, externalSessionId: "", flow: { id: e3 }, inputData: { variables: i3 }, language: n3 || "" }), a.call(); - }, t2.postDigitalBotFlowTurns = function(e3, t3, i3, n3) { - const a = o.default.build(r2.postDigitalBotFlowTurns).templateParams({ sessionId: e3 }); - return a.content(i3), a.call(); - }; - const n2 = i2(31635), r2 = n2.__importStar(i2(80496)), o = n2.__importDefault(i2(36019)); - }, 37104: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - const a = (0, n2.default)(e3, t3, i3), s = new r2(); - s.name = o.actions.endWorkflow; - const l = a.flowSequenceItemList[0]; - return l.actionList = [s], l.startAction = s.id, a; - }; - const n2 = i2(31635).__importDefault(i2(42193)), r2 = i2(77315), o = i2(47957); - }, 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)), c = i2(47957), d = i2(27862), p = i2(51851); - class _ extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.flowMilestonesSearch; + get surveyQuestion() { + return o("squ"); } - get dependencyType() { - return d.FlowMilestone; + get surveyQuestionCollection() { + return r("squ"); } - 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 = 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(); + get surveyQuestionGroup() { + return o("sqg"); } - _createItemViewModel(e3) { - return new u.default(e3.id, e3.name); + get surveyQuestionGroupCollection() { + return r("sqg"); } - } - t2.MilestoneManager = _, t2.milestoneManager = new _(); - }, 37293: (e2, t2, i2) => { - const n2 = i2(7401), r2 = i2(14075), { transferExternalActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _externalNumber: { writable: true }, _releaseLinkTransfer: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.externalNumber.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalNumber.pasteResolveOldToNewValues(e3); - } }, externalNumber: { enumerable: true, get: function() { - return this._externalNumber; - }, set: function(e3) { - this._externalNumber = this.reviveItem(e3, n2); - } }, releaseLinkTransfer: { enumerable: true, get: function() { - return this._releaseLinkTransfer; - }, set: function(e3) { - this._releaseLinkTransfer = this.reviveItem(e3, n2); - } } }), e2.exports = a; - }, 37298: (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 time() { + return o("tim"); } - get _globalTypeName() { - return "decimalCollection"; + get timeCollection() { + return r("tim"); } - get displayTypeName() { - return "ArchVariableDecimalCollection"; + get timePicker() { + return o("tpk"); } - get initialValue() { - return this._initialValue; + get timeslot() { + return o("tsl"); } - get isArchVariableDecimalCollection() { - return true; + get timeslotCollection() { + return r("tsl"); } - } - 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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends s.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get userQueue() { + return o("usr"); } - static get branchInfo() { - return r2.default.successFailure; + get userQueueCollection() { + return r("usr"); } - } - 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 }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3), this._targetAddress = this.coreFactory.createArchWrapper(e3.targetAddress), this._inviteSubject = this.coreFactory.createArchWrapper(e3.inviteSubject), this._inviteBody = this.coreFactory.createArchWrapper(e3.inviteBody), this._reminderSubject = this.coreFactory.createArchWrapper(e3.reminderSubject), this._reminderBody = this.coreFactory.createArchWrapper(e3.reminderBody); + get utilizationLabel() { + return o("cul"); + } + get utilizationLabelCollection() { + return r("cul"); } - get _actionTypeId() { - return r2.completeSurveyActionType; + get video() { + return o("vid"); } - get targetAddress() { - return this._targetAddress; + get videoCollection() { + return r("vid"); } - get inviteSubject() { - return this._inviteSubject; + get voiceSnippet() { + return o("cpx_voice_snippet"); } - get inviteBody() { - return this._inviteBody; + get voicemailSnippet() { + return o("cpx_voicemail_snippet"); } - get reminderSubject() { - return this._reminderSubject; + get wheelPicker() { + return o("wpk"); } - get reminderBody() { - return this._reminderBody; + get wheelPickerItem() { + return o("wpi"); } - get displayTypeName() { - return this._scriptingName; + get wheelPickerItemCollection() { + return r("wpi"); } - get isArchActionCompleteSurveyInvite() { - return true; + get workbin() { + return o("cpx_workbin"); } - } - t2.default = a; - }, 37338: (e2, t2, i2) => { - const n2 = i2(79238); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "GroupList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - 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), c = i2(80496); - function d() { - } - d.prototype.checkIn = function(e3) { - const t3 = l.build(u.checkIn); - return t3.templateParams({ id: e3 }), t3.call(); - }, d.prototype.checkOut = function(e3) { - const t3 = l.build(u.checkOut); - return t3.templateParams({ id: e3 }), t3.call(); - }, 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(); - }, d.prototype.deleteFlow = function(e3) { - const t3 = l.build(u.deleteFlow); - return t3.templateParams({ id: e3 }), t3.call(); - }, d.prototype.deleteBulkFlows = function(e3) { - const t3 = l.build(u.deleteBulkFlows); - return t3.queryParams({ id: e3 }), t3.call(); - }, 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(); - }, 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(); - }, 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(); - }, d.prototype.getFlows = function(e3) { - e3 = e3 || {}; - const t3 = l.build(u.getFlows); - return t3.queryParams(e3.isConfigListSearchParams ? e3.getSearchQueryParams() : e3), t3.call(); - }, d.prototype.getFlowsDivisionViews = function(e3) { - const t3 = l.build(u.getFlowsDivisionViews); - return t3.queryParams(e3.getSearchQueryParams()), t3.call(); - }, 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(); - }, 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(); - }, d.prototype.publish = function(e3, t3) { - const i3 = l.build(u.publishAsync); - return i3.templateParams({ id: e3 }), t3 && i3.queryParams({ version: "default" }), i3.call(); - }, d.prototype.enableFlowDebug = function(e3, t3) { - const i3 = l.build(u.enableFlowDebug); - return i3.templateParams({ id: e3, version: t3 }), i3.call(); - }, d.prototype.revert = function(e3) { - const t3 = l.build(u.revert); - return t3.templateParams({ id: e3 }), t3.call(); - }, d.prototype.saveConfiguration = function(e3, t3) { - const i3 = l.build(u.saveConfiguration); - 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(); - }, d.prototype.unlock = function(e3) { - const t3 = l.build(u.unlock); - return t3.templateParams({ id: e3 }), t3.call(); - }, d.prototype.postHistoryRequest = function(e3) { - const t3 = l.build(u.postHistoryRequest); - return t3.templateParams({ id: e3 }), t3.call(); - }, 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(); - }, 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(); - }, 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(); - }, 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 d(); - }, 37414: (e2) => { - "use strict"; - e2.exports = function() { - this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false; - }; - }, 37417: (e2, t2, i2) => { - const n2 = i2(75458), { disconnectWorkitemActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - 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)), 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); + get workbinCollection() { + return r("cpx_workbin"); } - getDetails() { - return this.languageCode && this.languageCode.text ? new d.ActionDetails([f.actions.language], [this.languageCode.text]) : null; + get workitem() { + return o("cpx_workitem"); } - get amObjectEventSink() { - return true; + get workitemEventData() { + return o("jsn__architect::workitem_event_data"); } - objEvent_supportedLanguagesChanged() { - this._configureAllowableLanguageCodes(), u.validateAction(this, true, true); + get workitemEventRule() { + return o("jsn__architect::workitem_event_rule"); } - static get managedProperties() { - 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)) }]; + get worktypeStatus() { + return o("cpx_worktype_status"); } - initializeDesignTime() { - super.initializeDesignTime(), s.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this), this._configureAllowableLanguageCodes(), this.isSetLanguageWarningNoteApplicable(this.parentFlow) && (this.updateWarning.note = this.getSetLanguageWarningNote(this.parentFlow)); + get worktypeStatusCollection() { + return r("cpx_worktype_status"); } - getSetLanguageWarningNote(e3) { - return e3.isAutomateFlowType ? f.setLocale.warningAutomate : e3.isCommonModuleFlow || e3.isInQueueCallFlow || e3.isVoicemailFlow ? f.setLocale.warningImmediate : f.setLocale.warning; + get wrapupCode() { + return o("wrc"); } - isSetLanguageWarningNoteApplicable(e3) { - return !(e3.isNluFlow || e3.isSurveyInvite || e3.isWorkflow); + get wrapupCodeCollection() { + return r("wrc"); } - search(e3) { - if (super.search(e3), this.languageCode.text && this.languageCode.isLiteralMode) { - const t3 = l.getLanguageDisplayName(this.languageCode.text); - t3 && e3.checkText(this, t3, this.languageCode.label); + }(); + }, 47875(e2, t2) { + "use strict"; + t2.literalValidatorNames = void 0, t2.literalValidatorNames = { dialingCodes: "DialingCodes", iso4217: "ISO4217", phoneNumber: "PhoneNumber", supportedDigitalChannels: "SupportedDigitalChannels", supportedTTSLangs: "SupportedTTSLangs", timeZones: "TimeZones" }; + }, 59393(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.jsonParseItemFacet = void 0, t2.validateLiteralJson = function(e3, t3) { + let i3 = { errorText: null, errorPosition: null }; + return !(function(e4) { + let t4 = false; + const n3 = null == e4 ? void 0 : e4.replace(/\t/g, "").replace(/\n/g, "").replace(/ /g, ""); + return ("undefined" === e4 || "" === n3) && (t4 = true), t4 && (i3 = { errorText: o.json.genericError.jsonMustNotBeUndefinedOrBlank, errorPosition: null }), t4; + })(r2 = e3) && (function(e4) { + let t4 = true; + try { + JSON.parse(e4); + } catch (e5) { + !(function(e6) { + const t5 = new RegExp(" \\(line [0-9]+ column [0-9]+\\)"); + let r3 = null == e6 ? void 0 : e6.toString(); + if (!(null == r3 ? void 0 : r3.length)) return; + if (t5.test(r3)) { + const e7 = r3.match(t5)[0]; + r3 = r3.split(e7)[0]; + } + const a = r3.split(" "), s = a[a.length - 1], l = a[a.length - 2]; + let u = ""; + const c = { errorText: null, errorPosition: null }; + if (isNaN(parseInt(s)) || "position" !== l) if (u = r3, u.includes("Unexpected token")) { + const e7 = u.split("Unexpected token")[1].split(", ")[0]; + c.errorText = (0, n2.sprintf)(o.json.genericError.jsonUnexpectedToken, e7); + } else c.errorText = "SyntaxError: Unexpected end of JSON input" === u ? o.json.genericError.unexpectedEndOfJson : o.json.genericError.invalidJson; + else { + const e7 = parseInt(s); + switch (u = r3.split(" at position")[0], u) { + case "SyntaxError: Expected property name or '}' in JSON": + c.errorText = o.json.positionError.jsonExpectedPropNameOrClosingCurly; + break; + case "SyntaxError: Unterminated string in JSON": + c.errorText = o.json.positionError.jsonUnterminatedString; + break; + case "SyntaxError: Expected ':' after property name in JSON": + c.errorText = o.json.positionError.jsonExpectedColonAfterPropName; + break; + case "SyntaxError: Unexpected non-whitespace character after JSON": + c.errorText = o.json.positionError.jsonExpectedNonWhitespaceCharacter; + break; + case "SyntaxError: Expected ',' or '}' after property value in JSON": + c.errorText = o.json.positionError.jsonExpectedCommaOrClosingCurlyAfterPropValue; + break; + default: + c.errorText = o.json.positionError.jsonError; + } + c.errorPosition = e7; + } + i3 = c; + })(e5), t4 = false; } + return t4; + })(r2) ? { errorText: null, errorPosition: null } : i3; + var r2; + }, t2.validateLiteralJsonIsObject = function(e3) { + try { + const t3 = JSON.parse(e3); + if ("object" != typeof t3 || null === t3 || Array.isArray(t3)) return o.json.genericError.jsonMustBeObject; + } catch (e4) { } - _configureAllowableLanguageCodes() { - this.languageCode.options.facets.setAllowableValues(l.getLanguageEntries(this.parentFlow.languages.supportedLanguages)); + }, t2.getDisplayString = function(e3) { + if (e3.errorText || e3.errorCoordinates) { + if (!e3.errorCoordinates) return e3.errorText; + if (e3.errorCoordinates && e3.errorText) { + const t3 = (e3.errorCoordinates.line + 1).toString(), i3 = e3.errorCoordinates.ch.toString(); + return (0, n2.sprintf)(o.json.positionError.jsonErrorWithPosition, e3.errorText, (0, n2.sprintf)(o.json.positionError.jsonErrorPosition, t3, i3)); + } } - _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, f.setLocale.defaultLanguageError, void 0, true) : e4.addError(this.languageCode, f.setLocale.invalidLocale, void 0, true)); - }); + }; + const n2 = i2(17604), o = i2(47957); + var r; + !(function(e3) { + e3.propFacetAllowableValue = "propFacetAllowableValue", e3.propFacetRequiredProperties = "propFacetRequiredProperties", e3.propFacetMinItems = "propFacetMinItems", e3.propFacetMaxItems = "propFacetMaxItems", e3.propFacetMinLength = "propFacetMinLength", e3.propFacetMaxLength = "propFacetMaxLength", e3.propFacetMinValue = "propFacetMinValue", e3.propFacetMaxValue = "propFacetMaxValue", e3.propFacetReferencedObjectNotFound = "propFacetReferencedObjectNotFound"; + })(r || (t2.jsonParseItemFacet = r = {})); + }, 55656(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.SCHEME_TYPES = void 0, t2.splitRawPhoneNumber = u, t2.validateLiteralString = function(e3, i3) { + const n3 = i3 ? o.literal.phoneNumber.withExpressionLabel : o.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, r.sprintf)(n3.errorInvalidSipUri, i3) : a2.dialingCode ? a2.number ? e3.match(l) ? void 0 : (0, r.sprintf)(n3.errorInvalidNumber, i3) : (0, r.sprintf)(n3.errorNoNumber, i3) : (0, r.sprintf)(n3.errorNoDialingCode, i3) : (0, r.sprintf)(n3.errorNoSchemeType, i3); + }; + const n2 = i2(31635), o = i2(47957), r = 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; + if ("tel:" === e3.substring(0, 4) ? n3 = t2.SCHEME_TYPES.TEL : "sip:" === e3.substring(0, 4) ? n3 = t2.SCHEME_TYPES.SIP : "sips:" === e3.substring(0, 5) && (n3 = t2.SCHEME_TYPES.SIPS), n3 && (i3.schemeType = n3, e3 = e3.substring(n3.length)), n3 === t2.SCHEME_TYPES.TEL && "+" === e3.substring(0, 1)) { + let t3; + (e3 = e3.substring(1)).length && (t3 = a.dialingCodes[e3.substring(0, 1)], t3 || (t3 = a.dialingCodes[e3.substring(0, 2)], t3 || (t3 = a.dialingCodes[e3.substring(0, 3)]))), t3 && (i3.dialingCode = t3, e3 = e3.substring(t3.length)); + } + i3.number = e3; } + return i3; } - 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) => { + }, 2899(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(57382)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(91674); - class l extends r2.default { - constructor(e3) { - super(e3), this._evaluationDateTime = this.coreFactory.createArchWrapper(e3.evaluationDateTime), this._emergencyGroup = this.coreFactory.createArchWrapper(e3.emergencyGroup); - } - get displayTypeName() { - return "ArchBaseActionSchedule"; - } - get isArchBaseActionSchedule() { - return true; - } - get evaluateNow() { - return this._coreActionViewModel.evaluateNow; - } - set evaluateNow(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("value", "evaluateNow"), e3, false), this._coreActionViewModel.evaluateNow = e3; - } - get evaluationDateTime() { - return this._evaluationDateTime; + t2.propertyToLiteralResolverNames = void 0, t2.propertyToLiteralResolverNames = { propIDToCountryCode: "propIDToCountryCode", propIDToConversationType: "propIDToConversationType", propIDToCurrencyCode: "propIDToCurrencyCode", propIDToDialingCode: "propIDToDialingCode", propIDToLanguageTag: "propIDToLanguageTag", propIDToMessageBodyStyle: "propIDToMessageBodyStyle", propIDToSurveyDisposition: "propIDToSurveyDisposition", propIDToSendResponseBodyType: "propIDToSendResponseBodyType" }; + }, 83645(e2, t2, i2) { + "use strict"; + t2.AssignedCustomerIntentType = void 0; + const n2 = i2(80428), o = i2(94765), r = i2(53477); + class a extends o.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get emergencyGroup() { - return this._emergencyGroup; + get className() { + return "AssignedCustomerIntentType"; } - setEmergencyGroupByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupId", "setEmergencyGroupByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setEmergencyGroupByIdAsync"), t3, true), o.default.findItemByIdAsync(s.emergencyGroupManager, e3, "emergency group", "id").then((e4) => (this.logNote("found the emergency group named '" + e4.name + "' with ID of '" + e4.id + "'."), this._coreActionViewModel.setEmergencyGroup(e4), a.default.executeCallback(this, "setEmergencyGroupByIdAsync", t3, this))); + createExpressionOptionClass() { + return new r.ExpressionTypeAssignedCustomerIntentOptions(); } - setEmergencyGroupByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupName", "setEmergencyGroupByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setEmergencyGroupByNameAsync"), t3, true), o.default.findItemByValueAsync(s.emergencyGroupManager, e3, "emergency group", "name").then((e4) => (this.logNote("found the emergency group named '" + e4.name + "' with ID of '" + e4.id + "'."), this._coreActionViewModel.setEmergencyGroup(e4), a.default.executeCallback(this, "setEmergencyGroupByNameAsync", t3, this))); + get supportsLiteralEditor() { + return false; } } - t2.default = l; - }, 37647: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.KnowledgeAnswerContentType = void 0, (function(e3) { - e3.standard = "standard", e3.highlight = "highlight", e3.generative = "generative"; - })(i2 || (t2.KnowledgeAnswerContentType = i2 = {})); - }, 37661: (e2, t2, i2) => { + t2.AssignedCustomerIntentType = a, a.typeIdentifier = n2.expressionTypeNames.assignedCustomerIntent; + }, 42974(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(66978)), l = n2.__importDefault(i2(79200)); - class u extends l.default { - constructor(e3) { - super(e3); + t2.AssignedCustomerSegmentType = void 0; + const n2 = i2(80428), o = i2(94765), r = i2(72012); + class a extends o.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get _actionTypeId() { - return o.dataActionActionType; + get className() { + return "AssignedCustomerSegmentType"; } - get displayTypeName() { - return this._scriptingName; + createExpressionOptionClass() { + return new r.ExpressionTypeAssignedCustomerSegmentOptions(); } - get isArchActionCallData() { - return true; + get supportsLiteralEditor() { + return false; } - setDataActionByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("secureActionId", "setDataActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataActionByIdAsync"), t3, true), this._setIntegrationActionByIdAsync(e3, t3, "data"); + } + t2.AssignedCustomerSegmentType = a, a.typeIdentifier = n2.expressionTypeNames.assignedCustomerSegment; + }, 73545(e2, t2, i2) { + "use strict"; + t2.AudioType = void 0; + const n2 = i2(94765), o = i2(80428); + class r extends n2.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - setDataActionByNameAsync(e3, t3, i3) { - let n3; - return this._checkItemIsValidLiteralString(this._infoParm("dataActionName", "setDataActionByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataActionByNameAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("categoryName", "setDataActionByNameAsync"), i3, true), r2.default.isString(i3) && i3.length && (n3 = { category: i3 }), a.default.findItemByValueAsync(this._getCoreViewModel().serverManager, e3, "data action", "name", "name", n3).then(function(o2) { - return this.logNote(`Found partial info for the data action named '${o2.name}' (id: ${o2.id}) for the passed data action name of '${e3}'${r2.default.isUndefined(n3) ? "." : ` in the passed category name of '${i3}'.`} Getting full data action details.`), s.default.addPromise(this.setDataActionByIdAsync(o2.id, t3), "setDataActionByNameAsync"); - }.bind(this)); + getFlowTypesUnavailableForExpression(e3) { + if (!e3 || !e3.parentFlow) return; + const t3 = e3.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().filter((e4) => !this.isAvailableForFlowType(e4, true)); + return t3.length ? t3 : void 0; } } - t2.default = u; - }, 37675: (e2) => { - e2.exports = { leftToRight: "ltr", rightToLeft: "rtl" }; - }, 37687: (e2, t2, i2) => { + t2.AudioType = r, r.typeIdentifier = o.expressionTypeNames.audio; + }, 90342(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), 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); + t2.BaseTypeWithDate = void 0; + const n2 = i2(31635).__importDefault(i2(95093)), o = i2(24032), r = i2(94765), a = (0, o.getTopic)("BaseTypeWithDate"); + class s extends r.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - static get branchInfo() { - return o.default.foundPartiallyFoundNotFound; + get className() { + return "BaseTypeWithDate"; } - static get managedProperties() { - 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 }); + getParsedDate(e3, t3, i3) { + const o2 = n2.default.utc(e3); + if (!o2 || !o2.isValid()) { + const n3 = `Invalid date parsed in BaseTypeWithDate.getParsedDate for expression text '${e3}'`; + if (a.exceptionWithErrorObjectInfo(null, n3, t3, true), i3) throw n3; + } + return { year: o2.year(), month: o2.month() + 1, date: o2.date(), hours: o2.hours(), minutes: o2.minutes(), seconds: o2.seconds() }; } } - 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) => { + t2.BaseTypeWithDate = s; + }, 44521(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 c extends u.NameIdDescriptionModel { - constructor(e3) { - super(e3), (0, l.makeUnenumerable)(this, "_integrationType"); + t2.BasedOnChoicesType = t2.o = void 0; + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = i2(12847), s = i2(94765), l = i2(47957); + t2.o = "buttons"; + class u extends s.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get integrationType() { - return this._integrationType; + validateDuplicates(e3, t3) { + if (!t3) return (0, a.error)("no expression passed in to validateDuplicates"), true; + const i3 = this.getPossibleChoices(t3, true), n3 = {}; + r.default.each(i3, (e4) => { + var t4; + const i4 = null === (t4 = e4.type.getValueStr(e4)) || void 0 === t4 ? void 0 : t4.toLowerCase(); + if (i4) { + let t5 = n3[i4]; + t5 ? t5.push(e4) : (t5 = [e4], n3[i4] = t5); + } + }); + let s2 = true; + return r.default.each(n3, (t4) => { + (null == t4 ? void 0 : t4.length) > 1 && (s2 = false, r.default.each(t4, (t5, i4) => { + e3.addExpressionError(t5, (0, o.sprintf)(l.cardsAndCars.duplicatePostbackValue, t5.type.getPostbackValue(t5) || i4)); + })); + }), s2; } - set integrationType(e3) { - this._integrationType = this.reviveItem(e3, s.IntegrationType); + deleteButtonsChoiceAtIndex(e3, i3) { + var n3, o2, r2; + if (i3 < 0) return false; + const a2 = e3.getProperty(t2.o, true); + return (null === (n3 = null == a2 ? void 0 : a2.collectionItems) || void 0 === n3 ? void 0 : n3.items) && !a2.outOfService ? !(i3 < 0 || i3 >= (null === (r2 = null === (o2 = null == a2 ? void 0 : a2.collectionItems) || void 0 === o2 ? void 0 : o2.items) || void 0 === r2 ? void 0 : r2.length) || (a2.collectionItems.removeChild(a2.collectionItems.items[i3]), 0)) : void 0; } } - 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) => { + t2.BasedOnChoicesType = u; + }, 14375(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), 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"); + t2.BooleanType = void 0; + const n2 = i2(31635), o = i2(69453), r = 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); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this.abortMessage && this.abortMessage.pasteReIdOrRename(e3); + get className() { + return "BooleanType"; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this.abortMessage && this.abortMessage.pasteResolveOldToNewValues(e3); + _getLiteralValueOfExpression(e3) { + var t3; + switch (null === (t3 = e3.text) || void 0 === t3 ? void 0 : t3.toLowerCase()) { + case a.default.true: + case "1": + case "t": + return a.default.true; + case a.default.false: + case "0": + case "f": + return a.default.false; + default: + return ""; + } } - get abortMessage() { - return this._abortMessage; + createExpressionOptionClass() { + return new r.ExpressionTypeBooleanOptions(this.isCollection); } - set abortMessage(e3) { - this._abortMessage = this.reviveItem(e3, p.default); + getYamlObjectForLiteralSingleton(e3) { + return super.getYamlObjectForLiteralSingleton.apply(this, arguments), (null == e3 ? void 0 : e3.text) === a.default.true; } - get handlingType() { - return this._handlingType; + 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)(o.configureFromModel.unrecognizedLiteralValue, "boolean", JSON.stringify(t3))); + } } - set handlingType(e3) { - this._handlingType = this.reviveEnum(e3, d.default); + convertLitToCustomJsonStr(e3, t3, i3, n3) { + return i3 || t3; } } - 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) => { + t2.BooleanType = c, c.typeIdentifier = s.expressionTypeNames.boolean; + }, 82133(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(52852)), a = n2.__importDefault(i2(8471)); - class s extends a.default { - constructor() { - super(...arguments), this._hierarchyItems = []; + t2.CampaignType = void 0; + const n2 = i2(94765), o = i2(71056), r = i2(80428); + class a extends n2.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - static createContext() { - return new s(); + get className() { + return "CampaignType"; } - _addHierarchyItemPropAccess(e3, t3, i3) { - let n3 = this._hierarchyItems.length ? `${this.hierarchyStr}.${t3}` : `${e3.id ? e3.id : e3.logStr}.${t3}`; - r2.default.isUndefined(i3) || (n3 = `${n3}[${i3}]`); - const a2 = o.default.createObjectPropertyAccessItem(e3, t3, i3, n3); - return this._hierarchyItems.push(a2), this._hierarchyItemsModified(), a2; + canConvertLitToExpression(e3) { + return false; } - _popHierarchyItem() { - const e3 = this._hierarchyItems.pop(); - return this._hierarchyItemsModified(), e3; + createExpressionOptionClass() { + return new o.ExpressionTypeNetworkObjectOptions(); } - get hierarchy() { - return r2.default.clone(this._hierarchyItems); + } + t2.CampaignType = a, a.typeIdentifier = r.expressionTypeNames.campaign; + }, 47101(e2, t2, i2) { + "use strict"; + t2.CardType = t2.X$ = t2.q1 = t2.bx = t2.o_ = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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.o_ = "buttons", t2.bx = "description", t2.q1 = "image", t2.X$ = "title"; + const f = a.dataTypeLimits.cardDataType.properties.buttons.maxItems.count; + class T extends d.BasedOnChoicesType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get hierarchyStr() { - return r2.default.isUndefined(this._cachedHierarchyStr) && (this._cachedHierarchyStr = this._hierarchyItems.length ? this._hierarchyItems[this._hierarchyItems.length - 1].hierarchyStr : ""), this._cachedHierarchyStr; + get className() { + return "CardType"; } - get displayTypeName() { - return "ArchTraverseContext"; + canConvertLitToExpression(e3) { + return false; } - get isArchTraverseContext() { + convertLitToExpression(e3, t3, i3) { + return ""; + } + createExpressionOptionClass() { + return new r.ExpressionTypeCardOptions(); + } + get supportsLiteralEditor() { return true; } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrHierarchyStr(e3, this.hierarchyStr), this._createLogStrFromParts(e3); + containsSkipChoice(e3) { + var i3, n3; + return ((null === (n3 = null === (i3 = e3.getProperty(t2.o_)) || void 0 === i3 ? void 0 : i3.collectionItems) || void 0 === n3 ? void 0 : n3.items) || []).some((e4) => e4.type.isSkipChoice(e4)); } - _hierarchyItemsModified() { - this._cachedHierarchyStr = void 0; + getSkipChoiceButton(e3) { + var i3, n3; + return ((null === (n3 = null === (i3 = e3.getProperty(t2.o_)) || void 0 === i3 ? void 0 : i3.collectionItems) || void 0 === n3 ? void 0 : n3.items) || []).find((e4) => e4.type.isSkipChoice(e4)); } - } - t2.default = s; - }, 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)), 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 c.default(this)), this.emailSendSettings = this._addToAutoManageSettings(new u.default(this)); + getPropButtons(e3) { + return e3.getProperty(t2.o_); } - get className() { - return "EmailSendViewModel"; + getPropTitle(e3) { + return e3.getProperty(t2.X$); } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, a.scopes.email]; + getPropImage(e3) { + return e3.getProperty(t2.q1); } - get isEmailSendFlow() { - return true; + getPropDescription(e3) { + return e3.getProperty(t2.bx); } - getFlowConfigurationClass() { - return p; + _processButtons(e3, i3, n3) { + var r2; + if (!e3) return; + const a2 = e3.getProperty(t2.o_, true), s2 = this.containsSkipChoice(e3); + a2 && (i3 || !a2.outOfService || s2) && o.default.each(null === (r2 = a2.collectionItems) || void 0 === r2 ? void 0 : r2.items, (e4) => { + try { + n3(e4); + } catch (e5) { + } + }); } - get overrideWireFlowConfiguration() { - return _.getEmailSendFlowConfiguration; + removeInvalidNluDiffButtonChoices(e3, t3, i3) { + var n3; + if (!e3 || !t3) return; + const o2 = null === (n3 = e3.type.getPropButtons(e3)) || void 0 === n3 ? void 0 : n3.collectionItems; + if (!o2) return; + let r2 = false; + for (let e4 = o2.items.length - 1; e4 >= 0; e4--) { + const n4 = o2.items[e4]; + n4.type.isInvalidNluChoice(n4, t3) && (i3 && (i3.invalidSlotTypeValuesRemoved || (i3.invalidSlotTypeValuesRemoved = []), i3.invalidSlotTypeValuesRemoved.push(n4.type.getManagedSlotTypeValue(n4))), o2.removeChild(n4), r2 = true); + } + return r2 ? { cardChoicesAreEmpty: r2 } : void 0; } - get overrideWireFlowVersionConfiguration() { - return _.getVersionEmailSendFlowConfiguration; + canUserDelete(e3) { + return this.getPossibleChoices(e3).every((e4) => e4.type.canUserDelete(e4)); } - get type() { - return r2.flowTypes.flowTypeEmailSend; + 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(c.globalTypes.carousel, s.settings.exact)) return true; } - get wrappedYamlName() { - return "emailSend"; + deleteChoiceAtIndex(e3, t3) { + return this.deleteButtonsChoiceAtIndex(e3, t3); } - setNewInstanceDefaults(e3) { - return this.errorHandling.handlingType = o.default.AbortSend, super.setNewInstanceDefaults(e3); + validateLiteral(e3, t3) { + return this.validateDuplicates(e3, t3) && super.validateLiteral(e3, t3); } - } - t2.default = h; - }, 37830: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeQueueOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + getPossibleChoices(e3, t3, i3) { + const n3 = []; + return e3 ? (this._processButtons(e3, i3, (e4) => { + t3 && !e4.type.isPostbackChoice(e4) || n3.push(e4); + }), n3) : n3; + } + isUnknownAtDesignTime(e3) { + if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; + const i3 = e3.getProperty(t2.o_, true); + return !i3 || i3.outOfService; + } + getHasAtLeastOnePostbackChoice(e3) { + var i3; + if (this.isUnknownAtDesignTime(e3)) return; + const n3 = e3.getProperty(t2.o_, true); + if (!n3 || n3.outOfService) return; + let r2, a2; + return o.default.find(null === (i3 = n3.collectionItems) || void 0 === i3 ? void 0 : i3.items, (e4) => { + const t3 = e4.type.getHasPostbackValue(e4); + if (t3) return a2 = true, e4; + (o.default.isUndefined(t3) || e4.type.isUnknownAtDesignTime(e4)) && (r2 = true); + }), !!a2 || !!r2 && void 0; + } + getPossibleChoiceCount(e3, t3, i3) { + let n3 = 0; + return e3 && this._processButtons(e3, i3, (e4) => { + t3 && !e4.type.isPostbackChoice(e4) || (n3 += 1); + }), n3; + } + couldHaveUnknownPostbackValue(e3) { + if (!e3 || e3.outOfService) return false; + if (!e3.isLiteralMode) return true; + const i3 = e3.getProperty(t2.o_, true); + return !i3 || !!o.default.find(i3.collectionItems.items, (e4) => e4.type.couldHaveUnknownPostbackValue(e4)); + } + createCard(e3, i3, n3) { + const r2 = e3.collectionItems.createItem(null, null, e3.options); + return o.default.isString(i3) && r2.getProperty(t2.X$).setAsLiteral(i3), o.default.isString(n3) && r2.getProperty(t2.bx).setAsLiteral(n3), r2; + } + _ensureButtonsIsLiteral(e3, i3, n3) { + const o2 = e3.getProperty(t2.o_); + if (o2) { + if (o2.mode !== l.literal) { + if (!i3) return; + o2.mode = l.literal, o2.removeAll(); + } + if (!(n3 && o2.collectionItems.items.length >= f)) return o2; + } } - constructor(e3) { - super(e3); + addChoiceForPostbackValue(e3, t3, i3, n3) { + if (!e3 || e3.outOfService || !e3.isLiteralMode || !t3) return; + const o2 = this._ensureButtonsIsLiteral(e3, n3, true); + if (!o2) return; + const r2 = p.ChoiceType.createPostbackChoice(t3, i3, e3.parentFlow, e3.parent); + return o2.collectionItems.addItem(r2), r2; } - get className() { - return "ExpressionTypeQueueOptions"; + addChoiceClonedFromChoice(e3, t3, i3) { + if (!e3 || e3.outOfService || !e3.isLiteralMode || !t3) return; + const n3 = this._ensureButtonsIsLiteral(e3, i3, true); + if (!n3) return; + const o2 = t3.tempClone(); + return n3.collectionItems.addItem(o2), o2; } - get isExpressionTypeQueueOptions() { + updateAllowableValues(e3, t3) { + this._processButtons(e3, false, (e4) => { + e4.type.updateAllowableValues(e4, t3); + }); + } + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.q1: + n3.options.setIsOptional(true), n3.options.setModeNoValueRuntimeEvaluationStr(g.cardsAndCars.cardType.noImageRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(g.cardsAndCars.cardType.noImage), n3.options.setDefaultToNoValue(true), n3.options.setIninTestingField("card-image"); + break; + case t2.X$: + n3.options.setModeNoValueRuntimeEvaluationStr(g.cardsAndCars.cardType.noTitleRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(g.cardsAndCars.cardType.noTitle), n3.options.setDoNotTransitionToNoValue(true), n3.options.setIninTestingField("card-title"); + break; + case t2.bx: + n3.options.setIsOptional(true), n3.options.setModeNoValueRuntimeEvaluationStr(g.cardsAndCars.cardType.noDescriptionRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(g.cardsAndCars.cardType.noDescription), n3.options.setDoNotTransitionToNoValue(true), n3.options.setIninTestingField("card-description"); + break; + case t2.o_: + n3.options.setIninTestingField("card-buttons"), n3.options.setValueChangedCallback((e4) => { + const t3 = null == e4 ? void 0 : e4.propertyParent; + t3 && this._updateCardPropertiesOOS(t3); + }); + } + } + get hasRichLiteralEditor() { return true; } - } - t2.ExpressionTypeQueueOptions = r2; - }, 37852: (e2, t2, i2) => { - const n2 = i2(46205), { callBotFlowActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 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)), 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; + _hasDisabledSkipChoice(e3) { + var t3; + const i3 = this.getPropButtons(e3); + if (!(null == i3 ? void 0 : i3.isLiteralMode)) return false; + const n3 = (null === (t3 = i3.collectionItems) || void 0 === t3 ? void 0 : t3.items) || []; + for (const e4 of n3) if (e4.type.isSkipDisabled(e4)) return true; + return false; } - _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); - e3._checkItemIsValidLiteralString(_, i3); - const h = e3._infoParm("type", t3); - e3._checkItem(h, !n3 || !n3.isArchDataType, "The data type must be an ArchDataType instance."); - const m = e3._infoParm("description", t3); - e3._checkItemIsValidLiteralString(m, r3, true); - const g = e3._infoParm("forceSlotVariableCreation", t3); - 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 ? 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(), 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); + getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { + if (this._hasDisabledSkipChoice(e3)) { + const n4 = new m.default(); + return n4.serializeOutOfService = true, super.getYamlObjectForLiteralSingleton(e3, t3, i3, n4); } - { - 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); + return super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3); + } + _updateCardPropertiesOOS(e3) { + var t3; + if (!(null == e3 ? void 0 : e3.isLiteralMode)) return; + const i3 = this.getPropImage(e3); + if (!i3) return; + const n3 = this.getPropButtons(e3); + if (!n3 || !n3.isLiteralMode) return; + let o2 = false; + const r2 = (null === (t3 = n3.collectionItems) || void 0 === t3 ? void 0 : t3.items) || []; + for (const e4 of r2) if (e4.type.isSkipDisabled(e4)) { + o2 = true; + break; } + this.getPropTitle(e3).outOfService = o2, this.getPropDescription(e3).outOfService = o2, i3.outOfService = o2, n3.outOfService = o2; } - _removeVariable(e3, t3) { - const i3 = t3._getCoreViewModel(); - 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.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; + handleSkipItem(e3) { + const t3 = this.getSkipChoiceButton(e3), i3 = this.isCarouselLimitExceeded(e3); + t3 && !t3.type.isSkipDisabled(t3) && i3 && (t3.type.setSkipDisabled(t3, true), (0, _.fireEvent)(t3, h.expressionValueChanged), this._updateCardPropertiesOOS(e3)); + const n3 = !t3 || !t3.type.isSkipDisabled(t3); + return { isSkipChoice: !!t3, skipEnabled: n3, isLimitExceeded: i3 }; } - _checkVariableContainer(e3, t3) { - const i3 = this._infoCalledObject(this, e3); - this._checkItem(i3, !this.isVariableContainer, "The " + this.displayTypeName + " is not a variable container." + (t3 ? " " + t3 : "")); + updateSkipToggle(e3, t3) { + var i3, n3, o2, r2; + this.isCarouselLimitExceeded(e3) || (null === (r2 = null === (o2 = null === (n3 = null === (i3 = null == e3 ? void 0 : e3.properties) || void 0 === i3 ? void 0 : i3.buttons) || void 0 === n3 ? void 0 : n3.collectionItems) || void 0 === o2 ? void 0 : o2.items) || void 0 === r2 || r2.forEach((e4) => { + e4.type.setSkipDisabled(e4, !t3), (0, _.fireEvent)(e4, h.expressionValueChanged); + }), this._updateCardPropertiesOOS(e3)); } - get displayTypeName() { - return "ArchBaseCoreObjectWithId"; + isCarouselLimitExceeded(e3) { + var t3, i3, n3, o2, r2, s2, l2, u2; + return !!this.isInCarousel(e3) && (null === (u2 = null === (l2 = null === (s2 = null === (r2 = null === (o2 = null === (n3 = null === (i3 = null === (t3 = null == e3 ? void 0 : e3.parent) || void 0 === t3 ? void 0 : t3.chooser) || void 0 === i3 ? void 0 : i3.properties) || void 0 === n3 ? void 0 : n3.carousel) || void 0 === o2 ? void 0 : o2.properties) || void 0 === r2 ? void 0 : r2.cards) || void 0 === s2 ? void 0 : s2.collectionItems) || void 0 === l2 ? void 0 : l2.items) || void 0 === u2 ? void 0 : u2.length) > a.dataTypeLimits.carouselDataType.properties.cards.maxItems.count; } - get id() { - return this._coreViewModelWithId.id; + useCustomExpressionEditor(e3) { + if (null == e3 ? void 0 : e3.parentList) return true; } - get idMayBeBlank() { - return this._allowBlankObjectId; + } + t2.CardType = T, T.typeIdentifier = u.expressionTypeNames.card; + }, 85889(e2, t2, i2) { + "use strict"; + t2.CarouselType = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); } - get _allowBlankObjectId() { + get className() { + return "CarouselType"; + } + canConvertLitToExpression(e3) { return false; } - get isArchBaseObjectWithId() { - return true; + convertLitToExpression(e3, t3, i3) { + return ""; } - } - t2.default = d; - }, 38142: (e2, t2, i2) => { - "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(65485)); - class a extends o.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.question), "f"); + deleteChoiceAtIndex(e3, t3) { + if (t3 < 0) return false; + let i3 = false; + return this._processCards(e3, false, (e4) => { + if (!i3) { + const n3 = e4.type.getPossibleChoiceCount(e4); + t3 >= n3 ? t3 -= n3 : t3 >= 0 && (i3 = e4.type.deleteChoiceAtIndex(e4, t3), t3 = -1); + } + }), i3; } - get displayTypeName() { - return "ArchBaseActionAskNoInputNoMatch"; + createExpressionOptionClass() { + return new u.ExpressionTypeCarouselOptions(); } - get isArchBaseActionAskNoInputNoMatch() { + get supportsLiteralEditor() { return true; } - get question() { - return r2.__classPrivateFieldGet(this, n2, "f"); + getPropCards(e3) { + return e3.getProperty(g); } - } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = a; - }, 38170: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(94147)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _processCards(e3, t3, i3) { + var n3; + if (!e3) return; + const r2 = e3.getProperty(g, true); + !r2 || !t3 && r2.outOfService || o.default.each(null === (n3 = r2.collectionItems) || void 0 === n3 ? void 0 : n3.items, (e4) => { + try { + i3(e4); + } catch (e5) { + } + }); } - get displayTypeName() { - return "ArchStateBot"; + couldHaveUnknownPostbackValue(e3) { + if (!e3 || e3.outOfService) return false; + if (!e3.isLiteralMode) return true; + const t3 = e3.getProperty(g, true); + return !t3 || !!o.default.find(t3.collectionItems.items, (e4) => e4.type.couldHaveUnknownPostbackValue(e4)); } - get isArchStateBot() { - return true; + isUnknownAtDesignTime(e3) { + if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; + const t3 = e3.getProperty(g, true); + return !t3 || t3.outOfService; } - } - t2.default = r2; - }, 38185: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.bridgeCategoryManager = t2.BridgeCategoryManager = void 0; - const n2 = i2(31635), r2 = i2(24032), o = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(58300), l = i2(82185); - class u extends o.default { - get requiredAuth() { - return a.externalAuthorizations.authStrings.bridgeActionView; + getHasAtLeastOnePostbackChoice(e3) { + var t3; + if (this.isUnknownAtDesignTime(e3)) return; + const i3 = e3.getProperty(g, true); + if (!i3 || i3.outOfService) return; + let n3, r2; + return o.default.find(null === (t3 = i3.collectionItems) || void 0 === t3 ? void 0 : t3.items, (e4) => { + const t4 = e4.type.getHasAtLeastOnePostbackChoice(e4); + if (t4) return r2 = true, e4; + (o.default.isUndefined(t4) || e4.type.isUnknownAtDesignTime(e4)) && (n3 = true); + }), !!r2 || !!n3 && void 0; } - constructor() { - super(), this.topic = (0, r2.getTopic)("BridgeCategoryManager"), this._rawServerCache = {}, this.caseSensitiveIds = true, this.apiCallList = s.getCategories, this.apiCallSingle = void 0, this.noApiCallSingle = true, this.dependencyContext = null, this.className = "BridgeCategoryManager", this.suppressSearch = true, this._initialize(); + getPossibleChoices(e3, t3, i3) { + let n3 = []; + return e3 ? (this._processCards(e3, i3, (e4) => { + const i4 = e4.type.getPossibleChoices(e4, t3); + o.default.isArray(i4) && i4.length && (n3 = n3.concat(i4)); + }), n3) : n3; } - _createItemViewModel(e3) { - return new l(e3); + resetCards(e3) { + const t3 = e3.getProperty(g); + if (t3) return t3.mode = d.literal, t3.removeAll(), t3; } - } - t2.BridgeCategoryManager = u, t2.bridgeCategoryManager = new u(); - }, 38249: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.archHandlingTypeConversion = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(15244)), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(8471)); - class s extends a.default { - getArchEnumHandlingForCoreHandling(e3) { - switch (e3) { - case r2.default.AbortSend: - return o.default.EVENTS_FLOW_ERROR_HANDLING.abortSend; - case r2.default.CompleteSend: - return o.default.EVENTS_FLOW_ERROR_HANDLING.completeSend; - case r2.default.Disconnect: - return o.default.EVENTS_FLOW_ERROR_HANDLING.disconnect; - case r2.default.EndFlow: - return o.default.EVENTS_FLOW_ERROR_HANDLING.endFlow; - case r2.default.EndInQueueState: - return o.default.EVENTS_FLOW_ERROR_HANDLING.endInQueueState; - case r2.default.EndWorkflow: - return o.default.EVENTS_FLOW_ERROR_HANDLING.endWorkflow; - case r2.default.Exit: - return o.default.EVENTS_FLOW_ERROR_HANDLING.exit; - case r2.default.Menu: - return o.default.EVENTS_FLOW_ERROR_HANDLING.jumpToMenu; - case r2.default.Queue: - return o.default.EVENTS_FLOW_ERROR_HANDLING.transferToQueue; - case r2.default.State: - return o.default.EVENTS_FLOW_ERROR_HANDLING.changeState; - case r2.default.Task: - return o.default.EVENTS_FLOW_ERROR_HANDLING.jumpToTask; - case r2.default.Continue: - return o.default.EVENTS_FLOW_ERROR_HANDLING.continue; - default: - this._logErrorInternalAndThrow(`unknown core handling type '${e3}' passed to ArchHandlingTypeConversion#getArchEnumHandlingForCoreHandling.`); + _ensureCardsIsLiteral(e3, t3, i3) { + const n3 = e3.getProperty(g); + if (n3) { + if (n3.mode !== d.literal) { + if (!t3) return; + n3.mode = d.literal, n3.removeAll(); + } + if (!(i3 && n3.collectionItems.items.length >= f)) return n3; } } - getCoreHandlingTypeForEnum(e3) { - switch (e3) { - case o.default.EVENTS_FLOW_ERROR_HANDLING.abortSend: - return r2.default.AbortSend; - case o.default.EVENTS_FLOW_ERROR_HANDLING.completeSend: - return r2.default.CompleteSend; - case o.default.EVENTS_FLOW_ERROR_HANDLING.changeState: - return r2.default.State; - case o.default.EVENTS_FLOW_ERROR_HANDLING.disconnect: - return r2.default.Disconnect; - case o.default.EVENTS_FLOW_ERROR_HANDLING.endFlow: - return r2.default.EndFlow; - case o.default.EVENTS_FLOW_ERROR_HANDLING.endInQueueState: - return r2.default.EndInQueueState; - case o.default.EVENTS_FLOW_ERROR_HANDLING.endWorkflow: - return r2.default.EndWorkflow; - case o.default.EVENTS_FLOW_ERROR_HANDLING.exit: - return r2.default.Exit; - case o.default.EVENTS_FLOW_ERROR_HANDLING.jumpToMenu: - return r2.default.Menu; - case o.default.EVENTS_FLOW_ERROR_HANDLING.transferToQueue: - return r2.default.Queue; - case o.default.EVENTS_FLOW_ERROR_HANDLING.jumpToTask: - return r2.default.Task; - case o.default.EVENTS_FLOW_ERROR_HANDLING.continue: - return r2.default.Continue; - default: - this._logErrorInternalAndThrow(`the error handling type value '${e3}' was properly added to the ArchEnums.EVENTS_FLOW_ERROR_HANDLING but no support for it was added to the internal ArchHandlingTypeConversion#getCoreHandlingTypeForEnum function in Architect Scripting. :(`); - } + addCard(e3, t3, i3, n3) { + const o2 = this._ensureCardsIsLiteral(e3, n3, true); + if (!o2 || o2.outOfService || !o2.isLiteralMode) return; + const r2 = o2.type.singletonType.createCard(o2, t3, i3); + return o2.collectionItems.addItem(r2), r2; } - findHandlingTypeForValue(e3, i3) { - const n3 = t2.archHandlingTypeConversion.getCoreHandlingTypeForEnum(i3).value; - return !!e3.find((e4) => e4.value === n3); + configureFromChoices(e3, t3, i3, n3, r2) { + if (!this.resetCards(e3)) return; + let s2, u2 = 0, c2 = 0; + const d2 = r2 === _.slotTypeValueMergeMode.asIndividualValues ? 1 : l.dataTypeLimits.cardDataType.properties.buttons.maxItems.count; + o.default.each(t3, (t4) => { + 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()}`)); + }); } - } - t2.archHandlingTypeConversion = new s(); - }, 38296: (e2, t2, i2) => { - "use strict"; - 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.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 { - } - const a = new o(); - o.prototype.getValidationResults = function(e3, t3) { - return n2.build(r2.getValidationResults).templateParams({ flowId: e3, operationId: t3 }).call(); - }, o.prototype.postValidationManifest = function(e3, t3) { - return n2.build(r2.postValidationManifest).content(t3).queryParams({ flow: e3.id, flowType: e3.type }).call(); - }, e2.exports = a; - }, 38416: (e2, t2, i2) => { - "use strict"; - var n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = i2(80295), s = o.__importDefault(i2(48)), l = i2(58996); - class u extends l { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_commonModuleFlowSettings"); + applyNluDiffs(e3, t3, i3, n3) { + var a2; + let s2 = n3 && t3 && !t3.outOfService; + const l2 = this._ensureCardsIsLiteral(t3); + if (l2 && !l2.outOfService && l2.isLiteralMode || (s2 = false), s2) { + if (n3.invalidPostbackValueChoices) { + const t4 = l2.collectionItems; + for (let i4 = t4.items.length - 1; i4 >= 0; i4--) { + const o2 = t4.items[i4]; + (null === (a2 = null == o2 ? void 0 : o2.type.removeInvalidNluDiffButtonChoices(o2, n3, e3)) || void 0 === a2 ? void 0 : a2.cardChoicesAreEmpty) && t4.removeChild(o2); + } + } + o.default.each(n3.missingSlotTypeValues, (n4) => { + if (!n4) return; + let o2; + switch (i3) { + case _.slotTypeValueMergeMode.asIndividualValues: { + const e4 = this.addCard(t3, (0, r.sprintf)(m.cardsAndCars.carouselType.defaultCardTitle, l2.collectionItems.items.length + 1)); + e4 && (o2 = e4.type.addChoiceForPostbackValue(e4, n4, true)); + break; + } + case _.slotTypeValueMergeMode.asStackedValues: { + let e4; + if (l2.collectionItems.items.length && (e4 = l2.collectionItems.items[l2.collectionItems.items.length - 1], o2 = e4.type.addChoiceForPostbackValue(e4, n4, false), !o2)) { + const e5 = this.addCard(t3); + e5 && (o2 = e5.type.addChoiceForPostbackValue(e5, n4, true)); + } + break; + } + } + o2 && (e3.missingSlotTypeValuesAdded || (e3.missingSlotTypeValuesAdded = []), e3.missingSlotTypeValuesAdded.push(n4)); + }); + } } - get commonModuleFlowSettings() { - return this._commonModuleFlowSettings; + updateAllowableValues(e3, t3) { + this._processCards(e3, false, (e4) => { + e4.type.updateAllowableValues(e4, t3); + }); } - set commonModuleFlowSettings(e3) { - this._commonModuleFlowSettings = e3; + configurePropertyCreationParams(e3, t3, i3) { + var n3; + if (super.configurePropertyCreationParams(e3, t3, i3), (null === (n3 = t3.name) || void 0 === n3 ? void 0 : n3.toLowerCase()) === g) { + const e4 = i3.options; + e4.setMaxItems(f), e4.setMinItems(T), e4.setIninTestingField("carousel-cards"); + } } - } - t2.default = u, 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", ["function" == typeof (r2 = void 0 !== s.default && s.default) ? r2 : Object])], u.prototype, "commonModuleFlowSettings", null), l.extend(u, "CommonModuleFlowConfiguration"); - }, 38422: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + initializeDesignTime(e3) { + super.initializeDesignTime(e3); + const t3 = this.getPropCards(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); } - get _globalTypeName() { - return "externalAppleInfoCollection"; + validateLiteral(e3, t3) { + let i3 = super.validateLiteral(e3, t3); + if (i3 && false === this.getHasAtLeastOnePostbackChoice(t3)) { + i3 = false; + const n3 = t3.getProperty(g, true); + e3.addExpressionError(n3 || t3, m.carouselType.carouselErrorAddAtLeastOnePostbackButton); + } + return i3; } - get displayTypeName() { - return "ArchValueExternalAppleInfoCollection"; + _setCardCount(e3) { + const t3 = this.getPropCards(e3); + let i3; + e3.isLiteralMode && t3.isLiteralMode && (i3 = `${t3.collectionItems.length} / ${l.dataTypeLimits.carouselDataType.properties.cards.maxItems.count}`), e3.options.setSubLabel(i3); } - get isArchValueExternalAppleInfoCollection() { + get hasRichLiteralEditor() { return true; } } - t2.default = r2; - }, 38551: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.KnowledgeVersionValues = void 0, (function(e3) { - e3.v2 = "v2", e3.v3 = "v3"; - })(i2 || (t2.KnowledgeVersionValues = i2 = {})); - }, 38557: (e2, t2, i2) => { + t2.CarouselType = y, y.typeIdentifier = h.expressionTypeNames.carousel; + }, 1492(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(11210)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(26151)), l = i2(30801); - class u extends o.default { - constructor(e3) { - super(e3), this._estimatedWaitTime = this.coreFactory.createArchValueFromExpression(e3.estimatedWaitTime), this._estimatedWaitTimeAudio = this.coreFactory.createArchWrapper(e3.prompts)._setNotWritableOverride(true), this._roundingInterval = this.coreFactory.createArchWrapper(e3.roundingInterval), this._specificRoundingIntervals = this.coreFactory.createArchWrapper(e3.specificRoundingIntervals); - } - get _actionTypeId() { - return l.playEstimatedWaitTimeActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get estimatedWaitTime() { - return this._estimatedWaitTime; + t2.ChoiceType = t2.MANAGED_SLOT_TYPE_VALUE = t2.Q5 = t2.pH = t2.$w = t2.Zo = t2.Kp = t2.bH = t2.Em = t2.ChoiceTypeCommands = void 0; + const n2 = i2(31635), o = i2(17604), r = 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.Em = "command", t2.bH = "label", t2.Kp = "value", t2.Zo = "type", t2.$w = "postback", t2.pH = "url", t2.Q5 = "referenceId", t2.MANAGED_SLOT_TYPE_VALUE = "managedSlotTypeValue"; + class N extends T.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get estimatedWaitTimeAudio() { - return this._estimatedWaitTimeAudio; + get className() { + return "ChoiceType"; } - get isArchActionPlayEstimatedWaitTime() { + get isChoiceType() { return true; } - get playbackMode() { - switch (this._coreActionViewModel.playbackMode) { - case s.default.about: - return a.default.PLAY_ESTIMATED_WAIT_STYLES.about; - case s.default.exact: - return a.default.PLAY_ESTIMATED_WAIT_STYLES.exact; - case s.default.lessThan: - return a.default.PLAY_ESTIMATED_WAIT_STYLES.lessThan; - case s.default.range: - return a.default.PLAY_ESTIMATED_WAIT_STYLES.range; - default: - this._logErrorInternalAndThrow("unknown core estimated wait time playback mode"); - } + canConvertLitToExpression(e3) { + return false; } - set playbackMode(e3) { - switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newPlaybackMode", "playbackMode"), e3, a.default.PLAY_ESTIMATED_WAIT_STYLES_ALL), this.logNote("setting the playback mode to '" + e3 + "'"), e3) { - case a.default.PLAY_ESTIMATED_WAIT_STYLES.about: - this._coreActionViewModel.playbackMode = s.default.about; - break; - case a.default.PLAY_ESTIMATED_WAIT_STYLES.exact: - this._coreActionViewModel.playbackMode = s.default.exact; - break; - case a.default.PLAY_ESTIMATED_WAIT_STYLES.lessThan: - this._coreActionViewModel.playbackMode = s.default.lessThan; - break; - case a.default.PLAY_ESTIMATED_WAIT_STYLES.range: - this._coreActionViewModel.playbackMode = s.default.range; - } + convertLitToExpression(e3, t3, i3) { + return ""; } - get roundingInterval() { - return this._roundingInterval; + getYamlObjectForLiteralSingleton(e3, i3, n3, o2) { + var r2; + const a2 = super.getYamlObjectForLiteralSingleton(e3, i3, n3, o2); + return y.isFeatureAvailable(S.default.botFlowsSupportDontKnowAnswers) && (null === (r2 = a2.command) || void 0 === r2 ? void 0 : r2.lit) === t2.ChoiceTypeCommands.SKIP ? this.isSkipDisabled(e3) ? a2.skipDisabled = true : delete a2.skipDisabled : (delete a2.command, delete a2.skipDisabled), a2; } - get specificRoundingIntervals() { - const e3 = []; - return this.supportsSpecificRoundingIntervals ? (r2.default.each(this._specificRoundingIntervals._getCoreViewModel().items, (t3) => { - e3.push(this.coreFactory.createArchWrapper(t3)); - }), e3) : e3; + static createExpressionOptionClass() { + return new s.ExpressionTypeChoiceOptions(); } - get specificRoundingIntervalsCount() { - return this.specificRoundingIntervals.length; + createExpressionOptionClass() { + return new s.ExpressionTypeChoiceOptions(); } - addSpecificRoundingInterval() { - this.supportsSpecificRoundingIntervals || this.logErrorAndThrow(`cannot add a specific rounding interval when the playback mode is set to '${this.playbackMode}'. ${this.logStr}`); - const e3 = this._getCoreViewModel().specificRoundingIntervals.items, t3 = e3.length; - if (this._getCoreViewModel().addSpecificInterval(), e3.length > t3) return this.coreFactory.createArchWrapper(e3[e3.length - 1]); + get supportsLiteralEditor() { + return true; } - getSpecificRoundingIntervalByIndex(e3) { - const t3 = this._infoPropSet("index", "getSpecificRoundingIntervalByIndex"); - return this._validateSpecificRoundingIntervalByIndex(t3, e3), this.coreFactory.createArchWrapper(this._getCoreViewModel().specificRoundingIntervals.items[e3]); + isSkipChoice(e3) { + var i3; + return (null === (i3 = e3.getProperty(t2.Em)) || void 0 === i3 ? void 0 : i3.text) === t2.ChoiceTypeCommands.SKIP; } - deleteSpecificRoundingIntervalByIndex(e3) { - const t3 = this._infoPropSet("index", "deleteSpecificRoundingIntervalByIndex"); - this._validateSpecificRoundingIntervalByIndex(t3, e3); - const i3 = this._getCoreViewModel().specificRoundingIntervals.items[e3]; - i3 && (this.logNoteVerbose(`deleting specific rounding interval at index: ${e3}.`), this._getCoreViewModel().specificRoundingIntervals.removeChild(i3), this.logNote(`deleted the specific rounding interval at index ${e3}.`)); + isSkipDisabled(e3) { + var t3; + return !!e3 && true === (null === (t3 = this.getPropCommand(e3)) || void 0 === t3 ? void 0 : t3.getUiMetaData("skipDisabled")); } - get supportsSpecificRoundingIntervals() { - return this._getCoreViewModel().supportsSpecificRoundingIntervals(); + setSkipDisabled(e3, t3) { + var i3; + e3 && (this.getPropCommand(e3).outOfService = t3, null === (i3 = this.getPropCommand(e3)) || void 0 === i3 || i3.setUiMetaData("skipDisabled", t3)); } - _validateSpecificRoundingIntervalByIndex(e3, t3) { - this._checkItemIsValidLiteralInt(e3, t3, false), this._checkItem(e3, t3 < 0 || t3 >= this.specificRoundingIntervalsCount, `the index parameter value of '${t3}' is invalid. It must be >= 0 and <${this.specificRoundingIntervalsCount}.`); + getPropCommand(e3) { + return e3.getProperty(t2.Em); } - } - t2.default = u; - }, 38590: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(84783)), a = n2.__importDefault(i2(38689)); - class s extends o.default { - get displayTypeName() { - return "ArchFactoryStates"; + getPropLabel(e3) { + return e3.getProperty(t2.bH); } - get logStr() { - return this._createLogStrFromParts(["ArchFactoryStates"]); + getPropValue(e3) { + return e3.getProperty(t2.Kp); } - get isArchFactoryStates() { - return true; + getPropType(e3) { + return null == e3 ? void 0 : e3.getProperty(t2.Zo); } - addState(e3, t3, i3) { - const n3 = this._infoParm("archBaseFlow", "addState"); - this._checkItem(n3, !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItem(n3, !e3.definition.supportsMultipleStates, `the flow type '${e3.flowType}' does not support states.`), this._checkItemIsValidLiteralString(this._infoParm("name", "addState"), t3, true), this._checkItemIsValidLiteralBool(this._infoParm("setAsStartingState", "addState"), i3, true), i3 && this._checkItem(n3, !e3.definition.startUpObjectCanBeState, `a state cannot be the startup object for the flow type '${e3.flowType}'.`); - const o2 = e3._getCoreViewModel().createState(); - r2.default.isString(t3) && t3.length && (o2.name = t3); - const s2 = a.default.createArchWrapper(o2); - return i3 && e3.setStartingState(s2), s2; + getLiteralPropValue(e3) { + const t3 = this.getPropValue(e3); + return (null == t3 ? void 0 : t3.isLiteralMode) ? t3 : void 0; } - } - t2.default = new s(); - }, 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), 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"; - })(F || (t2.ParseItemProcessingMode = F = {})), (function(e3) { - e3.archExpression = "archExpression", e3.archLiteral = "archLiteral", e3.boolean = "boolean", e3.null = "null", e3.number = "number", e3.string = "string"; - })(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, 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: 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: {} }; + getLiteralPropType(e3) { + const t3 = this.getPropType(e3); + return (null == t3 ? void 0 : t3.isLiteralMode) ? t3 : void 0; } - _getNodeText(e3, t3) { - var i3; - return e3 ? null === (i3 = this._sourceText) || void 0 === i3 ? void 0 : i3.substring(e3.from, e3.to) : t3; + getValueStr(e3) { + const t3 = this.getLiteralPropValue(e3); + return null == t3 ? void 0 : t3.text; } - _arrayItemsRequirePrefixSeparator() { - return !!this._languageCharacteristics.arrayItemPrefixSeparator; + couldHaveUnknownPostbackValue(e3) { + if (!e3 || e3.outOfService) return false; + if (!e3.isLiteralMode) return true; + const i3 = e3.getProperty(t2.Zo); + if (!(null == i3 ? void 0 : i3.isLiteralMode)) return true; + if (i3.text !== t2.$w) return false; + const n3 = e3.getProperty(t2.Kp); + return !!n3 && !n3.isLiteralMode; } - _propertyValuesRequirePrefixSeparator() { - return !!this._languageCharacteristics.objectPropertyNameValueSeparator; + isUnknownAtDesignTime(e3) { + return !(null == e3 ? void 0 : e3.isLiteralMode); } - get stack() { - return this._stack; + isValueUnknownAtDesignTime(e3) { + var t3; + return this.isUnknownAtDesignTime(e3) || !(null === (t3 = this.getPropValue(e3)) || void 0 === t3 ? void 0 : t3.isLiteralMode); } - get currentParseItem() { - return 0 === this._stack.length ? this._rootParseItem : this._stack[this._stack.length - 1]; + isTypeUnknownAtDesignTime(e3) { + var t3; + return this.isUnknownAtDesignTime(e3) || !(null === (t3 = this.getPropType(e3)) || void 0 === t3 ? void 0 : t3.isLiteralMode); } - getExpressionConfigVal() { - if (this.isParseItemComplete(this.currentParseItem) && (!this._parseResult.errorItems.length || this._parseForUiOnly)) return this._rootParseItem.configVal; + getTypeStr(e3) { + const t3 = this.getLiteralPropType(e3); + return null == t3 ? void 0 : t3.text; } - isParseItemArray(e3) { - return (null == e3 ? void 0 : e3.mode) === F.array; + isPostbackChoice(e3) { + return e3 && this.getTypeStr(e3) === t2.$w; } - isParseItemComplete(e3) { - return (null == e3 ? void 0 : e3.mode) === F.complete; + isUrlChoice(e3) { + return e3 && this.getTypeStr(e3) === t2.pH; } - isParseItemObjectOrArray(e3) { - return this.isParseItemObject(e3) || this.isParseItemArray(e3); + 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, c.settings.exact)) return true; } - isParseItemObject(e3) { - return (null == e3 ? void 0 : e3.mode) === F.object; + 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, 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; } - isParseItemObjectPropertyValue(e3) { - return (null == e3 ? void 0 : e3.mode) === F.objectPropertyValue; + getContainer(e3) { + var t3, i3, n3, o2; + 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 === (o2 = null === (n3 = e3.parentList) || void 0 === n3 ? void 0 : n3.propertyParent) || void 0 === o2 ? void 0 : o2.type.isMatch(_.globalTypes.card, c.settings.exact)) ? e3.parentList.propertyParent : void 0; } - _binarySearchLineStartPosIdx(e3) { - let t3 = 0, i3 = this._sourceTestLineStartPosLen; - for (; t3 <= i3; ) { - const n3 = Math.floor((t3 + i3) / 2); - if (this._sourceTextLineStartPos[n3] === e3) return n3; - if (this._sourceTextLineStartPos[n3] < e3) { - if (this._sourceTextLineStartPos[n3 + 1] > e3 || n3 + 1 === this._sourceTestLineStartPosLen) return n3; - t3 = n3 + 1; - } else i3 = n3 - 1; - } + _getChooser(e3) { + var t3; + return null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.chooser; } - getLineAndCharPosForPosition(e3, t3) { - const i3 = this._binarySearchLineStartPosIdx(e3); - return { lineNo: i3, charPos: e3 - this._sourceTextLineStartPos[i3] + (t3 ? 1 : 0) }; + _hasSlotTypeChooserParent(e3) { + const t3 = this._getChooser(e3); + return !!t3 && t3.type.getIsSlotOrSlotTypeChooser(t3); } - getParseItemFromLineInfo(e3, t3) { - if (e3) return this.getLineAndCharPosForPosition(e3.nodeFrom, t3); + getIsEnabled(e3) { + return null == e3 ? void 0 : e3.model.isEnabled; } - getParseItemToLineInfo(e3, t3) { - if (e3) return this.getLineAndCharPosForPosition(e3.nodeTo, t3); + setIsEnabled(e3, t3) { + e3 && t3 !== e3.model.isEnabled && (e3.model.isEnabled = t3); } - getParseItemLineInfo(e3, t3) { - if (e3) return { from: this.getParseItemFromLineInfo(e3, t3), to: this.getParseItemToLineInfo(e3, t3) }; + getReferenceId(e3) { + return null == e3 ? void 0 : e3.getUiMetaData(t2.Q5); } - addParseResultItem(e3, t3, i3, n3, r3, o2, a2, s2) { - 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 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 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}`); + setReferenceId(e3, i3) { + e3 && e3.setUiMetaData(t2.Q5, i3); } - _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; + getRuntimeLabelStr(e3, i3) { + var n3, o2, r2, a2, s2, l2, u2, c2; + if (!e3) return; + const p2 = this.getPropValue(e3); + let _2, h2, m2; + if (e3.type.isPostbackChoice(e3)) { + m2 = true; + const t3 = e3.type.getValueStr(e3); + if (t3) { + const i4 = this._getChooser(e3); + if (i4) { + const e4 = i4.type.getSlotTypeName(i4); + if (e4) { + let u3; + if ((null === (o2 = null === (n3 = i4.parentFlow) || void 0 === n3 ? void 0 : n3.flowViewFilterOptions) || void 0 === o2 ? void 0 : o2.enabled) && (u3 = null === (r2 = i4.parentFlow) || void 0 === r2 ? void 0 : r2.flowViewFilterOptions.language), u3 || (u3 = null === (s2 = null === (a2 = i4.parentFlow) || void 0 === a2 ? void 0 : a2.defaultLanguage) || void 0 === s2 ? void 0 : s2.toLowerCase()), u3 && (h2 = null === (l2 = i4.parentFlow) || void 0 === l2 ? void 0 : l2.nluMetaData.getEntityTypeValueLabelForLanguage(e4, t3, u3), h2 && (_2 = h2, _2))) return _2; + } + if (!_2) switch (i4.type.getValueSourceType(i4)) { + case g.VALUE_SOURCE_TYPE_SLOT: + case f.VALUE_SOURCE_TYPE_SLOT_TYPE: + m2 = false; + } + } + } + } else m2 = e3.type.isUrlChoice(e3); + if (m2 && !_2) { + const i4 = e3.getProperty(t2.bH); + 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 === (c2 = null == p2 ? void 0 : p2.options) || void 0 === c2 ? void 0 : c2.getModeNoValueRuntimeEvaluationStr(p2)), _2; } - _parseItemStr(e3) { - return `Item: ${e3.mode} - ${this._getNodeText(e3.node)}`; + getPossibleStringFacetValue(e3, i3) { + if (e3.type.getTypeStr(e3) === t2.$w) { + const t3 = this.getValueStr(e3); + if (t3) return { id: t3, displayString: i3 && this.getRuntimeLabelStr(e3, false) || t3 }; + } } - _updateLastAssignedForNode(e3) { - if (!this._currentObjectOrArray) return; - this._currentObjectOrArray.lastAssigned = { text: this._getNodeText(e3), from: e3.from, to: e3.to }; - const t3 = this._currentObjectOrArray.lastAssigned; - switch (e3.type.name) { - case s.CodeArchitectJsonParserToken.ArchitectExpressionContent: - for (; "}" !== this._sourceText[t3.to] && "}" !== this._sourceText[t3.to + 1] && t3.to < this._sourceText.length; ) t3.to = t3.to + 1; - for (t3.to = t3.to + 2; "{" !== this._sourceText[t3.from - 1] && "{" !== this._sourceText[t3.from] && t3.from >= 0; ) t3.from = t3.from - 1; - t3.from = t3.from - 2; - break; - case s.CodeArchitectJsonParserToken.ArchitectLiteralContent: - for (; "]" !== this._sourceText[t3.to] && "]" !== this._sourceText[t3.to + 1] && t3.to < this._sourceText.length; ) t3.to = t3.to + 1; - for (t3.to = t3.to + 2; "[" !== this._sourceText[t3.from - 1] && "[" !== this._sourceText[t3.from] && t3.from >= 0; ) t3.from = t3.from - 1; - t3.from = t3.from - 2; + getHasPostbackValue(e3) { + if ((null == e3 ? void 0 : e3.isLiteralMode) && this.getTypeStr(e3) === t2.$w) { + const t3 = this.getValueStr(e3); + return (null == t3 ? void 0 : t3.length) > 0; } } - _checkCanAddNewParseItem(e3, t3) { - return !(this._parseResult.items.length > 0 && !this._stack.length && (this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue()), 1)); + getPostbackValue(e3) { + if (this.getTypeStr(e3) === t2.$w) { + const t3 = this.getValueStr(e3); + if (t3) return t3; + } } - _checkCanPopParseItem() { - return this._stack.length > 0; + updateAllowableValues(e3, t3) { + var i3, n3, o2, r2; + if (!e3) return; + const a2 = this.getPropValue(e3); + a2 && a2.isLiteralMode && (!e3.type.isPostbackChoice(e3) || e3.type.isSkipChoice(e3) ? null === (r2 = null === (o2 = a2.options) || void 0 === o2 ? void 0 : o2.facets) || void 0 === r2 || r2.setAllowableValues(void 0) : null === (n3 = null === (i3 = a2.options) || void 0 === i3 ? void 0 : i3.facets) || void 0 === n3 || n3.setAllowableValues(t3)); } - _checkNotAlreadyDone(e3) { - const t3 = this.currentParseItem; - if (!this.isParseItemComplete(t3)) return t3; - this.addParseResultItem(t3, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpectedAfterValue(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); + getIsSlotOrSlotTypeChoice(e3) { + if (!this._hasSlotTypeChooserParent(e3)) return false; + const t3 = this.isPostbackChoice(e3); + return !t3 || e3.type.getIsManagedSlotTypeValueChoice(e3) || e3.type.isSkipChoice(e3) || (0, l.warn)("we have a choice that is a postback but not managed for a NLU. Bah!"), t3; } - _checkType(e3, t3, i3) { - var n3, r3; - switch (e3.mode) { - 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; + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.bH: + n3.options.setIninTestingField("choice-label"); break; - 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; + case t2.Kp: + n3.options.setIninTestingField("choice-value"); + break; + case t2.Em: + n3.options.setValueChangedCallback((e4) => { + const t3 = null == e4 ? void 0 : e4.propertyParent; + t3 && this._updateOOS(t3); + }); + break; + case t2.Zo: + n3.options.setIninTestingField("choice-type"), n3.options.setValueChangedCallback((e4) => { + const i4 = null == e4 ? void 0 : e4.propertyParent; + if (!i4) return; + const n4 = i4.type.getIsSlotOrSlotTypeChoice(i4), o3 = i4.getProperty(t2.bH); + o3 && (o3.outOfService = n4); + const r2 = i4.getProperty(t2.Kp); + switch (i4.type.getTypeStr(i4)) { + case t2.pH: + r2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoUrlValue); + break; + case t2.$w: + n4 ? r2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoSlotTypeValue) : r2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoPostbackValue); + break; + default: + r2.options.setModeNoValueRuntimeEvaluationStr(A.cardsAndCars.choiceNoPostbackValue); + } + }); } } - _checkTypeCompatibility(e3, t3, i3, n3) { - 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); + validateLiteral(e3, t3) { + return !t3 || (!this.hasQuickRepliesParent(t3) || t3.type.isPostbackChoice(t3) || t3.type.isTypeUnknownAtDesignTime(t3) ? super.validateLiteral(e3, t3) : (e3.addExpressionError(t3, (0, o.sprintf)(A.cardsAndCars.choiceType.choiceInQuickReplyMustBePostback, t3.type.getTypeStr(t3))), 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)(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})}}`)); + _updateOOS(e3) { + if (!e3.isLiteralMode) return; + (this.hasQuickRepliesParent(e3) || this._hasSlotTypeChooserParent(e3) && this.hasCarouselParent(e3)) && (e3.getProperty(t2.Zo).outOfService = true); + const i3 = e3.getProperty(t2.Em); + if (i3 && y.isFeatureAvailable(S.default.botFlowsSupportDontKnowAnswers)) { + const n4 = true === i3.getUiMetaData("skipDisabled"); + i3.outOfService = n4 || i3.text !== t2.ChoiceTypeCommands.SKIP, i3.text === t2.ChoiceTypeCommands.SKIP && this._hasSlotTypeChooserParent(e3) && this.hasCarouselParent(e3) && (this.getPropValue(e3).options.setLabelOverride(""), this.getPropType(e3).setAsLiteral(t2.$w)); + } else y.isFeatureAvailable(S.default.botFlowsSupportDontKnowAnswers) || (i3.text = "none", i3.outOfService = true); + const n3 = e3.getProperty(t2.bH); + if (n3) { + const t3 = this.isSkipChoice(e3); + 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; } - return n3; } - _popContainerFromStack(e3, t3) { - return !!this._popParseItem(t3) && (e3 = this.currentParseItem, !this.isParseItemObjectPropertyValue(e3) || !!this._popParseItem(t3)); + propertiesCreatedForThisTypeInstance(e3) { + var i3; + this.setIsEnabled(e3, true); + const n3 = e3.getProperty(t2.bH); + null === (i3 = null == n3 ? void 0 : n3.options) || void 0 === i3 || i3.setAllowedBuilderCategoryIdFilter(u.builderCategoryIds.labelString); } - _popParseItem(e3) { - var t3; - 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, 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)) { - this._currentObjectOrArray = t4; - break; - } + static createPostbackChoice(e3, i3, n3, o2) { + const r2 = N.createExpressionOptionClass(), s2 = new a.default(), l2 = new h.ExpressionParameters(n3, o2, s2); + l2.type = _.globalTypes.choice, l2.options = r2; + const u2 = new m.NormalExpression(l2); + return u2.type.getPropValue(u2).setAsLiteral(e3), u2.type.getPropType(u2).setAsLiteral(t2.$w), i3 && u2.setUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE, e3), o2.initializeDesignTimeCalled && u2.initializeDesignTime(), u2; + } + setAsPostbackOrUrlValue(e3, i3, n3) { + if (!i3) return; + const o2 = i3.getProperty(t2.Zo, true); + if (!o2) return; + const r2 = i3.getProperty(t2.Kp, true); + r2 && (o2.setText(e3), (null == n3 ? void 0 : n3.length) && (r2.setText(n3), i3.type.getIsSlotOrSlotTypeChoice(i3) && e3 === t2.$w && i3.setUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE, n3))); + } + getIsManagedSlotTypeValueChoice(e3) { + return !r.default.isUndefined(e3.getUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE)); + } + canUserDelete(e3) { + return !this.getIsManagedSlotTypeValueChoice(e3); + } + createChoiceFromChoiceViewModel(e3, i3, n3) { + var o2, s2, l2, u2; + 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 === (o2 = g2.getProperty(t2.Zo)) || void 0 === o2 || o2.setAsLiteral(t2.$w), r.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.bH); + if (e4) { + const t3 = n3.label.config; + try { + n3.label.config = void 0, e4.copyExpressionValue(n3.label); + } finally { + n3.label.config = t3; } - this._currentObjectOrArray && (this._currentObjectOrArray.hasSeparator = false), this._updateLastAssignedForNode(e3); } - return 0 === this._stack.length && (this._rootParseItem.mode = F.complete), i3; } - this._rootParseItem.mode === F.root && (this._rootParseItem.mode = F.complete); - } - addAssignArchitectExpr(e3, t3) { - return this._assignArchitectValue(e3, t3, L.archExpression); + return g2.type.setReferenceId(g2, n3.model.referenceId), i3.initializeDesignTimeCalled && g2.initializeDesignTime(), g2; } - addAssignArchitectLiteral(e3, t3) { - return this._assignArchitectValue(e3, t3, L.archLiteral); + initializeDesignTime(e3) { + e3.isLiteralMode && this._hasSlotTypeChooserParent(e3) && this.hasCarouselParent(e3) && !this.getIsManagedSlotTypeValueChoice(e3) && !this.isTypeUnknownAtDesignTime(e3) && (this.getPropType(e3).setAsLiteral(t2.pH), this.getPropValue(e3).options.setLabelOverride(A.cardsAndCars.choiceUrlValue)), this._updateOOS(e3); } - _isIncompleteObjectPropertyValue(e3) { + useCustomExpressionEditor(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; + if (this.hasQuickRepliesParent(e3) || (null === (i3 = null === (t3 = e3.parentList) || void 0 === t3 ? void 0 : t3.propertyParent) || void 0 === i3 ? void 0 : i3.type) === _.globalTypes.card) return true; } - _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)); + isInvalidNluChoice(e3, t3) { + if (!e3 || !t3) return false; + const i3 = e3.type.getManagedSlotTypeValue(e3); + if (!i3) return false; + const n3 = t3.invalidPostbackValueChoices[i3]; + return (null == n3 ? void 0 : n3.length) >= 1; } - addPropertyAssignment(e3, t3) { - var i3, n3; - this._closeIncompleteObjectPropertyValueIfNeeded(e3); - const r3 = this._checkNotAlreadyDone(e3); - if (!r3) return false; - 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) ? 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, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(null === (n3 = r3.type) || void 0 === n3 ? void 0 : n3.displayString).addWhat(D.codeEditor.properties.propertyNamesCannotBeBlank)); + getManagedSlotTypeValue(e3) { + return null == e3 ? void 0 : e3.getUiMetaData(t2.MANAGED_SLOT_TYPE_VALUE); } - addPropertyValueSeparator(e3, t3) { - const i3 = this._checkNotAlreadyDone(e3); - return !(!i3 || !this.isParseItemObjectPropertyValue(i3) || t3 !== this._languageCharacteristics.objectPropertyNameValueSeparator || (i3.propertyValuePrefixSeparatorAdded = true, 0)); + get hasRichLiteralEditor() { + return true; } - addArrayItemStartSeparator(e3, t3) { - const i3 = this._checkNotAlreadyDone(e3); - return !(!i3 || !this.isParseItemArray(i3) || t3 !== this._languageCharacteristics.arrayItemPrefixSeparator || (i3.arrayItemPrefixSeparatorAdded = true, 0)); + } + t2.ChoiceType = N, N.typeIdentifier = p.expressionTypeNames.choice; + }, 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), o = i2(68694), r = 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), I = i2(92457), C = 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 O = "valueSourceType", b = "valueSourceValue", E = { chooserNoChoicesConfiguredForSlotTypeValues: C.cardsAndCars.expression.chooserNoChoicesConfiguredForSlotTypeValues, chooserInvalidChoiceValueForSlotTypeExpressionMode: C.cardsAndCars.expression.chooserInvalidChoiceValueForSlotTypeExpressionMode, chooserInvalidChoiceValueForSlotType: C.cardsAndCars.expression.chooserInvalidChoiceValueForSlotType, chooserInvalidChoiceCountForSlotType: C.cardsAndCars.expression.chooserInvalidChoiceCountForSlotType }; + var w, R; + !(function(e3) { + e3.asIndividualValues = "individualValues", e3.asStackedValues = "stackedValues"; + })(w || (t2.slotTypeValueMergeMode = w = {})), (function(e3) { + e3.custom = "custom", e3.slot = "slot", e3.slotType = "slotType"; + })(R || (R = {})); + class D extends y.BasedOnChoicesType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - assignValueBoolean(e3, t3) { - return this._assignScalarValue(e3, L.boolean, t3); + get className() { + return "ChooserType"; } - assignValueNull(e3) { - return this._assignScalarValue(e3, L.null); + get isChooserType() { + return true; } - assignValueNumber(e3, t3) { - return this._assignScalarValue(e3, L.number, t3 || this._sourceText.substring(e3.from, e3.to)); + getPropQuickReplies(e3, i3) { + return e3.getProperty(t2.PROP_QUICK_REPLIES, i3); } - assignValueString(e3, t3) { - return this._assignScalarValue(e3, L.string, void 0 !== t3 ? t3 : this._sourceText.substring(e3.from, e3.to)); + canConvertLitToExpression(e3) { + return false; } - assignScalarValue(e3, t3, i3) { - const n3 = void 0 !== t3 ? t3 : this._sourceText.substring(e3.from, e3.to); - if (!i3) switch (this._language) { - case l.CodeLanguage.yaml: - case l.CodeLanguage.architectYaml: - switch (n3) { - case f.default.true: - return this._assignScalarValue(e3, L.boolean, true); - case f.default.false: - return this._assignScalarValue(e3, L.boolean, false); - case "null": - return this._assignScalarValue(e3, L.null); - default: - 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, L.number, n3); - } - } - } - return this._assignScalarValue(e3, L.string, n3); + convertLitToExpression(e3, t3, i3) { + return ""; } - popArray(e3) { - var t3, i3, n3, o2, a2, l2, c2, d2, p2, _2; - const h2 = this._checkNotAlreadyDone(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)); + createExpressionOptionClass() { + return new u.ExpressionTypeChooserOptions(); } - popObject(e3) { - 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(s2, (e4) => { - t4.push(e4.id); - }), 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(o2, e3); + getYamlObjectForLiteralSingleton(e3, i3, n3, o2) { + const r2 = super.getYamlObjectForLiteralSingleton(e3, i3, n3, o2); + return p.isFeatureAvailable(g.default.botFlowsMessagingDatePicker) && this.isSelectedSlotTypeDynamicDateTime(e3) ? this.isSelectedSlotTypeDynamicDateTime(e3) && (delete r2[t2.PROP_QUICK_REPLIES], delete r2[t2.PROP_CAROUSEL]) : delete r2[t2.PROP_TIMEPICKER], r2; } - pushArray(e3) { - var t3, i3; - const n3 = this._checkNotAlreadyDone(e3); - if (!n3) 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 F.root: - n3.configVal.json = r3; - break; - case F.objectPropertyValue: - n3.configVal.json[n3.propertyName] = r3; - break; - case F.array: - n3.configVal.json.push(r3); - break; - default: - this.addParseResultItem(n3, n3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); + deleteChoiceAtIndex(e3, i3) { + if (i3 < 0) return false; + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: { + const t3 = this.getPropQuickReplies(e3); + return t3.type.deleteChoiceAtIndex(t3, i3); + } + case t2.PRESENTATION_MODE_CAROUSEL: { + const n3 = e3.getProperty(t2.PROP_CAROUSEL); + return n3.type.deleteChoiceAtIndex(n3, i3); + } } - 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; + return false; } - pushObject(e3) { - 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 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 F.array: - r3.configVal.json.push(o2); - break; - default: - this.addParseResultItem(r3, r3.node, b.ParseResultTypes.error, u.CodeParseItemMessage.createTokenUnexpected(this._getNodeText(e3)), null, null, null, this._parseForUiOnly); - } - 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; + get supportsLiteralEditor() { + return true; } - logMessage(e3) { - this._loggingEnabled && console.log(e3()); + getPropPresentation(e3) { + return null == e3 ? void 0 : e3.getProperty(t2.PROP_PRESENTATION, true); } - _unwindLastStackParseItem() { - var e3; - 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 F.array: - return this.popArray(t3.node); - case F.object: - return this.popObject(t3.node); - case F.objectPropertyValue: - return !!this._closeIncompleteObjectPropertyValueIfNeeded(t3.node) || this._popValueAssignment(t3, t3.node); - default: - return false; - } + getPresentationModeStr(e3) { + var i3; + return null === (i3 = null == e3 ? void 0 : e3.getProperty(t2.PROP_PRESENTATION, true)) || void 0 === i3 ? void 0 : i3.text; } - _unwindToIndex(e3) { - let t3 = false; - for (; this._stack.length - 1 > e3 && (t3 = this._unwindLastStackParseItem(), t3); ) ; - return t3; + getPresentationModeIsQuickReplies(e3) { + return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_QUICK_REPLIES; } - _unwindToParseItemWithMode(e3, t3) { - let i3, n3; - for (i3 = this._stack.length - 1; i3 >= 0 && (n3 = this._stack[i3], n3.mode !== e3[0] && n3.mode !== e3[1] || !(void 0 === t3 || n3.lineInfo.charPos <= t3)); i3--) ; - if (i3 >= 0 && i3 !== this._stack.length - 1 && this._unwindToIndex(i3)) return this._stack[i3]; + getPresentationModeIsCarousel(e3) { + return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_CAROUSEL; } - unwindToArray(e3) { - return this._unwindToParseItemWithMode([F.array], e3); + getPresentationModeIsTimePicker(e3) { + return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_TIMEPICKER; } - unwindToArrayOrObject(e3) { - return this._unwindToParseItemWithMode([F.array, F.object], e3); + getPresentationModeIsListPicker(e3) { + return this.getPresentationModeStr(e3) === t2.PRESENTATION_MODE_LISTPICKER; } - unwindToObject(e3) { - return this._unwindToParseItemWithMode([F.object], e3); + getPossibleChoices(e3, i3, n3) { + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: { + const o2 = e3.getProperty(t2.PROP_QUICK_REPLIES); + return o2.type.getPossibleChoices(o2, i3, n3); + } + case t2.PRESENTATION_MODE_CAROUSEL: { + const o2 = e3.getProperty(t2.PROP_CAROUSEL); + return o2.type.getPossibleChoices(o2, i3, n3); + } + case t2.PRESENTATION_MODE_LISTPICKER: { + const i4 = e3.getProperty(t2.PROP_LISTPICKER); + return i4.type.getPossibleChoices(i4, n3); + } + } + return []; } - unwindEntireStack() { - let e3 = true; - for (; this._stack.length > 0 && e3; ) e3 = !!this._unwindLastStackParseItem(); - return e3; + getPresentationModeExpression(e3) { + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: + return this.getPropQuickReplies(e3); + case t2.PRESENTATION_MODE_CAROUSEL: + return e3.getProperty(t2.PROP_CAROUSEL); + case t2.PRESENTATION_MODE_TIMEPICKER: + return e3.getProperty(t2.PROP_TIMEPICKER); + case t2.PRESENTATION_MODE_LISTPICKER: + return e3.getProperty(t2.PROP_LISTPICKER); + } } - parseComplete(e3) { + getChoiceErrorsExpression(e3) { var t3; - this.unwindEntireStack(); - const i3 = this.currentParseItem; - let n3; - 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 b.ParseResultTypes.error: - this._parseResult.errorItems.push(e6); - break; - case b.ParseResultTypes.warn: - this._parseResult.warningItems.push(e6); - break; - case b.ParseResultTypes.info: - this._parseResult.infoItems.push(e6); - } - }); - }); - }), this._parseResult.dependencies = this._rootParseItem.dependencies, this.logMessage(() => `json config: -${JSON.stringify(i3.configVal, null, 2)}`), n3; - } - _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))); + const i3 = null === (t3 = this.getPresentationModeExpression(e3)) || void 0 === t3 ? void 0 : t3.type; + return (0, v.isListPickerExpressionType)(i3) ? i3.invalidChoicesErrors : E; } - _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); + getHasAtLeastOnePostbackChoice(e3) { + if ((null == e3 ? void 0 : e3.isLiteralMode) && !e3.outOfService) switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: { + const t3 = this.getPropQuickReplies(e3); + return t3.type.getHasAtLeastOnePostbackChoice(t3); + } + case t2.PRESENTATION_MODE_CAROUSEL: { + const i3 = e3.getProperty(t2.PROP_CAROUSEL); + return i3.type.getHasAtLeastOnePostbackChoice(i3); + } + case t2.PRESENTATION_MODE_LISTPICKER: { + const i3 = e3.getProperty(t2.PROP_LISTPICKER); + return i3.type.getHasAtLeastOnePostbackChoice(i3); + } + } } - _assignArchitectValue(e3, t3, i3) { - var n3, o2, a2; - const s2 = this._checkNotAlreadyDone(e3); - if (!s2) return false; - if (!this._checkValueAssignment(s2, e3)) return false; - let l2; - try { - 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 b.ParseResultTypes.info: - this.addParseResultItem(s2, e3, b.ParseResultTypes.info, u.CodeParseItemMessage.createArchitectExpressionInfo(t4.resultMessage).addSuggestions(t4.fixes), i5, i5); - break; - case b.ParseResultTypes.error: - default: - this.addParseResultItem(s2, e3, b.ParseResultTypes.error, u.CodeParseItemMessage.createArchitectExpressionInfo(t4.resultMessage).addSuggestions(t4.fixes), i5, i5, null, t4.preventsJsonStandardModeSwitch); - } - } - } - break; - case L.archLiteral: - const i4 = s2.type.listManager; - if (i4) { - const n4 = null == t3 ? void 0 : t3.trim(), r3 = (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(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(s2, l2); - }).catch((e4) => { - throw o3(), (0, E.sprintf)(D.codeEditor.types.typeNotFoundError, s2.type.displayString, n4); - }); - break; - } - { - const e4 = i4.findItemByName(n4); - e4 ? r3(e4) : o3(); - } - } else { - 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)); - } + isUnknownAtDesignTime(e3) { + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: { + const t3 = this.getPropQuickReplies(e3); + return t3.type.isUnknownAtDesignTime(t3); } - this._setJsonValExpressionRef(s2, l2); + case t2.PRESENTATION_MODE_CAROUSEL: { + const i3 = e3.getProperty(t2.PROP_CAROUSEL); + return i3.type.isUnknownAtDesignTime(i3); + } + case t2.PRESENTATION_MODE_LISTPICKER: { + const i3 = e3.getProperty(t2.PROP_LISTPICKER); + return i3.type.isUnknownAtDesignTime(i3); + } + } + } + getPossibleStringFacetValues(e3) { + const t3 = [], i3 = this.getPossibleChoices(e3, true); + return s.default.each(i3, (e4) => { + const i4 = e4.type.getPossibleStringFacetValue(e4); + i4 && t3.push(i4); + }), t3; + } + getUsesDynamicListSlotType(e3) { + var t3; + return null === (t3 = this.getChooserSlotTypeNluInfo(e3)) || void 0 === t3 ? void 0 : t3.slotTypeIsDynamicList; + } + getQuickRepliesIsOosForDynamicListSlotType(e3) { + var i3; + if (this.getPresentationModeStr(e3) !== t2.PRESENTATION_MODE_QUICK_REPLIES) return false; + const n3 = this.getChooserSlotTypeNluInfo(e3); + return !(!n3 || !n3.slotTypeIsDynamicList) && (null === (i3 = this.getPropQuickReplies(e3)) || void 0 === i3 ? void 0 : i3.outOfService); + } + configureForMode(e3, i3, n3, o2) { + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: + const r2 = this.getPropQuickReplies(e3); + r2.type.configureFromChoices(r2, i3); + break; + case t2.PRESENTATION_MODE_CAROUSEL: + const a2 = e3.getProperty(t2.PROP_CAROUSEL); + a2.type.configureFromChoices(a2, i3, void 0, void 0, o2); + break; + case t2.PRESENTATION_MODE_LISTPICKER: + const s2 = e3.getProperty(t2.PROP_LISTPICKER); + s2.type.configureFromChoices(s2, n3); + } + } + transitionToPresentationMode(e3, i3, n3, o2) { + const r2 = e3.getProperty(t2.PROP_PRESENTATION); + if (this.getPresentationModeStr(e3) !== i3) try { + let t3; + e3.parentFlow.validationResults.addSuppressPassiveValidation(this), o2 = o2 || w.asIndividualValues, n3 && (t3 = this.getPossibleChoices(e3)), r2.setAsLiteral(i3), n3 && this.configureForMode(e3, t3, void 0, o2), this.updatePropertiesOutOfServiceStatus(e3); } finally { - null == l2 || l2.destroy(); + e3.parentFlow.validationResults.removeSuppressPassiveValidation(this), m.validateAction(e3.parent, void 0, true); } - return this._popValueAssignment(s2, e3); } - _popValueAssignment(e3, t3) { - let i3 = true; - switch (e3.mode) { - case F.array: + _ensureCorrectExpressionModes(e3, t3, i3, n3) { + null == e3 || e3.options.setAllowModeLiteral(!n3 || !n3.slotTypeIsDynamicList), null == t3 || t3.options.setAllowModeLiteral(!n3 || !n3.slotTypeIsDynamicList), null == i3 || i3.options.setAllowModeLiteral(!n3 || !n3.slotTypeIsDynamicList); + } + getMaxChoiceCountForPresentation(e3) { + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_CAROUSEL: + case t2.PRESENTATION_MODE_QUICK_REPLIES: + return f.dataTypeLimits.quickRepliesDataType.properties.buttons.maxItems.count; + case t2.PRESENTATION_MODE_LISTPICKER: + return f.dataTypeLimits.listPickerSectionType.properties.items.maxItems.count; + } + } + totalChoiceCountIsWithinLimits(e3) { + var t3; + if (null == e3 ? void 0 : e3.isLiteralMode) { + const i3 = (null === (t3 = this.getAllowableValues(e3)) || void 0 === t3 ? void 0 : t3.length) || 0, n3 = this.getMaxChoiceCountForPresentation(e3); + if (s.default.isActualNumber(n3) && i3 > n3) return false; + } + return true; + } + updatePropertiesOutOfServiceStatus(e3) { + if (!e3.isLiteralMode) return; + let i3 = false, n3 = false, o2 = false, r2 = true; + const a2 = this.getChooserSlotTypeNluInfo(e3); + if (this.getPropPresentation(e3).isLiteralMode) switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: + i3 = false, n3 = true, o2 = true, r2 = true, (null == a2 ? void 0 : a2.slotTypeIsDynamicList) ? i3 = true : a2 && (i3 = !this.totalChoiceCountIsWithinLimits(e3)); break; - case F.objectPropertyValue: - i3 = !!this._popParseItem(t3); + case t2.PRESENTATION_MODE_CAROUSEL: + n3 = false, o2 = true, r2 = true, i3 = true, a2 && (n3 = !this.totalChoiceCountIsWithinLimits(e3)); break; - case F.root: - e3.mode = F.complete; + case t2.PRESENTATION_MODE_TIMEPICKER: + n3 = true, o2 = true, r2 = false, i3 = true; + break; + case t2.PRESENTATION_MODE_LISTPICKER: + n3 = true, o2 = false, r2 = true, i3 = true, a2 && (o2 = !this.totalChoiceCountIsWithinLimits(e3)); + break; + default: + this.isSelectedSlotTypeDynamicDateTime(e3) ? (i3 = n3 = true, r2 = false) : n3 = i3 = false; } - return this._updateLastAssignedForNode(t3), this._currentObjectOrArray && (this._currentObjectOrArray.hasSeparator = false), i3; + const s2 = e3.getProperty(t2.PROP_CAROUSEL); + s2 && (s2.outOfService = n3); + const l2 = e3.getProperty(t2.PROP_LISTPICKER); + l2 && (l2.outOfService = o2, l2.type.updatePropertiesOutOfServiceStatus(l2)); + const u2 = this.getPropQuickReplies(e3); + u2 && (u2.outOfService = i3); + const c2 = e3.getProperty(t2.PROP_TIMEPICKER); + c2 && (c2.outOfService = r2), this._ensureCorrectExpressionModes(u2, s2, l2, a2); } - _setJsonValExpressionRef(e3, t3) { - const i3 = { __isArchExpr: true, expressionId: t3.id }; - if (void 0 === e3.configVal.json) e3.configVal.json = i3; - else switch (e3.mode) { - case F.array: - e3.configVal.json.push(i3); + configurePropertyCreationParams(e3, i3, n3) { + switch (super.configurePropertyCreationParams(e3, i3, n3), i3.name) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: + n3.label = C.cardsAndCars.quickRepliesLabel, n3.options.setIninTestingField("chooser-quickReplies"); break; - 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; + case t2.PRESENTATION_MODE_CAROUSEL: + n3.label = C.cardsAndCars.carouselLabel, n3.options.setIninTestingField("chooser-carousel"); break; - } + case t2.PRESENTATION_MODE_TIMEPICKER: + n3.label = C.askForSlot.timePicker, n3.options.setIninTestingField("chooser-timePicker"); + break; + case t2.PRESENTATION_MODE_LISTPICKER: + n3.label = C.cardsAndCars.listPickerType.listPicker, n3.options.setIninTestingField("chooser-listPicker"); + break; + case t2.PROP_PRESENTATION: + n3.options.setIninTestingField("chooser-presentation"); + const e4 = s.default.findWhere(this.model.nativeProperties, { id: t2.PROP_PRESENTATION }); + if (null == e4 ? void 0 : e4.allowableValues) { + const i4 = e4.allowableValues.split(","), o2 = []; + p.isFeatureAvailable(g.default.botFlowsMessagingDatePicker) && !i4.includes(t2.PRESENTATION_MODE_TIMEPICKER) && o2.push(t2.PRESENTATION_MODE_TIMEPICKER), p.isFeatureAvailable(g.default.botFlowsAppleListPicker) && !i4.includes(t2.PRESENTATION_MODE_LISTPICKER) && o2.push(t2.PRESENTATION_MODE_LISTPICKER), o2.length && n3.options.facets.setAllowableValues([...i4, ...o2]); + } } - 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, b.ParseResultTypes.error, u.CodeParseItemMessage.createUnnecessarySeparator(this._getNodeText(e3)).addSuggestion((0, h.createFixRemoveUnnecessarySeparator)(this._languageCharacteristics.itemSeparator))), false)); + initializeDesignTime(e3) { + super.initializeDesignTime(e3), e3.type.updatePropertiesOutOfServiceStatus(e3); } - _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, 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)); + propertiesCreatedForThisTypeInstance(e3) { + e3.type.updatePropertiesOutOfServiceStatus(e3), null == e3 || e3.addAutoCleanedUpSubscription(_.createObservableForEvent$(d.expressionValueChanged, e3).subscribe(() => this.updatePropertiesOutOfServiceStatus(e3))); } - parseItemIsRawJson(e3) { - return e3 && e3.type.isJsonType && !e3.type.isCustomType; + updateNluInfo(e3) { + this.updateAllowableValues(e3), this.updatePropertiesOutOfServiceStatus(e3); } - 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, b.ParseResultTypes.error, u.CodeParseItemMessage.createInvalidTypeValue(n3).addWhat(e4.message).addSuggestions(e4.suggestions), t3.from + r3 + 1, t3.from + r3 + 1); - } + setValueSourceTypeToCustom(e3) { + 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) : 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(O, 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(O); + } + getValueSourceTypeEnum(e3) { + return e3.getUiMetaData(O); + } + getValueSourceValue(e3) { + return e3.getUiMetaData(b); + } + updateAllowableValues(e3) { + var i3; + if (!e3) return; + if (this.getPresentationModeIsTimePicker(e3)) return; + const n3 = this.getPossibleStringFacetValues(e3), o2 = e3.getProperty(t2.PROP_CAROUSEL); + if (o2 && !o2.outOfService) return o2.type.updateAllowableValues(o2, n3); + const r2 = e3.getProperty(t2.PROP_CARD); + if (r2 && !r2.outOfService) return r2.type.updateAllowableValues(r2, n3); + const a2 = this.getPropQuickReplies(e3); + a2 && !a2.outOfService && a2.isLiteralMode && s.default.each(null === (i3 = a2.collectionItems) || void 0 === i3 ? void 0 : i3.items, (e4) => { + e4.type.updateAllowableValues(e4, n3); + }); + } + configureForSlotBySlotName(e3, i3, n3) { + 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 o2 = []; + this.setValueSourceTypeToSlot(e3, i3), this.updatePropertiesOutOfServiceStatus(e3); + const r2 = 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(r2, a2, u2, d2), r2 && (r2.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; - 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 = d2(); - let l3 = h2.toString(); - for (; l3.length < o2; ) l3 = "0" + l3; - 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 = 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); - } + n3 || (_2 = this.getAllowableValues(e3), this.getPresentationModeIsListPicker(e3) || s.default.each(_2, (t3) => { + o2.push(S.ChoiceType.createPostbackChoice(t3, true, e3.parentFlow, e3.parent)); + })), this.configureForMode(e3, o2, _2), s.default.each(o2, (e4) => { + e4.destroy(); + }), o2.length = 0; + } + getAllowableValues(e3) { + switch (this.getValueSourceType(e3)) { + case t2.VALUE_SOURCE_TYPE_SLOT: + return this.getSlotValues(e3, this.getValueSourceValue(e3)); + case t2.VALUE_SOURCE_TYPE_SLOT_TYPE: + return this.getSlotTypeValues(e3, this.getValueSourceValue(e3)); } - if (h2 < a2 || h2 > s2) { - 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)); + } + getIsSlotOrSlotTypeChooser(e3) { + if (e3) { + switch (this.getValueSourceTypeEnum(e3)) { + case R.slot: + case R.slotType: + return true; + } + return false; } - return h2; } - _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, 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; + getCanUserAddChoices(e3) { + var t3; + return !(null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.isAskForSlotActionViewModel); + } + getSlotTypeName(e3) { + switch (this.getValueSourceType(e3)) { + case t2.VALUE_SOURCE_TYPE_SLOT: + return this.getSlotTypeNameForSlotName(e3, this.getValueSourceValue(e3)); + case t2.VALUE_SOURCE_TYPE_SLOT_TYPE: + return this.getValueSourceValue(e3); } - 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 || 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)) 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 || 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", R.globalTypes.duration.displayString).addWhat(D.codeEditor.types.durationXsdFormat))) return false; - o2++; - const a2 = {}; - let s2, l2 = 0; - 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, D.codeEditor.types.durationXsdFormat, true, 3); - if (!n4) return false; - o2 = n4.nextCharPos; - const r3 = e3[o2]; - let c3, d2; - switch (r3) { - case "D": - d2 = true, c3 = f.default.msPerDay; - break; - case "H": - c3 = f.default.msPerHour; - break; - case "M": - c3 = f.default.msPerMinute; - break; - case "S": - c3 = f.default.msPerSecond; - break; - default: - 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, 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); - } + getSlotValues(e3, t3) { + const i3 = this.getSlotTypeNameForSlotName(e3, t3); + if (i3) return this.getSlotTypeValues(e3, i3); + } + getSlotTypeValues(e3, t3) { + var i3; + if (t3) return null === (i3 = e3.parentFlow) || void 0 === i3 ? void 0 : i3.nluMetaData.getEntityTypeAllowableValues(t3); + } + getSlotTypeNameForSlotName(e3, t3) { + var i3, n3; + if (t3) { + const o2 = t3.toLowerCase(); + return s.default.find(null === (n3 = null === (i3 = e3.parentFlow) || void 0 === i3 ? void 0 : i3.nluMetaData) || void 0 === n3 ? void 0 : n3.slotToEntityTypesMapping, (e4, t4) => (null == t4 ? void 0 : t4.toLowerCase()) === o2); } - 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 ? 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, 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, 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)] }; + setLiteralQuickRepliesFromChoiceListViewModel(e3, i3) { + 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); + n3.type.setLiteralFromChoiceListViewModel(n3, i3); + } + isSelectedSlotTypeList(e3) { + var t3; + return !!(null === (t3 = this.getChooserSlotTypeNluInfo(e3)) || void 0 === t3 ? void 0 : t3.slotTypeIsList); + } + isSelectedSlotTypeListOrDynamicList(e3) { + const t3 = this.getChooserSlotTypeNluInfo(e3); + return !!t3 && (t3.slotTypeIsList || t3.slotTypeIsDynamicList); + } + isSelectedSlotTypeDynamicDateTime(e3) { + const t3 = this.getChooserSlotTypeNluInfo(e3); + return !!t3 && t3.slotTypeIsDynamicDateTime; + } + hasNluDiffs(e3) { + if (!this.canApplyNluDiffs(e3)) return false; + const t3 = this.getChooserToSlotTypeDiffs(e3); + return !!t3 && (!t3.hasUnknownAtDesignTimeContents && !s.default.isUndefined(t3.missingSlotTypeValues) || !s.default.isUndefined(t3.invalidPostbackValueChoices) || t3.orderHasChanged); + } + _applyNluDiffs(e3, i3, n3, o2) { + if (o2 || (o2 = this.getChooserToSlotTypeDiffs(i3)), !o2) return; + const r2 = this.getPresentationModeStr(i3), a2 = this.getAllowableValues(i3); + switch (r2) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: { + const t3 = this.getPropQuickReplies(i3); + t3.type.applyNluDiffs(e3, t3, o2), o2.orderHasChanged && (null == a2 ? void 0 : a2.length) && t3.type.reorderItemsByAllowableValues(t3, a2); + break; } - }, () => ({ 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(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, 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(D.codeEditor.types.timeInvalidSeparatorMonthDay))) return false; - let l2; - switch (s2) { - case 1: - case 3: - case 5: - case 7: - case 8: - case 10: - case 12: - l2 = 31; + case t2.PRESENTATION_MODE_CAROUSEL: { + const r3 = i3.getProperty(t2.PROP_CAROUSEL); + r3.type.applyNluDiffs(e3, r3, n3, o2); break; - case 2: - l2 = a2 % 4 != 0 || a2 % 100 == 0 && a2 % 400 != 0 ? 28 : 29; + } + case t2.PRESENTATION_MODE_LISTPICKER: { + const r3 = i3.getProperty(t2.PROP_LISTPICKER); + r3.type.applyNluDiffs(e3, r3, n3, o2); break; + } default: - l2 = 30; + return; } - 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, 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); + o2.invalidPostbackValueChoices && (e3.invalidSlotTypeValuesNotRemoved = [], s.default.keys(o2.invalidPostbackValueChoices, (t3) => { + s.default.contains(e3.invalidSlotTypeValuesRemoved, t3) || (e3.invalidSlotTypeValuesNotRemoved || (e3.invalidSlotTypeValuesNotRemoved = []), e3.invalidSlotTypeValuesNotRemoved.push(t3)); + })), o2.missingSlotTypeValues && (e3.missingSlotTypeValuesNotAdded = [], s.default.each(o2.missingSlotTypeValues, (t3) => { + s.default.contains(e3.missingSlotTypeValuesAdded, t3) || (e3.missingSlotTypeValuesNotAdded || (e3.missingSlotTypeValuesNotAdded = []), e3.missingSlotTypeValuesNotAdded.push(t3)); + })), o2.orderHasChanged && (e3.valuesReordered = true), m.validateAction(i3.parent, void 0, true); } - _checkTimeStr(e3, t3, i3, n3) { - 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(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(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, 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, b.ParseResultTypes.error, l2.addSuggestions(a2), t3.from + r3 + 1, t3.from + r3 + 1 + s2), false; - } - return true; + _logNluDiffs(e3) { } - _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(R.globalTypes.dateTime.displayString).addWhat(D.codeEditor.types.dateTimeInvalid)) && this._checkTimeStr(e3, t3, i3, true)); + applyNluDiffs(e3, t3, i3) { + var n3, o2, r2, 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 === (o2 = d2.missingSlotTypeValuesNotAdded) || void 0 === o2 ? void 0 : o2.length) || (null === (r2 = d2.invalidSlotTypeValuesRemoved) || void 0 === r2 ? void 0 : r2.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 = 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 = d2.invalidSlotTypeValuesRemoved) || void 0 === u2 ? void 0 : u2.length) && (this._logNluDiffs("Slot Type Values Removed"), d2.invalidSlotTypeValuesRemoved.forEach((e4) => { + this._logNluDiffs(` * ${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), d2; } - _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; + getChooserSlotTypeNluInfo(e3) { + var t3; + if (!e3) return; + const i3 = this.getValueSourceTypeEnum(e3); + switch (i3) { + 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, c2 = false, d2 = false, p2 = false; + switch (i3) { + case R.slot: + if (a2 = this.getValueSourceValue(e3), !a2) break; + if (s2 = r.EntityUtil.getEntityByName(n3, a2), !s2) break; + if (u2 = s2.name, l2 = r.EntityUtil.getEntityTypeByName(n3, s2.type), !l2) break; + c2 = r.EntityUtil.isEntityTypeOfType(l2, o.EntityTypeMechanismType.List), d2 = r.EntityUtil.isEntityTypeOfType(l2, o.EntityTypeMechanismType.DynamicList), p2 = r.EntityUtil.isEntityTypeOfType(l2, o.EntityTypeMechanismType.DynamicDateTime); + break; + case R.slotType: + if (u2 = this.getValueSourceValue(e3), !u2) break; + if (l2 = r.EntityUtil.getEntityTypeByName(n3, u2), !l2) break; + c2 = r.EntityUtil.isEntityTypeOfType(l2, o.EntityTypeMechanismType.List), d2 = r.EntityUtil.isEntityTypeOfType(l2, o.EntityTypeMechanismType.DynamicList), p2 = r.EntityUtil.isEntityTypeOfType(l2, o.EntityTypeMechanismType.DynamicDateTime); } - return null !== (r3 = o2.resultString) && void 0 !== r3 ? r3 : null; + return { nlu: n3, valueSourceType: i3, slotName: a2, slotTypeName: u2, slotNluEntity: s2, slotNluEntityType: l2, slotTypeIsList: c2, slotTypeIsDynamicList: d2, slotTypeIsDynamicDateTime: p2 }; } - _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 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)); + validateNluInfo(e3, t3, i3) { + if (!t3) return true; + if (t3.slotName) { + if (!t3.slotNluEntity) return i3.addExpressionError(e3, (0, a.sprintf)(C.cardsAndCars.expression.chooserInvalidSlotName, t3.slotName)), false; + if (!t3.slotNluEntityType) return i3.addExpressionError(e3, (0, a.sprintf)(C.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)(C.cardsAndCars.expression.chooserSlotTypeNotListOrDynamicListType, t3.slotNluEntityType.name)), false) : (i3.addExpressionError(e3, (0, a.sprintf)(C.cardsAndCars.expression.chooserSlotTypeNameIsNotValid, t3.slotTypeName)), false); + } + _getChooserToSlotTypeDiffsHeader(e3) { + if (!e3) return; + if (!this.getIsSlotOrSlotTypeChooser(e3)) return; + let i3, n3 = true; + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: + i3 = this.getPropQuickReplies(e3, true), n3 = this.getCanUserAddChoices(e3); break; - 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))); + case t2.PRESENTATION_MODE_CAROUSEL: + i3 = e3.getProperty(t2.PROP_CAROUSEL, true); break; - case L.string: { - let n4; - 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; + case t2.PRESENTATION_MODE_LISTPICKER: + i3 = e3.getProperty(t2.PROP_LISTPICKER, true); + } + if (!i3) return; + let o2 = this.isUnknownAtDesignTime(e3); + return !o2 && s.default.isUndefined(e3.type.getHasAtLeastOnePostbackChoice(e3)) && (o2 = true), { canReorderItems: n3, hasUnknownAtDesignTimeContents: o2 }; + } + getSlotTypeDiffsForChoices(e3, t3, i3, n3) { + let o2, r2, a2 = 0; + const l2 = {}, u2 = (e4, i4) => { + if (!(s.default.contains(t3, e4) || (0, N.isChoiceExpression)(i4) && i4.type.isSkipChoice(i4))) { + r2 || (r2 = {}); + let t4 = r2[e4]; + t4 ? t4.push(i4) : (t4 = [i4], r2[e4] = t4); + } + }; + let c2; + e3.forEach((e4) => { + if (!e4.isLiteralMode) { + const t4 = e4.getUiMetaData(A.MANAGED_SLOT_TYPE_VALUE); + return void (t4 && (u2(t4, e4), l2[t4] = true)); + } + if (e4.type.isTypeUnknownAtDesignTime(e4)) a2++; + else if (e4.type.getIsSlotOrSlotTypeChoice(e4)) { + if (e4.type.isValueUnknownAtDesignTime(e4)) return; + const t4 = e4.type.getValueStr(e4); + if (t4 || "" === t4) { + if (l2[t4]) { + o2 || (o2 = {}); + let i4 = o2[t4]; + return void (i4 ? i4.push(e4) : (i4 = [e4], o2[t4] = i4)); } + u2(t4, e4), l2[t4] = true; + } + } else e4.type.isPostbackChoice(e4); + }), t3.forEach((e4) => { + l2[e4] || (c2 || (c2 = []), c2.push(e4)); + }); + 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) => { + if (e4.isLiteralMode && e4.type.getIsSlotOrSlotTypeChoice(e4) && !e4.type.isValueUnknownAtDesignTime(e4)) { + const i4 = e4.type.getValueStr(e4); + i4 && t3.includes(i4) && n4.push(i4); + } + }), !i3 && n4.length > 0 && t3.length === n4.length) { + for (let e4 = 0; e4 < t3.length; e4++) if (t3[e4] !== n4[e4]) { + d2 = true; + break; } - 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 L.number: { - const n4 = this._getNumberFromStr(i3, t3, e3, 0, true, true, void 0, false); - 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; + return { duplicatePostbackValueChoices: o2, invalidPostbackValueChoices: r2, missingSlotTypeValues: c2, possibleChoices: e3, slotTypeAllowableValues: t3, unknownAtDesignTimeChoiceCount: a2, hasUnknownAtDesignTimeContents: n3, orderHasChanged: d2 }; } - _assignValue(e3, t3, i3) { - 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, 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 })); + getChooserToSlotTypeDiffsForPossibleChoices(e3, t3) { + const i3 = this._getChooserToSlotTypeDiffsHeader(e3); + if (!i3) return; + const n3 = this.getAllowableValues(e3); + return this.getSlotTypeDiffsForChoices(t3, n3, i3.canReorderItems, i3.hasUnknownAtDesignTimeContents); + } + getChooserToSlotTypeDiffs(e3) { + const t3 = this._getChooserToSlotTypeDiffsHeader(e3); + if (!t3) return; + const i3 = this.getPossibleChoices(e3), n3 = this.getAllowableValues(e3); + return this.getSlotTypeDiffsForChoices(i3, n3, t3.canReorderItems, t3.hasUnknownAtDesignTimeContents); + } + canApplyNluDiffs(e3) { + var i3, n3; + if (!e3 || (null === (i3 = e3.parentFlow) || void 0 === i3 ? void 0 : i3.isReadOnly)) return false; + if (!this.getIsSlotOrSlotTypeChooser(e3)) return false; + if (null === (n3 = this.getPresentationModeExpression(e3)) || void 0 === n3 ? void 0 : n3.outOfService) return false; + switch (this.getPresentationModeStr(e3)) { + case t2.PRESENTATION_MODE_QUICK_REPLIES: + return this.getPropQuickReplies(e3).isLiteralMode; + case t2.PRESENTATION_MODE_CAROUSEL: + 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; + } } - 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, 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)))); + return false; + } + validateLiteral(e3, t3) { + if (!t3) return true; + if (!this.getIsSlotOrSlotTypeChooser(t3)) return this.validateDuplicates(e3, t3); + const i3 = this.getChooserSlotTypeNluInfo(t3); + if (!i3) return false; + if (this.updatePropertiesOutOfServiceStatus(t3), i3.slotTypeIsDynamicList) return true; + if (!this.validateNluInfo(t3, i3, e3)) return false; + const n3 = this.getChooserToSlotTypeDiffs(t3); + if (!n3) return true; + let o2; + if (s.default.each(n3.duplicatePostbackValueChoices, (i4, n4) => (o2 || (o2 = t3.type.getSlotTypeName(t3)), e3.addExpressionError(t3, (0, a.sprintf)(C.cardsAndCars.expression.chooserMultipleChoicesForSlotTypeValue, n4, o2)), false)), s.default.each(n3.invalidPostbackValueChoices, (i4, n4) => { + o2 || (o2 = t3.type.getSlotTypeName(t3)); + const r2 = i4[0].isExpressionMode ? (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserInvalidChoiceValueForSlotTypeExpressionMode, n4, o2) : (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserInvalidChoiceValueForSlotType, n4, o2); + return e3.addExpressionError(t3, r2), false; + }), n3.hasUnknownAtDesignTimeContents) return true; + if (n3.unknownAtDesignTimeChoiceCount) { + if (n3.slotTypeAllowableValues && n3.possibleChoices && n3.slotTypeAllowableValues.length !== n3.possibleChoices.length) return e3.addExpressionError(t3, (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserInvalidChoiceCountForSlotType, i3.slotTypeName)), false; + } else if (n3.missingSlotTypeValues) { + if (1 === n3.missingSlotTypeValues.length) e3.addExpressionError(t3, (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserNoChoicesConfiguredForSlotTypeValues, i3.slotTypeName, `'${n3.missingSlotTypeValues[0]}'`)); + else { + const o3 = h.getListDisplayString(`'${n3.missingSlotTypeValues.join("', '")}'`); + e3.addExpressionError(t3, (0, a.sprintf)(this.getChoiceErrorsExpression(t3).chooserNoChoicesConfiguredForSlotTypeValues, i3.slotTypeName, o3)); + } + return false; } - 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, 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)))); + return super.validateLiteral(e3, t3); + } + couldHaveUnknownPostbackValue(e3, i3) { + if (!e3 || e3.outOfService) return false; + switch (e3.mode) { + case l.noValue: + return false; + case l.literal: + break; + default: + return i3; } - 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 }))); - } - } + const n3 = this.getPresentationModeStr(e3), o2 = !n3 || n3 === t2.PRESENTATION_MODE_QUICK_REPLIES, r2 = !n3 || n3 === t2.PRESENTATION_MODE_CAROUSEL; + if (o2) { + const t3 = this.getPropQuickReplies(e3); + if (null == t3 ? void 0 : t3.type.couldHaveUnknownPostbackValue(t3)) return true; } - 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 })); + if (r2) { + const i4 = e3.getProperty(t2.PROP_CAROUSEL); + if (null == i4 ? void 0 : i4.type.couldHaveUnknownPostbackValue(i4)) return 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; + return false; + } + get hasRichLiteralEditor() { + return true; + } + } + t2.ChooserType = D, D.typeIdentifier = T.expressionTypeNames.chooser; + }, 76319(e2, t2, i2) { + "use strict"; + t2.CommunicationType = void 0; + const n2 = i2(94765), o = i2(82319), r = i2(80428); + class a extends n2.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); + } + get className() { + return "CommunicationType"; + } + canConvertLitToExpression(e3) { + return false; + } + convertLitToExpression(e3, t3) { + return ""; + } + createExpressionOptionClass() { + return new o.ExpressionTypeCommunicationOptions(); + } + get supportsLiteralEditor() { + return false; + } + } + t2.CommunicationType = a, a.typeIdentifier = r.expressionTypeNames.communication; + }, 64287(e2, t2, i2) { + "use strict"; + t2.ComplexType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 = r.default.isArray(this.model.additionalProperties) ? this.model.additionalProperties : [this.model.additionalProperties]); + } + get className() { + return "ComplexType"; + } + canConvertLitToExpression(e3) { + 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 === _.expressionTypeNames.worktypeStatus && t3 ? `FindWorktypeStatus("${t3}")` : ""; + } + createExpressionOptionClass() { + return new l.ExpressionTypeComplexOptions(this.isCollection).setTypeIdentifier(this.typeIdentifier); + } + get propertiesAllowAssignment() { + return this.model.propertiesAllowAssignment || this.additionLiteralProperties; } - _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)); + get supportsLiteralEditor() { + return this.allowLiteralSelect; } - _checkValueAssignment(e3, t3) { - switch (e3.mode) { - case F.array: - this._arrayItemsRequirePrefixSeparator() && !e3.arrayItemPrefixSeparatorAdded && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._parseForUiOnly); + getLiteralValues(e3) { + if (this.allowLiteralSelect) return e3.parentFlow.getComplexTypeLiteralValues(e3); + } + 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, o.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); + }) : 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); + } + setPropertiesAsLiteralByName(e3, t3) { + this._setPropertiesAsLiteralInternal(e3, t3, true); + } + _setPropertiesAsLiteralInternal(e3, t3, i3) { + if (!this.allowLiteralSelect) return; + const n3 = i3 ? "setPropertiesAsLiteralByName" : "setPropertiesAsLiteralById"; + switch (this.expressionType) { + case _.expressionTypeNames.worktypeStatus: + const o2 = i3 ? "name" : "id", r2 = i3 ? (0, d.getWorktypeStatusByName)(t3, e3.parentFlow) : (0, c.getWorktypeStatusById)(t3, e3.parentFlow); + r2.id ? (e3.update(r2.name, r2.id), this.setPropertiesAsLiteral(e3, r2)) : (g.errorWithStack(null, `Error processing ${n3} on type ${this.expressionType}. No match found for worktype status with ${o2} ${t3}.`), e3.setAsNoValue()); break; - case F.objectPropertyValue: - this._propertyValuesRequirePrefixSeparator() && !e3.propertyValuePrefixSeparatorAdded && this.addParseResultItem(e3, t3, b.ParseResultTypes.error, u.CodeParseItemMessage.createExtraValue(), null, null, null, this._parseForUiOnly); + 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}`); } - return true; - } - _assignScalarValue(e3, t3, i3) { - const n3 = this._checkNotAlreadyDone(e3); - if (!n3) return false; - if (!this._checkValueAssignment(n3, e3)) return false; - let r3; - const o2 = this._resolveValueAssignment(n3, e3, i3, t3); - return r3 = !!o2 && this._assignValue(n3, e3, o2), this._popValueAssignment(n3, e3), r3; } - }; - }, 38661: (e2, t2, i2) => { + } + t2.ComplexType = f; + }, 29115(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomerIntentType = void 0; - const n2 = i2(80428), r2 = i2(94765), o = i2(15117); - class a extends r2.ExpressionType { + t2.ContactListType = void 0; + const n2 = i2(71056), o = i2(43610), r = i2(80428), a = i2(94765); + class s extends a.ExpressionType { constructor(e3, t3, i3) { super(e3, t3, i3); } get className() { - return "CustomerIntentType"; + return "ContactListType"; } createExpressionOptionClass() { - return new o.ExpressionTypeCustomerIntentOptions(); + return new n2.ExpressionTypeNetworkObjectOptions(); } - get supportsLiteralEditor() { + canConvertLitToExpression(e3) { return false; } + convertLitToExpression(e3, t3) { + return ""; + } + _getLiteralValueOfExpression() { + return ""; + } + get listManager() { + return o.contactListManager; + } } - t2.CustomerIntentType = a, a.typeIdentifier = n2.expressionTypeNames.customerIntent; - }, 38663: (e2, t2, i2) => { + t2.ContactListType = s, s.typeIdentifier = r.expressionTypeNames.contactList; + }, 19039(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(21345)); - class a extends o.default { - constructor(e3) { - super(e3); + t2.ContactType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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))); + var t4; + }); } - get displayTypeName() { - return "ArchBaseActionWithOutputsSuccessFailureNoInput"; + get className() { + return "ContactType"; } - get isArchBaseActionWithOutputsSuccessFailureNoInput() { + createExpressionOptionClass() { + return new a.ExpressionTypeNetworkObjectOptions(this.isCollection); + } + canConvertLitToExpression(e3) { + return false; + } + destroy() { + super.destroy(), this._listenerUnsubscribe(), r.default.keys(this.singletonProperties).forEach((e3) => { + delete this.singletonProperties[e3]; + }); + } + changeProperties(e3) { + const t3 = s.contactListManager.getItem(e3.val); + t3 && (r.default.keys(this.singletonProperties).forEach((e4) => { + delete this.singletonProperties[e4]; + }), r.default.each(t3.columnNames, function(e4) { + const i3 = r.default.findWhere(t3.phoneColumns, { columnName: e4 }); + this._addProperty(e4, e4, "str", (0, o.sprintf)(i3 ? p.contact.phonePropertyDescription : p.contact.propertyDescription, e4), "1.0"); + }.bind(this)), this.parentFlow && this.parentFlow.uiMetaData && (this.parentFlow.uiMetaData.contactList = []), s.contactListManager.addItemToFlowMetadata(this.parentFlow, t3.name, t3.id), l.emitter.emit(l.typeChanged, this)); + } + get isContactType() { return true; } - get outputNoInput() { - return this._getOutputById(r2.outputIds.noInput, true); + get listManager() { + return s.contactListManager; } } - t2.default = a; - }, 38676: (e2, t2, i2) => { + t2.ContactType = _, _.typeIdentifier = d.expressionTypeNames.contact; + }, 67644(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(25446)); - class r2 extends n2.default { - get displayTypeName() { - return "ArchPromptSystem"; + t2.CurrencyType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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); } - get isArchPromptSystem() { - return true; + get className() { + return "CurrencyType"; + } + createExpressionOptionClass() { + return new l.ExpressionTypeCurrencyOptions(); + } + convertLitToExpression(e3, t3) { + return `ToCurrency("${t3}")`; + } + convertLitToCustomJsonStr(e3, t3, i3) { + const n3 = t3 || i3 || "", o2 = n3.indexOf("|"); + return o2 >= 0 && n3.substring(o2 + 1) === d.default.notSet ? `"${n3.substring(0, o2)}|"` : `"${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], { amount: i4, code: o2 } = S.splitCurrencyLiteralParts(e5); + if (true === (0, _.validateDecimalString)(i4, p.VALIDATE_ALLOW_INTEGER_FORM).ok && o2) { + const e6 = (0, u.getCurrencyEntryFromCode)(o2); + if (i4 && e6) return this.createCurrencyExpressionValue(i4, o2); + if (o2 === d.default.notSet) return this.createCurrencyExpressionValue(i4, d.default.notSet); + } + } + } + return ""; + } + createCurrencyExpressionValue(e3, t3) { + 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 { amount: t3, code: i3, hasTooManyParts: n3 } = S.splitCurrencyLiteralParts(e3.text); + if (n3 || void 0 === i3 || !r.default.isString(t3) || !r.default.isString(i3)) return T.errorWithStack(null, "Invalid string passed to CurrencyType.getYamlObjectForLiteralSingleton"), e3.text; + const o2 = Number(t3); + return r.default.isActualNumber(o2) ? { amount: o2, code: i3 } : (T.errorWithStack(null, "Invalid number parsed in CurrencyType.getYamlObjectForLiteralSingleton"), e3.text); + } + parseLiteral(e3, t3) { + var i3, n3; + const r2 = 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, o.sprintf)(y.errors.invalidValue, this.displayString) }; + const { amount: a2, code: s2, hasTooManyParts: l2 } = S.splitCurrencyLiteralParts(e3); + if (l2) return { errorString: (0, o.sprintf)(y.errors.invalidValue, this.displayString) }; + if ("" !== a2) { + const e4 = (0, _.validateDecimalString)(a2, (0, m.validateIntegerFormOptions)(r2)); + if (false === e4.ok) switch (e4.reason) { + case h.ValidateDecimalStringReason.tooMuchPrecision: + return { errorString: (0, o.sprintf)(y.expression.decimalValueTooMuchPrecision, a2, 1, d.default.maxPrecision) }; + case h.ValidateDecimalStringReason.tooManyDecimalPlaces: + return { errorString: (0, o.sprintf)(y.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, e4.decimalPlaces, e4.allowedDecimalPlaces) }; + case h.ValidateDecimalStringReason.empty: + case h.ValidateDecimalStringReason.invalid: + default: + return { errorString: (0, o.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 i3 = this.parseLiteral(t3.text, t3); + return !i3.errorString || (t3.setParseError(i3.errorString), e3.addError(t3, (0, o.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, o.sprintf)(a.configureFromModel.currencyLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const r2 = t3; + let s2; + if ("number" == typeof r2.amount && Number.isFinite(r2.amount) ? s2 = String(r2.amount) : "string" == typeof r2.amount && (s2 = r2.amount), void 0 === s2) return void (n3 && n3.warn(a.configureFromModel.currencyLiteralRequiresAmount)); + const l2 = "string" == typeof r2.code ? r2.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(r2)) e4.has(i4) || (0, c.reportAdditionalProperty)(i4, t4, n3); + } } } - t2.default = r2; - }, 38689: (e2, t2, i2) => { + t2.CurrencyType = S, S.typeIdentifier = g.expressionTypeNames.currency; + }, 89917(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)), 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; + t2.CustomJsonIdentifierInfo = void 0; + const n2 = i2(31635), o = i2(79519), r = i2(79519), a = n2.__importDefault(i2(73198)), s = i2(66314), l = i2(66314), u = i2(66314); + class c { + constructor(e3) { + this._model = e3; } - get logStr() { - return "ARCH_CORE_FACTORY"; + static create(e3) { + return new c((0, l.getCustomJsonInfoForDataTypeStr)(e3)); } - createArchWrapper(e3, t3) { - return this._createArchWrapperImpl(e3, t3); + static createFromDataTypeDef(e3) { + return this.create(null == e3 ? void 0 : e3.dataTypeId); } - _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.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))); + static createFromDataTypeDefViewModel(e3) { + return this.createFromDataTypeDef(null == e3 ? void 0 : e3.model); } - createArchDefinitionAction(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreNodeInformation", "createArchDefinitionAction"), e3), new _.default.definitions.ArchDefinitionAction(e3); + get expressionTypeStr() { + return this._model.expressionDataTypeStr; } - createArchDefinitionFlow(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreNodeInformation", "createArchDefinitionFlow"), e3), new _.default.definitions.ArchDefinitionFlow(e3); + get dataTypeStr() { + return this._model.dataTypeStr; } - createArchDefinitionMenu(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreNodeInformation", "createArchDefinitionMenu"), e3), new _.default.definitions.ArchDefinitionMenu(e3); + get context() { + return this._model.context || o.CustomJsonContext.none; } - createArchAudio(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreAudioViewModel", "createArchAudio"), e3), new _.default.audio.ArchAudio(e3); + get conversationAttributeSchemaId() { + if (this.isNamespaceConversationAttribute) return this.subIdentifier; } - createArchAudioCase(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreAudioCaseViewModel", "createArchAudioCase"), e3), new _.default.audio.ArchAudioCase(e3); + get decisionTableId() { + if (this.isNamespaceDecisionTable) return this.subIdentifier; } - createArchBaseVariableValuePair(e3) { - 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); + get hasContext() { + return this.context !== o.CustomJsonContext.none; } - createArchDataType(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreArchDataType", "createArchDataType"), e3), new c.default.ArchDataType(e3, void 0); + get isCollection() { + var e3; + return null === (e3 = this._model.expressionDataTypeStr) || void 0 === e3 ? void 0 : e3.endsWith(a.default.exprDataTypeSuffixCollection); } - createArchDefinitionValue(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreExpressionType", "coreExpressionType"), e3), new _.default.definitions.ArchDefinitionValue(e3); + get isCustomJsonType() { + return this._model.isCustomJsonType; } - createArchDefinitionVariable(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreExpressionType", "coreExpressionType"), e3), new _.default.definitions.ArchDefinitionVariable(e3); + get identifier() { + return this._model.identifier; } - 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); + get isContextError() { + return this.context === o.CustomJsonContext.error; } - createArchValueExternalContactPatchChangeList(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreExternalContactPatchChangeList", "createArchValueExternalContactPatchChangeList"), e3), new _.default.values.ArchValueExternalContactPatchChangeList(e3); + get isContextInput() { + return this.context === o.CustomJsonContext.input; } - createArchValueExternalContactPatchChange(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreExternalContactPatchChangeItemViewModel", "createArchValueExternalContactPatchChange"), e3), new _.default.values.ArchValueExternalContactPatchChange(e3); + get isContextRecord() { + return this.context === o.CustomJsonContext.record; } - 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); + get isContextSchemaData() { + return this.context === o.CustomJsonContext.schemaData; } - createArchFlowFromParentFlow(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreObject", "createArchFlowFromParentFlow"), e3), this.createArchFlowFromCoreFlowViewModel(e3.parentFlow); + get isContextSchemaDataPatch() { + return this.context === o.CustomJsonContext.schemaDataPatch; } - createArchFlowFromCoreFlowViewModel(e3) { - const t3 = this._infoParm("coreFlowViewModel", "createArchFlowFromCoreFlowViewModel"); - switch (this._checkItemUndefinedOrNull(t3, e3), e3.type) { - case s.flowTypes.flowTypeBot: - return new _.default.flows.ArchFlowBot(e3); - case s.flowTypes.flowTypeDigitalBot: - return new _.default.flows.ArchFlowDigitalBot(e3); - case s.flowTypes.flowTypeCommonModule: - return new _.default.flows.ArchFlowCommonModule(e3); - case s.flowTypes.flowTypeEmailSend: - return new _.default.flows.ArchFlowEmailSend(e3); - case s.flowTypes.flowTypeInboundCall: - return new _.default.flows.ArchFlowInboundCall(e3); - case s.flowTypes.flowTypeInboundChat: - return new _.default.flows.ArchFlowInboundChat(e3); - case s.flowTypes.flowTypeInboundEmail: - return new _.default.flows.ArchFlowInboundEmail(e3); - case s.flowTypes.flowTypeInboundShortMessage: - return new _.default.flows.ArchFlowInboundShortMessage(e3); - case s.flowTypes.flowTypeInQueueCall: - return new _.default.flows.ArchFlowInQueueCall(e3); - case s.flowTypes.flowTypeInQueueEmail: - return new _.default.flows.ArchFlowInQueueEmail(e3); - case s.flowTypes.flowTypeInQueueShortMessage: - return new _.default.flows.ArchFlowInQueueShortMessage(e3); - case s.flowTypes.flowTypeOutboundCall: - return new _.default.flows.ArchFlowOutboundCall(e3); - case s.flowTypes.flowTypeSecureCall: - return new _.default.flows.ArchFlowSecureCall(e3); - case s.flowTypes.flowTypeSurveyInvite: - return new _.default.flows.ArchFlowSurveyInvite(e3); - case s.flowTypes.flowTypeVoice: - return new _.default.flows.ArchFlowVoice(e3); - case s.flowTypes.flowTypeVoicemail: - return new _.default.flows.ArchFlowVoicemail(e3); - case s.flowTypes.flowTypeVoiceSurvey: - return new _.default.flows.ArchFlowVoiceSurvey(e3); - case s.flowTypes.flowTypeWorkflow: - return new _.default.flows.ArchFlowWorkflow(e3); - case s.flowTypes.flowTypeWorkitem: - return new _.default.flows.ArchFlowWorkitem(e3); - } - this._itemIsInvalid(t3, "the core flow view model type of '" + e3.type + "' is not supported by this method."); + get isContextNone() { + return this.context === o.CustomJsonContext.none; } - createArchPrompt(e3) { - const t3 = this._infoParm("promptContainerViewModel", "createArchPrompt"); - if (this._checkItemUndefinedOrNull(t3, e3), e3.isPromptContainer) { - if (e3.isUser) return new _.default.prompts.ArchPromptUser(e3); - if (e3.isSystem) return new _.default.prompts.ArchPromptSystem(e3); - } - this._itemIsInvalid(t3, "the core prompt container view model is not a valid user or system prompt container view model."); + get isContextOutput() { + return this.context === o.CustomJsonContext.output; } - createArchActionFromCoreAction(e3) { - const t3 = this._infoParm("coreActionViewModel", "createArchActionFromCoreAction"); - this._checkItemUndefinedOrNull(t3, e3); - const i3 = e3; - switch (this._checkItem(t3, !i3.info || !i3.info.typeId, "the core action does not have a type"), i3.info.typeId) { - case r2.abortSurveyActionType: - 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: - return new _.default.actions.ArchActionAskForBoolean(i3); - case r2.askForNLUIntentActionType: - return new _.default.actions.ArchActionAskForIntent(i3); - case r2.askForNLUNextIntentActionActionType: - return new _.default.actions.ArchActionLoopAnythingElse(i3); - case r2.askForSlotActionType: - return new _.default.actions.ArchActionAskForSlot(i3); - case r2.askForPaymentActionType: - 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: - return new _.default.actions.ArchActionCallBotConnector(i3); - case r2.callAgenticVirtualAgentActionType: - return new _.default.actions.ArchActionCallAgenticVirtualAgent(i3); - case r2.callAudioConnectorActionType: - return new _.default.actions.ArchActionCallAudioConnector(i3); - case r2.callBotFlowActionType: - return new _.default.actions.ArchActionCallBotFlow(i3); - case r2.digitalBotConnectorActionType: - return new _.default.actions.ArchActionCallDigitalBotConnector(i3); - case r2.callDigitalBotFlowActionType: - return new _.default.actions.ArchActionCallDigitalBotFlow(i3); - case r2.callDecisionTableActionType: - return new _.default.actions.ArchActionCallDecisionTable(i3); - case r2.callGuideActionType: - return new _.default.actions.ArchActionCallGuide(i3); - case r2.callVoiceFlowActionType: - return new _.default.actions.ArchActionCallVoiceFlow(i3); - case r2.clearActiveIntentActionType: - return new _.default.actions.ArchActionClearActiveIntent(i3); - case r2.clearPostFlowActionType: - return new _.default.actions.ArchActionClearPostFlow(i3); - case r2.clearSlotActionType: - return new _.default.actions.ArchActionClearSlot(i3); - case r2.clearUtilizationLabelActionType: - return new _.default.actions.ArchActionClearUtilizationLabel(i3); - case r2.clearVoicemailSnippetActionType: - return new _.default.actions.ArchActionClearVoicemailSnippet(i3); - case r2.bridgeServerActionType: - return new _.default.actions.ArchActionCallBridge(i3); - case r2.dataActionActionType: - return new _.default.actions.ArchActionCallData(i3); - case r2.dataTableLookupActionType: - return new _.default.actions.ArchActionDataTableLookup(i3); - case r2.secureActionActionType: - return new _.default.actions.ArchActionCallDataSecure(i3); - case r2.collectInputActionType: - return new _.default.actions.ArchActionCollectInput(i3); - case r2.processVoicemailInputActionType: - return new _.default.actions.ArchActionProcessVoicemailInput(i3); - case r2.collectVoiceSnippetActionType: - return new _.default.actions.ArchActionCollectVoiceSnippet(i3); - case r2.communicateActionType: - return new _.default.actions.ArchActionCommunicate(i3); - case r2.abortSendActionType: - return new _.default.actions.ArchActionAbortSend(i3); - case r2.completeSendActionType: - return new _.default.actions.ArchActionCompleteSend(i3); - case r2.completeSurveyActionType: - return new _.default.actions.ArchActionCompleteSurveyInvite(i3); - case r2.createCallbackActionType: - return new _.default.actions.ArchActionCreateCallback(i3); - case r2.createConversationAttributeActionType: - return new _.default.actions.ArchActionCreateConversationAttribute(i3); - case r2.decisionActionType: - return new _.default.actions.ArchActionDecision(i3); - case r2.detectIntentActionType: - return new _.default.actions.ArchActionDetectIntent(i3); - case r2.detectSilenceActionType: - return new _.default.actions.ArchActionDetectSilence(i3); - case r2.decryptDataActionType: - return new _.default.actions.ArchActionDecryptData(i3); - case r2.deflectActionType: - return new _.default.actions.ArchActionDeflect(i3); - case r2.dialExtensionActionType: - return new _.default.actions.ArchActionDialByExtension(i3); - case r2.dialogflowActionType: - return new _.default.actions.ArchActionCallDialogflowBot(i3); - case r2.dialogflowCxActionType: - return new _.default.actions.ArchActionCallDialogflowCxBot(i3); - case r2.dialogEngineActionType: - return new _.default.actions.ArchActionCallDialogEngineBot(i3); - case r2.digitalMenuActionType: - return new _.default.actions.ArchActionDigitalMenu(i3); - case r2.disconnectActionType: - return new _.default.actions.ArchActionDisconnect(i3); - case r2.disconnectWorkitemActionType: - return new _.default.actions.ArchActionDisconnectWorkitem(i3); - case r2.encryptDataActionType: - return new _.default.actions.ArchActionEncryptData(i3); - case r2.endStateActionType: - return new _.default.actions.ArchActionEndState(i3); - case r2.endWorkflowActionType: - return new _.default.actions.ArchActionEndWorkflow(i3); - case r2.returnToAgentActionType: - return new _.default.actions.ArchActionReturnToAgent(i3); - case r2.evaluateScheduleActionType: - return new _.default.actions.ArchActionEvaluateSchedule(i3); - case r2.evaluateScheduleGroupActionType: - return new _.default.actions.ArchActionEvaluateScheduleGroup(i3); - case r2.evaluateSkillExpressionFiltersActionType: - return new _.default.actions.ArchActionEvaluateSkillExpressionFilters(i3); - case r2.exitBotFlowActionType: - return new _.default.actions.ArchActionExitBotFlow(i3); - case r2.exitWorkitemFlowActionType: - return new _.default.actions.ArchActionExitWorkitemFlow(i3); - case r2.extractSecureDataActionType: - return new _.default.actions.ArchActionExtractSecureData(i3); - case r2.findLanguageSkillActionType: - return new _.default.actions.ArchActionFindLanguageSkill(i3); - case r2.findDivisionActionType: - return new _.default.actions.ArchActionFindDivision(i3); - case r2.findDivisionsActionType: - return new _.default.actions.ArchActionFindDivisions(i3); - case r2.findEmergencyGroupActionType: - return new _.default.actions.ArchActionFindEmergencyGroup(i3); - case r2.findGrammarActionType: - return new _.default.actions.ArchActionFindGrammar(i3); - case r2.findGrammarByIdActionType: - return new _.default.actions.ArchActionFindGrammarById(i3); - case r2.findGroupActionType: - return new _.default.actions.ArchActionFindGroup(i3); - case r2.findKnowledgeBaseDocumentByIdActionType: - return new _.default.actions.ArchActionFindKnowledgeBaseDocumentById(i3); - case r2.findQueueActionType: - return new _.default.actions.ArchActionFindQueue(i3); - case r2.findQueueByIdActionType: - return new _.default.actions.ArchActionFindQueueById(i3); - case r2.findScheduleActionType: - return new _.default.actions.ArchActionFindSchedule(i3); - case r2.findScheduleGroupActionType: - return new _.default.actions.ArchActionFindScheduleGroup(i3); - case r2.findSkillActionType: - return new _.default.actions.ArchActionFindSkill(i3); - case r2.findSystemPromptActionType: - return new _.default.actions.ArchActionFindSystemPrompt(i3); - case r2.findUserActionType: - return new _.default.actions.ArchActionFindUser(i3); - case r2.findUserByIdActionType: - return new _.default.actions.ArchActionFindUserById(i3); - case r2.findUserPromptActionType: - return new _.default.actions.ArchActionFindUserPrompt(i3); - case r2.findUsersByIdActionType: - return new _.default.actions.ArchActionFindUsersById(i3); - case r2.findUtilizationLabelActionType: - return new _.default.actions.ArchActionFindUtilizationLabel(i3); - case r2.flushAudioActionType: - return new _.default.actions.ArchActionFlushAudio(i3); - case r2.formActionType: - 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: - return new _.default.actions.ArchActionGetExternalOrganization(i3); - case r2.getRawSIPHeadersActionType: - return new _.default.actions.ArchActionGetRawSIPHeaders(i3); - case r2.getEmailHeadersActionType: - return new _.default.actions.ArchActionGetEmailHeaders(i3); - case r2.getSIPHeadersActionType: - return new _.default.actions.ArchActionGetSIPHeaders(i3); - case r2.getJourneyOutcomeActionType: - return new _.default.actions.ArchActionGetJourneyOutcome(i3); - case r2.getJourneyOutcomeScoresBySessionActionType: - return new _.default.actions.ArchActionGetJourneyOutcomeScoresBySession(i3); - case r2.getJourneySegmentActionType: - return new _.default.actions.ArchActionGetJourneySegment(i3); - case r2.getJourneySessionActionType: - return new _.default.actions.ArchActionGetJourneySession(i3); - case r2.getJourneySessionsByExternalContactActionType: - return new _.default.actions.ArchActionGetJourneySessionsByExternalContact(i3); - case r2.getAttributesActionType: - return new _.default.actions.ArchActionGetParticipantData(i3); - case r2.getConversationAttributeActionType: - return new _.default.actions.ArchActionGetConversationAttribute(i3); - case r2.getConversationAttributesActionType: - return new _.default.actions.ArchActionGetConversationAttributes(i3); - case r2.getConversationDataActionType: - return new _.default.actions.ArchActionGetConversationData(i3); - case r2.getResponseActionType: - return new _.default.actions.ArchActionGetResponse(i3); - case r2.holdMusicActionType: - return new _.default.actions.ArchActionHoldMusic(i3); - case r2.lexActionType: - return new _.default.actions.ArchActionCallLexBot(i3); - case r2.lexV2ActionType: - return new _.default.actions.ArchActionCallLexV2Bot(i3); - case r2.loopActionType: - return new _.default.actions.ArchActionLoop(i3); - case r2.loopUntilActionType: - return new _.default.actions.ArchActionLoopUntil(i3); - case r2.exitLoopActionType: - return new _.default.actions.ArchActionLoopExit(i3); - case r2.menuActionActionType: - return new _.default.actions.ArchActionMenu(i3); - case r2.nextLoopActionType: - return new _.default.actions.ArchActionLoopNext(i3); - case r2.nuanceMixActionType: - return new _.default.actions.ArchActionCallNuanceMixBot(i3); - case r2.participantRecordActionType: - return new _.default.actions.ArchActionEnableParticipantRecord(i3); - case r2.playAudioActionType: - return new _.default.actions.ArchActionPlayAudio(i3); - case r2.playEstimatedWaitTimeActionType: - return new _.default.actions.ArchActionPlayEstimatedWaitTime(i3); - case r2.playAudioOnSilenceActionType: - return new _.default.actions.ArchActionPlayAudioOnSilence(i3); - case r2.playPositionInQueueActionType: - return new _.default.actions.ArchActionPlayPositionInQueue(i3); - case r2.playUserGreetingActionType: - return new _.default.actions.ArchActionPlayUserGreeting(i3); - case r2.playUserNameActionType: - return new _.default.actions.ArchActionPlayUserName(i3); - case r2.previousMenuActionType: - return new _.default.actions.ArchActionPreviousMenu(i3); - case r2.promoteExternalContactActionType: - return new _.default.actions.ArchActionPromoteExternalContact(i3); - case r2.repeatMenuActionType: - return new _.default.actions.ArchActionRepeatMenu(i3); - case r2.searchExternalContactsActionType: - return new _.default.actions.ArchActionSearchExternalContacts(i3); - case r2.getSecuredDataActionType: - return new _.default.actions.ArchActionGetSecuredData(i3); - case r2.sendAutoReplyActionType: - return new _.default.actions.ArchActionSendAutoReply(i3); - case r2.sendDigitalContentActionType: - return new _.default.actions.ArchActionSendDigitalContent(i3); - case r2.sendInteractiveApplicationActionActionType: - return new _.default.actions.ArchActionSendInteractiveApplication(i3); - case r2.sendKnowledgeFeedbackActionActionType: - return new _.default.actions.ArchActionSendKnowledgeFeedback(i3); - case r2.sendNotificationActionType: - return new _.default.actions.ArchActionSendNotification(i3); - case r2.sendResponseActionType: - return new _.default.actions.ArchActionSendResponse(i3); - case r2.sendRichLinkActionType: - return new _.default.actions.ArchActionSendRichLink(i3); - case r2.screenPopActionType: - return new _.default.actions.ArchActionSetScreenPop(i3); - case r2.setActiveIntentActionType: - return new _.default.actions.ArchActionSetIntent(i3); - case r2.setAttributesActionType: - return new _.default.actions.ArchActionSetParticipantData(i3); - case r2.setConversationDataActionType: - return new _.default.actions.ArchActionSetConversationData(i3); - case r2.setExternalTagActionType: - return new _.default.actions.ArchActionSetExternalTag(i3); - case r2.setLocaleActionType: - return new _.default.actions.ArchActionSetLanguage(i3); - case r2.setPriorityActionType: - return new _.default.actions.ArchActionSetPriority(i3); - case r2.setPostFlowActionType: - return new _.default.actions.ArchActionSetPostFlow(i3); - case r2.setSecuredDataActionType: - return new _.default.actions.ArchActionSetSecuredData(i3); - case r2.setSkillExpressionFiltersActionType: - return new _.default.actions.ArchActionSetSkillExpressionFilters(i3); - case r2.setSkillsActionType: - return new _.default.actions.ArchActionSetSkills(i3); - case r2.clearSkillExpressionFiltersActionType: - return new _.default.actions.ArchActionClearSkillExpressionFilters(i3); - case r2.setUtilizationLabelActionType: - return new _.default.actions.ArchActionSetUtilizationLabel(i3); - case r2.setUUIDataActionType: - return new _.default.actions.ArchActionSetUUIData(i3); - case r2.setWrapupCodeActionType: - return new _.default.actions.ArchActionSetWrapupCode(i3); - case r2.setWhisperAudioActionType: - return new _.default.actions.ArchActionSetWhisperAudio(i3); - case r2.showKnowledgeArticleActionActionType: - return new _.default.actions.ArchActionShowKnowledgeArticle(i3); - case r2.submitVoicemailSnippetActionType: - return new _.default.actions.ArchActionSubmitVoicemailSnippet(i3); - case r2.submitVoiceSnippetActionType: - return new _.default.actions.ArchActionSubmitVoiceSnippet(i3); - case r2.switchActionActionType: - return new _.default.actions.ArchActionSwitch(i3); - case r2.taskActionActionType: - return new _.default.actions.ArchActionTask(i3); - case r2.terminateWorkitemActionType: - return new _.default.actions.ArchActionTerminateWorkitem(i3); - case r2.transcriptionActionType: - return new _.default.actions.ArchActionTranscription(i3); - case r2.transferExternalActionType: - return new _.default.actions.ArchActionTransferToNumber(i3); - case r2.transferFlowActionType: - return new _.default.actions.ArchActionTransferToFlow(i3); - case r2.transferFlowSecureActionType: - return new _.default.actions.ArchActionTransferToFlowSecure(i3); - case r2.transferGroupActionType: - return new _.default.actions.ArchActionTransferToGroup(i3); - case r2.transferMenuActionType: - return new _.default.actions.ArchActionJumpToMenu(i3); - case r2.transferPureMatchActionType: - return new _.default.actions.ArchActionTransferToAcd(i3); - case r2.transferTaskActionType: - return new _.default.actions.ArchActionJumpToTask(i3); - case r2.transferUserActionType: - return new _.default.actions.ArchActionTransferToUser(i3); - case r2.transferVoicemailActionType: - return new _.default.actions.ArchActionTransferToVoicemail(i3); - case r2.updateConversationAttributeActionType: - return new _.default.actions.ArchActionUpdateConversationAttribute(i3); - case r2.updateExternalContactActionType: - return new _.default.actions.ArchActionUpdateExternalContact(i3); - case r2.updateVariableActionType: - return new _.default.actions.ArchActionUpdateData(i3); - case r2.updateWorkitemActionType: - return new _.default.actions.ArchActionUpdateWorkitem(i3); - case r2.callCommonModuleActionType: - return new _.default.actions.ArchActionCallCommonModule(i3); - case r2.callTaskActionType: - return new _.default.actions.ArchActionCallTask(i3); - case r2.changeStateActionType: - return new _.default.actions.ArchActionChangeState(i3); - case r2.endTaskActionType: - return new _.default.actions.ArchActionEndTask(i3); - case r2.waitActionType: - return new _.default.actions.ArchActionWait(i3); - case r2.waitForInputActionType: - return new _.default.actions.ArchActionWaitForInput(i3); - case r2.initializeFlowOutcomeActionType: - return new _.default.actions.ArchActionInitializeFlowOutcome(i3); - case r2.setFlowOutcomeActionType: - return new _.default.actions.ArchActionSetFlowOutcome(i3); - } - this._itemIsInvalid(t3, "the action type of '" + i3.info.scriptingName + "' is not supported by this method."); + get isNamespaceArchitect() { + return this.namespace === r.CustomJsonNamespace.architect; } - createArchMenuChoice(e3) { - const t3 = this._infoParm("coreMenuChoiceViewModel", "createArchMenuChoice"); - switch (this._checkItemUndefinedOrNull(t3, e3), this._checkItem(t3, !e3.action || !e3.action.info || !e3.action.info.typeId, "the core menu type does not have a valid core action on it"), e3.action.info.typeId) { - case r2.dialExtensionActionType: - return new _.default.menus.ArchMenuDialByExtension(e3); - case r2.disconnectActionType: - return new _.default.menus.ArchMenuDisconnect(e3); - case r2.menuActionActionType: - return new _.default.menus.ArchMenuSubMenu(e3); - case r2.previousMenuActionType: - return new _.default.menus.ArchMenuPreviousMenu(e3); - case r2.repeatMenuActionType: - return new _.default.menus.ArchMenuRepeatMenu(e3); - case r2.returnToAgentActionType: - return new _.default.menus.ArchMenuReturnToAgent(e3); - case r2.taskActionActionType: - return new _.default.menus.ArchMenuTask(e3); - case r2.transferExternalActionType: - return new _.default.menus.ArchMenuTransferToNumber(e3); - case r2.transferFlowActionType: - return new _.default.menus.ArchMenuTransferToFlow(e3); - case r2.transferFlowSecureActionType: - return new _.default.menus.ArchMenuTransferToFlowSecure(e3); - case r2.transferGroupActionType: - return new _.default.menus.ArchMenuTransferToGroup(e3); - case r2.transferMenuActionType: - return new _.default.menus.ArchMenuJumpToMenu(e3); - case r2.transferTaskActionType: - return new _.default.menus.ArchMenuJumpToTask(e3); - case r2.transferPureMatchActionType: - return new _.default.menus.ArchMenuTransferToAcd(e3); - case r2.transferUserActionType: - return new _.default.menus.ArchMenuTransferToUser(e3); - case r2.transferVoicemailActionType: - return new _.default.menus.ArchMenuTransferToVoicemail(e3); + get isNamespaceConversationAttribute() { + return this.namespace === r.CustomJsonNamespace.conversationAttribute; + } + get isNamespaceDecisionTable() { + return this.namespace === r.CustomJsonNamespace.decisionTable; + } + get isNamespaceWorktype() { + return this.namespace === r.CustomJsonNamespace.worktype; + } + get namespace() { + return this._model.namespace; + } + get namespaceLabel() { + return (0, s.getCustomJsonNamespaceLabel)(this._model.namespace); + } + get namespaceSupportsContext() { + return (0, u.getCustomJsonNamespaceSupportsContext)(this.namespace); + } + 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(); } - this._itemIsInvalid(t3, "the core menu choice action's type of '" + e3.action.info.typeId + "' is not supported by this method."); + return this.subIdentifier; } - createArchMenu(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreMenuViewModel", "createArchMenu"), e3), new _.default.menus.ArchMenu(e3); + get worktypeSchemaId() { + if (this.isNamespaceWorktype) return this.identifier; } - createArchDivision(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreDivisionViewModel", "createArchDivision"), e3), new p.default.ArchDivision(e3); + } + t2.CustomJsonIdentifierInfo = c; + }, 85499(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importStar(i2(12847)), r = 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); } - createArchLanguage(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreIsoLanguageViewModel", "createArchLanguage"), e3), new d.default.ArchLanguage(e3); + static addCustomJsonTypeManager(e3) { + A.instances.set(e3.dataTypeId, e3); } - createArchValueFromExpression(e3) { - return this._createArchValueFromExpressionImpl(e3); + static removeAllCustomJsonTypeManagers() { + A.instances.clear(); } - _createArchValueFromExpressionImpl(e3) { - const t3 = this._infoParm("coreExpression", "createArchValueFromExpression"); - this._checkItemUndefinedOrNull(t3, e3); - const i3 = e3; - let n3, r3; - this._checkItem(t3, !i3.type, "core expression does not have a type property on it"), i3.isAudioExpression ? (n3 = i3.type.isCollection, r3 = i3.type.expressionType) : i3.isExpressionList ? (n3 = true, r3 = i3.type.expressionType) : i3.isCollectionExpression ? (n3 = true, r3 = i3.singleType.expressionType) : i3.isNormalExpression ? (n3 = i3.isCollection, r3 = i3.type.singletonType.expressionType, (0, l.isCustomJsonExpressionDataType)(r3) && (r3 = a.expressionTypeNames.json)) : this._itemIsInvalid(t3, "unable to determine if the core expression is a collection or not."); - const o2 = i3; - if (n3) { - if ((0, l.isCustomJsonExpressionDataType)(r3)) return new _.default.values.ArchValueJsonCollection(o2); - switch (r3) { - case a.expressionTypeNames.agentScorePair: - return new _.default.values.ArchValueAgentScorePairCollection(o2); - case a.expressionTypeNames.any: - return new _.default.values.ArchValueAnyCollection(o2); - case a.expressionTypeNames.assignedCustomerIntent: - return new _.default.values.ArchValueAssignedCustomerIntentCollection(o2); - case a.expressionTypeNames.assignedCustomerSegment: - return new _.default.values.ArchValueAssignedCustomerSegmentCollection(o2); - case a.expressionTypeNames.boolean: - return new _.default.values.ArchValueBooleanCollection(o2); - case a.expressionTypeNames.card: - return new _.default.values.ArchValueCardCollection(o2); - case a.expressionTypeNames.choice: - return new _.default.values.ArchValueChoiceCollection(o2); - case a.expressionTypeNames.communication: - return new _.default.values.ArchValueCommunicationCollection(o2); - case a.expressionTypeNames.currency: - return new _.default.values.ArchValueCurrencyCollection(o2); - case a.expressionTypeNames.customerIntent: - return new _.default.values.ArchValueCustomerIntentCollection(o2); - case a.expressionTypeNames.customerSegment: - return new _.default.values.ArchValueCustomerSegmentCollection(o2); - case a.expressionTypeNames.date: - return new _.default.values.ArchValueDateCollection(o2); - case a.expressionTypeNames.dateTime: - return new _.default.values.ArchValueDateTimeCollection(o2); - case a.expressionTypeNames.decimal: - return new _.default.values.ArchValueDecimalCollection(o2); - case a.expressionTypeNames.digitalAudio: - return new _.default.values.ArchValueDigitalAudioCollection(o2); - case a.expressionTypeNames.division: - return new _.default.values.ArchValueDivisionCollection(o2); - case a.expressionTypeNames.duration: - return new _.default.values.ArchValueDurationCollection(o2); - case a.expressionTypeNames.emergencyGroup: - return new _.default.values.ArchValueEmergencyGroupCollection(o2); - case a.expressionTypeNames.emailAddress: - return new _.default.values.ArchValueEmailAddressCollection(o2); - case a.expressionTypeNames.externalContact: - return new _.default.values.ArchValueExternalContactCollection(o2); - case a.expressionTypeNames.externalOrganization: - return new _.default.values.ArchValueExternalOrganizationCollection(o2); - case a.expressionTypeNames.file: - return new _.default.values.ArchValueFileCollection(o2); - case a.expressionTypeNames.grammar: - return new _.default.values.ArchValueGrammarCollection(o2); - case a.expressionTypeNames.group: - return new _.default.values.ArchValueGroupCollection(o2); - case a.expressionTypeNames.image: - return new _.default.values.ArchValueImageCollection(o2); - case a.expressionTypeNames.integer: - return new _.default.values.ArchValueIntegerCollection(o2); - case a.expressionTypeNames.journeySession: - return new _.default.values.ArchValueJourneySessionCollection(o2); - case a.expressionTypeNames.json: - return new _.default.values.ArchValueJsonCollection(o2); - case a.expressionTypeNames.lineItem: - return new _.default.values.ArchValueLineItemCollection(o2); - case a.expressionTypeNames.languageSkill: - return new _.default.values.ArchValueLanguageSkillCollection(o2); - case a.expressionTypeNames.journeyOutcome: - return new _.default.values.ArchValueJourneyOutcomeCollection(o2); - case a.expressionTypeNames.journeyOutcomeScore: - return new _.default.values.ArchValueJourneyOutcomeScoreCollection(o2); - case a.expressionTypeNames.journeySegment: - return new _.default.values.ArchValueJourneySegmentCollection(o2); - case a.expressionTypeNames.knowledgeBaseDocument: - return new _.default.values.ArchValueKnowledgeBaseDocumentCollection(o2); - case a.expressionTypeNames.listPickerItem: - return new _.default.values.ArchValueListPickerItemCollection(o2); - case a.expressionTypeNames.listPickerSection: - return new _.default.values.ArchValueListPickerSectionCollection(o2); - case a.expressionTypeNames.queue: - return new _.default.values.ArchValueQueueCollection(o2); - case a.expressionTypeNames.phoneNumber: - return new _.default.values.ArchValuePhoneNumberCollection(o2); - case a.expressionTypeNames.prompt: - return new _.default.values.ArchValuePromptCollection(o2); - case a.expressionTypeNames.responseAsset: - return new _.default.values.ArchValueResponseAssetCollection(o2); - case a.expressionTypeNames.schedule: - return new _.default.values.ArchValueScheduleCollection(o2); - case a.expressionTypeNames.scheduleGroup: - return new _.default.values.ArchValueScheduleGroupCollection(o2); - case a.expressionTypeNames.shippingOption: - return new _.default.values.ArchValueShippingOptionCollection(o2); - case a.expressionTypeNames.skill: - return new _.default.values.ArchValueSkillCollection(o2); - case a.expressionTypeNames.string: - return new _.default.values.ArchValueStringCollection(o2); - case a.expressionTypeNames.surveyAnswerOption: - return new _.default.values.ArchValueSurveyAnswerOptionCollection(o2); - case a.expressionTypeNames.surveyQuestionGroup: - return new _.default.values.ArchValueSurveyQuestionGroupCollection(o2); - case a.expressionTypeNames.surveyQuestion: - return new _.default.values.ArchValueSurveyQuestionCollection(o2); - case a.expressionTypeNames.time: - return new _.default.values.ArchValueTimeCollection(o2); - case a.expressionTypeNames.timeslot: - return new _.default.values.ArchValueTimeslotCollection(o2); - case a.expressionTypeNames.userQueue: - return new _.default.values.ArchValueUserCollection(o2); - case a.expressionTypeNames.utilizationLabel: - return new _.default.values.ArchValueUtilizationLabelCollection(o2); - case a.expressionTypeNames.video: - return new _.default.values.ArchValueVideoCollection(o2); - case a.expressionTypeNames.wheelPickerItem: - return new _.default.values.ArchValueWheelPickerItemCollection(o2); - case a.expressionTypeNames.workbin: - return new _.default.values.ArchValueWorkbinCollection(o2); - case a.expressionTypeNames.worktypeStatus: - return new _.default.values.ArchValueWorktypeStatusCollection(o2); - case a.expressionTypeNames.wrapupCode: - return new _.default.values.ArchValueWrapupCodeCollection(o2); - } - } else switch (r3) { - case a.expressionTypeNames.agentScorePair: - return new _.default.values.ArchValueAgentScorePair(o2); - case a.expressionTypeNames.any: - return new _.default.values.ArchValueAny(o2); - case a.expressionTypeNames.assignedCustomerIntent: - return new _.default.values.ArchValueAssignedCustomerIntent(o2); - case a.expressionTypeNames.assignedCustomerSegment: - return new _.default.values.ArchValueAssignedCustomerSegment(o2); - case a.expressionTypeNames.audio: - return new _.default.values.ArchValueAudio(o2); - case a.expressionTypeNames.boolean: - return new _.default.values.ArchValueBoolean(o2); - case a.expressionTypeNames.card: - return new _.default.values.ArchValueCard(o2); - case a.expressionTypeNames.carousel: - return new _.default.values.ArchValueCarousel(o2); - case a.expressionTypeNames.choice: - return new _.default.values.ArchValueChoice(o2); - case a.expressionTypeNames.chooser: - return new _.default.values.ArchValueChooser(o2); - case a.expressionTypeNames.communication: - return new _.default.values.ArchValueCommunication(o2); - case a.expressionTypeNames.contactList: - return new _.default.values.ArchValueContactList(o2); - case a.expressionTypeNames.currency: - return new _.default.values.ArchValueCurrency(o2); - case a.expressionTypeNames.customerIntent: - return new _.default.values.ArchValueCustomerIntent(o2); - case a.expressionTypeNames.customerSegment: - return new _.default.values.ArchValueCustomerSegment(o2); - case a.expressionTypeNames.date: - return new _.default.values.ArchValueDate(o2); - case a.expressionTypeNames.dateTime: - return new _.default.values.ArchValueDateTime(o2); - case a.expressionTypeNames.decimal: - return new _.default.values.ArchValueDecimal(o2); - case a.expressionTypeNames.digitalAudio: - return new _.default.values.ArchValueDigitalAudio(o2); - case a.expressionTypeNames.division: - return new _.default.values.ArchValueDivision(o2); - case a.expressionTypeNames.duration: - return new _.default.values.ArchValueDuration(o2); - case a.expressionTypeNames.emergencyGroup: - return new _.default.values.ArchValueEmergencyGroup(o2); - case a.expressionTypeNames.emailAddress: - return new _.default.values.ArchValueEmailAddress(o2); - case a.expressionTypeNames.externalContact: - return new _.default.values.ArchValueExternalContact(o2); - case a.expressionTypeNames.externalOrganization: - return new _.default.values.ArchValueExternalOrganization(o2); - case a.expressionTypeNames.file: - return new _.default.values.ArchValueFile(o2); - case a.expressionTypeNames.formInput: - return new _.default.values.ArchValueFormInput(o2); - case a.expressionTypeNames.grammar: - return new _.default.values.ArchValueGrammar(o2); - case a.expressionTypeNames.group: - return new _.default.values.ArchValueGroup(o2); - case a.expressionTypeNames.image: - return new _.default.values.ArchValueImage(o2); - case a.expressionTypeNames.integer: - return new _.default.values.ArchValueInteger(o2); - case a.expressionTypeNames.journeyOutcome: - return new _.default.values.ArchValueJourneyOutcome(o2); - case a.expressionTypeNames.journeyOutcomeScore: - return new _.default.values.ArchValueJourneyOutcomeScore(o2); - case a.expressionTypeNames.journeySegment: - return new _.default.values.ArchValueJourneySegment(o2); - case a.expressionTypeNames.journeySession: - return new _.default.values.ArchValueJourneySession(o2); - case a.expressionTypeNames.json: - return new _.default.values.ArchValueJson(o2); - case a.expressionTypeNames.knowledgeBaseDocument: - return new _.default.values.ArchValueKnowledgeBaseDocument(o2); - case a.expressionTypeNames.languageSkill: - return new _.default.values.ArchValueLanguageSkill(o2); - case a.expressionTypeNames.lineItem: - return new _.default.values.ArchValueLineItem(o2); - case a.expressionTypeNames.listPicker: - return new _.default.values.ArchValueListPicker(o2); - case a.expressionTypeNames.listPickerItem: - return new _.default.values.ArchValueListPickerItem(o2); - case a.expressionTypeNames.listPickerSection: - return new _.default.values.ArchValueListPickerSection(o2); - case a.expressionTypeNames.phoneNumber: - return new _.default.values.ArchValuePhoneNumber(o2); - case a.expressionTypeNames.prompt: - return new _.default.values.ArchValuePrompt(o2); - case a.expressionTypeNames.queue: - return new _.default.values.ArchValueQueue(o2); - case a.expressionTypeNames.quickReplies: - return new _.default.values.ArchValueQuickReplies(o2); - case a.expressionTypeNames.responseAsset: - return new _.default.values.ArchValueResponseAsset(o2); - case a.expressionTypeNames.schedule: - return new _.default.values.ArchValueSchedule(o2); - case a.expressionTypeNames.scheduleGroup: - return new _.default.values.ArchValueScheduleGroup(o2); - case a.expressionTypeNames.surveyAnswerOption: - return new _.default.values.ArchValueSurveyAnswerOption(o2); - case a.expressionTypeNames.surveyQuestionGroup: - return new _.default.values.ArchValueSurveyQuestionGroup(o2); - case a.expressionTypeNames.surveyQuestion: - return new _.default.values.ArchValueSurveyQuestion(o2); - case a.expressionTypeNames.skill: - return new _.default.values.ArchValueSkill(o2); - case a.expressionTypeNames.string: - return new _.default.values.ArchValueString(o2); - case a.expressionTypeNames.time: - return new _.default.values.ArchValueTime(o2); - case a.expressionTypeNames.timePicker: - return new _.default.values.ArchValueTimePicker(o2); - case a.expressionTypeNames.timeslot: - return new _.default.values.ArchValueTimeslot(o2); - case a.expressionTypeNames.shippingOption: - return new _.default.values.ArchValueShippingOption(o2); - case a.expressionTypeNames.userQueue: - return new _.default.values.ArchValueUser(o2); - case a.expressionTypeNames.utilizationLabel: - return new _.default.values.ArchValueUtilizationLabel(o2); - case a.expressionTypeNames.video: - return new _.default.values.ArchValueVideo(o2); - case a.expressionTypeNames.voiceSnippet: - return new _.default.values.ArchValueVoiceSnippet(o2); - case a.expressionTypeNames.wheelPicker: - return new _.default.values.ArchValueWheelPicker(o2); - case a.expressionTypeNames.wheelPickerItem: - return new _.default.values.ArchValueWheelPickerItem(o2); - case a.expressionTypeNames.workbin: - return new _.default.values.ArchValueWorkbin(o2); - case a.expressionTypeNames.workitem: - return new _.default.values.ArchValueWorkitem(o2); - case a.expressionTypeNames.worktypeStatus: - return new _.default.values.ArchValueWorktypeStatus(o2); - case a.expressionTypeNames.wrapupCode: - return new _.default.values.ArchValueWrapupCode(o2); - } - this._itemIsInvalid(t3, "the core expression's expression type of '" + i3.type.expressionType + "' ( collection = " + !!n3 + ") is not supported by this method."); + constructor(e3) { + this._resources = { schemaNotUsable: y.customJson.schemaNotUsable, schemaChanged: y.customJson.schemaChanged, schemaChangeApplied: y.customJson.schemaChangeApplied, schemaChangeNotApplied: y.customJson.schemaChangeNotApplied, schemaChangeMoreRestrictive: y.customJson.schemaChangeMoreRestrictive, schemaGone: y.customJson.schemaGone }, this._flow = e3.flow, this._dataTypeId = e3.dataTypeId, this._parentExpressionTypeName = e3.parentExpressionTypeName, this._jsonSchemaIdBase = e3.jsonSchemaIdBase, this._jsonSchemaSource = e3.jsonSchemaSource, this._propName = e3.parentExpressionPropName, this._schemaName = e3.schemaName, this._updateCallback = e3.updateCallback, e3.resourcesOverride && (this._resources = e3.resourcesOverride), o.info("Adding custom json type with config", e3), A.addCustomJsonTypeManager(this); } - createArchValueSettings(e3) { - return this._checkItem(this._infoParm("archBaseValue", "createArchValueSettings"), !e3 || !e3.isArchBaseValue, "no archBaseValue supplied"), new _.default.values.ArchValueSettings(e3); + get noLongerHasSchema() { + return this._noLongerHasSchema; } - createArchMenuSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreMenuSettingsViewModel", "createArchMenuSettings"), e3), e3.isFlowSettings ? new _.default.settings.ArchSettingsMenuFlow(e3) : new _.default.settings.ArchSettingsMenu(e3); + get schemaChangeMoreRestrictive() { + return this._schemaChangeMoreRestrictive; } - createArchPromptsSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreCallPromptsViewModel", "createArchPromptsSettings"), e3), new _.default.settings.ArchSettingsPromptsFlow(e3); + get schemaChangeNotUsable() { + return this._schemaChangeNotUsable; } - createArchCommonModuleFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreCommonModuleFlowSettingsViewModel", "coreCommonModuleFlowSettingsViewModel"), e3), new _.default.settings.ArchSettingsCommonModuleFlow(e3); + get schemaNotUsable() { + return this._schemaNotUsable; } - createArchOutboundCallFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreOutboundCallFlowSettingsViewModel", "createArchOutboundCallFlowSettings"), e3), new _.default.settings.ArchSettingsOutboundCallFlow(e3); + get updateSchemaProcessingResult() { + return this._updateSchemaProcessingResult; } - createArchVoiceSurveyFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreVoiceSurveyFlowSettingsViewModel", "createArchVoiceSurveyFlowSettings"), e3), new _.default.settings.ArchSettingsVoiceSurveyFlow(e3); + get updateSchemaDiffResults() { + return this._updateSchemaDiffResults; } - createArchWorkitemFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreWorkitemFlowSettingsViewModel", "createArchWorkitemFlowSettings"), e3), new _.default.settings.ArchSettingsWorkitemFlow(e3); + get _parentFlow() { + return this._flow.parentFlow; } - createArchBotFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreBotFlowSettingsViewModel", "createArchBotFlowSettings"), e3), new _.default.settings.ArchSettingsBotFlow(e3); + get customDataType() { + return f.default.getType(this._parentFlow, this._dataTypeId); } - createArchSettingsNluIntents(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreSettingsIntentsViewModel", "createArchSettingsNluIntents"), e3), new _.default.settings.ArchSettingsNluIntents(e3); + get dataTypeId() { + return this._dataTypeId; } - createArchInboundEmailFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreInboundEmailFlowSettingsViewModel", "createArchInboundEmailFlowSettings"), e3), new _.default.settings.ArchSettingsInboundEmailFlow(e3); + set dataTypeId(e3) { + this._dataTypeId = e3, A.addCustomJsonTypeManager(this), this._updateCallback && this._updateCallback(this); } - createArchEmailSendFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreEmailSendFlowSettingsViewModel", "createArchEmailSendFlowSettings"), e3), new _.default.settings.ArchSettingsEmailSendFlow(e3); + get hasSchema() { + return !!this.customDataType; } - createArchFlowInfo(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreFlowInfoViewModel", "createArchFlowInfo"), e3), new _.default.flows.ArchFlowInfo(e3); + _clearProcessingResults() { + this._updateSchemaDiffResults = void 0, this._updateSchemaProcessingResult = void 0, this._schemaNotUsable = void 0, this._schemaChangeNotUsable = void 0, this._schemaChangeMoreRestrictive = void 0; } - createArchFlowInfoBasic(e3, t3, i3) { - return new _.default.flows.ArchFlowInfoBasic({ id: e3, name: t3, type: i3 }); + tryUpdateParentExpressionPropTypeFromSchema(e3, t3, i3, n3, o2) { + 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 === (c2 = i4.schemaDiffResult) || void 0 === c2 ? void 0 : c2.isDiffResultLessRestrictiveThan())) return o2 && this._flow.definitions.getCustomDataTypeDefinition(this.dataTypeId).addReader(o2), 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 === (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; + const h3 = Object.values(i4.schemaProcessingResult.customDataTypeDefs); + r.createCustomExpressionTypesFromDataTypeDefs(this._parentFlow, h3, true), o2 && h3.forEach((e4) => { + e4.addReader(o2); + }), t3 || a.emitter.emit(a.alert, { message: this.formatResources(this._resources.schemaChanged, this._resources.schemaChangeApplied), type: l.AlertTypeEnum.info }); + } catch (e4) { + return S.exception(e4, `Exception encountered during custom type creation for flow (ID: '${null === (h2 = this._parentFlow) || void 0 === h2 ? void 0 : h2.id}').`), m2 ? this._schemaChangeNotUsable = true : this._schemaNotUsable = true, a.emitter.emit(a.alert, { message: m2 ? this.formatResources(this._resources.schemaChanged, this._resources.schemaNotUsable, this._resources.schemaChangeNotApplied) : this.formatResources(this._resources.schemaNotUsable, this._resources.schemaChangeNotApplied), type: l.AlertTypeEnum.error }), false; + } + return true; } - createArchFlowInfoVersion(e3) { - return new _.default.flows.ArchFlowInfoVersion(e3); + createDataTypeDefsAndCheckParentExpressionTypePropCompatibility(e3, t3) { + const i3 = new m.default(this._jsonSchemaIdBase, e3, this._jsonSchemaSource, null, this._schemaName).createDataTypeDefViewModelsForJsonSchema(this._flow, true), n3 = { canUse: !i3.failure, isLessRestrictive: false, schemaProcessingResult: i3 }; + if (!n3.canUse) return n3; + const o2 = this._flow.definitions.getCustomDataTypeDefinition(i3.rootDataTypeDefId); + if (!o2) return n3; + const r2 = i3.customDataTypeDefs[i3.rootDataTypeDefId]; + return n3.schemaDiffResult = o2.compareToAndGetDiffs(r2), n3.schemaDiffResult.isDiffResultMoreRestrictiveThan() ? (n3.canUse = !!t3, n3.isLessRestrictive = false) : n3.schemaDiffResult.isDiffResultLessRestrictiveThan() && (n3.isLessRestrictive = true), n3; } - createArchDataTypeJsonCustomSchema(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreDataTypeDefViewModel", "createArchDataTypeJsonCustomSchema"), e3), new c.default.ArchDataTypeJsonCustomSchema(e3); + updateExpressionTypeAndVariable() { + var e3; + const t3 = f.default.getType(this._parentFlow, this._parentExpressionTypeName); + if (!t3) return; + let i3 = this.customDataType; + i3 || (i3 = f.default.getType(this._parentFlow, T.expressionTypeNames.emptyJson)), this._schemaName && (i3.schemaName = this._schemaName), this.updateJsonPropertyToJsonExpressionType(this._propName, t3, i3) && (null === (e3 = this._flow.variableGroup) || void 0 === e3 || e3.reexpandVariablesForType(t3)); } - createArchInQueueFlowSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreInQueueFlowSettings", "createArchInQueueFlowSettings"), e3), new _.default.settings.ArchSettingsInQueueCallFlow(e3); + updateJsonPropertyToJsonExpressionType(e3, t3, i3) { + if (!e3) return o.error("no property name passed in when attempting to update a property to a custom data type."), false; + if (!i3) return o.error(`no custom data type passed in when attempting to update the property '${e3}' to a custom data type.`), false; + const n3 = t3.getPropertyDefinition(e3); + return n3 ? (n3.setJsonExpressionType(i3) ? o.info(`successfully updated '${e3}' to '${i3.dataType}'`) : o.error(`error! did not '${e3}' to '${i3.dataType}'`), n3.setJsonExpressionType(i3)) : (o.error(`unable to find the property '${e3}' on the type '${t3.expressionType}' when attempting to set it to a custom type.`), false); } - createArchErrorHandlingSettingsFlow(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreErrorHandlingSettingsViewModel", "createArchErrorHandlingSettingsFlow"), e3), new _.default.settings.ArchSettingsEventErrorFlow(e3); + getErrors() { + var e3; + const t3 = []; + return this.noLongerHasSchema && t3.push(this.formatResources(this._resources.schemaGone)), (null === (e3 = this._updateSchemaProcessingResult) || void 0 === e3 ? void 0 : e3.failure) && t3.push(this._updateSchemaProcessingResult.failure.displayStr), t3; } - createArchErrorHandlingSettingsFlowBot(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreBotErrorHandlingSettingsViewModel", "createArchErrorHandlingSettingsFlowBot"), e3), new _.default.settings.ArchSettingsEventErrorFlowBot(e3); + getWarnings() { + var e3; + const t3 = []; + return this.schemaNotUsable && t3.push(this.formatResources(this._resources.schemaNotUsable)), this.schemaChangeMoreRestrictive ? t3.push(this.formatResources(this._resources.schemaChanged, this._resources.schemaChangeMoreRestrictive)) : this._schemaChangeNotUsable && t3.push(this.formatResources(this._resources.schemaChanged, this._resources.schemaNotUsable)), (null === (e3 = this._updateSchemaProcessingResult) || void 0 === e3 ? void 0 : e3.warning) && t3.push(this._updateSchemaProcessingResult.warning.displayStr), t3; } - createArchSpeechRecSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechRecSettingsViewModel", "createArchSpeechRecSettings"), e3), e3.isFlowSettings ? new _.default.settings.ArchSettingsSpeechRecFlow(e3) : new _.default.settings.ArchSettingsSpeechRec(e3); + processValidationSchema(e3, t3, i3 = false) { + this._noLongerHasSchema = void 0, this._schemaChangeMoreRestrictive = void 0, this._schemaChangeNotUsable = void 0, this._schemaNotUsable = void 0, this._deferredSchemaToUpdate = void 0, e3 ? t3 ? this.tryUpdateParentExpressionPropTypeFromSchema(e3, i3) && this.updateExpressionTypeAndVariable() : this._deferredSchemaToUpdate = e3 : this.hasSchema && (this._noLongerHasSchema = true); } - createArchVariableFromVariable(e3) { - const t3 = this._infoParm("coreVariable", "createArchVariableFromVariable"); - let i3; - switch (this._checkItemUndefinedOrNull(t3, e3), this._checkItem(t3, !e3.type, "core variable does not have a type property on it"), i3 = (0, l.isCustomJsonExpressionDataType)(e3.type.expressionType) ? a.expressionTypeNames.json : e3.type.expressionType, i3) { - case a.expressionTypeNames.agentScorePair: - return new _.default.variables.ArchVariableAgentScorePair(e3); - case a.expressionTypeNames.agentScorePair + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableAgentScorePairCollection(e3); - case a.expressionTypeNames.assignedCustomerIntent: - return new _.default.variables.ArchVariableAssignedCustomerIntent(e3); - case a.expressionTypeNames.assignedCustomerIntent + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableAssignedCustomerIntentCollection(e3); - case a.expressionTypeNames.assignedCustomerSegment: - return new _.default.variables.ArchVariableAssignedCustomerSegment(e3); - case a.expressionTypeNames.assignedCustomerSegment + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableAssignedCustomerSegmentCollection(e3); - case a.expressionTypeNames.boolean: - return new _.default.variables.ArchVariableBoolean(e3); - case a.expressionTypeNames.boolean + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableBooleanCollection(e3); - case a.expressionTypeNames.card: - return new _.default.variables.ArchVariableCard(e3); - case a.expressionTypeNames.card + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableCardCollection(e3); - case a.expressionTypeNames.carousel: - return new _.default.variables.ArchVariableCarousel(e3); - case a.expressionTypeNames.choice: - return new _.default.variables.ArchVariableChoice(e3); - case a.expressionTypeNames.choice + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableChoiceCollection(e3); - case a.expressionTypeNames.chooser: - return new _.default.variables.ArchVariableChooser(e3); - case a.expressionTypeNames.chooser + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableChooserCollection(e3); - case a.expressionTypeNames.communication: - return new _.default.variables.ArchVariableCommunication(e3); - case a.expressionTypeNames.communication + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableCommunicationCollection(e3); - case a.expressionTypeNames.customerIntent: - return new _.default.variables.ArchVariableCustomerIntent(e3); - case a.expressionTypeNames.customerIntent + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableCustomerIntentCollection(e3); - case a.expressionTypeNames.customerSegment: - return new _.default.variables.ArchVariableCustomerSegment(e3); - case a.expressionTypeNames.customerSegment + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableCustomerSegmentCollection(e3); - case a.expressionTypeNames.currency: - return new _.default.variables.ArchVariableCurrency(e3); - case a.expressionTypeNames.currency + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableCurrencyCollection(e3); - case a.expressionTypeNames.date: - return new _.default.variables.ArchVariableDate(e3); - case a.expressionTypeNames.date + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableDateCollection(e3); - case a.expressionTypeNames.dateTime: - return new _.default.variables.ArchVariableDateTime(e3); - case a.expressionTypeNames.dateTime + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableDateTimeCollection(e3); - case a.expressionTypeNames.decimal: - return new _.default.variables.ArchVariableDecimal(e3); - case a.expressionTypeNames.decimal + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableDecimalCollection(e3); - case a.expressionTypeNames.digitalAudio: - return new _.default.variables.ArchVariableDigitalAudio(e3); - case a.expressionTypeNames.digitalAudio + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableDigitalAudioCollection(e3); - case a.expressionTypeNames.division: - return new _.default.variables.ArchVariableDivision(e3); - case a.expressionTypeNames.division + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableDivisionCollection(e3); - case a.expressionTypeNames.duration: - return new _.default.variables.ArchVariableDuration(e3); - case a.expressionTypeNames.duration + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableDurationCollection(e3); - case a.expressionTypeNames.emergencyGroup: - return new _.default.variables.ArchVariableEmergencyGroup(e3); - case a.expressionTypeNames.emergencyGroup + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableEmergencyGroupCollection(e3); - case a.expressionTypeNames.emailAddress: - return new _.default.variables.ArchVariableEmailAddress(e3); - case a.expressionTypeNames.emailAddress + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableEmailAddressCollection(e3); - case a.expressionTypeNames.externalContact: - return new _.default.variables.ArchVariableExternalContact(e3); - case a.expressionTypeNames.externalContact + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableExternalContactCollection(e3); - case a.expressionTypeNames.externalOrganization: - return new _.default.variables.ArchVariableExternalOrganization(e3); - case a.expressionTypeNames.externalOrganization + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableExternalOrganizationCollection(e3); - case a.expressionTypeNames.file: - return new _.default.variables.ArchVariableFile(e3); - case a.expressionTypeNames.file + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableFileCollection(e3); - case a.expressionTypeNames.formInput: - return new _.default.variables.ArchVariableFormInput(e3); - case a.expressionTypeNames.grammar: - return new _.default.variables.ArchVariableGrammar(e3); - case a.expressionTypeNames.grammar + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableGrammarCollection(e3); - case a.expressionTypeNames.group: - return new _.default.variables.ArchVariableGroup(e3); - case a.expressionTypeNames.group + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableGroupCollection(e3); - case a.expressionTypeNames.image: - return new _.default.variables.ArchVariableImage(e3); - case a.expressionTypeNames.image + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableImageCollection(e3); - case a.expressionTypeNames.integer: - return new _.default.variables.ArchVariableInteger(e3); - case a.expressionTypeNames.integer + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableIntegerCollection(e3); - case a.expressionTypeNames.languageSkill: - return new _.default.variables.ArchVariableLanguageSkill(e3); - case a.expressionTypeNames.languageSkill + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableLanguageSkillCollection(e3); - case a.expressionTypeNames.lineItem: - return new _.default.variables.ArchVariableLineItem(e3); - case a.expressionTypeNames.lineItem + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableLineItemCollection(e3); - case a.expressionTypeNames.journeyOutcome: - return new _.default.variables.ArchVariableJourneyOutcome(e3); - case a.expressionTypeNames.journeyOutcome + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableJourneyOutcomeCollection(e3); - case a.expressionTypeNames.journeyOutcomeScore: - return new _.default.variables.ArchVariableJourneyOutcomeScore(e3); - case a.expressionTypeNames.journeyOutcomeScore + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableJourneyOutcomeScoreCollection(e3); - case a.expressionTypeNames.journeySegment: - return new _.default.variables.ArchVariableJourneySegment(e3); - case a.expressionTypeNames.journeySegment + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableJourneySegmentCollection(e3); - case a.expressionTypeNames.journeySession: - return new _.default.variables.ArchVariableJourneySession(e3); - case a.expressionTypeNames.journeySession + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableJourneySessionCollection(e3); - case a.expressionTypeNames.json: - return new _.default.variables.ArchVariableJson(e3); - case a.expressionTypeNames.json + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableJsonCollection(e3); - case a.expressionTypeNames.knowledgeBaseDocument: - return new _.default.variables.ArchVariableKnowledgeBaseDocument(e3); - case a.expressionTypeNames.knowledgeBaseDocument + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableKnowledgeBaseDocumentCollection(e3); - case a.expressionTypeNames.listPicker: - return new _.default.variables.ArchVariableListPicker(e3); - case a.expressionTypeNames.listPickerItem: - return new _.default.variables.ArchVariableListPickerItem(e3); - case a.expressionTypeNames.listPickerItem + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableListPickerItemCollection(e3); - case a.expressionTypeNames.listPickerSection: - return new _.default.variables.ArchVariableListPickerSection(e3); - case a.expressionTypeNames.listPickerSection + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableListPickerSectionCollection(e3); - case a.expressionTypeNames.phoneNumber: - return new _.default.variables.ArchVariablePhoneNumber(e3); - case a.expressionTypeNames.phoneNumber + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariablePhoneNumberCollection(e3); - case a.expressionTypeNames.queue: - return new _.default.variables.ArchVariableQueue(e3); - case a.expressionTypeNames.queue + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableQueueCollection(e3); - case a.expressionTypeNames.quickReplies: - return new _.default.variables.ArchVariableQuickReplies(e3); - case a.expressionTypeNames.prompt: - return new _.default.variables.ArchVariablePrompt(e3); - case a.expressionTypeNames.prompt + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariablePromptCollection(e3); - case a.expressionTypeNames.responseAsset: - return new _.default.variables.ArchVariableResponseAsset(e3); - case a.expressionTypeNames.responseAsset + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableResponseAssetCollection(e3); - case a.expressionTypeNames.schedule: - return new _.default.variables.ArchVariableSchedule(e3); - case a.expressionTypeNames.schedule + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableScheduleCollection(e3); - case a.expressionTypeNames.scheduleGroup: - return new _.default.variables.ArchVariableScheduleGroup(e3); - case a.expressionTypeNames.scheduleGroup + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableScheduleGroupCollection(e3); - case a.expressionTypeNames.shippingOption: - return new _.default.variables.ArchVariableShippingOption(e3); - case a.expressionTypeNames.shippingOption + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableShippingOptionCollection(e3); - case a.expressionTypeNames.skill: - return new _.default.variables.ArchVariableSkill(e3); - case a.expressionTypeNames.skill + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableSkillCollection(e3); - case a.expressionTypeNames.string: - return new _.default.variables.ArchVariableString(e3); - case a.expressionTypeNames.string + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableStringCollection(e3); - case a.expressionTypeNames.surveyAnswerOption: - return new _.default.variables.ArchVariableSurveyAnswerOption(e3); - case a.expressionTypeNames.surveyAnswerOption + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableSurveyAnswerOptionCollection(e3); - case a.expressionTypeNames.surveyQuestion: - return new _.default.variables.ArchVariableSurveyQuestion(e3); - case a.expressionTypeNames.surveyQuestion + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableSurveyQuestionCollection(e3); - case a.expressionTypeNames.surveyQuestionGroup: - return new _.default.variables.ArchVariableSurveyQuestionGroup(e3); - case a.expressionTypeNames.surveyQuestionGroup + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableSurveyQuestionGroupCollection(e3); - case a.expressionTypeNames.surveyForm: - return new _.default.variables.ArchVariableSurveyForm(e3); - case a.expressionTypeNames.time: - return new _.default.variables.ArchVariableTime(e3); - case a.expressionTypeNames.time + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableTimeCollection(e3); - case a.expressionTypeNames.timePicker: - return new _.default.variables.ArchVariableTimePicker(e3); - case a.expressionTypeNames.timeslot: - return new _.default.variables.ArchVariableTimeslot(e3); - case a.expressionTypeNames.timeslot + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableTimeslotCollection(e3); - case a.expressionTypeNames.userQueue: - return new _.default.variables.ArchVariableUser(e3); - case a.expressionTypeNames.userQueue + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableUserCollection(e3); - case a.expressionTypeNames.utilizationLabel: - return new _.default.variables.ArchVariableUtilizationLabel(e3); - case a.expressionTypeNames.utilizationLabel + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableUtilizationLabelCollection(e3); - case a.expressionTypeNames.video: - return new _.default.variables.ArchVariableVideo(e3); - case a.expressionTypeNames.video + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableVideoCollection(e3); - case a.expressionTypeNames.voiceSnippet: - return new _.default.variables.ArchVariableVoiceSnippet(e3); - case a.expressionTypeNames.wheelPicker: - return new _.default.variables.ArchVariableWheelPicker(e3); - case a.expressionTypeNames.wheelPickerItem: - return new _.default.variables.ArchVariableWheelPickerItem(e3); - case a.expressionTypeNames.wheelPickerItem + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableWheelPickerItemCollection(e3); - case a.expressionTypeNames.workbin: - return new _.default.variables.ArchVariableWorkbin(e3); - case a.expressionTypeNames.workbin + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableWorkbinCollection(e3); - case a.expressionTypeNames.workitem: - return new _.default.variables.ArchVariableWorkitem(e3); - case a.expressionTypeNames.worktypeStatus: - return new _.default.variables.ArchVariableWorktypeStatus(e3); - case a.expressionTypeNames.worktypeStatus + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableWorktypeStatusCollection(e3); - case a.expressionTypeNames.wrapupCode: - return new _.default.variables.ArchVariableWrapupCode(e3); - case a.expressionTypeNames.wrapupCode + o.default.exprDataTypeSuffixCollection: - return new _.default.variables.ArchVariableWrapupCodeCollection(e3); + formatResources(...e3) { + const t3 = this._schemaName || this._propName, i3 = e3.map((e4) => (0, g.sprintf)(e4, t3)); + switch (i3.length) { + case 1: + return i3[0]; + case 2: + return (0, g.sprintf)(y.generic.joinTwoSentences, i3[0], i3[1]); + case 3: + return (0, g.sprintf)(y.generic.joinThreeSentences, i3[0], i3[1], i3[2]); + default: + return o.warn(`No resources for joining ${i3.length} sentences. Just jamming them together.`), i3.join(" "); } - this._itemIsInvalid(t3, "the core coreVariable's expression type of '" + e3.type.expressionType + "' is not supported by this method."); } - createArchVariableSettings(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("archBaseVariable", "createArchVariableSettings"), e3), new _.default.variables.ArchVariableSettings(e3); + processDeferredSchemaUpdate(e3) { + this._deferredSchemaToUpdate && this.tryUpdateParentExpressionPropTypeFromSchema(this._deferredSchemaToUpdate, e3), this.updateExpressionTypeAndVariable(); + } + static resolveTypeFromId(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var i3; + if (!(null == t3 ? void 0 : t3.length)) return; + const n3 = _.CustomJsonIdentifierInfo.create(t3); + switch (n3.namespace) { + case p.CustomJsonNamespace.conversationAttribute: { + const o2 = A.getCustomJsonTypeManagerByDataTypeId(t3); + if (null == o2 ? void 0 : o2.customDataType) return o2.customDataType; + const r2 = yield u.conversationCustomAttributeSchemaManager.getOrFetchItem(n3.conversationAttributeSchemaId), a2 = r2.id, s2 = A.getOrCreateConversationCustomAttributeSchemaCustomJsonManager(e3, r2.name, a2), l2 = null === (i3 = null == r2 ? void 0 : r2.model) || void 0 === i3 ? void 0 : i3.jsonSchema; + return s2.tryUpdateParentExpressionPropTypeFromSchema(l2, true, false, true), s2.customDataType; + } + case p.CustomJsonNamespace.decisionTable: { + const i4 = A.getCustomJsonTypeManagerByDataTypeId(t3); + if (i4 && i4.customDataType) return i4.customDataType; + const o2 = yield h.decisionTableManager.getOrFetchItem(n3.decisionTableId), r2 = o2.id, a2 = n3.isContextInput, s2 = A.getOrCreateDecisionTableCustomJsonManager(e3, o2.name, r2, a2, y.variable.input, y.variable.output), l2 = o2.model.publishedContract, u2 = a2 ? l2.executionInputSchema : l2.executionOutputSchema; + return s2.tryUpdateParentExpressionPropTypeFromSchema(u2, true, false, true), s2.customDataType; + } + } + }); + } + static getOrCreateDecisionTableCustomJsonManager(e3, t3, i3, n3, r2, a2) { + const s2 = `${t3} - ${n3 ? r2 : a2}`, l2 = `${i3}_${n3 ? A.CUSTOM_JSON_INPUT : A.CUSTOM_JSON_TABLE_OUTPUT}`, u2 = A.getCustomJsonTypeManagerByDataTypeId(l2); + return u2 ? u2._parentFlow.id === e3.id ? (o.info(`Reusing pre-existing custom Json type manager: ${u2.dataTypeId}`), u2) : (o.info(`Deleting manager for another flow (custom Json type manager: ${l2})`), this.instances.delete(u2._dataTypeId), o.info(`Creating new custom Json type manager: ${l2}`), new A({ dataTypeId: l2, jsonSchemaIdBase: l2, jsonSchemaSource: p.CustomJsonNamespace.decisionTable, parentExpressionPropName: null, schemaName: s2, flow: e3 })) : (o.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`, r2 = _.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(p.CustomJsonNamespace.conversationAttribute, i3, d.CustomJsonContext.schemaData)), a2 = A.getCustomJsonTypeManagerByDataTypeId(r2.expressionTypeStr); + return a2 ? a2._parentFlow.id === e3.id ? (o.info(`Reusing pre-existing custom Json type manager: ${a2.dataTypeId}`), a2) : (o.info(`Deleting manager for another flow (custom Json type manager: ${r2.expressionTypeStr})`), this.instances.delete(a2._dataTypeId), o.info(`Creating new custom Json type manager: ${r2.expressionTypeStr}`), new A({ dataTypeId: r2.expressionTypeStr, jsonSchemaIdBase: r2.identifier, jsonSchemaSource: p.CustomJsonNamespace.conversationAttribute, parentExpressionPropName: null, schemaName: n3, flow: e3 })) : (o.info(`Creating new custom Json type manager: ${r2.expressionTypeStr}`), new A({ dataTypeId: r2.expressionTypeStr, jsonSchemaIdBase: r2.identifier, jsonSchemaSource: p.CustomJsonNamespace.conversationAttribute, parentExpressionPropName: null, schemaName: n3, flow: e3 })); + } + } + A.CUSTOM_JSON_INPUT = "input", A.CUSTOM_JSON_TABLE_OUTPUT = "output", A.instances = /* @__PURE__ */ new Map(), t2.default = A; + }, 38661(e2, t2, i2) { + "use strict"; + t2.CustomerIntentType = void 0; + const n2 = i2(80428), o = i2(94765), r = i2(15117); + class a extends o.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); + } + get className() { + return "CustomerIntentType"; + } + createExpressionOptionClass() { + return new r.ExpressionTypeCustomerIntentOptions(); + } + get supportsLiteralEditor() { + return false; + } + } + t2.CustomerIntentType = a, a.typeIdentifier = n2.expressionTypeNames.customerIntent; + }, 30758(e2, t2, i2) { + "use strict"; + t2.CustomerSegmentType = void 0; + const n2 = i2(31635), o = i2(80428), r = 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); + } + get className() { + return "CustomerSegmentType"; } - createArchBaseValueContainer(e3) { - const t3 = this._infoParm("coreExpressionContainer", "createArchBaseValueContainer"); - 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."); + createExpressionOptionClass() { + return new c.ExpressionTypeCustomerSegmentOptions(this.isCollection); } - getArchLanguageForTag(e3) { - return this._checkItemIsValidLiteralString(this._infoParm("languageTag", "getArchLanguageForTag"), e3), d.default.archLanguages.getByLanguageTag(e3); + canConvertLitToExpression(e3) { + return r.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindCustomerSegments", e3, [s.globalTypes.stringCollection]); } - createArchSpeechRecTermContainer(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechRecTermContainerViewModel", "createArchSpeechRecTermContainer"), e3), new _.default.speechRec.ArchSpeechRecTermContainer(e3); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindCustomerSegments(MakeList(${a.default.getQuotedExpressionStringLiteral(t3)}))` : ""; } - createArchSpeechRecTermContainers(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechRecViewModel", "createArchSpeechRecTermContainers"), e3), new _.default.speechRec.ArchSpeechRecTermContainers(e3); + getCollectionItemLiteralText(e3) { + return e3.isLiteralMode && e3.text ? a.default.getQuotedExpressionStringLiteral(e3.text) : e3.getEmbeddableExpressionText(); } - createArchState(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreStateViewModel", "createArchState"), e3), new _.default.tasks.ArchState(e3); + convertCollectionLiteralToExpression(e3, t3) { + return this.canConvertLitToExpression(e3) ? `FindCustomerSegments(MakeList(${t3.filter((e4) => e4).join(", ")}))` : null; } - createArchStateBot(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreBotStateViewModel", "createArchStateBot"), e3), new _.default.tasks.ArchStateBot(e3); + _getLiteralValueOfExpression() { + return ""; } - createArchBranch(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreBranchInfoViewModel", "createArchBranch"), e3), new _.default.outputs.ArchBranch(e3); + get listManager() { + return l.customerSegmentManager.getBriefManagerWithFallback(); } - createArchTask(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreTaskViewModel", "createArchTask"), e3), e3.isLoopTaskViewModel ? new _.default.tasks.ArchTaskLoop(e3) : e3.isCommonModuleTaskViewModel ? new _.default.tasks.ArchTaskCommonModule(e3) : new _.default.tasks.ArchTask(e3); + } + t2.CustomerSegmentType = d, d.typeIdentifier = o.expressionTypeNames.customerSegment; + }, 27314(e2, t2, i2) { + "use strict"; + t2.DateTimeType = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(95093)), r = 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); } - createArchSettingsNluDynamicSlotType(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreDynamicSlotTypeViewModel", "createArchSettingsNluDynamicSlotType"), e3), new _.default.settings.ArchSettingsNluDynamicSlotType(e3); + get className() { + return "DateTimeType"; } - createArchSettingsNluDynamicTimeslotType(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreDynamicTimeslotTypeViewModel", "createArchSettingsNluDynamicTimeslotType"), e3), new _.default.settings.ArchSettingsNluDynamicTimeslotType(e3); + createExpressionOptionClass() { + return new s.ExpressionTypeDateTimeOptions(this.isCollection); } - createArchSettingsNluIntent(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreIntentSettingsViewModel", "createArchSettingsNluIntent"), e3), new _.default.settings.ArchSettingsNluIntent(e3); + convertLitToExpression(e3, t3) { + const i3 = this.getParsedDate(t3, null, false); + return i3 ? (0, r.sprintf)("MakeDateTime(%s, %s, %s, %s, %s, %s)", i3.year, i3.month, i3.date, i3.hours, i3.minutes, i3.seconds) : t3; } - createArchSettingsDetectionJobIntent(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreDetectionJobIntentSettingsViewModel", "createArchSettingsDetectionJobIntent"), e3), new _.default.settings.ArchSettingsDetectionJobIntent(e3); + _getLiteralValueOfExpression() { + return ""; } - createArchSettingsNluSlot(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreSlotSettingsViewModel", "createArchSettingsNluSlot"), e3), new _.default.settings.ArchSettingsNluSlot(e3); + getYamlObjectForLiteralSingleton(e3) { + super.getYamlObjectForLiteralSingleton.apply(this, arguments); + const t3 = this.getParsedDate(e3.text, e3, true); + return { year: t3.year, month: t3.month, day: t3.date, hour: t3.hours, minute: t3.minutes, second: t3.seconds }; } - createArchSettingsNluKnowledge(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreKnowledgeSettingsViewModel", "createArchSettingsNluKnowledge"), e3), new _.default.settings.ArchSettingsNluKnowledge(e3); + searchExpression(e3, t3) { + const i3 = o.default.utc(t3.text); + if (t3.isLiteralMode && i3) { + let n3 = i3.hours(); + const o2 = n3 >= 12 ? "PM" : "AM"; + n3 = n3 > 12 ? n3 - 12 : n3; + const a2 = (0, r.sprintf)("%s-%02d-%02d %s:%02d:%02d %s", i3.year(), i3.month() + 1, i3.date(), n3, i3.minutes(), i3.seconds(), o2); + e3.checkText(t3, a2, t3.label); + } else super.searchExpression(e3, t3); } - createArchSettingsNluVirtualAgent(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreVirtualAgentSettingsViewModel", "createArchSettingsNluVirtualAgent"), e3), new _.default.settings.ArchSettingsNluVirtualAgent(e3); + convertLitToCustomJsonStr(e3, t3, i3, n3) { + return `"${i3 || t3 || ""}"`; } - createArchSettingsSupportedLanguage(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreLanguageOptions", "createArchSettingsSupportedLanguage"), e3), new _.default.settings.ArchSettingsSupportedLanguage(e3); + 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, r.sprintf)(a.configureFromModel.dateTimeLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const o2 = t3; + if ("number" != typeof o2.year) return void (n3 && n3.warn(a.configureFromModel.dateTimeLiteralRequiresYear)); + const s2 = o2.year, c2 = "number" == typeof o2.month ? o2.month : 1, d2 = "number" == typeof o2.day ? o2.day : 1, p2 = "number" == typeof o2.hour ? o2.hour : 0, _ = "number" == typeof o2.minute ? o2.minute : 0, h = "number" == typeof o2.second ? o2.second : 0; + if (this.enforceValueLimit(s2 >= u.default.minDateYear && s2 <= u.default.maxDateYear, (0, r.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "year", s2, u.default.minDateYear, u.default.maxDateYear), n3) && this.enforceValueLimit(c2 >= 1 && c2 <= 12, (0, r.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "month", c2, 1, 12), n3) && this.enforceValueLimit(d2 >= 1 && d2 <= 31, (0, r.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "day", d2, 1, 31), n3) && this.enforceValueLimit(p2 >= 0 && p2 <= 23, (0, r.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "hour", p2, 0, 23), n3) && this.enforceValueLimit(_ >= 0 && _ <= 59, (0, r.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "minute", _, 0, 59), n3) && this.enforceValueLimit(h >= 0 && h <= 59, (0, r.sprintf)(a.configureFromModel.dateTimeLiteralPartOutOfRange, "second", h, 0, 59), n3) && (e3.setAsLiteral((0, r.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(o2)) e4.has(i4) || (0, l.reportAdditionalProperty)(i4, t4, n3); + } } - createArchSettingsSupportedLanguages(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreLanguageOptions", "createArchSettingsSupportedLanguages"), e3), new _.default.settings.ArchSettingsSupportedLanguagesFlow(e3); + } + t2.DateTimeType = p, p.typeIdentifier = d.expressionTypeNames.dateTime; + }, 65307(e2, t2, i2) { + "use strict"; + t2.DateType = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(95093)), r = 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 = s.ExpressionTypeDateOptions; } - createArchActionOutput(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreActionPathViewModel", "createArchActionOutput"), e3), new _.default.outputs.ArchActionOutput(e3); + get className() { + return "DateType"; } - createArchValidationResults(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreValidationResults", "createArchValidationResults"), e3), new _.default.validation.ArchValidationResults(e3); + createExpressionOptionClass() { + return new s.ExpressionTypeDateOptions(this.isCollection); } - createArchSpeechToTextEngine(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechToTextEngine", "createArchSpeechToTextEngine"), e3), new _.default.speechToText.ArchSpeechToTextEngine(e3); + get supportsLiteralEditor() { + return true; } - createArchTtsEngine(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreTtsEngine", "createArchTtsEngine"), e3), new _.default.textToSpeech.ArchTtsEngine(e3); + convertLitToExpression(e3, t3) { + const i3 = this.getParsedDate(t3, null, false); + return i3 ? (0, r.sprintf)("MakeDate(%s, %s, %s)", i3.year, i3.month, i3.date) : t3; } - createArchTtsVoice(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreTtsVoice", "createArchTtsVoice"), e3), new _.default.textToSpeech.ArchTtsVoice(e3); + _getLiteralValueOfExpression() { + return ""; } - createArchSettingsActionDefaults(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreDefaultActionSettingsNode", "createArchSettingsActionDefaults"), e3), new _.default.settings.ArchSettingsActionDefaults(e3); + getYamlObjectForLiteralSingleton(e3) { + super.getYamlObjectForLiteralSingleton(e3); + const t3 = this.getParsedDate(e3.text, e3, true); + return { year: t3.year, month: t3.month, day: t3.date }; } - createArchSettingsUserInput(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("coreUserInputSettingsNode", "createArchSettingsUserInputs"), e3), new _.default.settings.ArchSettingsUserInput(e3); + searchExpression(e3, t3) { + const i3 = o.default.utc(t3.text); + if (t3.isLiteralMode && i3) { + const n3 = (0, r.sprintf)("%s-%02d-%02d", i3.year(), i3.month() + 1, i3.date()); + e3.checkText(t3, n3, t3.label); + } else super.searchExpression(e3, t3); } - createArchSettingActionPropertyDefault(e3, t3, i3) { - this._checkItemIsArchDefinitionAction(this._infoParm("archDefinitionAction", "createArchSettingActionPropertyDefault"), e3), this._checkItemIsValidLiteralString(this._infoParm("propertyName", "createArchSettingActionPropertyDefault"), t3), this._checkItemUndefinedOrNull(this._infoParm("coreExpression", "createArchSettingActionPropertyDefault"), i3); - const n3 = this.createArchWrapper(i3); - return new _.default.settings.ArchSettingActionPropertyDefault(e3, t3, n3); + convertLitToCustomJsonStr(e3, t3, i3, n3) { + return `"${i3 || t3 || ""}"`; } - createArchBaseNameValuePair(e3) { - return this._checkItemUndefinedOrNull(this._infoParm("nameValuePairViewModel", "createArchBaseNameValuePair"), e3), new _.default.baseClasses.ArchBaseNameValuePair(e3); + 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, r.sprintf)(a.configureFromModel.dateLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const o2 = t3; + if ("number" != typeof o2.year || "number" != typeof o2.month || "number" != typeof o2.day) return void (n3 && n3.warn(a.configureFromModel.dateLiteralRequiresParts)); + const s2 = o2.year, c2 = o2.month, d2 = o2.day; + if (this.enforceValueLimit(s2 >= u.default.minDateYear && s2 <= u.default.maxDateYear, (0, r.sprintf)(a.configureFromModel.dateLiteralPartOutOfRange, "year", s2, u.default.minDateYear, u.default.maxDateYear), n3) && this.enforceValueLimit(c2 >= 1 && c2 <= 12, (0, r.sprintf)(a.configureFromModel.dateLiteralPartOutOfRange, "month", c2, 1, 12), n3) && this.enforceValueLimit(d2 >= 1 && d2 <= 31, (0, r.sprintf)(a.configureFromModel.dateLiteralPartOutOfRange, "day", d2, 1, 31), n3) && (e3.setAsLiteral((0, r.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(o2)) e4.has(i4) || (0, l.reportAdditionalProperty)(i4, t4, n3); + } } } - t2.ArchCoreFactory = h, t2.default = new h(); - }, 38725: (e2, t2, i2) => { + t2.DateType = p, p.typeIdentifier = d.expressionTypeNames.date; + }, 84(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)), c = i2(41676), d = i2(81801), p = i2(27862); - class _ extends l.default { - get requiredAuth() { - return d.externalAuthorizations.authStrings.worktypesView; + t2.DecimalType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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); } - get dependencyType() { - return p.Worktype; + get className() { + return "DecimalType"; } - constructor() { - 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()); + createExpressionOptionClass() { + return new l.ExpressionTypeDecimalOptions(this.isCollection); } - _createItemViewModel(e3) { - return new c.WorktypeViewModel(e3); + convertLitToExpression(e3, t3) { + if (!t3) return ""; + let i3 = t3.trim(); + if (0 === i3.length) return ""; + let n3 = i3.indexOf("-"); + const o2 = -1 !== n3; + -1 === n3 ? n3 = 0 : n3++; + const r2 = i3.length - 1; + for (; n3 < r2 && "0" === i3[n3] && "." !== i3[n3 + 1]; ) n3++; + n3 && (i3 = (o2 ? "-" : "") + i3.substring(n3)); + const a2 = i3.indexOf("."); + return -1 === a2 ? i3 + ".0" : a2 === i3.length - 1 ? i3 + "0" : i3; } - get _networkModel() { - return u.default; + getYamlObjectForLiteralSingleton(e3) { + super.getYamlObjectForLiteralSingleton(e3); + const t3 = Number(e3.text); + return r.default.isActualNumber(t3) || h.errorWithStack(null, "Invalid number parsed in DecimalType.getYamlObjectForLiteralSingleton"), t3; } - get isWorktypeManager() { - return true; + applyLiteralFromModel(e3, t3, i3, n3) { + var r2; + 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, o.sprintf)(a.configureFromModel.unrecognizedLiteralValue, "decimal", JSON.stringify(t3)))); + if (/[eE]/.test(s2)) return void (n3 && n3.warn((0, o.sprintf)(a.configureFromModel.decimalScientificNotationUnsupported, JSON.stringify(s2)))); + const l2 = null === (r2 = e3.parentFlow) || void 0 === r2 ? void 0 : r2.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, o.sprintf)(a.configureFromModel.decimalLiteralMagnitudeExceeded, c2, u.default.maxDecimalAsStr), n3) && e3.setAsLiteral(c2); + } + validateLiteral(e3, t3) { + var i3, n3; + if (t3.outOfService) return true; + const r2 = Number(t3.text); + return isNaN(r2) ? (t3.setParseError((0, o.sprintf)(m.errors.invalidValue, t3.label)), e3.addError(t3, (0, o.sprintf)(m.errors.invalidValue, t3.label), false, true), false) : 0 === r2 || d.expressionItems.checkDecimalStr(t3.text, true) ? (0, c.validateDecimalPlaces)(r2, 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, o.sprintf)(m.expression.decimalValueTooMuchPrecision, t3.text, 1, u.default.maxPrecision)), e3.addError(t3, (0, o.sprintf)(m.errors.invalidValue, t3.label), false, true), false); + } + convertLitToCustomJsonStr(e3, t3, i3, n3) { + return this.convertLitToExpression(e3, i3 || t3); } } - t2.WorktypeManager = _, t2.worktypeManager = new _(); - }, 38750: (e2, t2, i2) => { + t2.DecimalType = g, g.typeIdentifier = p.expressionTypeNames.decimal; + }, 93105(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 = 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); + t2.DigitalAudioType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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); } - getDetails() { - const e3 = this.prompts ? this.prompts.getDescription() : void 0; - return e3 ? new o.ActionDetails([c.audio.audioLabel], [e3]) : null; + get className() { + return "DigitalAudioType"; } - static get managedProperties() { - 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")) }]; + getPlutusMimeTypes() { + return u.AUDIO_MIME_TYPES_SET; + } + getPlutusSupportedFileExtensions() { + return c.AUDIO_SUPPORTED_EXTENSIONS; + } + getPlutusMediaPlaceholderText() { + return g.digitalAudio.digitalAudioPlaceholder; + } + getPlutusSupportedFileTypesText() { + return (0, o.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + } + canConvertLitToExpression(e3) { + 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)` : ""; + } + _getLiteralValueOfExpression() { + return ""; + } + get supportsLiteralEditor() { + return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); + } + get listManager() { + return r.digitalAudioManager; + } + createExpressionOptionClass() { + return new a.ExpressionTypeDigitalAudioOptions(); } } - 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() { - Object.defineProperties(this, { _prompts: { writable: true }, _positionInQueue: { writable: true }, _playbackMode: { writable: true } }), l.baseConstructor.apply(this, arguments); + t2.DigitalAudioType = f, f.typeIdentifier = _.expressionTypeNames.digitalAudio; + }, 43440(e2, t2, i2) { + "use strict"; + t2.DivisionType = void 0; + const n2 = i2(31635), o = i2(14394), r = 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); + } + get className() { + return "DivisionType"; + } + createExpressionOptionClass() { + return new r.ExpressionTypeNetworkObjectOptions(this.isCollection); + } + get listManager() { + return a.divisionManager.getBriefManagerWithFallback(); + } + canConvertLitToExpression(e3) { + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindDivision", e3, [o.globalTypes.string]); + } + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindDivision(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; + } } - r2.extend(l, s, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { - l._super.pasteReIdOrRename.apply(this, arguments), this.positionInQueue.pasteReIdOrRename(e3), this.prompts.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - l._super.pasteResolveOldToNewValues.apply(this, arguments), this.positionInQueue.pasteResolveOldToNewValues(e3), this.prompts.pasteReIdOrRename(e3); - } }, positionInQueue: { enumerable: true, get: function() { - return this._positionInQueue; - }, set: function(e3) { - this._positionInQueue = this.reviveItem(e3, o); - } }, prompts: { enumerable: true, get: function() { - return this._prompts; - }, set: function(e3) { - this._prompts = this.reviveItem(e3, n2); - } }, playbackMode: { enumerable: true, get: function() { - return this._playbackMode; - }, set: function(e3) { - this._playbackMode = this.reviveEnum(e3, a); - } } }), e2.exports = l; - }, 38764: (e2, t2, i2) => { + t2.DivisionType = d, d.typeIdentifier = u.expressionTypeNames.division; + }, 33235(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._duration = this.coreFactory.createArchWrapper(e3.duration), this._trimDurationNearMaxRunningTime = this.coreFactory.createArchWrapper(e3.trimDurationNearMaxRunningTime); + t2.DurationType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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)}`; } - get _actionTypeId() { - return r2.waitActionType; + const u2 = (function(e4, t4, i4) { + return null == e4 ? 0 : "number" == typeof e4 ? e4 : (i4 && i4.warn((0, o.sprintf)(r.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 o2 of Object.keys(e3)) n3.has(o2) || (0, l.reportAdditionalProperty)(o2, t3, i3); + } + class g extends d.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3), this.expressionOptionClass = s.ExpressionTypeDurationOptions; } - get displayTypeName() { - return this._scriptingName; + get className() { + return "DurationType"; } - get isArchActionWait() { - return true; + createExpressionOptionClass() { + return new s.ExpressionTypeDurationOptions(); } - get duration() { - return this._duration; + convertLitToExpression(e3, t3) { + const i3 = u.matchText(t3); + return i3 ? (0, o.sprintf)("MakeDuration(%s,%s,%s,%s,%s)", i3[0], i3[1], i3[2], i3[3], i3[4]) : t3; } - get trimDurationNearMaxRunningTime() { - return this._trimDurationNearMaxRunningTime; + _getLiteralValueOfExpression(e3) { + const t3 = u.matchExpression(e3.text); + return u.getXsdString(t3) || e3.text || ""; + } + getYamlObjectForLiteralSingleton(e3) { + super.getYamlObjectForLiteralSingleton(e3); + const t3 = u.matchText(e3.text); + if (!t3) return ""; + const i3 = {}; + return t3[0] && (i3.days = t3[0]), t3[1] && (i3.hours = t3[1]), t3[2] && (i3.minutes = t3[2]), t3[3] && (i3.seconds = t3[3]), !t3[4] && Object.keys(i3).length || (i3.ms = t3[4]), i3; + } + searchExpression(e3, t3) { + if (t3.isLiteralMode) { + const i3 = u.getSearchStringFromLiteral(t3.text); + e3.checkText(t3, i3, t3.label); + } else super.searchExpression(e3, t3); + } + toNumber(e3) { + return u.toSeconds(e3); + } + toMilliseconds(e3) { + const t3 = u.toSeconds(e3); + 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, o.sprintf)(r.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(r.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, o.sprintf)(r.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.default = o; - }, 38809: (e2, t2, i2) => { + t2.DurationType = g, g.typeIdentifier = c.expressionTypeNames.duration; + }, 91919(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getDecimalPlaces = a, t2.validateDecimalPlaces = function(e3, t3, i3, n3) { - if (!t3) return true; - const s = a(e3); - return !(s > t3) || (null == i3 || i3.setParseError((0, r2.sprintf)(o.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, s, i3.options.facets.decimalPlaces)), null == n3 || n3.addError(i3, (0, r2.sprintf)(o.codeEditor.parseErrors.tokens.tooManyDecimalPlaces, s, i3.options.facets.decimalPlaces), false, true), false); - }; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(17604), o = i2(47957); - function a(e3) { - if (n2.default.isNullOrUndefined(e3) || isNaN(e3)) return 0; - const t3 = ("" + e3).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/); - return t3 ? Math.max(0, (t3[1] ? t3[1].length : 0) - (t3[2] ? +t3[2] : 0)) : 0; + t2.EmergencyGroupType = void 0; + const n2 = i2(31635).__importDefault(i2(22226)), o = i2(71056), r = 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); + } + get className() { + return "EmergencyGroupType"; + } + createExpressionOptionClass() { + return new o.ExpressionTypeNetworkObjectOptions(this.isCollection); + } + get listManager() { + return r.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, [u.globalTypes.string]); + } + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindEmergencyGroup(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; + } } - }, 38863: (e2, t2, i2) => { + t2.EmergencyGroupType = d, d.typeIdentifier = l.expressionTypeNames.emergencyGroup, d.entityResolverEntityType = "emergencyGroup"; + }, 94765(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(17405)), o = i2(17604), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(98717)); - class l extends r2.default { - constructor(e3) { - super(e3); + t2.ExpressionType = void 0, t2.isCollectionType = function(e3) { + return e3.isExpressionType && e3.isCollection; + }; + const n2 = i2(31635), o = i2(96618), r = 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)), I = n2.__importStar(i2(9345)), C = i2(80428), O = 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(C.expressionTypeNames); + k.usr = "user"; + class V extends g.BaseClass { + constructor(e3, t3, i3, n3) { + var o2; + 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, ((o2 = this).model.nativeProperties || o2.model.propertiesAllowAssignment) && a.default.each(o2.model.nativeProperties, function(e4) { + const t4 = new b.PropertyDefinition(o2.parentFlow, e4, A.default[e4.descriptionId] || e4.description); + o2.singletonProperties[t4.name.toLocaleLowerCase()] = t4; + }), this._syncHasPropertyAndReadOnlyFromProperties(), Object.freeze(this._model); } - get _globalTypeName() { - return "date"; + getDisplayString(e3) { + return this.displayString; } - get displayTypeName() { - return "ArchValueDate"; + get className() { + return "ExpressionType"; + } + _syncHasPropertyAndReadOnlyFromProperties() { + this._hasProperties = !a.default.isEmpty(this.properties), this._hasProperties ? this._allPropertiesAreReadOnly = !Object.values(this.properties).find((e3) => !e3.isReadOnly) : this._allPropertiesAreReadOnly = false; + } + get hasPropertiesAndAllAreReadOnly() { + return this._syncHasPropertyAndReadOnlyFromProperties(), this._hasProperties && this._allPropertiesAreReadOnly; + } + get model() { + return this._model; + } + set model(e3) { + console.log("nope"); + } + get isCustomType() { + return false; + } + get customTypeInfo() { + } + get customTypeNamespace() { + } + get customTypeNamespaceLabel() { + } + get isJsonType() { + return false; + } + get isCustomTypeArchitectBuiltIn() { + return false; + } + get listManager() { + return null; + } + getListManagerForExpression(e3) { + return this.listManager; + } + _getIsEnabledForFeatureConfigInfo(e3) { + if (!a.default.isObject(e3)) return false; + 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 || _.isFeatureAvailable(e3.featureConfigName2); + } + _getStaticSupportedFlowTypes(e3) { + if (!e3 || !this.model.support.supportedFlowTypes) 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 && h.isDisabled(t3.featureToggleName) || !this._getIsEnabledForFeatureConfigInfo(t3)) ? void 0 : this.model.support.supportedFlowTypes[e3]; + } + isAvailableAsInputOrOutputForFlowType(e3, t3) { + var i3; + 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 o2 = n3.flow; + if (!a.default.isObject(o2)) return false; + const r2 = "flowInput" === t3; + let s2; + if (s2 = this.isCollection && r2 ? o2.inputColl : this.isCollection ? o2.outputColl : r2 ? o2.inputOne : o2.outputOne, a.default.isObject(s2)) { + const t4 = s2[e3]; + if (a.default.isObject(t4)) return t4.isAvailable; + } + return false; + } + { + const i4 = this._getStaticSupportedFlowTypes(e3); + return i4 && void 0 !== i4[t3 + (this.isCollection ? "Collection" : "Singleton")]; + } + } + get collectionType() { + 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) : ""; + } + _getLiteralValueOfExpression(e3) { + return (null == e3 ? void 0 : e3.text) || ""; + } + get expressionType() { + return this.isCollection ? this.dataType + S.default.exprDataTypeSuffixCollection : this.dataType; + } + get expressionTypeBase() { + 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); + } + get dataType() { + return this.model.support.expressionDataType; + } + get dataTypeBase() { + return this.model.support.expressionBaseDataType; + } + get isCustomizablePerFlow() { + return !!this.model.support.isCustomizablePerFlow; + } + get displayString() { + if (void 0 === this._displayString) { + const e3 = A.default[this.typeCode]; + this._displayString = this.isCollection ? (0, r.sprintf)(F.expression.collection, e3) : e3; + } + return this._displayString; + } + get featureConfigName() { + return this.model.support.featureConfigName; + } + get featureConfigName2() { + return this.model.support.featureConfigName2; + } + get featureToggleName() { + return this.model.support.featureToggleName; + } + get icwsType() { + return this.model.support.classType; + } + get inheritedType() { + const e3 = this.model.support.expressionBaseDataType || this.dataType; + return w.default.getType(this.parentFlow, e3); + } + get isAbstract() { + return !!this.model.isAbstract; + } + get allowLiteralSelect() { + return !!this.model.allowLiteralSelect && (!this.model.allowLiteralSelectFeatureConfig || _.isFeatureAvailable(this.model.allowLiteralSelectFeatureConfig)); + } + get isAny() { + return this.dataType === O.globalTypes.any.dataType; + } + get isAnyComplex() { + return this.dataType === O.globalTypes.anyComplex.dataType; + } + get isAnyPromptOrAudio() { + return "apa" === this.dataType; + } + get isComplex() { + return this.dataType.substring(0, 3) === S.default.exprDataTypePrefixComplex; + } + isAvailableForFlowType(e3, t3) { + let i3 = !!p.bootstrapService.dataTypes; + if (e3 === o.flowTypes.flowTypeCommonModule && (i3 = false), i3) { + let i4 = this._isAvailableForFlowTypeCheckResult[e3]; + return void 0 === i4 && (i4 = this._isAvailableForFlowType(e3, t3), this._isAvailableForFlowTypeCheckResult[e3] = i4), i4; + } + return this._isAvailableForFlowType(e3, t3); + } + _isAvailableForFlowType(e3, t3) { + if (!p.bootstrapService.dataTypes) return void 0 !== this._getStaticSupportedFlowTypes(e3); + { + const t4 = this.bootstrapDataType, i3 = p.bootstrapService.dataTypes[t4]; + if (i3) return i3.flowTypes[e3] && i3.flowTypes[e3].isAvailable; + } + } + get bootstrapDataType() { + return this.dataType; } - _checkAndSetLiteral(e3, t3, i3, n3) { - this._checkItem(e3, t3 < a.default.minDateTime.getUTCFullYear(), `the supplied numeric value for the year of ${t3} of is less than the allowed minimum of ${a.default.minDateTime.getUTCFullYear()}.`), this._checkItem(e3, t3 > a.default.maxDateTime.getUTCFullYear() - 1, `the supplied numeric value for the year of ${t3} of is greater than the allowed maximum of ${a.default.maxDateTime.getUTCFullYear() - 1}.`), this._checkItem(e3, i3 < 1, `the supplied numeric value for the month of ${i3} of is less than the allowed minimum of 1.`), this._checkItem(e3, i3 > 12, `the supplied numeric value for the month of ${i3} of is greater than the allowed maximum of 12.`), this._checkItem(e3, n3 < 1, `the supplied numeric value for the day of ${n3} of is less than the allowed minimum of 1.`), this._checkItem(e3, n3 > 31, `the supplied numeric value for the day of ${n3} of is greater than the allowed maximum of 31.`), this._setLiteral(e3, (0, o.sprintf)("%d-%02d-%02d", t3, i3, n3)); + isAvailableForFlow(e3) { + return e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)); } - setLiteralDate(e3) { - const t3 = this._infoParm("date", "setLiteralDate"); - this._checkItemIsValidLiteralString(t3, e3), new RegExp("[0-9]{4}-[0-9]{2}-[0-9]{2}").test(e3) && 10 === e3.length || s.default.itemInvalid(t3, `invalid format. Expected YYYY-MM-DD for '${e3}' where YYYY is a four digit year, MM is a two digit month, and DD is a two digit day (ex: '2020-12-05').`, this.logStr, this.displayTypeName), this._checkAndSetLiteral(t3, parseInt(e3.substring(0, 4)), parseInt(e3.substring(5, 7)), parseInt(e3.substring(8))); + isAvailableForExpressionsFlowTypes(e3) { + return !this.getFlowTypesUnavailableForExpression(e3); } - setLiteralDateParts(e3, t3, i3) { - const n3 = this._infoParm("year", "setLiteralDateParts"); - this._checkItemIsValidLiteralInt(n3, e3, false); - const r3 = this._infoParm("month", "setLiteralDateParts"); - this._checkItemIsValidLiteralInt(r3, t3, false); - const o2 = this._infoParm("day", "setLiteralDateParts"); - this._checkItemIsValidLiteralInt(o2, i3, false), this._checkAndSetLiteral(this._infoParm("calculated date", "setLiteralDateParts"), e3, t3, i3); + getFlowTypesUnavailableForExpression(e3) { + if (!e3 || !e3.parentFlow) return; + const t3 = e3.parentFlow.destinationFlowTypes.filter((e4) => !this.isAvailableForFlowType(e4)); + return t3.length ? t3 : void 0; } - get isArchValueDate() { - return true; + isAvailableAsInputForFlowType(e3) { + return this.isAvailableAsInputOrOutputForFlowType(e3, "flowInput"); } - } - t2.default = l; - }, 38944: (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); + isAvailableAsOutputForFlowType(e3) { + return this.isAvailableAsInputOrOutputForFlowType(e3, "flowOutput"); } - get _globalTypeName() { - return "customerSegmentCollection"; + get isEnum() { + return !!this.model.isEnum; } - get displayTypeName() { - return "ArchVariableCustomerSegmentCollection"; + get isEnumContainer() { + return !!this.model.isEnumContainer; } - get initialValue() { - return this._initialValue; + get isEnumOrEnumContainer() { + return this.isEnum || this.isEnumContainer; } - get isArchVariableCustomerSegmentCollection() { + get isExpressionType() { return true; } - } - t2.default = r2; - }, 39029: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const i2 = ", "; - class n2 { - constructor(e3) { - Object.defineProperties(this, { _amInBucketGeneration: { value: false, writable: true }, _amInBucketGenerationCheckFunctionCall: { value: false, writable: true }, _buildTextHelper: { value: e3, writable: true }, _funcCallStack: { value: [], writable: true }, _funcCallDepth: { value: 0, writable: true }, _genDepth: { value: 0, writable: true }, _prevGenerationsStartIdx: { value: [], writable: true }, _prevGenerationsEndIdx: { value: [], writable: true }, _resultParts: { value: [], writable: true } }); - } - static create(e3) { - const t3 = new n2(e3); - return e3.reset(), t3; + get isNotSet() { + return this.dataType === O.globalTypes.notSet.dataType; } - get _lastResultPart() { - return this._resultParts.length ? this._resultParts[this._resultParts.length - 1] : ""; + get isSupportedByAny() { + return this.model.support.isSupportedByAny; } - _addResultPart(e3, t3) { - e3 && (this._resultParts.push(e3), !t3 && this._funcCallDepth && (this._funcCallStack[this._funcCallDepth - 1] = true)); + get propertiesAllowAssignment() { + return this.model.propertiesAllowAssignment; } - _disableBucketGenerationChecks() { - this._amInBucketGeneration = false, this._amInBucketGenerationCheckFunctionCall = false; + get additionalPropertiesAreManaged() { + var e3; + return this.model.additionalProperties && !!(null === (e3 = this.model) || void 0 === e3 ? void 0 : e3.additionalPropertiesAreManaged); } - addFuncCall(e3) { - return this.addResultPart(e3), this._funcCallStack.push(false), this._funcCallDepth++, this._buildTextHelper.increaseIndent(), true; + isUserCreatableForFlowType(e3) { + return this.model.support.userCanCreate && this.isAvailableForFlowType(e3); } - addNewlineIndent() { - this._resultParts.length && this._addResultPart(`${this._buildTextHelper.newLine}${this._buildTextHelper.currentIndent}`, true); + isUserCreatableForFlow(e3) { + return this.model.support.userCanCreate && this.isAvailableForFlow(e3); } - addResultPart(e3) { - e3 && (this._amInBucketGeneration && (this._amInBucketGenerationCheckFunctionCall && !this._funcCallDepth || this.addNewlineIndent(), this._disableBucketGenerationChecks()), this._addResultPart(e3)); + get properties() { + return this.isCollection ? {} : this.singletonProperties; } - addFuncParmSeparator() { - this._funcCallDepth && this._funcCallStack[this._funcCallDepth - 1] && this._lastResultPart !== i2 && this.addResultPart(i2); + globalMatchingTypes() { + return w.default.getGlobalMatchingTypes(this); } - destroy() { - this._buildTextHelper = void 0, this._funcCallStack = void 0, this._funcCallDepth = void 0, this._genDepth = void 0, this._prevGenerationsStartIdx = void 0, this._prevGenerationsEndIdx = void 0, this._resultParts = void 0, this._amInBucketGeneration = void 0, this._amInBucketGenerationCheckFunctionCall = void 0; + get singletonType() { + return this.isCollection ? w.default.getType(this.parentFlow, this.dataType, false) : this; } - endFuncCall() { - return !!this._funcCallDepth && (this._funcCallStack.pop(), this._funcCallDepth--, this._buildTextHelper.decreaseIndent(), this.addResultPart(")"), true); + startupConnectedAndReady() { + 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 = 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 buildTextHelper() { - return this._buildTextHelper; + get supportsLiteralEditor() { + return true; } - clearBuildTextHelper() { - this._buildTextHelper = void 0; + get supportsPlutusResponseAssets() { + return false; } - get genDepth() { - return this._genDepth; + getPlutusMaxUploadSizeMegabytes() { } - genDepthIncrement() { - return this._genDepth = this._genDepth + 1, this._genDepth; + getPlutusMimeTypes() { } - genDepthDecrement() { - return this._genDepth = this._genDepth - 1, this._genDepth; + getPlutusSupportedFileExtensions() { } - get lastBucketGenerationText() { - let e3; - for (e3 = this._prevGenerationsEndIdx.length - 1; e3 >= 0 && !(this._prevGenerationsEndIdx[e3] > -1); e3--) ; - if (e3 < 0) return ""; - let t3 = ""; - for (let n3 = this._prevGenerationsStartIdx[e3]; n3 <= this._prevGenerationsEndIdx[e3]; n3++) t3 += this._resultParts[n3] !== i2 ? this._resultParts[n3].trim() : i2; - return t3; + getPlutusMediaPlaceholderText() { } - getResult() { - return this._resultParts.join(""); + getPlutusSupportedFileTypesText() { } - addGenerationSeparator(e3) { - this._buildTextHelper.increaseIndent(), this.addGenerationText(e3), this._buildTextHelper.decreaseIndent(); + get typeCode() { + return this.model.name; } - addGenerationText(e3) { - this.addNewlineIndent(), this.addResultPart(e3); + get version() { + return this.model.support.version; } - setBucketGenerationStart(e3) { - this._amInBucketGeneration = true, this._amInBucketGenerationCheckFunctionCall = !!e3, this._prevGenerationsStartIdx.push(this._resultParts.length), this._prevGenerationsEndIdx.push(-1); + get yamlLiteralWrapperString() { + return "name"; } - setBucketGenerationEnd() { - this._prevGenerationsEndIdx[this._prevGenerationsEndIdx.length - 1] = this._resultParts.length - 1, this._disableBucketGenerationChecks(); + get yamlTypeName() { + 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); } - } - t2.default = n2; - }, 39041: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(9345)), a = i2(55909), s = i2(33951), l = new class { - constructor() { - Object.defineProperties(this, { _builderDefs: { value: {} } }); + _addPropertyFromModel(e3, t3) { + if (!e3) return; + const i3 = new b.PropertyDefinition(this.parentFlow, e3, t3); + return this.properties[i3.name.toLocaleLowerCase()] = i3, this.expressionTextPropToName[i3.expressionText.toLocaleLowerCase()] = i3.name, i3; } - get className() { - return "BuilderDefinitions"; + hasProperties() { + return this._hasProperties; } - get isBuilderDefinitions() { - return true; + get hasAtLeastOneWritableProperty() { + return this._syncHasPropertyAndReadOnlyFromProperties(), this.hasProperties() && !this._allPropertiesAreReadOnly; } - getAvailableBuilderDefinitions(e3, t3, i3, n3) { - s.ParameterValidator.expectExpressionType(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "builderPartResultExpressionTypeFilter"), true), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "flowTypeFilter"), true), s.ParameterValidator.expectString(i3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "builderCategoryIdFilter"), true), s.ParameterValidator.expectArray(n3, () => a.ParameterInfo.createFunctionParameter(this.className, "getAvailableBuilderDefinitions", "allowedBuilderIds"), true); - const l2 = []; - return r2.default.each(this._builderDefs, function(r3) { - n3 && !n3.includes(r3.id) || e3 && !e3.isMatch(r3.resultExpressionType, o.settings.exact) || i3 && !r3.isInCategory(i3) || !r3.isAvailableForFlowType(t3, true) || l2.push(r3); - }), l2; + get supportsLiteralCustomJsonInput() { + return this.isCustomType || this.hasProperties() && this._supportsLiteralCustomJsonInput; } - getBuilderDefById(e3, t3) { - return s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderDefById", "builderDefId")), s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "getBuilderDefById", "flowTypeFilter"), true), r2.default.find(this._builderDefs, function(i3) { - return i3.id === e3 && (!t3 || i3.isAvailableForFlowType(t3, true)); - }); + get _supportsLiteralCustomJsonInput() { + return false; } - addBuilderDef(e3) { - this._builderDefs[e3.id] = e3; + _addProperty(e3, t3, i3, n3, o2, r2) { + const a2 = { id: e3, isCollection: !!r2, name: t3, type: i3, version: o2 }; + return this._addPropertyFromModel(a2, n3); } - }(); - t2.default = l; - }, 39096: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(8471)); - class a extends o.default { - constructor(e3) { - super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreIntentSettingsViewModel"), e3), this._coreIntentsSettingsViewModel = e3, (0, r2.makeUnenumerable)(this, "_coreIntentsSettingsViewModel"); + hydratePropertiesFromDataTypeDefViewModel(e3) { + if (null == e3 ? void 0 : e3.hasProperties) for (const t3 of e3.propertiesSnapshot) this.hydratePropertyFromDataTypeDefViewModel(t3); } - get displayTypeName() { - return "ArchSettingsNluIntents"; + hydratePropertyFromDataTypeDefViewModel(e3) { + if (!e3) return; + 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); } - get isArchSettingsNluIntents() { + canConvertLitToExpression(e3) { return true; } - get logStr() { - return this.logStrTypeOnly; - } - } - t2.default = a; - }, 39123: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowOutcomeViewModel = void 0; - const n2 = i2(74483); - class r2 extends n2.NameIdConfigurationListViewModel { - constructor(e3) { - super(e3); - } - get className() { - return "FlowOutcomeViewModal"; + convertLitToExpression(e3, t3, i3, n3) { + return t3 || ""; } - get label() { - return this._model.name; + convertCollectionLiteralToExpression(e3, t3) { + return null; } - } - t2.FlowOutcomeViewModel = r2; - }, 39137: (e2, t2, i2) => { - const n2 = i2(7401), r2 = i2(14075), { transferGroupActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _allowVoicemail: { writable: true }, _user: { writable: true }, _group: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.allowVoicemail.pasteReIdOrRename(e3), this.group.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.allowVoicemail.pasteResolveOldToNewValues(e3), this.group.pasteResolveOldToNewValues(e3); - } }, allowVoicemail: { enumerable: true, get: function() { - return this._allowVoicemail; - }, set: function(e3) { - this._allowVoicemail = this.reviveItem(e3, n2); - } }, group: { get: function() { - return this._group; - }, set: function(e3) { - this._group = this.reviveItem(e3, n2); - }, enumerable: true } }), e2.exports = a; - }, 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)), c = i2(47957), d = i2(27862); - class p extends a.default { - get requiredAuth() { - return s.externalAuthorizations.authStrings.responseAssetView; + getCollectionItemLiteralText(e3) { + return e3.getEmbeddableExpressionText(); } - get dependencyType() { - return d.Video; + convertLitToCustomJsonStr(e3, t3, i3, n3) { + if (this.listManager) return `[[${t3 || i3 || ""}]]`; + if (this.canConvertLitToExpression(e3)) { + const o2 = this.convertLitToExpression(e3, t3, i3, n3); + return (null == o2 ? void 0 : o2.length) ? `{{ ${o2} }}` : "{{}}"; + } + return "{{}}"; } - 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 = c.generic.video, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "videos", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + destroy() { } - _createItemViewModel(e3) { - return new l.default(e3); + destroyInstance(e3) { } - } - t2.VideoManager = p, t2.videoManager = new p(); - }, 39145: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FileType = void 0; - 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); + getAvailableExpressionBuilders(e3, t3, i3) { + return y.default.getAvailableBuilderDefinitions(this, e3, t3, i3); } - get className() { - return "FileType"; + getConversionText() { + const e3 = this.singletonType.getDefaultImplicitConversionFunc(O.globalTypes.notSet); + return e3 ? e3.text : ""; } - getPlutusMimeTypes() { - return u.FILE_MIME_TYPES_SET; + getDefaultImplicitConversionFunc(e3) { + if (!e3) return null; + this._defaultImplicitTypeCastFuncs || (function(e4) { + e4._defaultImplicitTypeCastFuncs = {}; + const t3 = N.expressionDataService.getFunctionsForCategory(N.expressionDataService.expressionFuncOpCategories.cast); + for (let i3 = 0; i3 < t3.length; i3++) { + let n3 = false; + for (let o2 = 0; o2 < t3[i3].overloads.length; o2++) { + const r2 = t3[i3].overloads[o2]; + if (r2 && r2.operands && 1 === r2.operands.length && !r2.disallowAsDefaultCast) { + if (!n3 && !r2.returnType.isMatch(e4, I.settings.exact)) break; + n3 = true, e4._defaultImplicitTypeCastFuncs[r2.operands[0].type.expressionType] = t3[i3]; + } + } + } + })(this); + return this._defaultImplicitTypeCastFuncs[e3.dataTypeBase] || this._defaultImplicitTypeCastFuncs[e3.expressionType] || (e3.isSupportedByAny ? this._defaultImplicitTypeCastFuncs[e3.isCollection ? O.globalTypes.any.collectionType.expressionType : O.globalTypes.any.expressionType] : null); } - getPlutusSupportedFileExtensions() { - return c.FILE_SUPPORTED_EXTENSIONS; + getDisplayStrForExpressionDataType(e3) { + if (!a.default.isString(e3) || 0 === e3.length) return; + let t3 = false; + 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 = A.default[i3.name]; + return a.default.isString(n3) && 0 !== n3.length ? t3 ? (0, r.sprintf)(F.expression.collection, n3) : n3 : void 0; } - getPlutusMediaPlaceholderText() { - return g.file.filePlaceholder; + getIconGux() { + return this.getArchIcon(); } - getPlutusSupportedFileTypesText() { - return (0, r2.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + _getCustomDataTypeDefinition(e3, t3) { + if (!this.isCustomType) return; + if (e3[this.dataType]) return; + 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, o2]) => { + var r2; + const a2 = o2.createDataTypeDef(); + i3.addProperty(a2), t3 && (null === (r2 = o2.type) || void 0 === r2 ? void 0 : r2.isCustomType) && o2.type._getCustomDataTypeDefinition(e3, t3); + }); } - canConvertLitToExpression(e3) { - return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToFile", e3, [h.globalTypes.responseAsset, h.globalTypes.file]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); + getCustomDataTypeDefinition() { + var e3; + if (this.isCollection) { + 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); + if (e4) return e4; + } + const t3 = {}; + return this._getCustomDataTypeDefinition(t3), Object.values(t3)[0]; } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `ToFile(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; + getCustomDataTypeDefinitions(e3) { + const t3 = {}; + return this._getCustomDataTypeDefinition(t3, e3), Object.values(t3); } - _getLiteralValueOfExpression() { - return ""; + getPathedTypeAdjacencyList(e3, t3) { + return e3 || (e3 = {}), e3[t3 || "."] = this, this.properties && Object.entries(this.properties).forEach(([i3, n3]) => { + const o2 = t3 ? `${t3}.${i3}` : i3; + n3.type.getPathedTypeAdjacencyList(e3, o2); + }), e3; } - get supportsLiteralEditor() { - return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); + getArchIcon() { + switch (this.dataType) { + case "btn": + return m.default.button; + case "mbx": + return m.default.mailbox; + case "rcd": + return m.default.recording; + case "vsn": + return m.default.record; + case C.expressionTypeNames.any: + return m.default.any; + case C.expressionTypeNames.assignedCustomerIntent: + return m.default.assignedCustomerIntent; + case C.expressionTypeNames.assignedCustomerSegment: + return m.default.assignedCustomerSegment; + case C.expressionTypeNames.customerIntent: + return m.default.customerIntent; + case C.expressionTypeNames.customerSegment: + return m.default.customerSegment; + case C.expressionTypeNames.audio: + return m.default.prompt; + case C.expressionTypeNames.boolean: + return m.default.boolean; + case C.expressionTypeNames.campaign: + return m.default.contact; + case C.expressionTypeNames.card: + return m.default.card; + case C.expressionTypeNames.carousel: + return m.default.carousel; + case C.expressionTypeNames.choice: + return m.default.button; + case C.expressionTypeNames.chooser: + return m.default.complex; + case C.expressionTypeNames.communication: + return m.default.communication; + case C.expressionTypeNames.contact: + case C.expressionTypeNames.contactList: + return m.default.contact; + case C.expressionTypeNames.currency: + return m.default.currency; + case C.expressionTypeNames.date: + return m.default.date; + case C.expressionTypeNames.dateTime: + return m.default.datetime; + case C.expressionTypeNames.decimal: + return m.default.decimal; + case C.expressionTypeNames.division: + return m.default.division; + case C.expressionTypeNames.digitalAudio: + return m.default.digitalAudio; + case C.expressionTypeNames.duration: + return m.default.duration; + case C.expressionTypeNames.emergencyGroup: + return m.default.emergencyGroup; + case C.expressionTypeNames.file: + return m.default.file; + case C.expressionTypeNames.formInput: + return m.default.string; + case C.expressionTypeNames.grammar: + return m.default.grammar; + case C.expressionTypeNames.group: + return m.default.group; + case C.expressionTypeNames.image: + return m.default.image; + case C.expressionTypeNames.integer: + return m.default.integer; + case C.expressionTypeNames.json: + return m.default.json; + case C.expressionTypeNames.knowledgeBaseDocument: + return m.default.knowledgeBaseDocument; + case C.expressionTypeNames.languageSkill: + return m.default.languageSkill; + case C.expressionTypeNames.lineItem: + return m.default.lineItem; + case C.expressionTypeNames.listPicker: + return m.default.listPicker; + case C.expressionTypeNames.listPickerItem: + return m.default.listPickerItem; + case C.expressionTypeNames.listPickerSection: + return m.default.listPickerSection; + case C.expressionTypeNames.phoneNumber: + return m.default.phone; + case C.expressionTypeNames.prompt: + return m.default.prompt; + case C.expressionTypeNames.queue: + return m.default.queue; + case C.expressionTypeNames.quickReplies: + return m.default.button; + case C.expressionTypeNames.responseAsset: + return m.default.responseAsset; + case C.expressionTypeNames.schedule: + return m.default.schedule; + case C.expressionTypeNames.scheduleGroup: + return m.default.scheduleGroup; + case C.expressionTypeNames.shippingOption: + return m.default.shippingOption; + case C.expressionTypeNames.skill: + return m.default.skill; + case C.expressionTypeNames.string: + return m.default.string; + case C.expressionTypeNames.surveyAnswerOption: + case C.expressionTypeNames.surveyForm: + case C.expressionTypeNames.surveyQuestion: + case C.expressionTypeNames.surveyQuestionGroup: + return m.default.complex; + case C.expressionTypeNames.time: + return m.default.time; + case C.expressionTypeNames.timePicker: + return m.default.timePicker; + case C.expressionTypeNames.timeslot: + return m.default.datetime; + case C.expressionTypeNames.userQueue: + return m.default.user; + case C.expressionTypeNames.utilizationLabel: + return m.default.utilizationLabel; + case C.expressionTypeNames.video: + return m.default.video; + case C.expressionTypeNames.wheelPicker: + case C.expressionTypeNames.wheelPickerItem: + return m.default.enum; + case C.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 m.default.json; + } + return s.warn(`no icon set for dataType:${this.dataType}`), m.default.complex; } - get listManager() { - return a.fileManager; + getPropertyDefinition(e3, t3) { + if (!e3) return; + t3 && (e3 = v.default.getUnquotedExpressionStringLiteralContents(e3)); + const i3 = e3.toLowerCase(); + return this.properties[i3] || this.properties[this.expressionTextPropToName[i3]]; } - createExpressionOptionClass() { - return new o.ExpressionTypeFileOptions(); + getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { + 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 o2 = {}; + return a.default.each(this.singletonProperties, (r2) => { + const a2 = e3.getProperty(r2.name).getConfiguration(t3, i3, r2.yamlOptions || n3); + null !== a2 && (o2[r2.name] = a2); + }), o2; + } + return e3.text; } - } - t2.FileType = f, f.typeIdentifier = _.expressionTypeNames.file; - }, 39148: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + 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, r.sprintf)(l.configureFromModel.literalExpectedStringNumberOrBooleanForListSelect, Array.isArray(t3) ? "array" : typeof t3)) : "string" != typeof t3 ? "boolean" != typeof t3 && "number" != typeof t3 ? null == n3 || n3.warn((0, r.sprintf)(l.configureFromModel.literalExpectedStringNumberOrBoolean, Array.isArray(t3) ? "array" : typeof t3)) : e3.setAsLiteral(String(t3)) : e3.setAsLiteral(t3)); } - get _globalTypeName() { - return "choiceCollection"; + enforceValueLimit(e3, t3, i3) { + return (0, R.enforceValueLimit)(e3, t3, i3); } - get displayTypeName() { - return "ArchValueChoiceCollection"; + configureLiteralSingletonFromModel(e3, t3, i3, n3) { + const o2 = /* @__PURE__ */ new Set(); + if (a.default.each(this.singletonProperties, (r2) => { + const a2 = r2.name; + if (o2.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)) o2.has(i4) || (0, D.reportAdditionalProperty)(i4, e4, n3); + } } - get isArchValueChoiceCollection() { - return true; + isBidirectionalMatch(e3, t3) { + return I.isBidirectionalMatch(this, e3, t3); } - } - t2.default = r2; - }, 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)), 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 Z(e3) { - e3.isDestroyedOrDestroying || (e3.outOfService ? y.unRegisterExpression(e3) : y.registerExpression(e3), o.default.each(e3.properties, (e4) => { - Z(e4); - })); - } - class ee extends J.BaseExpression { - get className() { - return "NormalExpression"; + isMatch(e3, t3) { + return I.isMatch(this, e3, t3 || (this.isAny ? I.settings.typeOfOrAny : this.isAnyComplex ? I.settings.anyComplex : I.settings.typeOf)); } - constructor(e3) { - super(e3), this._oldBuilderConfig = {}, this._mode = j.none, this.properties = {}, this.options.resolveDefaultText(this), this.parentAudio = e3.parentAudio, this.savedLit = "", this._initializeMode(), this._initialize(); + searchExpression(e3, t3) { + e3.checkText(t3, t3.text, t3.label); } - _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 === 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); + validateLiteralCollection(e3) { } - _initializedModeToBuilder() { - if (!this.options.defaultToBuilderId || !this.options.allowModeBuilder) return false; - try { - 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 = j.builder, this.builder = t3, true; - } - } catch (e3) { - Q.exception(e3, "Unhandled exception processing default builder settings on expression."); + validateLiteral(e3, t3, i3) { + if (t3.outOfService) return true; + const n3 = this.getListManagerForExpression(t3); + if (!n3) return true; + let o2 = n3.getItem(t3.val); + if (o2 || (o2 = n3.getItemFromFullManager(t3.val)), t3.type.listManager && void 0 === i3 && (i3 = true), !o2 || o2.state && o2.state === c.ConfigurationListItemStatuses.deleted) { + let n4 = o2 && o2.state === c.ConfigurationListItemStatuses.deleted ? F.expression.literalDropDownValueIsDeleted : F.expression.literalDropDownValueDoesNotExist; + return n4 = (0, r.sprintf)(n4, t3.type.displayString, t3.text), e3.addError(t3, n4, void 0, true), t3.setLiteralError(true), i3 && t3.setParseError(n4), false; } - return false; + return t3.text !== o2.label && (t3.text = o2.label), t3.parentFlow && !t3.parentFlow.isReadOnly && t3.config && t3.config.lit && t3.type.additionLiteralProperties && a.default.each(t3.type.additionLiteralProperties, function(e4) { + t3.config.lit[e4] = o2[e4]; + }), t3.options.authToCheck && a.default.each(t3.options.authToCheck, (i4) => { + i4.authString && this._checkForPermission(i4, o2, e3, t3); + }), true; } - _transitionExpressionToNewVersion() { - let e3 = true; - 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(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; + _checkForPermission(e3, t3, i3, n3) { + console.error("_checkForPermission not implemented"); } - get builder() { - return this._builderViewModel; + validateVariable(e3, t3) { + return true; } - set builder(e3) { - 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); + initializeDesignTime(e3) { } - get defaultExpression() { - return this.options.allowFlowLevelDefault && this.propertyName && this.parent.info && this.parentFlow ? this.parentFlow.defaultSettings.getDefaultExpression(this.parent.info.typeId, this.propertyName) : null; + configurePropertyCreationParams(e3, t3, i3) { + var n3, o2; + t3.literalOnly && i3.options.setAllowModeLiteralOnly(), t3.allowableValues && a.default.isFunction(null === (o2 = null === (n3 = i3.options) || void 0 === n3 ? void 0 : n3.facets) || void 0 === o2 ? void 0 : o2.setAllowableValues) && i3.options.facets.setAllowableValues(t3.allowableValues), t3.defaultValue && a.default.isFunction(i3.options.setDefaultText) && i3.options.setDefaultText(t3.defaultValue); } - 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; + propertiesCreatedForThisTypeInstance(e3) { } - getCustomJsonText(e3) { - const t3 = !!this.getUiMetaData(b.uiMetaDataKey.cameFromNull), i3 = !!this.getUiMetaData(b.uiMetaDataKey.cameFromEmptyString); - switch (this.mode) { - 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 G.ExpressionModes.literal: - return this.type.convertLitToCustomJsonStr(this.parentFlow.type, this.text, this.val); - case G.ExpressionModes.none: - case G.ExpressionModes.noValue: - default: - return t3 ? k.default.null : i3 ? '""' : ""; - } + useCustomExpressionEditor(e3) { + return false; } - get displayValue() { - return this.getEmbeddableExpressionText(); + get hasRichLiteralEditor() { + return false; } - getDisplayName() { - return this.displayValue; + getLiteralValues(e3) { } - get isExpressionMode() { - return this._mode === j.expression; + setPropertiesAsLiteral(e3, t3) { + x.errorWithStack(null, `setPropertiesAsLiteral should not be called for type '${this.displayString}'`); } - get isLiteralMode() { - return this._mode === j.literal; + copyExpressionValue(e3, t3) { } - get isNoValueMode() { - return this._mode === j.noValue; + addYamlExportTypeInfo(e3) { } - get isNoValueModeWithNoFallback() { - return this.isEmptyNoFallback && this.isNoValueMode; + parseLiteral(e3, t3) { + return {}; } - get isBuilderMode() { - return this._mode === j.builder; + } + t2.ExpressionType = V; + }, 81391(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeBaseResponseAsset = void 0; + const n2 = i2(82632), o = i2(94765); + class r extends o.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get isVariableMode() { - return this._mode === j.variable; + get supportsPlutusResponseAssets() { + return true; } - get isBlankOrNotSetOrEmpty() { - return this.isBlank || this.isEmpty || this.isExpressionMode && (this.isNotSet || '""' === this.text); + getPlutusMaxUploadSizeMegabytes() { + return n2.responseAssetLimits.size.maxSizeMegabytes; } - get hasWarning() { - var e3; - return !(!this.isBuilderMode || !(null === (e3 = this.builder) || void 0 === e3 ? void 0 : e3.hasWarning)) || super.hasWarning; + } + t2.ExpressionTypeBaseResponseAsset = r; + }, 39145(e2, t2, i2) { + "use strict"; + t2.FileType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 mode() { - return this._mode; + get className() { + return "FileType"; } - set mode(e3) { - 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)); + getPlutusMimeTypes() { + return u.FILE_MIME_TYPES_SET; } - _initializeDesignTime() { - if (super._initializeDesignTime(), this._transitionExpressionToNewVersion(), this.type.initializeDesignTime(this), this.builder && this.builder.initializeDesignTime(), o.default.each(this.properties, (e3) => { - e3.initializeDesignTime(); - }), this.regenBuilderText(), o.default.isFunction(this.options.initializedForDesignTimeCallback)) try { - this.options.initializedForDesignTimeCallback(); - } catch (e3) { - this.topic.traceOnce(`expression options initializeDesignTimeCallback - ${this.id}`, (t3) => t3.exception(e3, "NormalExpression initializedForDesignTimeCallback")); - } - this.options.requiredFlowChannelType && (this.parentFlow.definition.hasChannelType(this.options.requiredFlowChannelType) || (this.outOfService = true)), this.options.requiresFlowQuickRepliesSetting && (this.parentFlow.definition.supportsQuickRepliesFlowLevelSetting || (this.outOfService = true)); + getPlutusSupportedFileExtensions() { + return c.FILE_SUPPORTED_EXTENSIONS; } - registerDependencies() { - var e3; - 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(); + getPlutusMediaPlaceholderText() { + return g.file.filePlaceholder; } - outOfServiceChanged(e3) { - this.isDestroyedOrDestroying || (Z(this), !e3 && this.initializeDesignTimeCalled && (this.regenBuilderText(), this.processText(true), E.validateItem(this, true, true))); + getPlutusSupportedFileTypesText() { + return (0, o.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); } - regenBuilderText() { - this.builder && this.mode === j.builder && !this.outOfService && this.setText(this.builder.buildExpressionText()); + canConvertLitToExpression(e3) { + return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToFile", e3, [h.globalTypes.responseAsset, h.globalTypes.file]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); } - resetToDefaultValue(e3) { - this._reset(); - const t3 = this.options.defaultText || ""; - this.model.uiMetaData && (this.model.uiMetaData.mode = void 0), this._initializeMode(), this.setText(t3, e3, null); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `ToFile(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; } - get suppressResetOnTextChange() { - return this.isLiteralMode; + _getLiteralValueOfExpression() { + return ""; } - get shouldBeNoValue() { - return this.isLiteralMode && !this.optionsAs().isCollection ? this.options.allowModeNoValue && this.isBlank && !this.optionsAs().allowEmpty : this.options.allowModeNoValue && this.isBlank; + get supportsLiteralEditor() { + return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); } - get val() { - if (!this.config) return null; - const e3 = o.default.find(this.config, function(e4) { - return e4 && e4.val; - }); - return e3 ? e3.val : null; + get listManager() { + return a.fileManager; } - getDependencyTrackingId() { - var e3; - return o.default.isFunction(null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.getDependencyTrackingId) ? this.options.getDependencyTrackingId(this) : this.val; + createExpressionOptionClass() { + return new r.ExpressionTypeFileOptions(); } - get variableReference() { - return this.config && (this.config.sysref || this.config.ref) || null; + } + t2.FileType = f, f.typeIdentifier = _.expressionTypeNames.file; + }, 59005(e2, t2, i2) { + "use strict"; + t2.FormInputType = t2.Hw = t2.T$ = t2.sH = t2.Pd = t2.X$ = void 0; + const n2 = i2(31635), o = i2(75849), r = n2.__importStar(i2(9345)), a = i2(80428), s = i2(14394), l = i2(94765); + t2.X$ = "title", t2.Pd = "subtitle", t2.sH = "placeholderText", t2.T$ = "isMultipleLine", t2.Hw = "isRequired"; + class u extends l.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - _getHasError() { - var e3; - if (this.isBuilderMode && (null === (e3 = this.builder) || void 0 === e3 ? void 0 : e3.hasError)) return true; - if (super._getHasError()) return true; - if (this.isLiteralMode) { - if (this._hasLiteralError) return true; - if (this.typeHasAssignableProperties && this.properties) return Object.values(this.properties).some((e4) => !e4.outOfService && e4.hasError); - if (this.isBlank && this.options && this.optionsAs().allowEmpty) return false; - } - return !!this.isBlank && (!this.shouldBeNoValue || !this.isNoValueMode) && (!this.isOptional || this.isOverride); + get className() { + return "FormInputType"; } - _addVariableUsage(e3) { - this.isVariableMode ? e3.addWriter(this) : e3.addReader(this); + convertLitToExpression(e3, t3) { + return ""; } - getExpressions() { - 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()); - }), e3; + _getLiteralValueOfExpression() { + return ""; } - get subProperties() { - return Object.values(this.properties); + createExpressionOptionClass() { + return new o.ExpressionTypeFormInputOptions(); } - getPropertyDefinition(e3) { - return this.type.getPropertyDefinition(e3); + get supportsLiteralEditor() { + return true; } - getProperty(e3, t3) { - if (e3 && this.properties && this.isLiteralMode) { - if (!t3) return this.properties[e3.toLowerCase()]; - const i3 = this.properties[e3.toLowerCase()]; - if (null == i3 ? void 0 : i3.isLiteralMode) return i3; - } + getChooser(e3) { + var t3; + if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(s.globalTypes.chooser, r.settings.exact)) return e3.propertyParent; } - get typeHasAssignableProperties() { - return this.type.propertiesAllowAssignment; + getPropTitle(e3) { + return e3.getProperty(t2.X$); } - _destroyAssignableProperties(e3) { - this.properties && (o.default.each(this.properties, (e4) => { - e4._destroy(); - }), this.properties = void 0, e3 || (this.model.properties = void 0)); + getPropSubtitle(e3) { + return e3.getProperty(t2.Pd); } - _hydrateAssignableProperties(e3) { - if (!this.type.propertiesAllowAssignment) return; - const t3 = this.type.properties; - o.default.isEmpty(t3) || (e3 || o.default.isEmpty(this.properties)) && (this._destroyAssignableProperties(true), this.model.properties = this.model.properties || {}, o.default.each(t3, (e4) => { - const t4 = this.hydratePropertyFromPropertyDefinition(e4); - this.addAutoCleanedUpEventSinkWatch(S.listOrderChanged, t4, () => this._fireEvent(S.listOrderChanged)), this.addAutoCleanedUpEventSinkWatch(S.collectionItemValueChanged, t4, () => this._fireEvent(S.collectionItemValueChanged)), this.addAutoCleanedUpEventSinkWatch(S.expressionValueChanged, t4, () => this._fireEvent(S.expressionValueChanged)); - }), this.type.propertiesCreatedForThisTypeInstance(this), this.initializeDesignTimeCalled && o.default.each(this.properties, (e4) => { - e4.initializeDesignTime(); - })); + getPropPlaceholderText(e3) { + return e3.getProperty(t2.sH); } - hydrateAssignableProperties(e3) { - this._hydrateAssignableProperties(e3); + getPropIsMultipleLine(e3) { + return e3.getProperty(t2.T$); } - 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, d2 = e3.name, p2 = d2.toLowerCase(); - let _2; - 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(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; + getPropIsRequired(e3) { + return e3.getProperty(t2.Hw); } - get propertyParent() { - return this._propertyParent; + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`form-input-${i3.name}`), n3.options.setDefaultToNoValue(true), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.X$: + case t2.Pd: + case t2.sH: + n3.options.setIsOptional(true); + case t2.T$: + case t2.Hw: + } } - get parentList() { - return this._parentList; + } + t2.FormInputType = u, u.typeIdentifier = a.expressionTypeNames.formInput; + }, 54822(e2, t2, i2) { + "use strict"; + t2.GrammarType = void 0; + const n2 = i2(31635), o = i2(43700), r = 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); } - set parentList(e3) { - this._parentList ? (0, g.error)("can only set this once!") : this._parentList = e3; + get className() { + return "GrammarType"; } - get parentExpressionContainerItem() { - return this._parentExpressionContainerItem; + canConvertLitToExpression(e3) { + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindGrammar", e3, [u.globalTypes.string]); } - set parentExpressionContainerItem(e3) { - this._parentExpressionContainerItem = e3; + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindGrammar(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - _initialize() { - this._hydrateBuilder(true), super._initialize(), this.isLiteralMode && this._hydrateAssignableProperties(), Z(this); + createExpressionOptionClass() { + return o.ExpressionTypeGrammarOptions.create(); } - _ensureUiMetaData() { - super._ensureUiMetaData(), this.model.uiMetaData.mode = this.mode; + get listManager() { + return r.grammarManager; } - _hydrateBuilder(e3) { - 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 = 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 = j.expression); - } + get supportsLiteralEditor() { + return true; } - _transitionLitToExpression() { - 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)); + } + t2.GrammarType = d, d.typeIdentifier = l.expressionTypeNames.grammar; + }, 11304(e2, t2, i2) { + "use strict"; + t2.GroupType = void 0; + const n2 = i2(31635).__importDefault(i2(22226)), o = i2(71056), r = 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); } - 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 j.variable: - e3.copyCutAddDependencyVariable(this._getReferenceByName(this.text), this.supportedFlowTypes); - break; - 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); - } - } finally { - e3.copyCutResetSupportedFlowTypeFilter(); - } + get className() { + return "GroupType"; } - get isOverride() { - return this.model && this.model.uiMetaData && this.model.uiMetaData.hasOwnProperty("isOverride"); + createExpressionOptionClass() { + return new o.ExpressionTypeNetworkObjectOptions(); } - set isOverride(e3) { - 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); + canConvertLitToExpression(e3) { + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindGroup", e3, [u.globalTypes.string]); } - 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 === 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); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindGroup(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - getAvailableExpressionBuilders() { - const e3 = this.type.getAvailableExpressionBuilders(this.parentFlow.type, this.options.allowedBuilderCategoryIdFilter, this.options.allowedBuilderIds) || [], t3 = o.default.uniq(e3, false, (e4) => { - let t4 = ""; - return o.default.each(e4.getAvailableBuilderPartDefinitionsForFlowType(this.parentFlow.type), (e5) => { - t4 += e5.id; - }), t4; - }); - return this.builder && (t3.find((e4) => e4.id === this.builder.builderDefId) || t3.push(this.builder.builderDef)), t3; + applyLiteralFromModel(e3, t3, i3, n3) { + (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); } - resetForBuilder(e3, t3) { - if (this.outOfService && !e3 || this.mode !== j.builder) return; - const i3 = this.builder; - if (!i3) return; - const n3 = this.options.builderLanguagesSequenceConfig; - n3 && i3.configureForLanguageSequence(n3, t3), this.setText(i3.buildExpressionText(), false, false); + _getLiteralValueOfExpression() { + return ""; } - _destroy() { - o.default.each(this.variables, (e3) => { - e3.deleteReference(this); - }), y.unRegisterExpression(this), this.builder && (this.builder.destroy(), this._builderViewModel = void 0), this._destroyAssignableProperties(), super._destroy(); + get listManager() { + return r.groupManager; } - checkVariableModeType() { - 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; + } + t2.GroupType = d, d.typeIdentifier = l.expressionTypeNames.group, d.entityResolverEntityType = "group"; + }, 40522(e2, t2, i2) { + "use strict"; + t2.ImageType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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); } - getHasVariableTypeMismatch(e3) { - return e3 || (e3 = this._getReferenceByName(this.text)), e3 && !this.type.isMatch(e3.type); + get className() { + return "ImageType"; } - get isNormalExpression() { - return true; + getPlutusMaxUploadSizeMegabytes() { + return u.imageLimits.size.maxSizeMegabytes; } - get isCollectionExpression() { - return false; + getPlutusMimeTypes() { + return c.IMAGE_MIME_TYPES_SET; } - 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))); + getPlutusSupportedFileExtensions() { + return d.IMAGE_SUPPORTED_EXTENSIONS; } - 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) ? (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(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); - } finally { - this.hasValidationError = this.hasError, this.hasValidationWarning = this.hasWarning; - } + getPlutusMediaPlaceholderText() { + return f.image.imagePlaceholder; } - rebuildOrCreateBuilderByDefId(e3) { - if (this.isBuilderMode) if (this.builder && this.builder.builderDefId === e3) this.config || this.resetForBuilder(false, false); - else { - 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); - } + getPlutusSupportedFileTypesText() { + return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsFeature) ? (0, o.sprintf)(f.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()) : f.image.supportedFileTypes; } - get parseResult() { - return this._parseResult; + canConvertLitToExpression(e3) { + return p.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindImage", e3, [m.globalTypes.string]); } - search(e3) { - this.isLiteralMode ? this.type.searchExpression(e3, this) : e3.checkText(this, this.text, this.label); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindImage(${_.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - 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); - }); + _getLiteralValueOfExpression() { + return ""; } - _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)); - } - } + createExpressionOptionClass() { + return new r.ExpressionTypeImageOptions(); } - setAsExpression(e3, t3, i3) { - this.setText(e3, t3, void 0, j.expression, void 0, i3); + get listManager() { + return a.imageManager; } - setAsLiteral(e3, t3) { - this.setText(e3, void 0, void 0, j.literal, t3); + get supportsLiteralEditor() { + return true; } - setAsNoValue() { - this.setText("", void 0, void 0, j.noValue), this.setConfigAndMetaData(U.expressionItems.empOrEnf(this.type, this.options)), this._fireEvent(S.expressionValueChanged); + } + t2.ImageType = T, T.typeIdentifier = h.expressionTypeNames.image; + }, 53561(e2, t2, i2) { + "use strict"; + t2.IntegerType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 = l.ExpressionTypeIntegerOptions; } - setAsNoValueNoFallback() { - 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()); + get className() { + return "IntegerType"; } - 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(j.builder, L.builderIds.parts.genericCommunication); - } - const n3 = this.builder; - if (!n3) return false; - switch (n3.builderDef.id) { - case L.builderIds.parts.genericCommunication: - case L.builderIds.parts.markdownCommunication: - case L.builderIds.parts.markdownString: - break; - default: - return false; - } - n3.addOrSetStringLiteralBuilderPart(e3), this.setText(n3.buildExpressionText()), this._ensureUiMetaData(), this.model.uiMetaData.builder = n3.model; + _getLiteralValueOfExpression(e3) { + const t3 = parseInt(e3.text, 10); + return r.default.isActualNumber(t3) ? t3.toString() : ""; } - setStringBuilderText(e3, t3) { - if (!this.isBuilderMode) { - if (!t3 || !this.options.allowModeBuilder) return false; - this.setModeWithTransition(j.builder, L.builderIds.parts.genericString); + createExpressionOptionClass() { + return new l.ExpressionTypeIntegerOptions(this.isCollection); + } + getYamlObjectForLiteralSingleton(e3) { + super.getYamlObjectForLiteralSingleton(e3); + const t3 = Number(e3.text); + return r.default.isActualNumber(t3) || p.errorWithStack(null, "Invalid number parsed in IntegerType.getYamlObjectForLiteralSingleton"), t3; + } + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + let r2; + if ("number" == typeof t3) Number.isFinite(t3) && (r2 = 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() && (r2 = n4); } - const i3 = this.builder; - if (!i3) return false; - i3.addOrSetStringLiteralBuilderPart(e3), this.setText(i3.buildExpressionText()), this._ensureUiMetaData(), this.model.uiMetaData.builder = i3.model; + void 0 !== r2 ? this.enforceValueLimit(r2 >= u.default.minInt && r2 <= u.default.maxInt, (0, o.sprintf)(a.configureFromModel.integerLiteralOutOfRange, r2, u.default.minInt, u.default.maxInt), n3) && e3.setAsLiteral(String(r2)) : n3 && n3.warn((0, o.sprintf)(a.configureFromModel.unrecognizedLiteralValue, "integer", JSON.stringify(t3))); } - checkDefaultStringBuilderText(e3) { - this.text && this.text !== k.default.notSet || this.setStringBuilderText(e3, true); + validateLiteral(e3, t3) { + if (t3.outOfService) return true; + const i3 = Number(t3.text), n3 = parseInt(t3.text); + if (!isNaN(i3) && i3) { + let n4, r2; + if (i3 < u.default.minInt ? (n4 = _.expression.intValueLessThanMin, r2 = u.default.minInt) : i3 > u.default.maxInt && (n4 = _.expression.intValueGreaterThanMax, r2 = u.default.maxInt), n4) return t3.setParseError((0, o.sprintf)(n4, t3.text, 1, r2)), e3.addError(t3, (0, o.sprintf)(_.errors.invalidValue, t3.label), false, true), false; + } + return !isNaN(i3) && !isNaN(n3) && n3.toString() === t3.text || (e3.addError(t3, (0, o.sprintf)(_.errors.invalidValue, t3.label), false, true), false); } - _fireEvent(e3) { - v.fireEvent(this, e3); + convertLitToCustomJsonStr(e3, t3, i3, n3) { + return i3 || t3 || ""; } - get isOutput() { - var e3; - return null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.isOutput; + } + t2.IntegerType = h, h.typeIdentifier = c.expressionTypeNames.integer; + }, 81993(e2, t2, i2) { + "use strict"; + t2.JsonType = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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), I = i2(47957), C = { id: N.default.expression.genericJsonPropertyDefModelPropId, name: "*", description: "", type: g.expressionTypeNames.json, isCollection: false, isComputed: false, version: "1.0", readOnly: false }; + let O; + class b extends h.ExpressionType { + constructor(e3, t3, i3, n3) { + 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); } - setAsOutput(e3) { - this.options.setAsOutput().setAllowSecure(!e3), this.shouldBeNoValue ? this.setModeWithTransition(j.noValue) : this.options.wantVariableMode && this.setModeWithTransition(j.variable); + get yamlName() { + return this.isCustomTypeArchitectBuiltIn && this.isCustomType && this.isCollection ? `${this.customTypeNameWithoutContext}Collection` : this.customTypeNameWithoutContext; } - setModeWithTransition(e3, t3) { - 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)); + get className() { + return "JsonType"; } - _getLiteralValueOfExpression() { - return (this.savedLit || "" === this.savedLit) && this.type.isMatch(H.globalTypes.string) ? this.savedLit : this.type.getLiteralValueOfExpression(this); + get bootstrapDataType() { + return this.typeIdentifier; } - setText(e3, t3, i3, n3, r3, a2) { - var s2, l2; - 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); + get customTypeName() { + var e3; + if (!this.isCustomType) return; + if (this.schemaName) return this.schemaName; + const t3 = null === (e3 = this.model.support) || void 0 === e3 ? void 0 : e3.expressionDataType, i3 = null == t3 ? void 0 : t3.indexOf("::"); + return -1 !== i3 ? t3.substring(i3 + 2).split("_").map((e4) => e4.charAt(0).toUpperCase() + e4.slice(1)).join("") : void 0; } - _clearCameFromJsonNullOrEmptyStringMetadata() { + get customTypeNameWithoutContext() { 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); + return (null === (e3 = this._customJsonIdentifierInfo) || void 0 === e3 ? void 0 : e3.namespaceSupportsContext) ? this._customJsonIdentifierInfo.getEntityNameWithoutContext(this.schemaName) : this.customTypeName; } - update(e3, t3, i3) { - 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); + 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 !== p.CustomJsonNamespace.architect; + let n3 = ""; + if (null == e3 ? void 0 : e3.length) if (i3) { + if (this.doesNamespaceSupportInputOutput) return this.isCustomTypeContextOutput ? `${I.json.input.outputsLabel} - ${e3.replace(/\s-\sOutput$/, "")} (${this.customTypeNamespaceLabel})` : `${I.json.input.inputsLabel} - ${e3.replace(/\s-\sInput$/, "")} (${this.customTypeNamespaceLabel})`; + n3 = `${e3} (${this.customTypeNamespaceLabel})`; + } else n3 = `${e3}`; + return n3 || (n3 = I.json.general.customJSONLabel), this.isCollection ? i3 ? (0, A.sprintf)(I.expression.collection, e3) + ` (${this.customTypeNamespaceLabel})` : (0, A.sprintf)(I.expression.collection, n3) : n3; } - updateFromConfigListManagerItem(e3) { - let t3; - this.type.isMatch(H.globalTypes.userQueue, B.settings.typeOf) && (t3 = {}, t3.username = e3.username), this.update(e3.label, e3.id, t3); + getDisplayString(e3) { + return !this.isCustomType || e3 ? super.getDisplayString(e3) : this.customTypeName; } - 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(z.expression.expressionModeNotAllowed, e3), false; - } else if (this.isLiteralMode) { - 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(z.expression.variableModeNotAllowed, e3), false; - } else if (this.isNoValueMode) { - if (!this.options.allowModeNoValue) return this.setParseAndValidationError(z.expression.noValueModeNotAllowed, e3), false; - } else if (this.isBuilderMode) { - 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 || z.expression.builderInError; - return this.setParseError(t4), super.validate(e3), false; - } - { - const t4 = null === (s2 = null === (n3 = null === (i3 = this.builder) || void 0 === i3 ? void 0 : i3.builderValidationResults) || void 0 === n3 ? void 0 : n3.warningStringsArray) || void 0 === s2 ? void 0 : s2[0]; - if (t4) { - const i4 = super.validate(e3); - return i4 || this.setParseWarning(t4), i4; - } - } - } - return super.validate(e3); + canConvertLitToExpression(e3) { + return true; } - _getMediaAssetId() { - var e3, t3, i3, n3; - return null !== (n3 = 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.val) && void 0 !== n3 ? n3 : null; + createExpressionOptionClass() { + 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 hasMediaReference() { - return !!this.getMediaReference(); + get atLeastOnePropertyMustBeSetErrorText() { + return this._atLeastOnePropertyMustBeSetErrorText; } - getMediaReference() { - var e3; - 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, 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; - i4.getExpressionDetailParts(t4).find((t5) => { - t5.expression.hasMediaReference && (e4 = t5.expression); - }), e4 && (a2 = e4._getMediaAssetId()); - } - } - if (a2) { - if (t3) return _.imageManager.getItem(a2); - if (i3) return h.responseAssetManager.getItem(a2); - if (n3) return p.fileManager.getItem(a2); - if (r3) return m.videoManager.getItem(a2); - if (o2) return d.digitalAudioManager.getItem(a2); - } - } + set atLeastOnePropertyMustBeSetErrorText(e3) { + this._atLeastOnePropertyMustBeSetErrorText = e3; } - get errorLabel() { - return this.propertyParent ? (this.label || (0, g.error)(`Missing label for expression: ${this.propertyName}`), `${this.propertyParent.errorLabel} \u2192 ${this.label || this.propertyName}`) : this.label || this.propertyName; + resolveAtLeastOnePropertyMustBeSetErrorText(e3) { + if (!o.default.isEmpty(this.properties)) return (0, l.areOptionsJsonType)(e3) && e3.atLeastOnePropertyMustBeSetErrorText ? e3.atLeastOnePropertyMustBeSetErrorText : this.atLeastOnePropertyMustBeSetErrorText || void 0; } - removeDependantValidationIssues(e3, t3, i3) { - t3.isNormalExpression && t3.properties && Object.entries(t3.properties).forEach(([t4, n3]) => { - e3.removeIssues(n3, i3); - }); + 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)); } - allowExpandedVariableReference(e3) { - return !(null == e3 ? void 0 : e3.hierarchicalParent) || !this.isVariableMode || !this.options.isOutput; + static isCustomJsonPropertyIgnoredAtRuntime(e3, t3) { + var i3, n3; + if (null == e3) return true; + if ("object" == typeof e3 && e3.__isArchExpr) { + const o2 = e3, r2 = o2.expressionId ? null == t3 ? void 0 : t3[o2.expressionId] : void 0, a2 = null === (n3 = null === (i3 = null == r2 ? void 0 : r2.expression) || void 0 === i3 ? void 0 : i3.text) || void 0 === n3 ? void 0 : n3.trim(); + return !a2 || a2 === _.default.notSet; + } + return false; } - get isBooleanTrue() { - switch (this._mode) { - 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; + 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; } - updateExpressionFromConfig(e3, t3) { - if (e3 && e3.id && t3) { - let i3; - switch (t3.searchManagers[0].configListManager.className) { - case "WhatsAppMessagingIntegrations": - case "FacebookMessagingIntegrations": - i3 = e3.accountId; - break; - default: - i3 = ""; - } - this.text = i3, this.config.lit.val = e3.id; - } else this.text = "", this.config.lit.val = void 0; + static isWholeValueArchitectExpressionText(e3) { + const t3 = null == e3 ? void 0 : e3.trim(); + return !!t3 && t3.startsWith(_.default.leftCurlies) && t3.endsWith(_.default.rightCurlies); } - toString() { - return `${super.toString()} - mode:${this.mode}`; + 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); } - } - 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)), c = i2(80295); - class d extends s.BaseActionModel { - constructor(e3) { - 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"); + getPropertyDefinition(e3, t3) { + if (!e3) return; + let i3 = super.getPropertyDefinition(e3, t3); + return !i3 && this.additionalProperties && (O || (O = new S.PropertyDefinition(null, C, C.description)), i3 = O), i3; } - get customizeNoInput() { - return this._customizeNoInput; + get supportsLiteralEditor() { + return true; } - set customizeNoInput(e3) { - this._customizeNoInput = this.reviveItem(e3, u.default); + validateLiteral(e3, t3) { + if (!this.isCustomType && !t3.options.isCustomJsonType) { + 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, I.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, I.json.genericError.invalidJson, i4), false, true), false; + } + } + return true; } - get customizeNoMatch() { - return this._customizeNoMatch; + get isCustomType() { + return this._customJsonIdentifierInfo.isCustomJsonType; } - set customizeNoMatch(e3) { - this._customizeNoMatch = this.reviveItem(e3, u.default); + get isJsonType() { + return true; } - get noInput() { - return this.noInputs && this.noInputs[0]; + get customTypeNamespace() { + return this._customJsonIdentifierInfo.namespace; } - set noInput(e3) { - this.noInputs = [e3]; + get isCustomTypeContextInput() { + return this._customJsonIdentifierInfo.isContextInput; } - get noMatch() { - return this.noMatches && this.noMatches[0]; + get isCustomTypeContextNone() { + return this._customJsonIdentifierInfo.isContextNone; } - set noMatch(e3) { - this.noMatches = [e3]; + get isCustomTypeContextOutput() { + return this._customJsonIdentifierInfo.isContextOutput; } - get noInputs() { - return this._noInputs; + get isCustomTypeContextRecord() { + return this._customJsonIdentifierInfo.isContextRecord; } - set noInputs(e3) { - this._noInputs = this.reviveArray(e3, u.default); + get isCustomTypeContextSchemaData() { + return this._customJsonIdentifierInfo.isContextSchemaData; } - get noInputReprompts() { - return this._noInputReprompts; + get isCustomTypeContextSchemaDataPatch() { + return this._customJsonIdentifierInfo.isContextSchemaDataPatch; } - set noInputReprompts(e3) { - this._noInputReprompts = this.reviveItem(e3, u.default); + get customTypeContext() { + return this._customJsonIdentifierInfo.context; } - get noMatches() { - return this._noMatches; + get doesNamespaceSupportInputOutput() { + return r.namespaceSupportsInputOutput(this.customTypeNamespace); } - set noMatches(e3) { - this._noMatches = this.reviveArray(e3, u.default); + get customTypeNamespaceLabel() { + if (this.isCustomType) return this._customJsonIdentifierInfo.namespaceLabel || this._customJsonIdentifierInfo.namespace; } - get noMatchReprompts() { - return this._noMatchReprompts; + get isCustomTypeArchitectBuiltIn() { + return this._customJsonIdentifierInfo.isNamespaceArchitect; } - set noMatchReprompts(e3) { - this._noMatchReprompts = this.reviveItem(e3, u.default); + _getLiteralValueOfExpression() { + return ""; } - get voiceEndOfInputTimeout() { - return this._voiceEndOfInputTimeout; + set schemaName(e3) { + this._schemaName = e3; } - set voiceEndOfInputTimeout(e3) { - this._voiceEndOfInputTimeout = this.reviveItem(e3, u.default); + get schemaName() { + return this._schemaName; } - get enableBargeIn() { - return this._enableBargeIn; + get nullPropertyValueNoOpWarningText() { + return this._nullPropertyValueNoOpWarningText; } - set enableBargeIn(e3) { - this._enableBargeIn = this.reviveItem(e3, u.default); + set nullPropertyValueNoOpWarningText(e3) { + this._nullPropertyValueNoOpWarningText = e3; } - get paths() { - return this._paths; + 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)); } - set paths(e3) { - this._paths = this.reviveArray(e3, a.ActionOutput); + getYamlObjectForLiteralSingleton(e3) { + let t3; + super.getYamlObjectForLiteralSingleton(e3); + try { + t3 = JSON.parse(e3.text); + } catch (e4) { + } + return o.default.isObject(t3) || o.default.isUndefined(t3) ? e3.text : t3; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._customizeNoInput && this._customizeNoInput.pasteResolveOldToNewValues(e3), this._customizeNoMatch && this._customizeNoMatch.pasteResolveOldToNewValues(e3), this._enableBargeIn && this._enableBargeIn.pasteResolveOldToNewValues(e3), this._noInputs && this._noInputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noInputReprompts && this._noInputReprompts.pasteResolveOldToNewValues(e3), this._noMatches && this._noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noMatchReprompts && this._noMatchReprompts.pasteResolveOldToNewValues(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3), this._paths && this._paths.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + applyLiteralFromModel(e3, t3, i3, n3) { + if (void 0 === t3) return; + let o2; + if (null === t3) o2 = "null"; + else if ("object" == typeof t3) try { + o2 = JSON.stringify(t3); + } catch (e4) { + return void (null == n3 || n3.warn(u.configureFromModel.jsonLiteralStringifyFailed)); + } + else if ("string" == typeof t3) o2 = t3; + else { + if ("number" != typeof t3 && "boolean" != typeof t3) return void (null == n3 || n3.warn((0, A.sprintf)(u.configureFromModel.jsonLiteralExpectedValue, typeof t3))); + o2 = String(t3); + } + this.enforceValueLimit(o2.length <= _.default.maxStringLength, (0, A.sprintf)(u.configureFromModel.jsonLiteralLengthExceeded, o2.length, _.default.maxStringLength), n3) && e3.setAsLiteral(o2); } - pasteReIdOrRename(e3) { - 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)); + isUserCreatableForFlow(e3) { + return this.isCustomType ? this.isCustomTypeArchitectBuiltIn ? super.isUserCreatableForFlow(e3) : !!e3.destinationFlowTypes.every((e4) => { + var t3; + 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); } - } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(51306); - class l extends r2.default { - constructor(e3) { - super(e3); + isUserCreatableForFlowType(e3) { + var t3; + return this.isCustomType ? this.isCustomTypeArchitectBuiltIn ? super.isUserCreatableForFlowType(e3) : !!(null === (t3 = T.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsCustomJsonTypeUserCreatedVariables) : super.isUserCreatableForFlowType(e3); } - get displayTypeName() { - return "ArchBaseActionFlowOutcome"; + convertLitToExpression(e3, t3) { + if (o.default.isUndefined(t3)) return ""; + const i3 = s.validateLiteralJson(t3); + if (i3 && i3.errorText) { + if ("" === t3) return ""; + const e4 = JSON.stringify(t3); + return `JsonParse("${null == e4 ? void 0 : e4.replaceAll(/"/g, '\\"')}")`; + } + return `JsonParse(${JSON.stringify(t3)})`; } - get isArchBaseActionFlowOutcome() { - return true; + _isAvailableForFlowType(e3, t3) { + var i3; + if (!this.isCustomType) return super._isAvailableForFlowType(e3); + if (!this._isCustomTypeFeatureAvailable) return false; + if (this.isCustomTypeArchitectBuiltIn) { + const t4 = null === (i3 = this.model.support) || void 0 === i3 ? void 0 : i3.supportedFlowTypes; + return !!t4 && !o.default.isUndefined(t4[e3]); + } + return super._isAvailableForFlowType(e3); } - setFlowOutcomeByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("flowOutcomeId", "setFlowOutcomeByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowOutcomeByIdAsync"), t3, true), o.default.findItemByIdAsync(s.outcomeManager, e3, "flow outcome").then((i3) => (this.logNote("found the flow outcome named '" + i3.name + "' for the flowOutcomeId ID of '" + e3 + "'"), this._coreActionViewModel.outcome.setValue(i3), a.default.executeCallback(this, "setFlowOutcomeByIdAsync", t3, this))); + get _isCustomTypeFeatureAvailable() { + if (!this.isCustomType) return false; + if (void 0 === this._featureAvailabilityCheckResult) switch (this.customTypeNamespace) { + 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 p.CustomJsonNamespace.architectFlow: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customJSONV2); + break; + case p.CustomJsonNamespace.conversationAttribute: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customConversationAttributes); + break; + case p.CustomJsonNamespace.decisionTable: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.ruleBasedDecisionsFeature); + break; + case p.CustomJsonNamespace.userDefined: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customJSONUserDefinedTypes); + break; + case p.CustomJsonNamespace.worktype: + this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.workItemFlows); + break; + case p.CustomJsonNamespace.botConnector: + case p.CustomJsonNamespace.composerScript: + case p.CustomJsonNamespace.dataAction: + case p.CustomJsonNamespace.externalContact: + case p.CustomJsonNamespace.structuredParticipantData: + default: + this._featureAvailabilityCheckResult = false; + } + return this._featureAvailabilityCheckResult; } - setFlowOutcomeByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("flowOutcomeName", "setFlowOutcomeByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowOutcomeByNameAsync"), t3, true), o.default.findItemByValueAsync(s.outcomeManager, e3, "flow outcome", "name", "name").then((i3) => (this.logNote(`Found info for the flow outcome named '${i3.name}' for the passed flow outcome name of '${e3}'.`), this._coreActionViewModel.outcome.setValue(i3), a.default.executeCallback(this, "setFlowOutcomeByNameAsync", t3, this))); + isAvailableAsInputForFlowType(e3) { + return !this.isCustomType && super.isAvailableAsInputOrOutputForFlowType(e3, "flowInput"); } - } - t2.default = l; - }, 39296: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DataPairListCollection = void 0; - 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(); + isAvailableAsOutputForFlowType(e3) { + return !this.isCustomType && this.isAvailableAsInputOrOutputForFlowType(e3, "flowOutput"); } - createItem(e3) { - (e3 = e3 || {}).name || (e3.name = ""), e3.value || (e3.value = []); - const t3 = new l.DataPairList(this.parent, e3.value, this.areInputLists, true); - return new c.default(e3, t3); + get yamlTypeName() { + if (this.isCustomType) { + const e3 = "customJson"; + return this.isCollection ? e3 + "Collection" : e3; + } + return super.yamlTypeName; } - get isDataPairListCollection() { - return true; + convertLitToCustomJsonStr(e3, t3, i3, n3) { + return i3 || t3 || ""; } - get className() { - return "DataPairListCollection"; + get customTypeInfo() { + return this._customJsonIdentifierInfo; } - 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)); + addYamlExportTypeInfo(e3) { + 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.DataPairListCollection = p; - }, 39424: (e2, t2, i2) => { - "use strict"; - 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.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"); - }, 39521: (e2, t2, i2) => { + t2.JsonType = b; + }, 70131(e2, t2, i2) { "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = i2(24235), a = r2.__importDefault(i2(26519)), s = i2(96353), l = i2(47957); - class u extends a.default { - constructor() { - super(...arguments), n2.set(this, void 0); - } - get audio() { - return r2.__classPrivateFieldGet(this, n2, "f"); - } - destroy() { - return r2.__classPrivateFieldGet(this, n2, "f") && r2.__classPrivateFieldGet(this, n2, "f").destroy(), super.destroy(); - } - getConfiguration(e3, t3) { - const i3 = super.getConfiguration(e3, t3); - if ((null == t3 ? void 0 : t3.isForFlowYaml) && i3) { - const n3 = this.audio.getConfiguration(e3, t3); - return i3.preHandlingAudio = n3 || { tts: "" }, i3; - } - e3.errorHandling.audio || (e3.errorHandling.audio = {}), e3.errorHandling.audio = this.audio.getConfiguration(e3, t3); + t2.KnowledgeBaseDocumentType = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); } - get isErrorHandlingWithAudioViewModel() { - return true; + get className() { + return "KnowledgeBaseDocumentType"; } - loadConfiguration(e3) { - super.loadConfiguration(e3), e3.errorHandling.audio || (e3.errorHandling.audio = {}), r2.__classPrivateFieldSet(this, n2, new s.AudioViewModel(this.parentFlow, this, e3.errorHandling.audio, o.AudioViewModelOptions.create().setLabel(l.customNodes.errorHandling.audio).setIninTestingField("errorAudio")), "f"); + createExpressionOptionClass() { + return new r.ExpressionTypeKnowledgeBaseDocumentOptions(this.isCollection); } - search(e3) { - super.search(e3), e3.addToQueue(this.audio); + get listManager() { + return a.knowledgeBaseDocumentManager.getBriefManagerWithFallback(); } - updateDependencies() { - this.audio.outOfService || this.audio.updateDependencies(), super.updateDependencies(); + canConvertLitToExpression(e3) { + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindKnowledgeBaseDocument", e3, [c.globalTypes.string]); } - validate(e3) { - this.audio.validate(e3), super.validate(e3); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindKnowledgeBaseDocument(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - _initializeDesignTime() { - super._initializeDesignTime(), this.audio.initializeDesignTime(); + validateLiteral(e3, t3) { + var i3, n3, r2, a2; + const s2 = super.validateLiteral(e3, t3); + if (s2) { + const r3 = this.listManager.getItem(t3.val); + if (r3 && o.default.isFunction(null === (i3 = null == t3 ? void 0 : t3.options) || void 0 === i3 ? void 0 : i3.knowledgeBaseIdCallback)) { + const i4 = t3.options.knowledgeBaseIdCallback(t3), o2 = null == i4 ? void 0 : i4.knowledgeId; + if (o2 && (null === (n3 = r3.knowledgeBase) || void 0 === n3 ? void 0 : n3.id) !== o2) return e3.addError(t3, p.knowledgeSettings.knowledgeArticleMismatch, void 0, true), false; + } + } else { + const i4 = null === (a2 = null === (r2 = e3.getIssues(t3.parent.id)) || void 0 === r2 ? void 0 : r2.errors[0]) || void 0 === a2 ? void 0 : a2.text; + i4 && t3.setParseError(i4); + } + return s2; } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 39533: (e2, t2, i2) => { - const n2 = i2(81084), { detectSilenceActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, "DetectSilenceActionModel"), e2.exports = o; - }, 39546: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.concat = void 0; - var n2 = i2(70201), r2 = i2(26404), o = i2(47058); - t2.concat = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return n2.concatAll()(o.from(e3, r2.popScheduler(e3))); - }; - }, 39554: (e2, t2, i2) => { + t2.KnowledgeBaseDocumentType = _, _.typeIdentifier = u.expressionTypeNames.knowledgeBaseDocument; + }, 54872(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.LanguageSkillType = void 0; + const n2 = i2(31635), o = i2(71056), r = 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); } - get _globalTypeName() { - return "wheelPicker"; + get className() { + return "LanguageSkillType"; } - get displayTypeName() { - return "ArchValueWheelPicker"; + createExpressionOptionClass() { + return new o.ExpressionTypeNetworkObjectOptions(); } - get isArchValueWheelPicker() { - return true; + canConvertLitToExpression(e3) { + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindLanguageSkill", e3, [u.globalTypes.string]); } - get items() { - return this._getAssignableProperty("items"); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindLanguageSkill(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; + } + _getLiteralValueOfExpression() { + return ""; + } + get listManager() { + return r.languageSkillManager; } } - t2.default = r2; - }, 39568: (e2, t2, i2) => { + t2.LanguageSkillType = d, d.typeIdentifier = l.expressionTypeNames.languageSkill; + }, 27362(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "wheelPicker"; + t2.LineItemType = t2.xy = t2.Dc = void 0; + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(73198)), a = i2(27491), s = i2(94765), l = i2(70812), u = i2(80428), c = i2(14394), d = i2(47957); + t2.Dc = "listingname", t2.xy = "listingprice"; + class p extends s.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get displayTypeName() { - return "ArchVariableWheelPicker"; + get className() { + return "LineItemType"; } - get isArchVariableWheelPicker() { - return true; + canConvertLitToExpression(e3) { + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeLineItem", e3, [c.globalTypes.string, c.globalTypes.currency]); } - } - t2.default = r2; - }, 39635: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + convertLitToExpression(e3, t3, i3, n3) { + var o2, a2; + return n3 && this.canConvertLitToExpression(e3) ? `MakeLineItem(${(null === (o2 = n3.type.getPropListingName(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || r.default.notSet}, ${(null === (a2 = n3.type.getPropListingPrice(n3)) || void 0 === a2 ? void 0 : a2.getEmbeddableExpressionText()) || r.default.notSet})` : ""; } - get _globalTypeName() { - return "booleanCollection"; + _getLiteralValueOfExpression() { + return ""; } - get displayTypeName() { - return "ArchValueBooleanCollection"; + createExpressionOptionClass() { + return new l.ExpressionTypeLineItemOptions(this.isCollection); } - get isArchValueBooleanCollection() { + get supportsLiteralEditor() { return true; } - } - t2.default = r2; - }, 39637: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchBaseDefinition = void 0; - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getPropListingName(e3) { + return e3.getProperty(t2.Dc); } - get displayTypeName() { - return "ArchBaseDefinition"; + getPropListingPrice(e3) { + return e3.getProperty(t2.xy); } - get isArchBaseDefinition() { - return true; + configurePropertyCreationParams(e3, i3, n3) { + var r2; + 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.Dc: + 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.xy: + n3.options.setIsOptional(false), (null === (r2 = e3.parent.info) || void 0 === r2 ? void 0 : r2.typeId) === o.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 logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + get hasRichLiteralEditor() { + return true; } } - t2.ArchBaseDefinition = r2; - }, 39729: (e2, t2, i2) => { + t2.LineItemType = p, p.typeIdentifier = u.expressionTypeNames.lineItem; + }, 25118(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "workitem"; + t2.ListPickerItemType = t2.aH = t2.q1 = t2.Pd = t2.X$ = void 0; + const n2 = i2(31635), o = i2(36444), r = 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.X$ = "title", t2.Pd = "subtitle", t2.q1 = "image", t2.aH = "managedSlotTypeValue"; + class h extends d.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get id() { + get className() { + return "ListPickerItemType"; } - get name() { + canConvertLitToExpression(e3) { + return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPickerItem", e3, [c.globalTypes.string, c.globalTypes.string, c.globalTypes.image]); } - get assignee() { + convertLitToExpression(e3, t3, i3, n3) { + var o2, r2, a2; + return n3 && this.canConvertLitToExpression(e3) ? `MakeListPickerItem(${(null === (o2 = this.getPropTitle(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || s.default.notSet}, ${(null === (r2 = this.getPropSubtitle(n3)) || void 0 === r2 ? void 0 : r2.getEmbeddableExpressionText()) || s.default.notSet}, ${(null === (a2 = this.getPropImage(n3)) || void 0 === a2 ? void 0 : a2.getEmbeddableExpressionText()) || s.default.notSet})` : ""; } - get assignmentState() { + _getLiteralValueOfExpression() { + return ""; } - get autoStatusTransition() { + createExpressionOptionClass() { + return new o.ExpressionTypeListPickerItemOptions(); } - get customFields() { + get supportsLiteralEditor() { + return true; } - get dateCreated() { + getPropTitle(e3) { + return e3.getProperty(t2.X$); } - get dateAssignmentStateChanged() { + getPropSubtitle(e3) { + return e3.getProperty(t2.Pd); } - get dateDue() { + getPropImage(e3) { + return e3.getProperty(t2.q1); } - get dateExpires() { + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`list-picker-item-${i3.name}`), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.X$: + n3.options.setIsOptional(false), n3.options.setAllowedBuilderIds([a.builderIds.parts.genericString]); + break; + case t2.Pd: + n3.options.setIsOptional(true), n3.options.setAllowedBuilderIds([a.builderIds.parts.genericString]); + break; + case t2.q1: + n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setDefaultToNoValue(true); + } } - get dateModified() { + get hasRichLiteralEditor() { + return true; } - get dateStatusChanged() { + isValueUnknownAtDesignTime(e3) { + var t3; + return !e3.isLiteralMode || !(null === (t3 = this.getPropTitle(e3)) || void 0 === t3 ? void 0 : t3.isLiteralMode); } - get dateClosed() { + isTypeUnknownAtDesignTime(e3) { + return false; } - get description() { + getIsSlotOrSlotTypeChoice(e3) { + return true; } - get duration() { + isPostbackChoice(e3) { + return true; } - get divisionId() { + getValueStr(e3) { + var t3; + return null === (t3 = this.getPropTitle(e3)) || void 0 === t3 ? void 0 : t3.text; } - get externalContact() { + getReferenceId(e3) { } - get externalTag() { + setReferenceId(e3, t3) { } - get languageSkill() { + getPossibleStringFacetValue(e3, t3) { + const i3 = this.getValueStr(e3); + if (i3) return { id: i3, displayString: i3 }; } - get modifiedBy() { + setAsManagedValue(e3, i3) { + this.getPropTitle(e3).setAsLiteral(i3), e3.setUiMetaData(t2.aH, i3); } - get priority() { + isManagedValue(e3) { + return !!e3.getUiMetaData(t2.aH); } - get queue() { + isValidNluValue(e3) { + var t3, i3; + if (!this.isManagedValue(e3)) return false; + const n3 = this._findChooserExprInParentChain(e3); + if (!n3) return false; + if (!n3.type.getIsSlotOrSlotTypeChooser(n3)) return false; + const o2 = n3.type.getSlotTypeName(n3); + if (!o2) return false; + const r2 = null === (i3 = null === (t3 = n3.parentFlow) || void 0 === t3 ? void 0 : t3.nluMetaData) || void 0 === i3 ? void 0 : i3.getEntityTypeAllowableValues(o2); + if (!r2) return false; + const a2 = this.getValueStr(e3); + return r2.includes(a2); } - get reporter() { + _findChooserExprInParentChain(e3) { + let t3 = null == e3 ? void 0 : e3.parent; + for (; t3; ) { + if (t3.chooser && (0, p.isChooserExpressionType)(t3.chooser.type)) return t3.chooser; + t3 = t3.parent; + } } - get scoredAgents() { + _getChooserExpr(e3) { + var t3, i3; + return (0, p.isChooserExpressionType)(null === (i3 = null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.chooser) || void 0 === i3 ? void 0 : i3.type) ? e3.parent.chooser : void 0; } - get skills() { + getListPickerItemTitle(e3) { + var t3, i3, n3, o2, a2, s2; + if (this.isManagedValue) { + const r2 = this._getChooserExpr(e3); + if (r2) { + const l3 = r2.type.getSlotTypeName(r2); + if (l3) { + let u2; + if ((null === (i3 = null === (t3 = r2.parentFlow) || void 0 === t3 ? void 0 : t3.flowViewFilterOptions) || void 0 === i3 ? void 0 : i3.enabled) && (u2 = null === (n3 = r2.parentFlow) || void 0 === n3 ? void 0 : n3.flowViewFilterOptions.language), u2 || (u2 = null === (a2 = null === (o2 = r2.parentFlow) || void 0 === o2 ? void 0 : o2.defaultLanguage) || void 0 === a2 ? void 0 : a2.toLowerCase()), u2) { + const t4 = this.getValueStr(e3), i4 = null === (s2 = r2.parentFlow) || void 0 === s2 ? void 0 : s2.nluMetaData.getEntityTypeValueLabelForLanguage(l3, t4, u2); + if (i4) return i4; + } + } + } + } + const l2 = this.getPropTitle(e3); + return (null == l2 ? void 0 : l2.text) && (0, r.getDisplayText)(l2) || _.collectionEditor.itemLabel; } - get status() { + copyExpressionValue(e3, i3) { + e3.setUiMetaData(t2.aH, i3.getUiMetaData(t2.aH)); } - get ttlDateTime() { + } + t2.ListPickerItemType = h, h.typeIdentifier = u.expressionTypeNames.listPickerItem; + }, 98598(e2, t2, i2) { + "use strict"; + t2.ListPickerSectionType = t2.xr = t2.ZS = t2.X$ = void 0; + const n2 = i2(31635), o = i2(53476), r = 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.X$ = "title", t2.ZS = "multiselectenabled", t2.xr = "items"; + class y extends l.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get typeId() { + get className() { + return "ListPickerSectionType"; } - get utilizationLabel() { + canConvertLitToExpression(e3) { + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPickerSection", e3, [_.globalTypes.string, _.globalTypes.boolean, _.globalTypes.listPickerItemCollection]); } - get version() { + convertLitToExpression(e3, t3, i3, n3) { + var o2, r2, s2; + return n3 && this.canConvertLitToExpression(e3) ? `MakeListPickerSection(${(null === (o2 = this.getPropTitle(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || a.default.notSet}, ${(null === (r2 = this.getPropMultiSelectEnabled(n3)) || void 0 === r2 ? void 0 : r2.getEmbeddableExpressionText()) || a.default.notSet}, ${(null === (s2 = this.getPropItems(n3)) || void 0 === s2 ? void 0 : s2.getEmbeddableExpressionText()) || a.default.notSet})` : ""; } - get workbin() { + _getLiteralValueOfExpression() { + return ""; } - get displayTypeName() { - return "ArchValueWorkitem"; + createExpressionOptionClass() { + return new u.ExpressionTypeListPickerSectionOptions(); } - get isArchValueWorkitem() { + get supportsLiteralEditor() { return true; } - } - t2.default = r2; - }, 39732: (e2, t2, i2) => { - "use strict"; - 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, 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 } }); + getPropTitle(e3) { + return e3.getProperty(t2.X$); } - get className() { - return l; + getPropMultiSelectEnabled(e3) { + return e3.getProperty(t2.ZS); } - get creationCriteria() { - return this._creationCriteria; + getPropItems(e3) { + return e3.getProperty(t2.xr); } - get isBaseBuilderPartContainerDef() { - return true; + configurePropertyCreationParams(e3, i3, n3) { + var s2; + switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`list-picker-section-${i3.name}`), null === (s2 = i3.name) || void 0 === s2 ? void 0 : s2.toLowerCase()) { + case t2.X$: + n3.options.setAllowedBuilderIds([r.builderIds.parts.genericString]); + break; + case t2.ZS: + n3.options.setAllowModeLiteralOnly(), n3.options.setUiDisableOnOutOfService(true), (0, o.areOptionsBooleanType)(n3.options) && (n3.options.setHideLabel(true), n3.options.setUseToggle(true), n3.options.setDefaultText(a.default.false), n3.options.setBoolText(T.generic.selectMulti, T.generic.selectMulti)); + case t2.xr: + } } - get isContainerPart() { + initializeDesignTime(e3) { + super.initializeDesignTime(e3), this.updatePropertiesOutOfServiceStatus(e3); + } + updatePropertiesOutOfServiceStatus(e3) { + const t3 = e3.parent; + if ((null == t3 ? void 0 : t3.initializeDesignTimeCalled) && e3.isLiteralMode) { + const i3 = this.getPropMultiSelectEnabled(e3); + t3.hasSingleSelectSlot && i3.setAsLiteral(a.default.false); + } + } + get hasRichLiteralEditor() { return true; } - createBuilderPartViewModel(e3, t3, i3) { - throw "You must override the createBuilderPartViewModel method in inheriting classes"; + useCustomExpressionEditor(e3) { + return !!(null == e3 ? void 0 : e3.parentList); } - reviveItem(e3, t3, i3, n3) { - throw "You must override the reviveItem method in inheriting classes"; + getUniqueTitleName(e3) { + let t3 = T.generic.section; + const i3 = e3.parentList; + if (null == i3 ? void 0 : i3.isLiteralMode) { + const e4 = i3.collectionItems.items.map((e5) => { + const t4 = e5.type.getPropTitle(e5); + if (null == t4 ? void 0 : t4.isLiteralMode) return t4.text; + }); + for (let n3 = 1; n3 < i3.collectionItems.items.length && (t3 = `${T.generic.section} ${n3}`, e4.includes(t3)); n3++) ; + } + return t3; } - get modelType() { - return a.default; + isUnknownAtDesignTime(e3) { + if (!e3.isLiteralMode) return true; + const t3 = this.getPropItems(e3); + return !(null == t3 ? void 0 : t3.isLiteralMode) || t3.collectionItems.items.some((e4) => e4.type.isValueUnknownAtDesignTime(e4)); } - get supportsLanguageTag() { - return false; + validateLiteralCollection(e3) { + if (e3.collectionItems.length > 1 && (0, h.isAskForSlotActionViewModel)(e3.parent) && e3.parent.hasSingleSelectSlot) { + let e4; + 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); } - get supportsOutputMode() { - return false; + static findOrCreateMissingValuesSection(e3) { + if (!(null == e3 ? void 0 : e3.isLiteralMode)) return; + let t3 = e3.collectionItems.items.find((e4) => { + if (e4.isLiteralMode) return e4.type.getPropTitle(e4).text === T.cardsAndCars.listPickerType.missingValuesSectionLabel; + }); + return t3 || (t3 = e3.collectionItems.add(), t3.type.getPropTitle(t3).text = T.cardsAndCars.listPickerType.missingValuesSectionLabel), t3; } } - t2.default = u; - }, 39776: (e2, t2, i2) => { + t2.ListPickerSectionType = y, y.typeIdentifier = c.expressionTypeNames.listPickerSection; + }, 92457(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(51695)); - class a extends o.default { + t2.ListPickerType = t2.CG = t2.pS = t2.P4 = t2.jA = t2.vs = t2.UR = t2.PROP_SECTIONS = void 0; + const n2 = i2(31635), o = i2(17785), r = 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.UR = "receivedmessageimage", t2.vs = "receivedmessagetitle", t2.jA = "receivedmessagesubtitle", t2.P4 = "receivedmessagebuttontext", t2.pS = "replymessageimage", t2.CG = "replymessagesubtitle"; + class f extends h.ExpressionType { constructor(e3, t3, i3) { - super(), this.model = e3, this.variable = t3, this.expression = i3; - } - get contents() { - return [this.variable, this.expression]; - } - get id() { - return "vvp-" + this.variable.id; + super(e3, t3, i3), this.invalidChoicesErrors = { chooserNoChoicesConfiguredForSlotTypeValues: g.cardsAndCars.expression.chooserNoListItemsConfiguredForSlotTypeValues, chooserInvalidChoiceValueForSlotTypeExpressionMode: g.cardsAndCars.expression.chooserInvalidListItemValueForSlotTypeExpressionMode, chooserInvalidChoiceValueForSlotType: g.cardsAndCars.expression.chooserInvalidListItemValueForSlotType, chooserInvalidChoiceCountForSlotType: g.cardsAndCars.expression.chooserInvalidListItemCountForSlotType }; } get className() { - return "VariableValuePairViewModel"; + return "ListPickerType"; } - get isVariableValuePairViewModel() { + get isListPickerType() { return true; } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const i3 = { variable: r2.default.getFirstPropertyValueInObj(this.variable.getConfiguration(e3, t3)) }; - return i3.value = this.expression.getConfiguration(e3, t3), this.expression.type.addYamlExportTypeInfo(i3), r2.default.tryWrapObject(i3, this.variable.type.yamlTypeName); + canConvertLitToExpression(e3) { + 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 o2, r2, a2, s2, u2, c2; + if (n3 && this.canConvertLitToExpression(e3)) { + const e4 = (null === (o2 = this.getPropSections(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || l.default.notSet, t4 = (null === (r2 = this.getPropReceivedMessageImage(n3)) || void 0 === r2 ? void 0 : r2.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 this.model; + return ""; } - } - 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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends s.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + _getLiteralValueOfExpression() { + return ""; } - isInStartupObject() { - const e3 = this.topParent; - return (e3.isMenuChoice ? e3.parent : e3).isStartUpObject; + getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { + return r.isFeatureAvailable(a.default.botFlowsAppleListPicker) ? super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3) : null; } - 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); + createExpressionOptionClass() { + return new o.ExpressionTypeListPickerOptions(); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get supportsLiteralEditor() { + return true; } - get _globalTypeName() { - return "externalTwitterInfoCollection"; + getChooser(e3) { + var t3; + if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(_.globalTypes.chooser, c.settings.exact)) return e3.propertyParent; } - get displayTypeName() { - return "ArchValueExternalTwitterInfoCollection"; + getPropSections(e3) { + return e3.getProperty(t2.PROP_SECTIONS); } - get isArchValueExternalTwitterInfoCollection() { - return true; + getPropReceivedMessageImage(e3) { + return e3.getProperty(t2.UR); } - } - t2.default = r2; - }, 39907: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(32392)); - class a extends o.default { - constructor(e3) { - super(e3), this._condition = this.coreFactory.createArchValueFromExpression(e3.expression); + getPropReceivedMessageTitle(e3) { + return e3.getProperty(t2.vs); } - get _actionTypeId() { - return r2.decisionActionType; + getPropReceivedMessageSubtitle(e3) { + return e3.getProperty(t2.jA); } - get displayTypeName() { - return this._scriptingName; + getPropReceivedMessageButtonText(e3) { + return e3.getProperty(t2.P4); } - get condition() { - return this._condition; + getPropReplyMessageImage(e3) { + return e3.getProperty(t2.pS); } - get isArchActionDecision() { - return true; + getPropReplyMessageSubtitle(e3) { + return e3.getProperty(t2.CG); } - } - t2.default = a; - }, 39938: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(19596), s = n2.__importDefault(i2(71538)); - class l extends a.DataContract { - constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_dataTypeDefinitions"); + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`list-picker-${i3.name}`), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.PROP_SECTIONS: + n3.options.setCreateMinItemsByDefault(true), n3.options.setItemAddedCallback((e4) => { + if (e4.isLiteralMode) { + const t3 = e4.type.getPropTitle(e4); + (null == t3 ? void 0 : t3.isLiteralMode) && !t3.text && (t3.text = e4.type.getUniqueTitleName(e4)); + } + }); + break; + case t2.UR: + n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setDefaultToNoValue(true); + break; + case t2.vs: + n3.options.setIsOptional(false), n3.options.setAllowedBuilderIds([s.builderIds.parts.genericString]); + break; + case t2.jA: + n3.options.setIsOptional(true), n3.options.setAllowedBuilderIds([s.builderIds.parts.genericString]); + break; + case t2.P4: + n3.options.setIsOptional(true), n3.options.setAllowNotSet(false), n3.options.facets.setAllowNull(false), n3.options.setAllowedBuilderIds([s.builderIds.parts.genericString]); + break; + case t2.pS: + n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setDefaultToNoValue(true); + break; + case t2.CG: + n3.options.setIsOptional(true); + } } - get dataTypeDefinitions() { - return this._dataTypeDefinitions; + get hasRichLiteralEditor() { + return true; } - set dataTypeDefinitions(e3) { - this._dataTypeDefinitions = this.reviveArray(e3, s.default); + useCustomExpressionEditor(e3) { + return !!(null == e3 ? void 0 : e3.parentList); } - } - t2.default = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "dataTypeDefinitions", null); - }, 39950: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(28403), o = i2(59957), a = i2(93805), s = i2(97329); - function l() { - Object.defineProperties(this, { _dependencies: { value: new a(), writable: true }, _manifest: { value: new s(), writable: true }, _originalObjectInfo: { value: new o(), writable: true } }), this.contentRawJSON = void 0, this.nodeInformationId = void 0, this.name = void 0, this.originalIdToNameMap = {}, l.baseConstructor.apply(this, arguments); - } - r2.extend(l, "BaseClipboardContentModel"), Object.defineProperties(l.prototype, { addOldIdToOldNameMapping: { value: function(e3, t3) { - return !(!n2.isString(e3) || !n2.isString(t3) || (this.originalIdToNameMap[e3] = t3, 0)); - } }, configure: { value: function(e3, t3, i3, n3) { - this.contentRawJSON = this.cloneToRawJsonObject(i3), this.name = n3, this.nodeInformationId = t3.info.typeId, this.originalObjectInfo.configure(e3, t3); - } }, dependencies: { enumerable: true, get: function() { - return this._dependencies; - }, set: function(e3) { - this._dependencies = this.reviveItem(e3, a); - } }, manifest: { enumerable: true, get: function() { - return this._manifest; - }, set: function(e3) { - this._manifest = this.reviveItem(e3, s); - } }, originalObjectInfo: { enumerable: true, get: function() { - return this._originalObjectInfo; - }, set: function(e3) { - this._originalObjectInfo = this.reviveItem(e3, o); - } }, resolveOldIdToOldName: { value: function(e3) { - if (n2.isString(e3)) return this.originalIdToNameMap[e3]; - } } }), e2.exports = l; - }, 39958: (e2) => { - e2.exports = { builders: { partsBooleanEmail: { name: "Email Builder", description: "Use to build a boolean expression based on Email properties." }, partsGenericBoolean: { name: "Boolean Builder", description: "Use to build a boolean expression using data type helpers." }, genericAgentScorePair: { name: "AgentScorePair Builder", description: "Use to build an AgentScorePair value." }, partsGenericCommunication: { name: "Communication Sequence Builder", description: "Use to build a Communication value." }, genericDateTime: { name: "DateTime Builder", description: "Use to build a DateTime value." }, genericDuration: { name: "Duration Builder", description: "Use to build a Duration value." }, genericImage: { name: "Image Builder", description: "Use to build an Image value." }, genericInteger: { name: "Integer Builder", description: "Use to build an Integer value." }, genericVideo: { name: "Video Builder", description: "Use to build a Video value." }, partsGenericAudio: { name: "Audio Builder", description: "Use to build an audio expression using audio and prompt related helpers." }, partsLabelString: { name: "Label Builder", description: "Use to build a string expression using the label builder with string-related helpers." }, partsGenericPrompt: { name: "Prompt Builder", description: "Use to build a prompt expression using prompt related helpers." }, partsGenericString: { name: "String Builder", description: "Use to build a string expression using string-related helpers." }, partMarkdownCommunication: { name: "Rich Text Builder", description: "Build a Communication value using a rich text editor." }, partMarkdownString: { name: "Rich Text Builder", description: "Build a String value using a rich text editor." }, shared: { details: { builderPartsNone: "There are no items configured.", builderPartsOne: "There is one item configured.", builderPartsMoreThanOne: "There are %1$s items configured." } } }, builderParts: { agentScorePair: { makeAgentScorePair: { description: "Creates an AgentScorePair for given user and score.", name: "Make AgentScorePair", expressions: { user: "User", userDescription: "If a literal user is selected, the FindUserById function is used at runtime with that user's id. If that user is not found, a NOT_SET AgentScorePair value is returned.", score: "Score" } } }, audio: { text: { description: "Specifies an Audio value using a String literal.", name: "Text" } }, boolean: { checkDialingCode: { description: "Checks a phone number to see if it has a specified dialing code.", expressions: { phoneNumber: { label: "Phone number" }, dialingCode: { label: "Dialing code" } }, name: "Check phone number dialing code" }, expression: { description: "Specifies a Boolean value using a Boolean expression.", name: "Expression" }, literal: { description: "Specifies a Boolean value using a Boolean literal.", name: "Boolean" } }, communication: { data: { description: "Gets a Communication value for a variable. For a variable whose type is not directly convertible to a Communication value via. the ToCommunication function call, the variable will be converted to a string using ToDisplayString if the flow type supports it (otherwise ToString if ToDisplayString is not supported).", name: "Data" }, digitalAudioUrlText: { description: "Supply a String value to use as the URL for a Digital Audio.", name: "Digital Audio URL" }, expression: { description: "Specifies a Communication value from a Communication expression.", name: "Expression" }, fileUrlText: { description: "Supply a String value to use as the URL for a File.", name: "File URL" }, markdown: { description: "Use an editor to create a Communication value.", name: "Rich Text" }, prompt: { description: "Specifies a Communication value from a Prompt expression.", name: "Prompt" }, text: { description: "Specifies a Communication value from a Text expression.", name: "Text" }, imageUrlText: { description: "Supply a String value to use as the URL for an Image.", name: "Image URL" }, videoUrlText: { description: "Supply a String value to use as the URL for a Video.", name: "Video URL" }, blank: { blankCommunicationDescription: "Specifies a Communication value that supplies blank audio for a specified duration when the output mode is voice. For other output modes, this value is ignored at runtime.", blankCommunicationName: "Blank" } }, container: { language: { name: "Flow Language", description: "A container for flow supported language handling." }, languageAndOutputMode: { name: "Flow Language and Output Mode", description: "A container for flow supported language and output mode handling." }, outputMode: { name: "Output Mode", description: "A container for flow supported output mode handling." } }, dateTime: { firstDayOfNextMonth: { description: "For the given DateTime, calculates the first day of the next month at 12:00:00AM.", name: "First day of next month" }, isInDateTimeRange: { dateTimeEnd: "Ending DateTime", dateTimeStart: "Starting DateTime", description: "Checks a DateTime to see if it is greater than or equal to a starting DateTime and less than an ending DateTime.", name: "Is in DateTime Range" }, isInTimeRange: { dateTimeEnd: { description: "A DateTime value that will supply the ending time for the calculation.", label: "Ending Time", name: "End DateTime" }, dateTimeStart: { description: "A DateTime value that will supply the starting time for the calculation.", label: "Starting Time", name: "Start DateTime" }, description: "Checks the time portion of a DateTime to see if it is greater than or equal to the time portion of a starting DateTime and less than the time portion of an ending DateTime.", name: "Is in Time Range" }, isWeekday: { description: "Checks a DateTime to see if its day of week is Monday, Tuesday, Wednesday, Thursday or Friday.", name: "Is Weekday" }, isWeekend: { description: "Checks a DateTime to see if its day of week is Saturday or Sunday.", name: "Is Weekend" }, lastDayOfMonth: { description: "For the given DateTime, this calculates the last day of the month at 12:00:00AM.", name: "Last day of month" }, nextDayOfWeek: { description: "For the given DateTime and day of week, this calculates the next occurrence of a specified day of week at 12:00:00AM.", expressions: { dayOfWeek: { description: "The desired next day of week where Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6 and Saturday=7.", label: "Day of week", name: "Day of Week" }, dayOfWeekMatch: { description: "If False and the specified DateTime value matches the specified day of week, uses the specified DateTime plus 1 week.", label: "Use specified DateTime date if day of week matches", name: "Matching day of week handling" } }, name: "Next day of week" } }, duration: { literal: { description: "Specifies a Duration value using a Duration literal.", name: "Duration" } }, email: { subjectContains: { description: "Checks the Email subject to see if it contains specified String value.", expressions: { stringToCheck: { label: "Email subject contains:" } }, name: "Email subject contains" }, bodyContains: { description: "Checks to see if the body of the Email contains specified String value.", expressions: { stringToCheck: { label: "Email body contains:" } }, name: "Check email body" }, subjectOrBodyContains: { description: "Checks to see if the subject or body of the Email contains specified String value.", expressions: { stringToCheck: { label: "Email subject or body contains:" } }, name: "Check email subject or body" }, fromDomainPartContains: { description: `Checks to see if the domain part of the sender's email address contains a specified String value such as "example.com" from "john.doe@example.com".`, expressions: { stringToCheck: { label: "Email sender's email address domain contains:" } }, name: "Check email sender domain" }, fromLocalPartContains: { description: `Checks to see if the local part of the sender's email address contains a specified String value such as "john.doe" from "john.doe@example.com".`, expressions: { stringToCheck: { label: "Email sender's email address name contains:" } }, name: "Check email sender name" } }, image: { imageUrlText: { description: "Supply a String value to use as the URL for an Image.", name: "Image URL" }, expression: { description: "Specifies an Image value from an Image expression.", name: "Expression" }, literal: { description: "Specifies an Image value using an Image literal.", name: "Image" } }, integer: { literal: { description: "Specifies a Integer value using a Integer literal.", name: "Integer" } }, shared: { expressions: { calculationDateTime: { label: "DateTime for calculation" }, dateTimeBoolCheck: { label: "DateTime" } } }, string: { contains: { description: "Checks a String to see if is exists in another String.", testString: "Contains:", name: "Contains" }, data: { description: "Gets a String value for a variable. For non-String type variables, if used in call flows, the variable value will be converted to a String using a ToString function call. For non-call flow types, the variable value will be converted to a String using a ToDisplayString function call.", name: "Data" }, deflectionURL: { description: "Gets a String value for a Deflection URL. This includes the Service and the Account ID.", name: "Deflection URL", serviceLabel: "Service", accountLabel: "Account" }, endsWith: { description: "Checks a String value to see it ends with another String value.", testString: "Ends with:", name: "Ends with" }, expression: { description: "Specifies a String value using a String expression. For expression text that does not evaluate to a String, if used in call flows, the value will be converted to a String using a ToString function call. For non-call flow types, the value will be converted to a String using a ToDisplayString function call.", name: "Expression" }, followingString: "The Following String:", ignoreCase: { label: "Ignore Case" }, lastFour: { description: "Retrieves the last four characters from specified String value such as a credit card number.", sourceString: "Last four characters of:", name: "Last four characters" }, markdown: { description: "Use an editor to create a String value.", name: "Rich Text" }, prompt: { description: "Gets the text to speech or text String value from a prompt for the language the flow is currently running in.", name: "Prompt" }, startsWith: { description: "Checks a String value to see if it starts with another String value.", testString: "Starts with:", name: "Starts with" }, text: { description: "Specifies a String value using a String literal.", name: "Text" } }, video: { videoUrlText: { description: "Supply a String value to use as the URL for a Video.", name: "Video URL" } }, findPrompt: { fallbackLabel: "Fallback Prompt", system: { name: "Find system prompt with fallback", description: "Finds a system prompt by name at runtime with a fallback if not found.", findLabel: "System Prompt Name" }, user: { name: "Find user prompt with fallback", description: "Finds a user prompt by name at runtime with a fallback if not found.", findLabel: "User Prompt Name" } } }, categories: { agentScorePair: "AgentScorePair", agentScorePairDesc: "AgentScorePair functionality", communicationName: "Communication", communicationDesc: "Communication functionality", container: "Container", containerDesc: "Functionality to customize generated expression text based on a container filter such as a flow supported language", emailName: "Email", emailDesc: "Email functionality", labelStringName: "Label", labelStringDesc: "Functionality to create localized display label strings.", markdownName: "Rich Text", markdownDesc: "Functionality to build a rich text string", stringParsingName: "String Parsing", stringParsingDesc: "String parsing and checks", stringSequenceName: "String Sequence", stringSequenceDesc: "String Sequence building", phoneNumber: "Phone Number", phoneNumberDesc: "Phone Number value functionality", dateTime: "DateTime", dateTimeDesc: "DateTime functionality", prompt: "Prompt", promptDesc: "Prompt and Audio functionality" }, generators: { common: { emptyCollectionTypeGenerationDescription: "an empty %1$s collection", notSetSingletonTypeGenerationDescription: "a NOT_SET %1$s" }, emptyStringLiteral: { generationDescription: "an empty String" } } }; - }, 39964: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeChooserOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + _getLiteralChoicesMap(e3, t3, i3) { + if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return {}; + const n3 = {}, o2 = null != i3 ? i3 : this.getPropSections(e3); + return (null == o2 ? void 0 : o2.isLiteralMode) ? (null == o2 || o2.collectionItems.items.forEach((e4) => { + var i4; + const o3 = e4.type.getPropItems(e4); + !t3 && o3.outOfService || o3.isLiteralMode && (null === (i4 = o3.collectionItems.items) || void 0 === i4 || i4.forEach((e5) => { + e5.isLiteralMode && (n3[e5.type.getPropTitle(e5).text] = e5); + })); + }), n3) : {}; } - constructor(e3) { - super(e3); + getPossibleChoices(e3, t3, i3) { + const n3 = this._getLiteralChoicesMap(e3, t3, i3); + return Object.values(n3); } - get className() { - return "ExpressionTypeChooserOptions"; + applyNluDiffs(e3, t3, i3, n3) { + var o2; + if (n3) { + if (n3.invalidPostbackValueChoices) { + e3.invalidSlotTypeValuesRemoved = []; + const i4 = this._getLiteralChoicesMap(t3); + Object.keys(n3.invalidPostbackValueChoices).forEach((t4) => { + const n4 = i4[t4]; + n4 && (n4.parentList.removeChild(n4), e3.invalidSlotTypeValuesRemoved.push(t4)); + }); + } + (null === (o2 = n3.missingSlotTypeValues) || void 0 === o2 ? void 0 : o2.length) && (e3.missingSlotTypeValuesAdded = this.configureFromChoices(t3, n3.missingSlotTypeValues, true)); + } } - get isExpressionTypeChooserOptions() { - return true; + reset(e3) { + const t3 = this.getPropSections(e3); + t3 && (t3.mode = d.literal, t3.removeAll()); } - } - t2.ExpressionTypeChooserOptions = r2; - }, 39983: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(81901)), o = n2.__importDefault(i2(67222)), a = n2.__importDefault(i2(93229)), s = n2.__importDefault(i2(46422)), l = n2.__importDefault(i2(97354)), u = { ArchFilterClauseContainer: r2.default, ArchFilterClausePropertyCallback: o.default, ArchFilterClausePropertyValueEquals: a.default, ArchFilterClausePropertyValueNotEquals: s.default, ArchFilterObject: l.default }; - t2.default = u; - }, 40057: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + initializeDesignTime(e3) { + super.initializeDesignTime(e3), this.updatePropertiesOutOfServiceStatus(e3); } - get _globalTypeName() { - return "customerIntent"; + updatePropertiesOutOfServiceStatus(e3) { + const t3 = this.getPropSections(e3); + (null == t3 ? void 0 : t3.isLiteralMode) && t3.collectionItems.items.forEach((e4) => e4.type.updatePropertiesOutOfServiceStatus(e4)); } - get displayTypeName() { - return "ArchValueCustomerIntent"; + configureFromChoices(e3, t3, i3) { + if (i3 || this.reset(e3), !(null == e3 ? void 0 : e3.isLiteralMode) || !t3) return; + const n3 = this.getPropSections(e3); + if (!(null == n3 ? void 0 : n3.isLiteralMode)) return; + let o2; + if (0 === n3.collectionItems.items.length) o2 = n3.collectionItems.add(), o2.type.getPropTitle(o2).text = o2.type.getUniqueTitleName(o2); + else if (1 === n3.collectionItems.items.length) { + const e4 = n3.collectionItems.items[0], t4 = e4.type.getPropTitle(e4), i4 = e4.type.getPropItems(e4); + i4.isLiteralMode && 0 === i4.collectionItems.length && t4.text === g.generic.section && (o2 = e4); + } + return o2 || (o2 = m.ListPickerSectionType.findOrCreateMissingValuesSection(n3)), o2 ? (t3.forEach((e4) => { + const t4 = o2.type.getPropItems(o2).collectionItems.add(); + t4.type.setAsManagedValue(t4, e4); + }), t3) : void 0; } - get name() { - return this._getAssignableProperty("name"); + isUnknownAtDesignTime(e3) { + if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; + const t3 = this.getPropSections(e3); + return !t3.isLiteralMode || t3.collectionItems.items.some((e4) => e4.type.isUnknownAtDesignTime(e4)); } - get isArchValueCustomerIntent() { - return true; + getHasAtLeastOnePostbackChoice(e3) { + if (!this.isUnknownAtDesignTime(e3)) return this.getPossibleChoices(e3).length > 0; } } - t2.default = r2; - }, 40091: (e2, t2, i2) => { + t2.ListPickerType = f, f.typeIdentifier = p.expressionTypeNames.listPicker; + }, 17314(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + t2.PhoneNumberType = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(55656)), r = i2(48112), a = i2(27844), s = i2(80428), l = i2(94765), u = n2.__importDefault(i2(22226)); + class c extends l.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get _actionTypeId() { - return r2.exitLoopActionType; + get className() { + return "PhoneNumberType"; } - get displayTypeName() { - return this._scriptingName; + createExpressionOptionClass() { + return new r.ExpressionTypePhoneNumberOptions(); } - get isArchActionLoopExit() { - return true; + _getLiteralValueOfExpression() { + return ""; + } + convertLitToExpression(e3, t3) { + return "ToPhoneNumber(" + (u.default.getQuotedExpressionStringLiteral(t3) || "") + ")"; + } + validateLiteral(e3, t3) { + super.validateLiteral(e3, t3); + const i3 = o.validateLiteralString(t3.text, t3.label); + return !i3 || (t3.setParseError(i3), e3.addError(t3, i3, void 0, true), false); + } + getListManagerForExpression(e3) { + var t3; + return (null === (t3 = e3.options) || void 0 === t3 ? void 0 : t3.literalUsesSmsPhoneNumberDropdown) ? a.smsPhoneNumberManager : super.getListManagerForExpression(e3); } } - t2.default = o; - }, 40122: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(94886); - function o() { - o.baseConstructor.apply(this, arguments); + t2.PhoneNumberType = c, c.typeIdentifier = s.expressionTypeNames.phoneNumber; + }, 53397(e2, t2, i2) { + "use strict"; + t2.PromptType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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); } - n2.extend(o, "ScheduleList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 40174: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(90729); - function o() { + 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 && (h(e3, t3, (0, o.sprintf)(_.audio.errorPromptCouldNotBeFound, t3.text)), 1)) : (h(e3, t3, _.audio.errorNoPrompt), 1))); } - o.prototype.getCategories = function(e3) { - return n2.build(r2.getCategoryList).queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getActions = function(e3) { - return n2.build(r2.getActionList).queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getAction = function(e3) { - return n2.build(r2.getAction).queryParams({ expand: "contract", flatten: true }).templateParams({ id: e3 }).call(); - }, o.prototype.getAction.api = r2.getAction, o.prototype.getSchema = function(e3) { - return n2.build(r2.getSchema).queryParams({ flatten: true }).templateParams({ schema_uri: e3 }).call(); - }, e2.exports = new o(); - }, 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), 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)); - } - get isOutboundCallFlow() { - return true; - } - buildConfiguration(e3, t3, i3) { - return super.buildConfiguration(e3, t3, i3), (null == i3 ? void 0 : i3.isForFlowYaml) || this.outboundSettings || e3.uiMetaData.outboundCallSettings || (e3.uiMetaData.contactList = []), e3; + class g extends p.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } get className() { - return "OutboundCallViewModel"; + return "PromptType"; } - createFlowConfiguration(e3, t3) { - const i3 = super.createFlowConfiguration(e3, t3); - return e3 || (null == t3 ? void 0 : t3.isForFlowYaml) || (i3.uiMetaData.contactList = []), i3; + createExpressionOptionClass() { + return new a.ExpressionTypePromptOptions(); } - setNewInstanceDefaults(e3) { - const t3 = e3 && e3.flowContactList ? e3.flowContactList : null, i3 = e3 && e3.wrapupCode ? e3.wrapupCode : null; - return t3 && i3 && this.outboundSettings.loadSettings(t3, i3), super.setNewInstanceDefaults(e3); + get supportsLiteralEditor() { + return true; } - onTypeMapCreated() { - super.onTypeMapCreated(), c.default.createType(r2.ContactType, this); + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + const o2 = g._resolvePromptEntityType(t3); + (0, c.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, o2) || super.applyLiteralFromModel(e3, t3, i3, n3); } - validate(e3) { - c.default.getType(this, u.expressionTypeNames.contact).changeProperties(this.outboundSettings ? this.outboundSettings.contactList : void 0), super.validate(e3); + 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"; } - get type() { - return o.flowTypes.flowTypeOutboundCall; + canConvertLitToExpression(e3) { + return true; } - get wrappedYamlName() { - return "outboundCall"; + convertLitToExpression(e3, t3, i3) { + return t3 ? l.addPrefix(t3, i3) : void 0; } - } - t2.default = d; - }, 40209: (e2, t2, i2) => { - const n2 = i2(66445); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "KnowledgeSettingList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 40311: (e2, t2, i2) => { - const n2 = i2(2210), r2 = i2(13240), { setWhisperAudioActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _whisperAudio: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.whisperAudio.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.whisperAudio.pasteResolveOldToNewValues(e3); - } }, whisperAudio: { enumerable: true, get: function() { - return this._whisperAudio; - }, set: function(e3) { - this._whisperAudio = this.reviveItem(e3, n2); - } } }), e2.exports = a; - }, 40370: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(87921)), o = i2(80428), a = n2.__importDefault(i2(65302)); - class s extends r2.default { - get className() { - return "UtilizationLabelFacets"; + getYamlObjectForLiteralSingleton(e3) { + super.getYamlObjectForLiteralSingleton(e3); + const t3 = l.addPrefix(e3.text, e3.val); + return r.default.tryWrapObject(t3, this.yamlLiteralWrapperString); } - get isUtilizationLabelFacets() { - return true; + validateLiteral(e3, t3) { + return m(e3, t3); } - _facetGetExpressionItemLitValue(e3) { - return e3.getLitAsString(); + validateVariable(e3, t3) { + return m(e3, t3); } - _facetGetExpressionType() { - return a.default.getGlobalTypeGroup().getType(o.expressionTypeNames.utilizationLabel, this.isCollection); + isAvailableForFlow(e3) { + return e3.isCommonModuleFlow && !e3.isEmbeddedFlow ? !!e3.destinationFlowTypes.find((e4) => this.isAvailableForFlowType(e4, true)) : super.isAvailableForFlow(e3); } - _facetValidateValue(e3, t3) { + isUserCreatableForFlow(e3) { + return e3.definition.hasDestinationFlowTypes && !e3.isEmbeddedFlow ? this.model.support.userCanCreate && e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)) : super.isUserCreatableForFlow(e3); } } - 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) => { + t2.PromptType = g, g.typeIdentifier = d.expressionTypeNames.prompt; + }, 28080(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ImageType = void 0; - 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 { + t2.QueueType = void 0; + const n2 = i2(31635).__importDefault(i2(22226)), o = i2(71056), r = 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); } get className() { - return "ImageType"; + return "QueueType"; } - getPlutusMaxUploadSizeMegabytes() { - return u.imageLimits.size.maxSizeMegabytes; + createExpressionOptionClass() { + return new o.ExpressionTypeNetworkObjectOptions(this.isCollection); } - getPlutusMimeTypes() { - return c.IMAGE_MIME_TYPES_SET; + get listManager() { + return r.queueManager.getBriefManagerWithFallback(); } - getPlutusSupportedFileExtensions() { - return d.IMAGE_SUPPORTED_EXTENSIONS; + canConvertLitToExpression(e3) { + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindQueue", e3, [u.globalTypes.string]); } - getPlutusMediaPlaceholderText() { - return f.image.imagePlaceholder; + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindQueue(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - getPlutusSupportedFileTypesText() { - return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsFeature) ? (0, r2.sprintf)(f.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()) : f.image.supportedFileTypes; + applyLiteralFromModel(e3, t3, i3, n3) { + (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); } - canConvertLitToExpression(e3) { - return p.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindImage", e3, [m.globalTypes.string]); + } + t2.QueueType = d, d.typeIdentifier = l.expressionTypeNames.queue, d.entityResolverEntityType = "queue"; + }, 95682(e2, t2, i2) { + "use strict"; + t2.QuickRepliesType = t2.uq = t2.o_ = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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.o_ = "buttons", t2.uq = "quickreplysummary"; + const y = u.dataTypeLimits.quickRepliesDataType.properties.buttons.maxItems.count; + class S extends _.BasedOnChoicesType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindImage(${_.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get className() { + return "QuickRepliesType"; } - _getLiteralValueOfExpression() { + canConvertLitToExpression(e3) { + return false; + } + convertLitToExpression(e3, t3, i3) { return ""; } createExpressionOptionClass() { - return new o.ExpressionTypeImageOptions(); - } - get listManager() { - return a.imageManager; + return new r.ExpressionTypeQuickRepliesOptions(); } get supportsLiteralEditor() { return true; } - } - t2.ImageType = T, T.typeIdentifier = h.expressionTypeNames.image; - }, 40549: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getChooser(e3) { + var t3; + if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(p.globalTypes.chooser, c.settings.exact)) return e3.propertyParent; } - get _globalTypeName() { - return "carousel"; + getPropButtons(e3) { + return null == e3 ? void 0 : e3.getProperty(t2.o_); } - get cards() { - return this._getAssignableProperty("cards"); + getQuickReplySummary(e3) { + return null == e3 ? void 0 : e3.getProperty(t2.uq); } - get displayTypeName() { - return "ArchValueCarousel"; + validateLiteral(e3, t3) { + return this.validateDuplicates(e3, t3) && super.validateLiteral(e3, t3); } - get isArchValueCarousel() { - return true; + _processButtonChoices(e3, i3, n3) { + var r2; + if (!e3) return; + const a2 = e3.getProperty(t2.o_, true); + !a2 || !i3 && a2.outOfService || o.default.each(null === (r2 = a2.collectionItems) || void 0 === r2 ? void 0 : r2.items, (e4) => { + try { + n3(e4); + } catch (e5) { + } + }); } - } - t2.default = r2; - }, 40551: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Isso n\xE3o \xE9 v\xE1lido.", noInputReceived: "N\xE3o recebi qualquer entrada." }, askForBoolean: { noInput: 'Diga "sim" se desejar continuar, caso contr\xE1rio, diga "n\xE3o".', noMatch: 'Diga "Sim" ou "N\xE3o". Deseja continuar?', question: "Deseja continuar?", noInputDigitalBot: 'Digite "Sim" se desejar continuar; caso contr\xE1rio, digite "N\xE3o".', noMatchDigitalBot: 'Digite "Sim" ou "N\xE3o". Deseja continuar?' }, askForIntent: { noInput: 'Diga uma frase curta que descreva sua consulta; por exemplo: "Verificar o saldo da minha conta"', noMatch: "Diga-me novamente o que gostaria de fazer.", question: "O que gostaria de fazer?", noInputDigitalBot: 'Digite uma breve frase que descreva sua consulta. Por exemplo, "Verificar o saldo da minha conta"' }, askForSlot: { askFor: "Solicite o %1$s", noInput: "Diga ou insira o (coloque o seu nome de slot aqui).", noInputWithSlot: "Diga ou insira o %1$s.", noMatch: "Repita o (coloque o seu nome de slot aqui).", noMatchWithSlot: "Repita o %1$s.", question: "Qual \xE9 o (coloque o seu nome de slot aqui)?", questionWithSlot: "Qual \xE9 o %1$s?", pleaseEnterSlotNameHere: "(coloque o seu nome de slot aqui)", noInputDigitalBot: "Digite o (insira o nome do slot aqui).", noInputWithSlotDigitalBot: "Digite o %1$s.", continuationPromptWithSlot: "Tenho {{Slot.%1$s}} at\xE9 o momento. Continue." }, askForNextSlot: { noInput: 'Diga "sim" se tiver outra consulta ou "n\xE3o" para encerrar a chamada.', noMatch: 'Diga "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', question: "Voc\xEA tem alguma outra d\xFAvida?", noInputDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', noMatchDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.' }, askForPayment: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de pagamento para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askForAuthentication: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de autentica\xE7\xE3o para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askSurveyQuestion: { notApplicable: "N\xE3o aplic\xE1vel", surveyAnswerOptionSequence: "Pressione %1$s para '%2$s'.", surveyAnswerNotApplicableSequence: "Pressione asterisco para N\xE3o aplic\xE1vel.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Pressione asterisco para N\xE3o aplic\xE1vel.", voiceSurveyNoInputText: "Por favor, responda \xE0 pergunta.", voiceSurveyNoMatchText: "N\xE3o entendi." }, commonModule: { exitCommonModule: "Sair do m\xF3dulo comum" }, form: { noInputDigitalBot: "Complete o formul\xE1rio para continuar.", noMatchDigitalBot: "Complete o formul\xE1rio para continuar." }, messagingTemplate: { noInputDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis.", noMatchDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continuar", knowledgeAnswerHighlightFullArticleDefault: "Ver artigo completo", knowledgeInitialResponseMulti: "Para me ajudar a esclarecer seu objetivo, escolha um n\xFAmero na lista a seguir:", knowledgeInitialResponseMultiRetry: "Escolha um n\xFAmero; por exemplo, '1'.\nAqui est\xE1 a lista de op\xE7\xF5es novamente:", knowledgeNoMatch: "Nenhuma delas", knowledgeConfirmation: "Esta resposta resolveu sua d\xFAvida?", knowledgeFollowup: "Espero ter respondido \xE0 sua pergunta. Voc\xEA pode fazer outras perguntas, se desejar." }, noOverlay: { intent: { intentConfirmationStr1: "Acho que voc\xEA quer", intentConfirmationStr2: "\xC9 isso?" }, youSaid: { youSaidConfirmationStr1: "Voc\xEA disse", youSaidConfirmationStr2: "\xC9 isso?", youSaidConfirmationStr1DigitalBot: "Voc\xEA digitou" }, noInput: { noInputStr1: "Diga ou insira", noInputStr1DigitalBot: "Digite o" }, noMatch: { noMatchStr1: "Forne\xE7a" }, whatIs: { whatIsQuestionStr1: "O que \xE9", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Tenho", iGotContinuationStr2: "at\xE9 o momento. Continue." } }, defaultCallFlowOne: "Fluxo de chamadas padr\xE3o", errorHandlingAgentEscalationConfirmation: "Voc\xEA deseja falar com um assistente. \xC9 isso?", errorHandlingAgentEscalationHandover: "Aguarde um momento, vou transferi-lo para algu\xE9m.", errorHandlingErrorEventHandover: "Desculpe, ocorreu um erro. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingErrorEventHandoverVoiceSurvey: "Desculpe, ocorreu um erro. Adeus.", errorHandlingRecognitionEventHandover: "Desculpe, n\xE3o estou entendendo. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Desculpe, n\xE3o consigo entender. Adeus.", errorHandlingTTS: "Ocorreu um erro. Tente sua chamada novamente.", initialGreetingTTS: "Ol\xE1, esta \xE9 a sauda\xE7\xE3o inicial.", initialState: "Estado inicial", initialBotState: "Bot padr\xE3o", initialDigitalBotState: "Sauda\xE7\xE3o inicial", initialSurveyBotState: "Bot de pesquisa", intentConfirmation: "Acho que voc\xEA deseja %1$s, correto?", mainMenu: "Menu principal", mainMenuTTS: "Voc\xEA est\xE1 no menu principal, pressione 9 para desconectar", mainTask: "Tarefa", settingsConfirmationNoInputApology: "Desculpe, n\xE3o escutei. Por favor, diga sim ou n\xE3o.", settingsConfirmationNoInputApologyDigitalBot: 'N\xE3o recebi nenhuma resposta. Por favor, digite "Sim" ou "N\xE3o".', settingsConfirmationNoMatchApology: "Desculpe, diga sim ou n\xE3o.", settingsConfirmationNoMatchApologyDigitalBot: 'Por favor, digite "Sim" ou "N\xE3o".', settingsNoInputApology: "Desculpe, n\xE3o consegui escutar.", settingsNoInputApologyDigitalBot: "Desculpe, n\xE3o recebi nenhuma resposta.", settingsEndOfSessionMessageDigitalBot: "Voc\xEA n\xE3o respondeu, e por isso estou encerrando este chat. Por favor, volte se precisar de minha ajuda. Obrigado.", settingsNoMatchApology: "Desculpe.", settingsNoToConfirmationApology: "Enganei-me.", periodicStateName: "Estado recorrente" }; - }, 40559: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(63352), o = n2.__importDefault(i2(85383)), a = n2.__importStar(i2(72155)); - class s extends o.default { - constructor(e3, t3) { - super(e3, t3); + getPossibleChoices(e3, t3, i3) { + const n3 = []; + return e3 ? (this._processButtonChoices(e3, i3, (e4) => { + t3 && !e4.type.isPostbackChoice(e4) || n3.push(e4); + }), n3) : n3; } - get displayTypeName() { - return "ArchBaseNetworkValueCollection"; + isUnknownAtDesignTime(e3) { + if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; + const i3 = e3.getProperty(t2.o_, true); + return !i3 || i3.outOfService; } - get isArchBaseNetworkValueCollection() { - return true; + getHasAtLeastOnePostbackChoice(e3) { + var i3; + if (this.isUnknownAtDesignTime(e3)) return; + const n3 = e3.getProperty(t2.o_, true); + if (!n3 || n3.outOfService) return; + let r2, a2; + return o.default.find(null === (i3 = n3.collectionItems) || void 0 === i3 ? void 0 : i3.items, (e4) => { + if (e4.type.getHasPostbackValue(e4)) return a2 = true, e4; + e4.type.isUnknownAtDesignTime(e4) && (r2 = true); + }), !!a2 || !!r2 && void 0; } - get isCollection() { - return true; + deleteChoiceAtIndex(e3, t3) { + return this.deleteButtonsChoiceAtIndex(e3, t3); } - getItemByIndex(e3) { - const t3 = this._infoParm("index", "getItemByIndex"); - return this._checkItemIsValidLiteralIntInRange(t3, e3, 0, this.length), this.isLiteral ? this.coreFactory.createArchWrapper(this._getCoreViewModel().collectionItems.items[e3]) : void 0; + applyNluDiffs(e3, i3, n3) { + var r2, a2; + if (!n3) return; + const s2 = i3.getProperty(t2.o_, true); + if ((null === (r2 = null == s2 ? void 0 : s2.collectionItems) || void 0 === r2 ? void 0 : r2.items) && !s2.outOfService) { + if (n3.invalidPostbackValueChoices) for (let t3 = s2.collectionItems.items.length - 1; t3 >= 0; t3--) { + const i4 = null === (a2 = s2.collectionItems) || void 0 === a2 ? void 0 : a2.items[t3]; + i4.type.isInvalidNluChoice(i4, n3) && (e3.invalidSlotTypeValuesRemoved || (e3.invalidSlotTypeValuesRemoved = []), e3.invalidSlotTypeValuesRemoved.push(i4.type.getManagedSlotTypeValue(i4)), s2.collectionItems.removeChild(i4)); + } + o.default.each(n3.missingSlotTypeValues, (t3) => { + const n4 = g.isFeatureAvailable(f.default.botFlowsSupportDontKnowAnswers) ? s2.collectionItems.items.find((e4) => { + var t4; + return null === (t4 = e4.type) || void 0 === t4 ? void 0 : t4.isSkipChoice(e4); + }) : null; + if (s2.collectionItems.items.length < y || n4) { + const n5 = h.ChoiceType.createPostbackChoice(t3, true, i3.parentFlow, i3.parent); + s2.collectionItems.addItem(n5), e3.missingSlotTypeValuesAdded || (e3.missingSlotTypeValuesAdded = []), e3.missingSlotTypeValuesAdded.push(t3); + } + }); + } } - addItemToCollection() { - return a.addItemToCollection(this); + reorderItemsByAllowableValues(e3, i3) { + var n3; + if (!(null == i3 ? void 0 : i3.length)) return; + const o2 = e3.getProperty(t2.o_, true); + if (!(null === (n3 = null == o2 ? void 0 : o2.collectionItems) || void 0 === n3 ? void 0 : n3.items) || o2.outOfService) return; + const r2 = [], a2 = []; + let s2 = false; + if (o2.collectionItems.items.forEach((e4) => { + e4.type.isSkipChoice(e4) ? r2.push(e4) : e4.type.getIsManagedSlotTypeValueChoice(e4) ? a2.push(e4) : s2 = true; + }), s2) return; + const l2 = {}; + a2.forEach((e4) => { + const t3 = e4.type.getManagedSlotTypeValue(e4) || e4.type.getPostbackValue(e4); + t3 && i3.includes(t3) && (l2[t3] = e4); + }); + const u2 = []; + i3.forEach((e4) => { + const t3 = l2[e4]; + t3 && u2.push(t3); + }), u2.push(...r2), u2.length > 0 && o2.collectionItems.setItemsOrder && o2.collectionItems.setItemsOrder(u2); } - get length() { - return this.isLiteral ? this._getCoreViewModel().collectionItems.items.length : void 0; + initializeDesignTime(e3) { + super.initializeDesignTime(e3); + const t3 = this.getPropButtons(e3); + t3 && (e3.addAutoCleanedUpSubscription(l.createObservableForEvent$(s.listOrderChanged, t3).subscribe(() => this._onChoicesUpdated(e3))), e3.addAutoCleanedUpSubscription(l.createObservableForEvent$(s.expressionModeChanged, e3).subscribe(() => this._onChoicesUpdated(e3)))), this._onChoicesUpdated(e3); } - _addNetworkModelToCollection(e3) { - let t3; - this._coreExpression.isExpressionList ? (t3 = this._coreExpression.add(), t3.updateFromConfigListManagerItem(e3)) : this._coreExpression.isCollectionExpression ? (this._coreExpression.isLiteralMode || (this.logNote("switching value to literal collection since we are adding a literal value."), this._coreExpression.mode = r2.ExpressionModes.literal), t3 = this._coreExpression.collectionItems.createItem(), t3.updateFromConfigListManagerItem(e3), this._coreExpression.collectionItems.addItem(t3)) : this._itemIsInvalid(this._infoParm("this._coreExpression", "_addNetworkModelToCollection"), "do not know how to add an item to this collection."), this.logNote("added literal to " + this._coreExpression.type.displayString + " " + this.getLogStrForItemInfo(e3)); + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.o_: + n3.options.setUiCanMoveItemCallback((e4) => !e4.type.isSkipChoice(e4)); + break; + case t2.uq: + n3.options.setIsOptional(true), n3.options.setIninTestingField("quick-reply-summary"); + } } - clearCollection() { - this._coreExpression.destroyChildren(); + _onChoicesUpdated(e3) { + const t3 = this.getPropButtons(e3); + let i3; + (null == e3 ? void 0 : e3.isLiteralMode) && t3.isLiteralMode && (i3 = `${t3.collectionItems.length} / ${y}`), e3.options.setSubLabel(i3); } - _addLiteralByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._findItemByIdAsync(e3, t3).then(this._addNetworkModelToCollection.bind(this)); - }); + configureFromChoices(e3, i3) { + const n3 = e3.getProperty(t2.o_); + n3 && (n3.mode = T.literal, n3.removeAll(), o.default.each(i3, (t3) => { + if ((0, m.isChoiceExpressionType)(t3.type)) { + if (t3.type.getPostbackValue(t3)) { + const e4 = t3.tempClone(); + n3.collectionItems.addItem(e4); + } + } else { + const i4 = t3.type.getValueStr(t3); + if (i4) { + const t4 = h.ChoiceType.createPostbackChoice(i4, true, e3.parentFlow, e3.parent); + n3.collectionItems.addItem(t4); + } + } + })); } - _addLiteralByValueAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._findItemByValueAsync(e3, t3, i3).then(this._addNetworkModelToCollection.bind(this)); - }); + setLiteralFromChoiceListViewModel(e3, i3) { + const n3 = e3.getProperty(t2.o_); + n3 && (n3.mode = T.literal, n3.removeAll(), o.default.each(i3.items, (t3) => { + if (t3.isChoiceViewModel) if (t3.isEnabled) { + const i4 = n3.singleType.createChoiceFromChoiceViewModel(e3.parentFlow, e3.parent, t3); + n3.collectionItems.addItem(i4); + } else a.log(`Not migrating choice '${t3.name}' to quick reply button choice as it is not enabled.`); + })); } - get valueText() { - return this._getValueTextCommon() || []; + getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { + const o2 = super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3); + return g.isFeatureAvailable(f.default.digitalBotFlowsAppleMessaging) || delete o2.quickReplySummary, o2; } - setLiteralEmptyCollection() { - if (this.settings.canBeLiteral) { - const e3 = this._getCoreViewModel(); - null == e3 || e3.setLiteralEmptyCollection(); - } + couldHaveUnknownPostbackValue(e3) { + if (!e3 || e3.outOfService) return false; + if (!e3.isLiteralMode) return true; + const i3 = e3.getProperty(t2.o_); + return !(null == i3 ? void 0 : i3.isLiteralMode) || !!o.default.find(i3.collectionItems.items, (e4) => e4.type.couldHaveUnknownPostbackValue(e4)); + } + get hasRichLiteralEditor() { + return true; } } - t2.default = s; - }, 40568: (e2, t2, i2) => { + t2.QuickRepliesType = S, S.typeIdentifier = d.expressionTypeNames.quickReplies; + }, 7878(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(95085)), l = i2(46824); - class u extends s.default { - constructor(e3) { - super(e3), this._processingPrompt = this.coreFactory.createArchWrapper(e3.processingPrompt), this._timeout = this.coreFactory.createArchWrapper(e3.timeout); - } - get _actionTypeId() { - return r2.bridgeServerActionType; - } - _clearInputsOutputs() { - this._bridgeActionInputs = void 0, this._bridgeActionOutputsSuccess = void 0; + t2.ResponseAssetType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 displayTypeName() { - return this._scriptingName; + get className() { + return "ResponseAssetType"; } - get bridgeActionInputs() { - return this._bridgeActionInputs || (this._bridgeActionInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._bridgeActionInputs; + getPlutusMimeTypes() { + return s.ALL_MIME_TYPES_SET; } - get bridgeActionOutputsSuccess() { - return this._bridgeActionOutputsSuccess || (this._bridgeActionOutputsSuccess = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().outputs)), this._bridgeActionOutputsSuccess; + getPlutusSupportedFileExtensions() { + return l.ALL_SUPPORTED_EXTENSIONS; } - get isArchActionCallBridge() { - return true; + getPlutusMediaPlaceholderText() { + return h.responseAsset.responseAssetPlaceholder; } - setBridgeActionByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("bridgeActionName", "setBridgeActionByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBridgeActionByNameAsync"), t3, true), o.default.findItemByValueAsync(l.bridgeServerManager, e3, "bridge action").then(function(e4) { - return this._coreActionViewModel.setIntegrationActionByViewModel(e4), this._clearInputsOutputs(), a.default.executeCallback(this, "setBridgeActionByNameAsync", t3, this); - }.bind(this)); + getPlutusSupportedFileTypesText() { + return (0, o.sprintf)(h.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); } - setBridgeActionByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("bridgeActionId", "setBridgeActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBridgeActionByIdAsync"), t3, true), o.default.findItemByIdAsync(l.bridgeServerManager, e3, "bridge action").then(function(e4) { - return this._coreActionViewModel.setIntegrationActionByViewModel(e4), this._clearInputsOutputs(), a.default.executeCallback(this, "setBridgeActionByIdAsync", t3, this); - }.bind(this)); + canConvertLitToExpression(e3) { + return u.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [p.globalTypes.string]); } - get timeout() { - return this._timeout; + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindResponseAsset(${c.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - get processingPrompt() { - return this._processingPrompt; + _getLiteralValueOfExpression() { + return ""; } - get useSuggestedTimeout() { - return this._coreActionViewModel.useSuggestedTimeout; + get listManager() { + return a.responseAssetManager; } - set useSuggestedTimeout(e3) { - this._coreActionViewModel.useSuggestedTimeout = e3; + createExpressionOptionClass() { + return new r.ExpressionTypeResponseAssetOptions(); } } - t2.default = u; - }, 40721: (e2, t2, i2) => { + t2.ResponseAssetType = m, m.typeIdentifier = d.expressionTypeNames.responseAsset; + }, 1107(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(16434)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); + t2.ScheduleGroupType = void 0; + const n2 = i2(31635), o = i2(71056), r = 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); } - get _flowType() { - return r2.flowTypes.flowTypeInboundShortMessage; + get className() { + return "ScheduleGroupType"; } - get displayTypeName() { - return "ArchFlowInboundShortMessage"; + createExpressionOptionClass() { + return new o.ExpressionTypeNetworkObjectOptions(this.isCollection); } - get isArchFlowInboundShortMessage() { - return true; + get listManager() { + return r.scheduleGroupManager.getBriefManagerWithFallback(); } - setPeriodicState(e3) { - this._checkItem(this._infoParm("archState", "setPeriodicState"), !e3 || !e3.isArchState, "you must pass in a valid ArchState instance to set it as the periodic state on a flow."), this.logNote("setting the periodic state to " + e3.logStr), this._getCoreViewModel().periodicState = e3._getCoreViewModel(); + canConvertLitToExpression(e3) { + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindScheduleGroup", e3, [u.globalTypes.string]); } - get periodicState() { - const e3 = this._getCoreViewModel().periodicState; - return e3 ? this.coreFactory.createArchWrapper(e3) : null; + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindScheduleGroup(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; } } - t2.default = o; - }, 40728: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getSpeechToTextEngine = a, t2.getSpeechToTextEngines = s; - const n2 = i2(31635), r2 = n2.__importStar(i2(2235)), o = n2.__importDefault(i2(36019)); - function a(e3) { - return o.default.build(r2.getSpeechToTextEngine).templateParams({ engineId: e3 }).call(); - } - function s(e3) { - return o.default.build(r2.getSpeechToTextEngines).queryParams(e3.getSearchQueryParams()).call(); - } - a.api = r2.getSpeechToTextEngine, s.api = r2.getSpeechToTextEngines; - }, 40762: (e2, t2, i2) => { - const n2 = i2(60475), r2 = i2(7401), { getConversationDataActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _participantId: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.participantId.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.participantId.pasteResolveOldToNewValues(e3); - } }, participantId: { enumerable: true, get: function() { - return this._participantId; - }, set: function(e3) { - this._participantId = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 40773: (e2, t2, i2) => { + t2.ScheduleGroupType = d, d.typeIdentifier = l.expressionTypeNames.scheduleGroup; + }, 81778(e2, t2, i2) { "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 c extends r2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3); + t2.ScheduleType = void 0; + const n2 = i2(31635), o = i2(14394), r = 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); } get className() { - return "SpeechToTextEngineViewModel"; - } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const e4 = {}; - if (!this.id || !this.name) return; - return e4.name = this.name, this.selection === l.engineSelectionTypes.engineSelectionDefault && (e4.defaultEngine = true), e4; - } - return { name: this.model.name, id: this.model.id, isDefault: this.model.isDefault, grammarBased: this.model.grammarBased, selection: this.model.selection }; - } - setEngine(e3, t3) { - this.model.id = e3.id, this.model.name = e3.name, this.model.isDefault = e3.isDefault, this.model.grammarBased = e3.grammarBased, this.selection = t3 ? l.engineSelectionTypes.engineSelectionDefault : l.engineSelectionTypes.engineSelectionSpecific; + return "ScheduleType"; } - get id() { - return this.model.id; + createExpressionOptionClass() { + return new r.ExpressionTypeNetworkObjectOptions(this.isCollection); } - set id(e3) { - this.model.id = e3; + get listManager() { + return a.scheduleManager.getBriefManagerWithFallback(); } - get isDefault() { - return this.model.isDefault; + canConvertLitToExpression(e3) { + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindSchedule", e3, [o.globalTypes.string]); } - set isDefault(e3) { - this.model.isDefault = e3; + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindSchedule(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - get selection() { - return this.model.selection; + } + t2.ScheduleType = d, d.typeIdentifier = u.expressionTypeNames.schedule; + }, 54876(e2, t2, i2) { + "use strict"; + t2.ShippingOptionType = t2.k2 = t2.Zk = t2.m9 = t2.bH = void 0; + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(73198)), a = i2(27491), s = i2(94765), l = i2(80428), u = i2(23657), c = i2(14394), d = i2(47957); + t2.bH = "label", t2.m9 = "identifier", t2.Zk = "shippingDetails", t2.k2 = "price"; + class p extends s.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - set selection(e3) { - this.model.selection = e3; + get className() { + return "ShippingOptionType"; } - get isGenesysEngine() { - return this.model.id.startsWith("genesys~") || this.model.id === s.default.defaultId; + canConvertLitToExpression(e3) { + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeShippingOption", e3, [c.globalTypes.string, c.globalTypes.string, c.globalTypes.string, c.globalTypes.currency]); } - get label() { - return this.model.name; + convertLitToExpression(e3, t3, i3, n3) { + return n3 && this.canConvertLitToExpression(e3) ? `MakeShippingOption(${n3.type.getPropLabel(n3).getEmbeddableExpressionText() || r.default.notSet}, ${n3.type.getPropIdentifier(n3).getEmbeddableExpressionText() || r.default.notSet}, ${n3.type.getPropDetails(n3).getEmbeddableExpressionText() || r.default.notSet}, ${n3.type.getPropPrice(n3).getEmbeddableExpressionText() || r.default.notSet})` : ""; } - get name() { - return this.model.name; + _getLiteralValueOfExpression() { + return ""; } - set name(e3) { - this.model.name = e3; + createExpressionOptionClass() { + return new u.ExpressionTypeShippingOptions(this.isCollection); } - get grammarBased() { - return this.model.grammarBased || this.model.isGrammarBased; + get supportsLiteralEditor() { + return true; } - set grammarBased(e3) { - this.model.grammarBased = e3; + getPropLabel(e3) { + return e3.getProperty(t2.bH); } - get isGrammarBased() { - return !!this.grammarBased; + getPropIdentifier(e3) { + return e3.getProperty(t2.m9); } - get supportedLanguages() { - return this.model.supportedLanguages; + getPropDetails(e3) { + return e3.getProperty(t2.Zk); } - set supportedLanguages(e3) { - this.model.supportedLanguages = e3; + getPropPrice(e3) { + return e3.getProperty(t2.k2); } - get description() { - return this.isGenesysEngine ? "" : u.integration.name; + configurePropertyCreationParams(e3, i3, n3) { + var r2; + 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.bH: + n3.options.setDescriptionInfo(d.askForPayment.askForPaymentShippingOptionLabel, d.askForPayment.askForPaymentShippingOptionLabelDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); + break; + case t2.m9: + n3.options.setDescriptionInfo(d.askForPayment.askForPaymentShippingOptionIdentifier, d.askForPayment.askForPaymentShippingOptionIdentifierDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); + break; + case t2.Zk: + n3.options.setDescriptionInfo(d.askForPayment.askForPaymentShippingOptionDetails, d.askForPayment.askForPaymentShippingOptionDetailsDesc), n3.options.facets.setMaxLength(256).setAllowNull(false).setMinLength(1); + break; + case t2.k2: + n3.options.facets.setMinValInclusive(true).setMinDec(0).setMaxValInclusive(true).setMaxDec(1e9).setDecimalPlaces(3), (null === (r2 = e3.parent.info) || void 0 === r2 ? void 0 : r2.typeId) === o.askForPaymentActionType && n3.options.setCurrencyAmountOnly(true); + } } - get isSpeechToTextEngineViewModel() { + get hasRichLiteralEditor() { return true; } - isLanguageSupported(e3) { - return !this.supportedLanguages || 0 === this.supportedLanguages.length || this.supportedLanguages.includes(e3.toLowerCase()); + } + t2.ShippingOptionType = p, p.typeIdentifier = l.expressionTypeNames.shippingOption; + }, 87022(e2, t2, i2) { + "use strict"; + t2.SkillType = void 0; + const n2 = i2(31635).__importDefault(i2(22226)), o = i2(71056), r = 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); } - static isSttIdBotTranscriptionConnectorType(e3) { - return !!(null == e3 ? void 0 : e3.contains("bot_transcription_connector~")); + get className() { + return "SkillType"; } - get isBotTranscriptionConnectorType() { - return c.isSttIdBotTranscriptionConnectorType(this.model.id); + createExpressionOptionClass() { + return new o.ExpressionTypeNetworkObjectOptions(this.isCollection); } - get isBotTranscriptionConnectorTypeOrGrammarBased() { - return this.isBotTranscriptionConnectorType || this.isGrammarBased; + canConvertLitToExpression(e3) { + return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindSkill", e3, [u.globalTypes.string]); } - updateItem(e3) { - e3 && (this.id = e3.id, this.name = e3.name, this.grammarBased = e3.grammarBased, this.supportedLanguages = e3.supportedLanguages); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindSkill(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - validate(e3, t3, i3) { - if (this.invalidSpeechToTextEngine = void 0, this.id && !a.speechToTextEngineManager.getItem(this.id) && !s.default.items[this.id] || !this.isLanguageSupported(i3)) { - const n3 = (0, o.sprintf)(u.errors.invalidValue, (0, o.sprintf)(u.speechToText.speechToTextEngineLabelWithLanguageId, i3.toLowerCase())); - e3.addError(t3, n3), this.invalidSpeechToTextEngine = n3; - } + applyLiteralFromModel(e3, t3, i3, n3) { + (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); + } + get listManager() { + return r.skillManager; } } - t2.default = c; - }, 40776: (e2, t2, i2) => { + t2.SkillType = d, d.typeIdentifier = l.expressionTypeNames.skill, d.entityResolverEntityType = "skill"; + }, 60454(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(19444), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.queueManager); - } - get _globalTypeName() { - return "queueCollection"; - } - get displayTypeName() { - return "ArchValueQueueCollection"; - } - get _searchByValueSearchProperty() { - return "name"; + t2.StringType = void 0; + const n2 = i2(31635), o = i2(69453), r = 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); } - addLiteralByQueueIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("queueId", "addLiteralByQueueIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByQueueIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "queue").then(() => r2.default.executeCallback(this, "addLiteralByQueueIdAsync", t3, this)); - }); + get className() { + return "StringType"; } - addLiteralByQueueNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("queueName", "addLiteralByQueueNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByQueueNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "queue").then(() => r2.default.executeCallback(this, "addLiteralByQueueNameAsync", t3, this)); - }); + createExpressionOptionClass() { + return new r.ExpressionTypeStringOptions(); } - get isArchValueQueueCollection() { - return true; + 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; } - } - 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: 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); + convertLitToExpression(e3, t3) { + return s.default.getQuotedExpressionStringLiteral(t3) || ""; } - _pasteBefore(e3) { - const t3 = super._pasteBefore(e3); - 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()); + convertLitToCustomJsonStr(e3, t3, i3, n3) { + return this.convertLitToExpression(e3, t3); } - _pasteAfter(e3) { - if (!n2.isUndefined(this._destUpconvertMenuChoiceViewModel)) { - let t3 = this.pastedMenuOrTaskOrActionViewModel.name; - t3 = e3.clipboardObject.pasteGetUniqueMenuChoiceName(t3, this._destUpconvertMenuChoiceViewModel.parent, false, true), this._destUpconvertMenuChoiceViewModel.name = t3, this._pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3.destViewModel, this._destUpconvertMenuChoiceViewModel), this._destUpconvertMenuChoiceViewModel.linkMenu(this.pastedMenuOrTaskOrActionViewModel), this.log("Pasted menu linked to paste created menu choice " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel) + "."), this._destUpconvertMenuChoiceViewModel.resetDtmfToUniqueDtmf(); + applyLiteralFromModel(e3, t3, i3, n3) { + if (null == t3) return; + let r2; + if ("string" == typeof t3) r2 = t3; + else { + if ("number" != typeof t3 && "boolean" != typeof t3) return void (null == n3 || n3.warn((0, c.sprintf)(o.configureFromModel.stringLiteralExpectedPrimitive, Array.isArray(t3) ? "array" : typeof t3))); + r2 = String(t3); } - return this.createClipboardResultSuccess(); + this.enforceValueLimit(r2.length <= a.default.maxStringLength, (0, c.sprintf)(o.configureFromModel.stringLiteralLengthExceeded, r2.length, a.default.maxStringLength), n3) && e3.setAsLiteral(r2); } - static create(e3, t3, i3, n3) { - 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, () => d.createFunctionParameter(h, "create", "menuViewModel.parentFlow")), null; - let s2; - 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) { - const t4 = s2._deleteMenuForCut(e3); - if (t4.isFailure) throw t4.messageDisplayStr; - s2.validateFlow(r3); - } - return s2; - } catch (e4) { - i3.logException(e4, "Unable to create clipboard content menu."); - } - return s2 && s2.destroy(), null; + } + t2.StringType = d, d.typeIdentifier = l.expressionTypeNames.string; + }, 28462(e2, t2, i2) { + "use strict"; + t2.SurveyAnswerOptionType = t2.Es = t2.E = t2.Qj = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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.Qj = "id", t2.E = "dtmf", t2.Es = "text"; + class m extends _.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } get className() { - return h; + return "SurveyAnswerOptionType"; } - get clipboardContentType() { - return s.menu; + createExpressionOptionClass() { + return new s.ExpressionTypeSurveyAnswerOptionOptions(); } - checkCanPasteClipboardContextWithDetails(e3) { - const t3 = super.checkCanPasteClipboardContextWithDetails(e3); - return t3.isFailure ? t3 : e3.destViewModel && (e3.destViewModel.isFlowViewModel || e3.destViewModel.isMenu || e3.destViewModel.isSubMenu) && (e3.destViewModel.isFlowViewModel ? e3.destViewModel.supportsReusableMenus : e3.destFlowViewModel.supportsReusableMenus) && (e3.destViewModel.isFlowViewModel ? n2.isArray(e3.destViewModel.menus) : n2.isArray(e3.destFlowViewModel.menus)) ? e3.destAllowableClipboardContentTypes && !n2.contains(e3.destAllowableClipboardContentTypes, l.menus) ? this.createClipboardResultFailureCanPasteGeneric() : (this.shouldPasteAsSubMenu(e3) && (t3.messageDisplayStr = _.clipboard.content.canPaste.upConvert.menu.toMenuChoice), t3) : this.createClipboardResultFailure(n2.isArray(e3.destFlowViewModel.menus) ? _.clipboard.content.pastableLocations.destinationHasNoChoices : _.clipboard.content.notSupportedByFlowType.menusOrMenuChoices); + _getLiteralValueOfExpression() { + return ""; } - get isClipboardContentMenu() { + validateLiteral(e3, t3) { return true; } - shouldPasteAsSubMenu(e3) { - return e3.destViewModel.isSubMenu || e3.destViewModel.isMenu; + get supportsLiteralEditor() { + return true; } - } - e2.exports = m; - }, 40810: (e2, t2, i2) => { - "use strict"; - var n2 = i2(50918) && org.antlr; - e2.exports = n2; - }, 40812: (e2, t2, i2) => { - const n2 = i2(28730), { communicateActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _communication: { writable: true }, _enableBargeIn: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.communication.pasteReIdOrRename(e3), this.enableBargeIn && this.enableBargeIn.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.communication.pasteResolveOldToNewValues(e3), this.enableBargeIn && this.enableBargeIn.pasteResolveOldToNewValues(e3); - } }, communication: { enumerable: true, get: function() { - return this._communication; - }, set: function(e3) { - this._communication = this.reviveItem(e3, o); - } }, enableBargeIn: { enumerable: true, get: function() { - return this._enableBargeIn; - }, set: function(e3) { - this._enableBargeIn = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 40841: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.firstValueFrom = void 0; - var n2 = i2(59328), r2 = i2(2708); - t2.firstValueFrom = function(e3, t3) { - var i3 = "object" == typeof t3; - return new Promise(function(o, a) { - var s = new r2.SafeSubscriber({ next: function(e4) { - o(e4), s.unsubscribe(); - }, error: a, complete: function() { - i3 ? o(t3.defaultValue) : a(new n2.EmptyError()); - } }); - e3.subscribe(s); - }); - }; - }, 40853: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - 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), 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(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; - if (!r3) return this.hasArrayWithNoType = true, o.getGlobalTypeGroup().getType(s.string, t3); - if (r3.type || this._hasSchemaDefRef(r3)) return this._determineType(r3, t3, i3); - if (!n2.isArray(r3)) return null; - if (!r3[0]) return null; - const a2 = r3[0].type; - for (let e4 = 1; e4 < r3.length; e4++) if (r3[e4].type && "null" !== r3[e4].type && r3[e4].type !== a2) return null; - return this._determineType(r3[0], t3, i3); - } }, _hasSchemaDefRef: { value: function(e3) { - return n2.isString(e3.$ref) && e3.$ref.length; - } }, _getSchemaDefRef: { value: function(e3) { - 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] : (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); + getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { + const o2 = super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3); + return null == o2 || delete o2.id, o2; } - const c2 = o.getGlobalTypeGroup(); - if (!i3 && e3.archDataTypeId) { - t3 = t3 || "array" === e3.type; - const i4 = c2.getType(e3.archDataTypeId, t3); - if (i4) return i4; + setDtmf(e3, i3) { + var n3; + if (!(null == e3 ? void 0 : e3.isLiteralMode)) return false; + const o2 = e3.getProperty(t2.Qj, true); + if (!o2) return false; + const r2 = o2.text; + if (!r2) return false; + const a2 = e3.getProperty(t2.E, true); + return !!a2 && !!(null === (n3 = e3.parentFlow) || void 0 === n3 ? void 0 : n3.setAnswerOptionDtmf(r2, i3)) && void (i3 !== a2.text && a2.setAsLiteral(i3)); } - 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, d2 = t4); + static createExpressionOptionClass() { + return new s.ExpressionTypeSurveyAnswerOptionOptions(); } - if (n2.isArray(e3.type)) { - const i4 = n2.without(e3.type, "null"); - 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 = c2.getType(s.string, t3); - break; - case l.boolean: - p = c2.getType(s.boolean, t3); - break; - case l.integer: - p = c2.getType(s.integer, t3); - break; - case l.number: - p = c2.getType(s.decimal, t3); - break; - case l.object: - break; - case l.array: - p = this._determineTypeFromArray(e3, true, i3); - break; - case l.date: - p = c2.getType(s.date, t3); + static create(e3, t3, i3) { + const n3 = m.createExpressionOptionClass(), o2 = new a.default(), s2 = new d.ExpressionParameters(e3, t3, o2); + s2.type = r.globalTypes.surveyAnswerOption, s2.options = n3; + const l2 = new p.NormalExpression(s2); + return l2.type.populateFromSurveyAnswerOption(l2, i3), l2; } - return r3 && p?.isAvailableForFlowType(r3) && this._applyFallbackTypeProperties(d2), p; - } }, setFallbackType: { value: function(e3) { - return this._determineType(void 0, false, true, e3); - } }, additionalInfoSection: { get: function() { - return this.model.additionalInfoSection; - } }, staticMetaData: { get: function() { - return this.model.staticMetaData; - } }, description: { get: function() { - return n2.isString(this.fallbackTypeDescription) ? n2.isString(this.model.description) ? this.model.description + " " + this.fallbackTypeDescription : this.fallbackTypeDescription : this.model.description; - }, set: function(e3) { - this.model.description = e3; - } }, defaultValue: { get: function() { - if (n2.isArray(this.model.default)) { - const e3 = []; - return n2.each(this.model.default, (t3) => { - e3.push(n2.isNullOrUndefined(t3) ? t3 : t3.toString()); - }), e3; + populateFromSurveyAnswerOption(e3, i3) { + if (!e3) return; + e3.mode = u.literal; + const n3 = e3.getProperty(t2.Qj), o2 = e3.getProperty(t2.Es), r2 = e3.getProperty(t2.E); + n3 && (n3.options.setAllowModeLiteralOnly().setReadOnly(true), n3.setAsLiteral(i3.id)), o2 && (o2.options.setAllowModeLiteralOnly().setLabelOverride(h.voiceSurvey.voiceSurveyAnswerOptionValueLabel).setDescriptionInfo(void 0, void 0).setReadOnly(true), o2.setAsLiteral(i3.text)), r2 && (r2.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), r2.setAsLiteral(i3.dtmf)); } - return void 0 !== this.model.default && null !== this.model.default ? this.model.default.toString() : void 0; - } }, examples: { get: function() { - return this.model.examples; - } }, getConfiguration: { value: function() { - const e3 = {}; - return n2.each(this.properties, function(t3) { - e3[t3.name] = t3.getConfiguration(); - }), { type: this.model.type, description: this.model.description }; - } }, id: { get: function() { - return this.model.id; - }, set: function(e3) { - this.model.id = e3; - } }, jsonType: { get: function() { - return this.model.type; - } }, minimum: { get: function() { - return this.model.minimum; - } }, minLength: { get: function() { - return this.model.minLength; - } }, maximum: { get: function() { - return this.model.maximum; - } }, maxLength: { get: function() { - return this.model.maxLength; - } }, name: { get: function() { - return this.model.name; - }, set: function(e3) { - this.model.name = e3; - } }, required: { get: function() { - return this.model.required; - }, set: function(e3) { - this.model.required = e3; - } }, title: { get: function() { - return this.model.title; - } } }), e2.exports = d; - }, 40904: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + static _disableDTMFChoiceCallback(e3, t3) { + var i3, n3; + const o2 = null === (i3 = e3.parentFlow.userInputSettings) || void 0 === i3 ? void 0 : i3.dtmfTerminatingCharacter, r2 = null == o2 ? void 0 : o2.type.getDesignTimeStringValue(o2); + if (r2 && r2 === t3.id) return true; + 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; + })); } - get _globalTypeName() { - return "journeyCustomEventAttribute"; + getDtmf(e3) { + var i3; + return null === (i3 = null == e3 ? void 0 : e3.getProperty(t2.E, true)) || void 0 === i3 ? void 0 : i3.text; } - get name() { + populateFromSurveyAnswerOptions(e3, i3) { + e3 && (e3.setAsNoValue(), e3.setModeWithTransition(u.literal, void 0), o.default.each(i3, (i4, n3) => { + const o2 = e3.collectionItems.createItem(null, null, e3.options), r2 = `surveyAnswerOption_${n3}`; + o2.options.setIninTestingField(r2), e3.collectionItems.addItem(o2), o2.type.populateFromSurveyAnswerOption(o2, i4); + const a2 = o2.getProperty(t2.E, true); + null == a2 || a2.options.setIninTestingField(`${r2}_DTMF`); + const s2 = o2.getProperty(t2.Es, true); + null == s2 || s2.options.setIninTestingField(`${r2}_TEXT`); + })); } - get dataType() { + } + t2.SurveyAnswerOptionType = m, m.typeIdentifier = c.expressionTypeNames.surveyAnswerOption; + }, 76159(e2, t2, i2) { + "use strict"; + t2.SurveyFormType = void 0; + const n2 = i2(70147), o = i2(94765), r = i2(80428); + class a extends o.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get value() { + get className() { + return "SurveyFormType"; } - get displayTypeName() { - return "ArchValueJourneyCustomEventAttribute"; + createExpressionOptionClass() { + return new n2.ExpressionTypeSurveyFormOptions(); } - get isArchValueJourneyCustomEventAttribute() { + validateLiteral(e3, t3) { return true; } - } - t2.default = r2; - }, 40971: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindScheduleGroupActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + get supportsLiteralEditor() { + return false; } } - t2.FindScheduleGroupActionModel = o, o.__type = r2.findScheduleGroupActionType, o.registerType(); - }, 40974: (e2, t2, i2) => { + t2.SurveyFormType = a, a.typeIdentifier = r.expressionTypeNames.surveyForm; + }, 77054(e2, t2, i2) { "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), 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")); + t2.SurveyQuestionGroupType = void 0; + const n2 = i2(33668), o = i2(94765), r = i2(80428); + class a extends o.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get allowCollection() { - return this._allowCollection; + get className() { + return "SurveyQuestionGroupType"; } - set allowCollection(e3) { - this._allowCollection = e3; + createExpressionOptionClass() { + return new n2.ExpressionTypeSurveyQuestionGroupOptions(); } - get characteristics() { - return this._characteristics; + validateLiteral(e3, t3) { + return true; } - set characteristics(e3) { - this._characteristics = e3; + get supportsLiteralEditor() { + return false; } - get direction() { - return this._direction; + } + t2.SurveyQuestionGroupType = a, a.typeIdentifier = r.expressionTypeNames.surveyQuestionGroup; + }, 64229(e2, t2, i2) { + "use strict"; + t2.SurveyQuestionType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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); } - set direction(e3) { - this._direction = {}, Object.keys(e3).forEach((t3) => { - "flow" === t3 ? (this._direction.flow = {}, Object.keys(e3.flow).forEach((t4) => { - const i3 = this.reviveMap(e3.flow[t4], l.default); - (_[t4] || [t4]).forEach((e4) => { - this._direction.flow[e4] || (this._direction.flow[e4] = {}); - const t5 = this._direction.flow[e4]; - Object.keys(i3).forEach((n3) => { - t5[n3] ? s.error(`Type: ${this.name} - Duplicate direction availability entry found for ${n3} and ${e4}`) : t5[n3] = i3[n3]; - }); - }); - })) : s.error(`Type: ${this.name} - not expecting key: '${t3}' under direction other than flow`); - }); + get className() { + return "SurveyQuestionType"; } - get isAnAnyType() { - return this._isAnAnyType; + createExpressionOptionClass() { + return new r.ExpressionTypeSurveyQuestionOptions(); } - set isAnAnyType(e3) { - this._isAnAnyType = this.reviveItem(e3, l.default); + 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, o.sprintf)(c.errors.invalidValue, t3.label), false, true), false); } - get isComplex() { - return this._isComplex; + get supportsLiteralEditor() { + return true; } - set isComplex(e3) { - this._isComplex = e3; + clearArchSurveyQuestion(e3) { + return !!e3 && (e3.mode = s.literal, e3.update("", ""), e3.options.allowModeNoValue && e3.setAsNoValue(), true); } - get properties() { - return this._properties || []; + setFromArchSurveyQuestion(e3, t3) { + return t3 ? !!e3 && (e3.mode = s.literal, e3.update(t3.questionText, t3.id), true) : this.clearArchSurveyQuestion(e3); } - set properties(e3) { - this._properties = this.reviveArray(e3, c.default); + getArchSurveyForm(e3) { + var t3; + return null === (t3 = (null == e3 ? void 0 : e3.parentFlow).voiceSurveyFlowSettings) || void 0 === t3 ? void 0 : t3.archSurveyForm; } - get userCreatable() { - return this._userCreatable; + setFromSurveyQuestionId(e3, t3, i3) { + var n3; + if (!e3 || !t3) return false; + if (!i3 && (null === (n3 = e3.parent) || void 0 === n3 ? void 0 : n3.isAskSurveyQuestionAction)) return e3.parent.configureFromArchSurveyQuestionId(t3); + const o2 = this.getArchSurveyForm(e3); + if (!o2) return false; + const r2 = (0, l.findSurveyQuestionInForm)(o2, t3, true); + return !!r2 && this.setFromArchSurveyQuestion(e3, r2); } - set userCreatable(e3) { - this._userCreatable = this.reviveItem(e3, l.default); + setFromSurveyQuestionText(e3, t3, i3, n3) { + var o2, r2; + if (!e3 || !t3) return false; + if (!n3 && (null === (o2 = e3.parent) || void 0 === o2 ? void 0 : o2.isAskSurveyQuestionAction)) return null === (r2 = e3.parent) || void 0 === r2 ? void 0 : r2.configureFromArchSurveyQuestionText(t3, i3); + const a2 = this.getArchSurveyForm(e3); + if (!a2) return false; + const s2 = (0, l.findSurveyQuestionInForm)(a2, t3, i3, true); + return !!s2 && this.setFromArchSurveyQuestion(e3, s2); } - } - t2.default = h, a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Boolean), a.__metadata("design:paramtypes", [Boolean])], h.prototype, "allowCollection", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "characteristics", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", "function" == typeof (n2 = void 0 !== p && p.IVariableScopeDirectionSupportMap) ? n2 : Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "direction", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", "function" == typeof (r2 = void 0 !== l.default && l.default) ? r2 : Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "isAnAnyType", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Boolean), a.__metadata("design:paramtypes", [Boolean])], h.prototype, "isComplex", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Array), a.__metadata("design:paramtypes", [Object])], h.prototype, "properties", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", "function" == typeof (o = void 0 !== l.default && l.default) ? o : Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "userCreatable", null); - }, 41011: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - e3.defineLocale("sv", { months: "januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"), monthsShort: "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"), weekdays: "s\xF6ndag_m\xE5ndag_tisdag_onsdag_torsdag_fredag_l\xF6rdag".split("_"), weekdaysShort: "s\xF6n_m\xE5n_tis_ons_tor_fre_l\xF6r".split("_"), weekdaysMin: "s\xF6_m\xE5_ti_on_to_fr_l\xF6".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY-MM-DD", LL: "D MMMM YYYY", LLL: "D MMMM YYYY [kl.] HH:mm", LLLL: "dddd D MMMM YYYY [kl.] HH:mm", lll: "D MMM YYYY HH:mm", llll: "ddd D MMM YYYY HH:mm" }, calendar: { sameDay: "[Idag] LT", nextDay: "[Imorgon] LT", lastDay: "[Ig\xE5r] LT", nextWeek: "[P\xE5] dddd LT", lastWeek: "[I] dddd[s] LT", sameElse: "L" }, relativeTime: { future: "om %s", past: "f\xF6r %s sedan", s: "n\xE5gra sekunder", ss: "%d sekunder", m: "en minut", mm: "%d minuter", h: "en timme", hh: "%d timmar", d: "en dag", dd: "%d dagar", M: "en m\xE5nad", MM: "%d m\xE5nader", y: "ett \xE5r", yy: "%d \xE5r" }, dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/, ordinal: function(e4) { - var t3 = e4 % 10; - return e4 + (1 == ~~(e4 % 100 / 10) ? ":e" : 1 === t3 || 2 === t3 ? ":a" : ":e"); - }, week: { dow: 1, doy: 4 } }); - })(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 = n2.__importDefault(i2(4648)), l = i2(47957); - class u extends a.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + getSurveyQuestion(e3, t3, i3, n3) { + if (!e3.isLiteralMode) return; + const o2 = this.getArchSurveyForm(e3); + o2 && (0, l.findSurveyQuestionInForm)(o2, t3, i3, true); } } - 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) => { + t2.SurveyQuestionType = d, d.typeIdentifier = u.expressionTypeNames.surveyQuestion; + }, 58436(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), 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 = O.responseLibraryManager, this.substitutions = null, this._loadModel(t3); + t2.TimePickerType = t2.tA = t2.KH = t2.f_ = t2.Pd = t2.X$ = t2.q1 = void 0; + const n2 = i2(31635), o = i2(35730), r = i2(80428), a = i2(94765), s = n2.__importStar(i2(9345)), l = i2(14394), u = i2(47957); + t2.q1 = "image", t2.X$ = "title", t2.Pd = "subtitle", t2.f_ = "address", t2.KH = "longitude", t2.tA = "latitude"; + class c extends a.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - _loadModel(e3) { - super._loadModel(e3), this.setOutOfService(); + get className() { + return "TimePickerType"; } - setOutOfService() { - this.substitutions.outOfService = !this.model || !this.performSubstitutions; + convertLitToExpression(e3, t3) { + return ""; } - static get branchInfo() { - return [{ label: C.generic.branches.success, outputId: N.outputIds.success, required: true }, { label: C.generic.branches.failure, outputId: N.outputIds.failure, required: true }]; + _getLiteralValueOfExpression() { + return ""; } - getDetails() { - return this.responseName ? new l.ActionDetails([C.getResponse.selectedResponse], [this.responseName]) : null; + createExpressionOptionClass() { + return new o.ExpressionTypeTimePickerOptions(); } - get performSubstitutions() { - return this.model.performSubstitutions; + get supportsLiteralEditor() { + return true; } - set performSubstitutions(e3) { - this.model.performSubstitutions = e3, this.setOutOfService(), e3 && a.validateAction(this, true); + getChooser(e3) { + var t3; + if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(l.globalTypes.chooser, s.settings.exact)) return e3.propertyParent; } - get responseLibrary() { - return this.model.responseLibrary; + getPropImage(e3) { + return e3.getProperty(t2.q1); } - set responseLibrary(e3) { - this.model.responseLibrary = e3; + getPropTitle(e3) { + return e3.getProperty(t2.X$); } - _preDestroy() { - super._preDestroy(), this.responseManager.tryRemoveItemFromFlowMetadata(this, this.responseId); + getPropSubtitle(e3) { + return e3.getProperty(t2.Pd); } - 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, 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] }]; + getPropAddress(e3) { + return e3.getProperty(t2.f_); } - _isSelectedResponseInSelectedResponseLibrary(e3, t3) { - const i3 = e3 || this.selectedResponse, n3 = t3 || this.selectedResponseLibrary; - return !(!i3 || !n3 || r2.default.isUndefined(r2.default.find(i3.libraries, { id: n3.id }))); + getPropLongitude(e3) { + return e3.getProperty(t2.KH); } - postProcessYamlConfig(e3, t3, i3) { - var n3; - if (!this.responseName) return false; - const o2 = (null === (n3 = this.responseLibrary) || void 0 === n3 ? void 0 : n3.name) || s.unknownLibrary; - e3.library = {}; - const a2 = (e3.library[o2] = { response: {} }).response[this.responseName] = {}; - e3.substitutions ? r2.default.moveAndDeleteProperty(e3, a2, "substitutions") : r2.default.ensureYamlNoneTrue(a2); + getPropLatitude(e3) { + return e3.getProperty(t2.tA); } - search(e3) { - super.search(e3); - const t3 = this.responseName, i3 = this.responseLibrary ? this.responseLibrary.name : ""; - e3.checkText(this, i3, C.getResponse.library), e3.checkText(this, t3, C.getResponse.selectedResponse); + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.q1: + n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setAllowModeLiteralOnly(), n3.options.setModeNoValueRuntimeEvaluationStr(u.cardsAndCars.cardType.noImageRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(u.cardsAndCars.cardType.noImage), n3.options.setDefaultToNoValue(true), n3.options.setLabelOverride(u.image.image), n3.options.setIninTestingField("time-picker-image"); + break; + case t2.X$: + n3.options.setIsOptional(false), n3.options.setAllowNotSet(false), n3.options.setModeNoValueRuntimeEvaluationStr(u.cardsAndCars.timePickerType.noTitleRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(u.cardsAndCars.cardType.noTitle), n3.options.setDoNotTransitionToNoValue(true), n3.options.setLabelOverride(u.cardsAndCars.buttonTitlePlaceholder), n3.options.setIninTestingField("time-picker-title"), n3.options.facets.setMaxLength(512); + break; + case t2.Pd: + n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setModeNoValueRuntimeEvaluationStr(u.cardsAndCars.timePickerType.noSubtitleRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(u.cardsAndCars.timePickerType.noSubtitle), n3.options.setDoNotTransitionToNoValue(true), n3.options.setLabelOverride(u.cardsAndCars.timePickerType.subtitlePlaceHolder), n3.options.setIninTestingField("time-picker-subtitle"), n3.options.facets.setMaxLength(512); + break; + case t2.f_: + n3.options.setIsOptional(true), n3.options.setDoNotTransitionToNoValue(true), n3.options.setIninTestingField("time-picker-address"), n3.options.facets.setIsAddressField(true); + break; + case t2.KH: + n3.options.setIsOptional(true), n3.options.setIninTestingField("time-picker-longitude"), n3.options.setDoNotTransitionToNoValue(true), n3.options.setDefaultText("0.0"), n3.options.facets.setMinDec(-180).setMinValInclusive(true), n3.options.facets.setMaxDec(180).setMaxValInclusive(true), n3.options.facets.setDecimalPlaces(6); + break; + case t2.tA: + n3.options.setIsOptional(true), n3.options.setIninTestingField("time-picker-latitude"), n3.options.setDoNotTransitionToNoValue(true), n3.options.setDefaultText("0.0"), n3.options.facets.setMinDec(-90).setMinValInclusive(true), n3.options.facets.setMaxDec(90).setMaxValInclusive(true), n3.options.facets.setDecimalPlaces(6); + } } - get responseLibraryDoesNotContainResponse() { - if (!this.responseLibrary && !this.responseId) return false; - const e3 = this.responseManager.getItem(this.responseId); - return e3 && !r2.default.findWhere(e3.libraries, { id: this.responseLibrary.id }); + get hasRichLiteralEditor() { + return true; } - get selectedResponseLibraryIsInvalid() { - if (!this.responseLibrary || !this.responseLibrary.id) return false; - const e3 = this.libraryManager.getItem(this.responseLibrary.id); - return r2.default.isUndefined(e3); + validateLiteral(e3, t3) { + const i3 = this.getPropAddress(t3), n3 = this.getPropLongitude(t3), o2 = this.getPropLatitude(t3); + return !(i3 && n3 && o2 && null !== i3.text && "" !== i3.text) || "0.0" !== n3.text && "0" !== n3.text || "0.0" !== o2.text && "0" !== o2.text || (n3.setParseWarning(u.expression.longitudeSetToNullIsland), o2.setParseWarning(u.expression.latitudeSetToNullIsland), e3.addWarning(n3, u.expression.longitudeSetToNullIsland, void 0, false), e3.addWarning(o2, u.expression.latitudeSetToNullIsland, void 0, false), false); } - get selectedResponseNotInResponseLibraryMessage() { - if (!this.responseId) return ""; - const e3 = this.selectedResponse; - return e3 && e3.libraries.length > 0 ? C.getResponse.responseLibraryDoesNotContainResponse : (0, I.sprintf)(C.getResponse.noResponseLibrariesContainResponse); + useCustomExpressionEditor(e3) { + return !!(null == e3 ? void 0 : e3.parentList); } - get suggestedResponseLibraryCount() { - const e3 = this.suggestedResponseLibraries; - return e3 ? e3.length : 0; + } + t2.TimePickerType = c, c.typeIdentifier = r.expressionTypeNames.timePicker; + }, 78350(e2, t2, i2) { + "use strict"; + t2.TimeType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 = l.ExpressionTypeTimeOptions; } - setResponseLibrary(e3) { - this.responseLibrary = e3 ? e3.model : void 0, a.validateAction(this, false, true); + get className() { + return "TimeType"; } - setResponseDataAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = e3 ? e3.name : "", n3 = e3 ? e3.id : ""; - if (null === e3 && null === t3 || this.responseId !== n3) { - if (this.responseName && (this.responseManager.tryRemoveItemFromFlowMetadata(this, this.responseId), o.unRegisterConsumer(this, this.responseManager.dependencyContext)), this.responseId = n3, this.responseName = i3, this.substitutions.destroyChildren(), this.performSubstitutions = false, t3 ? this.setResponseLibrary(t3) : e3 && e3.libraries ? this.responseLibrary = e3.library : this.responseLibrary = void 0, !this.responseName) return a.validateAction(this, false, true), Promise.resolve(); - this.responseManager.addItemToFlowMetadata(this, this.responseName, n3), yield this.responseManager.getSubstitutionInputs(e3), this.responseManager.mergeSchemaProperties(e3.substitutions, this.substitutions); - } - }); + createExpressionOptionClass() { + return new l.ExpressionTypeTimeOptions(this.isCollection); } - get selectedResponse() { - if (this.responseId) return this.responseManager.getItem(this.responseId); + get supportsLiteralEditor() { + return true; } - get selectedResponseLibrary() { - if (this.responseLibrary && this.responseLibrary.id) return this.libraryManager.getItem(this.responseLibrary.id); + _getIsTimeExpressionTextValid(e3) { + return !!r.default.isString(e3) && new RegExp("[0-2][0-9]:[0-5][0-9]:[0-5][0-9]").test(e3) && 8 === e3.length; } - get isSelectedResponseInSelectedResponseLibrary() { - return this._isSelectedResponseInSelectedResponseLibrary(this.selectedResponse, this.selectedResponseLibrary); + convertLitToExpression(e3, t3) { + if (this._getIsTimeExpressionTextValid(t3)) { + const e4 = this._parseTimeString(t3); + return `MakeTime(${e4.hours}, ${e4.minutes}, ${e4.seconds})`; + } + return t3; } - get suggestedResponseLibraries() { - const e3 = this.selectedResponse; - if (e3 && !this._isSelectedResponseInSelectedResponseLibrary(e3)) return e3.libraries; + _getLiteralValueOfExpression() { + return ""; } - validate(e3) { - const t3 = this.selectedResponse; - if (e3.isDeep && t3 && (this.responseManager.mergeSchemaProperties(t3.substitutions, this.substitutions), this.responseManager.addItemToFlowMetadata(this, this.responseName, this.responseId)), this.responseLibrary) { - const i3 = this.selectedResponseLibrary; - i3 ? this.selectedResponse && !this._isSelectedResponseInSelectedResponseLibrary(t3, i3) && e3.addWarning(this, this.selectedResponseNotInResponseLibraryMessage) : e3.addWarning(this, C.getResponse.responseLibraryNotFound); - } else e3.addError(this, C.getResponse.mustSelectLibrary); - try { - this.response.skipValidationCheck = !this.responseLibrary, this.responseBody.options.suppressParserValidationMessages = !this.responseId, super.validate(e3); - } finally { - this.response.skipValidationCheck = false, this.responseBody.options.suppressParserValidationMessages = false; + getYamlObjectForLiteralSingleton(e3) { + if (super.getYamlObjectForLiteralSingleton(e3), !this._getIsTimeExpressionTextValid(e3.text)) { + const t4 = `Invalid time parsed in TimeType.getYamlObjectForLiteralSingleton for expression text '${e3.text}'`; + throw p.exceptionWithErrorObjectInfo(null, t4, e3, true), t4; } + const t3 = this._parseTimeString(e3.text); + return { hour: t3.hours, minute: t3.minutes, second: t3.seconds }; } - } - 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; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + _parseTimeString(e3) { + return { hours: parseInt(e3.substr(0, 2)), minutes: parseInt(e3.substr(3, 5)), seconds: parseInt(e3.substr(6, 2)) }; + } + searchExpression(e3, t3) { + if (t3.isLiteralMode && this._getIsTimeExpressionTextValid(t3.text)) { + const i3 = this._parseTimeString(t3.text); + let n3 = i3.hours; + const r2 = n3 >= 12 ? "PM" : "AM"; + n3 = n3 > 12 ? n3 - 12 : n3; + const a2 = (0, o.sprintf)("%s:%02d:%02d %s", n3, i3.minutes, i3.seconds, r2); + 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.timeLiteralExpectedObjectOrString, Array.isArray(t3) ? "array" : typeof t3))); + const r2 = t3, s2 = "number" == typeof r2.hour ? r2.hour : 0, l2 = "number" == typeof r2.minute ? r2.minute : 0, c2 = "number" == typeof r2.second ? r2.second : 0; + if (this.enforceValueLimit(s2 >= 0 && s2 <= 23, (0, o.sprintf)(a.configureFromModel.timeLiteralPartOutOfRange, "hour", s2, 0, 23), n3) && this.enforceValueLimit(l2 >= 0 && l2 <= 59, (0, o.sprintf)(a.configureFromModel.timeLiteralPartOutOfRange, "minute", l2, 0, 59), n3) && this.enforceValueLimit(c2 >= 0 && c2 <= 59, (0, o.sprintf)(a.configureFromModel.timeLiteralPartOutOfRange, "second", c2, 0, 59), n3) && (e3.setAsLiteral((0, o.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(r2)) e4.has(i4) || (0, u.reportAdditionalProperty)(i4, t4, n3); + } } } - t2.FindGrammarActionModel = o, o.__type = r2.findGrammarActionType, o.registerType(); - }, 41167: (e2, t2, i2) => { - const n2 = i2(15321), r2 = i2(45214), o = i2(30068).default; - function a() { - Object.defineProperties(this, { _client: { writable: true }, _user: { writable: true } }), this.id = void 0, this.action = void 0, this.timestamp = void 0, this.secure = void 0, this.version = void 0, this.virtualAgentEnabled = false, this.agenticVirtualAgentEnabled = false, a.baseConstructor.apply(this, arguments); - } - r2.extend(a, "AuditMessage"), Object.defineProperties(a.prototype, { client: { enumerable: true, get: function() { - return this._client; - }, set: function(e3) { - this._client = this.reviveItem(e3, o); - } }, user: { enumerable: true, get: function() { - return this._user; - }, set: function(e3) { - this._user = this.reviveItem(e3, n2); - } }, isVersionableAction: { get: function() { - return this.isCheckin || this.isPublish; - } }, isCheckin: { get: function() { - return "CHECKIN" === this.action; - } }, isCheckout: { get: function() { - return "CHECKOUT" === this.action; - } }, isCreate: { get: function() { - return "CREATE" === this.action; - } }, isDeactivate: { get: function() { - return "DEACTIVATE" === this.action; - } }, isDelete: { get: function() { - return "DELETE" === this.action; - } }, isPublish: { get: function() { - return "PUBLISH" === this.action; - } }, isRevert: { get: function() { - return "REVERT" === this.action; - } }, isSave: { get: function() { - return "SAVE" === this.action; - } }, isUpdate: { get: function() { - return "UPDATE" === this.action; - } } }), e2.exports = a; - }, 41187: (e2, t2, i2) => { + t2.TimeType = _, _.typeIdentifier = d.expressionTypeNames.time; + }, 78354(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.TimeslotType = t2.DF = t2.GW = void 0; + const n2 = i2(31635), o = i2(79056), r = i2(80428), a = n2.__importDefault(i2(73198)), s = i2(94765), l = i2(47957); + t2.GW = "dateTime", t2.DF = "duration"; + class u extends s.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get _globalTypeName() { - return "communicationCollection"; + get className() { + return "TimeslotType"; } - get displayTypeName() { - return "ArchValueCommunicationCollection"; + convertLitToExpression(e3, t3) { + return ""; + } + _getLiteralValueOfExpression() { + return ""; + } + createExpressionOptionClass() { + return new o.ExpressionTypeTimeslotOptions(this.isCollection); + } + get supportsLiteralEditor() { + return true; } - get isArchValueCommunicationCollection() { + get hasRichLiteralEditor() { return true; } + getPropDateTime(e3) { + return e3.getProperty(t2.GW); + } + getPropDuration(e3) { + return e3.getProperty(t2.DF); + } + configurePropertyCreationParams(e3, i3, n3) { + switch (super.configurePropertyCreationParams(e3, i3, n3), i3.name) { + case t2.GW: + n3.label = l.dynamicTimeslots.dynamicTimeslotsDateTimeLabel, n3.options.setIninTestingField("date-time"); + break; + case t2.DF: + n3.label = l.dynamicTimeslots.dynamicTimeslotsDurationLabel, n3.options.setIninTestingField("duration"), n3.options.setDefaultText(a.default.litDurationOneMinute); + } + } } - t2.default = r2; - }, 41188: (e2, t2, i2) => { - const n2 = i2(16113), { evaluateScheduleGroupActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _inServiceSchedules: { writable: true }, _scheduleGroup: { writable: true } }), this.scheduleGroupId = void 0, this.scheduleGroupName = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.inServiceSchedules.pasteReIdOrRename(e3), this.scheduleGroup.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.inServiceSchedules.pasteResolveOldToNewValues(e3), this.scheduleGroup.pasteResolveOldToNewValues(e3); - } }, inServiceSchedules: { enumerable: true, get: function() { - return this._inServiceSchedules; - }, set: function(e3) { - this._inServiceSchedules = this.reviveItem(e3, o); - } }, scheduleGroup: { enumerable: true, get: function() { - return this._scheduleGroup; - }, set: function(e3) { - this._scheduleGroup = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 41197: (e2, t2, i2) => { + t2.TimeslotType = u, u.typeIdentifier = r.expressionTypeNames.timeslot; + }, 60776(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(76155)); - let a; - class s extends o.default { + t2.UserType = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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"]; + } get className() { - return "FlowElementWithNodeInformationAndChildren"; + return "UserType"; } - get isFlowElementWithNodeInformationAndChildren() { - return true; + createExpressionOptionClass() { + return new r.ExpressionTypeUserOptions(this.isCollection); } - destroyChildren() { + get yamlLiteralWrapperString() { + return "userName"; } - _preDestroy() { - if (super._preDestroy(), this._destroyReferencedVariables = void 0, this.parentFlow && !this.parentFlow.isDestroying && this.parent && !this.parent.isDestroying) { - const e3 = this.topParent; - (!e3 || e3 && !e3.isDestroyedOrDestroying) && (this._destroyReferencedVariables = (a || (a = i2(5093)), a).getDependentVariables(this)); + _checkForPermission(e3, t3, i3, n3) { + if (!e3 || !e3.authString) return; + let o2 = false; + if (t3.permissions && (o2 = s.permissionService.checkHasPermissionInAtLeastOneDivision(t3, s.permissionService.staticPermissions[e3.authString]).hasPermission), !o2) { + const t4 = s.permissionService.getAuthValidationWarning(e3.authString, true); + e3.isWarning ? (n3.setParseWarning(t4), i3.addWarning(n3, t4, void 0, true)) : (n3.setParseError(t4), i3.addError(n3, t4, void 0, true)); } } - _destroy() { - super._destroy(), this.destroyChildren(); + canConvertLitToExpression(e3) { + return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindUserById", e3, [d.globalTypes.string]); } - _postDestroy() { - if (super._postDestroy(), this._destroyReferencedVariables) try { - r2.default.each(this._destroyReferencedVariables, (e3) => { - e3.deleteItem(this.parentFlow, true); - }); - } finally { - this._destroyReferencedVariables = void 0; + convertLitToExpression(e3, t3, i3) { + return i3 && this.canConvertLitToExpression(e3) ? `FindUserById(${u.default.getQuotedExpressionStringLiteral(i3)})` : ""; + } + _getLiteralValueOfExpression() { + return ""; + } + getYamlObjectForLiteralSingleton(e3) { + var t3, i3, n3, r2; + let a2; + if (super.getYamlObjectForLiteralSingleton(e3), (null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.isReadOnly) && (null === (i3 = null == e3 ? void 0 : e3.config) || void 0 === i3 ? void 0 : i3.val)) { + const t4 = this.listManager.getItem(e3.config.val); + t4 && (a2 = t4.email); } + return o.default.tryWrapObject(a2 || (null === (r2 = null === (n3 = null == e3 ? void 0 : e3.config) || void 0 === n3 ? void 0 : n3.lit) || void 0 === r2 ? void 0 : r2.username) || "", this.yamlLiteralWrapperString); + } + get listManager() { + return a.userManager; } } - t2.default = s; - }, 41264: (e2, t2, i2) => { + t2.UserType = _, _.typeIdentifier = c.expressionTypeNames.userQueue; + }, 92217(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.UtilizationLabelType = void 0; + const n2 = i2(31635), o = i2(29505), r = 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); } - get _globalTypeName() { - return "agentScorePair"; + get className() { + return "UtilizationLabelType"; } - get initialValue() { - return this._initialValue; + canConvertLitToExpression(e3) { + return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindUtilizationLabel", e3, [u.globalTypes.string]); } - get displayTypeName() { - return "ArchVariableAgentScorePair"; + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `FindUtilizationLabel(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; } - get isArchVariableAgentScorePair() { + _getLiteralValueOfExpression() { + return ""; + } + createExpressionOptionClass() { + return new o.ExpressionTypeUtilizationLabelOptions(); + } + get listManager() { + return r.utilizationLabelManager; + } + get supportsLiteralEditor() { return true; } } - t2.default = r2; - }, 41322: (e2, t2, i2) => { + t2.UtilizationLabelType = d, d.typeIdentifier = l.expressionTypeNames.utilizationLabel; + }, 21044(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), 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 = d.guide.guideVersion, this.uiMetadataSectionName = "guideVersions", this.noApiCallList = true, this._initialize(); + t2.VideoType = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 requiredAuth() { - return u.externalAuthorizations.authStrings.guideVersionView; + get className() { + return "VideoType"; } - get dependencyType() { - return p.GuideVersion; + getPlutusMimeTypes() { + return u.VIDEO_MIME_TYPES_SET; } - get _networkModel() { - return a.default; + getPlutusSupportedFileExtensions() { + return c.VIDEO_SUPPORTED_EXTENSIONS; } - _createItemViewModel(e3) { - return new l.GuideVersionViewModel(e3); + getPlutusMediaPlaceholderText() { + return g.video.videoPlaceholder; } - } - t2.GuideVersionManager = _, t2.guideVersionManager = new _(); - }, 41330: (e2, t2, i2) => { - const n2 = i2(92140); - void 0 === global.IS_BUILD && (global.IS_BUILD = true), void 0 === global.IS_SCRIPTING && (global.IS_SCRIPTING = true), void 0 === global.DEBUG && (global.DEBUG = false), void 0 === global.VERBOSE && (global.VERBOSE = false), void 0 === global.TEST_MODE && (global.TEST_MODE = false), void 0 === global.BUILD_INFO_BUILD_NUMBER && (global.BUILD_INFO_BUILD_NUMBER = "0.0.0"); - const r2 = "20.0.0"; - let o = false; - if (global && global.process && global.process.versions && n2.isString(global.process.versions.node)) { - const e3 = global.process.versions.node.split("."); - if (e3.length >= 2) { - const t3 = parseInt(e3[0], 10), i3 = parseInt(e3[1], 10); - if (t3 < 20 || 20 === t3 && i3 < 0) throw "Error! Architect Scripting requires that it run in Node version '" + r2 + "' or higher.\nCurrent Node runtime version detected: '" + global.process.versions.node + "'\nPlease update Node and try again. Thanks for playing.\nNow exiting."; - (t3 < 20 || 20 === t3 && i3 < 5) && console.warn("Warning! Architect Scripting recommends that it run in Node version '20.5.0' or higher.\nCurrent Node runtime version detected: '" + global.process.versions.node + "'\nPlease update your Node version."), console.log("Architect Scripting running under Node version '" + global.process.versions.node + "'"), o = true; + getPlutusSupportedFileTypesText() { + return (0, o.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); } - } - o || console.log("Architect Scripting is running in an unsupported environment. Architect Scripting is supported under Node version '" + r2 + "' or higher. Running in an unsupported environment may result in unpredictable behavior."), i2(61347); - const a = i2(44254).default, { setDefaultRequestModel: s } = i2(50712); - s(a), global.TEST_MODE || [].push(i2(18266)), i2(5430).initializeExpressions(); - }, 41366: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - 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 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)), 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"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.MirroredExpressionActionProperty = void 0; - const n2 = i2(36781), r2 = i2(88473), o = i2(55867); - class a extends o.BaseActionProperty { - constructor(e3, t3, i3, n3) { - super(e3, t3), this._getExpressionChangeTrigger = i3, this._getExpressionCallback = n3, this._outOfServiceProvider = (0, r2.addOutOfServiceProperties)(this); + canConvertLitToExpression(e3) { + return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToVideo", e3, [h.globalTypes.responseAsset, h.globalTypes.video]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); } - destroy() { - super.destroy(), this._outOfServiceProvider.destroy(); + convertLitToExpression(e3, t3) { + return t3 && this.canConvertLitToExpression(e3) ? `ToVideo(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; } - get className() { - return "MirroredExpressionActionProperty"; + _getLiteralValueOfExpression() { + return ""; } - get isMirroredExpression() { - return true; + get supportsLiteralEditor() { + return (0, a.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); } - initializeDesignTime() { - super.initializeDesignTime(); - const e3 = this._getExpressionChangeTrigger(this.action); - this.addAutoCleanedUpEventSinkWatch(n2.expressionValueChanged, e3, () => this._updateMirroredExpression()); + get listManager() { + return s.videoManager; } - _updateMirroredExpression() { - this._expression = this._getExpressionCallback(this.action); + createExpressionOptionClass() { + return new r.ExpressionTypeVideoOptions(); } - get expression() { - return this._expression || this._updateMirroredExpression(), this._expression; + } + t2.VideoType = f, f.typeIdentifier = _.expressionTypeNames.video; + }, 30268(e2, t2, i2) { + "use strict"; + t2.VoiceSnippetType = void 0; + const n2 = i2(91546), o = i2(94765), r = i2(80428); + class a extends o.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - getDetailDescription() { + get className() { + return "VoiceSnippetType"; } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) return this.expression.getConfiguration(e3, t3); + canConvertLitToExpression(e3) { + return false; } - static createCreateDetails(e3, t3) { - return { create: (i3, n3) => new a(i3, n3, t3, e3), getCreateClass: () => a, modelProperties: [] }; + convertLitToExpression(e3, t3) { + return ""; } - } - 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); + createExpressionOptionClass() { + return new n2.ExpressionTypeVoiceSnippetOptions(); + } + get supportsLiteralEditor() { + return false; } } - t2.MappingError = i2; - }, 41510: (e2, t2) => { + t2.VoiceSnippetType = a, a.typeIdentifier = r.expressionTypeNames.voiceSnippet; + }, 15129(e2, t2, i2) { "use strict"; - 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: c }) { - super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { outputMode: "" }, u, c, a2.getArchIcon()); + t2.WheelPickerItemType = t2.Kp = t2.X$ = void 0; + const n2 = i2(91437), o = i2(80428), r = i2(94765); + t2.X$ = "title", t2.Kp = "value"; + class a extends r.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } get className() { - return "BuilderPartContainerOutputModeDef"; + return "WheelPickerItemType"; } - isAvailableForFlow(e3) { - const t3 = (null == e3 ? void 0 : e3.definition.outputModes.length) > 1; - return this.supportsOutputMode && t3 && !this.supportsLanguageTag; + convertLitToExpression(e3, t3) { + return ""; } - get isBuilderPartContainerOutputModeDef() { - return true; + _getLiteralValueOfExpression() { + return ""; } - get supportsOutputMode() { + createExpressionOptionClass() { + return new n2.ExpressionTypeWheelPickerItemOptions(); + } + get supportsLiteralEditor() { return true; } - createBuilderPartViewModel(e3, t3, i3) { - const n3 = new o.default({ builderPartDefId: this.id, criteria: i3, version: this.version }); - return this.reviveItem(e3, t3, n3); + getPropTitle(e3) { + return e3.getProperty(t2.X$); } - reviveItem(e3, t3, i3, n3) { - return new a.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: !!n3 }); + getPropValue(e3) { + return e3.getProperty(t2.Kp); + } + configurePropertyCreationParams(e3, i3, n3) { + var o2; + switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`wheel-picker-item-${i3.name}`), n3.options.setIsOptional(true), n3.options.setDefaultToNoValue(true), null === (o2 = i3.name) || void 0 === o2 ? void 0 : o2.toLowerCase()) { + case t2.X$: + case t2.Kp: + } } } - t2.default = s; - }, 41593: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F.", noInputReceived: "\u041D\u0456\u0447\u043E\u0433\u043E \u043D\u0435 \u0432\u0432\u0435\u0434\u0435\u043D\u043E." }, askForBoolean: { noInput: '\u041F\u0440\u043E\u043C\u043E\u0432\u0442\u0435 "\u0422\u0430\u043A", \u0449\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u043B\u0438\u0448\u0438\u0442\u0438\u0441\u044F \u0442\u0443\u0442.', noMatch: '\u041F\u0440\u043E\u043C\u043E\u0432\u0442\u0435 "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456". \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438?', question: "\u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438?", noInputDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A", \u0449\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u043B\u0438\u0442\u0438\u0441\u044F \u0442\u0443\u0442.', noMatchDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456". \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438?' }, askForIntent: { noInput: '\u041F\u0440\u043E\u043C\u043E\u0432\u0442\u0435 \u0437\u0430\u043F\u0438\u0442 \u043E\u0434\u043D\u0438\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u043C \u0440\u0435\u0447\u0435\u043D\u043D\u044F\u043C. \u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, "\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0437\u0430\u043B\u0438\u0448\u043E\u043A \u043D\u0430 \u043C\u043E\u0454\u043C\u0443 \u0440\u0430\u0445\u0443\u043D\u043A\u0443"', noMatch: "\u0421\u043A\u0430\u0436\u0456\u0442\u044C \u0449\u0435 \u0440\u0430\u0437, \u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0440\u043E\u0431\u0438\u0442\u0438.", question: "\u0429\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0440\u043E\u0431\u0438\u0442\u0438?", noInputDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C \u0437\u0430\u043F\u0438\u0442 \u043E\u0434\u043D\u0438\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u043C \u0440\u0435\u0447\u0435\u043D\u043D\u044F\u043C. \u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, "\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0437\u0430\u043B\u0438\u0448\u043E\u043A \u043D\u0430 \u043C\u043E\u0454\u043C\u0443 \u0440\u0430\u0445\u0443\u043D\u043A\u0443"' }, askForSlot: { askFor: "\u0417\u0430\u043F\u0438\u0442\u0430\u0442\u0438 %1$s", noInput: "\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430).", noInputWithSlot: "\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C %1$s.", noMatch: "\u041F\u043E\u0432\u0456\u0434\u043E\u043C\u0442\u0435 (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430) \u0449\u0435 \u0440\u0430\u0437.", noMatchWithSlot: "\u041F\u043E\u0432\u0456\u0434\u043E\u043C\u0442\u0435 %1$s \u0449\u0435 \u0440\u0430\u0437.", question: "\u042F\u043A\u0430 (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430)?", questionWithSlot: "\u042F\u043A\u0430 %1$s?", pleaseEnterSlotNameHere: "(\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430)", noInputDigitalBot: "\u0423\u0432\u0435\u0434\u0456\u0442\u044C (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430).", noInputWithSlotDigitalBot: "\u0423\u0432\u0435\u0434\u0456\u0442\u044C %1$s.", continuationPromptWithSlot: "\u041D\u0430\u0440\u0430\u0437\u0456 \u044F \u043C\u0430\u044E {{Slot.%1$s}}. \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u0439\u0442\u0435." }, askForNextSlot: { noInput: '\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0432\u0438\u043A\u043B\u0438\u043A.', noMatch: '\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0441\u0435\u0430\u043D\u0441.', question: "\u0427\u0438 \u0454 \u0449\u0435 \u0449\u043E\u0441\u044C, \u0456\u0437 \u0447\u0438\u043C \u044F \u043C\u043E\u0436\u0443 \u0432\u0430\u043C \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438?", noInputDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0441\u0435\u0430\u043D\u0441.', noMatchDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0441\u0435\u0430\u043D\u0441.' }, askForPayment: { noInputDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u043D\u0430\u0434\u0430\u0439\u0442\u0435 \u043F\u043B\u0430\u0442\u0456\u0436\u043D\u0443 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E.", noMatchDigitalBot: "\u042F \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E \u0432\u0430\u0448\u043E\u0457 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0456. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0449\u0435 \u0440\u0430\u0437." }, askForAuthentication: { noInputDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u043D\u0430\u0434\u0430\u0439\u0442\u0435 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E \u0434\u043B\u044F \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u0457.", noMatchDigitalBot: "\u042F \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E \u0432\u0430\u0448\u043E\u0457 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0456. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0449\u0435 \u0440\u0430\u0437." }, askSurveyQuestion: { notApplicable: "\u041D\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F", surveyAnswerOptionSequence: "\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C %1$s \u0430\u0431\u043E %2$s.", surveyAnswerNotApplicableSequence: "\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0437\u0456\u0440\u043E\u0447\u043A\u0443, \u0449\u043E\u0431 \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \xAB\u041D\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F\xBB.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0437\u0456\u0440\u043E\u0447\u043A\u0443, \u0449\u043E\u0431 \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \xAB\u041D\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F\xBB.", voiceSurveyNoInputText: "\u0414\u0430\u0439\u0442\u0435 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C \u043D\u0430 \u0437\u0430\u043F\u0438\u0442\u0430\u043D\u043D\u044F.", voiceSurveyNoMatchText: "\u041C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0430\u0441 \u0437\u0440\u043E\u0437\u0443\u043C\u0456\u0442\u0438." }, commonModule: { exitCommonModule: "\u0412\u0438\u0439\u0442\u0438 \u0456\u0437 \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F" }, form: { noInputDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0437\u0430\u043F\u043E\u0432\u043D\u0456\u0442\u044C \u0444\u043E\u0440\u043C\u0443.", noMatchDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0437\u0430\u043F\u043E\u0432\u043D\u0456\u0442\u044C \u0444\u043E\u0440\u043C\u0443." }, messagingTemplate: { noInputDigitalBot: "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u043E\u0434\u0438\u043D \u0456\u0437 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0445 \u0432\u0430\u0440\u0456\u0430\u043D\u0442\u0456\u0432.", noMatchDigitalBot: "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u043E\u0434\u0438\u043D \u0456\u0437 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0445 \u0432\u0430\u0440\u0456\u0430\u043D\u0442\u0456\u0432." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438", knowledgeAnswerHighlightFullArticleDefault: "\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0432\u0441\u044E \u0441\u0442\u0430\u0442\u0442\u044E", knowledgeInitialResponseMulti: "\u0429\u043E\u0431 \u043F\u0440\u043E\u044F\u0441\u043D\u0438\u0442\u0438 \u0432\u0430\u0448\u0443 \u0446\u0456\u043B\u044C, \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0447\u0438\u0441\u043B\u043E \u0437\u0456 \u0441\u043F\u0438\u0441\u043A\u0443 \u043D\u0438\u0436\u0447\u0435:", knowledgeInitialResponseMultiRetry: "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0447\u0438\u0441\u043B\u043E, \u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434 1.\n\u041E\u0441\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0432\u0430\u0440\u0456\u0430\u043D\u0442\u0456\u0432:", knowledgeNoMatch: "\u0416\u043E\u0434\u043D\u0435 \u0437 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u043E\u0433\u043E", knowledgeConfirmation: "\u0427\u0438 \u043E\u0442\u0440\u0438\u043C\u0430\u043B\u0438 \u0432\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C \u043D\u0430 \u0441\u0432\u043E\u0454 \u0437\u0430\u043F\u0438\u0442\u0430\u043D\u043D\u044F?", knowledgeFollowup: "\u0421\u043F\u043E\u0434\u0456\u0432\u0430\u044E\u0441\u044F, \u0432\u0438 \u043E\u0442\u0440\u0438\u043C\u0430\u043B\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C \u043D\u0430 \u0441\u0432\u043E\u0454 \u0437\u0430\u043F\u0438\u0442\u0430\u043D\u043D\u044F. \u0417\u0430\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043F\u0440\u043E \u0449\u043E\u0441\u044C \u0449\u0435." }, noOverlay: { intent: { intentConfirmationStr1: "\u0414\u0443\u043C\u0430\u044E, \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435", intentConfirmationStr2: "\u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?" }, youSaid: { youSaidConfirmationStr1: "\u0412\u0438 \u0441\u043A\u0430\u0437\u0430\u043B\u0438", youSaidConfirmationStr2: "\u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?", youSaidConfirmationStr1DigitalBot: "\u0412\u0438 \u0432\u0432\u0435\u043B\u0438" }, noInput: { noInputStr1: "\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C", noInputStr1DigitalBot: "\u0423\u0432\u0435\u0434\u0456\u0442\u044C" }, noMatch: { noMatchStr1: "\u041D\u0430\u0434\u0430\u0439\u0442\u0435" }, whatIs: { whatIsQuestionStr1: "\u042F\u043A\u0438\u0439", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u041D\u0430\u0440\u0430\u0437\u0456 \u044F \u043C\u0430\u044E", iGotContinuationStr2: ". \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u0439\u0442\u0435." } }, defaultCallFlowOne: "\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0437\u0430\u0434\u0430\u043D\u0438\u0439 \u0448\u043B\u044F\u0445 \u0430\u0431\u043E\u043D\u0435\u043D\u0442\u0430", errorHandlingAgentEscalationConfirmation: "\u0412\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u043F\u043E\u0433\u043E\u0432\u043E\u0440\u0438\u0442\u0438 \u0437 \u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0442\u0430\u043D\u0442\u043E\u043C. \u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?", errorHandlingAgentEscalationHandover: "\u0417\u0430\u0447\u0435\u043A\u0430\u0439\u0442\u0435 \u0442\u0440\u043E\u0445\u0438, \u044F \u0437\u2019\u0454\u0434\u043D\u0443\u044E \u0432\u0430\u0441 \u0437 \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C.", errorHandlingErrorEventHandover: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u0441\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0417\u0430\u0447\u0435\u043A\u0430\u0439\u0442\u0435 \u0442\u0440\u043E\u0445\u0438, \u044F \u0437\u2019\u0454\u0434\u043D\u0443\u044E \u0432\u0430\u0441 \u0456\u0437 \u0442\u0438\u043C, \u0445\u0442\u043E \u043C\u043E\u0436\u0435 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438.", errorHandlingErrorEventHandoverVoiceSurvey: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u0441\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u041D\u0430 \u0432\u0441\u0435 \u0434\u043E\u0431\u0440\u0435.", errorHandlingRecognitionEventHandover: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u044F \u0432\u0430\u0441 \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E. \u0417\u0430\u0447\u0435\u043A\u0430\u0439\u0442\u0435 \u0442\u0440\u043E\u0445\u0438, \u044F \u0437\u2019\u0454\u0434\u043D\u0443\u044E \u0432\u0430\u0441 \u0456\u0437 \u0442\u0438\u043C, \u0445\u0442\u043E \u043C\u043E\u0436\u0435 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u044F \u0432\u0430\u0441 \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E. \u041D\u0430 \u0432\u0441\u0435 \u0434\u043E\u0431\u0440\u0435.", errorHandlingTTS: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u0441\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0434\u0456\u0439\u0441\u043D\u0438\u0442\u0438 \u0432\u0438\u043A\u043B\u0438\u043A \u0449\u0435 \u0440\u0430\u0437.", initialGreetingTTS: "\u0412\u0456\u0442\u0430\u044E, \u0446\u0435 \u043F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0435 \u043F\u0440\u0438\u0432\u0456\u0442\u0430\u043D\u043D\u044F.", initialState: "\u041F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0438\u0439 \u0441\u0442\u0430\u043D", initialBotState: "\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0437\u0430\u0434\u0430\u043D\u0438\u0439 \u0431\u043E\u0442", initialDigitalBotState: "\u041F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0435 \u043F\u0440\u0438\u0432\u0456\u0442\u0430\u043D\u043D\u044F", initialSurveyBotState: "\u0411\u043E\u0442 \u0434\u043B\u044F \u043E\u043F\u0438\u0442\u0443\u0432\u0430\u043D\u043D\u044F", intentConfirmation: "\u0414\u0443\u043C\u0430\u044E, \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 %1$s. \u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?", mainMenu: "\u041E\u0441\u043D\u043E\u0432\u043D\u0435 \u043C\u0435\u043D\u044E", mainMenuTTS: "\u0412\u0438 \u043F\u0435\u0440\u0435\u0431\u0443\u0432\u0430\u0454\u0442\u0435 \u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u043C\u0443 \u043C\u0435\u043D\u044E. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C 9, \u0449\u043E\u0431 \u0440\u043E\u0437\u2019\u0454\u0434\u043D\u0430\u0442\u0438 \u0432\u0438\u043A\u043B\u0438\u043A", mainTask: "\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F", settingsConfirmationNoInputApology: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0430\u0441 \u043F\u043E\u0447\u0443\u0442\u0438. \u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \xAB\u0422\u0430\u043A\xBB \u0430\u0431\u043E \xAB\u041D\u0456\xBB.", settingsConfirmationNoInputApologyDigitalBot: '\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u0432\u0456\u0434 \u0432\u0430\u0441 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E. \u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456".', settingsConfirmationNoMatchApology: "\u041F\u0435\u0440\u0435\u043F\u0440\u043E\u0448\u0443\u044E, \u0432\u0438\u043C\u043E\u0432\u0456\u0442\u044C \xAB\u0422\u0430\u043A\xBB \u0430\u0431\u043E \xAB\u041D\u0456\xBB.", settingsConfirmationNoMatchApologyDigitalBot: '\u041F\u0435\u0440\u0435\u043F\u0440\u043E\u0448\u0443\u044E, \u0443\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456".', settingsNoInputApology: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0430\u0441 \u043F\u043E\u0447\u0443\u0442\u0438.", settingsNoInputApologyDigitalBot: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u0432\u0456\u0434 \u0432\u0430\u0441 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E.", settingsEndOfSessionMessageDigitalBot: "\u0412\u0438 \u043D\u0435 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0454\u0442\u0435 \u0432\u0436\u0435 \u0434\u0435\u044F\u043A\u0438\u0439 \u0447\u0430\u0441, \u0442\u043E\u043C\u0443 \u044F \u0437\u0430\u043A\u0440\u0438\u0432\u0430\u044E \u0446\u0435\u0439 \u0447\u0430\u0442. \u0417\u0432\u0435\u0440\u0442\u0430\u0439\u0442\u0435\u0441\u044F, \u044F\u043A\u0449\u043E \u0437\u043D\u043E\u0432\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0432\u0430\u0442\u0438\u043C\u0435\u0442\u0435 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0438. \u0414\u044F\u043A\u0443\u044E!", settingsNoMatchApology: "\u041F\u0435\u0440\u0435\u043F\u0440\u043E\u0448\u0443\u044E.", settingsNoToConfirmationApology: "\u0412\u0438\u0437\u043D\u0430\u044E \u0441\u0432\u043E\u044E \u043F\u043E\u043C\u0438\u043B\u043A\u0443.", periodicStateName: "\u0421\u0442\u0430\u043D \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F" }; - }, 41633: (e2, t2, i2) => { + t2.WheelPickerItemType = a, a.typeIdentifier = o.expressionTypeNames.wheelPickerItem; + }, 53774(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67432)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.WheelPickerType = t2.x = void 0; + const n2 = i2(4872), o = i2(80428), r = i2(94765); + t2.x = "items"; + class a extends r.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get isDigitalAudioViewModel() { + get className() { + return "WheelPickerType"; + } + convertLitToExpression(e3, t3) { + return ""; + } + _getLiteralValueOfExpression() { + return ""; + } + createExpressionOptionClass() { + return new n2.ExpressionTypeWheelPickerOptions(); + } + get supportsLiteralEditor() { return true; } + getPropItems(e3) { + return e3.getProperty(t2.x); + } + configurePropertyCreationParams(e3, t3, i3) { + super.configurePropertyCreationParams(e3, t3, i3), i3.options.setIninTestingField(`wheel-picker-${t3.name}`); + } } - t2.default = r2; - }, 41676: (e2, t2, i2) => { + t2.WheelPickerType = a, a.typeIdentifier = o.expressionTypeNames.wheelPicker; + }, 71111(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.WorktypeViewModel = void 0; - const n2 = i2(31635).__importDefault(i2(92140)); - t2.WorktypeViewModel = class { - constructor(e3) { - this._model = e3; + t2.WrapupCodeType = void 0; + const n2 = i2(17604), o = i2(72987), r = i2(92158), a = i2(94765), s = i2(80428), l = i2(47957); + class u extends a.ExpressionType { + constructor(e3, t3, i3) { + super(e3, t3, i3); } get className() { - return "WorktypeViewModel"; + return "WrapupCodeType"; } - get isBaseClass() { + createExpressionOptionClass() { + return new o.ExpressionTypeWrapupCodeOptions(this.isCollection); + } + canConvertLitToExpression(e3) { return false; } - get id() { - return this._model.id; + convertLitToExpression(e3, t3) { + return ""; } - get name() { - return this._model.name; + _getLiteralValueOfExpression() { + return ""; } - get label() { - return this.name; + get listManager() { + return r.wrapupCodeManager; } - get schema() { - return this._model.schema; + validateLiteral(e3, t3) { + let i3 = super.validateLiteral(e3, t3, true); + if (i3) { + const o2 = this.listManager.getItem(t3.val); + if (t3.options.requiresHasDescription && false === (null == o2 ? void 0 : o2.hasDescription)) { + const r2 = (0, n2.sprintf)(l.customNodes.virtualAgentSettings.wrapupCodeNoDescriptionError, o2.name); + t3.setParseError(r2), e3.addError(t3, r2, false, true), i3 = false; + } + } + return i3; } - get statuses() { - return this._model.statuses; + } + t2.WrapupCodeType = u, u.typeIdentifier = s.expressionTypeNames.wrapupCode; + }, 35315(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionTypeCustomizedModes = void 0, t2.resolveCustomization = function(e3, t3) { + if (!(null == t3 ? void 0 : t3.ref) || !e3) return t3; + let i2 = 0; + for (; (null == t3 ? void 0 : t3.ref) && i2 < 16; ) t3 = e3[t3.ref], i2++; + return i2 < 16 ? t3 : void 0; + }, t2.expressionTypeCustomizedModes = { literalCard: { isLiteralOnly: true, properties: { buttons: { ref: "literalChoices" } } }, literalCards: { isLiteralOnly: true, items: { ref: "literalCard" } }, literalCarousel: { isLiteralOnly: true, properties: { cards: { ref: "literalCards" } } }, literalChoice: { isLiteralOnly: true, properties: { value: { isLiteralOnly: true }, type: { isLiteralOnly: true } } }, literalChoices: { isLiteralOnly: true, items: { ref: "literalChoice" } }, literalChooser: { isLiteralOnly: true, properties: { presentation: { isLiteralOnly: true }, carousel: { ref: "literalCarousel" }, quickReplies: { ref: "literalQuickReplies" } } }, literalQuickReplies: { isLiteralOnly: true, properties: { buttons: { ref: "literalChoices" } } } }; + }, 53476(e2, t2) { + "use strict"; + function i2(e3) { + return function(t3) { + return t3 && true === t3[e3]; + }; + } + function n2(e3) { + return function(t3) { + return t3 && true === t3[e3]; + }; + } + function o(e3) { + return function(t3) { + return t3 && t3.isNormalExpression && e3(t3.options); + }; + } + var r; + t2.isCardExpression = t2.isCardCollection = t2.RZ = t2.isChoiceExpression = t2.isCustomJsonExpressionType = t2.isChooserExpressionType = t2.isListPickerExpressionType = t2.isChoiceExpressionType = t2.tE = t2.kG = t2.areOptionsBooleanType = t2.areOptionsStringType = t2.areOptionsJsonType = void 0, t2.areOptionsJsonType = i2("isExpressionTypeJsonOptions"), i2("isCustomJsonType"), t2.areOptionsStringType = i2("isExpressionTypeStringOptions"), i2("isExpressionTypeIntegerOptions"), t2.areOptionsBooleanType = i2("isExpressionTypeBooleanOptions"), i2("isExpressionTypeCurrencyOptions"), t2.kG = i2("isExpressionTypeChoiceOptions"), t2.tE = n2("isJsonType"), t2.isChoiceExpressionType = n2("isChoiceType"), t2.isListPickerExpressionType = n2("isListPickerType"), t2.isChooserExpressionType = n2("isChooserType"), t2.isCustomJsonExpressionType = (e3) => (0, t2.tE)(e3) && n2("isCustomType")(e3), t2.isChoiceExpression = o(t2.kG), o(t2.areOptionsStringType), t2.RZ = i2("isExpressionTypeCardOptions"), t2.isCardCollection = (r = t2.RZ, function(e3) { + return e3 && e3.isCollectionExpression && r(e3.options); + }), t2.isCardExpression = o(t2.RZ); + }, 18637(e2, t2, i2) { + "use strict"; + t2.AudioExpression = void 0; + const n2 = i2(31635), o = i2(17604), r = 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)), I = n2.__importStar(i2(42989)), C = n2.__importStar(i2(33653)), O = 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 o2 = new P.ExpressionParameters(e3.parentFlow, e3.parent, t3, e3.label); + o2.type = R.globalTypes.audio, o2.options = r.default.isUndefined(n3) ? l.ExpressionTypeAudioOptions.create(function(e4) { + e4.setAllowSecure(true); + }) : n3, e3.parentAudioViewModel && o2.options.setFromOptions(e3.parentAudioViewModel.options), o2.options.setSuppressParserValidationMessages(true).setAllowModeExpression(true, false).setIsOptional(false).setAllowModeLiteral(false).setDoNotTrackUsages(true).setDisallowedFunctionMap(e3.options.disallowedFunctionMap), i3 && (o2.options.renameVariablesCallback = (e4) => { + i3.parameter = e4.text, i3.model = e4.model; + }), o2.parentAudio = e3; + const a2 = new M.NormalExpression(o2); + return e3.initializeDesignTimeCalled && a2.initializeDesignTime(), a2; + } + function k(e3) { + r.default.each(e3.sequenceItems, function(t3) { + e3.validateSequenceItem(t3); + }); + } + function V(e3) { + if (e3.isNoValueMode) return ""; + const t3 = []; + r.default.each(e3.sequenceItems, (i4) => { + const n3 = (function(e4, t4) { + if (!e4.parameter) return ""; + let i5, n4; + switch (e4.type) { + case I.tts: + return e4.parameter && e4.parameter.trim() ? (0, o.sprintf)('ToAudioTTS("%s")', b.default.rawEscapeStringForExpressionMode(e4.parameter)) : null; + case I.prompt: + return i5 = _.getItem(e4.parameter), n4 = "", !i5 && e4.name ? n4 = e4.name : i5 && (n4 = i5.expressionName), (0, o.sprintf)("ToAudio(%s)", n4); + case I.expression: + return e4.expression && (e4.expression.processText(true), e4.expression.config && e4.expression.config.root) ? e4.expression.config.text : e4.parameter; + case I.blank: + return e4.parameter ? (0, o.sprintf)("ToAudioBlank(%s)", e4.parameter) : null; + case I.data: + try { + const i6 = t4.parentFlow.variableGroup.getExpandedVariable(e4.variableId); + if (i6) return (0, o.sprintf)(e4.expressionFormat, i6.getExpressionTextWithNameFallback(), e4.parameter2 || ""); + } catch (e5) { + console.log(e5); + } + return (0, o.sprintf)(e4.expressionFormat, e4.parameter, e4.parameter2 || ""); + default: + 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, o.sprintf)("Append(%s)", t3.join(", "))), O.expressionDataService.expressionFuncOpsByOverloadId[m.default.audio_AudioPlaybackOptions_Barge] && !O.expressionDataService.expressionFuncOpsByOverloadId[m.default.audio_AudioPlaybackOptions_Barge].isUnavailable && "" !== i3 && e3.parentAudioViewModel.options.supportsBargeInExpression && e3.parentAudioViewModel.bargeInExpression && (i3 = (0, o.sprintf)("AudioPlaybackOptions(%s, %s)", i3, e3.parentAudioViewModel.bargeInExpression.getEmbeddableExpressionText())), i3; + } + function U(e3) { + if (e3.parentFlow && !e3.parentFlow.loaded) return; + if (e3.customExpressionMode) return; + const t3 = V(e3); + e3.setText(t3, true, false), k(e3); + } + function B(e3, t3) { + return e3.sequenceItems.push(t3), e3.validateSequenceItem(t3), d.fireEvent(e3, u.sequenceItemsChanged, false), t3; + } + let G = 500; + class j extends D.BaseExpression { + get className() { + return "AudioExpression"; } - get schemas() { - return this._model.schemas; + constructor(e3) { + 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 : []; + r.default.each(t3, function(e4) { + e4.$testId = (0, g.uuid)(); + }), this.sequenceItems = t3 || [], this.updateSequenceExpressionDebounced = r.default.debounce(U.bind(null, this), this.updateTime), this.buildExpressionText = V.bind(this), this._sequenceErrors = {}, this._initialize(); } - get schemaInfo() { - return this._model.schemaInfo; + get $testId() { + return this.model.uiMetaData.$testId; } - get dateBasedRules() { - return this._model.dateBasedRules; + get blankAudioDefault() { + return G; } - get result() { - return this._model.result; + set blankAudioDefault(e3) { + G = e3; } - get flow() { - return this._model.flow; + get customExpressionMode() { + return !!this.model.uiMetaData && !!this.model.uiMetaData.customExpressionMode; } - get resultIsOk() { - var e3; - return "ok" === (null === (e3 = this.result) || void 0 === e3 ? void 0 : e3.toLowerCase()); + set customExpressionMode(e3) { + this.model.uiMetaData.customExpressionMode = !!e3, e3 || 0 !== this.sequenceItems.length || this.addTtsSequence(); } - get isAssociatedWithFlow() { - var e3; - return n2.default.isString(null === (e3 = this.flow) || void 0 === e3 ? void 0 : e3.id); + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForComparison) return c.removePropertiesForComparison(this.model); + if (null == t3 ? void 0 : t3.isForFlowYaml) { + if (!this.hasAudioSet) return null; + const e4 = {}, t4 = this.isBargeInEnabled; + if (t4 && this.isTTSOnly) e4.tts = this.sequenceItems[0].parameter; + else if (t4 && this.isPromptOnly) e4.prompt = this.sequenceItems[0].name; + else { + if (!this.text) return null; + e4.exp = this.text; + } + return e4; + } + return this.model; } - get isWorktypeViewModel() { + getDisplayName() { + return ""; + } + get isNoValueMode() { + const e3 = this.parentAudioViewModel; + return !!e3 && e3.noValueMode; + } + get isAudioExpression() { return true; } - }; - }, 41714: (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)), 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"; + get parentAudio() { + return this._parentAudio; } - getConfigListManagerForFlowType(e3, t3, i3) { - switch (this._checkItem(this._infoParm("archCallingObject", "getConfigListManagerForFlowType"), !e3 || !e3.isArchBaseObject, "INTERNAL ERROR - invalid calling object passed to getConfigListManagerForFlowType :("), i3) { - 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 + "'."); + set parentAudio(e3) { + this._parentAudio = e3, this.updateSequenceExpression(true); + } + get isTTSOnly() { + return !this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === I.tts; + } + get isPromptOnly() { + return !this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === I.prompt; + } + get isPromptVariableOnly() { + if (!this.customExpressionMode && this.sequenceItems && 1 === this.sequenceItems.length && this.sequenceItems[0].type === I.data) { + const e3 = this.parentFlow.getVariable(this.sequenceItems[0].variableId); + return e3 && e3.type.isMatch(R.globalTypes.prompt, E.settings.exact); } + return false; } - } - t2.default = new I(); - }, 41719: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - 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), c = i2(28619); - t2.bufferTime = function(e3) { - 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 && d2(); - }, d2 = function() { - if (o2) { - var t5 = new r2.Subscription(); - i4.add(t5); - var n3 = { buffer: [], subs: t5 }; - o2.push(n3), c.executeSchedule(t5, _, function() { - return u2(n3); - }, e3); - } - }; - 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, c2 = l3.buffer; - c2.push(e4), m <= c2.length && u2(l3); - } - } catch (e5) { - t5 = { error: e5 }; - } finally { - try { - s2 && !s2.done && (i5 = a2.return) && i5.call(a2); - } finally { - if (t5) throw t5.error; - } - } - }, function() { - for (; null == o2 ? void 0 : o2.length; ) i4.next(o2.shift().buffer); - null == p2 || p2.unsubscribe(), i4.complete(), i4.unsubscribe(); - }, void 0, function() { - return o2 = null; - }); - t4.subscribe(p2); - }); - }; - }, 41739: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - }, 41757: (e2, t2, i2) => { - "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(55015)), a = i2(19596), s = i2(80295), l = i2(80295); - class u extends a.DataContract { - constructor(e3) { - super(e3), (0, l.makeUnenumerable)(this, "_availability"), (0, l.makeUnenumerable)(this, "_dataTypeId"), (0, l.makeUnenumerable)(this, "_description"), (0, l.makeUnenumerable)(this, "_facets"), (0, l.makeUnenumerable)(this, "_isCollection"), (0, l.makeUnenumerable)(this, "_name"), this._availability || (this._availability = o.default.createAvailable("availability")); + get parentAudioViewModel() { + return !this.parentAudio || this.parentAudio.isAudioViewModel ? this.parentAudio : this.parentAudio.parentAudioViewModel; + } + get hasAudioSet() { + return this.customExpressionMode ? !this.isBlank : this.isTTSOnly ? !!this.sequenceItems[0].parameter : this.hasSequenceItems; + } + get hasSequenceItems() { + return this.sequenceItems && this.sequenceItems.length > 0; } - get availability() { - return this._availability; + get sequenceInError() { + return this._sequenceErrors && Object.keys(this._sequenceErrors).length > 0; } - set availability(e3) { - this._availability = this.reviveItem(e3, o.default); + getErrorForSequenceItem(e3) { + if (this._sequenceErrors && e3) return this._sequenceErrors[e3.$testId]; } - get dataTypeId() { - return this._dataTypeId; + get isSequenceItemsEmptyOrTtsWithNoAudioSet() { + return !this.hasSequenceItems || this.isTTSOnly && !this.hasAudioSet; } - set dataTypeId(e3) { - this._dataTypeId = e3; + _getHasError() { + return !!this.sequenceInError || super._getHasError(); } - get description() { - return this._description; + updateSequenceExpression(e3) { + e3 ? U(this) : this.updateSequenceExpressionDebounced(); } - set description(e3) { - this._description = e3; + _initialize() { + r.default.each(this.sequenceItems, (e3) => { + if (e3.type === I.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; + } + }), _.userPromptListManager.registerAudioExpression(this), super._initialize(); } - get facets() { - return this._facets; + _initializeDesignTime() { + super._initializeDesignTime(), this.parentFlow.isReadOnly || this.sequenceItems.forEach((e3) => { + if (e3.type === I.data && e3.expressionFormat) { + const t3 = this.parentFlow.variableGroup.getExpandedVariable(e3.variableId); + if (t3) { + 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 === I.expression && e3.expression && e3.expression.initializeDesignTime(); + }); } - set facets(e3) { - this._facets = e3; + _ensureUiMetaData() { + super._ensureUiMetaData(), this.model.uiMetaData.sequenceItems = this.sequenceItems, this.model.uiMetaData.$testId = this.model.uiMetaData.$testId || (0, g.uuid)(); } - get isCollection() { - return this._isCollection; + addBlankSequence() { + return B(this, { $testId: (0, g.uuid)(), parameter: this.blankAudioDefault, type: I.blank }); } - set isCollection(e3) { - this._isCollection = e3; + addClipboardDependencies(e3, t3) { + super.addClipboardDependencies(e3), r.default.each(this.sequenceItems, (i3) => { + let n3; + switch (i3.type) { + case I.data: + n3 = this.parentFlow.getVariable(i3.variableId), e3.copyCutAddDependencyVariable(n3, t3); + break; + case I.expression: + i3.expression && i3.expression.addClipboardDependencies(e3); + } + }), r.default.each(this.variables, function(i3) { + e3.copyCutAddDependencyVariable(i3, t3); + }); } - get name() { - return this._name; + addTtsSequence() { + return B(this, { $testId: (0, g.uuid)(), type: I.tts }); } - set name(e3) { - this._name = e3; + addPromptSequence() { + return B(this, { $testId: (0, g.uuid)(), type: I.prompt }); } - } - t2.default = u, r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], u.prototype, "availability", null), r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [String])], u.prototype, "dataTypeId", null), r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [String])], u.prototype, "description", null), r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", Object), r2.__metadata("design:paramtypes", [Object])], u.prototype, "facets", null), r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Boolean])], u.prototype, "isCollection", null), r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [String])], u.prototype, "name", null); - }, 41800: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11541)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this.populateFromJSON(e3); + addDataSequence(e3) { + const t3 = { type: I.data, $testId: (0, g.uuid)() }; + return e3 && (t3.parameter = e3.name, t3.variableId = e3.id), B(this, t3); } - get languageTag() { - return this._languageTag; + addExpressionSequence(e3, t3) { + const i3 = { $testId: (0, g.uuid)(), type: I.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); } - set languageTag(e3) { - this._languageTag = e3; + allPromptsHaveAudio() { + return r.default.every(this.getOrderedPrompts(), (e3) => this.promptHasAudio(e3.id)); } - } - t2.default = r2; - }, 41827: (e2, t2, i2) => { - "use strict"; - var n2 = i2(52696); - class r2 { - 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; + cloneSequenceItems(e3) { + this.sequenceItems.length = 0, r.default.each(e3.sequenceItems, (e4) => { + let t3; + e4.type === I.expression ? (t3 = this.addExpressionSequence(new s.default(r.default.clone(e4.model)), e4.expression.options), t3.parameter = e4.parameter) : (t3 = r.default.clone(e4), t3.type === I.expression && (t3.expression = x(this, new s.default(t3.model), t3)), this.sequenceItems.push(t3)); + }); } - toString() { - return `[${this.stack.filter((e3, t3) => t3 % 3 == 0).concat(this.state)}]@${this.pos}${this.score ? "!" + this.score : ""}`; + copyExpressionValue(e3) { + this.customExpressionMode = e3.customExpressionMode, this.customExpressionMode && (this.text = e3.text), this.cloneSequenceItems(e3), this.updateSequenceExpression(true); } - static start(e3, t3, i3 = 0) { - let n3 = e3.parser.context; - return new r2(e3, [], t3, i3, i3, 0, [], 0, n3 ? new o(n3, n3.start) : null, 0, null); + clear(e3) { + this._reset(e3), this.setConfigAndMetaData(w.default.getEmp(this)); } - get context() { - return this.curContext ? this.curContext.context : null; + _destroy() { + _.userPromptListManager.unregisterAudioExpression(this), r.default.each(this.sequenceItems, (e3) => { + e3 && e3.type === I.expression && e3.expression && e3.expression.destroy(); + }), super._destroy(); } - pushState(e3, t3) { - this.stack.push(this.state, t3, this.bufferBase + this.buffer.length), this.state = e3; + getOrderedPrompts() { + var e3; + let t3 = []; + if (this.customExpressionMode) { + const i3 = this.getPromptReferences(); + (null === (e3 = this.indirectlyUsedPrompts) || void 0 === e3 ? void 0 : e3.length) && this.indirectlyUsedPrompts.forEach((e4) => { + i3.push(e4); + }), r.default.each(i3, function(e4) { + const i4 = _.getItem(e4.id); + i4 && t3.push(i4); + }); + } else r.default.each(this.sequenceItems, (e4) => { + t3 = r.default.union(t3, this.getPromptsFromSequenceItem(e4)); + }); + return t3; } - reduce(e3) { - var t3; - let i3 = e3 >> 19, n3 = 65535 & e3, { parser: r3 } = this.p, o2 = this.reducePos < this.pos - 25 && this.setLookAhead(this.pos), a2 = r3.dynamicPrecedence(n3); - if (a2 && (this.score += a2), 0 == i3) return n3 < r3.minRepeatTerm && this.reducePos < this.pos && (this.reducePos = this.pos), this.pushState(r3.getGoto(this.state, n3, true), this.reducePos), n3 < r3.minRepeatTerm && this.storeNode(n3, this.reducePos, this.reducePos, o2 ? 8 : 4, true), void this.reduceContext(n3, this.reducePos); - let s2 = this.stack.length - 3 * (i3 - 1) - (262144 & e3 ? 6 : 0), l2 = s2 ? this.stack[s2 - 2] : this.p.ranges[0].from; - 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 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, d2 + 4, true); - } - if (262144 & e3) this.state = this.stack[s2]; - else { - let e4 = this.stack[s2 - 3]; - this.state = r3.getGoto(e4, n3, true); + getPromptsFromSequenceItem(e3) { + const t3 = []; + let i3, n3; + switch (e3.type) { + case I.prompt: + i3 = _.getItem(e3.parameter), i3 && t3.push(i3); + break; + case I.expression: + n3 = e3.expression.getPromptReferences(), r.default.each(n3, function(e4) { + const i4 = _.getItem(e4.id); + i4 && t3.push(i4); + }); + break; + case I.data: + case I.tts: + case I.blank: + break; + default: + L.error("Unknown sequence item type of " + e3.type); } - for (; this.stack.length > s2; ) this.stack.pop(); - this.reduceContext(n3, l2); + return t3; } - storeNode(e3, t3, i3, n3 = 4, r3 = false) { - if (0 == e3 && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) { - let e4 = this.buffer.length; - if (e4 > 0 && 0 == this.buffer[e4 - 4] && this.buffer[e4 - 1] > -1) { - if (t3 == i3) return; - if (this.buffer[e4 - 2] >= t3) return void (this.buffer[e4 - 2] = i3); - } + promptSequenceHasAudio(e3) { + return e3.type !== I.prompt || !e3.parameter || this.promptHasAudio(e3.parameter); + } + promptHasAudio(e3) { + if (e3) { + const t3 = _.getItem(e3); + return !!t3 && p.promptHasRequiredMedia(this.parentFlow, t3, this.languages); } - if (r3 && this.pos != i3) { - let r4 = this.buffer.length; - if (r4 > 0 && (0 != this.buffer[r4 - 4] || this.buffer[r4 - 1] < 0)) { - let e4 = false; - for (let t4 = r4; t4 > 0 && this.buffer[t4 - 2] > i3; t4 -= 4) if (this.buffer[t4 - 1] >= 0) { - e4 = true; - break; - } - if (e4) for (; r4 > 0 && this.buffer[r4 - 2] > i3; ) this.buffer[r4] = this.buffer[r4 - 4], this.buffer[r4 + 1] = this.buffer[r4 - 3], this.buffer[r4 + 2] = this.buffer[r4 - 2], this.buffer[r4 + 3] = this.buffer[r4 - 1], r4 -= 4, n3 > 4 && (n3 -= 4); - } - this.buffer[r4] = e3, this.buffer[r4 + 1] = t3, this.buffer[r4 + 2] = i3, this.buffer[r4 + 3] = n3; - } else this.buffer.push(e3, t3, i3, n3); + return false; } - shift(e3, t3, i3, n3) { - if (131072 & e3) this.pushState(65535 & e3, this.pos); - else if (262144 & e3) this.pos = n3, this.shiftContext(t3, i3), t3 <= this.p.parser.maxNode && this.buffer.push(t3, i3, n3, 4); + replaceUsages(e3, t3, i3) { + if (this.customExpressionMode) super.replaceUsages(e3, t3, i3); else { - let r3 = e3, { parser: o2 } = this.p; - this.pos = n3; - let a2 = o2.stateFlag(r3, 1); - !a2 && (n3 > i3 || t3 <= o2.maxNode) && (this.reducePos = n3), this.pushState(r3, a2 ? i3 : Math.min(i3, this.reducePos)), this.shiftContext(t3, i3), t3 <= o2.maxNode && this.buffer.push(t3, i3, n3, 4); + let n3 = false; + r.default.each(this.sequenceItems, (o2) => { + o2.type === I.data && o2.parameter === e3 ? (o2.parameter = t3, o2.type === I.data && i3 && i3.id && (o2.variableId = i3.id), n3 = true) : o2.type === I.expression && o2.parameter && o2.parameter.toLowerCase().indexOf(e3.toLowerCase()) > -1 && (o2.expression.replaceUsages(e3, t3, i3), o2.parameter = o2.expression.text, n3 = true); + }), n3 && this.updateSequenceExpression(true); } } - apply(e3, t3, i3, n3) { - 65536 & e3 ? this.reduce(e3) : this.shift(e3, t3, i3, n3); + renamePromptVariables(e3) { + this.customExpressionMode ? super.renamePromptVariables(e3) : r.default.each(this.sequenceItems, (t3, i3) => { + if (t3.type === I.expression) t3.expression.renamePromptVariables(); + else if (t3.type === I.prompt && !t3.isSystem) { + let n3 = _.userPromptListManager.getItem(t3.parameter); + if (n3 && n3.expressionName !== t3.name) { + const o2 = t3.name; + 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, o2); + } 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); } - useNode(e3, t3) { - let i3 = this.p.reused.length - 1; - (i3 < 0 || this.p.reused[i3] != e3) && (this.p.reused.push(e3), i3++); - let n3 = this.pos; - this.reducePos = this.pos = n3 + e3.length, this.pushState(t3, n3), this.buffer.push(i3, n3, this.reducePos, -1), this.curContext && this.updateContext(this.curContext.tracker.reuse(this.curContext.context, e3, this, this.p.stream.reset(this.pos - e3.length))); + updateIfPromptIsUsed(e3) { + r.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), k(this)); } - split() { - let e3 = this, t3 = e3.buffer.length; - for (t3 && 0 == e3.buffer[t3 - 4] && (t3 -= 4); t3 > 0 && e3.buffer[t3 - 2] > e3.reducePos; ) t3 -= 4; - let i3 = e3.buffer.slice(t3), n3 = e3.bufferBase + t3; - for (; e3 && n3 == e3.bufferBase; ) e3 = e3.parent; - return new r2(this.p, this.stack.slice(), this.state, this.reducePos, this.pos, this.score, i3, n3, this.curContext, this.lookAhead, e3); + search(e3) { + this.customExpressionMode ? e3.checkText(this, this.text, this.label) : r.default.each(this.sequenceItems, (t3) => { + t3.type !== I.prompt && e3.checkText(this, t3.parameter, this.label); + }); } - recoverByDelete(e3, t3) { - let i3 = e3 <= this.p.parser.maxNode; - i3 && this.storeNode(e3, this.pos, t3, 4), this.storeNode(0, this.pos, t3, i3 ? 8 : 4), this.pos = this.reducePos = t3, this.score -= 190; + 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 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 M.NormalExpression(i3), n3.expression.parentAudio = this.parentAudio, n3.expression.text = e3, n3.parameter = e3, this.updateSequenceExpression(); } - canShift(e3) { - for (let t3 = new a(this); ; ) { - let i3 = this.p.parser.stateSlot(t3.state, 4) || this.p.parser.hasAction(t3.state, e3); - if (0 == i3) return false; - if (!(65536 & i3)) return true; - t3.reduce(i3); - } + 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(), d.fireEvent(this, u.sequenceItemsChanged), t3 - 1; } - recoverByInsert(e3) { - if (this.stack.length >= 300) return []; - let t3 = this.p.parser.nextStates(this.state); - if (t3.length > 8 || this.stack.length >= 120) { - let i4 = []; - for (let n3, r3 = 0; r3 < t3.length; r3 += 2) (n3 = t3[r3 + 1]) != this.state && this.p.parser.hasAction(n3, e3) && i4.push(t3[r3], n3); - if (this.stack.length < 120) for (let e4 = 0; i4.length < 8 && e4 < t3.length; e4 += 2) { - let n3 = t3[e4 + 1]; - i4.some((e5, t4) => 1 & t4 && e5 == n3) || i4.push(t3[e4], n3); + 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(), 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(), 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), h.validateItem(this, void 0, true), d.fireEvent(this, u.sequenceItemsChanged)); + } + setPromptOnly(e3) { + this.customExpressionMode = false, this.isPromptOnly || (this.sequenceItems.length = 0, this.addPromptSequence()); + const t3 = this.sequenceItems[0]; + e3.id !== t3.parameter && (t3.parameter = e3.id, t3.isSystem = e3.isSystem, t3.name = e3.expressionName, t3.expressionName = e3.expressionName), this.updateSequenceExpression(); + } + setTTSOnly(e3) { + this.customExpressionMode = false, this.isTTSOnly || (this.sequenceItems.length = 0, this.addTtsSequence()), e3 !== this.sequenceItems[0].parameter && (this.sequenceItems[0].parameter = e3), this.updateSequenceExpression(); + } + setPromptVariableOnly(e3) { + this.customExpressionMode = false, this.sequenceItems.length = 0, this.addDataSequence(e3), this.sequenceItems[0].expressionFormat = "ToAudio(%s)", this.updateSequenceExpression(); + } + validate(e3) { + if (this._sequenceErrors = {}, !this.outOfService) { + if (e3.isDeep && this.renamePromptVariables(), this.customExpressionMode) this.hasWarning && this._parseResult.resultMessage && e3.addWarning(this, this._parseResult.resultMessage, void 0, true); + else { + if (this.isNoValueMode ? this.processText(true) : r.default.each(this.sequenceItems, (t3, i3) => { + if (this.validateSequenceItem(t3)) { + const t4 = (0, o.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, o.sprintf)(F.audio.sequenceWarn, i3 + 1, this.label), void 0, true); + }), this.sequenceInError) return void this.clearParseResult(); + this.processText(true); } - t3 = i4; + if (!this.isBlank || this.isOptional && (this.options.allowBlankAudio || this.isNoValueMode)) return super.validate(e3); + e3.addError(this.parentAudioViewModel, (0, o.sprintf)(F.expression.notSetWithContext, this.label), void 0, true); } - let i3 = []; - for (let e4 = 0; e4 < t3.length && i3.length < 4; e4 += 2) { - let n3 = t3[e4 + 1]; - if (n3 == this.state) continue; - let r3 = this.split(); - r3.pushState(n3, this.pos), r3.storeNode(0, r3.pos, r3.pos, 4, true), r3.shiftContext(t3[e4], this.pos), r3.reducePos = this.pos, r3.score -= 200, i3.push(r3); + } + validateSequenceItem(e3) { + let t3, i3; + switch (e3.type) { + case I.prompt: + t3 = (function(e4, t4) { + if (t4.parameter) { + const i4 = _.getItem(t4.parameter); + return !i4 && t4.name ? (0, o.sprintf)(F.audio.errorPromptCouldNotBeFound, t4.name) : i4 ? (t4.warningText = C.checkPromptAudioDuration(e4, t4.parameter), e4.addVariableOrPromptReference(i4.expressionName), i4.getTtsExceedsMaxLengthError(e4) || (e4.promptSequenceHasAudio(t4) ? "" : e4.getPromptMissingResourcesErrorString(i4))) : F.audio.errorNoPrompt; + } + return F.audio.errorNoPrompt; + })(this, e3) || "", i3 = e3.$testId; + break; + case I.data: + t3 = (function(e4, t4) { + let i4, n3, r2; + if (t4.functionOverloadIds) for (let e5 = 0; e5 < t4.functionOverloadIds.length; e5++) { + const o2 = O.expressionDataService.expressionFuncOpsByOverloadId[t4.functionOverloadIds[e5]]; + o2 && !o2.isUnavailable || (i4 = true), o2 && (o2.runtimeSequencesSystemPrompts && (n3 = true), o2.runtimeRequiresTTSSupport && (r2 = 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, o.sprintf)(F.audio.errorNoAudioPlaybackSupport, a2.text); + if (r2 && !e4.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t5) => a2.getSupportsTTSPlaybackForFlowType(t5, e4.parentFlow))) return (0, o.sprintf)(F.audio.errorNoTTSSupport, a2.text); + if (r2 && !a2.getSupportsTTSPlaybackForFlow(e4.parentFlow.topParentFlow)) return e4.parentFlow.validationResults.missingTTSEngine[a2.text] = true, (0, o.sprintf)(F.audio.errorNotValidTTS, a2.text); + if (t4.languageGender && (!a2.supportedLanguageContexts || !a2.supportedLanguageContexts[t4.languageGender.id])) return (0, o.sprintf)(F.audio.errorNoLanguageGenderSupport, a2.id); + if (t4.languageCase && (!a2.supportedLanguageContexts || !a2.supportedLanguageContexts[t4.languageCase.id])) return (0, o.sprintf)(F.audio.errorNoLanguageCaseSupport, a2.id); + } + 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, o.sprintf)(F.expression.secureVariableUsageNotAllowed, n4.name) : t4.expressionFormat ? "" : F.audio.errorNoDataOptions : F.audio.errorInvalidVariable; + } + return F.audio.errorNoVariable; + })(this, e3) || "", i3 = e3.$testId; + break; + case I.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 = C.checkExpressionPromptReferences(e4)); + })(this, e3) || "", i3 = e3.expression.id; + break; + case I.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, o.sprintf)(F.audio.errorNoTTSSupport, n3.text); + if (!n3.getSupportsTTSPlaybackForFlow(e4.parentFlow.topParentFlow)) return e4.parentFlow.validationResults.missingTTSEngine[n3.text] = true, (0, o.sprintf)(F.audio.errorNotValidTTS, n3.text); + const r2 = n3.getStringExceedsMaxRequestLengthError(e4.parentFlow.topParentFlow, t4.parameter); + if (r2) return r2; + } + })(this, e3) || "", i3 = e3.$testId; + break; + case I.blank: + t3 = (function(e4, t4) { + if (!t4.parameter) return F.audio.errorNoBlankAudioLength; + t4.warningText = C.checkBlankAudioLength(e4, t4.parameter); + })(this, e3) || "", i3 = e3.$testId; + break; + default: + t3 = F.audio.typeNotRecognizedError; } - return i3; + return "" !== t3 ? this._sequenceErrors[i3] = t3 : this._sequenceErrors[i3] && delete this._sequenceErrors[i3], e3.error = t3, t3; } - forceReduce() { - let { parser: e3 } = this.p, t3 = e3.stateSlot(this.state, 5); - if (!(65536 & t3)) return false; - if (!e3.validAction(this.state, t3)) { - let i3 = t3 >> 19, n3 = 65535 & t3, r3 = this.stack.length - 3 * i3; - if (r3 < 0 || e3.getGoto(this.stack[r3], n3, false) < 0) { - let e4 = this.findForcedReduction(); - if (null == e4) return false; - t3 = e4; - } - this.storeNode(0, this.pos, this.pos, 4, true), this.score -= 100; + getSequenceItemWarning(e3) { + switch (e3.type) { + case I.tts: + if (!e3.parameter) return F.audio.blankTTSWarning; + break; + case I.expression: + return e3.expression && e3.expression.hasWarning ? e3.expression._parseResult.resultMessage : e3.warningText; + case I.prompt: + case I.blank: + return e3.warningText; } - return this.reducePos = this.pos, this.reduce(t3), true; } - findForcedReduction() { - let { parser: e3 } = this.p, t3 = [], i3 = (n3, r3) => { - if (!t3.includes(n3)) return t3.push(n3), e3.allActions(n3, (t4) => { - if (393216 & t4) ; - else if (65536 & t4) { - let i4 = (t4 >> 19) - r3; - if (i4 > 1) { - let n4 = 65535 & t4, r4 = this.stack.length - 3 * i4; - if (r4 >= 0 && e3.getGoto(this.stack[r4], n4, false) >= 0) return i4 << 19 | 65536 | n4; - } - } else { - let e4 = i3(t4, r3 + 1); - if (null != e4) return e4; - } - }); - }; - return i3(this.state, 0); + get runtimeConsumingFlowTypes() { + var e3, t3; + return (null === (t3 = null === (e3 = this.parentAudio) || void 0 === e3 ? void 0 : e3.supportedFlowTypes) || void 0 === t3 ? void 0 : t3.length) ? r.default.intersection(this.parentFlow.destinationFlowTypes, this.parentAudio.supportedFlowTypes) : this.parentFlow.destinationFlowTypes; } - forceAll() { - for (; !this.p.parser.stateFlag(this.state, 2); ) if (!this.forceReduce()) { - this.storeNode(0, this.pos, this.pos, 4, true); - break; + 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, o2 = /* @__PURE__ */ new Set(["tts", "exp", "prompt"]), r2 = 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 !== r2 ? this.setExpressionOnly(r2) : void 0 !== a2 ? this.setTTSOnly(a2) : void 0 !== s2 && this.setExpressionOnly(s2), i3) for (const e4 of Object.keys(n3)) o2.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) === N.default.true; + } + allowExpandedVariableReference(e3) { + return !(null == e3 ? void 0 : e3.hierarchicalParent); + } + } + t2.AudioExpression = j; + }, 46782(e2, t2, i2) { + "use strict"; + t2.BaseExpression = void 0; + const n2 = i2(31635), o = i2(17604), r = 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), I = n2.__importStar(i2(1115)), C = i2(9456), O = 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"); + function q(e3, t3) { + if (t3 && t3.ref && t3.ref.type === F.expressionTypeNames.prompt) { + const i3 = S.getItem(t3.ref.val); + if (i3 && i3.expressionName !== t3.ref.text) { + j.info(`renaming prompt with id ${i3.id} in expression with id ${e3.id}`); + const n3 = t3.ref.text; + !(function(e4, t4, i4) { + const n4 = e4.text.length, o2 = e4.text.slice(0, t4.pos - 1 + e4._renameOffset), r2 = e4.text.slice(t4.pos - 1 + t4.text.length + e4._renameOffset); + e4.text = o2 + i4 + r2, e4._renameOffset += e4.text.length - n4, e4.options.renameVariablesCallback && e4.options.renameVariablesCallback(e4); + })(e3, t3.ref, i3.expressionName), p.emitter.emit(p.promptChanged, i3, n3); } - return this; + } else r.default.isObject(t3) && r.default.each(t3, function(t4) { + q(e3, t4); + }); + } + function W(e3, t3) { + e3._parseResult = M.default.parse(e3), e3._parseResult.success ? e3.setConfigAndMetaData(e3._parseResult.resultExpression, e3._parseResult.metaData) : e3.setConfigAndMetaData(void 0), r.default.each(e3.delayedClearVariableList, (t4) => { + e3.variables[t4.id] || t4.removeUsage(e3); + }), e3.delayedClearVariableList = {}, g.fireEvent(e3, p.expressionParseComplete), e3._executeCallbacks(e3.valueChangedCallbacks, "valueChangedCallbacks"), t3 && t3(); + } + class Y extends O.default { + get customExpressionMode() { + return false; } - get deadEnd() { - if (3 != this.stack.length) return false; - let { parser: e3 } = this.p; - return 65535 == e3.data[e3.stateSlot(this.state, 1)] && !e3.stateSlot(this.state, 4); + get isAudioExpression() { + return false; } - restart() { - this.storeNode(0, this.pos, this.pos, 4, true), this.state = this.stack[0], this.stack.length = 0; + constructor(e3) { + var t3; + super(e3.parentFlow, e3.parent), this._hasLiteralError = false, this._serverSearches = [], this.valueChangedCallbacks = [], this._id = (0, C.uuid)(), this._throttledParse = r.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 && r.default.isFunction(e3.options.valueChangedCallback) && this.valueChangedCallbacks.push(e3.options.valueChangedCallback); } - sameState(e3) { - if (this.state != e3.state || this.stack.length != e3.stack.length) return false; - for (let t3 = 0; t3 < this.stack.length; t3 += 3) if (this.stack[t3] != e3.stack[t3]) return false; + optionsAs() { + return this.options; + } + get id() { + return this._id; + } + get model() { + return this._model; + } + set model(e3) { + this._model = e3; + } + get _isFlowLevelDefaultExpressionWithNoConfigAndNoText() { + return this.options.isOverridableFlowLevelDefaultExpression && !this.hasConfig && !this.text; + } + get _needsDefaultTextSet() { + return this.hasDefaultText && !this.text && !this.options.allowFlowLevelDefault && !this.options.defaultToNoValue; + } + get amObjectEventSink() { return true; } - get parser() { - return this.p.parser; + get amObjectEventEmitter() { + return true; } - dialectEnabled(e3) { - return this.p.parser.dialect.flags[e3]; + tempClone(e3) { + const t3 = new this.constructor({ model: new u.default(JSON.stringify(this.model)), type: this.type, parent: this.parent, parentFlow: this.parentFlow, label: this.label, options: this.options.clone().setDoNotTrackUsages(true), transitory: e3 }); + return t3.initialize(), this.initializeDesignTimeCalled && t3.initializeDesignTime(), t3.outOfService = this.outOfService, t3; } - shiftContext(e3, t3) { - this.curContext && this.updateContext(this.curContext.tracker.shift(this.curContext.context, e3, this, this.p.stream.reset(t3))); + cloneForTransitoryExpression() { + return this.tempClone(true); } - reduceContext(e3, t3) { - this.curContext && this.updateContext(this.curContext.tracker.reduce(this.curContext.context, e3, this, this.p.stream.reset(t3))); + get isTransitory() { + return this._transitory; } - emitContext() { - let e3 = this.buffer.length - 1; - (e3 < 0 || -3 != this.buffer[e3]) && this.buffer.push(this.curContext.hash, this.pos, this.pos, -3); + get config() { + return this.model.config; } - emitLookAhead() { - let e3 = this.buffer.length - 1; - (e3 < 0 || -4 != this.buffer[e3]) && this.buffer.push(this.lookAhead, this.pos, this.pos, -4); + set config(e3) { + this.model.config = e3; } - updateContext(e3) { - if (e3 != this.curContext.context) { - let t3 = new o(this.curContext.tracker, e3); - t3.hash != this.curContext.hash && this.emitContext(), this.curContext = t3; - } + get configType() { + const e3 = this.config; + return r.default.isObject(e3) ? e3.type : null; } - setLookAhead(e3) { - return !(e3 <= this.lookAhead || (this.emitLookAhead(), this.lookAhead = e3, 0)); + get errorMessage() { + return this.hasError ? this.resultMessage : null; } - close() { - this.curContext && this.curContext.tracker.strict && this.emitContext(), this.lookAhead > 0 && this.emitLookAhead(); + get hasConfig() { + return !!this.config; } - } - class o { - constructor(e3, t3) { - this.tracker = e3, this.context = t3, this.hash = e3.strict ? e3.hash(t3) : 0; + get hasParseError() { + return this._parseResult && this._parseResult.resultType === k.ParseResultTypes.error && !!this._parseResult.resultMessage; } - } - class a { - constructor(e3) { - this.start = e3, this.state = e3.state, this.stack = e3.stack, this.base = this.stack.length; + get parseResultErrors() { + var e3; + return (null === (e3 = this._parseResult) || void 0 === e3 ? void 0 : e3.parseErrorItems) || []; } - reduce(e3) { - let t3 = 65535 & e3, i3 = e3 >> 19; - 0 == i3 ? (this.stack == this.start.stack && (this.stack = this.stack.slice()), this.stack.push(this.state, 0, 0), this.base += 3) : this.base -= 3 * (i3 - 1); - let n3 = this.start.p.parser.getGoto(this.stack[this.base - 3], t3, true); - this.state = n3; + get parseResultWarnings() { + var e3; + return (null === (e3 = this._parseResult) || void 0 === e3 ? void 0 : e3.parseWarningItems) || []; } - } - class s { - constructor(e3, t3, i3) { - this.stack = e3, this.pos = t3, this.index = i3, this.buffer = e3.buffer, 0 == this.index && this.maybeNext(); + get hasDefaultText() { + return this.options.hasDefaultText; + } + get hasError() { + return this._getHasError(); + } + get hasInfo() { + return !!this._parseResult && this._parseResult.resultType === k.ParseResultTypes.info; + } + get hasWarning() { + return !!this._parseResult && this._parseResult.resultType === k.ParseResultTypes.warn; + } + get isBlank() { + return this.optionsAs().blankDeterminationShouldNotTrim ? !this.text : !this.text || "" === this.text.trim(); + } + get isEmpty() { + return this.config && !!this.config.emp; + } + get isEmptyNoFallback() { + return this.config && !!this.config.enf; + } + get isOptional() { + return this.options.isOptional; + } + set isOptional(e3) { + this.options.isOptional = e3; + } + get hasEmpRoot() { + return !!this.hasConfig && this.config.isEmp; + } + get isInternal() { + return this._internalExpression; + } + set isInternal(e3) { + this._internalExpression = e3; + } + get isNotSet() { + return this.text && this.text.trim().toUpperCase() === b.default.notSet; } - static create(e3, t3 = e3.bufferBase + e3.buffer.length) { - return new s(e3, t3, t3 - e3.bufferBase); + get label() { + var e3; + return (null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.labelOverride) || this._label; } - maybeNext() { - let e3 = this.stack.parent; - null != e3 && (this.index = this.stack.bufferBase - e3.bufferBase, this.stack = e3, this.buffer = e3.buffer); + set label(e3) { + this._label !== e3 && (this._label = e3); } - get id() { - return this.buffer[this.index - 4]; + get languages() { + if (this.parentAudio) { + if (this.parentAudio.languages) return this.parentAudio.languages; + if (this.parentAudio.langCode) return [N.getLanguageEntry(this.parentAudio.langCode)]; + if (this.parentAudio.defaultAudioLanguages) return this.parentAudio.defaultAudioLanguages; + } + return this.parentFlow && this.parentFlow.languages ? this.parentFlow.topParentFlow.languages.supportedLanguagesViewModels : []; } - get start() { - return this.buffer[this.index - 3]; + get promptsNeedAudioOnly() { + return !(!this.options || !this.optionsAs().requireAudio) || this.parentFlow.validateHasAudioOnly; } - get end() { - return this.buffer[this.index - 2]; + getPromptMissingResourcesErrorString(e3) { + let t3; + return e3 ? t3 = e3.displayName.trimForDisplay() : (c.error("no prompt to get name from"), t3 = V.actions.unknown), this.promptsNeedAudioOnly ? (0, o.sprintf)(V.audio.promptMissingAudioError, t3) : this.parentFlow.validateHasAudio || this.parentFlow.validateHasTTS ? this.parentFlow.isCallFlowType ? (0, o.sprintf)(V.audio.promptNoAudioTtsError, t3) : (0, o.sprintf)(V.audio.promptNoTtsOrTextError, t3) : void 0; } - get size() { - return this.buffer[this.index - 1]; + get metaData() { + return this.model.metaData; } - next() { - this.index -= 4, this.pos -= 4, 0 == this.index && this.maybeNext(); + set metaData(e3) { + this.model.metaData = e3; } - fork() { - return new s(this.stack, this.pos, this.index); + get staticMetaData() { + return this._staticMetaData; } - } - function l(e3, t3 = Uint16Array) { - if ("string" != typeof e3) return e3; - let i3 = null; - for (let n3 = 0, r3 = 0; n3 < e3.length; ) { - let o2 = 0; - for (; ; ) { - let t4 = e3.charCodeAt(n3++), i4 = false; - if (126 == t4) { - o2 = 65535; - break; - } - t4 >= 92 && t4--, t4 >= 34 && t4--; - let r4 = t4 - 32; - if (r4 >= 46 && (r4 -= 46, i4 = true), o2 += r4, i4) break; - o2 *= 46; - } - i3 ? i3[r3++] = o2 : i3 = new t3(o2); + get resultMessage() { + return this._parseResult ? this._parseResult.resultMessage : ""; } - return i3; - } - class u { - constructor() { - this.start = -1, this.value = -1, this.end = -1, this.extended = -1, this.lookAhead = 0, this.mask = 0, this.context = 0; + get resultPosition() { + return this._parseResult ? this._parseResult.resultPosition : 0; } - } - 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 = c, this.rangeIndex = 0, this.pos = this.chunkPos = t3[0].from, this.range = t3[0], this.end = t3[t3.length - 1].to, this.readNext(); + get resultReference() { + return this._parseResult ? this._parseResult.resultReference : ""; } - resolveOffset(e3, t3) { - let i3 = this.range, n3 = this.rangeIndex, r3 = this.pos + e3; - for (; r3 < i3.from; ) { - if (!n3) return null; - let e4 = this.ranges[--n3]; - r3 -= i3.from - e4.to, i3 = e4; - } - for (; t3 < 0 ? r3 > i3.to : r3 >= i3.to; ) { - if (n3 == this.ranges.length - 1) return null; - let e4 = this.ranges[++n3]; - r3 += e4.from - i3.to, i3 = e4; - } - return r3; + get resultType() { + return this._parseResult ? this._parseResult.resultType : void 0; } - clipPos(e3) { - if (e3 >= this.range.from && e3 < this.range.to) return e3; - for (let t3 of this.ranges) if (t3.to > e3) return Math.max(e3, t3.from); - return this.end; + get resultHelpTopic() { + return this._parseResult ? this._parseResult.resultHelpTopic : void 0; } - peek(e3) { - let t3, i3, n3 = this.chunkOff + e3; - if (n3 >= 0 && n3 < this.chunk.length) t3 = this.pos + e3, i3 = this.chunk.charCodeAt(n3); - else { - let n4 = this.resolveOffset(e3, 1); - if (null == n4) return -1; - if (t3 = n4, t3 >= this.chunk2Pos && t3 < this.chunk2Pos + this.chunk2.length) i3 = this.chunk2.charCodeAt(t3 - this.chunk2Pos); - else { - let e4 = this.rangeIndex, n5 = this.range; - for (; n5.to <= t3; ) n5 = this.ranges[++e4]; - this.chunk2 = this.input.chunk(this.chunk2Pos = t3), t3 + this.chunk2.length > n5.to && (this.chunk2 = this.chunk2.slice(0, n5.to - t3)), i3 = this.chunk2.charCodeAt(0); - } - } - return t3 >= this.token.lookAhead && (this.token.lookAhead = t3 + 1), i3; + setConfigAndMetaData(e3, t3) { + this.config = e3, e3 ? (t3 ? this.metaData = t3 : this.config.setContainerExpressionMetaData(this, true), this.staticMetaData && r.default.extend(this.metaData, this.staticMetaData)) : this.metaData = this.staticMetaData ? r.default.clone(this.staticMetaData) : void 0; } - acceptToken(e3, t3 = 0) { - let i3 = t3 ? this.resolveOffset(t3, -1) : this.pos; - if (null == i3 || i3 < this.token.start) throw new RangeError("Token end out of bounds"); - this.token.value = e3, this.token.end = i3; + setStaticMetaData(e3) { + this._staticMetaData || (this._staticMetaData = {}), r.default.extend(this._staticMetaData, e3), this.metaData || (this.metaData = {}), r.default.extend(this.metaData, this.staticMetaData); } - acceptTokenTo(e3, t3) { - this.token.value = e3, this.token.end = t3; + get text() { + return this.model.text; } - getChunk() { - if (this.pos >= this.chunk2Pos && this.pos < this.chunk2Pos + this.chunk2.length) { - let { chunk: e3, chunkPos: t3 } = this; - this.chunk = this.chunk2, this.chunkPos = this.chunk2Pos, this.chunk2 = e3, this.chunk2Pos = t3, this.chunkOff = this.pos - this.chunkPos; - } else { - this.chunk2 = this.chunk, this.chunk2Pos = this.chunkPos; - let e3 = this.input.chunk(this.pos), t3 = this.pos + e3.length; - this.chunk = t3 > this.range.to ? e3.slice(0, this.range.to - this.pos) : e3, this.chunkPos = this.pos, this.chunkOff = 0; - } + set text(e3) { + this.setText(e3); } - readNext() { - return this.chunkOff >= this.chunk.length && (this.getChunk(), this.chunkOff == this.chunk.length) ? this.next = -1 : this.next = this.chunk.charCodeAt(this.chunkOff); + get type() { + return this._type; } - advance(e3 = 1) { - for (this.chunkOff += e3; this.pos + e3 >= this.range.to; ) { - if (this.rangeIndex == this.ranges.length - 1) return this.setDone(); - e3 -= this.range.to - this.pos, this.range = this.ranges[++this.rangeIndex], this.pos = this.range.from; - } - return this.pos += e3, this.pos >= this.token.lookAhead && (this.token.lookAhead = this.pos + 1), this.readNext(); + set type(e3) { + this._type !== e3 && (this._type = e3, this.model.type = e3.expressionType, this.resultType && this.setText(this.model.text, false, true), g.fireEvent(this, p.expressionTypeChanged)); } - setDone() { - return this.pos = this.chunkPos = this.end, this.range = this.ranges[this.rangeIndex = this.ranges.length - 1], this.chunk = "", this.next = -1; + attachValidator(e3) { + this._extraValidator = e3; } - reset(e3, t3) { - 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]; - e3 >= this.chunkPos && e3 < this.chunkPos + this.chunk.length ? this.chunkOff = e3 - this.chunkPos : (this.chunk = "", this.chunkOff = 0), this.readNext(); - } - return this; + _addVariableUsage(e3) { + e3.addReader(this); } - read(e3, t3) { - if (e3 >= this.chunkPos && t3 <= this.chunkPos + this.chunk.length) return this.chunk.slice(e3 - this.chunkPos, t3 - this.chunkPos); - if (e3 >= this.chunk2Pos && t3 <= this.chunk2Pos + this.chunk2.length) return this.chunk2.slice(e3 - this.chunk2Pos, t3 - this.chunk2Pos); - if (e3 >= this.range.from && t3 <= this.range.to) return this.input.read(e3, t3); - let i3 = ""; - for (let n3 of this.ranges) { - if (n3.from >= t3) break; - n3.to > e3 && (i3 += this.input.read(Math.max(n3.from, e3), Math.min(n3.to, t3))); + _handleNoConfigAtEndOfValidation(e3) { + if (!this.isProcessingText) { + const t3 = [`Expression id: '${this.id}'`, this.parentFlow.toString()]; + if (this.label && t3.push(`label: '${this.label}'`), this.propertyName && t3.push(`propertyName: '${this.propertyName}'`), this.topic.errorWithStack(null, `An expression reached the end of validation with no config and no validation error. ${t3.join(", ")}`), h.isDisabled(a.archExpressionNoConfigError)) return true; + const i3 = V.expression.internalErrorExpression; + return this.setParseError(i3), e3.nodeHasError(this.parent.id, i3) || e3.addError(this.parent, i3), false; } - return i3; - } - } - class p { - constructor(e3, t3) { - this.data = e3, this.id = t3; + return true; } - token(e3, t3) { - let { parser: i3 } = t3.p; - h(this.data, e3, t3, this.id, i3.data, i3.tokenPrecTable); + _clearVariables(e3) { + if (!this.isVariableMode) { + if (e3) return this.delayedClearVariableList = this.variables, void (this.variables = {}); + const t3 = r.default.last(r.default.keys(this.variables)); + r.default.each(this.variables, (e4, i3) => { + e4.removeUsage(this, i3 !== t3); + }), this.variables = {}; + } } - } - p.prototype.contextual = p.prototype.fallback = p.prototype.extend = false; - class _ { - constructor(e3, t3, i3) { - this.precTable = t3, this.elseToken = i3, this.data = "string" == typeof e3 ? l(e3) : e3; + _executeCallbacks(e3, t3) { + this.initializeDesignTimeCalled && r.default.each(e3, (e4) => { + try { + e4(this); + } catch (e5) { + this.topic.exception(e5, "Failure executing " + t3); + } + }); } - token(e3, t3) { - let i3 = e3.pos, n3 = 0; - for (; ; ) { - let i4 = e3.next < 0, r3 = e3.resolveOffset(1, 1); - if (h(this.data, e3, t3, 0, this.data, this.precTable), e3.token.value > -1) break; - if (null == this.elseToken) return; - if (i4 || n3++, null == r3) break; - e3.reset(r3, e3.token); - } - n3 && (e3.reset(i3, e3.token), e3.acceptToken(this.elseToken, n3)); + _getHasError() { + return !(!this._parseResult || this._parseResult.resultType !== k.ParseResultTypes.error || this._parseResult.success); } - } - function h(e3, t3, i3, n3, r3, o2) { - let a2 = 0, s2 = 1 << n3, { dialect: l2 } = i3.p.parser; - e: for (; 0 != (s2 & e3[a2]); ) { - let i4 = e3[a2 + 1]; - for (let n5 = a2 + 3; n5 < i4; n5 += 2) if ((e3[n5 + 1] & s2) > 0) { - let i5 = e3[n5]; - if (l2.allows(i5) && (-1 == t3.token.value || t3.token.value == i5 || g(i5, t3.token.value, r3, o2))) { - t3.acceptToken(i5); - break; + _getConfigurationForYaml(e3, t3, i3) { + var n3, o2; + if (this.outOfService && !(null == i3 ? void 0 : i3.serializeOutOfService)) return; + if (null === (n3 = null == i3 ? void 0 : i3.doNotExportForFlowTypes) || void 0 === n3 ? void 0 : n3.includes(this.parentFlow.type)) return null; + const a2 = {}; + let s2, l2 = this.text; + if (null == i3 ? void 0 : i3.shouldBePlainJsType) { + if (this.type.isMatch(L.globalTypes.integer, D.settings.exact) || this.type.isMatch(L.globalTypes.decimal, D.settings.exact)) return Number(this.text); + if (this.type.isMatch(L.globalTypes.string, D.settings.exact)) { + if ("" === this.text) return; + return i3.valueShouldBeLowercase ? this.text.toLowerCase() : this.text; } + return this.type.isMatch(L.globalTypes.boolean, D.settings.exact) ? this.text === b.default.true : (this.topic.errorWithStack(null, `No shouldBePlainJsType handling in place for property with label '${this.label}'`), null); } - 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(); - continue e; - } - u2 = r4 + 1; - } - } - break; + if (this.isVariableMode) s2 = "var"; + else if (this.isExpressionMode || this.isBuilderMode) { + if (null === (o2 = null == i3 ? void 0 : i3.doNotExportAsExpressionForFlowTypes) || void 0 === o2 ? void 0 : o2.includes(this.parentFlow.type)) return null; + s2 = "exp"; + } else { + if (this.isNoValueModeWithNoFallback) return { noValueWithNoFallback: true }; + if (this.isNoValueMode) return { noValue: true }; + if (!this.isLiteralMode) return this.topic.errorWithErrorObjectInfo(`Unknown expression mode encountered: '${this.mode}'`, this, true), null; + s2 = "lit", l2 = this.type.isCollection ? r.default.map(this.collectionItems.items, (n4) => (null == i3 ? void 0 : i3.valueShouldBeLowercase) ? n4.getConfiguration(e3, t3, i3).toLowerCase() : n4.getConfiguration(e3, t3, i3)) : (null == i3 ? void 0 : i3.valueShouldBeLowercase) ? this.type.getYamlObjectForLiteralSingleton(this, e3, t3, i3).toLowerCase() : this.type.getYamlObjectForLiteralSingleton(this, e3, t3, i3); } - a2 = e3[i4 + 3 * c2 - 1]; + return null === l2 ? null : (a2[s2] = l2, a2); } - } - function m(e3, t3, i3) { - for (let n3, r3 = t3; 65535 != (n3 = e3[r3]); r3++) if (n3 == i3) return r3 - t3; - return -1; - } - function g(e3, t3, i3, n3) { - let r3 = m(i3, n3, t3); - return r3 < 0 || m(i3, n3, e3) < r3; - } - _.prototype.contextual = p.prototype.fallback = p.prototype.extend = false; - const f = "undefined" != typeof process && process.env && /\bparse\b/.test(process.env.LOG); - let T = null; - function y(e3, t3, i3) { - let r3 = e3.cursor(n2.IterMode.IncludeAnonymous); - for (r3.moveTo(t3); ; ) if (!(i3 < 0 ? r3.childBefore(t3) : r3.childAfter(t3))) for (; ; ) { - if ((i3 < 0 ? r3.to < t3 : r3.from > t3) && !r3.type.isError) return i3 < 0 ? Math.max(0, Math.min(r3.to - 1, t3 - 25)) : Math.min(e3.length, Math.max(r3.from + 1, t3 + 25)); - if (i3 < 0 ? r3.prevSibling() : r3.nextSibling()) break; - if (!r3.parent()) return i3 < 0 ? 0 : e3.length; + _getReferenceByName(e3) { + return e3 ? A.hasPromptPrefix(e3) ? S.getItemByName(e3) : this.parentFlow.variableGroup.getVariableByName(e3, this.getParentTask()) : null; } - } - class S { - constructor(e3, t3) { - this.fragments = e3, this.nodeSet = t3, this.i = 0, this.fragment = null, this.safeFrom = -1, this.safeTo = -1, this.trees = [], this.start = [], this.index = [], this.nextFragment(); + _initialize() { + this.options && (this._needsDefaultTextSet || this._isFlowLevelDefaultExpressionWithNoConfigAndNoText) && (this.text = this.options.defaultText), this.model.type = this.type.dataType, this._ensureUiMetaData(), this.processText(true); } - nextFragment() { - let e3 = this.fragment = this.i == this.fragments.length ? null : this.fragments[this.i++]; - if (e3) { - for (this.safeFrom = e3.openStart ? y(e3.tree, e3.from + e3.offset, 1) - e3.offset : e3.from, this.safeTo = e3.openEnd ? y(e3.tree, e3.to + e3.offset, -1) - e3.offset : e3.to; this.trees.length; ) this.trees.pop(), this.start.pop(), this.index.pop(); - this.trees.push(e3.tree), this.start.push(-e3.offset), this.index.push(0), this.nextStart = this.safeFrom; - } else this.nextStart = 1e9; + _reset(e3, t3) { + this._parseResult = null, this._hasLiteralError = false, this._clearVariables(t3), this.config = void 0, this.metaData = this.staticMetaData ? r.default.clone(this.staticMetaData) : void 0, this.consumesSecureData = false, e3 && (this.model.text = ""), g.fireEvent(this, p.expressionParseComplete); } - nodeAt(e3) { - if (e3 < this.nextStart) return null; - for (; this.fragment && this.safeTo <= e3; ) this.nextFragment(); - if (!this.fragment) return null; - for (; ; ) { - let t3 = this.trees.length - 1; - if (t3 < 0) return this.nextFragment(), null; - let i3 = this.trees[t3], r3 = this.index[t3]; - if (r3 == i3.children.length) { - this.trees.pop(), this.start.pop(), this.index.pop(); - continue; - } - let o2 = i3.children[r3], a2 = this.start[t3] + i3.positions[r3]; - if (a2 > e3) return this.nextStart = a2, null; - if (o2 instanceof n2.Tree) { - if (a2 == e3) { - if (a2 < this.safeFrom) return null; - let e4 = a2 + o2.length; - if (e4 <= this.safeTo) { - let t4 = o2.prop(n2.NodeProp.lookAhead); - if (!t4 || e4 + t4 < this.fragment.to) return o2; - } - } - this.index[t3]++, a2 + o2.length >= Math.max(this.safeFrom, e3) && (this.trees.push(o2), this.start.push(a2), this.index.push(0)); - } else this.index[t3]++, this.nextStart = a2 + o2.length; - } + setUiMetaData(e3, t3) { + this._ensureUiMetaData(), this.model.uiMetaData[e3] = t3; } - } - class A { - constructor(e3, t3) { - this.stream = t3, this.tokens = [], this.mainToken = null, this.actions = [], this.tokens = e3.tokenizers.map((e4) => new u()); + getUiMetaData(e3) { + return this._ensureUiMetaData(), this.model.uiMetaData[e3]; } - getActions(e3) { - let t3 = 0, i3 = null, { parser: n3 } = e3.p, { tokenizers: r3 } = n3, o2 = n3.stateSlot(e3.state, 3), a2 = e3.curContext ? e3.curContext.hash : 0, s2 = 0; - for (let n4 = 0; n4 < r3.length; n4++) { - if (!(1 << n4 & o2)) continue; - let l2 = r3[n4], u2 = this.tokens[n4]; - if ((!i3 || l2.fallback) && ((l2.contextual || u2.start != e3.pos || u2.mask != o2 || u2.context != a2) && (this.updateCachedToken(u2, l2, e3), u2.mask = o2, u2.context = a2), u2.lookAhead > u2.end + 25 && (s2 = Math.max(u2.lookAhead, s2)), 0 != u2.value)) { - let n5 = t3; - if (u2.extended > -1 && (t3 = this.addActions(e3, u2.extended, u2.end, t3)), t3 = this.addActions(e3, u2.value, u2.end, t3), !l2.extend && (i3 = u2, t3 > n5)) break; - } - } - for (; this.actions.length > t3; ) this.actions.pop(); - return s2 && e3.setLookAhead(s2), i3 || e3.pos != this.stream.end || (i3 = new u(), i3.value = e3.p.parser.eofTerm, i3.start = i3.end = e3.pos, t3 = this.addActions(e3, i3.value, i3.end, t3)), this.mainToken = i3, this.actions; + get customTypeLitCodeLanguage() { + if (this.type.isCustomType) return this.getUiMetaData(v.uiMetaDataKey.litLanguage) || s.CodeLanguage.architectJson; } - getMainToken(e3) { - if (this.mainToken) return this.mainToken; - let t3 = new u(), { pos: i3, p: n3 } = e3; - return t3.start = i3, t3.end = Math.min(i3 + 1, n3.stream.end), t3.value = i3 == n3.stream.end ? n3.parser.eofTerm : 0, t3; + set customTypeLitCodeLanguage(e3) { + this.type.isCustomType && this.setUiMetaData(v.uiMetaDataKey.litLanguage, e3); } - updateCachedToken(e3, t3, i3) { - let n3 = this.stream.clipPos(i3.pos); - if (t3.token(this.stream.reset(n3, e3), i3), e3.value > -1) { - let { parser: t4 } = i3.p; - for (let n4 = 0; n4 < t4.specialized.length; n4++) if (t4.specialized[n4] == e3.value) { - let r3 = t4.specializers[n4](this.stream.read(e3.start, e3.end), i3); - if (r3 >= 0 && i3.p.parser.dialect.allows(r3 >> 1)) { - 1 & r3 ? e3.extended = r3 >> 1 : e3.value = r3 >> 1; - break; - } - } - } else e3.value = 0, e3.end = this.stream.clipPos(n3 + 1); + _ensureUiMetaData() { + this.model.uiMetaData || (this.model.uiMetaData = {}); } - putAction(e3, t3, i3, n3) { - for (let t4 = 0; t4 < n3; t4 += 3) if (this.actions[t4] == e3) return n3; - return this.actions[n3++] = e3, this.actions[n3++] = t3, this.actions[n3++] = i3, n3; + _setParseResultMessage(e3, t3) { + this._parseResult || (this._parseResult = new x.ParseResult(this)), this._parseResult.resultMessage = e3, this._parseResult.resultType = t3, this._parseResult.resultReference = void 0, this._parseResult.success = k.ParseResultTypes.error !== t3, this._parseResult.resultPosition = -1, g.fireEvent(this, p.expressionParseComplete); } - addActions(e3, t3, i3, n3) { - let { state: r3 } = e3, { parser: o2 } = e3.p, { data: a2 } = o2; - for (let e4 = 0; e4 < 2; e4++) for (let s2 = o2.stateSlot(r3, e4 ? 2 : 1); ; s2 += 3) { - if (65535 == a2[s2]) { - if (1 != a2[s2 + 1]) { - 0 == n3 && 2 == a2[s2 + 1] && (n3 = this.putAction(b(a2, s2 + 2), t3, i3, n3)); - break; - } - s2 = b(a2, s2 + 2); - } - a2[s2] == t3 && (n3 = this.putAction(b(a2, s2 + 1), t3, i3, n3)); - } - return n3; + addVariableOrPromptReference(e3) { + const t3 = this._getReferenceByName(e3); + return t3 ? (this.options.doNotTrackUsages || this._addVariableUsage(t3), this.variables[t3.id] = t3, t3) : null; } - } - 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 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; + checkVersion(e3) { + const t3 = this._parseResult ? this._parseResult.version : G.one.zero; + e3.checkVersion(t3), r.default.each(this.variables, function(t4) { + t4.checkVersion(e3); + }); } - get parsedPos() { - return this.minStackPos; + clear(e3, t3) { + const i3 = this.model.text; + this._reset(e3), this.setConfigAndMetaData(M.default.getNull(this)), t3 && (this.type = t3), i3 !== this.model.text && g.fireEvent(this, p.expressionValueChanged); } - advance() { - let e3, t3, i3 = this.stacks, n3 = this.minStackPos, r3 = this.stacks = []; - if (this.bigReductionCount > 300 && 1 == i3.length) { - let [e4] = i3; - for (; e4.forceReduce() && e4.stack.length && e4.stack[e4.stack.length - 2] >= this.lastBigReductionStart; ) ; - this.bigReductionCount = this.lastBigReductionSize = 0; - } - for (let o2 = 0; o2 < i3.length; o2++) { - let a2 = i3[o2]; - for (; ; ) { - if (this.tokens.mainToken = null, a2.pos > n3) r3.push(a2); - else { - if (this.advanceStack(a2, r3, i3)) continue; - { - e3 || (e3 = [], t3 = []), e3.push(a2); - let i4 = this.tokens.getMainToken(a2); - t3.push(i4.value, i4.end); - } - } - break; - } - } - if (!r3.length) { - let t4 = e3 && (function(e4) { - let t5 = null; - for (let i4 of e4) { - let e5 = i4.p.stoppedAt; - (i4.pos == i4.p.stream.end || null != e5 && i4.pos > e5) && i4.p.parser.stateFlag(i4.state, 2) && (!t5 || t5.score < i4.score) && (t5 = i4); - } - return t5; - })(e3); - if (t4) return f && console.log("Finish with " + this.stackID(t4)), this.stackToTree(t4); - if (this.parser.strict) throw f && e3 && console.log("Stuck with token " + (this.tokens.mainToken ? this.parser.getName(this.tokens.mainToken.value) : "none")), new SyntaxError("No parse at " + n3); - this.recovering || (this.recovering = 5); - } - if (this.recovering && e3) { - let i4 = null != this.stoppedAt && e3[0].pos > this.stoppedAt ? e3[0] : this.runRecovery(e3, t3, r3); - if (i4) return f && console.log("Force-finish " + this.stackID(i4)), this.stackToTree(i4.forceAll()); - } - if (this.recovering) { - let e4 = 1 == this.recovering ? 1 : 3 * this.recovering; - if (r3.length > e4) for (r3.sort((e5, t4) => t4.score - e5.score); r3.length > e4; ) r3.pop(); - r3.some((e5) => e5.reducePos > n3) && this.recovering--; - } else if (r3.length > 1) { - e: for (let e4 = 0; e4 < r3.length - 1; e4++) { - let t4 = r3[e4]; - for (let i4 = e4 + 1; i4 < r3.length; i4++) { - let n4 = r3[i4]; - if (t4.sameState(n4) || t4.buffer.length > 500 && n4.buffer.length > 500) { - if (!((t4.score - n4.score || t4.buffer.length - n4.buffer.length) > 0)) { - r3.splice(e4--, 1); - continue e; - } - r3.splice(i4--, 1); - } - } - } - r3.length > 12 && (r3.sort((e4, t4) => t4.score - e4.score), r3.splice(12, r3.length - 12)); - } - this.minStackPos = r3[0].pos; - for (let e4 = 1; e4 < r3.length; e4++) r3[e4].pos < this.minStackPos && (this.minStackPos = r3[e4].pos); - return null; + clearParseResult(e3) { + e3 ? this._parseResult && this._parseResult.resultType === k.ParseResultTypes.error && (this._parseResult = void 0) : this._parseResult = void 0, g.fireEvent(this, p.expressionParseComplete); } - stopAt(e3) { - if (null != this.stoppedAt && this.stoppedAt < e3) throw new RangeError("Can't move stoppedAt forward"); - this.stoppedAt = e3; + resetToOriginalType() { + this.options.doNotTrackUsages ? (this.clearParseResult(), this.originalType && this.type !== this.originalType && (this.type = this.originalType)) : this.topic.errorWithStack(null, "resetToOriginalType() called on a tracked expression; this is only safe on do-not-track/transitory scratch expressions. Ignoring the call."); } - advanceStack(e3, t3, i3) { - let r3 = e3.pos, { parser: o2 } = this, a2 = f ? this.stackID(e3) + " -> " : ""; - if (null != this.stoppedAt && r3 > this.stoppedAt) return e3.forceReduce() ? e3 : null; - if (this.fragments) { - let t4 = e3.curContext && e3.curContext.tracker.strict, i4 = t4 ? e3.curContext.hash : 0; - for (let s3 = this.fragments.nodeAt(r3); s3; ) { - let r4 = this.parser.nodeSet.types[s3.type.id] == s3.type ? o2.getGoto(e3.state, s3.type.id) : -1; - if (r4 > -1 && s3.length && (!t4 || (s3.prop(n2.NodeProp.contextHash) || 0) == i4)) return e3.useNode(s3, r4), f && console.log(a2 + this.stackID(e3) + ` (via reuse of ${o2.getName(s3.type.id)})`), true; - if (!(s3 instanceof n2.Tree) || 0 == s3.children.length || s3.positions[0] > 0) break; - let l3 = s3.children[0]; - if (!(l3 instanceof n2.Tree && 0 == s3.positions[0])) break; - s3 = l3; - } - } - let s2 = o2.stateSlot(e3.state, 4); - if (s2 > 0) return e3.reduce(s2), f && console.log(a2 + this.stackID(e3) + ` (via always-reduce ${o2.getName(65535 & s2)})`), true; - 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++], 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; + copyExpressionValue(e3) { + this._reset(), e3.getUiMetaData(v.uiMetaDataKey.builder) && (this.setUiMetaData(v.uiMetaDataKey.builder, r.default.deepClone(e3.getUiMetaData(v.uiMetaDataKey.builder))), this.getUiMetaData(v.uiMetaDataKey.builder).id = (0, C.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(r.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); } - advanceFully(e3, t3) { - let i3 = e3.pos; - for (; ; ) { - if (!this.advanceStack(e3, null, null)) return false; - if (e3.pos > i3) return v(e3, t3), true; - } + _destroy() { + super._destroy(), I.clearIssues(this), this.hasValidationError = false, this.hasValidationWarning = false, this._reset(), r.default.each(this.valueChangedCallbacks, this.removeValueChangedCallback.bind(this)), this._outOfServiceProvider.destroy(); } - runRecovery(e3, t3, i3) { - let n3 = null, r3 = false; - for (let o2 = 0; o2 < e3.length; o2++) { - let a2 = e3[o2], s2 = t3[o2 << 1], l2 = t3[1 + (o2 << 1)], u2 = f ? this.stackID(a2) + " -> " : ""; - if (a2.deadEnd) { - if (r3) continue; - if (r3 = true, a2.restart(), f && console.log(u2 + this.stackID(a2) + " (restarted)"), this.advanceFully(a2, i3)) continue; - } - 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)})`), v(a2, i3)) : (!n3 || n3.score < c2.score) && (n3 = c2); - } - return n3; + 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; } - stackToTree(e3) { - return e3.close(), n2.Tree.build({ buffer: s.create(e3), nodeSet: this.parser.nodeSet, topID: this.topTerm, maxBufferLength: this.parser.bufferLength, reused: this.reused, start: this.ranges[0].from, length: e3.pos - this.ranges[0].from, minRepeatType: this.parser.minRepeatTerm }); + 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) ? [] : w.getFunctionsForCharPosition(this, e3, t3); } - stackID(e3) { - let t3 = (T || (T = /* @__PURE__ */ new WeakMap())).get(e3); - return t3 || T.set(e3, t3 = String.fromCodePoint(this.nextStackID++)), t3 + e3; + getLitAsString() { + const e3 = this.config; + return e3 && !e3.emp && e3.getLitAsString ? e3.getLitAsString() : ""; } - } - 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)); + getParentTask() { + let e3 = this.parent.topParent; + return e3 = e3 || this.parent, e3.isTaskLike ? e3 : null; } - t3.push(e3); - } - class O { - constructor(e3, t3, i3) { - this.source = e3, this.flags = t3, this.disabled = i3; + getProperty(e3) { } - allows(e3) { - return !this.disabled || 0 == this.disabled[e3]; + get topParent() { + return this.parent.topParent || this.parent; } - } - 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)`); - let t3 = e3.nodeNames.split(" "); - this.minRepeatTerm = t3.length; - for (let i4 = 0; i4 < e3.repeatNodeCount; i4++) t3.push(""); - let i3 = Object.keys(e3.topRules).map((t4) => e3.topRules[t4][1]), r3 = []; - for (let e4 = 0; e4 < t3.length; e4++) r3.push([]); - function o2(e4, t4, i4) { - r3[e4].push([t4, t4.deserialize(String(i4))]); - } - if (e3.nodeProps) for (let t4 of e3.nodeProps) { - let e4 = t4[0]; - "string" == typeof e4 && (e4 = n2.NodeProp[e4]); - for (let i4 = 1; i4 < t4.length; ) { - let n3 = t4[i4++]; - if (n3 >= 0) o2(n3, e4, t4[i4++]); - else { - let r4 = t4[i4 + -n3]; - for (let a3 = -n3; a3 > 0; a3--) o2(t4[i4++], e4, r4); - i4++; - } - } - } - this.nodeSet = new n2.NodeSet(t3.map((t4, o3) => n2.NodeType.define({ name: o3 >= this.minRepeatTerm ? void 0 : t4, id: o3, props: r3[o3], top: i3.indexOf(o3) > -1, error: 0 == o3, skipped: e3.skippedNodes && e3.skippedNodes.indexOf(o3) > -1 }))), e3.propSources && (this.nodeSet = this.nodeSet.extend(...e3.propSources)), this.strict = false, this.bufferLength = n2.DefaultBufferLength; - let a2 = l(e3.tokenData); - this.context = e3.context, this.specializerSpecs = e3.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length); - for (let e4 = 0; e4 < this.specializerSpecs.length; e4++) this.specialized[e4] = this.specializerSpecs[e4].term; - this.specializers = this.specializerSpecs.map(E), this.states = l(e3.states, Uint32Array), this.data = l(e3.stateData), this.goto = l(e3.goto), this.maxTerm = e3.maxTerm, this.tokenizers = e3.tokenizers.map((e4) => "number" == typeof e4 ? new p(a2, e4) : e4), this.topRules = e3.topRules, this.dialects = e3.dialects || {}, this.dynamicPrecedences = e3.dynamicPrecedences || null, this.tokenPrecTable = e3.tokenPrec, this.termNames = e3.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]]; + getPromptReferences() { + return this.metaData && this.metaData.references && this.metaData.references.length > 0 ? r.default.filter(this.metaData.references, function(e3) { + return e3.type === F.expressionTypeNames.prompt; + }) : []; } - createParse(e3, t3, i3) { - let n3 = new N(this, e3, t3, i3); - for (let r3 of this.wrappers) n3 = r3(n3, e3, t3, i3); - return n3; + getTopConfigProperty() { + for (const e3 in this.config) if (this.config.hasOwnProperty(e3)) return this.config[e3]; } - getGoto(e3, t3, i3 = false) { - let n3 = this.goto; - if (t3 >= n3[0]) return -1; - for (let r3 = n3[t3 + 1]; ; ) { - let t4 = n3[r3++], o2 = 1 & t4, a2 = n3[r3++]; - if (o2 && i3) return a2; - for (let i4 = r3 + (t4 >> 1); r3 < i4; r3++) if (n3[r3] == e3) return a2; - if (o2) return -1; - } + get isExpression() { + return true; } - hasAction(e3, t3) { - let i3 = this.data; - for (let n3 = 0; n3 < 2; n3++) for (let r3, o2 = this.stateSlot(e3, n3 ? 2 : 1); ; o2 += 3) { - if (65535 == (r3 = i3[o2])) { - if (1 != i3[o2 + 1]) { - if (2 == i3[o2 + 1]) return b(i3, o2 + 2); - break; + isIntegerOrDecimalType() { + return this.type.isMatch(L.globalTypes.integer, D.settings.exact) || this.type.isMatch(L.globalTypes.decimal, D.settings.exact); + } + get isVariableInitialValue() { + var e3, t3; + return (null === (e3 = this.parent) || void 0 === e3 ? void 0 : e3.isVariableViewModel) && (null === (t3 = this.parent) || void 0 === t3 ? void 0 : t3.model.initialValue) === this.model; + } + processText(e3, t3) { + var i3; + if (this._amBuildingExpressionText) return; + const n3 = e3; + try { + this._amBuildingExpressionText = true, n3 ? (function(e4, t4) { + if (e4.parentFlow && e4.parentFlow.shouldParseExpressions) { + if (e4._reset(false, true), e4.isSearchingServer) return; + if (e4.text && !e4.isTTSOnly) { + const t5 = E.expressionDataService.getPromptsFromExpressionText(e4.text); + if (t5 && t5.length > 0 && (r.default.each(r.default.uniq(t5), function(t6) { + if (!e4.parentFlow.validationResults.isDeep && e4.parentFlow.loaded && !S.getItemByName(t6.name)) { + let i4 = t6.isSystemPrompt ? S.systemPromptListManager : null; + if (i4 || (i4 = t6.isUserPrompt ? S.userPromptListManager : null), !i4) return void j.error("An expression with no prompt string got into prompt processing:" + t6); + const n4 = {}, o2 = i4.search(A.removePrefix(t6.name), null, B.exactMatch, false, null, false, n4).catch(r.default.noop); + n4.isAutomaticEmptyResults || e4._serverSearches.push(o2); + } + }), e4._serverSearches.length > 0)) return e4.isSearchingServer = true, void Promise.all(e4._serverSearches).finally(() => { + e4.isSearchingServer = false, e4._serverSearches.length = 0, W(e4); + }); + } + W(e4, t4); } - r3 = i3[o2 = b(i3, o2 + 2)]; - } - if (r3 == t3 || 0 == r3) return b(i3, o2 + 1); + })(this, t3) : this._throttledParse(t3); + } catch (e4) { + this.topic.errorWithStack(e4, "Error occurred processing text for expression: " + this.label); + } finally { + this._amBuildingExpressionText = false, this._throttledParseQueued = !n3, this.hasValidationError = this.hasError, this.hasValidationWarning = this.hasWarning, null === (i3 = this.parentFlow) || void 0 === i3 || i3.calcFlowSizeAsync(); } - return 0; } - stateSlot(e3, t3) { - return this.states[6 * e3 + t3]; + removeValueChangedCallback(e3) { + const t3 = this.valueChangedCallbacks.indexOf(e3); + t3 > -1 && this.valueChangedCallbacks.splice(t3, 1); } - stateFlag(e3, t3) { - return (this.stateSlot(e3, 0) & t3) > 0; + registerDependencies() { + this.isTransitory || (this._registerPromptsFromExpressionText(), this._registerJsonDependencies()); } - validAction(e3, t3) { - return !!this.allActions(e3, (e4) => e4 == t3 || null); + _registerJsonDependencies() { + if (!this.isTransitory && (null == this ? void 0 : this.dependencies)) { + const e3 = []; + 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: d.NO_VERSION, dependencyType: n3 }); + }); + }), d.registerConsumerDependencies(this.parent, this, e3); + } } - allActions(e3, t3) { - let i3 = this.stateSlot(e3, 4), n3 = i3 ? t3(i3) : void 0; - for (let i4 = this.stateSlot(e3, 1); null == n3; i4 += 3) { - if (65535 == this.data[i4]) { - if (1 != this.data[i4 + 1]) break; - i4 = b(this.data, i4 + 2); - } - n3 = t3(b(this.data, i4 + 1)); + _registerPromptsFromExpressionText() { + const e3 = R.expressionItems.getPromptsFromExpressionMetadata(this); + r.default.each(e3, (e4) => { + d.registerPrompt(A.removePrefix(e4.name), e4.isSysRef ? U.SystemPrompt : U.UserPrompt, this.parentFlow, e4.id); + }); + const t3 = E.expressionDataService.getPromptsFromExpressionText(this.text); + r.default.each(t3, (e4) => { + d.registerPrompt(e4.name, e4.type, this.parentFlow, e4.id); + }); + } + renamePromptVariables(e3) { + if (this.isLiteralMode && this.val && this.type.isMatch(L.globalTypes.prompt, D.settings.exact)) { + const e4 = S.getItem(this.val); + return void (e4 && this.setText(e4.displayName)); } - return n3; + let t3; + t3 = this.metaData ? R.expressionItems.getPromptsFromExpressionMetadata(this) : R.expressionItems.getUniquePromptIds(this.config, null, true); + const i3 = r.default.findWhere(t3, { isSysRef: false }); + if (!i3 || 0 === i3.length) return; + const n3 = r.default.clone(this.config); + this._renameOffset = 0, q(this, n3); } - nextStates(e3) { - let t3 = []; - for (let i3 = this.stateSlot(e3, 1); ; i3 += 3) { - if (65535 == this.data[i3]) { - if (1 != this.data[i3 + 1]) break; - i3 = b(this.data, i3 + 2); - } - if (!(1 & this.data[i3 + 2])) { - let e4 = this.data[i3 + 1]; - t3.some((t4, i4) => 1 & i4 && t4 == e4) || t3.push(this.data[i3], e4); + replaceUsages(e3, t3, i3) { + if (this.isLiteralMode && this.type.isMatch(L.globalTypes.prompt, D.settings.exact)) return void this.renamePromptVariables(); + if (this.isBuilderMode && this.builder && this.builder.replaceUsages(e3, t3, i3), !this.text) return; + let n3 = this.text; + const o2 = e3.toLowerCase(), r2 = this._parseResult ? this._parseResult.resultExpression : this.isVariableMode ? this.config : void 0; + r2 && (this.isVariableMode ? (function(e4) { + const i4 = e4.getText(), r3 = (i4 ? i4.toLowerCase() : void 0).split(/([a-zA-Z0-9]*.[a-zA-Z0-9]*)[.\[]/gm).filter(Boolean); + r3.length > 1 && r3[0] === o2 && (n3 = `${t3}${e4.getText().slice(r3[0].length)}`); + })(r2) : (function e4(i4) { + const r3 = i4.getText(), a2 = r3 ? r3.toLowerCase() : void 0; + if (i4.isRef && a2 && a2 === o2) 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]); } - } - return t3; + var s2, l2, u2, c2; + })(r2)), this.setText(n3, true); } - configure(e3) { - let t3 = Object.assign(Object.create(C.prototype), this); - if (e3.props && (t3.nodeSet = this.nodeSet.extend(...e3.props)), e3.top) { - let i3 = this.topRules[e3.top]; - if (!i3) throw new RangeError(`Invalid top rule name ${e3.top}`); - t3.top = i3; - } - return e3.tokenizers && (t3.tokenizers = this.tokenizers.map((t4) => { - let i3 = e3.tokenizers.find((e4) => e4.from == t4); - return i3 ? i3.to : t4; - })), e3.specializers && (t3.specializers = this.specializers.slice(), t3.specializerSpecs = this.specializerSpecs.map((i3, n3) => { - let r3 = e3.specializers.find((e4) => e4.from == i3.external); - if (!r3) return i3; - let o2 = Object.assign(Object.assign({}, i3), { external: r3.to }); - return t3.specializers[n3] = E(o2), o2; - })), e3.contextTracker && (t3.context = e3.contextTracker), e3.dialect && (t3.dialect = this.parseDialect(e3.dialect)), null != e3.strict && (t3.strict = e3.strict), e3.wrap && (t3.wrappers = t3.wrappers.concat(e3.wrap)), null != e3.bufferLength && (t3.bufferLength = e3.bufferLength), t3; + search(e3) { + e3.checkText(this, this.text, this.label); } - hasWrappers() { - return this.wrappers.length > 0; + setParseResult(e3) { + 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 o2 = e3.errorItems[0] || e3.warningItems[0] || e3.infoItems[0]; + this._parseResult.resultType = null == o2 ? void 0 : o2.resultType, this._parseResult.resultReference = void 0, this._parseResult.success = k.ParseResultTypes.error !== (null == o2 ? void 0 : o2.resultType), this._parseResult.resultPosition = null == o2 ? void 0 : o2.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 == o2 ? void 0 : o2.message; } - getName(e3) { - return this.termNames ? this.termNames[e3] : String(e3 <= this.maxNode && this.nodeSet.types[e3].name || e3); + setParseError(e3) { + this._setParseResultMessage(e3, k.ParseResultTypes.error); } - get eofTerm() { - return this.maxNode + 1; + setParseAndValidationError(e3, t3) { + this.setParseError(e3), t3.addError(this, e3, false, true); } - get topNode() { - return this.nodeSet.types[this.top[1]]; + setParseWarning(e3) { + this._setParseResultMessage(e3, k.ParseResultTypes.warn); } - dynamicPrecedence(e3) { - let t3 = this.dynamicPrecedences; - return null == t3 ? 0 : t3[e3] || 0; + setLiteralError(e3) { + if (this.isLiteralMode) return this._hasLiteralError = e3, e3; + console.error("Tried to set a literal error on a non-literal expression: " + this.id); } - parseDialect(e3) { - let t3 = Object.keys(this.dialects), i3 = t3.map(() => false); - if (e3) for (let n4 of e3.split(" ")) { - let e4 = t3.indexOf(n4); - e4 >= 0 && (i3[e4] = true); + get suppressResetOnTextChange() { + return false; + } + setText(e3, t3, i3, n3, o2, a2) { + if (r.default.isNullOrUndefined(n3) || (this.mode = n3), this.model.text === e3 && this.config && !i3) return; + this.suppressResetOnTextChange || this._reset(); + const s2 = this.model.text; + r.default.isString(e3) ? this.model.text = e3 : this.model.text = e3 || r.default.isActualNumber(e3) || r.default.isBoolean(e3) ? e3.toString() : e3, this.parentFlow && this.parentFlow.loaded ? this.processText(t3, a2) : this.parentFlow || this.processText(t3, a2), this.isLiteralMode && this._executeCallbacks(this.valueChangedCallbacks, "valueChangedCallbacks"), (s2 !== this.model.text || i3) && g.fireEvent(this, p.expressionValueChanged); + } + toNumber() { + return this.isLiteralMode ? this.type.toNumber(this.text) : 0; + } + updateSecureUsage(e3, t3) { + var i3, n3, o2; + 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 === (o2 = this.parent) || void 0 === o2 ? void 0 : o2.isValidating) && (e3 ? (e3.forceTextReprocess = true, this.validate(e3), this.parent && (t3 ? r.default.contains(t3, this.parent) || t3.push(this.parent) : I.validateNode(this.parent))) : this.processText(true)); } - 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 O(e3, i3, n3); } - static deserialize(e3) { - return new C(e3); + get updateTime() { + return 500; } - } - function b(e3, t3) { - return e3[t3] | e3[t3 + 1] << 16; - } - function E(e3) { - if (e3.external) { - let t3 = e3.extend ? 1 : 0; - return (i3, n3) => e3.external(i3, n3) << 1 | t3; + validate(e3) { + 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, o.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); } - return e3.get; - } - t2.ContextTracker = class { - constructor(e3) { - 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; + get runtimeConsumingFlowTypes() { + var e3; + return (null === (e3 = this.supportedFlowTypes) || void 0 === e3 ? void 0 : e3.length) ? r.default.intersection(this.parentFlow.destinationFlowTypes, this.supportedFlowTypes) : this.parentFlow.destinationFlowTypes; } - }, t2.ExternalTokenizer = class { - constructor(e3, t3 = {}) { - this.token = e3, this.contextual = !!t3.contextual, this.fallback = !!t3.fallback, this.extend = !!t3.extend; + get dependencies() { + return this.model.dependencies; } - }, 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; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(73146), o = i2(39504), a = "1", s = a, l = a; - function u(e3, t3) { - return e3 + (function(e4) { - if (e4 <= 0) return 0; - const t4 = new Uint32Array(1); - return globalThis.crypto.getRandomValues(t4), t4[0] % e4; - })(t3 - e3 + 1); - } - t2.obfuscation = new class { - encodeStr(e3, t3) { - 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, c, d, p, _, h, m; - if (i3 === a) { - 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)); - 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(""); - } + set dependencies(e3) { + this.model.dependencies = e3; } - decodeStr(e3, t3) { - if (!n2.default.isString(e3) || 0 === e3.length) return; - 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, 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; - 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 isProcessingText() { + return this.isSearchingServer || this._throttledParseQueued; } - get versions() { - return { OBFUSCATION_VERSION_LATEST: l, OBFUSCATION_VERSION_ONE: a }; + doConfigCheck(e3) { + this.outOfService || this.hasError || this.hasConfig || this._handleNoConfigAtEndOfValidation(e3); } - }(); - }, 41857: (e2, t2, i2) => { + toString() { + var e3; + return `${super.toString()} - type:${null === (e3 = this.type) || void 0 === e3 ? void 0 : e3.dataType}`; + } + } + t2.BaseExpression = Y; + }, 91491(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { + t2.CollectionExpression = void 0; + const n2 = i2(31635), o = i2(17604), r = 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), I = i2(39168), C = i2(26403), O = i2(47957), b = s.getTopic("CollectionExpression"); + class E extends I.NormalExpression { constructor(e3) { super(e3); } - get _globalTypeName() { - return "assignedCustomerIntent"; + 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) && r.default.each(this.collectionItems.items, (e4) => e4.initializeDesignTime()), this._fireEvent(c.expressionValueChanged)) : super.copyExpressionValue(e3)); } - get displayTypeName() { - return "ArchValueAssignedCustomerIntent"; + get className() { + return "CollectionExpression"; } - get name() { + get displayValue() { + return this.collectionItems && this.isLiteralMode ? 1 === this.collectionItems.length ? (0, o.sprintf)(O.collectionEditor.itemsInCollectionOne, this.type.displayString) : (0, o.sprintf)(O.collectionEditor.itemsInCollection, this.collectionItems.length, this.type.displayString) : super.displayValue; + } + get errorMessage() { + return this.hasError ? this.isLiteralMode ? this.hasParseError ? this._parseResult.resultMessage : O.errors.collectionError : this.resultMessage : null; + } + get hasError() { + return this.isLiteralMode ? this.collectionItems && this.collectionItems.hasError || this.hasParseError : this._getHasError(); + } + get label() { var e3; - return null === (e3 = this._getAssignableProperty("customerIntent")) || void 0 === e3 ? void 0 : e3.name; + return (null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.labelOverride) || this._label; } - get isArchValueAssignedCustomerIntent() { - return true; + set label(e3) { + this._label = e3, this.collectionItems && this.collectionItems.orderChanged && this.collectionItems.orderChanged(); } - } - t2.default = r2; - }, 41898: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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.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 resultMessage() { + return this.isLiteralMode && this.hasError ? this.hasParseError ? this._parseResult.resultMessage : O.errors.collectionError : this._parseResult ? this._parseResult.resultMessage : ""; } - get className() { - return "BaseIdNameDesc"; + get resultType() { + return this.isLiteralMode && this.hasError ? C.ParseResultTypes.error : this._parseResult ? this._parseResult.resultType : void 0; } - get description() { - return this._description; + get type() { + return this._type; } - get icon() { - return this._icon; + set type(e3) { + (null == e3 ? void 0 : e3.isCustomType) ? super.type = e3 : this._type = e3; } - get id() { - return this._id; + removeChild(e3) { + this.collectionItems.removeChild(e3); } - get name() { - return this._name; + removeAll() { + var e3, t3, i3; + this.collectionItems.removeAll(), r.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); } - get isBaseIdNameDesc() { - return true; + setLiteralEmptyCollection() { + this.mode = N.literal, this.removeAll(); } - } - t2.default = s; - }, 41935: (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); + get amObjectEventSink() { + return true; } - get _actionTypeId() { - return r2.submitVoicemailSnippetActionType; + objEvent_listOrderChanged() { + d.fireEvent(this, c.listOrderChanged), (0, p.validateItem)(this, true, true); } - get displayTypeName() { - return "ArchActionSubmitVoicemailSnippet"; + _initialize() { + 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 isArchActionSubmitVoicemailSnippet() { + get isCollectionExpression() { return true; } - } - t2.default = o; - }, 41996: (e2, t2, i2) => { - "use strict"; - var n2 = i2(9805), r2 = true, o = true; - try { - String.fromCharCode.apply(null, [0]); - } catch (e3) { - r2 = false; - } - try { - String.fromCharCode.apply(null, new Uint8Array(1)); - } catch (e3) { - o = false; - } - for (var a = new n2.Buf8(256), s = 0; s < 256; s++) a[s] = s >= 252 ? 6 : s >= 248 ? 5 : s >= 240 ? 4 : s >= 224 ? 3 : s >= 192 ? 2 : 1; - function l(e3, t3) { - if (t3 < 65534 && (e3.subarray && o || !e3.subarray && r2)) return String.fromCharCode.apply(null, n2.shrinkBuf(e3, t3)); - for (var i3 = "", a2 = 0; a2 < t3; a2++) i3 += String.fromCharCode(e3[a2]); - return i3; - } - a[254] = a[254] = 1, t2.string2buf = function(e3) { - var t3, i3, r3, o2, a2, s2 = e3.length, l2 = 0; - for (o2 = 0; o2 < s2; o2++) 55296 == (64512 & (i3 = e3.charCodeAt(o2))) && o2 + 1 < s2 && 56320 == (64512 & (r3 = e3.charCodeAt(o2 + 1))) && (i3 = 65536 + (i3 - 55296 << 10) + (r3 - 56320), o2++), l2 += i3 < 128 ? 1 : i3 < 2048 ? 2 : i3 < 65536 ? 3 : 4; - for (t3 = new n2.Buf8(l2), a2 = 0, o2 = 0; a2 < l2; o2++) 55296 == (64512 & (i3 = e3.charCodeAt(o2))) && o2 + 1 < s2 && 56320 == (64512 & (r3 = e3.charCodeAt(o2 + 1))) && (i3 = 65536 + (i3 - 55296 << 10) + (r3 - 56320), o2++), i3 < 128 ? t3[a2++] = i3 : i3 < 2048 ? (t3[a2++] = 192 | i3 >>> 6, t3[a2++] = 128 | 63 & i3) : i3 < 65536 ? (t3[a2++] = 224 | i3 >>> 12, t3[a2++] = 128 | i3 >>> 6 & 63, t3[a2++] = 128 | 63 & i3) : (t3[a2++] = 240 | i3 >>> 18, t3[a2++] = 128 | i3 >>> 12 & 63, t3[a2++] = 128 | i3 >>> 6 & 63, t3[a2++] = 128 | 63 & i3); - return t3; - }, t2.buf2binstring = function(e3) { - return l(e3, e3.length); - }, t2.binstring2buf = function(e3) { - for (var t3 = new n2.Buf8(e3.length), i3 = 0, r3 = t3.length; i3 < r3; i3++) t3[i3] = e3.charCodeAt(i3); - return t3; - }, t2.buf2string = function(e3, t3) { - var i3, n3, r3, o2, s2 = t3 || e3.length, u = new Array(2 * s2); - for (n3 = 0, i3 = 0; i3 < s2; ) if ((r3 = e3[i3++]) < 128) u[n3++] = r3; - else if ((o2 = a[r3]) > 4) u[n3++] = 65533, i3 += o2 - 1; - else { - for (r3 &= 2 === o2 ? 31 : 3 === o2 ? 15 : 7; o2 > 1 && i3 < s2; ) r3 = r3 << 6 | 63 & e3[i3++], o2--; - o2 > 1 ? u[n3++] = 65533 : r3 < 65536 ? u[n3++] = r3 : (r3 -= 65536, u[n3++] = 55296 | r3 >> 10 & 1023, u[n3++] = 56320 | 1023 & r3); + processCollection(e3) { + if (this.collectionItems && !e3 && this.config) return; + 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 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); } - return l(u, n3); - }, t2.utf8border = function(e3, t3) { - var i3; - for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), i3 = t3 - 1; i3 >= 0 && 128 == (192 & e3[i3]); ) i3--; - return i3 < 0 || 0 === i3 ? t3 : i3 + a[e3[i3]] > t3 ? i3 : t3; - }; - }, 42048: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299); - class o extends r2.BaseClass { - constructor(e3) { - super(), this.model = e3; + setAsLiteral(e3) { + if (this.mode = N.literal, (0, _.isCollectionExpression)(e3)) { + const t3 = e3; + (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.`), r.default.each(t3.collectionItems.items, (e4) => { + this.collectionItems.addItem(this.collectionItems.createItem(e4.model, null, e4.options)); + })) : 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, h.isString)(e3) && !e3.length) return; + b.errorWithStack(null, `Invalid value passed to '${this.className}::setAsLiteral'. CollectionExpression cannot process a string value.`); + } } - get className() { - return "NLUDomainViewModel"; + addItem() { + const e3 = this.collectionItems.type.createExpressionOptionClass().applyDefaultCollectionItemOptions(this.options), t3 = this.collectionItems.createItem(null, null, e3); + return this.collectionItems.addItem(t3), t3; } - get draftVersion() { - return this.model.draftVersion; + _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, o.sprintf)(a.configureFromModel.collectionLitMustBeArray, typeof e4))); + n3 = e4; + } + } + if (void 0 === n3) return; + const r2 = y.default.defaultCollectionItemsMax; + if ((0, f.enforceValueLimit)(n3.length <= r2, (0, o.sprintf)(a.configureFromModel.collectionLiteralItemCap, n3.length, r2), i3)) { + this.setLiteralEmptyCollection(); + for (let e4 = 0; e4 < n3.length; e4++) { + const o2 = n3[e4], r3 = this.addItem(); + (0, g.hasConfigureFromModel)(r3) && (i3 ? (0, T.withModelContext)(i3, `[${e4}]`, () => { + r3.configureFromModel(o2, t3, i3); + }) : r3.configureFromModel(o2, t3, i3)); + } + } } - get id() { - return this.model.id; + _clearCollectionItems() { + this.collectionItems && (d.unregisterEventSinkForEventEmitter(this.collectionItems.id, this), this.collectionItems.destroy(), this.collectionItems = void 0); } - get name() { - return this.model.name; + get mode() { + return super.mode; } - get isFromWorkbench() { - return this.model.isFromWorkbench; + set mode(e3) { + this.isLiteralMode && e3 !== N.literal && this._clearCollectionItems(), super.mode = e3, this.createDefaultItems(); } - get isPublished() { - return !!this.model.lastPublishedVersion; + createDefaultItems() { } - get intents() { - return this.model.intents; + outOfServiceChanged(e3) { + super.outOfServiceChanged(e3), this.createDefaultItems(); } - get entityTypes() { - return this.model.entityTypes; + setModeWithTransition(e3, t3) { + if (this.mode !== e3) { + if (this.isLiteralMode && e3 === N.expression) { + if (this.collectionItems.length > 0) this.model.text = this.getEmbeddableExpressionText(); + else { + const e4 = this.type.getConversionText(); + this.model.text = e4 ? (0, o.sprintf)("MakeEmptyList(%s(NOT_SET))", e4) : ""; + } + this._savedConfig = this.config, this._savedMetaData = this.metaData; + } else this.model.text = "", this._savedConfig && this.setConfigAndMetaData(this._savedConfig, this._savedMetaData); + this.mode = e3, this.rebuildOrCreateBuilderByDefId(t3); + } } - getEntityTypeMechanismForArchNluEntity(e3) { - var t3; - if (!e3) return; - const i3 = null === (t3 = this.entityTypes) || void 0 === t3 ? void 0 : t3.find((t4) => t4.name === e3.type); - return null == i3 ? void 0 : i3.mechanism.type; + validate(e3) { + if (this.isLiteralMode && !this.outOfService) { + this.processCollection(false); + let t3 = true; + const i3 = this.collectionItems.items && this.collectionItems.items.length; + let n3; + if (i3 > u.limits.collectionItemsMax) n3 = (0, o.sprintf)(O.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, o.sprintf)(O.expression.collectionItemsMaxRecommendedExceeded, this.collectionItems.items.length, this.optionsAs().maxItems), this.setParseWarning(n3)) : (n3 = (0, o.sprintf)(O.expression.collectionItemsMaxExceeded, this.collectionItems.items.length, this.optionsAs().maxItems), this.setParseError(n3), t3 = false); + else if (1 === this.optionsAs().minItems && 0 === i3) n3 = O.expression.collectionItemsEmpty, this.setParseError(n3), t3 = false; + else if (this.optionsAs() && i3 < this.optionsAs().minItems) n3 = (0, o.sprintf)(O.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, o.sprintf)(O.errors.invalidValue, this.errorLabel); + e3.nodeHasError(this.parent.id, t4) || (e3.addError(this.parent, t4), e3.addError(this.parent, n3)); + } + return r.default.each(this.collectionItems.items, function(i4) { + t3 = i4.validate(e3) && t3; + }), true !== t3 || this.hasConfig ? t3 : this._handleNoConfigAtEndOfValidation(e3); + } + return super.validate(e3); } - get entities() { - return this.model.entities; + _initializeDesignTime() { + super._initializeDesignTime(), this.collectionItems && this.collectionItems.items && r.default.each(this.collectionItems.items, (e3) => e3.initializeDesignTime()); } - get lastPublishedVersion() { - if (this.isPublished) return this.model.lastPublishedVersion.id; + getExpressions() { + return this.isLiteralMode ? this.collectionItems.getExpressions() : super.getExpressions(); } - get label() { - return this.name; + removeDependantValidationIssues(e3, t3, i3) { + var n3; + super.removeDependantValidationIssues(e3, t3, i3), t3.isCollectionExpression && (null === (n3 = t3.collectionItems) || void 0 === n3 ? void 0 : n3.items) && t3.collectionItems.items.forEach((t4) => { + e3.removeIssues(t4, i3); + }); } - getSlotsWithSameNameButDiffType() { - const e3 = {}, t3 = []; - return n2.default.each(this.intents, (i3) => { - n2.default.each(i3.entityTypeBindings, (i4) => { - if (!n2.default.isObject(i4) || !n2.default.isString(i4.entityName) || !n2.default.isString(i4.entityType)) return; - const r3 = i4.entityName.toLowerCase(), o2 = e3[r3]; - o2 ? i4.entityType !== o2 && t3.push(i4.entityName) : e3[r3] = i4.entityType; - }); - }), t3; + getEmbeddableExpressionText() { + if (this.isLiteralMode && this.type.canConvertLitToExpression(this.parentFlow.type)) { + const e3 = r.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, o.sprintf)("MakeList(%s)", i3); + } + return super.getEmbeddableExpressionText(); + } + getCustomJsonText() { + if (this.isLiteralMode) { + const e3 = []; + for (const t3 of this.collectionItems.items) e3.push(t3.getCustomJsonText()); + return `[ ${e3.join(", ")} ]`; + } + return `{{ ${this.getEmbeddableExpressionText()} }}`; } } - t2.default = o; - }, 42062: (e2, t2, i2) => { + t2.CollectionExpression = E, I.NormalExpression.CollectionExpression = E; + }, 73646(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.BaseConversationAttributeActionViewModel { - constructor(e3, t3) { - super(e3, t3), this._loadModel(t3); + t2.ExpressionFuncOp = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55909), r = i2(33951); + t2.ExpressionFuncOp = class { + constructor(e3, t3, i3, n3, o2) { + this.className = "ExpressionFuncOp", this.isUnavailable = false, this.description = i3, this.overloads = o2, this.funcCategory = n3, this.identifier = e3.identifier, this.isFunction = "function" === e3.type, this.isOperator = "operator" === e3.type, this.text = t3, this.type = e3.type, this.runtimeSequencesSystemPrompts = e3.runtimeSequencesSystemPrompts, this.runtimeRequiresTTSSupport = e3.runtimeRequiresTTSSupport, this.closingSymbol = e3.closingSymbol, e3.needsServerInfo && (this.needsServerInfo = true), this._processSupportedFlowTypes(); } - static createCustomJsonProperties() { - return this.createManagedPropertiesFromConfig({ includeInput: true, includeOutput: true, inputOptionsFactory: () => s.ExpressionTypeJsonOptions.create((e3) => { - e3.setAsInput().setUiPropertyGroup(d.setAttributes.attribute).setIsCustomJsonType(true).setUiSingleItemSectionPropertyGroup(true).setHideLabel(true).setIninTestingField("customJsonInput"); - }), outputOptionsFactory: () => s.ExpressionTypeJsonOptions.create((e3) => { - e3.setAsOutput().setIsCustomJsonType(true).setLabelOverride(d.conversationAttribute.resultLabel).setIninTestingField("customJsonOutput"); - }) }); + getAvailableOverloads(e3, t3) { + r.ParameterValidator.expectFlowType(e3, function() { + return o.ParameterInfo.createFunctionParameter(this.className, "getAvailableOverloadsForFlowType", "flowType"); + }.bind(this), true); + const i3 = []; + return n2.default.each(this.overloads, (o2) => { + (t3 && t3.id === o2.id || !o2.isUnavailable && (n2.default.isUndefined(e3) || n2.default.isUndefined(o2.supportedFlowTypes) || n2.default.contains(o2.supportedFlowTypes, e3))) && i3.push(o2); + }), i3; } - static get managedProperties() { - return [...this.createBaseManagedProperties(), this.createRecordIdManagedProperty(), this.createDivisionsManagedProperty(), ...this.createCustomJsonProperties()]; + _processSupportedFlowTypes() { + let e3, t3; + n2.default.each(this.overloads, (i3) => { + i3.supportedFlowTypes && !t3 ? (e3 || (e3 = {}), n2.default.each(i3.supportedFlowTypes, (t4, i4) => { + e3[i4] = t4; + })) : (t3 = true, e3 = void 0); + }), e3 ? this.supportedFlowTypes = e3 : delete this.supportedFlowTypes; } - _getPossibleErrors() { - return a.createConversationAttributeFailureReasons; + _unitTestEnableLanguageForNeedServerInfo(e3, t3, i3) { + console.error("ExpressionFuncOp._unitTestEnableLanguageForNeedServerInfo should only be called in unit tests!"); + } + unitTestRestoreNeedServerInfoSnapshot() { + console.error("ExpressionFuncOp.unitTestRestoreNeedServerInfoSnapshot should only be called in unit tests!"); + } + _unitTestEnableOverloads() { + console.error("ExpressionFuncOp._unitTestEnableOverloads should only be called in unit tests!"); + } + startupConfigureFromBootstrapInfo(e3, t3) { + this.bootStrapInfoProcessed = true, e3.overloads && n2.default.each(e3.overloads, (e4, i3) => { + const o2 = n2.default.findWhere(this.overloads, { id: i3 }); + o2 && o2.startupConfigureFromBootstrapInfo(e4, t3); + }); + } + startupFinalize() { + n2.default.each(this.overloads, (e3) => { + e3.startupFinalize(); + }), this.isUnavailable = !n2.default.find(this.overloads, (e3) => true !== e3.isUnavailable), this._processSupportedFlowTypes(); } - } - 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, 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: c.builderParts.integer.literal.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => { - e3.setAllowModeLiteralOnly().setIninTestingField("integerLiteral"); - }, 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 = 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), 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) => { + }, 90924(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.__importDefault(i2(84783)), s = i2(33231); - function l(e3) { - return s.all(e3); - } - class u extends a.default { - createPromise(e3) { - let t3; - return t3 = Array.isArray(e3) ? (function(e4) { - if (Array.isArray(e4)) { - const t4 = []; - if (r2.default.each(e4, function(i3, n3) { - s.isPromiseAlike(i3) ? t4.push(i3) : this.logErrorAndThrow((0, o.sprintf)("array contained non promise value at index [%s]", n3), this, e4); - }), t4.length > 0) return l(t4); - } - })(e3) : l(e3), Object.defineProperties(t3, { displayTypeName: { value: "ArchPromise" }, isArchPromise: { value: true } }), t3; + t2.ExpressionFuncPart = void 0; + const n2 = i2(31635).__importStar(i2(81116)), o = i2(27491), r = i2(14394), a = i2(55909), s = i2(33951), l = i2(36470); + t2.ExpressionFuncPart = class { + constructor(e3) { + this._endTextPos = -1, this._identifierText = "", this._identifierStartTextPos = -1, this._leftParenTextPos = -1, this._nextTokenGetsNewParameter = false, this._parenCount = 0, this._parameterItemIdx = -1, this._parameterItems = [], this._resolvedFuncDefChecked = false, this._resolvedFuncOverloadDefChecked = false, this._rightParenTextPos = -1, this._expression = e3; } - get displayTypeName() { - return "ArchFactoryPromise"; + get parameterStrings() { + const e3 = []; + return this._parameterItems.forEach((t3) => { + "string" == typeof t3 ? e3.push(t3) : t3.isExpressionFuncPart ? e3.push(t3.partText) : e3.push(""); + }), e3; } - get isArchFactoryPromise() { + get className() { + return "ExpressionFuncPart"; + } + get isExpressionFuncPart() { return true; } - get logStr() { - const e3 = [this.displayTypeName]; - return this._createLogStrFromParts(e3); + get parameterHasMismatchedParens() { + return 0 !== this._parenCount; } - } - t2.default = new u(); - }, 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), 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 = d.agenticVirtualAgent.agenticVirtualAgentVersion, this.uiMetadataSectionName = "agenticVirtualAgentsVersions", this.noApiCallList = true, this._initialize(); + get partText() { + return this._expression.text.substring(this.startTextPos, this.endTextPos + 1); } - get requiredAuth() { - return u.externalAuthorizations.authStrings.agenticVirtualAgentVersionView; + get resolvedFuncOverloadDef() { + if (!this._resolvedFuncOverloadDefChecked && (this._resolvedFuncOverloadDefChecked = true, this.partText)) { + const e3 = n2.doNotTrackExpression(this._expression.parentFlow, this._expression.parent, null, "", r.globalTypes.any); + e3.setAsExpression(this.partText), e3.processText(true); + let t3 = e3.config; + if (t3 && t3.isImplicitCastingFunc && (t3 = t3.getOperands()[0]), t3) { + const e4 = o.expressionDataService.getOverload(t3, void 0, this._expression); + e4.result && (this._resolvedFuncOverloadDef = e4.result); + } + this.resolvedFuncDef && !this._resolvedFuncOverloadDef && 1 === this.resolvedFuncDef.overloads.length && (this._resolvedFuncOverloadDef = this.resolvedFuncDef.overloads[0]); + } + return this._resolvedFuncOverloadDef; } - get dependencyType() { - return p.AgenticVirtualAgentVersion; + get identifierText() { + return this._identifierText; } - get _networkModel() { - return a.default; + get hasIdentifier() { + return this.identifierStartTextPos >= 0 && this.identifierText.length > 0; } - _createItemViewModel(e3) { - return new l.AgenticVirtualAgentVersionViewModel(e3); + get identifierStartTextPos() { + return this._identifierStartTextPos; } - } - t2.AgenticVirtualAgentVersionManager = _, t2.agenticVirtualAgentVersionManager = new _(); - }, 42150: (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 identifierEndTextPos() { + return -1 === this._identifierStartTextPos ? -1 : this._identifierStartTextPos + this._identifierText.length - 1; } - get _globalTypeName() { - return "choiceCollection"; + get resolvedFuncDef() { + if (!this._resolvedFuncDefChecked) { + this._resolvedFuncDefChecked = true; + const e3 = o.expressionDataService.getFuncIdByText(this._identifierText); + e3 && 1 === e3.length && e3[0].isFunction ? this._resolvedFuncDef = e3[0] : this._resolvedFuncDef = void 0; + } + return this._resolvedFuncDef; } - get initialValue() { - return this._initialValue; + get isValidFunctionCall() { + return !!this.resolvedFuncDef && this.hasLeftParen && this.hasRightParen; } - get displayTypeName() { - return "ArchVariableChoiceCollection"; + get isFunctionCall() { + return this.hasIdentifier && this.hasLeftParen && this.hasRightParen; } - get isArchVariableChoiceCollection() { - return true; + get isParensOnly() { + return this.hasLeftParen && this.hasRightParen && !this.hasIdentifier; } - } - t2.default = r2; - }, 42161: (e2, t2, i2) => { - const n2 = i2(11475), r2 = i2(68259).default; - function o() { - o.baseConstructor.apply(this, arguments), this.facets || (this.facets = new r2({ decimalPlaces: 2 })); - } - n2.extend(o, "CurrencyVariable", true), Object.defineProperties(o.prototype, { facets: { enumerable: false, get: function() { - return this._facets; - }, set: function(e3) { - this._facets = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 42170: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindScheduleActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + get functionText() { + const e3 = this.resolvedFuncDef; + return e3 ? e3.text : void 0; } - } - t2.FindScheduleActionModel = o, o.__type = r2.findScheduleActionType, o.registerType(); - }, 42175: (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 = n2.__importStar(i2(62829)), s = i2(30801), l = i2(92140); - class u extends r2.default { - static get definition() { - const e3 = this.prototype; - e3._ensureSessionIsConnected(e3._infoPropGet("definition"), o.default); - const t3 = a.getInfo(e3._actionTypeId), i3 = a.getInfo(s.menuActionActionType); - return e3.coreFactory.createArchWrapper({ coreActionNodeInformation: t3, coreMenuNodeInformation: i3, isArchMenuDefinition: true, id: i3.id }); + get leftParenTextPos() { + return this._leftParenTextPos; } - constructor(e3) { - super(e3); + get hasLeftParen() { + return -1 !== this._leftParenTextPos; } - get _actionTypeId() { - console.log(`INTERNAL ERROR - _actionTypeId not implemented for '${this.displayTypeName}'`); + get rightParenTextPos() { + return this._rightParenTextPos; } - get definition() { - this._ensureSessionIsConnected(this._infoPropGet("definition"), o.default); - const e3 = a.getInfo(this._actionTypeId), t3 = a.getInfo(s.menuActionActionType); - return this.coreFactory.createArchWrapper({ coreActionNodeInformation: e3, coreMenuNodeInformation: t3, isArchMenuDefinition: true, id: t3.id }); + get hasRightParen() { + return -1 !== this._rightParenTextPos; } - get displayTypeName() { - return "ArchBaseMenu"; + get startTextPos() { + return -1 !== this._identifierStartTextPos ? this._identifierStartTextPos : -1 !== this._leftParenTextPos ? this._leftParenTextPos : this._rightParenTextPos; } - get isArchBaseMenu() { - return true; + get endTextPos() { + return -1 !== this._endTextPos ? this._endTextPos : -1 !== this._rightParenTextPos ? this._rightParenTextPos : -1 !== this._leftParenTextPos ? this.leftParenTextPos : this.identifierEndTextPos; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().parentFlow); + setEndTextPosToExpressionTextLength() { + this._endTextPos = this._expression.text.length - 1; } - _findCoreMenuChoiceById(e3) { - if (!e3) return; - const t3 = this._getCoreViewModel(); - return l.isArray(t3.choices) ? l.find(t3.choices, (t4) => t4.id === e3) : void 0; + get infoString() { + const e3 = []; + this.resolvedFuncDef ? (e3.push("resolved function: " + this.functionText), this.resolvedFuncOverloadDef && e3.push("overload: " + this.resolvedFuncOverloadDef.id)) : -1 !== this.identifierStartTextPos && e3.push("unresolved function: " + this.identifierText), e3.push("parens: " + (this.hasLeftParen ? "(" : "") + (this.hasRightParen ? ")" : "") + (this.hasLeftParen ? ", leftParenTextPos: " + this.leftParenTextPos : "") + (this.hasRightParen ? ", rightParenTextPos: " + this.rightParenTextPos : "")), e3.push("startTextPos: " + this.startTextPos), e3.push("endTextPos: " + this.endTextPos), e3.push("partText: " + this.partText), e3.push("parameter count: " + this._parameterItems.length); + const t3 = this.parameterStrings; + for (let i3 = 0; i3 < t3.length; i3++) e3.push(" parm " + i3 + ": " + t3[i3]); + return e3.join("\n "); } - get trackingId() { - return this._getCoreViewModel().trackingId; + containsPosition(e3) { + return s.ParameterValidator.expectInt(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "containsPosition", "position")), this.startTextPos <= e3 && this.endTextPos >= e3; } - set trackingId(e3) { - const t3 = this._infoPropSet("value", "trackingId"); - this._ensureCanSetTrackingIds(t3, o.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}.`)); + setLeftParenFromAntlrToken(e3) { + return this._leftParenTextPos = s.ParameterValidator.expectTrue(-1 === this._leftParenTextPos, e3.tokenPos, "left paren already set", () => a.ParameterInfo.createFunctionParameter(this.className, "setLeftParenFromAntlrToken", "token")), this.hasIdentifier && this.addParameterPlaceholder(), this; } - } - t2.default = u; - }, 42193: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - t3 || (t3 = e3); - 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 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), c = i2(69674), d = i2(23695), p = o.getTopic("BlankWorkflow"); - }, 42217: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _expression: { writable: true }, _variable: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "VariableExpressionPair"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - this.expression.pasteReIdOrRename(e3), this.variable.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - this.expression.pasteResolveOldToNewValues(e3), this.variable.pasteResolveOldToNewValues(e3); - } }, expression: { enumerable: true, get: function() { - return this._expression; - }, set: function(e3) { - this._expression = this.reviveItem(e3, r2); - } }, variable: { enumerable: true, get: function() { - return this._variable; - }, set: function(e3) { - this._variable = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 42237: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(66800), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.digitalAudioManager); + setRightParenFromAntlrToken(e3) { + return this._rightParenTextPos = s.ParameterValidator.expectTrue(-1 === this._rightParenTextPos, e3.tokenPos, "right paren already set", () => a.ParameterInfo.createFunctionParameter(this.className, "setRightParenFromAntlrToken", "token")), this; } - get _globalTypeName() { - return "digitalAudio"; + setIdentifierFromAntlrToken(e3) { + return this._identifierText = e3.token.getText(), this._identifierStartTextPos = s.ParameterValidator.expectTrue(-1 === this._leftParenTextPos || e3.tokenPos < this._leftParenTextPos, e3.tokenPos, "identifier token pos < left paren pos", () => a.ParameterInfo.createFunctionParameter(this.className, "setIdentifierFromAntlrToken", "token")), this._resolvedFuncDefChecked = false, this; } - get displayTypeName() { - return "ArchValueDigitalAudio"; + _appendTextToCurrentParameter(e3) { + if (this._nextTokenGetsNewParameter) return this._parameterItems.push(e3), this._parameterItemIdx = this._parameterItemIdx + 1, void (this._nextTokenGetsNewParameter = false); + "string" == typeof this._parameterItems[this._parameterItemIdx] ? this._parameterItems[this._parameterItemIdx] = this._parameterItems[this._parameterItemIdx] + e3 : this._parameterItems[this._parameterItemIdx] = e3; } - get isArchValueDigitalAudio() { - return true; + appendExpressionFuncPartTextForCurrentParameter(e3) { + this._appendTextToCurrentParameter(e3.partText); } - setLiteralByDigitalAudioIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("digitalAudioId", "setLiteralByDigitalAudioIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDigitalAudioIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByDigitalAudioIdAsync", t3, this)); - }); + addParameterPlaceholder() { + this._nextTokenGetsNewParameter && (this._parameterItems.push(""), this._parameterItemIdx = this._parameterItemIdx + 1), this._nextTokenGetsNewParameter = true; } - setLiteralByDigitalAudioNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("digitalAudioName", "setLiteralByDigitalAudioNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDigitalAudioNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByDigitalAudioNameAsync", t3, this)); - }); + addLParenAntlrTokenToCurrentParameter(e3) { + this._parenCount = this._parenCount + 1, this.addAntlrTokenToCurrentParameter(e3); } - } - t2.default = s; - }, 42268: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + addRParenAntlrTokenToCurrentParameter(e3) { + this._parenCount = this._parenCount - 1, this.addAntlrTokenToCurrentParameter(e3); } - get _globalTypeName() { - return "journeySdkLibrary"; + addAntlrTokenToCurrentParameter(e3) { + this._nextTokenGetsNewParameter && e3.tokenType === l.WS || this._appendTextToCurrentParameter(e3.token.getText()); } - get name() { + destroy() { + this._resolvedFuncDef = void 0, this._resolvedFuncOverloadDef = void 0; } - get version() { + }; + }, 69772(e2, t2, i2) { + "use strict"; + t2.ExpressionItem = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 r.BaseClass { + get className() { + return "ExpressionItem"; } - get displayTypeName() { - return "ArchValueJourneySdkLibrary"; + constructor(e3, t3, i3) { + super(), Object.defineProperty(this, "_type", { enumerable: false, writable: true }), Object.defineProperty(this, "_root", { value: e3, enumerable: false, writable: false }), Object.defineProperty(this, e3, { value: {}, enumerable: true, writable: true }), this.position = t3, this.text = i3; } - get isArchValueJourneySdkLibrary() { - return true; + get items() { + return this.root.items; } - } - t2.default = r2; - }, 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)), 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: 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 } }); + set items(e3) { + d(this.root, "items"), this.root.items = e3 || []; } - get expressionDefs() { - return this._expressionDefs; + get isBracketArrayAccess() { + var e3; + const t3 = this.getOperands(); + return "[" === this._root && t3 && 2 === t3.length && (null === (e3 = t3[0].type) || void 0 === e3 ? void 0 : e3.expressionType) === u.expressionTypeNames.integer; } - get viewId() { - return this._viewId; + get isBracketAccess() { + const e3 = this.getOperands(); + return "[" === this._root && e3 && 2 === e3.length; } - get useStringLiteralProcessing() { - return this._useStringLiteralProcessing; + get isBracketArrayOrPropAccess() { + return this.isBracketArrayAccess || this.isPropAccess; } - get className() { - return "BuilderPartWithExpressionsDef"; + get isCollection() { + return !!this._type && this._type.isCollection; } - createBuilderPartViewModel(e3, t3) { - const i3 = new u.default({ builderPartDefId: this.id, version: this.version }); - return this.reviveItem(e3, t3, i3); + get isEmp() { + return "emp" === this._root; } - reviveItem(e3, t3, i3, n3) { - switch (null == i3 ? void 0 : i3.builderPartDefId) { - case l.builderPartIds.communication.markdown: - case l.builderPartIds.string.markdown: - 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 }); + get isFunc() { + return "fn" === this.root.opOrFunc; + } + get isImplicitCastingFunc() { + if (this.isFunc) { + const e3 = this.getOperands(); + if (e3 && e3.length > 0) return e3[0].position === this.position; } + return false; } - } - t2.default = p; - }, 42433: (e2, t2, i2) => { - "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), c = i2(69212), d = i2(80295), p = i2(55909), _ = i2(33951); - class h { - constructor() { - 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 isLit() { + return "lit" === this._root; } - get className() { - return "BaseOptions"; + get isNotSet() { + return "nul" === this._root; } - get isBaseOptions() { - return true; + get isOp() { + return "op" === this.root.opOrFunc; } - invokeOptionsCallback(e3) { - return a.default.isFunction(e3) && e3(this), this; + get isPromptRef() { + return ("ref" === this._root || "sysref" === this._root) && this.root.type === u.expressionTypeNames.prompt; } - configure(e3) { - return e3(this), this; + get isPropAccess() { + var e3; + const t3 = this.getOperands(); + return ("." === this._root || "[" === this._root) && t3 && 2 === t3.length && (null === (e3 = t3[0].type) || void 0 === e3 ? void 0 : e3.expressionType) === u.expressionTypeNames.string; } - get facets() { + get isRef() { + return "ref" === this._root; } - set facets(e3) { + get isRefOrSysRef() { + return "ref" === this._root || "sysref" === this._root; } - setFromOptions(e3) { - this._setFromOptions(e3), this._setFacetsFromOptions(e3); + get isSysPromptRef() { + return "sysref" === this._root && this.root.type === u.expressionTypeNames.prompt; } - _setFromOptions(e3) { - _.ParameterValidator.expectObject(e3, () => p.ParameterInfo.createFunctionParameter(this.className, "_setFromOptions", "baseOptions"), false), this._setOptionIfSet(this.setAssumeOosIfTypeUnavailable, e3.assumeOosIfTypeUnavailable), this._setOptionIfSet(this.setDisallowedFunctionMap, e3.disallowedFunctionMap), this._setOptionIfSet(this.setUiLayout, e3.uiLayout), this._setOptionIfSet(this.setCanCreateObjectInAction, e3.canCreateObjectInAction, "_canCreateObjectInAction"), this._setOptionIfSet(this.setFeatureConfigName, e3.featureConfigName, "_featureConfigName"), this._setOptionIfSet(this.setAntiFeatureConfigName, e3.antiFeatureConfigName, "_antiFeatureConfigName"), this._setOptionIfSet(this.setIninTestingField, e3.ininTestingField, "_ininTestingField"), this._setOptionIfSet(this.setUiPropertyGroup, e3.uiPropertyGroup, "_uiPropertyGroup"), this._setOptionIfSet(this.setUiSingleItemSectionPropertyGroup, e3.uiSingleItemSectionPropertyGroup, "_uiSingleItemSectionPropertyGroup"), this._setOptionIfSet(this.setUiPropertyOrder, e3.uiPropertyOrder, "_uiPropertyOrder"), this._setOptionIfSet(this.setUiDisableOnOutOfService, e3.uiDisableOnOutOfService, "_uiDisableOnOutOfService"), this._setOptionIfSet(this.setUiDisabledTooltip, e3.uiDisabledTooltip, "_uiDisabledTooltip"), e3.uiPropertyCardGroup && this.setUiPropertyCardGroup(e3.uiPropertyCardGroup.groupName, e3.uiPropertyCardGroup.cardHeaderField, e3.uiPropertyCardGroup.isCollapsible); + get isSysRef() { + return "sysref" === this._root; } - _setFacetsFromOptions(e3) { - this.facets && e3 && this.facets.setFromFacets(e3.facets); + get isUserPromptRef() { + return "ref" === this._root && this.root.type === u.expressionTypeNames.prompt; } - _setOptionIfSet(e3, t3, i3) { - _.ParameterValidator.expectFunction(e3, () => p.ParameterInfo.createFunctionParameter(this.className, "_setOptionIfSet", "setter"), false), a.default.isUndefined(t3) ? i3 && (_.ParameterValidator.expectTrue(i3 in this, i3, "property exists on this", () => p.ParameterInfo.createFunctionParameter(this.className, "_setOptionIfSet", "propertyName"), false), this[i3] = void 0) : e3.call(this, t3); + get isTypeNotSet() { + return this.root.type === u.expressionTypeNames.notSet; } - get canCreateObjectInAction() { - return this._canCreateObjectInAction; + get isTypePrompt() { + return this.root.type === u.expressionTypeNames.prompt; } - set canCreateObjectInAction(e3) { - this._canCreateObjectInAction = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "canCreateObjectInAction", "value")); + get isVariableRef() { + if (this.isRefOrSysRef) return true; + let e3 = this; + for (; e3.isBracketArrayOrPropAccess; ) { + const t3 = e3.getOperands(); + e3 = t3[1]; + } + return e3.isRefOrSysRef; } - setCanCreateObjectInAction(e3) { - return this.canCreateObjectInAction = e3, this; + getVariableNameIfRef() { + var e3, t3; + const i3 = this._getRootVariableRef(); + if (i3) return (null === (e3 = i3.sysref) || void 0 === e3 ? void 0 : e3.text) || (null === (t3 = i3.ref) || void 0 === t3 ? void 0 : t3.text); } - get featureConfigName() { - return this._featureConfigName; + getIsVariableRefWithScope(e3) { + var t3; + if (!e3) return false; + const i3 = this._getRootVariableRef(); + return !!i3 && (null === (t3 = i3.text) || void 0 === t3 ? void 0 : t3.toLowerCase().startsWith(e3 + ".")); } - set featureConfigName(e3) { - this._featureConfigName = _.ParameterValidator.expectFeatureConfigName(e3, () => p.ParameterInfo.createPropertySet(this.className, "featureConfigName", "value")); + _getRootVariableRef() { + if (this.isRefOrSysRef) return this; + let e3 = this; + for (; e3.isBracketArrayOrPropAccess; ) { + const t3 = e3.getOperands(); + e3 = t3[1]; + } + return (null == e3 ? void 0 : e3.isRefOrSysRef) ? e3 : void 0; } - setFeatureConfigName(e3) { - return this.featureConfigName = e3, this; + getIsNamedVariableRef(e3) { + var t3; + if (!e3) return false; + const i3 = this._getRootVariableRef(); + return !!i3 && (null === (t3 = i3.text) || void 0 === t3 ? void 0 : t3.toLowerCase()) === e3.toLowerCase(); } - get antiFeatureConfigName() { - return this._antiFeatureConfigName; + get opOrFunc() { + return this.root.val; } - set antiFeatureConfigName(e3) { - this._antiFeatureConfigName = _.ParameterValidator.expectFeatureConfigName(e3, () => p.ParameterInfo.createPropertySet(this.className, "antiFeatureConfigName", "value")); + set opOrFunc(e3) { + d(this.root, "opOrFunc", true), this.root.opOrFunc = e3, e3 && (d(this.root, "operands"), this.root.operands = []); } - setAntiFeatureConfigName(e3) { - return this.antiFeatureConfigName = e3, this; + get position() { + return this.root.pos; } - get ininTestingField() { - return this._ininTestingField; + set position(e3) { + d(this.root, "pos"), this.root.pos = e3; } - set ininTestingField(e3) { - this._ininTestingField = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "ininTestingField", "value")); + get root() { + return this[this._root]; } - setIninTestingField(e3) { - return this.ininTestingField = e3, this; + get rootText() { + return this._root; } - get uiPropertyGroup() { - return this._uiPropertyGroup; + setContainerExpressionMetaData(e3, t3) { + if (!this.isRefOrSysRef) return void (t3 && (e3.metaData = {})); + e3.metaData ? e3.metaData.references || (e3.metaData.references = []) : e3.metaData = { references: [] }; + const i3 = this.val; + o.default.find(e3.metaData.references, function(e4) { + return e4.id === i3; + }) || e3.metaData.references.push({ id: this.val, type: this.root.type, isSysRef: this.isSysRef, name: this.text }); } - set uiPropertyGroup(e3) { - this._uiPropertyGroup = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyGroup", "value")); + get text() { + return this.root.text; } - setUiPropertyGroup(e3) { - return this.uiPropertyGroup = e3, this; + set text(e3) { + d(this.root, "text"), this.root.text = e3 || ""; } - get uiPropertyCardGroup() { - var e3; - return null === (e3 = this._uiPropertyCardGroup$) || void 0 === e3 ? void 0 : e3.value; + get type() { + return this._type; } - set uiPropertyCardGroup(e3) { - _.ParameterValidator.expectString(e3.cardHeaderField, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyCardGroup", "value.cardHeaderField"), true), _.ParameterValidator.expectString(e3.groupName, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyCardGroup", "value.groupName")), this._uiPropertyCardGroup$ ? a.default.isEqual(this.uiPropertyCardGroup, e3) || this._uiPropertyCardGroup$.next(e3) : this._uiPropertyCardGroup$ = new s.BehaviorSubject(e3); + set type(e3) { + d(this.root, "type"), o.default.isString(e3) ? this.root.type = e3 : (this._type = e3, this.root.type = e3.expressionType); } - get uiPropertyCardGroup$() { - var e3; - return null === (e3 = this._uiPropertyCardGroup$) || void 0 === e3 ? void 0 : e3.asObservable(); + get val() { + return this.root.val; } - setUiPropertyCardGroup(e3, t3, i3 = true) { - return this.uiPropertyCardGroup = { groupName: e3, cardHeaderField: t3, isCollapsible: i3 }, this; + set val(e3) { + d(this.root, "val"), this.root.val = e3; } - get uiSingleItemSectionPropertyGroup() { - return this._uiSingleItemSectionPropertyGroup; + addAdditionalProperties(e3) { + e3 && o.default.defaults(this.root, e3); } - set uiSingleItemSectionPropertyGroup(e3) { - this._uiSingleItemSectionPropertyGroup = e3; + finishForOutput(e3) { + const t3 = this.getOperands(); + t3 && o.default.each(t3, function(e4) { + e4.finishForOutput(true); + }), this.isLit && "str" === this.root.type && o.default.isString(this.root.val) && o.default.isString(this.root.text) ? (this.root.text = this.root.val, delete this.root.val) : e3 && (this.isFunc || this.isOp) && this.root && void 0 !== this.root.text && (this.root.text = void 0); } - setUiSingleItemSectionPropertyGroup(e3) { - return this.uiSingleItemSectionPropertyGroup = e3, this; + getErrorDisplayText() { + return this.isNotSet ? a.default.notSet : this.type ? this.type.displayString : ""; } - get uiPropertyOrder() { - return this._uiPropertyOrder; + getLitAsFloat() { + if (this.isLit && o.default.isString(this.root.text)) return parseFloat(this.root.text); } - set uiPropertyOrder(e3) { - this._uiPropertyOrder = _.ParameterValidator.expectInt(e3, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyOrder", "value")); + getLitAsInt() { + if (this.isLit && o.default.isString(this.root.text)) return parseInt(this.root.text); } - setUiPropertyOrder(e3) { - return this.uiPropertyOrder = e3, this; + getLitAsString() { + if (this.isLit && o.default.isString(this.root.text)) return this.root.text; } - get assumeOosIfTypeUnavailable() { - return this._assumeOosIfTypeUnavailable; + getOperands() { + return this.root.operands; } - set assumeOosIfTypeUnavailable(e3) { - this._assumeOosIfTypeUnavailable = e3; + getPropAccessInfo() { + if (this.isPropAccess) { + const e3 = this.getOperands(); + return { id: e3[0].root.val, propGroup: e3[0].root.propGroup }; + } } - setAssumeOosIfTypeUnavailable(e3) { - return this.assumeOosIfTypeUnavailable = e3, this; + getPropAccessName() { + if (this.isPropAccess) return this.updateExprText(), this.getText(); } - get uiDisableOnOutOfService() { - return this._uiDisableOnOutOfService; + getStringLit() { + if (this.isLit && o.default.isString(this.root.text)) return this.root.text; } - set uiDisableOnOutOfService(e3) { - this._uiDisableOnOutOfService = e3; + getText(e3, t3, i3) { + return this.knownExprText ? this.knownExprText : this.isNotSet ? a.default.notSet : this.isRef || this.isSysRef ? this.root.text : this.isLit ? t3 && this.root.resolvedProperty ? this.root.resolvedProperty : o.default.isString(this.root.text) ? "str" !== this.root.type || i3 ? this.root.text : l.default.getQuotedExpressionStringLiteral(this.root.text) : this.root.val : this.isOp && e3 ? "(" + this.root.text + ")" : this.root.text; } - setUiDisableOnOutOfService(e3) { - return this.uiDisableOnOutOfService = e3, this; + getExpressionTextForRoot() { + return this.isLit && o.default.isString(this.root.text) ? "str" === this.root.type ? '"' + this.root.text + '"' : this.root.text : this._root; } - get uiDisabledTooltip() { - return this._uiDisabledTooltip; + getTextWithFuncOpTextFallback(e3) { + if (!this.root.opOrFunc) return this.getText(void 0, e3); + return this.root.text || this._root; } - set uiDisabledTooltip(e3) { - this._uiDisabledTooltip = e3; + updateExprText() { + const e3 = this.getOperands(); + if (!e3) return; + o.default.each(e3, function(e4) { + e4.updateExprText(); + }); + const t3 = this._root; + if ("op" === this.root.opOrFunc) { + let i4, n3; + switch (e3.length) { + case 1: + this.text = t3 + e3[0].getText(true); + break; + 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(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)}"`; + } + this.text = n3 ? `${e3[1].getText(false, true)}[${t4}]` : `${e3[1].getText(false, true)}.${t4}`; + } else this.text = e3[0].getText(true, true) + " " + this._root + " " + e3[1].getText(true, true); + break; + case 3: + this.text = e3[0].getText(false) + " ? " + e3[1].getText(false, true) + " : " + e3[2].getText(false, true); + break; + default: + throw new Error("Internal error. Operators that have more than 3 or less than 1 operand are not supported."); + } + return; + } + let i3 = t3 + "("; + for (let t4 = 0; t4 < e3.length; t4++) t4 > 0 && (i3 += ", "), i3 += e3[t4].getText(false); + this.text = i3 + ")"; } - setUiDisabledTooltip(e3) { - return this.uiDisabledTooltip = e3, this; + } + t2.ExpressionItem = p; + }, 59263(e2, t2) { + "use strict"; + t2.ExpressionParameters = void 0, t2.ExpressionParameters = class { + constructor(e3, t3, i2, n2, o, r, a) { + this.parentFlow = e3, this.parent = t3, this.model = i2, this.label = n2, this.isInternal = o, this.options = r, this.transitory = a, this.type = null, this.propertyName = null; } - get uiLayout() { - return this._uiLayout; + }; + }, 2384(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(12847)), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(58380)), l = i2(9456), u = n2.__importDefault(i2(73198)); + t2.default = class { + constructor() { + this.id = (0, l.uuid)(), this.amObjectEventEmitter = true, this.collections = [], this.map = {}, this.singletons = []; } - set uiLayout(e3) { - a.default.isUndefined(e3) ? this._uiLayout = {} : (_.ParameterValidator.expectObject(e3, () => p.ParameterInfo.createPropertySet(this.className, "uiLayout", "value")), this._uiLayout = e3); + cloneTo(e3, t3) { + let i3, n3; + return o.default.each(this.map, (r2, l2) => { + var u2, c; + if (i3 = r2.single, n3 = r2.collection, null === (c = null === (u2 = r2.single) || void 0 === u2 ? void 0 : u2.model) || void 0 === c ? void 0 : c.isCustomizablePerFlow) { + const t4 = r2.single.constructor; + i3 = new t4(e3, o.default.deepClone(r2.single.model), r2.single.isCollection); + } + if (t3.map[l2] = { single: i3, collection: n3 }, i3 && t3.singletons.push(i3), n3 && t3.collections.push(n3), (null == i3 ? void 0 : i3.isCustomTypeArchitectBuiltIn) && (null == i3 ? void 0 : i3.isAvailableForFlowType(e3.type, true))) { + const n4 = i3.getCustomDataTypeDefinition(); + s.fireEvent(t3, a.customDataTypeRegistered, { dataTypeDefViewModel: n4, expressionType: i3 }, e3); + } + }), t3; } - setUiLayout(e3) { - return this.uiLayout = e3, this; + destroy() { + o.default.each(this.map, (e3, t3) => { + e3.collection && e3.collection.destroy(), e3.single && e3.single.destroy(), delete this.map[t3]; + }), this.collections.length = 0, this.singletons.length = 0; } - get disallowedFunctionMap() { - return this._disallowedFunctionMap; + _processTypeCollection(e3, t3) { + var i3; + for (let n3 = e3.length - 1; n3 >= 0; n3--) { + const o2 = e3[n3]; + !o2.isCollection || (null === (i3 = t3.dataTypes[o2.dataType]) || void 0 === i3 ? void 0 : i3.allowCollection) ? o2.startupConnectedAndReady() : e3.splice(n3, 1); + } } - set disallowedFunctionMap(e3) { - if (a.default.isUndefined(e3)) return void (this._disallowedFunctionMap = void 0); - let t3; - _.ParameterValidator.expectObject(e3, () => p.ParameterInfo.createPropertySet(this.className, "disallowedFunctionMap", "value")), this._disallowedFunctionMap = {}; - const i3 = Object.keys(e3); - let n3 = i3.length; - for (; n3--; ) t3 = i3[n3], this._disallowedFunctionMap[t3.toLowerCase()] = e3[t3]; + startupConnectedAndReady(e3) { + this._processTypeCollection(this.collections, e3), this._processTypeCollection(this.singletons, e3); } - get hasDisallowedFunctionMap() { - return !a.default.isUndefined(this._disallowedFunctionMap); + _getFlowTypeTypes(e3) { + const t3 = []; + return this.singletons.forEach((i3) => { + i3.isAvailableForFlowType(e3, true) && t3.push(i3); + }), this.collections.forEach((i3) => { + i3.isAvailableForFlowType(e3, true) && t3.push(i3); + }), t3; } - setDisallowedFunctionMap(e3) { - return this.disallowedFunctionMap = e3, this; + _getFlowInputTypes(e3) { + const t3 = []; + return this.singletons.forEach((i3) => { + i3.isAvailableAsInputForFlowType(e3) && t3.push(i3); + }), this.collections.forEach((i3) => { + i3.isAvailableAsInputForFlowType(e3) && t3.push(i3); + }), t3; } - get isExpressionTypeNetworkObjectOptions() { - return false; + _getFlowOutputTypes(e3) { + const t3 = []; + return this.singletons.forEach((i3) => { + i3.isAvailableAsOutputForFlowType(e3) && t3.push(i3); + }), this.collections.forEach((i3) => { + i3.isAvailableAsOutputForFlowType(e3) && t3.push(i3); + }), t3; } - clone() { - return (0, l.clone)(this); + _getFlowCreatableDataTypes(e3) { + const t3 = []; + return this.singletons.forEach((i3) => { + i3.isUserCreatableForFlow(e3) && t3.push(i3); + }), this.collections.forEach((i3) => { + i3.isUserCreatableForFlow(e3) && t3.push(i3); + }), t3; } - } - 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), 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 }]; + getType(e3, t3) { + const i3 = this.map[e3]; + return i3 ? t3 ? i3.collection : i3.single : null; } - constructor(e3, t3) { - super(e3), this._loadModel(t3); + getTypeFromDisplayString(e3) { + let t3 = o.default.findWhere(this.singletons, { displayString: e3 }); + return t3 || (t3 = o.default.findWhere(this.collections, { displayString: e3 })), t3; } - } - 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 }, _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); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments); - } }, voiceProcessingPrompt: { enumerable: true, get: function() { - return this._voiceProcessingPrompt; - }, set: function(e3) { - this._voiceProcessingPrompt = this.reviveItem(e3, r2); - } }, initialPlaybackDelay: { enumerable: true, get: function() { - return this._initialPlaybackDelay; - }, set: function(e3) { - this._initialPlaybackDelay = this.reviveItem(e3, r2); - } }, minimumPlaybackTime: { enumerable: true, get: function() { - 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; - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "SurveyFormList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 42607: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.WorktypeList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(48019)), a = i2(16127); - class s extends a.PagedListByCursor { - constructor(e3) { - super(e3); + _getMatchingTypes(e3, t3) { + const i3 = []; + return e3 && e3.isExpressionType && (e3.isCollection ? this.collections : this.singletons).forEach((n3) => { + !n3.isAnyPromptOrAudio && e3.isMatch(n3, t3) && i3.push(n3); + }), i3; } - get entities() { - return this._entities; + addCustomType(e3, t3, i3, n3) { + const o2 = e3.dataTypeId; + if (null == t3 ? void 0 : t3.isCustomType) { + if (r.info(`adding the custom data type '${o2}' to the expression type group '${this.id}'.`), this.map[o2]) { + if (o2.startsWith(u.default.exprDataTypePrefixJsonArch)) return void r.info(`the custom data type '${o2}' is an Architect data type that is already in the expression type group '${this.id}'. There is no need to re-add it. Exiting.`); + if (r.info(`the expression type group '${this.id}' already contains the custom data type '${o2}' so need to remove first from the expression type group '${this.id}'.`), !this.removeCustomType(o2, n3)) return r.error(`removal of custom data type '${o2}' from the expression type group '${this.id}' was not successful. Exiting.`), false; + r.info(`removal of existing custom data type '${o2}' from the expression type group '${this.id}' was successful. Now re-adding the custom data type '${o2}'.`); + } + return this.map[o2] = { single: t3, collection: i3 }, this.singletons.push(t3), this.collections.push(i3), s.fireEvent(this, a.customDataTypeRegistered, { dataTypeDefViewModel: e3, expressionType: t3 }, n3), r.info(`successfully added custom data type '${o2}' to the expression type group '${this.id}'.`), true; + } + r.error(`cannot add custom type with identifier '${o2}' to the expression type group as it's not a custom type.`); } - set entities(e3) { - this._entities = this.reviveArray(e3, o.default); + removeCustomType(e3, t3) { + if (!(null == e3 ? void 0 : e3.length)) return true; + const i3 = this.map[e3]; + if (!i3) return true; + if (e3.startsWith(u.default.exprDataTypePrefixJsonArch)) return r.error(`Unable to remove the custom data type '${e3}' as it is an Architect built-in type and removal is NOT allowed. Exiting.`), false; + const n3 = i3.single, o2 = i3.collection; + if (this.map[e3] = void 0, n3) { + for (let e4 = this.singletons.length - 1; e4 >= 0; e4--) if (this.singletons[e4] === n3) { + this.singletons.splice(e4, 1); + break; + } + } + if (o2) { + for (let e4 = this.collections.length - 1; e4 >= 0; e4--) if (this.collections[e4] === o2) { + this.collections.splice(e4, 1); + break; + } + } + return s.fireEvent(this, a.customDataTypeUnregistered, { dataTypeIdentifier: e3, expressionType: n3 }, t3), true; } - } - t2.WorktypeList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 42660: (e2, t2, i2) => { - const n2 = i2(58649), r2 = i2(90700), o = i2(36019).default; - function a() { - } - const s = new a(); - a.prototype.getContactList = o.request("GET", "{public-api.apps}/api/v2/outbound/contactlists/{id}", n2), a.prototype.getContactListsDivisionViews = o.request("GET", "{public-api.apps}/api/v2/outbound/contactlists/divisionViews", r2), s.getContactListsDivisionViews.addOptions({ ignoreBadResponse: true }), e2.exports = s; - }, 42685: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "VoiceSnippetVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; - }, 42699: (e2, t2, i2) => { - "use strict"; - 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)), 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__ = d); - } catch (e3) { - } - e2.exports = d; - }, 42714: (e2, t2, i2) => { - const n2 = i2(35317).exec, r2 = i2(35317).spawn, o = { darwin: function(e3) { - return r2("open", [e3]); - }, win32: function(e3) { - return n2('start "" "' + e3 + '"'); - }, default: function(e3) { - return r2("xdg-open", [e3]); - } }, a = o[process.platform] || o.default; - t2.open = function(e3, t3) { - const i3 = a(e3); - let n3 = ""; - i3.stderr.setEncoding("utf8"), i3.stderr.on("data", function(e4) { - n3 += e4; - }), i3.stderr.on("end", function() { - if (n3.length > 0) { - const e4 = new Error(n3); - if (!t3) throw e4; - t3(e4); - } else t3 && t3(); - }); }; - }, 42767: (e2, t2) => { + }, 53614(e2, t2, i2) { "use strict"; - function i2(e3, t3, i3) { - return { kind: e3, value: t3, error: i3 }; + t2.FuncOpOverload = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(24032), a = n2.__importStar(i2(35515)), s = n2.__importStar(i2(10798)), l = n2.__importStar(i2(27099)), u = n2.__importDefault(i2(98114)); + function c(e3, t3, i3 = "span") { + return `<${i3}${e3 ? ' class="' + e3 + '"' : ""}>${t3}`; } - Object.defineProperty(t2, "__esModule", { value: true }), t2.createNotification = t2.nextNotification = t2.errorNotification = t2.COMPLETE_NOTIFICATION = void 0, t2.COMPLETE_NOTIFICATION = i2("C", void 0, void 0), t2.errorNotification = function(e3) { - return i2("E", void 0, e3); - }, 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; - const n2 = i2(80428), r2 = i2(94765), o = i2(72012); - class a extends r2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + function d(e3) { + return e3.replace(/ /g, " "); + } + (0, r.getTopic)("funcOpOverload"), t2.FuncOpOverload = class { + constructor(e3, t3, i3, n3, r2, s2, l2, u2) { + this.isFuncOpOverload = true, this.hasRestrictions = e3.runtimeSequencesSystemPrompts || e3.runtimeRequiresTTSSupport || o.default.findWhere(s2, { hasRestrictions: true }), this.description = t3, this.disallowAsDefaultCast = e3.disallowAsDefaultCast, this.examplesHaveFeatureToggleOrConfig = e3.examplesHaveFeatureToggleOrConfig, this.featureToggleName = e3.featureToggleName, this.featureConfigName = e3.featureConfigName, this.hidden = e3.hidden, this.operands = s2, this.resultResolver = r2, this.returnDescription = n3, this.returnType = i3, this.runtimeSequencesSystemPrompts = e3.runtimeSequencesSystemPrompts, this.runtimeRequiresTTSSupport = e3.runtimeRequiresTTSSupport, this.version = e3.support.version, this.examples = l2, e3.needsServerInfo && (this.needsServerInfo = true), e3.supportedReturnValueTypeInfo && (this.supportedReturnValueTypeInfo = e3.supportedReturnValueTypeInfo), e3.supportedReturnValues && (this.supportedReturnValues = e3.supportedReturnValues), o.default.isActualNumber(e3.maxOperands) ? this.maxOperands = e3.maxOperands : o.default.isString(e3.maxOperands) && e3.maxOperands.length >= 1 && (this._maxOperands = e3.maxOperands, Object.defineProperty(this, "maxOperands", { get: () => { + if ("getFromEnvLimitsCollectionItemsMax" === this._maxOperands) return a.limits.collectionItemsMax; + } })), e3.supportedReturnValuesTitle && (this.supportedReturnValuesTitle = e3.supportedReturnValuesTitle), e3.addsToCollection && (this.addsToCollection = e3.addsToCollection), u2 && (this.passThrough = u2), this.isUnavailable = !!this.featureToggleName || !!this.featureConfigName || true === this.needsServerInfo, e3.supportedFlowTypes && (this.supportedFlowTypes = e3.supportedFlowTypes), e3.identifier && (this.id = e3.identifier), e3.blankAudioForSipPhoneNumber && (this.blankAudioForSipPhoneNumber = true), e3.mustBeLastOperationOrFunction && (this.mustBeLastOperationOrFunction = true), e3.supportedLanguageFilter && (this.supportedLanguageFilter = e3.supportedLanguageFilter); } - get className() { - return "AssignedCustomerSegmentType"; + get parent() { + return this._parent; } - createExpressionOptionClass() { - return new o.ExpressionTypeAssignedCustomerSegmentOptions(); + set parent(e3) { + this._parent = e3; } - get supportsLiteralEditor() { - return false; + _unitTestEnableLanguageForNeedServerInfo(e3, t3, i3) { + return console.error("FuncOpOverload._unitTestEnableLanguageForNeedServerInfo should only be called in unit tests!"), false; } - } - t2.AssignedCustomerSegmentType = a, a.typeIdentifier = n2.expressionTypeNames.assignedCustomerSegment; - }, 42989: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allSequenceItemTypes = t2.blank = t2.expression = t2.data = t2.prompt = t2.tts = void 0, t2.tts = 0, t2.prompt = 1, t2.data = 2, t2.expression = 3, t2.blank = 4, t2.allSequenceItemTypes = [t2.tts, t2.prompt, t2.data, t2.expression, t2.blank]; - }, 43011: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.userPromptListManager = t2.systemPromptListManager = void 0, t2.getItem = function(e3) { - return a.userPromptListManager.getItem(e3) || o.systemPromptListManager.getItem(e3); - }, t2.getItemByName = function(e3) { - return a.userPromptListManager.getItemByName(e3) || o.systemPromptListManager.getItemByName(e3); - }, t2.getBulkPromptContainers = function(e3, t3) { - const i3 = []; - return e3 && e3.length > 0 && i3.push(a.userPromptListManager.getBulkPromptContainers(e3)), t3 && t3.length > 0 && i3.push(o.systemPromptListManager.getBulkPromptContainers(t3)), Promise.all(i3); - }, t2.getAllPrompts = function() { - return n2.default.extend(n2.default.clone(a.userPromptListManager.items), n2.default.clone(o.systemPromptListManager.items)); - }, t2.refreshSinglePrompt = function(e3, t3) { - return t3 ? o.systemPromptListManager.refreshSinglePrompt(e3) : a.userPromptListManager.refreshSinglePrompt(e3); - }, t2.search = function(e3, t3, i3, n3) { - const o2 = new r2.PromiseDefer(), a2 = []; - return a2.push(this.userPromptListManager.search(e3, null, t3, i3, n3)), a2.push(this.systemPromptListManager.search(e3, null, t3, i3, n3)), Promise.all(a2).then((e4) => { - 2 === e4.length ? o2.resolve(e4[0].concat(e4[1])) : o2.reject(); - }, (e4) => { - o2.reject(e4); - }), o2.promise; - }; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(52023), o = i2(97951); - Object.defineProperty(t2, "systemPromptListManager", { enumerable: true, get: function() { - return o.systemPromptListManager; - } }); - const a = i2(23293); - Object.defineProperty(t2, "userPromptListManager", { enumerable: true, get: function() { - return a.userPromptListManager; - } }); - }, 43056: (e2) => { - !(function() { - "use strict"; - var t2, i2, n2 = Function("return this")(), r2 = "Boolean Number String Function Array Date RegExp Object".split(" "), o = {}; - for (t2 in r2) r2.hasOwnProperty(t2) && (i2 = r2[t2], o["[object " + i2 + "]"] = i2.toLowerCase()); - function a(e3) { - return null == e3 ? String(e3) : o[Object.prototype.toString.call(e3)] || "object"; + unitTestRestoreNeedServerInfoSnapshot() { + console.error("FuncOpOverload.unitTestRestoreNeedServerInfoSnapshot should only be called in unit tests!"); } - function s(e3) { - var t3, i3; - if ("object" === a(e3)) { - for (t3 in e3) if (void 0 !== (i3 = e3[t3]) && "function" !== a(i3)) return false; + startupConfigureFromBootstrapInfo(e3, t3) { + if (this.bootStrapInfoProcessed = true, o.default.find(e3.flowTypes, (e4, t4) => u.default.getIsValidFlowType(t4) && e4.isAvailable) && (this.serverInfoIndicatesSupported = true), t3) return this.supportedLanguageFilter || (this.supportedLanguageFilter = {}), void (this.supportedLanguageFilter[t3.id] = true); + if (e3.flowTypes && this.needsServerInfo) { + const t4 = {}; + o.default.each(e3.flowTypes, (e4, i3) => { + u.default.getIsValidFlowType(i3) && e4.isAvailable && (t4[i3] = i3); + }), this.supportedFlowTypes = t4; } - return true; } - String.prototype.entityify || (String.prototype.entityify = function() { - return this.replace(/&/g, "&").replace(//g, ">"); - }), String.prototype.quote || (String.prototype.quote = function() { - var e3, t3, i3 = this.length, n3 = '"'; - for (t3 = 0; t3 < i3; t3 += 1) if ((e3 = this.charAt(t3)) >= " ") "\\" !== e3 && '"' !== e3 || (n3 += "\\"), n3 += e3; - else switch (e3) { - case "\b": - n3 += "\\b"; - break; - case "\f": - n3 += "\\f"; - break; - case "\n": - n3 += "\\n"; - break; - case "\r": - n3 += "\\r"; - break; - case " ": - n3 += "\\t"; - break; - default: - e3 = e3.charCodeAt(), n3 += "\\u00" + Math.floor(e3 / 16).toString(16) + (e3 % 16).toString(16); + startupFinalize() { + if (this.supportedFlowTypes) { + const e3 = {}; + o.default.each(this.supportedFlowTypes, (t3) => { + u.default.getFlowTypeIsAvailable(t3) && (e3[t3] = t3); + }), this.supportedFlowTypes = e3; } - return n3 + '"'; - }), String.prototype.supplant || (String.prototype.supplant = function(e3) { - return this.replace(/{([^{}]*)}/g, function(t3, i3) { - var n3 = e3[i3]; - return "string" == typeof n3 || "number" == typeof n3 ? n3 : t3; - }); - }), String.prototype.trim || (String.prototype.trim = function() { - return this.replace(/^\s*(\S*(?:\s+\S+)*)\s*$/, "$1"); - }), e2.exports = { typeOf: a, isEmpty: s }, n2.typeOf = n2.typeOf || a, n2.isEmpty = n2.isEmpty || s; - })(); - }, 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), 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); + this.examplesHaveFeatureToggleOrConfig && (this.examples = o.default.filter(this.examples, (e3) => (!e3.featureToggleName || l.isEnabled(e3.featureToggleName)) && (!e3.featureConfigName || s.isFeatureAvailable(e3.featureConfigName)))), this.isUnavailable = !!this.featureConfigName && s.isFeatureUnavailable(this.featureConfigName) || !!this.featureToggleName && l.isDisabled(this.featureToggleName) || true === this.needsServerInfo && true !== this.serverInfoIndicatesSupported; } - initializeDesignTime() { - super.initializeDesignTime(), this.addAutoCleanedUpEventSinkWatch(f.valueChanged, this.library, () => { - this.messagingTemplate.reset(), this._updatePropertiesOOS(); - }), this.addAutoCleanedUpEventSinkWatch(f.expressionValueChanged, this.messagingTemplateType, () => { - this.messagingTemplate.reset(), this._updatePropertiesOOS(); - }), this.addAutoCleanedUpEventSinkWatch(f.valueChanged, this.messagingTemplate, () => { - this._handleMessagingTemplateSelectionChanged(); - }); + get displayStringInHtml() { + const e3 = this.operands.sort((e4, t4) => e4.helpDisplayIdx > t4.helpDisplayIdx ? 1 : -1), t3 = []; + if ("function" === this.parent.type) { + 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(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, o2] = e3; + if (n3) { + const e4 = []; + 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 r2 = []; + if (r2.push(c("parameterType", d(n3.type.displayString))), r2.push(c("", " ")), r2.push(c("", n3.name)), t3.push(c("parameter", r2.join(""))), o2) { + t3.push(c("", " ")); + const i4 = []; + i4.push(c("", ": ")), i4.push(c("parameterType", d(o2.type.displayString))), i4.push(c("", " ")), i4.push(c("", o2.name)), e4.push(c("", " ")), t3.push(c("parameter", i4.join(""))); + } + this.parent.closingSymbol && (t3.push(c("", " ")), t3.push(c("name", this.parent.closingSymbol))); + } else if (i3) { + t3.push(c("name", this.parent.text)); + const e4 = []; + 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 = c("expression-function-signature", t3.join("")), this.__cachedSignatureAsHtml; } - get supportsCustomOutputPaths() { - return true; + isAvailableForFlowType(e3) { + return !(this.isUnavailable || this.supportedFlowTypes && !this.supportedFlowTypes[e3]); } - get responseLibrary() { - return this.model.responseLibrary; + }; + }, 39168(e2, t2, i2) { + "use strict"; + t2.NormalExpression = void 0; + const n2 = i2(31635), o = i2(17604), r = 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)), I = i2(55909), C = i2(33951), O = 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)), q = n2.__importDefault(i2(65302)), W = 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 = r.default.find(e3.variables); + i3 !== t3 && (i3 && i3.deleteReference(e3), t3 && (e3.options.doNotTrackUsages || e3._addVariableUsage(t3), e3.variables[t3.id] = t3)); + } + function Z(e3) { + e3.isDestroyedOrDestroying || (e3.outOfService ? y.unRegisterExpression(e3) : y.registerExpression(e3), r.default.each(e3.properties, (e4) => { + Z(e4); + })); + } + class ee extends J.BaseExpression { + get className() { + return "NormalExpression"; } - set responseLibrary(e3) { - this.model.responseLibrary = e3; + constructor(e3) { + super(e3), this._oldBuilderConfig = {}, this._mode = j.none, this.properties = {}, this.options.resolveDefaultText(this), this.parentAudio = e3.parentAudio, this.savedLit = "", this._initializeMode(), this._initialize(); } - get responseId() { - return this.messagingTemplateId; + _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 === 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); } - get selectedResponse() { - if (this.responseId) return this.responseManager.getItem(this.responseId); + _initializedModeToBuilder() { + if (!this.options.defaultToBuilderId || !this.options.allowModeBuilder) return false; + try { + const e3 = x.default.getBuilderDefById(this.options.defaultToBuilderId, this.parentFlow.type); + if (r.default.isObject(e3)) { + const t3 = e3.createBuilder(this); + if (r.default.isObject(t3)) return this._mode = j.builder, this.builder = t3, true; + } + } catch (e3) { + Q.exception(e3, "Unhandled exception processing default builder settings on expression."); + } + return false; } - get selectedResponseLibrary() { - var e3; - if ((null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id) && this.libraryManager) return this.libraryManager.getItem(this.responseLibrary.id); + _transitionExpressionToNewVersion() { + let e3 = true; + 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(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; } - static get branchInfo() { - return [...h.default.successFailure, h.default.maxNoInputsOptional, h.default.maxNoMatchesOptional]; + get builder() { + return this._builderViewModel; } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setNewInstanceNoInputText(x(this.parentFlow.defaultLanguage).messagingTemplate.noInputDigitalBot), this.setNewInstanceNoMatchText(x(this.parentFlow.defaultLanguage).messagingTemplate.noMatchDigitalBot); + set builder(e3) { + this._builderViewModel !== e3 && (this._builderViewModel && this._builderViewModel.destroy(), this._builderViewModel = C.ParameterValidator.expectTrue(e3 && e3.isBaseBuilderViewModel, e3, "expression builder view model", function() { + return I.ParameterInfo.createPropertySet(this.className, "allowEmptyConfig", "value"); + }.bind(this), true), this._ensureUiMetaData(), this.model.uiMetaData.builder = e3 ? e3.model : void 0); } - getDetails() { - var e3; - 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]); + get defaultExpression() { + return this.options.allowFlowLevelDefault && this.propertyName && this.parent.info && this.parentFlow ? this.parentFlow.defaultSettings.getDefaultExpression(this.parent.info.typeId, this.propertyName) : null; } - static get managedProperties() { - 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" }]; + 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; } - _getAdditionalSearchParams() { - 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; + getCustomJsonText(e3) { + const t3 = !!this.getUiMetaData(b.uiMetaDataKey.cameFromNull), i3 = !!this.getUiMetaData(b.uiMetaDataKey.cameFromEmptyString); + switch (this.mode) { + 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 G.ExpressionModes.literal: + return this.type.convertLitToCustomJsonStr(this.parentFlow.type, this.text, this.val); + case G.ExpressionModes.none: + case G.ExpressionModes.noValue: default: - return; + return t3 ? k.default.null : i3 ? '""' : ""; } - return { filters: i3 }; } - _searchFilterCallback(e3) { - var t3, i3, n3, o2; - 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 w.CannedResponseMessageTemplateType.standard: - return M.isFeatureUnavailable(F.default.whatsAppCustomTemplateFeature) ? a2 : !a2; - case w.CannedResponseMessageTemplateType.carousel: - return a2; - default: - return false; - } + get displayValue() { + return this.getEmbeddableExpressionText(); } - _updatePropertiesOOS() { - var e3, t3, i3, n3; - super._updatePropertiesOOS(), this.question.outOfService = true, this.messagingTemplate.outOfService = !this.responseLibrary, this.selectionResult.outOfService = !this.messagingTemplateId, this.noSubstitutionsNote.outOfService = (null === (t3 = null === (e3 = this.substitutions) || void 0 === e3 ? void 0 : e3.items) || void 0 === t3 ? void 0 : t3.length) > 0 || !this.messagingTemplateId, this.substitutions && (this.substitutions.outOfService = (null === (n3 = null === (i3 = this.substitutions) || void 0 === i3 ? void 0 : i3.items) || void 0 === n3 ? void 0 : n3.length) < 1 || !this.messagingTemplateId); + getDisplayName() { + return this.displayValue; } - _handleMessagingTemplateSelectionChanged() { - return n2.__awaiter(this, void 0, void 0, function* () { - this.messagingTemplateId, this._mergeSchemaProperties(), this._updatePropertiesOOS(), this.substitutions.orderChanged(), (0, S.validateAction)(this, void 0, true); - }); + get isExpressionMode() { + return this._mode === j.expression; } - _mergeSchemaProperties() { - const e3 = this.selectedResponse; - (null == e3 ? void 0 : e3.substitutions) ? this.responseManager.mergeSchemaProperties(e3.substitutions, this.substitutions) : this.substitutions.destroyChildren(); + get isLiteralMode() { + return this._mode === j.literal; } - get selectedResponseNotInResponseLibraryMessage() { - var e3; - if (!this.responseId) return ""; - const t3 = this.selectedResponse; - return t3 && (null === (e3 = t3.libraries) || void 0 === e3 ? void 0 : e3.length) > 0 ? L.getResponse.responseLibraryDoesNotContainResponse : L.getResponse.noResponseLibrariesContainResponse; + get isNoValueMode() { + return this._mode === j.noValue; } - get isSelectedResponseInSelectedResponseLibrary() { - return !(!this.selectedResponse || !this.selectedResponseLibrary || r2.default.isUndefined(r2.default.find(this.selectedResponse.libraries, { id: this.selectedResponseLibrary.id }))); + get isNoValueModeWithNoFallback() { + return this.isEmptyNoFallback && this.isNoValueMode; } - search(e3) { - super.search(e3), this.responseLibrary.name && e3.checkText(this, this.responseLibrary.name, L.getResponse.library); + get isBuilderMode() { + return this._mode === j.builder; } - 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); + get isVariableMode() { + return this._mode === j.variable; } - _preDestroy() { - super._preDestroy(), this.responseManager.tryRemoveItemFromFlowMetadata(this, this.messagingTemplateId); + get isBlankOrNotSetOrEmpty() { + return this.isBlank || this.isEmpty || this.isExpressionMode && (this.isNotSet || '""' === this.text); } - postProcessYamlConfig(e3, t3, i3) { - var n3; - if (!this.messagingTemplateName) return false; - const o2 = (null === (n3 = this.responseLibrary) || void 0 === n3 ? void 0 : n3.name) || T.unknownLibrary; - e3.library = {}; - const a2 = (e3.library[o2] = { messagingTemplate: {} }).messagingTemplate[this.messagingTemplateName] = {}; - return e3.substitutions ? r2.default.moveAndDeleteProperty(e3, a2, "substitutions") : r2.default.ensureYamlNoneTrue(a2), true; + get hasWarning() { + var e3; + return !(!this.isBuilderMode || !(null === (e3 = this.builder) || void 0 === e3 ? void 0 : e3.hasWarning)) || super.hasWarning; } - setMessagingTemplateDataAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this.messagingTemplate.setValue(e3), yield this.responseManager.getSubstitutionInputs(e3), this._mergeSchemaProperties(), this._updatePropertiesOOS(); - }); + get mode() { + return this._mode; } - } - 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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + set mode(e3) { + 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)); } - get _globalTypeName() { - return "externalContact"; + _initializeDesignTime() { + if (super._initializeDesignTime(), this._transitionExpressionToNewVersion(), this.type.initializeDesignTime(this), this.builder && this.builder.initializeDesignTime(), r.default.each(this.properties, (e3) => { + e3.initializeDesignTime(); + }), this.regenBuilderText(), r.default.isFunction(this.options.initializedForDesignTimeCallback)) try { + this.options.initializedForDesignTimeCallback(); + } catch (e3) { + this.topic.traceOnce(`expression options initializeDesignTimeCallback - ${this.id}`, (t3) => t3.exception(e3, "NormalExpression initializedForDesignTimeCallback")); + } + this.options.requiredFlowChannelType && (this.parentFlow.definition.hasChannelType(this.options.requiredFlowChannelType) || (this.outOfService = true)), this.options.requiresFlowQuickRepliesSetting && (this.parentFlow.definition.supportsQuickRepliesFlowLevelSetting || (this.outOfService = true)); } - get id() { + registerDependencies() { + var e3; + 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(); } - get createDateTimeUtc() { + outOfServiceChanged(e3) { + this.isDestroyedOrDestroying || (Z(this), !e3 && this.initializeDesignTimeCalled && (this.regenBuilderText(), this.processText(true), E.validateItem(this, true, true))); } - get modifyDateTimeUtc() { + regenBuilderText() { + this.builder && this.mode === j.builder && !this.outOfService && this.setText(this.builder.buildExpressionText()); } - get kind() { + resetToDefaultValue(e3) { + this._reset(); + const t3 = this.options.defaultText || ""; + this.model.uiMetaData && (this.model.uiMetaData.mode = void 0), this._initializeMode(), this.setText(t3, e3, null); } - get divisionId() { + get suppressResetOnTextChange() { + return this.isLiteralMode; } - get externalOrganization() { + get shouldBeNoValue() { + return this.isLiteralMode && !this.optionsAs().isCollection ? this.options.allowModeNoValue && this.isBlank && !this.optionsAs().allowEmpty : this.options.allowModeNoValue && this.isBlank; } - get facebookInfo() { + get val() { + if (!this.config) return null; + const e3 = r.default.find(this.config, function(e4) { + return e4 && e4.val; + }); + return e3 ? e3.val : null; } - get firstName() { + getDependencyTrackingId() { + var e3; + return r.default.isFunction(null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.getDependencyTrackingId) ? this.options.getDependencyTrackingId(this) : this.val; } - get middleName() { + get variableReference() { + return this.config && (this.config.sysref || this.config.ref) || null; } - get lastName() { + _getHasError() { + var e3; + if (this.isBuilderMode && (null === (e3 = this.builder) || void 0 === e3 ? void 0 : e3.hasError)) return true; + if (super._getHasError()) return true; + if (this.isLiteralMode) { + if (this._hasLiteralError) return true; + if (this.typeHasAssignableProperties && this.properties) return Object.values(this.properties).some((e4) => !e4.outOfService && e4.hasError); + if (this.isBlank && this.options && this.optionsAs().allowEmpty) return false; + } + return !!this.isBlank && (!this.shouldBeNoValue || !this.isNoValueMode) && (!this.isOptional || this.isOverride); } - get lineInfo() { + _addVariableUsage(e3) { + this.isVariableMode ? e3.addWriter(this) : e3.addReader(this); + } + getExpressions() { + if (this.isBuilderMode && this.builder && !this.builder.isDestroyed) return this.builder.getInternalExpressions(); + const e3 = [this]; + return r.default.each(this.properties, (t3) => { + e3.push(...t3.getExpressions()); + }), e3; } - get salutation() { + get subProperties() { + return Object.values(this.properties); } - get title() { + getPropertyDefinition(e3) { + return this.type.getPropertyDefinition(e3); } - get twitterInfo() { + getProperty(e3, t3) { + if (e3 && this.properties && this.isLiteralMode) { + if (!t3) return this.properties[e3.toLowerCase()]; + const i3 = this.properties[e3.toLowerCase()]; + if (null == i3 ? void 0 : i3.isLiteralMode) return i3; + } } - get whatsAppInfo() { + get typeHasAssignableProperties() { + return this.type.propertiesAllowAssignment; } - get workPhone() { + _destroyAssignableProperties(e3) { + this.properties && (r.default.each(this.properties, (e4) => { + e4._destroy(); + }), this.properties = void 0, e3 || (this.model.properties = void 0)); } - get cellPhone() { + _hydrateAssignableProperties(e3) { + if (!this.type.propertiesAllowAssignment) return; + const t3 = this.type.properties; + r.default.isEmpty(t3) || (e3 || r.default.isEmpty(this.properties)) && (this._destroyAssignableProperties(true), this.model.properties = this.model.properties || {}, r.default.each(t3, (e4) => { + const t4 = this.hydratePropertyFromPropertyDefinition(e4); + this.addAutoCleanedUpEventSinkWatch(S.listOrderChanged, t4, () => this._fireEvent(S.listOrderChanged)), this.addAutoCleanedUpEventSinkWatch(S.collectionItemValueChanged, t4, () => this._fireEvent(S.collectionItemValueChanged)), this.addAutoCleanedUpEventSinkWatch(S.expressionValueChanged, t4, () => this._fireEvent(S.expressionValueChanged)); + }), this.type.propertiesCreatedForThisTypeInstance(this), this.initializeDesignTimeCalled && r.default.each(this.properties, (e4) => { + e4.initializeDesignTime(); + })); } - get homePhone() { + hydrateAssignableProperties(e3) { + this._hydrateAssignableProperties(e3); } - get otherPhone() { + hydratePropertyFromPropertyDefinition(e3, t3) { + var i3, n3, o2, r2, a2; + 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[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(d2, e3.description), e3.minLength && (null === (n3 = h2.options.facets) || void 0 === n3 ? void 0 : n3.setMinLength) && (null === (o2 = h2.options.facets) || void 0 === o2 || o2.setMinLength(e3.minLength)), e3.maxLength && (null === (r2 = h2.options.facets) || void 0 === r2 ? void 0 : r2.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 workEmail() { + get propertyParent() { + return this._propertyParent; } - get personalEmail() { + get parentList() { + return this._parentList; } - get otherEmail() { + set parentList(e3) { + this._parentList ? (0, g.error)("can only set this once!") : this._parentList = e3; } - get address() { + get parentExpressionContainerItem() { + return this._parentExpressionContainerItem; } - get surveyOptOut() { + set parentExpressionContainerItem(e3) { + this._parentExpressionContainerItem = e3; } - get externalSystemUrl() { + _initialize() { + this._hydrateBuilder(true), super._initialize(), this.isLiteralMode && this._hydrateAssignableProperties(), Z(this); } - get type() { + _ensureUiMetaData() { + super._ensureUiMetaData(), this.model.uiMetaData.mode = this.mode; } - get instagramInfo() { + _hydrateBuilder(e3) { + 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 = 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 = j.expression); + } } - get externalIdInfo() { + _transitionLitToExpression() { + 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)); } - get appleInfo() { + 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 j.variable: + e3.copyCutAddDependencyVariable(this._getReferenceByName(this.text), this.supportedFlowTypes); + break; + case j.builder: + case j.expression: + r.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); + } + } finally { + e3.copyCutResetSupportedFlowTypeFilter(); + } } - get canonicalContactId() { + get isOverride() { + return this.model && this.model.uiMetaData && this.model.uiMetaData.hasOwnProperty("isOverride"); } - get mergedFrom() { + set isOverride(e3) { + 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); } - get mergedTo() { + 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 = r.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); } - get mergeSet() { + getAvailableExpressionBuilders() { + const e3 = this.type.getAvailableExpressionBuilders(this.parentFlow.type, this.options.allowedBuilderCategoryIdFilter, this.options.allowedBuilderIds) || [], t3 = r.default.uniq(e3, false, (e4) => { + let t4 = ""; + return r.default.each(e4.getAvailableBuilderPartDefinitionsForFlowType(this.parentFlow.type), (e5) => { + t4 += e5.id; + }), t4; + }); + return this.builder && (t3.find((e4) => e4.id === this.builder.builderDefId) || t3.push(this.builder.builderDef)), t3; } - get customFields() { + resetForBuilder(e3, t3) { + if (this.outOfService && !e3 || this.mode !== j.builder) return; + const i3 = this.builder; + if (!i3) return; + const n3 = this.options.builderLanguagesSequenceConfig; + n3 && i3.configureForLanguageSequence(n3, t3), this.setText(i3.buildExpressionText(), false, false); } - get schemaId() { + _destroy() { + r.default.each(this.variables, (e3) => { + e3.deleteReference(this); + }), y.unRegisterExpression(this), this.builder && (this.builder.destroy(), this._builderViewModel = void 0), this._destroyAssignableProperties(), super._destroy(); } - get schemaVersion() { + checkVariableModeType() { + return this.isVariableMode && this.getHasVariableTypeMismatch() ? (X(this, null), this.setConfigAndMetaData(null), this.consumesSecureData = false, (0, o.sprintf)(z.expression.variableTypeError, this.text, this.type.displayString)) : null; } - get displayTypeName() { - return "ArchValueExternalContact"; + getHasVariableTypeMismatch(e3) { + return e3 || (e3 = this._getReferenceByName(this.text)), e3 && !this.type.isMatch(e3.type); } - get isArchValueExternalContact() { + get isNormalExpression() { return true; } - } - t2.default = r2; - }, 43212: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseConfigurationListViewModel = void 0; - const n2 = i2(55299), r2 = i2(80295); - class o extends n2.BaseClass { - constructor(e3) { - super(), this.isFlowCachedVersion = false, (0, r2.makeUnenumerable)(this, "isFlowCachedVersion"), this.model = e3; - } - get model() { - return this._model; - } - set model(e3) { - this._model = e3; + get isCollectionExpression() { + return false; } - } - t2.BaseConfigurationListViewModel = o; - }, 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), 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 } }); + 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 = q.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))); } - static create(e3) { - return new d(e3); + 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) ? (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 = r.default.pick(this.config.lit, this.type.additionLiteralProperties)), this.setConfigAndMetaData(W.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(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); + } finally { + this.hasValidationError = this.hasError, this.hasValidationWarning = this.hasWarning; + } } - _addResult(e3, t3, i3) { - 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; - n3 = o.default.createForBuilder(i3, t3, this._builderViewModel, this._contextIsContainerRelated); - } else if (e3.isContainerPart) { - if (e3.builderViewModel.id !== this._builderViewModel.id) return null; - n3 = o.default.createForBuilderPartContainer(i3, t3, this._builderViewModel, this._contextIsContainerRelated, e3); - } else if (e3.isBaseBuilderPartViewModel) { - if (e3.builderViewModel.id !== this._builderViewModel.id) return null; - n3 = o.default.createForBuilderPart(i3, t3, this._builderViewModel, this._contextIsContainerRelated, this._contextBuilderPartContainerViewModel, e3, this._contextIsBuilderPartDefRelated); + rebuildOrCreateBuilderByDefId(e3) { + if (this.isBuilderMode) if (this.builder && this.builder.builderDefId === e3) this.config || this.resetForBuilder(false, false); + else { + 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); } - if (!n3) return; - let u2 = this._objectIdsToValidationResults[e3.id]; - return r2.default.isUndefined(u2) ? (u2 = new a.default(e3.id, [n3]), this._objectIdsToValidationResults[e3.id] = u2) : u2.addValidationResult(n3), n3; } - get className() { - return c; + get parseResult() { + return this._parseResult; } - get isBuilderValidationResultsOrganizer() { - return true; + search(e3) { + this.isLiteralMode ? this.type.searchExpression(e3, this) : e3.checkText(this, this.text, this.label); } - setContextBuilderPartContainer(e3) { - this._contextBuilderPartContainerViewModel = e3; + 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); + }); } - clearContextBuilderPartContainer() { - this._contextBuilderPartContainerViewModel = void 0; + _configureFromModel(e3, t3, n3) { + if (null == e3) return; + if ("string" == typeof e3) return void this.setAsLiteral(e3); + if (!(0, D.isConfigureFromModelRecord)(e3)) return; + const o2 = e3; + if ("exp" in o2 && null !== o2.exp && void 0 !== o2.exp) this.setAsExpression(String(o2.exp)); + else { + if ("var" in o2 && "string" == typeof o2.var) { + const e4 = o2.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 o2 && true === o2.noValue) this.setAsNoValue(); + else if ("noValueWithNoFallback" in o2 && true === o2.noValueWithNoFallback) "function" == typeof this.setAsNoValueNoFallback ? this.setAsNoValueNoFallback() : this.setAsNoValue(); + else if ("lit" in o2) if (this.type && "function" == typeof this.type.applyLiteralFromModel) this.type.applyLiteralFromModel(this, o2.lit, t3, n3); + else { + const e4 = o2.lit; + "string" == typeof e4 ? this.setAsLiteral(e4) : "boolean" != typeof e4 && "number" != typeof e4 || this.setAsLiteral(String(e4)); + } + } } - setContextIsContainerRelated() { - this._contextIsContainerRelated = true; + setAsExpression(e3, t3, i3) { + this.setText(e3, t3, void 0, j.expression, void 0, i3); } - clearContextIsContainerRelated() { - this._contextIsContainerRelated = false; + setAsLiteral(e3, t3) { + this.setText(e3, void 0, void 0, j.literal, t3); } - setContextIsBuilderPartDefRelated() { - this._contextIsBuilderPartDefRelated = true; + setAsNoValue() { + this.setText("", void 0, void 0, j.noValue), this.setConfigAndMetaData(U.expressionItems.empOrEnf(this.type, this.options)), this._fireEvent(S.expressionValueChanged); } - clearContextIsBuilderPartDefRelated() { - this._contextIsBuilderPartDefRelated = false; + setAsNoValueNoFallback() { + 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()); } - getBuilderObjectResults(e3) { - const t3 = []; - return r2.default.each(this._objectIdsToValidationResults, (i3) => { - i3.getBuilderObjectResults(e3, t3); - }), t3.length ? a.default.create(e3, t3, true) : void 0; + 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(j.builder, L.builderIds.parts.genericCommunication); + } + const n3 = this.builder; + if (!n3) return false; + switch (n3.builderDef.id) { + case L.builderIds.parts.genericCommunication: + case L.builderIds.parts.markdownCommunication: + case L.builderIds.parts.markdownString: + break; + default: + return false; + } + n3.addOrSetStringLiteralBuilderPart(e3), this.setText(n3.buildExpressionText()), this._ensureUiMetaData(), this.model.uiMetaData.builder = n3.model; } - getBuilderObjectResultsByType(e3, t3) { - const i3 = []; - return r2.default.each(this._objectIdsToValidationResults, (n3) => { - n3.getBuilderObjectResultsByType(e3, i3, t3); - }), i3.length ? a.default.create(e3, i3, true) : void 0; + setStringBuilderText(e3, t3) { + if (!this.isBuilderMode) { + if (!t3 || !this.options.allowModeBuilder) return false; + 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; } - getBuilderObjectErrors(e3) { - return this.getBuilderObjectResultsByType(e3, u.error); + checkDefaultStringBuilderText(e3) { + this.text && this.text !== k.default.notSet || this.setStringBuilderText(e3, true); } - getBuilderObjectInfos(e3) { - return this.getBuilderObjectResultsByType(e3, u.info); + _fireEvent(e3) { + v.fireEvent(this, e3); } - getBuilderObjectWarnings(e3) { - return this.getBuilderObjectResultsByType(e3, u.warning); + get isOutput() { + var e3; + return null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.isOutput; } - getBuilderObjectHasResultOfType(e3, t3) { - return r2.default.any(this._objectIdsToValidationResults, (i3) => i3.getBuilderObjectHasResultOfType(e3, t3)); + setAsOutput(e3) { + this.options.setAsOutput().setAllowSecure(!e3), this.shouldBeNoValue ? this.setModeWithTransition(j.noValue) : this.options.wantVariableMode && this.setModeWithTransition(j.variable); } - getBuilderObjectHasError(e3) { - return this.getBuilderObjectHasResultOfType(e3, u.error); + setModeWithTransition(e3, t3) { + 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)); } - getBuilderObjectHasInfo(e3) { - return this.getBuilderObjectHasResultOfType(e3, u.info); + _getLiteralValueOfExpression() { + return (this.savedLit || "" === this.savedLit) && this.type.isMatch(H.globalTypes.string) ? this.savedLit : this.type.getLiteralValueOfExpression(this); } - getBuilderObjectHasWarning(e3) { - return this.getBuilderObjectHasResultOfType(e3, u.warning); + setText(e3, t3, i3, n3, o2, a2) { + var s2, l2; + e3 !== this.model.text && this._clearCameFromJsonNullOrEmptyStringMetadata(), this.isLiteralMode && (null === (s2 = this.options) || void 0 === s2 ? void 0 : s2.wantLowerCaseStringLiteralValue) && r.default.isString(e3) && (e3 = e3.toLowerCase()), (null === (l2 = this.type) || void 0 === l2 ? void 0 : l2.isCustomType) && (this.customTypeLitCodeLanguage = o2), super.setText(e3, t3, i3, n3, o2, a2); } - clearBuilderObject(e3) { - if (!r2.default.isString(e3) || 0 === e3.length) return; - const t3 = this._objectIdsToValidationResults[e3]; - r2.default.isUndefined(t3) || (delete this._objectIdsToValidationResults[e3], t3.destroy()); + _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); } - addError(e3, t3) { - this._addResult(e3, t3, u.error); + update(e3, t3, i3) { + this._reset(), this.mode = j.literal, this.model.text = e3, this.setConfigAndMetaData(W.default.getLiteral(this, e3, t3, i3)), y.registerExpression(this), (0, w.validateNode)(this.parent, true), this._executeCallbacks(this.valueChangedCallbacks, "valueChangedCallbacks"), this._fireEvent(S.expressionValueChanged); } - addInfo(e3, t3) { - this._addResult(e3, t3, u.info); + updateFromConfigListManagerItem(e3) { + let t3; + this.type.isMatch(H.globalTypes.userQueue, B.settings.typeOf) && (t3 = {}, t3.username = e3.username), this.update(e3.label, e3.id, t3); } - addWarning(e3, t3) { - this._addResult(e3, t3, u.warning); + 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(z.expression.expressionModeNotAllowed, e3), false; + } else if (this.isLiteralMode) { + 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, o.sprintf)(z.expression.expressionLengthToLong, this.text.length, k.default.maxExpressionTextLength), e3), false; + let i4 = true; + if (r.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, o.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(z.expression.variableModeNotAllowed, e3), false; + } else if (this.isNoValueMode) { + if (!this.options.allowModeNoValue) return this.setParseAndValidationError(z.expression.noValueModeNotAllowed, e3), false; + } else if (this.isBuilderMode) { + 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 || z.expression.builderInError; + return this.setParseError(t4), super.validate(e3), false; + } + { + const t4 = null === (s2 = null === (n3 = null === (i3 = this.builder) || void 0 === i3 ? void 0 : i3.builderValidationResults) || void 0 === n3 ? void 0 : n3.warningStringsArray) || void 0 === s2 ? void 0 : s2[0]; + if (t4) { + const i4 = super.validate(e3); + return i4 || this.setParseWarning(t4), i4; + } + } + } + return super.validate(e3); } - destroy() { - this.reset(), this._builderViewModel = void 0; + _getMediaAssetId() { + var e3, t3, i3, n3; + return null !== (n3 = 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.val) && void 0 !== n3 ? n3 : null; } - reset() { - this._contextBuilderPartContainerViewModel = void 0, r2.default.each(this._objectIdsToValidationResults, (e3) => { - e3.destroy(); - }), this._objectIdsToValidationResults = {}; + get hasMediaReference() { + return !!this.getMediaReference(); } - } - t2.default = d; - }, 43276: (e2, t2, i2) => { - "use strict"; - var n2 = i2(61897), r2 = i2(66852), o = i2(48905), a = i2(46894) || 0; - function s() { - return r2(a); - } - e2.exports = s, e2.exports.generate = s, e2.exports.seed = function(t3) { - return n2.seed(t3), e2.exports; - }, e2.exports.worker = function(t3) { - return a = t3, e2.exports; - }, e2.exports.characters = function(e3) { - return void 0 !== e3 && n2.characters(e3), n2.shuffled(); - }, e2.exports.isValid = o; - }, 43277: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(55299); - class r2 extends n2.BaseClass { - constructor(e3, t3, i3) { - super(), this.id = "", this.name = "", this.id = e3, this.name = t3 || e3, this.description = i3; + getMediaReference() { + var e3; + 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), o2 = this.type.isMatch(H.globalTypes.video, B.settings.exact), r2 = this.type.isMatch(H.globalTypes.digitalAudio, B.settings.exact); + if ((t3 || i3 || n3 || o2 || r2) && O.permissionServiceHelper.canViewResponseAsset()) { + let a2; + if (this.isLiteralMode) a2 = this._getMediaAssetId(); + 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; + i4.getExpressionDetailParts(t4).find((t5) => { + t5.expression.hasMediaReference && (e4 = t5.expression); + }), e4 && (a2 = e4._getMediaAssetId()); + } + } + if (a2) { + if (t3) return _.imageManager.getItem(a2); + if (i3) return h.responseAssetManager.getItem(a2); + if (n3) return p.fileManager.getItem(a2); + if (o2) return m.videoManager.getItem(a2); + if (r2) return d.digitalAudioManager.getItem(a2); + } + } } - get className() { - return "NameIdViewModel"; + get errorLabel() { + return this.propertyParent ? (this.label || (0, g.error)(`Missing label for expression: ${this.propertyName}`), `${this.propertyParent.errorLabel} \u2192 ${this.label || this.propertyName}`) : this.label || this.propertyName; } - get displayName() { - return this.name; + removeDependantValidationIssues(e3, t3, i3) { + t3.isNormalExpression && t3.properties && Object.entries(t3.properties).forEach(([t4, n3]) => { + e3.removeIssues(n3, i3); + }); } - get label() { - return this.name; + allowExpandedVariableReference(e3) { + return !(null == e3 ? void 0 : e3.hierarchicalParent) || !this.isVariableMode || !this.options.isOutput; } - } - 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, 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: 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: 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), 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); + get isBooleanTrue() { + switch (this._mode) { + 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; } - get _customFieldManager() { - return this._customFieldManagerVar || (this._customFieldManagerVar = new l.default({ dataTypeId: this.workitemFlowSettings.customFieldsDataTypeId, jsonSchemaIdBase: "customFields", jsonSchemaSource: m.CustomJsonNamespace.worktype, parentExpressionTypeName: s.expressionTypeNames.workitem, parentExpressionPropName: "customFields", schemaName: this.workitemFlowSettings.customFieldsSchemaName, flow: this, updateCallback: (e3) => this.workitemFlowSettings.customFieldsDataTypeId = e3.dataTypeId, resourcesOverride: { schemaNotUsable: S.workitem.worktypeSchemaNotUsableShort, schemaChanged: S.workitem.worktypeSchemaChanged, schemaChangeApplied: S.workitem.worktypeSchemaChangeApplied, schemaChangeNotApplied: S.workitem.worktypeSchemaChangeNotApplied, schemaChangeMoreRestrictive: S.workitem.worktypeSchemaChangeMoreRestrictiveShort, schemaGone: S.workitem.worktypeSchemaGoneShort } })), this._customFieldManagerVar; + updateExpressionFromConfig(e3, t3) { + if (e3 && e3.id && t3) { + let i3; + switch (t3.searchManagers[0].configListManager.className) { + case "WhatsAppMessagingIntegrations": + case "FacebookMessagingIntegrations": + i3 = e3.accountId; + break; + default: + i3 = ""; + } + this.text = i3, this.config.lit.val = e3.id; + } else this.text = "", this.config.lit.val = void 0; } - get className() { - return "WorkitemFlowViewModel"; + toString() { + return `${super.toString()} - mode:${this.mode}`; } - get isWorkitemFlow() { - return true; + } + t2.NormalExpression = ee; + }, 25632(e2, t2, i2) { + "use strict"; + t2.Operand = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(15508)), r = n2.__importStar(i2(9345)); + t2.Operand = class { + constructor(e3, t3, i3) { + this.className = "Operand", this.isOperand = true, this.allowNotSet = !e3.required, this.canAppearMoreThanOnce = e3.repeatable, this.description = i3, this.name = e3.identifier, this.type = t3, this.allowCustomJson = e3.allowCustomJson, void 0 !== e3.helpDisplayIdx && (this.helpDisplayIdx = e3.helpDisplayIdx), e3.isDecimalPlaces && (this.isDecimalPlaces = true); + let n3 = false, r2 = false, a = false; + void 0 !== e3.allowNotSet && (n3 = true), void 0 !== e3.min && (this.min = parseInt(e3.min, 10), a = true), void 0 !== e3.max && (this.max = parseInt(e3.max, 10), a = true), e3.disallowZero && (this.disallowZero = true, n3 = true), void 0 !== e3.minLength && (this.minLength = parseInt(e3.minLength, 10), a = true), e3.mustBeLiteral && (this.mustBeLiteral = true, n3 = true), e3.mustBeVariable && (this.mustBeVariable = true, e3.mustBeVariableScope && (this.mustBeVariableScope = e3.mustBeVariableScope), n3 = true), e3.literalValidatorName && (this.literalValidatorName = e3.literalValidatorName, n3 = true), e3.checkPromptTTSLength && (this.checkPromptTTSLength = e3.checkPromptTTSLength, n3 = true), void 0 !== e3.itemAllowNotSet && (this.itemAllowNotSet = e3.itemAllowNotSet, r2 = true), void 0 !== e3.itemMax && (this.itemMax = parseInt(e3.itemMax, 10), r2 = true), void 0 !== e3.itemMin && (this.itemMin = parseInt(e3.itemMin, 10), r2 = true), void 0 !== e3.maxItems && (this.maxItems = parseInt(e3.maxItems, 10), n3 = true), void 0 !== e3.minItems && (this.minItems = parseInt(e3.minItems, 10), n3 = true), r2 && (this.hasCollectionItemRestrictions = true), a && (this.facets = o.default.createMinMax(this.min, void 0 !== this.min, this.max, void 0 !== this.max)), (r2 || a || n3) && (this.hasRestrictions = true); } - get type() { - return a.flowTypes.flowTypeWorkitem; + isExpressionMatch(e3) { + let t3; + if (this.allowNotSet) t3 = r.settings.typeOfOrAnyOrNotSet; + else { + if (e3.isNotSet) return false; + t3 = this.type.isAnyComplex ? r.settings.anyComplex : r.settings.typeOfOrAny; + } + return r.isMatch(e3.type, this.type, t3, this.allowCustomJson); } - getFlowConfigurationClass() { - return N; + checkMaxIntRestriction(e3) { + return !(void 0 !== this.max && e3 > this.max); } - get overrideWireFlowConfiguration() { - return A.getWorkitemFlowConfiguration; + checkMinIntRestriction(e3) { + return !(void 0 !== this.min && e3 < this.min); } - get overrideWireFlowVersionConfiguration() { - return A.getVersionWorkitemFlowConfiguration; + checkZeroRestriction(e3) { + return !(this.disallowZero && 0 === e3); } - get worktypeSchemaChangeMoreRestrictive() { - return this._customFieldManager.schemaChangeMoreRestrictive; + }; + }, 26403(e2, t2, i2) { + "use strict"; + t2.ParseResult = t2.ParseResultTypes = void 0; + const n2 = i2(31635), o = i2(82485), r = n2.__importDefault(i2(73198)); + t2.ParseResultTypes = { error: "error", info: "info", warn: "warn" }; + class a extends o.VersionItem { + get resultType() { + return this._resultType; } - get worktypeNoLongerHasSchema() { - return this._customFieldManager.noLongerHasSchema; + set resultType(e3) { + this._resultType = e3; } - get worktypeSchemaNotUsable() { - return this._customFieldManager.schemaNotUsable; + constructor(e3) { + super(), this._maxCallStack = r.default.maxExpressionCallStack, this._maxExpressionSize = r.default.maxExpressionTextLength, this._brackets = [], this._parens = [], this._lineExtents = [], this.consumesSecureData = false, this.properties = [], this.resultExpression = void 0, this.resultHelpTopic = void 0, this.expression = e3, this.languages = e3.languages, this.parentFlow = e3.parentFlow; } - buildConfiguration(e3, t3, i3) { - var n3; - return super.buildConfiguration(e3, t3, i3), (null == i3 ? void 0 : i3.isForFlowYaml) && (null === (n3 = this.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.worktype) && (e3.worktype = { name: this.workitemFlowSettings.worktype.name }), e3; + get className() { + return "ParsedExpression"; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, g.scopes.workitem]; + } + t2.ParseResult = a; + }, 77105(e2, t2, i2) { + "use strict"; + t2.PropertyDefinition = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = 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, o.default.isUndefined(t3.maxItemsIsSoftLimit) || (this.maxItemsIsSoftLimit = !!t3.maxItemsIsSoftLimit), o.default.isArray(t3.allowableValuesRaw) && t3.allowableValuesRaw.length ? n3 = t3.allowableValuesRaw : o.default.isString(t3.allowableValues) && (n3 = t3.allowableValues.split(",")), o.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), t3.patchableSettings && this.isPatchable && (this.patchableSettings = t3.patchableSettings), this.yamlSerializeIfOutOfService && (this.yamlOptions = p.default.create(this.name, (e4) => e4.setSerializeOutOfService(true))); } - get wrappedYamlName() { - return "workitem"; + _applyOverrides() { + if (this.model.overrides) { + 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": + t3 = parseInt(e3.newValue, 10), !isNaN(t3) && o.default.isNumber(t3) || (t3 = void 0); + break; + case "number": + t3 = parseFloat(e3.newValue), !isNaN(t3) && o.default.isNumber(t3) || (t3 = void 0); + break; + case "boolean": + t3 = true === e3.newValue || "true" === e3.newValue; + } + o.default.isNullOrUndefined(t3) ? r.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 r.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.`); + } } - _createInitialActions() { - return n2.__awaiter(this, void 0, void 0, function* () { - return this; - }); + get typeGroup() { + return this._typeGroup; } - setReceivedInitialValidationData() { - var e3, t3, i3, 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 = 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)); + get className() { + return "PropertyDefinition"; } - _initializeDesignTime() { - super._initializeDesignTime(), this._customFieldManager.processDeferredSchemaUpdate(true); + createDataTypeDef() { + return s.default.createFromPropertyDefinition(this); } - _updateStatusesFromWorktype(e3, t3) { - var i3, n3; - if (!this.workitemFlowSettings.worktype || this.parentFlow.isReadOnly) return; - const r3 = (null == e3 ? void 0 : e3.statuses) ? e3.statuses.sort((e4, t4) => e4.id > t4.id ? 1 : t4.id > e4.id ? -1 : 0) : [], o2 = (null === (n3 = null === (i3 = this.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.worktype) || void 0 === n3 ? void 0 : n3.statuses) ? this.workitemFlowSettings.worktype.statuses.sort((e4, t4) => e4.id > t4.id ? 1 : t4.id > e4.id ? -1 : 0) : []; - JSON.stringify(r3) !== JSON.stringify(o2) && (this.workitemFlowSettings.worktype.statuses = [], e3.statuses.forEach((e4) => { - this.workitemFlowSettings.worktype.statuses.push({ id: e4.id, name: e4.name, category: e4.category }); - }), t3 && p.emitter.emit(p.alert, { message: S.workitem.worktypeStatusChangeApplied, type: u.AlertTypeEnum.info })); + 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; } - _updateDateBasedRulesFromWorktype(e3, t3) { - var i3, n3; - if (!this.workitemFlowSettings.worktype || this.parentFlow.isReadOnly) return; - const r3 = (null === (n3 = null === (i3 = this.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.worktype) || void 0 === n3 ? void 0 : n3.dateBasedRules) ? this.workitemFlowSettings.worktype.dateBasedRules.sort((e4, t4) => e4.name > t4.name ? 1 : t4.name > e4.name ? -1 : 0) : [], o2 = []; - r3.map((e4) => { - o2.push({ id: e4.id, name: e4.name, selfUri: e4.selfUri, type: e4.type }); - }); - const a2 = (null == e3 ? void 0 : e3.dateBasedRules) ? e3.dateBasedRules.sort((e4, t4) => e4.name > t4.name ? 1 : t4.name > e4.name ? -1 : 0) : [], s2 = []; - a2.map((e4) => { - s2.push({ id: e4.id, name: e4.name, selfUri: e4.selfUri, type: e4.type }); - }), JSON.stringify(s2) !== JSON.stringify(o2) && (this.workitemFlowSettings.worktype.dateBasedRules = s2, t3 && p.emitter.emit(p.alert, { message: S.workitem.worktypeDateBasedRulesUpdated, type: u.AlertTypeEnum.info })); + get type() { + const e3 = this._typeGroup.getType(this.model.type, this.model.isCollection); + return e3 || this._typeGroup.getType(this.model.type, this.model.isCollection), e3; } - postScriptingCreateFlowAsync(e3) { - r2.default.isObject(e3) && (this.cachedCreationDataFromScripting = e3); + get isCollection() { + return !!this.model.isCollection; } - configureForWorktype(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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 c.schemaManager.apiCallSingle(e3.schema.id); - this._customFieldManager.tryUpdateParentExpressionPropTypeFromSchema(null == t4 ? void 0 : t4.jsonSchema, true); - } - this.createInitialActionsBasedOnWorktypeConfig = !!t3; - }); + get dataTypeId() { + return this.model.type; } - validate(e3) { - super.validate(e3), this._worktypeIsInvalid ? e3.addError(this, S.workitem.worktypeInvalid) : (this._customFieldManager.getErrors().forEach((t3) => e3.addError(this, t3)), this._customFieldManager.getWarnings().forEach((t3) => e3.addWarning(this, t3))); + get supportedSessionSources() { + return this._supportedSessionSources || []; } - _customSchemaNeedsUpdatingInFlowConfig(e3, t3) { - var i3, n3, o2; - return e3 !== (null === (i3 = this.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.customFieldsSchemaName) || t3 !== (null === (n3 = this.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.customFieldsSchemaId) || r2.default.isEmpty(null === (o2 = this.workitemFlowSettings.worktype) || void 0 === o2 ? void 0 : o2.schema) && !!t3; + 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 || (r.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) : (r.info(`a non JSON expression type was passed in to setCustomExpressionType for property '${this.name}'. Exiting.`), false) : (r.info(`no JSON expression type passed in when setting a custom expression type on property '${this.name}'. Exiting.`), false); } - getComplexTypeLiteralValues(e3) { - if (e3.type.expressionType === s.expressionTypeNames.worktypeStatus) return this.workitemFlowSettings.getDisplayableListOfStatuses(); + checkVersion(e3) { + e3.checkVersion(this.version), e3.checkVersion(this.type.version); } - preImport(e3) { - const t3 = Object.create(null, { preImport: { get: () => super.preImport } }); - return n2.__awaiter(this, void 0, void 0, function* () { - var i3, n3, r3, a2; - yield t3.preImport.call(this, e3); - const s2 = null === (i3 = null == e3 ? void 0 : e3.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.worktype, l2 = null === (n3 = null == this ? void 0 : this.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.worktype; - if ((null == s2 ? void 0 : s2.id) !== (null == l2 ? void 0 : l2.id)) { - if (!(null == s2 ? void 0 : s2.name) || !(null == l2 ? void 0 : l2.name)) throw S.flow.operations.load.importFailedWorktypeMismatchNoName; - throw (0, o.sprintf)(S.flow.operations.load.importFailedWorktypeMismatch, null !== (r3 = null == s2 ? void 0 : s2.name) && void 0 !== r3 ? r3 : "", null !== (a2 = null == l2 ? void 0 : l2.name) && void 0 !== a2 ? a2 : ""); - } - }); + startupConnectedAndReady(e3) { + e3 ? (this.isUnavailable = !e3.availability.isAvailable, this._applyOverrides()) : this.featureConfigName && (this.isUnavailable = (0, d.isFeatureUnavailable)(this.featureConfigName)); } } - 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) => { + t2.PropertyDefinition = m; + }, 94486(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)); + t2.CollectionExpressionList = void 0; + const n2 = i2(31635), o = i2(79364), r = 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, o2, r2, a2) { + super(t3, i3, n3, o2, null, r2, void 0, a2), this._collectionParent = e3, this._subscriptions = {}, this.items.forEach((e4) => this._newCollectionItemAdded(e4)); } - 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 collectionParent() { + return this._collectionParent; } - get isNotStarted() { - return this._processingState === d.processingState.notStarted; + addItem(e3) { + this._newCollectionItemAdded(e3), super.addItem(e3), this.options.itemAddedCallback && this.options.itemAddedCallback(e3); } - get isProcessing() { - return this._processingState === d.processingState.processing; + _newCollectionItemAdded(e3) { + e3.parentList = this._collectionParent; + const t3 = (e4, t4) => (0, c.createObservableForEvent$)(e4, t4).pipe((0, r.map)((t5) => t5 ? e4 : null)); + this._subscriptions[e3.id] = (0, o.merge)(t3(s.listOrderChanged, e3), t3(a.collectionItemValueChanged, e3), t3(l.expressionValueChanged, e3)).subscribe((e4) => u.fireEvent(this._collectionParent, e4)); } - get isComplete() { - return this._processingState === d.processingState.complete; + destroyChild(e3) { + this._subscriptions[e3.id] && (this._subscriptions[e3.id].unsubscribe(), delete this._subscriptions[e3.id]), super.destroyChild(e3); } - get isCancelled() { - return this._processingState === d.processingState.cancelled; + canMove(e3) { + return this._collectionParent.options.uiCanMoveItemCallback ? this._collectionParent.options.uiCanMoveItemCallback(e3) : super.canMove(e3); } - cancel() { - this._processingState === d.processingState.processing && (this._processingState = d.processingState.cancelled, this.continueProcessing = false); + } + t2.CollectionExpressionList = p; + }, 15364(e2, t2, i2) { + "use strict"; + t2.DataPairList = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 I extends T.ExpressionContainer { + constructor(e3, t3, i3, n3, o2, r2) { + var a2, s2; + super(e3.parentFlow, e3, t3, o2, r2), 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(); } - get isPaused() { - return this._paused; + _initialize() { + super._initialize(), this.items.forEach((e3) => { + e3.value.options.setAllowSecure(this.allowSecure), this.isInputList || e3.value.options.setAsOutput(); + }); } - pause() { - this._paused = true; + get isDataPairList() { + return true; } - resume() { - this._paused = false, this._resumeResolve && (this._resumeResolve(), this._resumeResolve = void 0); + outOfServiceChanged() { + this.items.forEach((e3) => { + e3.value.outOfService = this.outOfService; + }); } - waitForResume() { - return this._paused ? new Promise((e3) => { - this._resumeResolve = e3; - }) : Promise.resolve(); + get className() { + return I.className; } - setProcessingState(e3) { - this._processingState = e3; + static get className() { + return "DataPairList"; } - get durationSecs() { - if (this.startDateTime && this.endDateTime) return (this.endDateTime.getTime() - this.startDateTime.getTime()) / 1e3; + addClipboardDependencies(e3) { + r.default.each(this.items, function(t3) { + t3.addClipboardDependencies(e3); + }); } - 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(); + createFromVariable(e3, t3) { + let i3 = t3; + !i3 && this.isInputList && (i3 = e3.initValue); + const n3 = e3.type.createExpressionOptionClass(); + e3.facets && (n3.facets = e3.facets); + const o2 = new S({ name: e3.name, referenceId: e3.id }), r2 = this.createItem(o2, e3.type, i3, n3); + return this.isInputList || r2.value.setAsOutput(!!t3 && !t3.options.allowSecure), r2; } - get networkLiteralLookupRecords() { - return this._networkLiteralLookupRecords; + createItem(e3, t3, i3, n3, o2) { + c.ParameterValidator.expectString(o2, 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 : 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 l2 = h.expression(this.parentFlow, this.parent, e3.value, this.getLabel(r.default.isUndefined(o2) ? (this.items.length + 1).toString() : o2, e3.name), t3, null, n3), d2 = new y.default(e3, t3, l2); + if (this.isInputList || d2.value.setAsOutput(!n3.allowSecure), i3 || r.default.isString(i3)) { + if (r.default.isArray(i3)) { + 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, r.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 && !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 d2.value.isNoValueMode && !d2.value.options.allowModeNoValue && d2.value.resetToDefaultValue(true), d2; } - recordNetworkLiteralLookup(e3) { - this._networkLiteralLookupRecords.push(e3); + getLabel(e3, t3) { + return this.options && this.options.localizedLabelPrefix ? (0, o.sprintf)(this.options.localizedLabelPrefix, e3) : t3; } - get currentPath() { - return 0 === this._pathStack.length ? "/" : "/" + this._pathStack.join("/"); + getItem(e3) { + return r.default.findWhere(this.items, { name: e3 }); } - pushPath(e3) { - this._pathStack.push(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, r2 = 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 = r2 ? `${r2}.` : ""; + i3.warn((0, o.sprintf)(a.configureFromModel.dataPairListConfigureFailed, `${s3}${e4}`, n5)); + } + else { + const t4 = r2 ? `${r2} ` : ""; + i3.debug(`No matching item '${e4}' in ${t4}DataPairList.`); + } + }); } - popPath() { - this._pathStack.pop(); + validate(e3) { + super.validate(e3); + const t3 = this.items.filter((e4) => { + var t4; + return (null === (t4 = e4.value) || void 0 === t4 ? void 0 : t4.isOutput) && e4.value.variableReference; + }).map((e4) => e4.value); + r.default.uniq(t3.map((e4) => e4.variableReference.val)).forEach((e4) => { + const i3 = t3.find((t4) => t4.variableReference.val === e4); + t3.splice(t3.indexOf(i3), 1); + }), t3 && t3.forEach((t4) => { + t4.parentFlow.isAutomateFlowType ? f.default.addError(e3, t4, (0, o.sprintf)(N, t4.variableReference.text)) : f.default.addWarning(e3, t4, (0, o.sprintf)(N, t4.variableReference.text)); + }); } - get sourcePath() { - return 0 === this._sourcePathStack.length ? "/" : "/" + this._sourcePathStack.join("/"); + } + t2.DataPairList = I; + }, 39296(e2, t2, i2) { + "use strict"; + t2.DataPairListCollection = void 0; + const n2 = i2(31635), o = i2(69453), r = 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, o2) { + super(e3.parentFlow, e3, t3, o2), this._initialize(); } - pushSourcePath(e3) { - this._sourcePathStack.push(e3); + createItem(e3) { + (e3 = e3 || {}).name || (e3.name = ""), e3.value || (e3.value = []); + const t3 = new l.DataPairList(this.parent, e3.value, this.areInputLists, true); + return new c.default(e3, t3); } - popSourcePath() { - this._sourcePathStack.pop(); + get isDataPairListCollection() { + return true; } - registerDeferredOp(e3) { - this._deferredOps.push(e3); + get className() { + return "DataPairListCollection"; } - get deferredOps() { - return this._deferredOps; + configureFromModel(e3, t3, i3) { + if (super.configureFromModel(e3, t3, i3), !(0, r.isConfigureFromModelRecord)(e3)) return void i3.warn(o.configureFromModel.dataPairListCollectionMustBeObject); + const n3 = e3, l2 = i3.currentPropertyName; + for (const [e4, r2] 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 r2 || null === r2 || Array.isArray(r2)) i3.warn((0, d.sprintf)(o.configureFromModel.dataPairListCollectionItemMustBeObject, e4)); + else try { + s2.configureFromModel(r2, t3, i3); + } catch (t4) { + const n5 = t4 instanceof Error ? t4.message : String(t4), r3 = l2 ? `${l2}.` : ""; + i3.warn((0, d.sprintf)(o.configureFromModel.dataPairListConfigureFailed, `${r3}${e4}`, n5)); + } + }); } - get messages() { - return this._messages; + } + t2.DataPairListCollection = p; + }, 75679(e2, t2, i2) { + "use strict"; + t2.DynamicSlotTypeList = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = []; + o.default.each(this.model, (e4) => { + i3.push(e4); + }), this.model = i3; } - 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; + _initialize() { + o.default.each(this.model, (e3, t3) => { + const i3 = this.createItem(e3, t3); + this.items.push(i3); + }); } - getMessagesForLogLevel(e3) { - return this._messagesByLevel.get(e3) || []; + get className() { + return "DynamicSlotTypeList"; } - addErrorMessage(e3) { - const t3 = this.addMessage(c.LogLevel.Error, e3); - return this.error(e3), t3; + initializeDesignTime() { + super.initializeDesignTime(), this.outOfService = !a.isFeatureAvailable(s.default.botFlowsDynamicSlotTypeFeature); } - addWarningMessage(e3) { - const t3 = this.addMessage(c.LogLevel.Warning, e3); - return this.warn(e3), t3; + _getConfiguration(e3, t3, i3) { + const n3 = {}; + return o.default.each(this.items, (e4) => { + e4.name && (n3[e4.name] = e4.model); + }), n3; } - addInfoMessage(e3) { - const t3 = this.addMessage(c.LogLevel.Info, e3); - return this.debug(e3), t3; + createItem(e3, t3) { + return (e3 = "object" == typeof e3 ? new c(e3) : e3).name = t3, e3.values = new r.default(e3.values), e3.synonyms = new r.default(e3.synonyms), e3.labels = new r.default(e3.labels), new u.default(e3, this.parentFlow); } - getErrorCount() { - return this.getMessagesForLogLevel(c.LogLevel.Error).length; + getItem(e3) { + return o.default.findWhere(this.items, { name: e3 }); } - getWarningCount() { - return this.getMessagesForLogLevel(c.LogLevel.Warning).length; + } + t2.DynamicSlotTypeList = d; + }, 66882(e2, t2, i2) { + "use strict"; + t2.DynamicTimeslotTypeList = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(45889)), a = n2.__importDefault(i2(7401)), s = n2.__importDefault(i2(23215)), l = i2(44703); + class u extends l.ExpressionContainer { + constructor(e3, t3) { + super(e3.parentFlow, e3, t3), this._initialize(); } - getInfoCount() { - return this.getMessagesForLogLevel(c.LogLevel.Info).length; + get className() { + return "DynamicTimeslotTypeList"; } - hasErrors() { - return this.getErrorCount() > 0; + initializeDesignTime() { + super.initializeDesignTime(), this.outOfService = !this.parentFlow.definition.supportsDynamicTimeslots; } - hasWarnings() { - return this.getWarningCount() > 0; + createItem(e3) { + const t3 = e3 instanceof r.default ? e3 : new r.default(); + return t3.name = e3.name, t3.timeslots = new a.default(t3.timeslots), new s.default(t3, this.parentFlow); } - hasInfo() { - return this.getInfoCount() > 0; + getItem(e3) { + return o.default.findWhere(this.items, { name: e3 }); } - 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 }) }); + _getConfiguration(e3, t3, i3) { + return this.outOfService ? {} : (this.items || []).reduce((e4, t4) => (t4.name && (e4[t4.name] = t4.model), e4), {}); } - 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 }) }); + } + t2.DynamicTimeslotTypeList = u; + }, 44703(e2, t2, i2) { + "use strict"; + t2.ExpressionContainer = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, o2) { + super(), this.parentFlow = e3, this.parent = t3, this.model = i3, this.options = n3, this.yamlOptions = o2, 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); } - 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 }); + get lastActor() { + return this._lastActor; } - reportProgress(e3) { - this._progress$.next(e3); + get lastActorWasUser() { + return !this._lastActor; } - setDeferSyncPropertySetActivity(e3) { - this._deferSyncPropertySetActivity = e3; + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); } - consumeDeferSyncPropertySetActivity() { - const e3 = this._deferSyncPropertySetActivity; - return this._deferSyncPropertySetActivity = false, e3; + 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) === r.changeSetEntityType.copilot; } - markDeferredPropertyActivity(e3) { - var t3; - this._pendingDeferredPropertyActivityByObjectId.set(e3, (null !== (t3 = this._pendingDeferredPropertyActivityByObjectId.get(e3)) && void 0 !== t3 ? t3 : 0) + 1); + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); } - 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); + addClipboardDependencies(e3) { + this.items.forEach((t3) => { + t3.addClipboardDependencies(e3); + }); } - getPendingDeferredPropertyActivityCount(e3) { - var t3; - return null !== (t3 = this._pendingDeferredPropertyActivityByObjectId.get(e3)) && void 0 !== t3 ? t3 : 0; + get label() { + return this._label; } - 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}`; + set label(e3) { + this._label = e3; } - buildUpdateStatementLookupFailedMessage(e3, t3, i3) { - return `${(0, p.sprintf)(_.changeSet.activity.updateStatementLookupFailed, String(e3), t3)} ${i3 === u.entityLookupValueType.identifier ? _.changeSet.activity.entityLookupFailedById : _.changeSet.activity.entityLookupFailedByName}`; + get hasError() { + return o.default.any(this.items, function(e3) { + return e3.hasError; + }); } - reportActivity(e3) { - "propertySet" !== e3.type && "variableAutoCreated" !== e3.type || this.propertySetCount++, this._activity$.next(e3); + get hasWarning() { + return o.default.any(this.items, function(e3) { + return e3.hasWarning; + }); } - registerAutoCreatedVariable(e3) { - this._autoCreatedVariables.push(e3); + get holdsContainedDataPairList() { + return this.items.length && this.items[0].isContainedDataPairList; } - getAutoCreatedVariables() { - return this._autoCreatedVariables; + get isExpressionContainer() { + return true; } - getAutoCreatedVariablesForDisplay() { - return (0, o.formatVariableDisplayNames)(this._autoCreatedVariables); + get length() { + return this.items ? this.items.length : 0; } - 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 }; + set length(e3) { + this.items.length = e3, this.model.length = e3; } - get lookupEntries() { - return this._lookupEntries; + outOfServiceChanged() { + this.items.forEach((e3) => { + e3.outOfService = this.outOfService; + }); } - 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; + _initialize() { + o.default.each(this.model, (e3) => { + const t3 = this.createItem(e3); + this.items.push(t3); + }); } - resolveLookup(e3) { - e3.status === m.lookupStatus.pending && (e3.status = m.lookupStatus.found, this.changeSetResults.recordLookupResolved(e3.entityType), this._emitLookupProgress(h.LookupReason.LOOKUP_RESOLVED, e3)); + add(e3, t3, i3) { + const n3 = this.createItem(e3, t3, i3); + return this.expandNewItem(n3), this.addItem(n3), n3; } - failLookup(e3) { - e3.status === m.lookupStatus.pending && (e3.status = m.lookupStatus.notFound, this.changeSetResults.recordLookupFailed(e3.entityType), this._emitLookupProgress(h.LookupReason.LOOKUP_FAILED, e3)); + addItem(e3) { + this.items.push(e3), this.model.push(e3.model), e3.outOfService = this.outOfService, o.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(), this.orderChanged(); } - _emitLookupProgress(e3, t3) { - const i3 = { reason: e3, entityType: t3.entityType, lookupValue: t3.lookupValue, progress: this.lookupProgress }; - this._lookupProgress$.next(i3); + expandNewItem(e3) { + this._suppressListOrderChangedEvent || (this.autoCollapse && this.items.forEach((e4) => e4.collapsed = true), e3.collapsed = false); } - }; - }, 43346: (e2, t2, i2) => { - const n2 = i2(75458), r2 = i2(7401), { promoteExternalContactActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _externalContact: { writable: true }, _externalContactId: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.externalResult.pasteReIdOrRename(e3), this.externalId.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalResult.pasteResolveOldToNewValues(e3), this.externalId.pasteResolveOldToNewValues(e3); - } }, externalResult: { enumerable: true, get: function() { - return this._externalContact; - }, set: function(e3) { - this._externalContact = this.reviveItem(e3, r2); - } }, externalId: { enumerable: true, get: function() { - return this._externalContactId; - }, set: function(e3) { - this._externalContactId = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 43368: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + clearAndAddItems(e3) { + const t3 = this._suppressListOrderChangedEvent; + try { + this._suppressListOrderChangedEvent = true, this.destroyChildren(), e3.forEach((e4) => { + this.addItem(e4); + }); + } finally { + this._suppressListOrderChangedEvent = t3, this.orderChanged(); + } } - get _globalTypeName() { - return "phoneNumber"; + attachValidator(e3) { + this._extraValidator = e3; } - get displayTypeName() { - return "ArchVariablePhoneNumber"; + checkVersion(e3) { + this.items.forEach((t3) => { + o.default.isFunction(t3.checkVersion) && t3.checkVersion(e3); + }); } - get initialValue() { - return this._initialValue; + destroy() { + this.destroyChildren(), this._outOfServiceProvider.destroy(); } - get isArchVariablePhoneNumber() { - return true; + destroyChild(e3) { + p.clearIssues(e3), o.default.isFunction(e3.destroy) && e3.destroy(); } - } - t2.default = r2; - }, 43434: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.sample = void 0; - var n2 = i2(19724), r2 = i2(65212), o = i2(5717), a = i2(17214); - t2.sample = function(e3) { - return r2.operate(function(t3, i3) { - var r3 = false, s = null; - t3.subscribe(a.createOperatorSubscriber(i3, function(e4) { - r3 = true, s = e4; - })), n2.innerFrom(e3).subscribe(a.createOperatorSubscriber(i3, function() { - if (r3) { - r3 = false; - var e4 = s; - s = null, i3.next(e4); - } - }, o.noop)); - }); - }; - }, 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), c = i2(94765); - class d extends c.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + destroyChildren() { + this.items.forEach((e3) => { + this.destroyChild(e3); + }), this.length = 0, this.orderChanged(); } - get className() { - return "DivisionType"; + getConfiguration(e3, t3, i3) { + var n3, r2, 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 === (r2 = this.options) || void 0 === r2 ? void 0 : r2.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 === (l2 = this.yamlOptions) || void 0 === l2 ? void 0 : l2.wrapValueAndActionsInPropertyName) return this.getYamlWrappedValueAndChildActionsConfiguration(e3, t3); + const n4 = {}; + return this.items.forEach((r3) => { + o.default.extend(n4, r3.getConfiguration(e3, t3, i3)); + }), n4; + } + return this._mapItemsForYaml(e3, t3, i3); + } + return this._getConfiguration(e3, t3, i3); } - createExpressionOptionClass() { - return new o.ExpressionTypeNetworkObjectOptions(this.isCollection); + _getConfiguration(e3, t3, i3) { + return this.model; } - get listManager() { - return a.divisionManager.getBriefManagerWithFallback(); + getYamlWrappedValueAndChildActionsConfiguration(e3, t3) { + const i3 = []; + return this.items.forEach((n3) => { + var r2, a2; + const s2 = {}; + if (this.isExpressionListWithReferenceId && o.default.isFunction(this.parent.getReferenceById)) { + const e4 = this.parent.getReferenceById(n3.referenceId); + (o.default.isString(null == e4 ? void 0 : e4.name) || o.default.isString(null == e4 ? void 0 : e4.label)) && (s2.name = e4.name || e4.label); + } + s2[(null === (r2 = this.yamlOptions) || void 0 === r2 ? void 0 : r2.wrapListItemValueInPropertyName) || "value"] = o.default.getFirstPropertyValueInObj(n3.getConfiguration(e3, t3)); + const l2 = o.default.findWhere(this.parent.branches, { id: n3.referenceId }); + o.default.extend(s2, null == l2 ? void 0 : l2.getConfiguration(e3, t3)), i3.push(o.default.tryWrapObject(s2, null === (a2 = this.yamlOptions) || void 0 === a2 ? void 0 : a2.wrapValueAndActionsInPropertyName)); + }), i3.length ? i3 : null; } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindDivision", e3, [r2.globalTypes.string]); + initializeDesignTime() { + this.items.forEach((e3) => { + o.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(); + }), this._initializeDesignTimeCalled = true; } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindDivision(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get initializeDesignTimeCalled() { + return this._initializeDesignTimeCalled; } - } - t2.DivisionType = d, d.typeIdentifier = u.expressionTypeNames.division; - }, 43452: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "CustomerIntentVariable", true), e2.exports = n2; - }, 43497: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(11210)); - class s extends a.default { - constructor(e3, t3) { - super(e3), this._targetArchTask = void 0; + _mapItemsForYaml(e3, t3, i3) { + return o.default.map(this.items, (n3) => { + var r2; + return o.default.tryWrapObject(n3.getConfiguration(e3, t3, i3), null === (r2 = this.yamlOptions) || void 0 === r2 ? void 0 : r2.wrappedCollectionItemName); + }); } - get _actionTypeId() { - return o.transferTaskActionType; + moveToIndex(e3, t3) { + -1 === t3 && (t3 = this.model.length - 1); + const i3 = this.model.indexOf(e3.model); + if (i3 >= this.model.length || -1 === i3) return; + this.model.splice(i3, 1), this.model.splice(t3, 0, e3.model); + const n3 = this.items.indexOf(e3); + n3 >= this.items.length || (this.items.splice(n3, 1), this.items.splice(t3, 0, e3), this.orderChanged()); } - get displayTypeName() { - return this._scriptingName; + moveDown(e3) { + const t3 = this.model.indexOf(e3.model); + if (t3 >= this.model.length - 1 || -1 === t3) return; + this.model.splice(t3, 1), this.model.splice(t3 + 1, 0, e3.model); + const i3 = this.items.indexOf(e3); + return i3 >= this.items.length ? void 0 : (this.items.splice(i3, 1), this.items.splice(i3 + 1, 0, e3), this.orderChanged(), i3 + 1); } - get isArchActionJumpToTask() { - return true; + moveUp(e3) { + const t3 = this.model.indexOf(e3.model); + if (t3 <= 0) return; + this.model.splice(t3, 1), this.model.splice(t3 - 1, 0, e3.model); + const i3 = this.items.indexOf(e3); + return 0 !== i3 ? (this.items.splice(i3, 1), this.items.splice(i3 - 1, 0, e3), this.orderChanged(), i3 - 1) : void 0; } - get targetTask() { - if (r2.default.isUndefined(this._targetArchTask)) { - this._targetArchTask = null; - const e3 = this._coreActionViewModel.parentFlow; - if (e3 && e3.hasTasks) { - const t3 = e3.tasks, i3 = r2.default.findWhere(t3, { id: this._getCoreViewModel().taskReference }); - i3 && (this._targetArchTask = this.coreFactory.createArchWrapper(i3)); - } + setItemsOrder(e3) { + if (!e3 || 0 === e3.length) return; + const t3 = this._suppressListOrderChangedEvent; + this._suppressListOrderChangedEvent = true; + try { + this.items.length = 0, this.model.length = 0, e3.forEach((e4) => { + this.items.push(e4), this.model.push(e4.model); + }); + } finally { + this._suppressListOrderChangedEvent = t3, this.orderChanged(); } - if (this._targetArchTask) return this._targetArchTask; } - set targetTask(e3) { - if (!e3) return this._targetArchTask = null, this.logNote("setting the jump to task to null"), void this._coreActionViewModel.containerActionProperty.setReference(null); - this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !e3 || !e3.isArchTask, "you cannot set the jump to target task to an object that is not an Architect task"); - const t3 = this._coreActionViewModel.containerActionProperty.getInvalidReferenceReason(e3.coreTaskViewModel); - this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), t3, `targetTask is not valid as the jump to target task, reason: ${t3}`), this._targetArchTask = e3, this.logNote("setting the jump to task to " + e3.logStr), this._coreActionViewModel.containerActionProperty.setReference(e3.coreTaskViewModel); - } - get taskInputs() { - if (this._getCoreViewModel().inputs) return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + orderChanged() { + 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; + } } - } - t2.default = s; - }, 43520: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(11210)); - class s extends a.default { - constructor(e3) { - super(e3); + pop() { + return this.model.pop(), this.items.pop(); } - get _actionTypeId() { - return o.changeStateActionType; + canRemove(e3) { + return true; } - get displayTypeName() { - return this._scriptingName; + canMove(e3) { + return true; } - get isArchActionChangeState() { + disableRemove(e3) { return true; } - get targetState() { - if (!this._targetArchState && this._getCoreViewModel().stateReference) { - const e3 = this._coreActionViewModel.parentFlow; - if (e3 && e3.hasStates) { - const t3 = e3.states, i3 = r2.default.findWhere(t3, { id: this._getCoreViewModel().stateReference }); - i3 && (this._targetArchState = this.coreFactory.createArchWrapper(i3)); - } + removeChild(e3, t3) { + let i3 = false; + const n3 = this._suppressListOrderChangedEvent; + 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 || p.validate(this.parent, true)); + } finally { + this._suppressListOrderChangedEvent = n3, this.orderChanged(); } - return this._targetArchState; - } - set targetState(e3) { - if (r2.default.isNull(e3) || r2.default.isUndefined(e3)) return this._targetArchState = null, this.logNote("setting the change state to null"), void this._coreActionViewModel.state.setReference(null); - const t3 = this._infoPropSet("archStateTarget", "targetState"); - this._checkItem(t3, !e3 || !e3.isArchState, "you cannot set the change state target to an object that is not an Architect state"), this._checkItemSameParentFlow(t3, this.parentFlow, e3.parentFlow); - const i3 = this._coreActionViewModel.state.getInvalidReferenceReason(e3.coreStateViewModel); - this._checkItem(this._infoPropSet("archStateTarget", "targetState"), i3, `targetState is not valid as the change state target, reason: ${i3}`), this._targetArchState = e3, this.logNote("setting the change state to " + e3.logStr), this._coreActionViewModel.state.setReference(e3.coreStateViewModel); - } - } - t2.default = s; - }, 43610: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.contactListManager = t2.ContactListManager = void 0; - const n2 = i2(31635).__importDefault(i2(47532)), r2 = i2(81801), o = i2(51416), a = i2(24032), s = i2(27395), l = i2(27862); - class u extends n2.default { - get requiredAuth() { - return r2.externalAuthorizations.authStrings.contactListsSearch; + return i3; } - get dependencyType() { - return l.ContactList; + removeAll() { + o.default.each(this.items, (e3) => { + this.destroyChild(e3); + }), this.items.splice(0, this.items.length), this.orderChanged(); } - _createItemViewModel(e3) { - return new o.ContactListViewModel(e3); + removeChildByReferenceId(e3) { + if (!e3.referenceId) return; + const t3 = o.default.findWhere(this.model, { referenceId: e3.referenceId }); + let i3 = this.model.indexOf(t3); + i3 > -1 && this.model.splice(i3, 1); + const n3 = o.default.findWhere(this.items, { referenceId: e3.referenceId }); + i3 = this.items.indexOf(n3), i3 > -1 && (this.items.splice(i3, 1), this.destroyChild(e3)), this.orderChanged(); } - constructor() { - super(), this.topic = (0, a.getTopic)("contactListManager"), this._rawServerCache = {}, this.apiCallList = s.getContactListsDivisionViews, this.apiCallSingle = s.getContactList, this.dependencyContext = null, this.className = "ContactListManager", this.uiMetadataSectionName = "contactList", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + replaceItemAtIndex(e3, t3) { + e3 > -1 && e3 < this.items.length && (this.destroyChild(this.items[e3]), this.model[e3] = t3.model, this.items[e3] = t3), o.default.isFunction(t3.initializeDesignTime) && t3.initializeDesignTime(); } - } - 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 = 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); + search(e3) { + this.items.forEach((t3) => { + t3.isExpressionContainerItem ? t3.search(e3) : e3.addToQueue(t3); + }); } - get botRunnableProperty() { - return this.botVersion; + updateDependencies() { + this.items.forEach((e3) => { + e3.isExpressionContainerItem ? e3.updateDependencies() : s.registerExpression(e3); + }); } - get botCategoryProperty() { - return this.bot; + validate(e3) { + this.items.forEach((t3) => { + o.default.isFunction(t3.validate) && t3.validate(e3); + }); } - get botIntegrationProperty() { - return this.botIntegration; + getExpressions() { + return this.items.reduce((e3, t3) => (e3.push(...t3.getExpressions()), e3), []); } - static get branchInfo() { - return [g.default.failure]; + } + t2.ExpressionContainer = h; + }, 71514(e2, t2, i2) { + "use strict"; + t2.ExpressionList = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, o2, r2, a2, s2) { + super(e3.isFlowViewModel ? e3 : e3.parentFlow, e3, t3, r2, a2), this._transitory = s2, this.label = i3, this.isOptional = false, this.type = n3, this._initialize(); } - get botRunnableNetworkGetCall() { - return c.getDigitalBotConnectorBotVersion; + get expressions() { + return this.items; } - get isDigitalBotConnectorAction() { - return true; + get isZeroBasedList() { + return this._isZeroBasedList; } - static get managedProperties() { - 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" }]; + set isZeroBasedList(e3) { + this._isZeroBasedList = e3, this.orderChanged(); } - getDependencyTrackingId() { - return this.botCompositeTag; + get addIndexSuffixToSingleItemLists() { + return this._labelSingleItem; } - getUniqueBotCategoryId() { - if (this.botIntegration.idValue && this.bot.idValue) return `${this.botIntegration.idValue}:${this.bot.idValue}`; + set addIndexSuffixToSingleItemLists(e3) { + this._labelSingleItem = e3, this.orderChanged(); } - getUniqueBotRunnableId() { - if (this.botIntegration.idValue && this.bot.idValue && this.botVersion.idValue) return `${this.getUniqueBotCategoryId()}:${this.botVersion.idValue}`; + get shouldUseBracketsInLabel() { + return this._shouldUseBracketsInLabel; } - get botCompositeTag() { - return this.model.botCompositeTag; + set shouldUseBracketsInLabel(e3) { + this._shouldUseBracketsInLabel = e3, this.orderChanged(); } - set botCompositeTag(e3) { - this.model.botCompositeTag = e3; + validate(e3) { + let t3; + this._extraValidator && (t3 = o.default.where(this.expressions, { isLiteralMode: true })), this.expressions.forEach((i3) => { + i3.validate(e3) && i3.isLiteralMode && t3 && this._extraValidator(e3, i3, t3); + }); } - updateBotCategoryPropertyDependency() { + _initialize() { + o.default.each(this.model, (e3) => { + const t3 = this.createItem(e3, void 0, this.options); + this.items.push(t3); + }); } - 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 && S.registerConsumer(this, P.botConnector.digitalBotName, this.botCategoryProperty.nameValue, this.getDependencyTrackingId(), t3, D.DigitalBotConnector); + addClipboardDependencies(e3) { + this.expressions.forEach((t3) => { + t3.addClipboardDependencies(e3); + }); } - postProcessYamlConfig(e3, t3, i3) { - if (this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), !this.botIntegration.nameValue) return; - e3.botIntegration = {}; - const n3 = e3.botIntegration[this.botIntegration.nameValue] = {}; - if (!this.botName) return void o.default.ensureYamlNoneTrue(n3); - const r3 = n3[this.botName] = {}; - if (!this.versionName) return void o.default.ensureYamlNoneTrue(r3); - const a2 = r3[this.versionName] = {}; - this.commonBotPostProcessYamlConfig(e3, a2); + createItem(e3, t3, i3) { + e3 = e3 || new m(); + const n3 = this.getLabel(this.items.length), o2 = new d.ExpressionParameters(this.parentFlow, this.parent, e3, n3); + o2.type = this.type, o2.transitory = this._transitory, o2.propertyName = this.propertyName, o2.options = this.type.createExpressionOptionClass(), o2.options.applyDefaultCollectionItemOptions(this.options); + const r2 = new p.NormalExpression(o2); + return e3.options && e3.options.facets && (r2.options.facets = e3.options.facets), r2; } - getAdditionalParams() { - return new d.default(this.botRunnableManager, { additionalParams: { integrationId: this.botIntegrationProperty.idValue, botId: this.botCategoryProperty.idValue } }); + getLabel(e3) { + if (!this.addIndexSuffixToSingleItemLists && this.expressions.length <= 1 && !this.isZeroBasedList && !this.shouldUseBracketsInLabel) return this.label; + const t3 = this.isZeroBasedList ? e3 : e3 + 1; + return this.shouldUseBracketsInLabel ? this.label + " [" + t3 + "]" : this.label + " " + t3; } - get supportsInputsOutputs() { + get isExpressionList() { return true; } - _setBotCategoryProperties(e3) { - e3 && (this.botCategoryProperty.nameValue = e3.botName, this.botCategoryProperty.idValue = e3.botId); - } - _setBotIntegrationProperties(e3) { - e3 && (this.botIntegrationProperty.idValue = e3.integrationId); + orderChanged() { + this.expressions.forEach((e3, t3) => { + e3.label = this.getLabel(t3); + }), super.orderChanged(); } - setBotCategoryByViewModel(e3) { - super.setBotCategoryByViewModel(e3); - const t3 = this.botIntegrationProperty.configListManager, i3 = this.botCategoryProperty.configListManager; - 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 className() { + return "ExpressionList"; } - get yamlNoBotRunnablePropName() { - return "noBotIntegration"; + 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(); } - _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)); - } - }) }); + _configureFromModelForYaml(e3, t3, i3) { + var n3; + if (null == e3) return; + const o2 = (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 o2(t4); + if ("var" in t4 && "string" == typeof t4.var) return void o2(t4); + if ("noValue" in t4 && true === t4.noValue) return void o2(t4); + if ("noValueWithNoFallback" in t4 && true === t4.noValueWithNoFallback) return void o2(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)(r.configureFromModel.collectionLitMustBeArray, typeof e4))); + d2 = [e4]; } } } - super._configureFromModel(e3, t3, i3); + if (void 0 === d2) return; + const p2 = c.default.defaultCollectionItemsMax; + if ((0, s.enforceValueLimit)(d2.length <= p2, (0, h.sprintf)(r.configureFromModel.collectionLiteralItemCap, d2.length, p2), i3)) { + this.destroyChildren(); + for (let e4 = 0; e4 < d2.length; e4++) { + const n4 = d2[e4], o3 = this._wrapCollectionLiteralItemIfNeeded(n4), r2 = this.add(); + (0, u.hasConfigureFromModel)(r2) && (i3 ? (0, l.withModelContext)(i3, `[${e4}]`, () => { + r2.configureFromModel(o3, t3, i3); + }) : r2.configureFromModel(o3, 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; } } - 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) => { + t2.ExpressionList = g; + }, 60420(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)), 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, c.sprintf)("%1$s-%2$s", n4.builderPartDef.id, this._partViewModels.length - 1), h.registerEventSinkForEventEmitter(n4.id, this.builderViewModel); - }); + t2.ExpressionListWithReferenceId = void 0; + const n2 = i2(31635).__importDefault(i2(33923)), o = i2(71514); + class r extends o.ExpressionList { + get isExpressionListWithReferenceId() { + return true; } - _getBuilderModelArray(e3) { - return this.isManagingPartContainers ? (e3 && !r2.default.isArray(this._parentModel.builderPartContainers) && (this._parentModel.builderPartContainers = []), this._parentModel.builderPartContainers) : (e3 && !r2.default.isArray(this._parentModel.builderParts) && (this._parentModel.builderParts = []), this._parentModel.builderParts); + get expressions() { + return this.items.map((e3) => e3.value); } - get builderDef() { - return this.builderViewModel.builderDef; + createItem(e3, t3, i3) { + const o2 = super.createItem(e3.value, t3, i3); + return new n2.default(e3, o2); } - get isManagingPartContainers() { - return this._isManagingPartContainers; + add(e3, t3, i3) { + return super.add(e3, t3, i3).value; } - get sortPartContainers() { - return this._sortPartContainers; + } + t2.ExpressionListWithReferenceId = r; + }, 11929(e2, t2, i2) { + "use strict"; + t2.ExternalContactPatchChangeList = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(24032)), r = 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 = o.getTopic("ExternalContactPatchChangeList"); + class y extends h.ExpressionContainer { + constructor(e3, t3, i3, n3) { + super(e3.parentFlow, e3, t3, i3, n3), this.availableFieldGroups = [], this._initialize(); } - _addPart(e3) { - if (this.isManagingPartContainers !== e3.isContainerPart) throw g.error(`Attempting to add a non builder part container to a container array. Container: ${JSON.stringify(this)}; BuilderPartToAdd: ${JSON.stringify(e3)}`), "no no, you are adding a non builder part container to a container array or vice versa. Boo!"; - let t3 = -1; - if (this.sortPartContainers && this._partViewModels.length && e3) { - const i4 = e3.sortValue; - for (let e4 = 0; e4 < this._partViewModels.length; e4++) if (i4 < this._partViewModels[e4].sortValue) { - t3 = e4; - break; - } - } - 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, 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 className() { + return "ExternalContactPatchChangeList"; } - get errorParent() { - return this.parentIsContainerPart ? this.parentContainerPart : this.builderViewModel; + get isExternalContactPatchChangeList() { + return true; } - _initializeDesignTime() { - super._initializeDesignTime(), r2.default.each(this._partViewModels, (e3) => { - e3.initializeDesignTime(); + get hasMax() { + 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; }); } - getInternalExpressions() { - const e3 = r2.default.map(this._partViewModels, (e4) => e4.getInternalExpressions()); - return r2.default.union(...e3); + add(e3) { + return this.hasMax ? (T.warning("Attempted to add field but max items reached"), null) : super.add(e3); } - _replaceUsages(e3, t3, i3) { - super._replaceUsages(e3, t3, i3), r2.default.each(this._partViewModels, (n3) => { - n3.replaceUsages(e3, t3, i3); - }); + orderChanged() { + super.orderChanged(), this._updateAvailableFields(); } - _validateBuilderObject(e3, t3) { - let i3 = super._validateBuilderObject(e3, t3); - try { - if (e3.setContextIsContainerRelated(), r2.default.each(this._partViewModels, (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, 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, 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, c.sprintf)(m.builders.maxPartsMoreThanOne, this.maxBuilderPartCount); - e3.addError(this.errorParent, t4); - } - } - } finally { - this.builderViewModel.builderValidationResultsOrganizer.clearContextIsContainerRelated(); + _updateAvailableFields() { + this.availableFieldGroups = Object.values((0, r.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 g.ExternalContactPatchChange(); + return t3.field = e3, this.add(t3); + } + _isUnusedField(e3) { + if (!(0, a.getExternalContactFieldDef)(e3)) return false; + const t3 = new Set(this.items.map((e4) => e4.fieldId)); + if (t3.has(e3)) return false; + const i3 = e3.split("."); + if (i3.length > 1 && t3.has(i3[0])) return false; + if (1 === i3.length) { + const i4 = `${e3}.`; + return ![...t3].some((e4) => e4.startsWith(i4)); } - return i3; + return true; } - _indexForPartId(e3) { - return r2.default.isString(e3) && 0 !== e3.length ? r2.default.findIndex(this.parts, function(t3) { - return t3.id === e3; - }) : -1; + _initialize() { + this.model.forEach((e3) => { + if (!(0, a.getExternalContactFieldDef)(null == e3 ? void 0 : e3.field)) return; + const t3 = this.createItem(e3); + t3 && this.items.push(t3); + }), this._updateAvailableFields(); } - get enabledNonContainerPartCount() { - let e3 = 0; - return this.isManagingPartContainers ? r2.default.each(this.parts, (t3) => { - if (!t3.outOfService) { - const i3 = t3.builderPartsManager; - i3 && (e3 += i3.enabledNonContainerPartCount); - } - }) : r2.default.each(this.parts, (t3) => { - t3.outOfService || e3++; - }), e3; + createItem(e3) { + var t3; + const i3 = (0, l.resolveExternalContactFieldType)(e3.field, this.parentFlow); + if (!i3) return null; + 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 o2 = i3.isCollection && n3.requiresSingleItem ? i3.valueType.singletonType : i3.valueType, r2 = this._buildValueExpression(e3, i3.id, o2); + return new m.default(e3, r2, i3, n3, (t4) => this._buildValueExpression(e3, i3.id, t4)); } - _indexForPartViewModel(e3) { - return e3 ? e3.isDestroyed ? -1 : this._indexForPartId(e3.id) : -1; + _buildValueExpression(e3, t3, i3) { + const n3 = p.buildOptions(i3, void 0, this.parentFlow); + n3.setAsInput(); + const o2 = (0, s.getExternalContactPatchCollectionConstraints)(t3); + return o2 && i3.isCollection && (n3.setMinItems(o2.minItems), n3.setMaxItems(o2.maxItems)), d.expression(this.parentFlow, this.parent, e3.value, t3, i3, void 0, n3); } - canMovePartAtIndex(e3) { - const t3 = this.hasMinBuilderPartCount ? Math.min(this.minBuilderPartCount, this.parts.length) : this.parts.length; - return e3 >= 0 && e3 < t3; + } + t2.ExternalContactPatchChangeList = y; + }, 29485(e2, t2, i2) { + "use strict"; + t2.NameValuePairs = void 0; + const n2 = i2(31635), o = i2(17604), r = 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, o2) { + super(e3.parentFlow, e3, t3, n3, o2), Object.defineProperties(this, { isOutput: { value: i3 } }), this._initialize(); } - _movePartToIndex(e3, t3) { - if (!this.canMovePartAtIndex(e3)) return false; - if (!this.canMovePartAtIndex(t3)) return false; - const i3 = this._partViewModels[e3]; - this._partViewModels.splice(e3, 1), this._partViewModels.splice(t3, 0, i3); - const n3 = this._getBuilderModelArray(), r3 = n3[e3]; - return n3.splice(e3, 1), n3.splice(t3, 0, r3), this.builderViewModel.updateOwningExpression(), true; + createItem(e3, t3) { + (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), o2 = r.buildOptions(t3 || e3.expression.type, void 0, this.parentFlow); + this.isOutput && o2.setAsOutput(); + const l2 = a.expression(this.parentFlow, this.parent, e3.expression, this.getValueLabel(this.items.length), t3, void 0, o2); + return new u.default(e3, n3, l2); } - _swapPartsAtIndex(e3, t3) { - if (!this.canMovePartAtIndex(e3)) return false; - if (!this.canMovePartAtIndex(t3)) return false; - const i3 = this._getBuilderModelArray(), n3 = this._partViewModels[e3], r3 = i3[e3]; - return this._partViewModels[e3] = this._partViewModels[t3], this._partViewModels[t3] = n3, i3[e3] = i3[t3], i3[t3] = r3, this.builderViewModel.updateOwningExpression(), true; + getValueLabel(e3) { + const t3 = this.options && this.options.valueLabel ? this.options.valueLabel : d.updateVariables.variableValue; + return (0, o.sprintf)(t3, e3 + 1); } - get className() { - return "BuilderPartsManager"; + getAddButtonLabel() { + return this.options && this.options.addButtonLabel ? this.options.addButtonLabel : d.collectionEditor.addItem; } - get isBaseBuilderWithBuilderPartsViewModel() { + getSectionLabel() { + return this.options && this.options.sectionLabel ? this.options.sectionLabel : d.setAttributes.attribute; + } + getEmptySectionLabel() { + return d.setAttributes.noAttributesDefined; + } + getNameLabel(e3) { + const t3 = this.options && this.options.nameLabel ? this.options.nameLabel : d.setAttributes.nameLabel; + return (0, o.sprintf)(t3, e3 + 1); + } + get isNameValuePairs() { return true; } - canRemovePart(e3) { - const t3 = r2.default.indexOf(this.parts, e3); - return !(t3 < 0 || this.builderDef.fixedBuilderPart || this.parts[t3].cannotBeDeleted); + orderChanged() { + this.updateItemLabels(), super.orderChanged(); } - get parts() { - return this._partViewModels; + updateItemLabels() { + this.items.forEach((e3, t3) => { + e3.name.label = this.getNameLabel(t3), e3.expression.label = this.getValueLabel(t3); + }); } - get hasParts() { - return this._partViewModels && this._partViewModels.length > 0; + get className() { + return "NameValuePairs"; } - deletePart(e3) { - const t3 = this._indexForPartViewModel(e3); - return -1 !== t3 && this.deletePartAtIndex(t3); + isVariableListEmpty(e3) { + const t3 = this.parent, i3 = t3.variables ? t3.variables.items : null; + i3 && 0 !== i3.length || e3.addWarning(t3, d.getAttributes.noAttributesError); } - configureForFlowState() { - const e3 = this.parentFlow; - if (e3 && e3.info && !e3.info.currentUserCanEdit) return false; - let t3 = false; - for (let e4 = this._partViewModels.length - 1; e4 >= 0; e4--) this._partViewModels[e4].needsDeletion && this.deletePartAtIndex(e4) && (t3 = true); - return t3; + } + t2.NameValuePairs = _; + }, 27197(e2, t2, i2) { + "use strict"; + t2.SkillValuePairs = void 0; + const n2 = i2(31635), o = i2(17604), r = 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(); } - _deletePartAtIndex(e3, t3) { - 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); - const t4 = i3[0]; - t4 && (h.unregisterEventSinkForEventEmitter(t4.id, this.builderViewModel), t4.destroy()), this.builderViewModel.updateOwningExpression(); - } catch (e4) { - console.error("Unable to destroy builder part. " + e4); + _validateValue(e3, t3, i3) { + if (t3.validate(e3) && t3.isLiteralMode) { + const n3 = parseInt(t3.text, 10); + if (n3 < 0 || n3 > 10) { + const t4 = _.transferPureMatch.invalidProficiency; + e3.addError(this.parent, (0, o.sprintf)(t4, i3 + 1)); + } } - return true; } - get hasMaxNumOfBuilderPartsConfigured() { - return !!this.hasMaxBuilderPartCount && (this.isManagingPartContainers ? !r2.default.find(this.parts, (e3) => !e3.hasMaxNumOfBuilderPartsConfigured) : this._partViewModels.length === this.maxBuilderPartCount); + addItem(e3) { + this.items.push(e3), this.model.push(e3.model), e3.outOfService = this.outOfService, e3.initializeDesignTime(), this.expandNewItem(e3), this.orderChanged(); } - deletePartAtIndex(e3) { - return this._deletePartAtIndex(e3); + 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(r.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; } - deleteAllParts() { + getExpressions() { const e3 = []; - let t3 = false; - try { - for (let i3 = this.parts.length - 1; i3 >= 0; i3--) { - const n3 = this.parts[i3]; - this.canRemovePart(n3) && this._deletePartAtIndex(i3, true) ? t3 = true : e3.push(n3); - } - } finally { - t3 && this.builderViewModel.updateOwningExpression(); - } - return e3.length ? e3 : void 0; + return this.items.forEach((t3) => { + e3.push(...t3.skill.getExpressions()); + }), e3; } - get hasMaxBuilderPartCount() { - return !this.isManagingPartContainers && this.builderDef.hasMaxBuilderPartCount; + getSkillLabel(e3) { + return (0, o.sprintf)(_.transferPureMatch.skill, e3 + 1); } - get maxBuilderPartCount() { - return this.isManagingPartContainers ? void 0 : this.builderDef.maxBuilderPartCount; + get isSkillValuePairs() { + return true; } - get hasMinBuilderPartCount() { - return !this.isManagingPartContainers && this.builderDef.hasMinBuilderPartCount; + orderChanged() { + this.items.forEach((e3, t3) => { + e3.skill.label = this.getSkillLabel(t3); + }), super.orderChanged(); } - get minBuilderPartCount() { - return this.isManagingPartContainers ? void 0 : this.builderDef.minBuilderPartCount; + validate(e3) { + let t3; + this._extraValidator && (t3 = [], this.items.forEach((e4) => { + e4.skill.isLiteralMode && t3.push(e4.skill); + })), this.items.forEach((i3) => { + i3.skill.validate(e3) && i3.skill.isLiteralMode && t3 && this._extraValidator(e3, i3.skill, t3); + }); } - get warnOnNoParts() { - return this.isManagingPartContainers ? void 0 : this.builderDef.warnOnNoParts; + get className() { + return "SkillValuePairs"; } - findBestContainerPartForCriteria(e3) { - return this.parts.find((t3) => !t3.outOfService && t3.criteria && (t3.criteria.languageTag === e3.languageTag || r2.default.isUndefined(t3.criteria.languageTag) || r2.default.isUndefined(e3.languageTag)) && (t3.criteria.outputMode === e3.outputMode || r2.default.isUndefined(t3.criteria.outputMode) || r2.default.isUndefined(e3.outputMode))); + } + t2.SkillValuePairs = m; + }, 3986(e2, t2, i2) { + "use strict"; + t2.VariableValuePairs = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 r2; + 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 === (r2 = t4.architect) || void 0 === r2 ? void 0 : r2.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, o.sprintf)(a.configureFromModel.updateDataUnknownCustomJsonType, s3)), null); } - getExpressionDetails(e3) { - if (this._isManagingPartContainers && (null == e3 ? void 0 : e3.richSummary) && e3.criteria) { - const t4 = this.findBestContainerPartForCriteria(e3.criteria); - return t4 ? t4.getExpressionDetails(e3) : void 0; - } - if (this.enabledNonContainerPartCount > 0 && (null == e3 ? void 0 : e3.richSummary)) { - const t4 = this.getExpressionDetailParts(e3); - if (t4 && t4.length) return t4.map((e4) => e4.displayString).join(" "); - } - const t3 = this._partViewModels.length; - switch (t3) { - case 0: - return _.builders.shared.details.builderPartsNone; - case 1: - return this._partViewModels[0].builderPartDef.name; - default: - return (0, c.sprintf)(_.builders.shared.details.builderPartsMoreThanOne, t3); - } + if (!(s2 in g.expressionTypeNames)) return null == n3 || n3.warn((0, o.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(); } - getExpressionDetailParts(e3) { - if (this._isManagingPartContainers && (null == e3 ? void 0 : e3.richSummary) && e3.criteria) { - const t3 = this.findBestContainerPartForCriteria(e3.criteria); - return t3 ? t3.getExpressionDetailParts(e3) : void 0; + add(e3, t3, i3) { + return super.add(e3, t3, i3); + } + addClipboardDependencies(e3) { + this.items.forEach((t3) => { + t3.variable.addClipboardDependencies(e3), t3.expression.addClipboardDependencies(e3); + }); + } + createItem(e3, t3, i3) { + var n3, o2, r2, 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 === (o2 = this.parentFlow.definitions.getCustomDataTypeDefinition(f2.dataType)) || void 0 === o2 || o2.addReader(g2)), !f2 || f2.supportsLiteralEditor || g2.expression.isBuilderMode || (g2.expression.options.setAllowModeLiteral(false), g2.expression.mode = h.expression), !(null === (r2 = this.options) || void 0 === r2 ? void 0 : r2.variableOptionsOverrideCallback)) { + const e4 = null === (a2 = null == i3 ? void 0 : i3.variable) || void 0 === a2 ? void 0 : a2.disallowSecure; + g2.variable.setAsOutput(e4); } - return r2.default.flatten(this._partViewModels.map((t3) => t3.getExpressionDetailParts(e3))); + return g2; } - getIndexForPart(e3) { - return this._indexForPartId(e3); + 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)), r.default.each(i3, (t4) => t4.deleteItem(e3.parentFlow, true)); } - findContainerPart(e3, t3) { - if (this.isManagingPartContainers && r2.default.isObject(t3) && e3) return r2.default.find(this.parts, (i3) => t3.isEqualTo(i3.criteria) && i3.builderPartDef && i3.builderPartDef.isMatch(e3)); + getValueLabel(e3) { + return (0, o.sprintf)(S.updateVariables.variableValue, e3 + 1); } - movePartToIndex(e3, t3) { - const i3 = this._indexForPartViewModel(e3); - return -1 !== i3 && this._movePartToIndex(i3, t3); + getVariableLabel(e3) { + return (0, o.sprintf)(S.updateVariables.variableName, e3 + 1); } - movePartDown(e3) { - const t3 = this._indexForPartViewModel(e3); - return -1 === t3 ? -1 : this.movePartDownAtIndex(t3); + getVariableReferencesForItem(e3) { + return r.default.defaults({}, e3.variable.variables, e3.expression.variables); } - movePartDownAtIndex(e3) { - return p.ParameterValidator.expectInt(e3, () => d.ParameterInfo.createPropertySet(this.className, "movePartDownAtIndex", "indexToMoveDown")), this._swapPartsAtIndex(e3, e3 + 1) ? e3 + 1 : -1; + get isVariableValuePairs() { + return true; } - get parentIsContainerPart() { - return !r2.default.isUndefined(this._containerPartViewModel); + orderChanged() { + this.items.forEach((e3, t3) => { + e3.variable.label = this.getVariableLabel(t3), e3.expression.label = this.getValueLabel(t3); + }), super.orderChanged(); } - get parentIsBuilder() { - return !this.parentIsContainerPart; + traverse(e3) { + e3.expressionCallback && this.items.find((t3) => (e3.expressionCallback(t3.variable, e3), !!e3.isCanceled || (e3.expressionCallback(t3.expression, e3), e3.isCanceled))); } - get partsValidForProcessing() { - return this.parentIsContainerPart && !this.parentContainerPart.outOfService || this.parentIsBuilder && !this.builderViewModel.partAndPartsOutOfService; + get className() { + return "VariableValuePairs"; } - get parentContainerPart() { - return this._containerPartViewModel; + 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 r2 = e3[n3]; + if (!(0, c.isNonArrayObject)(r2)) { + i3.warn((0, o.sprintf)(a.configureFromModel.updateDataStatementMustBeObject, n3)); + continue; + } + const u2 = Object.keys(r2); + if (1 !== u2.length) { + i3.warn((0, o.sprintf)(a.configureFromModel.updateDataStatementOneTypeWrapper, n3, u2.length, u2.join(", "))); + continue; + } + const p2 = u2[0], _2 = r2[p2]; + if (!(0, c.isNonArrayObject)(_2)) { + i3.warn((0, o.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, o2, r3, 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 === (o2 = i3.currentActionContext) || void 0 === o2 ? void 0 : o2.objectType) || "action", _3 = (null === (r3 = i3.currentActionContext) || void 0 === r3 ? void 0 : r3.objectName) || "", g2 = null === (a2 = i3.currentActionContext) || void 0 === a2 ? void 0 : a2.viewModel, f2 = (e5, t4, n4, o3) => { + var r4; + const a3 = { objectType: p3, objectName: _3, objectId: d2, viewModel: g2, changeIndex: null !== (r4 = i3.currentChangeIndex) && void 0 !== r4 ? r4 : 0, property: e5, propertyDisplayName: t4, linkPropertyName: "variables", propertyViewModel: o3 }; + 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, o.sprintf)(a.configureFromModel.updateDataStatementFailed, n3, p2, t4)); + } + } + } else i3.warn(a.configureFromModel.updateDataStatementsMustBeArray); } - movePartUp(e3) { - const t3 = this._indexForPartViewModel(e3); - return -1 === t3 ? -1 : this.movePartUpAtIndex(t3); + } + t2.VariableValuePairs = v; + }, 87340(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(33923)); + class a extends r.default { + constructor(e3, t3) { + super(e3, t3); } - movePartUpAtIndex(e3) { - return p.ParameterValidator.expectInt(e3, () => d.ParameterInfo.createPropertySet(this.className, "movePartUpAtIndex", "movePartUpAtIndex")), this._swapPartsAtIndex(e3, e3 - 1) ? e3 - 1 : -1; + get className() { + return "ContainedDataPairList"; } - 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)); + getConfiguration(e3, t3, i3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = {}; + return o.default.each(this.contents, (r2) => { + o.default.extend(n3, r2.getConfiguration(e3, t3, i3)); + }), o.default.ensureYamlNoneTrue(n3), o.default.tryWrapObject(n3, this.name); + } + return this.model; } - cloneParts(e3) { - if (this._partViewModels.length) throw g.error("Attempted to call cloneParts on a builder container with existing parts."), "trying to call cloneParts on a builder container with existing parts"; - r2.default.each(e3, (e4) => { - const t3 = r2.default.deepClone(e4.builderPartModel), i3 = e4.builderPartDef.reviveItem(this.builderViewModel, this.owningExpression, t3, true); - return this._addPart(i3); - }); + get name() { + return this.model.name; } - getOverallPartsGeneration(e3, t3) { - const i3 = this.getIndividualPartGenerations(); - if (1 === i3.length) return i3[0]; - const n3 = e3.createGeneration(); - return r2.default.each(i3, function(e4) { - n3.addGenerationToBucket(e4, t3); - }), n3; + get isContainedDataPairList() { + return true; } - get hasLanguagePartContainers() { - return !!this.isManagingPartContainers && !r2.default.isUndefined(r2.default.find(this.parts, (e3) => e3.isLanguageBuilderPartContainerViewModel)); + } + t2.default = a; + }, 34015(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(51695)), a = n2.__importStar(i2(1115)); + class s extends r.default { + constructor(e3, t3, i3) { + super(), this.model = e3, this.type = t3, this.value = i3; } - getMissingFlowSupportedLanguages() { - if (!this.builderViewModel.partAndPartsOutOfService) return; - if (!this.isManagingPartContainers) return; - const e3 = this.parentFlow; - if (!e3 || !e3.languages) return; - const t3 = []; - return r2.default.each(e3.languages.supportedLanguagesViewModels, (e4) => { - r2.default.isUndefined(r2.default.find(this.parts, (t4) => { - if (t4.isLanguageBuilderPartContainerViewModel) return t4.languageTag === e4.idExpressionText; - })) && t3.push(e4); - }), t3; + get contents() { + return [this.value]; } - getIndividualPartGenerations() { - const e3 = []; - return this.parentIsBuilder && this.builderViewModel.partAndPartsOutOfService ? e3.push(this.builderDef.generators.noOrDisabledPartsGenerator.createGeneration()) : 0 === this.parts.length ? this.hasMinBuilderPartCount && 0 !== this.minBuilderPartCount || this.builderDef.generators.noOrDisabledPartsGenerator && e3.push(this.builderDef.generators.noOrDisabledPartsGenerator.createGeneration()) : r2.default.each(this.parts, function(t3) { - const i3 = t3.buildExpressionGeneration(); - i3 && e3.push(i3); - }), 0 === e3.length && e3.push(l.default.emptyStringGenerator.createGeneration()), e3; + get id() { + return "dpp-" + this.value.id; } - _buildCriteriaPropOrderedObject(e3) { - if (!this.isManagingPartContainers) return {}; - const t3 = {}; - return r2.default.each(this.parts, (i3) => { - if (i3.outOfService) return; - const n3 = i3.criteria; - if (!r2.default.isObject(n3)) return; - let o2 = t3; - const a2 = e3.length, s2 = a2 - 1; - for (let t4 = 0; t4 < a2; t4++) { - let a3 = n3[e3[t4]]; - if (r2.default.isUndefined(a3) && (a3 = "__none__"), t4 === s2) r2.default.isUndefined(o2[a3]) && (o2[a3] = i3); - else { - let e4 = o2[a3]; - r2.default.isUndefined(e4) && (e4 = {}, o2[a3] = e4), o2 = e4; - } + get className() { + return "DataPairViewModel"; + } + getConfiguration(e3, t3, i3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + let n3; + if ((null == i3 ? void 0 : i3.wrapDataPairNameAndValueInTypeString) ? n3 = this.type.yamlTypeName : o.default.isString(null == i3 ? void 0 : i3.wrapDataPairNameAndValueInString) && (n3 = null == i3 ? void 0 : i3.wrapDataPairNameAndValueInString), o.default.isString(n3)) { + const r2 = { name: this.name || "" }; + return this.value.outOfService || (r2.value = this.value.getConfiguration(e3, t3, i3)), o.default.tryWrapObject(r2, n3); } - }), t3; + return o.default.tryWrapObject(this.value.getConfiguration(e3, t3), this.name); + } + return this.model; } - getLanguageTagOutputModeContainer() { - return this._buildCriteriaPropOrderedObject(["languageTag", "outputMode"]); + get isDataPairViewModel() { + return true; } - _addClipboardDependencies(e3) { - super._addClipboardDependencies(e3), r2.default.each(this.parts, function(t3) { - t3.addClipboardDependencies(e3); - }.bind(this)); + get cardLabel() { + return this.name; } - setPartsOutOfServiceValue(e3) { - p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "setOutOfServiceValue", "outOfServiceValue")), r2.default.each(this._partViewModels, (t3) => { - t3.outOfService = e3; - }); + get name() { + return this.model.name; } - _destroy() { - r2.default.each(this._partViewModels, (e3) => { - h.unregisterEventSinkForEventEmitter(e3.id, this.builderViewModel), e3.destroy(); - }), this._partViewModels.splice(0, this._partViewModels.length), this._containerPartViewModel = void 0, this._parentModel = void 0, this._isManagingPartContainers = void 0, super._destroy(); + set name(e3) { + this.model.name === e3 && this.value.label === e3 || (this.model.name = e3, this.value.label = e3, this.value.parent && this.value.parent.initializeDesignTimeCalled && a.validateNode(this.value.parent, true)); + } + get referenceId() { + return this.model.referenceId; + } + set referenceId(e3) { + this.model.referenceId = e3; } } - t2.default = f; - }, 43700: (e2, t2, i2) => { + t2.default = s; + }, 49304(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeGrammarOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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); } - constructor(e3) { - super(e3); + get parentFlow() { + return this._parentFlow; + } + get name() { + return this.model.name; + } + get cardLabel() { + return this.name; + } + get contents() { + return [this.model.name, this.values, this.synonyms, this.labels]; + } + get referenceId() { + return this.name; } get className() { - return "ExpressionTypeGrammarOptions"; + return "DynamicSlotTypeViewModel"; } - get isExpressionTypeGrammarOptions() { + getConfiguration(e3, t3) { + return this.model; + } + get amObjectEventSink() { return true; } - } - t2.ExpressionTypeGrammarOptions = r2; - }, 43773: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.removePropertiesForComparison = function e3(t3) { - const i3 = n2.default.isObject(t3), r2 = n2.default.isArray(t3); - if (!i3 && !r2) return t3; - if (i3) { - if (t3.isEnum) return t3.toJSON(); - const i4 = n2.default.clone(t3); - delete i4.uiMetaData, delete i4.config, delete i4.metaData; - for (const t4 in i4) i4.hasOwnProperty(t4) && (i4[t4] = e3(i4[t4])); - const r3 = n2.default.keys(t3.constructor.prototype); - return n2.default.each(r3, function(t4) { - const n3 = Object.getOwnPropertyDescriptor(i4, t4); - n3 && n3.writable && (i4[t4] = e3(i4[t4])); - }), i4; + initializeDesignTime() { + super.initializeDesignTime(), r.default.each([this.values, this.synonyms, this.labels], (e3) => { + u.registerEventSinkForEventEmitter(e3.id, this); + }); } - return r2 ? n2.default.map(t3, function(t4) { - return e3(t4); - }) : 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); + handleSlotTypeInfoUpdated() { + const e3 = this.parentFlow; + r.default.isFunction(e3.updateWorkbenchDynamicSlotTypesUpdated) && e3.updateWorkbenchDynamicSlotTypesUpdated(); } - get _actionTypeId() { - return r2.agenticAnythingElseActionType; + objEvent_listOrderChanged() { + this.handleSlotTypeInfoUpdated(); } - get currentIndex() { - return this._currentIndex; + objEvent_expressionValueChanged() { + this.handleSlotTypeInfoUpdated(); } - get voiceEndOfInputTimeout() { - return this._voiceEndOfInputTimeout; + createNewValuesExpression(e3) { + const t3 = e3 || null, i3 = l.ExpressionTypeStringOptions.create((e4) => { + e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesDescription).setFeatureConfigName(c.default.botFlowsDynamicSlotTypeFeature).setIninTestingField("slot-type-values"); + }); + return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, p.globalTypes.stringCollection, null, i3); } - get displayTypeName() { - return this._scriptingName; + createNewSynonymsExpression(e3) { + const t3 = e3 || null, i3 = l.ExpressionTypeStringOptions.create((e4) => { + e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsLabel, (0, o.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 d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsLabel, p.globalTypes.stringCollection, null, i3); } - get isArchActionAgenticAnythingElse() { + createNewLabelsExpression(e3) { + const t3 = e3 || null, i3 = s.ExpressionTypeCommunicationOptions.create((e4) => { + e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsLabel, (0, o.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 d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsLabel, p.globalTypes.communicationCollection, null, i3); + } + get isDynamicSlotTypeViewModel() { return true; } } - t2.default = o; - }, 43933: (e2, t2, i2) => { + t2.default = m; + }, 23215(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(19596), o = i2(80295); - class a extends r2.DataContract { - constructor(e3) { - super(e3); - } - get id() { - return this._id; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, r.uuid)(), this.timeslots = this._createNewTimeslotsExpression(this.model.timeslots); } - set id(e3) { - this._id = e3; + get parentFlow() { + return this._parentFlow; } get name() { - return this._name; - } - set name(e3) { - this._name = e3; - } - get description() { - return this._description; - } - set description(e3) { - this._description = e3; + return this.model.name; } - get languages() { - return this._languages; + get cardLabel() { + return this.name; } - set languages(e3) { - this._languages = e3; + get contents() { + return [this.timeslots]; } - } - 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; + get referenceId() { + return this.name; } - static fromValidatedParts(e3, t3, n2) { - return new i2(e3, t3, n2, i2.decimalStringToScaledBigInt(e3)); + get className() { + return "DynamicTimeslotTypeViewModel"; } - 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; + getConfiguration(e3, t3) { + return this.model; } - 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; + get amObjectEventSink() { + return true; } - static pow10(e3) { - const t3 = BigInt(10); - let i3 = BigInt(1); - for (let n2 = 0; n2 < e3; n2++) i3 *= t3; - return i3; + initializeDesignTime() { + super.initializeDesignTime(), s.registerEventSinkForEventEmitter(this.timeslots.id, this); } - isGreaterThan(e3) { - const t3 = this.compareTo(e3); - return void 0 !== t3 && t3 > 0; + objEvent_listOrderChanged() { + this._handleSlotTypeInfoUpdated(); } - isLessThan(e3) { - const t3 = this.compareTo(e3); - return void 0 !== t3 && t3 < 0; + objEvent_expressionValueChanged() { + this._handleSlotTypeInfoUpdated(); } - isGreaterThanOrEqualTo(e3) { - const t3 = this.compareTo(e3); - return void 0 !== t3 && t3 >= 0; + get isDynamicTimeslotTypeViewModel() { + return true; } - isLessThanOrEqualTo(e3) { - const t3 = this.compareTo(e3); - return void 0 !== t3 && t3 <= 0; + destroy() { + var e3; + s.unregisterEventSinkForEventEmitter(null === (e3 = this.timeslots) || void 0 === e3 ? void 0 : e3.id, this), super.destroy(); } - equals(e3) { - const t3 = this.compareTo(e3); - return void 0 !== t3 && 0 === t3; + _handleSlotTypeInfoUpdated() { + const e3 = this.parentFlow; + o.default.isFunction(e3.updateWorkbenchDynamicSlotTypesUpdated) && e3.updateWorkbenchDynamicSlotTypesUpdated(); } - notEquals(e3) { - return !this.equals(e3); + _createNewTimeslotsExpression(e3) { + 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 c.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, p.dynamicTimeslots.settings.dynamicTimeslotSettingTimeslotsLabel, u.globalTypes.timeslotCollection, null, i3); } } - t2.ParsedDecimal = i2; - }, 44023: (e2, t2, i2) => { + t2.default = _; + }, 51695(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeDateOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(17498)), a = i2(55299); + class s extends a.BaseClass { + constructor() { + super(), this.collapsed = true, this.supportsInitializeDesignTime = true; } - constructor(e3) { - super(e3); + addClipboardDependencies(e3) { + o.default.each(this.contents, (t3) => { + o.default.isFunction(t3.addClipboardDependencies) && t3.addClipboardDependencies(e3); + }); } - get isExpressionTypeDateOptions() { - return true; + checkVersion(e3) { + o.default.each(this.contents, (t3) => { + o.default.isFunction(t3.checkVersion) && t3.checkVersion(e3); + }); } - get className() { - return "ExpressionTypeDateOptions"; + destroy() { + o.default.each(this.contents, (e3) => { + o.default.isFunction(e3.destroy) && e3.destroy(); + }), this._isDestroyed = true; } - } - t2.ExpressionTypeDateOptions = r2; - }, 44033: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.variablePropertyReasons = void 0; - const n2 = i2(93858), r2 = i2(47957); - class o extends n2.PropertyBaseReasons { - constructor() { - super(...arguments), this.REASON_CANNOT_SET_IS_SCHEMA_INPUT = { code: "cannot_set_is_schema_input", resource: r2.properties.variable.common.set.cannotSetIsSchemaInput }, this.REASON_CANNOT_SET_IS_SCHEMA_INPUT_OUTPUT = { code: "cannot_set_is_schema_input_output", resource: r2.properties.variable.common.set.cannotSetIsSchemaInputOutput }, this.REASON_CANNOT_SET_IS_SCHEMA_OUTPUT = { code: "cannot_set_is_schema_output", resource: r2.properties.variable.common.set.cannotSetIsSchemaOutput }, this.REASON_NOT_SUPPORTED_INPUT_VARIABLE_SCOPE = { code: "not_supported_variable_input_scope", resource: r2.properties.variable.common.support.notSupportedInputVariableScope }, this.REASON_NOT_SUPPORTED_OUTPUT_VARIABLE_SCOPE = { code: "not_supported_variable_output_scope", resource: r2.properties.variable.common.support.notSupportedOutputVariableScope }, this.REASON_NOT_SUPPORTED_FLOW_SECURE_VARIABLES = { code: "not_supported_no_flow_secure_variables", resource: r2.properties.variable.secure.support.notSupportedNoSecureVariables }, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_INPUT = { code: "not_supported_type_not_valid_as_flow_input", resource: r2.properties.variable.isInput.support.notSupportedTypeNotValidAsFlowInput }, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_OUTPUT = { code: "not_supported_type_not_valid_as_flow_output", resource: r2.properties.variable.isOutput.support.notSupportedTypeNotValidAsFlowOutput }, this.REASON_VARIABLE_CANNOT_BE_SECURE_INPUT = { code: "variable_cannot_be_secure_input", resource: r2.secureData.variableInputCannotBeSecure }, this.REASON_VARIABLE_CANNOT_BE_SECURE_OUTPUT = { code: "variable_cannot_be_secure_output", resource: r2.secureData.variableOutputWarning }, this.REASON_VARIABLE_READONLY = { code: "variable_read_only", resource: r2.properties.variable.common.variableIsReadOnly, additionalInfo: { isReadOnlyReason: true } }; + get isDestroyed() { + return this._isDestroyed; } - get className() { - return "VariablePropertyReasons"; + get parentFlow() { + var e3; + return null === (e3 = this.getExpressions()[0]) || void 0 === e3 ? void 0 : e3.parentFlow; } - setCannotSetIsSchemaInput(e3) { - return this._setReason(e3, this.REASON_CANNOT_SET_IS_SCHEMA_INPUT); + get parent() { + var e3; + return null === (e3 = this.getExpressions()[0]) || void 0 === e3 ? void 0 : e3.parent; } - setCannotSetIsSchemaInputOutput(e3) { - return this._setReason(e3, this.REASON_CANNOT_SET_IS_SCHEMA_INPUT_OUTPUT); + get hasError() { + return !!this.contents.find((e3) => e3.hasError); } - setCannotSetIsSchemaOutput(e3) { - return this._setReason(e3, this.REASON_CANNOT_SET_IS_SCHEMA_OUTPUT); + get hasWarning() { + return !!this.contents.find((e3) => e3.hasWarning); } - setNotSupportedNoFlowSecureVariables(e3, t3) { - return this._setReason(e3, this.REASON_NOT_SUPPORTED_FLOW_SECURE_VARIABLES, t3.info.flowTypeName); + initializeDesignTime() { + o.default.each(this.contents, (e3) => { + o.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(), e3.isNormalExpression && (e3.parentExpressionContainerItem = this); + }), this._initializeDesignTimeCalled = true; } - setNotSupportedInputVariableScope(e3, t3, i3) { - return this._setReason(e3, this.REASON_NOT_SUPPORTED_INPUT_VARIABLE_SCOPE, i3, t3.info.flowTypeName); + get initializeDesignTimeCalled() { + return this._initializeDesignTimeCalled; } - setNotSupportedOutputVariableScope(e3, t3, i3) { - return this._setReason(e3, this.REASON_NOT_SUPPORTED_OUTPUT_VARIABLE_SCOPE, i3, t3.info.flowTypeName); + search(e3) { + o.default.each(this.contents, (t3) => { + e3.addToQueue(t3); + }); } - setNotSupportedTypeNotValidAsFlowInput(e3, t3, i3) { - return this._setReason(e3, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_INPUT, i3.displayString, t3.info.flowTypeName); + updateDependencies() { + o.default.each(this.contents, (e3) => { + e3.isExpression && r.registerExpression(e3); + }); } - setNotSupportedTypeNotValidAsFlowOutput(e3, t3, i3) { - return this._setReason(e3, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_OUTPUT, i3.displayString, t3.info.flowTypeName); + validate(e3) { + o.default.each(this.contents, (t3) => { + o.default.isFunction(t3.validate) && t3.validate(e3); + }); } - setVariableCannotBeSecureInput(e3) { - return this._setReason(e3, this.REASON_VARIABLE_CANNOT_BE_SECURE_INPUT); + get contents() { + return console.error(`Class ${this.className} needs to implement the 'contents' getter.`), []; } - setVariableCannotBeSecureOutput(e3) { - return this._setReason(e3, this.REASON_VARIABLE_CANNOT_BE_SECURE_OUTPUT); + getExpressions() { + return this.contents.filter((e3) => e3.isExpression).flatMap((e3) => e3.getExpressions()); } - setVariableReadOnly(e3) { - return this._setReason(e3, this.REASON_VARIABLE_READONLY); + getContentExpressions() { + return this.contents.filter((e3) => e3.isExpression); } } - t2.variablePropertyReasons = new o(); - }, 44035: (e2, t2, i2) => { + t2.default = s; + }, 33923(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), 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); + const n2 = i2(31635).__importDefault(i2(51695)); + class o extends n2.default { + constructor(e3, t3) { + super(), this.model = e3, this.value = t3; } - loadConfiguration(e3) { - super.loadConfiguration(e3); + get contents() { + return [this.value]; } get id() { - return "emailSendSettings"; + return "eri-" + this.value.id; + } + get cardLabel() { } get className() { - return "EmailSendSettingsViewModel"; + return "ExpressionWithReferenceId"; } - get helpTopic() { - return d.helpTopics.treeNodes.emailSendSettings; + getConfiguration(e3, t3, i3) { + return (null == t3 ? void 0 : t3.isForFlowYaml) ? { value: this.value.getConfiguration(e3, t3, i3) } : this.model; } - get isEmailSendSettingsNode() { - return true; + get referenceId() { + return this.model.referenceId; } - get wrappedYamlName() { - return "settingsEmailSend"; + set referenceId(e3) { + this.model.referenceId = e3; } - get nodeGuxIcon() { - return "fa/gears-regular"; + get value() { + return this._value; } - getDisplayName() { - var e3; - return (null === (e3 = _.emailSendFlow) || void 0 === e3 ? void 0 : e3.emailSendSettingsTreeNodeLabel) || "Email Send"; + set value(e3) { + this._value = e3, this.model.value = this._value.model; } - 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(c.abortSend.message.minLength).setMaxLength(c.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "defaultAbortMessage", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: s.expressionTypeNames.string }]; + get label() { + return this.value.label; } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(); + set label(e3) { + this.value.label = e3; } } - t2.default = h; - }, 44051: (e2) => { - var t2, i2 = function(e3, t3) { - t3 || (t3 = new org.antlr.runtime.RecognizerSharedState()), function() { - }.call(this), this.dfa6 = new i2.DFA6(this), this.dfa9 = new i2.DFA9(this), i2.superclass.constructor.call(this, e3, t3); - }; - org.antlr.lang.augmentObject(i2, { EOF: -1, BOOL_TRUE: 4, BOOL_FALSE: 5, NOT_SET: 6, TERNARY_IF: 7, TERNARY_THEN: 8, OP_LOG_OR: 9, OP_LOG_AND: 10, OP_BIT_INCL_OR: 11, OP_BIT_AND: 12, OP_EQU: 13, OP_NEQ: 14, OP_GTE: 15, OP_LTE: 16, OP_GT: 17, OP_LT: 18, OP_PLUS: 19, OP_MINUS: 20, OP_MULT: 21, OP_DIV: 22, OP_MOD: 23, OP_POW: 24, WS: 25, OP_NOT: 26, OP_BIT_NOT: 27, PAREN_LEFT: 28, PAREN_RIGHT: 29, IDENTIFIER: 30, PERIOD: 31, UNQUOTED_STRING_LITERAL: 32, BRACKET_LEFT: 33, BRACKET_RIGHT: 34, FIELD_ACCESS_IDENTIFIER: 35, FIELD_ACCESS_STRING_LITERAL: 36, FIELD_ACCESS_UNQUOTED_STRING_LITERAL: 37, COMMA: 38, STRING_LITERAL: 39, BAD_ESCAPE_STRING_LITERAL: 40, INTEGER: 41, DECIMAL: 42, NON_SUPPORTED: 43, UNDERSCORE: 44, QUOTE: 45, BACKSLASH: 46, DOLLAR_SIGN: 47, DIGIT: 48, ECSCAPE_CHARS: 49, ESCAPE_SEQUENCE: 50, STRING_LITERAL_CONTENTS: 51, LETTER: 52 }), t2 = org.antlr.runtime.Token.HIDDEN_CHANNEL, org.antlr.runtime.Token.EOF, org.antlr.lang.extend(i2, org.antlr.runtime.Lexer, { EOF: -1, BOOL_TRUE: 4, BOOL_FALSE: 5, NOT_SET: 6, TERNARY_IF: 7, TERNARY_THEN: 8, OP_LOG_OR: 9, OP_LOG_AND: 10, OP_BIT_INCL_OR: 11, OP_BIT_AND: 12, OP_EQU: 13, OP_NEQ: 14, OP_GTE: 15, OP_LTE: 16, OP_GT: 17, OP_LT: 18, OP_PLUS: 19, OP_MINUS: 20, OP_MULT: 21, OP_DIV: 22, OP_MOD: 23, OP_POW: 24, WS: 25, OP_NOT: 26, OP_BIT_NOT: 27, PAREN_LEFT: 28, PAREN_RIGHT: 29, IDENTIFIER: 30, PERIOD: 31, UNQUOTED_STRING_LITERAL: 32, BRACKET_LEFT: 33, BRACKET_RIGHT: 34, FIELD_ACCESS_IDENTIFIER: 35, FIELD_ACCESS_STRING_LITERAL: 36, FIELD_ACCESS_UNQUOTED_STRING_LITERAL: 37, COMMA: 38, STRING_LITERAL: 39, BAD_ESCAPE_STRING_LITERAL: 40, INTEGER: 41, DECIMAL: 42, NON_SUPPORTED: 43, UNDERSCORE: 44, QUOTE: 45, BACKSLASH: 46, DOLLAR_SIGN: 47, DIGIT: 48, ECSCAPE_CHARS: 49, ESCAPE_SEQUENCE: 50, STRING_LITERAL_CONTENTS: 51, LETTER: 52, getGrammarFileName: function() { - return "/Users/bliang/genesys_src/architect/src/core/expressions/metadata/grammar/Architect.g"; - } }), org.antlr.lang.augmentObject(i2.prototype, { mBOOL_TRUE: function() { - try { - var e3 = this.BOOL_TRUE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("true"), this.state.type = e3, this.state.channel = t3; - } finally { + t2.default = o; + }, 3785(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(10231), r = n2.__importDefault(i2(51695)); + class a extends r.default { + constructor(e3, t3, i3, n3, o2) { + super(), this.model = e3, this.expression = t3, this.field = i3, this._rebuildValueExpression = o2, this.condition = n3, this.id = "ecpc-" + i3.id.replace(/\./g, "_"); } - }, mBOOL_FALSE: function() { - try { - var e3 = this.BOOL_FALSE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("false"), this.state.type = e3, this.state.channel = t3; - } finally { + get fieldId() { + return this.field.id; } - }, mNOT_SET: function() { - try { - var e3 = this.NOT_SET, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("NOT_SET"), this.state.type = e3, this.state.channel = t3; - } finally { + get condition() { + return this._condition; } - }, mOP_PLUS: function() { - try { - var e3 = this.OP_PLUS, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("+"), this.state.type = e3, this.state.channel = t3; - } finally { + set condition(e3) { + this._condition = e3, this.model.condition = e3.id, this.field.isCollection && this._handleCollectionCondition(), this.expression.outOfService = !e3.requiresValue; } - }, mOP_MULT: function() { - try { - var e3 = this.OP_MULT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("*"), this.state.type = e3, this.state.channel = t3; - } finally { + _handleCollectionCondition() { + const e3 = this.condition.requiresSingleItem ? this.field.valueType.singletonType : this.field.valueType; + this.expression.type !== e3 && (this.expression = this._rebuildValueExpression(e3), this.expression.initializeDesignTime()); } - }, mOP_DIV: function() { - try { - var e3 = this.OP_DIV, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("/"), this.state.type = e3, this.state.channel = t3; - } finally { + get contents() { + return [this.expression]; } - }, mOP_MINUS: function() { - try { - var e3 = this.OP_MINUS, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("-"), this.state.type = e3, this.state.channel = t3; - } finally { + get availableConditions() { + return (0, o.getAvailableConditionsForField)(this.field.isCollection); } - }, mOP_MOD: function() { - try { - var e3 = this.OP_MOD, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("%"), this.state.type = e3, this.state.channel = t3; - } finally { + getConfiguration(e3, t3, i3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = { field: this.fieldId, condition: this.condition.id }; + return this.condition.requiresValue && !this.expression.outOfService && (n3.value = this.expression.getConfiguration(e3, t3, i3)), n3; + } + return this.model; } - }, mOP_POW: function() { - try { - var e3 = this.OP_POW, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("^"), this.state.type = e3, this.state.channel = t3; - } finally { + get cardLabel() { + return this.fieldId; } - }, mOP_NOT: function() { - try { - var e3 = this.OP_NOT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("!"), this.state.type = e3, this.state.channel = t3; - } finally { + get cardSubLabel() { + return `contact.${this.fieldId}`; } - }, mOP_EQU: function() { - try { - var e3 = this.OP_EQU, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("=="), this.state.type = e3, this.state.channel = t3; - } finally { + get className() { + return "ExternalContactPatchChangeItemViewModel"; } - }, mOP_NEQ: function() { - try { - var e3 = this.OP_NEQ, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("!="), this.state.type = e3, this.state.channel = t3; - } finally { + get isExternalContactPatchChangeItemViewModel() { + return true; } - }, mOP_GT: function() { - try { - var e3 = this.OP_GT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match(">"), this.state.type = e3, this.state.channel = t3; - } finally { + } + t2.default = a; + }, 45623(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(51695)); + class a extends r.default { + constructor(e3, t3, i3) { + super(), this.model = e3, this.name = t3, this.expression = i3; } - }, mOP_GTE: function() { - try { - var e3 = this.OP_GTE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match(">="), this.state.type = e3, this.state.channel = t3; - } finally { + get id() { + return "nvp-" + this.name.id; } - }, mOP_LT: function() { - try { - var e3 = this.OP_LT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("<"), this.state.type = e3, this.state.channel = t3; - } finally { + get contents() { + return [this.name, this.expression]; } - }, mOP_LTE: function() { - try { - var e3 = this.OP_LTE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("<="), this.state.type = e3, this.state.channel = t3; - } finally { + get className() { + return "NameValuePairViewModel"; } - }, mOP_LOG_AND: function() { - try { - var e3 = this.OP_LOG_AND, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - if ("A" != this.input.LA(1) && "a" != this.input.LA(1)) { - var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(i3), i3; + getConfiguration(e3, t3, i3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = { name: this.name.getConfiguration(e3, t3) }, r2 = this.expression.getConfiguration(e3, t3); + return (null == i3 ? void 0 : i3.nameValuePairShouldUseVariableProperty) ? n3.variable = o.default.getFirstPropertyValueInObj(r2) : n3.value = r2, n3; } - if (this.input.consume(), "N" != this.input.LA(1) && "n" != this.input.LA(1)) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; - if (this.input.consume(), "D" != this.input.LA(1) && "d" != this.input.LA(1)) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; - this.input.consume(), this.state.type = e3, this.state.channel = t3; - } finally { + return this.model; } - }, mOP_LOG_OR: function() { - try { - var e3 = this.OP_LOG_OR, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - if ("O" != this.input.LA(1) && "o" != this.input.LA(1)) { - var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(i3), i3; - } - if (this.input.consume(), "R" != this.input.LA(1) && "r" != this.input.LA(1)) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; - this.input.consume(), this.state.type = e3, this.state.channel = t3; - } finally { + get isNameValuePairViewModel() { + return true; } - }, mOP_BIT_AND: function() { - try { - var e3 = this.OP_BIT_AND, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("&"), this.state.type = e3, this.state.channel = t3; - } finally { + } + t2.default = a; + }, 11877(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(51695)); + class a extends r.default { + constructor(e3, t3) { + super(), this.model = e3, this.skill = t3; } - }, mOP_BIT_INCL_OR: function() { - try { - var e3 = this.OP_BIT_INCL_OR, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("|"), this.state.type = e3, this.state.channel = t3; - } finally { + getConfiguration(e3, t3) { + return (null == t3 ? void 0 : t3.isForFlowYaml) ? o.default.tryWrapObject(this.skill.getConfiguration(e3, t3), "acdSkill") : this.model; } - }, mOP_BIT_NOT: function() { - try { - var e3 = this.OP_BIT_NOT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("~"), this.state.type = e3, this.state.channel = t3; - } finally { + get contents() { + return [this.skill]; } - }, mBRACKET_LEFT: function() { - try { - var e3 = this.BRACKET_LEFT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("["), this.state.type = e3, this.state.channel = t3; - } finally { + get className() { + return "SkillValuePairViewModel"; } - }, mBRACKET_RIGHT: function() { - try { - var e3 = this.BRACKET_RIGHT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("]"), this.state.type = e3, this.state.channel = t3; - } finally { + get isSkillValuePairViewModel() { + return true; } - }, mTERNARY_IF: function() { - try { - var e3 = this.TERNARY_IF, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("?"), this.state.type = e3, this.state.channel = t3; - } finally { + get id() { + return "skill-" + this.skill.id; } - }, mTERNARY_THEN: function() { - try { - var e3 = this.TERNARY_THEN, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match(":"), this.state.type = e3, this.state.channel = t3; - } finally { + get cardLabel() { + return this.skill.label; } - }, mPAREN_LEFT: function() { - try { - var e3 = this.PAREN_LEFT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("("), this.state.type = e3, this.state.channel = t3; - } finally { + } + t2.default = a; + }, 39776(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(51695)); + class a extends r.default { + constructor(e3, t3, i3) { + super(), this.model = e3, this.variable = t3, this.expression = i3; } - }, mPAREN_RIGHT: function() { - try { - var e3 = this.PAREN_RIGHT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match(")"), this.state.type = e3, this.state.channel = t3; - } finally { + get contents() { + return [this.variable, this.expression]; } - }, mPERIOD: function() { - try { - var e3 = this.PERIOD, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match("."), this.state.type = e3, this.state.channel = t3; - } finally { + get id() { + return "vvp-" + this.variable.id; } - }, mUNDERSCORE: function() { - try { - this.match("_"); - } finally { + get className() { + return "VariableValuePairViewModel"; } - }, mCOMMA: function() { - try { - var e3 = this.COMMA, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.match(","), this.state.type = e3, this.state.channel = t3; - } finally { + get isVariableValuePairViewModel() { + return true; } - }, mQUOTE: function() { - try { - this.match('"'); - } finally { + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const i3 = { variable: o.default.getFirstPropertyValueInObj(this.variable.getConfiguration(e3, t3)) }; + return i3.value = this.expression.getConfiguration(e3, t3), this.expression.type.addYamlExportTypeInfo(i3), o.default.tryWrapObject(i3, this.variable.type.yamlTypeName); + } + return this.model; } - }, mBACKSLASH: function() { - try { - this.match("\\"); - } finally { + } + t2.default = a; + }, 58801(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.DataResult = t2.FuncOpCollection = t2.FuncOpCategory = void 0, t2.createDataResult = function(e3, t3, i3, n3, o2) { + return new l(e3, t3, i3, n3, o2); + }, t2.createFuncOp = function(e3, t3, i3, o2, r2) { + return new n2.ExpressionFuncOp(e3, t3, i3, o2, r2); + }, t2.createFuncOpCategory = function(e3, t3, i3) { + return new a(e3, t3, i3); + }, t2.createFuncOpCollection = function(e3) { + return new s(e3); + }, t2.createFuncOpOverload = function(e3, t3, i3, n3, r2, a2, s2, l2) { + return new o.FuncOpOverload(e3, t3, i3, n3, r2, a2, s2, l2); + }, t2.createOperand = function(e3, t3, i3) { + return new r.Operand(e3, t3, i3); + }; + const n2 = i2(73646), o = i2(53614), r = i2(25632); + class a { + constructor(e3, t3, i3) { + this.identifier = e3.identifier, this.name = t3, this.description = i3; } - }, mDOLLAR_SIGN: function() { - try { - this.match("$"); - } finally { + } + t2.FuncOpCategory = a; + class s { + constructor(e3) { + this.functions = [], this.funcCategory = e3; } - }, mDIGIT: function() { - try { - this.matchRange("0", "9"); - } finally { + } + t2.FuncOpCollection = s; + class l { + constructor(e3, t3, i3, n3, o2) { + this.success = e3, this.result = t3, this.error = i3, this.position = n3, this.operand = o2; } - }, mINTEGER: function() { - try { - var e3 = this.INTEGER, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, i3 = 0; - e: for (; ; ) { - var n2 = 2, r2 = this.input.LA(1); - if (r2 >= "0" && r2 <= "9" && (n2 = 1), 1 !== n2) { - if (i3 >= 1) break e; - throw new org.antlr.runtime.EarlyExitException(1, this.input); + } + t2.DataResult = l; + }, 44076(e2, t2, i2) { + "use strict"; + t2.parseExpression = function(e3) { + if (e3.expression.isBlank) { + if (e3.expression.consumesSecureData = false, e3.expression.options.isOptional) { + const t4 = e3.expression; + if (!e3.expression.type.isMatch(y.globalTypes.audio, f.settings.exact) || t4.isNoValueMode || t4.options.allowBlankAudio) { + if (t4.isNoValueMode || !t4.shouldBeNoValue) { + 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, R.expression.notSet), void (e3.success = false); } - this.mDIGIT(), i3++; + return x(e3, R.audio.blankAudioExpression), void (e3.success = false); } - this.state.type = e3, this.state.channel = t3; - } finally { + return e3.success = false, void x(e3, R.expression.notSet); } - }, mDECIMAL: function() { + if (e3.expression.text && e3.expression.text.length > e3._maxExpressionSize) return e3.expression.consumesSecureData = false, void x(e3, (0, r.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 w(i4); + return n4.displayRecognitionError = function(i5, n5) { + U(e4, t4); + }, n4; + })(i3, e3._lineExtents); try { - var e3 = this.DECIMAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, i3 = 2, n2 = this.input.LA(1); - if (n2 >= "0" && n2 <= "9") i3 = 1; - else { - if ("." != n2) throw new org.antlr.runtime.NoViableAltException("", 3, 0, this.input); - i3 = 2; - } - switch (i3) { - case 1: - this.mINTEGER(), this.mPERIOD(); - var r2 = 2, o = this.input.LA(1); - o >= "0" && o <= "9" && (r2 = 1), 1 === r2 && this.mINTEGER(); + e3.success = (function(e4, t4, i4, n4) { + var o2, l2, u2; + !(function(e5, t5) { + if (e5._lineExtents.length = 0, t5) { + const i5 = t5.split("\n"); + if (1 === i5.length) e5._lineExtents[1] = 0; + else { + let t6 = 0; + for (let n5 = 0; n5 < i5.length; n5++) e5._lineExtents[n5 + 1] = t6, i5[n5] && (t6 += i5[n5].length), t6++; + } + } + })(e4, t4); + 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); + })(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, r.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, r.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 === (o2 = e4.expression.options) || void 0 === o2 ? void 0 : o2.exprTextMustBeVarOrVarPropRef) if (e4.expression.options.exprTextRootVariableNameMustBe) { + if (!e4.resultExpression.getIsNamedVariableRef(e4.expression.options.exprTextRootVariableNameMustBe)) return x(e4, (0, r.sprintf)(R.expression.mustReferenceVariable, e4.expression.options.exprTextRootVariableNameMustBe)), false; + } else { + 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, r.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, r.sprintf)(R.expression.variableIsReadOnly, e4.expression.text)), false; + if (!(function(e5) { + const t5 = e5.expression.type; + if (!t5 || !e5.resultExpression) return true; + if (e5.resultExpression.type.isMatch(t5, f.settings.exact)) { + if (e5.resultExpression.isLit && e5.expression.options && e5.expression.options.literalValidatorName) { + const t6 = m.expressionDataService._validateLiteralWithProvider(e5.expression.options.literalValidatorName, e5.resultExpression, e5.expression); + if (t6.parameterErrorStr) return x(e5, t6.parameterErrorStr), false; + } + return true; + } + 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, r.sprintf)(R.expression.cannotConvertInputTypeWithFunction, n5.displayString, t5.displayString, i5.getTextWithFuncOpTextFallback())) : g.expressionItems.isCollectionCreatableFromMakeList(e5.resultExpression, t5) ? x(e5, (0, r.sprintf)(R.expression.suggestMakeListForCollectionCreation, e5.resultExpression.type.displayString, t5.displayString, e5.resultExpression.text)) : x(e5, (0, r.sprintf)(R.expression.cannotConvertInputType, e5.resultExpression.type.displayString, t5.displayString)), false) : (L(e5, (0, r.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, 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; + t5.isWarning && k(e4, t5.message); + } + return (function(e5) { + if (e5.languages.length < 1 || !e5.expression.options || !e5.expression.options.durationFacets || !e5.metaData || !e5.metaData.references) return true; + a.default.find(e5.metaData.references, function(t5) { + if (y.globalTypes.prompt.dataType === t5.type) { + const i5 = h.checkPromptAudioDuration(e5.expression, t5.id); + if (i5) return k(e5, i5), true; + } + }); + })(e4), (function(e5) { + let t5 = true; + if (e5.resultExpression && e5.resultExpression.ToAudioBlank) { + const i5 = e5.resultExpression.getOperands(); + if (i5 && 1 === i5.length && i5[0].lit) { + const n5 = i5[0].lit, o3 = parseInt(n5.text); + if (a.default.isActualNumber(o3)) { + const i6 = h.checkBlankAudioLength(e5.expression, o3); + i6 && (t5 = false, k(e5, i6)); + } + } + } + })(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, R.expression.internalErrorExpression); + } + !(function(e4, t4) { + e4.displayRecognitionError = null, t4.displayRecognitionError = null; + })(i3, n3); + }; + const n2 = i2(31635), o = (0, i2(24032).getTopic)("parsedExpression"), r = 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), I = i2(19819), C = i2(19502), O = i2(88276), b = i2(4059), E = i2(44051), w = i2(36470), R = i2(47957); + function D(e3, t3, i3) { + t3.getOperands().push(i3); + } + function P(e3, t3, i3, n3) { + t3.getOperands().push(n3), i3.push(n3); + } + function M(e3) { + return e3.resultType === A.ParseResultTypes.error && e3.resultMessage; + } + function F(e3, t3, i3, n3, o2, r2, a2) { + e3.resultType = t3, e3.resultMessage = i3, e3.resultPosition = n3 > 0 ? n3 - 1 : -1, e3.resultReference = o2, e3.resultHelpTopic = r2, e3.errorBreaksStandardModeParsing = a2; + } + function L(e3, t3, i3, n3, o2) { + switch (e3.resultType) { + case A.ParseResultTypes.error: + case A.ParseResultTypes.warn: + break; + default: + F(e3, A.ParseResultTypes.info, t3, i3, n3, o2); + } + } + function x(e3, t3, i3, n3, o2, r2) { + F(e3, A.ParseResultTypes.error, t3, i3, n3, o2, r2); + } + function k(e3, t3, i3, n3, o2) { + F(e3, A.ParseResultTypes.warn, t3, i3, n3, o2); + } + function V(e3, t3) { + return x(e3, (0, r.sprintf)(R.expression.errorAtPosition, t3), t3, null, null, true), false; + } + function U(e3, t3) { + return e3 ? t3[e3.getLine()] + e3.getCharPositionInLine() + 1 : -1; + } + function B(e3, t3) { + return e3 ? t3[e3.line] + e3.charPositionInLine + 1 : -1; + } + function G(e3, t3) { + if (1 === t3.getChildCount()) { + const i3 = t3.getChild(0), n3 = (0 === parseFloat(i3.getText()) ? "" : "-") + i3.getText(), o2 = B(t3.token, e3._lineExtents); + switch (i3.getType()) { + case E.INTEGER: + if (g.expressionItems.checkIntStr(n3)) return g.expressionItems.literal(o2, n3, y.globalTypes.integer); + x(e3, (0, r.sprintf)(R.expression.intValueLessThanMin, n3, o2, _.default.minInt), o2); break; - case 2: - this.mPERIOD(), this.mINTEGER(); + case E.DECIMAL: + if (g.expressionItems.checkDecimalStr(n3)) return g.expressionItems.literal(o2, n3, y.globalTypes.decimal); + x(e3, (0, r.sprintf)(R.expression.decimalValueTooMuchPrecision, n3, o2, _.default.maxPrecision), o2); + } + } + return null; + } + function j(e3, t3, i3, n3, o2) { + if (n3.isUnavailable) return x(e3, (0, r.sprintf)(R.expression.unavailablePropertyInExprText, (0, r.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, o3) { + if (0 === e4._languagesSnapshot.length) return true; + if (e4.expression && e4.expression.parentFlow && e4.expression.parentFlow.isNluFlow) return true; + const s2 = a.default.filter(e4._languagesSnapshot, function(e5) { + return !e5.supportedLanguageContexts || !e5.supportedLanguageContexts[n4.id]; + }); + if (s2.length > 0) { + 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, r.sprintf)(l2, t4 || n4.name, t4 ? i4 : o3, u2), t4 ? i4 : o3), false; } - this.state.type = e3, this.state.channel = t3; - } finally { + return true; + })(e3, t3, i3, n3, o2); + throw (0, r.sprintf)("Unsupported property usage validation '%1$s' so usage cannot be validated and expression will be treated in error.", n3.usageValidation); + } + function q(e3) { + e3.pop(); + } + function W(e3, t3, i3) { + var n3, s2; + const l2 = t3.length; + if (!t3 || l2 < 2) return null; + 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, r.sprintf)(R.expression.variableReferenceNotValidInvalidType, (0, r.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, r.sprintf)(R.expression.unavailableVariableInExprText, (0, r.sprintf)(R.expression.functions.funcOpPosPrefix, d2, i3)), i3), null; + if (_2.isSecure && e3.expression.options && !e3.expression.options.allowSecure) return x(e3, (0, r.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(d2) && L(e3, (0, r.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: ${c.getListDisplayString(t4, false, true)}`, i3), null; } - }, mECSCAPE_CHARS: function() { - try { - if ('"' != this.input.LA(1) && "\\" != this.input.LA(1) && "n" != this.input.LA(1) && "r" != this.input.LA(1) && "t" != this.input.LA(1)) { - var e3 = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(e3), e3; + if ((null === (s2 = e3.expression.options) || void 0 === s2 ? void 0 : s2.validVariableReferenceCallback) && !e3.expression.options.validVariableReferenceCallback(_2, e3.expression)) return x(e3, (0, r.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, r.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], r2 = n4.getText(), s3 = B(n4.token, e3._lineExtents), c2 = g.expressionItems.fieldAccess(s3), p2 = r2.substring(1, r2.length), _3 = m2.type.getPropertyDefinition(p2, true); + if (!_3) return null; + if (d2 += r2, !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; + let e4, n5 = t3[0].getText(); + for (let e5 = 1; e5 <= T2; e5++) n5 += t3[e5].getText(); + 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(v, function(e5) { + return e5.id = f2.valueToResolve; + }); + A2 && (e4 = g.expressionItems.stringLiteral(i3, A2.id, y.globalTypes.string)); + break; + case S.propertyToLiteralResolverNames.propIDToCountryCode: + var N2 = u.countryCodes[f2.valueToResolve]; + N2 && (e4 = g.expressionItems.stringLiteral(i3, N2, y.globalTypes.string)); + break; + case S.propertyToLiteralResolverNames.propIDToCurrencyCode: + var E2 = C[f2.valueToResolve]; + E2 && (e4 = g.expressionItems.stringLiteral(i3, E2.code, y.globalTypes.string)); + break; + case S.propertyToLiteralResolverNames.propIDToDialingCode: + 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]; + P2 && (e4 = g.expressionItems.stringLiteral(i3, P2.id ? P2.id.toLowerCase() : P2.id, y.globalTypes.string)); + break; + case S.propertyToLiteralResolverNames.propIDToSendResponseBodyType: + var M2 = a.default.find(O, function(e5) { + return e5.id = f2.valueToResolve; + }); + M2 && (e4 = g.expressionItems.stringLiteral(i3, M2.id, y.globalTypes.string)); + break; + case S.propertyToLiteralResolverNames.propIDToSurveyDisposition: + var F2 = a.default.find(b, function(e5) { + return e5.id = f2.valueToResolve; + }); + F2 && (e4 = g.expressionItems.stringLiteral(i3, F2.id, y.globalTypes.string)); + } + return e4 ? (e4.addAdditionalProperties({ resolvedProperty: n5 }), e4) : (o.error("Internal error - the '" + f2.resolver + "' resolver could not resolve the value '" + f2.valueToResolve + "'"), null); } - this.input.consume(); - } finally { + 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++; } - }, mESCAPE_SEQUENCE: function() { - try { - this.mBACKSLASH(), this.mECSCAPE_CHARS(); - } finally { + return m2; + } + function Y(e3, t3, i3, n3, o2) { + i3.setContainerExpressionMetaData(t3); + const s2 = i3.getOperands(); + if (!s2) return true; + if (!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; } - }, mSTRING_LITERAL_CONTENTS: function() { - try { - var e3 = 2, t3 = this.input.LA(1); - if ("\\" == t3) e3 = 1; - else { - if (!(t3 >= "\0" && t3 <= "!" || t3 >= "#" && t3 <= "[" || t3 >= "]" && t3 <= "\uFFFF")) throw new org.antlr.runtime.NoViableAltException("", 4, 0, this.input); - e3 = 2; - } - switch (e3) { - case 1: - this.mESCAPE_SEQUENCE(); - break; - case 2: - if (!(this.input.LA(1) >= "\0" && this.input.LA(1) <= "!" || this.input.LA(1) >= "#" && this.input.LA(1) <= "[" || this.input.LA(1) >= "]" && this.input.LA(1) <= "\uFFFF")) { - var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(i3), i3; + if (e3 > t3._maxCallStack) return x(t3, (0, r.sprintf)(R.expression.tooManyNestedCalls, (0, r.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 d2 = u2.result; + if (d2.mustBeLastOperationOrFunction && !o2) return x(t3, (0, r.sprintf)(R.expression.functions.mustBeLastOperation, (0, r.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 o3 = a.default.difference(n4, a.default.values(d2.supportedFlowTypes)); + o3.length && L(t3, (0, r.sprintf)(R.commonModule.notAvailableInFlowTypes, c.getFlowTypesDisplayString(o3)), i3.position); + } else n4 = e4.destinationFlowTypes; + for (let e5 = 0; e5 < n4.length; e5++) { + const o3 = n4[e5]; + if (!d2.supportedFlowTypes[o3]) { + let e6; + const n5 = (0, r.sprintf)(R.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position); + switch (s2.length) { + case 0: + e6 = (0, r.sprintf)(R.expression.functions.notAvailableInFlowTypeNoParm, n5, l.default.getFlowTypeDisplayName(o3)); + break; + case 1: + e6 = (0, r.sprintf)(R.expression.functions.notAvailableInFlowTypeOneParm, n5, c.getOperandListDisplayString(s2), l.default.getFlowTypeDisplayName(o3)); + break; + default: + e6 = (0, r.sprintf)(R.expression.functions.notAvailableInFlowTypeMoreThanOneParm, n5, c.getOperandListDisplayString(s2), l.default.getFlowTypeDisplayName(o3)); } - this.input.consume(); + return x(t3, e6, i3.position, i3.getTextWithFuncOpTextFallback()), false; + } } - } finally { } - }, mUNQUOTED_STRING_LITERAL: function() { - try { - var e3 = this.UNQUOTED_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.mQUOTE(); - e: for (; ; ) { - var i3 = 2, n2 = this.input.LA(1); - if ((n2 >= "\0" && n2 <= "!" || n2 >= "#" && n2 <= "\uFFFF") && (i3 = 1), 1 !== i3) break e; - this.mSTRING_LITERAL_CONTENTS(); - } - this.state.type = e3, this.state.channel = t3; - } finally { + if (d2.maxOperands) { + const e4 = i3.getOperands(); + if (e4 && e4.length > d2.maxOperands) return x(t3, (0, r.sprintf)(R.expression.functions.maxOperandsExceeded, (0, r.sprintf)(R.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position), d2.maxOperands), i3.position, i3.getTextWithFuncOpTextFallback()), false; } - }, mSTRING_LITERAL: function() { - try { - var e3 = this.STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.mUNQUOTED_STRING_LITERAL(), this.mQUOTE(), this.state.type = e3, this.state.channel = t3; - } finally { + let p2, _2; + 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, r.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); } - }, mBAD_ESCAPE_STRING_LITERAL: function() { - try { - var e3 = this.BAD_ESCAPE_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - switch (this.mBACKSLASH(), this.dfa6.predict(this.input)) { - case 1: - this.mSTRING_LITERAL(); + 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 o2 = t3.getType(); + if (o2 === w.EOF) return true; + const a2 = B(t3.token, e3._lineExtents); + let s2 = t3.getText(); + switch (o2) { + case 0: + case w.UP: + case w.DOWN: + case w.COMMA: + break; + case w.IDENTIFIER: + var l2 = m.expressionDataService.getRegisteredFuncOpsByText(s2); + if (l2 && l2.length > 0) { + const o3 = l2[0]; + if (o3.isUnavailable) return x(e3, (0, r.sprintf)(R.expression.functions.unavailableFunctionDueToImplementationToggles, (0, r.sprintf)(R.expression.functions.funcOpPosPrefix, s2, a2)), a2, s2), false; + if (0 === t3.getChildCount()) return x(e3, (0, r.sprintf)(R.expression.functions.functionMustBeCalledWithParens, (0, r.sprintf)(R.expression.functions.funcOpPosPrefix, s2, a2), s2), a2, s2), false; + P(e3._rootItem, n3, i3, g.expressionItems.funcOp(a2, o3.text, s2)); break; - case 2: - this.mUNQUOTED_STRING_LITERAL(); - } - this.state.type = e3, this.state.channel = t3; - } finally { + } + return x(e3, (0, r.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 w.UNQUOTED_STRING_LITERAL: + case w.FIELD_ACCESS_UNQUOTED_STRING_LITERAL: + return x(e3, (0, r.sprintf)(R.expression.missingEndQuoteAtPosition, a2), a2), false; + case w.BAD_ESCAPE_STRING_LITERAL: + return x(e3, (0, r.sprintf)(R.expression.invalidEscape, a2), a2), false; + case w.PERIOD: + return x(e3, (0, r.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 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 w.TERNARY_THEN: + break; + case w.INTEGER: + if (!g.expressionItems.checkIntStr(s2)) return x(e3, (0, r.sprintf)(R.expression.intValueGreaterThanMax, s2, a2, _.default.maxInt), a2), false; + D(e3._rootItem, n3, g.expressionItems.literal(a2, s2, y.globalTypes.integer)); + break; + case w.DECIMAL: + if (!g.expressionItems.checkDecimalStr(s2)) return x(e3, (0, r.sprintf)(R.expression.decimalValueTooMuchPrecision, s2, a2, _.default.maxPrecision), a2), false; + D(e3._rootItem, n3, g.expressionItems.literal(a2, s2, y.globalTypes.decimal)); + break; + 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 w.BOOL_TRUE: + case w.BOOL_FALSE: + D(e3._rootItem, n3, g.expressionItems.literal(a2, s2, y.globalTypes.boolean)); + break; + case w.NOT_SET: + D(e3._rootItem, n3, g.expressionItems.nul(a2)); + break; + case w.PAREN_LEFT: + e3._parens.push(a2); + break; + case w.PAREN_RIGHT: + if (0 === e3._parens.length) return x(e3, (0, r.sprintf)(R.expression.missingOpenParenAtPosition, a2), a2), false; + e3._parens.pop(); + break; + case w.BRACKET_LEFT: + e3._brackets.push(a2), P(e3._rootItem, n3, i3, g.expressionItems.op(a2, s2)); + break; + case w.BRACKET_RIGHT: + if (0 === e3._brackets.length) return x(e3, (0, r.sprintf)(R.expression.missingOpenBracketAtPosition, a2), a2), false; + e3._brackets.pop(); + break; + default: + return x(e3, (0, r.sprintf)(R.expression.invalidInputAtPosition, a2), a2), false; } - }, mLETTER: function() { - try { - if (!(this.input.LA(1) >= "A" && this.input.LA(1) <= "Z" || this.input.LA(1) >= "a" && this.input.LA(1) <= "z" || this.input.LA(1) >= "\xC0" && this.input.LA(1) <= "\xD6" || this.input.LA(1) >= "\xD8" && this.input.LA(1) <= "\xF6" || this.input.LA(1) >= "\xF8" && this.input.LA(1) <= "\u1FFF" || this.input.LA(1) >= "\u3040" && this.input.LA(1) <= "\u318F" || this.input.LA(1) >= "\u3300" && this.input.LA(1) <= "\u337F" || this.input.LA(1) >= "\u3400" && this.input.LA(1) <= "\u3D2D" || this.input.LA(1) >= "\u4E00" && this.input.LA(1) <= "\u9FFF" || this.input.LA(1) >= "\uF900" && this.input.LA(1) <= "\uFAFF" || this.input.LA(1) >= "\uFF00" && this.input.LA(1) <= "\uFFEF")) { - var e3 = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(e3), e3; + return true; + } + function J(e3, t3, i3, n3) { + if (!t3) return true; + 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; + } + return !(n3 && !H(e3, t3, i3)) && (function(e4, t4, i4) { + const n4 = t4.getChildCount(); + if (0 === n4) return true; + for (let s3 = 0; s3 < n4; s3++) { + let l2 = null; + const u2 = t4.getChild(s3), c2 = B(u2.token, e4._lineExtents); + let d2, p2; + switch (u2.getType()) { + case w.IDENTIFIER: + var o2 = false; + if (p2 = u2.getText(), !m.expressionDataService.getRegisteredFuncOpsByText(p2)) { + for (d2 = [u2]; s3 + 1 < n4; ) { + const e5 = t4.getChild(s3 + 1); + if ((e5.children || e5.getType() !== w.FIELD_ACCESS_IDENTIFIER) && e5.getType() !== w.FIELD_ACCESS_STRING_LITERAL) break; + o2 = true, s3++, p2 += e5.getText(), d2.push(e5); + } + if (o2 && (l2 = W(e4, d2, c2), !l2)) return M(e4) || x(e4, (0, r.sprintf)(R.expression.variableReferenceNotValid, p2.trimForDisplay(), c2), c2), false; + } + break; + 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() === 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() !== w.FIELD_ACCESS_IDENTIFIER && e5.getType() !== w.FIELD_ACCESS_STRING_LITERAL) break; + s3++, p2 = t4.getChild(s3).getText(), d2.push(e5); + } + if (l2 = W(e4, d2, c2), !l2) return M(e4) || x(e4, (0, r.sprintf)(R.expression.variableReferenceNotValid, p2.trimForDisplay(), c2), c2), false; + const o3 = i4[i4.length - 1]; + D(e4._rootItem, o3, l2); + } else if (!J(e4, t4.getChild(s3), i4, true)) return false; + i4[i4.length - 1].isBracketAccess && q(i4); + } + continue; + } + if (l2) D(e4._rootItem, i4[i4.length - 1], l2); + else if (!J(e4, u2, i4, true)) return false; + } + const s2 = () => !!i4.length && i4[i4.length - 1].isBracketArrayOrPropAccess; + if (s2()) do { + q(i4); + } while (s2()); + else q(i4); + return true; + })(e3, t3, i3); + } + }, 33577(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAgenticVirtualAgents = l, t2.getAgenticVirtualAgent = u, t2.getAgenticVirtualAgentVersion = c; + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = n2.__importDefault(i2(4648)), a = n2.__importDefault(i2(36019)), s = n2.__importStar(i2(39424)); + function l(e3) { + const t3 = o.isFeatureAvailable(r.default.botFlowsAgenticVirtualAgentPublicAPI) ? s.getAgenticVirtualAgents : s.getAgenticVirtualAgentsViaApps; + return a.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); + } + function u(e3) { + const t3 = { agenticVirtualAgentId: e3 }, i3 = o.isFeatureAvailable(r.default.botFlowsAgenticVirtualAgentPublicAPI) ? s.getAgenticVirtualAgent : s.getAgenticVirtualAgentViaApps; + return a.default.build(i3).templateParams(t3).call(); + } + function c(e3, t3) { + const i3 = { agenticVirtualAgentId: e3, agenticVirtualAgentVersionId: null == t3 ? void 0 : t3.version }, n3 = o.isFeatureAvailable(r.default.botFlowsAgenticVirtualAgentPublicAPI) ? s.getAgenticVirtualAgentVersion : s.getAgenticVirtualAgentVersionViaApps; + return a.default.build(n3).templateParams(i3).call(); + } + l.api = s.getAgenticVirtualAgents, u.api = s.getAgenticVirtualAgent, c.api = s.getAgenticVirtualAgentVersion; + }, 21270(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAudioConnectorBots = l, t2.getAudioConnectorBot = u; + const n2 = i2(31635), o = n2.__importStar(i2(24032)), r = n2.__importStar(i2(33067)), a = n2.__importDefault(i2(36019)), s = o.getTopic("audioConnectorApi"); + function l() { + return n2.__awaiter(this, void 0, void 0, function* () { + try { + const e3 = a.default.build(r.getAudioConnectorBots); + return yield e3.call(); + } catch (e3) { + throw s.exception(e3, "Error fetching audio connector bots:"), new Error("Failed to fetch audio connector bots."); + } + }); + } + function u(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!e3) throw s.error("Invalid getAudioConnectorBot request parameters"), new Error("Invalid getAudioConnectorBot request parameters"); + const t3 = { integrationId: e3 }, i3 = a.default.build(r.getAudioConnectorBot).templateParams(t3); + return yield i3.call(); + }); + } + l.api = r.getAudioConnectorBots, u.api = r.getAudioConnectorBot; + }, 71956(e2, t2, i2) { + "use strict"; + t2.getBootstrappingDataV2 = function(e3) { + const t3 = r.default.build(a.getBootstrappingDataV2); + return t3.queryParams({ expand: e3 }), t3.call(); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(83735)), r = n2.__importDefault(i2(36019)), a = { getBootstrappingDataV2: r.default.request("GET", "{public-api.apps}/api/v2/architect/capabilities", o.default, { ignoreBadResponse: false }) }; + }, 80911(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getBotConnectorBots = _, t2.getBotConnectorBotVersions = h, t2.getBotConnectorBotVersion = m, t2.getBotConnectorBot = g, t2.ensureCorrectVersionProperties = f; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = {}; + function _(e3) { + const t3 = e3.additionalParams.integrationId, i3 = e3.getSearchQueryParams(true); + return s.default.build(u.getBotConnectorBots).templateParams({ integrationId: t3 }).queryParams(i3).call().then((e4) => (o.default.each(e4.entities, (e5) => { + e5.setParentContextInfo(t3); + }), e4)); + } + function h(e3) { + const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; + if (!t3 || !t3.botId || !t3.integrationId) return; + const i3 = e3.getSearchQueryParams(true); + return s.default.build(u.getBotConnectorBotVersions).templateParams({ botId: t3.botId, integrationId: t3.integrationId }).queryParams(i3).call().then(function(t4) { + return o.default.each(t4.entities, function(t5) { + t5.setParentContextInfo(e3.additionalParams.integrationId); + }), t4; + }); + } + function m(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; + if (!i3 || !i3.botId || !i3.integrationId) return; + const n3 = { version: e3 }, r2 = s.default.build(u.getBotConnectorBot).templateParams({ botId: i3.botId, integrationId: i3.integrationId }).queryParams(n3), a2 = yield r2.call(); + return o.default.find(a2.versions, (t4) => { + if (t4.version === e3) return f(t4, a2.name, i3.botId, i3.integrationId); + }); + }); + } + function g(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; + if (!i3 || !i3.integrationId) return; + const n3 = { botId: e3, integrationId: i3.integrationId }, o2 = s.default.build(u.getBotConnectorBot).templateParams(n3), r2 = yield o2.call(); + return r2 && r2.setParentContextInfo(i3.integrationId), r2; + }); + } + function f(e3, t3, i3, n3) { + if (!o.default.isObject(e3)) return; + const r2 = e3; + return t3 && (r2.name = t3), r2.id = i3, r2.version = e3.version, r2.setParentContextInfo(n3), r2.isFromAdsValidationResults = false, o.default.each(e3.intents, (e4) => { + o.default.each(null == e4 ? void 0 : e4.slots, (e5) => { + var t4; + if (o.default.isString(null == e5 ? void 0 : e5.type)) { + if (e5.archDataTypeId = p[e5.type], !e5.archDataTypeId && e5.type === l.jsonSchemaTypeNames.array && (null === (t4 = e5.items) || void 0 === t4 ? void 0 : t4.type) && (e5.archDataTypeId = p[e5.items.type]), o.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, -10); + e5.archDataTypeId = p[t5], o.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 c.error("missing type for slot"); + }); + }), r2; + } + o.default.each(["boolean", "currency", "dateTime", "decimal", "duration", "integer", "string"], (e3) => { + const t3 = e3.toLowerCase(); + p[t3] = a.expressionTypeNames[e3], p[`${t3}${d}`] = `${a.expressionTypeNames[e3]}${r.default.exprDataTypeSuffixCollection}`; + }), _.api = u.getBotConnectorBots, h.api = u.getBotConnectorBotVersions, m.api = u.getBotConnectorBot, g.api = u.getBotConnectorBot; + }, 37097(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.postDigitalBotFlowLaunch = function(e3, t3, i3, n3) { + const a = r.default.build(o.postDigitalBotFlowLaunch); + return a.content({ channel: { inputModes: ["Text"], outputModes: ["Text"], name: "Messaging", userAgent: { name: "GenesysWebWidget" } }, externalSessionId: "", flow: { id: e3 }, inputData: { variables: i3 }, language: n3 || "" }), a.call(); + }, t2.postDigitalBotFlowTurns = function(e3, t3, i3, n3) { + const a = r.default.build(o.postDigitalBotFlowTurns).templateParams({ sessionId: e3 }); + return a.content(i3), a.call(); + }; + const n2 = i2(31635), o = n2.__importStar(i2(80496)), r = n2.__importDefault(i2(36019)); + }, 78280(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationCustomAttributeSchemas = a, t2.getConversationCustomAttributeSchema = s; + const n2 = i2(31635), o = n2.__importStar(i2(66359)), r = n2.__importDefault(i2(36019)); + function a(e3) { + const t3 = r.default.build(o.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 r.default.build(o.getConversationCustomAttributeSchema).templateParams({ id: e3 }).call(); + } + a.api = o.getConversationCustomAttributeSchemas, s.api = o.getConversationCustomAttributeSchema; + }, 84556(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationSummarySettings = a, t2.getConversationSummarySetting = s; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(30097)); + function a(e3) { + const t3 = o.default.build(r.getConversationSummarySettings); + return e3 && t3.queryParams(e3.getSearchQueryParams(true)), t3.call(); + } + function s(e3) { + return o.default.build(r.getConversationSummarySetting).templateParams({ id: e3 }).call(); + } + a.api = r.getConversationSummarySettings, s.api = r.getConversationSummarySetting; + }, 75599(e2, t2, i2) { + "use strict"; + t2.callFlow = function(e3) { + return a(`sip:${encodeURIComponent(e3)}@localhost`); + }, t2.callFlowDebug = function(e3) { + return a(`${encodeURIComponent(e3)}-debug@localhost`); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(69671)); + function a(e3) { + const t3 = o.default.build(r.createCall), i3 = { phoneNumber: e3 }; + return t3.content(i3), t3.call(); + } + i2(34825), a.api = r.createCall; + }, 99914(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getCustomerSegments = a, t2.getCustomerSegment = s; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(1849)); + function a(e3) { + var t3; + const i3 = o.default.build(r.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 o.default.build(r.getCustomerSegment).templateParams({ id: e3 }).call(); + } + a.api = r.getCustomerSegments, s.api = r.getCustomerSegment; + }, 55654(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDataTables = l, t2.getDataTable = u; + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = n2.__importStar(i2(87459)), a = n2.__importDefault(i2(4648)), s = n2.__importDefault(i2(36019)); + function l(e3) { + const t3 = o.isFeatureAvailable(a.default.divisionedDataTables) ? r.getDataTablesDivisionView : r.getDataTables; + return s.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); + } + function u(e3) { + const t3 = o.isFeatureAvailable(a.default.divisionedDataTables) ? r.getDataTableDivisionView : r.getDataTable; + return s.default.build(t3).templateParams({ id: e3 }).call(); + } + u.api = r.getDataTable, l.api = r.getDataTables; + }, 83277(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDecisionTables = l, t2.getDecisionTable = u; + const n2 = i2(31635), o = n2.__importStar(i2(24032)), r = n2.__importStar(i2(72746)), a = n2.__importDefault(i2(36019)), s = o.getTopic("decisionTableApi"); + function l(e3) { + const t3 = a.default.build(r.getDecisionTables), i3 = e3.searchTerm ? { name: e3.searchTerm, pageSize: e3.defaultPageSize, withPublishedVersion: e3.additionalParams.withPublishedVersion } : { pageSize: e3.defaultPageSize, withPublishedVersion: e3.additionalParams.withPublishedVersion }; + return e3.after && (i3.after = e3.after), t3.queryParams(i3), t3.call(); + } + function u(e3) { + return a.default.build(r.getDecisionTable).templateParams({ tableId: e3 }).call().then((t3) => { + if (!t3.entities || 0 === t3.entities.length) throw s.error(`No decision table found with id ${e3}`), new Error(`No decision table found with id ${e3}`); + return t3.entities[0]; + }); + } + l.api = r.getDecisionTables, u.api = r.getDecisionTable; + }, 35295(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDigitalBotConnectorBots = _, t2.getDigitalBotConnectorBotVersions = h, t2.getDigitalBotConnectorBotVersion = m, t2.getDigitalBotConnectorBot = g, t2.ensureCorrectVersionProperties = f; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = {}; + function _(e3) { + const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; + if (!(null == t3 ? void 0 : t3.integrationId)) return; + const i3 = e3.getSearchQueryParams(true); + return s.default.build(u.getDigitalBotConnectorBots).templateParams({ integrationId: t3.integrationId }).queryParams(i3).call().then((e4) => (e4.entities.forEach((e5) => { + e5.setParentContextInfo(t3.integrationId); + }), e4)); + } + function h(e3) { + const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; + if (!(null == t3 ? void 0 : t3.integrationId) || !(null == t3 ? void 0 : t3.botId)) return; + const i3 = e3.getSearchQueryParams(true); + return s.default.build(u.getDigitalBotConnectorBotVersions).templateParams({ integrationId: t3.integrationId, botId: t3.botId }).queryParams(i3).call().then(function(e4) { + return e4.entities = e4.entities.map(function(e5) { + return e5.setParentContextInfo(t3.integrationId), e5.id = t3.botId, f(e5, e5.id, t3.botId, t3.integrationId); + }), e4; + }); + } + function m(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; + if (!(null == i3 ? void 0 : i3.botId) || !(null == i3 ? void 0 : i3.integrationId)) return; + const n3 = { version: e3 }, r2 = s.default.build(u.getDigitalBotConnectorBot).templateParams({ botId: i3.botId, integrationId: i3.integrationId }).queryParams(n3), a2 = yield r2.call(); + return o.default.find(a2.versions, (t4) => { + if (t4.version === e3) return f(t4, a2.name, i3.botId, i3.integrationId); + }); + }); + } + function g(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; + if (!(null == i3 ? void 0 : i3.integrationId)) return; + const n3 = { botId: e3, integrationId: i3.integrationId }, o2 = s.default.build(u.getDigitalBotConnectorBot).templateParams(n3), r2 = yield o2.call(); + return r2 && r2.setParentContextInfo(i3.integrationId), r2; + }); + } + function f(e3, t3, i3, n3) { + if (!o.default.isObject(e3)) return; + const r2 = e3; + t3 && (r2.name = t3), r2.id = i3, r2.version = e3.version, r2.setParentContextInfo(n3); + const a2 = r2.isFromAdsValidationResults; + return r2.isFromAdsValidationResults = false, o.default.each(e3.intents, (e4) => { + a2 && (e4.entities = e4.slots), o.default.each(null == e4 ? void 0 : e4.entities, (e5) => { + var t5; + if (o.default.isString(null == e5 ? void 0 : e5.type)) { + if (e5.archDataTypeId = p[e5.type], !e5.archDataTypeId && e5.type === l.jsonSchemaTypeNames.array && (null === (t5 = e5.items) || void 0 === t5 ? void 0 : t5.type) && (e5.archDataTypeId = p[e5.items.type]), o.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, -10); + e5.archDataTypeId = p[t6], o.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 c.error("missing type for slot"); + }); + const t4 = {}; + e4.entities && o.default.isArray(e4.entities) && (e4.entities.forEach((e5) => { + e5 && e5.name && (t4[e5.name] = e5); + }), e4.entities = t4); + }), r2; + } + ["Boolean", "Currency", "Datetime", "Decimal", "Duration", "Integer", "String"].forEach((e3) => { + const t3 = e3, i3 = "Datetime" !== e3 ? e3.toLowerCase() : "dateTime"; + p[t3] = a.expressionTypeNames[i3], p[`${t3}${d}`] = `${a.expressionTypeNames[i3]}${r.default.exprDataTypeSuffixCollection}`; + }), _.api = u.getDigitalBotConnectorBots, h.api = u.getDigitalBotConnectorBotVersions, m.api = u.getDigitalBotConnectorBot, g.api = u.getDigitalBotConnectorBot; + }, 95873(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getGrammars = a, t2.getGrammar = s, t2.getGrammarWithStatus = function(e3, t3) { + return r.default.build(o.getGrammarWithStatus).templateParams({ id: e3, includeFileUrls: !!t3 }).call(); + }, 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), o = n2.__importStar(i2(72124)), r = n2.__importDefault(i2(36019)); + function a(e3) { + const t3 = r.default.build(o.getGrammars); + return t3.queryParams(e3), t3.call(); + } + function s(e3, t3) { + return r.default.build(o.getGrammar).templateParams({ id: e3, includeFileUrls: !!t3 }).call(); + } + function l(e3, t3) { + return r.default.build(o.getGrammarLanguage).templateParams({ grammarId: e3, languageCode: t3 }).call(); + } + function u(e3) { + const t3 = r.default.build(o.deleteGrammar); + return t3.templateParams({ id: e3 }), t3.call(); + } + function c(e3, t3, i3) { + const n3 = r.default.build(o.updateGrammar); + n3.templateParams({ id: e3 }); + const a2 = { name: t3, description: i3 }; + return n3.content(a2), n3.headers["Content-Type"] = "application/json", n3.call(); + } + function d(e3, t3, i3, n3) { + const a2 = r.default.build(o.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(); + } + function p(e3, t3) { + const i3 = r.default.build(o.createGrammar), n3 = { name: e3, description: t3 }; + return i3.content(n3), i3.call(); + } + function _(e3, t3) { + const i3 = r.default.build(o.addLanguageToGrammar), n3 = { language: e3 }; + return i3.templateParams({ grammarId: t3 }), i3.content(n3), i3.call(); + } + function h(e3, t3) { + const i3 = r.default.build(o.removeLanguageFromGrammar); + return i3.templateParams({ grammarId: t3, languageCode: e3 }), i3.call(); + } + function m(e3, t3, i3, n3) { + const a2 = r.default.build(o.createGrammarFileUploadUrl); + return a2.templateParams({ grammarId: e3, languageCode: t3, grammarType: i3 }), a2.content({ fileType: n3 }), a2.call(); + } + function g(e3, t3, i3) { + const n3 = r.default.build(o.deleteGrammarFile); + return n3.templateParams({ grammarId: e3, languageCode: t3, grammarType: i3 }), n3.call(); + } + function f(e3, t3, i3) { + const n3 = r.default.build(o.uploadGrammarFile); + return n3.templateParams({ url: e3 }), n3.headers = t3, n3.content(i3), n3.call(); + } + function T(e3) { + const t3 = r.default.build(o.downloadGrammarFile); + return t3.templateParams({ url: e3 }), t3.headers = "raw-file", t3.call(); + } + a.api = o.getGrammars, s.api = o.getGrammar, s.api = o.getGrammarWithStatus, l.api = o.getGrammarLanguage, u.api = o.deleteGrammar, c.api = o.updateGrammar, d.api = o.updateGrammarLanguage, p.api = o.createGrammar, _.api = o.addLanguageToGrammar, h.api = o.removeLanguageFromGrammar, m.api = o.createGrammarFileUploadUrl, g.api = o.deleteGrammarFile, f.api = o.uploadGrammarFile, T.api = o.downloadGrammarFile; + }, 11914(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getGuides = a, t2.getGuide = s, t2.getGuideVersion = l; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(36839)); + function a(e3) { + return o.default.build(r.getGuides).queryParams(e3.getSearchQueryParams()).call(); + } + function s(e3) { + const t3 = { guideId: e3 }; + return o.default.build(r.getGuide).templateParams(t3).call(); + } + function l(e3, t3) { + const i3 = { guideId: e3, guideVersionId: null == t3 ? void 0 : t3.version }; + return o.default.build(r.getGuideVersion).templateParams(i3).call(); + } + a.api = r.getGuides, s.api = r.getGuide, l.api = r.getGuideVersion; + }, 32236(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getIntegration = a, t2.getDigitalBotConnectorIntegrations = s, t2.getBotConnectorIntegrations = l, t2.getNuanceMixIntegrations = u; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(63569)); + function a(e3) { + return o.default.build(r.getIntegration).templateParams({ id: e3 }).call(); + } + function s(e3) { + return o.default.build(r.getDigitalBotConnectorIntegrations).queryParams(e3.getSearchQueryParams()).call(); + } + function l(e3) { + return o.default.build(r.getBotConnectorIntegrations).queryParams(e3.getSearchQueryParams()).call(); + } + function u(e3) { + return o.default.build(r.getNuanceMixIntegrations).queryParams(e3.getSearchQueryParams()).call(); + } + a.api = r.getIntegration, s.api = r.getDigitalBotConnectorIntegrations, l.api = r.getBotConnectorIntegrations, u.api = r.getNuanceMixIntegrations; + }, 11097(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeBase = a, t2.getKnowledgeBases = s, t2.getKnowledgeBaseDocument = l, t2.getKnowledgeBaseDocuments = u; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(56972)); + function a(e3) { + return o.default.build(r.getKnowledgeBase).templateParams({ id: e3 }).call(); + } + function s(e3) { + return o.default.build(r.getKnowledgeBases).queryParams(e3.getSearchQueryParams()).call(); + } + function l(e3, t3) { + const i3 = o.default.build(r.getKnowledgeBaseDocument), n3 = { documentId: e3 }; + return (null == t3 ? void 0 : t3.knowledgeId) && (n3.knowledgeId = t3.knowledgeId), i3.templateParams(n3).call(); + } + function u(e3) { + const t3 = o.default.build(r.getKnowledgeBaseDocuments), i3 = e3.getSearchQueryParams(true), n3 = e3.additionalParams; + return t3.templateParams(n3).queryParams(i3).call(); + } + a.api = r.getKnowledgeBase, s.api = r.getKnowledgeBases, l.api = r.getKnowledgeBaseDocument, u.api = r.getKnowledgeBaseDocuments; + }, 82298(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSetting = a, t2.getKnowledgeSettings = s; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(48229)); + function a(e3) { + return o.default.build(r.getKnowledgeSetting).templateParams({ id: e3 }).call(); + } + function s(e3) { + return o.default.build(r.getKnowledgeSettings).queryParams(e3.getSearchQueryParams(true)).call(); + } + a.api = r.getKnowledgeSetting, s.api = r.getKnowledgeSettings; + }, 25657(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSource = a; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(94604)); + function a(e3) { + return o.default.build(r.getKnowledgeSource).templateParams({ id: e3 }).call(); + } + a.api = r.getKnowledgeSource; + }, 24601(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createNluDomain = function(e3, t3) { + return o.default.build(r.createDomain).content({ name: e3, language: t3 }).call(); + }, t2.getNluDomain = a, t2.getNluDomains = s, t2.getNluDomainVersion = function(e3, t3) { + return o.default.build(r.getDomainVersion).templateParams({ domainId: e3, domainVersionId: t3 }).call(); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(74168)); + function a(e3) { + return o.default.build(r.getDomain).templateParams({ domainId: e3 }).call(); + } + function s(e3) { + return o.default.build(r.getDomains).queryParams(e3.getSearchQueryParams()).call(); + } + a.api = r.getDomain, s.api = r.getDomains; + }, 68223(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSubscriptions = t2.isSessionDead = t2.getRetryCount = t2.handleConnectionClosed = t2.connectSocket = t2.resetConnectionState = t2.reset = void 0, t2.addSubscription = function(e3, t3, i3) { + const n3 = (0, _.isArray)(e3) ? e3 : [e3], o2 = (e4) => { + i3(e4); + }; + if (Y(), v) { + const e4 = []; + for (const i4 of n3) E[i4] ? E[i4].find((e5) => e5.subscriberId === t3) ? m.warning("Duplicate subscribe for {} - topic: {}", t3, i4) : E[i4].push({ subscriberId: t3, cb: o2 }) : (e4.push(i4), E[i4] = [{ subscriberId: t3, cb: o2 }]); + if (e4.length && S) { + const t4 = a.default.build(h.addSubscription); + return t4.templateParams({ id: S.channelId }), t4.content(e4.map((e5) => ({ id: e5 }))), q(t4); } - this.input.consume(); - } finally { + } else m.warning("Tried to start new notification subscription while not connected. topics:{}", n3); + return Promise.resolve(); + }, t2.removeSubscription = function(e3, t3) { + const i3 = (0, _.isArray)(e3) ? e3 : [e3]; + for (const e4 of i3) { + const i4 = D[e4] || []; + i4.includes(t3) || (D[e4] = i4.concat(t3)); } - }, mIDENTIFIER: function() { - try { - var e3 = this.IDENTIFIER, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - if (!("$" == this.input.LA(1) || this.input.LA(1) >= "A" && this.input.LA(1) <= "Z" || this.input.LA(1) >= "a" && this.input.LA(1) <= "z" || this.input.LA(1) >= "\xC0" && this.input.LA(1) <= "\xD6" || this.input.LA(1) >= "\xD8" && this.input.LA(1) <= "\xF6" || this.input.LA(1) >= "\xF8" && this.input.LA(1) <= "\u1FFF" || this.input.LA(1) >= "\u3040" && this.input.LA(1) <= "\u318F" || this.input.LA(1) >= "\u3300" && this.input.LA(1) <= "\u337F" || this.input.LA(1) >= "\u3400" && this.input.LA(1) <= "\u3D2D" || this.input.LA(1) >= "\u4E00" && this.input.LA(1) <= "\u9FFF" || this.input.LA(1) >= "\uF900" && this.input.LA(1) <= "\uFAFF" || this.input.LA(1) >= "\uFF00" && this.input.LA(1) <= "\uFFEF")) { - var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(i3), i3; - } - this.input.consume(); - e: for (; ; ) { - var n2 = 2, r2 = this.input.LA(1); - if ((r2 >= "0" && r2 <= "9" || r2 >= "A" && r2 <= "Z" || "_" == r2 || r2 >= "a" && r2 <= "z" || r2 >= "\xC0" && r2 <= "\xD6" || r2 >= "\xD8" && r2 <= "\xF6" || r2 >= "\xF8" && r2 <= "\u1FFF" || r2 >= "\u3040" && r2 <= "\u318F" || r2 >= "\u3300" && r2 <= "\u337F" || r2 >= "\u3400" && r2 <= "\u3D2D" || r2 >= "\u4E00" && r2 <= "\u9FFF" || r2 >= "\uF900" && r2 <= "\uFAFF" || r2 >= "\uFF00" && r2 <= "\uFFEF") && (n2 = 1), 1 !== n2) break e; - if (!(this.input.LA(1) >= "0" && this.input.LA(1) <= "9" || this.input.LA(1) >= "A" && this.input.LA(1) <= "Z" || "_" == this.input.LA(1) || this.input.LA(1) >= "a" && this.input.LA(1) <= "z" || this.input.LA(1) >= "\xC0" && this.input.LA(1) <= "\xD6" || this.input.LA(1) >= "\xD8" && this.input.LA(1) <= "\xF6" || this.input.LA(1) >= "\xF8" && this.input.LA(1) <= "\u1FFF" || this.input.LA(1) >= "\u3040" && this.input.LA(1) <= "\u318F" || this.input.LA(1) >= "\u3300" && this.input.LA(1) <= "\u337F" || this.input.LA(1) >= "\u3400" && this.input.LA(1) <= "\u3D2D" || this.input.LA(1) >= "\u4E00" && this.input.LA(1) <= "\u9FFF" || this.input.LA(1) >= "\uF900" && this.input.LA(1) <= "\uFAFF" || this.input.LA(1) >= "\uFF00" && this.input.LA(1) <= "\uFFEF")) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; - this.input.consume(); + Y(); + }, t2.isConnected = function() { + return v; + }, t2.setTestKillNotificationMode = function(e3) { + b = e3, v = !e3; + }, t2.getInitialConnected = function() { + return w.promise; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(36019)), s = n2.__importStar(i2(74359)), l = i2(77886), u = n2.__importStar(i2(36781)), c = i2(52023), d = i2(50474), p = i2(50474), _ = i2(50474), h = n2.__importStar(i2(53044)), m = (0, i2(24032).getTopic)("notifications"), g = 0.25 * r.default.msPerSecond, f = 7 * r.default.msPerSecond, T = 5 * r.default.msPerSecond, y = 60 * r.default.msPerSecond; + let S, A, N = 0, v = false, I = false, C = false, O = false, b = false, E = {}; + const w = new c.PromiseDefer(); + let R = false, D = {}; + function P() { + void 0 !== A && (clearTimeout(A), A = void 0); + } + function M() { + return I || C; + } + function F() { + M() || (v = false, void 0 === A && (N < 5 ? (N++, A = setTimeout(() => { + A = void 0, U(); + }, (function(e3) { + const t3 = T * Math.pow(2, e3 - 1); + return Math.min(t3, y); + })(N))) : m.warning("Reconnection to notification socket failed after 5 attempts. Falling back to polling."))); + } + function L(e3) { + const t3 = null == e3 ? void 0 : e3.code; + void 0 !== t3 && ("number" != typeof t3 || t3 < 0 || t3 > 4294967295) ? m.warning(`Websocket connection closed with invalid close code: ${t3} (type: ${typeof t3}). Treating as abnormal closure.`) : m.info(`Websocket connection closed with code: ${t3}`), M() || F(); + } + function x(e3) { + let t3, i3; + if ("string" == typeof e3 || "undefined" != typeof Buffer && Buffer.isBuffer(e3)) t3 = e3; + else { + if (!(function(e4) { + return "object" == typeof e4 && null !== e4 && !("undefined" != typeof Buffer && Buffer.isBuffer(e4)) && "data" in e4; + })(e3) || void 0 === e3.data || null === e3.data) return void m.warning("parseMessage: unexpected message format, skipping"); + if ("string" == typeof e3.data) t3 = e3.data; + else { + if ("undefined" == typeof Buffer || !Buffer.isBuffer(e3.data)) return void m.warning("parseMessage: unexpected message format, skipping"); + t3 = e3.data; } - this.state.type = e3, this.state.channel = t3; - } finally { } - }, mWS: function() { try { - var e3 = this.WS, i3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, n2 = 0; - e: for (; ; ) { - var r2 = 2, o = this.input.LA(1); - if ((o >= " " && o <= "\n" || "\r" == o || " " == o) && (r2 = 1), 1 !== r2) { - if (n2 >= 1) break e; - throw new org.antlr.runtime.EarlyExitException(8, this.input); - } - if (!(this.input.LA(1) >= " " && this.input.LA(1) <= "\n" || "\r" == this.input.LA(1) || " " == this.input.LA(1))) { - var a = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(a), a; + i3 = JSON.parse("string" == typeof t3 ? t3 : t3.toString()); + } catch (e4) { + const t4 = (0, p.isError)(e4) ? e4 : new Error("parseMessage: failed to parse message as JSON"); + return void m.errorWithStack(t4, "parseMessage: failed to parse message as JSON"); + } + if (n3 = i3, (0, d.isNonArrayObject)(n3) && n3.topicName === (function() { + const e4 = s.getConnectedUser(); + return e4 ? (0, l.getSystemTokenRevokedTopic)(e4.id) : (m.errorWithStack(null, "Tried to _getSystemTopicTokenRevoked without a connectedUser"), ""); + })() && (u.emitter.emit(u.tokenRevoked), u.emitter.emit(u.connectionLost), 1)) return; + var n3, o2; + if (o2 = i3, !(0, d.isNonArrayObject)(o2) || "string" != typeof o2.topicName || !(0, d.isNonArrayObject)(o2.eventBody)) return void m.warning("parseMessage: message was not a notification envelope, skipping"); + const r2 = i3.eventBody.message ? i3.eventBody.message : i3.eventBody; + "WebSocket Heartbeat" !== r2 && (function(e4, t4) { + if (b) return; + const i4 = E[e4]; + if (i4) for (let e5 = 0; e5 < i4.length; ++e5) i4[e5].cb(t4); + })(i3.topicName, r2); + } + function k() { + N = 0, v = true, C = false, m.info("Carrier Pigeon Socket connected."), R ? (function() { + const e3 = Object.keys(E); + if (!e3.length || !S) return; + const t3 = a.default.build(h.addSubscription); + t3.templateParams({ id: S.channelId }), t3.content(e3.map((e4) => ({ id: e4 }))), q(t3).catch((e4) => { + m.requestError(e4, "Failed to resync subscriptions to new notification channel"); + }); + })() : (R = true, w.resolve()); + } + function V(e3) { + const t3 = (0, p.isError)(e3) ? e3 : new Error("Websocket connection error occurred"); + m.errorWithStack(t3, "Websocket connection error occurred"), F(); + } + function U() { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!(v || M() || O)) { + O = true; + try { + const t3 = yield a.default.build(h.createChannel).call(); + if (!("id" in (e3 = t3)) || "string" != typeof e3.id) return m.errorWithStack(null, "Create channel API returned an unexpected response shape."), v = false, void F(); + if (M()) return; + S = (function(e4) { + if (!e4.connectUri) throw new Error("Create channel response missing connectUri"); + return new (i2(15086))(e4.connectUri); + })(t3), S.channelId = t3.id, "function" == typeof S.addEventListener ? (S.addEventListener("open", k), S.addEventListener("close", (e4) => L({ code: null == e4 ? void 0 : e4.code })), S.addEventListener("message", x), S.addEventListener("error", V)) : (S.onopen = k, S.onclose = (e4, t4) => L({ code: e4 }), S.onmessage = x, S.onerror = V); + } catch (e4) { + !(function(e5) { + if (M()) return; + const t3 = (0, p.isError)(e5) ? e5 : new Error("Create channel API failed with a non-Error rejection."), i3 = (function(e6) { + if ("status" in e6 && "number" == typeof e6.status) return e6.status; + })(t3); + if (401 !== i3) return 403 === i3 ? (m.errorPromise(t3, "Create channel API failed with 403. Falling back to polling."), void (v = false)) : void (0 !== i3 ? (m.errorPromise(t3, "Create channel API failed. Falling back to polling."), v = false) : F()); + !(function(e6) { + I = true, v = false, P(), m.errorPromise(e6, "Create channel API failed with 401. Session is dead; not retrying."), C || u.emitter.emit(u.tokenRevoked); + })(t3); + })(e4); + } finally { + O = false; } - this.input.consume(), n2++; + var e3; + } + }); + } + t2.reset = void 0, t2.resetConnectionState = void 0; + const B = []; + let G = false; + function j(e3) { + return new Promise((t3) => setTimeout(t3, e3)); + } + function q(e3) { + const t3 = new c.PromiseDefer(); + return (function(e4, t4) { + B.push({ serverCall: e4, defer: t4 }), (function() { + n2.__awaiter(this, void 0, void 0, function* () { + if (!G) { + G = true; + try { + let e5 = true; + for (; B.length > 0; ) { + const t5 = B.shift(); + if (!t5) continue; + const { serverCall: i3, defer: n3 } = t5; + !e5 && g > 0 && (yield j(g)), e5 = false; + try { + yield i3.call(), n3.resolve(); + } catch (e6) { + n3.reject((0, p.isError)(e6) ? e6 : new Error("queued notification server call failed")); + } + } + } finally { + G = false; + } + } + }); + })(); + })(e3, t3), t3.promise; + } + const W = o.default.debounce(() => { + if (v) { + for (const [e4, t3] of Object.entries(D)) E[e4] && (E[e4] = E[e4].filter((e5) => !t3.includes(e5.subscriberId)), E[e4].length || delete E[e4]); + if (D = {}, !S) return; + const e3 = Object.keys(E); + if (0 === e3.length) { + const e4 = a.default.build(h.removeAllSubscriptions); + e4.templateParams({ id: S.channelId }), q(e4).catch((e5) => { + m.requestError(e5, "debounced removeSubscription removeAllSubscriptions failed"); + }); + } else { + const t3 = a.default.build(h.updateSubscription); + t3.templateParams({ id: S.channelId }), t3.content(e3.map((e4) => ({ id: e4 }))), q(t3).catch((e4) => { + m.requestError(e4, "debounced removeSubscription updateSubscription failed"); + }); } - i3 = t2, this.state.type = e3, this.state.channel = i3; - } finally { - } - }, mFIELD_ACCESS_IDENTIFIER: function() { - try { - var e3 = this.FIELD_ACCESS_IDENTIFIER, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.mPERIOD(), this.mIDENTIFIER(), this.state.type = e3, this.state.channel = t3; - } finally { - } - }, mFIELD_ACCESS_STRING_LITERAL: function() { - try { - var e3 = this.FIELD_ACCESS_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.mPERIOD(), this.mSTRING_LITERAL(), this.state.type = e3, this.state.channel = t3; - } finally { } - }, mFIELD_ACCESS_UNQUOTED_STRING_LITERAL: function() { + }, f); + function Y() { + W(); + } + n2.__awaiter(void 0, void 0, void 0, function* () { try { - var e3 = this.FIELD_ACCESS_UNQUOTED_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - this.mPERIOD(), this.mUNQUOTED_STRING_LITERAL(), this.state.type = e3, this.state.channel = t3; - } finally { + yield s.getAuthorizedPromise(), yield U(); + } catch (e3) { } - }, mNON_SUPPORTED: function() { - try { - var e3 = this.NON_SUPPORTED, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; - if (!(this.input.LA(1) >= "\0" && this.input.LA(1) <= "%" || this.input.LA(1) >= "'" && this.input.LA(1) <= "+" || this.input.LA(1) >= "-" && this.input.LA(1) <= "." || this.input.LA(1) >= ":" && this.input.LA(1) <= "=" || this.input.LA(1) >= "?" && this.input.LA(1) <= "@" || this.input.LA(1) >= "^" && this.input.LA(1) <= "`" || "{" == this.input.LA(1) || "}" == this.input.LA(1) || this.input.LA(1) >= "\x7F" && this.input.LA(1) <= "\xBF" || "\xD7" == this.input.LA(1) || "\xF7" == this.input.LA(1) || this.input.LA(1) >= "\u2000" && this.input.LA(1) <= "\u303F" || this.input.LA(1) >= "\u3190" && this.input.LA(1) <= "\u32FF" || this.input.LA(1) >= "\u3380" && this.input.LA(1) <= "\u33FF" || this.input.LA(1) >= "\u3D2E" && this.input.LA(1) <= "\u4DFF" || this.input.LA(1) >= "\uA000" && this.input.LA(1) <= "\uF8FF" || this.input.LA(1) >= "\uFB00" && this.input.LA(1) <= "\uFEFF" || this.input.LA(1) >= "\uFFF0" && this.input.LA(1) <= "\uFFFF")) { - var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); - throw this.recover(i3), i3; + }), u.serviceListen(u.connectionLost, function() { + if (C = true, P(), S) { + try { + const e3 = S.readyState; + 3 !== e3 && 2 !== e3 && S.close(1e3); + } catch (e3) { + const t3 = (0, p.isError)(e3) ? e3 : new Error("Error closing websocket connection"); + m.errorWithStack(t3, "Error closing websocket connection"); } - this.input.consume(), this.state.type = e3, this.state.channel = t3; - } finally { - } - }, mTokens: function() { - switch (this.dfa9.predict(this.input)) { - case 1: - this.mBOOL_TRUE(); - break; - case 2: - this.mBOOL_FALSE(); - break; - case 3: - this.mNOT_SET(); - break; - case 4: - this.mOP_PLUS(); - break; - case 5: - this.mOP_MULT(); - break; - case 6: - this.mOP_DIV(); - break; - case 7: - this.mOP_MINUS(); - break; - case 8: - this.mOP_MOD(); - break; - case 9: - this.mOP_POW(); - break; - case 10: - this.mOP_NOT(); - break; - case 11: - this.mOP_EQU(); - break; - case 12: - this.mOP_NEQ(); - break; - case 13: - this.mOP_GT(); - break; - case 14: - this.mOP_GTE(); - break; - case 15: - this.mOP_LT(); - break; - case 16: - this.mOP_LTE(); - break; - case 17: - this.mOP_LOG_AND(); - break; - case 18: - this.mOP_LOG_OR(); - break; - case 19: - this.mOP_BIT_AND(); - break; - case 20: - this.mOP_BIT_INCL_OR(); - break; - case 21: - this.mOP_BIT_NOT(); - break; - case 22: - this.mBRACKET_LEFT(); - break; - case 23: - this.mBRACKET_RIGHT(); - break; - case 24: - this.mTERNARY_IF(); - break; - case 25: - this.mTERNARY_THEN(); - break; - case 26: - this.mPAREN_LEFT(); - break; - case 27: - this.mPAREN_RIGHT(); - break; - case 28: - this.mPERIOD(); - break; - case 29: - this.mCOMMA(); - break; - case 30: - this.mINTEGER(); - break; - case 31: - this.mDECIMAL(); - break; - case 32: - this.mUNQUOTED_STRING_LITERAL(); - break; - case 33: - this.mSTRING_LITERAL(); - break; - case 34: - this.mBAD_ESCAPE_STRING_LITERAL(); - break; - case 35: - this.mIDENTIFIER(); - break; - case 36: - this.mWS(); - break; - case 37: - this.mFIELD_ACCESS_IDENTIFIER(); - break; - case 38: - this.mFIELD_ACCESS_STRING_LITERAL(); - break; - case 39: - this.mFIELD_ACCESS_UNQUOTED_STRING_LITERAL(); - break; - case 40: - this.mNON_SUPPORTED(); + v = false; } - } }, true), org.antlr.lang.augmentObject(i2, { DFA6_eotS: "\uFFFF\uFFFF\uFFFF", DFA6_eofS: "\x07\uFFFF", DFA6_minS: '"\0\uFFFF"\0\uFFFF\0', DFA6_maxS: '"\uFFFF\uFFFFt\uFFFF\uFFFF\uFFFF', DFA6_acceptS: "\uFFFF\uFFFF\uFFFF", DFA6_specialS: "\uFFFF\uFFFF\uFFFF\0}>", DFA6_transitionS: ["", '"9\uFFA3', "", "9\uFFFF\uFFFF\uFFFF\uFFFF", '"9\uFFA3', "", '"9\uFFA3'] }), org.antlr.lang.augmentObject(i2, { DFA6_eot: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_eotS), DFA6_eof: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_eofS), DFA6_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA6_minS), DFA6_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA6_maxS), DFA6_accept: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_acceptS), DFA6_special: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_specialS), DFA6_transition: (function() { - var e3, t3 = [], n2 = i2.DFA6_transitionS.length; - for (e3 = 0; e3 < n2; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_transitionS[e3])); - return t3; - })() }), i2.DFA6 = function(e3) { - this.recognizer = e3, this.decisionNumber = 6, this.eot = i2.DFA6_eot, this.eof = i2.DFA6_eof, this.min = i2.DFA6_min, this.max = i2.DFA6_max, this.accept = i2.DFA6_accept, this.special = i2.DFA6_special, this.transition = i2.DFA6_transition; - }, org.antlr.lang.extend(i2.DFA6, org.antlr.runtime.DFA, { getDescription: function() { - return "470:20: ( STRING_LITERAL | UNQUOTED_STRING_LITERAL )"; - }, specialStateTransition: function(e3, t3) { - var i3 = e3, n2 = function(e4, t4) { - switch (e4) { - case 0: - var i4 = t4.LA(1); - if (e4 = -1, (e4 = '"' == i4 ? 5 : "\\" == i4 ? 3 : i4 >= "\0" && i4 <= "!" || i4 >= "#" && i4 <= "[" || i4 >= "]" && i4 <= "\uFFFF" ? 4 : 2) >= 0) return e4; - break; - case 1: - var n3 = t4.LA(1); - if (e4 = -1, (e4 = "\\" == n3 ? 3 : n3 >= "\0" && n3 <= "!" || n3 >= "#" && n3 <= "[" || n3 >= "]" && n3 <= "\uFFFF" ? 4 : '"' == n3 ? 5 : 2) >= 0) return e4; - break; - case 2: - var r3 = t4.LA(1); - if (e4 = -1, (e4 = '"' == r3 ? 5 : "\\" == r3 ? 3 : r3 >= "\0" && r3 <= "!" || r3 >= "#" && r3 <= "[" || r3 >= "]" && r3 <= "\uFFFF" ? 4 : 2) >= 0) return e4; + E = {}; + }), t2.connectSocket = void 0, t2.handleConnectionClosed = void 0, t2.getRetryCount = void 0, t2.isSessionDead = void 0, t2.getSubscriptions = void 0; + }, 96347(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getBotList = function(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; + if (!t3 || !t3.botId && !t3.integrationId) throw u.error("Invalid getBotList request parameters"), new Error("Invalid getBotList request parameters"); + const i3 = l.default.isString(t3.integrationId) ? t3.integrationId : t3.botId.split("~")[0]; + try { + const t4 = yield c(i3, e3); + return yield g(d, i3, t4.id, null), p(i3, t4.id); + } catch (e4) { + throw u.exception(e4, `Failed to get bots for ${i3}`), e4; } - }.call(this.recognizer, e3, t3); - if (!org.antlr.lang.isUndefined(n2)) return n2; - var r2 = new org.antlr.runtime.NoViableAltException(this.getDescription(), 6, i3, t3); - throw this.error(r2), r2; - }, dummy: null }), org.antlr.lang.augmentObject(i2, { DFA9_eotS: "\uFFFF \uFFFF+!.0 \uFFFF7\uFFFF;<\uFFFF \f\uFFFF E\x07\uFFFFF\uFFFF<\uFFFF N\uFFFFF\uFFFF<P \uFFFFF\uFFFFS \uFFFF V\uFFFF", DFA9_eofS: "W\uFFFF", DFA9_minS: '\0raO\uFFFF=NR \uFFFF"\uFFFF.\0\uFFFFulT\f\uFFFFD0\x07\uFFFF\0\uFFFF"\0\uFFFFes_0\uFFFF"\0\uFFFF\00eS\uFFFF\0\uFFFF0E\uFFFFT0\uFFFF', DFA9_maxS: "\uFFFFraO\uFFFF=nr \uFFFF\uFFEF\uFFFF9\uFFFF\uFFFFulT\f\uFFFFd\uFFEF\x07\uFFFF\uFFFF\uFFFFt\uFFFF\uFFFFes_\uFFEF\uFFFFt\uFFFF\uFFFF\uFFFF\uFFEFeS\uFFFF\uFFFF\uFFFF\uFFEFE\uFFFFT\uFFEF\uFFFF", DFA9_acceptS: `\uFFFF\x07\b \uFFFF\x1B\uFFFF\uFFFF"#$#(\uFFFF\x07\b \f -\v\r\uFFFF\x1B%\uFFFF \uFFFF!$\uFFFF'\uFFFF&\uFFFF\uFFFF\uFFFF\uFFFF`, DFA9_specialS: "\x1B\uFFFF\uFFFF\uFFFF \uFFFF\0\uFFFF\uFFFF\x07\uFFFF}>", DFA9_transitionS: [" !!!\n!\b!\x07\n\x1B!\r\v\f!\f \v  ! \b   !!A! ! !\u1F08 \u1040!\u0150 \u0170!\x80 \x80!\u092E \u10D2!\u5200 \u5900!\u0200 \u0400!\xF0 !", '"', "#", "$", "", "", "", "", "", "", "*", ",", "-", "/", "1\uFFFF1", "2\uFFFF2", "", "", "", "", "", "", "", "", "", ":\uFFFF9\v\uFFFF\n8\x07\uFFFF9\uFFFF9E\uFFFF9\uFFFF9\uFFFF\u1F089\u1040\uFFFF\u01509\u0170\uFFFF\x809\x80\uFFFF\u092E9\u10D2\uFFFF\u52009\u5900\uFFFF\u02009\u0400\uFFFF\xF09", "", "8\uFFFF\n\x1B", '">?9>=\uFFA3>', "", "", "", "", "", "A", "B", "C", "", "", "", "", "", "", "", "", "", "", "", "", "D\uFFFFD", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "", "", "", "", "", "", "", '"HI9HG\uFFA3H', "", "", "J9\uFFFFJ\uFFFFJ\uFFFFJ\uFFFFJ", '">?9>=\uFFA3>', "", "", "K", "L", "M", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "", "", "O9\uFFFFO\uFFFFO\uFFFFO\uFFFFO", '"HI9HG\uFFA3H', "", '">?9>=\uFFA3>', "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "Q", "R", "", '"HI9HG\uFFA3H', "", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "T", "", "U", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", ""] }), org.antlr.lang.augmentObject(i2, { DFA9_eot: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_eotS), DFA9_eof: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_eofS), DFA9_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA9_minS), DFA9_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA9_maxS), DFA9_accept: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_acceptS), DFA9_special: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_specialS), DFA9_transition: (function() { - var e3, t3 = [], n2 = i2.DFA9_transitionS.length; - for (e3 = 0; e3 < n2; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_transitionS[e3])); - return t3; - })() }), i2.DFA9 = function(e3) { - this.recognizer = e3, this.decisionNumber = 9, this.eot = i2.DFA9_eot, this.eof = i2.DFA9_eof, this.min = i2.DFA9_min, this.max = i2.DFA9_max, this.accept = i2.DFA9_accept, this.special = i2.DFA9_special, this.transition = i2.DFA9_transition; - }, org.antlr.lang.extend(i2.DFA9, org.antlr.runtime.DFA, { getDescription: function() { - return "1:1: Tokens : ( BOOL_TRUE | BOOL_FALSE | NOT_SET | OP_PLUS | OP_MULT | OP_DIV | OP_MINUS | OP_MOD | OP_POW | OP_NOT | OP_EQU | OP_NEQ | OP_GT | OP_GTE | OP_LT | OP_LTE | OP_LOG_AND | OP_LOG_OR | OP_BIT_AND | OP_BIT_INCL_OR | OP_BIT_NOT | BRACKET_LEFT | BRACKET_RIGHT | TERNARY_IF | TERNARY_THEN | PAREN_LEFT | PAREN_RIGHT | PERIOD | COMMA | INTEGER | DECIMAL | UNQUOTED_STRING_LITERAL | STRING_LITERAL | BAD_ESCAPE_STRING_LITERAL | IDENTIFIER | WS | FIELD_ACCESS_IDENTIFIER | FIELD_ACCESS_STRING_LITERAL | FIELD_ACCESS_UNQUOTED_STRING_LITERAL | NON_SUPPORTED );"; - }, specialStateTransition: function(e3, t3) { - var i3 = e3, n2 = function(e4, t4) { - switch (e4) { - case 0: - var i4 = t4.LA(1); - if (e4 = -1, (e4 = '"' == i4 ? 73 : "\\" == i4 ? 71 : i4 >= "\0" && i4 <= "!" || i4 >= "#" && i4 <= "[" || i4 >= "]" && i4 <= "\uFFFF" ? 72 : 70) >= 0) return e4; - break; - case 1: - var n3 = t4.LA(1); - if (e4 = -1, (e4 = "\\" == n3 ? 61 : n3 >= "\0" && n3 <= "!" || n3 >= "#" && n3 <= "[" || n3 >= "]" && n3 <= "\uFFFF" ? 62 : '"' == n3 ? 63 : 60) >= 0) return e4; - break; - case 2: - var r3 = t4.LA(1); - if (e4 = -1, (e4 = '"' == r3 ? 73 : "\\" == r3 ? 71 : r3 >= "\0" && r3 <= "!" || r3 >= "#" && r3 <= "[" || r3 >= "]" && r3 <= "\uFFFF" ? 72 : 70) >= 0) return e4; - break; - case 3: - var o = t4.LA(1); - if (e4 = -1, (e4 = "\\" == o ? 61 : o >= "\0" && o <= "!" || o >= "#" && o <= "[" || o >= "]" && o <= "\uFFFF" ? 62 : '"' == o ? 63 : 60) >= 0) return e4; - break; - case 4: - var a = t4.LA(1); - if (e4 = -1, (e4 = "\\" == a ? 61 : a >= "\0" && a <= "!" || a >= "#" && a <= "[" || a >= "]" && a <= "\uFFFF" ? 62 : '"' == a ? 63 : 60) >= 0) return e4; - break; - case 5: - var s = t4.LA(1); - if (e4 = -1, (e4 = "\\" == s ? 71 : s >= "\0" && s <= "!" || s >= "#" && s <= "[" || s >= "]" && s <= "\uFFFF" ? 72 : '"' == s ? 73 : 70) >= 0) return e4; - break; - case 6: - var l = t4.LA(1); - if (e4 = -1, "t" == l ? e4 = 1 : "f" == l ? e4 = 2 : "N" == l ? e4 = 3 : "+" == l ? e4 = 4 : "*" == l ? e4 = 5 : "/" == l ? e4 = 6 : "-" == l ? e4 = 7 : "%" == l ? e4 = 8 : "^" == l ? e4 = 9 : "!" == l ? e4 = 10 : "=" == l ? e4 = 11 : ">" == l ? e4 = 12 : "<" == l ? e4 = 13 : "A" == l || "a" == l ? e4 = 14 : "O" == l || "o" == l ? e4 = 15 : "&" == l ? e4 = 16 : "|" == l ? e4 = 17 : "~" == l ? e4 = 18 : "[" == l ? e4 = 19 : "]" == l ? e4 = 20 : "?" == l ? e4 = 21 : ":" == l ? e4 = 22 : "(" == l ? e4 = 23 : ")" == l ? e4 = 24 : "." == l ? e4 = 25 : "," == l ? e4 = 26 : l >= "0" && l <= "9" ? e4 = 27 : '"' == l ? e4 = 28 : "\\" == l ? e4 = 29 : "$" == l ? e4 = 30 : l >= " " && l <= "\n" || "\r" == l || " " == l ? e4 = 31 : l >= "B" && l <= "M" || l >= "P" && l <= "Z" || l >= "b" && l <= "e" || l >= "g" && l <= "n" || l >= "p" && l <= "s" || l >= "u" && l <= "z" || l >= "\xC0" && l <= "\xD6" || l >= "\xD8" && l <= "\xF6" || l >= "\xF8" && l <= "\u1FFF" || l >= "\u3040" && l <= "\u318F" || l >= "\u3300" && l <= "\u337F" || l >= "\u3400" && l <= "\u3D2D" || l >= "\u4E00" && l <= "\u9FFF" || l >= "\uF900" && l <= "\uFAFF" || l >= "\uFF00" && l <= "\uFFEF" ? e4 = 32 : (l >= "\0" && l <= "\b" || l >= "\v" && l <= "\f" || l >= "" && l <= "" || "#" == l || "'" == l || ";" == l || "@" == l || l >= "_" && l <= "`" || "{" == l || "}" == l || l >= "\x7F" && l <= "\xBF" || "\xD7" == l || "\xF7" == l || l >= "\u2000" && l <= "\u303F" || l >= "\u3190" && l <= "\u32FF" || l >= "\u3380" && l <= "\u33FF" || l >= "\u3D2E" && l <= "\u4DFF" || l >= "\uA000" && l <= "\uF8FF" || l >= "\uFB00" && l <= "\uFEFF" || l >= "\uFFF0" && l <= "\uFFFF") && (e4 = 33), e4 >= 0) return e4; + }); + }, t2.getSingleBot = function(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; + if (!i3 || !i3.integrationId) throw u.error("Invalid getSingleBot request parameters"), new Error("Invalid getSingleBot request parameters"); + const n3 = i3.integrationId; + try { + const t4 = yield _(n3, e3); + return yield g(h, n3, t4.id, e3), yield m(n3, t4.id, e3); + } catch (t4) { + throw u.exception(t4, `Failed to get botId ${e3}:`), t4; } - }.call(this.recognizer, e3, t3); - if (!org.antlr.lang.isUndefined(n2)) return n2; - var r2 = new org.antlr.runtime.NoViableAltException(this.getDescription(), 9, i3, t3); - throw this.error(r2), r2; - }, dummy: null }), e2.exports = i2; - }, 44076: (e2, t2, i2) => { + }); + }; + const n2 = i2(31635), o = n2.__importStar(i2(24032)), r = n2.__importStar(i2(74828)), a = n2.__importDefault(i2(36019)), s = n2.__importStar(i2(22717)), l = n2.__importDefault(i2(92140)), u = o.getTopic("nuanceApi"); + function c(e3, t3) { + const i3 = { integrationId: e3 }; + return a.default.build(r.startGetAllNuanceMixBots).templateParams(i3).queryParams(t3.getSearchQueryParams()).call(); + } + function d(e3, t3) { + const i3 = { integrationId: e3, jobId: t3 }; + return a.default.build(r.getAllNuanceMixBotsJobStatus).templateParams(i3).call(); + } + function p(e3, t3) { + const i3 = { integrationId: e3, jobId: t3 }; + return a.default.build(r.getAllNuanceMixBotsJobResults).templateParams(i3).call(); + } + function _(e3, t3, i3) { + const n3 = { botId: t3, integrationId: e3 }; + return a.default.build(r.startGetSingleNuanceMixBot).templateParams(n3).call(); + } + function h(e3, t3, i3) { + const n3 = { botId: i3, integrationId: e3, jobId: t3 }; + return a.default.build(r.getSingleNuanceMixBotJobStatus).templateParams(n3).call(); + } + function m(e3, t3, i3) { + const n3 = { botId: i3, integrationId: e3, jobId: t3 }; + return a.default.build(r.getSingleNuanceMixBotJobResults).templateParams(n3).call(); + } + function g(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + return s.poll(() => n2.__awaiter(this, void 0, void 0, function* () { + return e3(t3, i3, o2); + }), (e4) => { + if (l.default.isObject(e4)) return "Running" !== e4.state; + }, 2e3, 150); + }); + } + c.api = r.startGetAllNuanceMixBots, d.api = r.getAllNuanceMixBotsJobStatus, p.api = r.getAllNuanceMixBotsJobResults, _.api = r.startGetSingleNuanceMixBot, h.api = r.getSingleNuanceMixBotJobStatus, m.api = r.getSingleNuanceMixBotJobResults; + }, 14232(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.parseExpression = function(e3) { - if (e3.expression.isBlank) { - if (e3.expression.consumesSecureData = false, e3.expression.options.isOptional) { - const t4 = e3.expression; - if (!e3.expression.type.isMatch(y.globalTypes.audio, f.settings.exact) || t4.isNoValueMode || t4.options.allowBlankAudio) { - if (t4.isNoValueMode || !t4.shouldBeNoValue) { - 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, R.expression.notSet), void (e3.success = false); - } - return x(e3, R.audio.blankAudioExpression), void (e3.success = false); - } - 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)(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 w(i4); - return n4.displayRecognitionError = function(i5, n5) { - U(e4, t4); - }, n4; - })(i3, e3._lineExtents); - try { - e3.success = (function(e4, t4, i4, n4) { - var r3, l2, u2; - !(function(e5, t5) { - if (e5._lineExtents.length = 0, t5) { - const i5 = t5.split("\n"); - if (1 === i5.length) e5._lineExtents[1] = 0; - else { - let t6 = 0; - for (let n5 = 0; n5 < i5.length; n5++) e5._lineExtents[n5 + 1] = t6, i5[n5] && (t6 += i5[n5].length), t6++; - } - } - })(e4, t4); - 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); - })(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)(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)(R.expression.mustReferenceVariable, e4.expression.options.exprTextRootVariableNameMustBe)), false; - } else { - 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)(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)(R.expression.variableIsReadOnly, e4.expression.text)), false; - if (!(function(e5) { - const t5 = e5.expression.type; - if (!t5 || !e5.resultExpression) return true; - if (e5.resultExpression.type.isMatch(t5, f.settings.exact)) { - if (e5.resultExpression.isLit && e5.expression.options && e5.expression.options.literalValidatorName) { - const t6 = m.expressionDataService._validateLiteralWithProvider(e5.expression.options.literalValidatorName, e5.resultExpression, e5.expression); - if (t6.parameterErrorStr) return x(e5, t6.parameterErrorStr), false; - } - return true; - } - 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)(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, 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; - t5.isWarning && k(e4, t5.message); - } - return (function(e5) { - if (e5.languages.length < 1 || !e5.expression.options || !e5.expression.options.durationFacets || !e5.metaData || !e5.metaData.references) return true; - a.default.find(e5.metaData.references, function(t5) { - if (y.globalTypes.prompt.dataType === t5.type) { - const i5 = h.checkPromptAudioDuration(e5.expression, t5.id); - if (i5) return k(e5, i5), true; - } - }); - })(e4), (function(e5) { - let t5 = true; - if (e5.resultExpression && e5.resultExpression.ToAudioBlank) { - const i5 = e5.resultExpression.getOperands(); - if (i5 && 1 === i5.length && i5[0].lit) { - const n5 = i5[0].lit, r4 = parseInt(n5.text); - if (a.default.isActualNumber(r4)) { - const i6 = h.checkBlankAudioLength(e5.expression, r4); - i6 && (t5 = false, k(e5, i6)); - } - } - } - })(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, R.expression.internalErrorExpression); - } - !(function(e4, t4) { - e4.displayRecognitionError = null, t4.displayRecognitionError = null; - })(i3, n3); + Object.defineProperty(t2, "__esModule", { value: true }), t2.getOAuthClientInfo = a; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(66299)); + function a(e3) { + return o.default.build(r.getOAuthClientInfo).templateParams({ clientId: e3 }).call(); + } + a.api = r.getOAuthClientInfo; + }, 97920(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createPromptContainer = r, 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) { + return S(e3, true); + }, t2.getUserPromptContainers = function(e3) { + return m(e3, false); + }, t2.getUserPromptContainers_ignoreBadResponse = function(e3) { + return S(e3, false); + }, t2.getPromptResource = A, t2.getPromptResources = N, t2.updatePromptContainer = v, t2.updatePromptResource = I, t2.uploadAudio = C, t2.getPromptUploadPresignedUrl = O, t2.uploadAudioViaPresignedUrl = b; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(10954); + function r(e3, t3) { + const i3 = n2.default.build(o.createPromptContainer); + return i3.content({ name: e3, description: t3 || "" }), i3.call(); + } + function a(e3, t3, i3, r2, a2) { + const s2 = a2 ? n2.default.build(o.createSystemPromptResource) : n2.default.build(o.createPromptResource), l2 = { language: t3, ttsString: i3 || "", text: r2 || "" }; + return s2.content(l2).templateParams({ promptId: e3 }), s2.call(); + } + function s(e3) { + const t3 = n2.default.build(o.deletePromptContainer); + return t3.templateParams({ id: e3 }), t3.queryParams({ allResources: true }), t3.call(); + } + function l(e3, t3) { + const i3 = n2.default.build(o.deletePromptResource); + return i3.templateParams({ promptId: e3, language: t3 }), i3.call(); + } + function u(e3, t3, i3) { + const r2 = i3 ? n2.default.build(o.revertSystemPromptResourceAudio) : n2.default.build(o.clearUserPromptAudio); + return r2.templateParams({ promptId: e3, language: t3 }), r2.call(); + } + function c(e3, t3, i3) { + const r2 = t3 ? n2.default.build(o.getSystemPromptContainer) : n2.default.build(o.getPromptContainer); + return r2.templateParams({ id: e3 }), r2.queryParams(i3), r2.call(); + } + r.api = o.createPromptContainer, a.api = (e3) => e3 ? o.createSystemPromptResource : o.createPromptResource, s.api = o.deletePromptContainer, l.api = o.deletePromptResource, u.api = (e3) => e3 ? o.revertSystemPromptResourceAudio : o.clearUserPromptAudio, c.api = (e3) => e3 ? o.getSystemPromptContainer : o.getPromptContainer; + const d = o.getSystemPromptContainer.clone({ ignoreBadResponse: true }), p = o.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(d); + return t3.templateParams({ id: e3 }), t3.call(); + } + function m(e3, t3) { + const i3 = t3 ? n2.default.build(o.getSystemPromptContainers) : n2.default.build(o.getPromptContainers); + return i3.queryParams(e3), i3.call(); + } + function g(e3) { + const t3 = n2.default.build(o.getPromptContainers); + return t3.queryParams({ pageSize: e3.length, name: e3 }), t3.call(); + } + function f(e3) { + const t3 = n2.default.build(o.getSystemPromptContainers); + return t3.queryParams({ pageSize: e3.length, name: e3 }), t3.call(); + } + _.api = p, h.api = d, m.api = (e3) => e3 ? o.getSystemPromptContainers : o.getPromptContainers, g.api = o.getPromptContainers, f.api = o.getSystemPromptContainers; + const T = o.getSystemPromptContainers.clone({ ignoreBadResponse: true }), y = o.getPromptContainers.clone({ ignoreBadResponse: true }); + function S(e3, t3) { + const i3 = t3 ? n2.default.build(T) : n2.default.build(y); + return i3.queryParams(e3.getSearchQueryParams()), i3.call(); + } + function A(e3, t3, i3) { + const r2 = i3 ? n2.default.build(o.getSystemPromptResource) : n2.default.build(o.getPromptResource); + return r2.templateParams({ promptId: e3, language: t3 }), r2.call(); + } + function N(e3, t3, i3) { + const r2 = i3 ? n2.default.build(o.getSystemPromptResources) : n2.default.build(o.getPromptResources); + return r2.templateParams({ promptId: e3 }).queryParams(t3), r2.call(); + } + function v(e3, t3, i3) { + const r2 = n2.default.build(o.updatePromptContainer); + return r2.content({ name: t3, description: i3 || "" }).templateParams({ id: e3 }), r2.call(); + } + function I(e3, t3) { + const i3 = n2.default.build(o.updatePromptResource), r2 = { 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 && (r2.tags = t3.tags), i3.templateParams({ promptId: e3, language: t3.language }).content(r2).call(); + } + function C(e3, t3) { + const i3 = n2.default.build(o.audioUpload); + return i3.url = t3, delete i3.headers.Accept, delete i3.headers["Content-Type"], delete i3.headers["Genesys-App"], i3.file(e3).call(); + } + function O(e3, t3, i3) { + const r2 = e3 ? n2.default.build(o.getSystemPromptUploadPresignedUrl) : n2.default.build(o.getUserPromptUploadPresignedUrl); + return r2.templateParams({ promptId: t3, language: i3 }), r2.call(); + } + function b(e3, t3) { + const i3 = n2.default.build(o.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 ? o.getSystemPromptResource : o.getPromptResource, N.api = (e3) => e3 ? o.getSystemPromptResources : o.getPromptResources, v.api = o.updatePromptContainer, I.api = o.updatePromptResource, C.api = o.audioUpload, O.api = (e3) => e3 ? o.getSystemPromptUploadPresignedUrl : o.getUserPromptUploadPresignedUrl, b.api = o.audioUploadViaPresignedUrl; + }, 90891(e2, t2, i2) { + "use strict"; + 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 = o.default.build(o.default.request("PUT", e3)); + return n3.headers = t3, n3.imageFile(i3).call(); }; - 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); + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = i2(81621); + function l(e3) { + const t3 = r.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getLibrariesDivisionView : s.getLibraries; + return o.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); } - function P(e3, t3, i3, n3) { - t3.getOperands().push(n3), i3.push(n3); + function u(e3) { + const t3 = r.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getLibraryDivisionView : s.getLibrary; + return o.default.build(t3).templateParams({ id: e3 }).call(); } - function M(e3) { - return e3.resultType === A.ParseResultTypes.error && e3.resultMessage; + function c(e3) { + const t3 = r.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getResponsesDivisionView : s.getResponses, i3 = o.default.build(t3), n3 = e3.getSearchQueryParams(); + return i3.content(n3), i3.call(); } - function F(e3, t3, i3, n3, r3, o2, a2) { - e3.resultType = t3, e3.resultMessage = i3, e3.resultPosition = n3 > 0 ? n3 - 1 : -1, e3.resultReference = r3, e3.resultHelpTopic = o2, e3.errorBreaksStandardModeParsing = a2; + function d(e3) { + return o.default.build(s.getResponseAsset).templateParams({ id: e3 }).call(); } - function L(e3, t3, i3, n3, r3) { - switch (e3.resultType) { - case A.ParseResultTypes.error: - case A.ParseResultTypes.warn: - break; - default: - F(e3, A.ParseResultTypes.info, t3, i3, n3, r3); - } + function p(e3) { + const t3 = o.default.build(s.getResponseAssets), i3 = e3.get_q64searchContent(); + return t3.content(i3), t3.call(); } - function x(e3, t3, i3, n3, r3, o2) { - F(e3, A.ParseResultTypes.error, t3, i3, n3, r3, o2); + function _(e3) { + const t3 = o.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 k(e3, t3, i3, n3, r3) { - F(e3, A.ParseResultTypes.warn, t3, i3, n3, r3); + function h(e3) { + const t3 = o.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 V(e3, t3) { - return x(e3, (0, o.sprintf)(R.expression.errorAtPosition, t3), t3, null, null, true), false; + function m(e3) { + const t3 = o.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 U(e3, t3) { - return e3 ? t3[e3.getLine()] + e3.getCharPositionInLine() + 1 : -1; + function g(e3) { + const t3 = o.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 B(e3, t3) { - return e3 ? t3[e3.line] + e3.charPositionInLine + 1 : -1; + function f(e3) { + const t3 = r.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getResponseDivisionView : s.getResponse; + return o.default.build(t3).queryParams({ expand: "substitutionsSchema" }).templateParams({ id: e3 }).call(); } - function G(e3, t3) { - if (1 === t3.getChildCount()) { - const i3 = t3.getChild(0), n3 = (0 === parseFloat(i3.getText()) ? "" : "-") + i3.getText(), r3 = B(t3.token, e3._lineExtents); - 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)(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)(R.expression.decimalValueTooMuchPrecision, n3, r3, _.default.maxPrecision), r3); - } - } - return null; + function T(e3) { + const t3 = o.default.build(s.getResponseAssetUploadURL); + return t3.content(e3), t3.call(); } - function j(e3, t3, i3, n3, r3) { - 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; - if (e4.expression && e4.expression.parentFlow && e4.expression.parentFlow.isNluFlow) return true; - const s2 = a.default.filter(e4._languagesSnapshot, function(e5) { - return !e5.supportedLanguageContexts || !e5.supportedLanguageContexts[n4.id]; - }); - if (s2.length > 0) { - 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; + function y(e3) { + return o.default.build(s.getResponseAssetUploadStatus).templateParams({ statusId: e3 }).call(); + } + 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; + }, 50461(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getEmergencyGroups = function(e3) { + const t3 = r.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getEmergencyGroupsDivisionView : s.getEmergencyGroups; + return o.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); + }, t2.getEmergencyGroup = l, t2.getSchedules = function(e3) { + const t3 = r.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getSchedulesDivisionView : s.getSchedules; + return o.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); + }, t2.getSchedule = u, t2.getScheduleGroups = function(e3) { + const t3 = r.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getScheduleGroupsDivisionView : s.getScheduleGroups; + return o.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); + }, t2.getScheduleGroup = c; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(10798)), a = n2.__importDefault(i2(4648)), s = n2.__importStar(i2(72738)); + function l(e3) { + return l.api = r.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getEmergencyGroupDivisionView : s.getEmergencyGroup, o.default.build(l.api).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); + } + function u(e3) { + return u.api = r.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getScheduleDivisionView : s.getSchedule, o.default.build(u.api).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); + } + function c(e3) { + return c.api = r.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getScheduleGroupDivisionView : s.getScheduleGroup, o.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, c.api = s.getScheduleGroup; + }, 60453(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSmsPhoneNumbers = a, t2.getSmsPhoneNumber = s; + const n2 = i2(31635), o = n2.__importStar(i2(17552)), r = n2.__importDefault(i2(36019)); + function a(e3) { + const t3 = r.default.build(o.getSmsPhoneNumbers); + return t3.queryParams({ name: e3.searchTerm, pageSize: e3.defaultPageSize, sortOrder: "ascending", pageNumber: e3.pageNumber }), t3.call(); + } + function s(e3) { + return r.default.build(o.getSmsPhoneNumber).templateParams({ phoneNumber: e3 }).call(); + } + a.api = o.getSmsPhoneNumbers, s.api = o.getSmsPhoneNumber; + }, 40728(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSpeechToTextEngine = a, t2.getSpeechToTextEngines = s; + const n2 = i2(31635), o = n2.__importStar(i2(2235)), r = n2.__importDefault(i2(36019)); + function a(e3) { + return r.default.build(o.getSpeechToTextEngine).templateParams({ engineId: e3 }).call(); + } + function s(e3) { + return r.default.build(o.getSpeechToTextEngines).queryParams(e3.getSearchQueryParams()).call(); + } + a.api = o.getSpeechToTextEngine, s.api = o.getSpeechToTextEngines; + }, 87995(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSurveyForms = a, t2.getSurveyForm = s, t2.getSurveyFormVersions = function(e3) { + const t3 = o.default.build(r.getSurveyFormVersions), i3 = e3.getSearchQueryParams(true), n3 = e3.additionalParams; + return t3.templateParams(n3).queryParams(i3).call(); + }, t2.getLatestPublishedSurveyForm = function(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = o.default.build(r.getLatestPublishedSurveyForm).templateParams({ contextId: e3 }), i3 = yield t3.call(); + return null == i3 ? void 0 : i3.entities[0]; + }); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(13202)); + function a(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = o.default.build(r.getSurveyForms); + if (e3) { + const i4 = e3.getSearchQueryParams(); + i4.onlyLatestEnabledPerContext = true, t3.queryParams(i4); } - return true; - })(e3, t3, i3, n3, r3); - throw (0, o.sprintf)("Unsupported property usage validation '%1$s' so usage cannot be validated and expression will be treated in error.", n3.usageValidation); + const i3 = yield t3.call(); + return i3.entities.sort((e4, t4) => e4.name.localeCompare(t4.name)), i3; + }); } - function W(e3) { - e3.pop(); + function s(e3) { + return o.default.build(r.getSurveyForm).templateParams({ id: e3 }).call(); } - function q(e3, t3, i3) { - var n3, s2; - const l2 = t3.length; - if (!t3 || l2 < 2) return null; - 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)(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(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: ${c.getListDisplayString(t4, false, true)}`, i3), null; + a.api = r.getSurveyForms, s.api = r.getSurveyForm; + }, 68208(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(24364), r = i2(78); + class a { + constructor(e3) { + this.context = void 0, this.name = e3; } - 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), c2 = g.expressionItems.fieldAccess(s3), p2 = o2.substring(1, o2.length), _3 = m2.type.getPropertyDefinition(p2, true); - if (!_3) 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; - let e4, n5 = t3[0].getText(); - for (let e5 = 1; e5 <= T2; e5++) n5 += t3[e5].getText(); - 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(v, function(e5) { - return e5.id = f2.valueToResolve; - }); - A2 && (e4 = g.expressionItems.stringLiteral(i3, A2.id, y.globalTypes.string)); - break; - case S.propertyToLiteralResolverNames.propIDToCountryCode: - var N2 = u.countryCodes[f2.valueToResolve]; - N2 && (e4 = g.expressionItems.stringLiteral(i3, N2, y.globalTypes.string)); - break; - case S.propertyToLiteralResolverNames.propIDToCurrencyCode: - var E2 = I[f2.valueToResolve]; - E2 && (e4 = g.expressionItems.stringLiteral(i3, E2.code, y.globalTypes.string)); - break; - case S.propertyToLiteralResolverNames.propIDToDialingCode: - var w2 = u.countryMap[f2.valueToResolve]; - w2 && (e4 = g.expressionItems.stringLiteral(i3, w2.dialingCode, y.globalTypes.string)); - break; - case S.propertyToLiteralResolverNames.propIDToLanguageTag: - 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: - var M2 = a.default.find(C, function(e5) { - return e5.id = f2.valueToResolve; - }); - M2 && (e4 = g.expressionItems.stringLiteral(i3, M2.id, y.globalTypes.string)); - break; - case S.propertyToLiteralResolverNames.propIDToSurveyDisposition: - var F2 = a.default.find(b, function(e5) { - return e5.id = f2.valueToResolve; - }); - F2 && (e4 = g.expressionItems.stringLiteral(i3, F2.id, y.globalTypes.string)); - } - 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, c2, g.expressionItems.propAccessLiteral(s3, p2, _3.id, _3.group)), D(e3._rootItem, c2, m2), m2 = c2, m2.type = _3.type, T2++; + addContext(e3, t3) { + e3 && t3 && (this.context || (this.context = {}), this.context[e3] = t3); } - return m2; - } - function Y(e3, t3, i3, n3, r3) { - i3.setContainerExpressionMetaData(t3); - const s2 = i3.getOperands(); - if (!s2) return true; - if (!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; + debug(e3, ...t3) { } - 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 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(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 (!d2.supportedFlowTypes[r4]) { - let e6; - const n5 = (0, o.sprintf)(R.expression.functions.funcOpPosPrefix, i3.getTextWithFuncOpTextFallback(), i3.position); - switch (s2.length) { - case 0: - e6 = (0, o.sprintf)(R.expression.functions.notAvailableInFlowTypeNoParm, n5, l.default.getFlowTypeDisplayName(r4)); - break; - case 1: - e6 = (0, o.sprintf)(R.expression.functions.notAvailableInFlowTypeOneParm, n5, c.getOperandListDisplayString(s2), l.default.getFlowTypeDisplayName(r4)); - break; - default: - 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; + error(e3, ...t3) { + const i3 = [null].concat(n2.default.rest(arguments, 0)); + this._error.apply(this, i3); + } + errorWithErrorObjectInfo(e3, t3, i3, o2) { + const r2 = [null].concat(n2.default.rest(arguments, 0)); + this.exceptionWithErrorObjectInfo.apply(this, r2); + } + errorPromise(e3, t3, ...i3) { + e3 && e3.isRequestError ? this.requestError(e3, t3) : this._handlePromiseError(n2.default.partial(this._error, void 0), e3, t3, n2.default.rest(arguments, 2)); + } + errorWithStack(e3, t3, ...i3) { + e3 || (e3 = new Error()); + const o2 = [e3, t3].concat(n2.default.rest(arguments, 2)); + this._error.apply(this, o2); + } + exception(e3, t3, ...i3) { + t3 = "Unhandled exception caught!\n" + t3, (null == e3 ? void 0 : e3.name) && (t3 += ` +${e3.name}`), (null == e3 ? void 0 : e3.message) && (t3 += ` +${e3.message}`); + const o2 = [e3, t3].concat(n2.default.rest(arguments, 2)); + this.errorWithStack.apply(this, o2); + } + exceptionWarning(e3, t3, ...i3) { + const o2 = [e3, t3 = "Unhandled exception caught!\n" + t3].concat(n2.default.rest(arguments, 2)); + this.warningWithStack.apply(this, o2); + } + exceptionWithErrorObjectInfo(e3, t3, i3, o2, r2) { + if (t3 = t3 || "", n2.default.isBoolean(o2) || (o2 = n2.default.isObject(e3)), e3 && (t3 = "Unhandled exception caught!\n" + t3), i3) { + const n3 = { objectId: i3.id }; + let r3; + if (i3.className && (n3.className = i3.className), i3.definitionId && (n3.definitionId = i3.definitionId), i3.parentFlow ? r3 = i3.parentFlow : i3.isFlowViewModel && (r3 = i3), r3 && (n3.flowId = r3.id, r3.versions && (n3.flowNextVersionNumber = r3.versions.nextVersionNumber), r3.info)) { + const e4 = r3.info; + e4.division && (n3.divisionId = e4.division.id); } - } + o2 ? this.withMultipleContext(n3).errorWithStack(e3, t3) : this.withMultipleContext(n3).error(t3); + } else o2 ? this.errorWithStack(e3, t3) : this.error(t3); } - if (d2.maxOperands) { - const e4 = i3.getOperands(); - 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; + errorCtorParmInternal(e3, t3, i3) { + this.error("Internal Error - the constructor parameter '" + e3 + "' with value of '" + t3 + "' is invalid." + (i3 ? " " + i3 : "")); } - let p2, _2; - 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); + errorPropertySetInternal(e3, t3, i3, n3) { + this.errorPropertySet(e3, t3, i3, "Internal Error" + (n3 ? " - " + n3 : "")); } - 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 === w.EOF) return true; - const a2 = B(t3.token, e3._lineExtents); - let s2 = t3.getText(); - switch (r3) { - case 0: - case w.UP: - case w.DOWN: - case w.COMMA: - break; - 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)(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)); + errorPropertySet(e3, t3, i3, n3) { + const o2 = "Cannot set the value of property '" + t3 + "' to the value '" + i3 + "'." + (n3 ? " Reason: " + n3 : ""); + this.error(o2); + } + errorHandler(e3, ...t3) { + let i3 = n2.default.rest(arguments, 0); + return (e4) => { + i3 = [this, e4].concat(i3), o.error.apply(o, i3), r.error.apply(r, i3); + }; + } + info(e3, ...t3) { + const i3 = [this].concat(n2.default.rest(arguments, 0)); + r.info.apply(r, i3); + } + infoWithObject(e3, ...t3) { + r.info.apply(r, [this.withContext("info", e3)].concat(n2.default.rest(arguments, 1))); + } + infoWithStack(e3, t3) { + e3 || (e3 = new Error()); + const i3 = `${t3} +${e3.stack}`, n3 = [this].concat(i3); + r.info.apply(r, n3); + } + requestError(e3, t3) { + if (!e3) return; + const i3 = [`Request Error: ${t3}`]; + e3.message && i3.push(`request error: ${e3.message}`), e3.code && i3.push(`code: ${e3.code}`), e3.status && i3.push(`status: ${e3.status}`), e3.statusText && i3.push(`status text: ${e3.statusText}`); + const n3 = i3.join(", "); + switch (e3.status ? e3.status.toString() : void 0) { + case "409": + case "404": + this.info(n3); break; - } - 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 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 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 w.TERNARY_THEN: - break; - 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 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 w.STRING_LITERAL: - s2 = s2.substring(1, s2.length - 1), D(e3._rootItem, n3, g.expressionItems.stringLiteral(a2, s2, y.globalTypes.string)); - break; - case w.BOOL_TRUE: - case w.BOOL_FALSE: - D(e3._rootItem, n3, g.expressionItems.literal(a2, s2, y.globalTypes.boolean)); - break; - case w.NOT_SET: - D(e3._rootItem, n3, g.expressionItems.nul(a2)); - break; - case w.PAREN_LEFT: - e3._parens.push(a2); - break; - 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 w.BRACKET_LEFT: - e3._brackets.push(a2), P(e3._rootItem, n3, i3, g.expressionItems.op(a2, s2)); - break; - 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)(R.expression.invalidInputAtPosition, a2), a2), false; + case "403": + this.warning(n3); + break; + default: + this.error(n3); + } + } + warning(e3, ...t3) { + const i3 = [this].concat(n2.default.rest(arguments, 0)); + o.warning.apply(o, i3), r.warning.apply(r, i3); + } + warningPromise(e3, t3, ...i3) { + this._handlePromiseError(this.warning, e3, t3, n2.default.rest(arguments, 2)); + } + warningWithStack(e3, t3) { + e3 || (e3 = new Error()); + const i3 = `${t3} +${e3.stack}`, n3 = [this].concat(i3); + o.warning.apply(o, n3), r.warning.apply(r, n3); + } + withContext(e3, t3) { + if (!e3 || !t3) return this; + const i3 = new a(this.name); + return i3.copyContext(this), i3.addContext(e3, t3), i3; + } + copyContext(e3) { + return e3 ? (n2.default.each(e3.context, (e4, t3) => { + this.addContext(t3, e4); + }), this) : this; + } + withMultipleContext(e3) { + if (!e3) return this; + const t3 = new a(this.name); + return t3.copyContext(this), n2.default.each(e3, (e4, i3) => { + t3.addContext(i3, e4); + }), t3; + } + traceOnce(e3, t3) { + e3 || (e3 = ""), this.__traceOnceMap || (this.__traceOnceMap = {}), this.__traceOnceMap[e3] || (this.__traceOnceMap[e3] = true, t3(this)); + } + _error(e3, t3) { + const i3 = [this].concat(n2.default.rest(arguments, 0)); + o.error.apply(o, i3), r.error.apply(r, i3); + } + _handlePromiseError(e3, t3, i3, o2) { + let r2 = ""; + t3 && (n2.default.isString(t3) ? r2 += "error: " + t3 : (t3.name && (r2 += "errorName: " + t3.name), t3.name && t3.message && (r2 += " -- "), t3.message && (r2 += "errorMessage: " + t3.message), r2 || (r2 += "unknown error object: " + JSON.stringify(t3)))), i3 && (r2 += "\n" + i3); + const a2 = [r2].concat(o2); + e3.apply(this, a2); } - return true; } - function J(e3, t3, i3, n3) { - if (!t3) return true; - 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; + t2.default = a; + }, 24032(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getTopic = a; + const n2 = i2(31635).__importDefault(i2(68208)), o = {}, r = a("architect"); + function a(e3) { + if (!e3) return r; + let t3 = o[e3]; + if (t3) return t3; + const i3 = "architect." + e3; + return t3 = o[i3], t3 || (t3 = new n2.default(i3), o[e3] = t3, t3); + } + }, 15797(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getUtilizationLabels = a, t2.getUtilizationLabel = s, t2.deleteUtilizationLabel = l, t2.createUtilizationLabel = u; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(51724)); + function a(e3) { + const t3 = o.default.build(r.getUtilizationLabels); + return t3.queryParams({ name: e3.searchTerm, pageSize: e3.defaultPageSize, sortOrder: e3.sortOrder, pageNumber: e3.pageNumber }), t3.call(); + } + function s(e3) { + return o.default.build(r.getUtilizationLabel).templateParams({ id: e3 }).call(); + } + function l(e3) { + return o.default.build(r.deleteUtilizationLabel).templateParams({ id: e3 }).call(); + } + function u() { + return o.default.build(r.createUtilizationLabel).call(); + } + a.api = r.getUtilizationLabels, s.api = r.getUtilizationLabel, l.api = r.deleteUtilizationLabel, u.api = r.createUtilizationLabel; + }, 73270(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createWorkitem = function(e3) { + return o.default.build(r.createWorkitem).content(e3).call(); + }, t2.getWorktypes = a, t2.getSchema = s, t2.getWorktype = l; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = n2.__importStar(i2(28350)); + function a(e3) { + const t3 = o.default.build(r.getWorktypes), i3 = e3.searchTerm, n3 = { after: e3.after, pageSize: e3.defaultPageSize, sort: { name: "name", ascending: "true" }, attributes: ["name", "id", "schemaId", "flowId"] }; + return i3 && (n3.filters = [{ type: "String", operator: "CONTAINS", name: "name", values: [i3] }]), t3.content(n3).call(); + } + function s(e3) { + return o.default.build(r.getSchema).templateParams({ id: e3 }).call(); + } + function l(e3) { + return o.default.build(r.getWorktype).templateParams({ id: e3 }).call(); + } + s.api = r.getSchema, l.api = r.getWorktype, a.api = r.getWorktypes; + }, 19596(e2, t2, i2) { + "use strict"; + t2.DataContract = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(80295), r = i2(24032), a = i2(43096), s = (0, r.getTopic)("DataContract"); + t2.DataContract = class { + constructor(e3) { + n2.default.isString(e3) && (e3 = this._jsonParse(e3)), this._clone(e3, this), this.autoUnEnumeratePrivateVariables(); } - return !(n3 && !H(e3, t3, i3)) && (function(e4, t4, i4) { - const n4 = t4.getChildCount(); - if (0 === n4) return true; - for (let s3 = 0; s3 < n4; s3++) { - let l2 = null; - const u2 = t4.getChild(s3), c2 = B(u2.token, e4._lineExtents); - let d2, p2; - switch (u2.getType()) { - case w.IDENTIFIER: - var r3 = false; - if (p2 = u2.getText(), !m.expressionDataService.getRegisteredFuncOpsByText(p2)) { - for (d2 = [u2]; s3 + 1 < n4; ) { - const e5 = t4.getChild(s3 + 1); - 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, d2, c2), !l2)) return M(e4) || x(e4, (0, o.sprintf)(R.expression.variableReferenceNotValid, p2.trimForDisplay(), c2), c2), false; - } - break; - 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() === 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() !== 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, 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; - i4[i4.length - 1].isBracketAccess && W(i4); - } + get result() { + return this._result; + } + set result(e3) { + this._result = e3; + } + flatten() { + return this._flatten(this); + } + toJSON() { + return this.flatten(); + } + valueOf() { + return this.flatten(); + } + getConfiguration(e3, t3) { + return this; + } + handleError(e3) { + s.errorWithStack(e3, "Ignored Configuration Item"); + } + _flatten(e3) { + const t3 = {}; + for (const i3 in e3) t3[i3] = e3[i3]; + return t3; + } + _clone(e3, t3) { + if (e3 && t3) for (const i3 of Object.getOwnPropertyNames(e3)) t3[i3] = e3[i3]; + } + autoUnEnumeratePrivateVariables() { + const e3 = Object.getOwnPropertyNames(this); + for (const t3 of e3) t3.match(/^_[^_].*$/) && (0, o.makeUnenumerable)(this, t3); + } + _jsonParse(e3) { + return JSON.parse(e3, this._jsonReviver); + } + _jsonReviver(e3, t3) { + return t3 && t3.__type && n2.default.isFunction(a[t3.__type]) ? new a[t3.__type](t3) : t3; + } + populateFromJSON(e3) { + this._clone(e3, this); + } + pasteReIdOrRename(e3) { + } + pasteResolveOldToNewValues(e3) { + } + reviveArray(e3, t3) { + if (!Array.isArray(e3)) return []; + for (let i3 = 0; i3 < e3.length; i3++) { + const n3 = e3[i3]; + try { + if (!n3) { + e3.splice(i3--, 1); continue; + } + n3 instanceof (t3 = a[n3.__type] || t3) || (e3[i3] = new t3(n3)); + } catch (t4) { + e3.splice(i3--, 1), this.handleError(t4); } - if (l2) D(e4._rootItem, i4[i4.length - 1], l2); - else if (!J(e4, u2, i4, true)) return false; } - const s2 = () => !!i4.length && i4[i4.length - 1].isBracketArrayOrPropAccess; - if (s2()) do { - W(i4); - } while (s2()); - else W(i4); - return true; - })(e3, t3, i3); - } - }, 44095: (e2, t2, i2) => { - const n2 = i2(28730), { disconnectActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 44103: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { holdMusicActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _bargeInExpression: { writable: true }, _duration: { writable: true }, _playForDuration: { writable: true }, _prompt: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.duration.pasteReIdOrRename(e3), this.prompt.pasteResolveOldToNewValues(e3), this.bargeInExpression.pasteResolveOldToNewValues(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.duration.pasteResolveOldToNewValues(e3), this.prompt.pasteResolveOldToNewValues(e3), this.bargeInExpression.pasteResolveOldToNewValues(e3); - } }, duration: { enumerable: true, get: function() { - return this._duration; - }, set: function(e3) { - this._duration = this.reviveItem(e3, r2); - } }, playForDuration: { enumerable: true, get: function() { - return this._playForDuration || false; - }, set: function(e3) { - this._playForDuration = e3; - } }, prompt: { enumerable: true, get: function() { - return this._prompt; - }, set: function(e3) { - this._prompt = this.reviveItem(e3, r2); - } }, bargeInExpression: { enumerable: true, get: function() { - return this._bargeInExpression; - }, set: function(e3) { - this._bargeInExpression = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 44130: (e2, t2, i2) => { + return e3; + } + reviveArrayToMap(e3, t3) { + return n2.default.chain(e3).map((e4) => { + try { + return this.reviveItem(e4, t3); + } catch (e5) { + this.handleError(e5); + } + }).filter((e4) => e4).groupBy((e4) => { + const i3 = e4[t3.keyProperty || "id"]; + if (!i3) throw new Error(`revived item has no id or keyProperty ${JSON.stringify(e4)}`); + return i3; + }).reduce((e4, i3, o2) => { + let r2, a2 = i3[0]; + if (i3.length > 1) if (n2.default.isFunction(t3.getMasterItemIndexFromDuplicateKeyList)) { + const e5 = t3.getMasterItemIndexFromDuplicateKeyList(i3); + i3[e5] ? (a2 = i3.splice(e5, 1)[0], r2 = i3) : s.error(`Failed to get master item for group of duplicate ids: ${o2}, using first item, ignoring the rest`); + } else s.error(`Unexpected array with duplicate keys: ${o2}, using first item, ignoring the rest`); + return r2 && (t3.duplicateKeyListProperty ? a2[t3.duplicateKeyListProperty] = r2 : s.error(`Throwing away duplicates for key ${o2} because no duplicateKeyCombineProperty found`)), e4[o2] = a2, e4; + }, {}).value(); + } + reviveEnum(e3, t3) { + if (e3 || 0 === e3) return e3 instanceof t3 ? e3 : t3.getInstance(e3); + } + reviveItem(e3, t3) { + let i3; + try { + if (!e3) return; + e3.__type && (t3 = a[e3.__type] || t3), i3 = e3 instanceof t3 ? e3 : new t3(e3); + } catch (e4) { + i3 = void 0, this.handleError(e4); + } + return i3; + } + reviveMap(e3, t3, i3) { + const o2 = {}; + return n2.default.each(e3, (e4, n3) => { + const r2 = this.reviveItem(e4, t3); + i3 && (r2.id = n3), o2[n3] = r2; + }), o2; + } + static registerType() { + a[this.__type] = this; + } + }; + }, 99505(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(58467)), o = n2.__importStar(i2(14187)), a = i2(96618); - class s extends r2.default { + const n2 = i2(19596); + class o extends n2.DataContract { constructor(e3) { super(e3); } - get className() { - return "InQueueEmailFlowViewModel"; + get permissions() { + return this._permissions; } - get isInQueueEmailFlow() { - return true; + set permissions(e3) { + this._permissions = e3; } - get type() { - return a.flowTypes.flowTypeInQueueEmail; + get permissionPolicies() { + return this._permissionPolicies; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, o.scopes.email]; + set permissionPolicies(e3) { + this._permissionPolicies = e3; } - get wrappedYamlName() { - return "inqueueEmail"; + get roles() { + return this._roles; + } + set roles(e3) { + this._roles = e3; } } - t2.default = s; - }, 44143: (e2, t2, i2) => { + t2.A = o; + }, 90708(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.sampleTime = void 0; - var n2 = i2(62326), r2 = i2(43434), o = i2(62275); - t2.sampleTime = function(e3, t3) { - return void 0 === t3 && (t3 = n2.asyncScheduler), r2.sample(o.interval(e3, t3)); - }; - }, 44189: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(29565); - function o() { + var n2; + t2.AbortSendActionModel = void 0; + const o = i2(31635), r = i2(30801), a = i2(94858), s = i2(80295), l = o.__importDefault(i2(7401)); + class u extends a.BaseActionModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_message"); + } + get message() { + return this._message; + } + set message(e3) { + this._message = this.reviveItem(e3, l.default); + } + pasteReIdOrRename(e3) { + var t3; + super.pasteReIdOrRename(e3), null === (t3 = this.message) || void 0 === t3 || t3.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + var t3; + super.pasteResolveOldToNewValues(e3), null === (t3 = this.message) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); + } } - o.prototype.getDivisions = (e3) => n2.build(r2.getDivisions).queryParams(e3.getSearchQueryParams()).call(), o.prototype.getDivision = (e3) => n2.build(r2.getDivision).templateParams({ id: e3 }).call(), o.prototype.getDivision.api = r2.getDivision, e2.exports = new o(); - }, 44231: (e2, t2, i2) => { + t2.AbortSendActionModel = u, u.__type = r.abortSendActionType, 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])], u.prototype, "message", null), u.registerType(); + }, 82394(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(6035)), o = i2(96618), a = n2.__importDefault(i2(19359)); - class s extends r2.default { + var n2, o; + t2.AgenticAnythingElseActionModel = void 0; + const r = i2(31635), a = i2(30801), s = i2(80295), l = i2(80295), u = i2(80934), c = r.__importDefault(i2(7401)); + class d extends u.BaseActionWithOutputsModel { constructor(e3) { - super(e3), this.pathDiscovery = this._addToAutoManageSettings(new a.default(this)); + super(e3), this.__type = d.__type, (0, l.makeUnenumerable)(this, "_currentIndex"), (0, l.makeUnenumerable)(this, "_voiceEndOfInputTimeout"); } - get className() { - return "SecureCallFlowViewModel"; + get currentIndex() { + return this._currentIndex; } - get isSecureCallFlow() { - return true; + set currentIndex(e3) { + this._currentIndex = this.reviveItem(e3, c.default); } - get type() { - return o.flowTypes.flowTypeSecureCall; + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; } - get wrappedYamlName() { - return "secureCall"; + 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.default = s; - }, 44250: (e2, t2, i2) => { - const n2 = i2(41167), r2 = i2(35635); - function o() { - r2.prototype.extendProperties(this), o.baseConstructor.apply(this, arguments); - } - i2(22124).extend(o, "AuditInformation"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = o; - }, 44254: (e2, t2, i2) => { + t2.AgenticAnythingElseActionModel = d, d.__type = a.agenticAnythingElseActionType, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "currentIndex", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== c.default && c.default) ? o : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "voiceEndOfInputTimeout", null), d.registerType(); + }, 24801(e2, t2, i2) { "use strict"; - 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"; + var n2, o; + t2.AgenticAskForIntentActionModel = void 0; + const r = i2(31635), a = i2(30801), s = i2(80295), l = i2(80295), u = i2(80934), c = r.__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"); } - 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, this._diagnosticRequestBody = void 0, this._diagnosticScope = void 0, this._diagnosticScope = p.default.captureScope(); + get enableBargeIn() { + return this._enableBargeIn; } - _logStr() { - return `[${this.info.method}::${this.url}]`; + set enableBargeIn(e3) { + this._enableBargeIn = this.reviveItem(e3, c.default); } - _networkRequestIdPrefix() { - return this._networkRequestId ? `[ArchNetworkRequest id: ${this._networkRequestId}] ` : ""; + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; } - _logVerboseNote(e3) { - 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"); + set voiceEndOfInputTimeout(e3) { + this._voiceEndOfInputTimeout = this.reviveItem(e3, c.default); } - _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(m.magenta(`request failed - errorCode:${n3}, errorMessage:${r3}`)); + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._enableBargeIn && this._enableBargeIn.pasteResolveOldToNewValues(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3); } - _logResponseBody(e3, t3, i3) { - 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"); + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._enableBargeIn && this._enableBargeIn.pasteReIdOrRename(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteReIdOrRename(e3); } - _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); + } + t2.AgenticAskForIntentActionModel = d, d.__type = a.agenticAskForIntentActionType, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "enableBargeIn", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== c.default && c.default) ? o : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "voiceEndOfInputTimeout", null), d.registerType(); + }, 81904(e2, t2, i2) { + "use strict"; + t2.AskForAuthenticationActionModel = void 0; + const n2 = i2(31635), o = i2(30801), r = i2(80434), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(80295); + class u extends r.BaseActionWithFailureOutputsNoInputNoMatchModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_signInMessage"), (0, l.makeUnenumerable)(this, "_successMessage"), (0, l.makeUnenumerable)(this, "_authenticationCompletionTimeout"); } - 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(); + get signInMessage() { + return this._signInMessage; } - addTokenRequestHeaders() { - 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")}`; + set signInMessage(e3) { + this._signInMessage = this.reviveItem(e3, s.default); } - makeNetworkRequest() { - 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._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)), 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, 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 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; + get successMessage() { + return this._successMessage; } - getResponseHeaders() { - var e3; - return null === (e3 = this.response) || void 0 === e3 ? void 0 : e3.headers; + set successMessage(e3) { + this._successMessage = this.reviveItem(e3, s.default); } - file(e3) { - return this; + get authenticationCompletionTimeout() { + return this._authenticationCompletionTimeout; } - parseResponse() { - if (!this.response) return this.error || null; - let e3 = null; - try { - e3 = JSON.parse(this.response.responseText); - } catch (t3) { - e3 = null; - } - return e3 = e3 || this.response.responseText || null, e3; + set authenticationCompletionTimeout(e3) { + this._authenticationCompletionTimeout = this.reviveItem(e3, s.default); } - get isBaseClass() { - return false; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._signInMessage.pasteResolveOldToNewValues(e3), this._successMessage.pasteResolveOldToNewValues(e3), this._authenticationCompletionTimeout.pasteResolveOldToNewValues(e3); } - } - 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) { - if (!e3 || !t3 || !i3) return; - if (!s(t3)) return; - if (!i3) return; - let a2 = e3.referencedObjects; - a2 || (a2 = {}); - let u = a2.flows; - 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 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; - }; - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(4648)), a = i2(10798); - function s(e3) { - switch (e3) { - case r2.flowTypes.flowTypeBot: - case r2.flowTypes.flowTypeDigitalBot: - return (0, a.isFeatureAvailable)(o.default.botFlowsBotsCallingBots) || (0, a.isFeatureAvailable)(o.default.flowStubbing); - default: - return (0, a.isFeatureAvailable)(o.default.flowStubbing); + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._signInMessage.pasteReIdOrRename(e3), this._successMessage.pasteReIdOrRename(e3), this._authenticationCompletionTimeout.pasteReIdOrRename(e3); } } - function l(e3, t3, i3, n3, r3) { - if (e3 && t3) return { flow: { name: e3, type: t3, defaultLanguage: i3, variables: (function(e4, t4) { - const i4 = /* @__PURE__ */ new Map(); - (null == e4 ? void 0 : e4.items) && e4.items.forEach((e5) => { - const t5 = null == e5 ? void 0 : e5.name; - t5 && i4.set(t5, { name: t5, type: null == e5 ? void 0 : e5.type, isInput: true, isOutput: false }); - }), (null == t4 ? void 0 : t4.items) && t4.items.forEach((e5) => { - const t5 = null == e5 ? void 0 : e5.name; - if (t5) { - const n5 = i4.get(t5); - n5 ? n5.isOutput = true : i4.set(t5, { name: t5, type: null == e5 ? void 0 : e5.type, isInput: false, isOutput: true }); - } - }); - const n4 = []; - return i4.forEach(({ name: e5, type: t5, isInput: i5, isOutput: r4 }) => { - const o2 = null == t5 ? void 0 : t5.yamlTypeName; - if (o2) { - const t6 = `${o2}Variable`, a2 = { [t6]: { name: e5, isInput: i5, isOutput: r4 } }; - n4.push(a2); - } - }), n4; - })(n3, r3) } }; - } - }, 44351: (e2, t2) => { + t2.AskForAuthenticationActionModel = u, u.__type = o.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(); + }, 56198(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.surveyFormDtmfValues = t2.surveyFormDtmfNumericValues = t2.botFormDtmfTerminatingValues = t2.surveyFormDtmfTerminatingValues = t2.dtmfStar = t2.dtmfPound = void 0, t2.dtmfPound = "#", t2.dtmfStar = "*", t2.surveyFormDtmfTerminatingValues = [t2.dtmfPound, t2.dtmfStar].map((e3) => ({ id: e3, displayString: e3 })), t2.botFormDtmfTerminatingValues = [t2.dtmfPound].map((e3) => ({ id: e3, displayString: e3 })), t2.surveyFormDtmfNumericValues = [...[...Array(100).keys()].map((e3) => e3.toString())].map((e3) => ({ id: e3, displayString: e3 })), t2.surveyFormDtmfValues = [...t2.surveyFormDtmfNumericValues, ...t2.surveyFormDtmfTerminatingValues]; - }, 44374: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(17604), r2 = i2(34490), o = i2(47957); - class a extends r2.LexAliasViewModel { + t2.AskForPaymentActionModel = void 0; + const n2 = i2(31635), o = i2(30801), r = i2(39194), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(80295); + class u extends r.BaseActionNoInputNoMatchModel { constructor(e3) { - super(e3); + super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_currency"), (0, l.makeUnenumerable)(this, "_countryCode"), (0, l.makeUnenumerable)(this, "_paymentPlatform"), (0, l.makeUnenumerable)(this, "_lineItems"), (0, l.makeUnenumerable)(this, "_shippingOptions"), (0, l.makeUnenumerable)(this, "_totalPrice"), (0, l.makeUnenumerable)(this, "_receivedMessageImage"), (0, l.makeUnenumerable)(this, "_receivedMessageTitle"), (0, l.makeUnenumerable)(this, "_replyMessageTitle"), (0, l.makeUnenumerable)(this, "_requiredContactInformation"), (0, l.makeUnenumerable)(this, "_paymentCompletionTimeout"); } - get className() { - return "LexV2AliasViewModel"; + get currency() { + return this._currency; } - get botId() { - var e3; - return null === (e3 = this.model.bot) || void 0 === e3 ? void 0 : e3.botId; + set currency(e3) { + this._currency = this.reviveItem(e3, s.default); } - get description() { - return (0, n2.sprintf)(o.lex.lexV2AliasDescription, this.localeString, this.region); + get countryCode() { + return this._countryCode; } - get isLexV2Alias() { - return true; + set countryCode(e3) { + this._countryCode = this.reviveItem(e3, s.default); } - get localeString() { - return this.model.language; + get paymentPlatform() { + return this._paymentPlatform; } - get region() { - return this.model.region; + set paymentPlatform(e3) { + this._paymentPlatform = this.reviveItem(e3, s.default); } - get shortAliasId() { - return this.model.aliasId; + get lineItems() { + return this._lineItems; + } + set lineItems(e3) { + this._lineItems = this.reviveItem(e3, s.default); + } + get shippingOptions() { + return this._shippingOptions; + } + set shippingOptions(e3) { + this._shippingOptions = this.reviveItem(e3, s.default); + } + get totalPrice() { + return this._totalPrice; + } + set totalPrice(e3) { + this._totalPrice = this.reviveItem(e3, s.default); + } + get receivedMessageImage() { + return this._receivedMessageImage; + } + set receivedMessageImage(e3) { + this._receivedMessageImage = this.reviveItem(e3, s.default); + } + get receivedMessageTitle() { + return this._receivedMessageTitle; + } + set receivedMessageTitle(e3) { + this._receivedMessageTitle = this.reviveItem(e3, s.default); + } + get replyMessageTitle() { + return this._replyMessageTitle; + } + set replyMessageTitle(e3) { + this._replyMessageTitle = this.reviveItem(e3, s.default); + } + get requiredContactInformation() { + return this._requiredContactInformation; + } + set requiredContactInformation(e3) { + this._requiredContactInformation = this.reviveItem(e3, s.default); + } + get paymentCompletionTimeout() { + return this._paymentCompletionTimeout; + } + set paymentCompletionTimeout(e3) { + this._paymentCompletionTimeout = this.reviveItem(e3, s.default); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._currency.pasteResolveOldToNewValues(e3), this._countryCode.pasteResolveOldToNewValues(e3), this._paymentPlatform.pasteResolveOldToNewValues(e3), this._lineItems.pasteResolveOldToNewValues(e3), this._shippingOptions.pasteResolveOldToNewValues(e3), this._totalPrice.pasteResolveOldToNewValues(e3), this._receivedMessageImage.pasteResolveOldToNewValues(e3), this._receivedMessageTitle.pasteResolveOldToNewValues(e3), this._replyMessageTitle.pasteResolveOldToNewValues(e3), this._requiredContactInformation.pasteResolveOldToNewValues(e3), this._paymentCompletionTimeout.pasteResolveOldToNewValues(e3); + } + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._currency.pasteReIdOrRename(e3), this._countryCode.pasteReIdOrRename(e3), this._paymentPlatform.pasteReIdOrRename(e3), this._lineItems.pasteReIdOrRename(e3), this._shippingOptions.pasteReIdOrRename(e3), this._totalPrice.pasteReIdOrRename(e3), this._receivedMessageImage.pasteReIdOrRename(e3), this._receivedMessageTitle.pasteReIdOrRename(e3), this._replyMessageTitle.pasteReIdOrRename(e3), this._requiredContactInformation.pasteReIdOrRename(e3), this._paymentCompletionTimeout.pasteReIdOrRename(e3); } } - t2.default = a; - }, 44379: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Det er ikke gyldigt.", noInputReceived: "Jeg modtog ikke noget input." }, askForBoolean: { noInput: 'Sig "ja", hvis du vil forts\xE6tte, eller "nej", hvis du ikke vil.', noMatch: 'Sig venligst "ja" eller "nej". Vil du forts\xE6tte?', question: "Vil du forts\xE6tte?", noInputDigitalBot: 'Indtast "Ja", hvis du vil forts\xE6tte, eller "Nej", hvis du ikke vil.', noMatchDigitalBot: 'Indtast venligst "Ja" eller "Nej". Vil du forts\xE6tte?' }, askForIntent: { noInput: 'Bare sig en kort s\xE6tning, der beskriver din foresp\xF8rgsel. For eksempel: "Tjek min kontosaldo".', noMatch: "Fort\xE6l mig igen, hvad du gerne vil g\xF8re.", question: "Hvad vil du gerne g\xF8re?", noInputDigitalBot: 'Indtast venligst en kort s\xE6tning, der beskriver din foresp\xF8rgsel. For eksempel: "Tjek min kontosaldo".' }, askForSlot: { askFor: "Sp\xF8rg om %1$s", noInput: "Sig eller indtast venligst (angiv dit slotnavn her).", noInputWithSlot: "Sig eller indtast %1$s.", noMatch: "Giv mig venligst (angiv dit slotnavn her) igen.", noMatchWithSlot: "Giv mig venligst %1$s igen.", question: "Hvad er (angiv dit slotnavn her)?", questionWithSlot: "Hvad er %1$s?", pleaseEnterSlotNameHere: "(angiv dit slotnavn her)", noInputDigitalBot: "Indtast venligst (angiv dit slotnavn her).", noInputWithSlotDigitalBot: "Indtast venligst %1$s.", continuationPromptWithSlot: "Jeg har {{Slot.%1$s}} indtil videre, forts\xE6t venligst." }, askForNextSlot: { noInput: 'Sig "ja", hvis du har en anden foresp\xF8rgsel, eller "nej" for at afslutte opkaldet.', noMatch: 'Sig "ja", hvis du har en anden foresp\xF8rgsel, eller "nej" for at afslutte sessionen.', question: "Er der andet, jeg kan hj\xE6lpe dig med?", noInputDigitalBot: 'Indtast "Ja", hvis du har en anden foresp\xF8rgsel, eller "Nej" for at afslutte sessionen.', noMatchDigitalBot: 'Indtast "Ja", hvis du har en anden foresp\xF8rgsel, eller "Nej" for at afslutte sessionen.' }, askForPayment: { noInputDigitalBot: "Angiv dine betalingsoplysninger for at forts\xE6tte.", noMatchDigitalBot: "Jeg forstod ikke dit svar. Pr\xF8v igen." }, askForAuthentication: { noInputDigitalBot: "Indtast dine godkendelsesoplysninger for at forts\xE6tte.", noMatchDigitalBot: "Jeg forstod ikke dit svar. Pr\xF8v igen." }, askSurveyQuestion: { notApplicable: "Ikke relevant", surveyAnswerOptionSequence: "Tryk p\xE5 %1$s for '%2$s'.", surveyAnswerNotApplicableSequence: "Tryk p\xE5 stjerne for Ikke relevant.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Tryk p\xE5 stjerne for Ikke relevant.", voiceSurveyNoInputText: "Svar venligst p\xE5 sp\xF8rgsm\xE5let.", voiceSurveyNoMatchText: "Jeg forstod dig ikke." }, commonModule: { exitCommonModule: "Afslut f\xE6lles modul" }, form: { noInputDigitalBot: "Udfyld formularen for at forts\xE6tte.", noMatchDigitalBot: "Udfyld formularen for at forts\xE6tte." }, messagingTemplate: { noInputDigitalBot: "V\xE6lg en af de tilg\xE6ngelige muligheder.", noMatchDigitalBot: "V\xE6lg en af de tilg\xE6ngelige muligheder." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Forts\xE6t", knowledgeAnswerHighlightFullArticleDefault: "Vis hele artiklen", knowledgeInitialResponseMulti: "For at hj\xE6lpe mig med at afklare dit m\xE5l, bedes du v\xE6lge et tal fra f\xF8lgende liste:", knowledgeInitialResponseMultiRetry: "V\xE6lg venligst et tal, for eksempel '1'.\nHer er listen over muligheder igen:", knowledgeNoMatch: "Ingen af disse", knowledgeConfirmation: "Besvarede dette dit sp\xF8rgsm\xE5l?", knowledgeFollowup: "Jeg h\xE5ber, at jeg har besvaret dit sp\xF8rgsm\xE5l. Du kan sp\xF8rge om alt andet, du gerne vil vide." }, noOverlay: { intent: { intentConfirmationStr1: "Jeg tror, du vil", intentConfirmationStr2: "Er det korrekt?" }, youSaid: { youSaidConfirmationStr1: "Du sagde", youSaidConfirmationStr2: "Er det korrekt?", youSaidConfirmationStr1DigitalBot: "Du indtastede" }, noInput: { noInputStr1: "Sig eller indtast", noInputStr1DigitalBot: "Indtast" }, noMatch: { noMatchStr1: "Giv mig venligst" }, whatIs: { whatIsQuestionStr1: "Hvad er", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Jeg har", iGotContinuationStr2: "indtil videre, forts\xE6t venligst." } }, defaultCallFlowOne: "Standardopkaldsflow", errorHandlingAgentEscalationConfirmation: "Du vil gerne tale med en r\xE5dgiver. Er det korrekt?", errorHandlingAgentEscalationHandover: "Et \xF8jeblik, s\xE5 stiller jeg dig om til nogen.", errorHandlingErrorEventHandover: "Der opstod desv\xE6rre en fejl. Vent venligst et \xF8jeblik, mens jeg stiller dig om til en, der kan hj\xE6lpe.", errorHandlingErrorEventHandoverVoiceSurvey: "Der opstod desv\xE6rre en fejl. Farvel.", errorHandlingRecognitionEventHandover: "Jeg har desv\xE6rre sv\xE6rt ved at forst\xE5 dig. Vent venligst et \xF8jeblik, mens jeg stiller dig om til en, der kan hj\xE6lpe.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Jeg har desv\xE6rre sv\xE6rt ved at forst\xE5 dig. Farvel.", errorHandlingTTS: "Der opstod desv\xE6rre en fejl. Pr\xF8v venligst dit opkald igen.", initialGreetingTTS: "Hej, dette er den indledende hilsen.", initialState: "Indledende tilstand", initialBotState: "Standard-bot", initialDigitalBotState: "Indledende hilsen", initialSurveyBotState: "Unders\xF8gelses-bot", intentConfirmation: "Jeg tror, du vil %1$s, er det korrekt?", mainMenu: "Hovedmenu", mainMenuTTS: "Du er i hovedmenuen, tryk p\xE5 9 for at afbryde", mainTask: "Opgave", settingsConfirmationNoInputApology: "Undskyld, jeg h\xF8rte dig ikke. Sig venligst ja eller nej.", settingsConfirmationNoInputApologyDigitalBot: 'Jeg modtog desv\xE6rre ikke noget input fra dig. Indtast venligst "Ja" eller "Nej".', settingsConfirmationNoMatchApology: "Undskyld, sig venligst ja eller nej.", settingsConfirmationNoMatchApologyDigitalBot: 'Undskyld, indtast venligst "Ja" eller "Nej".', settingsNoInputApology: "Undskyld, jeg h\xF8rte dig ikke.", settingsNoInputApologyDigitalBot: "Undskyld, jeg modtog ikke noget input fra dig.", settingsEndOfSessionMessageDigitalBot: "Jeg har ikke h\xF8rt fra dig i et stykke tid, s\xE5 jeg lukker denne chat. Kom tilbage, hvis du har brug for min hj\xE6lp igen. Mange tak.", settingsNoMatchApology: "Undskyld.", settingsNoToConfirmationApology: "Min fejl.", periodicStateName: "Tilbagevendende tilstand" }; - }, 44392: (e2, t2, i2) => { + t2.AskForPaymentActionModel = u, u.__type = o.askForPaymentActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "currency", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "countryCode", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "paymentPlatform", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "lineItems", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "shippingOptions", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "totalPrice", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "receivedMessageImage", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "receivedMessageTitle", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "replyMessageTitle", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "requiredContactInformation", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "paymentCompletionTimeout", null), u.registerType(); + }, 17990(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.templates = t2.nluVersionIds = void 0, t2.checkIsoLanguageIsSupportedByTemplate = a, t2.getBlankTemplate = function() { - return this.getTemplateByNluVersionId(t2.nluVersionIds.blankBot); - }, t2.getTemplateByNluVersionId = function(e3) { - return n2.default.find(t2.templates, (t3) => t3.id === e3); - }, t2.getTemplatesForIsoLanguage = function(e3) { - return n2.default.filter(t2.templates, (t3) => !t3.templateObject || a(e3, t3.templateObject)); - }; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(47957); - function o(e3) { - const t3 = e3.indexOf("-"); - return (-1 === t3 ? e3 : e3.substring(0, t3)).toLowerCase(); + t2.AssignCustomerSegmentActionModel = void 0; + const n2 = i2(31635), o = i2(30801), r = i2(5894), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(7401)); + class u extends r.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); + } } - function a(e3, t3) { - return !!(t3 && n2.default.isString(e3) && n2.default.isString(t3.language)) && (e3 === t3.language || o(e3) === o(t3.language)); + t2.AssignCustomerSegmentActionModel = u, u.__type = o.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(); + }, 94858(e2, t2, i2) { + "use strict"; + t2.BaseActionModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(23316), a = i2(80295), s = i2(80295); + class l extends r.BaseFlowItemWithNameAndId { + constructor(e3) { + super(e3), (0, s.makeUnenumerable)(this, "_nextAction"), (0, s.makeUnenumerable)(this, "_trackingId"); + } + get nextAction() { + return this._nextAction; + } + set nextAction(e3) { + this._nextAction = e3; + } + get trackingId() { + return this._trackingId; + } + set trackingId(e3) { + this._trackingId = e3; + } + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), o.default.isUndefined(this.trackingId) || (this.trackingId = e3.pasteGetNewTrackingId(this.trackingId)); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this.nextAction = e3.pasteResolveOldIdToNewId(this.nextAction); + } + get type() { + return this.__type; + } } - t2.nluVersionIds = { bankingBot: "__BANKING_BOT__", blankBot: "__BLANK_BOT__" }, t2.templates = [{ name: r2.botFlowNluTemplates.bankBotNluTemplateName, description: r2.botFlowNluTemplates.bankBotNluTemplateDescription, id: t2.nluVersionIds.bankingBot, templateObject: { language: "en", description: "Created from a bot flow template", intents: [{ utterances: [{ segments: [{ text: "My account number is " }, { text: "87654321", entity: { name: "AccountNumber" } }, { text: ", what's the balance?" }] }, { segments: [{ text: "Tell me what the balance of my account is" }] }, { segments: [{ text: "Check account balance" }] }, { segments: [{ text: "Balance enquiry" }] }, { segments: [{ text: "What's the balance on account " }, { text: "12345678", entity: { name: "AccountNumber" } }, { text: "?" }] }, { segments: [{ text: "I want to check my account balance" }] }], entityNameReferences: ["AccountNumber"], name: "Check Account Balance" }, { utterances: [{ segments: [{ text: "I want to find my local branch please" }] }, { segments: [{ text: "What's the closest branch to " }, { text: "90210", entity: { name: "ZipCode" } }, { text: "?" }] }, { segments: [{ text: "Where's my nearest branch?" }] }], entityNameReferences: ["ZipCode"], name: "Find a Branch" }], entityTypes: [{ name: "AccountNumberType", description: 'The description of the Entity Type "AccountNumberType"', mechanism: { type: "Regex", restricted: true, items: [{ value: "\\b[0-9]{8}\\b", synonyms: [] }] } }, { name: "ZipCodeType", description: 'The description of the Entity Type "ZipCodeType"', mechanism: { type: "Regex", restricted: true, items: [{ value: "\\b[0-9]{5}\\b", synonyms: [] }] } }], entities: [{ name: "AccountNumber", type: "AccountNumberType" }, { name: "ZipCode", type: "ZipCodeType" }] } }, { name: r2.botFlowNluTemplates.blankBotNluTemplateName, description: r2.botFlowNluTemplates.blankBotNluTemplateDescription, id: t2.nluVersionIds.blankBot, templateObject: null }]; - }, 44409: (e2, t2, i2) => { + t2.BaseActionModel = l, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "nextAction", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "trackingId", null); + }, 39194(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); - class o extends n2.default { + var n2, o; + t2.BaseActionNoInputNoMatchModel = void 0; + const r = i2(31635), a = i2(68794), s = i2(94858), l = i2(80295), u = r.__importDefault(i2(7401)), c = i2(80295); + class d extends s.BaseActionModel { constructor(e3) { - super(e3); + 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 _actionTypeId() { - return r2.getJourneyOutcomeActionType; + get customizeNoInput() { + return this._customizeNoInput; } - get displayTypeName() { - return this._scriptingName; + set customizeNoInput(e3) { + this._customizeNoInput = this.reviveItem(e3, u.default); } - get isArchActionGetJourneyOutcome() { - return true; + get customizeNoMatch() { + return this._customizeNoMatch; } - get findResult() { - return this._findResult; + set customizeNoMatch(e3) { + this._customizeNoMatch = this.reviveItem(e3, u.default); + } + get noInput() { + return this.noInputs && this.noInputs[0]; + } + set noInput(e3) { + this.noInputs = [e3]; + } + get noMatch() { + return this.noMatches && this.noMatches[0]; + } + set noMatch(e3) { + this.noMatches = [e3]; + } + get noInputs() { + return this._noInputs; + } + set noInputs(e3) { + this._noInputs = this.reviveArray(e3, u.default); + } + get noInputReprompts() { + return this._noInputReprompts; + } + set noInputReprompts(e3) { + this._noInputReprompts = this.reviveItem(e3, u.default); + } + get noMatches() { + return this._noMatches; + } + set noMatches(e3) { + this._noMatches = this.reviveArray(e3, u.default); + } + get noMatchReprompts() { + return this._noMatchReprompts; + } + set noMatchReprompts(e3) { + this._noMatchReprompts = this.reviveItem(e3, u.default); + } + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; + } + set voiceEndOfInputTimeout(e3) { + this._voiceEndOfInputTimeout = this.reviveItem(e3, u.default); + } + get enableBargeIn() { + return this._enableBargeIn; + } + set enableBargeIn(e3) { + this._enableBargeIn = this.reviveItem(e3, u.default); + } + get paths() { + return this._paths; + } + set paths(e3) { + this._paths = this.reviveArray(e3, a.ActionOutput); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._customizeNoInput && this._customizeNoInput.pasteResolveOldToNewValues(e3), this._customizeNoMatch && this._customizeNoMatch.pasteResolveOldToNewValues(e3), this._enableBargeIn && this._enableBargeIn.pasteResolveOldToNewValues(e3), this._noInputs && this._noInputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noInputReprompts && this._noInputReprompts.pasteResolveOldToNewValues(e3), this._noMatches && this._noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this._noMatchReprompts && this._noMatchReprompts.pasteResolveOldToNewValues(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3), this._paths && this._paths.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); + } + pasteReIdOrRename(e3) { + 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.default = o; - }, 44442: (e2) => { - "use strict"; - e2.exports = function() { - this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0; - }; - }, 44485: (e2, t2, i2) => { - var n2 = { "./cs-cz/isoLanguages.js": [23291, 3291], "./de-de/isoLanguages.js": [79812, 9812], "./en-us/isoLanguages.js": [92421], "./es-us/isoLanguages.js": [47790, 7790], "./fr-ca/isoLanguages.js": [84285, 6666], "./it-it/isoLanguages.js": [37332, 7332], "./ja-jp/isoLanguages.js": [5581, 5581], "./ko-kr/isoLanguages.js": [65935, 5935], "./nb-no/isoLanguages.js": [59611, 9611], "./nl-nl/isoLanguages.js": [90682, 682], "./pl-pl/isoLanguages.js": [34366, 4366], "./pt-br/isoLanguages.js": [54046, 4046], "./ru-ru/isoLanguages.js": [33544, 3544], "./sv-se/isoLanguages.js": [64951, 4951], "./tr-tr/isoLanguages.js": [22366, 2366], "./zh-cn/isoLanguages.js": [30515, 515], "./zh-tw/isoLanguages.js": [95595, 5595] }; - function r2(e3) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - 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) => { + t2.BaseActionNoInputNoMatchModel = d, r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "customizeNoInput", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "customizeNoMatch", null), r.__decorate([(0, l.enumerable)(false), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "noInput", null), r.__decorate([(0, l.enumerable)(false), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "noMatch", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "noInputs", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "noInputReprompts", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "noMatches", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "noMatchReprompts", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "voiceEndOfInputTimeout", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== u.default && u.default) ? o : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "enableBargeIn", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Array), r.__metadata("design:paramtypes", [Array])], d.prototype, "paths", null); + }, 80434(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { + t2.BaseActionWithFailureOutputsNoInputNoMatchModel = void 0; + const n2 = i2(31635), o = i2(5894), r = n2.__importDefault(i2(7401)), a = i2(80295), s = i2(80295); + class l extends o.BaseFailureOutputsActionModel { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "lineItem"; + super(e3), (0, s.makeUnenumerable)(this, "_customizeNoInput"), (0, s.makeUnenumerable)(this, "_customizeNoMatch"), (0, s.makeUnenumerable)(this, "_enableBargeIn"), (0, s.makeUnenumerable)(this, "_noInputs"), (0, s.makeUnenumerable)(this, "_noInputReprompts"), (0, s.makeUnenumerable)(this, "_noMatches"), (0, s.makeUnenumerable)(this, "_noMatchReprompts"), (0, s.makeUnenumerable)(this, "_voiceEndOfInputTimeout"); } - get displayTypeName() { - return "ArchValueLineItem"; + get customizeNoInput() { + return this._customizeNoInput; } - get isArchValueLineItem() { - return true; + set customizeNoInput(e3) { + this._customizeNoInput = this.reviveItem(e3, r.default); } - get listingName() { - return this._getAssignableProperty("listingName"); + get customizeNoMatch() { + return this._customizeNoMatch; } - get listingPrice() { - return this._getAssignableProperty("listingPrice"); + set customizeNoMatch(e3) { + this._customizeNoMatch = this.reviveItem(e3, r.default); } - setLiteralLineItem(e3, t3, i3) { - this.listingName.setLiteralString(e3), this.listingPrice.setLiteralAmountAndCode(t3, i3); + get noInput() { + return this.noInputs && this.noInputs[0]; } - } - t2.default = r2; - }, 44521: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BasedOnChoicesType = t2.PROP_BUTTONS = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = i2(12847), s = i2(94765), l = i2(47957); - t2.PROP_BUTTONS = "buttons"; - class u extends s.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + set noInput(e3) { + this.noInputs = [e3]; } - validateDuplicates(e3, t3) { - if (!t3) return (0, a.error)("no expression passed in to validateDuplicates"), true; - const i3 = this.getPossibleChoices(t3, true), n3 = {}; - o.default.each(i3, (e4) => { - var t4; - const i4 = null === (t4 = e4.type.getValueStr(e4)) || void 0 === t4 ? void 0 : t4.toLowerCase(); - if (i4) { - let t5 = n3[i4]; - t5 ? t5.push(e4) : (t5 = [e4], n3[i4] = t5); - } - }); - let s2 = true; - return o.default.each(n3, (t4) => { - (null == t4 ? void 0 : t4.length) > 1 && (s2 = false, o.default.each(t4, (t5, i4) => { - e3.addExpressionError(t5, (0, r2.sprintf)(l.cardsAndCars.duplicatePostbackValue, t5.type.getPostbackValue(t5) || i4)); - })); - }), s2; + get noMatch() { + return this.noMatches && this.noMatches[0]; } - deleteButtonsChoiceAtIndex(e3, i3) { - var n3, r3, o2; - if (i3 < 0) return false; - const a2 = e3.getProperty(t2.PROP_BUTTONS, true); - return (null === (n3 = null == a2 ? void 0 : a2.collectionItems) || void 0 === n3 ? void 0 : n3.items) && !a2.outOfService ? !(i3 < 0 || i3 >= (null === (o2 = null === (r3 = null == a2 ? void 0 : a2.collectionItems) || void 0 === r3 ? void 0 : r3.items) || void 0 === o2 ? void 0 : o2.length) || (a2.collectionItems.removeChild(a2.collectionItems.items[i3]), 0)) : void 0; + set noMatch(e3) { + this.noMatches = [e3]; } - } - t2.BasedOnChoicesType = u; - }, 44542: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(37819)), o = n2.__importDefault(i2(52852)), a = n2.__importDefault(i2(93078)), s = n2.__importDefault(i2(64079)), l = { ArchTraverseContext: r2.default, ArchTraverseHierarchyItem: o.default, ArchTraverseInfo: a.default, ArchTraverseSettings: s.default }; - t2.default = l; - }, 44544: (e2, t2, i2) => { - !(function() { - "use strict"; - var t3 = i2(43056).typeOf, n2 = i2(68152); - e2.exports.stringify = function(e3) { - var i3, r2 = ""; - i3 = { undefined: function() { - return "null"; - }, null: function() { - return "null"; - }, number: function(e4) { - return e4; - }, boolean: function(e4) { - return e4 ? "true" : "false"; - }, string: function(e4) { - const t4 = "" === e4 || e4.length > 0 && e4.charAt(0).match(/[^\w]/g) || e4.match(/[:#]/g) || e4.includes("\n") || e4.includes(" ") || !isNaN(e4) || "true" === e4.trim().toLowerCase() || "false" === e4.trim().toLowerCase() || "null" === e4.trim().toLowerCase() || e4.endsWith(" "); - return t4 && (e4 = e4.replace(/"/g, '"')), t4 ? JSON.stringify(e4) : e4; - }, array: function(e4) { - var n3 = ""; - return 0 === e4.length ? n3 += "[]" : (r2 = r2.replace(/$/, " "), e4.forEach(function(e5, o2) { - var a2 = i3[t3(e5)]; - if (!a2) throw new Error("missing root handler: " + t3(e5)); - n3 += "\n" + r2 + "- " + a2(e5, true); - }), r2 = r2.replace(/ /, ""), n3); - }, object: function(e4, n3, o2) { - var a2 = ""; - return 0 === Object.keys(e4).length ? a2 += "{}" : (o2 || (r2 = r2.replace(/$/, " ")), Object.keys(e4).forEach(function(o3, s) { - var l = e4[o3], u = i3[t3(l)]; - if (void 0 !== l) { - if (!u) throw new Error("what the crap: " + t3(l)); - n3 && 0 === s || (a2 += "\n" + r2), (o3.length > 0 && o3.charAt(0).match(/[^\w]/g) || o3.match(/[:#]/g) || "true" === o3.toLowerCase() && "true" !== o3 || "false" === o3.toLowerCase() && "false" !== o3 || "yes" === o3.toLowerCase() || "no" === o3.toLowerCase() || o3.endsWith(" ")) && (o3 = JSON.stringify(o3)), a2 += o3 + ": " + u(l); - } - }), r2 = r2.replace(/ /, ""), a2); - }, function: function() { - return "[object Function]"; - } }; - var o = t3(e3), a = i3[o]; - if (!a) throw new Error("what the crap: " + o); - 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); + get noInputs() { + return this._noInputs; } - constructor(e3) { - super(), this._data = e3, (0, l.makeUnenumerable)(this, "_data"); + set noInputs(e3) { + this._noInputs = this.reviveArray(e3, r.default); } - get className() { - return "AudioFormatViewModel"; + get noInputReprompts() { + return this._noInputReprompts; } - get isAudioFormatViewModel() { - return true; + set noInputReprompts(e3) { + this._noInputReprompts = this.reviveItem(e3, r.default); } - get sampleRate() { - if (this.supportsFrequency) return this._sampleRate; + get noMatches() { + return this._noMatches; } - get is8KSampleRate() { - return this.sampleRate === o.defaultPromptResourceAudioSampleRateHz; + set noMatches(e3) { + this._noMatches = this.reviveArray(e3, r.default); } - get _sampleRate() { - return this._data.sampleRate; + get noMatchReprompts() { + return this._noMatchReprompts; } - get kHz() { - const e3 = this.sampleRate; - if (void 0 !== e3) return e3 / 1e3; + set noMatchReprompts(e3) { + this._noMatchReprompts = this.reviveItem(e3, r.default); } - get hasHz() { - return void 0 !== this.sampleRate; + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; } - get hasKHz() { - return void 0 !== this.kHz; + set voiceEndOfInputTimeout(e3) { + this._voiceEndOfInputTimeout = this.reviveItem(e3, r.default); } - get channels() { - return this._channels; + get enableBargeIn() { + return this._enableBargeIn; } - get _channels() { - return this._data.channels; + set enableBargeIn(e3) { + this._enableBargeIn = this.reviveItem(e3, r.default); } - get isMono() { - return 1 === this.channels; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this.customizeNoInput && this.customizeNoInput.pasteResolveOldToNewValues(e3), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this._enableBargeIn && this._enableBargeIn.pasteResolveOldToNewValues(e3), this.noInputs && this.noInputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noInputReprompts && this.noInputReprompts.pasteResolveOldToNewValues(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3), this.voiceEndOfInputTimeout && this.voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3); } - get isStereo() { - return 2 === this.channels; + pasteReIdOrRename(e3) { + 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); } - get bitsPerSample() { - if (this.supportsBitsPerSample) return this._bitsPerSample; + } + t2.BaseActionWithFailureOutputsNoInputNoMatchModel = l, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "customizeNoInput", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "customizeNoMatch", null), n2.__decorate([(0, a.enumerable)(false), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noInput", null), n2.__decorate([(0, a.enumerable)(false), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noMatch", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noInputs", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noInputReprompts", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noMatches", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noMatchReprompts", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "voiceEndOfInputTimeout", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "enableBargeIn", null); + }, 80934(e2, t2, i2) { + "use strict"; + t2.BaseActionWithOutputsModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(68794), a = i2(94858), s = i2(80295), l = i2(80295); + class u extends a.BaseActionModel { + constructor(e3) { + super(e3), (0, l.makeUnenumerable)(this, "_paths"); } - get _bitsPerSample() { - return this._data.bitsPerSample; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), o.default.each(this._paths, function(t3) { + t3.pasteResolveOldToNewValues(e3); + }.bind(this)); } - get hasBitsPerSample() { - return void 0 !== this.bitsPerSample; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), o.default.each(this._paths, function(t3) { + t3.pasteReIdOrRename(e3); + }.bind(this)); } - get encoding() { - return this._encoding; + get paths() { + return this._paths; } - get _encoding() { - return this._data.encoding; + set paths(e3) { + this._paths = this.reviveArray(e3, r.ActionOutput); } - get supportsFrequency() { - return (0, s.encodingSupportsFrequency)(this.encoding); + } + t2.BaseActionWithOutputsModel = u, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], u.prototype, "paths", null); + }, 70630(e2, t2, i2) { + "use strict"; + t2.BaseConversationAttributeActionModel = void 0; + const n2 = i2(31635), o = i2(5894), r = i2(80295), a = n2.__importDefault(i2(7401)), s = i2(80295); + class l extends o.BaseFailureOutputsActionModel { + constructor(e3) { + super(e3), (0, s.makeUnenumerable)(this, "_conversationCustomAttributeSchemaId"), (0, s.makeUnenumerable)(this, "_conversationCustomAttributeSchemaName"), (0, s.makeUnenumerable)(this, "_conversationId"); } - get supportsBitsPerSample() { - return (0, a.encodingSupportsBitsPerSample)(this.encoding); + get conversationCustomAttributeSchemaId() { + return this._conversationCustomAttributeSchemaId; } - 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; + set conversationCustomAttributeSchemaId(e3) { + this._conversationCustomAttributeSchemaId = e3; } - get _bitrateBps() { - return this._data.bitrateBps; + get conversationCustomAttributeSchemaName() { + return this._conversationCustomAttributeSchemaName; } - get bitrateKbps() { - const e3 = this.bitrateBps; - if (void 0 !== e3) return e3 / 1e3; + set conversationCustomAttributeSchemaName(e3) { + this._conversationCustomAttributeSchemaName = e3; } - get hasBitrateKbps() { - return void 0 !== this.bitrateKbps; + get conversationId() { + return this._conversationId; } - get frequencyHzDisplayStr() { - if (this.hasHz) return (0, u.sprintf)(c.default.audio.frequencyInHz, this.sampleRate); + set conversationId(e3) { + this._conversationId = this.reviveItem(e3, a.default); } - get frequencyKHzDisplayStr() { - if (this.hasKHz) return (0, u.sprintf)(c.default.audio.frequencyInKHz, d._formatKHzNumericValue(this.kHz)); + } + t2.BaseConversationAttributeActionModel = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "conversationCustomAttributeSchemaId", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "conversationCustomAttributeSchemaName", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "conversationId", null); + }, 5894(e2, t2, i2) { + "use strict"; + t2.BaseFailureOutputsActionModel = void 0; + const n2 = i2(31635), o = i2(80934), r = i2(80295), a = i2(80295), s = i2(90807); + class l extends o.BaseActionWithOutputsModel { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_errorBindings"); } - get bitsPerSampleDisplayStr() { - if (this.hasBitsPerSample) return (0, u.sprintf)(c.default.audio.bitsPerSample, this.bitsPerSample); + get errorBindings() { + return this._errorBindings; } - get bitrateKbpsDisplayStr() { - if (this.hasBitrateKbps) return (0, u.sprintf)(c.default.audio.bitrateInKbps, this.bitrateKbps); + set errorBindings(e3) { + this._errorBindings = this.reviveArray(e3, s); } - 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); + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); } - 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"); + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)); } } - t2.AudioFormatViewModel = d, t2.default = d; - }, 44565: (e2, t2, i2) => { + t2.BaseFailureOutputsActionModel = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "errorBindings", null); + }, 7340(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindEmergencyGroupActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { + t2.BaseFindSystemObjectActionModel = void 0; + const n2 = i2(31635), o = i2(80934), r = i2(80295), a = i2(80295), s = i2(7401); + class l extends o.BaseActionWithOutputsModel { constructor(e3) { - super(e3), this.__type = o.__type; + super(e3), (0, a.makeUnenumerable)(this, "_findResult"); + } + get findResult() { + return this._findResult; + } + set findResult(e3) { + this._findResult = this.reviveItem(e3, s); + } + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._findResult.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._findResult.pasteResolveOldToNewValues(e3); } } - t2.FindEmergencyGroupActionModel = o, o.__type = r2.findEmergencyGroupActionType, o.registerType(); - }, 44612: (e2, t2, i2) => { + t2.BaseFindSystemObjectActionModel = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findResult", null); + }, 28904(e2, t2, i2) { "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 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.BaseFindSystemObjectByIdActionModel = void 0; + const n2 = i2(31635), o = i2(7340), r = i2(80295), a = i2(80295), s = i2(7401); + class l extends o.BaseFindSystemObjectActionModel { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_findId"); + } + get findId() { + return this._findId; + } + set findId(e3) { + this._findId = this.reviveItem(e3, s); + } + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._findId.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._findId.pasteResolveOldToNewValues(e3); } } - t2.ShortMessageScriptManager = c, t2.shortMessageScriptManager = new c(); - }, 44633: (e2, t2, i2) => { + t2.BaseFindSystemObjectByIdActionModel = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findId", null); + }, 49574(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(17405)); - class r2 extends n2.default { + t2.BaseFindSystemObjectByNameActionModel = void 0; + const n2 = i2(31635), o = i2(7340), r = i2(80295), a = i2(80295), s = i2(7401); + class l extends o.BaseFindSystemObjectActionModel { constructor(e3) { - super(e3); + super(e3), (0, a.makeUnenumerable)(this, "_findName"); } - get _globalTypeName() { - return "surveyQuestion"; + get findName() { + return this._findName; } - get coreSurveyQuestionExpression() { - return this._getCoreViewModel(); + set findName(e3) { + this._findName = this.reviveItem(e3, s); } - get displayTypeName() { - return "ArchValueSurveyQuestion"; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._findName.pasteReIdOrRename(e3); } - get isArchValueSurveyQuestion() { - return true; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._findName.pasteResolveOldToNewValues(e3); } } - t2.default = r2; - }, 44703: (e2, t2, i2) => { + t2.BaseFindSystemObjectByNameActionModel = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findName", null); + }, 64599(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(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, 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); + t2.BaseFindSystemObjectsByIdActionModel = void 0; + const n2 = i2(31635), o = i2(7340), r = i2(80295), a = i2(80295), s = i2(7401); + class l extends o.BaseFindSystemObjectActionModel { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_findIds"); } - get lastActor() { - return this._lastActor; + get findIds() { + return this._findIds; } - get lastActorWasUser() { - return !this._lastActor; + set findIds(e3) { + this._findIds = this.reviveItem(e3, s); } - get lastActorWasChangeSet() { - var e3; - return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._findIds.pasteReIdOrRename(e3); } - 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; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._findIds.pasteResolveOldToNewValues(e3); } - configureFromModel(e3, t3, i3) { - const n3 = i3.changeSetResults; - n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); + } + t2.BaseFindSystemObjectsByIdActionModel = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findIds", null); + }, 59821(e2, t2, i2) { + "use strict"; + t2.BaseFindSystemObjectsByNameActionModel = void 0; + const n2 = i2(31635), o = i2(7340), r = i2(80295), a = i2(80295), s = i2(7401); + class l extends o.BaseFindSystemObjectActionModel { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_findNames"); } - addClipboardDependencies(e3) { - this.items.forEach((t3) => { - t3.addClipboardDependencies(e3); - }); + get findNames() { + return this._findNames; } - get label() { - return this._label; + set findNames(e3) { + this._findNames = this.reviveItem(e3, s); } - set label(e3) { - this._label = e3; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._findNames.pasteReIdOrRename(e3); } - get hasError() { - return r2.default.any(this.items, function(e3) { - return e3.hasError; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._findNames.pasteResolveOldToNewValues(e3); + } + } + t2.BaseFindSystemObjectsByNameActionModel = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findNames", null); + }, 32307(e2, t2, i2) { + "use strict"; + var n2, o; + t2.CallAgenticVirtualAgentActionModel = void 0; + const r = i2(31635), a = i2(30801), s = i2(80295), l = i2(80295), u = r.__importDefault(i2(7401)), c = i2(80934), d = r.__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), d.default.each(this._inputs, (t3) => { + t3.pasteReIdOrRename(e3); + }), d.default.each(this._outputs, (t3) => { + t3.pasteReIdOrRename(e3); + }), d.default.each(this._errorBindings, (t3) => { + t3.pasteReIdOrRename(e3); }); } - get hasWarning() { - return r2.default.any(this.items, function(e3) { - return e3.hasWarning; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), d.default.each(this.inputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), d.default.each(this.outputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), d.default.each(this._errorBindings, (t3) => { + t3.pasteResolveOldToNewValues(e3); }); } - get holdsContainedDataPairList() { - return this.items.length && this.items[0].isContainedDataPairList; + get agenticVirtualAgentId() { + return this._agenticVirtualAgentId; } - get isExpressionContainer() { - return true; + set agenticVirtualAgentId(e3) { + this._agenticVirtualAgentId = e3; } - get length() { - return this.items ? this.items.length : 0; + get agenticVirtualAgentName() { + return this._agenticVirtualAgentName; } - set length(e3) { - this.items.length = e3, this.model.length = e3; + set agenticVirtualAgentName(e3) { + this._agenticVirtualAgentName = e3; } - outOfServiceChanged() { - this.items.forEach((e3) => { - e3.outOfService = this.outOfService; - }); + get agenticVirtualAgentVersion() { + return this._agenticVirtualAgentVersion; } - _initialize() { - r2.default.each(this.model, (e3) => { - const t3 = this.createItem(e3); - this.items.push(t3); - }); + set agenticVirtualAgentVersion(e3) { + this._agenticVirtualAgentVersion = e3; } - add(e3, t3, i3) { - const n3 = this.createItem(e3, t3, i3); - return this.expandNewItem(n3), this.addItem(n3), n3; + get agenticVirtualAgentLatestVersion() { + return this._agenticVirtualAgentLatestVersion; } - addItem(e3) { - this.items.push(e3), this.model.push(e3.model), e3.outOfService = this.outOfService, r2.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(), this.orderChanged(); + set agenticVirtualAgentLatestVersion(e3) { + this._agenticVirtualAgentLatestVersion = e3; } - expandNewItem(e3) { - this._suppressListOrderChangedEvent || (this.autoCollapse && this.items.forEach((e4) => e4.collapsed = true), e3.collapsed = false); + get inputs() { + return this._inputs; } - clearAndAddItems(e3) { - const t3 = this._suppressListOrderChangedEvent; - try { - this._suppressListOrderChangedEvent = true, this.destroyChildren(), e3.forEach((e4) => { - this.addItem(e4); - }); - } finally { - this._suppressListOrderChangedEvent = t3, this.orderChanged(); - } + set inputs(e3) { + this._inputs = this.reviveArray(e3, p); } - attachValidator(e3) { - this._extraValidator = e3; + get outputs() { + return this._outputs; } - checkVersion(e3) { - this.items.forEach((t3) => { - r2.default.isFunction(t3.checkVersion) && t3.checkVersion(e3); - }); + set outputs(e3) { + this._outputs = this.reviveArray(e3, p); } - destroy() { - this.destroyChildren(), this._outOfServiceProvider.destroy(); + get errorBindings() { + return this._errorBindings; } - destroyChild(e3) { - p.clearIssues(e3), r2.default.isFunction(e3.destroy) && e3.destroy(); + set errorBindings(e3) { + this._errorBindings = this.reviveArray(e3, p); } - destroyChildren() { - this.items.forEach((e3) => { - this.destroyChild(e3); - }), this.length = 0, this.orderChanged(); + get voiceProcessingPrompt() { + return this._voiceProcessingPrompt; } - getConfiguration(e3, t3, i3) { - 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 === (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)); - }), n4; - } - return this._mapItemsForYaml(e3, t3, i3); - } - return this._getConfiguration(e3, t3, i3); + set voiceProcessingPrompt(e3) { + this._voiceProcessingPrompt = this.reviveItem(e3, u.default); } - _getConfiguration(e3, t3, i3) { - return this.model; + get exitReason() { + return this._exitReason; } - getYamlWrappedValueAndChildActionsConfiguration(e3, t3) { - const i3 = []; - return this.items.forEach((n3) => { - var o2, a2; - const s2 = {}; - if (this.isExpressionListWithReferenceId && r2.default.isFunction(this.parent.getReferenceById)) { - const e4 = this.parent.getReferenceById(n3.referenceId); - (r2.default.isString(null == e4 ? void 0 : e4.name) || r2.default.isString(null == e4 ? void 0 : e4.label)) && (s2.name = e4.name || e4.label); - } - s2[(null === (o2 = this.yamlOptions) || void 0 === o2 ? void 0 : o2.wrapListItemValueInPropertyName) || "value"] = r2.default.getFirstPropertyValueInObj(n3.getConfiguration(e3, t3)); - const l2 = r2.default.findWhere(this.parent.branches, { id: n3.referenceId }); - r2.default.extend(s2, null == l2 ? void 0 : l2.getConfiguration(e3, t3)), i3.push(r2.default.tryWrapObject(s2, null === (a2 = this.yamlOptions) || void 0 === a2 ? void 0 : a2.wrapValueAndActionsInPropertyName)); - }), i3.length ? i3 : null; + set exitReason(e3) { + this._exitReason = this.reviveItem(e3, u.default); } - initializeDesignTime() { - this.items.forEach((e3) => { - r2.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(); - }), this._initializeDesignTimeCalled = true; + } + t2.CallAgenticVirtualAgentActionModel = _, _.__type = a.callAgenticVirtualAgentActionType, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentId", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentName", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentVersion", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Boolean), r.__metadata("design:paramtypes", [Object])], _.prototype, "agenticVirtualAgentLatestVersion", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], _.prototype, "inputs", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], _.prototype, "outputs", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], _.prototype, "errorBindings", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], _.prototype, "voiceProcessingPrompt", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== u.default && u.default) ? o : Object), r.__metadata("design:paramtypes", [Object])], _.prototype, "exitReason", null), _.registerType(); + }, 56240(e2, t2, i2) { + "use strict"; + var n2; + t2.CallGuideActionModel = void 0; + const o = i2(31635), r = i2(5894), a = i2(80295), s = i2(30801), l = i2(80295), u = o.__importDefault(i2(92140)), c = o.__importDefault(i2(7401)), d = i2(90807); + class p extends r.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"); } - get initializeDesignTimeCalled() { - return this._initializeDesignTimeCalled; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), u.default.each(this.inputs, (t3) => { + t3.pasteReIdOrRename(e3); + }), u.default.each(this.outputs, (t3) => { + t3.pasteReIdOrRename(e3); + }); } - _mapItemsForYaml(e3, t3, i3) { - return r2.default.map(this.items, (n3) => { - var o2; - return r2.default.tryWrapObject(n3.getConfiguration(e3, t3, i3), null === (o2 = this.yamlOptions) || void 0 === o2 ? void 0 : o2.wrappedCollectionItemName); + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), u.default.each(this.inputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); + }), u.default.each(this.outputs, (t3) => { + t3.pasteResolveOldToNewValues(e3); }); } - moveToIndex(e3, t3) { - -1 === t3 && (t3 = this.model.length - 1); - const i3 = this.model.indexOf(e3.model); - if (i3 >= this.model.length || -1 === i3) return; - this.model.splice(i3, 1), this.model.splice(t3, 0, e3.model); - const n3 = this.items.indexOf(e3); - n3 >= this.items.length || (this.items.splice(n3, 1), this.items.splice(t3, 0, e3), this.orderChanged()); + get guideId() { + return this._guideId; } - moveDown(e3) { - const t3 = this.model.indexOf(e3.model); - if (t3 >= this.model.length - 1 || -1 === t3) return; - this.model.splice(t3, 1), this.model.splice(t3 + 1, 0, e3.model); - const i3 = this.items.indexOf(e3); - return i3 >= this.items.length ? void 0 : (this.items.splice(i3, 1), this.items.splice(i3 + 1, 0, e3), this.orderChanged(), i3 + 1); + set guideId(e3) { + this._guideId = e3; + } + get guideName() { + return this._guideName; + } + set guideName(e3) { + this._guideName = e3; + } + get guideVersion() { + return this._guideVersion; + } + set guideVersion(e3) { + this._guideVersion = e3; + } + get guideLatestVersion() { + return this._guideLatestVersion; + } + set guideLatestVersion(e3) { + this._guideLatestVersion = e3; + } + get inputs() { + return this._inputs; + } + set inputs(e3) { + this._inputs = this.reviveArray(e3, d); + } + get outputs() { + return this._outputs; } - moveUp(e3) { - const t3 = this.model.indexOf(e3.model); - if (t3 <= 0) return; - this.model.splice(t3, 1), this.model.splice(t3 - 1, 0, e3.model); - const i3 = this.items.indexOf(e3); - return 0 !== i3 ? (this.items.splice(i3, 1), this.items.splice(i3 - 1, 0, e3), this.orderChanged(), i3 - 1) : void 0; + set outputs(e3) { + this._outputs = this.reviveArray(e3, d); } - setItemsOrder(e3) { - if (!e3 || 0 === e3.length) return; - const t3 = this._suppressListOrderChangedEvent; - this._suppressListOrderChangedEvent = true; - try { - this.items.length = 0, this.model.length = 0, e3.forEach((e4) => { - this.items.push(e4), this.model.push(e4.model); - }); - } finally { - this._suppressListOrderChangedEvent = t3, this.orderChanged(); - } + get voiceProcessingPrompt() { + return this._voiceProcessingPrompt; } - orderChanged() { - 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; - } + set voiceProcessingPrompt(e3) { + this._voiceProcessingPrompt = this.reviveItem(e3, c.default); } - pop() { - return this.model.pop(), this.items.pop(); + } + t2.CallGuideActionModel = p, p.__type = s.callGuideActionType, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], p.prototype, "guideId", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], p.prototype, "guideName", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], p.prototype, "guideVersion", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], p.prototype, "guideLatestVersion", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], p.prototype, "inputs", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], p.prototype, "outputs", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], p.prototype, "voiceProcessingPrompt", null), p.registerType(); + }, 17749(e2, t2, i2) { + "use strict"; + t2.ClearSkillExpressionFiltersActionModel = void 0; + const n2 = i2(5894), o = i2(30801); + class r extends n2.BaseFailureOutputsActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - canRemove(e3) { - return true; + } + t2.ClearSkillExpressionFiltersActionModel = r, r.__type = o.clearSkillExpressionFiltersActionType, r.registerType(); + }, 63391(e2, t2, i2) { + "use strict"; + t2.CompleteSendActionModel = void 0; + const n2 = i2(94858), o = i2(30801); + class r extends n2.BaseActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - canMove(e3) { - return true; + } + t2.CompleteSendActionModel = r, r.__type = o.completeSendActionType, r.registerType(); + }, 54403(e2, t2, i2) { + "use strict"; + var n2, o, r, a; + t2.CreateConversationAttributeActionModel = void 0; + 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"); } - disableRemove(e3) { - return true; + get recordId() { + return this._recordId; } - removeChild(e3, t3) { - let i3 = false; - const n3 = this._suppressListOrderChangedEvent; - 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 || p.validate(this.parent, true)); - } finally { - this._suppressListOrderChangedEvent = n3, this.orderChanged(); - } - return i3; + set recordId(e3) { + this._recordId = this.reviveItem(e3, d.default); } - removeAll() { - r2.default.each(this.items, (e3) => { - this.destroyChild(e3); - }), this.items.splice(0, this.items.length), this.orderChanged(); + get input() { + return this._input; } - removeChildByReferenceId(e3) { - if (!e3.referenceId) return; - const t3 = r2.default.findWhere(this.model, { referenceId: e3.referenceId }); - let i3 = this.model.indexOf(t3); - i3 > -1 && this.model.splice(i3, 1); - const n3 = r2.default.findWhere(this.items, { referenceId: e3.referenceId }); - i3 = this.items.indexOf(n3), i3 > -1 && (this.items.splice(i3, 1), this.destroyChild(e3)), this.orderChanged(); + set input(e3) { + this._input = this.reviveItem(e3, d.default); } - replaceItemAtIndex(e3, t3) { - e3 > -1 && e3 < this.items.length && (this.destroyChild(this.items[e3]), this.model[e3] = t3.model, this.items[e3] = t3), r2.default.isFunction(t3.initializeDesignTime) && t3.initializeDesignTime(); + get output() { + return this._output; } - search(e3) { - this.items.forEach((t3) => { - t3.isExpressionContainerItem ? t3.search(e3) : e3.addToQueue(t3); - }); + set output(e3) { + this._output = this.reviveItem(e3, d.default); } - updateDependencies() { - this.items.forEach((e3) => { - e3.isExpressionContainerItem ? e3.updateDependencies() : s.registerExpression(e3); - }); + get divisions() { + return this._divisions; } - validate(e3) { - this.items.forEach((t3) => { - r2.default.isFunction(t3.validate) && t3.validate(e3); - }); + set divisions(e3) { + this._divisions = this.reviveItem(e3, d.default); } - getExpressions() { - return this.items.reduce((e3, t3) => (e3.push(...t3.getExpressions()), e3), []); + pasteReIdOrRename(e3) { + var t3, i3; + super.pasteReIdOrRename(e3), this.recordId.pasteReIdOrRename(e3), null === (t3 = this.input) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.output) || void 0 === i3 || i3.pasteReIdOrRename(e3), this.divisions.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + var t3, i3; + 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.ExpressionContainer = h; - }, 44706: (e2, t2, i2) => { + 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 (o = void 0 !== d.default && d.default) ? o : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "input", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (r = void 0 !== d.default && d.default) ? r : 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(); + }, 59777(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), 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(); - }, 200), this.parent = t3, this._model = e3, this._model.label || (this._model.label = new l.default()), this.label = this.createLabelViewModel(); - } - get className() { - return "ChoiceViewModel"; + t2.DeflectActionModel = void 0; + const n2 = i2(31635), o = i2(5894), r = i2(30801), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(80295); + class u extends o.BaseFailureOutputsActionModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_deflectTo"), (0, l.makeUnenumerable)(this, "_message"), (0, l.makeUnenumerable)(this, "_smsTo"), (0, l.makeUnenumerable)(this, "_smsFrom"); } - get isChoiceViewModel() { - return true; + get deflectTo() { + return this._deflectTo; } - get isEnabled() { - return this.model.isEnabled; + set deflectTo(e3) { + this._deflectTo = this.reviveItem(e3, s.default); } - set isEnabled(e3) { - this.model.isEnabled = e3, this.parent.onChoicesUpdated(); + get message() { + return this._message; } - get model() { - return this._model; + set message(e3) { + this._message = this.reviveItem(e3, s.default); } - get name() { - return this.model.name; + get smsTo() { + return this._smsTo; } - set name(e3) { - this.model.name = e3.trim(), this._debouncedOnChoicesUpdated(); + set smsTo(e3) { + this._smsTo = this.reviveItem(e3, s.default); } - get referenceId() { - return this.model.referenceId; + get smsFrom() { + return this._smsFrom; } - set referenceId(e3) { - this.model.referenceId = e3; + set smsFrom(e3) { + this._smsFrom = this.reviveItem(e3, s.default); } - validate(e3) { - var t3; - null === (t3 = this.label) || void 0 === t3 || t3.validate(e3); + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this.deflectTo.pasteReIdOrRename(e3), this.message.pasteReIdOrRename(e3), this.smsTo.pasteReIdOrRename(e3), this.smsFrom.pasteReIdOrRename(e3); } - createLabelViewModel() { - const e3 = u.ExpressionTypeStringOptions.create((e4) => { - 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); + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this.deflectTo.pasteResolveOldToNewValues(e3), this.message.pasteResolveOldToNewValues(e3), this.smsTo.pasteResolveOldToNewValues(e3), this.smsFrom.pasteResolveOldToNewValues(e3); } } - t2.ChoiceViewModel = _; - }, 44724: (e2, t2) => { + t2.DeflectActionModel = u, u.__type = r.deflectActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "deflectTo", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "message", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "smsTo", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "smsFrom", null), u.registerType(); + }, 79080(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.permissionStrings = void 0, t2.permissionStrings = { architect: { application: { use: "architect:ui:view" }, dependencyTracking: { rebuild: "architect:dependencyTracking:rebuild", view: "architect:dependencyTracking:view" }, flow: { add: "architect:flow:add", delete: "architect:flow:delete", edit: "architect:flow:edit", launch: "architect:flow:launch", publish: "architect:flow:publish", search: "architect:flow:search", unlock: "architect:flow:unlock", view: "architect:flow:view" }, flowExecution: { view: "architect:flowExecution:view" }, flowInstance: { search: "architect:flowInstance:search", view: "architect:flowInstance:view" }, flowInstanceExecutionData: { view: "architect:flowInstanceExecutionData:view" }, flowLogLevel: { view: "architect:flowLogLevel:view" }, flowLogLevelDefault: { view: "architect:flowLogLevelDefault:view" }, flowMilestone: { add: "architect:flowMilestone:add", search: "architect:flowMilestone:search" }, flowOutcome: { add: "architect:flowOutcome:add", search: "architect:flowOutcome:search" }, systemPrompt: { edit: "architect:systemPrompt:edit", view: "architect:systemPrompt:view" }, userPrompt: { add: "architect:userPrompt:add", delete: "architect:userPrompt:delete", edit: "architect:userPrompt:edit", view: "architect:userPrompt:view" }, virtualAgentFlow: { edit: "architect:virtualAgentFlow:edit" }, grammar: { add: "architect:grammar:add", delete: "architect:grammar:delete", edit: "architect:grammar:edit", view: "architect:grammar:view" } }, conversation: { conference: { add: "conversation:conference:add" } }, copilot: { session: { view: "copilot:session:view" }, message: { view: "copilot:message:view", send: "copilot:message:send" } }, journey: { actionMap: { view: "journey:actionmap:view" }, flowpaths: { view: "journey:flowpaths:view" } }, processAutomation: { triggers: { view: "processautomation:trigger:view" } }, recording: { retentionPolicy: { view: "recording:retentionPolicy:view" } }, responseAssets: { asset: { add: "responseAssets:asset:add", view: "responseAssets:asset:view" } }, architectFeatureToggle: {}, architectFuture: { flow: { undelete: "architect:flow:undelete" }, userPrompt: { undelete: "architect:userPrompt:undelete" } }, external: { externalAuthorizationsDisplayTitles: { telephony: "telephonyView" }, externalAuthorizations: { agenticVirtualAgentView: "agentic:virtualAgent:view", agenticVirtualAgentVersionView: "agentic:virtualAgentVersion:view", analyticsBotAggregateView: "analytics:botAggregate:view", analyticsBotFlowReportingTurnView: "analytics:botFlowReportingTurn:view", analyticsBotFlowSessionView: "analytics:botFlowSession:view", analyticsConversationAggregateView: "analytics:conversationAggregate:view", analyticsConversationDetailView: "analytics:conversationDetail:view", analyticsFlowAggregateView: "analytics:flowAggregate:view", analyticsFlowExecutionAggregateView: "analytics:flowExecutionAggregate:view", analyticsKnowledgeAggregateView: "analytics:knowledgeAggregate:view", analyticsSummaryAggregateView: "analytics:summaryAggregate:view", analyticsSurveyAggregateView: "analytics:surveyAggregate:view", audit: "outbound:audit:view", bridge: "bridge:actions:view", conversationCommunicationView: "conversation:communication:view", directoryOrganizationAdmin: "directory:organization:admin", geocodingGeolocationFetch: "geolocation:geocoding:fetch", guideView: "aiStudio:guide:view", guideVersionView: "aiStudio:guideVersion:view", integrations: "integrations:action:view", intentMinerView: "languageUnderstanding:minerIntent:view", journeyActionMapView: "journey:actionmap:view", journeyFlowsView: "journey:flowpaths:view", languageSkills: "routing:skill:manage", previewWidgetView: "textbots:botFlowSession:execute", processAutomationTriggerView: "processautomation:trigger:view", recordingRetentionPolicyView: "recording:retentionPolicy:view", response: "responses:response:view", responseAdd: "responses:response:add", responseAssetsAdd: "responseAssets:asset:add", responseAssetView: "responseAssets:asset:view", responseLibrary: "responses:library:view", schedules: "routing:schedule:view", scheduleGroup: "routing:scheduleGroup:view", scripts: "scripter:publishedScript:view", qualityCalibrationView: "quality:calibration:view", qualityEvaluationAdd: "quality:evaluation:add", qualityEvaluationEditScore: "quality:evaluation:editScore", qualitySurveyFormView: "quality:surveyForm:view", queues: "routing:queue:view", settingsExecutionDataView: "settings:executionData:view", voicemailReceive: "voicemail:voicemail:receive", wrapupCode: "routing:wrapupCode:view", wrapupCodeSearch: "routing:wrapupCode:search", workitemsView: "workitems:workitem:view" } }, textBots: { botFlowSession: { botFlowSessionExecute: "textbots:botFlowSession:execute" } } }; - }, 44820: (e2, t2, i2) => { + t2.EndBusinessProcessActionModel = void 0; + const n2 = i2(94858), o = i2(30801); + class r extends n2.BaseActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; + } + } + t2.EndBusinessProcessActionModel = r, r.__type = o.endBusinessProcessActionType, r.registerType(); + }, 20815(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(74797), r2 = i2(30801); - class o extends n2.ArchBaseActionConversationAttribute { + var n2, o; + t2.EvaluateSkillExpressionFiltersActionModel = void 0; + const r = i2(31635), a = i2(5894), s = i2(30801), l = i2(80295), u = i2(80295), c = r.__importDefault(i2(7401)); + class d extends a.BaseFailureOutputsActionModel { constructor(e3) { - super(e3), this._recordId = this.coreFactory.createArchWrapper(e3.recordId), this._divisions = this.coreFactory.createArchWrapper(e3.divisions); + super(e3), this.__type = d.__type, (0, u.makeUnenumerable)(this, "_skillExpressionFilters"), (0, u.makeUnenumerable)(this, "_skillExpressionFiltersResult"); } - get _actionTypeId() { - return r2.createConversationAttributeActionType; + pasteReIdOrRename(e3) { + var t3, i3; + super.pasteReIdOrRename(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.skillExpressionFiltersResult) || void 0 === i3 || i3.pasteReIdOrRename(e3); } - get displayTypeName() { - return this._scriptingName; + pasteResolveOldToNewValues(e3) { + var t3, i3; + super.pasteResolveOldToNewValues(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.skillExpressionFiltersResult) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3); } - get isArchActionCreateConversationAttribute() { - return true; + get skillExpressionFilters() { + return this._skillExpressionFilters; } - get recordId() { - return this._recordId; + set skillExpressionFilters(e3) { + this._skillExpressionFilters = this.reviveItem(e3, c.default); } - get divisions() { - return this._divisions; + get skillExpressionFiltersResult() { + return this._skillExpressionFiltersResult; + } + set skillExpressionFiltersResult(e3) { + this._skillExpressionFiltersResult = this.reviveItem(e3, c.default); } } - t2.default = o; - }, 44880: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.throttle = void 0; - 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, 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 (d) { - d = false; - var e4 = p; - p = null, n3.next(e4), !h && f(e4); - } - }; - i3.subscribe(r2.createOperatorSubscriber(n3, function(e4) { - d = true, p = e4, (!_ || _.closed) && (l ? T() : f(e4)); - }, function() { - h = true, (!(c && d && _) || _.closed) && n3.complete(); - })); - }); - }; - }, 44885: (e2, t2, i2) => { + t2.EvaluateSkillExpressionFiltersActionModel = d, d.__type = s.evaluateSkillExpressionFiltersActionType, r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.default && c.default) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== c.default && c.default) ? o : Object])], d.prototype, "skillExpressionFilters", null), r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "skillExpressionFiltersResult", null), d.registerType(); + }, 50584(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.empty = t2.EMPTY = void 0; - var n2 = i2(48051); - t2.EMPTY = new n2.Observable(function(e3) { - return e3.complete(); - }), t2.empty = function(e3) { - return e3 ? (function(e4) { - return new n2.Observable(function(t3) { - return e4.schedule(function() { - return t3.complete(); - }); - }); - })(e3) : t2.EMPTY; - }; - }, 44900: (e2, t2, i2) => { - const { askSurveyQuestionActionType: n2 } = i2(30801), r2 = i2(7401), o = i2(2444); - function a() { - Object.defineProperties(this, { _questionCondition: { writable: true }, _surveyQuestion: { writable: true }, _answer: { writable: true }, _followUpQuestion: { writable: true }, _surveyQuestionResult: { writable: true }, _notApplicable: { writable: true } }), a.baseConstructor.apply(this, arguments); + t2.FindDivisionActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; + } } - Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.answer?.pasteResolveOldToNewValues(e3), this.followUpQuestion?.pasteResolveOldToNewValues(e3), this.questionCondition?.pasteResolveOldToNewValues(e3), this.surveyQuestion?.pasteResolveOldToNewValues(e3), this.notApplicable?.pasteResolveOldToNewValues(e3), this.surveyQuestionResult?.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.answer?.pasteReIdOrRename(e3), this.followUpQuestion?.pasteReIdOrRename(e3), this.questionCondition?.pasteReIdOrRename(e3), this.surveyQuestion?.pasteReIdOrRename(e3), this.notApplicable?.pasteReIdOrRename(e3), this.surveyQuestionResult?.pasteReIdOrRename(e3); - } }, questionCondition: { enumerable: true, get: function() { - return this._questionCondition; - }, set: function(e3) { - this._questionCondition = this.reviveItem(e3, r2); - } }, surveyQuestionResult: { enumerable: true, get: function() { - return this._surveyQuestionResult; - }, set: function(e3) { - this._surveyQuestionResult = this.reviveItem(e3, r2); - } }, surveyQuestion: { enumerable: true, get: function() { - return this._surveyQuestion; - }, set: function(e3) { - this._surveyQuestion = this.reviveItem(e3, r2); - } }, followUpQuestion: { enumerable: true, get: function() { - return this._followUpQuestion; - }, set: function(e3) { - this._followUpQuestion = this.reviveItem(e3, r2); - } }, answer: { enumerable: true, get: function() { - return this._answer; - }, set: function(e3) { - this._answer = this.reviveItem(e3, r2); - } }, notApplicable: { enumerable: true, get: function() { - return this._notApplicable; - }, set: function(e3) { - 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_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 { + t2.FindDivisionActionModel = r, r.__type = o.findDivisionActionType, r.registerType(); + }, 19131(e2, t2, i2) { + "use strict"; + t2.FindDivisionsActionModel = void 0; + const n2 = i2(59821), o = i2(30801); + class r extends n2.BaseFindSystemObjectsByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; + } } - s.prototype.getBots = function(e3) { - return o.build(a.getBots).queryParams(e3.getSearchQueryParams()).call(); - }, s.prototype.getAliases = function(e3) { - return e3.addAdditionalParams({ status: r2.v1.ready }), o.build(a.getAliases).templateParams({ botId: e3.additionalParams.botId }).queryParams(e3.getSearchQueryParams()).call().then(function(t3) { - return n2.each(t3.entities, function(t4) { - if (!t4.bot) { - const i3 = e3.additionalParams.botId; - t4.bot = { id: i3, name: i3 }; - } - }), t3; - }); - }, s.prototype.getAlias = function(e3) { - return o.build(a.getAlias).templateParams({ aliasId: e3 }).call(); - }, s.prototype.getV2Bots = function(e3) { - return o.build(a.getV2Bots).queryParams(e3.getSearchQueryParams()).call(); - }, s.prototype.getV2Aliases = function(e3) { - return e3.addAdditionalParams({ status: r2.v2.available }), o.build(a.getV2Aliases).templateParams({ botId: e3.additionalParams.botId }).queryParams(e3.getSearchQueryParams()).call().then(function(t3) { - return n2.each(t3.entities, function(t4) { - if (!t4.bot) { - const i3 = e3.additionalParams.botId; - t4.bot = { botId: i3, name: i3 }; - } - }), t3; - }); - }, s.prototype.getV2Alias = function(e3) { - return o.build(a.getV2Alias).templateParams({ aliasId: e3 }).call(); - }, s.prototype.getAlias.api = a.getAlias, s.prototype.getV2Alias.api = a.getV2Alias, e2.exports = new s(); - }, 44951: (e2, t2, i2) => { - const n2 = i2(7401), r2 = i2(54668), { transferFlowSecureActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _invocationData: { writable: true }, _connTimeout: { writable: true } }), a.baseConstructor.apply(this, arguments); + t2.FindDivisionsActionModel = r, r.__type = o.findDivisionsActionType, r.registerType(); + }, 44565(e2, t2, i2) { + "use strict"; + t2.FindEmergencyGroupActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; + } } - r2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.connTimeout.pasteReIdOrRename(e3), this.invocationData.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.connTimeout.pasteResolveOldToNewValues(e3), this.invocationData.pasteResolveOldToNewValues(e3); - } }, connTimeout: { enumerable: true, get: function() { - return this._connTimeout; - }, set: function(e3) { - this._connTimeout = this.reviveItem(e3, n2); - } }, invocationData: { enumerable: true, get: function() { - return this._invocationData; - }, set: function(e3) { - this._invocationData = this.reviveItem(e3, n2); - } } }), e2.exports = a; - }, 45077: (e2, t2) => { + t2.FindEmergencyGroupActionModel = r, r.__type = o.findEmergencyGroupActionType, r.registerType(); + }, 41136(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.setSkillExpressionFiltersFailureReasons = t2.evaluateSkillExpressionFiltersFailureReasons = t2.clearSkillExpressionFiltersFailureReasons = void 0; - const i2 = "ActionInvocationLimitExceeded", n2 = "Busy", r2 = "GeneralError", o = "InvalidSkillExpressionFilterCount"; - t2.clearSkillExpressionFiltersFailureReasons = [i2, n2, r2], t2.evaluateSkillExpressionFiltersFailureReasons = [i2, n2, r2, "InvalidSkillExpressionFilterRawText", o], t2.setSkillExpressionFiltersFailureReasons = [i2, n2, r2, "InvalidSkillExpressionFilter", o]; - }, 45098: (e2, t2, i2) => { + t2.FindGrammarActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; + } + } + t2.FindGrammarActionModel = r, r.__type = o.findGrammarActionType, r.registerType(); + }, 48388(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(21042), r2 = i2(27862), o = i2(1211); - class a extends n2.BootstrapListManager { - constructor() { - super(r2.TtsVoice, o); + t2.FindGrammarByIdActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get className() { - return "voiceService"; + } + t2.FindGrammarByIdActionModel = r, r.__type = o.findGrammarByIdActionType, r.registerType(); + }, 51482(e2, t2, i2) { + "use strict"; + t2.FindGroupActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } } - t2.default = new a(); - }, 45148: (e2, t2, i2) => { + t2.FindGroupActionModel = r, r.__type = o.findGroupActionType, r.registerType(); + }, 9311(e2, t2, i2) { "use strict"; - 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, c, d, p, _) { - super(e3, t3, i3, n3, o2, a2, s2, l, u, c, d, p, _), Object.defineProperties(this, { _generators: { value: r3, writable: true } }); + t2.FindKnowledgeBaseDocumentByIdActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get className() { - return "BaseBuilderDef"; + } + t2.FindKnowledgeBaseDocumentByIdActionModel = r, r.__type = o.findKnowledgeBaseDocumentByIdActionType, r.registerType(); + }, 62478(e2, t2, i2) { + "use strict"; + t2.FindLanguageSkillActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get fixedBuilderPart() { - return false; + } + t2.FindLanguageSkillActionModel = r, r.__type = o.findLanguageSkillActionType, r.registerType(); + }, 97678(e2, t2, i2) { + "use strict"; + t2.FindQueueActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get warnOnNoParts() { - return false; + } + t2.FindQueueActionModel = r, r.__type = o.findQueueActionType, r.registerType(); + }, 30502(e2, t2, i2) { + "use strict"; + t2.FindQueueByIdActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get hasMaxBuilderPartCount() { - return false; + } + t2.FindQueueByIdActionModel = r, r.__type = o.findQueueByIdActionType, r.registerType(); + }, 42170(e2, t2, i2) { + "use strict"; + t2.FindScheduleActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get hasMinBuilderPartCount() { - return false; + } + t2.FindScheduleActionModel = r, r.__type = o.findScheduleActionType, r.registerType(); + }, 40971(e2, t2, i2) { + "use strict"; + t2.FindScheduleGroupActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get maxBuilderPartCount() { + } + t2.FindScheduleGroupActionModel = r, r.__type = o.findScheduleGroupActionType, r.registerType(); + }, 17512(e2, t2, i2) { + "use strict"; + t2.FindSkillActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get minBuilderPartCount() { + } + t2.FindSkillActionModel = r, r.__type = o.findSkillActionType, r.registerType(); + }, 83620(e2, t2, i2) { + "use strict"; + t2.FindSystemPromptActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - getExpressionGenerator(e3) { - if (this._generators.getExpressionGenerator && r2.default.isFunction(this._generators.getExpressionGenerator)) { - const t3 = this._generators.getExpressionGenerator(e3, this.generators); - if (t3) return t3; - } - return this._generators.expressionGenerator; + } + t2.FindSystemPromptActionModel = r, r.__type = o.findSystemPromptActionType, r.registerType(); + }, 96684(e2, t2, i2) { + "use strict"; + t2.FindUserActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - getNoPartsGenerator() { - return this._generators.noOrDisabledPartsGenerator; + } + t2.FindUserActionModel = r, r.__type = o.findUserActionType, r.registerType(); + }, 84424(e2, t2, i2) { + "use strict"; + t2.FindUserByIdActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get generators() { - return this._generators; + } + t2.FindUserByIdActionModel = r, r.__type = o.findUserByIdActionType, r.registerType(); + }, 21030(e2, t2, i2) { + "use strict"; + t2.FindUserPromptActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - get isBaseBuilderDef() { - return true; + } + t2.FindUserPromptActionModel = r, r.__type = o.findUserPromptActionType, r.registerType(); + }, 84151(e2, t2, i2) { + "use strict"; + t2.FindUsersByIdActionModel = void 0; + const n2 = i2(64599), o = i2(30801); + class r extends n2.BaseFindSystemObjectsByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - createBuilder(e3, t3) { - throw "You must override the createBuilder method in inheriting classes"; + } + t2.FindUsersByIdActionModel = r, r.__type = o.findUsersByIdActionType, r.registerType(); + }, 63619(e2, t2, i2) { + "use strict"; + t2.FindUtilizationLabelActionModel = void 0; + const n2 = i2(49574), o = i2(30801); + class r extends n2.BaseFindSystemObjectByNameActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - reviveBuilder(e3, t3, i3) { - throw "You must override the reviveBuilder method in inheriting classes"; + } + t2.FindUtilizationLabelActionModel = r, r.__type = o.findUtilizationLabelActionType, r.registerType(); + }, 80794(e2, t2, i2) { + "use strict"; + t2.GetAssignedCustomerSegmentsActionModel = void 0; + const n2 = i2(31635), o = i2(30801), r = i2(5894), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(7401)); + class u extends r.BaseFailureOutputsActionModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_externalContactId"), (0, s.makeUnenumerable)(this, "_segmentsToCheck"), (0, s.makeUnenumerable)(this, "_assignedCustomerSegmentsResult"); } - reviveBuilderModel(e3) { - const t3 = this.createModel(e3); - return t3.populateFromJSON(e3), t3; + get externalContactId() { + return this._externalContactId; } - get modelType() { - return o.default; + set externalContactId(e3) { + this._externalContactId = this.reviveItem(e3, l.default); } - createModel(e3) { - return new this.modelType({ builderId: e3.builderDefId, version: e3.version }); + get segmentsToCheck() { + return this._segmentsToCheck; } - } - 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); + set segmentsToCheck(e3) { + this._segmentsToCheck = this.reviveItem(e3, l.default); } - static get branchInfo() { - return c.default.foundNotFoundFailure; + get assignedCustomerSegmentsResult() { + return this._assignedCustomerSegmentsResult; } - _getPossibleErrors() { - return p.getAssignedCustomerSegmentsFailureReasons; + set assignedCustomerSegmentsResult(e3) { + this._assignedCustomerSegmentsResult = this.reviveItem(e3, l.default); } - 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 }]; + 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); } - } - 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; - const l = () => { - if (!s) { - const e3 = i2(24032); - e3 && n2.isFunction(e3.getTopic) && (s = e3.getTopic("DataContract")); + 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); } - return s; - }; - function u(e3, t3) { - return t3 && t3.__type && n2.isFunction(a[t3.__type]) ? new a[t3.__type](t3) : 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]); + t2.GetAssignedCustomerSegmentsActionModel = u, u.__type = o.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(); + }, 77787(e2, t2, i2) { + "use strict"; + var n2, o; + t2.GetConversationAttributeActionModel = void 0; + const r = i2(31635), a = i2(70630), s = i2(80295), l = r.__importDefault(i2(7401)), u = i2(30801), c = i2(80295); + class d extends a.BaseConversationAttributeActionModel { + constructor(e3) { + super(e3), this.__type = d.__type, (0, c.makeUnenumerable)(this, "_recordId"), (0, c.makeUnenumerable)(this, "_output"); } - } - function d(e3) { - var t3; - 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]; - return t4; - })(this); - } }, toJSON: { value: function() { - return this.flatten(); - } }, valueOf: { value: function() { - return this.flatten(); - } } }); - } - function p(e3) { - l().errorWithStack(e3, "Ignored Configuration Item"); - } - 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(d, { getConfiguration(e3, t3) { - return this; - }, populateFromJSON(e3) { - c(e3, this); - }, pasteReIdOrRename: { value: function(e3) { - } }, pasteResolveOldToNewValues: { value: function(e3) { - } }, reviveArray: function(e3, t3) { - n2.isArray(e3) || (e3 = []); - for (let i3 = 0; i3 < e3.length; i3++) { - const n3 = e3[i3]; - try { - if (!n3) { - e3.splice(i3--, 1); - continue; - } - n3 instanceof (t3 = a[n3.__type] || t3) || (e3[i3] = new t3(n3)); - } catch (t4) { - e3.splice(i3--, 1), p(t4); - } + get recordId() { + return this._recordId; } - return e3; - }, reviveArrayToMap(e3, t3) { - return n2.chain(e3).map((e4) => { - try { - return this.reviveItem(e4, t3); - } catch (e5) { - p(e5); - } - }).filter((e4) => e4).groupBy((e4) => { - const i3 = e4[t3.keyProperty || "id"]; - if (!i3) throw new Error(`revived item has no id or keyProperty ${JSON.stringify(e4)}`); - return i3; - }).reduce((e4, i3, r3) => { - let o2, a2 = i3[0]; - if (i3.length > 1) if (n2.isFunction(t3.getMasterItemIndexFromDuplicateKeyList)) { - const e5 = t3.getMasterItemIndexFromDuplicateKeyList(i3); - i3[e5] ? (a2 = i3.splice(e5, 1)[0], o2 = i3) : l().error(`Failed to get master item for group of duplicate ids: ${r3}, using first item, ignoring the rest`); - } else l().error(`Unexpected array with duplicate keys: ${r3}, using first item, ignoring the rest`); - return o2 && (t3.duplicateKeyListProperty ? a2[t3.duplicateKeyListProperty] = o2 : l().error(`Throwing away duplicates for key ${r3} because no duplicateKeyCombineProperty found`)), e4[r3] = a2, e4; - }, {}).value(); - }, reviveEnum: function(e3, t3) { - if (e3 || 0 === e3) return e3 instanceof t3 ? e3 : t3.getInstance(e3); - }, reviveItem: function(e3, t3) { - let i3; - try { - if (!e3) return; - e3.__type && (t3 = a[e3.__type] || t3), i3 = e3 instanceof t3 ? e3 : new t3(e3); - } catch (e4) { - i3 = void 0, p(e4); + set recordId(e3) { + this._recordId = this.reviveItem(e3, l.default); } - return i3; - }, reviveMap: function(e3, t3, i3) { - const r3 = {}; - return n2.each(e3, (e4, n3) => { - const o2 = this.reviveItem(e4, t3); - i3 && (o2.id = n3), r3[n3] = o2; - }), r3; - } }), e2.exports = d; - }, 45252: (e2, t2, i2) => { + get output() { + return this._output; + } + set output(e3) { + this._output = this.reviveItem(e3, l.default); + } + pasteReIdOrRename(e3) { + var t3; + super.pasteReIdOrRename(e3), this.recordId.pasteReIdOrRename(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + var t3; + super.pasteResolveOldToNewValues(e3), this.recordId.pasteResolveOldToNewValues(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); + } + } + t2.GetConversationAttributeActionModel = d, d.__type = u.getConversationAttributeActionType, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "recordId", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== l.default && l.default) ? o : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "output", null), d.registerType(); + }, 60818(e2, t2, i2) { "use strict"; - var n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = i2(30801), s = o.__importDefault(i2(38663)); - class l extends s.default { + var n2, o; + t2.GetConversationAttributesActionModel = void 0; + const r = i2(31635), a = i2(70630), s = i2(80295), l = r.__importDefault(i2(7401)), u = i2(30801), c = i2(80295); + class d extends a.BaseConversationAttributeActionModel { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.maxSnippetTime), "f"), o.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.snippet), "f"); + super(e3), this.__type = d.__type, (0, c.makeUnenumerable)(this, "_recordIds"), (0, c.makeUnenumerable)(this, "_output"); } - get _actionTypeId() { - return a.collectVoiceSnippetActionType; + get recordIds() { + return this._recordIds; } - get displayTypeName() { - return this._scriptingName; + set recordIds(e3) { + this._recordIds = this.reviveItem(e3, l.default); } - get isArchActionCollectVoiceSnippet() { - return true; + get output() { + return this._output; } - get maxSnippetTime() { - return o.__classPrivateFieldGet(this, n2, "f"); + set output(e3) { + this._output = this.reviveItem(e3, l.default); } - get snippet() { - return o.__classPrivateFieldGet(this, r2, "f"); + pasteReIdOrRename(e3) { + var t3; + super.pasteReIdOrRename(e3), this.recordIds.pasteReIdOrRename(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + var t3; + super.pasteResolveOldToNewValues(e3), this.recordIds.pasteResolveOldToNewValues(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = l; - }, 45279: (e2, t2, i2) => { - const n2 = i2(28730), { previousMenuActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 45311: (e2, t2) => { + t2.GetConversationAttributesActionModel = d, d.__type = u.getConversationAttributesActionType, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "recordIds", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== l.default && l.default) ? o : Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "output", null), d.registerType(); + }, 9446(e2, t2, i2) { "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(); + t2.GetEmailHeadersActionModel = void 0; + const n2 = i2(31635), o = i2(30801), r = i2(80295), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(5894); + class u extends l.BaseFailureOutputsActionModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, a.makeUnenumerable)(this, "_emailHeaderNames"), (0, a.makeUnenumerable)(this, "_emailHeadersResult"); } - get currentReferencePath() { - return 0 === this._pathParts.length ? "/" : `/${this._pathParts.map((e3) => this._formatPathPart(e3)).join("/")}`; + pasteReIdOrRename(e3) { + var t3, i3; + super.pasteReIdOrRename(e3), null === (t3 = this.emailHeaderNames) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.emailHeadersResult) || void 0 === i3 || i3.pasteReIdOrRename(e3); } - get warnings() { - return this._warnings; + pasteResolveOldToNewValues(e3) { + var t3, i3; + super.pasteResolveOldToNewValues(e3), null === (t3 = this.emailHeaderNames) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.emailHeadersResult) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3); } - get errors() { - return this._errors; + get emailHeaderNames() { + return this._emailHeaderNames; } - pushPathPart(e3) { - this._pathParts.push({ prop: e3 }); + set emailHeaderNames(e3) { + this._emailHeaderNames = this.reviveItem(e3, s.default); } - popPathPart() { - this._pathParts.pop(); + get emailHeadersResult() { + return this._emailHeadersResult; } - pushRefId(e3) { - 0 !== this._pathParts.length && (this._pathParts[this._pathParts.length - 1].objectId = e3); + set emailHeadersResult(e3) { + this._emailHeadersResult = this.reviveItem(e3, s.default); } - popRefId() { - 0 !== this._pathParts.length && (this._pathParts[this._pathParts.length - 1].objectId = void 0); + } + t2.GetEmailHeadersActionModel = u, u.__type = o.getEmailHeadersActionType, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "emailHeaderNames", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "emailHeadersResult", null), u.registerType(); + }, 51060(e2, t2, i2) { + "use strict"; + t2.GetJourneyOutcomeActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - addWarning(e3) { - this._warnings.push(e3); + } + t2.GetJourneyOutcomeActionModel = r, r.__type = o.getJourneyOutcomeActionType, r.registerType(); + }, 55026(e2, t2, i2) { + "use strict"; + t2.GetJourneyOutcomeScoresBySessionActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - addError(e3) { - this._errors.push(e3); + } + t2.GetJourneyOutcomeScoresBySessionActionModel = r, r.__type = o.getJourneyOutcomeScoresBySessionActionType, r.registerType(); + }, 85251(e2, t2, i2) { + "use strict"; + t2.GetJourneySegmentActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - trackObject(e3, t3, i2) { - this._refPathToObjectMap.set(i2, t3); + } + t2.GetJourneySegmentActionModel = r, r.__type = o.getJourneySegmentActionType, r.registerType(); + }, 27244(e2, t2, i2) { + "use strict"; + t2.GetJourneySessionActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = r.__type; } - getObjectByRefPath(e3) { - return this._refPathToObjectMap.get(e3); + } + t2.GetJourneySessionActionModel = r, r.__type = o.getJourneySessionActionType, r.registerType(); + }, 76632(e2, t2, i2) { + "use strict"; + t2.GetJourneySessionsByCustomerActionModel = void 0; + const n2 = i2(31635), o = i2(28904), r = i2(80295), a = n2.__importDefault(i2(7401)), s = i2(30801), l = i2(80295); + class u extends o.BaseFindSystemObjectByIdActionModel { + constructor(e3) { + super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_findIdType"); } - _formatPathPart(e3) { - return void 0 !== e3.objectId ? `${e3.prop}[${e3.objectId}]` : e3.prop; + get findIdType() { + return this._findIdType; + } + set findIdType(e3) { + this._findIdType = this.reviveItem(e3, a.default); + } + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this._findIdType.pasteReIdOrRename(e3); + } + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this._findIdType.pasteResolveOldToNewValues(e3); } - }; - }, 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), c = i2(14187), { uuid: d } = i2(9456), p = "BaseClipboardViewModel"; - class _ { + t2.GetJourneySessionsByCustomerActionModel = u, u.__type = s.getJourneySessionsByCustomerActionType, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "findIdType", null), u.registerType(); + }, 89343(e2, t2, i2) { + "use strict"; + t2.GetJourneySessionsByExternalContactActionModel = void 0; + const n2 = i2(28904), o = i2(30801); + class r extends n2.BaseFindSystemObjectByIdActionModel { 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 = d()), n2.isUndefined(this._createDateTime) && (this._createDateTimeStr = (/* @__PURE__ */ new Date()).toISOString()), Object.defineProperties(this, { _createDateTime: { value: new Date(this._createDateTimeStr), writable: false, enumerable: false } }); + super(e3), this.__type = r.__type; } - _getNameAndIdStr(e3) { - return "'" + (e3.name ? e3.name : e3.displayName ? e3.displayName : "") + "' (ID: " + (e3.id ? e3.id : "") + ")"; + } + t2.GetJourneySessionsByExternalContactActionModel = r, r.__type = o.getJourneySessionsByExternalContactActionType, r.registerType(); + }, 11013(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s, l, u, c, d, p; + 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 { + constructor(e3) { + super(e3), this.__type = N.__type, (0, A.makeUnenumerable)(this, "_messagingTemplate"), (0, A.makeUnenumerable)(this, "_messagingTemplateId"), (0, A.makeUnenumerable)(this, "_messagingTemplateName"), (0, A.makeUnenumerable)(this, "_selectionResult"), (0, A.makeUnenumerable)(this, "_responseLibrary"), (0, A.makeUnenumerable)(this, "_substitutions"), (0, A.makeUnenumerable)(this, "_question"), (0, A.makeUnenumerable)(this, "_messagingTemplateType"); } - _performDestroy() { + pasteReIdOrRename(e3) { + var t3, i3, n3, o2, r2, a2; + super.pasteReIdOrRename(e3), null === (t3 = this._messagingTemplate) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this._responseLibrary) || void 0 === i3 || i3.pasteReIdOrRename(e3), null === (n3 = this._selectionResult) || void 0 === n3 || n3.pasteReIdOrRename(e3), null === (o2 = this._substitutions) || void 0 === o2 || o2.forEach((t4) => null == t4 ? void 0 : t4.pasteReIdOrRename(e3)), null === (r2 = this._question) || void 0 === r2 || r2.pasteReIdOrRename(e3), null === (a2 = this._messagingTemplateType) || void 0 === a2 || a2.pasteReIdOrRename(e3); } - get className() { - return p; + pasteResolveOldToNewValues(e3) { + var t3, i3, n3, o2, r2, a2; + super.pasteResolveOldToNewValues(e3), null === (t3 = this._messagingTemplate) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this._responseLibrary) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), null === (n3 = this._selectionResult) || void 0 === n3 || n3.pasteResolveOldToNewValues(e3), null === (o2 = this._substitutions) || void 0 === o2 || o2.forEach((t4) => null == t4 ? void 0 : t4.pasteResolveOldToNewValues(e3)), null === (r2 = this._question) || void 0 === r2 || r2.pasteResolveOldToNewValues(e3), null === (a2 = this._messagingTemplateType) || void 0 === a2 || a2.pasteResolveOldToNewValues(e3); } - get clipboardLogging() { - return this._clipboardLogging; + get messagingTemplate() { + return this._messagingTemplate; } - cloneToRawJsonObject(e3) { - return _.cloneToRawJsonObject(e3); + set messagingTemplate(e3) { + this._messagingTemplate = this.reviveItem(e3, f.MessagingTemplate); } - static cloneToRawJsonObject(e3) { - return n2.isUndefined(e3) || null === e3 ? e3 : n2.deepClone(e3); + get messagingTemplateId() { + return this._messagingTemplateId; } - createClipboardResultFailure(e3, t3) { - return r2.createFailureResult(e3); + set messagingTemplateId(e3) { + this._messagingTemplateId = e3; } - createClipboardResultFailureCanPasteGeneric(e3) { - return e3 && this.logError(e3), r2.createFailureResult(l.clipboard.content.pastableLocations.cannotPasteGeneric, e3); + get messagingTemplateName() { + return this._messagingTemplateName; } - createClipboardResultFailurePasteException(e3, t3) { - this.logException(e3, t3); - let i3 = n2.isString(t3) && t3.length > 0 ? t3 : ""; - return e3 && e3.message && (i3 = i3 + " -> " + e3.message), r2.createFailureResult(l.clipboard.paste.pasteFailed, i3); + set messagingTemplateName(e3) { + this._messagingTemplateName = e3; } - createClipboardResultFailurePasteGeneric(e3) { - return e3 && this.logError(e3), r2.createFailureResult(l.clipboard.paste.pasteFailed, e3); + get selectionResult() { + return this._selectionResult; } - createClipboardResultSuccess(e3, t3) { - return r2.createSuccessResult(e3, t3); + set selectionResult(e3) { + this._selectionResult = this.reviveItem(e3, m.default); } - createClipboardResultSuccessWithWarning(e3, t3) { - return r2.createSuccessWarningResult(e3, t3); + get responseLibrary() { + return this._responseLibrary; } - get dateTimeCreated() { - return this._createDateTime; + set responseLibrary(e3) { + this._responseLibrary = this.reviveItem(e3, T.ResponseLibrary); } - destroy() { - this.pushLogHeader(this.logHeader); - try { - this.log("Destroy begin."), this._performDestroy(); - } catch (e3) { - this.logException(e3, "Exception caught in base clipboard destroy"); - } finally { - this.log("Destroy end."), this.popLogHeader(), this._clipboardLogging = void 0, this._id = void 0; - } + get substitutions() { + return this._substitutions; } - static decodeStr(e3) { - return o.decodeStr(e3); + set substitutions(e3) { + this._substitutions = this.reviveArray(e3, g.default); } - static encodeStr(e3) { - return o.encodeStr(e3); + get question() { + return this._question; } - static getFlowViewModel(e3) { - return e3 && e3.parentFlow && e3.parentFlow.isFlowViewModel ? e3.parentFlow : void 0; + set question(e3) { + this._question = this.reviveItem(e3, m.default); } - getLastActionForStateOrTask(e3) { - if (e3 && e3.isTaskLike) return e3.lastAction; + get messagingTemplateType() { + return this._messagingTemplateType; } - get id() { - return this._id; + set messagingTemplateType(e3) { + this._messagingTemplateType = this.reviveItem(e3, m.default); } - get isBaseClipboardViewModel() { - return true; + } + 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 (o = void 0 !== f.MessagingTemplate && f.MessagingTemplate) ? o : 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 (r = void 0 !== m.default && m.default) ? r : 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(); + }, 61568(e2, t2, i2) { + "use strict"; + t2.SendRichLinkActionModel = void 0; + const n2 = i2(31635), o = i2(30801), r = i2(80934), a = i2(80295), s = n2.__importDefault(i2(7401)); + class l extends r.BaseActionWithOutputsModel { + constructor(e3) { + super(e3), this.__type = l.__type, (0, a.makeUnenumerable)(this, "_headerType"), (0, a.makeUnenumerable)(this, "_headerImage"), (0, a.makeUnenumerable)(this, "_headerText"), (0, a.makeUnenumerable)(this, "_body"), (0, a.makeUnenumerable)(this, "_footer"), (0, a.makeUnenumerable)(this, "_urlValue"), (0, a.makeUnenumerable)(this, "_urlLabel"); } - log(e3) { - this._clipboardLogging.log(e3); + get headerType() { + return this._headerType; } - logError(e3) { - this._clipboardLogging.logError(e3); + set headerType(e3) { + this._headerType = this.reviveItem(e3, s.default); } - logException(e3, t3) { - this._clipboardLogging.logException(e3, t3); + get headerImage() { + return this._headerImage; } - get logHeader() { - return this.className + " (ID: '" + this.id + "')"; + set headerImage(e3) { + this._headerImage = this.reviveItem(e3, s.default); } - pasteFixVariable(e3, t3) { - 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 = c.getScope(t3.name); - let r3, o2, l2 = true; - switch (n3) { - case c.scopes.common: - case c.scopes.flow: - r3 = e3.destFlowViewModel.supportsFlowInputVariables, o2 = e3.destFlowViewModel.supportsFlowOutputVariables; - break; - case c.scopes.state: - r3 = e3.destFlowViewModel.supportsStateInputVariables, o2 = e3.destFlowViewModel.supportsStateOutputVariables; - break; - case c.scopes.task: - r3 = e3.destFlowViewModel.supportsTaskInputVariables, o2 = e3.destFlowViewModel.supportsTaskOutputVariables; - break; - default: - l2 = false; - } - return l2 && (t3.isInput && !r3 && (this.log("The variable model " + this._getNameAndIdStr(t3) + " is an input variable which is not supported for " + n3 + " scoped variables in the flow " + e3.getDestFlowNameAndIdStr() + ". Setting isInput to false."), t3.isInput = false), t3.isOutput && !o2 && (this.log("The variable model " + this._getNameAndIdStr(t3) + " is an output variable which is not supported for " + n3 + " scoped variables in the flow " + e3.getDestFlowNameAndIdStr() + ". Setting isOutput to false."), t3.isOutput = false)), i3; + get headerText() { + return this._headerText; } - pasteGetUniqueName(e3, t3, i3, r3, o2, a2) { - const s2 = e3 ? e3.toLowerCase() : ""; - if (l2 = t3, u2 = function(e4) { - return e4.name.toLowerCase() === s2; - }, !(a2 ? n2.find(l2, function(e4) { - return n2.find(e4, u2); - }) : n2.find(l2, u2))) return e3; - var l2, u2; - 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; + set headerText(e3) { + this._headerText = this.reviveItem(e3, s.default); } - pushLogHeader(e3) { - this._clipboardLogging.pushLogHeader(e3); + get body() { + return this._body; } - popLogHeader() { - this._clipboardLogging.popLogHeader(); + set body(e3) { + this._body = this.reviveItem(e3, s.default); } - removeNumericSuffixAndSpace(e3) { - if (s.expectString(e3, () => a.createFunctionParameter(this.className, "removeNumericSuffixAndSpace", "valueToProcessStr"), true), !n2.isString(e3) && 0 === e3.length) return e3; - for (; e3.length && e3[e3.length - 1] >= "0" && e3[e3.length - 1] <= "9"; ) e3 = e3.substring(0, e3.length - 1); - for (; e3.length && " " === e3[e3.length - 1]; ) e3 = e3.substring(0, e3.length - 1); - return e3; + get footer() { + return this._footer; } - get shouldLog() { - return this._clipboardLogging.shouldLog; + set footer(e3) { + this._footer = this.reviveItem(e3, s.default); } - set shouldLog(e3) { - this._clipboardLogging.shouldLog = e3; + get urlValue() { + return this._urlValue; } - get suppressLogHeaders() { - return this._clipboardLogging.suppressLogHeaders; + set urlValue(e3) { + this._urlValue = this.reviveItem(e3, s.default); } - set suppressLogHeaders(e3) { - this._clipboardLogging.suppressLogHeaders = e3; + get urlLabel() { + return this._urlLabel; } - validateFlow(e3) { - s.expectFlowViewModel(e3, () => a.createFunctionParameter(this.className, "validateFlow", "flowViewModel")), e3 && e3.isFlowViewModel && u.validateFlow(e3); + set urlLabel(e3) { + this._urlLabel = this.reviveItem(e3, s.default); + } + pasteResolveOldToNewValues(e3) { + var t3, i3, n3, o2, r2, a2, s2; + super.pasteResolveOldToNewValues(e3), null === (t3 = this._headerType) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this._headerImage) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), null === (n3 = this._headerText) || void 0 === n3 || n3.pasteResolveOldToNewValues(e3), null === (o2 = this._body) || void 0 === o2 || o2.pasteResolveOldToNewValues(e3), null === (r2 = this._footer) || void 0 === r2 || r2.pasteResolveOldToNewValues(e3), null === (a2 = this._urlValue) || void 0 === a2 || a2.pasteResolveOldToNewValues(e3), null === (s2 = this._urlLabel) || void 0 === s2 || s2.pasteResolveOldToNewValues(e3); + } + pasteReIdOrRename(e3) { + var t3, i3, n3, o2, r2, a2, s2; + super.pasteReIdOrRename(e3), null === (t3 = this._headerType) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this._headerImage) || void 0 === i3 || i3.pasteReIdOrRename(e3), null === (n3 = this._headerText) || void 0 === n3 || n3.pasteReIdOrRename(e3), null === (o2 = this._body) || void 0 === o2 || o2.pasteReIdOrRename(e3), null === (r2 = this._footer) || void 0 === r2 || r2.pasteReIdOrRename(e3), null === (a2 = this._urlValue) || void 0 === a2 || a2.pasteReIdOrRename(e3), null === (s2 = this._urlLabel) || void 0 === s2 || s2.pasteReIdOrRename(e3); } } - e2.exports = _; - }, 45422: (e2, t2, i2) => { + t2.SendRichLinkActionModel = l, l.__type = o.sendRichLinkActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "headerType", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "headerImage", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "headerText", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "body", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "footer", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "urlValue", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "urlLabel", null), l.registerType(); + }, 49706(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + t2.SetSkillExpressionFiltersActionModel = void 0; + const n2 = i2(31635), o = i2(5894), r = i2(30801), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(7401)); + class u extends o.BaseFailureOutputsActionModel { constructor(e3) { - super(e3); + super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_skillExpressionFilters"); } - get _globalTypeName() { - return "journeyOutcomeScoreCollection"; + pasteReIdOrRename(e3) { + var t3; + super.pasteReIdOrRename(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteReIdOrRename(e3); } - get displayTypeName() { - return "ArchValueJourneyOutcomeScoreCollection"; + pasteResolveOldToNewValues(e3) { + var t3; + super.pasteResolveOldToNewValues(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); } - get isArchValueJourneyOutcomeScoreCollection() { - return true; + get skillExpressionFilters() { + return this._skillExpressionFilters; + } + set skillExpressionFilters(e3) { + this._skillExpressionFilters = this.reviveItem(e3, l.default); } } - t2.default = r2; - }, 45431: (e2, t2, i2) => { + t2.SetSkillExpressionFiltersActionModel = u, u.__type = r.setSkillExpressionFiltersActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "skillExpressionFilters", null), u.registerType(); + }, 46498(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isBaseBuilderObjectViewModel = function(e3) { - return null == e3 ? void 0 : e3.isBaseBuilderObjectViewModel; - }; - const n2 = i2(55909), r2 = i2(33951), o = i2(24032).getTopic("BaseBuilderObjectViewModel"); - t2.default = class { + var n2, o, r, a; + t2.UpdateConversationAttributeActionModel = void 0; + 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) { - this._isDestroyed = false, r2.ParameterValidator.expectExpression(e3, () => n2.ParameterInfo.createConstructorParameter(this.className, "owningExpressionViewModel")), Object.defineProperties(this, { _builderValidationResultsOrganizer: { writable: true }, _builderViewModel: { writable: true }, _initializeDesignTimeCalled: { value: false, writable: true }, _owningExpressionViewModel: { value: e3, writable: true } }); - } - get id() { - return this._id; - } - _addClipboardDependencies(e3) { + 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"); } - _initializeDesignTime() { + get recordId() { + return this._recordId; } - _postInitializeDesignTime() { + set recordId(e3) { + this._recordId = this.reviveItem(e3, c.default); } - _replaceUsages(e3, t3, i3) { + get input() { + return this._input; } - _validateBuilderObject(e3, t3) { - return true; + set input(e3) { + this._input = this.reviveItem(e3, c.default); } - get amObjectEventEmitter() { - return true; + get output() { + return this._output; } - get amObjectEventSink() { - return true; + set output(e3) { + this._output = this.reviveItem(e3, c.default); } - get builderViewModel() { - return this._builderViewModel; + get divisions() { + return this._divisions; } - get builderValidationResults() { - return this._builderValidationResultsOrganizer.getBuilderObjectResults(this.id); + set divisions(e3) { + this._divisions = this.reviveItem(e3, c.default); } - get className() { - return "BaseBuilderObjectViewModel"; + pasteReIdOrRename(e3) { + var t3, i3; + super.pasteReIdOrRename(e3), this.recordId.pasteReIdOrRename(e3), null === (t3 = this.input) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.output) || void 0 === i3 || i3.pasteReIdOrRename(e3), this.divisions.pasteReIdOrRename(e3); } - addClipboardDependencies(e3) { - try { - this._addClipboardDependencies(e3); - } catch (e4) { - throw o.exceptionWithErrorObjectInfo(e4, "Error occurred in _addClipboardDependencies processing.", this, true), e4; - } + pasteResolveOldToNewValues(e3) { + var t3, i3; + 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); } - configureForBuilderViewModel(e3) { - this._builderViewModel = r2.ParameterValidator.expectObject(e3, () => n2.ParameterInfo.createFunctionParameter(this.className, "configureForBuilderViewModel", "builderViewModel")), this._builderValidationResultsOrganizer = this._builderViewModel.getBuilderValidationResultsOrganizer(); + } + 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 (o = void 0 !== c.default && c.default) ? o : Object), s.__metadata("design:paramtypes", [Object])], _.prototype, "input", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (r = void 0 !== c.default && c.default) ? r : 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(); + }, 29954(e2, t2, i2) { + "use strict"; + var n2, o; + t2.A = void 0; + const r = i2(31635), a = i2(5894), s = i2(80295), l = r.__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, c.makeUnenumerable)(this, "_externalContactId"), (0, c.makeUnenumerable)(this, "_externalContact"), (0, c.makeUnenumerable)(this, "_patchChanges"), this._patchChanges || (this._patchChanges = []); } - get hasError() { - var e3; - return null === (e3 = this._builderValidationResultsOrganizer) || void 0 === e3 ? void 0 : e3.getBuilderObjectHasError(this.id); + pasteReIdOrRename(e3) { + var t3, i3, n3; + super.pasteReIdOrRename(e3), null === (t3 = this.externalContactId) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.externalContact) || void 0 === i3 || i3.pasteReIdOrRename(e3), null === (n3 = this.patchChanges) || void 0 === n3 || n3.forEach((t4) => t4.pasteReIdOrRename(e3)); } - get hasWarning() { - var e3; - return null === (e3 = this._builderValidationResultsOrganizer) || void 0 === e3 ? void 0 : e3.getBuilderObjectHasWarning(this.id); + pasteResolveOldToNewValues(e3) { + var t3, i3, n3; + super.pasteResolveOldToNewValues(e3), null === (t3 = this.externalContactId) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this.externalContact) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), null === (n3 = this.patchChanges) || void 0 === n3 || n3.forEach((t4) => t4.pasteResolveOldToNewValues(e3)); } - get hasInfo() { - return this._builderValidationResultsOrganizer.getBuilderObjectHasInfo(this.id); + get externalContactId() { + return this._externalContactId; } - get isBaseBuilderObjectViewModel() { - return true; + set externalContactId(e3) { + this._externalContactId = this.reviveItem(e3, l.default); } - initializeDesignTime() { - try { - this._initializeDesignTime(); - } catch (e3) { - } - this._initializeDesignTimeCalled = true; - try { - this._postInitializeDesignTime(); - } catch (e3) { - } + get externalContact() { + return this._externalContact; } - getInternalExpressions() { - return []; + set externalContact(e3) { + this._externalContact = this.reviveItem(e3, l.default); } - get initializeDesignTimeCalled() { - return this._initializeDesignTimeCalled; + get patchChanges() { + return this._patchChanges; } - get owningExpression() { - return this._owningExpressionViewModel; + set patchChanges(e3) { + this._patchChanges = this.reviveArray(e3, u.ExternalContactPatchChange); } - get parentFlow() { - return this._owningExpressionViewModel.parentFlow; + } + t2.A = p, p.__type = d.updateExternalContactActionType, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], p.prototype, "externalContactId", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== l.default && l.default) ? o : Object), r.__metadata("design:paramtypes", [Object])], p.prototype, "externalContact", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Array), r.__metadata("design:paramtypes", [Object])], p.prototype, "patchChanges", null), p.registerType(); + }, 68794(e2, t2, i2) { + "use strict"; + t2.ActionOutput = void 0; + const n2 = i2(31635), o = i2(58214), r = i2(80295), a = i2(80295); + class s extends o.BranchItem { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_nextActionId"), (0, a.makeUnenumerable)(this, "_disabled"), (0, a.makeUnenumerable)(this, "_isDynamicBranch"), (0, a.makeUnenumerable)(this, "_unreachable"), (0, a.makeUnenumerable)(this, "_outOfService"); } - get parentFlowIsReadOnly() { - const e3 = this.parentFlow; - return !e3 || !e3.info || !e3.info.currentUserCanEdit; + get nextActionId() { + return this._nextActionId; } - get parentFlowType() { - return this._parentFlowType || (this._parentFlowType = this._owningExpressionViewModel.parentFlow ? this._owningExpressionViewModel.parentFlow.type : ""), this._parentFlowType; + set nextActionId(e3) { + this._nextActionId = e3; } - replaceUsages(e3, t3, i3) { - try { - this._replaceUsages(e3, t3, i3); - } catch (e4) { - o.exceptionWithErrorObjectInfo(e4, "Error occurred in _replaceUsages processing.", this, true); - } + get disabled() { + return this._disabled; } - validateBuilderObject(e3, t3) { - let i3; - try { - i3 = this._validateBuilderObject(this._builderValidationResultsOrganizer, t3); - } catch (e4) { - i3 = false; - } - return i3; + set disabled(e3) { + this._disabled = e3; } - get builderValidationResultsOrganizer() { - return this._builderValidationResultsOrganizer; + get isDynamicBranch() { + return this._isDynamicBranch; } - destroy() { - this._builderValidationResultsOrganizer.clearBuilderObject(this.id); - try { - this._destroy(); - } catch (e3) { - } finally { - this._isDestroyed = true; - } + set isDynamicBranch(e3) { + this._isDynamicBranch = e3; } - get isDestroyed() { - return this._isDestroyed; + get unreachable() { + return this._unreachable; } - _destroy() { - this._builderViewModel = void 0, this._initializeDesignTimeCalled = void 0, this._owningExpressionViewModel = void 0, this._builderValidationResultsOrganizer = void 0; + set unreachable(e3) { + this._unreachable = e3; } - }; - }, 45524: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(25498)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); + get outOfService() { + return this._outOfService; } - get _flowType() { - return r2.flowTypes.flowTypeVoicemail; + set outOfService(e3) { + this._outOfService = e3; } - get displayTypeName() { - return "ArchFlowVoicemail"; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this.nextActionId = e3.pasteResolveOldIdToNewId(this.nextActionId); } - get isArchFlowVoicemail() { - return true; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3); } } - t2.default = o; - }, 45532: (e2, t2, i2) => { + t2.ActionOutput = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "nextActionId", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "disabled", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "isDynamicBranch", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "unreachable", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "outOfService", null); + }, 64015(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(87921)), o = i2(80428), a = n2.__importDefault(i2(65302)); - class s extends r2.default { - get className() { - return "WrapupCodeFacets"; - } - get isWrapupCodeFacets() { - return true; - } - _facetGetExpressionItemLitValue(e3) { - return e3.getLitAsString(); - } - _facetGetExpressionType() { - return a.default.getGlobalTypeGroup().getType(o.expressionTypeNames.wrapupCode, this.isCollection); + t2.BaseFlowItem = void 0; + const n2 = i2(31635), o = i2(19596), r = n2.__importStar(i2(43773)); + class a extends o.DataContract { + constructor(e3) { + super(e3), this.uiMetaData = void 0; } - _facetValidateValue(e3, t3) { + getConfiguration(e3, t3) { + return (null == t3 ? void 0 : t3.isForComparison) ? r.removePropertiesForComparison(this) : this; } } - t2.default = s; - }, 45623: (e2, t2, i2) => { + t2.BaseFlowItem = a; + }, 23316(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(51695)); - class a extends o.default { - constructor(e3, t3, i3) { - super(), this.model = e3, this.name = t3, this.expression = i3; - } - get id() { - return "nvp-" + this.name.id; + t2.BaseFlowItemWithNameAndId = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(64015), r = i2(9456); + class a extends o.BaseFlowItem { + constructor(e3) { + var t3; + super(e3), this.id = null !== (t3 = null == e3 ? void 0 : e3.id) && void 0 !== t3 ? t3 : (0, r.uuid)(), this.name = null == e3 ? void 0 : e3.name; } - get contents() { - return [this.name, this.expression]; + pasteReIdOrRename(e3) { + this.id = e3.pasteGenerateNewGuid(this.id); } - get className() { - return "NameValuePairViewModel"; + pasteResolveOldToNewValues(e3) { } - getConfiguration(e3, t3, i3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const n3 = { name: this.name.getConfiguration(e3, t3) }, o2 = this.expression.getConfiguration(e3, t3); - return (null == i3 ? void 0 : i3.nameValuePairShouldUseVariableProperty) ? n3.variable = r2.default.getFirstPropertyValueInObj(o2) : n3.value = o2, n3; + pasteResolveReferenceAndName(e3, t3, i3, o2) { + const r2 = { reference: e3.pasteResolveOldIdToNewId(i3), name: "" }; + switch (t3) { + case "menu": + r2.name = e3.pasteResolveOldMenuNameToNewMenuName(o2); + break; + case "state": + r2.name = e3.pasteResolveOldStateNameToNewStateName(o2); + break; + case "task": + r2.name = e3.pasteResolveOldTaskNameToNewTaskName(o2); + break; + default: + throw "unsupported resolve type passed to pasteResolveReferenceAndName"; } - return this.model; - } - get isNameValuePairViewModel() { - return true; + if (r2.reference !== i3) return r2; + let a2; + switch (t3) { + case "menu": + a2 = e3.pasteContext.destFlowViewModel.menus; + break; + case "state": + a2 = e3.pasteContext.destFlowViewModel.states; + break; + case "task": + a2 = e3.pasteContext.destFlowViewModel.tasks; + break; + default: + throw "unsupported resolve type passed to pasteResolveReferenceAndName"; + } + if (!a2) return r2; + let s = n2.default.find(a2, function(e4) { + return e4.id === i3; + }); + return n2.default.isUndefined(s) && n2.default.isString(o2) && (s = n2.default.find(a2, function(e4) { + return e4.name === o2; + })), s && (r2.reference = s.id, r2.name = s.name), r2; } } - t2.default = a; - }, 45626: (e2, t2, i2) => { + t2.BaseFlowItemWithNameAndId = a; + }, 58214(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)), c = n2.__importDefault(i2(80570)), d = n2.__importDefault(i2(4648)), p = i2(21733), _ = i2(47957); - i2(84111); - 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)); + t2.BranchItem = void 0; + const n2 = i2(31635), o = i2(19596), r = i2(80295), a = i2(80295); + class s extends o.DataContract { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_label"), (0, a.makeUnenumerable)(this, "_localizedLabel"), (0, a.makeUnenumerable)(this, "_outputId"); } - get isAskForNextIntentLoopAction() { - return true; + get label() { + return this._label; } - static get branchInfo() { - return [s.default.loop]; + set label(e3) { + this._label = e3; } - static get managedProperties() { - 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 }]; + get localizedLabel() { + return this._localizedLabel; } - setNewInstanceDefaults(e3) { - 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)); + set localizedLabel(e3) { + this._localizedLabel = e3; } - } - 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) { - n2.isFunction(e3) ? n2.each(t3, function(t4, i3) { - Object.defineProperty(e3.prototype, i3, { value: t4 }); - }) : n2.each(t3, function(t4, i3) { - Object.defineProperty(e3, i3, { value: t4 }); - }); - }; - }, 45817: (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 { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get outputId() { + return this._outputId; } - get isInlineTaskAction() { - return true; + set outputId(e3) { + this._outputId = e3; } - get taskReference() { - return this.model.taskReference; + getConfiguration(e3, t3) { + return (null == t3 ? void 0 : t3.isForFlowYaml) ? { outputPath: { name: this.label } } : this; } - set taskReference(e3) { - this.model.taskReference = e3; + pasteResolveOldToNewValues(e3) { } - initialize() { - super.initialize(); - const e3 = this.parentFlow; - if (this.task) return; - const t3 = this.taskReference; - if (!t3) return; - if (!e3) return; - const i3 = e3.getTopLevelChild(t3); - this.linkTask(i3); + pasteReIdOrRename(e3) { + this.outputId = e3.pasteResolveOldIdToNewId(this.outputId); } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3), this.task && this.task.isTask && this.task.addClipboardDependencies(e3); + get displayLabel() { + return this.localizedLabel ? this.localizedLabel : this.label; } - linkTask(e3) { - this.taskReference = e3.id, this.task = e3; + } + t2.BranchItem = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "label", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "localizedLabel", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "outputId", null); + }, 48(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(19596), a = i2(80295), s = i2(80295); + class l extends r.DataContract { + constructor(e3) { + super(e3), (0, s.makeUnenumerable)(this, "_destinationFlowTypes"); } - validate(e3) { - super.validate(e3), r2.flowElementRegistrationService.getItemById(this.parentFlow, this.taskReference) || e3.addInternalError(this, l.task.invalidReference); + get destinationFlowTypes() { + return this._destinationFlowTypes; + } + set destinationFlowTypes(e3) { + this._destinationFlowTypes = o.default.isArray(e3) ? [...e3] : void 0; + } + } + t2.default = l, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], l.prototype, "destinationFlowTypes", null); + }, 7584(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(30801), o = i2(92330); + class r extends o { + constructor(e3) { + super(e3); } } - u.info = a.default.createActionInfo({ actionClass: u, canBeTreeNode: true, helpTopic: o.helpTopics.tasks.task, modelClass: i2(52030), name: l.actions.task, scriptingName: "ArchActionTask", availabilityCallback: (e3, t3, i3) => t3.parentFlow.definition.supportsReusableMenus }), t2.A = u; - }, 45889: (e2, t2, i2) => { + t2.default = r, o.extend(r, n2.commonModuleTaskActionType, true); + }, 45889(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(19596), s = n2.__importDefault(i2(7401)); + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(19596), s = n2.__importDefault(i2(7401)); class l extends a.DataContract { constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_name"), (0, o.makeUnenumerable)(this, "_timeslots"); + super(e3), (0, r.makeUnenumerable)(this, "_name"), (0, r.makeUnenumerable)(this, "_timeslots"); } get name() { return this._name; @@ -60574,340 +56888,261 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super.pasteResolveOldToNewValues(e3), this.timeslots.pasteResolveOldToNewValues(e3); } } - t2.default = l, 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", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "timeslots", null); - }, 45894: (e2, t2, i2) => { + t2.default = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "name", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "timeslots", null); + }, 37752(e2, t2, i2) { "use strict"; + var n2, o, r, a; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importDefault(i2(85383)); - class a extends o.default { - constructor(e3, t3) { - super(e3, t3); - } - get displayTypeName() { - return "ArchBaseNetworkValueSingleton"; - } - get isArchBaseNetworkValueSingleton() { - return true; + 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"); } - get isCollection() { - return false; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this.abortMessage && this.abortMessage.pasteReIdOrRename(e3); } - _setLiteralByIdAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._findItemByIdAsync(e3).then((e4) => (this.logNote("setting by looked up id to the literal item " + this.getLogStrForItemInfo(e4)), this._coreExpression.updateFromConfigListManagerItem(e4), this)); - }); + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this.abortMessage && this.abortMessage.pasteResolveOldToNewValues(e3); } - _setLiteralByValueAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._findItemByValueAsync(e3).then((e4) => (this.logNote("setting by looked up value to the literal item " + this.getLogStrForItemInfo(e4)), this._coreExpression.updateFromConfigListManagerItem(e4), this)); - }); + get abortMessage() { + return this._abortMessage; } - get objectName() { - if (this.isLiteral) { - return this._getCoreExpressionText() || ""; - } + set abortMessage(e3) { + this._abortMessage = this.reviveItem(e3, p.default); } - setExpressionNotSet() { - return this.setExpression(r2.default.notSet); + get handlingType() { + return this._handlingType; } - get valueText() { - let e3 = this._getValueTextCommon(); - return void 0 === e3 && this.isLiteral && (e3 = this.objectName), "string" == typeof e3 ? e3 : ""; + set handlingType(e3) { + this._handlingType = this.reviveEnum(e3, d.default); } } - t2.default = a; - }, 45964: (e2, t2, i2) => { + 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 (o = void 0 !== p.default && p.default) ? o : Object])], _.prototype, "abortMessage", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", "function" == typeof (r = void 0 !== d.default && d.default) ? r : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== d.default && d.default) ? a : Object])], _.prototype, "handlingType", null); + }, 88557(e2, t2, i2) { "use strict"; + var n2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(19444), a = n2.__importDefault(i2(45894)); - class s extends a.default { + const r = i2(31635), a = i2(80295), s = i2(80295), l = i2(19596), u = r.__importDefault(i2(7401)); + class c extends l.DataContract { constructor(e3) { - super(e3, o.queueManager); - } - get _globalTypeName() { - return "queue"; + super(e3), (0, s.makeUnenumerable)(this, "_defaultAbortMessage"); } - get displayTypeName() { - return "ArchValueQueue"; + pasteReIdOrRename(e3) { + super.pasteReIdOrRename(e3), this.defaultAbortMessage && this.defaultAbortMessage.pasteReIdOrRename(e3); } - get isArchValueQueue() { - return true; + pasteResolveOldToNewValues(e3) { + super.pasteResolveOldToNewValues(e3), this.defaultAbortMessage && this.defaultAbortMessage.pasteResolveOldToNewValues(e3); } - setLiteralByQueueIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("queueId", "setLiteralByQueueIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByQueueIdAsync", t3, this)); - }); + get defaultAbortMessage() { + return this._defaultAbortMessage; } - setLiteralByQueueNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("queueName", "setLiteralByQueueNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByQueueNameAsync", t3, this)); - }); + set defaultAbortMessage(e3) { + this._defaultAbortMessage = this.reviveItem(e3, u.default); } } - t2.default = s; - }, 46056: (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, "DialNameMatchStyle"), o.getInstance = function(e3) { - return r2[e3 || 0] || r2[0]; - }, o.WaitForUniqueMatch = new o(0, "WaitForUniqueMatch"), o.UseSpecificNumChars = new o(1, "UseSpecificNumChars"), e2.exports = o; - }, 46089: (e2, t2) => { + t2.default = c, r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.default && u.default) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== u.default && u.default) ? o : Object])], c.prototype, "defaultAbortMessage", null); + }, 47233(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.updateExternalContactFailureReasons = t2.updateExternalContactFailureReasonIds = void 0, t2.updateExternalContactFailureReasonIds = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", conflict: "Conflict", generalError: "GeneralError", invalidExternalContact: "InvalidExternalContact", invalidUpdate: "InvalidUpdate" }, t2.updateExternalContactFailureReasons = [t2.updateExternalContactFailureReasonIds.generalError, t2.updateExternalContactFailureReasonIds.actionInvocationLimitExceeded, t2.updateExternalContactFailureReasonIds.conflict, t2.updateExternalContactFailureReasonIds.invalidExternalContact, t2.updateExternalContactFailureReasonIds.invalidUpdate]; - }, 46131: (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(21345)), s = i2(35966); - class l extends a.default { + var n2, o; + t2.ExternalContactPatchChange = void 0; + const r = i2(31635), a = i2(19596), s = i2(80295), l = r.__importDefault(i2(7401)), u = i2(80295); + class c extends a.DataContract { constructor(e3) { - super(e3), this._acceptJustStar = this.coreFactory.createArchWrapper(e3.acceptJustStar), this._acceptJustPound = this.coreFactory.createArchWrapper(e3.acceptJustPound), this._inputAudio = this.coreFactory.createArchWrapper(e3.prompts), this._interDigitTimeout = this.coreFactory.createArchWrapper(e3.interDigitTimeout), this._noEntryTimeout = this.coreFactory.createArchWrapper(e3.noEntryTimeout), this._numberOfDigitsMax = this.coreFactory.createArchWrapper(e3.numberOfDigitsMax), this._numberOfDigitsMin = this.coreFactory.createArchWrapper(e3.numberOfDigitsMin), this._resultData = this.coreFactory.createArchWrapper(e3.resultData), this._maxPossibleNumberOfDigits = e3.numberOfDigitsMax.options.max, this._minPossibleNumberOfDigits = e3.numberOfDigitsMin.options.min; + super(e3), (0, u.makeUnenumerable)(this, "_field"), (0, u.makeUnenumerable)(this, "_value"), (0, u.makeUnenumerable)(this, "_condition"); } - get _actionTypeId() { - return r2.collectInputActionType; + pasteReIdOrRename(e3) { + var t3; + super.pasteReIdOrRename(e3), null === (t3 = this._value) || void 0 === t3 || t3.pasteReIdOrRename(e3); } - get displayTypeName() { - return this._scriptingName; + pasteResolveOldToNewValues(e3) { + var t3; + super.pasteResolveOldToNewValues(e3), null === (t3 = this._value) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); } - get inputAudio() { - return this._inputAudio; + get field() { + return this._field; } - get interDigitTimeout() { - return this._interDigitTimeout; + set field(e3) { + this._field = e3; } - get isArchActionCollectInput() { - return true; + get value() { + return this._value; } - get noEntryTimeout() { - return this._noEntryTimeout; + set value(e3) { + this._value = this.reviveItem(e3, l.default); } - setInputDataVariable(e3) { - this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), this.valueVariableInputData.setVariable(e3); + get condition() { + return this._condition; } - setDigitsExact(e3) { - const t3 = this._infoParm("digitCount", "setDigitsExact"); - this._checkItemIsValidLiteralInt(t3, e3), this._checkItem(t3, e3 < this._minPossibleNumberOfDigits || e3 > this._maxPossibleNumberOfDigits, `the digit count '${e3}' must be greater than or equal to ${this._minPossibleNumberOfDigits} and less than or equal to ${this._maxPossibleNumberOfDigits}`), this._numberOfDigitsMax.setLiteralInt(e3), this._numberOfDigitsMin.setLiteralInt(e3), this.logNote("setting the exact digit range to " + e3 + " digit(s)."), this._coreActionViewModel.terminatingCharacter = void 0; + set condition(e3) { + this._condition = e3; } - setDigitsRange(e3, t3, i3, n3) { - const r3 = this._infoParm("minDigitCount", "setDigitsRange"); - this._checkItemIsValidLiteralInt(r3, e3), this._checkItem(r3, e3 < this._minPossibleNumberOfDigits || e3 > this._maxPossibleNumberOfDigits, `the min digit count value '${e3}' must be greater than or equal to ${this._minPossibleNumberOfDigits} and less than or equal to ${this._maxPossibleNumberOfDigits}`); - const o2 = this._infoParm("maxDigitCount", "setDigitsRange"); - if (this._checkItemIsValidLiteralInt(o2, t3), this._checkItem(o2, t3 < this._minPossibleNumberOfDigits || t3 > this._maxPossibleNumberOfDigits, `the max digit count '${e3}' must be greater than or equal to ${this._minPossibleNumberOfDigits} and less than or equal to ${this._maxPossibleNumberOfDigits}`), this._checkItem(this._infoVal("minDigitCount < maxDigitCount", "setDigitsRange"), e3 > t3, `the min digit count value '${e3}' must be less than the max digit count value '${t3}' when setting a range`), this._checkItem(this._infoVal("minDigitCount === maxDigitCount", "setDigitsRange"), e3 === t3, `the min digit count value '${e3}' must be less than the max digit count value '${t3}' when setting a range. If you want an exact number of input digits, call setDigitsExact instead of setDigitsRange.`), n3 || this.isValidBool(n3)) { - const e4 = this._infoParm("includeTerminatingDtmfWithInputData", "setDigitsRange"); - this._checkItemIsValidLiteralBool(e4, n3, true), this._checkItem(e4, true === n3 && !i3, "includeTerminatingDtmfWithInputData can only be enabled when there is a terminating dtmf specified."); - } - let a2, s2; - const l2 = this._infoParm("terminatingDtmf", "setDigitsRange"); - i3 && (a2 = this._getCoreDigitForDtmf(l2, i3), s2 = this._getDtmfForCoreDigit(l2, a2)), this.logNote("setting the min number of digits to " + e3 + " and the max number of digits to " + t3), this._numberOfDigitsMax.setLiteralInt(t3), this._numberOfDigitsMin.setLiteralInt(e3), i3 && (this.logNote("setting the terminating dtmf to " + s2), this._coreActionViewModel.terminatingCharacter = a2), this.isValidBool(n3) && !this._coreActionViewModel.includeTerminatingDtmfInResultData.outOfService && (this.logNote(`setting core includeTerminatingDtmfWithInputData to ${n3}`), this._coreActionViewModel.includeTerminatingDtmfInResultData.setAsLiteral(n3.toString())); + } + t2.ExternalContactPatchChange = c, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], c.prototype, "field", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== l.default && l.default) ? o : Object])], c.prototype, "value", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], c.prototype, "condition", null); + }, 53638(e2, t2, i2) { + "use strict"; + var n2, o, r, a; + t2.LanguageOptions = void 0; + const s = i2(31635), l = i2(80295), u = i2(80295), c = i2(19596), d = s.__importDefault(i2(7401)), p = i2(65179), _ = i2(32798), h = i2(66848), m = i2(66445), g = i2(88654); + class f extends c.DataContract { + constructor(e3) { + super(e3), (0, u.makeUnenumerable)(this, "_language"), (0, u.makeUnenumerable)(this, "_languageSkill"), (0, u.makeUnenumerable)(this, "_textToSpeech"), (0, u.makeUnenumerable)(this, "_speechToText"), (0, u.makeUnenumerable)(this, "_knowledgeBase"), (0, u.makeUnenumerable)(this, "_knowledgeSetting"), (0, u.makeUnenumerable)(this, "_conversationSummarySetting"); } - get valueVariableInputData() { - return this._resultData; + get language() { + return this._language; } - get verificationAudio() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().verificationPrompts)._setNotWritableOverride(true); + set language(e3) { + this._language = e3; } - get verificationType() { - if (!this._coreActionViewModel.verification) return o.default.INPUT_VERIFICATION_TYPES.none; - switch (this._coreActionViewModel.verificationType) { - case s.Numeric: - return o.default.INPUT_VERIFICATION_TYPES.numeric; - case s.UniqueDigits: - return o.default.INPUT_VERIFICATION_TYPES.individualDigits; - default: - this._logErrorInternalAndThrow("unknown verification type on core collect input action."); - } + get languageSkill() { + return this._languageSkill; } - set verificationType(e3) { - switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newVerificationTypeValue", "verificationType"), e3, o.default.INPUT_VERIFICATION_TYPES_ALL), this.logNote("setting the verification type to '" + e3 + "'."), e3) { - case o.default.INPUT_VERIFICATION_TYPES.none: - this._coreActionViewModel.verification = false, this._coreActionViewModel.verificationType = void 0; - break; - case o.default.INPUT_VERIFICATION_TYPES.numeric: - this._coreActionViewModel.verification = true, this._coreActionViewModel.verificationType = s.Numeric; - break; - case o.default.INPUT_VERIFICATION_TYPES.individualDigits: - this._coreActionViewModel.verification = true, this._coreActionViewModel.verificationType = s.UniqueDigits; - } + set languageSkill(e3) { + this._languageSkill = this.reviveItem(e3, d.default); } - get acceptJustStar() { - return this._acceptJustStar; + get textToSpeech() { + return this._textToSpeech; } - get acceptJustPound() { - return this._acceptJustPound; + set textToSpeech(e3) { + this._textToSpeech = this.reviveItem(e3, g); } - } - t2.default = l; - }, 46205: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(13240), { callBotFlowActionType: o } = i2(30801), a = i2(90807), s = i2(7401); - function l() { - Object.defineProperties(this, { _exitReason: { writable: true }, _inputs: { writable: true }, _intent: { writable: true }, _outputs: { writable: true }, _inputText: { writable: true } }), this.flowId = void 0, this.flowName = void 0, this.flowVersion = void 0, this.flowLatestVersion = true, this.flowDebugPublished = false, l.baseConstructor.apply(this, arguments); - } - r2.extend(l, o, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { - l._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.inputs, (t3) => { - t3.pasteReIdOrRename(e3); - }), n2.each(this.outputs, (t3) => { - t3.pasteReIdOrRename(e3); - }), this.intent.pasteReIdOrRename(e3), this.exitReason.pasteReIdOrRename(e3), this.inputText.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - l._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.inputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), n2.each(this.outputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), this.intent.pasteResolveOldToNewValues(e3), this.exitReason.pasteResolveOldToNewValues(e3), this.inputText.pasteResolveOldToNewValues(e3); - } }, exitReason: { enumerable: true, get: function() { - return this._exitReason; - }, set: function(e3) { - this._exitReason = this.reviveItem(e3, s); - } }, inputs: { enumerable: true, get: function() { - return this._inputs; - }, set: function(e3) { - this._inputs = this.reviveArray(e3, a); - } }, intent: { enumerable: true, get: function() { - return this._intent; - }, set: function(e3) { - this._intent = this.reviveItem(e3, s); - } }, outputs: { enumerable: true, get: function() { - return this._outputs; - }, set: function(e3) { - this._outputs = this.reviveArray(e3, a); - } }, inputText: { enumerable: true, get: function() { - return this._inputText; - }, set: function(e3) { - this._inputText = this.reviveItem(e3, s); - } } }), e2.exports = l; - }, 46209: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(16468)), o = n2.__importDefault(i2(94225)), a = i2(79069); - class s extends r2.default { - constructor(e3) { - super(e3, a.skillManager), this._checkItemUndefinedOrNull(this._infoParmCtor("coreSkillValuePairs"), e3); + get speechToText() { + return this._speechToText; } - get _globalTypeName() { - return ""; + set speechToText(e3) { + this._speechToText = this.reviveItem(e3, p.STTData); } - get displayTypeName() { - return "ArchBaseSkillValuePairs"; + get knowledgeBase() { + return this._knowledgeBase; } - _addNetworkModelToCollection(e3) { - const t3 = this._coreExpression, i3 = t3.createItem(void 0); - return e3 && i3.skill.updateFromConfigListManagerItem(e3), t3.addItem(i3), this.logNote("added skill value pair" + (e3 ? " " + this.getLogStrForItemInfo(e3) : "")), i3; + set knowledgeBase(e3) { + this._knowledgeBase = this.reviveItem(e3, h); } - addLiteralBySkillIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("skillId", "addLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillIdAsync"), t3, true), yield this._addLiteralByIdAsync(e3, "Skill"), o.default.executeCallback(this, "addLiteralBySkillIdAsync", t3, this); - }); + get knowledgeSetting() { + return this._knowledgeSetting; } - addLiteralBySkillNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("skillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), yield this._addLiteralByValueAsync(e3, "Skill"), o.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this); - }); + set knowledgeSetting(e3) { + this._knowledgeSetting = this.reviveItem(e3, m); } - addSkill(e3) { - this._checkItemIsValidLiteralString(this._infoParm("skillExpressonText", "addSkill"), e3, true); - const t3 = this._addNetworkModelToCollection(null), i3 = this.coreFactory.createArchWrapper(t3.skill); - return e3 && i3.setExpression(e3), i3; + get conversationSummarySetting() { + return this._conversationSummarySetting; } - get isArchBaseSkillValuePairs() { - return true; + set conversationSummarySetting(e3) { + this._conversationSummarySetting = this.reviveItem(e3, _); } } - t2.default = s; - }, 46210: (e2, t2, i2) => { + t2.LanguageOptions = f, s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", String), s.__metadata("design:paramtypes", [String])], f.prototype, "language", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", "function" == typeof (n2 = void 0 !== d.default && d.default) ? n2 : Object), s.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== d.default && d.default) ? o : Object])], f.prototype, "languageSkill", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "textToSpeech", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", "function" == typeof (r = void 0 !== p.STTData && p.STTData) ? r : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== p.STTData && p.STTData) ? a : Object])], f.prototype, "speechToText", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "knowledgeBase", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "knowledgeSetting", null), s.__decorate([(0, l.enumerable)(true), s.__metadata("design:type", Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "conversationSummarySetting", null); + }, 59441(e2, t2, i2) { "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)), c = r2.__importDefault(i2(66978)); - class d extends a.default { + const n2 = i2(31635), o = i2(19596), r = i2(80295), a = i2(80295); + class s extends o.DataContract { constructor(e3) { - super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.eventName), "f"); + super(e3), (0, a.makeUnenumerable)(this, "_intents"), this._intents || (this._intents = []), (null == e3 ? void 0 : e3.intents) && (null == e3 ? void 0 : e3.intents.length) > 0 && (this.intents = e3.intents); } - get draftEnvironmentName() { - return l.default.dialogflow.draftEnvironmentName; + get intents() { + return this._intents; } - get integrationName() { - return this._getCoreViewModel().integrationName; + set intents(e3) { + this._intents = void 0 === e3 ? [] : e3; } - get environment() { - return this._getCoreViewModel().getEnvironmentName(); + } + t2.default = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "intents", null); + }, 65179(e2, t2, i2) { + "use strict"; + var n2, o; + t2.STTData = void 0; + const r = i2(31635), a = i2(19596), s = i2(80295), l = i2(80295), u = i2(54040); + class c extends a.DataContract { + constructor(e3) { + super(e3), (0, l.makeUnenumerable)(this, "_engine"); } - get eventName() { - return r2.__classPrivateFieldGet(this, n2, "f"); + get engine() { + return this._engine; } - get isArchBaseActionDialogflow() { - return true; + set engine(e3) { + this._engine = this.reviveItem(e3, u.SpeechToTextEngine); } - get dialogflowOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + t2.STTData = c, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.SpeechToTextEngine && u.SpeechToTextEngine) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== u.SpeechToTextEngine && u.SpeechToTextEngine) ? o : Object])], c.prototype, "engine", null); + }, 80101(e2, t2, i2) { + "use strict"; + t2.CustomerSegment = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { + constructor(e3) { + super(e3); } - _setDialogflowAgentByIdAsync(e3, t3, i3) { - return this._checkItemIsValidLiteralString(this._infoParm("agentId", "setDialogflowAgentByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByIdAsync"), i3, true), u.default.findItemByIdAsync(this._agentManager, e3, "dialogflow agent").then((n3) => { - if (this.logNote("Found the Dialogflow agent named '" + n3.name + "' for the agent ID of '" + e3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(n3), t3) { - const e4 = o.default.findWhere(n3.environments, { name: t3 }); - if (!e4) throw `There is no environment with the name '${t3}' for agent '${n3.name}'`; - this._coreActionViewModel.setEnvironment(e4); - } - return s.default.executeCallback(this, "setDialogflowAgentByIdAsync", i3, this); - }); + get id() { + return this._id; } - setDialogflowAgentByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("dialogflowAgentId", "setDialogflowAgentByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByIdAsync"), t3, true), this._setDialogflowAgentByIdAsync(e3, null, t3); + set id(e3) { + this._id = e3; } - setDialogflowAgentByNameAsync(e3, t3, i3, n3) { - return r2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("agentName", "setDialogflowAgentByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("projectId", "setDialogflowAgentByNameAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByNameAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("integrationName", "setDialogflowAgentByNameAsync"), n3, true); - 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.`), c.default.addPromise(this._setDialogflowAgentByIdAsync(a2.id, null, i3), "setDialogflowAgentByNameAsync"); - }); + get name() { + return this._name; } - setDialogflowAgentByIdWithEnvironmentAsync(e3, t3, i3) { - return this._checkItemIsValidLiteralString(this._infoParm("dialogflowAgentId", "setDialogflowAgentByIdWithEnvironmentAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("environmentName", "setDialogflowAgentByIdWithEnvironmentAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByIdWithEnvironmentAsync"), i3, true), this._setDialogflowAgentByIdAsync(e3, t3, i3); + set name(e3) { + this._name = e3; } - setDialogflowAgentByNameWithEnvironmentAsync(e3, t3, i3, n3, a2) { - return r2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("agentName", "setDialogflowAgentByNameWithEnvironmentAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("environmentName", "setDialogflowAgentByNameWithEnvironmentAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("projectId", "setDialogflowAgentByNameWithEnvironmentAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByNameWithEnvironmentAsync"), n3, true), this._checkItemIsValidLiteralString(this._infoParm("integrationName", "setDialogflowAgentByNameWithEnvironmentAsync"), a2, true); - 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.`), c.default.addPromise(this._setDialogflowAgentByIdAsync(s2.id, t3, n3), "setDialogflowAgentByNameWithEnvironmentAsync"); - }); + get label() { + return this._name; } - get _sessionVariableOutputs() { - const e3 = this._getCoreViewModel().outputSessionVariables; - if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + set label(e3) { + this._name = e3; } - _addSessionVariableOutputNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), this._sessionVariableOutputs._addNameValueAssignment(e3, t3, true, true); + get displayName() { + return this._name; + } + set displayName(e3) { + this._name = e3; } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; - }, 46292: (e2, t2, i2) => { + t2.CustomerSegment = 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, "label", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "displayName", null); + }, 3709(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(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" }; - }, 46387: (e2, t2, i2) => { - const n2 = i2(24171); - function r2() { - r2.baseConstructor.apply(this, arguments); + t2.CustomerSegmentList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(80101); + class s extends r.PagedList { + constructor(e3) { + super(e3); + } + get entities() { + return this._entities; + } + set entities(e3) { + this._entities = this.reviveArray(e3, a.CustomerSegment); + } } - i2(22124).extend(r2, "LexBotList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 46400: (e2, t2, i2) => { + t2.CustomerSegmentList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 94829(e2, t2, i2) { + "use strict"; + t2.DarthUploadResponse = void 0; + const n2 = i2(31635), o = i2(19596), r = i2(80295), a = i2(80295); + class s extends o.DataContract { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_url"), (0, a.makeUnenumerable)(this, "_headers"); + } + get url() { + return this._url; + } + set url(e3) { + this._url = e3; + } + get headers() { + return this._headers; + } + set headers(e3) { + this._headers = e3; + } + } + t2.DarthUploadResponse = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "url", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "headers", null); + }, 46400(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(19596); + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(19596); class s extends a.DataContract { constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_id"), (0, o.makeUnenumerable)(this, "_description"), (0, o.makeUnenumerable)(this, "_name"), (0, o.makeUnenumerable)(this, "_schema"); + super(e3), (0, r.makeUnenumerable)(this, "_id"), (0, r.makeUnenumerable)(this, "_description"), (0, r.makeUnenumerable)(this, "_name"), (0, r.makeUnenumerable)(this, "_schema"); } get id() { return this._id; @@ -60961,2459 +57196,1778 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; this._maxLength = e3; } } - t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null), 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", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "description", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "required", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "schema", null), n2.__decorate([(0, r2.enumerable)(false), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "schemas", null); - }, 46421: (e2, t2, i2) => { + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "name", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "description", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "required", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "schema", null), n2.__decorate([(0, o.enumerable)(false), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "schemas", null); + }, 74156(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(90077)); - class s extends a.default { + t2.DataTableList = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(46400)), r = i2(15116), a = i2(80295); + class s extends r.PagedList { constructor(e3) { - super(e3), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn); - } - get _actionTypeId() { - return r2.askForBooleanActionType; + super(e3); } - get displayTypeName() { - return this._scriptingName; + get entities() { + return this._entities; } - get isArchActionAskForBoolean() { - return true; + set entities(e3) { + this._entities = this.reviveArray(e3, o.default); } - get enableBargeIn() { - return this._enableBargeIn; + } + t2.DataTableList = s, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 71535(e2, t2, i2) { + "use strict"; + t2.NameIdDescriptionModelList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(84050), a = i2(15116); + class s extends a.PagedList { + constructor(e3) { + super(e3); } - get outputMaxNoInputs() { - return this._getOutputById(o.outputIds.maxNoInputs, true); + get entities() { + return this._entities; } - get outputMaxNoMatches() { - return this._getOutputById(o.outputIds.maxNoMatches, true); + set entities(e3) { + this._entities = this.reviveArray(e3, r.NameIdDescriptionModel); } } - t2.default = s; - }, 46422: (e2, t2, i2) => { + t2.NameIdDescriptionModelList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 84050(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(74369)); - class r2 extends n2.default { - constructor(e3, t3, i3) { - super(e3, t3, i3); + t2.NameIdDescriptionModel = void 0; + const n2 = i2(31635), o = i2(19596), r = i2(80295), a = i2(80295); + class s extends o.DataContract { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_name"), (0, a.makeUnenumerable)(this, "_id"), (0, a.makeUnenumerable)(this, "_description"); } - get displayTypeName() { - return "ArchFilterClausePropertyValueNotEquals"; + get displayName() { + return this._name; + } + set displayName(e3) { + this._name = e3; + } + get label() { + return this._name; + } + set label(e3) { + this._name = e3; + } + get name() { + return this._name; + } + set name(e3) { + this._name = e3; + } + get id() { + return this._id; + } + set id(e3) { + this._id = e3; } - get isArchFilterClausePropertyValueNotEquals() { - return true; + get description() { + return this._description; } - _isMatch(e3) { - return !!super._isMatch(e3) && e3[this._propertyName] !== this._value; + set description(e3) { + this._description = e3; } } - t2.default = r2; - }, 46447: (e2, t2) => { + t2.NameIdDescriptionModel = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "name", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null); + }, 30068(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.UserTokenViewModel = void 0, t2.UserTokenViewModel = class { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(67210), r = n2.__importDefault(i2(92140)), a = i2(52722); + t2.default = class extends a { constructor(e3) { - this._model = e3; + super(e3), this.divisions = {}; } - get isTrusteeUser() { - return !(!this.homeOrganizationId || !this.organizationId) && this.homeOrganizationId !== this.organizationId; + get isOAuthClient() { + return true; } - get homeOrganizationId() { - return this._model.homeOrganization ? this._model.homeOrganization.id : null; + get divisions() { + return this._divisions; } - get homeOrganizationName() { - return this._model.homeOrganization ? this._model.homeOrganization.name : null; + set divisions(e3) { + this._divisions = e3; } - get organizationId() { - return this._model.organization ? this._model.organization.id : null; + get permissions() { + return this._permissions; + } + set permissions(e3) { + this._permissions = e3, r.default.each(e3, (e4) => { + o.permissionService.addPermissionToUser(e4, this); + }); } }; - }, 46498: (e2, t2, i2) => { + }, 16127(e2, t2, i2) { "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), c = s.__importDefault(i2(7401)), d = i2(80295), p = i2(30801); - class _ extends l.BaseConversationAttributeActionModel { + t2.PagedListByCursor = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(19596); + class r extends o.DataContract { constructor(e3) { - 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, c.default); + super(e3); } - get input() { - return this._input; + get entities() { + return this._entities; } - set input(e3) { - this._input = this.reviveItem(e3, c.default); + set entities(e3) { + n2.default.isArray(e3) && (this._entities = e3); } - get output() { - return this._output; + get results() { + return this.entities; } - set output(e3) { - this._output = this.reviveItem(e3, c.default); + set results(e3) { + this.entities = e3; } - get divisions() { - return this._divisions; + get after() { + return this._after; } - set divisions(e3) { - this._divisions = this.reviveItem(e3, c.default); + set after(e3) { + this._after = e3; } - pasteReIdOrRename(e3) { - var t3, i3; - super.pasteReIdOrRename(e3), this.recordId.pasteReIdOrRename(e3), null === (t3 = this.input) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.output) || void 0 === i3 || i3.pasteReIdOrRename(e3), this.divisions.pasteReIdOrRename(e3); + get cursors() { + return this._cursors; } - pasteResolveOldToNewValues(e3) { - var t3, i3; - 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); + set cursors(e3) { + this._cursors = e3; } } - 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) => { + t2.PagedListByCursor = r; + }, 15116(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.toAudioTtsJson = function(e3) { - return { defaultAudio: { config: { ToAudioTTS: { pos: 1, text: 'ToAudioTTS("' + e3 + '")', operands: [{ lit: { pos: 12, text: e3, type: "str" } }], type: "aud" } }, text: 'ToAudioTTS("' + e3 + '")', uiMetaData: { sequenceItems: [{ type: 0, parameter: e3 }], customExpressionMode: false, optional: true } }, cases: [] }; - }; - }, 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 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); + t2.PagedList = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(80295), a = i2(19596); + class s extends a.DataContract { + constructor(e3) { + super(e3); } - static create(e3, t3) { - const i3 = new s({ id: e3.dataTypeId, dataTypeDef: u.cloneToRawJsonObject(e3) }); - return new c(i3, t3); + get entities() { + return this._entities; } - loadModel(e3) { - this._dependencyCustomDataTypeDefModel = e3; + set entities(e3) { + o.default.isArray(e3) && (this._entities = e3); } - get isClipboardDependencyCustomDataTypeDefViewModel() { - return true; + get results() { + return this.entities; } - get dataTypeId() { - return this._dependencyCustomDataTypeDefModel ? this._dependencyCustomDataTypeDefModel.dataTypeDef._dataTypeDef.dataTypeId : void 0; + set results(e3) { + this.entities = e3; } - get dataTypeDef() { - return this._dependencyCustomDataTypeDefModel ? this._dependencyCustomDataTypeDefModel.dataTypeDef._dataTypeDef : void 0; + get nextUri() { + return this._nextUri; } - get logHeader() { - return "custom data type def - dataTypeDefId: " + this.dataTypeId; + set nextUri(e3) { + this._nextUri = e3; } - get dependencyModel() { - return this._dependencyCustomDataTypeDefModel; + get total() { + return this._total; } - shouldPaste(e3) { - return true; + set total(e3) { + this._total = e3; } - _performDestroy() { - try { - this._dependencyCustomDataTypeDefModel = void 0; - } catch (e3) { - this.logException(e3, "Exception encountered cleaning up clipboard content."); - } + get pageSize() { + return this._pageSize; } - _performPaste(e3) { - if (!this.dataTypeDef) return this.createClipboardResultFailurePasteGeneric("The custom data type definition was invalid."); - let t3 = this.createClipboardResultSuccess(); - const i3 = u.cloneToRawJsonObject(this.dataTypeDef); - this.pushLogHeader(this.logHeader); - try { - this.log("Processing custom data types for paste operation"); - const t4 = e3.destFlowViewModel?.definitions?.getDataTypeDefViewModelForCustomDataTypeId(this.dataTypeDef.dataTypeId); - if (t4) this.log(`Data type ${i3.dataTypeId} already exists in destination flow.`); - else { - const t5 = new r2(i3); - n2.createCustomExpressionTypesFromDataTypeDefs(e3.destFlowViewModel, [t5], true), this.log(`Added new custom data type: ${i3.dataTypeId}`); - } - this.log("Custom data type definition successfully processed."); - } catch (e4) { - t3 = this.createClipboardResultFailurePasteException(e4, "An error occurred during custom data type definition paste processing."); - } finally { - this.popLogHeader(), this.log("Processing clipboard dependency custom data type definition end."); - } - return t3; + set pageSize(e3) { + this._pageSize = e3; + } + get pageNumber() { + return this._pageNumber; + } + set pageNumber(e3) { + this._pageNumber = e3; + } + get pageCount() { + return this._pageCount; + } + set pageCount(e3) { + this._pageCount = e3; } } - 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) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); - } - 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, 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: 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(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) { - const t4 = r3.variables[Object.keys(r3.variables)[0]]; - 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: 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: 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) { - case "tts": - i3 = t3.promptTtsGenerator; - break; - case "text": - i3 = t3.promptTextGenerator; - } - } catch (e5) { - } - return i3 || t3.promptTextGenerator; - } }, 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: 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: 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: 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: 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) => { + t2.PagedList = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "results", null); + }, 67377(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(57382)), o = n2.__importDefault(i2(78432)), a = i2(30801); - class s extends r2.default { + const n2 = i2(31635), o = i2(19596), r = i2(80295); + class a extends o.DataContract { constructor(e3) { - super(e3), this._bcc = this.coreFactory.createArchWrapper(e3.bcc), this._cc = this.coreFactory.createArchWrapper(e3.cc), this._from = this.coreFactory.createArchWrapper(e3.from), this._messageBody = this.coreFactory.createArchWrapper(e3.messageBody), this._replyTo = this.coreFactory.createArchWrapper(e3.replyTo), this._attachments = this.coreFactory.createArchWrapper(e3.attachments); - } - get _actionTypeId() { - return a.sendAutoReplyActionType; + super(e3); } - get displayTypeName() { - return this._scriptingName; + get id() { + return this._id; } - get isArchActionSendAutoReply() { - return true; + set id(e3) { + this._id = e3; } - get from() { - return this._from; + get name() { + return this._name; } - get replyMode() { - return this._coreActionViewModel.replyToSenderOnly ? o.default.SEND_AUTO_REPLY_MODES.replyToSender : o.default.SEND_AUTO_REPLY_MODES.replyToAll; + set name(e3) { + this._name = e3; } - set replyMode(e3) { - this._checkItemIsValidLiteralStringEnum(this._infoPropSet("value", "replyMode"), e3, o.default.SEND_AUTO_REPLY_MODES_ALL), this._coreActionViewModel.replyToSenderOnly = e3 === o.default.SEND_AUTO_REPLY_MODES.replyToSender, this._checkItem(this._infoPropSet(e3, "replyMode"), this.replyMode !== e3, "unable to set the reply mode to '" + e3 + "' because the mode is not available."); + get jsonSchema() { + return this._jsonSchema; } - get replyTo() { - return this._replyTo; + set jsonSchema(e3) { + this._jsonSchema = e3; } - get cc() { - return this._cc; + } + t2.default = a, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "id", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "name", null); + }, 49756(e2, t2, i2) { + "use strict"; + t2.SmsPhoneNumber = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(19596), s = i2(55656); + class l extends a.DataContract { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_phoneNumber"), (0, r.makeUnenumerable)(this, "_phoneNumberStatus"), (0, r.makeUnenumerable)(this, "_supportsSms"), (0, r.makeUnenumerable)(this, "_provisionedThroughPureCloud"), (0, r.makeUnenumerable)(this, "_version"); } - get bcc() { - return this._bcc; + get id() { + return this._phoneNumber; } - get messageBody() { - return this._messageBody; + set id(e3) { + this._phoneNumber = e3; } - setMessageBodyVariable(e3) { - this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("messageBodyVariable", "setMessageBodyVariable"), e3, false), this.messageBody.setVariable(e3); + get phoneNumber() { + return this._phoneNumber; } - get attachments() { - return this._attachments; + set phoneNumber(e3) { + this._phoneNumber = e3; } - } - 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), 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); + get phoneNumberStatus() { + return this._phoneNumberStatus; } - _resetUpconvertViewModels() { - super._resetUpconvertViewModels(), this._destUpconvertMenuChoiceViewModel = void 0, this._destUpconvertStateViewModel = void 0, this._destUpconvertTaskViewModel = void 0; + set phoneNumberStatus(e3) { + this._phoneNumberStatus = e3; } - static create(e3, t3, i3, r3) { - m.expectBool(t3, () => h.createFunctionParameter(S, "create", "deleteActionForCut"), true), m.expectObject(i3, () => h.createFunctionParameter(S, "create", "clipboardLogging")), m.expectString(r3, () => h.createFunctionParameter(S, "create", "newContentName"), true); - const o2 = a.getFlowViewModel(e3); - if (!o2) return m.expectFlowViewModel(o2, () => h.createFunctionParameter(S, "create", "actionViewModel.parentFlow")), null; - let s2; - m.expectObject(e3.info, () => h.createFunctionParameter(S, "create", "actionViewModel")); - try { - const a2 = []; - if (A._addActionTreeToArray(e3, a2), 0 === a2.length) return null; - n2.each(a2, function(e4) { - A._getActionModelById(e4.nextAction, a2) || (e4.nextAction = void 0), n2.each(e4.paths, function(e5) { - A._getActionModelById(e5.nextActionId, a2) || (e5.nextActionId = void 0); - }); - }.bind(this)); - const u2 = new l(); - if (u2.configure(o2, e3, a2, r3), s2 = new A(u2, i3), e3.addClipboardDependencies(s2), t3) { - const t4 = e3.parent; - if (!t4 || !t4.isActionContainerViewModel) throw "The action parent is not an action container view model. Unable to delete the action."; - t4.deleteChild(e3), s2.validateFlow(o2); - } - return s2; - } catch (e4) { - i3.logException(e4, "Unable to create clipboard content task."); - } - return s2 && s2.destroy(), null; + get supportsSms() { + return this._supportsSms; } - static _addActionTreeToArray(e3, t3) { - if (!e3) return; - const i3 = a.cloneToRawJsonObject(e3.getConfiguration()); - i3 && (t3.push(i3), n2.each(e3.branches, function(e4) { - n2.each(e4.actions, function(e5) { - this._addActionTreeToArray(e5, t3); - }.bind(this)); - }.bind(this))); + set supportsSms(e3) { + this._supportsSms = e3; } - static _getActionModelById(e3, t3) { - if (e3) return n2.find(t3, function(t4) { - return t4.id === e3; - }.bind(this)); + get provisionedThroughPureCloud() { + return this._provisionedThroughPureCloud; } - _buildInsertArray(e3, t3, i3, r3, o2) { - const a2 = [], s2 = r3 ? _.createActionWithModel(r3, t3, a2) : null, l2 = A._getActionModelById(t3.nextAction, i3); - l2 && (i3 = n2.reject(i3, function(e4) { - return e4.id === t3.id; - }), this._buildInsertArray(e3, l2, i3, r3, s2)); - let u2 = t3.paths; - n2.isNullOrUndefined(u2) && (u2 = t3.path ? [t3.path] : []), a2 && u2.push(...a2), n2.each(u2, (r4) => { - const o3 = A._getActionModelById(r4.nextActionId, i3); - if (o3) { - let a3; - s2 ? (a3 = n2.find(s2.branches, (e4) => e4.id === r4.outputId), this.log(`Not inserting action name ${this._getNameAndIdStr(t3)} because its branch was not available`)) : this.log(`Not inserting action name ${this._getNameAndIdStr(t3)} because previous action wasn't insertable`), this._buildInsertArray(e3, o3, i3, a3); - } - }), s2 ? e3.push({ actionViewModel: s2, destActionContainerViewModel: r3, previousActionViewModel: o2 }) : e3.push({ didNotAdd: t3 }); + set provisionedThroughPureCloud(e3) { + this._provisionedThroughPureCloud = e3; } - _performDestroy() { - super._performDestroy(), this._resetUpconvertViewModels(); + get version() { + return this._version; } - _pasteBefore(e3) { - const t3 = super._pasteBefore(e3); - if (t3.isFailure) return t3; - if (this.shouldPasteAsMenuChoice(e3)) this._destUpconvertMenuChoiceViewModel = p.createMenuChoice(e3.destViewModel, this.contentModel.contentRawJSON[0].__type), this.log("Paste will be up-converting the action to a menu choice for the action. Newly created menu choice will be " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel)); - else if (this.shouldPasteAsReusableTask(e3)) { - const t4 = new y(); - t4.name = e3.clipboardObject.pasteGetUniqueTaskName(r2(f.task.newDefaultName, 1)), this._destUpconvertTaskViewModel = this._pasteAddTaskViewModelForTaskModel(e3, t4), e3.destViewModelTaskOrState = this._destUpconvertTaskViewModel, this.log("Paste will be up-converting the action to a reusable task for the action. Newly created task will be " + this._getNameAndIdStr(this._destUpconvertTaskViewModel)); - } else if (this.shouldPasteAsState(e3)) { - const t4 = new T(); - t4.name = e3.clipboardObject.pasteGetUniqueStateName(r2(f.task.newDefaultStateName, 1)), this._destUpconvertStateViewModel = this._pasteAddStateViewModelForStateModel(e3, t4), e3.destViewModelTaskOrState = this._destUpconvertStateViewModel, this.log("Paste will be up-converting the action to a state for the action. Newly created state will be " + this._getNameAndIdStr(this._destUpconvertStateViewModel)); - } - return t3; + set version(e3) { + this._version = e3; } - _pasteAfter(e3) { - if (!n2.isUndefined(this._destUpconvertMenuChoiceViewModel)) { - let t3 = this.pastedMenuOrTaskOrActionViewModel.name; - t3 = e3.clipboardObject.pasteGetUniqueMenuChoiceName(t3, this._destUpconvertMenuChoiceViewModel.parent, true, false), this._destUpconvertMenuChoiceViewModel.name = t3, this._pasteAddMenuChoiceViewModelForMenuChoiceViewModel(e3.destViewModel, this._destUpconvertMenuChoiceViewModel), this._destUpconvertMenuChoiceViewModel.resetDtmfToUniqueDtmf(); - } - return this.createClipboardResultSuccess(); + get label() { + return (0, s.splitRawPhoneNumber)(this._phoneNumber).schemeType ? this._phoneNumber : "tel:" + this._phoneNumber; } - _performPaste(e3) { - const t3 = []; - if (this.log("Creating " + this._pasteJsonObjects.content.length + " action model(s) from clipboard content action JSON."), n2.each(this._pasteJsonObjects.content, function(i3) { - const r3 = e3.clipboardObject.pasteContext.destFlowViewModel.definition.type; - n2.each(i3, (e4) => { - if (e4?.uiMetaData?.builder) { - 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(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)); - try { - this.log("Assigning new IDs and names."), t4.pasteReIdOrRename(e3.clipboardObject); - } finally { - this.popLogHeader(); - } - }.bind(this)), this.log("Resolving old values to new values for " + t3.length + " action model(s)."), n2.each(t3, function(t4) { - this.pushLogHeader("action - name " + this._getNameAndIdStr(t4)); - try { - this.log("Resolving old values to new values."), t4.pasteResolveOldToNewValues(e3.clipboardObject); - } finally { - this.popLogHeader(); - } - }.bind(this)); - const i3 = e3.destViewModel.isBaseAction ? e3.destViewModel : e3.destViewModel.isTaskLike && e3.pasteActionsToEndOfActionContainer ? this.getLastActionForStateOrTask(e3.destViewModel) : void 0, r3 = this._destUpconvertStateViewModel ? this._destUpconvertStateViewModel : this._destUpconvertTaskViewModel ? this._destUpconvertTaskViewModel : this._destUpconvertMenuChoiceViewModel ? this._destUpconvertMenuChoiceViewModel : e3.destActionContainer; - let o2 = []; - if (this._buildInsertArray(o2, t3[0], t3, r3, i3), t3.length !== o2.length) return this.createClipboardResultFailurePasteGeneric("The array of action view models to paste did not have the same number of actions that the models had. Maybe model code is not resolving old IDs to new IDs?"); - if (this._destUpconvertMenuChoiceViewModel) { - if (1 !== o2.length) return this.createClipboardResultFailurePasteGeneric("The array of action view models to paste was not 1. This is incorrect when up-converting to a menu choice. Sigh."); - const t4 = o2[0]; - this.log("Assigning new action " + this._getNameAndIdStr(t4.actionViewModel) + " to menu choice " + this._getNameAndIdStr(this._destUpconvertMenuChoiceViewModel) + "."), this._destUpconvertMenuChoiceViewModel.action = t4.actionViewModel, this.pastedMenuOrTaskOrActionViewModel = t4.actionViewModel, e3.additionalInfo && e3.additionalInfo.addNotableObject(this._destUpconvertMenuChoiceViewModel); - } else for (let t4 = o2.length - 1; t4 >= 0; t4--) { - const i4 = o2[t4]; - i4.actionViewModel && (this.log("Inserting action name " + this._getNameAndIdStr(i4.actionViewModel) + ". " + (i4.previousActionViewModel ? "Previous action name " + this._getNameAndIdStr(i4.previousActionViewModel) + "." : "No previous action view model.")), i4.destActionContainerViewModel._insertAction(i4.actionViewModel, i4.previousActionViewModel), i4.actionViewModel.initializeDesignTime && i4.actionViewModel.initializeDesignTime(), 0 === t4 && (this.pastedMenuOrTaskOrActionViewModel = i4.actionViewModel), e3.additionalInfo && t4 === o2.length - 1 && e3.additionalInfo.addNotableObject(i4.actionViewModel)); - } - o2 = void 0; - } - return this.createClipboardResultSuccess(); + set label(e3) { + this._phoneNumber = e3; } - get className() { - return S; + } + t2.SmsPhoneNumber = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "id", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "phoneNumber", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "phoneNumberStatus", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "supportsSms", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "provisionedThroughPureCloud", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "version", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "label", null); + }, 33416(e2, t2, i2) { + "use strict"; + t2.SmsPhoneNumberList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(49756); + class s extends r.PagedList { + constructor(e3) { + super(e3); } - get clipboardContentType() { - return u.action; + get entities() { + return this._entities; } - checkCanPasteClipboardContextWithDetails(e3) { - const t3 = super.checkCanPasteClipboardContextWithDetails(e3); - if (t3.isFailure) return t3; - let i3 = false; - if (this.shouldPasteAsMenuChoice(e3, false)) { - if (i3 = true, !this.shouldPasteAsMenuChoice(e3)) return this.createClipboardResultFailure(f.clipboard.content.pastableLocations.cannotPasteActionAsMenuChoiceMoreThanOne); - t3.messageDisplayStr = f.clipboard.content.canPaste.upConvert.action.toMenuChoice; - } else { - 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, 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."); + set entities(e3) { + this._entities = this.reviveArray(e3, a.SmsPhoneNumber); } - get isClipboardContentAction() { - return true; + } + t2.SmsPhoneNumberList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 54040(e2, t2, i2) { + "use strict"; + t2.SpeechToTextEngine = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(84050); + class s extends a.NameIdDescriptionModel { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_grammarBased"), (0, r.makeUnenumerable)(this, "_isDefault"), (0, r.makeUnenumerable)(this, "_selection"), (0, r.makeUnenumerable)(this, "_supportedLanguages"), (0, r.makeUnenumerable)(this, "_replacedBy"); } - get totalActionCount() { - return n2.isArray(this.contentModel.contentRawJSON) ? this.contentModel.contentRawJSON.length : 0; + get grammarBased() { + return this._grammarBased; } - shouldPasteAsMenuChoice(e3, t3) { - let i3 = false; - if ((e3.destViewModel.isSubMenu || e3.destViewModel.isMenu) && n2.isArray(e3.destViewModel.choices) && (t3 || 1 === this.totalActionCount)) { - const e4 = _.getActionConstructor(this.contentModel.contentRawJSON[0]); - e4 && e4.info && (i3 = true === e4.info.canBeTreeNode); - } - return i3; + set grammarBased(e3) { + this._grammarBased = e3; } - shouldPasteAsReusableTask(e3) { - return e3.destViewModel.isFlowViewModel && e3.destViewModel.supportsReusableTasks && n2.isArray(e3.destViewModel.tasks) && (!e3.pasteSettings || e3.pasteSettings.pasteActionToFlowDestination === g.tasks); + get isDefault() { + return this._isDefault; } - shouldPasteAsState(e3) { - return e3.destViewModel.isFlowViewModel && e3.destViewModel.supportsMultipleStates && n2.isArray(e3.destViewModel.states) && e3.pasteSettings && e3.pasteSettings.pasteActionToFlowDestination === g.states; + set isDefault(e3) { + this._isDefault = e3; } - } - e2.exports = A; - }, 46761: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefCallSecureFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(27862); - class s extends r2.BriefFlowListManager { - get dependencyType() { - return a.SecureCallFlow; + get selection() { + return this._selection; } - constructor() { - super(), this.topic = n2.getTopic("briefCallSecureFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeSecureCall }, this.className = "BriefCallSecureFlowListManager", this.flowType = o.flowTypes.flowTypeSecureCall, this._initialize(); + set selection(e3) { + this._selection = e3; } - } - t2.briefCallSecureFlowListManager = new s(); - }, 46772: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(41898)); - class r2 extends n2.default { - constructor(e3, t3, i3, n3, r3) { - super(e3, t3, i3, n3), this._onToolbar = r3; + get supportedLanguages() { + return this._supportedLanguages; } - get className() { - return "BuilderCategory"; + set supportedLanguages(e3) { + this._supportedLanguages = e3; } - get isBuilderCategory() { - return true; + get replacedBy() { + return this._replacedBy; } - get actionsOnToolbar() { - return this._onToolbar; + set replacedBy(e3) { + this._replacedBy = e3; } } - t2.default = r2; - }, 46782: (e2, t2, i2) => { + t2.SpeechToTextEngine = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "grammarBased", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "isDefault", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "selection", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "supportedLanguages", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "replacedBy", null); + }, 60612(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseExpression = void 0, t2.TEST_getExpressionCount = function() { - return Object.keys(W).length; - }, t2.TEST_activeExpressions = function() { - return Object.values(W); - }, 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)), 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); - if (i3 && i3.expressionName !== t3.ref.text) { - j.info(`renaming prompt with id ${i3.id} in expression with id ${e3.id}`); - const n3 = t3.ref.text; - !(function(e4, t4, i4) { - const n4 = e4.text.length, r3 = e4.text.slice(0, t4.pos - 1 + e4._renameOffset), o2 = e4.text.slice(t4.pos - 1 + t4.text.length + e4._renameOffset); - e4.text = r3 + i4 + o2, e4._renameOffset += e4.text.length - n4, e4.options.renameVariablesCallback && e4.options.renameVariablesCallback(e4); - })(e3, t3.ref, i3.expressionName), p.emitter.emit(p.promptChanged, i3, n3); - } - } else o.default.isObject(t3) && o.default.each(t3, function(t4) { - q(e3, t4); - }); - } - function Y(e3, t3) { - e3._parseResult = M.default.parse(e3), e3._parseResult.success ? e3.setConfigAndMetaData(e3._parseResult.resultExpression, e3._parseResult.metaData) : e3.setConfigAndMetaData(void 0), o.default.each(e3.delayedClearVariableList, (t4) => { - e3.variables[t4.id] || t4.removeUsage(e3); - }), e3.delayedClearVariableList = {}, g.fireEvent(e3, p.expressionParseComplete), e3._executeCallbacks(e3.valueChangedCallbacks, "valueChangedCallbacks"), t3 && t3(); - } - class H extends C.default { - get customExpressionMode() { - return false; + t2.SpeechToTextEngineList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(54040); + class s extends r.PagedList { + constructor(e3) { + super(e3); } - get isAudioExpression() { - return false; + get entities() { + return this._entities; } - constructor(e3) { - var t3; - 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); + set entities(e3) { + this._entities = this.reviveArray(e3, a.SpeechToTextEngine); } - optionsAs() { - return this.options; + } + t2.SpeechToTextEngineList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 64288(e2, t2, i2) { + "use strict"; + t2.UtilizationLabel = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { + constructor(e3) { + super(e3); } get id() { return this._id; } - get model() { - return this._model; - } - set model(e3) { - this._model = e3; + set id(e3) { + this._id = e3; } - get _isFlowLevelDefaultExpressionWithNoConfigAndNoText() { - return this.options.isOverridableFlowLevelDefaultExpression && !this.hasConfig && !this.text; + get name() { + return this._name; } - get _needsDefaultTextSet() { - return this.hasDefaultText && !this.text && !this.options.allowFlowLevelDefault && !this.options.defaultToNoValue; + set name(e3) { + this._name = e3; } - get amObjectEventSink() { - return true; + get displayName() { + return this._name; } - get amObjectEventEmitter() { - return true; + set displayName(e3) { + this._name = e3; } - tempClone(e3) { - const t3 = new this.constructor({ model: new u.default(JSON.stringify(this.model)), type: this.type, parent: this.parent, parentFlow: this.parentFlow, label: this.label, options: this.options.clone().setDoNotTrackUsages(true), transitory: e3 }); - return t3.initialize(), this.initializeDesignTimeCalled && t3.initializeDesignTime(), t3.outOfService = this.outOfService, t3; + get label() { + return this._name; } - cloneForTransitoryExpression() { - return this.tempClone(true); + set label(e3) { + this._name = e3; } - get isTransitory() { - return this._transitory; + } + t2.UtilizationLabel = 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, "displayName", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "label", null); + }, 23340(e2, t2, i2) { + "use strict"; + t2.UtilizationLabelList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(64288); + class s extends r.PagedList { + constructor(e3) { + super(e3); } - get config() { - return this.model.config; + get entities() { + return this._entities; } - set config(e3) { - this.model.config = e3; + set entities(e3) { + this._entities = this.reviveArray(e3, a.UtilizationLabel); } - get configType() { - const e3 = this.config; - return o.default.isObject(e3) ? e3.type : null; + } + t2.UtilizationLabelList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 80408(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(84050); + class o extends n2.NameIdDescriptionModel { + constructor(e3) { + super(e3); } - get errorMessage() { - return this.hasError ? this.resultMessage : null; + } + t2.default = o; + }, 48019(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { + constructor(e3) { + super(e3); } - get hasConfig() { - return !!this.config; + get id() { + return this._id; } - get hasParseError() { - return this._parseResult && this._parseResult.resultType === k.ParseResultTypes.error && !!this._parseResult.resultMessage; + set id(e3) { + this._id = e3; } - get parseResultErrors() { - var e3; - return (null === (e3 = this._parseResult) || void 0 === e3 ? void 0 : e3.parseErrorItems) || []; + get name() { + return this._name; } - get parseResultWarnings() { - var e3; - return (null === (e3 = this._parseResult) || void 0 === e3 ? void 0 : e3.parseWarningItems) || []; + set name(e3) { + this._name = e3; } - get hasDefaultText() { - return this.options.hasDefaultText; + get schema() { + return this._schema; } - get hasError() { - return this._getHasError(); + set schema(e3) { + this._schema = e3; } - get hasInfo() { - return !!this._parseResult && this._parseResult.resultType === k.ParseResultTypes.info; + get schemas() { + return this._schemas; } - get hasWarning() { - return !!this._parseResult && this._parseResult.resultType === k.ParseResultTypes.warn; + set schemas(e3) { + this._schemas = e3; } - get isBlank() { - return this.optionsAs().blankDeterminationShouldNotTrim ? !this.text : !this.text || "" === this.text.trim(); + get schemaInfo() { + return this._schemaInfo; } - get isEmpty() { - return this.config && !!this.config.emp; + set schemaInfo(e3) { + this._schemaInfo = e3; } - get isEmptyNoFallback() { - return this.config && !!this.config.enf; + get statuses() { + return this._statuses; } - get isOptional() { - return this.options.isOptional; + set statuses(e3) { + this._statuses = e3; } - set isOptional(e3) { - this.options.isOptional = e3; + get flow() { + return this._flow; } - get hasEmpRoot() { - return !!this.hasConfig && this.config.isEmp; + set flow(e3) { + this._flow = e3; } - get isInternal() { - return this._internalExpression; + get dateBasedRules() { + return this._dateBasedRules; } - set isInternal(e3) { - this._internalExpression = e3; + set dateBasedRules(e3) { + this._dateBasedRules = e3; } - get isNotSet() { - return this.text && this.text.trim().toUpperCase() === b.default.notSet; + } + 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", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "schemas", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "schemaInfo", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "statuses", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "flow", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "dateBasedRules", null); + }, 42607(e2, t2, i2) { + "use strict"; + t2.WorktypeList = void 0; + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(48019)), a = i2(16127); + class s extends a.PagedListByCursor { + constructor(e3) { + super(e3); } - get label() { - var e3; - return (null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.labelOverride) || this._label; + get entities() { + return this._entities; } - set label(e3) { - this._label !== e3 && (this._label = e3); + set entities(e3) { + this._entities = this.reviveArray(e3, r.default); } - get languages() { - if (this.parentAudio) { - if (this.parentAudio.languages) return this.parentAudio.languages; - if (this.parentAudio.langCode) return [N.getLanguageEntry(this.parentAudio.langCode)]; - if (this.parentAudio.defaultAudioLanguages) return this.parentAudio.defaultAudioLanguages; - } - return this.parentFlow && this.parentFlow.languages ? this.parentFlow.topParentFlow.languages.supportedLanguagesViewModels : []; + } + t2.WorktypeList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 3542(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { + constructor(e3) { + super(e3); } - get promptsNeedAudioOnly() { - return !(!this.options || !this.optionsAs().requireAudio) || this.parentFlow.validateHasAudioOnly; + get id() { + return this._id; } - getPromptMissingResourcesErrorString(e3) { - let t3; - 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; + set id(e3) { + this._id = e3; } - get metaData() { - return this.model.metaData; + get name() { + return this._name; } - set metaData(e3) { - this.model.metaData = e3; + set name(e3) { + this._name = e3; } - get staticMetaData() { - return this._staticMetaData; + get latestProductionReadyVersion() { + return this._latestProductionReadyVersion; } - get resultMessage() { - return this._parseResult ? this._parseResult.resultMessage : ""; + set latestProductionReadyVersion(e3) { + this._latestProductionReadyVersion = e3; } - get resultPosition() { - return this._parseResult ? this._parseResult.resultPosition : 0; + } + 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", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "latestProductionReadyVersion", null); + }, 83726(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = n2.__importDefault(i2(3542)); + class s extends r.PagedList { + constructor(e3) { + super(e3); } - get resultReference() { - return this._parseResult ? this._parseResult.resultReference : ""; + get entities() { + return this._entities; } - get resultType() { - return this._parseResult ? this._parseResult.resultType : void 0; + set entities(e3) { + this._entities = this.reviveArray(e3, a.default); } - get resultHelpTopic() { - return this._parseResult ? this._parseResult.resultHelpTopic : void 0; + } + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 71960(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.agenticVirtualAgentPropertyTargetType = void 0; + const n2 = i2(31635), o = (n2.__importStar(i2(12847)), n2.__importStar(i2(10798))), r = 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}`; } - setConfigAndMetaData(e3, t3) { - this.config = e3, e3 ? (t3 ? this.metaData = t3 : this.config.setContainerExpressionMetaData(this, true), this.staticMetaData && o.default.extend(this.metaData, this.staticMetaData)) : this.metaData = this.staticMetaData ? o.default.clone(this.staticMetaData) : void 0; + set id(e3) { + this._id = e3; } - setStaticMetaData(e3) { - this._staticMetaData || (this._staticMetaData = {}), o.default.extend(this._staticMetaData, e3), this.metaData || (this.metaData = {}), o.default.extend(this.metaData, this.staticMetaData); + get name() { + return this._name; } - get text() { - return this.model.text; + set name(e3) { + this._name = e3; } - set text(e3) { - this.setText(e3); + get version() { + return this._version; } - get type() { - return this._type; + set version(e3) { + this._version = e3; } - set type(e3) { - this._type !== e3 && (this._type = e3, this.model.type = e3.expressionType, this.resultType && this.setText(this.model.text, false, true), g.fireEvent(this, p.expressionTypeChanged)); + get virtualAgent() { + return this._virtualAgent; } - attachValidator(e3) { - this._extraValidator = e3; + set virtualAgent(e3) { + this._virtualAgent = e3; } - _addVariableUsage(e3) { - e3.addReader(this); + get definition() { + return this._definition; } - _handleNoConfigAtEndOfValidation(e3) { - if (!this.isProcessingText) { - const t3 = [`Expression id: '${this.id}'`, this.parentFlow.toString()]; - if (this.label && t3.push(`label: '${this.label}'`), this.propertyName && t3.push(`propertyName: '${this.propertyName}'`), this.topic.errorWithStack(null, `An expression reached the end of validation with no config and no validation error. ${t3.join(", ")}`), h.isDisabled(a.archExpressionNoConfigError)) return true; - const i3 = V.expression.internalErrorExpression; - return this.setParseError(i3), e3.nodeHasError(this.parent.id, i3) || e3.addError(this.parent, i3), false; - } - return true; + set definition(e3) { + this._definition = e3, this._processDefinition(); } - _clearVariables(e3) { - if (!this.isVariableMode) { - if (e3) return this.delayedClearVariableList = this.variables, void (this.variables = {}); - const t3 = o.default.last(o.default.keys(this.variables)); - o.default.each(this.variables, (e4, i3) => { - e4.removeUsage(this, i3 !== t3); - }), this.variables = {}; - } + _isCustomConversationAttributesOnly(e3) { + return !!o.isFeatureAvailable(a.default.botFlowsLLMPoweredFrontDoor) && !(!e3.targets || 0 === e3.targets.length) && e3.targets.every((e4) => e4.type === t2.agenticVirtualAgentPropertyTargetType.customConversationAttributes); } - _executeCallbacks(e3, t3) { - this.initializeDesignTimeCalled && o.default.each(e3, (e4) => { - try { - e4(this); - } catch (e5) { - this.topic.exception(e5, "Failure executing " + t3); + _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 (!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 === (t3 = this._definition.types) || void 0 === t3 ? void 0 : t3.find((e4) => "OutputData" === e4.name && u.has(e4.direction)), r2 = ((null == o2 ? void 0 : o2.properties) || []).filter((e4) => !this._isCustomConversationAttributesOnly(e4)); + this.outputs = r2.map((e4) => { + var t4; + let i4 = e4.type; + 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 }; }); } - _getHasError() { - return !(!this._parseResult || this._parseResult.resultType !== k.ParseResultTypes.error || this._parseResult.success); + get inputs() { + return this._inputs; } - _getConfigurationForYaml(e3, t3, i3) { - var n3, r3; - if (this.outOfService && !(null == i3 ? void 0 : i3.serializeOutOfService)) return; - if (null === (n3 = null == i3 ? void 0 : i3.doNotExportForFlowTypes) || void 0 === n3 ? void 0 : n3.includes(this.parentFlow.type)) return null; - const a2 = {}; - let s2, l2 = this.text; - if (null == i3 ? void 0 : i3.shouldBePlainJsType) { - if (this.type.isMatch(L.globalTypes.integer, D.settings.exact) || this.type.isMatch(L.globalTypes.decimal, D.settings.exact)) return Number(this.text); - if (this.type.isMatch(L.globalTypes.string, D.settings.exact)) { - if ("" === this.text) return; - return i3.valueShouldBeLowercase ? this.text.toLowerCase() : this.text; - } - return this.type.isMatch(L.globalTypes.boolean, D.settings.exact) ? this.text === b.default.true : (this.topic.errorWithStack(null, `No shouldBePlainJsType handling in place for property with label '${this.label}'`), null); - } - if (this.isVariableMode) s2 = "var"; - else if (this.isExpressionMode || this.isBuilderMode) { - if (null === (r3 = null == i3 ? void 0 : i3.doNotExportAsExpressionForFlowTypes) || void 0 === r3 ? void 0 : r3.includes(this.parentFlow.type)) return null; - s2 = "exp"; - } else { - if (this.isNoValueModeWithNoFallback) return { noValueWithNoFallback: true }; - if (this.isNoValueMode) return { noValue: true }; - if (!this.isLiteralMode) return this.topic.errorWithErrorObjectInfo(`Unknown expression mode encountered: '${this.mode}'`, this, true), null; - s2 = "lit", l2 = this.type.isCollection ? o.default.map(this.collectionItems.items, (n4) => (null == i3 ? void 0 : i3.valueShouldBeLowercase) ? n4.getConfiguration(e3, t3, i3).toLowerCase() : n4.getConfiguration(e3, t3, i3)) : (null == i3 ? void 0 : i3.valueShouldBeLowercase) ? this.type.getYamlObjectForLiteralSingleton(this, e3, t3, i3).toLowerCase() : this.type.getYamlObjectForLiteralSingleton(this, e3, t3, i3); - } - return null === l2 ? null : (a2[s2] = l2, a2); + set inputs(e3) { + this._inputs = e3; } - _getReferenceByName(e3) { - return e3 ? A.hasPromptPrefix(e3) ? S.getItemByName(e3) : this.parentFlow.variableGroup.getVariableByName(e3, this.getParentTask()) : null; + get outputs() { + return this._outputs; } - _initialize() { - this.options && (this._needsDefaultTextSet || this._isFlowLevelDefaultExpressionWithNoConfigAndNoText) && (this.text = this.options.defaultText), this.model.type = this.type.dataType, this._ensureUiMetaData(), this.processText(true); + set outputs(e3) { + this._outputs = e3; } - _reset(e3, t3) { - this._parseResult = null, this._hasLiteralError = false, this._clearVariables(t3), this.config = void 0, this.metaData = this.staticMetaData ? o.default.clone(this.staticMetaData) : void 0, this.consumesSecureData = false, e3 && (this.model.text = ""), g.fireEvent(this, p.expressionParseComplete); + } + t2.default = c, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "id", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "name", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], c.prototype, "version", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], c.prototype, "virtualAgent", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], c.prototype, "definition", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], c.prototype, "inputs", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], c.prototype, "outputs", null); + }, 90152(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(19596); + class s extends a.DataContract { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_categoryId"), (0, r.makeUnenumerable)(this, "_displayIndex"); } - setUiMetaData(e3, t3) { - this._ensureUiMetaData(), this.model.uiMetaData[e3] = t3; + get categoryId() { + return this._categoryId; } - getUiMetaData(e3) { - return this._ensureUiMetaData(), this.model.uiMetaData[e3]; + set categoryId(e3) { + e3.startsWith("category.") || (e3 = "category." + e3), this._categoryId = e3; } - get customTypeLitCodeLanguage() { - if (this.type.isCustomType) return this.getUiMetaData(v.uiMetaDataKey.litLanguage) || s.CodeLanguage.architectJson; + get displayIndex() { + return this._displayIndex; } - set customTypeLitCodeLanguage(e3) { - this.type.isCustomType && this.setUiMetaData(v.uiMetaDataKey.litLanguage, e3); + set displayIndex(e3) { + this._displayIndex = e3; } - _ensureUiMetaData() { - this.model.uiMetaData || (this.model.uiMetaData = {}); + } + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "categoryId", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "displayIndex", null); + }, 85863(e2, t2, i2) { + "use strict"; + var n2, o, r, 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"); } - _setParseResultMessage(e3, t3) { - this._parseResult || (this._parseResult = new x.ParseResult(this)), this._parseResult.resultMessage = e3, this._parseResult.resultType = t3, this._parseResult.resultReference = void 0, this._parseResult.success = k.ParseResultTypes.error !== t3, this._parseResult.resultPosition = -1, g.fireEvent(this, p.expressionParseComplete); + get fileAttachmentsPerResponseMax() { + return this._fileAttachmentsPerResponseMax; } - addVariableOrPromptReference(e3) { - const t3 = this._getReferenceByName(e3); - return t3 ? (this.options.doNotTrackUsages || this._addVariableUsage(t3), this.variables[t3.id] = t3, t3) : null; + set fileAttachmentsPerResponseMax(e3) { + this._fileAttachmentsPerResponseMax = this.reviveItem(e3, p.default); } - checkVersion(e3) { - const t3 = this._parseResult ? this._parseResult.version : G.one.zero; - e3.checkVersion(t3), o.default.each(this.variables, function(t4) { - t4.checkVersion(e3); - }); + get invocationsPerFlowMax() { + return this._invocationsPerFlowMax; } - clear(e3, t3) { - const i3 = this.model.text; - this._reset(e3), this.setConfigAndMetaData(M.default.getNull(this)), t3 && (this.type = t3), i3 !== this.model.text && g.fireEvent(this, p.expressionValueChanged); + set invocationsPerFlowMax(e3) { + this._invocationsPerFlowMax = this.reviveItem(e3, p.default); } - clearParseResult(e3) { - e3 ? this._parseResult && this._parseResult.resultType === k.ParseResultTypes.error && (this._parseResult = void 0) : this._parseResult = void 0, g.fireEvent(this, p.expressionParseComplete); + get loopCountMax() { + return this._loopCountMax; } - copyExpressionValue(e3) { - 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); + set loopCountMax(e3) { + this._loopCountMax = this.reviveItem(e3, p.default); } - _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(); + get notificationTypeChatInvocationsPerFlowMax() { + return this._notificationTypeChatInvocationsPerFlowMax; } - 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; + set notificationTypeChatInvocationsPerFlowMax(e3) { + this._notificationTypeChatInvocationsPerFlowMax = this.reviveItem(e3, p.default); } - 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) ? [] : w.getFunctionsForCharPosition(this, e3, t3); + 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)}'`)); + } } - getLitAsString() { - const e3 = this.config; - return e3 && !e3.emp && e3.getLitAsString ? e3.getLitAsString() : ""; + getIntLimitValue(e3, t3, i3) { + var n3, o2; + return null !== (o2 = null === (n3 = this.getLimitCondition(e3)) || void 0 === n3 ? void 0 : n3.getIntValue(t3, i3)) && void 0 !== o2 ? o2 : t3; } - getParentTask() { - let e3 = this.parent.topParent; - return e3 = e3 || this.parent, e3.isTaskLike ? e3 : null; + getStrLimitValue(e3, t3, i3) { + var n3, o2; + return null !== (o2 = null === (n3 = this.getLimitCondition(e3)) || void 0 === n3 ? void 0 : n3.getStrValue(t3, i3)) && void 0 !== o2 ? o2 : t3; } - getProperty(e3) { + } + 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 (o = void 0 !== p.default && p.default) ? o : Object])], y.prototype, "fileAttachmentsPerResponseMax", null), d.__decorate([(0, g.enumerable)(true), d.__metadata("design:type", "function" == typeof (r = void 0 !== p.default && p.default) ? r : 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); + }, 23488(e2, t2, i2) { + "use strict"; + var n2, o, r, a; + Object.defineProperty(t2, "__esModule", { value: true }); + 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, _.makeUnenumerable)(this, "_categoryInfo"), (0, _.makeUnenumerable)(this, "_flowTypesDeprecated"), (0, _.makeUnenumerable)(this, "_limits"); } - get topParent() { - return this.parent.topParent || this.parent; + get categoryInfo() { + return this._categoryInfo; } - getPromptReferences() { - return this.metaData && this.metaData.references && this.metaData.references.length > 0 ? o.default.filter(this.metaData.references, function(e3) { - return e3.type === F.expressionTypeNames.prompt; - }) : []; + set categoryInfo(e3) { + this._categoryInfo = this.reviveItem(e3, u.default); } - getTopConfigProperty() { - for (const e3 in this.config) if (this.config.hasOwnProperty(e3)) return this.config[e3]; + setExpandedFlowTypesDeprecated(e3) { + this._flowTypesDeprecated = e3; } - get isExpression() { - return true; + get flowTypesDeprecated() { + return this._flowTypesDeprecated; } - isIntegerOrDecimalType() { - return this.type.isMatch(L.globalTypes.integer, D.settings.exact) || this.type.isMatch(L.globalTypes.decimal, D.settings.exact); + set flowTypesDeprecated(e3) { + this._reviveFlowTypeMap(e3, "_flowTypesDeprecated"); } - get isVariableInitialValue() { - var e3, t3; - return (null === (e3 = this.parent) || void 0 === e3 ? void 0 : e3.isVariableViewModel) && (null === (t3 = this.parent) || void 0 === t3 ? void 0 : t3.model.initialValue) === this.model; + get limits() { + return this._limits; } - processText(e3, t3) { - var i3; - if (this._amBuildingExpressionText) return; - const n3 = e3; - try { - this._amBuildingExpressionText = true, n3 ? (function(e4, t4) { - if (e4.parentFlow && e4.parentFlow.shouldParseExpressions) { - if (e4._reset(false, true), e4.isSearchingServer) return; - if (e4.text && !e4.isTTSOnly) { - const t5 = E.expressionDataService.getPromptsFromExpressionText(e4.text); - if (t5 && t5.length > 0 && (o.default.each(o.default.uniq(t5), function(t6) { - if (!e4.parentFlow.validationResults.isDeep && e4.parentFlow.loaded && !S.getItemByName(t6.name)) { - let i4 = t6.isSystemPrompt ? S.systemPromptListManager : null; - if (i4 || (i4 = t6.isUserPrompt ? S.userPromptListManager : null), !i4) return void j.error("An expression with no prompt string got into prompt processing:" + t6); - const n4 = {}, r3 = i4.search(A.removePrefix(t6.name), null, B.exactMatch, false, null, false, n4).catch(o.default.noop); - n4.isAutomaticEmptyResults || e4._serverSearches.push(r3); - } - }), e4._serverSearches.length > 0)) return e4.isSearchingServer = true, void Promise.all(e4._serverSearches).finally(() => { - e4.isSearchingServer = false, e4._serverSearches.length = 0, Y(e4); - }); - } - Y(e4, t4); - } - })(this, t3) : this._throttledParse(t3); - } catch (e4) { - this.topic.errorWithStack(e4, "Error occurred processing text for expression: " + this.label); - } finally { - this._amBuildingExpressionText = false, this._throttledParseQueued = !n3, this.hasValidationError = this.hasError, this.hasValidationWarning = this.hasWarning, null === (i3 = this.parentFlow) || void 0 === i3 || i3.calcFlowSizeAsync(); - } + set limits(e3) { + this._limits = this.reviveItem(e3, c.default); } - removeValueChangedCallback(e3) { - const t3 = this.valueChangedCallbacks.indexOf(e3); - t3 > -1 && this.valueChangedCallbacks.splice(t3, 1); + } + 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 (o = void 0 !== l && l.IAvailabilitySupportMap) ? o : Object), s.__metadata("design:paramtypes", [Object])], h.prototype, "flowTypesDeprecated", null), s.__decorate([(0, d.enumerable)(true), s.__metadata("design:type", "function" == typeof (r = void 0 !== c.default && c.default) ? r : Object), s.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== c.default && c.default) ? a : Object])], h.prototype, "limits", null); + }, 11374(e2, t2, i2) { + "use strict"; + var n2, o; + Object.defineProperty(t2, "__esModule", { value: true }); + const r = i2(31635), a = r.__importDefault(i2(8855)), s = r.__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"); } - registerDependencies() { - this.isTransitory || (this._registerPromptsFromExpressionText(), this._registerJsonDependencies()); + get isAvailable() { + return this._isAvailable; } - _registerJsonDependencies() { - if (!this.isTransitory && (null == this ? void 0 : this.dependencies)) { - const e3 = []; - 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: d.NO_VERSION, dependencyType: n3 }); - }); - }), d.registerConsumerDependencies(this.parent, this, e3); - } + set isAvailable(e3) { + this._isAvailable = e3; } - _registerPromptsFromExpressionText() { - const e3 = R.expressionItems.getPromptsFromExpressionMetadata(this); - o.default.each(e3, (e4) => { - 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) => { - d.registerPrompt(e4.name, e4.type, this.parentFlow, e4.id); - }); + get value() { + return this._value; } - renamePromptVariables(e3) { - if (this.isLiteralMode && this.val && this.type.isMatch(L.globalTypes.prompt, D.settings.exact)) { - const e4 = S.getItem(this.val); - return void (e4 && this.setText(e4.displayName)); - } - let t3; - 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); - this._renameOffset = 0, q(this, n3); + set value(e3) { + this._value = this.reviveItem(e3, a.default); } - replaceUsages(e3, t3, i3) { - if (this.isLiteralMode && this.type.isMatch(L.globalTypes.prompt, D.settings.exact)) return void this.renamePromptVariables(); - if (this.isBuilderMode && this.builder && this.builder.replaceUsages(e3, t3, i3), !this.text) return; - let n3 = this.text; - const r3 = e3.toLowerCase(), o2 = this._parseResult ? this._parseResult.resultExpression : this.isVariableMode ? this.config : void 0; - o2 && (this.isVariableMode ? (function(e4) { - const i4 = e4.getText(), o3 = (i4 ? i4.toLowerCase() : void 0).split(/([a-zA-Z0-9]*.[a-zA-Z0-9]*)[.\[]/gm).filter(Boolean); - 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, 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, c2; - })(o2)), this.setText(n3, true); + get flowTypes() { + return this._flowTypes; } - search(e3) { - e3.checkText(this, this.text, this.label); + 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; + }); } - setParseResult(e3) { - 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 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; + 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; } - setParseError(e3) { - this._setParseResultMessage(e3, k.ParseResultTypes.error); + 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; } - setParseAndValidationError(e3, t3) { - this.setParseError(e3), t3.addError(this, e3, false, true); + _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; } - setParseWarning(e3) { - this._setParseResultMessage(e3, k.ParseResultTypes.warn); + } + t2.default = d, r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Boolean), r.__metadata("design:paramtypes", [Boolean])], d.prototype, "isAvailable", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== a.default && a.default) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== a.default && a.default) ? o : Object])], d.prototype, "value", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "flowTypes", null); + }, 8855(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(19596), r = i2(80295), a = i2(80295); + class s extends o.DataContract { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_integerValue"), (0, a.makeUnenumerable)(this, "_stringValue"); } - setLiteralError(e3) { - if (this.isLiteralMode) return this._hasLiteralError = e3, e3; - console.error("Tried to set a literal error on a non-literal expression: " + this.id); + get integerValue() { + return this._integerValue; + } + set integerValue(e3) { + this._integerValue = e3; + } + get stringValue() { + return this._stringValue; } - get suppressResetOnTextChange() { - return false; + set stringValue(e3) { + this._stringValue = e3; } - setText(e3, t3, i3, n3, r3, a2) { - if (o.default.isNullOrUndefined(n3) || (this.mode = n3), this.model.text === e3 && this.config && !i3) return; - this.suppressResetOnTextChange || this._reset(); - const s2 = this.model.text; - o.default.isString(e3) ? this.model.text = e3 : this.model.text = e3 || o.default.isActualNumber(e3) || o.default.isBoolean(e3) ? e3.toString() : e3, this.parentFlow && this.parentFlow.loaded ? this.processText(t3, a2) : this.parentFlow || this.processText(t3, a2), this.isLiteralMode && this._executeCallbacks(this.valueChangedCallbacks, "valueChangedCallbacks"), (s2 !== this.model.text || i3) && g.fireEvent(this, p.expressionValueChanged); + } + t2.default = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "integerValue", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "stringValue", null); + }, 55015(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = (n2.__importStar(i2(12847)), i2(4648), i2(80295)), r = i2(80295), a = i2(19596); + class s extends a.DataContract { + static createNotAvailable(e3 = "") { + return new s({ isAvailable: false, id: e3 }); } - toNumber() { - return this.isLiteralMode ? this.type.toNumber(this.text) : 0; + static createAvailable(e3 = "") { + return new s({ isAvailable: true, id: e3 }); } - updateSecureUsage(e3, t3) { - var i3, n3, r3; - 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) : O.validateNode(this.parent))) : this.processText(true)); - } + static updateDebugAvailability(e3) { } - get updateTime() { - return 500; + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_isAvailable"), (0, r.makeUnenumerable)(this, "_id"), (0, r.makeUnenumerable)(this, "_unavailableReason"), (0, r.makeUnenumerable)(this, "_ownerId"); } - validate(e3) { - 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); + setOwnerId(e3) { + this._ownerId = e3; } - get runtimeConsumingFlowTypes() { - var e3; - return (null === (e3 = this.supportedFlowTypes) || void 0 === e3 ? void 0 : e3.length) ? o.default.intersection(this.parentFlow.destinationFlowTypes, this.supportedFlowTypes) : this.parentFlow.destinationFlowTypes; + get id() { + return this._id; } - get dependencies() { - return this.model.dependencies; + set id(e3) { + this._id = e3; } - set dependencies(e3) { - this.model.dependencies = e3; + get isAvailable() { + return this._isAvailable; } - get isProcessingText() { - return this.isSearchingServer || this._throttledParseQueued; + set isAvailable(e3) { + this._isAvailable = e3; } - doConfigCheck(e3) { - this.outOfService || this.hasError || this.hasConfig || this._handleNoConfigAtEndOfValidation(e3); + get unavailableReason() { + return this._unavailableReason; } - toString() { - var e3; - return `${super.toString()} - type:${null === (e3 = this.type) || void 0 === e3 ? void 0 : e3.dataType}`; + set unavailableReason(e3) { + this._unavailableReason = e3; } } - t2.BaseExpression = H; - }, 46824: (e2, t2, i2) => { + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "isAvailable", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "unavailableReason", null); + }, 83735(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), c = i2(47957), d = i2(58300), p = i2(27862); - class _ extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.bridgeActionView; - } - get dependencyType() { - return p.BridgeServer; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(23488)), r = 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 r.DataContract { + constructor(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); } - _createItemViewModel(e3) { - return new o.BridgeServerAction(e3); + get actions() { + return this._actions; } - additionalItemFilter(e3) { - return this._filterActionList(e3); + set actions(e3) { + this._actions = this.reviveMap(e3, o.default, true); } - get canLoadMore() { - return this.isSearching ? this.currentSearchItems.length >= this.defaultPageSize * this.lastRetrievedPage : Object.keys(this.items).length >= this.defaultPageSize * this.lastRetrievedPage; + get dataTypes() { + return this._dataTypes; } - _filterAction(e3) { - return !(!e3.published || !e3.requests) && r2.default.filter(e3.requests, this._filterRequest.bind(this)).length > 0; + set dataTypes(e3) { + this._dataTypes = this.reviveMap(e3, a.default); } - _filterActionList(e3) { - if (!e3 || 0 === e3.length) return []; - const t3 = r2.default.where(e3, { published: true }), i3 = r2.default.filter(t3, this._filterAction.bind(this)); - return this.filteredOutItemCount += t3.length - i3.length, i3; + get dependencyTypes() { + return this._dependencyTypes; } - _filterRequest(e3) { - return "rest" === e3.format.toLowerCase() && !(this._hasComplexProperty(e3.inputSchema.properties) || this._hasComplexProperty(e3.successSchema.properties)); + set dependencyTypes(e3) { + this._dependencyTypes = this.reviveMap(e3, s.default, true); } - _hasComplexProperty(e3) { - if (e3) { - for (const t3 in e3) if (e3.hasOwnProperty(t3)) { - const i3 = e3[t3]; - if ("object" === i3.type) return true; - if ("array" === i3.type) { - if ("object" === i3.items.type || "array" === i3.items.type) return true; - if (i3.items && r2.default.isArray(i3.items.type) && this._hasComplexProperty(i3.items.type)) return true; - } - } - } - return false; + get features() { + return this.featureConfigs; } - getCategoryForAction(e3, t3) { - if (t3) { - const e4 = r2.default.findWhere(this.items, { actionId: t3 }); - if (e4) return e4.category; - } - const i3 = r2.default.findWhere(this.items, { name: e3 }); - return i3 ? i3.category : null; + set features(e3) { + this.featureConfigs = e3; } - constructor() { - 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(); + get featureConfigs() { + return this._featureConfigs; } - } - t2.BridgeServerManager = _, t2.bridgeServerManager = new _(); - }, 46894: (e2, t2, i2) => { - "use strict"; - var n2 = i2(29907), r2 = 0; - !n2.isMaster && n2.worker && (r2 = n2.worker.id), e2.exports = parseInt(process.env.NODE_UNIQUE_ID || r2, 10); - }, 46920: (e2, t2, i2) => { - "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, v[e3.instanceId], t3); - }, t2.exportFlowAsync = function(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - let n3; - i3 || (yield e3.queuedAsyncValidate().catch(function(e4) { - this.logErrorAndThrow("validateAsync - async flow operation manager validate failed.\n" + e4); - })), t3 = null != t3 ? t3 : p.FlowExportSettings.createForArchitectFormat(); - let r3 = k(e3, false, t3); - if (!r3) return; - r3 = yield e3.preExport(r3, t3); - const o2 = x(e3, t3.isFormatYaml); - 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 v[e3.instanceId]; - }, t2.getConfiguration = k, t2.hasChanged = function(e3) { - if (!O[e3.instanceId]) return !!e3; - const t3 = C(P(k(e3, true, N))); - return !a.default.isEqual(P(C(O[e3.instanceId])), P(t3)); - }, t2.tryLoadConfig = function(e3, t3) { - const i3 = r2.default.defer(); - try { - b(e3, t3) ? E(e3, t3, false).then(function() { - i3.resolve(); - }, function(t4) { - h.emitter.emit(h.flowLoadFailed, e3, y.flow.operations.load.failure), i3.reject(t4); - }) : (h.emitter.emit(h.flowLoadFailed, e3, y.flow.operations.load.versionFailureMessage), i3.reject("Flow config not compatible")); - } catch (t4) { - h.emitter.emit(h.flowLoadFailed, e3, y.flow.operations.load.failure), i3.reject(t4); + set featureConfigs(e3) { + this._featureConfigs = this.reviveMap(e3, u.default, true); } - return i3.promise; - }, t2.loadConfigForEmbedding = function(e3, t3) { - return b(e3, t3) ? E(e3, t3, true, true) : r2.default.reject("Flow config not compatible"); - }, t2.loadTemplate = function(e3, t3) { - const i3 = r2.default.defer(); - if (t3) try { - E(e3, t3, false).then(function() { - i3.resolve(e3); - }, function(e4) { - i3.reject(e4); - }); - } catch (t4) { - e3.topic.exception(t4, "Error while trying to save"), i3.reject(t4); + get featureSupport() { + return this._featureSupport; } - 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), 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, I) : e3 : null; - } - function b(e3, t3) { - const i3 = t3.flowMetaData.flowDocumentVersion; - return !!A.canAppSupport(i3) || (e3.topic.error("The flow version ({}) is higher than the UI version ({})", i3, A.currentVersion), false); - } - function E(e3, t3, i3, n3) { - const o2 = r2.default.defer(); - let s2; - try { - s2 = e3.loaded, e3.loaded = false, n3 || (s2 ? h.emitter.emit(h.cleanUpFlow, e3) : h.emitter.emit(h.flowLoadStarted, e3)), e3.loadConfiguration(t3), L(e3), _.default.initializeDesignTimeAndValidate(e3).then(function() { - e3.isDestroyed ? o2.reject() : (i3 || M(e3), o2.resolve()); - }).catch(function(t4) { - e3.topic.errorPromise(t4, "Error occurred when initializing design time"), o2.reject(t4); - }); - } catch (t4) { - e3.topic.exception(t4, "Error while trying to load configuration"), a.default.isBoolean(s2) && (e3.loaded = s2), o2.reject(); + set featureSupport(e3) { + this._featureSupport = this.reviveItem(e3, c.default); } - return o2.promise; - } - function w(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - let n3 = {}; - try { - let s2 = (function(e4) { - if (!e4) return null; - if (!a.default.isString(e4)) return e4; - let t4; - try { - t4 = decodeURIComponent((0, l.toBinary)(e4)), t4 = C(t4); - } catch (i4) { - t4 = C(e4); - } - return t4; - })(t3); - if (i3 && s2.type && i3 !== s2.type) { - const e4 = m.default.getFlowTypeDisplayName(i3); - throw (0, o.sprintf)(y.flow.operations.load.typeFailureMessage, e4); - } - if (!b(e3, s2)) throw y.flow.operations.load.versionFailureMessage; - e3.isImporting = true, h.emitter.emit(h.flowImportStarted), n3 = yield e3.preImport(s2); - 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 = 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, 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) { - let e4 = ""; - throw a.default.each(u2.conflictVariables, function(t4) { - e4 += (0, o.sprintf)(" { %1$s - %2$s } ", t4.displayName, t4.errorMessage); - }), { title: y.flow.operations.load.importFailed, failures: u2.conflictVariables, extraColumns: [{ field: "errorMessage", name: y.generic.branches.error }], text: e4, bulk: true }; - } - if (s2.variables = u2, s2 = (function(e4, t4) { - let i4 = null; - try { - i4 = e4.createFlowConfiguration(t4); - } catch (t5) { - e4.topic.exception(t5, "Error while trying to create flow model"); - } - return i4; - })(e3, s2), !s2) throw y.flow.operations.load.serverFailureMessage; - yield E(e3, s2, true), yield e3.postImport(n3, false, r3), e3.loaded = true; - } catch (t4) { - if (e3.topic.warningWithStack(t4, "failure during flow import"), a.default.isString(t4) || a.default.isObject(t4) && t4.hasOwnProperty("bulk")) throw t4; - throw y.flow.loadFailed; - } finally { - e3.isImporting = false; - } - }); - } - const R = ["_autoCleanedUpSinks", "_path", "_outOfService", "_partAndPartsOutOfService"]; - function D(e3, t3) { - let i3 = t3; - 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 || !v[e3.instanceId]) { - const t4 = k(e3, true, null); - v[e3.instanceId] = P(t4); - const i3 = k(e3, true, N); - O[e3.instanceId] = P(i3); + get functions() { + return this._functions; } - 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 v[e3.instanceId], delete O[e3.instanceId]); - } - function x(e3, t3) { - const i3 = e3.displayName + e3.versions.getVersionExtension(); - let n3; - return n3 = t3 ? i3 + ".yaml" : i3 + m.default.getFileExtensionForFlowType(e3.type), n3; - } - function k(e3, i3, n3) { - let r3 = null; - try { - r3 = (function(e4, i4, n4) { - let r4 = e4.createFlowConfiguration(null, n4); - return e4.buildConfiguration(r4, i4, n4), (null == n4 ? void 0 : n4.isForFlowYaml) ? (r4 = s.default.sortObjectByPropertyMap(r4, t2.yamlPropertyOrderMap), a.default.tryWrapObject(r4, e4.wrappedYamlName)) : r4; - })(e3, i3, n3); - } catch (t3) { - e3.topic.exception(t3, "There was an error getting the flow configuration"); + set functions(e3) { + this._functions = this.reviveMap(e3, p.default, true); } - return r3; - } - function V(e3, t3, i3, n3, r3) { - const o2 = !i3; - 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, 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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get flowTypes() { + return this._flowTypes; } - get _globalTypeName() { - return "journeyActionMap"; + set flowTypes(e3) { + l.expandFlowTypeMapAsync(e3, (e4) => { + this._flowTypes = this.reviveMap(e4, d.default, true); + }); } - get id() { + get languages() { + return this._languages; } - get version() { + set languages(e3) { + this._languages = this.reviveMap(e3, _.default, true); } - get displayTypeName() { - return "ArchValueJourneyActionMap"; + get expansionsFlowTypes() { + return this._expansionsFlowTypes; } - get isArchValueJourneyActionMap() { - return true; + set expansions(e3) { + 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 = r2; - }, 47e3: (e2, t2, i2) => { + t2.default = m; + }, 41757(e2, t2, i2) { "use strict"; var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(46210)), a = i2(30801), s = i2(8625); - class l extends o.default { + const o = i2(31635), r = o.__importDefault(i2(55015)), a = i2(19596), s = i2(80295), l = i2(80295); + class u extends a.DataContract { constructor(e3) { - super(e3), n2.set(this, void 0), this._agentManager = s.dialogflowAgentManager, r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.intentProbability), "f"); + super(e3), (0, l.makeUnenumerable)(this, "_availability"), (0, l.makeUnenumerable)(this, "_dataTypeId"), (0, l.makeUnenumerable)(this, "_description"), (0, l.makeUnenumerable)(this, "_facets"), (0, l.makeUnenumerable)(this, "_isCollection"), (0, l.makeUnenumerable)(this, "_name"), this._availability || (this._availability = r.default.createAvailable("availability")); } - get _actionTypeId() { - return a.dialogflowActionType; + get availability() { + return this._availability; } - addSessionVariableOutputNameValuePair(e3, t3) { - return this._addSessionVariableOutputNameValuePair(e3, t3); + set availability(e3) { + this._availability = this.reviveItem(e3, r.default); } - get displayTypeName() { - return this._scriptingName; + get dataTypeId() { + return this._dataTypeId; } - get intentParameters() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + set dataTypeId(e3) { + this._dataTypeId = e3; } - get intentProbability() { - return r2.__classPrivateFieldGet(this, n2, "f"); + get description() { + return this._description; } - get isArchActionCallDialogflowBot() { - return true; + set description(e3) { + this._description = e3; } - get sessionVariableOutputs() { - return this._sessionVariableOutputs; + get facets() { + return this._facets; + } + set facets(e3) { + this._facets = e3; + } + get isCollection() { + return this._isCollection; + } + set isCollection(e3) { + this._isCollection = e3; + } + get name() { + return this._name; + } + set name(e3) { + this._name = e3; } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = l; - }, 47016: (e2, t2, i2) => { + t2.default = u, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], u.prototype, "availability", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "dataTypeId", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "description", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Object), o.__metadata("design:paramtypes", [Object])], u.prototype, "facets", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Boolean])], u.prototype, "isCollection", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "name", null); + }, 40974(e2, t2, i2) { "use strict"; + var n2, o, r; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(83663)), o = n2.__importDefault(i2(78432)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(4648)); - class l extends r2.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), this._coreChoice = 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")); } - get _globalTypeName() { - return "choice"; + get allowCollection() { + return this._allowCollection; } - get command() { - return this._getAssignableProperty("command")._setWritableOverride(true); + set allowCollection(e3) { + this._allowCollection = e3; } - setSkipDisabled(e3) { - if (!a.isFeatureAvailable(s.default.botFlowsSupportDontKnowAnswers)) return; - const t3 = this._getAssignableProperty("command"); - t3 && (t3.outOfService = e3, t3._coreExpression.setUiMetaData("skipDisabled", e3)); + get characteristics() { + return this._characteristics; } - get displayTypeName() { - return "ArchValueChoice"; + set characteristics(e3) { + this._characteristics = e3; } - get logStr() { - return this.logStrTypeOnly; + get direction() { + return this._direction; } - get name() { - const e3 = this._infoPropGet("name"); - if (this.logDeprecatedPropertyWarning(e3, "value", "The name property on ArchValueChoice is for compatibility reasons with ArchChoice but you should now be using the value property on ArchValueChoice instead."), this.value.isLiteral) return this.value.valueText; + set direction(e3) { + this._direction = {}, Object.keys(e3).forEach((t3) => { + "flow" === t3 ? (this._direction.flow = {}, Object.keys(e3.flow).forEach((t4) => { + const i3 = this.reviveMap(e3.flow[t4], l.default); + (_[t4] || [t4]).forEach((e4) => { + this._direction.flow[e4] || (this._direction.flow[e4] = {}); + const t5 = this._direction.flow[e4]; + Object.keys(i3).forEach((n3) => { + t5[n3] ? s.error(`Type: ${this.name} - Duplicate direction availability entry found for ${n3} and ${e4}`) : t5[n3] = i3[n3]; + }); + }); + })) : s.error(`Type: ${this.name} - not expecting key: '${t3}' under direction other than flow`); + }); } - get enabled() { - const e3 = this._infoPropGet("enabled"); - return this.logDeprecatedPropertyWarning(e3, void 0, "an ArchValueChoice is always enabled. Calling this property getter is only here for backwards compatibility with an ArchChoice."), true; + get isAnAnyType() { + return this._isAnAnyType; } - set enabled(e3) { - const t3 = this._infoPropGet("enabled"); - this.logDeprecatedPropertyWarning(t3, void 0, "an ArchValueChoice is always enabled. Calling this property setter does nothing and is only here for backwards compatibility with an ArchChoice."); + set isAnAnyType(e3) { + this._isAnAnyType = this.reviveItem(e3, l.default); } - get label() { - return this._getAssignableProperty("label"); + get isComplex() { + return this._isComplex; } - get value() { - return this._getAssignableProperty("value"); + set isComplex(e3) { + this._isComplex = e3; } - get type() { - return this._getAssignableProperty("type"); + get properties() { + return this._properties || []; } - setTypePostback(e3) { - this._getCoreViewModel().type.setAsPostbackOrUrlValue(o.default.CHOICE_TYPES.postback, this._getCoreViewModel(), e3 || (this.value.isLiteral ? this.value.valueText : void 0)); + set properties(e3) { + this._properties = this.reviveArray(e3, c.default); } - setTypeUrl(e3) { - this._getCoreViewModel().type.setAsPostbackOrUrlValue(o.default.CHOICE_TYPES.url, this._getCoreViewModel(), e3 || (this.value.isLiteral ? this.value.valueText : void 0)); + get userCreatable() { + return this._userCreatable; } - get isArchValueChoice() { - return true; + set userCreatable(e3) { + this._userCreatable = this.reviveItem(e3, l.default); } } - t2.default = l; - }, 47038: (e2, t2, i2) => { + t2.default = h, a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Boolean), a.__metadata("design:paramtypes", [Boolean])], h.prototype, "allowCollection", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "characteristics", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", "function" == typeof (n2 = void 0 !== p && p.IVariableScopeDirectionSupportMap) ? n2 : Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "direction", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", "function" == typeof (o = void 0 !== l.default && l.default) ? o : Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "isAnAnyType", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Boolean), a.__metadata("design:paramtypes", [Boolean])], h.prototype, "isComplex", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", Array), a.__metadata("design:paramtypes", [Object])], h.prototype, "properties", null), a.__decorate([(0, u.enumerable)(true), a.__metadata("design:type", "function" == typeof (r = void 0 !== l.default && l.default) ? r : Object), a.__metadata("design:paramtypes", [Object])], h.prototype, "userCreatable", null); + }, 66973(e2, t2, i2) { "use strict"; + var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(21345)), r2 = i2(30801); - class o extends n2.default { + const o = i2(31635), r = o.__importDefault(i2(55015)), a = i2(19596), s = i2(80295), l = i2(80295); + class u extends a.DataContract { constructor(e3) { - super(e3), this._snippet = this.coreFactory.createArchWrapper(e3.snippet), this._destination = this.coreFactory.createArchWrapper(e3.destination), this._destinationSnippetId = this.coreFactory.createArchWrapper(e3.destinationSnippetId); + super(e3), (0, l.makeUnenumerable)(this, "_availability"), (0, l.makeUnenumerable)(this, "_isVersioned"), (0, l.makeUnenumerable)(this, "_id"); } - get _actionTypeId() { - return r2.submitVoiceSnippetActionType; + get availability() { + return this._availability; } - get snippet() { - return this._snippet; + set availability(e3) { + this._availability = this.reviveItem(e3, r.default); } - get destination() { - return this._destination; + get id() { + return this._id; } - get displayTypeName() { - return "ArchActionSubmitVoiceSnippet"; + set id(e3) { + this._id = e3; } - get isArchActionSubmitVoiceSnippet() { - return true; + get isVersioned() { + return this._isVersioned; } - get destinationSnippetId() { - return this._destinationSnippetId; + set isVersioned(e3) { + this._isVersioned = e3; } } - t2.default = o; - }, 47040: (e2, t2, i2) => { + t2.default = u, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], u.prototype, "availability", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], u.prototype, "id", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Boolean])], u.prototype, "isVersioned", null); + }, 14166(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); - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(55015)); + class o extends n2.default { + constructor(e3) { + super(e3); } - }; - 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)); + static createNotAvailable(e3 = "") { + return new o({ isAvailable: false, id: e3 }); + } + static createAvailable(e3 = "") { + return new o({ isAvailable: true, id: e3 }); } - return t3; } - }, 47058: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.from = void 0; - var n2 = i2(30131), r2 = i2(19724); - t2.from = function(e3, t3) { - return t3 ? n2.scheduled(e3, t3) : r2.innerFrom(e3); - }; - }, 47101: (e2, t2, i2) => { + t2.default = o; + }, 94164(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), 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 d.BasedOnChoicesType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "CardType"; - } - canConvertLitToExpression(e3) { - return false; - } - convertLitToExpression(e3, t3, i3) { - return ""; - } - createExpressionOptionClass() { - return new o.ExpressionTypeCardOptions(); - } - get supportsLiteralEditor() { - return true; - } - containsSkipChoice(e3) { - var i3, n3; - return ((null === (n3 = null === (i3 = e3.getProperty(t2.PROP_BUTTONS)) || void 0 === i3 ? void 0 : i3.collectionItems) || void 0 === n3 ? void 0 : n3.items) || []).some((e4) => e4.type.isSkipChoice(e4)); - } - getSkipChoiceButton(e3) { - var i3, n3; - return ((null === (n3 = null === (i3 = e3.getProperty(t2.PROP_BUTTONS)) || void 0 === i3 ? void 0 : i3.collectionItems) || void 0 === n3 ? void 0 : n3.items) || []).find((e4) => e4.type.isSkipChoice(e4)); - } - getPropButtons(e3) { - return e3.getProperty(t2.PROP_BUTTONS); - } - getPropTitle(e3) { - return e3.getProperty(t2.PROP_TITLE); - } - getPropImage(e3) { - return e3.getProperty(t2.PROP_IMAGE); - } - getPropDescription(e3) { - return e3.getProperty(t2.PROP_DESCRIPTION); - } - _processButtons(e3, i3, n3) { - var o2; - if (!e3) return; - const a2 = e3.getProperty(t2.PROP_BUTTONS, true), s2 = this.containsSkipChoice(e3); - a2 && (i3 || !a2.outOfService || s2) && r2.default.each(null === (o2 = a2.collectionItems) || void 0 === o2 ? void 0 : o2.items, (e4) => { - try { - n3(e4); - } catch (e5) { - } - }); - } - removeInvalidNluDiffButtonChoices(e3, t3, i3) { - var n3; - if (!e3 || !t3) return; - const r3 = null === (n3 = e3.type.getPropButtons(e3)) || void 0 === n3 ? void 0 : n3.collectionItems; - if (!r3) return; - let o2 = false; - for (let e4 = r3.items.length - 1; e4 >= 0; e4--) { - const n4 = r3.items[e4]; - n4.type.isInvalidNluChoice(n4, t3) && (i3 && (i3.invalidSlotTypeValuesRemoved || (i3.invalidSlotTypeValuesRemoved = []), i3.invalidSlotTypeValuesRemoved.push(n4.type.getManagedSlotTypeValue(n4))), r3.removeChild(n4), o2 = true); - } - return o2 ? { cardChoicesAreEmpty: o2 } : void 0; + var n2, o; + Object.defineProperty(t2, "__esModule", { value: true }); + const r = i2(31635), a = i2(19596), s = i2(80295), l = i2(80295), u = i2(75800); + 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"); } - canUserDelete(e3) { - return this.getPossibleChoices(e3).every((e4) => e4.type.canUserDelete(e4)); + get textToSpeech() { + return this._textToSpeech; } - 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(c.globalTypes.carousel, s.settings.exact)) return true; + set textToSpeech(e3) { + this._textToSpeech = e3; } - deleteChoiceAtIndex(e3, t3) { - return this.deleteButtonsChoiceAtIndex(e3, t3); + get speechToText() { + return this._speechToText; } - validateLiteral(e3, t3) { - return this.validateDuplicates(e3, t3) && super.validateLiteral(e3, t3); + set speechToText(e3) { + this._speechToText = e3; } - getPossibleChoices(e3, t3, i3) { - const n3 = []; - return e3 ? (this._processButtons(e3, i3, (e4) => { - t3 && !e4.type.isPostbackChoice(e4) || n3.push(e4); - }), n3) : n3; + get naturalLanguageUnderstanding() { + return this._naturalLanguageUnderstanding; } - isUnknownAtDesignTime(e3) { - if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; - const i3 = e3.getProperty(t2.PROP_BUTTONS, true); - return !i3 || i3.outOfService; + set naturalLanguageUnderstanding(e3) { + this._naturalLanguageUnderstanding = e3; } - getHasAtLeastOnePostbackChoice(e3) { - var i3; - if (this.isUnknownAtDesignTime(e3)) return; - const n3 = e3.getProperty(t2.PROP_BUTTONS, true); - if (!n3 || n3.outOfService) return; - let o2, a2; - return r2.default.find(null === (i3 = n3.collectionItems) || void 0 === i3 ? void 0 : i3.items, (e4) => { - const t3 = e4.type.getHasPostbackValue(e4); - if (t3) return a2 = true, e4; - (r2.default.isUndefined(t3) || e4.type.isUnknownAtDesignTime(e4)) && (o2 = true); - }), !!a2 || !!o2 && void 0; + get workitems() { + return this._workitems; } - getPossibleChoiceCount(e3, t3, i3) { - let n3 = 0; - return e3 && this._processButtons(e3, i3, (e4) => { - t3 && !e4.type.isPostbackChoice(e4) || (n3 += 1); - }), n3; + set workitems(e3) { + this._workitems = e3; } - couldHaveUnknownPostbackValue(e3) { - if (!e3 || e3.outOfService) return false; - if (!e3.isLiteralMode) return true; - const i3 = e3.getProperty(t2.PROP_BUTTONS, true); - return !i3 || !!r2.default.find(i3.collectionItems.items, (e4) => e4.type.couldHaveUnknownPostbackValue(e4)); + } + t2.default = c, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], c.prototype, "textToSpeech", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], c.prototype, "speechToText", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== u.INaturalLanguageUnderstandingData && u.INaturalLanguageUnderstandingData) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== u.INaturalLanguageUnderstandingData && u.INaturalLanguageUnderstandingData) ? o : Object])], c.prototype, "naturalLanguageUnderstanding", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], c.prototype, "workitems", null); + }, 95079(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(55015)), a = o.__importStar(i2(74731)), s = o.__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"); } - createCard(e3, i3, n3) { - const o2 = e3.collectionItems.createItem(null, null, e3.options); - return r2.default.isString(i3) && o2.getProperty(t2.PROP_TITLE).setAsLiteral(i3), r2.default.isString(n3) && o2.getProperty(t2.PROP_DESCRIPTION).setAsLiteral(n3), o2; + get flowTypes() { + return this._flowTypes; } - _ensureButtonsIsLiteral(e3, i3, n3) { - const r3 = e3.getProperty(t2.PROP_BUTTONS); - if (r3) { - if (r3.mode !== l.literal) { - if (!i3) return; - r3.mode = l.literal, r3.removeAll(); - } - if (!(n3 && r3.collectionItems.items.length >= f)) return r3; - } + set flowTypes(e3) { + this._reviveFlowTypeMap(e3, "_flowTypes"); } - addChoiceForPostbackValue(e3, t3, i3, n3) { - if (!e3 || e3.outOfService || !e3.isLiteralMode || !t3) return; - const r3 = this._ensureButtonsIsLiteral(e3, n3, true); - if (!r3) return; - const o2 = p.ChoiceType.createPostbackChoice(t3, i3, e3.parentFlow, e3.parent); - return r3.collectionItems.addItem(o2), o2; + _reviveFlowTypeMap(e3, t3) { + a.expandFlowTypeMapAsync(e3, (e4) => { + this[t3] = this.reviveMap(e4, r.default, true); + }); } - addChoiceClonedFromChoice(e3, t3, i3) { - if (!e3 || e3.outOfService || !e3.isLiteralMode || !t3) return; - const n3 = this._ensureButtonsIsLiteral(e3, i3, true); - if (!n3) return; - const r3 = t3.tempClone(); - return n3.collectionItems.addItem(r3), r3; + } + t2.default = d, o.__decorate([(0, l.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== s && s.IAvailabilitySupportMap) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "flowTypes", null); + }, 14e3(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(55015)), r = i2(80295); + class a extends o.default { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_moreThanOneLanguage"); } - updateAllowableValues(e3, t3) { - this._processButtons(e3, false, (e4) => { - e4.type.updateAllowableValues(e4, t3); - }); + get moreThanOneLanguage() { + return this._moreThanOneLanguage; } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_IMAGE: - n3.options.setIsOptional(true), n3.options.setModeNoValueRuntimeEvaluationStr(g.cardsAndCars.cardType.noImageRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(g.cardsAndCars.cardType.noImage), n3.options.setDefaultToNoValue(true), n3.options.setIninTestingField("card-image"); - break; - case t2.PROP_TITLE: - n3.options.setModeNoValueRuntimeEvaluationStr(g.cardsAndCars.cardType.noTitleRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(g.cardsAndCars.cardType.noTitle), n3.options.setDoNotTransitionToNoValue(true), n3.options.setIninTestingField("card-title"); - break; - case t2.PROP_DESCRIPTION: - n3.options.setIsOptional(true), n3.options.setModeNoValueRuntimeEvaluationStr(g.cardsAndCars.cardType.noDescriptionRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(g.cardsAndCars.cardType.noDescription), n3.options.setDoNotTransitionToNoValue(true), n3.options.setIninTestingField("card-description"); - break; - case t2.PROP_BUTTONS: - n3.options.setIninTestingField("card-buttons"), n3.options.setValueChangedCallback((e4) => { - const t3 = null == e4 ? void 0 : e4.propertyParent; - t3 && this._updateCardPropertiesOOS(t3); - }); - } + set moreThanOneLanguage(e3) { + this._moreThanOneLanguage = e3; } - get hasRichLiteralEditor() { - return true; + } + t2.default = a, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], a.prototype, "moreThanOneLanguage", null); + }, 88417(e2, t2, i2) { + "use strict"; + var n2, o, r, a; + Object.defineProperty(t2, "__esModule", { value: true }); + 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"); } - _hasDisabledSkipChoice(e3) { - var t3; - const i3 = this.getPropButtons(e3); - if (!(null == i3 ? void 0 : i3.isLiteralMode)) return false; - const n3 = (null === (t3 = i3.collectionItems) || void 0 === t3 ? void 0 : t3.items) || []; - for (const e4 of n3) if (e4.type.isSkipDisabled(e4)) return true; - return false; + get components() { + return this._components; } - getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { - if (this._hasDisabledSkipChoice(e3)) { - const n4 = new m.default(); - return n4.serializeOutOfService = true, super.getYamlObjectForLiteralSingleton(e3, t3, i3, n4); - } - return super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3); + set components(e3) { + this._components = e3; } - _updateCardPropertiesOOS(e3) { - var t3; - if (!(null == e3 ? void 0 : e3.isLiteralMode)) return; - const i3 = this.getPropImage(e3); - if (!i3) return; - const n3 = this.getPropButtons(e3); - if (!n3 || !n3.isLiteralMode) return; - let r3 = false; - const o2 = (null === (t3 = n3.collectionItems) || void 0 === t3 ? void 0 : t3.items) || []; - for (const e4 of o2) if (e4.type.isSkipDisabled(e4)) { - r3 = true; - break; - } - this.getPropTitle(e3).outOfService = r3, this.getPropDescription(e3).outOfService = r3, i3.outOfService = r3, n3.outOfService = r3; + get supportsLanguages() { + return this._supportsLanguages; } - handleSkipItem(e3) { - const t3 = this.getSkipChoiceButton(e3), i3 = this.isCarouselLimitExceeded(e3); - t3 && !t3.type.isSkipDisabled(t3) && i3 && (t3.type.setSkipDisabled(t3, true), (0, _.fireEvent)(t3, h.expressionValueChanged), this._updateCardPropertiesOOS(e3)); - const n3 = !t3 || !t3.type.isSkipDisabled(t3); - return { isSkipChoice: !!t3, skipEnabled: n3, isLimitExceeded: i3 }; + set supportsLanguages(e3) { + this._supportsLanguages = this.reviveItem(e3, c.default); } - updateSkipToggle(e3, t3) { - var i3, n3, r3, o2; - this.isCarouselLimitExceeded(e3) || (null === (o2 = null === (r3 = null === (n3 = null === (i3 = null == e3 ? void 0 : e3.properties) || void 0 === i3 ? void 0 : i3.buttons) || void 0 === n3 ? void 0 : n3.collectionItems) || void 0 === r3 ? void 0 : r3.items) || void 0 === o2 || o2.forEach((e4) => { - e4.type.setSkipDisabled(e4, !t3), (0, _.fireEvent)(e4, h.expressionValueChanged); - }), this._updateCardPropertiesOOS(e3)); + get userCreatable() { + return this._userCreatable; } - isCarouselLimitExceeded(e3) { - var t3, i3, n3, r3, o2, s2, l2, u2; - return !!this.isInCarousel(e3) && (null === (u2 = null === (l2 = null === (s2 = null === (o2 = null === (r3 = null === (n3 = null === (i3 = null === (t3 = null == e3 ? void 0 : e3.parent) || void 0 === t3 ? void 0 : t3.chooser) || void 0 === i3 ? void 0 : i3.properties) || void 0 === n3 ? void 0 : n3.carousel) || void 0 === r3 ? void 0 : r3.properties) || void 0 === o2 ? void 0 : o2.cards) || void 0 === s2 ? void 0 : s2.collectionItems) || void 0 === l2 ? void 0 : l2.items) || void 0 === u2 ? void 0 : u2.length) > a.dataTypeLimits.carouselDataType.properties.cards.maxItems.count; + set userCreatable(e3) { + this._userCreatable = e3; } - useCustomExpressionEditor(e3) { - if (null == e3 ? void 0 : e3.parentList) return true; + get maxSize() { + return this._maxSize; + } + set maxSize(e3) { + this._maxSize = e3; } } - t2.CardType = T, T.typeIdentifier = u.expressionTypeNames.card; - }, 47140: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { voiceBiometricsActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _confidence: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.confidence.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.confidence.pasteResolveOldToNewValues(e3); - } }, confidence: { enumerable: true, get: function() { - return this._confidence; - }, set: function(e3) { - this._confidence = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 47163: (e2, t2, i2) => { + 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 (o = void 0 !== c.default && c.default) ? o : Object])], d.prototype, "supportsLanguages", null), s.__decorate([(0, u.enumerable)(true), s.__metadata("design:type", "function" == typeof (r = void 0 !== l.default && l.default) ? r : 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); + }, 47782(e2, t2, i2) { "use strict"; + var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(57606)), o = n2.__importDefault(i2(97883)), a = i2(47957), s = i2(3916); - class l extends o.default { + const o = i2(31635), r = i2(80295), a = i2(19596), s = i2(80295), l = o.__importDefault(i2(95079)), u = o.__importStar(i2(75800)); + class c extends a.DataContract { constructor(e3) { - super(e3); + super(e3), (0, s.makeUnenumerable)(this, "_id"), (0, s.makeUnenumerable)(this, "_overloads"); } - _initializeDesignTime() { - super._initializeDesignTime(), this._initializeErrorBindings(); + get id() { + return this._id; } - _initializeErrorBindings() { - this._createErrorSchema().properties.forEach((e3) => { - let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); - t3 || (t3 = s.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), s.setExpressionWithSchemaProperty(t3.value, e3); - }); + set id(e3) { + this._id = e3; } - _createErrorSchema() { - const e3 = new r2.default({ properties: { errorType: { type: "string", description: a.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: a.errorSchema.errorMessageDescription } } }, false), t3 = this._getPossibleErrors(); - return t3 && t3.length && e3.setErrorTypeAllowableValues(t3.sort()), e3; + get overloads() { + return this._overloads; } - static get managedProperties() { - return [{ dataList: true, label: a.inputOutputList.failureOutputs, isOutput: true, property: "errorBindings", yamlOptions: l.createYamlOptions("errorBindings", (e3) => e3.setPropertyName("failureOutputs").setExportOrder(120)) }]; + set overloads(e3) { + this._overloads = this.reviveMap(e3, l.default, true); } - _getPossibleErrors() { - return null; + } + t2.default = c, o.__decorate([(0, r.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], c.prototype, "id", null), o.__decorate([(0, r.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== u && u.IFlowTypeAvailabilityContainerMap) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "overloads", null); + }, 69796(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(47782)); + class o extends n2.default { + constructor(e3) { + super(e3); } } - l.className = "BaseActionNoInputNoMatchWithFailureOutputsViewModel", t2.default = l; - }, 47222: (e2, t2) => { + t2.default = o; + }, 29463(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.LanguageVersionsUtil = void 0, t2.LanguageVersionsUtil = class { - static ensureLanguageVersions(e3, t3) { - if (!e3) return e3; - if (!Array.isArray(t3)) return e3; - const i2 = e3.languageVersions || {}, n2 = t3.filter((t4) => t4.toLowerCase() !== e3.language.toLowerCase()).reduce((e4, t4) => Object.assign(Object.assign({}, e4), { [t4.toLowerCase()]: i2[t4] || "" }), {}); - return e3.languageVersions = n2, e3; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(55015)); + class a extends r.default { + constructor(e3) { + super(e3), (0, o.makeUnenumerable)(this, "_language"), this.isAvailable = !!this.language; } - }; - }, 47233: (e2, t2, i2) => { + get language() { + return this._language; + } + set language(e3) { + this._language = e3; + } + } + t2.default = a, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "language", null); + }, 74384(e2, t2, i2) { "use strict"; - 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 c extends a.DataContract { + var n2, o, r, a; + Object.defineProperty(t2, "__esModule", { value: true }); + 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, "_field"), (0, u.makeUnenumerable)(this, "_value"), (0, u.makeUnenumerable)(this, "_condition"); + 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"); } - pasteReIdOrRename(e3) { - var t3; - super.pasteReIdOrRename(e3), null === (t3 = this._value) || void 0 === t3 || t3.pasteReIdOrRename(e3); + get debug() { + return this._debug; } - pasteResolveOldToNewValues(e3) { - var t3; - super.pasteResolveOldToNewValues(e3), null === (t3 = this._value) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); + set debug(e3) { + this._debug = this.reviveMap(e3, p.default); } - get field() { - return this._field; + get contexts() { + return this._contexts; } - set field(e3) { - this._field = e3; + set contexts(e3) { + this._contexts = e3; } - get value() { - return this._value; + get features() { + return this._features; } - set value(e3) { - this._value = this.reviveItem(e3, l.default); + set features(e3) { + const t3 = (e3 = l.default.clone(e3)).textToSpeech; + delete e3.textToSpeech; + const i3 = e3.voicemail; + delete e3.voicemail; + const n3 = e3.knowledgeBase; + delete e3.knowledgeBase, this._features = this.reviveMap(e3, p.default), t3 && t3.engines && (this._features.textToSpeech = { engines: this.reviveMap(t3.engines, m.default, true) }), i3 && (this._features.voicemail = this.reviveMap(i3, p.default)), n3 && (this._features.knowledgeBase = this.reviveItem(n3, h.default)); } - get condition() { - return this._condition; + get functions() { + return this._functions; } - set condition(e3) { - this._condition = e3; + set functions(e3) { + this._functions = this.reviveMap(e3, _.default, true); + } + get isDefault() { + return this._isDefault; + } + set isDefault(e3) { + this._isDefault = e3; } } - 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, 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 && (_ += 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 { - if (!(16 & S)) { - if (64 & S) { - if (32 & S) { - i2.mode = 12; - break e; - } - e3.msg = "invalid literal/length code", i2.mode = 30; - break e; - } - y = m[(65535 & y) + (_ & (1 << S) - 1)]; - continue 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) && (_ += 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) > c && i2.sane) { - e3.msg = "invalid distance too far back", i2.mode = 30; - break e; - } - if (v = 0, O = p, 0 === d) { - if (v += u - S, S < A) { - A -= S; - do { - C[o++] = p[v++]; - } while (--S); - v = o - N, O = C; - } - } else if (d < S) { - if (v += u + d - S, (S -= d) < A) { - A -= S; - do { - C[o++] = p[v++]; - } while (--S); - if (v = 0, d < A) { - A -= S = d; - do { - C[o++] = p[v++]; - } while (--S); - v = o - N, O = C; - } - } - } else if (v += d - S, S < A) { - A -= S; - do { - C[o++] = p[v++]; - } while (--S); - v = o - N, O = C; - } - 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 { - v = o - N; - do { - C[o++] = C[v++], C[o++] = C[v++], C[o++] = C[v++], A -= 3; - } while (A > 2); - A && (C[o++] = C[v++], A > 1 && (C[o++] = C[v++])); - } - break; - } - if (64 & S) { - e3.msg = "invalid distance code", i2.mode = 30; - break e; - } - y = g[(65535 & y) + (_ & (1 << S) - 1)]; - } - } - break; - } - } while (n2 < r2 && o < s); - n2 -= A = h >> 3, _ &= (1 << (h -= A << 3)) - 1, e3.next_in = n2, e3.next_out = o, e3.avail_in = n2 < r2 ? r2 - n2 + 5 : 5 - (n2 - r2), e3.avail_out = o < s ? s - o + 257 : 257 - (o - s), i2.hold = _, i2.bits = h; - }; - }, 47380: (e2, t2, i2) => { - const n2 = i2(59865), { lexActionType: r2 } = i2(30801); - function o() { - 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) => { + 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 (o = void 0 !== g && g.IObjectMap) ? o : Object), s.__metadata("design:paramtypes", [Object])], f.prototype, "contexts", null), s.__decorate([(0, c.enumerable)(true), s.__metadata("design:type", "function" == typeof (r = void 0 !== g && g.ILanguageFeaturesSupportMap) ? r : 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); + }, 17954(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(75599), o = i2(75599), a = i2(5173); - class s extends a.BaseFlowPreviewInstance { - _startPreviewForFlowInfo(e3, t3, i3, a2) { - return n2.__awaiter(this, void 0, void 0, function* () { - let t4; - return t4 = i3 ? yield (0, o.callFlowDebug)(e3.displayName) : yield (0, r2.callFlow)(e3.displayName), null == t4 ? void 0 : t4.id; - }); + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(95079)), a = i2(80295); + class s extends r.default { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_isDefault"), (0, a.makeUnenumerable)(this, "_voices"); } - _isFlowNotificationEventDataForThisPreview(e3, t3) { - return e3 && (null == t3 ? void 0 : t3.conversationId) === e3; + get isDefault() { + return this._isDefault; } - get supportsDebugPublishedPreview() { - return true; + set isDefault(e3) { + this._isDefault = e3; } - get supportsPublishedFlowPreview() { - return true; + get voices() { + return this._voices; } - get supportsPreviewPayload() { - return false; + set voices(e3) { + Array.isArray(e3) ? this._voices = this.reviveArrayToMap(e3, Object) : this._voices = this.reviveMap(e3, Object, true); } } - t2.default = s; - }, 47524: (e2, t2, i2) => { + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "isDefault", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "voices", null); + }, 59578(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.questionTypesAll = t2.readOnlyQuestion = t2.multipleChoiceQuestion = t2.npsQuestion = t2.freeTextQuestion = void 0; - const n2 = i2(47957); - t2.freeTextQuestion = { displayString: n2.voiceSurvey.freeTextQuestionLabel, id: "freeTextQuestion" }, t2.npsQuestion = { displayString: n2.voiceSurvey.npsQuestionLabel, id: "npsQuestion" }, t2.multipleChoiceQuestion = { displayString: n2.voiceSurvey.multipleChoiceQuestionLabel, id: "multipleChoiceQuestion" }, t2.readOnlyQuestion = { displayString: n2.voiceSurvey.readOnlyQuestionLabel, id: "readOnlyQuestion" }, t2.questionTypesAll = [t2.freeTextQuestion, t2.npsQuestion, t2.multipleChoiceQuestion, t2.readOnlyQuestion]; - }, 47532: (e2, t2, i2) => { + t2.actionLimitNames = void 0, t2.actionLimitNames = { fileAttachmentsPerResponseMax: "fileAttachmentsPerResponseMax", invocationsPerFlowMax: "invocationsPerFlowMax", loopCountMax: "loopCountMax", notificationTypeChatInvocationsPerFlowMax: "notificationTypeChatInvocationsPerFlowMax" }; + }, 74731(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), 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.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() { - } - get dependencyType() { + 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) { + c() ? a(e3, t3) : s.push({ unexpandedFlowTypes: e3, callback: t3 }); + }; + const n2 = i2(96618), o = i2(96618), r = i2(96618); + function a(e3, t3) { + try { + const i3 = {}; + e3 && Object.entries(e3).forEach(([e4, t4]) => { + (function(e5) { + const t5 = (0, n2.expandToFlowTypeIds)(e5); + return t5.length > 0 ? t5 : [e5]; + })(e4).forEach((e5) => { + i3[e5] = Object.assign(t4, { id: e5 }); + }); + }), o.flowTypes.flowTypesAll.forEach((e4) => { + i3[e4] || (i3[e4] = { id: e4, isAvailable: false }); + }), t3(i3); + } catch (e4) { + console.error(e4); } - get isConfigurationListManager() { - return true; + } + 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); } - static resetAll() { - y.forEach((e3) => { - e3.resetState(); + } + function c() { + return (0, r.haveOrgFlowTypeExpansionsBeenSet)(); + } + }, 82345(e2, t2, i2) { + "use strict"; + 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); } - _createWrapper(e3, t3, i3) { - return { data: e3, description: t3.description, type: i3 || t3.type, enumValues: t3.enumValues, required: t3.required }; + }; + const n2 = i2(31635).__importStar(i2(96618)); + }, 75800(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 82675(e2, t2, i2) { + "use strict"; + t2.ConversationCustomAttributeSchema = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(84050); + class s extends a.NameIdDescriptionModel { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_version"), (0, r.makeUnenumerable)(this, "_enabled"), (0, r.makeUnenumerable)(this, "_jsonSchema"); } - _initialize() { - this.__initialized || (this._registerWithManifest(), this.briefManager && (this.briefManager.fullManager = this), this.dependencyType && (this.dependencyType.configurationListManager = this), this.__initialized = true); + get name() { + var e3; + return (null === (e3 = this.jsonSchema) || void 0 === e3 ? void 0 : e3.title) || super.name; } - get _networkModel() { - return this.apiCallSingle && this.apiCallSingle.api ? this.apiCallSingle.api.DataContract : void 0; + set name(e3) { + super.name = e3; } - _registerWithManifest() { - 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)); + get version() { + return this._version; } - addItem(e3, t3, i3) { - 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 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 (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[l2] || (this.items[l2] = e3), this.items[l2]; + set version(e3) { + this._version = e3; } - _createItemViewModel(e3) { - return e3; + get enabled() { + return this._enabled; } - addClipboardDependencies(e3, t3, i3) { - if (!o.default.isString(this.uiMetadataSectionName)) return; - if (!o.default.isString(t3) || 0 === t3.length) return; - if (!o.default.isObject(i3)) return; - const n3 = i3.getUiMetadataInfoById(this.uiMetadataSectionName, t3); - n3 && e3.copyCutAddDependencyFlowUiMetaData(this.uiMetadataSectionName, t3, n3); + set enabled(e3) { + this._enabled = e3; } - addItemToFlowMetadata(e3, t3, i3) { - if (e3.isReadOnly) return; - if (!this.uiMetadataSectionName) return void p.error(`no uiMetadataSectionName set on ${this.className}`); - const n3 = e3.isFlowViewModel ? e3 : e3.parentFlow; - if (!i3 || !n3) return false; - i3 = this.getCaseSensitiveCompliantId(i3); - const r3 = this._rawServerCache[i3]; - return !!r3 && (n3.getUiMetadataInfoById(this.uiMetadataSectionName, i3) && n3.tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, i3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, true), n3.setUiMetadataInfo(this.uiMetadataSectionName, r3, this.idEquivalent), true); + get jsonSchema() { + return this._jsonSchema; } - areServerItemViewModelsEqual(e3, t3) { - return e3 === t3 || o.default.isEqual(e3.model, t3.model); + set jsonSchema(e3) { + this._jsonSchema = e3; } - get canLoadMore() { - return this.nextUri || this.retrievedUris.length ? !!this.nextUri && !this.retrievedUris.includes(this.nextUri) : this.isSearching ? this.currentSearchItems.length < this.currentSearchTotalOnServer - this.filteredOutItemCount : !o.default.isUndefined(this.lastReceivedAfter) || this.numProcessedServerItems < this.totalItemsOnServer; + } + t2.ConversationCustomAttributeSchema = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "name", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "version", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "enabled", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "jsonSchema", null); + }, 55279(e2, t2, i2) { + "use strict"; + t2.ConversationCustomAttributeSchemaList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(82675); + class s extends r.PagedList { + constructor(e3) { + super(e3); } - fetchItem(e3, t3, i3) { - if (!this.apiCallSingle) { - const e4 = "This list manager has not defined apiCallSingle"; - return this.topic.error(e4), Promise.reject(e4); - } - const n3 = this.fetchRequestPromises.find((i4) => i4.id === e3 && i4.includeDeleted === t3); - if (n3 && n3.promise) return n3.promise; - const r3 = { id: e3, includeDeleted: t3, promise: null }; - return this.fetchRequestPromises.push(r3), r3.promise = this.apiCallSingle(e3, i3).then((t4) => { - if (this.requiredAuth && (this.insufficientAuthorizations = false), o.default.isArray(t4.entities) && 0 === t4.entities.length) { - const e4 = "Item does not exist."; - return Promise.reject(e4); - } - 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._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"); - }), r3.promise; + get entities() { + return this._entities; } - getOrFetchItemWithRetry(e3) { - return n2.__awaiter(this, arguments, void 0, function* (e4, t3 = 3) { - if (!(null == e4 ? void 0 : e4.length)) return; - let i3 = this.getItem(e4) || (yield this.fetchItem(e4)); - if (i3) return i3; - let n3 = 0; - for (; n3 < t3; ) { - if (yield new Promise((e5) => setTimeout(e5, 1e3)), i3 = yield this.fetchItem(e4), i3) return i3; - n3++; - } - this.topic.warning(`getOrFetchItemWithRetry - Could not find item with Id: ${e4} after ${t3} ${1 === t3 ? "retry" : "retries"}.`); - }); + set entities(e3) { + this._entities = this.reviveArray(e3, a.ConversationCustomAttributeSchema); } - get filteredOutItemText() { - return this.shouldRequestAllPages || this.filteredOutItemCount < 1 ? "" : this.filteredOutItemCount > 1 ? (0, r2.sprintf)(m.search.filteredOutItemsMoreThanOne, this.filteredOutItemCount) : m.search.filteredOutItemOne; + } + t2.ConversationCustomAttributeSchemaList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 71538(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(19596), a = i2(80295), s = i2(80295), l = i2(83855), u = i2(83855); + class c extends r.DataContract { + constructor(e3) { + 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"); } - getBriefManagerWithFallback() { - return this.briefManager || this; + static createFromJsonSchema(e3) { + const t3 = new c(); + return t3.populateRootPropertiesFromJsonSchema(e3), t3; } - getCachedServerPropertyCommon(e3, t3, i3, n3, r3) { - if (!e3 || !t3) return null; - const o2 = this.getItemFromFlowMetadata(n3, t3); - return o2 && o2.getProperty ? o2.getProperty(e3, i3, r3) : null; + get additionalProperties() { + return this._additionalProperties; } - getCachedServerPropertyById(e3, t3, i3, n3) { - return this.getCachedServerPropertyCommon(e3, t3, i3, n3, false); + set additionalProperties(e3) { + this._additionalProperties = e3; } - getCachedServerPropertyByName(e3, t3, i3, n3) { - return this.getCachedServerPropertyCommon(e3, t3, i3, n3, true); + get id() { + return this._id; } - getCaseSensitiveCompliantId(e3) { - return this.caseSensitiveIds ? e3 : o.default.isString(e3) ? e3.toLowerCase() : e3; + set id(e3) { + this._id = e3; } - getItem(e3, t3) { - return e3 = this.getCaseSensitiveCompliantId(e3), this.items[e3]; + get maxItems() { + return this._maxItems; } - getOrFetchItem(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const n3 = this.getItem(e3); - return n3 ? Promise.resolve(n3) : this.fetchItem(e3, t3, i3); - }); + set maxItems(e3) { + (o.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._maxItems = e3); } - getItemFromFullManager(e3) { - if (!this.fullManager) return null; - let t3; - const i3 = this.fullManager.getItem(e3); - return i3 && (t3 = this.addItem(i3._model ? i3._model : i3, true, false)), t3; + get minItems() { + return this._minItems; } - getItemFromFlowMetadata(e3, t3) { - const i3 = e3.isFlowViewModel ? e3 : e3.parentFlow; - if (!i3) return null; - let n3; - const r3 = {}; - this.idEquivalent ? r3[this.idEquivalent] = t3 : r3.id = t3; - const o2 = i3.getUiMetadataInfo(this.uiMetadataSectionName, r3); - if (o2) { - const e4 = new this._networkModel(o2); - n3 = this._createItemViewModel(e4), Object.defineProperties(n3, { isFlowCachedVersion: { value: true } }); - } - return n3; + set minItems(e3) { + (o.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._minItems = e3); } - findOrFetchItemByName(e3, t3) { - const i3 = this.findItemByName(e3), n3 = "name", r3 = e3; - if (i3) return Promise.resolve(i3); - const o2 = this.isBriefObjectManager ? this.fullManager : this; - return o2.search(e3, n3, f.exactMatch, void 0, t3, null, null, true).then((t4) => { - const i4 = []; - for (let r4 = 0; r4 < t4.length; r4++) t4[r4][n3].toLowerCase() === e3.toLowerCase() && i4.push(t4[r4]); - if (1 === i4.length) return Promise.resolve(i4[0]); - if (i4.length > 1) { - const e4 = []; - let t5; - e4.push("find by '" + o2.className + "' by value of '" + r3 + "' - there is more than one case insensitive match (count: " + i4.length + ")"), e4.push(" now attempting to find a case sensitive match."); - for (let o3 = 0; o3 < i4.length; o3++) { - const a2 = " item[" + o3 + "] - value '" + i4[o3][n3] + "' - "; - if (i4[o3][n3] === r3) { - if (t5) return e4.push(a2 + "is another case sensitive match - unable to disambiguate network results"), Promise.reject(e4.join("\n")); - e4.push(a2 + "is a case sensitive match - checking additional items to see if there are any other matches."), t5 = i4[o3]; - } else e4.push(a2 + "is not a case sensitive match."); - } - return e4.push(" found by '" + this.className + "' with value of '" + r3 + "'."), Promise.resolve(t5); - } - return Promise.reject(`find in '${this.className}' by value of '${r3}' - no matches for '${r3}'`); - }).catch(() => Promise.reject(`find in '${this.className}' by value of '${r3}' - no matches for '${r3}'`)); + get maxLength() { + var e3, t3; + return null !== (e3 = this._maxLength) && void 0 !== e3 ? e3 : null === (t3 = this._items) || void 0 === t3 ? void 0 : t3.maxLength; } - findItemByName(e3) { - let t3 = o.default.find(this.items, (t4) => t4.name === e3); - return !t3 && this.isBriefObjectManager && (t3 = this.fullManager.findItemByName(e3)), t3; + set maxLength(e3) { + (o.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._maxLength = e3); } - additionalItemFilter(e3) { - return e3; + get minLength() { + var e3, t3; + return null !== (e3 = this._minLength) && void 0 !== e3 ? e3 : null === (t3 = this._items) || void 0 === t3 ? void 0 : t3.minLength; } - getConfigListPage(e3, t3) { - if (e3 && e3.isConfigListSearchParams || p.error("configListSearchParams is not a ConfigListSearchParams"), !this.apiCallList) { - const e4 = `not apiCallList set on manager: ${this.className}`; - return p.error(e4), Promise.reject(e4); - } - return this.additionalQueryParams && e3.addAdditionalParams(this.additionalQueryParams), this.apiCallList(e3).then((i3) => { - var n3; - this.requiredAuth && (this.insufficientAuthorizations = false), this.serverWasContacted = true; - let r3 = i3.entities; - return e3.searchTerm || this.isSearching && !this.isDependentOnCategory || (this.lastRetrievedPage = Number.isInteger(e3.pageNumber) ? e3.pageNumber : 1, o.default.isUndefined(i3.after) ? o.default.isUndefined(null === (n3 = null == i3 ? void 0 : i3.cursors) || void 0 === n3 ? void 0 : n3.after) ? this.lastReceivedAfter = void 0 : this.lastReceivedAfter = i3.cursors.after : this.lastReceivedAfter = i3.after), this.additionalItemFilter && (r3 = this.additionalItemFilter(r3)), this.isSearching ? this.currentSearchTotalOnServer = i3.total : this.totalItemsOnServer = i3.total, this.nextUri = i3.nextUri, e3.searchTerm && 0 === r3.length && this.knownEmptySearches && !o.default.contains(this.knownEmptySearches, e3.searchTerm) && this.knownEmptySearches.push(e3.searchTerm), o.default.each(r3, (e4) => { - 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, this._traceInsufficientAuthorizations("list"), this._annotateErrorWithRequiredAuth(e4)), Promise.reject(e4))); + set minLength(e3) { + (o.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._minLength = e3); } - _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}'.`)); + get maxValue() { + return this._maxValue; } - _annotateErrorWithRequiredAuth(e3) { - e3 && "object" == typeof e3 && !e3.requiredAuth && (e3.requiredAuth = this.requiredAuth); + set maxValue(e3) { + (o.default.isActualNumber(e3) || void 0 === e3) && (this._maxValue = e3); } - get insufficientAuthorizations() { - return this.requiredAuth && !h.externalAuthorizations.checkHasRequiredAuth(this.requiredAuth); + get maxValueInclusive() { + return this._maxValueInclusive; } - set insufficientAuthorizations(e3) { - this.requiredAuth && h.externalAuthorizations.setAuthorization(!e3, this.requiredAuth); + set maxValueInclusive(e3) { + (o.default.isBoolean(e3) || void 0 === e3) && (this._maxValueInclusive = e3); } - forceFallback(e3, t3) { - return a.flowTypes.isVxmlgenFlowType(null == e3 ? void 0 : e3.type) && (null == t3 ? void 0 : t3.dataType) === c.expressionTypeNames.date; + get minValue() { + return this._minValue; } - mergeSchemaProperties(e3, t3) { - const i3 = []; - return o.default.each(e3, (e4) => { - const n3 = t3.parentFlow; - let r3, a2 = e4.type; - if ((null == n3 ? void 0 : n3.type) && (!e4.type.isAvailableForFlow(n3) || this.forceFallback(n3, e4.type))) { - const t4 = e4.setFallbackType(n3.type); - t4 && t4.isAvailableForFlow(n3) ? (r3 = a2, a2 = t4, this.topic.info(`Type '${e4.type.displayString}' is not available in flowType '${n3.type}', using its fallback: '${a2.displayString}'`)) : this.topic.error(`Neither '${e4.type.displayString}' nor its fallback '${a2.displayString}' is available for this flow type '${n3.type}', using original`); - } - let s2 = 0, l2 = o.default.find(t3.items, (t4, i4) => { - s2 = i4; - const n4 = t4.value.type.isMatch(a2); - return !!(e4.id && t4.referenceId && n4 && e4.id === t4.referenceId) || !!t4.name && t4.name.toLowerCase() === e4.name.toLowerCase() && n4; - }); - if (l2 && l2.value.type.isCollection === a2.isCollection ? t3.items.splice(s2, 1) : l2 = T.createDataPairForSchemaProperty(t3, e4, a2), T.setExpressionWithSchemaProperty(l2.value, e4), r3) { - const e5 = u.expressionDataService.getStringConversionExamples(l2.value.type, r3); - (null == e5 ? void 0 : e5.length) && l2.value.options.setDescriptionAdditionalInfoSection({ title: m.expression.expressionExamples, entries: e5 }); - } - t3.isInputList || (e4.required = false, l2.value.options.setIsOptional(true)), this.defaultInputsWithNoValue && (o.default.isNull(l2.value.text) || o.default.isUndefined(l2.value.text) || o.default.isEmpty(l2.value.text)) && !e4.required && l2.value.setAsNoValue(), l2.name = e4.name, l2.referenceId = e4.id, i3.push(this._createWrapper(l2, e4, a2)); - }), t3.clearAndAddItems(i3.map((e4) => e4.data)), i3; + set minValue(e3) { + (o.default.isActualNumber(e3) || void 0 === e3) && (this._minValue = e3); } - get numItems() { - return Object.keys(this.items).length; + get minValueInclusive() { + return this._minValueInclusive; } - get numProcessedServerItems() { - const e3 = this.numItems; - return this.filteredOutItemCount > 0 ? e3 + this.filteredOutItemCount : e3; + set minValueInclusive(e3) { + (o.default.isBoolean(e3) || void 0 === e3) && (this._minValueInclusive = e3); } - removeItemWithId(e3, t3) { - this.caseSensitiveIds || (e3 = o.default.isString(e3) ? e3.toLowerCase() : e3), delete this.items[e3], !t3 && this.briefManager && this.briefManager.removeItemWithId(e3, true); + get minValueStr() { + return this._minValueStr; } - removeItemWithName(e3, t3) { - let i3; - o.default.each(this.items, (t4) => { - t4.name === e3 && (i3 = t4.id); - }), delete this.items[i3], !t3 && this.briefManager && this.briefManager.removeItemWithName(e3, true); + set minValueStr(e3) { + (o.default.isString(e3) || void 0 === e3) && (this._minValueStr = e3, this._minValueParsedDecimal = null); } - registerConsumer(e3, t3, i3, n3) { - _.registerConsumer(e3, this.dependencyContext, t3, i3, _.NO_VERSION, this.dependencyType, e3.parentFlow, n3); + get minValueParsedDecimal() { + return null === this._minValueParsedDecimal && (this._minValueParsedDecimal = (0, l.getParsedDecimal)(this._minValueStr, u.VALIDATE_ALLOW_INTEGER_FORM)), this._minValueParsedDecimal; } - 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); + get maxValueStr() { + return this._maxValueStr; } - 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 || 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, 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 c2 ? yield this._searchAllPages(p2) : yield this.getConfigListPage(p2); - }); + set maxValueStr(e3) { + (o.default.isString(e3) || void 0 === e3) && (this._maxValueStr = e3, this._maxValueParsedDecimal = null); } - _getAfterCursorFormUri(e3) { - var t3; - let i3 = e3.indexOf("after="); - if (i3 > 0) { - i3 += 6; - const n3 = e3.substring(i3, i3 + l.default.uuidStrLen); - if (this.retrievedUris.includes(e3) || this.retrievedUris.push(e3), (null === (t3 = null == n3 ? void 0 : n3.trim()) || void 0 === t3 ? void 0 : t3.length) === l.default.uuidStrLen) return n3; - } + get maxValueParsedDecimal() { + return null === this._maxValueParsedDecimal && (this._maxValueParsedDecimal = (0, l.getParsedDecimal)(this._maxValueStr, u.VALIDATE_ALLOW_INTEGER_FORM)), this._maxValueParsedDecimal; } - _searchAllPages(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = []; - if (yield this.getConfigListPage(e3, t3), this.currentSearchTotalOnServer) { - const i3 = e3.defaultPageSize || 25, n3 = Math.ceil(this.currentSearchTotalOnServer / i3); - for (; e3.pageNumber < n3; ) e3.pageNumber += 1, yield this.getConfigListPage(e3, t3); - } else for (; this.nextUri; ) { - const i3 = this.nextUri; - e3.after = this._getAfterCursorFormUri(i3), yield this.getConfigListPage(e3, t3); - } - return t3; - }); + get name() { + return this._name; } - tryRemoveItemFromFlowMetadata(e3, t3, i3) { - (e3.isFlowViewModel ? e3 : e3.parentFlow).tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, t3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, i3); + set name(e3) { + this._name = e3; } - isValidItem(e3) { - return true; + get description() { + return this._description; } - } - S.allListManagers = y, t2.default = S; - }, 47563: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(2318)), a = n2.__importDefault(i2(78432)), s = i2(26847), l = n2.__importDefault(i2(6074)); - class u extends l.default { - constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreActionPathViewModel"), e3), this._coreActionPathViewModel = e3; + set description(e3) { + this._description = e3; } - get displayTypeName() { - return "ArchActionOutput"; + get title() { + return this._title; } - get enabled() { - return !this._coreActionPathViewModel.outOfService; + set title(e3) { + this._title = e3 || void 0; } - set enabled(e3) { - const t3 = this._infoPropSet("newValue", "enabled"); - this._checkItemIsValidLiteralBool(t3, e3, false), this._checkItem(t3, !this.canEnableDisable, "this output cannot be enabled or disabled. Remember you can check the canEnableDisable property on the ArchActionOutput to see if the enabled property can be set or not."), this._coreActionPathViewModel.outOfService = !e3, this.logNote(`enabled property successfully set to ${e3}`); + get dataTypeId() { + return this._dataTypeId; } - get id() { - const e3 = r2.default.findKey(s.outputIds, (e4) => e4 === this._coreActionPathViewModel.id); - return r2.default.isUndefined(e3) ? this._coreActionPathViewModel.id : e3; + set dataTypeId(e3) { + this._dataTypeId = e3; } - get isDynamic() { - return !this._coreActionPathViewModel.isBuiltInBranch; + get isCollection() { + return this._isColl; } - get isArchActionOutput() { - return true; + set isCollection(e3) { + this._isColl = e3; } - get logStr() { - if (!this._coreActionPathViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreActionPathViewModel.parent), this._createLogStrFromParts(e3); + get properties() { + return this._properties; } - get label() { - return this._coreActionPathViewModel.label; + set properties(e3) { + this._properties = this.reviveArray(e3, c); } - get name() { - return this.label; + get allowableValues() { + return this._allowableValues; } - get parentAction() { - return this.coreFactory.createArchWrapper(this._coreActionPathViewModel.parent); + set allowableValues(e3) { + this._allowableValues = e3; } - get parentFlow() { - const e3 = this.parentAction; - return null == e3 ? void 0 : e3.parentFlow; + get isRequired() { + return this._isRequired; } - get canEnableDisable() { - const e3 = this.parentAction; - return e3 && !e3.parentFlow.isReadOnly && !this.isMenuChoiceContainer && (e3.isArchActionAskForIntent && (this.id !== a.default.OUTPUT_IDS.knowledge || o.default.currentUserCanUseKnowledge) || this.id === a.default.OUTPUT_IDS.maxNoInputs && !this._coreActionPathViewModel.isUnavailable || this.id === a.default.OUTPUT_IDS.maxNoMatches && !this._coreActionPathViewModel.isUnavailable || this.id === a.default.OUTPUT_IDS.skipResponseCapture && !this._coreActionPathViewModel.isUnavailable); + set isRequired(e3) { + this._isRequired = e3; } - } - 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)), 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); + get readOnly() { + return this._readOnly; } - get isLoopAction() { - return true; + set readOnly(e3) { + (o.default.isBoolean(e3) || void 0 === e3) && (this._readOnly = e3); } - static get branchInfo() { - return [s.default.loop]; + get patchable() { + return this._patchable; } - static get managedProperties() { - 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 }]; + set patchable(e3) { + (o.default.isBoolean(e3) || void 0 === e3) && (this._patchable = e3); } - getDetails() { - 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; + 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._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; } - validate(e3) { - 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); + populateRootPropertiesFromJsonSchema(e3, t3) { + e3 && o.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 && o.default.isObject(e3.properties) && o.default.isArray(e3.allOf) && e3.allOf.length && (this._properties = [], o.default.each(e3.properties, (e4, t4) => { + if (e4 && o.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(); } } - _.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) => { + 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); + }, 62979(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(96169)), a = i2(84050); + class s extends a.NameIdDescriptionModel { constructor(e3) { - super(e3); + var t3, i3; + super(e3), (0, o.makeUnenumerable)(this, "_tableId"), (0, o.makeUnenumerable)(this, "_name"), (0, o.makeUnenumerable)(this, "_description"), (0, o.makeUnenumerable)(this, "_publishedVersion"), (0, o.makeUnenumerable)(this, "_status"), (0, o.makeUnenumerable)(this, "_dateModified"), (0, o.makeUnenumerable)(this, "_datePublished"), (0, o.makeUnenumerable)(this, "_dateCreated"), (0, o.makeUnenumerable)(this, "_publishedContract"), !this._publishedContract && (null == e3 ? void 0 : e3.schemas) && (this._publishedContract = new r.default(e3.schemas), (null === (t3 = e3.schemas) || void 0 === t3 ? void 0 : t3.input) && (this._publishedContract.executionInputSchema = e3.schemas.input), (null === (i3 = e3.schemas) || void 0 === i3 ? void 0 : i3.output) && (this._publishedContract.executionOutputSchema = e3.schemas.output)); } - get _globalTypeName() { - return "externalOrganizationCollection"; + get id() { + return this._tableId; } - get initialValue() { - return this._initialValue; + set id(e3) { + this._tableId = e3; } - get displayTypeName() { - return "ArchVariableExternalOrganizationCollection"; + get tableId() { + return this._tableId; } - get isArchVariableExternalOrganizationCollection() { - return true; + set tableId(e3) { + this._tableId = e3; } - } - 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)), 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: y.clearSlot.slotsLabel, yamlOptions: S.createYamlOptions("slots", (e3) => e3.setWrapDataPairNameAndValueInString("slot")) }]; + get publishedVersion() { + return this._publishedVersion; } - constructor(e3, t3) { - super(e3.parentFlow, e3), this.slotErrors = [], this._loadModel(t3), o.default.each(this.slots.items, (e4) => { - e4 && e4.value && (e4.value.outOfService = true); - }); + set publishedVersion(e3) { + this._publishedVersion = e3; } - addSlot() { - 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; + get status() { + return this._status; } - getSelectedSlots() { - return o.default.pluck(this.slots.items, "name"); + set status(e3) { + this._status = e3; } - _setupEventSinks() { - this.slotListOrderChangedSink = u.createEventSinkObject(l.listOrderChanged, this, () => { - this.initializeDesignTimeCalled && c.validateAction(this, false, true); - }), u.registerEventSinkForEventEmitter(this.slots.id, this.slotListOrderChangedSink); + get dateCreated() { + return this._dateCreated; } - _clearEventSinks() { - u.unregisterEventSinkForEventEmitter(this.slots.id, this.slotListOrderChangedSink), u.unregisterEventSink(this.slotListOrderChangedSink); + set dateCreated(e3) { + this._dateCreated = e3; } - propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.slots && c.validateAction(this, false, true); + get dateModified() { + return this._dateModified; } - _initializeDesignTime() { - super._initializeDesignTime(), this._setupEventSinks(); + set dateModified(e3) { + this._dateModified = e3; } - setNewInstanceDefaults() { - return super.setNewInstanceDefaults(); + get datePublished() { + return this._datePublished; } - _preDestroy() { - super._preDestroy(), this._clearEventSinks(); + set datePublished(e3) { + this._datePublished = e3; } - getDetails() { - if (this.slots.items.length) { - const e3 = [], t3 = []; - return o.default.each(this.slots.items, (i3, n3) => { - e3.push(n3 + 1), t3.push(i3.name); - }), new _.ActionDetails(e3, t3); - } - return null; + get publishedContract() { + return this._publishedContract; } - getAvailableSlotNames() { - return this.parentFlow.getAvailableSlotNames(true, false); + set publishedContract(e3) { + this._publishedContract = this.reviveItem(e3, r.default); } - validate(e3) { - 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, 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)(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)); - }); + } + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "tableId", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "publishedContract", null); + }, 96169(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(19596), o = i2(80295); + class r extends n2.DataContract { + constructor(e3) { + super(e3), (0, o.makeUnenumerable)(this, "_executionInputSchema"), (0, o.makeUnenumerable)(this, "_executionOutputSchema"), (0, o.makeUnenumerable)(this, "_parentSchema"); + } + get executionInputSchema() { + return this._executionInputSchema; + } + set executionInputSchema(e3) { + this._executionInputSchema = e3; + } + get executionOutputSchema() { + return this._executionOutputSchema; + } + set executionOutputSchema(e3) { + this._executionOutputSchema = e3; + } + get parentSchema() { + return this._parentSchema; + } + set parentSchema(e3) { + this._parentSchema = e3; } } - 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) => { + t2.default = r; + }, 38416(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ServerActionTimeoutSettings = void 0; - const n2 = i2(31635).__importStar(i2(63824)), r2 = i2(55867), o = i2(47957); - class a extends r2.BaseActionProperty { - constructor(e3, t3, i3) { - super(e3, t3), this._defaultTimeoutLiteral = i3, this.action.timeout.options.setAllowModeExpression(!!this.action.parentFlow.isAutomateFlowType), Object.defineProperties(e3, { supportsTimeout: { value: true, writable: false }, useSuggestedTimeout: { get: () => e3.model.useSuggestedTimeout, set: (t4) => { - e3.model.useSuggestedTimeout = !!t4, e3.timeout.outOfService = !!t4; - } }, timeoutTooltip: { get: () => n2.getSearchStringFromLiteral(this._defaultTimeoutLiteral) }, resetTimeout: { value: () => { - this.reset(); - } } }); + var n2, o; + Object.defineProperty(t2, "__esModule", { value: true }); + const r = i2(31635), a = i2(80295), s = r.__importDefault(i2(48)), l = i2(58996); + class u extends l { + constructor(e3) { + super(e3), (0, a.makeUnenumerable)(this, "_commonModuleFlowSettings"); } - reset() { - this.action.timeout.text = this._defaultTimeoutLiteral, this.action.useSuggestedTimeout = true; + get commonModuleFlowSettings() { + return this._commonModuleFlowSettings; } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(), this.reset(); + set commonModuleFlowSettings(e3) { + this._commonModuleFlowSettings = e3; } - validate(e3) { - super.validate(e3), "P0D0H0M0S0F" !== this.action.timeout.text || this.action.useSuggestedTimeout || e3.addError(this.action, o.bridgeServer.timeoutOfZero); + } + t2.default = u, r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== s.default && s.default) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== s.default && s.default) ? o : Object])], u.prototype, "commonModuleFlowSettings", null), l.extend(u, "CommonModuleFlowConfiguration"); + }, 39938(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(19596), s = n2.__importDefault(i2(71538)); + class l extends a.DataContract { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_dataTypeDefinitions"); } - static createCreateDetails(e3) { - return { create: (t3, i3) => new a(t3, i3, e3), getCreateClass: () => a, modelProperties: [] }; + get dataTypeDefinitions() { + return this._dataTypeDefinitions; + } + set dataTypeDefinitions(e3) { + this._dataTypeDefinitions = this.reviveArray(e3, s.default); } } - t2.ServerActionTimeoutSettings = a; - }, 47652: (e2, t2, i2) => { + t2.default = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "dataTypeDefinitions", null); + }, 43933(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(66978)), l = n2.__importDefault(i2(79200)); - class u extends l.default { + const n2 = i2(31635), o = i2(19596), r = i2(80295); + class a extends o.DataContract { constructor(e3) { super(e3); } - get _actionTypeId() { - return o.secureActionActionType; + get id() { + return this._id; } - get displayTypeName() { - return this._scriptingName; + set id(e3) { + this._id = e3; } - get isArchActionCallDataSecure() { - return true; + get name() { + return this._name; } - setDataSecureActionByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("secureActionId", "setDataSecureActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataSecureActionByIdAsync"), t3, true), this._setIntegrationActionByIdAsync(e3, t3, "secure"); + set name(e3) { + this._name = e3; } - setDataSecureActionByNameAsync(e3, t3, i3) { - let n3; - return this._checkItemIsValidLiteralString(this._infoParm("dataSecureActionName", "setDataSecureActionByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataSecureActionByNameAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("categoryName", "setDataSecureActionByNameAsync"), i3, true), r2.default.isString(i3) && i3.length && (n3 = { category: i3 }), a.default.findItemByValueAsync(this._getCoreViewModel().serverManager, e3, "secure data action", "name", "name", n3).then(function(o2) { - return this.logNote(`found partial info for the secure data action named '${o2.name}' (id: ${o2.id}) for the passed secure data action name of '${e3}'${r2.default.isUndefined(n3) ? "." : ` in the passed category name of '${i3}'.`} Getting full secure data action details.`), s.default.addPromise(this.setDataSecureActionByIdAsync(o2.id, t3), this); - }.bind(this)); + get description() { + return this._description; + } + set description(e3) { + this._description = e3; + } + get languages() { + return this._languages; + } + set languages(e3) { + this._languages = e3; } } - t2.default = u; - }, 47673: (e2, t2, i2) => { + t2.default = a, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "id", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "name", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "description", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "languages", null); + }, 22604(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.returnToAgentActionType; + get grammarId() { + return this._grammarId; } - get displayTypeName() { - return "ArchMenuReturnToAgent"; + set grammarId(e3) { + this._grammarId = e3; } - get actionReturnToAgent() { - return this._archAction; + get language() { + return this._language; } - get isArchMenuReturnToAgent() { - return true; + set language(e3) { + this._language = e3; + } + get fileUrl() { + return this._fileUrl; + } + set fileUrl(e3) { + this._fileUrl = e3; } } - t2.default = a; - }, 47719: (e2, t2, i2) => { - const n2 = i2(16113), { evaluateScheduleActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _timeZone: { writable: true }, _schedule: { writable: true } }), this.evaluateEmergencyGroup = false, this.scheduleId = void 0, this.scheduleName = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.timeZone.pasteReIdOrRename(e3), this.schedule.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.timeZone.pasteResolveOldToNewValues(e3), this.schedule.pasteResolveOldToNewValues(e3); - } }, timeZone: { enumerable: true, get: function() { - return this._timeZone; - }, set: function(e3) { - this._timeZone = this.reviveItem(e3, o); - } }, schedule: { enumerable: true, get: function() { - return this._schedule; - }, set: function(e3) { - this._schedule = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 47743: (e2, t2, i2) => { + t2.default = a, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "grammarId", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "language", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "fileUrl", null); + }, 90159(e2, t2, i2) { "use strict"; + var n2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { + const r = i2(31635), a = i2(19596), s = i2(80295); + class l extends a.DataContract { constructor(e3) { - super(e3), this._coreVariableExpressionPair = e3; + super(e3); } - get displayTypeName() { - return "ArchBaseVariableValuePair"; + get url() { + return this._url; } - get isArchBaseVariableValuePair() { - return true; + set url(e3) { + this._url = e3; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + get fileUrl() { + return this._fileUrl; } - setVariableToAssignTo(e3) { - this._checkItem(this._infoParm("variable", "setVariableToAssignTo"), !e3, "no variable specified to set for the variable to assign to."), this.valueVariableToAssignTo.setVariable(e3); + set fileUrl(e3) { + this._fileUrl = e3; } - get valueVariableToAssignTo() { - return this.coreFactory.createArchWrapper(this._coreVariableExpressionPair.variable); + get uploadKey() { + return this._uploadKey; + } + set uploadKey(e3) { + this._uploadKey = e3; + } + get headers() { + return this._headers; } - get valueToAssign() { - return this.coreFactory.createArchWrapper(this._coreVariableExpressionPair.expression); + set headers(e3) { + this._headers = e3; } } - t2.default = r2; - }, 47782: (e2, t2, i2) => { + t2.default = l, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], l.prototype, "url", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], l.prototype, "fileUrl", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], l.prototype, "uploadKey", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = "undefined" != typeof Map && Map) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = "undefined" != typeof Map && Map) ? o : Object])], l.prototype, "headers", null); + }, 62100(e2, t2, i2) { "use strict"; - 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 c extends a.DataContract { + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { constructor(e3) { - super(e3), (0, s.makeUnenumerable)(this, "_id"), (0, s.makeUnenumerable)(this, "_overloads"); + super(e3); } get id() { return this._id; @@ -63421,79 +58975,107 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; set id(e3) { this._id = e3; } - get overloads() { - return this._overloads; + get name() { + return this._name; } - set overloads(e3) { - this._overloads = this.reviveMap(e3, l.default, true); + set name(e3) { + this._name = e3; + } + get latestProductionReadyVersion() { + return this._latestProductionReadyVersion; + } + set latestProductionReadyVersion(e3) { + this._latestProductionReadyVersion = e3; } } - 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) => { + 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", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "latestProductionReadyVersion", null); + }, 18048(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 { + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = n2.__importDefault(i2(62100)); + class s extends r.PagedList { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.clearSkillExpressionFiltersActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get clearSkillExpressionFiltersOutputsFailure() { - return this.failureOutputs; + get entities() { + return this._entities; } - get isArchActionClearSkillExpressionFilters() { - return true; + set entities(e3) { + this._entities = this.reviveArray(e3, a.default); } } - t2.default = a; - }, 47875: (e2, t2) => { + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 82630(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.literalValidatorNames = void 0, t2.literalValidatorNames = { dialingCodes: "DialingCodes", iso4217: "ISO4217", phoneNumber: "PhoneNumber", supportedDigitalChannels: "SupportedDigitalChannels", supportedTTSLangs: "SupportedTTSLangs", timeZones: "TimeZones" }; - }, 47957: (e2, t2, i2) => { - let n2 = null; - if (i2(6697)) n2 = i2(12664); - else { - const e3 = i2(29546); - try { - n2 = i2(91358)("./" + e3.getCurrentLanguage() + "/resources.js"); - } catch (e4) { - n2 = i2(12664); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { + get id() { + var e3; + return this._id ? this._id : `${null === (e3 = this._guide) || void 0 === e3 ? void 0 : e3.id}~${this._version}`; } - } - n2.then && n2.then((t3) => { - e2.exports = t3; - }), e2.exports = n2; - }, 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), c = i2(97081), d = i2(30801), p = i2(47957), _ = i2(27862); - class h extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.integrationView; + set id(e3) { + this._id = e3; } - get dependencyType() { - return _.NuanceMixIntegration; + get name() { + return this._name; } - constructor() { - 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(); + set name(e3) { + this._name = e3; } - _createItemViewModel(e3) { - return new c.IntegrationViewModel(e3); + get version() { + return this._version; } - get _networkModel() { - return u.Integration; + set version(e3) { + this._version = e3; + } + get guide() { + return this._guide; + } + set guide(e3) { + this._guide = e3; + } + get variables() { + return this._variables; + } + set variables(e3) { + this._variables = e3, this.inputs = this._variables.filter((e4) => "Input" === e4.scope || "InputAndOutput" === e4.scope), this.outputs = this._variables.filter((e4) => "Output" === e4.scope || "InputAndOutput" === e4.scope); + } + get inputs() { + return this._inputs; + } + set inputs(e3) { + this._inputs = e3; + } + get outputs() { + return this._outputs; + } + set outputs(e3) { + this._outputs = e3; + } + } + 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, "version", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "guide", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "variables", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "inputs", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "outputs", null); + }, 37707(e2, t2, i2) { + "use strict"; + var n2, o; + t2.Integration = void 0; + const r = i2(31635), a = i2(80295), s = i2(90715), l = i2(80295), u = i2(84050); + class c extends u.NameIdDescriptionModel { + constructor(e3) { + super(e3), (0, l.makeUnenumerable)(this, "_integrationType"); + } + get integrationType() { + return this._integrationType; + } + set integrationType(e3) { + this._integrationType = this.reviveItem(e3, s.IntegrationType); } } - t2.NuanceMixIntegrationManager = h, t2.nuanceMixIntegrationManager = new h(); - }, 48001: (e2, t2, i2) => { + t2.Integration = c, r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== s.IntegrationType && s.IntegrationType) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== s.IntegrationType && s.IntegrationType) ? o : Object])], c.prototype, "integrationType", null); + }, 99431(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PromptResourceList = void 0; - const n2 = i2(31635), r2 = i2(94729), o = i2(15116), a = i2(80295); + t2.IntegrationList = void 0; + const n2 = i2(31635), o = i2(15116), r = i2(37707), a = i2(80295); class s extends o.PagedList { constructor(e3) { super(e3); @@ -63502,7461 +59084,4283 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; return this._entities; } set entities(e3) { - this._entities = this.reviveArray(e3, r2.PromptResource); + this._entities = this.reviveArray(e3, r.Integration); } } - t2.PromptResourceList = s, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 48002: (e2, t2, i2) => { + t2.IntegrationList = s, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 90715(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.workflowListManager = t2.WorkflowListManager = void 0; - const n2 = i2(6109), r2 = i2(96618), o = i2(24032), a = i2(27862); - class s extends n2.FlowListManager { - get dependencyType() { - return a.Workflow; + t2.IntegrationType = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(19596); + class s extends a.DataContract { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_id"); } - constructor() { - super(), this.topic = (0, o.getTopic)("workflowListManager"), this.additionalQueryParams = { type: r2.flowTypes.flowTypeWorkflow }, this.className = "WorkflowListManager", this.flowType = r2.flowTypes.flowTypeWorkflow, this._initialize(); + get id() { + return this._id; + } + set id(e3) { + this._id = e3; } } - t2.WorkflowListManager = s, t2.workflowListManager = new s(); - }, 48019: (e2, t2, i2) => { + t2.IntegrationType = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null); + }, 53314(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { + t2.PromptContainer = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(84050), s = i2(94729); + class l extends a.NameIdDescriptionModel { + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_resources"); + } + get className() { + return "PromptContainer"; + } + get resources() { + return this._resources; + } + set resources(e3) { + this._resources = this.reviveArray(e3, s.PromptResource); + } + } + t2.PromptContainer = l, l.keyProperty = "name", n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], l.prototype, "resources", null); + }, 95258(e2, t2, i2) { + "use strict"; + t2.PromptContainerList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(53314); + class s extends r.PagedList { constructor(e3) { super(e3); } - get id() { - return this._id; + get entities() { + return this._entities; } - set id(e3) { - this._id = e3; + set entities(e3) { + this._entities = this.reviveArray(e3, a.PromptContainer); } - get name() { - return this._name; + } + t2.PromptContainerList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 94729(e2, t2, i2) { + "use strict"; + var n2, o; + t2.PromptResource = void 0; + const r = 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"), (0, l.makeUnenumerable)(this, "_audioFormat"); } - set name(e3) { - this._name = e3; + get durationSeconds() { + return this._durationSeconds; } - get schema() { - return this._schema; + set durationSeconds(e3) { + this._durationSeconds = e3; } - set schema(e3) { - this._schema = e3; + set duration(e3) { + this._durationSeconds = e3; } - get schemas() { - return this._schemas; + get hasDefault() { + return this._hasDefault; } - set schemas(e3) { - this._schemas = e3; + set hasDefault(e3) { + this._hasDefault = e3; } - get schemaInfo() { - return this._schemaInfo; + get language() { + return this._language; } - set schemaInfo(e3) { - this._schemaInfo = e3; + set language(e3) { + this._language = e3; } - get statuses() { - return this._statuses; + get mediaUri() { + return this._mediaUri; } - set statuses(e3) { - this._statuses = e3; + set mediaUri(e3) { + this._mediaUri = e3; } - get flow() { - return this._flow; + get name() { + return this._name; } - set flow(e3) { - this._flow = e3; + set name(e3) { + this._name = e3; } - get dateBasedRules() { - return this._dateBasedRules; + get displayName() { + return this._name; } - set dateBasedRules(e3) { - this._dateBasedRules = e3; + set displayName(e3) { + this._name = e3; } - } - 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, "schemas", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "schemaInfo", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "statuses", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "flow", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "dateBasedRules", null); - }, 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), c = (function() { - function e3(e4) { - e4 && (this._subscribe = e4); + get promptId() { + return this._promptId; } - return e3.prototype.lift = function(t3) { - var i3 = new e3(); - return i3.source = this, i3.operator = t3, i3; - }, e3.prototype.subscribe = function(e4, t3, i3) { - var o2, a2 = this, s2 = (o2 = e4) && o2 instanceof n2.Subscriber || (function(e5) { - return e5 && l.isFunction(e5.next) && l.isFunction(e5.error) && l.isFunction(e5.complete); - })(o2) && r2.isSubscription(o2) ? e4 : new n2.SafeSubscriber(e4, t3, i3); - return u.errorContext(function() { - var e5 = a2, t4 = e5.operator, i4 = e5.source; - s2.add(t4 ? t4.call(s2, i4) : i4 ? a2._subscribe(s2) : a2._trySubscribe(s2)); - }), s2; - }, e3.prototype._trySubscribe = function(e4) { - try { - return this._subscribe(e4); - } catch (t3) { - e4.error(t3); - } - }, e3.prototype.forEach = function(e4, t3) { - var i3 = this; - return new (t3 = d(t3))(function(t4, r3) { - var o2 = new n2.SafeSubscriber({ next: function(t5) { - try { - e4(t5); - } catch (e5) { - r3(e5), o2.unsubscribe(); - } - }, error: r3, complete: t4 }); - i3.subscribe(o2); - }); - }, e3.prototype._subscribe = function(e4) { - var t3; - return null === (t3 = this.source) || void 0 === t3 ? void 0 : t3.subscribe(e4); - }, e3.prototype[o.observable] = function() { - return this; - }, e3.prototype.pipe = function() { - for (var e4 = [], t3 = 0; t3 < arguments.length; t3++) e4[t3] = arguments[t3]; - return a.pipeFromArray(e4)(this); - }, e3.prototype.toPromise = function(e4) { - var t3 = this; - return new (e4 = d(e4))(function(e5, i3) { - var n3; - t3.subscribe(function(e6) { - return n3 = e6; - }, function(e6) { - return i3(e6); - }, function() { - return e5(n3); - }); - }); - }, e3.create = function(t3) { - return new e3(t3); - }, e3; - })(); - function d(e3) { - var t3; - return null !== (t3 = null != e3 ? e3 : s.config.Promise) && void 0 !== t3 ? t3 : Promise; - } - 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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getListDisplayString = function(e3, t3, i3, n3) { - if (!e3) return ""; - if (r2.default.isString(e3) && (e3 = [e3]), 0 === e3.length) return ""; - if (n3 && (e3 = e3.map((e4) => (0, o.sprintf)(s.generic.textWithSingleQuotes, e4))), (function(e4, t4) { - r2.default.each(e4, function(i4, n4) { - void 0 === e4[n4] || null === e4[n4] ? e4[n4] = "" : t4 && (e4[n4] = i4.replace(/ /g, " ")); - }); - })(e3, t3), 1 === e3.length) return e3[0]; - const l = e3.pop(); - return e3.join(a.default.itemListing.itemSeparator).concat((i3 ? s.itemListing.lastItemOrSeparator : s.itemListing.lastItemAndSeparator) + l); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(17604), a = n2.__importDefault(i2(41510)), s = i2(47957); - }, 48112: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypePhoneNumberOptions = void 0; - const n2 = i2(65615), r2 = i2(80295); - class o extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + set promptId(e3) { + this._promptId = e3; } - constructor(e3) { - super(e3), this._literalUsesSmsPhoneNumberDropdown = false, (0, r2.makeUnenumerable)(this, "_literalUsesSmsPhoneNumberDropdown"); + get text() { + return this._text; } - get className() { - return "ExpressionTypePhoneNumberOptions"; + set text(e3) { + this._text = e3; } - get isExpressionTypePhoneNumberOptions() { - return true; + get textAvailable() { + return !!this._text; } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setLiteralUsesSmsPhoneNumberDropdown, e3.literalUsesSmsPhoneNumberDropdown, "_literalUsesSmsPhoneNumberDropdown"); + get ttsString() { + return this._ttsString; } - get literalUsesSmsPhoneNumberDropdown() { - return this._literalUsesSmsPhoneNumberDropdown; + set ttsString(e3) { + this._ttsString = e3; } - set literalUsesSmsPhoneNumberDropdown(e3) { - this._literalUsesSmsPhoneNumberDropdown = e3; + get ttsAvailable() { + return !!this._ttsString; } - setLiteralUsesSmsPhoneNumberDropdown(e3) { - return this._literalUsesSmsPhoneNumberDropdown = e3, this; + get tags() { + return this._tags; } - } - t2.ExpressionTypePhoneNumberOptions = o; - }, 48167: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84282)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._externalResults = this.coreFactory.createArchWrapper(e3.externalResult), this._searchTerm = this.coreFactory.createArchWrapper(e3.externalId); + set tags(e3) { + this._tags = e3; } - get _actionTypeId() { - return r2.searchExternalContactsActionType; + get uploadStatus() { + return this._uploadStatus; } - get displayTypeName() { - return this._scriptingName; + set uploadStatus(e3) { + this._uploadStatus = e3; } - get isArchActionSearchExternalContacts() { - return true; + get uploadUri() { + return this._uploadUri; } - get externalResults() { - return this._externalResults; + set uploadUri(e3) { + this._uploadUri = e3; } - get searchTerm() { - return this._searchTerm; + get audioFormat() { + return this._audioFormat; + } + set audioFormat(e3) { + this._audioFormat = e3; } } - t2.default = o; - }, 48179: (e2, t2, i2) => { + t2.PromptResource = u, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Number), r.__metadata("design:paramtypes", [Number])], u.prototype, "durationSeconds", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Boolean), r.__metadata("design:paramtypes", [Boolean])], u.prototype, "hasDefault", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "language", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "mediaUri", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "name", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "promptId", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "text", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "ttsString", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = "undefined" != typeof Map && Map) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = "undefined" != typeof Map && Map) ? o : Object])], u.prototype, "tags", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "uploadStatus", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], u.prototype, "uploadUri", null), r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], u.prototype, "audioFormat", null); + }, 48001(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + t2.PromptResourceList = void 0; + const n2 = i2(31635), o = i2(94729), r = i2(15116), a = i2(80295); + class s extends r.PagedList { constructor(e3) { super(e3); } - get _globalTypeName() { - return "workbin"; + get entities() { + return this._entities; } - get initialValue() { - return this._initialValue; + set entities(e3) { + this._entities = this.reviveArray(e3, o.PromptResource); } - get displayTypeName() { - return "ArchVariableWorkbin"; + } + t2.PromptResourceList = s, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 72448(e2, t2, i2) { + "use strict"; + t2.MessagingTemplate = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(19596); + class a extends r.DataContract { + constructor(e3) { + super(e3), (0, o.makeUnenumerable)(this, "_whatsApp"); } - get isArchVariableWorkbin() { - return true; + get whatsApp() { + return this._whatsApp; + } + set whatsApp(e3) { + this._whatsApp = e3; } } - t2.default = r2; - }, 48229: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSettings = t2.getKnowledgeSetting = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(66445), o = i2(40209), a = { ignoreBadResponse: true }; - t2.getKnowledgeSetting = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/settings/{id}", r2, a), t2.getKnowledgeSettings = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/settings", o, a); - }, 48263: (e2, t2, i2) => { + t2.MessagingTemplate = a, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "whatsApp", null); + }, 4251(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)), 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 { + var n2, o; + t2.Response = void 0; + const r = 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, "virtualAgentSettings", b), this.labelBadge = A.aiPoweredBadgeWithNoText; + 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"); } - 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).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).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)) }]; + get responseType() { + return this._responseType; } - _initializeDesignTime() { - super._initializeDesignTime(), this.conversationSummary.isOptional = true, this.addAutoCleanedUpEventListener(d.botFlowSettingChanged, (e3) => { - e3.setting === _.default.variable.virtualAgentEnabled && (this.setOutOfService(), this.setDefaultVirtualAgentActionSettings(true)); - }), this.addAutoCleanedUpEventListener(d.promptChanged, (e3) => { - "voiceProcessingPrompt" === e3.type && this.setOutOfService(); - }), this.setOutOfService(); + set responseType(e3) { + this._responseType = e3; } - getConfiguration(e3, t3) { - var i3, n3; - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const r3 = super.getConfiguration(e3, t3); - return r3 && !(null === (n3 = null === (i3 = r3.enabledWrapupCodes) || void 0 === i3 ? void 0 : i3.lit) || void 0 === n3 ? void 0 : n3.length) && delete r3.enabledWrapupCodes, r3 && this.summarizationEnabled && this.conversationSummaryName && (r3.conversationSummarySetting = { name: this.conversationSummaryName }), r3; - } - super.getConfiguration(e3, t3); + get form() { + return this._form; } - setOutOfService() { - if (this.summarization.outOfService = !(this.getVirtualAgentAllowed() && p.isFeatureAvailable(g.default.botFlowsVirtualAgentSummarization)), this.updateSettingsDependentOnSummarization(), this.assignWrapupCodes.outOfService = !(this.getVirtualAgentAllowed() && p.isFeatureAvailable(g.default.botFlowsDigitalBotFlowsBotSummarization)), this.updateSettingsDependentOnAssignWrapupCodes(), this.parentFlow.isBotFlow) { - const e3 = this.parentFlow.defaultSettings.getDefaultExpression(h.callGuideActionType, "voiceProcessingPrompt"); - if (e3) { - const t4 = this._getVoiceProcessingPromptSetInBotFlowSettings(); - e3.outOfService = !(this.getVirtualAgentAllowed() && this.voiceProcessingPromptAvailable) || t4, e3.options.setUiDisableOnOutOfService(this.getVirtualAgentAllowed()); - } - const t3 = this.parentFlow.defaultSettings.getDefaultExpression(m.callAgenticVirtualAgentActionType, "voiceProcessingPrompt"); - t3 && (t3.outOfService = !(this.getVirtualAgentAllowed() && this.voiceProcessingPromptAvailable && p.isFeatureAvailable(g.default.botFlowsAgenticVirtualAgentSage))); - } + set form(e3) { + this._form = e3; } - validate(e3) { - var t3, i3, n3, r3; - if (super.validate(e3), !this.outOfService && !this.conversationSummary.outOfService && this.conversationSummaryId) { - 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; - } - } + get messagingTemplate() { + return this._messagingTemplate; } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(), this.setDefaultVirtualAgentActionSettings(false); + set messagingTemplate(e3) { + this._messagingTemplate = e3; } - updateSettingsDependentOnAssignWrapupCodes() { - this.enabledWrapupCodes.outOfService = this.assignWrapupCodes.outOfService || this.assignWrapupCodes.text === a.default.false; + get substitutionsSchema() { + return this._substitutionsSchema; } - updateSettingsDependentOnSummarization() { - this.conversationSummary.outOfService = !this.summarizationEnabled, (0, I.validateNode)(this.parentFlow.languages, true), (0, I.validateNode)(this, true); + set substitutionsSchema(e3) { + this._substitutionsSchema = e3; } - get useLabelBadge() { - return true; + get library() { + return this.libraries && this.libraries[0]; } - get isVirtualAgentSettingsNode() { - return true; + get libraries() { + return this._libraries; } - get className() { - return "VirtualAgentSettingsViewModel"; + set libraries(e3) { + this._libraries = this.reviveArray(e3, u.ResponseLibrary); } - get helpTopic() { - return T.helpTopics.treeNodes.virtualAgentSettings; + get substitutions() { + return this.substitutionsSchema; } - get id() { - return "virtualAgentSettings"; + set substitutions(e3) { } - getDisplayName() { - return E.customNodes.virtualAgentSettings.virtualAgentSettingsTitle; + set schemas(e3) { + e3 && e3.input && (this.substitutionsSchema = e3.input); } - get wrappedYamlName() { - return "settingsVirtualAgent"; + } + t2.Response = d, r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [String])], d.prototype, "responseType", null), r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], d.prototype, "form", null), r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.MessagingTemplate && c.MessagingTemplate) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== c.MessagingTemplate && c.MessagingTemplate) ? o : Object])], d.prototype, "messagingTemplate", null), r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", Array), r.__metadata("design:paramtypes", [Array])], d.prototype, "substitutionsSchema", null), r.__decorate([(0, a.enumerable)(true), r.__metadata("design:type", Array), r.__metadata("design:paramtypes", [Array])], d.prototype, "libraries", null); + }, 23343(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s, l; + t2.ResponseAsset = void 0; + 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"); } - get nodeGuxIcon() { - return "clipboard-success"; + get division() { + return this._division; } - get virtualAgentEnabled() { - var e3; - return null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled; + set division(e3) { + this._division = e3; } - get outOfService() { - return !(u.default.currentUserCanUseVirtualAgentItems && this.getVirtualAgentAllowed()); + get contentLength() { + return this._contentLength; } - get summarizationEnabled() { - return this.getVirtualAgentAllowed() && p.isFeatureAvailable(g.default.botFlowsVirtualAgentCustomSummaries) && !this.summarization.outOfService && this.summarization.isBooleanTrue; + set contentLength(e3) { + this._contentLength = e3; } - addEnabledWrapupCode(e3) { - c.wrapupCodeManager.addItem(e3, true), this.enabledWrapupCodes.addItem().updateFromConfigListManagerItem(e3); + get contentLocation() { + return this._contentLocation; } - removeEnabledWrapupCode(e3) { - var t3, i3; - const n3 = null === (i3 = null === (t3 = this.enabledWrapupCodes.collectionItems) || void 0 === t3 ? void 0 : t3.items) || void 0 === i3 ? void 0 : i3.find((t4) => t4.model.config.val === e3); - n3 && this.enabledWrapupCodes.removeChild(n3); + set contentLocation(e3) { + this._contentLocation = e3; } - getVirtualAgentAllowed() { - return (this.parentFlow.isBotFlow || this.parentFlow.isDigitalBotFlow) && this.virtualAgentEnabled; + get contentType() { + return this._contentType; } - get voiceProcessingPromptAvailable() { - return p.isFeatureAvailable(g.default.botFlowsVirtualAgentVoicePrompt); + set contentType(e3) { + this._contentType = e3; } - _getVoiceProcessingPromptSetInBotFlowSettings() { - var e3; - const t3 = null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.voiceProcessingPrompt; - return !((null == t3 ? void 0 : t3.mode) !== f.literal || !(null == t3 ? void 0 : t3.text)); + get dateCreated() { + return this._dateCreated; + } + set dateCreated(e3) { + this._dateCreated = e3; + } + get createdBy() { + return this._createdBy; + } + set createdBy(e3) { + this._createdBy = e3; + } + get dateModified() { + return this._dateModified; + } + set dateModified(e3) { + this._dateModified = e3; + } + get modifiedBy() { + return this._modifiedBy; + } + set modifiedBy(e3) { + this._modifiedBy = e3; } - setDefaultVirtualAgentActionSettings(e3) { + get responses() { + return this._responses; + } + set responses(e3) { + this._responses = e3; } } - t2.default = w; - }, 48289: (e2, t2, i2) => { + 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 (o = void 0 !== d.IDataContractId && d.IDataContractId) ? o : 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 (r = void 0 !== d.IDataContractId && d.IDataContractId) ? r : 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); + }, 5080(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), 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"; + t2.ResponseAssetList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(23343); + class s extends r.PagedList { + constructor(e3) { + super(e3); } - getDetails() { - if (this.whisperAudio) { - const e3 = this.whisperAudio.getDescription(); - if (e3) return new u.ActionDetails([_.audio.audioLabel], [e3]); - if (this.whisperAudio.noValueMode) return new u.ActionDetails([""], [_.setWhisperAudio.noValueRuntimeEvaluationString]); - } - return null; + get entities() { + return this._entities; } - static get branchInfo() { - return a.default.successFailure; + set entities(e3) { + this._entities = this.reviveArray(e3, a.ResponseAsset); } - static get managedProperties() { - 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)) }]; + } + t2.ResponseAssetList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 23436(e2, t2, i2) { + "use strict"; + t2.ResponseLibrary = void 0; + const n2 = i2(84050); + class o extends n2.NameIdDescriptionModel { + constructor(e3) { + super(e3); } } - 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"; - e3.defineLocale("pt-br", { months: "janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"), monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"), weekdays: "domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"), weekdaysShort: "dom_seg_ter_qua_qui_sex_s\xE1b".split("_"), weekdaysMin: "do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_s\xE1".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY [\xE0s] HH:mm", LLLL: "dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm" }, calendar: { sameDay: "[Hoje \xE0s] LT", nextDay: "[Amanh\xE3 \xE0s] LT", nextWeek: "dddd [\xE0s] LT", lastDay: "[Ontem \xE0s] LT", lastWeek: function() { - return 0 === this.day() || 6 === this.day() ? "[\xDAltimo] dddd [\xE0s] LT" : "[\xDAltima] dddd [\xE0s] LT"; - }, sameElse: "L" }, relativeTime: { future: "em %s", past: "h\xE1 %s", s: "poucos segundos", ss: "%d segundos", m: "um minuto", mm: "%d minutos", h: "uma hora", hh: "%d horas", d: "um dia", dd: "%d dias", M: "um m\xEAs", MM: "%d meses", y: "um ano", yy: "%d anos" }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: "%d\xBA", invalidDate: "Data inv\xE1lida" }); - })(i2(95093)); - }, 48312: (e2, t2, i2) => { + t2.ResponseLibrary = o; + }, 89240(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + t2.ResponseLibraryList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(23436); + class s extends r.PagedList { constructor(e3) { super(e3); } - get _globalTypeName() { - return "externalFacebookInfoCollection"; + get entities() { + return this._entities; } - get displayTypeName() { - return "ArchValueExternalFacebookInfoCollection"; + set entities(e3) { + this._entities = this.reviveArray(e3, a.ResponseLibrary); } - get isArchValueExternalFacebookInfoCollection() { - return true; + } + t2.ResponseLibraryList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 24247(e2, t2, i2) { + "use strict"; + t2.ResponseList = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(15116), a = i2(4251); + class s extends r.PagedList { + constructor(e3) { + super(e3.results); + } + get entities() { + return this._entities; + } + set entities(e3) { + this._entities = this.reviveArray(e3, a.Response); } } - t2.default = r2; - }, 48349: (e2, t2, i2) => { + t2.ResponseList = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); + }, 1735(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), o = i2(19596), r = i2(80295), a = i2(50778); + class s extends o.DataContract { constructor(e3) { - super(e3); + Object.assign(e3, e3.surveyForm), super(e3); } - get _globalTypeName() { - return "journeyDevice"; + get id() { + return this._id; } - get category() { + set id(e3) { + this._id = e3; } - get type() { + get name() { + return this._name; } - get isMobile() { + set name(e3) { + this._name = e3; } - get screenHeight() { + get modifiedDate() { + return this._modifiedDate; } - get screenWidth() { + set modifiedDate(e3) { + this._modifiedDate = e3; } - get fingerprint() { + get published() { + return this._published; } - get manufacturer() { + set published(e3) { + this._published = e3; } - get osFamily() { + get disabled() { + return this._disabled; } - get osVersion() { + set disabled(e3) { + this._disabled = e3; } - get screenDensity() { + get contextId() { + return this._contextId; } - get displayTypeName() { - return "ArchValueJourneyDevice"; + set contextId(e3) { + this._contextId = e3; } - get isArchValueJourneyDevice() { - return true; + get language() { + return this._language; } - } - t2.default = r2; - }, 48388: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindGrammarByIdActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + set language(e3) { + this._language = e3; } - } - t2.FindGrammarByIdActionModel = o, o.__type = r2.findGrammarByIdActionType, o.registerType(); - }, 48444: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - const a = (0, n2.default)(e3, t3, i3), s = new r2(); - s.name = o.actions.disconnect; - const l = a.flowSequenceItemList[0]; - return l.actionList = [s], l.startAction = s.id, a; - }; - const n2 = i2(31635).__importDefault(i2(42193)), r2 = i2(44095), o = i2(47957); - }, 48461: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.switchScan = void 0; - var n2 = i2(90680), r2 = i2(65212); - t2.switchScan = function(e3, t3) { - return r2.operate(function(i3, r3) { - var o = t3; - return n2.switchMap(function(t4, i4) { - return e3(o, t4, i4); - }, function(e4, t4) { - return o = t4, t4; - })(i3).subscribe(r3), function() { - o = null; - }; - }); - }; - }, 48467: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get header() { + return this._header; } - get _globalTypeName() { - return "journeyCustomer"; + set header(e3) { + this._header = e3; } - get id() { + get footer() { + return this._footer; } - get idType() { + set footer(e3) { + this._footer = e3; } - get displayTypeName() { - return "ArchValueJourneyCustomer"; + get questionGroups() { + return this._questionGroups; } - get isArchValueJourneyCustomer() { - return true; + set questionGroups(e3) { + this._questionGroups = e3; } - } - t2.default = r2; - }, 48481: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(54557); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "WrapupCodeList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 48565: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getTrackingArray = function(e3, t3) { - 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.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); + get selfUri() { + return this._selfUri; } - 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: h, indent: "", wantConsoleOutput: false }; - if (!e3) { - const e4 = "tracking.renumberFlow - Invalid flow passed to renumberFlow."; - throw c.error(e4), e4; + set selfUri(e3) { + this._selfUri = e3; } - p[e3.instanceId] = I(e3, t3); - }, t2.getValidIds = function(e3) { - const t3 = { action: m, indent: "", wantConsoleOutput: false }; - if (!e3) { - const e4 = "tracking.getValidIds - Invalid flow passed to renumberFlow."; - throw c.error(e4), e4; + get explanationPrompt() { + return this._explanationPrompt; } - return I(e3, t3); - }, t2.createNewTrackingId = function(e3) { - return O(e3); - }, t2.getNodeByTrackingId = function(e3, t3) { - 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)), 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) { - 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 S(e3, t3, i3) { - switch (i3.action) { - 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 c.error(n4), n4; + set explanationPrompt(e3) { + this._explanationPrompt = e3; } - const n3 = y(i3); - s.default.each(e3.branches, function(e4) { - e4.topAction && S(e4.topAction, t3, n3); - }), e3.nextAction && S(e3.nextAction, t3, i3); - } - function A(e3, t3, i3) { - switch (i3.action) { - 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 c.error(n3), n3; + get maxResponseCharacters() { + return this._maxResponseCharacters; } - i3.wantConsoleOutput && console.log(i3.indent + e3.trackingId, "- task -", e3.name), e3.topAction && S(e3.topAction, t3, y(i3)); - } - function N(e3, t3, i3) { - switch (i3.action) { - 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 c.error(n4), n4; + set maxResponseCharacters(e3) { + this._maxResponseCharacters = e3; } - 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 v(e3, t3, i3) { - switch (i3.action) { - 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 c.error(n4), n4; + get latestPublishedVersion() { + return this._latestPublishedVersion; } - i3.wantConsoleOutput && console.log(i3.indent + e3.trackingId, "- menu -", e3.name); - const n3 = y(i3); - switch (i3.action) { - case h: - s.default.chain(e3.choices).sortBy("uiSortStr").each(function(e4) { - N(e4, t3, n3); - }); - break; - case m: - s.default.each(e3.choices, function(e4) { - N(e4, t3, n3); - }); + set latestPublishedVersion(e3) { + this._latestPublishedVersion = 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 && c.warning(`next tracking number returned numbers that were in use, first dupe found: '${i3}', next unused one: '${n3}'`), n3; - } - function I(e3, t3) { - switch (t3.action) { - 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 c.error(i4), i4; + get dependencyError() { + return this._dependencyError; } - t3.wantConsoleOutput && console.log("Traversing flow ( action " + t3.action + " ) - " + e3.displayName); - const i3 = {}; - 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 || A(e4, i3, t3); - }), (0, o.isCommonWorkflowViewModel)(e3) && s.default.each(e3.states, (e4) => { - e4.isHidden || e4.isStartUpObject || A(e4, i3, t3); - }), t3.action === h && a.emitter.emit(a.renumber), i3; - } - 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; + set dependencyError(e3) { + this._dependencyError = e3; + } + get division() { + return this._division; + } + set division(e3) { + this._division = this.reviveItem(e3, a); } - const i3 = O(e3.parentFlow); - C(e3, i3), t3[i3] = e3; - } - function E(e3) { - var t3, i3; - 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 _[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 = 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 = O(e3.parentFlow); - n3[r3] = e3; - } - 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) => { - 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() { - this.environments = void 0, this.id = void 0, this.integration = void 0, this.languages = void 0, this.name = void 0, this.project = void 0, this.intents = void 0, n2.baseConstructor.apply(this, arguments); } - i2(45214).extend(n2, "DialogflowAgent"), Object.defineProperties(n2.prototype, { label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 48604: (e2, t2, i2) => { + t2.default = s, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "name", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "modifiedDate", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "published", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "disabled", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "contextId", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "language", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "header", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "footer", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "questionGroups", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "selfUri", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "explanationPrompt", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "maxResponseCharacters", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "latestPublishedVersion", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "dependencyError", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "division", null); + }, 98046(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { + const n2 = i2(31635).__importDefault(i2(1735)), o = i2(19596); + class r extends o.DataContract { constructor(e3) { - super(e3), this._statements = this.coreFactory.createArchBaseValueContainer(e3.variables); - } - get _actionTypeId() { - return r2.updateVariableActionType; - } - get displayTypeName() { - return this._scriptingName; - } - addUpdateDataStatement(e3, t3, i3) { - const n3 = this._infoParm("archDataType", "addUpdateDataStatement"); - return this._checkItem(n3, !e3 || !e3.isArchDataType, "you must pass in a valid Architect data type for the statement to create"), this._checkItem(n3, !e3.isScriptCreatableForFlow(this.parentFlow), "the Architect data type " + e3.label + " is not creatable from scripting for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "'. The data type's isScriptCreatableForFlow must return true to be valid for use when creating an update data statement"), this._statements._addVariableValueAssignment(e3, t3, i3); - } - get isArchActionUpdateData() { - return true; - } - get statements() { - return this._statements._createVariableValuePairArray(); + super(e3), this.entities = this.reviveArray(e3, n2.default); } } - t2.default = o; - }, 48611: (e2, t2, i2) => { + t2.default = r; + }, 67114(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(74797), r2 = i2(30801); - class o extends n2.ArchBaseActionConversationAttribute { - constructor(e3) { - super(e3), this._recordIds = this.coreFactory.createArchWrapper(e3.recordIds); + const n2 = i2(31635), o = i2(17604), r = 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"); } - get _actionTypeId() { - return r2.getConversationAttributesActionType; + get _stringUtilities() { + return this._stringUtils || (this._stringUtils = i2(66381)), this._stringUtils; } - get displayTypeName() { - return this._scriptingName; + _setFromFacets(e3) { + super._setFromFacets(e3), this._setFacetIfSet(() => this.setAllowableValues(e3.allowableValues, e3.caseSensitiveAllowableValues), e3.allowableValues, "_allowableValues"), this._setFacetIfSet(this.setAllowableValuePlaceholder, e3.allowableValuePlaceholder, "_allowableValuePlaceholder"), this._setFacetIfSet(this.setAllowableValuesUseInlineSelect, e3.allowableValuesUseInlineSelect, "_allowableValuesUseInlineSelect"), this._setFacetIfSet(this.setAllowableValuesDisabledCallback, e3.allowableValuesDisabledCallback, "_allowableValuesDisabledCallback"), this._setFacetIfSet(this.setAllowableValueUseOriginalDisplayString, e3.allowableValueUseOriginalDisplayString, "_allowableValueUseOriginalDisplayString"), this._setFacetIfSet(this.setAllowableValueShowOriginalDisplayStringInPopover, e3.allowableValueShowOriginalDisplayStringInPopover, "_allowableValueShowOriginalDisplayStringInPopover"), this._setFacetIfSet(this.setLastAllowableValueSelectedStorageKey, e3.lastAllowableValueSelectedStorageKey, "_lastAllowableValueSelectedStorageKey"); } - get isArchActionGetConversationAttributes() { + get isAllowableValueFacets() { return true; } - get recordIds() { - return this._recordIds; + _buildValidationAllowableValues() { + if (!r.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 = [], r.default.each(this._allowableValues, (e3) => { + const t3 = r.default.isObject(e3) ? e3.idExpressionText ? e3.idExpressionText : e3.id : e3; + t3 ? (this._validationAllowableValues.set(this._caseSensitiveAllowableValues ? t3 : t3.toLowerCase(), true), this._validationAllowableValuesExpr.push(t3)) : d.error(`invalid allowable value ${e3}`); + }); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { - constructor(e3) { - super(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, o.sprintf)(1 === this._allowableValues.length ? p.facets.valueNotInAllowableListOne : p.facets.valueNotInAllowableListMoreThanOne, this._stringUtilities.getListDisplayString(r.default.clone(this._validationAllowableValuesExpr), false, true))); } - get _globalTypeName() { - return "cardCollection"; + get allowableValues() { + return this._allowableValues; } - get initialValue() { - return this._initialValue; + set allowableValues(e3) { + this._allowableValues = c.ParameterValidator.expectArray(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValues", "value"), true), this._buildValidationAllowableValues(); } - get displayTypeName() { - return "ArchVariableCardCollection"; + get lastAllowableValueSelectedStorageKey() { + return this._lastAllowableValueSelectedStorageKey; } - get isArchVariableCardCollection() { - return true; + set lastAllowableValueSelectedStorageKey(e3) { + this._lastAllowableValueSelectedStorageKey = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "lastAllowableValueSelectedStorageKey", "value")); } - } - t2.default = r2; - }, 48730: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get allowableValuePlaceholder() { + return this._allowableValuePlaceholder; } - get _globalTypeName() { - return "journeySegmentCollection"; + set allowableValuePlaceholder(e3) { + this._allowableValuePlaceholder = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuePlaceholder", "value")); } - get displayTypeName() { - return "ArchValueJourneySegmentCollection"; + get allowableValuesUseInlineSelect() { + return this._allowableValuesUseInlineSelect; } - get isArchValueJourneySegmentCollection() { - return true; + set allowableValuesUseInlineSelect(e3) { + this._allowableValuesUseInlineSelect = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesUseInlineSelect", "value")); } - } - t2.default = r2; - }, 48787: (e2, t2, i2) => { - "use strict"; - var n2, r2, o; - Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); - class u extends l.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.emailHeaderNames), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.emailHeadersResult), "f"); + get allowableValuesDisabledCallback() { + return this._allowableValuesDisabledCallback; } - get _actionTypeId() { - return s.getEmailHeadersActionType; + set allowableValuesDisabledCallback(e3) { + this._allowableValuesDisabledCallback = c.ParameterValidator.expectFunction(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesDisabledCallback", "value")); } - get displayTypeName() { - return this._scriptingName; + get allowableValueShowOriginalDisplayStringInPopover() { + return this._allowableValueShowOriginalDisplayStringInPopover; } - get isArchActionGetEmailHeaders() { - return true; + set allowableValueShowOriginalDisplayStringInPopover(e3) { + this._allowableValueShowOriginalDisplayStringInPopover = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueShowOriginalDisplayStringInPopover", "value")); } - setInputDataVariable(e3) { - this._checkItemIsValidJsonObject(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), a.__classPrivateFieldGet(this, r2, "f").setVariable(e3); + get allowableValueUseOriginalDisplayString() { + return this._allowableValueUseOriginalDisplayString; } - get emailHeaderNames() { - return a.__classPrivateFieldGet(this, n2, "f"); + set allowableValueUseOriginalDisplayString(e3) { + this._allowableValueUseOriginalDisplayString = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueUseOriginalDisplayString", "value")); } - get emailHeadersResult() { - return a.__classPrivateFieldGet(this, r2, "f"); + get caseSensitiveAllowableValues() { + return this._caseSensitiveAllowableValues; } - get getEmailHeadersFailureOutputs() { - if (this._coreActionViewModel.errorBindings) return a.__classPrivateFieldGet(this, o, "f") || a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings), "f"), a.__classPrivateFieldGet(this, o, "f"); + set caseSensitiveAllowableValues(e3) { + c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "caseSensitiveAllowableValues", "value"), true), this._caseSensitiveAllowableValues = true === e3, this._buildValidationAllowableValues(); } - } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 48832: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + setAllowableValues(e3, t3) { + return r.default.isBoolean(t3) && (this.caseSensitiveAllowableValues = t3), this.allowableValues = e3, this; } - get displayTypeName() { - return "ArchSettingsInQueueCallFlow"; + setLastAllowableValueSelectedStorageKey(e3) { + return this.lastAllowableValueSelectedStorageKey = e3, this; } - get holdMusic() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().holdMusic); + setAllowableValuePlaceholder(e3) { + return this.allowableValuePlaceholder = e3, this; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); + setAllowableValuesUseInlineSelect(e3) { + return this.allowableValuesUseInlineSelect = e3, this; } - get isArchSettingsInQueueCallFlow() { - return true; + setAllowableValuesDisabledCallback(e3) { + return this.allowableValuesDisabledCallback = e3, this; } - } - t2.default = r2; - }, 48849: (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, t3, i3) { - super(), this._checkItem(this._infoParmCtor("archActionDefinition"), !e3 || !e3.isArchDefinitionAction, "you must pass in a valid ArchDefinitionAction instance."), this._checkItemUndefinedOrNull(this._infoParmCtor("propertyDefaultValue"), i3), this._checkItemUndefinedOrNull(this._infoParmCtor("propertyName"), t3), this._archActionDefinition = e3, this._propertyName = t3, this._propertyDefaultValue = i3; + setAllowableValueShowOriginalDisplayStringInPopover(e3) { + return this.allowableValueShowOriginalDisplayStringInPopover = e3, this; } - get displayTypeName() { - return "ArchSettingActionPropertyDefault"; + setAllowableValueUseOriginalDisplayString(e3) { + return this.allowableValueUseOriginalDisplayString = e3, this; } - get isArchSettingActionPropertyDefault() { - return true; + addDescriptionInfo(e3, t3) { + super.addDescriptionInfo(e3, t3); + const i3 = this._allowableValues; + if (r.default.isArray(i3) && i3.length > 0) { + const t4 = { title: 1 === i3.length ? p.expression.facets.allowableValue : p.expression.facets.allowableValues, entries: [] }; + e3.additionalInfoSections.push(t4), r.default.each(i3, (e4) => { + r.default.isString(e4) ? t4.entries.push(e4) : this.allowableValueUseOriginalDisplayString && this.allowableValueShowOriginalDisplayStringInPopover && r.default.isString(e4.displayString) ? t4.entries.push(e4.displayString) : r.default.isString(e4.idExpressionText) ? t4.entries.push(e4.idExpressionText) : r.default.isString(e4.id) && t4.entries.push(e4.id); + }); + } } - get logStr() { - return this.logStrTypeOnly; + get hasDescriptionInfo() { + return !!super.hasDescriptionInfo || r.default.isArray(this._allowableValues) && this._allowableValues.length > 0; } - get definitionAction() { - return this._archActionDefinition; + get hasIAllowableValueAllowableValues() { + var e3; + return this.hasAllowableValues && !!(null === (e3 = this.allowableValues[0]) || void 0 === e3 ? void 0 : e3.id); } - get propertyName() { - return this._propertyName; + get hasStringTypeAllowableValues() { + return this.hasAllowableValues && r.default.isString(this.allowableValues[0]); } - get propertyDefaultValue() { - return this._propertyDefaultValue; + get hasAllowableValues() { + return this.allowableValues && this.allowableValues.length > 0; + } + getAllowableValueForValue(e3) { + var t3; + if (this.hasAllowableValues && (null == e3 ? void 0 : e3.length)) { + if (this.caseSensitiveAllowableValues) { + if (this.hasIAllowableValueAllowableValues) { + for (const t4 of this.allowableValues) if (e3 === (null == t4 ? void 0 : t4.id)) return t4; + } else for (const t4 of this.allowableValues) if (e3 === t4) return t4; + } else if (e3 = e3.toLowerCase(), this.hasIAllowableValueAllowableValues) { + for (const i3 of this.allowableValues) if (e3 === (null === (t3 = null == i3 ? void 0 : i3.id) || void 0 === t3 ? void 0 : t3.toLowerCase())) return i3; + } else for (const t4 of this.allowableValues) if (e3 === (null == t4 ? void 0 : t4.toLowerCase())) return t4; + } } } - t2.default = r2; - }, 48880: (e2, t2, i2) => { + 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); + }, 87921(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(71874), o = i2(71874), a = n2.__importDefault(i2(81574)); - class s extends a.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(17604), r = 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"); } - get _globalTypeName() { - return "worktypeStatus"; + get isBaseFacets() { + return true; } - get id() { - return this._getAssignableProperty("id"); + setFromFacets(e3) { + e3 && this._setFromFacets(e3); } - get name() { - return this._getAssignableProperty("name"); + _setFromFacets(e3) { + p.ParameterValidator.expectObject(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "baseFacets"), false), this._setFacetIfSet(this.setAllowNull, e3.allowNull), this._setFacetIfSet(this.setIsCollection, e3.isCollection); } - get category() { - return this._getAssignableProperty("category"); + _setFacetIfSet(e3, t3, i3) { + p.ParameterValidator.expectFunction(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "setter"), false), r.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); } - get displayTypeName() { - return "ArchValueWorktypeStatus"; + _createValidationResult(e3, t3, i3) { + return { isValid: e3, isWarning: true === i3, message: t3 }; } - get isArchValueWorktypeStatus() { - return true; + _createErrorResult(e3) { + return this._createValidationResult(false, e3); } - setLiteralWorktypeStatusById(e3) { - this._setLiteralWorktypeStatusInternal(e3, false); + _createSuccessResult() { + return this._createValidationResult(true); } - setLiteralWorktypeStatusByName(e3) { - this._setLiteralWorktypeStatusInternal(e3, true); + _createWarningResult(e3) { + return this._createValidationResult(true, e3, true); } - _setLiteralWorktypeStatusInternal(e3, t3) { - const i3 = t3 ? "name" : "id", n3 = t3 ? "setLiteralWorktypeStatusByName" : "setLiteralWorktypeStatusById"; - null != e3 && "" !== e3 || this.logErrorAndThrow(`The supplied ${i3} provided for ${n3} may not be null or undefined.`); - const a2 = this._infoParm(i3, n3); - this._checkItemIsValidLiteralString(a2, e3); - const s2 = t3 ? (0, o.getWorktypeStatusByName)(e3, this._coreExpression.parentFlow) : (0, r2.getWorktypeStatusById)(e3, this._coreExpression.parentFlow); - (null == s2 ? void 0 : s2.id) || this.logErrorAndThrow(`A worktype status with the supplied ${i3} cannot be found for the associated worktype. Worktype status ${i3}: ${e3}`), this._coreExpression.type.setPropertiesAsLiteralById(this._coreExpression, s2.id); + _validateValue(e3, t3) { + return this._facetValidateValue(e3, t3) || this._createSuccessResult(); } - } - t2.default = s; - }, 48905: (e2, t2, i2) => { - "use strict"; - var n2 = i2(61897); - e2.exports = function(e3) { - return !(!e3 || "string" != typeof e3 || e3.length < 6 || new RegExp("[^" + n2.get().replace(/[|\\{}()[\]^$+*?.-]/g, "\\$&") + "]").test(e3)); - }; - }, 48932: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); + addDescriptionInfo(e3, t3) { } - get _actionTypeId() { - return r2.clearSlotActionType; + get hasDescriptionInfo() { + return false; } - get displayTypeName() { - return "ArchActionClearSlot"; + get allowNull() { + return this._allowNull; } - get isArchActionClearSlot() { - return true; + set allowNull(e3) { + this._allowNull = p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); } - addSlot(e3) { - const t3 = this._getCoreViewModel(); - t3.addSlot().name = e3, this.logNote(`new slot added at index ${t3.slots.items.length - 1}.`); + setAllowNull(e3) { + return this.allowNull = e3, this; } - deleteSlotByIndex(e3) { - const t3 = this._infoPropSet("index", "deleteSlotByIndex"), i3 = this._getCoreViewModel(); - this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, e3 < 0 || e3 >= i3.slots.items.length, "the index parameter value of " + e3 + " is invalid. It must be >=0 and <" + i3.slots.items.length + "."), this.logNoteVerbose(`deleting slot at index: ${e3}.`), i3.slots.removeChild(i3.slots.items[e3]), this.logNote(`deleted the slot at index ${e3}.`); + get isCollection() { + return this._isCollection; } - get slotCount() { - return this._getCoreViewModel().slots.items.length; + set isCollection(e3) { + this._isCollection = p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); } - } - t2.default = a; - }, 48944: (e2, t2, i2) => { - const n2 = i2(28730), { getAttributesActionType: r2 } = i2(30801), o = i2(42217); - function a() { - Object.defineProperties(this, { _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments); - for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments); - for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteResolveOldToNewValues(e3); - } }, variables: { enumerable: true, get: function() { - return this._variables; - }, set: function(e3) { - this._variables = this.reviveArray(e3, o); - } } }), n2.extend(a, r2, true), e2.exports = a; - }, 49005: (e2, t2, i2) => { - function n2() { - this.actionInfoId = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(39950).extend(n2, "ClipboardContentMenuChoiceModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3, i3, r2) { - this.actionInfoId = t3.action && t3.action.info ? t3.action.info.typeId : void 0, n2._super.configure.apply(this, arguments); - } } }), e2.exports = n2; - }, 49108: (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" }; - }, 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + setIsCollection(e3) { + return this.isCollection = e3, this; } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findQueue.nameLabel, searchResultLabel: d.findActions.findQueue.resultLabel, searchResultExpressionOptions: a.ExpressionTypeQueueOptions.create(), searchResultItemType: o.expressionTypeNames.queue }); + validateExpressionItem(e3, t3) { + if (null == e3) return this._createErrorResult(_.facets.nothingToValidate); + if (e3.isCollection) return this._createSuccessResult(); + const i3 = this._facetGetExpressionType(), n3 = e3.type; + 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, o.sprintf)(_.facets.incorrectType, n3.displayString, i3.displayString)); + } + clone() { + return (0, c.clone)(this); } } - 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) => { + 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); + }, 59046(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 = i2(80295), s = n2.__importDefault(i2(8471)); - class l extends s.default { - constructor(e3) { - super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreIntentSettingsViewModel"), e3), this._coreIntentSettingsViewModel = e3, (0, a.makeUnenumerable)(this, "_coreIntentSettingsViewModel"), this._confirmation = this.coreFactory.createArchWrapper(e3.confirmationExpression); - } - get displayTypeName() { - return "ArchSettingsNluIntent"; + const n2 = i2(31635), o = n2.__importDefault(i2(87921)), r = i2(80428), a = n2.__importDefault(i2(65302)); + class s extends o.default { + get className() { + return "CommunicationFacets"; } - get isArchSettingsNluIntent() { + get isCommunicationFacets() { return true; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreIntentSettingsViewModel.parentFlow); - } - get logStr() { - return this.logStrTypeOnly; - } - get confirmation() { - return this._confirmation; + _facetGetExpressionItemLitValue(e3) { + return e3.getLitAsString(); } - associateWithTask(e3) { - this.parentFlow.isArchFlowDigitalBot || this.logErrorAndThrow(`cannot associate a task with an intent in a flow that is not of type '${o.default.FLOW_TYPES.digitalBot}'. ${this.logStr}`), this._checkItem(this._infoPropSet("archReusableTask", "associateWithTask"), !e3 || !e3.isArchTask || !e3.isReusableTask, "you cannot associate an intent to an object that is not a reusable Architect task"); - const t3 = this._coreIntentSettingsViewModel.parent, i3 = this._coreIntentSettingsViewModel.name; - t3.addIntentTaskMapping({ intentName: i3, taskId: e3.id }); + _facetGetExpressionType() { + return a.default.getGlobalTypeGroup().getType(r.expressionTypeNames.communication, this.isCollection); } - get associatedTask() { - var e3; - if (this.parentFlow.isArchFlowDigitalBot || this.logErrorAndThrow(`cannot get an associated task for an intent in a flow that is not of type '${o.default.FLOW_TYPES.digitalBot}'. ${this.logStr}`), !this.parentFlow.tasksReusable.length) return; - const t3 = null === (e3 = this._coreIntentSettingsViewModel.parent.intentsToReusableTasksMapping[this._coreIntentSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.id; - return t3 ? r2.default.findWhere(this.parentFlow.tasksReusable, { id: t3 }) : void 0; + _facetValidateValue(e3, t3) { } } - t2.default = l; - }, 49304: (e2, t2, i2) => { + t2.default = s; + }, 68259(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)), 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); - } - get parentFlow() { - return this._parentFlow; - } - get name() { - return this.model.name; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(63005)), a = n2.__importDefault(i2(65302)), s = i2(80428), l = i2(83855), u = i2(80295), c = i2(17604), d = n2.__importDefault(i2(41510)), p = i2(83855), _ = i2(47957); + class h extends r.default { + constructor() { + super(), (0, u.makeUnenumerable)(this, "_maxValStr"), (0, u.makeUnenumerable)(this, "_minValStr"), (0, u.makeUnenumerable)(this, "_minValParsed"), (0, u.makeUnenumerable)(this, "_maxValParsed"); } - get cardLabel() { - return this.name; + static createMinMax(e3, t3, i3, n3) { + const r2 = new h(); + return o.default.isUndefined(e3) || r2.setMinDec(e3).setMinValInclusive(true === t3), o.default.isUndefined(i3) || r2.setMaxDec(i3).setMaxValInclusive(true === n3), r2; } - get contents() { - return [this.model.name, this.values, this.synonyms, this.labels]; + static createMinMaxFromDecimalStrings(e3, t3, i3, n3) { + const r2 = new h(); + return o.default.isUndefined(e3) || r2.setMinValStr(e3).setMinValInclusive(true === t3), o.default.isUndefined(i3) || r2.setMaxValStr(i3).setMaxValInclusive(true === n3), r2; } - get referenceId() { - return this.name; + _setFromFacets(e3) { + super._setFromFacets(e3), this._setFacetIfSet(this.setMinValStr, e3.minValStr, "_minValStr"), this._setFacetIfSet(this.setMaxValStr, e3.maxValStr, "_maxValStr"); } get className() { - return "DynamicSlotTypeViewModel"; - } - getConfiguration(e3, t3) { - return this.model; + return "CurrencyFacets"; } - get amObjectEventSink() { + get isCurrencyFacets() { return true; } - initializeDesignTime() { - super.initializeDesignTime(), o.default.each([this.values, this.synonyms, this.labels], (e3) => { - u.registerEventSinkForEventEmitter(e3.id, this); - }); - } - handleSlotTypeInfoUpdated() { - const e3 = this.parentFlow; - o.default.isFunction(e3.updateWorkbenchDynamicSlotTypesUpdated) && e3.updateWorkbenchDynamicSlotTypesUpdated(); - } - objEvent_listOrderChanged() { - this.handleSlotTypeInfoUpdated(); - } - objEvent_expressionValueChanged() { - this.handleSlotTypeInfoUpdated(); + get minValStr() { + return this._minValStr; } - createNewValuesExpression(e3) { - const t3 = e3 || null, i3 = l.ExpressionTypeStringOptions.create((e4) => { - e4.setDescriptionInfo(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesDescription).setFeatureConfigName(c.default.botFlowsDynamicSlotTypeFeature).setIninTestingField("slot-type-values"); - }); - return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingValuesLabel, p.globalTypes.stringCollection, null, i3); + get maxValStr() { + return this._maxValStr; } - 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(c.default.botFlowsDynamicSlotTypeFeature).setIninTestingField("slot-type-synonyms").setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsNoValueSelectionLabel); - }); - return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingSynonymsLabel, p.globalTypes.stringCollection, null, i3); + setMinValStr(e3) { + return this._minValStr = e3, this._minValParsed = (0, l.getParsedDecimal)(e3, p.VALIDATE_ALLOW_INTEGER_FORM), this; } - 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(c.default.botFlowsDynamicSlotTypePhase2Feature).setIninTestingField("slot-type-labels").setIsOptional(true).setDefaultToNoValue(true).setModeNoValueSelectionLabel(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsNoValueSelectionLabel).setModeNoValueRuntimeEvaluationStr(h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsNoValueSelectionLabel); - }); - return d.expression(this.parentFlow, this.parentFlow.botFlowSettings, t3, h.dynamicSlotTypes.settings.dynamicSlotTypeSettingLabelsLabel, p.globalTypes.communicationCollection, null, i3); + setMaxValStr(e3) { + return this._maxValStr = e3, this._maxValParsed = (0, l.getParsedDecimal)(e3, p.VALIDATE_ALLOW_INTEGER_FORM), this; } - get isDynamicSlotTypeViewModel() { - return true; + get _hasStringBounds() { + return void 0 !== this._minValStr || void 0 !== this._maxValStr; } - } - t2.default = m; - }, 49384: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); + addDescriptionInfo(e3, t3) { + super.addDescriptionInfo(e3, t3), void 0 !== this._minValStr && t3.push((0, c.sprintf)(d.default.itemColonValue, _.expressionsHelp.parameters.minValue, this._minValStr)), void 0 !== this._maxValStr && t3.push((0, c.sprintf)(d.default.itemColonValue, _.expressionsHelp.parameters.maxValue, this._maxValStr)); } - get _actionTypeId() { - return r2.transferUserActionType; + get hasDescriptionInfo() { + return !!this._hasStringBounds || super.hasDescriptionInfo; } - get displayTypeName() { - return "ArchMenuTransferToUser"; + _facetGetExpressionItemLitValue(e3) { + let t3 = e3.getLitAsString(); + if (t3) { + const e4 = t3.indexOf("|"); + e4 >= 0 && (t3 = t3.substring(0, e4)); + } + if (t3) return this._hasStringBounds ? t3 : parseFloat(t3); } - get actionTransferToUser() { - return this._archAction; + _facetValidateValue(e3, t3) { + if (this._hasStringBounds) { + if (null == e3 || "" === e3) return; + const t4 = String(e3), i3 = (0, l.getParsedDecimal)(t4, p.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, c.sprintf)(_.facets.valueMustBeGreaterThanOrEqualTo, t4, this._minValStr)); + } else if (i3.isLessThanOrEqualTo(this._minValParsed)) return this._createErrorResult((0, c.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, c.sprintf)(_.facets.valueMustBeLessThanOrEqualTo, t4, this._maxValStr)); + } else if (i3.isGreaterThanOrEqualTo(this._maxValParsed)) return this._createErrorResult((0, c.sprintf)(_.facets.valueMustBeLessThan, t4, this._maxValStr)); + } + return; + } + return super._facetValidateValue(e3, t3); } - get isArchMenuTransferToUser() { - return true; + _facetGetExpressionType() { + return a.default.getGlobalTypeGroup().getType(s.expressionTypeNames.currency, this.isCollection); } } - t2.default = a; - }, 49416: (e2, t2, i2) => { + t2.default = h; + }, 52415(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)), 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._regExActions = new RegExp(/{{\s?actions\.(.*?)\s?}}/), this._regExLink = new RegExp(/{{link\.([^,}]+?)(?:,\s(.*?))?}}/); - } + const n2 = i2(31635), o = n2.__importDefault(i2(87921)), r = i2(80428), a = n2.__importDefault(i2(65302)); + class s extends o.default { get className() { - return "StringResolverService"; + return "CustomerSegmentFacets"; } - get isStringResolverService() { + get isCustomerSegmentFacets() { return true; } - resolveString(e3, t3) { - if (!r2.default.isString(e3) || e3.indexOf("{") < 0) return e3; - e3 = this._resolveLinks(e3, s.default.linkIdsToLinkUrl); - 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, 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, 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, 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; ) { - const t4 = e3; - let i4; - switch (u2[1]) { - case "__INTENTS__": - i4 = c.intents.label; - break; - case "__KNOWLEDGE__": - i4 = c.knowledgeSettings.knowledgeLabel; - break; - case "__NATURAL_LANGUAGE_UNDERSTANDING__": - i4 = c.bot.naturalLanguageUnderstanding; - } - 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; ) { - const t4 = e3; - let i4; - switch (p2[1]) { - case "__STANDARD__": - i4 = c.knowledgeSettings.knowledgeSettingsModes.standard; - break; - case "__CUSTOM__": - i4 = c.knowledgeSettings.knowledgeSettingsModes.custom; - } - 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; + _facetGetExpressionItemLitValue(e3) { + return e3.getLitAsString(); } - _resolveLinks(e3, t3) { - if (!r2.default.isString(e3) || e3.indexOf("{") < 0) return e3; - let i3 = ""; - return this.resolveLinkToParts(e3, t3).forEach((e4) => { - if (e4.linkInfo) { - const t4 = "function" == typeof e4.linkInfo.getLinkUrl ? e4.linkInfo.getLinkUrl() : "#", n3 = r2.default.escape(t4), o2 = r2.default.escape(e4.linkInfo.linkTitle || e4.text); - i3 += `${o2}`; - } else i3 += e4.text; - }), i3; + _facetGetExpressionType() { + return a.default.getGlobalTypeGroup().getType(r.expressionTypeNames.customerSegment, this.isCollection); } - resolveLinkToParts(e3, t3) { - if (!r2.default.isString(e3) || e3.indexOf("{") < 0) return [{ text: e3 }]; - const i3 = []; - let n3 = this._regExLink.exec(e3); - for (; n3; ) { - const r3 = n3[0], o2 = n3[1], a2 = n3[2]; - i3.push({ text: e3.slice(0, n3.index) }), e3 = e3.slice(n3.index + r3.length); - const s2 = t3[o2]; - if (s2) { - const e4 = a2 || s2.linkTitle || s2.getLinkUrl(); - i3.push({ text: e4, linkInfo: s2 }); - } 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; + _facetValidateValue(e3, t3) { } } - t2.default = new p(); - }, 49450: (e2, t2, i2) => { + t2.default = s; + }, 63005(e2, t2, i2) { "use strict"; - 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(80295), a = n2.__importDefault(i2(65302)), s = i2(80428), l = i2(80295), u = n2.__importDefault(i2(74986)), c = i2(55909), d = i2(33951), p = i2(47957); + class _ extends u.default { + constructor() { + super(), this._disallowZero = false, (0, l.makeUnenumerable)(this, "_disallowZero"), (0, l.makeUnenumerable)(this, "_decimalPlaces"); } - _loadModel(e3) { - super._loadModel(e3), this.addAutoCleanedUpEventSinkWatch(c.expressionValueChanged, this.notificationType, () => { - this.setOutOfService(); - }), this.setOutOfService(); + static createMinMax(e3, t3, i3, n3) { + const r2 = new _(); + return o.default.isUndefined(e3) || r2.setMinDec(e3).setMinValInclusive(true === t3), o.default.isUndefined(i3) || r2.setMaxDec(i3).setMaxValInclusive(true === n3), r2; } - static get managedProperties() { - 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 }]; + _setFromFacets(e3) { + super._setFromFacets(e3), this._setFacetIfSet(this.setMaxDec, e3.maxVal, "_maxVal"), this._setFacetIfSet(this.setMinDec, e3.minVal, "_minVal"), this._setFacetIfSet(this.setDecimalPlaces, e3.decimalPlaces, "_decimalPlaces"), this._setFacetIfSet(this.setDisallowZero, e3.disallowZero, "_disallowZero"); } - static get branchInfo() { - return u.default.successFailure; + get className() { + return "DecimalFacets"; } - _getPossibleErrors() { - return d.sendNotificationFailureReasons; + get isDecimalFacets() { + return true; } - setOutOfService() { - switch (this.notificationType.text) { - case "email": - this.setOutOfServiceForEmailProperties(true), this.setOutOfServiceForChatProperties(false); - break; - case "chat": - this.setOutOfServiceForEmailProperties(false), this.setOutOfServiceForChatProperties(true); - break; - default: - this.setOutOfServiceForEmailProperties(false), this.setOutOfServiceForChatProperties(false); - } - _.validate(this, true); + addDescriptionInfo(e3, t3) { + super.addDescriptionInfo(e3, t3), true === this.disallowZero && t3.push(p.expressionsHelp.parameters.notAllowedZero); } - setOutOfServiceForChatProperties(e3) { - this.sendToGroup.outOfService = !e3, this.chatMessage.outOfService = !e3; + get hasDescriptionInfo() { + return !!super.hasDescriptionInfo || this.disallowZero; } - setOutOfServiceForEmailProperties(e3) { - 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; + setMaxDec(e3) { + return this._maxVal = d.ParameterValidator.expectNumber(e3, () => c.ParameterInfo.createFunctionParameter(this.className, "setMaxDec", "value")), this; } - } - 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 }); - const n2 = i2(31635), r2 = n2.__importStar(i2(1115)), o = n2.__importDefault(i2(5730)); - class a extends o.default { - constructor(e3) { - super(e3.parentFlow, e3); + setMinDec(e3) { + return this._minVal = d.ParameterValidator.expectNumber(e3, () => c.ParameterInfo.createFunctionParameter(this.className, "setMinDec", "value")), this; } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(); + get decimalPlaces() { + return this._decimalPlaces; } - validate(e3) { - this.variables.isVariableListEmpty(e3), super.validate(e3); + set decimalPlaces(e3) { + this._decimalPlaces = d.ParameterValidator.expectNumber(e3, () => c.ParameterInfo.createFunctionParameter(this.className, "setDecimalPlaces", "value")); } - propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.variables && r2.validateAction(this, false, true); + setDecimalPlaces(e3) { + return this.decimalPlaces = e3, this; } - } - a.className = "BaseParticipantDataActionViewModel", t2.default = a; - }, 49493: (e2, t2, i2) => { - const n2 = i2(5233); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "DialogflowCxAgentList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 49508: (e2, t2, i2) => { - const n2 = i2(60475), { setSecuredDataActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 49574: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFindSystemObjectByNameActionModel = void 0; - const n2 = i2(31635), r2 = i2(7340), o = i2(80295), a = i2(80295), s = i2(7401); - class l extends r2.BaseFindSystemObjectActionModel { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_findName"); + get disallowZero() { + return this._disallowZero; } - get findName() { - return this._findName; + set disallowZero(e3) { + this._disallowZero = d.ParameterValidator.expectBool(e3, () => c.ParameterInfo.createPropertySet(this.className, "disallowZero", "value")); } - set findName(e3) { - this._findName = this.reviveItem(e3, s); + setDisallowZero(e3) { + return this.disallowZero = e3, this; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._findName.pasteReIdOrRename(e3); + _facetGetExpressionItemLitValue(e3) { + return e3.getLitAsFloat(); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._findName.pasteResolveOldToNewValues(e3); + _facetGetExpressionType() { + return a.default.getGlobalTypeGroup().getType(s.expressionTypeNames.decimal, this.isCollection); } } - t2.BaseFindSystemObjectByNameActionModel = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findName", null); - }, 49617: (e2, t2, i2) => { - const n2 = i2(48584), r2 = i2(62896), o = i2(5233), a = i2(49493), s = i2(36019).default; - class l { - } - 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) => { + t2.default = _, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], _.prototype, "decimalPlaces", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], _.prototype, "disallowZero", null); + }, 50964(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), 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: 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); - } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3); - } - static createNoMatchRepromptsOptions() { - 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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 o2 = new h(); + return r.default.isUndefined(e3) || o2.setMinDur(e3, true === t3), r.default.isUndefined(i3) ? o2.setMaxDur(a.default.maxDurationMs, false) : o2.setMaxDur(i3, true === n3), o2; } - 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); + constructor() { + super(), this._maxVal || this.setMaxDur(a.default.maxDurationMs, false); } - 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); + _setFromFacets(e3) { + super._setFromFacets(e3), this._setFacetIfSet(() => this.setMaxDur(e3.maxVal, e3.maxValInclusive), e3.maxVal, "_maxVal"), this._setFacetIfSet(() => this.setMinDur(e3.minVal, e3.minValInclusive), e3.minVal, "_minVal"); } - _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); + get className() { + return "DurationFacets"; } - } - 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; - const n2 = i2(31635), r2 = i2(5894), o = i2(30801), a = i2(80295), s = i2(80295), l = n2.__importDefault(i2(7401)); - class u extends r2.BaseFailureOutputsActionModel { - constructor(e3) { - super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_skillExpressionFilters"); + get isDurationFacets() { + return true; } - pasteReIdOrRename(e3) { - var t3; - super.pasteReIdOrRename(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteReIdOrRename(e3); + setMaxDur(e3, t3) { + return this._maxVal = d.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMaxDur", "maxDur"), true), r.default.isUndefined(t3) || this.setMaxValInclusive(t3), this; } - pasteResolveOldToNewValues(e3) { - var t3; - super.pasteResolveOldToNewValues(e3), null === (t3 = this.skillExpressionFilters) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); + setMinDur(e3, t3) { + return this._minVal = d.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMinDur", "minDur"), true), r.default.isUndefined(t3) || this.setMinValInclusive(t3), this; } - get skillExpressionFilters() { - return this._skillExpressionFilters; + _createDurationError(e3, t3, i3, n3) { + return this._createErrorResult((0, o.sprintf)(e3, this._getFacetValueForDisplay(t3), this._getFacetValueForDisplay(i3))); } - set skillExpressionFilters(e3) { - this._skillExpressionFilters = this.reviveItem(e3, l.default); + _facetGetExpressionItemLitValue(e3) { + if (!e3.isLit) return null; + const t3 = this._facetGetExpressionType(), i3 = e3.getLitAsString(); + return t3.toMilliseconds(i3); } - } - 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), 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); + _facetGetExpressionType() { + return p.default.getGlobalTypeGroup().getType(c.expressionTypeNames.duration, this.isCollection); } - static get managedProperties() { - 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 }]; + _facetValidateValue(e3, t3) { + if (void 0 !== this.minVal) { + if (this.minValInclusive) { + if (e3 < this.minVal) return this._createDurationError(_.facets.valueMustBeGreaterThanOrEqualTo, e3, this.minVal, t3); + } else if (e3 <= this.minVal) return this._createDurationError(_.facets.valueMustBeGreaterThan, e3, this.minVal, t3); + } + if (void 0 !== this.maxVal) { + if (this.maxValInclusive) { + if (e3 > this.maxVal) return this._createDurationError(_.facets.valueMustBeLessThanOrEqualTo, e3, this.maxVal, t3); + } else if (e3 >= this.maxVal) return this._createDurationError(_.facets.valueMustBeLessThan, e3, this.maxVal, t3); + } + return { isValid: true }; } - _getPossibleErrors() { - return _.externalTransferFailureReasons; + _getFacetValueForDisplay(e3) { + return s.getSearchStringFromMilliseconds(e3); } - getDetails() { - return this.externalNumber && this.externalNumber.text ? new u.ActionDetails([g.externalTransfer.number], [this.externalNumber.text]) : null; + validateMilliseconds(e3, t3) { + return this._facetValidateValue(e3, t3); } } - 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) => { + t2.default = h; + }, 15508(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SmsPhoneNumber = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(19596), s = i2(55656); - class l extends a.DataContract { - constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_phoneNumber"), (0, o.makeUnenumerable)(this, "_phoneNumberStatus"), (0, o.makeUnenumerable)(this, "_supportsSms"), (0, o.makeUnenumerable)(this, "_provisionedThroughPureCloud"), (0, o.makeUnenumerable)(this, "_version"); - } - get id() { - return this._phoneNumber; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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"); } - set id(e3) { - this._phoneNumber = e3; + static createMinMax(e3, t3, i3, n3) { + const r2 = new _(); + return o.default.isUndefined(e3) || r2.setMinInt(e3, true === t3), o.default.isUndefined(i3) || r2.setMaxInt(i3, true === n3), r2; } - get phoneNumber() { - return this._phoneNumber; + _setFromFacets(e3) { + super._setFromFacets(e3), this._setFacetIfSet(() => this.setMaxInt(e3.maxVal, e3.maxValInclusive), e3.maxVal, "_maxVal"), this._setFacetIfSet(() => this.setMinInt(e3.minVal, e3.maxValInclusive), e3.minVal, "_minVal"), this._setFacetIfSet(this.setDisallowZero, e3.disallowZero, "_disallowZero"); } - set phoneNumber(e3) { - this._phoneNumber = e3; + get className() { + return "IntegerFacets"; } - get phoneNumberStatus() { - return this._phoneNumberStatus; + get isIntegerFacets() { + return true; } - set phoneNumberStatus(e3) { - this._phoneNumberStatus = e3; + addDescriptionInfo(e3, t3) { + super.addDescriptionInfo(e3, t3), true === this.disallowZero && t3.push(p.expressionsHelp.parameters.notAllowedZero); } - get supportsSms() { - return this._supportsSms; + get hasDescriptionInfo() { + return !!super.hasDescriptionInfo || this.disallowZero; } - set supportsSms(e3) { - this._supportsSms = e3; + setMaxInt(e3, t3) { + if (!o.default.isUndefined(e3)) { + const i3 = u.ParameterValidator.expectIntMoreThan(e3, this.minVal, () => l.ParameterInfo.createFunctionParameter(this.className, "setMaxInt", "maxInt")); + !o.default.isUndefined(i3) && (t3 && i3 < r.default.maxInt || i3 < r.default.maxInt - 1) ? (this._maxVal = i3, o.default.isUndefined(t3) || this.setMaxValInclusive(t3)) : this._maxVal = void 0; + } + return this; } - get provisionedThroughPureCloud() { - return this._provisionedThroughPureCloud; + setMinInt(e3, t3) { + if (!o.default.isUndefined(e3)) { + const i3 = u.ParameterValidator.expectIntLessThan(e3, this.maxVal, () => l.ParameterInfo.createFunctionParameter(this.className, "setMinInt", "minInt")); + !o.default.isUndefined(i3) && (t3 && i3 > r.default.minInt || i3 > r.default.minInt + 1) ? (this._minVal = i3, o.default.isUndefined(t3) || this.setMinValInclusive(t3)) : this._minVal = void 0; + } + return this; } - set provisionedThroughPureCloud(e3) { - this._provisionedThroughPureCloud = e3; + get disallowZero() { + return this._disallowZero; } - get version() { - return this._version; + set disallowZero(e3) { + this._disallowZero = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "disallowZero", "value")); } - set version(e3) { - this._version = e3; + setDisallowZero(e3) { + return this.disallowZero = e3, this; } - get label() { - return (0, s.splitRawPhoneNumber)(this._phoneNumber).schemeType ? this._phoneNumber : "tel:" + this._phoneNumber; + _facetGetExpressionItemLitValue(e3) { + return e3.getLitAsInt(); } - set label(e3) { - this._phoneNumber = e3; + _facetGetExpressionType() { + return d.default.getGlobalTypeGroup().getType(c.expressionTypeNames.integer, this.isCollection); } } - t2.SmsPhoneNumber = 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, "phoneNumber", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "phoneNumberStatus", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "supportsSms", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "provisionedThroughPureCloud", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "version", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "label", null); - }, 49804: (e2, t2, i2) => { - const n2 = i2(23695), r2 = i2(88557).default, o = i2(37752).default; - function a() { - Object.defineProperties(this, { _emailSendSettings: { writable: true }, _errorHandling: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, "EmailSendFlowConfiguration"), Object.defineProperties(a.prototype, { emailSendSettings: { enumerable: true, get: function() { - return this._emailSendSettings; - }, set: function(e3) { - this._emailSendSettings = this.reviveItem(e3, r2); - } }, errorHandling: { enumerable: true, get: function() { - return this._errorHandling; - }, set: function(e3) { - this._errorHandling = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 49872: (e2, t2, i2) => { + t2.default = _, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], _.prototype, "disallowZero", null); + }, 74986(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(17604), r = 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"); } - get _globalTypeName() { - return "schedule"; + _setFromFacets(e3) { + super._setFromFacets(e3), this._setFacetIfSet(this.setMinValInclusive, e3.minValInclusive), this._setFacetIfSet(this.setMaxValInclusive, e3.maxValInclusive); } - get displayTypeName() { - return "ArchVariableSchedule"; + _facetValidateValue(e3, t3) { + if (void 0 !== this.minVal) { + if (this.minValInclusive) { + if (e3 < this.minVal) return this._createErrorResult((0, o.sprintf)(d.facets.valueMustBeGreaterThanOrEqualTo, e3, this.minVal)); + } else if (e3 <= this.minVal) return this._createErrorResult((0, o.sprintf)(d.facets.valueMustBeGreaterThan, e3, this.minVal)); + } + if (void 0 !== this.maxVal) { + if (this.maxValInclusive) { + if (e3 > this.maxVal) return this._createErrorResult((0, o.sprintf)(d.facets.valueMustBeLessThanOrEqualTo, e3, this.maxVal)); + } else if (e3 >= this.maxVal) return this._createErrorResult((0, o.sprintf)(d.facets.valueMustBeLessThan, e3, this.maxVal)); + } } - get initialValue() { - return this._initialValue; + addDescriptionInfo(e3, t3) { + super.addDescriptionInfo(e3, t3), r.default.isActualNumber(this.minVal) && t3.push((0, o.sprintf)(a.default.itemColonValue, d.expressionsHelp.parameters.minValue, this._getFacetValueForDisplay(this.minVal))), r.default.isActualNumber(this.maxVal) && t3.push((0, o.sprintf)(a.default.itemColonValue, d.expressionsHelp.parameters.maxValue, this._getFacetValueForDisplay(this.maxVal))); } - get isArchVariableSchedule() { - return true; + _getFacetValueForDisplay(e3) { + return e3; } - } - t2.default = r2; - }, 49892: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypelessOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get hasDescriptionInfo() { + return !!super.hasDescriptionInfo || !r.default.isUndefined(this.minVal) || !r.default.isUndefined(this.maxVal); } get className() { - return "ExpressionTypelessOptions"; + return "MinMaxFacets"; } - get isExpressionTypelessOptions() { + get isMinMaxFacets() { return true; } - } - t2.ExpressionTypelessOptions = r2; - }, 49895: (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 maxVal() { + return this._maxVal; } - get _globalTypeName() { - return "jsonCollection"; + get maxValInclusive() { + return this._maxValInclusive; } - get displayTypeName() { - return "ArchVariableJsonCollection"; + set maxValInclusive(e3) { + this._maxValInclusive = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "maxValInclusive", "value")); } - get initialValue() { - return this._initialValue; + setMaxValInclusive(e3) { + return this.maxValInclusive = e3, this; } - get isArchVariableJsonCollection() { - return true; + get minVal() { + return this._minVal; } - } - t2.default = r2; - }, 50029: (e2, t2, i2) => { - const n2 = i2(15655), { botStateActionType: r2 } = i2(30801); - function o() { - Object.defineProperties(this, { _variableScope: { value: "Bot" } }), o.baseConstructor.apply(this, arguments); - } - 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 minValInclusive() { + return this._minValInclusive; } - get displayMessage() { - return this._model.displayMessage; + set minValInclusive(e3) { + this._minValInclusive = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "minValInclusive", "value")); } - get level() { - return this._model.level; + setMinValInclusive(e3) { + return this.minValInclusive = e3, this; } - get contextPath() { - return this._model.contextPath; + } + t2.default = p, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], p.prototype, "maxVal", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "maxValInclusive", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], p.prototype, "minVal", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "minValInclusive", null); + }, 70310(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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, 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, "_truncatesToMaxLength"), (0, c.makeUnenumerable)(this, "_patternString"), (0, c.makeUnenumerable)(this, "_literalPatternRegexp"), (0, c.makeUnenumerable)(this, "_literalPatternMismatchMessage"), (0, c.makeUnenumerable)(this, "_useButtonSwitcher"); } - get sourcePath() { - return this._model.sourcePath; + _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); } - get isError() { - return this._model.level === n2.LogLevel.Error; + get className() { + return "StringBasedFacets"; } - get isWarning() { - return this._model.level === n2.LogLevel.Warning; + get isStringBasedFacets() { + return true; } - get isInfo() { - return this._model.level === n2.LogLevel.Info; + _facetGetExpressionItemLitValue(e3) { + return e3.getLitAsString(); } - }; - }, 50096: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.max = void 0; - var n2 = i2(92070), r2 = i2(10281); - t2.max = function(e3) { - return n2.reduce(r2.isFunction(e3) ? function(t3, i3) { - return e3(t3, i3) > 0 ? t3 : i3; - } : function(e4, t3) { - return e4 > t3 ? e4 : t3; - }); - }; - }, 50097: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); + _facetGetExpressionType() { + return m.default.getGlobalTypeGroup().getType(_.expressionTypeNames.string, this.isCollection); } - get _actionTypeId() { - return r2.transferVoicemailActionType; + _facetValidateValue(e3, t3) { + const i3 = super._facetValidateValue(e3, t3); + if (i3) return i3; + if (this.trim && null != e3 && (e3 = e3.trim()), void 0 !== this.minLength && this.minLength === this.maxLength && (!e3 || e3.length < this.minLength || e3.length > this.minLength)) return this._createErrorResult((0, o.sprintf)(g.facets.valueMustBeExactly, this.minLength)); + if (void 0 !== this.minLength && (!e3 || e3.length < this.minLength)) return 1 === this.minLength ? (null == t3 ? void 0 : t3.isLiteralMode) ? this._createErrorResult(g.facets.valueStringMinLengthOne) : this._createErrorResult(g.facets.valueStringMinLengthOneNonFriendly) : this._createErrorResult((0, o.sprintf)(g.facets.valueStringMinLengthTwoOrMore, this.minLength)); + if (void 0 !== this.maxLength && e3 && e3.length > this.maxLength) return this._createErrorResult((0, o.sprintf)(g.facets.valueStringMaxLength, this.maxLength)); + if (void 0 !== this._literalPatternRegexp) { + const t4 = null == e3 ? "" : String(e3); + if (!this._literalPatternRegexp.test(t4)) return this._createErrorResult(this._literalPatternMismatchMessage); + } + if (this._disallowedValues && this._disallowedValues.warning && this._disallowedValues.warning.characters) { + const t4 = r.default.find(this._disallowedValues.warning.characters, function(t5) { + return e3.includes(t5); + }); + if (!r.default.isUndefined(t4)) return this._createWarningResult((0, o.sprintf)(this._disallowedValues.warning.message ? this._disallowedValues.warning.message : g.facets.valueUsesInvalidCharacterWarning, t4)); + } + return e3 && r.default.isString(e3) && 0 === e3.length && this.warnOnEmpty ? this._createWarningResult(g.facets.valueIsBlank) : void 0; } - get displayTypeName() { - return "ArchMenuTransferToVoicemail"; + _getTruncationBehaviorForLiteralStrings(e3) { + if (!r.default.isNullOrUndefined(e3)) return 1 === e3 ? a.stringFacets.truncationBehavior.literalStringLongerThanOneCharacterNotAllowed : (0, o.sprintf)(a.stringFacets.truncationBehavior.literalStringLongerThanMaxLengthNotAllowed, e3); } - get actionTransferToVoicemail() { - return this._archAction; + _getTruncationBehaviorForDynamicStrings(e3) { + if (!r.default.isNullOrUndefined(e3)) return 1 === e3 ? a.stringFacets.truncationBehavior.dynamicStringTruncatedToOneCharacterAtRuntime : (0, o.sprintf)(a.stringFacets.truncationBehavior.dynamicStringTruncatedToMaxLengthAtRuntime, e3); } - get isArchMenuTransferToVoicemail() { - return true; + get allowEmpty() { + return r.default.isUndefined(this.minLength) || 0 === this.minLength; } - } - t2.default = a; - }, 50100: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ErrorInformation = void 0, t2.ErrorInformation = class { - constructor(e3, t3, i2, n2) { - this.message = e3, this.title = i2, this.helpTopic = t3, this.additionalInfoSections = n2; + setAllowableValues(e3, t3) { + return r.default.isBoolean(t3) && (this.caseSensitiveAllowableValues = t3), this.allowableValues = e3, this; } - }; - }, 50202: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(79069), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.skillManager); + setAllowableValuePlaceholder(e3) { + return this.allowableValuePlaceholder = e3, this; } - get _globalTypeName() { - return "skill"; + setAllowableValueUseOriginalDisplayString(e3) { + return this.allowableValueUseOriginalDisplayString = e3, this; } - get displayTypeName() { - return "ArchValueSkill"; + setDisallowedCharactersWarning(e3, t3) { + return this._disallowedValues.warning = {}, this._disallowedValues.warning.characters = h.ParameterValidator.expectArray(e3, () => p.ParameterInfo.createPropertySet(this.className, "setDisallowedSubStringsWarning", "characters")), this._disallowedValues.warning.message = h.ParameterValidator.expectString(t3, () => p.ParameterInfo.createPropertySet(this.className, "setDisallowedSubStringsWarning", "warningMessage")), this; } - get isArchValueSkill() { - return true; + addDescriptionInfo(e3, t3) { + super.addDescriptionInfo(e3, t3), r.default.isActualNumber(this.minLength) && this.minLength === this.maxLength ? t3.push((0, o.sprintf)(u.default.itemColonValue, g.expressionsHelp.parameters.length, this.minLength)) : (r.default.isActualNumber(this.minLength) && t3.push((0, o.sprintf)(u.default.itemColonValue, g.expressionsHelp.parameters.minLength, this.minLength)), r.default.isActualNumber(this.maxLength) && t3.push((0, o.sprintf)(u.default.itemColonValue, g.expressionsHelp.parameters.maxLength, this.maxLength))), this.truncatesToMaxLength && (t3.push(this._getTruncationBehaviorForLiteralStrings(this.maxLength)), t3.push(this._getTruncationBehaviorForDynamicStrings(this.maxLength))); } - setLiteralBySkillIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("skillId", "setLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralBySkillIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralBySkillIdAsync", t3, this)); - }); + get hasDescriptionInfo() { + return !!super.hasDescriptionInfo || r.default.isActualNumber(this.maxLength) || r.default.isActualNumber(this.minLength); } - setLiteralBySkillNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("skillName", "setLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralBySkillNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralBySkillNameAsync", t3, this)); - }); + get maxLength() { + return this._maxLength; } - } - 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)), 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); + set maxLength(e3) { + const t3 = h.ParameterValidator.expectIntMoreThanOrEqualTo(e3, this.minLength, () => p.ParameterInfo.createPropertySet(this.className, "maxLength", "value"), true); + t3 <= l.default.maxExpressionTextLength ? this._maxLength = t3 : this._maxLength = void 0; } - get playbackMode() { - return this.model.playbackMode; + setMaxLength(e3) { + return this.maxLength = e3, this; } - set playbackMode(e3) { - this.model.playbackMode = e3, this.setMode(true); + get minLength() { + return this._minLength; } - _loadModel(e3) { - super._loadModel(e3), this.setOutOfService(); + set minLength(e3) { + const t3 = r.default.isUndefined(this.maxLength) ? h.ParameterValidator.expectInt(e3, () => p.ParameterInfo.createPropertySet(this.className, "minLength", "value"), true) : h.ParameterValidator.expectIntLessThanOrEqualTo(e3, this.maxLength, () => p.ParameterInfo.createPropertySet(this.className, "minLength", "value"), true); + !r.default.isUndefined(t3) && t3 > 0 ? this._minLength = t3 : this._minLength = void 0; } - get amObjectEventSink() { - return true; + setMinLength(e3) { + return this.minLength = e3, this; } - addSpecificInterval(e3) { - if (this.supportsSpecificRoundingIntervals()) { - const t3 = this.specificRoundingIntervals.add(void 0, void 0, this.specificRoundingIntervals.options); - return t3.setAsLiteral(e3 || a.millisecondsToXSD(6e4)), t3.id; - } + setLengthForUuid() { + return this.setMaxLength(void 0), this.setMinLength(36), this.setMaxLength(36), this; } - getDetails() { - 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); + get preferRadioButtonsCount() { + return this._preferRadioButtonsCount; } - initialize() { - super.initialize(), u.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this), this.setMode(false); + set preferRadioButtonsCount(e3) { + this._preferRadioButtonsCount = h.ParameterValidator.expectInt(e3, () => p.ParameterInfo.createPropertySet(this.className, "preferRadioButtonsCount", "value"), true); } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(...arguments), this.playbackMode = g.lessThan, this.parentFlow.isInQueueCallFlow && this.estimatedWaitTime.setText("Call.EstimatedWaitTime", true), this.setMode(true); + setPreferRadioButtonsCount(e3) { + return this.preferRadioButtonsCount = e3, this; } - static get managedProperties() { - 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[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[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(f.estimatedWaitTime.playbackMode)), yamlOptions: y.createYamlOptions("prompts", (e3) => e3.setSkipProperty(true)), property: "prompts" }, { property: "playbackMode", isJustForFlowYaml: true }]; + get useRadioButtons() { + return !!(this._preferRadioButtonsCount && this.allowableValues && this.allowableValues.length <= this._preferRadioButtonsCount); } - objEvent_supportedLanguagesChanged() { - this.generateAudioExpression(); + get useButtonSwitcher() { + return this._useButtonSwitcher; } - supportsSpecificRoundingIntervals() { - return this.playbackMode.value === g.about.value || this.playbackMode.value === g.lessThan.value; + setUseButtonSwitcher(e3) { + return this._useButtonSwitcher = e3, this; } - 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 g.exact.value: - break; - 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 = f.estimatedWaitTime.roundingInterval; - } - this.roundingInterval.options.durationStyle = this.playbackMode.value === g.range.value ? a.durationStyles.minutes : a.durationStyles.mediumDuration, this.setOutOfService(), this.generateAudioExpression(); + get trim() { + return this._trim; } - setOutOfService() { - this.playbackMode && (this.specificRoundingIntervals.outOfService = !this.supportsSpecificRoundingIntervals(), this.roundingInterval.outOfService = this.playbackMode.value === g.exact.value); + set trim(e3) { + this._trim = h.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "trim", "value"), true); } - } - 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"; - e3.defineLocale("zh-tw", { months: "\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"), monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), weekdays: "\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"), weekdaysShort: "\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"), weekdaysMin: "\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY\u5E74M\u6708D\u65E5", LLL: "YYYY\u5E74M\u6708D\u65E5 HH:mm", LLLL: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm", l: "YYYY/M/D", ll: "YYYY\u5E74M\u6708D\u65E5", lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm", llll: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm" }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function(e4, t3) { - return 12 === e4 && (e4 = 0), "\u51CC\u6668" === t3 || "\u65E9\u4E0A" === t3 || "\u4E0A\u5348" === t3 ? e4 : "\u4E2D\u5348" === t3 ? e4 >= 11 ? e4 : e4 + 12 : "\u4E0B\u5348" === t3 || "\u665A\u4E0A" === t3 ? e4 + 12 : void 0; - }, meridiem: function(e4, t3, i3) { - var n2 = 100 * e4 + t3; - return n2 < 600 ? "\u51CC\u6668" : n2 < 900 ? "\u65E9\u4E0A" : n2 < 1130 ? "\u4E0A\u5348" : n2 < 1230 ? "\u4E2D\u5348" : n2 < 1800 ? "\u4E0B\u5348" : "\u665A\u4E0A"; - }, calendar: { sameDay: "[\u4ECA\u5929] LT", nextDay: "[\u660E\u5929] LT", nextWeek: "[\u4E0B]dddd LT", lastDay: "[\u6628\u5929] LT", lastWeek: "[\u4E0A]dddd LT", sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, ordinal: function(e4, t3) { - switch (t3) { - case "d": - case "D": - case "DDD": - return e4 + "\u65E5"; - case "M": - return e4 + "\u6708"; - case "w": - case "W": - return e4 + "\u9031"; - default: - return e4; - } - }, relativeTime: { future: "%s\u5F8C", past: "%s\u524D", s: "\u5E7E\u79D2", ss: "%d \u79D2", m: "1 \u5206\u9418", mm: "%d \u5206\u9418", h: "1 \u5C0F\u6642", hh: "%d \u5C0F\u6642", d: "1 \u5929", dd: "%d \u5929", M: "1 \u500B\u6708", MM: "%d \u500B\u6708", y: "1 \u5E74", yy: "%d \u5E74" } }); - })(i2(95093)); - }, 50316: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(57382)); - class a extends o.default { - constructor(e3) { - super(e3); + setTrim(e3) { + return this.trim = e3, this; } - get displayTypeName() { - return "ArchBaseActionWithOutputsSuccessTimeout"; + set warnOnEmpty(e3) { + this._warnOnEmpty = h.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "warnOnEmpty", "value")); } - get isArchBaseActionWithOutputsSuccessTimeout() { - return true; + get warnOnEmpty() { + return this._warnOnEmpty; } - get outputSuccess() { - return this._getOutputById(r2.outputIds.success, true); + setWarnOnEmpty(e3) { + return this.warnOnEmpty = e3, this; } - get outputTimeout() { - return this._getOutputById(r2.outputIds.timeout, true); + setIsAddressField(e3) { + return this._isAddressField = e3, this; } - } - t2.default = a; - }, 50419: (e2, t2, i2) => { - "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(16434)), a = i2(96618); - class s extends o.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.workitemFlowSettings), "f"); + get isAddressField() { + return this._isAddressField; } - get _flowType() { - return a.flowTypes.flowTypeWorkitem; + get truncatesToMaxLength() { + return this._truncatesToMaxLength && r.default.isActualNumber(this.maxLength); } - get displayTypeName() { - return "ArchFlowWorkitem"; + set truncatesToMaxLength(e3) { + this._truncatesToMaxLength = h.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "runtimeTruncatesToMaxLength", "value")); } - get isArchFlowWorkitem() { - return true; + setTruncatesToMaxLength(e3) { + return this.truncatesToMaxLength = e3, this; } - get workitemSettings() { - return r2.__classPrivateFieldGet(this, n2, "f"); + get patternString() { + return this._patternString; } - } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; - }, 50439: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.argsArgArrayOrObject = void 0; - var i2 = Array.isArray, n2 = Object.getPrototypeOf, r2 = Object.prototype, o = Object.keys; - t2.argsArgArrayOrObject = function(e3) { - if (1 === e3.length) { - var t3 = e3[0]; - if (i2(t3)) return { args: t3, keys: null }; - if ((s = t3) && "object" == typeof s && n2(s) === r2) { - var a = o(t3); - return { args: a.map(function(e4) { - return t3[e4]; - }), keys: a }; + setLiteralPattern(e3, t3) { + let i3; + this._patternString = h.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "setLiteralPattern", "patternString")); + try { + i3 = new RegExp(this._patternString); + } catch (e4) { + return s.error(`StringBasedFacets.setLiteralPattern: invalid regular expression pattern: ${this._patternString}`), this._patternString = void 0, this._literalPatternRegexp = void 0, this._literalPatternMismatchMessage = void 0, this; } + return this._literalPatternRegexp = i3, this._literalPatternMismatchMessage = h.ParameterValidator.expectString(t3, () => p.ParameterInfo.createPropertySet(this.className, "setLiteralPattern", "literalMismatchMessage")), this; } - var s; - return { args: e3, keys: null }; - }; - }, 50447: (e2, t2, i2) => { + } + 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); + }, 22465(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(22226)), a = i2(80295), s = n2.__importDefault(i2(70310)); + class l extends s.default { + constructor() { + super(), this._displayFacetsAsInputWhenOnlyOneValueAllowed = false, (0, a.makeUnenumerable)(this, "_displayFacetsAsInputWhenOnlyOneValueAllowed"); } - get _globalTypeName() { - return "emailAddress"; + static create() { + return new l(); } - get name() { + static createMinMaxLength(e3, t3, i3) { + const n3 = new l(); + return o.default.isUndefined(e3) || n3.setMinLength(e3), o.default.isUndefined(t3) || n3.setMaxLength(t3), o.default.isUndefined(i3) || n3.setTrim(i3), n3; } - get id() { + get isStringFacets() { + return true; } - get displayTypeName() { - return "ArchValueEmailAddress"; + _facetGetExpressionItemLitValue(e3) { + const t3 = e3.getLitAsString(); + return t3 ? r.default.rawUnescapeExpressionModeString(t3) : t3; } - get isArchValueEmailAddress() { - return true; + _setFromFacets(e3) { + super._setFromFacets(e3), this._setFacetIfSet(this.setDisplayFacetsAsInputWhenOnlyOneValueAllowed, e3.displayFacetsAsInputWhenOnlyOneValueAllowed); + } + setDisplayFacetsAsInputWhenOnlyOneValueAllowed(e3) { + this._displayFacetsAsInputWhenOnlyOneValueAllowed = e3; + } + get displayFacetsAsInputWhenOnlyOneValueAllowed() { + return this._displayFacetsAsInputWhenOnlyOneValueAllowed; } } - t2.default = r2; - }, 50461: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getEmergencyGroups = function(e3) { - const t3 = o.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getEmergencyGroupsDivisionView : s.getEmergencyGroups; - return r2.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); - }, t2.getEmergencyGroup = l, t2.getSchedules = function(e3) { - const t3 = o.isFeatureAvailable(a.default.divisionedRoutingObjects) ? s.getSchedulesDivisionView : s.getSchedules; - return r2.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); - }, 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 = 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); - } - 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 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, 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) { - return null == e3 ? void 0 : e3.isCommonWorkflowViewModel; - }, t2.isBaseExpression = function(e3) { - return null == e3 ? void 0 : e3.isExpression; - }, t2.isNormalExpression = function(e3) { - return null == e3 ? void 0 : e3.isNormalExpression; - }, t2.isCollectionExpression = function(e3) { - return null == e3 ? void 0 : e3.isCollectionExpression; - }, t2.isString = function(e3) { - return "string" == typeof e3; - }, t2.isArray = function(e3) { - return Array.isArray(e3); - }, 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) => { + t2.default = l; + }, 40370(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importDefault(i2(87921)), r = i2(80428), a = n2.__importDefault(i2(65302)); + class s extends o.default { + get className() { + return "UtilizationLabelFacets"; + } + get isUtilizationLabelFacets() { + return true; } - get _globalTypeName() { - return "externalInstagramScopedIdCollection"; + _facetGetExpressionItemLitValue(e3) { + return e3.getLitAsString(); } - get displayTypeName() { - return "ArchValueExternalInstagramScopedIdCollection"; + _facetGetExpressionType() { + return a.default.getGlobalTypeGroup().getType(r.expressionTypeNames.utilizationLabel, this.isCollection); } - get isArchValueExternalInstagramScopedIdCollection() { - return true; + _facetValidateValue(e3, t3) { } } - t2.default = r2; - }, 50486: (e2, t2, i2) => { + t2.default = s; + }, 45532(e2, t2, i2) { "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 c extends u.BootstrapListManager { - constructor(e3, t3) { - super(e3, t3), this._flexibleTtsSelectionEnabled = false, s.bootstrapDataLoaded.then(this._processBootstrapDataLoaded.bind(this)); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(87921)), r = i2(80428), a = n2.__importDefault(i2(65302)); + class s extends o.default { + get className() { + return "WrapupCodeFacets"; } - _processBootstrapDataLoaded(e3) { - this._flexibleTtsSelectionEnabled = (0, l.isFeatureAvailable)(a.default.flexibleTtsSelection); + get isWrapupCodeFacets() { + return true; } - _unitTestProcessBootstrapDataLoaded(e3) { - console.error("ExpressionDataService._unitTestProcessBootstrapDataLoaded should only be called in unit tests!"); + _facetGetExpressionItemLitValue(e3) { + return e3.getLitAsString(); } - getAnyDefaultsChanged() { - return o.default.any(this.items, (e3) => e3.defaultsChanged); + _facetGetExpressionType() { + return a.default.getGlobalTypeGroup().getType(r.expressionTypeNames.wrapupCode, this.isCollection); } - getDefaultEngineForLanguage(e3) { - return o.default.find(this.items, (t3) => t3.getIsEngineDefaultForLanguage(e3)); + _facetValidateValue(e3, t3) { } - getSortedEnginesArray() { - const e3 = o.default.map(this.items, (e4) => e4); - return o.default.sortBy(e3, "name"); + } + t2.default = s; + }, 52164(e2, t2, i2) { + "use strict"; + t2.BasicRequest = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299), r = i2(52023), a = i2(243), s = i2(27283), l = [i2(86580).requestHandler]; + class u extends o.BaseClass { + constructor(e3, t3) { + super(), this.deferredResult = new r.PromiseDefer(), this.headers = void 0, this.sendTime = void 0, this.status = 0, this.statusText = "", this.url = "", this.info = e3, this.addDefaultHeaders(t3); } - getEnginesForLanguage(e3) { - return o.default.filter(this.items, (t3) => t3.getEngineSupportsLanguage(e3)); + get promise() { + return this.deferredResult.promise; } - getSupportedVoiceLanguagesForEngine(e3) { - const t3 = this.getSortedEnginesArray().find((t4) => t4.id === e3); - return Object.values((null == t3 ? void 0 : t3.voices) || {}).length ? o.default.uniq(Object.values(t3.voices).map((e4) => e4.language)) : []; + _generateUrl() { + this.url || (this.url = (0, a.generateRequestUrl)(this.info.protocol, this.info.urlTemplate, this._templateParams, this._queryParams)); } - getSelectableEnginesForLanguage(e3) { - return this._flexibleTtsSelectionEnabled ? Object.values(this.items) : this.getEnginesForLanguage(e3); + addDefaultHeaders(e3) { + "POST" === this.info.method || "PUT" === this.info.method || "PATCH" === this.info.method ? this.headers = { Accept: "application/json", "Content-Type": "application/json" } : this.headers = { Accept: "*/*" }; } - getSelectableEnginesForLanguageAndFlowTypeOrTypes(e3, t3) { - return e3 ? this._filterEnginesFlowTypeOrTypes(this.getSelectableEnginesForLanguage(e3), t3) : []; + call() { + return s.queuedNetworkCallService.enqueueNetworkCall(this); } - getEnginesForLanguageAndFlowTypeOrTypes(e3, t3) { - return e3 ? this._filterEnginesFlowTypeOrTypes(this.getEnginesForLanguage(e3), t3) : []; + content(e3) { + return this._content = e3, this; } - _filterEnginesFlowTypeOrTypes(e3, t3) { - return t3 ? (o.default.isString(t3) && (t3 = [t3]), o.default.filter(e3, (e4) => o.default.every(t3, (t4) => !!e4.flowTypes.includes(t4) && (t4 !== r2.flowTypes.flowTypeSecureCall || e4.isSecure))) || []) : e3; + getParameters() { + return { content: this._content, template: this._templateParams, query: this._queryParams }; } - isEngineSupportedForLanguageAndFlowTypeOrTypes(e3, t3, i3) { - return !!(e3 && t3 && i3) && !!o.default.find(this.getEnginesForLanguageAndFlowTypeOrTypes(t3, i3), (t4) => t4.id === e3); + getResponse() { + if (this._requestResult) return this._requestResult; + const e3 = this.parseResponse(); + if (this.info.DataContract) if (this.info.options.includeStatusOnSuccess || this.info.options.includeHeaders) this._requestResult = { response: new this.info.DataContract(e3) }, this.info.options.includeStatusOnSuccess && (this._requestResult.status = this.status, this._requestResult.statusText = this.statusText), this.info.options.includeHeaders && (this._requestResult.headers = this.headers); + else { + if ("raw-file" === this.headers) return e3; + this._requestResult = new this.info.DataContract(e3); + } + return this._requestResult || e3; } - getDefaultEngineForLanguageAndFlowTypeOrTypes(e3, t3) { - const i3 = this.getDefaultEngineForLanguage(e3); - if (i3 && this.isEngineSupportedForLanguageAndFlowTypeOrTypes(i3.id, e3, t3)) return i3; + queryParams(e3) { + return this._queryParams = e3, this; } - resetAllDefaultsChanged() { - o.default.each(this.items, (e3) => { - e3.defaultsChanged = false; + routeEvent(e3, t3) { + "load" === e3 && (e3 = t3.status >= 200 && t3.status < 300 ? "success" : "error"), n2.default.find(l, function(i3) { + return i3(e3, t3); }); } + shouldIgnore(e3) { + return !!this.info.options.codesToIgnore && n2.default.contains(this.info.options.codesToIgnore, e3); + } + templateParams(e3) { + return this._templateParams = e3, this; + } } - t2.EngineService = c; - }, 50504: (e2, t2, i2) => { + t2.BasicRequest = u, u.handlers = l; + }, 51499(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(30163), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.userManager); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299), r = i2(1360); + class a extends o.BaseClass { + constructor(e3, t3) { + super(), t3 || (t3 = {}), this.configListManager = e3, this.sortBy = t3.sortBy, this.searchTerm = t3.searchTerm || "", this.sortOrder = t3.sortOrder || "ASC", this.matchingStyle = t3.matchingStyle || r.contains, this.searchField = t3.searchField || "name", this.additionalParams = t3.additionalParams || {}, this.after = t3.after, this.defaultPageSize = e3 && e3.defaultPageSize ? e3.defaultPageSize : 25, this.pageNumber = 1, (null == e3 ? void 0 : e3.isSearching) && t3.getNextPage ? this.pageNumber = Math.floor(e3.currentSearchItems.length / this.defaultPageSize) + 1 : !this.searchTerm && t3.getNextPage && (this.pageNumber = e3.lastRetrievedPage + 1); } - get _globalTypeName() { - return "userQueueCollection"; + get className() { + return "ConfigListSearchParams"; } - get displayTypeName() { - return "ArchValueUserCollection"; + get isConfigListSearchParams() { + return true; } - get _searchByValueSearchProperty() { - return "username"; + addAdditionalParams(e3) { + for (const t3 in e3) e3.hasOwnProperty(t3) && (this.additionalParams.hasOwnProperty(t3) && this.additionalParams[t3] !== e3[t3] && this.configListManager.topic.error("search params already has value for {} -- existing: {} --new: {}", t3, this.additionalParams[t3], e3[t3]), this.additionalParams[t3] = e3[t3]); } - addLiteralByUserIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("userId", "addLiteralByUserIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUserIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "user").then(() => r2.default.executeCallback(this, "addLiteralByUserIdAsync", t3, this)); - }); + get_q64searchContent() { + const e3 = { pageNumber: this.pageNumber, pageSize: this.defaultPageSize }; + if (this.configListManager.networkType && (e3.types = [this.configListManager.networkType]), this.sortBy && (e3.sortBy = this.sortBy), this.sortBy && this.sortOrder && (e3.sortOrder = this.sortOrder), this.searchTerm) { + let t3; + switch (this.matchingStyle) { + case r.containsAssumed: + t3 = "CONTAINS"; + break; + case r.exactMatch: + t3 = this.configListManager.useStartsWithKeywordForExactMatch ? "STARTS_WITH" : "EXACT"; + break; + case r.startsWith: + t3 = "STARTS_WITH"; + break; + default: + t3 = "CONTAINS"; + } + e3.query = [{ type: t3, fields: [this.searchField], value: this.searchTerm }]; + } + return this.additionalParams && n2.default.keys(this.additionalParams).length > 0 && this.configListManager.topic.error("search does not support additionalParams"), e3; } - addLiteralByUserNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("userName", "addLiteralByUserNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUserNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "user").then(() => r2.default.executeCallback(this, "addLiteralByUserNameAsync", t3, this)); - }); + getSearchQueryParams(e3) { + 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; } - get isArchValueUserCollection() { - return true; + _createSearchTerm() { + var e3, t3; + const i3 = Number(this.matchingStyle); + if (i3 === r.exactMatch || i3 === r.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 === r.startsWith ? n3 : "*" + n3; } } - t2.default = s; - }, 50514: (e2, t2, i2) => { + t2.default = a; + }, 55352(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allAssignedCustomerIntentsFailureReasons = t2.getAssignedCustomerIntentsFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", generalError: "GeneralError" }, o = [r2.generalError]; - t2.getAssignedCustomerIntentsFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded])), t2.allAssignedCustomerIntentsFailureReasons = r2; - }, 50565: (e2, t2, i2) => { + t2.ConfigurationListItemStatuses = void 0, t2.ConfigurationListItemStatuses = { active: "active", deleted: "deleted" }; + }, 27283(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); + t2.queuedNetworkCallService = t2.u5 = t2.bU = t2.j6 = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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.j6 = ["EAI_AGAIN", "ECONNABORTED", "ECONNREFUSED", "ECONNRESET", "EMFILE", "ENFILE", "ENOTFOUND", "EPIPE", "ETIMEDOUT"], t2.bU = 64, t2.u5 = { maxRetryCount: 8, backoffFloorMs: d, backoffCeilingMs: 30 * a.default.msPerSecond, worstCaseRetryWindowMs: 165 * a.default.msPerSecond }, a.default.msPerSecond, t2.queuedNetworkCallService = new class { + constructor() { + this._queuedNetworkCalls = [], this._rateLimitRestricted = false, this._rateResetRateLimit = 0, this._delayingRequests = false, this._resources = void 0, this._inFlightCount = 0; } - get _globalTypeName() { - return "communicationCollection"; + get rateLimitRestricted() { + return this._rateLimitRestricted; } - get displayTypeName() { - return "ArchVariableCommunicationCollection"; + set rateLimitRestricted(e3) { + this._rateLimitRestricted = e3; } - get initialValue() { - return this._initialValue; + get rateResetRateLimit() { + return this._rateResetRateLimit; } - get isArchVariableCommunicationCollection() { - return true; + set rateResetRateLimit(e3) { + this._rateResetRateLimit = e3; } - } - t2.default = r2; - }, 50584: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindDivisionActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + get retryPolicy() { + return t2.u5; } - } - t2.FindDivisionActionModel = o, o.__type = r2.findDivisionActionType, o.registerType(); - }, 50597: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.timeoutWith = void 0; - var n2 = i2(62326), r2 = i2(85345), o = i2(81713); - t2.timeoutWith = function(e3, t3, i3) { - var a, s, l; - if (i3 = null != i3 ? i3 : n2.async, r2.isValidDate(e3) ? a = e3 : "number" == typeof e3 && (s = e3), !t3) throw new TypeError("No observable provided to switch to"); - if (l = function() { - return t3; - }, null == a && null == s) throw new TypeError("No timeout provided."); - return o.timeout({ first: a, each: s, scheduler: i3, with: l }); - }; - }, 50661: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.callDecisionTableFailureReasons = void 0; - t2.callDecisionTableFailureReasons = ["GeneralError"].concat(["ActionInvocationLimitExceeded", "DecisionTableHasNoRows", "DecisionTableNotFound", "DecisionTablePreparingExecution", "DecisionTableWrongStatus", "GeneralExecutionError", "InvalidInput", "InvalidRequest"]); - }, 50700: (e2, t2, i2) => { - const n2 = i2(28267); - function r2() { - Object.defineProperties(this, { _requests: { writable: true }, _inputSchema: { writable: true, enumerable: true }, _successSchema: { writable: true, enumerable: true } }), this.category = void 0, this.deprecated = void 0, this.description = void 0, this.helpLink = void 0, this.id = void 0, this.name = void 0, this.published = void 0, this.tags = void 0, r2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(r2, "BridgeActionMetadata"), Object.defineProperties(r2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, id: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - }, enumerable: true }, inputSchema: { get: function() { - return this._inputSchema ? this._inputSchema : this._requests && this._requests.length > 0 ? this._requests[0].inputSchema : void 0; - } }, successSchema: { get: function() { - return this._successSchema ? this._successSchema : this._requests && this._requests.length > 0 ? this._requests[0].successSchema : void 0; - } }, requests: { enumerable: true, get: function() { - return this._requests; - }, set: function(e3) { - this._requests = this.reviveArray(e3, n2); - } }, schemas: { set: function(e3) { - this._inputSchema = e3.input, this._successSchema = e3.success; - } } }), e2.exports = r2; - }, 50712: (e2, t2) => { - "use strict"; - let i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.setDefaultRequestModel = function(e3) { - i2 = e3; - }, t2.getDefaultRequestModel = function() { - return i2; - }; - }, 50718: (e2, t2) => { - "use strict"; - 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 }); - const n2 = i2(31635).__importDefault(i2(90077)), r2 = i2(30801), o = i2(26847); - class a extends n2.default { - constructor(e3) { - super(e3), this._currentIndex = this.coreFactory.createArchValueFromExpression(e3.currentIndex); + get resources() { + return o.default.isUndefined(this._resources) && (this._resources = i2(47957)), this._resources; } - get _actionTypeId() { - return r2.askForNLUNextIntentActionActionType; + enqueueNetworkCall(e3) { + const t3 = new u.PromiseDefer(); + return this._queuedNetworkCalls.push({ request: e3, defer: t3 }), this._processQueue(), t3.promise; } - get currentIndex() { - return this._currentIndex; + _retryNetworkCall(e3) { + this._queuedNetworkCalls.push(e3), this._processQueue(); } - get displayTypeName() { - return this._scriptingName; + _createNewRequest(e3) { + const t3 = s.default.build(e3.request.info); + t3.content(e3.request._content), t3.templateParams(e3.request._templateParams), t3.queryParams(e3.request._queryParams), e3.request = t3; } - get isArchActionLoopAnythingElse() { - return true; + _rateLimitHandling(e3, t3) { + if (this._advanceRetryCount(e3), !this.rateLimitRestricted) { + this.rateLimitRestricted = true; + try { + this.rateResetRateLimit = (parseInt(t3.headers["retry-after"]) + 1) * a.default.msPerSecond, o.default.isActualNumber(this.rateResetRateLimit) || (this.rateResetRateLimit = c); + } catch (e4) { + this.rateResetRateLimit = c; + } + r.emitter.emit(r.rateLimited, this.rateResetRateLimit), r.emitter.emit(r.alert, { message: this.resources.alertService.architectBusy, type: l.AlertTypeEnum.info, delay: this.rateResetRateLimit }); + } + this._createNewRequest(e3), this._retryNetworkCall(e3); } - get outputLoop() { - return this._getOutputById(o.outputIds.loop, true); + _advanceRetryCount(e3) { + !o.default.isActualNumber(e3.retryCount) || e3.retryCount < 0 ? e3.retryCount = 1 : e3.retryCount++; } - } - t2.default = a; - }, 50736: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { submitVoiceSnippetActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _snippet: { writable: true }, _destination: { writable: true }, _destinationSnippetId: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.snippet.pasteReIdOrRename(e3), this.destination.pasteReIdOrRename(e3), this.destinationSnippetId.pasteReIdOrRename(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.snippet.pasteResolveOldToNewValues(e3), this.destination.pasteResolveOldToNewValues(e3), this.destinationSnippetId.pasteResolveOldToNewValues(e3); - } }, snippet: { enumerable: true, get: function() { - return this._snippet; - }, set: function(e3) { - this._snippet = this.reviveItem(e3, r2); - } }, destination: { enumerable: true, get: function() { - return this._destination; - }, set: function(e3) { - this._destination = this.reviveItem(e3, r2); - } }, destinationSnippetId: { enumerable: true, get: function() { - return this._destinationSnippetId; - }, set: function(e3) { - this._destinationSnippetId = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 50744: (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); + _hasRetriesRemaining(e3) { + return !o.default.isActualNumber(e3.retryCount) || e3.retryCount < this.retryPolicy.maxRetryCount; } - get _globalTypeName() { - return "listPickerItemCollection"; + _nonRateLimitedRetry(e3) { + this._advanceRetryCount(e3), setTimeout(() => { + this._createNewRequest(e3), this._retryNetworkCall(e3); + }, this._getRetryBackoffMs(e3.retryCount)); } - get displayTypeName() { - return "ArchVariableListPickerItemCollection"; + _getRetryBackoffMs(e3) { + const t3 = this.retryPolicy, i3 = o.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); } - get initialValue() { - return this._initialValue; + _shiftAndMakeNetworkCall() { + const e3 = this._queuedNetworkCalls.shift(); + let i3; + this._inFlightCount++; + try { + i3 = e3.request.makeNetworkRequest(); + } catch (e4) { + throw this._inFlightCount--, e4; + } + i3.then((t3) => { + e3.defer.resolve(t3); + }).catch((i4) => { + const n3 = 429 === i4.status; + n3 || [408, 502, 503, 504].includes(i4.status) || t2.j6.includes(i4.code) ? this._hasRetriesRemaining(e3) ? n3 ? this._rateLimitHandling(e3, i4) : this._nonRateLimitedRetry(e3) : (e3.request.info.options.ignoreBadResponse || r.emitter.emit(r.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(); + }); } - get isArchVariableListPickerItemCollection() { - return true; + _processQueue() { + if (this.rateLimitRestricted) this._delayingRequests || (this._delayingRequests = true, setTimeout(() => { + this.rateLimitRestricted = false, this._delayingRequests = false, this._processQueue(); + }, this.rateResetRateLimit)); + else for (; this._queuedNetworkCalls.length > 0 && this._inFlightCount < t2.bU; ) this._shiftAndMakeNetworkCall(); } - } - t2.default = r2; - }, 50778: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(24032).getTopic("Division"); - function o() { - this.id = void 0, this.name = void 0, this.homeDivision = void 0, o.baseConstructor.apply(this, arguments), "00000000-0000-0000-0000-000000000000" === this.id && r2.warningWithStack(null, `Encountered all 0 ids for division with id: '${this.id}'`); - } - n2.extend(o, "Division"), Object.defineProperties(o.prototype, { isDivision: { enumerable: false, get: () => true } }), e2.exports = o; - }, 50807: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(2210), o = i2(28730), a = i2(7401), s = i2(26151), { playEstimatedWaitTimeActionType: l } = i2(30801); - function u() { - Object.defineProperties(this, { _prompts: { writable: true }, _estimatedWaitTime: { writable: true }, _playbackMode: { writable: true }, _roundingInterval: { writable: true }, _specificRoundingIntervals: { writable: true } }), u.baseConstructor.apply(this, arguments); - } - o.extend(u, l, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { - u._super.pasteReIdOrRename.apply(this, arguments), this.estimatedWaitTime.pasteReIdOrRename(e3), this.prompts.pasteReIdOrRename(e3), this.roundingInterval.pasteReIdOrRename(e3), n2.each(this.specificRoundingIntervals, function(t3) { - t3.pasteReIdOrRename(e3); - }); - } }, pasteResolveOldToNewValues: { value: function(e3) { - u._super.pasteResolveOldToNewValues.apply(this, arguments), this.estimatedWaitTime.pasteResolveOldToNewValues(e3), this.prompts.pasteResolveOldToNewValues(e3), this.roundingInterval.pasteResolveOldToNewValues(e3), n2.each(this.specificRoundingIntervals, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }); - } }, estimatedWaitTime: { enumerable: true, get: function() { - return this._estimatedWaitTime; - }, set: function(e3) { - this._estimatedWaitTime = this.reviveItem(e3, a); - } }, prompts: { enumerable: true, get: function() { - return this._prompts; - }, set: function(e3) { - this._prompts = this.reviveItem(e3, r2); - } }, playbackMode: { enumerable: true, get: function() { - return this._playbackMode; - }, set: function(e3) { - this._playbackMode = this.reviveEnum(e3, s); - } }, roundingInterval: { enumerable: true, get: function() { - return this._roundingInterval; - }, set: function(e3) { - this._roundingInterval = this.reviveItem(e3, a); - } }, specificRoundingIntervals: { enumerable: true, get: function() { - return this._specificRoundingIntervals; - }, set: function(e3) { - this._specificRoundingIntervals = this.reviveArray(e3, a); - } } }), e2.exports = u; - }, 50839: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ObjectUnsubscribedError = void 0; - var n2 = i2(9619); - t2.ObjectUnsubscribedError = n2.createErrorClass(function(e3) { - return function() { - e3(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed"; - }; - }); - }, 50853: (e2, t2, i2) => { + }(); + }, 97834(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + t2.RequestError = void 0; + class i2 extends Error { + constructor(e3, t3, i3, n2, o) { + var r, a; + super(), this._response = e3, this._status = t3, this._statusText = i3, this._handled = n2, this._headers = o, this.isRequestError = true, this.isAborted = false, this.name = this.statusText || "Request Error", this.status && (this.name += ` (${this._status})`), (null === (r = this._response) || void 0 === r ? void 0 : r.code) && (this._code = this._response.code), (null === (a = this._response) || void 0 === a ? void 0 : a.message) && (this.message = this._response.message, this.code && (this.message += ` (${this.code})`)); } - get _actionTypeId() { - return r2.findUserActionType; + get response() { + return this._response; } - get displayTypeName() { - return this._scriptingName; + set response(e3) { + this._response = e3; } - get isArchActionFindUser() { - return true; + get status() { + return this._status; } - get findResult() { - return this._findResult; + set status(e3) { + this._status = e3; + } + get statusText() { + return this._statusText; + } + set statusText(e3) { + this._statusText = e3; + } + get handled() { + return this._handled; + } + set handled(e3) { + this._handled = e3; + } + get headers() { + return this._headers; + } + set headers(e3) { + this._headers = e3; + } + get code() { + return this._code; + } + set code(e3) { + this._code = e3; + } + get messageParams() { + var e3; + return null === (e3 = this._response) || void 0 === e3 ? void 0 : e3.messageParams; } } - t2.default = o; - }, 50875: function(e2, t2, i2) { + t2.RequestError = i2; + }, 29926(e2, t2, i2) { "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + t2.RequestInfo = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 30 * n2.__importDefault(i2(73198)).default.msPerSecond; + class a { + constructor(e3, t3, i3) { + this.options = {}, this.protocol = "https:", this.urlTemplate = t3 || "", this.method = e3, this.DataContract = (null == i3 ? void 0 : i3.default) ? i3.default : i3; } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.VirtualAction = t2.VirtualTimeScheduler = void 0; - var o = i2(64772), a = i2(69879), s = (function(e3) { - function t3(t4, i3) { - void 0 === t4 && (t4 = l), void 0 === i3 && (i3 = 1 / 0); - var n3 = e3.call(this, t4, function() { - return n3.frame; - }) || this; - return n3.maxFrames = i3, n3.frame = 0, n3.index = -1, n3; + get hasMock() { + return !!this._mockFunction; } - return r2(t3, e3), t3.prototype.flush = function() { - for (var e4, t4, i3 = this.actions, n3 = this.maxFrames; (t4 = i3[0]) && t4.delay <= n3 && (i3.shift(), this.frame = t4.delay, !(e4 = t4.execute(t4.state, t4.delay))); ) ; - if (e4) { - for (; t4 = i3.shift(); ) t4.unsubscribe(); - throw e4; - } - }, t3.frameTimeFactor = 10, t3; - })(i2(19533).AsyncScheduler); - t2.VirtualTimeScheduler = s; - var l = (function(e3) { - function t3(t4, i3, n3) { - void 0 === n3 && (n3 = t4.index += 1); - var r3 = e3.call(this, t4, i3) || this; - return r3.scheduler = t4, r3.work = i3, r3.index = n3, r3.active = true, r3.index = t4.index = n3, r3; + get manualRequestTimeoutMs() { + return this._manualRequestTimeoutMs || r; } - return r2(t3, e3), t3.prototype.schedule = function(i3, n3) { - if (void 0 === n3 && (n3 = 0), Number.isFinite(n3)) { - if (!this.id) return e3.prototype.schedule.call(this, i3, n3); - this.active = false; - var r3 = new t3(this.scheduler, this.work); - return this.add(r3), r3.schedule(i3, n3); - } - return a.Subscription.EMPTY; - }, t3.prototype.requestAsyncId = function(e4, i3, n3) { - void 0 === n3 && (n3 = 0), this.delay = e4.frame + n3; - var r3 = e4.actions; - return r3.push(this), r3.sort(t3.sortActions), 1; - }, t3.prototype.recycleAsyncId = function(e4, t4, i3) { - void 0 === i3 && (i3 = 0); - }, t3.prototype._execute = function(t4, i3) { - if (true === this.active) return e3.prototype._execute.call(this, t4, i3); - }, t3.sortActions = function(e4, t4) { - return e4.delay === t4.delay ? e4.index === t4.index ? 0 : e4.index > t4.index ? 1 : -1 : e4.delay > t4.delay ? 1 : -1; - }, t3; - })(o.AsyncAction); - t2.VirtualAction = l; - }, 50918: () => { - var e2, i2, n2 = "undefined" != typeof window ? window : global; - org = n2.org = n2.org || {}, void 0 !== org.antlr && org.antlr || (org.antlr = {}), org.antlr.global = function() { - return n2; - }.call(null), org.antlr.namespace = function() { - var e3, t2, i3, n3 = arguments, r2 = null; - for (e3 = 0; e3 < n3.length; e3 += 1) for (i3 = n3[e3].split("."), r2 = org.antlr.global, t2 = 0; t2 < i3.length; t2 += 1) r2[i3[t2]] = r2[i3[t2]] || {}, r2 = r2[i3[t2]]; - return r2; - }, org.antlr.env = org.antlr.env || {}, org.antlr.env.ua = (function() { - var e3, t2, i3 = { ie: 0, opera: 0, gecko: 0, webkit: 0, mobile: null, air: 0, rhino: false }; - try { - e3 = navigator.userAgent, /KHTML/.test(e3) && (i3.webkit = 1), (t2 = e3.match(/AppleWebKit\/([^\s]*)/)) && t2[1] && (i3.webkit = parseFloat(t2[1]), / Mobile\//.test(e3) ? i3.mobile = "Apple" : (t2 = e3.match(/NokiaN[^\/]*/)) && (i3.mobile = t2[0]), (t2 = e3.match(/AdobeAIR\/([^\s]*)/)) && (i3.air = t2[0])), i3.webkit || ((t2 = e3.match(/Opera[\s\/]([^\s]*)/)) && t2[1] ? (i3.opera = parseFloat(t2[1]), (t2 = e3.match(/Opera Mini[^;]*/)) && (i3.mobile = t2[0])) : (t2 = e3.match(/MSIE\s([^;]*)/)) && t2[1] ? i3.ie = parseFloat(t2[1]) : (t2 = e3.match(/Gecko\/([^\s]*)/)) && (i3.gecko = 1, (t2 = e3.match(/rv:([^\s\)]*)/)) && t2[1] && (i3.gecko = parseFloat(t2[1])))); - } catch (e4) { + set manualRequestTimeoutMs(e3) { + Number.isInteger && !Number.isInteger(e3) || (this._manualRequestTimeoutMs = e3); } - try { - "undefined" == typeof window && loadClass && (i3.rhino = true); - } catch (e4) { + addOptions(e3) { + o.default.extend(this.options, e3); } - return i3; - })(), org.antlr.namespace("org.antlr.runtime.tree"), org.antlr.lang = org.antlr.lang || { isArray: function(e3) { - if (e3) { - var t2 = org.antlr.lang; - return t2.isNumber(e3.length) && t2.isFunction(e3.splice); + callMock(e3) { + if (this.hasMock) return this._mockFunction(e3); } - return false; - }, isBoolean: function(e3) { - return "boolean" == typeof e3; - }, isFunction: function(e3) { - return "function" == typeof e3; - }, isNull: function(e3) { - return null === e3; - }, isNumber: function(e3) { - return "number" == typeof e3 && isFinite(e3); - }, isObject: function(e3) { - return e3 && ("object" == typeof e3 || org.antlr.lang.isFunction(e3)) || false; - }, isString: function(e3) { - return "string" == typeof e3; - }, isUndefined: function(e3) { - return void 0 === e3; - }, _IEEnumFix: function(e3, t2) { - if (org.antlr.env.ua.ie) { - var i3, n3 = ["toString", "valueOf"]; - for (i3 = 0; i3 < n3.length; i3 += 1) { - var r2 = n3[i3], o = t2[r2]; - org.antlr.lang.isFunction(o) && o != Object.prototype[r2] && (e3[r2] = o); + clone(e3) { + const t3 = new a(this.method, this.urlTemplate, this.DataContract); + return t3._mockFunction = this._mockFunction, t3.addOptions(this.options), t3.addOptions(e3), t3; + } + ignore(e3) { + let t3; + this.options.codesToIgnore || (this.options.codesToIgnore = []), o.default.isArray(e3) ? o.default.each(e3, function(e4) { + t3 = e4.replace(/_/g, ".").toLowerCase(), this.options.codesToIgnore.push(e4), this.options.codesToIgnore.push(t3); + }.bind(this)) : (t3 = e3.replace(/_/g, ".").toLowerCase(), this.options.codesToIgnore.push(e3), this.options.codesToIgnore.push(t3)); + } + mock(e3) { + o.default.isFunction(e3) ? this._mockFunction = e3 : this._mockFunction = void 0; + } + } + t2.RequestInfo = a; + }, 50712(e2, t2) { + "use strict"; + let i2; + t2.setDefaultRequestModel = function(e3) { + i2 = e3; + }, t2.getDefaultRequestModel = function() { + return i2; + }; + }, 243(e2, t2, i2) { + "use strict"; + t2.generateRequestUrl = function(e3 = "http | https", t3, i3 = {}, n3 = {}) { + const a = i3; + o.default.extend(a, r.values.urls); + let s = t3, l = s.indexOf("?") >= 0; + const u = s.match(/\{([^}]+)}/g) || []; + return o.default.each(u, (e4) => { + const t4 = e4.slice(1, -1); + if ((function(e5, t5) { + if (!e5 || !t5) return false; + const i4 = Object.getOwnPropertyDescriptor(e5, t5); + return !(!i4 || !o.default.isFunction(i4.set) && !i4.writable); + })(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]); } + }), o.default.each(n3, (e4, t4) => { + if (o.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; + }), s.indexOf("//") >= 0 ? s : e3 + "//" + s; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(35515)); + }, 36019(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(35515)), a = i2(52164), s = i2(50712), l = i2(29926), u = r.browser ? window : global; + u.TestKillConnection = function() { + console.debug("Testing - killing the connection"), r.setAuthToken(r.getAuthToken() + "_fake"); + }, u.TestTimeoutConnection = function() { + console.debug("Testing - timing out the connection"), u.__timeOutConnection = true; + }, u.TestFakeServerResponse = function(e3) { + e3 === parseInt(e3, 10) ? (console.debug("Testing - returning faked specified response type for all server calls"), u.__testFakeServerResponseCode = e3) : console.debug("Error: Must specify a valid HTTP response code for window.TestFakeServerResponse"); + }, u.TestFakeServerResponseOff = function() { + console.debug("Testing - turning off faked response types for server calls"), u.__testFakeServerResponseCode = null; + }; + const c = new class { + addRequestHandler(e3, t3) { + t3 ? a.BasicRequest.handlers.unshift(e3) : a.BasicRequest.handlers.splice(a.BasicRequest.handlers.length - 1, 0, e3); } - }, extend: function(e3, t2, i3) { - if (!t2 || !e3) throw new Error("org.antlr.lang.extend failed, please check that all dependencies are included."); - var n3 = function() { - }; - if (n3.prototype = t2.prototype, e3.prototype = new n3(), e3.prototype.constructor = e3, e3.superclass = t2.prototype, t2.prototype.constructor == Object.prototype.constructor && (t2.prototype.constructor = t2), i3) { - for (var r2 in i3) e3.prototype[r2] = i3[r2]; - org.antlr.lang._IEEnumFix(e3.prototype, i3); + makeRequest(e3, t3, i3, n3, o2) { + const r2 = new l.RequestInfo(e3, t3, i3); + return r2.addOptions(n3), this.build(r2, o2).call(); } - }, augmentObject: function(e3, t2) { - if (!t2 || !e3) throw new Error("Absorb failed, verify dependencies."); - var i3, n3, r2 = arguments, o = r2[2]; - if (o && true !== o) for (i3 = 2; i3 < r2.length; i3 += 1) e3[r2[i3]] = t2[r2[i3]]; - else { - for (n3 in t2) !o && e3[n3] || (e3[n3] = t2[n3]); - org.antlr.lang._IEEnumFix(e3, t2); + request(e3, t3, i3, n3) { + const o2 = new l.RequestInfo(e3, t3, i3); + return n3 && o2.addOptions(n3), o2; } - }, augmentProto: function(e3, t2) { - if (!t2 || !e3) throw new Error("Augment failed, verify dependencies."); - for (var i3 = [e3.prototype, t2.prototype], n3 = 2; n3 < arguments.length; n3 += 1) i3.push(arguments[n3]); - org.antlr.lang.augmentObject.apply(this, i3); - }, merge: function() { - for (var e3 = {}, t2 = arguments, i3 = 0, n3 = t2.length; i3 < n3; i3 += 1) org.antlr.lang.augmentObject(e3, t2[i3], true); - return e3; - }, isValue: function(e3) { - var t2 = org.antlr.lang; - return t2.isObject(e3) || t2.isString(e3) || t2.isNumber(e3) || t2.isBoolean(e3); - }, array: { peek: function(e3) { - if (!org.antlr.lang.isArray(e3)) throw new Error("org.antlr.lang.array.peek: a is not an array."); - var t2 = e3.length; - if (t2 <= 0) throw new Error("org.antlr.lang.array.peek: a is empty."); - return e3[t2 - 1]; - } } }, org.antlr.runtime.RecognizerSharedState = function() { - this.following = [], this._fsp = -1, this.errorRecovery = false, this.lastErrorIndex = -1, this.failed = false, this.syntaxErrors = 0, this.backtracking = 0, this.ruleMemo = null, this.token = null, this.tokenStartCharIndex = -1, this.text = null; - }, org.antlr.runtime.IndexOutOfBoundsException = function(e3) { - org.antlr.runtime.IndexOutOfBoundsException.superclass.constructor.call(this, e3); - }, org.antlr.lang.extend(org.antlr.runtime.IndexOutOfBoundsException, Error, { name: "org.antlr.runtime.IndexOutOfBoundsException" }), org.antlr.runtime.RecognitionException = function(e3) { - org.antlr.runtime.RecognitionException.superclass.constructor.call(this), this.input = e3, this.index = e3.index(), e3 instanceof org.antlr.runtime.CommonTokenStream && (this.token = e3.LT(1), this.line = this.token.getLine(), this.charPositionInLine = this.token.getCharPositionInLine()), e3 instanceof org.antlr.runtime.tree.TreeNodeStream ? this.extractInformationFromTreeNodeStream(e3) : e3 instanceof org.antlr.runtime.ANTLRStringStream ? (this.c = e3.LA(1), this.line = e3.getLine(), this.charPositionInLine = e3.getCharPositionInLine()) : this.c = e3.LA(1), this.message = this.toString(); - }, org.antlr.lang.extend(org.antlr.runtime.RecognitionException, Error, { input: null, index: null, token: null, node: null, c: null, line: null, name: "org.antlr.runtime.RecognitionException", charPositionInLine: null, approximateLineInfo: null, extractInformationFromTreeNodeStream: function(e3) { - var t2, i3, n3, r2, o = e3; - this.node = o.LT(1); - var a = o.getTreeAdaptor(), s = a.getToken(this.node); - if (s) if (this.token = s, s.getLine() <= 0) for (r2 = -1, t2 = o.LT(r2); t2; ) { - if (priorPayload = a.getToken(t2), priorPayload && priorPayload.getLine() > 0) { - this.line = priorPayload.getLine(), this.charPositionInLine = priorPayload.getCharPositionInLine(), this.approximateLineInfo = true; - break; - } - --r2, t2 = o.LT(r2); + formatStringForTracing(e3) { + return e3 ? (e3 instanceof Error ? e3 = e3.toString() : o.default.isString(e3) || (e3 = JSON.stringify(e3)), o.default.each(o.default.rest(arguments), function(t3) { + e3 = e3.replace(/{}/, t3); + }), e3) : ""; } - else this.line = s.getLine(), this.charPositionInLine = s.getCharPositionInLine(); - else this.node instanceof org.antlr.runtime.tree.CommonTree ? (this.line = this.node.getLine(), this.charPositionInLine = this.node.getCharPositionInLine(), this.node instanceof org.antlr.runtime.tree.CommonTree && (this.token = this.node.token)) : (i3 = a.getType(this.node), n3 = a.getText(this.node), this.token = new org.antlr.runtime.CommonToken(i3, n3)); - }, getUnexpectedType: function() { - return this.input instanceof org.antlr.runtime.CommonTokenStream ? this.token.getType() : this.input instanceof org.antlr.runtime.tree.TreeNodeStream ? this.input.getTreeAdaptor().getType(this.node) : this.c; - } }), org.antlr.runtime.MismatchedTokenException = function(e3, t2) { - 0 === arguments.length ? this.expecting = org.antlr.runtime.Token.INVALID_TOKEN_TYPE : (org.antlr.runtime.MismatchedTokenException.superclass.constructor.call(this, t2), this.expecting = e3); - }, org.antlr.lang.extend(org.antlr.runtime.MismatchedTokenException, org.antlr.runtime.RecognitionException, { toString: function() { - return "MismatchedTokenException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; - }, name: "org.antlr.runtime.MismatchedTokenException" }), org.antlr.runtime.UnwantedTokenException = function(e3, t2) { - arguments.length > 0 && org.antlr.runtime.UnwantedTokenException.superclass.constructor.call(this, e3, t2); - }, org.antlr.lang.extend(org.antlr.runtime.UnwantedTokenException, org.antlr.runtime.MismatchedTokenException, { getUnexpectedToken: function() { - return this.token; - }, toString: function() { - var e3 = ", expected " + this.expecting; - return this.expecting === org.antlr.runtime.Token.INVALID_TOKEN_TYPE && (e3 = ""), org.antlr.lang.isValue(this.token) ? "UnwantedTokenException(found=" + this.token.getText() + e3 + ")" : "UnwantedTokenException(found=" + e3 + ")"; - }, name: "org.antlr.runtime.UnwantedTokenException" }), org.antlr.runtime.MissingTokenException = function(e3, t2, i3) { - arguments.length > 0 && (org.antlr.runtime.MissingTokenException.superclass.constructor.call(this, e3, t2), this.inserted = i3); - }, org.antlr.lang.extend(org.antlr.runtime.MissingTokenException, org.antlr.runtime.MismatchedTokenException, { getMissingType: function() { - return this.expecting; - }, toString: function() { - return org.antlr.lang.isValue(this.inserted) && org.antlr.lang.isValue(this.token) ? "MissingTokenException(inserted " + this.inserted + " at " + this.token.getText() + ")" : org.antlr.lang.isValue(this.token) ? "MissingTokenException(at " + this.token.getText() + ")" : "MissingTokenException"; - }, name: "org.antlr.runtime.MissingTokenException" }), org.antlr.runtime.NoViableAltException = function(e3, t2, i3, n3) { - org.antlr.runtime.NoViableAltException.superclass.constructor.call(this, n3), this.grammarDecisionDescription = e3, this.decisionNumber = t2, this.stateNumber = i3; - }, org.antlr.lang.extend(org.antlr.runtime.NoViableAltException, org.antlr.runtime.RecognitionException, { toString: function() { - return this.input instanceof org.antlr.runtime.ANTLRStringStream ? "NoViableAltException('" + this.getUnexpectedType() + "'@[" + this.grammarDecisionDescription + "])" : "NoViableAltException(" + this.getUnexpectedType() + "@[" + this.grammarDecisionDescription + "])"; - }, name: "org.antlr.runtime.NoViableAltException" }), org.antlr.runtime.EarlyExitException = function(e3, t2) { - org.antlr.runtime.EarlyExitException.superclass.constructor.call(this, t2), this.decisionNumber = e3; - }, org.antlr.lang.extend(org.antlr.runtime.EarlyExitException, org.antlr.runtime.RecognitionException, { name: "org.antlr.runtime.EarlyExitException" }), org.antlr.runtime.MismatchedSetException = function(e3, t2) { - org.antlr.runtime.MismatchedSetException.superclass.constructor.call(this, t2), this.expecting = e3; - }, org.antlr.lang.extend(org.antlr.runtime.MismatchedSetException, org.antlr.runtime.RecognitionException, { toString: function() { - return "MismatchedSetException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; - }, name: "org.antlr.runtime.MismatchedSetException" }), org.antlr.runtime.MismatchedNotSetException = function(e3, t2) { - org.antlr.runtime.MismatchedNotSetException.superclass.constructor.call(this, e3, t2); - }, org.antlr.lang.extend(org.antlr.runtime.MismatchedNotSetException, org.antlr.runtime.MismatchedSetException, { toString: function() { - return "MismatchedNotSetException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; - }, name: "org.antlr.runtime.MismatchedNotSetException" }), org.antlr.runtime.MismatchedRangeException = function(e3, t2, i3) { - if (0 === arguments.length) return this; - org.antlr.runtime.MismatchedRangeException.superclass.constructor.call(this, i3), this.a = e3, this.b = t2; - }, org.antlr.lang.extend(org.antlr.runtime.MismatchedRangeException, org.antlr.runtime.RecognitionException, { toString: function() { - return "MismatchedRangeException(" + this.getUnexpectedType() + " not in [" + this.a + "," + this.b + "])"; - }, name: "org.antlr.runtime.MismatchedRangeException" }), org.antlr.runtime.FailedPredicateException = function(e3, t2, i3) { - org.antlr.runtime.FailedPredicateException.superclass.constructor.call(this, e3), this.ruleName = t2, this.predicateText = i3; - }, org.antlr.lang.extend(org.antlr.runtime.FailedPredicateException, org.antlr.runtime.RecognitionException, { toString: function() { - return "FailedPredicateException(" + this.ruleName + ",{" + this.predicateText + "}?)"; - }, name: "org.antlr.runtime.FailedPredicateException" }), org.antlr.runtime.BitSet = function(e3) { - e3 || (e3 = org.antlr.runtime.BitSet.BITS), org.antlr.lang.isArray(e3) ? this.bits = e3 : org.antlr.lang.isNumber(e3) && (this.bits = []); - }, org.antlr.lang.augmentObject(org.antlr.runtime.BitSet, { BITS: 32, LOG_BITS: 5, MOD_MASK: 31, bitMask: function(e3) { - return 1 << (e3 & org.antlr.runtime.BitSet.MOD_MASK); - }, numWordsToHold: function(e3) { - return 1 + (e3 >> org.antlr.runtime.BitSet.LOG_BITS); - }, wordNumber: function(e3) { - return e3 >> org.antlr.runtime.BitSet.LOG_BITS; - }, of: function(e3, t2) { - var i3, n3, r2, o; - if (org.antlr.lang.isNumber(e3)) { - if (org.antlr.lang.isNumber(t2)) { - for (r2 = new org.antlr.runtime.BitSet(t2 + 1), i3 = e3; i3 <= t2; i3++) n3 = org.antlr.runtime.BitSet.wordNumber(i3), r2.bits[n3] |= org.antlr.runtime.BitSet.bitMask(i3); - return r2; - } - return (r2 = new org.antlr.runtime.BitSet(e3 + 1)).add(e3), r2; + build(e3, t3) { + return new ((0, s.getDefaultRequestModel)())(e3, t3); } - if (org.antlr.lang.isArray(e3)) { - for (r2 = new org.antlr.runtime.BitSet(), i3 = e3.length - 1; i3 >= 0; i3--) r2.add(e3[i3]); - return r2; + }(); + t2.default = c; + }, 86580(e2, t2, i2) { + "use strict"; + t2.requestHandler = function(e3, t3) { + return "success" === e3 ? (function(e4) { + return e4.deferredResult.resolve(e4.getResponse()), false; + })(t3) : "error" === e3 ? (function(e4) { + return e4.deferredResult.reject(o(e4)), false; + })(t3) : "abort" === e3 ? (function(e4) { + const t4 = o(e4); + return t4.isAborted = true, e4.deferredResult.reject(t4), false; + })(t3) : void 0; + }; + const n2 = i2(97834); + function o(e3) { + const t3 = e3.parseResponse(), i3 = e3.getResponseHeaders(); + return new n2.RequestError(t3, e3.status, e3.statusText, e3.handled, i3); + } + }, 39424(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAgenticVirtualAgentVersion = t2.getAgenticVirtualAgentVersionViaApps = t2.getAgenticVirtualAgent = t2.getAgenticVirtualAgentViaApps = t2.getAgenticVirtualAgents = t2.getAgenticVirtualAgentsViaApps = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(3542)), r = n2.__importDefault(i2(83726)), a = n2.__importDefault(i2(71960)), s = n2.__importDefault(i2(36019)), l = { ignoreBadResponse: true }; + t2.getAgenticVirtualAgentsViaApps = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents", r.default, l), t2.getAgenticVirtualAgents = s.default.request("GET", "{public-api.apps}/api/v2/agentic/virtualagents", r.default, l), t2.getAgenticVirtualAgentViaApps = s.default.request("GET", "{public-api.apps}/api/v2/apps/agentic/virtualagents/{agenticVirtualAgentId}", o.default, l), t2.getAgenticVirtualAgent = s.default.request("GET", "{public-api.apps}/api/v2/agentic/virtualagents/{agenticVirtualAgentId}", o.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); + }, 33067(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAudioConnectorBot = t2.getAudioConnectorBots = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(55892), r = i2(7452), a = { ignoreBadResponse: true }; + t2.getAudioConnectorBots = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/audioconnector/", r, a), t2.getAudioConnectorBot = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/audioconnector/{integrationId}", o, a); + }, 8818(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getBotConnectorBotVersions = t2.getBotConnectorBot = t2.getBotConnectorBots = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(75601), r = i2(19413), a = i2(30345), s = { ignoreBadResponse: true }; + t2.getBotConnectorBots = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnector/{integrationId}/bots/summaries", r, s), t2.getBotConnectorBot = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnector/{integrationId}/bots/{botId}", o, s), t2.getBotConnectorBotVersions = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnector/{integrationId}/bots/{botId}/versions", a, s); + }, 80496(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.postDigitalBotFlowTurns = t2.postDigitalBotFlowLaunch = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(17599), r = i2(13440); + t2.postDigitalBotFlowLaunch = n2.default.request("POST", "{public-api.apps}/api/v2/textbots/botflows/sessions", o), t2.postDigitalBotFlowTurns = n2.default.request("POST", "{public-api.apps}/api/v2/textbots/botflows/sessions/{sessionId}/turns", r); + }, 66359(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationCustomAttributeSchema = t2.getConversationCustomAttributeSchemas = void 0; + const n2 = i2(31635), o = i2(82675), r = i2(55279), a = n2.__importDefault(i2(36019)); + t2.getConversationCustomAttributeSchemas = a.default.request("GET", "{public-api.apps}/api/v2/conversations/customattributes/schemas/search", r.ConversationCustomAttributeSchemaList, { ignoreBadResponse: true }), t2.getConversationCustomAttributeSchema = a.default.request("GET", "{public-api.apps}/api/v2/conversations/customattributes/schemas/{id}", o.ConversationCustomAttributeSchema, { ignoreBadResponse: true }); + }, 30097(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationSummarySetting = t2.getConversationSummarySettings = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(32798)), r = n2.__importDefault(i2(71474)), a = n2.__importDefault(i2(36019)), s = { ignoreBadResponse: true }; + t2.getConversationSummarySettings = a.default.request("GET", "{public-api.apps}/api/v2/conversations/summaries/settings", r.default, s), t2.getConversationSummarySetting = a.default.request("GET", "{public-api.apps}/api/v2/conversations/summaries/settings/{id}", o.default, s); + }, 69671(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createCall = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(34825); + t2.createCall = n2.default.request("POST", "{public-api.apps}/api/v2/conversations/calls", o); + }, 1849(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getCustomerSegment = t2.getCustomerSegments = void 0; + const n2 = i2(31635), o = i2(80101), r = i2(3709), a = n2.__importDefault(i2(36019)), s = { ignoreBadResponse: true }; + t2.getCustomerSegments = a.default.request("GET", "{public-api.apps}/api/v2/journey/segments", r.CustomerSegmentList, s), t2.getCustomerSegment = a.default.request("GET", "{public-api.apps}/api/v2/journey/segments/{id}", o.CustomerSegment, s); + }, 87459(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDataTableDivisionView = t2.getDataTable = t2.getDataTablesDivisionView = t2.getDataTables = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(46400)), r = i2(74156), a = n2.__importDefault(i2(36019)); + t2.getDataTables = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables", r.DataTableList, { ignoreBadResponse: true }), t2.getDataTablesDivisionView = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables/divisionviews", r.DataTableList, { ignoreBadResponse: true }), t2.getDataTable = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables/{id}?expand=schema", o.default, { ignoreBadResponse: true }), t2.getDataTableDivisionView = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables/divisionviews/{id}?expand=schema", o.default, { ignoreBadResponse: true }); + }, 72746(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDecisionTable = t2.getDecisionTables = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(78102); + t2.getDecisionTables = n2.default.request("GET", "{public-api.apps}/api/v2/businessrules/decisiontables/search", o), t2.getDecisionTable = n2.default.request("GET", "{public-api.apps}/api/v2/businessrules/decisiontables/search?withPublishedVersion=true&expand=ExecutionInputSchema,ExecutionOutputSchema&ids={tableId}", o); + }, 18516(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDigitalBotConnectorBotVersions = t2.getDigitalBotConnectorBot = t2.getDigitalBotConnectorBots = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(75601), r = i2(19413), a = i2(30345), s = { ignoreBadResponse: true }; + t2.getDigitalBotConnectorBots = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnectors/{integrationId}/bots/summaries", r, s), t2.getDigitalBotConnectorBot = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}", o, s), t2.getDigitalBotConnectorBotVersions = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}", a, s); + }, 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; + const n2 = i2(31635), o = n2.__importDefault(i2(43933)), r = n2.__importDefault(i2(22604)), a = n2.__importDefault(i2(90159)), s = n2.__importDefault(i2(36019)), l = i2(78685), u = { ignoreBadResponse: true }; + t2.getGrammars = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars", l, u), t2.getGrammar = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars/{id}?includeFileUrls={includeFileUrls}", o.default, u), t2.getGrammarWithStatus = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars/{id}?includeFileUrls={includeFileUrls}", o.default, { includeStatusOnSuccess: true, ignoreBadResponse: true }), t2.getGrammarLanguage = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}"), t2.deleteGrammar = s.default.request("DELETE", "{public-api.apps}/api/v2/architect/grammars/{id}", o.default, u), t2.updateGrammar = s.default.request("PATCH", "{public-api.apps}/api/v2/architect/grammars/{id}", o.default, u), t2.updateGrammarLanguage = s.default.request("PATCH", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}", o.default, u), t2.createGrammar = s.default.request("POST", "{public-api.apps}/api/v2/architect/grammars/", o.default, u), t2.addLanguageToGrammar = s.default.request("POST", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages", r.default, u), t2.removeLanguageFromGrammar = s.default.request("DELETE", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}", o.default, u), t2.createGrammarFileUploadUrl = s.default.request("POST", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/{grammarType}", a.default, u), t2.deleteGrammarFile = s.default.request("DELETE", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/{grammarType}", a.default, u), t2.uploadGrammarFile = s.default.request("PUT", "{url}", o.default, u), t2.downloadGrammarFile = s.default.request("GET", "{url}", u); + }, 36839(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getGuideVersion = t2.getGuide = t2.getGuides = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(62100)), r = n2.__importDefault(i2(18048)), a = n2.__importDefault(i2(82630)), s = n2.__importDefault(i2(36019)), l = { ignoreBadResponse: true }; + t2.getGuides = s.default.request("GET", "{public-api.apps}/api/v2/guides", r.default, l), t2.getGuide = s.default.request("GET", "{public-api.apps}/api/v2/guides/{guideId}", o.default, l), t2.getGuideVersion = s.default.request("GET", "{public-api.apps}/api/v2/guides/{guideId}/versions/{guideVersionId}", a.default, l); + }, 63569(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getNuanceMixIntegrations = t2.getBotConnectorIntegrations = t2.getDigitalBotConnectorIntegrations = t2.getIntegration = void 0; + const n2 = i2(31635), o = i2(37707), r = i2(99431), a = i2(73883), s = i2(73883), l = n2.__importDefault(i2(36019)), u = { ignoreBadResponse: true }; + t2.getIntegration = l.default.request("GET", "{public-api.apps}/api/v2/integrations/{id}", o.Integration, u), t2.getDigitalBotConnectorIntegrations = l.default.request("GET", `{public-api.apps}/api/v2/integrations?integrationType=${a.integrationTypeConstants.genesysDigitalBotConnector}&reportedState=${s.reportedStateConstants.active}`, r.IntegrationList, u), t2.getBotConnectorIntegrations = l.default.request("GET", `{public-api.apps}/api/v2/integrations?integrationType=${a.integrationTypeConstants.genesysBotConnector}&reportedState=${s.reportedStateConstants.active}`, r.IntegrationList, u), t2.getNuanceMixIntegrations = l.default.request("GET", `{public-api.apps}/api/v2/integrations?integrationType=${a.integrationTypeConstants.nuanceMixBot}&reportedState=${s.reportedStateConstants.active}`, r.IntegrationList, u); + }, 56972(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeBaseDocuments = t2.getKnowledgeBaseDocument = t2.getKnowledgeBases = t2.getKnowledgeBase = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(66848), r = i2(54632), a = i2(36577), s = i2(66693), l = { ignoreBadResponse: true }; + t2.getKnowledgeBase = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases/{id}", o, l), t2.getKnowledgeBases = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases", r, l), t2.getKnowledgeBaseDocument = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases/{knowledgeId}/documents/{documentId}", a, l), t2.getKnowledgeBaseDocuments = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases/{knowledgeId}/documents", s, l); + }, 48229(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSettings = t2.getKnowledgeSetting = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(66445), r = i2(40209), a = { ignoreBadResponse: true }; + t2.getKnowledgeSetting = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/settings/{id}", o, a), t2.getKnowledgeSettings = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/settings", r, a); + }, 94604(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSource = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(19760); + t2.getKnowledgeSource = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/sources/{id}", o, { ignoreBadResponse: true }); + }, 74168(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDomainVersion = t2.getDomain = t2.getDomains = t2.createDomain = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(25760), r = i2(68040), a = i2(16926), s = { ignoreBadResponse: true }; + t2.createDomain = n2.default.request("POST", "{public-api.apps}/api/v2/languageunderstanding/domains", o, s), t2.getDomains = n2.default.request("GET", "{public-api.apps}/api/v2/languageunderstanding/domains", r, s), t2.getDomain = n2.default.request("GET", "{public-api.apps}/api/v2/languageunderstanding/domains/{domainId}", o, s), t2.getDomainVersion = n2.default.request("GET", "{public-api.apps}/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}?includeUtterances=true", a, s); + }, 53044(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.updateSubscription = t2.addSubscription = t2.removeAllSubscriptions = t2.createChannel = void 0; + const n2 = i2(31635).__importDefault(i2(36019)); + t2.createChannel = n2.default.request("POST", "{public-api.apps}/api/v2/notifications/channels"), t2.removeAllSubscriptions = n2.default.request("DELETE", "{public-api.apps}/api/v2/notifications/channels/{id}/subscriptions"), t2.addSubscription = n2.default.request("POST", "{public-api.apps}/api/v2/notifications/channels/{id}/subscriptions"), t2.updateSubscription = n2.default.request("PUT", "{public-api.apps}/api/v2/notifications/channels/{id}/subscriptions"), t2.createChannel.addOptions({ ignoreTimeouts: true, ignoreBadResponse: true }), t2.removeAllSubscriptions.addOptions({ ignoreBadResponse: true, suppressSuccessTrace: true }), t2.addSubscription.addOptions({ suppressSuccessTrace: true }), t2.updateSubscription.addOptions({ suppressSuccessTrace: true }); + }, 74828(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSingleNuanceMixBotJobResults = t2.getSingleNuanceMixBotJobStatus = t2.startGetSingleNuanceMixBot = t2.getAllNuanceMixBotsJobResults = t2.getAllNuanceMixBotsJobStatus = t2.startGetAllNuanceMixBots = void 0; + const n2 = i2(31635).__importDefault(i2(36019)), o = i2(84584), r = i2(20125), a = i2(24528), s = { ignoreBadResponse: true }; + t2.startGetAllNuanceMixBots = n2.default.request("POST", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/jobs?onlyRegisteredBots=true", r, s), t2.getAllNuanceMixBotsJobStatus = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/jobs/{jobId}", r, s), t2.getAllNuanceMixBotsJobResults = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/jobs/{jobId}/results", a, s), t2.startGetSingleNuanceMixBot = n2.default.request("POST", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/{botId}/jobs?expand=variables&expand=transferNodes&expand=channels&expand=locales", r, s), t2.getSingleNuanceMixBotJobStatus = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/{botId}/jobs/{jobId}", r, s), t2.getSingleNuanceMixBotJobResults = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/{botId}/jobs/{jobId}/results", o, s); + }, 66299(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getOAuthClientInfo = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(30068)), r = n2.__importDefault(i2(36019)); + t2.getOAuthClientInfo = r.default.request("GET", "{public-api.apps}/api/v2/oauth/clients/{clientId}", o.default); + }, 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)), o = i2(80259), r = 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", r, c), t2.getEmergencyGroupsDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/divisionviews", r, c), t2.getEmergencyGroup = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/{id}", o, c), t2.getEmergencyGroupDivisionView = n2.default.request("GET", "{public-api.apps}/api/v2/architect/emergencygroups/divisionviews?id={id}", r, 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); + }, 17552(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSmsPhoneNumber = t2.getSmsPhoneNumbers = void 0; + const n2 = i2(31635), o = i2(49756), r = i2(33416), a = n2.__importDefault(i2(36019)); + t2.getSmsPhoneNumbers = a.default.request("GET", "{public-api.apps}/api/v2/routing/sms/phonenumbers?phoneNumberStatus=active", r.SmsPhoneNumberList, { ignoreBadResponse: true }), t2.getSmsPhoneNumber = a.default.request("GET", "{public-api.apps}/api/v2/routing/sms/phonenumbers/{phoneNumber}", o.SmsPhoneNumber, { ignoreBadResponse: true }); + }, 2683(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSpeechToTextEngine = function(e3) { + const t3 = a[e3.template.engineId]; + return t3 ? new o.SpeechToTextEngine(t3) : { isError: true, status: 404, statusText: "Not Found" }; + }, t2.getSpeechToTextEngines = function(e3) { + const t3 = n2.default.sortBy(a, "name"); + return new r.SpeechToTextEngineList({ entities: t3, pageCount: 1, pageNumber: 1, pageSize: 50, total: t3.length }); + }, t2.mock = function(e3) { + }; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(54040), r = i2(60612), a = { _speechToTextEngine_: { id: "_speechToTextEngine_", name: "speechToTextEngine", grammarBased: false }, "microsoft_azure_stt~03f47524-6960-442c-a65f-9a9ff67b6522": { id: "microsoft_azure_stt~03f47524-6960-442c-a65f-9a9ff67b6522", name: "My Custom Azure Speech to Text Model", grammarBased: false }, testtesttest: { id: "testtesttest", name: "A test stt engine", grammarBased: false }, test2test2test2: { id: "test2test2test2", name: "Another test stt engine", grammarBased: false }, onlySupportedInFrench: { id: "onlySupportedInFrench", name: "Only supported in French", grammarBased: false, supportedLanguages: ["fr-FR"] }, grammarEngine: { id: "grammarEngine", name: "A grammar-based STT engine", grammarBased: true } }; + }, 2235(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getSpeechToTextEngine = t2.getSpeechToTextEngines = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(36019)), r = i2(54040), a = i2(60612), s = (n2.__importStar(i2(2683)), { ignoreBadResponse: true }); + t2.getSpeechToTextEngines = o.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/stt/engines", a.SpeechToTextEngineList, s), t2.getSpeechToTextEngine = o.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/stt/engines/{engineId}", r.SpeechToTextEngine, s); + }, 13202(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getLatestPublishedSurveyForm = t2.getSurveyFormVersions = t2.getSurveyForm = t2.getSurveyForms = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(1735)), r = n2.__importDefault(i2(98046)), a = n2.__importDefault(i2(36019)), s = i2(42590), l = { ignoreBadResponse: true }; + 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}", o.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", r.default, l); + }, 51724(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createUtilizationLabel = t2.deleteUtilizationLabel = t2.getUtilizationLabel = t2.getUtilizationLabels = void 0; + const n2 = i2(31635), o = i2(64288), r = i2(23340), a = n2.__importDefault(i2(36019)), s = { ignoreBadResponse: true }; + t2.getUtilizationLabels = a.default.request("GET", "{public-api.apps}/api/v2/routing/utilization/labels", r.UtilizationLabelList, s), t2.getUtilizationLabel = a.default.request("GET", "{public-api.apps}/api/v2/routing/utilization/labels/{id}", o.UtilizationLabel, s), t2.deleteUtilizationLabel = a.default.request("DELETE", "{public-api.apps}/api/v2/routing/utilization/labels/{id}", o.UtilizationLabel, s), t2.createUtilizationLabel = a.default.request("POST", "{public-api.apps}/api/v2/routing/utilization/labels", o.UtilizationLabel, s); + }, 28350(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createWorkitem = t2.getSchema = t2.getWorktype = t2.getWorktypes = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(80408)), r = n2.__importDefault(i2(48019)), a = i2(42607), s = n2.__importDefault(i2(67377)), l = n2.__importDefault(i2(36019)), u = { ignoreBadResponse: true }; + t2.getWorktypes = l.default.request("POST", "{public-api.apps}/api/v2/taskmanagement/worktypes/query", a.WorktypeList, u), t2.getWorktype = l.default.request("GET", "{public-api.apps}/api/v2/taskmanagement/worktypes/{id}?expands=defaultQueue,defaultLanguage,schema,defaultSkills", r.default, u), t2.getSchema = l.default.request("GET", "{public-api.apps}/api/v2/taskmanagement/workitems/schemas/{id}", s.default, u), t2.createWorkitem = l.default.request("POST", "{public-api.apps}/api/v2/taskmanagement/workitems/", o.default, u); + }, 65615(e2, t2, i2) { + "use strict"; + t2.BaseExpressionTypeCollectionOptions = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(55909), a = i2(33951), s = i2(80295), l = i2(80295), u = i2(19507); + 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, () => r.ParameterInfo.createConstructorParameter(this.className, "isCollection"), true), o.default.isBoolean(e3) && this.setIsCollection(e3); } - if (e3 instanceof org.antlr.runtime.BitSet) return e3 || null; - if (e3 instanceof org.antlr.runtime.IntervalSet) return e3 ? ((r2 = new org.antlr.runtime.BitSet()).addAll(e3), r2) : null; - if (org.antlr.lang.isObject(e3)) { - for (i3 in o = [], e3) org.antlr.lang.isNumber(i3) && o.push(i3); - return org.antlr.runtime.BitSet.of(o); + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setEmptyMessage, e3.emptyMessage, "_emptyMessage"), this._setOptionIfSet(this.setIsCollection, e3.isCollection), this._setOptionIfSet(this.setMaxItems, e3.maxItems, "_maxItems"), this._setOptionIfSet(this.setMaxItemsIsSoftLimit, e3.maxItemsIsSoftLimit, "_maxItemsIsSoftLimit"), this._setOptionIfSet(this.setMinItems, e3.minItems, "_minItems"), this._setOptionIfSet(this.setCreateMinItemsByDefault, e3.createMinItemsByDefault, "_createMinItemsByDefault"), this._setOptionIfSet(this.setAllowAdd, e3.allowAdd, "_allowAdd"), this._setOptionIfSet(this.setAllowRemove, e3.allowRemove, "_allowRemove"), this._setOptionIfSet(this.setAllowReorder, e3.allowReorder, "_allowReorder"), this._setOptionIfSet(this.setItemAddedCallback, e3.itemAddedCallback, "_itemAddedCallback"), this._setOptionIfSet(this.setUiCanMoveItemCallback, e3.uiCanMoveItemCallback, "_uiCanMoveItemCallback"); } - } }), org.antlr.runtime.BitSet.prototype = { add: function(e3) { - var t2 = org.antlr.runtime.BitSet.wordNumber(e3); - t2 >= this.bits.length && this.growToInclude(e3), this.bits[t2] |= org.antlr.runtime.BitSet.bitMask(e3); - }, addAll: function(e3) { - var t2, i3; - if (e3 instanceof org.antlr.runtime.BitSet) this.orInPlace(e3); - else if (e3 instanceof org.antlr.runtime.IntervalSet) ; - else { - if (!org.antlr.lang.isArray(e3)) return; - for (t2 = 0; t2 < e3.length; t2++) i3 = e3[t2], this.add(i3); + get isBaseExpressionTypeCollectionOptions() { + return true; } - }, and: function(e3) { - var t2 = this.clone(); - return t2.andInPlace(e3), t2; - }, andInPlace: function(e3) { - var t2, i3 = Math.min(this.bits.length, e3.bits.length); - for (t2 = i3 - 1; t2 >= 0; t2--) this.bits[t2] &= e3.bits[t2]; - for (t2 = i3; t2 < this.bits.length; t2++) this.bits[t2] = 0; - }, clear: function(e3) { - if (0 !== arguments.length) { - var t2 = org.antlr.runtime.BitSet.wordNumber(e3); - t2 >= this.bits.length && this.growToInclude(e3), this.bits[t2] &= ~org.antlr.runtime.BitSet.bitMask(e3); - } else { - var i3; - for (i3 = this.bits.length - 1; i3 >= 0; i3--) this.bits[i3] = 0; + get allowNotSet() { + return !this._isCollection && super.allowNotSet; } - }, clone: function() { - var e3, t2, i3 = []; - for (e3 = 0, t2 = this.bits.length; e3 < t2; e3++) i3[e3] = this.bits[e3]; - return new org.antlr.runtime.BitSet(i3); - }, size: function() { - var e3, t2, i3, n3 = 0; - for (e3 = this.bits.length - 1; e3 >= 0; e3--) if (0 !== (t2 = this.bits[e3])) for (i3 = org.antlr.runtime.BitSet.BITS - 1; i3 >= 0; i3--) t2 & 1 << i3 && n3++; - return n3; - }, equals: function(e3) { - if (!(e3 && e3 instanceof org.antlr.runtime.BitSet)) return false; - var t2, i3 = e3, n3 = Math.min(this.bits.length, i3.bits.length); - for (t2 = 0; t2 < n3; t2++) if (this.bits[t2] != i3.bits[t2]) return false; - if (this.bits.length > n3) { - for (t2 = n3 + 1; t2 < this.bits.length; t2++) if (0 !== this.bits[t2]) return false; - } else if (i3.bits.length > n3) { - for (t2 = n3 + 1; t2 < i3.bits.length; t2++) if (0 !== i3.bits[t2]) return false; + set allowNotSet(e3) { + super.allowNotSet = e3; } - return true; - }, growToInclude: function(e3) { - Math.max(this.bits.length << 1, org.antlr.runtime.BitSet.numWordsToHold(e3)); - var t2, i3 = []; - for (t2 = 0, len = this.bits.length; t2 < len; t2++) i3[t2] = this.bits[t2]; - this.bits = i3; - }, member: function(e3) { - var t2 = org.antlr.runtime.BitSet.wordNumber(e3); - return !(t2 >= this.bits.length) && 0 !== (this.bits[t2] & org.antlr.runtime.BitSet.bitMask(e3)); - }, getSingleElement: function() { - var e3; - for (e3 = 0; e3 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; e3++) if (this.member(e3)) return e3; - return -1; - }, isNil: function() { - var e3; - for (e3 = this.bits.length - 1; e3 >= 0; e3--) if (0 !== this.bits[e3]) return false; - return true; - }, complement: function(e3) { - if (e3) return e3.subtract(this); - var t2 = this.clone(); - return t2.notInPlace(), t2; - }, notInPlace: function() { - var e3, t2, i3, n3; - if (0 === arguments.length) for (i3 = this.bits.length - 1; i3 >= 0; i3--) this.bits[i3] = ~this.bits[i3]; - else for (1 === arguments.length ? (e3 = 0, t2 = arguments[0]) : (e3 = arguments[0], t2 = arguments[1]), this.growToInclude(t2), i3 = e3; i3 <= t2; i3++) n3 = org.antlr.runtime.BitSet.wordNumber(i3), this.bits[n3] ^= org.antlr.runtime.BitSet.bitMask(i3); - }, or: function(e3) { - if (!e3) return this; - var t2 = this.clone(); - return t2.orInPlace(e3), t2; - }, orInPlace: function(e3) { - var t2; - if (e3) for (e3.bits.length > this.bits.length && this.setSize(e3.bits.length), t2 = Math.min(this.bits.length, e3.bits.length) - 1; t2 >= 0; t2--) this.bits[t2] |= e3.bits[t2]; - }, remove: function(e3) { - var t2 = org.antlr.runtime.BitSet.wordNumber(e3); - t2 >= this.bits.length && this.growToInclude(e3), this.bits[t2] &= ~org.antlr.runtime.BitSet.bitMask(e3); - }, setSize: function(e3) { - for (var t2 = e3 - this.bits.length; t2 >= 0; ) this.bits.push(0), t2--; - }, numBits: function() { - return this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; - }, lengthInLongWords: function() { - return this.bits.length; - }, subset: function(e3) { - return !!e3 && this.and(e3).equals(this); - }, subtractInPlace: function(e3) { - var t2; - if (e3) for (t2 = 0; t2 < this.bits.length && t2 < e3.bits.length; t2++) this.bits[t2] &= ~e3.bits[t2]; - }, subtract: function(e3) { - if (!(e3 && e3 instanceof org.antlr.runtime.BitSet)) return null; - var t2 = this.clone(); - return t2.subtractInPlace(e3), t2; - }, toArray: function() { - var e3, t2 = [], i3 = 0; - for (e3 = 0; e3 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; e3++) this.member(e3) && (t2[i3++] = e3); - return t2; - }, toPackedArray: function() { - return this.bits; - }, toString: function() { - return 0 === arguments.length ? this.toString1(null) : org.antlr.lang.isString(arguments[0]) ? org.antlr.lang.isValue(arguments[1]) ? this.toString2(arguments[0], arguments[1]) : this.toString1(null) : this.toString1(arguments[0]); - }, toString1: function(e3) { - var t2, i3 = "{", n3 = false; - for (t2 = 0; t2 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; t2++) this.member(t2) && (t2 > 0 && n3 && (i3 += ","), i3 += e3 ? e3.getTokenDisplayName(t2) : t2.toString(), n3 = true); - return i3 + "}"; - }, toString2: function(e3, t2) { - var i3, n3 = ""; - for (i3 = 0; i3 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; i3++) this.member(i3) && (n3.length > 0 && (n3 += e3), i3 >= t2.size() ? n3 += "'" + i3 + "'" : org.antlr.lang.isValue(t2.get(i3)) ? n3 += t2.get(i3) : n3 += "'" + i3 + "'"); - return n3; - } }, org.antlr.runtime.CharStream = { EOF: -1 }, org.antlr.runtime.CommonToken = function() { - var e3; - this.charPositionInLine = -1, this.channel = 0, this.index = -1, 1 == arguments.length ? org.antlr.lang.isNumber(arguments[0]) ? this.type = arguments[0] : (e3 = arguments[0], this.text = e3.getText(), this.type = e3.getType(), this.line = e3.getLine(), this.index = e3.getTokenIndex(), this.charPositionInLine = e3.getCharPositionInLine(), this.channel = e3.getChannel(), e3 instanceof org.antlr.runtime.CommonToken && (this.start = e3.start, this.stop = e3.stop)) : 2 == arguments.length ? (this.type = arguments[0], this.text = arguments[1], this.channel = 0) : 5 == arguments.length && (this.input = arguments[0], this.type = arguments[1], this.channel = arguments[2], this.start = arguments[3], this.stop = arguments[4]); - }, org.antlr.runtime.CommonToken.prototype = { getType: function() { - return this.type; - }, setLine: function(e3) { - this.line = e3; - }, getText: function() { - return org.antlr.lang.isString(this.text) ? this.text : this.input ? (this.text = this.input.substring(this.start, this.stop), this.text) : null; - }, setText: function(e3) { - this.text = e3; - }, getLine: function() { - return this.line; - }, getCharPositionInLine: function() { - return this.charPositionInLine; - }, setCharPositionInLine: function(e3) { - this.charPositionInLine = e3; - }, getChannel: function() { - return this.channel; - }, setChannel: function(e3) { - this.channel = e3; - }, setType: function(e3) { - this.type = e3; - }, getStartIndex: function() { - return this.start; - }, setStartIndex: function(e3) { - this.start = e3; - }, getStopIndex: function() { - return this.stop; - }, setStopIndex: function(e3) { - this.stop = e3; - }, getTokenIndex: function() { - return this.index; - }, setTokenIndex: function(e3) { - this.index = e3; - }, getInputStream: function() { - return this.input; - }, setInputStream: function(e3) { - this.input = e3; - }, toString: function() { - var e3 = ""; - this.channel > 0 && (e3 = ",channel=" + this.channel); - var t2 = this.getText(); - return t2 = org.antlr.lang.isNull(t2) ? "" : (t2 = (t2 = t2.replace(/\n/g, "\\\\n")).replace(/\r/g, "\\\\r")).replace(/\t/g, "\\\\t"), "[@" + this.getTokenIndex() + "," + this.start + ":" + this.stop + "='" + t2 + "',<" + this.type + ">" + e3 + "," + this.line + ":" + this.getCharPositionInLine() + "]"; - } }, org.antlr.runtime.Token = function() { - }, org.antlr.lang.augmentObject(org.antlr.runtime.Token, { EOR_TOKEN_TYPE: 1, DOWN: 2, UP: 3, MIN_TOKEN_TYPE: 4, EOF: org.antlr.runtime.CharStream.EOF, EOF_TOKEN: new org.antlr.runtime.CommonToken(org.antlr.runtime.CharStream.EOF), INVALID_TOKEN_TYPE: 0, INVALID_TOKEN: new org.antlr.runtime.CommonToken(0), SKIP_TOKEN: new org.antlr.runtime.CommonToken(0), DEFAULT_CHANNEL: 0, HIDDEN_CHANNEL: 99 }), org.antlr.lang.augmentObject(org.antlr.runtime.CommonToken, org.antlr.runtime.Token), org.antlr.runtime.tree.RewriteCardinalityException = function(e3) { - this.elementDescription = e3; - }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteCardinalityException, Error, { getMessage: function() { - return org.antlr.lang.isString(this.elementDescription) ? this.elementDescription : null; - }, name: function() { - return "org.antlr.runtime.tree.RewriteCardinalityException"; - } }), org.antlr.runtime.tree.RewriteEmptyStreamException = function(e3) { - org.antlr.runtime.tree.RewriteEmptyStreamException.superclass.constructor.call(this, e3); - }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteEmptyStreamException, org.antlr.runtime.tree.RewriteCardinalityException, { name: function() { - return "org.antlr.runtime.tree.RewriteEmptyStreamException"; - } }), org.antlr.runtime.tree.RewriteEarlyExitException = function(e3) { - var t2 = org.antlr.runtime.tree.RewriteEarlyExitException.superclass; - org.antlr.lang.isUndefined(e3) && (e3 = null), t2.constructor.call(this, e3); - }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteEarlyExitException, org.antlr.runtime.tree.RewriteCardinalityException, { name: function() { - return "org.antlr.runtime.tree.RewriteEarlyExitException"; - } }), org.antlr.runtime.MismatchedTreeNodeException = function(e3, t2) { - e3 && t2 && (org.antlr.runtime.MismatchedTreeNodeException.superclass.constructor.call(this, t2), this.expecting = e3); - }, org.antlr.lang.extend(org.antlr.runtime.MismatchedTreeNodeException, org.antlr.runtime.RecognitionException, { toString: function() { - return "MismatchedTreeNodeException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; - }, name: "org.antlr.runtime.MismatchedTreeNodeException" }), org.antlr.runtime.tree.BaseTree = function() { - }, org.antlr.runtime.tree.BaseTree.prototype = { getChild: function(e3) { - return !this.children || e3 >= this.children.length ? null : this.children[e3]; - }, getChildren: function() { - return this.children; - }, getFirstChildWithType: function(e3) { - var t2, i3; - for (t2 = 0; this.children && t2 < this.children.length; t2++) if ((i3 = this.children[t2]).getType() === e3) return i3; - return null; - }, getChildCount: function() { - return this.children ? this.children.length : 0; - }, addChild: function(e3) { - if (org.antlr.lang.isValue(e3)) { - var t2, i3, n3, r2 = e3; - if (r2.isNil()) { - if (this.children && this.children == r2.children) throw new Error("attempt to add child list to itself"); - if (r2.children) if (this.children) for (t2 = r2.children.length, i3 = 0; i3 < t2; i3++) n3 = r2.children[i3], this.children.push(n3), n3.setParent(this), n3.setChildIndex(this.children.length - 1); - else this.children = r2.children, this.freshenParentAndChildIndexes(); - } else this.children || (this.children = this.createChildrenList()), this.children.push(e3), r2.setParent(this), r2.setChildIndex(this.children.length - 1); + get className() { + return "BaseExpressionTypeCollectionOptions"; } - }, addChildren: function(e3) { - var t2, i3; - for (t2 = 0; t2 < e3.length; t2++) i3 = e3[t2], this.addChild(i3); - }, setChild: function(e3, t2) { - if (t2) { - if (t2.isNil()) throw new Error("Can't set single child to a list"); - this.children || (this.children = this.createChildrenList()), this.children[e3] = t2, t2.setParent(this), t2.setChildIndex(e3); + get emptyMessage() { + return this._emptyMessage; } - }, deleteChild: function(e3) { - if (!this.children) return null; - if (e3 < 0 || e3 >= this.children.length) throw new Error("Index out of bounds."); - var t2 = this.children.splice(e3, 1)[0]; - return this.freshenParentAndChildIndexes(e3), t2; - }, replaceChildren: function(e3, t2, i3) { - 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, 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 (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]; - for (s = r2; s < n3; s++) this.children.splice(e3 + s, 0, a[s]); - this.freshenParentAndChildIndexes(e3); + set emptyMessage(e3) { + this._emptyMessage = a.ParameterValidator.expectString(e3, () => r.ParameterInfo.createPropertySet(this.className, "emptyMessage", "value")); } - }, createChildrenList: function() { - return []; - }, isNil: function() { - return false; - }, freshenParentAndChildIndexes: function(e3) { - org.antlr.lang.isNumber(e3) || (e3 = 0); - var t2, i3, n3 = this.getChildCount(); - for (t2 = e3; t2 < n3; t2++) (i3 = this.getChild(t2)).setChildIndex(t2), i3.setParent(this); - }, sanityCheckParentAndChildIndexes: function(e3, t2) { - if (0 === arguments.length && (e3 = null, t2 = -1), e3 !== this.getParent()) throw new Error("parents don't match; expected " + e3 + " found " + this.getParent()); - if (t2 !== this.getChildIndex()) throw new Error("child indexes don't match; expected " + t2 + " found " + this.getChildIndex()); - var i3, n3 = this.getChildCount(); - for (i3 = 0; i3 < n3; i3++) this.getChild(i3).sanityCheckParentAndChildIndexes(this, i3); - }, getChildIndex: function() { - return 0; - }, setChildIndex: function(e3) { - }, getParent: function() { - return null; - }, setParent: function(e3) { - }, getTree: function() { - return this; - }, toStringTree: function() { - if (!this.children || 0 === this.children.length) return this.toString(); - var e3, t2 = ""; - for (this.isNil() || (t2 += "(", t2 += this.toString(), t2 += " "), e3 = 0; this.children && e3 < this.children.length; e3++) e3 > 0 && (t2 += " "), t2 += this.children[e3].toStringTree(); - return this.isNil() || (t2 += ")"), t2; - }, getLine: function() { - return 0; - }, getCharPositionInLine: function() { - return 0; - } }, org.antlr.runtime.tree.CommonTree = function(e3) { - this.startIndex = -1, this.stopIndex = -1, this.childIndex = -1, this.parent = null, this.token = null, e3 instanceof org.antlr.runtime.tree.CommonTree ? (org.antlr.runtime.tree.CommonTree.superclass.constructor.call(this, e3), this.token = e3.token, this.startIndex = e3.startIndex, this.stopIndex = e3.stopIndex) : e3 instanceof org.antlr.runtime.CommonToken && (this.token = e3); - }, org.antlr.lang.extend(org.antlr.runtime.tree.CommonTree, org.antlr.runtime.tree.BaseTree, { getToken: function() { - return this.token; - }, dupNode: function() { - return new org.antlr.runtime.tree.CommonTree(this); - }, isNil: function() { - return !this.token; - }, getType: function() { - return this.token ? this.token.getType() : org.antlr.runtime.Token.INVALID_TOKEN_TYPE; - }, getText: function() { - return this.token ? this.token.getText() : null; - }, getLine: function() { - return this.token && 0 !== this.token.getLine() ? this.token.getLine() : this.getChildCount() > 0 ? this.getChild(0).getLine() : 0; - }, getCharPositionInLine: function() { - return this.token && -1 !== this.token.getCharPositionInLine() ? this.token.getCharPositionInLine() : this.getChildCount() > 0 ? this.getChild(0).getCharPositionInLine() : 0; - }, getTokenStartIndex: function() { - return this.token ? this.token.getTokenIndex() : this.startIndex; - }, setTokenStartIndex: function(e3) { - this.startIndex = e3; - }, getTokenStopIndex: function() { - return this.token ? this.token.getTokenIndex() : this.stopIndex; - }, setTokenStopIndex: function(e3) { - this.stopIndex = e3; - }, getChildIndex: function() { - return this.childIndex; - }, getParent: function() { - return this.parent; - }, setParent: function(e3) { - this.parent = e3; - }, setChildIndex: function(e3) { - this.childIndex = e3; - }, toString: function() { - return this.isNil() ? "nil" : this.getType() === org.antlr.runtime.Token.INVALID_TOKEN_TYPE ? "" : this.token ? this.token.getText() : null; - } }), org.antlr.runtime.tree.Tree = { INVALID_NODE: new org.antlr.runtime.tree.CommonTree(org.antlr.runtime.Token.INVALID_TOKEN) }, org.antlr.runtime.tree.CommonErrorNode = function(e3, t2, i3, n3) { - (!i3 || i3.getTokenIndex() < t2.getTokenIndex() && i3.getType() != org.antlr.runtime.Token.EOF) && (i3 = t2), this.input = e3, this.start = t2, this.stop = i3, this.trappedException = n3; - }, org.antlr.lang.extend(org.antlr.runtime.tree.CommonErrorNode, org.antlr.runtime.tree.CommonTree, { isNil: function() { - return false; - }, getType: function() { - return org.antlr.runtime.Token.INVALID_TOKEN_TYPE; - }, getText: function() { - var e3 = null; - if (this.start instanceof org.antlr.runtime.CommonToken) { - var t2 = this.start.getTokenIndex(), i3 = this.stop.getTokenIndex(); - this.stop.getType() === org.antlr.runtime.Token.EOF && (i3 = this.input.size()), e3 = this.input.toString(t2, i3); - } else e3 = this.start instanceof org.antlr.runtime.tree.CommonTree ? this.input.toString(this.start, this.stop) : ""; - return e3; - }, toString: function() { - return this.trappedException instanceof org.antlr.runtime.MissingTokenException ? "" : this.trappedException instanceof org.antlr.runtime.UnwantedTokenException ? "" : this.trappedException instanceof org.antlr.runtime.MismatchedTokenException ? "" : this.trappedException instanceof org.antlr.runtime.NoViableAltException ? "" : ""; - } }), org.antlr.runtime.tree.BaseTreeAdaptor = function() { - this.uniqueNodeID = 1; - }, org.antlr.runtime.tree.BaseTreeAdaptor.prototype = { nil: function() { - return this.create(null); - }, errorNode: function(e3, t2, i3, n3) { - return new org.antlr.runtime.tree.CommonErrorNode(e3, t2, i3, n3); - }, isNil: function(e3) { - return e3.isNil(); - }, dupTree: function(e3, t2) { - if (1 === arguments.length && (t2 = null), !e3) return null; - var i3 = this.dupNode(e3); - this.setChildIndex(i3, this.getChildIndex(e3)), this.setParent(i3, t2); - var n3, r2, o, a = this.getChildCount(e3); - for (n3 = 0; n3 < a; n3++) r2 = this.getChild(e3, n3), o = this.dupTree(r2, e3), this.addChild(i3, o); - return i3; - }, addChild: function(e3, t2) { - e3 && org.antlr.lang.isValue(t2) && e3.addChild(t2); - }, becomeRoot: function(e3, t2) { - (e3 instanceof org.antlr.runtime.CommonToken || !e3) && (e3 = this.create(e3)); - var i3 = e3, n3 = t2; - if (!t2) return e3; - if (i3.isNil()) { - if (i3.getChildCount() > 1) throw new Error("more than one node as root (TODO: make exception hierarchy)"); - i3 = i3.getChild(0); + get isCollection() { + return this._isCollection; + } + set isCollection(e3) { + this._isCollection = a.ParameterValidator.expectBool(e3, () => r.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); + } + get maxItems() { + return this._maxItems; + } + set maxItems(e3) { + this._maxItems = a.ParameterValidator.expectInt(e3, () => r.ParameterInfo.createPropertySet(this.className, "maxItems", "value")); } - return i3.addChild(n3), i3; - }, rulePostProcessing: function(e3) { - var t2 = e3; - return t2 && t2.isNil() && (0 === t2.getChildCount() ? t2 = null : 1 === t2.getChildCount() && ((t2 = t2.getChild(0)).setParent(null), t2.setChildIndex(-1))), t2; - }, create: function(e3, t2) { - var i3; - return 2 === arguments.length ? org.antlr.lang.isString(arguments[1]) ? (i3 = arguments[1], t2 = this.createToken(e3, i3), this.create(t2)) : ((t2 = this.createToken(t2)).setType(e3), this.create(t2)) : 3 === arguments.length ? (i3 = arguments[2], (t2 = this.createToken(t2)).setType(e3), t2.setText(i3), this.create(t2)) : void 0; - }, getType: function(e3) { - return e3.getType(), 0; - }, setType: function(e3, t2) { - throw new Error("don't know enough about Tree node"); - }, getText: function(e3) { - return e3.getText(); - }, setText: function(e3, t2) { - throw new Error("don't know enough about Tree node"); - }, getChild: function(e3, t2) { - return e3.getChild(t2); - }, setChild: function(e3, t2, i3) { - e3.setChild(t2, i3); - }, deleteChild: function(e3, t2) { - return e3.deleteChild(t2); - }, getChildCount: function(e3) { - return e3.getChildCount(); - }, getUniqueID: function(e3) { - this.treeToUniqueIDMap || (this.treeToUniqueIDMap = {}); - var t2 = this.treeToUniqueIDMap[e3]; - if (org.antlr.lang.isValue(t2)) return t2; - var i3 = this.uniqueNodeID; - return this.treeToUniqueIDMap[e3] = i3, this.uniqueNodeID++, i3; - } }, org.antlr.runtime.tree.CommonTreeAdaptor = function() { - }, org.antlr.lang.extend(org.antlr.runtime.tree.CommonTreeAdaptor, org.antlr.runtime.tree.BaseTreeAdaptor, { dupNode: function(e3) { - return org.antlr.lang.isValue(e3) ? e3.dupNode() : null; - }, create: function(e3) { - return arguments.length > 1 ? org.antlr.runtime.tree.CommonTreeAdaptor.superclass.create.apply(this, arguments) : new org.antlr.runtime.tree.CommonTree(e3); - }, createToken: function(e3) { - return 2 === arguments.length ? new org.antlr.runtime.CommonToken(arguments[0], arguments[1]) : new org.antlr.runtime.CommonToken(arguments[0]); - }, setTokenBoundaries: function(e3, t2, i3) { - if (org.antlr.lang.isValue(e3)) { - var n3 = 0, r2 = 0; - org.antlr.lang.isValue(t2) && (n3 = t2.getTokenIndex ? t2.getTokenIndex() : t2.getStartIndex ? t2.getStartIndex() : t2.getTokenStartIndex()), org.antlr.lang.isValue(i3) && (r2 = r2.getTokenIndex ? i3.getTokenIndex() : i3.getStopIndex ? i3.getStopIndex() : i3.getTokenStopIndex()), e3.setTokenStartIndex(n3), e3.setTokenStopIndex(r2); + get maxItemsIsSoftLimit() { + return this._maxItemsIsSoftLimit; } - }, getTokenStartIndex: function(e3) { - return e3 ? e3.getTokenStartIndex() : -1; - }, getTokenStopIndex: function(e3) { - return e3 ? e3.getTokenStopIndex() : -1; - }, getText: function(e3) { - return e3 ? e3.getText() : null; - }, getType: function(e3) { - return e3 ? e3.getType() : org.antlr.runtime.Token.INVALID_TOKEN_TYPE; - }, getToken: function(e3) { - return e3 instanceof org.antlr.runtime.tree.CommonTree ? e3.getToken() : null; - }, getChild: function(e3, t2) { - return e3 ? e3.getChild(t2) : null; - }, getChildCount: function(e3) { - return e3 ? e3.getChildCount() : 0; - }, getParent: function(e3) { - return e3.getParent(); - }, setParent: function(e3, t2) { - e3.setParent(t2); - }, getChildIndex: function(e3) { - return e3.getChildIndex(); - }, setChildIndex: function(e3, t2) { - e3.setChildIndex(t2); - }, replaceChildren: function(e3, t2, i3, n3) { - e3 && e3.replaceChildren(t2, i3, n3); - } }), org.antlr.runtime.ANTLRStringStream = function(e3) { - this.p = 0, this.line = 1, this.charPositionInLine = 0, this.markDepth = 0, this.markers = null, this.lastMarker = null, this.data = e3, this.n = e3.length; - }, org.antlr.runtime.ANTLRStringStream.prototype = { reset: function() { - this.p = 0, this.line = 1, this.charPositionInLine = 0, this.markDepth = 0; - }, consume: function() { - this.p < this.n && (this.charPositionInLine++, "\n" === this.data.charAt(this.p) && (this.line++, this.charPositionInLine = 0), this.p++); - }, LA: function(e3) { - e3 < 0 && e3++; - var t2 = this.p + e3 - 1; - return t2 >= this.n || t2 < 0 ? org.antlr.runtime.CharStream.EOF : this.data.charAt(t2); - }, index: function() { - return this.p; - }, size: function() { - return this.n; - }, mark: function() { - this.markers || (this.markers = [], this.markers.push(null)), this.markDepth++; - var e3 = null; - return this.markDepth >= this.markers.length ? (e3 = {}, this.markers.push(e3)) : e3 = this.markers[this.markDepth], e3.p = this.p, e3.line = this.line, e3.charPositionInLine = this.charPositionInLine, this.lastMarker = this.markDepth, this.markDepth; - }, rewind: function(e3) { - org.antlr.lang.isNumber(e3) || (e3 = this.lastMarker); - var t2 = this.markers[e3]; - this.seek(t2.p), this.line = t2.line, this.charPositionInLine = t2.charPositionInLine, this.release(e3); - }, release: function(e3) { - this.markDepth = e3, this.markDepth--; - }, seek: function(e3) { - if (e3 <= this.p) this.p = e3; - else for (; this.p < e3; ) this.consume(); - }, substring: function(e3, t2) { - return this.data.substr(e3, t2 - e3 + 1); - }, getLine: function() { - return this.line; - }, getCharPositionInLine: function() { - return this.charPositionInLine; - }, setLine: function(e3) { - this.line = e3; - }, setCharPositionInLine: function(e3) { - this.charPositionInLine = e3; - }, getSourceName: function() { - return null; - } }, org.antlr.runtime.ANTLRStringStream.LT = org.antlr.runtime.ANTLRStringStream.LA, org.antlr.runtime.CommonTokenStream = function(e3, t2) { - this.p = -1, this.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL, this.v_discardOffChannelTokens = false, this.tokens = [], arguments.length >= 2 ? this.channel = t2 : 1 === arguments.length && (this.tokenSource = e3); - }, org.antlr.runtime.CommonTokenStream.prototype = { setTokenSource: function(e3) { - this.tokenSource = e3, this.tokens = [], this.p = -1, this.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL; - }, fillBuffer: function() { - for (var e3, t2, i3 = 0, n3 = this.tokenSource.nextToken(); org.antlr.lang.isValue(n3) && n3.getType() != org.antlr.runtime.CharStream.EOF; ) e3 = false, this.channelOverrideMap && (t2 = this.channelOverrideMap[n3.getType()], org.antlr.lang.isValue(t2) && n3.setChannel(t2)), (this.discardSet && this.discardSet[n3.getType()] || this.v_discardOffChannelTokens && n3.getChannel() != this.channel) && (e3 = true), e3 || (n3.setTokenIndex(i3), this.tokens.push(n3), i3++), n3 = this.tokenSource.nextToken(); - this.p = 0, this.p = this.skipOffTokenChannels(this.p); - }, consume: function() { - this.p < this.tokens.length && (this.p++, this.p = this.skipOffTokenChannels(this.p)); - }, skipOffTokenChannels: function(e3) { - for (var t2 = this.tokens.length; e3 < t2 && this.tokens[e3].getChannel() != this.channel; ) e3++; - return e3; - }, skipOffTokenChannelsReverse: function(e3) { - for (; e3 >= 0 && this.tokens[e3].getChannel() != this.channel; ) e3--; - return e3; - }, setTokenTypeChannel: function(e3, t2) { - this.channelOverrideMap || (this.channelOverrideMap = {}), this.channelOverrideMap[e3] = t2; - }, discardTokenType: function(e3) { - this.discardSet || (this.discardSet = {}), this.discardSet[e3] = true; - }, discardOffChannelTokens: function(e3) { - this.v_discardOffChannelTokens = e3; - }, getTokens: function(e3, t2, i3) { - if (-1 === this.p && this.fillBuffer(), 0 === arguments.length) return this.tokens; - if (org.antlr.lang.isArray(i3) ? i3 = new org.antlr.runtime.BitSet(i3) : org.antlr.lang.isNumber(i3) && (i3 = org.antlr.runtime.BitSet.of(i3)), t2 >= this.tokens.length && (t2 = this.tokens.length - 1), e3 < 0 && (e3 = 0), e3 > t2) return null; - var n3, r2, o = []; - for (n3 = e3; n3 <= t2; n3++) r2 = this.tokens[n3], this.types && !i3.member(r2.getType()) || o.push(r2); - return 0 === o.length && (o = null), o; - }, LT: function(e3) { - if (-1 === this.p && this.fillBuffer(), 0 === e3) return null; - if (e3 < 0) return this.LB(-1 * e3); - if (this.p + e3 - 1 >= this.tokens.length) return org.antlr.runtime.Token.EOF_TOKEN; - for (var t2 = this.p, i3 = 1; i3 < e3; ) t2 = this.skipOffTokenChannels(t2 + 1), i3++; - return t2 >= this.tokens.length ? org.antlr.runtime.Token.EOF_TOKEN : this.tokens[t2]; - }, LB: function(e3) { - if (-1 === this.p && this.fillBuffer(), 0 === e3) return null; - if (this.p - e3 < 0) return null; - for (var t2 = this.p, i3 = 1; i3 <= e3; ) t2 = this.skipOffTokenChannelsReverse(t2 - 1), i3++; - return t2 < 0 ? null : this.tokens[t2]; - }, get: function(e3) { - return this.tokens[e3]; - }, LA: function(e3) { - return this.LT(e3).getType(); - }, mark: function() { - return -1 === this.p && this.fillBuffer(), this.lastMarker = this.index(), this.lastMarker; - }, release: function(e3) { - }, size: function() { - return this.tokens.length; - }, index: function() { - return this.p; - }, rewind: function(e3) { - org.antlr.lang.isNumber(e3) || (e3 = this.lastMarker), this.seek(e3); - }, reset: function() { - this.p = -1, this.lastMarker = 0; - }, seek: function(e3) { - this.p = e3; - }, getTokenSource: function() { - return this.tokenSource; - }, getSourceName: function() { - return this.getTokenSource().getSourceName(); - }, toString: function(e3, i3) { - if (0 === arguments.length && (-1 === this.p && this.fillBuffer(), e3 = 0, i3 = this.tokens.length - 1), !org.antlr.lang.isNumber(e3) && !org.antlr.lang.isNumber(i3)) { - if (!org.antlr.lang.isValue(e3) || !org.antlr.lang.isValue(i3)) return null; - e3 = e3.getTokenIndex(), i3 = i3.getTokenIndex(); + set maxItemsIsSoftLimit(e3) { + this._maxItemsIsSoftLimit = a.ParameterValidator.expectBool(e3, () => r.ParameterInfo.createPropertySet(this.className, "maxItemsIsSoftLimit", "value")); } - var n3, r2 = ""; - if (e3 < 0 || i3 < 0) return null; - for (-1 == this.p && this.fillBuffer(), i3 >= this.tokens.length && (i3 = this.tokens.length - 1), n3 = e3; n3 <= i3; n3++) t = this.tokens[n3], r2 += this.tokens[n3].getText(); - return r2; - } }, org.antlr.runtime.TokenRewriteStream = function() { - var e3 = org.antlr.runtime.TokenRewriteStream.superclass; - this.programs = null, this.lastRewriteTokenIndexes = null, 0 === arguments.length || e3.constructor.apply(this, arguments), this.initialize(); - }, e2 = org.antlr.runtime.TokenRewriteStream, org.antlr.lang.augmentObject(e2, { DEFAULT_PROGRAM_NAME: "default", PROGRAM_INIT_SIZE: 100, MIN_TOKEN_INDEX: 0 }), e2.RewriteOperation = function(e3, t2) { - this.index = e3, this.text = t2; - }, e2.RewriteOperation.prototype = { execute: function(e3) { - return this.index; - }, toString: function() { - return this.text; - } }, e2.InsertBeforeOp = function(t2, i3) { - e2.InsertBeforeOp.superclass.constructor.call(this, t2, i3); - }, org.antlr.lang.extend(e2.InsertBeforeOp, e2.RewriteOperation, { execute: function(e3) { - return e3.push(this.text), this.index; - } }), e2.ReplaceOp = function(t2, i3, n3) { - e2.ReplaceOp.superclass.constructor.call(this, t2, n3), this.lastIndex = i3; - }, org.antlr.lang.extend(e2.ReplaceOp, e2.RewriteOperation, { execute: function(e3) { - return org.antlr.lang.isValue(this.text) && e3.push(this.text), this.lastIndex + 1; - } }), e2.DeleteOp = function(t2, i3) { - e2.DeleteOp.superclass.constructor.call(this, t2, i3); - }, org.antlr.lang.extend(e2.DeleteOp, e2.ReplaceOp), org.antlr.lang.extend(e2, org.antlr.runtime.CommonTokenStream, { init: function() { - this.programs = {}, this.programs[e2.DEFAULT_PROGRAM_NAME] = [], this.lastRewriteTokenIndexes = {}; - }, rollback: function() { - var t2; - 1 === arguments.length ? t2 = e2.DEFAULT_PROGRAM_NAME : 2 === arguments.length && (t2 = arguments[0]); - var i3 = this.programs[t2]; - i3 && (programs[t2] = i3.slice(e2.MIN_TOKEN_INDEX, this.instructionIndex)); - }, deleteProgram: function(t2) { - t2 = t2 || e2.DEFAULT_PROGRAM_NAME, this.rollback(t2, e2.MIN_TOKEN_INDEX); - }, addToSortedRewriteList: function() { - var t2, i3; - 1 === arguments.length ? (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0]) : 2 === arguments.length && (t2 = arguments[0], i3 = arguments[1]); - var n3, r2, o, a, s, l, u = this.getProgram(t2); - for (r2 = 0, n3 = u.length; r2 < n3; r2++) { - if ((o = u[r2]).index === i3.index) { - if (i3 instanceof e2.ReplaceOp) { - for (a = false, l = r2; l < u.length && (s = u[r2]).index === i3.index; l++) if (s instanceof e2.ReplaceOp) { - u[r2] = i3, a = true; - break; - } - a || u.splice(l, 0, i3); - } else u.splice(r2, 0, i3); - break; - } - if (o.index > i3.index) { - u.splice(r2, 0, i3); - break; - } + get minItems() { + return this._minItems; } - r2 === n3 && u.push(i3); - }, insertAfter: function() { - var t2, i3, n3; - 2 === arguments.length ? (i3 = e2.DEFAULT_PROGRAM_NAME, t2 = arguments[0], n3 = arguments[1]) : 3 === arguments.length && (i3 = arguments[0], t2 = arguments[1], n3 = arguments[2]), t2 instanceof org.antlr.runtime.CommonToken && (t2 = t2.index), this.insertBefore(i3, t2 + 1, n3); - }, insertBefore: function() { - var t2, i3, n3; - 2 === arguments.length ? (i3 = e2.DEFAULT_PROGRAM_NAME, t2 = arguments[0], n3 = arguments[1]) : 3 === arguments.length && (i3 = arguments[0], t2 = arguments[1], n3 = arguments[2]), t2 instanceof org.antlr.runtime.CommonToken && (t2 = t2.index), this.addToSortedRewriteList(i3, new e2.InsertBeforeOp(t2, n3)); - }, replace: function() { - var t2, i3, n3, r2; - 2 === arguments.length ? (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0], n3 = arguments[0], r2 = arguments[1]) : 3 === arguments.length && (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0], n3 = arguments[1], r2 = arguments[2]), 4 === arguments.length && (t2 = arguments[0], i3 = arguments[1], n3 = arguments[2], r2 = arguments[3]), i3 instanceof org.antlr.runtime.CommonToken && (i3 = i3.index), n3 instanceof org.antlr.runtime.CommonToken && (n3 = n3.index), i3 > n3 || n3 < 0 || i3 < 0 || this.addToSortedRewriteList(t2, new e2.ReplaceOp(i3, n3, r2)); - }, remove: function() { - for (var e3 = [], t2 = arguments.length - 1; t2 >= 0; ) e3[t2] = arguments[t2], t2--; - e3.push(""), this.replace.apply(this, e3); - }, getLastRewriteTokenIndex: function(t2) { - return t2 = t2 || e2.DEFAULT_PROGRAM_NAME, this.lastRewriteTokenIndexes[t2] || -1; - }, setLastRewriteTokenIndex: function(e3, t2) { - this.lastRewriteTokenIndexes[e3] = t2; - }, getProgram: function(e3) { - var t2 = this.programs[e3]; - return t2 || (t2 = this.initializeProgram(e3)), t2; - }, initializeProgram: function(e3) { - var t2 = []; - return this.programs[e3] = t2, t2; - }, toOriginalString: function(t2, i3) { - org.antlr.lang.isNumber(t2) || (t2 = e2.MIN_TOKEN_INDEX), org.antlr.lang.isNumber(i3) || (i3 = this.size() - 1); - var n3, r2 = []; - for (n3 = t2; n3 >= e2.MIN_TOKEN_INDEX && n3 <= i3 && n3 < this.tokens.length; n3++) r2.push(this.get(n3).getText()); - return r2.join(""); - }, toString: function() { - var t2, i3, n3; - 0 === arguments.length ? (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = e2.MIN_TOKEN_INDEX, n3 = this.size() - 1) : 1 === arguments.length ? (t2 = arguments[0], i3 = e2.MIN_TOKEN_INDEX, n3 = this.size() - 1) : 2 === arguments.length && (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0], n3 = arguments[1]); - var r2 = this.programs[t2]; - if (!r2 || 0 === r2.length) return this.toOriginalString(i3, n3); - for (var o, a, s = 0, l = i3, u = []; l >= e2.MIN_TOKEN_INDEX && l <= n3 && l < this.tokens.length; ) { - if (s < r2.length) { - for (o = r2[s]; o.index < l && s < r2.length; ) ++s < r2.length && (o = r2[s]); - for (; l === o.index && s < r2.length; ) l = o.execute(u), ++s < r2.length && (o = r2[s]); - } - l <= n3 && (u.push(this.get(l).getText()), l++); + set minItems(e3) { + this._minItems = a.ParameterValidator.expectInt(e3, () => r.ParameterInfo.createPropertySet(this.className, "minItems", "value")); } - for (a = s; a < r2.length; a++) (o = r2[a]).index >= this.size() && o.execute(u); - return u.join(""); - }, toDebugString: function(t2, i3) { - org.antlr.lang.isNumber(t2) || (t2 = e2.MIN_TOKEN_INDEX), org.antlr.lang.isNumber(i3) || (i3 = this.size() - 1); - var n3, r2 = []; - for (n3 = t2; n3 >= e2.MIN_TOKEN_INDEX && n3 <= i3 && n3 < this.tokens.length; n3++) r2.push(this.get(n3)); - return r2.join(""); - } }), org.antlr.runtime.tree.TreeNodeStream = function() { - }, org.antlr.runtime.tree.CommonTreeNodeStream = function(e3, t2, i3) { - 1 === arguments.length && (t2 = e3, e3 = new org.antlr.runtime.tree.CommonTreeAdaptor()), arguments.length <= 2 && (i3 = org.antlr.runtime.tree.CommonTreeNodeStream.DEFAULT_INITIAL_BUFFER_SIZE), this.uniqueNavigationNodes = false, this.p = -1; - var n3 = org.antlr.runtime.Token; - this.root = t2, this.adaptor = e3, this.nodes = [], this.down = this.adaptor.create(n3.DOWN, "DOWN"), this.up = this.adaptor.create(n3.UP, "UP"), this.eof = this.adaptor.create(n3.EOF, "EOF"); - }, org.antlr.lang.augmentObject(org.antlr.runtime.tree.CommonTreeNodeStream, { DEFAULT_INITIAL_BUFFER_SIZE: 100, INITIAL_CALL_STACK_SIZE: 10 }), org.antlr.lang.extend(org.antlr.runtime.tree.CommonTreeNodeStream, org.antlr.runtime.tree.TreeNodeStream, { StreamIterator: function() { - var e3 = 0, t2 = this.nodes, i3 = this.eof; - return { hasNext: function() { - return e3 < t2.length; - }, next: function() { - var n3 = e3; - return e3++, n3 < t2.length ? t2[n3] : i3; - }, remove: function() { - throw new Error("cannot remove nodes from stream"); - } }; - }, fillBuffer: function(e3) { - var t2 = false; - org.antlr.lang.isUndefined(e3) && (e3 = this.root, t2 = true); - var i3 = this.adaptor.isNil(e3); - i3 || this.nodes.push(e3); - var n3, r2, o = this.adaptor.getChildCount(e3); - for (!i3 && o > 0 && this.addNavigationNode(org.antlr.runtime.Token.DOWN), n3 = 0; n3 < o; n3++) r2 = this.adaptor.getChild(e3, n3), this.fillBuffer(r2); - !i3 && o > 0 && this.addNavigationNode(org.antlr.runtime.Token.UP), t2 && (this.p = 0); - }, getNodeIndex: function(e3) { - var t2; - for (-1 == this.p && this.fillBuffer(), t2 = 0; t2 < this.nodes.length; t2++) if (this.nodes[t2] === e3) return t2; - return -1; - }, addNavigationNode: function(e3) { - var t2; - t2 = e3 === org.antlr.runtime.Token.DOWN ? this.hasUniqueNavigationNodes() ? this.adaptor.create(org.antlr.runtime.Token.DOWN, "DOWN") : this.down : this.hasUniqueNavigationNodes() ? this.adaptor.create(org.antlr.runtime.Token.UP, "UP") : this.up, this.nodes.push(t2); - }, get: function(e3) { - return -1 === this.p && this.fillBuffer(), this.nodes[e3]; - }, LT: function(e3) { - return -1 === this.p && this.fillBuffer(), 0 === e3 ? null : e3 < 0 ? this.LB(-1 * e3) : this.p + e3 - 1 >= this.nodes.length ? this.eof : this.nodes[this.p + e3 - 1]; - }, getCurrentSymbol: function() { - return this.LT(1); - }, LB: function(e3) { - return 0 === e3 || this.p - e3 < 0 ? null : this.nodes[this.p - e3]; - }, getTreeSource: function() { - return this.root; - }, getSourceName: function() { - return this.getTokenStream().getSourceName(); - }, getTokenStream: function() { - return this.tokens; - }, setTokenStream: function(e3) { - this.tokens = e3; - }, getTreeAdaptor: function() { - return this.adaptor; - }, setTreeAdaptor: function(e3) { - this.adaptor = e3; - }, hasUniqueNavigationNodes: function() { - return this.uniqueNavigationNodes; - }, setUniqueNavigationNodes: function(e3) { - this.uniqueNavigationNodes = e3; - }, consume: function() { - -1 === this.p && this.fillBuffer(), this.p++; - }, LA: function(e3) { - return this.adaptor.getType(this.LT(e3)); - }, mark: function() { - return -1 === this.p && this.fillBuffer(), this.lastMarker = this.index(), this.lastMarker; - }, release: function(e3) { - }, index: function() { - return this.p; - }, rewind: function(e3) { - org.antlr.lang.isNumber(e3) || (e3 = this.lastMarker), this.seek(e3); - }, seek: function(e3) { - -1 === this.p && this.fillBuffer(), this.p = e3; - }, push: function(e3) { - this.calls || (this.calls = []), this.calls.push(this.p), this.seek(e3); - }, pop: function() { - var e3 = this.calls.pop(); - return this.seek(e3), e3; - }, reset: function() { - this.p = -1, this.lastMarker = 0, this.calls && (this.calls = []); - }, size: function() { - return -1 === this.p && this.fillBuffer(), this.nodes.length; - }, iterator: function() { - return -1 === this.p && this.fillBuffer(), this.StreamIterator(); - }, replaceChildren: function(e3, t2, i3, n3) { - e3 && this.adaptor.replaceChildren(e3, t2, i3, n3); - }, toTokenString: function(e3, t2) { - -1 === this.p && this.fillBuffer(); - var i3, n3, r2 = ""; - for (i3 = e3; i3 < this.nodes.length && i3 <= t2; i3++) n3 = this.nodes[i3], r2 += " " + this.adaptor.getToken(n3); - return r2; - }, toString: function(e3, t2) { - var i3, n3, r2, o, a, s = ""; - if (0 === arguments.length) { - for (-1 === this.p && this.fillBuffer(), r2 = 0; r2 < this.nodes.length; r2++) n3 = this.nodes[r2], s += " ", s += this.adaptor.getType(n3); - return s; + get createMinItemsByDefault() { + return this._createMinItemsByDefault; } - if (!org.antlr.lang.isNumber(e3) || !org.antlr.lang.isNumber(t2)) return null; - if (-1 === this.p && this.fillBuffer(), org.antlr.runtime.tree.CommonTree, org.antlr.runtime.tree.CommonTree, this.tokens) return o = this.adaptor.getTokenStartIndex(e3), a = this.adaptor.getTokenStopIndex(t2), this.adaptor.getType(t2) === org.antlr.runtime.Token.UP ? a = this.adaptor.getTokenStopIndex(e3) : this.adaptor.getType(t2) == org.antlr.runtime.Token.EOF && (a = this.size() - 2), this.tokens.toString(o, a); - for (n3 = null, r2 = 0; r2 < this.nodes.length && (n3 = this.nodes[r2]) !== e3; r2++) ; - for (s = i3 = "", n3 = this.nodes[r2]; n3 !== t2; ) i3 = this.adaptor.getText(n3), org.antlr.lang.isString(i3) || (i3 = " " + this.adaptor.getType(n3).toString()), s += i3, r2++, n3 = nodes[r2]; - return i3 = this.adaptor.getText(t2), org.antlr.lang.isString(i3) || (i3 = " " + this.adaptor.getType(t2).toString()), s + i3; - } }), org.antlr.runtime.tree.RewriteRuleElementStream = function(e3, t2, i3) { - this.cursor = 0, this.dirty = false, this.elementDescription = t2, this.adaptor = e3, i3 && (org.antlr.lang.isArray(i3) ? (this.singleElement = null, this.elements = i3) : this.add(i3)); - }, org.antlr.runtime.tree.RewriteRuleElementStream.prototype = { reset: function() { - this.cursor = 0, this.dirty = true; - }, add: function(e3) { - org.antlr.lang.isValue(e3) && (this.elements ? this.elements.push(e3) : org.antlr.lang.isValue(this.singleElement) ? (this.elements = [], this.elements.push(this.singleElement), this.singleElement = null, this.elements.push(e3)) : this.singleElement = e3); - }, nextTree: function() { - var e3, t2 = this.size(); - return this.dirty || this.cursor >= t2 && 1 == t2 ? (e3 = this._next(), this.dup(e3)) : e3 = this._next(); - }, _next: function() { - var e3 = this.size(); - if (0 === e3) throw new org.antlr.runtime.tree.RewriteEmptyStreamException(this.elementDescription); - if (this.cursor >= e3) { - if (1 === e3) return this.toTree(this.singleElement); - throw new org.antlr.runtime.tree.RewriteCardinalityException(this.elementDescription); + set createMinItemsByDefault(e3) { + this._createMinItemsByDefault = a.ParameterValidator.expectBool(e3, () => r.ParameterInfo.createPropertySet(this.className, "createMinItemsByDefault", "value")); } - if (org.antlr.lang.isValue(this.singleElement)) return this.cursor++, this.toTree(this.singleElement); - var t2 = this.toTree(this.elements[this.cursor]); - return this.cursor++, t2; - }, toTree: function(e3) { - return e3 && e3.getTree ? e3.getTree() : e3; - }, hasNext: function() { - return org.antlr.lang.isValue(this.singleElement) && this.cursor < 1 || this.elements && this.cursor < this.elements.length; - }, size: function() { - var e3 = 0; - return org.antlr.lang.isValue(this.singleElement) && (e3 = 1), this.elements ? this.elements.length : e3; - }, getDescription: function() { - return this.elementDescription; - } }, org.antlr.runtime.tree.RewriteRuleNodeStream = function(e3, t2, i3) { - org.antlr.runtime.tree.RewriteRuleNodeStream.superclass.constructor.apply(this, arguments); - }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleNodeStream, org.antlr.runtime.tree.RewriteRuleElementStream, { nextNode: function() { - return this._next(); - }, toTree: function(e3) { - return this.adaptor.dupNode(e3); - }, dup: function() { - throw new Error("dup can't be called for a node stream."); - } }), org.antlr.runtime.tree.RewriteRuleTokenStream = function(e3, t2, i3) { - org.antlr.runtime.tree.RewriteRuleTokenStream.superclass.constructor.apply(this, arguments); - }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleTokenStream, org.antlr.runtime.tree.RewriteRuleElementStream, { nextNode: function() { - var e3 = this._next(); - return this.adaptor.create(e3); - }, nextToken: function() { - return this._next(); - }, toTree: function(e3) { - return e3; - }, dup: function(e3) { - throw new Error("dup can't be called for a token stream."); - } }), org.antlr.runtime.tree.RewriteRuleSubtreeStream = function() { - org.antlr.runtime.tree.RewriteRuleSubtreeStream.superclass.constructor.apply(this, arguments); - }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleSubtreeStream, org.antlr.runtime.tree.RewriteRuleElementStream, { nextNode: function() { - var e3, t2 = this.size(); - return this.dirty || this.cursor >= t2 && 1 === t2 ? (e3 = this._next(), this.adaptor.dupNode(e3)) : e3 = this._next(); - }, dup: function(e3) { - return this.adaptor.dupTree(e3); - } }), org.antlr.runtime.BaseRecognizer = function(e3) { - this.state = e3 || new org.antlr.runtime.RecognizerSharedState(); - }, org.antlr.lang.augmentObject(org.antlr.runtime.BaseRecognizer, { MEMO_RULE_FAILED: -2, MEMO_RULE_UNKNOWN: -1, INITIAL_FOLLOW_STACK_SIZE: 100, MEMO_RULE_FAILED_I: -2, DEFAULT_TOKEN_CHANNEL: org.antlr.runtime.Token.DEFAULT_CHANNEL, HIDDEN: org.antlr.runtime.Token.HIDDEN_CHANNEL, NEXT_TOKEN_RULE_NAME: "nextToken" }), org.antlr.runtime.BaseRecognizer.prototype = { reset: function() { - var e3, t2; - if (this.state && (this.state._fsp = -1, this.state.errorRecovery = false, this.state.lastErrorIndex = -1, this.state.failed = false, this.state.syntaxErrors = 0, this.state.backtracking = 0, this.state.ruleMemo)) for (e3 = 0, t2 = this.state.ruleMemo.length; e3 < t2; e3++) this.state.ruleMemo[e3] = null; - }, match: function(e3, t2, i3) { - var n3 = this.getCurrentInputSymbol(e3); - return e3.LA(1) === t2 ? (e3.consume(), this.state.errorRecovery = false, this.state.failed = false, n3) : this.state.backtracking > 0 ? (this.state.failed = true, n3) : n3 = this.recoverFromMismatchedToken(e3, t2, i3); - }, matchAny: function(e3) { - this.state.errorRecovery = false, this.state.failed = false, e3.consume(); - }, mismatchIsUnwantedToken: function(e3, t2) { - return e3.LA(2) === t2; - }, mismatchIsMissingToken: function(e3, t2) { - return !!t2 && (t2.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE) && (this.state._fsp >= 0 && t2.remove(org.antlr.runtime.Token.EOR_TOKEN_TYPE), this.computeContextSensitiveRuleFOLLOW(), t2 = t2.or(this.viableTokensFollowingThisRule)), !(!t2.member(e3.LA(1)) && !t2.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE))); - }, mismatch: function(e3, t2, i3) { - if (this.mismatchIsUnwantedToken(e3, t2)) throw new org.antlr.runtime.UnwantedTokenException(t2, e3); - if (this.mismatchIsMissingToken(e3, i3)) throw new org.antlr.runtime.MissingTokenException(t2, e3, null); - throw new org.antlr.runtime.MismatchedTokenException(t2, e3); - }, reportError: function(e3) { - this.state.errorRecovery || (this.state.syntaxErrors++, this.state.errorRecovery = true, this.displayRecognitionError(this.getTokenNames(), e3)); - }, displayRecognitionError: function(e3, t2) { - var i3 = this.getErrorHeader(t2), n3 = this.getErrorMessage(t2, e3); - this.emitErrorMessage(i3 + " " + n3); - }, getErrorHeader: function(e3) { - return org.antlr.lang.isNumber(e3.line) || (e3.line = 0), "line " + e3.line + ":" + e3.charPositionInLine; - }, emitErrorMessage: function(e3) { - "undefined" != typeof window && window.alert ? alert(e3) : print(e3); - }, getErrorMessage: function(e3, t2) { - var i3, n3, r2 = e3 && e3.getMessage ? e3.getMessage() : null; - if (e3 instanceof org.antlr.runtime.UnwantedTokenException) { - var o = e3; - n3 = "", n3 = o.expecting == org.antlr.runtime.Token.EOF ? "EOF" : t2[o.expecting], r2 = "extraneous input " + this.getTokenErrorDisplay(o.getUnexpectedToken()) + " expecting " + n3; - } else e3 instanceof org.antlr.runtime.MissingTokenException ? (n3 = "", r2 = "missing " + (n3 = (i3 = e3).expecting == org.antlr.runtime.Token.EOF ? "EOF" : t2[i3.expecting]) + " at " + this.getTokenErrorDisplay(e3.token)) : e3 instanceof org.antlr.runtime.MismatchedTokenException ? (n3 = "", n3 = (i3 = e3).expecting == org.antlr.runtime.Token.EOF ? "EOF" : t2[i3.expecting], r2 = "mismatched input " + this.getTokenErrorDisplay(e3.token) + " expecting " + n3) : e3 instanceof org.antlr.runtime.NoViableAltException ? r2 = "no viable alternative at input " + this.getTokenErrorDisplay(e3.token) : e3 instanceof org.antlr.runtime.EarlyExitException ? r2 = "required (...)+ loop did not match anything at input " + this.getTokenErrorDisplay(e3.token) : e3 instanceof org.antlr.runtime.MismatchedSetException || e3 instanceof org.antlr.runtime.MismatchedNotSetException ? r2 = "mismatched input " + this.getTokenErrorDisplay(e3.token) + " expecting set " + e3.expecting : e3 instanceof org.antlr.runtime.FailedPredicateException && (r2 = "rule " + e3.ruleName + " failed predicate: {" + e3.predicateText + "}?"); - return r2; - }, getNumberOfSyntaxErrors: function() { - return this.state.syntaxErrors; - }, getTokenErrorDisplay: function(e3) { - var t2 = e3.getText(); - return org.antlr.lang.isValue(t2) || (t2 = e3.getType() == org.antlr.runtime.Token.EOF ? "" : "<" + e3.getType() + ">"), "'" + (t2 = (t2 = (t2 = t2.replace(/\n/g, "\\n")).replace(/\r/g, "\\r")).replace(/\t/g, "\\t")) + "'"; - }, recover: function(e3, t2) { - this.state.lastErrorIndex == e3.index() && e3.consume(), this.state.lastErrorIndex = e3.index(); - var i3 = this.computeErrorRecoverySet(); - this.beginResync(), this.consumeUntil(e3, i3), this.endResync(); - }, beginResync: function() { - }, endResync: function() { - }, computeErrorRecoverySet: function() { - return this.combineFollows(false); - }, computeContextSensitiveRuleFOLLOW: function() { - return this.combineFollows(true); - }, combineFollows: function(e3) { - var t2, i3, n3 = this.state._fsp, r2 = new org.antlr.runtime.BitSet(); - for (t2 = n3; t2 >= 0; t2--) if (i3 = this.state.following[t2], r2.orInPlace(i3), e3) { - if (!i3.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE)) break; - t2 > 0 && r2.remove(org.antlr.runtime.Token.EOR_TOKEN_TYPE); + get allowAdd() { + return this._allowAdd; } - return r2; - }, recoverFromMismatchedToken: function(e3, t2, i3) { - var n3 = null; - if (this.mismatchIsUnwantedToken(e3, t2)) { - n3 = new org.antlr.runtime.UnwantedTokenException(t2, e3), this.beginResync(), e3.consume(), this.endResync(), this.reportError(n3); - var r2 = this.getCurrentInputSymbol(e3); - return e3.consume(), r2; + set allowAdd(e3) { + this._allowAdd = a.ParameterValidator.expectBool(e3, () => r.ParameterInfo.createPropertySet(this.className, "allowAdd", "value")); } - if (this.mismatchIsMissingToken(e3, i3)) { - var o = this.getMissingSymbol(e3, n3, t2, i3); - return n3 = new org.antlr.runtime.MissingTokenException(t2, e3, o), this.reportError(n3), o; + get allowRemove() { + return this._allowRemove; } - throw new org.antlr.runtime.MismatchedTokenException(t2, e3); - }, recoverFromMismatchedSet: function(e3, t2, i3) { - if (this.mismatchIsMissingToken(e3, i3)) return this.reportError(t2), this.getMissingSymbol(e3, t2, org.antlr.runtime.Token.INVALID_TOKEN_TYPE, i3); - throw t2; - }, getCurrentInputSymbol: function(e3) { - return null; - }, getMissingSymbol: function(e3, t2, i3, n3) { - return null; - }, consumeUntil: function(e3, t2) { - for (var i3 = e3.LA(1); i3 != org.antlr.runtime.Token.EOF && !t2.member(i3); ) e3.consume(), i3 = e3.LA(1); - }, pushFollow: function(e3) { - if (this.state._fsp + 1 >= this.state.following.length) { - var t2, i3 = []; - for (t2 = this.state.following.length - 1; t2 >= 0; t2--) i3[t2] = this.state.following[t2]; - this.state.following = i3; + set allowRemove(e3) { + this._allowRemove = a.ParameterValidator.expectBool(e3, () => r.ParameterInfo.createPropertySet(this.className, "allowRemove", "value")); + } + get allowReorder() { + return this._allowReorder; + } + set allowReorder(e3) { + this._allowReorder = a.ParameterValidator.expectBool(e3, () => r.ParameterInfo.createPropertySet(this.className, "allowReorder", "value")); + } + setEmptyMessage(e3) { + return this.emptyMessage = e3, this; + } + setIsCollection(e3) { + return this.isCollection = e3, this; + } + setMaxItems(e3, t3) { + return this.maxItems = e3, t3 && (this.maxItemsIsSoftLimit = true), this; + } + setMaxItemsIsSoftLimit(e3) { + return this.maxItemsIsSoftLimit = e3, this; + } + setMinItems(e3) { + return this.minItems = e3, this; + } + setCreateMinItemsByDefault(e3) { + return this.createMinItemsByDefault = e3, this; + } + setAllowAdd(e3) { + return this.allowAdd = e3, this; + } + setAllowRemove(e3) { + return this.allowRemove = e3, this; + } + setAllowReorder(e3) { + return this.allowReorder = e3, this; + } + setListIsLocked() { + return this.allowAdd = false, this.allowRemove = false, this.allowReorder = false, this; + } + get defaultToBuilderId() { + if (true !== this._isCollection) return super.defaultToBuilderId; + } + set defaultToBuilderId(e3) { + super.defaultToBuilderId = e3; + } + get itemAddedCallback() { + return this._itemAddedCallback; + } + set itemAddedCallback(e3) { + this._itemAddedCallback = e3; + } + setItemAddedCallback(e3) { + return this.itemAddedCallback = e3, this; + } + get uiCanMoveItemCallback() { + return this._uiCanMoveItemCallback; + } + set uiCanMoveItemCallback(e3) { + this._uiCanMoveItemCallback = e3; + } + setUiCanMoveItemCallback(e3) { + return this.uiCanMoveItemCallback = e3, this; + } + } + 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); + }, 19507(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s, l; + t2.BaseExpressionTypeOptions = void 0; + 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)), I = i2(74761), C = i2(9456), O = 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 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); } - this.state._fsp++, this.state.following[this.state._fsp] = e3; - }, getRuleInvocationStack: function(e3, t2) { - throw new Error("Not implemented."); - }, getBacktrackingLevel: function() { - return this.state.backtracking; - }, getTokenNames: function() { - return null; - }, getGrammarFileName: function() { - return null; - }, toStrings: function(e3) { - if (!e3) return null; - var t2, i3 = []; - for (t2 = 0; t2 < e3.length; t2++) i3.push(e3[t2].getText()); - return i3; - }, getRuleMemoization: function(e3, t2) { - this.state.ruleMemo[e3] || (this.state.ruleMemo[e3] = {}); - var i3 = this.state.ruleMemo[e3][t2]; - return org.antlr.lang.isNumber(i3) ? i3 : org.antlr.runtime.BaseRecognizer.MEMO_RULE_UNKNOWN; - }, alreadyParsedRule: function(e3, t2) { - var i3 = this.getRuleMemoization(t2, e3.index()); - return i3 != org.antlr.runtime.BaseRecognizer.MEMO_RULE_UNKNOWN && (i3 == org.antlr.runtime.BaseRecognizer.MEMO_RULE_FAILED ? this.state.failed = true : e3.seek(i3 + 1), true); - }, memoize: function(e3, t2, i3) { - var n3 = this.state.failed ? org.antlr.runtime.BaseRecognizer.MEMO_RULE_FAILED : e3.index() - 1; - if (!org.antlr.lang.isValue(this.state.ruleMemo)) throw new Error("!!!!!!!!! memo array is null for " + this.getGrammarFileName()); - if (t2 >= this.state.ruleMemo.length) throw new Error("!!!!!!!!! memo size is " + this.state.ruleMemo.length + ", but rule index is " + t2); - org.antlr.lang.isValue(this.state.ruleMemo[t2]) && (this.state.ruleMemo[t2][i3] = n3); - }, getRuleMemoizationCacheSize: function() { - var e3, t2 = 0; - for (e3 = 0; this.state.ruleMemo && e3 < this.state.ruleMemo.length; e3++) { - var i3 = this.state.ruleMemo[e3]; - i3 && (t2 += i3.length); + resolveDefaultText(e3) { + p.default.isString(this.defaultText) && this.setDefaultText(N.default.resolveString(this.defaultText, null == e3 ? void 0 : e3.parentFlow)); } - return t2; - }, traceIn: function(e3, t2, i3) { - this.emitErrorMessage("enter " + e3 + " " + i3), this.state.failed && this.emitErrorMessage(" failed=" + this.failed), this.state.backtracking > 0 && this.emitErrorMessage(" backtracking=" + this.state.backtracking); - }, traceOut: function(e3, t2, i3) { - this.emitErrorMessage("exit " + e3 + " " + i3), this.state.failed && this.emitErrorMessage(" failed=" + this.state.failed), this.state.backtracking > 0 && this.emitErrorMessage(" backtracking=" + this.state.backtracking); - } }, org.antlr.runtime.Lexer = function(e3, t2) { - t2 && org.antlr.runtime.Lexer.superclass.constructor.call(this, t2), e3 && (this.input = e3); - }, org.antlr.lang.extend(org.antlr.runtime.Lexer, org.antlr.runtime.BaseRecognizer, { reset: function() { - org.antlr.runtime.Lexer.superclass.reset.call(this), org.antlr.lang.isValue(this.input) && this.input.seek(0), org.antlr.lang.isValue(this.state) && (this.state.token = null, this.state.type = org.antlr.runtime.Token.INVALID_TOKEN_TYPE, this.state.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL, this.state.tokenStartCharIndex = -1, this.state.tokenStartCharPositionInLine = -1, this.state.tokenStartLine = -1, this.state.text = null); - }, nextToken: function() { - for (; ; ) { - if (this.state.token = null, this.state.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL, this.state.tokenStartCharIndex = this.input.index(), this.state.tokenStartCharPositionInLine = this.input.getCharPositionInLine(), this.state.tokenStartLine = this.input.getLine(), this.state.text = null, this.input.LA(1) === org.antlr.runtime.CharStream.EOF) return org.antlr.runtime.Token.EOF_TOKEN; - try { - if (this.mTokens(), org.antlr.lang.isValue(this.state.token)) { - if (this.state.token == org.antlr.runtime.Token.SKIP_TOKEN) continue; - } else this.emit(); - return this.state.token; - } catch (e3) { - if (e3 instanceof org.antlr.runtime.NoViableAltException) this.reportError(e3), this.recover(e3); + _setFromOptions(e3) { + var t3, i3; + if (super._setFromOptions(e3), e3.isExpressionOptions) this._configureInputOutputState(e3.isInput, e3.allowModeLiteral, e3.allowModeVariable, e3._allowModeExpression, e3.allowModeBuilder); + else { + const n3 = e3; + if (null === (t3 = n3.direction) || void 0 === t3 ? void 0 : t3.output) this.setAsOutput(); + else if (null === (i3 = n3.direction) || void 0 === i3 ? void 0 : i3.input) if (n3.direction.input[_.modeCombinations.expressionOnly]) this.setAllowModeExpressionOnly(false); + else if (n3.direction.input[_.modeCombinations.expressionOrBuilderOnly]) this.setAllowModeExpressionOnly(true); + else if (n3.direction.input[_.modeCombinations.literalOnly]) this.setAllowModeLiteralOnly(); + else if (n3.direction.input[_.modeCombinations.variableOnly]) this.setAsVariableInput(); + else if (n3.direction.input[_.modeCombinations.variableAndExpression]) this.setAsVariableInput(), this.setAllowModeExpression(true); else { - if (!(e3 instanceof org.antlr.runtime.RecognitionException)) throw e3; - this.reportError(e3); + const e4 = Object.keys(n3.direction.input); + 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.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); } - }, skip: function() { - this.state.token = org.antlr.runtime.Token.SKIP_TOKEN; - }, setCharStream: function(e3) { - this.input = null, this.reset(), this.input = e3; - }, getCharStream: function() { - return this.input; - }, getSourceName: function() { - return this.input.getSourceName(); - }, emit: function() { - if (0 === arguments.length) { - var e3 = new org.antlr.runtime.CommonToken(this.input, this.state.type, this.state.channel, this.state.tokenStartCharIndex, this.getCharIndex() - 1); - return e3.setLine(this.state.tokenStartLine), e3.setText(this.state.text), e3.setCharPositionInLine(this.state.tokenStartCharPositionInLine), this.state.token = e3, e3; + _configureInputOutputState(e3, t3, i3, n3, o2) { + return this._isInput = e3, this._isOutput = !e3, this.setAllowModeLiteral(!!t3).setAllowModeVariable(!!i3).setAllowModeExpression(!!n3, o2); } - this.state.token = arguments[0]; - }, match: function(e3) { - var t2, i3 = 0; - if (org.antlr.lang.isString(e3)) for (; i3 < e3.length; ) { - if (this.input.LA(1) != e3.charAt(i3)) { - if (this.state.backtracking > 0) return void (this.state.failed = true); - throw t2 = new org.antlr.runtime.MismatchedTokenException(e3.charAt(i3), this.input), this.recover(t2), t2; - } - i3++, this.input.consume(), this.state.failed = false; + _incrementDescriptionInfoGenId() { + this._descriptionInfoFull.generationId = (0, C.uuid)(), this.descriptionInfoGenerationId$.next(this._descriptionInfoFull.generationId); } - else if (org.antlr.lang.isNumber(e3)) { - if (this.input.LA(1) != e3) { - if (this.state.backtracking > 0) return void (this.state.failed = true); - throw t2 = new org.antlr.runtime.MismatchedTokenException(e3, this.input), this.recover(t2), t2; - } - this.input.consume(), this.state.failed = false; + getAllowableModeCount(e3) { + let t3 = 0; + return this.allowModeLiteral && t3++, this.allowModeVariable && t3++, this.getAllowModeExpression(e3) && t3++, this.allowModeNoValue && t3++, this.allowModeBuilder && t3++, t3; } - }, matchAny: function() { - this.input.consume(); - }, matchRange: function(e3, t2) { - if (this.input.LA(1) < e3 || this.input.LA(1) > t2) { - if (this.state.backtracking > 0) return void (this.state.failed = true); - throw mre = new org.antlr.runtime.MismatchedRangeException(e3, t2, this.input), this.recover(mre), mre; + get isInput() { + return this._isInput; } - this.input.consume(), this.state.failed = false; - }, getLine: function() { - return this.input.getLine(); - }, getCharPositionInLine: function() { - return this.input.getCharPositionInLine(); - }, getCharIndex: function() { - return this.input.index(); - }, getText: function() { - return org.antlr.lang.isString(this.state.text) ? this.state.text : this.input.substring(this.state.tokenStartCharIndex, this.getCharIndex() - 1); - }, setText: function(e3) { - this.state.text = e3; - }, reportError: function(e3) { - this.displayRecognitionError(this.getTokenNames(), e3); - }, getErrorMessage: function(e3, t2) { - return e3 instanceof org.antlr.runtime.MismatchedTokenException ? "mismatched character " + this.getCharErrorDisplay(e3.c) + " expecting " + this.getCharErrorDisplay(e3.expecting) : e3 instanceof org.antlr.runtime.NoViableAltException ? "no viable alternative at character " + this.getCharErrorDisplay(e3.c) : e3 instanceof org.antlr.runtime.EarlyExitException ? "required (...)+ loop did not match anything at character " + this.getCharErrorDisplay(e3.c) : e3 instanceof org.antlr.runtime.MismatchedNotSetException || e3 instanceof org.antlr.runtime.MismatchedSetException ? "mismatched character " + this.getCharErrorDisplay(e3.c) + " expecting set " + e3.expecting : e3 instanceof org.antlr.runtime.MismatchedRangeException ? "mismatched character " + this.getCharErrorDisplay(e3.c) + " expecting set " + this.getCharErrorDisplay(e3.a) + ".." + this.getCharErrorDisplay(e3.b) : org.antlr.runtime.Lexer.superclass.getErrorMessage.call(this, e3, t2); - }, getCharErrorDisplay: function(e3) { - var t2 = e3; - switch (t2) { - case org.antlr.runtime.Token.EOF: - t2 = ""; - break; - case "\n": - t2 = "\\n"; - break; - case " ": - t2 = "\\t"; - break; - case "\r": - t2 = "\\r"; + get isOutput() { + return this._isOutput; } - return "'" + t2 + "'"; - }, recover: function(e3) { - this.input.consume(); - }, traceIn: function(e3, t2) { - var i3 = String.fromCharCode(this.input.LT(1)) + " line=" + this.getLine() + ":" + this.getCharPositionInLine(); - org.antlr.runtime.Lexer.superclass.traceIn.call(this, e3, t2, i3); - }, traceOut: function(e3, t2) { - var i3 = String.fromCharCode(this.input.LT(1)) + " line=" + this.getLine() + ":" + this.getCharPositionInLine(); - org.antlr.runtime.Lexer.superclass.traceOut.call(this, e3, t2, i3); - } }), org.antlr.runtime.ParserRuleReturnScope = function() { - }, org.antlr.runtime.ParserRuleReturnScope.prototype = { getStart: function() { - return this.start; - }, getStop: function() { - return this.stop; - } }, org.antlr.runtime.tree.TreeRuleReturnScope = function() { - }, org.antlr.runtime.tree.TreeRuleReturnScope.prototype = { getStart: function() { - return this.start; - } }, org.antlr.runtime.Parser = function(e3, t2) { - org.antlr.runtime.Parser.superclass.constructor.call(this, t2), this.setTokenStream(e3); - }, org.antlr.lang.extend(org.antlr.runtime.Parser, org.antlr.runtime.BaseRecognizer, { reset: function() { - org.antlr.runtime.Parser.superclass.reset.call(this), org.antlr.lang.isValue(this.input) && this.input.seek(0); - }, getCurrentInputSymbol: function(e3) { - return e3.LT(1); - }, getMissingSymbol: function(e3, t2, i3, n3) { - var r2, o = "", a = new org.antlr.runtime.CommonToken(i3, o), s = e3.LT(1); - return s.getType() === org.antlr.runtime.Token.EOF && (r2 = s, (s = e3.LT(-1)) || (s = r2)), a.line = s.getLine(), a.charPositionInLine = s.getCharPositionInLine(), a.channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, a; - }, setTokenStream: function(e3) { - this.input = null, this.reset(), this.input = e3; - }, getTokenStream: function() { - return this.input; - }, getSourceName: function() { - return this.input.getSourceName(); - }, traceIn: function(e3, t2) { - org.antlr.runtime.Parser.superclass.traceIn.call(this, e3, t2, this.input.LT(1)); - }, traceOut: function(e3, t2) { - org.antlr.runtime.Parser.superclass.traceOut.call(this, e3, t2, this.input.LT(1)); - } }), org.antlr.runtime.DFA = function() { - }, org.antlr.runtime.DFA.prototype = { predict: function(e3) { - var t2, i3, n3, r2 = e3.mark(), o = 0; - try { - for (; ; ) if ((t2 = this.special[o]) >= 0) { - if (-1 === (o = this.specialStateTransition(t2, e3))) return this.noViableAlt(o, e3), 0; - e3.consume(); - } else { - if (this.accept[o] >= 1) return this.accept[o]; - if ((i3 = e3.LA(1)) === org.antlr.runtime.Token.EOF ? i3 = -1 : org.antlr.lang.isString(i3) && (i3 = i3.charCodeAt(0)), i3 >= this.min[o] && i3 <= this.max[o]) { - if ((n3 = this.transition[o][i3 - this.min[o]]) < 0) { - if (this.eot[o] >= 0) { - o = this.eot[o], e3.consume(); - continue; - } - return this.noViableAlt(o, e3), 0; - } - o = n3, e3.consume(); - } else { - if (!(this.eot[o] >= 0)) return i3 == org.antlr.runtime.Token.EOF && this.eof[o] >= 0 ? this.accept[this.eof[o]] : (this.noViableAlt(o, e3), 0); - o = this.eot[o], e3.consume(); - } - } - } finally { - e3.rewind(r2); + get className() { + return "BaseExpressionTypeOptions"; } - }, noViableAlt: function(e3, t2) { - if (!(this.recognizer.state.backtracking > 0)) { - var i3 = new org.antlr.runtime.NoViableAltException(this.getDescription(), this.decisionNumber, e3, t2); - throw this.error(i3), i3; + get isExpressionOptions() { + return true; } - this.recognizer.state.failed = true; - }, error: function(e3) { - }, specialStateTransition: function(e3, t2) { - return -1; - }, getDescription: function() { - return "n/a"; - } }, org.antlr.lang.augmentObject(org.antlr.runtime.DFA, { unpackEncodedString: function(e3) { - var t2, i3, n3, r2, o = [], a = 0; - for (t2 = 0; t2 < e3.length; t2 += 2) for (i3 = e3.charCodeAt(t2), 65535 === (n3 = e3.charCodeAt(t2 + 1)) && (n3 = -1), r2 = 1; r2 <= i3; r2++) o[a++] = n3; - return o; - }, unpackEncodedStringToUnsignedChars: function(e3) { - return org.antlr.runtime.DFA.unpackEncodedString(e3); - } }), org.antlr.runtime.tree.TreeParser = function(e3) { - org.antlr.runtime.tree.TreeParser.superclass.constructor.call(this, arguments[1]), this.setTreeNodeStream(e3); - }, i2 = org.antlr.runtime.tree.TreeParser, org.antlr.lang.augmentObject(i2, { DOWN: org.antlr.runtime.Token.DOWN, UP: org.antlr.runtime.Token.UP }), org.antlr.lang.extend(i2, org.antlr.runtime.BaseRecognizer, { reset: function() { - i2.superclass.reset.call(this), this.input && this.input.seek(0); - }, setTreeNodeStream: function(e3) { - this.input = e3; - }, getTreeNodeStream: function() { - return this.input; - }, getSourceName: function() { - return this.input.getSourceName(); - }, getCurrentInputSymbol: function(e3) { - return e3.LT(1); - }, getMissingSymbol: function(e3, t2, i3, n3) { - var r2 = ""; - return new org.antlr.runtime.tree.CommonTree(new org.antlr.runtime.CommonToken(i3, r2)); - }, matchAny: function(e3) { - this.state.errorRecovery = false, this.state.failed = false; - var t2 = this.input.LT(1); - if (0 !== this.input.getTreeAdaptor().getChildCount(t2)) { - for (var n3 = 0, r2 = this.input.getTreeAdaptor().getType(t2); r2 !== org.antlr.runtime.Token.EOF && (r2 !== i2.UP || 0 !== n3); ) this.input.consume(), t2 = this.input.LT(1), (r2 = this.input.getTreeAdaptor().getType(t2)) === i2.DOWN ? n3++ : r2 === i2.UP && n3--; - this.input.consume(); - } else this.input.consume(); - }, mismatch: function(e3, t2, i3) { - throw new org.antlr.runtime.MismatchedTreeNodeException(t2, e3); - }, getErrorHeader: function(e3) { - return this.getGrammarFileName() + ": node from " + (e3.approximateLineInfo ? "after " : "") + "line " + e3.line + ":" + e3.charPositionInLine; - }, getErrorMessage: function(e3, t2) { - var n3; - return this instanceof i2 && (n3 = e3.input.getTreeAdaptor(), e3.token = n3.getToken(e3.node), org.antlr.lang.isValue(e3.token) || (e3.token = new org.antlr.runtime.CommonToken(n3.getType(e3.node), n3.getText(e3.node)))), i2.superclass.getErrorMessage.call(this, e3, t2); - }, traceIn: function(e3, t2) { - i2.superclass.traceIn.call(this, e3, t2, this.input.LT(1)); - }, traceOut: function(e3, t2) { - i2.superclass.traceOut.call(this, e3, t2, this.input.LT(1)); - } }); - }, 50924: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get allowModeExpression() { + return this._allowModeExpression; } - get _globalTypeName() { - return "journeySessionOutcomeAchievementCollection"; + getAllowModeExpression(e3) { + return !!this._allowModeExpression && (!!this._isInput || !!this._outputExprTextAllowsReadOnlyVarType || e3.parentFlow.definition.outputValuesSupportVariableExpressions); } - get displayTypeName() { - return "ArchValueJourneySessionOutcomeAchievementCollection"; + get allowEmptyConfig() { + return this._allowEmptyConfig; } - get isArchValueJourneySessionOutcomeAchievementCollection() { - return true; + set allowEmptyConfig(e3) { + this._allowEmptyConfig = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowEmptyConfig", "value")); } - } - t2.default = r2; - }, 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), 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(); - return o.default.isUndefined(e3) || r3.setMinDur(e3, true === t3), o.default.isUndefined(i3) ? r3.setMaxDur(a.default.maxDurationMs, false) : r3.setMaxDur(i3, true === n3), r3; + get allowFlowLevelDefault() { + return this._allowFlowLevelDefault; } - constructor() { - super(), this._maxVal || this.setMaxDur(a.default.maxDurationMs, false); + set allowFlowLevelDefault(e3) { + this._allowFlowLevelDefault = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowFlowLevelDefault", "value")); } - _setFromFacets(e3) { - super._setFromFacets(e3), this._setFacetIfSet(() => this.setMaxDur(e3.maxVal, e3.maxValInclusive), e3.maxVal, "_maxVal"), this._setFacetIfSet(() => this.setMinDur(e3.minVal, e3.minValInclusive), e3.minVal, "_minVal"); + get allowModeLiteral() { + return this._allowModeLiteral && this.supportsLiteralMode; } - get className() { - return "DurationFacets"; + get descriptionAdditionalInfoSection() { + return this._descriptionAdditionalInfoSection; } - get isDurationFacets() { - return true; + set descriptionAdditionalInfoSection(e3) { + this._descriptionAdditionalInfoSection = S.ParameterValidator.expectObject(e3, () => y.ParameterInfo.createPropertySet(this.className, "descriptionAdditionalInfoSection", "value"), true), this._incrementDescriptionInfoGenId(); } - setMaxDur(e3, t3) { - return this._maxVal = d.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMaxDur", "maxDur"), true), o.default.isUndefined(t3) || this.setMaxValInclusive(t3), this; + clearDescriptionAdditionalInfoSection() { + return this.descriptionAdditionalInfoSection = void 0, this; } - setMinDur(e3, t3) { - return this._minVal = d.ParameterValidator.expectInt(e3, () => u.ParameterInfo.createFunctionParameter(this.className, "setMinDur", "minDur"), true), o.default.isUndefined(t3) || this.setMinValInclusive(t3), this; + setDescriptionAdditionalInfoSection(e3) { + return this.descriptionAdditionalInfoSection = e3, this; } - _createDurationError(e3, t3, i3, n3) { - return this._createErrorResult((0, r2.sprintf)(e3, this._getFacetValueForDisplay(t3), this._getFacetValueForDisplay(i3))); + get labelBadge() { + return this._labelBadge; } - _facetGetExpressionItemLitValue(e3) { - if (!e3.isLit) return null; - const t3 = this._facetGetExpressionType(), i3 = e3.getLitAsString(); - return t3.toMilliseconds(i3); + set labelBadge(e3) { + this._labelBadge = e3; } - _facetGetExpressionType() { - return p.default.getGlobalTypeGroup().getType(c.expressionTypeNames.duration, this.isCollection); + setLabelBadge(e3) { + return this.labelBadge = e3, this; } - _facetValidateValue(e3, t3) { - if (void 0 !== this.minVal) { - if (this.minValInclusive) { - if (e3 < this.minVal) return this._createDurationError(_.facets.valueMustBeGreaterThanOrEqualTo, e3, this.minVal, t3); - } else if (e3 <= this.minVal) return this._createDurationError(_.facets.valueMustBeGreaterThan, e3, this.minVal, t3); - } - if (void 0 !== this.maxVal) { - if (this.maxValInclusive) { - if (e3 > this.maxVal) return this._createDurationError(_.facets.valueMustBeLessThanOrEqualTo, e3, this.maxVal, t3); - } else if (e3 >= this.maxVal) return this._createDurationError(_.facets.valueMustBeLessThan, e3, this.maxVal, t3); - } - return { isValid: true }; + get useLabelBadge() { + return this._useLabelBadge; } - _getFacetValueForDisplay(e3) { - return s.getSearchStringFromMilliseconds(e3); + set useLabelBadge(e3) { + this._useLabelBadge = e3; } - validateMilliseconds(e3, t3) { - return this._facetValidateValue(e3, t3); + setUseLabelBadge(e3) { + return this.useLabelBadge = e3, this; } - } - t2.default = h; - }, 51039: (e2, t2, i2) => { - "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 c extends u.default { - constructor(e3) { - super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreSlotSettingsViewModel"), e3), this._coreSlotSettingsViewModel = e3, (0, s.makeUnenumerable)(this, "_coreSlotSettingsViewModel"); + get descriptionNote() { + return this._descriptionNote; } - get displayTypeName() { - return "ArchSettingsNluSlot"; + set descriptionNote(e3) { + this._descriptionNote = e3; } - get isArchSettingsNluSlot() { - return true; + setDescriptionNote(e3) { + return this.descriptionNote = e3, this; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreSlotSettingsViewModel.parentFlow); + setVirtualAgentLabelBadge() { + return this.setLabelBadge(f.aiPoweredBadgeWithText); } - get logStr() { - return this.logStrTypeOnly; + get customizations() { + return this._customizations; } - associateWithGrammarByNameAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a grammar with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("grammarName", "associateWithGrammarByNameAsync"), e3); - const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByValueAsync(o.grammarManager, e3, "grammar", "name", "name"); - n3 || this._checkItem(this._infoParm("grammarName", "associateWithGrammarByNameAsync"), !n3, "unable to find the specified grammar."), this.logNote(`Found info for the grammar named '${n3.name}' for the passed grammar name of '${e3}'.`), t3.addSlotGrammarMapping(i3, { id: n3.id, name: n3.name }); - }); + get customizationsRoot() { + return this._customizationsRoot; } - set captureValue(e3) { - this._checkItemIsValidLiteralStringEnum(this._infoParm("captureValue", "captureValue"), e3, r2.default.CAPTURE_TYPES_ALL); - const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name; - this.logNote(`Setting slot '${i3}' capture value to '${e3}'.`), t3.addListPickerMapping(i3, e3, true); + setAndApplyCustomizations(e3, t3) { + return (t3 = m.resolveCustomization(e3, t3)) ? (this._customizations = t3, this._customizationsRoot = e3, (null == t3 ? void 0 : t3.isLiteralOnly) && this.setAllowModeLiteralOnly(), this) : (this._customizations = void 0, void (this._customizationsRoot = void 0)); } - get captureValue() { - var e3; - return null === (e3 = this._coreSlotSettingsViewModel.parent.listPickerMappings) || void 0 === e3 ? void 0 : e3[this._coreSlotSettingsViewModel.name]; + get doNotWantBlankRuntimeOutput() { + return this._doNotWantBlankRuntimeOutput; } - associateWithSpeechToTextEngineByNameAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a speech to text engine with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("sttEngineName", "associateWithSpeechToTextEngineByNameAsync"), e3); - const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByValueAsync(a.speechToTextEngineManager, e3, "sttEngine", "name", "name"); - n3 || this._checkItem(this._infoParm("sttEngineName", "associateWithSpeechToTextEngineByNameAsync"), !n3, "unable to find the specified speech to text engine."), this.logNote(`Found info for speech to text engine with name '${n3.name}' & ID '${n3.id}'.`), t3.addSlotGrammarSttEngineMapping(i3, { name: n3.name, id: n3.id }); - }); + set doNotWantBlankRuntimeOutput(e3) { + this._doNotWantBlankRuntimeOutput = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "doNotWantBlankRuntimeOutput", "value")); } - associateWithGrammarByIdAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a grammar with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("grammarId", "associateWithGrammarByIdAsync"), e3); - const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByIdAsync(o.grammarManager, e3, "grammar", "id"); - n3 || this._checkItem(this._infoParm("grammarId", "associateWithGrammarByIdAsync"), !n3, "unable to find the specified grammar."), t3.addSlotGrammarMapping(i3, { id: n3.id, name: n3.name }); - }); + setDoNotWantBlankRuntimeOutput(e3) { + return this.doNotWantBlankRuntimeOutput = e3, this; } - associateWithSpeechToTextEngineByIdAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a speech to text engine with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("sttEngineId", "associateWithSpeechToTextEngineByIdAsync"), e3); - const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByIdAsync(a.speechToTextEngineManager, e3, "sttEngine", "id"); - n3 || this._checkItem(this._infoParm("sttEngineId", "associateWithSpeechToTextEngineByIdAsync"), !n3, "unable to find the specified speech to text engine."), this.logNote(`Found info for speech to text engine with name '${n3.name}' & ID '${n3.id}'.`), t3.addSlotGrammarSttEngineMapping(i3, { name: n3.name, id: n3.id }); - }); + get supportsLiteralMode() { + return true; } - getAssociatedGrammarId() { - var e3; - if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); - return (null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.id) || void 0; + get suppressBuilderModePromptResourceChecks() { + return this._suppressBuilderModePromptResourceChecks; } - getAssociatedGrammarSpeechToTextEngineId() { - var e3; - if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar-based speech to text engine in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); - return (null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.sttEngine.id) || void 0; + set suppressBuilderModePromptResourceChecks(e3) { + this._suppressBuilderModePromptResourceChecks = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "suppressBuilderModePromptResourceChecks", "value")); } - getAssociatedGrammarName() { - return n2.__awaiter(this, void 0, void 0, function* () { - var e3; - if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); - const t3 = null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.id; - if (!t3) return; - const i3 = yield l.default.findItemByValueAsync(o.grammarManager, t3, "grammar", "id", "id"); - return i3.name ? (this.logNote(`Found info for the grammar named '${i3.name}' for the passed grammar id of '${t3}'.`), i3.name) : void 0; - }); + get allowModeBuilder() { + return this._allowModeExpression && this.isInput && this._allowModeBuilder; } - getAssociatedGrammarSpeechToTextEngineName() { - return n2.__awaiter(this, void 0, void 0, function* () { - var e3, t3; - if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar-based speech to text engine in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); - const i3 = null === (t3 = null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.sttEngine) || void 0 === t3 ? void 0 : t3.id; - if (!i3) return; - const n3 = yield l.default.findItemByValueAsync(a.speechToTextEngineManager, i3, "sttEngine", "id", "id"); - return (null == n3 ? void 0 : n3.name) ? (this.logNote(`Found info for the speech to text engine named '${n3.name}' for the passed speech to text Engine id of '${i3}'.`), n3.name) : void 0; - }); + get allowModeNoValue() { + return this.isOptional || this.isInheritingExpression || !this.allowModeLiteral && !this.allowModeVariable && !this._allowModeExpression; } - } - t2.default = c; - }, 51060: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneyOutcomeActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + get allowedBuilderCategoryIdFilter() { + return this._allowedBuilderCategoryIdFilter; } - } - t2.GetJourneyOutcomeActionModel = o, o.__type = r2.getJourneyOutcomeActionType, o.registerType(); - }, 51071: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.fromSubscribable = void 0; - var n2 = i2(48051); - t2.fromSubscribable = function(e3) { - return new n2.Observable(function(t3) { - return e3.subscribe(t3); - }); - }; - }, 51125: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.YamlCharacteristics = t2.JsonCharacteristics = t2.ArchitectYamlCharacteristics = t2.ArchitectJsonCharacteristics = void 0, t2.getCharacteristicsForLanguage = function(e3) { - switch (e3) { - case n2.CodeLanguage.jsn: - return t2.JsonCharacteristics; - case n2.CodeLanguage.architectJson: - return t2.ArchitectJsonCharacteristics; - case n2.CodeLanguage.yaml: - return t2.YamlCharacteristics; - case n2.CodeLanguage.architectYaml: - return t2.ArchitectYamlCharacteristics; + set allowedBuilderCategoryIdFilter(e3) { + this._allowedBuilderCategoryIdFilter = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowedBuilderCategoryIdFilter", "value"), true); } - }; - const n2 = i2(17666); - t2.ArchitectJsonCharacteristics = { arrayItemPrefixSeparator: "", itemSeparator: ",", objectPropertyNameValueSeparator: "", objectPropertySeparator: ",", supportsArchitectExpressions: true, supportsArchitectLiterals: true }, t2.ArchitectYamlCharacteristics = { arrayItemPrefixSeparator: "-", itemSeparator: "", objectPropertyNameValueSeparator: ":", objectPropertySeparator: "", supportsArchitectExpressions: true, supportsArchitectLiterals: true }, t2.JsonCharacteristics = { arrayItemPrefixSeparator: "", itemSeparator: ",", objectPropertyNameValueSeparator: "", objectPropertySeparator: ",", supportsArchitectExpressions: false, supportsArchitectLiterals: false }, t2.YamlCharacteristics = { arrayItemPrefixSeparator: "-", itemSeparator: "", objectPropertyNameValueSeparator: ":", objectPropertySeparator: "", supportsArchitectExpressions: false, supportsArchitectLiterals: false }; - }, 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)), c = n2.__importDefault(i2(64807)), d = i2(27862); - class p extends a.default { - get requiredAuth() { - return s.externalAuthorizations.authStrings.oAuthClientView; + get allowedBuilderIds() { + return this._allowedBuilderIds; } - get dependencyType() { - return d.OAuthClient; + set allowedBuilderIds(e3) { + this._allowedBuilderIds = S.ParameterValidator.expectArray(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowedBuilderIds", "value"), true); } - 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(); + get allowSecure() { + return this._allowSecure; } - _createItemViewModel(e3) { - return new c.default(e3); + set allowSecure(e3) { + this._allowSecure = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowSecure", "value")); } - get _networkModel() { - return u.default; + get assignablePropertiesNoExpression() { + return this._assignablePropertiesNoExpression; } - } - 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(); + set assignablePropertiesNoExpression(e3) { + this._assignablePropertiesNoExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "assignablePropertiesNoExpression", "value")); } - get(e3, t3) { - return this._cache.get(this._buildKey(e3, t3)); + setAssignablePropertiesNoExpression(e3) { + return this.assignablePropertiesNoExpression = e3, this; } - set(e3, t3, i2) { - this._cache.set(this._buildKey(e3, t3), i2); + get allowModeVariable() { + return this._allowModeVariable; } - has(e3, t3) { - return this._cache.has(this._buildKey(e3, t3)); + get authToCheck() { + return this._authToCheck; } - invalidate(e3, t3) { - this._cache.delete(this._buildKey(e3, t3)); + get allowNotSet() { + return this._allowNotSet; } - clear() { - this._cache.clear(); + set allowNotSet(e3) { + this._allowNotSet = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowNotSet", "value")); } - get size() { - return this._cache.size; + get allowNoValueModeWithNoFallback() { + return this._allowNoValueModeWithNoFallback && this.allowModeNoValue && !this.isOverridableFlowLevelDefaultExpression; } - _buildKey(e3, t3) { - return `${e3}:${t3}`; + set allowNoValueModeWithNoFallback(e3) { + this._allowNoValueModeWithNoFallback = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowNoValueModeWithNoFallback", "value")); } - }; - }, 51236: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(54251), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.divisionManager); + get collectionItemsWantCollectionDescriptionInfo() { + return this._collectionItemsWantCollectionDescriptionInfo; + } + set collectionItemsWantCollectionDescriptionInfo(e3) { + this._collectionItemsWantCollectionDescriptionInfo = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "collectionItemsWantCollectionDescriptionInfo", "value")); + } + get builderLanguagesSequenceConfig() { + return this._builderLanguagesSequenceConfig; + } + set builderLanguagesSequenceConfig(e3) { + this._builderLanguagesSequenceConfig = e3; } - get _globalTypeName() { - return "division"; + setBuilderLanguagesSequenceConfig(e3) { + return this.builderLanguagesSequenceConfig = e3, this; } - get displayTypeName() { - return "ArchValueDivision"; + get customLiteralValidator() { + return this._customLiteralValidator; } - get isArchValueDivision() { - return true; + set customLiteralValidator(e3) { + this._customLiteralValidator = e3; } - setLiteralByDivisionIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("divisionId", "setLiteralByDivisionIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDivisionIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByDivisionIdAsync", t3, this)); - }); + get defaultText() { + return this._defaultText; } - setLiteralByDivisionNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("divisionName", "setLiteralByDivisionNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDivisionNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByDivisionNameAsync", t3, this)); - }); + set defaultText(e3) { + this._defaultText = S.ParameterValidator.expectNumberOrString(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultText", "value")); } - } - t2.default = s; - }, 51294: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(49617); - class o { - } - o.prototype.getAgents = function(e3) { - return n2.build(r2.getAgents).queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getAgent = function(e3) { - return n2.build(r2.getAgent).templateParams({ id: e3 }).call(); - }, o.prototype.getAgent.api = r2.getAgent, o.prototype.getCxAgents = function(e3) { - return n2.build(r2.getCxAgents).queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getCxAgent = function(e3) { - return n2.build(r2.getCxAgent).templateParams({ id: e3 }).call(); - }, o.prototype.getCxAgent.api = r2.getCxAgent, e2.exports = new o(); - }, 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), 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; + get hasDefaultText() { + return void 0 !== this.defaultText; } - get dependencyType() { - return m.FlowOutcome; + get defaultToBuilderId() { + return this._defaultToBuilderId; } - constructor() { - 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(); + set defaultToBuilderId(e3) { + this._defaultToBuilderId = e3; } - _createItemViewModel(e3) { - return new u.FlowOutcomeViewModel(e3); + get defaultToExpression() { + return this._defaultToExpression; } - } - 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; + set defaultToExpression(e3) { + this._defaultToExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultToExpression", "value")); } - 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] }; - }); + get defaultToNoValue() { + return this._defaultToNoValue; } - _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]); - } - }); + set defaultToNoValue(e3) { + this._defaultToNoValue = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultToNoValue", "value")); } - _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 }); - }); + get defaultVariableScope() { + return this._defaultVariableScope; } - _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; + set defaultVariableScope(e3) { + this._defaultVariableScope = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultVariableScope", "value")); } - _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; + get defaultToVariable() { + return this._defaultToVariable && this.allowModeVariable; } - _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]); - } + set defaultToVariable(e3) { + this._defaultToVariable = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "defaultToVariable", "value")); } - _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}'.`); - } - } + get doNotTransitionToNoValue() { + return this._doNotTransitionToNoValue; } - _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]); - } + set doNotTransitionToNoValue(e3) { + this._doNotTransitionToNoValue = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "doNotTransitionToNoValue", "value")); } - _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; + get runtimeValueInheritsFromCallingFlow() { + return this._runtimeValueInheritsFromCallingFlow; } - _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("/"); + set runtimeValueInheritsFromCallingFlow(e3) { + this._runtimeValueInheritsFromCallingFlow = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "runtimeValueInheritsFromCallingFlow", "value")); } - _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); - } + get doNotTrackUsages() { + return this._doNotTrackUsages; } - _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; + set doNotTrackUsages(e3) { + this._doNotTrackUsages = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "doNotTrackUsages", "value")); } - _getPickerObject(e3) { - const t3 = Object.keys(e3); - if (0 === t3.length) return null; - const i3 = t3[0]; - return { pickerName: i3, pickerValue: e3[i3] }; + get emitNonConfigItemForEmptyAndNoDefault() { + return this._emitNonConfigItemForEmptyAndNoDefault; } - _isReferenceProperty(e3) { - return e3.endsWith("Ref") || "ref" === e3; + set emitNonConfigItemForEmptyAndNoDefault(e3) { + this._emitNonConfigItemForEmptyAndNoDefault = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "emitNonConfigItemForEmptyAndNoDefault", "value")); } - _isEmbeddableRefProperty(e3) { - return "startUpRef" === e3 || "targetTaskRef" === e3 || "targetStateRef" === e3 || "targetMenuRef" === e3; + get exprTextMustBeVarOrVarPropRef() { + return this._exprTextMustBeVarOrVarPropRef; } - _deepClone(e3) { - return JSON.parse(JSON.stringify(e3)); + set exprTextMustBeVarOrVarPropRef(e3) { + this._exprTextMustBeVarOrVarPropRef = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "exprTextMustBeVarOrVarPropRef", "value")); } - _log(e3, t3) { - this._logger$.next({ level: e3, message: `PreProcessor: ${t3}`, contextPath: this._context.currentReferencePath }); + get exprTextRootVariableNameMustBe() { + if (this.exprTextMustBeVarOrVarPropRef) return this._exprTextRootVariableNameMustBe; } - _addError(e3) { - this._errors.push(e3), this._context.addError(e3), this._logger$.next({ level: o.LogLevel.Error, message: `PreProcessor: ${e3.message}`, contextPath: e3.contextPath }); + set exprTextRootVariableNameMustBe(e3) { + this._exprTextRootVariableNameMustBe = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "exprTextRootVariableNameMustBe", "variableName")); } - }; - }, 51336: (e2, t2, i2) => { - const n2 = i2(28730), { clearVoicemailSnippetActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 51350: (e2, t2, i2) => { - const { askForNLUIntentActionType: n2 } = i2(30801), r2 = i2(2444), o = i2(7401); - function a() { - Object.defineProperties(this, { _knowledgeSearchResult: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, n2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.knowledgeSearchResult.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.knowledgeSearchResult.pasteResolveOldToNewValues(e3); - } }, knowledgeSearchResult: { enumerable: true, get: function() { - return this._knowledgeSearchResult; - }, set: function(e3) { - this._knowledgeSearchResult = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 51416: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ContactListViewModel = void 0; - const n2 = i2(43212), r2 = i2(1234); - class o extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this.divisionViewModel = new r2.DivisionViewModel(this.division); + setExprTextRootVariableNameMustBe(e3) { + return this.exprTextRootVariableNameMustBe = e3, this; } - get className() { - return "ContactListViewModel"; + get outputExprTextAllowsReadOnlyVarType() { + return !!this._exprTextMustBeVarOrVarPropRef && this._outputExprTextAllowsReadOnlyVarType; } - get displayName() { - return this._model.name; + set outputExprTextAllowsReadOnlyVarType(e3) { + this._outputExprTextAllowsReadOnlyVarType = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "outputExprTextAllowsReadOnlyVarType", "value")); } - get division() { - return this._model.division; + setOutputExprTextAllowsReadOnlyVarType(e3) { + return this.outputExprTextAllowsReadOnlyVarType = e3, this; } - get label() { - return this._model.name; + get initializedForDesignTimeCallback() { + return this._initializedForDesignTimeCallback; } - get name() { - return this._model.name; + set initializedForDesignTimeCallback(e3) { + this._initializedForDesignTimeCallback = S.ParameterValidator.expectFunction(e3, () => y.ParameterInfo.createPropertySet(this.className, "initializedForDesignTimeCallback", "callbackFunction")); } - get columnNames() { - return this._model.columnNames; + get literalValidatorName() { + return this._literalValidatorName; } - get phoneColumns() { - return this._model.phoneColumns; + set literalValidatorName(e3) { + this._literalValidatorName = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "literalValidatorName", "value"), true); } - getConfiguration() { - return { id: this._model.id, name: this._model.name, columnNames: this._model.columnNames, phoneColumns: this._model.phoneColumns }; + get flowLevelDefaultHasDefault() { + return this._flowLevelDefaultHasDefault && this.allowFlowLevelDefault; } - get id() { - return this._model.id; + set flowLevelDefaultHasDefault(e3) { + this._flowLevelDefaultHasDefault = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "flowLevelDefaultHasDefault", "value")); } - } - t2.ContactListViewModel = o; - }, 51441: (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 flowLevelDefaultSameModes() { + return this._flowLevelDefaultSameModes && this.allowFlowLevelDefault; } - get _globalTypeName() { - return "wrapupCodeCollection"; + set flowLevelDefaultSameModes(e3) { + this._flowLevelDefaultSameModes = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "flowLevelDefaultSameModes", "value")); } - get displayTypeName() { - return "ArchVariableWrapupCodeCollection"; + get hideDefaultTextDescription() { + return this._hideDefaultTextDescription; } - get initialValue() { - return this._initialValue; + set hideDefaultTextDescription(e3) { + this._hideDefaultTextDescription = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "hideDefaultTextDescription", "value")); } - get isArchVariableWrapupCodeCollection() { - return true; + get allowEmbeddedExpressionsInLiteralMode() { + return this._allowEmbeddedExpressionsInLiteralMode; } - } - t2.default = r2; - }, 51482: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindGroupActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + set allowEmbeddedExpressionsInLiteralMode(e3) { + this._allowEmbeddedExpressionsInLiteralMode = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowEmbeddedExpressionsInLiteralMode", "value")); } - } - t2.FindGroupActionModel = o, o.__type = r2.findGroupActionType, o.registerType(); - }, 51499: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299), o = i2(1360); - class a extends r2.BaseClass { - constructor(e3, t3) { - super(), t3 || (t3 = {}), this.configListManager = e3, this.sortBy = t3.sortBy, this.searchTerm = t3.searchTerm || "", this.sortOrder = t3.sortOrder || "ASC", this.matchingStyle = t3.matchingStyle || o.contains, this.searchField = t3.searchField || "name", this.additionalParams = t3.additionalParams || {}, this.after = t3.after, this.defaultPageSize = e3 && e3.defaultPageSize ? e3.defaultPageSize : 25, this.pageNumber = 1, (null == e3 ? void 0 : e3.isSearching) && t3.getNextPage ? this.pageNumber = Math.floor(e3.currentSearchItems.length / this.defaultPageSize) + 1 : !this.searchTerm && t3.getNextPage && (this.pageNumber = e3.lastRetrievedPage + 1); + get isInternal() { + return this._isInternal; } - get className() { - return "ConfigListSearchParams"; + set isInternal(e3) { + this._isInternal = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "isInternal", "value")); } - get isConfigListSearchParams() { - return true; + get isOptional() { + return this._isOptional || this.isInheritingExpression; } - addAdditionalParams(e3) { - for (const t3 in e3) e3.hasOwnProperty(t3) && (this.additionalParams.hasOwnProperty(t3) && this.additionalParams[t3] !== e3[t3] && this.configListManager.topic.error("search params already has value for {} -- existing: {} --new: {}", t3, this.additionalParams[t3], e3[t3]), this.additionalParams[t3] = e3[t3]); + set isOptional(e3) { + super.isOptional = e3; } - get_q64searchContent() { - const e3 = { pageNumber: this.pageNumber, pageSize: this.defaultPageSize }; - if (this.configListManager.networkType && (e3.types = [this.configListManager.networkType]), this.sortBy && (e3.sortBy = this.sortBy), this.sortBy && this.sortOrder && (e3.sortOrder = this.sortOrder), this.searchTerm) { - let t3; - switch (this.matchingStyle) { - case o.containsAssumed: - t3 = "CONTAINS"; - break; - case o.exactMatch: - t3 = this.configListManager.useStartsWithKeywordForExactMatch ? "STARTS_WITH" : "EXACT"; - break; - case o.startsWith: - t3 = "STARTS_WITH"; - break; - default: - t3 = "CONTAINS"; - } - e3.query = [{ type: t3, fields: [this.searchField], value: this.searchTerm }]; - } - return this.additionalParams && n2.default.keys(this.additionalParams).length > 0 && this.configListManager.topic.error("search does not support additionalParams"), e3; + get isExpressionPart() { + return this._isExpressionPart; } - getSearchQueryParams(e3) { - 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; + set isExpressionPart(e3) { + this._isExpressionPart = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "isExpressionPart", "value")); } - _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; + get isOverridableFlowLevelDefaultExpression() { + return this._isOverridableFlowLevelDefaultExpression; } - } - t2.default = a; - }, 51608: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.auditTime = void 0; - var n2 = i2(62326), r2 = i2(88877), o = i2(5825); - t2.auditTime = function(e3, t3) { - return void 0 === t3 && (t3 = n2.asyncScheduler), r2.audit(function() { - return o.timer(e3, t3); - }); - }; - }, 51635: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + set isOverridableFlowLevelDefaultExpression(e3) { + this._isOverridableFlowLevelDefaultExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "isOverridableFlowLevelDefault", "value")); } - get _globalTypeName() { - return "workitem"; + get isFlowLevelInheritingExpression() { + return this.isOverridableFlowLevelDefaultExpression && this.flowLevelDefaultHasDefault; } - get initialValue() { - return this._initialValue; + get inheritsFromFlowLevelDefaultExpression() { + return !this.isOverridableFlowLevelDefaultExpression && this.allowFlowLevelDefault; } - get displayTypeName() { - return "ArchVariableWorkitem"; + get isInheritingExpression() { + return this.inheritsFromFlowLevelDefaultExpression || this.isFlowLevelInheritingExpression; } - get isArchVariableWorkitem() { - return true; + get noOriginalType() { + return this._noOriginalType; } - } - t2.default = r2; - }, 51668: (e2, t2, i2) => { - "use strict"; - var n2 = {}; - (0, i2(9805).assign)(n2, i2(63303), i2(87083), i2(19681)), e2.exports = n2; - }, 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), c = i2(17666), d = i2(17666), p = i2(38597), _ = i2(57653), h = i2(33336); - class m { - constructor(e3) { - this._language = e3; + set noOriginalType(e3) { + this._noOriginalType = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "noOriginalType", "value")); } - get language() { - return this._language; + get readOnly() { + return this._readOnly; } - static get JSONParser() { - return m._jsonParser || (m._jsonParser = new m(d.CodeLanguage.jsn)), m._jsonParser; + set readOnly(e3) { + this._readOnly = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "readOnly", "value")); } - static get ArchitectJSONParser() { - return m._architectJSONParser || (m._architectJSONParser = new m(d.CodeLanguage.architectJson)), m._architectJSONParser; + get requiredFlowChannelType() { + return this._requiredFlowChannelType; } - static get ArchitectExpressionParser() { - return m._architectExpressionParser || (m._architectExpressionParser = new m(d.CodeLanguage.architectExpression)), m._architectExpressionParser; + set requiredFlowChannelType(e3) { + this._requiredFlowChannelType = S.ParameterValidator.expectChannelType(e3, () => y.ParameterInfo.createPropertySet(this.className, "requiredFlowChannelType", "value")); } - static get ArchitectYAMLParser() { - return m._architectYAMLParser || (m._architectYAMLParser = new m(d.CodeLanguage.architectYaml)), m._architectYAMLParser; + get requiresFlowQuickRepliesSetting() { + return this._requiresFlowQuickRepliesSetting; } - static getParserForLanguage(e3) { - switch (e3) { - case d.CodeLanguage.architectExpression: - return m.ArchitectExpressionParser; - case d.CodeLanguage.architectJson: - return m.ArchitectJSONParser; - case d.CodeLanguage.architectYaml: - return m.ArchitectYAMLParser; - case d.CodeLanguage.jsn: - return m.JSONParser; - default: - return m.ArchitectJSONParser; - } + set requiresFlowQuickRepliesSetting(e3) { + this._requiresFlowQuickRepliesSetting = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "requiresFlowQuickRepliesSetting", "value")); } - traverseTree(e3, t3) { - e3.iterate({ enter(e4) { - t3(e4); - }, leave() { - } }); + setRequiresFlowQuickRepliesSetting(e3) { + return this.requiresFlowQuickRepliesSetting = e3, this; } - _incrementYamlIndent(e3) { - return void 0 === e3 ? 0 : e3 + 2; + setRestrictionsFromOperandDef(e3) { + return e3 && (this.setAllowNotSet(e3.allowNotSet).setLiteralValidatorName(e3.literalValidatorName), this._setRestrictionsFromOperandDef(e3)), this; } - _checkYamlIndent(e3, t3, i3, n3, r3) { - const o2 = r3 ? e3.getLineAndCharPosForPosition((0, h.getIndentPositionForNode)(r3, t3.from, t3.to)) : e3.getLineAndCharPosForPosition(t3.from), a2 = !!(o2.charPos % 2); - void 0 === n3 || o2 && (null == o2 ? void 0 : o2.charPos) === n3 ? a2 && e3.addParseResultItem(e3.currentParseItem, t3, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidIndent(o2.charPos)) : e3.addParseResultItem(e3.currentParseItem, t3, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidIndent(o2.charPos, n3)); + _setRestrictionsFromOperandDef(e3) { } - parse(e3, t3, i3) { - if (!e3.parentFlow.loaded) return; - i3 || (i3 = {}); - const n3 = !!(null == i3 ? void 0 : i3.enableLogging), a2 = !!(null == i3 ? void 0 : i3.parseForUiOnly), h2 = {}, m2 = { settings: i3, items: [], itemsByLinePosMap: {}, errorItems: [], warningItems: [], infoItems: [], language: this._language }; - n3 && console.log(`Parse text: ${t3}`); - const g = new p.CodeJsonBuilder(e3, t3, m2, i3, this.language); - let f = false; - if ((null == t3 ? void 0 : t3.length) > s.default.maxExpressionTextLength) g.addParseResultItem(g.currentParseItem, void 0, l.ParseResultTypes.error, _.CodeParseItemMessage.createTotalTextLengthTooBig(t3.length), void 0, void 0, true), f = true; - else { - const e4 = i3.quickParse ? i3.quickParseNode : void 0; - let s2; - switch (this._language) { - case d.CodeLanguage.architectJson: - s2 = r2.parser.parse(t3), this.traverseTree(s2, (r3) => { - 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: - case u.CodeArchitectJsonParserToken.ArchitectExpression: - case u.CodeArchitectJsonParserToken.ArchitectLiteral: - case u.CodeArchitectJsonParserToken.JsonText: - case u.CodeArchitectJsonParserToken.LineComment: - 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 === (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}`); - break; - case u.CodeArchitectJsonParserToken.ArchitectExpressionContent: - g.addAssignArchitectExpr(r3, null === (p2 = t3.substring(r3.from, r3.to)) || void 0 === p2 ? void 0 : p2.trim()); - break; - case u.CodeArchitectJsonParserToken.ArchitectLiteralContent: - g.addAssignArchitectLiteral(r3, null === (f2 = t3.substring(r3.from, r3.to)) || void 0 === f2 ? void 0 : f2.trim()); - break; - case u.CodeArchitectJsonParserToken.ArrayStart: - g.pushArray(r3); - break; - case u.CodeArchitectJsonParserToken.ArrayEnd: - g.popArray(r3); - break; - case u.CodeArchitectJsonParserToken.False: - g.assignValueBoolean(r3, false); - break; - case u.CodeArchitectJsonParserToken.ItemSeparator: - g.addSeparator(r3); - break; - case u.CodeArchitectJsonParserToken.Null: - g.assignValueNull(r3); - break; - case u.CodeArchitectJsonParserToken.Number: - g.assignValueNumber(r3); - break; - case u.CodeArchitectJsonParserToken.ObjectStart: - g.pushObject(r3); - break; - case u.CodeArchitectJsonParserToken.ObjectEnd: - g.popObject(r3); - break; - case u.CodeArchitectJsonParserToken.PropertyName: - g.addPropertyAssignment(r3, T.slice(1, -1)); - break; - case u.CodeArchitectJsonParserToken.String: - g.assignValueString(r3, T.slice(1, -1)); - break; - case u.CodeArchitectJsonParserToken.True: - g.assignValueBoolean(r3, true); - break; - default: - if ("\u26A0" !== r3.type.name) g.addParseResultItem(g.currentParseItem, r3, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(T), void 0, void 0, true, i3.parseForUiOnly); - else if (T) g.addParseResultItem(g.currentParseItem, r3, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(T), void 0, void 0, true, i3.parseForUiOnly); - else if ("\u26A0" === r3.type.name && r3.type.isError) { - const e5 = g.currentParseItem; - !(null == e5 ? void 0 : e5.hasSeparator) && g.isParseItemObjectOrArray(e5) && g.addParseResultItem(g.currentParseItem, r3, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidSyntax(), void 0, void 0, true); - } - } - }), s2 = void 0; - break; - case d.CodeLanguage.architectYaml: { - let e5; - s2 = o.parser.parse(t3), this.traverseTree(s2, (r3) => { - 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 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 c.CodeArchitectYamlParserToken.ArchitectExpressionContent: - g.addAssignArchitectExpr(r3, null === (o2 = t3.substring(r3.from, r3.to)) || void 0 === o2 ? void 0 : o2.trim()); - break; - case c.CodeArchitectYamlParserToken.ArchitectLiteralContent: - g.addAssignArchitectLiteral(r3, null === (a3 = t3.substring(r3.from, r3.to)) || void 0 === a3 ? void 0 : a3.trim()); - break; - case c.CodeArchitectYamlParserToken.BlockMapping: - g.pushObject(r3), e5 = this._incrementYamlIndent(e5), this._checkYamlIndent(g, r3, h3, e5, t3); - break; - case c.CodeArchitectYamlParserToken.BlockSequence: - g.pushArray(r3), e5 = this._incrementYamlIndent(e5), this._checkYamlIndent(g, r3, h3, e5); - break; - 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 c.CodeArchitectYamlParserToken.KeyValueSeparator: - g.addPropertyValueSeparator(r3, h3); - break; - 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 && (o3 = t5, e5 = t5.lineInfo.charPos), this._checkYamlIndent(g, r3, h3, e5); - } - 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: - if ("\u26A0" !== r3.type.name) g.addParseResultItem(g.currentParseItem, r3, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(h3), void 0, void 0, true, i3.parseForUiOnly); - else if (h3) g.addParseResultItem(g.currentParseItem, r3, l.ParseResultTypes.error, _.CodeParseItemMessage.createTokenUnexpected(h3), void 0, void 0, true, i3.parseForUiOnly); - else if ("\u26A0" === r3.type.name && r3.type.isError) { - const e6 = g.currentParseItem; - !(null == e6 ? void 0 : e6.hasSeparator) && g.isParseItemObjectOrArray(e6) && g.addParseResultItem(g.currentParseItem, r3, l.ParseResultTypes.error, _.CodeParseItemMessage.createInvalidSyntax(), void 0, void 0, true); - } - } - }); - break; - } - } - s2 = void 0; - } - return g.parseComplete(f), m2.configJson = g.getExpressionConfigVal(), a2 && (m2.topLevelDisplayTexts = h2), m2; + get allowableValues() { + return this.facets ? this.facets.allowableValues : void 0; } - parseAndSetExpressionConfig(e3, t3, i3) { - var n3, r3, o2; - if (!e3.parentFlow.loaded) return; - const s2 = this.parse(e3, a.default.isUndefined(t3) ? e3.text : t3, i3), l2 = null === (r3 = null === (n3 = e3.model) || void 0 === n3 ? void 0 : n3.config) || void 0 === r3 ? void 0 : r3.lit; - return l2 && (e3.type.isJsonType && !e3.type.isCustomType ? l2.val = null === (o2 = s2.configJson) || void 0 === o2 ? void 0 : o2.json : l2.val = s2.configJson), e3.setParseResult(s2), s2; + get hasAllowableValues() { + var e3; + return !!(null === (e3 = this.facets) || void 0 === e3 ? void 0 : e3.hasAllowableValues); } - } - t2.CodeParser = m; - }, 51695: (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(55299); - class s extends a.BaseClass { - constructor() { - super(), this.collapsed = true, this.supportsInitializeDesignTime = true; + get hasIAllowableValueTypeAllowableValues() { + var e3; + return !!(null === (e3 = this.facets) || void 0 === e3 ? void 0 : e3.hasIAllowableValueAllowableValues); } - addClipboardDependencies(e3) { - r2.default.each(this.contents, (t3) => { - r2.default.isFunction(t3.addClipboardDependencies) && t3.addClipboardDependencies(e3); - }); + get hasStringTypeAllowableValues() { + var e3; + return !!(null === (e3 = this.facets) || void 0 === e3 ? void 0 : e3.hasStringTypeAllowableValues); } - checkVersion(e3) { - r2.default.each(this.contents, (t3) => { - r2.default.isFunction(t3.checkVersion) && t3.checkVersion(e3); - }); + getAllowableValueForValue(e3) { + var t3; + return null === (t3 = this.facets) || void 0 === t3 ? void 0 : t3.getAllowableValueForValue(e3); } - destroy() { - r2.default.each(this.contents, (e3) => { - r2.default.isFunction(e3.destroy) && e3.destroy(); - }), this._isDestroyed = true; + get descriptionInfo() { + return this._descriptionInfo; } - get isDestroyed() { - return this._isDestroyed; + hasDescriptionInfo(e3) { + return (this._descriptionInfo.name || e3 && e3.label) && (this._descriptionInfo.description || this.isCollection && (this.minItems || this.maxItems) || this.examples || this.hasDefaultText || !this.isCollection && !this.allowNotSet || this.facets && this.facets.hasDescriptionInfo || this._descriptionAdditionalInfoSection || e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes).length) || this.readOnly; } - get parentFlow() { - var e3; - return null === (e3 = this.getExpressions()[0]) || void 0 === e3 ? void 0 : e3.parentFlow; + getFullDescription(e3) { + var t3, i3, n3, o2, r2, 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, 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, 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, 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; + case h.literalValidatorNames.iso4217: + s2.push(D.expressionsHelp.parameters.valueMustBeLiteralISO4217); + break; + case h.literalValidatorNames.supportedTTSLangs: + s2.push(D.expressionsHelp.parameters.valueMustBeLiteralSupportedTTSLangTag); + } + if (e3 && this._descriptionInfo.name) { + const t4 = null === (a2 = null === (r2 = null === (o2 = null === (n3 = null === (i3 = e3.propertyParent) || void 0 === i3 ? void 0 : i3.originalType) || void 0 === n3 ? void 0 : n3._model) || void 0 === o2 ? void 0 : o2.nativeProperties) || void 0 === r2 ? void 0 : r2.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, d.sprintf)(D.generic.sessionSourcesNote, v.getListDisplayString(e4), v.getListDisplayString(t4, false, true, true))] }; + this._descriptionInfoFull.additionalInfoSections.push(i4); + } + } + if (p.default.isArray(this.examples) && this.examples.length > 0) { + const e4 = { title: 1 === this.examples.length ? D.expression.facets.example : D.expression.facets.examples, entries: [] }; + this._descriptionInfoFull.additionalInfoSections.push(e4), p.default.each(this.examples, function(t4) { + e4.entries.push(t4); + }); + } + if (l2 && 0 === l2.entries.length) { + const e4 = this._descriptionInfoFull.additionalInfoSections.indexOf(l2); + this._descriptionInfoFull.additionalInfoSections.splice(e4, 1); + } + const u2 = e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes); + return u2.length ? this._descriptionInfoFull.info = (0, d.sprintf)(D.commonModule.notAvailableInFlowTypes, v.getFlowTypesDisplayString(u2)) : delete this._descriptionInfoFull.info, this._descriptionInfoFull; } - get parent() { - var e3; - return null === (e3 = this.getExpressions()[0]) || void 0 === e3 ? void 0 : e3.parent; + _getDefaultTextForDisplay() { + return this.defaultText; } - get hasError() { - return !!this.contents.find((e3) => e3.hasError); + get namedExpressionMode() { + return this.expressionOnly ? _.modeCombinations.expressionOnly : this.expressionOrBuilderOnly ? _.modeCombinations.expressionOrBuilderOnly : this.literalOnly ? _.modeCombinations.literalOnly : this.variableAndExpression ? _.modeCombinations.variableAndExpression : this.variableOnly ? _.modeCombinations.variableOnly : void 0; } - get hasWarning() { - return !!this.contents.find((e3) => e3.hasWarning); + get literalOnly() { + return this.allowModeLiteral && !this._allowModeExpression && !this.allowModeVariable && !this.allowModeNoValue && !this.allowModeBuilder; } - initializeDesignTime() { - r2.default.each(this.contents, (e3) => { - r2.default.isFunction(e3.initializeDesignTime) && e3.initializeDesignTime(), e3.isNormalExpression && (e3.parentExpressionContainerItem = this); - }), this._initializeDesignTimeCalled = true; + get literalOrNoValueOnly() { + return this.allowModeLiteral && !this._allowModeExpression && !this.allowModeVariable && this.allowModeNoValue && !this.allowModeBuilder; } - get initializeDesignTimeCalled() { - return this._initializeDesignTimeCalled; + get expressionOnly() { + return this._allowModeExpression && !this.allowModeLiteral && !this.allowModeVariable && !this.allowModeNoValue && !this.allowModeBuilder; } - search(e3) { - r2.default.each(this.contents, (t3) => { - e3.addToQueue(t3); - }); + get expressionOrBuilderOnly() { + return this._allowModeExpression && !this.allowModeLiteral && !this.allowModeVariable && !this.allowModeNoValue && this.allowModeBuilder; } - updateDependencies() { - r2.default.each(this.contents, (e3) => { - e3.isExpression && o.registerExpression(e3); - }); + get variableAndExpression() { + return this._allowModeVariable && this._allowModeExpression && !this.allowModeLiteral; } - validate(e3) { - r2.default.each(this.contents, (t3) => { - r2.default.isFunction(t3.validate) && t3.validate(e3); - }); + get variableOnly() { + return !this.allowModeLiteral && !this._allowModeExpression && this.allowModeVariable && !this.allowModeNoValue; } - get contents() { - return console.error(`Class ${this.className} needs to implement the 'contents' getter.`), []; + get modeNoValueSelectionLabel() { + return this._modeNoValueSelectionLabel; } - getExpressions() { - return this.contents.filter((e3) => e3.isExpression).flatMap((e3) => e3.getExpressions()); + set modeNoValueSelectionLabel(e3) { + this._modeNoValueSelectionLabel = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "modeNoValueSelectionLabel", "value")); } - getContentExpressions() { - return this.contents.filter((e3) => e3.isExpression); + get modeNoValueSelectionLabelForContext() { + return this.isFlowLevelInheritingExpression ? D.expression.noValue.selection.useDefault : this.inheritsFromFlowLevelDefaultExpression ? D.expression.noValue.selection.useFlowDefault : this._modeNoValueSelectionLabel; } - } - t2.default = s; - }, 51724: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createUtilizationLabel = t2.deleteUtilizationLabel = t2.getUtilizationLabel = t2.getUtilizationLabels = void 0; - const n2 = i2(31635), r2 = i2(64288), o = i2(23340), a = n2.__importDefault(i2(36019)), s = { ignoreBadResponse: true }; - t2.getUtilizationLabels = a.default.request("GET", "{public-api.apps}/api/v2/routing/utilization/labels", o.UtilizationLabelList, s), t2.getUtilizationLabel = a.default.request("GET", "{public-api.apps}/api/v2/routing/utilization/labels/{id}", r2.UtilizationLabel, s), t2.deleteUtilizationLabel = a.default.request("DELETE", "{public-api.apps}/api/v2/routing/utilization/labels/{id}", r2.UtilizationLabel, s), t2.createUtilizationLabel = a.default.request("POST", "{public-api.apps}/api/v2/routing/utilization/labels", r2.UtilizationLabel, s); - }, 51818: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.flowSizeThreshold = t2.flowSizePercentDisplay = void 0, t2.calculateFlowSizePercentage = function(e3, i3) { - const n3 = e3 / i3.definition.maxFlowSize * 100; - return parseFloat(n3.toFixed(t2.flowSizePercentDisplay.decimalPlaces)); - }, t2.getFlowSizeThreshold = function(e3) { - return t2.flowSizeThreshold.find((t3) => e3 >= t3.threshold); - }, t2.getFlowSize = function(e3) { - const t3 = n2.getStringifiedConfiguration(e3, false), i3 = JSON.parse(t3), a = []; - return e3.getAutoManagedSettings().forEach((e4) => { - e4.showInFlowSize && (e4.outOfService || a.push({ id: e4.id, name: e4.getDisplayName(), modelPropertyName: e4.modelPropertyName })); - }), a.push({ id: "variables", name: o.customNodes.data, modelPropertyName: "variables" }), new r2.FlowSize(e3.id, e3.getDisplayName(), i3, a); - }; - const n2 = i2(31635).__importStar(i2(46920)), r2 = i2(57905), o = i2(47957); - t2.flowSizePercentDisplay = { decimalPlaces: 1, digitInfo: "1.1-1", minValue: 1, maxValue: (e3) => e3.definition.maxFlowSize }, t2.flowSizeThreshold = [{ threshold: 98, type: "error", label: o.flow.flowSizeWarningVeryHigh }, { threshold: 70, type: "error", label: o.flow.flowSizeWarningHigh }, { threshold: 30, type: "warning", label: o.flow.flowSizeWarningMedium }, { threshold: 0, type: "info", label: o.flow.flowSizeWarningLow }]; - }, 51830: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ConfigListManagerSeeder = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(21042)), a = n2.__importStar(i2(62241)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = s.getTopic("ConfigListManagerSeeder"); - t2.ConfigListManagerSeeder = class { - constructor(e3) { - this.manifestResults = e3.results; + getModeNoValueRuntimeEvaluationStr(e3) { + return this._modeNoValueRuntimeEvaluationSetting.getValueForFlowType(e3.parentFlow.type) || (this._allowModeExpression || this.allowModeLiteral || !this.allowModeVariable ? this.allowFlowLevelDefault && !e3.isOverride ? D.expression.noValue.selectionRuntimeEvaluation.noDefaultValueSpecified : D.expression.noValue.selectionRuntimeEvaluation.noValueSpecified : D.expression.noValue.selectionRuntimeEvaluation.noVariableSpecified); } - _seedManager(e3, t3) { - t3 && r2.default.each(t3, (t4) => { - let i3 = t4.result !== a.results.doesNotExist && t4.result !== a.results.invalid && "deleted" !== t4.state; - if (i3 && (i3 = !e3.isValidItem || e3.isValidItem(t4), i3 || u.error(`Item is not valid for adding to listManager:${e3.className} -- id: ${t4.id} type: ${t4.type}`)), i3 || e3.keepDeletedItems) e3.isConfigurationListManager ? (e3.addItem(t4, true), e3.setAdditionalCache && e3.setAdditionalCache(t4)) : e3.isBootstrapListManager && e3.updateItem(t4); - else { - if (e3.isMockedManager) return; - t4.id ? e3.removeItemWithId(t4.id, false) : e3.removeItemWithName(t4.name, false); - } - }); + setModeNoValueRuntimeEvaluationStr(e3, t3) { + return this._modeNoValueRuntimeEvaluationSetting.setValueForFlowTypeOrTypes(e3, t3), this; } - processManager(e3) { - if (e3 && !e3.isBriefObjectManager && e3.dependencyType && this.manifestResults[e3.dependencyType.value]) { - let t3 = this.manifestResults[e3.dependencyType.value]; - e3.manifestFilter && (t3 = r2.default.filter(this.manifestResults[e3.dependencyType.value], (t4) => t4.result === a.results.doesNotExist || e3.manifestFilter(t4))), this._seedManager(e3, t3), e3.isConfigurationListManager && (e3.serverWasContacted = true); - } + getModeNoValueRuntimeEvaluationStrForContext(e3) { + return this.inheritsFromFlowLevelDefaultExpression && !e3.isNoValueModeWithNoFallback ? D.expression.noValue.selectionRuntimeEvaluation.useFlowDefault : this.getModeNoValueRuntimeEvaluationStr(e3); } - seedListManagers() { - this.manifestResults && (r2.default.each(l.default.allListManagers, this.processManager.bind(this)), r2.default.each(o.allListManagers, this.processManager.bind(this))); + get anySpecificModeAvailable() { + return this.allowModeLiteral || this._allowModeExpression || this.allowModeVariable || this.allowModeNoValue; } - }; - }, 51837: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get useDefaultValueNodeIcons() { + return this._useDefaultValueNodeIcons; } - get _globalTypeName() { - return "wheelPickerItem"; + set useDefaultValueNodeIcons(e3) { + this._useDefaultValueNodeIcons = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "useDefaultValueNodeIcons", "value")); } - get displayTypeName() { - return "ArchValueWheelPickerItem"; + get usedAsReplacementValueInOtherExpressions() { + return this._usedAsReplacementValueInOtherExpressions; } - get isArchValueWheelPickerItem() { - return true; + set usedAsReplacementValueInOtherExpressions(e3) { + this._usedAsReplacementValueInOtherExpressions = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "usedAsReplacementValueInOtherExpressions", "value")); } - get title() { - return this._getAssignableProperty("title"); + get valueChangedCallback() { + return this._valueChangedCallback; } - get value() { - return this._getAssignableProperty("value"); + set valueChangedCallback(e3) { + this._valueChangedCallback = S.ParameterValidator.expectFunction(e3, () => y.ParameterInfo.createPropertySet(this.className, "valueChangedCallback", "callbackFunction")); } - setLiteralWheelPickerItem(e3, t3) { - this.title.setLiteralString(e3), t3 && this.value.setLiteralString(t3); + get newInstanceDefaultExpressionCallback() { + return this._newInstanceDefaultExpressionCallback; } - } - t2.default = r2; - }, 51851: (e2, t2, i2) => { - const n2 = i2(10798), r2 = i2(4648).default, o = i2(36019).default, a = i2(61192); - class s { - } - s.prototype.getMilestone = function(e3) { - return o.build(a.getMilestoneDivisionView).templateParams({ id: e3 }).call().then((e4) => 0 !== e4.entities?.length && void 0 !== e4.entities ? e4.entities[0] : e4); - }, s.prototype.getMilestone.api = a.getMilestone, s.prototype.getMilestones = function(e3) { - return o.build(a.getMilestonesDivisionView).queryParams(e3.getSearchQueryParams()).call(); - }, s.prototype.getOutcomes = function(e3) { - const t3 = n2.isFeatureAvailable(r2.divisionedFlowOutcomes) ? a.getOutcomesDivisionView : a.getOutcomes; - return o.build(t3).queryParams(e3.getSearchQueryParams()).call(); - }, s.prototype.getOutcome = function(e3) { - 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; + set newInstanceDefaultExpressionCallback(e3) { + this._newInstanceDefaultExpressionCallback = S.ParameterValidator.expectFunction(e3, () => y.ParameterInfo.createPropertySet(this.className, "newInstanceDefaultExpressionCallback", "callbackFunction")); } - if ("_" === i3) return false; - for (; n3 < t3 && (i3 = e4[n3], ":" !== i3); n3++) { - if (!a(e4.charCodeAt(n3))) return false; - s = true; + get extraRealtimeValidationEventSinkName() { + return this._extraRealtimeValidationEventSinkName; } - 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); + set extraRealtimeValidationEventSinkName(e3) { + this._extraRealtimeValidationEventSinkName = e3; } - 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; + get scriptingPropertyName() { + return this._scriptingPropertyName; } - 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 }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + set scriptingPropertyName(e3) { + this._scriptingPropertyName = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "scriptingPropertyName", "value")); } - get _globalTypeName() { - return "externalLineId"; + addAuthToCheck(e3, t3) { + return S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "addAuthToCheck", "authStringParameter")), S.ParameterValidator.expectBool(t3, () => y.ParameterInfo.createFunctionParameter(this.className, "addAuthToCheck", "isWarningParameter")), this.authToCheck.push({ authString: e3, isWarning: t3 }), this; } - get userId() { + setAllowedBuilderCategoryIdFilter(e3) { + return this.allowedBuilderCategoryIdFilter = e3, this; } - get displayTypeName() { - return "ArchValueExternalLineId"; + setAllowedBuilderIds(e3) { + return this.allowedBuilderIds = e3, this; } - get isArchValueExternalLineId() { - return true; + setAllowModeBuilder(e3) { + return this._allowModeBuilder = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "allowModeBuilder", "value")), this; } - } - 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), 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()); + setAllowModeExpression(e3, t3) { + return this._allowModeExpression = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeExpression", "value")), S.ParameterValidator.expectBool(t3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeExpression", "allowBuilder"), true), p.default.isBoolean(t3) && this.setAllowModeBuilder(t3), this; } - get acknowledgementUserIsOAuthClient() { - return this.model.acknowledgementUserIsOAuthClient; + setAllowModeExpressionOnly(e3) { + return this._configureInputOutputState(this.isInput, false, false, true, e3), this; } - set acknowledgementUserIsOAuthClient(e3) { - this.model.acknowledgementUserIsOAuthClient = e3; + setAllowModeLiteralOnly() { + return this._configureInputOutputState(this.isInput, true, false, false, false), this; } - get acknowledgementInvalidUser() { - return this._acknowledgementInvalidUser; + setAllowEmptyConfig(e3) { + return this.allowEmptyConfig = e3, this; } - get acknowledgementDate() { - if (this.model.acknowledgementDate) return new Date(this.model.acknowledgementDate); + setAllowModeLiteral(e3) { + return this._allowModeLiteral = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeLiteral", "value")), this; } - clearAcknowledgment() { - return !this.isReadOnly && (this.acknowledgementUserId = void 0, this.acknowledgementUserDisplayName = void 0, this.model.acknowledgementDate = void 0, this._acknowledgementInvalidUser = false, l.unRegisterConsumer(this, "acknowledgementUser"), true); + setAllowSecure(e3) { + return this.allowSecure = e3, this; } - get createStatementOptions() { - return { variable: { disallowSecure: true }, expression: { options: { allowSecure: true } } }; + setAllowNotSet(e3) { + return this.allowNotSet = e3, this; } - get hasSecureDataAcknowledgment() { - return !(this.acknowledgementInvalidUser || !this.acknowledgementUserId); + setLiteralValidatorName(e3) { + return this.literalValidatorName = e3, this; } - get isExtractSecureData() { - return true; + setAllowModeVariable(e3) { + return this._allowModeVariable = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAllowModeVariable", "value")), this; } - initialize() { - super.initialize(), r2.default.each(this.variables.items, (e3) => { - e3.variable.setAsOutput(true), e3.expression.options.allowSecure = true; - }); + setRequiredFlowChannelType(e3) { + return this.requiredFlowChannelType = e3, this; } - _initializeDesignTime() { - super._initializeDesignTime(), this.acknowledgementUserId ? this.acknowledgementUser.configListManager = this.getManagerForUserWhoAcknowledged() : this.acknowledgementUser.configListManager = this.getManagerForCurrentUser(); + setAllowFlowLevelDefault(e3) { + return this.allowFlowLevelDefault = e3, this; } - setAcknowledgment() { - return !this.isReadOnly && (this.acknowledgementUserId = o.getConnectedUser().id, this.acknowledgementUserDisplayName = o.getConnectedUser().name, this.model.acknowledgementDate = (/* @__PURE__ */ new Date()).toISOString(), this._acknowledgementInvalidUser = false, this.acknowledgementUserIsOAuthClient = !!o.getConnectedUser().isOAuthClient, l.registerConsumer(this, "acknowledgementUser", this.acknowledgementUserDisplayName, this.acknowledgementUserId, l.NO_VERSION, this.getManagerForCurrentUser().dependencyType), true); + setInheritsFromFlowLevelDefault(e3 = true, t3 = true) { + return this.setAllowFlowLevelDefault(true), this.setFlowLevelDefaultSameModes(e3), this.setDefaultToNoValue(t3), this; } - getManagerForCurrentUser() { - return o.getConnectedUser().isOAuthClient ? a.oAuthClientManager : s.userManager; + setAllowNoValueModeWithNoFallback(e3) { + return this.allowNoValueModeWithNoFallback = e3, this; } - getManagerForUserWhoAcknowledged() { - return this.acknowledgementUserIsOAuthClient ? a.oAuthClientManager : s.userManager; + setSuppressBuilderModePromptResourceChecks(e3) { + return this.suppressBuilderModePromptResourceChecks = e3, this; } - updateDependencies() { - 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(); + setAsInput(e3) { + S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); + const t3 = !(true === e3); + return this._configureInputOutputState(true, true, false, t3); } - static get managedProperties() { - 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)) }]; + setAsVariableInput() { + return this._configureInputOutputState(true, false, true, false, false); } - 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, h.secureData.notUsingSecureDataWarning), t3 = e3.getIssues(this.id), t3 && 0 !== t3.errors.length || this.acknowledgementUserId || e3.addError(this, h.secureData.extractWarningValidationError); + setAsOutput() { + const e3 = this.isUpdateWorkitemActionVariable; + return this._configureInputOutputState(false, false, !e3, e3, false).setAllowSecure(true).setExprTextMustBeVarOrVarPropRef(e3); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + get isUpdateWorkitemActionVariable() { + return this._isUpdateWorkitemActionVariable; + } + set isUpdateWorkitemActionVariable(e3) { + this._isUpdateWorkitemActionVariable = e3; } - get _actionTypeId() { - return r2.getJourneySessionActionType; + setAsOutputExpressionOnly() { + return this._configureInputOutputState(false, false, false, true, false).setAllowSecure(true).setExprTextMustBeVarOrVarPropRef(true); } - get displayTypeName() { - return this._scriptingName; + setCollectionItemsWantCollectionDescriptionInfo(e3) { + return this.collectionItemsWantCollectionDescriptionInfo = e3, this; } - get isArchActionGetJourneySession() { - return true; + get collectionItemOptionsCallback() { + return this._collectionItemOptionsCallback; } - get findResult() { - return this._findResult; + set collectionItemOptionsCallback(e3) { + this._collectionItemOptionsCallback = e3; } - } - t2.default = o; - }, 51940: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ObjectMatchInfo = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(55299), a = i2(2800), s = n2.__importStar(i2(66381)), l = n2.__importStar(i2(78249)); - class u extends o.BaseClass { - constructor() { - super(), this._objectMismatchValues = []; + setCollectionItemOptions(e3) { + return this.collectionItemOptionsCallback = e3, this; } - _addMismatchType(e3, t3, i3) { - this._objectMismatchValues.push(new a.ObjectValueMismatch(e3, t3, i3)); + setCustomLiteralValidator(e3) { + return this.customLiteralValidator = e3, this; } - addCompareToIncompatible() { - this._addMismatchType(l.MISMATCH_INCOMPATIBLE); + setFlowLevelDefaultSameModes(e3) { + return this.flowLevelDefaultSameModes = e3, this; } - addDataTypeMismatch(e3, t3) { - this._addMismatchType(l.MISMATCH_DATA_TYPE, e3, t3); + setFlowLevelDefaultHasDefault(e3) { + return this.flowLevelDefaultHasDefault = e3, this; } - addInputMismatch(e3, t3) { - this._addMismatchType(l.MISMATCH_INPUT, true === e3, true === t3); + setHideDefaultTextDescription(e3) { + return this.hideDefaultTextDescription = e3, this; } - addNameMismatch(e3, t3) { - this._addMismatchType(l.MISMATCH_NAME, e3, t3); + setIsExpressionPart(e3) { + return this.isExpressionPart = e3, this; } - addOutputMismatch(e3, t3, i3, n3) { - this._addMismatchType(l.MISMATCH_OUTPUT, true === i3, true === n3); + setAllowEmbeddedExpressionsInLiteralMode(e3) { + return this.allowEmbeddedExpressionsInLiteralMode = e3, this; } - get compareObject() { - return this._compareObject; + setIsInternal(e3) { + return this.isInternal = e3, this; } - get compareToObject() { - return this._compareToObject; + setDefaultText(e3) { + return this.defaultText = e3, this; } - get className() { - return "MismatchInfo"; + setRuntimeValueInheritsFromCallingFlow(e3) { + return this.runtimeValueInheritsFromCallingFlow = e3, this; } - get mismatchDisplayString() { - const e3 = []; - return r2.default.each(this._objectMismatchValues, (t3) => { - e3.push(t3.displayString); - }), s.getSentenceListDisplayString(e3); + setDoNotTrackUsages(e3) { + return this.doNotTrackUsages = e3, this; } - get hasMismatches() { - return this._objectMismatchValues.length > 0; + setDefaultToBuilderId(e3) { + return this.defaultToBuilderId = e3, this; } - get isObjectMatchInfo() { - return true; + setDefaultToExpression(e3) { + return this.defaultToExpression = e3, this; } - get mismatchValues() { - return this._objectMismatchValues; + setDefaultToNoValue(e3) { + return this.defaultToNoValue = e3, this; } - setComparisonObjects(e3, t3) { - this._compareObject = e3, this._compareToObject = t3; + setDefaultToVariable(e3) { + return this.defaultToVariable = e3, this; } - } - t2.ObjectMatchInfo = u; - }, 51953: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(67336)); - class a extends o.default { - constructor(e3) { - super(e3), this.isArchValidationIssue = true, this._archObject = this.coreFactory.createArchWrapper(e3.item), this._errors = e3.errors && e3.errors.length > 0 ? e3.errors : void 0, this._rollupErrors = e3.rollupErrors && e3.rollupErrors.length > 0 ? e3.rollupErrors : void 0, this._rollupWarnings = e3.rollupWarnings && e3.rollupWarnings.length > 0 ? e3.rollupWarnings : void 0, this._warnings = e3.warnings && e3.warnings.length > 0 ? e3.warnings : void 0; + setDefaultVariableScope(e3) { + return this.defaultVariableScope = e3, this; } - get displayTypeName() { - return "ArchValidationIssue"; + setDoNotTransitionToNoValue(e3) { + return this.doNotTransitionToNoValue = e3, this; } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this.errorCount > 0 && this._appendLogStrErrorCount(e3, this.errorCount), this.warningCount > 0 && this._appendLogStrWarningCount(e3, this.warningCount), this.rollupErrorCount > 0 && this._appendLogStrRollupErrorCount(e3, this.rollupErrorCount), this.rollupWarningCount > 0 && this._appendLogStrRollupWarningCount(e3, this.rollupWarningCount), this._appendLogStrArchObject(e3, this._archObject ? this._archObject.logStr : "< no validation object>"), this._createLogStrFromParts(e3); + setExprTextMustBeVarOrVarPropRef(e3) { + return this.exprTextMustBeVarOrVarPropRef = e3, this; } - get archObject() { - return (function(e3) { - let t3 = e3; - for (; ; ) { - const e4 = t3; - if (!e4.isArchBaseValue || !e4.parent) return t3; - t3 = e4.parent; - } - })(this._archObject); + setInitializedForDesignTimeCallback(e3) { + return this.initializedForDesignTimeCallback = e3, this; } - get errorCount() { - return this._errors ? this._errors.length : 0; + setIsFlowLevelDefaultExpression(e3) { + return this.isOverridableFlowLevelDefaultExpression = e3, this; } - get errors() { - var e3; - return null === (e3 = this._errors) || void 0 === e3 ? void 0 : e3.map((e4) => e4.text); + setModeNoValueSelectionLabel(e3) { + return this.modeNoValueSelectionLabel = e3, this; } - get hasErrors() { - return this.errorCount > 0 || this.rollupErrorCount > 0; + setModeNoValueSelectionLabelToDefault() { + return this.setModeNoValueSelectionLabel(D.expression.noValue.selection.default); } - get hasNoErrors() { - return !this.hasErrors; + setNoOriginalType(e3) { + return this.noOriginalType = e3, this; } - get hasErrorsOrWarnings() { - return this.hasErrors || this.hasWarnings; + clearDescriptionInfo() { + return this.setDescriptionInfo(void 0, void 0); } - get hasNoErrorsOrWarnings() { - return !this.hasErrorsOrWarnings; + setDescriptionInfo(e3, t3) { + return this._descriptionInfo.name = e3, this._descriptionInfo.description = t3, this._incrementDescriptionInfoGenId(), this; } - get hasNoWarnings() { - return !this.hasWarnings; + setReadOnly(e3) { + return this.readOnly = e3, this; } - get hasWarnings() { - return this.warningCount > 0 || this.rollupWarningCount > 0; + setUsedAsReplacementValueInOtherExpressions(e3) { + return this.usedAsReplacementValueInOtherExpressions = e3, this; } - hasErrorString(e3) { - return this._checkItemIsValidLiteralString(this._infoParm("errorString", "hasErrorString"), e3), void 0 !== r2.default.find(this._errors, function(t3) { - return t3.text === e3; - }) || void 0 !== r2.default.find(this._rollupErrors, function(t3) { - return t3 === e3; - }); + setExtraRealtimeValidationEventSinkName(e3) { + return this.extraRealtimeValidationEventSinkName = e3, this; } - hasWarningString(e3) { - return this._checkItemIsValidLiteralString(this._infoParm("warningString", "hasWarningString"), e3), void 0 !== r2.default.find(this._warnings, function(t3) { - return t3.text === e3; - }) || void 0 !== r2.default.find(this._rollupWarnings, function(t3) { - return t3 === e3; - }); + setUseDefaultValueNodeIcons(e3) { + return this.useDefaultValueNodeIcons = e3, this; } - getSummaryStr(e3, t3) { - t3 || (t3 = ""); - const i3 = []; - return i3.push(t3 + this.logStr), r2.default.each(this.errors, function(e4) { - i3.push(t3 + " Error: " + e4 ? e4 : "unknown"); - }), r2.default.each(this.warnings, function(e4) { - i3.push(t3 + " Warning: " + e4 ? e4 : "unknown"); - }), r2.default.each(this.rollupErrors, function(e4) { - i3.push(t3 + " Rollup Error: " + e4 ? e4 : "unknown"); - }), r2.default.each(this.rollupWarnings, function(e4) { - i3.push(t3 + " Rollup Warning: " + e4 ? e4 : "unknown"); - }), i3.join("\n"); + setValueChangedCallback(e3) { + return this.valueChangedCallback = e3, this; } - get rollupErrorCount() { - return this._rollupErrors ? this._rollupErrors.length : 0; + setNewInstanceDefaultExpressionCallback(e3) { + return this.newInstanceDefaultExpressionCallback = e3, this; } - get rollupErrors() { - return this._rollupErrors; + applyDefaultCollectionItemOptions(e3) { + var t3, i3, n3, o2; + 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 === (o2 = e3.customizations) || void 0 === o2 ? void 0 : o2.items), e3._collectionItemOptionsCallback && e3._collectionItemOptionsCallback(this), this; } - get rollupWarningCount() { - return this._rollupWarnings ? this._rollupWarnings.length : 0; + get examples() { + return this._examples; } - get rollupWarnings() { - return this._rollupWarnings; + set examples(e3) { + this._examples = S.ParameterValidator.expectArrayOrString(e3, () => y.ParameterInfo.createPropertySet(this.className, "examples", "value")); } - get warningCount() { - return this._warnings ? this._warnings.length : 0; + setExamples(e3) { + return this.examples = e3, this; } - get warnings() { - var e3; - return null === (e3 = this._warnings) || void 0 === e3 ? void 0 : e3.map((e4) => e4.text); + get labelOverride() { + return this._labelOverride; } - } - t2.default = a; - }, 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), c = i2(47957); - class d extends l.default { - constructor() { - super(...arguments), this.modelPropertyName = "outboundCallSettings"; + set labelOverride(e3) { + this._labelOverride = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "labelOverride", "value")); } - get id() { - return "outboundSettings"; + setLabelOverride(e3) { + return this.labelOverride = e3, this; } - get className() { - return "OutboundCallSettingsViewModel"; + get localizedLabelPrefix() { + return this._localizedLabelPrefix; } - get helpTopic() { - return s.helpTopics.treeNodes.outboundCallSettings; + set localizedLabelPrefix(e3) { + this._localizedLabelPrefix = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "localizedLabelPrefix", "value")); } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) return { contactList: this.contactList.getConfiguration(e3, t3), wrapupCode: this.defaultWrapupCode.getConfiguration(e3, t3) }; - e3.outboundCallSettings || (e3.outboundCallSettings = new u()), e3.outboundCallSettings.contactList = this.contactList.getConfiguration(e3, t3), e3.outboundCallSettings.defaultWrapupCode = this.defaultWrapupCode.getConfiguration(e3, t3); + setLocalizedLabelPrefix(e3) { + return this.localizedLabelPrefix = e3, this; } - getDisplayName() { - return c.outboundCallSettings.treeLabel; + setEmitNonConfigItemForEmptyAndNoDefault(e3) { + return this.emitNonConfigItemForEmptyAndNoDefault = e3, this; } - get isOutboundCallSettingsNode() { - return true; + get suppressParserValidationMessages() { + return this._suppressParserValidationMessages; } - loadConfiguration(e3) { - 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")); + set suppressParserValidationMessages(e3) { + this._suppressParserValidationMessages = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "suppressParserValidationMessages", "value")); } - loadSettings(e3, t3) { - 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); + setSuppressParserValidationMessages(e3) { + return this.suppressParserValidationMessages = e3, this; } - get nodeGuxIcon() { - return "fa/gears-regular"; + setScriptingPropertyName(e3) { + return this.scriptingPropertyName = e3, this; } - search(e3) { - e3.addToQueue(this.contactList), e3.addToQueue(this.defaultWrapupCode); + get restrictToFlowGlobalVariables() { + return this._restrictToFlowGlobalVariables; } - updateDependencies() { - this.contactList && a.registerExpression(this.contactList), this.defaultWrapupCode && a.registerExpression(this.defaultWrapupCode); + set restrictToFlowGlobalVariables(e3) { + this._restrictToFlowGlobalVariables = S.ParameterValidator.expectBool(e3, () => y.ParameterInfo.createPropertySet(this.className, "restrictToFlowGlobalVariables", "value")); } - validate(e3) { - this.contactList.validate(e3), this.defaultWrapupCode.validate(e3); + setRestrictToFlowGlobalVariables(e3) { + return this.restrictToFlowGlobalVariables = e3, this; } - get wrappedYamlName() { - return "settingsOutboundCall"; + get wantVariableMode() { + return this.defaultToVariable || this.variableOnly || this.allowModeVariable && this._allowModeExpression && this.isOutput && !this.isOptional; } - _destroy() { - super._destroy(), this.contactList && this.contactList.destroy(), this.defaultWrapupCode && this.defaultWrapupCode.destroy(); + getDependencyTrackingId(e3) { + return null == e3 ? void 0 : e3.val; } - _initializeDesignTime() { - super._initializeDesignTime(), this.contactList.initializeDesignTime(), this.defaultWrapupCode.initializeDesignTime(); + get subLabel() { + return this._subLabel; } - } - 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 c extends s.default { - constructor(e3) { - super(e3); + set subLabel(e3) { + this._subLabel = S.ParameterValidator.expectString(e3, () => y.ParameterInfo.createPropertySet(this.className, "subLabel", "value"), true); } - get _actionTypeId() { - return r2.sendDigitalContentActionType; + setSubLabel(e3) { + return this.subLabel = e3, this; } - get displayTypeName() { - return this._scriptingName; + set validVariableReferenceCallback(e3) { + this._validVariableReferenceCallback = e3; } - get isArchActionSendDigitalContent() { - return true; + get validVariableReferenceCallback() { + return this._validVariableReferenceCallback; } - get libraryName() { - var e3; - return null === (e3 = this._getCoreViewModel().responseLibrary) || void 0 === e3 ? void 0 : e3.name; + setValidVariableReferenceCallback(e3) { + return this._validVariableReferenceCallback = e3, this; } - get messagingTemplateName() { - return this._getCoreViewModel().messagingTemplateName; + set disallowExpressionFunctions(e3) { + this._disallowExpressionFunctions = e3; } - get valueSelectionResult() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().selectionResult); + get disallowExpressionFunctions() { + return this._disallowExpressionFunctions; } - get messagingTemplateSubstitutions() { - return this._messagingTemplateSubstitutions || (this._messagingTemplateSubstitutions = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().substitutions)), this._messagingTemplateSubstitutions; + setDisallowExpressionFunctions(e3) { + return this._disallowExpressionFunctions = e3, this; } - get messagingTemplateType() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().messagingTemplateType); + get hideLabel() { + return this._hideLabel; } - _clearResponseSubstitutions() { - this._messagingTemplateSubstitutions = void 0; + set hideLabel(e3) { + this._hideLabel = e3; } - setMessagingTemplateByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("messagingTemplateId", "setMessagingTemplateByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setMessagingTemplateByIdAsync"), t3, true); - const i3 = yield o.default.findItemByIdAsync(l.messagingTemplateResponseManager, e3, "messaging template"); - return this.logNote("found the messaging template named '" + i3.name + "' by the id '" + e3 + "'"), yield this._coreActionViewModel.setMessagingTemplateDataAsync(i3), this._clearResponseSubstitutions(), a.default.executeCallback(this, "setMessagingTemplateByIdAsync", t3, this); - }); + setHideLabel(e3) { + return this._hideLabel = e3, this; } - setMessagingTemplateByNameAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - let n3; - this._checkItemIsValidLiteralString(this._infoParm("messagingTemplateName", "setMessagingTemplateByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("libraryName", "setMessagingTemplateByNameAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setMessagingTemplateByNameAsync"), i3, true), (null == t3 ? void 0 : t3.length) && (n3 = (e4) => e4.libraries && e4.libraries.some((e5) => e5.name === t3)); - const r3 = yield o.default.findItemByValueAsync(l.messagingTemplateResponseManager, e3, "messaging template", null, null, n3, { queryPhrase: e3 }); - return this.logNote("found the messaging template with an Id of '" + r3.id + "' by the messaging template name '" + r3.name + "'"), yield this._coreActionViewModel.setMessagingTemplateDataAsync(r3), this._clearResponseSubstitutions(), a.default.executeCallback(this, "setMessagingTemplateByNameAsync", i3, this); - }); + get useSeparator() { + return this._useSeparator; } - setResponseLibraryByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("libraryName", "setResponseLibraryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByNameAsync"), t3, true); - const i3 = yield o.default.findItemByValueAsync(u.responseLibraryManager, e3, "response library", "name"); - return this.logNote("found the response library with an Id of '" + i3.id + "' by the library name '" + i3.name + "'"), this._coreActionViewModel.library.setValue(i3), a.default.executeCallback(this, "setResponseLibraryByNameAsync", t3, this); - }); + set useSeparator(e3) { + this._useSeparator = e3; } - setResponseLibraryByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("responseLibraryId", "setResponseLibraryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByIdAsync"), t3, true); - const i3 = yield o.default.findItemByIdAsync(u.responseLibraryManager, e3, "response library"); - return this.logNote("found the response library named '" + i3.name + "' by the library Id '" + i3.id + "'"), this._coreActionViewModel.library.setValue(i3), a.default.executeCallback(this, "setResponseLibraryByIdAsync", t3, this); - }); + setUseSeparator(e3) { + return this._useSeparator = e3, this; } - setSelectionResultVariable(e3) { - this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("selectionResultVariable", "setSelectionResultVariable"), e3, false), this.valueSelectionResult.setVariable(e3); + get additionalBuilderPartDefs() { + return this._additionalBuilderPartDefs; } - } - 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 I.error(t4), t4; + set additionalBuilderPartDefs(e3) { + this._additionalBuilderPartDefs = e3; } - switch (e3) { - case r2.flowTypes.flowTypeVoicemail: - case r2.flowTypes.flowTypeInboundCall: - case r2.flowTypes.flowTypeOutboundCall: - case r2.flowTypes.flowTypeSecureCall: - return (0, d.default)(t3, i3, e3); - case r2.flowTypes.flowTypeInQueueCall: - return (0, A.default)(t3, i3, true); - case r2.flowTypes.flowTypeInQueueEmail: - case r2.flowTypes.flowTypeInQueueShortMessage: - return (0, S.default)(t3, i3, s.default.EndInQueueState); - case r2.flowTypes.flowTypeInboundChat: - case r2.flowTypes.flowTypeInboundEmail: - case r2.flowTypes.flowTypeInboundShortMessage: - return (0, u.default)(t3, i3, s.default.Disconnect); - case r2.flowTypes.flowTypeBot: - case r2.flowTypes.flowTypeDigitalBot: - return (0, c.default)(e3, t3, i3); - case r2.flowTypes.flowTypeSurveyInvite: - return (0, u.default)(t3, i3); - case r2.flowTypes.flowTypeEmailSend: - return (0, T.default)(t3, i3); - case r2.flowTypes.flowTypeWorkflow: - return (0, u.default)(t3, i3, s.default.EndWorkflow); - case r2.flowTypes.flowTypeWorkitem: - return (0, u.default)(t3, i3, s.default.EndFlow); - case r2.flowTypes.flowTypeCommonModule: - return (0, f.default)(t3, n3); - case r2.flowTypes.flowTypeVoice: - return (0, p.default)(t3, i3); - case r2.flowTypes.flowTypeVoiceSurvey: - return (0, _.default)(t3, i3); - default: - console.error((0, o.sprintf)("Type not supported for scripting template: %s", e3)); + setAdditionalBuilderPartDefs(e3) { + return this._additionalBuilderPartDefs = e3, this; } - }, t2.getDefaultTemplate = function(e3, t3, i3, n3) { - switch (t3 = t3 || "en-US", e3) { - case r2.flowTypes.flowTypeInboundCall: - return (0, y.default)(t3, i3); - case r2.flowTypes.flowTypeInboundChat: - case r2.flowTypes.flowTypeInboundEmail: - case r2.flowTypes.flowTypeInboundShortMessage: - return (0, h.default)(t3, i3, s.default.Queue); - case r2.flowTypes.flowTypeOutboundCall: - return (0, N.default)(t3, i3); - case r2.flowTypes.flowTypeInQueueCall: - return (0, A.default)(t3, i3, false); - case r2.flowTypes.flowTypeInQueueEmail: - case r2.flowTypes.flowTypeInQueueShortMessage: - return (0, S.default)(t3, i3, s.default.EndInQueueState); - case r2.flowTypes.flowTypeSecureCall: - return (0, v.default)(t3, i3, !n3 || n3.secureCallAgentInitiated); - case r2.flowTypes.flowTypeBot: - case r2.flowTypes.flowTypeDigitalBot: - return (0, c.default)(e3, t3, i3); - case r2.flowTypes.flowTypeSurveyInvite: - return (0, u.default)(t3, i3); - case r2.flowTypes.flowTypeEmailSend: - return (0, T.default)(t3, i3); - case r2.flowTypes.flowTypeWorkflow: - return (0, m.default)(t3, i3, s.default.EndWorkflow); - case r2.flowTypes.flowTypeWorkitem: - return (0, g.default)(t3, i3, s.default.EndFlow); - case r2.flowTypes.flowTypeCommonModule: - return (0, f.default)(t3, n3 && n3.destinationFlowTypes); - case r2.flowTypes.flowTypeVoicemail: - return (0, O.default)(t3, i3); - case r2.flowTypes.flowTypeVoice: - return (0, p.default)(t3, i3); - case r2.flowTypes.flowTypeVoiceSurvey: - return (0, _.default)(t3, i3); - default: - console.error((0, o.sprintf)("Type not supported for default template: %s", e3)); + } + t2.BaseExpressionTypeOptions = P, u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowEmptyConfig", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowFlowLevelDefault", null), u.__decorate([(0, O.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, O.enumerable)(true), u.__metadata("design:type", "function" == typeof (o = void 0 !== g.IExpressionOptionsCustomization && g.IExpressionOptionsCustomization) ? o : Object), u.__metadata("design:paramtypes", [])], P.prototype, "customizations", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotWantBlankRuntimeOutput", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "suppressBuilderModePromptResourceChecks", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowedBuilderCategoryIdFilter", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [Array])], P.prototype, "allowedBuilderIds", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowSecure", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "assignablePropertiesNoExpression", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Array), u.__metadata("design:paramtypes", [])], P.prototype, "authToCheck", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "allowNoValueModeWithNoFallback", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "collectionItemsWantCollectionDescriptionInfo", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "builderLanguagesSequenceConfig", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Function), u.__metadata("design:paramtypes", [Object])], P.prototype, "customLiteralValidator", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultText", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToBuilderId", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToExpression", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToNoValue", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", "function" == typeof (r = void 0 !== E.Scope && E.Scope) ? r : Object), u.__metadata("design:paramtypes", ["function" == typeof (a = void 0 !== E.Scope && E.Scope) ? a : Object])], P.prototype, "defaultVariableScope", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "defaultToVariable", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotTransitionToNoValue", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "runtimeValueInheritsFromCallingFlow", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "doNotTrackUsages", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "emitNonConfigItemForEmptyAndNoDefault", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "exprTextMustBeVarOrVarPropRef", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "exprTextRootVariableNameMustBe", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Function), u.__metadata("design:paramtypes", [Object])], P.prototype, "initializedForDesignTimeCallback", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "literalValidatorName", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "flowLevelDefaultHasDefault", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "flowLevelDefaultSameModes", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "hideDefaultTextDescription", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "allowEmbeddedExpressionsInLiteralMode", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isInternal", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isOptional", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isExpressionPart", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "isOverridableFlowLevelDefaultExpression", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [])], P.prototype, "isFlowLevelInheritingExpression", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [])], P.prototype, "inheritsFromFlowLevelDefaultExpression", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "noOriginalType", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "readOnly", null), u.__decorate([(0, O.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, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "requiresFlowQuickRepliesSetting", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [])], P.prototype, "descriptionInfo", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "modeNoValueSelectionLabel", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [])], P.prototype, "modeNoValueSelectionLabelForContext", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "useDefaultValueNodeIcons", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Object])], P.prototype, "usedAsReplacementValueInOtherExpressions", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "extraRealtimeValidationEventSinkName", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "scriptingPropertyName", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Object), u.__metadata("design:paramtypes", [Object])], P.prototype, "examples", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "labelOverride", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [String])], P.prototype, "localizedLabelPrefix", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "suppressParserValidationMessages", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", Boolean), u.__metadata("design:paramtypes", [Boolean])], P.prototype, "restrictToFlowGlobalVariables", null), u.__decorate([(0, O.enumerable)(true), u.__metadata("design:type", String), u.__metadata("design:paramtypes", [Object])], P.prototype, "subLabel", null); + }, 33296(e2, t2, i2) { + "use strict"; + t2.BaseOptionSetting = void 0; + const n2 = i2(98126); + t2.BaseOptionSetting = class { + clone() { + return (0, n2.clone)(this); } }; - 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) => { + }, 42433(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PromiseDefer = void 0, t2.PromiseDefer = class { + var n2, o; + t2.BaseOptions = void 0; + const r = i2(31635), a = r.__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._isPending = true, this._isRejected = false, this.resolve = (e3) => { - this._isPending = false, this._resolve(e3); - }, this.reject = (e3) => { - this._isPending = false, this._isRejected = true, this._reject(e3); - }, this._promise = new Promise((e3, t3) => { - this._resolve = e3, this._reject = t3; - }); - } - get promise() { - return this._promise; - } - isPending() { - return this._isPending; - } - isFulfilled() { - return !this._isPending && !this._isRejected; + 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"); } - isRejected() { - return this._isRejected; + get className() { + return "BaseOptions"; } - }; - }, 52030: (e2, t2, i2) => { - const n2 = i2(28730), { taskActionActionType: r2 } = i2(30801); - function o() { - this.taskReference = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.taskReference = e3.pasteResolveOldIdToNewId(this.taskReference), this.name = e3.pasteResolveOldTaskNameToNewTaskName(this.name); - } } }), e2.exports = o; - }, 52052: (e2, t2, i2) => { - "use strict"; - var n2, r2, o; - Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); - class u extends l.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.dataToEncrypt), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.encryptedDataOutput), "f"), e3.errorBindings && a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); + get isBaseOptions() { + return true; } - get _actionTypeId() { - return s.encryptDataActionType; + invokeOptionsCallback(e3) { + return a.default.isFunction(e3) && e3(this), this; } - get displayTypeName() { - return this._scriptingName; + configure(e3) { + return e3(this), this; } - get isArchActionEncryptData() { - return true; + get facets() { } - get dataToEncrypt() { - return a.__classPrivateFieldGet(this, n2, "f"); + set facets(e3) { } - get encryptedData() { - return a.__classPrivateFieldGet(this, r2, "f"); + setFromOptions(e3) { + this._setFromOptions(e3), this._setFacetsFromOptions(e3); } - get encryptDataOutputsFailure() { - return a.__classPrivateFieldGet(this, o, "f"); + _setFromOptions(e3) { + _.ParameterValidator.expectObject(e3, () => p.ParameterInfo.createFunctionParameter(this.className, "_setFromOptions", "baseOptions"), false), this._setOptionIfSet(this.setAssumeOosIfTypeUnavailable, e3.assumeOosIfTypeUnavailable), this._setOptionIfSet(this.setDisallowedFunctionMap, e3.disallowedFunctionMap), this._setOptionIfSet(this.setUiLayout, e3.uiLayout), this._setOptionIfSet(this.setCanCreateObjectInAction, e3.canCreateObjectInAction, "_canCreateObjectInAction"), this._setOptionIfSet(this.setFeatureConfigName, e3.featureConfigName, "_featureConfigName"), this._setOptionIfSet(this.setAntiFeatureConfigName, e3.antiFeatureConfigName, "_antiFeatureConfigName"), this._setOptionIfSet(this.setIninTestingField, e3.ininTestingField, "_ininTestingField"), this._setOptionIfSet(this.setUiPropertyGroup, e3.uiPropertyGroup, "_uiPropertyGroup"), this._setOptionIfSet(this.setUiSingleItemSectionPropertyGroup, e3.uiSingleItemSectionPropertyGroup, "_uiSingleItemSectionPropertyGroup"), this._setOptionIfSet(this.setUiPropertyOrder, e3.uiPropertyOrder, "_uiPropertyOrder"), this._setOptionIfSet(this.setUiDisableOnOutOfService, e3.uiDisableOnOutOfService, "_uiDisableOnOutOfService"), this._setOptionIfSet(this.setUiDisabledTooltip, e3.uiDisabledTooltip, "_uiDisabledTooltip"), e3.uiPropertyCardGroup && this.setUiPropertyCardGroup(e3.uiPropertyCardGroup.groupName, e3.uiPropertyCardGroup.cardHeaderField, e3.uiPropertyCardGroup.isCollapsible); } - } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 52088: (e2, t2, i2) => { - const n2 = i2(58380), r2 = i2(1115); - e2.exports = { createNameChangedEventSinkObject: function(e3) { - return n2.createEventSinkObject("nameChanged", e3, () => { - e3.initializeDesignTimeCalled && r2.validateNode(e3, false); - }); - } }; - }, 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)), 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); - function s() { - } - s.prototype.getScripts = function(e3) { - const t3 = n2.isFeatureAvailable(r2.divisionedScriptsV2) ? a.getScriptsDivisionView : a.getScripts; - return o.build(t3).queryParams(e3.getSearchQueryParams()).call(); - }, s.prototype.getScript = function(e3) { - const t3 = n2.isFeatureAvailable(r2.divisionedScriptsV2) ? a.getScriptDivisionView : a.getScript; - return o.build(t3).templateParams({ id: e3 }).call().then((e4) => e4.entities && e4.entities[0] ? e4.entities[0] : e4); - }, s.prototype.getScript.api = a.getScript, s.prototype.getScriptsForFeature = function(e3, t3) { - const i3 = n2.isFeatureAvailable(r2.divisionedScriptsV2) ? a.getScriptsForFeatureDivisionView : a.getScriptsForFeature; - return o.build(i3).templateParams({ feature: e3 }).queryParams(t3.getSearchQueryParams()).call(); - }, s.prototype.getScriptsForFeature.api = a.getScriptsForFeatureDivisionView, s.prototype.getScriptVariables = function(e3) { - const t3 = n2.isFeatureAvailable(r2.divisionedScriptsV2) ? a.getScriptVariablesDivisionView : a.getScriptVariables; - return o.build(t3).templateParams({ id: e3 }).call(); - }, e2.exports = new s(); - }, 52164: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BasicRequest = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299), o = i2(52023), a = i2(243), s = i2(27283), l = [i2(86580).requestHandler]; - class u extends r2.BaseClass { - constructor(e3, t3) { - super(), this.deferredResult = new o.PromiseDefer(), this.headers = void 0, this.sendTime = void 0, this.status = 0, this.statusText = "", this.url = "", this.info = e3, this.addDefaultHeaders(t3); + _setFacetsFromOptions(e3) { + this.facets && e3 && this.facets.setFromFacets(e3.facets); } - get promise() { - return this.deferredResult.promise; + _setOptionIfSet(e3, t3, i3) { + _.ParameterValidator.expectFunction(e3, () => p.ParameterInfo.createFunctionParameter(this.className, "_setOptionIfSet", "setter"), false), a.default.isUndefined(t3) ? i3 && (_.ParameterValidator.expectTrue(i3 in this, i3, "property exists on this", () => p.ParameterInfo.createFunctionParameter(this.className, "_setOptionIfSet", "propertyName"), false), this[i3] = void 0) : e3.call(this, t3); } - _generateUrl() { - this.url || (this.url = (0, a.generateRequestUrl)(this.info.protocol, this.info.urlTemplate, this._templateParams, this._queryParams)); + get canCreateObjectInAction() { + return this._canCreateObjectInAction; } - addDefaultHeaders(e3) { - "POST" === this.info.method || "PUT" === this.info.method || "PATCH" === this.info.method ? this.headers = { Accept: "application/json", "Content-Type": "application/json" } : this.headers = { Accept: "*/*" }; + set canCreateObjectInAction(e3) { + this._canCreateObjectInAction = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "canCreateObjectInAction", "value")); } - call() { - return s.queuedNetworkCallService.enqueueNetworkCall(this); + setCanCreateObjectInAction(e3) { + return this.canCreateObjectInAction = e3, this; } - content(e3) { - return this._content = e3, this; + get featureConfigName() { + return this._featureConfigName; } - getParameters() { - return { content: this._content, template: this._templateParams, query: this._queryParams }; + set featureConfigName(e3) { + this._featureConfigName = _.ParameterValidator.expectFeatureConfigName(e3, () => p.ParameterInfo.createPropertySet(this.className, "featureConfigName", "value")); } - getResponse() { - if (this._requestResult) return this._requestResult; - const e3 = this.parseResponse(); - if (this.info.DataContract) if (this.info.options.includeStatusOnSuccess || this.info.options.includeHeaders) this._requestResult = { response: new this.info.DataContract(e3) }, this.info.options.includeStatusOnSuccess && (this._requestResult.status = this.status, this._requestResult.statusText = this.statusText), this.info.options.includeHeaders && (this._requestResult.headers = this.headers); - else { - if ("raw-file" === this.headers) return e3; - this._requestResult = new this.info.DataContract(e3); - } - return this._requestResult || e3; + setFeatureConfigName(e3) { + return this.featureConfigName = e3, this; } - queryParams(e3) { - return this._queryParams = e3, this; + get antiFeatureConfigName() { + return this._antiFeatureConfigName; } - routeEvent(e3, t3) { - "load" === e3 && (e3 = t3.status >= 200 && t3.status < 300 ? "success" : "error"), n2.default.find(l, function(i3) { - return i3(e3, t3); - }); + set antiFeatureConfigName(e3) { + this._antiFeatureConfigName = _.ParameterValidator.expectFeatureConfigName(e3, () => p.ParameterInfo.createPropertySet(this.className, "antiFeatureConfigName", "value")); } - shouldIgnore(e3) { - return !!this.info.options.codesToIgnore && n2.default.contains(this.info.options.codesToIgnore, e3); + setAntiFeatureConfigName(e3) { + return this.antiFeatureConfigName = e3, this; } - templateParams(e3) { - return this._templateParams = e3, this; + get ininTestingField() { + return this._ininTestingField; } - } - t2.BasicRequest = u, u.handlers = l; - }, 52179: (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" }; - }, 52357: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allScriptsManager = t2.AllScriptsManager = void 0; - const n2 = i2(24032), r2 = i2(30801), o = i2(82915), a = i2(47957), s = i2(52124); - class l extends o.ScriptManager { - constructor() { - super("AllScriptsManager"), this.topic = (0, n2.getTopic)("AllScriptsManager"), this.apiCallList = s.getScripts, this.actionsForUsageSearch = [r2.screenPopActionType], this.dependencyContext = a.createCallback.script; + set ininTestingField(e3) { + this._ininTestingField = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "ininTestingField", "value")); } - } - 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)), 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); + setIninTestingField(e3) { + return this.ininTestingField = e3, this; } - static get managedProperties() { - 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 uiPropertyGroup() { + return this._uiPropertyGroup; } - get flowId() { - var e3; - return null === (e3 = this.getTargetFlowRefProp()) || void 0 === e3 ? void 0 : e3.flowId; + set uiPropertyGroup(e3) { + this._uiPropertyGroup = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyGroup", "value")); } - get flowName() { + setUiPropertyGroup(e3) { + return this.uiPropertyGroup = e3, this; + } + get uiPropertyCardGroup() { var e3; - return null === (e3 = this.getTargetFlowRefProp()) || void 0 === e3 ? void 0 : e3.flowName; + return null === (e3 = this._uiPropertyCardGroup$) || void 0 === e3 ? void 0 : e3.value; } - get flowType() { - return this.getTargetFlowTypeForActionType(); + set uiPropertyCardGroup(e3) { + _.ParameterValidator.expectString(e3.cardHeaderField, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyCardGroup", "value.cardHeaderField"), true), _.ParameterValidator.expectString(e3.groupName, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyCardGroup", "value.groupName")), this._uiPropertyCardGroup$ ? a.default.isEqual(this.uiPropertyCardGroup, e3) || this._uiPropertyCardGroup$.next(e3) : this._uiPropertyCardGroup$ = new s.BehaviorSubject(e3); } - initializeDesignTime() { + get uiPropertyCardGroup$() { var e3; - super.initializeDesignTime(), this._updateOutOfService(), this.addAutoCleanedUpEventSinkWatch(s.expressionValueChanged, this.actionType, () => { - this._updateOutOfService(); - }), (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.isCommonModuleFlow) && this.parentFlow.commonModuleSettings && this.addAutoCleanedUpEventSinkWatch(s.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { - this._updateOptionsForCommonModule(); - }), this._updateOptionsForCommonModule(); + return null === (e3 = this._uiPropertyCardGroup$) || void 0 === e3 ? void 0 : e3.asObservable(); } - _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(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)); + setUiPropertyCardGroup(e3, t3, i3 = true) { + return this.uiPropertyCardGroup = { groupName: e3, cardHeaderField: t3, isCollapsible: i3 }, this; } - _updateOutOfService() { - let e3 = true, t3 = true, i3 = true, n3 = true, r3 = false, o2 = true; - switch (this.actionType.text) { - case N.inboundCallFlow.id: - e3 = false, n3 = false, o2 = false; - break; - case N.voiceSurveyFlow.id: - t3 = false, n3 = false, o2 = false; - break; - 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 && O.validateAction(this, false, true); + get uiSingleItemSectionPropertyGroup() { + return this._uiSingleItemSectionPropertyGroup; } - postProcessYamlConfig(e3, t3, i3) { - e3.actionType = {}; - const n3 = this.actionType.text || N.inboundCallFlow.id, r3 = {}; - e3.actionType[n3] = r3, r3.targetFlow = e3[n3], e3.invocationData && (r3.invocationData = e3.invocationData, delete e3.invocationData), delete e3.inboundCallFlow, delete e3.voiceSurveyFlow, delete e3.inboundShortMessageFlow; + set uiSingleItemSectionPropertyGroup(e3) { + this._uiSingleItemSectionPropertyGroup = e3; } - getTargetFlowRefProp() { - switch (this.actionType.text) { - case N.inboundCallFlow.id: - return this.inboundCallFlow; - case N.voiceSurveyFlow.id: - return this.voiceSurveyFlow; - case N.inboundShortMessageFlow.id: - return this.inboundShortMessageFlow; - } + setUiSingleItemSectionPropertyGroup(e3) { + return this.uiSingleItemSectionPropertyGroup = e3, this; } - repointSelfReferencingFlow(e3, t3) { - var i3; - null === (i3 = this.getTargetFlowRefProp()) || void 0 === i3 || i3.repointSelfReference(e3, t3); + get uiPropertyOrder() { + return this._uiPropertyOrder; } - getTargetFlowTypeForActionType() { - switch (this.actionType.text) { - case N.inboundCallFlow.id: - return d.flowTypes.flowTypeInboundCall; - case N.voiceSurveyFlow.id: - return d.flowTypes.flowTypeVoiceSurvey; - case N.inboundShortMessageFlow.id: - return d.flowTypes.flowTypeInboundShortMessage; - } + set uiPropertyOrder(e3) { + this._uiPropertyOrder = _.ParameterValidator.expectInt(e3, () => p.ParameterInfo.createPropertySet(this.className, "uiPropertyOrder", "value")); } - static getPostFlowActionTypesForFlowType(e3) { - var t3; - (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 d.flowTypes.flowTypeInboundShortMessage: - this._postFlowActionTypesByFlowType[d.flowTypes.flowTypeInboundShortMessage] = { postFlowActionTypes: [N.inboundShortMessageFlow] }; - break; - case d.flowTypes.flowTypeCommonModule: - this._postFlowActionTypesByFlowType[d.flowTypes.flowTypeCommonModule] = { postFlowActionTypes: N.allPostFlowActionTypes }; - break; - 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: - this._postFlowActionTypesByFlowType[e3] = { postFlowActionTypes: void 0 }; - } - i3 = this._postFlowActionTypesByFlowType[e3].postFlowActionTypes; - } - return i3; + setUiPropertyOrder(e3) { + return this.uiPropertyOrder = e3, this; } - static getPostFlowActionTypesMapForFlowType(e3) { - var t3; - (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); - if (null == t4 ? void 0 : t4.length) { - const n3 = {}; - for (const e4 of t4) n3[e4.id] = e4; - this._postFlowActionTypesMapByFlowType[e3] = { postFlowActionTypesMap: n3 }, i3 = n3; - } else this._postFlowActionTypesMapByFlowType[e3] = { postFlowActionTypesMap: void 0 }; - } - return i3; + get assumeOosIfTypeUnavailable() { + return this._assumeOosIfTypeUnavailable; } - _updateCommonModuleNoteVisibility() { - const e3 = this._hasFlowTypesWithConflictingFlowTypes(); - this.target && this.target.options.setReadOnly(e3), this.actionType && this.actionType.options.setReadOnly(e3), this.invocationData && this.invocationData.options.setReadOnly(e3), this.commonModuleNote.outOfService = !e3; + set assumeOosIfTypeUnavailable(e3) { + this._assumeOosIfTypeUnavailable = e3; } - _getAllowableValueMapKeysAsStr(e3) { - var t3, i3; - if (e3) return null === (i3 = null === (t3 = Object.keys(e3)) || void 0 === t3 ? void 0 : t3.sort()) || void 0 === i3 ? void 0 : i3.join("-"); + setAssumeOosIfTypeUnavailable(e3) { + return this.assumeOosIfTypeUnavailable = e3, this; } - _hasFlowTypesWithConflictingFlowTypes() { - return !r2.default.isEmpty(this._getFlowTypesWithConflictingPostFlowActionTypes()); + get uiDisableOnOutOfService() { + return this._uiDisableOnOutOfService; } - _getFlowTypesWithConflictingPostFlowActionTypes() { - const e3 = this.parentFlow.destinationFlowTypes; - if (!e3 || e3.length <= 1) return {}; - 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; + set uiDisableOnOutOfService(e3) { + this._uiDisableOnOutOfService = e3; } - _getAvailablePostFlowActionTypesMap() { - const e3 = this.parentFlow.destinationFlowTypes; - if (!e3 || e3.length <= 1) return {}; - const t3 = {}; - for (const i3 of e3) { - const e4 = w.getPostFlowActionTypesForFlowType(i3); - if (null == e4 ? void 0 : e4.length) for (const i4 of e4) t3[i4.id] = i4; - } - return t3; + setUiDisableOnOutOfService(e3) { + return this.uiDisableOnOutOfService = e3, this; } - validate(e3) { - var t3; - super.validate(e3); - const i3 = this._getFlowTypesWithConflictingPostFlowActionTypes(); - 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, 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; - } + get uiDisabledTooltip() { + return this._uiDisabledTooltip; } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + set uiDisabledTooltip(e3) { + this._uiDisabledTooltip = e3; } - get _globalTypeName() { - return "externalAddress"; + setUiDisabledTooltip(e3) { + return this.uiDisabledTooltip = e3, this; } - get address1() { + get uiLayout() { + return this._uiLayout; } - get address2() { + set uiLayout(e3) { + a.default.isUndefined(e3) ? this._uiLayout = {} : (_.ParameterValidator.expectObject(e3, () => p.ParameterInfo.createPropertySet(this.className, "uiLayout", "value")), this._uiLayout = e3); } - get city() { + setUiLayout(e3) { + return this.uiLayout = e3, this; } - get state() { + get disallowedFunctionMap() { + return this._disallowedFunctionMap; } - get postalCode() { + set disallowedFunctionMap(e3) { + if (a.default.isUndefined(e3)) return void (this._disallowedFunctionMap = void 0); + let t3; + _.ParameterValidator.expectObject(e3, () => p.ParameterInfo.createPropertySet(this.className, "disallowedFunctionMap", "value")), this._disallowedFunctionMap = {}; + const i3 = Object.keys(e3); + let n3 = i3.length; + for (; n3--; ) t3 = i3[n3], this._disallowedFunctionMap[t3.toLowerCase()] = e3[t3]; } - get countryCode() { + get hasDisallowedFunctionMap() { + return !a.default.isUndefined(this._disallowedFunctionMap); } - get displayTypeName() { - return "ArchValueExternalAddress"; + setDisallowedFunctionMap(e3) { + return this.disallowedFunctionMap = e3, this; } - get isArchValueExternalAddress() { - return true; + get isExpressionTypeNetworkObjectOptions() { + return false; + } + clone() { + return (0, l.clone)(this); } } - t2.default = r2; - }, 52648: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - e3.defineLocale("zh-cn", { months: "\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"), monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), weekdays: "\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"), weekdaysShort: "\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"), weekdaysMin: "\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY\u5E74M\u6708D\u65E5", LLL: "YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206", LLLL: "YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206", l: "YYYY/M/D", ll: "YYYY\u5E74M\u6708D\u65E5", lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm", llll: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm" }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function(e4, t3) { - return 12 === e4 && (e4 = 0), "\u51CC\u6668" === t3 || "\u65E9\u4E0A" === t3 || "\u4E0A\u5348" === t3 ? e4 : "\u4E0B\u5348" === t3 || "\u665A\u4E0A" === t3 ? e4 + 12 : e4 >= 11 ? e4 : e4 + 12; - }, meridiem: function(e4, t3, i3) { - var n2 = 100 * e4 + t3; - return n2 < 600 ? "\u51CC\u6668" : n2 < 900 ? "\u65E9\u4E0A" : n2 < 1130 ? "\u4E0A\u5348" : n2 < 1230 ? "\u4E2D\u5348" : n2 < 1800 ? "\u4E0B\u5348" : "\u665A\u4E0A"; - }, calendar: { sameDay: "[\u4ECA\u5929]LT", nextDay: "[\u660E\u5929]LT", nextWeek: function(e4) { - return e4.week() !== this.week() ? "[\u4E0B]dddLT" : "[\u672C]dddLT"; - }, lastDay: "[\u6628\u5929]LT", lastWeek: function(e4) { - return this.week() !== e4.week() ? "[\u4E0A]dddLT" : "[\u672C]dddLT"; - }, sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, ordinal: function(e4, t3) { - switch (t3) { - case "d": - case "D": - case "DDD": - return e4 + "\u65E5"; - case "M": - return e4 + "\u6708"; - case "w": - case "W": - return e4 + "\u5468"; - default: - return e4; - } - }, relativeTime: { future: "%s\u540E", past: "%s\u524D", s: "\u51E0\u79D2", ss: "%d \u79D2", m: "1 \u5206\u949F", mm: "%d \u5206\u949F", h: "1 \u5C0F\u65F6", hh: "%d \u5C0F\u65F6", d: "1 \u5929", dd: "%d \u5929", w: "1 \u5468", ww: "%d \u5468", M: "1 \u4E2A\u6708", MM: "%d \u4E2A\u6708", y: "1 \u5E74", yy: "%d \u5E74" }, week: { dow: 1, doy: 4 } }); - })(i2(95093)); - }, 52696: (e2, t2) => { + t2.BaseOptions = h, r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], h.prototype, "featureConfigName", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], h.prototype, "antiFeatureConfigName", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [Object])], h.prototype, "ininTestingField", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyGroup", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyCardGroup", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Boolean), r.__metadata("design:paramtypes", [Object])], h.prototype, "uiSingleItemSectionPropertyGroup", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Number), r.__metadata("design:paramtypes", [Object])], h.prototype, "uiPropertyOrder", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Boolean), r.__metadata("design:paramtypes", [Object])], h.prototype, "assumeOosIfTypeUnavailable", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Boolean), r.__metadata("design:paramtypes", [Object])], h.prototype, "uiDisableOnOutOfService", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", String), r.__metadata("design:paramtypes", [Object])], h.prototype, "uiDisabledTooltip", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.IUiLayout && c.IUiLayout) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== c.IUiLayout && c.IUiLayout) ? o : Object])], h.prototype, "uiLayout", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", Object), r.__metadata("design:paramtypes", [Object])], h.prototype, "disallowedFunctionMap", null); + }, 63029(e2, t2, i2) { "use strict"; - const i2 = 1024; - let n2 = 0; - class r2 { - constructor(e3, t3) { - this.from = e3, this.to = t3; + t2.BaseOptionsWithOptional = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(42433), a = i2(55909), s = i2(33951); + class l extends r.BaseOptions { + constructor() { + super(), this._isOptional = false, (0, o.makeUnenumerable)(this, "_isOptional"); } - } - class o { - constructor(e3 = {}) { - this.id = n2++, this.perNode = !!e3.perNode, this.deserialize = e3.deserialize || (() => { - throw new Error("This node type doesn't define a deserialize function"); - }); + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setIsOptional, e3.isOptional, "_isOptional"); } - add(e3) { - if (this.perNode) throw new RangeError("Can't add per-node props to node types"); - return "function" != typeof e3 && (e3 = l.match(e3)), (t3) => { - let i3 = e3(t3); - return void 0 === i3 ? null : [this, i3]; - }; + get className() { + return "BaseOptionsWithOptional"; } - } - o.closedBy = new o({ deserialize: (e3) => e3.split(" ") }), o.openedBy = new o({ deserialize: (e3) => e3.split(" ") }), o.group = new o({ deserialize: (e3) => e3.split(" ") }), o.isolate = new o({ deserialize: (e3) => { - if (e3 && "rtl" != e3 && "ltr" != e3 && "auto" != e3) throw new RangeError("Invalid value for isolate: " + e3); - return e3 || "auto"; - } }), o.contextHash = new o({ perNode: true }), o.lookAhead = new o({ perNode: true }), o.mounted = new o({ perNode: true }); - class a { - constructor(e3, t3, i3) { - this.tree = e3, this.overlay = t3, this.parser = i3; + get isBaseOptionsWithOptional() { + return true; } - static get(e3) { - return e3 && e3.props && e3.props[o.mounted.id]; + get isOptional() { + return this._isOptional; } - } - const s = /* @__PURE__ */ Object.create(null); - class l { - constructor(e3, t3, i3, n3 = 0) { - this.name = e3, this.props = t3, this.id = i3, this.flags = n3; + set isOptional(e3) { + this._isOptional = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "isOptional", "value")); } - static define(e3) { - let t3 = e3.props && e3.props.length ? /* @__PURE__ */ Object.create(null) : s, i3 = (e3.top ? 1 : 0) | (e3.skipped ? 2 : 0) | (e3.error ? 4 : 0) | (null == e3.name ? 8 : 0), n3 = new l(e3.name || "", t3, e3.id, i3); - if (e3.props) { - for (let i4 of e3.props) if (Array.isArray(i4) || (i4 = i4(n3)), i4) { - if (i4[0].perNode) throw new RangeError("Can't store a per-node prop on a node type"); - t3[i4[0].id] = i4[1]; - } - } - return n3; + setIsOptional(e3) { + return this.isOptional = e3, this; } - prop(e3) { - return this.props[e3.id]; + } + t2.BaseOptionsWithOptional = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "isOptional", null); + }, 15786(e2, t2, i2) { + "use strict"; + t2.OptionSettingWithFlowTypes = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(80295), r = i2(33296), a = i2(55909), s = i2(33951), l = "anyNonSpecificFlowType"; + class u extends r.BaseOptionSetting { + constructor() { + super(), this._flowTypeToValue = {}, (0, o.makeUnenumerable)(this, "_flowTypeToValue"); } - get isTop() { - return (1 & this.flags) > 0; + get className() { + return "OptionSettingWithFlowTypes"; } - get isSkipped() { - return (2 & this.flags) > 0; + clone() { + const e3 = super.clone(); + return this.copyValuesTo(e3), e3; } - get isError() { - return (4 & this.flags) > 0; + copyValuesTo(e3) { + n2.default.each(this._flowTypeToValue, function(t3, i3) { + i3 === l ? e3.setValueForAllFlowTypes(t3) : e3.setValueForFlowType(t3, i3); + }); } - get isAnonymous() { - return (8 & this.flags) > 0; + getValueForFlowType(e3) { + return s.ParameterValidator.expectFlowType(e3, () => a.ParameterInfo.createPropertySet(this.className, "getValueForFlowType", "flowType"), true), n2.default.has(this._flowTypeToValue, e3) ? this._flowTypeToValue[e3] : n2.default.has(this._flowTypeToValue, l) ? this._flowTypeToValue[l] : void 0; } - is(e3) { - if ("string" == typeof e3) { - if (this.name == e3) return true; - let t3 = this.prop(o.group); - return !!t3 && t3.indexOf(e3) > -1; - } - return this.id == e3; + setValueForAllFlowTypes(e3) { + this.setValueForFlowType(e3); } - static match(e3) { - let t3 = /* @__PURE__ */ Object.create(null); - for (let i3 in e3) for (let n3 of i3.split(" ")) t3[n3] = e3[i3]; - return (e4) => { - for (let i3 = e4.prop(o.group), n3 = -1; n3 < (i3 ? i3.length : 0); n3++) { - let r3 = t3[n3 < 0 ? e4.name : i3[n3]]; - if (r3) return r3; - } - }; + setValueForFlowType(e3, t3) { + s.ParameterValidator.expectFlowType(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setValueForFlowType", "flowType"), true), this._flowTypeToValue[n2.default.isString(t3) ? t3 : l] = e3; } - } - l.none = new l("", /* @__PURE__ */ Object.create(null), 0, 8); - class u { - constructor(e3) { - this.types = e3; - for (let t3 = 0; t3 < e3.length; t3++) if (e3[t3].id != t3) throw new RangeError("Node type ids should correspond to array positions when creating a node set"); + setValueForFlowTypeOrTypes(e3, t3) { + s.ParameterValidator.expectArrayOrString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setValueForFlowTypeOrTypes", "flowTypeOrTypes"), true), n2.default.isArray(t3) ? this.setValueForFlowTypes(e3, t3) : this.setValueForFlowType(e3, t3); } - extend(...e3) { - let t3 = []; - for (let i3 of this.types) { - let n3 = null; - for (let t4 of e3) { - let e4 = t4(i3); - e4 && (n3 || (n3 = Object.assign({}, i3.props)), n3[e4[0].id] = e4[1]); - } - t3.push(n3 ? new l(i3.name, n3, i3.id, i3.flags) : i3); - } - return new u(t3); + setValueForFlowTypes(e3, t3) { + s.ParameterValidator.expectArray(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setValueForFlowTypes", "flowTypes"), true), n2.default.isArray(t3) && !n2.default.isEmpty(t3) ? n2.default.each(t3, function(t4) { + this.setValueForFlowType(e3, t4); + }.bind(this)) : this.setValueForAllFlowTypes(e3); } } - 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 _ { - constructor(e3, t3, i3, n3, r3) { - if (this.type = e3, this.children = t3, this.positions = i3, this.length = n3, this.props = null, r3 && r3.length) { - this.props = /* @__PURE__ */ Object.create(null); - for (let [e4, t4] of r3) this.props["number" == typeof e4 ? e4 : e4.id] = t4; - } - } - toString() { - let e3 = a.get(this); - if (e3 && !e3.overlay) return e3.tree.toString(); - let t3 = ""; - for (let e4 of this.children) { - let i3 = e4.toString(); - i3 && (t3 && (t3 += ","), t3 += i3); - } - return this.type.name ? (/\W/.test(this.type.name) && !this.type.isError ? JSON.stringify(this.type.name) : this.type.name) + (t3.length ? "(" + t3 + ")" : "") : t3; - } - cursor(e3 = 0) { - return new C(this.topNode, e3); - } - cursorAt(e3, t3 = 0, i3 = 0) { - 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); + t2.OptionSettingWithFlowTypes = u; + }, 53477(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeAssignedCustomerIntentOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - resolve(e3, t3 = 0) { - let i3 = f(c.get(this) || this.topNode, e3, t3, false); - return c.set(this, i3), i3; + constructor(e3) { + super(e3); } - resolveInner(e3, t3 = 0) { - let i3 = f(d.get(this) || this.topNode, e3, t3, true); - return d.set(this, i3), i3; + get className() { + return "ExpressionTypeAssignedCustomerIntentOptions"; } - resolveStack(e3, t3 = 0) { - return (function(e4, t4, i3) { - let n3 = e4.resolveInner(t4, i3), r3 = null; - for (let e5 = n3 instanceof y ? n3 : n3.context.parent; e5; e5 = e5.parent) if (e5.index < 0) { - let o2 = e5.parent; - (r3 || (r3 = [n3])).push(o2.resolve(t4, i3)), e5 = o2; - } else { - let o2 = a.get(e5.tree); - if (o2 && o2.overlay && o2.overlay[0].from <= t4 && o2.overlay[o2.overlay.length - 1].to >= t4) { - let a2 = new y(o2.tree, o2.overlay[0].from + e5.from, -1, e5); - (r3 || (r3 = [n3])).push(f(a2, t4, i3, false)); - } - } - return r3 ? O(r3) : n3; - })(this, e3, t3); + get isExpressionTypeAssignedCustomerIntentOptions() { + return true; } - iterate(e3) { - let { enter: i3, leave: n3, from: r3 = 0, to: o2 = this.length } = e3, a2 = e3.mode || 0, s2 = (a2 & t2.IterMode.IncludeAnonymous) > 0; - for (let e4 = this.cursor(a2 | t2.IterMode.IncludeAnonymous); ; ) { - let t3 = false; - if (e4.from <= o2 && e4.to >= r3 && (!s2 && e4.type.isAnonymous || false !== i3(e4))) { - if (e4.firstChild()) continue; - t3 = true; - } - for (; t3 && n3 && (s2 || !e4.type.isAnonymous) && n3(e4), !e4.nextSibling(); ) { - if (!e4.parent()) return; - t3 = true; - } - } + get supportsLiteralMode() { + return this.isCollection; } - prop(e3) { - return e3.perNode ? this.props ? this.props[e3.id] : void 0 : this.type.prop(e3); + } + t2.ExpressionTypeAssignedCustomerIntentOptions = o; + }, 72012(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeAssignedCustomerSegmentOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get propValues() { - let e3 = []; - if (this.props) for (let t3 in this.props) e3.push([+t3, this.props[t3]]); - return e3; + constructor(e3) { + super(e3); } - balance(e3 = {}) { - 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))); + get className() { + return "ExpressionTypeAssignedCustomerSegmentOptions"; } - 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, c2 = r3.types, d2 = 0, p2 = 0; - function g2(e5, t4, i3, n4, h2, A3) { - 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(v3 - e5); - } - if (-3 == I2) return void (d2 = N3); - if (-4 == I2) return void (p2 = N3); - throw new RangeError(`Unrecognized record size: ${I2}`); - } - 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) { - 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 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; - d3 += 4; - } else i4.id >= l2 && (d3 += 4); - i4.next(); - } - r4 = p3, n5 += e7, o2 += d3; - } - 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(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 - I2; - u2.next(); - 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; - if (u3 >= 0 && (a3 = i5[u3]) instanceof _) { - if (!u3 && a3.type == e8 && a3.length == r5) return a3; - (s4 = a3.prop(o.lookAhead)) && (l3 = n6[u3] + a3.length + s4); - } - return y2(e8, i5, n6, r5, l3, t6); - }; - })(D2, 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); - } - function f2(e5, t4, i3, n4) { - let o2 = [], s3 = 0, l3 = -1; - for (; u2.pos > t4; ) { - let { id: e6, start: t5, end: i4, size: n5 } = u2; - if (n5 > 4) u2.next(); - else { - if (l3 > -1 && t5 < l3) break; - l3 < 0 && (l3 = i4 - a2), o2.push(e6, t5, i4), s3++, u2.next(); - } - } - if (s3) { - let t5 = new Uint16Array(4 * s3), a3 = o2[o2.length - 2]; - for (let e6 = o2.length - 3, i4 = 0; e6 >= 0; e6 -= 3) t5[i4++] = o2[e6], t5[i4++] = o2[e6 + 1] - a3, t5[i4++] = o2[e6 + 2] - a3, t5[i4++] = i4; - i3.push(new m(t5, o2[2] - a3, r3)), n4.push(a3 - e5); - } - } - function T2(e5, t4, i3, n4, o2, a3, s3, l3, u3) { - 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) { - let e6 = [o.contextHash, a3]; - s3 = s3 ? [e6].concat(s3) : [e6]; - } - if (r4 > 25) { - let e6 = [o.lookAhead, r4]; - s3 = s3 ? [e6].concat(s3) : [e6]; - } - return new _(e5, t4, i3, n4, s3); - } - function S2(e5, t4, i3) { - let { id: n4, start: r4, end: o2, size: a3 } = u2; - if (u2.next(), a3 >= 0 && n4 < l2) { - let s3 = i3; - if (a3 > 4) { - let n5 = u2.pos - (a3 - 4); - 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 ? 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 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); + get isExpressionTypeAssignedCustomerSegmentOptions() { + return true; + } + get supportsLiteralMode() { + return this.isCollection; } } - _.empty = new _(l.none, [], [], 0); - class h { - constructor(e3, t3) { - this.buffer = e3, this.index = t3; + t2.ExpressionTypeAssignedCustomerSegmentOptions = o; + }, 62017(e2, t2, i2) { + "use strict"; + var n2; + t2.ExpressionTypeAudioOptions = void 0; + const o = i2(31635), r = o.__importDefault(i2(50964)), a = i2(80295), s = i2(19507), l = i2(55909), u = i2(33951), c = o.__importDefault(i2(92140)); + class d extends s.BaseExpressionTypeOptions { + static create(e3) { + return new this().invokeOptionsCallback(e3); } - get id() { - return this.buffer[this.index - 4]; + constructor() { + super(), this._durationFacets = new r.default(), this._allowBlankAudio = true, (0, a.makeUnenumerable)(this, "_durationFacets"), (0, a.makeUnenumerable)(this, "_allowBlankAudio"), this.allowSecure = true; } - get start() { - return this.buffer[this.index - 3]; + _setFromOptions(e3) { + 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); } - get end() { - return this.buffer[this.index - 2]; + _setFacetsFromOptions(e3) { + super._setFacetsFromOptions(e3), e3.isAudioViewModelOptions && c.default.isActualNumber(e3.maxDuration) && this.durationFacets.setMaxDur(e3.maxDuration, e3.maxDurInclusive); } - get size() { - return this.buffer[this.index - 1]; + get isExpressionTypeAudioOptions() { + return true; } - get pos() { - return this.index; + get className() { + return "ExpressionTypeAudioOptions"; } - next() { - this.index -= 4; + get allowBlankAudio() { + return this._allowBlankAudio; } - fork() { - return new h(this.buffer, this.index); + set allowBlankAudio(e3) { + this._allowBlankAudio = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "allowBlankAudio", "value")); + } + get durationFacets() { + return this._durationFacets; + } + set durationFacets(e3) { + this._durationFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isDurationFacets, e3, "DurationFacets", () => l.ParameterInfo.createPropertySet(this.className, "durationFacets", "value")); + } + setAllowBlankAudio(e3) { + return this.allowBlankAudio = e3, this; } } - class m { - constructor(e3, t3, i3) { - this.buffer = e3, this.length = t3, this.set = i3; + t2.ExpressionTypeAudioOptions = d, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], d.prototype, "allowBlankAudio", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "durationFacets", null); + }, 67607(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeBooleanOptions = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(65615), a = i2(55909), s = i2(33951); + class l extends r.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get type() { - return l.none; + constructor(e3) { + super(e3), this._useCustomWarning = false, this._useCheckbox = false, this._useButton = false, this._useToggle = false, (0, o.makeUnenumerable)(this, "_boolText"), (0, o.makeUnenumerable)(this, "_useCustomWarning"), (0, o.makeUnenumerable)(this, "_useCheckbox"); } - toString() { - let e3 = []; - for (let t3 = 0; t3 < this.buffer.length; ) e3.push(this.childString(t3)), t3 = this.buffer[t3 + 3]; - return e3.join(","); + _setFromOptions(e3) { + super._setFromOptions(e3), e3.boolText ? this.setBoolText(e3.boolText.true, e3.boolText.false) : this._boolText = void 0, this._setOptionIfSet(this.setUseCustomWarning, e3.useCustomWarning), this._setOptionIfSet(this.setUseCheckbox, e3.useCheckbox), this._setOptionIfSet(this.setUseButton, e3.useButton), this._setOptionIfSet(this.setUseToggle, e3.useToggle); } - childString(e3) { - let t3 = this.buffer[e3], i3 = this.buffer[e3 + 3], n3 = this.set.types[t3], r3 = n3.name; - if (/\W/.test(r3) && !n3.isError && (r3 = JSON.stringify(r3)), i3 == (e3 += 4)) return r3; - let o2 = []; - for (; e3 < i3; ) o2.push(this.childString(e3)), e3 = this.buffer[e3 + 3]; - return r3 + "(" + o2.join(",") + ")"; + get isExpressionTypeBooleanOptions() { + return true; } - findChild(e3, t3, i3, n3, r3) { - let { buffer: o2 } = this, a2 = -1; - for (let s2 = e3; s2 != t3 && !(g(r3, n3, o2[s2 + 1], o2[s2 + 2]) && (a2 = s2, i3 > 0)); s2 = o2[s2 + 3]) ; - return a2; + get className() { + return "ExpressionTypeBooleanOptions"; } - slice(e3, t3, i3) { - let n3 = this.buffer, r3 = new Uint16Array(t3 - e3), o2 = 0; - for (let a2 = e3, s2 = 0; a2 < t3; ) { - r3[s2++] = n3[a2++], r3[s2++] = n3[a2++] - i3; - let t4 = r3[s2++] = n3[a2++] - i3; - r3[s2++] = n3[a2++] - e3, o2 = Math.max(o2, t4); - } - return new m(r3, o2, this.set); + get boolText() { + return this._boolText; } - } - function g(e3, t3, i3, n3) { - switch (e3) { - case -2: - return i3 < t3; - case -1: - return n3 >= t3 && i3 < t3; - case 0: - return i3 < t3 && n3 > t3; - case 1: - return i3 <= t3 && n3 > t3; - case 2: - return n3 > t3; - case 4: - return true; + set boolText(e3) { + this._boolText = s.ParameterValidator.expectObject(e3, () => a.ParameterInfo.createPropertySet(this.className, "boolText", "value")); + } + get useCustomWarning() { + return this._useCustomWarning; + } + set useCustomWarning(e3) { + this._useCustomWarning = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useCustomWarning", "value")); + } + get useButton() { + return this._useButton; + } + set useButton(e3) { + true === e3 && (this.useCheckbox = true), this._useButton = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useButton", "value")); + } + get useToggle() { + return this._useToggle; + } + set useToggle(e3) { + this._useToggle = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useToggle", "value")); + } + get useCheckbox() { + return this._useCheckbox; + } + set useCheckbox(e3) { + this._useCheckbox = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useCheckbox", "value")); + } + setBoolText(e3, t3) { + const i3 = {}; + return i3.true = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "setBoolText", "trueString")), i3.false = s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setBoolText", "falseString")), this.boolText = i3, this; + } + setUseCustomWarning(e3) { + return this.useCustomWarning = e3, this; + } + setUseCheckbox(e3) { + return this.useCheckbox = e3, this; + } + setUseButton(e3) { + return this.useButton = e3, e3 && (this.useCheckbox = true), this; + } + setUseToggle(e3) { + return this.useToggle = e3, this; } } - function f(e3, i3, n3, r3) { - for (var o2; e3.from == e3.to || (n3 < 1 ? e3.from >= i3 : e3.from > i3) || (n3 > -1 ? e3.to <= i3 : e3.to < i3); ) { - let t3 = !r3 && e3 instanceof y && e3.index < 0 ? null : e3.parent; - if (!t3) return e3; - e3 = t3; + t2.ExpressionTypeBooleanOptions = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "boolText", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "useCustomWarning", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "useCheckbox", null); + }, 21637(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeCardOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - let a2 = r3 ? 0 : t2.IterMode.IgnoreOverlays; - if (r3) for (let t3 = e3, r4 = t3.parent; r4; t3 = r4, r4 = t3.parent) t3 instanceof y && t3.index < 0 && (null === (o2 = r4.enter(i3, n3, a2)) || void 0 === o2 ? void 0 : o2.from) != t3.from && (e3 = r4); - for (; ; ) { - let t3 = e3.enter(i3, n3, a2); - if (!t3) return e3; - e3 = t3; + constructor(e3) { + super(e3); + } + get className() { + return "ExpressionTypeCardOptions"; + } + get isExpressionTypeCardOptions() { + return true; } } - class T { - cursor(e3 = 0) { - return new C(this, e3); + t2.ExpressionTypeCardOptions = o; + }, 28033(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeCarouselOptions = void 0; + const n2 = i2(19507); + class o extends n2.BaseExpressionTypeOptions { + static create(e3) { + return new this().invokeOptionsCallback(e3); } - getChild(e3, t3 = null, i3 = null) { - let n3 = S(this, e3, t3, i3); - return n3.length ? n3[0] : null; + constructor() { + super(); } - getChildren(e3, t3 = null, i3 = null) { - return S(this, e3, t3, i3); + get className() { + return "ExpressionTypeCarouselOptions"; } - resolve(e3, t3 = 0) { - return f(this, e3, t3, false); + get isExpressionTypeCarouselOptions() { + return true; } - resolveInner(e3, t3 = 0) { - return f(this, e3, t3, true); + } + t2.ExpressionTypeCarouselOptions = o; + }, 76978(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeChoiceOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - matchContext(e3) { - return A(this.parent, e3); + constructor(e3) { + super(e3); } - enterUnfinishedNodesBefore(e3) { - let t3 = this.childBefore(e3), i3 = this; - for (; t3; ) { - let e4 = t3.lastChild; - if (!e4 || e4.to != t3.to) break; - e4.type.isError && e4.from == e4.to ? (i3 = t3, t3 = e4.prevSibling) : t3 = e4; - } - return i3; + get className() { + return "ExpressionTypeChoiceOptions"; } - get node() { - return this; + get isExpressionTypeChoiceOptions() { + return true; } - get next() { - return this.parent; + } + t2.ExpressionTypeChoiceOptions = o; + }, 39964(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeChooserOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } + constructor(e3) { + super(e3); + } + get className() { + return "ExpressionTypeChooserOptions"; + } + get isExpressionTypeChooserOptions() { + return true; } } - class y extends T { - constructor(e3, t3, i3, n3) { - super(), this._tree = e3, this.from = t3, this.index = i3, this._parent = n3; + t2.ExpressionTypeChooserOptions = o; + }, 82319(e2, t2, i2) { + "use strict"; + var n2; + t2.ExpressionTypeCommunicationOptions = void 0; + const o = i2(31635), r = o.__importDefault(i2(59046)), a = i2(80295), s = i2(65615), l = i2(55909), u = i2(33951); + class c extends s.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get type() { - return this._tree.type; + constructor(e3) { + super(e3), this._communicationFacets = new r.default(), (0, a.makeUnenumerable)(this, "_communicationFacets"); } - get name() { - return this._tree.type.name; + get isExpressionTypeCommunicationOptions() { + return true; } - get to() { - return this.from + this._tree.length; + get className() { + return "ExpressionTypeCommunicationOptions"; } - nextChild(e3, i3, n3, r3, o2 = 0) { - for (let s2 = this; ; ) { - 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 = 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(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); - } - } - } - if (o2 & t2.IterMode.IncludeAnonymous || !s2.type.isAnonymous) return null; - if (e3 = s2.index >= 0 ? s2.index + i3 : i3 < 0 ? -1 : s2._parent._tree.children.length, s2 = s2._parent, !s2) return null; - } + get facets() { + return this._communicationFacets; } - get firstChild() { - return this.nextChild(0, 1, 0, 4); + set facets(e3) { + this._communicationFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isCommunicationFacets, e3, "CommunicationFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - get lastChild() { - return this.nextChild(this._tree.children.length - 1, -1, 0, 4); + get supportsLiteralMode() { + return this.isCollection; } - childAfter(e3) { - return this.nextChild(0, 1, e3, 2); + setAsInput(e3) { + u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); + const t3 = !(true === e3); + return this._configureInputOutputState(true, false, false, t3); } - childBefore(e3) { - return this.nextChild(this._tree.children.length - 1, -1, e3, -2); + setAsOutput() { + return this._configureInputOutputState(false, false, true, false); } - enter(e3, i3, n3 = 0) { - let r3; - if (!(n3 & t2.IterMode.IgnoreOverlays) && (r3 = a.get(this._tree)) && r3.overlay) { - let t3 = e3 - this.from; - for (let { from: e4, to: n4 } of r3.overlay) if ((i3 > 0 ? e4 <= t3 : e4 < t3) && (i3 < 0 ? n4 >= t3 : n4 > t3)) return new y(r3.tree, r3.overlay[0].from + this.from, -1, this); - } - return this.nextChild(0, 1, e3, i3, n3); + applyDefaultCollectionItemOptions(e3) { + return super.applyDefaultCollectionItemOptions(e3), this.defaultToBuilderId = e3._defaultToBuilderId, this; } - nextSignificantParent() { - let e3 = this; - for (; e3.type.isAnonymous && e3._parent; ) e3 = e3._parent; - return e3; + } + t2.ExpressionTypeCommunicationOptions = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null); + }, 21647(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeComplexOptions = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(65615), s = i2(55909), l = i2(33951), u = n2.__importDefault(i2(65302)); + class c extends a.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get parent() { - return this._parent ? this._parent.nextSignificantParent() : null; + constructor(e3) { + super(e3), (0, r.makeUnenumerable)(this, "_typeIdentifier"), (0, r.makeUnenumerable)(this, "_supportsLiteralMode"); } - get nextSibling() { - return this._parent && this.index >= 0 ? this._parent.nextChild(this.index + 1, 1, 0, 4) : null; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setTypeIdentifier, e3.typeIdentifier, "_typeIdentifier"); } - get prevSibling() { - return this._parent && this.index >= 0 ? this._parent.nextChild(this.index - 1, -1, 0, 4) : null; + get isExpressionTypeComplexOptions() { + return true; } - get tree() { - return this._tree; + get className() { + return "ExpressionTypeComplexOptions"; } - toTree() { - return this._tree; + get supportsLiteralMode() { + const e3 = u.default.getGlobalTypeGroup().getType(this._typeIdentifier); + return e3 && (!this.isCollection || (null == e3 ? void 0 : e3.supportsLiteralEditor)) && this.isInput; } - toString() { - return this._tree.toString(); + get allowModeLiteral() { + const e3 = u.default.getGlobalTypeGroup().getType(this._typeIdentifier); + return !(!e3 || !(null == e3 ? void 0 : e3.allowLiteralSelect)) && this.supportsLiteralMode; } - } - function S(e3, t3, i3, n3) { - let r3 = e3.cursor(), o2 = []; - if (!r3.firstChild()) return o2; - if (null != i3) { - for (let e4 = false; !e4; ) if (e4 = r3.type.is(i3), !r3.nextSibling()) return o2; + setAsInput(e3) { + l.ParameterValidator.expectBool(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); + const t3 = !(true === e3); + return this._configureInputOutputState(true, this.supportsLiteralMode, false, t3); } - for (; ; ) { - if (null != n3 && r3.type.is(n3)) return o2; - if (r3.type.is(t3) && o2.push(r3.node), !r3.nextSibling()) return null == n3 ? o2 : []; + setAsOutput() { + return this._configureInputOutputState(false, false, true, false); } - } - function A(e3, t3, i3 = t3.length - 1) { - for (let n3 = e3; i3 >= 0; n3 = n3.parent) { - if (!n3) return false; - if (!n3.type.isAnonymous) { - if (t3[i3] && t3[i3] != n3.name) return false; - i3--; - } + get typeIdentifier() { + return this._typeIdentifier; } - return true; - } - class N { - constructor(e3, t3, i3, n3) { - this.parent = e3, this.buffer = t3, this.index = i3, this.start = n3; + get isCollection() { + return super.isCollection; } - } - class v extends T { - get name() { - return this.type.name; + set isCollection(e3) { + super.isCollection = e3; } - get from() { - return this.context.start + this.context.buffer.buffer[this.index + 1]; + set typeIdentifier(e3) { + this._typeIdentifier = l.ParameterValidator.expectStringComplexIdentifier(e3, () => s.ParameterInfo.createPropertySet(this.className, "typeIdentifier", "value")); } - get to() { - return this.context.start + this.context.buffer.buffer[this.index + 2]; + setTypeIdentifier(e3) { + return this.typeIdentifier = e3, this; } - constructor(e3, t3, i3) { - super(), this.context = e3, this._parent = t3, this.index = i3, this.type = e3.buffer.set.types[e3.buffer.buffer[i3]]; + } + t2.ExpressionTypeComplexOptions = c, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], c.prototype, "typeIdentifier", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], c.prototype, "isCollection", null); + }, 97930(e2, t2, i2) { + "use strict"; + var n2; + t2.ExpressionTypeCurrencyOptions = void 0; + const o = i2(31635), r = o.__importDefault(i2(68259)), a = i2(80295), s = i2(61870), l = i2(55909), u = i2(33951); + class c extends s.ExpressionTypeDecimalOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - 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 v(this.context, this, r3); + constructor(e3) { + super(e3), this._currencyFacets = new r.default(), this._currencyAmountOnly = false, (0, a.makeUnenumerable)(this, "_currencyFacets"), (0, a.makeUnenumerable)(this, "_currencyAmountOnly"); } - get firstChild() { - return this.child(1, 0, 4); + get facets() { + return this._currencyFacets; } - get lastChild() { - return this.child(-1, 0, 4); + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setCurrencyAmountOnly, e3._currencyAmountOnly); } - childAfter(e3) { - return this.child(1, e3, 2); + get currencyAmountOnly() { + return this._currencyAmountOnly; } - childBefore(e3) { - return this.child(-1, e3, -2); + set currencyAmountOnly(e3) { + this._currencyAmountOnly = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "currencyAmountOnly", "value")); } - 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 v(this.context, this, o2); + setCurrencyAmountOnly(e3) { + return this.currencyAmountOnly = e3, this; } - get parent() { - return this._parent || this.context.parent.nextSignificantParent(); + set facets(e3) { + this._currencyFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isCurrencyFacets, e3, "CurrencyFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - externalSibling(e3) { - return this._parent ? null : this.context.parent.nextChild(this.context.index + e3, e3, 0, 4); + get className() { + return "ExpressionTypeCurrencyOptions"; } - 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 v(this.context, this._parent, t3) : this.externalSibling(1); + get isExpressionTypeCurrencyOptions() { + return true; } - get prevSibling() { - let { buffer: e3 } = this.context, t3 = this._parent ? this._parent.index + 4 : 0; - return this.index == t3 ? this.externalSibling(-1) : new v(this.context, this._parent, e3.findChild(t3, this.index, -1, 0, 4)); + } + t2.ExpressionTypeCurrencyOptions = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], c.prototype, "currencyAmountOnly", null); + }, 15117(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeCustomerIntentOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get tree() { - return null; + constructor(e3) { + super(e3); } - toTree() { - let e3 = [], t3 = [], { buffer: i3 } = this.context, n3 = this.index + 4, r3 = i3.buffer[this.index + 3]; - if (r3 > n3) { - let o2 = i3.buffer[this.index + 1]; - e3.push(i3.slice(n3, r3, o2)), t3.push(0); - } - return new _(this.type, e3, t3, this.to - this.from); + get className() { + return "ExpressionTypeCustomerIntentOptions"; } - toString() { - return this.context.buffer.childString(this.index); + get isExpressionTypeCustomerIntentOptions() { + return true; + } + get supportsLiteralMode() { + return this.isCollection; } } - function O(e3) { - if (!e3.length) return null; - let t3 = 0, i3 = e3[0]; - for (let n4 = 1; n4 < e3.length; n4++) { - let r4 = e3[n4]; - (r4.from > i3.from || r4.to < i3.to) && (i3 = r4, t3 = n4); + t2.ExpressionTypeCustomerIntentOptions = o; + }, 56884(e2, t2, i2) { + "use strict"; + var n2, o; + t2.ExpressionTypeCustomerSegmentOptions = void 0; + const r = i2(31635), a = r.__importDefault(i2(52415)), s = i2(65615), l = i2(80295), u = i2(80295), c = i2(55909), d = i2(33951); + class p extends s.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } + constructor(e3) { + super(e3), this._customerSegmentFacets = new a.default(), (0, u.makeUnenumerable)(this, "_customerSegmentFacets"); + } + get className() { + return "ExpressionTypeCustomerSegmentOptions"; + } + get isExpressionTypeCustomerSegmentOptions() { + return true; + } + get supportsLiteralMode() { + return true; + } + get facets() { + return this._customerSegmentFacets; + } + set facets(e3) { + this._customerSegmentFacets = d.ParameterValidator.expectTrue(e3 && true === e3.isCustomerSegmentFacets, e3, "CustomerSegmentFacets", () => c.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - let n3 = i3 instanceof y && i3.index < 0 ? null : i3.parent, r3 = e3.slice(); - return n3 ? r3[t3] = n3 : r3.splice(t3, 1), new I(r3, i3); } - class I { - constructor(e3, t3) { - this.heads = e3, this.node = t3; + t2.ExpressionTypeCustomerSegmentOptions = p, r.__decorate([(0, l.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== a.default && a.default) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== a.default && a.default) ? o : Object])], p.prototype, "facets", null); + }, 44023(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeDateOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get next() { - return O(this.heads); + constructor(e3) { + super(e3); + } + get isExpressionTypeDateOptions() { + return true; + } + get className() { + return "ExpressionTypeDateOptions"; } } - class C { - get name() { - return this.type.name; + t2.ExpressionTypeDateOptions = o; + }, 64472(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeDateTimeOptions = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(65615), a = i2(55909), s = i2(33951); + class l extends r.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - constructor(e3, t3 = 0) { - if (this.mode = t3, this.buffer = null, this.stack = [], this.index = 0, this.bufferNode = null, e3 instanceof y) this.yieldNode(e3); - else { - this._tree = e3.context.parent, this.buffer = e3.context; - for (let t4 = e3._parent; t4; t4 = t4._parent) this.stack.unshift(t4.index); - this.bufferNode = e3, this.yieldBuf(e3.index); - } + constructor(e3) { + super(e3), this._timeOnly = false, (0, o.makeUnenumerable)(this, "_timeOnly"); } - yieldNode(e3) { - return !!e3 && (this._tree = e3, this.type = e3.type, this.from = e3.from, this.to = e3.to, true); + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setTimeOnly, e3.timeOnly); } - yieldBuf(e3, t3) { - this.index = e3; - let { start: i3, buffer: n3 } = this.buffer; - return this.type = t3 || n3.set.types[n3.buffer[e3]], this.from = i3 + n3.buffer[e3 + 1], this.to = i3 + n3.buffer[e3 + 2], true; + get isExpressionTypeDateTimeOptions() { + return true; } - yield(e3) { - return !!e3 && (e3 instanceof y ? (this.buffer = null, this.yieldNode(e3)) : (this.buffer = e3.context, this.yieldBuf(e3.index, e3.type))); + get className() { + return "ExpressionTypeDateTimeOptions"; } - toString() { - return this.buffer ? this.buffer.buffer.childString(this.index) : this._tree.toString(); + get timeOnly() { + return this._timeOnly; } - enterChild(e3, t3, i3) { - if (!this.buffer) return this.yield(this._tree.nextChild(e3 < 0 ? this._tree._tree.children.length - 1 : 0, e3, t3, i3, this.mode)); - let { buffer: n3 } = this.buffer, r3 = n3.findChild(this.index + 4, n3.buffer[this.index + 3], e3, t3 - this.buffer.start, i3); - return !(r3 < 0) && (this.stack.push(this.index), this.yieldBuf(r3)); + set timeOnly(e3) { + this._timeOnly = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "timeOnly", "value")); } - firstChild() { - return this.enterChild(1, 0, 4); + setTimeOnly(e3) { + return this.timeOnly = e3, this; } - lastChild() { - return this.enterChild(-1, 0, 4); + } + t2.ExpressionTypeDateTimeOptions = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "timeOnly", null); + }, 61870(e2, t2, i2) { + "use strict"; + var n2; + t2.ExpressionTypeDecimalOptions = void 0; + const o = i2(31635), r = o.__importDefault(i2(63005)), a = i2(80295), s = i2(65615), l = i2(55909), u = i2(33951); + class c extends s.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - childAfter(e3) { - return this.enterChild(1, e3, 2); + constructor(e3) { + super(e3), this._decimalFacets = new r.default(), (0, a.makeUnenumerable)(this, "_decimalFacets"); + } + get isExpressionTypeDecimalOptions() { + return true; + } + get className() { + return "ExpressionTypeDecimalOptions"; } - childBefore(e3) { - return this.enterChild(-1, e3, -2); + get facets() { + return this._decimalFacets; } - enter(e3, i3, n3 = this.mode) { - return this.buffer ? !(n3 & t2.IterMode.ExcludeBuffers) && this.enterChild(1, e3, i3) : this.yield(this._tree.enter(e3, i3, n3)); + set facets(e3) { + this._decimalFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isDecimalFacets, e3, "DecimalFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - parent() { - if (!this.buffer) return this.yieldNode(this.mode & t2.IterMode.IncludeAnonymous ? this._tree._parent : this._tree.parent); - if (this.stack.length) return this.yieldBuf(this.stack.pop()); - let e3 = this.mode & t2.IterMode.IncludeAnonymous ? this.buffer.parent : this.buffer.parent.nextSignificantParent(); - return this.buffer = null, this.yieldNode(e3); + _setRestrictionsFromOperandDef(e3) { + 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); } - sibling(e3) { - if (!this.buffer) return !!this._tree._parent && this.yield(this._tree.index < 0 ? null : this._tree._parent.nextChild(this._tree.index + e3, e3, 0, 4, this.mode)); - let { buffer: t3 } = this.buffer, i3 = this.stack.length - 1; - if (e3 < 0) { - let e4 = i3 < 0 ? 0 : this.stack[i3] + 4; - if (this.index != e4) return this.yieldBuf(t3.findChild(e4, this.index, -1, 0, 4)); - } else { - let e4 = t3.buffer[this.index + 3]; - if (e4 < (i3 < 0 ? t3.buffer.length : t3.buffer[this.stack[i3] + 3])) return this.yieldBuf(e4); - } - return i3 < 0 && this.yield(this.buffer.parent.nextChild(this.buffer.index + e3, e3, 0, 4, this.mode)); + } + t2.ExpressionTypeDecimalOptions = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null); + }, 29017(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeDigitalAudioOptions = void 0; + const n2 = i2(31635), o = i2(65615), r = n2.__importDefault(i2(4648)), a = i2(10798); + class s extends o.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - nextSibling() { - return this.sibling(1); + constructor(e3) { + super(e3); } - prevSibling() { - return this.sibling(-1); + get className() { + return "ExpressionTypeDigitalAudioOptions"; } - atLastNode(e3) { - let i3, n3, { buffer: r3 } = this; - if (r3) { - if (e3 > 0) { - if (this.index < r3.buffer.buffer.length) return false; - } else for (let e4 = 0; e4 < this.index; e4++) if (r3.buffer.buffer[e4 + 3] < this.index) return false; - ({ index: i3, parent: n3 } = r3); - } else ({ index: i3, _parent: n3 } = this._tree); - for (; n3; { index: i3, _parent: n3 } = n3) if (i3 > -1) for (let r4 = i3 + e3, o2 = e3 < 0 ? -1 : n3._tree.children.length; r4 != o2; r4 += e3) { - let e4 = n3._tree.children[r4]; - if (this.mode & t2.IterMode.IncludeAnonymous || e4 instanceof m || !e4.type.isAnonymous || b(e4)) return false; - } + get isExpressionTypeDigitalAudioOptions() { return true; } - move(e3, t3) { - if (t3 && this.enterChild(e3, 0, 4)) return true; - for (; ; ) { - if (this.sibling(e3)) return true; - if (this.atLastNode(e3) || !this.parent()) return false; - } + get supportsLiteralMode() { + return (0, a.isFeatureAvailable)(r.default.cannedResponseAttachmentsPostGaFeature); } - next(e3 = true) { - return this.move(1, e3); + } + t2.ExpressionTypeDigitalAudioOptions = s; + }, 29586(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeDivisionOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - prev(e3 = true) { - return this.move(-1, e3); + constructor(e3) { + super(e3); } - moveTo(e3, t3 = 0) { - for (; (this.from == this.to || (t3 < 1 ? this.from >= e3 : this.from > e3) || (t3 > -1 ? this.to <= e3 : this.to < e3)) && this.parent(); ) ; - for (; this.enterChild(1, e3, t3); ) ; - return this; + get className() { + return "ExpressionTypeDivisionOptions"; } - get node() { - if (!this.buffer) return this._tree; - let e3 = this.bufferNode, t3 = null, i3 = 0; - if (e3 && e3.context == this.buffer) e: for (let n3 = this.index, r3 = this.stack.length; r3 >= 0; ) { - for (let o2 = e3; o2; o2 = o2._parent) if (o2.index == n3) { - if (n3 == this.index) return o2; - t3 = o2, i3 = r3 + 1; - break e; - } - n3 = this.stack[--r3]; - } - 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 isExpressionTypeDivisionOptions() { + return true; } - get tree() { - return this.buffer ? null : this._tree._tree; + } + t2.ExpressionTypeDivisionOptions = o; + }, 79467(e2, t2, i2) { + "use strict"; + var n2, o; + t2.ExpressionTypeDurationOptions = void 0; + const r = i2(31635), a = r.__importStar(i2(63824)), s = i2(63824), l = r.__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); } - iterate(e3, t3) { - for (let i3 = 0; ; ) { - let n3 = false; - if (this.type.isAnonymous || false !== e3(this)) { - if (this.firstChild()) { - i3++; - continue; - } - this.type.isAnonymous || (n3 = true); - } - for (; ; ) { - if (n3 && t3 && t3(this), n3 = this.type.isAnonymous, !i3) return; - if (this.nextSibling()) break; - this.parent(), i3--, n3 = true; - } - } + constructor(e3) { + super(e3), this._durationFacets = new l.default(), (0, u.makeUnenumerable)(this, "_durationFacets"), (0, u.makeUnenumerable)(this, "_durationStyle"); } - matchContext(e3) { - if (!this.buffer) return A(this.node.parent, e3); - let { buffer: t3 } = this.buffer, { types: i3 } = t3.set; - for (let n3 = e3.length - 1, r3 = this.stack.length - 1; n3 >= 0; r3--) { - if (r3 < 0) return A(this._tree, e3, n3); - let o2 = i3[t3.buffer[this.stack[r3]]]; - if (!o2.isAnonymous) { - if (e3[n3] && e3[n3] != o2.name) return false; - n3--; - } - } + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setDurationStyle, e3.durationStyle, "_durationStyle"); + } + get isExpressionTypeDurationOptions() { return true; } - } - function b(e3) { - return e3.children.some((e4) => e4 instanceof m || !e4.type.isAnonymous || b(e4)); - } - const E = /* @__PURE__ */ new WeakMap(); - function w(e3, t3) { - if (!e3.isAnonymous || t3 instanceof m || t3.type != e3) return 1; - let i3 = E.get(t3); - if (null == i3) { - i3 = 1; - for (let n3 of t3.children) { - if (n3.type != e3 || !(n3 instanceof _)) { - i3 = 1; - break; - } - i3 += w(e3, n3); - } - E.set(t3, i3); + get className() { + return "ExpressionTypeDurationOptions"; } - return i3; - } - function R(e3, t3, i3, n3, r3, o2, a2, s2, l2) { - let u2 = 0; - 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 = w(e3, i4[u3]); - for (u3++; u3 < a3; u3++) { - let t5 = w(e3, i4[u3]); - if (h2 + t5 >= c2) break; - h2 += t5; - } - if (u3 == r5 + 1) { - if (h2 > c2) { - let e4 = i4[r5]; - t4(e4.children, e4.positions, 0, e4.children.length, n4[r5] + s3); - continue; - } - d2.push(i4[r5]); - } else { - let t5 = n4[u3 - 1] + i4[u3 - 1].length - _2; - d2.push(R(e3, i4, n4, r5, u3, _2, t5, null, l2)); - } - p2.push(_2 + s3 - o2); - } - })(t3, i3, n3, r3, 0), (s2 || l2)(d2, p2, a2); - } - class D { - constructor(e3, t3, i3, n3, r3 = false, o2 = false) { - this.from = e3, this.to = t3, this.tree = i3, this.offset = n3, this.open = (r3 ? 1 : 0) | (o2 ? 2 : 0); + get facets() { + return this._durationFacets; } - get openStart() { - return (1 & this.open) > 0; + set facets(e3) { + this._durationFacets = p.ParameterValidator.expectTrue(e3 && true === e3.isDurationFacets, e3, "DurationFacets", () => d.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - get openEnd() { - return (2 & this.open) > 0; + _getDefaultTextForDisplay() { + return this.defaultText && !this.defaultToExpression ? a.getSearchStringFromLiteral(this.defaultText) : this.defaultText; } - static addTree(e3, t3 = [], i3 = false) { - let n3 = [new D(0, e3.length, e3, 0, false, i3)]; - for (let i4 of t3) i4.to > e3.length && n3.push(i4); - return n3; + get min() { + return this.facets.minVal / 1e3; } - static applyChanges(e3, t3, i3 = 128) { - 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, c2 = u2 ? u2.fromA : 1e9; - if (c2 - s2 >= i3) for (; o2 && o2.from < c2; ) { - let t4 = o2; - 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 > c2) break; - o2 = r3 < e3.length ? e3[r3++] : null; - } - if (!u2) break; - s2 = u2.toA, l2 = u2.toA - u2.toB; - } - return n3; + get max() { + return this.facets.maxVal / 1e3; } - } - class P { - constructor(e3) { - this.string = e3; + get durationStyle() { + return this._durationStyle; } - get length() { - return this.string.length; + set durationStyle(e3) { + this._durationStyle = p.ParameterValidator.expectObject(e3, () => d.ParameterInfo.createPropertySet(this.className, "durationStyle", "value")); } - chunk(e3) { - return this.string.slice(e3); + setDurationStyle(e3) { + return this.durationStyle = e3, this; } - get lineChunks() { - return false; + } + t2.ExpressionTypeDurationOptions = _, r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), r.__metadata("design:paramtypes", [Object])], _.prototype, "facets", null), r.__decorate([(0, u.enumerable)(true), r.__metadata("design:type", "function" == typeof (o = void 0 !== s.IDurationStyle && s.IDurationStyle) ? o : Object), r.__metadata("design:paramtypes", [Object])], _.prototype, "durationStyle", null); + }, 68039(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeEmergencyGroupOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - read(e3, t3) { - return this.string.slice(e3, t3); + constructor(e3) { + super(e3); } - } - class M { - constructor(e3, t3, i3, n3, r3) { - this.parser = e3, this.parse = t3, this.overlay = i3, this.target = n3, this.from = r3; + get className() { + return "ExpressionTypeEmergencyGroupOptions"; } - } - function F(e3) { - if (!e3.length || e3.some((e4) => e4.from >= e4.to)) throw new RangeError("Invalid inner parse ranges given: " + JSON.stringify(e3)); - } - class L { - constructor(e3, t3, i3, n3, r3, o2, a2) { - this.parser = e3, this.predicate = t3, this.mounts = i3, this.index = n3, this.start = r3, this.target = o2, this.prev = a2, this.depth = 0, this.ranges = []; + get isExpressionTypeEmergencyGroupOptions() { + return true; } } - const x = new o({ perNode: true }); - class k { - constructor(e3, t3, i3, n3, r3) { - this.nest = t3, this.input = i3, this.fragments = n3, this.ranges = r3, this.inner = [], this.innerDone = 0, this.baseTree = null, this.stoppedAt = null, this.baseParse = e3; + t2.ExpressionTypeEmergencyGroupOptions = o; + }, 4285(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeFileOptions = void 0; + const n2 = i2(31635), o = i2(65615), r = n2.__importDefault(i2(4648)), a = i2(10798); + class s extends o.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - advance() { - if (this.baseParse) { - let e4 = this.baseParse.advance(); - if (!e4) return null; - if (this.baseParse = null, this.baseTree = e4, this.startInner(), null != this.stoppedAt) for (let e5 of this.inner) e5.parse.stopAt(this.stoppedAt); - } - if (this.innerDone == this.inner.length) { - let e4 = this.baseTree; - return null != this.stoppedAt && (e4 = new _(e4.type, e4.children, e4.positions, e4.length, e4.propValues.concat([[x, this.stoppedAt]]))), e4; - } - let e3 = this.inner[this.innerDone], t3 = e3.parse.advance(); - if (t3) { - this.innerDone++; - let i3 = Object.assign(/* @__PURE__ */ Object.create(null), e3.target.props); - i3[o.mounted.id] = new a(t3, e3.overlay, e3.parser), e3.target.props = i3; - } - return null; + constructor(e3) { + super(e3); } - get parsedPos() { - if (this.baseParse) return 0; - let e3 = this.input.length; - for (let t3 = this.innerDone; t3 < this.inner.length; t3++) this.inner[t3].from < e3 && (e3 = Math.min(e3, this.inner[t3].parse.parsedPos)); - return e3; + get className() { + return "ExpressionTypeFileOptions"; } - stopAt(e3) { - if (this.stoppedAt = e3, this.baseParse) this.baseParse.stopAt(e3); - else for (let t3 = this.innerDone; t3 < this.inner.length; t3++) this.inner[t3].parse.stopAt(e3); + get isExpressionTypeFileOptions() { + return true; } - startInner() { - let e3 = new j(this.fragments), i3 = null, n3 = null, o2 = new C(new y(this.baseTree, this.ranges[0].from, 0, null), t2.IterMode.IncludeAnonymous | t2.IterMode.IgnoreMounts); - e: for (let t3, a2; ; ) { - let s2, l2 = true; - if (null != this.stoppedAt && o2.from >= this.stoppedAt) l2 = false; - else if (e3.hasNode(o2)) { - if (i3) { - let e4 = i3.mounts.find((e5) => e5.frag.from <= o2.from && e5.frag.to >= o2.to && e5.mount.overlay); - if (e4) for (let t4 of e4.mount.overlay) { - let n4 = t4.from + e4.pos, r3 = t4.to + e4.pos; - n4 >= o2.from && r3 <= o2.to && !i3.ranges.some((e5) => e5.from < r3 && e5.to > n4) && i3.ranges.push({ from: n4, to: r3 }); - } - } - l2 = false; - } else if (n3 && (a2 = V(n3.ranges, o2.from, o2.to))) l2 = 2 != a2; - else if (!o2.type.isAnonymous && (t3 = this.nest(o2, this.input)) && (o2.from < o2.to || !t3.overlay)) { - o2.tree || B(o2); - let a3 = e3.findMounts(o2.from, t3.parser); - if ("function" == typeof t3.overlay) i3 = new L(t3.parser, t3.overlay, a3, this.inner.length, o2.from, o2.tree, i3); - else { - let e4 = W(this.ranges, t3.overlay || (o2.from < o2.to ? [new r2(o2.from, o2.to)] : [])); - e4.length && F(e4), !e4.length && t3.overlay || this.inner.push(new M(t3.parser, e4.length ? t3.parser.startParse(this.input, Y(a3, e4), e4) : t3.parser.startParse(""), t3.overlay ? t3.overlay.map((e5) => new r2(e5.from - o2.from, e5.to - o2.from)) : null, o2.tree, e4.length ? e4[0].from : o2.from)), t3.overlay ? e4.length && (n3 = { ranges: e4, depth: 0, prev: n3 }) : l2 = false; - } - } else if (i3 && (s2 = i3.predicate(o2)) && (true === s2 && (s2 = new r2(o2.from, o2.to)), s2.from < s2.to)) { - let e4 = i3.ranges.length - 1; - e4 >= 0 && i3.ranges[e4].to == s2.from ? i3.ranges[e4] = { from: i3.ranges[e4].from, to: s2.to } : i3.ranges.push(s2); - } - if (l2 && o2.firstChild()) i3 && i3.depth++, n3 && n3.depth++; - else for (; !o2.nextSibling(); ) { - if (!o2.parent()) break e; - if (i3 && !--i3.depth) { - let e4 = W(this.ranges, i3.ranges); - e4.length && (F(e4), this.inner.splice(i3.index, 0, new M(i3.parser, i3.parser.startParse(this.input, Y(i3.mounts, e4), e4), i3.ranges.map((e5) => new r2(e5.from - i3.start, e5.to - i3.start)), i3.target, e4[0].from))), i3 = i3.prev; - } - n3 && !--n3.depth && (n3 = n3.prev); - } - } + get supportsLiteralMode() { + return (0, a.isFeatureAvailable)(r.default.cannedResponseAttachmentsPostGaFeature); } } - function V(e3, t3, i3) { - for (let n3 of e3) { - if (n3.from >= i3) break; - if (n3.to > t3) return n3.from <= t3 && n3.to >= i3 ? 2 : 1; + t2.ExpressionTypeFileOptions = s; + }, 75849(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeFormInputOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - return 0; - } - function U(e3, t3, i3, n3, r3, o2) { - if (t3 < i3) { - let a2 = e3.buffer[t3 + 1]; - n3.push(e3.slice(t3, i3, a2)), r3.push(a2 - o2); + constructor(e3) { + super(e3); } - } - function B(e3) { - let { node: t3 } = e3, i3 = [], n3 = t3.context.buffer; - do { - 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, 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 = 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]; - e3.yield(new y(i4, n4 + e3.from, t4, e3._tree)); + get className() { + return "ExpressionTypeFormInputOptions"; + } + get isExpressionTypeFormInputOptions() { + return true; } } - class G { - constructor(e3, i3) { - this.offset = i3, this.done = false, this.cursor = e3.cursor(t2.IterMode.IncludeAnonymous | t2.IterMode.IgnoreMounts); + t2.ExpressionTypeFormInputOptions = o; + }, 43700(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeGrammarOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - moveTo(e3) { - let { cursor: i3 } = this, n3 = e3 - this.offset; - for (; !this.done && i3.from < n3; ) i3.to >= e3 && i3.enter(n3, 1, t2.IterMode.IgnoreOverlays | t2.IterMode.ExcludeBuffers) || i3.next(false) || (this.done = true); + constructor(e3) { + super(e3); } - hasNode(e3) { - if (this.moveTo(e3.from), !this.done && this.cursor.from + this.offset == e3.from && this.cursor.tree) for (let t3 = this.cursor.tree; ; ) { - if (t3 == e3.tree) return true; - if (!(t3.children.length && 0 == t3.positions[0] && t3.children[0] instanceof _)) break; - t3 = t3.children[0]; - } - return false; + get className() { + return "ExpressionTypeGrammarOptions"; + } + get isExpressionTypeGrammarOptions() { + return true; } } - class j { - constructor(e3) { - var t3; - if (this.fragments = e3, this.curTo = 0, this.fragI = 0, e3.length) { - let i3 = this.curFrag = e3[0]; - this.curTo = null !== (t3 = i3.tree.prop(x)) && void 0 !== t3 ? t3 : i3.to, this.inner = new G(i3.tree, -i3.offset); - } else this.curFrag = this.inner = null; + t2.ExpressionTypeGrammarOptions = o; + }, 60186(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeGroupOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - hasNode(e3) { - for (; this.curFrag && e3.from >= this.curTo; ) this.nextFrag(); - return this.curFrag && this.curFrag.from <= e3.from && this.curTo >= e3.to && this.inner.hasNode(e3); + constructor(e3) { + super(e3); } - nextFrag() { - var e3; - if (this.fragI++, this.fragI == this.fragments.length) this.curFrag = this.inner = null; - else { - let t3 = this.curFrag = this.fragments[this.fragI]; - this.curTo = null !== (e3 = t3.tree.prop(x)) && void 0 !== e3 ? e3 : t3.to, this.inner = new G(t3.tree, -t3.offset); - } + get className() { + return "ExpressionTypeGroupOptions"; } - findMounts(e3, t3) { - var i3; - let n3 = []; - if (this.inner) { - this.inner.cursor.moveTo(e3, 1); - for (let e4 = this.inner.cursor.node; e4; e4 = e4.parent) { - let r3 = null === (i3 = e4.tree) || void 0 === i3 ? void 0 : i3.prop(o.mounted); - if (r3 && r3.parser == t3) for (let t4 = this.fragI; t4 < this.fragments.length; t4++) { - let i4 = this.fragments[t4]; - if (i4.from >= e4.to) break; - i4.tree == this.curFrag.tree && n3.push({ frag: i4, pos: e4.from - i4.offset, mount: r3 }); - } - } - } - return n3; + get isExpressionTypeGroupOptions() { + return true; } } - function W(e3, t3) { - let i3 = null, n3 = t3; - for (let o2 = 1, a2 = 0; o2 < e3.length; o2++) { - let s2 = e3[o2 - 1].to, l2 = e3[o2].from; - for (; a2 < n3.length; a2++) { - let e4 = n3[a2]; - if (e4.from >= l2) break; - e4.to <= s2 || (i3 || (n3 = i3 = t3.slice()), e4.from < s2 ? (i3[a2] = new r2(e4.from, s2), e4.to > l2 && i3.splice(a2 + 1, 0, new r2(l2, e4.to))) : e4.to > l2 ? i3[a2--] = new r2(l2, e4.to) : i3.splice(a2--, 1)); - } + t2.ExpressionTypeGroupOptions = o; + }, 64720(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeImageOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - return n3; - } - function q(e3, t3, i3, n3) { - let o2 = 0, a2 = 0, s2 = false, l2 = false, u2 = -1e9, c2 = []; - for (; ; ) { - 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(d2, p2, n3); - e4 < t4 && c2.push(new r2(e4, t4)); - } - 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); + constructor(e3) { + super(e3); } - return c2; - } - function Y(e3, t3) { - let i3 = []; - for (let { pos: n3, mount: o2, frag: a2 } of e3) { - let e4 = n3 + (o2.overlay ? o2.overlay[0].from : 0), s2 = e4 + o2.tree.length, l2 = Math.max(a2.from, e4), u2 = Math.min(a2.to, s2); - if (o2.overlay) { - let s3 = q(t3, o2.overlay.map((e5) => new r2(e5.from + n3, e5.to + n3)), l2, u2); - for (let t4 = 0, n4 = l2; ; t4++) { - let r3 = t4 == s3.length, l3 = r3 ? u2 : s3[t4].from; - if (l3 > n4 && i3.push(new D(n4, l3, o2.tree, -e4, a2.from >= n4 || a2.openStart, a2.to <= l3 || a2.openEnd)), r3) break; - n4 = s3[t4].to; - } - } else i3.push(new D(l2, u2, o2.tree, -e4, a2.from >= e4 || a2.openStart, a2.to <= s2 || a2.openEnd)); + get className() { + return "ExpressionTypeImageOptions"; + } + get isExpressionTypeImageOptions() { + return true; } - return i3; } - t2.DefaultBufferLength = i2, t2.MountedTree = a, t2.NodeProp = o, t2.NodeSet = u, t2.NodeType = l, t2.NodeWeakMap = class { - constructor() { - this.map = /* @__PURE__ */ new WeakMap(); + t2.ExpressionTypeImageOptions = o; + }, 78513(e2, t2, i2) { + "use strict"; + var n2; + t2.ExpressionTypeIntegerOptions = void 0; + const o = i2(31635), r = o.__importDefault(i2(15508)), a = i2(80295), s = i2(65615), l = i2(55909), u = i2(33951); + class c extends s.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - setBuffer(e3, t3, i3) { - let n3 = this.map.get(e3); - n3 || this.map.set(e3, n3 = /* @__PURE__ */ new Map()), n3.set(t3, i3); + constructor(e3) { + super(e3), this._integerFacets = new r.default(), (0, a.makeUnenumerable)(this, "_integerFacets"), (0, a.makeUnenumerable)(this, "_useStar"); } - getBuffer(e3, t3) { - let i3 = this.map.get(e3); - return i3 && i3.get(t3); + _setFromOptions(e3) { + super._setFromOptions(e3); } - set(e3, t3) { - e3 instanceof v ? this.setBuffer(e3.context.buffer, e3.index, t3) : e3 instanceof y && this.map.set(e3.tree, t3); + get isExpressionTypeIntegerOptions() { + return true; } - get(e3) { - return e3 instanceof v ? this.getBuffer(e3.context.buffer, e3.index) : e3 instanceof y ? this.map.get(e3.tree) : void 0; + get className() { + return "ExpressionTypeIntegerOptions"; } - cursorSet(e3, t3) { - e3.buffer ? this.setBuffer(e3.buffer.buffer, e3.index, t3) : this.map.set(e3.tree, t3); + get facets() { + return this._integerFacets; } - cursorGet(e3) { - return e3.buffer ? this.getBuffer(e3.buffer.buffer, e3.index) : this.map.get(e3.tree); + set facets(e3) { + this._integerFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isIntegerFacets, e3, "IntegerFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - }, t2.Parser = class { - startParse(e3, t3, i3) { - return "string" == typeof e3 && (e3 = new P(e3)), i3 = i3 ? i3.length ? i3.map((e4) => new r2(e4.from, e4.to)) : [new r2(0, 0)] : [new r2(0, e3.length)], this.createParse(e3, t3 || [], i3); + get min() { + return this.facets.minVal; } - parse(e3, t3, i3) { - let n3 = this.startParse(e3, t3, i3); - for (; ; ) { - let e4 = n3.advance(); - if (e4) return e4; - } + get max() { + return this.facets.maxVal; + } + _setRestrictionsFromOperandDef(e3) { + 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.Tree = _, t2.TreeBuffer = m, t2.TreeCursor = C, t2.TreeFragment = D, t2.parseMixed = function(e3) { - return (t3, i3, n3, r3) => new k(t3, e3, i3, n3, r3); - }; - }, 52706: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(90807); - function o() { - Object.defineProperties(this, { _value: { writable: true } }), this.name = void 0, this.referenceId = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "DataPairCollectionModel"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - for (let t3 = 0; t3 < this.value.length; t3++) this.value[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - for (let t3 = 0; t3 < this.value.length; t3++) this.value[t3].pasteResolveOldToNewValues(e3); - this.referenceId = e3.pasteResolveOldIdToNewId(this.referenceId); - } }, isDataPairCollectionModel: { value: true }, value: { enumerable: true, get: function() { - return this._value; - }, set: function(e3) { - this._value = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 52722: (e2, t2, i2) => { - function n2() { - this.name = void 0, this.id = void 0, this.description = void 0, n2.baseConstructor.apply(this, arguments); } - i2(45214).extend(n2, "NameIdModel"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 52800: (e2, t2, i2) => { + t2.ExpressionTypeIntegerOptions = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null); + }, 21305(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(69675), s = i2(47957); - class l { - constructor() { - Object.defineProperties(this, { _builderViewModel: { writable: true, enumerable: false }, _builderPartViewModel: { writable: true, enumerable: false }, _builderPartContainerViewModel: { writable: true, enumerable: false }, _isContainerRelated: { value: false, writable: true, enumerable: false }, _isBuilderPartDefRelated: { value: false, writable: true, enumerable: false }, _message: { writable: true, enumerable: false }, _type: { value: a.none, writable: true, enumerable: false } }); + t2.ExpressionTypeJsonOptions = t2.NULL_PROPERTY_VALUE_NO_OP_WARNING_ENABLED = void 0; + const n2 = i2(31635), o = i2(65615), r = 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 o.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - static createForBuilder(e3, t3, i3, n3) { - return new l().setType(e3).setMessage(t3).setBuilder(i3).setIsContainerRelated(n3); + constructor(e3) { + 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"); } - static createForBuilderPart(e3, t3, i3, n3, r3, o2, a2) { - return new l().setType(e3).setMessage(t3).setBuilder(i3).setBuilderPartContainer(r3).setBuilderPart(o2).setIsContainerRelated(n3).setIsBuilderPartDefRelated(a2); + _setFromOptions(e3) { + 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"); } - static createForBuilderPartContainer(e3, t3, i3, n3, r3) { - return new l().setType(e3).setMessage(t3).setBuilder(i3).setBuilderPartContainer(r3).setIsContainerRelated(n3); + get isExpressionTypeJsonOptions() { + return true; } - hasId(e3) { - return !(!o.default.isString(e3) || 0 === e3.length || this.builderId !== e3 && this.builderContainerPartId !== e3 && this.builderPartId !== e3); + get className() { + return "ExpressionTypeJsonOptions"; } - get builderViewModel() { - return this._builderViewModel; + get isJson() { + return true; } - get builderId() { - return this._builderViewModel ? this._builderViewModel.id : void 0; + get typeIdentifier() { + return this._typeIdentifier; + } + set typeIdentifier(e3) { + this.isCustomJsonType ? this._typeIdentifier = u.ParameterValidator.expectCustomJsonIdentifier(e3, () => l.ParameterInfo.createPropertySet(this.className, "typeIdentifier", "value")) : this._typeIdentifier = u.ParameterValidator.expectStringComplexIdentifier(e3, () => l.ParameterInfo.createPropertySet(this.className, "typeIdentifier", "value")); + } + setTypeIdentifier(e3) { + return this.typeIdentifier = e3, this; + } + get isCustomJsonType() { + return this._isCustomJsonType; + } + setIsCustomJsonType(e3) { + return this._isCustomJsonType = e3, this; } - get builderDefId() { - return this._builderViewModel ? this._builderViewModel.builderDefId : void 0; + get requireObjectLiteral() { + return this._requireObjectLiteral; } - get builderContainerPartId() { - return this._builderPartContainerViewModel ? this._builderPartContainerViewModel.id : void 0; + set requireObjectLiteral(e3) { + this._requireObjectLiteral = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "requireObjectLiteral", "value")); } - get builderContainerPartDefId() { - return this._builderPartContainerViewModel ? this._builderPartContainerViewModel.builderPartDefId : void 0; + setRequireObjectLiteral(e3) { + return this.requireObjectLiteral = e3, this; } - get builderPartContainerViewModel() { - return this._builderPartContainerViewModel; + get nullPropertyValueNoOpWarningText() { + return this._nullPropertyValueNoOpWarningText; } - get className() { - return "BuilderObjectValidationResult"; + set nullPropertyValueNoOpWarningText(e3) { + this._nullPropertyValueNoOpWarningText = u.ParameterValidator.expectString(e3, () => l.ParameterInfo.createPropertySet(this.className, "nullPropertyValueNoOpWarningText", "value")); } - get isBuilderObjectValidationResult() { - return true; + setNullPropertyValueNoOpWarningText(e3) { + return this.nullPropertyValueNoOpWarningText = e3, this; } - get builderPartIndex() { - return this._builderPartViewModel ? this._builderPartContainerViewModel && this._builderPartContainerViewModel.builderParts ? this._builderPartContainerViewModel.builderPartsManager.getIndexForPart(this.builderPartId) : this._builderViewModel && this._builderViewModel.builderParts ? this._builderViewModel.builderPartsManager.getIndexForPart(this.builderPartId) : -1 : -1; + get atLeastOnePropertyMustBeSetErrorText() { + return this._atLeastOnePropertyMustBeSetErrorText; } - get builderPartDisplayIndex() { - const e3 = this.builderPartIndex; - return -1 === e3 ? -1 : e3 + 1; + set atLeastOnePropertyMustBeSetErrorText(e3) { + this._atLeastOnePropertyMustBeSetErrorText = u.ParameterValidator.expectString(e3, () => l.ParameterInfo.createPropertySet(this.className, "atLeastOnePropertyMustBeSetErrorText", "value")); } - get builderPartId() { - return this._builderPartViewModel ? this._builderPartViewModel.id : void 0; + setAtLeastOnePropertyMustBeSetErrorText(e3) { + return this.atLeastOnePropertyMustBeSetErrorText = e3, this; } - get builderPartDefId() { - return this._builderPartViewModel ? this._builderPartViewModel.defId : void 0; + get issueInfoTypes() { + var e3, t3, i3, n3; + if (this.typeIdentifier === a.expressionTypeNames.skillExpressionFilter) { + const o2 = 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 == o2 ? void 0 : o2.issueInfoTypes) && void 0 !== n3 ? n3 : []; + } + return []; } - get builderPartViewModel() { - return this._builderPartViewModel; + get supportsLiteralMode() { + if (this.isCustomJsonType) { + if (void 0 === this._customJsonTypeSupportsLiteralMode) { + const e3 = c.default.getGlobalTypeGroup().getType(this.typeIdentifier, false); + this._customJsonTypeSupportsLiteralMode = !e3 || !e3.hasPropertiesAndAllAreReadOnly; + } + return this._customJsonTypeSupportsLiteralMode; + } + return super.supportsLiteralMode; } - get message() { - return this._message; + applyDefaultCollectionItemOptions(e3) { + return super.applyDefaultCollectionItemOptions(e3), e3.isCustomJsonType && this.setAllowEmbeddedExpressionsInLiteralMode(e3.allowEmbeddedExpressionsInLiteralMode), this._setOptionIfSet(this.setRequireObjectLiteral, e3.requireObjectLiteral, "_requireObjectLiteral"), this; } - get messageFull() { - const e3 = this._builderPartContainerViewModel ? this._builderPartContainerViewModel.containerDisplayString : void 0, t3 = this.builderPartDisplayIndex; - return o.default.isString(e3) && e3.length ? t3 > -1 ? (0, r2.sprintf)(s.builders.validationMessage.withContainerAndIndex, e3, t3, this.message) : (0, r2.sprintf)(s.builders.validationMessage.withContainer, e3, this.message) : t3 > -1 ? (0, r2.sprintf)(s.builders.validationMessage.withIndex, t3, this.message) : this.message; + } + t2.ExpressionTypeJsonOptions = p, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], p.prototype, "isJson", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], p.prototype, "typeIdentifier", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], p.prototype, "requireObjectLiteral", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [])], p.prototype, "issueInfoTypes", null); + }, 20083(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeKnowledgeBaseDocumentOptions = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(71056), a = i2(55909), s = i2(33951); + class l extends r.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get type() { - return this._type; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setKnowledgeBaseIdCallback, e3._knowledgeBaseIdCallback); } - get isContainerRelated() { - return this._isContainerRelated; + constructor(e3) { + super(e3), this._knowledgeBaseIdCallback = (e4) => { + var t3; + return { knowledgeId: null === (t3 = e4.parentFlow.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeBaseId }; + }, (0, o.makeUnenumerable)(this, "_knowledgeBaseIdCallback"); } - get isBuilderPartDefRelated() { - return this._isBuilderPartDefRelated; + get className() { + return "ExpressionTypeKnowledgeBaseDocumentOptions"; } - get guxAccent() { - return this.isError ? "error" : this.isWarning ? "warning" : this.isInfo ? "info" : void 0; + get isExpressionTypeKnowledgeBaseDocumentOptions() { + return true; } - get isError() { - return this._type === a.error; + get knowledgeBaseIdCallback() { + return this._knowledgeBaseIdCallback; } - get isInfo() { - return this._type === a.info; + set knowledgeBaseIdCallback(e3) { + this._knowledgeBaseIdCallback = s.ParameterValidator.expectFunction(e3, () => a.ParameterInfo.createPropertySet(this.className, "knowledgeBaseIdCallback", "value")); } - get isWarning() { - return this._type === a.warning; + setKnowledgeBaseIdCallback(e3) { + return this.knowledgeBaseIdCallback = e3, this; } - getIsRollupForBuilderObject(e3) { - if (o.default.isString(e3)) { - if (this.builderId === e3) return o.default.isString(this.builderContainerPartId) || o.default.isString(this.builderPartId); - if (this.builderContainerPartId === e3) return o.default.isString(this.builderPartId); + getDependencyTrackingId(e3) { + if (this.knowledgeBaseIdCallback) { + const t3 = this.knowledgeBaseIdCallback(e3); + if ((null == t3 ? void 0 : t3.knowledgeId) && e3.val) return `${t3.knowledgeId}/${e3.val}`; } - return false; + return super.getDependencyTrackingId(e3); } - getIsPartInContainerPart(e3) { - return this.builderContainerPartId === e3 && this.builderPartId; + } + t2.ExpressionTypeKnowledgeBaseDocumentOptions = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Function), n2.__metadata("design:paramtypes", [Object])], l.prototype, "knowledgeBaseIdCallback", null); + }, 17466(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeLanguageSkillOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - getIsPartOrContainerPartResult() { - return this.builderPartId || this.builderContainerPartId; + constructor(e3) { + super(e3); } - setBuilder(e3) { - return this._builderViewModel = e3, this; + get className() { + return "ExpressionTypeLanguageSkillOptions"; } - setIsContainerRelated(e3) { - return this._isContainerRelated = !!e3, this; + get isExpressionLanguageSkillOptions() { + return true; } - setIsBuilderPartDefRelated(e3) { - return this._isBuilderPartDefRelated = !!e3, this; + } + t2.ExpressionTypeLanguageSkillOptions = o; + }, 70812(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeLineItemOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - setBuilderPart(e3) { - return this._builderPartViewModel = e3, this; + constructor(e3) { + super(e3); } - setBuilderPartContainer(e3) { - return this._builderPartContainerViewModel = e3, this; + get isExpressionTypeLineItemsOptions() { + return true; } - setMessage(e3) { - return this._message = e3, this; + get className() { + return "ExpressionTypeLineItemOptions"; } - setType(e3) { - return this._type = e3, this; + } + t2.ExpressionTypeLineItemOptions = o; + }, 36444(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeListPickerItemOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - _reset() { - this._builderViewModel = void 0, this._builderPartViewModel = void 0, this._builderPartContainerViewModel = void 0, this._message = void 0, this._type = a.none; + constructor(e3) { + super(e3); } - destroy() { - this._reset(); + get className() { + return "ExpressionTypeListPickerItemOptions"; + } + get isExpressionTypeListPickerItemOptions() { + return true; } } - t2.default = l; - }, 52816: (e2, t2, i2) => { + t2.ExpressionTypeListPickerItemOptions = o; + }, 17785(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importStar(i2(5587)), a = i2(43212), s = i2(47957); - class l extends a.BaseConfigurationListViewModel { + t2.ExpressionTypeListPickerOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } constructor(e3) { super(e3); } get className() { - return "KnowledgeBaseViewModel"; + return "ExpressionTypeListPickerOptions"; } - get getConfiguration() { - return this.model; + get isExpressionTypeListPickerOptions() { + return true; } - get knowledgeBaseId() { - return this.model.id; + } + t2.ExpressionTypeListPickerOptions = o; + }, 2584(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeListPickerSectionOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get id() { - return this.model.id; + constructor(e3) { + super(e3); } - get label() { - return this.model.name; + get className() { + return "ExpressionTypeListPickerSectionOptions"; } - get knowledgeBaseName() { - return this.model.name; + get isExpressionTypeListPickerSectionOptions() { + return true; } - get name() { - return this.model.name; + } + t2.ExpressionTypeListPickerSectionOptions = o; + }, 71056(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeNetworkObjectOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get faqCount() { - return this.model.faqCount; + constructor(e3) { + super(e3); } - get description() { - return this.model.dateDocumentLastModified ? (0, r2.sprintf)(s.knowledgeSettings.knowledgeBaseItemDescription, o.dateTimeToDisplay(this.model.dateDocumentLastModified)) : (0, r2.sprintf)(s.knowledgeSettings.knowledgeBaseItemCreatedDescription, o.dateTimeToDisplay(this.model.dateCreated)); + get className() { + return "ExpressionTypeNetworkObjectOptions"; } - get detailDescription() { - return this.model.description ? this.model.description : s.knowledgeSettings.knowledgeNoDescription; + get isExpressionTypeNetworkObjectOptions() { + return true; } - get coreLanguage() { - return this.model.coreLanguage; + } + t2.ExpressionTypeNetworkObjectOptions = o; + }, 48112(e2, t2, i2) { + "use strict"; + t2.ExpressionTypePhoneNumberOptions = void 0; + const n2 = i2(65615), o = i2(80295); + class r extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get dateCreated() { - return this.model.dateCreated; + constructor(e3) { + super(e3), this._literalUsesSmsPhoneNumberDropdown = false, (0, o.makeUnenumerable)(this, "_literalUsesSmsPhoneNumberDropdown"); } - get dateModified() { - return this.model.dateModified; + get className() { + return "ExpressionTypePhoneNumberOptions"; } - get dateDocumentLastModified() { - return this.model.dateDocumentLastModified; + get isExpressionTypePhoneNumberOptions() { + return true; } - get articleCount() { - return this.model.articleCount; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setLiteralUsesSmsPhoneNumberDropdown, e3.literalUsesSmsPhoneNumberDropdown, "_literalUsesSmsPhoneNumberDropdown"); } - get contentSearchEnabled() { - return this.model.contentSearchEnabled; + get literalUsesSmsPhoneNumberDropdown() { + return this._literalUsesSmsPhoneNumberDropdown; + } + set literalUsesSmsPhoneNumberDropdown(e3) { + this._literalUsesSmsPhoneNumberDropdown = e3; + } + setLiteralUsesSmsPhoneNumberDropdown(e3) { + return this._literalUsesSmsPhoneNumberDropdown = e3, this; } } - t2.default = l; - }, 52828: (e2, t2, i2) => { + t2.ExpressionTypePhoneNumberOptions = r; + }, 58525(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(98835), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.groupManager); + t2.ExpressionTypePromptOptions = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(71056), a = i2(55909), s = i2(33951); + class l extends r.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get _globalTypeName() { - return "group"; + constructor(e3) { + super(e3), this._audioPreview = false, this._requireAudio = false, (0, o.makeUnenumerable)(this, "_audioPreview"), (0, o.makeUnenumerable)(this, "_requireAudio"), (0, o.makeUnenumerable)(this, "_systemPromptFilterNames"); } - get displayTypeName() { - return "ArchValueGroup"; + get className() { + return "ExpressionTypePromptOptions"; } - get isArchValueGroup() { + get isExpressionTypePromptOptions() { return true; } - setLiteralByGroupIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("groupId", "setLiteralByGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGroupIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByGroupIdAsync", t3, this)); - }); + get audioPreview() { + return this._audioPreview; } - setLiteralByGroupNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("groupName", "setLiteralByGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGroupNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByGroupNameAsync", t3, this)); - }); + set audioPreview(e3) { + this._audioPreview = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "audioPreview", "value")); } - } - t2.default = s; - }, 52834: (e2) => { - "use strict"; - var t2 = /[|\\{}()[\]^$+*?.]/g; - e2.exports = function(e3) { - if ("string" != typeof e3) throw new TypeError("Expected a string"); - return e3.replace(t2, "\\$&"); - }; - }, 52852: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(8471)); - class r2 extends n2.default { - static createObjectPropertyAccessItem(e3, t3, i3, n3) { - const o = new r2(); - return o._archBaseCoreObject = e3, o._hierarchyStr = n3, o._propertyName = t3, o._propArrayIndex = i3, o; + setAudioPreview(e3) { + return this.audioPreview = e3, this; } - get displayTypeName() { - return "ArchTraverseHierarchyItem"; + get requireAudio() { + return this._requireAudio; } - get archBaseObject() { - return this._archBaseCoreObject; + set requireAudio(e3) { + this._requireAudio = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "requireAudio", "value")); } - get hierarchyStr() { - return this._hierarchyStr; + setRequireAudio(e3) { + return this.requireAudio = e3, this; } - get index() { - return this._propArrayIndex; + get systemPromptFilterNames() { + return this._systemPromptFilterNames; } - get isArchTraverseHierarchyItem() { - return true; + set systemPromptFilterNames(e3) { + this._systemPromptFilterNames = s.ParameterValidator.expectArray(e3, () => a.ParameterInfo.createPropertySet(this.className, "systemPromptFilterNames", "value")); } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrHierarchyStr(e3, this.hierarchyStr), this._createLogStrFromParts(e3); + setSystemPromptFilterNames(e3) { + return this.systemPromptFilterNames = e3, this; } - get propertyName() { - return this._propertyName; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setRequireAudio, e3.requireAudio); } } - t2.default = r2; - }, 52901: (e2, t2, i2) => { + t2.ExpressionTypePromptOptions = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "audioPreview", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "requireAudio", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Object])], l.prototype, "systemPromptFilterNames", null); + }, 37830(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + t2.ExpressionTypeQueueOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } constructor(e3) { super(e3); } - get _globalTypeName() { - return "customerIntentCollection"; - } - get displayTypeName() { - return "ArchValueCustomerIntentCollection"; + get className() { + return "ExpressionTypeQueueOptions"; } - get isArchValueCustomerIntentCollection() { + get isExpressionTypeQueueOptions() { return true; } } - t2.default = r2; - }, 52910: (e2, t2, i2) => { + t2.ExpressionTypeQueueOptions = o; + }, 19360(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), c = i2(47628), d = i2(80428), p = i2(1910), _ = i2(69453), h = i2(17604), m = i2(40174), g = i2(47957); - i2(69823); - class f extends a.default { - constructor(e3, t3, i3) { - super(e3, t3, i3), this.allowSecure = false, this.allowErrorSchema = false; + t2.ExpressionTypeQuickRepliesOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3) { + return new this().invokeOptionsCallback(e3); } - static get branchInfo() { - return s.default.successFailureTimeout; + constructor(e3) { + super(e3); } - static get managedProperties() { - 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; + get className() { + return "ExpressionTypeQuickRepliesOptions"; } - loadDataSchemas(e3) { - 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(); + get isExpressionTypeQuickRepliesOptions() { + return true; } - validate(e3) { - switch (super.validate(e3), this.timeout.mode) { - case o.expression: - this.timeout.options.literalOnly && e3.addError(this, g.expression.expressionModeNotAllowed); - break; - case o.builder: - this.timeout.options.literalOnly && e3.addError(this, g.expression.builderModeNotAllowed); - } + } + t2.ExpressionTypeQuickRepliesOptions = o; + }, 98364(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeResponseAssetOptions = void 0; + const n2 = i2(31635), o = i2(65615), r = i2(10798), a = n2.__importDefault(i2(4648)); + class s extends o.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get yamlActionSectionName() { - return "dataAction"; + constructor(e3) { + super(e3); } - _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); + get className() { + return "ExpressionTypeResponseAssetOptions"; } - _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 }; - } - } + get isExpressionTypeResponseAssetOptions() { + return true; + } + get supportsLiteralMode() { + return this.isCollection ? (0, r.isFeatureAvailable)(a.default.cannedResponseAttachmentsPostGaFeature) : super.supportsLiteralMode; } } - f.className = "BaseIntegrationsAction", t2.default = f; - }, 53e3: (e2, t2, i2) => { + t2.ExpressionTypeResponseAssetOptions = s; + }, 75255(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), c = (0, a.getTopic)("TimeZoneService"); - t2.timeZoneService = new class { - constructor() { - this._rawTimeZoneData = {}, this._timeZones = [], (() => { - n2.__awaiter(this, void 0, void 0, function* () { - try { - yield this._getTimeZone(); - } catch (e3) { - c.exception(e3, "error caught getting time zones in timeZoneService constructor"); - } - }); - })(); - } - _getTimeZone() { - return n2.__awaiter(this, void 0, void 0, function* () { - yield s.getAuthorizedPromise(); - try { - const e3 = yield u.getTimeZones(); - this._rawTimeZoneData = e3.entities, o.default.each(this._rawTimeZoneData, (e4) => { - const t3 = Math.abs(e4.offset); - 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) { - c.exceptionWarning(e3, "failed to get timezones"); - } - }); - } - timeZoneKeyIsValid(e3) { - return !o.default.isUndefined(this.timeZoneData[e3]); + t2.ExpressionTypeScheduleGroupOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get timeZoneData() { - return this._rawTimeZoneData; + constructor(e3) { + super(e3); } - get timeZones() { - return this._timeZones; + get className() { + return "ExpressionTypeScheduleGroupOptions"; } - getTimeZoneOffset(e3) { - return this._rawTimeZoneData[e3]; + get isExpressionTypeScheduleGroupOptions() { + return true; } - }(); - }, 53067: (e2) => { - var t2; - window, t2 = function() { - return (function(e3) { - var t3 = {}; - function i2(n2) { - if (t3[n2]) return t3[n2].exports; - var r2 = t3[n2] = { i: n2, l: false, exports: {} }; - return e3[n2].call(r2.exports, r2, r2.exports, i2), r2.l = true, r2.exports; - } - return i2.m = e3, i2.c = t3, i2.d = function(e4, t4, n2) { - i2.o(e4, t4) || Object.defineProperty(e4, t4, { enumerable: true, get: n2 }); - }, i2.r = function(e4) { - "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e4, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e4, "__esModule", { value: true }); - }, i2.t = function(e4, t4) { - if (1 & t4 && (e4 = i2(e4)), 8 & t4) return e4; - if (4 & t4 && "object" == typeof e4 && e4 && e4.__esModule) return e4; - var n2 = /* @__PURE__ */ Object.create(null); - if (i2.r(n2), Object.defineProperty(n2, "default", { enumerable: true, value: e4 }), 2 & t4 && "string" != typeof e4) for (var r2 in e4) i2.d(n2, r2, function(t5) { - return e4[t5]; - }.bind(null, r2)); - return n2; - }, i2.n = function(e4) { - var t4 = e4 && e4.__esModule ? function() { - return e4.default; - } : function() { - return e4; - }; - return i2.d(t4, "a", t4), t4; - }, i2.o = function(e4, t4) { - return Object.prototype.hasOwnProperty.call(e4, t4); - }, i2.p = "", i2(i2.s = 2); - })([, function(e3, t3, i2) { - "use strict"; - Object.defineProperty(t3, "__esModule", { value: true }), t3.AUTH_TOKEN_KEY = "gcui_auth", t3.STORAGE_OBJ = window.sessionStorage, t3.CLIENT_401_MESSAGE_TYPE = "clientCredentialExpiration"; - }, function(e3, t3, i2) { - "use strict"; - Object.defineProperty(t3, "__esModule", { value: true }); - const n2 = i2(1); - t3.sendTokenToClients = function(e4) { - n2.STORAGE_OBJ.setItem(n2.AUTH_TOKEN_KEY, e4); - }, t3.onClient401 = function(e4) { - window.addEventListener("message", (t4) => { - t4.data.type === n2.CLIENT_401_MESSAGE_TYPE && null !== t4.data.clientId && e4({ client: t4.data.clientId, origin: t4.origin }); - }); - }; - }]); - }, e2.exports = t2(); - }, 53097: (e2, t2, i2) => { + } + t2.ExpressionTypeScheduleGroupOptions = o; + }, 8136(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + t2.ExpressionTypeScheduleOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } constructor(e3) { super(e3); } - get _globalTypeName() { - return "workbinCollection"; - } - get displayTypeName() { - return "ArchValueWorkbinCollection"; + get className() { + return "ExpressionTypeScheduleOptions"; } - get isArchValueWorkbinCollection() { + get isExpressionTypeScheduleOptions() { return true; } } - t2.default = r2; - }, 53128: (e2, t2, i2) => { + t2.ExpressionTypeScheduleOptions = o; + }, 23657(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAllHandlingTypes = function() { - return u; - }, t2.getHandlingTypesForFlowType = function(e3) { - switch (e3) { - case r2.flowTypes.flowTypeBot: - case r2.flowTypes.flowTypeDigitalBot: - case r2.flowTypes.flowTypeVoice: - return d; - case r2.flowTypes.flowTypeVoiceSurvey: - return p; - case r2.flowTypes.flowTypeCommonModule: - return c; - case r2.flowTypes.flowTypeInboundCall: - case r2.flowTypes.flowTypeOutboundCall: - case r2.flowTypes.flowTypeSecureCall: - case r2.flowTypes.flowTypeVoicemail: - return h; - case r2.flowTypes.flowTypeInQueueCall: - return m; - case r2.flowTypes.flowTypeInQueueEmail: - case r2.flowTypes.flowTypeInQueueShortMessage: - return l.isFeatureAvailable(a.default.transferToQueueErrorHandlingAutomate) ? [...g, o.default.Queue] : g; - case r2.flowTypes.flowTypeInboundEmail: - case r2.flowTypes.flowTypeInboundShortMessage: - case r2.flowTypes.flowTypeInboundChat: - return f; - case r2.flowTypes.flowTypeSurveyInvite: - return c; - case r2.flowTypes.flowTypeWorkflow: - return T; - case r2.flowTypes.flowTypeWorkitem: - return _; - case r2.flowTypes.flowTypeEmailSend: - return y; - default: - return s.error(`error handling types - unhandled flowType: ${e3}`), u; + t2.ExpressionTypeShippingOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - }, t2.getFeatureForErrorHandlingType = function(e3, t3) { - if (e3 && e3.value === o.default.Queue.value) switch (t3) { - case r2.flowTypes.flowTypeInQueueEmail: - case r2.flowTypes.flowTypeInQueueShortMessage: - return a.default.transferToQueueErrorHandlingAutomate; + constructor(e3) { + super(e3); } - }; - 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; - var n2 = i2(76808), r2 = i2(18464), o = i2(17812); - t2.publish = function(e3) { - return e3 ? function(t3) { - return o.connect(e3)(t3); - } : function(e4) { - return r2.multicast(new n2.Subject())(e4); - }; - }; - }, 53269: (e2) => { - "use strict"; - e2.exports = function(e3, t2, i2, n2) { - for (var r2 = 65535 & e3, o = e3 >>> 16 & 65535, a = 0; 0 !== i2; ) { - i2 -= a = i2 > 2e3 ? 2e3 : i2; - do { - o = o + (r2 = r2 + t2[n2++] | 0) | 0; - } while (--a); - r2 %= 65521, o %= 65521; + get isExpressionTypeShippingOptions() { + return true; + } + get className() { + return "ExpressionTypeShippingOptions"; } - return r2 | o << 16; - }; - }, 53314: (e2, t2, i2) => { + } + t2.ExpressionTypeShippingOptions = o; + }, 55720(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PromptContainer = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(84050), s = i2(94729); - class l extends a.NameIdDescriptionModel { + t2.ExpressionTypeSkillOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_resources"); + super(e3); } get className() { - return "PromptContainer"; - } - get resources() { - return this._resources; + return "ExpressionTypeSkillOptions"; } - set resources(e3) { - this._resources = this.reviveArray(e3, s.PromptResource); + get isExpressionTypeSkillOptions() { + return true; } } - t2.PromptContainer = l, l.keyProperty = "name", n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], l.prototype, "resources", null); - }, 53318: (e2, t2, i2) => { + t2.ExpressionTypeSkillOptions = o; + }, 81516(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { + var n2; + t2.ExpressionTypeStringOptions = void 0; + const o = i2(31635), r = o.__importDefault(i2(22465)), a = i2(80295), s = i2(65615), l = o.__importDefault(i2(22226)), u = i2(55909), c = i2(33951); + class d extends s.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } constructor(e3) { - super(e3); + super(e3), this._disableSpellcheck = false, this._blankDeterminationShouldNotTrim = false, this._wantLowerCaseStringLiteralValue = false, (0, a.makeUnenumerable)(this, "_blankWarningText"), (0, a.makeUnenumerable)(this, "_disableSpellcheck"), (0, a.makeUnenumerable)(this, "_blankDeterminationShouldNotTrim"), (0, a.makeUnenumerable)(this, "_stringFacets"), (0, a.makeUnenumerable)(this, "_wantLowerCaseStringLiteralValue"), this.facets = r.default.create(); } - get _globalTypeName() { - return "timeslot"; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setDisableSpellcheck, e3.disableSpellcheck), this._setOptionIfSet(this.setBlankDeterminationShouldNotTrim, e3.blankDeterminationShouldNotTrim), this._setOptionIfSet(this.setBlankWarningText, e3.blankWarningText, "_blankWarningText"), this._setOptionIfSet(this.setWantLowerCaseStringLiteralValue, e3.wantLowerCaseStringLiteralValue); } - get displayTypeName() { - return "ArchValueTimeslot"; + get allowEmpty() { + return this.facets.allowEmpty; } - get isArchValueTimeslot() { - return true; + get className() { + return "ExpressionTypeStringOptions"; } - get duration() { - return this._getAssignableProperty("duration"); + get isExpressionTypeStringOptions() { + return true; } - get dateTime() { - return this._getAssignableProperty("dateTime"); + get blankDeterminationShouldNotTrim() { + return this._blankDeterminationShouldNotTrim; } - setLiteralDateTimeAndDuration(e3, t3) { - this.dateTime.setLiteralDateTime(e3), this.duration.setLiteralMs(t3); + set blankDeterminationShouldNotTrim(e3) { + this._blankDeterminationShouldNotTrim = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankDeterminationShouldNotTrim", "value")); } - } - t2.default = r2; - }, 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(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 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 && (h(e3, t3, (0, r2.sprintf)(_.audio.errorPromptCouldNotBeFound, t3.text)), 1)) : (h(e3, t3, _.audio.errorNoPrompt), 1))); - } - class g extends p.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + get blankWarningText() { + return this._blankWarningText; } - get className() { - return "PromptType"; + set blankWarningText(e3) { + this._blankWarningText = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankWarningText", "value")); } - createExpressionOptionClass() { - return new a.ExpressionTypePromptOptions(); + get disableSpellcheck() { + return this._disableSpellcheck; } - get supportsLiteralEditor() { - return true; + set disableSpellcheck(e3) { + this._disableSpellcheck = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "disableSpellcheck", "value")); } - 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); + get wantLowerCaseStringLiteralValue() { + return this._wantLowerCaseStringLiteralValue; } - 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"; + set wantLowerCaseStringLiteralValue(e3) { + this._wantLowerCaseStringLiteralValue = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "wantLowerCaseStringLiteralValue", "value")); } - canConvertLitToExpression(e3) { - return true; + get facets() { + return this._stringFacets; } - convertLitToExpression(e3, t3, i3) { - return t3 ? l.addPrefix(t3, i3) : void 0; + set facets(e3) { + this._stringFacets = c.ParameterValidator.expectTrue(e3 && true === e3.isStringFacets, e3, "StringFacets", () => u.ParameterInfo.createPropertySet(this.className, "facets", "value")), this._stringFacets = e3; } - getYamlObjectForLiteralSingleton(e3) { - super.getYamlObjectForLiteralSingleton(e3); - const t3 = l.addPrefix(e3.text, e3.val); - return o.default.tryWrapObject(t3, this.yamlLiteralWrapperString); + _getDefaultTextForDisplay() { + return this.defaultToExpression ? this.defaultText : this.hasDefaultText ? l.default.getQuotedExpressionStringLiteral(this.defaultText) : void 0; } - validateLiteral(e3, t3) { - return m(e3, t3); + setBlankDeterminationShouldNotTrim(e3) { + return this.blankDeterminationShouldNotTrim = e3, this; } - validateVariable(e3, t3) { - return m(e3, t3); + setBlankWarningText(e3) { + return this.blankWarningText = e3, this; } - isAvailableForFlow(e3) { - return e3.isCommonModuleFlow && !e3.isEmbeddedFlow ? !!e3.destinationFlowTypes.find((e4) => this.isAvailableForFlowType(e4, true)) : super.isAvailableForFlow(e3); + setDisableSpellcheck(e3) { + return this.disableSpellcheck = e3, this; } - isUserCreatableForFlow(e3) { - return e3.definition.hasDestinationFlowTypes && !e3.isEmbeddedFlow ? this.model.support.userCanCreate && e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)) : super.isUserCreatableForFlow(e3); + setWantLowerCaseStringLiteralValue(e3) { + return this.wantLowerCaseStringLiteralValue = e3, this; } } - t2.PromptType = g, g.typeIdentifier = d.expressionTypeNames.prompt; - }, 53474: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(28562), r2 = i2(69149), o = { _label: "BotSlotCont", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "defaultSequence", "ko-kr": "defaultSequence", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_cont", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr1" } }, { builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr2" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_cont", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr1" } }, { builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr2" } }] } } }; - t2.default = o; - }, 53476: (e2, t2) => { - "use strict"; - function i2(e3) { - return function(t3) { - return t3 && true === t3[e3]; - }; - } - function n2(e3) { - return function(t3) { - return t3 && true === t3[e3]; - }; - } - function r2(e3) { - return function(t3) { - return t3 && t3.isNormalExpression && e3(t3.options); - }; - } - var o; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isCardExpression = t2.isCardCollection = t2.areOptionsCardType = t2.isStringExpression = t2.isChoiceExpression = t2.isCustomJsonExpressionType = t2.isChooserExpressionType = t2.isListPickerExpressionType = t2.isChoiceExpressionType = t2.isJsonExpressionType = t2.areOptionsChoiceType = t2.areOptionsCurrencyType = t2.areOptionsBooleanType = t2.areOptionsIntegerType = t2.areOptionsStringType = t2.areOptionsCustomJsonType = t2.areOptionsJsonType = void 0, t2.areOptionsJsonType = i2("isExpressionTypeJsonOptions"), t2.areOptionsCustomJsonType = i2("isCustomJsonType"), t2.areOptionsStringType = i2("isExpressionTypeStringOptions"), t2.areOptionsIntegerType = i2("isExpressionTypeIntegerOptions"), t2.areOptionsBooleanType = i2("isExpressionTypeBooleanOptions"), t2.areOptionsCurrencyType = i2("isExpressionTypeCurrencyOptions"), t2.areOptionsChoiceType = i2("isExpressionTypeChoiceOptions"), t2.isJsonExpressionType = n2("isJsonType"), t2.isChoiceExpressionType = n2("isChoiceType"), t2.isListPickerExpressionType = n2("isListPickerType"), t2.isChooserExpressionType = n2("isChooserType"), t2.isCustomJsonExpressionType = (e3) => (0, t2.isJsonExpressionType)(e3) && n2("isCustomType")(e3), t2.isChoiceExpression = r2(t2.areOptionsChoiceType), t2.isStringExpression = r2(t2.areOptionsStringType), t2.areOptionsCardType = i2("isExpressionTypeCardOptions"), t2.isCardCollection = (o = t2.areOptionsCardType, function(e3) { - return e3 && e3.isCollectionExpression && o(e3.options); - }), t2.isCardExpression = r2(t2.areOptionsCardType); - }, 53477: (e2, t2, i2) => { + t2.ExpressionTypeStringOptions = d, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], d.prototype, "blankDeterminationShouldNotTrim", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], d.prototype, "blankWarningText", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Object])], d.prototype, "disableSpellcheck", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Boolean])], d.prototype, "wantLowerCaseStringLiteralValue", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], d.prototype, "facets", null); + }, 8532(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeAssignedCustomerIntentOptions = void 0; + t2.ExpressionTypeSurveyAnswerOptionOptions = void 0; const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { + class o extends n2.BaseExpressionTypeCollectionOptions { static create(e3, t3) { return new this(t3).invokeOptionsCallback(e3); } @@ -70964,22548 +63368,21424 @@ ${JSON.stringify(i3.configVal, null, 2)}`), n3; super(e3); } get className() { - return "ExpressionTypeAssignedCustomerIntentOptions"; + return "ExpressionTypeSurveyAnswerOptionOptions"; } - get isExpressionTypeAssignedCustomerIntentOptions() { + get isExpressionTypeSurveyAnswerOptionOptions() { return true; } - get supportsLiteralMode() { - return this.isCollection; - } } - t2.ExpressionTypeAssignedCustomerIntentOptions = r2; - }, 53482: (e2, t2, i2) => { + t2.ExpressionTypeSurveyAnswerOptionOptions = o; + }, 70147(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), 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; - } - get dependencyType() { - 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 = [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)); - const n3 = !!e3.intents && e3.intents.length > 0; - return super.addItem(e3, n3); - } - addItemToFlowMetadata(e3, t3, i3) { - const n3 = r2.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : i3; - return super.addItemToFlowMetadata(e3, t3, n3); - } - get _networkModel() { - return a.default; - } - _createItemViewModel(e3) { - return new u.BotConnectorVersionViewModel(e3); + t2.ExpressionTypeSurveyFormOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - getItemFromFlowMetadata(e3, t3) { - const i3 = r2.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : t3, n3 = super.getItemFromFlowMetadata(e3, i3); - return n3 && (n3.model = o.ensureCorrectVersionProperties(n3.model, n3.botId, e3.bot.idValue, n3.integrationId)), n3; + constructor(e3) { + super(e3); } - getBotCategoryForBotRunnable(e3, t3) { - if (!r2.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; - const i3 = this.getItem(e3.toLowerCase(), t3); - return i3 ? p.digitalBotConnectorManager.getItem(i3.botId, t3) : null; + get className() { + return "ExpressionTypeSurveyFormOptions"; } - getItem(e3, t3) { - const i3 = t3, n3 = r2.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotRunnableId) ? i3.getUniqueBotRunnableId() : e3; - return super.getItem(n3); + get isExpressionTypeSurveyFormOptions() { + return true; } } - t2.DigitalBotConnectorVersionManager = g, t2.digitalBotConnectorVersionManager = new g(); - }, 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", "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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(54982)), o = n2.__importDefault(i2(19328)), a = n2.__importDefault(i2(24175)), s = n2.__importDefault(i2(94147)), l = n2.__importDefault(i2(38170)), u = { ArchTask: r2.default, ArchTaskCommonModule: o.default, ArchTaskLoop: a.default, ArchState: s.default, ArchStateBot: l.default }; - t2.default = u; - }, 53548: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { sendKnowledgeFeedbackActionActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _knowledgeArticle: { writable: true }, _knowledgeFeedback: { writable: true }, _knowledgeSearchId: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.knowledgeArticle.pasteReIdOrRename(e3), this.knowledgeFeedback.pasteReIdOrRename(e3), this.knowledgeSearchId.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.knowledgeArticle.pasteResolveOldToNewValues(e3), this.knowledgeFeedback.pasteResolveOldToNewValues(e3), this.knowledgeSearchId.pasteResolveOldToNewValues(e3); - } }, knowledgeArticle: { enumerable: true, get: function() { - return this._knowledgeArticle; - }, set: function(e3) { - this._knowledgeArticle = this.reviveItem(e3, r2); - } }, knowledgeFeedback: { enumerable: true, get: function() { - return this._knowledgeFeedback; - }, set: function(e3) { - this._knowledgeFeedback = this.reviveItem(e3, r2); - } }, knowledgeSearchId: { enumerable: true, get: function() { - return this._knowledgeSearchId; - }, set: function(e3) { - this._knowledgeSearchId = this.reviveItem(e3, r2); - } } }), n2.extend(a, o, true), e2.exports = a; - }, 53561: (e2, t2, i2) => { + t2.ExpressionTypeSurveyFormOptions = o; + }, 33668(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(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 = l.ExpressionTypeIntegerOptions; - } - get className() { - return "IntegerType"; - } - _getLiteralValueOfExpression(e3) { - const t3 = parseInt(e3.text, 10); - return o.default.isActualNumber(t3) ? t3.toString() : ""; - } - createExpressionOptionClass() { - return new l.ExpressionTypeIntegerOptions(this.isCollection); - } - getYamlObjectForLiteralSingleton(e3) { - super.getYamlObjectForLiteralSingleton(e3); - const t3 = Number(e3.text); - return o.default.isActualNumber(t3) || p.errorWithStack(null, "Invalid number parsed in IntegerType.getYamlObjectForLiteralSingleton"), t3; + t2.ExpressionTypeSurveyQuestionGroupOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - 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))); + constructor(e3) { + super(e3); } - 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 < 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)(_.errors.invalidValue, t3.label), false, true), false); + get className() { + return "ExpressionTypeSurveyQuestionGroupOptions"; } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - return i3 || t3 || ""; + get isExpressionTypeSurveyQuestionGroupOptions() { + return true; } } - t2.IntegerType = h, h.typeIdentifier = c.expressionTypeNames.integer; - }, 53614: (e2, t2, i2) => { + t2.ExpressionTypeSurveyQuestionGroupOptions = o; + }, 33237(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 c(e3, t3, i3 = "span") { - return `<${i3}${e3 ? ' class="' + e3 + '"' : ""}>${t3}`; - } - function d(e3) { - return e3.replace(/ /g, " "); - } - (0, o.getTopic)("funcOpOverload"), t2.FuncOpOverload = class { - constructor(e3, t3, i3, n3, o2, s2, l2, u2) { - this.isFuncOpOverload = true, this.hasRestrictions = e3.runtimeSequencesSystemPrompts || e3.runtimeRequiresTTSSupport || r2.default.findWhere(s2, { hasRestrictions: true }), this.description = t3, this.disallowAsDefaultCast = e3.disallowAsDefaultCast, this.examplesHaveFeatureToggleOrConfig = e3.examplesHaveFeatureToggleOrConfig, this.featureToggleName = e3.featureToggleName, this.featureConfigName = e3.featureConfigName, this.hidden = e3.hidden, this.operands = s2, this.resultResolver = o2, this.returnDescription = n3, this.returnType = i3, this.runtimeSequencesSystemPrompts = e3.runtimeSequencesSystemPrompts, this.runtimeRequiresTTSSupport = e3.runtimeRequiresTTSSupport, this.version = e3.support.version, this.examples = l2, e3.needsServerInfo && (this.needsServerInfo = true), e3.supportedReturnValueTypeInfo && (this.supportedReturnValueTypeInfo = e3.supportedReturnValueTypeInfo), e3.supportedReturnValues && (this.supportedReturnValues = e3.supportedReturnValues), r2.default.isActualNumber(e3.maxOperands) ? this.maxOperands = e3.maxOperands : r2.default.isString(e3.maxOperands) && e3.maxOperands.length >= 1 && (this._maxOperands = e3.maxOperands, Object.defineProperty(this, "maxOperands", { get: () => { - if ("getFromEnvLimitsCollectionItemsMax" === this._maxOperands) return a.limits.collectionItemsMax; - } })), e3.supportedReturnValuesTitle && (this.supportedReturnValuesTitle = e3.supportedReturnValuesTitle), e3.addsToCollection && (this.addsToCollection = e3.addsToCollection), u2 && (this.passThrough = u2), this.isUnavailable = !!this.featureToggleName || !!this.featureConfigName || true === this.needsServerInfo, e3.supportedFlowTypes && (this.supportedFlowTypes = e3.supportedFlowTypes), e3.identifier && (this.id = e3.identifier), e3.blankAudioForSipPhoneNumber && (this.blankAudioForSipPhoneNumber = true), e3.mustBeLastOperationOrFunction && (this.mustBeLastOperationOrFunction = true), e3.supportedLanguageFilter && (this.supportedLanguageFilter = e3.supportedLanguageFilter); - } - get parent() { - return this._parent; + t2.ExpressionTypeSurveyQuestionOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - set parent(e3) { - this._parent = e3; + constructor(e3) { + super(e3); } - _unitTestEnableLanguageForNeedServerInfo(e3, t3, i3) { - return console.error("FuncOpOverload._unitTestEnableLanguageForNeedServerInfo should only be called in unit tests!"), false; + get className() { + return "ExpressionTypeSurveyQuestionOptions"; } - unitTestRestoreNeedServerInfoSnapshot() { - console.error("FuncOpOverload.unitTestRestoreNeedServerInfoSnapshot should only be called in unit tests!"); + get isExpressionTypeSurveyQuestionOptions() { + return true; } - startupConfigureFromBootstrapInfo(e3, t3) { - if (this.bootStrapInfoProcessed = true, r2.default.find(e3.flowTypes, (e4, t4) => u.default.getIsValidFlowType(t4) && e4.isAvailable) && (this.serverInfoIndicatesSupported = true), t3) return this.supportedLanguageFilter || (this.supportedLanguageFilter = {}), void (this.supportedLanguageFilter[t3.id] = true); - if (e3.flowTypes && this.needsServerInfo) { - const t4 = {}; - r2.default.each(e3.flowTypes, (e4, i3) => { - u.default.getIsValidFlowType(i3) && e4.isAvailable && (t4[i3] = i3); - }), r2.default.filter(this.supportedFlowTypes, (t5, i3) => { - var n3; - if (u.default.getIsValidFlowType(i3) && !(null === (n3 = e3.flowTypes[i3]) || void 0 === n3 ? void 0 : n3.isAvailable)) return e3.flowTypes[i3] = { isAvailable: true }, t5; - }), this.supportedFlowTypes = t4; - } + } + t2.ExpressionTypeSurveyQuestionOptions = o; + }, 74636(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeTimeOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - startupFinalize() { - if (this.supportedFlowTypes) { - const e3 = {}; - r2.default.each(this.supportedFlowTypes, (t3) => { - u.default.getFlowTypeIsAvailable(t3) && (e3[t3] = t3); - }), this.supportedFlowTypes = e3; - } - this.examplesHaveFeatureToggleOrConfig && (this.examples = r2.default.filter(this.examples, (e3) => (!e3.featureToggleName || l.isEnabled(e3.featureToggleName)) && (!e3.featureConfigName || s.isFeatureAvailable(e3.featureConfigName)))), this.isUnavailable = !!this.featureConfigName && s.isFeatureUnavailable(this.featureConfigName) || !!this.featureToggleName && l.isDisabled(this.featureToggleName) || true === this.needsServerInfo && true !== this.serverInfoIndicatesSupported; + constructor(e3) { + super(e3); } - get displayStringInHtml() { - const e3 = this.operands.sort((e4, t4) => e4.helpDisplayIdx > t4.helpDisplayIdx ? 1 : -1), t3 = []; - if ("function" === this.parent.type) { - 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(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(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(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(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(c("", " ")), t3.push(c("name", this.parent.closingSymbol))); - } else if (i3) { - t3.push(c("name", this.parent.text)); - const e4 = []; - 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 = c("expression-function-signature", t3.join("")), this.__cachedSignatureAsHtml; + get isExpressionTypeTimeOptions() { + return true; } - isAvailableForFlowType(e3) { - return !(this.isUnavailable || this.supportedFlowTypes && !this.supportedFlowTypes[e3]); + get className() { + return "ExpressionTypeTimeOptions"; } - }; - }, 53649: (e2, t2, i2) => { + } + t2.ExpressionTypeTimeOptions = o; + }, 35730(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DecisionTableViewModel = void 0; - 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 { + t2.ExpressionTypeTimePickerOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } constructor(e3) { - 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); + super(e3); } get className() { - return "DecisionTableViewModel"; + return "ExpressionTypeTimePickerOptions"; } - get isBaseClass() { - return false; + get isExpressionTypeTimePickerOptions() { + return true; } - get schemasNotLoaded() { - return this._schemasNotLoaded; + } + t2.ExpressionTypeTimePickerOptions = o; + }, 79056(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeTimeslotOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - get inputSchema() { - return this._inputSchema; + constructor(e3) { + super(e3); } - get successSchema() { - return this._successSchema; + get className() { + return "ExpressionTypeTimeslotOptions"; } - get errorSchema() { - return this._errorSchema; + get isExpressionTypeTimeslotOptions() { + return true; } } - t2.DecisionTableViewModel = u; - }, 53755: (e2, t2, i2) => { + t2.ExpressionTypeTimeslotOptions = o; + }, 26954(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), 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; + t2.ExpressionTypeUserOptions = void 0; + const n2 = i2(71056); + class o extends n2.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - createOrGetSchemaDataPatchInputType(e3) { - return r2.createOrGetPatchableMirrorType(this.parentFlow, e3, { mapTypeId: r2.mapSchemaDataTypeIdToPatch, entityName: this.conversationCustomAttributeSchemaName, rootDisplayNameSuffix: "Schema Data Patch" }); + constructor(e3) { + super(e3); } - 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; + get className() { + return "ExpressionTypeUserOptions"; } - 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; + get isExpressionTypeUserOptions() { + return true; } - static createBaseManagedProperties() { - 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] }]; + } + t2.ExpressionTypeUserOptions = o; + }, 29505(e2, t2, i2) { + "use strict"; + var n2, o; + t2.ExpressionTypeUtilizationLabelOptions = void 0; + const r = i2(31635), a = r.__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); } - static createRecordIdManagedProperty() { - 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 }; + constructor(e3) { + super(e3), this._utilizationLabelFacets = new a.default(), (0, u.makeUnenumerable)(this, "_utilizationLabelFacets"); } - static createRecordIdsManagedProperty() { - 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 }; + get className() { + return "ExpressionTypeUtilizationLabelOptions"; } - static createDivisionsManagedProperty() { - 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 }; + get isExpressionTypeUtilizationLabelOptions() { + return true; } - createOrUpdateCustomJsonTypes() { - return n2.__awaiter(this, void 0, void 0, function* () { - 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(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) { - 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; - 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()); - } - }); + get facets() { + return this._utilizationLabelFacets; } - setCachedCustomJsonTypesForInputOutput() { - 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 = 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 = 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(); - } + set facets(e3) { + this._utilizationLabelFacets = d.ParameterValidator.expectTrue(e3 && true === e3.isUtilizationLabelFacets, e3, "UtilizationLabelFacets", () => c.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - 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, 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); - } + } + t2.ExpressionTypeUtilizationLabelOptions = p, r.__decorate([(0, s.enumerable)(true), r.__metadata("design:type", "function" == typeof (n2 = void 0 !== a.default && a.default) ? n2 : Object), r.__metadata("design:paramtypes", ["function" == typeof (o = void 0 !== a.default && a.default) ? o : Object])], p.prototype, "facets", null); + }, 28290(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeVideoOptions = void 0; + const n2 = i2(31635), o = i2(65615), r = i2(10798), a = n2.__importDefault(i2(4648)); + class s extends o.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - _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) ? 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; + constructor(e3) { + super(e3); } - get _recordDataTypeInfo() { - return p.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, d.CustomJsonContext.record)); + get className() { + return "ExpressionTypeVideoOptions"; } - get _schemaDataTypeInfo() { - return p.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, d.CustomJsonContext.schemaData)); + get isExpressionTypeVideoOptions() { + return true; } - get _schemaDataPatchTypeInfo() { - return p.CustomJsonIdentifierInfo.create((0, c.createCustomJsonExpressionDataTypeStr)(_.CustomJsonNamespace.conversationAttribute, this.conversationCustomAttributeSchemaId, d.CustomJsonContext.schemaDataPatch)); + get supportsLiteralMode() { + return (0, r.isFeatureAvailable)(a.default.cannedResponseAttachmentsPostGaFeature); } - _clearInputsAndOutputs() { - this._removeInputCustomJsonTypeReaders(), this._removeOutputCustomJsonTypeReaders(), super._clearInputsAndOutputs(); + } + t2.ExpressionTypeVideoOptions = s; + }, 91546(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeVoiceSnippetOptions = void 0; + const n2 = i2(65615), o = i2(55909), r = i2(33951); + class a extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - _preDestroy() { - this._removeInputCustomJsonTypeReaders(), this._removeOutputCustomJsonTypeReaders(), super._preDestroy(); + constructor(e3) { + super(e3); } - _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); + get isExpressionTypeVoiceSnippetOptions() { + return true; } - _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); + get className() { + return "ExpressionTypeVoiceSnippetOptions"; } - _registerInputSchemaDataTypeReader() { - var e3; - this.input && (null === (e3 = this._getSchemaDataTypeDef()) || void 0 === e3 || e3.addReader(this.input)); + get supportsLiteralMode() { + return false; } - _registerOutputRecordTypeReader() { - var e3; - this.output && (null === (e3 = this._getRecordDataTypeDef()) || void 0 === e3 || e3.addReader(this.output)); + setAsInput(e3) { + r.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); + const t3 = !(true === e3); + return this._configureInputOutputState(true, false, false, t3); } - _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)); + setAsOutput() { + return this._configureInputOutputState(false, false, true, false); } - _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)); + } + t2.ExpressionTypeVoiceSnippetOptions = a; + }, 91437(e2, t2, i2) { + "use strict"; + t2.ExpressionTypeWheelPickerItemOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - getConfiguration(e3, t3) { - var i3; - if (e3 = super.getConfiguration(e3, t3), null == t3 ? void 0 : t3.isForFlowYaml) { - const n3 = null === (i3 = this.conversationCustomAttributeSchema) || void 0 === i3 ? void 0 : i3.getConfiguration(e3, t3); - if (!n3) return e3; - e3[this.wrappedYamlName].conversationCustomAttributeSchema = n3; - } - return e3; + constructor(e3) { + super(e3); } - _configureFromModel(e3, t3, i3) { - void 0 !== e3.conversationCustomAttributeSchema && this.conversationCustomAttributeSchema.configureFromModel(e3.conversationCustomAttributeSchema, t3, i3), super._configureFromModel(e3, t3, i3); + get className() { + return "ExpressionTypeWheelPickerItemOptions"; + } + get isExpressionTypeWheelPickerItemOptions() { + return true; } } - t2.BaseConversationAttributeActionViewModel = I; - }, 53761: (e2, t2, i2) => { + t2.ExpressionTypeWheelPickerItemOptions = o; + }, 4872(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(98442)), a = n2.__importDefault(i2(37873)); - class s extends a.default { + t2.ExpressionTypeWheelPickerOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); + } constructor(e3) { super(e3); } - _checkSupportsLanguages(e3) { - const t3 = this.parentFlow; - return t3.supportsLanguages || this.logItemErrorAndThrow(e3, `the flow type '${t3.flowType}' does not support languages.`), t3; + get className() { + return "ExpressionTypeWheelPickerOptions"; } - canAddSupportedLanguage() { - return this._getCoreViewModel().canAddLanguage(); + get isExpressionTypeWheelPickerOptions() { + return true; } - addSupportedLanguage(e3, t3) { - this._checkSupportsLanguages(this._infoMethod("addSupportedLanguage")); - const i3 = this._infoParm("archLanguage", "addSupportedLanguage"); - this._checkItem(i3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when adding a supported language."), this._checkItem(i3, o.langCodeIsGeneric(e3.tag), "the language " + e3.logStr + " cannot be used as a flow supported language because it does not have a region sub-tag."), this._checkItem(i3, this._getCoreViewModel().isFlowSupportedLanguage(e3.tag), "the language '" + e3.logStr + "' is already a supported language on the flow."), this._checkItem(i3, !this.canAddSupportedLanguage(), "flow does not support adding an additional language"), this._checkItemIsValidLiteralBool(this._infoParm("setAsDefaultLanguage", "addSupportedLanguage"), t3, true); - const n3 = this._getCoreViewModel().addLanguage(e3.tag); - t3 && (this._getCoreViewModel().defaultLanguage = e3.tag); - const r3 = this.coreFactory.createArchWrapper(n3); - return r3.logNoteVerbose("supported language added to flow."), r3; + } + t2.ExpressionTypeWheelPickerOptions = o; + }, 72987(e2, t2, i2) { + "use strict"; + var n2; + t2.ExpressionTypeWrapupCodeOptions = void 0; + const o = i2(31635), r = o.__importDefault(i2(45532)), a = i2(80295), s = i2(71056), l = i2(55909), u = i2(33951); + class c extends s.ExpressionTypeNetworkObjectOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } - addSupportedLanguageAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkSupportsLanguages(this._infoMethod("addSupportedLanguageAsync")); - const i3 = this._infoParm("archLanguage", "addSupportedLanguageAsync"); - this._checkItem(i3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when adding a supported language."), this._checkItem(i3, o.langCodeIsGeneric(e3.tag), "the language " + e3.logStr + " cannot be used as a flow supported language because it does not have a region sub-tag."), this._checkItem(i3, this._getCoreViewModel().isFlowSupportedLanguage(e3.tag), "the language '" + e3.logStr + "' is already a supported language on the flow."), this._checkItem(i3, !this.canAddSupportedLanguage(), "flow does not support adding an additional language"), this._checkItemIsValidLiteralBool(this._infoParm("setAsDefaultLanguage", "addSupportedLanguageAsync"), t3, true), t3 && (this._getCoreViewModel().defaultLanguage = e3.tag); - const n3 = yield this._getCoreViewModel().addLanguage(e3.tag), r3 = this.coreFactory.createArchWrapper(n3); - return r3.logNoteVerbose("supported language added to flow."), yield this.parentFlow.validateAsync(), r3; - }); + constructor(e3) { + super(e3), this._wrapupUpCodeFacets = new r.default(), this._requiresHasDescription = false, (0, a.makeUnenumerable)(this, "_wrapupUpCodeFacets"), (0, a.makeUnenumerable)(this, "_requiresHasDescription"); } - getDefaultSupportedLanguageSettings() { - this._checkSupportsLanguages(this._infoMethod("getDefaultSupportedLanguageSettings")); - const e3 = this._getCoreViewModel(); - if (!e3) return; - let t3 = e3.defaultLanguage; - if (!r2.default.isString(t3) || !t3.length) return; - t3 = t3.toLowerCase(); - const i3 = r2.default.find(e3.supportedLanguageOptions, (e4) => r2.default.isString(e4.language) && e4.language.toLowerCase() === t3); - return i3 ? this.coreFactory.createArchWrapper(i3) : void 0; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setRequiresHasDescription, e3.requiresHasDescription); } - get displayTypeName() { - return "ArchSettingsSupportedLanguagesFlow"; + applyDefaultCollectionItemOptions(e3) { + return super.applyDefaultCollectionItemOptions(e3), this.requiresHasDescription = e3._requiresHasDescription, this; } - findLanguageSettings(e3) { - this._checkSupportsLanguages(this._infoMethod("findLanguageSettings")), this._checkItem(this._infoParm("archLanguage", "findLanguageSettings"), !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when finding a language setting."); - const t3 = this.parentFlow; - t3.supportsLanguages || this.logErrorAndThrow("the flow type '" + t3.flowType + "' does not support languages so finding language settings for a language is not supported. You can see if a flow supports languages by accessing the supportsLanguages property on it."); - const i3 = this._getCoreViewModel(), n3 = e3.tag.toLowerCase(); - this.logNoteVerbose(`findLanguageSettings looking for language tag '${n3}' case insensitively.`); - const o2 = r2.default.find(i3.supportedLanguageOptions, (e4) => r2.default.isString(e4.language) && e4.language.toLowerCase() === n3); - if (o2) return this.logNoteVerbose(`findLanguageSettings found language tag '${n3}' case insensitively.`), this.coreFactory.createArchWrapper(o2); - this.logNoteVerbose(`findLanguageSettings did not find a supported language with the tag '${n3}' case insensitively.`); + get className() { + return "ExpressionTypeWrapupCodeOptions"; } - get isArchSettingsSupportedLanguagesFlow() { + get isExpressionTypeWrapupCodeOptions() { return true; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - this._appendLogStrType(e3, this.displayTypeName); - const t3 = this.parentFlow; - return t3 && (this._appendLogStrFlowName(e3, t3.name), this._appendLogStrFlowId(e3, t3.id)), this._createLogStrFromParts(e3); + get facets() { + return this._wrapupUpCodeFacets; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().parentFlow); + set facets(e3) { + this._wrapupUpCodeFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isWrapupCodeFacets, e3, "WrapupCodeFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); } - get languagesSettings() { - this._checkSupportsLanguages(this._infoPropGet("languagesSettings")); - const e3 = [], t3 = this._getCoreViewModel(); - return r2.default.each(t3.supportedLanguageOptions, (t4) => { - e3.push(this.coreFactory.createArchWrapper(t4)); - }), this.logItemVerboseNote(this._infoPropGet("languageSettings"), `Returning language settings array with ${e3.length} language setting item(s) in it.`), e3; + get requiresHasDescription() { + return this._requiresHasDescription; + } + set requiresHasDescription(e3) { + this._requiresHasDescription = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "requiresHasDescription", "value")); + } + setRequiresHasDescription(e3) { + return this.requiresHasDescription = e3, this; } } - t2.default = s; - }, 53774: (e2, t2, i2) => { + t2.ExpressionTypeWrapupCodeOptions = c, o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== r.default && r.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], c.prototype, "facets", null), o.__decorate([(0, a.enumerable)(true), o.__metadata("design:type", Boolean), o.__metadata("design:paramtypes", [Boolean])], c.prototype, "requiresHasDescription", null); + }, 49892(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.WheelPickerType = t2.PROP_ITEMS = void 0; - const n2 = i2(4872), r2 = i2(80428), o = i2(94765); - t2.PROP_ITEMS = "items"; - class a extends o.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + t2.ExpressionTypelessOptions = void 0; + const n2 = i2(65615); + class o extends n2.BaseExpressionTypeCollectionOptions { + static create(e3, t3) { + return new this(t3).invokeOptionsCallback(e3); } get className() { - return "WheelPickerType"; + return "ExpressionTypelessOptions"; } - convertLitToExpression(e3, t3) { - return ""; + get isExpressionTypelessOptions() { + return true; } - _getLiteralValueOfExpression() { - return ""; + } + t2.ExpressionTypelessOptions = o; + }, 99469(e2, t2, i2) { + "use strict"; + t2.ManagedPropertyOptions = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(63029), a = i2(55909), s = i2(33951); + class l extends r.BaseOptionsWithOptional { + static create(e3) { + return new this().invokeOptionsCallback(e3); } - createExpressionOptionClass() { - return new n2.ExpressionTypeWheelPickerOptions(); + constructor() { + super(), this._descriptionInfo = { name: void 0, description: void 0 }, (0, o.makeUnenumerable)(this, "_dropdownPlaceholder"), (0, o.makeUnenumerable)(this, "_descriptionInfo"), (0, o.makeUnenumerable)(this, "_inlineDescription"); } - get supportsLiteralEditor() { + _setFromOptions(e3) { + super._setFromOptions(e3), e3.isBaseOptionsWithOptional && (this._setOptionIfSet(this.setDropdownPlaceholder, e3.dropdownPlaceholder, "_dropdownPlaceholder"), this.hasDescriptionInfo && this.setDescriptionInfo(this._descriptionInfo.name, this._descriptionInfo.description), this._setOptionIfSet(this.inlineDescription, e3.inlineDescription, "_inlineDescription")); + } + get className() { + return "ManagedPropertyOptions"; + } + get isManagedPropertyOptions() { return true; } - getPropItems(e3) { - return e3.getProperty(t2.PROP_ITEMS); + get dropdownPlaceholder() { + return this._dropdownPlaceholder; } - configurePropertyCreationParams(e3, t3, i3) { - super.configurePropertyCreationParams(e3, t3, i3), i3.options.setIninTestingField(`wheel-picker-${t3.name}`); + set dropdownPlaceholder(e3) { + this._dropdownPlaceholder = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "_dropdownPlaceholder", "value")); } - } - t2.WheelPickerType = a, a.typeIdentifier = r2.expressionTypeNames.wheelPicker; - }, 53862: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); + setDropdownPlaceholder(e3) { + return this.dropdownPlaceholder = e3, this; } - get _actionTypeId() { - return r2.clearVoicemailSnippetActionType; + get descriptionInfo() { + return this._descriptionInfo; } - get displayTypeName() { - return this._scriptingName; + setDescriptionInfo(e3, t3) { + return this._descriptionInfo.name = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "setDescriptionInfo", "name"), true), this._descriptionInfo.description = s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createPropertySet(this.className, "setDescriptionInfo", "description"), true), this; } - get isArchActionClearVoicemailSnippet() { - return true; + get hasDescriptionInfo() { + var e3, t3; + return !(!(null === (e3 = this._descriptionInfo) || void 0 === e3 ? void 0 : e3.name) && !(null === (t3 = this._descriptionInfo) || void 0 === t3 ? void 0 : t3.description)); + } + clearDescriptionInfo() { + return this.setDescriptionInfo(void 0, void 0); + } + get inlineDescription() { + return this._inlineDescription; + } + set inlineDescription(e3) { + this._inlineDescription = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "_inlineDescription", "value")); + } + setInlineDescription(e3) { + return this.inlineDescription = e3, this; } } - t2.default = a; - }, 53866: (e2, t2, i2) => { + t2.ManagedPropertyOptions = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "dropdownPlaceholder", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], l.prototype, "descriptionInfo", null); + }, 76869(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.timestamp = void 0; - var n2 = i2(93275), r2 = i2(26872); - t2.timestamp = function(e3) { - return void 0 === e3 && (e3 = n2.dateTimestampProvider), r2.map(function(t3) { - return { value: t3, timestamp: e3.now() }; - }); - }; - }, 53908: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.VariableOptions = void 0; + const n2 = i2(31635), o = i2(80295), r = i2(80295), a = i2(42433), s = i2(55909), l = i2(33951); + class u extends a.BaseOptions { + static create(e3) { + return new this().invokeOptionsCallback(e3); } - get _globalTypeName() { - return "journeyCustomEventAttributeList"; + constructor() { + super(), (0, r.makeUnenumerable)(this, "_variableOptionsOverrideCallback"); } - get name() { + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setVariableOptionsOverrideCallback, e3.variableOptionsOverrideCallback, "_variableOptionsOverrideCallback"); } - get dataType() { + get className() { + return "VariableOptions"; } - get values() { + get isVariableOptions() { + return true; } - get displayTypeName() { - return "ArchValueJourneyCustomEventAttributeList"; + setVariableOptionsOverrideCallback(e3) { + return this.variableOptionsOverrideCallback = e3, this; } - get isArchValueJourneyCustomEventAttributeList() { - return true; + get variableOptionsOverrideCallback() { + return this._variableOptionsOverrideCallback; + } + set variableOptionsOverrideCallback(e3) { + this._variableOptionsOverrideCallback = l.ParameterValidator.expectFunction(e3, () => s.ParameterInfo.createPropertySet(this.className, "variableOptionsOverrideCallback", "value")); } } - t2.default = r2; - }, 53919: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.authorize = function() { - n2.getAuthenticatedPromise().then(() => { - n2.setCurrentUserAuthorized(r2.permissionService.checkHasPermissionInAtLeastOneDivision(n2.getConnectedUser(), r2.permissionService.staticPermissions[o.permissionStrings.architect.application.use]).hasPermission), n2.isCurrentUserAuthorized() ? n2.resolveUserAsAuthorized() : (n2.resolveUserAsUnauthorized(`unauthorized - client or user is missing permission '${o.permissionStrings.architect.application.use}'`), n2.isRunningInBrowser() && (window.location.hash = "#/error")); - }, (e3) => { - n2.resolveUserAsUnauthorized(e3.authorization), n2.isRunningInBrowser() && (window.location.hash = "#/error"); - }); - }; - const n2 = i2(31635).__importStar(i2(74359)), r2 = i2(67210), o = i2(44724); - }, 53943: (e2, t2, i2) => { + t2.VariableOptions = u, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Function), n2.__metadata("design:paramtypes", [Object])], u.prototype, "variableOptionsOverrideCallback", null); + }, 24235(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), 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, d.default)(); + t2.AudioViewModelOptions = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(63824)), r = 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); + } + constructor() { + super(), this._allowSecure = true, this._allowBlankAudio = true, this._emitNonConfigItemForEmptyAndNoDefault = false, this._maxDurInclusive = false, this._isInternal = false, this._descriptionInfo = {}, (0, u.makeUnenumerable)(this, "_allowSecure"), (0, u.makeUnenumerable)(this, "_allowBlankAudio"), (0, u.makeUnenumerable)(this, "_emitNonConfigItemForEmptyAndNoDefault"), (0, u.makeUnenumerable)(this, "_maxDuration"), (0, u.makeUnenumerable)(this, "_maxDurInclusive"), (0, u.makeUnenumerable)(this, "_isInternal"), (0, u.makeUnenumerable)(this, "_label"), (0, u.makeUnenumerable)(this, "_noValueRuntimeEvaluationStr"), (0, u.makeUnenumerable)(this, "_noValueSelectionLabel"), (0, u.makeUnenumerable)(this, "_descriptionInfo"), this._isOptional = true; } get className() { - return "DialogflowCxAgentViewModel"; + return "AudioViewModelOptions"; } - get descriptionIntegrationName() { - return a.isFeatureAvailable(l.default.googleDialogflowCXResellV2Feature) && o.default.isString(this.integrationName) ? (0, r2.sprintf)(p.dialogflow.integrationNameLabel, o.default.escape(this.integrationName)) : null; + get isAudioViewModelOptions() { + return true; } - get errorSchema() { - return this._errorSchema; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setAllowSecure, e3.allowSecure), this._setOptionIfSet(this.setIsInternal, e3.isInternal), this._setOptionIfSet(this.setAllowBlankAudio, e3.allowBlankAudio), this._setOptionIfSet(this.setEmitNonConfigItemForEmptyAndNoDefault, e3.emitNonConfigItemForEmptyAndNoDefault), a.default.isActualNumber(e3.maxDuration) && this.setMaxDuration(e3.maxDuration, e3.maxDurInclusive), this._setOptionIfSet(this.setLabel, e3.label, "_label"), this._setOptionIfSet(this.setModeNoValueRuntimeEvaluationStr, e3.noValueRuntimeEvaluationStr, "_noValueRuntimeEvaluationStr"), this._setOptionIfSet(this.setModeNoValueSelectionLabel, e3.noValueSelectionLabel, "_noValueSelectionLabel"); } - get getConfiguration() { - return this.model; + hasDescriptionInfo(e3) { + return !!e3 && (!!a.default.isActualNumber(this.maxDuration) || e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes).length > 0); } - get id() { - return this.model.id; + getFullDescription(e3) { + if (this.hasDescriptionInfo(e3)) { + const t3 = e3.parentFlow.getUnsupportedFlowTypes(e3.supportedFlowTypes); + return t3.length && (this._descriptionInfo.info = (0, c.sprintf)(h.commonModule.notAvailableInFlowTypes, r.getFlowTypesDisplayString(t3))), this._descriptionInfo; + } } - get integrationId() { - var e3; - return null === (e3 = this.model.integration) || void 0 === e3 ? void 0 : e3.id; + get allowSecure() { + return this._allowSecure; } - get integrationName() { - var e3; - return null === (e3 = this.model.integration) || void 0 === e3 ? void 0 : e3.name; + set allowSecure(e3) { + this._allowSecure = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "allowSecure", "value")); } - get label() { - return this.name; + get allowBlankAudio() { + return this._allowBlankAudio; } - get languages() { - return this.model.languages; + set allowBlankAudio(e3) { + this._allowBlankAudio = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "allowBlankAudio", "value")); } - get model() { - return this._model; + get emitNonConfigItemForEmptyAndNoDefault() { + return this._emitNonConfigItemForEmptyAndNoDefault; } - set model(e3) { - 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)); - }); + set emitNonConfigItemForEmptyAndNoDefault(e3) { + this._emitNonConfigItemForEmptyAndNoDefault = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "emitNonConfigItemForEmptyAndNoDefault", "value")); } - get name() { - return this.model.name; + get noValueRuntimeEvaluationStr() { + return this._noValueRuntimeEvaluationStr; } - get project() { - return this.model.project; + set noValueRuntimeEvaluationStr(e3) { + this._noValueRuntimeEvaluationStr = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "noValueRuntimeEvaluationStr", "value")); } - get projectId() { - var e3; - return null === (e3 = this.project) || void 0 === e3 ? void 0 : e3.id; + get noValueSelectionLabel() { + return this._noValueSelectionLabel; } - } - t2.default = _; - }, 54016: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(65294)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._findNames = this.coreFactory.createArchWrapper(e3.findNames); + set noValueSelectionLabel(e3) { + this._noValueSelectionLabel = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "noValueSelectionLabel", "value")); } - get displayTypeName() { - return "ArchBaseActionFindSystemObjectsByName"; + get isInternal() { + return this._isInternal; } - get isArchBaseActionFindSystemObjectsByName() { - return true; + set isInternal(e3) { + this._isInternal = _.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "isInternal", "value")); } - get findNames() { - return this._findNames; + get maxDurInclusive() { + return this._maxDurInclusive; } - } - t2.default = r2; - }, 54018: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionToJsonSchemaTypeMap = void 0; - const n2 = i2(80428); - t2.expressionToJsonSchemaTypeMap = { [n2.expressionTypeNames.boolean]: "boolean", [n2.expressionTypeNames.date]: "date", [n2.expressionTypeNames.integer]: "integer", [n2.expressionTypeNames.decimal]: "number", [n2.expressionTypeNames.string]: "string" }; - }, 54057: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseLibraryViewModel = void 0, t2.createResponseLibrarySearchFilters = r2; - const n2 = i2(43212); - function r2(e3) { - return [{ name: "libraryId", operator: "IN", values: [e3] }]; - } - class o extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3); + set maxDurInclusive(e3) { + this._maxDurInclusive = e3; } - get className() { - return "ResponseLibraryViewModel"; + get maxDuration() { + return this._maxDuration; } - get id() { - return this._model.id; + 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, c.sprintf)(d.default.itemColonValue, h.expressionsHelp.parameters.maxValue, o.getSearchStringFromMilliseconds(this.maxDuration))); } get label() { - return this._model.name || ""; - } - get name() { - return this._model.name; + return this._label; } - get searchFilter() { - return r2(this.id); + set label(e3) { + this._label = _.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "label", "value")), this._descriptionInfo.name = this.label; } - } - t2.ResponseLibraryViewModel = o; - }, 54061: (e2, t2, i2) => { - "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), 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(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 supportsBargeInExpression() { + return a.default.isUndefined(this.disallowedFunctionMap) || this.disallowedFunctionMap && !this.disallowedFunctionMap.audioplaybackoptions; } - get className() { - return "PromptResourceViewModel"; + setAllowSecure(e3) { + return this.allowSecure = e3, this; } - get isProcessing() { - return this.isProcessing$.getValue(); + setIsInternal(e3) { + return this.isInternal = e3, this; } - set isProcessing(e3) { - this.isProcessing$.next(e3); + setLabel(e3) { + return this.label = e3, this; } - get parentId() { - return this._parent.id; + setModeNoValueRuntimeEvaluationStr(e3) { + return this.noValueRuntimeEvaluationStr = e3, this; } - get id() { - return this.language; + setModeNoValueSelectionLabel(e3) { + return this.noValueSelectionLabel = e3, this; } - get isPromptResourceViewModel() { - return true; + setMaxDuration(e3, t3) { + return this.maxDuration = e3, this.maxDurInclusive = t3, this; } - get detailsLoaded() { - return !!a.__classPrivateFieldGet(this, n2, "f"); + setAllowBlankAudio(e3) { + return this.allowBlankAudio = e3, this; } - get changed() { - return !!a.__classPrivateFieldGet(this, r2, "f"); + setEmitNonConfigItemForEmptyAndNoDefault(e3) { + return this.emitNonConfigItemForEmptyAndNoDefault = e3, this; } - set changed(e3) { - a.__classPrivateFieldSet(this, r2, e3, "f"); + } + t2.AudioViewModelOptions = m, n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "allowSecure", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "allowBlankAudio", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "emitNonConfigItemForEmptyAndNoDefault", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], m.prototype, "noValueRuntimeEvaluationStr", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], m.prototype, "noValueSelectionLabel", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "isInternal", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], m.prototype, "maxDurInclusive", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Object])], m.prototype, "maxDuration", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], m.prototype, "label", null), n2.__decorate([(0, l.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [])], m.prototype, "supportsBargeInExpression", null); + }, 36128(e2, t2, i2) { + "use strict"; + t2.NameValuePairsOptions = void 0; + const n2 = i2(31635), o = i2(42433), r = i2(80295), a = i2(55909), s = i2(33951); + class l extends o.BaseOptions { + static create(e3) { + return new this().invokeOptionsCallback(e3); } - get containerId() { - return this._model.promptId; + constructor() { + super(), this._allowLiteralOnlyOnName = false, (0, r.makeUnenumerable)(this, "_addButtonLabel"), (0, r.makeUnenumerable)(this, "_allowLiteralOnlyOnName"), (0, r.makeUnenumerable)(this, "_nameLabel"), (0, r.makeUnenumerable)(this, "_sectionLabel"), (0, r.makeUnenumerable)(this, "_valueLabel"); } - get audioLength() { - return this._model.durationSeconds; + get className() { + return "NameValuePairsOptions"; } - getAudioLength() { - if (this._model.durationSeconds) { - let e3 = parseFloat(this._model.durationSeconds); - if (e3) return e3 < 0.05 && (e3 = 0.1), Math.round(10 * e3) / 10; - } - return null; + get isNameValuePairsOptions() { + return true; } - get audioFormat() { - return this._model.audioFormat; + _setFromOptions(e3) { + super._setFromOptions(e3), this._setOptionIfSet(this.setAddButtonLabel, e3.addButtonLabel), this._setOptionIfSet(this.setAllowLiteralModeOnlyOnName, e3.allowLiteralOnlyOnName), this._setOptionIfSet(this.setSectionLabel, e3.sectionLabel), this._setOptionIfSet(this.setNameLabel, e3.nameLabel, "_nameLabel"), this._setOptionIfSet(this.setValueLabel, e3.valueLabel, "_valueLabel"); } - get _sampleRate() { - var e3; - return null === (e3 = (0, f.getEffectivePromptResourceAudioFormat)(this._model.audioFormat, !!this.audioLength)) || void 0 === e3 ? void 0 : e3.sampleRate; + get addButtonLabel() { + return this._addButtonLabel; } - 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; + set addButtonLabel(e3) { + this._addButtonLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "addButtonLabel", "value")); } - 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 allowLiteralOnlyOnName() { + return this._allowLiteralOnlyOnName; } - 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; + set allowLiteralOnlyOnName(e3) { + this._allowLiteralOnlyOnName = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "allowLiteralOnlyOnName", "value")); } - get hasUserUploadedAudio() { - return this.isSystem && this.hasDefaultAudio ? !this.usingDefaultAudio : !!this.audioLength; + get nameLabel() { + return this._nameLabel; } - get isBlank() { - return !(this.ttsAvailable || this.mediaUri); + set nameLabel(e3) { + this._nameLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "nameLabel", "value")); } - get isSystem() { - return this._parent.isSystem; + get sectionLabel() { + return this._sectionLabel; } - get isUser() { - return !this.isSystem; + set sectionLabel(e3) { + this._sectionLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "sectionLabel", "value")); } - get hasDefaultAudio() { - return this._model.hasDefault; + get valueLabel() { + return this._valueLabel; } - get language() { - return this._model.language; + set valueLabel(e3) { + this._valueLabel = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "valueLabel", "value")); } - get mediaUri() { - return this._model.mediaUri; + setAddButtonLabel(e3) { + return this.addButtonLabel = e3, this; } - get uploadUri() { - return this._model.uploadUri; + setAllowLiteralModeOnlyOnName(e3) { + return this.allowLiteralOnlyOnName = e3, this; } - get resourceDisplayString() { - return (0, u.sprintf)(m.default.audio.promptResourceDisplayName, this._parent.displayName, this.language); + setNameLabel(e3) { + return this.nameLabel = e3, this; } - get tracingString() { - return `${this.containerId} (${this.language})`; + setValueLabel(e3) { + return this.valueLabel = e3, this; } - get tags() { - return this._model.tags; + setSectionLabel(e3) { + return this.sectionLabel = e3, this; } - set tags(e3) { - this._model.tags = e3; + } + t2.NameValuePairsOptions = l, n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "addButtonLabel", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "allowLiteralOnlyOnName", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "nameLabel", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "sectionLabel", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "valueLabel", null); + }, 22917(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(92140)), a = /* @__PURE__ */ new Map(); + class s { + constructor() { + (0, o.makeUnenumerable)(this, "_propertyName"), (0, o.makeUnenumerable)(this, "_convertToSingleItem"), (0, o.makeUnenumerable)(this, "_exportOrder"), (0, o.makeUnenumerable)(this, "_nameValuePairShouldUseVariableProperty"), (0, o.makeUnenumerable)(this, "_shouldBeBoolIndicatingIfSet"), (0, o.makeUnenumerable)(this, "_shouldBePlainJsType"), (0, o.makeUnenumerable)(this, "_useNoneTrueForExpressionContainerClass"), (0, o.makeUnenumerable)(this, "_skipProperty"), (0, o.makeUnenumerable)(this, "_valueShouldBeLowercase"), (0, o.makeUnenumerable)(this, "_serializeOutOfService"), (0, o.makeUnenumerable)(this, "_wrapDataPairNameAndValueInTypeString"), (0, o.makeUnenumerable)(this, "_wrapDataPairNameAndValueInString"), (0, o.makeUnenumerable)(this, "_wrappedCollectionItemName"), (0, o.makeUnenumerable)(this, "_wrapListItemValueInPropertyName"), (0, o.makeUnenumerable)(this, "_wrapValueAndActionsInPropertyName"), (0, o.makeUnenumerable)(this, "_wrappedValueName"), (0, o.makeUnenumerable)(this, "_wrappedObjectName"); } - get text() { - return this._model.text; + static create(e3, t3) { + if (!r.default.isFunction(t3)) return l; + if (e3) { + const t4 = a.get(e3); + if (t4) return t4; + } + const i3 = new this(); + return i3.invokeOptionsCallback(t3), e3 && a.set(e3, i3), i3; } - set text(e3) { - this._model.text = e3, this.changed = true; + static sortObjectByPropertyMap(e3, t3) { + return t3 ? r.default.sortObjectPropertiesByKey(e3, (e4, i3) => { + let n3 = t3[e4], o2 = t3[i3]; + return "outputs" !== e4 || r.default.isActualNumber(o2) || (o2 = n3 - 1), "outputs" !== i3 || r.default.isActualNumber(n3) || (n3 = o2 - 1), r.default.isActualNumber(n3) ? r.default.isActualNumber(o2) ? n3 - o2 : -1 : 1; + }) : e3; } - get textAvailable() { - return this._model.textAvailable; + invokeOptionsCallback(e3) { + return r.default.isFunction(e3) && e3(this), this; } - get ttsAvailable() { - return this._model.ttsAvailable; + setPropertyName(e3) { + return this.propertyName = e3, this; } - get ttsString() { - return this._model.ttsString; + get propertyName() { + return this._propertyName; } - set ttsString(e3) { - this._model.ttsString = e3, this.changed = true; + set propertyName(e3) { + this._propertyName = e3; } - saveResource() { - return a.__classPrivateFieldSet(this, o, s.default.defer(), "f"), _.updatePromptResource(this.containerId, this).then(() => { - this.changed = false, a.__classPrivateFieldGet(this, o, "f").resolve(); - }, (e3) => { - a.__classPrivateFieldGet(this, o, "f").reject(e3); - }), a.__classPrivateFieldGet(this, o, "f").promise; + setConvertToSingleItem(e3) { + return this.convertToSingleItem = e3, this; } - get uniqueId() { - return this.containerId + this.language; + get convertToSingleItem() { + return this._convertToSingleItem; } - get usingDefaultAudio() { - return this.isSystem && this.hasDefaultAudio && !this.uploadStatus; + set convertToSingleItem(e3) { + this._convertToSingleItem = e3; } - deleteResource() { - return _.deletePromptResource(this.containerId, this.language); + setDoNotExportAsExpressionForFlowTypes(e3) { + return this.doNotExportAsExpressionForFlowTypes = e3, this; } - initiateAudioStationRecord() { - alert("record from station"); + get doNotExportAsExpressionForFlowTypes() { + return this._doNotExportAsExpressionForFlowTypes; } - getCompleteDetails(e3) { - const t3 = e3 || s.default.defer(); - return _.getPromptResource(this.containerId, this.language, this.isSystem).then((e4) => { - this._loadDetails(e4), t3.resolve(this); - }, (e4) => { - S.errorPromise(e4, "Failed to get prompt resource details"), t3.reject(e4); - }), t3.promise; + set doNotExportAsExpressionForFlowTypes(e3) { + this._doNotExportAsExpressionForFlowTypes = e3; } - get uploadStatus() { - return this._model.uploadStatus; + setDoNotExportForFlowTypes(e3) { + return this.doNotExportForFlowTypes = e3, this; } - _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, void 0 !== e3.audioFormat && null !== e3.audioFormat && (this._model.audioFormat = e3.audioFormat)); + get doNotExportForFlowTypes() { + return this._doNotExportForFlowTypes; } - _loadModel(e3) { - 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)); + set doNotExportForFlowTypes(e3) { + this._doNotExportForFlowTypes = e3; } - _loadDetails(e3) { - this._loadModel(e3), a.__classPrivateFieldSet(this, n2, true, "f"); + setExportOrder(e3) { + return this.exportOrder = e3, this; } - toString() { - return `PromptResource: parent: '${this._parent.toString()}' - Language: '${this.language}'`; + get exportOrder() { + return this._exportOrder; } - resetAudio() { - this._model.duration = void 0, this._model.uploadStatus = void 0, this._model.mediaUri = void 0, this._model.audioFormat = void 0; + set exportOrder(e3) { + this._exportOrder = e3; } - } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(23335)), o = n2.__importStar(i2(72155)); - class a extends r2.default { - constructor(e3) { - super(e3); + setSerializeOutOfService(e3) { + return this.serializeOutOfService = e3, this; } - addItemToCollection() { - return o.addItemToCollection(this); + get serializeOutOfService() { + return this._serializeOutOfService; } - get canModifyContents() { - return void 0 !== o.ensureCollectionExpressionIsModifiable(this, false); + set serializeOutOfService(e3) { + this._serializeOutOfService = e3; } - get displayTypeName() { - return "ArchBaseValueCollection"; + setNameValuePairShouldUseVariableProperty(e3) { + return this.nameValuePairShouldUseVariableProperty = e3, this; } - get length() { - return this.isLiteral ? this._getCoreViewModel().collectionItems.items.length : void 0; + get nameValuePairShouldUseVariableProperty() { + return this._nameValuePairShouldUseVariableProperty; } - getItemByIndex(e3) { - const t3 = this._infoParm("index", "getItemByIndex"); - return this._checkItemIsValidLiteralIntInRange(t3, e3, 0, this.length), this.isLiteral ? this.coreFactory.createArchWrapper(this._getCoreViewModel().collectionItems.items[e3]) : void 0; + set nameValuePairShouldUseVariableProperty(e3) { + this._nameValuePairShouldUseVariableProperty = e3; } - get isArchBaseValueCollection() { - return true; + setValueShouldBeLowercase(e3) { + return this.valueShouldBeLowercase = e3, this; } - get isCollection() { - return true; + get valueShouldBeLowercase() { + return this._valueShouldBeLowercase; } - setLiteralEmptyCollection() { - this.settings.canBeLiteral && this._getCoreViewModel().setLiteralEmptyCollection(); + set valueShouldBeLowercase(e3) { + this._valueShouldBeLowercase = e3; } - } - t2.default = a; - }, 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), 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 c.externalAuthorizations.authStrings.divisionsView; + setShouldBePlainJsType(e3) { + return this.shouldBePlainJsType = e3, this; } - get dependencyType() { - return this._featureEnabled ? m.Division : void 0; + get shouldBePlainJsType() { + return this._shouldBePlainJsType; } - 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)(d.default.customConversationAttributes), this._initialize(); - }), o.getAuthenticatedPromise().then(() => { - this.getAllDivisions().then(() => { - r2.default.each(o.getConnectedUser().divisions, (e3) => { - const t3 = this.getItem(e3.id); - t3 && (e3.name = t3.name, e3.isHomeDivision = t3.isHomeDivision); - }), o.setDivisionsLoaded(); - }, (e3) => { - this.topic.errorPromise(e3, "Failed to load divisions for organization."), o.setDivisionsLoaded(); - }); - }); + set shouldBePlainJsType(e3) { + this._shouldBePlainJsType = e3; } - getAllDivisions() { - return n2.__awaiter(this, void 0, void 0, function* () { - let e3 = 1; - const t3 = new s.default(this); - for (yield this.getConfigListPage(t3); this.canLoadMore && e3 <= 16; ) e3++, t3.pageNumber += 1, yield this.getConfigListPage(t3); - this.canLoadMore && this.topic.error(`Failed to load all divisions for organization, exceeded max requests: ${e3} -- lastPageNumber: ${t3.pageNumber} -- totalItemsOnServer:${this.totalItemsOnServer} -- totalRetrieved:${Object.values(this.items).length}`); - }); + setShouldBeBoolIndicatingIfSet(e3) { + return this.shouldBeBoolIndicatingIfSet = e3, this; } - resetState() { + get shouldBeBoolIndicatingIfSet() { + return this._shouldBeBoolIndicatingIfSet; } - _createItemViewModel(e3) { - return new u.DivisionViewModel(e3); + set shouldBeBoolIndicatingIfSet(e3) { + this._shouldBeBoolIndicatingIfSet = e3; } - } - t2.DivisionManager = g, t2.divisionManager = new g(); - }, 54280: (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(17405)), s = i2(19502); - class l extends a.default { - constructor(e3) { - super(e3); + setUseNoneTrueForExpressionContainerClass(e3) { + return this.useNoneTrueForExpressionContainerClass = e3, this; } - get _globalTypeName() { - return "currency"; + get useNoneTrueForExpressionContainerClass() { + return this._useNoneTrueForExpressionContainerClass; } - get displayTypeName() { - return "ArchValueCurrency"; + set useNoneTrueForExpressionContainerClass(e3) { + this._useNoneTrueForExpressionContainerClass = e3; } - get isArchValueCurrency() { - return true; + setWrapDataPairNameAndValueInTypeString(e3) { + return this.wrapDataPairNameAndValueInTypeString = e3, this; } - get isCurrencyAmountOnly() { - var e3, t3; - return null === (t3 = null === (e3 = this._getCoreViewModel()) || void 0 === e3 ? void 0 : e3.options) || void 0 === t3 ? void 0 : t3.currencyAmountOnly; + get wrapDataPairNameAndValueInTypeString() { + return this._wrapDataPairNameAndValueInTypeString; } - setLiteralAmountAndCode(e3, t3) { - const i3 = r2.default.keys(s), n3 = this._infoParm("amount", "setLiteralAmountAndCode"); - this._checkItemIsValidLiteralDecimal(n3, e3, false); - const a2 = this._infoParm("code", "setLiteralAmountAndCode"); - this._checkItemIsValidLiteralStringEnum(a2, t3, i3, true, true), t3 = t3 ? t3.toUpperCase() : o.default.notSet; - const l2 = this._infoVal("amount|code", "setLiteralAmountAndCode"); - this._setLiteral(l2, `${e3}|${t3}`); + set wrapDataPairNameAndValueInTypeString(e3) { + this._wrapDataPairNameAndValueInTypeString = e3; } - } - t2.default = l; - }, 54339: (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); + setWrapDataPairNameAndValueInString(e3) { + return this.wrapDataPairNameAndValueInString = e3, this; } - get _globalTypeName() { - return "surveyQuestionCollection"; + get wrapDataPairNameAndValueInString() { + return this._wrapDataPairNameAndValueInString; } - get displayTypeName() { - return "ArchVariableSurveyQuestionCollection"; + set wrapDataPairNameAndValueInString(e3) { + this._wrapDataPairNameAndValueInString = e3; } - get initialValue() { - return this._initialValue; + setWrapListItemValueInPropertyName(e3) { + return this.wrapListItemValueInPropertyName = e3, this; } - get isArchVariableSurveyQuestionCollection() { - return true; + get wrapListItemValueInPropertyName() { + return this._wrapListItemValueInPropertyName; } - } - t2.default = r2; - }, 54342: (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); + set wrapListItemValueInPropertyName(e3) { + this._wrapListItemValueInPropertyName = e3; } - get _globalTypeName() { - return "divisionCollection"; + setWrapValueAndActionsInPropertyName(e3) { + return this.wrapValueAndActionsInPropertyName = e3, this; } - get initialValue() { - return this._initialValue; + get wrapValueAndActionsInPropertyName() { + return this._wrapValueAndActionsInPropertyName; } - get displayTypeName() { - return "ArchVariableDivisionCollection"; + set wrapValueAndActionsInPropertyName(e3) { + this._wrapValueAndActionsInPropertyName = e3; } - get isArchVariableDivisionCollection() { - return true; + setSkipProperty(e3) { + return this.skipProperty = e3, this; } - } - t2.default = r2; - }, 54383: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.take = void 0; - var n2 = i2(44885), r2 = i2(65212), o = i2(17214); - t2.take = function(e3) { - return e3 <= 0 ? function() { - return n2.EMPTY; - } : r2.operate(function(t3, i3) { - var n3 = 0; - t3.subscribe(o.createOperatorSubscriber(i3, function(t4) { - ++n3 <= e3 && (i3.next(t4), e3 <= n3 && i3.complete()); - })); - }); - }; - }, 54403: (e2, t2, i2) => { - "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), 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"); + get skipProperty() { + return this._skipProperty; } - get recordId() { - return this._recordId; + set skipProperty(e3) { + this._skipProperty = e3; } - set recordId(e3) { - this._recordId = this.reviveItem(e3, d.default); + setWrappedCollectionItemName(e3) { + return this.wrappedCollectionItemName = e3, this; } - get input() { - return this._input; + get wrappedCollectionItemName() { + return this._wrappedCollectionItemName; } - set input(e3) { - this._input = this.reviveItem(e3, d.default); + set wrappedCollectionItemName(e3) { + this._wrappedCollectionItemName = e3; } - get output() { - return this._output; + setWrappedObjectName(e3) { + return this.wrappedObjectName = e3, this; } - set output(e3) { - this._output = this.reviveItem(e3, d.default); + get wrappedObjectName() { + return this._wrappedObjectName; } - get divisions() { - return this._divisions; + set wrappedObjectName(e3) { + this._wrappedObjectName = e3; } - set divisions(e3) { - this._divisions = this.reviveItem(e3, d.default); + setWrappedValueName(e3) { + return this.wrappedValueName = e3, this; } - pasteReIdOrRename(e3) { - var t3, i3; - super.pasteReIdOrRename(e3), this.recordId.pasteReIdOrRename(e3), null === (t3 = this.input) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this.output) || void 0 === i3 || i3.pasteReIdOrRename(e3), this.divisions.pasteReIdOrRename(e3); + get wrappedValueName() { + return this._wrappedValueName; } - pasteResolveOldToNewValues(e3) { - var t3, i3; - 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); + set wrappedValueName(e3) { + this._wrappedValueName = e3; } } - 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() { - } - const s = new a(); - a.prototype.getGroup = o.request("GET", "{public-api.apps}/api/v2/groups/{id}", n2), a.prototype.getGroups = o.request("POST", "{public-api.apps}/api/v2/groups/search", r2), s.getGroups.addOptions({ ignoreBadResponse: true }), e2.exports = s; - }, 54508: (e2, t2, i2) => { + t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "propertyName", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "convertToSingleItem", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "exportOrder", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "serializeOutOfService", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "nameValuePairShouldUseVariableProperty", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "valueShouldBeLowercase", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "shouldBePlainJsType", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "shouldBeBoolIndicatingIfSet", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "useNoneTrueForExpressionContainerClass", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "wrapDataPairNameAndValueInTypeString", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrapDataPairNameAndValueInString", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrapListItemValueInPropertyName", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrapValueAndActionsInPropertyName", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "skipProperty", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrappedCollectionItemName", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "wrappedValueName", null); + const l = new s(); + }, 28130(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)), c = i2(47957), d = o.getTopic("DataViewModel"); - class p extends u.default { - get id() { - return "data"; + const n2 = i2(10798), o = i2(55909), r = i2(33951); + class a { + constructor() { + this._actions = []; + } + static create(e3, t3, i3, n3) { + return new a()._setId(e3)._setName(t3)._setIconName(i3)._setFeatureConfigName(n3); + } + get actions() { + return this._actions; + } + addActionClass(e3) { + if (this._actions.includes(e3)) return; + let t3 = 0; + for (; t3 < this._actions.length && !(e3.info.displayIndex < this._actions[t3].info.displayIndex); ) t3++; + this._actions.splice(t3, 0, e3); } get className() { - return "DataViewModel"; + return "ActionCategory"; } - get flowVariables() { - if (!this.parentFlow) { - const e3 = "No parentFlow found on DataViewModel."; - throw d.error(e3), e3; - } - if (!this.parentFlow.variableGroup) { - const e3 = "No variable group found for flow " + this.parentFlow.id; - throw d.error(e3), e3; - } - return this.parentFlow.variableGroup.flowVariables; + get featureConfigName() { + return this._featureConfigName; } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const i3 = []; - return r2.default.each(this.flowVariables, (n3) => { - if (n3.isSlotVariable || n3.isUserCreatable) { - const r3 = n3.getConfiguration(e3, t3); - r3 && i3.push(r3); - } - }), r2.default.sortMapByNameProperty(i3), i3; - } - return r2.default.pluck(this.flowVariables, "model"); + get iconName() { + return this._iconName; } - getDisplayName() { - return c.customNodes.data; + get id() { + return this._id; } - get isDataNode() { - return true; + get isAvailable() { + return !this._featureConfigName || (0, n2.isFeatureAvailable)(this._featureConfigName); } - loadVariables(e3) { - r2.default.each(e3, (e4) => { - l.createVariable(e4, this.parentFlow); - }); + get name() { + return this._name; } - get nodeGuxIcon() { - return a.default.database; + _setFeatureConfigName(e3) { + return this._featureConfigName = e3, this; } - get helpTopic() { - return s.helpTopics.treeNodes.dataView; + _setIconName(e3) { + return this._iconName = e3, this; } - search(e3) { - const t3 = this.parentFlow.variableGroup; - 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)); + _setId(e3) { + return this._id = r.ParameterValidator.expectString(e3, () => o.ParameterInfo.createPropertySet(this.className, "id", "value")), this; } - get wrappedYamlName() { - return "variables"; + _setName(e3) { + return this._name = r.ParameterValidator.expectString(e3, () => o.ParameterInfo.createPropertySet(this.className, "name", "value")), this; } } - t2.default = p; - }, 54521: (e2, t2, i2) => { + t2.default = a; + }, 96629(e2, t2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = n2.__importDefault(i2(44254)), a = n2.__importDefault(i2(74142)), s = n2.__importDefault(i2(97720)), l = n2.__importDefault(i2(87145)), u = { archSession: r2.default, ArchNetworkRequest: o.default, ArchOrganizationInfo: a.default, ArchScriptingInfo: s.default, organization: l.default }; - t2.default = u; - }, 54530: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.schedulePromise = void 0; - var n2 = i2(19724), r2 = i2(32071), o = i2(5455); - t2.schedulePromise = function(e3, t3) { - return n2.innerFrom(e3).pipe(o.subscribeOn(t3), r2.observeOn(t3)); - }; - }, 54540: (e2, t2, i2) => { - const n2 = i2(28730), { exitBotFlowActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 54557: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.name = void 0, this.description = void 0, this.division = void 0, this.hasDescription = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "WrapupCode"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 54590: (e2, t2, i2) => { - "use strict"; - 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), 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() { - super.initializeDesignTime(), this._updateOOS(), this.addAutoCleanedUpEventSinkWatch(a.valueChanged, this._dependentNetworkBasedActionProperty, () => n2.__awaiter(this, void 0, void 0, function* () { - yield this._refreshReference(); - })); - } - get loadingReference$() { - return this._loadingReference$.asObservable(); - } - get isVersionedNetworkBasedActionProperty() { - return true; - } - get allowableValues() { - return this._allowableValues; - } - fetchItem() { - return this.getAdditionalSearchParams() ? this.configListManager.fetchItem(this._dependentReferenceId, false, this.getAdditionalSearchParams()) : Promise.resolve(void 0); - } - get _dependentReferenceId() { - return this._dependentNetworkBasedActionProperty.idValue; - } - _refreshReference() { - return n2.__awaiter(this, void 0, void 0, function* () { - if (this._dependentReferenceId) if (this._loadingReference$.value) o.warn("already refreshing reference"); - else { - this.lastApiErrors.length = 0, this.currentUiErrorMessage = void 0, this._allowableValues.length = 0, this.setValue(void 0); - try { - this._loadingReference$.next(true); - const e3 = yield this.fetchItem(); - this._updateAllowableValues(null == e3 ? void 0 : e3.id), this.setValue(e3), (0, l.validateAction)(this.action, true); - } catch (e3) { - if (403 === e3.status && this.configListManager.requiredAuth) { - let t3; - 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); - } - } - }); + class i2 { + constructor(e3, t3) { + this._id = e3, this._displayStr = t3; } - _updateAllowableValues(e3) { - this._allowableValues.length = 0, e3 && this.allowableValues.push({ label: d.versions.latestPublishedVersion, id: e3 }); + static create(e3, t3) { + return new i2(e3, t3); } - _updateOOS() { - this.outOfService = !this._dependentReferenceId; + get id() { + return this._id; } - validate(e3) { - if (this._updateOOS(), this.idValue && this._dependentReferenceId) { - if (!this.configListManager.getItem(this.idValue, this.action)) { - const e4 = this._dependentNetworkBasedActionProperty.getItem(); - if (e4) { - const t3 = `${this._dependentReferenceId}~${e4.version}`, i3 = this.configListManager.getItem(t3, this.action); - i3 && this.setValue(i3); - } - } - } else !this.idValue && this._dependentReferenceId && this._refreshReference(); - this._updateAllowableValues(this.idValue), super.validate(e3); + get displayStr() { + return this._displayStr; } - static createCreateDetails(e3, t3, i3, n3, r3, o2, a2) { - return { create: function(s2, l2) { - return new p(s2, l2, i3, e3, t3, n3, r3, o2, a2); - }, getCreateClass: function() { - return p; - }, modelProperties: [t3], manager: i3 }; + get isChannelType() { + return true; } } - t2.VersionedNetworkBasedActionProperty = p; - }, 54625: (e2, t2, i2) => { + t2.default = i2; + }, 3465(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(6035)), o = i2(96618), a = n2.__importDefault(i2(19359)); - class s extends r2.default { + Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowTypeCategory = void 0; + const n2 = i2(31635), o = i2(96618), r = i2(17604), a = n2.__importDefault(i2(92140)), s = n2.__importDefault(i2(73198)), l = i2(14394), u = i2(19291), c = i2(82632), d = i2(82632), p = n2.__importStar(i2(14187)), _ = n2.__importStar(i2(85020)), h = i2(55824), m = i2(55909), g = i2(33951), f = i2(47957); + var T; + !(function(e3) { + e3.initial = "initial", e3.supporting = "supporting", e3.postInteraction = "postInteraction"; + })(T || (t2.FlowTypeCategory = T = {})); + class y { constructor(e3) { - super(e3), this.pathDiscovery = this._addToAutoManageSettings(new a.default(this)); + this._additionalInfo = {}, this._canSaveAs = true, this._canSuppressCallRecordings = false, this._channelTypes = [], this._channelTypeVariableName = "", this._availableLanguageTags = [], this._debugPublishRequiresTts = false, 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 = c.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._previewCreatesBotSession = false, this._previewCreatesWorkitem = 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._typeDisplayName = "", this._variableScope = p.scopes.flow, g.ParameterValidator.expectFlowType(e3, () => m.ParameterInfo.createConstructorParameter(this.className, "flowType")), this._type = e3; } get className() { - return "InboundCallViewModel"; + return "FlowDefinition"; } - get isInboundCallFlow() { - return true; + dump() { } - get type() { - return o.flowTypes.flowTypeInboundCall; + getFlowDefInfo() { } - get wrappedYamlName() { - return "inboundCall"; + get additionalInfo() { + return this._additionalInfo; } - } - t2.default = s; - }, 54632: (e2, t2, i2) => { - const n2 = i2(66848); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "KnowledgeBaseList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 54668: (e2, t2, i2) => { - const n2 = i2(54976), r2 = i2(24032), { transferFlowActionType: o } = i2(30801), a = r2.getTopic("transferToFlowAction"); - function s() { - this.flowId = void 0, this.flowName = void 0, s.baseConstructor.apply(this, arguments); - } - n2.extend(s, o, true), Object.defineProperties(s.prototype, { getConfiguration: { value: function(e3, t3) { - const i3 = s._super.getConfiguration.apply(this); - return t3?.isForFlowYaml || i3.hasOwnProperty("flowId") || a.infoWithStack(null, "FlowId not found on TransferFlowActionModel"), i3; - } } }), e2.exports = s; - }, 54674: (e2) => { - "use strict"; - e2.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }; - }, 54708: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.askForBooleanSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(73324); - class s extends a.BaseBotActionSettingsSequence { - constructor() { - super("askForBoolean"); + get supportsCompanyDirectory() { + return this._supportsCompanyDirectory; } - get noInputSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInput"); - return this.generateLanguageSequenceConfig("AskForBooleanNoInput", r2.builderIds.parts.genericCommunication, e3); + set supportsCompanyDirectory(e3) { + this._supportsCompanyDirectory = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsCompanyDirectory", "value")); } - get noInputDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); - return this.generateLanguageSequenceConfig("AskForBooleanNoInputDigitalBot", r2.builderIds.parts.genericCommunication, e3); + setSupportsCompanyDirectory(e3) { + return this.supportsCompanyDirectory = e3, this; } - get noMatchSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"); - return this.generateLanguageSequenceConfig("AskForBooleanNoMatch", r2.builderIds.parts.genericCommunication, e3); + get supportsTestPreview() { + return this._supportsTestPreview; } - get noMatchDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); - return this.generateLanguageSequenceConfig("AskForBooleanNoMatchDigitalBot", r2.builderIds.parts.markdownCommunication, e3); + set supportsTestPreview(e3) { + this._supportsTestPreview = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsPreview", "value")); } - get questionSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("question"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("AskForBooleanQuestion", r2.builderIds.parts.genericCommunication, e3, t3); + setSupportsPreview(e3) { + return this.supportsTestPreview = e3, this; } - } - 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, "noMatchDigitalBotSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "questionSequence", null), t2.askForBooleanSequences = new s(); - }, 54757: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get supportsDebugPublish() { + return this._supportsDebugPublish; } - get displayTypeName() { - return "ArchBaseValueCollectionBasic"; + set supportsDebugPublish(e3) { + this._supportsDebugPublish = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsDebugPublish", "value")); } - get isArchBaseValueCollectionBasic() { - return true; + setSupportsDebugPublish(e3) { + return this.supportsDebugPublish = e3, this; } - get valueText() { - return this._getValueTextCommon() || []; + get debugPublishRequiresTts() { + return this._debugPublishRequiresTts; } - } - t2.default = r2; - }, 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), c = i2(94765); - class d extends c.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + set debugPublishRequiresTts(e3) { + this._debugPublishRequiresTts = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "debugPublishRequiresTts", "value")); } - get className() { - return "GrammarType"; + setDebugPublishRequiresTts(e3) { + return this.debugPublishRequiresTts = e3, this; } - canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindGrammar", e3, [u.globalTypes.string]); + get supportsDisableASR() { + return this._supportsDisableASR; } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindGrammar(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; + set supportsDisableASR(e3) { + this._supportsDisableASR = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsDisableASR", "value")); } - createExpressionOptionClass() { - return r2.ExpressionTypeGrammarOptions.create(); + setSupportsDisableASR(e3) { + return this.supportsDisableASR = e3, this; } - get listManager() { - return o.grammarManager; + get supportsDynamicTimeslots() { + return this._supportsDynamicTimeslots; + } + set supportsDynamicTimeslots(e3) { + this._supportsDynamicTimeslots = e3; + } + setSupportsDynamicTimeslots(e3) { + return this.supportsDynamicTimeslots = e3, this; + } + get supportsDefaultSpeechSettings() { + return this._supportsDefaultSpeechSettings; } - get supportsLiteralEditor() { - return true; + set supportsDefaultSpeechSettings(e3) { + this._supportsDefaultSpeechSettings = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsDefaultSpeechSettings", "value")); } - } - 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) { - if (e3) { - var i2 = e3.indexOf(t3); - 0 <= i2 && e3.splice(i2, 1); + setSupportsDefaultSpeechSettings(e3) { + return this.supportsDefaultSpeechSettings = e3, this; } - }; - }, 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), c = i2(94765); - class d extends c.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + _checkInitializationForPropertyGet(e3) { + if (!this._isInitialized) throw new Error(`You are attempting to access the property '${e3}' on the flow definition '${this.type}' before it is initialized.`); } - get className() { - return "LanguageSkillType"; + addAdditionalInfoSection(e3, t3, i3) { + return this._additionalInfo[e3] = { description: t3, value: i3 }, this; } - createExpressionOptionClass() { - return new r2.ExpressionTypeNetworkObjectOptions(); + get canSaveAs() { + return this._canSaveAs && this.isCreatable; } - canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindLanguageSkill", e3, [u.globalTypes.string]); + set canSaveAs(e3) { + this._canSaveAs = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "canSaveAs", "value")); } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindLanguageSkill(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; + setCanSaveAs(e3) { + return this.canSaveAs = e3, this; } - _getLiteralValueOfExpression() { - return ""; + get canSuppressCallRecordings() { + return this._canSuppressCallRecordings; } - get listManager() { - return o.languageSkillManager; + set canSuppressCallRecordings(e3) { + this._canSuppressCallRecordings = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "canSuppressCallRecordings", "value")); } - } - 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), 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) { - super(e3, t3, i3); + setCanSuppressCallRecordings(e3) { + return this.canSuppressCallRecordings = e3, this; } - get className() { - return "ShippingOptionType"; + get suppressCallRecordingsDefaultValue() { + if (this._canSuppressCallRecordings) return this._suppressCallRecordingsDefaultValue; } - canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeShippingOption", e3, [c.globalTypes.string, c.globalTypes.string, c.globalTypes.string, c.globalTypes.currency]); + set suppressCallRecordingsDefaultValue(e3) { + this._canSuppressCallRecordings && (this._suppressCallRecordingsDefaultValue = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "suppressCallRecordingsDefaultValue", "value"))); } - 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})` : ""; + setSuppressCallRecordingsDefaultValue(e3) { + return this.suppressCallRecordingsDefaultValue = e3, this; } - _getLiteralValueOfExpression() { - return ""; + get languageTtsAndAsrSettingsComeFromConversation() { + return this.languagesSupportTtsAndAsrRuntime && !this.languagesSupportTtsAndAsrSettings; } - createExpressionOptionClass() { - return new u.ExpressionTypeShippingOptions(this.isCollection); + get commonLimits() { + return this._limits; } - get supportsLiteralEditor() { - return true; + getAdditionalInfoSection(e3) { + return this._additionalInfo[e3]; } - getPropLabel(e3) { - return e3.getProperty(t2.PROP_LABEL); + getSectionValue(e3) { + var t3; + return null === (t3 = this._additionalInfo[e3]) || void 0 === t3 ? void 0 : t3.value; } - getPropIdentifier(e3) { - return e3.getProperty(t2.PROP_IDENTIFIER); + static createForFlowType(e3) { + return new y(e3); } - getPropDetails(e3) { - return e3.getProperty(t2.PROP_DETAILS); + get maxFlowSize() { + return this._maxFlowSize; } - getPropPrice(e3) { - return e3.getProperty(t2.PROP_PRICE); + set maxFlowSize(e3) { + this._maxFlowSize = Math.round(g.ParameterValidator.expectNumber(e3, () => m.ParameterInfo.createPropertySet(this.className, "maxFlowSize", "value"))), this._maxFlowSizeToStopPublish = Math.round(this._maxFlowSize * s.default.maxFlowSizeToStopPublish); } - configurePropertyCreationParams(e3, i3, 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(d.askForPayment.askForPaymentShippingOptionLabel, d.askForPayment.askForPaymentShippingOptionLabelDesc), n3.options.facets.setMaxLength(512).setAllowNull(false).setMinLength(1); - break; - case t2.PROP_IDENTIFIER: - 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(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); - } + setMaxFlowSize(e3) { + return this.maxFlowSize = e3, this; } - get hasRichLiteralEditor() { - return true; + get maxFlowSizeToStopPublish() { + return this._maxFlowSizeToStopPublish; } - } - t2.ShippingOptionType = p, p.typeIdentifier = l.expressionTypeNames.shippingOption; - }, 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)), 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), 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 } }); + get supportsLogLevelConfiguration() { + return this._supportsLogLevelConfiguration; } - _fireBuilderPartExpressionTextChanged() { - this.parentFlow.loaded && _.fireEvent(this, p.builderPartExpressionTextChanged); + set supportsLogLevelConfiguration(e3) { + this._supportsLogLevelConfiguration = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsLogLevelConfiguration", "value")); } - _loadModel(e3, t3) { + setSupportsLogLevelConfiguration(e3) { + return this.supportsLogLevelConfiguration = e3, this; } - configureWithLanguageContext(e3, t3) { - var i3; - const n3 = null === (i3 = this.builderPartDef.partConfigurators) || void 0 === i3 ? void 0 : i3.configureWithLanguageContext; - o.default.isFunction(n3) && n3(this, e3, t3); + get supportsNlu() { + return this._supportsNlu; } - configureWithLanguageContexts(e3, t3) { - var i3; - const n3 = null === (i3 = this.builderPartDef.partConfigurators) || void 0 === i3 ? void 0 : i3.configureWithLanguageContexts; - o.default.isFunction(n3) && n3(this, e3, t3); + set supportsNlu(e3) { + this._supportsNlu = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsNlu", "value")); } - get hasError() { - return !this.outOfService && super.hasError; + setSupportsNlu(e3) { + return this.supportsNlu = e3, this; } - get hasWarning() { - return !this.outOfService && super.hasWarning; + get supportsNluCortex() { + return this._supportsNluCortex; } - get hasInfo() { - return !this.outOfService && super.hasInfo; + set supportsNluCortex(e3) { + this._supportsNluCortex = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsNluCortex", "value")); } - get isContainerPart() { - return false; + setSupportsNluCortex(e3) { + return this.supportsNluCortex = e3, this; } - get needsDeletion() { - let e3 = false; - try { - e3 = this._needsDeletion; - } catch (e4) { - } - return e3; + get supportsNluCortexIntents() { + return this._supportsNluCortexIntents; } - get _needsDeletion() { - return false; + set supportsNluCortexIntents(e3) { + this._supportsNluCortexIntents = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsNluCortexIntents", "value")); } - _validateBuilderObject(e3, t3) { - if (this.outOfService) return true; - let i3 = super._validateBuilderObject(e3, t3); - try { - this._preValidateConfigureResultsOrganizer(e3), i3 = this._validatePart(e3, t3); - } catch (t4) { - i3 = false, e3.addError(this, h.builders.errorValidatingBuilderPart); - } finally { - this._postValidateClearResultsOrganizer(e3); - } - return i3; + setSupportsNluCortexIntents(e3) { + return this.supportsNluCortexIntents = e3, this; } - _preValidateConfigureResultsOrganizer(e3) { + get supportsNluIntents() { + return this._supportsNluIntents; } - _postValidateClearResultsOrganizer(e3) { + set supportsNluIntents(e3) { + this._supportsNluIntents = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsNluIntents", "value")); } - _validatePart(e3, t3) { - var i3; - e3.setContextIsBuilderPartDefRelated(); - let n3 = true; - try { - (null === (i3 = this.owningExpression.options) || void 0 === i3 ? void 0 : i3.additionalBuilderPartDefs.some((e4) => e4.id === this.builderPartDefId)) && (this._meetsFeatureRequirementsCheck = true, this._isAvailableForFlowTypeCheck = true), void 0 === this._meetsFeatureRequirementsCheck && (this._meetsFeatureRequirementsCheck = this.builderPartDef.meetsFeatureRequirements), true !== this._meetsFeatureRequirementsCheck ? (e3.addError(this, (0, r2.sprintf)(h.expression.builderPartOrContainerUnavailableFeatureRequirements, this.builderPartDef.name)), n3 = false) : (void 0 === this._isAvailableForFlowTypeCheck && (this._isAvailableForFlowTypeCheck = this.builderPartDef.isAvailableForFlow(this.parentFlow)), true !== this._isAvailableForFlowTypeCheck && (e3.addError(this, (0, r2.sprintf)(h.expression.builderPartOrContainerUnavailableForFlowType, this.builderPartDef.name, this.parentFlow.info.flowTypeName)), n3 = false)); - } finally { - e3.clearContextIsBuilderPartDefRelated(); - } - return n3; + setSupportsNluIntents(e3) { + return this.supportsNluIntents = e3, this; } - createGenerationResult(e3, t3) { - return e3.createGeneration().setReplacementTokens(t3); + get supportsPeriodicState() { + return this._supportsPeriodicState && this.supportsStates; } - createSingleStringGenerationResult(e3) { - return this.createGenerationResult(s.default.singleTokenReplacementGenerator, e3); + set supportsPeriodicState(e3) { + this._supportsPeriodicState = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsPeriodicState", "value")); } - get outOfService() { - return !!this.builderPartModel && !!this.builderPartModel.outOfService; + setSupportsPeriodicState(e3) { + return this.supportsPeriodicState = e3, this; } - set outOfService(e3) { - !!e3 !== this.builderPartModel.outOfService && (this.builderPartModel.outOfService = !!e3, this._processOutOfService(!!e3), this._fireBuilderPartExpressionTextChanged()); + get supportsQuickRepliesFlowLevelSetting() { + return this._supportsFlowLevelQuickReplyButtonSetting; } - get overrideErrorText() { - return this._overrideErrorText; + set supportsQuickRepliesFlowLevelSetting(e3) { + this._supportsFlowLevelQuickReplyButtonSetting = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsQuickRepliesFlowLevelSetting", "value")); } - get _overrideErrorText() { + get supportsFlowOptimizationData() { + return this._supportsFlowOptimizationData; } - _processOutOfService(e3) { + set supportsFlowOptimizationData(e3) { + this._supportsFlowOptimizationData = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsFlowOptimizationData", "value")); } - get builderPartDefId() { - var e3; - return null === (e3 = this.builderPartModel) || void 0 === e3 ? void 0 : e3.builderPartDefId; + setSupportsFlowOptimizationData(e3) { + return this.supportsFlowOptimizationData = e3, this; } - get builderPartDef() { - return this._builderPartDef || (this._builderPartDef = this.isContainerPart ? l.default.getBuilderPartContainerDefById(this.builderPartDefId) : l.default.getBuilderPartDefById(this.builderPartDefId)), this._builderPartDef; + get supportsPathDiscovery() { + return this._supportsPathDiscovery; } - buildExpressionGeneration() { - if (this.outOfService) return ""; - if (!this._amBuildingExpressionGeneration) { - this._amBuildingExpressionGeneration = true; - try { - return this._buildExpressionGeneration(); - } finally { - this._amBuildingExpressionGeneration = false; - } - } + set supportsPathDiscovery(e3) { + this._supportsPathDiscovery = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsPathDiscovery", "value")); } - _buildExpressionGeneration() { - throw "You must override the _buildExpressionGeneration method in inheriting classes"; + setSupportsPathDiscovery(e3) { + return this.supportsPathDiscovery = e3, this; } - get cannotBeDeleted() { - return this._cannotBeDeleted; + setSupportsQuickRepliesFlowLevelSetting(e3) { + return this.supportsQuickRepliesFlowLevelSetting = e3, this; } - set cannotBeDeleted(e3) { - this._cannotBeDeleted = d.ParameterValidator.expectBool(e3, () => c.ParameterInfo.createPropertySet(this.className, "cannotBeDeleted", "value")); + hasChannelType(e3) { + return a.default.contains(this._channelTypes, e3); } - get definitionId() { - return this.builderPartDefId; + get channelTypes() { + return this._channelTypes; } - setCannotBeDeleted(e3) { - return this.cannotBeDeleted = e3, this; + set channelTypes(e3) { + this._channelTypes = e3; } - get className() { - return "BaseBuilderPartViewModel"; + setChannelTypes(e3) { + return this.channelTypes = e3, this; } - createBuilderPartViewModel(e3, t3) { - throw "You must override the createBuilderPartViewModel method in inheriting classes"; + get supportsMoreThanOneChannelType() { + return this._channelTypes.length > 1; } - _destroy() { - _.unregisterAndRemoveObject(this), this._amBuildingExpressionGeneration = void 0, this._builderPartDef = void 0, this._builderPartModel = void 0, this._cannotBeDeleted = void 0, super._destroy(); + get channelTypeVariableName() { + return this._channelTypeVariableName; } - get isBaseBuilderPartViewModel() { - return true; + set channelTypeVariableName(e3) { + this._channelTypeVariableName = g.ParameterValidator.expectString(e3, () => m.ParameterInfo.createPropertySet(this.className, "channelTypeVariableName", "value")); } - get id() { - return this._builderPartModel.id; + setChannelTypeVariableName(e3) { + return this.channelTypeVariableName = e3, this; } - get viewId() { - return this._builderPartDef.viewId; + get supportsRecordingSettings() { + return this.canSuppressCallRecordings; } - get builderPartModel() { - return this._builderPartModel; + get outputModes() { + return this._outputModes; } - get descriptionInfo() { - return this.builderPartDef.descriptionInfo; + set outputModes(e3) { + this._outputModes = e3; } - getFullDescription() { - return this.descriptionInfo; + setOutputModes(e3) { + return this.outputModes = e3, this; } - get sortValue() { - return "0"; + get supportsMoreThanOneOutputMode() { + var e3; + return (null === (e3 = this._outputModes) || void 0 === e3 ? void 0 : e3.length) > 1; } - } - t2.default = m; - }, 54976: (e2, t2, i2) => { - const n2 = i2(2210), r2 = i2(13240), o = i2(90807), a = i2(7401); - function s() { - Object.defineProperties(this, { _errorBindings: { writable: true }, _preTransferAudio: { writable: true }, _preTransferCommunication: { writable: true }, _failureTransferAudio: { writable: true }, _failureTransferCommunication: { writable: true } }), s.baseConstructor.apply(this, arguments); - } - r2.extend(s, "BaseTransferActionModel"), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)), this.preTransferAudio.pasteReIdOrRename(e3), this.preTransferCommunication.pasteReIdOrRename(e3), this.failureTransferAudio.pasteReIdOrRename(e3), this.failureTransferCommunication.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.preTransferAudio.pasteResolveOldToNewValues(e3), this.preTransferCommunication.pasteResolveOldToNewValues(e3), this.failureTransferAudio.pasteResolveOldToNewValues(e3), this.failureTransferCommunication.pasteResolveOldToNewValues(e3); - } }, errorBindings: { enumerable: true, get: function() { - return this._errorBindings; - }, set: function(e3) { - this._errorBindings = this.reviveArray(e3, o); - } }, preTransferAudio: { enumerable: true, get: function() { - return this._preTransferAudio; - }, set: function(e3) { - this._preTransferAudio = this.reviveItem(e3, n2); - } }, preTransferCommunication: { enumerable: true, get: function() { - return this._preTransferCommunication; - }, set: function(e3) { - this._preTransferCommunication = this.reviveItem(e3, a); - } }, failureTransferAudio: { enumerable: true, get: function() { - return this._failureTransferAudio; - }, set: function(e3) { - this._failureTransferAudio = this.reviveItem(e3, n2); - } }, failureTransferCommunication: { enumerable: true, get: function() { - return this._failureTransferCommunication; - }, set: function(e3) { - this._failureTransferCommunication = this.reviveItem(e3, a); - } } }), e2.exports = s; - }, 54982: (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 = i2(26847), s = n2.__importDefault(i2(6074)); - class l extends s.default { - constructor(e3) { - super(e3), this._coreTaskViewModel = e3, this._isVariableContainer = true; + get outputValuesSupportVariableExpressions() { + return this._outputValuesSupportVariableExpressions; } - get coreTaskViewModel() { - return this._coreTaskViewModel; + set outputValuesSupportVariableExpressions(e3) { + this._outputValuesSupportVariableExpressions = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "outputValuesSupportVariableExpressions", "value")); } - addVariable(e3, t3, i3) { - return this._addVariable(this, "addVariable", e3, t3, i3); + setOutputValuesSupportVariableExpressions(e3) { + return this.outputValuesSupportVariableExpressions = e3, this; } - get displayTypeName() { - return "ArchTask"; + get outputModeVariableName() { + return this._outputModeVariableName; } - get isArchTask() { - return true; + set outputModeVariableName(e3) { + this._outputModeVariableName = g.ParameterValidator.expectString(e3, () => m.ParameterInfo.createPropertySet(this.className, "outputModeVariableName", "value")); } - get isSecure() { - return this._coreTaskViewModel.consumesSecureData; + setOutputModeVariableName(e3) { + return this.outputModeVariableName = e3, this; } - get logStr() { - if (!this._coreTaskViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); + get dependencyType() { + return this._dependencyType; } - getVariableByName(e3) { - this._checkItemIsValidLiteralString(this._infoParm("variableName", "getVariableByName"), e3); - const t3 = this._coreTaskViewModel.parentFlow.variableGroup.getVariableByName(e3, this._coreTaskViewModel); - if (t3) return this.coreFactory.createArchWrapper(t3); + set dependencyType(e3) { + this._dependencyType = e3; } - get name() { - return this._coreTaskViewModel.name; + setDependencyType(e3) { + return this.dependencyType = e3, this; } - set name(e3) { - this._checkItemIsValidLiteralString(this._infoPropSet("newValue", "name"), e3), this._coreTaskViewModel.name = e3; + get errorHandlingTypes() { + return this._errorHandlingTypes; } - get branches() { - const e3 = []; - return this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths && r2.default.each(this._coreTaskViewModel.getBranches(), (t3) => { - e3.push(this.coreFactory.createArchWrapper(t3)); - }), e3; + get errorHandlingTypesMap() { + return this._errorHandlingTypesMap; } - get trackingId() { - return this._coreTaskViewModel.trackingId; + set errorHandlingTypes(e3) { + if (this._errorHandlingTypes = e3, this._errorHandlingTypesMap = {}, null == e3 ? void 0 : e3.length) for (const e4 of this._errorHandlingTypes) void 0 !== (null == e4 ? void 0 : e4.value) && (this._errorHandlingTypesMap[e4.value] = e4); } - set trackingId(e3) { - const t3 = this._infoPropSet("value", "trackingId"); - this._ensureCanSetTrackingIds(t3, o.default, e3); - const i3 = this._coreTaskViewModel.trackingId; - i3 !== e3 && (this._coreTaskViewModel.trackingId = e3, this.logItemVerboseNote(t3, `updated tracking ID from ${i3} to ${this._coreTaskViewModel.trackingId}.`)); + setErrorHandlingTypes(e3) { + return this.errorHandlingTypes = e3, this; } - get variables() { - return this._coreTaskViewModel.parentFlow.variableGroup.filterByTask(this._coreTaskViewModel).filter((e3) => e3.isTaskVariable && !e3.isClone).map((e3) => this.coreFactory.createArchWrapper(e3)); + get fileExtension() { + return this._fileExtension; } - _getArchBranchForOutputId(e3) { - if (e3 === a.outputIds.fake) return; - const t3 = r2.default.find(this._coreTaskViewModel.getBranches(), (t4) => t4.outputId === e3); - return t3 ? this.coreFactory.createArchWrapper(t3) : void 0; + set fileExtension(e3) { + this._fileExtension = g.ParameterValidator.expectString(e3, () => m.ParameterInfo.createPropertySet(this.className, "fileExtension", "value")); } - addBranch(e3) { - const t3 = this._infoParm("branchName", "addBranch"); - this._checkItemIsValidLiteralString(t3, e3), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot add a branch to a task that is in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); - const i3 = this._coreTaskViewModel.getBranchByName(e3); - return i3 && this.logErrorAndThrow(`unable to add a branch named '${e3}' to this task. The branch name '${i3.label}' already exists.`), this.coreFactory.createArchWrapper(this._coreTaskViewModel.createBranch(e3)); + setFileExtension(e3) { + return this.fileExtension = e3, this; } - deleteBranch(e3) { - const t3 = this._infoParm("branchToDelete", "deleteBranch"); - this._checkItem(t3, !(r2.default.isString(e3) || e3 && e3.isArchBranch), "the branchToDelete parameter must either be a string or an ArchBranch instance."), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot delete a branch to a task that is in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); - const i3 = r2.default.isString(e3) ? e3 : e3.outputId; - return this._coreTaskViewModel.removeBranch(i3), !this._coreTaskViewModel.getBranches().some((e4) => e4.outputId === i3); + get flowInvokingEvents() { + return this._flowInvokingEvents; } - getBranchByDefaultOutput() { - return this._getArchBranchForOutputId(a.outputIds.default); + addFlowInvokingEvent(e3) { + if (a.default.isString(e3) && e3.length) { + if (e3 && !this._flowInvokingEventsMap[e3]) { + const t3 = h.allFlowInvokingEventsMap[e3] || { id: e3, description: (0, r.sprintf)(f.flowInvokingEvents.unknownFlowInvokingEvent, e3) }; + this._flowInvokingEvents.push(t3), this._flowInvokingEventsMap[t3.id] = t3; + } + return this; + } } - getBranchByOutputId(e3) { - const t3 = this._infoParm("outputId", "getBranchByOutputId"); - this._checkItemIsValidLiteralString(t3, e3, false), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot get a task branch in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); - return this._getArchBranchForOutputId(e3) || (this.logError(`the output id '${e3}' is not valid for ${this.logStr}.`), null); + supportsFlowInvokingEvent(e3) { + return !!this._flowInvokingEventsMap[e3]; } - getBranchByName(e3) { - const t3 = this._infoParm("branchName", "getBranchByName"); - this._checkItemIsValidLiteralString(t3, e3), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot get a task branch by name in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); - const i3 = this._coreTaskViewModel.getBranchByName(e3); - return r2.default.isObject(i3) ? this.coreFactory.createArchWrapper(i3) : (this.logError(`could not find the branch name '${e3}' for ${this.logStr}.`), null); + get hasDestinationFlowTypes() { + return this._hasDestinationFlowTypes; } - get isReusableTask() { - return this._coreTaskViewModel.isReusableTask; + set hasDestinationFlowTypes(e3) { + this._hasDestinationFlowTypes = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "hasDestinationFlowTypes", "value")); } - get branchCount() { - return this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths ? this._coreTaskViewModel.getBranches().length : 0; + setHasDestinationFlowTypes(e3) { + return this.hasDestinationFlowTypes = e3, this; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreTaskViewModel.parentFlow); + get flowTypeCategory() { + return this._flowTypeCategory; } - get supportsBranches() { - return this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths; + set flowTypeCategory(e3) { + this._flowTypeCategory = e3; } - } - t2.default = l; - }, 54987: (e2, t2, i2) => { - const { abortSurveyActionType: n2 } = i2(30801), r2 = i2(28730), o = i2(7401); - function a() { - Object.defineProperties(this, { _disposition: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, n2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.disposition.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.disposition.pasteResolveOldToNewValues(e3); - } }, disposition: { enumerable: true, get: function() { - return this._disposition; - }, set: function(e3) { - this._disposition = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 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), c = l.getTopic("executionDataService"); - var d, p; - !(function(e3) { - e3.bot = "bot", e3.dataAction = "dataAction", e3.flow = "flow"; - })(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() { - r2.bootstrapDataLoaded.then(() => { - this.initialize(true); - }); + setFlowTypeCategory(e3) { + return this.flowTypeCategory = e3, this; } - initialize(e3) { - this._characteristicMap && !e3 || (this._characteristicMap = /* @__PURE__ */ new Map(), Object.values(p).forEach((e4) => { - if (!e4) return; - let 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 isAvailable() { + return this._isAvailable; } - get 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; + set isAvailable(e3) { + this._isAvailable = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "isAvailable", "value")); } - _isExecutionDataAvailableForType(e3, t3) { - switch (e3) { - case d.bot: - return o.isFeatureAvailable(a.default.botInstanceExecutionData); - 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 d.dataAction: - return o.isFeatureAvailable(a.default.dataActionInstanceExecutionData); - default: - return false; - } + setIsAvailable(e3) { + return this.isAvailable = e3, this; } - isExecutionDataTypeAvailable(e3) { - return this._isExecutionDataAvailableForType(e3); + get isCreatable() { + return this._isCreatable && this.isAvailable; } - flowTypeSupportsExecutionData(e3) { - return this._isExecutionDataAvailableForType(d.flow, e3); + set isCreatable(e3) { + this._isCreatable = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "isCreatable", "value")); } - isLogLevelCharacteristicAvailable(e3) { - return this._isLogLevelCharacteristicAvailable(e3); + setIsCreatable(e3) { + return this.isCreatable = e3, this; } - isLogLevelCharacteristicAvailableForFlowType(e3, t3) { - return this._isLogLevelCharacteristicAvailable(e3, t3); + get isDeprecated() { + return this._isDeprecated; } - _isLogLevelCharacteristicAvailable(e3, t3) { - if (!this.characteristicMap[e3]) return false; - if (!t3) return true; - if (s.flowTypes.isCiceroFlowType(t3)) switch (e3) { - case p.flowExecutionItems: - case p.flowEventError: - case p.flowEventWarning: - return true; - default: - return o.isFeatureAvailable(a.default.flowInstanceExecutionDataBotFlows); - } - else if (s.flowTypes.isAutomateFlowType(t3) && e3 === p.flowCommunications) return false; - return true; + set isDeprecated(e3) { + this._isDeprecated = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "isDeprecated", "value")); } - getExecutionDataLogLevelDisplayStr(e3, t3) { - let i3; - if (null == e3 ? void 0 : e3.length) { - const t4 = `executionDataLogLevelLabel${e3.charAt(0).toUpperCase()}${e3.slice(1)}`; - i3 = u.executionDataConfiguration[t4]; - } - return !i3 && t3 && (i3 = u.generic.unknown), i3; + setIsDeprecated(e3) { + return this.isDeprecated = e3, this; } - }(); - }, 55015: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = (n2.__importStar(i2(12847)), i2(4648), i2(80295)), o = i2(80295), a = i2(19596); - class s extends a.DataContract { - static createNotAvailable(e3 = "") { - return new s({ isAvailable: false, id: e3 }); + get previewPlacesCall() { + return this._previewPlacesCall && this._supportsTestPreview; } - static createAvailable(e3 = "") { - return new s({ isAvailable: true, id: e3 }); + set previewPlacesCall(e3) { + this._previewPlacesCall = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "previewPlacesCall", "value")); } - static updateDebugAvailability(e3) { + setPreviewPlacesCall(e3) { + return this._previewPlacesCall = e3, this; } - constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_isAvailable"), (0, o.makeUnenumerable)(this, "_id"), (0, o.makeUnenumerable)(this, "_unavailableReason"), (0, o.makeUnenumerable)(this, "_ownerId"); + get previewPerformsLaunch() { + return this._previewPerformsLaunch && this._supportsTestPreview; } - setOwnerId(e3) { - this._ownerId = e3; + set previewPerformsLaunch(e3) { + this._previewPerformsLaunch = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "previewPerformsLaunch", "value")); } - get id() { - return this._id; + setPreviewPerformsLaunch(e3) { + return this._previewPerformsLaunch = e3, this; } - set id(e3) { - this._id = e3; + get previewCreatesWorkitem() { + return this._previewCreatesWorkitem && this._supportsTestPreview; } - get isAvailable() { - return this._isAvailable; + set previewCreatesWorkitem(e3) { + this._previewCreatesWorkitem = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "previewCreatesWorkitem", "value")); } - set isAvailable(e3) { - this._isAvailable = e3; + setPreviewCreatesWorkitem(e3) { + return this._previewCreatesWorkitem = e3, this; } - get unavailableReason() { - return this._unavailableReason; + get previewCreatesBotSession() { + return this._previewCreatesBotSession && this._supportsTestPreview; } - set unavailableReason(e3) { - this._unavailableReason = e3; + set previewCreatesBotSession(e3) { + this._previewCreatesBotSession = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "previewCreatesBotSession", "value")); } - } - t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "isAvailable", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "unavailableReason", null); - }, 55026: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneyOutcomeScoresBySessionActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + setPreviewCreatesBotSession(e3) { + return this._previewCreatesBotSession = e3, this; } - } - t2.GetJourneyOutcomeScoresBySessionActionModel = o, o.__type = r2.getJourneyOutcomeScoresBySessionActionType, o.registerType(); - }, 55031: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get isEmbeddable() { + return this._isEmbeddable; } - get _globalTypeName() { - return "dateCollection"; + set isEmbeddable(e3) { + this._isEmbeddable = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "isEmbeddable", "value")); } - get displayTypeName() { - return "ArchValueDateCollection"; + get previewAcceptsJsonPayload() { + return this._previewAcceptsJsonPayload && this._supportsTestPreview; } - get isArchValueDateCollection() { - return true; + set previewAcceptsJsonPayload(e3) { + this._previewAcceptsJsonPayload = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "previewAcceptsJsonPayload", "value")); } - } - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + setPreviewAcceptsJsonPayload(e3) { + return this.previewAcceptsJsonPayload = e3, this; } - static get managedProperties() { - 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 }); + get previewsAreReplayable() { + return this._previewsAreReplayable && this._supportsTestPreview; } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + set previewsAreReplayable(e3) { + this._previewsAreReplayable = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "previewsAreReplayable", "value")); } - get _globalTypeName() { - return "stringKeyValuePairCollection"; + setPreviewsAreReplayable(e3) { + return this.previewsAreReplayable = e3, this; } - get displayTypeName() { - return "ArchValueStringKeyValuePairCollection"; + get isReferenceableFromOtherFlows() { + return this._isReferenceableFromOtherFlows; } - get isArchValueStringKeyValuePairCollection() { - return true; + set isReferenceableFromOtherFlows(e3) { + this._isReferenceableFromOtherFlows = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "isReferenceableFromOtherFlows", "value")); } - } - t2.default = r2; - }, 55072: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importDefault(i2(17405)); - class a extends o.default { - constructor(e3) { - super(e3); + setIsReferenceableFromOtherFlows(e3) { + return this.isReferenceableFromOtherFlows = e3, this; } - get _globalTypeName() { - return "decimal"; + get isAutomateFlowType() { + return o.flowTypes.isAutomateFlowType(this.type); } - get displayTypeName() { - return "ArchValueDecimal"; + get isAutomateOrCiceroFlowType() { + return o.flowTypes.isAutomateOrCiceroFlowType(this.type); } - get isArchValueDecimal() { - return true; + get isCallFlowType() { + return o.flowTypes.isVxmlgenFlowType(this.type); } - setExpressionMaxDecimal() { - this._setExpression(this._infoVal("arch_max_decimal", "setMaxDecimal"), r2.default.maxDecimalAsStr); + get isInitialized() { + return this._isInitialized; } - setExpressionMinDecimal() { - this._setExpression(this._infoVal("arch_min_decimal", "setMinDecimal"), r2.default.minDecimalAsStr); + set isInitialized(e3) { + this._isInitialized = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "isInitialized", "value")); } - setLiteralDecimal(e3) { - const t3 = this._infoParm("decimalVal", "setLiteralDecimal"); - this._checkItemIsValidLiteralDecimal(t3, e3, false), this._setLiteral(t3, e3); + setIsInitialized(e3) { + return this.isInitialized = e3, this; } - } - t2.default = a; - }, 55167: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84502)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); + get isFlowDefinition() { + return true; } - get _flowType() { - return r2.flowTypes.flowTypeInQueueEmail; + get languageChangesAreImmediate() { + return this._languageChangesAreImmediate && this._supportsLanguages; } - get displayTypeName() { - return "ArchFlowInQueueEmail"; + set languageChangesAreImmediate(e3) { + this._languageChangesAreImmediate = g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "languageChangesAreImmediate", "value")); } - get isArchFlowInQueueEmail() { - return true; + setLanguageChangesAreImmediate(e3) { + return this.languageChangesAreImmediate = e3, this; } - } - t2.default = o; - }, 55190: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(25149); - function o() { - } - o.prototype.getQueues = function(e3) { - return n2.build(r2.getQueues).queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getQueuesDivisionViews = function(e3) { - return n2.build(r2.getQueuesDivisionViews).queryParams(e3.getSearchQueryParams()).call(); - }, o.prototype.getQueue = function(e3) { - return n2.build(r2.getQueue).templateParams({ id: e3 }).call(); - }, o.prototype.getQueue.api = r2.getQueue, e2.exports = new o(); - }, 55279: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ConversationCustomAttributeSchemaList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(82675); - class s extends o.PagedList { - constructor(e3) { - super(e3); + get languagesSupportSttSetting() { + return this._languagesSupportSttSetting && this._supportsLanguages && this.hasChannelType(_.channelTypeCall); } - get entities() { - return this._entities; + set languagesSupportSttSetting(e3) { + this._languagesSupportSttSetting = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "languagesSupportSttSetting", "value")); } - set entities(e3) { - this._entities = this.reviveArray(e3, a.ConversationCustomAttributeSchema); + get supportsGrammars() { + return this._supportsGrammars; } - } - t2.ConversationCustomAttributeSchemaList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 55295: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.name = void 0, this.isSecure = void 0, this.isDefault = void 0, this.languages = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "Engine"), e2.exports = n2; - }, 55299: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseClass = void 0; - class i2 { - get isBaseClass() { - return true; + set supportsGrammars(e3) { + this._supportsGrammars = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsGrammars", "value")); } - } - t2.BaseClass = i2, i2.isBaseClassObject = true; - }, 55352: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ConfigurationListItemStatuses = void 0, t2.ConfigurationListItemStatuses = { active: "active", deleted: "deleted" }; - }, 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), c = n2.__importDefault(i2(6413)), d = i2(81801), p = i2(47957), _ = i2(27862), h = i2(94384); - class m extends s.default { - get requiredAuth() { - return d.externalAuthorizations.authStrings.integrationView; + get languagesRequireTts() { + return this._languagesRequireTts && this._languagesSupportTtsAndAsrSettings; } - get dependencyType() { - return _.DialogEngineBotVersion; + set languagesRequireTts(e3) { + this._languagesRequireTts = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "languagesRequireTts", "value")); } - constructor() { - super(), this.topic = a.getTopic("DialogEngineVersionManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botVersion", this.actionsForUsageSearch = [l.dialogEngineActionType], this.apiCallList = void 0, this.apiCallSingle = h.getVersion, this.className = "DialogEngineVersionManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = p.dialogEngine.dialogEngineBotVersion, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "dialogEngineBotVersions", this.hasDependencyTrackingId = true, this.noApiCallList = true, this._initialize(); + setLanguagesRequireTts(e3) { + return this.languagesRequireTts = e3, this; } - get viewModelIsAutoSelectedBotRunnable() { - return true; + get languagesSupportTtsAndAsrSettings() { + return this._languagesSupportTtsAndAsrSettings && this._supportsLanguages; } - addItem(e3, t3, i3) { - var 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); + set languagesSupportTtsAndAsrSettings(e3) { + this._languagesSupportTtsAndAsrSettings = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "languagesSupportTtsAndAsrSettings", "value")); } - _createItemViewModel(e3) { - return new c.default(e3); + get languagesSupportTtsAndAsrRuntime() { + return this._languagesSupportTtsAndAsrRuntime && this._supportsLanguages && this._supportsAudio; } - 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 ? u.dialogEngineBotManager.getItem(t3.botId) : null; + set languagesSupportTtsAndAsrRuntime(e3) { + this._languagesSupportTtsAndAsrRuntime = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "languagesSupportTtsAndAsrRuntime", "value")); } - } - t2.DialogEngineVersionManager = m, t2.dialogEngineVersionManager = new m(); - }, 55422: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(90807), { screenPopActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _inputs: { writable: true } }), this.screenPopId = void 0, this.screenPopName = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); - } }, inputs: { enumerable: true, get: function() { - return this._inputs; - }, set: function(e3) { - this._inputs = this.reviveArray(e3, r2); - } } }), e2.exports = a; - }, 55440: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.single = void 0; - 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, c = 0; - t3.subscribe(s.createOperatorSubscriber(i3, function(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()); - })); - }); - }; - }, 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)), 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); + setLanguagesSupportSttSetting(e3) { + return this.languagesSupportSttSetting = e3, this; } - static get branchInfo() { - return [a.default.fake, a.default.failure, a.default.timeout]; + setLanguagesSupportTtsAndAsrSettings(e3) { + return this.languagesSupportTtsAndAsrSettings = e3, this; } - static get managedProperties() { - return [{ property: "specificNumChars", label: d.dialName.numberOfCharacters, type: r2.expressionTypeNames.integer, options: o.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("numChars")) }]; + setLanguagesSupportTtsAndAsrRuntime(e3) { + return this.languagesSupportTtsAndAsrRuntime = e3, this; } - get matchByType() { - return this.model.matchByType; + get languagesSupportDefaultLanguage() { + return this._languagesSupportDefaultLanguage && this._supportsLanguages; } - set matchByType(e3) { - this.model.matchByType = e3; + set languagesSupportDefaultLanguage(e3) { + this._languagesSupportDefaultLanguage = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "languagesSupportDefaultLanguage", "value")); } - get matchingStyle() { - return this.model.matchingStyle; + setLanguagesSupportDefaultLanguage(e3) { + return this.languagesSupportDefaultLanguage = e3, this; } - set matchingStyle(e3) { - this.model.matchingStyle = e3; + get supportsDefaultLanguageChange() { + return this._supportsDefaultLanguageChange && this._supportsLanguages && this._supportsLanguageAddRemove; } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(50316)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._silenceDuration = this.coreFactory.createArchWrapper(e3.silenceDuration), this._timeout = this.coreFactory.createArchWrapper(e3.timeout); + set supportsDefaultLanguageChange(e3) { + this._supportsDefaultLanguageChange = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsDefaultLanguageChange", "value")); } - get isArchBaseActionWithSilenceDetection() { - return true; + setSupportsLanguageDefaultChange(e3) { + return this.supportsDefaultLanguageChange = e3, this; } - get silenceDuration() { - return this._silenceDuration; + get languagesSupportDefaultLanguageSkill() { + return this._languagesSupportDefaultLanguageSkill && this._supportsLanguages && l.globalTypes.languageSkill.isAvailableForFlowType(this.type); } - get timeout() { - return this._timeout; + set languagesSupportDefaultLanguageSkill(e3) { + this._languagesSupportDefaultLanguageSkill = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "languagesSupportDefaultLanguageSkill", "value")); } - } - t2.default = r2; - }, 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), 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(), c.validateAction(this, true, true), e3.id; + setLanguagesSupportDefaultLanguageSkill(e3) { + return this.languagesSupportDefaultLanguageSkill = e3, this; } - 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)) }]; + get supportsIntentDescriptions() { + return this._supportsIntentDescriptions; } - } - t2.default = _; - }, 55654: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getDataTables = l, t2.getDataTable = u; - const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importStar(i2(87459)), a = n2.__importDefault(i2(4648)), s = n2.__importDefault(i2(36019)); - function l(e3) { - const t3 = r2.isFeatureAvailable(a.default.divisionedDataTables) ? o.getDataTablesDivisionView : o.getDataTables; - return s.default.build(t3).queryParams(e3.getSearchQueryParams()).call(); - } - function u(e3) { - const t3 = r2.isFeatureAvailable(a.default.divisionedDataTables) ? o.getDataTableDivisionView : o.getDataTable; - return s.default.build(t3).templateParams({ id: e3 }).call(); - } - 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 = 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; - if ("tel:" === e3.substring(0, 4) ? n3 = t2.SCHEME_TYPES.TEL : "sip:" === e3.substring(0, 4) ? n3 = t2.SCHEME_TYPES.SIP : "sips:" === e3.substring(0, 5) && (n3 = t2.SCHEME_TYPES.SIPS), n3 && (i3.schemeType = n3, e3 = e3.substring(n3.length)), n3 === t2.SCHEME_TYPES.TEL && "+" === e3.substring(0, 1)) { - let t3; - (e3 = e3.substring(1)).length && (t3 = a.dialingCodes[e3.substring(0, 1)], t3 || (t3 = a.dialingCodes[e3.substring(0, 2)], t3 || (t3 = a.dialingCodes[e3.substring(0, 3)]))), t3 && (i3.dialingCode = t3, e3 = e3.substring(t3.length)); - } - i3.number = e3; + set supportsIntentDescriptions(e3) { + this._supportsIntentDescriptions = e3; } - return i3; - } - }, 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)), c = i2(62297), d = n2.__importDefault(i2(15777)), p = i2(47957), _ = (0, a.getTopic)("TTSEngineViewModel"); - class h extends c.EngineViewModel { - get className() { - return "TTSEngineViewModel"; + setSupportsIntentDescriptions(e3) { + return this.supportsIntentDescriptions = e3, this; } - 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 d.default(e4, i3, this); - s.default.items[i3] = n3, this.voices[i3] = n3; - }); + get availableLanguageTags() { + if (this.supportsLanguages && 0 !== this._availableLanguageTags.length) return this._availableLanguageTags; } - addLanguage(e3, t3, i3) { - super.addLanguage(e3, t3, i3), o.default.each(i3, (t4) => { - const i4 = this.getDependencyTrackingIdForVoice(t4.id), n3 = this.voices[i4]; - n3 ? n3.setLanguage(e3, t4.isDefault) : _.error(`Voice view model not found when trying to add language with voice. ID: '${i4}', langId: '${e3}'`); - }); + set availableLanguageTags(e3) { + this._availableLanguageTags = g.ParameterValidator.expectArray(e3, () => m.ParameterInfo.createPropertySet(this.className, "availableLanguageTags", "value")); } - get maxRequestLength() { - return this.model.maxRequestLength; + setAvailableLanguageTags(e3) { + return this.availableLanguageTags = e3, this; } - set maxRequestLength(e3) { - this.model.maxRequestLength = e3; + get supportsAllArchitectLanguageTags() { + return this._supportsLanguages && !a.default.isArray(this.availableLanguageTags); } - getFullDescription() { - if (!this.maxRequestLength) return; - const e3 = { name: this.name, additionalInfoSections: [], noAdditionalInfoSectionBullet: true }; - return this.maxRequestLength && e3.additionalInfoSections.push({ title: (0, r2.sprintf)(p.textToSpeech.maxCharLengthTitle, this.maxRequestLength), entries: [p.textToSpeech.maxCharLengthBody] }), e3; + get supportsAgentEscalation() { + return this._supportsAgentEscalation; } - getSortedVoicesArray() { - const e3 = o.default.map(this.voices, (e4) => e4); - return o.default.sortBy(e3, "name"); + set supportsAgentEscalation(e3) { + this._supportsAgentEscalation = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsAgentEscalation", "value")); } - getStringExceedsMaxRequestLengthError(e3, t3, i3) { - return o.default.isString(e3) && this.maxRequestLength && e3.length > this.maxRequestLength ? t3 && i3 ? (0, r2.sprintf)(p.audio.errorMaxTtsLengthForPrompt, t3, i3, e3.length, this.maxRequestLength, this.name) : (0, r2.sprintf)(p.audio.errorMaxTtsLength, e3.length, this.maxRequestLength, this.name) : null; + setSupportsAgentEscalation(e3) { + return this.supportsAgentEscalation = e3, this; } - getVoiceByName(e3) { - if (!e3) return; - const t3 = e3.toLocaleLowerCase(); - return o.default.find(this.voices, (e4) => e4.lowerName === t3); + get supportsAddVariablesInDataView() { + return this._supportsAddVariablesInDataView; } - getVoicesForLanguage(e3) { - return o.default.isString(e3) ? o.default.filter(this.voices, (t3) => t3 && t3.getVoiceSupportsLanguage(e3)) : []; + set supportsAddVariablesInDataView(e3) { + this._supportsAddVariablesInDataView = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsAddVariablesInDataView", "value")); } - getSelectableVoicesForLanguage(e3) { - return (0, l.isFeatureAvailable)(u.default.flexibleTtsSelection) ? Object.values(this.voices) : this.getVoicesForLanguage(e3); + setSupportsAddVariablesInDataView(e3) { + return this.supportsAddVariablesInDataView = e3, this; } - getDefaultVoiceForLanguage(e3) { - return o.default.find(this.voices, (t3) => t3.getIsVoiceDefaultForLanguage(e3)); + get supportsAutoDeletingVariablesWithNoUsages() { + return this._supportsAutoDeletingVariablesWithNoUsages; } - getDependencyTrackingIdForVoice(e3) { - return this.id + "/" + e3; + set supportsAutoDeletingVariablesWithNoUsages(e3) { + this._supportsAutoDeletingVariablesWithNoUsages = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsAutoDeletingVariablesWithNoUsages", "value")); } - get isTTSEngineViewModel() { - return true; + setSupportsAutoDeletingVariablesWithNoUsages(e3) { + return this.supportsAutoDeletingVariablesWithNoUsages = e3, this; } - } - t2.default = h; - }, 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), 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; + get supportsComplexTypes() { + return this._supportsComplexTypes; } - get hasWarnings() { - var e3; - return 0 === this.actionCount || this.surveyQuestionType.hasWarning || (null === (e3 = this.answerOptions) || void 0 === e3 ? void 0 : e3.hasWarning); + set supportsComplexTypes(e3) { + this._supportsComplexTypes = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsComplexTypes", "value")); } - get hasErrors() { - var e3; - return this.surveyQuestionType.hasError || (null === (e3 = this.answerOptions) || void 0 === e3 ? void 0 : e3.hasError); + setSupportsComplexTypes(e3) { + return this.supportsComplexTypes = e3, this; } - } - t2.QuestionSettings = R; - class D extends I.default { - constructor(e3) { - super(e3), this.editor_testing_tag = "voiceSurveyFlowSettings"; + get supportsContactDataType() { + return this._supportsContactDataType; } - get id() { - return "voiceSurveyFlowSettings"; + set supportsContactDataType(e3) { + this._supportsContactDataType = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsContactDataType", "value")); } - _resetQuestionVariables() { - this._questionIdMap = {}, this._answerOptionsExpressionIdMap = {}, this._questionGroups = []; + setSupportsContactDataType(e3) { + return this.supportsContactDataType = e3, this; } - get helpTopic() { - return v.helpTopics.treeNodes.voiceSurveyFlowSettings; + get supportsCustomJsonTypes() { + return this._supportsCustomJsonTypes; } - get className() { - return "VoiceSurveyFlowSettingsViewModel"; + set supportsCustomJsonTypes(e3) { + this._supportsCustomJsonTypes = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsCustomJsonTypes", "value")); } - getDisplayName() { - return E.voiceSurvey.voiceSurveyTitleWithSettings; + setSupportsCustomJsonTypes(e3) { + return this.supportsCustomJsonTypes = e3, this; } - getNodeName() { - return E.flow.types.voiceSurveyFlow; + get supportsCustomJsonTypeUserCreatedVariables() { + return this._supportsCustomJsonTypeUserCreatedVariables; } - get isVoiceSurveyFlowSettingsNode() { - return true; + set supportsCustomJsonTypeUserCreatedVariables(e3) { + this._supportsCustomJsonTypeUserCreatedVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsCustomJsonTypeUserCreatedVariables", "value")); } - get wrappedYamlName() { - return "settingsVoiceSurvey"; + setSupportsCustomJsonTypeUserCreatedVariables(e3) { + return this.supportsCustomJsonTypeUserCreatedVariables = e3, this; } - get archSurveyForm() { - var e3; - return null === (e3 = this.surveyFormInfo) || void 0 === e3 ? void 0 : e3.archSurveyForm; + get supportsConversationSummary() { + return this._supportsConversationSummary; } - get surveyFormInfo() { - return this._surveyFormInfo; + set supportsConversationSummary(e3) { + this._supportsConversationSummary = e3; } - set surveyFormInfo(e3) { - this._surveyFormInfo = e3; + setSupportsConversationSummary(e3) { + return this.supportsConversationSummary = e3, this; } - loadConfiguration(e3) { - const t3 = e3.botFlowSettings; - (null == t3 ? void 0 : t3.surveyFormInfo) && (this.surveyFormInfo = t3.surveyFormInfo), super.loadConfiguration(e3); + get supportsFlowCreationData() { + return this._supportsFlowCreationData; } - getConfiguration(e3, t3) { - var i3, n3; - const r3 = super.getConfiguration(e3, t3); - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const o2 = {}; - if (null === (i3 = Object.keys(this._answerOptionsExpressionIdMap)) || void 0 === i3 ? void 0 : i3.length) { - o2.surveyQuestions = []; - const i4 = Object.keys(this._answerOptionsExpressionIdMap); - for (const r4 of i4) { - const i5 = { surveyQuestion: { text: null === (n3 = this._answerOptionsExpressionIdMap[r4].question) || void 0 === n3 ? void 0 : n3.questionText, answerOptions: this._answerOptionsExpressionIdMap[r4].answerOptions.getConfiguration(e3, t3) } }; - o2.surveyQuestions.push(i5); - } - return a.default.isBoolean(r3.none) || a.default.extend(o2, r3), o2; - } - return r3; - } - e3.botFlowSettings.surveyFormInfo = this.surveyFormInfo; + set supportsFlowCreationData(e3) { + this._supportsFlowCreationData = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsFlowCreationData", "value")); } - createSlotVarForSlotName(e3, t3) { - const i3 = super.createSlotVarForSlotName(e3, t3); - return i3 && (this._addFormToSlotVariableMapping(i3), this.parentFlow.initializeDesignTimeCalled && i3.initializeDesignTime()), i3; + setSupportsFlowCreationData(e3) { + return this.supportsFlowCreationData = e3, this; } - _getManagedSlotMappingGroup(e3) { - return (null == e3 ? void 0 : e3.endsWith(h.default.variable.nameFollowUpSuffix)) ? e3.substring(0, e3.length - h.default.variable.nameFollowUpSuffix.length) : e3; + get supportsDataViewFiltering() { + return this._supportsDataViewFiltering; } - _addFormToSlotVariableMapping(e3) { - let t3; - 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) => { - var n4; - const r3 = { variableId: "", slotName: "", slotType: "" }; - r3.variableId = e3.id, r3.slotName = Object.keys(this.parentFlow.nluMetaData.slotToSlotVariablesMapping).find((t4) => this.parentFlow.nluMetaData.slotToSlotVariablesMapping[t4] === e3.id), r3.slotType = this.parentFlow.nluMetaData.slotToEntityTypesMapping[r3.slotName], r3.slotName.endsWith(h.default.variable.nameFollowUpSuffix) && (r3.isFollowUp = true), t3 = i4.id, this.surveyFormInfo && ((null === (n4 = this.surveyFormInfo.formToSlotVariableMappings[t3]) || void 0 === n4 ? void 0 : n4.length) ? this.surveyFormInfo.formToSlotVariableMappings[t3].push(r3) : this.surveyFormInfo.formToSlotVariableMappings[t3] = [r3]); - }); + set supportsDataViewFiltering(e3) { + this._supportsDataViewFiltering = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsDataViewFiltering", "value")); } - 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, w.SurveyForm, this.parentFlow); + setSupportsDataViewFiltering(e3) { + return this.supportsDataViewFiltering = e3, this; } - validate(e3) { - super.validate(e3); - 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); - break; - case g.SurveyFormDependencyErrors.disabled: - e3.addWarning(this, E.voiceSurvey.voiceSurveyFormIsDisabledShort); - break; - case g.SurveyFormDependencyErrors.notLatest: - e3.addWarning(this, E.voiceSurvey.voiceSurveyFormNotLatestVersionShort); - break; - default: - (null == t3 ? void 0 : t3.hasInternalFormError) && e3.addError(this, E.voiceSurvey.surveyFromIncompatible); - } - Object.values(this._questionIdMap).forEach((t4) => { - var i3; - t4.surveyQuestionType.validate(e3), null === (i3 = t4.answerOptions) || void 0 === i3 || i3.validate(e3), this._validateDuplicateDTMF(e3, t4), this._validateQuestionInUse(e3, t4); - }); + get supportsErrorAudio() { + return this._supportsErrorAudio; } - _validateQuestionInUse(e3, t3) { - 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; - }); - t3.actionCount = i3.length, t3.actionCount || e3.addWarning(this, (0, o.sprintf)(E.voiceSurvey.voiceSurveyQuestionNotInUseError, (0, f.getGroupQuestionName)(t3.groupSettings.questionGroup, t3.question))); + set supportsErrorAudio(e3) { + this._supportsErrorAudio = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsErrorAudio", "value")); } - _validateDuplicateDTMF(e3, t3) { - var i3; - const n3 = (0, y.getQuestionDtmfAnswerOptionMap)(t3.question); - 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 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, c2, n4); - } - }); + setSupportsErrorAudio(e3) { + return this.supportsErrorAudio = e3, this; } - getQuestionTypeExpressionForQuestionId(e3) { - var t3; - return null === (t3 = this._questionIdMap[e3]) || void 0 === t3 ? void 0 : t3.surveyQuestionType; + get supportsErrorHandlingQueueRouting() { + return this._supportsErrorHandlingQueueRouting; } - getAnswerOptionsExpressionForQuestionId(e3) { - var t3; - return null === (t3 = this._questionIdMap[e3]) || void 0 === t3 ? void 0 : t3.answerOptions; + set supportsErrorHandlingQueueRouting(e3) { + this._supportsErrorHandlingQueueRouting = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsErrorHandlingQueueRouting", "value")); } - getAnswerOptionsExpressionForQuestionText(e3) { - const t3 = Object.keys(this._questionIdMap).find((t4) => { - var i3; - return (null === (i3 = this._questionIdMap[t4].question) || void 0 === i3 ? void 0 : i3.questionText) === e3; - }); - return this.getAnswerOptionsExpressionForQuestionId(t3); + setSupportsErrorHandlingQueueRouting(e3) { + return this.supportsErrorHandlingQueueRouting = e3, this; } - getQuestionGroupSettings() { - return this._questionGroups; + get supportsFlowInputVariables() { + return this._supportsFlowInputVariables; } - _createDynamicExpressions() { - var e3; - const t3 = []; - this._resetQuestionVariables(), null === (e3 = this.parentFlow.voiceSurveyFlowSettings.archSurveyForm.questionGroups) || void 0 === e3 || e3.forEach((e4, i4) => { - e4.groupIndex || (e4.groupIndex = i4 + 1); - 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)), 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 = 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 R(r3, n3, p2, h2, f2); - n3.questionSettings.push(y2), this._questionIdMap[r3.id] = y2, h2 && (this._answerOptionsExpressionIdMap[h2.id] = y2); - }); - }); - const i3 = (0, r2.merge)(...t3); - this.addAutoCleanedUpSubscription(i3.subscribe(() => N.validateNode(this, true))); + set supportsFlowInputVariables(e3) { + this._supportsFlowInputVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsFlowInputVariables", "value")); } - _initializeDesignTime() { - super._initializeDesignTime(), this._createDynamicExpressions(); + get supportsLanguageAddRemove() { + return this._supportsLanguageAddRemove && this._supportsLanguages; } - } - t2.default = D; - }, 55706: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(90807), o = i2(7401), { getResponseActionType: a } = i2(30801), { ResponseLibrary: s } = i2(23436); - function l() { - Object.defineProperties(this, { _attachments: { writable: true }, _responseBody: { writable: true }, _responseBodyHandling: { writable: true }, _responseLibrary: { writable: true }, _substitutions: { writable: true } }), this.responseId = void 0, this.responseName = void 0, this.performSubstitutions = void 0, l.baseConstructor.apply(this, arguments); - } - n2.extend(l, a, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { - l._super.pasteReIdOrRename.apply(this, arguments), this.responseBody.pasteReIdOrRename(e3), this.responseBodyHandling.pasteReIdOrRename(e3), this.attachments?.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.substitutions.length; t3++) this.substitutions[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - l._super.pasteResolveOldToNewValues.apply(this, arguments), this.responseBody.pasteResolveOldToNewValues(e3), this.responseBodyHandling.pasteResolveOldToNewValues(e3), this.attachments?.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.substitutions.length; t3++) this.substitutions[t3].pasteResolveOldToNewValues(e3); - } }, responseBody: { enumerable: true, get: function() { - return this._responseBody; - }, set: function(e3) { - this._responseBody = this.reviveItem(e3, o); - } }, responseBodyHandling: { enumerable: true, get: function() { - return this._responseBodyHandling; - }, set: function(e3) { - this._responseBodyHandling = this.reviveItem(e3, o); - } }, attachments: { enumerable: true, get: function() { - return this._attachments; - }, set: function(e3) { - this._attachments = this.reviveItem(e3, o); - } }, responseLibrary: { enumerable: true, get: function() { - return this._responseLibrary; - }, set: function(e3) { - this._responseLibrary = this.reviveItem(e3, s); - } }, substitutions: { enumerable: true, get: function() { - return this._substitutions; - }, set: function(e3) { - this._substitutions = this.reviveArray(e3, r2); - } } }), e2.exports = l; - }, 55720: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeSkillOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + set supportsLanguageAddRemove(e3) { + this._supportsLanguageAddRemove = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsLanguageAddRemove", "value")); } - constructor(e3) { - super(e3); + setSupportsLanguageAddRemove(e3) { + return this.supportsLanguageAddRemove = e3, this; } - get className() { - return "ExpressionTypeSkillOptions"; + setSupportsFlowInputVariables(e3) { + return this.supportsFlowInputVariables = e3, this; } - get isExpressionTypeSkillOptions() { - return true; + get supportsKnowledge() { + return this._supportsKnowledge; } - } - t2.ExpressionTypeSkillOptions = r2; - }, 55817: (e2, t2, i2) => { - const n2 = i2(46205), { callVoiceFlowActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 55824: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allFlowInvokingEventsMap = t2.allFlowInvokingEvents = t2.eventWorkitemStatusChanged = t2.eventWorkitemDateBasedEvent = t2.eventWorkitemCreated = void 0; - const n2 = i2(67018), r2 = i2(47957); - t2.eventWorkitemCreated = { id: n2.FlowInvokingEvent.workitemCreated, description: r2.flowInvokingEvents.workitemCreatedDescription }, t2.eventWorkitemDateBasedEvent = { id: n2.FlowInvokingEvent.workitemDateBasedEvent, description: r2.flowInvokingEvents.workitemDateBasedEventDescription }, t2.eventWorkitemStatusChanged = { id: n2.FlowInvokingEvent.workitemStatusChanged, description: r2.flowInvokingEvents.workitemStatusChangedDescription }, t2.allFlowInvokingEvents = [t2.eventWorkitemCreated, t2.eventWorkitemDateBasedEvent, t2.eventWorkitemStatusChanged], t2.allFlowInvokingEventsMap = {}; - for (const e3 of t2.allFlowInvokingEvents) t2.allFlowInvokingEventsMap[e3.id] = e3; - }, 55836: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Dat is niet geldig.", noInputReceived: "Ik heb geen invoer 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 vraag 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 vraag 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: "(vul hier de naam van het slot in)", noInputDigitalBot: "Voer uw (vul hier de naam van het slot in) in.", noInputWithSlotDigitalBot: "Voer de %1$s in.", continuationPromptWithSlot: "Ik heb {{Slot.%1$s}} tot nu toe, ga door." }, askForNextSlot: { noInput: 'Zeg "ja" als u nog een vraag hebt of zeg "nee" om het gesprek te be\xEBindigen.', noMatch: 'Zeg "ja" als u nog een vraag 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 vraag hebt of "Nee" om de sessie te be\xEBindigen.', noMatchDigitalBot: 'Voer "Ja" in als u nog een vraag hebt of "Nee" om de sessie te be\xEBindigen.' }, askForPayment: { noInputDigitalBot: "Geef uw betalingsgegevens op om verder te gaan.", noMatchDigitalBot: "Ik heb uw antwoord niet begrepen. Probeer het opnieuw." }, askForAuthentication: { noInputDigitalBot: "Geef uw verificatiegegevens op om door te gaan.", noMatchDigitalBot: "Ik heb uw antwoord 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 verder te gaan.", noMatchDigitalBot: "Vul het formulier in om verder te gaan." }, messagingTemplate: { noInputDigitalBot: "Gelieve \xE9\xE9n van de beschikbare opties te selecteren.", noMatchDigitalBot: "Gelieve \xE9\xE9n van de beschikbare opties te selecteren." }, 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", iGotContinuationStr2: "tot nu toe, ga door." } }, defaultCallFlowOne: "Standaard oproepflow", errorHandlingAgentEscalationConfirmation: "U wilt een adviseur spreken, klopt dat?", errorHandlingAgentEscalationHandover: "Een ogenblik geduld. Ik verbind u door.", errorHandlingErrorEventHandover: "Sorry, 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: "Sorry, ik heb u niet begrepen. Een ogenblik geduld. Ik verbind u door met iemand die u kan helpen.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Sorry, ik heb u niet begrepen. Tot ziens.", errorHandlingTTS: "Sorry, er is een fout opgetreden. Probeer opnieuw te bellen.", initialGreetingTTS: "Hallo, dit is de eerste begroeting.", 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. Druk op 9 om de verbinding te verbreken.", mainTask: "Taak", settingsConfirmationNoInputApology: "Sorry, ik heb u niet verstaan. Zeg ja of nee.", settingsConfirmationNoInputApologyDigitalBot: 'Sorry, ik heb geen invoer van u ontvangen. Voer "Ja" of "Nee" in.', settingsConfirmationNoMatchApology: "Sorry, zeg ja of nee.", settingsConfirmationNoMatchApologyDigitalBot: 'Sorry, voer "Ja" of "Nee" in.', settingsNoInputApology: "Sorry, ik heb u niet verstaan.", settingsNoInputApologyDigitalBot: "Sorry, 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: "Sorry.", settingsNoToConfirmationApology: "Mijn fout.", periodicStateName: "Terugkerende status" }; - }, 55867: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseActionProperty = void 0; - 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 = o.getTopic(this.className).copyContext(e3.topic), this.$action = e3, this.metaData = t3, this.options = t3.options; + set supportsKnowledge(e3) { + this._supportsKnowledge = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsKnowledge", "value")); } - get lastActor() { - return this._lastActor; + setSupportsKnowledge(e3) { + return this.supportsKnowledge = e3, this; } - get lastActorWasUser() { - return !this._lastActor; + get supportsMultilingualKnowledge() { + return this._supportsMultilingualKnowledge; } - get lastActorWasChangeSet() { - var e3; - return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); + set supportsMultilingualKnowledge(e3) { + this._supportsMultilingualKnowledge = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsMultilingualKnowledge", "value")); } - 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; + setSupportsMultilingualKnowledge(e3) { + return this.supportsMultilingualKnowledge = e3, this; } - configureFromModel(e3, t3, i3) { - const n3 = i3.changeSetResults; - n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); + get supportsKnowledgePaths() { + return this._supportsKnowledgePaths; } - get action() { - return this.$action; + set supportsKnowledgePaths(e3) { + this._supportsKnowledgePaths = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsKnowledgePaths", "value")); } - get className() { - return "BaseActionProperty"; + setSupportsKnowledgePaths(e3) { + return this.supportsKnowledgePaths = e3, this; } - getConfiguration(e3, t3, i3) { - return null; + get supportsEndToEndKnowledgeHandling() { + return this._supportsEndToEndKnowledgeHandling; } - get parentFlow() { - return this.action.parentFlow; + set supportsEndToEndKnowledgeHandling(e3) { + this._supportsEndToEndKnowledgeHandling = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsEndToEndKnowledgeHandling", "value")); } - get topParent() { - return this.action.topParent; + setSupportsEndToEndKnowledgeHandling(e3) { + return this.supportsEndToEndKnowledgeHandling = e3, this; } - addClipboardDependencies(e3) { + get supportsAdvancedKnowledgeHandling() { + return this._supportsAdvancedKnowledgeHandling; } - checkVersion(e3) { + set supportsAdvancedKnowledgeHandling(e3) { + this._supportsAdvancedKnowledgeHandling = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsAdvancedKnowledgeHandling", "value")); } - destroy() { - this._attachedActionProperties.forEach((e3) => { - delete this.action[e3]; - }), this._attachedActionProperties.length = 0, a.cleanUpAutoCleanupWatchList(this._autoCleanedUpSinks); + setSupportsAdvancedKnowledgeHandling(e3) { + return this.supportsAdvancedKnowledgeHandling = e3, this; } - setNewInstanceDefaults() { + get supportsKnowledgeConfirmation() { + return this._supportsKnowledgeConfirmation && this._supportsKnowledge; } - initializeDesignTime() { - try { - this._initializeDesignTime(); - } catch (e3) { - this.traceTopic.exception(e3, "BaseActionProperty _initializeDesignTime"); - } - this._initializeDesignTimeCalled = true; - try { - this._postInitializeDesignTime(); - } catch (e3) { - this.traceTopic.exception(e3, "BaseActionProperty _postInitializeDesignTime"); - } + set supportsKnowledgeConfirmation(e3) { + this._supportsKnowledgeConfirmation = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsKnowledgeConfirmation", "value")); } - get initializeDesignTimeCalled() { - return this._initializeDesignTimeCalled; + setSupportsKnowledgeConfirmation(e3) { + return this.supportsKnowledgeConfirmation = e3, this; } - get isActionProperty() { - return true; + get supportsKnowledgeWelcomeArticle() { + return this._supportsKnowledgeWelcomeArticle && this._supportsKnowledge; } - search(e3) { + set supportsKnowledgeWelcomeArticle(e3) { + this._supportsKnowledgeWelcomeArticle = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsKnowledgeWelcomeArticle", "value")); } - updateDependencies() { + setSupportsKnowledgeWelcomeArticle(e3) { + return this.supportsKnowledgeWelcomeArticle = e3, this; } - validate(e3) { + get supportsFlowOutputVariables() { + return this._supportsFlowOutputVariables; } - validateAction(e3) { - s.validate(this.action, e3); + set supportsFlowOutputVariables(e3) { + this._supportsFlowOutputVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsFlowOutputVariables", "value")); } - _initializeDesignTime() { + setSupportsFlowOutputVariables(e3) { + return this.supportsFlowOutputVariables = e3, this; } - _postInitializeDesignTime() { + get supportsLanguages() { + return this._supportsLanguages; } - attachActionProperty(e3, t3, i3) { - Object.defineProperty(this.action, e3, { get: t3, set: i3, configurable: true }), this._attachedActionProperties.push(e3); + set supportsLanguages(e3) { + this._supportsLanguages = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsLanguages", "value")); } - addAutoCleanedUpEventSinkWatch(e3, t3, i3) { - a.addToAutoCleanupWatchList(this._autoCleanedUpSinks, e3, t3, i3); + setSupportsLanguages(e3) { + return this.supportsLanguages = e3, this; } - } - 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); - } - i2(45214).extend(n2, "AudioConnectorBot"), Object.defineProperties(n2.prototype, { label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, integrationId: { get: function() { - return this.id; - }, set: function(e3) { - this.id = e3; - } } }), e2.exports = n2; - }, 55909: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ParameterInfo = void 0; - class i2 { - constructor(e3, t3, i3) { - this.className = e3, this.methodName = t3, this.parameterName = i3, this._isPropertyGet = false, this._isPropertySet = false, this._propertyMode = void 0; + get supportsMoreThanOneLanguage() { + return this._supportsMoreThanOneLanguage && this._supportsLanguages; } - get logStringHeader() { - let e3 = `${this.className}.${this.methodName}`; - return this._propertyMode && (e3 += `[${this._propertyMode}]`), `${e3}(${this.parameterName}): `; + set supportsMoreThanOneLanguage(e3) { + this._supportsMoreThanOneLanguage = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsMoreThanOneLanguage", "value")); } - get isPropertyGet() { - return this._isPropertyGet; + setSupportsMoreThanOneLanguage(e3) { + return this.supportsMoreThanOneLanguage = e3, this; } - get isPropertySet() { - return this._isPropertySet; + get supportsReusableMenus() { + return this._supportsReusableMenus; } - static createConstructorParameter(e3, t3) { - return new i2(e3, "", t3); + set supportsReusableMenus(e3) { + this._supportsReusableMenus = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsReusableMenus", "value")); } - static createFunctionParameter(e3, t3, n2) { - return new i2(e3, t3, n2); + setSupportsReusableMenus(e3) { + return this.supportsReusableMenus = e3, this; } - static createPropertyGet(e3, t3) { - const n2 = new i2(e3, t3); - return n2._isPropertyGet = true, n2._propertyMode = "get", n2; + get supportsReusableTasks() { + return this._supportsReusableTasks; } - static createPropertySet(e3, t3, n2) { - const r2 = new i2(e3, t3, n2); - return r2._isPropertySet = true, r2._propertyMode = "set", r2; + set supportsReusableTasks(e3) { + this._supportsReusableTasks = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsReusableTasks", "value")); } - } - t2.ParameterInfo = i2; - }, 55958: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\u305D\u308C\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002", noInputReceived: "\u5165\u529B\u3092\u53D7\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002" }, askForBoolean: { noInput: '\u7D9A\u884C\u3059\u308B\u5834\u5408\u306F "\u306F\u3044" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u7D9A\u884C\u3057\u306A\u3044\u5834\u5408\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002', noMatch: '"\u306F\u3044" \u307E\u305F\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B?', question: "\u7D9A\u884C\u3057\u307E\u3059\u304B?", noInputDigitalBot: '\u7D9A\u884C\u3059\u308B\u5834\u5408\u306F"\u306F\u3044"\u3001\u7D9A\u884C\u3057\u306A\u3044\u5834\u5408\u306F"\u3044\u3044\u3048"\u3068\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', noMatchDigitalBot: '"\u306F\u3044"\u307E\u305F\u306F"\u3044\u3044\u3048"\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B?' }, askForIntent: { noInput: '\u8CEA\u554F\u3092\u77ED\u3044\u8A00\u8449\u3067\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u4F8B: "\u6B8B\u9AD8\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044"', noMatch: "\u306A\u3055\u308A\u305F\u3044\u3053\u3068\u3092\u3082\u3046\u4E00\u5EA6\u304A\u8A71\u3057\u304F\u3060\u3055\u3044\u3002", question: "\u4F55\u3092\u306A\u3055\u308A\u305F\u3044\u306E\u3067\u3059\u304B?", noInputDigitalBot: '\u8CEA\u554F\u306E\u5185\u5BB9\u3092\u77ED\u3044\u8A00\u8449\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u4F8B: "\u6B8B\u9AD8\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044"' }, askForSlot: { askFor: "%1$s \u3092\u8981\u6C42\u3059\u308B", noInput: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3092\u8A00\u3046\u304B\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noInputWithSlot: "%1$s \u3068\u8A00\u3046\u304B\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatch: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3092\u3082\u3046\u4E00\u5EA6\u304A\u9858\u3044\u3057\u307E\u3059\u3002", noMatchWithSlot: "%1$s \u3092\u3082\u3046\u4E00\u5EA6\u304A\u9858\u3044\u3057\u307E\u3059\u3002", question: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3068\u306F\u4F55\u3067\u3059\u304B?", questionWithSlot: "%1$s \u3068\u306F\u4F55\u3067\u3059\u304B?", pleaseEnterSlotNameHere: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044)", noInputDigitalBot: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noInputWithSlotDigitalBot: "%1$s \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", continuationPromptWithSlot: "\u3053\u308C\u307E\u3067\u306B {{Slot.%1$s}} \u3092\u7372\u5F97\u3057\u307E\u3057\u305F\u3002\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, askForNextSlot: { noInput: '\u4ED6\u306E\u8CEA\u554F\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u901A\u8A71\u3092\u7D42\u4E86\u3059\u308B\u5834\u5408\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002', noMatch: '\u4ED6\u306E\u8CEA\u554F\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3059\u308B\u5834\u5408\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002', question: "\u4ED6\u306B\u304A\u624B\u4F1D\u3044\u3067\u304D\u308B\u3053\u3068\u306F\u3042\u308A\u307E\u3059\u304B?", noInputDigitalBot: '\u5225\u306E\u30AF\u30A8\u30EA\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3092\u3001\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3059\u308B\u306B\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', noMatchDigitalBot: '\u5225\u306E\u30AF\u30A8\u30EA\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3092\u3001\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3059\u308B\u306B\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002' }, askForPayment: { noInputDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u652F\u6255\u60C5\u5831\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u5FDC\u7B54\u3092\u7406\u89E3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, askForAuthentication: { noInputDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u8A8D\u8A3C\u60C5\u5831\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u5FDC\u7B54\u3092\u7406\u89E3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, askSurveyQuestion: { notApplicable: "\u8A72\u5F53\u306A\u3057", surveyAnswerOptionSequence: "'%2$s' \u306E\u5834\u5408\u306F %1$s \u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044", surveyAnswerNotApplicableSequence: "\u8A72\u5F53\u306A\u3057\u306E\u5834\u5408\u306F\u661F\u30DE\u30FC\u30AF\u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044\u3002", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u8A72\u5F53\u306A\u3057\u306E\u5834\u5408\u306F\u661F\u30DE\u30FC\u30AF\u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044\u3002", voiceSurveyNoInputText: "\u8CEA\u554F\u306B\u5FDC\u7B54\u3057\u3066\u304F\u3060\u3055\u3044\u3002", voiceSurveyNoMatchText: "\u8CEA\u554F\u3092\u7406\u89E3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002" }, commonModule: { exitCommonModule: "\u5171\u901A\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u7D42\u4E86" }, form: { noInputDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u30D5\u30A9\u30FC\u30E0\u3092\u8A18\u5165\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u30D5\u30A9\u30FC\u30E0\u3092\u8A18\u5165\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, messagingTemplate: { noInputDigitalBot: "\u5229\u7528\u53EF\u80FD\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u3044\u305A\u308C\u304B\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u5229\u7528\u53EF\u80FD\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u3044\u305A\u308C\u304B\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u7D9A\u884C", knowledgeAnswerHighlightFullArticleDefault: "\u5168\u8A18\u4E8B\u3092\u8868\u793A", knowledgeInitialResponseMulti: "\u76EE\u6A19\u3092\u5206\u304B\u308A\u3084\u3059\u304F\u7406\u89E3\u3067\u304D\u308B\u3088\u3046\u306B\u3001\u6B21\u306E\u30EA\u30B9\u30C8\u304B\u3089\u6570\u5B57\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044:", knowledgeInitialResponseMultiRetry: "'1' \u306A\u3069\u306E\u6570\u5B57\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u30EA\u30B9\u3092\u518D\u8868\u793A\u3057\u307E\u3059:", knowledgeNoMatch: "\u8A72\u5F53\u306A\u3057", knowledgeConfirmation: "\u3053\u308C\u304C\u8CEA\u554F\u306E\u7B54\u3048\u306B\u306A\u308A\u307E\u3057\u305F\u304B?", knowledgeFollowup: "\u8CEA\u554F\u306B\u7B54\u3048\u3089\u308C\u3066\u3044\u307E\u3059\u3067\u3057\u3087\u3046\u304B\u3002\u4ED6\u306B\u77E5\u308A\u305F\u3044\u3053\u3068\u304C\u3042\u308C\u3070\u3054\u8CEA\u554F\u304F\u3060\u3055\u3044\u3002" }, noOverlay: { intent: { intentConfirmationStr1: "X \u3057\u305F\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306D\u3002", intentConfirmationStr2: "\u3053\u306E\u89E3\u91C8\u3067\u6B63\u3057\u3044\u3067\u3059\u304B?" }, youSaid: { youSaidConfirmationStr1: "X \u3068\u304A\u3063\u3057\u3083\u3044\u307E\u3057\u305F\u3002", youSaidConfirmationStr2: "\u3053\u306E\u89E3\u91C8\u3067\u6B63\u3057\u3044\u3067\u3059\u304B?", youSaidConfirmationStr1DigitalBot: "\u5165\u529B\u5185\u5BB9" }, noInput: { noInputStr1: "X \u3068\u3057\u3083\u3079\u308B\u304B\u3001\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noInputStr1DigitalBot: "\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044:" }, noMatch: { noMatchStr1: "X \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, whatIs: { whatIsQuestionStr1: "X \u3068\u306F\u4F55\u3067\u3059\u304B?", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u3053\u308C\u307E\u3067\u306B", iGotContinuationStr2: "\u3092\u7372\u5F97\u3057\u307E\u3057\u305F\u3002\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" } }, defaultCallFlowOne: "\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u901A\u8A71\u30D5\u30ED\u30FC", errorHandlingAgentEscalationConfirmation: "\u30A2\u30C9\u30D0\u30A4\u30B6\u30FC\u3068\u8A71\u3057\u305F\u3044\u306E\u3067\u3059\u306D\u3002\u3053\u306E\u89E3\u91C8\u3067\u6B63\u3057\u3044\u3067\u3059\u304B?", errorHandlingAgentEscalationHandover: "\u62C5\u5F53\u8005\u306B\u304A\u7E4B\u304E\u3044\u305F\u3057\u307E\u3059\u306E\u3067\u3057\u3070\u3089\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002", errorHandlingErrorEventHandover: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u62C5\u5F53\u8005\u306B\u304A\u7E4B\u304E\u3044\u305F\u3057\u307E\u3059\u306E\u3067\u3057\u3070\u3089\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002", errorHandlingErrorEventHandoverVoiceSurvey: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u3055\u3088\u3046\u306A\u3089\u3002", errorHandlingRecognitionEventHandover: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u79C1\u3067\u306F\u5206\u304B\u308A\u304B\u306D\u308B\u3088\u3046\u3067\u3059\u3002\u62C5\u5F53\u8005\u306B\u304A\u7E4B\u304E\u3044\u305F\u3057\u307E\u3059\u306E\u3067\u3057\u3070\u3089\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u79C1\u3067\u306F\u5206\u304B\u308A\u304B\u306D\u308B\u3088\u3046\u3067\u3059\u3002\u3055\u3088\u3046\u306A\u3089\u3002", errorHandlingTTS: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u304C\u3001\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u901A\u8A71\u3092\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002", initialGreetingTTS: "\u3053\u3093\u306B\u3061\u306F\u3001\u3053\u308C\u306F\u6700\u521D\u306E\u3042\u3044\u3055\u3064\u3067\u3059\u3002", initialState: "\u521D\u671F\u306E\u72B6\u614B", initialBotState: "\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30DC\u30C3\u30C8", initialDigitalBotState: "\u6700\u521D\u306E\u6328\u62F6", initialSurveyBotState: "\u30A2\u30F3\u30B1\u30FC\u30C8 \u30DC\u30C3\u30C8", intentConfirmation: "%1$s \u3092\u306A\u3055\u308A\u305F\u3044\u3088\u3046\u3067\u3059\u304C\u3001\u305D\u308C\u3067\u3088\u308D\u3057\u3044\u3067\u3059\u304B?", mainMenu: "\u30E1\u30A4\u30F3 \u30E1\u30CB\u30E5\u30FC", mainMenuTTS: "\u30E1\u30A4\u30F3 \u30E1\u30CB\u30E5\u30FC\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5207\u65AD\u3059\u308B\u306B\u306F 9 \u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044", mainTask: "\u30BF\u30B9\u30AF", settingsConfirmationNoInputApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u3088\u304F\u805E\u3053\u3048\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u300C\u306F\u3044\u300D\u304B\u300C\u3044\u3044\u3048\u300D\u3067\u304A\u7B54\u3048\u304F\u3060\u3055\u3044\u3002", settingsConfirmationNoInputApologyDigitalBot: '\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u5165\u529B\u5185\u5BB9\u3092\u53D7\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002"\u306F\u3044" \u307E\u305F\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', settingsConfirmationNoMatchApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u300C\u306F\u3044\u300D\u304B\u300C\u3044\u3044\u3048\u300D\u3067\u304A\u7B54\u3048\u304F\u3060\u3055\u3044\u3002", settingsConfirmationNoMatchApologyDigitalBot: '\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002"\u306F\u3044" \u307E\u305F\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', settingsNoInputApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u3088\u304F\u805E\u3053\u3048\u307E\u305B\u3093\u3067\u3057\u305F\u3002", settingsNoInputApologyDigitalBot: "\u5165\u529B\u5185\u5BB9\u3092\u53D7\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002", settingsEndOfSessionMessageDigitalBot: "\u3057\u3070\u3089\u304F\u4F1A\u8A71\u304C\u306A\u304B\u3063\u305F\u306E\u3067\u3053\u306E\u30C1\u30E3\u30C3\u30C8\u3092\u7D42\u4E86\u3057\u307E\u3059\u3002\u307E\u305F\u30B5\u30DD\u30FC\u30C8\u304C\u5FC5\u8981\u306A\u5834\u5408\u306F\u307E\u305F\u304A\u8D8A\u3057\u304F\u3060\u3055\u3044\u3002\u3042\u308A\u304C\u3068\u3046\u3054\u3056\u3044\u307E\u3057\u305F\u3002", settingsNoMatchApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002", settingsNoToConfirmationApology: "\u79C1\u306E\u30DF\u30B9\u3067\u3059\u3002", periodicStateName: "\u518D\u5E30\u72B6\u614B" }; - }, 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)), 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)); + setSupportsReusableTasks(e3) { + return this.supportsReusableTasks = e3, this; } - get className() { - return "InboundShortMessageViewModel"; + get supportsSecureVariables() { + return this._supportsSecureVariables; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, a.scopes.message]; + set supportsSecureVariables(e3) { + this._supportsSecureVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsSecureVariables", "value")); } - get isInboundShortMessage() { - return true; + setSupportsSecureVariables(e3) { + return this.supportsSecureVariables = e3, this; } - get type() { - return r2.flowTypes.flowTypeInboundShortMessage; + get supportsAudio() { + return this._supportsAudio; } - get wrappedYamlName() { - return "inboundShortMessage"; + set supportsAudio(e3) { + this._supportsAudio = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsAudio", "value")); } - setNewInstanceDefaults(e3) { - const t3 = e3 && e3.transferQueue ? e3.transferQueue : null; - return t3 ? (this.errorHandling.loadErrorSettings(t3), this.errorHandling.handlingType = o.default.Queue) : this.errorHandling.handlingType = o.default.Disconnect, super.setNewInstanceDefaults(e3); + setSupportsAudio(e3) { + return this.supportsAudio = e3, this; } - _loadConfiguration(e3) { - this.supportsLanguages && void 0 === e3.defaultLanguage && (e3.defaultLanguage = "en-US"), super._loadConfiguration(e3); + get supportsSpeechRec() { + return this._supportsSpeechRec; } - } - t2.default = d; - }, 55988: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(23335)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreExpressionContainerViewModel"), e3), this._coreExpressionContainerViewModel = e3; + set supportsSpeechRec(e3) { + this._supportsSpeechRec = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsSpeechRec", "value")); } - get displayTypeName() { - return "ArchBaseValueContainer"; + setSupportsSpeechRec(e3) { + return this.supportsSpeechRec = e3, this; } - get isArchBaseValueContainer() { - return true; + get supportsStates() { + return this._supportsStates; } - _getNamedValueByIndex(e3) { - const t3 = this._infoParm("index", "getNamedValueByIndex"); - return this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, 0 === this._coreExpressionContainerViewModel.items.length, "supplied index of " + e3 + " is invalid. There are no items in the array."), this._checkItem(t3, e3 >= this._coreExpressionContainerViewModel.items.length || e3 < 0, "supplied index of " + e3 + " is invalid. The allowable range is 0 to " + (this._coreExpressionContainerViewModel.items.length - 1)), this.coreFactory.createArchWrapper(this._coreExpressionContainerViewModel.items[e3]); + set supportsStates(e3) { + this._supportsStates = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsStates", "value")); } - get _length() { - return this._coreExpressionContainerViewModel.items.length; + setSupportsStates(e3) { + return this.supportsStates = e3, this; } - } - 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: 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)), 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; - var n2 = i2(44885), r2 = i2(65212), o = i2(17214), a = i2(19724), s = i2(5825); - t2.repeat = function(e3) { - var t3, i3, l = 1 / 0; - return null != e3 && ("object" == typeof e3 ? (t3 = e3.count, l = void 0 === t3 ? 1 / 0 : t3, i3 = e3.delay) : l = e3), l <= 0 ? function() { - return n2.EMPTY; - } : r2.operate(function(e4, t4) { - 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(), c(); - }); - e5.subscribe(l2); - } 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(); - }; - c(); - }); - }; - }, 56133: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(17604), r2 = i2(55299), o = i2(47957), a = i2(3916); - class s extends r2.BaseClass { - constructor(e3) { - super(), this._slots = [], this._model = e3, this.slots = a.createSchemaPropertyList(e3.slots || e3.parameters || e3.entities); + get supportsMultipleStates() { + return this._supportsMultipleStates; } - get className() { - return "IntentViewModel"; + set supportsMultipleStates(e3) { + this._supportsMultipleStates = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsMultipleStates", "value")); } - get model() { - return this._model; + setSupportsMultipleStates(e3) { + return this._supportsMultipleStates = e3, this; } - get description() { - return this.model.description; + get supportsStateInputVariables() { + return this._supportsStateInputVariables && this._supportsStates; } - get displayString() { - return this.name; + set supportsStateInputVariables(e3) { + this._supportsStateInputVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsStateInputVariables", "value")); } - get id() { - return this.model.id || this.name; + setSupportsStateInputVariables(e3) { + return this.supportsStateInputVariables = e3, this; } - get localizedLabel() { - return this.model.localizedLabel; + get supportsStateOutputVariables() { + return this._supportsStateOutputVariables && this._supportsStates; } - get builtInPathId() { - return this.model.builtInPathId; + set supportsStateOutputVariables(e3) { + this._supportsStateOutputVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsStateOutputVariables", "value")); } - get name() { - return this.model.name || this.model.intentName; + setSupportsStateOutputVariables(e3) { + return this.supportsStateOutputVariables = e3, this; } - get slots() { - return this._slots; + get supportsTaskInputVariables() { + return this._supportsTaskInputVariables && this._supportsReusableTasks; } - set slots(e3) { - this._slots = e3; + set supportsTaskInputVariables(e3) { + this._supportsTaskInputVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsTaskInputVariables", "value")); } - get secondaryHeader() { - return this.version ? (0, n2.sprintf)(o.lex.secondaryHeaderForVersion, this.version) : ""; + get supportsAnyVariablesWithDirection() { + return this.supportsTaskInputVariables || this.supportsTaskOutputVariables || this.supportsStateInputVariables || this.supportsStateOutputVariables || this.supportsFlowInputVariables || this.supportsFlowOutputVariables; } - get version() { - return this.model.version; + setSupportsTaskInputVariables(e3) { + return this.supportsTaskInputVariables = e3, this; } - } - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get supportsTasksWithOutputPaths() { + return this._supportsTasksWithOutputPaths; } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findGroup.nameLabel, searchResultLabel: d.findActions.findGroup.resultLabel, searchResultExpressionOptions: o.ExpressionTypeGroupOptions.create(), searchResultItemType: a.expressionTypeNames.group }); + set supportsTasksWithOutputPaths(e3) { + this._supportsTasksWithOutputPaths = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsTasksWithOutputPaths", "value")); } - } - 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(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); + setSupportsTasksWithOutputPaths(e3) { + return this.supportsTasksWithOutputPaths = e3, this; } - static get branchInfo() { - return g.default.successFailureTimeout; + get supportsTaskOutputVariables() { + return this._supportsTaskOutputVariables && this._supportsReusableTasks; } - get isCallGuideAction() { - return true; + set supportsTaskOutputVariables(e3) { + this._supportsTaskOutputVariables = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsTaskOutputVariables", "value")); } - getDetails() { - return this.guideId ? new A.ActionDetails([P.guide.guide], [this.guideName]) : null; + setSupportsTaskOutputVariables(e3) { + return this.supportsTaskOutputVariables = e3, this; } - static get managedProperties() { - 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: 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")) }]; + get supportsVirtualAgent() { + return this._supportsVirtualAgent; } - processYamlProperty(e3, t3, i3, n3) { - var r3; - const o2 = i3 === this.voiceProcessingPrompt ? (null == n3 ? void 0 : n3.serializeOutOfService) && !!(null === (r3 = this.parentFlow.botFlowSettings) || void 0 === r3 ? void 0 : r3.virtualAgentEnabled) : null == n3 ? void 0 : n3.serializeOutOfService, a2 = o2 !== (null == n3 ? void 0 : n3.serializeOutOfService) ? Object.assign({}, n3, { serializeOutOfService: o2 }) : n3; - return super.processYamlProperty(e3, t3, i3, a2); + set supportsVirtualAgent(e3) { + this._supportsVirtualAgent = e3; } - initializeDesignTime() { - 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), 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 === E.ExpressionModes.literal && "" !== e4.text; - this._setVoiceProcessingPromptOptions(t4), this.addAutoCleanedUpEventListener(s.promptChanged, (e5) => { - "voiceProcessingPrompt" === e5.type && this._setVoiceProcessingPromptOptions(e5.isSet); - }); - } - } else this.voiceProcessingPromptWarning.outOfService = true, this.voiceProcessingPrompt.outOfService = false, this.voiceProcessingPrompt.defaultExpression && (this.voiceProcessingPrompt.defaultExpression.outOfService = false); - this.addAutoCleanedUpEventSinkWatch(s.valueChanged, this.guideVersionSetting, () => n2.__awaiter(this, void 0, void 0, function* () { - const e4 = this.guideVersionSetting.getItem(); - e4 ? this._mergeSchemaProperties(e4) : this._clearSchemaBindings(); - })); + setSupportsVirtualAgent(e3) { + return this.supportsVirtualAgent = e3, this; } - 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 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 === (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 === (_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 y2; + get supportsVoiceProcessingPrompt() { + return this._supportsVoiceProcessingPrompt; } - _getReferencedGuideName() { - var e3; - const t3 = null === (e3 = this.guideSetting) || void 0 === e3 ? void 0 : e3.getItem(); - return (null == t3 ? void 0 : t3.name) || this.guideName; + set supportsVoiceProcessingPrompt(e3) { + this._supportsVoiceProcessingPrompt = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "supportsVoiceProcessingPrompt", "value")); } - _mergeSchemaProperties(e3) { - const t3 = (e4, t4) => { - var i3; - const n3 = null !== (i3 = null == e4 ? void 0 : e4.properties) && void 0 !== i3 ? i3 : []; - this.guideSetting.configListManager.mergeSchemaProperties(n3, t4); - }; - t3(null == e3 ? void 0 : e3.inputSchema, this.inputs), t3(null == e3 ? void 0 : e3.outputSchema, this.outputs); + setSupportsVoiceProcessingPrompt(e3) { + return this.supportsVoiceProcessingPrompt = e3, this; } - _clearSchemaBindings() { - this.outputs && a.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(), this.inputs && a.default.isFunction(this.inputs.destroyChildren) && this.inputs.destroyChildren(); + get supportsAnswerGeneration() { + return this._supportsAnswerGeneration; } - _setAdditionalSearchParams() { - return { status: m.AiGuideStatus.published }; + set supportsAnswerGeneration(e3) { + this._supportsAnswerGeneration = e3; } - _setVoiceProcessingPromptOptions(e3) { - this.voiceProcessingPrompt.outOfService = e3, this.voiceProcessingPromptWarning.outOfService = !(e3 && b.isFeatureAvailable(y.default.botFlowsVoiceProcessingPrompt)); + setSupportsAnswerGeneration(e3) { + return this.supportsAnswerGeneration = e3, this; } - validate(e3) { - if (super.validate(e3), e3.isDeep) { - const e4 = this.guideVersionSetting.getItem(); - e4 && this._mergeSchemaProperties(e4); - } + get supportsEnableIntentClassificationHinting() { + return this._supportsEnableIntentClassificationHinting; } - _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); + set supportsEnableIntentClassificationHinting(e3) { + this._supportsEnableIntentClassificationHinting = e3; } - _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); + setSupportsEnableIntentClassificationHinting(e3) { + return this.supportsEnableIntentClassificationHinting = e3, this; } - _destroy() { - var e3; - super._destroy(), this.parentFlow.isDestroyedOrDestroying || null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState(); + get startUpObjectCanBeMenu() { + return this._startUpObjectCanBeMenu; } - } - 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 = M; - }, 56191: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + set startUpObjectCanBeMenu(e3) { + this._startUpObjectCanBeMenu = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeMenu", "value")); } - get _globalTypeName() { - return "listPicker"; + setStartupObjectCanBeMenu(e3) { + return this.startUpObjectCanBeMenu = e3, this; } - get displayTypeName() { - return "ArchVariableListPicker"; + get startUpObjectCanBeState() { + return this._startUpObjectCanBeState; } - get initialValue() { - return this._initialValue; + set startUpObjectCanBeState(e3) { + this._startUpObjectCanBeState = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeState", "value")); + } + setStartupObjectCanBeState(e3) { + return this.startUpObjectCanBeState = e3, this; } - get isArchVariableListPicker() { - return true; + get startUpStateMustTerminate() { + return !this.supportsStates || this._startUpStateMustTerminate; } - } - t2.default = r2; - }, 56198: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AskForPaymentActionModel = void 0; - const n2 = i2(31635), r2 = i2(30801), o = i2(39194), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(80295); - class u extends o.BaseActionNoInputNoMatchModel { - constructor(e3) { - super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_currency"), (0, l.makeUnenumerable)(this, "_countryCode"), (0, l.makeUnenumerable)(this, "_paymentPlatform"), (0, l.makeUnenumerable)(this, "_lineItems"), (0, l.makeUnenumerable)(this, "_shippingOptions"), (0, l.makeUnenumerable)(this, "_totalPrice"), (0, l.makeUnenumerable)(this, "_receivedMessageImage"), (0, l.makeUnenumerable)(this, "_receivedMessageTitle"), (0, l.makeUnenumerable)(this, "_replyMessageTitle"), (0, l.makeUnenumerable)(this, "_requiredContactInformation"), (0, l.makeUnenumerable)(this, "_paymentCompletionTimeout"); + set startUpStateMustTerminate(e3) { + this._startUpStateMustTerminate = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "startUpStateMustTerminate", "value")); } - get currency() { - return this._currency; + setStartupStateMustTerminate(e3) { + return this.startUpStateMustTerminate = e3, this; } - set currency(e3) { - this._currency = this.reviveItem(e3, s.default); + get startUpObjectCanBeRepeatingTask() { + return this._startUpObjectCanBeRepeatingTask; } - get countryCode() { - return this._countryCode; + set startUpObjectCanBeRepeatingTask(e3) { + this._startUpObjectCanBeRepeatingTask = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeRepeatingTask", "value")); } - set countryCode(e3) { - this._countryCode = this.reviveItem(e3, s.default); + setStartupObjectCanBeRepeatingTask(e3) { + return this.startUpObjectCanBeRepeatingTask = e3, this; } - get paymentPlatform() { - return this._paymentPlatform; + get startUpObjectCanBeTask() { + return this._startUpObjectCanBeTask; } - set paymentPlatform(e3) { - this._paymentPlatform = this.reviveItem(e3, s.default); + set startUpObjectCanBeTask(e3) { + this._startUpObjectCanBeTask = true === g.ParameterValidator.expectBool(e3, () => m.ParameterInfo.createPropertySet(this.className, "startUpObjectCanBeTask", "value")); } - get lineItems() { - return this._lineItems; + setStartupObjectCanBeTask(e3) { + return this.startUpObjectCanBeTask = e3, this; } - set lineItems(e3) { - this._lineItems = this.reviveItem(e3, s.default); + get type() { + return this._type; } - get shippingOptions() { - return this._shippingOptions; + get typeDisplayName() { + return this._typeDisplayName; } - set shippingOptions(e3) { - this._shippingOptions = this.reviveItem(e3, s.default); + set typeDisplayName(e3) { + this._typeDisplayName = g.ParameterValidator.expectString(e3, () => m.ParameterInfo.createPropertySet(this.className, "typeDisplayName", "value")); } - get totalPrice() { - return this._totalPrice; + setTypeDisplayName(e3) { + return this.typeDisplayName = e3, this; } - set totalPrice(e3) { - this._totalPrice = this.reviveItem(e3, s.default); + get systemVariableModels() { + return (0, u.getSystemVariableModelsForFlowType)(this.type); } - get receivedMessageImage() { - return this._receivedMessageImage; + get variableScope() { + return this._variableScope; } - set receivedMessageImage(e3) { - this._receivedMessageImage = this.reviveItem(e3, s.default); + set variableScope(e3) { + this._variableScope = g.ParameterValidator.expectVariableScope(e3, () => m.ParameterInfo.createPropertySet(this.className, "variableScope", "value")); } - get receivedMessageTitle() { - return this._receivedMessageTitle; + setVariableScope(e3) { + return this._variableScope = e3, this; } - set receivedMessageTitle(e3) { - this._receivedMessageTitle = this.reviveItem(e3, s.default); + } + t2.default = y; + }, 19384(e2, t2, i2) { + "use strict"; + t2.flowElementRegistrationService = void 0; + const n2 = i2(31635), o = i2(56673), r = n2.__importStar(i2(12847)); + class a extends o.BaseRegistrationService { + constructor() { + super(); } - get replyMessageTitle() { - return this._replyMessageTitle; + get className() { + return "FlowElementRegistrationService"; } - set replyMessageTitle(e3) { - this._replyMessageTitle = this.reviveItem(e3, s.default); + registerItem(e3) { + super.registerItem(e3), this._getFlowSpecificMap(e3)[e3.id] = e3; } - get requiredContactInformation() { - return this._requiredContactInformation; + unregisterItem(e3) { + var t3; + super.unregisterItem(e3); + const i3 = this._getFlowSpecificMap(e3); + i3 ? (null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.loaded) && delete i3[e3.id] : r.error(`${e3.id} not found to unregister - no flow bucket available for flow id '${e3.parentFlow.id}'`); } - set requiredContactInformation(e3) { - this._requiredContactInformation = this.reviveItem(e3, s.default); + getItemById(e3, t3) { + return this._getFlowSpecificMap(e3)[t3]; } - get paymentCompletionTimeout() { - return this._paymentCompletionTimeout; + } + t2.flowElementRegistrationService = new a(); + }, 87333(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = n2.__importStar(i2(58380)), a = n2.__importDefault(i2(92140)); + class s { + constructor(e3, t3) { + Object.defineProperties(this, { _attemptCounter: { value: 0, writable: true }, _checkIntervalMs: { value: a.default.isActualNumber(t3) && t3 > 0 ? t3 : 35, writable: true }, _callbackFunction: { value: e3, writable: true } }), this._processCallbackAttempt(); } - set paymentCompletionTimeout(e3) { - this._paymentCompletionTimeout = this.reviveItem(e3, s.default); + static create(e3, t3) { + if (a.default.isFunction(e3)) return new s(e3, t3); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._currency.pasteResolveOldToNewValues(e3), this._countryCode.pasteResolveOldToNewValues(e3), this._paymentPlatform.pasteResolveOldToNewValues(e3), this._lineItems.pasteResolveOldToNewValues(e3), this._shippingOptions.pasteResolveOldToNewValues(e3), this._totalPrice.pasteResolveOldToNewValues(e3), this._receivedMessageImage.pasteResolveOldToNewValues(e3), this._receivedMessageTitle.pasteResolveOldToNewValues(e3), this._replyMessageTitle.pasteResolveOldToNewValues(e3), this._requiredContactInformation.pasteResolveOldToNewValues(e3), this._paymentCompletionTimeout.pasteResolveOldToNewValues(e3); + _processCallbackAttempt() { + this._timeoutVal = setTimeout(() => n2.__awaiter(this, void 0, void 0, function* () { + if (!this._callbackFunction) return; + let e3 = !r.isFiringEvents() && !o.isFiringEvents(); + if (e3 || (this._attemptCounter++, this._attemptCounter >= 30 && (e3 = true)), e3) try { + yield this._callbackFunction(); + } catch (e4) { + } finally { + this.destroy(); + } + else this._processCallbackAttempt(); + }), this._checkIntervalMs); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._currency.pasteReIdOrRename(e3), this._countryCode.pasteReIdOrRename(e3), this._paymentPlatform.pasteReIdOrRename(e3), this._lineItems.pasteReIdOrRename(e3), this._shippingOptions.pasteReIdOrRename(e3), this._totalPrice.pasteReIdOrRename(e3), this._receivedMessageImage.pasteReIdOrRename(e3), this._receivedMessageTitle.pasteReIdOrRename(e3), this._replyMessageTitle.pasteReIdOrRename(e3), this._requiredContactInformation.pasteReIdOrRename(e3), this._paymentCompletionTimeout.pasteReIdOrRename(e3); + destroy() { + this._attemptCounter = void 0, this._callbackFunction = void 0, clearInterval(this._timeoutVal); } } - t2.AskForPaymentActionModel = u, u.__type = r2.askForPaymentActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "currency", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "countryCode", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "paymentPlatform", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "lineItems", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "shippingOptions", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "totalPrice", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "receivedMessageImage", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "receivedMessageTitle", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "replyMessageTitle", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "requiredContactInformation", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "paymentCompletionTimeout", null), u.registerType(); - }, 56240: (e2, t2, i2) => { + t2.default = s; + }, 82453(e2, t2, i2) { "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)), 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"); + Object.defineProperty(t2, "__esModule", { value: true }), t2.getUnsupportedDestinationFlowTypes = function(e3) { + return d(e3).unsupportedFlowTypes; + }, t2.needsConflictingInQueueFlowTypes = function(e3) { + if (e3.isCommonModuleFlow) { + const { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3 } = d(e3); + return [t3, i3, n3].filter(Boolean).length >= 2; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), u.default.each(this.inputs, (t3) => { - t3.pasteReIdOrRename(e3); - }), u.default.each(this.outputs, (t3) => { - t3.pasteReIdOrRename(e3); - }); + return false; + }, t2.getSupportedInQueueFlowType = p, t2.getInqueueFlowTypeDefinition = function(e3) { + return r.default.getDefinitionForFlowType(p(e3)); + }, t2.getSupportedInQueueFlowManager = function(e3) { + const t3 = p(e3); + return o.flowTypes.isShortMessageFlowType(t3) ? l.inqueueShortMessageFlowListManager.getBriefManagerWithFallback() : o.flowTypes.isEmailFlowType(t3) ? s.inqueueEmailFlowListManager.getBriefManagerWithFallback() : a.inqueueCallFlowListManager.getBriefManagerWithFallback(); + }, t2.botFlowsAlignTransferActions = _; + const n2 = i2(31635), o = i2(96618), r = 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) => { + o.flowTypes.isVxmlgenFlowType(e4) && r.default.getDefinitionForFlowType(o.flowTypes.flowTypeInQueueCall).isAvailable ? t3 = true : o.flowTypes.isShortMessageFlowType(e4) && r.default.getDefinitionForFlowType(o.flowTypes.flowTypeInQueueShortMessage).isAvailable || e4 === o.flowTypes.flowTypeDigitalBot && _() ? n3 = true : o.flowTypes.isEmailFlowType(e4) && r.default.getDefinitionForFlowType(o.flowTypes.flowTypeInQueueEmail).isAvailable ? i3 = true : a2.push(e4); + }), { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3, unsupportedFlowTypes: a2 }; + } + function p(e3) { + const { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3 } = d(e3); + return !t3 || i3 || n3 ? t3 || i3 || !n3 ? t3 || !i3 || n3 ? void 0 : o.flowTypes.flowTypeInQueueEmail : o.flowTypes.flowTypeInQueueShortMessage : o.flowTypes.flowTypeInQueueCall; + } + function _() { + return u.isFeatureAvailable(c.default.botFlowsAlignTransferActions); + } + }, 88473(e2, t2, i2) { + "use strict"; + t2.addOutOfServiceProperties = function(e3, t3) { + return new y(e3, t3); + }; + const n2 = i2(31635), o = i2(79364), r = 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 o.Subject(), this.outOfServiceChanged$ = this._outOfServiceChangedSubject.asObservable(), e3.parentFlow, Object.defineProperties(this._target, { featureFlags: { get: () => this.featureFlags, set: (e4) => { + this.featureFlags = e4; + } }, hasOutOfServiceProvider: { value: true, writable: false }, outOfService: { get: () => this.outOfService, set: (e4) => { + this.outOfService = e4; + } }, outOfServiceProvider: { get: () => this }, supportedFlowTypes: { get: () => this.supportedFlowTypes, set: (e4) => { + this.supportedFlowTypes = e4; + } } }); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), u.default.each(this.inputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), u.default.each(this.outputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }); + get className() { + return "OutOfServiceProvider"; } - get guideId() { - return this._guideId; + _resetProductFeatureRulesCache() { + this._oosFromProductFeatureRules = void 0; } - set guideId(e3) { - this._guideId = e3; + get isOosFromProductFeatureRules() { + return this._oosFromProductFeatureRules && this.outOfService; } - get guideName() { - return this._guideName; + _updateOosFromProductFeatureRules() { + return !!(this._checkFeatureFlags() || this._checkTargetOptions() || this._checkFeatureConfig() || this._checkAntiFeatureConfig() || this._checkExpressionType() || this._checkSupportedFlowTypes()); } - set guideName(e3) { - this._guideName = e3; + _checkFeatureFlags() { + if (this.featureFlags && !r.default.every(this.featureFlags, (e3) => h.isEnabled(e3))) return true; } - get guideVersion() { - return this._guideVersion; + _checkParentsForOOS() { + var e3, t3; + 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)); } - set guideVersion(e3) { - this._guideVersion = e3; + _checkTargetOptions() { + if ((0, p.isBaseExpression)(this._target) && this._target.options.featureConfigName && s.isFeatureUnavailable(this._target.options.featureConfigName)) return true; } - get guideLatestVersion() { - return this._guideLatestVersion; + _checkFeatureConfig() { + if (this.featureConfigName && s.isFeatureUnavailable(this.featureConfigName)) return true; } - set guideLatestVersion(e3) { - this._guideLatestVersion = e3; + _checkAntiFeatureConfig() { + if (this.antiFeatureConfigName && s.isFeatureAvailable(this.antiFeatureConfigName)) return true; } - get inputs() { - return this._inputs; + _checkExpressionType() { + if ((0, d.isNormalExpression)(this._target) && this._target.parentFlow && this._target.options.assumeOosIfTypeUnavailable && !this._target.type.isAvailableForExpressionsFlowTypes(this._target)) return true; } - set inputs(e3) { - this._inputs = this.reviveArray(e3, d); + _checkSupportedFlowTypes() { + var e3; + const t3 = this._target.parentFlow; + if (t3 && (null === (e3 = this.supportedFlowTypes) || void 0 === e3 ? void 0 : e3.length)) { + if (this.allSupportedFlowTypesMustBeAvailableInFlow && t3.getUnsupportedFlowTypes(this.supportedFlowTypes).length) return true; + if (!r.default.intersection(t3.destinationFlowTypes, this.supportedFlowTypes).length) return true; + } } - get outputs() { - return this._outputs; + _invokeOutOfServiceChanged() { + var e3; + if (this._outOfServiceChangedSubject.next(), r.default.isFunction(this._target.outOfServiceChanged)) try { + this._target.outOfServiceChanged(this._target.isValidating); + } catch (e4) { + console.error(e4); + } + this.storeOnModel && (this.outOfService ? this._target.model.outOfService = true : null === (e3 = this._target) || void 0 === e3 || delete e3.model.outOfService); } - set outputs(e3) { - this._outputs = this.reviveArray(e3, d); + _shouldRecomputeOosFromProductFeatureRules() { + return void 0 === this._oosFromProductFeatureRules; } - get voiceProcessingPrompt() { - return this._voiceProcessingPrompt; + get outOfService() { + if (this._explicitOutOfService) return true; + let e3; + try { + let t3; + t3 = this._shouldRecomputeOosFromProductFeatureRules() ? this._updateOosFromProductFeatureRules() : this._oosFromProductFeatureRules, void 0 === this._oosFromProductFeatureRules && ((0, u.supportsInitializeDesignTime)(this._target) ? this._target.initializeDesignTimeCalled && (this._oosFromProductFeatureRules = t3) : this._oosFromProductFeatureRules = t3), e3 = t3 || this._checkParentsForOOS(); + } catch (e4) { + console.error(e4); + } + return e3 !== this._lastAutoOfService && (this._lastAutoOfService = e3, this._invokeOutOfServiceChanged()), this._lastAutoOfService; } - set voiceProcessingPrompt(e3) { - this._voiceProcessingPrompt = this.reviveItem(e3, c.default); + set outOfService(e3) { + (e3 = !!e3) !== this._explicitOutOfService && (this._explicitOutOfService = e3, this._invokeOutOfServiceChanged()); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get featureConfigName() { + return this._featureConfigName; } - get _globalTypeName() { - return "externalLinkConfiguration"; + set featureConfigName(e3) { + this._featureConfigName = e3, this._resetProductFeatureRulesCache(); } - get uriTemplate() { + get antiFeatureConfigName() { + return this._antiFeatureConfigName; } - get displayTypeName() { - return "ArchValueExternalLinkConfiguration"; + set antiFeatureConfigName(e3) { + this._antiFeatureConfigName = e3; } - get isArchValueExternalLinkConfiguration() { - return true; + get featureFlags() { + return this._featureFlags; } - } - t2.default = r2; - }, 56264: (e2, t2, i2) => { - const n2 = i2(75458), { decryptDataActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _decryptedDataOutput: { writable: true }, _dataToDecrypt: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.decryptedDataOutput.pasteResolveOldToNewValues(e3), this.dataToDecrypt.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.decryptedDataOutput.pasteResolveOldToNewValues(e3), this.dataToDecrypt.pasteResolveOldToNewValues(e3); - } }, decryptedDataOutput: { enumerable: true, get: function() { - return this._decryptedDataOutput; - }, set: function(e3) { - this._decryptedDataOutput = this.reviveItem(e3, o); - } }, dataToDecrypt: { enumerable: true, get: function() { - return this._dataToDecrypt; - }, set: function(e3) { - this._dataToDecrypt = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 56265: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(21345)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._attributeNameValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + set featureFlags(e3) { + T.ParameterValidator.expectArray(e3, () => f.ParameterInfo.createPropertySet(this.className, "featureFlags", "value")), r.default.isArray(e3) && (this._target && this._target.isExpression && a.error("use expression options for the feature flags"), r.default.every(e3, (e4) => l[e4]) ? (this._featureFlags = e3, this._resetProductFeatureRulesCache()) : a.error("not valid feature names")); } - addAttributeNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addAttributeNameValuePair"), t3, true), this._attributeNameValuePairs._addNameValueAssignment(e3, t3, false, false); + get supportedFlowTypes() { + return this._supportedFlowTypes; } - get attributeNameValuePairs() { - return this._attributeNameValuePairs; + set supportedFlowTypes(e3) { + T.ParameterValidator.expectArray(e3, () => f.ParameterInfo.createPropertySet(this.className, "supportedFlowTypes", "value")), r.default.isArray(e3) && (!e3.length || r.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")); } - get displayTypeName() { - return this._scriptingName; + destroy() { + var e3; + null === (e3 = this._destinationFlowTypesSubscription) || void 0 === e3 || e3.unsubscribe(), this._destinationFlowTypesSubscription = void 0, this._outOfServiceChangedSubject.complete(); + } + get allSupportedFlowTypesMustBeAvailableInFlow() { + return this._allSupportedFlowTypesMustBeAvailableInFlow; + } + set allSupportedFlowTypesMustBeAvailableInFlow(e3) { + this._allSupportedFlowTypesMustBeAvailableInFlow = e3, this._resetProductFeatureRulesCache(); } } - t2.default = r2; - }, 56322: (e2, t2, i2) => { - function n2() { - this.selection = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(52722).extend(n2, "SelectionItem"), e2.exports = n2; - }, 56356: (e2, t2, i2) => { + }, 13446(e2, t2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(74797), r2 = i2(30801); - class o extends n2.ArchBaseActionConversationAttribute { - constructor(e3) { - super(e3), this._recordId = this.coreFactory.createArchWrapper(e3.recordId); + class i2 { + constructor(e3, t3) { + this._id = e3, this._displayStr = t3; } - get _actionTypeId() { - return r2.getConversationAttributeActionType; + static create(e3, t3) { + return new i2(e3, t3); } - get displayTypeName() { - return this._scriptingName; + get id() { + return this._id; } - get isArchActionGetConversationAttribute() { - return true; + get displayStr() { + return this._displayStr; } - get recordId() { - return this._recordId; + get displayString() { + return this._displayStr; } } - t2.default = o; - }, 56464: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - var t3 = { format: "leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"), standalone: "ledna_\xFAnora_b\u0159ezna_dubna_kv\u011Btna_\u010Dervna_\u010Dervence_srpna_z\xE1\u0159\xED_\u0159\xEDjna_listopadu_prosince".split("_") }, i3 = "led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_"), n2 = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i], r2 = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; - function o(e4) { - return e4 > 1 && e4 < 5 && 1 != ~~(e4 / 10); - } - function a(e4, t4, i4, n3) { - var r3 = e4 + " "; - switch (i4) { - case "s": - return t4 || n3 ? "p\xE1r sekund" : "p\xE1r sekundami"; - case "ss": - return t4 || n3 ? r3 + (o(e4) ? "sekundy" : "sekund") : r3 + "sekundami"; - case "m": - return t4 ? "minuta" : n3 ? "minutu" : "minutou"; - case "mm": - return t4 || n3 ? r3 + (o(e4) ? "minuty" : "minut") : r3 + "minutami"; - case "h": - return t4 ? "hodina" : n3 ? "hodinu" : "hodinou"; - case "hh": - return t4 || n3 ? r3 + (o(e4) ? "hodiny" : "hodin") : r3 + "hodinami"; - case "d": - return t4 || n3 ? "den" : "dnem"; - case "dd": - return t4 || n3 ? r3 + (o(e4) ? "dny" : "dn\xED") : r3 + "dny"; - case "M": - return t4 || n3 ? "m\u011Bs\xEDc" : "m\u011Bs\xEDcem"; - case "MM": - return t4 || n3 ? r3 + (o(e4) ? "m\u011Bs\xEDce" : "m\u011Bs\xEDc\u016F") : r3 + "m\u011Bs\xEDci"; - case "y": - return t4 || n3 ? "rok" : "rokem"; - case "yy": - return t4 || n3 ? r3 + (o(e4) ? "roky" : "let") : r3 + "lety"; - } - } - e3.defineLocale("cs", { months: t3, monthsShort: i3, monthsRegex: r2, monthsShortRegex: r2, monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"), weekdaysShort: "ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"), weekdaysMin: "ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"), longDateFormat: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY H:mm", LLLL: "dddd D. MMMM YYYY H:mm", l: "D. M. YYYY" }, calendar: { sameDay: "[dnes v] LT", nextDay: "[z\xEDtra v] LT", nextWeek: function() { - switch (this.day()) { - case 0: - return "[v ned\u011Bli v] LT"; - case 1: - case 2: - return "[v] dddd [v] LT"; - case 3: - return "[ve st\u0159edu v] LT"; - case 4: - return "[ve \u010Dtvrtek v] LT"; - case 5: - return "[v p\xE1tek v] LT"; - case 6: - return "[v sobotu v] LT"; - } - }, lastDay: "[v\u010Dera v] LT", lastWeek: function() { - switch (this.day()) { - case 0: - return "[minulou ned\u011Bli v] LT"; - case 1: - case 2: - return "[minul\xE9] dddd [v] LT"; - case 3: - return "[minulou st\u0159edu v] LT"; - case 4: - case 5: - return "[minul\xFD] dddd [v] LT"; - case 6: - return "[minulou sobotu v] LT"; - } - }, sameElse: "L" }, relativeTime: { future: "za %s", past: "p\u0159ed %s", s: a, ss: a, m: a, mm: a, h: a, hh: a, d: a, dd: a, M: a, MM: a, y: a, yy: a }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: "%d.", week: { dow: 1, doy: 4 } }); - })(i2(95093)); - }, 56474: (e2, t2, i2) => { + t2.default = i2; + }, 55909(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.ParameterInfo = void 0; + class i2 { + constructor(e3, t3, i3) { + this.className = e3, this.methodName = t3, this.parameterName = i3, this._isPropertyGet = false, this._isPropertySet = false, this._propertyMode = void 0; } - get _globalTypeName() { - return "assignedCustomerSegmentCollection"; + get logStringHeader() { + let e3 = `${this.className}.${this.methodName}`; + return this._propertyMode && (e3 += `[${this._propertyMode}]`), `${e3}(${this.parameterName}): `; } - get displayTypeName() { - return "ArchValueAssignedCustomerSegmentCollection"; + get isPropertyGet() { + return this._isPropertyGet; } - get isArchValueAssignedCustomerSegmentCollection() { - return true; + get isPropertySet() { + return this._isPropertySet; } - } - 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; + static createConstructorParameter(e3, t3) { + return new i2(e3, "", t3); } - get displayTypeName() { - return "ArchValueExternalContactPatchChangeList"; + static createFunctionParameter(e3, t3, n2) { + return new i2(e3, t3, n2); } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "Length", this.length, true, true), this._createLogStrFromParts(e3); + static createPropertyGet(e3, t3) { + const n2 = new i2(e3, t3); + return n2._isPropertyGet = true, n2._propertyMode = "get", n2; } - get isArchValueExternalContactPatchChangeList() { - return true; + static createPropertySet(e3, t3, n2) { + const o = new i2(e3, t3, n2); + return o._isPropertySet = true, o._propertyMode = "set", o; } - get length() { - return this._coreList.items.length; + } + t2.ParameterInfo = i2; + }, 33951(e2, t2, i2) { + "use strict"; + t2.ParameterValidator = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(14187)), a = i2(30801), s = n2.__importDefault(i2(73198)), l = n2.__importDefault(i2(4648)), u = i2(96618), c = {}; + o.default.each(a.actionTypeValues, function(e3) { + c[e3] = true; + }), t2.ParameterValidator = class { + static _logError(e3, t3) { + return console.error(e3), t3; } - get fieldIds() { - return this._coreList.items.map((e3) => e3.fieldId); + static _logExpectedTypeError(e3, t3, i3, n3) { + let o2; + o2 = void 0 !== o2 ? i3().logStringHeader : "", this._logError(o2 + "Expected: " + t3 + (n3 ? ", null or undefined" : "") + ", Received: '" + e3 + "' (type: " + typeof e3 + ")", e3); } - get availableFieldIds() { - return [...this._coreList.availableFields]; + static _okIfNullOrUndefined(e3, t3) { + return t3 && null == e3; } - 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); + static _expectTrue(e3, t3, i3, n3, o2) { + if (true === e3 || this._okIfNullOrUndefined(t3, o2)) return t3; + this._logExpectedTypeError(t3, i3, n3, o2); } - 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]); + static expectActionType(e3, t3, i3) { + return this._expectTrue("string" == typeof e3 && true === c[e3], e3, "actionType string", t3, i3); } - 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); + static expectArray(e3, t3, i3) { + return this._expectTrue(o.default.isArray(e3), e3, "array", t3, 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); + static expectArrayOrObject(e3, t3, i3) { + return this._expectTrue(o.default.isArray(e3) || o.default.isObject(e3), e3, "array or object", t3, i3); } - } - 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)), 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"; + static expectArrayOrString(e3, t3, i3) { + return this._expectTrue(o.default.isArray(e3) || o.default.isString(e3), e3, "array or string", t3, i3); } - get id() { - return "languages"; + static expectBool(e3, t3, i3) { + return this._expectTrue(o.default.isBoolean(e3), e3, "boolean", t3, i3); } - canAddLanguage() { - return this.parentFlow.canAddLanguage(); + static expectChannelType(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isChannelType, e3, "ChannelType", t3, i3); } - addLanguage(e3) { - if (this.isFlowSupportedLanguage(e3)) return; - if (!this.canAddLanguage()) return; - const t3 = this._addLanguage({ language: e3 }, false); - return t3 && l.fireEvent(this, f.supportedLanguagesChanged), t3; + static expectExpression(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isExpression, e3, "expression", t3, i3); } - get className() { - return "LanguageSelectionViewModel"; + static expectExpressionOptions(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isExpressionOptions, e3, "expression options", t3, i3); } - get amObjectEventEmitter() { - return true; + static expectExpressionType(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isExpressionType, e3, "expressionType", t3, i3); } - get defaultLanguage() { - return this.parentFlow.defaultLanguage; + static expectExpressionTypeOrTypes(e3, t3, i3, n3) { + let r2; + return o.default.isArray(e3) ? (o.default.isUndefined(i3) && (i3 = true), o.default.isUndefined(n3) && (n3 = true), r2 = o.default.isEmpty(n3) ? n3 : o.default.isUndefined(o.default.find(e3, (t4) => t4 ? !(null == e3 ? void 0 : e3.isExpressionType) : !i3))) : r2 = null == e3 ? void 0 : e3.isExpressionType, this._expectTrue(r2, e3, "expressionType", t3, false); } - set defaultLanguage(e3) { - this.parentFlow.defaultLanguage = e3, (0, A.validateNode)(this, true); + static expectExpressionTypeOrString(e3, t3, i3) { + return this._expectTrue((null == e3 ? void 0 : e3.isExpressionType) || o.default.isString(e3), e3, "expressionType or string", t3, i3); } - getLanguagesForTTSEngine(e3) { - if (!e3 || !this.parentFlow.languagesSupportTtsAndAsrSettings) return; - let t3; - return o.default.each(this.supportedLanguageOptions, (i3) => { - var n3; - const r3 = null === (n3 = null == i3 ? void 0 : i3.textToSpeech) || void 0 === n3 ? void 0 : n3.getSelectedEngine(); - r3 && r3.id === e3 && (o.default.isUndefined(t3) && (t3 = []), t3.push(i3.language)); - }), t3; + static expectFeatureConfigName(e3, t3, i3) { + return this._expectTrue(o.default.isString(e3) && !o.default.isUndefined(l.default[e3]), e3, "feature config name", t3, i3); } - getLanguagesWithNoEngineSelected() { - if (this.parentFlow.languagesSupportTtsAndAsrSettings) return this.supportedLanguageOptions.filter((e3) => e3.textToSpeech.hasEngineNoneSelection).map((e3) => e3.language); + static expectFlowType(e3, t3, i3) { + return this._expectTrue(o.default.isString(e3) && o.default.contains(u.flowTypes.flowTypesAll, e3), e3, "flowType string", t3, i3); + } + static expectFlowViewModel(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isFlowViewModel, e3, "flow view model", t3, i3); } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - if (this.outOfService) return; - const i3 = {}; - o.default.each(this.supportedLanguageOptions, (n4) => { - var r4, a2, s2; - const l2 = {}; - this.parentFlow.languagesSupportDefaultLanguageSkill && (l2.defaultLanguageSkill = n4.languageSkill.getConfiguration(e3, t3)), this.parentFlow.languagesSupportTtsAndAsrSettings && (l2.textToSpeech = null === (r4 = n4.textToSpeech) || void 0 === r4 ? void 0 : r4.getConfiguration(e3, t3)), this.parentFlow.languagesSupportSpeechToTextSettings && (null === (a2 = n4.speechToTextEngine) || void 0 === a2 ? void 0 : a2.id) && (l2.speechToText = { engine: null === (s2 = n4.speechToTextEngine) || void 0 === s2 ? void 0 : s2.getConfiguration(e3, t3) }), this.parentFlow.supportsMultilingualKnowledge && n4.knowledgeBase && (l2.knowledgeBase = { name: n4.knowledgeBase.name }), this.parentFlow.supportsMultilingualKnowledge && n4.knowledgeSetting && (l2.knowledgeSetting = { name: n4.knowledgeSetting.label }), this.parentFlow.supportsConversationSummary && n4.conversationSummarySetting && (l2.conversationSummarySetting = { name: n4.conversationSummarySetting.name }), Object.keys(l2).length || o.default.ensureYamlNoneTrue(l2), i3[n4.language.toLowerCase()] = l2; - }); - const n3 = {}, r3 = o.default.keys(i3); - return r3.sort((e4, t4) => e4.localeCompare(t4)), o.default.each(r3, (e4) => { - n3[e4] = o.default.deepClone(i3[e4]); - }), n3; - } - e3.supportedLanguages = this.outOfService ? [] : this.supportedLanguages, e3.supportedLanguageOptions = [], this.outOfService || o.default.each(this.supportedLanguageOptions, (i3) => { - var n3, r3, o2; - const a2 = new p.default(); - a2.language = i3.language, this.parentFlow.languagesSupportDefaultLanguageSkill && (a2.languageSkill = i3.languageSkill.getConfiguration(e3, t3)), this.parentFlow.languagesSupportTtsAndAsrSettings && (a2.textToSpeech = null === (n3 = i3.textToSpeech) || void 0 === n3 ? void 0 : n3.getConfiguration(e3, t3)), this.parentFlow.languagesSupportSpeechToTextSettings && (null === (r3 = i3.speechToTextEngine) || void 0 === r3 ? void 0 : r3.id) && (a2.speechToText = { engine: null === (o2 = i3.speechToTextEngine) || void 0 === o2 ? void 0 : o2.getConfiguration(e3, t3) }), this.parentFlow.supportsMultilingualKnowledge && i3.knowledgeBase && (a2.knowledgeBase = i3.knowledgeBase.getConfiguration), this.parentFlow.supportsMultilingualKnowledge && i3.knowledgeSetting && (a2.knowledgeSetting = i3.knowledgeSetting.getConfiguration), this.parentFlow.supportsConversationSummary && i3.conversationSummarySetting && (a2.conversationSummarySetting = i3.conversationSummarySetting.getConfiguration), e3.supportedLanguageOptions.push(a2); - }); + static expectBaseClassObject(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isBaseClass, e3, "not a baseClass", t3, i3); } - getDisplayName() { - return L.setLocale.supportedLanguages; + static expectInt(e3, t3, i3) { + return this._expectTrue(o.default.isActualNumber(e3) && e3 === parseInt(e3, 10), e3, "integer ( number with integral value )", t3, i3); } - getSupportedLanguageOption(e3) { - const t3 = e3.toLowerCase(); - return o.default.find(this.supportedLanguageOptions, (e4) => e4.language.toLowerCase() === t3); + static expectIntLessThan(e3, t3, i3, n3) { + if (!o.default.isUndefined(this.expectInt(e3, i3, n3))) return o.default.isUndefined(t3) ? e3 : this._expectTrue(e3 < t3, e3, "integer is not less than a max value", i3, false); } - get isDisplayableNode() { - return this.parentFlow.supportsLanguages && !!this.parentFlow.languages; + static expectIntLessThanOrEqualTo(e3, t3, i3, n3) { + if (!o.default.isUndefined(this.expectInt(e3, i3, n3))) return o.default.isUndefined(t3) ? e3 : this._expectTrue(e3 <= t3, e3, "integer is not less than or equal to a max value", i3, false); } - get isLanguageNode() { - return true; + static expectIntMoreThan(e3, t3, i3, n3) { + if (!o.default.isUndefined(this.expectInt(e3, i3, n3))) return o.default.isUndefined(t3) ? e3 : this._expectTrue(e3 > t3, e3, "integer is not more than a max value", i3, false); } - isFlowSupportedLanguage(e3) { - return !!e3 && void 0 !== this.getSupportedLanguageOption(e3); + static expectIntMoreThanOrEqualTo(e3, t3, i3, n3) { + if (!o.default.isUndefined(this.expectInt(e3, i3, n3))) return o.default.isUndefined(t3) ? e3 : this._expectTrue(e3 >= t3, e3, "integer is not more than or equal to a max value", i3, false); } - loadConfiguration(e3) { - this.supportedLanguageOptions = [], e3.supportedLanguageOptions ? o.default.each(e3.supportedLanguageOptions, (e4) => this._addLanguage(e4, true)) : e3.supportedLanguages && (a.error("use supportedLanguages as a backup, but this should not be happening"), o.default.each(e3.supportedLanguages, (e4) => this.addLanguage(e4))), this.parentFlow.defaultLanguage && !this.isFlowSupportedLanguage(this.parentFlow.defaultLanguage) && this.addLanguage(this.parentFlow.defaultLanguage); + static expectIntOrString(e3, t3, i3) { + return this._expectTrue(o.default.isString(e3) || o.default.isActualNumber(e3) && e3 === parseInt(e3, 10), e3, "string or integer ( number with integral value )", t3, i3); } - get nodeGuxIcon() { - return "fa/language-regular"; + static expectMatchSettings(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isMatchSettings, e3, "match settings instance", t3, i3); } - get helpTopic() { - return v.helpTopics.treeNodes.supportedLanguages; + static expectNodeInformation(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isNodeInformation, e3, "NodeInformation", t3, i3); } - get outOfService() { - return !this.parentFlow.supportsLanguages; + static expectNumber(e3, t3, i3) { + return this._expectTrue(o.default.isActualNumber(e3), e3, "number", t3, i3); } - search(e3) { - o.default.each(this.supportedLanguageOptions, (t3) => { - var i3; - const n3 = y.getLanguageDisplayName(t3.language); - e3.checkText(this, n3, L.search.languageDescription), e3.checkText(this, t3.language, L.search.langCodeDescription), t3.textToSpeech && (e3.checkText(this, t3.textToSpeech.engine.name, L.textToSpeech.ttsEngine), e3.checkText(this, t3.textToSpeech.voice.name, L.textToSpeech.ttsVoice)), (null === (i3 = t3.speechToTextEngine) || void 0 === i3 ? void 0 : i3.name) && e3.checkText(this, t3.speechToTextEngine.name, L.speechToText.speechToTextEngineLabel); - }); + static expectNumberOrString(e3, t3, i3) { + return this._expectTrue(o.default.isString(e3) || o.default.isActualNumber(e3), e3, "number or string", t3, i3); } - canRemoveLanguage(e3) { - return !this.parentFlow.isReadOnly && (this.supportedLanguageOptions.length > 1 && !this.parentFlow.supportsMoreThanOneLanguage || !(e3 && !this.parentFlow.supportsDefaultLanguageChange && this.parentFlow.defaultLanguage === e3) && this.parentFlow.supportsAddRemoveLanguages); + static expectObject(e3, t3, i3) { + return this._expectTrue(o.default.isObject(e3) || o.default.isActualNumber(e3), e3, "object", t3, i3); } - resetLanguageKnowledge(e3) { - const t3 = e3 !== P.KnowledgeVersionValues.v2, i3 = e3 !== P.KnowledgeVersionValues.v3; - o.default.each(this.supportedLanguageOptions, (e4) => { - t3 && (e4.knowledgeBase = null), i3 && (e4.knowledgeSetting = null); - }); + static expectFunction(e3, t3, i3) { + return this._expectTrue(o.default.isFunction(e3), e3, "function", t3, i3); } - removeLanguage(e3) { - if (!this.canRemoveLanguage()) return; - const t3 = e3.toLowerCase(), i3 = o.default.find(this.supportedLanguageOptions, (e4) => e4.language.toLowerCase() === t3); - if (i3) { - const e4 = this.supportedLanguageOptions.indexOf(i3); - e4 >= 0 && (i3.languageSkill.destroy(), this._savedSupportedLanguagesViewModels = void 0, this.supportedLanguageOptions.splice(e4, 1)); - } - e3 === this.parentFlow.defaultLanguage && (this.supportedLanguageOptions.length > 0 ? this.parentFlow.defaultLanguage = this.supportedLanguageOptions[0].language : this.parentFlow.defaultLanguage = void 0), l.fireEvent(this, f.supportedLanguagesChanged); + static expectString(e3, t3, i3) { + return this._expectTrue(o.default.isString(e3), e3, "string", t3, i3); } - get supportedLanguages() { - return o.default.pluck(this.supportedLanguageOptions, "language"); + static expectStringComplexIdentifier(e3, t3, i3) { + return this._expectTrue(o.default.isString(e3) && e3.slice(0, s.default.exprDataTypePrefixComplex.length) === s.default.exprDataTypePrefixComplex, e3, "complex identifier string", t3, i3); } - get supportedLanguagesViewModels() { - return o.default.isUndefined(this._savedSupportedLanguagesViewModels) && (this._savedSupportedLanguagesViewModels = [], o.default.each(this.supportedLanguages, (e3) => { - this._savedSupportedLanguagesViewModels.push(y.getLanguageEntry(e3)); - })), this._savedSupportedLanguagesViewModels; + static expectCustomJsonIdentifier(e3, t3, i3) { + return this._expectTrue(o.default.isString(e3) && e3.slice(0, s.default.exprDataTypePrefixJsonArch.length) === s.default.exprDataTypePrefixJsonArch, e3, "custom json identifier", t3, i3); } - get defaultLanguageViewModel() { - return y.getLanguageEntry(this.defaultLanguage); + static expectTrue(e3, t3, i3, n3, o2) { + return this._expectTrue(e3, t3, i3, n3, o2); } - get supportedLanguagesLCase() { - const e3 = []; - return o.default.each(this.supportedLanguageOptions, (t3) => { - e3.push(t3.language.toLowerCase()); - }), e3; + static expectValidationResults(e3, t3, i3) { + return this._expectTrue(null == e3 ? void 0 : e3.isValidationResults, e3, "validation results view model", t3, i3); } - get supportedLanguageOptions() { - return this.parentFlow.supportedLanguageOptions; + static expectVariableScope(e3, t3, i3) { + return this._expectTrue(r.scopes[e3], e3, "number or string", t3, i3); } - set supportedLanguageOptions(e3) { - this.parentFlow.supportedLanguageOptions = e3; + static valueIsInvalid(e3, t3, i3, n3) { + this._logError((o.default.isFunction(t3) ? t3().logStringHeader : "") + (n3 ? "" : "Invalid Value: '" + e3 + "', ") + "Message: '" + i3 + "'", e3); } - updateDependencies() { - if (this.outOfService) return; - const e3 = this.parentFlow.languagesSupportDefaultLanguageSkill, t3 = this.parentFlow.languagesSupportTtsAndAsrSettings; - o.default.each(this.supportedLanguageOptions, (i3) => { - var n3, r3, o2, a2; - e3 && g.registerExpression(i3.languageSkill), i3.languageSkill.outOfService = !e3, t3 && i3.textToSpeech && i3.textToSpeech.updateDependencies(), this.parentFlow.languagesSupportSpeechToTextSettings && (null === (n3 = i3.speechToTextEngine) || void 0 === n3 ? void 0 : n3.id) && g.registerConsumer(this, m.speechToTextEngineManager.dependencyContext + i3.language, i3.speechToTextEngine.name, i3.speechToTextEngine.id, g.NO_VERSION, m.speechToTextEngineManager.dependencyType), this.parentFlow.supportsMultilingualKnowledge && (null === (r3 = i3.knowledgeBase) || void 0 === r3 ? void 0 : r3.knowledgeBaseId) && g.registerConsumer(this, h.knowledgeBaseManager.dependencyContext + i3.language, i3.knowledgeBase.knowledgeBaseName, i3.knowledgeBase.knowledgeBaseId, g.NO_VERSION, h.knowledgeBaseManager.dependencyType), this.parentFlow.supportsMultilingualKnowledge && (null === (o2 = i3.knowledgeSetting) || void 0 === o2 ? void 0 : o2.knowledgeSettingId) && g.registerConsumer(this, D.knowledgeSettingManager.dependencyContext + i3.language, i3.knowledgeSetting.knowledgeSettingName, i3.knowledgeSetting.knowledgeSettingId, g.NO_VERSION, D.knowledgeSettingManager.dependencyType), this.parentFlow.supportsConversationSummary && (null === (a2 = i3.conversationSummarySetting) || void 0 === a2 ? void 0 : a2.id) && g.registerConsumer(this, F.conversationSummarySettingManager.dependencyContext + i3.language, i3.conversationSummarySetting.name, i3.conversationSummarySetting.id, g.NO_VERSION, F.conversationSummarySettingManager.dependencyType); - }); + }; + }, 96546(e2, t2) { + "use strict"; + var i2; + t2.whatsAppOnly = t2.appleBusinessOnly = void 0, (function(e3) { + e3.apple = "apple", e3.appleBusiness = "applebusinesschat", e3.discord = "discord", e3.facebookMessenger = "facebookmessenger", e3.genesysChatWidget = "genesyschatwidget", e3.line = "line", e3.phone = "phone", e3.signal = "signal", e3.slack = "slack", e3.telegram = "telegram", e3.webChat = "webchat", e3.whatsApp = "whatsapp", e3.unknown = "unknown"; + })(i2 || (i2 = {})), t2.appleBusinessOnly = [i2.appleBusiness], t2.whatsAppOnly = [i2.whatsApp]; + }, 49416(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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._regExActions = new RegExp(/{{\s?actions\.(.*?)\s?}}/), this._regExLink = new RegExp(/{{link\.([^,}]+?)(?:,\s(.*?))?}}/); } - knowledgeSelected(e3, t3) { - this.isKnowledgeV3Enabled ? (e3.knowledgeSetting = t3, e3.knowledgeBase = void 0) : (e3.knowledgeBase = t3, e3.knowledgeSetting = void 0); + get className() { + return "StringResolverService"; } - conversationSummarySelected(e3, t3) { - e3.conversationSummarySetting = t3; + get isStringResolverService() { + return true; } - validate(e3) { - var t3, i3, n3; - if (!this.parentFlow.supportsLanguages) return; - if (!this.parentFlow.supportedLanguageOptions || this.supportedLanguageOptions.length < 1) return void e3.addError(this, L.setLocale.noSupportedLanguages); - this.parentFlow.isNluFlow && !(null === (t3 = this.parentFlow.botFlowSettings) || void 0 === t3 ? void 0 : t3.allowsMoreThanOneSupportedLanguage) && this.supportedLanguages.length > 1 && e3.addError(this, L.flow.nluEngineDoesNotSupportMultilingual); - const a2 = this.parentFlow.definition; - !a2.supportsMoreThanOneLanguage && this.supportedLanguageOptions.length > 1 && e3.addError(this, `You may only have one supported language in a flow of type '${a2.typeDisplayName}'.`); - const s2 = a2.availableLanguageTags; - if (o.default.isArray(s2) && s2.length && o.default.each(this.supportedLanguageOptions, (t4) => { - if (!o.default.contains(s2, t4.language.toLowerCase())) try { - const i4 = y.getLanguageEntry(t4.language).displayString; - e3.addError(this, `The language '${i4}' is not valid as a supported language for a flow of type '${this.parentFlow.definition.typeDisplayName}'.`); - } catch (i4) { - 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, 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; - } - if (this.parentFlow.supportsConversationSummary && (t4.conversationSummaryError = void 0, null === (i4 = t4.conversationSummarySetting) || void 0 === i4 ? void 0 : i4.id)) { - const i5 = F.conversationSummarySettingManager.getItem(t4.conversationSummarySetting.id); - if (i5 && t4.conversationSummarySetting.name !== i5.name && (t4.conversationSummarySetting.model.name = i5.name), !i5 || (null === (n4 = i5.language) || void 0 === n4 ? void 0 : n4.toLowerCase()) !== t4.language.toLowerCase()) { - const i6 = (0, r2.sprintf)(L.customNodes.virtualAgentSettings.conversationSummarySettingsSummaryNotFound, t4.conversationSummarySetting.name); - e3.addError(this, i6), t4.conversationSummaryError = i6; - } - } - if (this.parentFlow.supportsMultilingualKnowledge && this.parent.defaultLanguage !== t4.language && t4.languageSupportsKnowledge) { - if (t4.knowledgeBaseError = void 0, t4.knowledgeBaseWarning = void 0, (null === (o2 = t4.knowledgeBase) || void 0 === o2 ? void 0 : o2.knowledgeBaseId) && !t4.knowledgeBaseConfigListManager.getItem(t4.knowledgeBase.knowledgeBaseId) && !this.isKnowledgeV3Enabled) { - const i5 = (0, r2.sprintf)(L.errors.invalidValue, (0, r2.sprintf)(L.knowledgeSettings.knowledgeBaseNotFoundForLanguage, this._getLanguageAndTerritoryStringById(t4.language))); - e3.addError(this, i5), t4.knowledgeBaseError = i5; - } - if ((null === (a3 = t4.knowledgeSetting) || void 0 === a3 ? void 0 : a3.knowledgeSettingId) && !t4.knowledgeSettingConfigListManager.getItem(t4.knowledgeSetting.knowledgeSettingId) && this.isKnowledgeV3Enabled) { - const i5 = (0, r2.sprintf)(L.errors.invalidValue, (0, r2.sprintf)(L.knowledgeSettings.knowledgeSettingNotFoundForLanguage, this._getLanguageAndTerritoryStringById(t4.language))); - 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 === (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; - } - } else { - const i5 = (0, r2.sprintf)(L.knowledgeSettings.knowledgeBaseNotSelectedForLanguage, this._getLanguageAndTerritoryStringById(t4.language)); - e3.addWarning(this, i5), t4.knowledgeBaseWarning = i5; - } + resolveString(e3, t3) { + if (!o.default.isString(e3) || e3.indexOf("{") < 0) return e3; + e3 = this._resolveLinks(e3, s.default.linkIdsToLinkUrl); + 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, 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, o2 = t3.getVariable(n3[1]); + o2 && (e3 = e3.replace(n3[0], o2.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 = r.default.outputIdsToLabels[l2[1]]; + 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; ) { + const t4 = e3; + let i4; + switch (u2[1]) { + case "__INTENTS__": + i4 = c.intents.label; + break; + case "__KNOWLEDGE__": + i4 = c.knowledgeSettings.knowledgeLabel; + break; + case "__NATURAL_LANGUAGE_UNDERSTANDING__": + i4 = c.bot.naturalLanguageUnderstanding; } - }), null === (i3 = this.supportedLanguageOptions) || void 0 === i3 ? void 0 : i3.length) { - if (this.parentFlow.languagesSupportSpeechToTextSettings) { - const t5 = []; - if (this.supportedLanguageOptions.forEach((e4) => { - (o.default.isUndefined(e4.speechToTextEngine) || e4.speechToTextEngine.isGenesysEngine) && t5.push(e4.language.toLowerCase()); - }), null == t5 || t5.sort(), t5.length > 0 && t5.length < (null === (n3 = this.supportedLanguageOptions) || void 0 === n3 ? void 0 : n3.length)) { - let i5 = L.speechToText.speechToTextEngineRequiredMessage; - { - let e4 = ""; - for (let i6 = 0; i6 < t5.length; i6++) i6 !== t5.length - 1 ? e4 += t5[i6] + ", " : e4 += t5[i6] + "."; - i5 = i5 + " The languages that still need a speech to text engine configured are: " + e4; - } - e3.addError(this, i5); - } - const i4 = this.supportedLanguageOptions.filter((e4) => { - var t6; - 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; - const t6 = E.default.getDefaultEngineForLanguage(e4.language); - if (t6) { - const i5 = { type: _.AlertTypeEnum.info, message: (0, r2.sprintf)(L.speechToText.defaultSpeechToTextEngineUpdated, e4.language, t6.name) }; - f.emitter.emit(f.alert, i5); - } - }); + 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; ) { + const t4 = e3; + let i4; + switch (p2[1]) { + case "__STANDARD__": + i4 = c.knowledgeSettings.knowledgeSettingsModes.standard; + break; + case "__CUSTOM__": + i4 = c.knowledgeSettings.knowledgeSettingsModes.custom; } - const t4 = this.supportedLanguageOptions.filter((e4) => e4.textToSpeech.engineUpdatedToMatchOrg).map((e4) => (e4.textToSpeech.engineUpdatedToMatchOrg = false, e4.textToSpeech)); - if (t4.length) if (1 === t4.length) { - const e4 = { type: _.AlertTypeEnum.info, message: (0, r2.sprintf)(L.textToSpeech.defaultEngineUpdated, t4[0].languageId, t4[0].engine.name) }; - f.emitter.emit(f.alert, e4); - } else this.addAlertsForLanguagesWithUpdatedDefaultTtsEngine(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; } - addAlertsForLanguagesWithUpdatedDefaultTtsEngine(e3) { - const t3 = { type: _.AlertTypeEnum.info, message: "" }, i3 = o.default.uniq(e3.map((e4) => e4.engine.name)); - if (1 === i3.length) { - const n3 = e3.map((e4) => "'" + e4.languageId + "'"); - t3.message = (0, r2.sprintf)(L.textToSpeech.defaultEngineUpdatedMoreThanOne, T.getListDisplayString(n3), i3[0]), f.emitter.emit(f.alert, t3); - } else i3.forEach((i4) => { - let n3, o2 = e3.filter((e4) => e4.engine.name === i4).map((e4) => e4.languageId); - 1 === o2.length ? n3 = L.textToSpeech.defaultEngineUpdated : (o2 = o2.map((e4) => "'" + e4 + "'"), n3 = L.textToSpeech.defaultEngineUpdatedMoreThanOne), t3.message = (0, r2.sprintf)(n3, T.getListDisplayString(o2), i4), f.emitter.emit(f.alert, t3); - }); + _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; } - get wrappedYamlName() { - return "supportedLanguages"; + _resolveLinks(e3, t3) { + if (!o.default.isString(e3) || e3.indexOf("{") < 0) return e3; + let i3 = ""; + return this.resolveLinkToParts(e3, t3).forEach((e4) => { + if (e4.linkInfo) { + const t4 = "function" == typeof e4.linkInfo.getLinkUrl ? e4.linkInfo.getLinkUrl() : "#", n3 = o.default.escape(t4), r2 = o.default.escape(e4.linkInfo.linkTitle || e4.text); + i3 += `${r2}`; + } else i3 += e4.text; + }), i3; } - get isKnowledgeV3Enabled() { - return this.parent.knowledgeSettings.isKnowledgeV3EnabledInFlow; + resolveLinkToParts(e3, t3) { + if (!o.default.isString(e3) || e3.indexOf("{") < 0) return [{ text: e3 }]; + const i3 = []; + let n3 = this._regExLink.exec(e3); + for (; n3; ) { + const o2 = n3[0], r2 = n3[1], a2 = n3[2]; + i3.push({ text: e3.slice(0, n3.index) }), e3 = e3.slice(n3.index + o2.length); + const s2 = t3[r2]; + if (s2) { + const e4 = a2 || s2.linkTitle || s2.getLinkUrl(); + i3.push({ text: e4, linkInfo: s2 }); + } else d.traceOnce(`StringResolverService resolveLinkToParts - ${this.className}`, (e4) => e4.warning(`Can't resolve link with key ${r2}`)), i3.push({ text: o2 }); + n3 = this._regExLink.exec(e3); + } + return i3.push({ text: e3 }), i3; } - _destroy() { - super._destroy(), o.default.each(this.supportedLanguageOptions, (e3) => e3.languageSkill.destroy()), this._savedSupportedLanguagesViewModels = void 0; + } + t2.default = new p(); + }, 90178(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(28130)), r = n2.__importDefault(i2(4648)), a = n2.__importDefault(i2(61864)), s = n2.__importStar(i2(62829)), l = n2.__importDefault(i2(41510)), u = n2.__importDefault(i2(92140)), c = i2(47957), d = { create2026: o.default.create("category.create2026", l.default.demo.create2026, a.default.skills, r.default.create2026WorkshopFeature), aiStudio: o.default.create("category.aiStudio", l.default.genesys.aiStudio, a.default.aiStudio), userInput: o.default.create("category.userInput", c.actions.ask, a.default.ask), audio: o.default.create("category.audio", c.audio.audioLabel, a.default.playAudio), bot: o.default.create("category.bot", c.actions.botState, a.default.bot), common: o.default.create("category.common", c.actions.common, a.default.common), communication: o.default.create("category.communication", c.actions.communicate, a.default.communication), conversation: o.default.create("category.conversation", c.actions.conversation, a.default.conversation), customerSecureData: o.default.create("category.customerSecuredData", c.categories.customerSecuredData, a.default.lock), data: o.default.create("category.data", c.actions.data, a.default.database), dial: o.default.create("category.dial", c.actions.dial, a.default.dial), disconnect: o.default.create("category.disconnect", c.actions.disconnect, a.default.disconnect), email: o.default.create("category.email", c.actions.email, a.default.sendReply), external: o.default.create("category.external", c.actions.external, a.default.road), find: o.default.create("category.find", c.categories.find, a.default.find), flow: o.default.create("category.flow", c.categories.flow, a.default.change), holdMusic: o.default.create("category.holdMusic", c.actions.holdMusic, a.default.hold), journey: o.default.create("category.journey", c.categories.journey, a.default.journey), logical: o.default.create("category.logical", c.actions.logical, a.default.decision), loop: o.default.create("category.loop", c.actions.loop, a.default.loop), media: o.default.create("category.media", c.actions.media, a.default.mailbox), menu: o.default.create("category.menu", c.actions.menu, a.default.menu), returnToAgent: o.default.create("category.returnToAgent", c.actions.returnToAgent, a.default.terminator), send: o.default.create("category.send", c.actions.send, a.default.send), state: o.default.create("category.state", c.actions.state, a.default.state), surveyInvite: o.default.create("category.surveyInvite", c.actions.surveyInvite, a.default.survey), task: o.default.create("category.task", c.actions.task, a.default.task), transfer: o.default.create("category.transfer", c.actions.transfer, a.default.transfer), unknown: o.default.create("category.unknown", c.actions.unknown, a.default.unknown), wait: o.default.create("category.wait", c.actions.wait, a.default.duration), workitem: o.default.create("category.workitem", c.actions.workitem, a.default.workitem) }; + u.default.each(d, function(e3) { + s.registerActionCategory(e3); + }), t2.default = d; + }, 42837(e2, t2, i2) { + "use strict"; + t2.actionMaxItemsLimitBindings = void 0; + const n2 = i2(59578), o = i2(82632), r = i2(30801), a = i2(82632), s = i2(30801); + t2.actionMaxItemsLimitBindings = [{ actionTypeId: s.sendResponseActionType, limitName: n2.actionLimitNames.fileAttachmentsPerResponseMax, target: a.sendResponseAction.attachments }, { actionTypeId: r.sendAutoReplyActionType, limitName: n2.actionLimitNames.fileAttachmentsPerResponseMax, target: o.sendAutoReplyAction.attachments }]; + }, 85534(e2, t2, i2) { + "use strict"; + t2.processBootstrapActionLimits = function(e3) { + for (const t3 of n2.actionMaxItemsLimitBindings) o(t3, e3); + }; + const n2 = i2(42837); + i2(59578), i2(16321); + function o(e3, t3, i3) { + var n3, o2, r; + const a = null === (o2 = null === (n3 = null == t3 ? void 0 : t3[e3.actionTypeId]) || void 0 === n3 ? void 0 : n3.limits) || void 0 === o2 ? void 0 : o2.getLimitCondition(e3.limitName); + e3.target.maxItems = null !== (r = null == a ? void 0 : a.getIntValue(e3.target.maxItems, i3)) && void 0 !== r ? r : e3.target.maxItems; + } + }, 84464(e2, t2, i2) { + "use strict"; + t2.actionRegistrationService = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(12847)), a = i2(56673), s = i2(55909), l = i2(33951); + class u extends a.BaseRegistrationService { + constructor() { + super(); } - _initializeDesignTime() { - super._initializeDesignTime(), o.default.each(this.supportedLanguageOptions, (e3) => { - this._initializeLanguageViewModel(e3); - }); + get className() { + return "ActionRegistrationService"; } - _addLanguage(e3, t3) { - var i3, n3, o2; - if (!this.parentFlow.supportsLanguages) return; - if (this.isFlowSupportedLanguage(e3.language)) return; - const a2 = y.getLangKnowledgeBaseLanguageTag(e3.language), s2 = this._getLinkButtonInfo(null === (i3 = e3.knowledgeBase) || void 0 === i3 ? void 0 : i3.id), l2 = this._getSettingLinkButtonInfo(null === (n3 = e3.knowledgeSetting) || void 0 === n3 ? void 0 : n3.id), p2 = this._getSummaryLinkButtonInfo(null === (o2 = e3.conversationSummarySetting) || void 0 === o2 ? void 0 : o2.id), _2 = { name: L.generic.default, id: E.default.defaultId }, g2 = (e4, t4) => { - const i4 = e4.filter((e5) => e5.isGenesysEngine), n4 = e4.filter((e5) => !e5.isGenesysEngine).sort((e5, t5) => { - var i5, n5; - return null === (i5 = e5.name) || void 0 === i5 ? void 0 : i5.toLocaleLowerCase().localeCompare(null === (n5 = t5.name) || void 0 === n5 ? void 0 : n5.toLocaleLowerCase()); - }), r3 = i4.sort((e5, t5) => { - var i5, n5; - 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 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) => { - f2._speechToTextEngineChoice = e4, (0, A.validateNode)(this, true); - } }), Object.defineProperty(f2, "knowledgeBase", { get: () => f2._knowledgeBase, set: (e4) => { - f2._knowledgeBase = e4, f2.knowledgeBaseLinkButtonInfo = this._getLinkButtonInfo(null == e4 ? void 0 : e4.id), (0, A.validateNode)(this, true), (0, A.validateNode)(this.parent.knowledgeSettings, true); - } }), Object.defineProperty(f2, "knowledgeSetting", { get: () => f2._knowledgeSetting, set: (e4) => { - f2._knowledgeSetting = e4, f2.knowledgeSettingLinkButtonInfo = this._getSettingLinkButtonInfo(null == e4 ? void 0 : e4.id), (0, A.validateNode)(this, true), (0, A.validateNode)(this.parent.knowledgeSettings, true); - } }), Object.defineProperty(f2, "hasNoSpeechToTextEngineChoices", { get: () => { - var e4, t4; - return f2.speechToTextSearchManager ? !f2.speechToTextSearchManager.loading && 0 === (null === (t4 = null === (e4 = f2.speechToTextSearchManager) || void 0 === e4 ? void 0 : e4.results) || void 0 === t4 ? void 0 : t4.length) : !!f2.speechToTextEngineChoices && 0 === f2.speechToTextEngineChoices.length; - }, set: (e4) => { - (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 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; + get isActionRegistrationService() { + return true; } - _loadSTTEngine(e3) { - if (!e3.speechToText) { - const t4 = E.default.getDefaultEngineForLanguage(e3.language); - if (t4) { - const e4 = new C.default({}); - return e4.setEngine(t4, true), e4; + registerItem(e3) { + super.registerItem(e3), l.ParameterValidator.expectObject(e3.info, () => s.ParameterInfo.createFunctionParameter(this.className, "registerItem", "itemViewModel.info")), l.ParameterValidator.expectActionType(e3.info.typeId, () => s.ParameterInfo.createFunctionParameter(this.className, "registerItem", "itemViewModel.info.typeId")); + const t3 = this._getFlowSpecificMap(e3); + let i3 = t3[e3.info.typeId]; + i3 || (i3 = t3[e3.info.typeId] = {}), i3[e3.id] = e3; + } + unregisterItem(e3) { + var t3; + super.unregisterItem(e3), l.ParameterValidator.expectObject(e3.info, () => s.ParameterInfo.createFunctionParameter(this.className, "unregisterItem", "itemViewModel.info")), l.ParameterValidator.expectActionType(e3.info.typeId, () => s.ParameterInfo.createFunctionParameter(this.className, "unregisterItem", "itemViewModel.info.typeId")); + try { + const i3 = this._getFlowSpecificMap(e3); + if (!i3) return void r.error(`${e3.id} not found to unregister - no flow bucket available for flow id '${e3.parentFlow.id}'`); + if (!(null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.loaded)) return; + const n3 = i3[e3.info.typeId]; + if (!n3) return void r.error(`${e3.id} not found to unregister - no instances of the action type '${e3.info.typeId}' registered`); + if (!n3[e3.id]) return void r.error(`${e3.id} not found to unregister - the action id '${e3.id}' is not in the action type '${e3.info.typeId}' bucket`); + delete n3[e3.id], o.default.values(n3).length || (delete i3[e3.info.typeId], o.default.values(i3).length || delete this._flowMap[e3.parentFlow.instanceId]); + } catch (e4) { + r.error("exception caught in ActionRegistrationService::unregisterItem"); + } + } + getActionById(e3, t3) { + const i3 = this._getFlowSpecificMap(e3); + let n3; + return Object.entries(i3).find(([e4]) => { + 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; } - return; } - const t3 = new C.default(e3.speechToText.engine); - 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) === w.engineSelectionTypes.engineSelectionDefault ? t3 : new C.default(e3.speechToText.engine) : t3; + 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); + if (!i3) return []; + const n3 = i3[t3]; + return n3 ? o.default.values(n3) : []; } - _loadSTTEngineChoices(e3, t3, i3) { - const n3 = o.default.filter(E.default.items, (t4) => !t4.grammarBased && t4.isLanguageSupported(e3)); - return o.default.isEmpty(n3) ? [] : i3(Object.values(n3), t3); + getHasActionsOfActionType(e3, t3) { + if (l.ParameterValidator.expectFlowViewModel(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "getHasActionsOfActionType", "flowViewModel")), l.ParameterValidator.expectActionType(t3, () => s.ParameterInfo.createFunctionParameter(this.className, "getHasActionsOfActionType", "actionType")), !e3 || !e3.id || !t3) return false; + const i3 = this._getFlowSpecificMap(e3); + if (!i3) return false; + const n3 = i3[t3]; + return !!n3 && !o.default.isEmpty(n3); } - _defaultSttEngineLabel(e3) { - const t3 = E.default.getDefaultEngineForLanguage(e3.language); - if (t3) return (0, r2.sprintf)(L.textToSpeech.defaultEngineLabel, t3.name); + } + t2.actionRegistrationService = new u(); + }, 2318(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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)), _ = r.getTopic("addInService"), h = new class { + constructor() { + this._addInEventSinks = {}; } - _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) === 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; + get currentUserCanUseBotSessionViewer() { + return u.isFeatureAvailable(a.default.botFlowsUiSessionViewer) && c.permissionServiceHelper.canViewBotSessions(); } - _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) === 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); - } + get currentUserCanUseIntentMiner() { + return c.permissionServiceHelper.canViewIntentMiner(); } - _initializeLanguageViewModel(e3) { - e3 && (e3.languageSkill.initializeDesignTime(), e3.textToSpeech && e3.textToSpeech.initializeDesignTime()); + get currentUserCanUsePreviewWidget() { + return u.isFeatureAvailable(a.default.previewDigitalBotFlowTestWidgetFeature) && c.permissionServiceHelper.canUsePreviewWidget(); } - _getLinkButtonInfo(e3) { - if (!e3) return; - const t3 = this.isKnowledgeV2Available ? S.getAdminKnowledgeBaseUrl(e3) : S.getKnowledgeBaseWorkbenchUrl(e3); - return { text: L.knowledgeSettings.openKnowledgeInNewTab, url: t3 }; + get currentUserCanUseBotPerformanceReport() { + return c.permissionServiceHelper.canViewBotPerformanceReport(); } - _getSettingLinkButtonInfo(e3) { - if (!e3) return; - const t3 = S.getAdminKnowledgeSettingUrl(e3); - return { text: L.knowledgeSettings.openKnowledgeInNewTab, url: t3 }; + get currentUserCanUseOptimizationOverview() { + return u.isFeatureAvailable(a.default.botFlowsAnalyticsDashboardFeature) && c.permissionServiceHelper.canViewOptimizationOverview(); } - _getSummaryLinkButtonInfo(e3) { - if (!e3) return; - const t3 = S.getAdminConversationSummarySettingUrl(e3); - return { text: L.customNodes.virtualAgentSettings.conversationSummarySettingsButtonToolTip, url: t3 }; + get currentUserCanUseInteractionReport() { + return c.permissionServiceHelper.canViewInteractionReport(); } - get isKnowledgeV2Available() { - return s.isFeatureAvailable(N.default.orgAvailabilityKnowledgeV2); + get currentUserCanUseSurveyPerformanceReport() { + return c.permissionServiceHelper.canViewSurveyPerformanceReport(); } - _getLanguageAndTerritoryStringById(e3) { - const t3 = y.getLanguageDisplayName(e3), i3 = y.getLanguageEntry(e3); - return `${t3} (${y.getTerritoryDisplayName(i3.id)})`; + get currentUserCanUseContentSearchEnabledKnowledge() { + return u.isFeatureAvailable(a.default.botFlowsKnowledgeContentSearch); } - } - t2.default = k; - }, 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)), 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}`); + get currentUserCanUseKnowledge() { + return u.isFeatureAvailable(a.default.botFlowsKnowledge); } - 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(); + get currentUserCanUseKnowledgeV3() { + return u.isFeatureAvailable(a.default.botFlowsVirtualAgentKnowledgeV3); } - get displayTypeName() { - return "ArchNetworkValueRetrieval"; + get currentUserCanUsePathDiscovery() { + return u.isFeatureAvailable(a.default.pathDiscoveryFeature) && c.permissionServiceHelper.canViewPathDiscovery(); } - get logStr() { - return this._createLogStrFromParts(["ArchNetworkValueRetrieval"]); + get currentUserCanUsePathDiscoveryCallFlows() { + return u.isFeatureAvailable(a.default.pathDiscoveryCallFlowsFeature) && c.permissionServiceHelper.canViewPathDiscovery(); } - _checkoutFlow(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = f.checkOut(e3.id); - return yield l.default.addPromise(t3, "checkoutFlow"); - }); + get currentUserCanUsePathDiscoveryV3Flows() { + return u.isFeatureAvailable(a.default.pathDiscoveryV3Feature) && c.permissionServiceHelper.canViewPathDiscovery(); } - _checkoutFlowByFlowInfoAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = e3.lockedUser, n3 = null == o ? void 0 : o.getConnectedUser(); - if (i3 && n3 && n3.id === i3.id) { - const t4 = Promise.resolve(); - return l.default.addPromise(t4, "checkoutFlowByFlowInfoAsync"), e3; - } - if (i3 && t3) { - const t4 = f.unlock(e3.id); - return yield t4, this._checkoutFlow(e3); - } - return this._checkoutFlow(e3); - }); + get currentUserCanUseVirtualAgentItems() { + return u.isFeatureAvailable(a.default.botFlowsVirtualAgentSummarization) || u.isFeatureAvailable(a.default.botFlowsDigitalBotFlowsBotSummarization); } - _loadFlowByFlowInfoAsync(e3, t3, i3, o2, s2, p2) { - return n2.__awaiter(this, void 0, void 0, function* () { - let n3, _2; - 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; - } - { - const t4 = l.default.addPromise(n3, "loadFlowByFlowInfoAsync"), i4 = yield t4; - return yield u.tryLoadConfig(e3, i4), p2 ? e3.info.versions.loadedConfigurationVersion(a.default.FLOW_VERSIONS.latest) : _2 && e3.info.versions.loadedConfigurationVersion(_2), e3; - } - }); + get currentUserCanUseVirtualAgentPerformanceReport() { + return u.isFeatureAvailable(a.default.botFlowsVirtualAgentKPI) && c.permissionServiceHelper.canViewVirtualAgentPerformanceReport(); } - _unlockFlowAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - if (e3.lockedUser) return l.default.addPromise(f.unlock(e3.id), "unlockFlowAsync"); - { - const t3 = Promise.resolve(); - return l.default.addPromise(t3, "unlockFlowAsync"), e3; + createFlowSupportedLanguagesSnapshot(e3) { + var t3, i3; + if (!(null == e3 ? void 0 : e3.supportsLanguages)) return; + const n3 = [], r2 = null === (t3 = e3.defaultLanguage) || void 0 === t3 ? void 0 : t3.toLowerCase(); + return o.default.each(null === (i3 = null == e3 ? void 0 : e3.languages) || void 0 === i3 ? void 0 : i3.supportedLanguagesLCase, (e4) => { + if (o.default.isString(e4)) { + const t4 = { id: e4 }; + e4 === r2 && (t4.isDefault = true), n3.push(t4); } - }); + }), 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}'`); - 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(); - }); + createStartupModeAddIntent() { + return { action: "addIntent" }; } - findItemByValueAsync(e3, t3, i3, o2, a2, u2, c2) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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}'`); - 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; - } - 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); - } - }); - return p.default.captureEnabled ? p.default.runInScope(d2) : d2(); - }); + createArchFlowVersionInfo(e3) { + if (e3) return { name: e3.name }; } - loadAllItemsAsync(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemUndefinedOrNull(this._infoParm("configListManager", "loadAllItemsAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("loggingLabel", "loadAllItemsAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("searchProperty", "loadAllItemsAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("wireProperty", "loadAllItemsAsync"), r3, true), i3 || (i3 = "name"), r3 || (r3 = i3), this.logNote(`load all '${t3}' where '${i3}' = '*'`); - 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, m.contains), l2 = []; - for (let e4 = 0; e4 < a2.length; e4++) l2.push(a2[e4]); - if (1 === l2.length) { - const t4 = l2[0]; - return s.default.setInValueCache(n3, t4, e3), t4; - } - return l2.length > 1 ? (this.logNote(`load all '${t3}' - found ${l2.length} items.`), s.default.setInValueCache(n3, l2, e3), l2) : (this.logError(`load all '${t3}' - no items.`), []); - } catch (e4) { - throw this.logError(`load all '${t3}' - Failed to load items.`), e4; + createCommonCustomData(e3, t3, i3, n3) { + var r2, a2, s2, c2, _2, h2; + const m = { actions: {}, sttEngines: [], enabledFeatures: u.getEnabledFeatureConfigNames(), isReadOnly: !!(null == e3 ? void 0 : e3.isReadOnly), startup: o.default.isObject(n3) ? n3 : { action: null }, viewSettings: { languageSettings: o.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) && o.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); + }), e3.flowSequenceItemList) { + const t4 = e3.flowSequenceItemList.reduce((e4, t5) => { + var i4; + const n4 = (null !== (i4 = t5.actionList) && void 0 !== i4 ? i4 : []).reduce((e5, i5) => Object.assign(Object.assign({}, e5), { [i5.id]: { actionName: i5.trackingId.toString() + " " + i5.name, actionType: i5.type, taskName: t5.name } }), {}); + return Object.assign(Object.assign({}, e4), n4); + }, {}); + m.actions = t4; + } + if (e3.flowViewFilterOptions) { + const t4 = {}; + (null === (r2 = e3.flowViewFilterOptions) || void 0 === r2 ? void 0 : r2.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), o.default.isEmpty(t4) || (m.viewSettings.flowViewFilter = t4); + } + if (e3) { + const t4 = e3.definition; + m.flowInfo = { id: e3.id, name: e3.displayName, description: e3.description, divisionId: null === (h2 = null === (_2 = e3.info) || void 0 === _2 ? void 0 : _2.division) || void 0 === h2 ? void 0 : h2.id, type: e3.type, typeInfo: { supportsNLU: !!(null == t4 ? void 0 : t4.supportsNlu), supportsNLUIntents: !!(null == t4 ? void 0 : t4.supportsNluIntents) } }; + const i4 = e3.versions; + if (i4) { + const e4 = {}; + i4.checkedInVersion && (e4.checkedInVersionInfo = this.createArchFlowVersionInfo(i4.checkedInVersion)), i4.publishedVersion && (e4.publishedVersionInfo = this.createArchFlowVersionInfo(i4.publishedVersion)), i4.savedVersion && (e4.savedVersionInfo = this.createArchFlowVersionInfo(i4.savedVersion)), o.default.isEmpty(e4) || (m.flowInfo.versionsInfo = e4), i4.rawCurrentVersionNumber && (m.flowInfo.currentVersionActual = i4.rawCurrentVersionNumber), i4.currentVersionNumber && (m.flowInfo.currentVersionUi = i4.currentVersionNumber); + } + } + const g = []; + o.default.each(e3.tasks, (e4) => { + if (e4.isReusableTask) { + const t4 = { id: e4.id, name: e4.name }; + g.push(t4); + } + }), g.length && (m.reusableTasks = g); + const f = this.createFlowSupportedLanguagesSnapshot(e3); + return o.default.isArray(f) && (m.supportedLanguages = f), m; + } + createBasicCustomData(e3, t3, i3, n3) { + return this.createCommonCustomData(e3, t3, i3, n3); + } + createNluCustomData(e3, t3, i3, n3) { + var r2, l2, c2, d2, p2, h2, m, g, f, T, y, S, A, N, v, I; + const C = this.createCommonCustomData(e3, t3, i3, n3); + if ((null === (r2 = e3.nluMetaData) || void 0 === r2 ? void 0 : r2.dynamicSlotTypesMap) && !(null === (l2 = e3.nluMetaData) || void 0 === l2 ? void 0 : l2.dynamicSlotTypesMap.outOfService)) { + const t4 = []; + o.default.each(null === (c2 = e3.nluMetaData) || void 0 === c2 ? void 0 : c2.dynamicSlotTypesMap.items, (e4) => { + var i4, n4, o2; + if (!e4) return; + const r3 = { name: e4.name }, a2 = null === (i4 = e4.values) || void 0 === i4 ? void 0 : i4.displayValue; + a2 && (r3.values = { displayValue: a2 }); + const s2 = null === (n4 = e4.synonyms) || void 0 === n4 ? void 0 : n4.displayValue; + if (s2 && (r3.synonyms = { displayValue: s2 }), !e4.labels.outOfService) { + const t5 = null === (o2 = e4.labels) || void 0 === o2 ? void 0 : o2.displayValue; + r3.labels = { displayValue: t5 }; + } + t4.push(r3); + }), t4.length && (C.dynamicSlotTypes = t4); + } + const O = null === (d2 = e3.nluMetaData) || void 0 === d2 ? void 0 : d2.dynamicTimeslotTypeList; + if (O && !O.outOfService) { + const e4 = (O.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 && (C.dynamicTimeslots = e4); + } + if ((null == e3 ? void 0 : e3.isNluFlow) && (C.versionId = null === (p2 = e3.botFlowSettings) || void 0 === p2 ? void 0 : p2.nluDomainVersionId, C.rawNlu = e3.nluMetaData.rawNlu, C.archNlu = e3.nluMetaData.archNlu, C.nluEngineVersion = null === (h2 = e3.botFlowSettings) || void 0 === h2 ? void 0 : h2.engineVersion, C.allowsMoreThanOneSupportedLanguage = null === (m = e3.botFlowSettings) || void 0 === m ? void 0 : m.allowsMoreThanOneSupportedLanguage, C.trainingStatus = e3.nluMetaData.trainingStatus, C.intentHealthInfo = null === (g = e3.nluMetaData) || void 0 === g ? void 0 : g.intentHealthInfo, C.nluGeneratedInputInfo = null === (f = e3.nluMetaData) || void 0 === f ? void 0 : f.nluGeneratedInputInfo, C.virtualAgentEnabled = null === (T = e3.botFlowSettings) || void 0 === T ? void 0 : T.virtualAgentEnabled, u.isFeatureAvailable(a.default.botFlowsLLMPoweredFrontDoor) && (C.intentClassifierData = null === (y = e3.intentClassifierData) || void 0 === y ? void 0 : y.intentClassifier, C.navigatorVirtualAgentEnabled = null === (S = e3.botFlowSettings) || void 0 === S ? void 0 : S.navigatorVirtualAgentEnabled), C.naturalLanguageUnderstanding = null === (A = s.bootstrapService.featureSupport) || void 0 === A ? void 0 : A.naturalLanguageUnderstanding, o.default.isObject(null === (N = C.naturalLanguageUnderstanding) || void 0 === N ? void 0 : N.flowTypesToEngines) && o.default.isObject(C.naturalLanguageUnderstanding.nluEngines))) { + C.naturalLanguageUnderstanding = o.default.deepClone(C.naturalLanguageUnderstanding); + const t4 = null === (v = e3.defaultLanguage) || void 0 === v ? void 0 : v.toLowerCase(), i4 = o.default.find(C.naturalLanguageUnderstanding.flowTypesToEngines[e3.type], (e4, i5) => i5 === t4); + if (i4) { + const t5 = C.naturalLanguageUnderstanding.nluEngines[i4]; + o.default.isObject(t5) ? (C.naturalLanguageUnderstanding.limits = t5.limits, C.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) && (C.intentTaskMappings = Object.entries(e3.nluMetaData.intentsToReusableTasksMapping).map(([e4, t4]) => ({ intentName: e4, taskId: t4.id }))), e3.supportsGrammars && (C.slotGrammarMappings = o.default.clone(e3.nluMetaData.slotsToGrammarsMapping)), (null == e3 ? void 0 : e3.isDigitalBotFlow) && (C.listPickerMappings = o.default.clone(e3.nluMetaData.listPickerMappings)); + const b = [], E = []; + return o.default.each(null === (I = e3.variableGroup) || void 0 === I ? void 0 : I.flowVariables, (t4) => { + var i4, n4; + const o2 = { id: t4.id, name: t4.name, dataType: t4.type.dataType }; + if ((null === (i4 = t4.type) || void 0 === i4 ? void 0 : i4.isCollection) && (o2.isCollection = true), t4.isInput && (o2.isInput = true), t4.isOutput && (o2.isOutput = true), t4.isSecure && (o2.isSecure = true), t4.isSlotVariable) { + o2.isSlotVariable = true, o2.slotHandling = t4.slotHandling; + const i5 = null === (n4 = e3.nluMetaData) || void 0 === n4 ? void 0 : n4.getSlotNameForVariableId(t4.id); + i5 && (o2.slotName = i5, E.push({ entityName: i5, slotHandling: o2.slotHandling })); } - }); + b.push(o2); + }), E.length && (C.nluEntityHandling = E), b.length && (C.variables = { flow: b }), C; } - } - const A = new S(); - t2.default = A; - }, 56606: (e2, t2, i2) => { + createNluCortexCustomData(e3, t3, i3, n3) { + const o2 = this.createCommonCustomData(e3, i3, n3); + return o2.cortexNlu = { intents: t3.intents }, o2; + } + registerAddInEventSink(e3, t3) { + return !(!o.default.isString(e3) || !e3.length || (this._addInEventSinks[e3] = t3, 0)); + } + unregisterAddInEventSink(e3) { + return !(!o.default.isString(e3) || !e3.length) && delete this._addInEventSinks[e3]; + } + }(); + t2.default = h; + }, 71634(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferWhen = void 0; - var n2 = i2(65212), r2 = i2(5717), o = i2(17214), a = i2(19724); - t2.bufferWhen = function(e3) { - return n2.operate(function(t3, i3) { - var n3 = null, s = null, l = function() { - null == s || s.unsubscribe(); - var t4 = n3; - n3 = [], t4 && i3.next(t4), a.innerFrom(e3()).subscribe(s = o.createOperatorSubscriber(i3, l, r2.noop)); - }; - l(), t3.subscribe(o.createOperatorSubscriber(i3, function(e4) { - return null == n3 ? void 0 : n3.push(e4); - }, function() { - n3 && i3.next(n3), i3.complete(); - }, void 0, function() { - return n3 = s = null; - })); + Object.defineProperty(t2, "__esModule", { value: true }), t2.modal = t2.embedded = void 0, t2.embedded = "embedded", t2.modal = "modal"; + }, 91911(e2, t2) { + "use strict"; + var i2; + t2.AiGuideStatus = void 0, (function(e3) { + e3.draft = "Draft", e3.published = "Published", e3.unknown = "Unknown"; + })(i2 || (t2.AiGuideStatus = i2 = {})); + }, 79516(e2, t2) { + "use strict"; + var i2; + t2.AlertTypeEnum = void 0, (function(e3) { + e3.info = "info", e3.error = "error"; + })(i2 || (t2.AlertTypeEnum = i2 = {})); + }, 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 _.promise; + }, t2.getAuthorizedPromise = y, t2.getConnectedUser = function() { + return m; + }, t2.setConnectedUser = function(e3) { + throw "not valid here"; + }, t2.isCurrentUserAuthorized = function() { + return true === T; + }, t2.isCurrentUserUnauthorized = function() { + return false === T; + }, t2.setCurrentUserAuthorized = function(e3) { + T = e3; + }, t2.getCurrentLanguage = function() { + return N; + }, t2.setCurrentLanguage = function(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 S || N; + }, t2.setRegionalLocale = function(e3) { + S = e3; + }, t2.usingRegionalLocale = function() { + return !!S; + }, t2.getOrgInfo = function() { + return g; + }, t2.getUserTokenInfo = function() { + return f; + }, t2.authenticatedUser = function(e3) { + m = e3, f = new r.UserTokenViewModel(e3.token), _.resolve(e3); + }, t2.resolveUserAsAuthorized = function() { + h.resolve(); + }, t2.finishedLoading = function() { + s.resolve(); + }, t2.setDivisionsLoaded = function() { + l.resolve(); + }, t2.isRunningInBrowser = function() { + return "undefined" != typeof window; + }, t2.resetAuthPromise = function() { + "fulfilled" === this.getAuthenticatedPromise().inspect().state && (_ = o.default.defer()), "fulfilled" === this.getAuthorizedPromise().inspect().state && (h = o.default.defer()); + }, t2.setOrgInfo = function(e3) { + g = e3, u.resolve(); + }, t2.resolveUserAsUnauthorized = function(e3) { + _.reject(e3), h.reject(e3); + }, t2.setFeatureTogglesLoaded = function(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, y(), t2.bootstrapDataLoaded]); }); }; - }, 56617: (e2, t2, i2) => { + const n2 = i2(31635), o = n2.__importDefault(i2(33231)), r = i2(46447), a = n2.__importStar(i2(12847)), s = o.default.defer(), l = o.default.defer(), u = o.default.defer(), c = o.default.defer(), d = o.default.defer(), p = o.default.defer(); + let _ = o.default.defer(), h = o.default.defer(), m = null, g = null, f = null, T = false; + function y() { + return h.promise; + } + 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(); + o.default.isPromiseAlike(n3) ? n3.then((t4) => { + e3.resolve(t4); + }).catch((i4) => { + console.error(`promise failed, rejecting promise ${t3} - error: ${i4}`), e3.reject(i4); + }) : e3.resolve(n3); + } catch (i4) { + console.error(`exception caught, rejecting promise ${t3} - error: ${i4}`), e3.reject(i4); + } + }; + } + 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"); + }, 12138(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importDefault(i2(73198)), r = 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, 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 r.PromiseDefer(), this._abandonProcessingTimeoutMS = 180 * o.default.msPerSecond, this._emergencyPollingTimeoutMS = 30 * o.default.msPerSecond, this._emergencyPollingRetryTimeoutMS = 10 * o.default.msPerSecond, this._staleNotificationTimeMS = 10 * o.default.msPerSecond, this._emergencyRequestPending = false, this._retryEmergencyPollOn404 = false, this._operationStillInProgress = true; } - get _globalTypeName() { - return "fileCollection"; + get firstOperationId() { + return this._firstOperationId; } - get displayTypeName() { - return "ArchValueFileCollection"; + logCurrentOperation(e3, t3, i3) { + const n3 = e3 ? e3.currentOperation : void 0; + if (n3) { + const o2 = this.isDelete ? this.logTopic.withContext("flowId", e3.id) : this.logTopic, r2 = t3 + " Current operation - actionStatus is '" + n3.actionStatus + "' and completed is '" + n3.complete + "'"; + i3 ? o2.error(r2) : o2.info(r2); + } else this.logTopic.warning(t3 + " Current operation - no current operation."); } - get isArchValueFileCollection() { - return true; + get abandonProcessingTimeoutMS() { + return this._abandonProcessingTimeoutMS; } - } - t2.default = r2; - }, 56673: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseRegistrationService = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = (n2.__importStar(i2(12847)), n2.__importStar(i2(36781))), a = i2(55909), s = i2(33951); - t2.BaseRegistrationService = class { - constructor() { - this._flowMap = {}, o.serviceListen(o.cleanUpFlow, (e3) => this.cleanUpFlow(e3)); + get abandonProcessingTimeout() { + return this._abandonProcessingTimeoutMS / o.default.msPerSecond; } - get className() { - return "BaseRegistrationService"; + set abandonProcessingTimeout(e3) { + this._abandonProcessingTimeoutMS = e3 * o.default.msPerSecond; } - get isBaseRegistrationService() { - return true; + get deferredOperation() { + return this._deferredOperation; } - _getFlowSpecificMap(e3) { - const t3 = e3.isFlowViewModel ? e3 : e3.parentFlow; - let i3; - return t3.instanceId && (i3 = this._flowMap[t3.instanceId], i3 || (i3 = this._flowMap[t3.instanceId] = {})), i3; + get emergencyPollingTimeoutMS() { + return this._emergencyPollingTimeoutMS; } - _cleanUpFlow(e3) { + get emergencyPollingTimeout() { + return this._emergencyPollingTimeoutMS / o.default.msPerSecond; } - cleanUpFlow(e3) { - if (s.ParameterValidator.expectFlowViewModel(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "cleanUpFlow", "flowViewModel")), e3 && e3.id) try { - this._cleanUpFlow(e3), delete this._flowMap[e3.instanceId]; - } catch (t3) { - e3.topic.exceptionWithErrorObjectInfo(t3, `${this.className}::cleanUpFlow - Error during flow cleanup processing.`, e3, true); - } + set emergencyPollingTimeout(e3) { + this._emergencyPollingTimeoutMS = e3 * o.default.msPerSecond; } - registerItem(e3) { + get emergencyPollingRetryTimeoutMS() { + return this._emergencyPollingRetryTimeoutMS; } - unregisterItem(e3) { + get emergencyPollingRetryTimeout() { + return this._emergencyPollingRetryTimeoutMS / o.default.msPerSecond; } - getItemIdsForFlow(e3) { - if (s.ParameterValidator.expectFlowViewModel(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getItemIdsForFlow", "flowViewModel")), !e3 || !e3.instanceId) return []; - const t3 = this._flowMap[e3.instanceId]; - return t3 ? r2.default.values(t3) : []; + set emergencyPollingRetryTimeout(e3) { + this._emergencyPollingRetryTimeoutMS = e3 * o.default.msPerSecond; } - flowDestroyed(e3) { - s.ParameterValidator.expectFlowViewModel(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "flowDestroyed", "flowViewModel")), e3 && e3.instanceId && delete this._flowMap[e3.instanceId]; + get finished() { + return this._deferredOperation.promise; } - }; - }, 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), 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)); + get logTopic() { + return this._logTopic; } - get _actionTypeId() { - return s.digitalBotConnectorActionType; + get emergencyRequestPending() { + return this._emergencyRequestPending; } - get displayTypeName() { - return "ArchActionCallDigitalBotConnector"; + set emergencyRequestPending(e3) { + this._emergencyRequestPending = e3; } - addSessionVariableOutputNameValuePair(e3, t3) { - var i3; - return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), null === (i3 = this.sessionVariableOutputs) || void 0 === i3 ? void 0 : i3._addNameValueAssignment(e3, t3, true, true); + get operationToPerform() { + return this._operationToPerform; } - get botConnectorOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + set operationToPerform(e3) { + this._operationToPerform = e3; } - get isArchActionCallDigitalBotConnector() { - return true; + get operationStillInProgress() { + return this._operationStillInProgress; } - get intentSlots() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + set operationStillInProgress(e3) { + this._operationStillInProgress = e3; } - get sessionVariableOutputs() { - const e3 = this._getCoreViewModel().outputSessionVariables; - if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + get retryEmergencyPollOn404() { + return this._retryEmergencyPollOn404; } - setBotByIdAsync(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("botConnectorIntegrationId", "setBotByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotId", "setBotByIdAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotVersionId", "setBotByIdAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), r3, true); - const n3 = yield o.default.findItemByIdAsync(l.digitalBotConnectorIntegrationManager, e3, "bot integration"); - 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 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); - }); + set retryEmergencyPollOn404(e3) { + this._retryEmergencyPollOn404 = e3; } - setBotByNameAsync(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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 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); - }); + get staleNotificationTimeMS() { + return this._staleNotificationTimeMS; } - get botResponseTimeout() { - return this._botResponseTimeout; + get staleNotificationTime() { + return this._staleNotificationTimeMS / o.default.msPerSecond; } - get sessionTimeout() { - return this._sessionTimeout; + set staleNotificationTime(e3) { + this._staleNotificationTimeMS = e3; } - } - t2.default = d; - }, 56716: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(32726), { dialogflowCxActionType: o } = i2(30801), a = i2(42217); - function s() { - Object.defineProperties(this, { _liveAgentHandoffMetadata: { writable: true } }), this.environmentName = void 0, s.baseConstructor.apply(this, arguments); - } - r2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.liveAgentHandoffMetadata, (t3) => { - t3.pasteReIdOrRename(e3); - }); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.liveAgentHandoffMetadata, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }); - } }, liveAgentHandoffMetadata: { enumerable: true, get: function() { - return this._liveAgentHandoffMetadata; - }, set: function(e3) { - this._liveAgentHandoffMetadata = this.reviveArray(e3, a); - } } }), e2.exports = s; - }, 56795: (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 stateChangedCallBack() { + return this._stateChangedCallBack; } - get _globalTypeName() { - return "promptCollection"; + set stateChangedCallBack(e3) { + this._stateChangedCallBack = e3; } - get displayTypeName() { - return "ArchVariablePromptCollection"; + get subscriberId() { + return this._subscriberId; } - get initialValue() { - return this._initialValue; + get subscriptionTopics() { + return this._subscriptionTopics; } - get isArchVariablePromptCollection() { - return true; + set subscriptionTopics(e3) { + this._subscriptionTopics = e3; } - } - t2.default = r2; - }, 56819: (e2, t2, i2) => { + }; + }, 35583(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); + const n2 = i2(31635), o = n2.__importDefault(i2(12138)), r = n2.__importDefault(i2(92140)); class a extends o.default { - constructor(e3) { - super(e3); + constructor(e3, t3, i3, n3, o2) { + super(e3, t3, i3, n3, o2), this.operationIds = {}; } - get _actionTypeId() { - return r2.transferMenuActionType; + _applyOperationId(e3) { + r.default.each(r.default.isArray(e3) ? e3 : [e3], (e4) => { + e4 && e4.id ? (this.operationIds[e4.id] = e4.id, this.logTopic.addContext("opId", r.default.keys(this.operationIds).join(","))) : (this.logTopic.error("did not receive async operationId"), this._cleanOperation(false, this)); + }); } - get displayTypeName() { - return "ArchMenuJumpToMenu"; + get firstOperationId() { + return r.default.keys(this.operationIds)[0]; } - get actionJumpToMenu() { - return this._archAction; + matchesOperationId(e3) { + return !!this.operationIds[e3]; } - get isArchMenuJumpToMenu() { - return true; + set operationToPerform(e3) { + super.operationToPerform = (t3) => e3(t3).then((e4) => this._applyOperationId(e4)); + } + get operationToPerform() { + return super.operationToPerform; } } t2.default = a; - }, 56872: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.KnowledgeSettingsModeValues = t2.KnowledgeSettingsMode = void 0; - const n2 = i2(47957); - var r2; - !(function(e3) { - e3.standard = "standard", e3.custom = "custom"; - })(r2 || (t2.KnowledgeSettingsMode = r2 = {})), t2.KnowledgeSettingsModeValues = { [r2.standard]: { id: "standard", displayString: n2.knowledgeSettings.knowledgeSettingsModes.standard, description: n2.knowledgeSettings.knowledgeSettingsModes.standardDescription }, [r2.custom]: { id: "custom", displayString: n2.knowledgeSettings.knowledgeSettingsModes.custom, description: n2.knowledgeSettings.knowledgeSettingsModes.customDescription } }; - }, 56884: (e2, t2, i2) => { + }, 96875(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeCustomerSegmentOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeCustomerSegmentOptions"; - } - get isExpressionTypeCustomerSegmentOptions() { - return true; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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 v extends g.default { + _cleanOperation(e3, t3, i3) { + if (this._removeEventNotifications(t3), t3.operationStillInProgress = false, i3 && i3.isRequestError && (i3 = new h.default(i3, t3)), t3.isValidate && !e3 && (r.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.isPending() && t3.deferredOperation.resolve(e4); + } else t3.logTopic.info("operation completed with error"), t3.deferredOperation.isPending() && t3.deferredOperation.reject(i3); } - get supportsLiteralMode() { - return true; + _emergencyPollProcessing(e3, t3) { + t3.isDelete ? r.default.each(e3.entities, (e4) => { + this._processNotification(t3, e4); + }) : t3.isValidate || t3.isGetHistory || t3.initializeDesignTime ? this._processManifestResults(t3, e3) : this._processNotification(t3, e3); } - } - t2.ExpressionTypeCustomerSegmentOptions = r2; - }, 56961: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _emergencyPollNetworkCall(e3) { + 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 = r.default.keys(e3.remainingFlowsInfoViewModels); + return T.getFlows({ id: t3 }); + } + 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; } - get _globalTypeName() { - return "workitemEventData"; + _getSubscriptionTopic(e3) { + return (0, f.getFlowOperationsTopic)(e3); } - get rule() { + _loadNewModelDetails(e3, t3) { + try { + 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) { + t3.logTopic.exception(e4, "Failed to load new flow model details"); + } } - get displayTypeName() { - return "ArchValueWorkitemEventData"; + _processNotification(e3, t3) { + 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); } - get isArchValueWorkitemEventData() { - return true; + _refreshFlowInfoAndFinish(e3, t3) { + 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); + }); } - } - t2.default = r2; - }, 56969: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyFormErrorTypesEnum = t2.NpsAnswersEnum = t2.SurveyQuestionTypesEnum = t2.surveyFormSlotHandlingTypes = void 0, t2.convertQualityLanguageCodeToArchitect = function(e3) { - return h[e3] || []; - }, t2.getSurveyQuestionFormVariableId = function(e3, t3) { - return `__SURVEY_QUESTION_${e3}_${t3}__`; - }, t2.getGroupQuestionName = function(e3, t3) { - return (0, r2.sprintf)(_.voiceSurvey.voiceSurveyQuestionWithGroupAndQuestionIndex, e3.groupIndex, t3.questionIndex); - }, t2.getSurveyQuestionSlotName = T, t2.getSurveyQuestionSlotTypeName = function(e3, t3) { - return `${T(e3, t3)}_Type`; - }, t2.surveyQuestionHasFollowUp = y, t2.surveyQuestionHasNa = function(e3) { - switch ((null == e3 ? void 0 : e3.questionType) || (null == e3 ? void 0 : e3.type)) { - case m.freeTextQuestion: - case m.npsQuestion: - case m.multipleChoiceQuestion: - return !!e3.naEnabled; + _checkCheckInFinished(e3, t3) { + if (t3.currentOperation.actionStatus === l.actionStatus.success && t3.checkedInVersion) this._refreshFlowInfoAndFinish(e3, t3); + else { + const i3 = N(t3), n3 = new h.default(i3, null); + d.log(e3.logTopic, i3, "Failed Checkin: "), this._cleanOperation(false, e3, n3); + } } - return false; - }, t2.getSurveyFormSlotHandlingMap = function(e3) { - var t3; - const i3 = /* @__PURE__ */ new Map(); - let n3 = 1; - return null === (t3 = null == e3 ? void 0 : e3.questionGroups) || void 0 === t3 || t3.forEach((e4, t4) => { - let r3 = 1; - e4.questions.forEach((e5) => { - i3.set(T(n3, r3), s.SlotHandlingType.surveyFormQuestionSlot), y(e5) && i3.set(T(n3, r3, true), s.SlotHandlingType.surveyFormQuestionFollowUpSlot), r3++; - }), n3++; - }), i3; - }, t2.filterSurveySlotNamesFromList = function(e3, t3) { - var i3; - return t3 ? (null === (i3 = null == e3 ? void 0 : e3.surveyFormInfo) || void 0 === i3 ? void 0 : i3.formToSlotVariableMappings) ? (o.default.flatten(Object.values(e3.surveyFormInfo.formToSlotVariableMappings)).map((e4) => e4.slotName).forEach((e4) => { - t3.hasOwnProperty(e4) && delete t3[e4]; - }), t3) : t3 : {}; - }, t2.findAnswerOptionInQuestion = S, t2.findAnswerOptionInQuestionGroup = A, t2.findQuestionInQuestionGroup = N, t2.findSurveyAnswerOptionInForm = function(e3, t3) { - var i3; - 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 = 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++) { - const r3 = e3.questionGroups[t4]; - (null === (i3 = r3.questions) || void 0 === i3 ? void 0 : i3.length) && n3.push(...r3.questions); + _checkGetHistoryFinished(e3, t3) { + if (t3 && t3.currentOperation && t3.currentOperation.actionStatus === l.actionStatus.success) this._cleanOperation(true, e3); + else { + const i3 = N(t3); + d.log(e3.logTopic, i3, "Failed History: "), this._cleanOperation(false, e3); + } } - return n3; - }, t2.getAllSurveyQuestionNames = 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++) { - const r3 = e3.questionGroups[t4]; - (null === (i3 = r3.questions) || void 0 === i3 ? void 0 : i3.length) && n3.push(...r3.questions); + _checkPublishFinished(e3, t3) { + if (t3.currentOperation.actionStatus === l.actionStatus.success && (e3.isDebugPublish || t3.publishedVersion)) this._refreshFlowInfoAndFinish(e3, t3); + else { + const i3 = N(t3); + d.log(e3.logTopic, i3, "Failed Publish: "), this._cleanOperation(false, e3, i3); + } } - return n3; - }, t2.getQuestionDtmfAnswerOptionMap = function(e3) { - const t3 = {}; - return o.default.each(null == e3 ? void 0 : e3.answerOptions, (e4) => { - var i3; - if (null === (i3 = e4.dtmf) || void 0 === i3 ? void 0 : i3.length) { - const i4 = t3[e4.dtmf]; - i4 ? i4.push(e4) : t3[e4.dtmf] = [e4]; + _checkDeleteFinished(e3, t3) { + 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 = N(t3), n3 = (0, o.sprintf)("Failed to delete flow {%1$s}", i4.entityId); + d.log(e3.logTopic, i4, n3), e3.errors || (e3.errors = []), e3.errors.push(i4); } - }), t3; - }, t2.getVisibilityConditionExprText = function(e3, t3) { - var i3, n3, r3, o2; - let a2; - if (null === (i3 = null == e3 ? void 0 : e3.predicates) || void 0 === i3 ? void 0 : i3.length) { - let i4; - const s2 = e3.predicates, l2 = []; - for (let e4 = 0; e4 < s2.length; e4++) { - const o3 = null === (r3 = null === (n3 = s2[e4]) || void 0 === n3 ? void 0 : n3.toLowerCase()) || void 0 === r3 ? void 0 : r3.split("/"); - 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 = 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()}"`; - else { - const t4 = parseInt(o3[7]), n5 = r4.answerOptions[t4]; - let a4; - n5 && (a4 = n5.text), e7 = a4 ? `GetSurveyQuestionAnswer(${i4}) == ${p.default.getQuotedExpressionStringLiteral(a4)}` : `IsSet(${i4})`; - } - e7 && l2.push(e7); - } - } - } + const i3 = this._getSubscriptionTopic(t3.id); + if (this._removeSingleNotificationTopic(e3, i3), delete e3.remainingFlowsInfoViewModels[t3.id], 0 === r.default.keys(e3.remainingFlowsInfoViewModels).length) { + const t4 = e3.errors && e3.errors.length > 0 ? { response: { errors: e3.errors } } : void 0; + this._cleanOperation(!t4, e3, t4); } - switch (l2.length) { - case 0: - break; - case 1: - a2 = l2[0]; - break; - default: { - let t4; - switch (null === (o2 = e3.combiningOperation) || void 0 === o2 ? void 0 : o2.toLowerCase()) { - case "and": - default: - t4 = ")\nAnd ("; - break; - case "or": - t4 = ")\nOr ("; - } - a2 = `(${l2.join(t4)})`; - } + } + _checkValidationFinished(e3, t3) { + 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); + }); + else { + const i3 = t3 && t3.currentOperation ? t3.currentOperation.errorMessage : void 0; + this._cleanOperation(false, e3, i3); } } - return a2; - }, t2.checkSurveyFormFlowCompatibility = function(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = {}; + _processManifestResults(e3, t3, i3) { + var n3, o2, a2, s2, u2; + if (!e3.operationStillInProgress || r.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 c.ConfigListManagerSeeder(t3).seedListManagers(), e3.flowViewModel.setReceivedInitialValidationData()), e3.initializeDesignTime && e3.flowViewModel.initializeDesignTime(), e3.isValidate && (_.validateFlow(e3.flowViewModel, e3.initializeDesignTime), e3.flowViewModel.isNluFlow && (null === (o2 = t3.results) || void 0 === o2 ? void 0 : o2.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) { + const i3 = null == t3 ? void 0 : t3.engineVersion; + i3 && (!e3.botFlowSettings.engineVersion || parseFloat(e3.botFlowSettings.engineVersion) < parseFloat(i3)) && e3.updateNluEngineVersion(i3); + } + fallback(e3, t3) { + 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 = () => 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 }), A.errorWithErrorObjectInfo(i3, e3, false), t3.deferredOperation.reject(n3), t3.deferredOperation.promise; + } + checkInFlow(e3, t3) { + const i3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.checkin }); + i3.info("starting checkin flow"); + 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 o2 = e3.isFlowViewModel ? e3.info : e3, r2 = o2.currentUserHasLock ? o2.checkCanEdit : o2.checkCanUnlock; + return r2.lacksPermission ? this._permissionErrorHandling(o2, n3, r2.noPermissionDisplayString) : this._performOperation(n3); + } + postFlowHistoryRequest(e3, t3) { + 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 o2 = new m.default("asyncPublish", this._getSubscriptionTopic(e3), n3, this.stateChangedCheck, this); + o2.flowId = e3, o2.flowViewModel = t3, o2.loggingCallback = i3, o2.isPublish = true; + let a2 = 30; try { - I(yield l.surveyFormManager.apiCallSingle(e3), t3); + if (t3 && (t3.isCallFlowType || t3.isCommonModuleFlow)) { + const e4 = t3.dependencies.getValidationManifest(), i4 = e4.userPrompt && e4.userPrompt.length ? e4.userPrompt.length : 1, o3 = t3.languages.supportedLanguageOptions.length; + a2 = r.default.clamp(i4 * o3, 30, 100), r.default.isActualNumber(a2) || (n3.error(`pollingTimeout is not a number: ${JSON.stringify(a2)}`), a2 = 30); + } } catch (e4) { - O(t3, { errorType: 403 === (null == e4 ? void 0 : e4.status) ? f.formInsufficientViewPermissions : f.formInvalid }); + n3.exception(e4, "Caught error when trying to set polling timeout."), a2 = 30; } - return t3; - }); - }, 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 = []; - let n3 = false; - return o.default.each(e3.errors, (e4, t4) => { - var s2, l2; - if (null === (s2 = e4.form) || void 0 === s2 ? void 0 : s2.length) { - switch (t4) { - case f.formInvalid: - i3.push(_.voiceSurvey.surveyFormInvalid); - break; - case f.formDisabled: - i3.push(_.voiceSurvey.surveyFormDisabled); - break; - case f.formInsufficientViewPermissions: - 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)); + return o2.emergencyPollingTimeout = a2, o2; + } + publishFlow(e3, t3, i3) { + const n3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.publish }); + n3.info("starting publish flow"); + const o2 = this._createPublishOperationInfo(e3.id, e3, t3, n3); + return e3.info.checkCanPublish.lacksPermission ? this._permissionErrorHandling(e3.info, o2, e3.info.checkCanPublish.noPermissionDisplayString) : (o2.operationToPerform = () => T.publish(e3.id, i3), this._performOperation(o2)); + } + debugPublishFlow(e3, t3, i3) { + const n3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.debugPublish }); + n3.info("starting debug publish flow"); + const o2 = this._createPublishOperationInfo(e3.id, e3, t3, n3); + return o2.isDebugPublish = true, o2.flowViewModel.info.checkCanPublish.lacksPermission ? this._permissionErrorHandling(o2.flowViewModel.info, o2, o2.flowViewModel.info.checkCanPublish.noPermissionDisplayString) : (o2.operationToPerform = () => T.enableFlowDebug(e3.id, i3), this._performOperation(o2)); + } + deleteFlows(e3) { + A.info("starting bulk delete of flows:{}", p.getListOfFlowIds(e3)); + const t3 = r.default.pluck(e3, "id"), i3 = {}, n3 = []; + r.default.each(e3, (e4) => { + const t4 = e4.isFlowViewModel ? e4.info : e4, o3 = t4.checkCanDelete; + o3.lacksPermission ? (A.errorWithErrorObjectInfo("Current user does not have permissions to delete this flow.", t4, false), n3.push({ entityId: t4.id, errorDisplayString: o3.noPermissionDisplayString })) : i3[t4.id] = t4; + }); + const o2 = []; + r.default.each(t3, (e4) => { + o2.push(this._getSubscriptionTopic(e4)); + }); + const a2 = new m.default("asyncDelete", o2, 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."); + } + initializeDesignTimeAndValidate(e3) { + return e3 ? this._getAsyncAdsValidationResults(e3, true, true, e3.topic.withMultipleContext({ opName: l.actionName.initializeDesignTime })) : Promise.reject("flowViewModel:initializeDesignTime - no flow view model specified to validate."); + } + _createAsyncAdsValidationResultsOperationInfo(e3, t3, i3, n3) { + const o2 = e3.dependencies.getValidationManifest(); + n3.info("starting flow validation"); + const r2 = e3.isEmbeddedFlow ? void 0 : this.stateChangedCheck, a2 = new m.default("asyncValidate", this._getSubscriptionTopic(e3.id), n3, r2, 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, o2), a2.emergencyPollingTimeout = 5, a2.retryEmergencyPollOn404 = true, a2; + } + _retryAsyncAdsValidationResults(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!e3 || !e3.flowViewModel) throw new Error("flowViewModel:validateFlow - no flow view model specified to validate."); + this._clearTimeouts(e3), this._removeEventNotifications(e3), e3.stopEmergencyPolling = true; + try { + yield Promise.all(e3.flowViewModel.validationResults.getRevalidateTriggers()), e3.logTopic.info("starting flow second validation"); + const t3 = this._createAsyncAdsValidationResultsOperationInfo(e3.flowViewModel, e3.isValidate, false, e3.logTopic); + t3.firstValidate = false, yield this._performOperation(t3), this._cleanOperation(true, e3); + } catch (t3) { + e3.logTopic.exception(t3, "failure during _retryAsyncAdsValidationResults"), this._cleanOperation(true, e3); } - n3 = true; - } else if (!n3 && (null === (l2 = e4.questions) || void 0 === l2 ? void 0 : l2.length)) { - const n4 = []; - o.default.each(e4.questions, (e5) => { - n4.push((0, r2.sprintf)(_.voiceSurvey.voiceSurveyQuestionWithGroupAndQuestionIndex, e5.groupIndex, e5.questionIndex)); - }); - 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)), 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}`; - } - function y(e3) { - return !!e3 && !((e3.questionType || e3.type) !== m.npsQuestion || !e3.followUpQuestionText && !e3.explanationPrompt); - } - function S(e3, t3) { - var i3; - let n3; - return (null === (i3 = null == e3 ? void 0 : e3.answerOptions) || void 0 === i3 ? void 0 : i3.length) && t3 && (t3 = null == t3 ? void 0 : t3.toLowerCase(), n3 = o.default.find(e3.answerOptions, (e4) => { - var i4; - return (null === (i4 = e4.id) || void 0 === i4 ? void 0 : i4.toLowerCase()) === t3; - })), n3; - } - function A(e3, t3) { - var i3; - let n3; - if (null === (i3 = null == e3 ? void 0 : e3.questions) || void 0 === i3 ? void 0 : i3.length) for (let i4 = 0; i4 < e3.questions.length && (n3 = S(e3.questions[i4], t3), !n3); i4++) ; - return n3; - } - function N(e3, t3, i3, n3, r3) { - var a2; - if (!t3) return; - let s2; - return i3 && (t3 = null == t3 ? void 0 : t3.toLowerCase()), (null === (a2 = null == e3 ? void 0 : e3.questions) || void 0 === a2 ? void 0 : a2.length) && (s2 = o.default.find(e3.questions, (e4) => { - var o2, a3; - 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 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 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 I(e3, t3) { - var i3; - 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; - null === (r3 = e4.questions) || void 0 === r3 || r3.forEach((e5, r4) => { - 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 && O(t3, { groupIndex: i4 + 1, questionIndex: r4 + 1, answerOptionIndex: n4 + 1, errorType: f.answerOptionExceedsMaxLength }); - }), n3++); }); - }), n3 > a.voiceSurveyLimits.multipleChoiceQuestions.maxLength && O(t3, { errorType: f.multipleChoiceLimitExceeded }, true), t3; + } + _getAsyncAdsValidationResults(e3, t3, i3, n3) { + if (!e3) return Promise.reject("flowViewModel:validateFlow - no flow view model specified to validate."); + const o2 = this._createAsyncAdsValidationResultsOperationInfo(e3, t3, i3, n3); + return this._performOperation(o2); + } + stateChangedCheck(e3, t3) { + t3 && e3.flowId && e3.flowId === t3.flow || (e3.logTopic.info("Switched to a different flow, ending operation"), this._cleanOperation(true, e3)); + } } - t2.surveyFormSlotHandlingTypes = [s.SlotHandlingType.surveyFormQuestionSlot, s.SlotHandlingType.surveyFormQuestionFollowUpSlot], (function(e3) { - e3.multipleChoiceQuestion = "multipleChoiceQuestion", e3.readOnlyQuestion = "readOnlyQuestion", e3.npsQuestion = "npsQuestion", e3.freeTextQuestion = "freeTextQuestion"; - })(m || (t2.SurveyQuestionTypesEnum = m = {})), (function(e3) { - e3.detractor = "detractor", e3.passive = "passive", e3.promoter = "promoter"; - })(g || (t2.NpsAnswersEnum = g = {})), (function(e3) { - e3.answerOptionExceedsMaxLength = "answerOptionExceedsMaxLength", e3.formDisabled = "formDisabled", e3.formInvalid = "formInvalid", e3.formInsufficientViewPermissions = "formInsufficientViewPermissions", e3.multipleChoiceLimitExceeded = "multipleChoiceLimitExceeded"; - })(f || (t2.SurveyFormErrorTypesEnum = f = {})); - }, 56972: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeBaseDocuments = t2.getKnowledgeBaseDocument = t2.getKnowledgeBases = t2.getKnowledgeBase = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(66848), o = i2(54632), a = i2(36577), s = i2(66693), l = { ignoreBadResponse: true }; - t2.getKnowledgeBase = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases/{id}", r2, l), t2.getKnowledgeBases = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases", o, l), t2.getKnowledgeBaseDocument = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases/{knowledgeId}/documents/{documentId}", a, l), t2.getKnowledgeBaseDocuments = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/knowledgebases/{knowledgeId}/documents", s, l); - }, 57060: (e2, t2, i2) => { + const I = new v(); + t2.default = I; + }, 82190(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); + const n2 = i2(31635).__importDefault(i2(92140)), o = (0, i2(24032).getTopic)("AsyncOperationError"); + t2.default = class { + constructor(e3, t3) { + if (e3.isRequestError) { + t3 || o.errorWithStack(null, "AsyncOperationError was passed a request error with no operationInfo."); + const i3 = [], r = t3.flowId ? [t3.flowId] : n2.default.keys(t3.remainingFlowsInfoViewModels); + n2.default.each(r, (t4) => { + i3.push({ entityId: t4, code: e3.response ? e3.response.code : e3.code, messageParams: e3.response ? e3.response.messageParams : void 0 }); + }), this.response = { errors: i3 }; + } else this.response = { errors: [e3] }; } - get _globalTypeName() { - return "journeySegmentCollection"; + }; + }, 79159(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(33231)), r = 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 d.error(i3), new Error(i3); + } + class _ extends u.BaseClass { + constructor() { + super(...arguments), this._operations = []; } - get initialValue() { - return this._initialValue; + get className() { + return "AsyncOperationManager"; } - get displayTypeName() { - return "ArchVariableJourneySegmentCollection"; + _cleanOperation(e3, t3, i3) { + p(this, "_cleanOperation"); } - get isArchVariableJourneySegmentCollection() { - return true; + _pollingDisallowedBehavior(e3) { } - } - t2.default = r2; - }, 57088: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + _clearTimeouts(e3) { + e3._emergencyPollTimeoutId && (clearTimeout(e3._emergencyPollTimeoutId), e3._emergencyPollTimeoutId = void 0), e3._abandonTimeoutId && (clearTimeout(e3._abandonTimeoutId), e3._abandonTimeoutId = void 0), e3._emergencyPollingTimeoutId && (clearTimeout(e3._emergencyPollingTimeoutId), e3._emergencyPollingTimeoutId = void 0); } - get _actionTypeId() { - return r2.findScheduleGroupActionType; + _emergencyPollProcessing(e3, t3) { + p(this, "_emergencyPollProcessing"); } - get displayTypeName() { - return this._scriptingName; + _emergencyPollNetworkCall(e3) { + p(this, "_emergencyPollNetworkCall"); } - get isArchActionFindScheduleGroup() { - return true; + _startEmergencyPollRetryTimer(e3) { + e3._emergencyPollTimeoutId = setTimeout(() => { + this._doEmergencyPoll(e3); + }, e3.emergencyPollingRetryTimeoutMS); } - get findResult() { - return this._findResult; + _doEmergencyPoll(e3) { + if (e3.logTopic.info("invoking emergency poll network call"), !e3.emergencyRequestPending) { + e3.emergencyRequestPending = true; + const t3 = this._emergencyPollNetworkCall(e3); + if (!t3 || !t3.then) return; + t3.then((t4) => { + this._emergencyPollProcessing(t4, e3), e3.operationStillInProgress && !e3.stopEmergencyPolling ? this._startEmergencyPollRetryTimer(e3) : e3.stopEmergencyPolling && (e3.stopEmergencyPolling = void 0); + }, (t4) => { + t4 && 404 === t4.status && e3.retryEmergencyPollOn404 ? this._startEmergencyPollRetryTimer(e3) : (e3.logTopic.errorPromise(t4, "_emergencyPollNetworkCall failed"), this._cleanOperation(false, e3)); + }).finally(() => e3.emergencyRequestPending = false); + } } - } - t2.default = o; - }, 57108: (e2, t2, i2) => { - const n2 = i2(50700); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "BridgeActionMetadataList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 57141: (e2) => { - e2.exports = { one: { zero: "1.0", one: "1.1" } }; - }, 57165: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); + _finished(e3) { + 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); } - get _actionTypeId() { - return r2.dialExtensionActionType; + _loadNewModelDetails(e3, t3) { + p(this, "_loadNewModelDetails"); } - get displayTypeName() { - return "ArchMenuDialByExtension"; + _performOperation(e3) { + const t3 = r.default.extEnsureArray(e3.subscriptionTopics); + if (this._operations.find((i4) => { + if (i4.subscribedToNotifications) { + const n3 = r.default.extEnsureArray(i4.subscriptionTopics); + if (r.default.intersection(t3, n3).length) return !e3.flowViewModel || !i4.flowViewModel || e3.flowViewModel.instanceId === i4.flowViewModel.instanceId; + } + })) { + const t4 = "duplicate or overlapping async operation encountered, aborting"; + return e3.logTopic.warning(t4), e3.deferredOperation.reject(t4), e3.deferredOperation.promise; + } + this._operations.push(e3), e3.startAbandonProcessingTimeout = () => { + e3._abandonTimeoutId = setTimeout(this._abandonProcessing.bind(this, e3), e3.abandonProcessingTimeoutMS); + }, e3.autoStartEmergencyPolling = void 0 === e3.autoStartEmergencyPolling || e3.autoStartEmergencyPolling; + let i3 = false; + if (a.isConnected() ? this._subscribeToEventNotifications(e3) : e3.disallowPolling ? this._pollingDisallowedBehavior && this._pollingDisallowedBehavior(e3) : i3 = true, e3.operationToPerform) { + const t4 = (t5) => { + e3.logTopic.errorPromise(t5, "Operation failed"), this._cleanOperation(false, e3, t5); + }; + try { + (e3.subscribePromise || o.default.resolve()).finally(() => { + e3._operationStillInProgress && (e3._initialOperationPending = true, e3.operationToPerform(e3).then(() => { + e3._initialOperationPending = void 0, e3._unprocessedNotifications && (r.default.each(e3._unprocessedNotifications, (t5) => { + const i4 = Date.now() - t5.received; + i4 > e3.staleNotificationTimeMS ? e3.logTopic.warning("Ignoring unprocessed notification because it has become stale at {}ms, exceeds {}ms", i4, e3.staleNotificationTimeMS) : this._processNotification(e3, t5.notification); + }), e3._unprocessedNotifications = void 0, e3.operationStillInProgress) || (i3 ? (e3.logTopic.warning("Emergency polling will be used for this operation because no notification channel is available."), this._doEmergencyPoll(e3)) : !e3.disallowPolling && e3.autoStartEmergencyPolling && this.startEmergencyPollingTimer(e3)); + }).catch((e4) => { + t4(e4); + })); + }); + } catch (e4) { + t4(e4); + } + } + return e3.stateChangedCallBack && c.emitter.on(c.stateChangeStarted, e3.stateChangedCallBack), e3.deferredOperation.promise.catch(() => { + }).finally(() => { + this._finished(e3); + }), e3.deferredOperation.promise; } - get actionDialByExtension() { - return this._archAction; + _processNotification(e3, t3) { + p(this, "_processNotification"); } - get isArchMenuDialByExtension() { - return true; + _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.isPending() && e3.deferredOperation.reject())); } - } - 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); + _removeEventNotifications(e3) { + e3 && (e3.subscribedToNotifications = false, a.removeSubscription(e3.subscriptionTopics, e3.subscriberId)); } - get _globalTypeName() { - return "externalContactCollection"; + _removeSingleNotificationTopic(e3, t3) { + e3 && (r.default.contains(e3.subscriptionTopics, t3) ? (e3.subscriptionTopics = r.default.without(e3.subscriptionTopics, t3), a.removeSubscription(t3, e3.subscriberId)) : e3.logTopic.error("Unknown topic to remove: {}", t3)); } - get initialValue() { - return this._initialValue; + getOperationsWithSubscriptionTopic(e3) { + const t3 = []; + return r.default.each(this._operations, (i3) => { + r.default.isArray(i3.subscriptionTopics) ? r.default.contains(i3.subscriptionTopics, e3) && t3.push(i3) : i3.subscriptionTopics === e3 && t3.push(i3); + }), t3; } - get displayTypeName() { - return "ArchVariableExternalContactCollection"; + startEmergencyPollingTimer(e3) { + e3._emergencyPollingTimeoutId || (e3._emergencyPollingTimeoutId = setTimeout(() => { + clearTimeout(e3._emergencyPollingTimeoutId), e3._emergencyPollingTimeoutId = void 0, e3.logTopic.warning("Emergency polling started because operation did not complete within " + e3.emergencyPollingTimeout + " seconds."), this._doEmergencyPoll(e3); + }, e3.emergencyPollingTimeoutMS), e3.startAbandonProcessingTimeout()); } - get isArchVariableExternalContactCollection() { - return true; + _subscribeToEventNotifications(e3) { + e3 && (e3.subscribedToNotifications ? e3.logTopic.error("already looking at notifications") : (e3.subscribePromise = a.addSubscription(e3.subscriptionTopics, e3.subscriberId, (t3) => { + e3._initialOperationPending ? (e3._unprocessedNotifications || (e3._unprocessedNotifications = []), e3._unprocessedNotifications.push({ notification: t3, received: Date.now() })) : e3.operationStillInProgress && this._processNotification(e3, t3); + }).catch((t3) => { + t3.isAborted && (e3.logTopic.requestError(t3, "notification subscribe was aborted, cancelling operation"), this._cleanOperation(false, e3)); + }), e3.subscribedToNotifications = true)); } } - t2.default = r2; - }, 57247: (e2, t2, i2) => { + t2.default = _; + }, 77886(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(69078), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.knowledgeBaseDocumentManager); + t2.getFlowOperationsTopic = function(e3) { + return e3 || n2.error("a flow id was not provided to getFlowOperationsTopic"), `v2.flows.${e3}`; + }, t2.getFlowInstancesTopic = function(e3) { + return e3 || n2.error("a flow id was not provided to getFlowInstancesTopic"), `v2.flows.instances.flow.${e3}`; + }, t2.getSystemTokenRevokedTopic = function(e3) { + return e3 || n2.error("a user id was not provided to getSystemTokenRevokedTopic"), `v2.system.token_revoked.${e3}`; + }; + const n2 = (0, i2(24032).getTopic)("subscriptionTopics"); + }, 66942(e2, t2, i2) { + "use strict"; + t2.audioRegistrationService = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(56673), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(1115)), l = i2(55909), u = i2(33951); + class c extends r.BaseRegistrationService { + constructor() { + super(); } - get _globalTypeName() { - return "knowledgeBaseDocumentCollection"; + get className() { + return "AudioRegistrationService"; } - get displayTypeName() { - return "ArchValueKnowledgeBaseDocumentCollection"; + get isAudioRegistrationService() { + return true; } - get _searchByValueSearchProperty() { - return "name"; + registerItem(e3) { + super.registerItem(e3), this._getFlowSpecificMap(e3)[e3.id] = e3; } - addLiteralByKnowledgeBaseDocumentIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentId", "addLiteralByKnowledgeBaseDocumentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByKnowledgeBaseDocumentIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "knowledge base document").then(() => r2.default.executeCallback(this, "addLiteralByKnowledgeBaseDocumentIdAsync", t3, this)); - }); + unregisterItem(e3) { + var t3; + super.unregisterItem(e3); + const i3 = this._getFlowSpecificMap(e3); + if (i3) delete i3[e3.id]; + else { + if (!(null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.loaded)) return; + a.error(`${e3.id} not found to unregister - no flow bucket available for flow id '${e3.parentFlow.id}'`); + } } - addLiteralByKnowledgeBaseDocumentNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "addLiteralByKnowledgeBaseDocumentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByKnowledgeBaseDocumentNameAsync"), t3, true); - const i3 = this._getFlowConfiguredKnowledgeBaseId; - return this._addLiteralByValueAsync(e3, "knowledge base document", { knowledgeId: i3 }).then(() => r2.default.executeCallback(this, "addLiteralByKnowledgeBaseDocumentNameAsync", t3, this)); + validateAudioViewModelsForFlowId(e3) { + u.ParameterValidator.expectFlowViewModel(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "validateAudioViewModelsForFlowId", "flowViewModel")), e3 && e3.instanceId && o.default.each(this._flowMap[e3.instanceId], (e4) => { + e4.parent.isFlowViewModel ? s.validateItem(e4, false, true) : s.validateNode(e4.parent, false); }); } - get isArchValueKnowledgeBaseDocumentCollection() { - return true; - } - get _getFlowConfiguredKnowledgeBaseId() { - var e3, t3; - const i3 = null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeBaseId; - return i3 || this.logErrorAndThrow("a knowledge base must be set on the flow knowledge settings to set the knowledge base document."), i3; - } } - t2.default = s; - }, 57310: (e2, t2, i2) => { + t2.audioRegistrationService = new c(); + }, 53919(e2, t2, i2) { "use strict"; - 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); + Object.defineProperty(t2, "__esModule", { value: true }), t2.authorize = function() { + n2.getAuthenticatedPromise().then(() => { + n2.setCurrentUserAuthorized(o.permissionService.checkHasPermissionInAtLeastOneDivision(n2.getConnectedUser(), o.permissionService.staticPermissions[r.permissionStrings.architect.application.use]).hasPermission), n2.isCurrentUserAuthorized() ? n2.resolveUserAsAuthorized() : (n2.resolveUserAsUnauthorized(`unauthorized - client or user is missing permission '${r.permissionStrings.architect.application.use}'`), n2.isRunningInBrowser() && (window.location.hash = "#/error")); + }, (e3) => { + n2.resolveUserAsUnauthorized(e3.authorization), n2.isRunningInBrowser() && (window.location.hash = "#/error"); + }); + }; + const n2 = i2(31635).__importStar(i2(74359)), o = i2(67210), r = i2(44724); + }, 99472(e2, t2, i2) { + "use strict"; + t2.aiPoweredBadgeWithText = t2.aiPoweredBadgeWithNoText = void 0; + const n2 = i2(47957); + t2.aiPoweredBadgeWithNoText = { text: "", guxIcon: "restricted/custom/sparkles-solid", badgeClass: "ai-powered-badge", iconClass: "custom-label-header-icon", ariaLabel: n2.generic.aiPowered, treeNodeIcon: "custom/ai-tooltip-regular" }, t2.aiPoweredBadgeWithText = { text: n2.generic.aiPowered, guxIcon: "restricted/custom/sparkles-solid", badgeClass: "ai-powered-badge", iconClass: "custom-label-header-icon" }; + }, 56673(e2, t2, i2) { + "use strict"; + t2.BaseRegistrationService = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = (n2.__importStar(i2(12847)), n2.__importStar(i2(36781))), a = i2(55909), s = i2(33951); + t2.BaseRegistrationService = class { + constructor() { + this._flowMap = {}, r.serviceListen(r.cleanUpFlow, (e3) => this.cleanUpFlow(e3)); } - static get branchInfo() { - return g.default.successFailureTimeout; + get className() { + return "BaseRegistrationService"; } - get isCallAgenticVirtualAgentAction() { + get isBaseRegistrationService() { return true; } - getDetails() { - return this.agenticVirtualAgentId ? new v.ActionDetails([F.agenticVirtualAgent.agenticVirtualAgent], [this.agenticVirtualAgentName]) : null; + _getFlowSpecificMap(e3) { + const t3 = e3.isFlowViewModel ? e3 : e3.parentFlow; + let i3; + return t3.instanceId && (i3 = this._flowMap[t3.instanceId], i3 || (i3 = this._flowMap[t3.instanceId] = {})), i3; } - static getExitReasonVals(e3) { - const t3 = ["Error", "Escalation", "TriggeredByUser", "Guardrails"]; - return e3 ? t3.map((e4) => `"${e4}"`) : [...t3]; + _cleanUpFlow(e3) { } - static get managedProperties() { - 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: 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: 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)) }]; + cleanUpFlow(e3) { + if (s.ParameterValidator.expectFlowViewModel(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "cleanUpFlow", "flowViewModel")), e3 && e3.id) try { + this._cleanUpFlow(e3), delete this._flowMap[e3.instanceId]; + } catch (t3) { + e3.topic.exceptionWithErrorObjectInfo(t3, `${this.className}::cleanUpFlow - Error during flow cleanup processing.`, e3, true); + } } - initializeDesignTime() { - var e3; - 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(); - })); + registerItem(e3) { } - 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 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 === (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 === (_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 S2; + unregisterItem(e3) { } - _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); + getItemIdsForFlow(e3) { + if (s.ParameterValidator.expectFlowViewModel(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "getItemIdsForFlow", "flowViewModel")), !e3 || !e3.instanceId) return []; + const t3 = this._flowMap[e3.instanceId]; + return t3 ? o.default.values(t3) : []; } - _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); + flowDestroyed(e3) { + s.ParameterValidator.expectFlowViewModel(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "flowDestroyed", "flowViewModel")), e3 && e3.instanceId && delete this._flowMap[e3.instanceId]; } - _destroy() { - var e3; - super._destroy(), y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentSage) && (this.parentFlow.isDestroyedOrDestroying || null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 || e3.clearDynamicAgenticVirtualAgentEnabledState()); + }; + }, 21042(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allListManagers = t2.BootstrapListManager = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299), r = i2(24032), a = i2(97361), s = (0, r.getTopic)("bootstrapListManager"), l = []; + t2.allListManagers = l; + class u extends o.BaseClass { + constructor(e3, t3) { + super(), this.dependencyType = e3, this._networkModel = t3, l.push(this), this.items = {}, this.dependencyType && this._networkModel && a.registerObject(this.dependencyType.value, this._networkModel); } - _createErrorSchema() { - 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); + get className() { + return "BootstrapListManager"; } - _initializeErrorBindings() { - this.errorBindings && this._createErrorSchema().properties.forEach((e3) => { - let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); - t3 || (t3 = L.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), L.setExpressionWithSchemaProperty(t3.value, e3); - }); + get isBootstrapListManager() { + return true; } - _clearSchemaBindings() { - this.inputs && o.default.isFunction(this.inputs.destroyChildren) && this.inputs.destroyChildren(), this.outputs && o.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(); + getItemById(e3) { + return this.items[e3]; } - _getReferencedAgenticVirtualAgentName() { - var e3; - const t3 = null === (e3 = this.agenticVirtualAgentSetting) || void 0 === e3 ? void 0 : e3.getItem(); - return (null == t3 ? void 0 : t3.name) || this.agenticVirtualAgentName; + getItemByName(e3) { + return n2.default.find(this.items, (t3) => t3.name.toLocaleLowerCase() === e3.toLocaleLowerCase()); } - _mergeSchemaProperties(e3) { - const t3 = (e4, t4) => { - var i3; - 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), y.isFeatureAvailable(A.default.botFlowsAgenticVirtualAgentOutputValues) && t3(null == e3 ? void 0 : e3.outputSchema, this.outputs); + updateItem(e3) { + if (!e3.id) return null; + const t3 = this.items[e3.id]; + return t3 ? t3.updateItem ? t3.updateItem(e3) : (s.errorWithStack(null, `updateItem not implemented for viewmodel class '${t3.className}' with id '${t3.id}' from manager '${this.className}'`), null) : null; } - _setAdditionalSearchParams() { - return { status: m.AiGuideStatus.published }; + removeItemWithId(e3) { + delete this.items[e3]; } - validate(e3) { - if (super.validate(e3), e3.isDeep) { - const e4 = this.agenticVirtualAgentVersionSetting.getItem(); - e4 && this._mergeSchemaProperties(e4); - } + removeItemWithName(e3) { + const t3 = n2.default.findWhere(this.items, { name: e3 }); + t3 && delete this.items[t3.id]; + } + resetState() { + this.items = {}; } } - 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 = x; - }, 57382: (e2, t2, i2) => { + t2.BootstrapListManager = u; + }, 50486(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(26847), a = n2.__importDefault(i2(11210)), s = n2.__importDefault(i2(78432)); - class l extends a.default { - constructor(e3) { - super(e3); - } - get displayTypeName() { - return "ArchBaseActionWithOutputs"; - } - _getOutputById(e3, t3) { - if (e3 === o.outputIds.fake || this.isMenuChoiceAction) return; - const i3 = r2.default.find(this._coreActionViewModel.branches, (t4) => t4.id === e3); - if (i3) return this.coreFactory.createArchWrapper(i3); - t3 || this.logErrorAndThrow("the core output identifier of '" + e3 + "' is not valid for " + this.logStr); + t2.EngineService = void 0; + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)), s = i2(21042); + class l extends s.BootstrapListManager { + constructor(e3, t3) { + super(e3, t3), a.bootstrapDataLoaded.then(this._processBootstrapDataLoaded.bind(this)); } - get isArchBaseActionWithOutputs() { - return true; + _unitTestProcessBootstrapDataLoaded(e3) { + console.error("ExpressionDataService._unitTestProcessBootstrapDataLoaded should only be called in unit tests!"); } - get hasFakeSuccessOutput() { - return false; + getAnyDefaultsChanged() { + return r.default.any(this.items, (e3) => e3.defaultsChanged); } - get hasFakeDisconnectOutput() { - return false; + getDefaultEngineForLanguage(e3) { + return r.default.find(this.items, (t3) => t3.getIsEngineDefaultForLanguage(e3)); } - getOutputById(e3) { - if (this.isMenuChoiceAction) return; - const t3 = this._infoParm("output", "getOutputById"); - let i3 = e3; - if (e3 && e3.isArchBranch) { - const t4 = e3; - this.logNote("using the output ID of '" + t4.outputId + "' from the submitted ArchBranch instance."), i3 = t4.outputId; - } - if (this._checkItemIsValidLiteralString(t3, i3), -1 === i3.indexOf("-") && (this._checkItemIsValidLiteralStringEnum(t3, i3, s.default.OUTPUT_IDS_ALL), i3 = o.outputIds[i3]), this.hasFakeSuccessOutput && i3 === s.default.OUTPUT_IDS.success) return; - if (this.hasFakeDisconnectOutput && i3 === s.default.OUTPUT_IDS.disconnect) return; - const n3 = this._getOutputById(i3, true); - return this._checkItem(t3, !n3, "the output id '" + i3 + "' is not valid for " + this.logStr), n3; + getSortedEnginesArray() { + const e3 = r.default.map(this.items, (e4) => e4); + return r.default.sortBy(e3, "name"); } - _getOutputByName(e3, t3, i3) { - if (this.isMenuChoiceAction) return; - const n3 = this._infoParm("output", "getOutputByName"); - let o2 = e3; - if (e3 && e3.isArchBranch) { - const t4 = e3; - this.logNote("using the output name of '" + t4.name + "' from the submitted ArchBranch instance."), o2 = t4.name; - } - this._checkItemIsValidLiteralString(n3, o2), this._checkItemIsValidLiteralBool(this._infoParm("wantInternal", "getOutputByName"), t3, true), t3 = !!t3; - const a2 = r2.default.find(this.outputs, (e4) => !(!e4 || e4.name !== o2 || e4.isDynamic !== t3)); - if (a2) { - if (this.hasFakeSuccessOutput && a2.id === s.default.OUTPUT_IDS.success) return; - if (this.hasFakeDisconnectOutput && a2.id === s.default.OUTPUT_IDS.disconnect) return; - } - return i3 || this._checkItem(n3, !a2, `the output with name '${o2}' and isDynamic setting of ${t3} is not valid for ${this.logStr}`), a2; + getEnginesForLanguage(e3) { + return r.default.filter(this.items, (t3) => t3.getEngineSupportsLanguage(e3)); } - getOutputByName(e3, t3) { - return this._getOutputByName(e3, t3); + getSupportedVoiceLanguagesForEngine(e3) { + const t3 = this.getSortedEnginesArray().find((t4) => t4.id === e3); + return Object.values((null == t3 ? void 0 : t3.voices) || {}).length ? r.default.uniq(Object.values(t3.voices).map((e4) => e4.language)) : []; } - getOutputByIndex(e3) { - if (this.isMenuChoiceAction) return; - const t3 = this._infoParm("index", "getOutputByIndex"); - this._checkItemIsValidLiteralIntInRange(t3, e3, 0, this._coreActionViewModel.branches.length); - const i3 = this._coreActionViewModel.branches[e3]; - return i3.id !== o.outputIds.fake ? this.coreFactory.createArchWrapper(i3) : void 0; + getSelectableEnginesForLanguage(e3) { + return Object.values(this.items); } - get outputCount() { - return this.isMenuChoiceAction ? 0 : this._coreActionViewModel.branches.length; + getSelectableEnginesForLanguageAndFlowTypeOrTypes(e3, t3) { + return e3 ? this._filterEnginesFlowTypeOrTypes(this.getSelectableEnginesForLanguage(e3), t3) : []; } - get outputs() { - const e3 = []; - if (!this.isMenuChoiceAction) { - const t3 = this.outputCount; - for (let i3 = 0; i3 < t3; i3++) e3.push(this.getOutputByIndex(i3)); - } - return e3; + getEnginesForLanguageAndFlowTypeOrTypes(e3, t3) { + return e3 ? this._filterEnginesFlowTypeOrTypes(this.getEnginesForLanguage(e3), t3) : []; } - } - 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: c } = i2(55909), { ParameterValidator: d } = i2(33951), p = i2(71004), _ = i2(14187); - class h extends r2 { - constructor(e3, t3) { - super(t3), d.expectObject(e3, () => c.createConstructorParameter("ClipboardDependencyVariableViewModel", "variableDependencyModel"), true), Object.defineProperties(this, { _dependencyVariableModel: { writable: true } }), e3 && this.loadModel(e3); + _filterEnginesFlowTypeOrTypes(e3, t3) { + return t3 ? (r.default.isString(t3) && (t3 = [t3]), r.default.filter(e3, (e4) => r.default.every(t3, (t4) => !!e4.flowTypes.includes(t4) && (t4 !== o.flowTypes.flowTypeSecureCall || e4.isSecure))) || []) : e3; } - static create(e3, t3, i3) { - const n3 = new s({ variableJSON: o.cloneToRawJsonObject(e3.model), supportedFlowTypes: i3 }); - return new h(n3, t3); + isEngineSupportedForLanguageAndFlowTypeOrTypes(e3, t3, i3) { + return !!(e3 && t3 && i3) && !!r.default.find(this.getEnginesForLanguageAndFlowTypeOrTypes(t3, i3), (t4) => t4.id === e3); } - loadModel(e3) { - this._dependencyVariableModel = e3; + getDefaultEngineForLanguageAndFlowTypeOrTypes(e3, t3) { + const i3 = this.getDefaultEngineForLanguage(e3); + if (i3 && this.isEngineSupportedForLanguageAndFlowTypeOrTypes(i3.id, e3, t3)) return i3; } - get isClipboardDependencyVariableViewModel() { - return true; + resetAllDefaultsChanged() { + r.default.each(this.items, (e3) => { + e3.defaultsChanged = false; + }); } - get variableId() { - return this._dependencyVariableModel && this._dependencyVariableModel.variableJSON ? this._dependencyVariableModel.variableJSON.id : void 0; + } + t2.EngineService = l; + }, 65449(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(74359)), a = n2.__importStar(i2(75773)), s = i2(21042), l = i2(24032), u = i2(54040), c = n2.__importDefault(i2(40773)), d = i2(27862), p = (0, l.getTopic)("sttEngineService"); + class _ extends s.BootstrapListManager { + constructor() { + super(d.SpeechToTextEngine, u.SpeechToTextEngine), r.bootstrapDataLoaded.then(this._processBootstrapDataLoaded.bind(this)); } - get variableName() { - return this._dependencyVariableModel && this._dependencyVariableModel.variableJSON ? this._dependencyVariableModel.variableJSON.name : void 0; + _processBootstrapDataLoaded(e3) { + var t3; + a.getOrgSupportsAudio() && (e3 ? (null === (t3 = e3.featureSupport) || void 0 === t3 ? void 0 : t3.speechToText) ? (o.default.each(e3.featureSupport.speechToText.sttEngines, (e4, t4) => { + e4.id = t4, this.items[t4] = new c.default(e4); + }), this._sttSettings = e3.featureSupport.speechToText.sttSettings) : p.debug("No featureSupport or speechToText section found in bootstrap data.") : p.errorWithStack(null, "sttEngineService._processBootstrapDataLoaded was passed null bootstrapService.")); } - get logHeader() { - return "dependency variable - name :'" + this.variableName + "' (ID: " + this.variableId + ")"; + get className() { + return "sttEngineService"; } - get rawJson() { - return this._dependencyVariableModel ? this._dependencyVariableModel.variableJSON : void 0; + getDefaultEngineForLanguage(e3) { + var t3, i3, n3, o2; + const r2 = (null === (n3 = null === (i3 = null === (t3 = this._sttSettings) || void 0 === t3 ? void 0 : t3.languageOverrides) || void 0 === i3 ? void 0 : i3[e3.toLocaleLowerCase()]) || void 0 === n3 ? void 0 : n3.engine) || (null === (o2 = this._sttSettings) || void 0 === o2 ? void 0 : o2.defaultEngine); + return this.items[r2]; } - get dependencyModel() { - return this._dependencyVariableModel; + get defaultId() { + return "__default__"; } - get supportedFlowTypes() { - return this._dependencyVariableModel ? this._dependencyVariableModel.supportedFlowTypes : void 0; + get genesysV3Id() { + return "genesys~v3"; } - shouldPaste(e3) { - return !!n2.isUndefined(this.supportedFlowTypes) || n2.contains(this.supportedFlowTypes, e3.destFlowViewModel.type); + get genesysV4Id() { + return "genesys~v4"; } - applySupportedFlowTypes(e3) { - n2.isUndefined(e3) || null === e3 || (d.expectArray(e3, () => c.createFunctionParameter(this.className, "applysupportedFlowTypes", "supportedFlowTypes"), true), this._dependencyVariableModel && (this._dependencyVariableModel.supportedFlowTypes = e3)); + _getReplacementEngine(e3) { + var t3; + if (!e3) return; + const i3 = null === (t3 = this.items[e3]) || void 0 === t3 ? void 0 : t3.replacedBy; + return i3 ? this.items[i3] : void 0; } - _performDestroy() { - try { - this._dependencyVariableModel = void 0; - } catch (e3) { - this.logException(e3, "Exception encountered cleaning up clipboard content."); - } + resolveEngineForId(e3) { + if (e3) return this._getReplacementEngine(e3) || this.items[e3]; } - _performPaste(e3) { - let t3 = this.createClipboardResultSuccess(); - const i3 = this.variableName, r3 = "'" + i3 + "' (ID: '" + this.variableId + "')"; - this.pushLogHeader(this.logHeader); - try { - this.log("Processing clipboard dependency variable begin."); - const t4 = this.cloneToRawJsonObject(this.rawJson), o2 = l.prototype.reviveItem(t4, a); - this.pasteFixVariable(e3, o2); - const s2 = e3.destViewModel.isMenu || e3.destViewModel.isMenuChoice || _.getScope(this.variableName) === _.scopes.flow || _.getScope(this.variableName) === _.scopes.common ? e3.destFlowViewModel : e3.destViewModelTaskOrState; - if (s2.isTask || s2.isState || s2.isFlowViewModel || s2.isBotState) { - 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 c2 = o2.name, d2 = this.removeNumericSuffixAndSpace(c2); - let h2, m = false; - for (; !m; ) { - 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) { - const i4 = "Found existing variable named " + this._getNameAndIdStr(a2) + ". "; - let n3; - o2.typeIdentifier && (n3 = u.resolveType(e3.destFlowViewModel, o2.typeIdentifier)), n3 || (n3 = u.getTypeFromIcwsType(e3.destFlowViewModel, o2.__type, o2.isCollection)), n3 && (m = a2.type.isMatch(n3)), m ? !!o2.isSecure !== a2.isSecure ? (this.log(i4 + "The existing variable's isSecure setting '" + a2.isSecure + "' is not a match for the clipboard variable isSecure value of '" + o2.isSecure + "'. Will continue looking."), m = false) : (this.log(i4 + "The data type and needed isSecure setting is also a match. :) Clipboard content that that referenced " + r3 + " from the initial copy will reference " + this._getNameAndIdStr(a2) + "."), e3.setOldIdToNewIdMapping(o2.id, a2.id)) : this.log(i4 + "The existing variable's the data type '" + a2.type.dataType + "' is not a match for the clipboard variable type '" + n3.dataType + "'. Will continue looking."), t5 = false; - } else this.log("Paste destination variable container did not have existing variable named '" + o2.name + "'. Will add a new variable there."); - if (t5) { - const t6 = o2.id; - o2.pasteReIdOrRename(e3.clipboardObject); - const i4 = p.createVariable(o2, s2); - n2.isFunction(s2.addVariable) ? s2.addVariable(i4) : n2.isArray(s2.variables) && (s2.variables.push(i4), s2.model && n2.isArray(s2.model.variables) && s2.model.variables.push(i4.model)), i4.initializeDesignTime(), e3.additionalInfo && e3.additionalInfo.addNotableVariable(i4), this.log("Added variable " + this._getNameAndIdStr(i4) + " of type '" + i4.type.dataType + "'. Clipboard content that referenced clipboard variable ID '" + t6 + "' will reference this new variable."), m = true; - } - m && i3.toLowerCase() !== o2.name.toLowerCase() && (e3.setOldVariableNameToNewVariableNameMapping(i3, o2.name), e3.additionalInfo && e3.additionalInfo.addNotableVarNameMapping(i3, o2.name)); - } - } catch (e4) { - t3 = this.createClipboardResultFailurePasteException(e4, "An error occurred during dependency variable paste processing."); - } finally { - this.popLogHeader(), this.log("Processing clipboard dependency variable end."); - } - return t3; + getDisplayNameForEngineId(e3) { + var t3; + return null === (t3 = this.resolveEngineForId(e3)) || void 0 === t3 ? void 0 : t3.name; } } - e2.exports = h; - }, 57406: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.partition = void 0; - var n2 = i2(14120), r2 = i2(85934), o = i2(19724); - t2.partition = function(e3, t3, i3) { - return [r2.filter(t3, i3)(o.innerFrom(e3)), r2.filter(n2.not(t3, i3))(o.innerFrom(e3))]; - }; - }, 57416: (e2, t2, i2) => { + t2.default = new _(); + }, 6953(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GrammarViewModel = void 0; - const n2 = i2(18638), r2 = i2(82632); - t2.GrammarViewModel = class { - constructor(e3) { - this._model = e3; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(24032), a = n2.__importDefault(i2(55678)), s = n2.__importStar(i2(75773)), l = i2(50486), u = i2(27862), c = i2(55295), d = (0, r.getTopic)("ttsEngineService"); + class p extends l.EngineService { + constructor() { + super(u.TtsEngine, c); + } + _processBootstrapDataLoaded(e3) { + var t3; + s.getOrgSupportsAudio() && (e3 ? ((null === (t3 = e3.featureSupport) || void 0 === t3 ? void 0 : t3.textToSpeech) ? o.default.each(e3.featureSupport.textToSpeech.engines, (e4, t4) => { + this.items[t4] = new a.default(e4, t4); + }) : d.error("No featureSupport or textToSpeech section found in bootstrap data."), o.default.each(e3.languages, (e4) => { + var t4, i3, n3, r2; + if (null === (i3 = null === (t4 = e4.features) || void 0 === t4 ? void 0 : t4.textToSpeech) || void 0 === i3 ? void 0 : i3.engines) { + const t5 = null === (r2 = null === (n3 = e4.features) || void 0 === n3 ? void 0 : n3.textToSpeech) || void 0 === r2 ? void 0 : r2.engines; + o.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), [])) : d.error(`No engine view model found for id '${t6.id}'`); + }); + } + })) : d.errorWithStack(null, "ttsEngineService._processBootstrapDataLoaded was passed null bootstrapService.")); } get className() { - return "GrammarViewModel"; + return "ttsEngineService"; } - get isBaseClass() { - return false; + getEngineWithVoiceId(e3) { + return o.default.find(this.items, (t3) => t3.voices[e3]); } - get id() { - return this._model.id; + get engineIdGenesys() { + return "genesys"; } - get name() { - return this._model.name; + get engineIdGenesysEnhanced() { + return "genesys_enhanced"; } - set name(e3) { - this._model.name = e3; + get engineNameGenesys() { + var e3; + return (null === (e3 = this.getGenesysEngine()) || void 0 === e3 ? void 0 : e3.name) || "Genesys TTS"; } - get label() { - return this.name; + get engineNameGenesysEnhanced() { + var e3; + return (null === (e3 = this.getGenesysEnhancedEngine()) || void 0 === e3 ? void 0 : e3.name) || "Genesys Enhanced TTS"; } - get description() { - return this._model.description; + getGenesysEngine() { + return this.items[this.engineIdGenesys]; } - set description(e3) { - this._model.description = e3; + getGenesysEnhancedEngine() { + return this.items[this.engineIdGenesysEnhanced]; } - get languages() { - return this._model.languages; + static get defaultId() { + return "__default__"; } - getLanguagesString() { - return this.languages.map((e3) => e3.language).join(", "); + get defaultId() { + return p.defaultId; } - addLanguage(e3) { - this._model.languages || (this._model._languages = []), this._model.languages.push(e3); + loadNewBootstrapData(e3) { + e3 ? (this.resetState(), this._processBootstrapDataLoaded(e3)) : d.errorWithStack(null, "ttsEngineService.loadNewBootstrapData was passed null bootstrapService."); } - get canAdd() { - return n2.permissionServiceHelper.canAddGrammars(); + } + t2.default = new p(); + }, 45098(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(21042), o = i2(27862), r = i2(1211); + class a extends n2.BootstrapListManager { + constructor() { + super(o.TtsVoice, r); } - get canDelete() { - return n2.permissionServiceHelper.canDeleteGrammars(); + get className() { + return "voiceService"; } - get canEdit() { - return n2.permissionServiceHelper.canEditGrammars(); + } + t2.default = new a(); + }, 16321(e2, t2, i2) { + "use strict"; + t2.bootstrapService = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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"; } - get canView() { - return n2.permissionServiceHelper.canViewGrammars(); + } + t2.bootstrapService = new class { + 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" } }; } - static get nameMaxLength() { - return r2.grammarLimits.name.maxLength; + 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 || 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, s.getBootstrappingDataV2)(i3), n3 = []; + if (t3.forEach((t4) => { + let i4; + o.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); + } + r.setBootstrapData(this); + } + return t3.includes(this.sections.actions) && (0, a.processBootstrapActionLimits)(this.actions), this; + } catch (e4) { + throw c.exception(e4, "Unable to get startup bootstrap information from server."), e4; + } + }); } - static get descriptionMaxLength() { - return r2.grammarLimits.description.maxLength; + setSectionData(e3, t3) { + this[e3] = t3; } - }; - }, 57443: (e2, t2, i2) => { + }(), 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); + }); + }, 36494(e2, t2) { + "use strict"; + 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"]; + }, 27203(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), c = "slotSettings"; - class d extends l.default { - get id() { - return c; + const n2 = i2(31635), o = n2.__importDefault(i2(4648)), r = i2(26847), a = i2(55909), s = i2(33951), l = n2.__importDefault(i2(92140)), u = i2(47957), c = new class { + constructor() { + this.outputIdsToLabels = {}, this.outputIdsToLabels[r.outputIds.active] = u.generic.branches.active, this.outputIdsToLabels[r.outputIds.canceled] = u.generic.branches.canceled, this.outputIdsToLabels[r.outputIds.closed] = u.generic.branches.closed, this.outputIdsToLabels[r.outputIds.conditionsNotMet] = u.voiceSurvey.voiceSurveyConditionsNotMetLabel, this.outputIdsToLabels[r.outputIds.default] = u.switch.default, this.outputIdsToLabels[r.outputIds.emergency] = u.generic.branches.emergency, this.outputIdsToLabels[r.outputIds.error] = u.generic.branches.error, this.outputIdsToLabels[r.outputIds.event] = u.generic.branches.event, this.outputIdsToLabels[r.outputIds.failure] = u.generic.branches.failure, this.outputIdsToLabels[r.outputIds.found] = u.generic.branches.found, this.outputIdsToLabels[r.outputIds.fake] = u.generic.branches.success, this.outputIdsToLabels[r.outputIds.holiday] = u.generic.branches.holiday, this.outputIdsToLabels[r.outputIds.inactive] = u.generic.branches.inactive, this.outputIdsToLabels[r.outputIds.knowledge] = u.generic.branches.knowledgeDialogEngine, this.outputIdsToLabels[r.outputIds.loop] = u.actions.loop, this.outputIdsToLabels[r.outputIds.loopNext] = u.generic.branches.loopNext, this.outputIdsToLabels[r.outputIds.loopsMax] = u.generic.branches.loopsMax, this.outputIdsToLabels[r.outputIds.matchExact] = u.generic.branches.matchExact, this.outputIdsToLabels[r.outputIds.matchMultiple] = u.generic.branches.matchMultiple, this.outputIdsToLabels[r.outputIds.maxNoInputs] = u.generic.branches.maxNoInputsBranch, this.outputIdsToLabels[r.outputIds.maxNoMatches] = u.generic.branches.maxNoMatchesBranch, this.outputIdsToLabels[r.outputIds.no] = u.generic.no, this.outputIdsToLabels[r.outputIds.noEvent] = u.generic.branches.noEvent, this.outputIdsToLabels[r.outputIds.noInput] = u.generic.branches.noInputBranch, this.outputIdsToLabels[r.outputIds.noIntent] = u.generic.branches.noIntent, this.outputIdsToLabels[r.outputIds.notFound] = u.generic.branches.notFound, this.outputIdsToLabels[r.outputIds.open] = u.generic.branches.open, this.outputIdsToLabels[r.outputIds.partiallyFound] = u.generic.branches.partiallyFound, this.outputIdsToLabels[r.outputIds.processed] = u.generic.branches.processed, this.outputIdsToLabels[r.outputIds.skipResponseCapture] = u.generic.branches.skipResponseCapture, this.outputIdsToLabels[r.outputIds.success] = u.generic.branches.success, this.outputIdsToLabels[r.outputIds.timeout] = u.generic.branches.timeout, this.outputIdsToLabels[r.outputIds.valid] = u.generic.branches.valid, this.outputIdsToLabels[r.outputIds.invalid] = u.generic.branches.invalid, this.outputIdsToLabels[r.outputIds.voicemail] = u.generic.branches.voicemail, this.outputIdsToLabels[r.outputIds.yes] = u.generic.yes; } - static get id() { - return c; + get className() { + return "BranchInfos"; } - get showInFlowSize() { - return false; + get active() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.active], outputId: r.outputIds.active, required: true }; } - get className() { - return "SlotSettingsViewModel"; + get activeInactive() { + return [this.active, this.inactive]; } - getDisplayName() { - return u.clearSlot.slotsLabel; + get canceled() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.canceled], outputId: r.outputIds.canceled, required: true }; } - get isSlotSettingNode() { - return true; + get closed() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.closed], outputId: r.outputIds.closed, required: true }; } - get nodeGuxIcon() { - return "fa/bullseye-regular"; + get conditionsNotMet() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.conditionsNotMet], outputId: r.outputIds.conditionsNotMet, required: true }; } - get helpTopic() { - return s.helpTopics.treeNodes.slotTypeSettings; + get default() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.default], outputId: r.outputIds.default, required: true, sortIndex: 4 }; } - get workbenchArchNodeName() { - return o.default.nodeIds.slots; + get emergency() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.emergency], outputId: r.outputIds.emergency, required: true }; } - get useLabelBadge() { - return this.isLlmSlotEnabled; + get event() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.event], outputId: r.outputIds.event, required: true }; } - get isLlmSlotEnabled() { - return this.virtualAgentEnabled && r2.isFeatureAvailable(a.default.botFlowsLLMPoweredSlot); + get eventNoEventFailure() { + return [this.event, this.noEvent, this.failure]; } - _destroy() { - super._destroy(); + get fake() { + return { canTerminate: false, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.fake], outputId: r.outputIds.fake, required: true }; } - } - 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), c = i2(37707), d = i2(97081), p = i2(47957), _ = i2(27862); - class h extends s.default { - get requiredAuth() { - return u.externalAuthorizations.authStrings.integrationView; + get fakeDisconnect() { + return { canTerminate: false, isActionInternal: false, label: u.actions.disconnect, outputId: r.outputIds.fake, required: true }; } - get dependencyType() { - return _.DigitalBotConnectorIntegration; + get fakeNoLabel() { + return { canTerminate: false, isActionInternal: false, outputId: r.outputIds.fake, required: true }; } - constructor() { - 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(); + get fakeFailure() { + return [this.fake, this.failure]; } - _createItemViewModel(e3) { - return new d.IntegrationViewModel(e3); + get failure() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.failure], outputId: r.outputIds.failure, required: true }; } - get _networkModel() { - return c.Integration; + get found() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.found], outputId: r.outputIds.found, required: true }; } - } - t2.DigitalBotConnectorIntegrationManager = h, t2.digitalBotConnectorIntegrationManager = new h(); - }, 57498: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get foundNotFound() { + return [this.found, this.notFound]; } - get _globalTypeName() { - return "shortMessage"; + get foundPartiallyFoundNotFound() { + return [this.found, this.partiallyFound, this.notFound]; } - get id() { + get foundNotFoundFailure() { + return [this.found, this.notFound, this.failure]; } - get type() { + get holiday() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.holiday], outputId: r.outputIds.holiday, required: true }; } - get attachments() { + get inactive() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.inactive], outputId: r.outputIds.inactive, required: true }; } - get body() { + get knowledgeOptional() { + return { canTerminate: true, featureConfigName: o.default.botFlowsKnowledge, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.knowledge], outputId: r.outputIds.knowledge, required: false, yamlOptions: { exportOutOfService: true } }; } - get bodyType() { + get loop() { + return { canTerminate: true, isActionInternal: true, label: this.outputIdsToLabels[r.outputIds.loop], outputId: r.outputIds.loop, required: true }; } - get senderAddress() { + get loopNext() { + return { canTerminate: false, isActionInternal: true, label: this.outputIdsToLabels[r.outputIds.loopNext], outputId: r.outputIds.loopNext, required: true }; } - get senderAddressInfo() { + get matchExactMultipleNotFound() { + return [this.matchExact, this.matchMultiple, this.notFound]; } - get targetAddresses() { + get matchExact() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.matchExact], outputId: r.outputIds.matchExact, required: true }; } - get targetAddressesInfo() { + get loopsMax() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.loopsMax], outputId: r.outputIds.loopsMax, required: true, sortIndex: 6 }; } - get dateTimeUtc() { + get matchMultiple() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.matchMultiple], outputId: r.outputIds.matchMultiple, required: true }; } - get invitationReferenceId() { + get skipResponseCaptureOptional() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.skipResponseCapture], outputId: r.outputIds.skipResponseCapture, featureConfigName: o.default.botFlowsSupportDontKnowAnswers, required: false, defaultToOutOfService: true, sortIndex: 10, yamlOptions: { exportOutOfService: true } }; } - get stickers() { + get maxNoInputsOptional() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.maxNoInputs], outputId: r.outputIds.maxNoInputs, required: false, defaultToOutOfService: true, sortIndex: 8, yamlOptions: { exportOutOfService: true } }; } - get socialVisibility() { + get maxNoMatchesOptional() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.maxNoMatches], outputId: r.outputIds.maxNoMatches, featureConfigName: o.default.botFlowsEnhancedRecognitionFailureHandling, required: false, defaultToOutOfService: true, sortIndex: 9, yamlOptions: { exportOutOfService: true } }; } - get displayTypeName() { - return "ArchValueShortMessage"; + get no() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.no], outputId: r.outputIds.no, required: true }; } - get isArchValueShortMessage() { - return true; + get noEvent() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.noEvent], outputId: r.outputIds.noEvent, required: true }; } - } - t2.default = r2; - }, 57505: (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 noInput() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.noInput], outputId: r.outputIds.noInput, required: true }; } - get _globalTypeName() { - return "emailAddressCollection"; + get noIntent() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.noIntent], outputId: r.outputIds.noIntent, required: true }; } - get displayTypeName() { - return "ArchVariableEmailAddressCollection"; + get noIntentOptional() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.noIntent], outputId: r.outputIds.noIntent, required: false, yamlOptions: { exportOutOfService: true } }; } - get initialValue() { - return this._initialValue; + get notFound() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.notFound], outputId: r.outputIds.notFound, required: true }; } - get isArchVariableEmailAddressCollection() { - return true; + get open() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.open], outputId: r.outputIds.open, required: true }; } - } - t2.default = r2; - }, 57597: (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 openClosed() { + return [this.open, this.closed]; } - get _globalTypeName() { - return "dateCollection"; + get openClosedHolidayEmergency() { + return [this.open, this.closed, this.holiday, this.emergency]; } - get displayTypeName() { - return "ArchVariableDateCollection"; + get partiallyFound() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.partiallyFound], outputId: r.outputIds.partiallyFound, required: true }; } - get initialValue() { - return this._initialValue; + get processed() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.processed], outputId: r.outputIds.processed, required: true }; } - get isArchVariableDateCollection() { - return true; + get processedTimeoutFailure() { + return [this.processed, this.timeout, this.failure]; } - } - t2.default = r2; - }, 57606: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299), o = i2(3916); - class a extends r2.BaseClass { - constructor(e3, t3) { - super(), this.model = e3, this.properties = o.createSchemaPropertyList(this.model.properties, this.model.required, this.model.definitions, t3); + get success() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.success], outputId: r.outputIds.success, required: true }; } - get className() { - return "SchemaViewModel"; + get successFailure() { + return [this.success, this.failure]; } - get description() { - return this.model.description; + get successFailureTimeout() { + return [this.success, this.failure, this.timeout]; } - getConfiguration() { - const e3 = {}; - return n2.default.each(this.properties, function(t3) { - e3[t3.name] = t3.getConfiguration(); - }), { schema: this.schemaLink, title: this.model.title, description: this.model.description, required: this.model.required, type: this.model.type, properties: e3 }; + get successNoInputFailure() { + return [this.success, this.noInput, this.failure]; } - getProperty(e3, t3) { - const i3 = t3 ? { name: e3 } : { id: e3 }; - return n2.default.findWhere(this.properties, i3); + get successFailureCanceled() { + return [this.success, this.failure, this.canceled]; } - get hasArrayPropertyWithNoType() { - return n2.default.any(this.properties, (e3) => e3.hasArrayWithNoType); + get successTimeout() { + return [this.success, this.timeout]; } - get isSchemaViewModel() { - return true; + get validInvalidFailure() { + return [this.valid, this.invalid, this.failure]; } - get name() { - return this.model.name; + get timeout() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.timeout], outputId: r.outputIds.timeout, required: true }; } - get schemaLink() { - return this.model.$schema || this.model.schema; + get valid() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.valid], outputId: r.outputIds.valid, required: true }; } - get title() { - return this.model.title; + get invalid() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.invalid], outputId: r.outputIds.invalid, required: true }; } - get type() { - return this.model.type; + get yes() { + return { canTerminate: true, isActionInternal: false, label: this.outputIdsToLabels[r.outputIds.yes], outputId: r.outputIds.yes, required: true }; } - setErrorTypeAllowableValues(e3) { - this.model.properties.errorType.allowableValues = e3; + get yesNo() { + return [this.yes, this.no]; } - } - t2.default = a; - }, 57612: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(25498)); - class a extends o.default { - constructor(e3) { - super(e3); + get fakeFaxProcessed() { + return { canTerminate: true, isActionInternal: false, label: u.generic.branches.faxProcessed, outputId: r.outputIds.fake, required: true }; } - get _flowType() { - return r2.flowTypes.flowTypeInboundCall; + get voicemail() { + return { canTerminate: false, isActionInternal: false, label: u.generic.branches.voicemail, outputId: r.outputIds.voicemail, required: true }; } - get displayTypeName() { - return "ArchFlowInboundCall"; + get faxProcessedVoicemailNoInputFailure() { + return [this.fakeFaxProcessed, this.voicemail, this.noInput, this.failure]; } - get isArchFlowInboundCall() { - return true; + setSupportedFlowTypes(e3, t3) { + return s.ParameterValidator.expectArrayOrObject(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "restrictToFlowTypes", "branchInfoOrInfos")), s.ParameterValidator.expectArray(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "restrictToFlowTypes", "supportedFlowTypes")), l.default.isArray(e3) ? l.default.each(e3, (e4) => { + e4.supportedFlowTypes = t3; + }) : e3.supportedFlowTypes = t3, e3; } + }(); + t2.default = c; + }, 59288(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createBranchItem = function(e3, t3, i3, n3, u2) { + let c = t3; + o.default.isString(t3) && (c = new s({ label: t3, outputId: u2 || (0, r.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, o2) { + const r2 = this.createBranchItem(e3, t3, i3, n3, o2); + return r2 && (r2.isDynamicBranch = true), r2; + }, t2.findBranch = function(e3, t3) { + return u(e3, t3) || {}; + }, t2.removeBranch = function(e3, t3) { + const i3 = u(e3, t3); + return !(!i3 || i3.required) && (delete l[e3][t3], true); + }, t2.setBranchConsumer = function(e3, t3, i3, n3) { + const o2 = u(e3, t3); + return !!o2 && o2.addConsumer(i3, n3); + }, t2.removeBranchConsumer = function(e3, t3, i3) { + const n3 = u(e3, t3); + return !!n3 && n3.removeConsumer(i3); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(9456), a = n2.__importDefault(i2(34727)), s = i2(57632), l = {}; + function u(e3, t3) { + const i3 = l[e3]; + if (i3) return i3[t3]; } - 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, 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; - } }, pasteResolveOldToNewValues: { value: function(e3) { - } }, pasteReIdOrRename: { value: function(e3) { - this.outputId = e3.pasteResolveOldIdToNewId(this.outputId); - } }, displayLabel: { get: function() { - return this.localizedLabel ? this.localizedLabel : this.label; - } } }), e2.exports = n2; - }, 57653: (e2, t2, i2) => { + }, 85020(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 = 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 { + Object.defineProperty(t2, "__esModule", { value: true }), t2.channelTypesAll = t2.channelTypeChat = t2.channelTypeCall = void 0, t2.getChannelTypeForChannelId = function(e3) { + if (e3.length) return r[e3.toLowerCase()]; + }; + const n2 = i2(31635).__importDefault(i2(96629)), o = i2(47957), r = {}, a = (e3, t3) => r[e3] = n2.default.create(e3, t3); + t2.channelTypeCall = a("call", o.channelTypes.call), t2.channelTypeChat = a("chat", o.channelTypes.chat), t2.channelTypesAll = Object.values(r); + }, 98126(e2, t2, i2) { + "use strict"; + t2.clone = function(e3) { + const t3 = new e3.constructor(); + return Object.getOwnPropertyNames(e3).forEach((i3) => { + const o = Object.getOwnPropertyDescriptor(t3, i3); + if (o && !o.writable) return; + let r = e3[i3]; + r && r.className && n2.default.isFunction(r.clone) && (r = r.clone()), t3[i3] = r; + }), t3; + }; + const n2 = i2(31635).__importDefault(i2(92140)); + }, 64718(e2, t2, i2) { + "use strict"; + t2.BaseIntegrationsActionCategoryManager = void 0; + const n2 = i2(31635).__importDefault(i2(47532)), o = i2(81801), r = i2(40174), a = i2(82185); + class s extends n2.default { constructor() { - this._messageParts = [], this._suggestions = [], this._facetLabelValues = []; + super(...arguments), this._rawServerCache = {}, this.apiCallList = r.getCategories, this.apiCallSingle = void 0, this.noApiCallSingle = true, this.suppressSearch = true; } - static _createParseItemMessageInfo(e3, t3) { - const i3 = new g().addWhatInvalidDataType(t3); - return i3._type = e3, i3; + get requiredAuth() { + return o.externalAuthorizations.authStrings.integrationsActionView; } - static createExtraValue() { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueExtra).addWhat(m.codeEditor.parseErrors.extraValueErrorMessage); + _createItemViewModel(e3) { + return new a(e3); } - static createMissingValue(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueMissing); - return t3.addWhat(e3), t3; + } + t2.BaseIntegrationsActionCategoryManager = s; + }, 84822(e2, t2, i2) { + "use strict"; + t2.BaseIntegrationsActionManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(40174), l = i2(79747); + class u extends r.default { + get requiredAuth() { + return a.externalAuthorizations.authStrings.integrationsActionView; } - static createInvalidTypeValue(e3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.invalidTypeValue, e3); + constructor() { + super(), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "actionId", this.isDependentOnCategory = true, this.apiCallList = s.getActions, this.apiCallSingle = s.getAction, this.suppressSearch = true, this.uiMetadataSectionName = "actionServiceActions"; } - static createTypesIncompatible(e3, t3) { - const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.typeIncompatible); - return i3.addWhat(m.codeEditor.types.incompatibleType), i3.addWhat(m.codeEditor.types.typeIncompatibilityError, [e3, t3]), i3; + _createItemViewModel(e3) { + return new l(e3); } - static createIncompatibleTypesValueAssignment(e3, t3, i3) { - const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.typeIncompatibleAssignment); - return n3.addWhat(m.codeEditor.types.incompatibleTypeAssignment), n3.addWhat(m.codeEditor.types.typeIncompatibilityAssignmentError, [e3, t3, i3]), n3; + getCategoryForAction(e3, t3) { + if (t3) { + const e4 = o.default.findWhere(this.items, { actionId: t3 }); + if (e4) return e4.category; + } + const i3 = o.default.findWhere(this.items, { name: e3 }); + return i3 ? i3.category : null; } - static createArchitectExpressionInfo(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectExpression); - return t3.addWhat(e3), t3; + addItem(e3, t3, i3) { + var n3, o2, r2, a2, s2, l2, u2, c, d, p, _, h; + const m = super.addItem(e3, t3); + return m ? (m.inputSchemaInError = this.schemaHasEmptyAttribute(null === (o2 = null === (n3 = m.model) || void 0 === n3 ? void 0 : n3.inputSchema) || void 0 === o2 ? void 0 : o2.properties), m.successOutputSchemaInError = this.schemaHasEmptyAttribute(null === (a2 = null === (r2 = m.model) || void 0 === r2 ? void 0 : r2.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; } - static createNullPropertyValueNoOpWarning(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.nullPropertyValueNoOpWarning); - return t3.addWhat(e3), t3; + schemaHasEmptyAttribute(e3) { + return !!o.default.find(e3, (e4) => o.default.isEmpty(e4.name)); } - static createAtLeastOnePropertyMustBeSet(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.atLeastOnePropertyMustBeSet); - return t3.addWhat(e3), t3; + schemaHasArrayWithMixedTypes(e3) { + var t3; + if (!e3 || o.default.isEmpty(e3)) return false; + let i3 = false; + for (const n3 in e3) if ("array" === e3[n3].type && (null === (t3 = e3[n3].items) || void 0 === t3 ? void 0 : t3.length)) { + const t4 = e3[n3].items.filter((e4) => (null == e4 ? void 0 : e4.type) && "null" !== e4.type).map((e4) => e4.type).filter((e4, t5, i4) => i4.indexOf(e4) === t5); + if ((null == t4 ? void 0 : t4.length) > 1) { + i3 = true; + break; + } + } + return i3; } - static _hasNullPropertyValueNoOpWarningsConfigured(e3, t3) { - return !(!(0, l.areOptionsJsonType)(e3) || !e3.nullPropertyValueNoOpWarningText) || !(!(0, u.isCustomJsonExpressionType)(t3) || !t3.nullPropertyValueNoOpWarningText); + } + t2.BaseIntegrationsActionManager = u; + }, 47532(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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.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); } - 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)); + get requiredAuth() { } - 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; + get dependencyType() { } - static createArchitectExpressionUsageUnavailable(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectExpressionUnavailable); - return t3.addWhat(e3 ? m.codeEditor.architectExpressionsUnavailableForVariableInitialValue : m.codeEditor.architectExpressionsUnavailable), t3; + get isConfigurationListManager() { + return true; } - static createArchitectLiteralInfo(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.architectLiteral); - return t3.addWhat(e3), t3; + static resetAll() { + y.forEach((e3) => { + e3.resetState(); + }); } - static createArrayLengthTooSmall(e3, t3, i3) { - const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.arrayLengthTooSmall); - return n3.addWhat(m.codeEditor.parseErrors.arrayLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; + _createWrapper(e3, t3, i3) { + return { data: e3, description: t3.description, type: i3 || t3.type, enumValues: t3.enumValues, required: t3.required }; } - static createArrayLengthTooBig(e3, t3, i3) { - const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.arrayLengthTooBig); - return n3.addWhat(m.codeEditor.parseErrors.arrayLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxItems(t3, i3), n3; + _initialize() { + this.__initialized || (this._registerWithManifest(), this.briefManager && (this.briefManager.fullManager = this), this.dependencyType && (this.dependencyType.configurationListManager = this), this.__initialized = true); } - static createPropertyNotValidForType(e3, t3) { - const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.propertyNotValidForType); - return i3.addWhat(m.codeEditor.properties.propertyNameNotValidForType, [e3, t3]), i3; + get _networkModel() { + return this.apiCallSingle && this.apiCallSingle.api ? this.apiCallSingle.api.DataContract : void 0; } - static createPropertyIsReadOnly(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.propertyNotValidForType); - return t3.addWhat(m.codeEditor.properties.propertyIsReadOnly, [e3]), t3; + _registerWithManifest() { + 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)); } - 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; + addItem(e3, t3, i3) { + var n3, o2, 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 l2 = e3.archInternalId || e3.id; + if (this.caseSensitiveIds || (l2 = r.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 (null === (a2 = (o2 = this.items[l2]).hasUsagesForFlow) || void 0 === a2 ? void 0 : a2.call(o2, 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 = r.default.without(this.knownEmptySearches, e3.name)), e3 = this._createItemViewModel(e3), this.items[l2] || (this.items[l2] = e3), this.items[l2]; } - static createDuplicateProperty(e3) { - const t3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.duplicateProperty); - return t3.addWhat(m.codeEditor.properties.propertyIsDuplicated, [e3]), t3; + _createItemViewModel(e3) { + return e3; } - static createInvalidSyntax() { - const e3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.invalidSyntax); - return e3.addWhat(m.codeEditor.parseErrors.invalidSyntax), e3; + addClipboardDependencies(e3, t3, i3) { + if (!r.default.isString(this.uiMetadataSectionName)) return; + if (!r.default.isString(t3) || 0 === t3.length) return; + if (!r.default.isObject(i3)) return; + const n3 = i3.getUiMetadataInfoById(this.uiMetadataSectionName, t3); + n3 && e3.copyCutAddDependencyFlowUiMetaData(this.uiMetadataSectionName, t3, n3); } - static createInvalidIndent(e3, t3) { - 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; + addItemToFlowMetadata(e3, t3, i3) { + if (e3.isReadOnly) return; + if (!this.uiMetadataSectionName) return void p.error(`no uiMetadataSectionName set on ${this.className}`); + const n3 = e3.isFlowViewModel ? e3 : e3.parentFlow; + if (!i3 || !n3) return false; + i3 = this.getCaseSensitiveCompliantId(i3); + const o2 = this._rawServerCache[i3]; + return !!o2 && (n3.getUiMetadataInfoById(this.uiMetadataSectionName, i3) && n3.tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, i3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, true), n3.setUiMetadataInfo(this.uiMetadataSectionName, o2, this.idEquivalent), true); } - static createRequiredPropertiesMissing(e3, t3, i3) { - 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; + areServerItemViewModelsEqual(e3, t3) { + return e3 === t3 || r.default.isEqual(e3.model, t3.model); } - static createStringLengthTooSmall(e3, t3, i3) { - const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.stringLengthTooSmall); - return n3.addWhat(m.codeEditor.parseErrors.stringLengthTooSmall, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; + get canLoadMore() { + return this.nextUri || this.retrievedUris.length ? !!this.nextUri && !this.retrievedUris.includes(this.nextUri) : this.isSearching ? this.currentSearchItems.length < this.currentSearchTotalOnServer - this.filteredOutItemCount : !r.default.isUndefined(this.lastReceivedAfter) || this.numProcessedServerItems < this.totalItemsOnServer; } - static createStringLengthTooBig(e3, t3, i3) { - const n3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.stringLengthTooBig); - return n3.addWhat(m.codeEditor.parseErrors.stringLengthTooBig, [e3.toString()]), n3.addFacetsMinMaxLength(t3, i3), n3; + fetchItem(e3, t3, i3) { + if (!this.apiCallSingle) { + const e4 = "This list manager has not defined apiCallSingle"; + return this.topic.error(e4), Promise.reject(e4); + } + const n3 = this.fetchRequestPromises.find((i4) => i4.id === e3 && i4.includeDeleted === t3); + if (n3 && n3.promise) return n3.promise; + const o2 = { id: e3, includeDeleted: t3, promise: null }; + return this.fetchRequestPromises.push(o2), o2.promise = this.apiCallSingle(e3, i3).then((t4) => { + if (this.requiredAuth && (this.insufficientAuthorizations = false), r.default.isArray(t4.entities) && 0 === t4.entities.length) { + const e4 = "Item does not exist."; + return Promise.reject(e4); + } + const i4 = (null == t4 ? void 0 : t4.entities) ? r.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._traceInsufficientAuthorizations("single item"), this._annotateErrorWithRequiredAuth(t4)), this.removeItemWithId(e3, true), t4; + }).finally(() => { + const e4 = this.fetchRequestPromises.indexOf(o2); + e4 >= 0 ? this.fetchRequestPromises.splice(e4, 1) : this.topic.error("did not find request in cache"); + }), o2.promise; } - static createTokenDuplicate(e3, t3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenDuplicate, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenDuplicate, [e3]); + getOrFetchItemWithRetry(e3) { + return n2.__awaiter(this, arguments, void 0, function* (e4, t3 = 3) { + if (!(null == e4 ? void 0 : e4.length)) return; + let i3 = this.getItem(e4) || (yield this.fetchItem(e4)); + if (i3) return i3; + let n3 = 0; + for (; n3 < t3; ) { + if (yield new Promise((e5) => setTimeout(e5, 1e3)), i3 = yield this.fetchItem(e4), i3) return i3; + n3++; + } + this.topic.warning(`getOrFetchItemWithRetry - Could not find item with Id: ${e4} after ${t3} ${1 === t3 ? "retry" : "retries"}.`); + }); } - static createTokenInvalid(e3, t3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenInvalid, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenInvalid, [e3]); + get filteredOutItemText() { + return this.shouldRequestAllPages || this.filteredOutItemCount < 1 ? "" : this.filteredOutItemCount > 1 ? (0, o.sprintf)(m.search.filteredOutItemsMoreThanOne, this.filteredOutItemCount) : m.search.filteredOutItemOne; } - static createTokenInvalidIsNotType(e3, t3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenInvalidType).addWhat(m.codeEditor.types.valueNotValidForTypeGeneric, [e3, t3]); + getBriefManagerWithFallback() { + return this.briefManager || this; } - static createTokenMissing(e3, t3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenMissing, t3).addWhat(m.codeEditor.parseErrors.tokens.tokenMissing, [e3]); + getCachedServerPropertyCommon(e3, t3, i3, n3, o2) { + if (!e3 || !t3) return null; + const r2 = this.getItemFromFlowMetadata(n3, t3); + return r2 && r2.getProperty ? r2.getProperty(e3, i3, o2) : null; } - static createTokenUnexpected(e3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenUnexpected).addWhat(m.codeEditor.parseErrors.tokens.tokenUnexpected, [e3]); + getCachedServerPropertyById(e3, t3, i3, n3) { + return this.getCachedServerPropertyCommon(e3, t3, i3, n3, false); } - static createTokenUnexpectedAfterValue(e3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.tokenAfterEndOfValue).addWhat(m.codeEditor.parseErrors.tokenAfterEndOfValue, [e3]); + getCachedServerPropertyByName(e3, t3, i3, n3) { + return this.getCachedServerPropertyCommon(e3, t3, i3, n3, true); } - static createTotalTextLengthTooBig(e3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.totalTextLengthTooBig).addWhat(m.expression.expressionLengthToLong, [e3.toString(), s.default.maxExpressionTextLength.toString()]); + getCaseSensitiveCompliantId(e3) { + return this.caseSensitiveIds ? e3 : r.default.isString(e3) ? e3.toLowerCase() : e3; } - static createUnnecessarySeparator(e3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.unnecessarySeparator).addWhat(m.codeEditor.parseErrors.separatorIsUnnecessary, [e3]); + getItem(e3, t3) { + return e3 = this.getCaseSensitiveCompliantId(e3), this.items[e3]; } - static createValueIncomplete(e3) { - return g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueIncomplete, e3).addWhat(m.codeEditor.parseErrors.valueIncomplete); + getOrFetchItem(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = this.getItem(e3); + return n3 ? Promise.resolve(n3) : this.fetchItem(e3, t3, i3); + }); } - static createValueNotInAllowableValues(e3, t3) { - const i3 = g._createParseItemMessageInfo(h.CodeParseItemMessageType.valueNotInAllowableValues); - return i3.addWhat(m.codeEditor.types.valueNotAllowed, [e3]), i3.addFacetAllowableValues(t3), i3; + getItemFromFullManager(e3) { + if (!this.fullManager) return null; + let t3; + const i3 = this.fullManager.getItem(e3); + return i3 && (t3 = this.addItem(i3._model ? i3._model : i3, true, false)), t3; } - static createValueTooBig(e3, t3, i3, n3, r3) { - 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; + getItemFromFlowMetadata(e3, t3) { + const i3 = e3.isFlowViewModel ? e3 : e3.parentFlow; + if (!i3) return null; + let n3; + const o2 = {}; + this.idEquivalent ? o2[this.idEquivalent] = t3 : o2.id = t3; + const r2 = i3.getUiMetadataInfo(this.uiMetadataSectionName, o2); + if (r2) { + const e4 = new this._networkModel(r2); + n3 = this._createItemViewModel(e4), Object.defineProperties(n3, { isFlowCachedVersion: { value: true } }); + } + return n3; } - static createValueStrTooBig(e3, t3, i3, n3, r3) { - 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; + findOrFetchItemByName(e3, t3) { + const i3 = this.findItemByName(e3), n3 = "name", o2 = e3; + if (i3) return Promise.resolve(i3); + const r2 = this.isBriefObjectManager ? this.fullManager : this; + return r2.search(e3, n3, f.exactMatch, void 0, t3, null, null, true).then((t4) => { + const i4 = []; + for (let o3 = 0; o3 < t4.length; o3++) t4[o3][n3].toLowerCase() === e3.toLowerCase() && i4.push(t4[o3]); + if (1 === i4.length) return Promise.resolve(i4[0]); + if (i4.length > 1) { + const e4 = []; + let t5; + e4.push("find by '" + r2.className + "' by value of '" + o2 + "' - there is more than one case insensitive match (count: " + i4.length + ")"), e4.push(" now attempting to find a case sensitive match."); + for (let r3 = 0; r3 < i4.length; r3++) { + const a2 = " item[" + r3 + "] - value '" + i4[r3][n3] + "' - "; + if (i4[r3][n3] === o2) { + if (t5) return e4.push(a2 + "is another case sensitive match - unable to disambiguate network results"), Promise.reject(e4.join("\n")); + e4.push(a2 + "is a case sensitive match - checking additional items to see if there are any other matches."), t5 = i4[r3]; + } else e4.push(a2 + "is not a case sensitive match."); + } + return e4.push(" found by '" + this.className + "' with value of '" + o2 + "'."), Promise.resolve(t5); + } + return Promise.reject(`find in '${this.className}' by value of '${o2}' - no matches for '${o2}'`); + }).catch(() => Promise.reject(`find in '${this.className}' by value of '${o2}' - no matches for '${o2}'`)); } - static createValueStrTooSmall(e3, t3, i3, n3, r3) { - 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; + findItemByName(e3) { + let t3 = r.default.find(this.items, (t4) => t4.name === e3); + return !t3 && this.isBriefObjectManager && (t3 = this.fullManager.findItemByName(e3)), t3; } - static createValueTooSmall(e3, t3, i3, n3, r3) { - 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; + additionalItemFilter(e3) { + return e3; } - 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) > _.propertyLimits.name.maxLength && (n3 = true); - }), n3) { - const n4 = []; - t3.forEach((e4) => { - n4.push(d.truncateText(e4, _.propertyLimits.name.maxLength)); - }), i3.displayText = (0, r2.vsprintf)(e3, n4); + getConfigListPage(e3, t3) { + if (e3 && e3.isConfigListSearchParams || p.error("configListSearchParams is not a ConfigListSearchParams"), !this.apiCallList) { + const e4 = `not apiCallList set on manager: ${this.className}`; + return p.error(e4), Promise.reject(e4); } - return i3.rawText = (0, r2.vsprintf)(e3, t3), this._messageParts.push(i3), this; - } - addWhatInvalidDataType(e3) { - return e3 && this.addWhat(m.codeEditor.types.invalidTypeValue, [e3]), this; - } - addSuggestion(e3) { - return e3 && this._suggestions.push(e3), this; + return this.additionalQueryParams && e3.addAdditionalParams(this.additionalQueryParams), this.apiCallList(e3).then((i3) => { + var n3; + this.requiredAuth && (this.insufficientAuthorizations = false), this.serverWasContacted = true; + let o2 = i3.entities; + return e3.searchTerm || this.isSearching && !this.isDependentOnCategory || (this.lastRetrievedPage = Number.isInteger(e3.pageNumber) ? e3.pageNumber : 1, r.default.isUndefined(i3.after) ? r.default.isUndefined(null === (n3 = null == i3 ? void 0 : i3.cursors) || void 0 === n3 ? void 0 : n3.after) ? this.lastReceivedAfter = void 0 : this.lastReceivedAfter = i3.cursors.after : this.lastReceivedAfter = i3.after), this.additionalItemFilter && (o2 = this.additionalItemFilter(o2)), this.isSearching ? this.currentSearchTotalOnServer = i3.total : this.totalItemsOnServer = i3.total, this.nextUri = i3.nextUri, e3.searchTerm && 0 === o2.length && this.knownEmptySearches && !r.default.contains(this.knownEmptySearches, e3.searchTerm) && this.knownEmptySearches.push(e3.searchTerm), r.default.each(o2, (e4) => { + const i4 = this.addItem(e4); + i4 && !r.default.findWhere(this.currentSearchItems, { id: i4.id }) && this.currentSearchItems.push(i4), r.default.isArray(t3) && i4 && !r.default.findWhere(t3, { id: i4.id }) && t3.push(i4); + }), r.default.isArray(t3) ? t3 : this.isSearching ? this.currentSearchItems : r.default.values(this.items); + }, (e4) => (403 === e4.status && this.requiredAuth && (this.insufficientAuthorizations = true, this._traceInsufficientAuthorizations("list"), this._annotateErrorWithRequiredAuth(e4)), Promise.reject(e4))); } - addSuggestions(e3) { - return (null == e3 ? void 0 : e3.length) > 0 && (this._suggestions = this._suggestions.concat(e3)), this; + _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}'.`)); } - _generateWhatMessage(e3) { - let t3; - if (this._facetLabelValues) { - const e4 = []; - o.default.each(this._facetLabelValues, (t4) => { - e4.push(t4.operator ? `${t4.facetLabel}: ${t4.operator} ${t4.facetVal}` : `${t4.facetLabel}: ${t4.facetVal}`); - }), e4.length > 0 && (t3 = `( ${e4.join(", ")} )`); - } - const i3 = this._messageParts.map((t4) => t4.displayText && e3 ? t4.displayText : t4.rawText); - return (null == t3 ? void 0 : t3.length) > 0 ? i3.concat(t3).join(" ") : i3.join(" "); + _annotateErrorWithRequiredAuth(e3) { + e3 && "object" == typeof e3 && !e3.requiredAuth && (e3.requiredAuth = this.requiredAuth); } - get message() { - return this._generateWhatMessage(); + get insufficientAuthorizations() { + return this.requiredAuth && !h.externalAuthorizations.checkHasRequiredAuth(this.requiredAuth); } - get displayMessage() { - return this._generateWhatMessage(true); + set insufficientAuthorizations(e3) { + this.requiredAuth && h.externalAuthorizations.setAuthorization(!e3, this.requiredAuth); } - get facetInfo() { - return this._facetInfo; + forceFallback(e3, t3) { + return (null == t3 ? void 0 : t3.dataType) === c.expressionTypeNames.date && (a.flowTypes.isVxmlgenFlowType(null == e3 ? void 0 : e3.type) || a.flowTypes.hasVxmlgenFlowType(null == e3 ? void 0 : e3.destinationFlowTypes)); } - setFacetInfo(e3) { - return this._facetInfo = e3, this; + mergeSchemaProperties(e3, t3) { + const i3 = []; + return r.default.each(e3, (e4) => { + const n3 = t3.parentFlow; + let o2, a2 = e4.type; + if ((null == n3 ? void 0 : n3.type) && (!e4.type.isAvailableForFlow(n3) || this.forceFallback(n3, e4.type))) { + const t4 = e4.setFallbackType(n3.type); + t4 && t4.isAvailableForFlow(n3) ? (o2 = a2, a2 = t4, this.topic.info(`Type '${e4.type.displayString}' is not available in flowType '${n3.type}', using its fallback: '${a2.displayString}'`)) : this.topic.error(`Neither '${e4.type.displayString}' nor its fallback '${a2.displayString}' is available for this flow type '${n3.type}', using original`); + } + let s2 = 0, l2 = r.default.find(t3.items, (t4, i4) => { + s2 = i4; + const n4 = t4.value.type.isMatch(a2); + return !!(e4.id && t4.referenceId && n4 && e4.id === t4.referenceId) || !!t4.name && t4.name.toLowerCase() === e4.name.toLowerCase() && n4; + }); + if (l2 && l2.value.type.isCollection === a2.isCollection ? t3.items.splice(s2, 1) : l2 = T.createDataPairForSchemaProperty(t3, e4, a2), T.setExpressionWithSchemaProperty(l2.value, e4), o2) { + const e5 = u.expressionDataService.getStringConversionExamples(l2.value.type, o2); + (null == e5 ? void 0 : e5.length) && l2.value.options.setDescriptionAdditionalInfoSection({ title: m.expression.expressionExamples, entries: e5 }); + } + t3.isInputList || (e4.required = false, l2.value.options.setIsOptional(true)), this.defaultInputsWithNoValue && (r.default.isNull(l2.value.text) || r.default.isUndefined(l2.value.text) || r.default.isEmpty(l2.value.text)) && !e4.required && l2.value.setAsNoValue(), l2.name = e4.name, l2.referenceId = e4.id, i3.push(this._createWrapper(l2, e4, a2)); + }), t3.clearAndAddItems(i3.map((e4) => e4.data)), i3; } - addFacetAllowableValues(e3) { - return (null == e3 ? void 0 : e3.length) && this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.allowableValuesFacetLabel, facetVal: d.getListDisplayString(e3, false, false, true) }), this; + get numItems() { + return Object.keys(this.items).length; } - addFacetsMinMax(e3, t3) { - return this.addFacetsMinMaxDetailed(e3, void 0, t3, void 0); + get numProcessedServerItems() { + const e3 = this.numItems; + return this.filteredOutItemCount > 0 ? e3 + this.filteredOutItemCount : e3; } - addFacetsMinMaxItems(e3, 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 }); + removeItemWithId(e3, t3) { + this.caseSensitiveIds || (e3 = r.default.isString(e3) ? e3.toLowerCase() : e3), delete this.items[e3], !t3 && this.briefManager && this.briefManager.removeItemWithId(e3, true); } - addFacetsMinMaxLength(e3, 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 }); + removeItemWithName(e3, t3) { + let i3; + r.default.each(this.items, (t4) => { + t4.name === e3 && (i3 = t4.id); + }), delete this.items[i3], !t3 && this.briefManager && this.briefManager.removeItemWithName(e3, true); } - addFacetsMinMaxDetailed(e3, t3, i3, n3) { - if (void 0 !== e3) switch (t3) { - case true: - this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">=" }); - break; - case false: - this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3, operator: ">" }); - break; - default: - this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.minFacetLabel, facetVal: e3 }); - } - if (void 0 !== i3) switch (n3) { - case true: - this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<=" }); - break; - case false: - this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3, operator: "<" }); - break; - default: - this._facetLabelValues.push({ facetLabel: m.codeEditor.parseErrors.facets.maxFacetLabel, facetVal: i3 }); - } - return this; + registerConsumer(e3, t3, i3, n3) { + _.registerConsumer(e3, this.dependencyContext, t3, i3, _.NO_VERSION, this.dependencyType, e3.parentFlow, n3); } - get suggestions() { - return this._suggestions; + 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); } - } - 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; - } - i2(45214).extend(n2, "BaseEnum"), Object.defineProperties(n2.prototype, { toJSON: { value: function() { - return this.name; - } }, toString: { value: function() { - return this.name; - } }, valueOf: { value: function() { - return this.value; - } }, displayName: { get: function() { - return this._displayName || this.name; - } }, pluralDisplayName: { get: function() { - return this._pluralDisplayName; - } }, isEnum: { get: function() { - return true; - } }, label: { get: function() { - return this.displayName; - } }, 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); + search(e3, t3, i3, o2, a2, l2, u2, c2) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (this.isSearching = !!e3 || this.isDependentOnCategory, (e3 !== this.currentSearchTerm || c2) && (this.currentSearchItems.length = 0, this.currentSearchTotalOnServer = 0), this.currentSearchTerm = e3, !e3 && !o2 && !a2) return r.default.values(this.items); + if (this.knownEmptySearches && r.default.contains(this.knownEmptySearches, e3) && !l2) return r.default.isObject(u2) && (u2.isAutomaticEmptyResults = true), []; + 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 && o2 ? 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: o2, 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 c2 ? yield this._searchAllPages(p2) : yield this.getConfigListPage(p2); + }); } - get _globalTypeName() { - return "stringCollection"; + _getAfterCursorFormUri(e3) { + var t3; + let i3 = e3.indexOf("after="); + if (i3 > 0) { + i3 += 6; + const n3 = e3.substring(i3, i3 + l.default.uuidStrLen); + if (this.retrievedUris.includes(e3) || this.retrievedUris.push(e3), (null === (t3 = null == n3 ? void 0 : n3.trim()) || void 0 === t3 ? void 0 : t3.length) === l.default.uuidStrLen) return n3; + } } - get displayTypeName() { - return "ArchVariableStringCollection"; + _searchAllPages(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = []; + if (yield this.getConfigListPage(e3, t3), this.currentSearchTotalOnServer) { + const i3 = e3.defaultPageSize || 25, n3 = Math.ceil(this.currentSearchTotalOnServer / i3); + for (; e3.pageNumber < n3; ) e3.pageNumber += 1, yield this.getConfigListPage(e3, t3); + } else for (; this.nextUri; ) { + const i3 = this.nextUri; + e3.after = this._getAfterCursorFormUri(i3), yield this.getConfigListPage(e3, t3); + } + return t3; + }); } - get initialValue() { - return this._initialValue; + tryRemoveItemFromFlowMetadata(e3, t3, i3) { + (e3.isFlowViewModel ? e3 : e3.parentFlow).tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, t3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, i3); } - get isArchVariableStringCollection() { + isValidItem(e3) { return true; } } - t2.default = r2; - }, 57855: (e2, t2, i2) => { + S.allListManagers = y, t2.default = S; + }, 82915(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "workitemEventRule"; - } - get name() { + t2.ScriptManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get displayTypeName() { - return "ArchValueWorkitemEventRule"; + get dependencyType() { + return _.ScreenPop; } - get isArchValueWorkitemEventRule() { - return true; + constructor(e3) { + super(), this.topic = (0, r.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(); } - } - t2.default = r2; - }, 57905: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowSize = t2.commonModulesBucketId = t2.containersBucketId = t2.settingsGroupId = t2.settingsBucketId = t2.systemBucketId = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(69453), a = i2(69212), s = n2.__importStar(i2(12847)), l = i2(29269), u = i2(47957); - t2.systemBucketId = "__SYSTEM__", t2.settingsBucketId = "__SETTINGS__", t2.settingsGroupId = "__SETTINGS_GROUP__", t2.containersBucketId = "__CONTAINERS__", t2.commonModulesBucketId = "__COMMON_MODULES__", t2.FlowSize = class { - constructor(e3, t3, i3, n3) { - this._processState = { root: null, hierarchy: [], itemIdMap: {}, visualizationCurrentId: 1 }, this.iterateFlow(e3, t3, i3, n3), this.postProcess(); + _createItemViewModel(e3) { + return new u.ScreenPopViewModel(e3); } - pushItemWithChildren(e3, t3, i3, n3, r3) { - return this._pushItem(e3, t3, i3, n3, true, r3); + getCategoryForScript(e3) { + const t3 = this.items[e3]; + return t3 ? t3.category : null; } - pushItemWithoutChildren(e3, t3, i3, n3, r3) { - return this._pushItem(e3, t3, i3, n3, false, r3); + getScriptCategories() { + const e3 = o.default.pluck(this.items, "category"); + return o.default.uniq(e3, false); } - _pushItem(e3, t3, i3, n3, r3, o2) { - const a2 = this._processState.hierarchy[this._processState.hierarchy.length - 1], s2 = { __type: null == n3 ? void 0 : n3.__type, type: null == n3 ? void 0 : n3.__type, flowConfigId: t3, id: this._processState.visualizationCurrentId.toString(), name: i3, children: [], json: n3, jsonContainsChildren: r3, configParentId: null == a2 ? void 0 : a2.flowConfigId, parentId: null == a2 ? void 0 : a2.id, trackingId: null == n3 ? void 0 : n3.trackingId, classification: e3 }; - this._processState.visualizationCurrentId = this._processState.visualizationCurrentId + 1, a2 ? a2.children.push(s2) : this._processState.root = s2, this._processState.itemIdMap[t3] = s2, this._processState.hierarchy.push(s2); - try { - o2 && o2(s2); - } catch (e4) { - this.throwError(e4); - } finally { - this.popItem(); - } - return s2; + getScript(e3) { + return this.items[e3]; } - pushItemBucket(e3, t3, i3) { - return this.pushItemWithoutChildren(void 0, e3, t3, void 0, i3); + getScriptInputs(e3) { + return e3.isFlowCachedVersion ? d.default.fcall(function() { + e3.loadVariables(e3.model.variables); + }) : h.getScriptVariables(e3.id).then((t3) => { + e3.loadVariables(t3); + const i3 = o.default.findWhere(this._rawServerCache, { id: e3.id }); + i3 && (i3.variables = t3); + }); } - popItem() { - return this._processState.hierarchy.pop(); + manifestFilter(e3) { + return !this.scriptFeatureType || o.default.contains(e3.features, this.scriptFeatureType); } - _sizeYourself(e3, i3) { - let n3 = 0; - if (e3.children.length && e3.children.forEach((e4) => { - this._sizeYourself(e4, false), n3 += e4.totalSize; - }), e3.json) if (i3) { - e3.size = e3.totalSize = this.sizeJson(e3.json); - const i4 = e3.totalSize - n3, r3 = e3.children.find((e4) => e4.flowConfigId === t2.settingsBucketId); - if (!r3) throw "can not find settings bucket"; - r3.children.push({ __type: void 0, type: void 0, flowConfigId: t2.systemBucketId, id: (this._processState.visualizationCurrentId++).toString(), name: u.user.system, children: [], json: void 0, jsonContainsChildren: true, configParentId: r3.flowConfigId, parentId: r3.id, trackingId: void 0, totalSize: i4, size: i4, classification: a.VisualizationItemClassification.settings }); - } else e3.jsonContainsChildren ? (e3.totalSize = this.sizeJson(e3.json), e3.size = e3.totalSize - n3) : (e3.size = this.sizeJson(e3.json), e3.totalSize = e3.size + n3); - else e3.totalSize = n3, e3.size = 0; + } + t2.ScriptManager = m; + }, 12361(e2, t2, i2) { + "use strict"; + t2.agenticVirtualAgentManager = void 0; + const n2 = i2(31635), o = i2(24032), r = 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; } - postProcess() { - this._sizeYourself(this._processState.root, true); + constructor() { + super(), this.topic = (0, o.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(); } - dump(e3, t3, i3) { - if (!e3) return; - t3 || (t3 = "", console.log("------------- Flow Size Info -------------")); - let n3 = ""; - if (void 0 !== i3) { - for (n3 = i3.toString(); n3.length < 1; ) n3 = "0" + n3; - n3 = `[${n3}]`; - } - console.log(`${t3}${n3} name: ${e3.name} ( type: ${e3.__type}, id: ${e3.flowConfigId} )`), console.log(`${t3} totalSize: ${e3.totalSize}`), console.log(`${t3} itemSize: ${e3.size}`); - let o2 = 0; - r2.default.each(e3.children, (e4) => { - this.dump(e4, t3 + " ", o2++); - }); + get requiredAuth() { + return s.externalAuthorizations.authStrings.agenticVirtualAgentView; } - throwError(e3) { - throw s.error(e3), e3; + get _networkModel() { + return r.default; } - jsonToString(e3) { - if (!r2.default.isNullOrUndefined(e3)) return JSON.stringify(e3); + _createItemViewModel(e3) { + return new c.AgenticVirtualAgentViewModel(e3); } - sizeJson(e3) { - const t3 = this.jsonToString(e3); - return r2.default.isString(t3) ? (0, l.utf8EncodedSizeCalc)(t3) : 0; + } + t2.agenticVirtualAgentManager = new _(); + }, 42139(e2, t2, i2) { + "use strict"; + t2.agenticVirtualAgentVersionManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(33577)), r = 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, r.getTopic)("agenticVirtualAgentVersionManager"), this._rawServerCache = {}, this.apiCallList = void 0, this.apiCallSingle = o.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(); } - findItemWithId(e3, t3) { - return r2.default.find(e3, (e4) => t3 === e4.id); + get requiredAuth() { + return u.externalAuthorizations.authStrings.agenticVirtualAgentVersionView; } - findActionWithId(e3, t3) { - if (!t3) return; - const i3 = this.findItemWithId(e3, t3); - return i3 || this.throwError(`unable to find action with id '${t3}'`), i3; + get dependencyType() { + return p.AgenticVirtualAgentVersion; } - iterateStartingAction(e3, t3) { - if (!t3) return; - let i3 = this.findActionWithId(e3, t3); - for (; i3; ) this.pushItemWithChildren(a.VisualizationItemClassification.archAction, i3.id, i3.name, i3, () => { - const t4 = []; - i3.paths && t4.push(...i3.paths), i3.path && t4.push(i3.path), r2.default.each(t4, (t5) => { - t5.nextActionId && this.iterateStartingAction(e3, t5.nextActionId); - }); - }), i3 = i3.nextAction ? this.findActionWithId(e3, i3.nextAction) : void 0; + get _networkModel() { + return a.default; } - iterateFlowSequenceItem(e3) { - let t3; - "Task" === e3.__type || "CommonModuleTask" === e3.__type || "LoopTask" === e3.__type ? t3 = a.VisualizationItemClassification.archTask : "Menu" === e3.__type ? t3 = a.VisualizationItemClassification.archMenu : "State" === e3.__type || "BotState" === e3.__type ? t3 = a.VisualizationItemClassification.archState : this.throwError(`unknown type: ${e3.__type}`), this.pushItemWithChildren(t3, e3.id, e3.name, e3, () => { - var t4, i3, n3; - if ((null === (t4 = e3.variables) || void 0 === t4 ? void 0 : t4.length) && this.pushItemWithoutChildren(a.VisualizationItemClassification.data, e3.id + "-data", void 0, e3.variables), null === (i3 = e3.actionList) || void 0 === i3 ? void 0 : i3.length) { - const t5 = e3.startAction; - t5 || this.throwError(`do not have a start action for sequence item '${e3.id}`), this.iterateStartingAction(e3.actionList, t5); - } else (null === (n3 = e3.menuChoiceList) || void 0 === n3 ? void 0 : n3.length) && e3.menuChoiceList.forEach((e4) => { - this.pushItemWithoutChildren(a.VisualizationItemClassification.archAction, e4.id, e4.name, e4); - }); - }); + _createItemViewModel(e3) { + return new l.AgenticVirtualAgentVersionViewModel(e3); } - iterateFlow(e3, i3, n3, l2) { - return this.pushItemWithChildren(a.VisualizationItemClassification.archFlow, e3, i3, n3, () => { - this.pushItemBucket(t2.containersBucketId, o.flowVisualizationModal.containers, () => { - r2.default.each(n3.flowSequenceItemList, (e4) => { - this.iterateFlowSequenceItem(e4); - }); - }), this.pushItemBucket(t2.commonModulesBucketId, u.sectionCommonModuleFlows, () => { - r2.default.each(n3.commonModules, (e4) => { - this.pushItemWithoutChildren(a.VisualizationItemClassification.archCommonModule, e4.id, e4.name, e4); - }); - }), ["nluMetaData", "nluCortexMetaData"].forEach((e4) => { - const t3 = l2.findIndex((t4) => t4.id === e4); - t3 >= 0 && (this.pushItemWithoutChildren(a.VisualizationItemClassification.settings, e4, u.bot.naturalLanguageUnderstanding, n3[l2[t3].modelPropertyName]), l2.splice(t3, 1)); - }), (null == l2 ? void 0 : l2.length) && this.pushItemBucket(t2.settingsBucketId, u.customNodes.settings, () => { - this.pushItemWithChildren(a.VisualizationItemClassification.settings, t2.settingsGroupId, u.customNodes.settings, void 0, () => { - l2.forEach((e4) => { - const t3 = n3[e4.modelPropertyName]; - if (t3) { - const i4 = "variables" === e4.id ? a.VisualizationItemClassification.data : a.VisualizationItemClassification.settings; - this.pushItemWithoutChildren(i4, e4.id, void 0, t3); - } else s.error(`did not find entry for ${e4.id}`); - }); - }); - }); - }); + } + t2.agenticVirtualAgentVersionManager = new _(); + }, 52357(e2, t2, i2) { + "use strict"; + t2.allScriptsManager = void 0; + const n2 = i2(24032), o = i2(30801), r = i2(82915), a = i2(47957), s = i2(52124); + class l extends r.ScriptManager { + constructor() { + super("AllScriptsManager"), this.topic = (0, n2.getTopic)("AllScriptsManager"), this.apiCallList = s.getScripts, this.actionsForUsageSearch = [o.screenPopActionType], this.dependencyContext = a.createCallback.script; } - traverseForVisualization(e3, t3) { - e3 && (t3.push(e3), r2.default.each(e3.children, (e4) => { - this.traverseForVisualization(e4, t3); - })); + } + t2.allScriptsManager = new l(); + }, 64437(e2, t2, i2) { + "use strict"; + t2.audioConnectorManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(21270)), r = 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 c.externalAuthorizations.authStrings.integrationView; } - getFlowVisualizationData() { - const e3 = []; - return this.traverseForVisualization(this._processState.root, e3), e3; + get dependencyType() { + return _.AudioConnectorBot; } - getFlowElementVisualizationData(e3) { - const t3 = []; - return this.traverseForVisualization(this._processState.itemIdMap[e3], t3), t3; + constructor() { + super(), this.topic = a.getTopic("AudioConnectorManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [l.callAudioConnectorActionType], this.apiCallList = o.getAudioConnectorBots, this.apiCallSingle = o.getAudioConnectorBot, this.className = "AudioConnectorManager", this.defaultMatchingStyle = r.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(); } - }; - }, 58108: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _createItemViewModel(e3) { + return new s.default(e3); } - get _globalTypeName() { - return "journeyContext"; + get _networkModel() { + return p; } - get customer() { + } + t2.audioConnectorManager = new h(); + }, 99835(e2, t2, i2) { + "use strict"; + t2.botConnectorIntegrationManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(32236)), r = 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; } - get customerSession() { + get dependencyType() { + return _.BotConnectorIntegration; } - get triggeringAction() { + constructor() { + super(), this.topic = a.getTopic("BotConnectorIntegrationManager"), this.apiCallList = o.getBotConnectorIntegrations, this.apiCallSingle = o.getIntegration, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [s.botConnectorActionType], this.className = "BotConnectorIntegrationManager", this.defaultMatchingStyle = r.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(); } - get displayTypeName() { - return "ArchValueJourneyContext"; + _createItemViewModel(e3) { + return new d.IntegrationViewModel(e3); } - get isArchValueJourneyContext() { - return true; + get _networkModel() { + return c.Integration; } } - t2.default = r2; - }, 58132: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allDeflectFailureReasons = t2.deflectFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", generalError: "GeneralError", invalidMessage: "InvalidMessage", invalidSmsFrom: "InvalidSmsFrom", invalidSmsTo: "InvalidSmsTo" }, o = [r2.generalError]; - t2.deflectFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.invalidMessage, r2.invalidSmsTo, r2.invalidSmsFrom])), t2.allDeflectFailureReasons = r2; - }, 58214: (e2, t2, i2) => { + t2.botConnectorIntegrationManager = new h(); + }, 96950(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BranchItem = void 0; - 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, "_label"), (0, a.makeUnenumerable)(this, "_localizedLabel"), (0, a.makeUnenumerable)(this, "_outputId"); + t2.botConnectorManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get label() { - return this._label; + get dependencyType() { + return m.BotConnectorBot; } - set label(e3) { - this._label = e3; + constructor() { + super(), this.topic = s.getTopic("BotConnectorManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [l.botConnectorActionType], this.apiCallList = r.getBotConnectorBots, this.apiCallSingle = r.getBotConnectorBot, this.className = "BotConnectorManager", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = _.botConnector.botName, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "botConnector", this._initialize(); } - get localizedLabel() { - return this._localizedLabel; + areServerItemViewModelsEqual(e3, t3) { + return e3 === t3 || o.default.isEqual(e3, t3); } - set localizedLabel(e3) { - this._localizedLabel = e3; + createAndAddBot(e3, t3, i3, n3) { + const o2 = new h({ id: e3, name: t3, botCompositeTag: i3, integrationId: n3 }); + this.addItem(o2); } - get outputId() { - return this._outputId; + _createItemViewModel(e3) { + return new c.BotConnectorViewModel(e3); } - set outputId(e3) { - this._outputId = e3; + get _networkModel() { + return h; } - getConfiguration(e3, t3) { - return (null == t3 ? void 0 : t3.isForFlowYaml) ? { outputPath: { name: this.label } } : this; + _registerWithManifest() { } - pasteResolveOldToNewValues(e3) { + manifestFilter() { + return false; } - pasteReIdOrRename(e3) { - this.outputId = e3.pasteResolveOldIdToNewId(this.outputId); + getBotIntegrationForBotCategory(e3) { + if (!o.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 ? u.botConnectorIntegrationManager.getItem(t3.integrationId) : null; } - get displayLabel() { - return this.localizedLabel ? this.localizedLabel : this.label; + getItem(e3, t3) { + const i3 = t3, n3 = o.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotCategoryId) ? i3.getUniqueBotCategoryId() : e3; + return super.getItem(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) => { + t2.botConnectorManager = new g(); + }, 25130(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.botConnectorVersionManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 d.externalAuthorizations.authStrings.botConnectorView; } - get _globalTypeName() { - return "assignedCustomerIntentCollection"; + get dependencyType() { + return m.BotConnectorBot; } - get displayTypeName() { - return "ArchValueAssignedCustomerIntentCollection"; + constructor() { + super(), this.topic = a.getTopic("BotConnectorVersionManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "version", this.actionsForUsageSearch = [l.botConnectorActionType], this.apiCallList = r.getBotConnectorBotVersions, this.apiCallSingle = r.getBotConnectorBotVersion, this.caseSensitiveIds = true, this.className = "BotConnectorVersionManager", this.defaultMatchingStyle = u.exactMatch, this.dependencyContext = h.botConnector.botConnectorVersion, this.idEquivalent = "archInternalId", this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "botConnectorVersion", this._initialize(); } - get isArchValueAssignedCustomerIntentCollection() { - return true; + addItem(e3, t3, i3) { + e3.isFromAdsValidationResults && (p.botConnectorManager.createAndAddBot(e3.id, e3.name, e3.botId, e3.integrationId), e3 = r.ensureCorrectVersionProperties(e3, null, e3.id, e3.integrationId)); + const n3 = !!e3.intents && e3.intents.length > 0; + return super.addItem(e3, 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() { - Object.defineProperties(this, { _autoGeneratedEmailHandlingType: { writable: true } }), r2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(r2, "InboundEmailSettings"), Object.defineProperties(r2.prototype, { autoGeneratedEmailHandlingType: { enumerable: true, get: function() { - return this._autoGeneratedEmailHandlingType; - }, set: function(e3) { - this._autoGeneratedEmailHandlingType = this.reviveEnum(e3, n2); - } } }), e2.exports = r2; - }, 58300: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(10311), o = ["requests.inputSchema", "requests.successSchema"]; - function a() { - } - a.prototype.getCategories = function(e3) { - return n2.build(r2.getCategoryList).queryParams(e3.getSearchQueryParams()).call(); - }, a.prototype.getMetaDataList = function(e3) { - return e3.addAdditionalParams({ expand: o, published: true }), n2.build(r2.getMetaDataList).queryParams(e3.getSearchQueryParams()).call().then(function(e4) { - return e4.entities && e4.entities.length > 0 && (e4.total = (e4.pageNumber - 1) * e4.pageSize + e4.entities.length, e4.entities.length === e4.pageSize && (e4.total = e4.pageNumber * e4.pageSize + 1)), e4; - }); - }, a.prototype.getMetaData = function(e3) { - return n2.build(r2.getMetaData).templateParams({ name: e3 }).queryParams({ expand: o }).call(); - }, a.prototype.getMetaData.api = r2.getMetaData, a.prototype.validateAction = function(e3) { - return n2.build(r2.getMetaDataList).queryParams({ name: e3, expand: o }).call(); - }, e2.exports = new a(); - }, 58308: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + addItemToFlowMetadata(e3, t3, i3) { + const n3 = o.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : i3; + return super.addItemToFlowMetadata(e3, t3, n3); } - get _globalTypeName() { - return "shippingOptionCollection"; + get _networkModel() { + return s.default; } - get displayTypeName() { - return "ArchValueShippingOptionCollection"; + _createItemViewModel(e3) { + return new c.BotConnectorVersionViewModel(e3); } - get isArchValueShippingOptionCollection() { - return true; + getItemFromFlowMetadata(e3, t3) { + const i3 = o.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : t3, n3 = super.getItemFromFlowMetadata(e3, i3); + return n3 && (n3.model = r.ensureCorrectVersionProperties(n3.model, n3.botId, e3.bot.idValue, n3.integrationId)), n3; + } + getBotCategoryForBotRunnable(e3, t3) { + if (!o.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; + const i3 = this.getItem(e3.toLowerCase(), t3); + return i3 ? p.botConnectorManager.getItem(i3.botId, t3) : null; + } + getItem(e3, t3) { + const i3 = t3, n3 = o.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotRunnableId) ? i3.getUniqueBotRunnableId() : e3; + return super.getItem(n3); } } - t2.default = r2; - }, 58380: (e2, t2, i2) => { + t2.botConnectorVersionManager = new g(); + }, 38185(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isFiringEvents = function() { - return p > 0; - }, t2.changeEventEmitterForEventSink = function(e3, t3, i3, n3) { - const r3 = m(e3, n3); - if (!r3 || !e3 || !e3.id) return false; - let o2 = _[r3.instanceId]; - if (o2 && t3) { - const i4 = o2[t3]; - i4 && delete i4[e3.id]; + t2.bridgeCategoryManager = void 0; + const n2 = i2(31635), o = i2(24032), r = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(58300), l = i2(82185); + class u extends r.default { + get requiredAuth() { + return a.externalAuthorizations.authStrings.bridgeActionView; } - if (!i3) return true; - o2 || (o2 = {}, _[r3.instanceId] = o2); - let a2 = o2[i3]; - return a2 || (a2 = {}, o2[i3] = a2), a2[e3.id] = e3, true; - }, t2.createEventSinkObject = g, t2.fireEvent = function(e3, t3, i3, n3) { - if (!e3 || !e3.id || !t3) return false; - const r3 = m(e3, n3); - if (!r3) return false; - const a2 = _[r3.instanceId]; - if (!a2) return true; - const s2 = o.default.clone(a2[e3.id]); - if (!s2 || o.default.isEmpty(s2)) return true; - const l2 = "objEvent_" + t3; - return o.default.each(s2, (t4) => { - const n4 = t4[l2]; - if (n4 && (o.default.isFunction(n4.value) || o.default.isFunction(n4))) { - p++; - try { - o.default.isFunction(n4.value) ? n4.value.apply(t4, [e3, i3]) : n4.apply(t4, [e3, i3]); - } catch (e4) { - } finally { - p > 0 && p--; - } - } - }), true; - }, t2.getEventForSinksForEventEmitter = f, t2.hasEventSinksForEventEmitter = function(e3, t3) { - return !o.default.isUndefined(f(e3, t3)); - }, t2.registerEventSinkForEventEmitter = T, t2.removeEventEmitter = y, t2.unregisterAndRemoveObject = function(e3, t3) { - S(e3, t3), y(e3, t3); - }, t2.unregisterEventSink = S, t2.unregisterEventSinkForEventEmitter = A, t2.updateEventEmitterIdentifier = function(e3, t3, i3, 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)), 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 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), c = i2(33951), d = "ObjectEventService"; - let p = 0; - const _ = {}, h = (e3) => { - delete _[e3.instanceId]; - }; - function m(e3, t3) { - if (t3) { - if (t3.instanceId) return t3; - s.error(`overrideFlowViewModel: ${t3.id} did not have a instance id`); + constructor() { + super(), this.topic = (0, o.getTopic)("BridgeCategoryManager"), this._rawServerCache = {}, this.caseSensitiveIds = true, this.apiCallList = s.getCategories, this.apiCallSingle = void 0, this.noApiCallSingle = true, this.dependencyContext = null, this.className = "BridgeCategoryManager", this.suppressSearch = true, this._initialize(); } - if (e3) { - const t4 = e3.parentFlow; - if (t4 && t4.instanceId) return t4; + _createItemViewModel(e3) { + return new l(e3); } - s.error("could not find a valid flow"); - } - function g(e3, t3, i3, n3) { - 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; - } - function f(e3, t3) { - const i3 = m(e3, t3); - if (!i3 || !e3 || !e3.id) return; - const n3 = _[i3.instanceId]; - if (!n3) return; - return n3[e3.id] || void 0; - } - function T(e3, t3, i3) { - const n3 = m(t3, i3); - if (!(n3 && e3 && t3 && t3.id)) return false; - let r3 = _[n3.instanceId]; - r3 || (r3 = {}, _[n3.instanceId] = r3); - let o2 = r3[e3]; - return o2 || (o2 = {}, r3[e3] = o2), o2[t3.id] && o2[t3.id] !== t3 && console.error("overriding existing event sink - you sure you want to do this?!?!?"), o2[t3.id] = t3, true; - } - function y(e3, t3) { - const i3 = m(e3, t3); - if (!i3 || !e3 || !e3.id) return false; - const n3 = _[i3.instanceId]; - return !n3 || (delete n3[e3.id], true); - } - function S(e3, t3) { - const i3 = m(e3, t3); - if (!i3 || !e3 || !e3.id) return false; - const n3 = _[i3.instanceId]; - return !n3 || (o.default.each(n3, (t4) => { - delete t4[e3.id]; - }), true); - } - function A(e3, t3, i3) { - const n3 = m(t3, i3); - if (!(n3 && e3 && t3 && t3.id)) return false; - const r3 = _[n3.instanceId]; - if (!r3) return true; - const o2 = r3[e3]; - return !o2 || (delete o2[t3.id], true); } - l.serviceListen(l.cleanUpFlow, h), l.serviceListen(l.flowLoadFailed, h); - }, 58407: (e2, t2, i2) => { + t2.bridgeCategoryManager = new u(); + }, 46824(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(58467)), o = n2.__importStar(i2(14187)), a = i2(96618); - class s extends r2.default { - constructor(e3) { - super(e3); + t2.bridgeServerManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get className() { - return "InQueueShortMessageFlowViewModel"; + get dependencyType() { + return p.BridgeServer; } - get isInQueueShortMessageFlow() { - return true; + _createItemViewModel(e3) { + return new r.BridgeServerAction(e3); } - get type() { - return a.flowTypes.flowTypeInQueueShortMessage; + additionalItemFilter(e3) { + return this._filterActionList(e3); } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, o.scopes.message]; + get canLoadMore() { + return this.isSearching ? this.currentSearchItems.length >= this.defaultPageSize * this.lastRetrievedPage : Object.keys(this.items).length >= this.defaultPageSize * this.lastRetrievedPage; } - get wrappedYamlName() { - return "inqueueShortMessage"; + _filterAction(e3) { + return !(!e3.published || !e3.requests) && o.default.filter(e3.requests, this._filterRequest.bind(this)).length > 0; } - } - 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, c = 258, d = 262, p = 103, _ = 113, h = 666; - function m(e3, t3) { - return e3.msg = l[t3], t3; - } - function g(e3) { - return (e3 << 1) - (e3 > 4 ? 9 : 0); - } - function f(e3) { - for (var t3 = e3.length; --t3 >= 0; ) e3[t3] = 0; - } - function T(e3) { - var t3 = e3.state, i3 = t3.pending; - i3 > e3.avail_out && (i3 = e3.avail_out), 0 !== i3 && (r2.arraySet(e3.output, t3.pending_buf, t3.pending_out, i3, e3.next_out), e3.next_out += i3, t3.pending_out += i3, e3.total_out += i3, e3.avail_out -= i3, t3.pending -= i3, 0 === t3.pending && (t3.pending_out = 0)); - } - function y(e3, t3) { - o._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, T(e3.strm); - } - function S(e3, t3) { - e3.pending_buf[e3.pending++] = t3; - } - function A(e3, t3) { - e3.pending_buf[e3.pending++] = t3 >>> 8 & 255, e3.pending_buf[e3.pending++] = 255 & t3; - } - function N(e3, t3, i3, 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 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 = 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]; + _filterActionList(e3) { + if (!e3 || 0 === e3.length) return []; + const t3 = o.default.where(e3, { published: true }), i3 = o.default.filter(t3, this._filterAction.bind(this)); + return this.filteredOutItemCount += t3.length - i3.length, i3; + } + _filterRequest(e3) { + return "rest" === e3.format.toLowerCase() && !(this._hasComplexProperty(e3.inputSchema.properties) || this._hasComplexProperty(e3.successSchema.properties)); + } + _hasComplexProperty(e3) { + if (e3) { + for (const t3 in e3) if (e3.hasOwnProperty(t3)) { + const i3 = e3[t3]; + if ("object" === i3.type) return true; + if ("array" === i3.type) { + if ("object" === i3.items.type || "array" === i3.items.type) return true; + if (i3.items && o.default.isArray(i3.items.type) && this._hasComplexProperty(i3.items.type)) return true; + } } } - } while ((t3 = _2[t3 & p2]) > l2 && 0 !== --r3); - return a2 <= e3.lookahead ? a2 : e3.lookahead; - } - 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 - 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; - } while (--i3); - t3 = i3 = s2; - do { - n3 = e3.prev[--t3], e3.prev[t3] = n3 >= s2 ? n3 - s2 : 0; - } while (--i3); - o2 += s2; - } - 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 < d && 0 !== e3.strm.avail_in); - } - function I(e3, t3) { - for (var i3, n3; ; ) { - 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 - 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; - } while (0 !== --e3.match_length); - e3.strstart++; - } else e3.strstart += e3.match_length, e3.match_length = 0, e3.ins_h = e3.window[e3.strstart], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 1]) & e3.hash_mask; - else n3 = o._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++; - if (n3 && (y(e3, false), 0 === e3.strm.avail_out)) return 1; + return false; } - return e3.insert = e3.strstart < 2 ? e3.strstart : 2, 4 === t3 ? (y(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (y(e3, false), 0 === e3.strm.avail_out) ? 1 : 2; - } - function C(e3, t3) { - for (var i3, n3, r3; ; ) { - if (e3.lookahead < d) { - if (O(e3), e3.lookahead < d && 0 === t3) return 1; - if (0 === e3.lookahead) break; + getCategoryForAction(e3, t3) { + if (t3) { + const e4 = o.default.findWhere(this.items, { actionId: t3 }); + if (e4) return e4.category; } - 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); - } while (0 !== --e3.prev_length); - if (e3.match_available = 0, e3.match_length = 2, e3.strstart++, n3 && (y(e3, false), 0 === e3.strm.avail_out)) return 1; - } else if (e3.match_available) { - if ((n3 = o._tr_tally(e3, 0, e3.window[e3.strstart - 1])) && y(e3, false), e3.strstart++, e3.lookahead--, 0 === e3.strm.avail_out) return 1; - } else e3.match_available = 1, e3.strstart++, e3.lookahead--; + const i3 = o.default.findWhere(this.items, { name: e3 }); + return i3 ? i3.category : null; + } + constructor() { + 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(); } - return e3.match_available && (n3 = o._tr_tally(e3, 0, e3.window[e3.strstart - 1]), e3.match_available = 0), e3.insert = e3.strstart < 2 ? e3.strstart : 2, 4 === t3 ? (y(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (y(e3, false), 0 === e3.strm.avail_out) ? 1 : 2; - } - function b(e3, t3, i3, n3, r3) { - this.good_length = e3, this.max_lazy = t3, this.nice_length = i3, this.max_chain = n3, this.func = r3; } - 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; + t2.bridgeServerManager = new _(); + }, 98489(e2, t2, i2) { + "use strict"; + t2.briefBotFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(30801), a = i2(96618), s = i2(27862); + class l extends o.BriefFlowListManager { + get dependencyType() { + return s.BotFlow; + } + constructor() { + super(), this.topic = n2.getTopic("briefBotFlowListManager"), this.additionalQueryParams = { type: a.flowTypes.flowTypeBot }, this.className = "BriefBotFlowListManager", this.uiMetadataSectionName = "botFlows", this.actionsForUsageSearch = [r.callBotFlowActionType], this.actionPropertyForUsageSearch = "botFlow", this.flowType = a.flowTypes.flowTypeBot, this._initialize(); + } } - 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); + t2.briefBotFlowListManager = new l(); + }, 28995(e2, t2, i2) { + "use strict"; + t2.briefBusinessProcessFlowListManager = void 0; + const n2 = i2(31635), o = i2(96618), r = n2.__importStar(i2(24032)), a = i2(70726), s = i2(27862); + class l extends a.BriefFlowListManager { + get dependencyType() { + return s.BusinessProcessFlow; + } + constructor() { + super(), this.topic = r.getTopic("briefBusinessProcessFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeBusinessProcess }, this.className = "BriefBusinessProcessFlowListManager", this.flowType = o.flowTypes.flowTypeBusinessProcess, this._initialize(); + } } - 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; + t2.briefBusinessProcessFlowListManager = new l(); + }, 77109(e2, t2, i2) { + "use strict"; + t2.briefCommonModuleFlowListManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = n2.__importStar(i2(24032)), a = i2(70726), s = i2(30801), l = i2(96618), u = i2(27862); + class c extends a.BriefFlowListManager { + get dependencyType() { + return u.CommonModuleFlow; + } + constructor() { + super(), this.topic = r.getTopic("BriefCommonModuleFlowListManager"), this.additionalQueryParams = { type: l.flowTypes.flowTypeCommonModule }, this.actionPropertyForUsageSearch = "flowId", this.actionsForUsageSearch = [s.callCommonModuleActionType], this.className = "BriefCommonModuleFlowListManager", this.uiMetadataSectionName = "commonModuleFlows", this.flowType = l.flowTypes.flowTypeCommonModule, this._initialize(), o.serviceListen(o.flowLoaded, (e3) => { + e3.cleanUiMetadataInfoSection(this.uiMetadataSectionName, this.actionsForUsageSearch, this.actionPropertyForUsageSearch); + }); + } } - function D(e3, t3, i3, n3, o2, a2) { - if (!e3) return u; - var s2 = 1; - 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, R(e3); + t2.briefCommonModuleFlowListManager = new c(); + }, 37001(e2, t2, i2) { + "use strict"; + t2.briefCustomerSegmentManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(99914)), r = 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 = r.getTopic("BriefCustomerSegmentManager"), this.apiCallList = o.getCustomerSegments, this.apiCallSingle = o.getCustomerSegment, this.additionalQueryParams = { isActive: true }, this.className = "BriefCustomerSegmentManager", this.dependencyContext = null, this.isBriefObjectManager = true, this.sortNotSupported = true, this._initialize(); + } } - 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 (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 - d && (y(e3, false), 0 === e3.strm.avail_out)) return 1; + t2.briefCustomerSegmentManager = new c(); + }, 10420(e2, t2, i2) { + "use strict"; + t2.briefEmailSendFlowListManager = void 0; + const n2 = i2(31635), o = i2(96618), r = n2.__importStar(i2(24032)), a = i2(70726), s = i2(27862); + class l extends a.BriefFlowListManager { + get dependencyType() { + return s.EmailSendFlow; } - 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, 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 = 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; - if (!e3 || !e3.state || t3 > 5 || t3 < 0) return e3 ? m(e3, u) : u; - 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 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++; - r3.gzhead.hcrc && r3.pending > a2 && (e3.adler = s(e3.adler, r3.pending_buf, r3.pending - a2, a2)), r3.gzindex === r3.gzhead.extra.length && (r3.gzindex = 0, r3.status = 73); - } else r3.status = 73; - if (73 === r3.status) if (r3.gzhead.name) { - a2 = r3.pending; - do { - if (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)) { - l2 = 1; - break; - } - l2 = r3.gzindex < r3.gzhead.name.length ? 255 & r3.gzhead.name.charCodeAt(r3.gzindex++) : 0, S(r3, l2); - } while (0 !== l2); - r3.gzhead.hcrc && r3.pending > a2 && (e3.adler = s(e3.adler, r3.pending_buf, r3.pending - a2, a2)), 0 === l2 && (r3.gzindex = 0, r3.status = 91); - } else r3.status = 91; - if (91 === r3.status) if (r3.gzhead.comment) { - a2 = r3.pending; - do { - if (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)) { - l2 = 1; - break; - } - l2 = r3.gzindex < r3.gzhead.comment.length ? 255 & r3.gzhead.comment.charCodeAt(r3.gzindex++) : 0, S(r3, l2); - } while (0 !== l2); - r3.gzhead.hcrc && r3.pending > a2 && (e3.adler = s(e3.adler, r3.pending_buf, r3.pending - a2, a2)), 0 === l2 && (r3.status = p); - } else r3.status = p; - if (r3.status === p && (r3.gzhead.hcrc ? (r3.pending + 2 > r3.pending_buf_size && T(e3), r3.pending + 2 <= r3.pending_buf_size && (S(r3, 255 & e3.adler), S(r3, e3.adler >> 8 & 255), e3.adler = 0, r3.status = _)) : r3.status = _), 0 !== r3.pending) { - if (T(e3), 0 === e3.avail_out) return r3.last_flush = -1, 0; - } else if (0 === e3.avail_in && g(t3) <= g(i3) && 4 !== t3) return m(e3, -5); - if (r3.status === h && 0 !== e3.avail_in) return m(e3, -5); - 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 && (O(e4), 0 === e4.lookahead)) { - if (0 === t4) return 1; - break; - } - if (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; - } - 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 <= 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 + 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 = 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; - } - 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) : n2[r3.level].func(r3, t3); - if (3 !== N2 && 4 !== N2 || (r3.status = h), 1 === N2 || 3 === N2) return 0 === e3.avail_out && (r3.last_flush = -1), 0; - if (2 === N2 && (1 === t3 ? o._tr_align(r3) : 5 !== t3 && (o._tr_stored_block(r3, 0, 0, false), 3 === t3 && (f(r3.head), 0 === r3.lookahead && (r3.strstart = 0, r3.block_start = 0, r3.insert = 0))), T(e3), 0 === e3.avail_out)) return r3.last_flush = -1, 0; + constructor() { + super(), this.topic = r.getTopic("briefEmailSendFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeEmailSend }, this.className = "BriefEmailSendFlowListManager", this.flowType = o.flowTypes.flowTypeEmailSend, this._initialize(); } - return 4 !== t3 ? 0 : r3.wrap <= 0 ? 1 : (2 === r3.wrap ? (S(r3, 255 & e3.adler), S(r3, e3.adler >> 8 & 255), S(r3, e3.adler >> 16 & 255), S(r3, e3.adler >> 24 & 255), S(r3, 255 & e3.total_in), S(r3, e3.total_in >> 8 & 255), S(r3, e3.total_in >> 16 & 255), S(r3, e3.total_in >> 24 & 255)) : (A(r3, e3.adler >>> 16), A(r3, 65535 & e3.adler)), T(e3), r3.wrap > 0 && (r3.wrap = -r3.wrap), 0 !== r3.pending ? 0 : 1); - }, t2.deflateEnd = function(e3) { - 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, 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, 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, O(i3); + } + t2.briefEmailSendFlowListManager = new l(); + }, 70726(e2, t2, i2) { + "use strict"; + t2.BriefFlowListManager = void 0; + const n2 = i2(6109), o = i2(81801), r = i2(37345); + class a extends n2.FlowListManager { + constructor() { + super(...arguments), this._rawServerCache = {}, this.apiCallList = r.getFlowsDivisionViews, this.isBriefObjectManager = true, this.noApiCallSingle = true; } - 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) => { + get requiredAuth() { + return o.externalAuthorizations.authStrings.flowSearch; + } + } + t2.BriefFlowListManager = a; + }, 80665(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 c extends a.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + t2.briefInboundFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(30801), s = i2(30801), l = i2(27862); + class u extends o.BriefFlowListManager { + get dependencyType() { + return l.InboundCallFlow; } - get className() { - return "TimePickerType"; + constructor() { + super(), this.topic = n2.getTopic("briefInboundFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeInboundCall }, this.className = "BriefInboundFlowListManager", this.actionsForUsageSearch = [s.transferFlowActionType, a.setPostFlowActionType], this.actionPropertyForUsageSearch = "inboundCallFlow", this.uiMetadataSectionName = "inboundCallFlows", this.flowType = r.flowTypes.flowTypeInboundCall, this._initialize(); } - convertLitToExpression(e3, t3) { - return ""; + } + t2.briefInboundFlowListManager = new u(); + }, 32(e2, t2, i2) { + "use strict"; + t2.briefInqueueCallFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(27862); + class s extends o.BriefFlowListManager { + get dependencyType() { + return a.InqueueCallFlow; } - _getLiteralValueOfExpression() { - return ""; + constructor() { + super(), this.topic = n2.getTopic("BriefInqueueCallFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeInQueueCall }, this.className = "BriefInqueueFlowListManager", this.flowType = r.flowTypes.flowTypeInQueueCall, this._initialize(); } - createExpressionOptionClass() { - return new r2.ExpressionTypeTimePickerOptions(); + } + t2.briefInqueueCallFlowListManager = new s(); + }, 5896(e2, t2, i2) { + "use strict"; + t2.briefInQueueEmailFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(27862); + class s extends o.BriefFlowListManager { + get dependencyType() { + return a.InqueueEmailFlow; } - get supportsLiteralEditor() { - return true; + constructor() { + super(), this.topic = n2.getTopic("BriefInQueueEmailFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeInQueueEmail }, this.className = "BriefInQueueEmailFlowListManager", this.flowType = r.flowTypes.flowTypeInQueueEmail, this._initialize(); } - getChooser(e3) { - var t3; - if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(l.globalTypes.chooser, s.settings.exact)) return e3.propertyParent; + } + t2.briefInQueueEmailFlowListManager = new s(); + }, 17475(e2, t2, i2) { + "use strict"; + t2.briefInQueueShortMessageFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(27862); + class s extends o.BriefFlowListManager { + get dependencyType() { + return a.InqueueShortMessageFlow; } - getPropImage(e3) { - return e3.getProperty(t2.PROP_IMAGE); + constructor() { + super(), this.topic = n2.getTopic("BriefInQueueShortMessageFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeInQueueShortMessage }, this.className = "BriefInQueueShortMessageFlowListManager", this.flowType = r.flowTypes.flowTypeInQueueShortMessage, this._initialize(); } - getPropTitle(e3) { - return e3.getProperty(t2.PROP_TITLE); + } + t2.briefInQueueShortMessageFlowListManager = new s(); + }, 89986(e2, t2, i2) { + "use strict"; + t2.briefOutboundFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(27862); + class s extends o.BriefFlowListManager { + get dependencyType() { + return a.OutboundCallFlow; } - getPropSubtitle(e3) { - return e3.getProperty(t2.PROP_SUBTITLE); + constructor() { + super(), this.topic = n2.getTopic("briefOutboundFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeOutboundCall }, this.className = "BriefOutboundFlowListManager", this.flowType = r.flowTypes.flowTypeOutboundCall, this._initialize(); } - getPropAddress(e3) { - return e3.getProperty(t2.PROP_ADDRESS); + } + t2.briefOutboundFlowListManager = new s(); + }, 23503(e2, t2, i2) { + "use strict"; + t2.briefQueueManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(24032), l = i2(27862), u = i2(55190); + class c extends r.default { + get requiredAuth() { + return a.externalAuthorizations.authStrings.queuesSearch; } - getPropLongitude(e3) { - return e3.getProperty(t2.PROP_LONGITUDE); + get dependencyType() { + return l.Queue; } - getPropLatitude(e3) { - return e3.getProperty(t2.PROP_LATITUDE); + constructor() { + super(), this.topic = (0, s.getTopic)("briefQueueManager"), this.apiCallList = u.getQueuesDivisionViews, this.className = "BriefQueueManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = null, this.isBriefObjectManager = true, this.noApiCallSingle = true, this.defaultPageSize = 100, this.maxSupportedPageCount = 5, this.apiCallSingle = void 0, this._initialize(); } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_IMAGE: - n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setAllowModeLiteralOnly(), n3.options.setModeNoValueRuntimeEvaluationStr(u.cardsAndCars.cardType.noImageRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(u.cardsAndCars.cardType.noImage), n3.options.setDefaultToNoValue(true), n3.options.setLabelOverride(u.image.image), n3.options.setIninTestingField("time-picker-image"); - break; - case t2.PROP_TITLE: - n3.options.setIsOptional(false), n3.options.setAllowNotSet(false), n3.options.setModeNoValueRuntimeEvaluationStr(u.cardsAndCars.timePickerType.noTitleRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(u.cardsAndCars.cardType.noTitle), n3.options.setDoNotTransitionToNoValue(true), n3.options.setLabelOverride(u.cardsAndCars.buttonTitlePlaceholder), n3.options.setIninTestingField("time-picker-title"), n3.options.facets.setMaxLength(512); - break; - case t2.PROP_SUBTITLE: - n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setModeNoValueRuntimeEvaluationStr(u.cardsAndCars.timePickerType.noSubtitleRuntimeEvaluationStr), n3.options.setModeNoValueSelectionLabel(u.cardsAndCars.timePickerType.noSubtitle), n3.options.setDoNotTransitionToNoValue(true), n3.options.setLabelOverride(u.cardsAndCars.timePickerType.subtitlePlaceHolder), n3.options.setIninTestingField("time-picker-subtitle"), n3.options.facets.setMaxLength(512); - break; - case t2.PROP_ADDRESS: - n3.options.setIsOptional(true), n3.options.setDoNotTransitionToNoValue(true), n3.options.setIninTestingField("time-picker-address"), n3.options.facets.setIsAddressField(true); - break; - case t2.PROP_LONGITUDE: - n3.options.setIsOptional(true), n3.options.setIninTestingField("time-picker-longitude"), n3.options.setDoNotTransitionToNoValue(true), n3.options.setDefaultText("0.0"), n3.options.facets.setMinDec(-180).setMinValInclusive(true), n3.options.facets.setMaxDec(180).setMaxValInclusive(true), n3.options.facets.setDecimalPlaces(6); - break; - case t2.PROP_LATITUDE: - n3.options.setIsOptional(true), n3.options.setIninTestingField("time-picker-latitude"), n3.options.setDoNotTransitionToNoValue(true), n3.options.setDefaultText("0.0"), n3.options.facets.setMinDec(-90).setMinValInclusive(true), n3.options.facets.setMaxDec(90).setMaxValInclusive(true), n3.options.facets.setDecimalPlaces(6); - } + } + t2.briefQueueManager = new c(); + }, 46761(e2, t2, i2) { + "use strict"; + t2.briefCallSecureFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(27862); + class s extends o.BriefFlowListManager { + get dependencyType() { + return a.SecureCallFlow; } - get hasRichLiteralEditor() { - return true; + constructor() { + super(), this.topic = n2.getTopic("briefCallSecureFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeSecureCall }, this.className = "BriefCallSecureFlowListManager", this.flowType = r.flowTypes.flowTypeSecureCall, this._initialize(); } - validateLiteral(e3, t3) { - const i3 = this.getPropAddress(t3), n3 = this.getPropLongitude(t3), r3 = this.getPropLatitude(t3); - return !(i3 && n3 && r3 && null !== i3.text && "" !== i3.text) || "0.0" !== n3.text && "0" !== n3.text || "0.0" !== r3.text && "0" !== r3.text || (n3.setParseWarning(u.expression.longitudeSetToNullIsland), r3.setParseWarning(u.expression.latitudeSetToNullIsland), e3.addWarning(n3, u.expression.longitudeSetToNullIsland, void 0, false), e3.addWarning(r3, u.expression.latitudeSetToNullIsland, void 0, false), false); + } + t2.briefCallSecureFlowListManager = new s(); + }, 14944(e2, t2, i2) { + "use strict"; + t2.briefVoiceFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(30801), a = i2(96618), s = i2(27862); + class l extends o.BriefFlowListManager { + get dependencyType() { + return s.VoiceFlow; } - useCustomExpressionEditor(e3) { - return !!(null == e3 ? void 0 : e3.parentList); + constructor() { + super(), this.topic = n2.getTopic("BriefVoiceFlowListManager"), this.additionalQueryParams = { type: a.flowTypes.flowTypeVoice }, this.className = "BriefVoiceFlowListManager", this.uiMetadataSectionName = "voiceFlows", this.actionsForUsageSearch = [r.callVoiceFlowActionType], this.actionPropertyForUsageSearch = "voiceFlow", this.flowType = a.flowTypes.flowTypeVoice, this._initialize(); } } - t2.TimePickerType = c, c.typeIdentifier = o.expressionTypeNames.timePicker; - }, 58467: (e2, t2, i2) => { + t2.briefVoiceFlowListManager = new l(); + }, 21706(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(95955)), o = n2.__importDefault(i2(71824)), a = n2.__importDefault(i2(26519)); - class s extends o.default { - constructor(e3) { - super(e3), this.callPrompts = new r2.default(this), this.errorHandling = new a.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling); + t2.briefVoiceSurveyFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(27862); + class s extends o.BriefFlowListManager { + get dependencyType() { + return a.VoiceSurveyFlow; } - get className() { - return "InQueueWorkflowViewModel"; + constructor() { + super(), this.topic = n2.getTopic("BriefVoiceSurveyFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeVoiceSurvey }, this.className = "BriefVoiceSurveyFlowListManager", this.uiMetadataSectionName = "voiceSurveyFlows", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "voiceSurveyFlow", this.flowType = r.flowTypes.flowTypeVoiceSurvey, this._initialize(); } - get isInQueueWorkflow() { - return true; + } + t2.briefVoiceSurveyFlowListManager = new s(); + }, 5261(e2, t2, i2) { + "use strict"; + t2.briefVoicemailFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(70726), r = i2(96618), a = i2(27862); + class s extends o.BriefFlowListManager { + get dependencyType() { + return a.VoicemailFlow; + } + constructor() { + super(), this.topic = n2.getTopic("BriefVoicemailFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeVoicemail }, this.className = "BriefVoicemailFlowListManager", this.flowType = r.flowTypes.flowTypeVoicemail, this._initialize(); } } - t2.default = s; - }, 58491: (e2, t2) => { + t2.briefVoicemailFlowListManager = new s(); + }, 79963(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allowedPermissionList = void 0, t2.allowedPermissionList = { authorization: true, dependencyTracking: true, division: true, flow: true, flowExecution: true, flowInstance: true, flowInstanceExecutionData: true, flowLogLevel: true, flowLogLevelDefault: true, flowMilestone: true, flowOutcome: true, grammar: true, systemPrompt: true, userPrompt: true, ui: true, virtualAgentFlow: true }; - }, 58525: (e2, t2, i2) => { + t2.callbackManager = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(30801), r = i2(24032), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); + class c extends a.ScriptManager { + constructor() { + super("CallbackManager"), this.topic = (0, r.getTopic)("AllScriptsManager"), this.actionsForUsageSearch = [o.createCallbackActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.callback), this.dependencyContext = s.createCallback.selectedScript, this.scriptFeatureType = u.callback; + } + } + t2.callbackManager = new c(); + }, 32773(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypePromptOptions = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(71056), a = i2(55909), s = i2(33951); - class l extends o.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + t2.chatScriptManager = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(24032), r = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); + class c extends a.ScriptManager { + constructor() { + super("ChatScriptManager"), this.topic = (0, o.getTopic)("ChatScriptManager"), this.actionsForUsageSearch = [r.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.chat), this.dependencyContext = s.screenPop.selectedChatScript, this.scriptFeatureType = u.chat; } + } + t2.chatScriptManager = new c(); + }, 51830(e2, t2, i2) { + "use strict"; + t2.ConfigListManagerSeeder = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(21042)), a = n2.__importStar(i2(62241)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(47532)), u = s.getTopic("ConfigListManagerSeeder"); + t2.ConfigListManagerSeeder = class { constructor(e3) { - super(e3), this._audioPreview = false, this._requireAudio = false, (0, r2.makeUnenumerable)(this, "_audioPreview"), (0, r2.makeUnenumerable)(this, "_requireAudio"), (0, r2.makeUnenumerable)(this, "_systemPromptFilterNames"); + this.manifestResults = e3.results; } - get className() { - return "ExpressionTypePromptOptions"; + _seedManager(e3, t3) { + t3 && o.default.each(t3, (t4) => { + let i3 = t4.result !== a.results.doesNotExist && t4.result !== a.results.invalid && "deleted" !== t4.state; + if (i3 && (i3 = !e3.isValidItem || e3.isValidItem(t4), i3 || u.error(`Item is not valid for adding to listManager:${e3.className} -- id: ${t4.id} type: ${t4.type}`)), i3 || e3.keepDeletedItems) e3.isConfigurationListManager ? (e3.addItem(t4, true), e3.setAdditionalCache && e3.setAdditionalCache(t4)) : e3.isBootstrapListManager && e3.updateItem(t4); + else { + if (e3.isMockedManager) return; + t4.id ? e3.removeItemWithId(t4.id, false) : e3.removeItemWithName(t4.name, false); + } + }); } - get isExpressionTypePromptOptions() { - return true; + processManager(e3) { + if (e3 && !e3.isBriefObjectManager && e3.dependencyType && this.manifestResults[e3.dependencyType.value]) { + let t3 = this.manifestResults[e3.dependencyType.value]; + e3.manifestFilter && (t3 = o.default.filter(this.manifestResults[e3.dependencyType.value], (t4) => t4.result === a.results.doesNotExist || e3.manifestFilter(t4))), this._seedManager(e3, t3), e3.isConfigurationListManager && (e3.serverWasContacted = true); + } } - get audioPreview() { - return this._audioPreview; + seedListManagers() { + this.manifestResults && (o.default.each(l.default.allListManagers, this.processManager.bind(this)), o.default.each(r.allListManagers, this.processManager.bind(this))); } - set audioPreview(e3) { - this._audioPreview = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "audioPreview", "value")); + }; + }, 43610(e2, t2, i2) { + "use strict"; + t2.contactListManager = void 0; + const n2 = i2(31635).__importDefault(i2(47532)), o = i2(81801), r = i2(51416), a = i2(24032), s = i2(27395), l = i2(27862); + class u extends n2.default { + get requiredAuth() { + return o.externalAuthorizations.authStrings.contactListsSearch; } - setAudioPreview(e3) { - return this.audioPreview = e3, this; + get dependencyType() { + return l.ContactList; } - get requireAudio() { - return this._requireAudio; + _createItemViewModel(e3) { + return new r.ContactListViewModel(e3); } - set requireAudio(e3) { - this._requireAudio = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "requireAudio", "value")); + constructor() { + super(), this.topic = (0, a.getTopic)("contactListManager"), this._rawServerCache = {}, this.apiCallList = s.getContactListsDivisionViews, this.apiCallSingle = s.getContactList, this.dependencyContext = null, this.className = "ContactListManager", this.uiMetadataSectionName = "contactList", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } - setRequireAudio(e3) { - return this.requireAudio = e3, this; + } + t2.contactListManager = new u(); + }, 85415(e2, t2, i2) { + "use strict"; + t2.conversationCustomAttributeSchemaManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(78280)), r = 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 systemPromptFilterNames() { - return this._systemPromptFilterNames; + get requiredAuth() { + return d.externalAuthorizations.authStrings.conversationCustomAttributesSchemaView; } - set systemPromptFilterNames(e3) { - this._systemPromptFilterNames = s.ParameterValidator.expectArray(e3, () => a.ParameterInfo.createPropertySet(this.className, "systemPromptFilterNames", "value")); + constructor() { + super(), this.topic = a.getTopic("ConversationCustomAttributeSchemaManager"), this.apiCallList = o.getConversationCustomAttributeSchemas, this.apiCallSingle = o.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 = r.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "conversationCustomAttributeSchema", this.useStartsWithKeywordForExactMatch = true, this.defaultPageSize = 100, this._initialize(); } - setSystemPromptFilterNames(e3) { - return this.systemPromptFilterNames = e3, this; + _createItemViewModel(e3) { + return new u.ConversationCustomAttributeSchemaViewModel(e3); } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setRequireAudio, e3.requireAudio); + get _networkModel() { + return l.ConversationCustomAttributeSchema; } - } - t2.ExpressionTypePromptOptions = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "audioPreview", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "requireAudio", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Object])], l.prototype, "systemPromptFilterNames", null); - }, 58597: (e2, t2, i2) => { - function n2() { - Object.defineProperties(this, { _botId: { writable: true }, _botIntegrationId: { writable: true }, _version: { writable: true } }), this.name = void 0, this.supportedLanguages = void 0, this.intents = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "BotConnectorVersion"), Object.defineProperties(n2.prototype, { archInternalId: { enumerable: true, get: function() { - return this.isFromAdsValidationResults ? `${this._botId}:${this._version}` : `${this._botIntegrationId}:${this._botId}:${this._version}`; - } }, getContextInfo: { value: function() { - return { botId: this._botId, integrationId: this._botIntegrationId }; - } }, setParentContextInfo: { value: function(e3) { - this._botIntegrationId = e3; - } }, id: { enumerable: true, get: function() { - if (this.isFromAdsValidationResults) { - const e3 = this._botId.indexOf(":"); - return this._botId.substr(e3 + 1); + get isConversationCustomAttributeSchemaManager() { + return true; } - return this._version; - }, set: function(e3) { - this._botId = e3; - } }, integrationId: { enumerable: true, get: function() { - if (this.isFromAdsValidationResults) { - const e3 = this._botId.indexOf(":"); - return this._botId.substr(0, e3); + getOrFetchItem(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = this.getItem(e3); + return (null == t3 ? void 0 : t3.successSchema) ? Promise.resolve(t3) : this.fetchItem(e3); + }); + } + addItemToFlowMetadata(e3, t3, i3) { + const n3 = e3.isFlowViewModel ? e3 : e3.parentFlow; + return n3.getUiMetadataInfoById(this.uiMetadataSectionName, i3) && n3.tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, i3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, true), n3.setUiMetadataInfo(this.uiMetadataSectionName, { id: i3, name: t3 }), true; } - return this._botIntegrationId; - }, set: function(e3) { - this._botIntegrationId = e3; - } }, botId: { enumerable: true, get: function() { - return this._botId; - }, set: function(e3) { - console.log("Setting BotConnectorVersion.botId is not allowed."); - } }, isFromAdsValidationResults: { enumerable: false, get: function() { - return this.result; - }, set: function(e3) { - e3 || delete this.result, this.result = e3; - } }, version: { enumerable: true, get: function() { - return this._version; - }, set: function(e3) { - this._version = e3; - } }, label: { get: function() { - return this.version; - }, set: function(e3) { - this.version = e3; - } } }), n2.keyProperty = "archInternalId", e2.exports = n2; - }, 58602: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { setUUIDataActionType: o } = i2(30801), a = i2(89720); - function s() { - Object.defineProperties(this, { _mode: { writable: true }, _uuiData: { writable: true } }), s.baseConstructor.apply(this, arguments); - } - n2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.uuiData.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.uuiData.pasteResolveOldToNewValues(e3); - } }, mode: { enumerable: true, get: function() { - return this._mode; - }, set: function(e3) { - this._mode = this.reviveEnum(e3, a); - } }, uuiData: { enumerable: true, get: function() { - return this._uuiData; - }, set: function(e3) { - this._uuiData = this.reviveItem(e3, r2); - } } }), e2.exports = s; - }, 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); - } - i2(2398).extend(n2, "ContactList"), Object.defineProperties(n2.prototype, { columns: { get: function() { - return this.columnNames; - }, set: function(e3) { - this.columnNames = e3; - } } }), e2.exports = n2; - }, 58650: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(54501); - function o() { } - o.prototype.getGroups = function(e3) { - const t3 = n2.build(r2.getGroups); - return t3.content(e3.get_q64searchContent()), t3.call(); - }, o.prototype.getGroup = function(e3) { - return n2.build(r2.getGroup).templateParams({ id: e3 }).call(); - }, o.prototype.getGroup.api = r2.getGroup, e2.exports = new o(); - }, 58668: (e2, t2, i2) => { + t2.conversationCustomAttributeSchemaManager = new g(); + }, 89599(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(43212), o = n2.__importDefault(i2(27579)); - class a extends r2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this._errorSchema = (0, o.default)(["ActionInvocationLimitExceeded"]); + t2.conversationSummarySettingManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(84556)), r = 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 d.ConversationSummarySetting; } - get id() { - return this.model.id; + constructor() { + super(), this.topic = s.getTopic("ConversationSummarySettingManager"), this.apiCallList = o.getConversationSummarySettings, this.apiCallSingle = o.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(), r.serviceListen(r.cleanUpFlow, () => this.resetState()); } - getConfiguration() { - return this.model; + _createItemViewModel(e3) { + return new u.default(e3); } - get label() { - return this.model.name || ""; + } + t2.conversationSummarySettingManager = new p(); + }, 21569(e2, t2, i2) { + "use strict"; + t2.customerSegmentManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(99914)), r = 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 u.externalAuthorizations.authStrings.customerSegmentsView; } - get name() { - return this.model.name; + get dependencyType() { + return c.CustomerSegment; } - get errorSchema() { - return this._errorSchema; + _createItemViewModel(e3) { + return new l.CustomerSegmentViewModel(e3); } - get className() { - return "AudioConnectorViewModel"; + constructor() { + super(), this.topic = r.getTopic("CustomerSegmentManager"), this.apiCallList = o.getCustomerSegments, this.apiCallSingle = o.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.default = a; - }, 58778: (e2, t2, i2) => { + t2.customerSegmentManager = new d(); + }, 68128(e2, t2, i2) { "use strict"; - 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 c; - } - static get notRealAction() { - return true; + t2.dataActionCategoryManager = void 0; + const n2 = i2(24032), o = i2(64718), r = i2(47957); + class a extends o.BaseIntegrationsActionCategoryManager { + constructor() { + super(), this.topic = (0, n2.getTopic)("DataActionCategoryManager"), this.additionalQueryParams = { secure: false }, this.dependencyContext = r.bridgeServer.category, this.className = "DataActionCategoryManager", this._initialize(); } } - t2.A = u; - 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; - var n2 = i2(65212), r2 = i2(17214); - t2.defaultIfEmpty = function(e3) { - return n2.operate(function(t3, i3) { - var n3 = false; - t3.subscribe(r2.createOperatorSubscriber(i3, function(e4) { - n3 = true, i3.next(e4); - }, function() { - n3 || i3.next(e3), i3.complete(); - })); - }); - }; - }, 58801: (e2, t2, i2) => { + t2.dataActionCategoryManager = new a(); + }, 28264(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DataResult = t2.FuncOpCollection = t2.FuncOpCategory = void 0, t2.createDataResult = function(e3, t3, i3, n3, r3) { - return new l(e3, t3, i3, n3, r3); - }, t2.createFuncOp = function(e3, t3, i3, r3, o2) { - return new n2.ExpressionFuncOp(e3, t3, i3, r3, o2); - }, t2.createFuncOpCategory = function(e3, t3, i3) { - return new a(e3, t3, i3); - }, t2.createFuncOpCollection = function(e3) { - return new s(e3); - }, t2.createFuncOpOverload = function(e3, t3, i3, n3, o2, a2, s2, l2) { - return new r2.FuncOpOverload(e3, t3, i3, n3, o2, a2, s2, l2); - }, t2.createOperand = function(e3, t3, i3) { - return new o.Operand(e3, t3, i3); - }; - const n2 = i2(73646), r2 = i2(53614), o = i2(25632); - class a { - constructor(e3, t3, i3) { - this.identifier = e3.identifier, this.name = t3, this.description = i3; + t2.dataActionManager = void 0; + const n2 = i2(84822), o = i2(30801), r = i2(24032), a = i2(47957), s = i2(27862); + class l extends n2.BaseIntegrationsActionManager { + get dependencyType() { + return s.DataAction; } - } - t2.FuncOpCategory = a; - class s { - constructor(e3) { - this.functions = [], this.funcCategory = e3; + constructor() { + super(), this.topic = (0, r.getTopic)("dataActionManager"), this.actionsForUsageSearch = [o.dataActionActionType], this.additionalQueryParams = { secure: false }, this.defaultInputsWithNoDefaultToNotSet = true, this.dependencyContext = a.dataAction.dataAction, this.className = "DataActionManager", this._initialize(); } } - t2.FuncOpCollection = s; - class l { - constructor(e3, t3, i3, n3, r3) { - this.success = e3, this.result = t3, this.error = i3, this.position = n3, this.operand = r3; + t2.dataActionManager = new l(); + }, 11181(e2, t2, i2) { + "use strict"; + t2.dataTablesManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(55654)), r = 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 r.default { + get requiredAuth() { + return (0, d.isFeatureAvailable)(u.default.divisionedDataTables) ? l.externalAuthorizations.authStrings.dataTablesSearch : l.externalAuthorizations.authStrings.dataTablesView; + } + get dependencyType() { + return _.DataTable; + } + constructor() { + super(), this.topic = (0, c.getTopic)("DataTablesManager"), this.apiCallList = o.getDataTables, this.apiCallSingle = o.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); } } - t2.DataResult = l; - }, 58858: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(79042), o = i2(45421), a = i2(89452), { ParameterInfo: s } = i2(55909), { ParameterValidator: l } = i2(33951); - class u extends r2 { - constructor(e3, t3) { - super(t3), l.expectObject(e3, () => s.createConstructorParameter("ClipboardDependencyFlowUiMetaDataViewModel", "flowUiMetaDataModel"), true), Object.defineProperties(this, { _dependencyUiMetaDataModel: { writable: true } }), e3 && this.loadModel(e3); + t2.dataTablesManager = new h(); + }, 33264(e2, t2, i2) { + "use strict"; + t2.decisionTableManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(83277)), r = 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 = o.getDecisionTables, this.apiCallSingle = o.getDecisionTable, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "actionId", this.actionsForUsageSearch = [s.callDecisionTableActionType], this.additionalQueryParams = { withPublishedVersion: true }, this.className = "DecisionTableManager", this.defaultMatchingStyle = r.startsWith, this.dependencyContext = null, this.idEquivalent = "tableId", this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "decisionTable", this.useStartsWithKeywordForExactMatch = true, this.defaultPageSize = 100, this._initialize(); } - static create(e3, t3, i3, n3) { - const r3 = new a({ metaDataId: t3, metaDataJSON: o.cloneToRawJsonObject(i3), sectionName: e3 }); - return new u(r3, n3); + get requiredAuth() { + return d.externalAuthorizations.authStrings.decisionTablesSearch; } - loadModel(e3) { - this._dependencyUiMetaDataModel = e3; + get dependencyType() { + return p.DecisionTable; } - get isClipboardDependencyFlowUiMetaDataViewModel() { + _createItemViewModel(e3) { + return new c.DecisionTableViewModel(e3); + } + get _networkModel() { + return u.default; + } + get isDecisionTableManager() { return true; } - get metaDataId() { - return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.metaDataId : void 0; + getOrFetchItem(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = this.getItem(e3); + return t3 && !t3.schemasNotLoaded ? Promise.resolve(t3) : this.fetchItem(e3); + }); } - get metaDataJSON() { - return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.metaDataJSON : void 0; + addItemToFlowMetadata(e3, t3, i3) { + const n3 = e3.isFlowViewModel ? e3 : e3.parentFlow; + return n3.getUiMetadataInfoById(this.uiMetadataSectionName, i3) && n3.tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, i3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, true), n3.setUiMetadataInfo(this.uiMetadataSectionName, { tableId: i3, name: t3 }, this.idEquivalent), true; } - get metaDataSectionName() { - return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.sectionName : void 0; + } + t2.decisionTableManager = new _(); + }, 30888(e2, t2, i2) { + "use strict"; + t2.dialogEngineBotManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 logHeader() { - return "flow ui meta data - section name :'" + this.metaDataSectionName + "' (ID: " + this.metaDataId + ")"; + get dependencyType() { + return d.DialogEngineBot; } - get rawJson() { - return this._dependencyUiMetaDataModel ? this._dependencyUiMetaDataModel.metaDataJSON : void 0; + constructor() { + super(), this.topic = r.getTopic("DialogEngineBotManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [s.dialogEngineActionType], this.apiCallList = p.getBots, this.apiCallSingle = p.getBot, this.className = "DialogEngineBotManager", this.defaultMatchingStyle = o.exactMatch, this.defaultPageSize = 1e3, this.dependencyContext = c.dialogEngine.dialogEngineBot, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "dialogEngineBots", this._initialize(); } - get dependencyModel() { - return this._dependencyUiMetaDataModel; + _createItemViewModel(e3) { + return new l.default(e3); } - shouldPaste(e3) { + } + t2.dialogEngineBotManager = new _(); + }, 55420(e2, t2, i2) { + "use strict"; + t2.dialogEngineVersionManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 d.externalAuthorizations.authStrings.integrationView; + } + get dependencyType() { + return _.DialogEngineBotVersion; + } + constructor() { + super(), this.topic = a.getTopic("DialogEngineVersionManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botVersion", this.actionsForUsageSearch = [l.dialogEngineActionType], this.apiCallList = void 0, this.apiCallSingle = h.getVersion, this.className = "DialogEngineVersionManager", this.defaultMatchingStyle = r.exactMatch, this.dependencyContext = p.dialogEngine.dialogEngineBotVersion, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "dialogEngineBotVersions", this.hasDependencyTrackingId = true, this.noApiCallList = true, this._initialize(); + } + get viewModelIsAutoSelectedBotRunnable() { return true; } - _performDestroy() { - try { - this._dependencyUiMetaDataModel = void 0; - } catch (e3) { - this.logException(e3, "Exception encountered cleaning up clipboard content."); - } + addItem(e3, t3, i3) { + var n3; + return (null === (n3 = null == e3 ? void 0 : e3.id) || void 0 === n3 ? void 0 : n3.includes("/")) && (e3.id = o.default.splitOn(e3.id, "/")[1]), this.items = o.default.pick(this.items, (t4) => t4.botId !== e3.bot.id), super.addItem(e3); } - _performPaste(e3) { - if (!this.metaDataId || !this.metaDataJSON || !this.metaDataSectionName) return this.createClipboardResultFailurePasteGeneric("The flow UI meta data snapshot was invalid. metaDataId: '" + this.metaDataId + "', metaDatSectionName: '" + this.metaDataSectionName + "', meta data JSON isObject: " + n2.isObject(this.metaDataJSON)); - let t3 = this.createClipboardResultSuccess(); - const i3 = this.metaDataSectionName, r3 = this.metaDataId, a2 = o.cloneToRawJsonObject(this.metaDataJSON); - this.pushLogHeader(this.logHeader); - try { - this.log("Processing clipboard dependency flow UI meta data."), e3.destFlowViewModel.getUiMetadataInfoById(i3, r3) ? this.log("Flow UI meta data already exists. Nothing to do.") : (this.log("Adding flow UI meta data."), e3.destFlowViewModel.setUiMetadataInfo(i3, a2)); - } catch (e4) { - t3 = this.createClipboardResultFailurePasteException(e4, "An error occurred during flow UI meta data paste processing."); - } finally { - this.popLogHeader(), this.log("Processing clipboard dependency flow UI meta data end."); - } - return t3; + _createItemViewModel(e3) { + return new c.default(e3); } - } - e2.exports = u; - }, 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), 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 = 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; - }, set: function(e3) { - const t3 = i2(96128); - this._commonModules = this.reviveArray(e3, t3); - } }, customDefinitions: { enumerable: true, get: function() { - return this._customDefinitions; - }, set: function(e3) { - this._customDefinitions = this.reviveItem(e3, r2); - } }, defaultSettings: { enumerable: true, get: function() { - return this._defaultSettings; - }, set: function(e3) { - this._defaultSettings = new a(e3); - } }, flowMetaData: { enumerable: true, get: function() { - return this._flowMetaData; - }, set: function(e3) { - this._flowMetaData = this.reviveItem(e3, l); - } }, flowSequenceItemList: { enumerable: true, get: function() { - return this._flowSequenceItemList; - }, set: function(e3) { - this._flowSequenceItemList = this.reviveArray(e3, u); - } }, supportedLanguageOptions: { enumerable: true, get: function() { - return this._supportedLanguageOptions; - }, set: function(e3) { - this._supportedLanguageOptions = this.reviveArray(e3, c); - } }, variables: { enumerable: true, get: function() { - return this._variables; - }, set: function(e3) { - this._variables = this.reviveArray(e3, n2); - } }, systemInitialValues: { enumerable: true, get: function() { - return this._systemInitialValues; - }, set: function(e3) { - this._systemInitialValues = this.reviveMap(e3, s, false); - } }, getConfiguration: { value: function(e3, t3) { - if (t3?.isForFlowYaml) { - const t4 = { name: e3.name }; - return e3.description && (t4.description = e3.description), t4; + getBotCategoryForBotRunnable(e3) { + if (!o.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 ? u.dialogEngineBotManager.getItem(t3.botId) : null; } - return this; - } } }), e2.exports = p; - }, 59005: (e2, t2, i2) => { + } + t2.dialogEngineVersionManager = new m(); + }, 8625(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FormInputType = t2.PROP_IS_REQUIRED = t2.PROP_IS_MULTIPLE_LINE = t2.PROP_PLACEHOLDER_TEXT = t2.PROP_SUBTITLE = t2.PROP_TITLE = void 0; - const n2 = i2(31635), r2 = i2(75849), o = n2.__importStar(i2(9345)), a = i2(80428), s = i2(14394), l = i2(94765); - t2.PROP_TITLE = "title", t2.PROP_SUBTITLE = "subtitle", t2.PROP_PLACEHOLDER_TEXT = "placeholderText", t2.PROP_IS_MULTIPLE_LINE = "isMultipleLine", t2.PROP_IS_REQUIRED = "isRequired"; - class u extends l.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "FormInputType"; + t2.dialogflowAgentManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 r.default { + get requiredAuth() { + return l.externalAuthorizations.authStrings.integrationView; } - convertLitToExpression(e3, t3) { - return ""; + get dependencyType() { + return d.DialogflowAgent; } - _getLiteralValueOfExpression() { - return ""; + 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 = o.exactMatch, this.dependencyContext = c.dialogflow.dialogflowAgent, this.searchField = "name", this.uiMetadataSectionName = "dialogflowAgents", this.className = "DialogflowAgentManager", this._initialize(); } - createExpressionOptionClass() { - return new r2.ExpressionTypeFormInputOptions(); + _createItemViewModel(e3) { + return new s.DialogflowAgentViewModel(e3); } - get supportsLiteralEditor() { - return true; + } + t2.dialogflowAgentManager = new _(); + }, 32678(e2, t2, i2) { + "use strict"; + t2.dialogflowCxAgentManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 r.default { + get requiredAuth() { + return l.externalAuthorizations.authStrings.integrationView; } - getChooser(e3) { - var t3; - if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(s.globalTypes.chooser, o.settings.exact)) return e3.propertyParent; + get dependencyType() { + return d.DialogflowCxAgent; } - getPropTitle(e3) { - return e3.getProperty(t2.PROP_TITLE); + 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 = o.exactMatch, this.dependencyContext = c.dialogflowCx.dialogflowCxAgent, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "dialogflowCxAgents", this._initialize(); } - getPropSubtitle(e3) { - return e3.getProperty(t2.PROP_SUBTITLE); + _createItemViewModel(e3) { + return new s.default(e3); } - getPropPlaceholderText(e3) { - return e3.getProperty(t2.PROP_PLACEHOLDER_TEXT); + } + t2.dialogflowCxAgentManager = new _(); + }, 66800(e2, t2, i2) { + "use strict"; + t2.digitalAudioManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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; } - getPropIsMultipleLine(e3) { - return e3.getProperty(t2.PROP_IS_MULTIPLE_LINE); + get dependencyType() { + return d.DigitalAudio; } - getPropIsRequired(e3) { - return e3.getProperty(t2.PROP_IS_REQUIRED); + constructor() { + super(), this.topic = r.getTopic("DigitalAudioManager"), this.apiCallList = a.getDigitalAudioResponseAssets, this.apiCallSingle = a.getResponseAsset, this._rawServerCache = {}, this.className = "DigitalAudioManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = c.generic.digitalAudio, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "digitalAudios", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`form-input-${i3.name}`), n3.options.setDefaultToNoValue(true), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_TITLE: - case t2.PROP_SUBTITLE: - case t2.PROP_PLACEHOLDER_TEXT: - n3.options.setIsOptional(true); - case t2.PROP_IS_MULTIPLE_LINE: - case t2.PROP_IS_REQUIRED: - } + _createItemViewModel(e3) { + return new u.default(e3); } } - t2.FormInputType = u, u.typeIdentifier = a.expressionTypeNames.formInput; - }, 59046: (e2, t2, i2) => { + t2.digitalAudioManager = new p(); + }, 57467(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(87921)), o = i2(80428), a = n2.__importDefault(i2(65302)); - class s extends r2.default { - get className() { - return "CommunicationFacets"; + t2.digitalBotConnectorIntegrationManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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; } - get isCommunicationFacets() { - return true; + get dependencyType() { + return _.DigitalBotConnectorIntegration; } - _facetGetExpressionItemLitValue(e3) { - return e3.getLitAsString(); + constructor() { + super(), this.topic = r.getTopic("DigitalBotConnectorIntegrationManager"), this.apiCallList = a.getDigitalBotConnectorIntegrations, this.apiCallSingle = a.getIntegration, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [l.digitalBotConnectorActionType], this.className = "DigitalBotConnectorIntegrationManager", this.defaultMatchingStyle = o.exactMatch, this.dependencyContext = p.botConnector.digitalConnectorIntegration, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "digitalBotIntegration", this._initialize(); } - _facetGetExpressionType() { - return a.default.getGlobalTypeGroup().getType(o.expressionTypeNames.communication, this.isCollection); + _createItemViewModel(e3) { + return new d.IntegrationViewModel(e3); } - _facetValidateValue(e3, t3) { + get _networkModel() { + return c.Integration; } } - t2.default = s; - }, 59061: (e2, t2, i2) => { + t2.digitalBotConnectorIntegrationManager = new h(); + }, 62902(e2, t2, i2) { "use strict"; - 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), 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); + t2.digitalBotConnectorManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - checkVersion(e3) { - e3.checkVersion(this.type.version); + get dependencyType() { + return m.DigitalBotConnector; } - get className() { - return D; + constructor() { + super(), this.topic = s.getTopic("DigitalBotConnectorManager"), this.apiCallList = r.getDigitalBotConnectorBots, this.apiCallSingle = r.getDigitalBotConnectorBot, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [c.digitalBotConnectorActionType], this.className = "DigitalBotConnectorManager", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = _.botConnector.digitalConnectorName, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "digitalBotConnector", this._initialize(); } - clone() { - return new R(this); + areServerItemViewModelsEqual(e3, t3) { + return e3 === t3 || o.default.isEqual(e3, t3); } - get deletionTooltip() { - return this.getDeletionTooltip(); + createAndAddBot(e3, t3, i3, n3) { + const o2 = new h({ id: e3, name: t3, botCompositeTag: i3, integrationId: n3 }); + this.addItem(o2); + } + _createItemViewModel(e3) { + return new l.BotConnectorViewModel(e3); } - getDeletionTooltip(e3) { - let t3; - 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 _networkModel() { + return h; } - get allowInitialValueForReadOnly() { - return this.model.allowInitialValueForReadOnly; + _registerWithManifest() { } - get deprecatedId() { - return this.model.deprecatedId; + manifestFilter() { + return false; } - get deprecatedName() { - return this.model.deprecatedName; + getBotIntegrationForBotCategory(e3) { + if (!o.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 ? d.digitalBotConnectorIntegrationManager.getItem(t3.integrationId) : null; } - get description() { - return o.default.isObject(this.model.descriptionOverrides) && this._model.descriptionOverrides[this.parentFlow.type] || this._model.description; + getItem(e3, t3) { + const i3 = t3, n3 = o.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotCategoryId) ? i3.getUniqueBotCategoryId() : e3; + return super.getItem(n3); } - set description(e3) { - const t3 = {}; - this.getDescriptionCanSet(t3) ? this._model.description = e3 : P.errorPropertySet(this, "description", e3, t3.code); + } + t2.digitalBotConnectorManager = new g(); + }, 53482(e2, t2, i2) { + "use strict"; + t2.digitalBotConnectorVersionManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - setSlotVariableDescription(e3, t3) { - t3 ? this._model.description = e3 : this.description = e3; + get dependencyType() { + return m.DigitalBotConnector; } - 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.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)); + constructor() { + super(), this.topic = l.getTopic("DigitalBotConnectorVersionManager"), this.apiCallList = r.getDigitalBotConnectorBotVersions, this.apiCallSingle = r.getDigitalBotConnectorBotVersion, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "version", this.actionsForUsageSearch = [d.digitalBotConnectorActionType], this.caseSensitiveIds = true, this.className = "DigitalBotConnectorVersionManager", this.defaultMatchingStyle = s.exactMatch, this.dependencyContext = h.botConnector.digitalConnectorVersion, this.idEquivalent = "archInternalId", this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "digitalBotConnectorVersion", this._initialize(); } - get iconGux() { - return this.type.getIconGux(); + addItem(e3, t3, i3) { + e3.isFromAdsValidationResults && (p.digitalBotConnectorManager.createAndAddBot(e3.id, e3.name, e3.botId, e3.integrationId), e3 = r.ensureCorrectVersionProperties(e3, null, e3.id, e3.integrationId)); + const n3 = !!e3.intents && e3.intents.length > 0; + return super.addItem(e3, n3); } - get isNeeded() { - return this.hasUsagesForFlow(this.parentFlow) || this.isInPublishedFlowSchema || this.isSlotVariable || this.isFormScopedVariable; + addItemToFlowMetadata(e3, t3, i3) { + const n3 = o.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : i3; + return super.addItemToFlowMetadata(e3, t3, n3); } - get isDestroyed() { - return this._destroyed; + get _networkModel() { + return a.default; } - isDestroying() { - return this._destroyed; + _createItemViewModel(e3) { + return new u.BotConnectorVersionViewModel(e3); } - get isDestroyedOrDestroying() { - return this._destroyed; + getItemFromFlowMetadata(e3, t3) { + const i3 = o.default.isFunction(null == e3 ? void 0 : e3.getUniqueBotRunnableId) ? e3.getUniqueBotRunnableId() : t3, n3 = super.getItemFromFlowMetadata(e3, i3); + return n3 && (n3.model = r.ensureCorrectVersionProperties(n3.model, n3.botId, e3.bot.idValue, n3.integrationId)), n3; } - get expandedKey() { - return N.default.getExpandedKey(this.name, this.id, this.parent); + getBotCategoryForBotRunnable(e3, t3) { + if (!o.default.isString(e3)) return this.topic.error("Object passed to getBotCategoryForBotRunnable was not a string: " + e3), null; + const i3 = this.getItem(e3.toLowerCase(), t3); + return i3 ? p.digitalBotConnectorManager.getItem(i3.botId, t3) : null; } - get facets() { - return this.model.facets; + getItem(e3, t3) { + const i3 = t3, n3 = o.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotRunnableId) ? i3.getUniqueBotRunnableId() : e3; + return super.getItem(n3); } - set facets(e3) { - this.model.facets = e3 || this.model.facets; + } + t2.digitalBotConnectorVersionManager = new g(); + }, 54251(e2, t2, i2) { + "use strict"; + t2.divisionManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 c.externalAuthorizations.authStrings.divisionsView; } - fireVariableChanged() { - const e3 = { newVariable: this, oldVariable: { _destroyed: false, name: this.name } }; - return g.fireEvent(this.parent, h.variableChanged, e3); + get dependencyType() { + return this._featureEnabled ? m.Division : void 0; } - 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); + 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, r.bootstrapDataLoaded.then(() => { + this._featureEnabled = (0, _.isFeatureAvailable)(d.default.customConversationAttributes), this._initialize(); + }), r.getAuthenticatedPromise().then(() => { + this.getAllDivisions().then(() => { + o.default.each(r.getConnectedUser().divisions, (e3) => { + const t3 = this.getItem(e3.id); + t3 && (e3.name = t3.name, e3.isHomeDivision = t3.isHomeDivision); + }), r.setDivisionsLoaded(); + }, (e3) => { + this.topic.errorPromise(e3, "Failed to load divisions for organization."), r.setDivisionsLoaded(); }); - } 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); + getAllDivisions() { + return n2.__awaiter(this, void 0, void 0, function* () { + let e3 = 1; + const t3 = new s.default(this); + for (yield this.getConfigListPage(t3); this.canLoadMore && e3 <= 16; ) e3++, t3.pageNumber += 1, yield this.getConfigListPage(t3); + this.canLoadMore && this.topic.error(`Failed to load all divisions for organization, exceeded max requests: ${e3} -- lastPageNumber: ${t3.pageNumber} -- totalItemsOnServer:${this.totalItemsOnServer} -- totalRetrieved:${Object.values(this.items).length}`); + }); } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - if (this.isFlowManagedVariable && !this.getInitialValueSupported()) return; - const i3 = { name: this.name }; - 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; + resetState() { } - getDescriptionCanSet(e3, t3, i3) { - return !!this._getVarIsWritable(t3 ? e3 : void 0) && !this.isFlowManagedOrSystem; + _createItemViewModel(e3) { + return new u.DivisionViewModel(e3); } - getExpressionTextWithNameFallback() { - return this.expressionText ? this.expressionText : this.name; + } + t2.divisionManager = new g(); + }, 91035(e2, t2, i2) { + "use strict"; + t2.emailScriptManager = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(24032), r = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); + class c extends a.ScriptManager { + constructor() { + super("EmailScriptManager"), this.topic = (0, o.getTopic)("emailScriptManager"), this.actionsForUsageSearch = [r.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.email), this.dependencyContext = s.screenPop.selectedEmailScript, this.scriptFeatureType = u.email; } - get expressionText() { - if (this._model.expressionText) return this._model.expressionText; + } + t2.emailScriptManager = new c(); + }, 91674(e2, t2, i2) { + "use strict"; + t2.emergencyGroupManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(50461)), r = 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 r.default { + get requiredAuth() { + return (0, p.isFeatureAvailable)(c.default.divisionedRoutingObjects) ? u.externalAuthorizations.authStrings.emergencyGroupSearch : u.externalAuthorizations.authStrings.emergencyGroupView; } - getInitialValueCanSet(e3, t3) { - return !!this._getVarIsWritable(t3 ? e3 : void 0) && !!f.variablePropertySupportedSetService.getCanSetVariableFlowSchemaInputDependentProperty(e3, this.isInPublishedFlowInputSchema) && this.getInitialValueSupported(); + get dependencyType() { + return h.EmergencyGroup; } - getInitialValueSupported() { - return !("__CALL_INVOCATION_DATA__" !== this.model.id || !this.parentFlow.isVoiceSurveyFlow) || !((this.isSystemVariable || this.isFormScopedVariable || this.isFlowManagedSlotVariable) && !this.allowInitialValueForReadOnly || !this.initValue); + constructor() { + super(), this.topic = (0, d.getTopic)("emergencyGroupManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [l.evaluateScheduleGroupActionType, s.evaluateScheduleActionType], this.actionPropertyForUsageSearch = "emergencyGroupId", this.apiCallList = o.getEmergencyGroups, this.apiCallSingle = o.getEmergencyGroup, this.uiMetadataSectionName = "emergencyGroups", this.dependencyContext = _.evaluateSchedules.emergencyGroup, this.className = "EmergencyGroupManager", this._initialize(); } - getNameCanSet(e3, t3) { - return !!this._getVarIsWritable(t3 ? e3 : void 0) && !this.isFlowManagedOrSystem && f.variablePropertySupportedSetService.getCanSetVariableFlowSchemaDependentProperty(e3, this.isInPublishedFlowInputSchema, this.isInPublishedFlowOutputSchema); + _createItemViewModel(e3) { + return new a.EmergencyGroupViewModel(e3); } - getIsInputCanSet(e3, t3) { - return !!this._getVarIsWritable(t3 ? e3 : void 0) && f.variablePropertySupportedSetService.getCanSetScopedVariableTypeAsInput(e3, this.parentFlow, this.scope, this.isInPublishedFlowInputSchema, this.type); + } + t2.emergencyGroupManager = new m(); + }, 65220(e2, t2, i2) { + "use strict"; + t2.fileManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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; } - getIsInputSupported(e3) { - return f.variablePropertySupportedSetService.getFlowTypeSupportsScopedInputVariableOfType(e3, this.parentFlow, this.scope, this.type); + get dependencyType() { + return d.File; } - getIsOutputCanSet(e3, t3) { - return !!this._getVarIsWritable(t3 ? e3 : void 0) && f.variablePropertySupportedSetService.getCanSetScopedVariableTypeAsOutput(e3, this.parentFlow, this.scope, this.isInPublishedFlowOutputSchema, this.type); + constructor() { + super(), this.topic = a.getTopic("FileManager"), this.apiCallList = r.getFileResponseAssets, this.apiCallSingle = r.getResponseAsset, this._rawServerCache = {}, this.className = "FileManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = c.file.file, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "files", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } - getIsOutputSupported(e3) { - return f.variablePropertySupportedSetService.getFlowTypeSupportsScopedOutputVariableOfType(e3, this.parentFlow, this.scope, this.type); + _createItemViewModel(e3) { + return new u.default(e3); } - getScopeCanSet(e3, t3) { - return !!this._getVarIsWritable(t3 ? e3 : void 0) && !this.isFlowManagedOrSystem && f.variablePropertySupportedSetService.getCanSetVariableFlowSchemaDependentProperty(e3, this.isInPublishedFlowInputSchema, this.isInPublishedFlowOutputSchema); + } + t2.fileManager = new p(); + }, 6109(e2, t2, i2) { + "use strict"; + t2.FlowListManager = void 0; + const n2 = i2(31635), o = i2(69706), r = n2.__importDefault(i2(98114)), a = n2.__importDefault(i2(90396)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(37345); + class c extends s.default { + get requiredAuth() { + return l.externalAuthorizations.authStrings.flowView; } - getIsSecureCanSet(e3, t3) { - return !!this._getVarIsWritable(t3 ? e3 : void 0) && (this.getIsSecureSupported(e3) || this.isSecure); + constructor() { + super(), this.apiCallList = u.getFlows, this.apiCallSingle = u.getFlow, this.isFlowListManager = true, this.hideDeletedItems = true, this.searchWordSplitWildcard = true; } - getIsSecureSupported(e3) { - return f.variablePropertySupportedSetService.getFlowTypeSupportsSecureVariables(e3, this.parentFlow); + get dependencyContext() { + return this._dependencyContext || (this._dependencyContext = r.default.getFlowTypeDisplayName(this.flowType)), this._dependencyContext; } - getIsDeprecatedIdMatch(e3) { - return !(!this.deprecatedId || !e3) && this.deprecatedId === e3; + isValidItem(e3) { + return this.flowType && e3.type && this.flowType === e3.type.toLocaleLowerCase(); } - getIsDeprecatedNameMatch(e3) { - return !(!this.deprecatedName || !e3) && this.deprecatedName.toLocaleLowerCase() === e3.toLocaleLowerCase(); + get keepDeletedItems() { + return this.flowType === o.flowTypeCommonModule; } - initializeDesignTime() { - this.isSlotVariable && (this._slotHandling = void 0), this.initValue && this.initValue.initializeDesignTime(), this._setOutOfService(); + _createItemViewModel(e3) { + return new a.default(e3); } - get initializeDesignTimeCalled() { - return !this.initValue || this.initValue.initializeDesignTimeCalled; + } + t2.FlowListManager = c; + }, 10384(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.botFlowListManager = t2.BotFlowListManager = void 0; + const n2 = i2(98489), o = i2(30801), r = i2(6109), a = i2(96618), s = i2(24032), l = i2(27862); + class u extends r.FlowListManager { + get dependencyType() { + return l.BotFlow; } - get isInPublishedFlowSchema() { - return !!(this.parentFlow && this.parentFlow.info && this.isFlowVariable) && this.parentFlow.info.hasSchemaVariable(this.name); + constructor() { + super(), this.topic = (0, s.getTopic)("botListManager"), this.briefManager = n2.briefBotFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeBot }, this.className = "BotFlowListManager", this.uiMetadataSectionName = "botFlows", this.actionsForUsageSearch = [o.callBotFlowActionType], this.actionPropertyForUsageSearch = "botFlow", this.flowType = a.flowTypes.flowTypeBot, this._initialize(); } - get isInPublishedFlowInputSchema() { - return !!(this.parentFlow && this.parentFlow.info && this.isFlowVariable) && this.parentFlow.info.hasSchemaInputVariable(this.name); + } + t2.BotFlowListManager = u, t2.botFlowListManager = new u(); + }, 96802(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.businessProcessFlowListManager = t2.BusinessProcessFlowListManager = void 0; + const n2 = i2(96618), o = i2(24032), r = i2(28995), a = i2(6109), s = i2(27862); + class l extends a.FlowListManager { + get dependencyType() { + return s.BusinessProcessFlow; } - get isInPublishedFlowOutputSchema() { - return !!(this.parentFlow && this.parentFlow.info && this.isFlowVariable) && this.parentFlow.info.hasSchemaOutputVariable(this.name); + constructor() { + super(), this.topic = (0, o.getTopic)("businessProcessFlowListManager"), this.briefManager = r.briefBusinessProcessFlowListManager, this.additionalQueryParams = { type: n2.flowTypes.flowTypeBusinessProcess }, this.className = "BusinessProcessFlowListManager", this.flowType = n2.flowTypes.flowTypeBusinessProcess, this._initialize(); } - get isFlowVariable() { - return !!this.parent && !!this.parent.isFlowViewModel; + } + t2.BusinessProcessFlowListManager = l, t2.businessProcessFlowListManager = new l(); + }, 99678(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.commonModuleFlowListManager = t2.CommonModuleFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(77109), r = i2(30801), a = i2(6109), s = i2(96618), l = i2(27862); + class u extends a.FlowListManager { + get dependencyType() { + return l.CommonModuleFlow; } - get isInternal() { - return this.model.isInternal; + constructor() { + super(), this.topic = n2.getTopic("CommonModuleFlowListManager"), this.briefManager = o.briefCommonModuleFlowListManager, this.additionalQueryParams = { type: s.flowTypes.flowTypeCommonModule }, this.actionPropertyForUsageSearch = "flowId", this.actionsForUsageSearch = [r.callCommonModuleActionType], this.className = "CommonModuleFlowListManager", this.uiMetadataSectionName = "commonModuleFlows", this.flowType = s.flowTypes.flowTypeCommonModule, this._rawServerCache = {}, this._initialize(); } - set isInternal(e3) { - this.model.isInternal = e3; + } + t2.CommonModuleFlowListManager = u, t2.commonModuleFlowListManager = new u(); + }, 64410(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.digitalBotFlowListManager = t2.DigitalBotFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(6109), r = i2(96618), a = i2(27862); + class s extends o.FlowListManager { + get dependencyType() { + return a.DigitalBotFlow; } - get isInput() { - return this.model.isInput; + constructor() { + super(), this.topic = n2.getTopic("DigitalBotFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeDigitalBot }, this.className = "DigitalBotFlowListManager", this.flowType = r.flowTypes.flowTypeDigitalBot, this._rawServerCache = {}, this._initialize(); } - set isInput(e3) { - if (this.model.isInput === e3) return; - const t3 = {}; - this.getIsInputCanSet(t3) ? (this.model.isInput = e3, y.validateItem(this)) : P.errorPropertySet(this, "isInput", e3, t3.code); + } + t2.DigitalBotFlowListManager = s, t2.digitalBotFlowListManager = new s(); + }, 68297(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.emailSendFlowListManager = t2.EmailSendFlowListManager = void 0; + const n2 = i2(96618), o = i2(24032), r = i2(10420), a = i2(6109), s = i2(27862); + class l extends a.FlowListManager { + get dependencyType() { + return s.EmailSendFlow; } - get isOutput() { - return this.model.isOutput; + constructor() { + super(), this.topic = (0, o.getTopic)("emailSendFlowListManager"), this.briefManager = r.briefEmailSendFlowListManager, this.additionalQueryParams = { type: n2.flowTypes.flowTypeEmailSend }, this.className = "EmailSendFlowListManager", this.flowType = n2.flowTypes.flowTypeEmailSend, this._initialize(); } - set isOutput(e3) { - if (this.model.isOutput === e3) return; - const t3 = {}; - this.getIsOutputCanSet(t3) ? (this.model.isOutput = e3, y.validateItem(this)) : P.errorPropertySet(this, "isOutput", e3, t3.code); + } + t2.EmailSendFlowListManager = l, t2.emailSendFlowListManager = new l(); + }, 30260(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAllFlowListManagers = l, t2.getItem = function(e3) { + if (!e3) return; + let t3; + return o.default.find(l(), (i3) => (t3 = i3.getItem(e3), !!t3)), t3; + }, t2.removeItem = function(e3) { + e3 && o.default.find(l(), (t3) => t3.flowType === e3.type && (t3.removeItemWithId(e3.id, false), true)); + }, t2.getManagerForFlowType = function(e3, t3) { + let i3 = a.default.allListManagers.find((i4) => i4.isFlowListManager && i4.flowType === e3 && !!i4.isBriefObjectManager == !!t3); + return i3 || (i3 = a.default.allListManagers.find((t4) => t4.isFlowListManager && t4.flowType === e3)), i3 || r.error(`Missing flow manager for ${e3}`), i3; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(12847)), a = n2.__importDefault(i2(47532)); + let s; + function l() { + return s || (s = o.default.where(a.default.allListManagers, { isFlowListManager: true }), s); + } + i2(10384), i2(96802), i2(99678), i2(64410), i2(68297), i2(13106), i2(94564), i2(90480), i2(61343), i2(4085), i2(36843), i2(33690), i2(10125), i2(81562), i2(66908), i2(8249), i2(15787), i2(91156), i2(27839), i2(48002); + }, 13106(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundChatListManager = t2.InboundChatListManager = void 0; + const n2 = i2(6109), o = i2(96618), r = i2(24032), a = i2(27862); + class s extends n2.FlowListManager { + get dependencyType() { + return a.InboundChatFlow; } - get isInputOrOutput() { - return this.isInput || this.isOutput; + constructor() { + super(), this.topic = (0, r.getTopic)("inboundChatListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeInboundChat }, this.className = "InboundChatListManager", this.flowType = o.flowTypes.flowTypeInboundChat, this._initialize(); } - 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: 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; - n3 = false; - } - } - if (i3.matchName) { - let r3; - if (this.name ? r3 = "caseInsensitive" === i3.matchName ? this.lowerName !== e3.lowerName : this.name !== e3.name : e3.name && (r3 = true), r3) { - if (t3 && t3.addNameMismatch(this.name, e3.name), i3.shortCircuit) return false; - n3 = false; - } - } - if (i3.matchInput && this.isInput !== e3.isInput) { - if (t3 && t3.addInputMismatch(this.isInput, e3.isInput), i3.shortCircuit) return false; - n3 = false; - } - if (i3.matchOutput && this.isOutput !== e3.isOutput) { - if (t3 && t3.addOutputMismatch(this.isOutput, e3.isOutput), i3.shortCircuit) return false; - n3 = false; - } - return n3; + } + t2.InboundChatListManager = s, t2.inboundChatListManager = new s(); + }, 94564(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundEmailListManager = t2.InboundEmailListManager = void 0; + const n2 = i2(96618), o = i2(6109), r = i2(24032), a = i2(27862); + class s extends o.FlowListManager { + get dependencyType() { + return a.InboundEmailFlow; } - get isReadOnly() { - return this.model.isReadOnly || this.isFormScopedVariable || this.isFlowManagedSlotVariable; + constructor() { + super(), this.topic = (0, r.getTopic)("inboundEmailListManager"), this.additionalQueryParams = { type: n2.flowTypes.flowTypeInboundEmail }, this.className = "InboundEmailListManager", this.flowType = n2.flowTypes.flowTypeInboundEmail, this._initialize(); } - get isSecure() { - return this.model.isSecure; + } + t2.InboundEmailListManager = s, t2.inboundEmailListManager = new s(); + }, 90480(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundFlowListManager = t2.InboundFlowListManager = void 0; + const n2 = i2(80665), o = i2(6109), r = i2(96618), a = i2(24032), s = i2(27862); + class l extends o.FlowListManager { + get dependencyType() { + return s.InboundCallFlow; } - set isSecure(e3) { - if (this.model.isSecure === e3) return; - const t3 = {}; - 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); + constructor() { + super(), this.topic = (0, a.getTopic)("inboundFlowListManager"), this.briefManager = n2.briefInboundFlowListManager, this.additionalQueryParams = { type: r.flowTypes.flowTypeInboundCall }, this.className = "InboundFlowListManager", this.flowType = r.flowTypes.flowTypeInboundCall, this._initialize(); } - get isSystemOrFlowVariable() { - return this.isSystemVariable || this.isFlowVariable; + } + t2.InboundFlowListManager = l, t2.inboundFlowListManager = new l(); + }, 61343(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundShortMessageListManager = t2.InboundShortMessageListManager = void 0; + const n2 = i2(96618), o = i2(24032), r = i2(6109), a = i2(27862); + class s extends r.FlowListManager { + get dependencyType() { + return a.InboundShortMessageFlow; } - get isSystemVariable() { - return this.model.isSystemVariable; + constructor() { + super(), this.topic = (0, o.getTopic)("inboundShortMessageListManager"), this.additionalQueryParams = { type: n2.flowTypes.flowTypeInboundShortMessage }, this.className = "InboundShortMessageListManager", this.flowType = n2.flowTypes.flowTypeInboundShortMessage, this._initialize(); } - get isSystemScopedVariable() { - return v.hasScope(v.scopes.system, this.name); + } + t2.InboundShortMessageListManager = s, t2.inboundShortMessageListManager = new s(); + }, 4085(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.inqueueCallFlowListManager = t2.InqueueCallFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(32), r = i2(6109), a = i2(96618), s = i2(27862); + class l extends r.FlowListManager { + get dependencyType() { + return s.InqueueCallFlow; } - get isStateVariable() { - return !!this.parent && !!this.parent.isStateLike; + constructor() { + super(), this.topic = n2.getTopic("inqueueFlowListManager"), this.briefManager = o.briefInqueueCallFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeInQueueCall }, this.className = "InqueueFlowListManager", this.flowType = a.flowTypes.flowTypeInQueueCall, this._initialize(); } - get isTaskVariable() { - return !!this.parent && !!this.parent.isTaskLike; + } + t2.InqueueCallFlowListManager = l, t2.inqueueCallFlowListManager = new l(); + }, 36843(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.inqueueEmailFlowListManager = t2.InqueueEmailFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(5896), r = i2(6109), a = i2(96618), s = i2(27862); + class l extends r.FlowListManager { + get dependencyType() { + return s.InqueueEmailFlow; } - get isSlotVariable() { - return v.hasScope(v.scopes.slot, this.name); + constructor() { + super(), this.topic = n2.getTopic("InqueueEmailFlowListManager"), this.briefManager = o.briefInQueueEmailFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeInQueueEmail }, this.className = "InqueueEmailFlowListManager", this.flowType = a.flowTypes.flowTypeInQueueEmail, this._rawServerCache = {}, this._initialize(); } - get isFlowManagedSlotVariable() { - const e3 = this.slotHandling; - return e3 === S.SlotHandlingType.surveyFormQuestionFollowUpSlot || e3 === S.SlotHandlingType.surveyFormQuestionSlot; + } + t2.InqueueEmailFlowListManager = l, t2.inqueueEmailFlowListManager = new l(); + }, 33690(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.inqueueShortMessageFlowListManager = t2.InqueueShortMessageFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(17475), r = i2(6109), a = i2(96618), s = i2(27862); + class l extends r.FlowListManager { + get dependencyType() { + return s.InqueueShortMessageFlow; } - get isFlowManagedVariable() { - return this.isSlotVariable || this.isFormScopedVariable; + constructor() { + super(), this.topic = n2.getTopic("InqueueShortMessageFlowListManager"), this.briefManager = o.briefInQueueShortMessageFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeInQueueShortMessage }, this.className = "InqueueShortMessageFlowListManager", this.flowType = a.flowTypes.flowTypeInQueueShortMessage, this._rawServerCache = {}, this._initialize(); } - get isFlowManagedOrSystem() { - return this.isSystemVariable || this.isFlowManagedVariable; + } + t2.InqueueShortMessageFlowListManager = l, t2.inqueueShortMessageFlowListManager = new l(); + }, 10125(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.outboundFlowListManager = t2.OutboundFlowListManager = void 0; + const n2 = i2(89986), o = i2(6109), r = i2(96618), a = i2(24032), s = i2(27862); + class l extends o.FlowListManager { + get dependencyType() { + return s.OutboundCallFlow; } - get isStandardSlotVariable() { - return this.slotHandling === S.SlotHandlingType.standardSlot; + constructor() { + super(), this.topic = (0, a.getTopic)("outboundFlowListManager"), this.briefManager = n2.briefOutboundFlowListManager, this.additionalQueryParams = { type: r.flowTypes.flowTypeOutboundCall }, this.className = "OutboundFlowListManager", this.flowType = r.flowTypes.flowTypeOutboundCall, this._initialize(); } - get isFlowScopedVariable() { - return v.hasScope(v.scopes.flow, this.name); + } + t2.OutboundFlowListManager = l, t2.outboundFlowListManager = new l(); + }, 81562(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.secureCallFlowListManager = t2.SecureCallFlowListManager = void 0; + const n2 = i2(46761), o = i2(6109), r = i2(96618), a = i2(24032), s = i2(27862); + class l extends o.FlowListManager { + get dependencyType() { + return s.SecureCallFlow; } - get isFormScopedVariable() { - return v.hasScope(v.scopes.form, this.name); + constructor() { + super(), this.topic = (0, a.getTopic)("secureCallFlowListManager"), this.briefManager = n2.briefCallSecureFlowListManager, this.additionalQueryParams = { type: r.flowTypes.flowTypeSecureCall }, this.className = "SecureCallFlowListManager", this.flowType = r.flowTypes.flowTypeSecureCall, this._initialize(); } - get slotHandling() { - var e3, t3; - if (this.isSlotVariable) { - if (!this._slotHandling) { - const i3 = null === (t3 = null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.surveyFormInfo) || void 0 === t3 ? void 0 : t3.formToSlotVariableMappings; - if (i3) { - let e4; - 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 = S.SlotHandlingType.surveyFormQuestionFollowUpSlot : this._slotHandling = S.SlotHandlingType.surveyFormQuestionSlot, e4 = true); - }); - }), e4 || (this._slotHandling = S.SlotHandlingType.standardSlot); - } else this._slotHandling = S.SlotHandlingType.standardSlot; - } - return this._slotHandling; - } + } + t2.SecureCallFlowListManager = l, t2.secureCallFlowListManager = new l(); + }, 66908(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.surveyInviteListManager = t2.SurveyInviteListManager = void 0; + const n2 = i2(6109), o = i2(96618), r = i2(24032), a = i2(27862); + class s extends n2.FlowListManager { + get dependencyType() { + return a.SurveyInviteFlow; } - get taskLikeContainerName() { - return this.isFlowScopedVariable || this.isSlotVariable || !this.parent ? void 0 : this.parent.containerLabelAndName; + constructor() { + super(), this.topic = (0, r.getTopic)("surveyInviteListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeSurveyInvite }, this.className = "SurveyInviteListManager", this.flowType = o.flowTypes.flowTypeSurveyInvite, this._initialize(); } - get isUnavailable() { - return this._isUnavailable; + } + t2.SurveyInviteListManager = s, t2.surveyInviteListManager = new s(); + }, 8249(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.voiceFlowListManager = t2.VoiceFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(14944), r = i2(6109), a = i2(96618), s = i2(27862); + class l extends r.FlowListManager { + get dependencyType() { + return s.VoiceFlow; } - set isUnavailable(e3) { - this._isUnavailable = !!e3; + constructor() { + super(), this.topic = n2.getTopic("VoiceFlowListManager"), this.briefManager = o.briefVoiceFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeVoice }, this.className = "VoiceFlowListManager", this.flowType = a.flowTypes.flowTypeVoice, this._rawServerCache = {}, this._initialize(); } - get isVariableViewModel() { - return true; + } + t2.VoiceFlowListManager = l, t2.voiceFlowListManager = new l(); + }, 15787(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.voiceSurveyFlowListManager = t2.VoiceSurveyFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(21706), r = i2(6109), a = i2(96618), s = i2(27862); + class l extends r.FlowListManager { + get dependencyType() { + return s.VoiceSurveyFlow; } - get isGlobalVariable() { - return v.getIsGlobalScope(this.scope); + constructor() { + super(), this.topic = n2.getTopic("VoiceSurveyFlowListManager"), this.briefManager = o.briefVoiceSurveyFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeVoiceSurvey }, this.className = "VoiceSurveyFlowListManager", this.flowType = a.flowTypes.flowTypeVoiceSurvey, this._rawServerCache = {}, this._initialize(); } - get lowerName() { - return this._cachedLowerCaseName || (this._cachedLowerCaseName = this.name ? this.name.toLocaleLowerCase() : ""), this._cachedLowerCaseName; + } + t2.VoiceSurveyFlowListManager = l, t2.voiceSurveyFlowListManager = new l(); + }, 91156(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.voicemailFlowListManager = t2.VoicemailFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(5261), r = i2(6109), a = i2(96618), s = i2(27862); + class l extends r.FlowListManager { + get dependencyType() { + return s.VoicemailFlow; } - get lowerUnscopedName() { - return this._cachedLowerUnscopedName || (this._cachedLowerUnscopedName = this.model.unscopedName ? this.model.unscopedName.toLocaleLowerCase() : ""), this._cachedLowerUnscopedName; + constructor() { + super(), this.topic = n2.getTopic("VoicemailFlowListManager"), this.briefManager = o.briefVoicemailFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeVoicemail }, this.className = "VoicemailFlowListManager", this.flowType = a.flowTypes.flowTypeVoicemail, this._rawServerCache = {}, this._initialize(); } - get canSetInputMetaData() { - return !this.isSystemVariable && (this.isTaskVariable && this.parentFlow.supportsTaskInputVariables || this.isFlowVariable && this.parentFlow.supportsFlowInputVariables); + } + t2.VoicemailFlowListManager = l, t2.voicemailFlowListManager = new l(); + }, 48002(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.workflowListManager = t2.WorkflowListManager = void 0; + const n2 = i2(6109), o = i2(96618), r = i2(24032), a = i2(27862); + class s extends n2.FlowListManager { + get dependencyType() { + return a.Workflow; } - get canSetOutputMetaData() { - return !this.isSystemVariable && (this.isTaskVariable && this.parentFlow.supportsTaskOutputVariables || this.isFlowVariable && this.parentFlow.supportsFlowOutputVariables); + constructor() { + super(), this.topic = (0, r.getTopic)("workflowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeWorkflow }, this.className = "WorkflowListManager", this.flowType = o.flowTypes.flowTypeWorkflow, this._initialize(); } - get model() { - return this._model; + } + t2.WorkflowListManager = s, t2.workflowListManager = new s(); + }, 27839(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.workitemFlowListManager = t2.WorkitemFlowListManager = void 0; + const n2 = i2(31635).__importStar(i2(24032)), o = i2(6109), r = i2(96618), a = i2(27862); + class s extends o.FlowListManager { + get dependencyType() { + return a.WorkItemFlow; } - get modelType() { - return this.model.__type; + constructor() { + super(), this.topic = n2.getTopic("WorkitemFlowListManager"), this.additionalQueryParams = { type: r.flowTypes.flowTypeWorkitem }, this.className = "WorkitemFlowListManager", this.flowType = r.flowTypes.flowTypeWorkitem, this._rawServerCache = {}, this._initialize(); } - get name() { - return this._model.name; + } + t2.WorkitemFlowListManager = s, t2.workitemFlowListManager = new s(); + }, 87889(e2, t2, i2) { + "use strict"; + t2.formResponseManager = void 0; + const n2 = i2(30801), o = i2(24032), r = i2(60609), a = i2(10535); + class s extends a.ResponseManager { + additionalItemFilter(e3) { + return e3.filter((e4) => e4.responseType === this.responseType); } - set name(e3) { - e3 !== this.name && (this.getNameCanSet() ? (o.default.each(this.expansionList, (t3) => { - t3.name = e3 + t3.name.substring(this.name.length); - }), this._model.name = e3, this._cachedLowerCaseName = void 0, this._cachedLowerUnscopedName = void 0, y.validateItem(this)) : P.errorPropertySet(this, "name", e3)); + constructor() { + super(), this.topic = (0, o.getTopic)("FormResponseManager"), this.responseType = r.CannedResponseType.form, this.actionsForUsageSearch = [n2.formActionType]; } - get initValue() { - return this._initialValue; + } + t2.formResponseManager = new s(); + }, 77841(e2, t2, i2) { + "use strict"; + t2.grammarManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(95873)), r = 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; } - get parentId() { - return this.parent ? this.parent.id : void 0; + get dependencyType() { + return p.Grammar; } - get scope() { - return v.getScope(this.name); + constructor() { + super(), this.topic = a.getTopic("GrammarManager"), this.apiCallList = o.getGrammars, this.apiCallSingle = o.getGrammar, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [s.askForSlotActionType], this.className = "GrammarManager", this.defaultMatchingStyle = r.startsWith, this.dependencyContext = _.grammars.grammarLabel, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "grammars", this.useStartsWithKeywordForExactMatch = true, this._initialize(); } - get type() { - 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); + _createItemViewModel(e3) { + return new d.GrammarViewModel(e3); } - get unscopedName() { - return v.getUnscopedName(this.name); + get _networkModel() { + return c.default; } - 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(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)(w.errors.nameContainsInvalidCharacter, t5), e3)); - } - 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)(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)(w.errors.unusedVariable, this.name), e3); + } + t2.grammarManager = new h(); + }, 98835(e2, t2, i2) { + "use strict"; + t2.groupManager = void 0; + const n2 = i2(31635).__importDefault(i2(47532)), o = i2(24032), r = i2(27862), a = i2(58650); + class s extends n2.default { + get dependencyType() { + return r.Group; } - addValidationError(e3, t3, i3) { - i3 || t3.addError(this, e3.displayString ? e3.displayString : e3); + constructor() { + super(), this.topic = (0, o.getTopic)("groupManager"), this.apiCallList = a.getGroups, this.apiCallSingle = a.getGroup, this.className = "GroupManager", this.dependencyContext = null, this.networkType = "groups", this.removeDeleted = true, this._initialize(); } - addValidationWarning(e3, t3, i3) { - i3 || t3.addWarning(this, e3.displayString ? e3.displayString : e3); + } + t2.groupManager = new s(); + }, 8758(e2, t2, i2) { + "use strict"; + t2.guideManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(11914)), r = 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; } - updateDependencies() { - var e3; - (null === (e3 = this._initialValue) || void 0 === e3 ? void 0 : e3.outOfService) || _.registerExpression(this._initialValue); + constructor() { + super(), this.topic = (0, l.getTopic)("guideManager"), this._rawServerCache = {}, this.apiCallList = o.getGuides, this.apiCallSingle = o.getGuide, this.actionsForUsageSearch = [r.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 isPartOfEnum() { - return !!this.type.isEnumOrEnumContainer || !(!this.hierarchicalParent || !this.hierarchicalParent.type.isEnumOrEnumContainer); + get requiredAuth() { + return s.externalAuthorizations.authStrings.guideView; } - get hierarchicalParent() { + get _networkModel() { + return u.default; } - get isUserCreatable() { - return !this.isFlowManagedOrSystem; + _createItemViewModel(e3) { + return new c.GuideViewModel(e3); } - _canDelete() { - return this._getVarIsWritable() && !this.isNeeded; + } + t2.guideManager = new _(); + }, 41322(e2, t2, i2) { + "use strict"; + t2.guideVersionManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(11914)), r = 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, r.getTopic)("guideVersionManager"), this._rawServerCache = {}, this.apiCallList = void 0, this.apiCallSingle = o.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(); } - _loadModel(e3) { - if (e3) { - if (this.model && o.default.each(this.model, (e4, t3) => { - this.hasOwnProperty(e4) && "name" !== t3 && delete this[t3]; - }), this._model = e3, o.default.each(this.model, (e4, t3) => { - if ("__type" === t3) return; - if ("name" === t3) return; - if ("description" === t3) return; - if ("descriptionOverrides" === t3) return; - if ("isSecure" === t3) return; - if ("isInput" === t3) return; - if ("isOutput" === t3) return; - const i3 = "id" === t3; - E(this, this.model, t3, i3); - }), this.model.allowInitialValueForReadOnly || !this.model.isSystemVariable || this.getInitialValueSupported()) { - 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 || 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; - } + get requiredAuth() { + return u.externalAuthorizations.authStrings.guideVersionView; } - get allowInitialValueLiteralMode() { - var e3; - return !(!this.type.supportsLiteralEditor || false === (null === (e3 = this.type.singletonType) || void 0 === e3 ? void 0 : e3.supportsLiteralEditor)) && (!this.type.singletonType.hasPropertiesAndAllAreReadOnly || !this.type.isCustomType && (!this.isReadOnly || this.allowInitialValueForReadOnly)); + get dependencyType() { + return p.GuideVersion; } - _getVarIsWritable(e3) { - return !(!f.variablePropertySupportedSetService.getIsVariableWritable(e3, !this.isReadOnly) || !f.variablePropertySupportedSetService.getIsFlowEditable(e3, this.parentFlow)); + get _networkModel() { + return a.default; } - _setOutOfService() { - this._initialValue && (this._initialValue.outOfService = !this.getInitialValueSupported()); + _createItemViewModel(e3) { + return new l.GuideVersionViewModel(e3); } - toString() { - var e3; - return `Variable id:${this.id} type:${null === (e3 = this.type) || void 0 === e3 ? void 0 : e3.displayString} scope:${this.scope} parentId:${this.parentId}`; + } + t2.guideVersionManager = new _(); + }, 97629(e2, t2, i2) { + "use strict"; + t2.imageManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 displayValue() { - return this.model.displayValue; + get dependencyType() { + return d.Image; } - get doNotCleanupIfOrphanedSlot() { - return !!this.model.doNotCleanupIfOrphanedSlot; + constructor() { + super(), this.topic = a.getTopic("ImageManager"), this.apiCallList = r.getImageResponseAssets, this.apiCallSingle = r.getResponseAsset, this._rawServerCache = {}, this.className = "ImageManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = c.image.image, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "images", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } - set doNotCleanupIfOrphanedSlot(e3) { - this.isSlotVariable && (this.model.doNotCleanupIfOrphanedSlot = !!e3); + _createItemViewModel(e3) { + return new u.default(e3); } } - t2.default = M; - }, 59123: (e2, t2, i2) => { + t2.imageManager = new p(); + }, 69078(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(17405)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.knowledgeBaseDocumentManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get _globalTypeName() { - return "communication"; + get dependencyType() { + return p.KnowledgeBaseDocument; } - get displayTypeName() { - return "ArchValueCommunication"; + 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 = d.knowledgeSettings.knowledgeBaseDocument, this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "knowledgeBaseDocuments", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this.hasDependencyTrackingId = true, this._initialize(), r.serviceListen(r.cleanUpFlow, () => this.resetState()); } - get isArchValueCommunication() { - return true; + addItem(e3, t3, i3) { + if (e3.id.includes("/")) { + const t4 = o.default.splitOn(e3.id, "/"); + e3.id = t4[1], e3.knowledgeBase || (e3.knowledgeBase = new _(), e3.knowledgeBase.id = t4[0]); + } + return super.addItem(e3, t3, i3); + } + _createItemViewModel(e3) { + return new c.KnowledgeBaseDocumentViewModel(e3); } } - t2.default = r2; - }, 59177: (e2, t2, i2) => { + t2.knowledgeBaseDocumentManager = new h(); + }, 67801(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(98114)), s = n2.__importDefault(i2(67336)); - class l extends s.default { - constructor(e3) { - super(e3), this._coreCommonModuleSettingsViewModel = e3; - } - get displayTypeName() { - return "ArchSettingsCommonModuleFlow"; + t2.knowledgeBaseManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = 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; } - get isArchSettingsCommonModuleFlow() { - return true; + get dependencyType() { + return p.KnowledgeBase; } - get logStr() { - if (!this._coreCommonModuleSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrCompatibleFlowTypes(e3, this.compatibleFlowTypes), this._createLogStrFromParts(e3); + constructor() { + super(), this.topic = s.getTopic("KnowledgeBaseManager"), this._rawServerCache = {}, this.apiCallList = r.getKnowledgeBases, this.apiCallSingle = r.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(), o.serviceListen(o.cleanUpFlow, () => this.resetState()); } - get compatibleFlowTypes() { - return [...this._coreCommonModuleSettingsViewModel.destinationFlowTypes]; + _createItemViewModel(e3) { + return new c.default(e3); } - _ensureFlowTypeIsValidCompatibleFlowType(e3, t3) { - this._checkItemIsValidLiteralStringEnum(e3, t3, o.default.FLOW_TYPES_ALL); - const i3 = a.default.getDefinitionForFlowType(t3); - this._checkItem(e3, r2.default.isUndefined(i3), `INTERNAL ERROR - unable to find a core flow definition for the flow type '${t3}'`); - const n3 = this.coreFactory.createArchWrapper(i3); - this._checkItem(e3, !n3.isCommonModuleCompatibleFlowType, `the flow type '${t3}' is not valid a valid compatible flow type.`); + } + t2.knowledgeBaseManager = new _(); + }, 18894(e2, t2, i2) { + "use strict"; + t2.knowledgeSettingManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = 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 d.KnowledgeSetting; } - addCompatibleFlowType(e3) { - this._ensureFlowTypeIsValidCompatibleFlowType(this._infoParm("flowType", "addCompatibleFlowType"), e3); - const t3 = this._coreCommonModuleSettingsViewModel.destinationFlowTypes; - t3.indexOf(e3) < 0 && (t3.push(e3), this._coreCommonModuleSettingsViewModel.destinationFlowTypes = t3); + constructor() { + super(), this.topic = s.getTopic("KnowledgeSettingManager"), this._rawServerCache = {}, this.apiCallList = r.getKnowledgeSettings, this.apiCallSingle = r.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(), o.serviceListen(o.cleanUpFlow, () => this.resetState()); } - removeCompatibleFlowType(e3) { - this._ensureFlowTypeIsValidCompatibleFlowType(this._infoParm("flowType", "removeCompatibleFlowType"), e3); - const t3 = this._coreCommonModuleSettingsViewModel.destinationFlowTypes, i3 = t3.indexOf(e3); - i3 >= 0 && (t3.splice(i3, 1), this._coreCommonModuleSettingsViewModel.destinationFlowTypes = t3); + _createItemViewModel(e3) { + return new u.default(e3); } } - t2.default = l; - }, 59193: (e2, t2, i2) => { + t2.knowledgeSettingManager = new p(); + }, 81467(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.languageSkillManager = void 0; + const n2 = i2(31635), o = i2(24032), r = n2.__importStar(i2(1360)), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(27862), u = i2(61846); + class c extends a.default { + get requiredAuth() { + return s.externalAuthorizations.authStrings.languageSkillsView; } - get _globalTypeName() { - return "card"; + get dependencyType() { + return l.LanguageSkill; } - get buttons() { - return this._getAssignableProperty("buttons"); + constructor() { + super(), this.topic = (0, o.getTopic)("languageSkills"), this.apiCallList = u.getLanguageSkills, this.apiCallSingle = u.getLanguageSkill, this.className = "LanguageSkillManager", this.defaultMatchingStyle = r.startsWith, this.dependencyContext = null, this.suppressSearch = false, this._initialize(); } - get description() { - return this._getAssignableProperty("description"); + } + t2.languageSkillManager = new c(); + }, 77667(e2, t2, i2) { + "use strict"; + t2.lexAliasManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get displayTypeName() { - return "ArchValueCard"; + get dependencyType() { + return p.LexBotAlias; } - get image() { - return this._getAssignableProperty("image"); + constructor() { + super(), this.topic = (0, l.getTopic)("LexAliasManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [u.lexActionType], this.actionPropertyForUsageSearch = "alias", this.apiCallList = _.getAliases, this.apiCallSingle = _.getAlias, this.defaultMatchingStyle = r.exactMatch, this.dependencyContext = h.lex.lexBotAlias, this.isDependentOnCategory = true, this.searchField = "name", this.uiMetadataSectionName = "lexBotAliases", this.className = "LexAliasManager", this._initialize(); } - get title() { - return this._getAssignableProperty("title"); + _createItemViewModel(e3) { + return new c.LexAliasViewModel(e3); } - get isArchValueCard() { - return true; + getBotCategoryForBotRunnable(e3) { + if (!o.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 ? d.lexBotNameManager.getItem(t3.botId) : null; } } - t2.default = r2; - }, 59263: (e2, t2) => { + t2.lexAliasManager = new m(); + }, 77681(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionParameters = void 0, t2.ExpressionParameters = class { - constructor(e3, t3, i2, n2, r2, o, a) { - this.parentFlow = e3, this.parent = t3, this.model = i2, this.label = n2, this.isInternal = r2, this.options = o, this.transitory = a, this.type = null, this.propertyName = null; + t2.lexBotNameManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 r.default { + get requiredAuth() { + return a.externalAuthorizations.authStrings.integrationView; } - }; - }, 59288: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createBranchItem = function(e3, t3, i3, n3, u2) { - 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; - }, t2.findBranch = function(e3, t3) { - return u(e3, t3) || {}; - }, t2.removeBranch = function(e3, t3) { - const i3 = u(e3, t3); - return !(!i3 || i3.required) && (delete l[e3][t3], true); - }, t2.setBranchConsumer = function(e3, t3, i3, n3) { - const r3 = u(e3, t3); - return !!r3 && r3.addConsumer(i3, n3); - }, t2.removeBranchConsumer = function(e3, t3, i3) { - const n3 = u(e3, t3); - return !!n3 && n3.removeConsumer(i3); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(9456), a = n2.__importDefault(i2(34727)), s = i2(57632), l = {}; - function u(e3, t3) { - const i3 = l[e3]; - if (i3) return i3[t3]; - } - }, 59328: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.EmptyError = void 0; - var n2 = i2(9619); - t2.EmptyError = n2.createErrorClass(function(e3) { - return function() { - e3(this), this.name = "EmptyError", this.message = "no elements in sequence"; - }; - }); - }, 59393: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.jsonParseItemFacet = void 0, t2.validateLiteralJson = function(e3, t3) { - let i3 = { errorText: null, errorPosition: null }; - return !(function(e4) { - let t4 = false; - const n3 = null == e4 ? void 0 : e4.replace(/\t/g, "").replace(/\n/g, "").replace(/ /g, ""); - return ("undefined" === e4 || "" === n3) && (t4 = true), t4 && (i3 = { errorText: r2.json.genericError.jsonMustNotBeUndefinedOrBlank, errorPosition: null }), t4; - })(o2 = e3) && (function(e4) { - let t4 = true; - try { - JSON.parse(e4); - } catch (e5) { - !(function(e6) { - const t5 = new RegExp(" \\(line [0-9]+ column [0-9]+\\)"); - let o3 = null == e6 ? void 0 : e6.toString(); - if (!(null == o3 ? void 0 : o3.length)) return; - if (t5.test(o3)) { - const e7 = o3.match(t5)[0]; - o3 = o3.split(e7)[0]; - } - const a = o3.split(" "), s = a[a.length - 1], l = a[a.length - 2]; - let u = ""; - 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]; - 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": - c.errorText = r2.json.positionError.jsonExpectedPropNameOrClosingCurly; - break; - case "SyntaxError: Unterminated string in JSON": - c.errorText = r2.json.positionError.jsonUnterminatedString; - break; - case "SyntaxError: Expected ':' after property name in JSON": - c.errorText = r2.json.positionError.jsonExpectedColonAfterPropName; - break; - case "SyntaxError: Unexpected non-whitespace character after JSON": - c.errorText = r2.json.positionError.jsonExpectedNonWhitespaceCharacter; - break; - case "SyntaxError: Expected ',' or '}' after property value in JSON": - c.errorText = r2.json.positionError.jsonExpectedCommaOrClosingCurlyAfterPropValue; - break; - default: - c.errorText = r2.json.positionError.jsonError; - } - c.errorPosition = e7; - } - 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) { + get dependencyType() { + return d.LexBot; } - }, t2.getDisplayString = function(e3) { - if (e3.errorText || e3.errorCoordinates) { - if (!e3.errorCoordinates) return e3.errorText; - if (e3.errorCoordinates && e3.errorText) { - const t3 = (e3.errorCoordinates.line + 1).toString(), i3 = e3.errorCoordinates.ch.toString(); - return (0, n2.sprintf)(r2.json.positionError.jsonErrorWithPosition, e3.errorText, (0, n2.sprintf)(r2.json.positionError.jsonErrorPosition, t3, i3)); - } + constructor() { + super(), this.topic = (0, s.getTopic)("LexBotNameManager"), this._rawServerCache = {}, this.apiCallList = p.getBots, this.apiCallSingle = void 0, this.className = "LexBotNameManager", this.defaultMatchingStyle = o.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(); } - }; - const n2 = i2(17604), r2 = i2(47957); - var o; - !(function(e3) { - e3.propFacetAllowableValue = "propFacetAllowableValue", e3.propFacetRequiredProperties = "propFacetRequiredProperties", e3.propFacetMinItems = "propFacetMinItems", e3.propFacetMaxItems = "propFacetMaxItems", e3.propFacetMinLength = "propFacetMinLength", e3.propFacetMaxLength = "propFacetMaxLength", e3.propFacetMinValue = "propFacetMinValue", e3.propFacetMaxValue = "propFacetMaxValue", e3.propFacetReferencedObjectNotFound = "propFacetReferencedObjectNotFound"; - })(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 = 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); + get _networkModel() { + return this.apiCallList.api ? this.apiCallList.api.DataContract : _; } - get applicationName() { - const e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this); - return null == e3 ? void 0 : e3.applicationName; + _createItemViewModel(e3) { + return new u.LexBotViewModel(e3); } - get botRunnableProperty() { - return this.bot; + } + t2.lexBotNameManager = new m(); + }, 71439(e2, t2, i2) { + "use strict"; + t2.lexV2AliasManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get botCategoryProperty() { - return this.botIntegration; + get dependencyType() { + return _.LexV2BotAlias; } - static get branchInfo() { - return [T.default.failure]; + constructor() { + 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 = r.exactMatch, this.dependencyContext = p.lex.lexV2BotAlias, this.isDependentOnCategory = true, this.searchField = "name", this.securityError = true, this.uiMetadataSectionName = "lexV2BotAliases", this._initialize(); } - get botRunnableNetworkGetCall() { - return p.getSingleBot; + _createItemViewModel(e3) { + return new c.default(e3); } - get isNuanceMixAction() { - return true; + getBotCategoryForBotRunnable(e3) { + if (!o.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 ? d.lexV2BotNameManager.getItem(t3.botId) : null; } - static get managedProperties() { - 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)) }]; + } + t2.lexV2AliasManager = new m(); + }, 9485(e2, t2, i2) { + "use strict"; + t2.lexV2BotNameManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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; } - updateBotActionFromBotRunnable(e3) { - 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); + get dependencyType() { + return c.LexV2Bot; } - postProcessYamlConfig(e3, t3, i3) { - this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3); - const n3 = this.botIntegration.nameValue; - if (!n3) return; - e3.botIntegration = {}; - const r3 = e3.botIntegration[n3] = {}; - if (!this.botName) return void (r3.none = true); - const o2 = (r3[this.botName] = {})[this.applicationName] = {}; - a.default.moveAndDeleteProperty(e3, o2, "channelId"), a.default.moveAndDeleteProperty(e3, o2, "botVariables"), this.commonBotPostProcessYamlConfig(e3, o2); + constructor() { + super(), this.topic = r.getTopic("LexV2BotNameManager"), this._rawServerCache = {}, this.apiCallSingle = void 0, this.apiCallList = d.getV2Bots, this.className = "LexV2BotNameManager", this.defaultMatchingStyle = o.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(); } - _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); + get _networkModel() { + return this.apiCallList.api ? this.apiCallList.api.DataContract : p; } - removeYamlExportPropsThatRequireRunnable(e3) { - super.removeYamlExportPropsThatRequireRunnable(e3), delete e3.channelId; + _createItemViewModel(e3) { + return new l.LexBotViewModel(e3); } - getAdditionalParams() { - return new _.default(this.botRunnableManager, { additionalParams: { integrationId: this.botCategoryProperty.idValue } }); + } + t2.lexV2BotNameManager = new h(); + }, 25965(e2, t2, i2) { + "use strict"; + t2.messagingTemplateResponseManager = void 0; + const n2 = i2(24032), o = i2(10535), r = i2(30801), a = i2(60609); + class s extends o.ResponseManager { + constructor() { + super(...arguments), this.topic = (0, n2.getTopic)("MessagingTemplateResponseManager"), this.responseType = a.CannedResponseType.messagingTemplate, this.actionsForUsageSearch = [r.sendDigitalContentActionType]; } - _setBotCategoryProperties(e3) { - e3 && (this.botCategoryProperty.idValue = e3.integrationId); + additionalItemFilter(e3) { + return e3.filter((e4) => e4.responseType === this.responseType); } - setBotCategoryByViewModel(e3) { - super.setBotCategoryByViewModel(e3); - const t3 = this.botCategoryProperty.configListManager; - this.botCategoryProperty.idValue && t3.addItemToFlowMetadata(this, null, this.botCategoryProperty.idValue); + } + t2.messagingTemplateResponseManager = new s(); + }, 37120(e2, t2, i2) { + "use strict"; + t2.milestoneManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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; } - getOptionalBranchInfoIndexByLabel(e3) { - return a.default.findIndex(this.optionalBranchInfo, { localizedLabel: e3 }); + get dependencyType() { + return d.FlowMilestone; } - getIntentIndexByLabel(e3, t3) { - return a.default.findIndex(e3, { localizedLabel: t3 }); + constructor() { + super(), this.topic = r.getTopic("MilestoneManager"), this._rawServerCache = {}, this.apiCallList = p.getMilestones, this.apiCallSingle = p.getMilestone, this.className = "MilestoneManager", this.defaultMatchingStyle = o.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(); } - getAllowableChannels() { - const e3 = y.nuanceMixBotManager.getItem(this.botRunnableProperty.idValue); - return e3 ? this.parentFlow.supportsDigital ? e3.textChannels : e3.audioChannels : []; + _createItemViewModel(e3) { + return new u.default(e3.id, e3.name); } - getAllChannels() { - const e3 = y.nuanceMixBotManager.getItem(this.botRunnableProperty.idValue); - return e3 ? e3.channels : []; + } + t2.milestoneManager = new _(); + }, 63689(e2, t2, i2) { + "use strict"; + t2.nluDomainManager = void 0; + const n2 = i2(31635), o = i2(68694), r = 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; } - validate(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)); + constructor() { + 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 = r.default.omit(this.items, (e4) => e4.isFromWorkbench)); + }); } - get yamlNoBotRunnablePropName() { - return "noBotIntegration"; + addItem(e3, t3, i3) { + const n3 = this.items[e3.id]; + return (null == n3 ? void 0 : n3.isFromWorkbench) && !e3.isFromWorkbench ? n3 : super.addItem(e3, t3); } - _initializeDesignTime() { - super._initializeDesignTime(), this.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(A.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => this._setAllowableChannels()); + additionalItemFilter(e3) { + return e3.filter((e4) => e4.lastPublishedVersion); } - _setAllowableChannels() { - const e3 = this.getAllowableChannels(); - this.channelId.options.facets.setAllowableValues(e3, true); + addFakeNluDomain(e3, t3) { + if (!e3) return; + e3.id = this.getFakeNonCreatedNluDomainId(t3); + const i3 = this.addItem(e3); + return i3.isFake = true, i3; } - _addAdditionalChannelValidationInfo(e3) { - 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); + get canLoadMore() { + return false; } - } - 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 }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(81467), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.languageSkillManager); + getFakeNonCreatedNluDomainId(e3) { + if (null == e3 ? void 0 : e3.isNluFlow) return `__fake_nlu_domain__${e3.id}`; + a.error(`invalid nluFlowViewModel - expected an NluFlowViewModel but received a ${null == e3 ? void 0 : e3.className}`); } - get _globalTypeName() { - return "languageSkillCollection"; + get fakeNonCreatedNluDomainVersionId() { + return "__fake_nlu_domain_version__"; } - get displayTypeName() { - return "ArchValueLanguageSkillCollection"; + _createItemViewModel(e3) { + return new d.default(e3); } - get _searchByValueSearchProperty() { - return "name"; + checkNluDomainVersionJson(e3, t3) { + if (!r.default.isObject(e3)) return null; + if (!r.default.isString(e3.language)) return "missing language"; + if (!t3 && o.IntentUtil.hasIntents(e3)) return "intents are not supported"; + if (!e3.intents) return null; + for (const t4 of e3.intents) if (!t4.name) return "no name property on intent object"; + return null; } - addLiteralByLanguageSkillIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("languageSkillId", "addLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "skill").then(() => r2.default.executeCallback(this, "addLiteralBySkillIdAsync", t3, this)); - }); + getIsNluIdentifierCreated(e3) { + return r.default.isString(e3) && e3.length && !e3.startsWith("__"); } - addLiteralByLanguageSkillNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("languageSkillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "skill").then(() => r2.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this)); - }); + getAreNluDomainIdAndNluDomainVersionIdCreated(e3, t3) { + return this.getIsNluIdentifierCreated(e3) && this.getIsNluIdentifierCreated(t3); } - get isArchValueLanguageSkillCollection() { - return true; + getIsNluDomainVersionValidForThisOrg(e3, t3) { + return !(!this.getAreNluDomainIdAndNluDomainVersionIdCreated(e3, t3) || !this.getItem(t3) && !this.getItem(e3)); } } - t2.default = s; - }, 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: 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)), 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) => { + t2.nluDomainManager = new h(); + }, 640(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, "_intents"), this._intents || (this._intents = []), (null == e3 ? void 0 : e3.intents) && (null == e3 ? void 0 : e3.intents.length) > 0 && (this.intents = e3.intents); - } - get intents() { - return this._intents; + t2.nonFormResponseManager = void 0; + const n2 = i2(24032), o = i2(60609), r = i2(10535); + class a extends r.ResponseManager { + additionalItemFilter(e3) { + return e3.filter((e4) => e4.responseType !== this.responseTypeToFilterOut); } - set intents(e3) { - this._intents = void 0 === e3 ? [] : e3; + constructor() { + super(), this.topic = (0, n2.getTopic)("NonFormResponseManager"), this.responseTypeToFilterOut = o.CannedResponseType.form; } } - t2.default = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "intents", null); - }, 59449: (e2, t2, i2) => { + t2.nonFormResponseManager = new a(); + }, 17485(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), 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); + t2.nuanceMixBotManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get availableActions() { - const e3 = []; - return r2.default.each(h.default, (t3) => { - t3 && t3.definition && t3.definition.isAvailableForFlowType(this.type) && e3.push(t3); - }), e3; + get dependencyType() { + return h.NuanceMixBot; } - get availablePromptMediaTypes() { - const e3 = [], t3 = this._getCoreViewModel(), i3 = g.default.getGlobalTypeGroup().getType(u.expressionTypeNames.prompt); - 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; + constructor() { + super(), this.topic = s.getTopic("NuanceMixBotManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [c.nuanceMixActionType], this.apiCallList = r.getBotList, this.apiCallSingle = r.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(); } - get availableDataTypes() { - return p.default.getFlowTypeDataTypes(this.type); + _createItemViewModel(e3) { + return new d.default(e3); } - get availableLanguages() { - if (!this.supportsSupportedLanguages) return; - let e3 = this._getCoreViewModel().availableLanguageTags; - e3 || (e3 = r2.default.keys(d.isoLanguages)); - const t3 = []; - return r2.default.each(e3, (e4) => { - t3.push(_.default.getByLanguageTag(e4)); - }), t3; + getBotCategoryForBotRunnable(e3) { + if (!o.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 ? p.nuanceMixIntegrationManager.getItem(t3.integrationId) : null; } - get availableMenus() { - const e3 = []; - return r2.default.each(m.default, (t3) => { - t3 && t3.definition && t3.definition.isAvailableForFlowType(this.type) && e3.push(t3); - }), e3; + get _networkModel() { + return m; } - get canCreateFromDefinition() { - return this._ensureSessionIsConnected(this._infoPropGet("canCreateFromDefinition"), l.default), this._getCoreViewModel().isAvailable; + } + t2.nuanceMixBotManager = new g(); + }, 47976(e2, t2, i2) { + "use strict"; + t2.nuanceMixIntegrationManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(32236)), r = 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; } - get canSuppressRecording() { - return this._getCoreViewModel().canSuppressCallRecordings; + get dependencyType() { + return _.NuanceMixIntegration; } - get displayTypeName() { - return "ArchDefinitionFlow"; + constructor() { + super(), this.topic = a.getTopic("NuanceMixIntegrationManager"), this.apiCallList = o.getNuanceMixIntegrations, this.apiCallSingle = o.getIntegration, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "botIntegration", this.actionsForUsageSearch = [d.nuanceMixActionType], this.className = "NuanceMixIntegrationManager", this.defaultMatchingStyle = r.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 c.IntegrationViewModel(e3); + } + get _networkModel() { + return u.Integration; } - get fileExtension() { - return this._getCoreViewModel().fileExtension; + } + t2.nuanceMixIntegrationManager = new h(); + }, 51126(e2, t2, i2) { + "use strict"; + t2.oAuthClientManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(14232)), r = 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 isArchDefinitionFlow() { - return true; + get dependencyType() { + return d.OAuthClient; } - get isAvailable() { - return this._getCoreViewModel().isAvailable; + constructor() { + super(), this.topic = r.getTopic("OAuthClientManager"), this._rawServerCache = {}, this.apiCallSingle = o.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(); } - get isCommonModuleCompatibleFlowType() { - return this.isAvailable && this._getCoreViewModel().isEmbeddable; + _createItemViewModel(e3) { + return new c.default(e3); } - get isCreatable() { - return this._ensureSessionIsConnected(this._infoPropGet("isCreatable"), l.default), this._getCoreViewModel().isCreatable; + get _networkModel() { + return u.default; } - get isDeprecated() { - return this._getCoreViewModel().isDeprecated; + } + t2.oAuthClientManager = new p(); + }, 51306(e2, t2, i2) { + "use strict"; + t2.outcomeManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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; } - get label() { - return this._getCoreViewModel().typeDisplayName; + get dependencyType() { + return m.FlowOutcome; } - get supportsFlowCreationData() { - return this._getCoreViewModel().supportsFlowCreationData; + constructor() { + super(), this.topic = (0, c.getTopic)("OutcomeManager"), this._rawServerCache = {}, this.apiCallList = g.getOutcomes, this.apiCallSingle = g.getOutcome, this.className = "OutcomeManager", this.defaultMatchingStyle = o.contains, this.dependencyContext = h.flowOutcomes.flowOutcome, this.searchField = "name", this.searchWordSplitWildcard = true, this.uiMetadataSectionName = "flowOutcomes", this.actionsForUsageSearch = [r.addFlowMilestoneActionType, d.initializeFlowOutcomeActionType, _.setFlowOutcomeActionType], this.actionPropertyForUsageSearch = "outcome", this.isOutcomeManager = true, this._initialize(); } - get startUpObjectCanBeMenu() { - return this._getCoreViewModel().startUpObjectCanBeMenu; + _createItemViewModel(e3) { + return new u.FlowOutcomeViewModel(e3); } - get startUpObjectCanBeState() { - return this._getCoreViewModel().startUpObjectCanBeState; + } + t2.outcomeManager = new f(); + }, 19444(e2, t2, i2) { + "use strict"; + t2.queueManager = void 0; + const n2 = i2(31635), o = i2(24032), r = i2(23503), a = n2.__importDefault(i2(47532)), s = i2(81801), l = i2(27862), u = i2(55190); + class c extends a.default { + get requiredAuth() { + return s.externalAuthorizations.authStrings.queuesView; } - get startUpObjectCanBeTask() { - return this._getCoreViewModel().startUpObjectCanBeTask || this._getCoreViewModel().startUpObjectCanBeRepeatingTask; + get dependencyType() { + return l.Queue; } - get languagesSupportDefaultLanguage() { - return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportDefaultLanguage; + constructor() { + super(), this.topic = (0, o.getTopic)("queueManager"), this.apiCallList = u.getQueues, this.apiCallSingle = u.getQueue, this.briefManager = r.briefQueueManager, this.className = "QueueManager", this.dependencyContext = null, this._initialize(); } - get languagesSupportDefaultLanguageSkill() { - return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportDefaultLanguageSkill; + } + t2.queueManager = new c(); + }, 63345(e2, t2, i2) { + "use strict"; + t2.responseAssetManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 languagesSupportTtsAndAsr() { - return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportTtsAndAsrSettings; + get dependencyType() { + return d.ResponseAsset; } - get languagesSupportTtsAndAsrRuntime() { - return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportTtsAndAsrRuntime; + constructor() { + super(), this.topic = a.getTopic("ResponseAssetManager"), this.apiCallList = r.getResponseAssets, this.apiCallSingle = r.getResponseAsset, this._rawServerCache = {}, this.className = "ResponseAssetManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = c.responseAsset.responseAsset, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "responseAssets", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); } - get languagesSupportSpeechToText() { - return this._getCoreViewModel().languagesSupportSttSetting; + _createItemViewModel(e3) { + return new u.default(e3); } - get supportsAudio() { - return this._getCoreViewModel().supportsAudio; + } + t2.responseAssetManager = new p(); + }, 71528(e2, t2, i2) { + "use strict"; + t2.responseLibraryManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(90891)), r = 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 r.default { + get requiredAuth() { + return (0, p.isFeatureAvailable)(_.default.divisionedCannedResponses) ? a.externalAuthorizations.authStrings.responseLibrarySearch : a.externalAuthorizations.authStrings.responseLibraryView; } - get supportsCustomJsonTypes() { - return this._getCoreViewModel().supportsCustomJsonTypes; + constructor() { + super(), this.topic = (0, l.getTopic)("ResponseLibraryManager"), this.apiCallList = o.getResponseLibraries, this.apiCallSingle = o.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(); } - get supportsDefaultLanguage() { - return this._getCoreViewModel().languagesSupportDefaultLanguage; + _createItemViewModel(e3) { + return new u.ResponseLibraryViewModel(e3); } - get supportsIntentDescriptions() { - return this._getCoreViewModel().supportsIntentDescriptions; + } + t2.responseLibraryManager = new h(); + }, 10535(e2, t2, i2) { + "use strict"; + t2.ResponseManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(33231)), r = 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 (0, h.isFeatureAvailable)(m.default.divisionedCannedResponses) ? u.externalAuthorizations.authStrings.responseSearch : u.externalAuthorizations.authStrings.responseView; } - get supportsSecureVariables() { - return this._getCoreViewModel().supportsSecureVariables; + get dependencyType() { + return f.Response; } - get supportsSupportedLanguages() { - return this._getCoreViewModel().supportsLanguages; + constructor() { + 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(); } - get supportsMoreThanOneSupportedLanguage() { - return this._getCoreViewModel().supportsMoreThanOneLanguage; + _createItemViewModel(e3) { + return new _.ResponseViewModel(e3); } - get supportsMenusReusable() { - return this._getCoreViewModel().supportsReusableMenus; + isResponseInSelectedResponseLibrary(e3, t3) { + return !(!e3 || !t3) && e3.libraries.find((e4) => e4.id === t3.id); } - get supportsStates() { - return this._getCoreViewModel().supportsStates; + setAdditionalCache(e3) { + r.default.each(e3.libraries, function(e4) { + p.responseLibraryManager.addItem(e4); + }); } - get supportsMultilingualKnowledge() { - return this._getCoreViewModel().supportsMultilingualKnowledge; + getSubstitutionInputs(e3) { + return e3.isFlowCachedVersion ? o.default.fcall(function() { + e3.loadSubstitutionSchema(e3.model.substitutionsSchema); + }) : this.fetchItem(e3.id).then((t3) => { + t3 && (e3.substitutions = t3.substitutions); + }); } - get supportsMultipleStates() { - return this._getCoreViewModel().supportsMultipleStates; + } + t2.ResponseManager = T, new T(); + }, 32282(e2, t2, i2) { + "use strict"; + t2.scheduleGroupManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(50461)), r = 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 r.default { + get requiredAuth() { + return (0, c.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.scheduleGroupSearch : s.externalAuthorizations.authStrings.scheduleGroupView; } - getSupportsKnowledge(e3) { - const t3 = this._infoParm("archLanguage", "getSupportsKnowledge"); - return r2.default.isNullOrUndefined(e3) || this._checkItem(t3, !e3 || !e3.isArchLanguage, "when specifying a language to check, you must pass in a valid ArchLanguage instance."), !!this.supportsSupportedLanguages && (r2.default.isNullOrUndefined(e3) ? this._getCoreViewModel().supportsKnowledge : o.getLangSupportsKnowledgeForFlowType(e3.tag, this.type)); + get dependencyType() { + return _.ScheduleGroup; } - get supportsNaturalLanguageUnderstanding() { - return this._getCoreViewModel().supportsNlu; + constructor() { + super(), this.topic = (0, u.getTopic)("scheduleGroupManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [a.evaluateScheduleGroupActionType], this.actionPropertyForUsageSearch = "scheduleGroupId", this.apiCallList = o.getScheduleGroups, this.apiCallSingle = o.getScheduleGroup, this.uiMetadataSectionName = "scheduleGroups", this.dependencyContext = p.evaluateSchedules.scheduleGroup, this.className = "ScheduleGroupManager", this._initialize(); } - get supportsNaturalLanguageUnderstandingIntents() { - return this._getCoreViewModel().supportsNLUIntents; + _createItemViewModel(e3) { + return new d.ScheduleGroupViewModel(e3); } - get supportsGrammars() { - return this._getCoreViewModel().supportsGrammars; + } + t2.scheduleGroupManager = new h(); + }, 4861(e2, t2, i2) { + "use strict"; + t2.scheduleManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(50461)), r = 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 r.default { + get requiredAuth() { + return (0, c.isFeatureAvailable)(l.default.divisionedRoutingObjects) ? s.externalAuthorizations.authStrings.schedulesSearch : s.externalAuthorizations.authStrings.schedulesView; } - get supportsPeriodicState() { - return this._getCoreViewModel().supportsPeriodicState; + get dependencyType() { + return _.Schedule; } - get supportsTasksReusable() { - return this._getCoreViewModel().supportsReusableTasks; + constructor() { + super(), this.topic = (0, u.getTopic)("scheduleManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [a.evaluateScheduleActionType], this.actionPropertyForUsageSearch = "scheduleId", this.apiCallList = o.getSchedules, this.apiCallSingle = o.getSchedule, this.suppressSearch = false, this.uiMetadataSectionName = "schedules", this.dependencyContext = p.evaluateSchedules.schedule, this.className = "ScheduleManager", this._initialize(); } - get supportsDetectionJob() { - return this._getCoreViewModel().supportsNluCortex; + _createItemViewModel(e3) { + return new d.ScheduleViewModel(e3); } - get supportsDetectionJobIntents() { - return this._getCoreViewModel().supportsNluCortexIntents; + } + t2.scheduleManager = new h(); + }, 75755(e2, t2, i2) { + "use strict"; + t2.schemaManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 supportsDynamicTimeslots() { - return this._getCoreViewModel().supportsDynamicTimeslots; + get dependencyType() { + return d.Schema; } - get supportsEndToEndKnowledgeHandling() { - return this._getCoreViewModel().supportsEndToEndKnowledgeHandling; + constructor() { + super(), this.topic = r.getTopic("SchemaManager"), this.apiCallSingle = a.getSchema, this.apiCallList = void 0, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "SchemaManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.sortNotSupported = true, this.uiMetadataSectionName = "schema", this.useStartsWithKeywordForExactMatch = true, this.noApiCallList = true, this._initialize(); } - get supportsAdvancedKnowledgeHandling() { - return this._getCoreViewModel().supportsAdvancedKnowledgeHandling; + _createItemViewModel(e3) { + return new c.SchemaViewModel(e3); } - get supportsVirtualAgent() { - return this._getCoreViewModel().supportsVirtualAgent; + get _networkModel() { + return u.default; } - get type() { - return this._getCoreViewModel().type; + get isSchemaManager() { + return true; } } - t2.ArchDefinitionFlow = f; - }, 59463: (e2, t2, i2) => { + t2.schemaManager = new p(); + }, 28443(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findScheduleGroup.findScheduleGroupNameLabel, searchResultLabel: d.findActions.findScheduleGroup.findScheduleGroupResultLabel, searchResultExpressionOptions: a.ExpressionTypeScheduleGroupOptions.create(), searchResultItemType: o.expressionTypeNames.scheduleGroup }); + t2.screenPopManager = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(24032), r = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); + class c extends a.ScriptManager { + constructor() { + super("ScreenPopManager"), this.topic = (0, o.getTopic)("screenPopManager"), this.actionsForUsageSearch = [r.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.screenPop), this.dependencyContext = s.screenPop.selectedScreenPop, this.scriptFeatureType = u.screenPop; } } - 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) => { + t2.screenPopManager = new c(); + }, 59799(e2, t2, i2) { "use strict"; - var n2, r2, o, a, s; - Object.defineProperty(t2, "__esModule", { value: true }); - 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"); + t2.secureActionCategoryManager = void 0; + const n2 = i2(24032), o = i2(64718), r = i2(47957); + class a extends o.BaseIntegrationsActionCategoryManager { + constructor() { + super(), this.topic = (0, n2.getTopic)("SecureActionCategoryManager"), this.additionalQueryParams = { secure: true }, this.dependencyContext = r.bridgeServer.category, this.className = "SecureActionCategoryManager", this._initialize(); } - get _actionTypeId() { - return u.sendInteractiveApplicationActionActionType; + } + t2.secureActionCategoryManager = new a(); + }, 72475(e2, t2, i2) { + "use strict"; + t2.secureActionManager = void 0; + const n2 = i2(84822), o = i2(24032), r = i2(30801), a = i2(47957), s = i2(27862); + class l extends n2.BaseIntegrationsActionManager { + get dependencyType() { + return s.SecureAction; } - get displayTypeName() { - return this._scriptingName; + constructor() { + super(), this.topic = (0, o.getTopic)("secureActionManager"), this.actionsForUsageSearch = [r.secureActionActionType], this.additionalQueryParams = { secure: true }, this.defaultInputsWithNoDefaultToNotSet = true, this.dependencyContext = a.secureAction.secureAction, this.className = "SecureActionManager", this._initialize(); } - get isArchActionSendInteractiveApplication() { - return true; + } + t2.secureActionManager = new l(); + }, 44612(e2, t2, i2) { + "use strict"; + t2.shortMessageScriptManager = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(24032), r = i2(30801), a = i2(82915), s = i2(47957), l = i2(52124), u = i2(28195); + class c extends a.ScriptManager { + constructor() { + super("ShortMessageScriptManager"), this.topic = (0, o.getTopic)("ShortMessageScriptManager"), this.actionsForUsageSearch = [r.screenPopActionType], this.apiCallList = n2.default.partial(l.getScriptsForFeature, u.message), this.dependencyContext = s.screenPop.selectedShortMessageScript, this.scriptFeatureType = u.message; } - get applicationName() { - return l.__classPrivateFieldGet(this, n2, "f"); + } + t2.shortMessageScriptManager = new c(); + }, 79069(e2, t2, i2) { + "use strict"; + t2.skillManager = void 0; + const n2 = i2(31635), o = i2(24032), r = n2.__importStar(i2(1360)), a = n2.__importDefault(i2(47532)), s = i2(27862), l = i2(776); + class u extends a.default { + get dependencyType() { + return s.Skill; } - get applicationUrl() { - return l.__classPrivateFieldGet(this, r2, "f"); + constructor() { + super(), this.topic = (0, o.getTopic)("skillManager"), this.apiCallList = l.getSkills, this.apiCallSingle = l.getSkill, this.defaultMatchingStyle = r.startsWith, this.className = "SkillManager", this.dependencyContext = null, this._initialize(); } - get applicationImage() { - return l.__classPrivateFieldGet(this, o, "f"); + } + t2.skillManager = new u(); + }, 27844(e2, t2, i2) { + "use strict"; + t2.smsPhoneNumberManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = n2.__importStar(i2(60453)), a = n2.__importStar(i2(24032)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(27862); + class c extends s.default { + get requiredAuth() { + return l.externalAuthorizations.authStrings.smsPhoneNumberView; } - get title() { - return l.__classPrivateFieldGet(this, a, "f"); + get dependencyType() { + return u.SmsPhoneNumber; } - get subTitle() { - return l.__classPrivateFieldGet(this, s, "f"); + constructor() { + super(), this.topic = a.getTopic("SmsPhoneNumberManager"), this.apiCallList = r.getSmsPhoneNumbers, this.apiCallSingle = r.getSmsPhoneNumber, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "SmsPhoneNumberManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "smsPhoneNumber", this.useStartsWithKeywordForExactMatch = true, this._initialize(); } } - 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) { - this.level = i3, a && a.stack && (t3 += "\nStack: " + a.stack); - let s = 0; - if (e3.context) { - let t4 = JSON.stringify(e3.context); - t4.length > o && (e3.context = { context: t4.substring(0, 3250) }, t4 = JSON.stringify(e3.context)), s = t4.length; - } - t3 && t3.length > o - s && (t3 = t3.substring(0, o - s) + "...trimmed"), this.message = JSON.stringify(n2.defaults({ msg: t3, clientTime: (/* @__PURE__ */ new Date()).toISOString(), asid: r2.archSessionId }, s ? e3.context : void 0)), this.topic = e3.name; - }; - }, 59524: (e2, t2, i2) => { + t2.smsPhoneNumberManager = new c(); + }, 19284(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + t2.speechToTextEngineManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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 = n2.__importDefault(i2(65449)), p = i2(47957), _ = i2(27862); + class h extends l.default { + get requiredAuth() { + return u.externalAuthorizations.authStrings.integrationView; } - get _actionTypeId() { - return r2.findKnowledgeBaseDocumentByIdActionType; + get dependencyType() { + return _.SpeechToTextEngine; } - get displayTypeName() { - return this._scriptingName; + constructor() { + super(), this.topic = a.getTopic("SpeechToTextEngineManager"), this._rawServerCache = {}, this.actionsForUsageSearch = [s.askForSlotActionType], this.actionPropertyForUsageSearch = "", this.apiCallList = r.getSpeechToTextEngines, this.apiCallSingle = r.getSpeechToTextEngine, this.className = "SpeechToTextEngineManager", this.defaultMatchingStyle = o.containsAssumed, this.defaultPageSize = 100, this.dependencyContext = p.speechToText.speechToTextEngineLabel, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "speechToTextEngines", this._initialize(); } - get isArchActionFindKnowledgeBaseDocumentById() { - return true; + _createItemViewModel(e3) { + return new c.default(e3); } - get findResult() { - return this._findResult; + resolveReplacement(e3) { + if (!e3) return; + const t3 = this.getItem(e3); + if (null == t3 ? void 0 : t3.replacedBy) return this.getItem(t3.replacedBy) || d.default.items[t3.replacedBy]; + const i3 = d.default.resolveEngineForId(e3); + return i3 && i3.id !== e3 ? i3 : void 0; } } - t2.default = o; - }, 59578: (e2, t2) => { + t2.speechToTextEngineManager = new h(); + }, 99918(e2, t2, i2) { "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 }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(67336)); - class a extends o.default { - constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDynamicSlotTypeViewModel"), e3), this._coreDynamicSlotTypeViewModel = e3, (0, r2.makeUnenumerable)(this, "_coreDynamicSlotTypeViewModel"), this._values = this.coreFactory.createArchWrapper(e3.values), this._synonyms = this.coreFactory.createArchWrapper(e3.synonyms), this._labels = this.coreFactory.createArchWrapper(e3.labels); + t2.surveyFormManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(62241)), r = 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; } - get displayTypeName() { - return "ArchSettingsDynamicSlotType"; + get dependencyType() { + return _.SurveyForm; } - get isArchSettingsNluDynamicSlotType() { - return true; + constructor() { + super(), this.topic = a.getTopic("SurveyFormManager"), this.apiCallList = r.getSurveyForms, this.apiCallSingle = r.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(); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + _createItemViewModel(e3) { + return (null == e3 ? void 0 : e3.result) === o.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 values() { - return this._values; + get _networkModel() { + return c.default; } - get synonyms() { - return this._synonyms; + get isSurveyFormManager() { + return true; } - get labels() { - return this._labels; + additionalItemFilter(e3) { + const t3 = e3.filter((e4) => !e4.disabled); + return this.filteredOutItemCount += e3.length - t3.length, t3; + } + filterDuplicates(e3) { + const t3 = []; + return e3.forEach((e4) => { + const i3 = t3.find((t4) => t4.contextId === e4.contextId); + 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); + }); + } + _publishedFormDateIsNewerThanPrevious(e3, t3) { + return !(!(null == e3 ? void 0 : e3.isPublished) || e3.isDisabled) && (null == e3 ? void 0 : e3.modifiedDate.getTime()) > (null == t3 ? void 0 : t3.modifiedDate.getTime()); } } - t2.default = a; - }, 59630: (e2, t2, i2) => { + t2.surveyFormManager = new h(); + }, 97951(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(4861), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.scheduleManager); + t2.systemPromptListManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 d.externalAuthorizations.authStrings.promptsSystemView; } - get _globalTypeName() { - return "scheduleCollection"; + get dependencyType() { + return _.SystemPrompt; } - get displayTypeName() { - return "ArchValueScheduleCollection"; + constructor(e3, t3) { + super(), this.topic = (0, u.getTopic)("systemPromptListManager"), this.apiCallList = a.getSystemPromptContainers_ignoreBadResponse, this.apiCallSingle = a.getSystemPromptContainer_ignoreBadResponse, this.className = "SystemPromptListManager", this.dependencyContext = null, this.filterNames = [], this.supportedLanguages = null, this.isPromptManager = true, this.knownEmptySearches = [], e3 && (this.filterNames = e3), t3 && (this.supportedLanguages = t3), r.serviceListen(r.promptResourceDeleted, (e4) => { + e4.isSystem && this.addItem(e4._model, true); + }), r.serviceListen(r.cleanUpFlow, (e4) => { + o.default.each(this.items, (t4) => t4.removeUsageForFlow(e4)); + }), this._initialize(); } - get _searchByValueSearchProperty() { - return "name"; + _createItemViewModel(e3) { + return new c.default(e3, true); } - addLiteralByScheduleIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleId", "addLiteralByScheduleIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "schedule").then(() => r2.default.executeCallback(this, "addLiteralByScheduleIdAsync", t3, this)); + getBulkPromptContainers(e3) { + return a.getBulkSystemPromptContainers(e3).then((e4) => { + o.default.each(e4.entities, (e5) => { + this.addItem(e5, true); + }); }); } - addLiteralByScheduleNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleName", "addLiteralByScheduleNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "schedule").then(() => r2.default.executeCallback(this, "addLiteralByScheduleNameAsync", t3, this)); + getItemByName(e3) { + if (!e3) return null; + if (s.hasUserPromptPrefix(e3)) return null; + const t3 = s.removePrefix(e3).toLowerCase(); + return o.default.find(this.items, (e4) => e4.lowerDisplayName === t3); + } + getGroupForItem(e3) { + if ((e3 = e3.isPromptContainer ? e3 : this.getItem(e3.id)) && e3.isSystem) return Object.assign(Object.assign({}, h), { audioPreview: this.audioPreview }); + } + promptHasAudioForLanguages(e3, t3) { + return this.getOrFetchItem(t3).then((t4) => { + let i3, n3 = true; + if (!t4) return false; + const r2 = e3.languages.supportedLanguages; + return o.default.each(r2, (e4) => { + i3 = e4.toLowerCase(); + const r3 = t4.getResource(i3); + r3 && !o.default.isNullOrUndefined(r3.audioLength) && 0 !== r3.audioLength || (n3 = false); + }), n3; }); } - get isArchValueScheduleCollection() { - return true; + refreshSinglePrompt(e3) { + return a.getSystemPromptContainer(e3).then((e4) => { + const t3 = this._createItemViewModel(e4); + return this.items[e4.id] && (t3.transferUsagesFrom(this.items[e4.id]), this.items[e4.id] = t3), t3; + }); + } + removeItemWithName(e3) { + const t3 = this.getItemByName(e3); + t3 && delete this.items[t3.id]; } } - 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 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); + t2.systemPromptListManager = new m(); + }, 30163(e2, t2, i2) { + "use strict"; + t2.userManager = void 0; + const n2 = i2(31635).__importDefault(i2(47532)), o = i2(30801), r = i2(24032), a = i2(27862), s = i2(33588); + class l extends n2.default { + get dependencyType() { + return a.User; + } + constructor() { + super(), this.topic = (0, r.getTopic)("userManager"), this._rawServerCache = {}, this.apiCallList = s.getUsers, this.apiCallSingle = s.getUser, this.className = "UserManager", this.dependencyContext = null, this.networkType = "users", this.uiMetadataSectionName = "users", this.actionsForUsageSearch = [o.extractSecureDataActionType], this.actionPropertyForUsageSearch = "acknowledgementUser", this._initialize(); + } } - s.extend(c, "CallFlowConfiguration"), Object.defineProperties(c.prototype, { debugSettings: { enumerable: true, get: function() { - return this._debugSettings; - }, set: function(e3) { - this._debugSettings = new r2(e3); - } }, disableAsr: { enumerable: true, get: function() { - return this._disableAsr; - }, set: function(e3) { - this._disableAsr = this.reviveItem(e3, a); - } }, disableAsrCompanyDirectory: { enumerable: true, get: function() { - return this._disableAsrCompanyDirectory; - }, set: function(e3) { - this._disableAsrCompanyDirectory = this.reviveItem(e3, a); - } }, errorHandling: { enumerable: true, get: function() { - return this._errorHandling; - }, set: function(e3) { - this._errorHandling = this.reviveItem(e3, o); - } }, initialPrompts: { enumerable: true, get: function() { - return this._initialPrompts; - }, set: function(e3) { - this._initialPrompts = this.reviveItem(e3, n2); - } }, inQueueCallFlowSettings: { enumerable: true, get: function() { - return this._inQueueCallFlowSettings; - }, set: function(e3) { - this._inQueueCallFlowSettings = this.reviveItem(e3, l); - } }, outboundCallSettings: { enumerable: true, get: function() { - return this._outboundCallSettings; - }, set: function(e3) { - this._outboundCallSettings = this.reviveItem(e3, u); - } }, speechRecCompanyDirectory: { enumerable: true, get: function() { - return this._speechRecCompanyDirectory; - }, set: function(e3) { - this._speechRecCompanyDirectory = this.reviveItem(e3, a); - } }, speechRecEngine: { enumerable: true, get: function() { - return this._speechRecEngine; - }, set: function(e3) { - this._speechRecEngine = this.reviveItem(e3, a); - } }, suppressRecording: { enumerable: true, get: function() { - return this._suppressRecording; - }, set: function(e3) { - this._suppressRecording = this.reviveItem(e3, a); - } } }), e2.exports = c; - }, 59777: (e2, t2, i2) => { + t2.userManager = new l(); + }, 23293(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DeflectActionModel = void 0; - const n2 = i2(31635), r2 = i2(5894), o = i2(30801), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(80295); - class u extends r2.BaseFailureOutputsActionModel { - constructor(e3) { - super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_deflectTo"), (0, l.makeUnenumerable)(this, "_message"), (0, l.makeUnenumerable)(this, "_smsTo"), (0, l.makeUnenumerable)(this, "_smsFrom"); + t2.userPromptListManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - get deflectTo() { - return this._deflectTo; + get dependencyType() { + return h.UserPrompt; } - set deflectTo(e3) { - this._deflectTo = this.reviveItem(e3, s.default); + constructor() { + 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 = {}, r.serviceListen(r.promptChanged, (e3, t3) => { + this.updatePromptNameAndUsages(e3, t3), this.updateRegisteredAudioExpressions(e3); + }), r.serviceListen(r.promptResourceDeleted, (e3) => { + e3.isUser && this.addItem(e3._model, true); + }), r.serviceListen(r.cleanUpFlow, (e3) => { + this.registeredAudioExpressions = {}, o.default.each(this.items, (t3) => t3.removeUsageForFlow(e3)); + }), this._initialize(); } - get message() { - return this._message; + getItemByName(e3) { + if (!e3) return null; + if (l.hasSystemPromptPrefix(e3)) return null; + const t3 = l.removePrefix(e3).toLowerCase(); + return o.default.find(this.items, (e4) => e4.lowerDisplayName === t3); } - set message(e3) { - this._message = this.reviveItem(e3, s.default); + removeItemWithName(e3) { + const t3 = this.getItemByName(e3); + t3 && delete this.items[t3.id]; } - get smsTo() { - return this._smsTo; + getBulkPromptContainers(e3) { + return a.getBulkUserPromptContainers(e3).then((e4) => { + o.default.each(e4.entities, (e5) => { + this.addItem(e5, true); + }); + }); } - set smsTo(e3) { - this._smsTo = this.reviveItem(e3, s.default); + _createItemViewModel(e3) { + return new d.default(e3, false); } - get smsFrom() { - return this._smsFrom; + 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)))); } - set smsFrom(e3) { - this._smsFrom = this.reviveItem(e3, s.default); + deletePrompt(e3) { + return a.deletePromptContainer(e3).then(() => { + this.topic.info("Successfully deleted prompt container: {}", e3), this.getItem(e3) && this.removeItemWithId(e3, true); + }); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this.deflectTo.pasteReIdOrRename(e3), this.message.pasteReIdOrRename(e3), this.smsTo.pasteReIdOrRename(e3), this.smsFrom.pasteReIdOrRename(e3); + getGroupForItem(e3) { + if ((e3 = e3.isPromptContainer ? e3 : this.getItem(e3.id)) && e3.isUser) return Object.assign(Object.assign({}, m), { audioPreview: this.audioPreview }); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this.deflectTo.pasteResolveOldToNewValues(e3), this.message.pasteResolveOldToNewValues(e3), this.smsTo.pasteResolveOldToNewValues(e3), this.smsFrom.pasteResolveOldToNewValues(e3); + refreshSinglePrompt(e3) { + return a.getPromptContainer(e3, false, { includeMediaUris: true }).then((e4) => { + const t3 = this._createItemViewModel(e4); + return this.items[e4.id] && t3.transferUsagesFrom(this.items[e4.id]), this.items[e4.id] = t3, t3; + }); + } + registerAudioExpression(e3) { + e3 && e3.id && (this.registeredAudioExpressions[e3.id] = e3); + } + unregisterAudioExpression(e3) { + e3 && e3.id && delete this.registeredAudioExpressions[e3.id]; + } + updatePromptNameAndUsages(e3, t3) { + const i3 = this.items[e3.id]; + if (i3) { + const n3 = i3.cloneUsages(); + return t3 !== e3.expressionName && (o.default.each(n3, (i4) => { + o.default.each(i4, (i5) => { + (0, s.isBaseExpression)(i5.expression) && i5.expression.replaceUsages(t3, e3.expressionName); + }); + }), e3.transferUsagesFrom(i3)), this.items[e3.id] = e3, true; + } + return false; + } + updateRegisteredAudioExpressions(e3) { + o.default.each(this.registeredAudioExpressions, (t3) => { + t3.updateIfPromptIsUsed(e3); + }); } } - t2.DeflectActionModel = u, u.__type = o.deflectActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "deflectTo", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "message", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "smsTo", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "smsFrom", null), u.registerType(); - }, 59794: (e2, t2, i2) => { + t2.userPromptListManager = new g(); + }, 59912(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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, o.customerSegmentManager); - } - get _globalTypeName() { - return "customerSegmentCollection"; + t2.utilizationLabelManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = n2.__importStar(i2(24032)), a = n2.__importStar(i2(15797)), s = n2.__importDefault(i2(47532)), l = i2(81801), u = i2(27862); + class c extends s.default { + get requiredAuth() { + return l.externalAuthorizations.authStrings.utilizationLabelView; } - get displayTypeName() { - return "ArchValueCustomerSegmentCollection"; + get dependencyType() { + return u.UtilizationLabel; } - get _searchByValueSearchProperty() { - return "name"; + constructor() { + super(), this.topic = r.getTopic("UtilizationLabelManager"), this.apiCallList = a.getUtilizationLabels, this.apiCallSingle = a.getUtilizationLabel, this._rawServerCache = {}, this.actionPropertyForUsageSearch = "", this.actionsForUsageSearch = [], this.className = "UtilizationLabelManager", this.defaultMatchingStyle = o.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "utilizationLabel", this.useStartsWithKeywordForExactMatch = true, this._initialize(); } - get isArchValueCustomerSegmentCollection() { - return true; + } + t2.utilizationLabelManager = new c(); + }, 39139(e2, t2, i2) { + "use strict"; + t2.videoManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(1360)), r = 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; } - 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)); - }); + get dependencyType() { + return d.Video; } - 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)); - }); + constructor() { + super(), this.topic = r.getTopic("VideoManager"), this.apiCallList = u.getVideoResponseAssets, this.apiCallSingle = u.getResponseAsset, this._rawServerCache = {}, this.className = "VideoManager", this.defaultMatchingStyle = o.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); } } - t2.default = s; - }, 59799: (e2, t2, i2) => { + t2.videoManager = new p(); + }, 89876(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.secureActionCategoryManager = t2.SecureActionCategoryManager = void 0; - const n2 = i2(24032), r2 = i2(64718), o = i2(47957); - class a extends r2.BaseIntegrationsActionCategoryManager { + t2.voicemailScriptManager = void 0; + const n2 = i2(24032), o = i2(82915), r = i2(30801), a = i2(47957), s = i2(52124); + class l extends o.ScriptManager { constructor() { - super(), this.topic = (0, n2.getTopic)("SecureActionCategoryManager"), this.additionalQueryParams = { secure: true }, this.dependencyContext = o.bridgeServer.category, this.className = "SecureActionCategoryManager", this._initialize(); + super("VoicemailScriptManager"), this.topic = (0, n2.getTopic)("VoicemailScriptManager"), this.actionsForUsageSearch = [r.transferVoicemailActionType], this.apiCallList = s.getScripts, this.dependencyContext = a.transferVoicemail.voicemailScript; } } - t2.SecureActionCategoryManager = a, t2.secureActionCategoryManager = new a(); - }, 59805: (e2, t2, i2) => { + t2.voicemailScriptManager = new l(); + }, 38725(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), 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); - } - t2.default = class { - constructor(e3, t3) { - this.errorCount = 0, this.forceTextReprocess = false, this.issuesMap = {}, this.isValidationResults = true, this.warningCount = 0, this._revalidateTriggers = [], this._suppressPassiveValidationTrackers = [], this.missingTTSEngine = {}, this.isDeep = t3, this.parentFlow = e3; + t2.worktypeManager = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(36781)), r = 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 d.externalAuthorizations.authStrings.worktypesView; } - addSuppressPassiveValidation(e3) { - this._suppressPassiveValidationTrackers.includes(e3) ? s.error(`already tracking ${null == e3 ? void 0 : e3.toString()} for addSuppressPassiveValidation`) : this._suppressPassiveValidationTrackers.push(e3); + get dependencyType() { + return p.Worktype; } - removeSuppressPassiveValidation(e3) { - const t3 = this._suppressPassiveValidationTrackers.indexOf(e3); - t3 >= 0 ? this._suppressPassiveValidationTrackers.splice(t3, 1) : s.error(`not tracking ${null == e3 ? void 0 : e3.toString()} for removeSuppressPassiveValidation`); + constructor() { + 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 = r.startsWith, this.dependencyContext = null, this.securityError = true, this.suppressSearch = false, this.sortNotSupported = true, this.uiMetadataSectionName = "workType", this.useStartsWithKeywordForExactMatch = true, this.defaultPageSize = 100, this._initialize(), o.serviceListen(o.cleanUpFlow, () => this.resetState()); } - shouldValidate() { - return 0 === this._suppressPassiveValidationTrackers.length; + _createItemViewModel(e3) { + return new c.WorktypeViewModel(e3); } - countTaskErrors(e3) { - if (e3.isDestroyed) return; - this.clearRollupErrorAndWarnings(e3); - let t3 = 0, i3 = 0; - o.default.each(e3.actions, (e4) => { - const n3 = [e4.id]; - e4.relatedIssueIds && n3.push(...e4.relatedIssueIds), n3.find((e5) => { - var t4; - const i4 = this.issuesMap[e5]; - return (null === (t4 = null == i4 ? void 0 : i4.errors) || void 0 === t4 ? void 0 : t4.length) > 0; - }) && (t3 += 1), n3.find((e5) => { - var t4; - 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, 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)); + get _networkModel() { + return u.default; } - nodeHasError(e3, t3, i3) { - const n3 = this.getIssues(e3); - if (n3 && n3.errors) return n3.errors.some((e4) => e4.text === t3 && (!i3 || e4.flowElementId === i3)); + get isWorktypeManager() { + return true; } - nodeHasWarning(e3, t3, i3) { - const n3 = this.getIssues(e3); - if (n3 && n3.warnings) return n3.warnings.some((e4) => e4.text === t3 && (!i3 || e4.flowElementId === i3)); + } + t2.worktypeManager = new _(); + }, 92158(e2, t2, i2) { + "use strict"; + t2.wrapupCodeManager = void 0; + const n2 = i2(31635), o = i2(24032), r = 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)(r.default.divisionedWrapupCodes) ? l.externalAuthorizations.authStrings.wrapupCodesSearch : l.externalAuthorizations.authStrings.wrapupCodesView; } - addExpressionError(e3, t3, i3) { - 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)); + get dependencyType() { + return u.WrapupCode; } - addExpressionWarning(e3, t3, i3, n3) { - e3.isTransitory && !n3 || (e3.setParseWarning(t3), i3 || (i3 = t3), this.addWarning(e3.parent, i3), this.addWarning(e3.parent, t3)); + constructor() { + super(), this.topic = (0, o.getTopic)("wrapupCodeManager"), this.apiCallList = c.getWrapupCodes, this.apiCallSingle = c.getWrapupCode, this.className = "WrapupCodeManager", this.dependencyContext = null, this._initialize(); } - addError(e3, t3, i3, n3, r3, o2) { - if (e3.isTransitory) return; - if (this._checkPriority(r3), !_(e3) && n3 && !_(e3.parent)) return; - let a2; - n3 ? (a2 = e3.parent, o2 || (o2 = e3)) : a2 = e3, a2.isFlowViewModel && !i3 && (a2 = a2.startUpObject || a2), this._createOrGetIssues(a2, a2.id).tryAddError(t3, n3 ? e3.id : void 0, r3, o2) && this.errorCount++, a2.topParent && a2.topParent.isTaskLike && !this.isDeep && this.countTaskErrors(a2.topParent), a2.hasValidationError = true; + } + t2.wrapupCodeManager = new d(); + }, 33139(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { actions: "actions", actionList: "actionList", choices: "choices", flowSequenceItemList: "flowSequenceItemList", menuChoiceList: "menuChoiceList", menus: "menus", outputPaths: "outputPaths", paths: "paths", tasks: "tasks", states: "states" }; + }, 25301(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allModes = t2.never = t2.always = void 0; + const n2 = i2(47957); + t2.always = { displayString: n2.askForSlot.confirmationModes.confirmationModeAlways, id: "always" }, t2.never = { displayString: n2.askForSlot.confirmationModes.confirmationModeNever, id: "never" }, t2.allModes = [t2.always, t2.never]; + }, 12847(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.InfoHighlightColor = void 0, t2.infoHighlightAlways = function(e3, t3 = a.BlackOnGreen) { + console.log((function(e4, t4) { + switch (t4) { + case a.WhiteOnBlue: + return o.bgBlue.white(e4); + case a.BlackOnGreen: + default: + return o.bgGreen.black(e4); + } + })(e3, t3)); + }, t2.infoHighlight = function(e3, t3 = a.BlackOnGreen) { + }, t2.infoInverse = function(e3) { + }, t2.errorAlways = function(...e3) { + !(function() { + { + const e4 = n2.default.rest(arguments); + console.log(o.red(arguments[0]), ...e4); + } + })(...e3); + }, t2.error = function(...e3) { + }, t2.logAlways = function(...e3) { + r(...e3); + }, t2.log = function(...e3) { + }, t2.infoAlways = function(...e3) { + r(...e3); + }, t2.info = function(...e3) { + }, t2.table = function(e3, t3, i3) { + }, t2.warnAlways = function(...e3) { + !(function(...e4) { + { + const t3 = n2.default.rest(e4); + console.log(o.yellow(e4[0]), ...t3); + } + })(...e3); + }, t2.warn = function(...e3) { + }, t2.time = function(e3, t3 = 1e3, i3 = false) { + return () => { + }; + }; + const n2 = i2(31635).__importDefault(i2(92140)); + let o; + function r(...e3) { + console.log(...e3); + } + var a; + o = i2(15896), (function(e3) { + e3.BlackOnGreen = "BlackOnGreen", e3.WhiteOnBlue = "WhiteOnBlue"; + })(a || (t2.InfoHighlightColor = a = {})); + }, 15721(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.repromptHandlingOptions = t2.manual = t2.aiManaged = void 0; + const n2 = i2(47957); + t2.aiManaged = { displayString: n2.askForSlot.repromptHandlingOptions.repromptHandlingOptionAIManaged, id: "aiManaged" }, t2.manual = { displayString: n2.askForSlot.repromptHandlingOptions.repromptHandlingOptionManuallyManaged, id: "manual" }, t2.repromptHandlingOptions = [t2.aiManaged, t2.manual]; + }, 27341(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.GENERETIVE_AI_TYPE = void 0, t2.switchToNewIntentPaths = function(e3, t3, i3) { + let n3; + t3.forEach((t4) => { + n3 = e3.getBranch(t4.outputId), n3 ? (n3.model.label = t4.label, n3.outOfService || n3.enableFull()) : (n3 = e3.addOptionalBranchInfo(t4), r.default.isFunction(i3) && i3(n3)); + }); + const o2 = r.default.reject(e3.branchInfoList, (e4) => !e4.isDynamicBranch); + r.default.filter(o2, (e4) => !r.default.findWhere(t3, { outputId: e4.outputId })).forEach((t4) => { + n3 = e3.getBranch(t4.outputId), n3 && n3.hasChildren ? n3.isUnreachable = true : e3.removeOptionalBranchInfoById(t4.outputId); + }), e3.sortBranches(); + }, t2.translateEmailIntentsToBranchItems = function(e3, t3) { + return t3.map((t4) => o.createBranchItemDynamic(e3.id, t4.name, null, true, t4.id)); + }; + const n2 = i2(31635), o = n2.__importStar(i2(59288)), r = n2.__importDefault(i2(92140)); + t2.GENERETIVE_AI_TYPE = "GenerativeAI"; + }, 30879(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getCurrencies = function() { + return r.length || r.push(...n2.default.map(o, (e3, t3) => { + const i3 = s(e3); + return a.push(i3), e3.code || n2.default.extend(e3, { code: t3 }), n2.default.extend(e3, { description: i3 }); + })), r; + }, t2.getCurrencyEntryFromCode = function(e3) { + return o[e3]; + }, t2.getDescriptionStringFromCode = function(e3) { + const t3 = o[e3]; + return t3 ? s(t3) : null; + }, t2.getCurrencyCodeAllowableValues = function() { + return void 0 === l && (l = [], Object.values(o).forEach((e3) => { + l.push({ id: e3.code, displayString: e3.displayName }); + })), l; + }; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(19502), r = [], a = []; + function s(e3) { + return (e3.code || e3.symbol) + " - " + e3.displayName; + } + let l; + }, 17498(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.NO_VERSION = void 0, t2.registerConsumerDependencies = function(e3, t3, i3) { + A(e3, t3), i3.forEach((i4) => { + 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 !== 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 o2 = (function(e4) { + return _[e4.instanceId] || (_[e4.instanceId] = []), _[e4.instanceId]; + })(i3), a2 = e3 ? e3.toLowerCase() : void 0, s2 = { nameLower: a2, name: e3, type: t3, id: n3 }; + let l2 = n3 ? r.default.findIndex(o2, { id: n3, type: t3 }) : -1; + l2 >= 0 ? o2[l2] = r.default.defaults(o2[l2], s2) : (l2 = a2 ? r.default.findIndex(o2, { nameLower: a2, type: t3 }) : -1, l2 >= 0 ? o2[l2] = r.default.defaults(o2[l2], s2) : o2.push(s2)); + }, t2.registerNonDependencyValidationItem = S, t2.registerExpression = function(e3, i3) { + if (!e3) return; + N(e3); + const n3 = g(e3); + r.default.each(n3, (n4) => { + if (n4.isTransitory) return; + n4.registerDependencies(); + const o2 = m(n4); + if (o2) { + const r2 = n4.getLitAsString(); + if (r2) { + n4.parent.isVariableViewModel && !i3 && u.validateItem(n4.parent); + const a2 = n4.getDependencyTrackingId(); + e3.outOfService || n4.outOfService ? S(n4.parent, 0, r2, a2, o2.value) : y(n4.parent, n4, r2, a2, t2.NO_VERSION, o2); + } + } + }); + }, t2.unRegisterConsumer = A, t2.unRegisterConsumerEntirely = function(e3, t3) { + t3 || (t3 = f(e3)), t3 && (p[t3.instanceId] = r.default.reject(T(t3), (t4) => t4.consumer && t4.consumer.id === e3.id)); + }, t2.unRegisterExpression = N, t2.deleteDependencies = v, t2.getDependenciesForFlow = I, t2.getDependencyGraphForFlow = function(e3) { + const t3 = {}; + return r.default.each(I(e3), (e4) => { + if (e4.type.hideFromGrid) return; + const i3 = e4.version ? `-${e4.version}` : "", n3 = `${e4.type.value}${i3}-${e4.id}`; + if (t3[n3]) t3[n3].visibleUsages.push({ consumer: e4.consumer, context: e4.context }); + else { + let r2 = e4.name; + if (i3 && e4.type === c.CommonModuleFlow) { + const t4 = e4.consumer.commonModule.getCommonModuleReference(); + t4 && (r2 = (0, o.sprintf)(d.nameAndVersion, t4.name, t4.version)); + } + t3[n3] = { id: n3, type: e4.type, name: r2, visibleUsages: [{ consumer: e4.consumer, context: e4.context }] }; + } + }), t3; + }, t2.getUnverifiedPrompts = function(e3) { + var t3; + if (!e3) return a.error("no flow passed in to getUnverifiedPrompts"), []; + const i3 = (null === (t3 = _[e3.instanceId]) || void 0 === t3 ? void 0 : t3.slice()) || []; + return e3.getEmbeddedCommonModules().forEach((e4) => { + const t4 = _[e4.instanceId]; + t4 && t4.forEach((e5) => { + i3.find((t5) => t5.id === e5.id && t5.type === e5.type) || i3.push(e5); + }); + }), i3; + }, t2.getValidationOnlyItems = function(e3) { + const t3 = r.default.clone(h[e3.instanceId]) || {}; + return e3.getEmbeddedCommonModules().forEach((e4) => { + const i3 = h[e4.instanceId]; + r.default.forEach(i3, (e5, i4) => { + t3[i4] || (t3[i4] = e5); + }); + }), t3; + }, t2.updateDependencies = function(e3, t3) { + t3 && v(e3), e3 && e3.updateDependencies(); + }; + const n2 = i2(31635), o = i2(17604), r = 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 c.ContactList; + case s.globalTypes.customerSegment: + return c.CustomerSegment; + case s.globalTypes.digitalAudio: + return c.DigitalAudio; + case s.globalTypes.division: + return c.Division; + case s.globalTypes.emergencyGroup: + return c.EmergencyGroup; + case s.globalTypes.file: + return c.File; + case s.globalTypes.grammar: + return c.Grammar; + case s.globalTypes.group: + return c.Group; + case s.globalTypes.image: + return c.Image; + case s.globalTypes.languageSkill: + return c.LanguageSkill; + case s.globalTypes.knowledgeBaseDocument: + return c.KnowledgeBaseDocument; + case s.globalTypes.queue: + return c.Queue; + case s.globalTypes.responseAsset: + return c.ResponseAsset; + case s.globalTypes.schedule: + return c.Schedule; + case s.globalTypes.scheduleGroup: + return c.ScheduleGroup; + case s.globalTypes.skill: + return c.Skill; + case s.globalTypes.userQueue: + return c.User; + case s.globalTypes.utilizationLabel: + return c.UtilizationLabel; + case s.globalTypes.video: + return c.Video; + case s.globalTypes.wrapupCode: + return c.WrapupCode; } - addInternalError(e3, t3, i3) { - p.error("Internal validation error: " + t3), this.addError(e3, t3, i3); + } + function g(e3) { + if (e3.getExpressions) return e3.getExpressions(); + } + function f(e3) { + if (e3.isFlowViewModel) return e3; + let t3 = e3; + for (; t3; ) { + if (t3.flow || t3.parentFlow) return t3.flow || t3.parentFlow; + t3 = t3.parent === t3 ? null : t3.parent; } - addRollupError(e3, t3) { - if (e3.isTransitory) return; - if (!_(e3)) return; - const i3 = this._createOrGetIssues(e3, e3.id); - i3 && i3.addRollUpError(t3); + } + function T(e3) { + return p[e3.instanceId] || (p[e3.instanceId] = []), p[e3.instanceId]; + } + function y(e3, t3, i3, n3, o2, r2, s2, l2, u2) { + if (!e3) return void a.error("registerConsumer missing consumer parameter"); + if (!n3) return void a.error("registerConsumer missing dependencyId parameter"); + if (!r2 || !r2.isDependencyType) return void a.error(`registerConsumer missing or invalid dependencyType parameter: ${r2}`); + if (s2 || (s2 = f(e3)), !s2) return void console.error("no flow found for dependency consumer:" + e3.id); + u2 || A(e3, t3, s2); + const c2 = { consumer: e3, context: t3, name: i3, id: n3, type: r2, extraPropertiesObject: l2 }; + o2 && (c2.version = o2), T(s2).push(c2); + } + function S(e3, t3, i3, n3, o2, r2) { + if (r2 || (r2 = f(e3)), !r2) return void console.error("no flow found for dependency consumer:" + e3.id); + const a2 = (function(e4, t4) { + h[e4.instanceId] || (h[e4.instanceId] = {}); + const i4 = h[e4.instanceId]; + return i4[t4] || (i4[t4] = {}), i4[t4]; + })(r2, o2); + a2[n3] = { name: i3, id: n3 }; + } + function A(e3, t3, i3) { + i3 || (i3 = f(e3)), i3 && (p[i3.instanceId] = r.default.reject(T(i3), (i4) => i4.consumer && i4.consumer.id === e3.id && i4.context === t3)); + } + function N(e3) { + const t3 = g(e3); + r.default.each(t3, (e4) => { + if (m(e4)) { + const t4 = f(e4); + if (!t4) return; + p[t4.instanceId] = r.default.reject(T(t4), (t5) => t5.context === e4); + } + }); + } + function v(e3) { + e3 && (delete p[e3.instanceId], delete _[e3.instanceId]); + } + function I(e3) { + if (!e3) return a.error("no flow passed in to getDependenciesForFlow"), []; + if (!p[e3.instanceId]) return []; + const t3 = p[e3.instanceId].slice(); + return e3.getEmbeddedCommonModules().forEach((e4) => { + const i3 = p[e4.instanceId]; + (null == i3 ? void 0 : i3.length) && t3.push(...i3.slice()); + }), t3; + } + t2.NO_VERSION = void 0, l.serviceListen(l.cleanUpFlow, (e3) => { + delete p[e3.instanceId]; + }); + }, 63221(e2, t2) { + "use strict"; + t2.engineSelectionTypes = void 0, t2.engineSelectionTypes = { engineSelectionDefault: "default", engineSelectionNone: "none", engineSelectionSpecific: "specific" }; + }, 35515(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.archSessionId = t2.pageSizes = t2.pageOrientationOptions = t2.pageSizeOptions = t2.osList = t2.buildNumber = t2.browserInfo = t2.values = t2.limits = t2.browser = void 0, t2.isConnected = function() { + return !!N(); + }, t2.isChrome = function() { + return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("chrome"); + }, t2.isChromium = function() { + return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.isEngine("Blink"); + }, t2.isEdge = function() { + return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("Microsoft Edge"); + }, t2.isFirefox = function() { + return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("firefox"); + }, t2.isSafari = function() { + return null === t2.browserInfo || void 0 === t2.browserInfo ? void 0 : t2.browserInfo.is("safari"); + }, t2.getNodeUserAgentHeader = function() { + var e3; + if (!p) { + const i3 = !!(null === (e3 = null === process || void 0 === process ? void 0 : process.env) || void 0 === e3 ? void 0 : e3.IS_ARCHY_CX_AS_CODE_LAMBDA); + p = `ArchitectScripting-build-${t2.buildNumber}${i3 ? "-lambda)" : ""}`; + } + return p; + }, t2.getGenesysAppHeader = function() { + return `${`architect-webui/${t2.buildNumber}`}/scripting`; + }, t2.getAuthToken = N, t2.setAuthToken = function(e3) { + h = e3; + }, t2.getAuthHost = function() { + return _; + }, t2.getConnectUrl = function(e3, t3, i3) { + return e3 = e3 || (0, a.uuid)(), "https://" + f.urls.auth + "/authorize?response_type=" + (i3 ? "code" : "token") + "&redirect_uri=" + t3 + "&state=" + e3 + "&client_id=" + f.client; + }, t2.getDirectoryUrl = function() { + return `https://${f.host}/directory/#/activity`; + }, t2.getAboutGenesysUrl = function() { + return `https://${f.host}/directory/#/about`; + }, t2.getDisconnectUrl = function() { + return "https://" + f.urls.auth + "/logout"; + }, t2.getAppsV2StreamingUrl = function() { + return f.host.includes("apps.") ? f.domain = f.host.replace("apps.", "") : f.domain = f.host.replace("app-regional.", ""), `wss://streaming.${f.domain}`; + }, t2.initialize = function(e3, i3, n3, o2, r2, a2) { + f.host = g.host || i3, f.env = g.env || e3, f.appsV2Env = g.appsV2Env || a2, f.urls = f.urls || {}, f.region = g.region || n3, f.isFedRamp = g.isFedRamp || r2, o2 || (f.domain = f.host.replace("apps", ""), f.domain = f.host.replace("app-regional", "")), f.client = g.client ? g.client : "cd443cab-4821-487f-9fd2-465ec1735ba3", f.client_secret = g.client_secret, d && (_ = new d.Host(f.client, "architect-webui")), o2 ? (f.redirectUri = window.location.origin + window.location.pathname, f.local = true) : f.redirectUri = f.local ? "http://" + window.location.host : "https://" + f.host + "/architect/", f.coreRedirectUri = "http://localhost:9001/callback", (function() { + const e4 = t2.browser && window.navigator || null; + e4 ? e4.appVersion ? -1 !== e4.appVersion.toLowerCase().indexOf("win") ? m = t2.osList.windows : -1 !== e4.appVersion.toLowerCase().indexOf("mac") ? m = t2.osList.mac : -1 !== e4.appVersion.toLowerCase().indexOf("x11") ? m = t2.osList.unix : -1 !== e4.appVersion.toLowerCase().indexOf("linux") ? m = t2.osList.linux : console.error("OS could not be detected. appVersion: " + e4.appVersion) : (console.error("No navigator.appVersion detected."), m = t2.osList.unknown) : (console.log("navigator unavailable - setting operating system to unknown"), m = t2.osList.unknown); + })(); + }, t2.overrideProperties = function(e3) { + e3 && r.default.each(e3, function(e4, t3) { + g[t3] = e4; + }); + }, t2.loadProperties = function(e3) { + e3 && (function(e4) { + var t3; + f.urls.auth = g.auth || e4["auth.uri"], f.urls["public-api.apps"] = g["api.uri"] || g["public-api.apps"] || e4["api.uri"]; + let i3 = g["purecloud.uri"] || e4["purecloud.uri"]; + i3 && "/" === i3.slice(-1) && (i3 = i3.slice(0, -1)), (null === (t3 = f.host) || void 0 === t3 ? void 0 : t3.includes("app-regional")) && i3 && (i3 = i3.replace("apps.", "app-regional.")), f.urls["purecloud.uri"] = i3; + })((function(e4) { + const t3 = {}; + return r.default.each(e4.split("\n"), function(e5) { + e5 && (e5 = e5.split("="), t3[e5[0]] = e5[1].replace(/http(s|):\/\//, "")); + }), t3; + })(e3)); + }, t2.getCurrentBrowserPageSize = function(e3, i3) { + let n3, o2 = t2.pageSizes.windows.chrome.letter.portrait; + n3 = t2.pageSizes[m] ? t2.pageSizes[m] : t2.pageSizes.windows; + const a2 = t2.browserInfo.getBrowserName(); + return r.default.isString(a2) && n3[a2.toLowerCase()] ? (n3 = n3[t2.browserInfo.getBrowserName().toLowerCase()], n3[e3] && n3[e3][i3] && (o2 = n3[e3][i3]), o2) : (console.error('Did not recognize browser. Name: "' + a2 + '"'), o2); + }, t2.isRedirectingToOAuth = function() { + return y; + }, t2.setIsRedirectingToOAuth = function(e3) { + y = e3; + }, t2.desiredParameters = function() { + return S; + }, t2.setDesiredParameters = function(e3) { + S = e3; + }, t2.desiredHash = function() { + return A; + }, t2.setDesiredHash = function(e3) { + A = e3; + }, t2.desiredPath = function() { + return A ? A.substring(2, A.length) : null; + }, t2.isDevOrTest = function() { + return f.env === u.environmentEnum.dev || f.env === u.environmentEnum.test; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(34707)), r = n2.__importDefault(i2(92140)), a = i2(9456), s = n2.__importStar(i2(74359)), l = n2.__importStar(i2(12847)), u = i2(75754), c = i2(287), d = s.isRunningInBrowser() ? i2(16370) : null; + let p, _ = null, h = null; + t2.browser = "object" == typeof window, t2.limits = new c.EnvironmentLimits(); + let m = null; + const g = {}, f = { urls: {} }; + let T, y, S, A; + function N() { + return h; + } + t2.values = f, t2.browser && (T = o.default.getParser(window.navigator.userAgent)), t2.browserInfo = T, t2.buildNumber = r.default.isNumber("0.69.1") ? String("0.69.1") : "0.69.1", 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(), l.infoHighlightAlways("ArchSessionId:" + t2.archSessionId); + }, 75754(e2, t2) { + "use strict"; + t2.environmentEnum = void 0, t2.environmentEnum = { dev: "dev", test: "test", prod: "prod" }; + }, 287(e2, t2, i2) { + "use strict"; + t2.EnvironmentLimits = void 0; + const n2 = i2(31635).__importDefault(i2(73198)), o = i2(55299), r = i2(55909), a = i2(33951); + class s extends o.BaseClass { + constructor() { + super(), this._collectionItemsMax = n2.default.defaultCollectionItemsMax; } get className() { - return "ValidationResults"; + return "EnvironmentLimits"; } - clearRollupErrorAndWarnings(e3) { - _(e3) && this.issuesMap[e3.id] && this.issuesMap[e3.id].clearRollupErrorAndWarnings(); + get collectionItemsMax() { + return this._collectionItemsMax; } - get needsRevalidate() { - return this._revalidateTriggers.length > 0; + set collectionItemsMax(e3) { + this._collectionItemsMax = a.ParameterValidator.expectInt(e3, () => r.ParameterInfo.createPropertySet(this.className, "collectionItemsMax", "value"), true); } - getRevalidateTriggers() { - return [...this._revalidateTriggers]; + setCollectionItemsMax(e3) { + return this.collectionItemsMax = e3, this; } - addRevalidateTrigger(e3, t3) { - this._revalidateTriggers.push(o.default.addPromiseTimeout(e3, t3, "timeout during revalidation triggers")); + } + t2.EnvironmentLimits = s; + }, 97111(e2, t2, i2) { + "use strict"; + t2.environmentList = void 0; + const n2 = i2(75754); + t2.environmentList = [{ env: n2.environmentEnum.dev, appsV2Env: "dev", host: "apps.inindca.com", region: "us-east-1" }, { env: n2.environmentEnum.dev, appsV2Env: "dev", host: "app-regional.inindca.com", region: "us-east-1" }, { env: n2.environmentEnum.test, appsV2Env: "test", host: "apps.inintca.com", region: "us-east-1" }, { env: n2.environmentEnum.test, appsV2Env: "test", host: "app-regional.inintca.com", region: "us-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-cac1", host: "apps.cac1.pure.cloud", region: "ca-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-cac1", host: "app-regional.cac1.pure.cloud", region: "ca-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mec1", host: "apps.mec1.pure.cloud", region: "me-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mec1", host: "app-regional.mec1.pure.cloud", region: "me-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod", host: "apps.mypurecloud.com", region: "us-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod", host: "app-regional.mypurecloud.com", region: "us-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse1", host: "apps.apse1.pure.cloud", region: "ap-southeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse1", host: "app-regional.apse1.pure.cloud", region: "ap-southeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse2", host: "apps.mypurecloud.com.au", region: "ap-southeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse2", host: "app-regional.mypurecloud.com.au", region: "ap-southeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc1", host: "apps.mypurecloud.de", region: "eu-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc1", host: "app-regional.mypurecloud.de", region: "eu-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc2", host: "apps.euc2.pure.cloud", region: "eu-central-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc2", host: "app-regional.euc2.pure.cloud", region: "eu-central-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw1", host: "apps.mypurecloud.ie", region: "eu-west-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw1", host: "app-regional.mypurecloud.ie", region: "eu-west-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne1", host: "apps.mypurecloud.jp", region: "ap-northeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne1", host: "app-regional.mypurecloud.jp", region: "ap-northeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "fedramp-use2-core", host: "apps.use2.us-gov-pure.cloud", region: "us-east-2", isFedRamp: true }, { env: n2.environmentEnum.prod, appsV2Env: "fedramp-use2-core", host: "app-regional.use2.us-gov-pure.cloud", region: "us-east-2", isFedRamp: true }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw2", host: "apps.euw2.pure.cloud", region: "eu-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw2", host: "app-regional.euw2.pure.cloud", region: "eu-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-usw2", host: "apps.usw2.pure.cloud", region: "us-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-usw2", host: "app-regional.usw2.pure.cloud", region: "us-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne2", host: "apps.apne2.pure.cloud", region: "ap-northeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne2", host: "app-regional.apne2.pure.cloud", region: "ap-northeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne3", host: "apps.apne3.pure.cloud", region: "ap-northeast-3" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne3", host: "app-regional.apne3.pure.cloud", region: "ap-northeast-3" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-aps1", host: "apps.aps1.pure.cloud", region: "ap-south-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-aps1", host: "app-regional.aps1.pure.cloud", region: "ap-south-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mxc1", host: "apps.mxc1.pure.cloud", region: "mx-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mxc1", host: "app-regional.mxc1.pure.cloud", region: "mx-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-sae1", host: "apps.sae1.pure.cloud", region: "sa-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-sae1", host: "app-regional.sae1.pure.cloud", region: "sa-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "eusc-edee1", host: "apps.edee1.eusc-pure.cloud", region: "eusc-de-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "eusc-edee1", host: "app-regional.edee1.eusc-pure.cloud", region: "eusc-de-east-1" }]; + }, 53128(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAllHandlingTypes = function() { + return u; + }, t2.getHandlingTypesForFlowType = function(e3) { + switch (e3) { + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: + case o.flowTypes.flowTypeVoice: + return d; + case o.flowTypes.flowTypeVoiceSurvey: + return p; + case o.flowTypes.flowTypeCommonModule: + return c; + case o.flowTypes.flowTypeInboundCall: + case o.flowTypes.flowTypeOutboundCall: + case o.flowTypes.flowTypeSecureCall: + case o.flowTypes.flowTypeVoicemail: + return h; + case o.flowTypes.flowTypeInQueueCall: + return m; + case o.flowTypes.flowTypeInQueueEmail: + case o.flowTypes.flowTypeInQueueShortMessage: + return l.isFeatureAvailable(a.default.transferToQueueErrorHandlingAutomate) ? [...g, r.default.Queue] : g; + case o.flowTypes.flowTypeInboundEmail: + case o.flowTypes.flowTypeInboundShortMessage: + case o.flowTypes.flowTypeInboundChat: + return f; + case o.flowTypes.flowTypeSurveyInvite: + return c; + case o.flowTypes.flowTypeBusinessProcess: + case o.flowTypes.flowTypeWorkflow: + return T; + case o.flowTypes.flowTypeWorkitem: + return _; + case o.flowTypes.flowTypeEmailSend: + return y; + default: + return s.error(`error handling types - unhandled flowType: ${e3}`), u; } - addRollupWarning(e3, t3) { - if (!_(e3)) return; - const i3 = this._createOrGetIssues(e3, e3.id); - i3 && i3.addRollUpWarning(t3); + }, t2.getFeatureForErrorHandlingType = function(e3, t3) { + if (e3 && e3.value === r.default.Queue.value) switch (t3) { + case o.flowTypes.flowTypeInQueueEmail: + case o.flowTypes.flowTypeInQueueShortMessage: + return a.default.transferToQueueErrorHandlingAutomate; } - addWarning(e3, t3, i3, n3, r3, o2) { - if (e3.isTransitory) return; - if (this._checkPriority(r3), !_(e3) && n3 && !_(e3.parent)) return; - let a2; - n3 ? (a2 = e3.parent, o2 || (o2 = e3)) : a2 = e3, a2.isFlowViewModel && !i3 && (a2 = a2.startUpObject || a2), this._createOrGetIssues(a2, a2.id).tryAddWarning(t3, n3 ? e3.id : void 0, r3, o2) && this.warningCount++, a2.hasValidationWarning = true; + }; + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(15244)), a = n2.__importDefault(i2(4648)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(10798)), u = [r.default.AbortSend, r.default.CompleteSend, r.default.Disconnect, r.default.EndFlow, r.default.EndInQueueState, r.default.EndWorkflow, r.default.Exit, r.default.Menu, r.default.Queue, r.default.State, r.default.Task], c = [], d = [r.default.Exit, r.default.Disconnect], p = [r.default.Disconnect], _ = [r.default.EndFlow], h = [r.default.Disconnect, r.default.Queue, r.default.Menu, r.default.Task], m = [r.default.Disconnect, r.default.Queue], g = [r.default.EndInQueueState, r.default.EndFlow], f = [r.default.Disconnect, r.default.Queue], T = [r.default.EndWorkflow, r.default.State], y = [r.default.AbortSend, r.default.CompleteSend]; + }, 36781(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.nluInfoUpdatedForWorkbench = t2.nluDomainVersionCreated = t2.nameChanged = t2.lastPathActionRemoved = t2.outputBranchRemoved = t2.localStorageCleanup = t2.outputBranchAdded = t2.showAudioPreview = t2.dismissAlert = 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 = t2.nluIntentConfigurationUpdated = 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); + }, t2.serviceListen = function(e3, t3) { + a.on(e3, t3); + }; + const n2 = i2(31635), o = i2(24434), r = n2.__importStar(i2(24032)), a = new o.EventEmitter(); + a.setMaxListeners(500); + let s = 0; + function l(e3, ...t3) { + try { + s++, a.emit.apply(a, arguments); + } catch (t4) { + r.getTopic("events").exception(t4, "Exception during event emit for: " + e3); + } finally { + s > 0 && s--; } - getIssues(e3) { - return this.issuesMap[e3]; + } + t2.emitter = { emit(e3, ...t3) { + return l.apply(a, arguments); + }, on(e3, t3) { + return a.on.apply(a, arguments); + }, once(e3, t3) { + return a.once.apply(a, arguments); + }, removeListener(e3, t3) { + 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.dismissAlert = "dismissAlert", 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"; + }, 55006(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.LogLevelCharacteristic = t2.ExecutionDataType = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(74359)), r = 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"; + })(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() { + o.bootstrapDataLoaded.then(() => { + this.initialize(true); + }); } - hasIssues(e3) { - return this.getIssues(e3).errors.length > 0 || this.getIssues(e3).warnings.length > 0; + initialize(e3) { + this._characteristicMap && !e3 || (this._characteristicMap = /* @__PURE__ */ new Map(), Object.values(p).forEach((e4) => { + if (!e4) return; + let 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; + })); } - _checkForIssues(e3, t3, i3) { - const n3 = this.getIssues(e3); - return (null == n3 ? void 0 : n3[t3].length) > 0 || (null == n3 ? void 0 : n3[i3].length) > 0; + get 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; } - hasAnyErrors(e3) { - return this._checkForIssues(e3, "errors", "rollupErrors"); + _isExecutionDataAvailableForType(e3, t3) { + switch (e3) { + case d.bot: + return r.isFeatureAvailable(a.default.botInstanceExecutionData); + case d.flow: + return t3 !== s.flowTypes.flowTypeCommonModule && (s.flowTypes.isCiceroFlowType(t3) ? r.isFeatureAvailable(a.default.flowInstanceLogLevels) : r.isFeatureAvailable(a.default.flowInstanceExecutionData) || r.isFeatureAvailable(a.default.flowInstanceLogLevelConfiguration)); + case d.dataAction: + return r.isFeatureAvailable(a.default.dataActionInstanceExecutionData); + default: + return false; + } } - hasAnyWarnings(e3) { - return this._checkForIssues(e3, "warnings", "rollupWarnings"); + isExecutionDataTypeAvailable(e3) { + return this._isExecutionDataAvailableForType(e3); } - clearLinkedIssuesAndWarnings(e3, t3) { - if (e3) { - for (let i3 = e3.errors.length - 1; i3 >= 0; i3--) e3.errors[i3].flowElementId === t3.id && (e3.errors.splice(i3, 1), this.errorCount--); - for (let i3 = e3.warnings.length - 1; i3 >= 0; i3--) e3.warnings[i3].flowElementId === t3.id && (e3.warnings.splice(i3, 1), this.warningCount--); - t3.parent && t3.parent.isDataReporter && (t3.parent.hasValidationError = e3.errors.length > 0, t3.parent.hasValidationWarning = e3.warnings.length > 0); + flowTypeSupportsExecutionData(e3) { + return this._isExecutionDataAvailableForType(d.flow, e3); + } + isLogLevelCharacteristicAvailable(e3) { + return this._isLogLevelCharacteristicAvailable(e3); + } + isLogLevelCharacteristicAvailableForFlowType(e3, t3) { + return this._isLogLevelCharacteristicAvailable(e3, t3); + } + _isLogLevelCharacteristicAvailable(e3, t3) { + if (!this.characteristicMap[e3]) return false; + if (!t3) return true; + if (s.flowTypes.isCiceroFlowType(t3)) switch (e3) { + case p.flowExecutionItems: + case p.flowEventError: + case p.flowEventWarning: + return true; + default: + return r.isFeatureAvailable(a.default.flowInstanceExecutionDataBotFlows); } + else if (s.flowTypes.isAutomateFlowType(t3) && e3 === p.flowCommunications) return false; + return true; } - removeIssues(e3, t3) { - var i3; - i3 = e3, o.default.isFunction(i3.removeDependantValidationIssues) && e3.removeDependantValidationIssues(this, e3, t3); - const n3 = e3.id ? e3.id : e3, r3 = this.getIssues(n3); - (r3 || t3) && (e3.isDataReporter && (e3.hasValidationError = false, e3.hasValidationWarning = false), r3 && (this.warningCount -= r3.warnings.length, this.errorCount -= r3.errors.length, r3.clearErrorsAndWarnings(), r3.clearRollupErrorAndWarnings()), t3 && e3.parent && e3.parent.id && (this.clearLinkedIssuesAndWarnings(this.getIssues(e3.parent.isFlowViewModel && e3.parent.startUpObject ? e3.parent.startUpObject.id : e3.parent.id), e3), e3.parentAudioViewModel && (this.clearLinkedIssuesAndWarnings(this.getIssues(e3.parentAudioViewModel.parent.isFlowViewModel ? e3.parentAudioViewModel.parent.startUpObject ? e3.parentAudioViewModel.parent.startUpObject.id : e3.parentAudioViewModel.parent.id : e3.parent.id), e3.parentAudioViewModel), this.clearLinkedIssuesAndWarnings(this.getIssues(e3.parentAudioViewModel.id), e3.parentAudioViewModel))), e3.topParent && e3.topParent.isTaskLike && !this.isDeep && this.countTaskErrors(e3.topParent)); + getExecutionDataLogLevelDisplayStr(e3, t3) { + let i3; + if (null == e3 ? void 0 : e3.length) { + const t4 = `executionDataLogLevelLabel${e3.charAt(0).toUpperCase()}${e3.slice(1)}`; + i3 = u.executionDataConfiguration[t4]; + } + return !i3 && t3 && (i3 = u.generic.unknown), i3; + } + }(); + }, 99434(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getDisplayText = function e3(t3, i3) { + var n3, u2; + if (t3.isCollectionExpression) return (function(e4) { + return e4.isExpressionMode ? e4.text : e4.displayValue; + })(t3); + if (i3 || (i3 = t3.parentFlow.getFlowFilterPreviewOptionsExpressionDisplayOptions(t3)), t3.isNoValueMode) return t3.options ? t3.options.getModeNoValueRuntimeEvaluationStrForContext(t3) : void 0; + if (t3.isBuilderMode) { + const e4 = null === (n3 = t3.builder) || void 0 === n3 ? void 0 : n3.getExpressionDetails(i3); + if (e4) return e4; } - _checkPriority(e3) { - u.ParameterValidator.expectNumber(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "checkPriority", "priority"), true); + if (null == i3 ? void 0 : i3.richSummary) { + if (!t3.text) return; + if (t3.isVariableMode || t3.isExpressionMode) return t3.text; } - _createOrGetIssues(e3, t3) { - let i3 = this.issuesMap[t3]; - return i3 && i3.model === e3.model || (i3 = new c.default(e3, t3), this.issuesMap[t3] = i3), i3; + if (s.isMatch(t3.type, l.globalTypes.currency, s.settings.exact)) return (function(e4) { + const t4 = /^(-?\d*\.?(\d*)?)\|(\w{3})?$/.exec(e4.text); + if (t4) { + const e5 = t4 ? _[t4[3]] : void 0; + if (t4[1] && e5) try { + 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."); + } + } + return e4.text; + })(t3); + if (s.isMatch(t3.type, l.globalTypes.duration, s.settings.exact)) return (function(e4) { + return a.getSearchStringFromLiteral(e4.text); + })(t3); + if (s.isMatch(t3.type, l.globalTypes.string, s.settings.exact)) return (function(e4, t4) { + return e4.text || (null == t4 ? void 0 : t4.noEmptyText) ? e4.text : h.literal.empty; + })(t3, i3); + if (s.isMatch(t3.type, l.globalTypes.boolean, s.settings.exact)) return (function(e4) { + var t4, i4; + const n4 = e4.options; + return e4.isLiteralMode && e4.text.toLocaleLowerCase() === r.default.true ? (null === (t4 = n4.boolText) || void 0 === t4 ? void 0 : t4.true) || h.boolean.true : e4.isLiteralMode && e4.text.toLocaleLowerCase() === r.default.false ? (null === (i4 = n4.boolText) || void 0 === i4 ? void 0 : i4.false) || h.boolean.false : e4.text; + })(t3); + if (s.isMatch(t3.type, l.globalTypes.prompt, s.settings.exact)) return (function(e4, t4) { + var i4; + if (e4.isLiteralMode && e4.val) { + const n4 = o.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)(c.default.botFlowsDigitalBotFlowsMultiLingualFeature)) { + const e5 = n4.getResourceForLanguageTag(t4); + if (e5) return e5; + } + return (null == t4 ? void 0 : t4.richSummary) ? `${e4.getEmbeddableExpressionText()}` : `${e4.text} (${n4.isSystem ? h.audio.promptSystem : h.audio.promptUser})`; + } + } + return e4.text; + })(t3, i3); + if (s.isMatch(t3.type, l.globalTypes.timeslot, s.settings.exact)) return (function(t4) { + const i4 = t4.type.getPropDateTime(t4), n4 = t4.type.getPropDuration(t4); + return t4.isLiteralMode && i4 && n4 ? `${e3(i4)}|${e3(n4)}` : t4.text; + })(t3); + if (s.isMatch(t3.type, l.globalTypes.lineItem, s.settings.exact)) return (function(t4) { + const i4 = t4.type.getPropListingName(t4), n4 = t4.type.getPropListingPrice(t4); + return t4.isLiteralMode && i4 && n4 ? `${e3(i4)}|${e3(n4)}` : t4.text; + })(t3); + if (t3.type.hasRichLiteralEditor && t3.isLiteralMode) return h.expression.literal; + if (t3.isLiteralMode && t3.text && t3.options && t3.options.isExpressionTypeNetworkObjectOptions) return `${t3.text} (${t3.type.displayString})`; + if (null === (u2 = t3.options) || void 0 === u2 ? void 0 : u2.allowableValues) { + const e4 = t3.options.allowableValues.find((e5) => { + var i4, n4; + return (null === (i4 = e5.id) || void 0 === i4 ? void 0 : i4.toString()) === (null === (n4 = t3.text) || void 0 === n4 ? void 0 : n4.toString()); + }); + if (e4 && e4.displayString) return e4.displayString; } + return t3.text; }; - }, 59821: (e2, t2, i2) => { + const n2 = i2(31635), o = n2.__importStar(i2(43011)), r = 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"); + }, 54018(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFindSystemObjectsByNameActionModel = void 0; - const n2 = i2(31635), r2 = i2(7340), o = i2(80295), a = i2(80295), s = i2(7401); - class l extends r2.BaseFindSystemObjectActionModel { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_findNames"); - } - get findNames() { - return this._findNames; + t2.expressionToJsonSchemaTypeMap = void 0; + const n2 = i2(80428); + t2.expressionToJsonSchemaTypeMap = { [n2.expressionTypeNames.boolean]: "boolean", [n2.expressionTypeNames.date]: "date", [n2.expressionTypeNames.integer]: "integer", [n2.expressionTypeNames.decimal]: "number", [n2.expressionTypeNames.string]: "string" }; + }, 81801(e2, t2, i2) { + "use strict"; + t2.externalAuthorizations = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(17604), r = i2(47957), a = (r.externalAuths.agenticVirtualAgentView.displayTitle, r.externalAuths.agenticVirtualAgentVersionView.displayTitle, r.externalAuths.auditView.displayTitle, r.externalAuths.botConnectorView.displayTitle, r.externalAuths.bridgeActionView.displayTitle, r.externalAuths.conversationConferenceAdd.displayTitle, r.externalAuths.conversationCustomAttributesSchemaView.conversationCustomAttributesSchemaViewDisplayTitle, r.externalAuths.contactListsView.displayTitle, r.externalAuths.customerIntentsView.customerIntentsViewDisplayTitle, r.externalAuths.customerSegmentsView.customerSegmentsViewDisplayTitle, r.externalAuths.dataTablesView.displayTitle, r.externalAuths.decisionTablesSearch.decisionTablesSearchDisplayTitle, r.externalAuths.divisionsView.divisionsViewDisplayTitle, r.externalAuths.emergencyGroupView.displayTitle, r.externalAuths.flowLaunch.displayTitle, r.externalAuths.flowMilestonesView.displayTitle, r.externalAuths.flowOutcomesView.displayTitle, r.externalAuths.flowView.displayTitle, r.externalAuths.grammarView.displayTitle, r.externalAuths.guideView.displayTitle, r.externalAuths.guideVersionView.displayTitle, r.externalAuths.integrationsActionView.displayTitle, r.externalAuths.integrationView.displayTitle, r.externalAuths.knowledgeBaseView.knowledgeBaseViewDisplayTitle, r.externalAuths.knowledgeBaseDocumentView.knowledgeBaseDocumentViewDisplayTitle, r.externalAuths.languageSkillsView.displayTitle, r.externalAuths.messagingIntegrationView.messagingIntegrationViewDisplayTitle, r.externalAuths.nluView.displayTitle, r.externalAuths.oAuthClientView.oAuthClientViewDisplayTitle, r.externalAuths.promptsSystemView.displayTitle, r.externalAuths.promptsUserView.displayTitle, r.externalAuths.processAutomationTriggerView.displayTitle, r.externalAuths.queuesView.displayTitle, r.externalAuths.responseAssetAdd.displayTitle, r.externalAuths.responseAssetView.displayTitle, r.externalAuths.responseLibraryView.displayTitle, r.externalAuths.responseLibraryView.displayTitle, r.externalAuths.responseView.displayTitle, r.externalAuths.schedulesView.displayTitle, r.externalAuths.scheduleGroupView.displayTitle, r.externalAuths.scriptsView.displayTitle, r.externalAuths.smsPhoneNumberView.smsPhoneNumberViewDisplayTitle, r.externalAuths.surveyFormView.displayTitle, r.externalAuths.utilizationLabelView.utilizationLabelViewDisplayTitle, r.externalAuths.voicemailReceive.displayTitle, r.externalAuths.wrapupCodesView.displayTitle, r.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; } - set findNames(e3) { - this._findNames = this.reviveItem(e3, s); + _getAuthStringDisplayTitle(e3, t3) { + if (n2.default.isObject(t3) || (t3 = this._getAuthWarningResourceObject(e3), n2.default.isObject(t3))) return t3.displayTitle ? t3.displayTitle : t3[`${e3}DisplayTitle`]; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._findNames.pasteReIdOrRename(e3); + _getAuthWarningResourceObject(e3) { + const t3 = this.externalAuthorizations[e3]; + let i3; + return r.externalAuths[e3] ? i3 = r.externalAuths[e3] : t3.commonResourceKey && r.externalAuths[t3.commonResourceKey] && (i3 = r.externalAuths[t3.commonResourceKey]), i3; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._findNames.pasteResolveOldToNewValues(e3); + getFormattedAuthWarning(e3) { + const t3 = this._getAuthStringDisplayTitle(e3); + if (!t3) return ""; + const i3 = this.externalAuthorizations[e3], n3 = "
  • " + (0, o.sprintf)(r.externalAuths.missingPermissionContext, i3.permissionInfo.displayText) + "
"; + return (0, o.sprintf)(r.externalAuths.overviewContext, t3, n3); } - } - t2.BaseFindSystemObjectsByNameActionModel = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "findNames", null); - }, 59865: (e2, t2, i2) => { - const n2 = i2(2210); - function r2() { - Object.defineProperties(this, { _prompts: { writable: true } }), this.aliasName = void 0, this.aliasId = void 0, this.aliasLanguages = void 0, r2.baseConstructor.apply(this, arguments); - } - i2(82149).extend(r2, "BaseLexActionModel"), Object.defineProperties(r2.prototype, { pasteReIdOrRename: { value: function(e3) { - r2._super.pasteReIdOrRename.apply(this, arguments), this.prompts.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - r2._super.pasteResolveOldToNewValues.apply(this, arguments), this.prompts.pasteResolveOldToNewValues(e3); - } }, prompts: { enumerable: true, get: function() { - return this._prompts; - }, set: function(e3) { - this._prompts = this.reviveItem(e3, n2); - } } }), e2.exports = r2; - }, 59912: (e2, t2, i2) => { - "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 c extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.utilizationLabelView; + getPermissionString(e3) { + return `${e3.domain}:${e3.entityName}:${e3.action}`; } - get dependencyType() { - return u.UtilizationLabel; + getSchedulesPermissions() { + return { schedulesView: this.externalAuthorizations.schedulesView, scheduleGroupView: this.externalAuthorizations.scheduleGroupView, emergencyGroupView: this.externalAuthorizations.emergencyGroupView }; } - constructor() { - 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(); + getAuthValidationWarning(e3, t3) { + const i3 = this._getAuthStringDisplayTitle(e3); + if (!i3) return ""; + const n3 = t3 ? r.externalAuths.thirdPersonValidationContext : r.externalAuths.validationContext; + return (0, o.sprintf)(n3, i3); } - } - t2.UtilizationLabelManager = c, t2.utilizationLabelManager = new c(); - }, 59929: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + setAuthorization(e3, t3) { + const i3 = this.currentAuthorizations[t3]; + i3 && (i3.havePermission = e3); } - get _globalTypeName() { - return "externalSourceCollection"; + checkHasRequiredAuth(e3) { + return this.currentAuthorizations[e3].havePermission; } - get displayTypeName() { - return "ArchValueExternalSourceCollection"; + }(); + }, 10798(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getFeatureConfig = h, t2.getEnabledFeatureConfigNames = function() { + const e3 = []; + return o.default.each(_, (t3) => { + g(t3.featureConfigName) && e3.push(t3.featureConfigName); + }), e3; + }, t2.isFeaturePresent = m, t2.isFeatureAvailable = g, t2.isFeatureUnavailable = function(e3) { + return !g(e3); + }, t2.setBootstrapData = function(e3) { + (null == e3 ? void 0 : e3.featureConfigs) ? Object.keys(e3.featureConfigs).length ? (o.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 = f, t2.checkArrayForFeatureSupport = function(e3) { + let t3 = true; + return e3.forEach((e4) => { + f(e4) || (t3 = false); + }), t3; + }, t2._resetTestFeatureAvailability = function() { + throw new Error("this should only be called during unit tests"); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = r.getTopic("featureConfig"); + let d = false; + 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); } - get isArchValueExternalSourceCollection() { - return true; + } + 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 = _[e3] = new s.default(e3, i3); } + return t3; } - t2.default = r2; - }, 59946: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(57731), o = i2(47957), a = {}; - function s(e3, t3, i3, n3) { - a[e3] = this, a[t3] = this, s.baseConstructor.apply(this, arguments), this.scriptingName = n3; + function m(e3) { + 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); } - r2.extend(s, "AutoGeneratedEmailHandlingType"), s.getInstance = function(e3) { - return a[n2.isString(e3) || n2.isActualNumber(e3) ? e3 : 0] || a[0]; - }, s.Disconnect = new s(0, "Disconnect", o.actions.disconnect, "disconnect"), s.Continue = new s(1, "Continue", o.inboundEmailSettings.normalProcessing, "continue"), e2.exports = s; - }, 59957: (e2, t2, i2) => { - function n2() { - this.flowId = void 0, this.flowDisplayName = void 0, this.flowType = void 0, this.parentId = void 0, this.parentType = void 0, this.parentName = void 0, this.parentTrackingId = void 0, this.objectId = void 0, this.objectName = void 0, this.objectType = void 0, this.objectTrackingId = void 0, n2.baseConstructor.apply(this, arguments); + function g(e3) { + p(e3); + const t3 = h(e3); + return !!t3 && !!t3.isAvailable; } - i2(45214).extend(n2, "ClipboardContentOriginalObjectInfoModel", true), Object.defineProperties(n2.prototype, { configure: { value: function(e3, t3) { - let i3; - const n3 = t3.topParent || t3.parent; - n3 && (n3.isTaskLike || n3.isMenu) && (i3 = n3), this.flowId = e3.id, this.flowDisplayName = e3.displayName, this.flowType = e3.info.type, this.parentId = i3 ? i3.id : void 0, this.parentType = i3 ? i3.info.typeId : void 0, this.parentName = i3 ? i3.name : void 0, this.parentTrackingId = i3 ? i3.trackingId : void 0, this.objectId = t3.id, this.objectName = t3.name, this.objectType = t3.info.typeId, this.objectTrackingId = t3.trackingId; - } } }), e2.exports = n2; - }, 59964: (e2, t2, i2) => { - function n2() { - this.OAuthClient = void 0, n2.baseConstructor.apply(this, arguments); + function f(e3) { + return m(e3.name) ? g(e3.name) : e3.treatAsAvailableIfNotPresent; } - 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) => { + }, 27099(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 = i2(59393), s = n2.__importDefault(i2(17405)); - class l extends s.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "json"; - } - get displayTypeName() { - return "ArchValueJson"; - } - get isArchValueJson() { - return true; - } - setLiteral(e3) { - const t3 = this._infoParm("valueToSet", "setLiteral"); - let i3; - this._checkItemUndefined(t3, e3); - let n3 = false; - if ("string" == typeof e3) try { - i3 = JSON.parse(e3); - } catch (t4) { - "{" !== e3[0] && "[" !== e3[0] || (n3 = !r2.default.isNull((0, a.validateLiteralJson)(e3, this._getCoreViewModel())).errorText); - } - r2.default.isObject(i3) ? i3 = void 0 : r2.default.isUndefined(i3) && !n3 ? e3 = JSON.stringify(e3) : ("string" == typeof e3 && ["true", "false", "null"].includes(e3) || r2.default.isStringActualNumber(e3)) && (e3 = JSON.stringify(e3), i3 = void 0), this._internalSetLiteral(t3, i3 || e3, "setLiteral"); - } - setLiteralWithJsonParse(e3) { - const t3 = this._infoParm("valueToParse", "setLiteralWithJsonParse"); - this._checkItemIsValidLiteralString(t3, e3, false); - try { - e3 = JSON.parse(e3); - } catch (e4) { - this.logErrorAndThrow(`The value passed in is not valid JSON. Error: ${e4.message}`); - } - this._internalSetLiteral(t3, e3, "setLiteralWithJsonParse"); - } - setCustomJsonLiteral(e3, t3) { - const i3 = this._infoParm("valueToSet", "setCustomJsonLiteral"), n3 = this._infoParm("language", "setCustomJsonLiteral"); - this._checkItemIsValidLiteralString(i3, e3, false), this._checkItemIsValidLiteralString(n3, t3, true), t3 || (t3 = o.default.CODE_LANGUAGES.archJson), this._checkItemIsValidLiteralStringEnum(n3, t3, o.default.CODE_LANGUAGES_ALL); - const r3 = this._getCoreViewModel(); - r3.setAsLiteral(e3, t3), this._parseResult = r3.parseResult; - } - getCustomJsonParseItems() { - return this._parseResult.parseItems; - } - getCustomJsonParseResultLanguage() { - return this._parseResult.parseLanguage; - } - _internalSetLiteral(e3, t3, i3) { - const n3 = r2.default.isString(t3) ? t3 : JSON.stringify(t3); - this._setLiteral(e3, n3, i3); - } + Object.defineProperty(t2, "__esModule", { value: true }), t2.__localFeatures = void 0, t2.isEnabled = p, t2.isDisabled = function(e3) { + return !p(e3); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = (n2.__importStar(i2(81858)), n2.__importStar(i2(24032))), a = n2.__importStar(i2(74359)), s = i2(24409), l = r.getTopic("featureToggles"), u = {}, c = {}; + function d(e3) { + o.default.each(u, (e4, t4) => { + true === e4 && delete u[t4]; + }), o.default.each(e3, (e4, t4) => { + !(function(e5, t5) { + u[e5] = t5; + })(t4, e4); + }); + const t3 = o.default.filter(o.default.keys(u), (e4) => u[e4]); + l.infoWithObject({ features: t3 || [] }, "enabled features"), a.setFeatureTogglesLoaded(u); } - t2.default = l; - }, 60079: (e2, t2, i2) => { + function p(e3) { + return u[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: o.default.keys(c) }).then((e3) => { + d(e3 || {}); + }).catch((e3) => { + l.errorPromise(e3, "failed to get feature toggles"), d({}); + }); + }); + }, 43773(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), 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); - } - static get branchInfo() { - return l.default.successFailure; + Object.defineProperty(t2, "__esModule", { value: true }), t2.removePropertiesForComparison = function e3(t3) { + const i3 = n2.default.isObject(t3), o = n2.default.isArray(t3); + if (!i3 && !o) return t3; + if (i3) { + if (t3.isEnum) return t3.toJSON(); + const i4 = n2.default.clone(t3); + delete i4.uiMetaData, delete i4.config, delete i4.metaData; + for (const t4 in i4) i4.hasOwnProperty(t4) && (i4[t4] = e3(i4[t4])); + const o2 = n2.default.keys(t3.constructor.prototype); + return n2.default.each(o2, function(t4) { + const n3 = Object.getOwnPropertyDescriptor(i4, t4); + n3 && n3.writable && (i4[t4] = e3(i4[t4])); + }), i4; } - static get managedProperties() { - 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" }]; + return o ? n2.default.map(t3, function(t4) { + return e3(t4); + }) : void 0; + }; + const n2 = i2(31635).__importDefault(i2(92140)); + }, 46920(e2, t2, i2) { + "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, v[e3.instanceId], t3); + }, t2.exportFlowAsync = function(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + let n3; + i3 || (yield e3.queuedAsyncValidate().catch(function(e4) { + this.logErrorAndThrow("validateAsync - async flow operation manager validate failed.\n" + e4); + })), t3 = null != t3 ? t3 : p.FlowExportSettings.createForArchitectFormat(); + let o2 = k(e3, false, t3); + if (!o2) return; + o2 = yield e3.preExport(o2, t3); + const r2 = x(e3, t3.isFormatYaml); + return t3.isFormatYaml ? n3 = T.stringify(o2) : (n3 = P(o2), n3 = (0, u.toAscii)(encodeURIComponent(n3))), { content: n3, fileName: r2 }; + }); + }, t2.getExportFilePath = x, t2.getCachedConfiguration = function(e3) { + return v[e3.instanceId]; + }, t2.getConfiguration = k, t2.hasChanged = function(e3) { + if (!I[e3.instanceId]) return !!e3; + const t3 = O(P(k(e3, true, N))); + return !a.default.isEqual(P(O(I[e3.instanceId])), P(t3)); + }, t2.tryLoadConfig = function(e3, t3) { + const i3 = o.default.defer(); + try { + b(e3, t3) ? E(e3, t3, false).then(function() { + i3.resolve(); + }, function(t4) { + h.emitter.emit(h.flowLoadFailed, e3, y.flow.operations.load.failure), i3.reject(t4); + }) : (h.emitter.emit(h.flowLoadFailed, e3, y.flow.operations.load.versionFailureMessage), i3.reject("Flow config not compatible")); + } catch (t4) { + h.emitter.emit(h.flowLoadFailed, e3, y.flow.operations.load.failure), i3.reject(t4); } - _getPossibleErrors() { - return u.getEmailHeadersFailureReasons; + return i3.promise; + }, t2.loadConfigForEmbedding = function(e3, t3) { + return b(e3, t3) ? E(e3, t3, true, true) : o.default.reject("Flow config not compatible"); + }, t2.loadTemplate = function(e3, t3) { + const i3 = o.default.defer(); + if (t3) try { + E(e3, t3, false).then(function() { + i3.resolve(e3); + }, function(e4) { + i3.reject(e4); + }); + } catch (t4) { + e3.topic.exception(t4, "Error while trying to save"), i3.reject(t4); } + else i3.reject("No flow template was given"); + return i3.promise; + }, t2.importFlow = V; + const n2 = i2(31635), o = n2.__importDefault(i2(33231)), r = 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 = {}, I = {}; + function C(e3, t3) { + return t3 && t3.hasOwnProperty("__type") && a.default.isFunction(S[t3.__type]) ? new S[t3.__type](t3) : t3; } - 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", c = "fallbackSequence"; - function d(e3, t3, i3) { - Object.defineProperties(this, { _action: { value: e3 }, _audioViewModel: { value: t3 }, _sequenceDefinition: { value: i3 } }); + function O(e3) { + return e3 ? a.default.isString(e3) ? JSON.parse(e3, C) : e3 : null; } - 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[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; - const r3 = n3.allModes.conditions; - return i3.conditions ? Array.prototype.unshift.apply(i3.conditions, r3) : i3.conditions = r3, i3; - } }, _hasSequenceSetOverride: { value: function(e3) { - return this._sequenceDefinition.supportedLanguages[e3] && this._sequenceDefinition.supportedLanguages[e3] !== u; - } }, _buildSequence: { value: function(e3, t3) { - const i3 = this; - if (1 === e3.length) return this._buildPart(e3[0], t3); - { - const o2 = []; - return n2.each(e3, function(e4) { - o2.push(i3._buildPart(e4, t3)); - }), r2("Append(%s)", o2.join(", ")); - } - } }, _replaceValue: { value: function(e3, t3) { - return n2.each(t3, function(t4, i3) { - for (; e3.indexOf(i3) >= 0; ) e3 = e3.replace(i3, t4); - }), e3; - } }, _buildPart: { value: function(e3, t3) { - switch (e3.type) { - case this._sequenceDefinition.parts.sequenceTypes.tts: - return r2('ToAudioTTS("%s")', e3.value); - case this._sequenceDefinition.parts.sequenceTypes.systemPrompt: - return this._sequenceDefinition.parts.systemPrompts[e3.value] ? r2("ToAudio(PromptSystem.%s)", e3.value) : "unknown prompt"; - case this._sequenceDefinition.parts.sequenceTypes.subExpression: - return this._replaceValue(e3.value.value, t3); - default: - return "unknown type"; - } - } }, _setAudioExpression: { value: function(e3, t3, i3, o2) { - const a2 = this; + function b(e3, t3) { + const i3 = t3.flowMetaData.flowDocumentVersion; + return !!A.canAppSupport(i3) || (e3.topic.error("The flow version ({}) is higher than the UI version ({})", i3, A.currentVersion), false); + } + function E(e3, t3, i3, n3) { + const r2 = o.default.defer(); let s2; - if (i3 === u || o2) s2 = a2._audioViewModel.defaultAudio; - else { - if (!a2._audioViewModel.cases || 0 === a2._audioViewModel.cases.length) return; - const e4 = a2._audioViewModel.getCaseForLang(i3); - if (s2 = e4.audioExpression, !a2._hasSequenceSetOverride(i3)) return s2.customExpressionMode = true, e4.audioExpression.setText("", true), void (e4.disabled = true); - e4.disabled = false; + try { + s2 = e3.loaded, e3.loaded = false, n3 || (s2 ? h.emitter.emit(h.cleanUpFlow, e3) : h.emitter.emit(h.flowLoadStarted, e3)), e3.loadConfiguration(t3), L(e3), _.default.initializeDesignTimeAndValidate(e3).then(function() { + e3.isDestroyed ? r2.reject() : (i3 || M(e3), r2.resolve()); + }).catch(function(t4) { + e3.topic.errorPromise(t4, "Error occurred when initializing design time"), r2.reject(t4); + }); + } catch (t4) { + e3.topic.exception(t4, "Error while trying to load configuration"), a.default.isBoolean(s2) && (e3.loaded = s2), r2.reject(); } - const l2 = a2._getSequenceSet(e3, i3), c2 = [], d2 = []; - let p = 0; - n2.each(l2.conditions, function(e4) { - 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 _ = c2.join(""); - return _ !== s2.text && s2.setText(_, true), true; - } }, canBuildExpression: { value: function(e3, t3) { - const i3 = this; - let r3 = false; - const o2 = i3._action.parentFlow.languages.supportedLanguages; - return n2.each(o2, function(n3) { - i3._canBuildExpression(t3, e3, n3) || (r3 = true); - }), !r3; - } }, _canBuildExpression: { value: function(e3, t3, i3) { - const n3 = this; - let a2; - const u2 = n3._getSequenceSet(t3, i3); - if (!u2) return e3 && e3.addError(n3._action, r2(o.audio.actionNotValidError, i3, this._audioViewModel.label)), false; - if (!this._sequenceDefinition.supportsFlow(i3, this._action.parentFlow)) return l.error("Flow type " + this._action.parentFlow.type + " is not supported for sequence type " + t3 + " and language " + i3), false; - for (let e4 = 0; e4 < u2.conditions.length; e4++) { - const t4 = u2.conditions[e4]; - for (let e5 = 0; e5 < t4.sequence.length; e5++) { - const l2 = t4.sequence[e5]; - if (l2.type === n3._sequenceDefinition.parts.sequenceTypes.subExpression) for (let e6 = 0; e6 < l2.value.ids.length; e6++) { - const t5 = l2.value.ids[e6], n4 = s.expressionFuncOpsByOverloadId[t5]; - (!n4 || n4.supportedLanguageFilter && !n4.supportedLanguageFilter[i3]) && (console.error("can not find id " + t5), a2 = r2(o.errors.notAvailableError, i3)); + return r2.promise; + } + function w(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + let n3 = {}; + try { + let s2 = (function(e4) { + if (!e4) return null; + if (!a.default.isString(e4)) return e4; + let t4; + try { + t4 = decodeURIComponent((0, l.toBinary)(e4)), t4 = O(t4); + } catch (i4) { + t4 = O(e4); + } + return t4; + })(t3); + if (i3 && s2.type && i3 !== s2.type) { + const e4 = m.default.getFlowTypeDisplayName(i3); + throw (0, r.sprintf)(y.flow.operations.load.typeFailureMessage, e4); + } + if (!b(e3, s2)) throw y.flow.operations.load.versionFailureMessage; + e3.isImporting = true, h.emitter.emit(h.flowImportStarted), n3 = yield e3.preImport(s2); + const u2 = (function(e4, t4) { + const i4 = [], n4 = [], o3 = t4.variables, s3 = e4.info.getAllSchemaProperties(), l2 = a.default.map(s3, (t5) => e4.variableGroup.getVariableByName(t5.name)); + return a.default.each(o3, (t5) => { + 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, c.bulkObjectOperationFailure)(t5, t5.name, (0, r.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) { + let e4 = ""; + throw a.default.each(u2.conflictVariables, function(t4) { + e4 += (0, r.sprintf)(" { %1$s - %2$s } ", t4.displayName, t4.errorMessage); + }), { title: y.flow.operations.load.importFailed, failures: u2.conflictVariables, extraColumns: [{ field: "errorMessage", name: y.generic.branches.error }], text: e4, bulk: true }; } + if (s2.variables = u2, s2 = (function(e4, t4) { + let i4 = null; + try { + i4 = e4.createFlowConfiguration(t4); + } catch (t5) { + e4.topic.exception(t5, "Error while trying to create flow model"); + } + return i4; + })(e3, s2), !s2) throw y.flow.operations.load.serverFailureMessage; + yield E(e3, s2, true), yield e3.postImport(n3, false, o2), e3.loaded = true; + } catch (t4) { + if (e3.topic.warningWithStack(t4, "failure during flow import"), a.default.isString(t4) || a.default.isObject(t4) && t4.hasOwnProperty("bulk")) throw t4; + throw y.flow.loadFailed; + } finally { + e3.isImporting = false; } - } - return e3 && a2 && e3.addError(n3._action, a2), !a2; - } }, buildExpression: { value: function(e3, t3) { - const i3 = this; - i3._audioViewModel.updateCases(); - const r3 = i3._action.parentFlow.languages.supportedLanguages; - 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 = d; - }, 60140: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "time"; - } - get displayTypeName() { - return "ArchVariableTime"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableTime() { - return true; - } + }); } - t2.default = r2; - }, 60186: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeGroupOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3); - } - get className() { - return "ExpressionTypeGroupOptions"; - } - get isExpressionTypeGroupOptions() { - return true; - } + const R = ["_autoCleanedUpSinks", "_path", "_outOfService", "_partAndPartsOutOfService"]; + function D(e3, t3) { + let i3 = t3; + if ("$testId" === e3 && (i3 = void 0), !R.includes(e3)) return i3; } - t2.ExpressionTypeGroupOptions = r2; - }, 60232: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { setExternalTagActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _externalTag: { writable: true } }), a.baseConstructor.apply(this, arguments); + function P(e3, t3) { + if (void 0 !== e3) return JSON.stringify(e3, D, t3 ? " " : null); } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.externalTag.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalTag.pasteResolveOldToNewValues(e3); - } }, externalTag: { enumerable: true, get: function() { - return this._externalTag; - }, set: function(e3) { - this._externalTag = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 60295: (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 "digitalAudioCollection"; - } - get displayTypeName() { - return "ArchVariableDigitalAudioCollection"; - } - get initialValue() { - return this._initialValue; + function M(e3, t3) { + if (t3 || !v[e3.instanceId]) { + const t4 = k(e3, true, null); + v[e3.instanceId] = P(t4); + const i3 = k(e3, true, N); + I[e3.instanceId] = P(i3); } - get isArchVariableDigitalAudioCollection() { - return true; + 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 v[e3.instanceId], delete I[e3.instanceId]); + } + function x(e3, t3) { + const i3 = e3.displayName + e3.versions.getVersionExtension(); + let n3; + return n3 = t3 ? i3 + ".yaml" : i3 + m.default.getFileExtensionForFlowType(e3.type), n3; + } + function k(e3, i3, n3) { + let o2 = null; + try { + o2 = (function(e4, i4, n4) { + let o3 = e4.createFlowConfiguration(null, n4); + return e4.buildConfiguration(o3, i4, n4), (null == n4 ? void 0 : n4.isForFlowYaml) ? (o3 = s.default.sortObjectByPropertyMap(o3, t2.yamlPropertyOrderMap), a.default.tryWrapObject(o3, e4.wrappedYamlName)) : o3; + })(e3, i3, n3); + } catch (t3) { + e3.topic.exception(t3, "There was an error getting the flow configuration"); } + return o2; } - t2.default = r2; - }, 60341: (e2, t2, i2) => { + function V(e3, t3, i3, n3, o2) { + const r2 = !i3; + return i3 || (i3 = F(e3)), w(e3, t3, n3, o2).catch((t4) => w(e3, i3, n3, o2).then(() => { + if (r2) 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, 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; + }); + }, 98114(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(65220), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.fileManager); - } - get _globalTypeName() { - return "file"; - } - get displayTypeName() { - return "ArchValueFile"; - } - get isArchValueFile() { - return true; + const n2 = i2(31635), o = n2.__importStar(i2(24032)), r = 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(92140)), T = n2.__importStar(i2(14187)), y = n2.__importDefault(i2(4648)), S = i2(27862), A = i2(47957), N = o.getTopic("FlowDefinitionService"), v = {}; + v[h.flowTypes.flowTypeBot] = S.BotFlow, v[h.flowTypes.flowTypeBusinessProcess] = S.BusinessProcessFlow, v[h.flowTypes.flowTypeCommonModule] = S.CommonModuleFlow, v[h.flowTypes.flowTypeDigitalBot] = S.DigitalBotFlow, v[h.flowTypes.flowTypeInboundCall] = S.InboundCallFlow, v[h.flowTypes.flowTypeInboundEmail] = S.InboundEmailFlow, v[h.flowTypes.flowTypeInboundShortMessage] = S.InboundShortMessageFlow, v[h.flowTypes.flowTypeInboundChat] = S.InboundChatFlow, v[h.flowTypes.flowTypeInQueueCall] = S.InqueueCallFlow, v[h.flowTypes.flowTypeInQueueEmail] = S.InqueueEmailFlow, v[h.flowTypes.flowTypeInQueueShortMessage] = S.InqueueShortMessageFlow, v[h.flowTypes.flowTypeOutboundCall] = S.OutboundCallFlow, v[h.flowTypes.flowTypeSecureCall] = S.SecureCallFlow, v[h.flowTypes.flowTypeSurveyInvite] = S.SurveyInviteFlow, v[h.flowTypes.flowTypeVoice] = S.VoiceFlow, v[h.flowTypes.flowTypeVoicemail] = S.VoicemailFlow, v[h.flowTypes.flowTypeVoiceSurvey] = S.VoiceSurveyFlow, v[h.flowTypes.flowTypeEmailSend] = S.EmailSendFlow, v[h.flowTypes.flowTypeWorkflow] = S.Workflow, v[h.flowTypes.flowTypeWorkitem] = S.WorkItemFlow; + const I = {}; + f.default.each(v, (e3, t3) => I[e3.value.toLowerCase()] = t3); + const C = new class { + constructor() { + this._flowDefinitions = {}, this._isInitialized = false, this._lookupCache = {}, this._createInitialFlowDefinitions(), r.bootstrapDataLoaded.then((e3) => this._processBootstrapDataLoaded(e3)); } - setLiteralByFileIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("fileId", "setLiteralByFileIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByFileIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByFileIdAsync", t3, this)); - }); + _addFlowDefinition(e3) { + if (e3 && (e3.isFlowDefinition || this._flowDefinitions[e3.type])) return this._flowDefinitions[e3.type] = e3, e3; } - setLiteralByFileNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("fileName", "setLiteralByFileNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByFileNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByFileNameAsync", t3, this)); + _createInitialFlowDefinitions() { + this._createBotFlowDefinition(h.flowTypes.flowTypeBot, A.flow.types.bot, ".i3BotFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeBusinessProcess, A.businessProcessFlow.businessProcessFlowTypeDisplayName, ".i3BusinessProcessFlow"), this._createCommonModuleDefinition(h.flowTypes.flowTypeCommonModule, A.flow.types.commonModule, ".i3CommonModuleFlow"), this._createBotFlowDefinition(h.flowTypes.flowTypeDigitalBot, A.flow.types.digitalBotFlow, ".i3DigitalBotFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeInboundCall, A.flow.types.inboundCall, ".i3InboundFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInboundEmail, A.flow.types.inboundEmail, ".i3InboundEmailFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInboundChat, A.flow.types.inboundChat, ".i3InboundChatFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInboundShortMessage, A.flow.types.inboundShortMessage, ".i3InboundMessage"), this._createCallFlowDefinition(h.flowTypes.flowTypeInQueueCall, A.flow.types.inQueueCall, ".i3InQueueFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInQueueEmail, A.flow.types.inQueueEmail, ".i3InQueueEmailFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInQueueShortMessage, A.flow.types.inQueueShortMessage, ".i3InQueueMessageFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeOutboundCall, A.flow.types.outboundCall, ".i3OutboundFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeSecureCall, A.flow.types.secureCall, ".i3SecureCallFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeSurveyInvite, A.flow.types.surveyInviteWebPrefix, ".i3SurveyInviteFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeInboundCall, A.flow.types.inboundCall, ".i3InboundFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeEmailSend, A.emailSendFlow.emailSendFlowTypeDisplayName, ".i3EmailSendFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeWorkflow, A.flow.types.workflow, ".i3WorkFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeWorkitem, A.flow.types.workItem, ".i3WorkitemFlow"), this._createVoiceFlowDefinition(h.flowTypes.flowTypeVoice, A.flow.types.voiceFlow, ".i3VoiceFlow"), this._createVoiceSurveyFlowDefinition(h.flowTypes.flowTypeVoiceSurvey, A.flow.types.voiceSurveyFlow, ".i3VoiceSurveyFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeVoicemail, A.flow.types.voicemailFlow, ".i3VoicemailFlow"), f.default.each(h.flowTypes.flowTypesAll, (e3) => { + if (!this._flowDefinitions[e3]) throw `Bad programmer! You need to add a flow definition to the flow definition service initialization for the flow type '${e3}'`; }); } - } - t2.default = s; - }, 60420: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionListWithReferenceId = void 0; - const n2 = i2(31635).__importDefault(i2(33923)), r2 = i2(71514); - class o extends r2.ExpressionList { - get isExpressionListWithReferenceId() { - return true; - } - get expressions() { - return this.items.map((e3) => e3.value); - } - createItem(e3, t3, i3) { - const r3 = super.createItem(e3.value, t3, i3); - return new n2.default(e3, r3); - } - add(e3, t3, i3) { - return super.add(e3, t3, i3).value; + _createAutomateFlowDefinition(e3, t3, i3) { + const n3 = [h.flowTypes.flowTypeBusinessProcess, h.flowTypes.flowTypeEmailSend, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundShortMessage, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage, h.flowTypes.flowTypeWorkflow, h.flowTypes.flowTypeWorkitem], o2 = h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeBusinessProcess); + 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(v[e3]).setFileExtension(i3).setStartupObjectCanBeState(true).setSupportsAddVariablesInDataView(true).setIsCreatable(true).setSupportsDebugPublish(o2).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.flowTypeBusinessProcess, 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)).setPreviewPerformsLaunch(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeBusinessProcess, h.flowTypes.flowTypeWorkflow)).setPreviewCreatesWorkitem(e3 === h.flowTypes.flowTypeWorkitem).setSupportsFlowCreationData(e3 === h.flowTypes.flowTypeWorkitem).setSupportsAudio(false).setSupportsReusableTasks(!o2).setSupportsStates(true).setSupportsMultipleStates(!o2).setStartupStateMustTerminate(true).setSupportsPeriodicState(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInQueueEmail, h.flowTypes.flowTypeInQueueShortMessage)).setSupportsTaskInputVariables(!o2).setSupportsTaskOutputVariables(!o2).setSupportsTasksWithOutputPaths(!o2).setTypeDisplayName(t3).setMaxFlowSize(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeBusinessProcess, h.flowTypes.flowTypeEmailSend) ? a.flowSizeLimits.maxFlowSizeEmail : a.flowSizeLimits.maxFlowSize).setFlowTypeCategory(this._flowTypeCategoryForAutomateFlowType(e3))); } - } - 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 = n2.__importDefault(i2(4648)), c = i2(47957); - class d extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + _flowTypeSupportsMenus(e3) { + return h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail); } - _getPossibleErrors() { - return a.clearSkillExpressionFiltersFailureReasons; + _createCallFlowDefinition(e3, t3, i3) { + return this._addFlowDefinition(p.default.createForFlowType(e3).setChannelTypes([l.channelTypeCall]).setOutputModes([g.outputModeVoice]).setDependencyType(v[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)).setDebugPublishRequiresTts(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).setPreviewPlacesCall(h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail)).setFlowTypeCategory(this._flowTypeCategoryForCallFlowType(e3))); } - } - 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; - const n2 = i2(31635), r2 = n2.__importStar(i2(17552)), o = n2.__importDefault(i2(36019)); - function a(e3) { - const t3 = o.default.build(r2.getSmsPhoneNumbers); - return t3.queryParams({ name: e3.searchTerm, pageSize: e3.defaultPageSize, sortOrder: "ascending", pageNumber: e3.pageNumber }), t3.call(); - } - function s(e3) { - return o.default.build(r2.getSmsPhoneNumber).templateParams({ phoneNumber: e3 }).call(); - } - a.api = r2.getSmsPhoneNumbers, s.api = r2.getSmsPhoneNumber; - }, 60454: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.StringType = void 0; - 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); + _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).setPreviewCreatesBotSession(e3 === h.flowTypes.flowTypeDigitalBot).setOutputModeVariableName("Session.ChannelType").setDependencyType(v[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).setFlowTypeCategory(_.FlowTypeCategory.supporting)); } - get className() { - return "StringType"; + _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(v[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).setFlowTypeCategory(_.FlowTypeCategory.supporting)); } - createExpressionOptionClass() { - return new o.ExpressionTypeStringOptions(); + _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(v[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).setPreviewPlacesCall(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).setFlowTypeCategory(_.FlowTypeCategory.postInteraction)); } - 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; + _createCommonModuleDefinition(e3, t3, i3) { + return this._addFlowDefinition(p.default.createForFlowType(e3).setChannelTypes(l.channelTypesAll).setOutputModes(g.outputModesAll).setDependencyType(v[e3]).setFileExtension(i3).setIsCreatable(true).setIsReferenceableFromOtherFlows(true).setMaxFlowSize(a.flowSizeLimits.maxFlowSizeCommonModule).setSupportsAutoDeletingVariablesWithNoUsages(false).setSupportsDebugPublish(true).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(T.scopes.common).setFlowTypeCategory(_.FlowTypeCategory.supporting)); } - convertLitToExpression(e3, t3) { - return s.default.getQuotedExpressionStringLiteral(t3) || ""; + _flowTypeCategoryForAutomateFlowType(e3) { + return h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundShortMessage) ? _.FlowTypeCategory.initial : e3 === h.flowTypes.flowTypeSurveyInvite ? _.FlowTypeCategory.postInteraction : _.FlowTypeCategory.supporting; } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - return this.convertLitToExpression(e3, t3); + _flowTypeCategoryForCallFlowType(e3) { + return h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall) ? _.FlowTypeCategory.initial : _.FlowTypeCategory.supporting; } - 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); + _processBootstrapDataLoaded(e3) { + var t3, i3; + f.default.each(e3.flowTypes, (e4) => { + var t4, i4, n3; + try { + const o2 = this._flowDefinitions[e4.id]; + if (o2) { + o2.isAvailable = e4.isAvailable, f.default.isBoolean(null === (t4 = e4.userCreatable) || void 0 === t4 ? void 0 : t4.isAvailable) && (o2.isCreatable = null === (i4 = e4.userCreatable) || void 0 === i4 ? void 0 : i4.isAvailable), f.default.isBoolean(null === (n3 = e4.supportsLanguages) || void 0 === n3 ? void 0 : n3.moreThanOneLanguage) && (o2.supportsMoreThanOneLanguage = e4.supportsLanguages.moreThanOneLanguage); + const r2 = e4.maxSize; + f.default.isActualNumber(r2) && Number.isFinite(r2) && r2 > 0 ? o2.setMaxFlowSize(r2) : u.error(`no valid max size specified for flow ${e4.id} - ${r2}`); + } + } catch (t5) { + N.exception(t5, `error processing bootstrap flow type '${e4.id}' - this flow type may not be available when it should be.`); + } + }), d.isFeatureAvailable(y.default.botFlowsPromptFeature) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAudio(true).setLanguagesSupportTtsAndAsrRuntime(true), d.isFeatureAvailable(y.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(c.getHandlingTypesForFlowType(e4)); + } + if (d.isFeatureAvailable(y.default.customJSONV2)) for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true); + if (d.isFeatureAvailable(y.default.customJSONUserDefinedTypes) || d.isFeatureAvailable(y.default.ruleBasedDecisionsFeature)) for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + if (d.isFeatureAvailable(y.default.customJSONUserDefinedTypes) || d.isFeatureAvailable(y.default.ruleBasedDecisionsDigitalFeature)) for (const e4 of h.flowTypes.flowTypesAllAutomate) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + if (d.isFeatureAvailable(y.default.ruleBasedDecisionsDigitalFeature)) for (const e4 of h.flowTypes.flowTypesAllAutomate) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true); + if (d.isFeatureAvailable(y.default.customConversationAttributes)) { + for (const e4 of h.flowTypes.flowTypesAllVxmlgen) this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + for (const e4 of [h.flowTypes.flowTypeBusinessProcess, 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(y.default.botFlowsCustomConversationAttributes)) for (const e4 of h.flowTypes.flowTypesAllCicero) this._flowDefinitions[e4].setSupportsCustomJsonTypes(true), this._flowDefinitions[e4].setSupportsCustomJsonTypeUserCreatedVariables(true); + } + if (d.isFeatureAvailable(y.default.previewDigitalBotFlowTestWidgetFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsPreview(true), d.isFeatureAvailable(y.default.previewInboundCallFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeInboundCall].setSupportsPreview(true).setPreviewsAreReplayable(true), d.isFeatureAvailable(y.default.previewVoicemailFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeVoicemail].setSupportsPreview(true).setPreviewsAreReplayable(true), d.isFeatureAvailable(y.default.previewVoiceSurveyFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeVoiceSurvey].setSupportsPreview(true).setPreviewsAreReplayable(true), d.isFeatureAvailable(y.default.previewBusinessProcessFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeBusinessProcess].setSupportsPreview(true).setPreviewsAreReplayable(true).setPreviewAcceptsJsonPayload(true), d.isFeatureAvailable(y.default.previewWorkflowFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeWorkflow].setSupportsPreview(true).setPreviewsAreReplayable(true).setPreviewAcceptsJsonPayload(true), d.isFeatureAvailable(y.default.previewWorkitemFlowFeature) && this._flowDefinitions[h.flowTypes.flowTypeWorkitem].setSupportsPreview(true).setPreviewsAreReplayable(true).setPreviewAcceptsJsonPayload(true), d.isFeatureAvailable(y.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 (d.isFeatureAvailable(y.default.botFlowsPciPhase1Feature) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsSecureVariables(true), d.isFeatureAvailable(y.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), d.isFeatureAvailable(y.default.botFlowsKnowledgeFeedback) && t4.setSupportsKnowledgeConfirmation(true); + } + if (d.isFeatureAvailable(y.default.flowOptimizationFrequencyFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsFlowOptimizationData(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsFlowOptimizationData(true)), d.isFeatureAvailable(y.default.flowOptimizationFrequencyAllFlowTypesFeature) && f.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); + }), d.isFeatureAvailable(y.default.botFlowsDigitalBotFlowsKnowledgePathFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsKnowledgePaths(true), d.isFeatureAvailable(y.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsEndToEndKnowledgeHandling(true), d.isFeatureAvailable(y.default.botFlowsAdvancedKnowledgeHandling) && d.isFeatureAvailable(y.default.botFlowsKnowledge) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsEndToEndKnowledgeHandling(true), d.isFeatureAvailable(y.default.botFlowsAdvancedKnowledgeHandling) && d.isFeatureAvailable(y.default.botFlowsKnowledge) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAdvancedKnowledgeHandling(true), d.isFeatureAvailable(y.default.pathDiscoveryFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsPathDiscovery(true)), d.isFeatureAvailable(y.default.pathDiscoveryCallFlowsFeature) && (this._flowDefinitions[h.flowTypes.flowTypeInboundCall].setSupportsPathDiscovery(true), this._flowDefinitions[h.flowTypes.flowTypeSecureCall].setSupportsPathDiscovery(true)), d.isFeatureAvailable(y.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(y.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 (d.isFeatureAvailable(y.default.botFlowsQueueSupportFeature) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setLanguagesSupportDefaultLanguageSkill(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setLanguagesSupportDefaultLanguageSkill(true)), d.isFeatureAvailable(y.default.workItemFlows)) { + const n3 = this._flowDefinitions[h.flowTypes.flowTypeWorkitem]; + n3.setOutputValuesSupportVariableExpressions(true); + const o2 = null === (i3 = null === (t3 = e3.featureSupport) || void 0 === t3 ? void 0 : t3.workitems) || void 0 === i3 ? void 0 : i3.events; + if (null == o2 ? void 0 : o2.length) for (const e4 of o2) n3.addFlowInvokingEvent(null == e4 ? void 0 : e4.id); + n3.setSupportsFlowOptimizationData(true); } - this.enforceValueLimit(o2.length <= a.default.maxStringLength, (0, c.sprintf)(r2.configureFromModel.stringLiteralLengthExceeded, o2.length, a.default.maxStringLength), n3) && e3.setAsLiteral(o2); + f.default.each(this._flowDefinitions, (e4) => { + e4.isCallFlowType && e4._supportsReusableTasks && e4.setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true); + }), f.default.each(this._flowDefinitions, (e4) => { + switch (e4.type) { + case h.flowTypes.flowTypeInboundCall: + case h.flowTypes.flowTypeOutboundCall: + case h.flowTypes.flowTypeSecureCall: + case h.flowTypes.flowTypeVoicemail: + e4.setSupportsDefaultSpeechSettings(true), e4.setSupportsDisableASR(true), e4.setSupportsCompanyDirectory(true); + } + }), f.default.each(this._flowDefinitions, (e4) => { + h.flowTypes.flowTypesAllCicero.includes(e4.type) ? e4.isEmbeddable = d.isFeatureAvailable(y.default.botFlowsPhase2) : e4.isEmbeddable = e4.type !== h.flowTypes.flowTypeCommonModule; + }), f.default.each(this._flowDefinitions, (e4) => { + switch (e4.type) { + case h.flowTypes.flowTypeInboundCall: + case h.flowTypes.flowTypeOutboundCall: + case h.flowTypes.flowTypeVoicemail: + e4.canSuppressCallRecordings = d.isFeatureAvailable(y.default.suppressCallRecordingsFeature); + break; + case h.flowTypes.flowTypeSecureCall: + e4.canSuppressCallRecordings = d.isFeatureAvailable(y.default.suppressCallRecordingsSecureCallFeature); + } + }), this._flowDefinitions[h.flowTypes.flowTypeVoice].setCanSuppressCallRecordings(true), f.default.each(this._flowDefinitions, (e4) => { + e4.type === h.flowTypes.flowTypeBot && (e4.languagesSupportSttSetting = d.isFeatureAvailable(y.default.botFlowsThirdPartySttFeature)); + }), d.isFeatureAvailable(y.default.orgAvailabilityGrammars) && f.default.each(this._flowDefinitions, (e4) => { + switch (e4.type) { + case h.flowTypes.flowTypeBot: + case h.flowTypes.flowTypeVoice: + e4.supportsGrammars = d.isFeatureAvailable(y.default.orgAvailabilityGrammars); + } + }), this._isInitialized = true, f.default.each(this._flowDefinitions, (e4) => { + e4.isInitialized = true; + }), f.default.each(h.flowTypes.flowTypesAll, (t4) => { + var i4, n3, o2, r2; + if (!this._flowDefinitions[t4].supportsNlu) return; + let a2 = ["en-au", "en-gb", "en-us"]; + const s2 = null === (i4 = e3.featureSupport.naturalLanguageUnderstanding) || void 0 === i4 ? void 0 : i4.flowTypesToEngines; + if (f.default.isObject(s2)) { + const e4 = s2[t4 !== h.flowTypes.flowTypeVoice ? t4 : h.flowTypes.flowTypeBot]; + if (f.default.isObject(e4)) { + const t5 = {}; + f.default.each(e4, (e5, i5) => { + t5[i5] = true; + }), a2 = f.default.keys(t5) || []; + } + } else if (null === (r2 = null === (o2 = null === (n3 = e3.featureSupport) || void 0 === n3 ? void 0 : n3.naturalLanguageUnderstanding) || void 0 === o2 ? void 0 : o2.supportedLanguages) || void 0 === r2 ? void 0 : r2.length) { + const t5 = f.default.pluck(e3.featureSupport.naturalLanguageUnderstanding.supportedLanguages, "language"); + t5.length && (a2 = t5); + } + this._flowDefinitions[t4].setAvailableLanguageTags(a2); + }), d.isFeatureAvailable(y.default.botFlowsVirtualAgentOffering) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsVirtualAgent(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsVirtualAgent(true)), d.isFeatureAvailable(y.default.botFlowsMessagingDatePicker) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsDynamicTimeslots(true), d.isFeatureAvailable(y.default.botFlowsAnswerGeneration) && this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsAnswerGeneration(true), d.isFeatureAvailable(y.default.botFlowsAnswerGenerationMultipleArticles) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsAnswerGeneration(true), d.isFeatureAvailable(y.default.botFlowsIntentClassificationHintingAsr) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsEnableIntentClassificationHinting(true), d.isFeatureAvailable(y.default.botFlowsIntentDescriptions) && this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsIntentDescriptions(true), d.isFeatureAvailable(y.default.botFlowsVirtualAgentCustomSummaries) && (this._flowDefinitions[h.flowTypes.flowTypeBot].setSupportsConversationSummary(true), this._flowDefinitions[h.flowTypes.flowTypeDigitalBot].setSupportsConversationSummary(true)); } - } - t2.StringType = d, d.typeIdentifier = l.expressionTypeNames.string; - }, 60475: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), o = i2(42217); - function a() { - Object.defineProperties(this, { _conversationId: { writable: true }, _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, "BaseConversationDataActionModel"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.conversationId.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.conversationId.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteResolveOldToNewValues(e3); - } }, conversationId: { enumerable: true, get: function() { - return this._conversationId; - }, set: function(e3) { - this._conversationId = this.reviveItem(e3, r2); - } }, variables: { enumerable: true, get: function() { - return this._variables; - }, 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); + _getFlowTypesForPropertyValue(e3, t3) { + const i3 = []; + return f.default.each(this._flowDefinitions, (n3) => { + n3[e3] === t3 && i3.push(n3.type); + }), i3; } - static isRecognized(e3) { - return r2._yamlKeyToCanonical.has(e3); + areLanguageChangesImmediate(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.languageChangesAreImmediate; } - static detectFromJson(e3) { - for (const t3 of Object.keys(e3)) if (r2._yamlKeyToCanonical.has(t3)) return t3; + doesFlowTypeHaveDestinationFlowTypes(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.hasDestinationFlowTypes; } - static getYamlKey(e3) { - for (const [t3, i3] of r2._yamlKeyToCanonical.entries()) if (i3 === e3) return t3; + doesFlowTypeSupportErrorHandlingQueueRouting(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.supportsErrorHandlingQueueRouting; } - 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; + doesFlowTypeSupportLanguages(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.supportsLanguages; } - } - 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)), 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; + doesFlowTypeSupportDefaultLanguage(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.languagesSupportDefaultLanguage; } - get topParentFlow() { - return this.isEmbeddedFlow ? this._embeddedParentFlow : this; + doesFlowTypeSupportAudio(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.supportsAudio; } - buildConfiguration(e3, t3, i3) { - if (super.buildConfiguration(e3, t3, i3), this.commonModuleSettings) { - const t4 = this.commonModuleSettings.getConfiguration(e3, i3); - e3[(null == i3 ? void 0 : i3.isForFlowYaml) ? this.commonModuleSettings.wrappedYamlName : "commonModuleFlowSettings"] = t4; - } - return e3; + doesFlowTypeLanguagesSupportTtsAndAsrSettings(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.languagesSupportTtsAndAsrSettings; } - get className() { - return "CommonModuleFlowViewModel"; + doesFlowTypeLanguagesSupportTtsAndAsrRuntime(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.languagesSupportTtsAndAsrRuntime; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, c.scopes.session]; + doesFlowTypeSupportDefaultLanguageSkill(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.languagesSupportDefaultLanguageSkill; } - getFlowConfigurationClass() { - return o.default; + doesFlowTypeSupportMoreThanOneLanguage(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.supportsMoreThanOneLanguage; } - get isCommonModuleFlow() { - return true; + doesFlowTypeSupportLanguageAddRemove(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.supportsLanguageAddRemove; } - get isEmbeddedFlow() { - return !!this._embeddedParentFlow; + doesFlowTypeSupportVirtualAgent(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return !!t3 && t3.supportsVirtualAgent; } - get overrideWireFlowConfiguration() { - return g.getCommonModuleFlowConfiguration; + getFlowTypesThatSupportLanguages() { + let e3 = this._lookupCache.getFlowTypesThatSupportLanguages; + return void 0 === e3 && (e3 = this._getFlowTypesForPropertyValue("supportsLanguages", true), this._lookupCache.getFlowTypesThatSupportLanguages = e3), e3; } - get overrideWireFlowVersionConfiguration() { - return g.getVersionCommonModuleConfiguration; + getFlowTypesThatSupportMenus() { + let e3 = this._lookupCache.getFlowTypesThatSupportMenus; + return void 0 === e3 && (e3 = this._getFlowTypesForPropertyValue("supportsReusableMenus", true), this._lookupCache.getFlowTypesThatSupportMenus = e3), e3; } - get shouldParseExpressions() { - return this.isEmbeddedFlow ? this._embeddedParentFlow.shouldParseExpressions && super.shouldParseExpressions : super.shouldParseExpressions; + getDefinitionForFlowType(e3) { + return this._flowDefinitions[e3]; } - get supportsLanguages() { - return !!this.destinationFlowTypes.find((e3) => s.default.getDefinitionForFlowType(e3).supportsLanguages); + getDependencyTypeForFlowType(e3) { + const t3 = this.getDefinitionForFlowType(e3); + if (t3) return t3.dependencyType; } - get destinationFlowTypes() { - return this._embeddedParentFlow ? [this._embeddedParentFlow.type] : this.commonModuleSettings.destinationFlowTypes; + getFileExtensionForFlowType(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return t3 ? t3.fileExtension : ""; } - set destinationFlowTypes(e3) { - this.commonModuleSettings.destinationFlowTypes = e3; + iterateFlowTypeDefinitions(e3) { + if (e3) for (const t3 of Object.values(this._flowDefinitions)) try { + e3(t3); + } catch (e4) { + } } - get commonModuleDestinationFlowTypes() { - return this.commonModuleSettings.destinationFlowTypes; + getFlowTypeDisplayName(e3) { + const t3 = this.getDefinitionForFlowType(e3); + return t3 ? t3.typeDisplayName : (u.error(`flowDefinitionService::getFlowTypeDisplayName - Unknown flowType '${e3}'`), A.flow.types.inboundCall); } - get destinationFlowTypeMap() { - return this._embeddedParentFlow ? this._embeddedParentFlow.destinationFlowTypeMap : this.commonModuleSettings.destinationFlowTypesMap; + getFlowTypeForDependencyType(e3) { + if (e3) return I[e3.toLowerCase()]; } - static get type() { - return r2.flowTypes.flowTypeCommonModule; + getFlowTypeIsAvailable(e3) { + this._isInitialized || u.error("Asking for a flow type's availability prior to the flow definition service having bootstrap data loaded. Bad!"); + const t3 = this.getDefinitionForFlowType(e3); + return t3 ? t3.isAvailable : (u.error("Asking for flow type availability for a flow type that cannot be found. Bad!"), false); } - _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 === d.default.info.typeId) { - const t3 = new d.default(this, e3.flowSequenceItemList[0]); - t3.initialize(), this._addTask(t3); - } + getIsValidFlowType(e3) { + return !f.default.isUndefined(this.getDefinitionForFlowType(e3)); } - get wrappedYamlName() { - return "commonModule"; + getOrgAndFlowTypeSupportAudio(e3) { + return e3 ? m.getOrgSupportsAudio() && this.doesFlowTypeSupportAudio(e3) : m.getOrgSupportsAudio(); } - _createInitialActions() { - return n2.__awaiter(this, void 0, void 0, function* () { - const e3 = this.startUpObject.addAction(l.endTaskActionType); - return this.parentFlow.defaultLanguage && (e3.name = m(this.parentFlow.defaultLanguage).commonModule.exitCommonModule), this; - }); + get className() { + return "FlowDefinitionService"; } - getMissingLanguages() { - return this.loaded ? this.topParentFlow.languages.supportedLanguages.filter((e3) => !this.languages.supportedLanguages.includes(e3)) : []; + dump() { } - getHasMissingTTSEngineErrors() { - if (this.validationResults && !this.isDestroyedOrDestroying && this.loaded && (0, a.isFeatureAvailable)(u.default.flexibleTtsSelection)) return Object.entries(this.validationResults.missingTTSEngine).some(([e3, t3]) => t3); + get isFlowDefinitionService() { + return true; } - getCommonModuleTask() { - var e3; - return null === (e3 = this.tasks) || void 0 === e3 ? void 0 : e3[0]; + get isInitialize() { + return this._isInitialized; } + }(); + t2.default = C; + }, 89884(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getFlowInfoForOpen = function(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var t3; + M.withContext("flowId", e3).info("Starting flow open"); + const i3 = yield P.getFlow(e3, true, true); + if (!i3) throw M.withContext("flowId", e3).error("Failed to retrieve flow information"), new Error(`Failed to retrieve flow information for flow ID '${e3}'`); + if ("FAILURE" === (null === (t3 = i3.currentOperation) || void 0 === t3 ? void 0 : t3.actionStatus)) { + const { errorCode: t4, errorMessage: n4, actionName: o2 } = i3.currentOperation; + M.withContext("flowId", e3).withContext("errorCode", t4).withContext("errorMessage", n4).error(`Flow operation '${o2}' failed but allowing flow to load`); + } + const n3 = new _.default(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.flowTypeBusinessProcess ? new d.default(e3) : e3.type === a.flowTypes.flowTypeEmailSend ? new p.default(e3) : e3.type === a.flowTypes.flowTypeOutboundCall ? new A.default(e3) : e3.type === a.flowTypes.flowTypeInQueueCall ? new T.default(e3) : e3.type === a.flowTypes.flowTypeSecureCall ? new N.default(e3) : e3.type === a.flowTypes.flowTypeInboundEmail ? new g.default(e3) : e3.type === a.flowTypes.flowTypeSurveyInvite ? new v.default(e3) : e3.type === a.flowTypes.flowTypeInboundCall ? new h.default(e3) : e3.type === a.flowTypes.flowTypeInboundChat ? new m.default(e3) : e3.type === a.flowTypes.flowTypeInboundShortMessage ? new f.default(e3) : e3.type === a.flowTypes.flowTypeWorkflow ? new b.default(e3) : e3.type === a.flowTypes.flowTypeWorkitem ? new E.default(e3) : e3.type === a.flowTypes.flowTypeInQueueEmail ? new y.default(e3) : e3.type === a.flowTypes.flowTypeInQueueShortMessage ? new S.default(e3) : e3.type === a.flowTypes.flowTypeVoice ? new I.default(e3) : e3.type === a.flowTypes.flowTypeVoiceSurvey ? new O.default(e3) : e3.type === a.flowTypes.flowTypeVoicemail ? new C.default(e3) : e3.type === a.flowTypes.flowTypeVoiceSurvey ? new O.default(e3) : void console.error((0, o.sprintf)("Type not supported for flow retrieval: %s", e3.type)); + }, t2.makeReplayUrlFromFlowInstanceData = function(e3, t3, i3, n3) { + return R.ParameterValidator.expectString(e3, () => w.ParameterInfo.createFunctionParameter(F, "makeReplayUrlFromFlowInstanceData", "flowInstanceId")), R.ParameterValidator.expectString(t3, () => w.ParameterInfo.createFunctionParameter(F, "makeReplayUrlFromFlowInstanceData", "flowVersion")), R.ParameterValidator.expectString(i3, () => w.ParameterInfo.createFunctionParameter(F, "makeReplayUrlFromFlowInstanceData", "flowId")), R.ParameterValidator.expectFlowType(n3, () => w.ParameterInfo.createFunctionParameter(F, "makeReplayUrlFromFlowInstanceData", "flowType")), L(e3, t3, i3, n3); + }, t2.makeReplayUrlFromFlowPreview = function(e3) { + const t3 = null == e3 ? void 0 : e3.previewedFlowInfo; + if (t3) return L(t3.executionId, t3.flowVersion, t3.flowId, t3.flowType); + }; + const n2 = i2(31635), o = i2(17604), r = 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(32495)), p = n2.__importDefault(i2(37824)), _ = n2.__importDefault(i2(90396)), h = n2.__importDefault(i2(54625)), m = n2.__importDefault(i2(22999)), g = n2.__importDefault(i2(65641)), f = n2.__importDefault(i2(55974)), T = n2.__importDefault(i2(24212)), y = n2.__importDefault(i2(44130)), S = n2.__importDefault(i2(58407)), A = n2.__importDefault(i2(40192)), N = n2.__importDefault(i2(44231)), v = n2.__importDefault(i2(83737)), I = n2.__importDefault(i2(74920)), C = n2.__importDefault(i2(98253)), O = n2.__importDefault(i2(66350)), b = n2.__importDefault(i2(71191)), E = n2.__importDefault(i2(43314)), w = i2(55909), R = i2(33951), D = i2(97340), P = i2(37345), M = (0, r.getTopic)("flowListHelper"), F = "flowHelper"; + function L(e3, t3, i3, n3) { + if (!(n3 && i3 && e3 && t3)) return; + const o2 = `https://${c.values.host}${window.location.pathname}`; + return D.UrlBuilder.create(o2).addSegment("#").addSegment("flowInstance").addSegment(e3).render(); } - t2.default = f; - }, 60577: (e2, t2, i2) => { + }, 28691(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "externalIdInfo"; - } - get externalSource() { - } - get value() { - } - get displayTypeName() { - return "ArchValueExternalIdInfo"; - } - get isArchValueExternalIdInfo() { - return true; - } + t2.refreshFlowInfoSchemasFromVariables = function(e3) { + if (!(null == e3 ? void 0 : e3.info) || !(0, n2.isFlowInfoViewModel)(e3.info)) return; + const { inputSchema: t3, outputSchema: i3 } = (function(e4) { + var t4, i4, n3, r, a; + const s = {}, l = {}, u = null === (t4 = null == e4 ? void 0 : e4.variableGroup) || void 0 === t4 ? void 0 : t4.flowVariables; + if (!(null == u ? void 0 : u.length)) return {}; + const c = e4.type; + for (const e5 of u) { + if (!(null == e5 ? void 0 : e5.name) || !e5.isInput && !e5.isOutput) continue; + const t5 = o(e5); + t5 && (e5.isInput && (null === (n3 = null === (i4 = e5.type) || void 0 === i4 ? void 0 : i4.isAvailableAsInputForFlowType) || void 0 === n3 ? void 0 : n3.call(i4, c)) && (s[e5.name] = t5), e5.isOutput && (null === (a = null === (r = e5.type) || void 0 === r ? void 0 : r.isAvailableAsOutputForFlowType) || void 0 === a ? void 0 : a.call(r, c)) && (l[e5.name] = t5)); + } + const d = {}; + return Object.keys(s).length && (d.inputSchema = { type: "object", properties: s }), Object.keys(l).length && (d.outputSchema = { type: "object", properties: l }), d; + })(e3); + e3.info.applyInputOutputSchemas(t3, i3); + }; + const n2 = i2(90396); + function o(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 }; } - t2.default = r2; - }, 60598: (e2, t2, i2) => { + }, 52189(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.takeWhile = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.takeWhile = function(e3, t3) { - return void 0 === t3 && (t3 = false), n2.operate(function(i3, n3) { - var o = 0; - i3.subscribe(r2.createOperatorSubscriber(n3, function(i4) { - var r3 = e3(i4, o++); - (r3 || t3) && n3.next(i4), !r3 && n3.complete(); + t2.buildFlowInfoSpecAsync = function(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = null != t3 ? t3 : (0, c.getFlowInfoSpecOptionsForLevel)(c.flowInfoSpecLevel.comprehensive); + i3 || (yield e3.queuedAsyncValidate().catch((t4) => { + throw e3.topic.exception(t4, "buildFlowInfoSpecAsync - flow validation failed."), t4; })); + const o2 = (function(e4) { + const t4 = e4.children.filter((e5) => ((0, a.isTaskLike)(e5) || (0, s.isMenu)(e5)) && !e5.isHidden), i4 = t4.findIndex((e5) => e5.isStartUpObject); + if (i4 > 0) { + const [e5] = t4.splice(i4, 1); + t4.unshift(e5); + } + return t4; + })(e3), r2 = (function(e4, t4) { + const i4 = [`flow: ${e4.displayName}`, `type: ${e4.type}`, `defaultLanguage: ${e4.defaultLanguageLCase}`, `supportedLanguages: ${e4.languages.supportedLanguagesLCase.join(", ")}`], n4 = t4.find((e5) => e5.isStartUpObject); + if (n4) { + const e5 = (0, s.isMenu)(n4) ? "menu" : n4.uiMetaDataSectionName; + i4.push(`entry: ${e5} ${(0, p.getFlowInfoSpecNameLabel)(n4.name)}`); + } + return i4; + })(e3, o2); + return o2.forEach((e4) => { + r2.push(""), r2.push((function(e5) { + const t4 = e5.isStartUpObject ? " (entry)" : ""; + return `${(0, s.isMenu)(e5) ? "menu" : e5.uiMetaDataSectionName} ${(0, p.getFlowInfoSpecNameLabel)(e5.name)}${t4}:`; + })(e4)), n3.sections.includeSummaryLines && r2.push((function(e5) { + if ((0, s.isMenu)(e5)) { + const t5 = e5.getOrderedChoices().length; + return `${_}Summary: ${t5} choice${1 === t5 ? "" : "s"}`; + } + const t4 = e5.getMainPathActions().length; + return `${_}Summary: ${t4} action${1 === t4 ? "" : "s"}`; + })(e4)), (0, s.isMenu)(e4) ? h(e4.getOrderedChoices(), 1, r2, n3) : m(e4.getMainPathActions(), 1, r2, n3); + }), r2.join("\n"); }); }; - }, 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), 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).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"); - }) }); - } - static get managedProperties() { - return [...this.createBaseManagedProperties(), this.createRecordIdManagedProperty(), this.createDivisionsManagedProperty(), ...this.createCustomJsonProperties()]; - } - _getPossibleErrors() { - return u.updateConversationAttributeFailureReasons; - } + const n2 = i2(31635), o = n2.__importDefault(i2(71530)), r = n2.__importDefault(i2(23753)), a = i2(61610), s = i2(1782), l = i2(26847), u = i2(68038), c = i2(72473), d = i2(58155), p = i2(58155), _ = " "; + function h(e3, t3, i3, n3) { + e3.forEach((e4) => (function(e5, t4, i4, n4) { + const o2 = e5.action; + if (!o2) return; + if (!(e5.isSubMenu || e5.isInlineTask) && n4.actions.excludedTypes.has(o2.info.typeId)) return; + const r2 = _.repeat(t4), a2 = (function(e6) { + return e6.dtmf ? `press ${e6.dtmf.name}: ` : e6.globalDtmf ? "press any digit: " : ""; + })(e5), s2 = e5.trackingId ? `[#${e5.trackingId}] ` : "", l2 = g(o2, o2.getFlowInfoSpecLabel()), u2 = n4.actions.includeAnnotations ? o2.getFlowInfoSpecAnnotation() : void 0, c2 = n4.actions.includeDependencyAnnotations ? o2.getFlowInfoSpecDependencyAnnotation() : void 0, d2 = o2.getFlowInfoSpecTerminalKind(); + let p2 = `${r2}${a2}${s2}${l2}`; + u2 && (p2 += ` ${u2}`), c2 && (p2 += ` ${c2}`), d2 && (p2 += ` # ${d2}`), i4.push(p2), e5.isSubMenu && e5.menu ? h(e5.menu.getOrderedChoices(), t4 + 1, i4, n4) : e5.isInlineTask && e5.task && m(e5.task.getMainPathActions(), t4 + 1, i4, n4); + })(e4, t3, i3, n3)); } - 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.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.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 }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "skillCollection"; - } - get displayTypeName() { - return "ArchVariableSkillCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableSkillCollection() { - return true; - } + function m(e3, t3, i3, n3) { + e3.forEach((a2, s2) => (function(e4, t4, i4, n4, a3, s3) { + if (s3.actions.excludedTypes.has(e4.info.typeId)) return; + const u2 = _.repeat(n4), c2 = e4.trackingId ? `[#${e4.trackingId}] ` : "", d2 = (function(e5, t5, i5) { + var n5; + if (e5 instanceof o.default) { + const o2 = t5[i5 + 1]; + if ((null == o2 ? void 0 : o2.getFlowInfoSpecTerminalKind()) && (null === (n5 = e5.communication) || void 0 === n5 ? void 0 : n5.text)) return `Communicate ${e5.communication.text}`; + } + return g(e5, e5.getFlowInfoSpecLabel()); + })(e4, t4, i4), h2 = s3.actions.includeAnnotations ? e4.getFlowInfoSpecAnnotation() : void 0, y = s3.actions.includeDependencyAnnotations ? e4.getFlowInfoSpecDependencyAnnotation() : void 0, S = e4.getFlowInfoSpecTerminalKind(); + let A = `${u2}${c2}${d2}`; + h2 && (A += ` ${h2}`), y && (A += ` ${y}`), S && (A += ` # ${S}`), a3.push(A), (function(e5, t5, i5, n5) { + if (e5 instanceof r.default) return void (function(e6, t6, i6, n6) { + var o3; + const r2 = _.repeat(t6 + 1); + for (const a5 of e6.cases.items) { + const s4 = e6.getBranch(a5.model.referenceId), l2 = []; + m(null !== (o3 = null == s4 ? void 0 : s4.getMainPathActions()) && void 0 !== o3 ? o3 : [], t6 + 2, l2, n6); + const u3 = 0 === l2.length && !!(null == s4 ? void 0 : s4.terminatesTaskOrFlow); + (n6.branches.includeEmpty || 0 !== l2.length || u3) && (i6.push(`${r2}case ${(0, p.getFlowInfoSpecNameLabel)(T(e6, a5))}:`), u3 && i6.push(`${_.repeat(t6 + 2)}# ${f(s4)}`), i6.push(...l2)); + } + const a4 = e6.getBranch(l.outputIds.default); + if (a4) { + const e7 = []; + m(a4.getMainPathActions(), t6 + 2, e7, n6); + const o4 = 0 === e7.length && a4.terminatesTaskOrFlow; + (n6.branches.includeEmpty || e7.length > 0 || o4) && (i6.push(`${r2}default:`), o4 && i6.push(`${_.repeat(t6 + 2)}# ${f(a4)}`), i6.push(...e7)); + } + })(e5, t5, i5, n5); + const o2 = e5.branches; + if (o2 && 0 !== o2.length) if (1 !== o2.length) for (const e6 of o2) { + const o3 = []; + m(e6.getMainPathActions(), e6.label ? t5 + 2 : t5 + 1, o3, n5); + const r2 = 0 === o3.length && e6.terminatesTaskOrFlow; + (n5.branches.includeEmpty || 0 !== o3.length || r2) && (e6.label && i5.push(`${_.repeat(t5 + 1)}path ${(0, p.getFlowInfoSpecNameLabel)(e6.label)}:`), r2 && i5.push(`${_.repeat(e6.label ? t5 + 2 : t5 + 1)}# ${f(e6)}`), i5.push(...o3)); + } + else m(o2[0].getMainPathActions(), t5 + 1, i5, n5); + })(e4, n4, a3, s3); + })(a2, e3, s2, t3, i3, n3)); } - t2.default = r2; - }, 60633: (e2, t2, i2) => { - const n2 = i2(75458), r2 = i2(7401), { getSIPHeadersActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _sipHeaderNames: { writable: true }, _sipHeadersResult: { writable: true }, _errorBindings: { writable: true } }), a.baseConstructor.apply(this, arguments); + function g(e3, t3) { + return e3.name && e3.name !== e3.info.name ? `${t3} ${(0, p.getFlowInfoSpecNameLabel)(e3.name)}` : t3; } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { sipHeaderNames: { enumerable: true, get: function() { - return this._sipHeaderNames; - }, set: function(e3) { - this._sipHeaderNames = this.reviveItem(e3, r2); - } }, sipHeadersResult: { enumerable: true, get: function() { - return this._sipHeadersResult; - }, set: function(e3) { - this._sipHeadersResult = this.reviveItem(e3, r2); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this._sipHeaderNames.pasteReIdOrRename(e3), this._sipHeadersResult.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this._sipHeaderNames.pasteResolveOldToNewValues(e3), this._sipHeadersResult.pasteResolveOldToNewValues(e3); - } } }), e2.exports = a; - }, 60645: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(84783)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(97354)); - class l extends o.default { - get displayTypeName() { - return "ArchFactoryFilters"; - } - get logStr() { - return this._createLogStrFromParts(["ArchFactoryFilters"]); - } - get isArchFactoryFilters() { - return true; - } - createFilterObject(e3) { - return (r2.default.isUndefined(e3) || null === e3) && (e3 = a.default.FILTER_CONTAINER_OPERATORS.and), this._checkItemIsValidLiteralStringEnum(this._infoParm("operator", "createFilterObject"), e3, a.default.FILTER_CONTAINER_OPERATORS_ALL), new s.default(e3); - } - createFilterTraverseDefault(e3) { - this._checkItemIsValidLiteralBool(this._infoParm("wantArchBaseValues", "createFilterTraverseDefault"), e3, true); - const t3 = this.createFilterObject(a.default.FILTER_CONTAINER_OPERATORS.or), i3 = ["isArchBaseAction", "isArchBaseFlow", "isArchBaseMenu", "isArchBaseMenuChoice", "isArchBaseMultiActionContainer", "isArchBaseVariable"]; - return e3 && i3.push("isArchBaseValue"), r2.default.each(i3, (e4) => { - t3.addClausePropertyValueEquals(e4, true); - }), t3; - } + function f(e3) { + var t3, i3; + return null !== (i3 = null === (t3 = e3.terminatingAction) || void 0 === t3 ? void 0 : t3.getFlowInfoSpecTerminalKind()) && void 0 !== i3 ? i3 : d.flowInfoSpecTerminalKind.terminal; } - t2.default = new l(); - }, 60725: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(59912), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.utilizationLabelManager); - } - get _globalTypeName() { - return "utilizationLabel"; - } - get isArchValueUtilizationLabel() { - return true; - } - get displayTypeName() { - return "ArchValueUtilizationLabel"; - } - setLiteralByUtilizationLabelNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelId", "setLiteralByUtilizationLabelNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUtilizationLabelNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByUtilizationLabelNameAsync", t3, this)); - } - setLiteralByUtilizationLabelIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelId", "setLiteralByUtilizationLabelIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUtilizationLabelIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByUtilizationLabelIdAsync", t3, this)); - } + function T(e3, t3) { + var i3; + return e3.switchStyle === u.SwitchStyles.matchExpression && (null === (i3 = t3.value) || void 0 === i3 ? void 0 : i3.text) ? t3.value.text : t3.name; } - t2.default = s; - }, 60776: (e2, t2, i2) => { + }, 58155(e2, t2) { "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)), c = i2(80428), d = i2(14394), p = i2(94765); - class _ extends p.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3), this.additionLiteralProperties = ["username"]; - } - get className() { - return "UserType"; - } - createExpressionOptionClass() { - return new o.ExpressionTypeUserOptions(this.isCollection); - } - get yamlLiteralWrapperString() { - return "userName"; - } - _checkForPermission(e3, t3, i3, n3) { - if (!e3 || !e3.authString) return; - let r3 = false; - if (t3.permissions && (r3 = s.permissionService.checkHasPermissionInAtLeastOneDivision(t3, s.permissionService.staticPermissions[e3.authString]).hasPermission), !r3) { - const t4 = s.permissionService.getAuthValidationWarning(e3.authString, true); - e3.isWarning ? (n3.setParseWarning(t4), i3.addWarning(n3, t4, void 0, true)) : (n3.setParseError(t4), i3.addError(n3, t4, void 0, true)); - } - } - canConvertLitToExpression(e3) { - return l.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindUserById", e3, [d.globalTypes.string]); + t2.flowInfoSpecTerminalKind = void 0, t2.getFlowInfoSpecNameLabel = function(e3) { + return `"${(null == e3 ? void 0 : e3.length) ? e3.split('"').join('\\"') : ""}"`; + }, t2.escapeFlowInfoSpecInlineText = function(e3) { + return e3.replace(/\\/g, "\\\\").replace(/\r\n|\r|\n/g, "\\n"); + }, t2.flowInfoSpecTerminalKind = { terminal: "terminal", endsTask: "ends-task", endsState: "ends-state" }; + }, 72473(e2, t2) { + "use strict"; + t2.flowInfoSpecLevel = void 0, t2.getFlowInfoSpecOptionsForLevel = function(e3) { + var t3; + return null !== (t3 = d[e3]) && void 0 !== t3 ? t3 : s; + }, t2.flowInfoSpecLevel = { comprehensive: "comprehensive", detailed: "detailed", standard: "standard", minimal: "minimal" }; + const i2 = /* @__PURE__ */ new Set(["HoldMusicAction", "PlayEstimatedWaitTimeAction", "PlayPositionInQueueAction", "WaitAction", "WaitForInputAction", "CompleteSurveyInviteAction", "AbortSurveyInviteAction", "SendAutoReplyAction"]), n2 = /* @__PURE__ */ new Set(["PlayAudioAction", "TranscriptionAction", "ExitWorkitemFlowAction"]), o = /* @__PURE__ */ new Set(["SetAttributesAction", "GetAttributesAction", "UpdateVariableAction", "SetUUIDataAction", "CreateConversationAttributeAction", "UpdateConversationAttributeAction", "ExtractSecureDataAction"]), r = /* @__PURE__ */ new Set([...i2, ...n2]), a = /* @__PURE__ */ new Set([...i2, ...n2, ...o]), s = { branches: { includeEmpty: true }, actions: { excludedTypes: /* @__PURE__ */ new Set(), includeAnnotations: true, includeDependencyAnnotations: true }, sections: { includeSummaryLines: true } }, l = { branches: { includeEmpty: false }, actions: { excludedTypes: i2, includeAnnotations: true, includeDependencyAnnotations: false }, sections: { includeSummaryLines: false } }, u = { branches: { includeEmpty: false }, actions: { excludedTypes: r, includeAnnotations: false, includeDependencyAnnotations: false }, sections: { includeSummaryLines: false } }, c = { branches: { includeEmpty: false }, actions: { excludedTypes: a, includeAnnotations: false, includeDependencyAnnotations: false }, sections: { includeSummaryLines: false } }, d = { [t2.flowInfoSpecLevel.comprehensive]: s, [t2.flowInfoSpecLevel.detailed]: l, [t2.flowInfoSpecLevel.standard]: u, [t2.flowInfoSpecLevel.minimal]: c }; + }, 67018(e2, t2) { + "use strict"; + var i2; + t2.FlowInvokingEvent = void 0, (function(e3) { + e3.workitemCreated = "workitemCreated", e3.workitemDateBasedEvent = "workitemDateBasedEvent", e3.workitemStatusChanged = "workitemStatusChanged"; + })(i2 || (t2.FlowInvokingEvent = i2 = {})); + }, 55824(e2, t2, i2) { + "use strict"; + t2.allFlowInvokingEventsMap = t2.UW = t2.By = t2.Ev = t2.zE = void 0; + const n2 = i2(67018), o = i2(47957); + t2.zE = { id: n2.FlowInvokingEvent.workitemCreated, description: o.flowInvokingEvents.workitemCreatedDescription }, t2.Ev = { id: n2.FlowInvokingEvent.workitemDateBasedEvent, description: o.flowInvokingEvents.workitemDateBasedEventDescription }, t2.By = { id: n2.FlowInvokingEvent.workitemStatusChanged, description: o.flowInvokingEvents.workitemStatusChangedDescription }, t2.UW = [t2.zE, t2.Ev, t2.By], t2.allFlowInvokingEventsMap = {}; + for (const e3 of t2.UW) t2.allFlowInvokingEventsMap[e3.id] = e3; + }, 19859(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.flowHasUnpublishedWarning = function(e3, t3) { + 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, o.sprintf)(r.errors.unPublishedFlow, e3.displayName) : (0, o.sprintf)(r.errors.transferToUnpublishedFlow, e3.displayName); + }, t2.repointSelfReferenceIfMatch = function(e3, t3, i3, n3, o2) { + i3 && n3 && e3 !== i3 && (t3 || "").toLowerCase() === n3.toLowerCase() && o2(i3, n3); + }; + const n2 = i2(96618), o = i2(17604), r = i2(47957); + }, 19312(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.flowNameIsInvalidMessage = function(e3) { + return e3 ? e3.trim().match(/-debug$/i) ? o.editFlow.noDebugPostfix : e3.indexOf("/") > -1 ? o.editFlow.flowNameInvalidCharacter : (0, n2.getStringContainsValidCharacter)(e3, true) ? null : o.editFlow.flowNameIsInvalidMessageNoAlphaNumericError : o.editFlow.flowNameCannotBeBlank; + }; + const n2 = i2(66381), o = i2(47957); + }, 47470(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(75599), r = i2(75599), a = i2(5173); + class s extends a.BaseFlowPreviewInstance { + _startPreviewForFlowInfo(e3, t3, i3, a2) { + return n2.__awaiter(this, void 0, void 0, function* () { + let t4; + return t4 = i3 ? yield (0, r.callFlowDebug)(e3.displayName) : yield (0, o.callFlow)(e3.displayName), null == t4 ? void 0 : t4.id; + }); } - convertLitToExpression(e3, t3, i3) { - return i3 && this.canConvertLitToExpression(e3) ? `FindUserById(${u.default.getQuotedExpressionStringLiteral(i3)})` : ""; + _isFlowNotificationEventDataForThisPreview(e3, t3) { + return e3 && (null == t3 ? void 0 : t3.conversationId) === e3; } - _getLiteralValueOfExpression() { - return ""; + get supportsDebugPublishedPreview() { + return true; } - getYamlObjectForLiteralSingleton(e3) { - var t3, i3, n3, o2; - let a2; - if (super.getYamlObjectForLiteralSingleton(e3), (null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.isReadOnly) && (null === (i3 = null == e3 ? void 0 : e3.config) || void 0 === i3 ? void 0 : i3.val)) { - const t4 = this.listManager.getItem(e3.config.val); - t4 && (a2 = t4.email); - } - return r2.default.tryWrapObject(a2 || (null === (o2 = null === (n3 = null == e3 ? void 0 : e3.config) || void 0 === n3 ? void 0 : n3.lit) || void 0 === o2 ? void 0 : o2.username) || "", this.yamlLiteralWrapperString); + get supportsPublishedFlowPreview() { + return true; } - get listManager() { - return a.userManager; + get supportsPreviewPayload() { + return false; } } - t2.UserType = _, _.typeIdentifier = c.expressionTypeNames.userQueue; - }, 60818: (e2, t2, i2) => { + t2.default = s; + }, 76189(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), c = i2(80295); - class d extends a.BaseConversationAttributeActionModel { - constructor(e3) { - super(e3), this.__type = d.__type, (0, c.makeUnenumerable)(this, "_recordIds"), (0, c.makeUnenumerable)(this, "_output"); - } - get recordIds() { - return this._recordIds; - } - set recordIds(e3) { - this._recordIds = this.reviveItem(e3, l.default); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(37097)), a = i2(5173); + class s extends a.BaseFlowPreviewInstance { + _startPreviewForFlowInfo(e3, t3, i3, a2) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i4 = yield r.postDigitalBotFlowLaunch(e3.id, t3, o.default.isObject(a2) ? a2 : {}); + return console.log(`digital bot flow instance '${i4.id}'`), i4.id; + }); } - get output() { - return this._output; + _isFlowNotificationEventDataForThisPreview(e3, t3) { + return e3 && (null == t3 ? void 0 : t3.executionId) === e3; } - set output(e3) { - this._output = this.reviveItem(e3, l.default); + get supportsDebugPublishedPreview() { + return false; } - pasteReIdOrRename(e3) { - var t3; - super.pasteReIdOrRename(e3), this.recordIds.pasteReIdOrRename(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteReIdOrRename(e3); + get supportsPublishedFlowPreview() { + return true; } - pasteResolveOldToNewValues(e3) { - var t3; - super.pasteResolveOldToNewValues(e3), this.recordIds.pasteResolveOldToNewValues(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); + get supportsPreviewPayload() { + return true; } } - 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) => { + t2.default = s; + }, 44275(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(92158), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.wrapupCodeManager); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(96618), a = i2(9456), s = i2(5173), l = i2(37345); + class u extends s.BaseFlowPreviewInstance { + _startPreviewForFlowInfo(e3, t3, i3, r2) { + return n2.__awaiter(this, void 0, void 0, function* () { + var i4; + const n3 = `${null !== (i4 = u._launchNamePrefixesByFlowType[e3.type]) && void 0 !== i4 ? i4 : "ArchitectFlowPreview"}_${(0, a.uuid)()}`, s2 = yield l.postFlowLaunch(e3.id, t3, o.default.isObject(r2) ? r2 : {}, n3); + return console.log(`flow launch name '${n3}'`), s2.id; + }); } - get _globalTypeName() { - return "wrapupCodeCollection"; + _isFlowNotificationEventDataForThisPreview(e3, t3) { + return t3.flowId === this.flowId; } - get displayTypeName() { - return "ArchValueWrapupCodeCollection"; + get supportsDebugPublishedPreview() { + return true; } - get _searchByValueSearchProperty() { - return "name"; + get supportsPublishedFlowPreview() { + return true; } - addLiteralByWrapupCodeIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeId", "addLiteralByWrapupCodeIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByWrapupCodeIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "wrapupCode").then(() => r2.default.executeCallback(this, "addLiteralByWrapupCodeIdAsync", t3, this)); - }); + get supportsPreviewPayload() { + return true; } - addLiteralByWrapupCodeNameAsync(e3, t3) { + } + u._launchNamePrefixesByFlowType = { [r.flowTypes.flowTypeBusinessProcess]: "ArchitectBusinessProcessPreview", [r.flowTypes.flowTypeWorkflow]: "ArchitectWorkflowPreview" }, t2.default = u; + }, 88280(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(9456), r = i2(73270), a = i2(5173); + class s extends a.BaseFlowPreviewInstance { + _startPreviewForFlowInfo(e3, t3, i3, a2) { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeName", "addLiteralByWrapupCodeNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByWrapupCodeNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "wrapupCode").then(() => r2.default.executeCallback(this, "addLiteralByWrapupCodeNameAsync", t3, this)); + return a2.name || (a2.name = `ArchitectWorkitemPreview_${e3.displayName}_${(0, o.uuid)()}`), a2.typeId = e3.workitemFlowSettings.worktype.id, (yield (0, r.createWorkitem)(a2)).id; }); } - get isArchValueWrapupCodeCollection() { + _isFlowNotificationEventDataForThisPreview(e3, t3) { + var i3, n3; + return (null === (n3 = null === (i3 = t3.invokingContext) || void 0 === i3 ? void 0 : i3.workitem) || void 0 === n3 ? void 0 : n3.workitemId) === this.tag; + } + get supportsDebugPublishedPreview() { + return false; + } + get supportsPreviewPayload() { + return true; + } + get supportsPublishedFlowPreview() { return true; } } t2.default = s; - }, 60856: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(15244); - function o() { - Object.defineProperties(this, { _handlingType: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BaseEventHandlingSettings"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments); - } }, handlingType: { enumerable: true, get: function() { - return this._handlingType; - }, set: function(e3) { - this._handlingType = this.reviveEnum(e3, r2); - } } }), e2.exports = o; - }, 60873: (e2, t2, i2) => { + }, 5173(e2, t2, i2) { "use strict"; - var n2, r2, o, a, s; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isAskForSlotActionViewModel = function(e3) { - return null == e3 ? void 0 : e3.isAskForSlotActionViewModel; - }; - 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]; - return W.isFeatureAvailable(H.default.botFlowsEnhancedRecognitionFailureHandling) && e3.push(k.default.maxNoMatchesOptional), W.isFeatureAvailable(H.default.botFlowsSupportDontKnowAnswers) && e3.push(k.default.skipResponseCaptureOptional), e3; - } - isOptionalPathAvailable(e3) { - return true; + t2.BaseFlowPreviewInstance = void 0; + const n2 = i2(31635), o = i2(79364), r = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(12847)), s = n2.__importStar(i2(68223)), l = i2(77886); + var u; + !(function(e3) { + e3.cancelled = "cancelled", e3.completed = "completed", e3.error = "error", e3.none = "none", e3.running = "running", e3.starting = "starting"; + })(u || (u = {})), t2.BaseFlowPreviewInstance = class { + constructor() { + this._resetSubscriptions = true, this.status$ = new o.BehaviorSubject(void 0), this.status = u.none; } - get supportsCustomOutputPaths() { - return true; + get tag() { + return this._tag; } - getYamlOptionsMap() { - const e3 = super.getYamlOptionsMap(); - return this._doesSelectedSlotTypeSupportChooser || (e3.chooser = x.default.create(void 0, (e4) => e4.setSkipProperty(true))), e3; + get status() { + return this.status$.value; } - 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, 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)]; + set status(e3) { + this.status$.next(e3); } - 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, () => { - const e4 = this.getBranch(k.default.maxNoInputsOptional.outputId), t4 = this.getBranch(k.default.default.outputId); - let i3 = null, n3 = null; - W.isFeatureAvailable(H.default.botFlowsEnhancedRecognitionFailureHandling) && (i3 = this.getBranch(k.default.maxNoMatchesOptional.outputId)), W.isFeatureAvailable(H.default.botFlowsSupportDontKnowAnswers) && (n3 = this.getBranch(k.default.skipResponseCaptureOptional.outputId)), (!e4.outOfService || i3 && !i3.outOfService || n3 && !n3.outOfService) && t4.outOfService ? (t4.outOfService = false, j.emitter.emit(j.branchesChanged)) : !e4.outOfService || i3 && !i3.outOfService || n3 && !n3.outOfService || t4.outOfService || (t4.outOfService = true, j.emitter.emit(j.branchesChanged)), this._updateSkipCapture(); - }), this.parentFlow.supportsGrammars && this.addAutoCleanedUpEventSinkWatch(j.valueChanged, this.speechToTextEngine, () => { - this._updateSpeechRecognitionSettings(); - }), j.emitter.on(j.rangeValueSelected, (e4) => { - this.selectedSlotType === e4.slotTypeName && this.confirmationMode && this.confirmationMode.text !== B.always.id && this.confirmationMode.setAsLiteral(B.always.id); - }); + get startDateTime() { + return this._startDateTime; } - _setOptions(e3, t3) { - const i3 = t3.flowTypeOverrides[this.parentFlow.type] || t3; - e3.options.setDefaultToBuilderId(i3.builderId).setBuilderLanguagesSequenceConfig(t3); + get previewedFlowInfo() { + return this._previewedFlowInfo; } - get hasMultiSelectSlot() { - return this.selectedSlot && l.__classPrivateFieldGet(this, s, "f"); + get endDateTime() { + return this._endDateTime; } - get hasSingleSelectSlot() { - return this.selectedSlot && !l.__classPrivateFieldGet(this, s, "f"); + get flowId() { + return this._flowId; } - _updateHasMultiSelect() { - l.__classPrivateFieldSet(this, s, this.selectedSlot && this.parentFlow.nluMetaData.isMultiSelectSlot(this.selectedSlot), "f"); + get flowVersion() { + return this._flowVersion; } - get selectedSlot() { - return this.model.selectedSlot; + get flowType() { + return this._flowType; } - get isAskForSlotActionViewModel() { - return true; + get resetSubscriptions() { + return this._resetSubscriptions; } - get selectedSlotError() { - return l.__classPrivateFieldGet(this, n2, "f"); + set resetSubscriptions(e3) { + this._resetSubscriptions = e3; } - get selectedSlotErrorText() { - return l.__classPrivateFieldGet(this, r2, "f"); + reset() { + try { + this._stopListeningForFlowInstanceEventData(); + } catch (e3) { + } + this._tag = void 0, this._previewedFlowInfo = void 0, this._flowVersion = void 0, this._flowId = void 0, this._startDateTime = void 0, this._endDateTime = void 0, this.status = u.none; } - get speechToTextEngineName() { - return l.__classPrivateFieldGet(this, o, "f"); + get previewInfoLogStr() { + return this.flowId ? this.tag ? `(flow id: '${this.flowId} / tag: '${this.tag}')` : `(flow id: '${this.flowId})` : this.tag ? `(tag: '${this.tag})` : ""; } - get speechToTextEngineId() { - return l.__classPrivateFieldGet(this, a, "f"); + startPreview(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var n3, o2; + if (e3) return yield this.startPreviewForFlowInfo(e3, t3 ? null === (n3 = e3.info.debugVersion) || void 0 === n3 ? void 0 : n3.id : null === (o2 = e3.info.publishedVersion) || void 0 === o2 ? void 0 : o2.id, !!t3, i3); + }); } - get selectedSlotType() { - return this.model.selectedSlotType; + startPreviewForFlowInfo(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (this.reset(), !this.supportsDebugPublishedPreview && i3) return a.error("previewer does not support debug"), void (this.status = u.error); + if (!this.supportsPublishedFlowPreview && !i3) return a.error("previewer does not support published"), void (this.status = u.error); + this.supportsPreviewPayload || r.default.isUndefined(o2) || (a.error("previewer does not support preview payloads. Caller is passing a payload. It will not be used for the preview."), o2 = void 0), this.status = u.starting; + try { + const n3 = yield this._startPreviewForFlowInfo(e3, t3, i3, o2); + if (n3) return this._flowId = e3.id, this._flowVersion = t3, this._flowType = e3.type, this._tag = n3, a.log(`preview - starting ${this.previewInfoLogStr}`), yield this._startListeningForFlowInstanceEventData(), this._startDateTime = /* @__PURE__ */ new Date(), this.status = u.running, a.log(`preview - running ${this.previewInfoLogStr}`), n3; + } catch (e4) { + } + this.reset(), this.status = u.error; + }); } - static createNoMatchProgressiveRepromptsOptions(e3) { - 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); + _startPreviewForFlowInfo(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + }); } - 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); + get amPreviewing() { + switch (this.status) { + case u.starting: + case u.running: + return true; + } + return false; } - _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, 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(); + get amDone() { + switch (this.status) { + case u.completed: + case u.error: + case u.cancelled: + return true; + } + return false; } - setOutOfService() { - 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(); + get amPreviewingOrDone() { + return this.amPreviewing || this.amDone; } - _showChooserLabelAndModeSelector(e3) { - this.chooser.label = e3 ? re.cardsAndCars.askForSlotChooserLabel : void 0; + get canHaveOrHasFlowInstanceExecutionData() { + return !!this._notificationSubscriptionTopicId || !!this._previewedFlowInfo; } - _updateSpeechRecognitionSettings() { - const e3 = ee.default.isSttIdBotTranscriptionConnectorType(this.speechToTextEngineId); - e3 ? (this.grammar.setAsNoValue(), this.grammar.options.setReadOnly(true)) : this.grammar.options.setReadOnly(false); - const t3 = !!this.speechToTextEngineId && !this.grammar.isNoValueMode, i3 = !this.speechToTextEngineId && this.grammar.isNoValueMode; - this._needsSpeechParamOverrideError = !t3 && !i3 && !e3, Y.validateAction(this, false, true); + processFlowInstanceEventData(e3) { + if (e3) if (a.log(`preview - received flow instance data (flow '${this.flowId}')`), this._isFlowNotificationEventDataForThisPreview(this.tag, e3)) { + a.log(`preview - finishing up, flow instance data is for this preview ${this.previewInfoLogStr}`), this._endDateTime = /* @__PURE__ */ new Date(), this._previewedFlowInfo = e3, this.status = u.completed, this._stopListeningForFlowInstanceEventData(); + try { + this._processFlowInstanceEventData(e3); + } catch (e4) { + } + a.log(`preview - completed ${this.previewInfoLogStr}`); + } else a.log(`preview - still waiting, flow instance data is not for this preview ${this.previewInfoLogStr}`); } - get _doesSelectedSlotTypeSupportChooser() { - return this.isChooserFunctionalityAvailable && (this.chooser.type.isSelectedSlotTypeListOrDynamicList(this.chooser) || this.chooser.type.isSelectedSlotTypeDynamicDateTime(this.chooser)); + _startListeningForFlowInstanceEventData() { + return n2.__awaiter(this, void 0, void 0, function* () { + try { + const e3 = (0, l.getFlowInstancesTopic)(this.flowId); + this._notificationSubscriptionTopicId !== e3 ? (yield s.addSubscription(e3, "FlowInstanceEventDataController", (e4) => this.processFlowInstanceEventData(e4)), this._notificationSubscriptionTopicId = e3, a.log(`preview - notification subscription success (topic: '${this._notificationSubscriptionTopicId}')`)) : a.log(`preview - notification subscription already listening (topic: '${this._notificationSubscriptionTopicId}')`); + } catch (e3) { + a.warn(`preview - notification subscription unsuccessful (topic: '${this._notificationSubscriptionTopicId}', flow id: '${this.flowId}') - this often happens when trying to listen for flow instance data events for a flow in a division where you don't have the 'architect:flowInstance:view' permission.`); + } + }); } - _updateChooser() { - 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, 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); + get notificationSubscriptionTopicId() { + return this._notificationSubscriptionTopicId; } - _updateNluInformation() { - this._updateAskResultProperty(), this._updateSelectedSlotType(), this._updateConfirmationQuestionProperty(false), this._updateHasMultiSelect(), this.setOutOfService(); + get amListeningForNotifications() { + var e3; + return (null === (e3 = this._notificationSubscriptionTopicId) || void 0 === e3 ? void 0 : e3.length) > 0; } - _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), 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; - 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; - 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, I.isCardExpression)(i4) && (0, O.isCardCollection)(i4.parentList) && i4.parentList.collectionItems.removeChild(i4)); - }); + _processFlowInstanceEventData(e3) { } - 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()); + _stopListeningForFlowInstanceEventData() { + this.amListeningForNotifications && this.resetSubscriptions && (a.log(`preview - notification unsubscribe (topic: '${this._notificationSubscriptionTopicId}')`), s.removeSubscription(this.notificationSubscriptionTopicId, "FlowInstanceEventDataController"), this._notificationSubscriptionTopicId = void 0); } - _updateProgressivePropertiesOOS() { - 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; + cancel() { + this.reset(); } - _isContinuationNoMatchOOS() { - return this.customizeContinuation.model.text === y.default.true; + }; + }, 1638(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getPreviewerForFlow = function(e3) { + if (!e3) return; + let t3 = c[e3.id]; + if (o.default.isUndefined(t3)) { + const i3 = s.default.getDefinitionForFlowType(e3.type); + if (!(null == i3 ? void 0 : i3.supportsTestPreview)) return; + t3 = i3.previewPlacesCall ? new r.default() : i3.previewPerformsLaunch ? new l.default() : i3.previewCreatesWorkitem ? new u.default() : i3.previewCreatesBotSession ? new a.default() : null, c[e3.id] = t3; } - _isContinuationNoMatchRepromptsOOS() { - return this.customizeContinuation.model.text !== y.default.true; + return t3 || void 0; + }, t2.clearPreviewerForFlow = function(e3) { + e3 && delete c[e3.id]; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(47470)), a = n2.__importDefault(i2(76189)), s = n2.__importDefault(i2(98114)), l = n2.__importDefault(i2(44275)), u = n2.__importDefault(i2(88280)), c = {}; + }, 57905(e2, t2, i2) { + "use strict"; + t2.FlowSize = t2.gW = t2.KL = t2.e9 = t2.tf = t2.tV = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(69453), a = i2(69212), s = n2.__importStar(i2(12847)), l = i2(29269), u = i2(47957); + t2.tV = "__SYSTEM__", t2.tf = "__SETTINGS__", t2.e9 = "__SETTINGS_GROUP__", t2.KL = "__CONTAINERS__", t2.gW = "__COMMON_MODULES__", t2.FlowSize = class { + constructor(e3, t3, i3, n3) { + this._processState = { root: null, hierarchy: [], itemIdMap: {}, visualizationCurrentId: 1 }, this.iterateFlow(e3, t3, i3, n3), this.postProcess(); } - 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, 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); + pushItemWithChildren(e3, t3, i3, n3, o2) { + return this._pushItem(e3, t3, i3, n3, true, o2); } - _updateAskResultProperty() { - const e3 = this.parentFlow.nluMetaData.getSlotVariableForSlotName(this.selectedSlot); - e3 ? (this.askResult.type = e3.type, this.askResult.setText(e3.name, true, true), this.askResult.outOfService = false) : (this.askResult.setText("", true, true), this.askResult.outOfService = true); + pushItemWithoutChildren(e3, t3, i3, n3, o2) { + return this._pushItem(e3, t3, i3, n3, false, o2); } - _updateContinuationPromptProperty(e3) { - const t3 = ne(this.parentFlow.defaultLanguage); - if (!this.continuationPrompt.outOfService) { - const e4 = (0, d.sprintf)(t3.askForSlot.continuationPromptWithSlot, this.selectedSlot); - this.continuationPrompt.setCommunicationBuilderText(e4); + _pushItem(e3, t3, i3, n3, o2, r2) { + const a2 = this._processState.hierarchy[this._processState.hierarchy.length - 1], s2 = { __type: null == n3 ? void 0 : n3.__type, type: null == n3 ? void 0 : n3.__type, flowConfigId: t3, id: this._processState.visualizationCurrentId.toString(), name: i3, children: [], json: n3, jsonContainsChildren: o2, configParentId: null == a2 ? void 0 : a2.flowConfigId, parentId: null == a2 ? void 0 : a2.id, trackingId: null == n3 ? void 0 : n3.trackingId, classification: e3 }; + this._processState.visualizationCurrentId = this._processState.visualizationCurrentId + 1, a2 ? a2.children.push(s2) : this._processState.root = s2, this._processState.itemIdMap[t3] = s2, this._processState.hierarchy.push(s2); + try { + r2 && r2(s2); + } catch (e4) { + this.throwError(e4); + } finally { + this.popItem(); } - e3 && this.continuationPrompt.resetForBuilder(true, false); + return s2; } - _updateConfirmationQuestionProperty(e3) { - if (this.askResult.type.isCollection) return this.confirmationModeNote.outOfService = false, this.confirmationMode.outOfService = true, void (this.confirmationQuestion.outOfService = true); - this.confirmationModeNote.outOfService = true, this.confirmationMode.outOfService = false; - const t3 = this.confirmationMode.isLiteralMode && this.confirmationMode.text === B.never.id || this.confirmationMode.isExpressionMode && this.confirmationMode.text === `"${B.never.id}"`; - this.confirmationQuestion.hasConfig && this.confirmationQuestion.outOfService === t3 || (this.confirmationQuestion.outOfService = t3, Y.validateAction(this, false, true)), e3 && this.confirmationQuestion.resetForBuilder(true, false); + pushItemBucket(e3, t3, i3) { + return this.pushItemWithoutChildren(void 0, e3, t3, void 0, i3); } - _updateSelectedSlotType() { - const e3 = this.parentFlow.getSlotToSlotTypeMap(true, false).get(this.selectedSlot); - e3 && e3 !== this.selectedSlotType && (this.model.selectedSlotType = e3); + popItem() { + return this._processState.hierarchy.pop(); } - getAvailableSlotNames() { - return this.parentFlow.getAvailableSlotNames(true, false); + _sizeYourself(e3, i3) { + let n3 = 0; + if (e3.children.length && e3.children.forEach((e4) => { + this._sizeYourself(e4, false), n3 += e4.totalSize; + }), e3.json) if (i3) { + e3.size = e3.totalSize = this.sizeJson(e3.json); + const i4 = e3.totalSize - n3, o2 = e3.children.find((e4) => e4.flowConfigId === t2.tf); + if (!o2) throw "can not find settings bucket"; + o2.children.push({ __type: void 0, type: void 0, flowConfigId: t2.tV, id: (this._processState.visualizationCurrentId++).toString(), name: u.user.system, children: [], json: void 0, jsonContainsChildren: true, configParentId: o2.flowConfigId, parentId: o2.id, trackingId: void 0, totalSize: i4, size: i4, classification: a.VisualizationItemClassification.settings }); + } else e3.jsonContainsChildren ? (e3.totalSize = this.sizeJson(e3.json), e3.size = e3.totalSize - n3) : (e3.size = this.sizeJson(e3.json), e3.totalSize = e3.size + n3); + else e3.totalSize = n3, e3.size = 0; } - validate(e3) { - 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, 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, 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, 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, d.sprintf)(re.askForSlot.continuationPromptDoesNotReferenceSlotVariable, t4.name); - e3.addExpressionWarning(this.continuationPrompt, i4); - } - } - if (this.selectedSlot && this.selectedSlotType && !this.confirmationMode.outOfService) { - 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, d.sprintf)(re.askForSlot.confirmationModeNeverWithRangeValuesWarning, this.selectedSlot); - e3.addExpressionWarning(this.confirmationMode, t5); - } - } - 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, d.sprintf)(re.askForSlot.tooManySkipChoicesError, n3.length)); - }); - } - if (this.isChooserFunctionalityAvailable && this.chooser && this.chooser.type.getPresentationModeIsCarousel(this.chooser)) { - const t4 = (null === (y2 = null === (T2 = null === (f2 = null === (g2 = null === (m2 = null === (h2 = null === (_2 = this.chooser) || void 0 === _2 ? void 0 : _2.properties) || void 0 === h2 ? void 0 : h2.carousel) || void 0 === m2 ? void 0 : m2.properties) || void 0 === g2 ? void 0 : g2.cards) || void 0 === f2 ? void 0 : f2.collectionItems) || void 0 === T2 ? void 0 : T2.items) || void 0 === y2 ? void 0 : y2.filter((e4) => { - var t5, i4, n3, r3; - 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, d.sprintf)(re.askForSlot.tooManySkipChoicesError, t4.length)); - }); - } + postProcess() { + this._sizeYourself(this._processState.root, true); } - get isChooserFunctionalityAvailable() { - var e3, t3, i3, 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; + dump(e3, t3, i3) { + if (!e3) return; + t3 || (t3 = "", console.log("------------- Flow Size Info -------------")); + let n3 = ""; + if (void 0 !== i3) { + for (n3 = i3.toString(); n3.length < 1; ) n3 = "0" + n3; + n3 = `[${n3}]`; + } + console.log(`${t3}${n3} name: ${e3.name} ( type: ${e3.__type}, id: ${e3.flowConfigId} )`), console.log(`${t3} totalSize: ${e3.totalSize}`), console.log(`${t3} itemSize: ${e3.size}`); + let r2 = 0; + o.default.each(e3.children, (e4) => { + this.dump(e4, t3 + " ", r2++); + }); } - } - 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" } }; - }, 61044: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Neplatn\xE1 hodnota.", noInputReceived: "Nebyl obdr\u017Een \u017E\xE1dn\xFD vstup." }, askForBoolean: { noInput: 'Pokud chcete pokra\u010Dovat, \u0159ekn\u011Bte "ano", pokud nechcete, \u0159ekn\u011Bte "ne".', noMatch: '\u0158ekn\u011Bte "Ano" nebo "Ne". Chcete pokra\u010Dovat?', question: "Chcete pokra\u010Dovat?", noInputDigitalBot: 'Zadejte "Ano", pokud chcete pokra\u010Dovat, nebo "Ne", pokud pokra\u010Dovat nechcete.', noMatchDigitalBot: 'Zadejte "Ano"nebo "Ne". Chcete pokra\u010Dovat?' }, askForIntent: { noInput: '\u0158ekn\u011Bte kr\xE1tkou v\u011Btu, kter\xE1 popisuje v\xE1\u0161 dotaz, nap\u0159\xEDklad "Pod\xEDvat se na z\u016Fstatek \xFA\u010Dtu"', noMatch: "\u0158ekn\u011Bte mi znovu, co chcete ud\u011Blat.", question: "Co chcete ud\u011Blat?", noInputDigitalBot: 'Zadejte kr\xE1tkou v\u011Btu, kter\xE1 popisuje v\xE1\u0161 dotaz. Nap\u0159\xEDklad "Zkontrolujte z\u016Fstatek na m\xE9m \xFA\u010Dtu".' }, askForSlot: { askFor: "Dot\xE1zat se na %1$s", noInput: "\u0158ekn\u011Bte nebo zadejte (zde uve\u010Fte n\xE1zev slotu).", noInputWithSlot: "\u0158ekn\u011Bte nebo zadejte %1$s.", noMatch: "Uve\u010Fte (zde uve\u010Fte n\xE1zev slotu) znovu.", noMatchWithSlot: "Uve\u010Fte %1$s znovu.", question: "Uve\u010Fte (sem zadejte n\xE1zev slotu).", questionWithSlot: "Uve\u010Fte %1$s.", pleaseEnterSlotNameHere: "(sem zadejte n\xE1zev va\u0161eho slotu)", noInputDigitalBot: "Zadejte (zde uve\u010Fte n\xE1zev slotu).", noInputWithSlotDigitalBot: "Zadejte %1$s.", continuationPromptWithSlot: "Zat\xEDm m\xE1m {{Slot.%1$s}}, pokra\u010Dujte pros\xEDm." }, askForNextSlot: { noInput: 'M\xE1te-li jin\xFD dotaz, \u0159ekn\u011Bte "ano", jinak \u0159ekn\u011Bte "ne" a hovor ukon\u010Dete.', noMatch: 'M\xE1te-li jin\xFD dotaz, \u0159ekn\u011Bte "Ano", jinak \u0159ekn\u011Bte "Ne" a relaci ukon\u010Dete.', question: "Mohu v\xE1m pomoci je\u0161t\u011B s n\u011B\u010D\xEDm dal\u0161\xEDm?", noInputDigitalBot: 'Zadejte "Ano", pokud m\xE1te jin\xFD dotaz, nebo "Ne", pokud chcete relaci ukon\u010Dit.', noMatchDigitalBot: 'Zadejte "Ano", pokud m\xE1te jin\xFD dotaz, nebo "Ne", pokud chcete relaci ukon\u010Dit.' }, askForPayment: { noInputDigitalBot: "Zadejte pros\xEDm sv\xE9 platebn\xED \xFAdaje.", noMatchDigitalBot: "Nepoda\u0159ilo se mi porozum\u011Bt va\u0161\xED odpov\u011Bdi. Zkuste to pros\xEDm znovu." }, askForAuthentication: { noInputDigitalBot: "Zadejte pros\xEDm sv\xE9 p\u0159ihla\u0161ovac\xED \xFAdaje.", noMatchDigitalBot: "Nepoda\u0159ilo se mi porozum\u011Bt va\u0161\xED odpov\u011Bdi. Zkuste to pros\xEDm znovu." }, askSurveyQuestion: { notApplicable: "Nevztahuje se", surveyAnswerOptionSequence: "Stiskem %1$s zvol\xEDte '%2$s'.", surveyAnswerNotApplicableSequence: "Stiskem hv\u011Bzdi\u010Dky zvol\xEDte Nevztahuje se.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Stiskem hv\u011Bzdi\u010Dky zvol\xEDte Nevztahuje se.", voiceSurveyNoInputText: "Odpov\u011Bzte pros\xEDm na ot\xE1zku.", voiceSurveyNoMatchText: "Nerozum\xEDm v\xE1m." }, commonModule: { exitCommonModule: "Ukon\u010Dit spole\u010Dn\xFD modul" }, form: { noInputDigitalBot: "Vypl\u0148te pros\xEDm formul\xE1\u0159.", noMatchDigitalBot: "Vypl\u0148te pros\xEDm formul\xE1\u0159." }, messagingTemplate: { noInputDigitalBot: "Vyberte n\u011Bkterou z dostupn\xFDch mo\u017Enost\xED.", noMatchDigitalBot: "Vyberte n\u011Bkterou z dostupn\xFDch mo\u017Enost\xED." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Pokra\u010Dovat", knowledgeAnswerHighlightFullArticleDefault: "Zobrazit cel\xFD \u010Dl\xE1nek", knowledgeInitialResponseMulti: "Pomozte mi pros\xEDm zjistit v\xE1\u0161 c\xEDl v\xFDb\u011Brem \u010D\xEDsla ze seznamu n\xED\u017Ee:", knowledgeInitialResponseMultiRetry: "Vyberte pros\xEDm \u010D\xEDslo, nap\u0159\xEDklad '1'.\nZde je seznam mo\u017Enost\xED:", knowledgeNoMatch: "Nic z uveden\xE9ho", knowledgeConfirmation: "Dozv\u011Bd\u011Bli jste se, co jste pot\u0159ebovali?", knowledgeFollowup: "Douf\xE1m, \u017Ee jsem odpov\u011Bd\u011Bl na va\u0161i ot\xE1zku. M\u016F\u017Eete se zeptat na cokoli dal\u0161\xEDho, co v\xE1s zaj\xEDm\xE1." }, noOverlay: { intent: { intentConfirmationStr1: "Mysl\xEDm si, \u017Ee chcete", intentConfirmationStr2: "Je to spr\xE1vn\u011B?" }, youSaid: { youSaidConfirmationStr1: "Uvedli jste", youSaidConfirmationStr2: "Je to spr\xE1vn\u011B?", youSaidConfirmationStr1DigitalBot: "Zadali jste" }, noInput: { noInputStr1: "\u0158ekn\u011Bte nebo zadejte", noInputStr1DigitalBot: "Zadejte" }, noMatch: { noMatchStr1: "Uve\u010Fte" }, whatIs: { whatIsQuestionStr1: "Co je", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "M\xE1m", iGotContinuationStr2: "prozat\xEDm, pros\xEDm pokra\u010Dujte." } }, defaultCallFlowOne: "V\xFDchoz\xED strategie vol\xE1n\xED", errorHandlingAgentEscalationConfirmation: "Chcete mluvit s poradcem, je to pravda?", errorHandlingAgentEscalationHandover: "Chvilku po\u010Dkejte a j\xE1 v\xE1s na n\u011Bkoho p\u0159epoj\xEDm.", errorHandlingErrorEventHandover: "Do\u0161lo bohu\u017Eel k chyb\u011B. Chvilku po\u010Dkejte a j\xE1 v\xE1s p\u0159epoj\xEDm na n\u011Bkoho, kdo m\u016F\u017Ee pomoci.", errorHandlingErrorEventHandoverVoiceSurvey: "Je mi l\xEDto, do\u0161lo k chyb\u011B. Na shledanou.", errorHandlingRecognitionEventHandover: "Bohu\u017Eel v\xE1m \u0161patn\u011B rozum\xEDm. Chvilku po\u010Dkejte a j\xE1 v\xE1s p\u0159epoj\xEDm na n\u011Bkoho, kdo m\u016F\u017Ee pomoci.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Je mi l\xEDto, m\xE1m probl\xE9m porozum\u011Bt v\xE1m. Na shledanou.", errorHandlingTTS: "Je n\xE1m l\xEDto, do\u0161lo k chyb\u011B. Zkuste zavolat znovu.", initialGreetingTTS: "V\xEDtejte, toto je \xFAvodn\xED pozdrav.", initialState: "Prvotn\xED stav", initialBotState: "V\xFDchoz\xED bot", initialDigitalBotState: "\xDAvodn\xED pozdrav", initialSurveyBotState: "Bot pr\u016Fzkumu", intentConfirmation: "Mysl\xEDm si, \u017Ee chcete %1$s, je to pravda?", mainMenu: "Hlavn\xED menu", mainMenuTTS: "Nach\xE1z\xEDte se v hlavn\xEDm menu, stiskem tla\u010D\xEDtka 9 se odpoj\xEDte", mainTask: "\xDAloha", settingsConfirmationNoInputApology: "Va\u0161e odpov\u011B\u010F nebyla bohu\u017Eel sly\u0161et. \u0158ekn\u011Bte ano nebo ne.", settingsConfirmationNoInputApologyDigitalBot: 'Je n\xE1m l\xEDto, nep\u0159ijali jsme od v\xE1s \u017E\xE1dn\xE9 zad\xE1n\xED. Zadejte "Ano", nebo "Ne".', settingsConfirmationNoMatchApology: "Omlouv\xE1m se, \u0159ekn\u011Bte ano nebo ne.", settingsConfirmationNoMatchApologyDigitalBot: 'Je n\xE1m l\xEDto, zadejte "Ano", nebo "Ne".', settingsNoInputApology: "Omlouv\xE1m se, va\u0161e odpov\u011B\u010F nebyla sly\u0161et.", settingsNoInputApologyDigitalBot: "Je n\xE1m l\xEDto, nep\u0159ijali jsme od v\xE1s \u017E\xE1dn\xE9 zad\xE1n\xED.", settingsEndOfSessionMessageDigitalBot: "Del\u0161\xED dobu jste se neozvali, proto tento chat uzav\xEDr\xE1m. Pokud budete op\u011Bt pot\u0159ebovat pomoc, vra\u0165te se. D\u011Bkujeme v\xE1m.", settingsNoMatchApology: "Omlouv\xE1m se.", settingsNoToConfirmationApology: "Moje chyba.", periodicStateName: "Opakuj\xEDc\xED se stav" }; - }, 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)), 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() { + throwError(e3) { + throw s.error(e3), e3; } - constructor(e3, t3, i3) { - super(e3.parentFlow, e3), this._serverManager = i3, this._loadModel(t3); + jsonToString(e3) { + if (!o.default.isNullOrUndefined(e3)) return JSON.stringify(e3); } - getDetails() { - return this.actionName ? new d.ActionDetails([m.bridgeServer.action], [this.actionName]) : null; + sizeJson(e3) { + const t3 = this.jsonToString(e3); + return o.default.isString(t3) ? (0, l.utf8EncodedSizeCalc)(t3) : 0; } - getCachedServerPropertyByName(e3, t3) { - return this._serverManager.getCachedServerPropertyByName(e3, this.actionId, t3, this); + findItemWithId(e3, t3) { + return o.default.find(e3, (e4) => t3 === e4.id); } - getServerActionOrCachedAction() { - return this._serverManager.getItem(this.actionId) || this._serverManager.getItemFromFlowMetadata(this, this[this._serverManager.actionPropertyForUsageSearch]); + findActionWithId(e3, t3) { + if (!t3) return; + const i3 = this.findItemWithId(e3, t3); + return i3 || this.throwError(`unable to find action with id '${t3}'`), i3; } - _preDestroy() { - super._preDestroy(), this._serverManager.tryRemoveItemFromFlowMetadata(this, this.actionId); + iterateStartingAction(e3, t3) { + if (!t3) return; + let i3 = this.findActionWithId(e3, t3); + for (; i3; ) this.pushItemWithChildren(a.VisualizationItemClassification.archAction, i3.id, i3.name, i3, () => { + const t4 = []; + i3.paths && t4.push(...i3.paths), i3.path && t4.push(i3.path), o.default.each(t4, (t5) => { + t5.nextActionId && this.iterateStartingAction(e3, t5.nextActionId); + }); + }), i3 = i3.nextAction ? this.findActionWithId(e3, i3.nextAction) : void 0; } - mergeSchemaProperties(e3) { - e3 && (this.allowErrorSchema && e3.errorSchema && this._serverManager.mergeSchemaProperties(e3.errorSchema.properties, this.errorBindings), e3.inputSchema && this._serverManager.mergeSchemaProperties(e3.inputSchema.properties, this.inputs), e3.successSchema && this._serverManager.mergeSchemaProperties(e3.successSchema.properties, this.outputs)); + iterateFlowSequenceItem(e3) { + let t3; + "Task" === e3.__type || "CommonModuleTask" === e3.__type || "LoopTask" === e3.__type ? t3 = a.VisualizationItemClassification.archTask : "Menu" === e3.__type ? t3 = a.VisualizationItemClassification.archMenu : "State" === e3.__type || "BotState" === e3.__type ? t3 = a.VisualizationItemClassification.archState : this.throwError(`unknown type: ${e3.__type}`), this.pushItemWithChildren(t3, e3.id, e3.name, e3, () => { + var t4, i3, n3; + if ((null === (t4 = e3.variables) || void 0 === t4 ? void 0 : t4.length) && this.pushItemWithoutChildren(a.VisualizationItemClassification.data, e3.id + "-data", void 0, e3.variables), null === (i3 = e3.actionList) || void 0 === i3 ? void 0 : i3.length) { + const t5 = e3.startAction; + t5 || this.throwError(`do not have a start action for sequence item '${e3.id}`), this.iterateStartingAction(e3.actionList, t5); + } else (null === (n3 = e3.menuChoiceList) || void 0 === n3 ? void 0 : n3.length) && e3.menuChoiceList.forEach((e4) => { + this.pushItemWithoutChildren(a.VisualizationItemClassification.archAction, e4.id, e4.name, e4); + }); + }); } - 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)), c.validateItem(this, false, true); + iterateFlow(e3, i3, n3, l2) { + return this.pushItemWithChildren(a.VisualizationItemClassification.archFlow, e3, i3, n3, () => { + this.pushItemBucket(t2.KL, r.flowVisualizationModal.containers, () => { + o.default.each(n3.flowSequenceItemList, (e4) => { + this.iterateFlowSequenceItem(e4); + }); + }), this.pushItemBucket(t2.gW, u.sectionCommonModuleFlows, () => { + o.default.each(n3.commonModules, (e4) => { + this.pushItemWithoutChildren(a.VisualizationItemClassification.archCommonModule, e4.id, e4.name, e4); + }); + }), ["nluMetaData", "nluCortexMetaData"].forEach((e4) => { + const t3 = l2.findIndex((t4) => t4.id === e4); + t3 >= 0 && (this.pushItemWithoutChildren(a.VisualizationItemClassification.settings, e4, u.bot.naturalLanguageUnderstanding, n3[l2[t3].modelPropertyName]), l2.splice(t3, 1)); + }), (null == l2 ? void 0 : l2.length) && this.pushItemBucket(t2.tf, u.customNodes.settings, () => { + this.pushItemWithChildren(a.VisualizationItemClassification.settings, t2.e9, u.customNodes.settings, void 0, () => { + l2.forEach((e4) => { + const t3 = n3[e4.modelPropertyName]; + if (t3) { + const i4 = "variables" === e4.id ? a.VisualizationItemClassification.data : a.VisualizationItemClassification.settings; + this.pushItemWithoutChildren(i4, e4.id, void 0, t3); + } else s.error(`did not find entry for ${e4.id}`); + }); + }); + }); + }); } - static get managedProperties() { - return [{ property: "category", isJustForFlowYaml: true, yamlOptions: g.createYamlOptions("category", (e3) => e3.setSkipProperty(true).setExportOrder(50)) }]; + traverseForVisualization(e3, t3) { + e3 && (t3.push(e3), o.default.each(e3.children, (e4) => { + this.traverseForVisualization(e4, t3); + })); } - static createProcessingManagedExpression() { - return { label: m.bridgeServer.processingPrompt, options: s.ExpressionTypePromptOptions.create((e3) => e3.setIninTestingField("processingPrompt").setAsInput(true).setRequireAudio(true).setAllowEmptyConfig(true).setAllowNoValueModeWithNoFallback(true).setIsOptional(true).setNewInstanceDefaultExpressionCallback((e4) => l.systemPromptListManager.promptHasAudioForLanguages(e4.parentFlow, "__processing__").then((t3) => { - t3 ? e4.update("processing", "__processing__") : e4.topic.warning(`Not setting processing prompt because its missing audio for flows language ${e4.parentFlow.languages.supportedLanguages}`); - }).catch((t3) => { - e4.topic.errorPromise(t3, "failed to find __processing__ prompt"); - })).setAllowFlowLevelDefault(true).setScriptingPropertyName("processingPrompt")), property: "processingPrompt", supportedFlowTypes: r2.flowTypes.flowTypesAllVxmlgenAndVoice, type: _.expressionTypeNames.prompt, yamlOptions: g.createYamlOptions("processingPrompt", (e3) => e3.setExportOrder(30)) }; + getFlowVisualizationData() { + const e3 = []; + return this.traverseForVisualization(this._processState.root, e3), e3; } - static get branchInfo() { + getFlowElementVisualizationData(e3) { + const t3 = []; + return this.traverseForVisualization(this._processState.itemIdMap[e3], t3), t3; } - clearSchemaBindings() { - this.outputs && a.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(), this.inputs && a.default.isFunction(this.inputs.destroyChildren) && this.inputs.destroyChildren(), this.errorBindings && a.default.isFunction(this.errorBindings.destroyChildren) && this.errorBindings.destroyChildren(); + }; + }, 8820(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 51818(e2, t2, i2) { + "use strict"; + t2.HY = t2.R2 = void 0, t2.calculateFlowSizePercentage = function(e3, i3) { + const n3 = e3 / i3.definition.maxFlowSize * 100; + return parseFloat(n3.toFixed(t2.R2.decimalPlaces)); + }, t2.getFlowSizeThreshold = function(e3) { + return t2.HY.find((t3) => e3 >= t3.threshold); + }; + i2(31635).__importStar(i2(46920)), i2(57905); + const n2 = i2(47957); + t2.R2 = { decimalPlaces: 1, digitInfo: "1.1-1", minValue: 1, maxValue: (e3) => e3.definition.maxFlowSize }, t2.HY = [{ threshold: 98, type: "error", label: n2.flow.flowSizeWarningVeryHigh }, { threshold: 70, type: "error", label: n2.flow.flowSizeWarningHigh }, { threshold: 30, type: "warning", label: n2.flow.flowSizeWarningMedium }, { threshold: 0, type: "info", label: n2.flow.flowSizeWarningLow }]; + }, 18325(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.published = t2.debug = t2.ver_1_0 = t2.saved = t2.latest = void 0, t2.latest = "latest", t2.saved = "saved", t2.ver_1_0 = "1.0", t2.debug = "debug", t2.published = "published"; + }, 20391(e2, t2, i2) { + "use strict"; + t2.getDisplayInfoForComponent = function(e3) { + var t3, i3; + switch (e3.formComponentType) { + case "ListPicker": { + const r = null === (i3 = null === (t3 = e3.listPicker.sections) || void 0 === t3 ? void 0 : t3[0]) || void 0 === i3 ? void 0 : i3.multipleSelection; + return { id: e3.listPicker.id, displayName: r ? o.form.formActionListPickerMultiSelect : o.form.formActionListPickerSingle, type: r ? n2.globalTypes.stringCollection : n2.globalTypes.string }; + } + case "WheelPicker": + return { id: e3.wheelPicker.id, displayName: o.form.formActionListPickerSingle, type: n2.globalTypes.string }; + case "Input": + return { id: e3.input.id, displayName: o.form.formActionInput, type: n2.globalTypes.string }; + case "DatePicker": + return { id: e3.datePicker.id, displayName: o.form.formActionDatePicker, type: n2.globalTypes.date }; } - get isBaseServerAction() { - return true; + }; + const n2 = i2(14394), o = i2(47957); + }, 63698(e2, t2) { + "use strict"; + t2.createNewGetConfigOperationSettings = function(e3, t3, i2, n2 = false) { + return { isForComparison: e3, isForFlowYaml: t3, isArchitectFormatExport: i2, yamlOptions: { includeTrackingIds: n2 } }; + }; + }, 25021(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.addGlobalSpeechTracking = function(e3, t3) { + o[e3.instanceId] || (o[e3.instanceId] = []), o[e3.instanceId].indexOf(t3) < 0 && o[e3.instanceId].push(t3); + }, t2.removeGlobalSpeechTracking = function(e3, t3) { + if (!o[e3.instanceId]) return; + const i3 = o[e3.instanceId].indexOf(t3); + i3 >= 0 && o[e3.instanceId].splice(i3, 1); + }, t2.getGlobalSpeechForFlow = function(e3) { + return o[e3.instanceId] || []; + }, t2.addGlobalDtmfTracking = function(e3, t3) { + r[e3.instanceId] || (r[e3.instanceId] = []), r[e3.instanceId].indexOf(t3) < 0 && r[e3.instanceId].push(t3); + }, t2.removeGlobalDtmfTracking = function(e3, t3) { + if (!r[e3.instanceId]) return; + const i3 = r[e3.instanceId].indexOf(t3); + i3 >= 0 && r[e3.instanceId].splice(i3, 1); + }, t2.getGlobalDtmfForFlow = function(e3) { + return r[e3.instanceId] || []; + }; + const n2 = i2(31635).__importStar(i2(36781)), o = {}, r = {}; + n2.serviceListen(n2.cleanUpFlow, (e3) => { + delete o[e3.instanceId], delete r[e3.instanceId]; + }); + }, 4738(e2, t2, i2) { + "use strict"; + t2.GroupedBaseService = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299), r = {}; + class a extends o.BaseClass { + _destroyGroup(e3) { + const t3 = this._getGroupByIdentifier(e3); + return !!t3 && delete r[t3]; } - search(e3) { - super.search(e3), e3.checkText(this, this.actionName, this._serverManager.dependencyContext); + static _getObjectInGroupIdentifier(e3) { + if (e3) return e3.id; } - get serverManager() { - return this._serverManager; + _performRegisterUnregisterObjectInGroup(e3, t3) { + if (!t3 || !n2.default.isBoolean(e3)) return false; + const i3 = this._getGroupByObjectFromObjectInGroup(t3); + if (!i3) return false; + const o2 = this._getGroupByIdentifier(i3); + if (!o2) return false; + let s = r[o2]; + if (!e3 && !s) return false; + const l = a._getObjectInGroupIdentifier(t3); + return !!l && (s || (s = r[o2] = {}), e3 ? s[l] = t3 : delete s[l], true); } - updateDependencies() { - this.actionName && this.actionId && this._serverManager.registerConsumer(this, this.actionName, this.actionId), super.updateDependencies(); + getObjectsInGroup(e3, t3, i3) { + const o2 = this._getGroupByIdentifier(e3); + if (!o2) throw "Unable to get a grouping id from the grouping object"; + const a2 = r[o2]; + if (!a2) return; + if (!i3) return t3 ? n2.default.values(e3) : a2; + const s = t3 ? [] : {}; + return n2.default.each(a2, function(e4, n3) { + i3(e4, n3) && (t3 ? s.push(e4) : s[n3] = e4); + }.bind(this)), s; } - _initializeDesignTime() { - const e3 = this.getServerActionOrCachedAction(); - this.mergeSchemaProperties(e3), super._initializeDesignTime(), !this.allowErrorSchema && this.errorBindings && (this.errorBindings.outOfService = true); + processGroupedObject(e3) { + return !!e3 && this._performRegisterUnregisterObjectInGroup(this._getShouldRegisterObjectInGroup(e3), e3); } - commonServerActionPostProcessYamlConfig(e3, t3, i3) { - const n3 = this.getServerActionOrCachedAction(); - if ((null == n3 ? void 0 : n3.category) && (null == n3 ? void 0 : n3.name)) { - e3.category = {}, e3.category[n3.category] = {}, e3.category[n3.category][this.yamlActionSectionName] = {}; - const t4 = e3.category[n3.category][this.yamlActionSectionName][n3.name] = {}; - a.default.moveAndDeleteProperty(e3, t4, "inputs"), a.default.moveAndDeleteProperty(e3, t4, "successOutputs"), a.default.moveAndDeleteProperty(e3, t4, "failureOutputs"), Object.keys(t4).length || a.default.ensureYamlNoneTrue(t4); - } else delete e3.inputs, delete e3.successOutputs, delete e3.failureOutputs; + registerGroupedObject(e3) { + return this._performRegisterUnregisterObjectInGroup(true, e3); } - validate(e3) { - var t3, i3, n3; - if (super.validate(e3), this._serverManager.insufficientAuthorizations) return void e3.addError(this, h.externalAuthorizations.getAuthValidationWarning(this._serverManager.requiredAuth)); - const r3 = this.getServerActionOrCachedAction(); - r3 && ("schemas.not.available" === r3.result ? e3.addError(this, m.inputOutputList.unableToRetrieveSchema) : r3.schemaInError && (r3.inputSchemaInError && e3.addError(this, (0, o.sprintf)(m.inputOutputList.schemaError, m.inputOutputList.inputs)), r3.successOutputSchemaInError && e3.addError(this, (0, o.sprintf)(m.inputOutputList.schemaError, m.inputOutputList.successOutputs)), r3.failureOutputSchemaInError && this.allowErrorSchema && e3.addError(this, (0, o.sprintf)(m.inputOutputList.schemaError, m.inputOutputList.failureOutputs)))), e3.isDeep && this.mergeSchemaProperties(r3), ((null === (t3 = null == r3 ? void 0 : r3.inputSchema) || void 0 === t3 ? void 0 : t3.hasArrayPropertyWithNoType) || (null === (i3 = null == r3 ? void 0 : r3.errorSchema) || void 0 === i3 ? void 0 : i3.hasArrayPropertyWithNoType) || (null === (n3 = null == r3 ? void 0 : r3.successSchema) || void 0 === n3 ? void 0 : n3.hasArrayPropertyWithNoType)) && e3.addWarning(this, (0, o.sprintf)(m.inputOutputList.arrayWithNoType, r3.name)), (null == r3 ? void 0 : r3.inputSchemaMixedTypeWarning) && e3.addWarning(this, (0, o.sprintf)(m.inputOutputList.arrayWithMixedTypes, m.inputOutputList.inputs, r3.name)), (null == r3 ? void 0 : r3.successOutputSchemaMixedTypeWarning) && e3.addWarning(this, (0, o.sprintf)(m.inputOutputList.arrayWithMixedTypes, m.inputOutputList.successOutputs, r3.name)), (null == r3 ? void 0 : r3.failureOutputSchemaMixedTypeWarning) && e3.addWarning(this, (0, o.sprintf)(m.inputOutputList.arrayWithMixedTypes, m.inputOutputList.failureOutputs, r3.name)); + unregisterGroupedObject(e3) { + return this._performRegisterUnregisterObjectInGroup(false, e3); } } - g.className = "BaseServerAction", t2.default = g; - }, 61132: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { - t3 || (t3 = e3); - const i3 = new s(); - i3.variables = [], i3.defaultLanguage = e3, i3.errorHandling = new n2.default(), i3.flowMetaData = new o({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", features: [] }), i3.flowSequenceItemList = []; - const l = new a(); - return l.name = r2(t3).initialState, l.variables = [], l.actionList = [], i3.flowSequenceItemList = [l], i3.initialSequence = l.id, i3; - }; - const n2 = i2(31635).__importDefault(i2(37752)), r2 = i2(21733), o = i2(89266), a = i2(69674), s = i2(49804); - }, 61144: (e2, t2, i2) => { + t2.GroupedBaseService = a; + }, 84250(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomerSegmentViewModel = void 0; - const n2 = i2(74483); - class r2 extends n2.NameIdConfigurationListViewModel { - constructor(e3) { - super(e3); + t2.groupedFlowSecureService = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(62613); + class r extends o.GroupedFlowService { + constructor() { + super(); } get className() { - return "CustomerSegmentViewModel"; + return "GroupedFlowSecureService"; } - get label() { - return this._model.name; + _getShouldRegisterObjectInGroup(e3) { + if (n2.default.isBoolean(e3.consumesSecureData)) return e3.consumesSecureData; } } - t2.CustomerSegmentViewModel = r2; - }, 61154: (e2, t2, i2) => { - let n2, r2, o = i2(76982), { urlAlphabet: a } = i2(97362), s = (e3) => { - if (e3 < 0 || e3 > 1024) throw new RangeError("Wrong ID size"); - !n2 || n2.length < e3 ? (n2 = Buffer.allocUnsafe(128 * e3), o.randomFillSync(n2), r2 = 0) : r2 + e3 > n2.length && (o.randomFillSync(n2), r2 = 0), r2 += e3; - }, 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; - for (; s2--; ) if (a2 += e3[t4[s2] & n3] || "", a2.length === o2) return a2; - } - }; - }; - e2.exports = { nanoid: (e3 = 21) => { - s(e3 |= 0); - let t3 = ""; - for (let i3 = r2 - e3; i3 < r2; i3++) t3 += a[63 & n2[i3]]; - return t3; - }, customAlphabet: (e3, t3 = 21) => u(e3, t3, l), customRandom: u, urlAlphabet: a, random: l }; - }, 61192: (e2, t2, i2) => { - const { NameIdDescriptionModel: n2 } = i2(84050), { NameIdDescriptionModelList: r2 } = i2(71535), o = i2(36019).default; - class a { - } - const s = new a(); - a.prototype.getMilestones = o.request("GET", "{public-api.apps}/api/v2/flows/milestones", r2), a.prototype.getMilestone = o.request("GET", "{public-api.apps}/api/v2/flows/milestones/{id}", n2), a.prototype.getMilestonesDivisionView = o.request("GET", "{public-api.apps}/api/v2/flows/milestones/divisionviews", r2), a.prototype.getMilestoneDivisionView = o.request("GET", "{public-api.apps}/api/v2/flows/milestones/divisionviews?id={id}", r2), a.prototype.getOutcomes = o.request("GET", "{public-api.apps}/api/v2/flows/outcomes", r2), a.prototype.getOutcome = o.request("GET", "{public-api.apps}/api/v2/flows/outcomes/{id}", n2), a.prototype.getOutcomesDivisionView = o.request("GET", "{public-api.apps}/api/v2/flows/outcomes/divisionviews", r2), a.prototype.getOutcomeDivisionView = o.request("GET", "{public-api.apps}/api/v2/flows/outcomes/divisionviews?id={id}", r2); - const l = { ignoreBadResponse: true }; - s.getOutcome.addOptions(l), s.getOutcomeDivisionView.addOptions(l), s.getOutcomes.addOptions(l), s.getOutcomesDivisionView.addOptions(l), s.getMilestone.addOptions(l), s.getMilestoneDivisionView.addOptions(l), s.getMilestones.addOptions(l), s.getMilestonesDivisionView.addOptions(l), e2.exports = s; - }, 61203: (e2, t2, i2) => { + t2.groupedFlowSecureService = new r(); + }, 62613(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.transferFlowActionType; - } - get displayTypeName() { - return "ArchMenuTransferToFlow"; + t2.GroupedFlowService = void 0; + const n2 = i2(31635).__importStar(i2(36781)), o = i2(4738); + class r extends o.GroupedBaseService { + constructor() { + super(); + const e3 = (e4) => { + this._destroyGroup(e4); + }; + n2.serviceListen(n2.cleanUpFlow, e3), n2.serviceListen(n2.flowLoadFailed, e3); } - get actionTransferToFlow() { - return this._archAction; + _getGroupByIdentifier(e3) { + if (e3 && e3.isFlowViewModel) return e3.id; } - get isArchMenuTransferToFlow() { - return true; + _getGroupByObjectFromObjectInGroup(e3) { + return e3.parentFlow; } } - t2.default = a; - }, 61272: (e2, t2, i2) => { + t2.GroupedFlowService = r; + }, 61864(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "emptyJsonCollection"; - } - get displayTypeName() { - return "ArchValueEmptyJsonCollection"; - } - get isArchValueEmptyJsonCollection() { - return true; - } - } - t2.default = r2; - }, 61279: (e2, t2, i2) => { + 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", skills: "skills", 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" }; + }, 85705(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.elementAt = void 0; - var n2 = i2(7024), r2 = i2(85934), o = i2(30632), a = i2(58799), s = i2(54383); - t2.elementAt = function(e3, t3) { - if (e3 < 0) throw new n2.ArgumentOutOfRangeError(); - var i3 = arguments.length >= 2; - return function(l) { - return l.pipe(r2.filter(function(t4, i4) { - return i4 === e3; - }), s.take(1), i3 ? a.defaultIfEmpty(t3) : o.throwIfEmpty(function() { - return new n2.ArgumentOutOfRangeError(); - })); - }; + Object.defineProperty(t2, "__esModule", { value: true }), t2.countryCodes = t2.dialingCodes = t2.countryMap = void 0, t2.getCountryCodeAllowableValues = function() { + return void 0 === o && (o = [], Object.entries(t2.countryMap).forEach(([e3, t3]) => { + o.push({ id: e3, displayString: t3.name }); + })), o; }; - }, 61289: (e2, t2, i2) => { + const n2 = i2(95142); + let o; + t2.countryMap = { AF: { dialingCode: "93", name: n2.AF }, AX: { dialingCode: "358", name: n2.AX }, AL: { dialingCode: "355", name: n2.AL }, DZ: { dialingCode: "213", name: n2.DZ }, AS: { dialingCode: "1", name: n2.AS }, AD: { dialingCode: "376", name: n2.AD }, AO: { dialingCode: "244", name: n2.AO }, AI: { dialingCode: "1", name: n2.AI }, AQ: { dialingCode: "672", name: n2.AQ }, AG: { dialingCode: "1", name: n2.AG }, AR: { dialingCode: "54", name: n2.AR }, AM: { dialingCode: "374", name: n2.AM }, AW: { dialingCode: "297", name: n2.AW }, AU: { dialingCode: "61", name: n2.AU }, AT: { dialingCode: "43", name: n2.AT }, AZ: { dialingCode: "994", name: n2.AZ }, BS: { dialingCode: "1", name: n2.BS }, BH: { dialingCode: "973", name: n2.BH }, BD: { dialingCode: "880", name: n2.BD }, BB: { dialingCode: "1", name: n2.BB }, BY: { dialingCode: "375", name: n2.BY }, BE: { dialingCode: "32", name: n2.BE }, BZ: { dialingCode: "501", name: n2.BZ }, BQ: { dialingCode: "599", name: n2.BQ }, BJ: { dialingCode: "229", name: n2.BJ }, BM: { dialingCode: "1", name: n2.BM }, BT: { dialingCode: "975", name: n2.BT }, BO: { dialingCode: "591", name: n2.BO }, BA: { dialingCode: "387", name: n2.BA }, BW: { dialingCode: "267", name: n2.BW }, BR: { dialingCode: "55", name: n2.BR }, BV: { dialingCode: "47", name: n2.BV }, IO: { dialingCode: "246", name: n2.IO }, BN: { dialingCode: "673", name: n2.BN }, BG: { dialingCode: "359", name: n2.BG }, BF: { dialingCode: "226", name: n2.BF }, BI: { dialingCode: "257", name: n2.BI }, KH: { dialingCode: "855", name: n2.KH }, CM: { dialingCode: "237", name: n2.CM }, CA: { dialingCode: "1", name: n2.CA }, CV: { dialingCode: "238", name: n2.CV }, CW: { dialingCode: "599", name: n2.CW }, KY: { dialingCode: "1", name: n2.KY }, CF: { dialingCode: "236", name: n2.CF }, TD: { dialingCode: "235", name: n2.TD }, TF: { dialingCode: "262", name: n2.TF }, CL: { dialingCode: "56", name: n2.CL }, CN: { dialingCode: "86", name: n2.CN }, CX: { dialingCode: "61", name: n2.CX }, CC: { dialingCode: "61", name: n2.CC }, CO: { dialingCode: "57", name: n2.CO }, KM: { dialingCode: "269", name: n2.KM }, CG: { dialingCode: "242", name: n2.CG }, CD: { dialingCode: "243", name: n2.CD }, CK: { dialingCode: "682", name: n2.CK }, CR: { dialingCode: "506", name: n2.CR }, CI: { dialingCode: "225", name: n2.CI }, HR: { dialingCode: "385", name: n2.HR }, CU: { dialingCode: "53", name: n2.CU }, CY: { dialingCode: "357", name: n2.CY }, CZ: { dialingCode: "420", name: n2.CZ }, DK: { dialingCode: "45", name: n2.DK }, DJ: { dialingCode: "253", name: n2.DJ }, DM: { dialingCode: "1", name: n2.DM }, DO: { dialingCode: "1", name: n2.DO }, EC: { dialingCode: "593", name: n2.EC }, EG: { dialingCode: "20", name: n2.EG }, SV: { dialingCode: "503", name: n2.SV }, SX: { dialingCode: "1", name: n2.SX }, GQ: { dialingCode: "240", name: n2.GQ }, ER: { dialingCode: "291", name: n2.ER }, EE: { dialingCode: "372", name: n2.EE }, ET: { dialingCode: "251", name: n2.ET }, EH: { dialingCode: "212", name: n2.EH }, FK: { dialingCode: "500", name: n2.FK }, FO: { dialingCode: "298", name: n2.FO }, FJ: { dialingCode: "679", name: n2.FJ }, FI: { dialingCode: "358", name: n2.FI }, FR: { dialingCode: "33", name: n2.FR }, GF: { dialingCode: "594", name: n2.GF }, PF: { dialingCode: "689", name: n2.PF }, GA: { dialingCode: "241", name: n2.GA }, GM: { dialingCode: "220", name: n2.GM }, GE: { dialingCode: "995", name: n2.GE }, DE: { dialingCode: "49", name: n2.DE }, GH: { dialingCode: "233", name: n2.GH }, GI: { dialingCode: "350", name: n2.GI }, GR: { dialingCode: "30", name: n2.GR }, GL: { dialingCode: "299", name: n2.GL }, GD: { dialingCode: "1", name: n2.GD }, GP: { dialingCode: "590", name: n2.GP }, GU: { dialingCode: "1", name: n2.GU }, GT: { dialingCode: "502", name: n2.GT }, GG: { dialingCode: "44", name: n2.GG }, GN: { dialingCode: "224", name: n2.GN }, GW: { dialingCode: "245", name: n2.GW }, GY: { dialingCode: "595", name: n2.GY }, HT: { dialingCode: "509", name: n2.HT }, VA: { dialingCode: "379", name: n2.VA }, HN: { dialingCode: "504", name: n2.HN }, HK: { dialingCode: "852", name: n2.HK }, HM: { dialingCode: "672", name: n2.HM }, HU: { dialingCode: "36", name: n2.HU }, IS: { dialingCode: "354", name: n2.IS }, IN: { dialingCode: "91", name: n2.IN }, ID: { dialingCode: "62", name: n2.ID }, IR: { dialingCode: "98", name: n2.IR }, IQ: { dialingCode: "964", name: n2.IQ }, IE: { dialingCode: "353", name: n2.IE }, IM: { dialingCode: "44", name: n2.IM }, IL: { dialingCode: "972", name: n2.IL }, IT: { dialingCode: "39", name: n2.IT }, JM: { dialingCode: "1", name: n2.JM }, JP: { dialingCode: "81", name: n2.JP }, JE: { dialingCode: "44", name: n2.JE }, JO: { dialingCode: "962", name: n2.JO }, KZ: { dialingCode: "7", name: n2.KZ }, KE: { dialingCode: "254", name: n2.KE }, KI: { dialingCode: "686", name: n2.KI }, KP: { dialingCode: "850", name: n2.KP }, KR: { dialingCode: "82", name: n2.KR }, XK: { dialingCode: "383", name: n2.XK }, KW: { dialingCode: "965", name: n2.KW }, KG: { dialingCode: "996", name: n2.KG }, LA: { dialingCode: "856", name: n2.LA }, LV: { dialingCode: "371", name: n2.LV }, LB: { dialingCode: "961", name: n2.LB }, LS: { dialingCode: "266", name: n2.LS }, LR: { dialingCode: "231", name: n2.LR }, LY: { dialingCode: "218", name: n2.LY }, LI: { dialingCode: "423", name: n2.LI }, LT: { dialingCode: "370", name: n2.LT }, LU: { dialingCode: "352", name: n2.LU }, MO: { dialingCode: "853", name: n2.MO }, MK: { dialingCode: "389", name: n2.MK }, MG: { dialingCode: "261", name: n2.MG }, MW: { dialingCode: "265", name: n2.MW }, MY: { dialingCode: "60", name: n2.MY }, MV: { dialingCode: "960", name: n2.MV }, ML: { dialingCode: "223", name: n2.ML }, MT: { dialingCode: "356", name: n2.MT }, MH: { dialingCode: "692", name: n2.MH }, MQ: { dialingCode: "596", name: n2.MQ }, MR: { dialingCode: "222", name: n2.MR }, MU: { dialingCode: "230", name: n2.MU }, YT: { dialingCode: "262", name: n2.YT }, MX: { dialingCode: "52", name: n2.MX }, FM: { dialingCode: "691", name: n2.FM }, MD: { dialingCode: "373", name: n2.MD }, MC: { dialingCode: "377", name: n2.MC }, MN: { dialingCode: "976", name: n2.MN }, ME: { dialingCode: "382", name: n2.ME }, MS: { dialingCode: "1", name: n2.MS }, MA: { dialingCode: "212", name: n2.MA }, MZ: { dialingCode: "258", name: n2.MZ }, MM: { dialingCode: "95", name: n2.MM }, NA: { dialingCode: "264", name: n2.NA }, NR: { dialingCode: "674", name: n2.NR }, NP: { dialingCode: "977", name: n2.NP }, NL: { dialingCode: "31", name: n2.NL }, AN: { dialingCode: "599", name: n2.AN }, NC: { dialingCode: "687", name: n2.NC }, NZ: { dialingCode: "64", name: n2.NZ }, NI: { dialingCode: "505", name: n2.NI }, NE: { dialingCode: "227", name: n2.NE }, NG: { dialingCode: "234", name: n2.NG }, NU: { dialingCode: "683", name: n2.NU }, NF: { dialingCode: "672", name: n2.NF }, MP: { dialingCode: "1", name: n2.MP }, NO: { dialingCode: "47", name: n2.NO }, OM: { dialingCode: "968", name: n2.OM }, PK: { dialingCode: "92", name: n2.PK }, PW: { dialingCode: "680", name: n2.PW }, PS: { dialingCode: "970", name: n2.PS }, PA: { dialingCode: "507", name: n2.PA }, PG: { dialingCode: "675", name: n2.PG }, PY: { dialingCode: "595", name: n2.PY }, PE: { dialingCode: "51", name: n2.PE }, PH: { dialingCode: "63", name: n2.PH }, PN: { dialingCode: "872", name: n2.PN }, PL: { dialingCode: "48", name: n2.PL }, PT: { dialingCode: "351", name: n2.PT }, PR: { dialingCode: "1", name: n2.PR }, QA: { dialingCode: "974", name: n2.QA }, RO: { dialingCode: "40", name: n2.RO }, RU: { dialingCode: "7", name: n2.RU }, RW: { dialingCode: "250", name: n2.RW }, RE: { dialingCode: "262", name: n2.RE }, BL: { dialingCode: "590", name: n2.BL }, SH: { dialingCode: "290", name: n2.SH }, KN: { dialingCode: "1", name: n2.KN }, LC: { dialingCode: "1", name: n2.LC }, MF: { dialingCode: "590", name: n2.MF }, PM: { dialingCode: "508", name: n2.PM }, VC: { dialingCode: "1", name: n2.VC }, WS: { dialingCode: "685", name: n2.WS }, SM: { dialingCode: "378", name: n2.SM }, ST: { dialingCode: "239", name: n2.ST }, SA: { dialingCode: "966", name: n2.SA }, SN: { dialingCode: "221", name: n2.SN }, RS: { dialingCode: "381", name: n2.RS }, SC: { dialingCode: "248", name: n2.SC }, SL: { dialingCode: "232", name: n2.SL }, SG: { dialingCode: "65", name: n2.SG }, SK: { dialingCode: "421", name: n2.SK }, SI: { dialingCode: "386", name: n2.SI }, SB: { dialingCode: "677", name: n2.SB }, SO: { dialingCode: "252", name: n2.SO }, ZA: { dialingCode: "27", name: n2.ZA }, GS: { dialingCode: "500", name: n2.GS }, ES: { dialingCode: "34", name: n2.ES }, LK: { dialingCode: "94", name: n2.LK }, SD: { dialingCode: "249", name: n2.SD }, SR: { dialingCode: "597", name: n2.SR }, SS: { dialingCode: "211", name: n2.SS }, SJ: { dialingCode: "47", name: n2.SJ }, SZ: { dialingCode: "268", name: n2.SZ }, SE: { dialingCode: "46", name: n2.SE }, CH: { dialingCode: "41", name: n2.CH }, SY: { dialingCode: "963", name: n2.SY }, TW: { dialingCode: "886", name: n2.TW }, TJ: { dialingCode: "992", name: n2.TJ }, TZ: { dialingCode: "255", name: n2.TZ }, TH: { dialingCode: "66", name: n2.TH }, TL: { dialingCode: "670", name: n2.TL }, TG: { dialingCode: "228", name: n2.TG }, TK: { dialingCode: "690", name: n2.TK }, TO: { dialingCode: "676", name: n2.TO }, TT: { dialingCode: "1", name: n2.TT }, TN: { dialingCode: "216", name: n2.TN }, TR: { dialingCode: "90", name: n2.TR }, TM: { dialingCode: "993", name: n2.TM }, TC: { dialingCode: "1", name: n2.TC }, TV: { dialingCode: "688", name: n2.TV }, UG: { dialingCode: "256", name: n2.UG }, UM: { dialingCode: "1", name: n2.UM }, UA: { dialingCode: "380", name: n2.UA }, AE: { dialingCode: "971", name: n2.AE }, GB: { dialingCode: "44", name: n2.GB }, US: { dialingCode: "1", name: n2.US }, UY: { dialingCode: "598", name: n2.UY }, UZ: { dialingCode: "998", name: n2.UZ }, VU: { dialingCode: "678", name: n2.VU }, VE: { dialingCode: "58", name: n2.VE }, VN: { dialingCode: "84", name: n2.VN }, VG: { dialingCode: "1", name: n2.VG }, VI: { dialingCode: "1", name: n2.VI }, WF: { dialingCode: "681", name: n2.WF }, YE: { dialingCode: "967", name: n2.YE }, ZM: { dialingCode: "260", name: n2.ZM }, ZW: { dialingCode: "263", name: n2.ZW } }, t2.dialingCodes = {}, Object.values(t2.countryMap).forEach((e3) => { + t2.dialingCodes[e3.dialingCode] = e3.dialingCode; + }), t2.countryCodes = {}, Object.keys(t2.countryMap).forEach((e3) => { + t2.countryCodes[e3] = e3; + }); + }, 73883(e2, t2) { "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), 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); + t2.reportedStateConstants = t2.integrationTypeConstants = void 0, t2.integrationTypeConstants = { genesysBotConnector: "genesys-byob", genesysDigitalBotConnector: "genesys-digital-bot-connector", nuanceMixBot: "nuance-mix-bot" }, t2.reportedStateConstants = { active: "ACTIVE" }; + }, 33230(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.switchToNewIntentPaths = function(e3, t3, i3) { + let n3; + for (let o3 = 0; o3 < t3.length; o3++) { + const a2 = t3[o3]; + n3 = e3.getBranch(a2.outputId) || e3.getBranchByLabel(a2.localizedLabel || a2.label, true), n3 ? (n3.model.localizedLabel = a2.localizedLabel, n3.outOfService || n3.enableFull()) : (n3 = e3.addOptionalBranchInfo(a2), r.default.isFunction(i3) && i3(n3)); } - _loadModel(e3) { - super._loadModel(e3), this.setOutOfService(); + const o2 = r.default.reject(e3.branchInfoList, (e4) => !e4.isDynamicBranch), a = r.default.filter(o2, (e4) => e4.localizedLabel ? !r.default.findWhere(t3, { localizedLabel: e4.localizedLabel }) : !r.default.findWhere(t3, { label: e4.label })); + for (let t4 = 0; t4 < a.length; t4++) { + const i4 = a[t4].localizedLabel || a[t4].label; + n3 = e3.getBranchByLabel(i4, a[t4].isDynamicBranch), n3 && n3.hasChildren ? n3.isUnreachable = true : e3.removeOptionalBranchInfoByLabel(i4); } - getDetails() { - const e3 = [], t3 = []; - 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(y.holdMusic.durationLabel), t3.push(i3); + e3.sortBranches(); + }, t2.translateIntentsToBranchItems = function(e3, t3) { + const i3 = []; + return r.default.each(t3, (t4) => { + const n3 = o.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) { + const i3 = []; + for (const n3 of t3) { + if (!n3) continue; + const t4 = n3.id, r2 = o.createBranchItem(e3.id, n3.name, null, false, t4); + r2.isDynamicBranch = true, r2.categoryId = void 0, r2.isCategory = true, i3.push(r2); + for (const r3 of n3.intents || []) { + if (!r3) continue; + const n4 = r3.id, a = o.createBranchItem(e3.id, r3.name, null, false, n4); + a.isDynamicBranch = true, a.categoryId = t4, i3.push(a); } - return new h.ActionDetails(e3, t3); - } - _initializeDesignTime() { - 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: 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; + return i3; + }, t2.switchToNewAgenticIntentPaths = function(e3, t3) { + let i3; + const n3 = (function(e4, t4) { + const i4 = [], n4 = /* @__PURE__ */ new Map(); + for (const e5 of t4) { + const t5 = e5.categoryId; + t5 && (n4.has(t5) || n4.set(t5, e5.outputId)); + } + for (const [t5, o3] of n4) { + const n5 = e4.getBranch(t5); + n5 && n5.hasChildren && (r.default.some(e4.branches, (e5) => e5.categoryId === t5) || i4.push({ categoryOutputId: t5, firstIntentOutputId: o3 })); + } + return i4; + })(e3, t3); + for (let n4 = 0; n4 < t3.length; n4++) { + const o3 = t3[n4]; + i3 = e3.getBranch(o3.outputId), i3 ? (i3.model.isCategory = o3.isCategory, i3.model.categoryId = o3.categoryId, i3.outOfService || i3.enableFull()) : e3.addOptionalBranchInfo(o3); } - set playForDuration(e3) { - this.model.playForDuration = e3, this.setOutOfService(); + !(function(e4, t4) { + for (const { categoryOutputId: i4, firstIntentOutputId: n4 } of t4) { + const t5 = e4.getBranch(i4), o3 = e4.getBranch(n4); + if (!t5 || !o3) continue; + const r2 = t5.getMainPathActions(); + if (!r2.length) continue; + let a2 = o3.lastAction; + for (const e5 of r2) o3.moveAction(e5, a2), a2 = e5; + } + })(e3, n3); + const o2 = r.default.reject(e3.branchInfoList, (e4) => !e4.isDynamicBranch), a = r.default.filter(o2, (e4) => !r.default.findWhere(t3, { outputId: e4.outputId })); + for (let t4 = 0; t4 < a.length; t4++) { + const n4 = a[t4].outputId; + i3 = e3.getBranch(n4), i3 && i3.hasChildren ? i3.isUnreachable = true : e3.removeOptionalBranchInfoById(n4); } - postProcessYamlConfig(e3, t3, i3) { - e3.playStyle = {}, this.playForDuration ? r2.default.moveAndDeleteProperty(e3, e3.playStyle, "duration") : (e3.playStyle.entirePrompt = true, delete e3.duration); + e3.sortBranches(); + }; + const n2 = i2(31635), o = n2.__importStar(i2(59288)), r = n2.__importDefault(i2(92140)); + }, 24812(e2, t2, i2) { + "use strict"; + t2.isoLanguages = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(74359), a = i2(74359), s = n2.__importDefault(i2(88802)), l = i2(12268), u = n2.__importStar(i2(24032)).getTopic("runtimeLanguageFeatures"); + t2.isoLanguages = new class { + constructor() { + this.viewModels = /* @__PURE__ */ new Map(), a.bootstrapDataLoaded.then((e3) => (0, r.autoResolveBootstrapLanguageDataLoadedPromise)(() => { + const t3 = {}; + return o.default.each(e3.languages, (e4) => { + if (null == e4 ? void 0 : e4.id) { + const i3 = e4.id.toLowerCase(), n3 = this.viewModels[i3]; + t3[i3] ? u.error("Unexpected duplicate runtime language setting for: {}", i3) : n3 && (n3.addServerData(e4), t3[i3] = n3); + } + }), t3; + })); + for (const e3 in l.languageData) l.languageData.hasOwnProperty(e3) && (this.viewModels[e3.toLocaleLowerCase()] = new s.default(l.languageData[e3])); } - } - 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) => { + }().viewModels; + }, 12268(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundShortMessageListManager = t2.InboundShortMessageListManager = void 0; - const n2 = i2(96618), r2 = i2(24032), o = i2(6109), a = i2(27862); - class s extends o.FlowListManager { - get dependencyType() { - return a.InboundShortMessageFlow; + t2.languageData = void 0; + const n2 = i2(31635).__importDefault(i2(77838)); + t2.languageData = { af: { id: "af", text: n2.default.af }, "af-na": { id: "af-NA", text: n2.default.af_na }, "af-za": { id: "af-ZA", text: n2.default.af_za }, agq: { id: "agq", text: n2.default.agq }, "agq-cm": { id: "agq-CM", text: n2.default.agq_cm }, ak: { id: "ak", text: n2.default.ak }, "ak-gh": { id: "ak-GH", text: n2.default.ak_gh }, am: { id: "am", text: n2.default.am }, "am-et": { id: "am-ET", text: n2.default.am_et }, ar: { id: "ar", text: n2.default.ar }, "ar-001": { id: "ar-001", text: n2.default.ar_001 }, "ar-ae": { id: "ar-AE", text: n2.default.ar_ae }, "ar-bh": { id: "ar-BH", text: n2.default.ar_bh }, "ar-dj": { id: "ar-DJ", text: n2.default.ar_dj }, "ar-dz": { id: "ar-DZ", text: n2.default.ar_dz }, "ar-eg": { id: "ar-EG", text: n2.default.ar_eg }, "ar-eh": { id: "ar-EH", text: n2.default.ar_eh }, "ar-er": { id: "ar-ER", text: n2.default.ar_er }, "ar-il": { id: "ar-IL", text: n2.default.ar_il }, "ar-iq": { id: "ar-IQ", text: n2.default.ar_iq }, "ar-jo": { id: "ar-JO", text: n2.default.ar_jo }, "ar-km": { id: "ar-KM", text: n2.default.ar_km }, "ar-kw": { id: "ar-KW", text: n2.default.ar_kw }, "ar-lb": { id: "ar-LB", text: n2.default.ar_lb }, "ar-ly": { id: "ar-LY", text: n2.default.ar_ly }, "ar-ma": { id: "ar-MA", text: n2.default.ar_ma }, "ar-mr": { id: "ar-MR", text: n2.default.ar_mr }, "ar-om": { id: "ar-OM", text: n2.default.ar_om }, "ar-ps": { id: "ar-PS", text: n2.default.ar_ps }, "ar-qa": { id: "ar-QA", text: n2.default.ar_qa }, "ar-sa": { id: "ar-SA", text: n2.default.ar_sa }, "ar-sd": { id: "ar-SD", text: n2.default.ar_sd }, "ar-so": { id: "ar-SO", text: n2.default.ar_so }, "ar-sy": { id: "ar-SY", text: n2.default.ar_sy }, "ar-td": { id: "ar-TD", text: n2.default.ar_td }, "ar-tn": { id: "ar-TN", text: n2.default.ar_tn }, "ar-ye": { id: "ar-YE", text: n2.default.ar_ye }, "arn-cl": { id: "arn-CL", text: n2.default.arn_cl }, as: { id: "as", text: n2.default.as }, "as-in": { id: "as-IN", text: n2.default.as_in }, asa: { id: "asa", text: n2.default.asa }, "asa-tz": { id: "asa-TZ", text: n2.default.asa_tz }, az: { id: "az", text: n2.default.az }, "az-cyrl": { id: "az-Cyrl", text: n2.default.az_cyrl }, "az-cyrl-az": { id: "az-Cyrl-AZ", text: n2.default.az_cyrl_az }, "az-latn": { id: "az-Latn", text: n2.default.az_latn }, "az-latn-az": { id: "az-Latn-AZ", text: n2.default.az_latn_az }, "ba-ru": { id: "ba-RU", text: n2.default.ba_ru }, bas: { id: "bas", text: n2.default.bas }, "bas-cm": { id: "bas-CM", text: n2.default.bas_cm }, be: { id: "be", text: n2.default.be }, "be-by": { id: "be-BY", text: n2.default.be_by }, bem: { id: "bem", text: n2.default.bem }, "bem-zm": { id: "bem-ZM", text: n2.default.bem_zm }, bez: { id: "bez", text: n2.default.bez }, "bez-tz": { id: "bez-TZ", text: n2.default.bez_tz }, bg: { id: "bg", text: n2.default.bg }, "bg-bg": { id: "bg-BG", text: n2.default.bg_bg }, bm: { id: "bm", text: n2.default.bm }, "bm-ml": { id: "bm-ML", text: n2.default.bm_ml }, bn: { id: "bn", text: n2.default.bn }, "bn-bd": { id: "bn-BD", text: n2.default.bn_bd }, "bn-in": { id: "bn-IN", text: n2.default.bn_in }, bo: { id: "bo", text: n2.default.bo }, "bo-cn": { id: "bo-CN", text: n2.default.bo_cn }, "bo-in": { id: "bo-IN", text: n2.default.bo_in }, br: { id: "br", text: n2.default.br }, "br-fr": { id: "br-FR", text: n2.default.br_fr }, bs: { id: "bs", text: n2.default.bs }, "bs-cyrl": { id: "bs-Cyrl", text: n2.default.bs_cyrl }, "bs-cyrl-ba": { id: "bs-Cyrl-BA", text: n2.default.bs_cyrl_ba }, "bs-latn": { id: "bs-Latn", text: n2.default.bs_latn }, "bs-latn-ba": { id: "bs-Latn-BA", text: n2.default.bs_latn_ba }, ca: { id: "ca", text: n2.default.ca }, "ca-ad": { id: "ca-AD", text: n2.default.ca_ad }, "ca-es": { id: "ca-ES", text: n2.default.ca_es }, cgg: { id: "cgg", text: n2.default.cgg }, "cgg-ug": { id: "cgg-UG", text: n2.default.cgg_ug }, chr: { id: "chr", text: n2.default.chr }, "chr-us": { id: "chr-US", text: n2.default.chr_us }, "co-fr": { id: "co-FR", text: n2.default.co_fr }, cs: { id: "cs", text: n2.default.cs }, "cs-cz": { id: "cs-CZ", text: n2.default.cs_cz }, cy: { id: "cy", text: n2.default.cy }, "cy-gb": { id: "cy-GB", text: n2.default.cy_gb }, da: { id: "da", text: n2.default.da }, "da-dk": { id: "da-DK", isAutomateFlowCreateSuggestion: true, text: n2.default.da_dk }, dav: { id: "dav", text: n2.default.dav }, "dav-ke": { id: "dav-KE", text: n2.default.dav_ke }, de: { id: "de", text: n2.default.de }, "de-at": { id: "de-AT", text: n2.default.de_at, fallback: "de-DE" }, "de-be": { id: "de-BE", text: n2.default.de_be }, "de-ch": { id: "de-CH", text: n2.default.de_ch, fallback: "de-DE" }, "de-de": { id: "de-DE", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.de_de, isAutomateFlowCreateSuggestion: true, supported: true }, "de-li": { id: "de-LI", text: n2.default.de_li, fallback: "de-DE" }, "de-lu": { id: "de-LU", text: n2.default.de_lu, fallback: "de-DE" }, dje: { id: "dje", text: n2.default.dje }, "dje-ne": { id: "dje-NE", text: n2.default.dje_ne }, "dsb-de": { id: "dsb-DE", text: n2.default.dsb_de }, dua: { id: "dua", text: n2.default.dua }, "dua-cm": { id: "dua-CM", text: n2.default.dua_cm }, "dv-mv": { id: "dv-MV", text: n2.default.dv_mv }, dyo: { id: "dyo", text: n2.default.dyo }, "dyo-sn": { id: "dyo-SN", text: n2.default.dyo_sn }, dz: { id: "dz", text: n2.default.dz }, "dz-bt": { id: "dz-BT", text: n2.default.dz_bt }, ebu: { id: "ebu", text: n2.default.ebu }, "ebu-ke": { id: "ebu-KE", text: n2.default.ebu_ke }, ee: { id: "ee", text: n2.default.ee }, "ee-gh": { id: "ee-GH", text: n2.default.ee_gh }, "ee-tg": { id: "ee-TG", text: n2.default.ee_tg }, el: { id: "el", text: n2.default.el }, "el-cy": { id: "el-CY", text: n2.default.el_cy }, "el-gr": { id: "el-GR", text: n2.default.el_gr }, en: { id: "en", text: n2.default.en }, "en-029": { id: "en-029", text: n2.default.en_029, fallback: "en-US" }, "en-150": { id: "en-150", text: n2.default.en_150 }, "en-ag": { id: "en-AG", text: n2.default.en_ag }, "en-as": { id: "en-AS", text: n2.default.en_as }, "en-au": { id: "en-AU", text: n2.default.en_au, needsServerInfo: true, hasFlowCreationTTS: true, hasFlowDebugTTS: true, isAutomateFlowCreateSuggestion: true, supported: true }, "en-bb": { id: "en-BB", text: n2.default.en_bb }, "en-be": { id: "en-BE", text: n2.default.en_be }, "en-bm": { id: "en-BM", text: n2.default.en_bm }, "en-bs": { id: "en-BS", text: n2.default.en_bs }, "en-bw": { id: "en-BW", text: n2.default.en_bw }, "en-bz": { id: "en-BZ", text: n2.default.en_bz, fallback: "en-US" }, "en-ca": { id: "en-CA", text: n2.default.en_ca, fallback: "en-US" }, "en-cm": { id: "en-CM", text: n2.default.en_cm }, "en-dm": { id: "en-DM", text: n2.default.en_dm }, "en-fj": { id: "en-FJ", text: n2.default.en_fj }, "en-fm": { id: "en-FM", text: n2.default.en_fm }, "en-gb": { id: "en-GB", text: n2.default.en_gb, needsServerInfo: true, hasFlowCreationTTS: true, hasFlowDebugTTS: true, isAutomateFlowCreateSuggestion: true, supported: true }, "en-gb-wls": { id: "en-GB-WLS", text: n2.default.en_gb_wls }, "en-gd": { id: "en-GD", text: n2.default.en_gd }, "en-gg": { id: "en-GG", text: n2.default.en_gg }, "en-gh": { id: "en-GH", text: n2.default.en_gh }, "en-gi": { id: "en-GI", text: n2.default.en_gi }, "en-gm": { id: "en-GM", text: n2.default.en_gm }, "en-gu": { id: "en-GU", text: n2.default.en_gu }, "en-gy": { id: "en-GY", text: n2.default.en_gy }, "en-hk": { id: "en-HK", text: n2.default.en_hk }, "en-ie": { id: "en-IE", text: n2.default.en_ie, fallback: "en-US" }, "en-im": { id: "en-IM", text: n2.default.en_im }, "en-in": { id: "en-IN", text: n2.default.en_in, fallback: "en-US" }, "en-je": { id: "en-JE", text: n2.default.en_je }, "en-jm": { id: "en-JM", text: n2.default.en_jm, fallback: "en-US" }, "en-ke": { id: "en-KE", text: n2.default.en_ke }, "en-ki": { id: "en-KI", text: n2.default.en_ki }, "en-kn": { id: "en-KN", text: n2.default.en_kn }, "en-ky": { id: "en-KY", text: n2.default.en_ky }, "en-lc": { id: "en-LC", text: n2.default.en_lc }, "en-lr": { id: "en-LR", text: n2.default.en_lr }, "en-ls": { id: "en-LS", text: n2.default.en_ls }, "en-mg": { id: "en-MG", text: n2.default.en_mg }, "en-mh": { id: "en-MH", text: n2.default.en_mh }, "en-mp": { id: "en-MP", text: n2.default.en_mp }, "en-mt": { id: "en-MT", text: n2.default.en_mt }, "en-mu": { id: "en-MU", text: n2.default.en_mu }, "en-mw": { id: "en-MW", text: n2.default.en_mw }, "en-my": { id: "en-MY", text: n2.default.en_my, fallback: "en-US" }, "en-na": { id: "en-NA", text: n2.default.en_na }, "en-ng": { id: "en-NG", text: n2.default.en_ng }, "en-nz": { id: "en-NZ", text: n2.default.en_nz, supported: true }, "en-pg": { id: "en-PG", text: n2.default.en_pg }, "en-ph": { id: "en-PH", text: n2.default.en_ph, fallback: "en-US" }, "en-pk": { id: "en-PK", text: n2.default.en_pk }, "en-pr": { id: "en-PR", text: n2.default.en_pr }, "en-pw": { id: "en-PW", text: n2.default.en_pw }, "en-sb": { id: "en-SB", text: n2.default.en_sb }, "en-sc": { id: "en-SC", text: n2.default.en_sc }, "en-sg": { id: "en-SG", text: n2.default.en_sg, fallback: "en-US" }, "en-sl": { id: "en-SL", text: n2.default.en_sl }, "en-ss": { id: "en-SS", text: n2.default.en_ss }, "en-sz": { id: "en-SZ", text: n2.default.en_sz }, "en-tc": { id: "en-TC", text: n2.default.en_tc }, "en-to": { id: "en-TO", text: n2.default.en_to }, "en-tt": { id: "en-TT", text: n2.default.en_tt, fallback: "en-US" }, "en-tz": { id: "en-TZ", text: n2.default.en_tz }, "en-ug": { id: "en-UG", text: n2.default.en_ug }, "en-um": { id: "en-UM", text: n2.default.en_um }, "en-us": { id: "en-US", needsServerInfo: true, hasFlowCreationTTS: true, hasFlowDebugTTS: true, text: n2.default.en_us, isAutomateFlowCreateSuggestion: true, supported: true }, "en-vc": { id: "en-VC", text: n2.default.en_vc }, "en-vg": { id: "en-VG", text: n2.default.en_vg }, "en-vi": { id: "en-VI", text: n2.default.en_vi }, "en-vu": { id: "en-VU", text: n2.default.en_vu }, "en-ws": { id: "en-WS", text: n2.default.en_ws }, "en-za": { id: "en-ZA", text: n2.default.en_za, fallback: "en-US" }, "en-zm": { id: "en-ZM", text: n2.default.en_zm }, "en-zw": { id: "en-ZW", text: n2.default.en_zw, fallback: "en-US" }, eo: { id: "eo", text: n2.default.eo }, es: { id: "es", text: n2.default.es }, "es-419": { id: "es-419", text: n2.default.es_419 }, "es-ar": { id: "es-AR", text: n2.default.es_ar, fallback: "es-US" }, "es-bo": { id: "es-BO", text: n2.default.es_bo, fallback: "es-US" }, "es-cl": { id: "es-CL", text: n2.default.es_cl, fallback: "es-US" }, "es-co": { id: "es-CO", text: n2.default.es_co }, "es-cr": { id: "es-CR", text: n2.default.es_cr, fallback: "es-US" }, "es-cu": { id: "es-CU", text: n2.default.es_cu }, "es-do": { id: "es-DO", text: n2.default.es_do, fallback: "es-US" }, "es-ea": { id: "es-EA", text: n2.default.es_ea }, "es-ec": { id: "es-EC", text: n2.default.es_ec, fallback: "es-US" }, "es-es": { id: "es-ES", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.es_es, isAutomateFlowCreateSuggestion: true, supported: true }, "es-gq": { id: "es-GQ", text: n2.default.es_gq }, "es-gt": { id: "es-GT", text: n2.default.es_gt, fallback: "es-US" }, "es-hn": { id: "es-HN", text: n2.default.es_hn, fallback: "es-US" }, "es-ic": { id: "es-IC", text: n2.default.es_ic }, "es-mx": { id: "es-MX", text: n2.default.es_mx, fallback: "es-US" }, "es-ni": { id: "es-NI", text: n2.default.es_ni, fallback: "es-US" }, "es-pa": { id: "es-PA", text: n2.default.es_pa, fallback: "es-US" }, "es-pe": { id: "es-PE", text: n2.default.es_pe }, "es-ph": { id: "es-PH", text: n2.default.es_ph }, "es-pr": { id: "es-PR", text: n2.default.es_pr, fallback: "es-US" }, "es-py": { id: "es-PY", text: n2.default.es_py, fallback: "es-US" }, "es-sv": { id: "es-SV", text: n2.default.es_sv, fallback: "es-US" }, "es-us": { id: "es-US", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.es_us, isAutomateFlowCreateSuggestion: true, supported: true }, "es-uy": { id: "es-UY", text: n2.default.es_uy, fallback: "es-US" }, "es-ve": { id: "es-VE", text: n2.default.es_ve, fallback: "es-US" }, et: { id: "et", text: n2.default.et }, "et-ee": { id: "et-EE", text: n2.default.et_ee }, eu: { id: "eu", text: n2.default.eu }, "eu-es": { id: "eu-ES", text: n2.default.eu_es }, ewo: { id: "ewo", text: n2.default.ewo }, "ewo-cm": { id: "ewo-CM", text: n2.default.ewo_cm }, fa: { id: "fa", text: n2.default.fa }, "fa-af": { id: "fa-AF", text: n2.default.fa_af }, "fa-ir": { id: "fa-IR", text: n2.default.fa_ir }, ff: { id: "ff", text: n2.default.ff }, "ff-sn": { id: "ff-SN", text: n2.default.ff_sn }, fi: { id: "fi", text: n2.default.fi }, "fi-fi": { id: "fi-FI", isAutomateFlowCreateSuggestion: true, text: n2.default.fi_fi }, fil: { id: "fil", text: n2.default.fil }, "fil-ph": { id: "fil-PH", text: n2.default.fil_ph }, fo: { id: "fo", text: n2.default.fo }, "fo-fo": { id: "fo-FO", text: n2.default.fo_fo }, fr: { id: "fr", text: n2.default.fr }, "fr-be": { id: "fr-BE", text: n2.default.fr_be, fallback: "fr-FR" }, "fr-bf": { id: "fr-BF", text: n2.default.fr_bf }, "fr-bi": { id: "fr-BI", text: n2.default.fr_bi }, "fr-bj": { id: "fr-BJ", text: n2.default.fr_bj }, "fr-bl": { id: "fr-BL", text: n2.default.fr_bl }, "fr-ca": { id: "fr-CA", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.fr_ca, isAutomateFlowCreateSuggestion: true, supported: true }, "fr-cd": { id: "fr-CD", text: n2.default.fr_cd }, "fr-cf": { id: "fr-CF", text: n2.default.fr_cf }, "fr-cg": { id: "fr-CG", text: n2.default.fr_cg }, "fr-ch": { id: "fr-CH", text: n2.default.fr_ch, fallback: "fr-FR" }, "fr-ci": { id: "fr-CI", text: n2.default.fr_ci }, "fr-cm": { id: "fr-CM", text: n2.default.fr_cm }, "fr-dj": { id: "fr-DJ", text: n2.default.fr_dj }, "fr-dz": { id: "fr-DZ", text: n2.default.fr_dz }, "fr-fr": { id: "fr-FR", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.fr_fr, isAutomateFlowCreateSuggestion: true, supported: true }, "fr-ga": { id: "fr-GA", text: n2.default.fr_ga }, "fr-gf": { id: "fr-GF", text: n2.default.fr_gf }, "fr-gn": { id: "fr-GN", text: n2.default.fr_gn }, "fr-gp": { id: "fr-GP", text: n2.default.fr_gp }, "fr-gq": { id: "fr-GQ", text: n2.default.fr_gq }, "fr-ht": { id: "fr-HT", text: n2.default.fr_ht }, "fr-km": { id: "fr-KM", text: n2.default.fr_km }, "fr-lu": { id: "fr-LU", text: n2.default.fr_lu, fallback: "fr-FR" }, "fr-ma": { id: "fr-MA", text: n2.default.fr_ma }, "fr-mc": { id: "fr-MC", text: n2.default.fr_mc, fallback: "fr-FR" }, "fr-mf": { id: "fr-MF", text: n2.default.fr_mf }, "fr-mg": { id: "fr-MG", text: n2.default.fr_mg }, "fr-ml": { id: "fr-ML", text: n2.default.fr_ml }, "fr-mq": { id: "fr-MQ", text: n2.default.fr_mq }, "fr-mr": { id: "fr-MR", text: n2.default.fr_mr }, "fr-mu": { id: "fr-MU", text: n2.default.fr_mu }, "fr-nc": { id: "fr-NC", text: n2.default.fr_nc }, "fr-ne": { id: "fr-NE", text: n2.default.fr_ne }, "fr-pf": { id: "fr-PF", text: n2.default.fr_pf }, "fr-re": { id: "fr-RE", text: n2.default.fr_re }, "fr-rw": { id: "fr-RW", text: n2.default.fr_rw }, "fr-sc": { id: "fr-SC", text: n2.default.fr_sc }, "fr-sn": { id: "fr-SN", text: n2.default.fr_sn }, "fr-sy": { id: "fr-SY", text: n2.default.fr_sy }, "fr-td": { id: "fr-TD", text: n2.default.fr_td }, "fr-tg": { id: "fr-TG", text: n2.default.fr_tg }, "fr-tn": { id: "fr-TN", text: n2.default.fr_tn }, "fr-vu": { id: "fr-VU", text: n2.default.fr_vu }, "fr-yt": { id: "fr-YT", text: n2.default.fr_yt }, "fy-nl": { id: "fy-NL", text: n2.default.fy_nl }, ga: { id: "ga", text: n2.default.ga }, "ga-ie": { id: "ga-IE", text: n2.default.ga_ie }, "gd-gb": { id: "gd-GB", text: n2.default.gd_gb }, gl: { id: "gl", text: n2.default.gl }, "gl-es": { id: "gl-ES", text: n2.default.gl_es }, gsw: { id: "gsw", text: n2.default.gsw }, "gsw-ch": { id: "gsw-CH", text: n2.default.gsw_ch }, "gsw-fr": { id: "gsw-FR", text: n2.default.gsw_fr }, gu: { id: "gu", text: n2.default.gu }, "gu-in": { id: "gu-IN", text: n2.default.gu_in }, guz: { id: "guz", text: n2.default.guz }, "guz-ke": { id: "guz-KE", text: n2.default.guz_ke }, gv: { id: "gv", text: n2.default.gv }, "gv-gb": { id: "gv-GB", text: n2.default.gv_gb }, ha: { id: "ha", text: n2.default.ha }, "ha-latn": { id: "ha-Latn", text: n2.default.ha_latn }, "ha-latn-gh": { id: "ha-Latn-GH", text: n2.default.ha_latn_gh }, "ha-latn-ne": { id: "ha-Latn-NE", text: n2.default.ha_latn_ne }, "ha-latn-ng": { id: "ha-Latn-NG", text: n2.default.ha_latn_ng }, "ha-ng": { id: "ha-NG", text: n2.default.ha_ng }, haw: { id: "haw", text: n2.default.haw }, "haw-us": { id: "haw-US", text: n2.default.haw_us }, he: { id: "he", text: n2.default.he }, "he-il": { id: "he-IL", text: n2.default.he_il }, hi: { id: "hi", text: n2.default.hi }, "hi-in": { id: "hi-IN", text: n2.default.hi_in }, hr: { id: "hr", text: n2.default.hr }, "hr-ba": { id: "hr-BA", text: n2.default.hr_ba }, "hr-hr": { id: "hr-HR", text: n2.default.hr_hr }, "hsb-de": { id: "hsb-DE", text: n2.default.hsb_de }, hu: { id: "hu", text: n2.default.hu }, "hu-hu": { id: "hu-HU", text: n2.default.hu_hu }, hy: { id: "hy", text: n2.default.hy }, "hy-am": { id: "hy-AM", text: n2.default.hy_am }, id: { id: "id", text: n2.default.id }, "id-id": { id: "id-ID", text: n2.default.id_id }, ig: { id: "ig", text: n2.default.ig }, "ig-ng": { id: "ig-NG", text: n2.default.ig_ng }, ii: { id: "ii", text: n2.default.ii }, "ii-cn": { id: "ii-CN", text: n2.default.ii_cn }, is: { id: "is", text: n2.default.is }, "is-is": { id: "is-IS", text: n2.default.is_is }, it: { id: "it", text: n2.default.it }, "it-ch": { id: "it-CH", text: n2.default.it_ch }, "it-it": { id: "it-IT", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.it_it, isAutomateFlowCreateSuggestion: true, supported: true }, "it-sm": { id: "it-SM", text: n2.default.it_sm }, ja: { id: "ja", text: n2.default.ja }, "ja-jp": { id: "ja-JP", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.ja_jp, isAutomateFlowCreateSuggestion: true, supported: true }, jgo: { id: "jgo", text: n2.default.jgo }, "jgo-cm": { id: "jgo-CM", text: n2.default.jgo_cm }, jmc: { id: "jmc", text: n2.default.jmc }, "jmc-tz": { id: "jmc-TZ", text: n2.default.jmc_tz }, ka: { id: "ka", text: n2.default.ka }, "ka-ge": { id: "ka-GE", text: n2.default.ka_ge }, kab: { id: "kab", text: n2.default.kab }, "kab-dz": { id: "kab-DZ", text: n2.default.kab_dz }, kam: { id: "kam", text: n2.default.kam }, "kam-ke": { id: "kam-KE", text: n2.default.kam_ke }, kde: { id: "kde", text: n2.default.kde }, "kde-tz": { id: "kde-TZ", text: n2.default.kde_tz }, kea: { id: "kea", text: n2.default.kea }, "kea-cv": { id: "kea-CV", text: n2.default.kea_cv }, khq: { id: "khq", text: n2.default.khq }, "khq-ml": { id: "khq-ML", text: n2.default.khq_ml }, ki: { id: "ki", text: n2.default.ki }, "ki-ke": { id: "ki-KE", text: n2.default.ki_ke }, kk: { id: "kk", text: n2.default.kk }, "kk-cyrl": { id: "kk-Cyrl", text: n2.default.kk_cyrl }, "kk-cyrl-kz": { id: "kk-Cyrl-KZ", text: n2.default.kk_cyrl_kz }, "kk-kz": { id: "kk-KZ", text: n2.default.kk_kz }, kl: { id: "kl", text: n2.default.kl }, "kl-gl": { id: "kl-GL", text: n2.default.kl_gl }, kln: { id: "kln", text: n2.default.kln }, "kln-ke": { id: "kln-KE", text: n2.default.kln_ke }, km: { id: "km", text: n2.default.km }, "km-kh": { id: "km-KH", text: n2.default.km_kh }, kn: { id: "kn", text: n2.default.kn }, "kn-in": { id: "kn-IN", text: n2.default.kn_in }, ko: { id: "ko", text: n2.default.ko }, "ko-kp": { id: "ko-KP", text: n2.default.ko_kp }, "ko-kr": { id: "ko-KR", hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, text: n2.default.ko_kr }, kok: { id: "kok", text: n2.default.kok }, "kok-in": { id: "kok-IN", text: n2.default.kok_in }, ks: { id: "ks", text: n2.default.ks }, "ks-arab": { id: "ks-Arab", text: n2.default.ks_arab }, "ks-arab-in": { id: "ks-Arab-IN", text: n2.default.ks_arab_in }, ksb: { id: "ksb", text: n2.default.ksb }, "ksb-tz": { id: "ksb-TZ", text: n2.default.ksb_tz }, ksf: { id: "ksf", text: n2.default.ksf }, "ksf-cm": { id: "ksf-CM", text: n2.default.ksf_cm }, kw: { id: "kw", text: n2.default.kw }, "kw-gb": { id: "kw-GB", text: n2.default.kw_gb }, "ky-kg": { id: "ky-KG", text: n2.default.ky_kg }, lag: { id: "lag", text: n2.default.lag }, "lag-tz": { id: "lag-TZ", text: n2.default.lag_tz }, "lb-lu": { id: "lb-LU", text: n2.default.lb_lu }, lg: { id: "lg", text: n2.default.lg }, "lg-ug": { id: "lg-UG", text: n2.default.lg_ug }, ln: { id: "ln", text: n2.default.ln }, "ln-ao": { id: "ln-AO", text: n2.default.ln_ao }, "ln-cd": { id: "ln-CD", text: n2.default.ln_cd }, "ln-cf": { id: "ln-CF", text: n2.default.ln_cf }, "ln-cg": { id: "ln-CG", text: n2.default.ln_cg }, lo: { id: "lo", text: n2.default.lo }, "lo-la": { id: "lo-LA", text: n2.default.lo_la }, lt: { id: "lt", text: n2.default.lt }, "lt-lt": { id: "lt-LT", text: n2.default.lt_lt }, lu: { id: "lu", text: n2.default.lu }, "lu-cd": { id: "lu-CD", text: n2.default.lu_cd }, luo: { id: "luo", text: n2.default.luo }, "luo-ke": { id: "luo-KE", text: n2.default.luo_ke }, luy: { id: "luy", text: n2.default.luy }, "luy-ke": { id: "luy-KE", text: n2.default.luy_ke }, lv: { id: "lv", text: n2.default.lv }, "lv-lv": { id: "lv-LV", text: n2.default.lv_lv }, mas: { id: "mas", text: n2.default.mas }, "mas-ke": { id: "mas-KE", text: n2.default.mas_ke }, "mas-tz": { id: "mas-TZ", text: n2.default.mas_tz }, mer: { id: "mer", text: n2.default.mer }, "mer-ke": { id: "mer-KE", text: n2.default.mer_ke }, mfe: { id: "mfe", text: n2.default.mfe }, "mfe-mu": { id: "mfe-MU", text: n2.default.mfe_mu }, mg: { id: "mg", text: n2.default.mg }, "mg-mg": { id: "mg-MG", text: n2.default.mg_mg }, mgh: { id: "mgh", text: n2.default.mgh }, "mgh-mz": { id: "mgh-MZ", text: n2.default.mgh_mz }, mgo: { id: "mgo", text: n2.default.mgo }, "mgo-cm": { id: "mgo-CM", text: n2.default.mgo_cm }, "mi-nz": { id: "mi-NZ", text: n2.default.mi_nz }, mk: { id: "mk", text: n2.default.mk }, "mk-mk": { id: "mk-MK", text: n2.default.mk_mk }, ml: { id: "ml", text: n2.default.ml }, "ml-in": { id: "ml-IN", text: n2.default.ml_in }, "mn-cn": { id: "mn-CN", text: n2.default.mn_cn }, "mn-mn": { id: "mn-MN", text: n2.default.mn_mn }, "moh-ca": { id: "moh-CA", text: n2.default.moh_ca }, mr: { id: "mr", text: n2.default.mr }, "mr-in": { id: "mr-IN", text: n2.default.mr_in }, ms: { id: "ms", text: n2.default.ms }, "ms-bn": { id: "ms-BN", text: n2.default.ms_bn }, "ms-my": { id: "ms-MY", text: n2.default.ms_my }, "ms-sg": { id: "ms-SG", text: n2.default.ms_sg }, mt: { id: "mt", text: n2.default.mt }, "mt-mt": { id: "mt-MT", text: n2.default.mt_mt }, mua: { id: "mua", text: n2.default.mua }, "mua-cm": { id: "mua-CM", text: n2.default.mua_cm }, my: { id: "my", text: n2.default.my }, "my-mm": { id: "my-MM", text: n2.default.my_mm }, naq: { id: "naq", text: n2.default.naq }, "naq-na": { id: "naq-NA", text: n2.default.naq_na }, nb: { id: "nb", text: n2.default.nb }, "nb-no": { id: "nb-NO", needsServerInfo: true, text: n2.default.nb_no, hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, supported: true }, nd: { id: "nd", text: n2.default.nd }, "nd-zw": { id: "nd-ZW", text: n2.default.nd_zw }, ne: { id: "ne", text: n2.default.ne }, "ne-in": { id: "ne-IN", text: n2.default.ne_in }, "ne-np": { id: "ne-NP", text: n2.default.ne_np }, nl: { id: "nl", text: n2.default.nl }, "nl-aw": { id: "nl-AW", text: n2.default.nl_aw }, "nl-be": { id: "nl-BE", text: n2.default.nl_be, fallback: "nl-NL" }, "nl-cw": { id: "nl-CW", text: n2.default.nl_cw }, "nl-nl": { id: "nl-NL", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.nl_nl, isAutomateFlowCreateSuggestion: true, supported: true }, "nl-sr": { id: "nl-SR", text: n2.default.nl_sr }, nmg: { id: "nmg", text: n2.default.nmg }, "nmg-cm": { id: "nmg-CM", text: n2.default.nmg_cm }, nn: { id: "nn", text: n2.default.nn }, "nn-no": { id: "nn-NO", text: n2.default.nn_no }, no: { id: "no", text: n2.default.no }, "nso-za": { id: "nso-ZA", text: n2.default.nso_za }, nus: { id: "nus", text: n2.default.nus }, "nus-sd": { id: "nus-SD", text: n2.default.nus_sd }, nyn: { id: "nyn", text: n2.default.nyn }, "nyn-ug": { id: "nyn-UG", text: n2.default.nyn_ug }, "oc-fr": { id: "oc-FR", text: n2.default.oc_fr }, om: { id: "om", text: n2.default.om }, "om-et": { id: "om-ET", text: n2.default.om_et }, "om-ke": { id: "om-KE", text: n2.default.om_ke }, or: { id: "or", text: n2.default.or }, "or-in": { id: "or-IN", text: n2.default.or_in }, pa: { id: "pa", text: n2.default.pa }, "pa-arab": { id: "pa-Arab", text: n2.default.pa_arab }, "pa-arab-pk": { id: "pa-Arab-PK", text: n2.default.pa_arab_pk }, "pa-guru": { id: "pa-Guru", text: n2.default.pa_guru }, "pa-guru-in": { id: "pa-Guru-IN", text: n2.default.pa_guru_in }, "pa-in": { id: "pa-IN", text: n2.default.pa_in }, pl: { id: "pl", text: n2.default.pl }, "pl-pl": { id: "pl-PL", hasFlowCreationTTS: true, text: n2.default.pl_pl }, "prs-af": { id: "prs-AF", text: n2.default.prs_af }, ps: { id: "ps", text: n2.default.ps }, "ps-af": { id: "ps-AF", text: n2.default.ps_af }, pt: { id: "pt", text: n2.default.pt }, "pt-ao": { id: "pt-AO", text: n2.default.pt_ao }, "pt-br": { id: "pt-BR", needsServerInfo: true, hasFlowCreationTTS: true, text: n2.default.pt_br, isAutomateFlowCreateSuggestion: true, supported: true }, "pt-cv": { id: "pt-CV", text: n2.default.pt_cv }, "pt-gw": { id: "pt-GW", text: n2.default.pt_gw }, "pt-mo": { id: "pt-MO", text: n2.default.pt_mo }, "pt-mz": { id: "pt-MZ", text: n2.default.pt_mz }, "pt-pt": { id: "pt-PT", text: n2.default.pt_pt, supported: true }, "pt-st": { id: "pt-ST", text: n2.default.pt_st }, "pt-tl": { id: "pt-TL", text: n2.default.pt_tl }, "qut-gt": { id: "qut-GT", text: n2.default.qut_gt }, "quz-bo": { id: "quz-BO", text: n2.default.quz_bo }, "quz-ec": { id: "quz-EC", text: n2.default.quz_ec }, "quz-pe": { id: "quz-PE", text: n2.default.quz_pe }, rm: { id: "rm", text: n2.default.rm }, "rm-ch": { id: "rm-CH", text: n2.default.rm_ch }, rn: { id: "rn", text: n2.default.rn }, "rn-bi": { id: "rn-BI", text: n2.default.rn_bi }, ro: { id: "ro", text: n2.default.ro }, "ro-md": { id: "ro-MD", text: n2.default.ro_md }, "ro-ro": { id: "ro-RO", text: n2.default.ro_ro }, rof: { id: "rof", text: n2.default.rof }, "rof-tz": { id: "rof-TZ", text: n2.default.rof_tz }, ru: { id: "ru", text: n2.default.ru }, "ru-by": { id: "ru-BY", text: n2.default.ru_by }, "ru-kg": { id: "ru-KG", text: n2.default.ru_kg }, "ru-kz": { id: "ru-KZ", text: n2.default.ru_kz }, "ru-md": { id: "ru-MD", text: n2.default.ru_md }, "ru-ru": { id: "ru-RU", text: n2.default.ru_ru }, "ru-ua": { id: "ru-UA", text: n2.default.ru_ua }, rw: { id: "rw", text: n2.default.rw }, "rw-rw": { id: "rw-RW", text: n2.default.rw_rw }, rwk: { id: "rwk", text: n2.default.rwk }, "rwk-tz": { id: "rwk-TZ", text: n2.default.rwk_tz }, "sa-in": { id: "sa-IN", text: n2.default.sa_in }, "sah-ru": { id: "sah-RU", text: n2.default.sah_ru }, saq: { id: "saq", text: n2.default.saq }, "saq-ke": { id: "saq-KE", text: n2.default.saq_ke }, sbp: { id: "sbp", text: n2.default.sbp }, "sbp-tz": { id: "sbp-TZ", text: n2.default.sbp_tz }, "se-fi": { id: "se-FI", text: n2.default.se_fi }, "se-no": { id: "se-NO", text: n2.default.se_no }, "se-se": { id: "se-SE", text: n2.default.se_se }, seh: { id: "seh", text: n2.default.seh }, "seh-mz": { id: "seh-MZ", text: n2.default.seh_mz }, ses: { id: "ses", text: n2.default.ses }, "ses-ml": { id: "ses-ML", text: n2.default.ses_ml }, sg: { id: "sg", text: n2.default.sg }, "sg-cf": { id: "sg-CF", text: n2.default.sg_cf }, shi: { id: "shi", text: n2.default.shi }, "shi-latn": { id: "shi-Latn", text: n2.default.shi_latn }, "shi-latn-ma": { id: "shi-Latn-MA", text: n2.default.shi_latn_ma }, "shi-tfng": { id: "shi-Tfng", text: n2.default.shi_tfng }, "shi-tfng-ma": { id: "shi-Tfng-MA", text: n2.default.shi_tfng_ma }, si: { id: "si", text: n2.default.si }, "si-lk": { id: "si-LK", text: n2.default.si_lk }, sk: { id: "sk", text: n2.default.sk }, "sk-sk": { id: "sk-SK", text: n2.default.sk_sk }, sl: { id: "sl", text: n2.default.sl }, "sl-si": { id: "sl-SI", text: n2.default.sl_si }, "sma-no": { id: "sma-NO", text: n2.default.sma_no }, "sma-se": { id: "sma-SE", text: n2.default.sma_se }, "smj-no": { id: "smj-NO", text: n2.default.smj_no }, "smj-se": { id: "smj-SE", text: n2.default.smj_se }, "smn-fi": { id: "smn-FI", text: n2.default.smn_fi }, "sms-fi": { id: "sms-FI", text: n2.default.sms_fi }, sn: { id: "sn", text: n2.default.sn }, "sn-zw": { id: "sn-ZW", text: n2.default.sn_zw }, so: { id: "so", text: n2.default.so }, "so-dj": { id: "so-DJ", text: n2.default.so_dj }, "so-et": { id: "so-ET", text: n2.default.so_et }, "so-ke": { id: "so-KE", text: n2.default.so_ke }, "so-so": { id: "so-SO", text: n2.default.so_so }, sq: { id: "sq", text: n2.default.sq }, "sq-al": { id: "sq-AL", text: n2.default.sq_al }, "sq-mk": { id: "sq-MK", text: n2.default.sq_mk }, sr: { id: "sr", text: n2.default.sr }, "sr-cyrl": { id: "sr-Cyrl", text: n2.default.sr_cyrl }, "sr-cyrl-ba": { id: "sr-Cyrl-BA", text: n2.default.sr_cyrl_ba }, "sr-cyrl-cs": { id: "sr-Cyrl-CS", text: n2.default.sr_cyrl_cs }, "sr-cyrl-me": { id: "sr-Cyrl-ME", text: n2.default.sr_cyrl_me }, "sr-cyrl-rs": { id: "sr-Cyrl-RS", text: n2.default.sr_cyrl_rs }, "sr-latn": { id: "sr-Latn", text: n2.default.sr_latn }, "sr-latn-ba": { id: "sr-Latn-BA", text: n2.default.sr_latn_ba }, "sr-latn-cs": { id: "sr-Latn-CS", text: n2.default.sr_latn_cs }, "sr-latn-me": { id: "sr-Latn-ME", text: n2.default.sr_latn_me }, "sr-latn-rs": { id: "sr-Latn-RS", text: n2.default.sr_latn_rs }, sv: { id: "sv", text: n2.default.sv }, "sv-fi": { id: "sv-FI", text: n2.default.sv_fi }, "sv-se": { id: "sv-SE", hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, text: n2.default.sv_se }, sw: { id: "sw", text: n2.default.sw }, "sw-ke": { id: "sw-KE", text: n2.default.sw_ke }, "sw-tz": { id: "sw-TZ", text: n2.default.sw_tz }, "sw-ug": { id: "sw-UG", text: n2.default.sw_ug }, swc: { id: "swc", text: n2.default.swc }, "swc-cd": { id: "swc-CD", text: n2.default.swc_cd }, "syr-sy": { id: "syr-SY", text: n2.default.syr_sy }, ta: { id: "ta", text: n2.default.ta }, "ta-in": { id: "ta-IN", text: n2.default.ta_in }, "ta-lk": { id: "ta-LK", text: n2.default.ta_lk }, "ta-my": { id: "ta-MY", text: n2.default.ta_my }, "ta-sg": { id: "ta-SG", text: n2.default.ta_sg }, te: { id: "te", text: n2.default.te }, "te-in": { id: "te-IN", text: n2.default.te_in }, teo: { id: "teo", text: n2.default.teo }, "teo-ke": { id: "teo-KE", text: n2.default.teo_ke }, "teo-ug": { id: "teo-UG", text: n2.default.teo_ug }, "tg-tj": { id: "tg-TJ", text: n2.default.tg_tj }, th: { id: "th", text: n2.default.th }, "th-th": { id: "th-TH", needsServerInfo: true, text: n2.default.th_th, isAutomateFlowCreateSuggestion: true, supported: true }, ti: { id: "ti", text: n2.default.ti }, "ti-er": { id: "ti-ER", text: n2.default.ti_er }, "ti-et": { id: "ti-ET", text: n2.default.ti_et }, "tk-tm": { id: "tk-TM", text: n2.default.tk_tm }, "tn-za": { id: "tn-ZA", text: n2.default.tn_za }, to: { id: "to", text: n2.default.to }, "to-to": { id: "to-TO", text: n2.default.to_to }, tr: { id: "tr", text: n2.default.tr }, "tr-cy": { id: "tr-CY", text: n2.default.tr_cy }, "tr-tr": { id: "tr-TR", hasFlowCreationTTS: true, text: n2.default.tr_tr }, "tt-ru": { id: "tt-RU", text: n2.default.tt_ru }, twq: { id: "twq", text: n2.default.twq }, "twq-ne": { id: "twq-NE", text: n2.default.twq_ne }, tzm: { id: "tzm", text: n2.default.tzm }, "tzm-dz": { id: "tzm-DZ", text: n2.default.tzm_dz }, "tzm-latn": { id: "tzm-Latn", text: n2.default.tzm_latn }, "tzm-latn-ma": { id: "tzm-Latn-MA", text: n2.default.tzm_latn_ma }, "ug-cn": { id: "ug-CN", text: n2.default.ug_cn }, uk: { id: "uk", text: n2.default.uk }, "uk-ua": { id: "uk-UA", text: n2.default.uk_ua }, ur: { id: "ur", text: n2.default.ur }, "ur-in": { id: "ur-IN", text: n2.default.ur_in }, "ur-pk": { id: "ur-PK", text: n2.default.ur_pk }, uz: { id: "uz", text: n2.default.uz }, "uz-arab": { id: "uz-Arab", text: n2.default.uz_arab }, "uz-arab-af": { id: "uz-Arab-AF", text: n2.default.uz_arab_af }, "uz-cyrl": { id: "uz-Cyrl", text: n2.default.uz_cyrl }, "uz-cyrl-uz": { id: "uz-Cyrl-UZ", text: n2.default.uz_cyrl_uz }, "uz-latn": { id: "uz-Latn", text: n2.default.uz_latn }, "uz-latn-uz": { id: "uz-Latn-UZ", text: n2.default.uz_latn_uz }, vai: { id: "vai", text: n2.default.vai }, "vai-latn": { id: "vai-Latn", text: n2.default.vai_latn }, "vai-latn-lr": { id: "vai-Latn-LR", text: n2.default.vai_latn_lr }, "vai-vaii": { id: "vai-Vaii", text: n2.default.vai_vaii }, "vai-vaii-lr": { id: "vai-Vaii-LR", text: n2.default.vai_vaii_lr }, vi: { id: "vi", text: n2.default.vi }, "vi-vn": { id: "vi-VN", text: n2.default.vi_vn }, vun: { id: "vun", text: n2.default.vun }, "vun-tz": { id: "vun-TZ", text: n2.default.vun_tz }, "wo-sn": { id: "wo-SN", text: n2.default.wo_sn }, yav: { id: "yav", text: n2.default.yav }, "yav-cm": { id: "yav-CM", text: n2.default.yav_cm }, yo: { id: "yo", text: n2.default.yo }, "yo-ng": { id: "yo-NG", text: n2.default.yo_ng }, zh: { id: "zh", text: n2.default.zh }, "zh-cn": { id: "zh-CN", hasFlowCreationTTS: true, text: n2.default.zh_cn, isAutomateFlowCreateSuggestion: true, supported: true }, "zh-hans": { id: "zh-Hans", needsServerInfo: true, hasFlowCreationTTS: true, isAutomateFlowCreateSuggestion: true, text: n2.default.zh_hans }, "zh-hans-cn": { id: "zh-Hans-CN", text: n2.default.zh_hans_cn }, "zh-hans-hk": { id: "zh-Hans-HK", text: n2.default.zh_hans_hk }, "zh-hans-mo": { id: "zh-Hans-MO", text: n2.default.zh_hans_mo }, "zh-hans-sg": { id: "zh-Hans-SG", text: n2.default.zh_hans_sg }, "zh-hant": { id: "zh-Hant", text: n2.default.zh_hant }, "zh-hant-hk": { id: "zh-Hant-HK", text: n2.default.zh_hant_hk }, "zh-hant-mo": { id: "zh-Hant-MO", text: n2.default.zh_hant_mo }, "zh-hant-tw": { id: "zh-Hant-TW", text: n2.default.zh_hant_tw }, "zh-hk": { id: "zh-HK", text: n2.default.zh_hk }, "zh-mo": { id: "zh-MO", text: n2.default.zh_mo }, "zh-sg": { id: "zh-SG", text: n2.default.zh_sg }, "zh-tw": { id: "zh-TW", text: n2.default.zh_tw }, zu: { id: "zu", text: n2.default.zu }, "zu-za": { id: "zu-ZA", text: n2.default.zu_za } }; + }, 85306(e2, t2, i2) { + "use strict"; + t2.isoLanguagesUiData = void 0; + const n2 = i2(37675); + t2.isoLanguagesUiData = [{ id: "cs-cz", angular: "cs", moment: "cs", humanizeDuration: "cs", pureCloudLocale: "cs", spark: "cs", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "en-us", angular: "en", moment: "", humanizeDuration: "en", pureCloudLocale: "en-us", spark: "en", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "es-us", angular: "es", moment: "es", humanizeDuration: "es", pureCloudLocale: "es", spark: "es", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "fr-ca", angular: "fr", moment: "fr-ca", humanizeDuration: "fr", pureCloudLocale: "fr", spark: "fr-ca", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "de-de", angular: "de", moment: "de", humanizeDuration: "de", pureCloudLocale: "de", spark: "de", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "ja-jp", angular: "ja", moment: "ja", humanizeDuration: "ja", pureCloudLocale: "ja", spark: "ja", italic: false, verticalTextSideways: false, direction: n2.leftToRight }, { id: "nb-no", angular: "nb", moment: "nb", humanizeDuration: "no", pureCloudLocale: "no", spark: "no", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "nl-nl", angular: "nl", moment: "nl", humanizeDuration: "nl", pureCloudLocale: "nl", spark: "nl", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "pt-br", angular: "pt", moment: "pt-br", humanizeDuration: "pt", pureCloudLocale: "pt-br", spark: "pt-br", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "it-it", angular: "it", moment: "it", humanizeDuration: "it", pureCloudLocale: "it", spark: "it", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "ko-kr", angular: "ko", moment: "ko", humanizeDuration: "ko", pureCloudLocale: "ko", spark: "ko", italic: false, verticalTextSideways: false, direction: n2.leftToRight }, { id: "pl-pl", angular: "pl", moment: "pl", humanizeDuration: "pl", pureCloudLocale: "pl", spark: "pl", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "ru-ru", angular: "ru", moment: "ru", humanizeDuration: "ru", pureCloudLocale: "ru", spark: "ru", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "sv-se", angular: "sv", moment: "sv", humanizeDuration: "sv", pureCloudLocale: "sv", spark: "sv", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "tr-tr", angular: "tr", moment: "tr", humanizeDuration: "tr", pureCloudLocale: "tr", spark: "tr", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "zh-cn", angular: "zh-Hans", moment: "zh-cn", humanizeDuration: "zh_CN", pureCloudLocale: "zh-cn", spark: "zh-cn", italic: false, verticalTextSideways: false, direction: n2.leftToRight }, { id: "zh-tw", angular: "zh-Hant", moment: "zh-tw", humanizeDuration: "zh_TW", pureCloudLocale: "zh-tw", spark: "zh-tw", italic: false, verticalTextSideways: false, direction: n2.leftToRight }], t2.isoLanguagesUiData; + }, 6256(e2, t2, i2) { + "use strict"; + t2.getGenesysCloudToArchitectLocale = function(e3) { + e3 = (e3 = e3.toLowerCase()).replace(/_/g, "-"); + let t3 = n2.default.findWhere(o.isoLanguagesUiData, { pureCloudLocale: e3 }); + if (t3 || (t3 = n2.default.findWhere(o.isoLanguagesUiData, { id: e3 })), !t3) { + const i3 = e3.indexOf("-"), r = -1 === i3 ? e3 : e3.substring(0, i3); + t3 = n2.default.find(o.isoLanguagesUiData, function(e4) { + return e4.id.substring(0, e4.id.indexOf("-")) === r; + }); } + return t3 || null; + }; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(85306); + }, 60885(e2, t2) { + "use strict"; + 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" } }; + }, 75669(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.unknownLibrary = void 0, t2.unknownLibrary = "unknownLibrary"; + }, 27936(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = i2(12179), a = i2(12179), s = n2.__importStar(i2(34475)), l = i2(47957), u = new class { constructor() { - super(), this.topic = (0, r2.getTopic)("inboundShortMessageListManager"), this.additionalQueryParams = { type: n2.flowTypes.flowTypeInboundShortMessage }, this.className = "InboundShortMessageListManager", this.flowType = n2.flowTypes.flowTypeInboundShortMessage, this._initialize(); + 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; } - } - t2.InboundShortMessageListManager = s, t2.inboundShortMessageListManager = new s(); - }, 61347: (e2, t2, i2) => { - const n2 = i2(92140); - n2.mixin({ isActualNumber: function(e3) { - return !isNaN(e3) && n2.isNumber(e3); - }, isStringActualNumber: function(e3) { - if (n2.isString(e3) && "" !== e3) { - const t3 = Number(e3); - return !isNaN(t3); + get className() { + return "LinkInfo"; } - return false; - }, clamp: function(e3, t3, i3) { - return Math.min(i3, Math.max(t3, e3)); - }, containsAll: function(e3, t3) { - return t3.every((t4) => e3.includes(t4)); - }, extEnsureArray: function(e3) { - return n2.isArray(e3) ? e3 : [e3]; - }, defaultsDeep: function(e3, t3) { - n2.defaults(e3, t3), n2.each(t3, (t4, i3) => { - n2.isObject(t4) && e3 && n2.defaultsDeep(e3[i3], t4); - }); - }, deepClone: function(e3) { - if (!n2.isUndefined(e3)) return JSON.parse(JSON.stringify(e3)); - }, deepDeleteKey: (e3, t3) => { - for (const i3 in e3) e3.hasOwnProperty(i3) && (n2.isObject(e3[i3]) ? n2.deepDeleteKey(e3[i3], t3) : i3 === t3 && delete e3[t3]); - return e3; - }, ensureYamlNoneTrue: function(e3) { - n2.isObject(e3) && n2.isEmpty(e3) && (e3.none = true); - }, getFirstPropertyKeyInObj: (e3) => n2.isObject(e3) ? Object.keys(e3)[0] : null, getFirstPropertyValueInObj: (e3) => n2.isObject(e3) ? Object.values(e3)[0] : null, filterNull: function(e3) { - return n2.filter(e3, (e4) => e4); - }, isNullOrUndefined: function(e3) { - return n2.isNull(e3) || n2.isUndefined(e3); - }, lowercaseFirstLetter: (e3) => n2.isString(e3) ? e3.charAt(0).toLowerCase() + e3.slice(1) : e3, moveAndDeleteProperty: (e3, t3, i3) => { - e3[i3] && t3 && (t3[i3] = e3[i3], delete e3[i3]); - }, moveRenameAndDeleteProperty: (e3, t3, i3, n3) => { - e3[i3] && t3 && (t3[n3] = e3[i3], delete e3[i3]); - }, renameProperty: (e3, t3, i3) => { - e3[t3] && (e3[i3] = e3[t3], delete e3[t3]); - }, sortMapByNameProperty: (e3) => { - if (e3) return n2.sortMapByProperty(e3, "name"); - }, sortMapByProperty: (e3, t3) => { - if (e3) return e3.sort((e4, i3) => e4[Object.keys(e4)[0]][t3].toLowerCase().localeCompare(i3[Object.keys(i3)[0]][t3].toLowerCase())); - }, sortObjectPropertiesByKey: (e3, t3) => { - const i3 = {}; - return Object.keys(e3).sort(t3).forEach(function(t4) { - i3[t4] = e3[t4]; - }), i3; - }, sortByNumericDesc: function(e3, t3) { - return t3 ? n2.sortBy(e3, (e4) => -1 * e4[t3]) : e3; - }, sortTopLevelObjectPropsByAlpha: (e3) => { - const t3 = {}, i3 = Object.keys(e3).sort(); - return n2.each(i3, (i4) => { - t3[i4] = e3[i4]; - }), t3; - }, tryWrapObject: (e3, t3) => { - if (!t3) return e3; - const i3 = {}; - return i3[t3] = e3, i3; - }, traverseFind: function(e3, t3, i3) { - let n3 = e3; - for (; n3; ) { - const e4 = i3(n3); - if (e4) return e4; - n3 = t3(n3); + get adminOrganizationSettings() { + return { id: "__ORGANIZATION_SETTINGS__", linkTitle: l.admin.adminOrganizationSettingsLabel, getLinkUrl: () => s.getAdminOrganizationSettingsUrl(), name: "Link.OrganizationSettings" }; } - }, deleteAllKeys: function(e3) { - n2.each(e3, (t3, i3) => { - delete e3[i3]; - }); - }, destroyContents: function(e3) { - if (!e3) return; - let t3; - if (n2.isArray(e3) ? t3 = e3 : e3 instanceof Map ? t3 = e3.values() : "object" == typeof e3 && (t3 = Object.values(e3)), t3) { - for (const e4 of t3) try { - n2.isFunction(e4.destroy) ? e4.destroy() : console.error("item is missing destroy method in destroyContents"); - } catch (e5) { - console.error(e5, "exception caught during destroyContents"); - } - if (n2.isArray(e3)) e3.length = 0; - else if (e3 instanceof Map) e3.clear(); - else for (const t4 of Object.keys(e3)) delete e3[t4]; + get flowsCallingFlows() { + return { id: "__FLOWS_CALLING_FLOWS__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.flowsCallingFlows), linkTitle: l.help.resourceCenter, name: "Link.FlowsCallingFlows", helpTopic: a.helpTopics.articles.flowsCallingFlows }; } - }, addPromiseTimeout: function(e3, t3, i3) { - const n3 = new Promise((e4, n4) => setTimeout(() => n4(i3 || "timeout"), t3)); - return Promise.race([e3, n3]); - }, splitOn: function(e3, t3) { - return n2.isString(e3) && n2.isString(t3) ? e3.includes(t3) ? e3.split(t3) : [e3, ""] : null; - }, escapeRegExp: function(e3) { - return e3.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"); - } }), String.prototype.trimForDisplay = function(e3) { - return e3 || (e3 = 30), this.length > e3 ? this.substring(0, e3) + "\u2026" : this; - }, String.prototype.removeSuffixStartingWithString = function(e3) { - return this.substring(0, this.lastIndexOf(e3)); - }, Object.getPropertyDescriptor = function(e3, t3) { - let i3 = Object.getOwnPropertyDescriptor(e3, t3), n3 = Object.getPrototypeOf(e3); - for (; void 0 === i3 && null !== n3; ) i3 = Object.getOwnPropertyDescriptor(n3, t3), n3 = Object.getPrototypeOf(n3); - return i3; - }, String.prototype.contains = function(e3) { - const t3 = arguments.length > 1 ? arguments[1] : void 0; - return -1 !== this.indexOf.call(this, e3, t3); - }; - }, 61397: (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._priority = this.coreFactory.createArchWrapper(e3.priority); + get resourceCenter() { + return { id: "__RESOURCE_CENTER__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.resourceCenter), linkTitle: l.help.resourceCenter, name: "Link.ResourceCenter", helpTopic: a.helpTopics.articles.resourceCenter, openHelpInNewWindow: true }; } - get _actionTypeId() { - return r2.setPriorityActionType; + get decisionTableUsageFees() { + return { id: "__DECISION_TABLE_USAGE_FEES__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.decisionTableUsageFees), linkTitle: l.help.resourceCenter, name: "Link.DecisionTablesUsageFees", helpTopic: a.helpTopics.articles.decisionTableUsageFees }; } - get displayTypeName() { - return "ArchActionSetPriority"; + get summaryWorkbench() { + return { id: "__SUMMARY_WORKBENCH__", linkTitle: l.customNodes.virtualAgentSettings.conversationSummarySettingsWorkbenchBanner, getLinkUrl: () => s.getAdminConversationSummarySettingUrl() }; } - get isArchActionSetPriority() { - return true; + get resourceCenterUrlCustomKnowledge() { + return { id: "__RESOURCE_CENTER_URL_CUSTOM_KNOWLEDGE__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.customKnowledge), helpTopic: a.helpTopics.articles.customKnowledge, name: "Link.ResourceCenterCustomKnowledge" }; } - get priority() { - return this._priority; + get resourceCenterExecutionData() { + return { id: "__RESOURCE_CENTER_EXECUTION_DATA__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.historicalExecutionDataOverview), linkTitle: l.help.resourceCenter, name: "Link.ResourceCenterExecutionData", helpTopic: a.helpTopics.articles.historicalExecutionDataOverview }; } - } - t2.default = o; - }, 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(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" }; - }, 61568: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SendRichLinkActionModel = void 0; - const n2 = i2(31635), r2 = i2(30801), o = i2(80934), a = i2(80295), s = n2.__importDefault(i2(7401)); - class l extends o.BaseActionWithOutputsModel { - constructor(e3) { - super(e3), this.__type = l.__type, (0, a.makeUnenumerable)(this, "_headerType"), (0, a.makeUnenumerable)(this, "_headerImage"), (0, a.makeUnenumerable)(this, "_headerText"), (0, a.makeUnenumerable)(this, "_body"), (0, a.makeUnenumerable)(this, "_footer"), (0, a.makeUnenumerable)(this, "_urlValue"), (0, a.makeUnenumerable)(this, "_urlLabel"); + get aboutGenesysVirtualAgent() { + return { id: "__VIRTUAL_AGENT_HELP__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.aboutGenesysVirtualAgent), name: "Link.ResourceCenterVirtualAgent", helpTopic: a.helpTopics.articles.aboutGenesysVirtualAgent }; } - get headerType() { - return this._headerType; + get genesysCloudTokensBasedPricingModel() { + return { id: "__GENESYS_CLOUD_TOKENS_BASED_PRICING_MODEL__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.genesysCloudTokensBasedPricingModel), linkTitle: l.help.resourceCenter, name: "Link.ResourceCenterTokenBasedPricingModel", helpTopic: a.helpTopics.articles.genesysCloudTokensBasedPricingModel }; } - set headerType(e3) { - this._headerType = this.reviveItem(e3, s.default); + get sttEngineOverview() { + return { id: "__STT_ENGINE_OVERVIEW__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.sttEngineOverview), name: "link.sttEngineOverview", helpTopic: a.helpTopics.articles.sttEngineOverview }; } - get headerImage() { - return this._headerImage; + get surveyFormsAdmin() { + return { id: "__SURVEY_FORMS__", getLinkUrl: () => s.getAdminSurveyFormsUrl() }; } - set headerImage(e3) { - this._headerImage = this.reviveItem(e3, s.default); + get surveyFormAdmin() { + return { id: "__SURVEY_FORM__", getLinkUrl: () => s.getAdminSurveyFormsUrl() }; } - get headerText() { - return this._headerText; + get voiceMismatchHelp() { + return { id: "__VOICE_MISMATCH_LINK__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.ttsOverview), helpTopic: a.helpTopics.articles.ttsOverview }; } - set headerText(e3) { - this._headerText = this.reviveItem(e3, s.default); + get voiceSurveyFlows() { + return { id: "__VOICE_SURVEY_FLOWS__", getLinkUrl: () => s.getArchitectFlowsBaseUrl(o.flowTypes.flowTypeVoiceSurvey) }; } - get body() { - return this._body; + get webChatDeprecation() { + return { id: "__CHAT_DEPRECATION__", getLinkUrl: () => (0, r.getExternalHelpUrl)(a.helpTopics.articles.chatDeprecation), linkTitle: l.webChatDeprecationLinkText, name: "Link.WebChatDeprecation" }; } - set body(e3) { - this._body = this.reviveItem(e3, s.default); + get workitemFlows() { + return { id: "__WORKITEM_FLOWS__", getLinkUrl: () => s.getArchitectFlowsBaseUrl(o.flowTypes.flowTypeWorkitem) }; } - get footer() { - return this._footer; + get workTypesAdmin() { + return { id: "__WORKTYPES__", getLinkUrl: () => s.getAdminWorktypesUrl() }; } - set footer(e3) { - this._footer = this.reviveItem(e3, s.default); + get workTypeCustomAttributesAdmin() { + return { id: "__CUSTOM_ATTRIBUTES__", getLinkUrl: () => s.getAdminWorktypeCustomAttributesUrl() }; } - get urlValue() { - return this._urlValue; + get botFlowSettingsNode() { + return { id: "__BOT_FLOW_SETTINGS_NODE__", linkTitle: l.botFlowSettings.titleWithSettings, getLinkUrl: () => "#", navigateToNodeId: "botFlowSettings", name: "Link.BotFlowSettings" }; } - set urlValue(e3) { - this._urlValue = this.reviveItem(e3, s.default); + }(); + t2.default = u; + }, 48109(e2, t2, i2) { + "use strict"; + t2.getListDisplayString = function(e3, t3, i3, n3) { + if (!e3) return ""; + if (o.default.isString(e3) && (e3 = [e3]), 0 === e3.length) return ""; + if (n3 && (e3 = e3.map((e4) => (0, r.sprintf)(s.generic.textWithSingleQuotes, e4))), (function(e4, t4) { + o.default.each(e4, function(i4, n4) { + void 0 === e4[n4] || null === e4[n4] ? e4[n4] = "" : t4 && (e4[n4] = i4.replace(/ /g, " ")); + }); + })(e3, t3), 1 === e3.length) return e3[0]; + const l = e3.pop(); + return e3.join(a.default.itemListing.itemSeparator).concat((i3 ? s.itemListing.lastItemOrSeparator : s.itemListing.lastItemAndSeparator) + l); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(17604), a = n2.__importDefault(i2(41510)), s = i2(47957); + }, 71314(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getManagedProperties = function e3(t3) { + let i3 = [], o = n2.default.isFunction(t3) ? t3 : t3.__proto__.constructor; + for (; o && (o.isBaseClassObject || o._super && o._super.isBaseClass); ) o.hasOwnProperty("managedProperties") && (i3 = i3.concat(o.managedProperties), n2.default.each(o.managedProperties, function(t4) { + if (t4.createDetails && t4.createDetails.getCreateClass) { + const n3 = e3(t4.createDetails.getCreateClass()); + n3 && n3.length && (i3 = i3.concat(n3)); + } + })), o = Object.getPrototypeOf(o); + return i3; + }; + const n2 = i2(31635).__importDefault(i2(92140)); + }, 59477(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.betaLanguageAllowlist = void 0, t2.isNavigatorSupportedLanguage = function(e3) { + const i3 = r.getBaseLanguageSubtag(e3); + return !!i3 && t2.betaLanguageAllowlist.includes(i3); + }, t2.isNavigatorFeatureAvailable = function() { + return o.isFeatureAvailable(a.default.botFlowsLLMPoweredFrontDoor); + }; + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = n2.__importStar(i2(98442)), a = n2.__importDefault(i2(4648)); + t2.betaLanguageAllowlist = ["en", "es"]; + }, 77862(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { ciceroTrainingWaitTimeMs: 2e3, compressionFormats: { none: "none" }, entityType: { maxListEntityItemValueStrLen: 50, maxListEntityTypes: 50 }, nodeIds: { intents: "intents", knowledge: "knowledge", learning: "learning", slots: "slots", slotTypes: "slot-types", dynamicSlotTypes: "dynamic-slots", utteranceHistory: "utterance-history", optimizationOverview: "optimization-overview" }, trainingStatuses: { error: "Error", trained: "Trained", training: "Training", unknown: "Unknown", untrained: "Untrained" }, validationResultTypes: { error: "error", info: "info", warn: "warn" }, variable: { virtualAgentEnabled: "virtualAgentEnabled", nameFollowUpSuffix: "_Follow_Up" } }; + }, 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) { + 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) { + 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) { + 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) { + if (!e3) return ""; + if (e3.isMenuChoice) { + if (!e3.action) return ""; + e3 = e3.action; + } + if (e3.nodeGuxIcon) return e3.nodeGuxIcon; + const t3 = (function(e4) { + 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.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) { + const n3 = (function(e4, t4) { + const i4 = p[e4]; + if (!i4) return null; + const n4 = new i4(t4); + if (!t4) { + n4.hasOwnProperty("id") && (n4.id = (0, a.uuid)()); + const t5 = h[e4]; + n4.name = t5.name; + } + return n4; + })(e3, i3), o2 = T(t3, n3); + return o2.setNewInstanceDefaults && o2.setNewInstanceDefaults(), o2.initializeDesignTime(), o2; + }, t2.getInfo = function(e3) { + return h[e3]; + }, t2.getFirstAction = function(e3, t3, i3, n3) { + const o2 = r.default.findWhere(f, { id: e3 }); + if (!o2) return null; + if (!o2.isAvailable) return null; + for (let e4 = 0; e4 < o2.actions.length; e4++) if (o2.actions[e4].info.getAvailability(t3, i3, n3)) return o2.actions[e4]; + }, t2._processBootstrapData = y; + const n2 = i2(31635), o = i2(17604), r = 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]; + if (!n3) throw new TypeError((0, o.sprintf)("Invalid action model for action '%s'", t3.name)); + const a2 = new n3(e3, t3); + return r.default.isArray(i3) && t3.__notApplicablePaths && i3.push(...t3.__notApplicablePaths), delete t3.__notApplicablePaths, a2; + } + function y(e3) { + const t3 = {}; + r.default.each(e3.actions, function(e4) { + var i3; + if (e4 && e4.id) { + const n3 = h[e4.id]; + n3 && (n3.loadServerData(e4), t3[n3.typeId] = (null === (i3 = n3.supportedFlowTypes) || void 0 === i3 ? void 0 : i3.join(", ")) || "none"); + } + }), r.default.each(h, function(i3) { + i3.needsServerInfo && !e3.actions[i3.typeId] && (t3[i3.typeId] = "none!!"); + }), s.table("Bootstrap action data support", t3); + } + t2.actionDefs = h, d.bootstrapDataLoaded.then(function(e3) { + y(e3); + }); + }, 41829(e2, t2, i2) { + "use strict"; + t2.obfuscation = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(73146), r = i2(39504), a = "1", s = a, l = a; + function u(e3, t3) { + return e3 + (function(e4) { + if (e4 <= 0) return 0; + const t4 = new Uint32Array(1); + return globalThis.crypto.getRandomValues(t4), t4[0] % e4; + })(t3 - e3 + 1); + } + t2.obfuscation = new class { + encodeStr(e3, t3) { + if (!n2.default.isString(e3) || 0 === e3.length) return; + const i3 = n2.default.isString(t3) ? t3 : a; + if (i3 < s || i3 > l) return; + let r2, c, d, p, _, h, m; + if (i3 === a) { + r2 = u(20, 45), d = ""; + for (let e4 = 0; e4 < r2; e4++) d += String.fromCharCode(u(32, 89)); + m = " "; + for (let e4 = 0; e4 < 10; e4++) m += String.fromCharCode(u(32, 89)); + c = u(2, 25), _ = (0, o.toAscii)(encodeURIComponent(e3)), d += _ + m, p = d.split(""), h = d.length; + for (let e4 = r2; e4 < h; e4++) p[e4] = String.fromCharCode(p[e4].charCodeAt(0) + c); + return p[h - 12] = String.fromCharCode(r2 + 13), p[h - 13] = String.fromCharCode(c + 21), p[h - 11] = String.fromCharCode(a.charCodeAt(0) + 28), p.join(""); + } + } + decodeStr(e3, t3) { + if (!n2.default.isString(e3) || 0 === e3.length) return; + const i3 = String.fromCharCode(e3.charCodeAt(e3.length - 11) - 28); + if (!n2.default.isString(i3) || i3 < s || i3 > l) return; + const o2 = e3.split(""); + 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; + c = e3.length - 13 - u2; + for (let e4 = u2; e4 < u2 + c; e4++) o2[e4] = String.fromCharCode(o2[e4].charCodeAt(0) - p); + return d = o2.slice(u2, u2 + c).join(""), decodeURIComponent((0, r.toBinary)(d)); + } } - get urlLabel() { - return this._urlLabel; + get versions() { + return { OBFUSCATION_VERSION_LATEST: l, OBFUSCATION_VERSION_ONE: a }; } - set urlLabel(e3) { - this._urlLabel = this.reviveItem(e3, s.default); + }(); + }, 58380(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isFiringEvents = function() { + return p > 0; + }, t2.changeEventEmitterForEventSink = function(e3, t3, i3, n3) { + const o2 = m(e3, n3); + if (!o2 || !e3 || !e3.id) return false; + let r2 = _[o2.instanceId]; + if (r2 && t3) { + const i4 = r2[t3]; + i4 && delete i4[e3.id]; } - pasteResolveOldToNewValues(e3) { - var t3, i3, n3, r3, o2, a2, s2; - super.pasteResolveOldToNewValues(e3), null === (t3 = this._headerType) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3), null === (i3 = this._headerImage) || void 0 === i3 || i3.pasteResolveOldToNewValues(e3), null === (n3 = this._headerText) || void 0 === n3 || n3.pasteResolveOldToNewValues(e3), null === (r3 = this._body) || void 0 === r3 || r3.pasteResolveOldToNewValues(e3), null === (o2 = this._footer) || void 0 === o2 || o2.pasteResolveOldToNewValues(e3), null === (a2 = this._urlValue) || void 0 === a2 || a2.pasteResolveOldToNewValues(e3), null === (s2 = this._urlLabel) || void 0 === s2 || s2.pasteResolveOldToNewValues(e3); + if (!i3) return true; + r2 || (r2 = {}, _[o2.instanceId] = r2); + let a2 = r2[i3]; + return a2 || (a2 = {}, r2[i3] = a2), a2[e3.id] = e3, true; + }, t2.createEventSinkObject = g, t2.fireEvent = function(e3, t3, i3, n3) { + if (!e3 || !e3.id || !t3) return false; + const o2 = m(e3, n3); + if (!o2) return false; + const a2 = _[o2.instanceId]; + if (!a2) return true; + const s2 = r.default.clone(a2[e3.id]); + if (!s2 || r.default.isEmpty(s2)) return true; + const l2 = "objEvent_" + t3; + return r.default.each(s2, (t4) => { + const n4 = t4[l2]; + if (n4 && (r.default.isFunction(n4.value) || r.default.isFunction(n4))) { + p++; + try { + r.default.isFunction(n4.value) ? n4.value.apply(t4, [e3, i3]) : n4.apply(t4, [e3, i3]); + } catch (e4) { + } finally { + p > 0 && p--; + } + } + }), true; + }, t2.getEventForSinksForEventEmitter = f, t2.hasEventSinksForEventEmitter = function(e3, t3) { + return !r.default.isUndefined(f(e3, t3)); + }, t2.registerEventSinkForEventEmitter = T, t2.removeEventEmitter = y, t2.unregisterAndRemoveObject = function(e3, t3) { + S(e3, t3), y(e3, t3); + }, t2.unregisterEventSink = S, t2.unregisterEventSinkForEventEmitter = A, t2.updateEventEmitterIdentifier = function(e3, t3, i3, n3) { + return A(e3, i3, n3), T(t3, i3, n3); + }, t2.addToAutoCleanupWatchList = function(e3, t3, i3, n3) { + const o2 = e3.findIndex((e4) => e4.eventName === t3 && e4.eventEmitterId === i3.id); + o2 >= 0 && (S(e3[o2]), e3.splice(o2, 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 r2 = Object.assign({ eventEmitterId: i3.id, eventName: t3 }, g(t3, i3, n3)); + T(i3.id, r2), e3.push(r2); + }, t2.cleanUpAutoCleanupWatchList = function(e3) { + e3.forEach((e4) => S(e4)), e3.length = 0; + }, t2.createObservableForEvent$ = function(e3, t3) { + return c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(d, "eventName")), c.ParameterValidator.expectObject(t3, () => u.ParameterInfo.createFunctionParameter(d, "eventEmittingObjectViewModel")), (0, o.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), o = i2(79364), r = 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]; + }; + function m(e3, t3) { + if (t3) { + if (t3.instanceId) return t3; + s.error(`overrideFlowViewModel: ${t3.id} did not have a instance id`); } - pasteReIdOrRename(e3) { - var t3, i3, n3, r3, o2, a2, s2; - super.pasteReIdOrRename(e3), null === (t3 = this._headerType) || void 0 === t3 || t3.pasteReIdOrRename(e3), null === (i3 = this._headerImage) || void 0 === i3 || i3.pasteReIdOrRename(e3), null === (n3 = this._headerText) || void 0 === n3 || n3.pasteReIdOrRename(e3), null === (r3 = this._body) || void 0 === r3 || r3.pasteReIdOrRename(e3), null === (o2 = this._footer) || void 0 === o2 || o2.pasteReIdOrRename(e3), null === (a2 = this._urlValue) || void 0 === a2 || a2.pasteReIdOrRename(e3), null === (s2 = this._urlLabel) || void 0 === s2 || s2.pasteReIdOrRename(e3); + if (e3) { + const t4 = e3.parentFlow; + if (t4 && t4.instanceId) return t4; } + s.error("could not find a valid flow"); + } + function g(e3, t3, i3, n3) { + 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 o2 = m(t3, n3), r2 = { amObjectEventSink: true, id: (0, a.uuid)(), parentFlow: o2, eventName: e3 }; + return r2["objEvent_" + e3] = i3, r2; + } + function f(e3, t3) { + const i3 = m(e3, t3); + if (!i3 || !e3 || !e3.id) return; + const n3 = _[i3.instanceId]; + if (!n3) return; + return n3[e3.id] || void 0; + } + function T(e3, t3, i3) { + const n3 = m(t3, i3); + if (!(n3 && e3 && t3 && t3.id)) return false; + let o2 = _[n3.instanceId]; + o2 || (o2 = {}, _[n3.instanceId] = o2); + let r2 = o2[e3]; + return r2 || (r2 = {}, o2[e3] = r2), r2[t3.id] && r2[t3.id] !== t3 && console.error("overriding existing event sink - you sure you want to do this?!?!?"), r2[t3.id] = t3, true; + } + function y(e3, t3) { + const i3 = m(e3, t3); + if (!i3 || !e3 || !e3.id) return false; + const n3 = _[i3.instanceId]; + return !n3 || (delete n3[e3.id], true); + } + function S(e3, t3) { + const i3 = m(e3, t3); + if (!i3 || !e3 || !e3.id) return false; + const n3 = _[i3.instanceId]; + return !n3 || (r.default.each(n3, (t4) => { + delete t4[e3.id]; + }), true); + } + function A(e3, t3, i3) { + const n3 = m(t3, i3); + if (!(n3 && e3 && t3 && t3.id)) return false; + const o2 = _[n3.instanceId]; + if (!o2) return true; + const r2 = o2[e3]; + return !r2 || (delete r2[t3.id], true); } - t2.SendRichLinkActionModel = l, l.__type = r2.sendRichLinkActionType, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "headerType", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "headerImage", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "headerText", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "body", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "footer", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "urlValue", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "urlLabel", null), l.registerType(); - }, 61587: (e2, t2, i2) => { + l.serviceListen(l.cleanUpFlow, h), l.serviceListen(l.flowLoadFailed, h); + }, 75773(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.of = void 0; - var n2 = i2(26404), r2 = i2(47058); - t2.of = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = n2.popScheduler(e3); - return r2.from(e3, i3); + Object.defineProperty(t2, "__esModule", { value: true }), t2.getOrgSupportsAudio = function() { + return o.isFeatureAvailable(r.default.orgAvailabilityMediaAudio); }; - }, 61610: (e2, t2, i2) => { + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = n2.__importDefault(i2(4648)); + }, 26847(e2, t2) { + "use strict"; + t2.outputIds = void 0, t2.outputIds = { _placeholder: "__PLACE_HOLDER__", active: "__ACTIVE__", addBranch: "__ADD_BRANCH__", canceled: "__CANCELED__", closed: "__CLOSED__", conditionsNotMet: "__CONDITIONS_NOT_MET__", default: "__DEFAULT__", disconnect: "__DISCONNECT__", emergency: "__EMERGENCY__", error: "__ERROR__", event: "__EVENT__", failure: "__FAILURE__", found: "__FOUND__", fake: "__FAKE__", holiday: "__HOLIDAY__", inactive: "__INACTIVE__", knowledge: "__KNOWLEDGE__", loop: "__LOOP__", loopNext: "__LOOP_NEXT__", loopsMax: "__LOOP_MAX__", matchExact: "__MATCH_EXACT__", matchMultiple: "__MATCH_MULTIPLE__", maxNoInputs: "__MAX_NO_INPUTS__", maxNoMatches: "__MAX_NO_MATCHES__", no: "__NO__", noEvent: "__NO_EVENT__", noInput: "__NO_INPUT__", noIntent: "__NO_INTENT__", notFound: "__NOT_FOUND__", open: "__OPEN__", partiallyFound: "__PARTIALLY_FOUND__", processed: "__PROCESSED__", skipResponseCapture: "__SKIP_RESPONSE_CAPTURE__", success: "__SUCCESS__", timeout: "__TIMEOUT__", valid: "__VALID__", invalid: "__INVALID__", voicemail: "__VOICEMAIL__", yes: "__YES__" }; + }, 15717(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isTaskLike = I, t2.hasTaskLikeProperty = function(e3) { - return "object" == typeof e3 && null !== e3 && I(e3.task); + Object.defineProperty(t2, "__esModule", { value: true }), t2.outputModesAll = t2.outputModeText = t2.outputModeVoice = void 0, t2.getOutputModeForOutputModeId = function(e3) { + if (e3.length) return r[e3.toLowerCase()]; }; - 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 C extends v.default { - constructor(e3) { - super(e3, e3), this.variables = []; + const n2 = i2(31635).__importDefault(i2(13446)), o = i2(47957), r = {}, a = (e3, t3) => r[e3] = n2.default.create(e3, t3); + t2.outputModeVoice = a("voice", o.outputModes.voice), t2.outputModeText = a("text", o.outputModes.text), t2.outputModesAll = Object.values(r); + }, 87719(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = class { + constructor(e3, t3, i2) { + this._hasPermission = e3, this._shiroString = t3, this._noPermissionDisplayString = i2; } - get className() { - return "BaseTaskViewModel"; + get results() { + return this.hasPermission; } - get nodeGuxIcon() { - return d.default.task; + get hasPermission() { + return this._hasPermission; } - get resources() { - return { startUpDisplayName: O.startUpTaskDisplayName }; + get lacksPermission() { + return !this._hasPermission; } - get defaultVariableScope() { - return g.scopes.task; + get shiroString() { + return this._shiroString; } - get localVariableScope() { - return g.scopes.task; + get displayString() { + return this.noPermissionDisplayString; } - get uiMetaDataSectionName() { - return "task"; + get noPermissionDisplayString() { + return this._noPermissionDisplayString; } - _loadModel(e3) { - if (!e3) return; - 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); - for (let e4 = 0; e4 < this.model.actionList.length; e4++) { - const n3 = this.model.actionList[e4]; - 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 = p.createActionWithModel(this, n3); - this.actions.push(e5), t3 && e5.id === t3 && (this.topAction = e5); - } - } + }; + }, 31736(e2, t2, i2) { + "use strict"; + t2.PermissionShiro = void 0; + const n2 = i2(31635), o = i2(17604), r = 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 = {}; + r.default.each(u.permissionStrings.external.externalAuthorizations, (e3) => p[e3] = true), r.default.each(u.permissionStrings.copilot.message, (e3) => p[e3] = true), p[u.permissionStrings.copilot.session.view] = true; + class _ { + constructor() { + Object.defineProperties(this, { _displayErrorString: { writable: true }, _domain: { writable: true }, _object: { writable: true }, _action: { writable: true, value: {} }, _originalShiroString: { writable: true } }); } - addVariable(e3) { - e3 && !o.default.contains(this.variables, e3) && (this.variables.push(e3), this.model.variables.push(e3.model), _.fireEvent(this, u.variableAdded, e3)); + static get className() { + return "PermissionShiro"; } - get amObjectEventEmitter() { + get isPermissionShiro() { return true; } - checkVersion(e3) { - o.default.each(this.actions, (t3) => { - t3.checkVersion(e3); - }); - } - get canCollapse() { - return false; - } - _preDestroy() { - super._preDestroy(), _.fireEvent(this, u.actionContainerDeleted); - } - _destroy() { - super._destroy(), o.default.each(o.default.clone(this.variables), (e3) => { - this.removeVariable(e3), e3.destroy(); - }), this.variables.length = 0; - } - getConfiguration(e3, t3) { - var i3; - let n3 = this.model.getConfiguration(e3, t3); - 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) ? 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); - } - _initializeDesignTime() { - super._initializeDesignTime(), o.default.each(this.actions, (e3) => { - e3.initializeDesignTime(); - }); - } - isNameUnique() { - if (!this.parent || !this.parent.tasks) return true; - const e3 = this.parent.tasks; - for (let t3 = 0; t3 < e3.length; t3++) { - const i3 = e3[t3]; - if (i3.id !== this.id && i3.name === this.name) return false; + _fromShiroString(e3) { + const t3 = e3.split(":"); + if (0 !== t3.length) { + switch (t3.length) { + case 1: + this._domain = new c.PermissionShiroValue(t3[0]), this._object = new c.PermissionShiroValue("*"), this._action = new c.PermissionShiroValue("*"); + break; + case 2: + 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 c.PermissionShiroValue(t3[0]), this._object = new c.PermissionShiroValue(t3[1]), this._action = new c.PermissionShiroValue(t3[2]); + break; + default: + d.error((0, o.sprintf)("Invalid permission string - %s", e3)); + } + this._originalShiroString = e3; } - return true; - } - get isInlineTask() { - return this.isHidden; - } - get isTaskLike() { - return true; - } - get isTopLevelNode() { - return true; - } - get hasChildren() { - return this.actions && this.actions.length > 0; - } - get containerLabel() { - return O.task.label; - } - get containerLabelAndName() { - return (0, r2.sprintf)(O.labelAndName, this.containerLabel, this.getDisplayName()); } - get supportsScopedData() { - return true; + get action() { + return this._action; } - get name() { - return super.name; + get domain() { + return this._domain; } - set name(e3) { - super.name = e3, this.parentFlow.getUiMetadataInfoById(this.uiMetaDataSectionName, this.id) && this.parentFlow.setUiMetadataInfo(this.uiMetaDataSectionName, { id: this.id, name: this.name }); + get object() { + return this._object; } - 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), _.fireEvent(this, u.variableRemoved, e3); + get displayErrorString() { + return this._displayErrorString; } - search(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)); + toString() { + return this._cachedToString || (this._cachedToString = (0, o.sprintf)("%s:%s:%s", this.domain.value, this.object.value, this.action.value)), this._cachedToString; } - traverse(e3) { - if (!e3 || e3.isCanceled) return; - const t3 = e3.getTaskCallback(); - if (t3) { - const i3 = e3.createCallbackParam(true); - if (t3(this, i3), !e3.processCallbackParamAndContinue(i3, true)) return; + static isAllowedArchitectPermission(e3) { + if (p[e3]) return true; + const t3 = e3.split(":"); + if (0 === t3.length) return false; + switch (t3.length) { + case 1: + return r.default.isEqual(t3[0], "architect") || r.default.isEqual(t3[0], "authorization") || r.default.isEqual(t3[0], "*"); + case 2: + case 3: + return (r.default.isEqual(t3[0], "architect") || r.default.isEqual(t3[0], "authorization") || r.default.isEqual(t3[0], "*")) && (l.allowedPermissionList[t3[1]] || r.default.isEqual(t3[0], "*")); + default: + d.error((0, o.sprintf)("Invalid permission string - %s", e3)); } - super.traverse(e3); - } - get trackingId() { - return this.model.trackingId; - } - set trackingId(e3) { - h.setNodeTrackingId(this, e3); - } - updateDependencies() { - o.default.each(this.actions, (e3) => { - e3.updateDependencies(); - }); - } - validate(e3) { - super.validate(e3), this.shouldBeTerminated && (this.isTerminating || e3.addError(this, this.resources.noTerminatingAction)); } - get shouldBeTerminated() { - return true; + static createOnDivision(e3, t3, i3) { + i3 || (t3.divisions[a.starDivision] || (t3.divisions[a.starDivision] = s.DivisionViewModel.create(a.starDivision, "Star Division")), i3 = t3.divisions[a.starDivision]), this.isAllowedArchitectPermission(e3) && i3.addPermission(_.create(e3)); } - get wrappedYamlName() { - return this.uiMetaDataSectionName; + static createOnUser(e3, t3) { + const i3 = e3.split(":"); + e3.contains(",") || 4 === i3.length ? 3 === i3.length ? r.default.each(i3[2].split(","), (e4) => _.createOnDivision(`${i3[0]}:${i3[1]}:${e4}`, t3)) : 4 === i3.length && r.default.each(i3[2].split(","), (e4) => { + r.default.each(i3[3].split(","), (n3) => { + "00000000-0000-0000-0000-000000000000" !== n3 && (t3.divisions[n3] || (t3.divisions[n3] = s.DivisionViewModel.create(n3, void 0)), _.createOnDivision(`${i3[0]}:${i3[1]}:${e4}`, t3, t3.divisions[n3])); + }); + }) : _.createOnDivision(e3, t3); } - get yamlPropertyOrderMap() { - return o.default.extend(super.yamlPropertyOrderMap, { trackingId: 15, variables: 20, actions: 30 }); + static create(e3, t3) { + const i3 = new _(); + return i3._fromShiroString(e3), i3._displayErrorString = t3, i3; } - 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)); - } - }); - } - }); - } - })); - }); + hasPermission(e3) { + return e3 && e3.isPermissionShiro && this.domain.isMatch(e3.domain) && this.object.isMatch(e3.object) && this.action.isMatch(e3.action); } } - t2.default = C; - }, 61684: (e2, t2, i2) => { + t2.PermissionShiro = _; + }, 11015(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ScheduleViewModel = void 0; - const n2 = i2(74483); - class r2 extends n2.NameIdConfigurationListViewModel { + t2.PermissionShiroValue = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55909), r = i2(33951); + t2.PermissionShiroValue = class { constructor(e3) { - super(e3); + r.ParameterValidator.expectString(e3, () => o.ParameterInfo.createConstructorParameter(this.className, "value")), Object.defineProperties(this, { _value: { writable: true, value: e3 }, _valueLCase: { writable: true, value: n2.default.isString(e3) ? e3.toLowerCase() : e3 } }); } get className() { - return "ScheduleViewModel"; - } - get label() { - return this._model.name; + return "PermissionShiroValue"; } - } - t2.ScheduleViewModel = r2; - }, 61730: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SchemaViewModel = void 0, t2.SchemaViewModel = class { - constructor(e3) { - this._model = e3; + get isPermissionShiroValue() { + return true; } - get className() { - return "SchemaViewModel"; + get isWildCard() { + return "*" === this.value; } - get isBaseClass() { - return false; + get valueLCase() { + return this._valueLCase; } - get id() { - return this._model.id; + get value() { + return this._value; } - get name() { - return this._model.name; + set value(e3) { + this._value = r.ParameterValidator.expectString(e3, () => o.ParameterInfo.createPropertySet(this.className, "value", "value")); } - get schema() { - return this._model.schema; + isMatch(e3) { + return e3 && e3.isPermissionShiroValue && (this.isWildCard || this._valueLCase === e3.valueLCase); } }; - }, 61778: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.bufferToggle = void 0; - 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 c = []; - a.innerFrom(e3).subscribe(s.createOperatorSubscriber(o2, function(e4) { - var i4 = []; - c.push(i4); - var n3 = new r2.Subscription(); - n3.add(a.innerFrom(t3(e4)).subscribe(s.createOperatorSubscriber(o2, function() { - 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(c), o3 = r3.next(); !o3.done; o3 = r3.next()) o3.value.push(e4); - } catch (e5) { - t4 = { error: e5 }; - } finally { - try { - o3 && !o3.done && (i4 = r3.return) && i4.call(r3); - } finally { - if (t4) throw t4.error; - } - } - }, function() { - for (; c.length > 0; ) o2.next(c.shift()); - o2.complete(); - })); - }); - }; - }, 61781: (e2, t2, i2) => { + }, 58491(e2, t2) { "use strict"; - 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); - } - } - 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) => { + t2.allowedPermissionList = void 0, t2.allowedPermissionList = { authorization: true, dependencyTracking: true, division: true, flow: true, flowChangeset: true, flowExecution: true, flowInstance: true, flowInstanceExecutionData: true, flowLogLevel: true, flowLogLevelDefault: true, flowMilestone: true, flowOutcome: true, grammar: true, systemPrompt: true, userPrompt: true, ui: true, virtualAgentFlow: true }; + }, 67210(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(96946)), s = i2(30801); - class l extends r2.default { - constructor(e3) { - super(e3), this._positionInQueue = this.coreFactory.createArchValueFromExpression(e3.positionInQueue), this._positionInQueueAudio = this.coreFactory.createArchWrapper(e3.prompts)._setNotWritableOverride(true); - } - get _actionTypeId() { - return s.playPositionInQueueActionType; + t2.permissionService = void 0; + const n2 = i2(31635), o = i2(17604), r = 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() { + this._staticPermissions = {}, this._createStaticPermissions(); } - get displayTypeName() { - return this._scriptingName; + _createStaticPermissions() { + this.staticPermissions[_.permissionStrings.architect.application.use] = p.PermissionShiro.create(_.permissionStrings.architect.application.use), this.staticPermissions[_.permissionStrings.responseAssets.asset.add] = p.PermissionShiro.create(_.permissionStrings.responseAssets.asset.add, (0, o.sprintf)(m.generic.permissions.missing.responseAssets.asset.responseAssetMissingPermissionAdd, _.permissionStrings.responseAssets.asset.add)), this.staticPermissions[_.permissionStrings.responseAssets.asset.view] = p.PermissionShiro.create(_.permissionStrings.responseAssets.asset.view, (0, o.sprintf)(m.generic.permissions.missing.responseAssets.asset.responseAssetMissingPermissionView, _.permissionStrings.responseAssets.asset.view)), this.staticPermissions[_.permissionStrings.architect.dependencyTracking.rebuild] = p.PermissionShiro.create(_.permissionStrings.architect.dependencyTracking.rebuild, m.generic.permissions.missing.dependencyTracking.rebuild), this.staticPermissions[_.permissionStrings.architect.dependencyTracking.view] = p.PermissionShiro.create(_.permissionStrings.architect.dependencyTracking.view, m.generic.permissions.missing.dependencyTracking.view), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsBotFlowReportingTurnView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsBotFlowReportingTurnView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsBotFlowSessionView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsBotFlowSessionView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsSurveyAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsSurveyAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.audit] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.audit), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.bridge] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.bridge), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.integrations] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.integrations), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.intentMinerView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.intentMinerView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.previewWidgetView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.previewWidgetView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.response] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.response), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.responseLibrary] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.responseLibrary), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.schedules] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.schedules), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualitySurveyFormView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualitySurveyFormView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.scripts] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.scripts), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.queues] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.queues), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.voicemailReceive] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.voicemailReceive), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.processAutomationTriggerView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.processAutomationTriggerView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.wrapupCode] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.wrapupCode), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.wrapupCodeSearch] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.wrapupCodeSearch), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.languageSkills] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.languageSkills), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsConversationAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsConversationAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsConversationDetailView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsConversationDetailView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.conversationCommunicationView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.conversationCommunicationView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualityCalibrationView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualityCalibrationView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualityEvaluationEditScore] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualityEvaluationEditScore), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualityEvaluationAdd] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualityEvaluationAdd), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsFlowAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsFlowAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsKnowledgeAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsKnowledgeAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsSummaryAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsSummaryAggregateView), this.staticPermissions[_.permissionStrings.journey.flowpaths.view] = p.PermissionShiro.create(_.permissionStrings.journey.flowpaths.view, m.generic.permissions.missing.journey.flowpaths.journeyFlowsView), this.staticPermissions[_.permissionStrings.conversation.conference.add] = p.PermissionShiro.create(_.permissionStrings.conversation.conference.add, m.generic.permissions.missing.conversation.conference.add), this.staticPermissions[_.permissionStrings.architect.flow.add] = p.PermissionShiro.create(_.permissionStrings.architect.flow.add, m.generic.permissions.missing.flow.allPermissions.add), this.staticPermissions[_.permissionStrings.architect.flow.delete] = p.PermissionShiro.create(_.permissionStrings.architect.flow.delete, m.generic.permissions.missing.flow.allPermissions.delete), this.staticPermissions[_.permissionStrings.architect.flow.edit] = p.PermissionShiro.create(_.permissionStrings.architect.flow.edit, m.generic.permissions.missing.flow.allPermissions.edit), this.staticPermissions[_.permissionStrings.architect.flow.launch] = p.PermissionShiro.create(_.permissionStrings.architect.flow.launch, m.generic.permissions.missing.flow.allPermissions.launch), this.staticPermissions[_.permissionStrings.architect.flow.publish] = p.PermissionShiro.create(_.permissionStrings.architect.flow.publish, m.generic.permissions.missing.flow.allPermissions.publish), this.staticPermissions[_.permissionStrings.architect.flow.search] = p.PermissionShiro.create(_.permissionStrings.architect.flow.search, m.generic.permissions.missing.flow.allPermissions.search), this.staticPermissions[_.permissionStrings.architect.flow.unlock] = p.PermissionShiro.create(_.permissionStrings.architect.flow.unlock, m.generic.permissions.missing.flow.allPermissions.unlock), this.staticPermissions[_.permissionStrings.architect.flow.view] = p.PermissionShiro.create(_.permissionStrings.architect.flow.view, m.generic.permissions.missing.flow.allPermissions.view), this.staticPermissions[_.permissionStrings.architect.flowExecution.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowExecution.view, m.executionHistory.flowExecutionViewPermission), this.staticPermissions[_.permissionStrings.architect.flowInstance.search] = p.PermissionShiro.create(_.permissionStrings.architect.flowInstance.search, m.executionHistory.flowInstanceQueryPermission), this.staticPermissions[_.permissionStrings.architect.flowInstance.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowInstance.view, m.executionHistory.flowInstanceViewPermission), this.staticPermissions[_.permissionStrings.architect.flowLogLevel.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowLogLevel.view, m.executionDataConfiguration.flowLogLevelViewPermission), this.staticPermissions[_.permissionStrings.architect.flowLogLevelDefault.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowLogLevelDefault.view, m.executionDataConfiguration.flowLogLevelDefaultViewPermission), this.staticPermissions[_.permissionStrings.architect.flowChangeset.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowChangeset.view), this.staticPermissions[_.permissionStrings.architect.flowInstanceExecutionData.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowInstanceExecutionData.view, m.executionDataConfiguration.flowInstanceExecutionDataViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.settingsExecutionDataView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.settingsExecutionDataView, m.executionDataConfiguration.organizationExecutionDataViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.directoryOrganizationAdmin] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.directoryOrganizationAdmin, m.executionDataConfiguration.directoryOrganizationAdminPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsFlowExecutionAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsFlowExecutionAggregateView), this.staticPermissions[_.permissionStrings.architect.systemPrompt.edit] = p.PermissionShiro.create(_.permissionStrings.architect.systemPrompt.edit, m.generic.permissions.missing.prompts.systemPrompts.edit), this.staticPermissions[_.permissionStrings.architect.systemPrompt.view] = p.PermissionShiro.create(_.permissionStrings.architect.systemPrompt.view, m.generic.permissions.missing.prompts.systemPrompts.view), this.staticPermissions[_.permissionStrings.architect.userPrompt.add] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.add, m.generic.permissions.missing.prompts.userPrompts.add), this.staticPermissions[_.permissionStrings.architect.userPrompt.delete] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.delete, m.generic.permissions.missing.prompts.userPrompts.delete), this.staticPermissions[_.permissionStrings.architect.userPrompt.edit] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.edit, m.generic.permissions.missing.prompts.userPrompts.edit), this.staticPermissions[_.permissionStrings.architect.userPrompt.view] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.view, m.generic.permissions.missing.prompts.userPrompts.view), this.staticPermissions[_.permissionStrings.architect.virtualAgentFlow.edit] = p.PermissionShiro.create(_.permissionStrings.architect.virtualAgentFlow.edit, m.generic.permissions.missing.flow.allPermissions.edit), this.staticPermissions[_.permissionStrings.architect.grammar.add] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.add, m.generic.permissions.missing.grammars.grammarsMissingPermissionAdd), this.staticPermissions[_.permissionStrings.architect.grammar.delete] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.delete, m.generic.permissions.missing.grammars.grammarsMissingPermissionDelete), this.staticPermissions[_.permissionStrings.architect.grammar.edit] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.edit, m.generic.permissions.missing.grammars.grammarsMissingPermissionEdit), this.staticPermissions[_.permissionStrings.architect.grammar.view] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.view, m.generic.permissions.missing.grammars.grammarsMissingPermissionView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentView, m.agenticVirtualAgent.agenticVirtualAgentViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentVersionView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentVersionView, m.agenticVirtualAgent.agenticVirtualAgentVersionViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.guideView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.guideView, m.guide.guideViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.guideVersionView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.guideVersionView, m.guide.guideVersionViewPermission), this.staticPermissions[_.permissionStrings.recording.retentionPolicy.view] = p.PermissionShiro.create(_.permissionStrings.recording.retentionPolicy.view, m.generic.permissions.missing.recording.retentionPolicy.recordingRetentionPolicyView), this.staticPermissions[_.permissionStrings.journey.actionMap.view] = p.PermissionShiro.create(_.permissionStrings.journey.actionMap.view, m.generic.permissions.missing.journey.actionmap.journeyActionmapView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.workitemsView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.workitemsView, m.generic.permissions.missing.taskManagementWorkitems.workItemsMissingPermissionView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.geocodingGeolocationFetch] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.geocodingGeolocationFetch, m.generic.permissions.missing.taskManagementWorkitems.workItemsMissingPermissionView), this.staticPermissions[_.permissionStrings.architect.flowOutcome.add] = p.PermissionShiro.create(_.permissionStrings.architect.flowOutcome.add, m.generic.permissions.missing.flow.flowOutcomes.add), this.staticPermissions[_.permissionStrings.architect.flowOutcome.search] = p.PermissionShiro.create(_.permissionStrings.architect.flowOutcome.search, (0, o.sprintf)(m.generic.permissions.missing.flow.flowOutcomes.noPermissionToAddFlowOutcome, m.generic.permissions.missing.flow.flowOutcomes.search)), this.staticPermissions[_.permissionStrings.architect.flowMilestone.add] = p.PermissionShiro.create(_.permissionStrings.architect.flowMilestone.add, m.generic.permissions.missing.flow.flowMilestones.add), this.staticPermissions[_.permissionStrings.architect.flowMilestone.search] = p.PermissionShiro.create(_.permissionStrings.architect.flowMilestone.search, (0, o.sprintf)(m.generic.permissions.missing.flow.flowMilestones.noPermissionToAddFlowMilestone, m.generic.permissions.missing.flow.flowMilestones.search)), this.staticPermissions[_.permissionStrings.copilot.session.view] = p.PermissionShiro.create(_.permissionStrings.copilot.session.view, m.generic.permissions.missing.copilot.session), this.staticPermissions[_.permissionStrings.copilot.message.view] = p.PermissionShiro.create(_.permissionStrings.copilot.message.view, m.generic.permissions.missing.copilot.message.view), this.staticPermissions[_.permissionStrings.copilot.message.send] = p.PermissionShiro.create(_.permissionStrings.copilot.message.send, m.generic.permissions.missing.copilot.message.send); } - get positionInQueue() { - return this._positionInQueue; + get staticPermissions() { + return this._staticPermissions; } - get positionInQueueAudio() { - return this._positionInQueueAudio; + getAuthValidationWarning(e3, t3) { + const i3 = t3 ? m.externalAuths.thirdPersonValidationContext : m.externalAuths.validationContext; + let n3 = ""; + return e3 !== _.permissionStrings.external.externalAuthorizations.voicemailReceive ? "" : (n3 = "voicemailReceive", (0, o.sprintf)(i3, m.externalAuths[n3].displayTitle)); } - get isArchActionPlayPositionInQueue() { - return true; + get featureTogglesLoaded() { + return void 0 !== g || a.featureTogglesLoaded.isPending() || (g = true), g; } - get playbackMode() { - switch (this._coreActionViewModel.playbackMode) { - case a.default.ahead: - return o.default.PLAY_POSITION_STYLES.ahead; - case a.default.number: - return o.default.PLAY_POSITION_STYLES.number; - case a.default.ordinal: - return o.default.PLAY_POSITION_STYLES.ordinal; - default: - this._logErrorInternalAndThrow("unknown core position in queue playback mode"); - } + addPermissionToUser(e3, t3) { + p.PermissionShiro.createOnUser(e3, t3); } - set playbackMode(e3) { - switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newPlaybackMode", "playbackMode"), e3, o.default.PLAY_POSITION_STYLES_ALL), this.logNote("setting the playback mode to '" + e3 + "'"), e3) { - case o.default.PLAY_POSITION_STYLES.ahead: - this._coreActionViewModel.playbackMode = a.default.ahead; - break; - case o.default.PLAY_POSITION_STYLES.number: - this._coreActionViewModel.playbackMode = a.default.number; - break; - case o.default.PLAY_POSITION_STYLES.ordinal: - this._coreActionViewModel.playbackMode = a.default.ordinal; + checkDivisionHasPermission(e3, t3) { + const i3 = r.default.extEnsureArray(t3); + 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 = r.default.find(i3, (t4) => !r.default.find(e3.permissions, (e4) => e4.hasPermission(t4))), r.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[c.starDivision], t3); + if (e4.hasPermission) return e4; } + return e3 ? (null == e3 ? void 0 : e3.isStarDivision) ? new d.default(false, n3.toString(), (0, o.sprintf)(m.generic.permissions.missingPermission, n3.toString())) : new d.default(false, n3.toString(), (0, o.sprintf)(m.generic.permissions.missingPermissionWithDivision, n3.toString(), (null == e3 ? void 0 : e3.name) || "unknown")) : new d.default(false); } - } - t2.default = l; - }, 61843: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(38676)), o = n2.__importDefault(i2(62446)), a = { ArchPromptSystem: r2.default, ArchPromptUser: o.default }; - t2.default = a; - }, 61846: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(93973); - function o() { - } - o.prototype.getLanguageSkills = function(e3) { - const t3 = n2.build(r2.getLanguageSkills); - return t3.queryParams(e3.getSearchQueryParams()), t3.call(); - }, o.prototype.getLanguageSkill = function(e3) { - 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) => { - "use strict"; - 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 c extends s.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3), this._decimalFacets = new o.default(), (0, a.makeUnenumerable)(this, "_decimalFacets"); - } - get isExpressionTypeDecimalOptions() { - return true; - } - get className() { - return "ExpressionTypeDecimalOptions"; - } - get facets() { - return this._decimalFacets; + getDivisionsForPermission(e3, t3, i3) { + if (!t3) return h.error("No permission to check was passed in."), []; + if (!e3) return h.error("User is undefined, something has gone wrong here."), []; + const n3 = []; + if (i3) { + const i4 = r.default.find(e3.divisions, (e4) => this.checkDivisionHasPermission(e4, t3).hasPermission); + i4 && n3.push(i4); + } else this.checkDivisionHasPermission(a.getConnectedUser().divisions[c.starDivision], t3).hasPermission ? n3.push(...Object.values(u.divisionManager.items)) : r.default.each(e3.divisions, (e4) => { + this.checkDivisionHasPermission(e4, t3).hasPermission && n3.push(e4); + }); + return n3; } - set facets(e3) { - this._decimalFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isDecimalFacets, e3, "DecimalFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); + checkHasPermissionInAtLeastOneDivision(e3, t3) { + return this.getDivisionsForPermission(e3, t3, true).length > 0 ? new d.default(true, t3.toString(), void 0) : new d.default(false, t3.toString(), t3.displayErrorString); } - _setRestrictionsFromOperandDef(e3) { - 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); + checkFlowHasPermission(e3, t3, i3) { + if (!t3) return h.error((0, o.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, o.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 d.default(false, i3, m.generic.permissions.missing.flow.noSpecificDivision.view); } - } - 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_-"; - function l() { - o = false; - } - function u(e3) { - if (e3) { - if (e3 !== n2) { - if (64 !== e3.length) throw new Error("Custom alphabet for shortid must be 64 unique characters. You submitted " + e3.length + " characters: " + e3); - var t3 = e3.split("").filter(function(e4, t4, i3) { - return t4 !== i3.lastIndexOf(e4); - }); - if (t3.length) throw new Error("Custom alphabet for shortid must be 64 unique characters. These characters were not unique: " + t3.join(", ")); - n2 = e3, l(); - } - } else n2 !== s && (n2 = s, l()); - } - 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]); - return i3.join(""); - })()); - } - e2.exports = { get: function() { - return n2 || s; - }, characters: function(e3) { - return u(e3), n2; - }, seed: function(e3) { - a.seed(e3), r2 !== e3 && (l(), r2 = e3); - }, lookup: function(e3) { - 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), c = r2.__importDefault(i2(92140)); - class d extends s.BaseExpressionTypeOptions { - static create(e3) { - return new this().invokeOptionsCallback(e3); + getDivisionListFromDivisionsErrorString(e3) { + if (!r.default.isString(e3)) return null; + const t3 = "$~$~"; + "[" === (e3 = e3.trim()).charAt(0) && (e3 = e3.substring(1)), "]" === e3.charAt(e3.length - 1) && (e3 = e3.slice(0, -1)); + const i3 = /(\([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})\)/; + let n3 = i3.exec(e3); + for (; n3 && n3.length > 0; ) e3 = e3.replace(n3[0], t3), n3 = i3.exec(e3); + e3.slice(-4) === t3 && (e3 = e3.slice(0, -4)); + let o2 = e3.split(t3 + ","); + return o2 = r.default.map(o2, (e4) => e4 || m.flow.unknownDivision), o2; + } + getDivisionListFromDivisionUrisErrorString(e3) { + let t3; + try { + t3 = JSON.parse(e3); + } catch (t4) { + h.exception(t4, `Failed to parse divisionUris property from error response. Contents:"${e3}"`); + } + return t3 && r.default.isArray(t3) ? r.default.map(t3, (e4) => e4.name || m.flow.unknownDivision) : []; + } + get missingDivisionPermissionString() { + return "missing.division.permission"; } + }(); + }, 18638(e2, t2, i2) { + "use strict"; + t2.permissionServiceHelper = void 0; + const n2 = i2(31635), o = i2(17604), r = 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() { - super(), this._durationFacets = new o.default(), this._allowBlankAudio = true, (0, a.makeUnenumerable)(this, "_durationFacets"), (0, a.makeUnenumerable)(this, "_allowBlankAudio"), this.allowSecure = true; + this.permissionMap = void 0; } - _setFromOptions(e3) { - 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); + canAddResponseAsset() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.responseAssets.asset.add]).hasPermission; } - _setFacetsFromOptions(e3) { - super._setFacetsFromOptions(e3), e3.isAudioViewModelOptions && c.default.isActualNumber(e3.maxDuration) && this.durationFacets.setMaxDur(e3.maxDuration, e3.maxDurInclusive); + canViewResponseAsset() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.responseAssets.asset.view]).hasPermission; } - get isExpressionTypeAudioOptions() { - return true; + getDivisionsWithAddResponseAssetPermission() { + return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.responseAssets.asset.add]); } - get className() { - return "ExpressionTypeAudioOptions"; + canViewActionMap() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.journey.actionMap.view]).hasPermission; } - get allowBlankAudio() { - return this._allowBlankAudio; + canViewProcessAutomationTriggers() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.processAutomation.triggers.view]).hasPermission; } - set allowBlankAudio(e3) { - this._allowBlankAudio = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "allowBlankAudio", "value")); + canViewWorkitems() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.workitemsView]).hasPermission; } - get durationFacets() { - return this._durationFacets; + canRebuildDependencyTracking() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.dependencyTracking.rebuild]).hasPermission; } - set durationFacets(e3) { - this._durationFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isDurationFacets, e3, "DurationFacets", () => l.ParameterInfo.createPropertySet(this.className, "durationFacets", "value")); + canEditVirtualAgentFlow() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.virtualAgentFlow.edit]).hasPermission; } - setAllowBlankAudio(e3) { - return this.allowBlankAudio = e3, this; + canViewVirtualAgentWrapupCodeGrid() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.wrapupCode]).hasPermission && s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.wrapupCodeSearch]).hasPermission; } - } - 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(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); + canViewDependencyTracking() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.dependencyTracking.view]).hasPermission; } - get displayTypeName() { - return "ArchBaseMenuChoice"; + canViewFlowExecution() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowExecution.view]).hasPermission; } - addSpeechRecTerm(e3, t3) { - const i3 = this._infoParm("newTerm", "addSpeechRecTerm"); - this._checkItemIsValidLiteralString(i3, t3), this._checkItem(this._infoParm("archLanguage", "addSpeechRecTerm"), !e3 || !e3.isArchLanguage, "you must specify a language where the speech rec term will be added."); - const n3 = this.getSpeechRecTermContainer(e3); - return !!n3 && n3.addTerm(t3); + canViewFlowDefaultLogLevelConfiguration() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowLogLevelDefault.view]).hasPermission; } - get logStr() { - if (!this._coreMenuChoiceViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrTrackingId(e3, this.trackingId), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + canViewFlowLogLevelConfiguration() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowLogLevel.view]).hasPermission; } - get dtmf() { - return this._getDtmfForCoreDigit(this._infoPropGet("dtmf"), this._coreMenuChoiceViewModel.dtmf, true); + canViewLogLevelConfigurationForFlow(e3) { + return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flowLogLevel.view).hasPermission; } - set dtmf(e3) { - this._coreMenuChoiceViewModel.dtmf = this._getCoreDigitForDtmf(this._infoPropSet("newDtmfValue", "dtmf"), e3); + canManageExecutionDataConfigurationInAdmin() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowInstanceExecutionData.view]).hasPermission && s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.directoryOrganizationAdmin]).hasPermission; } - get dtmfIsGlobal() { - return this._coreMenuChoiceViewModel.globalDtmf; + canViewSettingsExecutionData() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.settingsExecutionDataView]).hasPermission; } - set dtmfIsGlobal(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "dtmfIsGlobal"), e3), this.logNote("setting the dtmf is global value to " + e3), this._coreMenuChoiceViewModel.globalDtmf = e3; + canQueryAnalyticsFlowExecutionAggregate() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.analyticsFlowExecutionAggregateView]).hasPermission; } - getSpeechRecTermContainer(e3) { - return this.speechRecTermContainers.getContainer(e3); + canQueryFlowInstanceHistory() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowInstance.search]).hasPermission; } - get isArchBaseMenuChoice() { - return true; + canViewFlowInstanceHistory() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flowInstance.view]).hasPermission; } - get name() { - return this._coreMenuChoiceViewModel.name; + canViewUserPrompts() { + return this.checkCanViewUserPrompts().hasPermission; } - set name(e3) { - if (!e3) throw "you cannot have a blank name set on a menu, sub menu or menu action"; - if (this.logNote("setting the name to '" + e3 + "'"), this._coreMenuChoiceViewModel.name = e3, this._coreMenuChoiceViewModel.action && this._coreMenuChoiceViewModel.action.info) switch (this._coreMenuChoiceViewModel.action.info.typeId) { - case o.taskActionActionType: - this._coreMenuChoiceViewModel.task && (this.logNote("setting the underlying task name to '" + e3 + "'"), this._coreMenuChoiceViewModel.task.name = e3); - break; - case r2.menuActionActionType: - this._coreMenuChoiceViewModel.menu && (this.logNote("setting the underlying menu name to '" + e3 + "'"), this._coreMenuChoiceViewModel.menu.name = e3); - } - this._coreMenuChoiceViewModel.action.nameFacetError && this.logErrorAndThrow(this._coreMenuChoiceViewModel.action.nameFacetError); + checkCanViewUserPrompts() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.userPrompt.view]); } - get speechRecTermContainers() { - return this._archSpeechRecTermContainers; + canEditUserPrompts() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.userPrompt.edit]).hasPermission; } - get speechRecTermsAreGlobal() { - return this._coreMenuChoiceViewModel.globalSpeech; + canViewSystemPrompts() { + return this.checkCanViewSystemPrompts().hasPermission; } - set speechRecTermsAreGlobal(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "speechRecTermsAreGlobal"), e3), this.logNote("setting the speech rec terms are global value to " + e3), this._coreMenuChoiceViewModel.globalSpeech = e3; + checkCanViewSystemPrompts() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.systemPrompt.view]); } - get trackingId() { - return this._coreMenuChoiceViewModel.trackingId; + canEditSystemPrompts() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.systemPrompt.edit]).hasPermission; } - } - t2.default = s; - }, 62061: (e2, t2, i2) => { - const n2 = i2(75458), r2 = i2(7401), { getRawSIPHeadersActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _rawSIPHeadersResult: { writable: true }, _errorBindings: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { rawSIPHeadersResult: { enumerable: true, get: function() { - return this._rawSIPHeadersResult; - }, set: function(e3) { - this._rawSIPHeadersResult = this.reviveItem(e3, r2); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this._rawSIPHeadersResult.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this._rawSIPHeadersResult.pasteResolveOldToNewValues(e3); - } } }), e2.exports = a; - }, 62100: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { - constructor(e3) { - super(e3); + getDivisionsWithFlowView() { + return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.flow.view]); } - get id() { - return this._id; + getDivisionsWithFlowAdd() { + const e3 = r.default.map(u.uiFeatureSetInfo.flowAddOrSaveAs.permissions, (e4) => s.permissionService.staticPermissions[e4]); + return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), e3); } - set id(e3) { - this._id = e3; + getDivisionsWithFlowChangeDivision() { + const e3 = r.default.map(u.uiFeatureSetInfo.flowEditDivision.permissions, (e4) => s.permissionService.staticPermissions[e4]); + return s.permissionService.getDivisionsForPermission(a.getConnectedUser(), e3); } - get name() { - return this._name; + canAddFlowToDivision(e3) { + const t3 = r.default.map(u.uiFeatureSetInfo.flowAddOrSaveAs.permissions, (e4) => s.permissionService.staticPermissions[e4]); + return s.permissionService.checkDivisionHasPermission(e3, t3).hasPermission; } - set name(e3) { - this._name = e3; + canUnlockFlow(e3) { + return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.unlock).hasPermission; } - get latestProductionReadyVersion() { - return this._latestProductionReadyVersion; + canDeleteFlow(e3) { + return this.checkCanDeleteFlow(e3).hasPermission; } - set latestProductionReadyVersion(e3) { - this._latestProductionReadyVersion = e3; + checkCanDeleteFlow(e3) { + return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.delete); } - } - 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); - }, 62115: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(45421), { ParameterInfo: o } = i2(55909), { ParameterValidator: a } = i2(33951); - e2.exports = class extends r2 { - constructor(e3, t3) { - super(e3), a.expectString(t3, () => o.createConstructorParameter(this.className, "title")), Object.defineProperties(this, { _map: { value: {}, writable: true }, _title: { value: t3 } }); + canEditFlow(e3) { + return this.checkCanEditFlow(e3).hasPermission; } - _valueLogStr(e3) { - return n2.isString(e3) ? "'" + e3 + "'" : e3; + checkCanEditFlow(e3) { + return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.edit); } - get className() { - return "BaseOldToNewMap"; + canPublishFlow(e3) { + return this.checkCanPublishFlow(e3).hasPermission; } - get isBaseOldToNewMap() { - return true; + checkCanPublishFlow(e3) { + return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.publish); } - get titleLogPrefix() { - return this._title + " > "; + checkCanUnlockFlow(e3) { + return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.unlock); } - dump(e3) { - this.shouldLog && (this.log("> " + this._title), n2.isEmpty(this._map) ? this.log(" None.") : this._dumpContent(), this.log(" ")); + canViewFlow(e3) { + return this.checkCanViewFlow(e3).hasPermission; } - _dumpContent(e3) { + checkCanViewFlow(e3) { + return s.permissionService.checkFlowHasPermission(e3, a.getConnectedUser(), l.permissionStrings.architect.flow.view); } - get map() { - return this._map; + canViewBotSessions() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.analyticsBotFlowReportingTurnView]).hasPermission; } - reset() { - this._map = {}; + canViewIntentMiner() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.intentMinerView]).hasPermission; } - }; - }, 62120: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(35158).extend(n2, "ClipboardManifestItemMenuChoiceModel", true), e2.exports = n2; - }, 62121: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(19596), o = i2(80295), a = i2(80295), s = i2(9456); - class l extends r2.DataContract { - constructor(e3) { - var t3; - super(e3), this._outOfService = false, (0, a.makeUnenumerable)(this, "_builderPartDefId"), (0, a.makeUnenumerable)(this, "_outOfService"), this._builderPartDefId = e3.builderPartDefId, this.id = null !== (t3 = e3.id) && void 0 !== t3 ? t3 : (0, s.uuid)(), this.version = e3.version; + canUsePreviewWidget() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.previewWidgetView]).hasPermission; } - get builderPartDefId() { - return this._builderPartDefId; + canViewBotPerformanceReport() { + return [l.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView, l.permissionStrings.architect.flow.search].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); } - set builderPartDefId(e3) { - this._builderPartDefId = e3; + canViewVirtualAgentPerformanceReport() { + return [l.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsFlowAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsKnowledgeAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsSummaryAggregateView].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); } - get outOfService() { - return this._outOfService; + canViewInteractionReport() { + const e3 = [l.permissionStrings.external.externalAuthorizations.analyticsConversationAggregateView, l.permissionStrings.external.externalAuthorizations.analyticsConversationDetailView].every((e4) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e4]).hasPermission), t3 = [l.permissionStrings.external.externalAuthorizations.conversationCommunicationView, l.permissionStrings.external.externalAuthorizations.qualityCalibrationView, l.permissionStrings.external.externalAuthorizations.qualityEvaluationEditScore, l.permissionStrings.external.externalAuthorizations.qualityEvaluationAdd].some((e4) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e4]).hasPermission); + return e3 && t3; } - set outOfService(e3) { - this._outOfService = e3; + canViewPathDiscovery() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.journey.flowpaths.view]).hasPermission; } - pasteReIdOrRename(e3) { - this.id = e3.pasteGenerateNewGuid(this.id); + canViewSurveyPerformanceReport() { + return [l.permissionStrings.external.externalAuthorizations.analyticsSurveyAggregateView, l.permissionStrings.external.externalAuthorizations.qualitySurveyFormView].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); } - pasteResolveOldToNewValues(e3) { + canAddGrammars() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.add]).hasPermission; } - } - t2.default = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "builderPartDefId", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "outOfService", null); - }, 62228: (e2, t2, i2) => { - const n2 = i2(17848); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "FlowList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 62229: (e2, t2, i2) => { - function n2() { - this.trackingId = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(76768).extend(n2, "FlowSequenceItem"), Object.defineProperties(n2.prototype, { getConfiguration: { value: function(e3, t3) { - return t3?.isForFlowYaml ? { name: this.name } : n2._super.getConfiguration.apply(this, arguments); - } }, pasteReIdOrRename: { value: function(e3) { - n2._super.pasteReIdOrRename.apply(this, arguments), this.trackingId = e3.pasteGetNewTrackingId(this.trackingId); - } } }), e2.exports = n2; - }, 62240: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3), this._communication = this.coreFactory.createArchValueFromExpression(e3.communication), this._enableBargeIn = this.coreFactory.createArchValueFromExpression(e3.enableBargeIn); + canDeleteGrammars() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.delete]).hasPermission; } - get _actionTypeId() { - return r2.communicateActionType; + canEditGrammars() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.edit]).hasPermission; } - get displayTypeName() { - return this._scriptingName; + canViewGrammars() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.architect.grammar.view]).hasPermission; } - get communication() { - return this._communication; + canFetchGeocoding() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.geocodingGeolocationFetch]).hasPermission; } - get enableBargeIn() { - return this._enableBargeIn; + canViewOptimizationOverview() { + return s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[l.permissionStrings.external.externalAuthorizations.analyticsBotFlowSessionView]).hasPermission; } - get isArchActionCommunicate() { - return true; + canViewCopilotLauncher() { + return [l.permissionStrings.copilot.session.view, l.permissionStrings.copilot.message.view, l.permissionStrings.copilot.message.send].every((e3) => s.permissionService.checkHasPermissionInAtLeastOneDivision(a.getConnectedUser(), s.permissionService.staticPermissions[e3]).hasPermission); + } + generateArchitectPermissionMap() { + return this.permissionMap || (this.permissionMap = {}, r.default.each(a.getConnectedUser().divisions, function(e3) { + r.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] = []), r.default.contains(this.permissionMap[t3.object.value][t3.action.value], e3.name) || r.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)), r.default.each(this.permissionMap, function(e3, t3) { + r.default.each(e3, function(i3, n3) { + e3.permissionStrings || (e3.permissionStrings = {}), e3.permissionStrings[i3] || (e3.permissionStrings[i3] = { prefix: (0, o.sprintf)("%s > %s > %s > ", i3, "architect", t3), actionList: [] }), e3.permissionStrings[i3].actionList.push(n3); + }); + }), r.default.each(this.permissionMap, function(e3) { + r.default.each(e3, function(t3) { + e3.permissionStrings[t3] && (e3.permissionStrings[t3].actionList = e3.permissionStrings[t3].actionList.sort(), e3.permissionStrings[t3].actions = e3.permissionStrings[t3].actionList.join(", ")); + }); + })), this.permissionMap; } + }(); + }, 44724(e2, t2) { + "use strict"; + t2.permissionStrings = void 0, t2.permissionStrings = { architect: { application: { use: "architect:ui:view" }, dependencyTracking: { rebuild: "architect:dependencyTracking:rebuild", view: "architect:dependencyTracking:view" }, flow: { add: "architect:flow:add", delete: "architect:flow:delete", edit: "architect:flow:edit", launch: "architect:flow:launch", publish: "architect:flow:publish", search: "architect:flow:search", unlock: "architect:flow:unlock", view: "architect:flow:view" }, flowExecution: { view: "architect:flowExecution:view" }, flowInstance: { search: "architect:flowInstance:search", view: "architect:flowInstance:view" }, flowInstanceExecutionData: { view: "architect:flowInstanceExecutionData:view" }, flowLogLevel: { view: "architect:flowLogLevel:view" }, flowLogLevelDefault: { view: "architect:flowLogLevelDefault:view" }, flowChangeset: { view: "architect:flowChangeset:view" }, flowMilestone: { add: "architect:flowMilestone:add", search: "architect:flowMilestone:search" }, flowOutcome: { add: "architect:flowOutcome:add", search: "architect:flowOutcome:search" }, systemPrompt: { edit: "architect:systemPrompt:edit", view: "architect:systemPrompt:view" }, userPrompt: { add: "architect:userPrompt:add", delete: "architect:userPrompt:delete", edit: "architect:userPrompt:edit", view: "architect:userPrompt:view" }, virtualAgentFlow: { edit: "architect:virtualAgentFlow:edit" }, grammar: { add: "architect:grammar:add", delete: "architect:grammar:delete", edit: "architect:grammar:edit", view: "architect:grammar:view" } }, conversation: { conference: { add: "conversation:conference:add" } }, copilot: { session: { view: "copilot:session:view" }, message: { view: "copilot:message:view", send: "copilot:message:send" } }, journey: { actionMap: { view: "journey:actionmap:view" }, flowpaths: { view: "journey:flowpaths:view" } }, processAutomation: { triggers: { view: "processautomation:trigger:view" } }, recording: { retentionPolicy: { view: "recording:retentionPolicy:view" } }, responseAssets: { asset: { add: "responseAssets:asset:add", view: "responseAssets:asset:view" } }, architectFeatureToggle: {}, architectFuture: { flow: { undelete: "architect:flow:undelete" }, userPrompt: { undelete: "architect:userPrompt:undelete" } }, external: { externalAuthorizationsDisplayTitles: { telephony: "telephonyView" }, externalAuthorizations: { agenticVirtualAgentView: "agentic:virtualAgent:view", agenticVirtualAgentVersionView: "agentic:virtualAgentVersion:view", analyticsBotAggregateView: "analytics:botAggregate:view", analyticsBotFlowReportingTurnView: "analytics:botFlowReportingTurn:view", analyticsBotFlowSessionView: "analytics:botFlowSession:view", analyticsConversationAggregateView: "analytics:conversationAggregate:view", analyticsConversationDetailView: "analytics:conversationDetail:view", analyticsFlowAggregateView: "analytics:flowAggregate:view", analyticsFlowExecutionAggregateView: "analytics:flowExecutionAggregate:view", analyticsKnowledgeAggregateView: "analytics:knowledgeAggregate:view", analyticsSummaryAggregateView: "analytics:summaryAggregate:view", analyticsSurveyAggregateView: "analytics:surveyAggregate:view", audit: "outbound:audit:view", bridge: "bridge:actions:view", conversationCommunicationView: "conversation:communication:view", directoryOrganizationAdmin: "directory:organization:admin", geocodingGeolocationFetch: "geolocation:geocoding:fetch", guideView: "aiStudio:guide:view", guideVersionView: "aiStudio:guideVersion:view", integrations: "integrations:action:view", intentMinerView: "languageUnderstanding:minerIntent:view", journeyActionMapView: "journey:actionmap:view", journeyFlowsView: "journey:flowpaths:view", languageSkills: "routing:skill:manage", previewWidgetView: "textbots:botFlowSession:execute", processAutomationTriggerView: "processautomation:trigger:view", recordingRetentionPolicyView: "recording:retentionPolicy:view", response: "responses:response:view", responseAdd: "responses:response:add", responseAssetsAdd: "responseAssets:asset:add", responseAssetView: "responseAssets:asset:view", responseLibrary: "responses:library:view", schedules: "routing:schedule:view", scheduleGroup: "routing:scheduleGroup:view", scripts: "scripter:publishedScript:view", qualityCalibrationView: "quality:calibration:view", qualityEvaluationAdd: "quality:evaluation:add", qualityEvaluationEditScore: "quality:evaluation:editScore", qualitySurveyFormView: "quality:surveyForm:view", queues: "routing:queue:view", settingsExecutionDataView: "settings:executionData:view", voicemailReceive: "voicemail:voicemail:receive", wrapupCode: "routing:wrapupCode:view", wrapupCodeSearch: "routing:wrapupCode:search", workitemsView: "workitems:workitem:view" } }, textBots: { botFlowSession: { botFlowSessionExecute: "textbots:botFlowSession:execute" } } }; + }, 8310(e2, t2, i2) { + "use strict"; + t2.uiFeatureSetInfo = void 0; + const n2 = i2(44724), o = i2(47957); + t2.uiFeatureSetInfo = { flowAddOrSaveAs: { permissions: [n2.permissionStrings.architect.flow.add, n2.permissionStrings.architect.flow.edit, n2.permissionStrings.architect.flow.view] }, flowEditDivision: { permissions: [n2.permissionStrings.architect.flow.edit, n2.permissionStrings.architect.flow.view] }, grammarAdd: { permissions: [n2.permissionStrings.architect.grammar.add, n2.permissionStrings.architect.grammar.edit, n2.permissionStrings.architect.grammar.view] }, userPromptAdd: { permissions: [n2.permissionStrings.architect.userPrompt.add, n2.permissionStrings.architect.userPrompt.edit, n2.permissionStrings.architect.userPrompt.view] }, promptImport: { permissions: [n2.permissionStrings.architect.userPrompt.add, n2.permissionStrings.architect.userPrompt.edit, n2.permissionStrings.architect.userPrompt.view, n2.permissionStrings.architect.systemPrompt.edit, n2.permissionStrings.architect.systemPrompt.view], permissionDeniedOverrideString: o.generic.permissions.missing.prompts.userPrompts.import } }; + }, 35711(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allPostFlowActionTypes = t2.inboundShortMessageFlow = t2.voiceSurveyFlow = t2.inboundCallFlow = void 0; + const n2 = i2(47957); + t2.inboundCallFlow = { displayString: n2.flow.types.inboundCall, id: "inboundCallFlow" }, t2.voiceSurveyFlow = { displayString: n2.flow.types.voiceSurveyFlow, id: "voiceSurveyFlow" }, t2.inboundShortMessageFlow = { displayString: n2.flow.types.inboundShortMessage, id: "inboundShortMessageFlow" }, t2.allPostFlowActionTypes = [t2.inboundCallFlow, t2.voiceSurveyFlow, t2.inboundShortMessageFlow]; + }, 89134(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allPostFlowTargetTypes = t2.allPostMessageFlowTargetTypes = t2.allPostCallFlowTargetTypes = t2.any = t2.sender = t2.agent = t2.callee = t2.caller = void 0; + const n2 = i2(47957); + t2.caller = { displayString: n2.setPostFlow.callerDisplayString, id: "caller" }, t2.callee = { displayString: n2.setPostFlow.calleeDisplayString, id: "callee" }, t2.agent = { displayString: n2.setPostFlow.agentDisplayString, id: "agent" }, t2.sender = { displayString: n2.setPostFlow.senderDisplayString, id: "sender" }, t2.any = { displayString: n2.setPostFlow.anyDisplayString, id: "any" }, t2.allPostCallFlowTargetTypes = [t2.callee, t2.caller, t2.any], t2.allPostMessageFlowTargetTypes = [t2.agent], t2.allPostFlowTargetTypes = [...t2.allPostCallFlowTargetTypes, ...t2.allPostMessageFlowTargetTypes]; + }, 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.languageUsagesForFlow(e3)); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(98442)); + function a(e3, t3, i3) { + const n3 = (function(e4, t4) { + const i4 = e4 && e4.languages; + return t4 && 0 !== t4.length || !i4 || (t4 = i4.supportedLanguages), o.default.map(t4, function(e5) { + return o.default.isString(e5) ? e5 : e5.id; + }); + })(e3, i3); + return n3.every((i4) => e3.validateHasAudio && e3.validateHasTTS ? s(t3, i4) || l(e3, t3, i4) : e3.validateHasAudio ? s(t3, i4) : !e3.validateHasTTS || l(e3, t3, i4)); } - t2.default = a; - }, 62241: (e2, t2) => { + function s(e3, t3) { + if (!e3.getResource) return false; + const i3 = e3.getResource(t3); + return !(!i3 || !i3.mediaUri); + } + function l(e3, t3, i3) { + if (!t3.getResource) return false; + if (!r.supportsTTSPlaybackForFlow(i3, e3)) return false; + const n3 = t3.getResource(i3); + return !(!n3 || !n3.ttsAvailable); + } + }, 43011(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.results = t2.actionStatus = t2.actionName = void 0, t2.actionName = { checkin: "CHECKIN", delete: "DELETE", debugPublish: "DEBUG_PUBLISH", history: "HISTORY", publish: "PUBLISH", stateChange: "STATE_CHANGE", validate: "VALIDATE", initializeDesignTime: "VALIDATE" }, t2.actionStatus = { failure: "FAILURE", locked: "LOCKED", pendingGeneration: "PENDING_GENERATION", pendingBackendNotification: "PENDING_BACKEND_NOTIFICATION", started: "STARTED", success: "SUCCESS", unlocked: "UNLOCKED" }, t2.results = { ok: "ok", doesNotExist: "does.not.exist", invalid: "invalid" }; - }, 62252: (e2, t2, i2) => { + Object.defineProperty(t2, "__esModule", { value: true }), t2.userPromptListManager = t2.systemPromptListManager = void 0, t2.getItem = function(e3) { + return a.userPromptListManager.getItem(e3) || r.systemPromptListManager.getItem(e3); + }, t2.getItemByName = function(e3) { + return a.userPromptListManager.getItemByName(e3) || r.systemPromptListManager.getItemByName(e3); + }, t2.getBulkPromptContainers = function(e3, t3) { + const i3 = []; + return e3 && e3.length > 0 && i3.push(a.userPromptListManager.getBulkPromptContainers(e3)), t3 && t3.length > 0 && i3.push(r.systemPromptListManager.getBulkPromptContainers(t3)), Promise.all(i3); + }, t2.getAllPrompts = function() { + return n2.default.extend(n2.default.clone(a.userPromptListManager.items), n2.default.clone(r.systemPromptListManager.items)); + }, t2.refreshSinglePrompt = function(e3, t3) { + return t3 ? r.systemPromptListManager.refreshSinglePrompt(e3) : a.userPromptListManager.refreshSinglePrompt(e3); + }, t2.search = function(e3, t3, i3, n3) { + const r2 = new o.PromiseDefer(), a2 = []; + return a2.push(this.userPromptListManager.search(e3, null, t3, i3, n3)), a2.push(this.systemPromptListManager.search(e3, null, t3, i3, n3)), Promise.all(a2).then((e4) => { + 2 === e4.length ? r2.resolve(e4[0].concat(e4[1])) : r2.reject(); + }, (e4) => { + r2.reject(e4); + }), r2.promise; + }; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(52023), r = i2(97951); + Object.defineProperty(t2, "systemPromptListManager", { enumerable: true, get: function() { + return r.systemPromptListManager; + } }); + const a = i2(23293); + Object.defineProperty(t2, "userPromptListManager", { enumerable: true, get: function() { + return a.userPromptListManager; + } }); + }, 32108(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(19596), r2 = i2(80295), o = i2(9456); - class a extends n2.DataContract { - constructor(e3) { - super(e3), (0, r2.makeUnenumerable)(this, "_partAndPartsOutOfService"), Object.defineProperties(this, { builderDefId: { writable: true, enumerable: true }, id: { value: (0, o.uuid)(), writable: true, enumerable: true }, version: { value: e3.version, writable: true, enumerable: true } }), e3.builderDefId && (this.builderDefId = e3.builderDefId); + var i2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ttsOnly = t2.audioAndTTS = t2.audioOnly = t2.promptMediaTypes = void 0, t2.hasMediaType = function(e3, t3) { + return e3 && e3.includes(t3); + }, (function(e3) { + e3.audio = "audio", e3.tts = "tts", e3.text = "text"; + })(i2 || (t2.promptMediaTypes = i2 = {})), t2.audioOnly = [i2.audio], t2.audioAndTTS = [i2.audio, i2.tts], t2.ttsOnly = [i2.tts]; + }, 27854(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.prefixes = void 0, t2.hasSystemPromptPrefix = a, t2.hasUserPromptPrefix = s, t2.hasPromptPrefix = function(e3) { + return s(e3) || a(e3); + }, t2.removePrefix = function(e3) { + return s(e3) ? e3.substring(o.length) : a(e3) ? e3.substring(r.length) : e3; + }, t2.addPrefix = function(e3, i3) { + return e3 ? n2.default.isString(i3) && 0 === i3.indexOf("__") ? t2.prefixes.system + e3 : t2.prefixes.user + e3 : ""; + }; + const n2 = i2(31635).__importDefault(i2(92140)), o = "prompt.", r = "promptsystem."; + function a(e3) { + return !!e3 && 0 === e3.toLowerCase().lastIndexOf(r, 0); + } + function s(e3) { + return !!e3 && 0 === e3.toLowerCase().lastIndexOf(o, 0); + } + t2.prefixes = { user: "Prompt.", system: "PromptSystem." }; + }, 13804(e2, t2) { + "use strict"; + t2.voiceProcessingPromptFilterNames = void 0, t2.voiceProcessingPromptFilterNames = ["processing_keyboard", "connecting_vibe", "delayed_chime", "delayed_tones", "data_transfer_chime", "minimal_chime_melody"]; + }, 93858(e2, t2, i2) { + "use strict"; + t2.PropertyBaseReasons = void 0; + const n2 = i2(17604), o = i2(55299), r = i2(47957); + class a extends o.BaseClass { + constructor() { + super(...arguments), this.REASON_FEATURE_TOGGLE_UNAVAILABLE = { code: "feature_toggle_unavailable", resource: r.properties.common.featureToggleUnavailble }, this.REASON_FLOW_READ_ONLY = { code: "flow_read_only", resource: r.properties.common.flowReadOnly, additionalInfo: { isReadOnlyReason: true } }; } - pasteReIdOrRename(e3) { - this.id = e3.pasteGenerateNewGuid(this.id); + get className() { + return "PropertyBaseReasons"; } - pasteResolveOldToNewValues(e3) { + _setReason(e3, t3, ...i3) { + if (e3 && t3) if (e3.code = t3.code, e3.additionalInfo = t3.additionalInfo, arguments.length > 2) { + const i4 = [t3.resource]; + for (let e4 = 2; e4 < arguments.length; e4++) i4.push(arguments[e4]); + e3.displayString = n2.sprintf.apply(null, i4); + } else e3.displayString = t3.resource; + return false; } - get partAndPartsOutOfService() { - return this._partAndPartsOutOfService; + setFeatureToggleUnavailable(e3, t3) { + return this._setReason(e3, this.REASON_FEATURE_TOGGLE_UNAVAILABLE); } - set partAndPartsOutOfService(e3) { - this._partAndPartsOutOfService = e3; + setFlowReadOnly(e3) { + return this._setReason(e3, this.REASON_FLOW_READ_ONLY); } } - t2.default = a; - }, 62275: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.interval = void 0; - var n2 = i2(62326), r2 = i2(5825); - t2.interval = function(e3, t3) { - return void 0 === e3 && (e3 = 0), void 0 === t3 && (t3 = n2.asyncScheduler), e3 < 0 && (e3 = 0), r2.timer(e3, e3, t3); - }; - }, 62279: (e2, t2, i2) => { + t2.PropertyBaseReasons = a; + }, 78870(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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends s.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + t2.PropertyBaseSupportedSetService = void 0; + const n2 = i2(31635), o = i2(55299), r = n2.__importStar(i2(27099)); + class a extends o.BaseClass { + get className() { + return "PropertyBaseSupportedSetService"; } - getDetails() { - return this.outcomeId ? new o.ActionDetails([u.flowOutcomes.flowOutcome], [this.outcomeName]) : null; + getIsFlowEditable(e3, t3) { + return !t3.isReadOnly || this._propertyReasonsInstance.setFlowReadOnly(e3); + } + getIsFeatureToggleAvailable(e3, t3) { + return !!r.isEnabled(t3) || this._propertyReasonsInstance.setFeatureToggleUnavailable(e3, t3); } } - 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) => { + t2.PropertyBaseSupportedSetService = a; + }, 44033(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.EngineViewModel = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(24032), o = i2(55299), a = (0, r2.getTopic)("EngineViewModel"); - class s extends o.BaseClass { - constructor(e3, t3) { - super(), this.model = e3, this.id = t3 || e3.id, this.flowTypes = [], this.defaultsChanged = false, this.resetLanguageProperties(); - } - get isSecure() { - return this.model.isSecure; - } - set isSecure(e3) { - this.model.isSecure = e3; + t2.variablePropertyReasons = void 0; + const n2 = i2(93858), o = i2(47957); + class r extends n2.PropertyBaseReasons { + constructor() { + super(...arguments), this.REASON_CANNOT_SET_IS_SCHEMA_INPUT = { code: "cannot_set_is_schema_input", resource: o.properties.variable.common.set.cannotSetIsSchemaInput }, this.REASON_CANNOT_SET_IS_SCHEMA_INPUT_OUTPUT = { code: "cannot_set_is_schema_input_output", resource: o.properties.variable.common.set.cannotSetIsSchemaInputOutput }, this.REASON_CANNOT_SET_IS_SCHEMA_OUTPUT = { code: "cannot_set_is_schema_output", resource: o.properties.variable.common.set.cannotSetIsSchemaOutput }, this.REASON_NOT_SUPPORTED_INPUT_VARIABLE_SCOPE = { code: "not_supported_variable_input_scope", resource: o.properties.variable.common.support.notSupportedInputVariableScope }, this.REASON_NOT_SUPPORTED_OUTPUT_VARIABLE_SCOPE = { code: "not_supported_variable_output_scope", resource: o.properties.variable.common.support.notSupportedOutputVariableScope }, this.REASON_NOT_SUPPORTED_FLOW_SECURE_VARIABLES = { code: "not_supported_no_flow_secure_variables", resource: o.properties.variable.secure.support.notSupportedNoSecureVariables }, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_INPUT = { code: "not_supported_type_not_valid_as_flow_input", resource: o.properties.variable.isInput.support.notSupportedTypeNotValidAsFlowInput }, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_OUTPUT = { code: "not_supported_type_not_valid_as_flow_output", resource: o.properties.variable.isOutput.support.notSupportedTypeNotValidAsFlowOutput }, this.REASON_VARIABLE_CANNOT_BE_SECURE_INPUT = { code: "variable_cannot_be_secure_input", resource: o.secureData.variableInputCannotBeSecure }, this.REASON_VARIABLE_CANNOT_BE_SECURE_OUTPUT = { code: "variable_cannot_be_secure_output", resource: o.secureData.variableOutputWarning }, this.REASON_VARIABLE_READONLY = { code: "variable_read_only", resource: o.properties.variable.common.variableIsReadOnly, additionalInfo: { isReadOnlyReason: true } }; } - get id() { - return this.model.id; + get className() { + return "VariablePropertyReasons"; } - set id(e3) { - this.model.id = e3; + setCannotSetIsSchemaInput(e3) { + return this._setReason(e3, this.REASON_CANNOT_SET_IS_SCHEMA_INPUT); } - get name() { - return this.model.name; + setCannotSetIsSchemaInputOutput(e3) { + return this._setReason(e3, this.REASON_CANNOT_SET_IS_SCHEMA_INPUT_OUTPUT); } - set name(e3) { - this.model.name = e3; + setCannotSetIsSchemaOutput(e3) { + return this._setReason(e3, this.REASON_CANNOT_SET_IS_SCHEMA_OUTPUT); } - addLanguage(e3, t3, i3) { - if (!n2.default.isString(e3)) return; - const r3 = e3.toLocaleLowerCase(); - this.languages[r3] = true, this.languagesWhereDefault[r3] = t3, this.languagesNoRegion[null == r3 ? void 0 : r3.split("-")[0]] = true; + setNotSupportedNoFlowSecureVariables(e3, t3) { + return this._setReason(e3, this.REASON_NOT_SUPPORTED_FLOW_SECURE_VARIABLES, t3.info.flowTypeName); } - getEngineSupportsLanguage(e3) { - return !!n2.default.isString(e3) && !!this.languages[e3.toLocaleLowerCase()]; + setNotSupportedInputVariableScope(e3, t3, i3) { + return this._setReason(e3, this.REASON_NOT_SUPPORTED_INPUT_VARIABLE_SCOPE, i3, t3.info.flowTypeName); } - getEngineSupportsLanguageNoRegion(e3) { - return !!n2.default.isString(e3) && !!this.languagesNoRegion[e3.toLocaleLowerCase()]; + setNotSupportedOutputVariableScope(e3, t3, i3) { + return this._setReason(e3, this.REASON_NOT_SUPPORTED_OUTPUT_VARIABLE_SCOPE, i3, t3.info.flowTypeName); } - getEngineSupportsFlowType(e3) { - return !!n2.default.isString(e3) && this.flowTypes.includes(e3); + setNotSupportedTypeNotValidAsFlowInput(e3, t3, i3) { + return this._setReason(e3, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_INPUT, i3.displayString, t3.info.flowTypeName); } - getEngineSupportsLanguageAndFlowType(e3, t3) { - return this.getEngineSupportsLanguage(e3) && this.getEngineSupportsFlowType(t3); + setNotSupportedTypeNotValidAsFlowOutput(e3, t3, i3) { + return this._setReason(e3, this.REASON_NOT_SUPPORTED_TYPE_NOT_VALID_AS_FLOW_OUTPUT, i3.displayString, t3.info.flowTypeName); } - getIsEngineDefaultForLanguage(e3) { - return !!n2.default.isString(e3) && !!this.languagesWhereDefault[e3.toLocaleLowerCase()]; + setVariableCannotBeSecureInput(e3) { + return this._setReason(e3, this.REASON_VARIABLE_CANNOT_BE_SECURE_INPUT); } - resetLanguageProperties() { - this.languages = {}, this.languagesWhereDefault = {}, this.languagesNoRegion = {}; + setVariableCannotBeSecureOutput(e3) { + return this._setReason(e3, this.REASON_VARIABLE_CANNOT_BE_SECURE_OUTPUT); } - updateItem(e3) { - if (e3) if (this._supportedLanguagesManager || (this._supportedLanguagesManager = i2(98442)), this.name = e3.name, this.isSecure = e3.isSecure, e3.languages) { - const t3 = n2.default.pick(e3.languages, (e4, t4) => !!this._supportedLanguagesManager.getLanguageEntry(t4)); - this.defaultsChanged = n2.default.some(t3, (e4, t4) => { - const i3 = t4.toLowerCase(); - return e4.isDefault && !this.languagesWhereDefault[i3] || !e4.isDefault && this.languagesWhereDefault[i3]; - }), this.resetLanguageProperties(), n2.default.each(t3, (e4, t4) => { - this.addLanguage(t4, e4.isDefault); - }); - } else a.error(`languages property not found in validation data for engine with id '${e3.id}'`); + setVariableReadOnly(e3) { + return this._setReason(e3, this.REASON_VARIABLE_READONLY); } } - t2.EngineViewModel = s; - }, 62320: (e2, t2, i2) => { + t2.variablePropertyReasons = new r(); + }, 11201(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._attributeNameValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + t2.variablePropertySupportedSetService = void 0; + const n2 = i2(31635).__importStar(i2(14187)), o = i2(78870), r = i2(44033); + class a extends o.PropertyBaseSupportedSetService { + get className() { + return "VariablePropertySupportedSetService"; } - get _actionTypeId() { - return r2.setAttributesActionType; + get _propertyReasonsInstance() { + return r.variablePropertyReasons; } - get displayTypeName() { - return this._scriptingName; + getCanSetScopedVariableTypeAsInput(e3, t3, i3, n3, o2) { + return !!this.getCanSetVariableFlowSchemaInputDependentProperty(e3, n3) && !!this.getFlowTypeSupportsScopedInputVariableOfType(e3, t3, i3, o2); + } + getCanSetScopedVariableTypeAsOutput(e3, t3, i3, n3, o2) { + return !!this.getCanSetVariableFlowSchemaOutputDependentProperty(e3, n3) && !!this.getFlowTypeSupportsScopedOutputVariableOfType(e3, t3, i3, o2); + } + getCanSetVariableFlowSchemaDependentProperty(e3, t3, i3) { + return t3 ? i3 ? this._propertyReasonsInstance.setCannotSetIsSchemaInputOutput(e3) : this._propertyReasonsInstance.setCannotSetIsSchemaInput(e3) : !i3 || this._propertyReasonsInstance.setCannotSetIsSchemaOutput(e3); + } + getCanSetVariableFlowSchemaInputDependentProperty(e3, t3) { + return !t3 || this._propertyReasonsInstance.setCannotSetIsSchemaInput(e3); + } + getCanSetVariableFlowSchemaOutputDependentProperty(e3, t3) { + return !t3 || this._propertyReasonsInstance.setCannotSetIsSchemaOutput(e3); + } + getFlowTypeSupportsSecureVariables(e3, t3) { + return !!t3.supportsSecureVariables || this._propertyReasonsInstance.setNotSupportedNoFlowSecureVariables(e3, t3); + } + getFlowTypeSupportsScopedInputVariableOfType(e3, t3, i3, o2) { + switch (i3) { + case n2.scopes.task: + return !!t3.supportsTaskInputVariables || this._propertyReasonsInstance.setNotSupportedInputVariableScope(e3, t3, i3); + case n2.scopes.common: + case n2.scopes.slot: + case n2.scopes.flow: + return t3.supportsFlowInputVariables ? !!o2.isAvailableAsInputForFlowType(t3.type) || this._propertyReasonsInstance.setNotSupportedTypeNotValidAsFlowInput(e3, t3, o2) : this._propertyReasonsInstance.setNotSupportedInputVariableScope(e3, t3, i3); + default: + return this._propertyReasonsInstance.setNotSupportedInputVariableScope(e3, t3, i3); + } + } + getFlowTypeSupportsScopedOutputVariableOfType(e3, t3, i3, o2) { + switch (i3) { + case n2.scopes.task: + return !!t3.supportsTaskOutputVariables || this._propertyReasonsInstance.setNotSupportedOutputVariableScope(e3, t3, i3); + case n2.scopes.common: + case n2.scopes.slot: + case n2.scopes.flow: + return t3.supportsFlowOutputVariables ? !!o2.isAvailableAsOutputForFlowType(t3.type) || this._propertyReasonsInstance.setNotSupportedTypeNotValidAsFlowOutput(e3, t3, o2) : this._propertyReasonsInstance.setNotSupportedOutputVariableScope(e3, t3, i3); + default: + return this._propertyReasonsInstance.setNotSupportedOutputVariableScope(e3, t3, i3); + } } - addAttributeNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addAttributeNameValuePair"), t3, true), this._attributeNameValuePairs._addNameValueAssignment(e3, t3, false, false); + getIsVariableWritable(e3, t3) { + return !!t3 || this._propertyReasonsInstance.setVariableReadOnly(e3); } - get isArchActionSetParticipantData() { - return true; + getIsSecureOutputOk(e3, t3, i3) { + return !t3 || !i3 || this._propertyReasonsInstance.setVariableCannotBeSecureOutput(e3); } - get attributeNameValuePairs() { - return this._attributeNameValuePairs; + getIsSecureInputOk(e3, t3, i3) { + return !t3 || !i3 || this._propertyReasonsInstance.setVariableCannotBeSecureInput(e3); } } - t2.default = o; - }, 62326: (e2, t2, i2) => { + t2.variablePropertySupportedSetService = new a(); + }, 97229(e2, t2, i2) { "use strict"; - 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) => { + t2.assignCustomerSegmentFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = "InvalidExternalContact", a = "InvalidCustomerSegment", s = "CustomerSegmentsCollectionLimitExceeded", l = ["GeneralError"]; + t2.assignCustomerSegmentFailureReasons = n2.default.uniq(l.concat([o, r, a, s])); + }, 79537(e2, t2) { "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) => { + t2.askForAuthenticationFailureReasons = void 0; + t2.askForAuthenticationFailureReasons = ["GeneralError", "SignInFieldRequired", "SuccessFieldRequired", "ChannelNotSupported"]; + }, 50718(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allPromoteExternalContactFailureReasons = t2.promoteExternalContactFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", externalContactAlreadyCurated: "ExternalContactAlreadyCurated", generalError: "GeneralError", invalidExternalContact: "InvalidExternalContact" }, o = [r2.generalError]; - t2.promoteExternalContactFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.externalContactAlreadyCurated, r2.invalidExternalContact])), t2.allPromoteExternalContactFailureReasons = r2; - }, 62446: (e2, t2, i2) => { + 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"]; + }, 50661(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(25446)); - class r2 extends n2.default { - get displayTypeName() { - return "ArchPromptUser"; - } - get isArchPromptUser() { - return true; - } - } - t2.default = r2; - }, 62478: (e2, t2, i2) => { + t2.callDecisionTableFailureReasons = void 0; + t2.callDecisionTableFailureReasons = ["GeneralError"].concat(["ActionInvocationLimitExceeded", "DecisionTableHasNoRows", "DecisionTableNotFound", "DecisionTablePreparingExecution", "DecisionTableWrongStatus", "GeneralExecutionError", "InvalidInput", "InvalidRequest"]); + }, 12786(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindLanguageSkillActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; - } - } - t2.FindLanguageSkillActionModel = o, o.__type = r2.findLanguageSkillActionType, o.registerType(); - }, 62527: (e2, t2, i2) => { + t2.updateConversationAttributeFailureReasons = t2.createConversationAttributeFailureReasons = t2.getConversationAttributesFailureReasons = t2.getConversationAttributeFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ConversationCustomAttributeRecordNotFound", r = "InvalidAttribute", a = ["GeneralError", "ActionInvocationLimitExceeded"]; + t2.getConversationAttributeFailureReasons = n2.default.uniq(a.concat([o])), t2.getConversationAttributesFailureReasons = n2.default.uniq(a.concat([o])), t2.createConversationAttributeFailureReasons = n2.default.uniq(a.concat([r, "InvalidConversationCustomAttributeSchema"])), t2.updateConversationAttributeFailureReasons = n2.default.uniq(a.concat([o, r])); + }, 58132(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.deflectFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = "InvalidMessage", a = "InvalidSmsFrom", s = "InvalidSmsTo", l = ["GeneralError"]; + t2.deflectFailureReasons = n2.default.uniq(l.concat([o, r, s, a])); + }, 35291(e2, t2) { + "use strict"; + t2.getEmailHeadersFailureReasons = void 0; + t2.getEmailHeadersFailureReasons = ["ActionInvocationLimitExceeded", "GeneralError", "NoEmailHeadersExist", "EmailHeaderNamesCollectionItemLimitExceeded"]; + }, 81063(e2, t2, i2) { + "use strict"; + t2.allEncryptDecryptFailureReasons = t2.decryptDataFailureReasons = t2.encryptDataFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = { customerKeyNotConfigured: "CustomerKeyNotConfigured", customerKeyNotFound: "CustomerKeyNotFound", encryptedDataKeyInvalid: "EncryptedDataKeyInvalid", generalError: "GeneralError", invalidData: "InvalidData", maximumDataSizeExceeded: "MaximumDataSizeExceeded", noDataSupplied: "NoDataSupplied", timeout: "Timeout" }, r = [o.generalError]; + t2.encryptDataFailureReasons = n2.default.uniq(r.concat([o.customerKeyNotConfigured, o.customerKeyNotFound, o.maximumDataSizeExceeded, o.noDataSupplied, o.timeout])), t2.decryptDataFailureReasons = n2.default.uniq(r.concat([o.customerKeyNotConfigured, o.customerKeyNotFound, o.encryptedDataKeyInvalid, o.invalidData, o.maximumDataSizeExceeded, o.noDataSupplied, o.timeout])), t2.allEncryptDecryptFailureReasons = o; + }, 9290(e2, t2, i2) { + "use strict"; + t2.transferToAcdWorkitemFailureReasonsAll = t2.transferToAcdWorkitemFailureReasonsRoutingSkillExpressionsFeature = t2.transferToAcdWorkitemFailureReasonsKnownAgentRoutingFeature = t2.baseTransferToAcdWorkitemFailureReasons = t2.transferToAcdFailureReasonsAll = t2.transferToAcdFailureReasonsRoutingSkillExpressionsFeature = t2.transferToAcdFailureReasonsKnownAgentRoutingFeature = t2.baseTransferToAcdFailureReasons = t2.voicemailTransferFailureReasons = t2.externalTransferFailureReasons = t2.userTransferFailureReasonsForBotFlowType = t2.groupTransferFailureReasonsForBotFlowType = t2.U$ = t2.userTransferFailureReasonsForWorkitemFlowType = t2.nF = t2.EL = t2.Dz = t2.userTransferFailureReasons = t2.LQ = t2.groupTransferFailureReasons = t2.flowTransferFailureReasons = t2.defaultTransferFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(3219), r = i2(3219), a = "ActionInvocationLimitExceeded", s = "Busy", l = "GeneralError", u = "InvalidFlow", c = "InvalidGroup", d = "InvalidNumber", p = "InvalidQueue", _ = "InvalidSkillExpressionFilter", h = "InvalidUser", m = "InvalidWorkitem", g = "NetworkBusy", f = "NoAnswer", T = "NoAnswerVoicemailNotAllowed", y = "NoAnswerVoicemailNotConfigured", S = "TooManyPreferredAgents"; + t2.defaultTransferFailureReasons = [l], t2.flowTransferFailureReasons = [...t2.defaultTransferFailureReasons, u, f], t2.groupTransferFailureReasons = [...t2.defaultTransferFailureReasons, s, c, g, f, T, y], t2.LQ = [...t2.defaultTransferFailureReasons, a, h, m, g], t2.userTransferFailureReasons = [...t2.LQ, s, f, T, y], t2.Dz = [...t2.defaultTransferFailureReasons, p], t2.EL = [...t2.Dz, f], t2.nF = n2.default.uniq([...t2.Dz, ...o.queueTransferActionWorkitemFailureReasons]), t2.userTransferFailureReasonsForWorkitemFlowType = n2.default.uniq([...t2.LQ, ...r.userTransferActionWorkitemFailureReasons]), t2.U$ = [...t2.defaultTransferFailureReasons, s, g, f], t2.groupTransferFailureReasonsForBotFlowType = [...t2.U$, c], t2.userTransferFailureReasonsForBotFlowType = [...t2.U$, h], n2.default.uniq([...t2.EL, ...t2.nF, S, _]), n2.default.uniq([...t2.userTransferFailureReasons, ...t2.userTransferFailureReasonsForWorkitemFlowType]), t2.externalTransferFailureReasons = [...t2.defaultTransferFailureReasons, s, d, g, f], t2.voicemailTransferFailureReasons = [...t2.defaultTransferFailureReasons, s, c, p, h, g, f, y], t2.baseTransferToAcdFailureReasons = t2.EL, t2.transferToAcdFailureReasonsKnownAgentRoutingFeature = [...t2.baseTransferToAcdFailureReasons, S], t2.transferToAcdFailureReasonsRoutingSkillExpressionsFeature = [...t2.baseTransferToAcdFailureReasons, _], t2.transferToAcdFailureReasonsAll = [...t2.baseTransferToAcdFailureReasons, S, _], t2.baseTransferToAcdWorkitemFailureReasons = t2.nF, t2.transferToAcdWorkitemFailureReasonsKnownAgentRoutingFeature = [...t2.baseTransferToAcdWorkitemFailureReasons, S], t2.transferToAcdWorkitemFailureReasonsRoutingSkillExpressionsFeature = [...t2.baseTransferToAcdWorkitemFailureReasons, _], t2.transferToAcdWorkitemFailureReasonsAll = [...t2.baseTransferToAcdWorkitemFailureReasons, S, _]; + }, 50514(e2, t2, i2) { + "use strict"; + t2.getAssignedCustomerIntentsFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = ["GeneralError"]; + t2.getAssignedCustomerIntentsFailureReasons = n2.default.uniq(r.concat([o])); + }, 71157(e2, t2, i2) { + "use strict"; + t2.getAssignedCustomerSegmentsFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = "InvalidExternalContact", a = "CustomerSegmentsCollectionLimitExceeded", s = ["GeneralError"]; + t2.getAssignedCustomerSegmentsFailureReasons = n2.default.uniq(s.concat([o, r, a])); + }, 62416(e2, t2, i2) { + "use strict"; + t2.promoteExternalContactFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = "ExternalContactAlreadyCurated", a = "InvalidExternalContact", s = ["GeneralError"]; + t2.promoteExternalContactFailureReasons = n2.default.uniq(s.concat([o, r, a])); + }, 38296(e2, t2, i2) { + "use strict"; + t2.sendNotificationFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = "Busy", a = "InvalidChatMessage", s = "InvalidEmailFrom", l = "InvalidGroup", u = "InvalidNotificationType", c = "InvalidSubject", d = "InvalidUserCollection", p = "SendNotificationActionDisabled", _ = ["GeneralError"]; + t2.sendNotificationFailureReasons = n2.default.uniq(_.concat([o, r, a, s, l, u, c, d, p])); + }, 29626(e2, t2) { + "use strict"; + t2.sendRichLinkFailureReasons = void 0; + t2.sendRichLinkFailureReasons = ["ActionInvocationLimitExceeded", "GeneralError"]; + }, 70283(e2, t2, i2) { + "use strict"; + t2.getRawSipHeadersFailureReasons = t2.getSipHeadersFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = "NoSipHeadersExist", a = "SipHeaderNamesCollectionItemLimitExceeded", s = ["GeneralError"]; + t2.getSipHeadersFailureReasons = n2.default.uniq(s.concat([o, r, a])), t2.getRawSipHeadersFailureReasons = n2.default.uniq(s.concat([o, r])); + }, 45077(e2, t2) { + "use strict"; + t2.setSkillExpressionFiltersFailureReasons = t2.evaluateSkillExpressionFiltersFailureReasons = t2.clearSkillExpressionFiltersFailureReasons = void 0; + const i2 = "ActionInvocationLimitExceeded", n2 = "Busy", o = "GeneralError", r = "InvalidSkillExpressionFilterCount"; + t2.clearSkillExpressionFiltersFailureReasons = [i2, n2, o], t2.evaluateSkillExpressionFiltersFailureReasons = [i2, n2, o, "InvalidSkillExpressionFilterRawText", r], t2.setSkillExpressionFiltersFailureReasons = [i2, n2, o, "InvalidSkillExpressionFilter", r]; + }, 46089(e2, t2) { + "use strict"; + t2.updateExternalContactFailureReasons = t2.h = void 0, t2.h = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", conflict: "Conflict", generalError: "GeneralError", invalidExternalContact: "InvalidExternalContact", invalidUpdate: "InvalidUpdate" }, t2.updateExternalContactFailureReasons = [t2.h.generalError, t2.h.actionInvocationLimitExceeded, t2.h.conflict, t2.h.invalidExternalContact, t2.h.invalidUpdate]; + }, 67483(e2, t2, i2) { + "use strict"; + t2.setUtilizationLabelFailureReasonsWithWorkitem = t2.clearUtilizationLabelFailureReasonsWithWorkitem = t2.clearUtilizationLabelFailureReasons = t2.setUtilizationLabelFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(3219), r = "ActionInvocationLimitExceeded", a = "InvalidConversation", s = "InvalidUtilizationLabel", l = ["GeneralError"]; + t2.setUtilizationLabelFailureReasons = n2.default.uniq(l.concat([r, a, s])), t2.clearUtilizationLabelFailureReasons = n2.default.uniq(l.concat([r, a])), t2.clearUtilizationLabelFailureReasonsWithWorkitem = n2.default.uniq(t2.clearUtilizationLabelFailureReasons.concat(o.workitemFailureReasonsForUtilizationLabelActions)), t2.setUtilizationLabelFailureReasonsWithWorkitem = n2.default.uniq(t2.setUtilizationLabelFailureReasons.concat(o.workitemFailureReasonsForUtilizationLabelActions)), t2.clearUtilizationLabelFailureReasonsWithWorkitem, t2.setUtilizationLabelFailureReasonsWithWorkitem; + }, 3219(e2, t2, i2) { + "use strict"; + t2.workitemFailureReasonsForUtilizationLabelActions = t2.queueTransferActionWorkitemFailureReasons = t2.userTransferActionWorkitemFailureReasons = t2.updateWorkitemFailureReasons = t2.terminateWorkitemFailureReasons = t2.disconnectWorkitemFailureReasons = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = "ActionInvocationLimitExceeded", r = "AgentScoreOutOfRange", a = "InvalidValue", s = "InvalidWorkitem", l = "WorkitemUpdateLimitHit", u = ["GeneralError"]; + t2.disconnectWorkitemFailureReasons = n2.default.uniq(u.concat([o, s, l])), t2.terminateWorkitemFailureReasons = n2.default.uniq(u.concat([o, s, l])), t2.updateWorkitemFailureReasons = n2.default.uniq(u.concat([o, a, s, l])); + const c = n2.default.uniq(u.concat([s, o, l])); + t2.userTransferActionWorkitemFailureReasons = c, t2.queueTransferActionWorkitemFailureReasons = n2.default.uniq(c.concat([r])), t2.workitemFailureReasonsForUtilizationLabelActions = n2.default.uniq(u.concat([s, l])); + }, 15928(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { replyToAll: "replyToAll", replyToSender: "replyToSender" }; + }, 13436(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allModes = t2.neutral = t2.intents = t2.knowledge = void 0; + const n2 = i2(47957); + t2.knowledge = { displayString: n2.knowledgeSettings.responseBiasModes.responseBiasModeKnowledge, description: n2.knowledgeSettings.responseBiasModes.responseBiasKnowledgeDescription, id: "knowledge" }, t2.intents = { displayString: n2.knowledgeSettings.responseBiasModes.responseBiasModeIntents, description: n2.knowledgeSettings.responseBiasModes.responseBiasIntentDescription, id: "intents" }, t2.neutral = { displayString: n2.knowledgeSettings.responseBiasModes.responseBiasModeNeutral, description: n2.knowledgeSettings.responseBiasModes.responseBiasNeutralDescription, id: "neutral" }, t2.allModes = [t2.intents, t2.neutral, t2.knowledge]; + }, 32595(e2, t2, i2) { + "use strict"; + t2.schemaTypeHelper = void 0; + const n2 = i2(29795), o = i2(29795), r = i2(29795); + t2.schemaTypeHelper = new class { + isJsonSchemaType(e3) { + return !!r.jsonSchemaTypeNames[e3]; } - get _globalTypeName() { - return "externalLineIdCollection"; + isAgenticVirtualAgentPrimitiveType(e3) { + return !!n2.agenticVirtualAgentPrimitiveTypes[e3]; } - get displayTypeName() { - return "ArchValueExternalLineIdCollection"; + isAiGuidePrimitiveType(e3) { + return !!o.aiGuidePrimitiveTypes[e3]; } - get isArchValueExternalLineIdCollection() { - return true; + }(); + }, 29795(e2, t2) { + "use strict"; + t2.jsonSchemaTypeNames = t2.aiGuidePrimitiveTypes = t2.agenticVirtualAgentPrimitiveTypes = void 0, t2.agenticVirtualAgentPrimitiveTypes = { boolean: "boolean", integer: "integer", number: "number", string: "string" }, t2.aiGuidePrimitiveTypes = { Boolean: "Boolean", Integer: "Integer", Number: "Number", String: "String" }, t2.jsonSchemaTypeNames = { array: "array", boolean: "boolean", date: "date", integer: "integer", number: "number", object: "object", string: "string" }; + }, 99769(e2, t2, i2) { + "use strict"; + t2.allKnowledgeFeedbackValues = t2.bs = t2.Zb = void 0; + const n2 = i2(47957); + t2.Zb = { displayString: n2.sendKnowledgeFeedback.positive, description: n2.sendKnowledgeFeedback.positiveDescription, id: "positive" }, t2.bs = { displayString: n2.sendKnowledgeFeedback.negative, description: n2.sendKnowledgeFeedback.negativeDescription, id: "negative" }, t2.allKnowledgeFeedbackValues = [t2.Zb, t2.bs]; + }, 77751(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.emailStylesAll = t2.emailStylePlain = t2.emailStyleHtml = t2.notificationTypesAll = t2.typeChat = t2.typeEmail = void 0; + const n2 = i2(47957); + t2.typeEmail = { displayString: n2.sendNotification.notificationTypeEmailLabel, id: "email" }, t2.typeChat = { displayString: n2.sendNotification.notificationTypeChatLabel, id: "chat" }, t2.notificationTypesAll = [t2.typeEmail, t2.typeChat], t2.emailStyleHtml = { displayString: n2.sendNotification.emailStyleHtmlLabel, id: "html" }, t2.emailStylePlain = { displayString: n2.sendNotification.emailStylePlainLabel, id: "plain" }, t2.emailStylesAll = [t2.emailStyleHtml, t2.emailStylePlain]; + }, 27667(e2, t2, i2) { + "use strict"; + t2.p = t2.allHeaderTypeChoices = t2.headerTypeTextChoice = t2.headerTypeImageChoice = void 0; + const n2 = i2(47957); + t2.headerTypeImageChoice = { displayString: n2.sendRichLink.headerTypeImageChoice, id: "image" }, t2.headerTypeTextChoice = { displayString: n2.sendRichLink.headerTypeTextChoice, id: "text" }, t2.allHeaderTypeChoices = [t2.headerTypeImageChoice, t2.headerTypeTextChoice], t2.p = {}; + for (const e3 of t2.allHeaderTypeChoices) t2.p[e3.id] = e3; + }, 33909(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.formatErrorString = function(e3, t3) { + return e3 ? t3 ? (0, o.sprintf)(e3, t3) : e3 : ""; + }, 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(c) && (i3 = this.sanitizeErrorCode(i3)), i3 && e3 === i3; + }, t2.getErrorInformation = function(e3) { + const t3 = this.getErrorText(e3.code, e3.messageParams); + let i3; + if (e3.code === a.permissionService.missingDivisionPermissionString && e3.messageParams) { + let t4 = []; + e3.messageParams.divisionUris && (t4 = a.permissionService.getDivisionListFromDivisionUrisErrorString(e3.messageParams.divisionUris)), !t4.length && e3.messageParams.divisions && (t4 = a.permissionService.getDivisionListFromDivisionsErrorString(e3.messageParams.divisions)), t4.length && (i3 = [{ title: t4.length > 1 ? u.generic.permissions.divisionHeaderMoreThanOne : u.generic.permissions.divisionHeader, entries: t4 }]); + } + return new s.ErrorInformation(t3, void 0, null, i3); + }, t2.getErrorText = function(e3, t3) { + if (!e3) return; + e3 = this.sanitizeErrorCode(e3); + const i3 = r.default.findWhere(l, { code: e3 }); + return i3 ? this.formatErrorString(i3.message, t3) : ""; + }, 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(c) ? e3.replace(/^(VXMLGEN_)/, "ARCHITECT_").replace(/\./g, "_").toUpperCase() : e3; + }; + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = i2(67210), s = i2(50100), l = i2(69773), u = i2(47957), c = /^(VXMLGEN_)|\./; + }, 86531(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { entireFlow: "entireFlow", none: "none", startUpObject: "startUpObject" }; + }, 41510(e2, t2) { + "use strict"; + 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" }, demo: { create2026: "Create 2026" }, 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: { emptyCellDisplay: "\u2013", 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" } }; + }, 7379(e2, t2, i2) { + "use strict"; + t2.allStringBodyHandlingTypesForAutomate = t2.allStringBodyHandlingTypesForBots = t2.removeAllFormatting = t2.none = t2.BT = t2.JT = void 0; + const n2 = i2(47957); + t2.JT = { displayString: n2.stringBodyHandlingTypes.stringBodyHandlingTypeConvertToMarkdownLabel, description: n2.stringBodyHandlingTypes.stringBodyHandlingTypeConvertToMarkdownDescription, id: "convertToMarkdown" }, t2.BT = { 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.JT, t2.removeAllFormatting], t2.allStringBodyHandlingTypesForAutomate = [t2.BT, t2.JT, t2.none, t2.removeAllFormatting], t2.JT, t2.none, t2.removeAllFormatting; + }, 66381(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getListDisplayString = void 0, t2.getSentenceListDisplayString = function(e3, t3) { + return e3 && 0 !== e3.length ? ((function(e4, t4) { + r.default.each(e4, function(i3, n3) { + void 0 === e4[n3] || null === e4[n3] ? e4[n3] = "" : t4 && (e4[n3] = i3.replace(/ /g, " ")); + }); + })(e3, t3), 1 === e3.length ? e3[0] : e3.join(s.default.itemListing.sentenceSeparator)) : ""; + }, t2.getStringContainsValidCharacter = function(e3, t3) { + if (!(null == e3 ? void 0 : e3.length)) return false; + if (t3) { + for (const t4 of e3.split("")) if (t4 >= "0" && t4 <= "9") return true; } + for (const t4 of e3.split("")) if (t4 >= "A" && t4 <= "Z" || t4 >= "a" && t4 <= "z" || t4 >= "\xC0" && t4 <= "\xD6" || t4 >= "\xD8" && t4 <= "\xF6" || t4 >= "\xF8" && t4 <= "\u1FFF" || t4 >= "\u3040" && t4 <= "\u318F" || t4 >= "\u3300" && t4 <= "\u337F" || t4 >= "\u3400" && t4 <= "\u3D2D" || t4 >= "\u4E00" && t4 <= "\u9FFF" || t4 >= "\uF900" && t4 <= "\uFAFF" || t4 >= "\uFF00" && t4 <= "\uFFDC") return true; + return false; + }, t2.getOperandListDisplayString = function(e3, t3) { + if (!e3 || r.default.isEmpty(e3)) return ""; + const i3 = []; + return r.default.each(e3, function(e4) { + i3.push(e4.getErrorDisplayText()); + }), (0, l.getListDisplayString)(i3, false, t3); + }, t2.getFlowTypesDisplayString = function(e3, t3) { + if (!e3 || r.default.isEmpty(e3)) return ""; + const i3 = []; + return r.default.each(e3, function(e4) { + i3.push(a.default.getFlowTypeDisplayName(e4)); + }), (0, l.getListDisplayString)(i3, false, t3); + }, t2.getListOfFlowIds = function(e3) { + if (!e3 || !r.default.isArray(e3)) return ""; + const t3 = r.default.pluck(e3, "id"); + return (0, l.getListDisplayString)(t3, false); + }, t2.utf8EncodedSizeExceedsMax = function(e3, t3) { + return c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createFunctionParameter(_, "utf8EncodedSizeExceedsMax", "stringValueToCheck"), true), c.ParameterValidator.expectInt(t3, () => u.ParameterInfo.createFunctionParameter(_, "utf8EncodedSizeExceedsMax", "maxSizeInclusive")), !!r.default.isString(e3) && (function(e4, t4) { + const i3 = e4.length; + 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; + }, t2.convertPascalToCamelCase = function(e3) { + return (null == e3 ? void 0 : e3.length) ? e3.charAt(0).toLowerCase() + (e3.slice(1) || "") : null != e3 ? e3 : ""; + }, t2.escapeForCssToken = function(e3) { + return CSS.escape("_" + e3); + }, t2.truncateText = function(e3, t3) { + if (e3) return e3.length <= t3 || t3 < 0 ? e3 : (0, o.sprintf)(p.generic.truncatedText, e3.substring(0, t3 - 3)); + }, t2.ensureStringEndsWithPeriod = function(e3) { + return r.default.isNullOrUndefined(e3) || !r.default.isString(e3) || e3.endsWith(".") ? e3 : e3 + "."; + }; + const n2 = i2(31635), o = i2(17604), r = 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), c = i2(33951), d = i2(29269), p = i2(47957), _ = "stringUtilities"; + }, 1183(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.allModes = t2.executeTask = t2.exitFlow = void 0; + const n2 = i2(47957); + t2.exitFlow = { displayString: n2.customNodes.errorHandling.exit, id: "Exit" }, t2.executeTask = { displayString: n2.customNodes.eventHandling.subsequentRecognitionFailuresExecuteTask, id: "ExecuteTask" }, t2.allModes = [t2.exitFlow, t2.executeTask]; + }, 75758(e2, t2, i2) { + "use strict"; + t2.allSupportedDigitalChannelTypes = t2.b_ = t2.V2 = void 0; + const n2 = i2(47957); + t2.V2 = { displayString: n2.generic.facebook, id: "facebook" }, t2.b_ = { displayString: n2.generic.whatsApp, id: "whatsapp" }, t2.allSupportedDigitalChannelTypes = [t2.V2, t2.b_]; + }, 98442(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.NluFlowLanguageStatus = t2.nonGenericLangs = t2.allLangs = void 0, t2.langCodeIsGeneric = f, t2.getBaseLanguageSubtag = function(e3) { + if (!e3 || "string" != typeof e3) return null; + const t3 = e3.toLowerCase(), i3 = t3.indexOf("-"); + return -1 === i3 ? t3 : t3.substring(0, i3); + }, 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 = T, t2.getDefaultFlowCreationLangs = function(e3) { + const i3 = s.default.getDefinitionForFlowType(e3); + return (null == i3 ? void 0 : i3.supportsNlu) ? I(i3.availableLanguageTags) : o.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 = S, t2.getFlowTypesThatSupportLanguages = function() { + return s.default.getFlowTypesThatSupportLanguages(); + }, t2.getTtsSupportedLangs = A, t2.getLanguageListDisplayStr = function(e3, t3, i3) { + if (!e3) return ""; + const n3 = y(e3, i3); + return _.getListDisplayString(n3, t3); + }, t2.getSystemPromptLangList = function(e3, t3) { + return y(S(t3), e3); + }, t2.getTTSSupportedLangList = 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 = v(i4); + if (n3) { + const o2 = t3 ? T(i4) : N(i4); + e4.push((0, r.sprintf)(p.default.language.formatDisplayStringAndCode, o2, n3.idExpressionText)); + } else g.error(`Language entry not found for code '${i4}'`); + return e4; + }, [])); + }, t2.getLanguageEntry = v, t2.getLanguageEntries = I, t2.getLanguageObjectForCurrentLocale = function() { + return a.default.findWhere(m.isoLanguagesUiData, { id: u.getCurrentLanguage() }); + }, t2.getProperCasedLangCode = function(e3) { + const i3 = t2.allLangs[null == e3 ? void 0 : e3.toLowerCase()]; + return i3 ? i3.id : null; + }, t2.getLangKnowledgeBaseLanguageTag = function(e3) { + const i3 = t2.allLangs[null == e3 ? void 0 : e3.toLowerCase()]; + return null == i3 ? void 0 : i3.knowledgeBaseLanguageTag; + }, t2.getLangSupportsConversationSummary = function(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 = 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; + return !!i3 && true === i3.hasFlowDebugTTS; + }, t2.hasFlowCreationLocalizedText = function(e3) { + const i3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!i3 && true === i3.hasFlowCreationTTS; + }, t2.supportsShowLanguagePreviewForNluFlowType = b, t2.getLanguagePreviewStatusForNluFlowType = function(e3, t3) { + var i3; + if (!b(e3)) return C.None; + const n3 = c.bootstrapService.featureSupport.naturalLanguageUnderstanding.supportedLanguages.find((e4) => e4.language === t3); + return (null == n3 ? void 0 : n3.status) ? O.get(null === (i3 = n3.status) || void 0 === i3 ? void 0 : i3.toLowerCase()) : C.None; + }, t2.isFlowTypeWithLanguageSupportedInSystem = function(e3, t3) { + return t3 === o.flowTypes.flowTypeInboundShortMessage || t3 === o.flowTypes.flowTypeInboundEmail || t3 === o.flowTypes.flowTypeInboundChat || E(e3, t3); + }, t2.supportsAudioDataAndTTSPlaybackAndSpeechRecForFlowType = E, t2.supportsFlowDebugForFlowType = function(e3, i3) { + if (i3 === o.flowTypes.flowTypeVoicemail) return true; + const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!n3 && (true === n3.getSupportsTTSPlaybackForFlowType(i3) && true === n3.hasFlowDebugTTS); + }, t2.supportsSpeechRecForFlowType = function(e3, i3) { + const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!n3 && n3.getSupportsSpeechRecForFlowType(i3); + }, t2.supportsTTSPlaybackForFlow = function(e3, i3) { + const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!n3 && n3.getSupportsTTSPlaybackForFlow(i3); + }, t2.supportsTTSPlaybackForFlowType = function(e3, i3) { + const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!n3 && n3.getSupportsTTSPlaybackForFlowType(i3); + }, t2.supportsTranscriptionForFlowType = function(e3, i3) { + const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!n3 && n3.getSupportsTranscriptionForFlowType(i3); + }, t2.supportsVoicemailTypeForFlowType = function(e3, i3, n3) { + const o2 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!o2 && o2.getSupportsVoicemailTypeForFlowType(i3, n3); + }, t2.isValidLanguageCode = function(e3) { + return !(!e3 || !e3.toLowerCase) && !!t2.allLangs[e3.toLowerCase()]; + }; + const n2 = i2(31635), o = i2(96618), r = 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("-"); } - t2.default = r2; - }, 62532: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); + function T(e3) { + if (!e3) return null; + const i3 = t2.allLangs[e3.toLowerCase()]; + return i3 ? i3.text : e3; } - i2(11475).extend(n2, "AssignedCustomerIntentVariable", true), e2.exports = n2; - }, 62560: (e2, t2, i2) => { + 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 S(e3) { + const i3 = s.default.getDefinitionForFlowType(e3); + return (null == i3 ? void 0 : i3.supportsNlu) ? I(i3.availableLanguageTags) : e3 === o.flowTypes.flowTypeInboundEmail || e3 === o.flowTypes.flowTypeInboundShortMessage || e3 === o.flowTypes.flowTypeInboundChat || e3 === o.flowTypes.flowTypeWorkflow || e3 === o.flowTypes.flowTypeWorkitem || e3 === o.flowTypes.flowTypeInQueueEmail || e3 === o.flowTypes.flowTypeInQueueShortMessage ? a.default.filter(t2.nonGenericLangs, function(e4) { + return e4.isAutomateFlowCreateSuggestion; + }) : a.default.filter(t2.nonGenericLangs, function(t3) { + return t3.getSupportsAudioDataPlaybackForFlowType(e3); + }); + } + function A(e3) { + return a.default.filter(h.isoLanguages, function(t3) { + return t3.getSupportsTTSPlaybackForFlowType(e3); + }); + } + function N(e3) { + if (!e3) return null; + const t3 = T(e3), i3 = t3.search(/\(/g); + return i3 >= 0 ? t3.substring(0, i3).trim() : t3.trim(); + } + function v(e3) { + return e3 ? t2.allLangs[e3.toLowerCase()] : null; + } + function I(e3) { + const t3 = []; + return e3 && a.default.each(e3, function(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) => 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 O = /* @__PURE__ */ new Map([["preview", C.Preview], ["earlypreview", C.EarlyPreview], ["ga", C.Ga]]); + function b(e3) { + var t3; + return d.isFeatureAvailable(l.default.nluLanguageStatus) && (null === (t3 = s.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsNlu); + } + function E(e3, i3) { + const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; + return !!n3 && n3.getSupportsTTSPlaybackForFlowType(i3) && n3.getSupportsAudioDataPlaybackForFlowType(i3) && n3.getSupportsSpeechRecForFlowType(i3); + } + }, 44351(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isObservable = void 0; - var n2 = i2(48051), r2 = i2(10281); - t2.isObservable = function(e3) { - return !!e3 && (e3 instanceof n2.Observable || r2.isFunction(e3.lift) && r2.isFunction(e3.subscribe)); - }; - }, 62613: (e2, t2, i2) => { + t2.surveyFormDtmfValues = t2.Tk = t2.botFormDtmfTerminatingValues = t2.surveyFormDtmfTerminatingValues = t2.Yw = t2.dtmfPound = void 0, t2.dtmfPound = "#", t2.Yw = "*", t2.surveyFormDtmfTerminatingValues = [t2.dtmfPound, t2.Yw].map((e3) => ({ id: e3, displayString: e3 })), t2.botFormDtmfTerminatingValues = [t2.dtmfPound].map((e3) => ({ id: e3, displayString: e3 })), t2.Tk = [...[...Array(100).keys()].map((e3) => e3.toString())].map((e3) => ({ id: e3, displayString: e3 })), t2.surveyFormDtmfValues = [...t2.Tk, ...t2.surveyFormDtmfTerminatingValues]; + }, 94110(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GroupedFlowService = void 0; - const n2 = i2(31635).__importStar(i2(36781)), r2 = i2(4738); - class o extends r2.GroupedBaseService { - constructor() { - super(); - const e3 = (e4) => { - this._destroyGroup(e4); - }; - n2.serviceListen(n2.cleanUpFlow, e3), n2.serviceListen(n2.flowLoadFailed, e3); - } - _getGroupByIdentifier(e3) { - if (e3 && e3.isFlowViewModel) return e3.id; - } - _getGroupByObjectFromObjectInGroup(e3) { - return e3.parentFlow; + t2.buildSurveyFlow = function(e3) { + var t3; + e3.voiceSurveyFlowSettings.archSurveyForm.header && g(a.communicateActionType, e3.startUpObject, (t4) => { + t4.name = h.voiceSurvey.voiceSurveyHeaderLabel, t4.communication.options.setAllowModeBuilder(true), t4.communication.options.setDefaultToBuilderId(o.builderIds.parts.genericCommunication), t4.communication.setCommunicationBuilderText(e3.voiceSurveyFlowSettings.archSurveyForm.header, true); + }); + const i3 = (function(e4) { + const t4 = e4.reduce((e5, t5) => (e5[t5.name] || (e5[t5.name] = []), e5[t5.name].push(t5), e5), {}), i4 = {}; + return Object.entries(t4).forEach(([e5, t5]) => { + 1 === t5.length ? i4[t5[0].id] = e5 : t5.forEach((e6, t6) => { + i4[e6.id] = `${e6.name} ${t6 + 1}`; + }); + }), i4; + })(e3.voiceSurveyFlowSettings.archSurveyForm.questionGroups); + (null === (t3 = e3.voiceSurveyFlowSettings.archSurveyForm.questionGroups) || void 0 === t3 ? void 0 : t3.length) && e3.voiceSurveyFlowSettings.archSurveyForm.questionGroups.forEach((t4, o2) => { + !(function(e4, t5, i4, o3) { + var a2; + const l2 = e4.createTask(i4); + 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, o3 + 1); + const t6 = e5.branches.find((e6) => e6.id === p.outputIds.no); + g(u.endTaskActionType, t6, (e6) => { + e6.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionGroupNotApplicable, o3 + 1); + const t7 = l2.createBranch(h.voiceSurvey.voiceSurveyNotApplicableLabel); + e6.linkPath(t7); + }), 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, c2, (i5) => { + i5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionWithIndex, t6 + 1), i5.configureFromArchSurveyQuestionId(e5.id); + }); + }), g(u.endTaskActionType, l2, (e5) => { + e5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyEndQuestionGroupTaskActionLabel, t5.name); + const i5 = l2.getBranches().find((e6) => e6.outputId === p.outputIds.default); + e5.linkPath(i5); + }), g(r.callTaskActionType, e4.startUpObject, (e5) => { + e5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionGroupTaskName, o3 + 1), e5.containerActionProperty.setReference(l2); + }); + })(e3, t4, i3[t4.id], o2); + }), e3.voiceSurveyFlowSettings.archSurveyForm.footer && g(a.communicateActionType, e3.startUpObject, (t4) => { + t4.name = h.voiceSurvey.voiceSurveyFooterLabel, t4.communication.options.setAllowModeBuilder(true), t4.communication.options.setDefaultToBuilderId(o.builderIds.parts.genericCommunication), t4.communication.setCommunicationBuilderText(e3.voiceSurveyFlowSettings.archSurveyForm.footer, true); + }), g(l.disconnectActionType, e3.startUpObject); + }; + const n2 = i2(30801), o = i2(28562), r = 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); + i3 && i3(n3); + } catch (t4) { + m.exception(t4, `failed to create ${e3} action`); } } - t2.GroupedFlowService = o; - }, 62778: (e2, t2, i2) => { - const { globalTypes: n2 } = i2(14394); - function r2(e3, t3) { - r2.baseConstructor.call(this, e3, t3); + }, 17894(e2, t2, i2) { + "use strict"; + t2.buildFlowEntitiesFromSurveyForm = function(e3, t3) { + var i3; + const n3 = { language: (null === (i3 = t3.id) || void 0 === i3 ? void 0 : i3.toLowerCase()) || "en-us", intents: [] }, a2 = [], s2 = [], g = { 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: a2, questionMappingInfo: s2, formToSlotVariableMappings: {} }, f = { nluDomainVersion: n3, surveyInfo: g, flowVariables: [] }, T = g.archSurveyForm; + e3.questionGroups.forEach((e4, t4) => { + const i4 = t4 + 1, _2 = `Form.QuestionGroup${i4}`, y2 = `__SURVEY_QUESTION_GROUP_${i4}__`, S = { variableId: y2, variableName: _2, visibilityCondition: e4.visibilityCondition ? e4.visibilityCondition : void 0, id: e4.id, name: e4.name, questions: [], groupIndex: i4 }; + T.questionGroups.push(S); + let A = 1; + e4.questions.forEach((t5) => { + const a3 = `Form.${(0, u.getSurveyQuestionSlotName)(i4, A)}`, _3 = (0, l.getSurveyQuestionFormVariableId)(i4, A), g2 = { variableId: _3, variableName: a3, visibilityCondition: t5.visibilityCondition ? t5.visibilityCondition : void 0, id: t5.id, questionType: m(t5.type), questionText: t5.text, naEnabled: t5.naEnabled, answerOptions: [], followUpQuestionText: null == t5 ? void 0 : t5.explanationPrompt, maxResponseCharacters: null == t5 ? void 0 : t5.maxResponseCharacters, questionIndex: A, groupIndex: i4 }; + r.default.isEmpty(t5.helpText) || (g2.questionHelpText = t5.helpText), S.questions.push(g2); + const T2 = []; + let y3; + const N2 = []; + switch (t5.type) { + case p.SurveyQuestionTypesEnum.freeTextQuestion: + const e5 = { name: (0, u.getSurveyQuestionSlotName)(i4, A), type: o.BuiltInEntityType.BuiltInAny }; + N2.push(e5); + break; + case p.SurveyQuestionTypesEnum.npsQuestion: + for (let e6 = 0; e6 <= 10; e6++) { + const t6 = e6.toString(), i5 = { value: t6, synonyms: [t6] }; + T2.push(i5); + } + y3 = { name: (0, c.getSurveyQuestionSlotTypeName)(i4, A), description: void 0, mechanism: { type: "List", items: T2, restricted: true } }; + const n4 = { name: (0, u.getSurveyQuestionSlotName)(i4, A), type: y3.name }; + N2.push(n4); + break; + case p.SurveyQuestionTypesEnum.multipleChoiceQuestion: + let r2 = 1; + t5.answerOptions.forEach((e6) => { + const t6 = { id: e6.id, text: e6.text, dtmf: r2.toString() }; + if (!g2.answerOptions.find((e7) => e7.text === t6.text)) { + if (void 0 !== t6.text) { + const t7 = { value: e6.text }; + T2.push(t7), t7.synonyms || (t7.synonyms = []), t7.synonyms.push(r2.toString()); + } + g2.answerOptions.push(t6), r2++; + } + }), y3 = { name: (0, c.getSurveyQuestionSlotTypeName)(i4, A), description: void 0, mechanism: { type: "List", items: T2, restricted: true } }; + const a4 = { name: (0, u.getSurveyQuestionSlotName)(i4, A), type: y3.name }; + N2.push(a4); + } + if ((0, d.surveyQuestionHasFollowUp)(t5)) { + const e5 = { name: (0, u.getSurveyQuestionSlotName)(i4, A, true), type: o.BuiltInEntityType.BuiltInAny }; + N2.push(e5); + } + const v2 = new h.SurveyQuestionVariable({ name: a3, id: _3, version: "1.0" }); + f.flowVariables.push(v2), y3 && (n3.entityTypes || (n3.entityTypes = []), n3.entityTypes.push(y3)), N2.length > 0 && (n3.entities || (n3.entities = []), n3.entities.push(...N2)); + const I = { surveyQuestionId: t5.id, parentSurveyQuestionGroupId: e4.id, surveyQuestionIndex: A, questionVariableId: v2.id }; + s2.push(I), A++; + }); + const N = new h.SurveyQuestionGroupVariable({ name: _2, id: y2, version: "1.0" }); + f.flowVariables.push(N); + const v = { surveyQuestionGroupId: e4.id, parentSurveyFormId: g.formMappingInfo.surveyFormId, questionGroupVariableId: N.id, surveyQuestionGroupIndex: i4 }; + a2.push(v); + }); + const y = new h.SurveyFormVariable({ name: "Form.FullSurvey", id: "__SURVEY_FORM__", version: "1.0", description: _.systemVariables.surveyForm }); + return f.flowVariables.push(y), f; + }, t2.getFirstEntityErrorInfo = function(e3, t3) { + const i3 = { name: "", type: "", namesMatch: false, typesMatch: false }; + return t3.forEach((t4) => { + const n3 = e3.find((e4) => e4.name === t4.name); + return n3 ? (null == n3 ? void 0 : n3.type) !== t4.type ? (i3.name = t4.name, i3.type = t4.type, i3) : void 0 : (i3.name = t4.name, i3); + }), i3; + }, t2.getFirstEntityTypeErrorInfo = function(e3, t3) { + const i3 = { name: "", namesMatch: false, mechanismsMatch: true }; + return t3.forEach((t4) => { + var n3, o2, r2, a2, s2, l2; + const u2 = e3.find((e4) => e4.name === t4.name); + return u2 ? (null === (n3 = null == u2 ? void 0 : u2.mechanism) || void 0 === n3 ? void 0 : n3.type) !== (null === (o2 = null == t4 ? void 0 : t4.mechanism) || void 0 === o2 ? void 0 : o2.type) ? (i3.name = t4.name, i3.mechanismsMatch = (null === (r2 = t4.mechanism) || void 0 === r2 ? void 0 : r2.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), o = i2(68694), r = (i2(17604), n2.__importDefault(i2(92140))), a = n2.__importStar(i2(24032)), s = (n2.__importStar(i2(89884)), n2.__importDefault(i2(90396)), i2(99918), i2(12847)), l = (i2(44724), i2(56969)), u = i2(56969), c = i2(56969), d = i2(56969), p = i2(56969), _ = (n2.__importStar(i2(46920)), i2(47957)), h = i2(35825); + a.getTopic("voiceSurveyFlow"); + function m(e3) { + if ("readOnlyTextBlockQuestion" === e3) return p.SurveyQuestionTypesEnum.readOnlyQuestion; + return p.SurveyQuestionTypesEnum[e3] || ((0, s.error)(`Unknown survey question type ${e3}`), e3); } - i2(40894).extend(r2), Object.defineProperties(r2.prototype, { _determineType: { value: function() { - return n2.string; - } }, enumValues: { get: function() { - return this.model.type.enum; - } } }), e2.exports = r2; - }, 62795: (e2, t2) => { + }, 2305(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - }, 62829: (e2, t2, i2) => { + var i2; + t2.SurveyFormDependencyErrors = void 0, (function(e3) { + e3.disabled = "DISABLED", e3.doesNotExist = "DOES_NOT_EXIST", e3.none = "NONE", e3.notLatest = "NOT_LATEST"; + })(i2 || (t2.SurveyFormDependencyErrors = i2 = {})); + }, 56969(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.actionDefs = void 0, t2._getActionTypeMap = function() { - return m; - }, t2.registerAction = function(e3) { - 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) { - 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) { - 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) { - if (!e3) return ""; - if (e3.isMenuChoice) { - if (!e3.action) return ""; - e3 = e3.action; + t2.SurveyQuestionTypesEnum = void 0, t2.getSurveyQuestionFormVariableId = function(e3, t3) { + return `__SURVEY_QUESTION_${e3}_${t3}__`; + }, t2.getGroupQuestionName = function(e3, t3) { + return (0, o.sprintf)(p.voiceSurvey.voiceSurveyQuestionWithGroupAndQuestionIndex, e3.groupIndex, t3.questionIndex); + }, t2.getSurveyQuestionSlotName = g, t2.getSurveyQuestionSlotTypeName = function(e3, t3) { + return `${g(e3, t3)}_Type`; + }, t2.surveyQuestionHasFollowUp = f, t2.surveyQuestionHasNa = function(e3) { + switch ((null == e3 ? void 0 : e3.questionType) || (null == e3 ? void 0 : e3.type)) { + case _.freeTextQuestion: + case _.npsQuestion: + case _.multipleChoiceQuestion: + return !!e3.naEnabled; } - if (e3.nodeGuxIcon) return e3.nodeGuxIcon; - const t3 = (function(e4) { - 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.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) { - const n3 = (function(e4, t4) { - const i4 = p[e4]; - if (!i4) return null; - const n4 = new i4(t4); - if (!t4) { - n4.hasOwnProperty("id") && (n4.id = (0, a.uuid)()); - const t5 = h[e4]; - n4.name = t5.name; - } - return n4; - })(e3, i3), r3 = T(t3, n3); - return r3.setNewInstanceDefaults && r3.setNewInstanceDefaults(), r3.initializeDesignTime(), r3; - }, t2.getInfo = function(e3) { - return h[e3]; - }, t2.getFirstAction = function(e3, t3, i3, n3) { - const r3 = o.default.findWhere(f, { id: e3 }); - 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), 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]; - if (!n3) throw new TypeError((0, r2.sprintf)("Invalid action model for action '%s'", t3.name)); - const a2 = new n3(e3, t3); - return o.default.isArray(i3) && t3.__notApplicablePaths && i3.push(...t3.__notApplicablePaths), delete t3.__notApplicablePaths, a2; - } - function y(e3) { + return false; + }, t2.getSurveyFormSlotHandlingMap = function(e3) { + var t3; + const i3 = /* @__PURE__ */ new Map(); + let n3 = 1; + return null === (t3 = null == e3 ? void 0 : e3.questionGroups) || void 0 === t3 || t3.forEach((e4, t4) => { + let o2 = 1; + e4.questions.forEach((e5) => { + i3.set(g(n3, o2), s.SlotHandlingType.surveyFormQuestionSlot), f(e5) && i3.set(g(n3, o2, true), s.SlotHandlingType.surveyFormQuestionFollowUpSlot), o2++; + }), n3++; + }), i3; + }, t2.findAnswerOptionInQuestion = T, t2.findSurveyQuestionInForm = S, 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++) { + const o2 = e3.questionGroups[t4]; + (null === (i3 = o2.questions) || void 0 === i3 ? void 0 : i3.length) && n3.push(...o2.questions); + } + return n3; + }, t2.getQuestionDtmfAnswerOptionMap = function(e3) { const t3 = {}; - o.default.each(e3.actions, function(e4) { + return r.default.each(null == e3 ? void 0 : e3.answerOptions, (e4) => { var i3; - if (e4 && e4.id) { - const n3 = h[e4.id]; - n3 && (n3.loadServerData(e4), t3[n3.typeId] = (null === (i3 = n3.supportedFlowTypes) || void 0 === i3 ? void 0 : i3.join(", ")) || "none"); + if (null === (i3 = e4.dtmf) || void 0 === i3 ? void 0 : i3.length) { + const i4 = t3[e4.dtmf]; + i4 ? i4.push(e4) : t3[e4.dtmf] = [e4]; } - }), o.default.each(h, function(i3) { - i3.needsServerInfo && !e3.actions[i3.typeId] && (t3[i3.typeId] = "none!!"); - }), s.table("Bootstrap action data support", t3); - } - t2.actionDefs = h, d.bootstrapDataLoaded.then(function(e3) { - y(e3); - }); - }, 62893: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.windowCount = void 0; - var r2 = i2(76808), o = i2(65212), a = i2(17214); - t2.windowCount = function(e3, t3) { - void 0 === t3 && (t3 = 0); - var i3 = t3 > 0 ? t3 : e3; - return o.operate(function(t4, o2) { - var s = [new r2.Subject()], l = 0; - o2.next(s[0].asObservable()), t4.subscribe(a.createOperatorSubscriber(o2, function(t5) { - var a2, u; - try { - for (var c = n2(s), d = c.next(); !d.done; d = c.next()) d.value.next(t5); - } catch (e4) { - a2 = { error: e4 }; - } finally { - try { - d && !d.done && (u = c.return) && u.call(c); - } finally { - if (a2) throw a2.error; + }), t3; + }, t2.getVisibilityConditionExprText = function(e3, t3) { + var i3, n3, o2, r2; + let a2; + if (null === (i3 = null == e3 ? void 0 : e3.predicates) || void 0 === i3 ? void 0 : i3.length) { + let i4; + const s2 = e3.predicates, l2 = []; + for (let e4 = 0; e4 < s2.length; e4++) { + const r3 = null === (o2 = null === (n3 = s2[e4]) || void 0 === n3 ? void 0 : n3.toLowerCase()) || void 0 === o2 ? void 0 : o2.split("/"); + if (r3.length && "form" === r3[1] && "questiongroup" === r3[2] && r3[3]) { + const e5 = parseInt(r3[3]), n4 = t3.questionGroups[e5]; + if ("question" === r3[4] && r3[5]) { + const e6 = parseInt(r3[5]), o3 = n4.questions[e6], a3 = S(t3, o3.id); + if (i4 = a3.variableName, "answer" === r3[6] && r3[7]) { + let e7; + if (a3.questionType === _.npsQuestion && Object.values(h).includes(r3[7].toLowerCase())) e7 = `GetSurveyQuestionNPSCategory(${i4}) == "${r3[7].toLowerCase()}"`; + else { + const t4 = parseInt(r3[7]), n5 = o3.answerOptions[t4]; + let a4; + n5 && (a4 = n5.text), e7 = a4 ? `GetSurveyQuestionAnswer(${i4}) == ${d.default.getQuotedExpressionStringLiteral(a4)}` : `IsSet(${i4})`; + } + e7 && l2.push(e7); + } + } + } + } + switch (l2.length) { + case 0: + break; + case 1: + a2 = l2[0]; + break; + default: { + let t4; + switch (null === (r2 = e3.combiningOperation) || void 0 === r2 ? void 0 : r2.toLowerCase()) { + case "and": + default: + t4 = ")\nAnd ("; + break; + case "or": + t4 = ")\nOr ("; } + a2 = `(${l2.join(t4)})`; } - var p = l - e3 + 1; - if (p >= 0 && p % i3 === 0 && s.shift().complete(), ++l % i3 === 0) { - var _ = new r2.Subject(); - s.push(_), o2.next(_.asObservable()); + } + } + return a2; + }, t2.checkSurveyForm = function(e3, t3) { + var i3; + if (t3 || (t3 = {}), !r.default.isObject(e3)) return A(t3, { errorType: m.formInvalid }), t3; + if (e3.disabled) return A(t3, { errorType: m.formDisabled }), t3; + let n3 = 0; + return null === (i3 = null == e3 ? void 0 : e3.questionGroups) || void 0 === i3 || i3.forEach((e4, i4) => { + var o2; + null === (o2 = e4.questions) || void 0 === o2 || o2.forEach((e5, o3) => { + var r2; + e5.type === _.multipleChoiceQuestion && (null === (r2 = e5.answerOptions) || void 0 === r2 || r2.forEach((e6, n4) => { + var r3; + (null === (r3 = e6.text) || void 0 === r3 ? void 0 : r3.length) > a.voiceSurveyLimits.answerOptionTextLength.maxLength && A(t3, { groupIndex: i4 + 1, questionIndex: o3 + 1, answerOptionIndex: n4 + 1, errorType: m.answerOptionExceedsMaxLength }); + }), n3++); + }); + }), n3 > a.voiceSurveyLimits.multipleChoiceQuestions.maxLength && A(t3, { errorType: m.multipleChoiceLimitExceeded }, true), t3; + }, 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 = []; + let n3 = false; + return r.default.each(e3.errors, (e4, t4) => { + var s2, l2; + if (null === (s2 = e4.form) || void 0 === s2 ? void 0 : s2.length) { + switch (t4) { + case m.formInvalid: + i3.push(p.voiceSurvey.surveyFormInvalid); + break; + case m.formDisabled: + i3.push(p.voiceSurvey.surveyFormDisabled); + break; + case m.formInsufficientViewPermissions: + i3.push((0, o.sprintf)(p.voiceSurvey.surveyFormInsufficientPermissions, u.permissionStrings.external.externalAuthorizations.qualitySurveyFormView)); + break; + case m.multipleChoiceLimitExceeded: + i3.push((0, o.sprintf)(p.voiceSurvey.voiceSurveyFormExceedsMultipleChoiceLimit, a.voiceSurveyLimits.multipleChoiceQuestions.maxLength)); } - }, function() { - for (; s.length > 0; ) s.shift().complete(); - o2.complete(); - }, function(e4) { - for (; s.length > 0; ) s.shift().error(e4); - o2.error(e4); - }, function() { - s = null; - })); - }); + n3 = true; + } else if (!n3 && (null === (l2 = e4.questions) || void 0 === l2 ? void 0 : l2.length)) { + const n4 = []; + r.default.each(e4.questions, (e5) => { + n4.push((0, o.sprintf)(p.voiceSurvey.voiceSurveyQuestionWithGroupAndQuestionIndex, e5.groupIndex, e5.questionIndex)); + }); + const s3 = (0, c.getListDisplayString)(n4) || p.generic.unknown; + let l3; + t4 === m.answerOptionExceedsMaxLength && (l3 = (0, o.sprintf)(n4.length > 1 ? p.voiceSurvey.surveyFormQuestionAnswerExceedsLimitErrorMoreThanOne : p.voiceSurvey.surveyFormQuestionAnswerExceedsLimitError, a.voiceSurveyLimits.answerOptionTextLength.maxLength, s3)), l3 && i3.push(l3); + } + }), i3.length ? (n3 || (i3.unshift(p.voiceSurvey.surveyFromIncompatible), i3.push(p.voiceSurvey.surveyFormUpdateNeeded)), i3.join(" ")) : void 0; }; - }, 62896: (e2, t2, i2) => { - const n2 = i2(48584); - function r2() { - r2.baseConstructor.apply(this, arguments); + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = i2(82632), s = i2(13116), l = (i2(99918), n2.__importDefault(i2(77862))), u = i2(44724), c = i2(66381), d = n2.__importDefault(i2(22226)), p = i2(47957); + var _, h, m; + function g(e3, t3, i3) { + return i3 ? `Group${e3}_Question${t3}${l.default.variable.nameFollowUpSuffix}` : `Group${e3}_Question${t3}`; } - i2(22124).extend(r2, "DialogflowAgentList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 62902: (e2, t2, i2) => { + function f(e3) { + return !!e3 && !((e3.questionType || e3.type) !== _.npsQuestion || !e3.followUpQuestionText && !e3.explanationPrompt); + } + function T(e3, t3) { + var i3; + let n3; + return (null === (i3 = null == e3 ? void 0 : e3.answerOptions) || void 0 === i3 ? void 0 : i3.length) && t3 && (t3 = null == t3 ? void 0 : t3.toLowerCase(), n3 = r.default.find(e3.answerOptions, (e4) => { + var i4; + return (null === (i4 = e4.id) || void 0 === i4 ? void 0 : i4.toLowerCase()) === t3; + })), n3; + } + function y(e3, t3, i3, n3, o2) { + var a2; + if (!t3) return; + let s2; + return i3 && (t3 = null == t3 ? void 0 : t3.toLowerCase()), (null === (a2 = null == e3 ? void 0 : e3.questions) || void 0 === a2 ? void 0 : a2.length) && (s2 = r.default.find(e3.questions, (e4) => { + var r2, a3; + return n3 ? i3 ? (null === (r2 = e4.questionText) || void 0 === r2 ? void 0 : r2.toLowerCase()) === t3 : e4.questionText === t3 : o2 && T(e4, t3) ? e4 : i3 ? (null === (a3 = e4.id) || void 0 === a3 ? void 0 : a3.toLowerCase()) === t3 : e4.id === t3; + })), s2; + } + function S(e3, t3, i3, n3, o2) { + var r2; + let a2; + if (t3 && (null === (r2 = null == e3 ? void 0 : e3.questionGroups) || void 0 === r2 ? void 0 : r2.length)) for (let r3 = 0; r3 < (null == e3 ? void 0 : e3.questionGroups.length) && (a2 = y(e3.questionGroups[r3], t3, i3, n3, o2), !a2); r3++) ; + return a2; + } + function A(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); + } + s.SlotHandlingType.surveyFormQuestionSlot, s.SlotHandlingType.surveyFormQuestionFollowUpSlot, (function(e3) { + e3.multipleChoiceQuestion = "multipleChoiceQuestion", e3.readOnlyQuestion = "readOnlyQuestion", e3.npsQuestion = "npsQuestion", e3.freeTextQuestion = "freeTextQuestion"; + })(_ || (t2.SurveyQuestionTypesEnum = _ = {})), (function(e3) { + e3.detractor = "detractor", e3.passive = "passive", e3.promoter = "promoter"; + })(h || (h = {})), (function(e3) { + e3.answerOptionExceedsMaxLength = "answerOptionExceedsMaxLength", e3.formDisabled = "formDisabled", e3.formInvalid = "formInvalid", e3.formInsufficientViewPermissions = "formInsufficientViewPermissions", e3.multipleChoiceLimitExceeded = "multipleChoiceLimitExceeded"; + })(m || (m = {})); + }, 47524(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)), 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; - } - get dependencyType() { - return m.DigitalBotConnector; - } + Object.defineProperty(t2, "__esModule", { value: true }), t2.questionTypesAll = t2.readOnlyQuestion = t2.multipleChoiceQuestion = t2.npsQuestion = t2.freeTextQuestion = void 0; + const n2 = i2(47957); + t2.freeTextQuestion = { displayString: n2.voiceSurvey.freeTextQuestionLabel, id: "freeTextQuestion" }, t2.npsQuestion = { displayString: n2.voiceSurvey.npsQuestionLabel, id: "npsQuestion" }, t2.multipleChoiceQuestion = { displayString: n2.voiceSurvey.multipleChoiceQuestionLabel, id: "multipleChoiceQuestion" }, t2.readOnlyQuestion = { displayString: n2.voiceSurvey.readOnlyQuestionLabel, id: "readOnlyQuestion" }, t2.questionTypesAll = [t2.freeTextQuestion, t2.npsQuestion, t2.multipleChoiceQuestion, t2.readOnlyQuestion]; + }, 97591(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.systemUser = t2.starDivision = t2.defaultVoicemailFlowId = t2.defaultInQueueFlowId = void 0, t2.defaultInQueueFlowId = "037f2416-0bfc-4172-afe1-18a8989cae7e", t2.defaultVoicemailFlowId = "de4c63f0-0be1-11ec-9a03-0242ac130003", t2.starDivision = "*", t2.systemUser = "__system__"; + }, 53e3(e2, t2, i2) { + "use strict"; + t2.timeZoneService = void 0; + const n2 = i2(31635), o = i2(17604), r = 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() { - 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); - } - createAndAddBot(e3, t3, i3, n3) { - const r3 = new h({ id: e3, name: t3, botCompositeTag: i3, integrationId: n3 }); - this.addItem(r3); - } - _createItemViewModel(e3) { - return new l.BotConnectorViewModel(e3); + this._rawTimeZoneData = {}, this._timeZones = [], (() => { + n2.__awaiter(this, void 0, void 0, function* () { + try { + yield this._getTimeZone(); + } catch (e3) { + c.exception(e3, "error caught getting time zones in timeZoneService constructor"); + } + }); + })(); } - get _networkModel() { - return h; + _getTimeZone() { + return n2.__awaiter(this, void 0, void 0, function* () { + yield s.getAuthorizedPromise(); + try { + const e3 = yield u.getTimeZones(); + this._rawTimeZoneData = e3.entities, r.default.each(this._rawTimeZoneData, (e4) => { + const t3 = Math.abs(e4.offset); + this._timeZones.push({ id: e4.id, offset: e4.offset, displayString: (0, o.sprintf)(l.default.timezone.displayString, e4.offset < 0 ? "-" : "+", Math.trunc(t3 / 60), t3 % 60) }); + }); + } catch (e3) { + c.exceptionWarning(e3, "failed to get timezones"); + } + }); } - _registerWithManifest() { + timeZoneKeyIsValid(e3) { + return !r.default.isUndefined(this.timeZoneData[e3]); } - manifestFilter() { - return false; + get timeZoneData() { + return this._rawTimeZoneData; } - 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 ? d.digitalBotConnectorIntegrationManager.getItem(t3.integrationId) : null; + get timeZones() { + return this._timeZones; } - getItem(e3, t3) { - const i3 = t3, n3 = r2.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotCategoryId) ? i3.getUniqueBotCategoryId() : e3; - return super.getItem(n3); + getTimeZoneOffset(e3) { + return this._rawTimeZoneData[e3]; } - } - t2.DigitalBotConnectorManager = g, t2.digitalBotConnectorManager = new g(); - }, 62905: (e2, t2, i2) => { + }(); + }, 48565(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyCampaign"; - } - get content() { - } - get medium() { - } - get name() { - } - get source() { - } - get term() { + Object.defineProperty(t2, "__esModule", { value: true }), t2.getTrackingArray = function(e3, t3) { + const i3 = m(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.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 = g(e3); + if (!i3) return; + const n3 = e3.trackingId; + if (n3 === t3) return; + const o2 = i3[t3]; + if (o2 && o2 !== e3) { + let r2; + r2 = s.default.isUndefined(n3) || i3[n3] !== e3 ? N(e3.parentFlow) : n3, c.warning(`Tracking ID ${t3} is already used by [${o2.toString()}]. Reassigning it to ${r2} so [${e3.toString()}] can use ${t3}.`), (function(e4, t4, i4) { + const n4 = e4.trackingId; + I(e4, t4) && (n4 && delete i4[n4], i4[t4] = e4); + })(o2, r2, i3); } - get clickId() { + I(e3, t3) && (n3 && i3[n3] === e3 && delete i3[n3], i3[t3] = e3); + }, t2.registerNode = O, t2.removeNode = function(e3) { + const t3 = m(e3.parentFlow); + t3 && !e3.isMenuChoice && delete t3[e3.trackingId]; + }, t2.renumberFlow = function(e3) { + if (!e3) { + const e4 = "tracking.renumberFlow - Invalid flow passed to renumberFlow."; + throw c.error(e4), e4; } - get network() { + p[e3.instanceId] = v(e3, { action: 1, indent: "", wantConsoleOutput: false }); + }, t2.getValidIds = function(e3) { + if (!e3) { + const e4 = "tracking.getValidIds - Invalid flow passed to renumberFlow."; + throw c.error(e4), e4; } - get displayTypeName() { - return "ArchValueJourneyCampaign"; + return v(e3, { action: 2, indent: "", wantConsoleOutput: false }); + }, t2.createNewTrackingId = function(e3) { + return N(e3); + }, t2.getNodeByTrackingId = function(e3, t3) { + const i3 = m(e3); + return i3 ? i3[t3] : void 0; + }; + const n2 = i2(31635), o = i2(24032), r = i2(50474), a = n2.__importStar(i2(36781)), s = n2.__importDefault(i2(92140)), l = i2(17604), u = n2.__importDefault(i2(5024)), c = (0, o.getTopic)("tracking"); + function d(e3) { + return !!e3 && "object" == typeof e3 && "trackingId" in e3; + } + const p = {}, _ = {}; + function h(e3) { + delete p[e3.instanceId]; + } + function m(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 g(e3) { + if (e3) return m(e3.parentFlow); + c.error("Invalid node passed to getNodeTrackingMapForNode."); + } + function f(e3) { + return s.default.assign({}, e3, { indent: e3.indent + " " }); + } + function T(e3, t3, i3) { + switch (i3.action) { + case 1: + C(e3, t3); + break; + case 2: + t3[e3.id] = e3; + break; + default: + const n4 = (0, l.sprintf)("tracking.traverseAction - invalid traversal action specified of '%1$s'", i3.action); + throw c.error(n4), n4; } - get isArchValueJourneyCampaign() { - return true; + const n3 = f(i3); + s.default.each(e3.branches, function(e4) { + e4.topAction && T(e4.topAction, t3, n3); + }), e3.nextAction && T(e3.nextAction, t3, i3); + } + function y(e3, t3, i3) { + switch (i3.action) { + case 1: + C(e3, t3); + break; + case 2: + t3[e3.id] = e3; + break; + default: + const n3 = (0, l.sprintf)("tracking.traverseTask - invalid traversal action specified of '%1$s'", i3.action); + throw c.error(n3), n3; } + i3.wantConsoleOutput && console.log(i3.indent + e3.trackingId, "- task -", e3.name), e3.topAction && T(e3.topAction, t3, f(i3)); } - t2.default = r2; - }, 62957: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(57382)); - class a extends o.default { - constructor(e3) { - super(e3); + function S(e3, t3, i3) { + switch (i3.action) { + case 1: + break; + case 2: + 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 c.error(n4), n4; } - get displayTypeName() { - return "ArchBaseActionWithOutputFailure"; + 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); + } + function A(e3, t3, i3) { + switch (i3.action) { + case 1: + C(e3, t3); + break; + case 2: + t3[e3.id] = e3; + break; + default: + const n4 = (0, l.sprintf)("tracking.traverseMenu - invalid traversal action specified of '%1$s'", i3.action); + throw c.error(n4), n4; } - get isArchBaseActionWithOutputFailure() { - return true; + i3.wantConsoleOutput && console.log(i3.indent + e3.trackingId, "- menu -", e3.name); + const n3 = f(i3); + switch (i3.action) { + case 1: + s.default.chain(e3.choices).sortBy("uiSortStr").each(function(e4) { + S(e4, t3, n3); + }); + break; + case 2: + s.default.each(e3.choices, function(e4) { + S(e4, t3, n3); + }); } - get outputFailure() { - return this._getOutputById(r2.outputIds.failure, true); + } + function N(e3) { + const t3 = m(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 && c.warning(`next tracking number returned numbers that were in use, first dupe found: '${i3}', next unused one: '${n3}'`), n3; + } + function v(e3, t3) { + switch (t3.action) { + case 1: + e3.nextTrackingNumber = u.default.minTrackingId, p[e3.instanceId] = {}; + break; + case 2: + break; + default: + const i4 = (0, l.sprintf)("tracking.traverseFlow - invalid traversal action specified of '%1$s' to traverseFlow. Exiting.", t3.action); + throw c.error(i4), i4; } - get failureOutputs() { - if (this._getCoreViewModel().errorBindings) return this._failureOutputsCache || (this._failureOutputsCache = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().errorBindings)), this._failureOutputsCache; + 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); + }), s.default.each(e3.tasks, function(e4) { + e4.isHidden && !e4.parentFlow.isNluFlow || e4.isStartUpObject || y(e4, i3, t3); + }), (0, r.isCommonWorkflowViewModel)(e3) && s.default.each(e3.states, (e4) => { + e4.isHidden || e4.isStartUpObject || y(e4, i3, t3); + }), 1 === t3.action && a.emitter.emit(a.renumber), i3; + } + function I(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 C(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 = N(e3.parentFlow); + I(e3, i3), t3[i3] = e3; } - t2.default = a; - }, 62974: (e2, t2, i2) => { + function O(e3) { + var t3, i3; + const n3 = g(e3); + if (!n3) return; + let o2 = e3.trackingId; + if (o2) { + if (n3[o2]) { + if (!e3.parentFlow.loaded) { + const t4 = e3.parentFlow.instanceId; + return _[t4] || (_[t4] = []), _[t4].push(e3), void c.warning(`Duplicate tracking number encountered. Both [${null === (i3 = n3[o2]) || void 0 === i3 ? void 0 : i3.toString()}] and [${e3.toString()}] are ${o2}. Resetting the latter after the flow loads`); + } + o2 = e3.trackingId = N(e3.parentFlow), c.error(`Duplicate tracking number encountered. Both [${null === (t3 = n3[o2]) || void 0 === t3 ? void 0 : t3.toString()}] and [${e3.toString()}] are ${o2}. Resetting the latter to ${o2}`); + } + } else o2 = e3.trackingId = N(e3.parentFlow); + n3[o2] = e3; + } + a.serviceListen(a.cleanUpFlow, h), a.serviceListen(a.flowLoadStarted, h), a.serviceListen(a.flowLoadFailed, h), a.serviceListen(a.flowLoaded, function(e3) { + const t3 = _[e3.instanceId]; + t3 && (t3.forEach((e4) => { + const t4 = g(e4), i3 = e4.trackingId; + i3 && t4 && delete t4[i3], I(e4, void 0), O(e4), c.info(`Reset tracking id for [${e4.toString()}] to ${e4.trackingId}`); + }), delete _[e3.instanceId]); + }); + }, 5024(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.botFlowErrorEventHandlingSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(64306); - class s extends a.BaseBotSettingsSequence { - get errorHandlingErrorEventHandoverSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingErrorEventHandover"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 }, voicesurvey: { builderId: r2.builderIds.parts.genericCommunication, languageSequences: this.generateLanguageSequencesDefaultSequence("errorHandlingErrorEventHandoverVoiceSurvey") } }; - return this.generateLanguageSequenceConfig("ErrorHandlingErrorEventHandover", r2.builderIds.parts.genericCommunication, e3, t3); - } - get errorHandlingRecognitionEventHandoverSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingRecognitionEventHandover"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 }, voicesurvey: { builderId: r2.builderIds.parts.genericCommunication, languageSequences: this.generateLanguageSequencesDefaultSequence("errorHandlingRecognitionEventHandoverVoiceSurvey") } }; - return this.generateLanguageSequenceConfig("ErrorHandlingRecognitionEventHandover", r2.builderIds.parts.genericCommunication, e3, t3); - } - get errorHandlingAgentEscalationConfirmationSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingAgentEscalationConfirmation"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("ErrorHandlingAgentEscalationConfirmation", r2.builderIds.parts.genericCommunication, e3, t3); - } - get errorHandlingAgentEscalationHandoverSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingAgentEscalationHandover"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("ErrorHandlingAgentEscalationHandover", r2.builderIds.parts.genericCommunication, e3, t3); - } + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { minTrackingId: 10, maxTrackingId: 999999 }; + }, 92908(e2, t2) { + "use strict"; + t2.uiMetaDataKey = void 0, t2.uiMetaDataKey = { builder: "builder", builderVariableFormattingOptions: "builderVariableFormattingOptions", cameFromNull: "cameFromNull", cameFromEmptyString: "cameFromEmptyString", isJsonViewMode: "isJsonViewMode", litLanguage: "litLanguage", mode: "mode", nestedJson: "nestedJson" }; + }, 34475(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.getAdminAgenticVirtualAgentUrl = function(e3) { + return `${o}/ai-studio/agentic-virtual-agents${e3 ? `/agent/${e3}` : ""}`; + }, t2.getAdminCannedResponsesUrl = function(e3) { + if (e3) return `${o}/responseManagement/responses/detail/${e3}/library/edit`; + }, t2.getAdminConversationSchemaUrl = function(e3) { + return `${o}/conversation-schemas${e3 ? `/${e3}` : ""}`; + }, t2.getAdminConversationSummarySettingUrl = function(e3) { + return `${o}/ai-studio/summary-workbench${e3 ? `/config/${e3}` : ""}`; + }, t2.getAdminGuideUrl = function(e3) { + return `${o}/ai-studio/guides${e3 ? `/guide/${e3}` : ""}`; + }, t2.getCopilotBaseUrl = function() { + return `${n2}/copilot-framework/`; + }, t2.getAdminKnowledgeBaseUrl = function(e3) { + return `${o}/knowledge/knowledgeBases/articles${e3 ? `?kbId=${e3}` : ""}`; + }, t2.getAdminKnowledgeSettingUrl = function(e3) { + return `${o}/knowledge/knowledgeConfiguration/configurations/${e3 ? `${e3}/edit` : ""}`; + }, t2.getAdminOrganizationSettingsUrl = function() { + return `${o}/organization/settings`; + }, t2.getAdminPredictiveEngagementActionMapUrl = function() { + return `${o}/embed/engagement/action-map/`; + }, t2.getAdminProcessAutomationEventTriggersUrl = function() { + return `${o}/triggers/edit/`; + }, t2.getAdminProcessAutomationScheduledTriggersUrl = function() { + return `${o}/triggers/scheduled/edit/`; + }, t2.getAdminQualityPoliciesUrl = function() { + return `${s}/quality/admin/policies/mediaRetention/update/`; + }, t2.getWorkitemUrl = function() { + return l; + }, t2.getAdminSurveyFormsUrl = u, t2.getAdminSurveyFormUrl = function(e3) { + return `${u()}/${e3}`; + }, 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) { + return `${a}/quality/surveys/${e3}/performance`; + }, t2.getAnalyticsInteractionReportForFlowUrl = function(e3) { + return `${a}/interactions?flow=${e3}`; + }, t2.getAnalyticsVirtualAgentPerformanceForFlowUrl = function(e3) { + return `${a}/virtual-agent/performance${e3 ? `?virtualAgent=${e3}` : ""}`; + }, t2.getArchitectFlowsBaseUrl = function(e3) { + return `${r}/${e3}/flows`; + }, t2.getDialogEngineWorkbenchUrl = function() { + return `${n2}/dialog-engine/#/`; + }, t2.getKnowledgeBaseWorkbenchUrl = function(e3) { + return `${n2}/knowledge-workbench/#/knowledgeBases${e3 ? `/${e3}` : ""}`; + }, t2.getPubApiWorktypeCustomAttributeSchemaUrl = function(e3) { + return `/api/v2/taskmanagement/workitems/schemas/${e3}`; + }; + const n2 = `https://${i2(31635).__importStar(i2(35515)).values.host}`, o = `${n2}/directory/#/admin`, r = `${n2}/architect/#`, a = `${n2}/directory/#/analytics`, s = `${n2}/directory/#/engage`, l = `${n2}/directory/#/agent/task-management/workitems`; + function u() { + return `${o}/quality/surveyForms`; + } + function c() { + return `${o}/custom-attributes`; + } + function d() { + return `${o}/worktypes`; } - n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingErrorEventHandoverSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingRecognitionEventHandoverSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingAgentEscalationConfirmationSequence", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingAgentEscalationHandoverSequence", null), t2.botFlowErrorEventHandlingSequences = new s(); - }, 62979: (e2, t2, i2) => { + }, 29269(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(96169)), a = i2(84050); - class s extends a.NameIdDescriptionModel { - constructor(e3) { - var t3, i3; - super(e3), (0, r2.makeUnenumerable)(this, "_tableId"), (0, r2.makeUnenumerable)(this, "_name"), (0, r2.makeUnenumerable)(this, "_description"), (0, r2.makeUnenumerable)(this, "_publishedVersion"), (0, r2.makeUnenumerable)(this, "_status"), (0, r2.makeUnenumerable)(this, "_dateModified"), (0, r2.makeUnenumerable)(this, "_datePublished"), (0, r2.makeUnenumerable)(this, "_dateCreated"), (0, r2.makeUnenumerable)(this, "_publishedContract"), !this._publishedContract && (null == e3 ? void 0 : e3.schemas) && (this._publishedContract = new o.default(e3.schemas), (null === (t3 = e3.schemas) || void 0 === t3 ? void 0 : t3.input) && (this._publishedContract.executionInputSchema = e3.schemas.input), (null === (i3 = e3.schemas) || void 0 === i3 ? void 0 : i3.output) && (this._publishedContract.executionOutputSchema = e3.schemas.output)); - } - get id() { - return this._tableId; - } - set id(e3) { - this._tableId = e3; - } - get tableId() { - return this._tableId; - } - set tableId(e3) { - this._tableId = e3; - } - get publishedVersion() { - return this._publishedVersion; - } - set publishedVersion(e3) { - this._publishedVersion = e3; - } - get status() { - return this._status; - } - set status(e3) { - this._status = e3; - } - get dateCreated() { - return this._dateCreated; - } - set dateCreated(e3) { - this._dateCreated = e3; - } - get dateModified() { - return this._dateModified; - } - set dateModified(e3) { - this._dateModified = e3; - } - get datePublished() { - return this._datePublished; + t2.utf8EncodedSizeCalc = function(e3, t3) { + if ("string" != typeof e3) return console.error("Non-string value passed into utf8EncodedSizeCalc."), 0; + let i2 = e3.length; + for (let n2 = e3.length - 1; n2 >= 0; n2--) { + const o = e3.charCodeAt(n2); + if (o > 127 && o <= 2047 ? i2++ : o > 2047 && o <= 65535 && (i2 += 2), o >= 56320 && o <= 57343 && n2--, t3 && i2 > t3) return t3 + 1; } - set datePublished(e3) { - this._datePublished = e3; + return i2; + }; + }, 1115(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.TTS_NOT_SUPPORTED_ERROR = void 0, t2.validateFlowFailed = x, t2.validateFlow = function(e3, t3) { + if (!v(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 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: F, data: t4, menuCallback: M, taskCallback: M })); + })(e3, i3); + } catch (e4) { + f.exception(e4, "Failed to generate ID map and check for orphaned items."); + } + return e3.hasCommonModules && e3.getEmbeddedCommonModules().forEach((e4) => { + if (null == e4 ? void 0 : e4.deleted) return; + const t4 = new d.default(e4, true); + e4.validationResults = t4, L(e4, t4); + }), L(e3, i3), e3.hasCommonModules && e3.getEmbeddedCommonModules().forEach((t4) => { + if (null == t4 ? void 0 : t4.deleted) return; + const n3 = (0, _.getDependenciesForFlow)(t4).reduce((e4, t5) => { + var i4; + return r.default.isFunction(null === (i4 = t5.type) || void 0 === i4 ? void 0 : i4.getConfigItem) && (t5.type.getConfigItem(t5.id, true, t5.consumer) || e4.push((0, o.sprintf)(g.labelAndName, t5.type.displayName, t5.name))), e4; + }, []); + n3.length && i3.addError(t4, (0, o.sprintf)(g.commonModule.commonModuleMissingDependencies, t4.displayName, m.getListDisplayString(n3)), true); + const a2 = t4.getMissingLanguages(), s2 = t4.getHasMissingTTSEngineErrors(); + if (0 === a2.length && 0 === n3.length && !s2 && t4.validationResults.errorCount) { + const n4 = Object.values(t4.validationResults.issuesMap).flatMap((e4) => e4.errors); + i3.addError(t4, (0, o.sprintf)(g.commonModule.commonModuleInternalError, t4.displayName), true), e3.topic.error(`Found ${n4.length} errors in embedded common module`), n4.splice(0, 5).forEach((i4) => { + e3.topic.error(`internal cm error -> ${i4.displayName} -- ${i4.text} -- cmFlowId: ${t4.id}`); + }); + } + }), r.default.each(e3.tasks, (e4) => { + i3.countTaskErrors(e4); + }), (0, c.isCommonWorkflowViewModel)(e3) && r.default.each(e3.states, (e4) => { + i3.countTaskErrors(e4); + }), i3.isDeep = false, t3 || e3.invokeValidationComplete(), i3; + } catch (t4) { + return f.exception(t4, "Failure during validate"), x(e3, g.errors.errorOccurred, i3); + } finally { + e3.isValidating = false; } - get publishedContract() { - return this._publishedContract; + }, t2.validateAction = k, t2.validateNode = function e3(t3, i3) { + const n3 = t3.parentFlow; + if (!v(n3)) return; + if (i3) return N({ validationItem: t3, function: e3, args: [t3], funcName: "validateNode" }); + t3.initializeDesignTimeCalled; + const o2 = n3.validationResults; + return o2 && !o2.shouldValidate() || (o2.removeIssues(t3), t3.isDestroyedOrDestroying) ? void 0 : (t3.isMenu ? (S(t3, o2), w(t3.parentFlow.menus, o2)) : t3.isTaskLike ? (r.default.each(t3.actions, o2.removeIssues.bind(o2)), C(t3, o2), E(t3.parentFlow.tasks, o2), o2.countTaskErrors(t3)) : t3.validate && (S(t3, o2), t3.topParent && t3.topParent.isTaskLike && o2.countTaskErrors(t3.topParent)), n3 && n3.startUpObject === t3 && n3.initialPrompts && S(n3.initialPrompts, o2), o2.isDeep || R(0, t3), o2); + }, t2.validateItem = V, t2.clearIssues = function(e3) { + var t3; + if (!(null === (t3 = e3.parentFlow) || void 0 === t3 ? void 0 : t3.validationResults)) return; + const i3 = e3.parentFlow.validationResults; + i3.removeIssues(e3, true), e3.isDestroyedOrDestroying || e3.parentFlow.isDestroyedOrDestroying || !e3.parentFlow.loaded || R(0, e3); + }, t2.validate = function(e3, t3) { + if (!e3) return false; + if (e3.isDestroyedOrDestroying || !e3.initializeDesignTimeCalled) return false; + if (e3.isBaseAction) k(e3, true, t3); + else { + if (!(e3.isVariableViewModel || e3.isNormalExpression || e3.isBaseFlowSettingsViewModel)) return false; + V(e3, t3); } - set publishedContract(e3) { - this._publishedContract = this.reviveItem(e3, o.default); + return true; + }, t2.getIssues = function(e3, t3) { + return t3 ? t3.getIssues(e3) : null; + }; + const n2 = i2(31635), o = i2(17604), r = 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; + function S(e3, t3) { + try { + if (e3.isValidating) return void (e3.topic || f).errorWithErrorObjectInfo("Request made to validate item while item validation is already in progress.", e3, true, true); + e3.isValidating = true, e3.validate(t3); + } finally { + delete e3.isValidating; } } - 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), 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: _.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 d.setSkillExpressionFiltersFailureReasons; - } + function A() { + 0 !== T.length ? setTimeout(() => { + if (0 === T.length) return void (y = 0); + const e3 = y > 300; + if (!l.isFiringEvents() && !h.isFiringEvents() || e3) { + e3 && p.warn("Deferred validation max wait count (300) exceeded waiting for events to finish processing. Will process next pending validation call now."), y = 0; + const t3 = T.shift(); + if (r.default.isObject(t3)) try { + t3.function(...t3.args); + } catch (e4) { + f.exceptionWithErrorObjectInfo(e4, `Caught unhandled exception in deferred object validation. funcName: ${t3.funcName}`, t3.validationItem, true); + } + } else y++, y % 50 == 0 && p.warn(`Deferred validation still waiting since event processing is still in progress ( count: ${y} )`); + A(); + }, 90) : y = 0; + } + function N(e3) { + return !(!e3.validationItem || e3.validationItem.parentFlow && (!e3.validationItem.parentFlow.loaded || e3.validationItem.parentFlow.validationResults.isDeep) || r.default.find(T, (t3) => t3.validationItem === e3.validationItem && t3.function === e3.function) || (T.push(e3), A(), 0)); + } + function v(e3) { + return e3 && e3.canBeValidated(); + } + 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) { + const i3 = r.default.traverseFind(e3.parent, (e4) => e4.isDisabled && e4.parent, (e4) => e4.outOfService); + t3.addWarning(e3, i3 ? g.errors.unreachableActionOutOfService : g.errors.unreachableAction); + } + S(e3, t3); + } + } else f.error("Tried to validate: {}", e3); + } + 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), S(e3, t3), r.default.each(e3.actions, (e4) => { + I(e4, t3); + })); + } + function O(e3, t3) { + t3 && !t3.shouldValidate() || e3.isDestroyed || (S(e3, t3), (function(e4, t4) { + if (t4 && !t4.shouldValidate()) return; + const i3 = []; + r.default.each(e4.choices, (n3) => { + n3.isDestroyed || (S(n3, t4), n3.action ? I(n3.action, t4) : t4.addError(n3, g.action.notSet), n3.dtmf && (r.default.contains(i3, n3.dtmf) ? t4.addError(e4, (0, o.sprintf)(g.menuChoice.duplicateDtmf, n3.dtmf)) : i3.push(n3.dtmf))); + }); + })(e3, t3)); + } + function b(e3, t3) { + const i3 = { globalVariableHolder: {} }; + e3.forEach((e4) => { + const n3 = i3[e4.parent.id]; + if (n3) n3[e4.id] ? e4.addValidationError((0, o.sprintf)(g.errors.duplicateVariableId, e4.name), t3) : n3[e4.lowerName] ? e4.addValidationError((0, o.sprintf)(g.errors.duplicateVariableName, e4.name), t3) : i3.globalVariableHolder[e4.id] && e4.addValidationError((0, o.sprintf)(g.errors.duplicateVariableId, e4.name), t3); + else { + const t4 = {}; + t4[e4.id] = true, t4[e4.lowerName] = true, i3[e4.parent.id] = t4, i3.globalVariableHolder[e4.id] = true; + } + }); + } + function E(e3, t3) { + D(e3, t3); } - 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), c = n2.__importDefault(i2(65302)), d = i2(47957); - class p extends a.default { - constructor() { - super(), this._disallowZero = false, (0, o.makeUnenumerable)(this, "_disallowZero"); - } - static createMinMax(e3, t3, i3, n3) { - const o2 = new p(); - return r2.default.isUndefined(e3) || o2.setMinDec(e3).setMinValInclusive(true === t3), r2.default.isUndefined(i3) || o2.setMaxDec(i3).setMaxValInclusive(true === n3), o2; - } - _setFromFacets(e3) { - super._setFromFacets(e3), this._setFacetIfSet(this.setMaxDec, e3.maxVal, "_maxVal"), this._setFacetIfSet(this.setMinDec, e3.minVal, "_minVal"), this._setFacetIfSet(this.setDecimalPlaces, e3.decimalPlaces, "_decimalPlaces"), this._setFacetIfSet(this.setDisallowZero, e3.disallowZero, "_disallowZero"); - } - get className() { - return "DecimalFacets"; - } - get isDecimalFacets() { - return true; - } - addDescriptionInfo(e3, t3) { - super.addDescriptionInfo(e3, t3), true === this.disallowZero && t3.push(d.expressionsHelp.parameters.notAllowedZero); - } - get hasDescriptionInfo() { - return !!super.hasDescriptionInfo || this.disallowZero; - } - setMaxDec(e3) { - return this._maxVal = u.ParameterValidator.expectNumber(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "setMaxDec", "value")), this; - } - setMinDec(e3) { - return this._minVal = u.ParameterValidator.expectNumber(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "setMinDec", "value")), this; - } - get decimalPlaces() { - return this._decimalPlaces; - } - set decimalPlaces(e3) { - this._decimalPlaces = u.ParameterValidator.expectNumber(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "setDecimalPlaces", "value")); - } - setDecimalPlaces(e3) { - return this.decimalPlaces = e3, this; - } - get disallowZero() { - return this._disallowZero; - } - set disallowZero(e3) { - this._disallowZero = u.ParameterValidator.expectBool(e3, () => s.ParameterInfo.createPropertySet(this.className, "disallowZero", "value")); - } - setDisallowZero(e3) { - return this.disallowZero = e3, this; - } - _facetGetExpressionItemLitValue(e3) { - return e3.getLitAsFloat(); - } - _facetGetExpressionType() { - return c.default.getGlobalTypeGroup().getType(l.expressionTypeNames.decimal, this.isCollection); - } + function w(e3, t3) { + D(e3, t3); } - 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); - }, 63007: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { returnToAgentActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _reasonCode: { writable: true } }), a.baseConstructor.apply(this, arguments); + function R(e3, t3) { + (null == t3 ? void 0 : t3.parentFlow) ? t3.parentFlow.invokeSingleItemValidated(t3) : p.error("no parent flow"); } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.reasonCode.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.reasonCode.pasteResolveOldToNewValues(e3); - } }, reasonCode: { enumerable: true, get: function() { - return this._reasonCode; - }, set: function(e3) { - this._reasonCode = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 63029: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseOptionsWithOptional = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(42433), a = i2(55909), s = i2(33951); - class l extends o.BaseOptions { - constructor() { - super(), this._isOptional = false, (0, r2.makeUnenumerable)(this, "_isOptional"); - } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setIsOptional, e3.isOptional, "_isOptional"); - } - get className() { - return "BaseOptionsWithOptional"; - } - get isBaseOptionsWithOptional() { - return true; - } - get isOptional() { - return this._isOptional; - } - set isOptional(e3) { - this._isOptional = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "isOptional", "value")); - } - setIsOptional(e3) { - return this.isOptional = e3, this; - } + function D(e3, t3) { + if (!(null == e3 ? void 0 : e3.length)) return; + const i3 = "isTaskLike" in e3[0], n3 = i3 ? g.task.multipleNames : g.menu.multipleNames, o2 = !t3.parentFlow.isValidating, r2 = {}, a2 = e3.reduce((e4, i4) => { + const o3 = i4.linkedMenuChoice ? i4.linkedMenuChoice.parent.id : i4.parent.id; + return e4[o3] || (e4[o3] = {}), e4[o3][i4.name] || (e4[o3][i4.name] = []), e4[o3][i4.name].push(i4), t3.nodeHasError(i4.id, n3) && (r2[i4.id] = i4), e4; + }, {}); + Object.values(a2).forEach((e4) => { + Object.entries(e4).forEach(([e5, a3]) => { + a3.length <= 1 || a3.forEach((e6) => { + o2 && (t3.removeIssues(e6, false), S(e6, t3), delete r2[e6.id]), t3.addError(e6, n3), o2 && (i3 && t3.countTaskErrors(e6), R(0, e6)); + }); + }); + }), Object.values(r2).length && (o2 ? Object.values(r2).forEach((e4) => { + t3.removeIssues(e4, false), S(e4, t3), i3 && t3.countTaskErrors(e4), R(0, e4); + }) : p.error("we have items with duplicate name error but are not in a full flow validate state")); } - t2.BaseOptionsWithOptional = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "isOptional", null); - }, 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), 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 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 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"; - } - get isBuilderDefsBootstrap() { - return true; + function P(e3, t3) { + if (!t3.isDeep || !t3 || !t3.validIdMap || Object.keys(t3.validIdMap).length < 1 || !e3 || !e3.id) return false; + if (!t3.validIdMap[e3.id]) { + e3.isOrphan = true; + let i3 = (0, o.sprintf)("Found orphaned item while validating flow. Item id: '%1$s' in flow '%2$s' (id: '%3$s'). ", e3.id, t3.parentFlow.displayName, t3.parentFlow.id); + try { + e3.isAction ? (i3 += "Deleting orphaned action.", e3.topParent.deleteChild(e3), i3 += " Deletion complete.") : e3.isTaskLike || e3.isMenu ? (i3 += (0, o.sprintf)("Deleting orphaned %1$s.", e3.isTask ? "task" : e3.isState ? "state" : e3.isBotState ? "botState" : "menu"), t3.parentFlow.deleteNode(e3, false), i3 += " Deletion complete.") : i3 += "Did not attempt to remove."; + } catch (e4) { + return f.exception(e4, i3), true; + } + return f.error(i3), true; } - static get genericStringAndLabelStringBuilderDefGenerators() { - return { containerPartsGenerator: h.default.create().addFuncCall("Trim").addFuncCall("Append").addFuncCallParmGenerationBucket("append", true).addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("Trim(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 }; + return e3.isOrphan && delete e3.isOrphan, false; + } + function M(e3, t3) { + P(e3, t3.data) && (t3.traverseChildren = false); + } + function F(e3, t3) { + P(e3, t3.data); + } + function L(e3, t3) { + const i3 = p.time(`validating ${e3.toString()}`, 5e3); + t3 && !t3.shouldValidate() || (e3.validate(t3), e3.initialPrompts && S(e3.initialPrompts, t3), e3.isFlowViewModel || (e3.topic || f).errorWithErrorObjectInfo("Should not be using doValidation on this item", e3, true, true), r.default.each(e3.tasks, (e4) => { + C(e4, t3); + }), E(e3.tasks, t3), (0, c.isCommonWorkflowViewModel)(e3) && r.default.each(e3.states, (e4) => { + C(e4, t3); + }), e3.menus && (r.default.each(e3.menus, (e4) => { + r.default.each(e4.choices, (e5) => { + e5.speechRecTerms.refreshContainers(); + }); + }), r.default.each(e3.menus, (e4) => { + O(e4, t3); + })), w(e3.menus, t3), e3._autoManagedSettings.forEach((e4) => S(e4, t3)), (function(e4, t4) { + t4 && !t4.shouldValidate() || (r.default.each(e4.variableGroup.flowVariables, (e5) => { + S(e5, t4); + }), r.default.each(e4.variableGroup.taskVariables, (e5) => { + S(e5, t4); + }), r.default.each(e4.variableGroup.systemVariables, (e5) => { + e5.isNeeded && S(e5, t4); + }), t4.isDeep && (b(e4.variableGroup.flowVariables, t4), b(e4.variableGroup.taskVariables, t4))); + })(e3, t3), i3()); + } + function x(e3, t3, i3) { + return i3 || (i3 = new d.default(e3, true), e3.validationResults = i3), i3.isDeep = false, i3.addError(e3, t3, true), e3.invokeValidationComplete(), i3; + } + function k(e3, t3, i3) { + if (!v(e3.parentFlow)) return; + if (i3) return void N({ validationItem: e3, function: k, args: [e3, t3], funcName: "validateAction" }); + e3.initializeDesignTimeCalled; + const n3 = e3.parentFlow.validationResults; + 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), O(e3.menu, n3), R(0, e3.menu)), R(0, e3), n3) : void 0; + } + function V(e3, t3, i3) { + if (!e3.validate) return; + if (!v(e3.isFlowViewModel ? e3 : e3.parentFlow)) return; + const n3 = e3.isFlowViewModel ? e3.validationResults : e3.parentFlow.validationResults; + if (!n3 || n3.shouldValidate()) { + if (t3) return N({ validationItem: e3, function: V, args: [e3, false, i3], funcName: "validateItem" }); + if (e3.initializeDesignTimeCalled, n3.removeIssues(e3, i3), !e3.isDestroyed) return S(e3, n3), n3.isDeep || R(0, e3), n3; } } - const N = new A(); - t2.default = N; - }, 63150: (e2, t2, i2) => { + }, 66663(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), 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); + t2.buildWorkitemFlow = function(e3) { + const t3 = e3.states[0]; + if (t3) { + let e4 = 0; + for (; t3.actions.length && e4 < 512; ) t3.deleteChild(t3.actions[0]), e4++; } - getDetails() { - if (!this.messageBody) return null; - const e3 = [], t3 = []; - if (e3.push(g.sendResponse.sendBody), t3.push(this.messageBody.text), !this.messageBodyStyle.outOfService) { - e3.push(g.sendResponse.messageBodyStyleLabel); - let i3 = this.messageBodyStyle.text; - if (this.messageBodyStyle.isLiteralMode) { - const e4 = r2.default.find(m, { id: this.messageBodyStyle.text }); - i3 = e4 ? e4.displayString : g.sendResponse.noMessageBodyStyle; + e3.definition.supportsFlowInvokingEvent(s.FlowInvokingEvent.workitemCreated) && (function(e4) { + const t4 = f(e4, s.FlowInvokingEvent.workitemCreated, true); + g(e4, o.decisionActionType, e4.startUpObject, (i3) => { + i3.expression.setAsExpression(`Workitem.EventType == "${s.FlowInvokingEvent.workitemCreated}"`), i3.name = h.workitem.workitemEventQuestionCreated; + const o2 = i3.branches.find((e5) => e5.id === u.outputIds.yes); + g(e4, n2.callTaskActionType, o2, (e5) => { + e5.name = (0, c.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemCreated), e5.containerActionProperty.setReference(t4); + }); + }); + })(e3), e3.definition.supportsFlowInvokingEvent(s.FlowInvokingEvent.workitemStatusChanged) && (function(e4) { + var t4; + const i3 = []; + let r2 = []; + (null === (t4 = e4.workitemFlowSettings.worktype.statuses) || void 0 === t4 ? void 0 : t4.length) && (r2 = e4.workitemFlowSettings.getDisplayableListOfStatuses(), r2.forEach((t5) => { + const n3 = f(e4, t5.displayString); + i3.push(n3); + })), g(e4, o.decisionActionType, e4.startUpObject, (t5) => { + t5.expression.setAsExpression(`Workitem.EventType == "${s.FlowInvokingEvent.workitemStatusChanged}"`), t5.name = h.workitem.workitemEventQuestionStatusChanged; + const o2 = t5.branches.find((e5) => e5.id === u.outputIds.yes); + g(e4, d.switchActionActionType, o2, (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 o3 = 0; o3 < i3.length; o3++) { + if (o3 > p.switchActionCaseLimits.numMaxCases - 1) { + m.error(`Only adding first ${p.switchActionCaseLimits.numMaxCases} statuses out of ${r2.length}`); + break; + } + o3 > 0 && t6.addCase(false), t6.cases.items[o3].value.setAsLiteral(r2[o3].displayString), g(e4, n2.callTaskActionType, t6.branches[o3], (e5) => { + e5.name = i3[o3].name, e5.containerActionProperty.setReference(i3[o3]); + }); + } + }); + }); + })(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, 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) { + m.error(`Only adding first ${p.switchActionCaseLimits.numMaxCases} tasks out of ${t4.length}`); + break; + } + e5 > 0 && i4.addCase(false), i4.cases.items[e5].value.setAsLiteral(t4[e5].name); } - t3.push(i3); + g(e4, r.endTaskActionType, a2, (e5) => { + e5.name = (0, c.sprintf)(h.workitem.worktypeEndStatusTask, s.FlowInvokingEvent.workitemDateBasedEvent); + const t5 = a2.getBranchByOutputId(u.outputIds.default); + e5.linkPath(t5); + }); + }), g(e4, o.decisionActionType, e4.startUpObject, (t5) => { + 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, c.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemDateBasedEvent), e5.containerActionProperty.setReference(a2); + }); + }); + })(e3), g(e3, a.exitWorkitemFlowActionType, e3.startUpObject); + }; + const n2 = i2(30801), o = i2(30801), r = 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 o2 = i3.addAction(t3, i3.lastAction); + if (1 === e3.states[0].actions.length) { + const t4 = e3.flowSequenceItemList[0]; + t4.actionList = [o2], t4.startAction = o2.id; } - return new o.ActionDetails(e3, t3); - } - static get managedProperties() { - 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 }]; + n3 && n3(o2); + } catch (e4) { + m.exception(e4, `failed to create ${t3} action`); } } - 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"; - e3.defineLocale("ko", { months: "1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"), monthsShort: "1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"), weekdays: "\uC77C\uC694\uC77C_\uC6D4\uC694\uC77C_\uD654\uC694\uC77C_\uC218\uC694\uC77C_\uBAA9\uC694\uC77C_\uAE08\uC694\uC77C_\uD1A0\uC694\uC77C".split("_"), weekdaysShort: "\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"), weekdaysMin: "\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"), longDateFormat: { LT: "A h:mm", LTS: "A h:mm:ss", L: "YYYY.MM.DD.", LL: "YYYY\uB144 MMMM D\uC77C", LLL: "YYYY\uB144 MMMM D\uC77C A h:mm", LLLL: "YYYY\uB144 MMMM D\uC77C dddd A h:mm", l: "YYYY.MM.DD.", ll: "YYYY\uB144 MMMM D\uC77C", lll: "YYYY\uB144 MMMM D\uC77C A h:mm", llll: "YYYY\uB144 MMMM D\uC77C dddd A h:mm" }, calendar: { sameDay: "\uC624\uB298 LT", nextDay: "\uB0B4\uC77C LT", nextWeek: "dddd LT", lastDay: "\uC5B4\uC81C LT", lastWeek: "\uC9C0\uB09C\uC8FC dddd LT", sameElse: "L" }, relativeTime: { future: "%s \uD6C4", past: "%s \uC804", s: "\uBA87 \uCD08", ss: "%d\uCD08", m: "1\uBD84", mm: "%d\uBD84", h: "\uD55C \uC2DC\uAC04", hh: "%d\uC2DC\uAC04", d: "\uD558\uB8E8", dd: "%d\uC77C", M: "\uD55C \uB2EC", MM: "%d\uB2EC", y: "\uC77C \uB144", yy: "%d\uB144" }, dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, ordinal: function(e4, t3) { - switch (t3) { - case "d": - case "D": - case "DDD": - return e4 + "\uC77C"; - case "M": - return e4 + "\uC6D4"; - case "w": - case "W": - return e4 + "\uC8FC"; - default: - return e4; - } - }, meridiemParse: /오전|오후/, isPM: function(e4) { - return "\uC624\uD6C4" === e4; - }, meridiem: function(e4, t3, i3) { - return e4 < 12 ? "\uC624\uC804" : "\uC624\uD6C4"; - } }); - })(i2(95093)); - }, 63207: (e2, t2, i2) => { - const n2 = i2(2210), r2 = i2(54976), o = i2(90807), a = i2(7401), { transferVoicemailActionType: s } = i2(30801), l = i2(80748); - function u() { - Object.defineProperties(this, { _inputs: { writable: true }, _transferTarget: { writable: true }, _transferTargetGroup: { writable: true }, _transferTargetQueue: { writable: true }, _calleeName: { writable: true }, _callbackNumbers: { writable: true }, _voicemailGreeting: { writable: true }, _transferTargetType: { writable: true } }), this.scriptId = void 0, this.scriptName = void 0, u.baseConstructor.apply(this, arguments); + function f(e3, t3, i3, n3) { + const o2 = n3 ? t3 : (0, c.sprintf)(i3 ? h.workitem.worktypeNameWithEventTypePrefix : h.workitem.worktypeNameWithStatusPrefix, t3), a2 = e3.createTask(o2); + return g(e3, r.endTaskActionType, a2, (e4) => { + e4.name = (0, c.sprintf)(h.workitem.worktypeEndStatusTask, t3); + const i4 = a2.getBranches().find((e5) => e5.outputId === u.outputIds.default); + e4.linkPath(i4); + }), a2; } - r2.extend(u, s, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { - u._super.pasteReIdOrRename.apply(this, arguments), this.transferTarget.pasteReIdOrRename(e3), this.transferTargetGroup.pasteReIdOrRename(e3), this.transferTargetQueue.pasteReIdOrRename(e3), this.calleeName.pasteReIdOrRename(e3), this.voicemailGreeting.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - u._super.pasteResolveOldToNewValues.apply(this, arguments), this.transferTarget.pasteResolveOldToNewValues(e3), this.transferTargetGroup.pasteResolveOldToNewValues(e3), this.transferTargetQueue.pasteResolveOldToNewValues(e3), this.calleeName.pasteResolveOldToNewValues(e3), this.voicemailGreeting.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.callbackNumbers.length; t3++) this.callbackNumbers[t3].pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.inputs.length; t3++) this.inputs[t3].pasteResolveOldToNewValues(e3); - } }, transferTargetType: { enumerable: true, get: function() { - return this._transferTargetType; - }, set: function(e3) { - this._transferTargetType = this.reviveEnum(e3, l); - } }, transferTarget: { enumerable: true, get: function() { - return this._transferTarget; - }, set: function(e3) { - this._transferTarget = this.reviveItem(e3, a); - } }, transferTargetGroup: { enumerable: true, get: function() { - return this._transferTargetGroup; - }, set: function(e3) { - this._transferTargetGroup = this.reviveItem(e3, a); - } }, transferTargetQueue: { enumerable: true, get: function() { - return this._transferTargetQueue; - }, set: function(e3) { - this._transferTargetQueue = this.reviveItem(e3, a); - } }, calleeName: { enumerable: true, get: function() { - return this._calleeName; - }, set: function(e3) { - this._calleeName = this.reviveItem(e3, a); - } }, callbackNumbers: { enumerable: true, get: function() { - return this._callbackNumbers; - }, set: function(e3) { - this._callbackNumbers = this.reviveArray(e3, a); - } }, voicemailGreeting: { enumerable: true, get: function() { - return this._voicemailGreeting; - }, set: function(e3) { - this._voicemailGreeting = this.reviveItem(e3, n2); - } }, inputs: { enumerable: true, get: function() { - return this._inputs; - }, set: function(e3) { - this._inputs = this.reviveArray(e3, o); - } } }), e2.exports = u; - }, 63221: (e2, t2) => { + }, 76692(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.engineSelectionTypes = void 0, t2.engineSelectionTypes = { engineSelectionDefault: "default", engineSelectionNone: "none", engineSelectionSpecific: "specific" }; - }, 63303: (e2, t2, i2) => { + t2.buildWorkitemFlowSettingConfig = function(e3) { + var t3, i3; + const n3 = { worktype: { id: e3.id, name: e3.name, schema: e3.schema, statuses: [], dateBasedRules: e3.dateBasedRules }, customFieldsSchemaName: "", customFieldsSchemaId: "" }; + 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; + }; + const n2 = i2(31635), o = (n2.__importDefault(i2(90396)), i2(38725), n2.__importStar(i2(89884)), n2.__importStar(i2(24032))); + n2.__importDefault(i2(96875)), n2.__importStar(i2(46920)), o.getTopic("WorkitemFlowCreation"); + }, 71874(e2, t2, i2) { "use strict"; - var n2 = i2(58411), r2 = i2(9805), o = i2(41996), a = i2(54674), s = i2(44442), l = Object.prototype.toString; - function u(e3) { - if (!(this instanceof u)) return new u(e3); - this.options = r2.assign({ level: -1, method: 8, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: 0, to: "" }, e3 || {}); - var t3 = this.options; - t3.raw && t3.windowBits > 0 ? t3.windowBits = -t3.windowBits : t3.gzip && t3.windowBits > 0 && t3.windowBits < 16 && (t3.windowBits += 16), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new s(), this.strm.avail_out = 0; - 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 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 c(e3, t3) { - var i3 = new u(t3); - if (i3.push(e3, true), i3.err) throw i3.msg || a[i3.err]; - return i3.result; + t2.getWorktypeStatusByName = function(e3, t3) { + return r(e3, t3, "name"); + }, t2.getWorktypeStatusById = function(e3, t3) { + return r(e3, t3, "id"); + }; + const n2 = i2(31635); + i2(38725), n2.__importStar(i2(24032)).getTopic("workitemFlow"); + var o; + function r(e3, t3, i3) { + var n3, o2, r2; + return (null === (r2 = null === (o2 = null === (n3 = t3.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.worktype) || void 0 === o2 ? void 0 : o2.statuses) || void 0 === r2 ? void 0 : r2.length) ? t3.workitemFlowSettings.worktype.statuses.find((t4) => (function(e4, t5) { + return e4.toLowerCase() === t5.toLowerCase(); + })("name" === i3 ? t4.name : t4.id, e3)) : {}; } - u.prototype.push = function(e3, t3) { - var i3, a2, s2 = this.strm, u2 = this.options.chunkSize; - if (this.ended) return false; - a2 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? s2.input = o.string2buf(e3) : "[object ArrayBuffer]" === l.call(e3) ? s2.input = new Uint8Array(e3) : s2.input = e3, s2.next_in = 0, s2.avail_in = s2.input.length; - do { - if (0 === s2.avail_out && (s2.output = new r2.Buf8(u2), s2.next_out = 0, s2.avail_out = u2), 1 !== (i3 = n2.deflate(s2, a2)) && 0 !== i3) return this.onEnd(i3), this.ended = true, false; - 0 !== s2.avail_out && (0 !== s2.avail_in || 4 !== a2 && 2 !== a2) || ("string" === this.options.to ? this.onData(o.buf2binstring(r2.shrinkBuf(s2.output, s2.next_out))) : this.onData(r2.shrinkBuf(s2.output, s2.next_out))); - } while ((s2.avail_in > 0 || 0 === s2.avail_out) && 1 !== i3); - return 4 === a2 ? (i3 = n2.deflateEnd(this.strm), this.onEnd(i3), this.ended = true, 0 === i3) : 2 !== a2 || (this.onEnd(0), s2.avail_out = 0, true); - }, u.prototype.onData = function(e3) { - 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 = c, t2.deflateRaw = function(e3, t3) { - return (t3 = t3 || {}).raw = true, c(e3, t3); - }, t2.gzip = function(e3, t3) { - return (t3 = t3 || {}).gzip = true, c(e3, t3); + !(function(e3) { + e3.worktypeInsufficientViewPermissions = "worktypeInsufficientViewPermissions", e3.worktypeInUse = "worktypeInUse", e3.worktypeDoesNotExist = "worktypeDoesNotExist", e3.worktypeUnspecifiedError = "worktypeUnspecifiedError"; + })(o || (o = {})); + }, 28031(e2, t2, i2) { + "use strict"; + t2.WorktypeStatusCategories = void 0; + const n2 = i2(24032); + i2(47957), (0, n2.getTopic)("workitemFlowStatusCategories"); + var o; + !(function(e3) { + e3.open = "Open", e3.inProgress = "InProgress", e3.waiting = "Waiting", e3.closed = "Closed"; + })(o || (t2.WorktypeStatusCategories = o = {})); + }, 42193(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + t3 || (t3 = e3); + const n3 = new d(); + n3.variables = [], n3.defaultLanguage = e3, o.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 r2 = new c(); + return r2.name = u(t3).initialState, r2.variables = [], r2.actionList = [], n3.flowSequenceItemList = [r2], n3.initialSequence = r2.id, n3; }; - }, 63338: (e2, t2, i2) => { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = r.getTopic("BlankWorkflow"); + }, 41366(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(56265)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId); - } - get _actionTypeId() { - return r2.setSecuredDataActionType; - } - get conversationId() { - return this._conversationId; - } - get isArchActionSetSecuredData() { - return true; - } - } - t2.default = o; - }, 63345: (e2, t2, i2) => { + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + i3 || (i3 = t3); + const u = new o(); + u.variables = [], u.defaultSettings = new a(), u.defaultLanguage = t3, u.flowMetaData = new s({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", features: [] }), u.flowSequenceItemList = []; + const c = e3 === n2.flowTypes.flowTypeDigitalBot ? "initialDigitalBotState" : "initialBotState", d = new r(); + return d.name = l(i3)[c], d.variables = [], d.actionList = [], u.flowSequenceItemList = [d], u.initialSequence = d.id, u; + }; + const n2 = i2(96618), o = i2(24893), r = i2(50029), a = i2(74803), s = i2(89266), l = i2(21733); + }, 64499(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)), c = i2(47957), d = i2(27862); - class p extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.responseAssetView; - } - get dependencyType() { - 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 = 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); - } + 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 c(), h.errorHandling.handlingType = r.default.Disconnect, h.errorHandling.audio = n3 ? (0, l.toAudioTtsJson)(p(e3).errorHandlingTTS) : s.emptyAudio, h.errorHandling.queue = new o.default({ config: { emp: { pos: 1, text: "", type: "que" } }, text: "", uiMetaData: { mode: 1 } }), h.speechRecCompanyDirectory = _(), h.disableAsr = _(), h.disableAsrCompanyDirectory = new o.default({ config: { lit: { pos: 1, text: "true", type: "bln" } }, text: "true", uiMetaData: { mode: 1 } }), h.speechRecEngine = new o.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), o = n2.__importDefault(i2(7401)), r = 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 o.default({ config: { lit: { pos: 1, text: "false", type: "bln" } }, text: "false", uiMetaData: { mode: 1 } }); } - t2.ResponseAssetManager = p, t2.responseAssetManager = new p(); - }, 63352: (e2, t2) => { + }, 70790(e2, t2, i2) { "use strict"; - var i2, n2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.modeCombinations = t2.builder = t2.noValue = t2.variable = t2.literal = t2.expression = t2.none = t2.ExpressionModes = void 0, t2.modeToString = function(e3) { - switch (e3) { - case i2.expression: - return "expression"; - case i2.literal: - return "literal"; - case i2.variable: - return "variable"; - case i2.noValue: - return "noValue"; - case i2.builder: - return "builder"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3) { + const t3 = new n2.default(null); + return t3.variables = [], e3 && (t3.defaultLanguage = e3), t3.flowMetaData = new o({ features: [], flowDocumentVersion: "1.0", minimumServerVersion: "1.0", ttsDataVersion: "1.0" }), t3.flowSequenceItemList = [], t3; + }; + const n2 = i2(31635).__importDefault(i2(38416)), o = i2(89266); + }, 11749(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + t3 || (t3 = e3); + const i3 = new n2(); + i3.variables = [], i3.defaultSettings = new r(), i3.defaultLanguage = e3, i3.flowMetaData = new a({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", ttsDataVersion: "1.0", features: [] }), i3.flowSequenceItemList = []; + const l = new o(); + return l.name = s(t3).initialState, l.variables = [], l.actionList = [], i3.flowSequenceItemList = [l], i3.initialSequence = l.id, i3; + }; + const n2 = i2(88), o = i2(69674), r = i2(74803), a = i2(89266), s = i2(21733); + }, 76063(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + t3 || (t3 = e3); + const i3 = new n2(); + i3.variables = [], i3.defaultSettings = new r(), i3.defaultLanguage = e3, i3.flowMetaData = new a({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", ttsDataVersion: "1.0", features: [] }), i3.flowSequenceItemList = []; + const l = new o(); + return l.name = s(t3).initialSurveyBotState, l.variables = [], l.actionList = [], i3.flowSequenceItemList = [l], i3.initialSequence = l.id, i3; + }; + const n2 = i2(19098), o = i2(69674), r = i2(74803), a = i2(89266), s = i2(21733); + }, 48444(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + const a = (0, n2.default)(e3, t3, i3), s = new o(); + s.name = r.actions.disconnect; + const l = a.flowSequenceItemList[0]; + return l.actionList = [s], l.startAction = s.id, a; + }; + const n2 = i2(31635).__importDefault(i2(42193)), o = i2(44095), r = i2(47957); + }, 37104(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + const a = (0, n2.default)(e3, t3, i3), s = new o(); + s.name = r.actions.endWorkflow; + const l = a.flowSequenceItemList[0]; + return l.actionList = [s], l.startAction = s.id, a; + }; + const n2 = i2(31635).__importDefault(i2(42193)), o = i2(77315), r = i2(47957); + }, 27816(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + const a = (0, n2.default)(e3, t3, i3), s = new r(); + s.name = o.actions.exitWorkitemFlow; + const l = a.flowSequenceItemList[0]; + return l.actionList = [s], l.startAction = s.id, a; + }; + const n2 = i2(31635).__importDefault(i2(42193)), o = i2(47957), r = i2(96603); + }, 67121(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + const i3 = (0, o.default)(e3); + i3.commonModuleFlowSettings = new r.default(null), i3.commonModuleFlowSettings.destinationFlowTypes = t3; + const n3 = new a.default({ paths: [] }); + return n3.name = s.commonModule.hardcodedTaskName, n3.variables = [], i3.flowSequenceItemList = [n3], i3.initialSequence = n3.id, i3; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(70790)), r = n2.__importDefault(i2(48)), a = n2.__importDefault(i2(7584)), s = i2(47957); + }, 61132(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + t3 || (t3 = e3); + const i3 = new s(); + i3.variables = [], i3.defaultLanguage = e3, i3.errorHandling = new n2.default(), i3.flowMetaData = new r({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", features: [] }), i3.flowSequenceItemList = []; + const l = new a(); + return l.name = o(t3).initialState, l.variables = [], l.actionList = [], i3.flowSequenceItemList = [l], i3.initialSequence = l.id, i3; + }; + const n2 = i2(31635).__importDefault(i2(37752)), o = i2(21733), r = i2(89266), a = i2(69674), s = i2(49804); + }, 80782(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + const a = (0, n2.default)(e3, t3, i3); + t3 || (t3 = e3); + const s = new r(); + return s.name = o(t3).periodicStateName, s.variables = [], a.periodicStateId = s.id, a.flowSequenceItemList.push(s), a; + }; + const n2 = i2(31635).__importDefault(i2(42193)), o = (i2(83051), i2(21733)), r = (i2(47957), i2(69674)); + }, 3692(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + t3 || (t3 = e3); + const n3 = (0, o.default)(e3, t3, r.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 d = new u(); + if (d.name = c.loopTask, d.variables = [], !i3) { + const e4 = new s(); + 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; } - }, (function(e3) { - e3[e3.none = -1] = "none", e3[e3.expression = 0] = "expression", e3[e3.literal = 1] = "literal", e3[e3.variable = 2] = "variable", e3[e3.noValue = 3] = "noValue", e3[e3.builder = 4] = "builder"; - })(i2 || (t2.ExpressionModes = i2 = {})), t2.none = i2.none, t2.expression = i2.expression, t2.literal = i2.literal, t2.variable = i2.variable, t2.noValue = i2.noValue, t2.builder = i2.builder, (function(e3) { - e3.expressionOnly = "expressionOnly", e3.expressionOrBuilderOnly = "expressionOrBuilderOnly", e3.literalOnly = "literalOnly", e3.variableAndExpression = "variableAndExpression", e3.variableOnly = "variableOnly"; - })(n2 || (t2.modeCombinations = n2 = {})); - }, 63358: (e2, t2, i2) => { + return n3.flowSequenceItemList = [d], n3.initialSequence = d.id, n3; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(64499)), r = i2(96618), a = n2.__importDefault(i2(7401)), s = i2(44103), l = i2(20236), u = i2(85148), c = i2(47957); + }, 68631(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.askForPaymentSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(73324); - class s extends a.BaseBotActionSettingsSequence { - constructor() { - super("askForPayment"); + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + t3 || (t3 = e3); + const i3 = r.supportsTTSPlaybackForFlowType(e3, o.flowTypes.flowTypeInboundCall), n3 = (0, a.default)(e3, t3, o.flowTypes.flowTypeInboundCall); + n3.variables = [], n3.initialPrompts = i3 ? (0, l.toAudioTtsJson)(d(e3).initialGreetingTTS) : s.emptyAudio; + const m = new p(); + 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 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), o = i2(96618), r = 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); + }, 91048(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + return (0, n2.default)(e3, t3); + }; + const n2 = i2(31635).__importDefault(i2(68631)); + }, 34621(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { + t3 || (t3 = e3); + const c = (0, n2.default)(e3, t3, o.flowTypes.flowTypeSecureCall); + c.variables = []; + const d = new u(); + let p; + return d.variables = [], d.name = r(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)), o = i2(96618), r = i2(21733), a = i2(47957), s = i2(44095), l = i2(63007), u = i2(92330); + }, 24739(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { + t3 || (t3 = e3); + const i3 = r.supportsTTSPlaybackForFlowType(e3, o.flowTypes.flowTypeVoicemail), n3 = (0, a.default)(e3, t3, o.flowTypes.flowTypeVoicemail); + n3.variables = [], n3.initialPrompts = i3 ? (0, l.toAudioTtsJson)(d(e3).initialGreetingTTS) : s.emptyAudio; + const m = new p(); + 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 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), o = i2(96618), r = 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); + }, 12104(e2, t2) { + "use strict"; + t2.emptyAudio = void 0, t2.emptyAudio = new function() { + Object.defineProperties(this, { defaultAudio: { value: { config: { emp: { pos: 1, text: "", type: "aud" } }, text: "", uiMetaData: { sequenceItems: [] } } }, cases: { value: [] } }); + }(); + }, 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 C.error(t4), t4; + } + switch (e3) { + case o.flowTypes.flowTypeVoicemail: + case o.flowTypes.flowTypeInboundCall: + case o.flowTypes.flowTypeOutboundCall: + case o.flowTypes.flowTypeSecureCall: + return (0, d.default)(t3, i3, e3); + case o.flowTypes.flowTypeInQueueCall: + return (0, A.default)(t3, i3, true); + case o.flowTypes.flowTypeInQueueEmail: + case o.flowTypes.flowTypeInQueueShortMessage: + return (0, S.default)(t3, i3, s.default.EndInQueueState); + case o.flowTypes.flowTypeInboundChat: + case o.flowTypes.flowTypeInboundEmail: + case o.flowTypes.flowTypeInboundShortMessage: + return (0, u.default)(t3, i3, s.default.Disconnect); + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: + return (0, c.default)(e3, t3, i3); + case o.flowTypes.flowTypeSurveyInvite: + return (0, u.default)(t3, i3); + case o.flowTypes.flowTypeEmailSend: + return (0, T.default)(t3, i3); + case o.flowTypes.flowTypeBusinessProcess: + case o.flowTypes.flowTypeWorkflow: + return (0, u.default)(t3, i3, s.default.EndWorkflow); + case o.flowTypes.flowTypeWorkitem: + return (0, u.default)(t3, i3, s.default.EndFlow); + case o.flowTypes.flowTypeCommonModule: + return (0, f.default)(t3, n3); + case o.flowTypes.flowTypeVoice: + return (0, p.default)(t3, i3); + case o.flowTypes.flowTypeVoiceSurvey: + return (0, _.default)(t3, i3); + default: + console.error((0, r.sprintf)("Type not supported for scripting template: %s", e3)); } - get noInputDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); - return this.generateLanguageSequenceConfig("AskForPaymentNoInputDigitalBot", r2.builderIds.parts.genericCommunication, e3); + }, t2.getDefaultTemplate = function(e3, t3, i3, n3) { + switch (t3 = t3 || "en-US", e3) { + case o.flowTypes.flowTypeInboundCall: + return (0, y.default)(t3, i3); + case o.flowTypes.flowTypeInboundChat: + case o.flowTypes.flowTypeInboundEmail: + case o.flowTypes.flowTypeInboundShortMessage: + return (0, h.default)(t3, i3, s.default.Queue); + case o.flowTypes.flowTypeOutboundCall: + return (0, N.default)(t3, i3); + case o.flowTypes.flowTypeInQueueCall: + return (0, A.default)(t3, i3, false); + case o.flowTypes.flowTypeInQueueEmail: + case o.flowTypes.flowTypeInQueueShortMessage: + return (0, S.default)(t3, i3, s.default.EndInQueueState); + case o.flowTypes.flowTypeSecureCall: + return (0, v.default)(t3, i3, !n3 || n3.secureCallAgentInitiated); + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: + return (0, c.default)(e3, t3, i3); + case o.flowTypes.flowTypeSurveyInvite: + return (0, u.default)(t3, i3); + case o.flowTypes.flowTypeEmailSend: + return (0, T.default)(t3, i3); + case o.flowTypes.flowTypeBusinessProcess: + case o.flowTypes.flowTypeWorkflow: + return (0, m.default)(t3, i3, s.default.EndWorkflow); + case o.flowTypes.flowTypeWorkitem: + return (0, g.default)(t3, i3, s.default.EndFlow); + case o.flowTypes.flowTypeCommonModule: + return (0, f.default)(t3, n3 && n3.destinationFlowTypes); + case o.flowTypes.flowTypeVoicemail: + return (0, I.default)(t3, i3); + case o.flowTypes.flowTypeVoice: + return (0, p.default)(t3, i3); + case o.flowTypes.flowTypeVoiceSurvey: + return (0, _.default)(t3, i3); + default: + console.error((0, r.sprintf)("Type not supported for default template: %s", e3)); } - get noMatchDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); - return this.generateLanguageSequenceConfig("AskForPaymentNoMatchDigitalBot", r2.builderIds.parts.markdownCommunication, e3); + }; + const n2 = i2(31635), o = i2(96618), r = 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)), I = n2.__importDefault(i2(24739)), C = a.getTopic("FlowTemplates"); + }, 46503(e2, t2) { + "use strict"; + t2.toAudioTtsJson = function(e3) { + return { defaultAudio: { config: { ToAudioTTS: { pos: 1, text: 'ToAudioTTS("' + e3 + '")', operands: [{ lit: { pos: 12, text: e3, type: "str" } }], type: "aud" } }, text: 'ToAudioTTS("' + e3 + '")', uiMetaData: { sequenceItems: [{ type: 0, parameter: e3 }], customExpressionMode: false, optional: true } }, cases: [] }; + }; + }, 55299(e2, t2) { + "use strict"; + t2.BaseClass = void 0; + class i2 { + get isBaseClass() { + return true; } } - 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.askForPaymentSequences = new s(); - }, 63370: (e2, t2, i2) => { + t2.BaseClass = i2, i2.isBaseClassObject = true; + }, 34727(e2, t2, i2) { "use strict"; + var n2, o, r; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(95847)), a = n2.__importDefault(i2(78432)); - class s extends o.default { - constructor(e3) { - super(e3), this._connectTimeout = this.coreFactory.createArchWrapper(e3.connTimeout), this._coreTransferToFlowSecureActionViewModel = e3; + 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: c.task.pathType }, n2.set(this, void 0), o.set(this, void 0), r.set(this, []), a.__classPrivateFieldSet(this, o, 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 _actionTypeId() { - return r2.transferFlowSecureActionType; + get consumerCount() { + return a.__classPrivateFieldGet(this, r, "f").length; } - get _supportedTargetFlowType() { - return a.default.FLOW_TYPES.secureCall; + visibleUsages(e3) { + return this._visibleUsages(e3).concat(a.__classPrivateFieldGet(this, r, "f")); } - get connectTimeout() { - return this._connectTimeout; + get name() { + return a.__classPrivateFieldGet(this, o, "f").label; } - get displayTypeName() { - return this._scriptingName; + set name(e3) { + a.__classPrivateFieldGet(this, o, "f").label = e3; } - get invocationData() { - return this.coreFactory.createArchWrapper(this._coreTransferToFlowSecureActionViewModel.invocationData); + get outputId() { + return a.__classPrivateFieldGet(this, o, "f").outputId; } - get isArchActionTransferToFlowSecure() { - return true; + set outputId(e3) { + a.__classPrivateFieldGet(this, o, "f").outputId = e3; } - } - t2.default = s; - }, 63391: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CompleteSendActionModel = void 0; - const n2 = i2(94858), r2 = i2(30801); - class o extends n2.BaseActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + get branchItem() { + return a.__classPrivateFieldGet(this, o, "f"); } - } - t2.CompleteSendActionModel = o, o.__type = r2.completeSendActionType, o.registerType(); - }, 63416: (e2, t2, i2) => { - const n2 = i2(45214), r2 = { schemaSectionName: "inputSchemaFlattened", direction: "input" }, o = { schemaSectionName: "successSchemaFlattened", direction: "output" }, a = { schemaSectionName: "errorSchemaFlattened", direction: "output" }; - function s() { - this.id = void 0, this.name = void 0, this.category = void 0, this.contract = void 0, s.baseConstructor.apply(this, arguments); - } - n2.extend(s, "HedwigAction"), Object.defineProperties(s.prototype, { _setSchema: { value: function(e3, t3) { - this.contract || (this.contract = { input: {}, output: {} }); - const i3 = e3.direction, n3 = e3.schemaSectionName; - this.contract[i3] || (this.contract[i3] = {}), this.contract[i3][n3] = { schema: t3 ? t3.schema ? t3.schema : t3 : void 0 }; - } }, inputSchema: { enumerable: true, get: function() { - return this.contract && this.contract.input && this.contract.input.inputSchemaFlattened && this.contract.input.inputSchemaFlattened.schema; - }, set: function(e3) { - this._setSchema(r2, e3); - } }, successSchema: { enumerable: true, get: function() { - return this.contract && this.contract.output && this.contract.output.successSchemaFlattened && this.contract.output.successSchemaFlattened.schema; - }, set: function(e3) { - this._setSchema(o, e3); - } }, errorSchema: { enumerable: true, get: function() { - return this.contract && this.contract.output && this.contract.output.errorSchemaFlattened && this.contract.output.errorSchemaFlattened.schema; - }, set: function(e3) { - this._setSchema(a, e3); - } }, actionId: { get: function() { - return this.id; - } }, displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, errorSchemaUri: { enumerable: true, get: function() { - return this.contract && this.contract.output && this.contract.output.errorSchemaUri; - } }, inputSchemaUri: { enumerable: true, get: function() { - return this.contract && this.contract.input && this.contract.input.inputSchemaUri; - } }, successSchemaUri: { enumerable: true, get: function() { - return this.contract && this.contract.output && this.contract.output.successSchemaUri; - } }, schemas: { set: function(e3) { - e3 && (e3.input && (this.inputSchema = e3.input), e3.error && (this.errorSchema = e3.error), e3.success && (this.successSchema = e3.success)); - } } }), e2.exports = s; - }, 63417: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + canDelete(e3) { + return !this.required; } - get _globalTypeName() { - return "communication"; + addConsumer(e3, t3) { + return !(!e3 || !t3) && (-1 === s.default.findIndex(a.__classPrivateFieldGet(this, r, "f"), (t4) => t4.id === e3.id) && a.__classPrivateFieldGet(this, r, "f").push({ consumer: e3, context: t3 }), true); } - get displayTypeName() { - return "ArchVariableCommunication"; + get deletionTooltip() { + return c.variable.outputDeleteTooltip; } - get initialValue() { - return this._initialValue; + removeConsumer(e3) { + if (!e3) return false; + const t3 = s.default.findIndex(a.__classPrivateFieldGet(this, r, "f"), (t4) => t4.consumer.id === e3.id); + return t3 >= 0 && (a.__classPrivateFieldGet(this, r, "f").splice(t3, 1), true); } - get isArchVariableCommunication() { - return true; + deleteItem(e3) { + return this.canDelete(e3) ? !(!a.__classPrivateFieldGet(this, n2, "f") || !a.__classPrivateFieldGet(this, n2, "f").call(this, this.outputId) || (a.__classPrivateFieldGet(this, r, "f").length = 0, 0)) : (console.error("cannot delete exit path: ", this.isDynamicBranch ? "" : this.outputId), false); } } - t2.default = r2; - }, 63439: (e2, t2, i2) => { + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = d; + }, 50100(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.ErrorInformation = void 0, t2.ErrorInformation = class { + constructor(e3, t3, i2, n2) { + this.message = e3, this.title = i2, this.helpTopic = t3, this.additionalInfoSections = n2; } - get _globalTypeName() { - return "journeySessionSegmentAssignmentCollection"; + }; + }, 37007(e2, t2, i2) { + "use strict"; + t2.FlowExportSettingAvailability = void 0; + const n2 = i2(31635), o = i2(35515), r = i2(10798), a = n2.__importDefault(i2(4648)); + class s { + static get yamlTrackingIdsCanBeExported() { + return (0, r.isFeatureAvailable)(a.default.yamlTrackingIdFeature); } - get displayTypeName() { - return "ArchValueJourneySessionSegmentAssignmentCollection"; + static get flowInfoSpecExportIsAvailable() { + return !(!(0, o.isDevOrTest)() || "undefined" == typeof localStorage || "true" !== localStorage["architect.enableFlowSpecInfoDevTest"]) && (0, r.isFeatureAvailable)(a.default.flowOutcomesAndMilestonesAISuggestions); } - get isArchValueJourneySessionSegmentAssignmentCollection() { - return true; + static getFlowExportSettingAvailabilityInfo() { + return { yaml: { trackingIdsCanBeExported: this.yamlTrackingIdsCanBeExported }, flowInfoSpec: { isAvailable: this.flowInfoSpecExportIsAvailable } }; + } + static hasConfigurableFlowExportSettings() { + return this.getFlowExportSettingAvailabilityInfo().yaml.trackingIdsCanBeExported; } } - t2.default = r2; - }, 63446: (e2, t2, i2) => { + t2.FlowExportSettingAvailability = s, "undefined" != typeof window && (window.enableFlowSpecInfoDevTest = (e3 = true) => { + e3 ? localStorage["architect.enableFlowSpecInfoDevTest"] = "true" : localStorage.removeItem("architect.enableFlowSpecInfoDevTest"), console.log(`FlowInfoSpec export (Dev/Test) ${s.flowInfoSpecExportIsAvailable ? "enabled" : "disabled"}.`); + }); + }, 83563(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + t2.FlowExportSettings = void 0; + const n2 = i2(72473), o = i2(37007), r = i2(2560); + class a { + constructor(e3, t3, i3) { + var a2; + this.format = e3; + const s = o.FlowExportSettingAvailability.getFlowExportSettingAvailabilityInfo(); + e3 === r.FlowFileFormatTypes.Yaml ? this.yamlOptions = { includeTrackingIds: !!t3 && (null === (a2 = s.yaml) || void 0 === a2 ? void 0 : a2.trackingIdsCanBeExported) } : e3 === r.FlowFileFormatTypes.FlowInfoSpec && (this.flowInfoSpecOptions = { level: null != i3 ? i3 : n2.flowInfoSpecLevel.comprehensive }); } - get _globalTypeName() { - return "dateTimeCollection"; + get isFormatYaml() { + return this.format === r.FlowFileFormatTypes.Yaml; } - get displayTypeName() { - return "ArchValueDateTimeCollection"; + get isFormatArchitect() { + return this.format === r.FlowFileFormatTypes.Architect; } - get isArchValueDateTimeCollection() { - return true; + get isFormatFlowInfoSpec() { + return this.format === r.FlowFileFormatTypes.FlowInfoSpec; } - } - t2.default = r2; - }, 63463: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + static createForArchitectFormat() { + return this.create(r.FlowFileFormatTypes.Architect); } - get _globalTypeName() { - return "email"; + static createForYamlFormat(e3) { + return this.create(r.FlowFileFormatTypes.Yaml, e3); } - get id() { + static createForFlowInfoSpecFormat(e3) { + return this.create(r.FlowFileFormatTypes.FlowInfoSpec, void 0, e3); } - get autoGenerated() { + static create(e3, t3, i3) { + return e3 === r.FlowFileFormatTypes.Yaml ? new a(r.FlowFileFormatTypes.Yaml, t3) : e3 === r.FlowFileFormatTypes.FlowInfoSpec ? new a(r.FlowFileFormatTypes.FlowInfoSpec, void 0, i3) : new a(e3); } - get spam() { + get isForComparison() { + return false; } - get from() { + get isForFlowYaml() { + return this.isFormatYaml; } - get to() { + get isArchitectFormatExport() { + return this.isFormatArchitect; } - get cc() { + } + t2.FlowExportSettings = a; + }, 74761(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 48641(e2, t2) { + "use strict"; + 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" }; + }, 52023(e2, t2) { + "use strict"; + t2.PromiseDefer = void 0, t2.PromiseDefer = class { + constructor() { + this._isPending = true, this._isRejected = false, this.resolve = (e3) => { + this._isPending = false, this._resolve(e3); + }, this.reject = (e3) => { + this._isPending = false, this._isRejected = true, this._reject(e3); + }, this._promise = new Promise((e3, t3) => { + this._resolve = e3, this._reject = t3; + }); } - get bcc() { + get promise() { + return this._promise; } - get subject() { + isPending() { + return this._isPending; } - get direction() { + isFulfilled() { + return !this._isPending && !this._isRejected; } - get replyTo() { + isRejected() { + return this._isRejected; } - get route() { + }; + }, 92859(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299); + class r extends o.BaseClass { + get className() { + return "TraverseSettings"; } - get body() { + constructor(e3) { + super(), this.isCanceled = false, e3 && n2.default.extend(this, e3); } - get htmlBody() { + createCallbackParam(e3) { + const t3 = { cancelTraverse: false, data: this.data }; + return e3 && (t3.traverseChildren = true), t3; } - get attachments() { + getActionCallback() { + return this.actionCallback ? this.actionCallback : this.defaultCallback; } - get dateTimeUtc() { + getMenuCallback() { + return this.menuCallback ? this.menuCallback : this.defaultCallback; } - get displayTypeName() { - return "ArchValueEmail"; + getMenuChoiceCallback() { + return this.menuChoiceCallback ? this.menuChoiceCallback : this.defaultCallback; } - get isArchValueEmail() { - return true; + getTaskCallback() { + return this.taskCallback ? this.taskCallback : this.defaultCallback; } - } - t2.default = r2; - }, 63569: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getNuanceMixIntegrations = t2.getBotConnectorIntegrations = t2.getDigitalBotConnectorIntegrations = t2.getIntegration = void 0; - const n2 = i2(31635), r2 = i2(37707), o = i2(99431), a = i2(73883), s = i2(73883), l = n2.__importDefault(i2(36019)), u = { ignoreBadResponse: true }; - t2.getIntegration = l.default.request("GET", "{public-api.apps}/api/v2/integrations/{id}", r2.Integration, u), t2.getDigitalBotConnectorIntegrations = l.default.request("GET", `{public-api.apps}/api/v2/integrations?integrationType=${a.integrationTypeConstants.genesysDigitalBotConnector}&reportedState=${s.reportedStateConstants.active}`, o.IntegrationList, u), t2.getBotConnectorIntegrations = l.default.request("GET", `{public-api.apps}/api/v2/integrations?integrationType=${a.integrationTypeConstants.genesysBotConnector}&reportedState=${s.reportedStateConstants.active}`, o.IntegrationList, u), t2.getNuanceMixIntegrations = l.default.request("GET", `{public-api.apps}/api/v2/integrations?integrationType=${a.integrationTypeConstants.nuanceMixBot}&reportedState=${s.reportedStateConstants.active}`, o.IntegrationList, u); - }, 63619: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUtilizationLabelActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + processCallbackParamAndContinue(e3, t3) { + return !(e3 && (e3.cancelTraverse && (this.isCanceled = true), t3 && !e3.traverseChildren || this.isCanceled)); } } - t2.FindUtilizationLabelActionModel = o, o.__type = r2.findUtilizationLabelActionType, o.registerType(); - }, 63668: (e2, t2, i2) => { + t2.default = r; + }, 97340(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { + t2.UrlBuilder = void 0; + class i2 { constructor(e3) { - super(e3); + if (this._segments = [], !e3) throw new Error("UrlBuilder requires a non empty base URL"); + this.addSegment(e3); } - get _globalTypeName() { - return "videoCollection"; + static create(e3) { + return new i2(e3); } - get displayTypeName() { - return "ArchValueVideoCollection"; + addSegment(e3) { + if (e3) { + const t3 = e3.replace(/^\/+/, "").replace(/\/+$/, ""); + t3 && this._segments.push(t3); + } + return this; } - get isArchValueVideoCollection() { - return true; + render(e3 = false) { + let t3 = this._segments.join("/"); + return e3 && !t3.endsWith("/") && (t3 += "/"), t3; } } - t2.default = r2; - }, 63689: (e2, t2, i2) => { + t2.UrlBuilder = i2; + }, 89034(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)), 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 = 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)); - }); - } - addItem(e3, t3, i3) { - const n3 = this.items[e3.id]; - return (null == n3 ? void 0 : n3.isFromWorkbench) && !e3.isFromWorkbench ? n3 : super.addItem(e3, t3); - } - additionalItemFilter(e3) { - return e3.filter((e4) => e4.lastPublishedVersion); - } - addFakeNluDomain(e3, t3) { - if (!e3) return; - e3.id = this.getFakeNonCreatedNluDomainId(t3); - const i3 = this.addItem(e3); - return i3.isFake = true, i3; - } - get canLoadMore() { - return false; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(92140)), a = i2(19206), s = o.__importDefault(i2(61864)), l = o.__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() { } - getFakeNonCreatedNluDomainId(e3) { - if (null == e3 ? void 0 : e3.isNluFlow) return `__fake_nlu_domain__${e3.id}`; - a.error(`invalid nluFlowViewModel - expected an NluFlowViewModel but received a ${null == e3 ? void 0 : e3.className}`); + get name() { } - get fakeNonCreatedNluDomainVersionId() { - return "__fake_nlu_domain_version__"; + get isSecure() { } - _createItemViewModel(e3) { - return new d.default(e3); + get id() { } - checkNluDomainVersionJson(e3, t3) { - if (!o.default.isObject(e3)) return null; - if (!o.default.isString(e3.language)) return "missing language"; - if (!t3 && r2.IntentUtil.hasIntents(e3)) return "intents are not supported"; - if (!e3.intents) return null; - for (const t4 of e3.intents) if (!t4.name) return "no name property on intent object"; - return null; + get isDestroyedOrDestroying() { } - getIsNluIdentifierCreated(e3) { - return o.default.isString(e3) && e3.length && !e3.startsWith("__"); + get initializeDesignTimeCalled() { } - getAreNluDomainIdAndNluDomainVersionIdCreated(e3, t3) { - return this.getIsNluIdentifierCreated(e3) && this.getIsNluIdentifierCreated(t3); + constructor() { + super(), this._usages = {}, n2.set(this, void 0), (0, c.makeUnenumerable)(this, "transferring"); } - getIsNluDomainVersionValidForThisOrg(e3, t3) { - return !(!this.getAreNluDomainIdAndNluDomainVersionIdCreated(e3, t3) || !this.getItem(t3) && !this.getItem(e3)); + get lastActor() { + return this._lastActor; } - } - t2.NLUDomainManager = h, t2.nluDomainManager = new h(); - }, 63698: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createNewGetConfigOperationSettings = function(e3, t3, i2, n2 = false) { - return { isForComparison: e3, isForFlowYaml: t3, isArchitectFormatExport: i2, yamlOptions: { includeTrackingIds: n2 } }; - }; - }, 63824: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.durationStyles = void 0, t2.getAvailableUnits = function(e3) { - if (e3 && _[e3]) return _[e3].supportedUnits; - }, t2.getDefaultUnit = function(e3) { - if (e3 && _[e3]) return _[e3].defaultUnit; - }, t2.getTimeFormat = function(e3) { - if (e3 && _[e3]) return _[e3].timeFormat; - }, t2.getMaxSeconds = function(e3) { - if (e3 && _[e3]) return _[e3].maxSeconds; - }, t2.convertSecondsToUnit = function(e3, t3) { - if ((e3 || 0 === e3) && t3 && r2.default.find(p, { type: t3 })) return Math.floor(e3 / r2.default.find(p, { type: t3 }).scale); - }, t2.createParsedDuration = function(e3, t3) { - const i3 = [0, 0, 0, 0, 0]; - if (!e3 && 0 !== e3 || !t3 || !r2.default.find(p, { type: t3 })) return i3; - switch (t3) { - case p.days.type: - i3[0] = e3; - break; - case p.hours.type: - i3[1] = e3; - break; - case p.minutes.type: - i3[2] = e3; - break; - case p.seconds.type: - i3[3] = e3; - break; - case p.milliseconds.type: - i3[4] = e3; + get lastActorWasUser() { + return !this._lastActor; } - return i3; - }, t2.toSeconds = g, t2.getUnitFromParsedDuration = function(e3, t3) { - return e3 ? e3[4] ? p.milliseconds.type : e3[3] ? p.seconds.type : e3[2] ? p.minutes.type : e3[1] ? p.hours.type : e3[0] ? p.days.type : t3 : p.seconds.type; - }, t2.getNonZeroValueFromParsedDuration = function(e3) { - return e3 ? e3[4] ? parseInt(e3[4]) : e3[3] ? parseInt(e3[3]) : e3[2] ? parseInt(e3[2]) : e3[1] ? parseInt(e3[1]) : parseInt(e3[0]) : 0; - }, t2.getSecondsFromParsedDuration = function(e3) { - return e3 ? e3[0] ? parseInt(e3[0]) * p.days.scale : e3[1] ? parseInt(e3[1]) * p.hours.scale : e3[2] ? parseInt(e3[2]) * p.minutes.scale : e3[3] ? parseInt(e3[3]) : parseInt(e3[4]) * p.milliseconds.scale : 0; - }, t2.getMillisecondsFromDurationMatches = f, t2.getSearchStringFromLiteral = function(e3) { - const t3 = g(e3); - return t3 || 0 === t3 ? e3.includes("0.") ? m(t3) : m(t3 * o.default.msPerSecond) : e3; - }, t2.getSearchStringFromMilliseconds = function(e3) { - return m(e3); - }, t2.getXsdString = T, t2.matchMilliseconds = y, t2.millisecondsToXSD = function(e3) { - return T(y(e3)); - }, t2.matchText = S, t2.matchExpression = function(e3) { - 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), 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; - let i3 = e3[4] ? parseInt(e3[4], 10) : 0, n3 = e3[3] ? parseFloat(e3[3]) : 0, r3 = e3[2] ? parseInt(e3[2], 10) : 0, o2 = e3[1] ? parseInt(e3[1], 10) : 0; - const a2 = e3[0] ? parseInt(e3[0], 10) : 0; - return i3 ? (i3 += (a2 * p.days.scale + o2 * p.hours.scale + r3 * p.minutes.scale + n3) / p.milliseconds.scale, t3[4] = i3, t3) : n3 ? (n3 += a2 * p.days.scale + o2 * p.hours.scale + r3 * p.minutes.scale, t3[3] = n3, t3) : r3 ? (r3 += (a2 * p.days.scale + o2 * p.hours.scale) / p.minutes.scale, t3[2] = r3, t3) : o2 ? (o2 += a2 * p.days.scale / p.hours.scale, t3[1] = o2, t3) : (t3[0] = a2, t3); - } - function m(e3) { - let t3; - 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; - const t3 = S(e3); - return t3 ? t3[0] * o.default.secsPerDay + t3[1] * o.default.secsPerHour + t3[2] * o.default.secsPerMinute + t3[3] + t3[4] / o.default.msPerSecond : void 0; - } - function f(e3) { - if (e3) return parseInt(e3[0]) * o.default.msPerDay + parseInt(e3[1]) * o.default.msPerHour + parseInt(e3[2]) * o.default.msPerMinute + parseInt(e3[3]) * o.default.msPerSecond + parseInt(e3[4]); - } - function T(e3) { - if (!e3) return; - const t3 = f(e3); - let i3 = false; - return t3 < 0 && (i3 = true, e3 = y(-1 * t3)), (0, a.sprintf)("%1$sP%2$sD%3$sH%4$sM%5$sS%6$sF", i3 ? "-" : "", e3[0], e3[1], e3[2], e3[3], e3[4]); - } - function y(e3) { - let t3 = false; - e3 < 0 && (t3 = true, e3 *= -1); - const i3 = [0, 0, 0, 0, 0], n3 = Math.floor(e3 / o.default.msPerSecond); - i3[4] = e3 % o.default.msPerSecond; - const r3 = Math.floor(n3 / o.default.secsPerMinute); - i3[3] = n3 % o.default.secsPerMinute; - const a2 = Math.floor(r3 / o.default.minutesPerHour); - i3[2] = r3 % o.default.minutesPerHour; - const s2 = a2 / o.default.hoursPerDay; - if (i3[1] = a2 % o.default.hoursPerDay, i3[0] = Math.floor(s2), t3) for (let e4 = 0; e4 < i3.length; e4++) i3[e4] && (i3[e4] = -1 * i3[e4]); - return h(i3); - } - function S(e3) { - const t3 = (e3 = e3 || "").match(/^(-?)(?:P|PT)(\d+(?:D|DT))?(\d+(?:H|HT))?(\d+(?:M|MT))?(\d+\.?\d*(?:S|ST))?(\d+(?:F|FT))?$/i); - if (!t3) return; - const i3 = t3[1] ? -1 : 1, n3 = t3[2], r3 = t3[3], o2 = t3[4]; - 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] && e4[1] && (a2 = "0." + e4[1]); + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); } - 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 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; } - get displayTypeName() { - return "ArchValueExternalContactPatchChange"; + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "FieldId", this.fieldId, false, true), this._createLogStrFromParts(e3); + get className() { + return "UsageItem"; } - get isArchValueExternalContactPatchChange() { + get isUsageItem() { 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); + hasVisibleUsages(e3) { + return !r.default.isEmpty(this.visibleUsages(e3)); } - get value() { - return this.coreFactory.createArchWrapper(this._coreItem.expression); + outOfServiceUsages(e3) { + return r.default.filter(this.getUsagesForFlow(e3), (e4) => e4.referenceElement.outOfService); } - } - t2.default = r2; - }, 63883: (e2, t2, i2) => { - "use strict"; - 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; + visibleUsages(e3) { + return this._visibleUsages(e3); } - }, 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; + canDelete(e3) { + return !(this._canDelete && !this._canDelete() || this._hasWriters(e3)); } - static loadMenuChoice(e3, t3) { - const i3 = new w(e3.parentFlow, e3); - return i3._loadModel(t3), i3; + addReader(e3) { + e3 && (this._addUsage(e3, h), this.initializeDesignTimeCalled && l.validateItem(this, true)); } - static createMenuChoice(e3, t3) { - 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; + addWriter(e3) { + e3 && this._addUsage(e3, m) && (r.default.isBoolean(this.isSecure) && this._updateExpressionSecurity(e3), this.initializeDesignTimeCalled && l.validateItem(this, true)); } - _initializeDesignTime() { - super._initializeDesignTime(), this.action && !this.action.initializeDesignTimeCalled && this.action.initializeDesignTime(); + deleteItem(e3, t3) { + this.canDelete(e3) && (t3 && this.parentFlow.supportsAutoDeletingVariablesWithNoUsages ? this.destroy() : t3 || this.destroy()); } - get className() { - return "MenuChoiceViewModel"; + deleteReference(e3) { + 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]); } - get trackingId() { - return this.action ? this.action.trackingId : void 0; + removeUsage(e3, t3) { + 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], r.default.isEmpty(this._usages[n3]) && delete this._usages[n3], t3 || l.validateItem(this), true); } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3), e3.copyCutProcessMenuChoiceViewModel(this), this.action.addClipboardDependencies(e3), o.default.each(this.choices, function(t3) { - t3.addClipboardDependencies(e3); + removeUsageForFlow(e3) { + const t3 = r.default.clone(this._usages[e3.instanceId]); + t3 && r.default.each(t3, (t4) => { + this.removeUsage(t4.referenceElement, e3.isDestroyedOrDestroying); }); } - _loadModel(e3) { - 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()); + transferUsages(e3, t3) { + this.transferring = true; + try { + if (!e3 || !t3 || r.default.isEmpty(t3)) return; + const i3 = this.name, n3 = (0, p.isString)(e3) ? e3 : e3.name; + r.default.each(t3, (t4) => { + t4.isReader && (0, d.isBaseExpression)(t4.referenceElement) && t4.referenceElement.replaceUsages(i3, n3, e3); + }), r.default.each(t3, (e4) => { + 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); + } + }); + } finally { + this.transferring = false; + } } - _isInlineTask() { - return !!this.action && this.action.info.typeId === m.taskActionActionType; + updateSecurityForUsages(e3) { + const t3 = r.default.clone(this.getUsagesForFlow(e3)); + if (r.default.isBoolean(this.isSecure)) { + const e4 = []; + r.default.each(t3, (t4) => { + (0, d.isBaseExpression)(t4.referenceElement) && this._updateExpressionSecurity(t4.referenceElement, e4); + }), r.default.each(e4, (e5) => { + l.validateNode(e5); + }); + } } - _isMenuAction() { - return !!this.action && (this.action.info.typeId === h.menuActionActionType || this.action.info.typeId === g.transferMenuActionType); + _visibleUsages(e3) { + return r.default.reject(this.getUsagesForFlow(e3), (e4) => e4.referenceElement.outOfService || e4.referenceElement.isDestroyed); } - _isTaskAction() { - return !!this.action && (this.action.info.typeId === m.taskActionActionType || this.action.info.typeId === f.transferTaskActionType); + _updateExpressionSecurity(e3, t3) { + if (!e3) return; + if (o.__classPrivateFieldGet(this, n2, "f") === e3) return; + if (this.isSecure === e3.consumesSecureData) return; + if (this.isDestroyedOrDestroying) return; + if (!(0, d.isBaseExpression)(e3)) return; + const i3 = o.__classPrivateFieldGet(this, n2, "f"); + o.__classPrivateFieldSet(this, n2, e3, "f"); + try { + e3.updateSecureUsage(e3.parentFlow.validationResults, t3); + } finally { + o.__classPrivateFieldSet(this, n2, i3, "f"); + } } - _updateGlobalDtmf() { - this.globalDtmf ? c.addGlobalDtmfTracking(this.parentFlow, this) : c.removeGlobalDtmfTracking(this.parentFlow, this); + _hasWriters(e3) { + return r.default.where(this.getUsagesForFlow(e3), { isWriter: true }).length > 0; } - _updateGlobalSpeech() { - this.globalSpeech ? c.addGlobalSpeechTracking(this.parentFlow, this.speechRecTerms) : c.removeGlobalSpeechTracking(this.parentFlow, this.speechRecTerms); + _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 }, o2 = e3.parentFlow.instanceId; + return !(null === (i3 = this._usages[o2]) || void 0 === i3 ? void 0 : i3[e3.id]) && (this._usages[o2] || (this._usages[o2] = {}), this._usages[o2][e3.id] = n3, true); } - resetDtmfToUniqueDtmf() { - 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 = 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); + hasUsagesForFlow(e3) { + return e3 ? !r.default.isEmpty(this._usages[e3.instanceId]) : !r.default.isEmpty(this._usages); } - get canCollapse() { - return this.action.canCollapse; + clearUsages() { + this._usages = {}; } - get collapsed() { - return this.action && this.action.collapsed; + transferUsagesFrom(e3) { + this._usages = r.default.mapObject(e3._usages, (e4) => r.default.clone(e4)); } - set collapsed(e3) { - this.action.collapsed = e3, a.emitter.emit(a.collapseExpand, this); + cloneUsages() { + return r.default.clone(this._usages); } - checkVersion(e3) { - this.action.checkVersion(e3); + getUsagesForFlow(e3) { + const t3 = []; + return r.default.each(this._usages[e3.instanceId], (e4) => { + t3.push(e4); + }), t3; } - deleting() { - this.globalDtmf = false, this.globalSpeech = false; + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = g; + }, 59805(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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); + } + t2.default = class { + constructor(e3, t3) { + this.errorCount = 0, this.forceTextReprocess = false, this.issuesMap = {}, this.isValidationResults = true, this.warningCount = 0, this._revalidateTriggers = [], this._suppressPassiveValidationTrackers = [], this.missingTTSEngine = {}, this.isDeep = t3, this.parentFlow = e3; } - deleteChild(e3) { - if (!this.choices) return; - const t3 = this.choices.indexOf(e3); - t3 < 0 || (e3.isDefaultMenuChoice && (this.defaultMenuChoice = null), e3.deleting && e3.deleting(), this.choices.splice(t3, 1)); + addSuppressPassiveValidation(e3) { + this._suppressPassiveValidationTrackers.includes(e3) ? s.error(`already tracking ${null == e3 ? void 0 : e3.toString()} for addSuppressPassiveValidation`) : this._suppressPassiveValidationTrackers.push(e3); } - _destroy() { - super._destroy(), this.parentFlow.isDestroying || (this.parent && this.parent.deleteChild(this), this.task && this._isInlineTask() ? this.parentFlow.deleteNode(this.task) : this.menu && this.isSubMenu && this.parentFlow.deleteNode(this.menu), this.unlinkAction()), this.action && (this.action.destroy(), this.action = null); + removeSuppressPassiveValidation(e3) { + const t3 = this._suppressPassiveValidationTrackers.indexOf(e3); + t3 >= 0 ? this._suppressPassiveValidationTrackers.splice(t3, 1) : s.error(`not tracking ${null == e3 ? void 0 : e3.toString()} for removeSuppressPassiveValidation`); } - get dtmf() { - return this.model.digit; + shouldValidate() { + return 0 === this._suppressPassiveValidationTrackers.length; } - set dtmf(e3) { - 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(), _.validateItem(this, false, true), this.invokeMenuChoicesChanged(); + countTaskErrors(e3) { + if (e3.isDestroyed) return; + this.clearRollupErrorAndWarnings(e3); + let t3 = 0, i3 = 0; + r.default.each(e3.actions, (e4) => { + const n3 = [e4.id]; + e4.relatedIssueIds && n3.push(...e4.relatedIssueIds), n3.find((e5) => { + var t4; + const i4 = this.issuesMap[e5]; + return (null === (t4 = null == i4 ? void 0 : i4.errors) || void 0 === t4 ? void 0 : t4.length) > 0; + }) && (t3 += 1), n3.find((e5) => { + var t4; + 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, d.task.taskActionErrorsOne) : t3 > 1 && this.addRollupError(e3, (0, o.sprintf)(d.task.taskActionErrorsMoreThanOne, t3)), 1 === i3 ? this.addRollupWarning(e3, d.task.taskActionWarningsOne) : i3 > 1 && this.addRollupWarning(e3, (0, o.sprintf)(d.task.taskActionWarningsMoreThanOne, i3)); } - getYamlOptionsMap() { - return b; + nodeHasError(e3, t3, i3) { + const n3 = this.getIssues(e3); + if (n3 && n3.errors) return n3.errors.some((e4) => e4.text === t3 && (!i3 || e4.flowElementId === i3)); } - getConfiguration(e3, t3) { - var i3, n3; - if (null == t3 ? void 0 : t3.isForFlowYaml) { - let r3 = super.getConfiguration(e3, t3); - if (this.action) { - 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 = 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 o.default.getFirstPropertyValueInObj(i4).name, o.default.extend(s2, i4); - } - 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 r3; - } - return this.action && (this.model.action = this.action.getConfiguration(e3, t3)), this.model; + nodeHasWarning(e3, t3, i3) { + const n3 = this.getIssues(e3); + if (n3 && n3.warnings) return n3.warnings.some((e4) => e4.text === t3 && (!i3 || e4.flowElementId === i3)); } - getUsesSpeechRec() { - return !o.default.isUndefined(this.speechRecTerms.hasTermsAny()); + addExpressionError(e3, t3, i3) { + e3.isTransitory || (e3.setParseError(t3), i3 || (i3 = (0, o.sprintf)(d.errors.invalidValue, e3.errorLabel)), this.addError(e3, i3, void 0, true), this.addError(e3.parent, t3)); } - get globalDtmf() { - return !!this.model.globalDtmf; + addExpressionWarning(e3, t3, i3, n3) { + e3.isTransitory && !n3 || (e3.setParseWarning(t3), i3 || (i3 = t3), this.addWarning(e3.parent, i3), this.addWarning(e3.parent, t3)); } - set globalDtmf(e3) { - e3 = !!e3, this.model.globalDtmf !== e3 && (this.model.globalDtmf = e3, this._updateGlobalDtmf(), this.invokeMenuChoicesChanged()); + addError(e3, t3, i3, n3, o2, r2) { + if (e3.isTransitory) return; + if (this._checkPriority(o2), !_(e3) && n3 && !_(e3.parent)) return; + let a2; + n3 ? (a2 = e3.parent, r2 || (r2 = e3)) : a2 = e3, a2.isFlowViewModel && !i3 && (a2 = a2.startUpObject || a2), this._createOrGetIssues(a2, a2.id).tryAddError(t3, n3 ? e3.id : void 0, o2, r2) && this.errorCount++, a2.topParent && a2.topParent.isTaskLike && !this.isDeep && this.countTaskErrors(a2.topParent), a2.hasValidationError = true; } - get globalSpeech() { - return !!this.model.globalSpeech; + addInternalError(e3, t3, i3) { + p.error("Internal validation error: " + t3), this.addError(e3, t3, i3); } - set globalSpeech(e3) { - e3 = !!e3, this.model.globalSpeech !== e3 && (this.model.globalSpeech = e3, this._updateGlobalSpeech(), this.invokeMenuChoicesChanged()); + addRollupError(e3, t3) { + if (e3.isTransitory) return; + if (!_(e3)) return; + const i3 = this._createOrGetIssues(e3, e3.id); + i3 && i3.addRollUpError(t3); } - invokeMenuChoicesChanged() { - p.fireEvent(this.parent, a.menuChoicesChanged); + get className() { + return "ValidationResults"; } - hasDuplicateDtmf() { - return !!o.default.find(c.getGlobalDtmfForFlow(this.parentFlow), (e3) => e3 !== this && e3.dtmf === this.dtmf); + clearRollupErrorAndWarnings(e3) { + _(e3) && this.issuesMap[e3.id] && this.issuesMap[e3.id].clearRollupErrorAndWarnings(); } - get hasChildren() { - return this.choices && this.choices.length > 0 || this.task && this.task.hasChildren || this.menu && this.menu.hasChildren; + get needsRevalidate() { + return this._revalidateTriggers.length > 0; } - get id() { - return this.model.id; + getRevalidateTriggers() { + return [...this._revalidateTriggers]; } - get info() { - return this.action ? this.action.info : null; + addRevalidateTrigger(e3, t3) { + this._revalidateTriggers.push(r.default.addPromiseTimeout(e3, t3, "timeout during revalidation triggers")); } - initialize() { - const e3 = this.parentFlow; - if (this.isSubMenu) { - if (this.menu) return; - const t3 = this.action.menuReference; - if (!t3) return; - if (!e3) return; - 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 = u.flowElementRegistrationService.getItemById(this.parentFlow, t3); - this.linkTask(i3); - } + addRollupWarning(e3, t3) { + if (!_(e3)) return; + const i3 = this._createOrGetIssues(e3, e3.id); + i3 && i3.addRollUpWarning(t3); } - get isDefaultMenuChoice() { - return !(!this.parent || !this.parent.defaultMenuChoice) && this.parent.defaultMenuChoice === this.id; + addWarning(e3, t3, i3, n3, o2, r2) { + if (e3.isTransitory) return; + if (this._checkPriority(o2), !_(e3) && n3 && !_(e3.parent)) return; + let a2; + n3 ? (a2 = e3.parent, r2 || (r2 = e3)) : a2 = e3, a2.isFlowViewModel && !i3 && (a2 = a2.startUpObject || a2), this._createOrGetIssues(a2, a2.id).tryAddWarning(t3, n3 ? e3.id : void 0, o2, r2) && this.warningCount++, a2.hasValidationWarning = true; } - get isInlineTask() { - return this._isInlineTask(); + getIssues(e3) { + return this.issuesMap[e3]; } - getInlineTaskViewModel() { - if (this.action && this.parentFlow) { - const e3 = this.action.taskReference; - if (e3) return u.flowElementRegistrationService.getItemById(this.parentFlow, e3); - } + hasIssues(e3) { + return this.getIssues(e3).errors.length > 0 || this.getIssues(e3).warnings.length > 0; } - get isMenuChoice() { - return true; + _checkForIssues(e3, t3, i3) { + const n3 = this.getIssues(e3); + return (null == n3 ? void 0 : n3[t3].length) > 0 || (null == n3 ? void 0 : n3[i3].length) > 0; } - isNameUnique() { - return this.menu ? this.menu.isNameUnique() : !this.task || this.task.isNameUnique(); + hasAnyErrors(e3) { + return this._checkForIssues(e3, "errors", "rollupErrors"); } - get isSubMenu() { - return !!this.action && this.action.info.typeId === h.menuActionActionType; + hasAnyWarnings(e3) { + return this._checkForIssues(e3, "warnings", "rollupWarnings"); } - getSubMenuMenuViewModel() { - if (this.action && this.parentFlow) { - const e3 = this.action.menuReference; - if (e3) return u.flowElementRegistrationService.getItemById(this.parentFlow, e3); + clearLinkedIssuesAndWarnings(e3, t3) { + if (e3) { + for (let i3 = e3.errors.length - 1; i3 >= 0; i3--) e3.errors[i3].flowElementId === t3.id && (e3.errors.splice(i3, 1), this.errorCount--); + for (let i3 = e3.warnings.length - 1; i3 >= 0; i3--) e3.warnings[i3].flowElementId === t3.id && (e3.warnings.splice(i3, 1), this.warningCount--); + t3.parent && t3.parent.isDataReporter && (t3.parent.hasValidationError = e3.errors.length > 0, t3.parent.hasValidationWarning = e3.warnings.length > 0); } } - linkMenu(e3) { - e3 && this._isMenuAction() && (this.action.linkMenu(e3), this.menu = e3, e3.parentMenu = this.parent, this.isSubMenu && (this.menu.isHidden = true, this.choices = e3.choices, e3.linkedMenuChoice = this)); - } - linkTask(e3) { - e3 && this._isTaskAction() && (this.action.linkTask(e3), this.task = e3, this._isInlineTask() && (this.task.isHidden = true, e3.linkedMenuChoice = this)); + removeIssues(e3, t3) { + var i3; + i3 = e3, r.default.isFunction(i3.removeDependantValidationIssues) && e3.removeDependantValidationIssues(this, e3, t3); + const n3 = e3.id ? e3.id : e3, o2 = this.getIssues(n3); + (o2 || t3) && (e3.isDataReporter && (e3.hasValidationError = false, e3.hasValidationWarning = false), o2 && (this.warningCount -= o2.warnings.length, this.errorCount -= o2.errors.length, o2.clearErrorsAndWarnings(), o2.clearRollupErrorAndWarnings()), t3 && e3.parent && e3.parent.id && (this.clearLinkedIssuesAndWarnings(this.getIssues(e3.parent.isFlowViewModel && e3.parent.startUpObject ? e3.parent.startUpObject.id : e3.parent.id), e3), e3.parentAudioViewModel && (this.clearLinkedIssuesAndWarnings(this.getIssues(e3.parentAudioViewModel.parent.isFlowViewModel ? e3.parentAudioViewModel.parent.startUpObject ? e3.parentAudioViewModel.parent.startUpObject.id : e3.parentAudioViewModel.parent.id : e3.parent.id), e3.parentAudioViewModel), this.clearLinkedIssuesAndWarnings(this.getIssues(e3.parentAudioViewModel.id), e3.parentAudioViewModel))), e3.topParent && e3.topParent.isTaskLike && !this.isDeep && this.countTaskErrors(e3.topParent)); } - get name() { - return super.name; + _checkPriority(e3) { + u.ParameterValidator.expectNumber(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "checkPriority", "priority"), true); } - set name(e3) { - super.name = e3, this._isInlineTask() && this.task && (this.task.name = e3), this.action.name = e3, this.menu && (this.menu.name = e3); + _createOrGetIssues(e3, t3) { + let i3 = this.issuesMap[t3]; + return i3 && i3.model === e3.model || (i3 = new c.default(e3, t3), this.issuesMap[t3] = i3), i3; } - search(e3) { - this.dtmf && e3.checkText(this, String(this.dtmf.value), I.menuChoice.dtmfSelector), e3.addToQueue(this.speechRecTerms), e3.addToQueue(this.action); + }; + }, 30801(e2, t2) { + "use strict"; + 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.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.endBusinessProcessActionType = t2.encryptDataActionType = t2.disconnectWorkitemActionType = t2.disconnectActionType = t2.digitalMenuActionType = t2.dialogflowCxActionType = t2.dialogflowActionType = t2.dialogEngineActionType = t2.dialNameActionType = t2.dialExtensionActionType = void 0, 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 = t2.getJourneyOutcomeActionType = 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 = t2.setPriorityActionType = void 0, t2.isActionType = function(e3) { + return t2.actionTypeValues.includes(e3); + }; + 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", endBusinessProcessActionType: "EndBusinessProcessAction", 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.endBusinessProcessActionType = i2.endBusinessProcessActionType, 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; + }, 39504(e2, t2) { + "use strict"; + t2.toBinary = void 0, t2.toBinary = (e3) => "undefined" != typeof window ? window.atob(e3) : Buffer.from(e3, "base64").toString("binary"); + }, 73250(e2, t2) { + "use strict"; + 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" }; + }, 94453(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.addBotFlowActions = function(e3) { + const t3 = e3.startUpObject; + let i3; + e3.botFlowSettings.nluDomainIntents.length && (i3 = t3.addAction(r.askForNLUIntentActionType), i3.createBranchesForAllNLUIntents().forEach((e4) => { + 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 o.isMatch(e3, c.globalTypes.currencyCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.currency, o.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInAmountOfMoney } : o.isMatch(e3, c.globalTypes.dateCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.date, o.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDate } : o.isMatch(e3, c.globalTypes.dateTimeCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.dateTime, o.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDateTime } : o.isMatch(e3, c.globalTypes.durationCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.duration, o.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInDuration } : o.isMatch(e3, c.globalTypes.integerCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.integer, o.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInInteger } : o.isMatch(e3, c.globalTypes.decimalCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.decimal, o.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInNumber } : o.isMatch(e3, c.globalTypes.timeCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.time, o.settings.exact) ? { nluDataType: l.BuiltInEntityType.BuiltInTime } : o.isMatch(e3, c.globalTypes.timeslotCollection, o.settings.exact) || o.isMatch(e3, c.globalTypes.timeslot, o.settings.exact) ? { nluDataType: t3 || "", mechanism: l.EntityTypeMechanismType.DynamicDateTime } : { nluDataType: l.BuiltInEntityType.BuiltInAny }; + }, t2.getVariableForNluEntity = f; + const n2 = i2(31635), o = n2.__importStar(i2(9345)), r = 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)) { + if (i3.entityTypeBindings) { + const o2 = e3.getBranch(t3.id); + null === (n3 = i3.entityTypeBindings) || void 0 === n3 || n3.forEach((e4) => { + o2 && m(o2.addAction(a.askForSlotActionType), e4); + }); + } else if (i3.entityNameReferences) { + const n4 = e3.getBranch(t3.id); + i3.entityNameReferences.forEach((t4) => { + const i4 = (function(e4, t5) { + if (e4.nluDomainEntities) return e4.nluDomainEntities.find((e5) => t5 === e5.name); + })(e3.parentFlow.botFlowSettings, t4); + i4 && n4 && m(n4.addAction(a.askForSlotActionType), i4); + }); + } } - traverse(e3) { - if (!e3 || e3.isCanceled) return; - const t3 = e3.getMenuChoiceCallback(); - let i3; - if (t3 && (i3 = e3.createCallbackParam(true), t3(this, i3), !e3.processCallbackParamAndContinue(i3, true))) return; - if (!this.action) return; - const n3 = e3.getActionCallback(); - n3 && (i3 = e3.createCallbackParam(false), n3(this.action, i3), e3.processCallbackParamAndContinue(i3)); + } + function m(e3, t3) { + const i3 = _(e3.parentFlow.defaultLanguage); + 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); + } + function g(e3, t3, i3) { + let n3; + switch (e3) { + case l.BuiltInEntityType.BuiltInAmountOfMoney: + n3 = i3 ? c.globalTypes.currencyCollection : c.globalTypes.currency; + break; + case l.BuiltInEntityType.BuiltInDate: + n3 = i3 ? c.globalTypes.dateCollection : c.globalTypes.date; + break; + case l.BuiltInEntityType.BuiltInDateTime: + n3 = i3 ? c.globalTypes.dateTimeCollection : c.globalTypes.dateTime; + break; + case l.BuiltInEntityType.BuiltInDuration: + n3 = i3 ? c.globalTypes.durationCollection : c.globalTypes.duration; + break; + case l.BuiltInEntityType.BuiltInInteger: + n3 = i3 ? c.globalTypes.integerCollection : c.globalTypes.integer; + break; + case l.BuiltInEntityType.BuiltInNumber: + n3 = i3 ? c.globalTypes.decimalCollection : c.globalTypes.decimal; + break; + case l.BuiltInEntityType.BuiltInTime: + n3 = i3 ? c.globalTypes.timeCollection : c.globalTypes.time; + break; + default: + n3 = t3 && t3.toLowerCase() === l.EntityTypeMechanismType.DynamicDateTime ? i3 ? c.globalTypes.timeslotCollection : c.globalTypes.timeslot : i3 ? c.globalTypes.stringCollection : c.globalTypes.string; } - get uiMetaData() { - return this.model.uiMetaData; + return n3; + } + function f(e3, t3, i3, n3, r2) { + let a2 = e3.nluMetaData.getSlotVariableForSlotName(t3); + return a2 && a2.type.isMatch(g(i3, n3, r2), o.settings.exact) || (a2 = e3.botFlowSettings.createSlotVarForSlotName(t3, i3, n3, r2)), a2; + } + }, 73146(e2, t2) { + "use strict"; + t2.toAscii = void 0, t2.toAscii = (e3) => { + if ("undefined" != typeof window) return window.btoa(e3); + let t3; + return t3 = e3 instanceof Buffer ? e3 : Buffer.from(e3 + "", "binary"), t3.toString("base64"); + }; + }, 17322(e2, t2) { + "use strict"; + t2.bulkObjectOperationFailure = function(e3, t3, i2, n2, o) { + return { item: e3, displayName: t3, errorMessage: i2, consumers: n2, divisions: o }; + }; + }, 60609(e2, t2, i2) { + "use strict"; + t2.cannedResponseMessageCustomTemplateType = t2.cannedResponseMessageTemplateTypeValues = t2.CannedResponseMessageTemplateType = t2.CannedResponseType = void 0; + const n2 = i2(31635).__importDefault(i2(61864)), o = i2(47957); + var r, a; + !(function(e3) { + e3.campaignEmailTemplate = "CampaignEmailTemplate", e3.campaignSmsTemplate = "CampaignSmsTemplate", e3.messagingTemplate = "MessagingTemplate", e3.form = "Form"; + })(r || (t2.CannedResponseType = r = {})), (function(e3) { + e3.standard = "standard", e3.carousel = "carousel"; + })(a || (t2.CannedResponseMessageTemplateType = a = {})), t2.cannedResponseMessageTemplateTypeValues = [{ id: a.carousel, displayString: o.cardsAndCars.mediaCarouselLabel, icon: n2.default.carouselCircled }], t2.cannedResponseMessageCustomTemplateType = { id: a.standard, displayString: o.cardsAndCars.standardLabel, icon: n2.default.image }; + }, 35648(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { cardDataType: { properties: { title: { minLength: 1 }, buttons: { minItems: { count: 1 }, maxItems: { count: 3 } } } }, choiceDataType: { properties: { value: { minLength: 1 } } }, quickRepliesDataType: { properties: { buttons: { minItems: { count: 1 }, maxItems: { count: 10, isSoftLimit: true } }, quickReplySummary: { maxLength: 512 } } }, carouselDataType: { properties: { cards: { minItems: { count: 1 }, maxItems: { count: 10 } } } }, formInputDataType: { properties: { title: { maxLength: 512 }, subtitle: { maxLength: 512 }, placeholderText: { maxLength: 512 } } }, listPickerType: { properties: { sections: { minItems: { count: 1 }, maxItems: { count: 10 } }, receivedMessageTitle: { minLength: 1, maxLength: 256 }, receivedMessageSubtitle: { maxLength: 256 }, receivedMessageButtonText: { minLength: 1, maxLength: 20 }, replyMessageSubtitle: { maxLength: 256 } } }, listPickerItemType: { properties: { title: { minLength: 1, maxLength: 50 }, subtitle: { maxLength: 256 } } }, listPickerSectionType: { properties: { title: { minLength: 1, maxLength: 256 }, items: { maxItems: { count: 100 } } } }, wheelPickerDataType: { properties: { items: { minItems: { count: 1 }, maxItems: { count: 100 } } } }, timePickerDataType: { properties: { title: { minLength: 1 } } } }; + }, 5587(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.dateTimeToDisplay = function(e3, t3 = "LL LTS", i3) { + return a.usingRegionalLocale() ? (i3 || (i3 = a.getRegionalLocale()), (function(e4, t4, i4) { + let n3; + switch (t4) { + case "LL": + n3 = { dateStyle: "long" }; + break; + case "l LT": + n3 = { dateStyle: "short", timeStyle: "short" }; + break; + case "LLLL": + n3 = { dateStyle: "full", timeStyle: "short" }; + break; + case "lll": + n3 = { dateStyle: "medium", timeStyle: "short" }; + break; + default: + n3 = { dateStyle: "long", timeStyle: "long" }; + } + try { + if ((r.default.isActualNumber(e4) || r.default.isStringActualNumber(e4)) && (e4 = s(e4)), Date.parse(e4)) { + const t5 = new Date(e4); + return Intl.DateTimeFormat(i4, n3).format(t5); + } + } catch (e5) { + console.error(e5); + } + return l(e4, t4); + })(e3, t3, i3)) : l(e3, t3); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(95093)), r = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(74359)); + function s(e3) { + let t3 = Number(e3); + return isNaN(t3) ? e3 : (t3 < 1e10 && (t3 *= 1e3), t3 += -1 * (/* @__PURE__ */ new Date()).getTimezoneOffset(), new Date(t3)); + } + function l(e3, t3) { + return (r.default.isActualNumber(e3) || r.default.isStringActualNumber(e3)) && (e3 = s(e3)), Date.parse(e3) ? (0, o.default)(e3).format(t3) : e3; + } + }, 56004(e2, t2) { + "use strict"; + t2.am = void 0, t2.encodingSupportsBitsPerSample = function(e3) { + return n2.has(e3); + }, t2.encodingSupportsFrequency = function(e3) { + return i2.has(e3); + }, t2.am = [{ id: "ULAW", supportsFrequency: true, supportsBitsPerSample: true }, { id: "ALAW", supportsFrequency: true, supportsBitsPerSample: true }, { id: "PCM", supportsFrequency: true, supportsBitsPerSample: true }]; + new Map(t2.am.map((e3) => [e3.id, e3])); + const i2 = new Set(t2.am.filter((e3) => e3.supportsFrequency).map((e3) => e3.id)), n2 = new Set(t2.am.filter((e3) => e3.supportsBitsPerSample).map((e3) => e3.id)); + }, 4648(e2, t2) { + "use strict"; + var i2; + 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.audioSsmlSupportFeature = "audioSsmlSupportFeature", e3.authorizedWebMessaging = "authorizedWebMessaging", e3.autoStartConversations = "autoStartConversations", e3.botFlowEscalationRecognitionHandlingV2 = "botFlowEscalationRecognitionHandlingV2", e3.botFlows = "botFlows", e3.botFlowsAdvancedKnowledgeHandling = "botFlowsAdvancedKnowledgeHandling", e3.botFlowsAgentEscalationEnhancementsPhase1Feature = "botFlowsAgentEscalationEnhancementsPhase1Feature", e3.botFlowsAgenticVirtualAgent = "botFlowsAgenticVirtualAgent", e3.botFlowsAgenticVirtualAgentContextWindowPruning = "botFlowsAgenticVirtualAgentContextWindowPruning", 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.botFlowsAppleForms = "botFlowsAppleForms", e3.botFlowsAppleFormsPhase2 = "botFlowsAppleFormsPhase2", e3.botFlowsAppleListPicker = "botFlowsAppleListPicker", e3.botFlowsApplePay = "botFlowsApplePay", 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.botFlowsDigitalBotFlowsJSONFeature = "botFlowsDigitalBotFlowsJSONFeature", e3.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature = "botFlowsDigitalBotFlowsKnowledgeEndToEndFeature", e3.botFlowsDigitalBotFlowsKnowledgePathFeature = "botFlowsDigitalBotFlowsKnowledgePathFeature", 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.botFlowsFindKnowledgeBaseDocumentById = "botFlowsFindKnowledgeBaseDocumentById", e3.botFlowsGenesysR2D2 = "botFlowsGenesysR2D2", e3.botFlowsGetResponseActionFeature = "botFlowsGetResponseActionFeature", e3.botFlowsGlobalBargeFeature = "botFlowsGlobalBargeFeature", e3.botFlowsGroupSupportFeature = "botFlowsGroupSupportFeature", 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.botFlowsVirtualAgentGuideBillingDowngrade = "botFlowsVirtualAgentGuideBillingDowngrade", 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.businessProcessFlows = "businessProcessFlows", 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.copilotLauncher = "copilotLauncher", e3.create2026WorkshopFeature = "create2026WorkshopFeature", e3.createFlowMilestones = "createFlowMilestones", e3.createFlowOutcomes = "createFlowOutcomes", e3.customConversationAttributes = "customConversationAttributes", e3.customerIntentsPhase1Cicero = "customerIntentsPhase1Cicero", e3.customerIntentsPhase2AutomateAndVXML = "customerIntentsPhase2AutomateAndVXML", e3.customJSONUserDefinedTypes = "customJSONUserDefinedTypes", e3.customJSONV2 = "customJSONV2", 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.externalContactUpdateAction = "externalContactUpdateAction", e3.externalContactUpdatesPhase1 = "externalContactUpdatesPhase1", e3.flexibleTtsSelection = "flexibleTtsSelection", e3.flowCreationExamples = "flowCreationExamples", e3.flowExecutionDataPhase1 = "flowExecutionDataPhase1", e3.flowExportYaml = "flowExportYaml", e3.flowInstanceExecutionData = "flowInstanceExecutionData", e3.flowInstanceExecutionDataAdvancedQuery = "flowInstanceExecutionDataAdvancedQuery", e3.flowInstanceExecutionDataBotFlows = "flowInstanceExecutionDataBotFlows", e3.flowInstanceExecutionPlayback = "flowInstanceExecutionPlayback", e3.flowInstanceExecutionPlaybackPhase2 = "flowInstanceExecutionPlaybackPhase2", e3.flowInstanceLogLevelConfiguration = "flowInstanceLogLevelConfiguration", e3.flowInstanceLogLevels = "flowInstanceLogLevels", e3.flowMemoryUsageUserVarsAutomate = "flowMemoryUsageUserVarsAutomate", e3.flowOptimizationFrequencyAllFlowTypesFeature = "flowOptimizationFrequencyAllFlowTypesFeature", e3.flowOptimizationFrequencyFeature = "flowOptimizationFrequencyFeature", 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.journeySegmentById = "journeySegmentById", e3.journeySessionDivisionIds = "journeySessionDivisionIds", e3.journeySessionsByCustomerId = "journeySessionsByCustomerId", e3.journeySessionsByExternalContactId = "journeySessionsByExternalContactId", e3.knownAgentRouting = "knownAgentRouting", e3.lastCollectionModeVariable = "lastCollectionModeVariable", e3.messageAddressInfoEmail = "messageAddressInfoEmail", e3.nluLanguageStatus = "nluLanguageStatus", e3.orgAvailabilityCustomerSecuredConversationData = "orgAvailabilityCustomerSecuredConversationData", e3.orgAvailabilityGrammars = "orgAvailabilityGrammars", e3.orgAvailabilityGroups = "orgAvailabilityGroups", e3.orgAvailabilityJourneyOutcomes = "orgAvailabilityJourneyOutcomes", e3.orgAvailabilityJourneyOutcomeScores = "orgAvailabilityJourneyOutcomeScores", 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.pathDiscoveryCallFlowsFeature = "pathDiscoveryCallFlowsFeature", e3.pathDiscoveryFeature = "pathDiscoveryFeature", e3.pathDiscoveryV3Feature = "pathDiscoveryV3Feature", e3.postCallActionFeature = "postCallActionFeature", e3.postFlowDigitalFeature = "postFlowDigitalFeature", e3.previewBusinessProcessFlowFeature = "previewBusinessProcessFlowFeature", 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.ruleBasedDecisionsDigitalFeature = "ruleBasedDecisionsDigitalFeature", e3.ruleBasedDecisionsFeature = "ruleBasedDecisionsFeature", 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.uiHelpPanelResourcesTab = "uiHelpPanelResourcesTab", e3.uiInternationalizationOfDatesAndTimes = "uiInternationalizationOfDatesAndTimes", e3.uiPagedPropertyLists = "uiPagedPropertyLists", e3.vipExperience = "vipExperience", e3.voiceFlows = "voiceFlows", e3.voiceFlowsPhase2 = "voiceFlowsPhase2", e3.voicemailFlows = "voicemailFlows", e3.voicemailRecordingMaxTime = "voicemailRecordingMaxTime", e3.voiceSnippets = "voiceSnippets", e3.voiceSurveyFlows = "voiceSurveyFlows", e3.voiceSurveyFlowsPhase2 = "voiceSurveyFlowsPhase2", e3.whatsAppCarouselFeature = "whatsAppCarouselFeature", e3.whatsAppCustomTemplateFeature = "whatsAppCustomTemplateFeature", e3.whatsAppListPickerFeature = "whatsAppListPickerFeature", e3.workflowFlows = "workflowFlows", e3.workflowWaitActionUpdatesPhase1 = "workflowWaitActionUpdatesPhase1", e3.workitemDateAutomationFeature = "workitemDateAutomationFeature", e3.workItemFlows = "workItemFlows", e3.yamlTrackingIdFeature = "yamlTrackingIdFeature"; + })(i2 || (i2 = {})), t2.default = i2; + }, 81858(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.archShortcuts = t2.archRenumber = t2.archPhoneNumberPhase2 = t2.archFuncToAudioTTSWithLang = t2.archExpressionNoConfigError = t2.archExpressionBuilders = void 0, t2.archExpressionBuilders = "archExpressionBuilders", t2.archExpressionNoConfigError = "archExpressionNoConfigError", t2.archFuncToAudioTTSWithLang = "archFuncToAudioTTSWithLang", t2.archPhoneNumberPhase2 = "archPhoneNumberPhase2", t2.archRenumber = "archRenumber", t2.archShortcuts = "archShortcuts"; + }, 2560(e2, t2) { + "use strict"; + var i2; + t2.FlowFileFormatTypes = void 0, t2.toFlowFileFormat = function(e3, t3) { + const i3 = n2[e3]; + if (void 0 === i3) { + if (t3) return; + throw new Error(`Unsupported flow file format: ${e3}`); } - set uiMetaData(e3) { - this.model.uiMetaData = e3; + return i3; + }, (function(e3) { + e3.Architect = "architect", e3.Yaml = "yaml", e3.FlowInfoSpec = "flowInfoSpec"; + })(i2 || (t2.FlowFileFormatTypes = i2 = {})); + const n2 = {}; + for (const e3 of Object.keys(i2)) { + const t3 = i2[e3]; + "string" == typeof t3 && (n2[t3] = t3); + } + }, 62241(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.results = t2.actionStatus = t2.actionName = void 0, t2.actionName = { checkin: "CHECKIN", delete: "DELETE", debugPublish: "DEBUG_PUBLISH", history: "HISTORY", publish: "PUBLISH", stateChange: "STATE_CHANGE", validate: "VALIDATE", initializeDesignTime: "VALIDATE" }, t2.actionStatus = { failure: "FAILURE", locked: "LOCKED", pendingGeneration: "PENDING_GENERATION", pendingBackendNotification: "PENDING_BACKEND_NOTIFICATION", started: "STARTED", success: "SUCCESS", unlocked: "UNLOCKED" }, t2.results = { ok: "ok", doesNotExist: "does.not.exist", invalid: "invalid" }; + }, 80145(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { any_ResolveSlot_any: "Any_ONE resolveSlot(Any_ONE)", audio_AudioPlaybackOptions_Barge: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE)", audio_AudioPlaybackOptions_Barge_Flush: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE,Boolean_ONE)", audio_ToAudio_Prompt: "Audio_ONE toAudio(Prompt_ONE)", audio_ToAudio_VoiceSnippet: "Audio_ONE toAudio(VoiceSnippet_ONE)", audio_ToAudioBool_Bool: "Audio_ONE ToAudioBool(Boolean_ONE)", audio_ToAudioBool_Bool_FormatEnum: "Audio_ONE ToAudioBool(Boolean_ONE,BoolFormatEnum_ONE)", audio_ToAudioCurrency_Currency: "Audio_ONE ToAudioCurrency(Currency_ONE)", audio_ToAudioCurrency_Currency_FormatEnum: "Audio_ONE ToAudioCurrency(Currency_ONE,CurrencyFormat_ONE)", audio_ToAudioCurrency_Currency_Int: "Audio_ONE ToAudioCurrency(Currency_ONE,Long_ONE)", audio_ToAudioDate_Date: "Audio_ONE ToAudioDate(Date_ONE)", audio_ToAudioDate_Date_FormatEnum: "Audio_ONE ToAudioDate(Date_ONE,DateFormatEnum_ONE)", audio_ToAudioDate_DateTime_FormatEnum: "Audio_ONE ToAudioDate(DateTime_ONE,DateTimeFormatEnum_ONE)", audio_ToAudioDateTime_DateTime: "Audio_ONE ToAudioDateTime(DateTime_ONE)", audio_ToAudioDuration_Duration: "Audio_ONE ToAudioDuration(Duration_ONE)", audio_ToAudioNumber_Decimal: "Audio_ONE ToAudioNumber(Decimal_ONE)", audio_ToAudioNumber_Decimal_FormatEnum: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE)", audio_ToAudioNumber_Decimal_FormatEnum_LangEnumStar: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumber_Decimal_Int: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE)", audio_ToAudioNumber_Decimal_LangEnumStar: "Audio_ONE ToAudioNumber(Decimal_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumber_Decimal_Int_LangEnumStar: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumber_Int: "Audio_ONE ToAudioNumber(Long_ONE)", audio_ToAudioNumber_Int_FormatEnum: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE)", audio_ToAudioNumber_Int_FormatEnum_LangEnumStar: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumberOrdinal_Int: "Audio_ONE ToAudioNumberOrdinal(Long_ONE)", audio_ToAudioNumberOrdinal_Int_LangEnumStar: "Audio_ONE ToAudioNumberOrdinal(Long_ONE,LanguageContextEnum_ONE...)", audio_ToAudioPercent_Int: "Audio_ONE ToAudioPercent(Long_ONE)", audio_ToAudioPercent_Decimal: "Audio_ONE ToAudioPercent(Decimal_ONE)", audio_ToAudioPhoneNumber_PhoneNumber: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE)", audio_ToAudioPhoneNumber_String: "Audio_ONE ToAudioPhoneNumber(String_ONE)", audio_ToAudioPhoneNumber_PhoneNumber_FormatEnum: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,PhoneNumberFormatEnum_ONE)", audio_ToAudioPhoneNumber_PhoneNumber_String: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,String_ONE)", audio_ToAudioTTS_String: "Audio_ONE ToAudioTTS(String_ONE)", audio_ToAudioTTS_String_FormatEnum: "Audio_ONE ToAudioTTS(String_ONE,StringFormat_ONE)", audio_ToAudioTime_DateTime: "Audio_ONE ToAudioTime(DateTime_ONE)", audio_ToAudioTime_DateTime_FormatEnum: "Audio_ONE ToAudioTime(DateTime_ONE,TimeFormatEnum_ONE)", duration_RoundUp_Duration: "Duration_ONE RoundUp(Duration_ONE)", duration_MakeDuration_Int_Int_Int_Int: "Duration_ONE makeDuration(Long_ONE,Long_ONE,Long_ONE,Long_ONE)" }; + }, 81176(e2, t2) { + "use strict"; + t2.inputMode = void 0, t2.inputMode = { dtmf: "dtmf", speech: "speech", text: "text" }, t2.inputMode.dtmf, t2.inputMode.speech, t2.inputMode.text; + }, 69212(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.containerVisualItemClassifications = t2.singletonVisualizationItemClassifications = t2.visualizationItemClassificationDisplayValueMap = t2.VisualizationItemClassification = void 0, t2.supportsInitializeDesignTime = function(e3) { + return e3.supportsInitializeDesignTime; + }; + const n2 = i2(31635).__importStar(i2(69453)), o = i2(47957); + var r; + !(function(e3) { + e3.archAction = "archAction", e3.archFlow = "archFlow", e3.archCommonModule = "archCommonModule", e3.archMenu = "archMenu", e3.archState = "archState", e3.archTask = "archTask", e3.botTurn = "botTurn", e3.data = "data", e3.event = "event", e3.settings = "settings"; + })(r || (t2.VisualizationItemClassification = r = {})), t2.visualizationItemClassificationDisplayValueMap = { [r.archAction]: o.customNodes.actions, [r.archFlow]: o.sectionFlows, [r.archCommonModule]: o.sectionCommonModuleFlows, [r.archMenu]: o.customNodes.menus, [r.archState]: o.states.states, [r.archTask]: o.generic.tasks, [r.botTurn]: n2.executionData.botTurn, [r.event]: o.generic.branches.event, [r.settings]: o.customNodes.settings, [r.data]: o.actions.data }, t2.singletonVisualizationItemClassifications = [r.archAction, r.botTurn, r.event, r.data, r.settings], t2.containerVisualItemClassifications = [r.archCommonModule, r.archMenu, r.archState, r.archTask, r.settings]; + }, 87675(e2, t2, i2) { + "use strict"; + 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), o = i2(89917), r = 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 h.default { + constructor(e3) { + super(), this._registeredPropertyTypeTargetIds = /* @__PURE__ */ new Set(), this.isDestroyed = false, this._dataTypeDef = e3; } - get uiSortStr() { - return (this.dtmf ? (0, r2.sprintf)("%2d", this.dtmf.value) : "AA") + this.name; + bindToFlow(e3) { + e3 && (this.parentFlow = e3, this.parent = e3, this.isDestroyed = false); } - 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; + getDisplayName() { + return this.name; } - 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, 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); + 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)); } - this.speechRecTerms.validate(e3), this.speechRecTerms.hasDuplicates && (this.hasSpeechRecOrDtmfError = true); - } - get defaultVariableScope() { - return this.task && this._isInlineTask() ? this.task.defaultVariableScope : super.defaultVariableScope; } - get localVariableScope() { - return this.task && this._isInlineTask() ? this.task.localVariableScope : super.localVariableScope; - } - get builtInVariableScopes() { - return this.task && this._isInlineTask() ? this.task.builtInVariableScopes : super.builtInVariableScopes; - } - get userCreatableVariableScopes() { - return this.task && this._isInlineTask() ? this.task.userCreatableVariableScopes : super.userCreatableVariableScopes; + 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 yamlPropertyOrderMap() { - return o.default.extend(super.yamlPropertyOrderMap, { dtmf: 20, globalDtmf: 30, globalSpeechRecTerms: 40 }); + get className() { + return "DataTypeDefViewModel"; } - toString() { - return `MenuChoice: ${super.toString()}`; + _canDelete() { + return true; } - get sortValue() { - return this.dtmf ? 0 === this.dtmf.value ? "99" : 10 === this.dtmf.value ? "999" : 11 === this.dtmf.value ? "9999" : this.dtmf.value.toString() : this.name; + canDelete(e3) { + return !this.hasUsagesForFlow(e3); } - 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.iconName; + isInUse(e3) { + return !this.canDelete(e3); } - get containerLabel() { - return I.menu.label; + static createEmptyDataTypeDef() { + return new g(new r.default()); } - get containerLabelAndName() { - return (0, r2.sprintf)(I.labelAndName, this.containerLabel, this.getDisplayName()); + static createAndPopulateRootPropertiesFromJsonSchema(e3) { + const t3 = g.createEmptyDataTypeDef(); + return t3._dataTypeDef.populateRootPropertiesFromJsonSchema(e3), t3; } - 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); + static createFromPropertyDefinition(e3) { + var t3, i3, n3, o2; + const a2 = new r.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 === (o2 = e3.model) || void 0 === o2 ? void 0 : o2.properties; + if (l2 && "object" == typeof l2) { + const e4 = []; + for (const t4 of Object.values(l2)) { + if (!t4) continue; + const i4 = new r.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); } - _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); + static createFromPropertyParams(e3, t3, i3, n3, o2) { + var r2, a2, s2; + const l2 = { id: t3, name: t3, type: i3, isCollection: null !== (r2 = null == o2 ? void 0 : o2.isCollection) && void 0 !== r2 && r2, isRequired: null !== (a2 = null == o2 ? void 0 : o2.isRequired) && void 0 !== a2 && a2, readOnly: null !== (s2 = null == o2 ? void 0 : o2.isReadOnly) && void 0 !== s2 && s2, patchable: null == o2 ? void 0 : o2.isPatchable, minLength: null == o2 ? void 0 : o2.minLength, maxLength: null == o2 ? void 0 : o2.maxLength, minValue: null == o2 ? void 0 : o2.minValue, minValueInclusive: null == o2 ? void 0 : o2.minValueInclusive, maxValue: null == o2 ? void 0 : o2.maxValue, maxValueInclusive: null == o2 ? void 0 : o2.maxValueInclusive, minItems: null == o2 ? void 0 : o2.minItems, maxItems: null == o2 ? void 0 : o2.maxItems, allowableValuesRaw: Array.isArray(null == o2 ? void 0 : o2.allowableValues) && o2.allowableValues.length ? o2.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 o2 = d.default.getTypeGroup(e3); + for (const r2 of t3) for (const t4 of r2.propertiesSnapshot) if (n3[t4.dataTypeId]) ; + else { + const n4 = o2.getType(t4.dataTypeId, t4.isCollection); + n4 ? n4.isAvailableForFlow(e3) || i3.errors.push({ error: m.propDataTypeNotAvailableInFlow, customDataTypeDef: r2, propDataTypeDef: t4, propDataType: n4 }) : i3.errors.push({ error: m.propDataTypeIdInvalid, customDataTypeDef: r2, propDataTypeDef: t4 }); } + return i3; + } + get isDataTypeDefViewModel() { + return true; } - } - t2.MenuChoiceViewModel = w; - }, 64015: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFlowItem = void 0; - const n2 = i2(31635), r2 = i2(19596), o = n2.__importStar(i2(43773)); - class a extends r2.DataContract { - constructor(e3) { - super(e3), this.uiMetaData = void 0; + get allowableValues() { + return this._dataTypeDef.allowableValues; } - getConfiguration(e3, t3) { - return (null == t3 ? void 0 : t3.isForComparison) ? o.removePropertiesForComparison(this) : this; + set allowableValues(e3) { + this._dataTypeDef.allowableValues = e3; } - } - t2.BaseFlowItem = a; - }, 64042: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get dataTypeId() { + return this._dataTypeDef.dataTypeId; } - get _globalTypeName() { - return "externalInstagramInfo"; + set dataTypeId(e3) { + this._dataTypeDef.dataTypeId = e3; } - get displayName() { + get description() { + return this._dataTypeDef.description; } - get handle() { + set description(e3) { + this._dataTypeDef.description = e3; } - get ids() { + get title() { + return this._dataTypeDef.title; } - get displayTypeName() { - return "ArchValueExternalInstagramInfo"; + set title(e3) { + this._dataTypeDef.title = e3; } - get isArchValueExternalInstagramInfo() { - return true; + get id() { + return this._dataTypeDef.id; } - } - t2.default = r2; - }, 64079: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(8471)); - class r2 extends n2.default { - static create(e3, t3) { - return new r2(e3, t3); + set id(e3) { + this._dataTypeDef.id = e3; } - constructor(e3, t3) { - super(), this._checkItemIsArchFilterObject(this._infoParmCtor("traverseFilter"), e3), this._checkItemIsValidFunction(this._infoParmCtor("callbackFunction"), t3), this._callbackCount = 0, this._callbackFunction = t3, this._shouldContinue = true, this._traverseFilter = e3; + get name() { + return this._dataTypeDef.name; } - get callbackFunction() { - return this._callbackFunction; + set name(e3) { + this._dataTypeDef.name = e3; } - get callbackCount() { - return this._callbackCount; + get customJsonIdentifierInfo() { + return this._customJsonIdentifierInfo || (this._customJsonIdentifierInfo = o.CustomJsonIdentifierInfo.create(this.dataTypeId)), this._customJsonIdentifierInfo; } - get displayTypeName() { - return "ArchTraverseSettings"; + get namespace() { + return this.customJsonIdentifierInfo.namespace; } - get filter() { - return this._traverseFilter; + get additionalProperties() { + return this._dataTypeDef.additionalProperties; } - incrementCallbackCount() { - this._callbackCount++; + set additionalProperties(e3) { + this._dataTypeDef.additionalProperties = !!e3; } - get isArchTraverseSettings() { - return true; + get isCollection() { + return !!this._dataTypeDef.isCollection; } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + set isCollection(e3) { + this._dataTypeDef.isCollection = !!e3; } - get shouldContinue() { - return this._shouldContinue; + get isRequired() { + return !!this._dataTypeDef.isRequired; } - set shouldContinue(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "shouldContinue"), e3), this._shouldContinue = e3; + set isRequired(e3) { + this._dataTypeDef.isRequired = !!e3; } - } - t2.default = r2; - }, 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), c = i2(47957); - class d extends a.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + get readOnly() { + return !!this._dataTypeDef.readOnly; } - get className() { - return "SurveyQuestionType"; + set readOnly(e3) { + this._dataTypeDef.readOnly = !!e3; } - createExpressionOptionClass() { - return new o.ExpressionTypeSurveyQuestionOptions(); + get isReadOnly() { + return this.readOnly; } - 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)(c.errors.invalidValue, t3.label), false, true), false); + set isReadOnly(e3) { + this.readOnly = e3; } - get supportsLiteralEditor() { - return true; + get patchable() { + return !!this._dataTypeDef.patchable; } - clearArchSurveyQuestion(e3) { - return !!e3 && (e3.mode = s.literal, e3.update("", ""), e3.options.allowModeNoValue && e3.setAsNoValue(), true); + set patchable(e3) { + this._dataTypeDef.patchable = !!e3; } - setFromArchSurveyQuestion(e3, t3) { - return t3 ? !!e3 && (e3.mode = s.literal, e3.update(t3.questionText, t3.id), true) : this.clearArchSurveyQuestion(e3); + get isPatchable() { + return this.patchable; } - getArchSurveyForm(e3) { - var t3; - return null === (t3 = (null == e3 ? void 0 : e3.parentFlow).voiceSurveyFlowSettings) || void 0 === t3 ? void 0 : t3.archSurveyForm; + set isPatchable(e3) { + this.patchable = e3; } - setFromSurveyQuestionId(e3, t3, i3) { - var n3; - if (!e3 || !t3) return false; - if (!i3 && (null === (n3 = e3.parent) || void 0 === n3 ? void 0 : n3.isAskSurveyQuestionAction)) return e3.parent.configureFromArchSurveyQuestionId(t3); - const r3 = this.getArchSurveyForm(e3); - if (!r3) return false; - const o2 = (0, l.findSurveyQuestionInForm)(r3, t3, true); - return !!o2 && this.setFromArchSurveyQuestion(e3, o2); + get minItems() { + return this._dataTypeDef.minItems; } - setFromSurveyQuestionText(e3, t3, i3, n3) { - var r3, o2; - if (!e3 || !t3) return false; - if (!n3 && (null === (r3 = e3.parent) || void 0 === r3 ? void 0 : r3.isAskSurveyQuestionAction)) return null === (o2 = e3.parent) || void 0 === o2 ? void 0 : o2.configureFromArchSurveyQuestionText(t3, i3); - const a2 = this.getArchSurveyForm(e3); - if (!a2) return false; - const s2 = (0, l.findSurveyQuestionInForm)(a2, t3, i3, true); - return !!s2 && this.setFromArchSurveyQuestion(e3, s2); + set minItems(e3) { + this._dataTypeDef.minItems = e3; } - getSurveyQuestion(e3, t3, i3, n3) { - if (!e3.isLiteralMode) return; - const r3 = this.getArchSurveyForm(e3); - r3 && (0, l.findSurveyQuestionInForm)(r3, t3, i3, true); + get maxItems() { + return this._dataTypeDef.maxItems; } - } - 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(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]); + set maxItems(e3) { + this._dataTypeDef.maxItems = e3; } - get className() { - return "ComplexType"; + get minLength() { + return this._dataTypeDef.minLength; } - canConvertLitToExpression(e3) { - return this.expressionType === _.expressionTypeNames.worktypeStatus ? p.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindWorktypeStatus", e3, [a.globalTypes.string]) : (this.allowLiteralSelect, false); + set minLength(e3) { + this._dataTypeDef.minLength = e3; } - _getLiteralValueOfExpression() { - return ""; + get maxLength() { + return this._dataTypeDef.maxLength; } - convertLitToExpression(e3, t3) { - return this.canConvertLitToExpression(e3) && this.expressionType === _.expressionTypeNames.worktypeStatus && t3 ? `FindWorktypeStatus("${t3}")` : ""; + set maxLength(e3) { + this._dataTypeDef.maxLength = e3; } - createExpressionOptionClass() { - return new l.ExpressionTypeComplexOptions(this.isCollection).setTypeIdentifier(this.typeIdentifier); + get minValue() { + return this._dataTypeDef.minValue; } - get propertiesAllowAssignment() { - return this.model.propertiesAllowAssignment || this.additionLiteralProperties; + set minValue(e3) { + this._dataTypeDef.minValue = e3; } - get supportsLiteralEditor() { - return this.allowLiteralSelect; + set minValueInclusive(e3) { + this._dataTypeDef.minValueInclusive = e3; } - getLiteralValues(e3) { - if (this.allowLiteralSelect) return e3.parentFlow.getComplexTypeLiteralValues(e3); + get minValueInclusive() { + return this._dataTypeDef.minValueInclusive; } - 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)(m.errors.invalidValue, t3.label))), i3; + get maxValue() { + return this._dataTypeDef.maxValue; } - setPropertiesAsLiteral(e3, t3) { - this.allowLiteralSelect ? Object.entries(t3).forEach(([t4, i3]) => { - const n3 = e3.getProperty(t4); - n3 && n3.setAsLiteral(i3); - }) : g.errorWithStack(null, `Unable to call setPropertiesAsLiteral on type ${this.expressionType} as type does not allow literalSelect.`); + set maxValue(e3) { + this._dataTypeDef.maxValue = e3; } - setPropertiesAsLiteralById(e3, t3) { - this._setPropertiesAsLiteralInternal(e3, t3, false); + get maxValueInclusive() { + return this._dataTypeDef.maxValueInclusive; } - setPropertiesAsLiteralByName(e3, t3) { - this._setPropertiesAsLiteralInternal(e3, t3, true); + set maxValueInclusive(e3) { + this._dataTypeDef.maxValueInclusive = e3; } - _setPropertiesAsLiteralInternal(e3, t3, i3) { - if (!this.allowLiteralSelect) return; - const n3 = i3 ? "setPropertiesAsLiteralByName" : "setPropertiesAsLiteralById"; - 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}`); - } + get minValueStr() { + return this._dataTypeDef.minValueStr; } - } - t2.ComplexType = f; - }, 64288: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.UtilizationLabel = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { - constructor(e3) { - super(e3); + set minValueStr(e3) { + this._dataTypeDef.minValueStr = e3; } - get id() { - return this._id; + get minValueParsedDecimal() { + return this._dataTypeDef.minValueParsedDecimal; } - set id(e3) { - this._id = e3; + get maxValueStr() { + return this._dataTypeDef.maxValueStr; } - get name() { - return this._name; + set maxValueStr(e3) { + this._dataTypeDef.maxValueStr = e3; } - set name(e3) { - this._name = e3; + get maxValueParsedDecimal() { + return this._dataTypeDef.maxValueParsedDecimal; } - get displayName() { - return this._name; + 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; } - set displayName(e3) { - this._name = e3; + get model() { + return this._dataTypeDef; } - get label() { - return this._name; + get propertiesSnapshot() { + var e3; + if (!(null === (e3 = this._dataTypeDef.properties) || void 0 === e3 ? void 0 : e3.length)) return []; + const t3 = []; + for (const e4 of this._dataTypeDef.properties) t3.push(new g(e4)); + return t3; } - set label(e3) { - this._name = e3; + addProperty(e3) { + e3 && (void 0 === this._dataTypeDef.properties && (this._dataTypeDef.properties = []), this._dataTypeDef.properties.push(e3._dataTypeDef)); } - } - t2.UtilizationLabel = 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, "displayName", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "label", null); - }, 64306: (e2, t2, i2) => { - "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseBotSettingsSequence = void 0; - const r2 = i2(31635), o = r2.__importDefault(i2(92140)), a = i2(69149); - t2.BaseBotSettingsSequence = class { - constructor() { - n2.set(this, { _label: void 0, availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "defaultSequence", "ko-kr": "defaultSequence", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: void 0, flowTypeOverrides: {}, languageSequences: {} }); + setProperties(e3) { + (null == e3 ? void 0 : e3.length) || (this._dataTypeDef.properties = void 0), this._dataTypeDef.properties = []; + for (const t3 of e3) this._dataTypeDef.properties.push(t3._dataTypeDef); } - generateLanguageSequencesDefaultSequence(e3, t3, i3) { - t3 || (t3 = ""); - const n3 = { defaultSequence: { _label: `${e3}_${t3}`, partContents: [{ builderPartId: i3 || a.builderPartIds.communication.text, parameters: {} }] } }; - return n3.defaultSequence.partContents[0].parameters[e3] = t3, n3; + get propertiesMap() { + var e3; + if (!(null === (e3 = this._dataTypeDef.properties) || void 0 === e3 ? void 0 : e3.length)) return {}; + const t3 = {}; + for (const e4 of this._dataTypeDef.properties) t3[e4.name] = new g(e4); + return t3; } - generateLanguageSequenceConfig(e3, t3, i3, a2) { - const s = o.default.deepClone(r2.__classPrivateFieldGet(this, n2, "f")); - return s._label = e3, s.builderId = t3, s.languageSequences = i3, o.default.isObject(a2) && (s.flowTypeOverrides = a2), s; + _addItemDiffResult(e3, t3, i3, n3, o2, r2, a2, l2, c2) { + const d2 = new s.default(e3.currentPath.join("/"), n3, i3, o2, t3, r2, l2, a2, c2); + switch (e3.diffResult.addDiff(d2), d2.diffResult) { + case u.DiffResult.doesNotMatch: + case u.DiffResult.moreRestrictive: + if (e3.diffResult.diffSettings.shortCircuitOnFirstMoreRestrictiveDiff) return false; + } + return true; } - }, 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)), c = i2(67483), d = i2(67483), p = n2.__importDefault(i2(4648)), _ = i2(47957); - class h extends r2.default { - static get managedProperties() { - return [{ label: _.utilizationLabel.utilizationLabelLabel, options: s.ExpressionTypeUtilizationLabelOptions.create((e3) => e3.setAsInput().setDescriptionInfo(_.actions.setUtilizationLabel, _.utilizationLabel.setUtilizationLabelDescription).setIninTestingField("setUtilizationLabel")), property: "utilizationLabel", type: a.expressionTypeNames.utilizationLabel }]; + _compareBooleanFacets(e3, t3, i3, n3, o2) { + return n3 === o2 || this._addItemDiffResult(e3, i3, c.DiffType.isNotEqual, u.DiffResult.doesNotMatch, t3, n3, o2); } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + _compareStringFacets(e3, t3, i3, n3, o2) { + return n3 === o2 || this._addItemDiffResult(e3, i3, c.DiffType.isNotEqual, u.DiffResult.moreRestrictive, t3, n3, o2); } - static get branchInfo() { - return o.default.successFailure; + _compareNumericRangeFacets(e3, t3, i3, n3, o2, r2, a2, s2) { + if (void 0 === o2) return void 0 === n3 || this._addItemDiffResult(e3, i3, c.DiffType.valueNoLongerDefined, u.DiffResult.lessRestrictive, t3, n3, o2, a2, s2); + if (void 0 === n3) return this._addItemDiffResult(e3, i3, c.DiffType.valueNowDefined, u.DiffResult.moreRestrictive, t3, n3, o2, a2, s2); + if (n3 === o2) if (r2) { + if (s2 && !a2) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsLessThanInclusive, u.DiffResult.lessRestrictive, t3, n3, o2, a2, s2); + if (!s2 && a2) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsGreaterThanInclusive, u.DiffResult.moreRestrictive, t3, n3, o2, a2, s2); + } else { + if (s2 && !a2) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsGreaterThanInclusive, u.DiffResult.lessRestrictive, t3, n3, o2, a2, s2); + if (!s2 && a2) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsLessThanInclusive, u.DiffResult.moreRestrictive, t3, n3, o2, a2, s2); + } + else if (r2) { + if (o2 < n3) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsLessThan, u.DiffResult.lessRestrictive, t3, n3, o2, a2, s2); + if (o2 > n3) return this._addItemDiffResult(e3, i3, c.DiffType.minValueIsGreaterThan, u.DiffResult.moreRestrictive, t3, n3, o2, a2, s2); + } else { + if (o2 > n3) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsGreaterThan, u.DiffResult.lessRestrictive, t3, n3, o2, a2, s2); + if (o2 < n3) return this._addItemDiffResult(e3, i3, c.DiffType.maxValueIsLessThan, u.DiffResult.moreRestrictive, t3, n3, o2, a2, s2); + } + return true; } - _getPossibleErrors() { - return this.parentFlow.isWorkitemFlow ? d.setUtilizationLabelFailureReasonsWithWorkitem : c.setUtilizationLabelFailureReasons; + _getDataTypeDefDiffs(e3, t3) { + const i3 = e3.diffResult.diffSettings; + 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, o2 = t3.propertiesMap, r2 = Object.keys(n3).length, a2 = Object.keys(o2).length; + if (r2 > a2) { + if (!this._addItemDiffResult(e3, "", c.DiffType.removed, u.DiffResult.moreRestrictive, l.DiffItem.propertyCount, r2, a2)) return false; + } else if (r2 < a2 && !this._addItemDiffResult(e3, "", c.DiffType.addition, u.DiffResult.lessRestrictive, l.DiffItem.propertyCount, r2, a2)) return false; + const s2 = {}; + let d2 = 0; + for (const [t4, i4] of Object.entries(n3)) { + s2[t4] = true, d2++; + const n4 = o2[t4]; + 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 (d2 < a2) { + for (const t4 of Object.keys(o2)) if (!s2[t4] && !this._addItemDiffResult(e3, t4, c.DiffType.addition, u.DiffResult.lessRestrictive, l.DiffItem.property, void 0, void 0)) return false; + } + return true; } - } - 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 }); + _compareEnumFacets(e3, t3, i3, n3, o2) { + if (void 0 === n3) return void 0 === o2 || this._addItemDiffResult(e3, i3, c.DiffType.valueNowDefined, u.DiffResult.lessRestrictive, t3, n3, o2); + if (void 0 === o2) return this._addItemDiffResult(e3, i3, c.DiffType.valueNoLongerDefined, u.DiffResult.moreRestrictive, t3, n3, o2); + if (n3.length > o2.length) return this._addItemDiffResult(e3, i3, c.DiffType.removed, u.DiffResult.moreRestrictive, t3, n3, o2); + if (n3.length < o2.length) return this._addItemDiffResult(e3, i3, c.DiffType.addition, u.DiffResult.lessRestrictive, t3, n3, o2); + for (let r2 = 0; r2 < n3.length; r2++) if (!o2.includes(n3[r2])) return this._addItemDiffResult(e3, i3, c.DiffType.removed, u.DiffResult.moreRestrictive, t3, n3, o2); + } + compareToAndGetDiffs(e3, t3) { + if (!e3) { + const t4 = new a.default(this, e3, void 0); + return t4.setNotComparableTo(), t4; } - }) }); - }; - 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; - } - }, 64410: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.digitalBotFlowListManager = t2.DigitalBotFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(6109), o = i2(96618), a = i2(27862); - class s extends r2.FlowListManager { - get dependencyType() { - return a.DigitalBotFlow; + const i3 = { diffResult: new a.default(this, e3, t3 || { diffIds: true, diffDataTypeIds: true, shortCircuitOnFirstMoreRestrictiveDiff: true }), currentPath: ["#"] }; + return this._getDataTypeDefDiffs(i3, e3), i3.diffResult; } - constructor() { - super(), this.topic = n2.getTopic("DigitalBotFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeDigitalBot }, this.className = "DigitalBotFlowListManager", this.flowType = o.flowTypes.flowTypeDigitalBot, this._rawServerCache = {}, this._initialize(); + getExpressionTypeForFlow(e3) { + if (!e3) return; + const t3 = d.default.getTypeGroup(e3); + return t3 ? t3.getType(this.id, this.isCollection) : void 0; } } - 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), 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 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); - }), 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) => { + t2.default = g; + }, 65498(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)), c = i2(81801), d = i2(47957), p = i2(55892), _ = i2(27862); - class h extends u.default { - get requiredAuth() { - return c.externalAuthorizations.authStrings.integrationView; + Object.defineProperty(t2, "__esModule", { value: true }), t2.DataTypeDiffOverallResult = void 0; + const n2 = i2(31635).__importStar(i2(13140)); + var o; + !(function(e3) { + e3.doesNotMatch = "doesNotMatch", e3.exactMatch = "exactMatch", e3.lessRestrictive = "lessRestrictive", e3.moreRestrictive = "moreRestrictive", e3.notComparable = "notComparable"; + })(o || (t2.DataTypeDiffOverallResult = o = {})), t2.default = class { + constructor(e3, t3, i3) { + this._overallResult = o.exactMatch, this._individualDiffs = [], this.srcDataTypeDefViewModel = e3, this.comparedToDataTypeDefViewModel = t3, this.diffSettings = i3; } - get dependencyType() { - return _.AudioConnectorBot; + get overallResult() { + return this._overallResult; } - 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 = d.actions.callAudioConnector, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.shouldRequestAllPages = true, this.defaultPageSize = 100, this.uiMetadataSectionName = "audioConnector", this._initialize(); + setNotComparableTo() { + this._overallResult = o.notComparable; } - _createItemViewModel(e3) { - return new s.default(e3); + addComparedToHasAdditionalProperty(e3, t3) { + const i3 = n2.default.createComparedToHasAdditionalPropertyDiff(e3, t3); + return this._individualDiffs.push(i3), i3; } - get _networkModel() { - return p; + getComparedToAdditionalProperties() { + return this._individualDiffs.filter((e3) => e3.isComparedToAdditionalProperty); } - } - t2.AudioConnectorManager = h, t2.audioConnectorManager = new h(); - }, 64472: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeDateTimeOptions = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(65615), a = i2(55909), s = i2(33951); - class l extends o.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get individualDiffs() { + return this._individualDiffs; } - constructor(e3) { - super(e3), this._timeOnly = false, (0, r2.makeUnenumerable)(this, "_timeOnly"); + addDiff(e3) { + switch (this._individualDiffs.push(e3), e3.diffResult) { + case n2.DiffResult.doesNotMatch: + this._overallResult = o.doesNotMatch; + break; + case n2.DiffResult.moreRestrictive: + this.overallResult === o.doesNotMatch || (this._overallResult = o.moreRestrictive); + break; + case n2.DiffResult.lessRestrictive: + switch (this.overallResult) { + case o.moreRestrictive: + case o.doesNotMatch: + break; + default: + this._overallResult = o.lessRestrictive; + } + } } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setTimeOnly, e3.timeOnly); + isDiffResultEqualTo() { + return this.overallResult === o.exactMatch; } - get isExpressionTypeDateTimeOptions() { - return true; + isDiffResultLessRestrictiveThan() { + return this.overallResult === o.lessRestrictive; } - get className() { - return "ExpressionTypeDateTimeOptions"; + isDiffResultEqualToOrLessRestrictiveThan() { + return this.isDiffResultEqualTo() || this.isDiffResultLessRestrictiveThan(); } - get timeOnly() { - return this._timeOnly; + isDiffResultMoreRestrictiveThan() { + return this.overallResult !== o.exactMatch && this.overallResult !== o.lessRestrictive; } - set timeOnly(e3) { - this._timeOnly = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "timeOnly", "value")); + isDiffResultEqualToOrMoreRestrictiveThan() { + return this.isDiffResultEqualTo() || this.isDiffResultMoreRestrictiveThan(); } - setTimeOnly(e3) { - return this.timeOnly = e3, this; + }; + }, 13140(e2, t2) { + "use strict"; + var i2, n2, o; + Object.defineProperty(t2, "__esModule", { value: true }), t2.DiffType = t2.DiffItem = t2.DiffResult = void 0, (function(e3) { + e3.doesNotMatch = "doesNotMatch", e3.lessRestrictive = "lessRestrictive", e3.moreRestrictive = "moreRestrictive"; + })(i2 || (t2.DiffResult = i2 = {})), (function(e3) { + e3.property = "property", e3.propertyCount = "propertyCount"; + })(n2 || (t2.DiffItem = n2 = {})), (function(e3) { + e3.addition = "addition", e3.isNotEqual = "isNotEqual", e3.maxValueIsGreaterThan = "maxValueIsGreaterThan", e3.maxValueIsLessThan = "maxValueIsLessThan", e3.maxValueIsLessThanInclusive = "maxValueIsLessThanInclusive", e3.maxValueIsGreaterThanInclusive = "maxValueIsGreaterThanInclusive", e3.minValueIsGreaterThan = "minValueIsGreaterThan", e3.minValueIsGreaterThanInclusive = "minValueIsGreaterThanInclusive", e3.minValueIsLessThan = "minValueIsLessThan", e3.minValueIsLessThanInclusive = "minValueIsLessThanInclusive", e3.removed = "removed", e3.valueNowDefined = "valueNowDefined", e3.valueNoLongerDefined = "valueNoLongerDefined"; + })(o || (t2.DiffType = o = {})); + class r { + constructor(e3, t3, i3, n3, o2, r2, a, s, l) { + this.diffResult = t3, this.diffType = i3, this.diffItem = n3, this.itemName = o2, this.itemValue = r2, this.itemValueIsInclusive = a, this.otherValue = s, this.otherValueIsInclusive = l, this.path = e3; + } + static createComparedToHasAdditionalPropertyDiff(e3, t3) { + return new r(t3, i2.lessRestrictive, o.addition, n2.property, e3); + } + get propertyName() { + if (this.diffItem === n2.property) return this.itemName; + } + get isComparedToAdditionalProperty() { + return this.diffItem === n2.propertyCount && this.diffType === o.addition; } } - t2.ExpressionTypeDateTimeOptions = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "timeOnly", null); - }, 64499: (e2, t2, i2) => { + t2.default = r; + }, 79519(e2, t2) { "use strict"; - 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 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), 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 } }); - } - }, 64576: (e2, t2, i2) => { + var i2, n2, o, r, a, s; + 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.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"; + })(o || (t2.JsonSchemaUsage = o = {})), (function(e3) { + e3.failureBadComparison = "failureBadComparison", e3.failureGeneric = "failureGeneric", e3.failureDefinitionNameNotFound = "failureDefinitionNameNotFound", e3.failureMappedDataTypeUnavailableToFlowType = "failureMappedDataTypeUnavailableToFlowType", e3.failureNoSchema = "failureNoSchema", e3.failureUnableToDetermineIdentifierSuffix = "failureUnableToDetermineIdentifierSuffix", e3.failureUnableToDetermineRootType = "failureUnableToDetermineRootType", e3.failureUnableToMapSchemaPropertyToDataType = "failureUnableToMapSchemaPropertyToDataType", e3.failureUnsupportedDssSchemaVersion = "failureUnsupportedDssSchemaVersion"; + })(r || (t2.JsonSchemaProcessingFailure = r = {})), (function(e3) { + e3.warningGeneric = "warningGeneric", e3.warningNoProperties = "warningNoProperties"; + })(a || (t2.JsonSchemaProcessingWarning = a = {})), (function(e3) { + e3.aiGuide = "aiGuide"; + })(s || (t2.SchemaSource = s = {})); + }, 99006(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, o2) { + 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 = o2; } - get _globalTypeName() { - return "shippingOption"; + get rawJsonSchema() { + return this._rawJsonSchema; } - get displayTypeName() { - return "ArchValueShippingOption"; + get title() { + var e3; + return null === (e3 = this._rawJsonSchema) || void 0 === e3 ? void 0 : e3.title; } - get isArchValueShippingOption() { - return true; + get displayName() { + return this._displayName; } - get label() { - return this._getAssignableProperty("label"); + get hasSchema() { + return o.default.isObject(this._rawJsonSchema) && !o.default.isEmpty(this.rawJsonSchema); } - get identifier() { - return this._getAssignableProperty("identifier"); + get schemaHasProperties() { + var e3, t3; + return o.default.isObject(null === (e3 = this._rawJsonSchema) || void 0 === e3 ? void 0 : e3.properties) && !o.default.isEmpty(null === (t3 = this.rawJsonSchema) || void 0 === t3 ? void 0 : t3.properties); } - get shippingDetails() { - return this._getAssignableProperty("shippingDetails"); + get definitions() { + var e3, t3; + return o.default.isObject(null === (e3 = this._rawJsonSchema) || void 0 === e3 ? void 0 : e3.definitions) ? this._rawJsonSchema.definitions : o.default.isObject(null === (t3 = this._rawJsonSchema) || void 0 === t3 ? void 0 : t3.$defs) ? this._rawJsonSchema.$defs : void 0; } - get price() { - return this._getAssignableProperty("price"); + get isJsonSchemaWrapper() { + return true; + } + get isErrorSchema() { + return (this._schemaUsage | d.JsonSchemaUsage.error) !== d.JsonSchemaUsage.none; } - setLiteralShippingOption(e3, t3, i3, n3, r3) { - this.label.setLiteralString(e3), this.identifier.setLiteralString(t3), this.price.setLiteralAmountAndCode(i3, r3), this.shippingDetails.setLiteralString(n3); + get isInputSchema() { + return (this._schemaUsage | d.JsonSchemaUsage.input) !== d.JsonSchemaUsage.none; } - } - t2.default = r2; - }, 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"), 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 } }); + get isOutputSchema() { + return (this._schemaUsage | d.JsonSchemaUsage.output) !== d.JsonSchemaUsage.none; } - static get NO_CRITERIA() { - return d.__NO_CRITERIA__; + get schemaSource() { + return this._schemaSource; } - static createForLanguageTag(e3) { - return new d().setLanguageTag(e3); + get baseJsonSchemaIdFull() { + return this._baseJsonSchemaIdFull; } - static createForLanguageTagAndOutputMode(e3, t3) { - return new d().setLanguageTag(e3).setOutputMode(t3); + get baseJsonSchemaIdNoNamespace() { + return this._baseJsonSchemaIdNoNamespace; } - static createForOutputMode(e3) { - return new d().setOutputMode(e3); + get trustArchitectTypeHints() { + return this.schemaSource === l.CustomJsonNamespace.architectFlow; } - static createFromBuilderPartContainerCriteria(e3) { - return new d().setFromJsonObject(e3.json); + get trustGCTypeHints() { + switch (this.schemaSource) { + case l.CustomJsonNamespace.conversationAttribute: + case l.CustomJsonNamespace.decisionTable: + case l.CustomJsonNamespace.externalContact: + case l.CustomJsonNamespace.structuredParticipantData: + case l.CustomJsonNamespace.worktype: + return true; + default: + return false; + } } - static createFromJsonObject(e3) { - return new d().setFromJsonObject(e3); + setProcessingFailure(e3, t3, i3, n3) { + var o2, r2; + e3.failure = { hierarchy: null === (o2 = e3.jsonSchemaPropertyHierarchy) || void 0 === o2 ? void 0 : o2.concat(), hierarchyStr: null === (r2 = e3.jsonSchemaPropertyHierarchy) || void 0 === r2 ? void 0 : r2.join("/"), code: t3, displayStr: i3, logStr: n3 }; } - _resetCriteriaPieces() { - this.setLanguageTag(void 0), this.setOutputMode(void 0), this._sortValue = void 0; + setProcessingWarning(e3, t3, i3, n3) { + var o2, r2; + e3.warning = { hierarchy: null === (o2 = e3.jsonSchemaPropertyHierarchy) || void 0 === o2 ? void 0 : o2.concat(), hierarchyStr: null === (r2 = e3.jsonSchemaPropertyHierarchy) || void 0 === r2 ? void 0 : r2.join("/"), code: t3, displayStr: i3, logStr: n3 }; } - get className() { - return "BuilderPartContainerCriteriaViewModel"; + get dynamicSchemaServiceSchemaVersion() { + var e3; + if (this.trustGCTypeHints) return o.default.isActualNumber(null === (e3 = this.rawJsonSchema) || void 0 === e3 ? void 0 : e3.version) ? this.rawJsonSchema.version : 1; } - setFromJsonObject(e3) { - return this._resetCriteriaPieces(), r2.default.isObject(e3) ? this.setLanguageTag(e3.languageTag).setOutputMode(e3.outputMode) : this; + checkParsedReturnType(e3, t3, i3, n3, o2) { + const a2 = n3.getType(i3.dataTypeId, i3.isCollection); + if (a2) { + if (null == t3 ? void 0 : t3.isCommonModuleFlow) { + if (!t3.destinationFlowTypes.find((e4) => !a2.isAvailableForFlowType(e4))) return i3; + } else if (!t3 || a2.isAvailableForFlowType(t3.type)) return i3; + this.setProcessingFailure(e3, u.JsonSchemaProcessingFailure.failureMappedDataTypeUnavailableToFlowType, (0, r.sprintf)(_.jsonSchemaProcessing.schemaTypeMapsToUnavailableDataType, o2, i3.dataTypeId, i3.isCollection, a2.displayString, t3.flowTypeDisplayName)); + } else this.setProcessingFailure(e3, u.JsonSchemaProcessingFailure.failureUnableToMapSchemaPropertyToDataType, (0, r.sprintf)(_.jsonSchemaProcessing.schemaUnableToMapPropertyToType, o2, i3.dataTypeId, i3.isCollection)); } - getGeneration(e3) { - if (this === d.__NO_CRITERIA__) return new o.default(); - const t3 = []; - let i3; - if (this._json.languageTag) { - const n3 = e3.parentFlow.variableGroup.getVariable("__INTERACTION_LANGUAGE__"); - i3 = s.createGeneration(), i3.setReplacementTokens([n3.name, `"${this._json.languageTag}"`]), t3.push(i3); - } - 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 = c.createGeneration(); - return e4.addGenerationToBucket(t3[0], "condition"), e4; + processDataTypeDefinitionsForSchema(e3, t3, i3, n3, l2, d2, p2, g2, T2) { + var y, S, A; + if (l2 && !e3.failure) try { + e3.jsonSchemaPropertyHierarchy.push(i3); + 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 (o.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); } - case 2: { - const e4 = c.createGeneration(), i4 = u.createGeneration(); - return i4.setReplacementTokens([t3[0].generate(), t3[1].generate()]), e4.addGenerationToBucket(i4, "condition"), e4; + 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); } - default: { - const i4 = { generationCount: t3.length, builderPartContainerDefId: e3.builderPartDefId, builderDefId: e3.builderViewModel.builderDefId }; - throw `Builder container part criteria unable to generate "If" expression generation. Info: ${JSON.stringify(i4)}`; + if (o.default.isArray(l2.allOf) && l2.allOf.length) { + 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 (o.default.isArray(l2.oneOf) && l2.oneOf.length) { + 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 I = l2.$ref; + if (o.default.isString(I) && (I.startsWith("#/definitions/") || I.startsWith(f))) { + const i4 = I.startsWith(f) ? I.slice(8) : I.slice(14), n4 = o.default.isObject(this.definitions) ? this.definitions[i4] : void 0; + if (!n4) return void this.setProcessingFailure(e3, u.JsonSchemaProcessingFailure.failureDefinitionNameNotFound, (0, r.sprintf)(_.jsonSchemaProcessing.schemaReferenceNotFound, i4)); + const a2 = this.processDataTypeDefinitionsForSchema(e3, t3, ` >> $ref >> ${I}`, i4, n4, d2, p2, true, I); + return a2 && (v.dataTypeId = a2.dataTypeId, v.isCollection = v.isCollection || a2.isCollection), v; + } + if (!v.dataTypeId) { + switch (l2.type) { + case "boolean": + v.dataTypeId = m.expressionTypeNames.boolean; + break; + case "number": + v.dataTypeId = m.expressionTypeNames.decimal; + break; + case "string": + v.dataTypeId = m.expressionTypeNames.string; + break; + case "integer": + v.dataTypeId = (null === (y = e3.settings) || void 0 === y ? void 0 : y.convertGCTypesToArchitectTypes) ? m.expressionTypeNames.integer : m.expressionTypeNames.decimal; + break; + case "array": + 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 (v.dataTypeId) return this.checkParsedReturnType(e3, t3, v, d2, i3); + } + const C = this._getDataTypeDefViewModelForObject(l2, e3, t3, i3, n3, d2, p2); + if (C) return C; + let O = h.createCustomJsonExpressionDataTypeStr(this.schemaSource, this.baseJsonSchemaIdNoNamespace); + if ("object" === l2.type) { + let e4 = null === (A = l2.title) || void 0 === A ? void 0 : A.replace(/ /g, "_SPACE_"); + e4 = e4 || n3, O += `_${e4}`; } + return v.dataTypeId = O, v.id = O, v.name = n3.length > 0 ? n3 : this.displayName, !!e3.customDataTypeDefs[O] || (a.info(`Creating a new JSON expression data type with name '${n3}' (id: '${O}').`), v.name = n3, v.additionalProperties = false !== l2.additionalProperties, (null == l2 ? void 0 : l2.properties) ? o.default.each(null == l2 ? void 0 : l2.properties, (i4, n4) => { + var o2; + if (e3.failure) return; + a.info(`Processing JSON schema property '${n4}'.`); + const r2 = i4.title || "", s2 = i4.description || "", u2 = this.processDataTypeDefinitionsForSchema(e3, t3, `properties/${n4}`, `${p2} ${n4}`, i4, d2, p2, g2); + u2.name = n4, u2.id = n4, r2 && (u2.title = r2), u2.description = s2, u2.isRequired = null === (o2 = l2.required) || void 0 === o2 ? void 0 : o2.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(); } } - hasLanguageTag(e3) { - return this._json.languageTag === (e3 ? e3.toLowerCase() : e3); + createDataTypeDefViewModelsForJsonSchema(e3, t3, i3) { + var n3; + const o2 = { customDataTypeDefs: {}, jsonSchemaPropertyHierarchy: [], rootDataTypeDefId: void 0, settings: i3 || { convertGCTypesToArchitectTypes: true } }; + let r2; + if (o2.settings.convertGCTypesToArchitectTypes && !e3 && this.setProcessingWarning(o2, c.JsonSchemaProcessingWarning.warningGeneric, "processing will be performed in a flow agnostic manner."), (null == this ? void 0 : this.hasSchema) || this.setProcessingFailure(o2, u.JsonSchemaProcessingFailure.failureNoSchema, _.jsonSchemaProcessing.noSchemaToProcess), !o2.failure) { + let e4; + e4 = t3 ? "" : this.title, void 0 === e4 ? (o2.jsonSchemaPropertyHierarchy = ["#"], this.setProcessingFailure(o2, u.JsonSchemaProcessingFailure.failureUnableToDetermineIdentifierSuffix, _.jsonSchemaProcessing.schemaHasNoName)) : r2 = e4, this.schemaSource !== l.CustomJsonNamespace.decisionTable && this.schemaSource !== l.CustomJsonNamespace.conversationAttribute || (r2 = this.displayName); + } + try { + const t4 = g.default.getTypeGroup(e3); + o2.rootDataTypeDefId = null === (n3 = this.processDataTypeDefinitionsForSchema(o2, e3, "#", r2, this.rawJsonSchema, t4, r2, false)) || void 0 === n3 ? void 0 : n3.dataTypeId, o2.rootDataTypeDefId || o2.failure || this.setProcessingFailure(o2, u.JsonSchemaProcessingFailure.failureUnableToDetermineRootType, _.jsonSchemaProcessing.schemaUnableToDetermineRootType); + } catch (e4) { + T.exception(e4, "Exception caught processing a JSON schema with the JSON schema wrapper."), o2.failure || this.setProcessingFailure(o2, u.JsonSchemaProcessingFailure.failureGeneric, _.jsonSchemaProcessing.schemaUnableToProcess); + } + return delete o2.jsonSchemaPropertyHierarchy, o2; } - hasOutputMode(e3) { - return this._json.outputMode === (e3 ? e3.toLowerCase() : e3); + checkCanBeUsedInArchitect(e3) { + return { processingResult: this.createDataTypeDefViewModelsForJsonSchema(e3) }; } - get json() { - return this._json; + _getExpressionTypeForJsonSchemaDatetimeType(e3) { + return e3 ? m.expressionTypeNames.dateTime : m.expressionTypeNames.string; } - isEqualTo(e3) { - return r2.default.isObject(e3) && this._json.languageTag === e3.languageTag && this._json.outputMode === e3.outputMode; + _getExpressionTypeForJsonSchemaDateType(e3, t3, i3) { + return e3 ? t3.getType(m.expressionTypeNames.date).isAvailableForFlowType(i3) ? m.expressionTypeNames.date : m.expressionTypeNames.dateTime : m.expressionTypeNames.string; } - get languageTag() { - return this._json.languageTag; + _getDataTypeDefViewModelForObject(e3, t3, i3, n3, o2, r2, s2) { + const l2 = this._getFirstPropertyNameIfOnlyOneProperty(e3); + 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 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; + 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 '${c2}'. Property name '${e4}' in path does not reference an object.`); + p2 = t4; + } + const _2 = this.processDataTypeDefinitionsForSchema(t3, i3, `${n3}/${l2}`, `${o2}_${l2}`, p2, r2, s2, true, c2); + if (_2) return this.checkParsedReturnType(t3, i3, _2, r2, n3); + a.warn(`Failed to resolve data type for referenced type '#/definitions/${d2.join("/")}'`); } - get outputMode() { - return this._json.outputMode; + _getFirstPropertyNameIfOnlyOneProperty(e3) { + const t3 = Object.keys(e3.properties); + if (e3 && "object" === e3.type && e3.properties && "object" == typeof e3.properties && 1 === t3.length && this.trustGCTypeHints) return t3[0]; } - setLanguageTag(e3) { - return this._json.languageTag = r2.default.isString(e3) ? e3.toLowerCase() : e3, this._sortValue = void 0, this; + _extractDssRefPathValue(e3) { + 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; } - setOutputMode(e3) { - return this._json.outputMode = r2.default.isString(e3) ? e3.toLowerCase() : e3, this._sortValue = void 0, this; + _getTypeDefinitionForDssRef(e3, t3, i3, n3, o2) { + var s2, l2, c2; + if (1 !== o2 && 2 !== o2 && 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, r.sprintf)(_.jsonSchemaProcessing.schemaUnsupportedDssSchemaVersion, this.dynamicSchemaServiceSchemaVersion)); + switch (e3) { + case "#/definitions/checkbox": + return { dataTypeId: m.expressionTypeNames.boolean }; + case "#/definitions/currency": + return { dataTypeId: m.expressionTypeNames.currency }; + case "#/definitions/date": + return { dataTypeId: this._getExpressionTypeForJsonSchemaDateType(null === (s2 = t3.settings) || void 0 === s2 ? void 0 : s2.convertGCTypesToArchitectTypes, i3, null == n3 ? void 0 : n3.type) }; + case "#/definitions/datetime": + return { dataTypeId: this._getExpressionTypeForJsonSchemaDatetimeType(null === (l2 = t3.settings) || void 0 === l2 ? void 0 : l2.convertGCTypesToArchitectTypes) }; + case "#/definitions/enum": + case "#/definitions/identifier": + case "#/definitions/longtext": + case "#/definitions/text": + case "#/definitions/url": + return { dataTypeId: m.expressionTypeNames.string }; + case "#/definitions/integer": + 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": + case "#/definitions/stringList": + case "#/definitions/list": + return { dataTypeId: m.expressionTypeNames.string, isCollection: true }; + case "#/definitions/queue": + return { dataTypeId: m.expressionTypeNames.queue }; + default: + return e3 || a.warn("Unrecognized DSS type definition encountered", { refDefinition: e3, message: "Attempted to process DSS type based on schema ref but found no matching case. Is this a new type that needs to be handled?", context: { processingInfo: t3, expressionTypeGroup: i3, parentFlowType: null == n3 ? void 0 : n3.type } }), { dataTypeId: void 0 }; + } } - get sortValue() { - return r2.default.isUndefined(this._sortValue) && (this._sortValue = `0${this._json.languageTag ? "0" : "1"}${this._json.outputMode ? "0" : "1"}${this._json.languageTag ? this._json.languageTag : "__none-lang__"}/${this._json.outputMode ? this._json.outputMode : "__none-outputMode__"}`), this._sortValue; + }; + }, 47040(e2, t2, i2) { + "use strict"; + t2.getReferencedCustomTypeIds = r, t2.expandCustomDataTypeIdsWithPropertyReferences = function(e3, t3) { + let i3 = true; + for (; i3; ) { + i3 = false; + for (const n3 of e3) { + const o2 = t3(n3); + if (o2) for (const t4 of r(o2)) e3.has(t4) || (e3.add(t4), i3 = true); + } } - destroy() { - this._languageVarName = void 0, this._resetCriteriaPieces(); + }; + const n2 = i2(66314), o = i2(89917); + function r(e3) { + const t3 = [], i3 = /* @__PURE__ */ new Set(); + for (const r2 of e3.propertiesSnapshot) { + const e4 = r2.dataTypeId; + if (!e4 || !(0, n2.isCustomJsonExpressionDataType)(e4)) continue; + const a = o.CustomJsonIdentifierInfo.create(e4).dataTypeStr; + i3.has(a) || (i3.add(a), t3.push(a)); } + return t3; } - d.__NO_CRITERIA__ = new d(), t2.default = d; - }, 64599: (e2, t2, i2) => { + }, 37647(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseFindSystemObjectsByIdActionModel = void 0; - const n2 = i2(31635), r2 = i2(7340), o = i2(80295), a = i2(80295), s = i2(7401); - class l extends r2.BaseFindSystemObjectActionModel { - constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_findIds"); + var i2; + t2.KnowledgeAnswerContentType = void 0, (function(e3) { + e3.standard = "standard", e3.highlight = "highlight", e3.generative = "generative"; + })(i2 || (t2.KnowledgeAnswerContentType = i2 = {})); + }, 14240(e2, t2) { + "use strict"; + var i2; + t2.KnowledgeMode = void 0, (function(e3) { + e3.statement = "statement", e3.task = "task"; + })(i2 || (t2.KnowledgeMode = i2 = {})); + }, 56872(e2, t2, i2) { + "use strict"; + t2.KnowledgeSettingsModeValues = t2.KnowledgeSettingsMode = void 0; + const n2 = i2(47957); + var o; + !(function(e3) { + e3.standard = "standard", e3.custom = "custom"; + })(o || (t2.KnowledgeSettingsMode = o = {})), t2.KnowledgeSettingsModeValues = { [o.standard]: { id: "standard", displayString: n2.knowledgeSettings.knowledgeSettingsModes.standard, description: n2.knowledgeSettings.knowledgeSettingsModes.standardDescription }, [o.custom]: { id: "custom", displayString: n2.knowledgeSettings.knowledgeSettingsModes.custom, description: n2.knowledgeSettings.knowledgeSettingsModes.customDescription } }; + }, 38551(e2, t2) { + "use strict"; + var i2; + t2.KnowledgeVersionValues = void 0, (function(e3) { + e3.v2 = "v2", e3.v3 = "v3"; + })(i2 || (t2.KnowledgeVersionValues = i2 = {})); + }, 82632(e2, t2, i2) { + "use strict"; + t2.transferToAcd = t2.updateExternalContact = t2.conversationAttributeLimits = t2.setSkillExpressionFilters = t2.richLink = t2.abortSend = t2.askForAuthentication = t2.evaluateSkillExpressionFilters = t2.collectInput = t2.askForPaymentLimits = t2.interactiveApplicationLimits = t2.findLimits = t2.switchActionCaseLimits = t2.voiceSurveyLimits = t2.sipHeaderNamesLimits = t2.emailHeaderNamesLimits = t2.sendAutoReplyAction = t2.sendResponseAction = t2.responseAssetLimits = t2.propertyLimits = t2.promptLimits = t2.imageLimits = t2.flowSizeLimits = t2.qU = t2.flowLimits = t2.grammarLimits = t2.botFlowUserInputSettings = t2.dataTypeLimits = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(73198)), r = n2.__importDefault(i2(77862)); + var a = i2(35648); + Object.defineProperty(t2, "dataTypeLimits", { enumerable: true, get: function() { + return n2.__importDefault(a).default; + } }), t2.botFlowUserInputSettings = { interDigitTimeout: { minDurationMs: o.default.msPerSecond, minDurationInclusive: true, maxDurationMs: 99 * o.default.msPerSecond, maxDurationInclusive: true }, speechToTextMaxSpeechTimeout: { minDurationMs: 0, minDurationInclusive: true, maxDurationMs: 60 * o.default.msPerSecond, maxDurationInclusive: true }, speechToTextSpeechDetectionSensitivity: { minSensitivity: 0, maxSensitivity: 1 }, noMatchesMax: { minValue: 0, minValueInclusive: true, maxValue: 20, maxValueInclusive: true }, noInputsMax: { minValue: 0, minValueInclusive: true, maxValue: 20, maxValueInclusive: true }, noInputsTimeout: { minDurationMs: 0, minDurationInclusive: true, maxDurationMs: 10 * o.default.msPerSecond, maxDurationInclusive: true }, noInputsDigitalTimeout: { minDurationMs: 10 * o.default.msPerSecond, minDurationInclusive: true, maxDurationMs: 3 * o.default.msPerDay, maxDurationInclusive: true }, confirmationRejectionsMax: { minValue: 0, minValueInclusive: true, maxValue: 20, maxValueInclusive: true }, collectionLowConfidenceThreshold: { minValue: 0, minValueInclusive: true, maxValue: 100, maxValueInclusive: true }, collectionHighConfidenceThreshold: { minValue: 0, minValueInclusive: true, maxValue: 100, maxValueInclusive: true }, confirmationLowConfidenceThreshold: { minValue: 0, minValueInclusive: true, maxValue: 100, maxValueInclusive: true } }, t2.grammarLimits = { name: { maxLength: 64 }, description: { maxLength: 500 }, gram: { maxSizeBytes: 25 * o.default.oneMegabyte }, grxml: { maxSizeBytes: o.default.oneMegabyte } }, t2.flowLimits = { name: { minLength: 1, maxLength: 200 }, description: { maxLength: 500 } }, t2.qU = { maxPubApiRequestSize: 6 * o.default.oneMegabyte }, t2.flowSizeLimits = { maxFlowSize: t2.qU.maxPubApiRequestSize, maxFlowSizeEmail: Math.round(t2.qU.maxPubApiRequestSize / 2), maxFlowSizeCommonModule: Math.round(t2.qU.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: r.default.entityType.maxListEntityItemValueStrLen }, multipleChoiceQuestions: { maxLength: r.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: { minDurationMs: 30 * o.default.msPerSecond, minDurationInclusive: true, maxDurationMs: 3 * o.default.msPerDay, maxDurationInclusive: 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 } }; + }, 78249(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.typeMap = t2.MISMATCH_TYPES = t2.MISMATCH_OUTPUT = t2.MISMATCH_NAME = t2.MISMATCH_INPUT = t2.MISMATCH_INCOMPATIBLE = t2.MISMATCH_DATA_TYPE = void 0, t2.MISMATCH_DATA_TYPE = "dataType", t2.MISMATCH_INCOMPATIBLE = "incompatible", t2.MISMATCH_INPUT = "input", t2.MISMATCH_NAME = "name", t2.MISMATCH_OUTPUT = "output", t2.MISMATCH_TYPES = [t2.MISMATCH_DATA_TYPE, t2.MISMATCH_INCOMPATIBLE, t2.MISMATCH_INPUT, t2.MISMATCH_NAME, t2.MISMATCH_OUTPUT], t2.typeMap = {}, t2.MISMATCH_TYPES.forEach((e3) => t2.typeMap[e3] = e3); + }, 51940(e2, t2, i2) { + "use strict"; + t2.ObjectMatchInfo = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(55299), a = i2(2800), s = n2.__importStar(i2(66381)), l = n2.__importStar(i2(78249)); + class u extends r.BaseClass { + constructor() { + super(), this._objectMismatchValues = []; } - get findIds() { - return this._findIds; + _addMismatchType(e3, t3, i3) { + this._objectMismatchValues.push(new a.ObjectValueMismatch(e3, t3, i3)); } - set findIds(e3) { - this._findIds = this.reviveItem(e3, s); + addCompareToIncompatible() { + this._addMismatchType(l.MISMATCH_INCOMPATIBLE); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._findIds.pasteReIdOrRename(e3); + addDataTypeMismatch(e3, t3) { + this._addMismatchType(l.MISMATCH_DATA_TYPE, e3, t3); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._findIds.pasteResolveOldToNewValues(e3); + addInputMismatch(e3, t3) { + this._addMismatchType(l.MISMATCH_INPUT, true === e3, true === t3); } - } - 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), 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 = m.flow.types.secureCall, this._loadModel(t3); + addNameMismatch(e3, t3) { + this._addMismatchType(l.MISMATCH_NAME, e3, t3); + } + addOutputMismatch(e3, t3, i3, n3) { + this._addMismatchType(l.MISMATCH_OUTPUT, true === i3, true === n3); + } + get compareObject() { + return this._compareObject; + } + get compareToObject() { + return this._compareToObject; } get className() { - return "FlowSecureTransferAction"; + return "MismatchInfo"; } - static get managedProperties() { - 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)) }]; + get mismatchDisplayString() { + const e3 = []; + return o.default.each(this._objectMismatchValues, (t3) => { + e3.push(t3.displayString); + }), s.getSentenceListDisplayString(e3); } - getDetails() { - return this.flowId ? new c.ActionDetails([m.flow.flow], [this.flowName]) : null; + get hasMismatches() { + return this._objectMismatchValues.length > 0; } - } - 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; - const n2 = i2(31635).__importDefault(i2(47532)), r2 = i2(81801), o = i2(40174), a = i2(82185); - class s extends n2.default { - constructor() { - super(...arguments), this._rawServerCache = {}, this.apiCallList = o.getCategories, this.apiCallSingle = void 0, this.noApiCallSingle = true, this.suppressSearch = true; + get isObjectMatchInfo() { + return true; } - get requiredAuth() { - return r2.externalAuthorizations.authStrings.integrationsActionView; + get mismatchValues() { + return this._objectMismatchValues; } - _createItemViewModel(e3) { - return new a(e3); + setComparisonObjects(e3, t3) { + this._compareObject = e3, this._compareToObject = t3; } } - t2.BaseIntegrationsActionCategoryManager = s; - }, 64720: (e2, t2, i2) => { + t2.ObjectMatchInfo = u; + }, 27716(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeImageOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } + t2.ObjectValueDisplay = void 0; + const n2 = i2(55299); + class o extends n2.BaseClass { constructor(e3) { - super(e3); + super(), this._object = e3; + } + _getDisplayString(e3) { + return null == e3 ? "" : e3.displayString ? e3.displayString : e3.label ? e3.label : e3.name ? e3.name : e3.toString(); } get className() { - return "ExpressionTypeImageOptions"; + return "ObjectValueDisplay"; } - get isExpressionTypeImageOptions() { + get object() { + return this._object; + } + get displayString() { + return this._getDisplayString(this._object); + } + get isObjectValueDisplay() { return true; } } - t2.ExpressionTypeImageOptions = r2; - }, 64751: (e2, t2, i2) => { + t2.ObjectValueDisplay = o; + }, 2800(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(43610), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.contactListManager); + t2.ObjectValueMismatch = void 0; + const n2 = i2(31635), o = i2(17604), r = i2(55299), a = i2(27716), s = n2.__importStar(i2(78249)), l = i2(47957), u = i2(24032).getTopic("ObjectValueMismatch"); + class c extends r.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; } - get _globalTypeName() { - return "contactList"; + get className() { + return "ObjectValueMismatch"; } - get displayTypeName() { - return "ArchValueContactList"; + get compareValue() { + return this._compareValue; } - get isArchValueContactList() { - return true; + get compareToValue() { + return this._compareToValue; } - setLiteralByContactListIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("contactListId", "setLiteralByContactListIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByContactListIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByContactListIdAsync", t3, this)); - }); + get displayString() { + switch (this._mismatchType) { + case s.MISMATCH_INPUT: + case s.MISMATCH_INCOMPATIBLE: + case s.MISMATCH_OUTPUT: + return l.objectValueMismatch[this._mismatchType]; + case s.MISMATCH_DATA_TYPE: + case s.MISMATCH_NAME: + return (0, o.sprintf)(l.objectValueMismatch[this._mismatchType], this.compareValue.displayString, this.compareToValue.displayString); + default: + return u.error(`Unsupported mismatch type of '${this._mismatchType}'. No display string available. Using fallback default.`), (0, o.sprintf)(l.objectValueMismatch.default, this.compareValue.displayString, this.compareToValue.displayString); + } } - setLiteralByContactListNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("contactListName", "setLiteralByContactListNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByContactListNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByContactListNameAsync", t3, this)); - }); + get isObjectValueMismatch() { + return true; + } + get mismatchType() { + return this._mismatchType; } } - t2.default = s; - }, 64772: function(e2, t2, i2) { + t2.ObjectValueMismatch = c; + }, 84041(e2, t2) { "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; - } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.AsyncAction = void 0; - var o = i2(71666), a = i2(8284), s = i2(54830), l = (function(e3) { - function t3(t4, i3) { - var n3 = e3.call(this, t4, i3) || this; - return n3.scheduler = t4, n3.work = i3, n3.pending = false, n3; - } - return r2(t3, e3), t3.prototype.schedule = function(e4, t4) { - var i3; - if (void 0 === t4 && (t4 = 0), this.closed) return this; - this.state = e4; - var n3 = this.id, r3 = this.scheduler; - return null != n3 && (this.id = this.recycleAsyncId(r3, n3, t4)), this.pending = true, this.delay = t4, this.id = null !== (i3 = this.id) && void 0 !== i3 ? i3 : this.requestAsyncId(r3, this.id, t4), this; - }, t3.prototype.requestAsyncId = function(e4, t4, i3) { - return void 0 === i3 && (i3 = 0), a.intervalProvider.setInterval(e4.flush.bind(e4, this), i3); - }, t3.prototype.recycleAsyncId = function(e4, t4, i3) { - if (void 0 === i3 && (i3 = 0), null != i3 && this.delay === i3 && false === this.pending) return t4; - null != t4 && a.intervalProvider.clearInterval(t4); - }, t3.prototype.execute = function(e4, t4) { - if (this.closed) return new Error("executing a cancelled action"); - this.pending = false; - var i3 = this._execute(e4, t4); - if (i3) return i3; - false === this.pending && null != this.id && (this.id = this.recycleAsyncId(this.scheduler, this.id, null)); - }, t3.prototype._execute = function(e4, t4) { - var i3, n3 = false; - try { - this.work(e4); - } catch (e5) { - n3 = true, i3 = e5 || new Error("Scheduled action threw falsy error"); - } - if (n3) return this.unsubscribe(), i3; - }, t3.prototype.unsubscribe = function() { - if (!this.closed) { - var t4 = this.id, i3 = this.scheduler, n3 = i3.actions; - this.work = this.state = this.scheduler = null, this.pending = false, s.arrRemove(n3, this), null != t4 && (this.id = this.recycleAsyncId(i3, t4, null)), this.delay = null, e3.prototype.unsubscribe.call(this); - } - }, t3; - })(o.Action); - t2.AsyncAction = l; - }, 64792: (e2, t2, i2) => { + var i2; + t2.NluUpdateType = void 0, (function(e3) { + e3.nluUpdated = "nluUpdated", e3.dynamicSlotTypes = "dynamicSlotTypes", e3.taskUpdate = "taskUpdate"; + })(i2 || (t2.NluUpdateType = i2 = {})); + }, 44392(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.templates = t2.nluVersionIds = void 0, t2.checkIsoLanguageIsSupportedByTemplate = a, t2.getBlankTemplate = function() { + return this.getTemplateByNluVersionId(t2.nluVersionIds.blankBot); + }, t2.getTemplateByNluVersionId = function(e3) { + return n2.default.find(t2.templates, (t3) => t3.id === e3); + }, t2.getTemplatesForIsoLanguage = function(e3) { + return n2.default.filter(t2.templates, (t3) => !t3.templateObject || a(e3, t3.templateObject)); + }; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(47957); + function r(e3) { + const t3 = e3.indexOf("-"); + return (-1 === t3 ? e3 : e3.substring(0, t3)).toLowerCase(); + } + function a(e3, t3) { + return !!(t3 && n2.default.isString(e3) && n2.default.isString(t3.language)) && (e3 === t3.language || r(e3) === r(t3.language)); + } + t2.nluVersionIds = { bankingBot: "__BANKING_BOT__", blankBot: "__BLANK_BOT__" }, t2.templates = [{ name: o.botFlowNluTemplates.bankBotNluTemplateName, description: o.botFlowNluTemplates.bankBotNluTemplateDescription, id: t2.nluVersionIds.bankingBot, templateObject: { language: "en", description: "Created from a bot flow template", intents: [{ utterances: [{ segments: [{ text: "My account number is " }, { text: "87654321", entity: { name: "AccountNumber" } }, { text: ", what's the balance?" }] }, { segments: [{ text: "Tell me what the balance of my account is" }] }, { segments: [{ text: "Check account balance" }] }, { segments: [{ text: "Balance enquiry" }] }, { segments: [{ text: "What's the balance on account " }, { text: "12345678", entity: { name: "AccountNumber" } }, { text: "?" }] }, { segments: [{ text: "I want to check my account balance" }] }], entityNameReferences: ["AccountNumber"], name: "Check Account Balance" }, { utterances: [{ segments: [{ text: "I want to find my local branch please" }] }, { segments: [{ text: "What's the closest branch to " }, { text: "90210", entity: { name: "ZipCode" } }, { text: "?" }] }, { segments: [{ text: "Where's my nearest branch?" }] }], entityNameReferences: ["ZipCode"], name: "Find a Branch" }], entityTypes: [{ name: "AccountNumberType", description: 'The description of the Entity Type "AccountNumberType"', mechanism: { type: "Regex", restricted: true, items: [{ value: "\\b[0-9]{8}\\b", synonyms: [] }] } }, { name: "ZipCodeType", description: 'The description of the Entity Type "ZipCodeType"', mechanism: { type: "Regex", restricted: true, items: [{ value: "\\b[0-9]{5}\\b", synonyms: [] }] } }], entities: [{ name: "AccountNumber", type: "AccountNumberType" }, { name: "ZipCode", type: "ZipCodeType" }] } }, { name: o.botFlowNluTemplates.blankBotNluTemplateName, description: o.botFlowNluTemplates.blankBotNluTemplateDescription, id: t2.nluVersionIds.blankBot, templateObject: null }]; + }, 24237(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.all = t2.address = t2.phone = t2.name = t2.email = void 0; + const n2 = i2(47957); + t2.email = { displayString: n2.actions.email, id: "email" }, t2.name = { displayString: n2.generic.name, id: "name" }, t2.phone = { displayString: n2.askForPayment.askForPaymentContactInformationPhone, id: "phone" }, t2.address = { displayString: n2.cardsAndCars.timePickerType.addressPlaceHolder, id: "address" }, t2.all = [t2.email, t2.name, t2.phone, t2.address]; + }, 30065(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.all = t2.applePay = void 0; + const n2 = i2(47957); + t2.applePay = { displayString: n2.askForPayment.applePay, id: "applePay" }, t2.all = [t2.applePay]; + }, 62390(e2, t2, i2) { + "use strict"; + 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.$V = t2.rL = t2.LQ = t2.OS = t2.E5 = t2.Mz = void 0; + const n2 = i2(31635); + i2(80428), i2(10798), n2.__importDefault(i2(4648)); + t2.Mz = 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 o = Object.freeze(Object.keys(t2.Mz)); + function r(e3) { + return Object.freeze(o.filter((t3) => e3.some((e4) => t3.startsWith(e4)))); + } + function a(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.E5 = "application/", t2.OS = "audio/", t2.LQ = "image/", t2.rL = "text/", t2.$V = "video/"; + const s = r([t2.LQ]), l = r([t2.OS]), u = r([t2.$V]), c = r([t2.rL, t2.E5]); + t2.ALL_MIME_TYPES_SET = new Set(o), t2.AUDIO_MIME_TYPES_SET = new Set(l), t2.FILE_MIME_TYPES_SET = new Set(c), t2.IMAGE_MIME_TYPES_SET = new Set(s), t2.VIDEO_MIME_TYPES_SET = new Set(u), t2.ALL_SUPPORTED_EXTENSIONS = a(t2.Mz), t2.AUDIO_SUPPORTED_EXTENSIONS = a(t2.Mz, [t2.OS]), t2.FILE_SUPPORTED_EXTENSIONS = a(t2.Mz, [t2.rL, t2.E5]), t2.IMAGE_SUPPORTED_EXTENSIONS = a(t2.Mz, [t2.LQ]), t2.VIDEO_SUPPORTED_EXTENSIONS = a(t2.Mz, [t2.$V]); + }, 22717(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.poll = function(e3, t3, i3, r) { + return n2.__awaiter(this, void 0, void 0, function* () { + let n3 = yield e3(); + for (o.default.isActualNumber(r) ? r < 0 && (r = 0) : r = 10, (!o.default.isActualNumber(i3) || i3 < 0) && (i3 = 1e3); true !== t3(n3) && r; ) yield new Promise((e4) => setTimeout(() => e4(true), i3)), n3 = yield e3(), r--; + return n3; + }); + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)); + }, 9456(e2, t2) { + "use strict"; + t2.uuid = function() { + return globalThis.crypto.randomUUID(); + }; + }, 12179(e2, t2, i2) { + "use strict"; + t2.helpTopics = void 0, t2.getExternalHelpUrl = function(e3) { + return e3 || (e3 = "main"), e3 === t2.helpTopics.articles.resourceCenter ? r(o()) : `${i3 = o(), `${r(i3)}/architect`}/${e3}`; + var i3; + }; + const n2 = i2(74359); + function o() { + return (0, n2.getCurrentLanguage)() || "en-us"; + } + function r(e3) { + return `https://help.genesys.cloud/redirect/${encodeURIComponent(e3 || "en-us")}`; + } + 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", endBusinessProcess: "action/endBusinessProcess", 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: "articles/add-a-flow-milestone", addFlowOutcome: "article/add-a-flow-outcome", downloadArchitectFlowExamples: "articles/download-architect-flow-examples", 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" } }; + }, 50290(e2, t2, i2) { + "use strict"; + t2.yieldToBrowser = function() { + return n2.__awaiter(this, void 0, void 0, function* () { + const e3 = window; + "undefined" != typeof window && e3.scheduler && "yield" in e3.scheduler ? yield e3.scheduler.yield() : yield new Promise((e4) => setTimeout(() => e4(), 0)); + }); + }; + const n2 = i2(31635); + }, 13116(e2, t2) { + "use strict"; + var i2; + t2.SlotHandlingType = void 0, (function(e3) { + e3.standardSlot = "standardSlot", e3.surveyFormQuestionSlot = "surveyFormQuestionSlot", e3.surveyFormQuestionFollowUpSlot = "surveyFormQuestionFollowUpSlot"; + })(i2 || (t2.SlotHandlingType = i2 = {})); + }, 13139(e2, t2) { + "use strict"; + var i2; + t2.SupportedDigitalChannel = void 0, (function(e3) { + e3.facebook = "facebook", e3.whatsapp = "whatsapp"; + })(i2 || (t2.SupportedDigitalChannel = i2 = {})); + }, 68038(e2, t2) { + "use strict"; + var i2; + t2.SwitchStyles = void 0, (function(e3) { + e3[e3.firstTrueCase = 0] = "firstTrueCase", e3[e3.matchExpression = 1] = "matchExpression"; + })(i2 || (t2.SwitchStyles = i2 = {})); + }, 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) { + return null == e3 ? void 0 : e3.isCommonWorkflowViewModel; + }, t2.isBaseExpression = function(e3) { + return null == e3 ? void 0 : e3.isExpression; + }, t2.isNormalExpression = function(e3) { + return null == e3 ? void 0 : e3.isNormalExpression; + }, t2.isCollectionExpression = function(e3) { + return null == e3 ? void 0 : e3.isCollectionExpression; + }, t2.isString = function(e3) { + return "string" == typeof e3; + }, t2.isArray = function(e3) { + return Array.isArray(e3); + }, 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]; + }, t2.isError = function(e3) { + return e3 instanceof Error; + }; + }, 80295(e2, t2) { + "use strict"; + t2.enumerable = function(e3) { + return (t3, i2, n2) => { + n2.enumerable = e3; + }; + }, t2.makeUnenumerable = function(e3, t3) { + Object.getOwnPropertyDescriptor(e3, t3) ? Object.defineProperty(e3, t3, { enumerable: false }) : Object.defineProperty(e3, t3, { enumerable: false, writable: true }); + }; + }, 66753(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "journeyReferrer"; - } - get url() { - } - get domain() { - } - get hostname() { - } - get keywords() { - } - get pathname() { - } - get queryString() { - } - get fragment() { - } - get name() { - } - get medium() { - } - get displayTypeName() { - return "ArchValueJourneyReferrer"; - } - get isArchValueJourneyReferrer() { - return true; + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = n2.__importDefault(i2(4648)), a = n2.__importDefault(i2(92140)), s = i2(47957), l = new class { + constructor() { + this.voiceSnippetService = { id: "voiceSnippetService", displayString: s.submitVoiceSnippet.voiceSnippetServiceLabel, submissionReturnsSnippetIdentifier: false, featureConfig: r.default.voiceSnippets }, this._allPossibleSnippetDestinations = [this.voiceSnippetService]; } - } - t2.default = r2; - }, 64807: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(55299); - class r2 extends n2.BaseClass { - constructor(e3) { - super(), this.model = e3; + _isSnippetDestinationAvailable(e3) { + return !e3.featureConfig || o.isFeatureAvailable(e3.featureConfig); } - get className() { - return "OAuthClientViewModel"; + getDestination(e3) { + return a.default.find(this._allPossibleSnippetDestinations, (t3) => e3 === t3.id); } - get id() { - return this.model.id; + get defaultDestinationId() { + if (this._isSnippetDestinationAvailable(this.voiceSnippetService)) return this.voiceSnippetService.id; } - get name() { - return this.model.name; + getAvailableDestinations() { + return a.default.filter(this._allPossibleSnippetDestinations, (e3) => this._isSnippetDestinationAvailable(e3)); } - get scope() { - return this.model.scope; + getAvailableDestinationIds() { + return a.default.pluck(this.getAvailableDestinations(), "id"); } - } - t2.default = r2; - }, 64832: (e2, t2, i2) => { + }(); + t2.default = l; + }, 99923(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createBuilders = function() { - r2.default.initialize(), a.initialize(), o.default.initialize(); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(99131)), o = n2.__importDefault(i2(63145)), a = i2(85167); - }, 64836: (e2, t2, i2) => { + t2.vmEntityTypesAll = t2.vmEntityTypeUser = t2.vmEntityTypeQueue = t2.vmEntityTypeGroup = void 0; + const n2 = i2(47957); + t2.vmEntityTypeGroup = { displayString: n2.group.label, id: "group" }, t2.vmEntityTypeQueue = { displayString: n2.configurations.queue, id: "queue" }, t2.vmEntityTypeUser = { displayString: n2.user.label, id: "user" }, t2.vmEntityTypesAll = [t2.vmEntityTypeGroup, t2.vmEntityTypeQueue, t2.vmEntityTypeUser]; + }, 22928(e2, t2, i2) { "use strict"; + var n2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67432)); - class r2 extends n2.default { + const r = i2(31635), a = r.__importStar(i2(24032)), s = r.__importStar(i2(12847)), l = r.__importStar(i2(36781)), u = i2(80295), c = r.__importStar(i2(9345)), d = i2(71004), p = r.__importStar(i2(29133)), _ = i2(29133), h = r.__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(); + } constructor(e3) { - super(e3); + this.formatVariables = [], this.flowVariables = [], this.languageVariables = [], this.systemVariables = [], this.taskVariables = [], this.map = {}, this.hasExpanded = {}, this._expansions = {}, this._expansionsNameToId = {}, this._expansionsDeprecatedNameToId = {}, n2.set(this, []), o.set(this, false), this.parentFlow = e3, (0, u.makeUnenumerable)(this, "_expansions"), (0, u.makeUnenumerable)(this, "_expansionsNameToId"), (0, u.makeUnenumerable)(this, "_expansionsDeprecatedNameToId"), r.__classPrivateFieldGet(this, n2, "f").push(l.listen(l.variableDestroyed, (e4) => { + this.isDestroyedCheck(), e4.parentFlow.instanceId === this.parentFlow.instanceId && this.removeVariable(e4); + })), r.__classPrivateFieldGet(this, n2, "f").push(l.listen(l.typeChanged, (e4) => { + this.isDestroyedCheck(), e4.parentFlow.instanceId === this.parentFlow.instanceId && (0, _.updateType)(this, e4); + })); } - get isImageViewModel() { - return true; + addExpansionVariable(e3) { + e3.hideFromAutocomplete || this.hasExpanded[e3.expandedKey] || (e3.isClone || (this.map[e3.id] = e3), this._expansions[e3.id] = e3, this._expansionsNameToId[this.getMapIdForContainer(e3.parent)] || (this._expansionsNameToId[this.getMapIdForContainer(e3.parent)] = {}), this._expansionsNameToId[this.getMapIdForContainer(e3.parent)][e3.lowerName] = e3.id, e3.deprecatedName && (this._expansionsDeprecatedNameToId[this.getMapIdForContainer(e3.parent)] || (this._expansionsDeprecatedNameToId[this.getMapIdForContainer(e3.parent)] = {}), this._expansionsDeprecatedNameToId[this.getMapIdForContainer(e3.parent)][e3.deprecatedName] = e3.id)); } - } - t2.default = r2; - }, 64847: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(32282), a = n2.__importDefault(i2(40559)); - class s extends a.default { - constructor(e3) { - super(e3, o.scheduleGroupManager); + expandVariable(e3) { + if (this.hasExpanded[e3.expandedKey]) return; + this.hasExpanded[e3.expandedKey] = true; + const t3 = p.addVariable(this, e3, true); + return h.default.each(t3, (e4) => this.hasExpanded[e4.expandedKey] = true), t3; } - get _globalTypeName() { - return "scheduleGroupCollection"; + expandVariableByName(e3, t3, i3) { + let n3; + if (i3 = this.fixParent(i3), !t3) { + if (n3 = this.getVariableByName(e3, i3, true), !n3) return; + t3 = n3.id; + } + const o2 = n3 ? n3.expandedKey : g.getExpandedKey(e3, t3, i3); + if (!this.hasExpanded[o2] && (n3 || (n3 = this.getVariableByName(e3, i3, true)), n3)) { + this.hasExpanded[n3.expandedKey] = true; + const e4 = p.addVariable(this, n3); + return h.default.each(e4, (e5) => this.hasExpanded[e5.expandedKey] = true), e4; + } } - get displayTypeName() { - return "ArchValueScheduleGroupCollection"; + addFormatVariable(e3) { + this.formatVariables.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3); } - get _searchByValueSearchProperty() { - return "name"; + addLanguageVariable(e3) { + this.languageVariables.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3); } - addLiteralByScheduleGroupIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupId", "addLiteralByScheduleGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleGroupIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "scheduleGroup").then(() => r2.default.executeCallback(this, "addLiteralByScheduleGroupIdAsync", t3, this)); - }); + addSystemVariable(e3) { + this.systemVariables.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3); } - addLiteralByScheduleGroupNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupName", "addLiteralByScheduleGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleGroupNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "scheduleGroup").then(() => r2.default.executeCallback(this, "addLiteralByScheduleGroupNameAsync", t3, this)); + initializeDesignTime() { + h.default.each(this.taskVariables, (e3) => { + e3.initializeDesignTime(); + }), h.default.each(this.flowVariables, (e3) => { + e3.initializeDesignTime(); + }), h.default.each(this.systemVariables, (e3) => { + e3.initializeDesignTime(); }); } - get isArchValueScheduleGroupCollection() { - return true; - } - } - t2.default = s; - }, 64948: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; + addVariable(e3, t3 = false) { + if (this.isDestroyedCheck(), !e3 || !e3.parent) return; + const i3 = e3.parent.isTaskLike ? this.taskVariables : this.flowVariables, n3 = i3.find((t4) => (t4.lowerName === e3.lowerName || t4.id === e3.id) && t4.parent.id === e3.parent.id); + if (n3) { + if (t3) return; + m.errorWithStack(void 0, `Trying to add variable with duplicate name or id: Existing: ${n3.toString()} -- New: ${e3.toString()}`); } + i3.push(e3), this.addExpansionVariable(e3), this.expandVariable(e3), this.parentFlow && this.parentFlow.initializeDesignTimeCalled && l.emitter.emit(l.variableAdded, this); } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - 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), c = i2(26404); - t2.combineLatest = function e3() { - for (var t3 = [], i3 = 0; i3 < arguments.length; i3++) t3[i3] = arguments[i3]; - 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); - }); - }; - }, 64986: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(17405)), a = n2.__importDefault(i2(98717)); - class s extends o.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "time"; + getExpansions() { + return h.default.clone(this._expansions); } - get displayTypeName() { - return "ArchValueTime"; + getVariableByName(e3, t3, i3, n3) { + this.isDestroyedCheck(), e3 = e3.toLocaleLowerCase(); + const o2 = (t3 = this.fixParent(t3)).isFlowViewModel ? t3 : t3.parentFlow; + let r2, a2, s2, l2; + const u2 = this._expansionsNameToId[this.getMapIdForContainer(t3)], c2 = this._expansionsDeprecatedNameToId[this.getMapIdForContainer(t3)]; + let d2; + return o2 && (s2 = this._expansionsNameToId[this.getMapIdForContainer(o2)], l2 = this._expansionsDeprecatedNameToId[this.getMapIdForContainer(o2)]), u2 && (r2 = u2[e3]), !r2 && s2 && (r2 = s2[e3]), !n3 && c2 && (d2 = c2[e3]), !n3 && l2 && (d2 = l2[e3]), d2 ? a2 = this._expansions[d2] : r2 && (a2 = this._expansions[r2]), a2 && !a2.transferring ? a2 : void 0; } - _checkAndSetLiteral(e3, t3, i3, n3) { - this._checkItem(e3, t3 < 0, `the hours value of '${t3}' is less than the allowed minimum of 0.`), this._checkItem(e3, t3 > 23, `the hours value of '${t3}' is greater than the allowed maximum of 23.`), this._checkItem(e3, i3 < 0, `the minutes value of '${i3}' is less than the allowed minimum of 0.`), this._checkItem(e3, i3 > 59, `the minutes value of '${i3}' is greater than the allowed maximum of 59.`), this._checkItem(e3, n3 < 0, `the minutes value of '${n3}' is less than the allowed minimum of 0.`), this._checkItem(e3, n3 > 59, `the minutes value of '${n3}' is greater than the allowed maximum of 59.`), this._setLiteral(e3, (0, r2.sprintf)("%02d:%02d:%02d", t3, i3, n3)); + hasPrefixVariable(e3) { + return e3 = e3.toLocaleLowerCase(), h.default.find(this._expansions, (t3) => 0 === t3.lowerName.indexOf(e3) || 0 === t3.lowerUnscopedName.indexOf(e3)); } - setLiteralTime(e3) { - const t3 = this._infoParm("time", "setLiteralTime"); - this._checkItemIsValidLiteralString(t3, e3), new RegExp("[0-2][0-9]:[0-5][0-9]:[0-5][0-9]").test(e3) && 8 === e3.length || a.default.itemInvalid(t3, `invalid format. Expected HH:MM:SS for '${e3}' where HH is a two digit hour from 00 to 23, MM is a two digit minute from 00 to 59, and SS is a two digit second from 00 to 59 (ex: '14:33:05').`, this.logStr, this.displayTypeName), this._checkAndSetLiteral(t3, parseInt(e3.substring(0, 2)), parseInt(e3.substring(3, 5)), parseInt(e3.substring(7))); + getExpandedVariable(e3) { + if (!e3) return; + const t3 = h.default.find(this._expansions, (t4) => t4.id === e3); + if (!t3) { + const t4 = /^([A-Za-z_-]+)\..*$/.exec(e3); + if (t4) { + const e4 = this.map[t4[1]]; + e4 && this.expandVariable(e4); + } + } + return t3; } - setLiteralTimeParts(e3, t3, i3) { - const n3 = this._infoParm("hours", "setLiteralTimeParts"); - this._checkItemIsValidLiteralInt(n3, e3, false); - const r3 = this._infoParm("minutes", "setLiteralTimeParts"); - this._checkItemIsValidLiteralInt(r3, t3, false); - const o2 = this._infoParm("seconds", "setLiteralTimeParts"); - this._checkItemIsValidLiteralInt(o2, i3, false), this._checkAndSetLiteral(this._infoParm("calculated time", "setLiteralTimeParts"), e3, t3, i3); + getSlotVariables() { + return this.parentFlow.isNluFlow ? h.default.where(this.flowVariables, { isSlotVariable: true }) : []; } - get isArchValueTime() { - return true; + getSystemVariablesWithInitialValues() { + return this.systemVariables.filter((e3) => e3.initValue); } - } - t2.default = s; - }, 65011: (e2, t2, i2) => { - const n2 = i2(47957); - e2.exports = [{ displayString: n2.flowOutcomes.failure, id: "FAILURE" }, { displayString: n2.flowOutcomes.success, id: "SUCCESS" }]; - }, 65029: (e2, t2, i2) => { - const n2 = i2(2398), r2 = i2(98962); - function o() { - Object.defineProperties(this, { _debugVersion: { writable: true }, _publishedVersion: { writable: true } }), this.inputSchema = void 0, this.outputSchema = void 0, this.publishedVersion = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BriefFlowEntity"), Object.defineProperties(o.prototype, { debugVersion: { enumerable: true, get: function() { - return this._debugVersion; - }, set: function(e3) { - this._debugVersion = this.reviveItem(e3, r2); - } }, publishedVersion: { enumerable: true, get: function() { - return this._publishedVersion; - }, set: function(e3) { - this._publishedVersion = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 65156: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.windowWhen = void 0; - var n2 = i2(76808), r2 = i2(65212), o = i2(17214), a = i2(19724); - t2.windowWhen = function(e3) { - return r2.operate(function(t3, i3) { - var r3, s, l = function(e4) { - r3.error(e4), i3.error(e4); - }, u = function() { - var t4; - null == s || s.unsubscribe(), null == r3 || r3.complete(), r3 = new n2.Subject(), i3.next(r3.asObservable()); - try { - t4 = a.innerFrom(e3()); - } catch (e4) { - return void l(e4); - } - t4.subscribe(s = o.createOperatorSubscriber(i3, u, u, l)); - }; - u(), t3.subscribe(o.createOperatorSubscriber(i3, function(e4) { - return r3.next(e4); - }, function() { - r3.complete(), i3.complete(); - }, l, function() { - null == s || s.unsubscribe(), r3 = null; - })); - }); - }; - }, 65165: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + filterByTask(e3) { + const t3 = this.getExpansions(); + return h.default.filter(t3, (t4) => !(t4.isInternal || t4.isTaskVariable && (!e3 || !e3.isTaskLike || t4.parent !== e3))); } - get _globalTypeName() { - return "externalFacebookIdCollection"; + filterVariable(e3) { + return h.default.filter(this.filterByTask(e3.task), (t3) => (0, d.isVariableAllowedForExpression)(t3, e3)); } - get displayTypeName() { - return "ArchValueExternalFacebookIdCollection"; + removeVariable(e3) { + if (e3.isSystemVariable || e3.isInternal) return false; + p.removeVariable(this, e3), delete this.map[e3.id]; + const t3 = e3.isTaskVariable ? this.taskVariables : this.flowVariables, i3 = t3.indexOf(e3); + return i3 >= 0 && t3.splice(i3, 1), e3.destroy(), true; } - get isArchValueExternalFacebookIdCollection() { - return true; + reexpandVariable(e3) { + p.removeVariable(this, e3), this.addExpansionVariable(e3), this.expandVariable(e3); } - } - t2.default = r2; - }, 65212: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.operate = t2.hasLift = void 0; - var n2 = i2(10281); - function r2(e3) { - return n2.isFunction(null == e3 ? void 0 : e3.lift); - } - t2.hasLift = r2, t2.operate = function(e3) { - return function(t3) { - if (r2(t3)) return t3.lift(function(t4) { - try { - return e3(t4, this); - } catch (e4) { - this.error(e4); - } + 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, 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, 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, c.settings.exactMatch)) && this.reexpandVariable(t3); }); - throw new TypeError("Unable to lift unknown Observable type"); - }; - }; - }, 65218: (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(66978)), l = n2.__importDefault(i2(11210)), u = i2(79963); - 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); } - get _actionTypeId() { - return r2.createCallbackActionType; + getVariablesWithDeprecatedNames(e3) { + return h.default.filter(this.filterByTask(e3), (e4) => !(!h.default.isString(e4.deprecatedName) || !e4.deprecatedName.length)); } - _clearInputs() { - this._scriptInputs = void 0; + getVariableIds(e3) { + return h.default.pluck(e3, "id"); } - get displayTypeName() { - return this._scriptingName; + getVariableModelTypes(e3) { + return h.default.pluck(e3, "modelType"); } - get callbackNumber() { - return this.coreFactory.createArchWrapper(this._callbackNumbers._coreExpression.items[0]); + destroy() { + this.reset(), this.parentFlow = null, r.__classPrivateFieldGet(this, n2, "f").forEach((e3) => e3()), r.__classPrivateFieldSet(this, o, true, "f"); } - get calleeName() { - return this._calleeName; + reset() { + this.formatVariables.length = 0, this.flowVariables.length = 0, this.languageVariables.length = 0, this.systemVariables.length = 0, this.taskVariables.length = 0, h.default.deleteAllKeys(this._expansions), h.default.deleteAllKeys(this._expansionsDeprecatedNameToId), h.default.deleteAllKeys(this._expansionsNameToId), h.default.deleteAllKeys(this.hasExpanded), h.default.deleteAllKeys(this.map); } - get isArchActionCreateCallback() { - return true; + getAllVariables() { + return h.default.values(this.map); } - get scriptInputs() { - return this._scriptInputs || (this._scriptInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._scriptInputs; + clearOldName(e3, t3, i3) { + t3 && (t3 = t3.toLowerCase(), delete this._expansionsNameToId[this.getMapIdForContainer(e3)][t3], delete this.hasExpanded[t3], delete this._expansions[i3]); } - get queue() { - return this._queue; + getUserVisibleExpansions(e3) { + return e3 = this.fixParent(e3), h.default.filter(this._expansions, (t3) => !(t3.isUnavailable || t3.isInternal || !t3.isSystemOrFlowVariable && (!e3 || t3.parent !== e3))); } - setScriptByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("scriptName", "setScriptByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScriptByNameAsync"), t3, true), o.default.findItemByValueAsync(u.callbackManager, e3, "callback script").then(function(e4) { - return s.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByNameAsync"); - }.bind(this)).then(function() { - return this._clearInputs(), a.default.executeCallback(this, "setScriptByNameAsync", t3, this); - }.bind(this)); + getUserVisibleVariables(e3) { + return h.default.filter(e3, (e4) => !(e4.isUnavailable || e4.isInternal)); } - setScriptByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("scriptId", "setScriptByIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScriptByIdAsync"), t3, true), o.default.findItemByIdAsync(u.callbackManager, e3, "callback script").then(function(e4) { - return s.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByIdAsync"); - }.bind(this)).then(function() { - return this._clearInputs(), a.default.executeCallback(this, "setScriptByIdAsync", t3, this); - }.bind(this)); + getVariable(e3) { + return this.isDestroyedCheck(), this.map[e3] || h.default.find(this.map, function(t3) { + return t3.deprecatedId === e3; + }); } - } - 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)), c = i2(47957), d = i2(27862); - class p extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.responseAssetView; + getVariablesWithUsages(e3) { + this.isDestroyedCheck(); + const t3 = []; + return h.default.each(e3, (e4) => { + (!e4.isInternal && e4.hasVisibleUsages(e4.parentFlow) || e4.allowInitialValueForReadOnly) && t3.push(e4); + }), t3; } - get dependencyType() { - return d.File; + getVariableFromExpression(e3) { + if (this.isDestroyedCheck(), !e3 || !e3.config) return null; + if (!e3.config.ref && !e3.config.sysref) return null; + const t3 = e3.config.ref ? e3.config.ref.val : e3.config.sysref.val; + return this.getExpandedVariable(t3); } - 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 = c.file.file, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "files", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + isDestroyedCheck() { + r.__classPrivateFieldGet(this, o, "f") && s.error("Accessing destroyed VariableGroup"); } - _createItemViewModel(e3) { - return new u.default(e3); + fixParent(e3) { + return e3 || this.parentFlow; + } + getMapIdForContainer(e3) { + return e3 && !e3.isFlowViewModel ? e3.id : this.parentFlow.instanceId; } } - t2.FileManager = p, t2.fileManager = new p(); - }, 65279: function(e2, t2, i2) { + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = g; + }, 59061(e2, t2, i2) { "use strict"; - var n2 = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.takeLast = void 0; - var r2 = i2(44885), o = i2(65212), a = i2(17214); - t2.takeLast = function(e3) { - return e3 <= 0 ? function() { - return r2.EMPTY; - } : o.operate(function(t3, i3) { - var r3 = []; - t3.subscribe(a.createOperatorSubscriber(i3, function(t4) { - r3.push(t4), e3 < r3.length && r3.shift(); - }, function() { - var e4, t4; - try { - for (var o2 = n2(r3), a2 = o2.next(); !a2.done; a2 = o2.next()) { - var s = a2.value; - i3.next(s); - } - } catch (t5) { - e4 = { error: t5 }; - } finally { - try { - a2 && !a2.done && (t4 = o2.return) && t4.call(o2); - } finally { - if (e4) throw e4.error; - } - } - i3.complete(); - }, void 0, function() { - r3 = null; - })); - }); + Object.defineProperty(t2, "__esModule", { value: true }), t2.isVariableViewModel = function(e3) { + return null == e3 ? void 0 : e3.isVariableViewModel; }; - }, 65287: (e2, t2, i2) => { - "use strict"; - 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 { - get settingsConfirmationNoInputApologySequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoInputApology"); - return this.generateLanguageSequenceConfig("SettingsConfirmationNoInputApology", _.builderIds.parts.genericCommunication, e3); + const n2 = i2(31635), o = i2(17604), r = 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)), I = n2.__importDefault(i2(65302)), C = i2(1910), O = 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); } - get settingsConfirmationNoInputApologyDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoInputApologyDigitalBot"); - return this.generateLanguageSequenceConfig("SettingsConfirmationNoInputApologyDigitalBot", _.builderIds.parts.genericCommunication, e3); + checkVersion(e3) { + e3.checkVersion(this.type.version); } - get settingsConfirmationNoMatchApologySequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoMatchApology"); - return this.generateLanguageSequenceConfig("SettingsConfirmationNoMatchApology", _.builderIds.parts.genericCommunication, e3); + get className() { + return D; } - get settingsConfirmationNoMatchApologyDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoMatchApologyDigitalBot"); - return this.generateLanguageSequenceConfig("SettingsConfirmationNoMatchApologyDigitalBot", _.builderIds.parts.genericCommunication, e3); + clone() { + return new R(this); } - get settingsNoInputApologySequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoInputApology"); - return this.generateLanguageSequenceConfig("SettingsNoInputApology", _.builderIds.parts.genericCommunication, e3); + get deletionTooltip() { + return this.getDeletionTooltip(); } - get settingsNoInputApologyDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoInputApologyDigitalBot"); - return this.generateLanguageSequenceConfig("SettingsNoInputApologyDigitalBot", _.builderIds.parts.markdownCommunication, e3); + getDeletionTooltip(e3) { + let t3; + 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, o.sprintf)(w.variable.variableCannotBeDeleted, t3) : e3 ? void 0 : w.variable.variableDeleteTooltip; } - get settingsEndOfSessionMessageDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsEndOfSessionMessageDigitalBot"); - return this.generateLanguageSequenceConfig("SettingsEndOfSessionMessageDigitalBot", _.builderIds.parts.markdownCommunication, e3); + get allowInitialValueForReadOnly() { + return this.model.allowInitialValueForReadOnly; } - get settingsNoMatchApologySequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoMatchApology"), t3 = { digitalbot: { builderId: _.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("SettingsNoMatchApology", _.builderIds.parts.genericCommunication, e3, t3); + get deprecatedId() { + return this.model.deprecatedId; } - get settingsNoToConfirmationApologySequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoToConfirmationApology"), t3 = { digitalbot: { builderId: _.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("SettingsNoToConfirmationApology", _.builderIds.parts.genericCommunication, e3, t3); + get deprecatedName() { + return this.model.deprecatedName; } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(15137)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._findResult = this.coreFactory.createArchWrapper(e3.findResult); + get description() { + return r.default.isObject(this.model.descriptionOverrides) && this._model.descriptionOverrides[this.parentFlow.type] || this._model.description; } - get displayTypeName() { - return "ArchBaseActionFindSystemObjects"; + set description(e3) { + const t3 = {}; + this.getDescriptionCanSet(t3) ? this._model.description = e3 : P.errorPropertySet(this, "description", e3, t3.code); } - get isArchBaseActionFindSystemObjects() { - return true; + setSlotVariableDescription(e3, t3) { + t3 ? this._model.description = e3 : this.description = e3; } - get findResult() { - throw this.logErrorAndThrow(`findResult should be overridden by derived class ${this.logStr}`), new Error("unreachable"); + 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.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)); } - } - t2.default = r2; - }, 65302: (e2, t2, i2) => { - "use strict"; - 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 c() { - return u; - } - function d(e3, t3) { - return c()._getMatchingTypes(e3, t3); - } - function p(e3) { - if (!e3) return u; - if (l[e3.instanceId]) return l[e3.instanceId]; - const t3 = new a.default(); - return l[e3.instanceId] = t3, e3.registerExpressionTypeGroupEventSink && e3.registerExpressionTypeGroupEventSink.call(e3), u.cloneTo(e3, t3), e3.onTypeMapCreated && e3.onTypeMapCreated.call(e3), t3; - } - function _(e3, t3, i3) { - if (!r2.default.isString(t3)) return null; - const n3 = p(e3), o2 = r2.default.find(n3.map, function(e4) { - return e4.single.icwsType === t3; - }); - return o2 ? i3 ? o2.collection : o2.single : null; - } - function h(e3, t3) { - if (!r2.default.isString(t3)) return null; - const i3 = t3.length; - return i3 > 5 && "_coll" === t3.substring(i3 - 5) ? e3.map[t3.substring(0, i3 - 5)].collection : e3.map[t3] ? e3.map[t3].single : void 0; - } - function m(e3, t3, i3) { - const n3 = p(e3); - return h(n3, t3) || (function(e4, t4) { - if (!t4) return null; - let i4; - for (const n4 in t4) if (t4.hasOwnProperty(n4) && (i4 = t4[n4].type, i4)) return h(e4, i4); - return null; - })(n3, i3); - } - function g(e3, t3, i3) { - return p(e3).getType(t3, i3); - } - function f(e3, t3) { - return p(e3).getTypeFromDisplayString(t3); - } - function T(e3, t3) { - const i3 = r2.default.find(s.type, function(t4) { - return t4.support && t4.support.expressionDataType === e3.typeIdentifier; - }), n3 = new e3(t3, i3, false), o2 = p(t3); - return o2.map[i3.support.expressionDataType] = { single: n3, collection: null }, o2.singletons.push(n3), n3; - } - function y(e3) { - const t3 = l[e3.instanceId]; - delete l[e3.instanceId], t3 && t3.destroy(); - } - 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 }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(57382)); - class a extends o.default { - constructor(e3) { - super(e3); + get iconGux() { + return this.type.getIconGux(); } - get displayTypeName() { - return "ArchBaseActionWithOutputsDefault"; + get isNeeded() { + return this.hasUsagesForFlow(this.parentFlow) || this.isInPublishedFlowSchema || this.isSlotVariable || this.isFormScopedVariable; + } + get isDestroyed() { + return this._destroyed; + } + isDestroying() { + return this._destroyed; + } + get isDestroyedOrDestroying() { + return this._destroyed; } - get isArchBaseActionWithOutputsDefault() { - return true; + get expandedKey() { + return N.default.getExpandedKey(this.name, this.id, this.parent); } - get outputDefault() { - return this._getOutputById(r2.outputIds.default, true); + get facets() { + return this.model.facets; } - } - t2.default = a; - }, 65307: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DateType = void 0; - 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 = s.ExpressionTypeDateOptions; + set facets(e3) { + this.model.facets = e3 || this.model.facets; } - get className() { - return "DateType"; + fireVariableChanged() { + const e3 = { newVariable: this, oldVariable: { _destroyed: false, name: this.name } }; + return g.fireEvent(this.parent, h.variableChanged, e3); } - createExpressionOptionClass() { - return new s.ExpressionTypeDateOptions(this.isCollection); + 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, C.withModelContext)(i3, `Variable[${n3}]`, () => { + this._configureFromModel(e3, t3, i3); + }); + } else this._configureFromModel(e3, t3, i3); } - get supportsLiteralEditor() { - return true; + _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); } - convertLitToExpression(e3, t3) { - const i3 = this.getParsedDate(t3, null, false); - return i3 ? (0, o.sprintf)("MakeDate(%s, %s, %s)", i3.year, i3.month, i3.date) : t3; + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + if (this.isFlowManagedVariable && !this.getInitialValueSupported()) return; + const i3 = { name: this.name }; + 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), r.default.tryWrapObject(i3, `${this.type.yamlTypeName}Variable`); + } + return this.model; } - _getLiteralValueOfExpression() { - return ""; + getDescriptionCanSet(e3, t3, i3) { + return !!this._getVarIsWritable(t3 ? e3 : void 0) && !this.isFlowManagedOrSystem; } - getYamlObjectForLiteralSingleton(e3) { - super.getYamlObjectForLiteralSingleton(e3); - const t3 = this.getParsedDate(e3.text, e3, true); - return { year: t3.year, month: t3.month, day: t3.date }; + getExpressionTextWithNameFallback() { + return this.expressionText ? this.expressionText : this.name; } - searchExpression(e3, t3) { - const i3 = r2.default.utc(t3.text); - if (t3.isLiteralMode && i3) { - 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); + get expressionText() { + if (this._model.expressionText) return this._model.expressionText; } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - return `"${i3 || t3 || ""}"`; + getInitialValueCanSet(e3, t3) { + return !!this._getVarIsWritable(t3 ? e3 : void 0) && !!f.variablePropertySupportedSetService.getCanSetVariableFlowSchemaInputDependentProperty(e3, this.isInPublishedFlowInputSchema) && this.getInitialValueSupported(); } - 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); - } + getInitialValueSupported() { + return !("__CALL_INVOCATION_DATA__" !== this.model.id || !this.parentFlow.isVoiceSurveyFlow) || !((this.isSystemVariable || this.isFormScopedVariable || this.isFlowManagedSlotVariable) && !this.allowInitialValueForReadOnly || !this.initValue); } - } - 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)), c = i2(27862), d = i2(73303), p = (0, o.getTopic)("sttEngineService"); - class _ extends s.BootstrapListManager { - constructor() { - super(c.SpeechToTextEngine, d), u.bootstrapDataLoaded.then(this._processBootstrapDataLoaded.bind(this)); + getNameCanSet(e3, t3) { + return !!this._getVarIsWritable(t3 ? e3 : void 0) && !this.isFlowManagedOrSystem && f.variablePropertySupportedSetService.getCanSetVariableFlowSchemaDependentProperty(e3, this.isInPublishedFlowInputSchema, this.isInPublishedFlowOutputSchema); } - _processBootstrapDataLoaded(e3) { - var t3; - a.getOrgSupportsAudio() && (e3 ? (null === (t3 = e3.featureSupport) || void 0 === t3 ? void 0 : t3.speechToText) ? (r2.default.each(e3.featureSupport.speechToText.sttEngines, (e4, t4) => { - e4.id = t4, this.items[t4] = new l.default(e4); - }), this._sttSettings = e3.featureSupport.speechToText.sttSettings) : p.debug("No featureSupport or speechToText section found in bootstrap data.") : p.errorWithStack(null, "sttEngineService._processBootstrapDataLoaded was passed null bootstrapService.")); + getIsInputCanSet(e3, t3) { + return !!this._getVarIsWritable(t3 ? e3 : void 0) && f.variablePropertySupportedSetService.getCanSetScopedVariableTypeAsInput(e3, this.parentFlow, this.scope, this.isInPublishedFlowInputSchema, this.type); } - get className() { - return "sttEngineService"; + getIsInputSupported(e3) { + return f.variablePropertySupportedSetService.getFlowTypeSupportsScopedInputVariableOfType(e3, this.parentFlow, this.scope, this.type); } - getDefaultEngineForLanguage(e3) { - var t3, i3, n3, r3; - const o2 = (null === (n3 = null === (i3 = null === (t3 = this._sttSettings) || void 0 === t3 ? void 0 : t3.languageOverrides) || void 0 === i3 ? void 0 : i3[e3.toLocaleLowerCase()]) || void 0 === n3 ? void 0 : n3.engine) || (null === (r3 = this._sttSettings) || void 0 === r3 ? void 0 : r3.defaultEngine); - return this.items[o2]; + getIsOutputCanSet(e3, t3) { + return !!this._getVarIsWritable(t3 ? e3 : void 0) && f.variablePropertySupportedSetService.getCanSetScopedVariableTypeAsOutput(e3, this.parentFlow, this.scope, this.isInPublishedFlowOutputSchema, this.type); } - get defaultId() { - return "__default__"; + getIsOutputSupported(e3) { + return f.variablePropertySupportedSetService.getFlowTypeSupportsScopedOutputVariableOfType(e3, this.parentFlow, this.scope, this.type); } - get genesysV3Id() { - return "genesys~v3"; + getScopeCanSet(e3, t3) { + return !!this._getVarIsWritable(t3 ? e3 : void 0) && !this.isFlowManagedOrSystem && f.variablePropertySupportedSetService.getCanSetVariableFlowSchemaDependentProperty(e3, this.isInPublishedFlowInputSchema, this.isInPublishedFlowOutputSchema); } - get genesysV4Id() { - return "genesys~v4"; + getIsSecureCanSet(e3, t3) { + return !!this._getVarIsWritable(t3 ? e3 : void 0) && (this.getIsSecureSupported(e3) || this.isSecure); } - } - t2.default = new _(); - }, 65485: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(57382)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - const t3 = e3; - this._customizeNoInput = this.coreFactory.createArchWrapper(t3.customizeNoInput), this._customizeNoMatch = this.coreFactory.createArchWrapper(t3.customizeNoMatch), this._noInput = this.coreFactory.createArchWrapper(t3.noInput), this._noInputReprompts = this.coreFactory.createArchWrapper(t3.noInputReprompts), this._noMatch = this.coreFactory.createArchWrapper(t3.noMatch), this._noMatchReprompts = this.coreFactory.createArchWrapper(t3.noMatchReprompts), this._voiceEndOfInputTimeout = this.coreFactory.createArchWrapper(t3.voiceEndOfInputTimeout); + getIsSecureSupported(e3) { + return f.variablePropertySupportedSetService.getFlowTypeSupportsSecureVariables(e3, this.parentFlow); } - get displayTypeName() { - return "ArchBaseActionNoInputNoMatch"; + getIsDeprecatedIdMatch(e3) { + return !(!this.deprecatedId || !e3) && this.deprecatedId === e3; } - get isArchBaseActionNoInputNoMatch() { - return true; + getIsDeprecatedNameMatch(e3) { + return !(!this.deprecatedName || !e3) && this.deprecatedName.toLocaleLowerCase() === e3.toLocaleLowerCase(); } - get customizeNoInput() { - return this._customizeNoInput; + initializeDesignTime() { + this.isSlotVariable && (this._slotHandling = void 0), this.initValue && this.initValue.initializeDesignTime(), this._setOutOfService(); } - get customizeNoMatch() { - return this._customizeNoMatch; + get initializeDesignTimeCalled() { + return !this.initValue || this.initValue.initializeDesignTimeCalled; } - get noInput() { - return this._noInput; + get isInPublishedFlowSchema() { + return !!(this.parentFlow && this.parentFlow.info && this.isFlowVariable) && this.parentFlow.info.hasSchemaVariable(this.name); } - get noInputReprompts() { - return this._noInputReprompts; + get isInPublishedFlowInputSchema() { + return !!(this.parentFlow && this.parentFlow.info && this.isFlowVariable) && this.parentFlow.info.hasSchemaInputVariable(this.name); } - get noMatch() { - return this._noMatch; + get isInPublishedFlowOutputSchema() { + return !!(this.parentFlow && this.parentFlow.info && this.isFlowVariable) && this.parentFlow.info.hasSchemaOutputVariable(this.name); } - get noMatchReprompts() { - return this._noMatchReprompts; + get isFlowVariable() { + return !!this.parent && !!this.parent.isFlowViewModel; } - get voiceEndOfInputTimeout() { - return this._voiceEndOfInputTimeout; + get isInternal() { + return this.model.isInternal; } - } - t2.default = r2; - }, 65498: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DataTypeDiffOverallResult = void 0; - const n2 = i2(31635).__importStar(i2(13140)); - var r2; - !(function(e3) { - e3.doesNotMatch = "doesNotMatch", e3.exactMatch = "exactMatch", e3.lessRestrictive = "lessRestrictive", e3.moreRestrictive = "moreRestrictive", e3.notComparable = "notComparable"; - })(r2 || (t2.DataTypeDiffOverallResult = r2 = {})), t2.default = class { - constructor(e3, t3, i3) { - this._overallResult = r2.exactMatch, this._individualDiffs = [], this.srcDataTypeDefViewModel = e3, this.comparedToDataTypeDefViewModel = t3, this.diffSettings = i3; + set isInternal(e3) { + this.model.isInternal = e3; } - get overallResult() { - return this._overallResult; + get isInput() { + return this.model.isInput; } - setNotComparableTo() { - this._overallResult = r2.notComparable; + set isInput(e3) { + if (this.model.isInput === e3) return; + const t3 = {}; + this.getIsInputCanSet(t3) ? (this.model.isInput = e3, y.validateItem(this)) : P.errorPropertySet(this, "isInput", e3, t3.code); } - addComparedToHasAdditionalProperty(e3, t3) { - const i3 = n2.default.createComparedToHasAdditionalPropertyDiff(e3, t3); - return this._individualDiffs.push(i3), i3; + get isOutput() { + return this.model.isOutput; } - getComparedToAdditionalProperties() { - return this._individualDiffs.filter((e3) => e3.isComparedToAdditionalProperty); + set isOutput(e3) { + if (this.model.isOutput === e3) return; + const t3 = {}; + this.getIsOutputCanSet(t3) ? (this.model.isOutput = e3, y.validateItem(this)) : P.errorPropertySet(this, "isOutput", e3, t3.code); } - get individualDiffs() { - return this._individualDiffs; + get isInputOrOutput() { + return this.isInput || this.isOutput; } - addDiff(e3) { - switch (this._individualDiffs.push(e3), e3.diffResult) { - case n2.DiffResult.doesNotMatch: - this._overallResult = r2.doesNotMatch; - break; - case n2.DiffResult.moreRestrictive: - this.overallResult === r2.doesNotMatch || (this._overallResult = r2.moreRestrictive); - break; - case n2.DiffResult.lessRestrictive: - switch (this.overallResult) { - case r2.moreRestrictive: - case r2.doesNotMatch: - break; - default: - this._overallResult = r2.lessRestrictive; - } + 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: c.settings.exact, shortCircuit: false }), i3.matchType) { + let o2; + if (this.type ? this.type.isMatch(e3.type, i3.matchType) || (o2 = true) : e3.type && (o2 = true), o2) { + if (t3 && t3.addDataTypeMismatch(this.type, e3.type), i3.shortCircuit) return false; + n3 = false; + } + } + if (i3.matchName) { + let o2; + if (this.name ? o2 = "caseInsensitive" === i3.matchName ? this.lowerName !== e3.lowerName : this.name !== e3.name : e3.name && (o2 = true), o2) { + if (t3 && t3.addNameMismatch(this.name, e3.name), i3.shortCircuit) return false; + n3 = false; + } + } + if (i3.matchInput && this.isInput !== e3.isInput) { + if (t3 && t3.addInputMismatch(this.isInput, e3.isInput), i3.shortCircuit) return false; + n3 = false; + } + if (i3.matchOutput && this.isOutput !== e3.isOutput) { + if (t3 && t3.addOutputMismatch(this.isOutput, e3.isOutput), i3.shortCircuit) return false; + n3 = false; } + return n3; } - isDiffResultEqualTo() { - return this.overallResult === r2.exactMatch; + get isReadOnly() { + return this.model.isReadOnly || this.isFormScopedVariable || this.isFlowManagedSlotVariable; } - isDiffResultLessRestrictiveThan() { - return this.overallResult === r2.lessRestrictive; + get isSecure() { + return this.model.isSecure; } - isDiffResultEqualToOrLessRestrictiveThan() { - return this.isDiffResultEqualTo() || this.isDiffResultLessRestrictiveThan(); + set isSecure(e3) { + if (this.model.isSecure === e3) return; + const t3 = {}; + 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); } - isDiffResultMoreRestrictiveThan() { - return this.overallResult !== r2.exactMatch && this.overallResult !== r2.lessRestrictive; + get isSystemOrFlowVariable() { + return this.isSystemVariable || this.isFlowVariable; } - isDiffResultEqualToOrMoreRestrictiveThan() { - return this.isDiffResultEqualTo() || this.isDiffResultMoreRestrictiveThan(); + get isSystemVariable() { + return this.model.isSystemVariable; } - }; - }, 65507: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(78432)), o = n2.__importDefault(i2(37873)), a = i2(59946); - class s extends o.default { - constructor(e3) { - super(e3), this._coreInboundEmailSettingsViewModel = e3; + get isSystemScopedVariable() { + return v.hasScope(v.scopes.system, this.name); } - get displayTypeName() { - return "ArchSettingsInboundEmailFlow"; + get isStateVariable() { + return !!this.parent && !!this.parent.isStateLike; } - get logStr() { - if (!this._coreInboundEmailSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._appendLogStrPart(e3, "Auto Generated Email Handling", this.autoGeneratedEmailHandling, false, true), this._createLogStrFromParts(e3); + get isTaskVariable() { + return !!this.parent && !!this.parent.isTaskLike; } - get isArchSettingsInboundEmailFlow() { - return true; + get isSlotVariable() { + return v.hasScope(v.scopes.slot, this.name); } - get autoGeneratedEmailHandling() { - var e3, t3; - switch (null === (e3 = this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType) || void 0 === e3 ? void 0 : e3.name) { - case a.Disconnect.name: - return r2.default.AUTO_GENERATED_EMAIL_HANDLING.disconnect; - case a.Continue.name: - return r2.default.AUTO_GENERATED_EMAIL_HANDLING.continue; - default: - this._logErrorInternalAndThrow("unknown handling type '" + (null === (t3 = this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType) || void 0 === t3 ? void 0 : t3.name) + "' on the auto-generated email handling."); - } + get isFlowManagedSlotVariable() { + const e3 = this.slotHandling; + return e3 === S.SlotHandlingType.surveyFormQuestionFollowUpSlot || e3 === S.SlotHandlingType.surveyFormQuestionSlot; } - set autoGeneratedEmailHandling(e3) { - switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newAutoGeneratedEmailHandlingTypeValue", "autoGeneratedEmailHandling"), e3, r2.default.AUTO_GENERATED_EMAIL_HANDLING_ALL), this.logNote("setting the auto-generated email handling type to '" + e3 + "'."), e3) { - case r2.default.AUTO_GENERATED_EMAIL_HANDLING.disconnect: - this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType = a.Disconnect; - break; - case r2.default.AUTO_GENERATED_EMAIL_HANDLING.continue: - this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType = a.Continue; - } + get isFlowManagedVariable() { + return this.isSlotVariable || this.isFormScopedVariable; } - getDetectionJobIntentSettingsByIntentName(e3) { - this._checkItemIsValidLiteralString(this._infoParm("name", "getDetectionJobIntentSettingsByIntentName"), e3); - const t3 = this._coreInboundEmailSettingsViewModel.parent.nluCortexMetaData.intents.find((t4) => t4.name === e3); - if (t3) return this.coreFactory.createArchSettingsDetectionJobIntent(t3); + get isFlowManagedOrSystem() { + return this.isSystemVariable || this.isFlowManagedVariable; } - } - t2.default = s; - }, 65615: (e2, t2, i2) => { - "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 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); + get isStandardSlotVariable() { + return this.slotHandling === S.SlotHandlingType.standardSlot; } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setEmptyMessage, e3.emptyMessage, "_emptyMessage"), this._setOptionIfSet(this.setIsCollection, e3.isCollection), this._setOptionIfSet(this.setMaxItems, e3.maxItems, "_maxItems"), this._setOptionIfSet(this.setMaxItemsIsSoftLimit, e3.maxItemsIsSoftLimit, "_maxItemsIsSoftLimit"), this._setOptionIfSet(this.setMinItems, e3.minItems, "_minItems"), this._setOptionIfSet(this.setCreateMinItemsByDefault, e3.createMinItemsByDefault, "_createMinItemsByDefault"), this._setOptionIfSet(this.setAllowAdd, e3.allowAdd, "_allowAdd"), this._setOptionIfSet(this.setAllowRemove, e3.allowRemove, "_allowRemove"), this._setOptionIfSet(this.setAllowReorder, e3.allowReorder, "_allowReorder"), this._setOptionIfSet(this.setItemAddedCallback, e3.itemAddedCallback, "_itemAddedCallback"), this._setOptionIfSet(this.setUiCanMoveItemCallback, e3.uiCanMoveItemCallback, "_uiCanMoveItemCallback"); + get isFlowScopedVariable() { + return v.hasScope(v.scopes.flow, this.name); } - get isBaseExpressionTypeCollectionOptions() { - return true; + get isFormScopedVariable() { + return v.hasScope(v.scopes.form, this.name); } - get allowNotSet() { - return !this._isCollection && super.allowNotSet; + get slotHandling() { + var e3, t3; + if (this.isSlotVariable) { + if (!this._slotHandling) { + const i3 = null === (t3 = null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.surveyFormInfo) || void 0 === t3 ? void 0 : t3.formToSlotVariableMappings; + if (i3) { + let e4; + 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 = S.SlotHandlingType.surveyFormQuestionFollowUpSlot : this._slotHandling = S.SlotHandlingType.surveyFormQuestionSlot, e4 = true); + }); + }), e4 || (this._slotHandling = S.SlotHandlingType.standardSlot); + } else this._slotHandling = S.SlotHandlingType.standardSlot; + } + return this._slotHandling; + } } - set allowNotSet(e3) { - super.allowNotSet = e3; + get taskLikeContainerName() { + return this.isFlowScopedVariable || this.isSlotVariable || !this.parent ? void 0 : this.parent.containerLabelAndName; } - get className() { - return "BaseExpressionTypeCollectionOptions"; + get isUnavailable() { + return this._isUnavailable; } - get emptyMessage() { - return this._emptyMessage; + set isUnavailable(e3) { + this._isUnavailable = !!e3; } - set emptyMessage(e3) { - this._emptyMessage = a.ParameterValidator.expectString(e3, () => o.ParameterInfo.createPropertySet(this.className, "emptyMessage", "value")); + get isVariableViewModel() { + return true; } - get isCollection() { - return this._isCollection; + get isGlobalVariable() { + return v.getIsGlobalScope(this.scope); } - set isCollection(e3) { - this._isCollection = a.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); + get lowerName() { + return this._cachedLowerCaseName || (this._cachedLowerCaseName = this.name ? this.name.toLocaleLowerCase() : ""), this._cachedLowerCaseName; } - get maxItems() { - return this._maxItems; + get lowerUnscopedName() { + return this._cachedLowerUnscopedName || (this._cachedLowerUnscopedName = this.model.unscopedName ? this.model.unscopedName.toLocaleLowerCase() : ""), this._cachedLowerUnscopedName; } - set maxItems(e3) { - this._maxItems = a.ParameterValidator.expectInt(e3, () => o.ParameterInfo.createPropertySet(this.className, "maxItems", "value")); + get canSetInputMetaData() { + return !this.isSystemVariable && (this.isTaskVariable && this.parentFlow.supportsTaskInputVariables || this.isFlowVariable && this.parentFlow.supportsFlowInputVariables); } - get maxItemsIsSoftLimit() { - return this._maxItemsIsSoftLimit; + get canSetOutputMetaData() { + return !this.isSystemVariable && (this.isTaskVariable && this.parentFlow.supportsTaskOutputVariables || this.isFlowVariable && this.parentFlow.supportsFlowOutputVariables); } - set maxItemsIsSoftLimit(e3) { - this._maxItemsIsSoftLimit = a.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createPropertySet(this.className, "maxItemsIsSoftLimit", "value")); + get model() { + return this._model; } - get minItems() { - return this._minItems; + get modelType() { + return this.model.__type; } - set minItems(e3) { - this._minItems = a.ParameterValidator.expectInt(e3, () => o.ParameterInfo.createPropertySet(this.className, "minItems", "value")); + get name() { + return this._model.name; } - get createMinItemsByDefault() { - return this._createMinItemsByDefault; + set name(e3) { + e3 !== this.name && (this.getNameCanSet() ? (r.default.each(this.expansionList, (t3) => { + t3.name = e3 + t3.name.substring(this.name.length); + }), this._model.name = e3, this._cachedLowerCaseName = void 0, this._cachedLowerUnscopedName = void 0, y.validateItem(this)) : P.errorPropertySet(this, "name", e3)); } - set createMinItemsByDefault(e3) { - this._createMinItemsByDefault = a.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createPropertySet(this.className, "createMinItemsByDefault", "value")); + get initValue() { + return this._initialValue; } - get allowAdd() { - return this._allowAdd; + get parentId() { + return this.parent ? this.parent.id : void 0; } - set allowAdd(e3) { - this._allowAdd = a.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createPropertySet(this.className, "allowAdd", "value")); + get scope() { + return v.getScope(this.name); } - get allowRemove() { - return this._allowRemove; + get type() { + return "urn:inin.com:Arch:promptVar" === this.model.__type ? d.globalTypes.prompt : this.model.typeIdentifier ? I.default.resolveType(this.parentFlow, this.model.typeIdentifier) : I.default.getTypeFromIcwsType(this.parentFlow, this.model.__type, this.model.isCollection); } - set allowRemove(e3) { - this._allowRemove = a.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createPropertySet(this.className, "allowRemove", "value")); + get unscopedName() { + return v.getUnscopedName(this.name); } - get allowReorder() { - return this._allowReorder; + 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(w.errors.noName, e3), !this.isSystemVariable && !this.isInternal) { + const t4 = u.expressionDataService.getInvalidIdentifierCharacters(this.name); + t4.length > 0 && t4.forEach((t5) => this.addValidationError((0, o.sprintf)(w.errors.nameContainsInvalidCharacter, t5), e3)); + } + if (this.type.isAvailableForFlow(this.parentFlow) || this.addValidationError((0, o.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, o.sprintf)(w.intents.secureSlotVariableUsedInIntentUtterance, this.name, this.unscopedName, n4[0]) : (0, o.sprintf)(w.intents.secureSlotVariableUsedInIntentUtteranceMoreThanOne, this.name, this.unscopedName, T.getListDisplayString(n4)); + this.addValidationError(t4, e3); + } + } + this.isSystemVariable || this.isNeeded || this.addValidationWarning((0, o.sprintf)(w.errors.unusedVariable, this.name), e3); } - set allowReorder(e3) { - this._allowReorder = a.ParameterValidator.expectBool(e3, () => o.ParameterInfo.createPropertySet(this.className, "allowReorder", "value")); + addValidationError(e3, t3, i3) { + i3 || t3.addError(this, e3.displayString ? e3.displayString : e3); } - setEmptyMessage(e3) { - return this.emptyMessage = e3, this; + addValidationWarning(e3, t3, i3) { + i3 || t3.addWarning(this, e3.displayString ? e3.displayString : e3); } - setIsCollection(e3) { - return this.isCollection = e3, this; + updateDependencies() { + var e3; + (null === (e3 = this._initialValue) || void 0 === e3 ? void 0 : e3.outOfService) || _.registerExpression(this._initialValue); } - setMaxItems(e3, t3) { - return this.maxItems = e3, t3 && (this.maxItemsIsSoftLimit = true), this; + get isPartOfEnum() { + return !!this.type.isEnumOrEnumContainer || !(!this.hierarchicalParent || !this.hierarchicalParent.type.isEnumOrEnumContainer); } - setMaxItemsIsSoftLimit(e3) { - return this.maxItemsIsSoftLimit = e3, this; + get hierarchicalParent() { } - setMinItems(e3) { - return this.minItems = e3, this; + get isUserCreatable() { + return !this.isFlowManagedOrSystem; } - setCreateMinItemsByDefault(e3) { - return this.createMinItemsByDefault = e3, this; + _canDelete() { + return this._getVarIsWritable() && !this.isNeeded; } - setAllowAdd(e3) { - return this.allowAdd = e3, this; + _loadModel(e3) { + if (e3) { + if (this.model && r.default.each(this.model, (e4, t3) => { + this.hasOwnProperty(e4) && "name" !== t3 && delete this[t3]; + }), this._model = e3, r.default.each(this.model, (e4, t3) => { + if ("__type" === t3) return; + if ("name" === t3) return; + if ("description" === t3) return; + if ("descriptionOverrides" === t3) return; + if ("isSecure" === t3) return; + if ("isInput" === t3) return; + if ("isOutput" === t3) return; + const i3 = "id" === t3; + E(this, this.model, t3, i3); + }), this.model.allowInitialValueForReadOnly || !this.model.isSystemVariable || this.getInitialValueSupported()) { + const e4 = O.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 || 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; + } } - setAllowRemove(e3) { - return this.allowRemove = e3, this; + get allowInitialValueLiteralMode() { + var e3; + return !(!this.type.supportsLiteralEditor || false === (null === (e3 = this.type.singletonType) || void 0 === e3 ? void 0 : e3.supportsLiteralEditor)) && (!this.type.singletonType.hasPropertiesAndAllAreReadOnly || !this.type.isCustomType && (!this.isReadOnly || this.allowInitialValueForReadOnly)); } - setAllowReorder(e3) { - return this.allowReorder = e3, this; + _getVarIsWritable(e3) { + return !(!f.variablePropertySupportedSetService.getIsVariableWritable(e3, !this.isReadOnly) || !f.variablePropertySupportedSetService.getIsFlowEditable(e3, this.parentFlow)); } - setListIsLocked() { - return this.allowAdd = false, this.allowRemove = false, this.allowReorder = false, this; + _setOutOfService() { + this._initialValue && (this._initialValue.outOfService = !this.getInitialValueSupported()); } - get defaultToBuilderId() { - if (true !== this._isCollection) return super.defaultToBuilderId; + toString() { + var e3; + return `Variable id:${this.id} type:${null === (e3 = this.type) || void 0 === e3 ? void 0 : e3.displayString} scope:${this.scope} parentId:${this.parentId}`; } - set defaultToBuilderId(e3) { - super.defaultToBuilderId = e3; + get displayValue() { + return this.model.displayValue; } - get itemAddedCallback() { - return this._itemAddedCallback; + get doNotCleanupIfOrphanedSlot() { + return !!this.model.doNotCleanupIfOrphanedSlot; } - set itemAddedCallback(e3) { - this._itemAddedCallback = e3; + set doNotCleanupIfOrphanedSlot(e3) { + this.isSlotVariable && (this.model.doNotCleanupIfOrphanedSlot = !!e3); } - setItemAddedCallback(e3) { - return this.itemAddedCallback = e3, this; + } + t2.default = M; + }, 60308(e2, t2, i2) { + "use strict"; + t2.failSystemVariableDefinition = function(e3) { + throw e3 = `systemVariables :: ${e3}`, n2.error(e3), new Error(e3); + }; + const n2 = i2(31635).__importStar(i2(12847)); + }, 26153(e2, t2, i2) { + "use strict"; + t2.resolveDescription = function(e3, t3, i3) { + const n3 = i3 ? ` :: ${i3}` : "", o2 = g(_, e3); + if (void 0 === o2 && (0, r.failSystemVariableDefinition)(`${n3} - no resources string found for descriptionKey '${e3}'`), !(null == t3 ? void 0 : t3.length)) { + const t4 = m(o2); + return t4 > 0 && (0, r.failSystemVariableDefinition)(`${n3} - descriptionKey '${e3}' expects at least ${t4} descriptionArgs but got 0`), o2; + } + const a2 = t3.map((e4) => { + if (t4 = e4, Object.prototype.hasOwnProperty.call(h, t4)) return h[e4](); + var t4; + const i4 = g(_, e4); + return void 0 === i4 && (0, r.failSystemVariableDefinition)(`${n3} - descriptionArgs entry '${e4}' is neither a known token nor a resources path`), i4; + }), s2 = m(o2); + return a2.length < s2 && (0, r.failSystemVariableDefinition)(`${n3} - descriptionKey '${e3}' expects at least ${s2} descriptionArgs but got ${a2.length}`), (0, u.sprintf)(o2, ...a2); + }, t2.resolveUnlocalizedDescription = function(e3, t3) { + const i3 = g(o, e3); + return void 0 === i3 && (0, r.failSystemVariableDefinition)(`${t3 ? `${t3}` : ""} - no unlocalized string found for unlocalizedDescriptionKey '${e3}'`), i3; + }; + const n2 = i2(31635), o = n2.__importStar(i2(69453)), r = i2(60308), a = n2.__importDefault(i2(73198)), s = i2(48109), l = i2(81176), u = i2(17604), c = i2(99923), d = i2(99923), p = i2(99923), _ = i2(47957), h = { inputModesSpeechDtmf: () => (0, s.getListDisplayString)([l.inputMode.speech, l.inputMode.dtmf], false, false, true), inputModesSpeechDtmfText: () => (0, s.getListDisplayString)([l.inputMode.speech, l.inputMode.dtmf, l.inputMode.text], false, false, true), maxInt: () => a.default.maxInt, minInt: () => a.default.minInt, voicemailEntityTypeGroupId: () => c.vmEntityTypeGroup.id, voicemailEntityTypeQueueId: () => d.vmEntityTypeQueue.id, voicemailEntityTypeUserId: () => p.vmEntityTypeUser.id }; + function m(e3) { + const t3 = [...e3.matchAll(/%(\d+)\$[a-zA-Z%]/g)].map((e4) => Number(e4[1])); + if (t3.length) return Math.max(...t3); + let i3 = 0; + for (let t4 = 0; t4 < e3.length; t4++) "%" === e3[t4] && ("%" !== e3[t4 + 1] ? void 0 !== e3[t4 + 1] && i3++ : t4++); + return i3; + } + function g(e3, t3) { + const i3 = t3.split(".").reduce((e4, t4) => { + if (e4 && "object" == typeof e4) return e4[t4]; + }, e3); + return "string" == typeof i3 ? i3 : void 0; + } + Object.keys(h); + }, 4757(e2, t2, i2) { + "use strict"; + t2.getInitialValueOptionsCallback = function(e3) { + return (function(e4) { + return Object.prototype.hasOwnProperty.call(u, e4); + })(e3) ? u[e3] : void 0; + }; + const n2 = i2(17604), o = i2(99923), r = i2(99923), a = i2(99923), s = i2(99923), l = i2(47957), u = { voicemailDebugEntityType: () => i2(81516).ExpressionTypeStringOptions.create((e3) => e3.setDefaultText(a.vmEntityTypeUser.id).setDescriptionInfo(l.variable.initialValueLabel, (0, n2.sprintf)(l.systemVariables.voicemailDebugEntityTypeDescription, o.vmEntityTypeGroup.id, r.vmEntityTypeQueue.id, a.vmEntityTypeUser.id)).setModeNoValueSelectionLabel(l.systemVariables.voicemailDebugEntityTypeNoValueLabel).facets.setTrim(true).setAllowableValues(s.vmEntityTypesAll)), voicemailDebugGroup: () => i2(60186).ExpressionTypeGroupOptions.create((e3) => e3.setDescriptionInfo(l.variable.initialValueLabel, (0, n2.sprintf)(l.systemVariables.voicemailDebugGroupDescription, o.vmEntityTypeGroup.id))), voicemailDebugQueue: () => i2(37830).ExpressionTypeQueueOptions.create((e3) => e3.setDescriptionInfo(l.variable.initialValueLabel, (0, n2.sprintf)(l.systemVariables.voicemailDebugQueueDescription, r.vmEntityTypeQueue.id))), voicemailDebugUser: () => i2(26954).ExpressionTypeUserOptions.create((e3) => e3.setDescriptionInfo(l.variable.initialValueLabel, (0, n2.sprintf)(l.systemVariables.voicemailDebugUserDescription, a.vmEntityTypeUser.id))) }; + Object.keys(u); + }, 19291(e2, t2, i2) { + "use strict"; + t2.getSystemVariableModelsForFlowType = function(e3) { + var t3; + if (!(0, a.isFlowTypeId)(e3)) return []; + const i3 = m.get(e3); + if (i3) return i3; + h || (h = (function() { + const e4 = /* @__PURE__ */ new Map(); + return Object.entries(g).forEach(([t4, i4]) => { + const n4 = /* @__PURE__ */ new Map(); + Object.entries(i4.flowTypes).forEach(([e5, r2]) => { + (function(e6, t5) { + return (0, s.isFlowTypeOrTypeGroupId)(e6) || (0, l.failSystemVariableDefinition)(`${t5} - '${e6}' is not a flow type or flow type group`), (0, o.expandToFlowTypeIds)(e6, true); + })(e5, `${t4} (${i4.name})`).forEach((e6) => { + n4.set(e6, null != r2 ? r2 : {}); + }); + }), n4.forEach((n5, o2) => { + e4.has(o2) || e4.set(o2, []), e4.get(o2).push({ definition: i4, id: t4, override: n5 }); + }); + }), e4; + })()); + const n3 = (null !== (t3 = h.get(e3)) && void 0 !== t3 ? t3 : []).map((e4) => { + return t4 = (function(e5) { + var t5, i5, n4, o2, a2; + const { definition: s2, id: p2, override: h2 } = e5, m2 = _.get(s2.dataTypeId); + m2 || (0, l.failSystemVariableDefinition)(`${p2} - unknown dataTypeId '${s2.dataTypeId}'`); + const g2 = d[m2.modelClass]; + "function" != typeof g2 && (0, l.failSystemVariableDefinition)(`${p2} - dataTypeId '${s2.dataTypeId}' maps to unknown model class '${m2.modelClass}'`); + const f = { id: p2, isSystemVariable: true, isReadOnly: false !== s2.isReadOnly, name: null !== (t5 = h2.name) && void 0 !== t5 ? t5 : s2.name, version: "1.0" }, T = (function(e6) { + var t6, i6, n5, o3; + const { definition: r2, override: a3 } = e6, s3 = `${e6.id} (${null !== (t6 = a3.name) && void 0 !== t6 ? t6 : r2.name})`, l2 = null !== (i6 = a3.descriptionKey) && void 0 !== i6 ? i6 : r2.descriptionKey, d2 = null !== (n5 = a3.descriptionArgs) && void 0 !== n5 ? n5 : a3.descriptionKey ? void 0 : r2.descriptionArgs; + if (l2) return (0, u.resolveDescription)(l2, d2, s3); + const p3 = null !== (o3 = a3.unlocalizedDescriptionKey) && void 0 !== o3 ? o3 : r2.unlocalizedDescriptionKey; + return p3 ? (0, c.resolveUnlocalizedDescription)(p3, s3) : void 0; + })(e5); + void 0 !== T && (f.description = T); + const y = (function(e6, t6) { + if (!t6.descriptionOverrides) return; + const i6 = {}; + return Object.keys(t6.descriptionOverrides).forEach((n5) => { + const o3 = t6.descriptionOverrides[n5], r2 = o3.descriptionKey; + r2 || (0, l.failSystemVariableDefinition)(`${e6} - descriptionOverrides['${n5}'] has no descriptionKey`), i6[n5] = (0, u.resolveDescription)(r2, o3.descriptionArgs, `${e6} (${n5} override)`); + }), Object.keys(i6).length ? i6 : void 0; + })(p2, s2); + y && (f.descriptionOverrides = y); + const S = null !== (i5 = h2.featureConfig) && void 0 !== i5 ? i5 : s2.featureConfig; + S && (f.featureConfig = S), s2.featureToggle && (f.featureToggleName = s2.featureToggle), s2.isCollection && (f.isCollection = true), s2.isInternal && (f.isInternal = true), s2.hideFromAutocomplete && (f.hideFromAutocomplete = true), s2.allowInitialValueForReadOnly && (f.allowInitialValueForReadOnly = true); + const A = null !== (n4 = h2.copyPasteId) && void 0 !== n4 ? n4 : s2.copyPasteId, N = null !== (o2 = h2.deprecatedName) && void 0 !== o2 ? o2 : s2.deprecatedName, v = null !== (a2 = h2.deprecatedId) && void 0 !== a2 ? a2 : s2.deprecatedId; + if (A && (f.copyPasteId = A), N && (f.deprecatedName = N), v && (f.deprecatedId = v), m2.needsTypeIdentifier && (f.typeIdentifier = s2.dataTypeId), s2.initialValueOptionsKey) { + const e6 = (0, r.getInitialValueOptionsCallback)(s2.initialValueOptionsKey); + e6 ? f.initialValueOptionsCallback = e6 : (0, l.failSystemVariableDefinition)(`${p2} - unknown initialValueOptionsKey '${s2.initialValueOptionsKey}'`); + } + return new g2(f); + })(e4), i4 = e4.id, "object" == typeof t4 && null !== t4 && "string" == typeof t4.name || (0, l.failSystemVariableDefinition)(`${i4} - built model is missing name`), t4; + var t4, i4; + }).sort((e4, t4) => e4.name.localeCompare(t4.name)); + return m.set(e3, n3), n3; + }; + const n2 = i2(31635).__importDefault(i2(60288)), o = i2(96618), r = i2(4757), a = i2(96618), s = i2(96618), l = i2(60308), u = i2(26153), c = i2(26153); + i2(35825), i2(67093), i2(14134), i2(3172); + const d = i2(43096), p = i2(34005), _ = (() => { + const e3 = /* @__PURE__ */ new Map(), t3 = /* @__PURE__ */ new Map(); + Object.values(p.type).forEach((i4) => { + var n3, o2; + const r2 = null === (n3 = i4.support) || void 0 === n3 ? void 0 : n3.classType, a2 = null === (o2 = i4.support) || void 0 === o2 ? void 0 : o2.expressionDataType; + if (!r2 || !a2) return; + t3.set(a2, r2); + let s2 = e3.get(r2); + s2 || (s2 = [], e3.set(r2, s2)), s2.push(a2); + }); + const i3 = /* @__PURE__ */ new Map(); + return t3.forEach((t4, n3) => { + var o2; + i3.set(n3, { modelClass: t4, needsTypeIdentifier: (null !== (o2 = e3.get(t4)) && void 0 !== o2 ? o2 : []).length > 1 }); + }), i3; + })(); + let h; + const m = /* @__PURE__ */ new Map(), g = Object.fromEntries(Object.entries(n2.default).filter(([e3]) => "$schema" !== e3)); + }, 29133(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.addVariable = s, t2.removeVariable = u, t2.updateType = function(e3, t3) { + let i3 = []; + r.default.each(e3._expansions, (e4) => { + e4.type === t3 && (i3 = r.default.union(i3, [e4.realVariable || e4])); + }), r.default.each(i3, (t4) => { + u(e3, t4); + const i4 = s(e3, t4, true); + e3.hasExpanded = r.default.union(e3.hasExpanded, r.default.pluck(i4, "expandedKey"), [t4.expandedKey]); + }); + }; + const n2 = i2(31635), o = n2.__importStar(i2(9345)), r = n2.__importDefault(i2(92140)), a = i2(26232); + function s(e3, t3, i3) { + if (!t3) return; + const n3 = []; + !t3.hideFromAutocomplete && i3 && (r.default.contains(e3._expansions, t3) || e3.addExpansionVariable(t3)); + const s2 = (i4, l2, u2) => { + i4.canAttachProperty && r.default.each(i4.type.properties, (c) => { + var d; + const p = r.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, o.settings.exact)) || s2(_, p, u2)); + }); + }; + return t3.type && r.default.each(t3.type.properties, (i4) => { + const o2 = [t3.name, i4.name], r2 = a(o2, t3.clone()); + r2 && (r2.hierarchicalParent = t3, r2.description = i4.description, r2.ids = [t3.id, i4.id], r2.displayValue = i4.displayValue, (t3.isReadOnly || i4.isReadOnly || i4.isComputed) && (r2.isReadOnly = true), e3.addExpansionVariable(r2), t3.expansionList.push(r2), n3.push(r2), s2(r2, o2, t3)); + }), n3; + } + function l(e3, t3) { + const i3 = t3.parent ? t3.parent.id : t3.parentFlow.id; + delete e3._expansions[t3.id], e3._expansionsNameToId[i3] && e3._expansionsNameToId[i3][t3.lowerName] === t3.id && delete e3._expansionsNameToId[i3][t3.name], e3._expansionsDeprecatedNameToId[i3] && e3._expansionsDeprecatedNameToId[i3][t3.lowerName] === t3.id && delete e3._expansionsDeprecatedNameToId[i3][t3.deprecatedName]; + } + function u(e3, t3) { + t3 && (l(e3, t3), delete e3.hasExpanded[t3.expandedKey]), r.default.each(t3.expansionList, (t4) => { + l(e3, t4), delete e3.hasExpanded[t4.expandedKey]; + }); + } + }, 71004(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createVariable = y, t2.createFlowVariableViewModel = function(e3, t3) { + if (!e3 || !t3 || !t3.isFlowViewModel) return null; + const i3 = new g.default(t3, t3, e3); + return i3.type.isAvailableForFlow(t3) ? i3 : null; + }, t2.addInOutVariable = S, t2.addVariable = function(e3, t3, i3, n3, o2) { + if (!e3 || !m.getUnscopedName(e3)) return s.error("Can not create variable because no name was given"), null; + if (!i3) return s.error("Can not create variable because no parent was given"), null; + let a2 = m.getScope(e3); + if (a2 || (a2 = i3.defaultVariableScope), !o2 && !r.default.contains(i3.userCreatableVariableScopes, a2)) return s.error("Unable to add variable. The variable scope of '" + a2 + "' is not valid for the submitted parent task or flow."), null; + const l2 = S(i3, e3, a2, false, false, t3.type, n3, o2); + return l2 ? (l2.isTaskVariable && i3.addVariable(l2), l2.addWriter(t3), t3.text = l2.name, l2) : (s.error("Variable creation failed."), null); + }, t2.transferUsages = function(e3, t3, i3, n3) { + if (!e3 || !i3) return; + if (!t3 || r.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 (!r.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(e3.parentFlow), t5; + } + s.error(`Unexpected condition, change scope of a variable to something other than flow. old name: ${e3.name} -- new name: ${i3}`); + } + return e3.name = i3, e3.parentFlow.variableGroup.addVariable(e3, true), u.emitter.emit(u.variableRename), _.validateItem(e3), e3; } - get uiCanMoveItemCallback() { - return this._uiCanMoveItemCallback; + if (r.default.isString(i3)) { + const t4 = m.getScope(e3.name) !== m.getScope(i3), o3 = e3.parent.isFlowViewModel ? e3.parent : e3.parent.parentFlow; + if (n3 = t4 ? n3 || o3 : e3.parent, e3.lowerName === i3.toLocaleLowerCase() && o3.variableGroup.clearOldName(n3, e3.name, e3.id), t4) { + const t5 = m.getScope(i3); + if (!r.default.contains(n3.availableVariableScopes, t5)) return e3; + } + i3 = A(e3, i3, n3); + } else if (e3.type !== i3.type) return; + e3.transferUsages(i3, t3), e3 && e3.deleteItem(e3.parentFlow); + const o2 = { originalVariable: e3, oldName: e3.name, newName: i3.name }; + return u.emitter.emit(u.variableRename, o2), i3; + }, t2.isVariableAllowedForExpression = N, t2.cleanseVariableNameWithProps = function(e3, t3, i3) { + const n3 = e3; + if ((e3 = m.getUnscopedName(e3)).match(/([^\.]*)\.(.*)/) && t3) { + const o2 = t3.hasPrefixVariable(n3), r2 = { expressionType: i3, doNotAllowProperties: true }; + return i3.isAny && (r2.allowReadOnly = true), !(!o2 || !N(o2, r2)) && l.expressionDataService.cleanseForIdentifierNameWithProps(e3); } - set uiCanMoveItemCallback(e3) { - this._uiCanMoveItemCallback = e3; + return l.expressionDataService.cleanseForIdentifierName(e3); + }, t2.cleanseVariableName = function(e3, t3) { + return t3 || (e3 = m.getUnscopedName(e3)), l.expressionDataService.cleanseForIdentifierName(e3); + }, t2.getNameMappingBetweenFlowTypes = function(e3, t3) { + const i3 = p.default.getDefinitionForFlowType(e3), n3 = p.default.getDefinitionForFlowType(t3), o2 = []; + return i3.systemVariableModels.forEach((e4) => { + let t4 = n3.systemVariableModels.find((t5) => e4.id === t5.id); + t4 ? (e4.name !== t4.name && o2.push({ oldName: e4.name, newName: t4.name }), e4.deprecatedName && e4.deprecatedName !== t4.name && o2.push({ oldName: e4.deprecatedName, newName: t4.name })) : e4.copyPasteId && (t4 = n3.systemVariableModels.find((t5) => e4.copyPasteId === t5.copyPasteId), t4 && o2.push({ oldName: e4.name, newName: t4.name })); + }), o2; + }, t2.createVariableGroupForFlow = function(e3, t3) { + e3.hasVariableGroupSet ? e3.variableGroup.reset() : e3.variableGroup = new h.default(e3), e3.definition.systemVariableModels.forEach((i3) => { + t3 && t3[i3.id] && ((i3 = i3.clone()).initialValue = t3[i3.id]); + const n3 = new g.default(e3, null, i3); + if (i3.featureConfig) { + if (r.default.isString(i3.featureConfig)) n3.isUnavailable = c.isFeatureUnavailable(i3.featureConfig); + else if (r.default.isObject(i3.featureConfig)) { + const t4 = i3.featureConfig[e3.type]; + n3.isUnavailable = r.default.isString(t4) && c.isFeatureUnavailable(t4); + } + } else i3.featureToggleName && (r.default.isString(i3.featureToggleName) ? n3.isUnavailable = d.isDisabled(i3.featureToggleName) : r.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), o = i2(17604), r = 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 }); + } + function y(e3, t3) { + if (!e3) return null; + 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, c2) { + if (!e3 || !t3 || !l2) return s.error((0, o.sprintf)(`Missing parameter for name (not logged), parentTaskOrFlow: '${e3}', or type: '${l2}'`)), 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 && !r.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; } - setUiCanMoveItemCallback(e3) { - return this.uiCanMoveItemCallback = e3, this; + const p2 = T(l2, t3); + p2.isInput = n3, p2.isOutput = a2, u2 && (p2.description = u2); + const h2 = y(p2, e3); + return h2.isTaskVariable && e3.addVariable(h2), h2.initializeDesignTime(), _.validateItem(h2), h2; + } + function A(e3, t3, i3) { + const n3 = T(e3.type, t3); + n3.isInput = e3.isInput && i3.supportsInputVariables, n3.isOutput = e3.isOutput && i3.supportsOutputVariables; + const o2 = y(n3, i3); + return o2.isTaskVariable && i3.addVariable(o2), e3.initializeDesignTimeCalled && o2.initializeDesignTime(), o2; + } + function N(e3, t3) { + const i3 = !!t3.doNotAllowProperties, n3 = !t3.allowReadOnly, o2 = !t3.allowUnavailable; + return !(n3 && e3.isReadOnly || o2 && e3.isUnavailable || i3 && e3.isClone || e3.isInternal) && e3.type && e3.type.isMatch(t3.expressionType); + } + }, 14187(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.scopes = void 0, t2.containsScope = function(e3, t3) { + return n2.default.any(e3, (e4) => o[e4].match.test(t3)); + }, t2.getUnscopedName = l, t2.getCasedScope = function(e3) { + if (!e3) return; + const i3 = o[t2.scopes[e3.toLocaleLowerCase()]]; + return i3 ? i3.cased : void 0; + }, t2.getIsGlobalScope = function(e3) { + if (!e3) return false; + const i3 = o[t2.scopes[e3.toLowerCase()]]; + return !!i3 && i3.isGlobalScope; + }, t2.getScope = function(e3) { + if (e3) { + const t3 = e3.match(r); + if (t3 && t3[1]) return s[t3[1].toLowerCase()]; } + }, t2.setScope = function(e3, t3) { + if (o[e3] || console.error("Using invalid scope value. please use one of the variableScope.scopes values"), u(e3, t3)) return t3; + const i3 = l(t3); + return o[e3].cased + "." + i3; + }, t2.hasAnyScope = function(e3) { + return a.test(e3); + }, t2.hasScope = u; + const n2 = i2(31635).__importDefault(i2(92140)); + t2.scopes = { call: "call", chat: "chat", common: "common", bot: "bot", email: "email", flow: "flow", form: "form", interaction: "interaction", menu: "menu", message: "message", process: "process", prompt: "prompt", promptSystem: "promptSystem", session: "session", slot: "slot", state: "state", survey: "survey", system: "system", task: "task", voice: "voice", voicemail: "voicemail", voiceSurvey: "voiceSurvey", workflow: "workflow", workitem: "workitem" }; + const o = { call: { cased: "Call", isGlobalScope: true, match: /^Call\./i }, chat: { cased: "Chat", isGlobalScope: true, match: /^Chat\./i }, common: { cased: "Common", match: /^Common\./i }, bot: { cased: "Bot", isGlobalScope: false, match: /^Bot\./i }, email: { cased: "Email", isGlobalScope: true, match: /^Email\./i }, flow: { cased: "Flow", isGlobalScope: true, match: /^Flow\./i }, form: { cased: "Form", isGlobalScope: true, match: /^Form\./i }, interaction: { cased: "Interaction", isGlobalScope: true, match: /^Interaction\./i }, menu: { cased: "Menu", isGlobalScope: true, match: /^Menu\./i }, message: { cased: "Message", isGlobalScope: true, match: /^Message\./i }, process: { cased: "Process", isGlobalScope: true, match: /^Process\./i }, session: { cased: "Session", isGlobalScope: true, match: /^Session\./i }, slot: { cased: "Slot", isGlobalScope: true, match: /^Slot\./i }, state: { cased: "State", isGlobalScope: false, match: /^State\./i }, task: { cased: "Task", isGlobalScope: false, match: /^Task\./i }, prompt: { cased: "Prompt", isGlobalScope: true, match: /^Prompt\./i }, promptSystem: { cased: "PromptSystem", isGlobalScope: true, match: /^PromptSystem\./i }, survey: { cased: "Survey", isGlobalScope: true, match: /^Survey\./i }, system: { cased: "System", isGlobalScope: true, match: /^System\./i }, voice: { cased: "Voice", isGlobalScope: true, match: /^Voice\./i }, voicemail: { cased: "Voicemail", isGlobalScope: true, match: /^Voicemail\./i }, voiceSurvey: { cased: "VoiceSurvey", isGlobalScope: true, match: /^VoiceSurvey\./i }, workflow: { cased: "Workflow", isGlobalScope: true, match: /^Workflow\./i }, workitem: { cased: "Workitem", isGlobalScope: true, match: /^Workitem\./i } }, r = /^(.*)\./i, a = new RegExp(n2.default.map(t2.scopes, (e3) => "^" + e3 + "\\.").join("|"), "i"), s = {}; + function l(e3) { + return e3 ? e3.replace(a, "") : ""; } - 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) => { + function u(e3, t3) { + return o[e3] || console.error("Using invalid scope value. please use one of the variableScope.scopes values"), o[e3].match.test(t3); + } + n2.default.each(t2.scopes, (e3) => { + s[e3.toLowerCase()] = e3; + }); + }, 82485(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)), 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 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)); + t2.VersionItem = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299), r = i2(68899), a = i2(57141); + class s extends o.BaseClass { + constructor() { + super(), this.features = [], this.products = [], this.version = a.one.zero; } get className() { - return "InboundEmailViewModel"; - } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, c.scopes.email, c.scopes.message]; - } - get isInboundEmail() { - return true; + return "VersionItem"; } - getFlowConfigurationClass() { - return f; + _checkVersion(e3) { + const t3 = this._generateVersionParts(e3); + this._isGreater(t3) || (this._version = e3, this._versionParts = t3); } - get overrideWireFlowConfiguration() { - return T.getEmailFlowConfiguration; + _generateVersionParts(e3) { + return n2.default.map(e3.split("."), function(e4) { + return Number(e4) || Number(0); + }); } - get overrideWireFlowVersionConfiguration() { - return T.getVersionEmailFlowConfiguration; + _isGreater(e3) { + let t3, i3; + for (let n3 = 0; n3 < this._versionParts.length; n3++) { + if (t3 = this._versionParts[n3], i3 = e3[n3], t3 > i3) return true; + if (t3 < i3) return false; + } + return this._versionParts.length >= e3.length; } - get type() { - return r2.flowTypes.flowTypeInboundEmail; + checkFeatures(e3) { + e3 && (e3.featuresToggles || e3.products) && (e3.featuresToggles && n2.default.each(e3.featuresToggles, (e4) => { + n2.default.contains(this.features, e4) || (this.features.push(e4), this._checkVersion(r[e4])); + }), e3.products && n2.default.each(e3.products, (e4) => { + n2.default.contains(this.products, e4) || (this.products.push(e4), this._checkVersion(r[e4])); + })); } - get wrappedYamlName() { - return "inboundEmail"; + checkVersion(e3) { + e3 && (n2.default.isArray(e3) ? n2.default.each(e3, (e4) => { + n2.default.contains(this.features, e4) || (this.features.push(e4), this._checkVersion(r[e4])); + }) : this._checkVersion(e3)); } - setNewInstanceDefaults(e3) { - const t3 = e3 && e3.transferQueue ? e3.transferQueue : null; - return t3 ? (this.errorHandling.loadErrorSettings(t3), this.errorHandling.handlingType = s.default.Queue) : this.errorHandling.handlingType = s.default.Disconnect, super.setNewInstanceDefaults(e3); + featureIsEnabled(e3) { + return !!r[e3] && r[e3]; } - processNluIntentsUpdate(e3) { - e3 && (this.nluCortexMetaData.intents = e3, l.emitter.emit(l.nluCortexIntentClassificationMetadataUpdated)); + isGreater(e3) { + return !e3 || !e3._versionParts || this._isGreater(e3._versionParts); } - postScriptingCreateFlowAsync(e3) { - var t3; - o.default.isObject(e3) && (this.cachedCreationDataFromScripting = e3, this.processNluIntentsUpdate(null === (t3 = null == e3 ? void 0 : e3.intentDetection) || void 0 === t3 ? void 0 : t3.intents)); + get version() { + return this._version; } - preExport(e3, t3) { - const i3 = Object.create(null, { preExport: { get: () => super.preExport } }); - return n2.__awaiter(this, void 0, void 0, function* () { - var r3, o2; - if (e3 = yield i3.preExport.call(this, e3, t3), (null == t3 ? void 0 : t3.isForFlowYaml) && Array.isArray(null === (r3 = this.nluCortexMetaData) || void 0 === r3 ? void 0 : r3.intents) && this.nluCortexMetaData.intents.length) { - e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = {}; - const i4 = e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding, r4 = new a.default(this.nluCortexMetaData).getConfiguration(e3, t3), s2 = null === (o2 = null == r4 ? void 0 : r4.intents) || void 0 === o2 ? void 0 : o2.map((e4) => { - var { id: t4 } = e4; - return n2.__rest(e4, ["id"]); - }); - i4.intentDetection = s2, e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = { intentDetection: { intents: s2 } }; - } - return e3; - }); + set version(e3) { + e3 && e3 !== this._version && (this._version = e3, this._versionParts = this._generateVersionParts(e3)); } - getSaveAsConfig(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const e4 = u.getStringifiedConfiguration(this); - let t3 = JSON.parse(e4); - return t3 = yield this.preExport(t3), { newConfig: u.stringifyConfig(t3) }; - }); + } + t2.VersionItem = s; + }, 12457(e2, t2, i2) { + "use strict"; + t2.ActionDetails = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(24032)).getTopic("ActionDetails"); + t2.ActionDetails = class { + constructor(e3, t3) { + if (e3 && t3) return o.default.isArray(e3) && o.default.isArray(t3) ? e3.length !== t3.length ? (r.errorWithStack(null, "Arrays with non-matching lengths were passed into ActionDetails."), void (this.textDetailsObjects = [])) : void (this.textDetailsObjects = o.default.map(e3, function(e4, i3) { + return { label: e4, value: t3[i3] }; + })) : (r.errorWithStack(null, "Non-array values were passed into ActionDetails."), void (this.textDetailsObjects = [])); + this.textDetailsObjects = []; } - preImport(e3) { - const t3 = Object.create(null, { preImport: { get: () => super.preImport } }); - return n2.__awaiter(this, void 0, void 0, function* () { - var i3; - yield t3.preImport.call(this, e3), o.default.isObject(e3) && (this.cachedCreationDataFromScripting = e3, this.processNluIntentsUpdate(null === (i3 = null == e3 ? void 0 : e3.intentDetection) || void 0 === i3 ? void 0 : i3.intents)); - }); + get detailLines() { + const e3 = []; + for (let t3 = 0; t3 < this.textDetailsObjects.length; t3++) { + const i3 = this.getDetailText(this.textDetailsObjects[t3]); + e3.push(i3); + } + return e3; } - _loadConfiguration(e3) { - this.supportsLanguages && void 0 === e3.defaultLanguage && (e3.defaultLanguage = "en-US"), super._loadConfiguration(e3); + getDetailText(e3) { + if (!e3) return ""; + let t3 = ""; + return e3.label && (t3 += e3.label + ": "), t3 += e3.value, t3.substring(0, 256); } - } - t2.default = y; - }, 65650: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.scheduleObservable = void 0; - var n2 = i2(19724), r2 = i2(32071), o = i2(5455); - t2.scheduleObservable = function(e3, t3) { - return n2.innerFrom(e3).pipe(o.subscribeOn(t3), r2.observeOn(t3)); }; - }, 65654: (e2, t2, i2) => { + }, 28722(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SummaryUtil = void 0; - const n2 = i2(21095); - t2.SummaryUtil = class { - getArchFlowSummaryNluDomainVersion(e3) { - if (!e3) return {}; - const t3 = {}; - return e3.entityTypes && (t3.entityTypes = this.getEntityTypesSummary(e3.entityTypes)), e3.entities && (t3.entities = this.getEntitiesSummary(e3.entities)), e3.intents && (t3.intents = this.getIntentsSummary(e3.intents)), e3.language && (t3.language = e3.language), e3.languageVersions && (t3.languageVersions = this.getLanguageVersionsSummary(e3.languageVersions)), t3; + t2.AgenticVirtualAgentVersionViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(57606)), r = n2.__importDefault(i2(92140)); + t2.AgenticVirtualAgentVersionViewModel = class { + constructor(e3) { + if (this._schemasNotLoaded = false, this._model = e3, this._schemasNotLoaded = true, this._model.inputs || this._model.outputs) { + this._schemasNotLoaded = false; + const e4 = { properties: {}, required: [] }, t3 = { properties: {}, required: [] }; + r.default.each(this._model.inputs, (t4) => { + r.default.isObject(t4) && (e4.properties[t4.name] = Object.assign({}, t4)); + }), r.default.each(this._model.outputs, (e5) => { + r.default.isObject(e5) && (t3.properties[e5.name] = Object.assign({}, e5), e5.required && t3.required.push(e5.name)); + }), this._inputSchema = new o.default(e4, true), this._outputSchema = new o.default(t3, false); + } else this._schemasNotLoaded = true; } - getEntityTypesSummary(e3) { - const t3 = []; - for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getEntityTypeSummary(e3[i3]); - return t3; + get className() { + return "AgenticVirtualAgentVersionViewModel"; } - getEntityTypeSummary(e3) { - return e3 ? { mechanism: this.getEntityTypeMechanismSummary(e3.mechanism) } : {}; + get isBaseClass() { + return false; } - getEntityTypeMechanismSummary(e3) { - if (!e3) return {}; - const t3 = {}; - return e3.type && (t3.type = e3.type), e3.restricted && (t3.restricted = e3.restricted), e3.items && (t3.items = this.getEntityTypeItemsSummary(e3.items)), t3; + get id() { + return this._model.id; } - getEntityTypeItemsSummary(e3) { - if (!e3) return []; - const t3 = []; - for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getEntityTypeItemSummary(e3[i3]); - return t3; + get name() { + return this._model.version; } - getEntityTypeItemSummary(e3) { - if (!e3) return {}; - const t3 = {}; - return t3.synonymsCount = e3.synonyms ? e3.synonyms.length : 0, e3.additionalLanguages && (t3.additionalLanguages = this.getEntityTypeItemSummaryAdditionalLanguages(e3.additionalLanguages)), t3; + get label() { + return this.name; } - getEntityTypeItemSummaryAdditionalLanguages(e3) { - const t3 = Object.keys(e3), i3 = []; - for (let n3 = 0; n3 < t3.length; n3++) { - const r2 = t3[n3]; - i3[n3] = this.getEntityTypeItemSummaryAdditionalLanguage(r2, e3); - } - return i3; + get version() { + return this._model.version; } - getEntityTypeItemSummaryAdditionalLanguage(e3, t3) { - return { languageTag: e3, synonymsCount: t3[e3].synonyms ? t3[e3].synonyms.length : 0 }; + get inputSchema() { + return this._inputSchema; } - getEntitiesSummary(e3) { - const t3 = []; - for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getEntitySummary(e3[i3]); - return t3; + get outputSchema() { + return this._outputSchema; } - getEntitySummary(e3) { - if (!e3) return {}; - const t3 = {}; - return n2.EntityUtil.isEntityTypeABuiltInType(e3) && (t3.type = e3.type), t3; + get schemasNotLoaded() { + return this._schemasNotLoaded; } - getIntentsSummary(e3) { - const t3 = []; - for (let i3 = 0; i3 < e3.length; i3++) t3[i3] = this.getIntentSummary(e3[i3]); - return t3; + }; + }, 32592(e2, t2) { + "use strict"; + t2.AgenticVirtualAgentViewModel = void 0, t2.AgenticVirtualAgentViewModel = class { + constructor(e3) { + this._model = e3; } - getIntentSummary(e3) { - if (!e3) return {}; - const t3 = {}; - return e3.id && (t3.id = e3.id), e3.additionalLanguages && (t3.additionalLanguages = this.getIntentAdditionalLanguagesSummary(e3.additionalLanguages)), e3.utterances && (t3.utterances = this.getUtterancesSummary(e3.utterances)), t3; + get className() { + return "AgenticVirtualAgentViewModel"; } - getIntentAdditionalLanguagesSummary(e3) { - const t3 = [], i3 = Object.keys(e3); - for (let n3 = 0; n3 < i3.length; n3++) { - const r2 = i3[n3], o = e3[r2]; - ((null == o ? void 0 : o.id) || (null == o ? void 0 : o.utterances)) && t3.push(this.getIntentAdditionalLanguageSummary(r2, o)); - } - return t3; + get isBaseClass() { + return false; } - getIntentAdditionalLanguageSummary(e3, t3) { - const i3 = { languageTag: e3 }; - return t3.id && (i3.id = t3.id), t3.utterances && (i3.utterances = this.getUtterancesSummary(t3.utterances)), i3; + get id() { + return this._model.id; } - getUtterancesSummary(e3) { - const t3 = []; - return e3.forEach((e4) => { - t3.push(this.getUtteranceSummary(e4)); - }), t3; + get name() { + return this._model.name; } - getUtteranceSummary(e3) { - if (!e3) return {}; - const t3 = {}; - return e3.id && (t3.id = e3.id), t3.segmentsCount = e3.segments ? e3.segments.length : 0, t3; + set name(e3) { + this._model.name = e3; } - getLanguageVersionsSummary(e3) { - const t3 = Object.keys(e3), i3 = []; - for (let n3 = 0; n3 < t3.length; n3++) { - const r2 = t3[n3]; - i3[n3] = { languageTag: r2, id: e3[r2] }; - } - return i3; + get label() { + return this.name; } - }; - }, 65692: (e2) => { - "use strict"; - e2.exports = require("https"); - }, 65774: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.skipWhile = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.skipWhile = function(e3) { - return n2.operate(function(t3, i3) { - var n3 = false, o = 0; - t3.subscribe(r2.createOperatorSubscriber(i3, function(t4) { - return (n3 || (n3 = !e3(t4, o++))) && i3.next(t4); - })); - }); - }; - }, 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(); + get version() { + var e3; + return null === (e3 = this._model.latestProductionReadyVersion) || void 0 === e3 ? void 0 : e3.version; } - }, 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 = n2.__importDefault(i2(4648)), c = i2(47957); - class d extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get branchInfo() { - return o.default.successFailure; - } - _getPossibleErrors() { - return l.terminateWorkitemFailureReasons; - } - } - 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; - var n2 = i2(93275), r2 = (function() { - function e3(t3, i3) { - void 0 === i3 && (i3 = e3.now), this.schedulerActionCtor = t3, this.now = i3; - } - return e3.prototype.schedule = function(e4, t3, i3) { - return void 0 === t3 && (t3 = 0), new this.schedulerActionCtor(this, e4).schedule(i3, t3); - }, e3.now = n2.dateTimestampProvider.now, e3; - })(); - t2.Scheduler = r2; - }, 65888: (e2, t2, i2) => { + }, 73381(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SpeechRecTermContainer = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(25021)), s = i2(47957); - t2.SpeechRecTermContainer = class { - constructor(e3, t3, i3) { - this._parent = e3, this.languageEntry = t3, this.language = i3, this._menuChoice = this._parent.menuChoice, this._terms = this._parent.model[this.languageEntry.id] || [], this.languageCode = this.languageEntry.id; - } - get menuChoice() { - return this._menuChoice; + var n2, o; + t2.AudioCaseViewModel = void 0; + const r = i2(31635), a = i2(9456), s = r.__importStar(i2(58380)); + t2.AudioCaseViewModel = class { + constructor(e3, t3, i3, r2) { + this.parentFlow = e3, this.parent = t3, this.model = i3, this.audioExpression = r2, this.id = (0, a.uuid)(), this.amObjectEventSink = true, n2.set(this, void 0), o.set(this, void 0), this.audioExpression.hasSequenceItems || this.audioExpression.customExpressionMode || (this.disabled = true), s.registerEventSinkForEventEmitter(this.audioExpression.id, this), this.audioExpression.parentAudio = this; } - contains(e3, t3) { - const i3 = e3.toLocaleLowerCase(); - let n3 = false; - return o.default.find(this.terms, function(e4) { - return !(i3 !== e4.toLocaleLowerCase() || t3 && !n3 && (n3 = true, 1)); - }); + objEvent_sequenceItemsChanged(e3) { + this.disabled = !e3.customExpressionMode && e3.sequenceItems.length < 1; } - getDuplicateTerms() { - return this.terms.filter((e3) => this.hasDuplicate(e3, true)); + addClipboardDependencies(e3, t3) { + this.audioExpression.addClipboardDependencies(e3, t3); } - hasDuplicate(e3, t3) { - if (!e3) return false; - if (this.contains(e3, t3)) return this._parent; - const i3 = (t4) => { - const i4 = t4._allContainers[this.languageCode.toLowerCase()]; - if (!i4 || i4 === this) return false; - const n4 = i4.contains(e3); - return !!n4 && (t4.addDuplicate(n4), true); - }; - let n3 = null; - if (this._menuChoice.globalSpeech) return o.default.find(this._menuChoice.parentFlow.menus, function(e4) { - const t4 = o.default.pluck(e4.choices, "speechRecTerms"); - return n3 = o.default.find(t4, i3), n3; - }), n3; - { - const e4 = o.default.where(this._menuChoice.parent.choices, { globalSpeech: false }), t4 = o.default.pluck(e4, "speechRecTerms"); - return n3 = o.default.find(t4, i3), n3 || o.default.find(a.getGlobalSpeechForFlow(this._menuChoice.parentFlow), i3); - } + checkVersion(e3) { + this.audioExpression.checkVersion(e3); } - get hasDuplicates() { - return !!this._parent.hasDuplicates && this.getDuplicateTerms().length > 0; + get isDestroyedOrDestroying() { + var e3; + return null !== (e3 = r.__classPrivateFieldGet(this, n2, "f")) && void 0 !== e3 ? e3 : r.__classPrivateFieldGet(this, o, "f"); } - get hasTerms() { - return this.terms.length > 0; + destroy() { + r.__classPrivateFieldSet(this, o, true, "f"), this.audioExpression.destroy(), r.__classPrivateFieldSet(this, n2, true, "f"); } - isInvalidTerm(e3) { - const t3 = this.hasDuplicate(e3); - return !!t3 && t3.menuChoice; + get hasAudioSet() { + return this.audioExpression.hasAudioSet; } - get isSpeechRecTermContainer() { + isAudioCaseViewModel() { return true; } - get isSupported() { - return this.languageEntry && this.languageEntry.getSupportsSpeechRecForFlowType(this._menuChoice.parentFlow.type); + get disabled() { + return this.model.disabled; } - search(e3) { - const t3 = (0, r2.sprintf)(s.speechRec.description, this.language); - o.default.each(this.terms, (i3) => { - e3.checkText(this._menuChoice, i3, t3); - }); + set disabled(e3) { + this.model.disabled = e3; } - get terms() { - return this._terms || []; + get langCode() { + return this.model.langCode; } - set terms(e3) { - let t3 = false; - o.default.each(e3, (e4) => { - e4 || (t3 = true); - }), t3 ? console.error("can not add blank term") : (this._terms = e3, this._parent.model[this.languageCode] && (this._parent.model[this.languageCode] = e3), this._parent.findDuplicates()); + set langCode(e3) { + this.model.langCode = e3; } - }; - }, 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)), 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); + search(e3) { + e3.addToQueue(this.audioExpression); } - static get branchInfo() { - return l.default.foundNotFound; + get parentAudioViewModel() { + return this.parent; } - getDetails() { - return this.externalId ? new o.ActionDetails([h.getExternalOrganization.nameLabel], [u.getDisplayText(this.externalId)]) : null; + get uiMetaData() { + return this.model.uiMetaData; } - static get managedProperties() { - 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 }]; + set uiMetaData(e3) { + this.model.uiMetaData = e3; } - } - 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() { - Object.defineProperties(this, { _terminationState: { writable: true } }), this.languages = void 0, this.versionId = void 0, this.versionName = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.terminationState.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.terminationState.pasteResolveOldToNewValues(e3); - } }, terminationState: { enumerable: true, get: function() { - return this._terminationState; - }, set: function(e3) { - this._terminationState = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 66093: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { waitForInputActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _noMatches: { writable: true }, _customizeNoMatch: { writable: true }, _knowledgeSearchResult: { writable: true }, _noMatchReprompts: { writable: true }, _question: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.question && this.question.pasteResolveOldToNewValues(e3), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.noMatches && this.noMatches.forEach((t3) => t3.pasteReIdOrRename(e3)), this.question && this.question.pasteReIdOrRename(e3), this.customizeNoMatch && this.customizeNoMatch.pasteReIdOrRename(e3), this.noMatchReprompts && this.noMatchReprompts.pasteReIdOrRename(e3); - } }, noMatch: { enumerable: false, get: function() { - return this.noMatches && this.noMatches[0]; - }, set: function(e3) { - this.noMatches = [e3]; - } }, noMatches: { enumerable: true, get: function() { - return this._noMatches; - }, set: function(e3) { - this._noMatches = this.reviveArray(e3, r2); - } }, question: { enumerable: true, get: function() { - return this._question; - }, set: function(e3) { - this._question = this.reviveItem(e3, r2); - } }, customizeNoMatch: { enumerable: true, get: function() { - return this._customizeNoMatch; - }, set: function(e3) { - this._customizeNoMatch = this.reviveItem(e3, r2); - } }, noMatchReprompts: { enumerable: true, get: function() { - return this._noMatchReprompts; - }, set: function(e3) { - this._noMatchReprompts = this.reviveItem(e3, r2); - } }, knowledgeSearchResult: { enumerable: true, get: function() { - return this._knowledgeSearchResult; - }, set: function(e3) { - this._knowledgeSearchResult = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 66134: (e2, t2, i2) => { + validate(e3) { + this.audioExpression.validate(e3); + } + initializeDesignTime() { + this.audioExpression.initializeDesignTime(); + } + }, n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(); + }, 58668(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(88827)), r2 = i2(30801); - class o extends n2.default { + const n2 = i2(31635), o = i2(43212), r = n2.__importDefault(i2(27579)); + class a extends o.BaseConfigurationListViewModel { constructor(e3) { - super(e3), this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId), this._participantId = this.coreFactory.createArchWrapper(e3.participantId), this._attributeVariableValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + super(e3), this._errorSchema = (0, r.default)(["ActionInvocationLimitExceeded"]); } - get _actionTypeId() { - return r2.getConversationDataActionType; + get id() { + return this.model.id; } - get displayTypeName() { - return this._scriptingName; + getConfiguration() { + return this.model; } - addAttributeNameOutputValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameOutputValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("variableExpression", "addAttributeNameOutputValuePair"), t3, true), this._attributeVariableValuePairs._addNameValueAssignment(e3, t3, true, false); + get label() { + return this.model.name || ""; } - get conversationId() { - return this._conversationId; + get name() { + return this.model.name; } - get participantId() { - return this._participantId; + get errorSchema() { + return this._errorSchema; } - get isArchActionGetConversationData() { - return true; + get className() { + return "AudioConnectorViewModel"; } } - t2.default = o; - }, 66182: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { sendAutoReplyActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _from: { writable: true }, _replyTo: { writable: true }, _cc: { writable: true }, _bcc: { writable: true }, _messageBody: { writable: true }, _attachments: { writable: true } }), this.replyToSenderOnly = void 0, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.from.pasteReIdOrRename(e3), this.replyTo.pasteReIdOrRename(e3), this.cc.pasteReIdOrRename(e3), this.bcc.pasteReIdOrRename(e3), this.messageBody.pasteReIdOrRename(e3), this.attachments?.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.from.pasteResolveOldToNewValues(e3), this.replyTo.pasteResolveOldToNewValues(e3), this.cc.pasteResolveOldToNewValues(e3), this.bcc.pasteResolveOldToNewValues(e3), this.messageBody.pasteResolveOldToNewValues(e3), this.attachments?.pasteResolveOldToNewValues(e3); - } }, from: { enumerable: true, get: function() { - return this._from; - }, set: function(e3) { - this._from = this.reviveItem(e3, r2); - } }, replyTo: { enumerable: true, get: function() { - return this._replyTo; - }, set: function(e3) { - this._replyTo = this.reviveItem(e3, r2); - } }, cc: { enumerable: true, get: function() { - return this._cc; - }, set: function(e3) { - this._cc = this.reviveItem(e3, r2); - } }, bcc: { enumerable: true, get: function() { - return this._bcc; - }, set: function(e3) { - this._bcc = this.reviveItem(e3, r2); - } }, messageBody: { enumerable: true, get: function() { - return this._messageBody; - }, set: function(e3) { - this._messageBody = this.reviveItem(e3, r2); - } }, attachments: { enumerable: true, get: function() { - return this._attachments; - }, set: function(e3) { - 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), 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(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 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, 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); - const x = F.addAction(o, L); - x.name = g.legacyRouting.actionDecisionFoundQueueName, x.expression.setAsExpression("!IsNotSetOrEmpty(Flow.legacyQueue)"); - const k = x.getBranch(m.yes).addAction(T); - k.name = g.legacyRouting.actionTransferToACDName, k.queues.items[0].mode = l.expression, k.queues.items[0].setText("Flow.legacyQueue"); - }; - }, 66299: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getOAuthClientInfo = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(30068)), o = n2.__importDefault(i2(36019)); - t2.getOAuthClientInfo = o.default.request("GET", "{public-api.apps}/api/v2/oauth/clients/{clientId}", r2.default); - }, 66314: (e2, t2, i2) => { + t2.default = a; + }, 44552(e2, t2, i2) { "use strict"; - 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; - }, t2.getCustomJsonNamespaceLabel = function(e3) { - if (!e3) return ""; - switch (e3) { - case s.CustomJsonNamespace.architect: - return "Architect"; - case s.CustomJsonNamespace.architectFlow: - return o.architect.architectFlowLabel; - case s.CustomJsonNamespace.botConnector: - return c.botConnector.botConnector; - case s.CustomJsonNamespace.composerScript: - return c.createCallback.script; - case s.CustomJsonNamespace.conversationAttribute: - return c.conversationAttribute.conversationAttributeLabel; - case s.CustomJsonNamespace.dataAction: - return c.dataTable.dataTable; - case s.CustomJsonNamespace.decisionTable: - return c.decisionTable.decisionTableLabel; - case s.CustomJsonNamespace.externalContact: - return o.externalContact.label; - case s.CustomJsonNamespace.structuredParticipantData: - return o.structuredParticipantData.label; - case s.CustomJsonNamespace.userDefined: - return o.architect.userDefinedLabel; - case s.CustomJsonNamespace.worktype: - return c.workitem.worktypeLabel; - default: - return `*${e3}`; + Object.defineProperty(t2, "__esModule", { value: true }), t2.AudioFormatViewModel = void 0; + const n2 = i2(31635), o = i2(55299), r = i2(73250), a = i2(56004), s = i2(56004), l = i2(80295), u = i2(17604), c = n2.__importDefault(i2(41510)); + class d extends o.BaseClass { + static create(e3) { + return d._validateFormatData(e3), new d(e3); } - }, t2.getCustomJsonNamespaceSupportsContext = p, t2.getCustomJsonInfoForDataTypeStr = function(e3) { - var i3; - let n3, r3; - 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 ? c2 = e4[1] : (c2 = e4[1].substring(0, t3), n3 = a.CustomJsonContext[e4[1].substring(t3 + 1)]); - } else c2 = e4[1]; - r3 = e4[1]; + constructor(e3) { + super(), this._data = e3, (0, l.makeUnenumerable)(this, "_data"); } - 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 c = i2(47957); - function d(e3) { - return (null == e3 ? void 0 : e3.startsWith(t2.CUSTOM_JSON_PREFIX)) && e3.indexOf("::") > 0; - } - function p(e3) { - switch (e3) { - case s.CustomJsonNamespace.conversationAttribute: - case s.CustomJsonNamespace.decisionTable: - return true; - default: - return false; + get className() { + return "AudioFormatViewModel"; } - } - }, 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get isAudioFormatViewModel() { + return true; } - static get managedProperties() { - 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 }); + get sampleRate() { + if (this.supportsFrequency) return this._sampleRate; } - } - 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), 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; + get is8KSampleRate() { + return this.sampleRate === r.defaultPromptResourceAudioSampleRateHz; } - _createBotFlowSettings() { - return new _.default(this); + get _sampleRate() { + return this._data.sampleRate; } - get className() { - return "VoiceSurveyFlowViewModel"; + get kHz() { + const e3 = this.sampleRate; + if (void 0 !== e3) return e3 / 1e3; } - getFlowConfigurationClass() { - return g; + get hasHz() { + return void 0 !== this.sampleRate; } - get overrideWireFlowConfiguration() { - return m.getVoiceSurveyFlowConfiguration; + get hasKHz() { + return void 0 !== this.kHz; } - get overrideWireFlowVersionConfiguration() { - return m.getVersionVoiceSurveyFlowConfiguration; + get channels() { + return this._channels; } - buildConfiguration(e3, t3, i3) { - var 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 _channels() { + return this._data.channels; } - get stateViewModel() { - return d.default; + get isMono() { + return 1 === this.channels; } - get type() { - return r2.flowTypes.flowTypeVoiceSurvey; + get isStereo() { + return 2 === this.channels; } - _createInitialActions() { - return n2.__awaiter(this, void 0, void 0, function* () { - return this; - }); + get bitsPerSample() { + if (this.supportsBitsPerSample) return this._bitsPerSample; } - get wrappedYamlName() { - return "voiceSurvey"; + get _bitsPerSample() { + return this._data.bitsPerSample; } - get statesYamlPropertyName() { - return "bots"; + get hasBitsPerSample() { + return void 0 !== this.bitsPerSample; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, c.scopes.form]; + get encoding() { + return this._encoding; } - get surveyForm() { - return this.voiceSurveyFlowSettings.archSurveyForm; + get _encoding() { + return this._data.encoding; } - _getFlowManagedSlotToSlotHandlingMap() { - return this._flowManagedSlotHandling || (this._flowManagedSlotHandling = (0, u.getSurveyFormSlotHandlingMap)(this.voiceSurveyFlowSettings.archSurveyForm)), this._flowManagedSlotHandling; + get supportsFrequency() { + return (0, s.encodingSupportsFrequency)(this.encoding); } - get isVoiceSurveyFlow() { - return true; + get supportsBitsPerSample() { + return (0, a.encodingSupportsBitsPerSample)(this.encoding); } - setAnswerOptionDtmf(e3, t3) { - var i3, n3, r3; - const u2 = null === (i3 = this.voiceSurveyFlowSettings) || void 0 === i3 ? void 0 : i3.archSurveyForm; - if (!u2) return false; - 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 == 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, 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), d2.dtmf = t3, f2; + 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; } - } - t2.default = f; - }, 66355: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.pluck = void 0; - var n2 = i2(26872); - t2.pluck = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = e3.length; - if (0 === i3) throw new Error("list of properties cannot be empty."); - return n2.map(function(t4) { - for (var n3 = t4, r2 = 0; r2 < i3; r2++) { - var o = null == n3 ? void 0 : n3[e3[r2]]; - if (void 0 === o) return; - n3 = o; - } - return n3; - }); - }; - }, 66359: (e2, t2, i2) => { - "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/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) { - return e3 && 0 !== e3.length ? ((function(e4, t4) { - o.default.each(e4, function(i3, n3) { - void 0 === e4[n3] || null === e4[n3] ? e4[n3] = "" : t4 && (e4[n3] = i3.replace(/ /g, " ")); - }); - })(e3, t3), 1 === e3.length ? e3[0] : e3.join(s.default.itemListing.sentenceSeparator)) : ""; - }, t2.getStringContainsValidCharacter = function(e3, t3) { - if (!(null == e3 ? void 0 : e3.length)) return false; - if (t3) { - for (const t4 of e3.split("")) if (t4 >= "0" && t4 <= "9") return true; + get _bitrateBps() { + return this._data.bitrateBps; } - for (const t4 of e3.split("")) if (t4 >= "A" && t4 <= "Z" || t4 >= "a" && t4 <= "z" || t4 >= "\xC0" && t4 <= "\xD6" || t4 >= "\xD8" && t4 <= "\xF6" || t4 >= "\xF8" && t4 <= "\u1FFF" || t4 >= "\u3040" && t4 <= "\u318F" || t4 >= "\u3300" && t4 <= "\u337F" || t4 >= "\u3400" && t4 <= "\u3D2D" || t4 >= "\u4E00" && t4 <= "\u9FFF" || t4 >= "\uF900" && t4 <= "\uFAFF" || t4 >= "\uFF00" && t4 <= "\uFFDC") return true; - return false; - }, t2.getOperandListDisplayString = function(e3, t3) { - if (!e3 || o.default.isEmpty(e3)) return ""; - const i3 = []; - return o.default.each(e3, function(e4) { - i3.push(e4.getErrorDisplayText()); - }), (0, l.getListDisplayString)(i3, false, t3); - }, t2.getFlowTypesDisplayString = function(e3, t3) { - if (!e3 || o.default.isEmpty(e3)) return ""; - const i3 = []; - return o.default.each(e3, function(e4) { - i3.push(a.default.getFlowTypeDisplayName(e4)); - }), (0, l.getListDisplayString)(i3, false, t3); - }, t2.getListOfFlowIds = function(e3) { - if (!e3 || !o.default.isArray(e3)) return ""; - const t3 = o.default.pluck(e3, "id"); - return (0, l.getListDisplayString)(t3, false); - }, t2.utf8EncodedSizeExceedsMax = function(e3, t3) { - 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, 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; - }, t2.convertPascalToCamelCase = function(e3) { - return (null == e3 ? void 0 : e3.length) ? e3.charAt(0).toLowerCase() + (e3.slice(1) || "") : null != e3 ? e3 : ""; - }, t2.escapeForCssToken = function(e3) { - 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), c = i2(33951), d = i2(29269), p = i2(47957), _ = "stringUtilities"; - }, 66418: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get bitrateKbps() { + const e3 = this.bitrateBps; + if (void 0 !== e3) return e3 / 1e3; } - get _globalTypeName() { - return "listPicker"; + get hasBitrateKbps() { + return void 0 !== this.bitrateKbps; } - get displayTypeName() { - return "ArchValueListPickerItem"; + get frequencyHzDisplayStr() { + if (this.hasHz) return (0, u.sprintf)(c.default.audio.frequencyInHz, this.sampleRate); } - get isArchValueListPickerItem() { - return true; + get frequencyKHzDisplayStr() { + if (this.hasKHz) return (0, u.sprintf)(c.default.audio.frequencyInKHz, d._formatKHzNumericValue(this.kHz)); } - get title() { - return this._getAssignableProperty("title"); + get bitsPerSampleDisplayStr() { + if (this.hasBitsPerSample) return (0, u.sprintf)(c.default.audio.bitsPerSample, this.bitsPerSample); } - get subtitle() { - return this._getAssignableProperty("subtitle"); + get bitrateKbpsDisplayStr() { + if (this.hasBitrateKbps) return (0, u.sprintf)(c.default.audio.bitrateInKbps, this.bitrateKbps); } - get image() { - return this._getAssignableProperty("image"); + 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); } - setLiteralListPickerItem(e3, t3, i3) { - this.title.setLiteralString(e3), t3 && this.subtitle.setLiteralString(t3), i3 && this.image.setLiteralByImageNameAsync(i3); + 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.default = r2; - }, 66445: (e2, t2, i2) => { - function n2() { - Object.defineProperties(this, { _dateCreated: { writable: true }, _dateModified: { writable: true } }), this.description = void 0, this.sources = void 0, this.searchSetting = void 0, this.generationSetting = void 0, this.stateful = void 0, this.dateCreated = void 0, this.dateModified = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(52722).extend(n2, "KnowledgeSetting"), Object.defineProperties(n2.prototype, { dateCreated: { get: function() { - return this._dateCreated; - }, set: function(e3) { - const t3 = Date.parse(e3); - this._dateCreated = isNaN(t3) ? void 0 : e3; - } }, dateModified: { get: function() { - return this._dateModified; - }, set: function(e3) { - const t3 = Date.parse(e3); - this._dateModified = isNaN(t3) ? void 0 : e3; - } }, isKnowledgeSettingModel: { get: () => true } }), e2.exports = n2; - }, 66590: (e2, t2, i2) => { + t2.AudioFormatViewModel = d, t2.default = d; + }, 96353(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 = n2.__importDefault(i2(4648)), c = i2(47957); - class d extends s.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + t2.AudioViewModel = void 0; + const n2 = i2(31635), o = i2(17604), r = 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)), I = n2.__importStar(i2(1115)), C = i2(73381), O = 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 O.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, y.addOutOfServiceProperties)(this), h.audioRegistrationService.registerItem(this); } - } - 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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(88827)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3), this._externalId = this.coreFactory.createArchWrapper(e3.externalId), this._externalResult = this.coreFactory.createArchWrapper(e3.externalResult); + get id() { + return this._id; } - get _actionTypeId() { - return r2.getExternalContactActionType; + get className() { + return "AudioViewModel"; } - get displayTypeName() { - return this._scriptingName; + _createAudioCase(e3) { + e3.audioExpression = this._prepareModel(e3, "audioExpression"); + 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 C.AudioCaseViewModel(this.parentFlow, this, e3, t3); } - get isArchActionGetExternalContact() { - return true; + _prepareModel(e3, t3) { + return e3[t3] && !r.default.isEmpty(e3[t3]) || (e3[t3] = new d.default()), e3[t3]; } - get externalId() { - return this._externalId; + _initialize() { + this.model.cases || (this.model.cases = []), r.default.each(this.model.cases, (e4) => { + const t3 = this._createAudioCase(e4); + this.cases.push(t3), this.initializeDesignTimeCalled && t3.initializeDesignTime(); + }); + 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"), 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; } - get externalResult() { - return this._externalResult; + initializeDesignTime() { + this._defaultAudio.initializeDesignTime(), this.flushExpression.initializeDesignTime(), this.bargeInExpression && this.bargeInExpression.initializeDesignTime(), this.cases.forEach((e3) => e3.initializeDesignTime()), super.initializeDesignTime(); } - } - t2.default = o; - }, 66663: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.buildWorkitemFlow = function(e3) { - const t3 = e3.states[0]; - if (t3) { - let e4 = 0; - for (; t3.actions.length && e4 < 512; ) t3.deleteChild(t3.actions[0]), e4++; + addAudioCase(e3) { + 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; } - e3.definition.supportsFlowInvokingEvent(s.FlowInvokingEvent.workitemCreated) && (function(e4) { - const t4 = f(e4, s.FlowInvokingEvent.workitemCreated, true); - g(e4, r2.decisionActionType, e4.startUpObject, (i3) => { - 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, c.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemCreated), e5.containerActionProperty.setReference(t4); + addClipboardDependencies(e3) { + try { + e3.copyCutSetSupportedFlowTypeFilter(this.supportedFlowTypes); + const t3 = this.supportedFlowTypes; + this.defaultAudio.addClipboardDependencies(e3, t3), this.cases.forEach((i3) => { + i3.addClipboardDependencies(e3, t3); }); + } finally { + e3.copyCutResetSupportedFlowTypeFilter(); + } + } + allPromptsHaveAudio() { + return this._defaultAudio.allPromptsHaveAudio() && this.cases.every((e3) => e3.disabled || e3.audioExpression.allPromptsHaveAudio()); + } + checkVersion(e3) { + this.defaultAudio.checkVersion(e3), this.cases.forEach((t3) => { + t3.checkVersion(e3); }); - })(e3), e3.definition.supportsFlowInvokingEvent(s.FlowInvokingEvent.workitemStatusChanged) && (function(e4) { - var t4; - const i3 = []; - let o2 = []; - (null === (t4 = e4.workitemFlowSettings.worktype.statuses) || void 0 === t4 ? void 0 : t4.length) && (o2 = e4.workitemFlowSettings.getDisplayableListOfStatuses(), o2.forEach((t5) => { - const n3 = f(e4, t5.displayString); - i3.push(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, 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) { - m.error(`Only adding first ${p.switchActionCaseLimits.numMaxCases} statuses out of ${o2.length}`); - break; - } - r4 > 0 && t6.addCase(false), t6.cases.items[r4].value.setAsLiteral(o2[r4].displayString), g(e4, n2.callTaskActionType, t6.branches[r4], (e5) => { - e5.name = i3[r4].name, e5.containerActionProperty.setReference(i3[r4]); - }); - } - }); + } + copyAudioViewModel(e3) { + this.defaultAudio.copyExpressionValue(e3.defaultAudio), this._destroyCases(), e3.cases.forEach((e4) => { + this.addAudioCase(e4.langCode).audioExpression.copyExpressionValue(e4.audioExpression); }); - })(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, 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) { - m.error(`Only adding first ${p.switchActionCaseLimits.numMaxCases} tasks out of ${t4.length}`); - break; - } - e5 > 0 && i4.addCase(false), i4.cases.items[e5].value.setAsLiteral(t4[e5].name); - } - g(e4, o.endTaskActionType, a2, (e5) => { - e5.name = (0, c.sprintf)(h.workitem.worktypeEndStatusTask, s.FlowInvokingEvent.workitemDateBasedEvent); - const t5 = a2.getBranchByOutputId(u.outputIds.default); - e5.linkPath(t5); - }); - }), g(e4, r2.decisionActionType, e4.startUpObject, (t5) => { - 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, c.sprintf)(h.workitem.worktypeCallTaskLabel, s.FlowInvokingEvent.workitemDateBasedEvent), e5.containerActionProperty.setReference(a2); + } + clearCases() { + this.defaultAudio && (r.default.each(this.defaultAudio.sequenceItems, (e3) => { + this.defaultAudio.deleteSequenceItem(e3); + }), this.defaultAudio.clear(true)), r.default.each(this.cases, (e3) => { + r.default.each(e3.audioExpression.sequenceItems, (t3) => { + e3.audioExpression.deleteSequenceItem(t3); + }), e3.audioExpression.clear(true); + }); + } + get defaultAudio() { + return this._defaultAudio; + } + get defaultAudioLanguages() { + const e3 = []; + if (0 === this.cases.length) { + const t3 = this.parentFlow ? this.parentFlow.topParentFlow.languages.supportedLanguages : []; + r.default.each(t3, (t4) => { + e3.push(v.getLanguageEntry(t4)); }); + } else r.default.each(this.cases, (t3) => { + t3.disabled && this.parentFlow.topParentFlow.languages.getSupportedLanguageOption(t3.langCode) && e3.push(v.getLanguageEntry(t3.langCode)); }); - })(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), 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); - if (1 === e3.states[0].actions.length) { - const t4 = e3.flowSequenceItemList[0]; - t4.actionList = [r3], t4.startAction = r3.id; - } - n3 && n3(r3); - } catch (e4) { - m.exception(e4, `failed to create ${t3} action`); + return e3; } - } - function f(e3, t3, i3, n3) { - 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, c.sprintf)(h.workitem.worktypeEndStatusTask, t3); - const i4 = a2.getBranches().find((e5) => e5.outputId === u.outputIds.default); - e4.linkPath(i4); - }), a2; - } - }, 66693: (e2, t2, i2) => { - const n2 = i2(36577); - function r2() { - Object.defineProperties(this, { _nextUri: { value: void 0, writable: true } }), r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "KnowledgeBaseDocumentList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } }, nextUri: { get: function() { - return this._nextUri; - }, set: function(e3) { - this._nextUri = e3; - } } }), e2.exports = r2; - }, 66700: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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 !== l.botStateActionType && (t3 = new _(t3)), this._loadModel(t3); + _destroyCases() { + r.default.each(this.cases, (e3) => { + e3.destroy(); + }), this.cases.length = 0, this.bargeInExpression && this.bargeInExpression.destroy(), this.flushExpression.destroy(); } - static loadSequenceItemListForModel(e3, t3) { - if (t3) { - 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); + _destroy() { + this.defaultAudio.destroy(), this._destroyCases(), this._outOfServiceProvider.destroy(), h.audioRegistrationService.unregisterItem(this); + } + getCaseForLang(e3, t3) { + let i3 = r.default.findWhere(this.cases, { langCode: e3 }); + return t3 || i3 || (i3 = this.defaultAudio), i3; + } + getExpressionDescription() { + if (this.hasError) return V.audio.advancedAudioInError; + { + let e3 = 0; + return r.default.each(this.cases, (t3) => { + t3.hasAudioSet && !t3.disabled && 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, o.sprintf)(V.audio.advancedAudioInUse, e3)); } - return false; } - get nodeGuxIcon() { - return "fa/microchip-solid"; + getDescription() { + if (this.isBasicMode) { + if (this.defaultAudio.isPromptOnly) { + const e3 = S.getItem(this.defaultAudio.sequenceItems[0].parameter); + return e3 ? e3.expressionName : ""; + } + if (this.defaultAudio.isPromptVariableOnly) { + const e3 = this.parentFlow.getVariable(this.defaultAudio.sequenceItems[0].variableId); + return e3 ? e3.name : ""; + } + return this.defaultAudio.isTTSOnly ? this.defaultAudio.sequenceItems[0].parameter : ""; + } + return this.getExpressionDescription(); } - get isStateLike() { - return true; + getEditPromptSaveCallback() { + let e3; + const t3 = this.parent && this.parent.startUpObject || null; + return t3 && t3.validate ? e3 = I.validateNode.bind(this, t3, false) : this.parent && this.parent.validate && (e3 = I.validateNode.bind(this, this.parent, false)), e3; } - get isBotState() { - return true; + getExpressionLabel(e3) { + return (0, o.sprintf)(N.default.audio.languageLabel, this.label, e3); } - get resources() { - return { noTerminatingAction: p.botStates.noTerminatingAction, startUpDisplayName: p.startUpBotStateDisplayName }; + getAllPrompts() { + let e3 = this.getPromptsUsedForLang(); + return this.cases.forEach((t3) => { + e3 = r.default.union(e3, this.getPromptsUsedForLang(t3.langCode)); + }), e3; } - get defaultVariableScope() { - return a.scopes.flow; + getConfiguration(e3, t3) { + 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 = {}; + let n3; + const o2 = this.defaultAudio.getConfiguration(e3, t3); + return o2 && (r.default.extend(i3, o2), n3 = true), r.default.each(this.cases, (o3) => { + if (!o3.hasAudioSet) return; + if (o3.disabled) return; + i3.alternateSequences || (i3.alternateSequences = {}); + const a2 = o3.audioExpression.getConfiguration(e3, t3); + r.default.isNullOrUndefined(a2) || (i3.alternateSequences[o3.langCode.toLowerCase()] = a2, n3 = true); + }), n3 ? (r.default.isEmpty(i3.alternateSequences) && delete i3.alternateSequences, i3) : null; + } + return this.model; } - get localVariableScope() { - return a.scopes.bot; + getPromptsUsedForLang(e3) { + const t3 = this.getCaseForLang(e3); + return t3 ? (t3.hasAudioSet ? t3.audioExpression || t3 : this.defaultAudio).getOrderedPrompts() : []; } - get isAllowedAsStartupNode() { - return true; + getFirstExpressionWithParseMessage() { + if (this.defaultAudio.resultMessage && this.willMainSequenceRun()) return this.defaultAudio; + const e3 = r.default.find(this.cases, (e4) => !e4.disabled && e4.audioExpression.resultMessage); + return null == e3 ? void 0 : e3.audioExpression; } - get containerLabel() { - return p.actions.botState; + get hasAudioSet() { + return !!r.default.some(this.cases, function(e3) { + return e3.audioExpression.hasAudioSet; + }) || this.defaultAudio.hasAudioSet; } - get supportsInputVariables() { - return false; + get hasError() { + return !(!this.defaultAudio.hasError || !this.willMainSequenceRun()) || r.default.some(this.cases, (e3) => !e3.disabled && e3.audioExpression.hasError); } - get supportsOutputVariables() { - return false; + get hasInfo() { + return !(!this.defaultAudio.hasInfo || !this.willMainSequenceRun()) || r.default.some(this.cases, (e3) => !e3.disabled && e3.audioExpression.hasInfo); } - get uiMetaDataSectionName() { - return "bot"; + get isEmpty() { + return !(this.hasError || !this.isOptional || this.defaultAudio.customExpressionMode || !this.willMainSequenceRun()) && (!this.defaultAudio.hasSequenceItems || this.defaultAudio.isTTSOnly && !this.defaultAudio.hasAudioSet); } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3), e3.copyCutProcessStateViewModel(this); + get hasWarning() { + return this.isEmpty || this.defaultAudio.hasWarning && this.willMainSequenceRun(); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(16864)), r2 = i2(92908); - class o extends n2.default { - get className() { - return "BuilderPartWithVariableFormattingViewModel"; + get isAudioViewModel() { + return true; } - getVariableFormattingMetadataForExpression(e3) { - return e3.getUiMetaData(r2.uiMetaDataKey.builderVariableFormattingOptions); + get isBasicMode() { + return !this.noValueMode && !r.default.some(this.cases, (e3) => e3.audioExpression.hasSequenceItems || e3.audioExpression.customExpressionMode) && !this.defaultAudio.customExpressionMode && (!this.defaultAudio.sequenceItems || 0 === this.defaultAudio.sequenceItems.length || this.defaultAudio.isTTSOnly || this.defaultAudio.isPromptOnly || this.defaultAudio.isPromptVariableOnly); } - setVariableFormattingMetadataForExpression(e3, t3) { - e3.setUiMetaData(r2.uiMetaDataKey.builderVariableFormattingOptions, t3), this.builderViewModel.postUpdateOwningExpression(); + get isOptional() { + return this.options.isOptional; } - } - t2.default = o; - }, 66753: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(10798)), o = n2.__importDefault(i2(4648)), a = n2.__importDefault(i2(92140)), s = i2(47957), l = new class { - constructor() { - this.voiceSnippetService = { id: "voiceSnippetService", displayString: s.submitVoiceSnippet.voiceSnippetServiceLabel, submissionReturnsSnippetIdentifier: false, featureConfig: o.default.voiceSnippets }, this._allPossibleSnippetDestinations = [this.voiceSnippetService]; + set isOptional(e3) { + this.options.isOptional = e3; } - _isSnippetDestinationAvailable(e3) { - return !e3.featureConfig || r2.isFeatureAvailable(e3.featureConfig); + get noValueMode() { + return this.model.uiMetaData && this.model.uiMetaData.noValueMode; } - getDestination(e3) { - return a.default.find(this._allPossibleSnippetDestinations, (t3) => e3 === t3.id); + set noValueMode(e3) { + this.model.uiMetaData || (this.model.uiMetaData = {}), this.model.uiMetaData.noValueMode = e3, e3 ? (this.defaultAudio && (this.defaultAudio.customExpressionMode = false), this.clearCases()) : (this.defaultAudio && this.defaultAudio.updateSequenceExpression(), r.default.each(this.cases, (e4) => { + e4.audioExpression && e4.audioExpression.updateSequenceExpression(); + })); } - get defaultDestinationId() { - if (this._isSnippetDestinationAvailable(this.voiceSnippetService)) return this.voiceSnippetService.id; + getDisplayName() { + return this.label; } - getAvailableDestinations() { - return a.default.filter(this._allPossibleSnippetDestinations, (e3) => this._isSnippetDestinationAvailable(e3)); + get label() { + return this.options.label; } - getAvailableDestinationIds() { - return a.default.pluck(this.getAvailableDestinations(), "id"); + set label(e3) { + this.options.label = e3, this.defaultAudio.label = e3, this.cases.forEach((e4) => { + e4.audioExpression.label = this.getExpressionLabel(e4.langCode); + }); } - }(); - t2.default = l; - }, 66777: (e2, t2, i2) => { - "use strict"; - var n2, r2, o, a, s, l, u; - Object.defineProperty(t2, "__esModule", { value: true }); - 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), 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"); + outOfServiceChanged() { + this.defaultAudio.outOfService = this.outOfService, this.cases.forEach((e3) => { + e3.audioExpression.outOfService = this.outOfService; + }); } - get _actionTypeId() { - return d.sendRichLinkActionType; + reprocessSequenceExpressionText(e3) { + r.default.each(e3.sequenceItems, (e4) => { + const t3 = e4.expression; + t3 && t3.processText(true); + }); } - get displayTypeName() { - return this._scriptingName; + removeAudioCase(e3) { + if (!e3) return; + let t3 = this.model.cases.indexOf(e3.model); + t3 >= 0 && this.model.cases.splice(t3, 1), t3 = this.cases.indexOf(e3), t3 >= 0 && this.cases.splice(t3, 1), e3.destroy(); } - get isArchActionSendRichLink() { - return true; + search(e3) { + e3.addToQueue(this.defaultAudio), this.cases.forEach((t3) => e3.addToQueue(t3)); } - get body() { - return c.__classPrivateFieldGet(this, a, "f"); + get uiMetaData() { + return this.model.uiMetaData; } - get footer() { - return c.__classPrivateFieldGet(this, s, "f"); + set uiMetaData(e3) { + this.model.uiMetaData = e3; } - get headerType() { - return c.__classPrivateFieldGet(this, n2, "f"); + updateCases() { + const e3 = this.parentFlow ? this.parentFlow.languages.supportedLanguages : []; + if (e3.length <= 1) { + for (let e4 = this.cases.length - 1; e4 >= 0; --e4) this.removeAudioCase(this.cases[e4]); + this.defaultAudio.options.setIsOptional(!!this.isOptional), this.defaultAudio.renamePromptVariables(); + } else { + for (let e4 = this.cases.length - 1; e4 >= 0; --e4) this.parentFlow && !this.parentFlow.languages.isFlowSupportedLanguage(this.cases[e4].langCode) && this.removeAudioCase(this.cases[e4]); + r.default.each(e3, (e4) => { + r.default.find(this.cases, (t3) => t3.langCode.toLowerCase() === e4.toLowerCase()) || this.addAudioCase(e4); + }), this.defaultAudio.options.setIsOptional(this.isOptional || !this.willMainSequenceRun()), this.defaultAudio.renamePromptVariables(); + } + this.parentFlow.isEmbeddedFlow && this.cases.forEach((e4) => { + e4.audioExpression.outOfService = !this.topParentFlow.languages.isFlowSupportedLanguage(e4.langCode); + }), this.updateBargeInOOS(); } - get headerText() { - return c.__classPrivateFieldGet(this, r2, "f"); + updateBargeInOOS() { + this.bargeInExpression && (0 === this.cases.length ? this.bargeInExpression.outOfService = this.defaultAudio.customExpressionMode : this.bargeInExpression.outOfService = false); } - get headerImage() { - return c.__classPrivateFieldGet(this, o, "f"); + updateDependencies() { + const e3 = [], t3 = (t4) => { + t4.customExpressionMode ? e3.push({ expression: t4, type: l.expression }) : e3.push(t4.sequenceItems); + }; + r.default.each(this.cases, (e4) => { + t3(e4.audioExpression); + }), t3(this.defaultAudio), r.default.each(r.default.flatten(e3), (e4) => { + switch (e4.type) { + case l.tts: + case l.data: + break; + case l.prompt: + const t4 = e4; + T.registerPrompt(A.removePrefix(t4.name), t4.isSystem ? k.SystemPrompt : k.UserPrompt, this._defaultAudio.parentFlow, t4.parameter); + break; + case l.expression: + e4.expression.registerDependencies(); + } + }); } - get sendRichLinkOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + updateExpression(e3) { + this.cases.forEach((t3) => { + t3.audioExpression.updateSequenceExpression(e3); + }), this._defaultAudio.updateSequenceExpression(e3); } - get urlLabel() { - return c.__classPrivateFieldGet(this, u, "f"); + validate(e3) { + this.outOfService || (this.updateCases(), this.defaultAudio.validate(e3), this.options.supportsBargeInExpression && this.bargeInExpression.validate(e3), this.flushExpression.validate(e3), r.default.each(this.cases, (t3) => { + t3.disabled || t3.validate(e3); + }), this.isEmpty && !this.noValueMode && this.options.allowBlankAudio && e3.addWarning(this, (0, o.sprintf)(V.audio.blankMainSeqWarningContext, this.label), void 0, true)); } - get urlValue() { - return c.__classPrivateFieldGet(this, l, "f"); + willMainSequenceRun() { + return 0 === this.cases.length || !r.default.every(this.cases, (e3) => !e3.disabled && e3.hasAudioSet); } - } - 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 = _; - }, 66791: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + 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); + }); } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.endWith = void 0; - var o = i2(39546), a = i2(61587); - t2.endWith = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return function(t4) { - return o.concat(t4, a.of.apply(void 0, r2([], n2(e3)))); - }; - }; - }, 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)), c = i2(47957), d = i2(27862); - class p extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.responseAssetView; + _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); } - get dependencyType() { - return d.DigitalAudio; + _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, o.sprintf)(L.configureFromModel.expectedObject, `alternateSequences['${e4}']`, Array.isArray(n3) ? "array" : typeof n3))); + const r2 = this._findOrCreateAudioCaseForLanguage(e4, t3); + if (!r2) return; + if (!(0, D.shouldProceedWithOosAssignment)(r2.audioExpression, t3)) return; + const a2 = n3; + if (this._applySequenceToAudioExpression(a2, r2.audioExpression, t3) && (r2.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(); } - 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 = c.generic.digitalAudio, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "digitalAudios", this.useStartsWithKeywordForExactMatch = true, this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(); + _findOrCreateAudioCaseForLanguage(e3, t3) { + var i3, n3, a2; + const s2 = (e3 || "").toLowerCase(), l2 = r.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, o.sprintf)(L.configureFromModel.skipAlternateSequenceUnsupportedLanguage, e3)); } - _createItemViewModel(e3) { - return new u.default(e3); + _applySequenceToAudioExpression(e3, t3, i3) { + var n3; + let o2 = false; + if ("string" == typeof e3.tts) t3.setTTSOnly(e3.tts), o2 = true; + else if ("string" == typeof e3.exp) t3.setExpressionOnly(e3.exp), o2 = true; + else if ("string" == typeof e3.prompt) { + const r2 = e3.prompt; + if (t3.setExpressionOnly(r2), (null == i3 ? void 0 : i3.entityResolver) && r2.trim().length > 0) { + const e4 = A.hasSystemPromptPrefix(r2) ? "systemPrompt" : "userPrompt", o3 = null === (n3 = t3.sequenceItems[0]) || void 0 === n3 ? void 0 : n3.expression; + o3 && (0, M.registerDeferredNetworkLiteralResolution)(i3, { entityType: e4, lookupValue: A.removePrefix(r2.trim()), lookupValueType: F.entityLookupValueType.name, targetExpression: o3 }); + } + o2 = true; + } + return o2 && f.fireEvent(t3, g.sequenceItemsUpdated), o2; + } + getExpressions() { } } - t2.DigitalAudioManager = p, t2.digitalAudioManager = new p(); - }, 66816: (e2, t2, i2) => { + 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"]); + }, 43212(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + t2.BaseConfigurationListViewModel = void 0; + const n2 = i2(55299), o = i2(80295); + class r extends n2.BaseClass { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "grammarCollection"; - } - get displayTypeName() { - return "ArchVariableGrammarCollection"; + super(), this.isFlowCachedVersion = false, (0, o.makeUnenumerable)(this, "isFlowCachedVersion"), this.model = e3; } - get initialValue() { - return this._initialValue; + get model() { + return this._model; } - get isArchVariableGrammarCollection() { - return true; + set model(e3) { + this._model = e3; } } - t2.default = r2; - }, 66847: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(73303); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "SpeechToTextEngineList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 66848: (e2, t2, i2) => { - function n2() { - Object.defineProperties(this, { _dateCreated: { writable: true }, _dateModified: { writable: true } }), this.coreLanguage = void 0, this.description = void 0, this.dateCreated = void 0, this.dateDocumentLastModified = void 0, this.dateModified = void 0, this.faqCount = void 0, this.articleCount = void 0, this.contentSearchEnabled = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(52722).extend(n2, "KnowledgeBase"), Object.defineProperties(n2.prototype, { dateCreated: { get: function() { - return this._dateCreated; - }, set: function(e3) { - const t3 = Date.parse(e3); - this._dateCreated = isNaN(t3) ? void 0 : e3; - } }, dateModified: { get: function() { - return this._dateModified; - }, set: function(e3) { - const t3 = Date.parse(e3); - this._dateModified = isNaN(t3) ? void 0 : e3; - } }, isKnowledgeBaseModel: { get: () => true } }), e2.exports = n2; - }, 66852: (e2, t2, i2) => { - "use strict"; - var n2, r2, o = i2(85697); - i2(61897), e2.exports = function(e3) { - var t3 = "", i3 = Math.floor(1e-3 * (Date.now() - 1567752802062)); - return i3 === r2 ? n2++ : (n2 = 0, r2 = i3), t3 += o(7), t3 += o(e3), n2 > 0 && (t3 += o(n2)), t3 + o(i3); - }; - }, 66872: (e2, t2, i2) => { + t2.BaseConfigurationListViewModel = r; + }, 17102(e2, t2, i2) { "use strict"; + var n2, o, r, a, s, l; Object.defineProperty(t2, "__esModule", { value: true }); - 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"), T.default), e3.coreFactory.createArchWrapper(u.default.getDefinitionForFlowType(e3._flowType)); - } - constructor(e3) { - super(e3), this.isArchBaseFlow = true, this._coreFlowViewModel = e3; + 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, []), o.set(this, []), r.set(this, void 0), a.set(this, void 0), s.set(this, false), l.set(this, false), this.supportsInitializeDesignTime = true, u.__classPrivateFieldSet(this, r, e3, "f"), u.__classPrivateFieldSet(this, a, t3 || e3, "f"); } - _addPropToMapIfShouldBeTraversed(e3, t3, i3) { - if ("settingsSupportedLanguages" !== e3 || this.supportsLanguages) return super._addPropToMapIfShouldBeTraversed(e3, t3, i3); + get lastActor() { + return this._lastActor; } - _logAsyncOperationNotification(e3) { - 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.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); + get lastActorWasUser() { + return !this._lastActor; } - _logUrl() { - this.logNote("flow url: " + this.url); + get lastActorWasChangeSet() { + var e3; + return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); } - addVariable(e3, t3, i3, n3) { - return this._addVariable(this, "addVariable", e3, t3, i3, n3); + 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; } - removeVariable(e3) { - const t3 = this._infoParm("archVariable", "removeVariable"); - return this._checkItem(t3, !e3 || !e3.isArchBaseVariable, "you must pass in a valid ArchBaseVariable instance."), this._removeVariable(this, e3); + configureFromModel(e3, t3, i3) { + const n3 = i3.changeSetResults; + (null == n3 ? void 0 : n3.sourceEntityType) && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); } - checkoutAsync(e3, t3) { - 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); - } - this._checkItemIsValidLiteralBool(this._infoParm("forceUnlock", "checkoutAsync"), e3, true); - const i3 = yield a.default._checkoutFlowByFlowInfoAsync(this._getCoreViewModel().info, e3); - return this._getCoreViewModel().info.loadModel(i3._model), T.default.executeCallback(this, "checkoutAsync", t3); - }); + get isBaseFlowElement() { + return true; } - get displayTypeName() { - return "ArchBaseFlow"; + destroy() { + if (this.isDestroying) return false; + if (this.isDestroyed) return false; + this.isDestroying = true; + try { + this._preDestroy(); + } catch (e3) { + m.exceptionWithErrorObjectInfo(e3, "Error in _preDestroy processing.", this, true); + } + try { + this._destroy(); + } catch (e3) { + m.exceptionWithErrorObjectInfo(e3, "Error in _destroy processing.", this, true); + } finally { + this.isDestroyed = true, this.isDestroying = false; + } + try { + this._postDestroy(); + } catch (e3) { + m.exceptionWithErrorObjectInfo(e3, "Error in _postDestroy processing.", this, true); + } + return true; } - get division() { - if (T.default.orgInfo.areDivisionsAvailable) return this.coreFactory.createArchWrapper(this._getCoreViewModel() && this._getCoreViewModel().info ? this._getCoreViewModel().info.divisionViewModel : void 0); + get isDestroying() { + return u.__classPrivateFieldGet(this, l, "f"); } - 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); - } - 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); - }); + set isDestroying(e3) { + u.__classPrivateFieldSet(this, l, e3, "f"); } - get logStr() { - if (!this._coreFlowViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this.isCreated && this._appendLogStrId(e3, this.id), this._createLogStrFromParts(e3); + get isDestroyed() { + return u.__classPrivateFieldGet(this, s, "f"); } - _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); - }); + set isDestroyed(e3) { + u.__classPrivateFieldSet(this, s, e3, "f"); } - _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); + get isDestroyedOrDestroying() { + return u.__classPrivateFieldGet(this, s, "f") || u.__classPrivateFieldGet(this, l, "f"); } - _importYamlFlowContent(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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.`); - }); + _preDestroy() { } - _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, 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); - } - }); + _destroy() { } - unlockAsync(e3) { - 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); - } - 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); - }); + _postDestroy() { + _.cleanUpAutoCleanupWatchList(u.__classPrivateFieldGet(this, n2, "f")), u.__classPrivateFieldGet(this, n2, "f").length = 0, u.__classPrivateFieldGet(this, o, "f").forEach((e3) => e3()), u.__classPrivateFieldGet(this, o, "f").length = 0; } - _deleteExistingFlowByNameAsync() { - 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 J.getFlows(t3); - if (this.name) { - const t4 = this.name.toLowerCase(); - a2 = e4.entities.find((e5) => e5.name && e5.name.toLowerCase() === t4); - } - 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 (!a2) return false; - const u2 = [new h.default(a2)]; - try { - yield s.default.deleteFlows(u2); - const e4 = 3; - 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 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(i3, "deleteExistingFlowByNameAsync"), i3; + addAutoCleanedUpEventListener(e3, t3) { + p.emitter.on(e3, t3), u.__classPrivateFieldGet(this, o, "f").push(() => p.emitter.removeListener(e3, t3)); } - _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; + addAutoCleanedUpSubscription(e3) { + u.__classPrivateFieldGet(this, o, "f").push(() => e3.unsubscribe()); } - _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; + addAutoCleanedUpEventSinkWatch(e3, t3, i3) { + _.addToAutoCleanupWatchList(u.__classPrivateFieldGet(this, n2, "f"), e3, t3, i3); } - _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; - }); + get id() { + return this.className; } - _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; + get parentFlow() { + return u.__classPrivateFieldGet(this, r, "f"); } - _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); + get topParentFlow() { + return u.__classPrivateFieldGet(this, r, "f").topParentFlow; } - _canPublishDeferredSelfReferencesViaStubImport() { - return !this.isCreated && o.archFlowStubbing.canStubFlowType(this.flowType); + get parent() { + return u.__classPrivateFieldGet(this, a, "f"); } - _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); - }); + _resetParent(e3) { + u.__classPrivateFieldSet(this, a, e3, "f"); } - _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); - }); + getNodeName() { + return this.getDisplayName(); } - _repointSelfReferencingBaseCallBotFlowActions(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - for (const t3 of e3) yield t3.setBotFlowReferenceToCallByFlowId(this.id); - }); + getConfiguration(e3, t3, i3) { } - _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); - }); + initializeDesignTime() { + this._initializeDesignTimeCalled = true; } - _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; - } - }); + get initializeDesignTimeCalled() { + return this._initializeDesignTimeCalled; } - _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); - }); + loadConfiguration(e3) { } - _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); - }); + search(e3) { } - _getFlowIsSearchable(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - try { - 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."), T.default.executeCallback(this, e3, r3, false); - } - }); + validate(e3) { } - _getArchFactoryFlows() { - return void 0 === this._archFactoryFlows && (this._archFactoryFlows = i2(89059).default), this._archFactoryFlows; + updateDependencies() { } - _getArchCoreFactory() { - return void 0 === this._archCoreFactory && (this._archCoreFactory = i2(38689).default), this._archCoreFactory; + get isDisplayableNode() { + return true; } - _isFlowSearchableAsync() { - return n2.__awaiter(this, void 0, void 0, function* () { - return void 0 !== (yield this._getArchFactoryFlows().getFlowInfoByFlowNameAsync(this.name, this.flowType, function() { - return true; - })); - }); + get showInFlowSize() { + return this.isDisplayableNode; } - addFlowSupportedLanguage(e3, t3) { - const i3 = this.settingsSupportedLanguages; - return this.logItemVerboseNote(this._infoMethod("addFlowSupportedLanguage"), "Successfully obtained the supportedLanguagesSettings. Forwarding call through to addSupportedLanguage on the languages settings object."), i3.addSupportedLanguage(e3, t3); + getNodeToNavigateToOnDelete() { + let e3 = this.parent; + for (; e3; ) { + if (!e3.isDestroyed) return e3; + e3 = e3.parent; + } + if (this.parentFlow) return this.parentFlow.startUpObject; } - canAddSupportedLanguage() { - return this.settingsSupportedLanguages.canAddSupportedLanguage(); + toString() { + return `class: '${this.className || ""}', id: '${this.id}'`; } - _checkCreationAllowed(e3) { - this.isCreated || this.definition.isCreatable || this.logErrorAndThrow(`${e3} - the flow type '${this.flowType}' does not allow creation of new instances. You can check to see if a flow type allows creation of new instances by checking the 'isCreatable' property on the flow type definition (see ArchDefinitionFlow documentation in help).`); + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), t2.default = g; + }, 74267(e2, t2, i2) { + "use strict"; + t2.BotConnectorVersionViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(43212), a = n2.__importDefault(i2(56133)), s = n2.__importDefault(i2(27579)); + class l extends r.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, s.default)(); } - get isFlowTypeDeprecated() { - return this.definition.isDeprecated; + get className() { + return "BotConnectorVersionViewModal"; } - _checkPublishAllowed(e3) { - return this.isFlowTypeDeprecated && this.logErrorAndThrow(`${e3} - The flow type '${this.flowType}' has been deprecated and can no longer be published.`), true; + get archInternalId() { + return this._model.archInternalId; } - 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..."); - try { - yield s.default.checkInFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this)); - } catch (e4) { - this.logErrorAndThrow(`checkInAsync - check in failed. Error details: ${JSON.stringify(e4)}`); - } - return e3 ? (this.logNote("checkInAsync - checked in. making sure the flow is searchable"), yield this._getFlowIsSearchable("checkInAsync", 20, 3e3, (e4) => (e4 || this.logErrorAndThrow("checkInAsync - checked in flow is not searchable."), this)), this) : (this.logNote("checkInAsync - checked in"), this); - }); + get versionId() { + return this._model.version; } - createAsync() { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._internalCreateAsync(); - }); + get integrationId() { + return this._model.integrationId; } - get _wantValidateBeforeCreate() { - return true; + get botId() { + return this._model.botId; } - _internalCreateAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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, 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 + "'"), 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) { - this._logErrorWithContextAndThrow("createAsync - save failed.", e4); - } - } catch (e4) { - this._logErrorWithContextAndThrow("createAsync - failed to create.", e4); - } - }); + get botName() { + return this._model.name; } - get dataTypes() { - return G.default.getFlowDataTypes(this); + get errorSchema() { + return this._errorSchema; } - get definition() { - return this.coreFactory.createArchWrapper(u.default.getDefinitionForFlowType(this.flowType)); + getConfiguration() { + return this._model; } - get description() { - return this._coreFlowViewModel.info.description; + get id() { + return this._model.id; } - set description(e3) { - this._coreFlowViewModel.description = e3; + get name() { + return this._model.version; } - exportToDirAsync(e3, t3, i3, r3, o2, a2) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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 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); - }); + get label() { + return this._model.version || ""; } - 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, 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 languages() { + return this._model.supportedLanguages; + } + get model() { + return this._model; + } + set model(e3) { + this._model = e3, this.intents = [], this._model.intents && o.default.each(this._model.intents, (e4) => { + this.intents.push(new a.default(o.default.clone(e4))); }); } - get flowType() { - return this._coreFlowViewModel.type; + } + t2.BotConnectorVersionViewModel = l; + }, 33143(e2, t2, i2) { + "use strict"; + t2.BotConnectorViewModel = void 0; + const n2 = i2(43212); + class o extends n2.BaseConfigurationListViewModel { + constructor(e3) { + super(e3); } - _resolveValidatedScriptFileSystemPath(e3, t3) { - 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; + get className() { + return "BotConnectorViewModel"; } - _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; + get botCompositeTag() { + return this._model.botCompositeTag; } - _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; + get botName() { + return this._model.name; } - _getExportFilePath(e3, t3, i3, n3) { - var r3, o2; - 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 = 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 = 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 d2 = H.join(s2, c2); - return this.logNote(`saving flow export to path '${d2}'`), d2; + get dependencySearchId() { + return this.botCompositeTag; } - getExportFilePath(e3, t3, i3) { - return this._getExportFilePath("getExportFilePath", e3, t3, i3); + get id() { + return this._model.id; } - getObjectForTrackingId(e3) { - const t3 = this._infoParm("trackingId", 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); + get integrationId() { + return this._model.integrationId; } - getVariableById(e3) { - this._checkItemIsValidLiteralString(this._infoParm("variableId", "getVariableById"), e3); - const t3 = this._coreFlowViewModel.getVariable(e3); - if (t3) return this.coreFactory.createArchWrapper(t3); + getConfiguration() { + return this._model; } - getVariableByName(e3) { - this._checkItemIsValidLiteralString(this._infoParm("variableName", "getVariableByName"), e3); - const t3 = this._coreFlowViewModel.variableGroup.getVariableByName(e3, this._coreFlowViewModel); - if (t3) return this.coreFactory.createArchWrapper(t3); + get label() { + return this._model.name || ""; } - 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), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "importFromContentAsync"), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), yield B.default.allSettled(), this._importFlowContentAsync(e3, "importFromContentAsync", t3, i3); - }); + get name() { + return this._model.name; } - 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), 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 versions() { + return this._model.versions; } - get isCreated() { - return this._coreFlowViewModel.isCreated; + } + t2.BotConnectorViewModel = o; + }, 16817(e2, t2, i2) { + "use strict"; + t2.BridgeServerAction = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(43212), a = i2(1078), s = n2.__importDefault(i2(57606)); + class l extends r.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), this._model && o.default.each(this._model.requests, function(e4) { + this.requests.push(new a.BridgeServerRequest(e4)); + }.bind(this)); } - get isReadOnly() { - return !!this.isCreated && this._coreFlowViewModel.isReadOnly; + get className() { + return "BridgeServerAction"; } - get isSecure() { - return this._coreFlowViewModel.consumesSecureData; + get category() { + return this._model.category; } - get isVariableContainer() { - return true; + get deprecated() { + return this._model.deprecated; } - get languageSettings() { - return this.logDeprecatedPropertyWarning(this._infoPropGet("languageSettings"), "settingsSupportedLanguages"), this.settingsSupportedLanguages; + get description() { + return this._model.description; } - get name() { - return this._coreFlowViewModel.displayName; + getConfiguration() { + const e3 = []; + return o.default.each(this.requests, function(t3) { + e3.push(t3.getConfiguration()); + }), { name: this._model.name, category: this._model.category, latest: this._model.latest, suggestedTimeout: this._model.suggestedTimeout, helpLink: this._model.helpLink, requests: e3 }; } - set name(e3) { - const t3 = this._infoPropSet("newValue", "name"); - this._checkItemIsValidLiteralString(t3, e3); - const i3 = (0, P.flowNameIsInvalidMessage)(e3); - this._checkItem(t3, null != i3, i3), this._coreFlowViewModel.displayName = e3; + get id() { + return this._model.name; } - 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); - 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); - } - 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 s.default.publishFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this), false); - } catch (e4) { - throw this.logError(`publishAsync - could not publish the flow named '${this.name}' (id: '${this.id}') -${this._formatErrorForTracing(e4)}`), e4; - } - return this._completePublishAsync(e3); - }); + get errorSchema() { } - saveAsync() { - return this._saveAsyncWithOptions(); + get inputSchema() { + return this._model.inputSchema ? new s.default(this._model.inputSchema, true) : void 0; } - _saveAsyncWithOptions(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - if (!this.isCreated) { - this._checkCreationAllowed("saveAsync"), this.logNote("saveAsync - flow is not created. now creating..."); - try { - return yield this._internalCreateAsync(); - } catch (e4) { - this._logErrorWithContextAndThrow("saveAsync - creation failed.", e4); - } - } - try { - return yield this._saveInternalAsync(e3); - } catch (e4) { - this._logErrorWithContextAndThrow("saveAsync - save failed.", e4); - } - }); + get successSchema() { + return this._model.successSchema ? new s.default(this._model.successSchema, true) : void 0; } - _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); + get label() { + return this.name; } - _logErrorWithContextAndThrow(e3, t3) { - var i3; - let n3 = e3; - "object" == typeof t3 && null !== t3 ? (t3.message && (n3 += ` Exception: ${t3.message}.`), (null === (i3 = t3.response) || void 0 === i3 ? void 0 : i3.contextId) && (n3 += ` (contextId: '${t3.response.contextId}')`)) : "string" == typeof t3 && (n3 += ` Exception: ${t3}.`), this.logErrorAndThrow(n3); + get name() { + return this._model.name; } - get settingsErrorHandling() { - if (this._getCoreViewModel().errorHandling) return this.coreFactory.createArchWrapper(this._getCoreViewModel().errorHandling); + get helpLink() { + return this._model.helpLink; } - get settingsActionDefaults() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().defaultSettings); + get published() { + return this._model.published; } - get settingsSupportedLanguages() { - return this.supportsLanguages || this.logItemErrorAndThrow(this._infoPropGet("settingsSupportedLanguages"), "the flow type '" + this.flowType + "' does not support languages. You can see if a flow supports languages by accessing the supportsLanguages property on it."), this.coreFactory.createArchWrapper(this._getCoreViewModel().languages); + get result() { + return this._model.result; } - get supportsAudio() { - return !!this._getCoreViewModel().supportsAudio; + get suggestedTimeout() { + return this._model.suggestedTimeout; } - get supportsErrorHandling() { - return !!this._getCoreViewModel().errorHandling; + get tags() { + return this._model.tags; } - get supportsLanguages() { - return this._getCoreViewModel().supportsLanguages; + } + t2.BridgeServerAction = l; + }, 1078(e2, t2, i2) { + "use strict"; + t2.BridgeServerRequest = void 0; + const n2 = i2(31635), o = i2(43212), r = n2.__importDefault(i2(57606)); + class a extends o.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), this.inputSchema = e3.inputSchema ? new r.default(e3.inputSchema, true) : null, this.successSchema = e3.successSchema ? new r.default(e3.successSchema, false) : null, this.errorSchema = e3.errorSchema ? new r.default(e3.errorSchema, false) : null; } - get supportsDefaultLanguage() { - return this._getCoreViewModel().languagesSupportDefaultLanguage; + get className() { + return "BridgeServerRequest"; } - get url() { - if (!this.isCreated || !this._getCoreViewModel().startUpObject) return ""; - const e3 = this.coreFactory.createArchWrapper(this._getCoreViewModel().startUpObject); - return F.UrlBuilder.create(`https://${M.values.host}`).addSegment("architect").addSegment("#").addSegment(`${this._getCoreViewModel().type}/flows/${this.id}/latest`).addSegment(`menu/${e3.id}`).render(); + get format() { + return this._model.format; } - validateAsync() { - return this._validateAsync(); + getConfiguration() { + const e3 = { format: this._model.format, method: this._model.method, url: this._model.url }; + return this.inputSchema && (e3.inputSchema = this.inputSchema.getConfiguration()), this.successSchema && (e3.successSchema = this.successSchema.getConfiguration()), this.errorSchema && (e3.errorSchema = this.errorSchema.getConfiguration()), e3; } - _validateAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - try { - 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; - 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); - } - } catch (e4) { - this.logErrorAndThrow("validateAsync - could not validate the flow named '" + this.name + "' (id: '" + this.id + "')\n" + e4); - } - }); + get method() { + return this._model.method; } - get variables() { - const e3 = []; - return this._getCoreViewModel().variableGroup.flowVariables.forEach((t3) => { - e3.push(this.coreFactory.createArchWrapper(t3)); - }), e3; + get url() { + return this._model.url; } - 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; - }); + } + t2.BridgeServerRequest = a; + }, 9386(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 c.ChoiceViewModel(e4, this)), this._model = t3); } - _validateCustomJsonTypeSchemas(e3) { - var t3, i3, n3, r3, o2; - 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 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 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(", ")); - } - this.logErrorAndThrow(e4.join("\n")); - } + get className() { + return "ChoiceListViewModel"; } - 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, x.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), [e3._getCoreViewModel()], true); - return this.coreFactory.createArchWrapper(i3[0]); + addChoice(e3) { + var t3; + 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(); } - addUpdateCustomJsonTypesFromSchemas(e3) { - const t3 = this._infoParm("archCustomJsonTypeSchemas", "addUpdateCustomJsonTypesFromSchemas"); - 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, x.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), n3, true), o2 = []; - return r3.forEach((e4) => { - o2.push(this.coreFactory.createArchWrapper(e4)); - }), o2; + get amObjectEventEmitter() { + return true; } - get isArchFlowWorkitem() { - return false; + addClipboardDependencies(e3) { } - get isArchBaseFlowBot() { - return false; + checkVersion(e3) { } - } - t2.default = $; - }, 66882: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DynamicTimeslotTypeList = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(45889)), a = n2.__importDefault(i2(7401)), s = n2.__importDefault(i2(23215)), l = i2(44703); - class u extends l.ExpressionContainer { - constructor(e3, t3) { - super(e3.parentFlow, e3, t3), this._initialize(); + destroy() { } - get className() { - return "DynamicTimeslotTypeList"; + getConfiguration(e3, t3, i3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = []; + return this.items.forEach((r2) => { + var a2, s2, l2, u2, c2; + const d2 = {}; + if (d2.name = r2.name, d2.enabled = r2.isEnabled, d2.label = r2.label.getConfiguration(e3, t3, i3), (null === (a2 = r2.parent) || void 0 === a2 ? void 0 : a2.isChoiceList) && (null === (l2 = null === (s2 = r2.parent) || void 0 === s2 ? void 0 : s2.parent) || void 0 === l2 ? void 0 : l2.branches)) { + const i4 = o.default.findWhere(null === (c2 = null === (u2 = r2.parent) || void 0 === u2 ? void 0 : u2.parent) || void 0 === c2 ? void 0 : c2.branches, { id: r2.referenceId }); + o.default.extend(d2, null == i4 ? void 0 : i4.getConfiguration(e3, t3)); + } + n3.push(o.default.tryWrapObject(d2, null == i3 ? void 0 : i3.wrapValueAndActionsInPropertyName)); + }), n3.length ? n3 : null; + } + return this.model; } initializeDesignTime() { - super.initializeDesignTime(), this.outOfService = !this.parentFlow.definition.supportsDynamicTimeslots; + this.items.forEach((e3) => { + var t3; + null === (t3 = e3.label) || void 0 === t3 || t3.initializeDesignTime(); + }); } - createItem(e3) { - const t3 = e3 instanceof o.default ? e3 : new o.default(); - return t3.name = e3.name, t3.timeslots = new a.default(t3.timeslots), new s.default(t3, this.parentFlow); + onChoicesUpdated() { + this.parent.onChoicesUpdated(), l.fireEvent(this, s.sequenceItemsChanged); } - getItem(e3) { - return r2.default.findWhere(this.items, { name: e3 }); + get model() { + return this._model; } - _getConfiguration(e3, t3, i3) { - return this.outOfService ? {} : (this.items || []).reduce((e4, t4) => (t4.name && (e4[t4.name] = t4.model), e4), {}); + get isChoiceList() { + return true; } - } - t2.DynamicTimeslotTypeList = u; - }, 66908: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.surveyInviteListManager = t2.SurveyInviteListManager = void 0; - const n2 = i2(6109), r2 = i2(96618), o = i2(24032), a = i2(27862); - class s extends n2.FlowListManager { - get dependencyType() { - return a.SurveyInviteFlow; + get length() { + return this.items.length; } - constructor() { - super(), this.topic = (0, o.getTopic)("surveyInviteListManager"), this.additionalQueryParams = { type: r2.flowTypes.flowTypeSurveyInvite }, this.className = "SurveyInviteListManager", this.flowType = r2.flowTypes.flowTypeSurveyInvite, this._initialize(); + set length(e3) { + this.items.length = e3, this.model.length = e3; + } + updateDependencies() { + } + validate(e3) { + this.choiceErrorStrings.length = 0; + const t3 = {}; + this.items.forEach((i3, n3) => { + if ("" === i3.name || o.default.isNullOrUndefined(i3.name)) { + const t4 = (0, r.sprintf)(p.choice.choiceButtonNoNameError, n3 + 1); + return this.choiceErrorStrings[n3] = t4, void e3.addError(this.parent, t4); + } + if (t3[i3.name.toLowerCase()]) { + const t4 = (0, r.sprintf)(p.choice.choiceButtonDuplicateNameError, i3.name); + this.choiceErrorStrings[n3] = t4, e3.addError(this.parent, t4); + } + t3[i3.name.toLowerCase()] = true, i3.validate(e3); + }); } } - t2.SurveyInviteListManager = s, t2.surveyInviteListManager = new s(); - }, 66911: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.takeUntil = void 0; - var n2 = i2(65212), r2 = i2(17214), o = i2(19724), a = i2(5717); - t2.takeUntil = function(e3) { - return n2.operate(function(t3, i3) { - o.innerFrom(e3).subscribe(r2.createOperatorSubscriber(i3, function() { - return i3.complete(); - }, a.noop)), !i3.closed && t3.subscribe(i3); - }); - }; - }, 66942: (e2, t2, i2) => { + t2.default = _; + }, 44706(e2, t2, i2) { "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 c extends o.BaseRegistrationService { - constructor() { - super(); + t2.ChoiceViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = o.default.debounce(() => { + this.parent.onChoicesUpdated(); + }, 200), this.parent = t3, this._model = e3, this._model.label || (this._model.label = new l.default()), this.label = this.createLabelViewModel(); } get className() { - return "AudioRegistrationService"; + return "ChoiceViewModel"; } - get isAudioRegistrationService() { + get isChoiceViewModel() { return true; } - registerItem(e3) { - super.registerItem(e3), this._getFlowSpecificMap(e3)[e3.id] = e3; + get isEnabled() { + return this.model.isEnabled; } - unregisterItem(e3) { + set isEnabled(e3) { + this.model.isEnabled = e3, this.parent.onChoicesUpdated(); + } + get model() { + return this._model; + } + get name() { + return this.model.name; + } + set name(e3) { + this.model.name = e3.trim(), this._debouncedOnChoicesUpdated(); + } + get referenceId() { + return this.model.referenceId; + } + set referenceId(e3) { + this.model.referenceId = e3; + } + validate(e3) { var t3; - super.unregisterItem(e3); - const i3 = this._getFlowSpecificMap(e3); - if (i3) delete i3[e3.id]; - else { - if (!(null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.loaded)) return; - a.error(`${e3.id} not found to unregister - no flow bucket available for flow id '${e3.parentFlow.id}'`); - } + null === (t3 = this.label) || void 0 === t3 || t3.validate(e3); } - validateAudioViewModelsForFlowId(e3) { - u.ParameterValidator.expectFlowViewModel(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "validateAudioViewModelsForFlowId", "flowViewModel")), e3 && e3.instanceId && r2.default.each(this._flowMap[e3.instanceId], (e4) => { - e4.parent.isFlowViewModel ? s.validateItem(e4, false, true) : s.validateNode(e4.parent, false); + createLabelViewModel() { + const e3 = u.ExpressionTypeStringOptions.create((e4) => { + e4.setDescriptionInfo(p.choice.choiceMenuLabelLabel, p.choice.choiceMenuLabelDescription).setFeatureConfigName(d.default.botFlowsDigitalBotFlowsMultiLingualFeature).setAllowSecure(true).setIsOptional(true).setDefaultToNoValue(true).setAllowedBuilderCategoryIdFilter(r.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); } } - t2.audioRegistrationService = new c(); - }, 66959: (e2, t2, i2) => { + t2.ChoiceViewModel = _; + }, 51416(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(99772); - class r2 extends n2.BaseBuilderWithBuilderPartsViewModel { - constructor({ owningExpression: e3, model: t3, reId: i3 }) { - super(e3, t3, void 0, i3, false); + t2.ContactListViewModel = void 0; + const n2 = i2(43212), o = i2(1234); + class r extends n2.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), this.divisionViewModel = new o.DivisionViewModel(this.division); } get className() { - return "BooleanBuilderWithBuilderPartsViewModel"; + return "ContactListViewModel"; } - get isBooleanBuilderWithBuilderPartsViewModel() { - return true; + get displayName() { + return this._model.name; } - _buildExpressionGenerationFromManager(e3) { - return e3.getOverallPartsGeneration(this.builderDef.getExpressionGenerator(this)); + get division() { + return this._model.division; + } + get label() { + return this._model.name; + } + get name() { + return this._model.name; + } + get columnNames() { + return this._model.columnNames; + } + get phoneColumns() { + return this._model.phoneColumns; + } + getConfiguration() { + return { id: this._model.id, name: this._model.name, columnNames: this._model.columnNames, phoneColumns: this._model.phoneColumns }; + } + get id() { + return this._model.id; } } - t2.default = r2; - }, 66973: (e2, t2, i2) => { + t2.ContactListViewModel = r; + }, 86750(e2, t2, i2) { "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(55015)), a = i2(19596), s = i2(80295), l = i2(80295); - class u extends a.DataContract { + t2.ConversationCustomAttributeSchemaViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(74483), a = n2.__importDefault(i2(57606)), s = i2(47957); + class l extends r.NameIdConfigurationListViewModel { constructor(e3) { - super(e3), (0, l.makeUnenumerable)(this, "_availability"), (0, l.makeUnenumerable)(this, "_isVersioned"), (0, l.makeUnenumerable)(this, "_id"); + var t3; + if (super(e3), this._schemasNotLoaded = false, null === (t3 = this._model.jsonSchema) || void 0 === t3 ? void 0 : t3.properties) { + const e4 = { properties: {}, required: [] }; + o.default.each(this._model.jsonSchema.properties, (t4, i3) => { + o.default.isObject(t4) && (e4.properties[i3] = t4, e4.required.push(i3)); + }), this._successSchema = new a.default(e4, false); + } else this._schemasNotLoaded = true; } - get availability() { - return this._availability; + get className() { + return "ConversationCustomAttributeSchemaViewModel"; } - set availability(e3) { - this._availability = this.reviveItem(e3, o.default); + get schemasNotLoaded() { + return this._schemasNotLoaded; } - get id() { - return this._id; + get successSchema() { + return this._successSchema; } - set id(e3) { - this._id = e3; + get hasRequiredProperties() { + var e3; + const t3 = null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.jsonSchema; + return Array.isArray(null == t3 ? void 0 : t3.required) && t3.required.length > 0; } - get isVersioned() { - return this._isVersioned; + get disabled() { + return !this._model.enabled; } - set isVersioned(e3) { - this._isVersioned = e3; + get tooltip() { + return this.disabled ? s.generic.disabledDiscourageForNewUse : ""; } } - t2.default = u, r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== o.default && o.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], u.prototype, "availability", null), r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", String), r2.__metadata("design:paramtypes", [String])], u.prototype, "id", null), r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", Boolean), r2.__metadata("design:paramtypes", [Boolean])], u.prototype, "isVersioned", null); - }, 66975: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } - } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - 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), c = i2(26404); - t2.withLatestFrom = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = c.popResultSelector(e3); - return o.operate(function(t4, o2) { - 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) { - d[t5] = e4, _ || p[t5] || (p[t5] = true, (_ = p.every(l.identity)) && (p = null)); - }, u.noop)); - }, m = 0; m < c2; m++) h(m); - t4.subscribe(a.createOperatorSubscriber(o2, function(e4) { - if (_) { - var t5 = r2([e4], n2(d)); - o2.next(i3 ? i3.apply(void 0, r2([], n2(t5))) : t5); - } - })); - }); - }; - }, 66978: (e2, t2, i2) => { + t2.ConversationCustomAttributeSchemaViewModel = l; + }, 78982(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(9456), s = n2.__importDefault(i2(8471)); - class l extends s.default { - constructor() { - super(), this._asyncPromises = [], this._archPromiseAdded = false; + const n2 = i2(43212); + class o extends n2.BaseConfigurationListViewModel { + constructor(e3) { + super(e3); } - get displayTypeName() { - return "ArchAsyncTracker"; + get className() { + return "ConversationSummarySettingViewModel"; } - get logStr() { - return this._createLogStrFromParts(["ArchAsyncTracker"]); + get getConfiguration() { + return this.model; } - get isArchAsyncTracker() { - return true; + get id() { + return this.model.id; } - addPromise(e3, t3) { - 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.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)); - } - return e3; + get name() { + return this.model.name; } - _allSettled(e3, t3) { - 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)).catch((e4) => { - t3.reject(e4); - })) : t3.resolve(); + get label() { + return this.model.name; } - allSettled() { - const e3 = o.default.defer(); - return this._allSettled(0, e3), e3.promise; + get language() { + return this.model.language; } - reset() { - this.logNote("resetting async tracker, clearing " + this._asyncPromises.length + " tracked promise(s)"), this._asyncPromises = [], this._archPromiseAdded = false; + get summaryType() { + return this.model.summaryType; } } - const u = new l(); - t2.default = u; - }, 67010: (e2, t2, i2) => { + t2.default = o; + }, 61144(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84502)), r2 = i2(96618); - class o extends n2.default { + t2.CustomerSegmentViewModel = void 0; + const n2 = i2(74483); + class o extends n2.NameIdConfigurationListViewModel { constructor(e3) { super(e3); } - get _flowType() { - return r2.flowTypes.flowTypeInQueueShortMessage; - } - get displayTypeName() { - return "ArchFlowInQueueShortMessage"; + get className() { + return "CustomerSegmentViewModel"; } - get isArchFlowInQueueShortMessage() { - return true; + get label() { + return this._model.name; } } - t2.default = o; - }, 67018: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowInvokingEvent = void 0, (function(e3) { - e3.workitemCreated = "workitemCreated", e3.workitemDateBasedEvent = "workitemDateBasedEvent", e3.workitemStatusChanged = "workitemStatusChanged"; - })(i2 || (t2.FlowInvokingEvent = i2 = {})); - }, 67093: (e2, t2, i2) => { - const n2 = i2(19420); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - function o() { - o.baseConstructor.apply(this, arguments); - } - function a() { - a.baseConstructor.apply(this, arguments); - } - function s() { - s.baseConstructor.apply(this, arguments); - } - function l() { - l.baseConstructor.apply(this, arguments); - } - function u() { - u.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); - } - function _() { - _.baseConstructor.apply(this, arguments); - } - 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(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) => { + t2.CustomerSegmentViewModel = o; + }, 68460(e2, t2, i2) { "use strict"; + var n2, o, r, a; 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), 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"); + 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), o.set(this, void 0), r.set(this, false), a.set(this, false); } - get _stringUtilities() { - return this._stringUtils || (this._stringUtils = i2(66381)), this._stringUtils; + addClipboardDependencies(e3, t3) { } - _setFromFacets(e3) { - super._setFromFacets(e3), this._setFacetIfSet(() => this.setAllowableValues(e3.allowableValues, e3.caseSensitiveAllowableValues), e3.allowableValues, "_allowableValues"), this._setFacetIfSet(this.setAllowableValuePlaceholder, e3.allowableValuePlaceholder, "_allowableValuePlaceholder"), this._setFacetIfSet(this.setAllowableValuesUseInlineSelect, e3.allowableValuesUseInlineSelect, "_allowableValuesUseInlineSelect"), this._setFacetIfSet(this.setAllowableValuesDisabledCallback, e3.allowableValuesDisabledCallback, "_allowableValuesDisabledCallback"), this._setFacetIfSet(this.setAllowableValueUseOriginalDisplayString, e3.allowableValueUseOriginalDisplayString, "_allowableValueUseOriginalDisplayString"), this._setFacetIfSet(this.setAllowableValueShowOriginalDisplayStringInPopover, e3.allowableValueShowOriginalDisplayStringInPopover, "_allowableValueShowOriginalDisplayStringInPopover"), this._setFacetIfSet(this.setLastAllowableValueSelectedStorageKey, e3.lastAllowableValueSelectedStorageKey, "_lastAllowableValueSelectedStorageKey"); + _destroy() { + super._destroy(); + try { + let e3; + s.__classPrivateFieldGet(this, n2, "f") && (s.__classPrivateFieldSet(this, n2, false, "f"), e3 = true), s.__classPrivateFieldGet(this, o, "f") && (s.__classPrivateFieldSet(this, o, false, "f"), e3 = true), e3 && this._processConsumeSecureDataChange(); + } catch (e3) { + _.exceptionWithErrorObjectInfo(e3, "Error in secure meta data destroy processing.", this, true); + } } - get isAllowableValueFacets() { - return true; + checkChildCallback(e3, t3) { + e3 !== this && (e3.consumesSecureData && (t3.data.consumesSecureData = true), e3.hasValidationError && (t3.data.hasValidationError = true), e3.hasValidationWarning && (t3.data.hasValidationWarning = true), e3.consumesSecureData && e3.hasValidationError && (t3.cancelTraverse = true)); } - _buildValidationAllowableValues() { - 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; - t3 ? (this._validationAllowableValues.set(this._caseSensitiveAllowableValues ? t3 : t3.toLowerCase(), true), this._validationAllowableValuesExpr.push(t3)) : d.error(`invalid allowable value ${e3}`); - }); + childAdded(e3) { + this.childUpdated(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 ? p.facets.valueNotInAllowableListOne : p.facets.valueNotInAllowableListMoreThanOne, this._stringUtilities.getListDisplayString(o.default.clone(this._validationAllowableValuesExpr), false, true))); + childRemoved(e3) { + (!e3 || e3.consumesSecureData || e3.hasValidationError || e3.hasValidationWarning) && this._computeData(e3, true); } - get allowableValues() { - return this._allowableValues; + childUpdated(e3) { + const t3 = e3.consumesSecureData, i3 = e3.hasValidationError, n3 = e3.hasValidationWarning; + l.default.isBoolean(t3) || _.error("A child was passed to childUpdated without having a consumesSecureSetting set."), t3 === this.consumesSecureData && i3 === this.hasValidationError && n3 === this.hasValidationWarning || (s.__classPrivateFieldSet(this, o, void 0, "f"), this._computeData(e3) || (this.consumesSecureData = t3, this.hasValidationError = i3, this.hasValidationWarning = n3)); } - set allowableValues(e3) { - this._allowableValues = c.ParameterValidator.expectArray(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValues", "value"), true), this._buildValidationAllowableValues(); + get consumesSecureData() { + return s.__classPrivateFieldGet(this, o, "f") || s.__classPrivateFieldGet(this, n2, "f"); } - get lastAllowableValueSelectedStorageKey() { - return this._lastAllowableValueSelectedStorageKey; + set consumesSecureData(e3) { + this.parentFlow && !this.parentFlow.loaded || e3 !== s.__classPrivateFieldGet(this, o, "f") && (s.__classPrivateFieldSet(this, o, e3, "f"), this._processConsumeSecureDataChange()); } - set lastAllowableValueSelectedStorageKey(e3) { - this._lastAllowableValueSelectedStorageKey = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "lastAllowableValueSelectedStorageKey", "value")); + get hasValidationError() { + return s.__classPrivateFieldGet(this, r, "f"); } - get allowableValuePlaceholder() { - return this._allowableValuePlaceholder; + set hasValidationError(e3) { + this.parentFlow && !this.parentFlow.loaded || e3 !== s.__classPrivateFieldGet(this, r, "f") && (s.__classPrivateFieldSet(this, r, e3, "f"), this._processConsumeSecureDataChange()); } - set allowableValuePlaceholder(e3) { - this._allowableValuePlaceholder = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuePlaceholder", "value")); + get hasValidationWarning() { + return s.__classPrivateFieldGet(this, a, "f"); } - get allowableValuesUseInlineSelect() { - return this._allowableValuesUseInlineSelect; + set hasValidationWarning(e3) { + this.parentFlow && !this.parentFlow.loaded || e3 !== s.__classPrivateFieldGet(this, a, "f") && (s.__classPrivateFieldSet(this, a, e3, "f"), this._processConsumeSecureDataChange()); } - set allowableValuesUseInlineSelect(e3) { - this._allowableValuesUseInlineSelect = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesUseInlineSelect", "value")); + initialize() { } - get allowableValuesDisabledCallback() { - return this._allowableValuesDisabledCallback; + initializeDesignTime() { + try { + s.__classPrivateFieldGet(this, n2, "f") && (this.consumesSecureData = true), this._initializeDesignTime(); + } catch (e3) { + _.exception(e3, "exception during initializeDesignTime"); + } finally { + try { + this._postInitializeDesignTime(); + } catch (e3) { + _.exception(e3, "exception during _postInitializeDesignTime"); + } + super.initializeDesignTime(); + } } - set allowableValuesDisabledCallback(e3) { - this._allowableValuesDisabledCallback = c.ParameterValidator.expectFunction(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValuesDisabledCallback", "value")); + get isDataReporter() { + return true; } - get allowableValueShowOriginalDisplayStringInPopover() { - return this._allowableValueShowOriginalDisplayStringInPopover; + setAlwaysSecure() { + s.__classPrivateFieldSet(this, n2, true, "f"), this._processConsumeSecureDataChange(); } - set allowableValueShowOriginalDisplayStringInPopover(e3) { - this._allowableValueShowOriginalDisplayStringInPopover = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueShowOriginalDisplayStringInPopover", "value")); + _initializeDesignTime() { } - get allowableValueUseOriginalDisplayString() { - return this._allowableValueUseOriginalDisplayString; + _postInitializeDesignTime() { } - set allowableValueUseOriginalDisplayString(e3) { - this._allowableValueUseOriginalDisplayString = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "allowableValueUseOriginalDisplayString", "value")); + _computeData(e3, t3) { + if (!l.default.isFunction(this.traverse)) return false; + const i3 = { consumesSecureData: !t3 && e3.consumesSecureData, hasValidationError: !t3 && e3.hasValidationError, hasValidationWarning: !t3 && e3.hasValidationWarning, originChild: e3 }, n3 = this.checkChildCallback.bind(this), o2 = new u.default({ actionCallback: n3, data: i3, expressionCallback: n3, menuCallback: n3, taskCallback: n3, traverseActionProperties: true }); + return this.traverse(o2), this.consumesSecureData = o2.data.consumesSecureData, this.hasValidationError = o2.data.hasValidationError, this.hasValidationWarning = o2.data.hasValidationWarning, true; } - get caseSensitiveAllowableValues() { - return this._caseSensitiveAllowableValues; + _processConsumeSecureDataChange() { + this.parent && this.parent.childUpdated && this.parent.childUpdated(this), d.groupedFlowSecureService.processGroupedObject(this); } - set caseSensitiveAllowableValues(e3) { - c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "caseSensitiveAllowableValues", "value"), true), this._caseSensitiveAllowableValues = true === e3, this._buildValidationAllowableValues(); + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), t2.default = h; + }, 72211(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(24032), a = i2(74483), s = n2.__importDefault(i2(57606)), l = (0, r.getTopic)("DataTableViewModel"), u = i2(47957); + class c extends a.NameIdConfigurationListViewModel { + constructor(e3) { + if (super(e3), this._schemasNotLoaded = false, this._model.schema && this._model.schema.properties) { + this._schemasNotLoaded = false; + const e4 = { properties: {}, required: [] }, t3 = { properties: {} }; + o.default.each(this._model.schema.properties, (i3, n3) => { + o.default.isObject(i3) && (n3 && "key" === n3.toLowerCase() ? (e4.properties[n3] = i3, e4.required.push(n3)) : t3.properties[n3] = i3); + }), e4.required.length || l.error(`No key found for data table with ID '${this.model.id}'`), this._inputSchema = new s.default(e4, true), this._successSchema = new s.default(t3, false); + } else this._schemasNotLoaded = true; + this._errorSchema = new s.default({ properties: { errorType: { allowableValues: ["DataTablesInternalServerError", "DataTablesServerTooBusyException", "DataTablesSyntaxError", "DataTablesTableNotFoundException"], type: "string", description: u.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: u.errorSchema.errorMessageDescription } } }, false); } - setAllowableValues(e3, t3) { - return o.default.isBoolean(t3) && (this.caseSensitiveAllowableValues = t3), this.allowableValues = e3, this; + get label() { + return this._model.name; } - setLastAllowableValueSelectedStorageKey(e3) { - return this.lastAllowableValueSelectedStorageKey = e3, this; + get title() { + return this._model.title; } - setAllowableValuePlaceholder(e3) { - return this.allowableValuePlaceholder = e3, this; + get minLength() { + return this._model.minLength; } - setAllowableValuesUseInlineSelect(e3) { - return this.allowableValuesUseInlineSelect = e3, this; + get maxLength() { + return this._model.maxLength; } - setAllowableValuesDisabledCallback(e3) { - return this.allowableValuesDisabledCallback = e3, this; + get schemasNotLoaded() { + return this._schemasNotLoaded; } - setAllowableValueShowOriginalDisplayStringInPopover(e3) { - return this.allowableValueShowOriginalDisplayStringInPopover = e3, this; + get inputSchema() { + return this._inputSchema; } - setAllowableValueUseOriginalDisplayString(e3) { - return this.allowableValueUseOriginalDisplayString = e3, this; + get successSchema() { + return this._successSchema; } - addDescriptionInfo(e3, t3) { - super.addDescriptionInfo(e3, t3); - const i3 = this._allowableValues; - if (o.default.isArray(i3) && i3.length > 0) { - 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); - }); - } + get errorSchema() { + return this._errorSchema; } - get hasDescriptionInfo() { - return !!super.hasDescriptionInfo || o.default.isArray(this._allowableValues) && this._allowableValues.length > 0; + } + t2.default = c; + }, 53649(e2, t2, i2) { + "use strict"; + t2.DecisionTableViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(50661), a = i2(74483), s = n2.__importDefault(i2(57606)), l = i2(47957); + class u extends a.NameIdConfigurationListViewModel { + constructor(e3) { + 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: [] }; + o.default.each(null === (i3 = a2.executionInputSchema) || void 0 === i3 ? void 0 : i3.properties, (t5, i4) => { + o.default.isObject(t5) && (e4.properties[i4] = t5, e4.required.push(i4)); + }), o.default.each(null === (n3 = a2.executionOutputSchema) || void 0 === n3 ? void 0 : n3.properties, (e5, i4) => { + o.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: r.callDecisionTableFailureReasons.sort(), type: "string", description: l.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: l.errorSchema.errorMessageDescription } } }, false); } - get hasIAllowableValueAllowableValues() { - var e3; - return this.hasAllowableValues && !!(null === (e3 = this.allowableValues[0]) || void 0 === e3 ? void 0 : e3.id); + get className() { + return "DecisionTableViewModel"; } - get hasStringTypeAllowableValues() { - return this.hasAllowableValues && o.default.isString(this.allowableValues[0]); + get isBaseClass() { + return false; } - get hasAllowableValues() { - return this.allowableValues && this.allowableValues.length > 0; + get schemasNotLoaded() { + return this._schemasNotLoaded; } - getAllowableValueForValue(e3) { - var t3; - if (this.hasAllowableValues && (null == e3 ? void 0 : e3.length)) { - if (this.caseSensitiveAllowableValues) { - if (this.hasIAllowableValueAllowableValues) { - for (const t4 of this.allowableValues) if (e3 === (null == t4 ? void 0 : t4.id)) return t4; - } else for (const t4 of this.allowableValues) if (e3 === t4) return t4; - } else if (e3 = e3.toLowerCase(), this.hasIAllowableValueAllowableValues) { - for (const i3 of this.allowableValues) if (e3 === (null === (t3 = null == i3 ? void 0 : i3.id) || void 0 === t3 ? void 0 : t3.toLowerCase())) return i3; - } else for (const t4 of this.allowableValues) if (e3 === (null == t4 ? void 0 : t4.toLowerCase())) return t4; - } + get inputSchema() { + return this._inputSchema; + } + get successSchema() { + return this._successSchema; + } + get errorSchema() { + return this._errorSchema; } } - 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) { - const i3 = (0, r2.default)(e3); - i3.commonModuleFlowSettings = new o.default(null), i3.commonModuleFlowSettings.destinationFlowTypes = t3; - const n3 = new a.default({ paths: [] }); - return n3.name = s.commonModule.hardcodedTaskName, n3.variables = [], i3.flowSequenceItemList = [n3], i3.initialSequence = n3.id, i3; - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(70790)), o = n2.__importDefault(i2(48)), a = n2.__importDefault(i2(7584)), s = i2(47957); - }, 67193: (e2, t2, i2) => { + t2.DecisionTableViewModel = u; + }, 14994(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(1012)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(43212); + class r extends o.BaseConfigurationListViewModel { constructor(e3) { - super(e3), this._failureTransferAudio = this.coreFactory.createArchAudio(e3.failureTransferAudio), this._failureTransferCommunication = this.coreFactory.createArchWrapper(e3.failureTransferCommunication), this._preTransferAudio = this.coreFactory.createArchAudio(e3.preTransferAudio), this._preTransferCommunication = this.coreFactory.createArchWrapper(e3.preTransferCommunication); + super(e3); } - get displayTypeName() { - return "ArchBaseActionTransfer"; + get className() { + return "DialogEngineBotViewModel"; } - get isArchBaseActionTransfer() { - return true; + get activeVersion() { + return n2.default.isObject(this.model.activeVersion) && n2.default.isString(this.model.activeVersion.id) ? this.model.activeVersion.id : ""; } - get failureTransferAudio() { - return this._failureTransferAudio; + get botName() { + return this.model.name; } - get failureTransferCommunication() { - return this._failureTransferCommunication; + get getConfiguration() { + return this.model; } - get preTransferAudio() { - return this._preTransferAudio; + get id() { + return this.model.id; } - get preTransferCommunication() { - return this._preTransferCommunication; + get label() { + return this.name; } - get failureOutputs() { - if (this._coreActionViewModel.errorBindings) return this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings); + get name() { + return this.model.name; } } - t2.default = r2; - }, 67210: (e2, t2, i2) => { + t2.default = r; + }, 6413(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), 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() { - this._staticPermissions = {}, this._createStaticPermissions(); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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, c.default)(); } - _createStaticPermissions() { - this.staticPermissions[_.permissionStrings.architect.application.use] = p.PermissionShiro.create(_.permissionStrings.architect.application.use), this.staticPermissions[_.permissionStrings.responseAssets.asset.add] = p.PermissionShiro.create(_.permissionStrings.responseAssets.asset.add, (0, r2.sprintf)(m.generic.permissions.missing.responseAssets.asset.responseAssetMissingPermissionAdd, _.permissionStrings.responseAssets.asset.add)), this.staticPermissions[_.permissionStrings.responseAssets.asset.view] = p.PermissionShiro.create(_.permissionStrings.responseAssets.asset.view, (0, r2.sprintf)(m.generic.permissions.missing.responseAssets.asset.responseAssetMissingPermissionView, _.permissionStrings.responseAssets.asset.view)), this.staticPermissions[_.permissionStrings.architect.dependencyTracking.rebuild] = p.PermissionShiro.create(_.permissionStrings.architect.dependencyTracking.rebuild, m.generic.permissions.missing.dependencyTracking.rebuild), this.staticPermissions[_.permissionStrings.architect.dependencyTracking.view] = p.PermissionShiro.create(_.permissionStrings.architect.dependencyTracking.view, m.generic.permissions.missing.dependencyTracking.view), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsBotFlowReportingTurnView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsBotFlowReportingTurnView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsBotFlowSessionView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsBotFlowSessionView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsSurveyAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsSurveyAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.audit] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.audit), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.bridge] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.bridge), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.integrations] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.integrations), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.intentMinerView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.intentMinerView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.previewWidgetView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.previewWidgetView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.response] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.response), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.responseLibrary] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.responseLibrary), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.schedules] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.schedules), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualitySurveyFormView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualitySurveyFormView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.scripts] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.scripts), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.queues] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.queues), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.voicemailReceive] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.voicemailReceive), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.processAutomationTriggerView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.processAutomationTriggerView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.wrapupCode] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.wrapupCode), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.wrapupCodeSearch] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.wrapupCodeSearch), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.languageSkills] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.languageSkills), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsConversationAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsConversationAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsConversationDetailView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsConversationDetailView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.conversationCommunicationView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.conversationCommunicationView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualityCalibrationView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualityCalibrationView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualityEvaluationEditScore] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualityEvaluationEditScore), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.qualityEvaluationAdd] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.qualityEvaluationAdd), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsBotAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsFlowAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsFlowAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsKnowledgeAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsKnowledgeAggregateView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsSummaryAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsSummaryAggregateView), this.staticPermissions[_.permissionStrings.journey.flowpaths.view] = p.PermissionShiro.create(_.permissionStrings.journey.flowpaths.view, m.generic.permissions.missing.journey.flowpaths.journeyFlowsView), this.staticPermissions[_.permissionStrings.conversation.conference.add] = p.PermissionShiro.create(_.permissionStrings.conversation.conference.add, m.generic.permissions.missing.conversation.conference.add), this.staticPermissions[_.permissionStrings.architect.flow.add] = p.PermissionShiro.create(_.permissionStrings.architect.flow.add, m.generic.permissions.missing.flow.allPermissions.add), this.staticPermissions[_.permissionStrings.architect.flow.delete] = p.PermissionShiro.create(_.permissionStrings.architect.flow.delete, m.generic.permissions.missing.flow.allPermissions.delete), this.staticPermissions[_.permissionStrings.architect.flow.edit] = p.PermissionShiro.create(_.permissionStrings.architect.flow.edit, m.generic.permissions.missing.flow.allPermissions.edit), this.staticPermissions[_.permissionStrings.architect.flow.launch] = p.PermissionShiro.create(_.permissionStrings.architect.flow.launch, m.generic.permissions.missing.flow.allPermissions.launch), this.staticPermissions[_.permissionStrings.architect.flow.publish] = p.PermissionShiro.create(_.permissionStrings.architect.flow.publish, m.generic.permissions.missing.flow.allPermissions.publish), this.staticPermissions[_.permissionStrings.architect.flow.search] = p.PermissionShiro.create(_.permissionStrings.architect.flow.search, m.generic.permissions.missing.flow.allPermissions.search), this.staticPermissions[_.permissionStrings.architect.flow.unlock] = p.PermissionShiro.create(_.permissionStrings.architect.flow.unlock, m.generic.permissions.missing.flow.allPermissions.unlock), this.staticPermissions[_.permissionStrings.architect.flow.view] = p.PermissionShiro.create(_.permissionStrings.architect.flow.view, m.generic.permissions.missing.flow.allPermissions.view), this.staticPermissions[_.permissionStrings.architect.flowExecution.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowExecution.view, m.executionHistory.flowExecutionViewPermission), this.staticPermissions[_.permissionStrings.architect.flowInstance.search] = p.PermissionShiro.create(_.permissionStrings.architect.flowInstance.search, m.executionHistory.flowInstanceQueryPermission), this.staticPermissions[_.permissionStrings.architect.flowInstance.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowInstance.view, m.executionHistory.flowInstanceViewPermission), this.staticPermissions[_.permissionStrings.architect.flowLogLevel.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowLogLevel.view, m.executionDataConfiguration.flowLogLevelViewPermission), this.staticPermissions[_.permissionStrings.architect.flowLogLevelDefault.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowLogLevelDefault.view, m.executionDataConfiguration.flowLogLevelDefaultViewPermission), this.staticPermissions[_.permissionStrings.architect.flowInstanceExecutionData.view] = p.PermissionShiro.create(_.permissionStrings.architect.flowInstanceExecutionData.view, m.executionDataConfiguration.flowInstanceExecutionDataViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.settingsExecutionDataView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.settingsExecutionDataView, m.executionDataConfiguration.organizationExecutionDataViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.directoryOrganizationAdmin] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.directoryOrganizationAdmin, m.executionDataConfiguration.directoryOrganizationAdminPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.analyticsFlowExecutionAggregateView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.analyticsFlowExecutionAggregateView), this.staticPermissions[_.permissionStrings.architect.systemPrompt.edit] = p.PermissionShiro.create(_.permissionStrings.architect.systemPrompt.edit, m.generic.permissions.missing.prompts.systemPrompts.edit), this.staticPermissions[_.permissionStrings.architect.systemPrompt.view] = p.PermissionShiro.create(_.permissionStrings.architect.systemPrompt.view, m.generic.permissions.missing.prompts.systemPrompts.view), this.staticPermissions[_.permissionStrings.architect.userPrompt.add] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.add, m.generic.permissions.missing.prompts.userPrompts.add), this.staticPermissions[_.permissionStrings.architect.userPrompt.delete] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.delete, m.generic.permissions.missing.prompts.userPrompts.delete), this.staticPermissions[_.permissionStrings.architect.userPrompt.edit] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.edit, m.generic.permissions.missing.prompts.userPrompts.edit), this.staticPermissions[_.permissionStrings.architect.userPrompt.view] = p.PermissionShiro.create(_.permissionStrings.architect.userPrompt.view, m.generic.permissions.missing.prompts.userPrompts.view), this.staticPermissions[_.permissionStrings.architect.virtualAgentFlow.edit] = p.PermissionShiro.create(_.permissionStrings.architect.virtualAgentFlow.edit, m.generic.permissions.missing.flow.allPermissions.edit), this.staticPermissions[_.permissionStrings.architect.grammar.add] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.add, m.generic.permissions.missing.grammars.grammarsMissingPermissionAdd), this.staticPermissions[_.permissionStrings.architect.grammar.delete] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.delete, m.generic.permissions.missing.grammars.grammarsMissingPermissionDelete), this.staticPermissions[_.permissionStrings.architect.grammar.edit] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.edit, m.generic.permissions.missing.grammars.grammarsMissingPermissionEdit), this.staticPermissions[_.permissionStrings.architect.grammar.view] = p.PermissionShiro.create(_.permissionStrings.architect.grammar.view, m.generic.permissions.missing.grammars.grammarsMissingPermissionView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentView, m.agenticVirtualAgent.agenticVirtualAgentViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentVersionView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.agenticVirtualAgentVersionView, m.agenticVirtualAgent.agenticVirtualAgentVersionViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.guideView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.guideView, m.guide.guideViewPermission), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.guideVersionView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.guideVersionView, m.guide.guideVersionViewPermission), this.staticPermissions[_.permissionStrings.recording.retentionPolicy.view] = p.PermissionShiro.create(_.permissionStrings.recording.retentionPolicy.view, m.generic.permissions.missing.recording.retentionPolicy.recordingRetentionPolicyView), this.staticPermissions[_.permissionStrings.journey.actionMap.view] = p.PermissionShiro.create(_.permissionStrings.journey.actionMap.view, m.generic.permissions.missing.journey.actionmap.journeyActionmapView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.workitemsView] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.workitemsView, m.generic.permissions.missing.taskManagementWorkitems.workItemsMissingPermissionView), this.staticPermissions[_.permissionStrings.external.externalAuthorizations.geocodingGeolocationFetch] = p.PermissionShiro.create(_.permissionStrings.external.externalAuthorizations.geocodingGeolocationFetch, m.generic.permissions.missing.taskManagementWorkitems.workItemsMissingPermissionView), this.staticPermissions[_.permissionStrings.architect.flowOutcome.add] = p.PermissionShiro.create(_.permissionStrings.architect.flowOutcome.add, m.generic.permissions.missing.flow.flowOutcomes.add), this.staticPermissions[_.permissionStrings.architect.flowOutcome.search] = p.PermissionShiro.create(_.permissionStrings.architect.flowOutcome.search, (0, r2.sprintf)(m.generic.permissions.missing.flow.flowOutcomes.noPermissionToAddFlowOutcome, m.generic.permissions.missing.flow.flowOutcomes.search)), this.staticPermissions[_.permissionStrings.architect.flowMilestone.add] = p.PermissionShiro.create(_.permissionStrings.architect.flowMilestone.add, m.generic.permissions.missing.flow.flowMilestones.add), this.staticPermissions[_.permissionStrings.architect.flowMilestone.search] = p.PermissionShiro.create(_.permissionStrings.architect.flowMilestone.search, (0, r2.sprintf)(m.generic.permissions.missing.flow.flowMilestones.noPermissionToAddFlowMilestone, m.generic.permissions.missing.flow.flowMilestones.search)), this.staticPermissions[_.permissionStrings.copilot.session.view] = p.PermissionShiro.create(_.permissionStrings.copilot.session.view, m.generic.permissions.missing.copilot.session), this.staticPermissions[_.permissionStrings.copilot.message.view] = p.PermissionShiro.create(_.permissionStrings.copilot.message.view, m.generic.permissions.missing.copilot.message.view), this.staticPermissions[_.permissionStrings.copilot.message.send] = p.PermissionShiro.create(_.permissionStrings.copilot.message.send, m.generic.permissions.missing.copilot.message.send); + get className() { + return "DialogEngineVersionViewModel"; } - get staticPermissions() { - return this._staticPermissions; + get dependencyTrackingId() { + return `${this.botId}/${this.id}`; } - getAuthValidationWarning(e3, t3) { - const i3 = t3 ? m.externalAuths.thirdPersonValidationContext : m.externalAuths.validationContext; - let n3 = ""; - return e3 !== _.permissionStrings.external.externalAuthorizations.voicemailReceive ? "" : (n3 = "voicemailReceive", (0, r2.sprintf)(i3, m.externalAuths[n3].displayTitle)); + get botId() { + return o.default.isObject(this.model.bot) && o.default.isString(this.model.bot.id) ? this.model.bot.id : ""; } - get featureTogglesLoaded() { - return void 0 !== g || a.featureTogglesLoaded.isPending() || (g = true), g; + get botName() { + return o.default.isObject(this.model.bot) && o.default.isString(this.model.bot.name) ? this.model.bot.name : ""; } - addPermissionToUser(e3, t3) { - p.PermissionShiro.createOnUser(e3, t3); + get description() { + return this.model.description; } - checkDivisionHasPermission(e3, t3) { - const i3 = o.default.extEnsureArray(t3); - 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 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[c.starDivision], t3); - if (e4.hasPermission) return e4; - } - 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); + get errorSchema() { + return this._errorSchema; } - getDivisionsForPermission(e3, t3, i3) { - if (!t3) return h.error("No permission to check was passed in."), []; - const n3 = []; - 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[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; + get id() { + return this.model.id; } - checkHasPermissionInAtLeastOneDivision(e3, t3) { - return this.getDivisionsForPermission(e3, t3, true).length > 0 ? new d.default(true, t3.toString(), void 0) : new d.default(false, t3.toString(), t3.displayErrorString); + get isDialogEngineVersionViewModel() { + return true; } - checkFlowHasPermission(e3, t3, i3) { - 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 d.default(false, i3, m.generic.permissions.missing.flow.noSpecificDivision.view); + get knowledgeEnabled() { + return !r.isFeatureUnavailable(l.default.dialogEngineKnowledge) && !(!this.model.knowledgebases || !this.model.knowledgebases.length); } - getDivisionListFromDivisionsErrorString(e3) { - if (!o.default.isString(e3)) return null; - const t3 = "$~$~"; - "[" === (e3 = e3.trim()).charAt(0) && (e3 = e3.substring(1)), "]" === e3.charAt(e3.length - 1) && (e3 = e3.slice(0, -1)); - const i3 = /(\([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})\)/; - let n3 = i3.exec(e3); - for (; n3 && n3.length > 0; ) e3 = e3.replace(n3[0], t3), n3 = i3.exec(e3); - e3.slice(-4) === t3 && (e3 = e3.slice(0, -4)); - let r3 = e3.split(t3 + ","); - return r3 = o.default.map(r3, (e4) => e4 || m.flow.unknownDivision), r3; + get label() { + return this.name; } - getDivisionListFromDivisionUrisErrorString(e3) { - let t3; - try { - t3 = JSON.parse(e3); - } catch (t4) { - h.exception(t4, `Failed to parse divisionUris property from error response. Contents:"${e3}"`); - } - return t3 && o.default.isArray(t3) ? o.default.map(t3, (e4) => e4.name || m.flow.unknownDivision) : []; + get languages() { + return this.model.languages; } - get missingDivisionPermissionString() { - return "missing.division.permission"; + get model() { + return this._model; } - }(); - }, 67222: (e2, t2, i2) => { + set model(e3) { + this._model = e3, this.intents = [], this._model.intents && o.default.each(this._model.intents, (e4) => { + this.intents.push(new u.default(o.default.clone(e4))); + }), this.knowledgeEnabled && this.intents.push(new u.default(o.default.clone(p))); + } + get name() { + return this.model.name; + } + } + t2.default = _; + }, 17832(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(91722)); - class a extends o.default { - constructor(e3, t3, i3) { - super(e3, i3), this._checkItemIsValidFunction(this._infoParmCtor("callbackFunction"), t3), this._callbackFunction = t3; + t2.DialogflowAgentViewModel = void 0; + const n2 = i2(31635), o = i2(17604), r = 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)(); } - get displayTypeName() { - return "ArchFilterClausePropertyCallback"; + get className() { + return "DialogflowAgentViewModel"; } - get isArchFilterClausePropertyCallback() { - return true; + get description() { + return this.projectId ? (0, o.sprintf)(_.dialogflow.projectIdLabel, this.projectId) : null; } - get callback() { - return this._callbackFunction; + get descriptionIntegrationName() { + return a.isFeatureAvailable(l.default.googleDialogflowEsResellV2Feature) && r.default.isString(this.integrationName) ? (0, o.sprintf)(_.dialogflow.integrationNameLabel, r.default.escape(this.integrationName)) : null; } - _isMatch(e3) { - if (!super._isMatch(e3)) return false; - const t3 = this._callbackFunction(e3[this.propertyName], e3, this.propertyName); - return r2.default.isUndefined(t3) || r2.default.isBoolean(t3) || this.logWarning("Invocation of the filter clause property value callback function did not return a boolean value or undefined."), true === t3; + get errorSchema() { + return this._errorSchema; + } + getConfiguration() { + return this._model; + } + get id() { + return this._model.id; + } + get label() { + return this._model.name || ""; + } + get languages() { + return this._model.languages; + } + get model() { + return this._model; + } + set model(e3) { + this._model = e3, this.intents = [], this._model.intents && r.default.each(this._model.intents, (e4) => { + this.intents.push(new c.default(r.default.clone(e4))); + }), this.environments = [new d.default(s.default.dialogflow.draftEnvironmentId, s.default.dialogflow.draftEnvironmentName)], r.default.each(this.model.environments, (e4) => { + this.environments.push(new d.default(e4, e4, null)); + }); + } + get name() { + return this._model.name; + } + get projectId() { + var e3; + return null === (e3 = this._model.project) || void 0 === e3 ? void 0 : e3.id; + } + get integrationId() { + var e3; + return null === (e3 = this._model.integration) || void 0 === e3 ? void 0 : e3.id; + } + get integrationName() { + var e3; + return null === (e3 = this._model.integration) || void 0 === e3 ? void 0 : e3.name; } } - t2.default = a; - }, 67277: (e2, t2, i2) => { - const n2 = i2(5410), r2 = i2(7401), { setFlowOutcomeActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _outcomeValue: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { outcomeValue: { enumerable: true, get: function() { - return this._outcomeValue; - }, set: function(e3) { - this._outcomeValue = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 67336: (e2, t2, i2) => { + t2.DialogflowAgentViewModel = h; + }, 53943(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)), 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; - } - class h extends l.default { + const n2 = i2(31635), o = i2(17604), r = 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(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreViewModel"), e3), this._coreViewModel = e3; + super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, d.default)(); } - _addPropToMapIfShouldBeTraversed(e3, t3, i3) { - if (!e3 || "_" === e3[0] || this._deprecatedPropertyNames[e3]) return; - const n3 = _(e3); - if (i3[n3]) return; - let o2; - i3[n3] = true; - try { - o2 = this[e3]; - } catch (e4) { - if (!r2.default.isString(e4) || !e4.includes("calling this method requires functionality that is not available in the organization.")) throw e4; - } - o2 && (o2.isArchBaseObject || r2.default.isArray(o2) && o2.length && (o2[0] && o2[0].isArchBaseObject || o2[o2.length - 1] && o2[o2.length - 1].isArchBaseObject)) && (t3[n3] = o2); + get className() { + return "DialogflowCxAgentViewModel"; } - _checkAndPerformTraverseCallback(e3, t3) { - let i3 = e3.calledBackObjects[this.displayTypeName]; - const n3 = _(t3.hierarchyStr); - 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(), c.default.executeCallback(this, "traverse", e3.archSettings.callbackFunction, r3, false, "traverse callback -"), i3 || (i3 = {}, e3.calledBackObjects[this.displayTypeName] = i3), i3[n3] = true, true; + get descriptionIntegrationName() { + return a.isFeatureAvailable(l.default.googleDialogflowCXResellV2Feature) && r.default.isString(this.integrationName) ? (0, o.sprintf)(p.dialogflow.integrationNameLabel, r.default.escape(this.integrationName)) : null; } - get _deprecatedPropertyNames() { - return d; + get errorSchema() { + return this._errorSchema; } - _getCoreViewModel() { - return this._coreViewModel; + get getConfiguration() { + return this.model; } - get displayTypeName() { - return "ArchBaseCoreObject"; + get id() { + return this.model.id; } - get isArchBaseCoreObject() { - return true; + get integrationId() { + var e3; + return null === (e3 = this.model.integration) || void 0 === e3 ? void 0 : e3.id; } - _getMyTraversalPropNamesAndPropValues() { - const e3 = {}, t3 = {}; - r2.default.each(Object.getOwnPropertyNames(this), (i4) => { - this._addPropToMapIfShouldBeTraversed(i4, e3, t3); - }); - let i3 = Object.getPrototypeOf(this); - for (; i3; ) r2.default.each(Object.getOwnPropertyNames(i3), (i4) => { - this._addPropToMapIfShouldBeTraversed(i4, e3, t3); - }), i3 = Object.getPrototypeOf(i3), Object.prototype.hasOwnProperty.call(i3, "isArchBaseObject") && (i3 = null); - return e3; + get integrationName() { + var e3; + return null === (e3 = this.model.integration) || void 0 === e3 ? void 0 : e3.name; } - _propShouldBeTraversed(e3) { - return e3 && !e3.startsWith("parent") && !(e3.startsWith("output") && "outputs" !== e3) && !(e3.startsWith("settings") && !this.isArchBaseFlow) && !p[e3] && !this._deprecatedPropertyNames[e3]; + get label() { + return this.name; } - traverse(e3, t3) { - this._checkItemIsValidFunction(this._infoParm("callbackFunction", "traverse"), e3), t3 ? this._checkItemIsArchFilterObject(this._infoParm("traverseFilter", "traverse"), t3) : (this.logNoteVerbose("No filter specified for traverse call. Using default traverse filter."), t3 = u.default.createFilterTraverseDefault(true)); - let i3 = { archSettings: s.default.create(t3, e3), traversedObjects: {}, calledBackObjects: {} }, n3 = 0; - const r3 = l.default._checkMethodCallFeatureIsAvailable_shouldLog; - try { - l.default._checkMethodCallFeatureIsAvailable_shouldLog = false, this._traverse(i3, o.default.createContext()); - } catch (e4) { - this.logItemErrorAndThrow(this._infoMethod("traverse"), "unhandled exception - " + e4); - } finally { - l.default._checkMethodCallFeatureIsAvailable_shouldLog = r3, n3 = i3.archSettings.callbackCount, i3 = void 0; - } - return n3; + get languages() { + return this.model.languages; } - _traverse(e3, t3) { - if (!e3.archSettings.shouldContinue) return; - let i3 = e3.traversedObjects[this.displayTypeName]; - const n3 = _(t3.hierarchyStr); - i3 && i3[n3] || (i3 || (i3 = {}, e3.traversedObjects[this.displayTypeName] = i3), i3[n3] = true, this._checkAndPerformTraverseCallback(e3, t3), e3.archSettings.shouldContinue && this._traverseProperties(e3, t3)); + get model() { + return this._model; } - _traverseProperties(e3, t3) { - const i3 = this._getMyTraversalPropNamesAndPropValues(); - r2.default.find(i3, (i4, n3) => { - if (this._propShouldBeTraversed(n3)) { - const o2 = r2.default.isArray(i4), a2 = o2 ? i4 : [i4]; - for (let i5 = 0; i5 < a2.length && e3.archSettings.shouldContinue; i5++) { - const r3 = a2[i5]; - if (r3 && !r3.isArchBaseFlow && r3.isArchBaseCoreObject) try { - t3._addHierarchyItemPropAccess(this, n3, o2 ? i5 : void 0), r3._traverse(e3, t3); - } finally { - t3._popHierarchyItem(); - } - } - } - return !e3.archSettings.shouldContinue; + set model(e3) { + this._model = e3, this.environments = [new c.default(s.default.dialogflow.draftEnvironmentId, s.default.dialogflow.draftEnvironmentName)], r.default.each(this.model.environments, (e4) => { + this.environments.push(new c.default(e4.id, e4.name, null)); }); } + get name() { + return this.model.name; + } + get project() { + return this.model.project; + } + get projectId() { + var e3; + return null === (e3 = this.project) || void 0 === e3 ? void 0 : e3.id; + } } - t2.default = h; - }, 67346: (e2, t2, i2) => { + t2.default = _; + }, 41633(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(67432)); + class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.transferExternalActionType; - } - get displayTypeName() { - return "ArchMenuTransferToNumber"; - } - get actionTransferToNumber() { - return this._archAction; - } - get isArchMenuTransferToNumber() { + get isDigitalAudioViewModel() { return true; } } - t2.default = a; - }, 67355: (e2, t2, i2) => { + t2.default = o; + }, 1234(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + t2.DivisionViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(55299), a = n2.__importStar(i2(97591)), s = i2(50778); + class l extends r.BaseClass { constructor(e3) { - super(e3); + super(), Object.defineProperties(this, { _permissions: { writable: true, value: [] }, model: { value: e3 } }); } - get _globalTypeName() { - return "CustomerIntent"; + static create(e3, t3) { + const i3 = new s({ id: e3, name: t3 }); + return new l(i3); } - get displayTypeName() { - return "ArchVariableCustomerIntent"; + get className() { + return "DivisionViewModel"; } - get initialValue() { - return this._initialValue; + get id() { + return this.model.id; } - get isArchVariableCustomerIntent() { + set id(e3) { + } + get isDivisionViewModel() { return true; } - } - t2.default = r2; - }, 67359: (e2, t2, i2) => { - "use strict"; - var n2 = i2(52696); - let r2 = 0; - class o { - constructor(e3, t3, i3, n3) { - this.name = e3, this.set = t3, this.base = i3, this.modified = n3, this.id = r2++; + get isHomeDivision() { + return this.model.homeDivision; } - toString() { - let { name: e3 } = this; - for (let t3 of this.modified) t3.name && (e3 = `${t3.name}(${e3})`); - return e3; + set isHomeDivision(e3) { + this.model.homeDivision = !!e3; } - static define(e3, t3) { - let i3 = "string" == typeof e3 ? e3 : "?"; - if (e3 instanceof o && (t3 = e3), null == t3 ? void 0 : t3.base) throw new Error("Can not derive from a modified tag"); - let n3 = new o(i3, [], null, []); - if (n3.set.push(n3), t3) for (let e4 of t3.set) n3.set.push(e4); - return n3; + get isStarDivision() { + return this.id === a.starDivision; } - static defineModifier(e3) { - let t3 = new s(e3); - return (e4) => e4.modified.indexOf(t3) > -1 ? e4 : s.get(e4.base || e4, e4.modified.concat(t3).sort((e5, t4) => e5.id - t4.id)); + get name() { + return this.model.name; + } + set name(e3) { + this.model.name = e3; + } + get label() { + return this.name; + } + get lowerName() { + return this.model.name ? this.model.name.toLowerCase() : ""; + } + get permissions() { + return this._permissions; + } + addPermission(e3) { + o.default.contains(this.permissions, e3) || this.permissions.push(e3); + } + setId() { + } + setName() { } } - let a = 0; - class s { + t2.DivisionViewModel = l; + }, 78235(e2, t2, i2) { + "use strict"; + t2.EmergencyGroupViewModel = void 0; + const n2 = i2(74483); + class o extends n2.NameIdConfigurationListViewModel { constructor(e3) { - this.name = e3, this.instances = [], this.id = a++; + super(e3); } - static get(e3, t3) { - if (!t3.length) return e3; - let i3 = t3[0].instances.find((i4) => { - return i4.base == e3 && (n4 = t3, r4 = i4.modified, n4.length == r4.length && n4.every((e4, t4) => e4 == r4[t4])); - var n4, r4; - }); - if (i3) return i3; - let n3 = [], r3 = new o(e3.name, n3, e3, t3); - for (let e4 of t3) e4.instances.push(r3); - let a2 = (function(e4) { - let t4 = [[]]; - for (let i4 = 0; i4 < e4.length; i4++) for (let n4 = 0, r4 = t4.length; n4 < r4; n4++) t4.push(t4[n4].concat(e4[i4])); - return t4.sort((e5, t5) => t5.length - e5.length); - })(t3); - for (let t4 of e3.set) if (!t4.modified.length) for (let e4 of a2) n3.push(s.get(t4, e4)); - return r3; + get className() { + return "EmergencyGroupViewModel"; + } + get label() { + return this._model.name; } } - const l = new n2.NodeProp({ combine(e3, t3) { - let i3, n3, r3; - for (; e3 || t3; ) { - if (!e3 || t3 && e3.depth >= t3.depth ? (r3 = t3, t3 = t3.next) : (r3 = e3, e3 = e3.next), i3 && i3.mode == r3.mode && !r3.context && !i3.context) continue; - let o2 = new u(r3.tags, r3.mode, r3.context); - i3 ? i3.next = o2 : n3 = o2, i3 = o2; + t2.EmergencyGroupViewModel = o; + }, 62297(e2, t2, i2) { + "use strict"; + t2.EngineViewModel = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(24032), r = i2(55299), a = (0, o.getTopic)("EngineViewModel"); + class s extends r.BaseClass { + constructor(e3, t3) { + super(), this.model = e3, this.id = t3 || e3.id, this.flowTypes = [], this.defaultsChanged = false, this.resetLanguageProperties(); } - return n3; - } }); - class u { - constructor(e3, t3, i3, n3) { - this.tags = e3, this.mode = t3, this.context = i3, this.next = n3; + get isSecure() { + return this.model.isSecure; } - get opaque() { - return 0 == this.mode; + set isSecure(e3) { + this.model.isSecure = e3; } - get inherit() { - return 1 == this.mode; + get id() { + return this.model.id; } - sort(e3) { - return !e3 || e3.depth < this.depth ? (this.next = e3, this) : (e3.next = this.sort(e3.next), e3); + set id(e3) { + this.model.id = e3; } - get depth() { - return this.context ? this.context.length : 0; + get name() { + return this.model.name; } - } - 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; - let { scope: n3, all: r3 = null } = t3 || {}; - return { style: (e4) => { - let t4 = r3; - for (let n4 of e4) for (let e5 of n4.set) { - let n5 = i3[e5.id]; - if (n5) { - t4 = t4 ? t4 + " " + n5 : n5; - break; - } - } - return t4; - }, scope: n3 }; - } - 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); - } - u.empty = new u([], 2, null); - class p { - constructor(e3, t3, i3) { - this.at = e3, this.highlighters = t3, this.span = i3, this.class = ""; + set name(e3) { + this.model.name = e3; } - startSpan(e3, t3) { - t3 != this.class && (this.flush(e3), e3 > this.at && (this.at = e3), this.class = t3); + addLanguage(e3, t3, i3) { + if (!n2.default.isString(e3)) return; + const o2 = e3.toLocaleLowerCase(); + this.languages[o2] = true, this.languagesWhereDefault[o2] = t3, this.languagesNoRegion[null == o2 ? void 0 : o2.split("-")[0]] = true; } - flush(e3) { - e3 > this.at && this.class && this.span(this.at, e3, this.class); + getEngineSupportsLanguage(e3) { + return !!n2.default.isString(e3) && !!this.languages[e3.toLocaleLowerCase()]; } - highlightRange(e3, t3, i3, r3, o2) { - 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 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, 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 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), c2)); - } - u2 && e3.parent(); - } else if (e3.firstChild()) { - h2 && (r3 = ""); - do { - if (!(e3.to <= t3)) { - if (e3.from >= i3) break; - this.highlightRange(e3, t3, i3, r3, o2), this.startSpan(Math.min(i3, e3.to), c2); - } - } while (e3.nextSibling()); - e3.parent(); - } + getEngineSupportsLanguageNoRegion(e3) { + return !!n2.default.isString(e3) && !!this.languagesNoRegion[e3.toLocaleLowerCase()]; } - } - function _(e3) { - let t3 = e3.type.prop(l); - 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(), 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 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)) { - for (let o3 = e3.slice(s2, t4), a3 = 0; ; ) { - let e4 = o3.indexOf("\n", a3), t5 = e4 < 0 ? o3.length : e4; - if (t5 > a3 && n3(o3.slice(a3, t5), i4), e4 < 0) break; - r3(), a3 = e4 + 1; - } - s2 = t4; - } + getEngineSupportsFlowType(e3) { + return !!n2.default.isString(e3) && this.flowTypes.includes(e3); } - d(t3, i3, (e4, t4, i4) => { - l2(e4, ""), l2(t4, i4); - }, o2, a2), l2(a2, ""); - }, t2.highlightTree = d, t2.styleTags = function(e3) { - let t3 = /* @__PURE__ */ Object.create(null); - for (let i3 in e3) { - let n3 = e3[i3]; - Array.isArray(n3) || (n3 = [n3]); - for (let e4 of i3.split(" ")) if (e4) { - let i4 = [], r3 = 2, o2 = e4; - for (let t4 = 0; ; ) { - if ("..." == o2 && t4 > 0 && t4 + 3 == e4.length) { - r3 = 1; - break; - } - let n4 = /^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o2); - if (!n4) throw new RangeError("Invalid path: " + e4); - if (i4.push("*" == n4[0] ? "" : '"' == n4[0][0] ? JSON.parse(n4[0]) : n4[0]), t4 += n4[0].length, t4 == e4.length) break; - let a3 = e4[t4++]; - if (t4 == e4.length && "!" == a3) { - r3 = 0; - break; - } - if ("/" != a3) throw new RangeError("Invalid path: " + e4); - o2 = e4.slice(t4); - } - let a2 = i4.length - 1, s2 = i4[a2]; - if (!s2) throw new RangeError("Invalid path: " + e4); - let l2 = new u(n3, r3, a2 > 0 ? i4.slice(0, a2) : null); - t3[s2] = l2.sort(t3[s2]); - } + getEngineSupportsLanguageAndFlowType(e3, t3) { + return this.getEngineSupportsLanguage(e3) && this.getEngineSupportsFlowType(t3); + } + getIsEngineDefaultForLanguage(e3) { + return !!n2.default.isString(e3) && !!this.languagesWhereDefault[e3.toLocaleLowerCase()]; } - return l.add(t3); - }, t2.tagHighlighter = c, t2.tags = w; - }, 67377: (e2, t2, i2) => { + resetLanguageProperties() { + this.languages = {}, this.languagesWhereDefault = {}, this.languagesNoRegion = {}; + } + updateItem(e3) { + if (e3) if (this._supportedLanguagesManager || (this._supportedLanguagesManager = i2(98442)), this.name = e3.name, this.isSecure = e3.isSecure, e3.languages) { + const t3 = n2.default.pick(e3.languages, (e4, t4) => !!this._supportedLanguagesManager.getLanguageEntry(t4)); + this.defaultsChanged = n2.default.some(t3, (e4, t4) => { + const i3 = t4.toLowerCase(); + return e4.isDefault && !this.languagesWhereDefault[i3] || !e4.isDefault && this.languagesWhereDefault[i3]; + }), this.resetLanguageProperties(), n2.default.each(t3, (e4, t4) => { + this.addLanguage(t4, e4.isDefault); + }); + } else a.error(`languages property not found in validation data for engine with id '${e3.id}'`); + } + } + t2.EngineViewModel = s; + }, 97063(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(19596), o = i2(80295); - class a extends r2.DataContract { - constructor(e3) { - super(e3); + const n2 = i2(55299); + class o extends n2.BaseClass { + constructor(e3, t3, i3 = false) { + super(), this._featureConfigName = e3, this._featureConfigData = t3, this._isOverride = i3; } - get id() { - return this._id; + get isAvailable() { + return this._featureConfigData.isAvailable; } - set id(e3) { - this._id = e3; + get featureConfigName() { + return this._featureConfigName; } - get name() { - return this._name; + get isOverride() { + return this._isOverride; } - set name(e3) { - this._name = e3; + get className() { + return "FeatureConfigViewModel"; } - get jsonSchema() { - return this._jsonSchema; + } + t2.default = o; + }, 92533(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67432)); + class o extends n2.default { + constructor(e3) { + super(e3); } - set jsonSchema(e3) { - this._jsonSchema = e3; + get isFileViewModel() { + return true; } } - 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); - }, 67432: (e2, t2, i2) => { + t2.default = o; + }, 76155(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(43277)); - class r2 extends n2.default { - constructor(e3) { - super(e3.id, e3.name, e3.description), this._model = e3; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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)), I = n2.__importDefault(i2(22917)), C = i2(47957), O = o.default.invert(T.outputIds), b = l.getTopic("FlowElementWithNodeInformation"); + class E extends p.default { + constructor(e3, t3) { + 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 division() { - return this._model.division; + get amObjectEventEmitter() { + return true; } - get contentLength() { - return this._model.contentLength; + get className() { + return "FlowElementWithNodeInformation"; } - get contentLocation() { - return this._model.contentLocation; + get deprecatedViewModelMarker() { + return "__DEPRECATED__"; } - get contentType() { - return this._model.contentType; + get info() { + return this.constructor.info; } - get dateCreated() { - return this._model.dateCreated; + get isStartUpObject() { + const e3 = this.parentFlow.startUpObject; + return e3 && e3.id === this.id; } - get createdBy() { - return this._model.createdBy; + get name() { + return this.model.name; } - get dateModified() { - return this._model.dateModified; + set name(e3) { + this.model.name = null == e3 ? void 0 : e3.trim(), this.nameFacetError = this.validateName(this.name), s.fireEvent(this, r.nameChanged); } - get modifiedBy() { - return this._model.modifiedBy; + validateName(e3, t3) { + let i3, n3 = false; + if (e3) { + const t4 = this._nameStringFacet._facetValidateValue(e3); + !t4 || t4.isValid ? i3 = void 0 : (i3 = t4.message, n3 = true); + } else i3 = C.errors.noName; + return t3 && this.nameFacetError && t3.addError(this, n3 ? (0, A.sprintf)(N.default.facets.errorWithExpressionLabel, i3, C.generic.name) : i3), i3; } - get responses() { - return this._model.responses; + getParentingFlowElementByIdOrNodeInfoId(e3, t3) { + let i3 = t3 ? this.parent : this; + if (i3) for (; i3.parent; ) { + if (o.default.contains(e3, i3.id) || i3.info && o.default.contains(e3, i3.info.id)) return i3; + for (i3 = i3.parent; i3 && !o.default.contains([T.outputIds.loop, T.outputIds.loopNext], i3.id); ) { + const e4 = i3.parent; + if (!(e4 && e4.info && o.default.contains([m.loopActionType, g.loopUntilActionType], e4.info.id))) break; + i3 = e4.parent; + } + } } - get isResponseAssetViewModel() { + get isFlowElementWithNodeInformation() { return true; } - } - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get model() { + return this._model; } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findUserPrompt.nameLabel, searchResultLabel: d.findActions.findUserPrompt.resultLabel, searchResultExpressionOptions: a.ExpressionTypePromptOptions.create(), searchResultItemType: o.expressionTypeNames.prompt }); + get availableVariableScopes() { + return o.default.union(this.userCreatableVariableScopes, this.parentFlow.availableVariableScopes); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get defaultVariableScope() { + return this.localVariableScope; } - get _globalTypeName() { - return "surveyForm"; + get localVariableScope() { + return c.scopes.flow; } - get displayTypeName() { - return "ArchVariableSurveyForm"; + get builtInVariableScopes() { + return this.parentFlow.builtInVariableScopes; } - get initialValue() { - return this._initialValue; + get userCreatableVariableScopes() { + return o.default.union([this.localVariableScope]); } - get isArchVariableSurveyForm() { + get canRename() { return true; } - } - t2.default = r2; - }, 67478: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeMap = void 0; - var n2 = i2(26872), r2 = i2(19724), o = i2(65212), a = i2(2574), s = i2(10281); - t2.mergeMap = function e3(t3, i3, l) { - return void 0 === l && (l = 1 / 0), s.isFunction(i3) ? e3(function(e4, o2) { - return n2.map(function(t4, n3) { - return i3(e4, t4, o2, n3); - })(r2.innerFrom(t3(e4, o2))); - }, l) : ("number" == typeof i3 && (l = i3), o.operate(function(e4, i4) { - return a.mergeInternals(e4, i4, t3, l); - })); - }; - }, 67483: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allUtilizationLabelFailureReasons = t2.setUtilizationLabelFailureReasonsAll = t2.clearUtilizationLabelFailureReasonsAll = t2.setUtilizationLabelFailureReasonsWithWorkitem = t2.clearUtilizationLabelFailureReasonsWithWorkitem = t2.clearUtilizationLabelFailureReasons = t2.setUtilizationLabelFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(3219), o = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", generalError: "GeneralError", invalidConversation: "InvalidConversation", invalidUtilizationLabel: "InvalidUtilizationLabel" }, a = [o.generalError]; - t2.setUtilizationLabelFailureReasons = n2.default.uniq(a.concat([o.actionInvocationLimitExceeded, o.invalidConversation, o.invalidUtilizationLabel])), t2.clearUtilizationLabelFailureReasons = n2.default.uniq(a.concat([o.actionInvocationLimitExceeded, o.invalidConversation])), t2.clearUtilizationLabelFailureReasonsWithWorkitem = n2.default.uniq(t2.clearUtilizationLabelFailureReasons.concat(r2.workitemFailureReasonsForUtilizationLabelActions)), t2.setUtilizationLabelFailureReasonsWithWorkitem = n2.default.uniq(t2.setUtilizationLabelFailureReasons.concat(r2.workitemFailureReasonsForUtilizationLabelActions)), t2.clearUtilizationLabelFailureReasonsAll = t2.clearUtilizationLabelFailureReasonsWithWorkitem, t2.setUtilizationLabelFailureReasonsAll = t2.setUtilizationLabelFailureReasonsWithWorkitem, t2.allUtilizationLabelFailureReasons = o; - }, 67504: (e2, t2, i2) => { - const n2 = i2(28730), { clearActiveIntentActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 67513: (e2, t2, i2) => { - function n2() { - this.description = void 0, this.title = void 0, this.type = void 0, this.properties = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "ScriptVariables"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, variables: { get: function() { - return this.properties; - } } }), e2.exports = n2; - }, 67552: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isPromise = void 0; - var n2 = i2(10281); - t2.isPromise = function(e3) { - return n2.isFunction(null == e3 ? void 0 : e3.then); - }; - }, 67607: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeBooleanOptions = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(65615), a = i2(55909), s = i2(33951); - class l extends o.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + canAddNode(e3) { + const t3 = a.getInfo(e3); + if (!t3) return false; + if (this.parentFlow.isReadOnly) return false; + const i3 = this.topParent || this; + return t3.getAvailability(i3, !(i3.isMenu || i3.isMenuChoice), this.parentFlow); } - constructor(e3) { - super(e3), this._useCustomWarning = false, this._useCheckbox = false, this._useButton = false, this._useToggle = false, (0, r2.makeUnenumerable)(this, "_boolText"), (0, r2.makeUnenumerable)(this, "_useCustomWarning"), (0, r2.makeUnenumerable)(this, "_useCheckbox"); + getConfiguration(e3, t3) { + return (null == t3 ? void 0 : t3.isForFlowYaml) ? this._getConfigurationForYaml(e3, t3) : this.model.getConfiguration(e3, t3); } - _setFromOptions(e3) { - super._setFromOptions(e3), e3.boolText ? this.setBoolText(e3.boolText.true, e3.boolText.false) : this._boolText = void 0, this._setOptionIfSet(this.setUseCustomWarning, e3.useCustomWarning), this._setOptionIfSet(this.setUseCheckbox, e3.useCheckbox), this._setOptionIfSet(this.setUseButton, e3.useButton), this._setOptionIfSet(this.setUseToggle, e3.useToggle); + processYamlProperty(e3, t3, i3, n3) { + var r2, a2; + return o.default.isNullOrUndefined(i3) || (null === (r2 = null == n3 ? void 0 : n3.doNotExportForFlowTypes) || void 0 === r2 ? void 0 : r2.includes(this.parentFlow.type)) || i3.outOfService && !(null == n3 ? void 0 : n3.serializeOutOfService) || i3.isExpressionMode && (null === (a2 = null == n3 ? void 0 : n3.doNotExportAsExpressionForFlowTypes) || void 0 === a2 ? void 0 : a2.includes(this.parentFlow.type)) ? null : o.default.isFunction(i3.getConfiguration) ? i3.getConfiguration(e3, t3, n3) : i3; } - get isExpressionTypeBooleanOptions() { - return true; + getDisplayName() { + return this.name ? this.name : this.info ? this.info.name : ""; } - get className() { - return "ExpressionTypeBooleanOptions"; + getIsChildOfObject(e3) { + if (!e3) return false; + let t3 = this.parent; + for (; t3; ) { + if (t3 === e3) return true; + if (t3 === e3.menu) return true; + t3 = t3.parentMenu || t3.parent; + } + return false; } - get boolText() { - return this._boolText; + getNodeToNavigateToOnDelete() { + let e3 = this.parent; + for (; e3; ) { + if (!e3.isDestroyed && !e3.isFlowViewModel) return e3; + e3 = e3.parent; + } + return this.parentFlow.startUpObject; } - set boolText(e3) { - this._boolText = s.ParameterValidator.expectObject(e3, () => a.ParameterInfo.createPropertySet(this.className, "boolText", "value")); + getYamlOptionsMap() { + return b.errorWithErrorObjectInfo(`getYamlOptionsMap not implemented for class ${this.className}`, this, true), null; } - get useCustomWarning() { - return this._useCustomWarning; + get yamlPath() { + let e3; + return this.parentMenu ? `${this.parentMenu.yamlPath}/choices/menuSubMenu[${this.getRefId()}]` : this.isInQueueStartUpState ? `/${this.parentFlow.wrappedYamlName}/startUpState` : this.isPeriodicState ? `/${this.parentFlow.wrappedYamlName}/periodicState` : this.isMenu || this.isTaskLike ? (e3 = this.wrappedYamlName, `/${this.parentFlow.wrappedYamlName}/${e3}s/${e3}[${this.getRefId()}]`) : null; } - set useCustomWarning(e3) { - this._useCustomWarning = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useCustomWarning", "value")); + getRefId() { + let e3 = o.default.isObject(this.linkedMenuChoice) ? this.linkedMenuChoice.trackingId : this.trackingId, t3 = this.getDisplayName(); + if (!o.default.isString(t3)) return `_${e3}`; + for (const e4 of this.characterToReplace.entries()) t3 = t3.split(e4[0]).join(e4[1]); + return `${t3}_${e3}`; } - get useButton() { - return this._useButton; + initialize() { + super.initialize(); } - set useButton(e3) { - true === e3 && (this.useCheckbox = true), this._useButton = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useButton", "value")); + updateTraceTopic() { + var e3, t3; + const i3 = l.getTopic((null === (e3 = this.info) || void 0 === e3 ? void 0 : e3.typeId) || this.className); + this.topic = this.model ? i3.withMultipleContext(Object.assign({ actionId: this.id, infoName: null === (t3 = this.info) || void 0 === t3 ? void 0 : t3.name }, this.parentFlow.topic.context)) : i3; } - get useToggle() { - return this._useToggle; + validate(e3) { + this.nameFacetError = this.validateName(this.name, e3); } - set useToggle(e3) { - this._useToggle = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useToggle", "value")); + _getConfigurationForYaml(e3, t3) { + var i3; + let n3 = {}, r2 = false; + if (!o.default.isFunction(this.getYamlOptionsMap)) return null; + const a2 = this.getYamlOptionsMap(); + if (a2 ? o.default.mapObject(a2, (i4, a3) => { + if (!i4) return void b.errorWithStack(null, `No yamlOptions found for property '${a3}'.`); + if (i4.skipProperty) return; + i4.wrapValueAndActionsInPropertyName && (r2 = true), a3.startsWith(this.deprecatedViewModelMarker) && (a3 = a3.replace(this.deprecatedViewModelMarker, "")); + const s3 = this[a3]; + let l2 = this.processYamlProperty(e3, t3, s3, i4); + o.default.isNullOrUndefined(l2) || (o.default.isObject(l2) && o.default.isEmpty(l2) && b.errorWithStack(null, `Empty object generated for YAML property '${a3}'`), l2 = o.default.tryWrapObject(l2, i4.wrappedValueName), i4.wrappedObjectName ? n3[i4.wrappedObjectName] = o.default.tryWrapObject(l2, i4.propertyName || a3) : n3[i4.propertyName || a3] = l2); + }) : b.errorWithErrorObjectInfo("No yamlOptionsMap found for node.", this, true), o.default.each(this.branches, (i4) => { + if (r2 && !i4.isBuiltInBranch) return; + const a3 = i4.getConfiguration(e3, t3); + if (a3 || this.supportsNLUIntents) if (this.supportsIntents && i4.isDynamicBranch) this._ensureOutputsObjectAddedToYamlConfig(n3), n3.outputs.intents || (n3.outputs.intents = {}), n3.outputs.intents[i4.getYamlOutputId(i4.id)] = a3; + else if (this.supportsCustomOutputPaths && this.getOptionalBranchInfo(i4.id)) { + this._ensureOutputsObjectAddedToYamlConfig(n3); + const e4 = this.supportsNLUIntents ? "intent" : "path", t4 = `${e4}s`; + n3.outputs[t4] || (n3.outputs[t4] = []); + const r3 = o.default.extend({ name: i4.label }, a3); + this.supportsNLUIntents && (i4.isDynamicBranch ? r3.enabled = i4.isEnabledDynamicBranch : r3.enabled = !i4.outOfService), n3.outputs[t4].push(o.default.tryWrapObject(r3, e4)); + } else a3 && (this._ensureOutputsObjectAddedToYamlConfig(n3), n3.outputs[i4.getYamlOutputId(i4.id)] = a3); + }), this.postProcessYamlConfig && this.postProcessYamlConfig(n3, e3, t3), this.isMenu && (n3.refId = this.getRefId()), null === (i3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === i3 ? void 0 : i3.includeTrackingIds) { + const e4 = this.trackingId; + e4 && (n3.trackingId = e4); + } + this.isStartUpObject && (e3.startUpRef = this.yamlPath); + const s2 = {}; + return o.default.each(a2, (e4, t4) => { + e4 && o.default.isActualNumber(e4.exportOrder) && (s2[e4.propertyName || t4] = e4.exportOrder); + }), n3 = I.default.sortObjectByPropertyMap(n3, o.default.extend(this.yamlPropertyOrderMap, s2)), o.default.tryWrapObject(n3, this.wrappedYamlName); } - get useCheckbox() { - return this._useCheckbox; + getYamlOutputId(e3) { + return O[e3]; } - set useCheckbox(e3) { - this._useCheckbox = s.ParameterValidator.expectBool(e3, () => a.ParameterInfo.createPropertySet(this.className, "useCheckbox", "value")); + get supportsNLUIntents() { } - setBoolText(e3, t3) { - const i3 = {}; - return i3.true = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "setBoolText", "trueString")), i3.false = s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createFunctionParameter(this.className, "setBoolText", "falseString")), this.boolText = i3, this; + get supportsIntents() { } - setUseCustomWarning(e3) { - return this.useCustomWarning = e3, this; + get supportsCustomOutputPaths() { } - setUseCheckbox(e3) { - return this.useCheckbox = e3, this; + get yamlPropertyOrderMap() { + return { name: 0, refId: 10, trackingId: 15, outputs: 999 }; } - setUseButton(e3) { - return this.useButton = e3, e3 && (this.useCheckbox = true), this; + _ensureOutputsObjectAddedToYamlConfig(e3) { + e3.outputs || (e3.outputs = {}); } - setUseToggle(e3) { - return this.useToggle = e3, this; + _loadModel(e3) { + e3 && (this._model = e3, this.updateTraceTopic(), h.flowElementRegistrationService.registerItem(this)); + } + _preDestroy() { + super._preDestroy(), u.removeNode(this), (0, d.clearIssues)(this), h.flowElementRegistrationService.unregisterItem(this); + } + toString() { + var e3, t3; + return `infoName: '${null === (e3 = this.info) || void 0 === e3 ? void 0 : e3.name}', infoType: '${null === (t3 = this.info) || void 0 === t3 ? void 0 : t3.typeId}', id: '${this.id}'`; } } - t2.ExpressionTypeBooleanOptions = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "boolText", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], l.prototype, "useCustomWarning", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], l.prototype, "useCheckbox", null); - }, 67641: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _skill: { writable: true }, _value: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "SkillValuePair"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - this.skill?.pasteReIdOrRename(e3), this.value?.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - this.skill?.pasteResolveOldToNewValues(e3), this.value?.pasteResolveOldToNewValues(e3); - } }, addClipboardDependencies: { value: function(e3) { - this._skill && this._skill.addClipboardDependencies(e3), this._value && this._value.addClipboardDependencies(e3); - } }, initializeDesignTime: { value: function() { - this._skill && this._skill.initializeDesignTime(), this._value && this._value.initializeDesignTime(); - } }, skill: { enumerable: true, get: function() { - return this._skill; - }, set: function(e3) { - this._skill = this.reviveItem(e3, r2); - } }, value: { enumerable: true, get: function() { - return this._value; - }, set: function(e3) { - this._value = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 67644: (e2, t2, i2) => { + t2.default = E; + }, 41197(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(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); - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(76155)); + let a; + class s extends r.default { get className() { - return "CurrencyType"; - } - createExpressionOptionClass() { - return new l.ExpressionTypeCurrencyOptions(); + return "FlowElementWithNodeInformationAndChildren"; } - convertLitToExpression(e3, t3) { - return `ToCurrency("${t3}")`; + get isFlowElementWithNodeInformationAndChildren() { + return true; } - 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}"`; + destroyChildren() { } - _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], { 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 === d.default.notSet) return this.createCurrencyExpressionValue(i4, d.default.notSet); - } - } + _preDestroy() { + if (super._preDestroy(), this._destroyReferencedVariables = void 0, this.parentFlow && !this.parentFlow.isDestroying && this.parent && !this.parent.isDestroying) { + const e3 = this.topParent; + (!e3 || e3 && !e3.isDestroyedOrDestroying) && (this._destroyReferencedVariables = (a || (a = i2(5093)), a).getDependentVariables(this)); } - return ""; - } - createCurrencyExpressionValue(e3, t3) { - 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 { 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); + _destroy() { + super._destroy(), this.destroyChildren(); } - 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) }; - } + _postDestroy() { + if (super._postDestroy(), this._destroyReferencedVariables) try { + o.default.each(this._destroyReferencedVariables, (e3) => { + e3.deleteItem(this.parentFlow, true); + }); + } finally { + this._destroyReferencedVariables = void 0; } - 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 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); + } + t2.default = s; + }, 39123(e2, t2, i2) { + "use strict"; + t2.FlowOutcomeViewModel = void 0; + const n2 = i2(74483); + class o extends n2.NameIdConfigurationListViewModel { + constructor(e3) { + super(e3); } - 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); - } + get className() { + return "FlowOutcomeViewModal"; + } + get label() { + return this._model.name; } } - t2.CurrencyType = S, S.typeIdentifier = g.expressionTypeNames.currency; - }, 67692: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "DigitalAudioVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; - }, 67801: (e2, t2, i2) => { + t2.FlowOutcomeViewModel = o; + }, 68823(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), c = n2.__importDefault(i2(52816)), d = i2(47957), p = i2(27862); - class _ extends l.default { - get requiredAuth() { - return u.externalAuthorizations.authStrings.knowledgeBaseView; + t2.FormPageComponentViewModel = void 0; + const n2 = i2(43212); + class o extends n2.BaseConfigurationListViewModel { + constructor(e3) { + super(e3); } - get dependencyType() { - return p.KnowledgeBase; + get className() { + return "FormPageComponentViewModel"; } - 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 = d.knowledgeSettings.knowledgeBaseDocument, this.securityError = true, this.suppressSearch = false, this.uiMetadataSectionName = "knowledgeBases", this.actionsForUsageSearch = [], this.actionPropertyForUsageSearch = "", this._initialize(), r2.serviceListen(r2.cleanUpFlow, () => this.resetState()); + get formComponentType() { + return this._model.formComponentType; } - _createItemViewModel(e3) { - return new c.default(e3); + get listPicker() { + return this._model.listPicker; + } + get datePicker() { + return this._model.datePicker; + } + get wheelPicker() { + return this._model.wheelPicker; + } + get input() { + return this._model.input; } } - t2.KnowledgeBaseManager = _, t2.knowledgeBaseManager = new _(); - }, 67817: (e2, t2, i2) => { + t2.FormPageComponentViewModel = o; + }, 30356(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + t2.FormPageViewModel = void 0; + const n2 = i2(43212), o = i2(68823), r = i2(20391); + class a extends n2.BaseConfigurationListViewModel { constructor(e3) { - super(e3); + super(e3), this._pageComponents = e3.pageComponents.map((e4) => new o.FormPageComponentViewModel(e4)); } - get _globalTypeName() { - return "anyCollection"; + get className() { + return "FormPageViewModel"; } - get displayTypeName() { - return "ArchValueAnyCollection"; + get title() { + return this._model.title; } - get isArchValueAnyCollection() { - return true; + get subtitle() { + return this._model.subtitle; + } + get pageComponents() { + return this._pageComponents; + } + get componentInfo() { + return (0, r.getDisplayInfoForComponent)(this.pageComponents[0]); } } - t2.default = r2; - }, 67825: (e2, t2, i2) => { - const n2 = i2(69823), { dataActionActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); + t2.FormPageViewModel = a; + }, 89125(e2, t2, i2) { + "use strict"; + t2.FormViewModel = void 0; + const n2 = i2(43212), o = i2(30356); + class r extends n2.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), this._formPages = e3.formPages.map((e4) => new o.FormPageViewModel(e4)); + } + get className() { + return "FormViewModel"; + } + get formPages() { + return this._formPages; + } } - n2.extend(o, r2, true), e2.exports = o; - }, 67829: (e2, t2, i2) => { + t2.FormViewModel = r; + }, 57416(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), c = i2(47957), d = i2(64420), p = i2(69946), _ = i2(87392); - class h extends l.default { + t2.GrammarViewModel = void 0; + const n2 = i2(18638), o = i2(82632); + t2.GrammarViewModel = class { constructor(e3) { - super(e3, "workitemFlowSettings", _), this.editor_testing_tag = "workitem-flow-settings"; + this._model = e3; + } + get className() { + return "GrammarViewModel"; + } + get isBaseClass() { + return false; } get id() { - return "workitemFlowSettings"; + return this._model.id; } - get helpTopic() { - return s.helpTopics.treeNodes.workitemFlowSettings; + get name() { + return this._model.name; } - get className() { - return "WorkitemFlowSettingsViewModel"; + set name(e3) { + this._model.name = e3; } - getDisplayName() { - return c.workitemFlowSettings.titleWithSettings; + get label() { + return this.name; } - getNodeName() { - return c.flow.types.workItem; + get description() { + return this._model.description; } - get isWorkitemFlowSettingsNode() { - return true; + set description(e3) { + this._model.description = e3; } - get wrappedYamlName() { - return "settingsWorkitemFlow"; + get languages() { + return this._model.languages; + } + getLanguagesString() { + return this.languages.map((e3) => e3.language).join(", "); + } + addLanguage(e3) { + this._model.languages || (this._model._languages = []), this._model.languages.push(e3); + } + get canAdd() { + return n2.permissionServiceHelper.canAddGrammars(); + } + get canDelete() { + return n2.permissionServiceHelper.canDeleteGrammars(); + } + get canEdit() { + return n2.permissionServiceHelper.canEditGrammars(); + } + get canView() { + return n2.permissionServiceHelper.canViewGrammars(); + } + static get nameMaxLength() { + return o.grammarLimits.name.maxLength; + } + static get descriptionMaxLength() { + return o.grammarLimits.description.maxLength; } - get nodeGuxIcon() { - return "fa/gears-regular"; + }; + }, 79627(e2, t2, i2) { + "use strict"; + t2.GuideVersionViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(57606)), a = i2(79519); + t2.GuideVersionViewModel = class { + constructor(e3) { + if (this._schemasNotLoaded = false, this._model = e3, this._schemasNotLoaded = true, this._model.inputs && this._model.outputs) { + this._schemasNotLoaded = false; + const e4 = { properties: {}, required: [] }, t3 = { properties: {}, required: [] }; + o.default.each(this._model.inputs, (t4) => { + o.default.isObject(t4) && (e4.properties[t4.name] = Object.assign(Object.assign({}, t4), { source: a.SchemaSource.aiGuide })); + }), o.default.each(this._model.outputs, (e5) => { + o.default.isObject(e5) && (t3.properties[e5.name] = Object.assign(Object.assign({}, e5), { source: a.SchemaSource.aiGuide }), t3.required.push(e5.name)); + }), this._inputSchema = new r.default(e4, true), this._outputSchema = new r.default(t3, false); + } else this._schemasNotLoaded = true; } - get worktype() { - return this._worktype; + get className() { + return "GuideVersionViewModel"; } - set worktype(e3) { - this._worktype = e3; + get isBaseClass() { + return false; } - getFlowConfigurationClass() { - return p; + get id() { + return this._model.id; } - get overrideWireFlowConfiguration() { - return d.getWorkitemFlowConfiguration; + get name() { + return this._model.version; } - get overrideWireFlowVersionConfiguration() { - return d.getVersionWorkitemFlowConfiguration; + get label() { + return this.name; } - loadConfiguration(e3) { - const t3 = Object.create(null, { loadConfiguration: { get: () => super.loadConfiguration } }); - return n2.__awaiter(this, void 0, void 0, function* () { - var i3, n3, r3, o2; - t3.loadConfiguration.call(this, e3), (null === (i3 = e3.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.customFieldsDataTypeId) && (this.customFieldsDataTypeId = e3.workitemFlowSettings.customFieldsDataTypeId), (null === (n3 = e3.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.customFieldsSchemaId) && (this.customFieldsSchemaId = e3.workitemFlowSettings.customFieldsSchemaId), (null === (r3 = e3.workitemFlowSettings) || void 0 === r3 ? void 0 : r3.customFieldsSchemaName) && (this.customFieldsSchemaName = e3.workitemFlowSettings.customFieldsSchemaName), (null === (o2 = e3.workitemFlowSettings) || void 0 === o2 ? void 0 : o2.worktype) && (this.worktype = e3.workitemFlowSettings.worktype); - }); + get version() { + return this._model.version; } - configureForWorktypeConfig(e3) { - this.worktype = e3.worktype, e3.customFieldsSchemaName && e3.customFieldsSchemaId && this.setCustomFieldsSchemaNameAndId(e3.customFieldsSchemaName, e3.customFieldsSchemaId); + get inputSchema() { + return this._inputSchema; } - getConfiguration(e3, t3) { - super.getConfiguration(e3, t3), (null == t3 ? void 0 : t3.isForFlowYaml) || (r2.default.isObject(e3.workitemFlowSettings) || (e3.workitemFlowSettings = {}), e3.workitemFlowSettings.customFieldsDataTypeId = this.customFieldsDataTypeId, e3.workitemFlowSettings.customFieldsSchemaId = this.customFieldsSchemaId, e3.workitemFlowSettings.customFieldsSchemaName = this.customFieldsSchemaName, e3.workitemFlowSettings.worktype = this.worktype); + get outputSchema() { + return this._outputSchema; } - get customFieldsDataTypeId() { - return this._customFieldsDataTypeId; + get schemasNotLoaded() { + return this._schemasNotLoaded; } - set customFieldsDataTypeId(e3) { - this._customFieldsDataTypeId = e3; + }; + }, 79015(e2, t2) { + "use strict"; + t2.GuideViewModel = void 0, t2.GuideViewModel = class { + constructor(e3) { + this._model = e3; } - get customFieldsSchemaId() { - return this._customFieldsSchemaId; + get className() { + return "GuideViewModel"; } - set customFieldsSchemaId(e3) { - this._customFieldsSchemaId = e3; + get isBaseClass() { + return false; } - get customFieldsSchemaName() { - return this._customFieldsSchemaName; + get id() { + return this._model.id; } - set customFieldsSchemaName(e3) { - this._customFieldsSchemaName = e3; + get name() { + return this._model.name; } - setCustomFieldsSchemaNameAndId(e3, t3) { - this.customFieldsSchemaId = t3, this.customFieldsSchemaName = e3; + set name(e3) { + this._model.name = e3; } - updateDependencies() { - var e3, t3, i3, n3; - super.updateDependencies(); - const r3 = (null === (e3 = this.worktype) || void 0 === e3 ? void 0 : e3.schema) || null; - (null === (i3 = null === (t3 = this.worktype) || void 0 === t3 ? void 0 : t3.schemaInfo) || void 0 === i3 ? void 0 : i3.id) && o.registerConsumer(this, `${this.id}_Schema`, r3.name, this.worktype.schemaInfo.id, void 0, u.Schema, this.parentFlow), (null === (n3 = this.worktype) || void 0 === n3 ? void 0 : n3.id) && o.registerConsumer(this, `${this.id}_Worktype`, this.worktype.name, this.worktype.id, void 0, u.Worktype, this.parentFlow); + get label() { + return this.name; } - getDisplayableListOfStatuses() { - const e3 = [], t3 = this.worktype.statuses.map((e4) => ({ displayString: e4.name, category: e4.category, id: e4.id })); - for (const i3 in a.WorktypeStatusCategories) { - const n3 = t3.filter((e4) => e4.category === a.WorktypeStatusCategories[i3]); - n3.sort((e4, t4) => e4.displayString > t4.displayString ? 1 : t4.displayString > e4.displayString ? -1 : 0), e3.push(...n3); - } - return e3; + get version() { + var e3; + return null === (e3 = this._model.latestProductionReadyVersion) || void 0 === e3 ? void 0 : e3.version; } - } - t2.default = h; - }, 67933: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatestAll = void 0; - var n2 = i2(88246), r2 = i2(80719); - t2.combineLatestAll = function(e3) { - return r2.joinAllInternals(n2.combineLatest, e3); }; - }, 67987: (e2, t2, i2) => { + }, 64836(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(67432)); + class o extends n2.default { constructor(e3) { - super(e3), this._targetUser = this.coreFactory.createArchWrapper(e3.user); - } - get _actionTypeId() { - return r2.playUserNameActionType; - } - get displayTypeName() { - return this._scriptingName; + super(e3); } - get isArchActionPlayUserName() { + get isImageViewModel() { return true; } - get targetUser() { - return this._targetUser; - } } - t2.default = a; - }, 68038: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SwitchStyles = void 0, (function(e3) { - e3[e3.firstTrueCase = 0] = "firstTrueCase", e3[e3.matchExpression = 1] = "matchExpression"; - })(i2 || (t2.SwitchStyles = i2 = {})); - }, 68039: (e2, t2, i2) => { + t2.default = o; + }, 97081(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeEmergencyGroupOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } + t2.IntegrationViewModel = void 0; + const n2 = i2(43212); + class o extends n2.BaseConfigurationListViewModel { constructor(e3) { super(e3); } get className() { - return "ExpressionTypeEmergencyGroupOptions"; + return "IntegrationViewModel"; } - get isExpressionTypeEmergencyGroupOptions() { - return true; + get id() { + return this._model.id; } - } - t2.ExpressionTypeEmergencyGroupOptions = r2; - }, 68040: (e2, t2, i2) => { - const n2 = i2(25760); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "NLUDomainList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 68087: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeAll = void 0; - var n2 = i2(67478), r2 = i2(87699); - t2.mergeAll = function(e3) { - return void 0 === e3 && (e3 = 1 / 0), n2.mergeMap(r2.identity, e3); - }; - }, 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + getConfiguration() { + return this._model; } - static get managedProperties() { - 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 }); + get label() { + return this._model.name || ""; } - } - 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; - const n2 = i2(24032), r2 = i2(64718), o = i2(47957); - class a extends r2.BaseIntegrationsActionCategoryManager { - constructor() { - super(), this.topic = (0, n2.getTopic)("DataActionCategoryManager"), this.additionalQueryParams = { secure: false }, this.dependencyContext = o.bridgeServer.category, this.className = "DataActionCategoryManager", this._initialize(); + get name() { + return this._model.name; } } - t2.DataActionCategoryManager = a, t2.dataActionCategoryManager = new a(); - }, 68152: (e2) => { - "use strict"; - e2.exports = function(e3) { - return e3.split("\n").map(function(e4) { - return e4.trimRight(); - }).join("\n"); - }; - }, 68208: (e2, t2, i2) => { + t2.IntegrationViewModel = o; + }, 74246(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(24364), o = i2(78); - class a { - constructor(e3) { - this.context = void 0, this.name = e3; + const n2 = i2(31635), o = n2.__importDefault(i2(17102)), r = n2.__importStar(i2(36781)), a = i2(10798), s = n2.__importDefault(i2(4648)); + class l extends o.default { + constructor() { + super(...arguments), this.modelPropertyName = "intentClassifierData"; } - addContext(e3, t3) { - e3 && t3 && (this.context || (this.context = {}), this.context[e3] = t3); + get intentClassifier() { + return this._intentClassifier; } - debug(e3, ...t3) { + set intentClassifier(e3) { + this._intentClassifier = e3; } - error(e3, ...t3) { - const i3 = [null].concat(n2.default.rest(arguments, 0)); - this._error.apply(this, i3); + get categories() { + var e3; + return null === (e3 = this._intentClassifier) || void 0 === e3 ? void 0 : e3.categories; } - errorWithErrorObjectInfo(e3, t3, i3, r3) { - const o2 = [null].concat(n2.default.rest(arguments, 0)); - this.exceptionWithErrorObjectInfo.apply(this, o2); + get hasCategories() { + var e3, t3; + return !!(null === (t3 = null === (e3 = this._intentClassifier) || void 0 === e3 ? void 0 : e3.categories) || void 0 === t3 ? void 0 : t3.length); } - errorPromise(e3, t3, ...i3) { - e3 && e3.isRequestError ? this.requestError(e3, t3) : this._handlePromiseError(n2.default.partial(this._error, void 0), e3, t3, n2.default.rest(arguments, 2)); + hasLiveOutputId(e3) { + var t3; + if (!e3) return false; + for (const i3 of (null === (t3 = this._intentClassifier) || void 0 === t3 ? void 0 : t3.categories) || []) if (i3) { + if (i3.id === e3) return true; + for (const t4 of i3.intents || []) if ((null == t4 ? void 0 : t4.id) === e3) return true; + } + return false; } - errorWithStack(e3, t3, ...i3) { - e3 || (e3 = new Error()); - const r3 = [e3, t3].concat(n2.default.rest(arguments, 2)); - this._error.apply(this, r3); + get id() { + return "intentClassifierData"; } - exception(e3, t3, ...i3) { - t3 = "Unhandled exception caught!\n" + t3, (null == e3 ? void 0 : e3.name) && (t3 += ` -${e3.name}`), (null == e3 ? void 0 : e3.message) && (t3 += ` -${e3.message}`); - const r3 = [e3, t3].concat(n2.default.rest(arguments, 2)); - this.errorWithStack.apply(this, r3); + get className() { + return "IntentClassifierDataViewModel"; } - exceptionWarning(e3, t3, ...i3) { - const r3 = [e3, t3 = "Unhandled exception caught!\n" + t3].concat(n2.default.rest(arguments, 2)); - this.warningWithStack.apply(this, r3); + getDisplayName() { + return "intentClassifierData"; } - exceptionWithErrorObjectInfo(e3, t3, i3, r3, o2) { - if (t3 = t3 || "", n2.default.isBoolean(r3) || (r3 = n2.default.isObject(e3)), e3 && (t3 = "Unhandled exception caught!\n" + t3), i3) { - const n3 = { objectId: i3.id }; - let o3; - if (i3.className && (n3.className = i3.className), i3.definitionId && (n3.definitionId = i3.definitionId), i3.parentFlow ? o3 = i3.parentFlow : i3.isFlowViewModel && (o3 = i3), o3 && (n3.flowId = o3.id, o3.versions && (n3.flowNextVersionNumber = o3.versions.nextVersionNumber), o3.info)) { - const e4 = o3.info; - e4.division && (n3.divisionId = e4.division.id); - } - r3 ? this.withMultipleContext(n3).errorWithStack(e3, t3) : this.withMultipleContext(n3).error(t3); - } else r3 ? this.errorWithStack(e3, t3) : this.error(t3); + getConfiguration(e3, t3) { + if (this._intentClassifier && (0, a.isFeatureAvailable)(s.default.botFlowsLLMPoweredFrontDoor)) if (null == t3 ? void 0 : t3.isArchitectFormatExport) { + const t4 = Object.assign({}, this._intentClassifier); + delete t4.version, delete t4.latestPublishedVersion, e3.intentClassifierData = t4; + } else e3.intentClassifierData = this._intentClassifier; } - errorCtorParmInternal(e3, t3, i3) { - this.error("Internal Error - the constructor parameter '" + e3 + "' with value of '" + t3 + "' is invalid." + (i3 ? " " + i3 : "")); + _fireIntentClassifierUpdatedEvent() { + var e3, t3; + (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.loaded) && r.emitter.emit(r.intentClassifierUpdated, null === (t3 = this.parentFlow) || void 0 === t3 ? void 0 : t3.id); } - errorPropertySetInternal(e3, t3, i3, n3) { - this.errorPropertySet(e3, t3, i3, "Internal Error" + (n3 ? " - " + n3 : "")); + loadConfiguration(e3) { + this._intentClassifier = e3.intentClassifierData || void 0, this._fireIntentClassifierUpdatedEvent(); } - errorPropertySet(e3, t3, i3, n3) { - const r3 = "Cannot set the value of property '" + t3 + "' to the value '" + i3 + "'." + (n3 ? " Reason: " + n3 : ""); - this.error(r3); + updateIntentClassifier(e3) { + this._intentClassifier = e3.intentClassifierData, this._fireIntentClassifierUpdatedEvent(); } - errorHandler(e3, ...t3) { - let i3 = n2.default.rest(arguments, 0); - return (e4) => { - i3 = [this, e4].concat(i3), r2.error.apply(r2, i3), o.error.apply(o, i3); - }; + initializeDesignTime() { + super.initializeDesignTime(), this._fireIntentClassifierUpdatedEvent(); } - info(e3, ...t3) { - const i3 = [this].concat(n2.default.rest(arguments, 0)); - o.info.apply(o, i3); + } + t2.default = l; + }, 33050(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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; } - infoWithObject(e3, ...t3) { - o.info.apply(o, [this.withContext("info", e3)].concat(n2.default.rest(arguments, 1))); + get id() { + return this.name; } - infoWithStack(e3, t3) { - e3 || (e3 = new Error()); - const i3 = `${t3} -${e3.stack}`, n3 = [this].concat(i3); - o.info.apply(o, n3); + get cardLabel() { + return this.name; } - requestError(e3, t3) { - if (!e3) return; - const i3 = [`Request Error: ${t3}`]; - e3.message && i3.push(`request error: ${e3.message}`), e3.code && i3.push(`code: ${e3.code}`), e3.status && i3.push(`status: ${e3.status}`), e3.statusText && i3.push(`status text: ${e3.statusText}`); - const n3 = i3.join(", "); - switch (e3.status ? e3.status.toString() : void 0) { - case "409": - case "404": - this.info(n3); - break; - case "403": - this.warning(n3); - break; - default: - this.error(n3); - } + get className() { + return "IntentSettingsViewModel"; } - warning(e3, ...t3) { - const i3 = [this].concat(n2.default.rest(arguments, 0)); - r2.warning.apply(r2, i3), o.warning.apply(o, i3); + getDisplayName() { + return h.intents.label; } - warningPromise(e3, t3, ...i3) { - this._handlePromiseError(this.warning, e3, t3, n2.default.rest(arguments, 2)); + getConfiguration(e3, t3) { + var i3; + e3.nluMetaData && e3.nluMetaData.intents && (e3.nluMetaData.intents[this.name] = { confirmation: null === (i3 = this.confirmationExpression) || void 0 === i3 ? void 0 : i3.getConfiguration(e3, t3) }); } - warningWithStack(e3, t3) { - e3 || (e3 = new Error()); - const i3 = `${t3} -${e3.stack}`, n3 = [this].concat(i3); - r2.warning.apply(r2, n3), o.warning.apply(o, n3); + loadConfiguration(e3) { + var t3, i3; + const n3 = (null === (t3 = e3.nluMetaData) || void 0 === t3 ? void 0 : t3.intents) && (null === (i3 = e3.nluMetaData) || void 0 === i3 ? void 0 : i3.intents[this.name]); + if (!n3) return; + if (!n3.confirmation && !this.parentFlow.isReadOnly) return void this.createNewConfirmationExpression(); + const o2 = new p(n3.confirmation); + this.confirmationExpression = s.expression(this.parentFlow, this.parentFlow.botFlowSettings, o2, h.intents.settings.confirmation, u.globalTypes.communication, null, null); } - withContext(e3, t3) { - if (!e3 || !t3) return this; - const i3 = new a(this.name); - return i3.copyContext(this), i3.addContext(e3, t3), i3; + updateDependencies() { + c.registerExpression(this.confirmationExpression); } - copyContext(e3) { - return e3 ? (n2.default.each(e3.context, (e4, t3) => { - this.addContext(t3, e4); - }), this) : this; + _setConfirmationDesciptionInfo(e3) { + null == e3 || e3.options.setDescriptionInfo(h.intents.settings.confirmation, h.intents.settings.intentSettingConfirmationDescription); } - withMultipleContext(e3) { - if (!e3) return this; - const t3 = new a(this.name); - return t3.copyContext(this), n2.default.each(e3, (e4, i3) => { - t3.addContext(i3, e4); - }), t3; + createNewConfirmationExpression() { + const e3 = s.expression(this.parentFlow, this.parentFlow.botFlowSettings, null, h.intents.settings.confirmation, u.globalTypes.communication, null, null); + e3.options.setDefaultToBuilderId(a.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(r.default), e3.setModeWithTransition(l.builder, a.builderIds.parts.genericCommunication), e3.builder.addOrSetStringLiteralBuilderPart((0, o.sprintf)(_(this.parentFlow.defaultLanguage).intentConfirmation, this.name)), this._setConfirmationDesciptionInfo(e3), e3.initializeDesignTime(), this.confirmationExpression = e3; } - traceOnce(e3, t3) { - e3 || (e3 = ""), this.__traceOnceMap || (this.__traceOnceMap = {}), this.__traceOnceMap[e3] || (this.__traceOnceMap[e3] = true, t3(this)); + validate(e3) { + var t3, i3; + (null === (t3 = this.confirmationExpression) || void 0 === t3 ? void 0 : t3.builder) && !this.confirmationExpression.config && this.confirmationExpression.builder.updateOwningExpression(), null === (i3 = this.confirmationExpression) || void 0 === i3 || i3.validate(e3); } - _error(e3, t3) { - const i3 = [this].concat(n2.default.rest(arguments, 0)); - r2.error.apply(r2, i3), o.error.apply(o, i3); + destroy() { + var e3; + return null === (e3 = this.confirmationExpression) || void 0 === e3 || e3.destroy(), super.destroy(); } - _handlePromiseError(e3, t3, i3, r3) { - let o2 = ""; - t3 && (n2.default.isString(t3) ? o2 += "error: " + t3 : (t3.name && (o2 += "errorName: " + t3.name), t3.name && t3.message && (o2 += " -- "), t3.message && (o2 += "errorMessage: " + t3.message), o2 || (o2 += "unknown error object: " + JSON.stringify(t3)))), i3 && (o2 += "\n" + i3); - const a2 = [o2].concat(r3); - e3.apply(this, a2); + search(e3) { + e3.addToQueue(this.confirmationExpression); + } + initializeDesignTime() { + var e3; + super.initializeDesignTime(), this._setConfirmationDesciptionInfo(this.confirmationExpression), null === (e3 = this.confirmationExpression) || void 0 === e3 || e3.initializeDesignTime(); } } - t2.default = a; - }, 68223: (e2, t2, i2) => { + t2.default = m; + }, 56133(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getSubscriptions = t2.reset = void 0, t2.addNgZone = function(e3) { - R = (t3, i3) => { - e3.run(() => { - D(t3, i3); - }); - }; - }, t2.addSubscription = function(e3, t3, i3) { - const n3 = (0, d.isArray)(e3) ? e3 : [e3]; - if (G(), A) { - const e4 = []; - if (o.default.each(n3, function(n4) { - 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) { - return { id: e5 }; - })), U(t4); - } - } else m.warning("Tried to start new notification subscription while not connected. topics:{}"); - return Promise.resolve(); - }, t2.removeSubscription = function(e3, t3) { - const i3 = o.default.isArray(e3) ? e3 : [e3]; - o.default.each(i3, function(e4) { - C[e4] = o.default.union(C[e4], [t3]); - }), G(); - }, t2.isConnected = function() { - return A; - }, t2.setTestKillNotificationMode = function(e3) { - N = e3, A = !e3; - }, t2.getInitialConnected = function() { - 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)), 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."); - } - function E(e3) { - 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 w(e3) { - 0 === (null == e3 ? void 0 : e3.status) ? S = 0 : m.errorPromise(e3, (0, r2.sprintf)("Create channel API failed.")), b(); - } - let R = (e3, t3) => { - D(e3, t3); - }; - function D(e3, t3) { - if (N) return; - const i3 = v[e3]; - if (i3) for (let e4 = 0; e4 < i3.length; ++e4) i3[e4].cb(t3); - } - function P(e3) { - let t3, i3; - if ("string" == typeof e3 || "undefined" != typeof Buffer && Buffer.isBuffer(e3)) t3 = e3; - else { - if (null == e3 || void 0 === e3.data || null === e3.data) return void m.warning("parseMessage: unexpected message format, skipping"); - t3 = e3.data; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(17604), o = i2(55299), r = i2(47957), a = i2(3916); + class s extends o.BaseClass { + constructor(e3) { + super(), this._slots = [], this._model = e3, this.slots = a.createSchemaPropertyList(e3.slots || e3.parameters || e3.entities); } - try { - i3 = JSON.parse("string" == typeof t3 ? t3 : t3.toString()); - } catch (e4) { - return void m.errorWithStack(e4, "parseMessage: failed to parse message as JSON"); + get className() { + return "IntentViewModel"; } - 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 && R(i3.topicName, r3); - } - function M() { - 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(); - } - function L() { - A || s.default.build(h.createChannel).call().then(function(e3) { - try { - y = (function(e4) { - let t3; - return t3 = new (i2(15086))(e4.connectUri), t3; - })(e3); - } catch (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); - }, w); - } - t2.reset = void 0; - const x = []; - let k = false; - function V(e3) { - return new Promise((t3) => setTimeout(t3, e3)); - } - function U(e3) { - const t3 = new c.PromiseDefer(); - return (function(e4, t4) { - x.push({ serverCall: e4, defer: t4 }), (function() { - n2.__awaiter(this, void 0, void 0, function* () { - if (!k) { - k = true; - try { - let e5 = true; - for (; x.length > 0; ) { - const { serverCall: t5, defer: i3 } = x.shift(); - !e5 && g > 0 && (yield V(g)), e5 = false; - try { - yield t5.call(), i3.resolve(); - } catch (e6) { - i3.reject(e6); - } - } - } finally { - k = false; - } - } - }); - })(); - })(e3, t3), t3.promise; - } - const B = o.default.debounce(function() { - if (A) { - o.default.each(C, function(e4, t3) { - v[t3] && (v[t3] = o.default.reject(v[t3], function(t4) { - return o.default.contains(e4, t4.subscriberId); - }), v[t3].length || delete v[t3]); - }), C = {}; - const e3 = o.default.keys(v); - if (0 === e3.length) { - const e4 = s.default.build(h.removeAllSubscriptions); - e4.templateParams({ id: y.channelId }), U(e4).catch((e5) => { - m.requestError(e5, "debounced removeSubscription removeAllSubscriptions failed"); - }); - } else { - const t3 = s.default.build(h.updateSubscription); - t3.templateParams({ id: y.channelId }), t3.content(o.default.map(e3, function(e4) { - return { id: e4 }; - })), U(t3).catch((e4) => { - m.requestError(e4, "debounced removeSubscription updateSubscription failed"); - }); - } + get model() { + return this._model; } - }, f); - function G() { - B(); - } - l.featureTogglesLoaded.then(L), u.serviceListen(u.connectionLost, function() { - if (y) { - try { - const e3 = y.readyState; - 3 !== e3 && 2 !== e3 && y.close(1e3); - } catch (e3) { - m.errorWithStack(e3, "Error closing websocket connection"); - } - A = false; + get description() { + return this.model.description; } - 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 = 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, a.makeUnenumerable)(this, "_decimalPlaces"), (0, a.makeUnenumerable)(this, "_maxValStr"), (0, a.makeUnenumerable)(this, "_minValStr"), (0, a.makeUnenumerable)(this, "_minValParsed"), (0, a.makeUnenumerable)(this, "_maxValParsed"); + get displayString() { + return this.name; } - static createMinMax(e3, t3, i3, n3) { - 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; + get id() { + return this.model.id || this.name; } - 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; + get localizedLabel() { + return this.model.localizedLabel; } - _setFromFacets(e3) { - super._setFromFacets(e3), this._setFacetIfSet(this.setMinValStr, e3.minValStr, "_minValStr"), this._setFacetIfSet(this.setMaxValStr, e3.maxValStr, "_maxValStr"); + get builtInPathId() { + return this.model.builtInPathId; + } + get name() { + return this.model.name || this.model.intentName; + } + get slots() { + return this._slots; + } + set slots(e3) { + this._slots = e3; + } + get secondaryHeader() { + return this.version ? (0, n2.sprintf)(r.lex.secondaryHeaderForVersion, this.version) : ""; + } + get version() { + return this.model.version; + } + } + t2.default = s; + }, 88802(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isIsoLanguageViewModel = function(e3) { + return true === (null == e3 ? void 0 : e3.isIsoLanguageViewModel); + }; + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(6953)), s = n2.__importDefault(i2(98114)), l = n2.__importDefault(i2(41510)), u = i2(55299); + class c extends u.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; } get className() { - return "CurrencyFacets"; + return "IsoLanguageViewModel"; } - get isCurrencyFacets() { + get isIsoLanguageViewModel() { return true; } - get minValStr() { - return this._minValStr; - } - get maxValStr() { - return this._maxValStr; + addServerData(e3) { + const t3 = this.id; + this.contexts = e3.contexts, this.debug = e3.debug, this.features = e3.features || {}, this.functions = e3.functions || {}, this.id = t3, this._lowerId = t3.toLowerCase(), this.contexts && (this._setUpContexts(this.contexts.case, "case"), this._setUpContexts(this.contexts.gender, "gender"), this._setUpContexts(this.contexts.quantity, "quantity")); } - setMinValStr(e3) { - return this._minValStr = e3, this._minValParsed = (0, c.getParsedDecimal)(e3, d.VALIDATE_ALLOW_INTEGER_FORM), this; + get displayString() { + return (0, o.sprintf)(l.default.setLocale.fullLanguageNameContext, this.text, this.idExpressionText); } - setMaxValStr(e3) { - return this._maxValStr = e3, this._maxValParsed = (0, c.getParsedDecimal)(e3, d.VALIDATE_ALLOW_INTEGER_FORM), this; + get knowledgeBaseLanguageTag() { + 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 _hasStringBounds() { - return void 0 !== this._minValStr || void 0 !== this._maxValStr; + 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); } - 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)); + getSupportsRdpSpeechRecAndTtsForFlow(e3) { + const t3 = e3.getAllDestinationFlowTypesSupportAudioDataPlaybackForLang(this), i3 = e3.getAllDestinationFlowTypesSupportSpeechRecForLang(this), n3 = this.getSupportsTTSPlaybackForFlow(e3); + return t3 && i3 && n3; } - get hasDescriptionInfo() { - return !!this._hasStringBounds || super.hasDescriptionInfo; + getSupportsRdpSpeechRecAndTtsForFlowType(e3) { + const t3 = this.getSupportsAudioDataPlaybackForFlowType(e3), i3 = this.getSupportsSpeechRecForFlowType(e3), n3 = this.getSupportsTTSPlaybackForFlowType(e3); + return t3 && i3 && n3; } - _facetGetExpressionItemLitValue(e3) { - let t3 = e3.getLitAsString(); - if (t3) { - const e4 = t3.indexOf("|"); - e4 >= 0 && (t3 = t3.substring(0, e4)); - } - if (t3) return this._hasStringBounds ? t3 : parseFloat(t3); + getSupportsKnowledgeForFlowType(e3) { + var t3, i3, n3; + return !!(null === (t3 = s.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsKnowledge) && (null === (n3 = null === (i3 = this.features) || void 0 === i3 ? void 0 : i3.knowledgeBase) || void 0 === n3 ? void 0 : n3.isAvailable); } - _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); + getSupportsAudioDataPlaybackForFlowType(e3) { + return this.features && this.features.runtimeDataPlayback && this.features.runtimeDataPlayback.flowTypes[e3] && this.features.runtimeDataPlayback.flowTypes[e3].isAvailable; } - _facetGetExpressionType() { - return u.default.getGlobalTypeGroup().getType(l.expressionTypeNames.currency, this.isCollection); + getSupportsSpeechRecForFlowType(e3) { + return this.features && this.features.speechRec && this.features.speechRec.flowTypes[e3] && this.features.speechRec.flowTypes[e3].isAvailable; } - } - t2.default = h; - }, 68268: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getSelectedTtsEngine(e3) { + if (!e3) return null; + const t3 = e3.languages.getSupportedLanguageOption(this.id); + return t3 && t3.textToSpeech && t3.textToSpeech ? t3.textToSpeech.getSelectedEngine() : null; } - get displayTypeName() { - return "ArchBranch"; + getSupportsTTSPlaybackForFlowType(e3, t3) { + if (!r.default.isNullOrUndefined(e3)) { + const t4 = s.default.getDefinitionForFlowType(e3); + if (t4) { + if (t4.languageTtsAndAsrSettingsComeFromConversation) return true; + if (!t4.languagesSupportTtsAndAsrRuntime) return false; + } + } + if (t3) { + const i3 = t3.topParentFlow; + return !s.default.getDefinitionForFlowType(i3.type).languagesSupportTtsAndAsrSettings && i3.isCommonModuleFlow ? i3.destinationFlowTypes.every((e4) => s.default.getDefinitionForFlowType(e4).languagesSupportTtsAndAsrSettings) : a.default.getSelectableEnginesForLanguageAndFlowTypeOrTypes(this._lowerId, e3).length > 0; + } + return !!a.default.getEnginesForLanguageAndFlowTypeOrTypes(this.id, e3)[0]; } - get isArchBranch() { - return true; + getSupportsTTSPlaybackForFlow(e3) { + if (!e3) return false; + if (e3.definition.languageTtsAndAsrSettingsComeFromConversation) return true; + const t3 = e3.languages.getSupportedLanguageOption(this.id); + return (null == t3 ? void 0 : t3.textToSpeech) ? t3.textToSpeech.hasUsableEngineSelectedForLanguage : this.getSupportsTTSPlaybackForFlowType(e3.type); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrOutputId(e3, this.outputId), this._createLogStrFromParts(e3); + getSupportsTranscriptionForFlowType(e3) { + return !!(e3 && this.features && this.features.transcription) && this.features.transcription.flowTypes[e3] && this.features.transcription.flowTypes[e3].isAvailable; } - get name() { - return this._getCoreViewModel().label; + getSupportsVoicemailTypeForFlowType(e3, t3) { + if (!e3 || !this.features || !this.features.voicemail) return false; + const i3 = this.features.voicemail[t3.name]; + return !!i3 && i3.flowTypes[e3] && i3.flowTypes[e3].isAvailable; } - get outputId() { - return this._getCoreViewModel().outputId; + getStringExceedsMaxRequestLengthError(e3, t3, i3) { + if (!e3 || !r.default.isString(t3) || !e3.definition.supportsAudio) return null; + const n3 = this.getSelectedTtsEngine(e3); + return n3 ? n3.getStringExceedsMaxRequestLengthError(t3, i3, this.id) : null; } - } - t2.default = r2; - }, 68297: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.emailSendFlowListManager = t2.EmailSendFlowListManager = void 0; - const n2 = i2(96618), r2 = i2(24032), o = i2(10420), a = i2(6109), s = i2(27862); - class l extends a.FlowListManager { - get dependencyType() { - return s.EmailSendFlow; + get idExpressionText() { + return !this._lowerId && this.id && (this._lowerId = this.id.toLowerCase()), this._lowerId; } - constructor() { - super(), this.topic = (0, r2.getTopic)("emailSendFlowListManager"), this.briefManager = o.briefEmailSendFlowListManager, this.additionalQueryParams = { type: n2.flowTypes.flowTypeEmailSend }, this.className = "EmailSendFlowListManager", this.flowType = n2.flowTypes.flowTypeEmailSend, this._initialize(); + _setUpContexts(e3, t3) { + r.default.each(e3, (e4) => { + e4 = e4.charAt(0).toUpperCase() + e4.slice(1); + const i3 = t3 + e4; + this.supportedLanguageContexts || (this.supportedLanguageContexts = {}), this.supportedLanguageContexts[i3] = true; + }); } } - t2.EmailSendFlowListManager = l, t2.emailSendFlowListManager = new l(); - }, 68301: (e2, t2, i2) => { + t2.default = c; + }, 96583(e2, t2, i2) { "use strict"; - var n2, r2, o; - Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(13002)); - class u extends l.default { + t2.KnowledgeBaseDocumentViewModel = void 0; + const n2 = i2(31635), o = i2(43212), r = n2.__importDefault(i2(52816)); + class a extends o.BaseConfigurationListViewModel { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.signInMessage), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.successMessage), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.authenticationCompletionTimeout), "f"); - } - get _actionTypeId() { - return s.askForAuthenticationActionType; + super(e3), e3.knowledgeBase && (this.knowledgeBase = new r.default(e3.knowledgeBase)); } - get displayTypeName() { - return "ArchActionAskForAuthentication"; - } - get isArchActionAskForAuthentication() { - return true; + get className() { + return "KnowledgeBaseDocumentViewModel"; } - get signInMessage() { - return a.__classPrivateFieldGet(this, n2, "f"); + get id() { + return this.model.id; } - get successMessage() { - return a.__classPrivateFieldGet(this, r2, "f"); + get label() { + return this.model.name; } - get authenticationCompletionTimeout() { - return a.__classPrivateFieldGet(this, o, "f"); + get name() { + return this.model.name; } - get askForAuthenticationOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get dependencySearchId() { + return `${this.knowledgeBase.id}/${this.id}`; } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 68322: (e2, t2, i2) => { + t2.KnowledgeBaseDocumentViewModel = a; + }, 52816(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(17405)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(17604), r = n2.__importStar(i2(5587)), a = i2(43212), s = i2(47957); + class l extends a.BaseConfigurationListViewModel { constructor(e3) { super(e3); } - get _globalTypeName() { - return "surveyQuestionGroup"; + get className() { + return "KnowledgeBaseViewModel"; } - get displayTypeName() { - return "ArchValueSurveyQuestionGroup"; + get getConfiguration() { + return this.model; } - get isArchValueSurveyQuestionGroup() { - return true; + get knowledgeBaseId() { + return this.model.id; } - } - t2.default = r2; - }, 68374: (e2, t2, i2) => { - const n2 = i2(58265), r2 = i2(59441).default; - function o() { - Object.defineProperties(this, { _inboundEmailSettings: { writable: true }, _nluCortex: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - i2(23695).extend(o, "EmailFlowConfiguration"), Object.defineProperties(o.prototype, { inboundEmailSettings: { enumerable: true, get: function() { - return this._inboundEmailSettings; - }, set: function(e3) { - this._inboundEmailSettings = new n2(e3); - } }, nluCortex: { enumerable: true, get: function() { - return this._nluCortex; - }, set: function(e3) { - this._nluCortex = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 68436: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(21345)), o = n2.__importDefault(i2(78432)), a = i2(30801); - class s extends r2.default { - constructor(e3) { - super(e3), this._messageBody = this.coreFactory.createArchWrapper(e3.messageBody), this._messageBodyStyle = this.coreFactory.createArchWrapper(e3.messageBodyStyle), this._attachments = this.coreFactory.createArchWrapper(e3.attachments); + get id() { + return this.model.id; } - get _actionTypeId() { - return a.sendResponseActionType; + get label() { + return this.model.name; } - get displayTypeName() { - return this._scriptingName; + get knowledgeBaseName() { + return this.model.name; } - get isArchActionSendResponse() { - return true; + get name() { + return this.model.name; } - get messageBody() { - return this._messageBody; + get faqCount() { + return this.model.faqCount; } - setMessageBodyVariable(e3) { - this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("messageBodyVariable", "setMessageBodyVariable"), e3, false), this.messageBody.setVariable(e3); + get description() { + return this.model.dateDocumentLastModified ? (0, o.sprintf)(s.knowledgeSettings.knowledgeBaseItemDescription, r.dateTimeToDisplay(this.model.dateDocumentLastModified)) : (0, o.sprintf)(s.knowledgeSettings.knowledgeBaseItemCreatedDescription, r.dateTimeToDisplay(this.model.dateCreated)); } - get messageBodyStyle() { - return this._messageBodyStyle; + get detailDescription() { + return this.model.description ? this.model.description : s.knowledgeSettings.knowledgeNoDescription; } - setLiteralMessageBodyStyle(e3) { - const t3 = this._infoPropSet("newMessageBodyStyle", "messageBodyStyle"); - this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.MESSAGE_BODY_STYLES_ALL), this._coreActionViewModel.messageBodyStyle.setAsLiteral(e3), this.logNote("messageBodyStyle set to '" + this.messageBodyStyle + "'"); + get coreLanguage() { + return this.model.coreLanguage; } - get attachments() { - return this._attachments; + get dateCreated() { + return this.model.dateCreated; + } + get dateModified() { + return this.model.dateModified; + } + get dateDocumentLastModified() { + return this.model.dateDocumentLastModified; + } + get articleCount() { + return this.model.articleCount; + } + get contentSearchEnabled() { + return this.model.contentSearchEnabled; } } - t2.default = s; - }, 68460: (e2, t2, i2) => { + t2.default = l; + }, 83231(e2, t2, i2) { "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)), 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); - } - addClipboardDependencies(e3, t3) { + const n2 = i2(31635), o = i2(43212), r = n2.__importStar(i2(25657)), a = n2.__importStar(i2(24032)), s = i2(47957), l = a.getTopic("KnowledgeSettingViewModel"); + class u extends o.BaseConfigurationListViewModel { + constructor(e3) { + super(e3); } - _destroy() { - super._destroy(); - try { - let e3; - s.__classPrivateFieldGet(this, n2, "f") && (s.__classPrivateFieldSet(this, n2, false, "f"), e3 = true), s.__classPrivateFieldGet(this, r2, "f") && (s.__classPrivateFieldSet(this, r2, false, "f"), e3 = true), e3 && this._processConsumeSecureDataChange(); - } catch (e3) { - _.exceptionWithErrorObjectInfo(e3, "Error in secure meta data destroy processing.", this, true); - } + get className() { + return "KnowledgeSettingViewModel"; } - checkChildCallback(e3, t3) { - e3 !== this && (e3.consumesSecureData && (t3.data.consumesSecureData = true), e3.hasValidationError && (t3.data.hasValidationError = true), e3.hasValidationWarning && (t3.data.hasValidationWarning = true), e3.consumesSecureData && e3.hasValidationError && (t3.cancelTraverse = true)); + get getConfiguration() { + return this.model; } - childAdded(e3) { - this.childUpdated(e3); + get id() { + return this.model.id; } - childRemoved(e3) { - (!e3 || e3.consumesSecureData || e3.hasValidationError || e3.hasValidationWarning) && this._computeData(e3, true); + get knowledgeSettingId() { + return this.model.id; } - childUpdated(e3) { - const t3 = e3.consumesSecureData, i3 = e3.hasValidationError, n3 = e3.hasValidationWarning; - l.default.isBoolean(t3) || _.error("A child was passed to childUpdated without having a consumesSecureSetting set."), t3 === this.consumesSecureData && i3 === this.hasValidationError && n3 === this.hasValidationWarning || (s.__classPrivateFieldSet(this, r2, void 0, "f"), this._computeData(e3) || (this.consumesSecureData = t3, this.hasValidationError = i3, this.hasValidationWarning = n3)); + get label() { + return this.model.name; } - get consumesSecureData() { - return s.__classPrivateFieldGet(this, r2, "f") || s.__classPrivateFieldGet(this, n2, "f"); + get name() { + return this.model.name; } - set consumesSecureData(e3) { - this.parentFlow && !this.parentFlow.loaded || e3 !== s.__classPrivateFieldGet(this, r2, "f") && (s.__classPrivateFieldSet(this, r2, e3, "f"), this._processConsumeSecureDataChange()); + get knowledgeSettingName() { + return this.model.name; } - get hasValidationError() { - return s.__classPrivateFieldGet(this, o, "f"); + get version() { + return this.model.version; } - set hasValidationError(e3) { - this.parentFlow && !this.parentFlow.loaded || e3 !== s.__classPrivateFieldGet(this, o, "f") && (s.__classPrivateFieldSet(this, o, e3, "f"), this._processConsumeSecureDataChange()); + get isMultiSourceEnabled() { + return this.model.isMultiSourceEnabled; } - get hasValidationWarning() { - return s.__classPrivateFieldGet(this, a, "f"); + get isDisambiguationTabDisabled() { + return this.isMultiSourceEnabled; } - set hasValidationWarning(e3) { - this.parentFlow && !this.parentFlow.loaded || e3 !== s.__classPrivateFieldGet(this, a, "f") && (s.__classPrivateFieldSet(this, a, e3, "f"), this._processConsumeSecureDataChange()); + get searchSetting() { + return this.model.searchSetting; } - initialize() { + get sources() { + return this.model.sources; } - initializeDesignTime() { - try { - s.__classPrivateFieldGet(this, n2, "f") && (this.consumesSecureData = true), this._initializeDesignTime(); - } catch (e3) { - _.exception(e3, "exception during initializeDesignTime"); - } finally { + getSourceNames() { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!this.model.sources || !Array.isArray(this.model.sources)) return []; try { - this._postInitializeDesignTime(); + const e3 = this.model.sources.map((e4) => r.getKnowledgeSource(e4.id).catch(() => null)); + return (yield Promise.all(e3)).filter((e4) => null !== e4).map((e4) => e4.name); } catch (e3) { - _.exception(e3, "exception during _postInitializeDesignTime"); + return l.error("Error fetching source names:", e3), []; } - super.initializeDesignTime(); - } - } - get isDataReporter() { - return true; - } - setAlwaysSecure() { - s.__classPrivateFieldSet(this, n2, true, "f"), this._processConsumeSecureDataChange(); - } - _initializeDesignTime() { - } - _postInitializeDesignTime() { - } - _computeData(e3, t3) { - if (!l.default.isFunction(this.traverse)) return false; - const i3 = { consumesSecureData: !t3 && e3.consumesSecureData, hasValidationError: !t3 && e3.hasValidationError, hasValidationWarning: !t3 && e3.hasValidationWarning, originChild: e3 }, n3 = this.checkChildCallback.bind(this), r3 = new u.default({ actionCallback: n3, data: i3, expressionCallback: n3, menuCallback: n3, taskCallback: n3, traverseActionProperties: true }); - 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), d.groupedFlowSecureService.processGroupedObject(this); + }); } - } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), t2.default = h; - }, 68475: (e2, t2, i2) => { - const n2 = i2(70380), r2 = i2(12847), { transferTaskActionType: o } = i2(30801); - function a() { - a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { paths: { enumerable: true, get: function() { - }, set: function(e3) { - e3 && r2.error("action does not support paths"); - } }, outputs: { enumerable: true, get: function() { - }, set: function(e3) { - e3 && r2.error("action does not support outputs"); - } } }), e2.exports = a; - }, 68511: (e2, t2, i2) => { - const n2 = i2(92140); - function r2() { - this.id = void 0, this.name = void 0, this._state = void 0, r2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(r2, "Language"), Object.defineProperties(r2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, state: { get: function() { - return this._state; - }, set: function(e3) { - this._state = n2.isString(e3) ? e3.toLowerCase() : e3; - } } }), e2.exports = r2; - }, 68596: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isScheduler = void 0; - var n2 = i2(10281); - t2.isScheduler = function(e3) { - return e3 && n2.isFunction(e3.schedule); - }; - }, 68608: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(35958)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + get generationSetting() { + return this.model.generationSetting; } - get _actionTypeId() { - return r2.findUsersByIdActionType; + get detailDescription() { + return this.model.description ? this.model.description : s.knowledgeSettings.knowledgeNoDescription; } - get displayTypeName() { - return this._scriptingName; + get stateful() { + return this.model.stateful; } - get isArchActionFindUsersById() { - return true; + get dateCreated() { + return this.model.dateCreated; } - get findResult() { - return this._findResult; + get dateModified() { + return this.model.dateModified; } } - t2.default = o; - }, 68631: (e2, t2, i2) => { - "use strict"; - 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)(d(e3).initialGreetingTTS) : s.emptyAudio; - const m = new p(); - 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 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), 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() { - Object.defineProperties(this, { _alertOnTransfer: { writable: true }, _allowVoicemail: { writable: true }, _user: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.alertOnTransfer?.pasteReIdOrRename(e3), this.allowVoicemail.pasteReIdOrRename(e3), this.user.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.alertOnTransfer?.pasteResolveOldToNewValues(e3), this.allowVoicemail.pasteResolveOldToNewValues(e3), this.user.pasteResolveOldToNewValues(e3); - } }, alertOnTransfer: { enumerable: true, get: function() { - return this._alertOnTransfer; - }, set: function(e3) { - this._alertOnTransfer = this.reviveItem(e3, n2); - } }, allowVoicemail: { enumerable: true, get: function() { - return this._allowVoicemail; - }, set: function(e3) { - this._allowVoicemail = this.reviveItem(e3, n2); - } }, user: { enumerable: true, get: function() { - return this._user; - }, set: function(e3) { - this._user = this.reviveItem(e3, n2); - } } }), e2.exports = a; - }, 68694: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__createBinding || (Object.create ? function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3); - var r3 = Object.getOwnPropertyDescriptor(t3, i3); - r3 && !("get" in r3 ? !t3.__esModule : r3.writable || r3.configurable) || (r3 = { enumerable: true, get: function() { - return t3[i3]; - } }), Object.defineProperty(e3, n3, r3); - } : function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; - }), r2 = this && this.__exportStar || function(e3, t3) { - for (var i3 in e3) "default" === i3 || Object.prototype.hasOwnProperty.call(t3, i3) || n2(t3, e3, i3); - }; - Object.defineProperty(t2, "__esModule", { value: true }), r2(i2(21095), t2), r2(i2(71240), t2), r2(i2(10914), t2), r2(i2(47222), t2), r2(i2(41739), t2), r2(i2(14298), t2), r2(i2(30058), t2), r2(i2(72478), t2); - }, 68710: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.publishReplay = void 0; - var n2 = i2(10381), r2 = i2(18464), o = i2(10281); - t2.publishReplay = function(e3, t3, i3, a) { - i3 && !o.isFunction(i3) && (a = i3); - var s = o.isFunction(i3) ? i3 : void 0; - return function(i4) { - return r2.multicast(new n2.ReplaySubject(e3, t3, a), s)(i4); - }; - }; - }, 68783: (e2, t2, i2) => { + t2.default = u; + }, 34490(e2, t2, i2) { "use strict"; - 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 { + t2.LexAliasViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(43212), a = n2.__importDefault(i2(56133)), s = n2.__importDefault(i2(27579)); + class l extends r.BaseConfigurationListViewModel { 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), 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; + super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, s.default)(); } - get displayTypeName() { - return "ArchActionAskForPayment"; + get className() { + return "LexAliasViewModel"; } - get isArchActionAskForPayment() { - return true; + get aliasId() { + return this.model.id; } - get currency() { - return h.__classPrivateFieldGet(this, n2, "f"); + get botId() { + var e3; + return null === (e3 = this.model.bot) || void 0 === e3 ? void 0 : e3.id; } - get countryCode() { - return h.__classPrivateFieldGet(this, r2, "f"); + get botName() { + return this.model.bot && this.model.bot.name; } - get paymentPlatform() { - return h.__classPrivateFieldGet(this, o, "f"); + get errorSchema() { + return this._errorSchema; } - get lineItems() { - return h.__classPrivateFieldGet(this, a, "f"); + getConfiguration() { + return this.model; } - get shippingOptions() { - return h.__classPrivateFieldGet(this, s, "f"); + get id() { + return this.model.id; } - get totalPrice() { - return h.__classPrivateFieldGet(this, l, "f"); + get label() { + return this.model.name || ""; } - get receivedMessageImage() { - return h.__classPrivateFieldGet(this, u, "f"); + get languages() { + return [this.model.language]; } - get receivedMessageTitle() { - return h.__classPrivateFieldGet(this, c, "f"); + get model() { + return this._model; } - get replyMessageTitle() { - return h.__classPrivateFieldGet(this, d, "f"); + set model(e3) { + this._model = e3, this.intents = [], this._model.intents && o.default.each(this._model.intents, (e4) => { + this.intents.push(new a.default(o.default.clone(e4))); + }); } - get requiredContactInformation() { - return h.__classPrivateFieldGet(this, p, "f"); + get name() { + return this.model.name; } - get paymentCompletionTimeout() { - return h.__classPrivateFieldGet(this, _, "f"); + get status() { + return this.model.status || ""; } } - 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) => { + t2.LexAliasViewModel = l; + }, 11865(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ActionOutput = void 0; - const n2 = i2(31635), r2 = i2(58214), o = i2(80295), a = i2(80295); - class s extends r2.BranchItem { + t2.LexBotViewModel = void 0; + const n2 = i2(17604), o = i2(43212), r = i2(47957); + class a extends o.BaseConfigurationListViewModel { constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_nextActionId"), (0, a.makeUnenumerable)(this, "_disabled"), (0, a.makeUnenumerable)(this, "_isDynamicBranch"), (0, a.makeUnenumerable)(this, "_unreachable"), (0, a.makeUnenumerable)(this, "_outOfService"); - } - get nextActionId() { - return this._nextActionId; - } - set nextActionId(e3) { - this._nextActionId = e3; + super(e3); } - get disabled() { - return this._disabled; + get className() { + return "LexBotViewModel"; } - set disabled(e3) { - this._disabled = e3; + get botName() { + return this._model.name; } - get isDynamicBranch() { - return this._isDynamicBranch; + get description() { + var e3; + return this.isLexV2Bot && (null === (e3 = this.region) || void 0 === e3 ? void 0 : e3.length) ? (0, n2.sprintf)(r.lex.lexV2BotDescription, this.region) : null; } - set isDynamicBranch(e3) { - this._isDynamicBranch = e3; + get region() { + var e3, t3; + return this.isLexV2Bot ? this._model.region || (null === (t3 = null === (e3 = this.id) || void 0 === e3 ? void 0 : e3.split("~")) || void 0 === t3 ? void 0 : t3[1]) : null; } - get unreachable() { - return this._unreachable; + getConfiguration() { + return this._model; } - set unreachable(e3) { - this._unreachable = e3; + get id() { + return this._model.id; } - get outOfService() { - return this._outOfService; + get isLexV2Bot() { + return this._model.isLexV2Bot; } - set outOfService(e3) { - this._outOfService = e3; + get label() { + return this._model.name || ""; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this.nextActionId = e3.pasteResolveOldIdToNewId(this.nextActionId); + get name() { + return this._model.name; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3); + get status() { + return this._model.status; } } - t2.ActionOutput = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "nextActionId", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "disabled", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "isDynamicBranch", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "unreachable", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Boolean])], s.prototype, "outOfService", null); - }, 68823: (e2, t2, i2) => { + t2.LexBotViewModel = a; + }, 44374(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FormPageComponentViewModel = void 0; - const n2 = i2(43212); - class r2 extends n2.BaseConfigurationListViewModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(17604), o = i2(34490), r = i2(47957); + class a extends o.LexAliasViewModel { constructor(e3) { super(e3); } get className() { - return "FormPageComponentViewModel"; + return "LexV2AliasViewModel"; } - get formComponentType() { - return this._model.formComponentType; + get botId() { + var e3; + return null === (e3 = this.model.bot) || void 0 === e3 ? void 0 : e3.botId; } - get listPicker() { - return this._model.listPicker; + get description() { + return (0, n2.sprintf)(r.lex.lexV2AliasDescription, this.localeString, this.region); } - get datePicker() { - return this._model.datePicker; + get isLexV2Alias() { + return true; } - get wheelPicker() { - return this._model.wheelPicker; + get localeString() { + return this.model.language; } - get input() { - return this._model.input; + get region() { + return this.model.region; + } + get shortAliasId() { + return this.model.aliasId; } } - t2.FormPageComponentViewModel = r2; - }, 68899: (e2, t2, i2) => { - const n2 = i2(57141); - e2.exports = { archExpressionBuilders: n2.one.one, archExpressionNoConfigError: n2.one.one, archFuncToAudioTTSWithLang: n2.one.one, archPhoneNumberPhase2: n2.one.one, archRenumber: n2.one.one, archShortcuts: n2.one.one }; - }, 69014: (e2, t2, i2) => { + t2.default = a; + }, 63883(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(18638), o = n2.__importDefault(i2(37873)); - class a extends o.default { - constructor(e3) { - super(e3); - const t3 = this._infoParmCtor("coreDivisionViewModel"); - this._checkItem(t3, !e3.isDivisionViewModel, "the specified view model is not a core division view model"), this._checkItem(t3, !e3.id, "the specified core division view model does not have an id specified"), this._divisionViewModel = e3; + 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; } - get canAddFlow() { - return r2.permissionServiceHelper.canAddFlowToDivision(this._divisionViewModel); + }, t2.isMenuChoice = function(e3) { + return null == e3 ? void 0 : e3.isMenuChoice; + }; + const n2 = i2(31635), o = i2(17604), r = 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), I = i2(27359), C = i2(47957), O = [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; } - get displayTypeName() { - return "ArchDivision"; + static loadMenuChoice(e3, t3) { + const i3 = new w(e3.parentFlow, e3); + return i3._loadModel(t3), i3; + } + static createMenuChoice(e3, t3) { + const i3 = new w(e3.parentFlow, e3); + i3._loadModel(new I()); + 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(); + } + get className() { + return "MenuChoiceViewModel"; + } + get trackingId() { + return this.action ? this.action.trackingId : void 0; + } + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), e3.copyCutProcessMenuChoiceViewModel(this), this.action.addClipboardDependencies(e3), r.default.each(this.choices, function(t3) { + t3.addClipboardDependencies(e3); + }); + } + _loadModel(e3) { + 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()); } - get isArchDivision() { - return true; + _isInlineTask() { + return !!this.action && this.action.info.typeId === m.taskActionActionType; } - get isHomeDivision() { - return this._getCoreViewModel().isHomeDivision; + _isMenuAction() { + return !!this.action && (this.action.info.typeId === h.menuActionActionType || this.action.info.typeId === g.transferMenuActionType); } - get logStr() { - if (!this._divisionViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrId(e3, this.id), this._appendLogStrName(e3, this.name), this._appendLogStrIsHome(e3, this.isHomeDivision), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + _isTaskAction() { + return !!this.action && (this.action.info.typeId === m.taskActionActionType || this.action.info.typeId === f.transferTaskActionType); } - get name() { - return this._getCoreViewModel().name; + _updateGlobalDtmf() { + this.globalDtmf ? c.addGlobalDtmfTracking(this.parentFlow, this) : c.removeGlobalDtmfTracking(this.parentFlow, this); } - } - 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)), 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); + _updateGlobalSpeech() { + this.globalSpeech ? c.addGlobalSpeechTracking(this.parentFlow, this.speechRecTerms) : c.removeGlobalSpeechTracking(this.parentFlow, this.speechRecTerms); } - get playbackMode() { - return this.model.playbackMode; + resetDtmfToUniqueDtmf() { + const e3 = c.getGlobalDtmfForFlow(this.parentFlow); + if (!r.default.isUndefined(this.dtmf) && r.default.isUndefined(r.default.find(e3, (e4) => e4.dtmf === this.dtmf)) && r.default.isUndefined(r.default.find(this.parent.choices, (e4) => e4 !== this && e4.dtmf === this.dtmf))) return true; + this.dtmf = void 0; + const t3 = r.default.find(O, (t4) => !r.default.find(e3, (e4) => e4.dtmf === t4) && !r.default.find(this.parent.choices, (e4) => e4.dtmf === t4)); + return !r.default.isUndefined(t3) && (this.dtmf = t3, true); } - set playbackMode(e3) { - this.model.playbackMode = e3, this.generateAudioExpression(); + get canCollapse() { + return this.action.canCollapse; } - get amObjectEventSink() { - return true; + get collapsed() { + return this.action && this.action.collapsed; } - getDetails() { - 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); + set collapsed(e3) { + this.action.collapsed = e3, a.emitter.emit(a.collapseExpand, this); } - initialize() { - super.initialize(), l.registerEventSinkForEventEmitter(this.parentFlow.languages.id, this); + checkVersion(e3) { + this.action.checkVersion(e3); } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(...arguments), this.playbackMode = _.number, this.parentFlow.isInQueueCallFlow && this.positionInQueue.setText("Call.PositionInQueue", true), this.generateAudioExpression(); + deleting() { + this.globalDtmf = false, this.globalSpeech = false; } - static get managedProperties() { - 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[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 }]; + deleteChild(e3) { + if (!this.choices) return; + const t3 = this.choices.indexOf(e3); + t3 < 0 || (e3.isDefaultMenuChoice && (this.defaultMenuChoice = null), e3.deleting && e3.deleting(), this.choices.splice(t3, 1)); } - objEvent_supportedLanguagesChanged() { - this.generateAudioExpression(); + _destroy() { + super._destroy(), this.parentFlow.isDestroying || (this.parent && this.parent.deleteChild(this), this.task && this._isInlineTask() ? this.parentFlow.deleteNode(this.task) : this.menu && this.isSubMenu && this.parentFlow.deleteNode(this.menu), this.unlinkAction()), this.action && (this.action.destroy(), this.action = null); } - } - 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), c = i2(96583), d = i2(47957), p = i2(27862), _ = i2(66848); - class h extends l.default { - get requiredAuth() { - return u.externalAuthorizations.authStrings.knowledgeBaseDocumentView; + get dtmf() { + return this.model.digit; } - get dependencyType() { - return p.KnowledgeBaseDocument; + set dtmf(e3) { + r.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(), _.validateItem(this, false, true), this.invokeMenuChoicesChanged(); } - 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 = 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()); + getYamlOptionsMap() { + return b; } - addItem(e3, t3, i3) { - if (e3.id.includes("/")) { - const t4 = r2.default.splitOn(e3.id, "/"); - e3.id = t4[1], e3.knowledgeBase || (e3.knowledgeBase = new _(), e3.knowledgeBase.id = t4[0]); + getConfiguration(e3, t3) { + var i3, n3; + if (null == t3 ? void 0 : t3.isForFlowYaml) { + let o2 = super.getConfiguration(e3, t3); + if (this.action) { + const a2 = this.action.getConfiguration(e3, t3), s2 = r.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 = r.default.getFirstPropertyValueInObj(i4); + r.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 r.default.getFirstPropertyValueInObj(i4).name, r.default.extend(s2, i4); + } + r.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[r.default.getFirstPropertyKeyInObj(a2)] = l.default.sortObjectByPropertyMap(s2, this.yamlPropertyOrderMap), o2 = a2; + } + return o2; } - return super.addItem(e3, t3, i3); + return this.action && (this.model.action = this.action.getConfiguration(e3, t3)), this.model; } - _createItemViewModel(e3) { - return new c.KnowledgeBaseDocumentViewModel(e3); + getUsesSpeechRec() { + return !r.default.isUndefined(this.speechRecTerms.hasTermsAny()); } - } - 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), 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 }; + get globalDtmf() { + return !!this.model.globalDtmf; } - get isSecureAction() { - return true; + set globalDtmf(e3) { + e3 = !!e3, this.model.globalDtmf !== e3 && (this.model.globalDtmf = e3, this._updateGlobalDtmf(), this.invokeMenuChoicesChanged()); } - static get managedProperties() { - 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 globalSpeech() { + return !!this.model.globalSpeech; } - get yamlActionSectionName() { - return "secureDataAction"; + set globalSpeech(e3) { + e3 = !!e3, this.model.globalSpeech !== e3 && (this.model.globalSpeech = e3, this._updateGlobalSpeech(), this.invokeMenuChoicesChanged()); } - postProcessYamlConfig(e3, t3, i3) { - this.commonServerActionPostProcessYamlConfig(e3, t3, i3); + invokeMenuChoicesChanged() { + p.fireEvent(this.parent, a.menuChoicesChanged); } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + hasDuplicateDtmf() { + return !!r.default.find(c.getGlobalDtmfForFlow(this.parentFlow), (e3) => e3 !== this && e3.dtmf === this.dtmf); } - get _globalTypeName() { - return "messageStickerInfo"; + get hasChildren() { + return this.choices && this.choices.length > 0 || this.task && this.task.hasChildren || this.menu && this.menu.hasChildren; } get id() { + return this.model.id; } - get url() { + get info() { + return this.action ? this.action.info : null; } - get displayTypeName() { - return "ArchValueMessageStickerInfo"; + initialize() { + const e3 = this.parentFlow; + if (this.isSubMenu) { + if (this.menu) return; + const t3 = this.action.menuReference; + if (!t3) return; + if (!e3) return; + 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 = u.flowElementRegistrationService.getItemById(this.parentFlow, t3); + this.linkTask(i3); + } } - get isArchValueMessageStickerInfo() { - return true; + get isDefaultMenuChoice() { + return !(!this.parent || !this.parent.defaultMenuChoice) && this.parent.defaultMenuChoice === this.id; } - } - t2.default = r2; - }, 69149: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.builderPartIds = void 0, t2.builderPartIds = { agentScorePair: { makeAgentScorePair: "__BUILDER_PART_MAKE_AGENT_SCORE_PAIR__" }, audio: { container: { language: "__BUILDER_PART_AUDIO_CONTAINER_LANGUAGE__" }, data: "__BUILDER_PART_AUDIO_DATA__", expression: "__BUILDER_PART_AUDIO_EXPRESSION__", findUserWithFallback: "__BUILDER_PART_AUDIO_USER_WITH_FALLBACK__", findSystemWithFallback: "__BUILDER_PART_AUDIO_SYSTEM_WITH_FALLBACK__", prompt: "__BUILDER_PART_AUDIO_PROMPT__", text: "__BUILDER_PART_AUDIO_TEXT__" }, boolean: { checkDialingCode: "__BUILDER_PART_BOOLEAN_CHECK_DIALING_CODE__", container: { language: "__BUILDER_PART_BOOLEAN_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_BOOLEAN_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_BOOLEAN_CONTAINER_OUTPUT_MODE__" }, expression: "__BUILDER_PART_BOOLEAN_EXPRESSION__", literal: "__BUILDER_PART_BOOLEAN_LITERAL__" }, communication: { container: { language: "__BUILDER_PART_COMMUNICATION_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_COMMUNICATION_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_COMMUNICATION_CONTAINER_OUTPUT_MODE__" }, blank: "__BUILDER_PART_COMMUNICATION_BLANK__", data: "__BUILDER_PART_COMMUNICATION_DATA__", digitalAudioUrl: "__BUILDER_PART_COMMUNICATION_DIGITAL_AUDIO_URL__", expression: "__BUILDER_PART_COMMUNICATION_EXPRESSION__", fileUrl: "__BUILDER_PART_COMMUNICATION_FILE_URL__", imageUrl: "__BUILDER_PART_COMMUNICATION_IMAGE_URL__", markdown: "__BUILDER_PART_COMMUNICATION_MARKDOWN__", prompt: "__BUILDER_PART_COMMUNICATION_PROMPT__", text: "__BUILDER_PART_COMMUNICATION_TEXT__", videoUrl: "__BUILDER_PART_COMMUNICATION_VIDEO_URL__" }, dateTime: { container: { language: "__BUILDER_PART_DATE_TIME_CONTAINER_LANGUAGE__" }, dateTimeInDateRange: "__BUILDER_PART_DATE_TIME_IS_IN_DATE_RANGE__", dateTimeInTimeRange: "__BUILDER_PART_DATE_TIME_IS_IN_TIME_RANGE__", dateTimeIsWeekday: "__BUILDER_PART_DATE_TIME_IS_WEEKDAY__", dateTimeIsWeekend: "__BUILDER_PART_DATE_TIME_IS_WEEKEND__", firstDayOfNextMonth: "__BUILDER_PART_FIRST_DAY_OF_NEXT_MONTH__", lastDayOfMonth: "__BUILDER_PART_LAST_DAY_OF_MONTH__", nextDayOfWeek: "__BUILDER_PART_NEXT_DAY_OF_WEEK__" }, duration: { container: { language: "__BUILDER_PART_DURATION_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_DURATION_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_DURATION_CONTAINER_OUTPUT_MODE__" }, literal: "__BUILDER_PART_DURATION_LITERAL__" }, email: { emailBodyContains: "__BUILDER_PART_EMAIL_BODY_CONTAINS__", emailBodyOrSubjectContains: "__BUILDER_PART_EMAIL_SUBJECT_OR_BODY_CONTAINS__", emailFromDomainPartContains: "__BUILDER_PART_EMAIL_FROM_DOMAIN_PART_CONTAINS__", emailFromLocalPartContains: "__BUILDER_PART_EMAIL_FROM_LOCAL_PART_CONTAINS__", emailSubjectContains: "__BUILDER_PART_EMAIL_SUBJECT_CONTAINS__" }, image: { imageUrl: "__BUILDER_PART_IMAGE_IMAGE_URL__", expression: "__BUILDER_PART_IMAGE_EXPRESSION__", literal: "__BUILDER_PART_IMAGE_LITERAL_TO_FIND_BY_NAME__", container: { language: "__BUILDER_PART_IMAGE_CONTAINER_LANGUAGE__" } }, integer: { container: { language: "__BUILDER_PART_INTEGER_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_INTEGER_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_INTEGER_CONTAINER_OUTPUT_MODE__" }, literal: "__BUILDER_PART_INTEGER_LITERAL__" }, prompt: { findUserWithFallback: "__BUILDER_PART_PROMPT_USER_WITH_FALLBACK__", findSystemWithFallback: "__BUILDER_PART_PROMPT_SYSTEM_WITH_FALLBACK__" }, string: { container: { language: "__BUILDER_PART_STRING_CONTAINER_LANGUAGE__", languageAndOutputMode: "__BUILDER_PART_STRING_CONTAINER_LANGUAGE_AND_OUTPUT_MODE__", outputMode: "__BUILDER_PART_STRING_CONTAINER_OUTPUT_MODE__" }, contains: "__BUILDER_PART_STRING_CONTAINS__", data: "__BUILDER_PART_STRING_DATA__", deflectionURL: "__BUILDER_PART_STRING_DEFLECTION_URL__", endsWith: "__BUILDER_PART_STRING_ENDS_WITH__", expression: "__BUILDER_PART_STRING_EXPRESSION__", lastFour: "__BUILDER_PART_LAST_4__", markdown: "__BUILDER_PART_STRING_MARKDOWN__", prompt: "__BUILDER_PART_STRING_PROMPT__", startsWith: "__BUILDER_PART_STRING_STARTS_WITH__", text: "__BUILDER_PART_STRING_TEXT__" }, video: { videoUrl: "__BUILDER_PART_VIDEO_VIDEO_URL__" } }; - }, 69212: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.containerVisualItemClassifications = t2.singletonVisualizationItemClassifications = t2.visualizationItemClassificationDisplayValueMap = t2.VisualizationItemClassification = void 0, t2.supportsInitializeDesignTime = function(e3) { - return e3.supportsInitializeDesignTime; - }; - const n2 = i2(31635).__importStar(i2(69453)), r2 = i2(47957); - var o; - !(function(e3) { - e3.archAction = "archAction", e3.archFlow = "archFlow", e3.archCommonModule = "archCommonModule", e3.archMenu = "archMenu", e3.archState = "archState", e3.archTask = "archTask", e3.botTurn = "botTurn", e3.data = "data", e3.event = "event", e3.settings = "settings"; - })(o || (t2.VisualizationItemClassification = o = {})), t2.visualizationItemClassificationDisplayValueMap = { [o.archAction]: r2.customNodes.actions, [o.archFlow]: r2.sectionFlows, [o.archCommonModule]: r2.sectionCommonModuleFlows, [o.archMenu]: r2.customNodes.menus, [o.archState]: r2.states.states, [o.archTask]: r2.generic.tasks, [o.botTurn]: n2.executionData.botTurn, [o.event]: r2.generic.branches.event, [o.settings]: r2.customNodes.settings, [o.data]: r2.actions.data }, t2.singletonVisualizationItemClassifications = [o.archAction, o.botTurn, o.event, o.data, o.settings], t2.containerVisualItemClassifications = [o.archCommonModule, o.archMenu, o.archState, o.archTask, o.settings]; - }, 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), 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); + get isInlineTask() { + return this._isInlineTask(); } - get className() { - return "CommunicationBuilderWithBuilderPartsViewModel"; + getInlineTaskViewModel() { + if (this.action && this.parentFlow) { + const e3 = this.action.taskReference; + if (e3) return u.flowElementRegistrationService.getItemById(this.parentFlow, e3); + } } - get isCommunicationBuilderWithBuilderPartsViewModel() { + get isMenuChoice() { return true; } - get helpTopic() { - return a.helpTopics.builders.communication; - } - _processLanguagesChanged() { - super._processLanguagesChanged(); + isNameUnique() { + return this.menu ? this.menu.isNameUnique() : !this.task || this.task.isNameUnique(); } - _buildExpressionGenerationFromManager(e3) { - const t3 = e3.getIndividualPartGenerations(), i3 = this.builderDef.generators.containerPartsGenerator.createGeneration(); - return o.default.each(t3, (e4) => { - i3.addGenerationToBucket(e4); - }), i3; + get isSubMenu() { + return !!this.action && this.action.info.typeId === h.menuActionActionType; } - addOrSetStringLiteralBuilderPart(e3, t3) { - 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 = c.default.getBuilderPartDefById(i3); - a2 = n3.createAndAddPartFromBuilderPartDef(e4); + getSubMenuMenuViewModel() { + if (this.action && this.parentFlow) { + const e3 = this.action.menuReference; + if (e3) return u.flowElementRegistrationService.getItemById(this.parentFlow, e3); } - const s2 = a2.builderPartExpressions[0]; - s2 && s2.setAsLiteral(e3), o.default.isFunction(a2.setMarkdownTextImmediate) && a2.setMarkdownTextImmediate(e3); } - builderPartContainerAdded(e3) { - super.builderPartContainerAdded(e3), this.sortContainerParts(); + linkMenu(e3) { + e3 && this._isMenuAction() && (this.action.linkMenu(e3), this.menu = e3, e3.parentMenu = this.parent, this.isSubMenu && (this.menu.isHidden = true, this.choices = e3.choices, e3.linkedMenuChoice = this)); } - sortContainerParts() { + linkTask(e3) { + e3 && this._isTaskAction() && (this.action.linkTask(e3), this.task = e3, this._isInlineTask() && (this.task.isHidden = true, e3.linkedMenuChoice = this)); } - _buildToMultimodalCommunicationGeneration(e3, t3, i3, n3) { - let r3; - if (r3 = e3 === t3 ? this._buildExpressionGenerationFromManager(e3) : _.createGeneration().addGenerationToBucket(this._buildExpressionGenerationFromManager(e3)).addGenerationToBucket(this._buildExpressionGenerationFromManager(t3)), !i3) return r3; - const o2 = p.createGeneration(); - return n3 && o2.setReplacementTokens([n3, `"${i3}"`]), o2.addGenerationToBucket(r3), o2; + get name() { + return super.name; } - _getBuilderPartsManagerForLangOutputMode(e3, t3, i3, n3) { - let r3; - if (i3) { - if (r3 = i3[n3], r3) return r3.builderPartsManager; - if (r3 = i3.__none__, r3) return r3.builderPartsManager; - } - return t3 && (r3 = t3[n3], r3) ? r3.builderPartsManager : this.builderPartsManager; + set name(e3) { + super.name = e3, this._isInlineTask() && this.task && (this.task.name = e3), this.action.name = e3, this.menu && (this.menu.name = e3); } - _buildExpressionGeneration() { - if (0 === this.builderPartContainers.length) return super._buildExpressionGeneration(); - const e3 = this.builderContainerPartsManager.getLanguageTagOutputModeContainer(), t3 = e3.__none__, i3 = l.default.genericBuilderWithPartsGenerator.createGeneration(); - let n3 = ""; - const r3 = this.parentFlow.variableGroup.getVariable("__INTERACTION_LANGUAGE__"); - return o.default.each(e3, (o2, a2) => { - "__none__" !== a2 && (i3.addGenerationToBucket(this._buildToMultimodalCommunicationGeneration(this._getBuilderPartsManagerForLangOutputMode(e3, t3, o2, "voice"), this._getBuilderPartsManagerForLangOutputMode(e3, t3, o2, "text"), a2, r3.name)), n3 += ")"); - }), i3.addGenerationToBucket(this._buildToMultimodalCommunicationGeneration(this._getBuilderPartsManagerForLangOutputMode(e3, t3, void 0, "voice"), this._getBuilderPartsManagerForLangOutputMode(e3, t3, void 0, "text"))), i3.setReplacementTokens(n3), i3; + search(e3) { + this.dtmf && e3.checkText(this, String(this.dtmf.value), C.menuChoice.dtmfSelector), e3.addToQueue(this.speechRecTerms), e3.addToQueue(this.action); } - } - t2.default = h; - }, 69453: (e2, t2) => { - "use strict"; - 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; - var n2 = i2(9619); - t2.UnsubscriptionError = n2.createErrorClass(function(e3) { - return function(t3) { - e3(this), this.message = t3 ? t3.length + " errors occurred during unsubscription:\n" + t3.map(function(e4, t4) { - return t4 + 1 + ") " + e4.toString(); - }).join("\n ") : "", this.name = "UnsubscriptionError", this.errors = t3; - }; - }); - }, 69549: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Das ist ung\xFCltig.", noInputReceived: "Ich habe keine Eingabe empfangen." }, askForBoolean: { noInput: 'Sagen Sie "ja", wenn Sie fortfahren m\xF6chten, oder "nein", wenn nicht.', noMatch: '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 nicht fortfahren m\xF6chten.', noMatchDigitalBot: 'Geben Sie "Ja" oder "Nein" ein. M\xF6chten Sie fortfahren?' }, askForIntent: { noInput: 'Beschreiben Sie Ihre Abfrage mit einem kurzen Satz, z. B. "Meinen Kontostand \xFCberpr\xFCfen".', noMatch: "Sagen Sie mir bitte erneut, was Sie tun m\xF6chten.", question: "Was m\xF6chten Sie tun?", noInputDigitalBot: 'Beschreiben Sie Ihre Abfrage in einem kurzen Satz. Beispiel: "Kontostand pr\xFCfen"' }, askForSlot: { askFor: "Um %1$s bitten", noInput: "Nennen oder geben Sie bitte Folgendes ein: (Slot-Name hier einf\xFCgen).", noInputWithSlot: "Nennen oder geben Sie bitte Folgendes ein: %1$s.", noMatch: "Geben Sie mir bitte Folgendes erneut: (Slot-Name hier einf\xFCgen).", noMatchWithSlot: "Geben Sie mir bitte Folgendes erneut: %1$s.", question: "Wie lautet Folgendes: (Slot-Name hier einf\xFCgen)?", questionWithSlot: "Wie lautet Folgendes: %1$s?", pleaseEnterSlotNameHere: "(Slot-Name hier einf\xFCgen)", noInputDigitalBot: "Geben Sie den (Slot-Namen hier einf\xFCgen) ein.", noInputWithSlotDigitalBot: "Geben Sie den %1$s ein.", continuationPromptWithSlot: "Ich habe bis jetzt {{Slot.%1$s}}, bitte fahren Sie fort." }, askForNextSlot: { noInput: 'Sagen Sie "ja", wenn Sie eine weitere Abfrage haben, oder "nein", um den Anruf zu beenden.', noMatch: 'Sagen Sie "Ja", wenn Sie eine weitere Abfrage haben, oder "Nein", um die Sitzung zu beenden.', question: "Gibt es sonst noch etwas, womit ich Ihnen helfen kann?", noInputDigitalBot: 'Geben Sie "Ja" ein, wenn Sie eine weitere Abfrage haben, oder "Nein", um die Sitzung zu beenden.', noMatchDigitalBot: 'Geben Sie "Ja" ein, wenn Sie eine weitere Abfrage haben, oder "Nein", um die Sitzung zu beenden.' }, askForPayment: { noInputDigitalBot: "Geben Sie Ihre Zahlungsinformationen an, um fortzufahren.", noMatchDigitalBot: "Ich habe Ihre Antwort nicht verstanden. Bitte versuchen Sie es erneut." }, askForAuthentication: { noInputDigitalBot: "Geben Sie Ihre Authentifizierungsinformationen an, um fortzufahren.", noMatchDigitalBot: "Ich habe Ihre Antwort nicht verstanden. Bitte versuchen Sie es erneut." }, askSurveyQuestion: { notApplicable: "Nicht zutreffend", surveyAnswerOptionSequence: "Dr\xFCcken Sie %1$s f\xFCr '%2$s'.", surveyAnswerNotApplicableSequence: "Dr\xFCcken Sie Stern f\xFCr 'Nicht zutreffend'.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Dr\xFCcken Sie Stern f\xFCr 'Nicht zutreffend'.", voiceSurveyNoInputText: "Beantworten Sie bitte die Frage.", voiceSurveyNoMatchText: "Ich habe Sie nicht verstanden." }, commonModule: { exitCommonModule: "Gemeinsames Modul schlie\xDFen" }, form: { noInputDigitalBot: "F\xFCllen Sie das Formular aus, um fortzufahren.", noMatchDigitalBot: "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: "Weiter", knowledgeAnswerHighlightFullArticleDefault: "Vollst\xE4ndige Artikel anzeigen", knowledgeInitialResponseMulti: "W\xE4hlen Sie bitte eine Zahl aus der folgenden Liste aus, damit ich Ihr Ziel besser verstehe:", knowledgeInitialResponseMultiRetry: "W\xE4hlen Sie bitte eine Zahl, z. B. '1'.\nHier ist erneut die Liste der Optionen:", knowledgeNoMatch: "Keine davon", knowledgeConfirmation: "Hat dies Ihre Frage beantwortet?", knowledgeFollowup: "Ich hoffe, dass ich Ihre Frage beantwortet habe. Sie k\xF6nnen alles fragen, was Sie wissen m\xF6chten." }, noOverlay: { intent: { intentConfirmationStr1: "Ich glaube, Sie m\xF6chten", intentConfirmationStr2: "Ist das richtig?" }, youSaid: { youSaidConfirmationStr1: "Sie sagten", youSaidConfirmationStr2: "Ist das richtig?", youSaidConfirmationStr1DigitalBot: "Sie haben Folgendes eingegeben:" }, noInput: { noInputStr1: "Bitte nennen Sie Folgendes, oder geben Sie Folgendes ein:", noInputStr1DigitalBot: "Bitte eingeben: den" }, noMatch: { noMatchStr1: "Bitte nennen Sie" }, whatIs: { whatIsQuestionStr1: "Was ist", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Ich habe bis jetzt", iGotContinuationStr2: ", bitte fahren Sie fort" } }, defaultCallFlowOne: "Anruf-Flow (Standard)", errorHandlingAgentEscalationConfirmation: "Sie m\xF6chten mit einem Berater sprechen. Ist das richtig?", errorHandlingAgentEscalationHandover: "Bitte warten Sie kurz, ich werde Sie durchstellen.", errorHandlingErrorEventHandover: "Leider ist ein Fehler aufgetreten. Bitte warten Sie kurz, ich werde Sie zu einer Person durchstellen, die Ihnen helfen kann.", errorHandlingErrorEventHandoverVoiceSurvey: "Leider ist ein Fehler aufgetreten. Auf Wiedersehen!", errorHandlingRecognitionEventHandover: "Ich kann Sie leider nur schlecht verstehen. Bitte warten Sie kurz, ich werde Sie zu einer Person durchstellen, die Ihnen helfen kann.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Leider habe ich Probleme, Sie zu verstehen. Auf Wiedersehen!", errorHandlingTTS: "Es tut uns leid, ein Fehler ist aufgetreten. Bitte f\xFChren Sie den Anruf erneut durch.", initialGreetingTTS: "Hallo, dies ist die Begr\xFC\xDFung.", initialState: "Ausgangsstatus", initialBotState: "Standard-Bot", initialDigitalBotState: "Begr\xFC\xDFung", initialSurveyBotState: "Umfrage-Bot", intentConfirmation: "Ich glaube, Sie m\xF6chten %1$s. Ist das korrekt?", mainMenu: "Hauptmen\xFC", mainMenuTTS: "Sie befinden sich im Hauptmen\xFC. Dr\xFCcken Sie die 9, um die Verbindung zu trennen", mainTask: "Aufgabe", settingsConfirmationNoInputApology: "Ich habe Sie leider nicht geh\xF6rt. Bitte antworten Sie mit 'Ja' oder 'Nein'.", settingsConfirmationNoInputApologyDigitalBot: 'Ich habe leider keine Eingabe von Ihnen erhalten. Geben Sie "Ja" oder "Nein" ein.', settingsConfirmationNoMatchApology: "Bitte antworten Sie mit 'Ja' oder 'Nein'.", settingsConfirmationNoMatchApologyDigitalBot: 'Bitte geben Sie "Ja" oder "Nein" ein.', settingsNoInputApology: "Ich habe Sie leider nicht geh\xF6rt.", settingsNoInputApologyDigitalBot: "Ich habe leider keine Eingabe von Ihnen erhalten.", settingsEndOfSessionMessageDigitalBot: "Ich habe eine Weile nichts von Ihnen geh\xF6rt, deshalb schlie\xDFe ich diesen Chat. Bitte kehren Sie zur\xFCck, wenn Sie meine Hilfe ben\xF6tigen. Vielen Dank!", settingsNoMatchApology: "Entschuldigen Sie bitte.", settingsNoToConfirmationApology: "Mir ist ein Fehler unterlaufen.", periodicStateName: "Wiederkehrender Status" }; - }, 69581: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(81574)); - class a extends o.default { - constructor(e3) { - super(e3), this._coreAudioExpression = e3; + traverse(e3) { + if (!e3 || e3.isCanceled) return; + const t3 = e3.getMenuChoiceCallback(); + let i3; + if (t3 && (i3 = e3.createCallbackParam(true), t3(this, i3), !e3.processCallbackParamAndContinue(i3, true))) return; + if (!this.action) return; + const n3 = e3.getActionCallback(); + n3 && (i3 = e3.createCallbackParam(false), n3(this.action, i3), e3.processCallbackParamAndContinue(i3)); } - get _globalTypeName() { - return "audio"; + get uiMetaData() { + return this.model.uiMetaData; } - get displayTypeName() { - return "ArchValueAudio"; + set uiMetaData(e3) { + this.model.uiMetaData = e3; } - get isArchValueAudio() { - return true; + get uiSortStr() { + return (this.dtmf ? (0, o.sprintf)("%2d", this.dtmf.value) : "AA") + this.name; } - setExpression(e3) { - this._coreAudioExpression.customExpressionMode = true, this._coreExpression.parentAudio && this._coreExpression.parentAudio.noValueMode && (this._coreExpression.parentAudio.noValueMode = false), this.logNote("setting audio expression expressionText to '" + e3 + "'"), this._setExpression(this._infoParm("expressionText", "setExpression"), e3); + 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; } - setExpressionToAudioTTS(e3, t3) { - this._checkItemIsValidLiteralString(this._infoParm("text", "setExpressionToAudioTTS"), e3, true), (r2.default.isUndefined(e3) || null === e3) && (e3 = ""), this._checkItemIsValidLiteralBool(this._infoParm("doNotEscapeText", "setExpressionToAudioTTS"), t3, true); - const i3 = `ToAudioTTS("${t3 ? e3 : this._escapeTextForExpression(e3)}")`; - this.setExpression(i3); + 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, C.speechRec.missingSpeechRec), this.hasSpeechRecOrDtmfWarning = true) : i3 && (e3.addError(this, C.speechRec.missingSpeechRec), this.hasSpeechRecOrDtmfError = true) : (e3.addError(this, C.menuChoice.noDtmfWithDisabledSpeechRec), this.hasSpeechRecOrDtmfError = true) : (e3.addError(this, C.menuChoice.noDtmfOrSpeechRec), this.hasSpeechRecOrDtmfError = true), this.speechRecTerms.hasUnsupportedSpeechRecLangContainer && (e3.addError(this, this.speechRecTerms.getUnsupportedSpeechRecLangContainersStr()), this.hasSpeechRecOrDtmfError = true), this.hasDuplicateDtmf() && (e3.addError(this, (0, o.sprintf)(C.menuChoice.duplicateDtmfGlobal, this.dtmf.value)), this.hasSpeechRecOrDtmfError = true), this.globalSpeech) { + const t4 = this.speechRecTerms.getGlobalSpeechSpeechRecDisabledError(); + t4 && (e3.addError(this, t4), this.hasSpeechRecOrDtmfError = true); + } + this.speechRecTerms.validate(e3), this.speechRecTerms.hasDuplicates && (this.hasSpeechRecOrDtmfError = true); } - setLiteralTTS(e3) { - this._failIfOutput(); - const t3 = this._infoParm("text", "setLiteralTTS"); - this._checkItem(t3, !this.settings.isWritable, "you cannot assign the literal text to speech text '" + e3 + "' because this value " + this.settings.logStr + " is not writable."), this._checkItemIsValidLiteralString(t3, e3, true), (r2.default.isUndefined(e3) || null === e3) && (e3 = ""), this.logNote("assigning text to speech text of '" + e3 + "'"), this._coreAudioExpression.parentAudio && this._coreAudioExpression.parentAudio.noValueMode && (this._coreAudioExpression.parentAudio.noValueMode = false), this._coreAudioExpression.setTTSOnly(e3); + get defaultVariableScope() { + return this.task && this._isInlineTask() ? this.task.defaultVariableScope : super.defaultVariableScope; } - get valueText() { - let e3 = this._getValueTextCommon(); - return void 0 === e3 && this._coreExpression && (e3 = this._coreAudioExpression.text), "string" == typeof e3 ? e3 : ""; + get localVariableScope() { + return this.task && this._isInlineTask() ? this.task.localVariableScope : super.localVariableScope; } - } - t2.default = a; - }, 69671: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createCall = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(34825); - t2.createCall = n2.default.request("POST", "{public-api.apps}/api/v2/conversations/calls", r2); - }, 69674: (e2, t2, i2) => { - const n2 = i2(15655), { stateActionType: r2 } = i2(30801); - function o() { - Object.defineProperties(this, { _variableScope: { value: "State" } }), o.baseConstructor.apply(this, arguments); - } - 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; - }, 69675: (e2) => { - e2.exports = { error: 1, warning: 2, info: 3, none: 4 }; - }, 69706: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__importDefault || function(e3) { - return e3 && e3.__esModule ? e3 : { default: 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); - }, t2.isShortMessageFlowType = function(e3) { - 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.resolveCasedFlowTypeOrTypesString = function(e3) { - if (r2.default.isString(e3)) return T[e3.toLowerCase()]; - }, t2.hasVxmlgenFlowType = function(e3) { - return e3.some((e4) => A(e4)); - }, t2.hasAutomateFlowType = function(e3) { - return e3.some((e4) => y(e4)); - }, t2.hasCiceroFlowType = function(e3) { - 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); - } - i2(45214).extend(n2, "FlowLaunchResult"), e2.exports = n2; - }, 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), c = i2(14394); - function d(e3, t3, i3) { - e3[t3] || Object.defineProperty(e3, t3, { enumerable: !i3, writable: true }); - } - class p extends o.BaseClass { - get className() { - return "ExpressionItem"; + get builtInVariableScopes() { + return this.task && this._isInlineTask() ? this.task.builtInVariableScopes : super.builtInVariableScopes; } - constructor(e3, t3, i3) { - super(), Object.defineProperty(this, "_type", { enumerable: false, writable: true }), Object.defineProperty(this, "_root", { value: e3, enumerable: false, writable: false }), Object.defineProperty(this, e3, { value: {}, enumerable: true, writable: true }), this.position = t3, this.text = i3; + get userCreatableVariableScopes() { + return this.task && this._isInlineTask() ? this.task.userCreatableVariableScopes : super.userCreatableVariableScopes; } - get items() { - return this.root.items; + get yamlPropertyOrderMap() { + return r.default.extend(super.yamlPropertyOrderMap, { dtmf: 20, globalDtmf: 30, globalSpeechRecTerms: 40 }); } - set items(e3) { - d(this.root, "items"), this.root.items = e3 || []; + toString() { + return `MenuChoice: ${super.toString()}`; } - get isBracketArrayAccess() { - var e3; - const t3 = this.getOperands(); - return "[" === this._root && t3 && 2 === t3.length && (null === (e3 = t3[0].type) || void 0 === e3 ? void 0 : e3.expressionType) === u.expressionTypeNames.integer; + get sortValue() { + return this.dtmf ? 0 === this.dtmf.value ? "99" : 10 === this.dtmf.value ? "999" : 11 === this.dtmf.value ? "9999" : this.dtmf.value.toString() : this.name; } - get isBracketAccess() { - const e3 = this.getOperands(); - return "[" === this._root && e3 && 2 === e3.length; + 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.iconName; } - get isBracketArrayOrPropAccess() { - return this.isBracketArrayAccess || this.isPropAccess; + get containerLabel() { + return C.menu.label; } - get isCollection() { - return !!this._type && this._type.isCollection; + get containerLabelAndName() { + return (0, o.sprintf)(C.labelAndName, this.containerLabel, this.getDisplayName()); } - get isEmp() { - return "emp" === this._root; + configureFromModel(e3, t3, i3) { + super.configureFromModel(e3, t3, i3), (0, y.withModelContext)(i3, `menuChoice[${e3.refId || e3.name || "unknown"}]`, () => { + var n3; + const o2 = (0, y.getStringValue)(e3, "name", i3); + void 0 !== o2 && (this.name = o2); + const r2 = (0, y.getStringValue)(e3, "dtmf", i3); + if (void 0 !== r2) { + const e4 = E[r2]; + 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); + } + }); } - get isFunc() { - return "fn" === this.root.opOrFunc; + _configureSpeechRecTermsFromModel(e3, t3) { + this.speechRecTerms.refreshContainers(); + const i3 = this.parentFlow.languages.supportedLanguages; + for (const n3 of Object.keys(e3)) { + const r2 = i3.find((e4) => e4.toLowerCase() === n3.toLowerCase()); + if (!r2) { + t3.warn((0, o.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, o.sprintf)(s.configureFromModel.speechRecTermsMustBeStringArray, n3)); + continue; + } + const u2 = l2.filter((e4) => "string" == typeof e4 && e4.length > 0), c2 = this.speechRecTerms.getContainer(r2); + c2 && (c2.terms = u2); + } } - get isImplicitCastingFunc() { - if (this.isFunc) { - const e3 = this.getOperands(); - if (e3 && e3.length > 0) return e3[0].position === this.position; + } + t2.MenuChoiceViewModel = w; + }, 1782(e2, t2, i2) { + "use strict"; + t2.MenuViewModel = void 0, t2.isMenu = function(e3) { + return null == e3 ? void 0 : e3.isMenu; + }; + const n2 = i2(31635), o = i2(79364), r = 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), I = i2(1910), C = i2(1910), O = 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 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 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), 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 o.BehaviorSubject(void 0); } - return false; } - get isLit() { - return "lit" === this._root; + get amObjectEventEmitter() { + return true; } - get isNotSet() { - return "nul" === this._root; + static get notRealAction() { + return true; } - get isOp() { - return "op" === this.root.opOrFunc; + addChild(e3) { + 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, 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, x.task.newDefaultName)); + } + 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; } - get isPromptRef() { - return ("ref" === this._root || "sysref" === this._root) && this.root.type === u.expressionTypeNames.prompt; + invokeMenuChoicesChanged() { + g.fireEvent(this, s.menuChoicesChanged); } - get isPropAccess() { - var e3; - const t3 = this.getOperands(); - return ("." === this._root || "[" === this._root) && t3 && 2 === t3.length && (null === (e3 = t3[0].type) || void 0 === e3 ? void 0 : e3.expressionType) === u.expressionTypeNames.string; + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), e3.copyCutProcessMenuViewModel(this), this.prompts.addClipboardDependencies(e3), this.menuSettings.addClipboardDependencies(e3), this.action && this.action.addClipboardDependencies(e3); } - get isRef() { - return "ref" === this._root; + get canCollapse() { + return this.children.length > 0; } - get isRefOrSysRef() { - return "ref" === this._root || "sysref" === this._root; + checkVersion(e3) { + this.prompts.checkVersion(e3), a.default.each(this.choices, function(t3) { + t3.checkVersion(e3); + }); } - get isSysPromptRef() { - return "sysref" === this._root && this.root.type === u.expressionTypeNames.prompt; + get children() { + return this.choices; } - get isSysRef() { - return "sysref" === this._root; + get defaultMenuChoice() { + return this.model.defaultMenuChoice; } - get isUserPromptRef() { - return "ref" === this._root && this.root.type === u.expressionTypeNames.prompt; + set defaultMenuChoice(e3) { + this.model.defaultMenuChoice = e3, this.defaultMenuChoice$.next(e3); } - get isTypeNotSet() { - return this.root.type === u.expressionTypeNames.notSet; + defaultChoiceInChoices() { + return !this.defaultMenuChoice || a.default.find(this.choices, (e3) => e3.id === this.defaultMenuChoice); } - get isTypePrompt() { - return this.root.type === u.expressionTypeNames.prompt; + deleteChild(e3) { + if (!this.choices) return; + const t3 = this.choices.indexOf(e3); + t3 < 0 || (e3.isDefaultMenuChoice && (this.defaultMenuChoice = null), e3.deleting && e3.deleting(), this.choices.splice(t3, 1), this.invokeMenuChoicesChanged(), this.parentFlow.calcFlowSizeAsync()); } - get isVariableRef() { - if (this.isRefOrSysRef) return true; - let e3 = this; - for (; e3.isBracketArrayOrPropAccess; ) { - const t3 = e3.getOperands(); - e3 = t3[1]; - } - return e3.isRefOrSysRef; + destroyChildren() { + this.prompts.destroy(), a.default.each(a.default.clone(this.children), function(e3) { + e3.destroy(); + }), this.menuSettings.destroy(), this.speechRecSettings.destroy(); } - getVariableNameIfRef() { - var e3, t3; - const i3 = this._getRootVariableRef(); - if (i3) return (null === (e3 = i3.sysref) || void 0 === e3 ? void 0 : e3.text) || (null === (t3 = i3.ref) || void 0 === t3 ? void 0 : t3.text); + _postDestroy() { + super._postDestroy(), this.parentMenu = null; } - getIsVariableRefWithScope(e3) { - var t3; - if (!e3) return false; - const i3 = this._getRootVariableRef(); - return !!i3 && (null === (t3 = i3.text) || void 0 === t3 ? void 0 : t3.toLowerCase().startsWith(e3 + ".")); + _preDestroy() { + super._preDestroy(), g.fireEvent(this, s.actionContainerDeleted), g.unregisterAndRemoveObject(this.nameEventSink); } - _getRootVariableRef() { - if (this.isRefOrSysRef) return this; - let e3 = this; - for (; e3.isBracketArrayOrPropAccess; ) { - const t3 = e3.getOperands(); - e3 = t3[1]; + getChild(e3) { + for (let t3 = 0; t3 < this.choices.length; t3++) { + const i3 = this.choices[t3]; + if (i3.id === e3) return i3; + if (i3.action && i3.action.id === e3) return i3; } - return (null == e3 ? void 0 : e3.isRefOrSysRef) ? e3 : void 0; + return null; } - getIsNamedVariableRef(e3) { - var t3; - if (!e3) return false; - const i3 = this._getRootVariableRef(); - return !!i3 && (null === (t3 = i3.text) || void 0 === t3 ? void 0 : t3.toLowerCase()) === e3.toLowerCase(); + 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) ? _.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 a.default.extend(o2[this.wrappedYamlName], n3), o2[this.wrappedYamlName] = p.default.sortObjectByPropertyMap(o2[this.wrappedYamlName], this.yamlPropertyOrderMap), o2; + } + return n3; } - get opOrFunc() { - return this.root.val; + getOrderedChoices() { + return a.default.sortBy(this.choices, "uiSortStr"); } - set opOrFunc(e3) { - d(this.root, "opOrFunc", true), this.root.opOrFunc = e3, e3 && (d(this.root, "operands"), this.root.operands = []); + getYamlOptionsMap() { + return U; } - get position() { - return this.root.pos; + get id() { + return this.model && this.model.id ? this.model.id : null; } - set position(e3) { - d(this.root, "pos"), this.root.pos = e3; + initialize() { + for (let e3 = 0; e3 < this.choices.length; e3++) this.choices[e3].initialize(); } - get root() { - return this[this._root]; + _initializeDesignTime() { + super._initializeDesignTime(), a.default.each(this.choices, (e3) => e3.initializeDesignTime()), this.speechRecSettings.initializeDesignTime(), this.menuSettings.initializeDesignTime(), this.prompts.initializeDesignTime(); } - get rootText() { - return this._root; + get isAllowedAsStartupNode() { + return true; } - setContainerExpressionMetaData(e3, t3) { - if (!this.isRefOrSysRef) return void (t3 && (e3.metaData = {})); - e3.metaData ? e3.metaData.references || (e3.metaData.references = []) : e3.metaData = { references: [] }; - const i3 = this.val; - r2.default.find(e3.metaData.references, function(e4) { - return e4.id === i3; - }) || e3.metaData.references.push({ id: this.val, type: this.root.type, isSysRef: this.isSysRef, name: this.text }); + get isMenu() { + return true; } - get text() { - return this.root.text; + isNameUnique() { + if (!this.parent || !this.parent.menus) return true; + const e3 = this.parent.menus; + for (let t3 = 0; t3 < e3.length; t3++) { + const i3 = e3[t3]; + if (i3.id !== this.id && i3.name === this.name) return false; + } + return true; } - set text(e3) { - d(this.root, "text"), this.root.text = e3 || ""; + get isTopLevelNode() { + return true; } - get type() { - return this._type; + get name() { + return super.name; } - set type(e3) { - d(this.root, "type"), r2.default.isString(e3) ? this.root.type = e3 : (this._type = e3, this.root.type = e3.expressionType); + 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 && T.validateNode(this, true); } - get val() { - return this.root.val; + get nodeGuxIcon() { + return m.default.menu; } - set val(e3) { - d(this.root, "val"), this.root.val = e3; + get resources() { + return { deleteTitle: x.deleteMenu, multipleNameError: x.menu.multipleNames, setAsStartup: x.setMenuAsStartup, startUpDisplayName: x.startUpMenuDisplayName }; } - addAdditionalProperties(e3) { - e3 && r2.default.defaults(this.root, e3); + search(e3) { + 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, x.menu.defaultMenuChoice); + } + e3.addToQueue(this.prompts), a.default.each(this.choices, e3.addToQueue.bind(e3)), e3.addToQueue(this.speechRecSettings), e3.addToQueue(this.menuSettings); } - finishForOutput(e3) { - const t3 = this.getOperands(); - t3 && r2.default.each(t3, function(e4) { - e4.finishForOutput(true); - }), this.isLit && "str" === this.root.type && r2.default.isString(this.root.val) && r2.default.isString(this.root.text) ? (this.root.text = this.root.val, delete this.root.val) : e3 && (this.isFunc || this.isOp) && this.root && void 0 !== this.root.text && (this.root.text = void 0); + get trackingId() { + return this.model.trackingId; } - getErrorDisplayText() { - return this.isNotSet ? a.default.notSet : this.type ? this.type.displayString : ""; + set trackingId(e3) { + f.setNodeTrackingId(this, e3); } - getLitAsFloat() { - if (this.isLit && r2.default.isString(this.root.text)) return parseFloat(this.root.text); + getUsesSpeechRec() { + return !a.default.isUndefined(a.default.find(this.choices, (e3) => e3.getUsesSpeechRec())); } - getLitAsInt() { - if (this.isLit && r2.default.isString(this.root.text)) return parseInt(this.root.text); + updateDependencies() { + a.default.each(this.choices, function(e3) { + e3.action.updateDependencies(); + }), this.prompts.updateDependencies(); } - getLitAsString() { - if (this.isLit && r2.default.isString(this.root.text)) return this.root.text; + traverse(e3) { + if (!e3 || e3.isCanceled) return; + const t3 = e3.getMenuCallback(); + if (t3) { + const i3 = e3.createCallbackParam(true); + if (t3(this, i3), !e3.processCallbackParamAndContinue(i3, true)) return; + } + if (this.choices) { + for (let t4 = this.choices.length - 1; t4 >= 0; t4--) if (this.choices[t4].traverse(e3), e3.isCanceled) return; + } } - getOperands() { - return this.root.operands; + get collapsed() { + return this.uiMetaData.collapsed; } - getPropAccessInfo() { - if (this.isPropAccess) { - const e3 = this.getOperands(); - return { id: e3[0].root.val, propGroup: e3[0].root.propGroup }; - } + set collapsed(e3) { + this.uiMetaData.collapsed = e3, s.emitter.emit(s.collapseExpand, this); } - getPropAccessName() { - if (this.isPropAccess) return this.updateExprText(), this.getText(); + get uiMetaData() { + return this.model.uiMetaData; } - getStringLit() { - if (this.isLit && r2.default.isString(this.root.text)) return this.root.text; + set uiMetaData(e3) { + this.model.uiMetaData = e3; } - getText(e3, t3, i3) { - return this.knownExprText ? this.knownExprText : this.isNotSet ? a.default.notSet : this.isRef || this.isSysRef ? this.root.text : this.isLit ? t3 && this.root.resolvedProperty ? this.root.resolvedProperty : r2.default.isString(this.root.text) ? "str" !== this.root.type || i3 ? this.root.text : l.default.getQuotedExpressionStringLiteral(this.root.text) : this.root.val : this.isOp && e3 ? "(" + this.root.text + ")" : this.root.text; + 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); } - getExpressionTextForRoot() { - return this.isLit && r2.default.isString(this.root.text) ? "str" === this.root.type ? '"' + this.root.text + '"' : this.root.text : this._root; + get wrappedYamlName() { + return "menu"; } - getTextWithFuncOpTextFallback(e3) { - if (!this.root.opOrFunc) return this.getText(void 0, e3); - return this.root.text || this._root; + toString() { + return `Menu: ${super.toString()}`; } - updateExprText() { - const e3 = this.getOperands(); - if (!e3) return; - r2.default.each(e3, function(e4) { - e4.updateExprText(); + configureFromModel(e3, t3, i3, n3) { + super.configureFromModel(e3, t3, i3), (0, b.withModelContext)(i3, `menu[${e3.refId || e3.name || "unknown"}]`, () => { + const o2 = (0, O.getStringValue)(e3, "name", i3); + void 0 !== o2 && (this.name = o2), 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, I.isConfigureFromModelRecord)(t4)) continue; + const o3 = this.addChoiceFromModel(t4, i3); + if (o3 && void 0 !== n3) { + const a3 = (0, r.isString)(t4.refId) ? t4.refId : void 0; + i3.changeSetResults.addResult({ path: `/changes[${n3}]/add/choices[${e4}]`, refId: a3, added: { menuChoice: new u.ChangeSetResultObject(o3.id, o3.name, o3.trackingId) } }); + } + } + }); + const s2 = e3.defaultMenuChoice; + if (null != s2) { + if (t3 === C.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 === C.ModelFormat.ChangeSet && (this.defaultMenuChoice = null); }); - const t3 = this._root; - if ("op" === this.root.opOrFunc) { - let i4, n3; - switch (e3.length) { - case 1: - this.text = t3 + e3[0].getText(true); - break; - 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(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)}"`; - } - this.text = n3 ? `${e3[1].getText(false, true)}[${t4}]` : `${e3[1].getText(false, true)}.${t4}`; - } else this.text = e3[0].getText(true, true) + " " + this._root + " " + e3[1].getText(true, true); - break; - case 3: - this.text = e3[0].getText(false) + " ? " + e3[1].getText(false, true) + " : " + e3[2].getText(false, true); - break; - default: - throw new Error("Internal error. Operators that have more than 3 or less than 1 operand are not supported."); + } + addChoiceFromModel(e3, t3) { + const i3 = Object.keys(e3); + if (0 === i3.length) return; + const n3 = i3[0], o2 = e3[n3]; + if (!(0, I.isConfigureFromModelRecord)(o2)) return; + const a2 = (0, r.isString)(o2.refId) ? o2.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, r.isString)(o2.refId) && t3.refIdMap.set(o2.refId, a3), a3.configureFromModel(o2, C.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)); } - return; - } - let i3 = t3 + "("; - for (let t4 = 0; t4 < e3.length; t4++) t4 > 0 && (i3 += ", "), i3 += e3[t4].getText(false); - this.text = i3 + ")"; + }); } } - t2.ExpressionItem = p; - }, 69773: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(90358), o = {}; - n2.each(r2, function(e3, t3) { - o[t3] = { code: t3, message: e3 }; - }), e2.exports = o; - }, 69796: (e2, t2, i2) => { + 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 } } }); + }, 6225(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(47782)); - class r2 extends n2.default { + t2.MessagingTemplateViewModel = void 0; + const n2 = i2(43212); + class o extends n2.BaseConfigurationListViewModel { constructor(e3) { - super(e3); + super(e3), this.whatsApp = e3.whatsApp; + } + get className() { + return "MessagingTemplateViewModel"; } } - t2.default = r2; - }, 69823: (e2, t2, i2) => { - const n2 = i2(27727), r2 = i2(90807); - function o() { - Object.defineProperties(this, { _errorBindings: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "IntegrationsActionModel"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments); - for (let t3 = 0; t3 < this.errorBindings.length; t3++) this.errorBindings[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments); - for (let t3 = 0; t3 < this.errorBindings.length; t3++) this.errorBindings[t3].pasteResolveOldToNewValues(e3); - } }, errorBindings: { enumerable: true, get: function() { - return this._errorBindings; - }, set: function(e3) { - this._errorBindings = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 69849: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(90807), o = i2(7401), { loopUntilActionType: a } = i2(30801); - function s() { - Object.defineProperties(this, { _currentIndex: { writable: true }, _maxLoopCount: { writable: true }, _untilCases: { writable: true } }), s.baseConstructor.apply(this, arguments); - } - n2.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - if (s._super.pasteReIdOrRename.apply(this, arguments), this.currentIndex.pasteReIdOrRename(e3), this.maxLoopCount.pasteReIdOrRename(e3), this.untilCases) for (let t3 = 0; t3 < this.untilCases.length; t3++) this.untilCases[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - if (s._super.pasteResolveOldToNewValues.apply(this, arguments), this.currentIndex.pasteResolveOldToNewValues(e3), this.maxLoopCount.pasteResolveOldToNewValues(e3), this.untilCases) for (let t3 = 0; t3 < this.untilCases.length; t3++) this.untilCases[t3].pasteResolveOldToNewValues(e3); - } }, currentIndex: { enumerable: true, get: function() { - return this._currentIndex; - }, set: function(e3) { - this._currentIndex = this.reviveItem(e3, o); - } }, maxLoopCount: { enumerable: true, get: function() { - return this._maxLoopCount; - }, set: function(e3) { - this._maxLoopCount = this.reviveItem(e3, o); - } }, untilCases: { enumerable: true, get: function() { - return this._untilCases; - }, set: function(e3) { - e3?.length && e3[0].type && e3.splice(0).forEach((t3) => { - e3.push({ referenceId: t3.referenceId, value: t3 }), delete t3.referenceId; - }), this._untilCases = this.reviveArray(e3, r2); - } } }), e2.exports = s; - }, 69850: (e2, t2, i2) => { + t2.MessagingTemplateViewModel = o; + }, 42048(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), 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" }; - } - function h(e3, t3, i3, n3) { - e3[t3] = { resolver: i3, valueToResolve: n3 }; - } - t2.ConversationTypes = (function() { - const e3 = [], t3 = {}; - return r2.default.each(s, function(e4) { - h(t3, e4.id, o.propertyToLiteralResolverNames.propIDToConversationType, e4.id); - }), 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)) { - const i3 = l[t3], n3 = {}; - h(n3, "code", o.propertyToLiteralResolverNames.propIDToCurrencyCode, t3), e3.push(_(i3.displayName, null, t3, false, t3, "cre", n3, null)); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299); + class r extends o.BaseClass { + constructor(e3) { + super(), this.model = e3; } - return e3; - })(), t2.Languages = (function() { - const e3 = []; - for (const t3 in u.propIdLanguages) if (u.propIdLanguages.hasOwnProperty(t3)) { - const i3 = u.propIdLanguages[t3], n3 = {}; - h(n3, "tag", o.propertyToLiteralResolverNames.propIDToLanguageTag, t3), e3.push(_(i3.text, null, t3, false, t3, "lge", n3, null)); + get className() { + return "NLUDomainViewModel"; } - return e3; - })(), t2.MessageBodyStyles = (function() { - const e3 = [], t3 = {}; - return r2.default.each(c, function(e4) { - h(t3, e4.id, o.propertyToLiteralResolverNames.propIDToMessageBodyStyle, e4.id); - }), 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)) { - const i3 = a.countryMap[t3], n3 = {}; - h(n3, "countryCode", o.propertyToLiteralResolverNames.propIDToCountryCode, t3), h(n3, "dialingCode", o.propertyToLiteralResolverNames.propIDToDialingCode, t3), e3.push(_(i3.name, null, t3, false, t3, "rge", n3, null)); + get draftVersion() { + return this.model.draftVersion; } - return e3; - })(), t2.SurveyDispositions = (function() { - const e3 = [], t3 = {}; - return r2.default.each(p, function(e4) { - h(t3, e4.id, o.propertyToLiteralResolverNames.propIDToSurveyDisposition, e4.id); - }), e3.push(_(d.surveyInviteFlowVariables.surveyDispositions, null, "Dispositions", false, "Dispositions", "sde", t3, null)), e3; - })(); - }, 69879: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined."); - }, r2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + get id() { + return this.model.id; } - return a2; - }, o = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isSubscription = t2.EMPTY_SUBSCRIPTION = t2.Subscription = void 0; - var a = i2(10281), s = i2(69517), l = i2(54830), u = (function() { - function e3(e4) { - this.initialTeardown = e4, this.closed = false, this._parentage = null, this._finalizers = null; + get name() { + return this.model.name; } - var t3; - return e3.prototype.unsubscribe = function() { - var e4, t4, i3, l2, u2; - if (!this.closed) { - this.closed = true; - 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 { - try { - _ && !_.done && (t4 = p.return) && t4.call(p); - } finally { - if (e4) throw e4.error; - } - } - else d.remove(this); - var h = this.initialTeardown; - if (a.isFunction(h)) try { - h(); - } catch (e5) { - u2 = e5 instanceof s.UnsubscriptionError ? e5.errors : [e5]; - } - var m = this._finalizers; - if (m) { - this._finalizers = null; - try { - for (var g = n2(m), f = g.next(); !f.done; f = g.next()) { - var T = f.value; - try { - c(T); - } catch (e5) { - u2 = null != u2 ? u2 : [], e5 instanceof s.UnsubscriptionError ? u2 = o(o([], r2(u2)), r2(e5.errors)) : u2.push(e5); - } - } - } catch (e5) { - i3 = { error: e5 }; - } finally { - try { - f && !f.done && (l2 = g.return) && l2.call(g); - } finally { - if (i3) throw i3.error; - } - } - } - if (u2) throw new s.UnsubscriptionError(u2); - } - }, e3.prototype.add = function(t4) { - var i3; - if (t4 && t4 !== this) if (this.closed) c(t4); - else { - if (t4 instanceof e3) { - if (t4.closed || t4._hasParent(this)) return; - t4._addParent(this); - } - (this._finalizers = null !== (i3 = this._finalizers) && void 0 !== i3 ? i3 : []).push(t4); - } - }, e3.prototype._hasParent = function(e4) { - var t4 = this._parentage; - return t4 === e4 || Array.isArray(t4) && t4.includes(e4); - }, e3.prototype._addParent = function(e4) { - var t4 = this._parentage; - this._parentage = Array.isArray(t4) ? (t4.push(e4), t4) : t4 ? [t4, e4] : e4; - }, e3.prototype._removeParent = function(e4) { - var t4 = this._parentage; - t4 === e4 ? this._parentage = null : Array.isArray(t4) && l.arrRemove(t4, e4); - }, e3.prototype.remove = function(t4) { - var i3 = this._finalizers; - i3 && l.arrRemove(i3, t4), t4 instanceof e3 && t4._removeParent(this); - }, e3.EMPTY = ((t3 = new e3()).closed = true, t3), e3; - })(); - function c(e3) { - a.isFunction(e3) ? e3() : e3.unsubscribe(); - } - t2.Subscription = u, t2.EMPTY_SUBSCRIPTION = u.EMPTY, t2.isSubscription = function(e3) { - return e3 instanceof u || e3 && "closed" in e3 && a.isFunction(e3.remove) && a.isFunction(e3.add) && a.isFunction(e3.unsubscribe); - }; - }, 69915: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isEmpty = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.isEmpty = function() { - return n2.operate(function(e3, t3) { - e3.subscribe(r2.createOperatorSubscriber(t3, function() { - t3.next(false), t3.complete(); - }, function() { - t3.next(true), t3.complete(); - })); - }); - }; - }, 69946: (e2, t2, i2) => { - const n2 = i2(58996), r2 = i2(87392), o = i2(2053); - function a() { - Object.defineProperties(this, { _workitemFlowSettings: { writable: true }, _errorHandling: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, "WorkitemFlowConfiguration"), Object.defineProperties(a.prototype, { workitemFlowSettings: { enumerable: true, get: function() { - return this._workitemFlowSettings; - }, set: function(e3) { - this._workitemFlowSettings = new r2(e3); - } }, errorHandling: { enumerable: true, get: function() { - return this._errorHandling; - }, set: function(e3) { - this._errorHandling = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 70109: (e2, t2, i2) => { + get isFromWorkbench() { + return this.model.isFromWorkbench; + } + get isPublished() { + return !!this.model.lastPublishedVersion; + } + get intents() { + return this.model.intents; + } + get entityTypes() { + return this.model.entityTypes; + } + getEntityTypeMechanismForArchNluEntity(e3) { + var t3; + if (!e3) return; + const i3 = null === (t3 = this.entityTypes) || void 0 === t3 ? void 0 : t3.find((t4) => t4.name === e3.type); + return null == i3 ? void 0 : i3.mechanism.type; + } + get entities() { + return this.model.entities; + } + get lastPublishedVersion() { + if (this.isPublished) return this.model.lastPublishedVersion.id; + } + get label() { + return this.name; + } + getSlotsWithSameNameButDiffType() { + const e3 = {}, t3 = []; + return n2.default.each(this.intents, (i3) => { + n2.default.each(i3.entityTypeBindings, (i4) => { + if (!n2.default.isObject(i4) || !n2.default.isString(i4.entityName) || !n2.default.isString(i4.entityType)) return; + const o2 = i4.entityName.toLowerCase(), r2 = e3[o2]; + r2 ? i4.entityType !== r2 && t3.push(i4.entityName) : e3[o2] = i4.entityType; + }); + }), t3; + } + } + t2.default = r; + }, 74483(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { + t2.NameIdConfigurationListViewModel = void 0; + const n2 = i2(43212); + class o extends n2.BaseConfigurationListViewModel { constructor(e3) { - super(e3), this._exitReason = this.coreFactory.createArchValueFromExpression(e3.exitReason); - } - get _actionTypeId() { - return r2.endWorkflowActionType; + super(e3), this.name = e3.name, this.id = e3.id, this.description = e3.description; } - get displayTypeName() { - return this._scriptingName; + get className() { + return "NameIdConfigurationListViewModel"; } - get exitReason() { - return this._exitReason; + get displayName() { + return this.name; } - get isArchActionEndWorkflow() { - return true; + get label() { + return this.name; } } - t2.default = a; - }, 70131: (e2, t2, i2) => { + t2.NameIdConfigurationListViewModel = o; + }, 43277(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), c = i2(14394), d = i2(94765), p = i2(47957); - class _ extends d.ExpressionType { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(55299); + class o extends n2.BaseClass { constructor(e3, t3, i3) { - super(e3, t3, i3); + super(), this.id = "", this.name = "", this.id = e3, this.name = t3 || e3, this.description = i3; } get className() { - return "KnowledgeBaseDocumentType"; - } - createExpressionOptionClass() { - return new o.ExpressionTypeKnowledgeBaseDocumentOptions(this.isCollection); - } - get listManager() { - return a.knowledgeBaseDocumentManager.getBriefManagerWithFallback(); - } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindKnowledgeBaseDocument", e3, [c.globalTypes.string]); + return "NameIdViewModel"; } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindKnowledgeBaseDocument(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get displayName() { + return this.name; } - validateLiteral(e3, t3) { - var i3, n3, o2, a2; - const s2 = super.validateLiteral(e3, t3); - if (s2) { - const o3 = this.listManager.getItem(t3.val); - if (o3 && r2.default.isFunction(null === (i3 = null == t3 ? void 0 : t3.options) || void 0 === i3 ? void 0 : i3.knowledgeBaseIdCallback)) { - const i4 = t3.options.knowledgeBaseIdCallback(t3), r3 = null == i4 ? void 0 : i4.knowledgeId; - if (r3 && (null === (n3 = o3.knowledgeBase) || void 0 === n3 ? void 0 : n3.id) !== r3) return e3.addError(t3, p.knowledgeSettings.knowledgeArticleMismatch, void 0, true), false; - } - } else { - const i4 = null === (a2 = null === (o2 = e3.getIssues(t3.parent.id)) || void 0 === o2 ? void 0 : o2.errors[0]) || void 0 === a2 ? void 0 : a2.text; - i4 && t3.setParseError(i4); - } - return s2; + get label() { + return this.name; } } - t2.KnowledgeBaseDocumentType = _, _.typeIdentifier = u.expressionTypeNames.knowledgeBaseDocument; - }, 70144: (e2, t2, i2) => { + t2.default = o; + }, 12360(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "listPickerSection"; + const n2 = i2(31635), o = n2.__importDefault(i2(17102)), r = i2(12179), a = n2.__importDefault(i2(59441)), s = i2(47957), l = "nluCortexMetaData"; + class u extends o.default { + constructor() { + super(...arguments), this.modelPropertyName = "nluCortex"; } - get displayTypeName() { - return "ArchVariableListPickerSection"; + get outOfService() { + return !this._nluCortex; } - get initialValue() { - return this._initialValue; + get id() { + return l; } - get isArchVariableListPickerSection() { + get isNluCortexMetaDataViewModel() { return true; } - } - t2.default = r2; - }, 70147: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeSurveyFormOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get intents() { + var e3; + return null === (e3 = this._nluCortex) || void 0 === e3 ? void 0 : e3.intents; } - constructor(e3) { - super(e3); + set intents(e3) { + this._nluCortex.intents = e3; } get className() { - return "ExpressionTypeSurveyFormOptions"; + return "NluCortexMetaDataViewModel"; } - get isExpressionTypeSurveyFormOptions() { - return true; + getDisplayName() { + return s.intents.label; + } + get NluCortexMetaDataArchNodeName() { + return l; + } + get nodeGuxIcon() { + return "fa/signs-post-regular"; + } + get helpTopic() { + return r.helpTopics.treeNodes.intentsSettings; + } + getConfiguration(e3, t3, i3) { + if (e3.nluCortex = new a.default(this._nluCortex) || new a.default(), null == t3 ? void 0 : t3.isForFlowYaml) return super.getConfiguration(e3, t3, i3); + } + loadConfiguration(e3) { + super.loadConfiguration(e3), e3.nluCortex || (e3.nluCortex = new a.default()), this._nluCortex = e3.nluCortex; } } - t2.ExpressionTypeSurveyFormOptions = r2; - }, 70201: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.concatAll = void 0; - var n2 = i2(68087); - t2.concatAll = function() { - return n2.mergeAll(1); - }; - }, 70283: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allSipHeadersFailureReasons = t2.getRawSipHeadersFailureReasons = t2.getSipHeadersFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { actionInvocationLimitExceeded: "ActionInvocationLimitExceeded", generalError: "GeneralError", noSipHeadersExist: "NoSipHeadersExist", sipHeaderNamesCollectionItemLimitExceeded: "SipHeaderNamesCollectionItemLimitExceeded" }, o = [r2.generalError]; - t2.getSipHeadersFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.noSipHeadersExist, r2.sipHeaderNamesCollectionItemLimitExceeded])), t2.getRawSipHeadersFailureReasons = n2.default.uniq(o.concat([r2.actionInvocationLimitExceeded, r2.noSipHeadersExist])), t2.allSipHeadersFailureReasons = r2; - }, 70310: (e2, t2, i2) => { + t2.default = u; + }, 86767(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)), 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 { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(94453)), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(10798)), l = n2.__importStar(i2(68694)), u = n2.__importStar(i2(66381)), c = n2.__importStar(i2(24032)), d = i2(79516), p = n2.__importDefault(i2(68460)), _ = i2(75679), h = i2(66882), m = i2(68694), g = n2.__importDefault(i2(4648)), f = n2.__importDefault(i2(33050)), T = n2.__importDefault(i2(77862)), y = i2(63689), S = n2.__importDefault(i2(32224)), A = i2(19284), N = n2.__importDefault(i2(40773)), v = i2(17604), I = n2.__importDefault(i2(65449)), C = i2(16926), O = i2(96563), b = i2(47957), E = c.getTopic("NluMetaDataViewModel"); + class w extends p.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, 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"); + super(...arguments), this.intentSettingsMap = {}, this.slotSettingsMap = {}, this._allowableIntentValues = [], this.modelPropertyName = "nluMetaData"; } - _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); + get isNluMetaDataViewModel() { + return true; } get className() { - return "StringBasedFacets"; + return "NluMetaDataViewModel"; } - get isStringBasedFacets() { - return true; + get id() { + return "nluMetaData"; } - _facetGetExpressionItemLitValue(e3) { - return e3.getLitAsString(); + getDisplayName() { + return this.id; } - _facetGetExpressionType() { - return m.default.getGlobalTypeGroup().getType(_.expressionTypeNames.string, this.isCollection); + addSlot(e3, t3, i3) { + this.slotToSlotVariablesMapping[e3] = t3.id, this.slotToEntityTypesMapping[e3] = i3, this.slotToReferencingIntentsMapping[e3] = []; } - _facetValidateValue(e3, t3) { - const i3 = super._facetValidateValue(e3, t3); - if (i3) return i3; - if (this.trim && null != e3 && (e3 = e3.trim()), void 0 !== this.minLength && this.minLength === this.maxLength && (!e3 || e3.length < this.minLength || e3.length > this.minLength)) return this._createErrorResult((0, r2.sprintf)(g.facets.valueMustBeExactly, this.minLength)); - if (void 0 !== this.minLength && (!e3 || e3.length < this.minLength)) return 1 === this.minLength ? (null == t3 ? void 0 : t3.isLiteralMode) ? this._createErrorResult(g.facets.valueStringMinLengthOne) : this._createErrorResult(g.facets.valueStringMinLengthOneNonFriendly) : this._createErrorResult((0, r2.sprintf)(g.facets.valueStringMinLengthTwoOrMore, this.minLength)); - if (void 0 !== this.maxLength && e3 && e3.length > this.maxLength) return this._createErrorResult((0, r2.sprintf)(g.facets.valueStringMaxLength, this.maxLength)); - if (void 0 !== this._literalPatternRegexp) { - const t4 = null == e3 ? "" : String(e3); - if (!this._literalPatternRegexp.test(t4)) return this._createErrorResult(this._literalPatternMismatchMessage); + getArchNluWithFallback() { + var e3, t3, i3; + if (this.archNlu) return this.archNlu; + const n3 = null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.nluDomainVersionId; + if (!o.default.isString(n3) || 0 === n3.length) return; + const r2 = null === (t3 = y.nluDomainManager.getItem(this.parentFlow.botFlowSettings.nluDomainId)) || void 0 === t3 ? void 0 : t3.model; + return r2 ? { id: null === (i3 = this.parentFlow.botFlowSettings) || void 0 === i3 ? void 0 : i3.nluDomainVersionId, entities: r2.entities, entityTypes: r2.entityTypes, intents: r2.intents } : void 0; + } + get archNlu() { + var e3; + return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.archNlu; + } + set archNlu(e3) { + this._model.archNlu = e3; + } + get intentHealthInfo() { + var e3; + return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.intentHealthInfo; + } + setIntentHealthInfo(e3) { + this._model.intentHealthInfo = e3; + } + get nluGeneratedInputInfo() { + var e3; + return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.nluGeneratedInputInfo; + } + setNluGeneratedInputInfo(e3) { + this._model.nluGeneratedInputInfo = e3; + } + removeSlotBySlotName(e3) { + o.default.isString(e3) && e3.length && (delete this.slotToSlotVariablesMapping[e3], delete this.slotToEntityTypesMapping[e3], delete this.slotToReferencingIntentsMapping[e3]); + } + getSlotNameForVariableId(e3) { + if (!o.default.isString(e3) || !e3.length) return; + let t3; + return o.default.find(this.slotToSlotVariablesMapping, (i3, n3) => { + if (i3 === e3) return t3 = n3, true; + }), t3; + } + getSlotVariableForSlotName(e3) { + const t3 = this.slotToSlotVariablesMapping[e3]; + let i3; + return t3 && (i3 = this.parentFlow.variableGroup.getExpandedVariable(t3)), i3; + } + destroy() { + var e3, t3; + return o.default.each(this.intentSettingsMap, (e4) => e4.destroy()), o.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 = o.default.clone(this._model), e3.nluMetaData.intents = {}, this.rawNlu && this.setRawNluAndCompressionFormat(this.rawNlu, T.default.compressionFormats.none, e3.nluMetaData), (null == t3 ? void 0 : t3.isArchitectFormatExport) ? e3.nluMetaData.archNlu = this.getArchNluWithFallback() : delete e3.nluMetaData.archNlu, o.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 m.EntityUtil.getListTypeEntityTypeByNameAllowableValues(this.rawNluAsINluDomainVersion, e3); + } + getEntityTypeValueLabels(e3, t3) { + return m.EntityUtil.getListTypeEntityTypeByNameValueLabels(this.rawNluAsINluDomainVersion, e3, t3); + } + getEntityTypeValueLabelForLanguage(e3, t3, i3) { + return m.EntityUtil.getListTypeEntityTypeByNameValueLabelForLanguage(this.rawNluAsINluDomainVersion, e3, t3, i3); + } + get rawNluAsINluDomainVersion() { + return this.parentFlow.nlu; + } + getEntityTypeNames() { + return m.EntityUtil.getEntityTypeNames(this.rawNluAsINluDomainVersion); + } + getEntityNames() { + return m.EntityUtil.getEntityNames(this.rawNluAsINluDomainVersion); + } + getProperlyCasedEntityTypeName(e3) { + var t3; + return null === (t3 = m.EntityUtil.getEntityTypeByName(this.rawNluAsINluDomainVersion, e3)) || void 0 === t3 ? void 0 : t3.name; + } + loadConfiguration(e3) { + var t3, i3, n3; + this._model = e3.nluMetaData || new O(), this.intentSettingsMap = o.default.mapObject(this._model.intents, (t4, i4) => { + const n4 = new f.default(i4, this.parentFlow, this); + return n4.loadConfiguration(e3), n4; + }), Object.keys(this._model.slots || {}).forEach((e4) => { + this.slotSettingsMap[e4] = new S.default(e4, this.parentFlow, this); + }), this.dynamicSlotTypesMap = new _.DynamicSlotTypeList(this.parent, null === (t3 = this._model.mappings) || void 0 === t3 ? void 0 : t3.dynamicSlotTypes), this.updateDynamicSlotTypes(), this.dynamicTimeslotTypeList = new h.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 r2 = this.unpackRawNlu(null == e3 ? void 0 : e3.nluMetaData); + if (r2 && (this.rawNlu = r2), null === (n3 = this.archNlu) || void 0 === n3 ? void 0 : n3.id) { + const e4 = new C(this.archNlu); + e4.isFromWorkbench = true, y.nluDomainManager.addItem(e4, true); } - if (this._disallowedValues && this._disallowedValues.warning && this._disallowedValues.warning.characters) { - const t4 = o.default.find(this._disallowedValues.warning.characters, function(t5) { - return e3.includes(t5); - }); - if (!o.default.isUndefined(t4)) return this._createWarningResult((0, r2.sprintf)(this._disallowedValues.warning.message ? this._disallowedValues.warning.message : g.facets.valueUsesInvalidCharacterWarning, t4)); + } + unpackRawNlu(e3) { + if (e3 && o.default.isString(e3.rawNlu)) try { + return e3.rawNluCompressionFormat === T.default.compressionFormats.none || E.error("Temporarily falling back to JSON.parse of raw NLU meta data because no compression format available. This shouldn't be happening."), JSON.parse(e3.rawNlu); + } catch (t3) { + E.errorWithStack(t3, `Failed to unpack nlu - compressionFormat: '${e3.rawNluCompressionFormat}', raw: '${e3.rawNlu}'`); } - return e3 && o.default.isString(e3) && 0 === e3.length && this.warnOnEmpty ? this._createWarningResult(g.facets.valueIsBlank) : void 0; } - _getTruncationBehaviorForLiteralStrings(e3) { - if (!o.default.isNullOrUndefined(e3)) return 1 === e3 ? a.stringFacets.truncationBehavior.literalStringLongerThanOneCharacterNotAllowed : (0, r2.sprintf)(a.stringFacets.truncationBehavior.literalStringLongerThanMaxLengthNotAllowed, e3); + initializeDesignTime() { + const e3 = Object.create(null, { initializeDesignTime: { get: () => super.initializeDesignTime } }); + return n2.__awaiter(this, void 0, void 0, function* () { + e3.initializeDesignTime.call(this), this.archNlu || (this.archNlu = this.getArchNluWithFallback()), o.default.each(this.intentSettingsMap, (e4) => e4.initializeDesignTime()), o.default.each(this.slotSettingsMap, (e4) => e4.initializeDesignTime()), this.dynamicSlotTypesMap.initializeDesignTime(), this.dynamicTimeslotTypeList.initializeDesignTime(), this.parentFlow.isReadOnly || this.updateIntents(this.parentFlow.botFlowSettings.nluDomain); + }); } - _getTruncationBehaviorForDynamicStrings(e3) { - if (!o.default.isNullOrUndefined(e3)) return 1 === e3 ? a.stringFacets.truncationBehavior.dynamicStringTruncatedToOneCharacterAtRuntime : (0, r2.sprintf)(a.stringFacets.truncationBehavior.dynamicStringTruncatedToMaxLengthAtRuntime, e3); + get rawNlu() { + var e3; + return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.rawNlu; } - get allowEmpty() { - return o.default.isUndefined(this.minLength) || 0 === this.minLength; + set rawNlu(e3) { + const t3 = this._model.rawNlu; + this._model.rawNlu = e3, (this.parentFlow.isImporting || (o.default.isObject(t3) ? JSON.stringify(t3) : t3) !== (o.default.isObject(e3) ? JSON.stringify(e3) : e3)) && this.parentFlow.updateWorkbench(); } - setAllowableValues(e3, t3) { - return o.default.isBoolean(t3) && (this.caseSensitiveAllowableValues = t3), this.allowableValues = e3, this; + setRawNluFromWorkbench(e3) { + if (o.default.isString(e3)) try { + e3 = JSON.parse(e3); + } catch (t3) { + E.errorWithStack(t3, `Failed to parse string rawNlu from Workbench: '${e3}'`); + } + else o.default.isObject(e3) && (e3 = o.default.deepClone(e3)); + (null == e3 ? void 0 : e3.nluDomainVersion) && (e3 = e3.nluDomainVersion), this._model.rawNlu = e3; } - setAllowableValuePlaceholder(e3) { - return this.allowableValuePlaceholder = e3, this; + setRawNluAndCompressionFormat(e3, t3 = T.default.compressionFormats.none, i3 = this) { + i3 === this || o.default.isString(e3) || o.default.isNullOrUndefined(e3) || (e3 = JSON.stringify(e3)), i3.rawNlu = e3, i3.rawNluCompressionFormat = t3; } - setAllowableValueUseOriginalDisplayString(e3) { - return this.allowableValueUseOriginalDisplayString = e3, this; + removeSlotByVariableId(e3) { + const t3 = this.getSlotNameForVariableId(e3); + t3 && this.removeSlotBySlotName(t3); } - setDisallowedCharactersWarning(e3, t3) { - return this._disallowedValues.warning = {}, this._disallowedValues.warning.characters = h.ParameterValidator.expectArray(e3, () => p.ParameterInfo.createPropertySet(this.className, "setDisallowedSubStringsWarning", "characters")), this._disallowedValues.warning.message = h.ParameterValidator.expectString(t3, () => p.ParameterInfo.createPropertySet(this.className, "setDisallowedSubStringsWarning", "warningMessage")), this; + search(e3) { + o.default.each(this.intentSettingsMap, (t3) => e3.addToQueue(t3)), o.default.each(this.slotSettingsMap, (t3) => e3.addToQueue(t3)), this.dynamicSlotTypesMap.search(e3), this.dynamicTimeslotTypeList.search(e3); } - addDescriptionInfo(e3, t3) { - super.addDescriptionInfo(e3, t3), o.default.isActualNumber(this.minLength) && this.minLength === this.maxLength ? t3.push((0, r2.sprintf)(u.default.itemColonValue, g.expressionsHelp.parameters.length, this.minLength)) : (o.default.isActualNumber(this.minLength) && t3.push((0, r2.sprintf)(u.default.itemColonValue, g.expressionsHelp.parameters.minLength, this.minLength)), o.default.isActualNumber(this.maxLength) && t3.push((0, r2.sprintf)(u.default.itemColonValue, g.expressionsHelp.parameters.maxLength, this.maxLength))), this.truncatesToMaxLength && (t3.push(this._getTruncationBehaviorForLiteralStrings(this.maxLength)), t3.push(this._getTruncationBehaviorForDynamicStrings(this.maxLength))); + dynamicSlotTypesListIsAvailable() { + var e3; + return ((null === (e3 = this.archNlu) || void 0 === e3 ? void 0 : e3.entityTypes) || []).some((e4) => l.EntityUtil.isEntityTypeOfTypeDynamicList(e4)); } - get hasDescriptionInfo() { - return !!super.hasDescriptionInfo || o.default.isActualNumber(this.maxLength) || o.default.isActualNumber(this.minLength); + dynamicTimeslotListIsAvailable() { + var e3; + return this.parentFlow.definition.supportsDynamicTimeslots && ((null === (e3 = this.archNlu) || void 0 === e3 ? void 0 : e3.entityTypes) || []).some((e4) => l.EntityUtil.isEntityTypeOfTypeDynamicDateTime(e4)); } - get maxLength() { - return this._maxLength; + updateDependencies() { + o.default.each(this.intentSettingsMap, (e3) => e3.updateDependencies()), this.dynamicSlotTypesMap.updateDependencies(), this.dynamicTimeslotTypeList.updateDependencies(); } - set maxLength(e3) { - const t3 = h.ParameterValidator.expectIntMoreThanOrEqualTo(e3, this.minLength, () => p.ParameterInfo.createPropertySet(this.className, "maxLength", "value"), true); - t3 <= l.default.maxExpressionTextLength ? this._maxLength = t3 : this._maxLength = void 0; + get allowableIntentValues() { + return this._allowableIntentValues; } - setMaxLength(e3) { - return this.maxLength = e3, this; + updateAllowableIntentValues(e3) { + this._allowableIntentValues = [], o.default.each(e3, (e4) => { + this._allowableIntentValues.push({ id: e4, displayString: e4 }); + }), this._allowableIntentValues.sort((e4, t3) => (null == e4 ? void 0 : e4.displayString) > (null == t3 ? void 0 : t3.displayString) ? 1 : (null == e4 ? void 0 : e4.displayString) < (null == t3 ? void 0 : t3.displayString) ? -1 : 0); } - get minLength() { - return this._minLength; + updateIntentTaskMappings(e3) { + this._model.mappings.intentsToReusableTasks = {}, o.default.each(e3, (e4) => { + this.addIntentTaskMapping(e4); + }); } - set minLength(e3) { - const t3 = o.default.isUndefined(this.maxLength) ? h.ParameterValidator.expectInt(e3, () => p.ParameterInfo.createPropertySet(this.className, "minLength", "value"), true) : h.ParameterValidator.expectIntLessThanOrEqualTo(e3, this.maxLength, () => p.ParameterInfo.createPropertySet(this.className, "minLength", "value"), true); - !o.default.isUndefined(t3) && t3 > 0 ? this._minLength = t3 : this._minLength = void 0; + updateSlotGrammarMappings(e3) { + this._model.mappings.slotsToGrammars = {}, e3 && Object.entries(e3).forEach((e4) => { + this.addSlotGrammarMapping(e4[0], e4[1]); + }); } - setMinLength(e3) { - return this.minLength = e3, this; + updateListPickerMappings(e3) { + this._model.mappings.listPickerMappings = e3 || {}; } - setLengthForUuid() { - return this.setMaxLength(void 0), this.setMinLength(36), this.setMaxLength(36), this; + isMultiSelectSlot(e3) { + return this.listPickerMappings && "multiple" === this.listPickerMappings[e3]; } - get preferRadioButtonsCount() { - return this._preferRadioButtonsCount; + addIntentTaskMapping(e3) { + const t3 = e3.intentName; + t3.trim() === t3 && t3.length ? this.intentsToReusableTasksMapping[t3] = { id: e3.taskId } : E.error("invalid intent name detected while creating intent to task map"); } - set preferRadioButtonsCount(e3) { - this._preferRadioButtonsCount = h.ParameterValidator.expectInt(e3, () => p.ParameterInfo.createPropertySet(this.className, "preferRadioButtonsCount", "value"), true); + addListPickerMapping(e3, t3, i3) { + this.listPickerMappings[e3] ? o.default.extend(this.listPickerMappings[e3], t3) : this.listPickerMappings[e3] = t3, i3 && (this.updateIntents(this.parentFlow.botFlowSettings.nluDomain), a.emitter.emit(a.slotListPickerMappingUpdated)); } - setPreferRadioButtonsCount(e3) { - return this.preferRadioButtonsCount = e3, this; + addSlotGrammarMapping(e3, t3) { + var i3; + if (!e3 || e3.trim() !== e3 || !e3.length) return void E.error("invalid slot name detected while creating grammar to slot map"); + const n3 = (null === (i3 = null == t3 ? void 0 : t3.sttEngine) || void 0 === i3 ? void 0 : i3.id) ? Object.assign(Object.assign({}, t3), { sttEngine: this._resolveSttEngineInfo(t3.sttEngine) }) : t3; + this.slotsToGrammarsMapping[e3] ? o.default.extend(this.slotsToGrammarsMapping[e3], n3) : this.slotsToGrammarsMapping[e3] = n3; } - get useRadioButtons() { - return !!(this._preferRadioButtonsCount && this.allowableValues && this.allowableValues.length <= this._preferRadioButtonsCount); + addSlotGrammarSttEngineMapping(e3, t3) { + if (!e3 || e3.trim() !== e3 || !e3.length) return void E.error("invalid slot name detected while creating stt engine to slot map"); + const i3 = this._resolveSttEngineInfo(t3); + this.slotsToGrammarsMapping[e3] ? this.slotsToGrammarsMapping[e3].sttEngine = i3 : this.slotsToGrammarsMapping[e3] = { id: "", sttEngine: i3 }; } - get useButtonSwitcher() { - return this._useButtonSwitcher; + _resolveSttEngineInfo(e3) { + var t3; + if (!(null == e3 ? void 0 : e3.id)) return e3; + const i3 = A.speechToTextEngineManager.resolveReplacement(e3.id); + if (!i3) { + const t4 = I.default.getDisplayNameForEngineId(e3.id); + return t4 && t4 !== e3.name ? { id: e3.id, name: t4 } : e3; + } + return (null === (t3 = this.parentFlow) || void 0 === t3 ? void 0 : t3.isReadOnly) ? { id: e3.id, name: i3.name } : { id: i3.id, name: i3.name }; } - setUseButtonSwitcher(e3) { - return this._useButtonSwitcher = e3, this; + updateDynamicSlotTypes(e3) { + return !!s.isFeatureAvailable(g.default.botFlowsDynamicSlotTypeFeature) && this.updateSlotTypeExpressionContainerItems(l.EntityTypeMechanismType.DynamicList, this.dynamicSlotTypesMap, e3 || this.archNlu); } - get trim() { - return this._trim; + updateDynamicTimeslotTypes(e3) { + return !!this.parentFlow.definition.supportsDynamicTimeslots && this.updateSlotTypeExpressionContainerItems(l.EntityTypeMechanismType.DynamicDateTime, this.dynamicTimeslotTypeList, e3 || this.archNlu); } - set trim(e3) { - this._trim = h.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "trim", "value"), true); + updateMutedUtteranceIds(e3) { + this.setIntentHealthInfo(Object.assign(Object.assign({}, this.intentHealthInfo || {}), { mutedUtterances: e3 })); } - setTrim(e3) { - return this.trim = e3, this; + updateIntents(e3) { + var t3; + if (!e3) return; + { + const t4 = e3.getSlotsWithSameNameButDiffType(); + if (t4.length) { + const e4 = 1 === t4.length ? b.bot.sameNamedSlotsWithDifferentSlotTypes : b.bot.sameNamedSlotsWithDifferentSlotTypesMultiple, i4 = u.getListDisplayString(t4, false, false), n4 = (0, v.sprintf)(e4, i4); + throw a.emitter.emit(a.alert, { message: n4, type: d.AlertTypeEnum.info }), n4; + } + } + this.intentSettingsMap = o.default.pick(this.intentSettingsMap, (t4, i4) => o.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 = {}; + const i3 = []; + e3.entities && e3.entities.forEach((t4) => { + var n4, o2; + const a2 = e3.getEntityTypeMechanismForArchNluEntity(t4); + a2 && a2.toLowerCase() !== l.EntityTypeMechanismType.List && a2.toLowerCase() !== l.EntityTypeMechanismType.DynamicList && (null === (n4 = this.listPickerMappings) || void 0 === n4 ? void 0 : n4[t4.name]) && delete this.listPickerMappings[t4.name], r.getVariableForNluEntity(this.parentFlow, t4.name, t4.type, a2, this.isMultiSelectSlot(t4.name)); + const s3 = t4.name; + i3.push(s3); + const u2 = null === (o2 = e3.intents) || void 0 === o2 ? void 0 : o2.filter((e4) => { + var i4; + return (null === (i4 = e4.entityNameReferences) || void 0 === i4 ? void 0 : i4.indexOf(t4.name)) > -1; + }).map((e4) => e4.name); + this.slotToReferencingIntentsMapping[t4.name] = u2 || [], this.slotToEntityTypesMapping[s3] = t4.type, this._addSlotToSlotMappings(s3); + }), o.default.each(e3.intents, (e4) => { + var t4; + null === (t4 = e4.entityTypeBindings) || void 0 === t4 || t4.forEach((t5) => { + r.getVariableForNluEntity(this.parentFlow, t5.entityName, t5.entityType, void 0, this.isMultiSelectSlot(t5.entityName)); + const n4 = t5.entityName; + i3.push(n4); + const a2 = this.slotToReferencingIntentsMapping[n4]; + o.default.isArray(a2) ? a2.push(e4.name) : this.slotToReferencingIntentsMapping[n4] = [e4.name], this.slotToEntityTypesMapping[n4] = t5.entityType, this._addSlotToSlotMappings(n4); + }), this.intentSettingsMap[e4.name] || (this.intentSettingsMap[e4.name] = new f.default(e4.name, this.parentFlow, this), this.intentSettingsMap[e4.name].createNewConfirmationExpression()); + }), o.default.keys(this.slotToSlotVariablesMapping).forEach((e4) => { + if (!i3.includes(e4)) { + 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(b.variable.slotVariableNotUsedButInPublishedSignature, true)) : e5.doNotCleanupIfOrphanedSlot || (this.parentFlow.variableGroup.removeVariable(e5), this.removeSlotByVariableId(t4))); + } + } + }); + const n3 = this.parentFlow.variableGroup.getSlotVariables(), s2 = o.default.values(this.slotToSlotVariablesMapping); + n3.forEach((e4) => { + s2.includes(e4.id) || e4.isInPublishedFlowSchema || this.parentFlow.variableGroup.removeVariable(e4); + }); + for (const e4 in this.slotToSlotVariablesMapping) { + const t4 = this.slotToSlotVariablesMapping[e4]; + this.parentFlow.variableGroup.getExpandedVariable(t4) || delete this.slotToSlotVariablesMapping[e4]; + } + this.parentFlow.initializeDesignTimeCalled && a.emitter.emit(a.nluIntentConfigurationUpdated, this.parentFlow); + } + validate(e3) { + super.validate(e3), e3.isDeep && !this.parentFlow.isReadOnly && this.updateIntents(this.parentFlow.botFlowSettings.nluDomain), o.default.each(this.intentSettingsMap, (t3) => t3.validate(e3)), this.dynamicSlotTypesMap.validate(e3), this.dynamicTimeslotTypeList.validate(e3), o.default.isEmpty(this.slotsToGrammarsMapping) || o.default.each(this.slotsToGrammarsMapping, (t3, i3) => { + var n3, o2, r2, a2; + if ((null === (n3 = t3.id) || void 0 === n3 ? void 0 : n3.length) && !(null === (o2 = t3.sttEngine) || void 0 === o2 ? void 0 : o2.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 === (r2 = t3.id) || void 0 === r2 ? void 0 : r2.length) && (null === (a2 = t3.sttEngine) || void 0 === a2 ? void 0 : a2.id) && !N.default.isSttIdBotTranscriptionConnectorType(t3.sttEngine.id)) { + const t4 = (0, v.sprintf)(b.errors.grammarOnSlotError, i3); + e3.addError(this.parentFlow, t4); + } + }); + } + updateSlotTypeExpressionContainerItems(e3, t3, i3) { + const n3 = {}, r2 = o.default.filter(null == i3 ? void 0 : i3.entityTypes, (t4) => t4.mechanism.type.toLowerCase() === e3); + if (o.default.each(r2, (e4) => { + (null == e4 ? void 0 : e4.name) && (n3[e4.name] = true, t3.getItem(e4.name) || t3.add(e4, e4.name)); + }), !i3) return; + let a2 = false; + for (let e4 = t3.items.length - 1; e4 >= 0; e4--) { + const i4 = t3.items[e4]; + n3[i4.name] || (t3.removeChild(i4), a2 = true); + } + return a2; + } + _addSlotToSlotMappings(e3) { + if (this.slotSettingsMap[e3]) return; + const t3 = new S.default(e3, this.parentFlow, this); + this.slotSettingsMap[e3] = t3, this._model.slots[e3] = t3; + } + get slotsToGrammarsMapping() { + return this._model.mappings.slotsToGrammars; + } + get listPickerMappings() { + var e3, t3; + return null === (t3 = null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.mappings) || void 0 === t3 ? void 0 : t3.listPickerMappings; + } + get intentsToReusableTasksMapping() { + return this._model.mappings.intentsToReusableTasks; + } + get slotToSlotVariablesMapping() { + return this._model.mappings.slotToSlotVariables; + } + get slotToEntityTypesMapping() { + return this._model.mappings.slotToEntityTypes; + } + get slotToReferencingIntentsMapping() { + return this._model.mappings.slotToReferencingIntents; + } + } + t2.default = w; + }, 97891(e2, t2, i2) { + "use strict"; + var n2, o; + Object.defineProperty(t2, "__esModule", { value: true }), t2.navigatorAvailability = void 0, t2.hasNodeInformation = function(e3) { + var t3; + return null === (t3 = null == e3 ? void 0 : e3.info) || void 0 === t3 ? void 0 : t3.isNodeInformation; + }; + const r = i2(31635), a = i2(96618), s = r.__importDefault(i2(92140)), l = r.__importStar(i2(24032)), u = r.__importDefault(i2(90178)), c = r.__importStar(i2(12847)), d = r.__importStar(i2(62829)), p = i2(55909), _ = i2(33951), h = r.__importDefault(i2(4648)), m = i2(24383), g = "NodeInformation", f = l.getTopic("NodeInformation"); + t2.navigatorAvailability = { allowed: "allowed", disallowed: "disallowed", required: "required" }; + class T { + static create(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(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: i3 = false, canBeTreeNode: n3 = false, navigatorAvailability: o2 = t2.navigatorAvailability.allowed, helpTopic: r2, name: a2, actionClass: s2, modelClass: l2, termination: u2, terminationInfoForFlowTypes: c2, scriptingName: h2, supportsUtteranceHistoricalData: m2 = false, supportedSessionSources: f2, availabilityCallback: y, actionIsAlwaysSecure: S = false } = e3, A = "createActionInfo"; + _.ParameterValidator.expectFunction(l2, () => p.ParameterInfo.createFunctionParameter(g, A, "modelClass")); + const N = new T(_.ParameterValidator.expectActionType(l2.__type, () => p.ParameterInfo.createFunctionParameter(g, A, "modelClass.__type")), _.ParameterValidator.expectBool(i3, () => p.ParameterInfo.createFunctionParameter(g, A, "canBeInTask")), _.ParameterValidator.expectBool(n3, () => p.ParameterInfo.createFunctionParameter(g, A, "canBeTreeNode")), y); + return N.modelClass = l2, N.helpTopic = r2, N.name = _.ParameterValidator.expectString(a2, () => p.ParameterInfo.createFunctionParameter(g, A, "name")), N.needsServerInfo = true, N.scriptingName = h2, N.actionIsAlwaysSecure = S, N.navigatorAvailability = o2, e3.modelFormatSupport && (N.modelFormatSupport = e3.modelFormatSupport), N.setActionClass(_.ParameterValidator.expectFunction(s2, () => p.ParameterInfo.createFunctionParameter(g, A, "actionClass"))), u2 && (_.ParameterValidator.expectBool(u2.isTerminationInfo, () => p.ParameterInfo.createFunctionParameter(g, A, "termination")), N.setTermination(u2)), c2 && c2.forEach((e4) => N.setTerminationForFlowTypes(e4.flowTypes, e4.terminationInfo)), N.supportsUtteranceHistoricalData = _.ParameterValidator.expectBool(m2, () => p.ParameterInfo.createFunctionParameter(g, A, "supportsUtteranceHistoricalData"), true), N.supportedSessionSources = f2, d.registerAction(N), N; + } + constructor(e3, i3, r2, s2) { + this.navigatorAvailability = t2.navigatorAvailability.allowed, 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), o.set(this, a.flowTypes.flowTypesAll), this.availabilityCallback = s2, this.canBeInTask = i3 || false, this.canBeTreeNode = r2 || 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; + } + get categoryId() { + return this.actionCategory ? this.actionCategory.id : ""; + } + get deprecatedFlowTypes() { + return this._deprecatedFlowTypes; + } + set deprecatedFlowTypes(e3) { + this.needsServerInfo && this.traceTopic.error("needsServerInfo trumps deprecatedFlowTypes"); + } + get needsServerInfo() { + return r.__classPrivateFieldGet(this, n2, "f"); + } + set needsServerInfo(e3) { + r.__classPrivateFieldSet(this, n2, e3, "f"), r.__classPrivateFieldGet(this, n2, "f") && r.__classPrivateFieldGet(this, o, "f") !== a.flowTypes.flowTypesAll && this.traceTopic.error("needsServerInfo trumps supportedFlowTypes"), r.__classPrivateFieldSet(this, o, [], "f"); + } + get supportedFlowTypes() { + return r.__classPrivateFieldGet(this, o, "f"); + } + set supportedFlowTypes(e3) { + this.needsServerInfo && this.traceTopic.error("needsServerInfo trumps supportedFlowTypes"), r.__classPrivateFieldSet(this, o, e3, "f"); + } + getAvailability(e3, t3, i3) { + return i3 ? !!this.isAvailableForTaskMode(t3) && (!!this.isAvailableForNavigatorEnabledFlow(e3) && (a.flowTypes.flowTypeCommonModule === i3.type ? i3.destinationFlowTypes.concat(a.flowTypes.flowTypeCommonModule) : i3.destinationFlowTypes).every((i4) => !!this.isAvailableForFlowType(i4, true) && !!this.passesAvailabilityCallback(i4, e3, t3) && !this.isDeprecatedForFlowType(i4))) : (this.traceTopic.error("no flowViewModel passed in for getAvailability check"), false); + } + get id() { + return this.typeId; + } + get isNodeInformation() { + return true; + } + isAvailableForFlowType(e3, t3) { + return s.default.contains(this.supportedFlowTypes, e3); + } + isAvailableForFlow(e3) { + return e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)); + } + isAvailableForTaskMode(e3) { + return e3 && this.canBeInTask || !e3 && this.canBeTreeNode; + } + isAvailableForNavigatorEnabledFlow(e3) { + const i3 = (function(e4) { + return !!(null == e4 ? void 0 : e4.isNluFlow); + })(n3 = null == e3 ? void 0 : e3.parentFlow) && !!(null === (o2 = n3.botFlowSettings) || void 0 === o2 ? void 0 : o2.navigatorVirtualAgentEnabled); + var n3, o2; + return !(this.navigatorAvailability === t2.navigatorAvailability.disallowed && i3 || this.navigatorAvailability === t2.navigatorAvailability.required && !i3); + } + isAvailableForOrg() { + return !!a.flowTypes.flowTypesAll.find((e3) => this.isAvailableForFlowType(e3, true) && !this.isDeprecatedForFlowType(e3)); + } + isDeprecatedForFlowType(e3) { + return s.default.contains(this.deprecatedFlowTypes, e3); + } + loadServerData(e3) { + this.bootStrapInfoProcessed = true; + const t3 = []; + s.default.each(e3.flowTypes, (e4, i4) => { + s.default.contains(a.flowTypes.flowTypesAll, i4) && e4.isAvailable && t3.push(i4); + }), r.__classPrivateFieldSet(this, o, t3, "f"); + const i3 = []; + s.default.each(e3.flowTypesDeprecated, (e4, t4) => { + s.default.contains(a.flowTypes.flowTypesAll, t4) && e4.isAvailable && i3.push(t4); + }), 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] || m.terminatesNone; + } + setTerminationForFlowTypes(e3, t3) { + s.default.each(e3, (e4) => { + this._terminationInfos[e4] = t3; + }); + } + setTermination(e3) { + this.setTerminationForFlowTypes(a.flowTypes.flowTypesAll, e3); + } + setActionClass(e3) { + this.actionClass = e3; + } + setActionCategoryInfo(e3) { + e3 || this.traceTopic.error("Null actionCategoryInfo passed to setActionCategoryInfo."); + 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")), d.registerActionIntoCategory(this); + } + getWrappedYamlName(e3, t3) { + 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"; + i3 = "menu" + i3; + } else i3 = i3.charAt(0).toLowerCase() + i3.slice(1); + return i3; + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = T; + }, 90436(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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 = r.default.isUndefined(e3.complexGenericVariableInfo) ? (0, o.sprintf)(d.nuanceMix.externalDataTypeLabel, e3.simpleVariableInfo) : r.default.isUndefined(e3.complexGenericVariableInfo.name) ? (0, o.sprintf)(d.nuanceMix.externalComplexDataTypeLabel) : (0, o.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, c.default)(); + } + get className() { + return "NuanceMixBotViewModel"; + } + get applicationName() { + var e3; + return null === (e3 = this.model.application) || void 0 === e3 ? void 0 : e3.name; + } + get botId() { + return this.model.botId; + } + get botName() { + return this.model.botName; + } + get integrationId() { + return this.model.integrationId; + } + get name() { + return this.model.name; } - set warnOnEmpty(e3) { - this._warnOnEmpty = h.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "warnOnEmpty", "value")); + get errorSchema() { + return this._errorSchema; } - get warnOnEmpty() { - return this._warnOnEmpty; + get languages() { + return this._languages; } - setWarnOnEmpty(e3) { - return this.warnOnEmpty = e3, this; + get id() { + return this.model.id; } - setIsAddressField(e3) { - return this._isAddressField = e3, this; + get isNuanceMixBotViewModel() { + return true; } - get isAddressField() { - return this._isAddressField; + get label() { + return (0, o.sprintf)(a.default.itemParenValue, this.model.name, this.applicationName); } - get truncatesToMaxLength() { - return this._truncatesToMaxLength && o.default.isActualNumber(this.maxLength); + get botVariables() { + return this._botVariables; } - set truncatesToMaxLength(e3) { - this._truncatesToMaxLength = h.ParameterValidator.expectBool(e3, () => p.ParameterInfo.createPropertySet(this.className, "runtimeTruncatesToMaxLength", "value")); + get audioChannels() { + return r.default.filter(this.channels, (e3) => e3.isVoiceChannel); } - setTruncatesToMaxLength(e3) { - return this.truncatesToMaxLength = e3, this; + get textChannels() { + return r.default.filter(this.channels, (e3) => e3.isTextChannel); } - get patternString() { - return this._patternString; + get model() { + return this._model; } - setLiteralPattern(e3, t3) { - let i3; - this._patternString = h.ParameterValidator.expectString(e3, () => p.ParameterInfo.createPropertySet(this.className, "setLiteralPattern", "patternString")); - try { - i3 = new RegExp(this._patternString); - } catch (e4) { - return s.error(`StringBasedFacets.setLiteralPattern: invalid regular expression pattern: ${this._patternString}`), this._patternString = void 0, this._literalPatternRegexp = void 0, this._literalPatternMismatchMessage = void 0, this; + set model(e3) { + if (this._model = e3, this.intents = [], this.channels = [], this._botVariables = [], this._languages = [], this._model.variables) { + const e4 = {}; + r.default.each(this._model.variables, (t3) => { + const i3 = r.default.clone(t3); + i3.type = "string", i3.staticMetaData = h(t3), i3.additionalInfoSection = _(t3), e4[i3.name] = i3; + }), this._botVariables = p.createSchemaPropertyList(e4); } - return this._literalPatternRegexp = i3, this._literalPatternMismatchMessage = h.ParameterValidator.expectString(t3, () => p.ParameterInfo.createPropertySet(this.className, "setLiteralPattern", "literalMismatchMessage")), this; + this._model.transferNodes && r.default.each(this._model.transferNodes, (e4) => { + const t3 = r.default.clone(e4); + t3.localizedLabel = (0, o.sprintf)(a.default.itemColonValue, e4.type, e4.name), t3.slots = {}, r.default.each(t3.requestVariables, (e5) => { + t3.slots[e5.name] = { description: e5.description, name: e5.name, staticMetaData: h(e5), additionalInfoSection: _(e5), type: "string" }; + }), this.intents.push(new l.default(t3)); + }), this._model.locales && r.default.each(this._model.locales, (e4) => { + this._languages.push(e4); + }), this._model.channels && r.default.each(this._model.channels, (e4) => { + this.channels.push(new u.default(e4)); + }); } } - 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() { - Object.defineProperties(this, { _interDigitTimeout: { writable: true }, _noEntryTimeout: { writable: true }, _numberOfDigitsMax: { writable: true }, _numberOfDigitsMin: { writable: true }, _prompts: { writable: true }, _resultData: { writable: true }, _terminatingCharacter: { writable: true }, _verificationType: { writable: true }, _verificationPrompts: { writable: true }, _includeTerminatingDtmfInResultData: { writable: true }, _acceptJustStar: { writable: true }, _acceptJustPound: { writable: true } }), this.verification = void 0, u.baseConstructor.apply(this, arguments); - } - r2.extend(u, o, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { - u._super.pasteReIdOrRename.apply(this, arguments), this.interDigitTimeout.pasteReIdOrRename(e3), this.noEntryTimeout.pasteReIdOrRename(e3), this.numberOfDigitsMax.pasteReIdOrRename(e3), this.numberOfDigitsMin.pasteReIdOrRename(e3), this.prompts.pasteReIdOrRename(e3), this.resultData.pasteReIdOrRename(e3), this.verificationPrompts.pasteResolveOldToNewValues(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - u._super.pasteResolveOldToNewValues.apply(this, arguments), this.interDigitTimeout.pasteResolveOldToNewValues(e3), this.noEntryTimeout.pasteResolveOldToNewValues(e3), this.numberOfDigitsMax.pasteResolveOldToNewValues(e3), this.numberOfDigitsMin.pasteResolveOldToNewValues(e3), this.prompts.pasteResolveOldToNewValues(e3), this.resultData.pasteResolveOldToNewValues(e3), this.verificationPrompts.pasteResolveOldToNewValues(e3); - } }, interDigitTimeout: { enumerable: true, get: function() { - return this._interDigitTimeout; - }, set: function(e3) { - this._interDigitTimeout = this.reviveItem(e3, s); - } }, noEntryTimeout: { enumerable: true, get: function() { - return this._noEntryTimeout; - }, set: function(e3) { - this._noEntryTimeout = this.reviveItem(e3, s); - } }, numberOfDigitsMax: { enumerable: true, get: function() { - return this._numberOfDigitsMax; - }, set: function(e3) { - this._numberOfDigitsMax = this.reviveItem(e3, s); - } }, numberOfDigitsMin: { enumerable: true, get: function() { - return this._numberOfDigitsMin; - }, set: function(e3) { - this._numberOfDigitsMin = this.reviveItem(e3, s); - } }, prompts: { enumerable: true, get: function() { - return this._prompts; - }, set: function(e3) { - this._prompts = this.reviveItem(e3, n2); - } }, resultData: { enumerable: true, get: function() { - return this._resultData; - }, set: function(e3) { - this._resultData = this.reviveItem(e3, s); - } }, terminatingCharacter: { enumerable: true, get: function() { - return this._terminatingCharacter; - }, set: function(e3) { - this._terminatingCharacter = this.reviveEnum(e3, a); - } }, verificationType: { enumerable: true, get: function() { - return this._verificationType; - }, set: function(e3) { - this._verificationType = this.reviveEnum(e3, l); - } }, verificationPrompts: { enumerable: true, get: function() { - return this._verificationPrompts; - }, set: function(e3) { - this._verificationPrompts = this.reviveItem(e3, n2); - } }, includeTerminatingDtmfInResultData: { enumerable: true, get: function() { - return this._includeTerminatingDtmfInResultData; - }, set: function(e3) { - this._includeTerminatingDtmfInResultData = this.reviveItem(e3, s); - } }, acceptJustStar: { enumerable: true, get: function() { - return this._acceptJustStar; - }, set: function(e3) { - this._acceptJustStar = this.reviveItem(e3, s); - } }, acceptJustPound: { enumerable: true, get: function() { - return this._acceptJustPound; - }, set: function(e3) { - this._acceptJustPound = this.reviveItem(e3, s); - } } }), e2.exports = u; - }, 70380: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(13240), o = i2(90807); - function a() { - Object.defineProperties(this, { _inputs: { writable: true }, _outputs: { writable: true } }), this.taskReference = void 0, this.taskName = void 0, a.baseConstructor.apply(this, arguments); - } - r2.extend(a, "BaseTaskReferenceActionModel"), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments); - const t3 = this.pasteResolveReferenceAndName(e3, "task", this.taskReference, this.taskName); - if (this.taskReference = t3.reference, this.taskName = t3.name, this.inputs) for (let t4 = 0; t4 < this.inputs.length; t4++) this.inputs[t4].pasteReIdOrRename(e3); - if (this.outputs) for (let t4 = 0; t4 < this.outputs.length; t4++) this.outputs[t4].pasteReIdOrRename(e3); - } }, _removeUnmatchedDataPairsByName: { value: function(e3, t3) { - if (n2.isArray(e3) && n2.isArray(t3)) for (let i3 = e3.length - 1; i3 >= 0; i3--) { - if (!e3[i3].name) continue; - const r3 = e3[i3].name.toLowerCase(); - n2.find(t3, (e4) => { - if (e4.name) return e4.name.toLowerCase() === r3; - }) || e3.splice(i3, 1); - } - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments); - const t3 = this.pasteResolveReferenceAndName(e3, "task", this.taskReference, this.taskName); - if (this.taskReference = t3.reference, this.taskName = t3.name, this.inputs) for (let t4 = 0; t4 < this.inputs.length; t4++) this.inputs[t4].pasteResolveOldToNewValues(e3); - if (this.outputs) for (let t4 = 0; t4 < this.outputs.length; t4++) this.outputs[t4].pasteResolveOldToNewValues(e3); - const i3 = e3.pasteContext.destFlowViewModel.getTaskById(this.taskReference); - i3 && (this.inputs && this._removeUnmatchedDataPairsByName(this.inputs, i3.getInputVariables()), this.outputs && this._removeUnmatchedDataPairsByName(this.outputs, i3.getOutputVariables())); - } }, inputs: { enumerable: true, get: function() { - return this._inputs; - }, set: function(e3) { - this._inputs = this.reviveArray(e3, o); - } }, outputs: { enumerable: true, get: function() { - return this._outputs; - }, set: function(e3) { - this._outputs = this.reviveArray(e3, o); - } } }), e2.exports = a; - }, 70425: (e2) => { - e2.exports = { MISSING_DIVISION_PERMISSION: "You do not have the permission '%(permission)s' required to perform this action.", BAD_CREDENTIALS: "You are not logged in", BULK_MOVE_NO_PERMISSION_DIVISION: "Cannot move objects into the division '%(division)', the user does not have permission", BULK_MOVE_UNABLE_TO_MOVE: "Failed to move all requested objects to division '%(division)'", FLOW_DELETE_FAIL: "Failed to delete the saved version", FLOW_EDGE_PUBLISH_FAIL: "The flow failed to publish", FLOW_IS_LOCKED: "The flow is locked by a different user.", FLOW_NO_CONFIG_AVAILABLE: "Flow has no saved or checked-in configuration", FLOW_UNABLE_TO_LOCK: "Unable to lock flow.", FLOW_SAVE_FAIL: "Failed to save the flow", INVALID_FLOW_PUBLISH: "There was no valid flow version to publish", NO_PUBLISHED_FLOW_AVAILABLE: "Unable to publish IVR without a published flow", NOT_FOUND: "Not found", ARCHITECT_AUTH_TOKEN_MISSING: "This operation cannot be performed without an authorization token.", ARCHITECT_BATCH_DELETE_FAILED: "At least one object in the batch could not be deleted.", ARCHITECT_BATCH_TOO_LARGE: "Flow batch exceeds the maximum size of %(size)s items.", ARCHITECT_BOT_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a bot flow.", ARCHITECT_COMMON_MODULE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a common module flow.", ARCHITECT_DATABASE_THROUGHPUT_EXCEEDED: "Database too busy. Please try again.", ARCHITECT_DEBUG_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a debug flow.", ARCHITECT_DEFAULT_FLOW_CANNOT_DEACTIVATE: "Cannot deactivate default flow '%(name)s'.", ARCHITECT_DEFAULT_FLOW_CANNOT_DELETE: "Cannot delete the default in-queue flow.", ARCHITECT_DEFAULT_VOICEMAIL_FLOW_CANNOT_DEACTIVATE: "Cannot deactivate the default voicemail flow.", ARCHITECT_DEFAULT_VOICEMAIL_FLOW_CANNOT_DELETE: "Cannot delete the default voicemail flow.", ARCHITECT_DELETE_NOT_SUPPORTED: "Delete is not supported for '%(object)'.", ARCHITECT_DEPENDENCIES_BUILD_IN_PROGRESS: "A build of dependency information is already in progress.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE: "'%(name)s' cannot be deleted because other objects depend on it.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_EMAIL_ROUTE: "'%(name)s' cannot be deleted because it is in use by one or more email routes.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_FLOW: "'%(name)s' cannot be deleted because it is in use by one or more flows.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_IVR_CONFIGURATION: "'%(name)s' cannot be deleted because it is in use by one or more IVR configurations.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_QUEUE: "'%(name)s' cannot be deleted because it is in use by one or more queues.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_RECORDING_POLICY: "'%(name)s' cannot be deleted because it is in use by one or more recording quality.", ARCHITECT_DEPENDENCY_INVALID_FILTER: "Invalid filter '%(filter)s' was specified.", ARCHITECT_DEPENDENCY_OBJECT_INVALID_TYPE: "Invalid dependency type '%(type)s' was specified.", ARCHITECT_DEPENDENCY_OBJECT_NAME_NOT_SPECIFIED: "A name was not specified for the dependency object search.", ARCHITECT_DEPENDENCY_OBJECT_NOT_FOUND: "Could not find the dependency object for the specified ID and version.", ARCHITECT_DEPENDENCY_OBJECT_NOT_VERSIONED: "The dependency object type '%(type)' is not a versioned dependency type.", ARCHITECT_DEPENDENCY_OBJECT_VERSION_NOT_SPECIFIED: "A version was not specified for the dependency object.", ARCHITECT_DEPENDENCY_OBJECT_TYPE_NOT_SPECIFIED: "An object type was not specified.", ARCHITECT_DEPENDENCY_INVALID_TYPE: "An invalid dependency type was specified.", ARCHITECT_DEPENDENCY_UNAVAILABLE_TYPE: "Unavailable dependency type '%(type)' was specified.", ARCHITECT_DIALOG_ENGINE_BOT_FETCH_FAILED: "Failed to fetch the Dialog Engine bot '%(botId)'", ARCHITECT_DIALOG_ENGINE_BOT_NOT_FOUND: "Could not find the Dialog Engine bot '%(botId)'", ARCHITECT_DIALOG_ENGINE_BOT_VERSION_FETCH_FAILED: "Failed to fetch the Dialog Engine bot '%(botId)' version '%(botVersionId)'", ARCHITECT_DIALOG_ENGINE_BOT_VERSIONS_FETCH_FAILED: "Failed to fetch the versions for the Dialog Engine bot '%(botId)'", ARCHITECT_DIALOG_ENGINE_BOT_VERSION_NOT_FOUND: "Could not find the Dialog Engine bot '%(botId)' version '%(botVersionId)'", ARCHITECT_DIGITAL_BOT_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a digital bot flow.", ARCHITECT_DIVISION_INVALID: "The provided division ID '%(division)' is invalid.", ARCHITECT_DIVISION_REGISTRATION_FAILED: "Failed to register the object type '%(type)' to the division '%(division)'", ARCHITECT_DIVISION_VERIFY_FAILED: "Failed to validate the provided division ID.", ARCHITECT_EXTERNAL_FLOW_CHANGE_NOTIFICATION_ERROR: "A backend service error occurred while sending out a change notification for flow '%(name)s'.", ARCHITECT_EXTERNAL_ORG_QUERY_ERROR: "Failed querying backend service for organization details.", ARCHITECT_FLOW_CANNOT_CHECKIN_INVALID_DEPENDENCY: "Flow '%(name)s' cannot be checked in because an unavailable dependency type '%(type)s' was included in the list of dependencies", ARCHITECT_FLOW_CANNOT_CHECKIN_NONSECURE_TTS_ENGINE: "Secure flow '%(name)s' cannot be checked in because the non-secure text to speech engine '%(engine)s' was included in the list of dependencies", ARCHITECT_FLOW_CANNOT_CREATE_INVALID_LANGUAGE_PROVIDED: "Flow '%(name)' cannot be created because an invalid supported language was specified", ARCHITECT_FLOW_CANNOT_CREATE_NOT_USER_CREATABLE: "Flow '%(name)' cannot be created because the flow type '%(type)' is not user creatable", ARCHITECT_FLOW_CANNOT_CREATE_TYPE_MAX_EXCEEDED: "Flow '%(name)' of type '%(type)' cannot be created because the maximum number of flows allowed for that type is %(count).", ARCHITECT_FLOW_CANNOT_CREATE_UNSUPPORTED_LANGUAGE_PROVIDED: "Flow '%(name)' cannot be created because an unsupported language was specified", ARCHITECT_FLOW_CANNOT_CREATE_WORKTYPE_USED_IN_EXISTING_FLOW: "Flow '%(name)s' cannot be created because another Workitem flow already references the same Worktype (ID: '%(worktypeId)s'). You may only have one Workitem flow per Worktype.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_EMERGENCY_GROUPS: "Flow '%(name)s' cannot be deleted due to being used by one or more emergency groups.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_FLOWS: "Flow '%(name)s' cannot be deleted due to being used by one or more flows", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_COMPOSER_SCRIPTS: "Flow '%(name)s' cannot be deleted due to being used by one or more Composer script(s).", ARCHITECT_FLOW_EXCEEDED_MAX_AMOUNT: "The flow cannot be created because its creation would exceed the maximum number of flows allowed for this organization which is %(count).", ARCHITECT_EXTERNAL_PUBLISH_ERROR: "A backend service error occurred while publishing flow '%(name)s'.", ARCHITECT_FEATURE_TOGGLE_UNAVAILABLE: "The feature toggle '%(featureToggle)' is not enabled in this organization.", ARCHITECT_FEATURE_UNAVAILABLE: "The '%(feature)' feature is not enabled in this organization.", ARCHITECT_FLOW_ALREADY_EXISTS: "An flow of %(type)s named '%(name)s' already exists.", ARCHITECT_FLOW_ASSOCIATE_WORKTYPE_FAILED: "Failed to associate the flow '%(name)s' with the Worktype (ID: '%(worktypeId)s').", ARCHITECT_FLOW_CANNOT_ACTIVATE_MISSING_DEPENDENCIES: "Flow '%(name)s' version '%(version)s' cannot be activated due to missing dependencies (count: '%(count)s').", ARCHITECT_FLOW_CANNOT_CHECKIN_MISSING_CONFIG: "Flow '%(name)s' cannot be checked in because there is no saved configuration.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_BY_MESSAGE_ADDRESSES: "Flow '%(name)s' cannot be deactivated due to being used by '%(count)s' message address(es).", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_COMPOSER_SCRIPTS: "Flow '%(name)s' cannot be deactivated due to being used by one or more Composer script(s).", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_EMAIL_ROUTES: "Flow '%(name)s' cannot be deactivated due to being used by one or more email routes.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_EMERGENCY_GROUPS: "Flow '%(name)s' cannot be deactivated due to being used by one or more emergency groups.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_IVR_CONFIGS: "Flow '%(name)s' cannot be deactivated due to being used by one or more IVR configurations.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_PE_ACTION_MAPS: "Flow '%(name)s' cannot be deactivated due to being used by '%(count)s' predictive engagement action map(s).", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_QUEUES: "Flow '%(name)s' cannot be deactivated due to being used by one or more queues.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_RECORDING_POLICIES: "Flow '%(name)s' cannot be deactivated due to being used by one or more recording quality.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_WIDGETS: "Flow '%(name)s' cannot be deactivated due to being used by %(count)s widget(s).", ARCHITECT_FLOW_CANNOT_DEBUG: "Cannot enable debug for flow '%(name)s' due to missing publish data or debug settings.", ARCHITECT_FLOW_CANNOT_DEBUG_COMMON_MODULE_VERSION: "Cannot enable debug on the specified version. Only the current checked in version can be enabled for debug.", ARCHITECT_FLOW_CANNOT_DEBUG_INQUEUECALL: "Cannot enable debug on in-queue call flows.", ARCHITECT_FLOW_CANNOT_DEBUG_UNSUPPORTED_LANGUAGE: "Cannot enable debug for flow '%(name)s' because one or more of the languages specified in the flow are not supported for debugging.", ARCHITECT_FLOW_CANNOT_DEBUG_UNSUPPORTED_TTS_LANGUAGE: "Cannot enable debug for flow '%(name)s' because one or more of the languages specified in the flow are not supported for text-to-speech.", ARCHITECT_FLOW_CANNOT_DELETE_USED_BY_MESSAGE_ADDRESSES: "Flow '%(name)s' cannot be deleted due to being used by %(count)s message address(es).", ARCHITECT_FLOW_CANNOT_DELETE_CLIENT_DOES_NOT_HAVE_LOCK: "Flow '%(name)s' cannot be deleted because it is locked by client '%(client)s'.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_EMAIL_ROUTES: "Flow '%(name)s' cannot be deleted due to being used by one or more email routes.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_IVR_CONFIGS: "Flow '%(name)s' cannot be deleted due to being used by one or more IVR configurations.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_PE_ACTION_MAPS: "Flow '%(name)s' cannot be deleted due to being used by %(count)s predictive engagement action map(s).", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_QUEUES: "Flow '%(name)s' cannot be deleted due to being used by one or more queues.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_RECORDING_POLICIES: "Flow '%(name)s' cannot be deleted due to being used by one or more recording quality.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_WIDGETS: "Flow '%(name)s' cannot be deleted due to being used by %(count)s widget(s).", ARCHITECT_FLOW_CANNOT_DELETE_USER_DOES_NOT_HAVE_LOCK: "Flow '%(name)s' cannot be deleted because it is locked by user '%(user)s'.", ARCHITECT_FLOW_CANNOT_PUBLISH_DEFAULT: "Cannot publish default version of flow '%(name)s'.", ARCHITECT_FLOW_CANNOT_PUBLISH_DIALOGFLOW_CX_PROFILE_GEN_FAILED: "Flow '%(name)' version '%(version)' cannot be published due to a failure to generate associated dialogflow CX conversation profiles", ARCHITECT_FLOW_CANNOT_PUBLISH_NLU_VERSION_TRAINING_FAILED: "Publish failed. The Natural Language Understanding configuration in this bot is taking longer to finish processing than is allowed for a flow publish operation. Please try again.", ARCHITECT_FLOW_CANNOT_PUBLISH_NLU_VERSION_UNTRAINED: "Publish failed. The Natural Language Understanding configuration in this bot was not successfully processed. Please try again.", ARCHITECT_FLOW_CANNOT_PUBLISH_MISSING_DEPENDENCIES: "Flow '%(name)s' version '%(version)s' cannot be published due to missing dependencies (count: '%(count)s').", ARCHITECT_FLOW_CANNOT_VALIDATE_INVALID_DEPENDENCY_TYPE: "Cannot validate flow because an invalid dependency type '%(type)' was included in the list of dependencies", ARCHITECT_FLOW_CANNOT_VALIDATE_INVALID_TYPE: "Cannot validate flow because it doesn't exist and the type specified is invalid.", ARCHITECT_FLOW_CANNOT_VALIDATE_MISSING_TYPE: "Cannot validate flow because it doesn't exist and the type was not specified.", ARCHITECT_FLOW_DATA_INVALID_FORMAT: "Flow '%(name)s' version '%(version)s' data content is in an invalid format.", ARCHITECT_FLOW_DATA_MISSING: "Flow '%(name)s' data content is missing.", ARCHITECT_FLOW_DEBUG_INVALID_VERSION: "Invalid version number '%(version)s' was specified for flow debug.", ARCHITECT_FLOW_DELETED: "Flow '%(name)s' has been deleted.", ARCHITECT_FLOW_DISSOCIATE_WORKTYPE_FAILED: "Failed to dissociate the flow '%(name)s' with the Worktype (ID: '%(worktypeId)s').", ARCHITECT_FLOW_FAILED_NLU_INFO_FETCH: "Failed to fetch the NLU domain information for flow '%(name)' version '%(version)'", ARCHITECT_FLOW_INVALID_ID: "The flow ID specified '%(id)' is invalid", ARCHITECT_FLOW_INVALID_TYPE: "Flow '%(name)s' has invalid type '%(type)s'.", ARCHITECT_FLOW_INVALID_VAR_PARAM_TYPE: "The flow has an %(direction) variable, '%(varName)', with an invalid/unsupported type: %(varType)", ARCHITECT_FLOW_LOCKED_BY_CLIENT: "Flow '%(name)s' is locked by client %(client)s.", ARCHITECT_FLOW_LOCKED_BY_USER: "Flow '%(name)s' is locked by user %(user)s.", ARCHITECT_FLOW_MANIFEST_INVALID_FORMAT: "Flow manifest is in an invalid format.", ARCHITECT_FLOW_MILESTONE_ALREADY_EXISTS: "Flow milestone '%(name)' already exists.", ARCHITECT_FLOW_MILESTONE_EXCEEDED_MAX_AMOUNT: "Could not create flow milestone since max of %(max) has been reached.", ARCHITECT_FLOW_MILESTONE_NOT_FOUND: "Could not find flow milestone with specified ID.", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED: "Failed to validate flow milestone with name '%(name)'", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED_INVALID_NAME_SPACES: "Failed to validate flow milestone due to invalid name '%(name)' that contained leading or trailing whitespaces.", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate flow milestone due to invalid name '%(name)'. Names must contain at least one alphanumeric character.", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED_MISSING_NAME: "Failed to validate flow milestone due to missing name.", ARCHITECT_FLOW_NOT_CHECKED_IN: "Cannot publish flow '%(name)s'. It must be checked in first.", ARCHITECT_FLOW_NOT_FOUND: "Could not find flow with specified ID.", ARCHITECT_FLOW_NOT_LOCKED: "Flow '%(name)s' is not locked by requesting user.", ARCHITECT_FLOW_NOT_LOCKED_BY_CLIENT: "Flow '%(name)s' is not locked by client '%(client)s'.", ARCHITECT_FLOW_NOT_LOCKED_BY_USER: "Flow '%(name)s' is not locked by user '%(user)s'.", ARCHITECT_FLOW_NOT_PUBLISHABLE: "Flow '%(name)' version '%(version)' cannot be published.", ARCHITECT_FLOW_OUTCOME_ALREADY_EXISTS: "Flow outcome '%(name)' already exists.", ARCHITECT_FLOW_OUTCOME_CREATE_FAILED: "Flow Outcome failed to be created.", ARCHITECT_FLOW_OUTCOME_NOT_FOUND: "Could not find flow outcome with specified ID.", ARCHITECT_FLOW_OUTCOME_EXCEEDED_MAX_AMOUNT: "Could not create flow outcome since max of %(max) has been reached.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED: "Failed to validate flow outcome with name '%(name)'", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_INVALID_NAME: "Failed to validate flow outcome due to the invalid name '%(name)' that contained leading or trailing whitespaces.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate flow outcome due to invalid name '%(name)'. Names must contain at least one alphanumeric character.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_MISSING_NAME: "Failed to validate flow outcome due to missing name.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_MISSING_DESCRIPTION: "Failed to validate flow outcome with name '%(name)' due to missing description.", ARCHITECT_FLOW_SAVE_FAILED: "Could not save flow data to permanent storage.", ARCHITECT_FLOW_SERIALIZE_FAILED: "Could not serialize flow data.", ARCHITECT_FLOWS_QUERY_FAILED: "The query to retrieve a list of flows failed.", ARCHITECT_FLOWS_QUERY_RESULTS_NOT_FOUND: "Could not find the flows query results", ARCHITECT_FLOW_TEMP_FILE_OPEN_FAILED: "Could not open temp file for flow data.", ARCHITECT_FLOW_TEMP_FILE_SAVE_FAILED: "Could not save flow data to temp file.", ARCHITECT_FLOW_VALIDATE_FAILED: "Failed to validate flow '%(name)s'.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_CONTAINS_DEBUG: "Failed to validate flow due to invalid name '%(name)s'. Flow names must not end with '-debug'.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_CONTAINS_SLASH: "Failed to validate flow due to invalid name '%(name)s'. Flow names must not contain forward slashes.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate flow due to invalid name '%(name)s'. Names must contain at least one alphanumeric character.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_TOO_LONG: "Failed to validate flow due to invalid name '%(name)s'. Names must contain no more than 200 characters.", ARCHITECT_FLOW_VALIDATE_FAILED_MISSING_NAME: "Failed to validate flow due to missing name.", ARCHITECT_FLOW_VALIDATE_FAILED_MISSING_TYPE: "Failed to validate flow with name '%(name)s' due to missing type.", ARCHITECT_FLOW_VALIDATE_FAILED_NAME: "Failed to validate flow due to missing or invalid name", ARCHITECT_FLOW_VARIABLE_MISSING: "Flow '%(name)s' cannot be published because variable '%(variable)s' is missing.", ARCHITECT_FLOW_VERSION_MISSING: "Flow '%(name)s' configuration version information is missing.", ARCHITECT_FLOW_VERSION_NOT_PUBLISHED: "Flow '%(name)s' version '%(version)s' has not been published.", ARCHITECT_GDPR_DELETE_FAILED: "The GDPR PII delete/redact operation failed.", ARCHITECT_GDPR_EXPORT_FAILED: "The GDPR PII export operation failed.", ARCHITECT_GDPR_OPERATION_FAILED: "The GDPR operation failed.", ARCHITECT_FLOW_VERSION_VALIDATE_FAILED_CONFIGURATION_VERSION: "Flow version object configuration version is missing or invalid.", ARCHITECT_GENERATED_FLOW_NOT_FOUND: "Could not find generated content for flow '%(name)' version '%(version)' with language '%(language)'.", ARCHITECT_GRAMMAR_ALREADY_EXISTS: "A Grammar with the name '%(name)s' already exists.", ARCHITECT_GRAMMAR_CREATE_FAILED: "Failed to create Grammar", ARCHITECT_GRAMMAR_DELETE_FAILED: "Failed to delete Grammar", ARCHITECT_GRAMMAR_EXCEEDED_MAX_AMOUNT: "Could not create Grammar since maximum number of grammars for this organization (%(max)s) has been reached.", ARCHITECT_GRAMMAR_FETCH_FAILED: "Failed to fetch Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_ALREADY_EXISTS: "The language '%(language)s' already exists for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_CREATE_FAILED: "Failed to create language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_DELETE_FAILED: "Failed to delete language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_FETCH_FAILED: "Failed to fetch language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_NOT_FOUND: "Could not find language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGES_DELETE_FAILED: "Failed to delete all of the languages for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGES_FETCH_FAILED: "Failed to fetch languages for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_VALIDATE_FAILED_NO_LANGUAGE: "Failed to validate Grammar language, as no language was provided", ARCHITECT_GRAMMAR_NOT_FOUND: "Could not find Grammar with specified ID.", ARCHITECT_GRAMMAR_VALIDATE_FAILED: "Failed to validate Grammar with name '%(name)s'", ARCHITECT_GRAMMAR_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate Grammar due to invalid name '%(name)s'. Names must contain at least one alphanumeric character.", ARCHITECT_GRAMMAR_VALIDATE_FAILED_INVALID_NAME_SPACES: "Failed to validate Grammar due to invalid name '%(name)s'. Names must not contain leading or trailing whitespaces.", ARCHITECT_GRAMMAR_VALIDATE_FAILED_INVALID_NAME_TOO_LONG: "Failed to validate Grammar due to invalid name '%(name)s'. Names must contain no more than 200 characters.", ARCHITECT_GRAMMAR_VALIDATE_FAILED_MISSING_NAME: "Failed to validate Grammar due to missing name.", ARCHITECT_HISTORY_RESULTS_NOT_FOUND: "Could not find the specified history results.", ARCHITECT_INBOUND_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound call flow.", ARCHITECT_INBOUND_CHAT_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound chat flow.", ARCHITECT_INBOUND_EMAIL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound email flow.", ARCHITECT_INBOUND_SHORT_MESSAGE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound short message flow.", ARCHITECT_INQUEUE_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inqueue call flow.", ARCHITECT_INQUEUE_EMAIL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inqueue email flow.", ARCHITECT_INQUEUE_SHORT_MESSAGE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inqueue message flow.", ARCHITECT_INVALID_QUERY_PARAMETER: "Query parameter '%(param)' has invalid value '%(value)'.", ARCHITECT_NO_PERMISSION: "The requested operation cannot be completed because the user does not have permission.", ARCHITECT_OBJECT_UPDATE_FAILED: "The database update for the object failed.", ARCHITECT_OBJECT_VALIDATE_FAILED: "Failed to validate object.", ARCHITECT_OBJECT_VALIDATE_FAILED_VALUE: "Failed to validate object due to invalid field value '%(value)s'.", ARCHITECT_OPERATION_ALREADY_IN_PROGRESS: "An operation is already in progress.", ARCHITECT_ORG_INVALID_ID: "The org ID specified '%(id)s' is invalid", ARCHITECT_OUTBOUND_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an outbound call flow.", ARCHITECT_PENDING_OPERATION: "Cannot perform requested operation since object already has a pending operation.", ARCHITECT_PROMPT_ALREADY_EXISTS: "A prompt called '%(name)s' already exists.", ARCHITECT_PROMPT_CANNOT_DELETE_USED_IN_QUEUES: "Prompt '%(name)s' cannot be deleted due to being used by %(count)s queue configuration(s).", ARCHITECT_PROMPT_HAS_RESOURCES: "Cannot delete prompt '%(name)s' since it contains prompt resources.", ARCHITECT_PROMPT_NOT_FOUND: "Could not find prompt with specified ID.", ARCHITECT_PROMPT_RESOURCE_NOT_FOUND: "Could not find resource with language %(language)s in specified prompt.", ARCHITECT_PROMPT_RESOURCE_ALREADY_EXISTS: "Prompt '%(name)s' already has a resource with language %(language)s.", ARCHITECT_PROMPT_RESOURCE_AUDIO_CANNOT_DELETE: "Could not delete the audio for the prompt resource for %(language)s.", ARCHITECT_PROMPT_RESOURCE_CANNOT_DELETE: "Could not delete the prompt resource for the language %(language)s.", ARCHITECT_PROMPT_RESOURCE_INVALID_TAGS: "The specified tags are in an invalid format.", ARCHITECT_PROMPT_RESOURCE_TAGS_ALREADY_EXIST: "The specified tags already exist in another prompt resource.", ARCHITECT_PROMPT_RESOURCE_VALIDATE_FAILED: "Failed to validate prompt resource with language %(language)s.", ARCHITECT_PROMPT_RESOURCE_VALIDATE_FAILED_LANGUAGE: "Failed to validate prompt resource due to missing or invalid language.", ARCHITECT_PROMPT_VALIDATE_FAILED: "Failed to validate prompt '%(name)s'.", ARCHITECT_PROMPT_VALIDATE_FAILED_INVALID_NAME: "Failed to validate prompt due to invalid name '%(name)s'. Prompt names can only contain letters numbers and the underscore and must start with a letter or number.", ARCHITECT_PROMPT_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate prompt due to invalid name '%(name)s'. Names must contain at least one alphanumeric character.", ARCHITECT_PROMPT_VALIDATE_FAILED_INVALID_NAME_TOO_LONG: "Failed to validate prompt due to invalid name '%(name)s'. Names must contain no more than 200 characters.", ARCHITECT_PROMPT_VALIDATE_FAILED_NAME: "Failed to validate prompt due to missing or invalid name.", ARCHITECT_PROMPT_VALIDATE_FAILED_MISSING_NAME: "Failed to validate prompt due to missing name.", ARCHITECT_PROPERTY_EXCEEDS_MAX_CHARACTER_LENGTH: "Property '%(property_name)' exceeds max character limit of %(limit)", ARCHITECT_QUERY_PARAMETER_MISSING: "Query parameter '%(param)s' is missing or empty.", ARCHITECT_REQUEST_HEADER_MISSING: "Request header '%(header)s' is missing or empty.", ARCHITECT_SECURE_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a secure call flow.", ARCHITECT_SECURE_CALL_FLOW_NOT_SUPPORTED: "Secure call flows are not supported by the current product levels. One of the following is required: %(products).", ARCHITECT_SURVEY_INVITE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a survey invite flow.", ARCHITECT_SPEECH_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a speech flow.", ARCHITECT_SYSTEM_FLOW_CANNOT_CREATE: "Users cannot create system flows.", ARCHITECT_SYSTEM_FLOW_NAME_OR_DESCRIPTION_ERROR: "System flow names and descriptions cannot be changed.", ARCHITECT_SYSTEM_PROMPT_NOT_FOUND: "Could not find system prompt with specified ID.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_CANNOT_CREATE_NON_DEFAULT: "Cannot create a non-default resource for the language '%(language)s' because a default resource for that language doesn't exist. A default must be created first.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_CANNOT_DELETE_DEFAULT: "Cannot delete the default resource for the language '%(language)s' because it will leave that language without a default resource.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_INVALID_LANGUAGE: "The specified language is not valid.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_OVERRIDE_CANNOT_DELETE: "Could not delete the system prompt override resource for the language '%(language).", ARCHITECT_SYSTEM_PROMPT_RESOURCE_LANG_MISSING: "A language was not specified in the request.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_NOT_FOUND: "Could not find resource with language %(language)s in system prompt '%(name)s'.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_OVERRIDE_ALREADY_EXISTS: "System prompt '%(name)s' already has an override for language %(language)s.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_OVERRIDE_NOT_FOUND: "Could not find resource override with language %(language)s in specified system prompt.", ARCHITECT_USER_IN_QUEUE_FLOWS_DISABLED: "User-created in-queue flows are currently disabled.", ARCHITECT_VOICE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a voice flow.", ARCHITECT_VOICEMAIL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a voicemail flow.", ARCHITECT_WORKFLOW_INVALID_OPERATION: "Cannot perform requested operation on a workflow.", ARCHITECT_WORKITEM_INVALID_OPERATION: "Cannot perform requested operation on a workitem flow.", ARCHITECT_WORKTYPE_INVALID_ID: "The worktype ID specified '%(id)s' is invalid", ARCHITECT_WORKTYPE_FETCH_FAILED: "Failed to fetch the worktype '%(worktypeId)s'", ARCHITECT_WORKTYPE_NOT_FOUND: "Could not find the worktype '%(worktypeId)s'.", ARCHITECT_EXTERNAL_CALL_FAILURE: "A call to another backend service failed.", ARCHITECT_EXTERNAL_USER_QUERY_ERROR: "Failed querying backend service for information on user '%(user)s'.", ARCHITECT_TOO_MANY_REQUESTS: "We\u2019re handling a lot of requests right now. Please try again later.", ARCHITECT_UNSPECIFIED_ERROR: "An unknown or unspecified error occurred.", ARCHITECT_UNSUPPORTED_DATA_FIELD: "The provided data field '%(field)' is not supported.", ARCHITECT_UNSUPPORTED_FEATURE: "This feature '%(feature)' is not supported.", ARCHITECT_UNSUPPORTED_QUERY_PARAMETER: "The query parameter '%(parameter)' is not supported.", MISSING_PERMISSIONS: "The requested operation cannot be completed because the user does not have permission.", GEOCODING_INVALID_ADDRESS: "Invalid Geocoding Address." }; - }, 70518: (e2, t2, i2) => { + t2.default = m; + }, 25154(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).__importDefault(i2(92140)), o = i2(55299); + class r extends o.BaseClass { constructor(e3) { - super(e3); + super(), this.id = e3.id, this.model = e3; } - get _globalTypeName() { - return "externalAppleInfo"; + get className() { + return "NuanceMixChannelViewModel"; } - get id() { + get isNuanceMixChannelViewModel() { + return true; } - get displayTypeName() { - return "ArchValueExternalAppleInfo"; + get displayString() { + return this.model.name; } - get isArchValueExternalAppleInfo() { - return true; + get isVoiceChannel() { + return n2.default.contains(this.model.modes, "TTS"); + } + get isTextChannel() { + return n2.default.contains(this.model.modes, "RICH_TEXT") || this.isVoiceChannel; } } - t2.default = r2; - }, 70570: (e2, t2, i2) => { + t2.default = r; + }, 64807(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(21569), a = n2.__importDefault(i2(45894)); - class s extends a.default { + const n2 = i2(55299); + class o extends n2.BaseClass { constructor(e3) { - super(e3, o.customerSegmentManager); + super(), this.model = e3; } - get _globalTypeName() { - return "customerSegment"; + get className() { + return "OAuthClientViewModel"; } - get displayTypeName() { - return "ArchValueCustomerSegment"; + get id() { + return this.model.id; } get name() { - return this._getAssignableProperty("name"); + return this.model.name; } - get isArchValueCustomerSegment() { + get scope() { + return this.model.scope; + } + } + t2.default = o; + }, 85660(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isPromptContainerViewModel = function(e3) { + return e3 instanceof C; + }; + const o = i2(31635), r = i2(79364), a = i2(79364), s = o.__importDefault(i2(92140)), l = o.__importStar(i2(63352)), u = i2(14394), c = o.__importStar(i2(24032)), d = o.__importStar(i2(36781)), p = o.__importStar(i2(15717)), _ = i2(18638), h = o.__importStar(i2(97920)), m = o.__importStar(i2(77147)), g = o.__importStar(i2(27854)), f = i2(82632), T = i2(52023), y = i2(80295), S = i2(80295), A = o.__importDefault(i2(89034)), N = o.__importDefault(i2(54061)), v = i2(27862), I = c.getTopic("prompt"); + class C extends A.default { + constructor(e3, t3) { + super(), this.topic = I, this._promptResources = /* @__PURE__ */ new Map(), this.promptResources$ = (0, r.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(e3) { + return false; + } + get canEdit() { + return this.isSystem ? _.permissionServiceHelper.canEditSystemPrompts() : _.permissionServiceHelper.canEditUserPrompts(); + } + get canView() { + return this.isSystem ? _.permissionServiceHelper.canViewSystemPrompts() : _.permissionServiceHelper.canViewUserPrompts(); + } + checkVersion(e3) { + e3.checkVersion(this.type.version); + } + get id() { + return this._model.id; + } + get isPromptContainer() { 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)); - }); + get expressionName() { + return this._promptPrefix + this.displayName; } - 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)); - }); + getResource(e3) { + return this._promptResources.get(e3.toLowerCase()); } - } - t2.default = s; - }, 70610: (e2, t2, i2) => { - const n2 = i2(47957), r2 = i2(17604).sprintf, o = {}, a = {}; - e2.exports = { addUnknownUser: function(e3, t3) { - const i3 = t3 ? a : o; - if (!i3[e3]) { - const o2 = Object.keys(i3).length + 1; - i3[e3] = r2(t3 ? n2.flow.unknownClientNumber : n2.flow.unknownUserNumber, o2); + getResourceOrLang(e3) { + return this.getResource(e3) || { language: e3 }; } - }, getUnknownUserName: function(e3, t3) { - return (t3 ? a : o)[e3] || ""; - } }; - }, 70630: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseConversationAttributeActionModel = void 0; - const n2 = i2(31635), r2 = i2(5894), o = i2(80295), a = n2.__importDefault(i2(7401)), s = i2(80295); - class l extends r2.BaseFailureOutputsActionModel { - constructor(e3) { - super(e3), (0, s.makeUnenumerable)(this, "_conversationCustomAttributeSchemaId"), (0, s.makeUnenumerable)(this, "_conversationCustomAttributeSchemaName"), (0, s.makeUnenumerable)(this, "_conversationId"); + get description() { + return this._model.description; } - get conversationCustomAttributeSchemaId() { - return this._conversationCustomAttributeSchemaId; + set description(e3) { + this._model.description = e3; } - set conversationCustomAttributeSchemaId(e3) { - this._conversationCustomAttributeSchemaId = e3; + get displayName() { + return this._model.displayName; } - get conversationCustomAttributeSchemaName() { - return this._conversationCustomAttributeSchemaName; + set displayName(e3) { + this._model.displayName = e3, o.__classPrivateFieldSet(this, n2, void 0, "f"); } - set conversationCustomAttributeSchemaName(e3) { - this._conversationCustomAttributeSchemaName = e3; + get label() { + return this.displayName || ""; } - get conversationId() { - return this._conversationId; + get lowerDisplayName() { + return o.__classPrivateFieldGet(this, n2, "f") || o.__classPrivateFieldSet(this, n2, this.displayName.toLowerCase(), "f"), o.__classPrivateFieldGet(this, n2, "f"); } - set conversationId(e3) { - this._conversationId = this.reviveItem(e3, a.default); + get name() { + return this.displayName; } - } - t2.BaseConversationAttributeActionModel = l, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "conversationCustomAttributeSchemaId", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "conversationCustomAttributeSchemaName", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "conversationId", null); - }, 70691: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { getExternalOrganizationActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _externalOrganizationId: { writable: true }, _externalOrganization: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.externalResult.pasteReIdOrRename(e3), this.externalId.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.externalResult.pasteResolveOldToNewValues(e3), this.externalId.pasteResolveOldToNewValues(e3); - } }, externalId: { enumerable: true, get: function() { - return this._externalOrganizationId; - }, set: function(e3) { - this._externalOrganizationId = this.reviveItem(e3, r2); - } }, externalResult: { enumerable: true, get: function() { - return this._externalOrganization; - }, set: function(e3) { - this._externalOrganization = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 70726: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BriefFlowListManager = void 0; - const n2 = i2(6109), r2 = i2(81801), o = i2(37345); - class a extends n2.FlowListManager { - constructor() { - super(...arguments), this._rawServerCache = {}, this.apiCallList = o.getFlowsDivisionViews, this.isBriefObjectManager = true, this.noApiCallSingle = true; + get text() { + return this.displayName; } - get requiredAuth() { - return r2.externalAuthorizations.authStrings.flowSearch; + languageUsagesForFlow(e3) { + let t3 = []; + return s.default.each(this.getUsagesForFlow(e3), (e4) => { + e4.referenceElement.languages && (t3 = s.default.union(t3, e4.referenceElement.languages)); + }), t3; } - } - t2.BriefFlowListManager = a; - }, 70728: (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); + 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}`)); + 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}`)); } - get _globalTypeName() { - return "assignedCustomerSegmentCollection"; + getTtsExceedsMaxLengthError(e3) { + if (!e3 || !e3.languages || !e3.parentFlow.definition.supportsAudio) return null; + for (let t3 = 0; t3 < e3.languages.length; t3++) { + const i3 = e3.languages[t3], n3 = this.getResource(i3.idExpressionText); + if (n3 && n3.isPromptResourceViewModel && !n3.getAudioLength() && s.default.isString(n3.ttsString)) { + const t4 = i3.getStringExceedsMaxRequestLengthError(e3.parentFlow, n3.ttsString, this.name); + if (t4) return t4; + } + } + return null; } - get displayTypeName() { - return "ArchVariableAssignedCustomerSegmentCollection"; + get allResources() { + return Array.from(this._promptResources.values()); } - get initialValue() { - return this._initialValue; + savePromptContainer(e3, t3) { + return h.updatePromptContainer(this.id, this.displayName, this.description).then(() => { + 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()); + }), Promise.all(e4); + } + }).then(() => { + this.promptContainerSaved$.next(); + }).catch((e4) => { + I.requestError(e4, "Failed to update the prompt container: " + this.id); + }); } - get isArchVariableAssignedCustomerSegmentCollection() { - return true; + createPromptResource(e3, t3, i3) { + const n3 = new T.PromiseDefer(); + return h.createPromptResource(this.id, e3, t3, i3, this.isSystem).then((e4) => { + 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); + }), n3.promise; } - } - t2.default = r2; - }, 70790: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3) { - const t3 = new n2.default(null); - return t3.variables = [], e3 && (t3.defaultLanguage = e3), t3.flowMetaData = new r2({ features: [], flowDocumentVersion: "1.0", minimumServerVersion: "1.0", ttsDataVersion: "1.0" }), t3.flowSequenceItemList = [], t3; - }; - const n2 = i2(31635).__importDefault(i2(38416)), r2 = i2(89266); - }, 70812: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeLineItemOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + setPromptResource(e3, t3) { + this._promptResources.set(t3.toLowerCase(), e3); } - constructor(e3) { - super(e3); + deletePromptResourceForKey(e3) { + this._promptResources.delete(e3); } - get isExpressionTypeLineItemsOptions() { - return true; + deletePromptResource(e3) { + return o.__awaiter(this, void 0, void 0, function* () { + const t3 = new T.PromiseDefer(); + 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); + 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); + }), t3.promise; + }); } - get className() { - return "ExpressionTypeLineItemOptions"; + get type() { + return u.globalTypes.prompt; } - } - 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)), 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); + get dependencyType() { + return this.isSystem ? v.SystemPrompt : v.UserPrompt; } - _loadModel(e3) { - super._loadModel(e3), !this.scheduleGroup.text && this.model.scheduleGroupName && this.model.scheduleGroupId && this.scheduleGroup.update(this.model.scheduleGroupName, this.model.scheduleGroupId), this.scheduleGroup.text && this.model.scheduleGroupName && delete this.model.scheduleGroupName, this.scheduleGroup.text && this.model.scheduleGroupId && delete this.model.scheduleGroupId; + get nodeGuxIcon() { + return "roster-chat"; } - _preDestroy() { - super._preDestroy(), this.scheduleGroupManager.tryRemoveItemFromFlowMetadata(this, this.scheduleGroupId); + getDisplayName() { + return this.expressionName; } - static get branchInfo() { - return a.default.openClosedHolidayEmergency; + isMissingAudioOrTtsForLanguages(e3, t3, i3) { + return !!(i3 && i3.mode === l.builder && i3.options && i3.options.suppressBuilderModePromptResourceChecks) || !t3 || t3.length < 1 || m.promptHasRequiredMedia(e3, this, t3); } - _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(_.evaluateSchedules.emergencyGroup, _.evaluateSchedules.emergencyGroupDescription).setDescriptionAdditionalInfoSection({ title: void 0, entries: [_.generic.optional] }); + get _promptPrefix() { + return this.isSystem ? g.prefixes.system : g.prefixes.user; } - 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; + copyModel(e3) { + this.loadModel(e3._model); } - static get managedProperties() { - 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")) }]; + loadModel(e3) { + if (!e3) return; + this._model = e3, s.default.each(e3.resources, (e4) => { + if (!e4.result || "does.not.exist" !== e4.result) { + const t4 = new N.default(this, e4), i3 = this.getResource(t4.language.toLowerCase()); + !t4.language || i3 && i3 === t4 || this.setPromptResource(t4, t4.language.toLowerCase()); + } + }); + const t3 = s.default.difference(this.allResources.map((e4) => e4._model), e3._resources); + t3.length && t3.forEach((e4) => this.deletePromptResourceForKey(e4.language)); } - postProcessYamlConfig(e3, t3, i3) { - var n3, r3, o2, a2; - super.postProcessYamlConfig(e3, t3, i3), (null === (r3 = null === (n3 = e3.scheduleGroup) || void 0 === n3 ? void 0 : n3.lit) || void 0 === r3 ? void 0 : r3.name) && (e3.scheduleGroup.name = e3.scheduleGroup.lit.name), (null === (a2 = null === (o2 = e3.emergencyGroup) || void 0 === o2 ? void 0 : o2.lit) || void 0 === a2 ? void 0 : a2.name) && (e3.emergencyGroup.name = e3.emergencyGroup.lit.name); + toString() { + return `Prompt: id: ${this.id}`; } - setScheduleGroup(e3) { - this.scheduleGroup.update(e3.name, e3.id); + static get nameMaxLength() { + return f.promptLimits.name.maxLength; } - get selectedScheduleGroup() { - if (this.scheduleGroupId) return this.scheduleGroupManager.getItem(this.scheduleGroupId); + getResourceForLanguageTag(e3) { + const t3 = this.allResources.find((t4) => t4.language === e3.criteria.languageTag); + switch (e3.criteria.outputMode) { + case p.outputModeText.id: + if (null == t3 ? void 0 : t3.textAvailable) return t3.text; + break; + case p.outputModeVoice.id: + if (null == t3 ? void 0 : t3.ttsAvailable) return t3.ttsString; + } } } - 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) => { + n2 = /* @__PURE__ */ new WeakMap(), t2.default = C, o.__decorate([(0, y.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], C.prototype, "description", null), o.__decorate([(0, y.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [Object])], C.prototype, "displayName", null); + }, 54061(e2, t2, i2) { "use strict"; + var n2, o, r; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + 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(g.defaultArchitectPromptResourceAudioFormat), this.topic = S, this.uid = c.default.uniqueId(), n2.set(this, void 0), o.set(this, void 0), r.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 _globalTypeName() { - return "lineItemCollection"; + get className() { + return "PromptResourceViewModel"; } - get displayTypeName() { - return "ArchValueLineItemCollection"; + get isProcessing() { + return this.isProcessing$.getValue(); } - get isArchValueLineItemCollection() { + set isProcessing(e3) { + this.isProcessing$.next(e3); + } + get parentId() { + return this._parent.id; + } + get id() { + return this.language; + } + get isPromptResourceViewModel() { return true; } - } - t2.default = r2; - }, 70857: (e2) => { - "use strict"; - 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)), 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); + get detailsLoaded() { + return !!a.__classPrivateFieldGet(this, n2, "f"); } - _loadModel(e3) { - super._loadModel(e3), this.mode || (this.mode = _.transfer); + get changed() { + return !!a.__classPrivateFieldGet(this, o, "f"); } - getDetails() { - const e3 = 0 === this.mode.value ? p.setUUIData.transferDropDownText : p.setUUIData.disconnectDropDownText; - return new l.ActionDetails([null, p.setUUIData.mode], [e3, this.uuiData.text]); + set changed(e3) { + a.__classPrivateFieldSet(this, o, e3, "f"); } - static get managedProperties() { - 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 containerId() { + return this._model.promptId; } - get mode() { - return this.model.mode; + get audioLength() { + return this._model.durationSeconds; } - set mode(e3) { - switch (e3) { - case _.transfer: - case _.disconnect: - this.model.mode = e3, (0, a.validateAction)(this, true, true); + getAudioLength() { + if (this._model.durationSeconds) { + let e3 = parseFloat(this._model.durationSeconds); + if (e3) return e3 < 0.05 && (e3 = 0.1), Math.round(10 * e3) / 10; } + return null; } - postProcessYamlConfig(e3, t3, i3) { - var n3; - (null === (n3 = this.mode) || void 0 === n3 ? void 0 : n3.name) && (e3.mode = this.mode.name); + get audioFormat() { + return this._model.audioFormat; } - } - 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) { - if (!e3 || !t3 || !t3.isFlowViewModel) return null; - const i3 = new g.default(t3, t3, e3); - return i3.type.isAvailableForFlow(t3) ? i3 : null; - }, t2.addInOutVariable = S, t2.addVariable = function(e3, t3, i3, n3, r3) { - if (!e3 || !m.getUnscopedName(e3)) return s.error("Can not create variable because no name was given"), null; - if (!i3) return s.error("Can not create variable because no parent was given"), null; - let a2 = m.getScope(e3); - if (a2 || (a2 = i3.defaultVariableScope), !r3 && !o.default.contains(i3.userCreatableVariableScopes, a2)) return s.error("Unable to add variable. The variable scope of '" + a2 + "' is not valid for the submitted parent task or flow."), null; - const l2 = S(i3, e3, a2, false, false, t3.type, n3, r3); - return l2 ? (l2.isTaskVariable && i3.addVariable(l2), l2.addWriter(t3), t3.text = l2.name, l2) : (s.error("Variable creation failed."), null); - }, t2.transferUsages = function(e3, t3, i3, n3) { - 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(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(e3.parentFlow), t5; - } - s.error(`Unexpected condition, change scope of a variable to something other than flow. old name: ${e3.name} -- new name: ${i3}`); - } - return e3.name = i3, e3.parentFlow.variableGroup.addVariable(e3, true), u.emitter.emit(u.variableRename), _.validateItem(e3), e3; + get _sampleRate() { + var e3; + return null === (e3 = (0, f.getEffectivePromptResourceAudioFormat)(this._model.audioFormat, !!this.audioLength)) || void 0 === e3 ? void 0 : e3.sampleRate; } - if (o.default.isString(i3)) { - const t4 = m.getScope(e3.name) !== m.getScope(i3), r4 = e3.parent.isFlowViewModel ? e3.parent : e3.parent.parentFlow; - if (n3 = t4 ? n3 || r4 : e3.parent, e3.lowerName === i3.toLocaleLowerCase() && r4.variableGroup.clearOldName(n3, e3.name, e3.id), t4) { - const t5 = m.getScope(i3); - if (!o.default.contains(n3.availableVariableScopes, t5)) return e3; - } - i3 = A(e3, i3, n3); - } else if (e3.type !== i3.type) return; - 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) { - const n3 = e3; - if ((e3 = m.getUnscopedName(e3)).match(/([^\.]*)\.(.*)/) && t3) { - const r3 = t3.hasPrefixVariable(n3), o2 = { expressionType: i3, doNotAllowProperties: true }; - return i3.isAny && (o2.allowReadOnly = true), !(!r3 || !N(r3, o2)) && l.expressionDataService.cleanseForIdentifierNameWithProps(e3); + 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; } - return l.expressionDataService.cleanseForIdentifierName(e3); - }, t2.cleanseVariableName = function(e3, t3) { - return t3 || (e3 = m.getUnscopedName(e3)), l.expressionDataService.cleanseForIdentifierName(e3); - }, t2.getNameMappingBetweenFlowTypes = function(e3, t3) { - const i3 = p.default.getDefinitionForFlowType(e3), n3 = p.default.getDefinitionForFlowType(t3), r3 = []; - return i3.systemVariableModels.forEach((e4) => { - let t4 = n3.systemVariableModels.find((t5) => e4.id === t5.id); - t4 ? (e4.name !== t4.name && r3.push({ oldName: e4.name, newName: t4.name }), e4.deprecatedName && e4.deprecatedName !== t4.name && r3.push({ oldName: e4.deprecatedName, newName: t4.name })) : e4.copyPasteId && (t4 = n3.systemVariableModels.find((t5) => e4.copyPasteId === t5.copyPasteId), t4 && r3.push({ oldName: e4.name, newName: t4.name })); - }), r3; - }, t2.createVariableGroupForFlow = function(e3, t3) { - e3.hasVariableGroupSet ? e3.variableGroup.reset() : e3.variableGroup = new h.default(e3), e3.definition.systemVariableModels.forEach((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 = c.isFeatureUnavailable(i3.featureConfig); - else if (o.default.isObject(i3.featureConfig)) { - const t4 = i3.featureConfig[e3.type]; - n3.isUnavailable = o.default.isString(t4) && c.isFeatureUnavailable(t4); - } - } 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)), 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 }); - } - function y(e3, t3) { - if (!e3) return null; - 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, c2) { - if (!e3 || !t3 || !l2) return s.error((0, r2.sprintf)(`Missing parameter for name (not logged), parentTaskOrFlow: '${e3}', or type: '${l2}'`)), 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; + 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; } - const p2 = T(l2, t3); - p2.isInput = n3, p2.isOutput = a2, u2 && (p2.description = u2); - const h2 = y(p2, e3); - return h2.isTaskVariable && e3.addVariable(h2), h2.initializeDesignTime(), _.validateItem(h2), h2; - } - function A(e3, t3, i3) { - const n3 = T(e3.type, t3); - n3.isInput = e3.isInput && i3.supportsInputVariables, n3.isOutput = e3.isOutput && i3.supportsOutputVariables; - const r3 = y(n3, i3); - return r3.isTaskVariable && i3.addVariable(r3), e3.initializeDesignTimeCalled && r3.initializeDesignTime(), r3; - } - function N(e3, t3) { - const i3 = !!t3.doNotAllowProperties, n3 = !t3.allowReadOnly, r3 = !t3.allowUnavailable; - return !(n3 && e3.isReadOnly || r3 && e3.isUnavailable || i3 && e3.isClone || e3.isInternal) && e3.type && e3.type.isMatch(t3.expressionType); - } - }, 71012: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.askForIntentSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(73324); - class s extends a.BaseBotActionSettingsSequence { - constructor() { - super("askForIntent"); + get hasUserUploadedAudio() { + return this.isSystem && this.hasDefaultAudio ? !this.usingDefaultAudio : !!this.audioLength; } - get noInputSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInput"); - return this.generateLanguageSequenceConfig("AskForIntentNoInput", r2.builderIds.parts.genericCommunication, e3); + get isBlank() { + return !(this.ttsAvailable || this.mediaUri); } - get noInputDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); - return this.generateLanguageSequenceConfig("AskForIntentNoInputDigitalBot", r2.builderIds.parts.markdownCommunication, e3); + get isSystem() { + return this._parent.isSystem; } - get noMatchSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("AskForIntentNoMatch", r2.builderIds.parts.genericCommunication, e3, t3); + get isUser() { + return !this.isSystem; } - get questionSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("question"), t3 = { digitalbot: { builderId: r2.builderIds.parts.markdownCommunication, languageSequences: e3 } }; - return this.generateLanguageSequenceConfig("AskForIntentQuestion", r2.builderIds.parts.genericCommunication, e3, t3); + get hasDefaultAudio() { + return this._model.hasDefault; } - } - 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), 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); + get language() { + return this._model.language; } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3); - const t3 = P(this.parentFlow.defaultLanguage); - this.setNewInstanceNoInputText(t3.askSurveyQuestion.voiceSurveyNoInputText), this.setNewInstanceNoMatchText(t3.askSurveyQuestion.voiceSurveyNoMatchText), this.setBranchOutOfService(m.default.maxNoInputsOptional.outputId); + get mediaUri() { + return this._model.mediaUri; } - initializeDesignTime() { - super.initializeDesignTime(), this.updateSurveyFormQuestionDynamicProps(), this.addAutoCleanedUpSubscription((0, f.createObservableForEvent$)(g.expressionValueChanged, this.notApplicable).subscribe(() => I.validateAction(this, false, true))); + get uploadUri() { + return this._model.uploadUri; } - get supportsCustomOutputPaths() { - return true; + get resourceDisplayString() { + return (0, u.sprintf)(m.default.audio.promptResourceDisplayName, this._parent.displayName, this.language); } - static get branchInfo() { - return [m.default.default, m.default.conditionsNotMet]; + get tracingString() { + return `${this.containerId} (${this.language})`; } - get hasOptionalPaths() { - return false; + get tags() { + return this._model.tags; } - static getSurveyQuestionExpression(e3) { - return e3.surveyQuestion; + set tags(e3) { + this._model.tags = e3; } - static getSurveyQuestionType(e3) { - return e3.parentFlow.voiceSurveyFlowSettings.getQuestionTypeExpressionForQuestionId(e3.surveyFormQuestionId); + get text() { + return this._model.text; } - static getQuestionAnswerOptions(e3) { - return e3.parentFlow.voiceSurveyFlowSettings.getAnswerOptionsExpressionForQuestionId(e3.surveyFormQuestionId); + set text(e3) { + this._model.text = e3, this.changed = true; } - static _disableDTMFChoiceForNACallback(e3, t3) { - 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 = n3.parentFlow.voiceSurveyFlowSettings.getAnswerOptionsExpressionForQuestionId(n3.surveyFormQuestionId); - if (a2) return !!a2.collectionItems.items.find((e4) => e4.type.getDtmf(e4) === t3.id); - } - return false; + get textAvailable() { + return this._model.textAvailable; } - static get managedProperties() { - 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 ttsAvailable() { + return this._model.ttsAvailable; } - get isAskSurveyQuestionAction() { - return true; + get ttsString() { + return this._model.ttsString; } - get surveyFormQuestionId() { - if (this.surveyQuestion.isLiteralMode && !this.surveyQuestion.outOfService) return this.surveyQuestion.val; + set ttsString(e3) { + this._model.ttsString = e3, this.changed = true; } - get surveyFormQuestionText() { - if (this.surveyQuestion.isLiteralMode) return this.surveyQuestion.text; + saveResource() { + return a.__classPrivateFieldSet(this, r, s.default.defer(), "f"), _.updatePromptResource(this.containerId, this).then(() => { + this.changed = false, a.__classPrivateFieldGet(this, r, "f").resolve(); + }, (e3) => { + a.__classPrivateFieldGet(this, r, "f").reject(e3); + }), a.__classPrivateFieldGet(this, r, "f").promise; } - get surveyForm() { - var e3; - return null === (e3 = this.parentFlow.voiceSurveyFlowSettings) || void 0 === e3 ? void 0 : e3.archSurveyForm; + get uniqueId() { + return this.containerId + this.language; } - get surveyFormQuestion() { - return this._surveyFormQuestion || this.surveyQuestion.isLiteralMode && !this.surveyQuestion.outOfService && (this._surveyFormQuestion = (0, N.findSurveyQuestionInForm)(this.surveyForm, this.surveyQuestion.val, true)), this._surveyFormQuestion; + get usingDefaultAudio() { + return this.isSystem && this.hasDefaultAudio && !this.uploadStatus; } - _clearArchSurveyQuestion() { - const e3 = this.surveyQuestion.type.clearArchSurveyQuestion(this.surveyQuestion); - return this._surveyFormQuestion = void 0, this.followUpQuestion.setAsNoValue(), this.notApplicable.setAsNoValue(), this.surveyQuestionResult.setAsNoValue(), this.question.mode = l.builder, this.question.setCommunicationBuilderText(""), this.questionCondition.setAsNoValue(), e3; + deleteResource() { + return _.deletePromptResource(this.containerId, this.language); } - clearSurveyQuestion() { - const e3 = this._clearArchSurveyQuestion(); - return this._updatePropertiesOOS(), I.validateAction(this, true, true), e3; + initiateAudioStationRecord() { + alert("record from station"); } - configureFromArchSurveyQuestionId(e3, t3) { - const i3 = (0, N.findSurveyQuestionInForm)(this.surveyForm, e3, true); - return i3 ? this.configureFromArchSurveyQuestion(i3) : (t3 && this.clearSurveyQuestion(), false); + getCompleteDetails(e3) { + const t3 = e3 || s.default.defer(); + return _.getPromptResource(this.containerId, this.language, this.isSystem).then((e4) => { + this._loadDetails(e4), t3.resolve(this); + }, (e4) => { + S.errorPromise(e4, "Failed to get prompt resource details"), t3.reject(e4); + }), t3.promise; } - configureFromArchSurveyQuestionText(e3, t3, i3) { - const n3 = (0, N.findSurveyQuestionInForm)(this.surveyForm, e3, i3, true); - return n3 ? this.configureFromArchSurveyQuestion(n3) : (t3 && this.clearSurveyQuestion(), false); + get uploadStatus() { + return this._model.uploadStatus; } - configureFromSurveyQuestionViewModel(e3) { - return !!e3 && this.configureFromArchSurveyQuestionId(e3.id, false); + _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, void 0 !== e3.audioFormat && null !== e3.audioFormat && (this._model.audioFormat = e3.audioFormat)); } - configureFromArchSurveyQuestion(e3) { - if (!e3) return false; - if (!this._clearArchSurveyQuestion()) return false; - 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 v.SurveyQuestionTypesEnum.freeTextQuestion: - case v.SurveyQuestionTypesEnum.readOnlyQuestion: - break; - 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, 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; + _loadModel(e3) { + 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)); } - destroy() { - return this.parentFlow.isDestroyedOrDestroying || I.validateNode(this.parentFlow.voiceSurveyFlowSettings, true), super.destroy(); + _loadDetails(e3) { + this._loadModel(e3), a.__classPrivateFieldSet(this, n2, true, "f"); } - updateSurveyFormQuestionDynamicProps() { - this.surveyFormQuestion ? this.surveyQuestionResult.setAsExpression(this.surveyFormQuestion.variableName) : this.surveyQuestionResult.setAsExpression(""); + toString() { + return `PromptResource: parent: '${this._parent.toString()}' - Language: '${this.language}'`; } - _updatePropertiesOOS() { - 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, O.surveyQuestionHasNa)(this.surveyFormQuestion), this.customizeNoInput.outOfService = this._isNoneOrReadOnlyQuestion, this.customizeNoMatch.outOfService = this._isNoneOrReadOnlyQuestion, this.voiceEndOfInputTimeout.outOfService = this._isNoneOrReadOnlyQuestion; + resetAudio() { + this._model.duration = void 0, this._model.uploadStatus = void 0, this._model.mediaUri = void 0, this._model.audioFormat = void 0; } - get _isNoneOrReadOnlyQuestion() { - return !this.surveyFormQuestion || this.surveyFormQuestion.questionType === v.SurveyQuestionTypesEnum.readOnlyQuestion; + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = A; + }, 67432(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(43277)); + class o extends n2.default { + constructor(e3) { + super(e3.id, e3.name, e3.description), this._model = e3; } - _isNoInputOOS() { - return this._isNoneOrReadOnlyQuestion || super._isNoInputOOS(); + get division() { + return this._model.division; } - _isNoInputRepromptsOOS() { - return this._isNoneOrReadOnlyQuestion || super._isNoInputRepromptsOOS(); + get contentLength() { + return this._model.contentLength; } - _isNoMatchOOS() { - return this._isNoneOrReadOnlyQuestion || super._isNoMatchOOS(); + get contentLocation() { + return this._model.contentLocation; } - _isNoMatchRepromptsOOS() { - return this._isNoneOrReadOnlyQuestion || super._isNoMatchRepromptsOOS(); + get contentType() { + return this._model.contentType; } - _generateAnswerOutputText(e3, t3) { - 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)) : ""; + get dateCreated() { + return this._model.dateCreated; } - postProcessYamlConfig(e3, t3, i3) { - var n3; - const r3 = (e3.surveyQuestion = {})[this.surveyForm.name] = {}; - (null === (n3 = this.surveyQuestion.text) || void 0 === n3 ? void 0 : n3.length) ? this.surveyQuestion.isLiteralMode ? r3.lit = { text: this.surveyQuestion.text } : this.surveyQuestion.isExpressionMode && (r3.exp = this.surveyQuestion.text) : o.default.ensureYamlNoneTrue(r3); + get createdBy() { + return this._model.createdBy; } - get yamlPropertyOrderMap() { - return o.default.extend(super.yamlPropertyOrderMap, { surveyQuestion: 15 }); + get dateModified() { + return this._model.dateModified; } - _validateDuplicateDTMF(e3) { - 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); - } + get modifiedBy() { + return this._model.modifiedBy; } - validate(e3) { - super.validate(e3), this._validateDuplicateDTMF(e3); + get responses() { + return this._model.responses; } - _setQuestionProperty(e3) { - switch (this.question.mode = l.noValue, e3.questionType) { - 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; - default: - this.question.setCommunicationBuilderText(e3.questionText, true); - } + get isResponseAssetViewModel() { + return true; } } - 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) => { + t2.default = o; + }, 54057(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeNetworkObjectOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } + t2.ResponseLibraryViewModel = void 0, t2.createResponseLibrarySearchFilters = o; + const n2 = i2(43212); + function o(e3) { + return [{ name: "libraryId", operator: "IN", values: [e3] }]; + } + class r extends n2.BaseConfigurationListViewModel { constructor(e3) { super(e3); } get className() { - return "ExpressionTypeNetworkObjectOptions"; + return "ResponseLibraryViewModel"; } - get isExpressionTypeNetworkObjectOptions() { - return true; + get id() { + return this._model.id; + } + get label() { + return this._model.name || ""; + } + get name() { + return this._model.name; + } + get searchFilter() { + return o(this.id); } } - t2.ExpressionTypeNetworkObjectOptions = r2; - }, 71071: (e2, t2, i2) => { + t2.ResponseLibraryViewModel = r; + }, 31278(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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 o.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); + t2.ResponseViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(3916)), a = i2(43212), s = i2(89125), l = i2(6225); + class u extends a.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), this._model.substitutionsSchema && this.loadSubstitutionSchema(this._model.substitutionsSchema); } - get canRename() { - return false; + get className() { + return "ResponseViewModel"; } - get isLoopTaskViewModel() { - return true; + get library() { + return this._model.libraries && this._model.libraries[0]; } - get isTask() { - return true; + get libraries() { + return this._model.libraries || []; } - static get notRealAction() { - return false; + get form() { + return new s.FormViewModel(this._model.form); } - validate(e3) { - this.isNameUnique() || e3.addError(this, c.task.multipleNames), 0 === this.actions.length && e3.addError(this, c.task.containsNoActions); + get messagingTemplate() { + return new l.MessagingTemplateViewModel(this._model.messagingTemplate); + } + getConfiguration() { + return { name: this.name, library: this.library, responseType: this.responseType, substitutions: this._model.substitutionsSchema }; + } + get id() { + return this._model.id; + } + get label() { + return this._model.name || ""; + } + get name() { + return this._model.name; + } + get responseType() { + return this._model.responseType; + } + hasLibrary(e3) { + return e3 && o.default.findWhere(this.libraries, { id: e3.id }); + } + loadSubstitutionSchema(e3) { + this.substitutions = r.default.createSchemaPropertyList(e3.properties); } } - 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) => { + t2.ResponseViewModel = u; + }, 11675(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), 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); + t2.ScheduleGroupViewModel = void 0; + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(43212); + class r extends o.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), e3.openSchedules && e3.closedSchedules && (this.schedules = n2.default.union(this._model.openSchedules, this._model.closedSchedules)); } - _initializeDesignTime() { - super._initializeDesignTime(), this._updateOOS(), this.addAutoCleanedUpEventSinkWatch(h.valueChanged, this.library, () => { - this.form.reset(), this._updateOOS(); - }), this.addAutoCleanedUpEventSinkWatch(h.valueChanged, this.form, () => { - this._handleFormSelectionChanged(); - }); + get className() { + return "ScheduleGroupViewModel"; } - get responseLibrary() { - return this.model.responseLibrary; + get id() { + return this._model.id; } - get responseId() { - return this.formId; + set id(e3) { + this._model.id = e3; } - get selectedResponse() { - if (this.responseId) return this.responseManager.getItem(this.responseId); + get name() { + return this._model.name; } - set responseLibrary(e3) { - this.model.responseLibrary = e3; + set name(e3) { + this._model.category = e3; } - _updateOOS() { - this.question.outOfService = true, this.form.outOfService = !this.responseLibrary; + get label() { + return this._model.name; } - get supportsCustomOutputPaths() { - return true; + get schedules() { + return this._model.schedules; } - _clearOutputs() { - this.outputs.destroyChildren(); + set schedules(e3) { + this._model.schedules = e3; } - static get branchInfo() { - const e3 = [...p.default.successFailure, p.default.maxNoInputsOptional]; - return m.isFeatureAvailable(S.default.botFlowsEnhancedRecognitionFailureHandling) ? [...e3, p.default.maxNoMatchesOptional] : e3; + hasSchedule(e3) { + return e3 && n2.default.findWhere(this.schedules, { id: e3.id }); } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.setNewInstanceNoInputText(R(this.parentFlow.defaultLanguage).form.noInputDigitalBot), this.setNewInstanceNoMatchText(R(this.parentFlow.defaultLanguage).form.noMatchDigitalBot); + } + t2.ScheduleGroupViewModel = r; + }, 61684(e2, t2, i2) { + "use strict"; + t2.ScheduleViewModel = void 0; + const n2 = i2(74483); + class o extends n2.NameIdConfigurationListViewModel { + constructor(e3) { + super(e3); } - getDetails() { - var e3; - 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]); + get className() { + return "ScheduleViewModel"; } - static get managedProperties() { - 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")) }]; + get label() { + return this._model.name; } - _getAdditionalSearchParams() { - var e3; - if (null === (e3 = this.responseLibrary) || void 0 === e3 ? void 0 : e3.id) return { filters: (0, O.createResponseLibrarySearchFilters)(this.responseLibrary.id) }; + } + t2.ScheduleViewModel = o; + }, 61730(e2, t2) { + "use strict"; + t2.SchemaViewModel = void 0, t2.SchemaViewModel = class { + constructor(e3) { + this._model = e3; } - _searchFilterCallback(e3) { - var t3; - return e3.responseType === f.CannedResponseType.form && !!r2.default.findWhere(e3.libraries, { id: null === (t3 = this.responseLibrary) || void 0 === t3 ? void 0 : t3.id }); + get className() { + return "SchemaViewModel"; } - _handleFormSelectionChanged() { - return n2.__awaiter(this, void 0, void 0, function* () { - this.formId, this._mergeSchemaProperties(), (0, y.validateAction)(this, void 0, true); - }); + get isBaseClass() { + return false; } - _mergeSchemaProperties() { - var e3, t3; - const i3 = null === (t3 = null === (e3 = this.selectedResponse) || void 0 === e3 ? void 0 : e3.form) || void 0 === t3 ? void 0 : t3.formPages; - if (i3) { - const e4 = {}; - i3.forEach((t4) => { - const i4 = `${t4.title} (${t4.componentInfo.displayName})`; - e4[t4.componentInfo.id] ? this.topic.error("duplicate id encountered adding form properties") : e4[t4.componentInfo.id] = { name: i4, type: t4.componentInfo.type, id: t4.componentInfo.id }; - }), this.responseManager.mergeSchemaProperties(Object.values(e4), this.outputs); - } else this._clearOutputs(); + get id() { + return this._model.id; } - validate(e3) { - super.validate(e3), e3.isDeep && this._mergeSchemaProperties(); + get name() { + return this._model.name; } - postProcessYamlConfig(e3, t3, i3) { - var n3; - if (!this.formName) return false; - const o2 = (null === (n3 = this.responseLibrary) || void 0 === n3 ? void 0 : n3.name) || g.unknownLibrary; - e3.library = {}; - const a2 = (e3.library[o2] = { form: {} }).form[this.formName] = {}; - return e3.formOutputs ? r2.default.moveAndDeleteProperty(e3, a2, "formOutputs") : r2.default.ensureYamlNoneTrue(a2), true; + get schema() { + return this._model.schema; } - } - 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) => { + }; + }, 86050(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.WrapupCodeType = void 0; - const n2 = i2(17604), r2 = i2(72987), o = i2(92158), a = i2(94765), s = i2(80428), l = i2(47957); - class u extends a.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + t2.ScreenPopViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(3916)), a = i2(43212); + class s extends a.BaseConfigurationListViewModel { + constructor(e3) { + super(e3), this._model.variables && this.loadVariables(this._model.variables); } get className() { - return "WrapupCodeType"; + return "ScreenPopViewModel"; } - createExpressionOptionClass() { - return new r2.ExpressionTypeWrapupCodeOptions(this.isCollection); + get category() { + return this._model.category; } - canConvertLitToExpression(e3) { - return false; + get description() { + return this._model.description; } - convertLitToExpression(e3, t3) { - return ""; + getConfiguration() { + return { name: this._model.name, description: this._model.description, category: this._model.category, url: this._model.url, inputs: this._model.variables }; } - _getLiteralValueOfExpression() { - return ""; + getProperty(e3, t3, i3) { + const n3 = i3 ? { name: e3 } : { id: e3 }; + return o.default.findWhere(t3 ? this.outputs : this.inputs, n3); } - get listManager() { - return o.wrapupCodeManager; + get id() { + return this._model.id; } - validateLiteral(e3, t3) { - let i3 = super.validateLiteral(e3, t3, true); - if (i3) { - const r3 = this.listManager.getItem(t3.val); - if (t3.options.requiresHasDescription && false === (null == r3 ? void 0 : r3.hasDescription)) { - const o2 = (0, n2.sprintf)(l.customNodes.virtualAgentSettings.wrapupCodeNoDescriptionError, r3.name); - t3.setParseError(o2), e3.addError(t3, o2, false, true), i3 = false; - } - } - return i3; + get input() { + return this._model.variables; + } + get label() { + return this._model.name || ""; + } + loadVariables(e3) { + let t3 = {}; + e3 && e3.properties && (t3 = o.default.omit(e3.properties, function(e4) { + return !(!e4.hasOwnProperty("input") && !e4.hasOwnProperty("output")) && true !== e4.input; + })), this.inputs = r.default.createSchemaPropertyList(t3); + } + get name() { + return this._model.name; + } + get result() { + return this._model.result; + } + get url() { + return this._model.url; } } - t2.WrapupCodeType = u, u.typeIdentifier = s.expressionTypeNames.wrapupCode; - }, 71137: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { setLocaleActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _languageCode: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.languageCode.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.languageCode.pasteResolveOldToNewValues(e3); - } }, languageCode: { enumerable: true, get: function() { - return this._languageCode; - }, 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) => { + t2.ScreenPopViewModel = s; + }, 32224(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(26519)), o = n2.__importDefault(i2(71824)), a = n2.__importStar(i2(14187)), s = i2(96618); - class l extends o.default { - constructor(e3) { - super(e3), this.errorHandling = new r2.default(this), this._addToAutoManageSettings(this.errorHandling); + const n2 = i2(31635).__importDefault(i2(68460)), o = i2(47957); + class r extends n2.default { + constructor(e3, t3, i3) { + super(t3, i3), this.name = e3; + } + get className() { + return "SlotSettingsViewModel"; + } + getDisplayName() { + return o.clearSlot.slotsLabel; + } + } + t2.default = r; + }, 91941(e2, t2, i2) { + "use strict"; + t2.SpeechDataViewModel = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(24032)), r = n2.__importStar(i2(1115)), a = i2(55299), s = i2(63221), l = o.getTopic("TTSDataViewModel"); + class u extends a.BaseClass { + constructor(e3, t3, i3) { + super(), Object.defineProperties(this, { initializeDesignTimeCalled: { value: false, writable: true, enumerable: false } }), this._model = e3, this.languageId = t3, this.parent = i3, i3 && i3.isLanguageNode || l.errorWithStack(null, `Non-LanguageSelectionViewModel parent passed into SpeechDataViewModel. id: '${null == i3 ? void 0 : i3.id}'`); } get className() { - return "WorkflowViewModel"; + return "SpeechDataViewModel"; } - get isWorkflow() { - return true; + get engine() { + return this._model.engine; } - get type() { - return s.flowTypes.flowTypeWorkflow; + set engine(e3) { + this._model.engine = e3; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, a.scopes.workflow]; + get isReadOnly() { + return this.parentFlow.isReadOnly; } - get wrappedYamlName() { - return "workflow"; + get model() { + return this._model; } - } - 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), 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); + get hasDefaultEngineSelected() { + return this.engine.selection === s.engineSelectionTypes.engineSelectionDefault; } - _initializeDesignTime() { - var e3, t3, i3; - super._initializeDesignTime(); - const n3 = this.parentFlow; - (null === (e3 = n3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.isKnowledgeV3AvailableInOrg) && (this._setKnowledgeVersionSettings(null === (i3 = null === (t3 = n3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeVersion) || void 0 === i3 ? void 0 : i3.text), this.addAutoCleanedUpEventListener(_.knowledgeVersionChanged, (e4) => { - this._setKnowledgeVersionSettings(e4); - })); + get hasNoEngineSelected() { + return this.engine.selection === s.engineSelectionTypes.engineSelectionNone; } - static get branchInfo() { - return r2.default.successFailure; + initializeDesignTime() { + this.initializeDesignTimeCalled = true; } - static get managedProperties() { - 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)) }]; + get parentFlow() { + return this.parent && this.parent.parentFlow; } - _setKnowledgeVersionSettings(e3) { - e3 === p.KnowledgeVersionValues.v3 ? (h.default.each(this.managedPropertyViewModels, (e4) => { - e4.isNoteProperty || (e4.isOptional = true, e4.outOfService = true, e4.setAsNoValue()); - }), this.knowledgeFeedbackV3Alert.outOfService = false) : (h.default.each(this.managedPropertyViewModels, (e4) => { - e4.isOptional = false, e4.outOfService = false; - }), this.knowledgeFeedbackV3Alert.outOfService = true); + setEngine(e3, t3) { + e3 ? (this.engine.id = e3.id, this.engine.name = e3.name, this.engine.selection = t3 ? s.engineSelectionTypes.engineSelectionDefault : s.engineSelectionTypes.engineSelectionSpecific) : (this.engine.id = null, this.engine.name = null, this.engine.selection = s.engineSelectionTypes.engineSelectionNone); + } + validateParent() { + this.parent && this.parent.initializeDesignTimeCalled && this.parent.validate && r.validateNode(this.parent, true); } } - 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) => { + t2.SpeechDataViewModel = u; + }, 65888(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.IntentUtil = void 0; - const n2 = i2(14443); - class r2 { - static getIntents(e3) { - return Array.isArray(null == e3 ? void 0 : e3.intents) ? e3.intents : []; + t2.SpeechRecTermContainer = void 0; + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(25021)), s = i2(47957); + t2.SpeechRecTermContainer = class { + constructor(e3, t3, i3) { + this._parent = e3, this.languageEntry = t3, this.language = i3, this._menuChoice = this._parent.menuChoice, this._terms = this._parent.model[this.languageEntry.id] || [], this.languageCode = this.languageEntry.id; } - static hasIntents(e3) { - return r2.getIntents(e3).length > 0; + get menuChoice() { + return this._menuChoice; } - static getIntentByName(e3, t3) { - if (!e3 || !t3) return {}; - if (!(0, n2.isString)(t3)) return {}; - const i3 = t3.toLowerCase(); - return r2.getIntents(e3).find((e4) => (null == e4 ? void 0 : e4.name.toLowerCase()) === i3) || {}; + contains(e3, t3) { + const i3 = e3.toLocaleLowerCase(); + let n3 = false; + return r.default.find(this.terms, function(e4) { + return !(i3 !== e4.toLocaleLowerCase() || t3 && !n3 && (n3 = true, 1)); + }); } - static getIntentNames(e3) { - if (!e3) return []; - const t3 = []; - return r2.getIntents(e3).forEach((e4) => { - t3.push(e4.name); - }), t3; + getDuplicateTerms() { + return this.terms.filter((e3) => this.hasDuplicate(e3, true)); } - static getIntentEntityTypeBindings(e3, t3) { - var i3; - if (!e3 || !t3) return []; - const n3 = r2.getIntentByName(e3, t3); - return (null === (i3 = null == n3 ? void 0 : n3.entityTypeBindings) || void 0 === i3 ? void 0 : i3.length) && Array.isArray(null == n3 ? void 0 : n3.entityTypeBindings) ? n3.entityTypeBindings : []; + hasDuplicate(e3, t3) { + if (!e3) return false; + if (this.contains(e3, t3)) return this._parent; + const i3 = (t4) => { + const i4 = t4._allContainers[this.languageCode.toLowerCase()]; + if (!i4 || i4 === this) return false; + const n4 = i4.contains(e3); + return !!n4 && (t4.addDuplicate(n4), true); + }; + let n3 = null; + if (this._menuChoice.globalSpeech) return r.default.find(this._menuChoice.parentFlow.menus, function(e4) { + const t4 = r.default.pluck(e4.choices, "speechRecTerms"); + return n3 = r.default.find(t4, i3), n3; + }), n3; + { + const e4 = r.default.where(this._menuChoice.parent.choices, { globalSpeech: false }), t4 = r.default.pluck(e4, "speechRecTerms"); + return n3 = r.default.find(t4, i3), n3 || r.default.find(a.getGlobalSpeechForFlow(this._menuChoice.parentFlow), i3); + } } - static getIntentEntityNameReferences(e3, t3) { - var i3; - if (!e3 || !t3) return []; - const n3 = r2.getIntentByName(e3, t3); - return (null === (i3 = null == n3 ? void 0 : n3.entityNameReferences) || void 0 === i3 ? void 0 : i3.length) && Array.isArray(null == n3 ? void 0 : n3.entityNameReferences) ? n3.entityNameReferences : []; + get hasDuplicates() { + return !!this._parent.hasDuplicates && this.getDuplicateTerms().length > 0; } - static getIntentUtterances(e3, t3) { - var i3; - if (!e3 || !t3) return []; - const n3 = r2.getIntentByName(e3, t3); - return (null === (i3 = null == n3 ? void 0 : n3.utterances) || void 0 === i3 ? void 0 : i3.length) && Array.isArray(null == n3 ? void 0 : n3.utterances) ? n3.utterances : []; + get hasTerms() { + return this.terms.length > 0; } - static getIntentAdditionalLanguages(e3, t3) { - if (!e3 || !t3) return {}; - const i3 = r2.getIntentByName(e3, t3); - return !(null == i3 ? void 0 : i3.additionalLanguages) || "object" != typeof (null == i3 ? void 0 : i3.additionalLanguages) || Array.isArray(null == i3 ? void 0 : i3.additionalLanguages) ? {} : i3.additionalLanguages; + isInvalidTerm(e3) { + const t3 = this.hasDuplicate(e3); + return !!t3 && t3.menuChoice; } - static getIntentAdditionalLanguagesLanguageTags(e3, t3) { - if (!e3 || !t3) return []; - const i3 = r2.getIntentAdditionalLanguages(e3, t3); - return (0, n2.isEmptyObject)(i3) ? [] : Object.keys(i3); + get isSpeechRecTermContainer() { + return true; } - static getIntentAdditionalLanguageForLanguage(e3, t3, i3) { - if (!e3 || !t3 || !i3) return {}; - const o = r2.getIntentAdditionalLanguages(e3, t3); - return (0, n2.isEmptyObject)(o) ? {} : (null == o ? void 0 : o[i3]) ? o[i3] : {}; + get isSupported() { + return this.languageEntry && this.languageEntry.getSupportsSpeechRecForFlowType(this._menuChoice.parentFlow.type); } - static getUtterancesForLanguage(e3, t3, i3) { - var n3; - if (!e3 || !t3 || !i3) return []; - const o = r2.getIntentAdditionalLanguageForLanguage(e3, t3, i3); - return (null === (n3 = null == o ? void 0 : o.utterances) || void 0 === n3 ? void 0 : n3.length) && Array.isArray(null == o ? void 0 : o.utterances) ? o.utterances : []; + search(e3) { + const t3 = (0, o.sprintf)(s.speechRec.description, this.language); + r.default.each(this.terms, (i3) => { + e3.checkText(this._menuChoice, i3, t3); + }); } - static getIntentId(e3, t3) { - if (!e3 || !t3) return ""; - const i3 = r2.getIntentByName(e3, t3); - return (null == i3 ? void 0 : i3.id) && (0, n2.isString)(null == i3 ? void 0 : i3.id) ? i3.id : ""; + get terms() { + return this._terms || []; } - static isUtteranceInNluDomainVersion(e3, t3) { - return !!(((null == e3 ? void 0 : e3.intents) || []).reduce((e4, t4) => { - const i3 = t4.additionalLanguages || {}, n3 = Object.keys(i3).map((e5) => i3[e5].utterances || []).reduce((e5, t5) => e5.concat(t5 || []), []); - return e4.concat(t4.utterances || []).concat(n3); - }, []) || []).find((e4) => (null == e4 ? void 0 : e4.id) === t3); + set terms(e3) { + let t3 = false; + r.default.each(e3, (e4) => { + e4 || (t3 = true); + }), t3 ? console.error("can not add blank term") : (this._terms = e3, this._parent.model[this.languageCode] && (this._parent.model[this.languageCode] = e3), this._parent.findDuplicates()); } - } - t2.IntentUtil = r2; - }, 71314: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getManagedProperties = function e3(t3) { - let i3 = [], r2 = n2.default.isFunction(t3) ? t3 : t3.__proto__.constructor; - for (; r2 && (r2.isBaseClassObject || r2._super && r2._super.isBaseClass); ) r2.hasOwnProperty("managedProperties") && (i3 = i3.concat(r2.managedProperties), n2.default.each(r2.managedProperties, function(t4) { - if (t4.createDetails && t4.createDetails.getCreateClass) { - const n3 = e3(t4.createDetails.getCreateClass()); - n3 && n3.length && (i3 = i3.concat(n3)); - } - })), r2 = Object.getPrototypeOf(r2); - return i3; }; - const n2 = i2(31635).__importDefault(i2(92140)); - }, 71439: (e2, t2, i2) => { + }, 84663(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), 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; + t2.SpeechRecViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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(); } - get dependencyType() { - return _.LexV2BotAlias; + addDuplicate(e3) { + const t3 = e3.toLocaleLowerCase(), i3 = o.default.find(this._duplicates, function(e4) { + return t3 === e4.toLocaleLowerCase(); + }); + i3 || this._duplicates.push(e3); } - constructor() { - 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(); + _containerHasUnsupportedLangSpeechRecTerms(e3) { + return !!e3.hasTerms && !e3.isSupported; } - _createItemViewModel(e3) { - return new c.default(e3); + _createContainer(e3) { + const t3 = a.getDisplayName(e3), i3 = a.getLanguageEntry(e3), n3 = new p.SpeechRecTermContainer(this, i3, t3); + return this._allContainers[e3.toLowerCase()] = n3, n3; } - 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 ? d.lexV2BotNameManager.getItem(t3.botId) : null; + _initialize() { + o.default.each(this.model, (e3, t3) => this._createContainer(t3)), this.refreshContainers(); } - } - 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, c = 30; - function d(e3) { - return (e3 >>> 24 & 255) + (e3 >>> 8 & 65280) + ((65280 & e3) << 8) + ((255 & e3) << 24); - } - function p() { - this.mode = 0, this.last = false, this.wrap = 0, this.havedict = false, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new n2.Buf16(320), this.work = new n2.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0; - } - function _(e3) { - var t3; - return e3 && e3.state ? (t3 = e3.state, e3.total_in = e3.total_out = t3.total = 0, e3.msg = "", t3.wrap && (e3.adler = 1 & t3.wrap), t3.mode = 1, t3.last = 0, t3.havedict = 0, t3.dmax = 32768, t3.head = null, t3.hold = 0, t3.bits = 0, t3.lencode = t3.lendyn = new n2.Buf32(852), t3.distcode = t3.distdyn = new n2.Buf32(592), t3.sane = 1, t3.back = -1, 0) : l; - } - function h(e3) { - var t3; - return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0, _(e3)) : l; - } - function m(e3, t3) { - var i3, n3; - return e3 && e3.state ? (n3 = e3.state, t3 < 0 ? (i3 = 0, t3 = -t3) : (i3 = 1 + (t3 >> 4), t3 < 48 && (t3 &= 15)), t3 && (t3 < 8 || t3 > 15) ? l : (null !== n3.window && n3.wbits !== t3 && (n3.window = null), n3.wrap = i3, n3.wbits = t3, h(e3))) : l; - } - function g(e3, t3) { - var i3, n3; - return e3 ? (n3 = new p(), e3.state = n3, n3.window = null, 0 !== (i3 = m(e3, t3)) && (e3.state = null), i3) : l; - } - var f, T, y = true; - function S(e3) { - if (y) { - var t3; - for (f = new n2.Buf32(512), T = new n2.Buf32(32), t3 = 0; t3 < 144; ) e3.lens[t3++] = 8; - for (; t3 < 256; ) e3.lens[t3++] = 9; - for (; t3 < 280; ) e3.lens[t3++] = 7; - for (; t3 < 288; ) e3.lens[t3++] = 8; - for (s(1, e3.lens, 0, 288, f, 0, e3.work, { bits: 9 }), t3 = 0; t3 < 32; ) e3.lens[t3++] = 5; - s(2, e3.lens, 0, 32, T, 0, e3.work, { bits: 5 }), y = false; + get containers() { + return this._containers; } - e3.lencode = f, e3.lenbits = 9, e3.distcode = T, e3.distbits = 5; - } - function A(e3, t3, i3, r3) { - var o2, a2 = e3.state; - return null === a2.window && (a2.wsize = 1 << a2.wbits, a2.wnext = 0, a2.whave = 0, a2.window = new n2.Buf8(a2.wsize)), r3 >= a2.wsize ? (n2.arraySet(a2.window, t3, i3 - a2.wsize, a2.wsize, 0), a2.wnext = 0, a2.whave = a2.wsize) : ((o2 = a2.wsize - a2.wnext) > r3 && (o2 = r3), n2.arraySet(a2.window, t3, i3 - r3, o2, a2.wnext), (r3 -= o2) ? (n2.arraySet(a2.window, t3, i3 - r3, r3, 0), a2.wnext = r3, a2.whave = a2.wsize) : (a2.wnext += o2, a2.wnext === a2.wsize && (a2.wnext = 0), a2.whave < a2.wsize && (a2.whave += o2))), 0; - } - 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, 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, v = f2, F = 0; - e: for (; ; ) switch (i3.mode) { - case 1: - if (0 === i3.wrap) { - i3.mode = 13; - break; - } - for (; y2 < 16; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - if (2 & i3.wrap && 35615 === T2) { - i3.check = 0, V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, i3.check = o(i3.check, V, 2, 0), T2 = 0, y2 = 0, i3.mode = 2; - 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 = c; - break; - } - if (8 != (15 & T2)) { - 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 = c; - break; - } - i3.dmax = 1 << M, e3.adler = i3.check = 1, i3.mode = 512 & T2 ? 10 : u, T2 = 0, y2 = 0; - break; - case 2: - for (; y2 < 16; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - if (i3.flags = T2, 8 != (255 & i3.flags)) { - e3.msg = "unknown compression method", i3.mode = c; - break; - } - if (57344 & i3.flags) { - 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; - case 3: - for (; y2 < 32; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - i3.head && (i3.head.time = T2), 512 & i3.flags && (V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, V[2] = T2 >>> 16 & 255, V[3] = T2 >>> 24 & 255, i3.check = o(i3.check, V, 4, 0)), T2 = 0, y2 = 0, i3.mode = 4; - case 4: - for (; y2 < 16; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - i3.head && (i3.head.xflags = 255 & T2, i3.head.os = T2 >> 8), 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 = 5; - case 5: - if (1024 & i3.flags) { - for (; y2 < 16; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - i3.length = T2, i3.head && (i3.head.extra_len = T2), 512 & i3.flags && (V[0] = 255 & T2, V[1] = T2 >>> 8 & 255, i3.check = o(i3.check, V, 2, 0)), T2 = 0, y2 = 0; - } else i3.head && (i3.head.extra = null); - i3.mode = 6; - case 6: - 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; - O = 0; - do { - 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; - O = 0; - do { - 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: - if (512 & i3.flags) { - for (; y2 < 16; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - if (T2 !== (65535 & i3.check)) { - e3.msg = "header crc mismatch", i3.mode = c; - break; - } - T2 = 0, y2 = 0; - } - i3.head && (i3.head.hcrc = i3.flags >> 9 & 1, i3.head.done = true), e3.adler = i3.check = 0, i3.mode = u; - break; - case 10: - for (; y2 < 32; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - 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; - case u: - if (5 === t3 || 6 === t3) break e; - case 13: - if (i3.last) { - T2 >>>= 7 & y2, y2 -= 7 & y2, i3.mode = 27; - break; - } - for (; y2 < 3; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - switch (i3.last = 1 & T2, y2 -= 1, 3 & (T2 >>>= 1)) { - case 0: - i3.mode = 14; - break; - case 1: - if (S(i3), i3.mode = 20, 6 === t3) { - T2 >>>= 2, y2 -= 2; - break e; - } - break; - case 2: - i3.mode = 17; - break; - case 3: - e3.msg = "invalid block type", i3.mode = c; - } - T2 >>>= 2, y2 -= 2; - break; - case 14: - for (T2 >>>= 7 & y2, y2 -= 7 & y2; y2 < 32; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - if ((65535 & T2) != (T2 >>> 16 ^ 65535)) { - 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 (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; - break; - case 17: - for (; y2 < 14; ) { - if (0 === g2) break e; - 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 = c; - break; - } - i3.have = 0, i3.mode = 18; - case 18: - for (; i3.have < i3.ncode; ) { - for (; y2 < 3; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - i3.lens[U[i3.have++]] = 7 & T2, T2 >>>= 3, y2 -= 3; - } - 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 = 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, w = 65535 & k, !((b = k >>> 24) <= y2); ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - if (w < 16) T2 >>>= b, y2 -= b, i3.lens[i3.have++] = w; - else { - 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 = c; - break; - } - 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, 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, O = 11 + (127 & (T2 >>>= b)), T2 >>>= 7, y2 -= 7; - } - if (i3.have + O > i3.nlen + i3.ndist) { - e3.msg = "invalid bit length repeat", i3.mode = c; - break; - } - for (; O--; ) i3.lens[i3.have++] = M; - } - } - if (i3.mode === c) break; - if (0 === i3.lens[256]) { - 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 = 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 = c; - break; - } - if (i3.mode = 20, 6 === t3) break e; - case 20: - 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, 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, w = 65535 & k, !((b = k >>> 24) <= y2); ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - if (E && !(240 & E)) { - 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 >>>= R, y2 -= R, i3.back += R; - } - if (T2 >>>= b, y2 -= b, i3.back += b, i3.length = w, 0 === E) { - i3.mode = 26; - break; - } - if (32 & E) { - i3.back = -1, i3.mode = u; - break; - } - if (64 & E) { - e3.msg = "invalid literal/length code", i3.mode = c; - break; - } - i3.extra = 15 & E, i3.mode = 22; - case 22: - if (i3.extra) { - for (x = i3.extra; y2 < x; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - i3.length += T2 & (1 << i3.extra) - 1, T2 >>>= i3.extra, y2 -= i3.extra, i3.back += i3.extra; - } - i3.was = i3.length, i3.mode = 23; - case 23: - 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 (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 >>>= R, y2 -= R, i3.back += R; - } - if (T2 >>>= b, y2 -= b, i3.back += b, 64 & E) { - e3.msg = "invalid distance code", i3.mode = c; - break; - } - i3.offset = w, i3.extra = 15 & E, i3.mode = 24; - case 24: - if (i3.extra) { - for (x = i3.extra; y2 < x; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - 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 = c; + findDuplicates() { + this._duplicates.length = 0, o.default.each(this.containers, (e3) => { + o.default.each(e3.getDuplicateTerms(), (e4) => this.addDuplicate(e4)); + }); + } + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + if (!this.hasTermsAny) return null; + const e4 = {}; + return o.default.each(this.model, (t4, i3) => { + t4.length && (e4[i3.toLocaleLowerCase()] = { terms: t4 }); + }), Object.keys(e4).length ? e4 : null; + } + return this.model; + } + getContainer(e3) { + return this._allContainers[e3.toLowerCase()]; + } + getSpeechRecTermsString(e3) { + let t3 = ""; + const i3 = this.getContainer(e3); + return i3 && i3.hasTerms && (t3 = i3.terms.join(h.default.itemListing.itemSeparator)), t3; + } + getUnsupportedSpeechRecLangContainers() { + return o.default.filter(this.containers, (e3) => this._containerHasUnsupportedLangSpeechRecTerms(e3)); + } + getUnsupportedSpeechRecLangContainersStr() { + const e3 = this.getUnsupportedSpeechRecLangContainers(); + if (!e3 || 0 === e3.length) return; + const t3 = []; + let i3; + if (o.default.each(e3, (e4) => { + t3.push((0, _.sprintf)(h.default.language.formatDisplayStringAndCode, e4.languageEntry.text, e4.languageEntry.id)); + }), 1 === t3.length) i3 = t3[0]; + else { + const e4 = t3.pop(); + i3 = t3.join(h.default.itemListing.itemSeparator).concat(m.itemListing.lastItemAndSeparator + e4); + } + return (0, _.sprintf)(m.speechRec.notSupportedLanguage, i3); + } + get hasDuplicates() { + return this._duplicates.length > 0; + } + hasTermsAny() { + return !!o.default.find(this.containers, function(e3) { + return e3.hasTerms; + }); + } + hasTermsFull() { + return o.default.every(this.containers, function(e3) { + return e3.hasTerms; + }); + } + get hasUnsupportedSpeechRecLangContainer() { + return !!o.default.find(this.containers, (e3) => this._containerHasUnsupportedLangSpeechRecTerms(e3)); + } + get isSpeechRecViewModel() { + return true; + } + getGlobalSpeechSpeechRecDisabledError() { + const e3 = [c.lexActionType, d.lexV2ActionType, l.dialogflowActionType, u.dialogflowCxActionType]; + let t3; + for (let i3 = 0; i3 < e3.length; i3++) { + const n3 = e3[i3]; + if (s.actionRegistrationService.getActionIdsForActionType(this.parentFlow, n3).length > 0) { + t3 = r.getInfo(n3); break; } - i3.mode = 25; - case 25: - if (0 === f2) break e; - 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; - } - 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[I++]; - } while (--O); - 0 === i3.length && (i3.mode = 21); - break; - case 26: - if (0 === f2) break e; - _2[m2++] = i3.length, f2--, i3.mode = 21; - break; - case 27: - if (i3.wrap) { - for (; y2 < 32; ) { - if (0 === g2) break e; - g2--, T2 |= p2[h2++] << y2, y2 += 8; - } - 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; - } - i3.mode = 28; - case 28: - if (i3.wrap && i3.flags) { - for (; y2 < 32; ) { - if (0 === g2) break e; - g2--, T2 += p2[h2++] << y2, y2 += 8; - } - if (T2 !== (4294967295 & i3.total)) { - e3.msg = "incorrect length check", i3.mode = c; - break; - } - T2 = 0, y2 = 0; - } - i3.mode = 29; - case 29: - F = 1; - break e; - case c: - F = -3; - break e; - case 31: - return -4; - default: - return l; + } + return t3 ? (0, _.sprintf)(m.menuChoice.globalSpeechAndActionError, t3.name) : null; + } + get languages() { + return this.parentFlow ? this.parentFlow.languages.supportedLanguages : []; + } + refreshContainers() { + const e3 = []; + this._duplicates.length = 0, o.default.each(this.model, (e4, t3) => delete this.model[t3]), o.default.each(this.languages, (t3) => { + let i3 = this._allContainers[t3.toLowerCase()]; + i3 || (i3 = this._createContainer(t3), this._allContainers[t3.toLowerCase()] = i3), this.model[t3] = i3.terms, e3.push(i3); + }), this._containers = o.default.sortBy(e3, (e4) => e4.language); + } + search(e3) { + o.default.each(this.containers, (t3) => e3.addToQueue(t3)); + } + validate(e3) { + if (this.findDuplicates(), this._duplicates.length > 0) { + const t3 = (0, _.sprintf)(m.menuChoice.duplicateSpeechTerms, this._duplicates); + e3.addError(this.menuChoice, t3); + } + } + }; + }, 40773(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(43212), r = i2(17604), a = i2(19284), s = n2.__importDefault(i2(65449)), l = i2(63221), u = i2(47957); + class c extends o.BaseConfigurationListViewModel { + constructor(e3) { + super(e3); + } + get className() { + return "SpeechToTextEngineViewModel"; + } + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const e4 = {}; + if (!this.id || !this.name) return; + return e4.name = this.name, this.selection === l.engineSelectionTypes.engineSelectionDefault && (e4.defaultEngine = true), e4; + } + return { name: this.model.name, id: this.model.id, isDefault: this.model.isDefault, grammarBased: this.model.grammarBased, selection: this.model.selection }; + } + setEngine(e3, t3) { + this.model.id = e3.id, this.model.name = e3.name, this.model.isDefault = e3.isDefault, this.model.grammarBased = e3.grammarBased, this.selection = t3 ? l.engineSelectionTypes.engineSelectionDefault : l.engineSelectionTypes.engineSelectionSpecific; + } + get id() { + return this.model.id; + } + set id(e3) { + this.model.id = e3; + } + get isDefault() { + return this.model.isDefault; + } + set isDefault(e3) { + this.model.isDefault = e3; + } + get selection() { + return this.model.selection; + } + set selection(e3) { + this.model.selection = e3; + } + get isGenesysEngine() { + return this.model.id.startsWith("genesys~") || this.model.id === s.default.defaultId; + } + get label() { + return this.model.name; + } + get name() { + return this.model.name; + } + set name(e3) { + this.model.name = e3; + } + get grammarBased() { + return this.model.grammarBased || this.model.isGrammarBased; + } + set grammarBased(e3) { + this.model.grammarBased = e3; + } + get isGrammarBased() { + return !!this.grammarBased; + } + get supportedLanguages() { + return this.model.supportedLanguages; + } + set supportedLanguages(e3) { + this.model.supportedLanguages = e3; + } + get replacedBy() { + return this.model.replacedBy; + } + set replacedBy(e3) { + this.model.replacedBy = e3; + } + get description() { + return this.isGenesysEngine ? "" : u.integration.name; + } + get isSpeechToTextEngineViewModel() { + return true; + } + isLanguageSupported(e3) { + return !this.supportedLanguages || 0 === this.supportedLanguages.length || this.supportedLanguages.includes(e3.toLowerCase()); + } + static isSttIdBotTranscriptionConnectorType(e3) { + return !!(null == e3 ? void 0 : e3.contains("bot_transcription_connector~")); + } + get isBotTranscriptionConnectorType() { + return c.isSttIdBotTranscriptionConnectorType(this.model.id); + } + get isBotTranscriptionConnectorTypeOrGrammarBased() { + return this.isBotTranscriptionConnectorType || this.isGrammarBased; + } + updateItem(e3) { + e3 && (this.id = e3.id, this.name = e3.name, this.grammarBased = e3.grammarBased, this.supportedLanguages = e3.supportedLanguages); + } + applyReplacedByResolution(e3, t3) { + const i3 = e3(this.id), n3 = (null == i3 ? void 0 : i3.replacedBy) || this.replacedBy; + if (!n3) return; + const o2 = e3(n3); + if (o2) if (t3) { + const e4 = this.selection === l.engineSelectionTypes.engineSelectionDefault; + this.setEngine(o2, e4); + } else this.name = o2.name; + } + validate(e3, t3, i3) { + this.invalidSpeechToTextEngine = void 0; + const n3 = s.default.resolveEngineForId(this.id), o2 = !!s.default.items[this.id] || !!n3, l2 = a.speechToTextEngineManager.getItem(this.id), c2 = (null == l2 ? void 0 : l2.replacedBy) ? a.speechToTextEngineManager.getItem(l2.replacedBy) : void 0, d = !!l2 || !!c2, p = n3 || c2 || this; + if (this.id && !d && !o2 || !p.isLanguageSupported(i3)) { + const n4 = (0, r.sprintf)(u.errors.invalidValue, (0, r.sprintf)(u.speechToText.speechToTextEngineLabelWithLanguageId, i3.toLowerCase())); + e3.addError(t3, n4), this.invalidSpeechToTextEngine = n4; + } } - 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; - return t3.window && (t3.window = null), e3.state = null, 0; - }, t2.inflateGetHeader = function(e3, t3) { - var i3; - return e3 && e3.state && 2 & (i3 = e3.state).wrap ? (i3.head = t3, t3.done = false, 0) : l; - }, t2.inflateSetDictionary = function(e3, t3) { - var i3, n3 = t3.length; - return e3 && e3.state ? 0 !== (i3 = e3.state).wrap && 11 !== i3.mode ? l : 11 === i3.mode && r2(1, t3, n3, 0) !== i3.check ? -3 : A(e3, t3, n3, n3) ? (i3.mode = 31, -4) : (i3.havedict = 1, 0) : l; - }, t2.inflateInfo = "pako inflate (from Nodeca project)"; - }, 71474: (e2, t2, i2) => { - const n2 = i2(32798); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "ConversationSummarySettingList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 71507: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { playUserGreetingActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _user: { writable: true } }), a.baseConstructor.apply(this, arguments); } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.user.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.user.pasteResolveOldToNewValues(e3); - } }, user: { enumerable: true, get: function() { - return this._user; - }, set: function(e3) { - this._user = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 71514: (e2, t2, i2) => { + t2.default = c; + }, 78863(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionList = void 0; - 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(); + t2.SurveyFormViewModel = void 0; + const n2 = i2(56969), o = i2(56969); + i2(5587); + t2.SurveyFormViewModel = class { + constructor(e3) { + var t3; + this._model = e3, this.hasInternalFormError = false; + const i3 = (0, n2.checkSurveyForm)(this._model); + (null === (t3 = null == i3 ? void 0 : i3.rawErrors) || void 0 === t3 ? void 0 : t3.length) && (this.hasInternalFormError = true, this.dependencyErrorDetails = (0, o.getSurveyFormErrorText)(i3)); } - get expressions() { - return this.items; + get className() { + return "SurveyFormViewModel"; } - get isZeroBasedList() { - return this._isZeroBasedList; + get isBaseClass() { + return false; } - set isZeroBasedList(e3) { - this._isZeroBasedList = e3, this.orderChanged(); + get id() { + return this._model.id; } - get addIndexSuffixToSingleItemLists() { - return this._labelSingleItem; + get name() { + return this._model.name; } - set addIndexSuffixToSingleItemLists(e3) { - this._labelSingleItem = e3, this.orderChanged(); + get label() { + return this.name; } - get shouldUseBracketsInLabel() { - return this._shouldUseBracketsInLabel; + get questionGroups() { + return this._model.questionGroups; } - set shouldUseBracketsInLabel(e3) { - this._shouldUseBracketsInLabel = e3, this.orderChanged(); + get language() { + return this._model.language; + } + get header() { + return this._model.header; + } + get footer() { + return this._model.footer; + } + get latestPublishedVersion() { + return this._model.latestPublishedVersion; + } + get isSurveyFormViewModel() { + return true; + } + get contextId() { + return this._model.contextId; + } + get result() { + return this._model.result; + } + get dependencyError() { + return this._model.dependencyError; + } + get division() { + return this._model.division; + } + get isPublished() { + var e3; + return !!(null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.published); + } + get isDisabled() { + var e3; + return !!(null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.disabled); + } + get modifiedDate() { + var e3; + return new Date(null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.modifiedDate); + } + get modifiedDateStr() { + return this._model.modifiedDate; + } + }; + }, 74064(e2, t2, i2) { + "use strict"; + t2.TTSDataViewModel = void 0; + const n2 = i2(31635), o = i2(96618), r = 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(91941), _ = i2(63221), h = i2(47957); + class m extends p.SpeechDataViewModel { + constructor(e3, t3, i3) { + super(e3, t3, i3); + } + get className() { + return "TTSDataViewModel"; + } + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + let e4; + if (!this.hasEngineNoneSelection && this.engine) { + e4 = {}; + const t4 = e4[this.hasDefaultEngineSelected ? "defaultEngine" : this.engine.name] = {}; + !this.hasVoiceEngineSelection && this.voice ? this.hasDefaultVoiceSelected ? t4.defaultVoice = true : t4.voice = this.voice.name : t4.noVoice = true; + } else e4 = { noEngine: true }; + return e4; + } + return this.model; + } + getDisplayName() { + return this.parent && a.default.isFunction(this.parent.getDisplayName) && this.parent.getDisplayName(); + } + getSelectedEngine() { + return this.engine.id ? this.engineService.getItemById(this.engine.id) : null; + } + initializeDesignTime() { + this.engine.id || this.hasEngineNoneSelection ? this.updateDefaultEngineAndVoice() : this.parent.parentFlow.flowMetaData.ttsDataVersion ? this.setInitialValues() : this.migrateOldValues(), super.initializeDesignTime(); + } + get engineService() { + return d.default; + } + get id() { + return this.languageId + "-tts"; + } + get isTtsDataViewModel() { + return true; + } + get hasDefaultVoiceSelected() { + return this.voice.selection === _.engineSelectionTypes.engineSelectionDefault; + } + get hasEngineNoneSelection() { + return this.engine.selection === _.engineSelectionTypes.engineSelectionNone; + } + get hasVoiceEngineSelection() { + return this.voice.selection === _.engineSelectionTypes.engineSelectionNone; + } + get voice() { + return this._model.voice; + } + set voice(e3) { + this._model.voice = e3; + } + migrateOldValues() { + var e3; + const t3 = this.engineService.getGenesysEngine(); + 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); + } else this.setEngine(null, false), this.setVoice(null, false); + } + setInitialValues() { + var e3; + const t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.type, i3 = this.engineService.getEnginesForLanguageAndFlowTypeOrTypes(this.languageId, t3); + if (!i3 || !i3.length) return this.setEngine(null, false), void this.setVoice(null, false); + let n3 = this.engineService.getDefaultEngineForLanguageAndFlowTypeOrTypes(this.languageId, t3); + const o2 = !!n3; + if (!n3) { + const e4 = this.engineService.getGenesysEngine(); + e4 && e4.getEngineSupportsLanguageAndFlowType(this.languageId, t3) && (n3 = e4); + } + if (!n3) { + const e4 = a.default.sortBy(i3, "name")[0]; + e4 && (n3 = e4); + } + this.setEngine(n3, o2); + let r2 = n3.getDefaultVoiceForLanguage(this.languageId); + const s2 = !!r2; + if (!r2) { + const e4 = n3.getVoicesForLanguage(this.languageId), t4 = a.default.sortBy(e4, "name")[0]; + t4 && (r2 = t4); + } + this.setVoice(r2, s2); + } + get hasUsableEngineSelectedForLanguage() { + return !!this.engineService.getItemById(this.engine.id); + } + setEngine(e3, t3) { + super.setEngine(e3, t3), this.setVoice(null, false), this.validateParent(), this.initializeDesignTimeCalled && u.emitter.emit(u.ttsEngineChanged, this); + } + setVoice(e3, t3) { + e3 ? (this.voice.id = e3.id, this.voice.name = e3.name, this.voice.selection = t3 ? _.engineSelectionTypes.engineSelectionDefault : _.engineSelectionTypes.engineSelectionSpecific) : (this.voice.id = null, this.voice.name = null, this.voice.selection = _.engineSelectionTypes.engineSelectionNone), this.validateParent(), this.initializeDesignTimeCalled && u.emitter.emit(u.ttsEngineVoiceChanged, this); + } + updateDefaultEngineAndVoice() { + var e3; + if (this.isReadOnly) return; + 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); + if (t4 && t4.id !== this.engine.id) { + this.setEngine(t4, true); + const e4 = t4.getDefaultVoiceForLanguage(this.languageId); + this.setVoice(e4, !!e4), this.engineUpdatedToMatchOrg = true; + } else t4 || (this.engineService.getDefaultEngineForLanguage(this.languageId) ? (this.engineErrorMessage = (0, r.sprintf)(h.textToSpeech.defaultEngineNotSupported, this.languageId), i3 = true) : this.engineErrorMessage = (0, r.sprintf)(h.textToSpeech.defaultEngineRemoved, this.languageId)); + } + if (this.hasDefaultVoiceSelected && !t3.message && !i3) { + const e4 = this.engineService.getItemById(this.engine.id); + if (!e4) return; + const i4 = e4.getDefaultVoiceForLanguage(this.languageId); + i4 ? i4.id !== this.voice.id && (this.setVoice(i4, true), t3.message = (0, r.sprintf)(h.textToSpeech.defaultVoiceUpdated, this.languageId, i4.name)) : this.voiceErrorMessage = (0, r.sprintf)(h.textToSpeech.defaultVoiceRemoved, e4.name, this.languageId); + } + t3.message && u.emitter.emit(u.alert, t3); + } + updateDependencies() { + this.engine.id && l.registerConsumer(this, h.textToSpeech.ttsEngine, this.engine.name, this.engine.id, l.NO_VERSION, s.TtsEngine, this.parent.parentFlow), this.voice.id && l.registerConsumer(this, h.textToSpeech.ttsVoice, this.voice.name, this.voice.id, l.NO_VERSION, s.TtsVoice, this.parent.parentFlow); + } + getNoEngineSelectedErrorMessage() { + return this.parentFlow.definition.languagesRequireTts ? `${(0, r.sprintf)(h.textToSpeech.errorNoEngineSelected, this.languageId)} ${h.textToSpeech.ttsEngineRequiredByFlowTypeOnLanguages}` : (0, r.sprintf)(h.textToSpeech.errorNoEngineSelected, this.languageId); } validate(e3) { + if (this.engineErrorMessage = null, this.voiceErrorMessage = null, this.voiceWarningMessage = null, !this.parentFlow.languagesSupportTtsAndAsrSettings) return; let t3; - 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); - }); + if (this.hasEngineNoneSelection) return void (this.parentFlow.definition.languagesRequireTts && (t3 = this.getNoEngineSelectedErrorMessage(), this.engineErrorMessage = t3, e3.addError(this.parent, t3, null, null, 100))); + if (this.updateDefaultEngineAndVoice(), this.engineErrorMessage && e3.addError(this.parent, this.engineErrorMessage), this.voiceErrorMessage && e3.addError(this.parent, this.voiceErrorMessage), this.hasDefaultVoiceSelected && this.engineErrorMessage) return; + if (!this.engine.id) return t3 = this.getNoEngineSelectedErrorMessage(), this.engineErrorMessage = t3, void e3.addError(this.parent, t3); + const i3 = this.engineService.getItemById(this.engine.id); + if (!i3) return t3 = (0, r.sprintf)(h.textToSpeech.errorEngineNotFound, this.engine.name), this.engineErrorMessage = t3, void e3.addError(this.parent, t3, null, null, 100); + if (this.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().find((n4) => n4 !== o.flowTypes.flowTypeSecureCall || i3.isSecure ? i3.getEngineSupportsFlowType(n4) ? void 0 : (t3 = (0, r.sprintf)(h.textToSpeech.errorEngineFlowTypeNotSupported, this.engine.name, n4), this.engineErrorMessage = t3, e3.addError(this.parent, t3, null, null, 100), true) : (t3 = (0, r.sprintf)(h.textToSpeech.errorEngineNotSecure, this.engine.name), this.engineErrorMessage = t3, e3.addError(this.parent, t3, null, null, 100), true))) return; + if (!this.voice.id) return t3 = (0, r.sprintf)(h.textToSpeech.errorNoVoiceSelected, this.languageId), this.voiceErrorMessage = t3, void e3.addError(this.parent, t3); + const n3 = i3.getVoice(this.voice.id); + if (!n3) return t3 = (0, r.sprintf)(h.textToSpeech.errorVoiceNotFound, this.voice.name), this.voiceErrorMessage = t3, void e3.addError(this.parent, t3); + if (!n3.getVoiceSupportsLanguage(this.languageId)) { + const t4 = (0, r.sprintf)(h.textToSpeech.voiceLanguageMismatch, this.languageId); + return e3.addWarning(this.parent, t4), void (this.voiceWarningMessage = h.textToSpeech.voiceLanguageMismatchHelp); + } } - _initialize() { - r2.default.each(this.model, (e3) => { - const t3 = this.createItem(e3, void 0, this.options); - this.items.push(t3); + } + t2.TTSDataViewModel = m; + }, 55678(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(92140)), a = i2(24032), s = n2.__importDefault(i2(45098)), l = i2(62297), u = n2.__importDefault(i2(15777)), c = i2(47957), d = (0, a.getTopic)("TTSEngineViewModel"); + class p extends l.EngineViewModel { + get className() { + return "TTSEngineViewModel"; + } + constructor(e3, t3) { + super(e3, t3), this.voices = {}, e3 && r.default.isObject(e3.voices) && r.default.each(e3.voices, (e4, t4) => { + const i3 = this.getDependencyTrackingIdForVoice(t4), n3 = new u.default(e4, i3, this); + s.default.items[i3] = n3, this.voices[i3] = n3; }); } - addClipboardDependencies(e3) { - this.expressions.forEach((t3) => { - t3.addClipboardDependencies(e3); + addLanguage(e3, t3, i3) { + super.addLanguage(e3, t3, i3), r.default.each(i3, (t4) => { + const i4 = this.getDependencyTrackingIdForVoice(t4.id), n3 = this.voices[i4]; + n3 ? n3.setLanguage(e3, t4.isDefault) : d.error(`Voice view model not found when trying to add language with voice. ID: '${i4}', langId: '${e3}'`); }); } - createItem(e3, t3, i3) { - 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; + get maxRequestLength() { + return this.model.maxRequestLength; } - getLabel(e3) { - if (!this.addIndexSuffixToSingleItemLists && this.expressions.length <= 1 && !this.isZeroBasedList && !this.shouldUseBracketsInLabel) return this.label; - const t3 = this.isZeroBasedList ? e3 : e3 + 1; - return this.shouldUseBracketsInLabel ? this.label + " [" + t3 + "]" : this.label + " " + t3; + set maxRequestLength(e3) { + this.model.maxRequestLength = e3; } - get isExpressionList() { - return true; + getFullDescription() { + if (!this.maxRequestLength) return; + const e3 = { name: this.name, additionalInfoSections: [], noAdditionalInfoSectionBullet: true }; + return this.maxRequestLength && e3.additionalInfoSections.push({ title: (0, o.sprintf)(c.textToSpeech.maxCharLengthTitle, this.maxRequestLength), entries: [c.textToSpeech.maxCharLengthBody] }), e3; } - orderChanged() { - this.expressions.forEach((e3, t3) => { - e3.label = this.getLabel(t3); - }), super.orderChanged(); + getSortedVoicesArray() { + const e3 = r.default.map(this.voices, (e4) => e4); + return r.default.sortBy(e3, "name"); } - get className() { - return "ExpressionList"; + getStringExceedsMaxRequestLengthError(e3, t3, i3) { + return r.default.isString(e3) && this.maxRequestLength && e3.length > this.maxRequestLength ? t3 && i3 ? (0, o.sprintf)(c.audio.errorMaxTtsLengthForPrompt, t3, i3, e3.length, this.maxRequestLength, this.name) : (0, o.sprintf)(c.audio.errorMaxTtsLength, e3.length, this.maxRequestLength, this.name) : null; } - 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(); + getVoiceByName(e3) { + if (!e3) return; + const t3 = e3.toLocaleLowerCase(); + return r.default.find(this.voices, (e4) => e4.lowerName === t3); } - _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)); - } - } + getVoice(e3) { + const t3 = s.default.getItemById(e3); + return t3 && t3.engine.id === this.id ? t3 : void 0; + } + getVoicesForLanguage(e3) { + return r.default.isString(e3) ? r.default.filter(this.voices, (t3) => t3 && t3.getVoiceSupportsLanguage(e3)) : []; + } + getSelectableVoicesForLanguage(e3) { + return Object.values(this.voices).filter((e4) => !!this.getVoice(e4.id)); + } + getDefaultVoiceForLanguage(e3) { + return r.default.find(this.voices, (t3) => t3.getIsVoiceDefaultForLanguage(e3)); + } + getDependencyTrackingIdForVoice(e3) { + return this.id + "/" + e3; + } + get isTTSEngineViewModel() { + return true; + } + } + t2.default = p; + }, 46447(e2, t2) { + "use strict"; + t2.UserTokenViewModel = void 0, t2.UserTokenViewModel = class { + constructor(e3) { + this._model = e3; + } + get isTrusteeUser() { + return !(!this.homeOrganizationId || !this.organizationId) && this.homeOrganizationId !== this.organizationId; + } + get homeOrganizationId() { + return this._model.homeOrganization ? this._model.homeOrganization.id : null; } - _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; + get homeOrganizationName() { + return this._model.homeOrganization ? this._model.homeOrganization.name : null; + } + get organizationId() { + return this._model.organization ? this._model.organization.id : null; + } + }; + }, 93555(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(55299); + class o extends n2.BaseClass { + constructor(e3, t3, i3, n3, o2, r, a) { + super(), this.text = e3, this.flowElementId = t3, this.priority = i3 || 0, this.item = n3, this.displayName = o2, this.guxIcon = r, this.jumpToItem = a; + } + get className() { + return "ValidationIssue"; + } + getNodeToShow() { + return this.jumpToItem || this.item; } } - t2.ExpressionList = g; - }, 71516: (e2, t2, i2) => { + t2.default = o; + }, 23106(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), 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 { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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.parentFlow, e3), this._loadModel(t3); + 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); } - getDetails() { - return this.messageBody ? new o.ActionDetails([g.sendAutoReply.sendBody], [this.messageBody.text]) : null; + get className() { + return "ValidationIssues"; } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(...arguments), this.replyToSenderOnly = true; + addRollUpError(e3) { + this.rollupErrors.push(e3); } - _initializeDesignTime() { - super._initializeDesignTime(), r2.default.isUndefined(this.replyToSenderOnly) && (this.replyToSenderOnly = false); + addRollUpWarning(e3) { + this.rollupWarnings.push(e3); } - get replyToSenderOnly() { - return this.model.replyToSenderOnly; + clearRollupErrorAndWarnings() { + this.rollupErrors = [], this.rollupWarnings = []; } - set replyToSenderOnly(e3) { - this.model.replyToSenderOnly = e3; + clearErrorsAndWarnings() { + this.errors = [], this.warnings = []; } - 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: 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 }]; + getErrorTexts() { + return o.default.pluck(this.errors, "text"); } - postProcessYamlConfig(e3, t3, i3) { - e3.replyMode = this.replyToSenderOnly ? h.default.replyToSender : h.default.replyToAll; + getWarningTexts() { + return o.default.pluck(this.warnings, "text"); } - } - 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), c = i2(30801), d = i2(30801), p = i2(10798), _ = n2.__importDefault(i2(4648)); - class h extends o.default { - get requiredAuth() { - return (0, p.isFeatureAvailable)(_.default.divisionedCannedResponses) ? a.externalAuthorizations.authStrings.responseLibrarySearch : a.externalAuthorizations.authStrings.responseLibraryView; + getRollupErrorTexts() { + return this.rollupErrors; } - 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 = [c.formActionType, s.getResponseActionType, d.sendDigitalContentActionType], this.actionPropertyForUsageSearch = "libraryId", this.className = "ResponseLibraryManager", this.suppressSearch = true, this._initialize(); + getRollupWarningTexts() { + return this.rollupWarnings; } - _createItemViewModel(e3) { - return new u.ResponseLibraryViewModel(e3); + tryAddError(e3, t3, i3, n3) { + return !this.validationObjectAlreadyExists(this.errors, e3, t3) && (this.errors.push(this.createValidationIssue(e3, t3, i3, n3)), this.errors = o.default.sortByNumericDesc(this.errors), true); } - } - 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), 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: _.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)]; + tryAddWarning(e3, t3, i3, n3) { + return !this.validationObjectAlreadyExists(this.warnings, e3, t3) && (this.warnings.push(this.createValidationIssue(e3, t3, i3, n3)), this.warnings = o.default.sortByNumericDesc(this.warnings), true); } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + createValidationIssue(e3, t3, i3, n3) { + return new u.default(e3, t3, i3, this.item, this.displayName, this.guxIcon, n3); } - setNewInstanceDefaults() { - return super.setNewInstanceDefaults(); + validationObjectAlreadyExists(e3, t3, i3) { + return !!o.default.findWhere(e3, { text: t3, flowElementId: i3 }) && (r.error("Validation error already exists: " + t3), true); } } - 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) => { + t2.default = d; + }, 31498(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NameIdDescriptionModelList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(84050), a = i2(15116); - class s extends a.PagedList { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67432)); + class o extends n2.default { constructor(e3) { super(e3); } - get entities() { - return this._entities; - } - set entities(e3) { - this._entities = this.reviveArray(e3, o.NameIdDescriptionModel); + get isVideoViewModel() { + return true; } } - t2.NameIdDescriptionModelList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 71538: (e2, t2, i2) => { + t2.default = o; + }, 15777(e2, t2, i2) { "use strict"; + var n2; Object.defineProperty(t2, "__esModule", { value: true }); - 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), 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"); + const o = i2(31635), r = i2(17604), a = o.__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; + let n3 = t3; + n3 && !t3.includes(i3.id + "/") && (n3 = i3.getDependencyTrackingIdForVoice(t3)), this.id = n3, this._updateCachedValues(); } - static createFromJsonSchema(e3) { - const t3 = new c(); - return t3.populateRootPropertiesFromJsonSchema(e3), t3; + get engine() { + return this._engine; } - get additionalProperties() { - return this._additionalProperties; + _traceNoLanguageError() { + this._noLanguageErrorTraced || (p.error(`Language tag not set on voice with ID '${this.id}'`), this._noLanguageErrorTraced = true); } - set additionalProperties(e3) { - this._additionalProperties = e3; + _updateCacheLanguage() { + var e3; + this._lowerLanguage = this.language ? this.language.toLocaleLowerCase() : this.language, this._languageNoRegion = null === (e3 = this._lowerLanguage) || void 0 === e3 ? void 0 : e3.split("-")[0]; } - get id() { - return this._id; + _updateCacheName() { + this._lowerName = this.name ? this.name.toLocaleLowerCase() : this.name; } - set id(e3) { - this._id = e3; + _updateCachedValues() { + this._updateCacheLanguage(), this._updateCacheName(), delete this._genderForDisplay, delete this._flexibleTTSLabel; } - get maxItems() { - return this._maxItems; + get className() { + return "VoiceViewModel"; } - set maxItems(e3) { - (r2.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._maxItems = e3); + get description() { + return (0, r.sprintf)(d.textToSpeech.voiceDescription, this.language, this.genderForDisplay); } - get minItems() { - return this._minItems; + get isDefault() { + return this._model.isDefault; } - set minItems(e3) { - (r2.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._minItems = e3); + set isDefault(e3) { + this._model.isDefault = !!e3; } - get maxLength() { - var e3, t3; - return null !== (e3 = this._maxLength) && void 0 !== e3 ? e3 : null === (t3 = this._items) || void 0 === t3 ? void 0 : t3.maxLength; + get isVoiceViewModel() { + return true; } - set maxLength(e3) { - (r2.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._maxLength = e3); + get language() { + return this._model.language; } - get minLength() { - var e3, t3; - return null !== (e3 = this._minLength) && void 0 !== e3 ? e3 : null === (t3 = this._items) || void 0 === t3 ? void 0 : t3.minLength; + set language(e3) { + this._model.language = e3, this._updateCacheLanguage(); } - set minLength(e3) { - (r2.default.isActualNumber(e3) && e3 >= 0 || void 0 === e3) && (this._minLength = e3); + get lowerLanguage() { + return this._lowerLanguage; } - get maxValue() { - return this._maxValue; + get name() { + return this._model.name; } - set maxValue(e3) { - (r2.default.isActualNumber(e3) || void 0 === e3) && (this._maxValue = e3); + set name(e3) { + this._model.name = e3, this._updateCacheName(); } - get maxValueInclusive() { - return this._maxValueInclusive; + get lowerName() { + return this._lowerName; } - set maxValueInclusive(e3) { - (r2.default.isBoolean(e3) || void 0 === e3) && (this._maxValueInclusive = e3); + get gender() { + return this._model.gender; } - get minValue() { - return this._minValue; + set gender(e3) { + this._model.gender = e3; } - set minValue(e3) { - (r2.default.isActualNumber(e3) || void 0 === e3) && (this._minValue = e3); + get genderForDisplay() { + return this._genderForDisplay || (this.gender ? this._genderForDisplay = d.textToSpeech.genders[this.gender] || this.gender : this._genderForDisplay = d.textToSpeech.genders.unspecified), this._genderForDisplay; } - get minValueInclusive() { - return this._minValueInclusive; + 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; } - set minValueInclusive(e3) { - (r2.default.isBoolean(e3) || void 0 === e3) && (this._minValueInclusive = e3); + setLanguage(e3, t3) { + this.language = e3, this.isDefault = t3; } - get minValueStr() { - return this._minValueStr; + getIsVoiceDefaultForLanguage(e3) { + return this.isDefault && this.getVoiceSupportsLanguage(e3); } - set minValueStr(e3) { - (r2.default.isString(e3) || void 0 === e3) && (this._minValueStr = e3, this._minValueParsedDecimal = null); + getVoiceSupportsLanguage(e3, t3) { + return !!a.default.isString(e3) && (this._lowerLanguage ? this._lowerLanguage === (t3 ? e3 : e3.toLocaleLowerCase()) : (this._traceNoLanguageError(), false)); } - get minValueParsedDecimal() { - return null === this._minValueParsedDecimal && (this._minValueParsedDecimal = (0, l.getParsedDecimal)(this._minValueStr, u.VALIDATE_ALLOW_INTEGER_FORM)), this._minValueParsedDecimal; + getVoiceSupportsLanguageNoRegion(e3) { + return !!a.default.isString(e3) && (this._languageNoRegion ? this._languageNoRegion === e3 : (this._traceNoLanguageError(), false)); } - get maxValueStr() { - return this._maxValueStr; + updateItem(e3) { + e3 && (this.gender = e3.gender, this.isDefault = e3.isDefault, this.language = e3.language, this.name = e3.name); } - set maxValueStr(e3) { - (r2.default.isString(e3) || void 0 === e3) && (this._maxValueStr = e3, this._maxValueParsedDecimal = null); + } + o.__decorate([(0, u.enumerable)(false), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== c.EngineViewModel && c.EngineViewModel) ? n2 : Object), o.__metadata("design:paramtypes", [])], _.prototype, "engine", null), t2.default = _; + }, 41676(e2, t2, i2) { + "use strict"; + t2.WorktypeViewModel = void 0; + const n2 = i2(31635).__importDefault(i2(92140)); + t2.WorktypeViewModel = class { + constructor(e3) { + this._model = e3; } - get maxValueParsedDecimal() { - return null === this._maxValueParsedDecimal && (this._maxValueParsedDecimal = (0, l.getParsedDecimal)(this._maxValueStr, u.VALIDATE_ALLOW_INTEGER_FORM)), this._maxValueParsedDecimal; + get className() { + return "WorktypeViewModel"; + } + get isBaseClass() { + return false; + } + get id() { + return this._model.id; } get name() { - return this._name; + return this._model.name; } - set name(e3) { - this._name = e3; + get label() { + return this.name; } - get description() { - return this._description; + get schema() { + return this._model.schema; } - set description(e3) { - this._description = e3; + get statuses() { + return this._model.statuses; } - get title() { - return this._title; + get schemas() { + return this._model.schemas; } - set title(e3) { - this._title = e3 || void 0; + get schemaInfo() { + return this._model.schemaInfo; } - get dataTypeId() { - return this._dataTypeId; + get dateBasedRules() { + return this._model.dateBasedRules; } - set dataTypeId(e3) { - this._dataTypeId = e3; + get result() { + return this._model.result; } - get isCollection() { - return this._isColl; + get flow() { + return this._model.flow; } - set isCollection(e3) { - this._isColl = e3; + get resultIsOk() { + var e3; + return "ok" === (null === (e3 = this.result) || void 0 === e3 ? void 0 : e3.toLowerCase()); } - get properties() { - return this._properties; + get isAssociatedWithFlow() { + var e3; + return n2.default.isString(null === (e3 = this.flow) || void 0 === e3 ? void 0 : e3.id); } - set properties(e3) { - this._properties = this.reviveArray(e3, c); + get isWorktypeViewModel() { + return true; } - get allowableValues() { - return this._allowableValues; + }; + }, 97400(e2, t2, i2) { + "use strict"; + var n2, o; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isActionContainerViewModel = function(e3) { + return e3.isActionContainerViewModel; + }; + const r = i2(31635), a = i2(17604), s = r.__importDefault(i2(92140)), l = r.__importStar(i2(69453)), u = i2(90205), c = i2(40478), d = r.__importStar(i2(24032)), p = r.__importStar(i2(36781)), _ = r.__importDefault(i2(98114)), h = r.__importStar(i2(62829)), m = r.__importStar(i2(58380)), g = i2(26847), f = r.__importStar(i2(1115)), T = i2(1910), y = i2(1910), S = i2(1910), A = i2(1910), N = r.__importDefault(i2(41197)), v = i2(47957); + function I(e3, t3, i3) { + const n3 = (0, T.getStringValue)(t3, "targetTaskRef", i3); + if (!n3) return; + const o2 = (0, c.extractRefIdFromPath)(n3), r2 = i3.refIdMap.get(o2), s2 = e3.linkTask; + "function" == typeof s2 && r2 ? s2.call(e3, r2) : r2 || i3.warn((0, a.sprintf)(l.configureFromModel.targetTaskRefCouldNotBeResolved, o2)); + } + const C = d.getTopic("ActionContainerViewModel"); + class O extends N.default { + constructor(e3, t3) { + super(e3, t3), this.actions = [], this.hasBranchTerminatingWithEndTask = false, this.isHidden = false, this.isTerminating = false, n2.set(this, false), o.set(this, void 0); } - set allowableValues(e3) { - this._allowableValues = e3; + get terminatesLoop() { + return r.__classPrivateFieldGet(this, n2, "f"); } - get isRequired() { - return this._isRequired; + addAction(e3, t3) { + const i3 = h.createAction(e3, this); + return this._insertAction(i3, t3), this.parentFlow.calcFlowSizeAsync(), p.emitter.emit(p.actionsChanged), i3; } - set isRequired(e3) { - this._isRequired = e3; + addClipboardDependencies(e3) { + s.default.each(this.actions, (t3) => { + t3.addClipboardDependencies(e3); + }); } - get readOnly() { - return this._readOnly; + appendActionsFromModel(e3, t3, i3, n3, o2) { + return r.__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, () => r.__awaiter(this, void 0, void 0, function* () { + yield (0, A.withModelContextAsync)(i3, "actions", () => r.__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}]`, () => r.__awaiter(this, void 0, void 0, function* () { + var t4; + try { + const r2 = i3.actionTypeRegistry.getNodeInfo(g2); + if (!r2) return void this._reportAppendActionError(i3, (0, a.sprintf)(l.changeSet.apply.invalidActionType, g2)); + if (!r2.getAvailability(c2, d2, this.parentFlow)) return void this._reportAppendActionError(i3, (0, a.sprintf)(l.changeSet.apply.actionNotAvailableAtLocation, r2.name, p2)); + const _3 = this.addAction(r2.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 !== o2 && (i3.changeSetResultIndex = o2); + const c3 = null != o2 ? o2 : i3.changeSetResultIndex, d3 = null != c3 ? c3 : 0; + if (i3.reportActivity({ type: "objectCreated", objectType: "action", objectName: _3.name || r2.name, actionTypeName: g2, trackingId: _3.trackingId, objectId: _3.id, viewModel: _3, changeIndex: d3, message: { template: l.changeSet.activity.actionCreated, params: [{ value: _3.name || r2.name, link: { objectId: _3.id, objectType: "action", trackingId: _3.trackingId, viewModel: _3 } }] } }), i3.onStepComplete && (yield i3.onStepComplete({ type: "objectCreated", objectType: "action", objectName: _3.name || r2.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 || r2.name, actionTypeName: g2, trackingId: _3.trackingId, objectId: _3.id, viewModel: _3, changeIndex: d3, message: { template: l.changeSet.activity.actionConfiguring, params: [{ value: _3.name || r2.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 || r2.name, viewModel: _3 }, yield _3.configureFromModel(f2, S.ModelFormat.FlowYaml, i3), !i3.continueProcessing || i3.isCancelled) return; + I(_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, r3 = void 0 !== o2 ? `/changes[${c3}]/add/actionsToAdd[${e4}]` : `/changes[${c3}]/${n3}/actions[${e4}]`; + i3.changeSetResults.addResult({ path: r3, 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)); + } + })); + } + })); + })); + }); } - set readOnly(e3) { - (r2.default.isBoolean(e3) || void 0 === e3) && (this._readOnly = e3); + _resolveAvailabilityContext() { + const e3 = this.topParent || this; + return { currentNode: e3, inTaskMode: !e3.isMenu && !e3.isMenuChoice }; } - get patchable() { - return this._patchable; + _reportAppendActionError(e3, t3) { + e3.error(t3), e3.continueProcessing = false; } - set patchable(e3) { - (r2.default.isBoolean(e3) || void 0 === e3) && (this._patchable = e3); + get amObjectEventSink() { + return false; } - 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._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; + get amObjectEventEmitter() { + return true; } - 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), 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(); + get children() { + return this.actions; } - } - 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)), 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) { - const e4 = "no builder definition available for the builder definition id '" + (t3 ? t3.builderDefId : "undefined") + "'"; - throw console.error(e4), e4; + get containedActionCount() { + if (!this.actions || 0 === this.actions.length) return 0; + let e3 = this.actions.length; + return s.default.each(this.actions, (t3) => { + e3 += t3.containedActionCount; + }), e3; + } + deleteChild(e3) { + e3 && (this._removeAction(e3), e3.isDestroyedOrDestroying || e3.destroy(), p.emitter.emit(p.actionsChanged), this.parentFlow.calcFlowSizeAsync()); + } + destroyChildren() { + s.default.each(s.default.clone(this.children), (e3) => { + this.deleteChild(e3); + }), r.__classPrivateFieldSet(this, o, null, "f"); + } + getChild(e3) { + if (!e3 || !this.actions) return null; + for (let t3 = 0; t3 < this.actions.length; t3++) { + const i3 = this.actions[t3]; + if (i3.id === e3) return i3; } - super.configureForBuilderViewModel(this), this._availableBuilderPartDefinitions = this.builderDef.getAvailableBuilderPartDefinitionsForFlowType(this.parentFlowType, e3.options.allowedBuilderCategoryIdFilter, e3.options.allowedBuilderIds), e3.options.additionalBuilderPartDefs && (this._availableBuilderPartDefinitions = this._availableBuilderPartDefinitions.concat(e3.options.additionalBuilderPartDefs)), this._availableBuilderPartContainerDefinitions = this.builderDef.getAvailableBuilderPartContainerDefinitionsForFlowType(this.parentFlowType), u.registerEventSinkForEventEmitter(e3.parentFlow.languages.id, this); + return null; } - _buildExpressionGeneration() { - throw "You must override the _buildExpressionGeneration method in inheriting classes"; + get canCollapse() { + return true; } - _configureForFlowState() { - return false; + get uiMetaData() { + return this.model.uiMetaData; } - _destroyIdleCallback(e3) { - e3 && e3.destroy(); + set uiMetaData(e3) { + this.model.uiMetaData = e3; } - _fireBuilderValidated() { - this._suppressEventFiring || u.fireEvent(this, s.builderValidated); + get collapsed() { + return this.uiMetaData || (this.uiMetaData = { collapsed: false }), this.uiMetaData.collapsed; } - _preValidateConfigureResultsOrganizer(e3) { + set collapsed(e3) { + this.uiMetaData ? this.uiMetaData.collapsed = e3 : this.uiMetaData = { collapsed: e3 }, p.emitter.emit(p.collapseExpand, this); } - _postValidateClearResultsOrganizer(e3) { + collapse(e3) { + return this.expandOrCollapse(true, e3); } - _processLanguagesChanged() { + expand(e3) { + return this.expandOrCollapse(false, e3); } - _validateBuilderObject(e3, t3) { - return !!super._validateBuilderObject(e3, t3) && (void 0 === this._meetsFeatureRequirementsCheck && (this._meetsFeatureRequirementsCheck = this.builderDef.meetsFeatureRequirements), true !== this._meetsFeatureRequirementsCheck ? (e3.addError(this, (0, r2.sprintf)(T.expression.builderUnavailableFeatureRequirements, this.builderDef.name)), false) : (void 0 === this._isAvailableForFlowTypeCheck && (this._isAvailableForFlowTypeCheck = this.builderDef.isAvailableForFlow(this.parentFlow)), true === this._isAvailableForFlowTypeCheck || (e3.addError(this, (0, r2.sprintf)(T.expression.builderUnavailableForFlowType, this.builderDef.name, this.parentFlow.info.flowTypeName)), false))); + expandAncestors() { + const e3 = this.parent; + return !(!e3 || !s.default.isFunction(e3.expandOrCollapse)) && e3.expandOrCollapse(false, true); } - configureForLanguageSequence(e3, t3) { - let i3; - if (e3.flowTypeOverrides && (i3 = e3.flowTypeOverrides[this.parentFlowType]), i3 || (i3 = e3), i3.builderId !== this.builderDefId) return false; - try { - return this._configureForLanguageSequence(e3, t3); - } catch (e4) { + expandOrCollapse(e3, t3) { + let i3 = false; + if (this.collapsed !== e3 && (this.collapsed = e3, i3 = true), t3) { + const t4 = this.parent; + t4 && s.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); } - return false; + return i3; } - _configureForLanguageSequence(e3, t3) { + *allChildren() { + for (const e3 of this.actions) yield e3, yield* e3.allChildren(); + } + getMainPathActions() { + const e3 = []; + let t3 = this.topAction; + for (; t3; ) e3.push(t3), t3 = t3.nextAction; + return e3; + } + get id() { + return this.model.id; + } + initialize() { + if (!this.topAction) return; + const e3 = this.isTaskLike ? this.getChild.bind(this) : this.topParent.getChild.bind(this.topParent); + let t3 = null, i3 = this.topAction; + for (; i3; ) i3.claim(this), i3.previousAction = t3, i3.nextAction = e3(i3.model.nextAction), this.isTaskLike || this.actions.push(i3), i3.initialize(), this._processActionTermination(i3), t3 = i3, i3 = i3.nextAction; + } + get isActionContainerViewModel() { return true; } - getBuilderValidationResultsOrganizer() { - return this._builderValidationResultsOrganizer; + get isTopLevelNode() { + return true; } - get className() { - return "BaseBuilderViewModel"; + get lastAction() { + let e3 = this.topAction; + for (; e3 && e3.nextAction; ) e3 = e3.nextAction; + return e3; } - configureForFlowState() { - if (this.parentFlow && this.parentFlow.info && !this.parentFlow.info.currentUserCanEdit) return false; - let e3; - try { - this._suppressEventFiring = true, this._queuedConfigureForFlowStateCallback = this._destroyIdleCallback(this._queuedConfigureForFlowStateCallback), e3 = this._configureForFlowState(); - } catch (e4) { - } finally { - this._suppressEventFiring = false; + moveAction(e3, t3) { + e3.parent._removeAction(e3), e3.resetTermination(), this._insertAction(e3, t3), p.emitter.emit(p.actionsChanged); + } + resetTermination() { + r.__classPrivateFieldSet(this, n2, false, "f"), this.terminatingAction = null, this.isTerminating = false, this.hasBranchTerminatingWithEndTask = false; + } + get terminatingLabel() { + return this.terminatingAction ? this.terminatingAction.terminatingLabel : this.isFake ? v.task.endFlow : void 0; + } + get topAction() { + return r.__classPrivateFieldGet(this, o, "f"); + } + set topAction(e3) { + r.__classPrivateFieldSet(this, o, e3, "f"), this._topActionId = r.__classPrivateFieldGet(this, o, "f") ? r.__classPrivateFieldGet(this, o, "f").id : void 0; + } + traverse(e3) { + if (!e3 || e3.isCanceled) return; + const t3 = e3.getActionCallback(); + if (!t3) return; + const i3 = e3.createCallbackParam(false); + for (let n3 = this.actions.length - 1; n3 >= 0; n3--) if (t3(this.actions[n3], i3), !e3.processCallbackParamAndContinue(i3)) return; + } + updateTermination(e3) { + let t3 = this.topAction; + const i3 = this.isTerminating, n3 = this.terminatesLoop, o2 = this.hasBranchTerminatingWithEndTask; + this.resetTermination(); + const r2 = []; + for (; t3; ) this._processActionTermination(t3), r2.push(t3), t3 = t3.nextAction; + s.default.each(r2, (e4) => { + s.default.each(e4.branches, (e5) => { + e5.updateTermination(); + }); + }), (e3 || this.isTerminating !== i3 || this.terminatesLoop !== n3 || this.hasBranchTerminatingWithEndTask !== o2) && (this.parent && this.parent.updateTermination && this.parent.updateTermination(), m.fireEvent(this, p.terminatingStateChanged)); + } + _postDestroy() { + super._postDestroy(), this.amObjectEventSink && m.unregisterEventSink(this), this.amObjectEventEmitter && m.removeEventEmitter(this); + } + get _topActionId() { + return this.model.startAction; + } + set _topActionId(e3) { + this.model.startAction = e3; + } + _insertAction(e3, t3) { + if (e3.claim(this), this._pushAction(e3), t3) e3.nextAction = t3.nextAction, t3.nextAction = e3, e3.previousAction = t3, e3.nextAction && (e3.nextAction.previousAction = e3); + else { + const t4 = this.topAction; + e3.nextAction = t4, e3.previousAction = null, t4 && (t4.previousAction = e3), this.topAction = e3; } - e3 && this.updateOwningExpression(); + e3.initialize(), this.updateTermination(), this.childAdded(e3); + } + _processActionTermination(e3) { + let t3, i3; + (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 && r.__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) { + s.default.findWhere(this.actions, { id: e3.id }) ? C.errorWithErrorObjectInfo("Tried to double add action.", e3, false) : this.actions.push(e3); + } + _removeAction(e3) { + if (!this._spliceAction(e3)) return; + if (e3.isOrphan) return; + const t3 = e3.previousAction, i3 = e3.nextAction; + t3 ? (t3.nextAction = i3, i3 && (i3.previousAction = t3)) : i3 ? (this.topAction = i3, i3.previousAction = null) : this.topAction = null, this.updateTermination(), this.childRemoved(e3); + } + _spliceAction(e3) { + const t3 = this.actions.indexOf(e3); + return t3 >= 0 && (this.actions.splice(t3, 1), true); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = O; + }, 193(e2, t2, i2) { + "use strict"; + var n2; + const o = i2(31635), r = o.__importDefault(i2(92140)), a = o.__importStar(i2(36781)), s = o.__importStar(i2(10798)), l = i2(58380), u = o.__importDefault(i2(97400)), c = o.__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); + } + _pushAction(e3) { + this.topParent._pushAction(e3), super._pushAction(e3); + } + _spliceAction(e3) { + this.topParent._spliceAction(e3); + const t3 = super._spliceAction(e3); + return t3 && 0 === this.actions.length && (0, l.fireEvent)(this.parent, a.lastPathActionRemoved, this), t3; + } + get _topActionId() { + return this.model.nextActionId; } - createBuilderDefaultBuildTextHelper() { - return p.default.createFormattedBuildTextHelper(); + set _topActionId(e3) { + this.model.nextActionId = e3; } - get availableBuilderPartContainerDefinitions() { - if (this.parentFlow) { - const e3 = []; - return o.default.each(this._availableBuilderPartContainerDefinitions, (t3) => { - t3.isAvailableForFlow(this.parentFlow) && e3.push(t3); - }), e3; - } - return this._availableBuilderPartContainerDefinitions; + _loadModel(e3) { + e3 && super._loadModel(e3); } - get availableBuilderPartDefinitions() { - return this._availableBuilderPartDefinitions; + _setModelDisabled(e3, t3) { + this.model.disabled = e3, t3 && this.updateTermination(); } - get builderDef() { - return !this._builderDef && this.builderDefId && (this._builderDef = _.default.getBuilderDefById(this.builderDefId)), this._builderDef; + _setModelUnreachable(e3, t3) { + this.model.unreachable = e3, t3 && this.updateTermination(); } - get builderDefId() { - var e3; - return null === (e3 = this._builderModel) || void 0 === e3 ? void 0 : e3.builderDefId; + _setModelOutOfService(e3, t3) { + this.model.outOfService = !!e3 || void 0, t3 && this.updateTermination(true); } - buildExpressionText(e3) { - if (this._amBuildingExpressionText) return; - this._amBuildingExpressionText = true; - let t3, i3, n3 = ""; - o.default.isObject(e3) && !e3.isBuildTextHelper || (e3 = this.createBuilderDefaultBuildTextHelper(), i3 = true); - try { - e3.startBuilder(), t3 = this._buildExpressionGeneration(), o.default.isUndefined(t3) ? n3 = "" : (n3 = t3.generate(e3), o.default.isString(n3) || (n3 = "")); - } finally { - this._amBuildingExpressionText = false, e3.endBuilder(), t3 && t3.destroy(), i3 && e3.destroy(); - } - return this.validateBuilder(), n3; + destroyChildren() { + for (let e3 = this.children.length - 1; e3 >= 0; e3--) r.default.isFunction(this.children[e3].destroy) && (this.children[e3].isDestroyedOrDestroying || this.children[e3].destroy()), this._spliceAction(this.children[e3]); + super.destroyChildren(); } - get definitionId() { - return this.builderDefId; + getConfiguration(e3, t3) { + var i3; + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const n3 = this.getMainPathActions().map((i4) => i4.getConfiguration(e3, t3)), o2 = {}; + return (null === (i3 = this.branchInfo.yamlOptions) || void 0 === i3 ? void 0 : i3.exportOutOfService) && (o2.enabled = !this.outOfService), n3.length && (o2.actions = n3), Object.keys(o2).length ? o2 : null; + } + return this.model; } - get overrideErrorText() { + get hasChildren() { + return this.children && this.children.length > 0; } get id() { - var e3; - return null === (e3 = this._builderModel) || void 0 === e3 ? void 0 : e3.id; - } - _postInitializeDesignTime() { - this.updateOwningExpression(); + return this.model.outputId; } - get isBaseBuilderViewModel() { + get isActionPathViewModel() { return true; } - get model() { - return this._builderModel; - } - objEvent_builderPartExpressionTextChanged() { - this.parentFlow.loaded && this.postUpdateOwningExpression(); + initialize() { + this._topActionId && (this.topAction = this.topParent.getChild(this._topActionId), this.actions.length = 0, super.initialize()); } - objEvent_supportedLanguagesChanged() { - this.parentFlow.info.currentUserCanEdit && this._processLanguagesChanged(), this.postNeedsValidation(); + _initializeDesignTime() { + super._initializeDesignTime(), this.isUnavailable && (this.outOfService = true); } - postUpdateOwningExpression(e3) { - this._queuedUpdateOwningExpression || (this._queuedUpdateOwningExpression = l.default.create(this.processUpdateOwningExpression.bind(this), o.default.isActualNumber(e3) ? e3 : 300)); + get isSetToDisabled() { + return this.model.disabled; } - postNeedsConfigurationForFlowState() { - this._queuedConfigureForFlowStateCallback || (this._queuedConfigureForFlowStateCallback = l.default.create(this.configureForFlowState.bind(this))); + get isUnavailable() { + var e3; + return !(!(null === (e3 = this.branchInfo) || void 0 === e3 ? void 0 : e3.featureConfigName) || !s.isFeatureUnavailable(this.branchInfo.featureConfigName)) || !(!r.default.isFunction(this.parent.isOptionalPathAvailable) || this.parent.isOptionalPathAvailable(this)); } - postNeedsValidation() { - this._queuedValidate || (this._queuedValidate = l.default.create(this.processValidateBuilder.bind(this))); + get isDisabled() { + return !!r.default.find(this.parent.branches, (e3) => e3 !== this && e3.branchInfo.isActionInternal && e3.branchInfo.canTerminate && e3.isTerminating) || this.parent.isDisabled || this.isSetToDisabled || this.isUnreachable || this.outOfService; } - processUpdateOwningExpression() { - this._queuedUpdateOwningExpression = this._destroyIdleCallback(this._queuedUpdateOwningExpression), this.updateOwningExpression(); + set isDisabled(e3) { + !!this.model.disabled != !!e3 && this._setModelDisabled(!!e3, true); } - updateOwningExpression() { - this.parentFlow.loaded && this.initializeDesignTimeCalled && this._shouldUpdateOwningExpression && this.owningExpression.setText(this.buildExpressionText()); + get isUnreachable() { + return true === this.model.unreachable; } - get _shouldUpdateOwningExpression() { - return this.owningExpression.mode === d.builder; + set isUnreachable(e3) { + !!this.model.unreachable != !!e3 && this._setModelUnreachable(!!e3, true), e3 && (this.isDisabled = true); } - processValidateBuilder() { - this._queuedValidate = this._destroyIdleCallback(this._queuedValidate), this.validateBuilder(); + get isFake() { + return this.model.outputId.contains("FAKE"); } - replaceUsages(e3, t3, i3) { - super.replaceUsages(e3, t3, i3), this.updateOwningExpression(); + get canCollapse() { + return !this.isFake && super.canCollapse; } - validate(e3) { - const t3 = this.validateBuilder(!!e3 && e3.isDeep); - if (!e3) return t3; - const i3 = this.builderValidationResults; - if (!i3) return t3; - const n3 = this.owningExpression.label; - return t3 ? (i3.hasWarning && e3.addWarning(this.owningExpression, o.default.isString(n3) && n3.length ? (0, r2.sprintf)(T.builders.builderConfigWarningWithLabel, n3) : T.builders.builderConfigWarning, void 0, true), t3) : (this.owningExpression.parent.hasValidationError || e3.addError(this.owningExpression, o.default.isString(n3) && n3.length ? (0, r2.sprintf)(T.builders.builderConfigInvalidWithLabel, n3) : T.builders.builderConfigInvalid, void 0, true), t3); + enableFull() { + this._setModelUnreachable(false), this._setModelDisabled(false), this._setModelOutOfService(false), this.updateTermination(); } - validateBuilder(e3) { - let t3 = true; - 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) { - t3 = false, this._builderValidationResultsOrganizer.addError(this, T.builders.errorValidatingBuilder); - } finally { - this._postValidateClearResultsOrganizer(this._builderValidationResultsOrganizer); - } - return t3; + get label() { + return this._hideLabel ? null : this.model.displayLabel; } - validateBuilderObject(e3, t3) { - const i3 = super.validateBuilderObject(e3, t3); - return this._fireBuilderValidated(), i3; + set label(e3) { + this.model.label = e3; } - _destroy() { - u.unregisterAndRemoveObject(this), this._queuedConfigureForFlowStateCallback = this._destroyIdleCallback(this._queuedConfigureForFlowStateCallback), this._queuedUpdateOwningExpression = this._destroyIdleCallback(this._queuedUpdateOwningExpression), this._queuedValidate = this._destroyIdleCallback(this._queuedValidate), this._builderValidationResultsOrganizer.destroy(), this._amBuildingExpressionText = void 0, this._availableBuilderPartDefinitions = void 0, this._availableBuilderPartContainerDefinitions = void 0, this._builderDef = void 0, this._builderModel = void 0, this._builderValidationResultsOrganizer = void 0, this._suppressEventFiring = void 0, super._destroy(); + hideLabel() { + this._hideLabel = true; } - } - t2.default = y; - }, 71615: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionResolvers = t2.ResolverResult = void 0; - const n2 = i2(31635), r2 = i2(17604), o = n2.__importDefault(i2(92140)), a = n2.__importStar(i2(9345)), s = i2(14394), l = i2(47957); - class u { - constructor(e3, t3, i3, n3, r3) { - this.error = n3, this.operand = r3, this.position = e3, this.success = t3, this.type = i3; + get isBuiltInBranch() { + return r.default.isString(this.id) && this.id.startsWith("__") && this.id.endsWith("__"); } - } - t2.ResolverResult = u, t2.expressionResolvers = new class { - constructor() { - this.map = {}, this._initialize(); + get isDynamicBranch() { + return this.model.isDynamicBranch; } - _errorResult(...e3) { - return new u(void 0, false, null, r2.sprintf.apply(null, e3)); + get terminatesTaskOrFlow() { + return this.isFake || this.isTerminating; } - _errorFuncOpPrefixStr(e3) { - return (0, r2.sprintf)(l.expression.functions.funcOpPosPrefix, e3.getTextWithFuncOpTextFallback(), e3.position); + get terminatesLoop() { + return this.isFake || super.terminatesLoop; } - _errorResultWithPos(e3, ...t3) { - return new u(e3, false, null, r2.sprintf.apply(null, t3)); + get topParent() { + return this.parent.topParent; } - _errorResultWithPosAndOperand(e3, ...t3) { - const i3 = [t3[0], this._errorFuncOpPrefixStr(e3)]; - for (let e4 = 1; e4 < t3.length; e4++) i3.push(t3[e4]); - return new u(e3.position, false, null, r2.sprintf.apply(null, i3), e3.getTextWithFuncOpTextFallback()); + get outOfService() { + return !!this.model.outOfService; } - _initialize() { - this.map.Accessor = this.resolveAccessor.bind(this), this.map.CollectionBrackets = this.resolveCollectionBrackets.bind(this), this.map.PropertyBrackets = this.resolvePropertyBrackets.bind(this), this.map.EmptyList = this.resolveEmptyList.bind(this), this.map.Find = this.resolveFind.bind(this), this.map.GetAt = this.resolveGetAt.bind(this), this.map.If = this.resolveLogicalIf.bind(this), this.map.LanguageUniqueContext = this.resolveLanguageUniqueContext.bind(this), this.map["n-SameType"] = this.resolveNSameTypeOperands.bind(this), this.map["n-SameTypeParmNotSetToString"] = this.resolveNSameTypeOperandsNotSetToString.bind(this), this.map["n-SameTypeRetColl"] = this.resolveNSameTypeReturnCollection.bind(this), this.map.NotSetToRetType = this.resolveNotSetToRetType.bind(this), this.map.SameType = this.resolveSameTypeOperands.bind(this), this.map.CollectionMods = this.resolveCollectionMods.bind(this); + 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 && c.validateNode(this.parent, true), a.emitter.emit(a.branchesChanged)); } - _typeResult(e3, t3) { - const i3 = new u(void 0, true, e3); - return t3 && o.default.each(t3, function(e4, t4) { - Object.defineProperty(i3, t4, { value: e4 }); - }), i3; + getYamlOutputId(e3) { + return super.getYamlOutputId(e3) || this.label; } - _resolveAccessor(e3, t3, i3) { - const n3 = t3.getOperands(); - if (!n3 || 2 !== n3.length) return this._errorResult(l.expression.functions.internalErrMustBeTwoArgsOnAccessor); - const r3 = n3[1].type; - if (r3 === s.globalTypes.notSet) return this._errorResult(l.expression.functions.internalErrSecondArgCannotBeNotSet); - const o2 = n3[0].getText(void 0, void 0, true), a2 = r3.getPropertyDefinition(o2, true); - return a2 ? (n3[0].lit.val = r3 === s.globalTypes.json ? o2 : a2.id, this._typeResult(a2.type, { property: a2 })) : !o2 && i3 ? this._errorResultWithPos(n3[0].position, l.expression.propAccessBracketNeedsStringLit, n3[0].position) : this._errorResultWithPos(n3[0].position, l.expression.noPropertyWithName, o2, r3.displayString, n3[0].position); + get branchInfo() { + return o.__classPrivateFieldGet(this, n2, "f") || o.__classPrivateFieldSet(this, n2, this.parent.getBranchInfo(this.id), "f"), o.__classPrivateFieldGet(this, n2, "f"); } - _resolveGetAtOrBracket(e3, t3, i3) { - const n3 = e3.getOperands(); - if (!n3[i3].type.isMatch(s.globalTypes.integer, a.settings.typeOf)) return this._errorResultWithPosAndOperand(e3, l.expression.functions.argumentNumMustBeOfType, i3, s.globalTypes.integer.displayString); - const r3 = n3[t3]; - return r3.isCollection ? this._typeResult(r3.type.singletonType) : this._errorResult(l.expression.functions.argumentMustBeCollection, r3.position, e3.rootText, e3.position); + get isEnabledDynamicBranch() { + return this.isDynamicBranch && !this.isDisabled; } - getResolver(e3) { - return this.map[e3]; + get categoryId() { + return this.model.categoryId; } - resolveAccessor(e3, t3) { - return this._resolveAccessor(e3, t3, false); + get isCategory() { + return !!this.model.isCategory; } - resolveCollectionBrackets(e3, t3) { - return this._resolveGetAtOrBracket(t3, 1, 0); + } + n2 = /* @__PURE__ */ new WeakMap(), t2.Ay = d; + }, 61610(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isTaskLike = C, t2.hasTaskLikeProperty = function(e3) { + return "object" == typeof e3 && null !== e3 && C(e3.task); + }; + const n2 = i2(31635), o = i2(17604), r = 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)), I = i2(47957); + function C(e3) { + return e3 && e3.isTaskLike; + } + i2(92330); + class O extends v.default { + constructor(e3) { + super(e3, e3), this.variables = []; } - resolvePropertyBrackets(e3, t3) { - return this._resolveAccessor(e3, t3, true); + get className() { + return "BaseTaskViewModel"; } - resolveEmptyList(e3, t3) { - const i3 = t3.getOperands()[0]; - return i3.isCollection ? this._errorResultWithPos(t3.position, l.expression.functions.argumentMustBeCollection, 1, t3.rootText, t3.position) : this._typeResult(i3.type.collectionType); + get nodeGuxIcon() { + return d.default.task; } - resolveFind(e3, t3) { - const i3 = t3.getOperands(), n3 = i3[0], r3 = i3[1], o2 = n3.type, s2 = r3.type; - if (!n3.isCollection) return this._errorResult(l.expression.functions.argumentMustBeCollection, 1, t3.rootText, t3.position); - const u2 = o2.singletonType; - return u2.isMatch(s2, a.settings.exact) ? this._typeResult(e3.returnType) : this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, 2, u2.displayString); + get resources() { + return { startUpDisplayName: I.startUpTaskDisplayName }; } - resolveGetAt(e3, t3) { - return this._resolveGetAtOrBracket(t3, 0, 1); + get defaultVariableScope() { + return g.scopes.task; } - resolveLanguageUniqueContext(e3, t3) { - const i3 = t3.getOperands(), n3 = {}; - for (let r3 = e3.operands.length - 1; r3 < i3.length; r3++) { - const e4 = i3[r3].getPropAccessInfo(); - if (e4 && e4.propGroup) { - const o2 = n3[e4.propGroup]; - if (o2) return this._errorResultWithPosAndOperand(t3, l.expression.functions.parameterEnumNotGroupUnique, i3[o2.index].getPropAccessName(), i3[r3].getPropAccessName()); - e4.index = r3, n3[e4.propGroup] = e4; - } - } - return this._typeResult(e3.returnType); + get localVariableScope() { + return g.scopes.task; } - resolveLogicalIf(e3, t3) { - const i3 = t3.getOperands(); - if (!i3[0].type.isMatch(s.globalTypes.boolean, a.settings.typeOf)) return this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, 1, s.globalTypes.boolean.displayString); - const n3 = i3[1].type, r3 = i3[2].type; - return n3 === s.globalTypes.notSet ? r3 === s.globalTypes.notSet ? this._errorResultWithPosAndOperand(t3, l.expression.functions.secondAndThirdArgumentsCannotBeNotSet, t3.getTextWithFuncOpTextFallback(), t3.position) : (i3[1].type = r3, this._typeResult(r3)) : r3 === s.globalTypes.notSet ? (i3[2].type = n3, this._typeResult(n3)) : n3.isBidirectionalMatch(r3, a.settings.typeOf) ? this._typeResult(n3) : this._errorResultWithPosAndOperand(t3, l.expression.functions.secondAndThirdArgumentsMustBeSameType, i3[1].position, i3[1].getErrorDisplayText(), i3[2].position, i3[2].getErrorDisplayText()); + get uiMetaDataSectionName() { + return "task"; } - resolveNotSetTypedOperands(e3, t3) { - const i3 = e3.operands, n3 = t3.getOperands(), r3 = n3.length, o2 = i3.length; - for (let e4 = 0; e4 < r3; e4++) { - const r4 = i3[e4 >= o2 ? o2 - 1 : e4], a2 = n3[e4]; - if (a2.isTypeNotSet) { - if (r4.type.isAny || a2.isCollection || r4.type.isCollection) return this._errorResultWithPosAndOperand(t3, l.expression.functions.typeForNotSetOperandCouldNotBeDetermined, r4.name, a2.position); - a2.type = r4.type; + _loadModel(e3) { + if (!e3) return; + super._loadModel(e3), h.registerNode(this), e3.variables = e3.variables || [], r.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 = r.default.uniq(this.model.actionList); + for (let e4 = 0; e4 < this.model.actionList.length; e4++) { + const n3 = this.model.actionList[e4]; + 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 = p.createActionWithModel(this, n3); + this.actions.push(e5), t3 && e5.id === t3 && (this.topAction = e5); } } - return this._typeResult(e3.returnType); } - _resolveNSameTypeOperands(e3, t3, i3, n3) { - const r3 = t3.getOperands(); - 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); - c = s.globalTypes.string; - } - 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); + addVariable(e3) { + e3 && !r.default.contains(this.variables, e3) && (this.variables.push(e3), this.model.variables.push(e3.model), _.fireEvent(this, u.variableAdded, e3)); } - resolveNSameTypeOperands(e3, t3) { - return this._resolveNSameTypeOperands(e3, t3, false, false); + get amObjectEventEmitter() { + return true; } - resolveNSameTypeOperandsNotSetToString(e3, t3) { - return this._resolveNSameTypeOperands(e3, t3, true, false); + checkVersion(e3) { + r.default.each(this.actions, (t3) => { + t3.checkVersion(e3); + }); } - resolveNSameTypeReturnCollection(e3, t3) { - return this._resolveNSameTypeOperands(e3, t3, false, true); + get canCollapse() { + return false; } - resolveNotSetToRetType(e3, t3) { - const i3 = t3.getOperands()[0], n3 = i3.type; - return n3 === s.globalTypes.notSet ? (i3.type = e3.returnType, this._typeResult(e3.returnType)) : this._errorResultWithPosAndOperand(t3, l.expression.functions.internalErrCannotResolveToNotSet, e3.operands[0].name, i3.position, n3.displayString); + _preDestroy() { + super._preDestroy(), _.fireEvent(this, u.actionContainerDeleted); } - resolveSameTypeOperands(e3, t3) { - const i3 = t3.getOperands(), n3 = i3[0].type, r3 = i3[1].type; - return n3 === s.globalTypes.notSet ? r3 === s.globalTypes.notSet ? (i3[0].type = s.globalTypes.string, i3[1].type = s.globalTypes.string, this._typeResult(s.globalTypes.boolean)) : (i3[0].type = r3, this._typeResult(s.globalTypes.boolean)) : r3 === s.globalTypes.notSet ? (i3[1].type = n3, this._typeResult(s.globalTypes.boolean)) : n3.isBidirectionalMatch(r3, a.settings.typeOf) ? this._typeResult(s.globalTypes.boolean) : this._errorResultWithPosAndOperand(t3, l.expression.functions.mustBeSameType, i3[0].position, i3[0].getErrorDisplayText(), i3[1].position, i3[1].getErrorDisplayText()); + _destroy() { + super._destroy(), r.default.each(r.default.clone(this.variables), (e3) => { + this.removeVariable(e3), e3.destroy(); + }), this.variables.length = 0; } - resolveCollectionMods(e3, t3) { - const i3 = t3.getOperands(), n3 = i3[0], r3 = n3.type.singletonType; - if (!n3.isCollection) return this._errorResult(l.expression.functions.argumentMustBeCollection, n3.position, t3.rootText, t3.position); - for (let n4 = 1; n4 < i3.length; n4++) { - const o2 = i3[n4], u2 = e3.operands[n4]; - if (u2.type.isAny) { - if (u2.allowNotSet && o2.type === s.globalTypes.notSet) o2.type = r3; - else if (!r3.isMatch(o2.type.singletonType, a.settings.exact)) return this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, n4 + 1, r3.displayString); - } else if (o2.type.isNotSet) { - if (u2.type.isCollection) return this._errorResultWithPosAndOperand(t3, l.expression.functions.argumentNumMustBeOfType, n4 + 1, r3.displayString); - o2.type = u2.type; - } - } - return this._typeResult(n3.type); + getConfiguration(e3, t3) { + var i3; + let n3 = this.model.getConfiguration(e3, t3); + const o2 = [], a2 = (null == t3 ? void 0 : t3.isForFlowYaml) ? this.getMainPathActions() : this.actions; + return r.default.each(a2, (i4) => { + o2.push(i4.getConfiguration(e3, t3)); + }), (o2.length || !(null == t3 ? void 0 : t3.isForFlowYaml)) && (n3[(null == t3 ? void 0 : t3.isForFlowYaml) ? l.default.actions : l.default.actionList] = o2), (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 = r.default.map(this.variables, (i4) => i4.getConfiguration(e3, t3)), r.default.sortMapByNameProperty(n3.variables)), n3 = s.default.sortObjectByPropertyMap(n3, this.yamlPropertyOrderMap), r.default.tryWrapObject(n3, this.wrappedYamlName)) : n3; } - }(); - }, 71634: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.modal = t2.embedded = void 0, t2.embedded = "embedded", t2.modal = "modal"; - }, 71655: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(2318)), o = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "botSessionViewer"; - class u extends a.default { - constructor() { - super(...arguments), this._actionId = ""; + getVariableById(e3) { + return r.default.find(this.variables, (t3) => t3.id === e3); } - get actionId() { - return this._actionId; + _initializeDesignTime() { + super._initializeDesignTime(), r.default.each(this.actions, (e3) => { + e3.initializeDesignTime(); + }); } - set actionId(e3) { - this._actionId = e3; + isNameUnique() { + if (!this.parent || !this.parent.tasks) return true; + const e3 = this.parent.tasks; + for (let t3 = 0; t3 < e3.length; t3++) { + const i3 = e3[t3]; + if (i3.id !== this.id && i3.name === this.name) return false; + } + return true; } - get outOfService() { - return !r2.default.currentUserCanUseBotSessionViewer; + get isInlineTask() { + return this.isHidden; } - get id() { - return l; + get isTaskLike() { + return true; } - static get id() { - return l; + get isTopLevelNode() { + return true; } - get showInFlowSize() { - return false; + get hasChildren() { + return this.actions && this.actions.length > 0; } - get className() { - return "BotSessionViewerViewModel"; + get containerLabel() { + return I.task.label; } - getDisplayName() { - return s.botSessionViewer.utteranceHistoryLabel; + get containerLabelAndName() { + return (0, o.sprintf)(I.labelAndName, this.containerLabel, this.getDisplayName()); } - get isBotSessionViewerNode() { + get supportsScopedData() { return true; } - get nodeGuxIcon() { - return "fa/clock-rotate-left-regular"; + get name() { + return super.name; } - get helpTopic() { - return o.helpTopics.treeNodes.utteranceHistory; + set name(e3) { + super.name = e3, this.parentFlow.getUiMetadataInfoById(this.uiMetaDataSectionName, this.id) && this.parentFlow.setUiMetadataInfo(this.uiMetaDataSectionName, { id: this.id, name: this.name }); } - get botSessionViewerArchNodeName() { - return l; + 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), _.fireEvent(this, u.variableRemoved, e3); } - } - t2.default = u; - }, 71666: function(e2, t2, i2) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + search(e3) { + e3.checkId(this, this.id, this.name), e3.checkTrackingId(this, this.trackingId, this.name), e3.checkName(this, this.name, I.task.label), r.default.each(this.actions, e3.addToQueue.bind(e3)); } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.Action = void 0; - var o = (function(e3) { - function t3(t4, i3) { - return e3.call(this) || this; + traverse(e3) { + if (!e3 || e3.isCanceled) return; + const t3 = e3.getTaskCallback(); + if (t3) { + const i3 = e3.createCallbackParam(true); + if (t3(this, i3), !e3.processCallbackParamAndContinue(i3, true)) return; + } + super.traverse(e3); } - return r2(t3, e3), t3.prototype.schedule = function(e4, t4) { - return void 0 === t4 && (t4 = 0), this; - }, t3; - })(i2(69879).Subscription); - t2.Action = o; - }, 71698: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(84670); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "QueueList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 71706: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(13240), { callCommonModuleActionType: o } = i2(30801), a = i2(90807); - function s() { - Object.defineProperties(this, { _inputs: { writable: true }, _outputs: { writable: true } }), this.flowId = void 0, this.flowName = void 0, this.flowVersion = void 0, this.flowLatestVersion = true, this.flowDebugPublished = false, s.baseConstructor.apply(this, arguments); - } - r2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.inputs, (t3) => { - t3.pasteReIdOrRename(e3); - }), n2.each(this.outputs, (t3) => { - t3.pasteReIdOrRename(e3); - }); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.inputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }), n2.each(this.outputs, (t3) => { - t3.pasteResolveOldToNewValues(e3); - }); - } }, inputs: { enumerable: true, get: function() { - return this._inputs; - }, set: function(e3) { - this._inputs = this.reviveArray(e3, a); - } }, outputs: { enumerable: true, get: function() { - return this._outputs; - }, set: function(e3) { - this._outputs = this.reviveArray(e3, a); - } } }), e2.exports = s; - }, 71726: (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 trackingId() { + return this.model.trackingId; } - get _globalTypeName() { - return "userQueueCollection"; + set trackingId(e3) { + h.setNodeTrackingId(this, e3); } - get displayTypeName() { - return "ArchVariableUserCollection"; + updateDependencies() { + r.default.each(this.actions, (e3) => { + e3.updateDependencies(); + }); } - get initialValue() { - return this._initialValue; + validate(e3) { + super.validate(e3), this.shouldBeTerminated && (this.isTerminating || e3.addError(this, this.resources.noTerminatingAction)); } - get isArchVariableUserCollection() { + get shouldBeTerminated() { return true; } - } - t2.default = r2; - }, 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)), 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", $); - } - get id() { - return "botFlowSettings"; - } - get className() { - return "BotFlowSettingsViewModel"; + get wrappedYamlName() { + return this.uiMetaDataSectionName; } - static get managedProperties() { - 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)) }]; + get yamlPropertyOrderMap() { + return r.default.extend(super.yamlPropertyOrderMap, { trackingId: 15, variables: 20, actions: 30 }); } - getConfiguration(e3, t3) { - var i3, n3, o2; - this.clearDynamicAgenticVirtualAgentEnabledState(); - const a2 = super.getConfiguration(e3, t3); - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const s3 = this.parent.nluMetaData.intentSettingsMap, l2 = a2; - Object.keys(s3).length && (l2.intentSettings = [], r2.default.each(s3, (i4) => { - var n4; - 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 && (o3.intent.task = {}, o3.intent.task.name = t4.name); - } + configureFromModel(e3, t3, i3, r2) { + 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"}]`, r2)), 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, r3 = Object.keys(n5); + if (0 === r3.length) continue; + const s4 = r3[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 r4 = this.parentFlow.dataTypes[e5]; + if (r4) { + const e6 = new r4({ name: c2, isCollection: n6 }), o2 = i3.variableManager.createVariable(e6, this); + (0, S.hasConfigureFromModel)(o2) && o2.configureFromModel(u2, t3); + } else i3.warn((0, o.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, o.sprintf)(a.configureFromModel.variableCreationFailedInTask, c2, this.name, t4)); + } + }); + } + }); } - l2.intentSettings.push(o3); - })); - 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 = 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 = 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 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 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)), l2.dynamicSlotTypes.push(n4); })); - 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 && (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, (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; - } - set engineVersion(e3) { - this._engineVersion = e3; + }); } - getDisplayName() { - return this.parentFlow.type === v.flowTypes.flowTypeVoiceSurvey ? J.voiceSurvey.voiceSurveyTitleWithSettings : J.botFlowSettings.titleWithSettings; + } + t2.default = O; + }, 66700(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isBotStateViewModel = function(e3) { + return e3 instanceof h; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(4648)), r = 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 !== l.botStateActionType && (t3 = new _(t3)), this._loadModel(t3); } - getNodeName() { - return J.flow.types.bot; + static loadSequenceItemListForModel(e3, t3) { + if (t3) { + if (t3.__type === l.botStateActionType) return true; + if (t3.__type === d.stateActionType) return (0, r.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; } - get helpTopic() { - return C.helpTopics.treeNodes.botFlowSettings; + get nodeGuxIcon() { + return "fa/microchip-solid"; } - get isBotFlowSettingsNode() { + get isStateLike() { return true; } - 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, 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 isBotState() { + return true; } - get nluDomain() { - return this.nluDomainId ? L.nluDomainManager.getItem(this.nluDomainId) || L.nluDomainManager.getItemFromFlowMetadata(this, this.nluDomainId) : null; + get resources() { + return { noTerminatingAction: p.botStates.noTerminatingAction, startUpDisplayName: p.startUpBotStateDisplayName }; } - get nluDomainIntents() { - return this.nluDomain && this.nluDomain.intents ? this.nluDomain.intents : []; + get defaultVariableScope() { + return a.scopes.flow; } - get nluDomainEntities() { - return this.nluDomain && this.nluDomain.entities ? this.nluDomain.entities : []; + get localVariableScope() { + return a.scopes.bot; } - get dynamicSlotTypesListIsAvailable() { - var e3; - return !!(null === (e3 = this.parent.nluMetaData) || void 0 === e3 ? void 0 : e3.dynamicSlotTypesListIsAvailable()); + get isAllowedAsStartupNode() { + return true; } - get isDynamicTimeslotListAvailable() { - var e3; - return !!(null === (e3 = this.parent.nluMetaData) || void 0 === e3 ? void 0 : e3.dynamicTimeslotListIsAvailable()); + get containerLabel() { + return p.actions.botState; } - get nluDomainId() { - return this._nluDomainId; + get supportsInputVariables() { + return false; } - set nluDomainId(e3) { - this._nluDomainId = e3; + get supportsOutputVariables() { + return false; } - get nluDomainVersionId() { - return this._nluDomainVersionId; + get uiMetaDataSectionName() { + return "bot"; } - set nluDomainVersionId(e3) { - const t3 = this._nluDomainVersionId; - this._nluDomainVersionId = e3, this._nluDomainVersionVerifiedForOrg = void 0, t3 !== this._nluDomainVersionId && (this.updateDependencies(), l.emitter.emit(l.nluDomainVersionCreated, this.parentFlow)); + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), e3.copyCutProcessStateViewModel(this); } - get intentClassifierId() { - return this._intentClassifierId; + } + h.info = c.default.createReusableNodeInfo({ actionType: l.botStateActionType, actionClass: h, helpTopic: u.helpTopics.tasks.botState, name: p.actions.botState, modelFormatSupport: { flowYaml: { inProgress: true, feature: o.default.changeSetsFeaturePhase2 } } }), t2.default = h; + }, 73274(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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; } - set intentClassifierId(e3) { - this._intentClassifierId = e3; + constructor(e3, t3) { + super(e3, t3), this.parentFlow.isEmbeddedFlow ? this.trackById = `${this.parentFlow.instanceId}-${this.id}` : this.trackById = this.id; } - get virtualAgentEnabled() { - return !!this._virtualAgentEnabled; + get canRename() { + return false; } - set virtualAgentEnabled(e3) { - 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 isCommonModuleTaskViewModel() { + return true; } - get hasCallAVAAction() { - return void 0 === this._hasCallAVAAction && (this._hasCallAVAAction = m.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, f.callAgenticVirtualAgentActionType)), this._hasCallAVAAction; + get supportsCustomOutputPaths() { + return false; } - get agenticVirtualAgentEnabled() { - 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); + getDisplayName() { + var e3; + if (this.parentFlow.isEmbeddedFlow) { + const t3 = this.parentFlow.topParentFlow, i3 = null === (e3 = null == t3 ? void 0 : t3.getCommonModuleReferenceByInstanceId) || void 0 === e3 ? void 0 : e3.call(t3, this.parentFlow.instanceId); + return (null == i3 ? void 0 : i3.version) ? (0, o.sprintf)(d.nameAndVersion, this.parentFlow.displayName, i3.version) : this.parentFlow.displayName; + } + return super.getDisplayName(); } - getIsNluDomainCreated() { - return L.nluDomainManager.getIsNluIdentifierCreated(this.nluDomainId); + } + p.info = u.default.createReusableNodeInfo({ actionType: r.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; + }, 71071(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(4648)), r = 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 r.default { + constructor(e3, t3) { + super(e3), this._loadModel(t3); } - getIsNluDomainVersionCreated() { - return L.nluDomainManager.getIsNluIdentifierCreated(this._nluDomainVersionId); + get canRename() { + return false; } - getIsNluDomainVersionValidForThisOrg() { - return n2.__awaiter(this, void 0, void 0, function* () { - return r2.default.isBoolean(this._nluDomainVersionVerifiedForOrg) || (this._nluDomainVersionVerifiedForOrg = L.nluDomainManager.getIsNluDomainVersionValidForThisOrg(this.nluDomainId, this._nluDomainVersionId)), this._nluDomainVersionVerifiedForOrg; - }); + get isLoopTaskViewModel() { + return true; } - get nodeGuxIcon() { - return "fa/gears-regular"; + get isTask() { + return true; } - search(e3) { - e3.addToQueue(this.nluDomain); + static get notRealAction() { + return false; } - 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, z.NLUDomain, this.parentFlow); + validate(e3) { + this.isNameUnique() || e3.addError(this, c.task.multipleNames), 0 === this.actions.length && e3.addError(this, c.task.containsNoActions); } - setNluDomainInfo(e3, t3) { - this.nluDomainId = e3, this.engineVersion = t3; + } + 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: o.default.changeSetsFeaturePhase2 } } }), t2.default = d; + }, 96651(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isStateViewModel = function(e3) { + return e3 instanceof d; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(4648)), r = 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 a.default { + constructor(e3, t3) { + super(e3), this._loadModel(t3); } - validate(e3) { - var t3; - 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 nodeGuxIcon() { + return "site"; } - get wrappedYamlName() { - return this.parentFlow.type === v.flowTypes.flowTypeVoice ? "settingsBot" : "settingsBotFlow"; + get isStateLike() { + return true; } - _destroy() { - super._destroy(); + get isState() { + return true; } - getSlotVariableNameForSlotName(e3, t3) { - return e3 ? (t3 && (e3 += `_${J.expression.collectionSingular}`), S.expressionDataService.cleanseForIdentifierName(e3, "_", true)) : "slot_"; + get shouldBeTerminated() { + return !(!this.parentFlow.definition.startUpStateMustTerminate && this.isStartUpObject) && super.shouldBeTerminated; } - createSlotVarForSlotName(e3, t3, i3, n3) { - const r3 = this.parentFlow; - if (!r3) return; - const a2 = this.getSlotVariableNameForSlotName(e3, n3); - let s2 = p.setScope(p.scopes.slot, a2); - const l2 = r3.variableGroup.getVariableByName(s2, r3); - if (l2) { - 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 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), c2.destroy(), _2; + get resources() { + return { deleteTitle: c.deleteState, edit: c.states.editState, multipleNameError: c.states.multipleNames, noTerminatingAction: c.states.noTerminatingAction, setAsStartup: c.setStateAsStartup, startUpDisplayName: c.startUpStateDisplayName }; } - 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 H.default({}), u2 = new A.ExpressionParameters(this.parentFlow, this.parent, l2, e3, true, s2); - return u2.type = r3, new x.NormalExpression(u2); + get defaultVariableScope() { + return r.scopes.state; } - get allowsMoreThanOneSupportedLanguage() { - const e3 = parseFloat(this.engineVersion); - return !!isNaN(e3) || !!r2.default.isActualNumber(e3) && e3 >= 3; + get localVariableScope() { + return r.scopes.state; } - clearDynamicAgenticVirtualAgentEnabledState() { - var e3; - this._agenticVirtualAgentEnabledFlowCurrentState = void 0, this._hasCallAVAAction = void 0, (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.loaded) && this._updateConversationSchemaFieldsOutOfService(); + get isAllowedAsStartupNode() { + return this.parentFlow.isAutomateFlowType && !this.isStartUpObject && this.parentFlow.periodicState !== this; } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(), this.parent.isBotFlow && h.isFeatureAvailable(N.default.botFlowsVoiceProcessingPrompt); + get isAllowedAsPeriodicState() { + return this.parentFlow.definition.supportsPeriodicState && !this.isStartUpObject && !this.isPeriodicState; } - initializeDesignTime() { - if (super.initializeDesignTime(), this.parent.isBotFlow && h.isFeatureAvailable(N.default.botFlowsVoiceProcessingPrompt)) { - const e3 = this.voiceProcessingPrompt; - if (e3) { - const t3 = e3.mode === _.literal && !!e3.text; - l.emitter.emit(l.promptChanged, { type: "voiceProcessingPrompt", isSet: t3 }), this.addAutoCleanedUpEventSinkWatch(l.expressionValueChanged, e3, (e4) => { - const t4 = e4.mode === _.literal && !!e4.text; - l.emitter.emit(l.promptChanged, { type: "voiceProcessingPrompt", isSet: t4 }); - }); - } - } - (0, b.isFeatureAvailable)(N.default.botFlowsLLMPoweredFrontDoor) && (this.conversationSchema && (this.conversationSchema.isOptional = true, this.addAutoCleanedUpEventSinkWatch(l.valueChanged, this.conversationSchema, () => { - this._updateConversationSchemaFieldsOutOfService(); - })), this._updateConversationSchemaFieldsOutOfService()); + get isInQueueStartUpState() { + return this.parentFlow.isInQueueWorkflow && this.isStartUpObject; } - _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); + get isPeriodicState() { + return this.parentFlow.periodicState === this; } - updateAgenticVirtualAgentEnabledFromFlowInfo() { - var e3, t3, i3; - (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" })); + get containerLabel() { + return c.state.label; } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get supportsInputVariables() { + return this.parentFlow.supportsStateInputVariables; } - get _globalTypeName() { - return "phoneNumberCollection"; + get supportsOutputVariables() { + return this.parentFlow.supportsStateOutputVariables; } - get displayTypeName() { - return "ArchValuePhoneNumberCollection"; + get uiMetaDataSectionName() { + return "state"; } - get isArchValuePhoneNumberCollection() { - return true; + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), e3.copyCutProcessStateViewModel(this); } } - t2.default = r2; - }, 71824: (e2, t2, i2) => { + d.info = l.default.createReusableNodeInfo({ actionType: u.stateActionType, actionClass: d, helpTopic: s.helpTopics.tasks.state, name: c.actions.state, modelFormatSupport: { flowYaml: { inProgress: true, feature: o.default.changeSetsFeaturePhase2 } } }), t2.default = d; + }, 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(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 = {}; + const n2 = i2(31635), o = i2(96618), r = 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 v = (e3) => e3 === d.outputIds.default; + class I extends A.default { + constructor(e3, t3) { + super(e3), this._branchItems = [], this._loadModel(t3); } - get isCommonWorkflowViewModel() { + static get notRealAction() { return true; } - get states() { - return void 0 === this._statesArray && (this._statesArray = Object.values(this._statesMap)), this._statesArray; - } - get hasStates() { - var e3; - return (null === (e3 = this.states) || void 0 === e3 ? void 0 : e3.length) >= 1; + get resources() { + return { deleteTitle: N.deleteTask, edit: N.editTask, multipleNameError: N.task.multipleNames, noTerminatingAction: N.task.noTerminatingAction, setAsStartup: N.setTaskAsStartup, startUpDisplayName: N.startUpTaskDisplayName }; } - _deleteAllStates() { - r2.default.destroyContents(this._statesMap), this._statesArray = void 0; + _loadModel(e3) { + if (e3) { + if (this._branchItems.length = 0, e3.paths) for (let t3 = 0; t3 < e3.paths.length; t3++) { + 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); + } } - getStateById(e3) { - return this._statesMap[e3]; + getBranches() { + return this._branchItems; } - _deleteState(e3) { - (null == e3 ? void 0 : e3.id) && (delete this._statesMap[e3.id], this._statesArray = void 0); + getBranchByName(e3) { + if (!this.parentFlow.supportsTasksWithOutputPaths) return null; + 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; } - _addState(e3) { - (null == e3 ? void 0 : e3.id) ? (this._statesMap[e3.id] && this.topic.error("_addState called with a state that has already been added, id: " + e3.id), this._statesMap[e3.id] = e3, this._statesArray = void 0) : this.topic.error("_addState called with a state that has no id"); + getBranchByOutputId(e3) { + const t3 = this._branchItems.find((t4) => t4.outputId === e3); + return a.default.isUndefined(t3) ? null : t3; } - get className() { - return "CommonWorkflowViewModel"; + createBranch(e3) { + if (!this.supportsCustomOutputPaths) return null; + const t3 = s.createBranchItem(this.id, e3, (e4) => this.removeBranch(e4)); + return this._branchItems.push(t3), c.fireEvent(this, u.outputBranchAdded, t3), t3; } - getTopLevelTaskLikeChild(e3) { - return e3 ? this._statesMap[e3] || super.getTopLevelTaskLikeChild(e3) : null; + _destroy() { + super._destroy(), this._branchItems.length = 0; } - get overrideWireFlowConfiguration() { - return h.getWorkflowConfiguration; + getInputVariables() { + return a.default.filter(this.variables, (e3) => e3.isInput); } - get overrideWireFlowVersionConfiguration() { - return h.getVersionWorkflowConfiguration; + get isReusableTask() { + return !this.isInlineTask && this.id !== this.parentFlow.initialSequence; } - get statesYamlPropertyName() { - return a.default.states; + getOutputVariables() { + return a.default.filter(this.variables, (e3) => e3.isOutput); } - buildConfiguration(e3, t3, i3) { - if (super.buildConfiguration(e3, t3, i3), this.hasStates) { - const t4 = (null == i3 ? void 0 : i3.isForFlowYaml) ? this.statesYamlPropertyName : a.default.flowSequenceItemList; - r2.default.isArray(e3[t4]) || (e3[t4] = []), r2.default.each(this.states, (n3) => { - const r3 = n3.getConfiguration(e3, i3); - if (null == i3 ? void 0 : i3.isForFlowYaml) { - if (n3.isInQueueStartUpState) return void (e3.startUpState = r3.state); - if (n3.isPeriodicState) return void (e3.periodicState = r3.state); + configureFromModel(e3, t3, i3, o2) { + const r2 = 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)); } - e3[t4].push(r3); - }), (null == i3 ? void 0 : i3.isForFlowYaml) && this.isInQueueWorkflow && (delete e3.startUpRef, e3[t4].length || delete e3[t4]); - } - return this.isInQueueWorkflow && !(null == i3 ? void 0 : i3.isForFlowYaml) && (e3.periodicStateId = this._periodicStateId), e3; - } - checkVersion(e3) { - super.checkVersion(e3); - } - get children() { - return [...super.children, ...this.states]; - } - createState(e3) { - const t3 = new _(); - t3.name = e3 || this._getUniqueName(this.states, p.task.newDefaultStateName); - const i3 = new c.default(this, t3); - return this.addNewChild(i3), i3; - } - addNewChild(e3) { - e3.isState && this._addState(e3), super.addNewChild(e3); - } - getFlowConfigurationClass() { - return m; - } - deleteNode(e3, t3) { - if (!e3) return null; - if (this.initialSequence === e3.id) return null; - if (this._periodicStateId === e3.id) return null; - const i3 = e3.parent; - return i3.deleteChild ? i3.deleteChild(e3) : t3 || (e3.isTask ? this._deleteTask(e3) : this._deleteState(e3), l.fireEvent(this, s.containerListChanged, e3)), e3.isDestroyedOrDestroying || (e3.destroy(), l.fireEvent(this, s.containerListChanged)), i3; - } - search(e3) { - super.search(e3), r2.default.each(this.states, e3.addToQueue.bind(e3)); - } - traverse(e3) { - super.traverse(e3); - for (let t3 = this.states.length - 1; t3 >= 0; t3--) if (this.states[t3].traverse(e3), e3.isCanceled) return; + } + yield r2.configureFromModel.call(this, e3, t3, i3, o2); + }); } - updateDependencies() { - r2.default.each(this.states, (e3) => { - e3.updateDependencies(); - }), super.updateDependencies(); + 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 = a.default.getFirstPropertyValueInObj(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((o2) => { + (null == t3 ? void 0 : t3.isForFlowYaml) && o2.outputId === d.outputIds.default || i3[n3].push(o2.getConfiguration(e3, t3)); + }), (null == t3 ? void 0 : t3.isForFlowYaml) ? a.default.tryWrapObject(i3, this.wrappedYamlName) : i3; } - _loadConfiguration(e3) { - 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 isAllowedAsStartupNode() { + return this.parentFlow.definition.startUpObjectCanBeTask && !this.isInlineTask && this.parentFlow.type !== o.flowTypes.flowTypeVoiceSurvey; } - get stateViewModel() { - return c.default; + get isCallable() { + return !this.isInlineTask && !this.isStartUpObject; } - _destroy() { - super._destroy(), this._deleteAllStates(); + get isTask() { + return true; } - _initializeDesignTime() { - super._initializeDesignTime(), r2.default.each(this.states, (e3) => { - e3.initializeDesignTime(); - }); + get isTransferable() { + return (this.isStartUpObject || !this.hasBranchTerminatingWithEndTask) && !this.isInlineTask; } - get periodicState() { - if (this.definition.supportsPeriodicState) return this._periodicState && !this._periodicState.isDestroyed && this._periodicState.id === this._periodicStateId || (this._periodicState = this.getStateById(this._periodicStateId)), this._periodicState; + get name() { + return super.name; } - set periodicState(e3) { - if (!this.definition.supportsPeriodicState) return void o.error("flow does not support periodic state"); - if (!e3 || !e3.isState) return void o.error("periodicState must be a state"); - if (this.initialSequence === e3.id) return void o.error("can not set periodicState to initialSequence"); - const t3 = this.periodicState; - t3 && u.validateNode(t3, true), this._periodicStateId = e3.id, this._periodicState = void 0; - const i3 = this.periodicState; - i3 && u.validateNode(i3, true), l.fireEvent(this, s.startUpObjectChanged); + set name(e3) { + const t3 = this.name; + super.name = e3, t3 !== e3 && (c.fireEvent(this.parentFlow, u.taskNameChanged, this), (0, m.validateNode)(this, true)); } - } - t2.default = g; - }, 71840: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get supportsInputVariables() { + return !this.isInlineTask && this.parentFlow.supportsTaskInputVariables; } - get _globalTypeName() { - return "voiceSnippet"; + get supportsCustomOutputPaths() { + return this.isCallable && this.parentFlow.supportsTasksWithOutputPaths; } - get id() { + get supportsOutputVariables() { + return !this.isInlineTask && this.parentFlow.supportsTaskOutputVariables; } - get startDateTime() { + get supportsInputAndOutputVariables() { + return this.parentFlow.supportsTaskInputAndOutputVariables; } - get length() { + removeBranch(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)); } - get displayTypeName() { - return "ArchValueVoiceSnippet"; + addClipboardDependencies(e3) { + super.addClipboardDependencies(e3), e3.copyCutProcessTaskViewModel(this); } - get isArchValueVoiceSnippet() { - return true; + targetTaskPathDisplayStr(e3) { + return this.isInlineTask ? (0, r.sprintf)(h.default.task.targetPathDisplayStr, this.linkedMenuChoice.parent.name, this.name) : this.name; } } - t2.default = r2; - }, 71844: (e2, t2, i2) => { - function n2() { - this.name = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "BridgeServerCategory"), Object.defineProperties(n2.prototype, { id: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 71874: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.WorktypeErrorTypesEnum = void 0, t2.checkWorktypeFlowCompatibility = function(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var t3; - const i3 = { error: null }; - try { - (null === (t3 = (yield r2.worktypeManager.apiCallSingle(e3)).flow) || void 0 === t3 ? void 0 : t3.id) && (i3.error = a.worktypeInUse); - } catch (e4) { - if (null == e4 ? void 0 : e4.status) switch (e4.status) { - case 403: - i3.error = a.worktypeInsufficientViewPermissions; - break; - case 404: - i3.error = a.worktypeDoesNotExist; - break; - default: - o.requestError(e4, "unspecified error getting worktype."), i3.error = a.worktypeUnspecifiedError; - } - } - return i3; - }); - }, t2.getWorktypeStatusByName = function(e3, t3) { - return s(e3, t3, "name"); - }, t2.getWorktypeStatusById = function(e3, t3) { - return s(e3, t3, "id"); - }; - const n2 = i2(31635), r2 = i2(38725), o = n2.__importStar(i2(24032)).getTopic("workitemFlow"); - var a; - function s(e3, t3, i3) { - var n3, r3, o2; - return (null === (o2 = null === (r3 = null === (n3 = t3.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.worktype) || void 0 === r3 ? void 0 : r3.statuses) || void 0 === o2 ? void 0 : o2.length) ? t3.workitemFlowSettings.worktype.statuses.find((t4) => (function(e4, t5) { - return e4.toLowerCase() === t5.toLowerCase(); - })("name" === i3 ? t4.name : t4.id, e3)) : {}; - } - !(function(e3) { - e3.worktypeInsufficientViewPermissions = "worktypeInsufficientViewPermissions", e3.worktypeInUse = "worktypeInUse", e3.worktypeDoesNotExist = "worktypeDoesNotExist", e3.worktypeUnspecifiedError = "worktypeUnspecifiedError"; - })(a || (t2.WorktypeErrorTypesEnum = a = {})); - }, 71901: (e2, t2, i2) => { + I.info = S.default.createReusableNodeInfo({ actionType: g.taskActionType, actionClass: I, helpTopic: T.helpTopics.tasks.task, name: N.actions.task, needsServerInfo: true, categoryId: "category.task", modelFormatSupport: { flowYaml: { inProgress: true, feature: f.default.changeSetsFeaturePhase2 } } }), t2.default = I; + }, 10016(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), 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: 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", M); + t2.BaseEventHandlingViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(15244)), s = n2.__importStar(i2(17498)), l = n2.__importDefault(i2(20084)), u = i2(47957), c = r.getTopic("BaseEventHandlingViewModel"); + class d extends l.default { + constructor(e3, t3) { + super(e3, "errorHandling", t3); } get id() { - return "userInputSettings"; - } - get helpTopic() { - return this.parentFlow.isVoiceSurveyFlow ? D.helpTopics.treeNodes.userInputSettingsVoiceSurvey : D.helpTopics.treeNodes.userInputSettings; + return "errorHandling"; } get className() { - return "BotFlowUserInputSettingsViewModel"; + return "BaseEventHandlingViewModel"; + } + updateDependencies() { + o.default.each(this.managedPropertyViewModels, (e3) => { + e3.isExpression ? s.registerExpression(e3, true) : e3.updateDependencies(); + }); } getDisplayName() { - return L.customNodes.userInputSettings.title; + return u.customNodes.eventHandling.label; } 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), 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"); - a.default.extend(i3, t4); + let i3 = {}; + if (o.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 = o.default.tryWrapObject(n3, "errorHandling"); } - return i3; + return o.default.extend(i3, super.getConfiguration(e3, t3)), i3; } - return super.getConfiguration(e3, t3); - } - get isBotFlowUserInputSettingsNode() { - return true; + super.getConfiguration(e3, t3), e3.errorHandling.handlingType = this.handlingType; } - loadConfiguration(e3) { - const t3 = []; - 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 ? 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)); + getConfigurationForHandlingProperty(e3, t3, i3, n3) { + var r2, s2; + const l2 = {}, u2 = l2[i3.scriptingName] = {}; + switch (i3) { + case a.default.Disconnect: + break; + case a.default.Queue: + u2.targetQueue = this.queue.getConfiguration(e3, t3); + break; + case a.default.Menu: + const l3 = null === (r2 = this.menuProperty) || void 0 === r2 ? void 0 : r2.getReferenceViewModel(); + o.default.isNullOrUndefined(l3) || (u2.targetMenuRef = l3.yamlPath); + break; + case a.default.Task: + const d2 = null != n3 ? n3 : this.taskProperty, p = null == d2 ? void 0 : d2.getReferenceViewModel(); + o.default.isNullOrUndefined(p) || (u2.targetTaskRef = p.yamlPath); + break; + case a.default.State: + const _ = null === (s2 = this.stateProperty) || void 0 === s2 ? void 0 : s2.getReferenceViewModel(); + o.default.isNullOrUndefined(_) || (u2.targetStateRef = _.yamlPath); + break; + case a.default.EndFlow: + case a.default.EndInQueueState: + case a.default.EndWorkflow: + case a.default.Exit: + case a.default.AbortSend: + case a.default.CompleteSend: + break; + default: + const h = `Matching handlingProperty not found for handling type value '${i3}'`; + throw c.exceptionWithErrorObjectInfo(null, h, i3), h; } - super.loadConfiguration(e3), t3.forEach((e4) => e4()); + return o.default.ensureYamlNoneTrue(u2), l2; } - 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), 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; - } - updateConfiguration(e3, t3) { - (!e3 || e3 < 2) && this.parentFlow.type === r2.flowTypes.flowTypeBot && this.dtmfTerminatingCharacter.setAsNoValue(); - } - showTaskPropertyBasedOnHandlingType(e3, t3) { - const i3 = t3 !== m.default.Task; - e3.outOfService = i3; - } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(); - } - get nodeGuxIcon() { - return "microphone"; - } - get wrappedYamlName() { - return "settingsUserInput"; - } - get noInputsMaxExceededHandlingTypes() { - 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 = 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 ? 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, L.customNodes.botFlowUserInputSettings.collectionConfidenceThresholdsError, t4.id); - (n3 && !i4 || !n3 && i4) && w.validateItem(t4, true, true); - } - return n3; + get handlingType() { + return this._handlingType; } - }; - }, 71956: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getBootstrappingDataV2 = s; - const n2 = i2(31635), r2 = n2.__importDefault(i2(83735)), o = n2.__importDefault(i2(36019)), a = { getBootstrappingDataV2: o.default.request("GET", "{public-api.apps}/api/v2/architect/capabilities", r2.default, { ignoreBadResponse: false }) }; - function s(e3) { - const t3 = o.default.build(a.getBootstrappingDataV2); - return t3.queryParams({ expand: e3 }), t3.call(); - } - t2.default = { getBootstrappingDataV2: s }; - }, 71960: (e2, t2, i2) => { - "use strict"; - 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}`; + set handlingType(e3) { + this._handlingType = e3; } - set id(e3) { - this._id = e3; + get wrappedYamlName() { + return "settingsErrorHandling"; } - get name() { - return this._name; + loadConfiguration(e3) { + super.loadConfiguration(e3), e3.errorHandling.handlingType && (this.handlingType = e3.errorHandling.handlingType); } - set name(e3) { - this._name = e3; + get nodeGuxIcon() { + return "fa/ticket-regular"; } - get version() { - return this._version; + } + t2.BaseEventHandlingViewModel = d; + }, 20084(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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(); } - set version(e3) { - this._version = e3; + get modelPropertyName() { + return this._modelPropertyName; } - get virtualAgent() { - return this._virtualAgent; + createTraceTopic() { + this.className || s.error("missing class name!"), this.traceTopic = a.getTopic(this.className); } - set virtualAgent(e3) { - this._virtualAgent = e3; + get isBaseFlowSettingsViewModel() { + return true; } - get definition() { - return this._definition; + get managedPropertyViewModels() { + const e3 = []; + return Object.values(this._managedPropertyViewModels).forEach((t3) => { + t3.isExpressionList ? e3.push(...t3.items) : e3.push(t3); + }), e3; } - set definition(e3) { - this._definition = e3, this._processDefinition(); + createModelConfigSection(e3) { + this._modelPropertyName && (e3[this._modelPropertyName] || (e3[this._modelPropertyName] = new this._modelSettingsClass())); } - _isCustomConversationAttributesOnly(e3) { - return !!r2.isFeatureAvailable(a.default.botFlowsLLMPoweredFrontDoor) && !(!e3.targets || 0 === e3.targets.length) && e3.targets.every((e4) => e4.type === t2.agenticVirtualAgentPropertyTargetType.customConversationAttributes); + getConfiguration(e3, t3) { + if (!this._modelPropertyName) return; + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const i4 = {}; + return Object.entries(this._managedPropertyViewModels).forEach(([n3, r2]) => { + var a2; + const s2 = (null === (a2 = r2.metaData) || void 0 === a2 ? void 0 : a2.yamlOptions) || r2.yamlOptions; + if (null == s2 ? void 0 : s2.skipProperty) return; + const l2 = r2.getConfiguration(e3, t3, s2); + if (!o.default.isNullOrUndefined(r2)) { + if (o.default.isObject(l2)) { + const e4 = r2.propertyName || (null == s2 ? void 0 : s2.propertyName); + i4[e4] = l2; + } else if (o.default.isString(l2) && r2.isContainerActionProperty) { + const e4 = r2.propertyName || (null == s2 ? void 0 : s2.propertyName); + (null == s2 ? void 0 : s2.wrappedObjectName) ? i4[s2.wrappedObjectName] = o.default.tryWrapObject(l2, e4) : i4[e4] = l2; + } + } + }), i4; + } + this.createModelConfigSection(e3); + const i3 = e3[this._modelPropertyName]; + Object.entries(this._managedPropertyViewModels).forEach(([e4, n3]) => { + i3[n3.modelPropertyName || e4] = n3.getConfiguration(i3, t3); + }), Object.entries(this.uiMetaData).length && (i3.uiMetaData = Object.assign({}, this.uiMetaData)); } - _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 (!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 }); + loadConfiguration(e3) { + this.createModelConfigSection(e3), this.model = e3[this._modelPropertyName], (0, u.getManagedProperties)(this).forEach((e4) => { + var t3; + const i3 = (0, r.default)(this, e4); + this._managedPropertyViewModels[e4.property] = i3, !e4.yamlOptions || i3.yamlOptions || (null === (t3 = i3.metaData) || void 0 === t3 ? void 0 : t3.yamlOptions) || (i3.yamlOptions = e4.yamlOptions), l.registerExpression(i3); }); - 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 (!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 }; + } + updateDependencies() { + super.updateDependencies(), Object.values(this._managedPropertyViewModels).forEach((e3) => { + o.default.isFunction(e3.updateDependencies) && e3.updateDependencies(), e3.isNormalExpression && l.registerExpression(e3); }); } - get inputs() { - return this._inputs; + _initializeDesignTime() { + this.currentUiVersion && (!this.hasSavedUiVersion || this.currentUiVersion > this.savedUiVersion) && !this.parentFlow.isReadOnly && (this.traceTopic.info(`upgrading uiVersion from version: ${this.savedUiVersion} to version:${this.currentUiVersion}`), this.updateConfiguration(this.savedUiVersion, this.currentUiVersion), this.savedUiVersion = this.currentUiVersion), super._initializeDesignTime(), Object.values(this._managedPropertyViewModels).forEach((e3) => e3.initializeDesignTime()); } - set inputs(e3) { - this._inputs = e3; + search(e3) { + Object.values(this._managedPropertyViewModels).forEach((t3) => e3.addToQueue(t3)); } - get outputs() { - return this._outputs; + validate(e3) { + super.validate(e3), Object.values(this._managedPropertyViewModels).forEach((t3) => t3.validate(e3)); } - set outputs(e3) { - this._outputs = e3; + _destroy() { + super._destroy(), Object.values(this._managedPropertyViewModels).forEach((e3) => e3.destroy()), this._managedPropertyViewModels.length = 0; } - } - 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; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + setNewInstanceDefaults() { } - constructor(e3) { - super(e3); + get uiMetaData() { + if (this.model) return this.model.uiMetaData || (this.model.uiMetaData = {}), this.model.uiMetaData; } - get className() { - return "ExpressionTypeAssignedCustomerSegmentOptions"; + get currentUiVersion() { } - get isExpressionTypeAssignedCustomerSegmentOptions() { - return true; + get hasSavedUiVersion() { + return !o.default.isUndefined(this.uiMetaData.currentUiVersion); } - get supportsLiteralMode() { - return this.isCollection; + get savedUiVersion() { + return this.uiMetaData.currentUiVersion; } - } - 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), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends l.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); + set savedUiVersion(e3) { + this.uiMetaData.currentUiVersion = e3; } - 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: p.createYamlOptions("participantId", (e3) => e3.setExportOrder(20)) }]; + updateConfiguration(e3, t3) { } - static get branchInfo() { - return o.default.successFailure; + get nodeId() { + return this.id; } } - 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; - const n2 = i2(31635), r2 = n2.__importDefault(i2(43933)), o = n2.__importDefault(i2(22604)), a = n2.__importDefault(i2(90159)), s = n2.__importDefault(i2(36019)), l = i2(78685), u = { ignoreBadResponse: true }; - t2.getGrammars = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars", l, u), t2.getGrammar = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars/{id}?includeFileUrls={includeFileUrls}", r2.default, u), t2.getGrammarWithStatus = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars/{id}?includeFileUrls={includeFileUrls}", r2.default, { includeStatusOnSuccess: true, ignoreBadResponse: true }), t2.getGrammarLanguage = s.default.request("GET", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}"), t2.deleteGrammar = s.default.request("DELETE", "{public-api.apps}/api/v2/architect/grammars/{id}", r2.default, u), t2.updateGrammar = s.default.request("PATCH", "{public-api.apps}/api/v2/architect/grammars/{id}", r2.default, u), t2.updateGrammarLanguage = s.default.request("PATCH", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}", r2.default, u), t2.createGrammar = s.default.request("POST", "{public-api.apps}/api/v2/architect/grammars/", r2.default, u), t2.addLanguageToGrammar = s.default.request("POST", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages", o.default, u), t2.removeLanguageFromGrammar = s.default.request("DELETE", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}", r2.default, u), t2.createGrammarFileUploadUrl = s.default.request("POST", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/{grammarType}", a.default, u), t2.deleteGrammarFile = s.default.request("DELETE", "{public-api.apps}/api/v2/architect/grammars/{grammarId}/languages/{languageCode}/files/{grammarType}", a.default, u), t2.uploadGrammarFile = s.default.request("PUT", "{url}", r2.default, u), t2.downloadGrammarFile = s.default.request("GET", "{url}", u); - }, 72155: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ensureCollectionExpressionIsModifiable = r2, t2.addItemToCollection = function(e3) { - const t3 = e3._getCoreViewModel(); - t3.isLiteralMode || t3.setModeWithTransition(n2.literal), r2(e3, true, "addItemToCollection", "You cannot add items to it."); - const i3 = t3.collectionItems, o = t3.type.createExpressionOptionClass(); - e3.isVariableInitialValue && o.setAsInput(true); - const a = i3.createItem(null, null, o); - i3.addItem(a); - const s = e3.coreFactory.createArchWrapper(a); - return e3.logNote("added a new ArchBaseValue of type '" + s.dataType.label + "' to the collection."), s; - }; - const n2 = i2(31635).__importStar(i2(63352)); - function r2(e3, t3, i3, n3) { - const r3 = e3._getCoreViewModel(); - if (r3 && r3.collectionItems && r3.collectionItems.isExpressionList) return r3; - if (!t3) return; - const o = e3._infoCalledObject(e3, i3); - e3._itemIsInvalid(o, "the contents of this " + e3.displayTypeName + " are not modifiable." + (n3 ? " " + n3 : "")); - } - }, 72183: (e2, t2, i2) => { + t2.default = d; + }, 27377(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "carousel"; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(24032)), a = n2.__importDefault(i2(68460)), s = i2(99472), l = r.getTopic("BaseWorkbenchSettingsNode"); + class u extends a.default { + constructor() { + super(...arguments), this.labelBadge = s.aiPoweredBadgeWithNoText; } - get initialValue() { - return this._initialValue; + get isWorkbenchSettingsNode() { + return true; } - get displayTypeName() { - return "ArchVariableCarousel"; + get virtualAgentEnabled() { + var e3; + return null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled; } - get isArchVariableCarousel() { - return true; + validate(e3) { + var t3; + const i3 = o.default.where(null === (t3 = this.parentFlow.nluMetaData.currentWorkbenchMessage) || void 0 === t3 ? void 0 : t3.validationResults, { archNode: this.workbenchArchNodeName }); + o.default.each(i3, (e4) => { + if (o.default.isString(e4.message)) if ("error" === e4.type) this.parentFlow.validationResults.addError(this, e4.message); + else { + if ("warn" !== e4.type) return "info" === e4.type ? void l.error(`Validation result for ${this.className} had info type but info isn't supported yet. Object: '${e4}`) : void l.error(`Validation result for ${this.className} had unrecognized type '${e4.type}'. Object: '${e4}`); + this.parentFlow.validationResults.addWarning(this, e4.message); + } + else l.error(`Validation result for ${this.className} had no message. Object: '${e4}`); + }); } } - t2.default = r2; - }, 72188: (e2, t2, i2) => { + t2.default = u; + }, 8066(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(62028)); - class s extends a.default { + const n2 = i2(31635), o = i2(96618), r = (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)), I = i2(12179), C = i2(10016), O = i2(15008), b = (i2(21733), i2(47957)), E = h.getTopic("BotFlowEventHandlingViewModel"); + class w extends C.BaseEventHandlingViewModel { constructor(e3) { - super(e3); - const t3 = e3.action; - this._checkItemUndefinedOrNull(this._infoParmCtor("coreMenuChoiceViewModel.action.menu"), t3.menu), this._audio = this.coreFactory.createArchWrapper(t3.menu.prompts), this._coreMenuViewModel = t3.menu, this._menuSettings = this.coreFactory.createArchWrapper(t3.menu.menuSettings), this._speechRecSettings = this.coreFactory.createArchWrapper(t3.menu.speechRecSettings); + super(e3, O), 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, r.sprintf)(b.customNodes.eventHandling.eventHandlingErrorEventHandlingDescription, this._handlingTypes[1].label, this._handlingTypes[0].label), this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isDigitalBotFlow || this.parentFlow.isBotFlow) ? this.recognitionHandlingTypeDescription = (0, r.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, r.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandlingDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction, this.recognitionHandlingTypes[1].label, this.recognitionHandlingTypes[0].label)); } - get _actionTypeId() { - return o.menuActionActionType; + get className() { + return "BotFlowEventHandlingViewModel"; } - get childMenus() { - const e3 = []; - return r2.default.each(this._getCoreViewModel().choices, (t3) => { - e3.push(this.coreFactory.createArchWrapper(t3)); - }), e3; + get handlingTypes() { + return this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isDigitalBotFlow || this.parentFlow.isBotFlow) ? a.default.without(this._handlingTypes, m.default.Task) : this._handlingTypes; } - get menuDefault() { - const e3 = this._coreMenuViewModel.defaultMenuChoice; - if (e3) { - const t3 = r2.default.find(this._getCoreViewModel().choices, (t4) => t4.id === e3); - if (t3) return this.coreFactory.createArchWrapper(t3); - } + get recognitionHandlingTypes() { + return this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isDigitalBotFlow || this.parentFlow.isBotFlow) ? [...this._handlingTypes, m.default.Task] : this._handlingTypes; } - set menuDefault(e3) { - let t3, i3 = "no default menu choice"; - if (!r2.default.isUndefined(e3) && null !== e3) { - const n3 = this._infoPropSet("newValue", "menuDefault"); - this._checkItem(n3, !e3.isArchBaseMenuChoice, "The parameter value must be an ArchBaseMenuChoice instance."), t3 = this._findCoreMenuChoiceById(e3.id), this._checkItem(n3, !t3, `The menu choice ${e3.logStr} is not a child of this menu and cannot be set to the default menu choice.`), i3 = e3.logStr; - } - this._coreMenuViewModel.defaultMenuChoice = t3 ? t3.id : null, this.logNote(`default menu choice set to ${i3}`); + get recognitionHandlingType() { + return this._recognitionHandlingType; } - get displayTypeName() { - return "ArchMenuSubMenu"; + set recognitionHandlingType(e3) { + this._recognitionHandlingType = e3, this._updateRecognitionHandingOutOfService(), N.validateNode(this, true); } - get actionMenu() { - return this._archAction; + _updateRecognitionHandingOutOfService() { + 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 audio() { - return this._audio; + get helpTopic() { + return I.helpTopics.treeNodes.eventHandling; } - get isArchMenuSubMenu() { + get isBotFlowEventHandlingViewModel() { return true; } - get settingsMenu() { - return this._menuSettings; - } - get settingsSpeechRec() { - return this._speechRecSettings; - } - } - 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)), c = n2.__importDefault(i2(20030)), d = n2.__importDefault(i2(4648)), p = i2(47957); - class _ extends c.default { - static get managedProperties() { - 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)); - } - objEvent_outputBranchAdded(e3, t3) { - const i3 = this.getBranch(t3.outputId); - i3 ? i3.enableFull() : this.addOptionalBranchInfo(t3); + get botFlowEscalationRecognitionHandlingV2() { + return s.isFeatureAvailable(v.default.botFlowEscalationRecognitionHandlingV2); } - objEvent_outputBranchRemoved(e3, t3) { - const i3 = this.getBranch(t3); - i3 && i3.hasChildren ? i3.isUnreachable = true : this.removeOptionalBranchInfoById(t3); + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const i4 = super.getConfiguration(e3, t3); + if (i4.recognitionEventHandover) { + const e4 = i4.recognitionEventHandover; + delete i4.recognitionEventHandover, i4.recognitionFailureEventHandover = e4; + } + if (a.default.isNullOrUndefined(this.recognitionHandlingType)) E.error(`Matching handlingTypeEnum not found for recognitionHandlingType value '${this.recognitionHandlingType}'`); + else { + const n3 = this.getConfigurationForHandlingProperty(e3, t3, this.recognitionHandlingType, this.recognitionEventTask), o2 = a.default.tryWrapObject(n3, "recognitionFailureEventHandling"); + a.default.extend(i4, o2), this.recognitionHandlingType === m.default.Task && delete i4.recognitionEventHandover; + } + if (a.default.isNullOrUndefined(this.agentEscalationHandling.handlingType)) E.error(`Matching handlingTypeEnum not found for agentEscalationHandling value '${this.agentEscalationHandling.handlingType}'`); + else if (this.botFlowEscalationRecognitionHandlingV2 && (this.parentFlow.isBotFlow || this.parentFlow.isDigitalBotFlow)) { + const n3 = this.getConfigurationForHandlingProperty(e3, t3, this.agentEscalationHandling.handlingType, this.agentEscalationTask), o2 = a.default.tryWrapObject(n3, "agentEscalationHandling"); + a.default.extend(i4, o2), this.agentEscalationHandling.handlingType === m.default.Task && delete i4.agentEscalationHandover; + } + if (i4.subsequentRecognitionFailures) { + const e4 = i4.subsequentRecognitionFailures; + delete i4.subsequentRecognitionFailures, i4.subsequentRecognitionFailuresHandlingType = e4; + } + return i4; + } + const i3 = super.getConfiguration(e3, t3); + return e3.errorHandling.recognitionHandlingType = this.recognitionHandlingType, e3.errorHandling.subsequentRecognitionFailuresHandlingType = this.subsequentRecognitionFailures.text, delete e3.errorHandling.subsequentRecognitionFailures, i3; } - static get branchInfo() { - return [o.default.default]; + loadConfiguration(e3) { + super.loadConfiguration(e3), e3.errorHandling.recognitionHandlingType && (this.recognitionHandlingType = e3.errorHandling.recognitionHandlingType), e3.errorHandling.subsequentRecognitionFailuresHandlingType && (this.subsequentRecognitionFailures.text = e3.errorHandling.subsequentRecognitionFailuresHandlingType); } - setTask(e3) { - super.setTask(e3), this.referencedTaskViewModel ? this.switchToNewTaskPaths(this.referencedTaskViewModel.getBranches()) : this.resetToDefaultTaskPaths(); + 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(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: [o.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, r.sprintf)(b.customNodes.eventHandling.eventHandlingRecognitionFailureHandoverDescription, b.actions.askForActionGeneric, b.actions.askForNLUNextIntentAction)).setIsOptional(true).setDefaultToBuilderId(d.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowErrorEventHandlingSequences.errorHandlingRecognitionEventHandoverSequence)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("recognitionEventHandover").setDescriptionInfo(b.customNodes.eventHandling.handover, (0, r.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: [o.flowTypes.flowTypeDigitalBot, o.flowTypes.flowTypeBot] }, { label: b.customNodes.eventHandling.subsequentRecognitionFailuresLabel, type: _.expressionTypeNames.string, supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot, o.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: [o.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: [o.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: [o.flowTypes.flowTypeDigitalBot, o.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: [o.flowTypes.flowTypeDigitalBot, o.flowTypes.flowTypeBot] }]; } - get supportsCustomOutputPaths() { - return true; + showTaskPropertyBasedOnHandlingType(e3, t3) { + const i3 = t3 !== m.default.Task; + e3.outOfService = i3; } - switchToNewTaskPaths(e3) { - const t3 = r2.default.pluck(this.branchInfoList, "outputId"), i3 = r2.default.pluck(e3, "outputId"); - let n3; - for (let t4 = 0; t4 < e3.length; t4++) { - const i4 = e3[t4]; - n3 = this.getBranch(i4.outputId), n3 ? n3.enableFull() : this.addOptionalBranchInfo(i4); - } - const o2 = r2.default.difference(t3, i3); - for (let e4 = 0; e4 < o2.length; e4++) n3 = this.getBranch(o2[e4]), n3 && n3.hasChildren ? n3.isUnreachable = true : this.removeOptionalBranchInfoById(o2[e4]); + setNewInstanceDefaults() { + super.setNewInstanceDefaults(); } - validate(e3) { - super.validate(e3), this.taskReference && (s.flowElementRegistrationService.getItemById(this.parentFlow, this.taskReference) || this.resetToDefaultTaskPaths()); + updateSettingsDependentOnAgentEscalation() { + const e3 = !this.isAgentEscalationEnabledAtFlowRuntime(); + this.agentEscalationConfirmation.outOfService = this.agentEscalationHandling.outOfService = e3, this.agentEscalationHandover.outOfService = !!e3 || this.agentEscalationHandling.handlingType === m.default.Task, this.agentEscalationTask.outOfService = !!e3 || this.agentEscalationHandling.handlingType !== m.default.Task; } - resetToDefaultTaskPaths() { - this.switchToNewTaskPaths(this.branchInfos ? this.branchInfos : []); + isAgentEscalationEnabledAtFlowRuntime() { + return !(!this.enableAgentEscalation.outOfService && (this.enableAgentEscalation.isLiteralMode ? this.enableAgentEscalation.text !== p.default.true : this.enableAgentEscalation.isExpressionMode && this.enableAgentEscalation.text === p.default.false)); } - removeUnusedOutput(e3, t3) { - if (!this.getOptionalBranchInfo(t3.id)) return; - const i3 = this.parentFlow.getTaskById(this.taskReference); - i3 && r2.default.findIndex(i3.getBranches(), { outputId: t3.id }) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); + _initializeDesignTime() { + this.parentFlow.definition.supportsAgentEscalation ? this.updateSettingsDependentOnAgentEscalation() : (this.enableAgentEscalation.outOfService = true, this.agentEscalationConfirmation.outOfService = true, this.agentEscalationHandover.outOfService = true, this.agentEscalationHandling.outOfService = true, this.agentEscalationTask.outOfService = true), this._updateRecognitionHandingOutOfService(), this.addAutoCleanedUpSubscription(this.agentEscalationHandling.valueChanged$.subscribe(() => { + this.showTaskPropertyBasedOnHandlingType(this.agentEscalationTask, this.agentEscalationHandling.handlingType); + const e3 = this.agentEscalationHandling.handlingType === m.default.Task; + this.agentEscalationHandover.outOfService = e3, N.validateNode(this, true); + })), super._initializeDesignTime(); } } - _.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) => { + t2.default = w; + }, 71729(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchNetworkValueCache = void 0; - const n2 = i2(31635).__importDefault(i2(8471)); - var r2; - !(function(e3) { - e3.ID = "id", e3.VALUE = "value"; - })(r2 || (r2 = {})); - class o extends n2.default { - constructor() { - super(), this._idCacheByType = /* @__PURE__ */ new Map(), this._valueCacheByType = /* @__PURE__ */ new Map(), this._maxCacheSizePerType = 1e3, this._maxTotalCacheSize = 5e3, this._defaultTTL = 18e5, this._cleanupInterval = 15e3, this._cleanupTimer = null, this._cacheHits = 0, this._cacheMisses = 0, this._cacheEnabled = false, this._showDiagnostics = false, this._cleanupRefCount = 0, this._maxTotalMemoryBytes = 268435456, this._currentMemoryBytes = 0; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(17604), a = n2.__importStar(i2(94453)), s = n2.__importStar(i2(12847)), l = n2.__importStar(i2(17498)), u = n2.__importStar(i2(36781)), c = n2.__importStar(i2(9345)), d = n2.__importStar(i2(24032)), p = n2.__importStar(i2(71004)), _ = n2.__importStar(i2(14187)), h = n2.__importStar(i2(63352)), m = n2.__importStar(i2(10798)), g = i2(84464), f = n2.__importDefault(i2(20084)), T = i2(30801), y = i2(30801), S = i2(85415), A = i2(27491), N = i2(59263), v = n2.__importDefault(i2(4648)), I = i2(96618), C = i2(14394), O = i2(77841), b = i2(12179), E = i2(10798), w = i2(10798), R = i2(82632), D = i2(82632), P = i2(99469), M = i2(28803), F = n2.__importDefault(i2(22917)), L = n2.__importDefault(i2(77862)), x = i2(63689), k = i2(39168), V = i2(19284), U = i2(58525), B = i2(81516), G = i2(29586), j = (i2(13804), i2(13804), i2(13804)), q = i2(80428), W = i2(79467), Y = n2.__importDefault(i2(73198)), H = n2.__importStar(i2(63824)), J = n2.__importDefault(i2(7401)), $ = n2.__importDefault(i2(41510)), z = n2.__importStar(i2(1115)), K = i2(47957), Q = i2(42515), X = i2(27862); + d.getTopic("BotFlowSettingsViewModel"); + class Z extends f.default { + constructor(e3) { + super(e3, "botFlowSettings", Q), this._conversationSchemaHasRequiredProperties = false; } - get displayTypeName() { - return "ArchNetworkValueCache"; + get id() { + return "botFlowSettings"; } - get logStr() { - return "ArchNetworkValueCache"; + get className() { + return "BotFlowSettingsViewModel"; } - get _isCleaningUp() { - return this._cleanupRefCount > 0; + static get managedProperties() { + return [{ label: K.askCommon.voiceProcessingPrompt, options: U.ExpressionTypePromptOptions.create((e3) => e3.setIninTestingField("voiceProcessingPrompt").setIsOptional(true).setAllowModeExpression(false).setDefaultToNoValue(true).setDescriptionInfo(K.askCommon.voiceProcessingPrompt, K.askCommon.voiceProcessingPromptDescription).setFeatureConfigName(v.default.botFlowsVoiceProcessingPrompt).setSystemPromptFilterNames(j.voiceProcessingPromptFilterNames).setUiPropertyOrder(1).setRuntimeValueInheritsFromCallingFlow(true).setScriptingPropertyName("voiceProcessingPrompt")), supportedFlowTypes: [I.flowTypes.flowTypeBot], property: "voiceProcessingPrompt", type: q.expressionTypeNames.prompt }, { label: K.askCommon.initialPlaybackDelay, options: W.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("initialPlaybackDelay").setDefaultText(Y.default.litDurationTwoHundredFiftyMs).setScriptingPropertyName("initialPlaybackDelay").setDurationStyle(H.durationStyles.secondsAndTenthsDuration).setFeatureConfigName(v.default.botFlowsVoiceProcessingPrompt).setAllowModeLiteralOnly().setUiPropertyOrder(2).facets.setMinDur(100, true).setMaxDur(10 * Y.default.msPerSecond, true)), supportedFlowTypes: [I.flowTypes.flowTypeBot], property: "initialPlaybackDelay", type: q.expressionTypeNames.duration }, { label: K.askCommon.minimumPlaybackTime, options: W.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("minimumPlaybackTime").setDefaultText(Y.default.litDurationOneSecond).setScriptingPropertyName("minimumPlaybackTime").setDurationStyle(H.durationStyles.secondsAndTenthsDuration).setFeatureConfigName(v.default.botFlowsVoiceProcessingPrompt).setAllowModeLiteralOnly().setUiPropertyOrder(3).facets.setMinDur(Y.default.msPerSecond, true).setMaxDur(10 * Y.default.msPerSecond, true)), supportedFlowTypes: [I.flowTypes.flowTypeBot], property: "minimumPlaybackTime", type: q.expressionTypeNames.duration }, { label: K.conversationAttribute.schemaLabel, options: P.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("conversationSchema-selector").setFeatureConfigName(v.default.botFlowsLLMPoweredFrontDoor).setDropdownPlaceholder(K.conversationAttribute.selectSchema).setIsOptional(true)), supportedFlowTypes: [I.flowTypes.flowTypeBot], property: "conversationSchema", yamlOptions: F.default.create("conversationSchema", (e3) => e3.setSkipProperty(true)), createDetails: M.NetworkBasedActionProperty.createCreateDetails("conversationSchemaId", "conversationSchemaName", S.conversationCustomAttributeSchemaManager, K.conversationAttribute.mustSelectSchema, K.conversationAttribute.schemaNotFound, void 0, void 0, (e3, t3) => !t3.disabled) }, { label: K.conversationAttribute.recordId, options: B.ExpressionTypeStringOptions.create((e3) => { + e3.setAsInput().setIninTestingField("conversationSchemaRecordId").setDisableSpellcheck(true).setDefaultToExpression(true).setAllowNotSet(false).setAllowModeBuilder(false).setFeatureConfigName(v.default.botFlowsLLMPoweredFrontDoor).setDescriptionInfo(K.conversationAttribute.recordId, K.conversationAttribute.recordIdDescription).facets.setAllowNull(false).setMaxLength(R.conversationAttributeLimits.recordId.maxLength).setMinLength(R.conversationAttributeLimits.recordId.minLength).setLiteralPattern(R.conversationAttributeLimits.recordId.literalPattern, K.conversationAttribute.invalidRecordId); + }), property: "conversationSchemaRecordId", type: q.expressionTypeNames.string, yamlOptions: F.default.create("conversationSchemaRecordId", (e3) => e3.setSkipProperty(true)) }, { label: K.generic.divisions, options: G.ExpressionTypeDivisionOptions.create((e3) => { + e3.setAsInput().setIninTestingField("conversationSchemaDivisions").setIsCollection(true).setDescriptionInfo(K.generic.divisions, K.conversationAttribute.divisionsForConversationAttributeRecord).setMaxItems(D.findLimits.maxBulkFindByName).setFeatureConfigName(v.default.botFlowsLLMPoweredFrontDoor); + }), property: "conversationSchemaDivisions", type: q.expressionTypeNames.division, yamlOptions: F.default.create("conversationSchemaDivisions", (e3) => e3.setSkipProperty(true)) }]; } - _runCleanup(e3) { - this._cleanupRefCount++; - try { - e3(); - } finally { - this._cleanupRefCount--; + getConfiguration(e3, t3) { + var i3, n3, r2; + this.clearDynamicAgenticVirtualAgentEnabledState(); + const a2 = super.getConfiguration(e3, t3); + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const s3 = this.parent.nluMetaData.intentSettingsMap, l2 = a2; + Object.keys(s3).length && (l2.intentSettings = [], o.default.each(s3, (i4) => { + var n4; + const r3 = { intent: {} }; + if (r3.intent.confirmation = i4.confirmationExpression.getConfiguration(e3, t3), r3.intent.name = i4.name, i4.parentFlow.isDigitalBotFlow) { + const e4 = null === (n4 = i4.parent.intentsToReusableTasksMapping[i4.name]) || void 0 === n4 ? void 0 : n4.id; + if (o.default.isString(e4)) { + const t4 = i4.parentFlow.getTaskById(e4); + t4 && (r3.intent.task = {}, r3.intent.task.name = t4.name); + } + } + l2.intentSettings.push(r3); + })); + const u2 = this.parent.nluMetaData.slotsToGrammarsMapping; + if (!o.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 = u2[e5]; + if (o.default.isString(null == n4 ? void 0 : n4.id)) { + const e6 = {}, t5 = O.grammarManager.getItem(n4.id); + (null == t5 ? void 0 : t5.name) ? e6.name = t5.name : e6.id = n4.id, i4.slot.grammar = e6; + } + if (o.default.isString(null === (t4 = null == n4 ? void 0 : n4.sttEngine) || void 0 === t4 ? void 0 : t4.id)) { + const e6 = {}, t5 = V.speechToTextEngineManager.getItem(n4.sttEngine.id), o2 = V.speechToTextEngineManager.resolveReplacement(n4.sttEngine.id) || t5; + (null == o2 ? void 0 : o2.name) ? e6.name = o2.name : e6.id = n4.sttEngine.id, i4.slot.speechToTextEngine = e6; + } + return i4; + })); + } + const c2 = this.parent.nluMetaData.listPickerMappings; + if (!o.default.isNullOrUndefined(c2)) { + const e4 = Object.keys(c2); + e4.length > 0 && (l2.slotSettings = e4.map((e5) => ({ slot: { name: e5, listPickerType: c2[e5] } }))); + } + const d2 = this.parent.nluMetaData.dynamicSlotTypesMap; + d2.outOfService || Object.keys(d2.items).length && (l2.dynamicSlotTypes = [], o.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)), l2.dynamicSlotTypes.push(n4); + })); + 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 && (l2.virtualAgentEnabled = this.virtualAgentEnabled), (0, E.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && this.navigatorVirtualAgentEnabled && (l2.navigatorVirtualAgentEnabled = this.navigatorVirtualAgentEnabled), (0, E.isFeatureAvailable)(v.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 === (r2 = this.conversationSchemaDivisions) || void 0 === r2 ? void 0 : r2.getConfiguration(e3, t3) }), o.default.ensureYamlNoneTrue(l2), l2; } + e3.botFlowSettings.nluDomainId = this.nluDomainId, e3.botFlowSettings.engineVersion = this.engineVersion, e3.botFlowSettings.nluDomainVersionId = this.nluDomainVersionId, e3.botFlowSettings.virtualAgentEnabled = this.virtualAgentEnabled, (0, E.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && ((null == t3 ? void 0 : t3.isArchitectFormatExport) || (e3.botFlowSettings.intentClassifierId = this.intentClassifierId), e3.botFlowSettings.conversationSchemaId = this.conversationSchemaId, e3.botFlowSettings.conversationSchemaName = this.conversationSchemaName, e3.botFlowSettings.conversationSchemaVersionId = this.conversationSchemaVersionId, this.navigatorVirtualAgentEnabled && (e3.botFlowSettings.navigatorVirtualAgentEnabled = this.navigatorVirtualAgentEnabled)); + const s2 = this.agenticVirtualAgentEnabled; + void 0 !== s2 && (e3.botFlowSettings.agenticVirtualAgentEnabled = s2); } - get cacheEnabled() { - return this._cacheEnabled; + get engineVersion() { + return this._engineVersion; } - set cacheEnabled(e3) { - const t3 = this._infoPropSet("enabled", "cacheEnabled"); - this._checkItemIsValidLiteralBool(t3, e3, false), e3 !== this._cacheEnabled && (this.logNote(`setting caching to enabled = '${e3}'`), e3 && !this._cacheEnabled ? this._startCacheCleanup() : !e3 && this._cacheEnabled && this._stopCacheCleanup(), this._cacheEnabled = e3); + set engineVersion(e3) { + this._engineVersion = e3; } - get showDiagnostics() { - return this._showDiagnostics; + getDisplayName() { + return this.parentFlow.type === I.flowTypes.flowTypeVoiceSurvey ? K.voiceSurvey.voiceSurveyTitleWithSettings : K.botFlowSettings.titleWithSettings; } - set showDiagnostics(e3) { - this.logNote(`setting show diagnostics to enabled = '${e3}'`), this._showDiagnostics = e3; + getNodeName() { + return K.flow.types.bot; } - _getTotalCacheSize() { - let e3 = 0; - for (const t3 of this._idCacheByType.values()) e3 += t3.size; - for (const t3 of this._valueCacheByType.values()) e3 += t3.size; - return e3; + get helpTopic() { + return b.helpTopics.treeNodes.botFlowSettings; } - _estimateBytes(e3, t3 = 0, i3) { - if (null == e3) return 8; - const n3 = typeof e3; - if ("boolean" === n3) return 4; - if ("number" === n3) return 8; - if ("string" === n3) return 2 * e3.length + 40; - if ("object" === n3) { - if (i3 || (i3 = /* @__PURE__ */ new Set()), i3.has(e3)) return 0; - i3.add(e3); - } - if (t3 >= 6) try { - const t4 = JSON.stringify(e3); - return Math.min(2 * t4.length, 524288); - } catch (e4) { - return 1024; - } - if (Array.isArray(e3)) { - let n4 = 40; - const r3 = e3, o2 = Math.min(r3.length, 50); - let a2 = 0; - for (let e4 = 0; e4 < o2; e4++) a2 += this._estimateBytes(r3[e4], t3 + 1, i3); - return r3.length > o2 ? n4 += a2 / o2 * r3.length : n4 += a2, n4; - } - if ("object" === n3) { - let n4 = 64; - const r3 = Object.keys(e3), o2 = Math.min(r3.length, 50); - let a2 = 0; - for (let n5 = 0; n5 < o2; n5++) a2 += 2 * r3[n5].length + 40, a2 += this._estimateBytes(e3[r3[n5]], t3 + 1, i3); - return r3.length > o2 ? n4 += a2 / o2 * r3.length : n4 += a2, n4; - } - return 8; + get isBotFlowSettingsNode() { + return true; } - _getOrCreateCacheForType(e3, t3) { - const i3 = e3 === r2.ID ? this._idCacheByType : this._valueCacheByType; - return i3.has(t3) || i3.set(t3, /* @__PURE__ */ new Map()), i3.get(t3); + 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, E.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && (this.intentClassifierId = t3.intentClassifierId, this.navigatorVirtualAgentEnabled = t3.navigatorVirtualAgentEnabled, t3.conversationSchemaId && (this.conversationSchemaId = t3.conversationSchemaId, this.conversationSchemaName = t3.conversationSchemaName, this.conversationSchemaVersionId = t3.conversationSchemaVersionId, this._fetchAndCacheSchemaRequiredState()), this._updateConversationSchemaFieldsOutOfService()), (0, E.isFeatureAvailable)(v.default.botFlowsAgenticVirtualAgent) && (this._agenticVirtualAgentEnabledFlowLoadState = t3.agenticVirtualAgentEnabled); } - _generateCacheKey(e3) { - return [e3.method, e3.identifier, e3.searchProperty || "", e3.wireProperty || "", JSON.stringify(e3.additionalParams || {}), JSON.stringify(e3.filter || {})].join("::ARCH_CACHE_SEP::"); + loadSettings(e3, t3, i3) { + this.setNluDomainInfo(e3, i3), this.nluDomainVersionId = t3; } - _getDependencyType(e3) { - var t3; - return (null === (t3 = e3.dependencyType) || void 0 === t3 ? void 0 : t3.name) || "unknown"; + get nluDomain() { + return this.nluDomainId ? x.nluDomainManager.getItem(this.nluDomainId) || x.nluDomainManager.getItemFromFlowMetadata(this, this.nluDomainId) : null; } - _hasValidDependencyType(e3) { - var t3; - return !!(null === (t3 = e3.dependencyType) || void 0 === t3 ? void 0 : t3.name); + get nluDomainIntents() { + return this.nluDomain && this.nluDomain.intents ? this.nluDomain.intents : []; } - _getFromCache(e3, t3, i3) { - if (!this._cacheEnabled) return null; - const n3 = "findItemByIdAsync" === t3 ? r2.ID : r2.VALUE, o2 = this._getOrCreateCacheForType(n3, i3), a2 = o2.get(e3); - return a2 ? Date.now() - a2.timestamp > a2.ttl ? (this._currentMemoryBytes -= a2.estimatedBytes, o2.delete(e3), null) : a2.data : null; + get nluDomainEntities() { + return this.nluDomain && this.nluDomain.entities ? this.nluDomain.entities : []; } - _setCache(e3, t3, n3, o2, a2) { - if (!this._cacheEnabled || this._isCleaningUp) return; - if ("undefined" != typeof process && "function" == typeof process.memoryUsage) try { - const e4 = i2(11493).getHeapStatistics(), t4 = e4.used_heap_size / e4.heap_size_limit; - if (t4 > 0.85) return this._runCleanup(() => this._cleanupByMemoryPressure()), void this.logNote(`High memory usage detected (${(100 * t4).toFixed(0)}% of heap limit). Temporarily pausing caching and freeing cached data to prevent out-of-memory errors.`); - } catch (e4) { - } - const s = "findItemByIdAsync" === n3 ? r2.ID : r2.VALUE, l = this._getOrCreateCacheForType(s, o2); - 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 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; + get dynamicSlotTypesListIsAvailable() { + var e3; + return !!(null === (e3 = this.parent.nluMetaData) || void 0 === e3 ? void 0 : e3.dynamicSlotTypesListIsAvailable()); } - _cleanupCacheForType(e3, t3) { - if (!this._cacheEnabled) return; - const i3 = this._getOrCreateCacheForType(e3, t3), n3 = Date.now(), r3 = []; - for (const [e4, t4] of i3.entries()) n3 - t4.timestamp > t4.ttl && r3.push(e4); - if (r3.forEach((e4) => { - const t4 = i3.get(e4); - t4 && (this._currentMemoryBytes -= t4.estimatedBytes), i3.delete(e4); - }), i3.size >= this._maxCacheSizePerType) { - const e4 = Array.from(i3.entries()); - e4.sort((e5, t4) => e5[1].timestamp - t4[1].timestamp), e4.slice(0, Math.floor(0.2 * this._maxCacheSizePerType)).forEach(([e5, t4]) => { - this._currentMemoryBytes -= t4.estimatedBytes, i3.delete(e5); - }); - } + get isDynamicTimeslotListAvailable() { + var e3; + return !!(null === (e3 = this.parent.nluMetaData) || void 0 === e3 ? void 0 : e3.dynamicTimeslotListIsAvailable()); } - _cleanupGlobalCache() { - if (!this._cacheEnabled) return; - if (this._getTotalCacheSize() < this._maxTotalCacheSize) return; - const e3 = []; - for (const [t4, i3] of this._idCacheByType.entries()) for (const [n3, o2] of i3.entries()) e3.push({ key: n3, entry: o2, cacheType: r2.ID, dependencyType: t4 }); - for (const [t4, i3] of this._valueCacheByType.entries()) for (const [n3, o2] of i3.entries()) e3.push({ key: n3, entry: o2, cacheType: r2.VALUE, dependencyType: t4 }); - e3.sort((e4, t4) => e4.entry.timestamp - t4.entry.timestamp); - const t3 = e3.slice(0, Math.floor(0.2 * this._maxTotalCacheSize)); - for (const { key: e4, cacheType: i3, dependencyType: n3 } of t3) { - const t4 = (i3 === r2.ID ? this._idCacheByType : this._valueCacheByType).get(n3); - if (t4) { - const i4 = t4.get(e4); - i4 && (this._currentMemoryBytes -= i4.estimatedBytes), t4.delete(e4); - } - } - this._showDiagnostics && this.logNote(`Cache cleanup: removed ${t3.length} older entries to stay within the global entry limit.`); + get nluDomainId() { + return this._nluDomainId; } - _cleanupByMemoryPressure() { - if (!this._cacheEnabled) return; - const e3 = Math.floor(0.8 * this._maxTotalMemoryBytes); - if (this._currentMemoryBytes <= e3) return; - const t3 = []; - for (const [e4, i4] of this._idCacheByType.entries()) for (const [n4, o2] of i4.entries()) t3.push({ key: n4, entry: o2, cacheType: r2.ID, dependencyType: e4 }); - for (const [e4, i4] of this._valueCacheByType.entries()) for (const [n4, o2] of i4.entries()) t3.push({ key: n4, entry: o2, cacheType: r2.VALUE, dependencyType: e4 }); - t3.sort((e4, t4) => t4.entry.estimatedBytes - e4.entry.estimatedBytes); - let i3 = 0, n3 = 0; - for (const { key: o2, entry: a2, cacheType: s, dependencyType: l } of t3) { - if (this._currentMemoryBytes <= e3) break; - const t4 = (s === r2.ID ? this._idCacheByType : this._valueCacheByType).get(l); - t4 && (t4.delete(o2), this._currentMemoryBytes -= a2.estimatedBytes, n3 += a2.estimatedBytes, i3++); - } - this._showDiagnostics && this.logNote(`Cache cleanup: freed ~${(n3 / 1024 / 1024).toFixed(1)} MB by removing ${i3} cached entries to reduce memory usage.`); + set nluDomainId(e3) { + this._nluDomainId = e3; + } + get nluDomainVersionId() { + return this._nluDomainVersionId; + } + set nluDomainVersionId(e3) { + const t3 = this._nluDomainVersionId; + this._nluDomainVersionId = e3, this._nluDomainVersionVerifiedForOrg = void 0, t3 !== this._nluDomainVersionId && (this.updateDependencies(), u.emitter.emit(u.nluDomainVersionCreated, this.parentFlow)); } - _cleanupCache() { - this._cacheEnabled && !this._isCleaningUp && this._runCleanup(() => { - for (const e3 of this._idCacheByType.keys()) this._cleanupCacheForType(r2.ID, e3); - for (const e3 of this._valueCacheByType.keys()) this._cleanupCacheForType(r2.VALUE, e3); - try { - const e3 = i2(11493).getHeapStatistics(); - e3.used_heap_size / e3.heap_size_limit > 0.8 && this._cleanupByMemoryPressure(); - } catch (e3) { - } - }); + get intentClassifierId() { + return this._intentClassifierId; } - _startCacheCleanup() { - this._cleanupTimer && clearInterval(this._cleanupTimer), this._cleanupTimer = setInterval(() => { - this._cleanupCache(); - }, this._cleanupInterval); + set intentClassifierId(e3) { + this._intentClassifierId = e3; } - _stopCacheCleanup() { - this._cleanupTimer && (clearInterval(this._cleanupTimer), this._cleanupTimer = null); + get virtualAgentEnabled() { + return !!this._virtualAgentEnabled; } - generateIdCacheKey(e3, t3, i3, n3) { - const r3 = { method: "findItemByIdAsync", dependencyType: this._getDependencyType(e3), identifier: t3, loggingLabel: i3, additionalParams: n3 }; - return this._generateCacheKey(r3); + set virtualAgentEnabled(e3) { + this._virtualAgentEnabled = e3, this.parentFlow.loaded && ((0, E.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && this._updateConversationSchemaFieldsOutOfService(), u.emitter.emit(u.botFlowSettingChanged, { setting: L.default.variable.virtualAgentEnabled })); } - generateValueCacheKey(e3, t3, i3, n3, r3, o2, a2) { - const s = { method: "findItemByValueAsync", dependencyType: this._getDependencyType(e3), identifier: t3, loggingLabel: i3, searchProperty: n3, wireProperty: r3, filter: o2, additionalParams: a2 }; - return this._generateCacheKey(s); + get navigatorVirtualAgentEnabled() { + return !!this._navigatorVirtualAgentEnabled; } - generateLoadAllCacheKey(e3, t3, i3, n3) { - const r3 = { method: "loadAllItemsAsync", dependencyType: this._getDependencyType(e3), identifier: "*", loggingLabel: t3, searchProperty: i3, wireProperty: n3 }; - return this._generateCacheKey(r3); + set navigatorVirtualAgentEnabled(e3) { + this._navigatorVirtualAgentEnabled = e3; } - getFromIdCache(e3, t3) { - if (!this._cacheEnabled) return null; - const i3 = this._getDependencyType(t3), n3 = this._getFromCache(e3, "findItemByIdAsync", i3); - return n3 ? (this._cacheHits++, this._showDiagnostics && this.logNote(`Cache hit for ID lookup: ${i3} - ${e3}`)) : this._showDiagnostics && this.logNote(`Cache miss for ID lookup: ${i3} - ${e3}`), n3; + get hasCallAVAAction() { + return void 0 === this._hasCallAVAAction && (this._hasCallAVAAction = g.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, T.callAgenticVirtualAgentActionType)), this._hasCallAVAAction; } - getFromValueCache(e3, t3) { - if (!this._cacheEnabled) return null; - const i3 = this._getDependencyType(t3), n3 = this._getFromCache(e3, "findItemByValueAsync", i3); - return n3 ? (this._cacheHits++, this._showDiagnostics && this.logNote(`Cache hit for value lookup: ${i3} - ${e3}`)) : this._showDiagnostics && this.logNote(`Cache miss for value lookup: ${i3} - ${e3}`), n3; + get agenticVirtualAgentEnabled() { + if (!(0, w.isFeatureUnavailable)(v.default.botFlowsAgenticVirtualAgent)) return !((0, E.isFeatureAvailable)(v.default.botFlowsVirtualAgentGuideBillingDowngrade) || !this._agenticVirtualAgentEnabledFlowLoadState) || (void 0 === this._agenticVirtualAgentEnabledFlowCurrentState && ((0, E.isFeatureAvailable)(v.default.botFlowsVirtualAgentGuideBillingDowngrade) ? this._agenticVirtualAgentEnabledFlowCurrentState = g.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, T.callAgenticVirtualAgentActionType) : (0, E.isFeatureAvailable)(v.default.botFlowsAgenticVirtualAgentSage) ? this._agenticVirtualAgentEnabledFlowCurrentState = g.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, T.callAgenticVirtualAgentActionType) || g.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, y.callGuideActionType) : this._agenticVirtualAgentEnabledFlowCurrentState = g.actionRegistrationService.getHasActionsOfActionType(this.parentFlow, y.callGuideActionType)), this._agenticVirtualAgentEnabledFlowCurrentState); } - setInIdCache(e3, t3, i3, n3) { - if (!this._cacheEnabled) return; - const r3 = this._getDependencyType(i3); - this._setCache(e3, t3, "findItemByIdAsync", r3, n3), this._cacheMisses++, this._showDiagnostics && this.logNote(`adding to cache for ID lookup: ${r3} - ${e3}`); + getIsNluDomainCreated() { + return x.nluDomainManager.getIsNluIdentifierCreated(this.nluDomainId); } - setInValueCache(e3, t3, i3, n3) { - if (!this._cacheEnabled) return; - const r3 = this._getDependencyType(i3); - this._setCache(e3, t3, "findItemByValueAsync", r3, n3), this._cacheMisses++, this._showDiagnostics && this.logNote(`adding to cache for value lookup: ${r3} - ${e3}`); + getIsNluDomainVersionCreated() { + return x.nluDomainManager.getIsNluIdentifierCreated(this._nluDomainVersionId); } - clearCache() { - this._idCacheByType.clear(), this._valueCacheByType.clear(), this._currentMemoryBytes = 0; + getIsNluDomainVersionValidForThisOrg() { + return n2.__awaiter(this, void 0, void 0, function* () { + return o.default.isBoolean(this._nluDomainVersionVerifiedForOrg) || (this._nluDomainVersionVerifiedForOrg = x.nluDomainManager.getIsNluDomainVersionValidForThisOrg(this.nluDomainId, this._nluDomainVersionId)), this._nluDomainVersionVerifiedForOrg; + }); } - clearCacheForDependencyType(e3) { - if (!this._cacheEnabled) return; - const t3 = this._idCacheByType.get(e3); - if (t3) for (const e4 of t3.values()) this._currentMemoryBytes -= e4.estimatedBytes; - const i3 = this._valueCacheByType.get(e3); - if (i3) for (const e4 of i3.values()) this._currentMemoryBytes -= e4.estimatedBytes; - this._idCacheByType.delete(e3), this._valueCacheByType.delete(e3); + get nodeGuxIcon() { + return "fa/gears-regular"; } - getCacheStats() { - if (!this._cacheEnabled) return null; - let e3 = 0, t3 = 0; - for (const t4 of this._idCacheByType.values()) e3 += t4.size; - for (const e4 of this._valueCacheByType.values()) t3 += e4.size; - const i3 = this._cacheHits + this._cacheMisses, n3 = i3 > 0 ? this._cacheHits / i3 * 100 : 0; - return { idCacheSize: e3, valueCacheSize: t3, maxSizePerType: this._maxCacheSizePerType, maxTotalSize: this._maxTotalCacheSize, hitRate: `${n3.toFixed(1)}%`, totalHits: this._cacheHits, totalMisses: this._cacheMisses, estimatedMemoryMB: `${(this._currentMemoryBytes / 1024 / 1024).toFixed(1)} MB`, maxMemoryMB: `${(this._maxTotalMemoryBytes / 1024 / 1024).toFixed(1)} MB` }; + search(e3) { + e3.addToQueue(this.nluDomain); } - logCacheStats() { - const e3 = this.getCacheStats(); - this.logNote(`id cache size: ${e3.idCacheSize}, value cache size: ${e3.valueCacheSize}, max size per type: ${e3.maxSizePerType}, max total size: ${e3.maxTotalSize}, hit rate: ${e3.hitRate}, total hits: ${e3.totalHits}, total misses: ${e3.totalMisses}, estimated memory: ${e3.estimatedMemoryMB}, max memory: ${e3.maxMemoryMB}`); + updateDependencies() { + var e3, t3; + super.updateDependencies(), this.nluDomainId && !(null === (e3 = this.nluDomain) || void 0 === e3 ? void 0 : e3.isFake) && l.registerConsumer(this, this.id, null === (t3 = this.nluDomain) || void 0 === t3 ? void 0 : t3.name, this.nluDomainId, this.nluDomainVersionId, X.NLUDomain, this.parentFlow); } - getCacheStatsForDependencyType(e3) { - if (!this._cacheEnabled) return null; - const t3 = this._idCacheByType.get(e3), i3 = this._valueCacheByType.get(e3); - if (!t3 && !i3) return null; - const n3 = (null == t3 ? void 0 : t3.size) || 0, r3 = (null == i3 ? void 0 : i3.size) || 0, o2 = this._cacheHits + this._cacheMisses; - return { dependencyType: e3, idCacheSize: n3, valueCacheSize: r3, hitRate: `${(o2 > 0 ? this._cacheHits / o2 * 100 : 0).toFixed(1)}%`, totalHits: this._cacheHits, totalMisses: this._cacheMisses }; + setNluDomainInfo(e3, t3) { + this.nluDomainId = e3, this.engineVersion = t3; } - getDependencyTypes() { - const e3 = /* @__PURE__ */ new Set(); - for (const t3 of this._idCacheByType.keys()) e3.add(t3); - for (const t3 of this._valueCacheByType.keys()) e3.add(t3); - return Array.from(e3); + validate(e3) { + var t3; + if (super.validate(e3), !this.nluDomainId && this.parentFlow.isCreated && e3.addError(this, K.bot.nluConfigurationUnavailable), this.parentFlow.isCreated && !this.parentFlow.botFlowSettings.virtualAgentEnabled && this.parentFlow.hasAISlotType && e3.addError(this.parentFlow.slotTypeSettings, K.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), (0, E.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && this.conversationSchemaId && (this.conversationSchema.currentUiErrorMessage = null, this._conversationSchemaHasRequiredProperties)) { + const t4 = (0, r.sprintf)($.default.generic.twoStringsSpaceSeparator, K.schema.schemaHasRequiredProperties, K.schema.updateRequiredPropertiesOrUseDifferentSchema); + e3.addError(this, t4), this.conversationSchema.currentUiErrorMessage = t4; + } } - hasValidDependencyType(e3) { - return this._hasValidDependencyType(e3); + get wrappedYamlName() { + return this.parentFlow.type === I.flowTypes.flowTypeVoice ? "settingsBot" : "settingsBotFlow"; } - destroy() { - this._stopCacheCleanup(), this.clearCache(), this._cacheHits = 0, this._cacheMisses = 0, this._cleanupRefCount = 0; + _destroy() { + super._destroy(); } - } - t2.ArchNetworkValueCache = o; - const a = new o(); - t2.default = a; - }, 72211: (e2, t2, i2) => { - "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 c extends a.NameIdConfigurationListViewModel { - constructor(e3) { - if (super(e3), this._schemasNotLoaded = false, this._model.schema && this._model.schema.properties) { - this._schemasNotLoaded = false; - const e4 = { properties: {}, required: [] }, t3 = { properties: {} }; - r2.default.each(this._model.schema.properties, (i3, n3) => { - r2.default.isObject(i3) && (n3 && "key" === n3.toLowerCase() ? (e4.properties[n3] = i3, e4.required.push(n3)) : t3.properties[n3] = i3); - }), e4.required.length || l.error(`No key found for data table with ID '${this.model.id}'`), this._inputSchema = new s.default(e4, true), this._successSchema = new s.default(t3, false); - } else this._schemasNotLoaded = true; - this._errorSchema = new s.default({ properties: { errorType: { allowableValues: ["DataTablesInternalServerError", "DataTablesServerTooBusyException", "DataTablesSyntaxError", "DataTablesTableNotFoundException"], type: "string", description: u.errorSchema.errorTypeDescription }, errorMessage: { type: "string", description: u.errorSchema.errorMessageDescription } } }, false); + getSlotVariableNameForSlotName(e3, t3) { + return e3 ? (t3 && (e3 += `_${K.expression.collectionSingular}`), A.expressionDataService.cleanseForIdentifierName(e3, "_", true)) : "slot_"; } - get label() { - return this._model.name; + createSlotVarForSlotName(e3, t3, i3, n3) { + const o2 = this.parentFlow; + if (!o2) return; + const s2 = this.getSlotVariableNameForSlotName(e3, n3); + let l2 = _.setScope(_.scopes.slot, s2); + const u2 = o2.variableGroup.getVariableByName(l2, o2); + if (u2) { + if (u2.type.isMatch(a.getArchitectTypeForNluType(t3, i3, n3), c.settings.exact)) return o2.nluMetaData.addSlot(e3, u2, t3), u2; + l2 = o2._getUniqueName(o2.variableGroup.flowVariables, l2); + } + const d2 = this.createExpressionForNLUDataType(l2, t3, i3, n3), h2 = (0, r.sprintf)(K.variableDetailsModal.slotVariableDescription, e3), m2 = p.addVariable(l2, d2, o2, h2, true); + d2.processText(true); + const g2 = {}; + return m2.getIsOutputCanSet(g2) && (m2.isOutput = true), m2.getIsInputCanSet(g2) && (m2.isInput = true), o2.nluMetaData.addSlot(e3, m2, t3), d2.destroy(), m2; } - get title() { - return this._model.title; + createExpressionForNLUDataType(e3, t3, i3, n3) { + let o2 = a.getArchitectTypeForNluType(t3, i3, n3); + o2.isAvailableForFlow(this.parentFlow) || (s.warn(`The data nluDataType: ${o2} is not available for flow ${this.parentFlow.type}. Falling back to String.`), o2 = C.globalTypes.string); + const r2 = o2.createExpressionOptionClass(); + r2.setDefaultToExpression(true); + const l2 = new J.default({}), u2 = new N.ExpressionParameters(this.parentFlow, this.parent, l2, e3, true, r2); + return u2.type = o2, new k.NormalExpression(u2); } - get minLength() { - return this._model.minLength; + get allowsMoreThanOneSupportedLanguage() { + const e3 = parseFloat(this.engineVersion); + return !!isNaN(e3) || !!o.default.isActualNumber(e3) && e3 >= 3; } - get maxLength() { - return this._model.maxLength; + clearDynamicAgenticVirtualAgentEnabledState() { + var e3; + this._agenticVirtualAgentEnabledFlowCurrentState = void 0, this._hasCallAVAAction = void 0, (null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.loaded) && this._updateConversationSchemaFieldsOutOfService(); } - get schemasNotLoaded() { - return this._schemasNotLoaded; + setNewInstanceDefaults() { + super.setNewInstanceDefaults(), this.parent.isBotFlow && m.isFeatureAvailable(v.default.botFlowsVoiceProcessingPrompt); } - get inputSchema() { - return this._inputSchema; + initializeDesignTime() { + if (super.initializeDesignTime(), this.parent.isBotFlow && m.isFeatureAvailable(v.default.botFlowsVoiceProcessingPrompt)) { + const e3 = this.voiceProcessingPrompt; + if (e3) { + const t3 = e3.mode === h.literal && !!e3.text; + u.emitter.emit(u.promptChanged, { type: "voiceProcessingPrompt", isSet: t3 }), this.addAutoCleanedUpEventSinkWatch(u.expressionValueChanged, e3, (e4) => { + const t4 = e4.mode === h.literal && !!e4.text; + u.emitter.emit(u.promptChanged, { type: "voiceProcessingPrompt", isSet: t4 }); + }); + } + } + (0, E.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && (this.conversationSchema && (this.conversationSchema.isOptional = true, this.addAutoCleanedUpEventSinkWatch(u.valueChanged, this.conversationSchema, () => { + this._updateConversationSchemaFieldsOutOfService(), this._updateConversationSchemaVersion(); + })), this._updateConversationSchemaFieldsOutOfService()); } - get successSchema() { - return this._successSchema; + _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); } - get errorSchema() { - return this._errorSchema; + _updateConversationSchemaVersion() { + this.conversationSchemaId ? this._fetchAndCacheSchemaRequiredState() : (this.conversationSchemaVersionId = "", this._conversationSchemaHasRequiredProperties = false, z.validateNode(this, false)); + } + _fetchAndCacheSchemaRequiredState() { + if (!this.conversationSchemaId) return void (this._conversationSchemaHasRequiredProperties = false); + const e3 = this.conversationSchemaId; + S.conversationCustomAttributeSchemaManager.getOrFetchItem(e3).then((t3) => { + var i3, n3, o2, r2; + this.conversationSchemaId === e3 && (this.conversationSchemaVersionId = null !== (o2 = null === (n3 = null === (i3 = null == t3 ? void 0 : t3.model) || void 0 === i3 ? void 0 : i3.version) || void 0 === n3 ? void 0 : n3.toString()) && void 0 !== o2 ? o2 : "", this._conversationSchemaHasRequiredProperties = !!t3 && t3.hasRequiredProperties, (null === (r2 = this.parentFlow) || void 0 === r2 ? void 0 : r2.loaded) && z.validateNode(this, true)); + }).catch(() => { + this._conversationSchemaHasRequiredProperties = false; + }); + } + updateAgenticVirtualAgentEnabledFromFlowInfo() { + var e3, t3, i3; + (0, E.isFeatureAvailable)(v.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) && u.emitter.emit(u.botFlowSettingChanged, { setting: "agenticVirtualAgentEnabled" })); } } - t2.default = c; - }, 72336: (e2, t2, i2) => { + t2.default = Z; + }, 71901(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(8471)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importStar(i2(85020)), C = n2.__importStar(i2(10798)), O = 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(82632), F = i2(21556), L = i2(21733), x = i2(47957); + class k extends P.default { + static get managedProperties() { + return [{ label: x.customNodes.botFlowUserInputSettings.quickRepliesLabel, options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(x.customNodes.botFlowUserInputSettings.quickRepliesLabel, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.quickRepliesDescription, x.actions.askForBoolean, x.actions.askAnythingElse, x.actions.askForSlot)).setIninTestingField("enableAutomaticQuickReplies").setDefaultText(d.default.false).setHideDefaultTextDescription(true).setIsOptional(false).setFeatureConfigName(R.default.botFlowsAutomaticQuickRepliesFeature).setRequiresFlowQuickRepliesSetting(true).setBoolText(x.generic.genericOn, x.generic.genericOff).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.generalUserInputSettings)), property: "enableAutomaticQuickReplies", type: h.expressionTypeNames.boolean }, { label: x.customNodes.botFlowUserInputSettings.voiceBargeInSettingLabel, options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(x.customNodes.botFlowUserInputSettings.voiceBargeInSettingLabel, x.customNodes.botFlowUserInputSettings.voiceBargeInSettingDescription).setIninTestingField("enableBargeIn").setDefaultText(d.default.false).setRequiredFlowChannelType(I.channelTypeCall).setHideDefaultTextDescription(true).setIsOptional(false).setBoolText(x.generic.genericOn, x.generic.genericOff).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.generalUserInputSettings)), property: "enableBargeIn", type: h.expressionTypeNames.boolean }, { label: x.customNodes.botFlowUserInputSettings.noMatchesMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noMatchesMax").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noMatchesMax, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingNoMatchesMaxDescription, x.actions.askForActionGeneric, x.customNodes.eventHandling.recognitionFailureEvent, x.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noMatches).facets.setMinInt(M.botFlowUserInputSettings.noMatchesMax.minValue, M.botFlowUserInputSettings.noMatchesMax.minValueInclusive).setMaxInt(M.botFlowUserInputSettings.noMatchesMax.maxValue, M.botFlowUserInputSettings.noMatchesMax.maxValueInclusive)), property: "noMatchesMax", type: h.expressionTypeNames.integer }, { label: x.customNodes.botFlowUserInputSettings.noInputsMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noInputsMax").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noInputsMax, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsMaxDescription, x.actions.askForActionGeneric, x.customNodes.eventHandling.recognitionFailureEvent, x.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs).facets.setMinInt(M.botFlowUserInputSettings.noInputsMax.minValue, M.botFlowUserInputSettings.noInputsMax.minValueInclusive).setMaxInt(M.botFlowUserInputSettings.noInputsMax.maxValue, M.botFlowUserInputSettings.noInputsMax.maxValueInclusive)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("noInputsMax").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noInputsMax, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsDigitalMaxDescription, x.actions.askForActionGeneric, x.customNodes.eventHandling.recognitionFailureEvent, x.generic.branches.noIntent)).setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultText("3").setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs).facets.setMinInt(M.botFlowUserInputSettings.noInputsMax.minValue, M.botFlowUserInputSettings.noInputsMax.minValueInclusive).setMaxInt(M.botFlowUserInputSettings.noInputsMax.maxValue, M.botFlowUserInputSettings.noInputsMax.maxValueInclusive)) }], property: "noInputsMax", type: h.expressionTypeNames.integer }, { list: true, label: x.customNodes.botFlowUserInputSettings.noInputsApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noInputsApology, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsApologyDescription, x.actions.askForActionGeneric, x.askCommon.noInput)).setCollectionItemsWantCollectionDescriptionInfo(true).setIninTestingField("noInputsApologies").setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoInputApologySequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noInputsApology, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingsNoInputsApologyDescription, x.actions.askForActionGeneric, x.askCommon.noInput)).setCollectionItemsWantCollectionDescriptionInfo(true).setIninTestingField("noInputsApologies").setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoInputApologyDigitalBotSequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs)) }], property: "noInputsApologies", type: h.expressionTypeNames.communication }, { label: x.customNodes.botFlowUserInputSettings.noInputsTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("noInputsTimeout").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noInputsTimeout, x.customNodes.botFlowUserInputSettings.userInputSettingsNoInputTimeoutDescription).setIsOptional(false).setDefaultText(d.default.litDurationSevenSeconds).setRequiredFlowChannelType(I.channelTypeCall).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs).setDurationStyle(p.durationStyles.secondsAndTenthsDuration).facets.setMinDur(M.botFlowUserInputSettings.noInputsTimeout.minDurationMs, M.botFlowUserInputSettings.noInputsTimeout.minDurationInclusive).setMaxDur(M.botFlowUserInputSettings.noInputsTimeout.maxDurationMs, M.botFlowUserInputSettings.noInputsTimeout.maxDurationInclusive)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("noInputsTimeout").setLabelOverride(x.customNodes.botFlowUserInputSettings.noInputsDigitalTimeout).setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noInputsDigitalTimeout, x.customNodes.botFlowUserInputSettings.userInputSettingsNoInputDigitalTimeoutDescription).setIsOptional(false).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setDefaultText(d.default.litDurationOneMinute).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs).setDurationStyle(p.durationStyles.fullDuration).facets.setMinDur(M.botFlowUserInputSettings.noInputsDigitalTimeout.minDurationMs, M.botFlowUserInputSettings.noInputsDigitalTimeout.minDurationInclusive).setMaxDur(M.botFlowUserInputSettings.noInputsDigitalTimeout.maxDurationMs, M.botFlowUserInputSettings.noInputsDigitalTimeout.maxDurationInclusive)) }], property: "noInputsTimeout", type: h.expressionTypeNames.duration }, { label: x.customNodes.botFlowUserInputSettings.noInputsMaxExceeded, createDetails: u.EventHandlingTypeProperty.createCreateDetails(C.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(x.customNodes.botFlowUserInputSettings.noInputs).setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noInputsMaxExceeded, x.customNodes.botFlowUserInputSettings.noInputsMaxExceededDescription)), supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], property: "noInputsMaxExceededHandling" }, { createDetails: l.ContainerActionProperty.createCreateDetails({ modelIdPropName: "noInputsMaxExceededTaskId", modelNamePropName: "noInputsMaxExceededTaskName", itemDoesNotExistBaseString: x.task.label, noReferenceString: x.task.noReference, referencesTasks: true, validReferenceCallback: (e3) => e3 && !e3.isTransferable && e3.hasBranchTerminatingWithEndTask ? { error: x.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: x.task.invalidReference } }), options: v.ManagedPropertyOptions.create((e3) => e3.setIninTestingField("noInputsMaxExceededTask").setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs).setFeatureConfigName(R.default.botFlowEscalationRecognitionHandlingV2)), supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], property: "noInputsMaxExceededTask" }, { label: x.customNodes.botFlowUserInputSettings.confirmationRejectionsMax, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("confirmationRejectionsMax").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.confirmationRejectionsMax, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingsConfirmationRejectionsMaxDescription, x.actions.askForActionGeneric, x.customNodes.eventHandling.recognitionFailureEvent, x.generic.branches.noIntent)).setIsOptional(false).setDefaultText("3").setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confirmationErrors).facets.setMinInt(M.botFlowUserInputSettings.confirmationRejectionsMax.minValue, M.botFlowUserInputSettings.confirmationRejectionsMax.minValueInclusive).setMaxInt(M.botFlowUserInputSettings.confirmationRejectionsMax.maxValue, M.botFlowUserInputSettings.confirmationRejectionsMax.maxValueInclusive)), property: "confirmationRejectionsMax", type: h.expressionTypeNames.integer }, { label: x.customNodes.botFlowUserInputSettings.collectionLowConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("collectionLowConfidenceThreshold").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.collectionLowConfidenceThreshold, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userSettingsCollectionLowConfidenceThresholdDescription, x.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold)).setIsOptional(false).setDefaultText("20").setSubLabel(x.speechRec.minConfidenceLevelRange).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confidenceThresholds).setCustomLiteralValidator((e4) => V(e4)).facets.setMinInt(M.botFlowUserInputSettings.collectionLowConfidenceThreshold.minValue, M.botFlowUserInputSettings.collectionLowConfidenceThreshold.minValueInclusive).setMaxInt(M.botFlowUserInputSettings.collectionLowConfidenceThreshold.maxValue, M.botFlowUserInputSettings.collectionLowConfidenceThreshold.maxValueInclusive)), property: "collectionLowConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: x.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("collectionHighConfidenceThreshold").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.collectionHighConfidenceThreshold, x.customNodes.botFlowUserInputSettings.userSettingsCollectionHighConfidenceThresholdDescription).setIsOptional(false).setDefaultText("70").setSubLabel(x.speechRec.minConfidenceLevelRange).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confidenceThresholds).setCustomLiteralValidator((e4) => V(e4)).facets.setMinInt(M.botFlowUserInputSettings.collectionHighConfidenceThreshold.minValue, M.botFlowUserInputSettings.collectionHighConfidenceThreshold.minValueInclusive).setMaxInt(M.botFlowUserInputSettings.collectionHighConfidenceThreshold.maxValue, M.botFlowUserInputSettings.collectionHighConfidenceThreshold.maxValueInclusive)), property: "collectionHighConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: x.customNodes.botFlowUserInputSettings.confirmationLowConfidenceThreshold, options: S.ExpressionTypeIntegerOptions.create((e3) => e3.setIninTestingField("confirmationLowConfidenceThreshold").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.confirmationLowConfidenceThreshold, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userSettingsConfirmationLowConfidenceThresholdDescription, x.actions.askForBoolean, x.actions.askForNLUNextIntentAction)).setIsOptional(false).setDefaultText("40").setSubLabel(x.speechRec.minConfidenceLevelRange).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confidenceThresholds).facets.setMinInt(M.botFlowUserInputSettings.confirmationLowConfidenceThreshold.minValue, M.botFlowUserInputSettings.confirmationLowConfidenceThreshold.minValueInclusive).setMaxInt(M.botFlowUserInputSettings.confirmationLowConfidenceThreshold.maxValue, M.botFlowUserInputSettings.confirmationLowConfidenceThreshold.maxValueInclusive)), property: "confirmationLowConfidenceThreshold", type: h.expressionTypeNames.integer }, { label: x.speechToText.recognitionParams.speechToTextSpeechDetectionSensitivity, options: T.ExpressionTypeDecimalOptions.create((e3) => e3.setIninTestingField("speechToTextSpeechDetectionSensitivity").setDescriptionInfo(x.speechToText.recognitionParams.speechToTextSpeechDetectionSensitivity, (0, r.sprintf)(x.generic.joinTwoSentences, x.customNodes.botFlowUserInputSettings.userSettingsSttSpeechDetectionSensitivity, x.customNodes.botFlowUserInputSettings.userSettingsSttSpeechDetectionSensitivityNuanceSupport)).setFeatureConfigName(R.default.orgAvailabilityGrammars).setUiPropertyGroup(x.speechToText.recognitionParams.speechRecognitionParameters).setIsOptional(true).facets.setMinDec(M.botFlowUserInputSettings.speechToTextSpeechDetectionSensitivity.minSensitivity).setMinValInclusive(true).setMaxDec(M.botFlowUserInputSettings.speechToTextSpeechDetectionSensitivity.maxSensitivity).setMaxValInclusive(true)), supportedFlowTypes: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeVoice, o.flowTypes.flowTypeVoiceSurvey], property: "speechToTextSpeechDetectionSensitivity", type: h.expressionTypeNames.decimal }, { label: x.speechToText.recognitionParams.speechToTextMaxSpeechTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("speechToTextMaxSpeechTimeout").setDescriptionInfo(x.speechToText.recognitionParams.speechToTextMaxSpeechTimeout, x.customNodes.botFlowUserInputSettings.userSettingsSttMaxSpeechTimeout).setFeatureConfigName(R.default.orgAvailabilityGrammars).setUiPropertyGroup(x.speechToText.recognitionParams.speechRecognitionParameters).setDurationStyle(p.durationStyles.secondsAndTenthsDuration).setIsOptional(true).facets.setMinDur(M.botFlowUserInputSettings.speechToTextMaxSpeechTimeout.minDurationMs, M.botFlowUserInputSettings.speechToTextMaxSpeechTimeout.minDurationInclusive).setMaxDur(M.botFlowUserInputSettings.speechToTextMaxSpeechTimeout.maxDurationMs, M.botFlowUserInputSettings.speechToTextMaxSpeechTimeout.maxDurationInclusive)), supportedFlowTypes: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeVoice, o.flowTypes.flowTypeVoiceSurvey], property: "speechToTextMaxSpeechTimeout", type: h.expressionTypeNames.duration }, { label: x.customNodes.botFlowUserInputSettings.speechToTextAdvancedConfiguration, options: N.ExpressionTypeJsonOptions.create((e3) => e3.setIsOptional(true).setDefaultToNoValue(true).setAllowModeLiteralOnly().setRequireObjectLiteral(true).setFeatureConfigName(R.default.botFlowsSTTTuning).setDescriptionInfo(x.customNodes.botFlowUserInputSettings.speechToTextAdvancedConfiguration, x.customNodes.botFlowUserInputSettings.speechToTextAdvancedConfigurationDescription).setIninTestingField("speechToTextAdvancedConfiguration").setUiPropertyGroup(x.speechToText.recognitionParams.speechRecognitionParameters)), supportedFlowTypes: [o.flowTypes.flowTypeBot], property: "speechToTextAdvancedConfiguration", type: h.expressionTypeNames.json }, { label: x.customNodes.botFlowUserInputSettings.intentClassificationHintingLabel, supportedFlowTypes: [o.flowTypes.flowTypeBot], options: g.ExpressionTypeBooleanOptions.create((e3) => e3.setDescriptionInfo(x.customNodes.botFlowUserInputSettings.intentClassificationHintingLabel, x.customNodes.botFlowUserInputSettings.intentClassificationHintingDescription).setIninTestingField("enableIntentClassificationHinting").setBoolText("", "").setDefaultText(d.default.false).setUseToggle(true).setIsOptional(false).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.automaticSpeechRecognition).setUiSingleItemSectionPropertyGroup(true).setFeatureConfigName(R.default.botFlowsIntentClassificationHintingAsr).setAllowModeLiteralOnly()), property: "enableIntentClassificationHinting", type: h.expressionTypeNames.boolean }, { label: x.collectInput.interDigitTimeout, options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("interDigitTimeout").setDefaultText(d.default.litDurationThreeSeconds).setUiPropertyGroup(x.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDurationStyle(p.durationStyles.minutesSecondsAndMsDuration).facets.setMinDur(M.botFlowUserInputSettings.interDigitTimeout.minDurationMs, M.botFlowUserInputSettings.interDigitTimeout.minDurationInclusive).setMaxDur(M.botFlowUserInputSettings.interDigitTimeout.maxDurationMs, M.botFlowUserInputSettings.interDigitTimeout.maxDurationInclusive)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeBot], options: y.ExpressionTypeDurationOptions.create((e3) => e3.setIninTestingField("interDigitTimeout").setDefaultText(d.default.litDurationThreeSeconds).setUiPropertyGroup(x.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDurationStyle(p.durationStyles.minutesSecondsAndMsDuration).setFeatureConfigName(R.default.botFlowsInterDigitTimeout).facets.setMinDur(M.botFlowUserInputSettings.interDigitTimeout.minDurationMs, M.botFlowUserInputSettings.interDigitTimeout.minDurationInclusive).setMaxDur(M.botFlowUserInputSettings.interDigitTimeout.maxDurationMs, M.botFlowUserInputSettings.interDigitTimeout.maxDurationInclusive)) }], property: "interDigitTimeout", type: h.expressionTypeNames.duration, supportedFlowTypes: [o.flowTypes.flowTypeVoiceSurvey, o.flowTypes.flowTypeBot] }, { label: x.voiceSurvey.voiceSurveyTerminatingCharacterLabel, options: A.ExpressionTypeStringOptions.create((e3) => { + e3.setIninTestingField("dtmfTerminatingCharacter").setUiPropertyGroup(x.voiceSurvey.voiceSurveyDtmfSettingsLabel).setDescriptionInfo(x.voiceSurvey.voiceSurveyTerminatingCharacterLabel, x.voiceSurvey.voiceSurveyTerminatingCharacterDescription).setDefaultText(b.dtmfPound).setDoNotTransitionToNoValue(true).facets.setAllowableValues(E.surveyFormDtmfTerminatingValues).setAllowableValueUseOriginalDisplayString(true), C.isFeatureAvailable(R.default.botFlowsProgrammaticTerminatingCharacters) ? e3.setIsOptional(true).setAllowModeExpression(true).setAllowModeBuilder(false) : e3.setAllowModeLiteralOnly(); + }), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeBot], options: A.ExpressionTypeStringOptions.create((e3) => e3.setIninTestingField("dtmfTerminatingCharacter").setUiPropertyGroup(x.voiceSurvey.voiceSurveyDtmfSettingsLabel).setIsOptional(true).setDefaultToNoValue(true).setAllowModeExpression(C.isFeatureAvailable(R.default.botFlowsProgrammaticTerminatingCharacters)).setAllowModeBuilder(false).setFeatureConfigName(R.default.botFlowsInterDigitTimeout).setDescriptionInfo(x.voiceSurvey.voiceSurveyTerminatingCharacterLabel, x.voiceSurvey.voiceSurveyTerminatingCharacterDescription).facets.setAllowableValues(O.botFormDtmfTerminatingValues).setAllowableValueUseOriginalDisplayString(true)) }], property: "dtmfTerminatingCharacter", type: h.expressionTypeNames.string, supportedFlowTypes: [o.flowTypes.flowTypeVoiceSurvey, o.flowTypes.flowTypeBot] }, { list: true, label: x.customNodes.botFlowUserInputSettings.noMatchApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noMatchApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noMatchApology, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingNoMatchApologyDescription, x.actions.askForActionGeneric, x.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoMatchApologySequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noMatches)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noMatchApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noMatchApology, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingNoMatchApologyDescription, x.actions.askForActionGeneric, x.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoMatchApologySequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noMatches)) }], property: "noMatchApologies", type: h.expressionTypeNames.communication }, { label: x.customNodes.botFlowUserInputSettings.endOfSessionMessage, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("endOfSessionMessage").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.endOfSessionMessage, x.customNodes.botFlowUserInputSettings.endOfSessionMessageDescription).setIsOptional(true).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsEndOfSessionMessageDigitalBotSequence).setFeatureConfigName(R.default.botFlowsDigitalBotFlowsNoInputsTimeoutFeature).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.noInputs)), supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], property: "endOfSessionMessage", type: h.expressionTypeNames.communication }, { list: true, label: x.customNodes.botFlowUserInputSettings.noToConfirmationApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noToConfirmationApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noToConfirmationApology, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingsNoToConfirmationApologyDescription, x.actions.askForActionGeneric, x.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoToConfirmationApologySequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("noToConfirmationApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.noToConfirmationApology, (0, r.sprintf)(x.customNodes.botFlowUserInputSettings.userInputSettingsNoToConfirmationApologyDescription, x.actions.askForActionGeneric, x.askCommon.noMatch)).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsNoToConfirmationApologySequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "noToConfirmationApologies", type: h.expressionTypeNames.communication }, { list: true, label: x.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoMatchApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, x.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoMatchApologyDescription).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoMatchApologySequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoMatchApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.confirmationNoMatchApology, x.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoMatchApologyDescription).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoMatchApologyDigitalBotSequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "confirmationNoMatchApologies", type: h.expressionTypeNames.communication }, { list: true, label: x.customNodes.botFlowUserInputSettings.confirmationNoInputApology, options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoInputApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.confirmationNoInputApology, x.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoInputApology).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoInputApologySequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confirmationErrors)), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeCommunicationOptions.create((e3) => e3.setIninTestingField("confirmationNoInputApologies").setDescriptionInfo(x.customNodes.botFlowUserInputSettings.confirmationNoInputApology, x.customNodes.botFlowUserInputSettings.userSettingsConfirmationNoInputApology).setCollectionItemsWantCollectionDescriptionInfo(true).setIsOptional(false).setDefaultToBuilderId(c.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(s.botFlowUserInputSettingsSequences.settingsConfirmationNoInputApologyDigitalBotSequence).setUiPropertyGroup(x.customNodes.botFlowUserInputSettings.confirmationErrors)) }], property: "confirmationNoInputApologies", type: h.expressionTypeNames.communication }]; + } constructor(e3) { - super(), this._checkItem(this._infoParmCtor("archBaseVariable"), !e3 || !e3.isArchBaseVariable, "INTERNAL ERROR - invalid archBaseVariable passed to ArchVariableSettings"), this._archBaseVariable = e3; + super(e3, "userInputSettings", F); } - get _coreVariableViewModel() { - return this._archBaseVariable._getCoreViewModel(); + get id() { + return "userInputSettings"; } - get canSetIsInput() { - return !!this._coreVariableViewModel.getIsInputCanSet({}); + get helpTopic() { + return this.parentFlow.isVoiceSurveyFlow ? D.helpTopics.treeNodes.userInputSettingsVoiceSurvey : D.helpTopics.treeNodes.userInputSettings; } - get canSetIsOutput() { - return !!this._coreVariableViewModel.getIsOutputCanSet({}); + get className() { + return "BotFlowUserInputSettingsViewModel"; } - get displayTypeName() { - return "ArchVariableSettings"; + getDisplayName() { + return x.customNodes.userInputSettings.title; } - get logStr() { - if (!this._archBaseVariable) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrPart(e3, "CanSetIsInput", this.canSetIsInput, true, false), this._appendLogStrPart(e3, "CanSetIsOutput", this.canSetIsInput, true, false), this._createLogStrFromParts(e3); + 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), 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"); + a.default.extend(i3, t4); + } + return i3; + } + return super.getConfiguration(e3, t3); } - } - 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 = n2.__importDefault(i2(4648)), l = i2(47957); - class u extends a.default { - static get managedProperties() { - return []; + get isBotFlowUserInputSettingsNode() { + return true; } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + loadConfiguration(e3) { + const t3 = []; + if (!e3.userInputSettings) { + const e4 = (e5, t4) => { + const i4 = this[e5].isNormalExpression ? this[e5] : this[e5].add(); + i4 && (i4.setModeWithTransition(_.builder, this.parentFlow.type === o.flowTypes.flowTypeDigitalBot ? c.builderIds.parts.markdownCommunication : c.builderIds.parts.genericCommunication), i4.builder.addOrSetStringLiteralBuilderPart(t4), i4.builder.owningExpression.setText(i4.builder.buildExpressionText())); + }, i3 = L(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()); } - } - 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 = n2.__importDefault(i2(4648)), l = i2(47957); - class u extends o.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); + initializeDesignTime() { + var e3; + super.initializeDesignTime(), this.parentFlow.definition.supportsNluIntents && !(null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.navigatorVirtualAgentEnabled) || (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), w.validateNode(this, true); + })), "" === this.enableIntentClassificationHinting.displayValue && this.parentFlow.definition.supportsEnableIntentClassificationHinting && (this.enableIntentClassificationHinting.setAsLiteral(d.default.true), w.validateNode(this, true)); } - } - 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; - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { - constructor(e3) { - super(e3), (0, r2.makeUnenumerable)(this, "_whatsApp"); + get currentUiVersion() { + return 2; } - get whatsApp() { - return this._whatsApp; + updateConfiguration(e3, t3) { + (!e3 || e3 < 2) && this.parentFlow.type === o.flowTypes.flowTypeBot && this.dtmfTerminatingCharacter.setAsNoValue(); } - set whatsApp(e3) { - this._whatsApp = e3; + showTaskPropertyBasedOnHandlingType(e3, t3) { + const i3 = t3 !== m.default.Task; + e3.outOfService = i3; } - } - t2.MessagingTemplate = a, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "whatsApp", null); - }, 72475: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.secureActionManager = t2.SecureActionManager = void 0; - const n2 = i2(84822), r2 = i2(24032), o = i2(30801), a = i2(47957), s = i2(27862); - class l extends n2.BaseIntegrationsActionManager { - get dependencyType() { - return s.SecureAction; + setNewInstanceDefaults() { + super.setNewInstanceDefaults(); } - constructor() { - super(), this.topic = (0, r2.getTopic)("secureActionManager"), this.actionsForUsageSearch = [o.secureActionActionType], this.additionalQueryParams = { secure: true }, this.defaultInputsWithNoDefaultToNotSet = true, this.dependencyContext = a.secureAction.secureAction, this.className = "SecureActionManager", this._initialize(); + get nodeGuxIcon() { + return "microphone"; } - } - t2.SecureActionManager = l, t2.secureActionManager = new l(); - }, 72478: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - }, 72529: (e2, t2, i2) => { - function n2() { - this.variableJSON = void 0, this.supportedFlowTypes = void 0, n2.baseConstructor.apply(this, arguments); - } - 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 = 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: u.task.invalidReferenceTaskTransfer } : e3 && e3.isTask && e3.isTransferable ? void 0 : { error: u.task.invalidReference } }); + get wrappedYamlName() { + return "settingsUserInput"; } - constructor(e3, t3) { - super(e3), this._loadModel(t3); + get noInputsMaxExceededHandlingTypes() { + return C.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]; } } - 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) => { + t2.default = k; + const V = (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 ? x.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, x.customNodes.botFlowUserInputSettings.collectionConfidenceThresholdsError, t4.id); + (n3 && !i4 || !n3 && i4) && w.validateItem(t4, true, true); + } + return n3; + } + }; + }, 71655(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)), 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(2318)), r = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "botSessionViewer"; + class u extends a.default { + constructor() { + super(...arguments), this._actionId = ""; } - static get branchInfo() { - return u.default.matchExactMultipleNotFound; + get actionId() { + return this._actionId; } - static get managedProperties() { - 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)) }]; + set actionId(e3) { + this._actionId = e3; } - getDetails() { - return this.externalId ? new a.ActionDetails([g.generic.searchTerm], [c.getDisplayText(this.externalId)]) : null; + get outOfService() { + return !o.default.currentUserCanUseBotSessionViewer; } - } - 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), this._patchChanges = this.coreFactory.createArchWrapper(e3.patchChanges); + get id() { + return l; } - get _actionTypeId() { - return r2.updateExternalContactActionType; + static get id() { + return l; } - get displayTypeName() { - return this._scriptingName; + get showInFlowSize() { + return false; } - get updateExternalContactOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get className() { + return "BotSessionViewerViewModel"; } - get isArchActionUpdateExternalContact() { + getDisplayName() { + return s.botSessionViewer.utteranceHistoryLabel; + } + get isBotSessionViewerNode() { return true; } - get externalContactId() { - return this._externalContactId; + get nodeGuxIcon() { + return "fa/clock-rotate-left-regular"; } - get externalContact() { - return this._externalContact; + get helpTopic() { + return r.helpTopics.treeNodes.utteranceHistory; } - get changes() { - return this._patchChanges; + get botSessionViewerArchNodeName() { + return l; } } - 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, 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: c.builderParts.duration.literal.description, expressionDefs: [new d({ configureOptionsCallback: (e3) => { - e3.setAllowModeLiteralOnly().setIninTestingField("durationLiteral"); - }, 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"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.catchError = void 0; - var n2 = i2(19724), r2 = i2(17214), o = i2(65212); - t2.catchError = function e3(t3) { - return o.operate(function(i3, o2) { - var a, s = null, l = false; - s = i3.subscribe(r2.createOperatorSubscriber(o2, void 0, void 0, function(r3) { - a = n2.innerFrom(t3(r3, e3(t3)(i3))), s ? (s.unsubscribe(), s = null, a.subscribe(o2)) : l = true; - })), l && (s.unsubscribe(), s = null, a.subscribe(o2)); - }); - }; - }, 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), 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; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(78102); - 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) => { + t2.default = u; + }, 95955(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)), 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"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = 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"; } - static get branchInfo() { - return s.default.successFailure; + get id() { + return "callPrompts"; } - getDetails() { - return this.wrapupCode && this.wrapupCode.text ? new o.ActionDetails([p.setWrapupCode.wrapupCode], [this.wrapupCode.text]) : null; + get showInFlowSize() { + return false; } - static get managedProperties() { - 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 ensureAudioInPrompts() { + return this.parentFlow.ensureAudioInPrompts; } - get informationalMessage() { - return this.parentFlow.isCallFlowType ? p.setWrapupCode.applyWarning : ""; + set ensureAudioInPrompts(e3) { + this.parentFlow.ensureAudioInPrompts = e3, (0, u.validateItem)(this, true); } - } - _.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)), 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); + get promptMediaToValidate() { + return this.parentFlow.promptMediaToValidate; } - static get branchInfo() { - return s.default.processedTimeoutFailure; + set promptMediaToValidate(e3) { + 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); + }); + }); } - getDetails() { - return this.confidence ? new o.ActionDetails([p.voiceBiometrics.confidence], [this.confidence.text]) : null; + getConfiguration(e3, t3) { + var i3, n3; + if ((null == t3 ? void 0 : t3.isForFlowYaml) && this.parentFlow.supportsAudio) { + const e4 = []; + return 0 === (null === (i3 = this.parentFlow.promptMediaToValidate) || void 0 === i3 ? void 0 : i3.length) ? e4.push({ mediaType: "none" }) : null === (n3 = this.parentFlow.promptMediaToValidate) || void 0 === n3 || n3.forEach((t4) => { + e4.push({ mediaType: t4 }); + }), { ensureAudioInPrompts: !!this.ensureAudioInPrompts, promptMediaToValidate: e4 }; + } + return null; } - static get managedProperties() { - return [{ label: p.voiceBiometrics.confidence, options: a.ExpressionTypeDecimalOptions.create((e3) => e3.setAsOutput()), property: "confidence", type: c.expressionTypeNames.decimal }]; + getDisplayName() { + return p.audio.prompts; + } + get isCallPromptsNode() { + return true; + } + get nodeGuxIcon() { + return "roster-chat"; + } + get helpTopic() { + return c.helpTopics.treeNodes.promptsView; + } + get outOfService() { + return !l.globalTypes.prompt.isAvailableForFlow(this.parentFlow); + } + search(e3) { + r.default.each(a.getAllPrompts(), (t3) => { + r.default.isEmpty(t3.getUsagesForFlow(this.parentFlow)) || (e3.checkName(t3, t3.displayName, t3.type.displayString), e3.checkText(t3, t3.description, p.search.promptDescription)); + }); } validate(e3) { - super.validate(e3); + if (!this.parentFlow.validateHasAudioOnly) return; + const t3 = Object.values(a.getAllPrompts()).filter((e4) => e4.getUsagesForFlow(this.parentFlow).length > 0); + r.default.each(t3, (t4) => { + r.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, o.sprintf)(t4.isSystem ? p.audio.promptBeingUploadedSystem : p.audio.promptBeingUploadedUser, t4.displayName, s.getLanguageNameAndCodeDisplay(i3.id))) : e3.addError(this, (0, o.sprintf)(t4.isSystem ? p.audio.noPromptRecordedSystem : p.audio.noPromptRecordedUser, t4.displayName, s.getLanguageNameAndCodeDisplay(i3.id)))); + }); + }); + } + get wrappedYamlName() { + return "settingsPrompts"; } } - _.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) => { + t2.default = h; + }, 23208(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { + const n2 = i2(31635), o = i2(17604), r = 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); + super(e3), this.modelPropertyName = "commonModuleFlowSettings"; } - get _actionTypeId() { - return r2.disconnectActionType; + get id() { + return "commonModuleSettings"; } - get displayTypeName() { - return "ArchMenuDisconnect"; + get className() { + return "CommonModuleFlowSettingsViewModel"; } - get actionDisconnect() { - return this._archAction; + get amObjectEventEmitter() { + return true; } - get isArchMenuDisconnect() { + _postDestroy() { + super._postDestroy(), u.removeEventEmitter(this); + } + getConfiguration(e3, t3) { + let i3; + return (null == t3 ? void 0 : t3.isForFlowYaml) ? (i3 = { compatibleFlowTypes: [] }, r.default.each(this.destinationFlowTypes, (e4) => { + i3.compatibleFlowTypes.push(r.default.tryWrapObject(e4, "flowType")); + }), i3) : (i3 = new a.default(null), i3.destinationFlowTypes = this.destinationFlowTypes, i3); + } + getDisplayName() { + return p.commonModule.settingsNodeName; + } + get isCommonModuleSettingsNode() { return true; } - } - t2.default = a; - }, 72885: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.delayWhen = void 0; - var n2 = i2(39546), r2 = i2(54383), o = i2(2959), a = i2(13337), s = i2(67478), l = i2(19724); - t2.delayWhen = function e3(t3, i3) { - return i3 ? function(a2) { - return n2.concat(i3.pipe(r2.take(1), o.ignoreElements()), a2.pipe(e3(t3))); - } : s.mergeMap(function(e4, i4) { - return l.innerFrom(t3(e4, i4)).pipe(r2.take(1), a.mapTo(e4)); - }); - }; - }, 72938: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + loadConfiguration(e3) { + e3.commonModuleFlowSettings || (e3.commonModuleFlowSettings = new a.default(null)), this._config = e3.commonModuleFlowSettings; } - get _globalTypeName() { - return "decimal"; + get destinationFlowTypes() { + return this._config.destinationFlowTypes || (this._config.destinationFlowTypes = []), this._config.destinationFlowTypes; } - get displayTypeName() { - return "ArchVariableDecimal"; + get destinationFlowTypesMap() { + if (void 0 === this._destinationFlowTypesMap) { + this._destinationFlowTypesMap = {}; + for (const e3 of this.destinationFlowTypes) this._destinationFlowTypesMap[e3] = true; + } + return this._destinationFlowTypesMap; } - get initialValue() { - return this._initialValue; + set destinationFlowTypes(e3) { + this._config.destinationFlowTypes = [...e3], this._destinationFlowTypesMap = void 0, u.fireEvent(this, s.destinationFlowTypesChanged); } - get isArchVariableDecimal() { - return true; + get nodeGuxIcon() { + return "fa/gears-regular"; } - } - t2.default = r2; - }, 72943: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get helpTopic() { + return c.helpTopics.treeNodes.commonModuleSettings; } - get _globalTypeName() { - return "emailCollection"; + get wrappedYamlName() { + return "settingsCommonModule"; } - get displayTypeName() { - return "ArchValueEmailCollection"; + validate(e3) { + super.validate(e3), this.getDestinationFlowTypesInError(e3); } - get isArchValueEmailCollection() { - return true; + getDestinationFlowTypesInError(e3) { + let t3; + return 0 === this.destinationFlowTypes.length ? t3 = p.commonModule.mustSelectFlowType : this.destinationFlowTypes.find((e4) => { + if (!l.default.getDefinitionForFlowType(e4).isEmbeddable) return t3 = (0, o.sprintf)(p.commonModule.flowTypeNotSupported, e4), true; + }), e3 && t3 && e3.addError(this, t3), t3; } } - t2.default = r2; - }, 72987: (e2, t2, i2) => { + t2.default = _; + }, 32854(e2, t2, i2) { "use strict"; - 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 c extends s.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } + t2.CustomTypesViewModel = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(69453)), r = n2.__importDefault(i2(17102)); + class a extends r.default { constructor(e3) { - super(e3), this._wrapupUpCodeFacets = new o.default(), this._requiresHasDescription = false, (0, a.makeUnenumerable)(this, "_wrapupUpCodeFacets"), (0, a.makeUnenumerable)(this, "_requiresHasDescription"); - } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setRequiresHasDescription, e3.requiresHasDescription); - } - applyDefaultCollectionItemOptions(e3) { - return super.applyDefaultCollectionItemOptions(e3), this.requiresHasDescription = e3._requiresHasDescription, this; + super(e3), this.modelPropertyName = "customDefinitions", this.isCustomTypesNode = true; } get className() { - return "ExpressionTypeWrapupCodeOptions"; + return "CustomTypesViewModel"; } - get isExpressionTypeWrapupCodeOptions() { - return true; + get id() { + return "customTypes"; } - get facets() { - return this._wrapupUpCodeFacets; + getDisplayName() { + return this.getNodeName(); } - set facets(e3) { - this._wrapupUpCodeFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isWrapupCodeFacets, e3, "WrapupCodeFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); + getNodeName() { + return o.customDataTypes.customTypesNodeTitle; } - get requiresHasDescription() { - return this._requiresHasDescription; + get nodeGuxIcon() { + return "view-grid"; } - set requiresHasDescription(e3) { - this._requiresHasDescription = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "requiresHasDescription", "value")); + loadConfiguration() { } - setRequiresHasDescription(e3) { - return this.requiresHasDescription = e3, this; + get helpTopic() { } } - 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__" }; - }, 73080: (e2, t2, i2) => { + t2.CustomTypesViewModel = a; + }, 54508(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(62957)); - class s extends a.default { - constructor(e3) { - super(e3), e3.skillExpressionFilters && (this._skillExpressionFilters = this.coreFactory.createArchWrapper(e3.skillExpressionFilters)), e3.skillExpressionFiltersResult && (this._skillExpressionFiltersResult = this.coreFactory.createArchWrapper(e3.skillExpressionFiltersResult)); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = r.getTopic("DataViewModel"); + class p extends u.default { + get id() { + return "data"; } - get _actionTypeId() { - return r2.evaluateSkillExpressionFiltersActionType; + get className() { + return "DataViewModel"; } - get displayTypeName() { - return this._scriptingName; + get flowVariables() { + if (!this.parentFlow) { + const e3 = "No parentFlow found on DataViewModel."; + throw d.error(e3), e3; + } + if (!this.parentFlow.variableGroup) { + const e3 = "No variable group found for flow " + this.parentFlow.id; + throw d.error(e3), e3; + } + return this.parentFlow.variableGroup.flowVariables; } - get outputValid() { - return this._getOutputById(o.outputIds.valid, true); + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const i3 = []; + return o.default.each(this.flowVariables, (n3) => { + if (n3.isSlotVariable || n3.isUserCreatable) { + const o2 = n3.getConfiguration(e3, t3); + o2 && i3.push(o2); + } + }), o.default.sortMapByNameProperty(i3), i3; + } + return o.default.pluck(this.flowVariables, "model"); } - get outputInvalid() { - return this._getOutputById(o.outputIds.invalid, true); + getDisplayName() { + return c.customNodes.data; } - get skillExpressionFilters() { - return this._skillExpressionFilters; + get isDataNode() { + return true; } - get skillExpressionFiltersResult() { - return this._skillExpressionFiltersResult; + loadVariables(e3) { + o.default.each(e3, (e4) => { + l.createVariable(e4, this.parentFlow); + }); } - get evaluateSkillExpressionFiltersOutputsFailure() { - return this.failureOutputs; + get nodeGuxIcon() { + return a.default.database; } - get isArchActionEvaluateSkillExpressionFilters() { - return true; + get helpTopic() { + return s.helpTopics.treeNodes.dataView; + } + search(e3) { + const t3 = this.parentFlow.variableGroup; + o.default.each(t3.flowVariables, (t4) => e3.checkText(this, t4.description, c.search.variableDescription)), o.default.each(t3.taskVariables, (t4) => e3.checkText(this, t4.description, c.search.variableDescription)); + } + get wrappedYamlName() { + return "variables"; } } - t2.default = s; - }, 73146: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.toAscii = void 0, t2.toAscii = (e3) => { - if ("undefined" != typeof window) return window.btoa(e3); - let t3; - return t3 = e3 instanceof Buffer ? e3 : Buffer.from(e3 + "", "binary"), t3.toString("base64"); - }; - }, 73177: (e2, t2, i2) => { + t2.default = p; + }, 92346(e2, t2, i2) { "use strict"; - var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = i2(30801), a = r2.__importDefault(i2(11210)); - class s extends a.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.enableMonitoring), "f"); + const n2 = i2(31635).__importDefault(i2(68460)), o = i2(13265), r = i2(47957); + class a extends n2.default { + get className() { + return "DebuggingViewModel"; } - get _actionTypeId() { - return o.audioMonitoringActionType; + get id() { + return "debugging"; } - get displayTypeName() { - return this._scriptingName; + get showInFlowSize() { + return false; } - get isArchActionAudioMonitoring() { + getConfiguration(e3, t3) { + e3.debugSettings || (e3.debugSettings = new o()); + } + getDisplayName() { + return r.customNodes.debugging; + } + get isDebuggingNode() { return true; } - get enableMonitoring() { - return r2.__classPrivateFieldGet(this, n2, "f"); + loadConfiguration(e3) { + e3.debugSettings || (e3.debugSettings = new o()); + } + get nodeGuxIcon() { + return "bug"; } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; - }, 73198: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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) => { + t2.default = a; + }, 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), 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); + t2.DefaultSettingsViewModel = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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(); @@ -93523,19 +84803,19 @@ ${e3.stack}`, n3 = [this].concat(i3); if (null == t3 ? void 0 : t3.isForFlowYaml) { if (!this._actionDefaults.length) return null; const i3 = {}; - return r2.default.each(this._actionDefaults, (n3) => { - var o2; - const a2 = n3.managedPropertyMetadata.yamlOptions, s2 = n3.actionType === p.callGuideActionType && "voiceProcessingPrompt" === n3.managedPropertyMetadata.property, l2 = !!(null === (o2 = this.parentFlow.botFlowSettings) || void 0 === o2 ? void 0 : o2.virtualAgentEnabled); + return o.default.each(this._actionDefaults, (n3) => { + var r2; + const a2 = n3.managedPropertyMetadata.yamlOptions, s2 = n3.actionType === p.callGuideActionType && "voiceProcessingPrompt" === n3.managedPropertyMetadata.property, l2 = !!(null === (r2 = this.parentFlow.botFlowSettings) || void 0 === r2 ? void 0 : r2.virtualAgentEnabled); 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 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); + o.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) => { + e3.defaultSettings || (e3.defaultSettings = new g()), o.default.each(this._actionDefaults, (i3) => { var n3; - const r3 = i3.actionType === p.callGuideActionType && "voiceProcessingPrompt" === i3.managedPropertyMetadata.property, o2 = !!(null === (n3 = this.parentFlow.botFlowSettings) || void 0 === n3 ? void 0 : n3.virtualAgentEnabled), a2 = !!r3 && o2; + const o2 = i3.actionType === p.callGuideActionType && "voiceProcessingPrompt" === i3.managedPropertyMetadata.property, r2 = !!(null === (n3 = this.parentFlow.botFlowSettings) || void 0 === n3 ? void 0 : n3.virtualAgentEnabled), a2 = !!o2 && r2; i3.defaultExpression.outOfService && !a2 || (e3.defaultSettings[i3.actionType] || (e3.defaultSettings[i3.actionType] = {}), e3.defaultSettings[i3.actionType][i3.managedPropertyMetadata.property] = i3.defaultExpression.getConfiguration(e3, t3)); }); } @@ -93558,9 +84838,9 @@ ${e3.stack}`, n3 = [this].concat(i3); return T.actions.defaultActionSettings; } getGroupedDefaults() { - const e3 = r2.default.groupBy(this._actionDefaults, "actionType"), t3 = {}; - return r2.default.each(e3, (e4, i3) => { - t3[i3] = r2.default.object(r2.default.map(e4, (e5) => [e5.propertyName, e5])); + const e3 = o.default.groupBy(this._actionDefaults, "actionType"), t3 = {}; + return o.default.each(e3, (e4, i3) => { + t3[i3] = o.default.object(o.default.map(e4, (e5) => [e5.propertyName, e5])); }), t3; } getNodeName() { @@ -93584,11 +84864,11 @@ ${e3.stack}`, n3 = [this].concat(i3); loadConfiguration(e3) { e3.defaultSettings || (e3.defaultSettings = new g()); const t3 = a.default.getTypeGroup(this.parentFlow); - r2.default.each(this._actionDefaults, (i3) => { + o.default.each(this._actionDefaults, (i3) => { const n3 = i3.managedPropertyMetadata.options.clone().setIsFlowLevelDefaultExpression(true).setIninTestingField(i3.actionType + "." + i3.managedPropertyMetadata.property); i3.managedPropertyMetadata.options.flowLevelDefaultSameModes || n3.setAllowModeExpression(false), i3.managedPropertyMetadata.options.isExpressionTypePromptOptions ? n3.setIsOptional(true) : n3.setIsOptional(false); - const r3 = t3.getType(i3.managedPropertyMetadata.type); - i3.defaultExpression = o.expression(this.parentFlow, this, this._prepareModel(e3, i3.actionType, i3.managedPropertyMetadata.property), i3.managedPropertyMetadata.label, r3, i3.managedPropertyMetadata.property, n3), i3.defaultExpression.options.flowLevelDefaultHasDefault && i3.defaultExpression.isEmpty && (i3.defaultExpression.mode = l.noValue), this.parentFlow.definition.hasDestinationFlowTypes && (i3.managedPropertyMetadata.supportedFlowTypes && i3.managedPropertyMetadata.supportedFlowTypes.length ? (i3.defaultExpression.supportedFlowTypes = i3.managedPropertyMetadata.supportedFlowTypes, i3.defaultExpression.outOfServiceProvider.allSupportedFlowTypesMustBeAvailableInFlow = !i3.defaultExpression.type.isMatch(u.globalTypes.prompt, s.settings.exact)) : i3.info.supportedFlowTypes && i3.info.supportedFlowTypes.length && (i3.defaultExpression.supportedFlowTypes = i3.info.supportedFlowTypes, i3.defaultExpression.outOfServiceProvider.allSupportedFlowTypesMustBeAvailableInFlow = true)); + const o2 = t3.getType(i3.managedPropertyMetadata.type); + i3.defaultExpression = r.expression(this.parentFlow, this, this._prepareModel(e3, i3.actionType, i3.managedPropertyMetadata.property), i3.managedPropertyMetadata.label, o2, i3.managedPropertyMetadata.property, n3), i3.defaultExpression.options.flowLevelDefaultHasDefault && i3.defaultExpression.isEmpty && (i3.defaultExpression.mode = l.noValue), this.parentFlow.definition.hasDestinationFlowTypes && (i3.managedPropertyMetadata.supportedFlowTypes && i3.managedPropertyMetadata.supportedFlowTypes.length ? (i3.defaultExpression.supportedFlowTypes = i3.managedPropertyMetadata.supportedFlowTypes, i3.defaultExpression.outOfServiceProvider.allSupportedFlowTypesMustBeAvailableInFlow = !i3.defaultExpression.type.isMatch(u.globalTypes.prompt, s.settings.exact)) : i3.info.supportedFlowTypes && i3.info.supportedFlowTypes.length && (i3.defaultExpression.supportedFlowTypes = i3.info.supportedFlowTypes, i3.defaultExpression.outOfServiceProvider.allSupportedFlowTypesMustBeAvailableInFlow = true)); }); } updateDependencies() { @@ -93622,13 +84902,13 @@ ${e3.stack}`, n3 = [this].concat(i3); } _prepareModel(e3, t3, i3) { const n3 = e3.defaultSettings; - return n3[t3] || (n3[t3] = {}), n3[t3][i3] && !r2.default.isEmpty(n3[t3][i3]) || (n3[t3][i3] = new f()), n3[t3][i3]; + return n3[t3] || (n3[t3] = {}), n3[t3][i3] && !o.default.isEmpty(n3[t3][i3]) || (n3[t3][i3] = new f()), n3[t3][i3]; } _initialize() { - 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 })); + this._actionDefaults.length = 0, o.default.each(c.default, (e3) => { + e3.isAvailable && o.default.each(e3.actions, (e4) => { + e4.getManagedProperties && o.default.each(e4.getManagedProperties(e4), (t3) => { + t3.options && t3.options.allowFlowLevelDefault && (e4.prototype.info.supportedFlowTypes && !o.default.contains(e4.prototype.info.supportedFlowTypes, this.parentFlow.type) || (this.parentFlow.isCommonModuleFlow || !t3.supportedFlowTypes || o.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 })); }); }); }); @@ -93641,33356 +84921,43230 @@ ${e3.stack}`, n3 = [this].concat(i3); } } t2.DefaultSettingsViewModel = y; - }, 73270: (e2, t2, i2) => { + }, 31151(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createWorkitem = function(e3) { - return r2.default.build(o.createWorkitem).content(e3).call(); - }, t2.getWorktypes = a, t2.getSchema = s, t2.getWorktype = l; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(28350)); - function a(e3) { - const t3 = r2.default.build(o.getWorktypes), i3 = e3.searchTerm, n3 = { after: e3.after, pageSize: e3.defaultPageSize, sort: { name: "name", ascending: "true" }, attributes: ["name", "id", "schemaId", "flowId"] }; - return i3 && (n3.filters = [{ type: "String", operator: "CONTAINS", name: "name", values: [i3] }]), t3.content(n3).call(); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 s(e3) { - return r2.default.build(o.getSchema).templateParams({ id: e3 }).call(); + function p(e3) { + const t3 = []; + if (o.default.each(e3, (e4) => { + t3.push(d(e4.referenceElement.parent)); + }), t3.length) return t3; } - function l(e3) { - return r2.default.build(o.getWorktype).templateParams({ id: e3 }).call(); + function _(e3, t3, i3) { + const n3 = r.getDependenciesForFlow(e3), a2 = o.default.groupBy(n3, (e4) => e4.type.value); + o.default.each(a2, (e4, i4) => { + t3[i4] = []; + }); + const s2 = o.default.groupBy(n3, (e4) => `${e4.type.value}-${e4.id}-${e4.version}`); + o.default.each(s2, (e4) => { + const n4 = o.default.pick(e4[0], ["name", "id", "version"]); + i3 || (n4.context = [], o.default.each(e4, (e5) => { + e5.consumer && n4.context.push(d(e5.consumer)), e5.extraPropertiesObject && o.default.each(e5.extraPropertiesObject, (e6, t4) => { + o.default.isArray(n4[t4]) || (n4[t4] = []), n4[t4].includes(e6) || n4[t4].push(e6); + }); + })), t3[e4[0].type.value].push(n4); + }); } - s.api = o.getSchema, l.api = o.getWorktype, a.api = o.getWorktypes; - }, 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 = 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; + function h(e3, t3) { + if (e3.supportsLanguages) { + const i3 = e3 ? e3.languages.supportedLanguages : []; + i3.length > 0 && (t3[u.Language.value] = [], o.default.each(i3, (e4) => { + t3[u.Language.value].push({ id: e4 }); + })); } - constructor(e3, t3) { - super(e3, t3), this.parentFlow.isEmbeddedFlow ? this.trackById = `${this.parentFlow.instanceId}-${this.id}` : this.trackById = this.id; + } + function m(e3, t3) { + var i3; + if (e3.supportsGrammars) { + const n3 = (null === (i3 = e3.grammarsInUse) || void 0 === i3 ? void 0 : i3.length) ? e3.grammarsInUse : []; + t3[u.Grammar.value] || (t3[u.Grammar.value] = []), n3.length > 0 && o.default.each(n3, (e4) => { + e4.id && !t3[u.Grammar.value].some((t4) => t4.id === e4.id) && t3[u.Grammar.value].push({ id: e4.id }); + }); } - get canRename() { - return false; + } + function g(e3, t3) { + var i3; + if (e3.supportsGrammars) { + const n3 = (null === (i3 = e3.speechToTextEnginesInUse) || void 0 === i3 ? void 0 : i3.length) ? e3.speechToTextEnginesInUse : []; + t3[u.SpeechToTextEngine.value] || (t3[u.SpeechToTextEngine.value] = []), n3.length > 0 && o.default.each(n3, (e4) => { + o.default.isUndefined(e4) || t3[u.SpeechToTextEngine.value].some((t4) => t4.id === e4.id) || t3[u.SpeechToTextEngine.value].push({ name: e4.name, id: e4.id }); + }); } - get isCommonModuleTaskViewModel() { + } + class f extends l.default { + constructor() { + super(...arguments), this.modelPropertyName = "manifest"; + } + get className() { + return "DependenciesViewModel"; + } + get isDependenciesNode() { return true; } - get supportsCustomOutputPaths() { + get nodeGuxIcon() { + return "fa/life-ring-regular"; + } + get id() { + return "dependencies"; + } + get showInFlowSize() { return false; } - getDisplayName() { - var e3; - if (this.parentFlow.isEmbeddedFlow) { - const t3 = this.parentFlow.topParentFlow, i3 = null === (e3 = null == t3 ? void 0 : t3.getCommonModuleReferenceByInstanceId) || void 0 === e3 ? void 0 : e3.call(t3, this.parentFlow.instanceId); - return (null == i3 ? void 0 : i3.version) ? (0, r2.sprintf)(d.nameAndVersion, this.parentFlow.displayName, i3.version) : this.parentFlow.displayName; + get helpTopic() { + return s.helpTopics.treeNodes.dependencies; + } + getConfiguration(e3, t3) { + try { + if (this.parentFlow.isEmbeddedFlow) return; + e3.manifest = {}, r.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, o.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, o.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) { + e3.manifest = void 0, console.error(t4); } - return super.getDisplayName(); + } + getValidationManifest() { + const e3 = {}; + return r.updateDependencies(this.parentFlow, true), _(this.parentFlow, e3, true), (function(e4, t3) { + r.getUnverifiedPrompts(e4).forEach((e5) => { + t3[e5.type.value] || (t3[e5.type.value] = []), t3[e5.type.value].push({ name: e5.name, id: e5.id }); + }); + })(this.parentFlow, e3), h(this.parentFlow, e3), m(this.parentFlow, e3), g(this.parentFlow, e3), (function(e4, t3) { + const i3 = r.getValidationOnlyItems(e4); + o.default.each(i3, (e5, i4) => { + !(function(e6, t4, i5) { + i5[t4] || (i5[t4] = []), o.default.each(e6, (e7) => { + o.default.findWhere(i5[t4], { id: e7.id }) || o.default.findWhere(i5[t4], { name: e7.name }) || i5[t4].push(e7); + }); + })(e5, i4, t3); + }); + })(this.parentFlow, e3), e3; + } + getDisplayName() { + return c.customNodes.dependencies.label; } } - 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); - } - i2(52722).extend(n2, "SpeechToTextEngine"), e2.exports = n2; - }, 73322: (e2, t2, i2) => { - const n2 = i2(75458), r2 = i2(7401), { sendNotificationActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _notificationType: { writable: true }, _subject: { writable: true }, _body: { writable: true }, _sendToUsers: { writable: true }, _emailNotificationStyle: { writable: true }, _emailFrom: { writable: true }, _errorBindings: { writable: true }, _sendToGroup: { writable: true }, _chatMessage: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.notificationType.pasteReIdOrRename(e3), this.subject.pasteReIdOrRename(e3), this.body.pasteReIdOrRename(e3), this.sendToUsers.pasteReIdOrRename(e3), this.emailNotificationStyle.pasteReIdOrRename(e3), this.emailFrom.pasteReIdOrRename(e3), this.sendToGroup.pasteReIdOrRename(e3), this.chatMessage.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.notificationType.pasteResolveOldToNewValues(e3), this.subject.pasteResolveOldToNewValues(e3), this.body.pasteResolveOldToNewValues(e3), this.sendToUsers.pasteResolveOldToNewValues(e3), this.emailNotificationStyle.pasteResolveOldToNewValues(e3), this.emailFrom.pasteResolveOldToNewValues(e3), this.sendToGroup.pasteResolveOldToNewValues(e3), this.chatMessage.pasteResolveOldToNewValues(e3); - } }, notificationType: { enumerable: true, get: function() { - return this._notificationType; - }, set: function(e3) { - this._notificationType = this.reviveItem(e3, r2); - } }, subject: { enumerable: true, get: function() { - return this._subject; - }, set: function(e3) { - this._subject = this.reviveItem(e3, r2); - } }, body: { enumerable: true, get: function() { - return this._body; - }, set: function(e3) { - this._body = this.reviveItem(e3, r2); - } }, sendToUsers: { enumerable: true, get: function() { - return this._sendToUsers; - }, set: function(e3) { - this._sendToUsers = this.reviveItem(e3, r2); - } }, emailNotificationStyle: { enumerable: true, get: function() { - return this._emailNotificationStyle; - }, set: function(e3) { - this._emailNotificationStyle = this.reviveItem(e3, r2); - } }, emailFrom: { enumerable: true, get: function() { - return this._emailFrom; - }, set: function(e3) { - this._emailFrom = this.reviveItem(e3, r2); - } }, sendToGroup: { enumerable: true, get: function() { - return this._sendToGroup; - }, set: function(e3) { - this._sendToGroup = this.reviveItem(e3, r2); - } }, chatMessage: { enumerable: true, get: function() { - return this._chatMessage; - }, set: function(e3) { - this._chatMessage = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 73324: (e2, t2, i2) => { + t2.default = f; + }, 97675(e2, t2, i2) { "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseBotActionSettingsSequence = void 0; - const r2 = i2(31635), o = i2(64306); - class a extends o.BaseBotSettingsSequence { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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(), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, e3, "f"); + super(e3, s.default); } - generateLanguageSequencesDefaultSequence(e3, t3) { - return super.generateLanguageSequencesDefaultSequence(r2.__classPrivateFieldGet(this, n2, "f"), e3, t3); + get className() { + return "EmailSendErrorHandlingViewModel"; } - generateLanguageSequenceConfig(e3, t3, i3, n3) { - return super.generateLanguageSequenceConfig(e3, t3, i3, n3); + get helpTopic() { + return p.helpTopics.treeNodes.eventHandling; } - } - t2.BaseBotActionSettingsSequence = a, n2 = /* @__PURE__ */ new WeakMap(); - }, 73369: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = {}; - r2.createChannel = n2.request("POST", "{public-api.apps}/api/v2/notifications/channels"), r2.removeAllSubscriptions = n2.request("DELETE", "{public-api.apps}/api/v2/notifications/channels/{id}/subscriptions"), r2.addSubscription = n2.request("POST", "{public-api.apps}/api/v2/notifications/channels/{id}/subscriptions"), r2.updateSubscription = n2.request("PUT", "{public-api.apps}/api/v2/notifications/channels/{id}/subscriptions"), r2.createChannel.addOptions({ ignoreTimeouts: true, ignoreBadResponse: true }), r2.removeAllSubscriptions.addOptions({ ignoreBadResponse: true, suppressSuccessTrace: true }), r2.addSubscription.addOptions({ suppressSuccessTrace: true }), r2.updateSubscription.addOptions({ suppressSuccessTrace: true }), e2.exports = r2; - }, 73374: (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" }; - }, 73381: (e2, t2, i2) => { - "use strict"; - var n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AudioCaseViewModel = void 0; - const o = i2(31635), a = i2(9456), s = o.__importStar(i2(58380)); - t2.AudioCaseViewModel = class { - constructor(e3, t3, i3, o2) { - this.parentFlow = e3, this.parent = t3, this.model = i3, this.audioExpression = o2, this.id = (0, a.uuid)(), this.amObjectEventSink = true, n2.set(this, void 0), r2.set(this, void 0), this.audioExpression.hasSequenceItems || this.audioExpression.customExpressionMode || (this.disabled = true), s.registerEventSinkForEventEmitter(this.audioExpression.id, this), this.audioExpression.parentAudio = this; + get handlingTypes() { + return c.getHandlingTypesForFlowType(this.parentFlow.type); } - objEvent_sequenceItemsChanged(e3) { - this.disabled = !e3.customExpressionMode && e3.sequenceItems.length < 1; + get isEmailErrorHandlingNode() { + return true; } - addClipboardDependencies(e3, t3) { - this.audioExpression.addClipboardDependencies(e3, t3); + get handlingType() { + return super.handlingType; } - checkVersion(e3) { - this.audioExpression.checkVersion(e3); + set handlingType(e3) { + super.handlingType = e3, this._updateOutOfService(); } - get isDestroyedOrDestroying() { - var e3; - return null !== (e3 = o.__classPrivateFieldGet(this, n2, "f")) && void 0 !== e3 ? e3 : o.__classPrivateFieldGet(this, r2, "f"); + initializeDesignTime() { + super.initializeDesignTime(), this._updateOutOfService(); } - destroy() { - o.__classPrivateFieldSet(this, r2, true, "f"), this.audioExpression.destroy(), o.__classPrivateFieldSet(this, n2, true, "f"); + 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(d.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "abortMessage", supportedFlowTypes: [o.flowTypes.flowTypeEmailSend], type: a.expressionTypeNames.string }]; } - get hasAudioSet() { - return this.audioExpression.hasAudioSet; + validate(e3) { + var t3, i3, n3, o2; + super.validate(e3), this.handlingType && !(null === (t3 = this.parentFlow.definition) || void 0 === t3 ? void 0 : t3.errorHandlingTypesMap[this.handlingType.value]) && e3.addError(this, (0, r.sprintf)(h.customNodes.errorHandling.errorHandlingTypeNotAvailableForFlowType, null === (i3 = this.handlingType) || void 0 === i3 ? void 0 : i3.label, null === (o2 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.definition) || void 0 === o2 ? void 0 : o2.typeDisplayName)); } - isAudioCaseViewModel() { - return true; + _updateOutOfService() { + this.abortMessage.outOfService = this.handlingType !== l.default.AbortSend; } - get disabled() { - return this.model.disabled; + } + t2.default = m; + }, 44035(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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); } - set disabled(e3) { - this.model.disabled = e3; + loadConfiguration(e3) { + super.loadConfiguration(e3); } - get langCode() { - return this.model.langCode; + get id() { + return "emailSendSettings"; } - set langCode(e3) { - this.model.langCode = e3; + get className() { + return "EmailSendSettingsViewModel"; } - search(e3) { - e3.addToQueue(this.audioExpression); + get helpTopic() { + return d.helpTopics.treeNodes.emailSendSettings; } - get parentAudioViewModel() { - return this.parent; + get isEmailSendSettingsNode() { + return true; } - get uiMetaData() { - return this.model.uiMetaData; + get wrappedYamlName() { + return "settingsEmailSend"; } - set uiMetaData(e3) { - this.model.uiMetaData = e3; + get nodeGuxIcon() { + return "fa/gears-regular"; } - validate(e3) { - this.audioExpression.validate(e3); + getDisplayName() { + var e3; + return (null === (e3 = _.emailSendFlow) || void 0 === e3 ? void 0 : e3.emailSendSettingsTreeNodeLabel) || "Email Send"; } - initializeDesignTime() { - this.audioExpression.initializeDesignTime(); + static get managedProperties() { + return [{ label: _.actions.abortSendMessageSettingDefaultLabel, options: u.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(_.actions.abortSendMessageSettingDefaultLabel, (0, r.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: [o.flowTypes.flowTypeEmailSend], type: s.expressionTypeNames.string }]; } - }, n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(); - }, 73484: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.toArray = void 0; - var n2 = i2(92070), r2 = i2(65212), o = function(e3, t3) { - return e3.push(t3), e3; - }; - t2.toArray = function() { - return r2.operate(function(e3, t3) { - n2.reduce(o, [])(e3).subscribe(t3); - }); - }; - }, 73506: (e2, t2, i2) => { + setNewInstanceDefaults() { + super.setNewInstanceDefaults(); + } + } + t2.default = h; + }, 26519(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(90077)); - class a extends o.default { + const n2 = i2(31635), o = i2(96618), r = 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), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._surveyQuestion = this.coreFactory.createArchWrapper(e3.surveyQuestion), this._surveyQuestionResult = this.coreFactory.createArchWrapper(e3.surveyQuestionResult), this._questionCondition = this.coreFactory.createArchWrapper(e3.questionCondition), this._answer = this.coreFactory.createArchWrapper(e3.answer), this._followUpQuestion = this.coreFactory.createArchWrapper(e3.followUpQuestion), this._notApplicable = this.coreFactory.createArchWrapper(e3.notApplicable); + super(e3, T); } - get _actionTypeId() { - return r2.askSurveyQuestionActionType; + get className() { + return "ErrorHandlingViewModel"; } - get displayTypeName() { - return "ArchActionAskSurveyQuestion"; + get helpTopic() { + return g.helpTopics.treeNodes.eventHandling; } - get isArchActionAskSurveyQuestion() { + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) return super.getConfiguration(e3, t3); + super.getConfiguration(e3, t3), e3.errorHandling.queue = this.queue.getConfiguration(e3, t3), e3.errorHandling.menuReference = this.menuReference, e3.errorHandling.taskReference = this.taskReference, e3.errorHandling.stateReference = this.stateReference, e3.errorHandling.menuReferenceName = this.menuReferenceName, e3.errorHandling.taskReferenceName = this.taskReferenceName, e3.errorHandling.stateReferenceName = this.stateReferenceName; + } + get handlingType() { + return super.handlingType; + } + set handlingType(e3) { + super.handlingType = e3, this._config && this._config.errorHandling && (this._updateQueueOutOfService(), h.validateNode(this, true)); + } + get handlingTypes() { + const e3 = d.getHandlingTypesForFlowType(this.parentFlow.type); + return this._updateQueueDescription(e3), e3; + } + get isErrorHandlingNode() { return true; } - get enableBargeIn() { - return this._enableBargeIn; + loadConfiguration(e3) { + super.loadConfiguration(e3), e3.errorHandling.handlingType || (e3.errorHandling.handlingType = this.handlingTypes[0]), this._queue = s.expression(this.parentFlow, this, e3.errorHandling.queue, y.transferPureMatch.queue, l.globalTypes.queue, null, l.globalTypes.queue.createExpressionOptionClass().setAllowEmptyConfig(true).setIninTestingField("queue")), this._config = e3, this._createReferenceProperties(), this._updateQueueOutOfService(); } - get surveyQuestion() { - return this._surveyQuestion; + loadErrorSettings(e3) { + this._queue = s.expression(this.parentFlow, this, null, y.transferPureMatch.queue, l.globalTypes.queue, null, l.globalTypes.queue.createExpressionOptionClass().setAllowEmptyConfig(true)), this.queue.update(e3.name, e3.id), this._updateQueueOutOfService(); } - configureFromQuestionText(e3) { - this._checkItemIsValidLiteralString(this._infoParm("questionText", "configureFromQuestionText"), e3, false), this._getCoreViewModel().configureFromArchSurveyQuestionText(e3) || this.logErrorAndThrow(`the survey question with text '${e3}' could not be found on the survey form associated with this flow.`); + get queue() { + return this._queue; } - configureFromQuestionId(e3) { - this._checkItemIsValidLiteralString(this._infoParm("questionId", "configureFromQuestionId"), e3, false), this._getCoreViewModel().configureFromArchSurveyQuestionId(e3) || this.logErrorAndThrow(`the survey question identifier of '${e3} is not valid for this voice survey flow. Make sure that it is valid for the survey form associated with this flow.`); + search(e3) { + switch (this.handlingType) { + case u.default.Queue: + e3.addToQueue(this.queue); + break; + case u.default.Menu: + this._searchReference(e3, this.menuReference, y.menu.label); + break; + case u.default.State: + this._searchReference(e3, this.stateReference, y.state.label); + break; + case u.default.Task: + this._searchReference(e3, this.taskReference, y.task.label); + } } - get surveyQuestionResult() { - return this._surveyQuestionResult; + updateDependencies() { + this._queue.outOfService || c.registerExpression(this.queue); } - get questionCondition() { - return this._questionCondition; + validate(e3) { + var t3, i3, n3, o2; + if (super.validate(e3), this.handlingType && !(null === (t3 = this.parentFlow.definition) || void 0 === t3 ? void 0 : t3.errorHandlingTypesMap[this.handlingType.value])) e3.addError(this, (0, r.sprintf)(y.customNodes.errorHandling.errorHandlingTypeNotAvailableForFlowType, null === (i3 = this.handlingType) || void 0 === i3 ? void 0 : i3.label, null === (o2 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.definition) || void 0 === o2 ? void 0 : o2.typeDisplayName)); + else switch (this.handlingType) { + case u.default.CompleteSend: + case u.default.Disconnect: + case u.default.EndFlow: + case u.default.EndInQueueState: + case u.default.EndWorkflow: + case u.default.Exit: + case u.default.AbortSend: + break; + case u.default.Queue: + this.queue.validate(e3); + break; + case u.default.Menu: + this.menuProperty.validate(e3); + break; + case u.default.State: + this.stateProperty.validate(e3); + break; + case u.default.Task: + this.taskProperty.validate(e3); + break; + default: + e3.addError(this, (0, r.sprintf)(y.errors.invalidValue, y.customNodes.errorHandling.handling)); + } } - get answer() { - return this._answer; + _destroy() { + super._destroy(), this._queue && this._queue.destroy(); } - get followUpQuestion() { - return this._followUpQuestion; + _initializeDesignTime() { + super._initializeDesignTime(), this.menuProperty.initializeDesignTime(), this.stateProperty.initializeDesignTime(), this.taskProperty.initializeDesignTime(), this._queue.initializeDesignTime(); } - get notApplicable() { - return this._notApplicable; + _createReferenceProperties() { + this.menuProperty || (this.menuProperty = new a.ContainerActionProperty(this, {}, "menuReference", "menuReferenceName", y.menu.label, y.menu.noReference, y.menu.invalidReference, true, false, false, false, false, (e3) => { + if (!e3 || !e3.isMenu) return { error: y.menu.invalidReference }; + }), this.stateProperty = new a.ContainerActionProperty(this, {}, "stateReference", "stateReferenceName", y.state.label, y.state.noReference, y.state.invalidReference, false, false, true, false, false, (e3) => e3 && e3.isState ? e3.isStartUpObject ? { warning: y.customNodes.errorHandling.changeStateToFlowStartup } : void 0 : { error: y.state.invalidReference }), this.taskProperty = new a.ContainerActionProperty(this, {}, "taskReference", "taskReferenceName", y.task.label, y.task.noReference, y.task.invalidReference, false, true, false, false, false, (e3) => { + if (!e3 || !e3.isTask || !e3.isTransferable) return { error: y.task.invalidReference }; + })); + } + _searchReference(e3, t3, i3) { + if (t3) { + const n3 = _.flowElementRegistrationService.getItemById(this.parentFlow, t3); + n3 && e3.checkText(this, n3.name, i3); + } + } + _updateQueueDescription(e3) { + const t3 = e3.find((e4) => e4.value === u.default.Queue.value); + if (!t3) return; + const i3 = this.parentFlow.type; + i3 !== o.flowTypes.flowTypeInQueueEmail && i3 !== o.flowTypes.flowTypeInQueueShortMessage || !p.isFeatureAvailable(m.default.transferToQueueErrorHandlingAutomate) ? t3.description = void 0 : t3.description = y.customNodes.errorHandling.queueTransferDigitalAutomateDescription; + } + _updateQueueOutOfService() { + var e3; + const t3 = this.handlingType && this.handlingType.value === u.default.Queue.value, i3 = !!(null === (e3 = this.parentFlow.definition) || void 0 === e3 ? void 0 : e3.errorHandlingTypesMap[u.default.Queue.value]); + this._queue.outOfService = !(t3 && i3); } } - t2.default = a; - }, 73510: (e2, t2, i2) => { + t2.default = S; + }, 39521(e2, t2, i2) { "use strict"; + var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const o = i2(31635), r = i2(24235), a = o.__importDefault(i2(26519)), s = i2(96353), l = i2(47957); + class u extends a.default { + constructor() { + super(...arguments), n2.set(this, void 0); } - get _globalTypeName() { - return "externalWhatsAppInfoCollection"; + get audio() { + return o.__classPrivateFieldGet(this, n2, "f"); } - get displayTypeName() { - return "ArchValueExternalWhatsAppInfoCollection"; + destroy() { + return o.__classPrivateFieldGet(this, n2, "f") && o.__classPrivateFieldGet(this, n2, "f").destroy(), super.destroy(); } - get isArchValueExternalWhatsAppInfoCollection() { + getConfiguration(e3, t3) { + const i3 = super.getConfiguration(e3, t3); + if ((null == t3 ? void 0 : t3.isForFlowYaml) && i3) { + const n3 = this.audio.getConfiguration(e3, t3); + return i3.preHandlingAudio = n3 || { tts: "" }, i3; + } + e3.errorHandling.audio || (e3.errorHandling.audio = {}), e3.errorHandling.audio = this.audio.getConfiguration(e3, t3); + } + get isErrorHandlingWithAudioViewModel() { return true; } - } - t2.default = r2; - }, 73545: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AudioType = void 0; - const n2 = i2(94765), r2 = i2(80428); - class o extends n2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + loadConfiguration(e3) { + super.loadConfiguration(e3), e3.errorHandling.audio || (e3.errorHandling.audio = {}), o.__classPrivateFieldSet(this, n2, new s.AudioViewModel(this.parentFlow, this, e3.errorHandling.audio, r.AudioViewModelOptions.create().setLabel(l.customNodes.errorHandling.audio).setIninTestingField("errorAudio")), "f"); } - getFlowTypesUnavailableForExpression(e3) { - if (!e3 || !e3.parentFlow) return; - const t3 = e3.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().filter((e4) => !this.isAvailableForFlowType(e4, true)); - return t3.length ? t3 : void 0; + search(e3) { + super.search(e3), e3.addToQueue(this.audio); } - } - 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), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends l.default { - constructor(e3, t3) { - super(e3, t3); + updateDependencies() { + this.audio.outOfService || this.audio.updateDependencies(), super.updateDependencies(); } - 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: p.createYamlOptions("botFlow", (e3) => e3.setExportOrder(6)) }]; + validate(e3) { + this.audio.validate(e3), super.validate(e3); } - get targetFlowType() { - return this.botFlow; + _initializeDesignTime() { + super._initializeDesignTime(), this.audio.initializeDesignTime(); } } - 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) => { + n2 = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 6099(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 { + t2.FlowSizeViewModel = void 0; + const n2 = i2(31635), o = i2(79364), r = 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._acdSkills = this.coreFactory.createArchWrapper(e3.acdSkills), this._languageSkill = this.coreFactory.createArchWrapper(e3.languageSkill); - } - get _actionTypeId() { - return r2.setSkillsActionType; - } - get displayTypeName() { - return "ArchActionSetSkills"; + super(e3), this.flowSizeDetails$ = new o.BehaviorSubject(void 0), this._lastUpdatedFlowSize = 0, this.isFlowSizeNode = true; } - get isArchActionSetSkills() { - return true; + get className() { + return "FlowSizeViewModel"; } - get acdSkills() { - return this._acdSkills; + getDisplayName() { + return g.flow.flowSizeNodeTitle; } - get languageSkill() { - return this._languageSkill; + get nodeGuxIcon() { + return "graph-pie"; } - } - t2.default = o; - }, 73646: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionFuncOp = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55909), o = i2(33951); - t2.ExpressionFuncOp = class { - constructor(e3, t3, i3, n3, r3) { - this.className = "ExpressionFuncOp", this.isUnavailable = false, this.description = i3, this.overloads = r3, this.funcCategory = n3, this.identifier = e3.identifier, this.isFunction = "function" === e3.type, this.isOperator = "operator" === e3.type, this.text = t3, this.type = e3.type, this.runtimeSequencesSystemPrompts = e3.runtimeSequencesSystemPrompts, this.runtimeRequiresTTSSupport = e3.runtimeRequiresTTSSupport, this.closingSymbol = e3.closingSymbol, e3.needsServerInfo && (this.needsServerInfo = true), this._processSupportedFlowTypes(); + get id() { + return "flowSize"; } - getAvailableOverloads(e3, t3) { - o.ParameterValidator.expectFlowType(e3, function() { - return r2.ParameterInfo.createFunctionParameter(this.className, "getAvailableOverloadsForFlowType", "flowType"); - }.bind(this), true); - const i3 = []; - return n2.default.each(this.overloads, (r3) => { - (t3 && t3.id === r3.id || !r3.isUnavailable && (n2.default.isUndefined(e3) || n2.default.isUndefined(r3.supportedFlowTypes) || n2.default.contains(r3.supportedFlowTypes, e3))) && i3.push(r3); - }), i3; + get helpTopic() { + return h.helpTopics.treeNodes.flowSize; } - _processSupportedFlowTypes() { - let e3, t3; - n2.default.each(this.overloads, (i3) => { - i3.supportedFlowTypes && !t3 ? (e3 || (e3 = {}), n2.default.each(i3.supportedFlowTypes, (t4, i4) => { - e3[i4] = t4; - })) : (t3 = true, e3 = void 0); - }), e3 ? this.supportedFlowTypes = e3 : delete this.supportedFlowTypes; + get showInFlowSize() { + return false; } - _unitTestEnableLanguageForNeedServerInfo(e3, t3, i3) { - console.error("ExpressionFuncOp._unitTestEnableLanguageForNeedServerInfo should only be called in unit tests!"); + get lastUpdatedFlowSize() { + return this._lastUpdatedFlowSize; } - unitTestRestoreNeedServerInfoSnapshot() { - console.error("ExpressionFuncOp.unitTestRestoreNeedServerInfoSnapshot should only be called in unit tests!"); + set lastUpdatedFlowSize(e3) { + this._lastUpdatedFlowSize = e3, d.fireEvent(this.parentFlow, s.lastUpdatedFlowSizeChanged); } - _unitTestEnableOverloads() { - console.error("ExpressionFuncOp._unitTestEnableOverloads should only be called in unit tests!"); + checkUnderSaveSize() { + if (this.parentFlow.isEmbeddedFlow) return void a.error("should not be calling this on an embedded flow"); + const e3 = {}; + return e3.results = !this.lastUpdatedFlowSize || this.lastUpdatedFlowSize < this.parentFlow.definition.maxFlowSize, e3.results || (e3.displayString = g.flow.tooLarge, e3.displayName = g.flow.sizeRestriction), e3; } - startupConfigureFromBootstrapInfo(e3, t3) { - this.bootStrapInfoProcessed = true, e3.overloads && n2.default.each(e3.overloads, (e4, i3) => { - const r3 = n2.default.findWhere(this.overloads, { id: i3 }); - r3 && r3.startupConfigureFromBootstrapInfo(e4, t3); - }); + processFlowSizeEvent(e3) { + const t3 = (0, u.calculateFlowSizePercentage)(e3.data.size, this.parentFlow), i3 = (0, c.getFlowSizeThreshold)(t3), n3 = t3 < 1 ? 1 : t3, o2 = { type: i3.type, label: (0, r.sprintf)(g.flow.flowSizeWarningWithPercentage, i3.label, n3), description: i3.label, percent: n3, size: e3.data.size }; + this.flowSizeDetails$.next(o2), this.lastUpdatedFlowSize = e3.data.size, this.parentFlow.isValidating || _.validateItem(this.parentFlow, false, true); } - startupFinalize() { - n2.default.each(this.overloads, (e3) => { - e3.startupFinalize(); - }), this.isUnavailable = !n2.default.find(this.overloads, (e3) => true !== e3.isUnavailable), this._processSupportedFlowTypes(); + validateSize(e3) { + if (this.parentFlow.isEmbeddedFlow) return; + let t3 = false; + const i3 = l.getStringifiedConfiguration(this.parentFlow), n3 = e3.isDeep ? p.utf8EncodedSizeExceedsMax(i3, this.parentFlow.definition.maxFlowSizeToStopPublish) : this.lastUpdatedFlowSize > this.parentFlow.definition.maxFlowSizeToStopPublish; + n3 && (t3 = e3.isDeep ? p.utf8EncodedSizeExceedsMax(i3, this.parentFlow.definition.maxFlowSize) : this.lastUpdatedFlowSize > this.parentFlow.definition.maxFlowSize), t3 ? e3.addError(this, g.flow.tooLarge, true, void 0, 200) : n3 ? e3.addError(this, g.flow.tooLargeToPublish, true, void 0, 200) : e3.isDeep && (this.lastUpdatedFlowSize = 0); } - }; - }, 73649: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); } - i2(45214).extend(n2, "BaseClipboardManifest"), e2.exports = n2; - }, 73677: (e2, t2, i2) => { + t2.FlowSizeViewModel = f; + }, 37039(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { + const n2 = i2(31635), o = n2.__importStar(i2(24032)), r = 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 = o.getTopic("InQueueCallFlowSettingsViewModel"); + class _ extends l.default { constructor(e3) { - super(e3); + super(e3, "inQueueCallFlowSettings", c), this.editor_testing_tag = "in-queue-settings"; } - get _actionTypeId() { - return r2.findSkillActionType; + get id() { + return "inQueueSettings"; } - get displayTypeName() { - return this._scriptingName; + get helpTopic() { + return s.helpTopics.treeNodes.inQueueCallFlowSettings; } - get isArchActionFindSkill() { - return true; + get className() { + return "InQueueCallFlowSettingsViewModel"; } - get findResult() { - return this._findResult; + getDisplayName() { + return d.inQueueCallFlowSettings.label; } - } - t2.default = o; - }, 73697: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { - constructor(e3) { - super(e3); + get isInQueueCallFlowSettingsNode() { + return true; } - get _actionTypeId() { - return r2.repeatMenuActionType; + loadConfiguration(e3) { + super.loadConfiguration(e3); } - get displayTypeName() { - return "ArchMenuRepeatMenu"; + static get managedProperties() { + return [{ label: d.holdMusic.promptLabel, options: r.ExpressionTypePromptOptions.create((e3) => e3.setAllowModeExpression(false).setAllowModeLiteral(true).setAllowModeVariable(true).setRequireAudio(true)), property: "holdMusic", type: u.expressionTypeNames.prompt }]; } - get actionRepeatMenu() { - return this._archAction; + get nodeGuxIcon() { + return "fa/gears-regular"; } - get isArchMenuRepeatMenu() { - return true; + validate(e3) { + this.holdMusic.validate(e3); } - } - t2.default = a; - }, 73728: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "KnowledgeBaseDocumentVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; - }, 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)), c = n2.__importDefault(i2(98495)), d = i2(47957); - class p extends c.default { - static get managedProperties() { - 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)) }]; + get wrappedYamlName() { + return "settingsInQueueCall"; } - addAttribute() { - const e3 = this.variables.add(null, a.globalTypes.string); - return u.validateAction(this, true, true), null == e3 ? void 0 : e3.id; + _initializeDesignTime() { + if (super._initializeDesignTime(), this.holdMusic && this.holdMusic.isVariableMode) { + const e3 = a.getItem(this.holdMusic.val); + e3 ? this.holdMusic.updateFromConfigListManagerItem(e3) : this.holdMusic.update(this.holdMusic.text, this.holdMusic.val), p.info(`Migrated hold music '${this.id} to prompt literal`); + } + this.holdMusic.options.setAllowModeVariable(false); } } - t2.default = p; - }, 73883: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.reportedStateConstants = t2.integrationTypeConstants = void 0, t2.integrationTypeConstants = { genesysBotConnector: "genesys-byob", genesysDigitalBotConnector: "genesys-digital-bot-connector", nuanceMixBot: "nuance-mix-bot" }, t2.reportedStateConstants = { active: "ACTIVE" }; - }, 73903: (e2, t2, i2) => { + t2.default = _; + }, 7830(e2, t2, i2) { "use strict"; + var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { + const o = i2(31635), r = o.__importDefault(i2(92140)), a = i2(12179), s = o.__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); + super(e3), n2.set(this, void 0), this.modelPropertyName = "inboundEmailSettings"; } - get _actionTypeId() { - return r2.findScheduleActionType; + get id() { + return "inboundEmailSettings"; } - get displayTypeName() { - return this._scriptingName; + get className() { + return "InboundEmailSettingsViewModel"; } - get isArchActionFindSchedule() { + get helpTopic() { + return a.helpTopics.treeNodes.inboundEmailSettings; + } + get isInboundEmailSettingsNode() { return true; } - get findResult() { - return this._findResult; + get nodeGuxIcon() { + return "fa/gears-regular"; } - } - t2.default = o; - }, 73929: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.sequenceEqual = void 0; - var n2 = i2(65212), r2 = i2(17214), o = i2(19724); - t2.sequenceEqual = function(e3, t3) { - return void 0 === t3 && (t3 = function(e4, t4) { - return e4 === t4; - }), n2.operate(function(i3, n3) { - var a = { buffer: [], complete: false }, s = { buffer: [], complete: false }, l = function(e4) { - n3.next(e4), n3.complete(); - }, u = function(e4, i4) { - var o2 = r2.createOperatorSubscriber(n3, function(n4) { - var r3 = i4.buffer, o3 = i4.complete; - 0 === r3.length ? o3 ? l(false) : e4.buffer.push(n4) : !t3(n4, r3.shift()) && l(false); - }, function() { - e4.complete = true; - var t4 = i4.complete, n4 = i4.buffer; - t4 && l(0 === n4.length), null == o2 || o2.unsubscribe(); - }); - return o2; - }; - i3.subscribe(u(a, s)), o.innerFrom(e3).subscribe(u(s, a)); - }); - }; - }, 73946: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(40559)), o = n2.__importDefault(i2(94225)), a = i2(63345); - class s extends r2.default { - constructor(e3) { - super(e3, a.responseAssetManager); + getConfiguration(e3, t3) { + var i3; + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const e4 = r.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; + } + e3.inboundEmailSettings || (e3.inboundEmailSettings = new u()), e3.inboundEmailSettings.autoGeneratedEmailHandlingType = this.autoGeneratedEmailHandlingType; } - get _globalTypeName() { - return "responseAssetCollection"; + getDisplayName() { + return c.inboundEmailSettings.treeLabel; } - get displayTypeName() { - return "ArchValueResponseAssetCollection"; + loadConfiguration(e3) { + e3.inboundEmailSettings || (e3.inboundEmailSettings = new u()), void 0 === e3.inboundEmailSettings.autoGeneratedEmailHandlingType && (e3.inboundEmailSettings.autoGeneratedEmailHandlingType = l.Disconnect), o.__classPrivateFieldSet(this, n2, e3, "f"); } - get _searchByValueSearchProperty() { - return "name"; + get autoGeneratedEmailHandlingType() { + return o.__classPrivateFieldGet(this, n2, "f") && o.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings && o.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings.autoGeneratedEmailHandlingType ? o.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings.autoGeneratedEmailHandlingType : null; } - addLiteralByResponseAssetIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("responseAssetId", "addLiteralByResponseAssetIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByResponseAssetIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "response asset").then(() => o.default.executeCallback(this, "addLiteralByResponseAssetIdAsync", t3, this)); - }); + set autoGeneratedEmailHandlingType(e3) { + o.__classPrivateFieldGet(this, n2, "f") && o.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings && (o.__classPrivateFieldGet(this, n2, "f").inboundEmailSettings.autoGeneratedEmailHandlingType = e3); } - addLiteralByResponseAssetNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("responseAssetName", "addLiteralByResponseAssetNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByResponseAssetNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "response asset").then(() => o.default.executeCallback(this, "addLiteralByResponseAssetNameAsync", t3, this)); - }); + get autoGeneratedEmailHandlingTypes() { + return d; } - get isArchValueResponseAssetCollection() { - return true; + get wrappedYamlName() { + return "settingsInboundEmailHandling"; } } - 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() { - Object.defineProperties(this, { _variables: { writable: true } }), s.baseConstructor.apply(this, arguments); - } - r2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.variables, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)); - } }, pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), n2.each(this.variables, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)); - } }, variables: { enumerable: true, get: function() { - return this._variables; - }, set: function(e3) { - this._variables = this.reviveArray(e3, a); - } } }), e2.exports = s; - }, 73956: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.retryWhen = void 0; - var n2 = i2(19724), r2 = i2(76808), o = i2(65212), a = i2(17214); - t2.retryWhen = function(e3) { - return o.operate(function(t3, i3) { - var o2, s, l = false, u = function() { - o2 = t3.subscribe(a.createOperatorSubscriber(i3, void 0, void 0, function(t4) { - s || (s = new r2.Subject(), n2.innerFrom(e3(s)).subscribe(a.createOperatorSubscriber(i3, function() { - return o2 ? u() : l = true; - }))), s && s.next(t4); - })), l && (o2.unsubscribe(), o2 = null, l = false, u()); - }; - u(); - }); - }; - }, 74064: (e2, t2, i2) => { + n2 = /* @__PURE__ */ new WeakMap(), t2.default = p; + }, 27277(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)), 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(2318)), r = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "intentMiner"; + class u extends a.default { + constructor() { + super(...arguments), this._actionId = ""; } - get className() { - return "TTSDataViewModel"; + get actionId() { + return this._actionId; } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - let e4; - if (!this.hasEngineNoneSelection && this.engine) { - e4 = {}; - const t4 = e4[this.hasDefaultEngineSelected ? "defaultEngine" : this.engine.name] = {}; - !this.hasVoiceEngineSelection && this.voice ? this.hasDefaultVoiceSelected ? t4.defaultVoice = true : t4.voice = this.voice.name : t4.noVoice = true; - } else e4 = { noEngine: true }; - return e4; - } - return this.model; + set actionId(e3) { + this._actionId = e3; } - getDisplayName() { - return this.parent && a.default.isFunction(this.parent.getDisplayName) && this.parent.getDisplayName(); + get outOfService() { + var e3, t3; + return !o.default.currentUserCanUseIntentMiner || !!(null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.botFlowSettings) || void 0 === t3 ? void 0 : t3.navigatorVirtualAgentEnabled); } - getSelectedEngine() { - return this.engine.id ? this.engineService.getItemById(this.engine.id) : null; + get id() { + return l; } - initializeDesignTime() { - this.engine.id || this.hasEngineNoneSelection ? this.updateDefaultEngineAndVoice() : this.parent.parentFlow.flowMetaData.ttsDataVersion ? this.setInitialValues() : this.migrateOldValues(), super.initializeDesignTime(); + static get id() { + return l; } - get engineService() { - return d.default; + get showInFlowSize() { + return false; } - get id() { - return this.languageId + "-tts"; + get className() { + return "IntentMinerViewModel"; } - get isTtsDataViewModel() { + getDisplayName() { + return s.intentMiner.intentMinerLabel; + } + get isIntentMinerNode() { return true; } - get hasDefaultVoiceSelected() { - return this.voice.selection === m.engineSelectionTypes.engineSelectionDefault; + get nodeGuxIcon() { + return "fa/gem-regular"; } - get hasEngineNoneSelection() { - return this.engine.selection === m.engineSelectionTypes.engineSelectionNone; + get helpTopic() { + return r.helpTopics.treeNodes.intentMiner; } - get hasVoiceEngineSelection() { - return this.voice.selection === m.engineSelectionTypes.engineSelectionNone; + get intentMinerArchNodeName() { + return l; } - get voice() { - return this._model.voice; + } + t2.default = u; + }, 75228(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = r.getTopic("IntentsSettingsViewModel"); } - set voice(e3) { - this._model.voice = e3; + get id() { + return d; } - migrateOldValues() { - var e3; - const t3 = this.engineService.getGenesysEngine(); - 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); - } else this.setEngine(null, false), this.setVoice(null, false); + static get id() { + return d; } - setInitialValues() { - var e3; - const t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.type, i3 = this.engineService.getEnginesForLanguageAndFlowTypeOrTypes(this.languageId, t3); - if (!i3 || !i3.length) return this.setEngine(null, false), void this.setVoice(null, false); - let n3 = this.engineService.getDefaultEngineForLanguageAndFlowTypeOrTypes(this.languageId, t3); - const r3 = !!n3; - if (!n3) { - const e4 = this.engineService.getGenesysEngine(); - e4 && e4.getEngineSupportsLanguageAndFlowType(this.languageId, t3) && (n3 = e4); - } - if (!n3) { - const e4 = a.default.sortBy(i3, "name")[0]; - e4 && (n3 = e4); - } - this.setEngine(n3, r3); - let o2 = n3.getDefaultVoiceForLanguage(this.languageId); - const s2 = !!o2; - if (!o2) { - const e4 = n3.getVoicesForLanguage(this.languageId), t4 = a.default.sortBy(e4, "name")[0]; - t4 && (o2 = t4); - } - this.setVoice(o2, s2); + get className() { + return "IntentsSettingsViewModel"; } - get hasUsableEngineSelectedForLanguage() { - const e3 = this.engineService.getItemById(this.engine.id); - return this._flexibleTtsSelectionEnabled ? !!e3 : e3 && e3.getEngineSupportsLanguage(this.languageId); + get showInFlowSize() { + return false; } - setEngine(e3, t3) { - super.setEngine(e3, t3), this.setVoice(null, false), this.validateParent(), this.initializeDesignTimeCalled && u.emitter.emit(u.ttsEngineChanged, this); + getDisplayName() { + return c.intents.label; } - setVoice(e3, t3) { - e3 ? (this.voice.id = e3.id, this.voice.name = e3.name, this.voice.selection = t3 ? m.engineSelectionTypes.engineSelectionDefault : m.engineSelectionTypes.engineSelectionSpecific) : (this.voice.id = null, this.voice.name = null, this.voice.selection = m.engineSelectionTypes.engineSelectionNone), this.validateParent(), this.initializeDesignTimeCalled && u.emitter.emit(u.ttsEngineVoiceChanged, this); + get isIntentsSettingsNode() { + return true; } - updateDefaultEngineAndVoice() { - var e3; - if (this.isReadOnly) return; - 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); - if (t4 && t4.id !== this.engine.id) { - this.setEngine(t4, true); - const e4 = t4.getDefaultVoiceForLanguage(this.languageId); - this.setVoice(e4, !!e4), this.engineUpdatedToMatchOrg = true; - } else t4 || (this.engineService.getDefaultEngineForLanguage(this.languageId) ? (this.engineErrorMessage = (0, o.sprintf)(g.textToSpeech.defaultEngineNotSupported, this.languageId), i3 = true) : this.engineErrorMessage = (0, o.sprintf)(g.textToSpeech.defaultEngineRemoved, this.languageId)); - } - if (this.hasDefaultVoiceSelected && !t3.message && !i3) { - const e4 = this.engineService.getItemById(this.engine.id); - if (!e4) return; - const i4 = e4.getDefaultVoiceForLanguage(this.languageId); - i4 ? i4.id !== this.voice.id && (this.setVoice(i4, true), t3.message = (0, o.sprintf)(g.textToSpeech.defaultVoiceUpdated, this.languageId, i4.name)) : this.voiceErrorMessage = (0, o.sprintf)(g.textToSpeech.defaultVoiceRemoved, e4.name, this.languageId); - } - t3.message && u.emitter.emit(u.alert, t3); + get nodeGuxIcon() { + return "fa/signs-post-regular"; } - updateDependencies() { - this.engine.id && l.registerConsumer(this, g.textToSpeech.ttsEngine, this.engine.name, this.engine.id, l.NO_VERSION, s.TtsEngine, this.parent.parentFlow), this.voice.id && l.registerConsumer(this, g.textToSpeech.ttsVoice, this.voice.name, this.voice.id, l.NO_VERSION, s.TtsVoice, this.parent.parentFlow); + get helpTopic() { + return l.helpTopics.treeNodes.intentsSettings; } - getNoEngineSelectedErrorMessage() { - return this.parentFlow.definition.languagesRequireTts ? `${(0, o.sprintf)(g.textToSpeech.errorNoEngineSelected, this.languageId)} ${g.textToSpeech.ttsEngineRequiredByFlowTypeOnLanguages}` : (0, o.sprintf)(g.textToSpeech.errorNoEngineSelected, this.languageId); + get useLabelBadge() { + return this.virtualAgentEnabled; + } + _destroy() { + super._destroy(); + } + get workbenchArchNodeName() { + return a.default.nodeIds.intents; } validate(e3) { - if (this.engineErrorMessage = null, this.voiceErrorMessage = null, this.voiceWarningMessage = null, !this.parentFlow.languagesSupportTtsAndAsrSettings) return; - let t3; - if (this.hasEngineNoneSelection) return void (this.parentFlow.definition.languagesRequireTts && (t3 = this.getNoEngineSelectedErrorMessage(), this.engineErrorMessage = t3, e3.addError(this.parent, t3, null, null, 100))); - if (this.updateDefaultEngineAndVoice(), this.engineErrorMessage && e3.addError(this.parent, this.engineErrorMessage), this.voiceErrorMessage && e3.addError(this.parent, this.voiceErrorMessage), this.hasDefaultVoiceSelected && this.engineErrorMessage) return; - if (!this.engine.id) return t3 = this.getNoEngineSelectedErrorMessage(), this.engineErrorMessage = t3, void e3.addError(this.parent, t3); - const i3 = this.engineService.getItemById(this.engine.id); - if (!i3) return t3 = (0, o.sprintf)(g.textToSpeech.errorEngineNotFound, this.engine.name), this.engineErrorMessage = t3, void e3.addError(this.parent, t3, null, null, 100); - if (this.parentFlow.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().find((n4) => n4 !== r2.flowTypes.flowTypeSecureCall || i3.isSecure ? i3.getEngineSupportsFlowType(n4) ? void 0 : (t3 = (0, o.sprintf)(g.textToSpeech.errorEngineFlowTypeNotSupported, this.engine.name, n4), this.engineErrorMessage = t3, e3.addError(this.parent, t3, null, null, 100), true) : (t3 = (0, o.sprintf)(g.textToSpeech.errorEngineNotSecure, this.engine.name), this.engineErrorMessage = t3, e3.addError(this.parent, t3, null, null, 100), true))) return; - if (!this._flexibleTtsSelectionEnabled && !i3.getEngineSupportsLanguage(this.languageId)) return t3 = (0, o.sprintf)(g.textToSpeech.errorLanguageNotSupportedByEngine, this.languageId), this.engineErrorMessage = t3, void e3.addError(this.parent, t3, null, null, 100); - if (!this.voice.id) return t3 = (0, o.sprintf)(g.textToSpeech.errorNoVoiceSelected, this.languageId), this.voiceErrorMessage = t3, void e3.addError(this.parent, t3); - const n3 = i3.voices[this.voice.id]; - if (!n3) return t3 = (0, o.sprintf)(g.textToSpeech.errorVoiceNotFound, this.voice.name), this.voiceErrorMessage = t3, void e3.addError(this.parent, t3); - if (n3.getVoiceSupportsLanguage(this.languageId)) ; - else if (this._flexibleTtsSelectionEnabled) { - const t4 = (0, o.sprintf)(g.textToSpeech.voiceLanguageMismatch, this.languageId); - e3.addWarning(this.parent, t4), this.voiceWarningMessage = g.textToSpeech.voiceLanguageMismatchHelp; - } else t3 = (0, o.sprintf)(g.textToSpeech.errorLanguageNotSupportedByVoice, this.languageId), this.voiceErrorMessage = t3, e3.addError(this.parent, t3); + super.validate(e3); + const t3 = this.parentFlow.nluMetaData.getArchNluWithFallback(); + if (this.parentFlow.isDigitalBotFlow && o.default.isArray(null == t3 ? void 0 : t3.intents)) { + const i3 = this.parentFlow.nluMetaData.intentsToReusableTasksMapping, n3 = !!t3.intents.find((e4) => !i3[e4.name]), o2 = !!Object.entries(i3).find(([e4, t4]) => { + const i4 = this.parentFlow.getTaskById(t4.id); + return !i4 || i4 && !i4.isReusableTask; + }); + n3 && e3.addError(this, s.default.resolveString(c.digitalBot.intentNotMappedToTask)), o2 && e3.addError(this, s.default.resolveString(c.digitalBot.intentMappedToInvalidTask)); + } } } - t2.TTSDataViewModel = f; - }, 74085: (e2, t2, i2) => { + t2.default = p; + }, 84693(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(96618), r = 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)), I = i2(99472), C = i2(69078), O = 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), q = i2(47957), W = "knowledgeSettings", Y = g.getTopic(W); + class H extends B.default { + get knowledgeBaseModel() { + return this.knowledgeBaseModel$.value; + } + set knowledgeBaseModel(e3) { + this.knowledgeBaseModel$.next(e3); + } constructor(e3) { - super(e3); + super(e3, W, G), this.knowledgeBaseModel$ = new r.BehaviorSubject(void 0), this.labelBadge = I.aiPoweredBadgeWithNoText; } - get _globalTypeName() { - return "knowledgeBaseDocument"; + static get managedProperties() { + const e3 = { responsiveForm: true, hideInfoIcon: true, showInputDescription: true }; + return [{ label: q.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, q.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: [o.flowTypes.flowTypeDigitalBot, o.flowTypes.flowTypeBot], property: "knowledgeVersion", type: m.expressionTypeNames.string }, { label: q.knowledgeSettings.defaultKnowledgeBase, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-selector").setFeatureConfigName(M.default.botFlowsKnowledge).setDropdownPlaceholder(q.knowledgeSettings.knowledgeBasePlaceholder).setDescriptionInfo(q.knowledgeSettings.knowledgeBase, q.knowledgeSettings.knowledgeBaseDescription).setUiLayout(Object.assign({}, e3))), property: "knowledge", createDetails: c.NetworkBasedActionProperty.createCreateDetails("knowledgeBaseId", "knowledgeBaseName", O.knowledgeBaseManager, q.knowledgeSettings.knowledgeBasePlaceholder, q.knowledgeSettings.knowledgeBaseNotFound, null, (e4) => e4.action.getAdditionalKnowledgeParams(), (e4, t3) => { + const i3 = P.getLangKnowledgeBaseLanguageTag(e4.action.parentFlow.defaultLanguageLCase); + return (v.default.currentUserCanUseContentSearchEnabledKnowledge || !t3.contentSearchEnabled) && t3.coreLanguage.toLowerCase() === i3; + }), yamlOptions: N.default.create("knowledge", (e4) => e4.setSkipProperty(true)) }, { label: q.knowledgeSettings.defaultKnowledgeBase, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-selector-v3").setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setDropdownPlaceholder(q.knowledgeSettings.knowledgeSettingPlaceHolder).setDescriptionInfo(q.knowledgeSettings.knowledgeSetting, q.knowledgeSettings.knowledgeSettingDescription).setUiLayout(Object.assign({}, e3))), property: "knowledge_v3", createDetails: c.NetworkBasedActionProperty.createCreateDetails("knowledgeSettingId", "knowledgeSettingName", b.knowledgeSettingManager, q.knowledgeSettings.knowledgeSettingPlaceHolder, q.knowledgeSettings.knowledgeSettingNotFound, null), yamlOptions: N.default.create("knowledge_v3", (e4) => e4.setSkipProperty(true)) }, { label: q.knowledgeSettings.welcomeArticle, options: A.ManagedPropertyOptions.create((t3) => t3.setIninTestingField("knowledge-document-selector").setDropdownPlaceholder(q.knowledgeSettings.knowledgeBaseDocumentPlaceholder).setFeatureConfigName(M.default.botFlowsDxBotSupportFeature).setDescriptionInfo(q.knowledgeSettings.welcomeArticle, q.knowledgeSettings.welcomeArticleDescription).setUiLayout(Object.assign({}, e3))), property: "welcomeArticle", createDetails: c.NetworkBasedActionProperty.createCreateDetails("knowledgeBaseWelcomeDocumentId", "knowledgeBaseWelcomeDocumentName", C.knowledgeBaseDocumentManager, q.knowledgeSettings.knowledgeBaseDocumentPlaceholder, q.knowledgeSettings.knowledgeBaseDocumentNotFound, "knowledge", (e4) => e4.action.getAdditionalKnowledgeArticleParams(), (e4, t3) => e4.action.knowledgeDocumentSearchFilter(t3)), supportedFlowTypes: [o.flowTypes.flowTypeBot], yamlOptions: N.default.create("welcomeArticle", (e4) => e4.setPropertyName("welcomeArticle")) }, { label: q.knowledgeSettings.knowledgeMaxNumAnswersReturned, options: y.ExpressionTypeIntegerOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeMaxNumAnswersReturned, q.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: q.knowledgeSettings.knowledgeFollowUpStatement, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeFollowUpStatement, q.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: [o.flowTypes.flowTypeDigitalBot], property: "knowledgeInitialResponseFollowup", type: m.expressionTypeNames.communication, yamlOptions: N.default.create("knowledgeInitialResponseFollowup", (e4) => e4.setSerializeOutOfService(w.isFeatureAvailable(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature)).setDoNotExportForFlowTypes([o.flowTypes.flowTypeBot, o.flowTypes.flowTypeVoice])) }, { label: q.knowledgeSettings.knowledgeFollowUpSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeFollowUpSwitcherLabel, q.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: [o.flowTypes.flowTypeDigitalBot], property: "knowledgePathMode", type: m.expressionTypeNames.string }, { label: q.knowledgeSettings.knowledgeFollowUpTaskLabel, createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "knowledgeFollowupTaskId", modelNamePropName: "knowledgeFollowupTaskName", itemDoesNotExistBaseString: q.task.label, noReferenceString: q.knowledgeSettings.knowledgeFollowUpTaskErrorMessage, referencesTasks: true, isForFollowUpKnowledgeTask: true, validReferenceCallback: (e4) => e4 && !e4.isTransferable && e4.hasBranchTerminatingWithEndTask ? { error: q.task.invalidReferenceTaskTransfer } : e4 && e4.isTask && e4.isTransferable ? void 0 : { error: q.task.invalidReference } }), options: A.ManagedPropertyOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeFollowUpTaskLabel, q.knowledgeSettings.knowledgeFollowUpTaskDescription).setIninTestingField("knowledgeFollowupTask").setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature).setUiLayout(Object.assign({}, e3))), property: "knowledgeFollowupTask", supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], yamlOptions: d.default.createYamlOptions("knowledgeFollowupTask", (e4) => e4.setSerializeOutOfService(w.isFeatureAvailable(M.default.botFlowsDigitalBotFlowsKnowledgePathFeature)).setPropertyName("targetTaskRef").setWrappedObjectName("knowledgePath")) }, { label: q.knowledgeSettings.knowledgeInitialResponseSingleLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeInitialResponseSingleLabel, q.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: q.knowledgeSettings.knowledgeContextSearchLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeContextSearchLabel, q.knowledgeSettings.knowledgeContextSearchDescription).setIninTestingField("knowledgeContextSearch").setUseToggle(true).setDefaultText(h.default.true).setFeatureConfigName(M.default.botFlowsVirtualAgentKnowledgeV3).setAllowModeLiteralOnly().setDescriptionNote(q.knowledgeSettings.knowledgeContextSearchDescriptionNote).setBoolText(q.knowledgeSettings.knowledgeContextSearchEnabled, q.knowledgeSettings.knowledgeContextSearchDisabled).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot, o.flowTypes.flowTypeBot], property: "knowledgeContextSearch", type: m.expressionTypeNames.boolean }, { label: q.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, q.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: [o.flowTypes.flowTypeBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeAnswerContentTypeSwitcherLabel, q.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: [o.flowTypes.flowTypeDigitalBot, o.flowTypes.flowTypeBot], property: "knowledgeAnswerContentType", type: m.expressionTypeNames.string }, { label: q.knowledgeSettings.knowledgeAnswerHighlightLabel, supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeAnswerHighlightLabel, q.knowledgeSettings.knowledgeAnswerHighlightDescription).setIninTestingField("knowledgeAnswerHighlight").setDefaultText(h.default.false).setVirtualAgentLabelBadge().setUseToggle(true).setIsOptional(false).setFeatureConfigName(M.default.botFlowsAnswerHighlight).setAllowModeLiteralOnly().setBoolText(q.knowledgeSettings.knowledgeAnswerHighlightEnabled, q.knowledgeSettings.knowledgeAnswerHighlightDisabled).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnAnswerHighlight()).setUiLayout(Object.assign({}, e3))), property: "knowledgeAnswerHighlight", type: m.expressionTypeNames.boolean }, { label: q.knowledgeSettings.knowledgeMultiArticleLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeMultiArticleLabel, q.knowledgeSettings.knowledgeMultiArticleDescription).setIninTestingField("knowledgeMultiArticleSource").setUseToggle(true).setDefaultText(h.default.false).setFeatureConfigName(M.default.botFlowsAnswerGenerationMultipleArticles).setAllowModeLiteralOnly().setBoolText(q.knowledgeSettings.knowledgeMultiArticleEnabled, q.knowledgeSettings.knowledgeMultiArticleDisabled).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnMultiArticle()).setUiDisabledTooltip(q.knowledgeSettings.knowledgeMultiArticleDisabledBotFlowTooltip).setUiLayout(Object.assign({}, e3))), supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot, o.flowTypes.flowTypeBot], property: "knowledgeMultiArticleSource", type: m.expressionTypeNames.boolean }, { label: q.knowledgeSettings.knowledgeAnswerHighlightFullArticleLabel, supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeAnswerHighlightFullArticleLabel, q.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: q.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionLabel, supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionLabel, q.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: q.knowledgeSettings.knowledgeInitialResponseMultiLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeInitialResponseMultiLabel, q.knowledgeSettings.knowledgeInitialResponseMultiDescription).setIninTestingField("knowledgeInitialResponseMulti").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiSequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeInitialResponseMultiLabel, q.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: q.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, q.knowledgeSettings.knowledgeInitialResponseMultiRetryDescription).setIninTestingField("knowledgeInitialResponseMultiRetry").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeInitialResponseMultiRetrySequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeInitialResponseMultiRetryLabel, q.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: q.knowledgeSettings.knowledgeNoMatchLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeNoMatchLabel, q.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: [o.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeNoMatchLabel, q.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: q.knowledgeSettings.knowledgeConfirmationToggleLabel, options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeConfirmationToggleLabel, (0, a.sprintf)(q.knowledgeSettings.knowledgeConfirmationToggleDescription, q.knowledgeSettings.knowledgeConfirmationLabel)).setIninTestingField("sendKnowledgeFeedback").setDefaultText(h.default.true).setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setAllowModeLiteralOnly().setUiDisableOnOutOfService(true).setBoolText(q.generic.genericOn, q.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnKnowledgeFeedback()).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: f.ExpressionTypeBooleanOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeConfirmationToggleLabel, (0, a.sprintf)(q.knowledgeSettings.knowledgeConfirmationToggleDescription, q.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) ? q.knowledgeSettings.knowledgeSendFeedbackEnabled : q.generic.genericOn, w.isFeatureAvailable(M.default.botFlowsAnswerHighlight) ? q.knowledgeSettings.knowledgeSendFeedbackDisabled : q.generic.genericOff).setValueChangedCallback((e4) => e4.parent.updateSettingsDependentOnKnowledgeFeedback()).setUiLayout(Object.assign({}, e3))) }], supportedFlowTypes: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeDigitalBot], property: "sendKnowledgeFeedback", type: m.expressionTypeNames.boolean }, { label: q.knowledgeSettings.knowledgeConfirmationLabel, options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeConfirmationLabel, q.knowledgeSettings.knowledgeConfirmationDescription).setIninTestingField("knowledgeConfirmation").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledge).setDefaultToBuilderId(_.builderIds.parts.genericCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeConfirmationSequence).setUiLayout(Object.assign({}, e3))), optionsForSpecificFlowTypes: [{ flowTypes: [o.flowTypes.flowTypeDigitalBot], options: T.ExpressionTypeCommunicationOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeConfirmationLabel, q.knowledgeSettings.knowledgeConfirmationDescription).setIninTestingField("knowledgeConfirmation").setIsOptional(false).setFeatureConfigName(M.default.botFlowsKnowledgeFeedback).setDefaultToBuilderId(_.builderIds.parts.markdownCommunication).setBuilderLanguagesSequenceConfig(l.botFlowKnowledgeSettingsSequences.knowledgeConfirmationSequence).setUiLayout(Object.assign({}, e3))) }], supportedFlowTypes: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeDigitalBot], property: "knowledgeConfirmation", type: m.expressionTypeNames.communication }, { label: q.knowledgeSettings.knowledgeResponseBias, options: S.ExpressionTypeStringOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeResponseBias, q.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: q.knowledgeSettings.knowledgeSettingsModeLabel, options: S.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(q.knowledgeSettings.knowledgeSettingsModeLabel, q.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: [o.flowTypes.flowTypeBot], options: S.ExpressionTypeStringOptions.create((e4) => e4.setDescriptionInfo(q.knowledgeSettings.knowledgeSettingsModeLabel, q.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: [o.flowTypes.flowTypeBot, o.flowTypes.flowTypeDigitalBot], property: "knowledgeSettingsMode", type: m.expressionTypeNames.string }, { label: q.knowledgeSettings.knowledgeCustomHandlerTaskLabel, createDetails: u.ContainerActionProperty.createCreateDetails({ modelIdPropName: "knowledgeCustomHandlerTaskId", modelNamePropName: "knowledgeCustomHandlerTaskName", itemDoesNotExistBaseString: q.task.label, noReferenceString: q.knowledgeSettings.knowledgeCustomHandlerTaskErrorMessage, referencesTasks: true, isForCustomKnowledgeHandlingTask: true, validReferenceCallback: (e4) => e4 && !e4.isTransferable && e4.hasBranchTerminatingWithEndTask ? { error: q.task.invalidReferenceTaskTransfer } : e4 && e4.isTask && e4.isTransferable ? void 0 : { error: q.task.invalidReference } }), options: A.ManagedPropertyOptions.create((t3) => t3.setDescriptionInfo(q.knowledgeSettings.knowledgeCustomHandlerTaskLabel, q.knowledgeSettings.knowledgeCustomHandlerTaskDescription).setIninTestingField("knowledgeCustomHandlerTask").setFeatureConfigName(M.default.botFlowsDigitalBotFlowsKnowledgeEndToEndFeature).setUiLayout(Object.assign({}, e3))), property: "knowledgeCustomHandlerTask", supportedFlowTypes: [o.flowTypes.flowTypeDigitalBot], yamlOptions: d.default.createYamlOptions("knowledgeCustomHandlerTask", (e4) => e4.setPropertyName("targetTaskRef").setWrappedObjectName("knowledgeCustomTask")) }]; } - get displayTypeName() { - return "ArchVariableKnowledgeBaseDocument"; + _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)(q.knowledgeSettings.knowledgeBaseNotSupportedForLanguage, P.getLanguageNameAndCodeDisplay(this.parentFlow.defaultLanguage, true))); } - get initialValue() { - return this._initialValue; + _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 = q.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()), 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 === 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); + }); } - get isArchVariableKnowledgeBaseDocument() { - return true; + setOutOfService(e3) { + var t3, i3, n3, o2; + const r2 = e3 || this.outOfService; + this.welcomeArticle.outOfService = !this.parentFlow.definition.supportsKnowledgeWelcomeArticle || r2 || this.isCustomKnowledgeSettingsMode, this.sendKnowledgeFeedback.outOfService = !this.parentFlow.definition.supportsKnowledgeConfirmation || r2 || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled || this.isKnowledgeV3EnabledInFlow, this.knowledgeConfirmation.outOfService = (null === (t3 = this.sendKnowledgeFeedback) || void 0 === t3 ? void 0 : t3.outOfService) || (null === (i3 = this.sendKnowledgeFeedback) || void 0 === i3 ? void 0 : i3.text) === h.default.false || this.isKnowledgeV3EnabledInFlow, this.maxNumOfAnswersReturned.outOfService = r2 || this.isKnowledgeV3EnabledInFlow || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled, this.knowledgeInitialResponseFollowup.outOfService = this.knowledgeInitialResponseSingle.outOfService = r2 || this.isCustomKnowledgeSettingsMode, this.knowledgeAnswerHighlight.outOfService = r2 || this.isCustomKnowledgeSettingsMode || !this.virtualAgentEnabled || this.canGenerateAnswers, this.isKnowledgeV3EnabledInFlow ? this.knowledgeAnswerContentType.outOfService = r2 || this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers : this.knowledgeAnswerContentType.outOfService = r2 || this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers || this.parentFlow.isBotFlow && !(null === (o2 = null === (n3 = this.knowledge) || void 0 === n3 ? void 0 : n3.getItem()) || void 0 === o2 ? void 0 : o2.contentSearchEnabled), this.knowledgeVersion.outOfService = r2 || !this.virtualAgentEnabled, this.responseBias.outOfService = r2, this.knowledgeSettingsMode.outOfService = !this.parentFlow.supportsEndToEndKnowledgeHandling || r2, this.updateDependentSettings(); } - } - t2.default = r2; - }, 74142: (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 = i2(54251), s = n2.__importStar(i2(10798)), l = n2.__importDefault(i2(4648)), u = n2.__importDefault(i2(8471)); - class c extends u.default { - constructor(e3) { - super(), this._archSession = e3; + updateDependentSettings() { + this.updateKnowledgeHandlingSettings(), this.updateSettingsDependentOnMaxNumOfAnswers(), this.updateSettingsDependentOnKnowledgeFeedback(), this.updateSettingsKnowledgePaths(), this.updateSettingsDependentOnAnswerHighlight(), this.updateSettingsDependentOnAnswerContentTypeMode(), this.updateKnowledgeVersionSetting(); } - _checkDivisionAvailability(e3) { - return !!this._archSession.isConnected || (this.logItemWarning(e3, "Organization division information is not available when the Architect Scripting session is not connected."), false); + updateKnowledgeVersionSetting() { + this.isFlowCurrentKnowledgeVersionV3 && this.isKnowledgeV3AvailableInFlow ? (this.knowledge.outOfService = true, this.knowledge_v3.outOfService = false, this.knowledgeContextSearch.outOfService = false) : (this.knowledge.outOfService = false, this.knowledge_v3.outOfService = true, this.knowledgeContextSearch.outOfService = true); } - _getAreTtsEnginesAndVoicesAvailable(e3) { - return !!this._archSession.isConnected || (e3 && this.logItemWarning(e3, "Organization text to speech engine and voice information is not available when the Architect Scripting session is not connected."), false); + updateSettingsKnowledgePaths() { + var e3; + this.knowledgeId ? this.parentFlow.definition.supportsKnowledgePaths && (null === (e3 = this.knowledgePathMode) || void 0 === e3 ? void 0 : e3.text) === L.KnowledgeMode.task ? this.setOutOfServiceForKnowledgeMode(L.KnowledgeMode.task) : this.setOutOfServiceForKnowledgeMode(L.KnowledgeMode.statement) : this.knowledgeFollowupTask.outOfService = this.knowledgeInitialResponseFollowup.outOfService = true; } - _getAllResolvedCoreDivisionViewModels() { - if (r2.default.isUndefined(this._allResolvedCoreDivisionViewModels)) { - if (!this._archSession.isConnected) return this._logErrorInternal("should not be trying to resolve core division view models when not connected."), []; - const e3 = []; - r2.default.each(a.divisionManager.items, (t3) => { - if (!t3 || t3.isInternalDivision) return; - let i3; - o.getConnectedUser() && (i3 = r2.default.find(o.getConnectedUser().divisions, (e4) => e4.id === t3.id)), e3.push(i3 || t3); - }), this._allResolvedCoreDivisionViewModels = r2.default.sortBy(e3, "name"); - } - return this._allResolvedCoreDivisionViewModels; + updateSettingsDependentOnMaxNumOfAnswers() { + this.knowledgeNoMatch.outOfService = this.knowledgeInitialResponseMulti.outOfService = this.knowledgeInitialResponseMultiRetry.outOfService = "1" === this.maxNumOfAnswersReturned.getEmbeddableExpressionText() || this.maxNumOfAnswersReturned.outOfService; } - get logStr() { - if (!this._divisionViewModel) return this.logStrTypeOnly; - const e3 = []; - return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + updateSettingsDependentOnKnowledgeFeedback() { + var e3, t3; + this.knowledgeConfirmation.outOfService = (null === (e3 = this.sendKnowledgeFeedback) || void 0 === e3 ? void 0 : e3.outOfService) || (null === (t3 = this.sendKnowledgeFeedback) || void 0 === t3 ? void 0 : t3.text) === h.default.false; + } + updateSettingsDependentOnAnswerHighlight() { + const e3 = this.hideContentTypeFields; + this.knowledgeAnswerHighlightFlowProgression.outOfService = this.knowledgeAnswerHighlightFullArticle.outOfService = e3 || this.isFlowCurrentKnowledgeVersionV3, e3 || this.initialiseAnswerHighlightValues(); + } + updateSettingsDependentOnMultiArticle() { + const e3 = this.hideContentTypeFields; + this.knowledgeAnswerHighlightFullArticle.outOfService = this.knowledgeAnswerHighlightFlowProgression.outOfService = e3 || this.isFlowCurrentKnowledgeVersionV3, this.updateDisambiguationFeedbackSettings(), this.knowledgeAnswerContentType.text === F.KnowledgeAnswerContentType.generative && this.parentFlow.isBotFlow && !e3 && this.knowledgeMultiArticleSource.setAsLiteral(h.default.true); + } + updateSettingsDependentOnAnswerContentTypeMode() { + var e3, t3, i3, n3; + 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 o2 = this.knowledgeAnswerContentType.text === F.KnowledgeAnswerContentType.standard || this.knowledgeAnswerContentType.outOfService; + this.knowledgeAnswerHighlightFlowProgression.outOfService = this.knowledgeAnswerHighlightFullArticle.outOfService = o2 || this.isKnowledgeV3EnabledInFlow, this.updateSettingsDependentOnMultiArticle(), o2 || this.initialiseAnswerHighlightValues(); } - get displayTypeName() { - return "ArchOrganizationInfo"; + updateDisambiguationFeedbackSettings() { + var e3, t3; + this.sendKnowledgeFeedback.outOfService = !this.parentFlow.definition.supportsKnowledgeConfirmation || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled || this.isKnowledgeV3EnabledInFlow, this.knowledgeConfirmation.outOfService = (null === (e3 = this.sendKnowledgeFeedback) || void 0 === e3 ? void 0 : e3.outOfService) || (null === (t3 = this.sendKnowledgeFeedback) || void 0 === t3 ? void 0 : t3.text) === h.default.false || this.isKnowledgeV3EnabledInFlow, this.maxNumOfAnswersReturned.outOfService = this.isKnowledgeV3EnabledInFlow || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled, this.knowledgeInitialResponseFollowup.outOfService = this.knowledgeInitialResponseSingle.outOfService = this.isCustomKnowledgeSettingsMode, this.updateSettingsDependentOnMaxNumOfAnswers(); } - get areDivisionsAvailable() { - return this._checkDivisionAvailability(this._infoPropGet("areDivisionsAvailable")); + get className() { + return "KnowledgeSettingsViewModel"; } - get areTtsEnginesAndVoicesAvailable() { - return this._getAreTtsEnginesAndVoicesAvailable(this._infoPropGet("areTtsEnginesAndVoicesAvailable")); + get id() { + return W; } - getDivisionById(e3) { - if (!this._checkDivisionAvailability(this._infoMethod("getDivisionById"))) return; - this._checkItemIsValidLiteralString(this._infoParm("divisionId", "getDivisionById"), e3); - const t3 = r2.default.find(this._getAllResolvedCoreDivisionViewModels(), (t4) => e3 === t4.id); - return t3 ? this.coreFactory.createArchWrapper(t3) : void 0; + static get id() { + return W; } - getDivisionByName(e3) { - if (!this._checkDivisionAvailability(this._infoMethod("getDivisionByName"))) return; - this._checkItemIsValidLiteralString(this._infoParm("divisionName", "getDivisionByName"), e3), e3 = e3.toLowerCase(); - const t3 = r2.default.find(this._getAllResolvedCoreDivisionViewModels(), (t4) => e3 === t4.lowerName); - return t3 ? this.coreFactory.createArchWrapper(t3) : void 0; + get useLabelBadge() { + return this.canGenerateAnswers; } - getHomeDivision() { - if (!this._checkDivisionAvailability(this._infoMethod("getHomeDivision"))) return; - const e3 = r2.default.find(this._getAllResolvedCoreDivisionViewModels(), (e4) => e4.isHomeDivision); - return e3 ? this.coreFactory.createArchWrapper(e3) : void 0; + get isMultiSourceEnabled() { + var e3, t3; + 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; } - getAllDivisions() { - if (!this._checkDivisionAvailability(this._infoMethod("getAllDivisions"))) return; - const e3 = []; - return r2.default.each(this._getAllResolvedCoreDivisionViewModels(), (t3) => { - e3.push(this.coreFactory.createArchWrapper(t3)); - }), e3; + get isCustomKnowledgeSettingsMode() { + var e3; + return this.parentFlow.supportsEndToEndKnowledgeHandling && (null === (e3 = this.knowledgeSettingsMode) || void 0 === e3 ? void 0 : e3.text) === x.KnowledgeSettingsModeValues.custom.id; } - get id() { - return this._archSession.isConnected && o.getOrgInfo() ? o.getOrgInfo().id : void 0; + get hideContentTypeFields() { + return this.isMultiSourceEnabled || "standard" === this.knowledgeAnswerContentType.text || this.knowledgeAnswerContentType.outOfService; } - get name() { - return this._archSession.isConnected && o.getOrgInfo() ? o.getOrgInfo().name : void 0; + getDisplayName() { + return q.knowledgeSettings.knowledgeLabel; } - get isArchOrganizationInfo() { + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const i3 = {}; + if (!this.knowledgeBaseName && !this.knowledgeSettingName) return s.default.ensureYamlNoneTrue(i3), i3; + if (this.isKnowledgeV3EnabledInFlow) { + i3[this.knowledgeSettingName] = {}; + const n3 = i3[this.knowledgeSettingName]; + return s.default.extend(n3, super.getConfiguration(e3, t3)), i3; + } + { + i3[this.knowledgeBaseName] = {}; + const n3 = i3[this.knowledgeBaseName]; + return s.default.extend(n3, super.getConfiguration(e3, t3)), i3; + } + } + if (super.getConfiguration(e3, t3), this.knowledgeBaseId) { + const t4 = this.knowledge.configListManager.getItem(this.knowledgeBaseId); + t4 ? t4.coreLanguage ? e3.knowledgeSettings.knowledgeBaseCoreLanguage = null == t4 ? void 0 : t4.coreLanguage : Y.warning("While the knowledge base with id '{}' exists, it does not have a core language defined so nothing to save for the knowledge base core language in knowledge settings.", this.knowledgeBaseId) : Y.warning("Knowledge base not found for id '{}' so unable save the knowledge base core language value to knowledge settings. Maybe the referenced knowledge base is deleted?", this.knowledgeBaseId); + } + } + get isKnowledgeSettingsNode() { return true; } - get agenticVirtualAgentAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("agenticVirtualAgentAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentSage); + get canGenerateAnswers() { + var e3; + return this.virtualAgentEnabled && (null === (e3 = this.parentFlow.definition) || void 0 === e3 ? void 0 : e3.supportsAnswerGeneration); } - get virtualAgentAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("virtualAgentAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentOffering); + get hasKnowledgeBaseConfigured() { + return s.default.isString(this.model.knowledgeBaseId) && this.model.knowledgeBaseId.length; } - get virtualAgentSummarizationAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("virtualAgentSummarizationAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentSummarization) || s.isFeatureAvailable(l.default.botFlowsDigitalBotFlowsBotSummarization); + get hasKnowledgeSettingConfigured() { + return s.default.isString(this.model.knowledgeSettingId) && this.model.knowledgeSettingId.length; } - get botFlowsAgenticVirtualAgentOutputValuesAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAgenticVirtualAgentOutputValuesAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentOutputValues); + getAdditionalKnowledgeParams() { + return { coreLanguage: P.getLangKnowledgeBaseLanguageTag(this.parentFlow.defaultLanguageLCase), published: true }; } - get botFlowsAgenticVirtualAgentContextWindowPruningAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAgenticVirtualAgentContextWindowPruningAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentContextWindowPruning); + getAdditionalKnowledgeArticleParams() { + return { knowledgeId: this.knowledgeBaseId, documentId: this.knowledgeBaseWelcomeDocumentId }; } - get botFlowsAgenticVirtualAgentPublicAPIAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAgenticVirtualAgentPublicAPIAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentPublicAPI); + setOutOfServiceForKnowledgeMode(e3) { + var t3; + if (this.parentFlow.supportsEndToEndKnowledgeHandling && (null === (t3 = this.knowledgeSettingsMode) || void 0 === t3 ? void 0 : t3.text) === x.KnowledgeSettingsModeValues.custom.id) return this.knowledgePathMode.outOfService = this.knowledgeFollowupTask.outOfService = this.knowledgeInitialResponseFollowup.outOfService = true, this.knowledgeFollowupTask.metaData.yamlOptions.serializeOutOfService = false, void (this.knowledgeInitialResponseFollowup.yamlOptions.serializeOutOfService = false); + this.parentFlow.isDigitalBotFlow && this.parentFlow.definition.supportsKnowledgePaths && (e3 === L.KnowledgeMode.statement ? (this.knowledgeFollowupTask.outOfService = true, this.knowledgeInitialResponseFollowup.outOfService = false) : e3 === L.KnowledgeMode.task && (this.knowledgeFollowupTask.outOfService = false, this.knowledgeInitialResponseFollowup.outOfService = true), this.knowledgePathMode.outOfService = false, this.knowledgeFollowupTask.metaData.yamlOptions.serializeOutOfService = true, this.knowledgeInitialResponseFollowup.yamlOptions.serializeOutOfService = true); } - get botFlowsLLMPoweredSlot() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsLLMPoweredSlot"), this._archSession), s.isFeatureAvailable(l.default.botFlowsLLMPoweredSlot); + resetKnowledge(e3) { + e3 === V.KnowledgeVersionValues.v3 ? this.knowledge.reset() : this.knowledge_v3.reset(), this.parent.languages.resetLanguageKnowledge(e3); } - get botFlowsAnswerGeneration() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAnswerGeneration"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAnswerGeneration); + setKnowledgeVersion(e3) { + this.knowledgeVersion.setAsLiteral(e3), this.resetKnowledge(e3), this.updateKnowledgeVersionSetting(), e3 === V.KnowledgeVersionValues.v3 && (this.updateKnowledgeSettingsModeValue(k.KnowledgeSettingsMode.standard), this.knowledgeAnswerContentType.setAsLiteral(F.KnowledgeAnswerContentType.generative)), E.emitter.emit(E.knowledgeVersionChanged, e3); } - get botFlowsMessagingDatePicker() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsMessagingTimePicker"), this._archSession), s.isFeatureAvailable(l.default.botFlowsMessagingDatePicker); + clearKnowledgeHeader() { + this.knowledge.metaData.label = null, this.knowledge_v3.metaData.label = null; } - get botFlowsEnhancedRecognitionFailureHandling() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsEnhancedRecognitionFailureHandling"), this._archSession), s.isFeatureAvailable(l.default.botFlowsEnhancedRecognitionFailureHandling); + get isConfiguredKnowledgeVersionV3() { + var e3; + return (null === (e3 = this.knowledgeVersion) || void 0 === e3 ? void 0 : e3.text) === V.KnowledgeVersionValues.v3; } - get botFlowsVirtualAgentGuide() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsVirtualAgentGuide"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentGuide); + _setKnowledgeVersionWithFallback() { + this.knowledgeVersion.outOfService = false, this.hasKnowledgeSettingConfigured ? this.knowledgeVersion.setAsLiteral(V.KnowledgeVersionValues.v3) : this.knowledgeVersion.setAsLiteral(V.KnowledgeVersionValues.v2); } - get botFlowsBotsCallingBots() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsBotsCallingBots"), this._archSession), s.isFeatureAvailable(l.default.botFlowsBotsCallingBots); + updateKnowledgeSettingsModeValue(e3) { + this.knowledgeSettingsMode.setText(x.KnowledgeSettingsModeValues[e3].id); } - get botFlowsSupportDontKnowAnswers() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsSupportDontKnowAnswers"), this._archSession), s.isFeatureAvailable(l.default.botFlowsSupportDontKnowAnswers); + updateKnowledgeHandlingSettings() { + var e3; + this.knowledgeCustomHandlerTask.outOfService = this.knowledgeSettingsMode.outOfService || (null === (e3 = this.knowledgeSettingsMode) || void 0 === e3 ? void 0 : e3.text) === x.KnowledgeSettingsModeValues[k.KnowledgeSettingsMode.standard].id; } - get canSetTrackingIds() { - return this._getCanSetTrackingIds(this._infoPropGet("canSetTrackingIds"), this._archSession); + knowledgeDocumentSearchFilter(e3) { + return e3.knowledgeBase.id === this.knowledgeBaseId; } - get supportsSendNotificationChatGroup() { - return this._ensureSessionIsConnected(this._infoPropGet("supportsSendNotificationChatGroup"), this._archSession), true; + get nodeGuxIcon() { + return "fa/book-regular"; } - get defaultSttEngineSelection() { - return this._ensureSessionIsConnected(this._infoPropGet("defaultSttEngineSelection"), this._archSession), true; + get helpTopic() { + return U.helpTopics.treeNodes.knowledge; } - get knowledgeSettingIsAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("knowledgeSettingIsAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentKnowledgeV3); + get outOfService() { + var e3, t3, i3, n3; + 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) || !!(null === (n3 = null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.botFlowSettings) || void 0 === n3 ? void 0 : n3.navigatorVirtualAgentEnabled); } - get conversationSummaryIsAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("conversationSummaryIsAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentCustomSummaries); + get wrappedYamlName() { + return "settingsKnowledge"; } - get orgSupportsFullFlowStubbing() { - return this._ensureSessionIsConnected(this._infoPropGet("orgSupportsFullFlowStubbing"), this._archSession), s.isFeatureAvailable(l.default.flowStubbing); + get virtualAgentEnabled() { + var e3; + return null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled; } - get botFlowsLLMPoweredNavigatorAvailable() { - return this._ensureSessionIsConnected(this._infoPropGet("botFlowsLLMPoweredNavigatorAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsLLMPoweredFrontDoor); + get isKnowledgeV3AvailableInFlow() { + return this.isKnowledgeV3AvailableInOrg && this.virtualAgentEnabled; } - get orgSupportsYamlTrackingId() { - return this._ensureSessionIsConnected(this._infoPropGet("orgSupportsYamlTrackingId"), this._archSession), s.isFeatureAvailable(l.default.yamlTrackingIdFeature); + get isKnowledgeV3EnabledInFlow() { + return this.isFlowCurrentKnowledgeVersionV3 && this.isKnowledgeV3AvailableInFlow; } - } - t2.default = c; - }, 74156: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DataTableList = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(46400)), o = i2(15116), a = i2(80295); - class s extends o.PagedList { - constructor(e3) { - super(e3); + get isKnowledgeV3AvailableInOrg() { + return w.isFeatureAvailable(M.default.botFlowsVirtualAgentKnowledgeV3); } - get entities() { - return this._entities; + get isFlowCurrentKnowledgeVersionV3() { + return this.currentKnowledgeVersion === V.KnowledgeVersionValues.v3; } - set entities(e3) { - this._entities = this.reviveArray(e3, r2.default); + get currentKnowledgeVersion() { + return this.isKnowledgeV3AvailableInFlow ? this.knowledgeVersion.text : V.KnowledgeVersionValues.v2; } - } - t2.DataTableList = s, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 74168: (e2, t2, i2) => { - "use strict"; - 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)); + get knowledgeId() { + return this.isKnowledgeV3AvailableInFlow ? this.currentKnowledgeVersion === V.KnowledgeVersionValues.v2 ? this.knowledgeBaseId : this.knowledgeSettingId : this.knowledgeBaseId; } - static get branchInfo() { - return [p.default.failure, p.default.timeout, p.default.maxNoInputsOptional, p.default.maxNoMatchesOptional]; + get currentUiVersion() { + return 2; } - get isAgenticAskForIntentAction() { - return true; + updateConfiguration(e3, t3) { + const i3 = j(this.parentFlow.defaultLanguage); + (!e3 || e3 < 2) && (this.knowledgeInitialResponseMulti.text || this.knowledgeInitialResponseMulti.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeInitialResponseMulti, true), this.knowledgeInitialResponseMultiRetry.text || this.knowledgeInitialResponseMultiRetry.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeInitialResponseMultiRetry, true), this.knowledgeNoMatch.text || this.knowledgeNoMatch.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeNoMatch, true), this.knowledgeConfirmation.text || this.knowledgeConfirmation.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeConfirmation, true), e3 = 2); } - get supportsCustomOutputPaths() { - return true; + getDependencyTrackingId() { + if (this.knowledgeBaseId && this.knowledgeBaseWelcomeDocumentId) return `${this.knowledgeBaseId}/${this.knowledgeBaseWelcomeDocumentId}`; } - 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 }]; + setNewInstanceDefaults() { + super.setNewInstanceDefaults(); } - initializeDesignTime() { - super.initializeDesignTime(), this.updateAgenticIntentPaths(); + initialiseAnswerHighlightValues() { + const e3 = j(this.parentFlow.defaultLanguage); + this.knowledgeAnswerHighlightFlowProgression.text || this.knowledgeAnswerHighlightFlowProgression.setAsLiteral(e3.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionDefault), this.knowledgeAnswerHighlightFullArticle.text || this.knowledgeAnswerHighlightFullArticle.setAsLiteral(e3.knowledgeSettings.knowledgeAnswerHighlightFullArticleDefault); } - 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; + validate(e3) { + 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)(q.knowledgeSettings.knowledgeBaseLanguageMismatch, P.getLanguageNameAndCodeDisplay(t3.coreLanguage, true), P.getLanguageNameAndCodeDisplay(this.parentFlow.defaultLanguage, true)); + e3.addWarning(this, i4); } - 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)]); + } + if (this.parentFlow.supportsMultilingualKnowledge) { + if (this.knowledgeVersion.text === V.KnowledgeVersionValues.v2) { + const t3 = this.parentFlow.languages.supportedLanguageOptions.some((e4) => { + var t4; + return null === (t4 = e4.knowledgeBase) || void 0 === t4 ? void 0 : t4.id; + }); + if (!this.knowledgeBaseId && t3) { + const t4 = q.knowledgeSettings.knowledgeBaseNoDefaultSelected; + e3.addError(this, t4), this.knowledge.currentUiErrorMessage = t4; + } } - for (const i4 of this.branches) if (!i4.isDynamicBranch && !i4.isBuiltInBranch) { - const n4 = i4.getConfiguration(e3, t3); - n4 && (s2[i4.getYamlOutputId(i4.id)] = n4); + if (this.isFlowCurrentKnowledgeVersionV3) { + const t3 = this.parentFlow.languages.supportedLanguageOptions.some((e4) => { + var t4; + return null === (t4 = e4.knowledgeSetting) || void 0 === t4 ? void 0 : t4.id; + }); + if (!this.knowledgeSettingId && t3) { + const t4 = q.knowledgeSettings.knowledgeSettingNoDefaultSelected; + e3.addError(this, t4), this.knowledge_v3.currentUiErrorMessage = t4; + } + if (!this.isKnowledgeV3AvailableInOrg) { + const t4 = q.knowledgeSettings.knowledgeConfigurationNotEnabled; + e3.addError(this, t4); + } } - 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); + get isKnowledgePathModeStatement() { + var e3; + return (null === (e3 = this.knowledgePathMode) || void 0 === e3 ? void 0 : e3.text) === L.KnowledgeMode.statement; } - 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); + get isKnowledgePathModeTask() { + var e3; + return (null === (e3 = this.knowledgePathMode) || void 0 === e3 ? void 0 : e3.text) === L.KnowledgeMode.task; } } - 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) => { + t2.default = H; + }, 56510(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; + const n2 = i2(31635), o = i2(17604), r = 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 = i2(53638), _ = i2(65179), h = i2(79516), m = i2(67801), g = i2(19284), f = n2.__importStar(i2(17498)), T = n2.__importStar(i2(36781)), y = n2.__importStar(i2(66381)), S = n2.__importStar(i2(98442)), A = n2.__importStar(i2(34475)), N = i2(1115), v = n2.__importDefault(i2(4648)), I = i2(12179), C = n2.__importDefault(i2(68460)), O = n2.__importDefault(i2(52816)), b = n2.__importDefault(i2(40773)), E = i2(74064), w = n2.__importDefault(i2(65449)), R = i2(63221), D = n2.__importDefault(i2(83231)), P = i2(18894), M = i2(38551), F = n2.__importDefault(i2(78982)), L = i2(89599), x = i2(47957), k = i2(88654); + class V extends C.default { + constructor(e3) { + super(e3), this.modelPropertyName = "supportedLanguageOptions"; } - set intentClassifier(e3) { - this._intentClassifier = e3; + get id() { + return "languages"; } - get categories() { - var e3; - return null === (e3 = this._intentClassifier) || void 0 === e3 ? void 0 : e3.categories; + canAddLanguage() { + return this.parentFlow.canAddLanguage(); } - get id() { - return "intentClassifierData"; + addLanguage(e3) { + if (this.isFlowSupportedLanguage(e3)) return; + if (!this.canAddLanguage()) return; + const t3 = this.parentFlow.additionalLanguagePolicy; + if (t3 && !t3.isAllowed(e3)) return void t3.notifyRejected(e3); + const i3 = this._addLanguage({ language: e3 }, false); + return i3 && l.fireEvent(this, T.supportedLanguagesChanged), i3; } get className() { - return "IntentClassifierDataViewModel"; - } - getDisplayName() { - return "intentClassifierData"; + return "LanguageSelectionViewModel"; } - getConfiguration(e3, t3) { - this._intentClassifier && (0, a.isFeatureAvailable)(s.default.botFlowsLLMPoweredFrontDoor) && (e3.intentClassifierData = this._intentClassifier); + get amObjectEventEmitter() { + return true; } - loadConfiguration(e3) { - this._intentClassifier = e3.intentClassifierData || void 0; + get defaultLanguage() { + return this.parentFlow.defaultLanguage; } - updateIntentClassifier(e3) { - this._intentClassifier = e3.intentClassifierData, o.emitter.emit(o.intentClassifierUpdated); + set defaultLanguage(e3) { + this.parentFlow.defaultLanguage = e3, (0, N.validateNode)(this, true); } - } - t2.default = l; - }, 74260: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getLanguagesForTTSEngine(e3) { + if (!e3 || !this.parentFlow.languagesSupportTtsAndAsrSettings) return; + let t3; + return r.default.each(this.supportedLanguageOptions, (i3) => { + var n3; + const o2 = null === (n3 = null == i3 ? void 0 : i3.textToSpeech) || void 0 === n3 ? void 0 : n3.getSelectedEngine(); + o2 && o2.id === e3 && (r.default.isUndefined(t3) && (t3 = []), t3.push(i3.language)); + }), t3; } - get _globalTypeName() { - return "surveyQuestionGroup"; + getLanguagesWithNoEngineSelected() { + if (this.parentFlow.languagesSupportTtsAndAsrSettings) return this.supportedLanguageOptions.filter((e3) => e3.textToSpeech.hasEngineNoneSelection).map((e3) => e3.language); } - get displayTypeName() { - return "ArchVariableSurveyQuestionGroup"; + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + if (this.outOfService) return; + const i3 = {}; + r.default.each(this.supportedLanguageOptions, (n4) => { + var o3, a2, s2; + const l2 = {}; + this.parentFlow.languagesSupportDefaultLanguageSkill && (l2.defaultLanguageSkill = n4.languageSkill.getConfiguration(e3, t3)), this.parentFlow.languagesSupportTtsAndAsrSettings && (l2.textToSpeech = null === (o3 = n4.textToSpeech) || void 0 === o3 ? void 0 : o3.getConfiguration(e3, t3)), this.parentFlow.languagesSupportSpeechToTextSettings && (null === (a2 = n4.speechToTextEngine) || void 0 === a2 ? void 0 : a2.id) && (l2.speechToText = { engine: null === (s2 = n4.speechToTextEngine) || void 0 === s2 ? void 0 : s2.getConfiguration(e3, t3) }), this.parentFlow.supportsMultilingualKnowledge && n4.knowledgeBase && (l2.knowledgeBase = { name: n4.knowledgeBase.name }), this.parentFlow.supportsMultilingualKnowledge && n4.knowledgeSetting && (l2.knowledgeSetting = { name: n4.knowledgeSetting.label }), this.parentFlow.supportsConversationSummary && n4.conversationSummarySetting && (l2.conversationSummarySetting = { name: n4.conversationSummarySetting.name }), Object.keys(l2).length || r.default.ensureYamlNoneTrue(l2), i3[n4.language.toLowerCase()] = l2; + }); + const n3 = {}, o2 = r.default.keys(i3); + return o2.sort((e4, t4) => e4.localeCompare(t4)), r.default.each(o2, (e4) => { + n3[e4] = r.default.deepClone(i3[e4]); + }), n3; + } + e3.supportedLanguages = this.outOfService ? [] : this.supportedLanguages, e3.supportedLanguageOptions = [], this.outOfService || r.default.each(this.supportedLanguageOptions, (i3) => { + var n3, o2, r2; + const a2 = new p.LanguageOptions(); + a2.language = i3.language, this.parentFlow.languagesSupportDefaultLanguageSkill && (a2.languageSkill = i3.languageSkill.getConfiguration(e3, t3)), this.parentFlow.languagesSupportTtsAndAsrSettings && (a2.textToSpeech = null === (n3 = i3.textToSpeech) || void 0 === n3 ? void 0 : n3.getConfiguration(e3, t3)), this.parentFlow.languagesSupportSpeechToTextSettings && (null === (o2 = i3.speechToTextEngine) || void 0 === o2 ? void 0 : o2.id) && (a2.speechToText = new _.STTData({ engine: null === (r2 = i3.speechToTextEngine) || void 0 === r2 ? void 0 : r2.getConfiguration(e3, t3) })), this.parentFlow.supportsMultilingualKnowledge && i3.knowledgeBase && (a2.knowledgeBase = i3.knowledgeBase.getConfiguration), this.parentFlow.supportsMultilingualKnowledge && i3.knowledgeSetting && (a2.knowledgeSetting = i3.knowledgeSetting.getConfiguration), this.parentFlow.supportsConversationSummary && i3.conversationSummarySetting && (a2.conversationSummarySetting = i3.conversationSummarySetting.getConfiguration), e3.supportedLanguageOptions.push(a2); + }); } - get initialValue() { - return this._initialValue; + getDisplayName() { + return x.setLocale.supportedLanguages; } - get isArchVariableSurveyQuestionGroup() { - return true; + getSupportedLanguageOption(e3) { + const t3 = e3.toLowerCase(); + return r.default.find(this.supportedLanguageOptions, (e4) => e4.language.toLowerCase() === t3); } - } - t2.default = r2; - }, 74267: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BotConnectorVersionViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(43212), a = n2.__importDefault(i2(56133)), s = n2.__importDefault(i2(27579)); - class l extends o.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, s.default)(); + get isDisplayableNode() { + return this.parentFlow.supportsLanguages && !!this.parentFlow.languages; } - get className() { - return "BotConnectorVersionViewModal"; + get isLanguageNode() { + return true; } - get archInternalId() { - return this._model.archInternalId; + isFlowSupportedLanguage(e3) { + return !!e3 && void 0 !== this.getSupportedLanguageOption(e3); } - get versionId() { - return this._model.version; + loadConfiguration(e3) { + this.supportedLanguageOptions = [], e3.supportedLanguageOptions ? r.default.each(e3.supportedLanguageOptions, (e4) => this._addLanguage(e4, true)) : e3.supportedLanguages && (a.error("use supportedLanguages as a backup, but this should not be happening"), r.default.each(e3.supportedLanguages, (e4) => this.addLanguage(e4))), this.parentFlow.defaultLanguage && !this.isFlowSupportedLanguage(this.parentFlow.defaultLanguage) && this.addLanguage(this.parentFlow.defaultLanguage); } - get integrationId() { - return this._model.integrationId; + get nodeGuxIcon() { + return "fa/language-regular"; } - get botId() { - return this._model.botId; + get helpTopic() { + return I.helpTopics.treeNodes.supportedLanguages; } - get botName() { - return this._model.name; + get outOfService() { + return !this.parentFlow.supportsLanguages; } - get errorSchema() { - return this._errorSchema; + search(e3) { + r.default.each(this.supportedLanguageOptions, (t3) => { + var i3; + const n3 = S.getLanguageDisplayName(t3.language); + e3.checkText(this, n3, x.search.languageDescription), e3.checkText(this, t3.language, x.search.langCodeDescription), t3.textToSpeech && (e3.checkText(this, t3.textToSpeech.engine.name, x.textToSpeech.ttsEngine), e3.checkText(this, t3.textToSpeech.voice.name, x.textToSpeech.ttsVoice)), (null === (i3 = t3.speechToTextEngine) || void 0 === i3 ? void 0 : i3.name) && e3.checkText(this, t3.speechToTextEngine.name, x.speechToText.speechToTextEngineLabel); + }); } - getConfiguration() { - return this._model; + canRemoveLanguage(e3) { + return !this.parentFlow.isReadOnly && (this.supportedLanguageOptions.length > 1 && !this.parentFlow.supportsMoreThanOneLanguage || !(e3 && !this.parentFlow.supportsDefaultLanguageChange && this.parentFlow.defaultLanguage === e3) && this.parentFlow.supportsAddRemoveLanguages); } - get id() { - return this._model.id; + resetLanguageKnowledge(e3) { + const t3 = e3 !== M.KnowledgeVersionValues.v2, i3 = e3 !== M.KnowledgeVersionValues.v3; + r.default.each(this.supportedLanguageOptions, (e4) => { + t3 && (e4.knowledgeBase = null), i3 && (e4.knowledgeSetting = null); + }); } - get name() { - return this._model.version; + removeLanguage(e3) { + if (!this.canRemoveLanguage()) return; + const t3 = e3.toLowerCase(), i3 = r.default.find(this.supportedLanguageOptions, (e4) => e4.language.toLowerCase() === t3); + if (i3) { + const e4 = this.supportedLanguageOptions.indexOf(i3); + e4 >= 0 && (i3.languageSkill.destroy(), this._savedSupportedLanguagesViewModels = void 0, this.supportedLanguageOptions.splice(e4, 1)); + } + e3 === this.parentFlow.defaultLanguage && (this.supportedLanguageOptions.length > 0 ? this.parentFlow.defaultLanguage = this.supportedLanguageOptions[0].language : this.parentFlow.defaultLanguage = void 0), l.fireEvent(this, T.supportedLanguagesChanged); } - get label() { - return this._model.version || ""; + get supportedLanguages() { + return r.default.pluck(this.supportedLanguageOptions, "language"); } - get languages() { - return this._model.supportedLanguages; + get supportedLanguagesViewModels() { + return r.default.isUndefined(this._savedSupportedLanguagesViewModels) && (this._savedSupportedLanguagesViewModels = [], r.default.each(this.supportedLanguages, (e3) => { + this._savedSupportedLanguagesViewModels.push(S.getLanguageEntry(e3)); + })), this._savedSupportedLanguagesViewModels; } - get model() { - return this._model; + get defaultLanguageViewModel() { + return S.getLanguageEntry(this.defaultLanguage); } - set model(e3) { - this._model = e3, this.intents = [], this._model.intents && r2.default.each(this._model.intents, (e4) => { - this.intents.push(new a.default(r2.default.clone(e4))); - }); + get supportedLanguagesLCase() { + const e3 = []; + return r.default.each(this.supportedLanguageOptions, (t3) => { + e3.push(t3.language.toLowerCase()); + }), e3; } - } - t2.BotConnectorVersionViewModel = l; - }, 74299: (e2, t2, i2) => { - "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }); - const r2 = i2(31635), o = r2.__importDefault(i2(16434)), a = i2(96618); - class s extends o.default { - constructor(e3) { - super(e3), n2.set(this, void 0), r2.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.emailSendSettings), "f"); + get supportedLanguageOptions() { + return this.parentFlow.supportedLanguageOptions; } - get _flowType() { - return a.flowTypes.flowTypeEmailSend; + set supportedLanguageOptions(e3) { + this.parentFlow.supportedLanguageOptions = e3; } - get displayTypeName() { - return "ArchFlowEmailSend"; + updateDependencies() { + if (this.outOfService) return; + const e3 = this.parentFlow.languagesSupportDefaultLanguageSkill, t3 = this.parentFlow.languagesSupportTtsAndAsrSettings; + r.default.each(this.supportedLanguageOptions, (i3) => { + var n3, o2, r2, a2; + e3 && f.registerExpression(i3.languageSkill), i3.languageSkill.outOfService = !e3, t3 && i3.textToSpeech && i3.textToSpeech.updateDependencies(), this.parentFlow.languagesSupportSpeechToTextSettings && (null === (n3 = i3.speechToTextEngine) || void 0 === n3 ? void 0 : n3.id) && f.registerConsumer(this, g.speechToTextEngineManager.dependencyContext + i3.language, i3.speechToTextEngine.name, i3.speechToTextEngine.id, f.NO_VERSION, g.speechToTextEngineManager.dependencyType), this.parentFlow.supportsMultilingualKnowledge && (null === (o2 = i3.knowledgeBase) || void 0 === o2 ? void 0 : o2.knowledgeBaseId) && f.registerConsumer(this, m.knowledgeBaseManager.dependencyContext + i3.language, i3.knowledgeBase.knowledgeBaseName, i3.knowledgeBase.knowledgeBaseId, f.NO_VERSION, m.knowledgeBaseManager.dependencyType), this.parentFlow.supportsMultilingualKnowledge && (null === (r2 = i3.knowledgeSetting) || void 0 === r2 ? void 0 : r2.knowledgeSettingId) && f.registerConsumer(this, P.knowledgeSettingManager.dependencyContext + i3.language, i3.knowledgeSetting.knowledgeSettingName, i3.knowledgeSetting.knowledgeSettingId, f.NO_VERSION, P.knowledgeSettingManager.dependencyType), this.parentFlow.supportsConversationSummary && (null === (a2 = i3.conversationSummarySetting) || void 0 === a2 ? void 0 : a2.id) && f.registerConsumer(this, L.conversationSummarySettingManager.dependencyContext + i3.language, i3.conversationSummarySetting.name, i3.conversationSummarySetting.id, f.NO_VERSION, L.conversationSummarySettingManager.dependencyType); + }); } - get isArchFlowEmailSend() { - return true; + knowledgeSelected(e3, t3) { + this.isKnowledgeV3Enabled ? (e3.knowledgeSetting = t3, e3.knowledgeBase = void 0) : (e3.knowledgeBase = t3, e3.knowledgeSetting = void 0); } - get emailSendSettings() { - return r2.__classPrivateFieldGet(this, n2, "f"); + conversationSummarySelected(e3, t3) { + e3.conversationSummarySetting = t3; } - } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; - }, 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 _.promise; - }, t2.getAuthorizedPromise = y, t2.getConnectedUser = function() { - return m; - }, t2.setConnectedUser = function(e3) { - throw "not valid here"; - }, t2.isCurrentUserAuthorized = function() { - return true === T; - }, t2.isCurrentUserUnauthorized = function() { - return false === T; - }, t2.setCurrentUserAuthorized = function(e3) { - T = e3; - }, t2.getCurrentLanguage = function() { - return N; - }, t2.setCurrentLanguage = function(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 S || N; - }, t2.setRegionalLocale = function(e3) { - S = e3; - }, t2.usingRegionalLocale = function() { - return !!S; - }, t2.getOrgInfo = function() { - return g; - }, t2.getUserTokenInfo = function() { - return f; - }, t2.authenticatedUser = function(e3) { - m = e3, f = new o.UserTokenViewModel(e3.token), _.resolve(e3); - }, t2.resolveUserAsAuthorized = function() { - h.resolve(); - }, t2.finishedLoading = function() { - s.resolve(); - }, t2.setDivisionsLoaded = function() { - l.resolve(); - }, t2.isRunningInBrowser = function() { - return "undefined" != typeof window; - }, t2.resetAuthPromise = function() { - "fulfilled" === this.getAuthenticatedPromise().inspect().state && (_ = r2.default.defer()), "fulfilled" === this.getAuthorizedPromise().inspect().state && (h = r2.default.defer()); - }, t2.setOrgInfo = function(e3) { - g = e3, u.resolve(); - }, t2.resolveUserAsUnauthorized = function(e3) { - _.reject(e3), h.reject(e3); - }, t2.setFeatureTogglesLoaded = function(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, y(), t2.bootstrapDataLoaded]); - }); - }; - 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 = p.promise; - let S, A = false, N = "en-us"; - function v(e3, t3) { - return (i3) => { - try { - const n3 = i3(); - r2.default.isPromiseAlike(n3) ? n3.then((t4) => { - e3.resolve(t4); - }).catch((i4) => { - console.error(`promise failed, rejecting promise ${t3} - error: ${i4}`), e3.reject(i4); - }) : e3.resolve(n3); - } catch (i4) { - console.error(`exception caught, rejecting promise ${t3} - error: ${i4}`), e3.reject(i4); + validate(e3) { + var t3, i3, n3; + if (!this.parentFlow.supportsLanguages) return; + if (!this.parentFlow.supportedLanguageOptions || this.supportedLanguageOptions.length < 1) return void e3.addError(this, x.setLocale.noSupportedLanguages); + this.parentFlow.isNluFlow && !(null === (t3 = this.parentFlow.botFlowSettings) || void 0 === t3 ? void 0 : t3.allowsMoreThanOneSupportedLanguage) && this.supportedLanguages.length > 1 && e3.addError(this, x.flow.nluEngineDoesNotSupportMultilingual); + const a2 = this.parentFlow.definition; + !a2.supportsMoreThanOneLanguage && this.supportedLanguageOptions.length > 1 && e3.addError(this, `You may only have one supported language in a flow of type '${a2.typeDisplayName}'.`); + const s2 = a2.availableLanguageTags; + r.default.isArray(s2) && s2.length && r.default.each(this.supportedLanguageOptions, (t4) => { + if (!r.default.contains(s2, t4.language.toLowerCase())) try { + const i4 = S.getLanguageEntry(t4.language).displayString; + e3.addError(this, `The language '${i4}' is not valid as a supported language for a flow of type '${this.parentFlow.definition.typeDisplayName}'.`); + } catch (i4) { + 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, x.setLocale.defaultLanguageError) : e3.addError(this, x.setLocale.noDefaultLanguage); + const l2 = this.parentFlow.additionalLanguagePolicy; + if (r.default.each(this.supportedLanguageOptions, (t4) => { + var i4, n4, r2, a3, s3, u2, c2, d2, p2, _2; + S.langCodeIsGeneric(t4.language) && e3.addError(this, (0, o.sprintf)(x.setLocale.genericLanguageError, t4.language)); + const h2 = null === (i4 = null == l2 ? void 0 : l2.isSupported(t4.language)) || void 0 === i4 || i4; + if (t4.languageSkill) { + const e4 = !this.parentFlow.languagesSupportDefaultLanguageSkill; + t4.languageSkill.outOfService = e4 || !!l2 && !h2; + } + if (l2 && !h2 && t4.language.toLowerCase() !== (null === (n4 = this.parentFlow.defaultLanguage) || void 0 === n4 ? void 0 : n4.toLowerCase()) && e3.addError(this, l2.unsupportedError(t4.language)), t4.languageSkill.validate(e3), t4.textToSpeech && t4.textToSpeech.validate(e3), this.parentFlow.languagesSupportSpeechToTextSettings && t4.speechToTextEngine && t4.speechToTextEngine.validate(e3, this, t4.language), t4.speechToTextNoChoicesWarning = void 0, this.parentFlow.languagesSupportSpeechToTextSettings && 0 === t4.speechToTextEngineChoices.length) { + const i5 = (0, o.sprintf)(x.speechToText.speechToTextNoChoicesAvailable, this._getLanguageAndTerritoryStringById(t4.language)); + e3.addWarning(this, i5), t4.speechToTextNoChoicesWarning = i5, t4.speechToTextEngineChoice = void 0; + } + if (this.parentFlow.supportsConversationSummary && (t4.conversationSummaryError = void 0, null === (r2 = t4.conversationSummarySetting) || void 0 === r2 ? void 0 : r2.id)) { + const i5 = L.conversationSummarySettingManager.getItem(t4.conversationSummarySetting.id); + if (i5 && t4.conversationSummarySetting.name !== i5.name && (t4.conversationSummarySetting.model.name = i5.name), !i5 || (null === (a3 = i5.language) || void 0 === a3 ? void 0 : a3.toLowerCase()) !== t4.language.toLowerCase()) { + const i6 = (0, o.sprintf)(x.customNodes.virtualAgentSettings.conversationSummarySettingsSummaryNotFound, t4.conversationSummarySetting.name); + e3.addError(this, i6), t4.conversationSummaryError = i6; + } + } + if (this.parentFlow.supportsMultilingualKnowledge && this.parent.defaultLanguage !== t4.language && t4.languageSupportsKnowledge) { + if (t4.knowledgeBaseError = void 0, t4.knowledgeBaseWarning = void 0, (null === (s3 = t4.knowledgeBase) || void 0 === s3 ? void 0 : s3.knowledgeBaseId) && !t4.knowledgeBaseConfigListManager.getItem(t4.knowledgeBase.knowledgeBaseId) && !this.isKnowledgeV3Enabled) { + const i5 = (0, o.sprintf)(x.errors.invalidValue, (0, o.sprintf)(x.knowledgeSettings.knowledgeBaseNotFoundForLanguage, this._getLanguageAndTerritoryStringById(t4.language))); + e3.addError(this, i5), t4.knowledgeBaseError = i5; + } + if ((null === (u2 = t4.knowledgeSetting) || void 0 === u2 ? void 0 : u2.knowledgeSettingId) && !t4.knowledgeSettingConfigListManager.getItem(t4.knowledgeSetting.knowledgeSettingId) && this.isKnowledgeV3Enabled) { + const i5 = (0, o.sprintf)(x.errors.invalidValue, (0, o.sprintf)(x.knowledgeSettings.knowledgeSettingNotFoundForLanguage, this._getLanguageAndTerritoryStringById(t4.language))); + e3.addError(this, i5), t4.knowledgeBaseError = i5; + } + if (!t4.knowledgeBaseError) if ((null === (c2 = t4.knowledgeBase) || void 0 === c2 ? void 0 : c2.knowledgeBaseId) || !(null === (d2 = this.parent.knowledgeSettings) || void 0 === d2 ? void 0 : d2.knowledgeBaseId) || this.isKnowledgeV3Enabled) { + if (!(null === (p2 = t4.knowledgeSetting) || void 0 === p2 ? void 0 : p2.knowledgeSettingId) && (null === (_2 = this.parent.knowledgeSettings) || void 0 === _2 ? void 0 : _2.knowledgeSettingId) && this.isKnowledgeV3Enabled) { + const i5 = (0, o.sprintf)(x.knowledgeSettings.knowledgeSettingNotSelectedForLanguage, this._getLanguageAndTerritoryStringById(t4.language)); + e3.addWarning(this, i5), t4.knowledgeBaseWarning = i5; + } + } else { + const i5 = (0, o.sprintf)(x.knowledgeSettings.knowledgeBaseNotSelectedForLanguage, this._getLanguageAndTerritoryStringById(t4.language)); + e3.addWarning(this, i5), t4.knowledgeBaseWarning = i5; + } + } + }), null === (i3 = this.supportedLanguageOptions) || void 0 === i3 ? void 0 : i3.length) { + if (this.parentFlow.languagesSupportSpeechToTextSettings) { + const t5 = []; + if (this.supportedLanguageOptions.forEach((e4) => { + (r.default.isUndefined(e4.speechToTextEngine) || e4.speechToTextEngine.isGenesysEngine) && t5.push(e4.language.toLowerCase()); + }), null == t5 || t5.sort(), t5.length > 0 && t5.length < (null === (n3 = this.supportedLanguageOptions) || void 0 === n3 ? void 0 : n3.length)) { + let i5 = x.speechToText.speechToTextEngineRequiredMessage; + { + let e4 = ""; + for (let i6 = 0; i6 < t5.length; i6++) i6 !== t5.length - 1 ? e4 += t5[i6] + ", " : e4 += t5[i6] + "."; + i5 = i5 + " The languages that still need a speech to text engine configured are: " + e4; + } + e3.addError(this, i5); + } + 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; + }); + i4.length && !this.parentFlow.isReadOnly && r.default.forEach(i4, (e4) => { + e4.hasSttEngineDefaultChanged = false; + const t6 = w.default.getDefaultEngineForLanguage(e4.language), i5 = t6 ? w.default.resolveEngineForId(t6.id) || t6 : void 0; + if (i5) { + const t7 = { type: h.AlertTypeEnum.info, message: (0, o.sprintf)(x.speechToText.defaultSpeechToTextEngineUpdated, e4.language, i5.name) }; + T.emitter.emit(T.alert, t7); + } + }); + } + const t4 = this.supportedLanguageOptions.filter((e4) => e4.textToSpeech.engineUpdatedToMatchOrg).map((e4) => (e4.textToSpeech.engineUpdatedToMatchOrg = false, e4.textToSpeech)); + if (t4.length) if (1 === t4.length) { + const e4 = { type: h.AlertTypeEnum.info, message: (0, o.sprintf)(x.textToSpeech.defaultEngineUpdated, t4[0].languageId, t4[0].engine.name) }; + T.emitter.emit(T.alert, e4); + } else this.addAlertsForLanguagesWithUpdatedDefaultTtsEngine(t4); } - }; - } - 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 }); - const n2 = i2(31635).__importDefault(i2(91722)); - class r2 extends n2.default { - constructor(e3, t3, i3) { - super(e3, i3), this._value = t3; - } - get displayTypeName() { - return "ArchBaseFilterClausePropertyValue"; - } - get isArchBaseFilterClausePropertyValue() { - return true; - } - get value() { - return this._value; - } - } - t2.default = r2; - }, 74384: (e2, t2, i2) => { - "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), 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"); } - get debug() { - return this._debug; + addAlertsForLanguagesWithUpdatedDefaultTtsEngine(e3) { + const t3 = { type: h.AlertTypeEnum.info, message: "" }, i3 = r.default.uniq(e3.map((e4) => e4.engine.name)); + if (1 === i3.length) { + const n3 = e3.map((e4) => "'" + e4.languageId + "'"); + t3.message = (0, o.sprintf)(x.textToSpeech.defaultEngineUpdatedMoreThanOne, y.getListDisplayString(n3), i3[0]), T.emitter.emit(T.alert, t3); + } else i3.forEach((i4) => { + let n3, r2 = e3.filter((e4) => e4.engine.name === i4).map((e4) => e4.languageId); + 1 === r2.length ? n3 = x.textToSpeech.defaultEngineUpdated : (r2 = r2.map((e4) => "'" + e4 + "'"), n3 = x.textToSpeech.defaultEngineUpdatedMoreThanOne), t3.message = (0, o.sprintf)(n3, y.getListDisplayString(r2), i4), T.emitter.emit(T.alert, t3); + }); } - set debug(e3) { - this._debug = this.reviveMap(e3, p.default); + get wrappedYamlName() { + return "supportedLanguages"; } - get contexts() { - return this._contexts; + get isKnowledgeV3Enabled() { + return this.parent.knowledgeSettings.isKnowledgeV3EnabledInFlow; } - set contexts(e3) { - this._contexts = e3; + _destroy() { + super._destroy(), r.default.each(this.supportedLanguageOptions, (e3) => e3.languageSkill.destroy()), this._savedSupportedLanguagesViewModels = void 0; } - get features() { - return this._features; + _initializeDesignTime() { + super._initializeDesignTime(), r.default.each(this.supportedLanguageOptions, (e3) => { + this._initializeLanguageViewModel(e3); + }); } - set features(e3) { - const t3 = (e3 = l.default.clone(e3)).textToSpeech; - delete e3.textToSpeech; - const i3 = e3.voicemail; - delete e3.voicemail; - const n3 = e3.knowledgeBase; - delete e3.knowledgeBase, this._features = this.reviveMap(e3, p.default), t3 && t3.engines && (this._features.textToSpeech = { engines: this.reviveMap(t3.engines, m.default, true) }), i3 && (this._features.voicemail = this.reviveMap(i3, p.default)), n3 && (this._features.knowledgeBase = this.reviveItem(n3, h.default)); + _addLanguage(e3, t3) { + var i3, n3, r2; + if (!this.parentFlow.supportsLanguages) return; + if (this.isFlowSupportedLanguage(e3.language)) return; + const a2 = S.getLangKnowledgeBaseLanguageTag(e3.language), s2 = this._getLinkButtonInfo(null === (i3 = e3.knowledgeBase) || void 0 === i3 ? void 0 : i3.id), l2 = this._getSettingLinkButtonInfo(null === (n3 = e3.knowledgeSetting) || void 0 === n3 ? void 0 : n3.id), p2 = this._getSummaryLinkButtonInfo(null === (r2 = e3.conversationSummarySetting) || void 0 === r2 ? void 0 : r2.id), _2 = { name: x.generic.default, id: w.default.defaultId }, h2 = (e4, t4) => { + const i4 = e4.filter((e5) => e5.isGenesysEngine), n4 = e4.filter((e5) => !e5.isGenesysEngine).sort((e5, t5) => { + var i5, n5; + return null === (i5 = e5.name) || void 0 === i5 ? void 0 : i5.toLocaleLowerCase().localeCompare(null === (n5 = t5.name) || void 0 === n5 ? void 0 : n5.toLocaleLowerCase()); + }), o2 = i4.sort((e5, t5) => { + var i5, n5; + 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, ...o2] : [...n4, ...o2]; + }, f2 = { defaultSttEngineChoice: _2, isFlowSupportedLanguageSetting: true, isSystemSupported: S.isFlowTypeWithLanguageSupportedInSystem(e3.language, this.parentFlow.type), language: e3.language, parent: this, textToSpeech: new E.TTSDataViewModel(e3.textToSpeech || new k(), e3.language, this), _speechToTextEngine: this._loadSTTEngine(e3), _speechToTextEngineChoice: this._loadSTTEngineChoice(e3, _2), speechToTextEngineChoices: this._loadSTTEngineChoices(e3.language, _2, h2), speechToTextNoChoicesWarning: void 0, speechToTextConfigListManager: g.speechToTextEngineManager, _conversationSummarySetting: e3.conversationSummarySetting ? new F.default(e3.conversationSummarySetting) : void 0, conversationSummaryError: void 0, conversationSummaryConfigListManager: L.conversationSummarySettingManager, conversationSummaryLinkButton: p2, languageSupportsConversationSummary: false, _knowledgeBase: e3.knowledgeBase ? new O.default(e3.knowledgeBase) : void 0, _knowledgeSetting: e3.knowledgeSetting ? new D.default(e3.knowledgeSetting) : void 0, knowledgeBaseError: void 0, knowledgeBaseWarning: void 0, knowledgeBaseConfigListManager: m.knowledgeBaseManager, knowledgeSettingConfigListManager: P.knowledgeSettingManager, knowledgeBaseSearchParams: { coreLanguage: a2, published: true }, knowledgeBaseLinkButtonInfo: s2, knowledgeSettingLinkButtonInfo: l2, languageSupportsKnowledge: S.getLangSupportsKnowledgeForFlowType(e3.language, this.parentFlow.type), defaultSttEngineLabel: this._defaultSttEngineLabel(e3), defaultSttEngineChangedLabel: this._defaultSttEngineChangedLabel(e3, t3), hasSttEngineDefaultChanged: this._hasSttEngineDefaultChanged(e3, t3), sttEngineSorter: h2 }; + return Object.defineProperty(f2, "speechToTextEngine", { get: () => f2._speechToTextEngine, set: (e4) => { + f2._speechToTextEngine = e4, (0, N.validateNode)(this, true); + } }), Object.defineProperty(f2, "speechToTextEngineChoice", { get: () => f2._speechToTextEngineChoice, set: (e4) => { + f2._speechToTextEngineChoice = e4, (0, N.validateNode)(this, true); + } }), Object.defineProperty(f2, "knowledgeBase", { get: () => f2._knowledgeBase, set: (e4) => { + f2._knowledgeBase = e4, f2.knowledgeBaseLinkButtonInfo = this._getLinkButtonInfo(null == e4 ? void 0 : e4.id), (0, N.validateNode)(this, true), (0, N.validateNode)(this.parent.knowledgeSettings, true); + } }), Object.defineProperty(f2, "knowledgeSetting", { get: () => f2._knowledgeSetting, set: (e4) => { + f2._knowledgeSetting = e4, f2.knowledgeSettingLinkButtonInfo = this._getSettingLinkButtonInfo(null == e4 ? void 0 : e4.id), (0, N.validateNode)(this, true), (0, N.validateNode)(this.parent.knowledgeSettings, true); + } }), Object.defineProperty(f2, "hasNoSpeechToTextEngineChoices", { get: () => { + var e4, t4; + return f2.speechToTextSearchManager ? !f2.speechToTextSearchManager.loading && 0 === (null === (t4 = null === (e4 = f2.speechToTextSearchManager) || void 0 === e4 ? void 0 : e4.results) || void 0 === t4 ? void 0 : t4.length) : !!f2.speechToTextEngineChoices && 0 === f2.speechToTextEngineChoices.length; + }, set: (e4) => { + (0, N.validateNode)(this, true); + } }), Object.defineProperty(f2, "languageSupportsConversationSummary", { get: () => S.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, N.validateNode)(this, true); + } }), f2.languageSkill = u.expression(this.parentFlow, this, e3.languageSkill || new d.default(), (0, o.sprintf)(x.setLocale.skillMappingName, e3.language), c.globalTypes.languageSkill, null, c.globalTypes.languageSkill.createExpressionOptionClass().setIsOptional(true).setAllowModeLiteral(true).setAllowModeExpression(false).setAllowModeVariable(false).setLabelOverride(x.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; } - get functions() { - return this._functions; + _loadSTTEngine(e3) { + if (!this.parentFlow.languagesSupportSpeechToTextSettings) return; + if (!e3.speechToText) { + const t4 = w.default.getDefaultEngineForLanguage(e3.language); + if (t4) { + const e4 = new b.default({}), i3 = w.default.resolveEngineForId(t4.id) || t4; + return e4.setEngine(i3, true), e4; + } + return; + } + const t3 = new b.default(e3.speechToText.engine); + return t3.selection = e3.speechToText.engine.selection === R.engineSelectionTypes.engineSelectionDefault ? R.engineSelectionTypes.engineSelectionDefault : R.engineSelectionTypes.engineSelectionSpecific, t3.applyReplacedByResolution((e4) => w.default.items[e4], !this.parentFlow.isReadOnly), t3; } - set functions(e3) { - this._functions = this.reviveMap(e3, _.default, true); + _loadSTTEngineChoice(e3, t3) { + var i3, n3, o2; + if (!e3.speechToText) return t3; + if ((null === (n3 = null === (i3 = e3.speechToText) || void 0 === i3 ? void 0 : i3.engine) || void 0 === n3 ? void 0 : n3.selection) === R.engineSelectionTypes.engineSelectionDefault) return t3; + const r2 = null === (o2 = e3.speechToText.engine) || void 0 === o2 ? void 0 : o2.id; + return g.speechToTextEngineManager.resolveReplacement(r2) || new b.default(e3.speechToText.engine); } - get isDefault() { - return this._isDefault; + _loadSTTEngineChoices(e3, t3, i3) { + const n3 = r.default.filter(w.default.items, (t4) => !t4.grammarBased && t4.isLanguageSupported(e3) && !t4.replacedBy); + return r.default.isEmpty(n3) ? [] : i3(Object.values(n3), t3); } - set isDefault(e3) { - this._isDefault = e3; + _defaultSttEngineLabel(e3) { + const t3 = w.default.getDefaultEngineForLanguage(e3.language); + if (!t3) return; + const i3 = w.default.resolveEngineForId(t3.id) || t3; + return (0, o.sprintf)(x.textToSpeech.defaultEngineLabel, i3.name); } - } - 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; - var n2 = i2(48051), r2 = i2(44885); - t2.range = function(e3, t3, i3) { - if (null == t3 && (t3 = e3, e3 = 0), t3 <= 0) return r2.EMPTY; - var o = t3 + e3; - return new n2.Observable(i3 ? function(t4) { - var n3 = e3; - return i3.schedule(function() { - n3 < o ? (t4.next(n3++), this.schedule()) : t4.complete(); - }); - } : function(t4) { - for (var i4 = e3; i4 < o && !t4.closed; ) t4.next(i4++); - t4.complete(); - }); - }; - }, 74400: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _defaultSttEngineChangedLabel(e3, t3) { + var i3, n3, r2, 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 === (r2 = e3.speechToText) || void 0 === r2 ? void 0 : r2.engine) || void 0 === a2 ? void 0 : a2.name) ? (0, o.sprintf)(x.textToSpeech.defaultEngineDiffers, null === (l2 = null === (s2 = e3.speechToText) || void 0 === s2 ? void 0 : s2.engine) || void 0 === l2 ? void 0 : l2.name) : (0, o.sprintf)(x.speechToText.defaultSpeechToTextEngineDiffersFromNotSpecified) : void 0; } - get _globalTypeName() { - return "journeyApp"; + _hasSttEngineDefaultChanged(e3, t3) { + var i3, n3, o2, r2, a2, s2; + 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)) { + const t4 = w.default.getDefaultEngineForLanguage(e3.language); + return (null === (r2 = null === (o2 = e3.speechToText) || void 0 === o2 ? void 0 : o2.engine) || void 0 === r2 ? void 0 : r2.id) ? ((null === (a2 = w.default.resolveEngineForId(null == t4 ? void 0 : t4.id)) || void 0 === a2 ? void 0 : a2.id) || (null == t4 ? void 0 : t4.id)) !== ((null === (s2 = w.default.resolveEngineForId(e3.speechToText.engine.id)) || void 0 === s2 ? void 0 : s2.id) || e3.speechToText.engine.id) : !!t4; + } } - get name() { + _initializeLanguageViewModel(e3) { + e3 && (e3.languageSkill.initializeDesignTime(), e3.textToSpeech && e3.textToSpeech.initializeDesignTime()); } - get namespace() { + _getLinkButtonInfo(e3) { + if (!e3) return; + const t3 = this.isKnowledgeV2Available ? A.getAdminKnowledgeBaseUrl(e3) : A.getKnowledgeBaseWorkbenchUrl(e3); + return { text: x.knowledgeSettings.openKnowledgeInNewTab, url: t3 }; } - get version() { + _getSettingLinkButtonInfo(e3) { + if (!e3) return; + const t3 = A.getAdminKnowledgeSettingUrl(e3); + return { text: x.knowledgeSettings.openKnowledgeInNewTab, url: t3 }; } - get buildNumber() { + _getSummaryLinkButtonInfo(e3) { + if (!e3) return; + const t3 = A.getAdminConversationSummarySettingUrl(e3); + return { text: x.customNodes.virtualAgentSettings.conversationSummarySettingsButtonToolTip, url: t3 }; } - get displayTypeName() { - return "ArchValueJourneyApp"; + get isKnowledgeV2Available() { + return s.isFeatureAvailable(v.default.orgAvailabilityKnowledgeV2); } - get isArchValueJourneyApp() { - return true; + _getLanguageAndTerritoryStringById(e3) { + const t3 = S.getLanguageDisplayName(e3), i3 = S.getLanguageEntry(e3); + return `${t3} (${S.getTerritoryDisplayName(i3.id)})`; } } - t2.default = r2; - }, 74422: (e2, t2, i2) => { + t2.default = V; + }, 76533(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._statements = this.coreFactory.createArchBaseValueContainer(e3.variables); - } - get _actionTypeId() { - return r2.updateWorkitemActionType; - } - get displayTypeName() { - return this._scriptingName; + const n2 = i2(31635), o = n2.__importDefault(i2(77862)), r = i2(12179), a = n2.__importDefault(i2(27377)), s = n2.__importDefault(i2(4406)), l = i2(47957), u = "learningSettings"; + class c extends a.default { + get id() { + return u; } - get isArchActionUpdateWorkitem() { - return true; + static get id() { + return u; } - addUpdateWorkitemStatement(e3, t3, i3) { - const n3 = this._infoParm("archDataType", "addUpdateWorkitemStatement"); - return this._checkItem(n3, !e3 || !e3.isArchDataType, "you must pass in a valid Architect data type for the statement to create"), this._checkItem(n3, !e3.isScriptCreatableForFlow(this.parentFlow), "the Architect data type " + e3.label + " is not creatable from scripting for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "'. The data type's isScriptCreatableForFlow must return true to be valid for use when creating an update data statement"), this._statements._addVariableValueAssignment(e3, t3, i3, false, {}, true); + get showInFlowSize() { + return false; } - get statements() { - return this._statements._createVariableValuePairArray(); + get parentFlowTreeNodeId() { + return s.default.id; } - get updateWorkitemOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get className() { + return "LearningSettingsViewModel"; } - } - t2.default = a; - }, 74423: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Isso n\xE3o \xE9 v\xE1lido.", noInputReceived: "N\xE3o recebi qualquer entrada." }, askForBoolean: { noInput: 'Diga "sim" se desejar continuar, caso contr\xE1rio, diga "n\xE3o".', noMatch: 'Diga "Sim" ou "N\xE3o". Deseja continuar?', question: "Deseja continuar?", noInputDigitalBot: 'Digite "Sim" se desejar continuar; caso contr\xE1rio, digite "N\xE3o".', noMatchDigitalBot: 'Digite "Sim" ou "N\xE3o". Deseja continuar?' }, askForIntent: { noInput: 'Diga uma frase curta que descreva sua consulta; por exemplo: "Verificar o saldo da minha conta"', noMatch: "Diga-me novamente o que gostaria de fazer.", question: "O que gostaria de fazer?", noInputDigitalBot: 'Digite uma breve frase que descreva sua consulta. Por exemplo, "Verificar o saldo da minha conta"' }, askForSlot: { askFor: "Solicite o %1$s", noInput: "Diga ou insira o (coloque o seu nome de slot aqui).", noInputWithSlot: "Diga ou insira o %1$s.", noMatch: "Repita o (coloque o seu nome de slot aqui).", noMatchWithSlot: "Repita o %1$s.", question: "Qual \xE9 o (coloque o seu nome de slot aqui)?", questionWithSlot: "Qual \xE9 o %1$s?", pleaseEnterSlotNameHere: "(coloque o seu nome de slot aqui)", noInputDigitalBot: "Digite o (insira o nome do slot aqui).", noInputWithSlotDigitalBot: "Digite o %1$s.", continuationPromptWithSlot: "Tenho {{Slot.%1$s}} at\xE9 o momento. Continue." }, askForNextSlot: { noInput: 'Diga "sim" se tiver outra consulta ou "n\xE3o" para encerrar a chamada.', noMatch: 'Diga "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', question: "Voc\xEA tem alguma outra d\xFAvida?", noInputDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', noMatchDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.' }, askForPayment: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de pagamento para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askForAuthentication: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de autentica\xE7\xE3o para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askSurveyQuestion: { notApplicable: "N\xE3o aplic\xE1vel", surveyAnswerOptionSequence: "Pressione %1$s para '%2$s'.", surveyAnswerNotApplicableSequence: "Pressione asterisco para N\xE3o aplic\xE1vel.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Pressione asterisco para N\xE3o aplic\xE1vel.", voiceSurveyNoInputText: "Por favor, responda \xE0 pergunta.", voiceSurveyNoMatchText: "N\xE3o entendi." }, commonModule: { exitCommonModule: "Sair do m\xF3dulo comum" }, form: { noInputDigitalBot: "Complete o formul\xE1rio para continuar.", noMatchDigitalBot: "Complete o formul\xE1rio para continuar." }, messagingTemplate: { noInputDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis.", noMatchDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continuar", knowledgeAnswerHighlightFullArticleDefault: "Ver artigo completo", knowledgeInitialResponseMulti: "Para me ajudar a esclarecer seu objetivo, escolha um n\xFAmero na lista a seguir:", knowledgeInitialResponseMultiRetry: "Escolha um n\xFAmero; por exemplo, '1'.\nAqui est\xE1 a lista de op\xE7\xF5es novamente:", knowledgeNoMatch: "Nenhuma delas", knowledgeConfirmation: "Esta resposta resolveu sua d\xFAvida?", knowledgeFollowup: "Espero ter respondido \xE0 sua pergunta. Voc\xEA pode fazer outras perguntas, se desejar." }, noOverlay: { intent: { intentConfirmationStr1: "Acho que voc\xEA quer", intentConfirmationStr2: "\xC9 isso?" }, youSaid: { youSaidConfirmationStr1: "Voc\xEA disse", youSaidConfirmationStr2: "\xC9 isso?", youSaidConfirmationStr1DigitalBot: "Voc\xEA digitou" }, noInput: { noInputStr1: "Diga ou insira", noInputStr1DigitalBot: "Digite o" }, noMatch: { noMatchStr1: "Forne\xE7a" }, whatIs: { whatIsQuestionStr1: "O que \xE9", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Tenho", iGotContinuationStr2: "at\xE9 o momento. Continue." } }, defaultCallFlowOne: "Fluxo de chamadas padr\xE3o", errorHandlingAgentEscalationConfirmation: "Voc\xEA deseja falar com um assistente. \xC9 isso?", errorHandlingAgentEscalationHandover: "Aguarde um momento, vou transferi-lo para algu\xE9m.", errorHandlingErrorEventHandover: "Desculpe, ocorreu um erro. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingErrorEventHandoverVoiceSurvey: "Desculpe, ocorreu um erro. Adeus.", errorHandlingRecognitionEventHandover: "Desculpe, n\xE3o estou entendendo. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Desculpe, n\xE3o consigo entender. Adeus.", errorHandlingTTS: "Ocorreu um erro. Tente sua chamada novamente.", initialGreetingTTS: "Ol\xE1, esta \xE9 a sauda\xE7\xE3o inicial.", initialState: "Estado inicial", initialBotState: "Bot padr\xE3o", initialDigitalBotState: "Sauda\xE7\xE3o inicial", initialSurveyBotState: "Bot de pesquisa", intentConfirmation: "Acho que voc\xEA deseja %1$s, correto?", mainMenu: "Menu principal", mainMenuTTS: "Voc\xEA est\xE1 no menu principal, pressione 9 para desconectar", mainTask: "Tarefa", settingsConfirmationNoInputApology: "Desculpe, n\xE3o escutei. Por favor, diga sim ou n\xE3o.", settingsConfirmationNoInputApologyDigitalBot: 'N\xE3o recebi nenhuma resposta. Por favor, digite "Sim" ou "N\xE3o".', settingsConfirmationNoMatchApology: "Desculpe, diga sim ou n\xE3o.", settingsConfirmationNoMatchApologyDigitalBot: 'Por favor, digite "Sim" ou "N\xE3o".', settingsNoInputApology: "Desculpe, n\xE3o consegui escutar.", settingsNoInputApologyDigitalBot: "Desculpe, n\xE3o recebi nenhuma resposta.", settingsEndOfSessionMessageDigitalBot: "Voc\xEA n\xE3o respondeu, e por isso estou encerrando este chat. Por favor, volte se precisar de minha ajuda. Obrigado.", settingsNoMatchApology: "Desculpe.", settingsNoToConfirmationApology: "Enganei-me.", periodicStateName: "Estado recorrente" }; - }, 74478: function(e2, t2, i2) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + getDisplayName() { + return l.learning.label; } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.AnimationFrameScheduler = void 0; - var o = (function(e3) { - function t3() { - return null !== e3 && e3.apply(this, arguments) || this; + get helpTopic() { + return r.helpTopics.treeNodes.learningSettings; } - return r2(t3, e3), t3.prototype.flush = function(e4) { - this._active = true; - var t4 = this._scheduled; - this._scheduled = void 0; - var i3, n3 = this.actions; - e4 = e4 || n3.shift(); - do { - if (i3 = e4.execute(e4.state, e4.delay)) break; - } while ((e4 = n3[0]) && e4.id === t4 && n3.shift()); - if (this._active = false, i3) { - for (; (e4 = n3[0]) && e4.id === t4 && n3.shift(); ) e4.unsubscribe(); - throw i3; - } - }, t3; - })(i2(19533).AsyncScheduler); - t2.AnimationFrameScheduler = o; - }, 74483: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NameIdConfigurationListViewModel = void 0; - const n2 = i2(43212); - class r2 extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this.name = e3.name, this.id = e3.id, this.description = e3.description; + get isLearningSettingsNode() { + return true; } - get className() { - return "NameIdConfigurationListViewModel"; + get nodeGuxIcon() { + return "skills"; } - get displayName() { - return this.name; + get workbenchArchNodeName() { + return o.default.nodeIds.learning; } - get label() { - return this.name; + _destroy() { + super._destroy(); } } - t2.NameIdConfigurationListViewModel = r2; - }, 74535: (e2, t2, i2) => { + t2.default = c; + }, 29102(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(78432)), o = n2.__importDefault(i2(41714)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(56549)), l = n2.__importDefault(i2(8471)); - class u extends l.default { - constructor(e3) { - super(), this._checkItemUndefinedOrNull(this._infoParmCtor("flowIdNameTypeObject"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParmCtor("flowIdNameTypeObject.type"), e3.type, r2.default.FLOW_TYPES_ALL), this._flowIdNameTypeObject = e3; - } - get displayTypeName() { - return "ArchFlowInfoBasic"; - } - get logStr() { - if (!this._flowIdNameTypeObject) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrFlowId(e3, this.id), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - get isArchFlowInfoBasic() { - return true; - } - getFlowInfoAsync(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidFunction(this._infoParm("callbackFunction", "getFlowInfoAsync"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("this.id", "getFlowInfoAsync"), this.id, "There is no flow identifier on this flow information object to look up"); - const t3 = this._infoParm("this.type", "getFlowInfoAsync"); - this._checkItemIsValidLiteralString(t3, this.type, r2.default.FLOW_TYPES_ALL); - const i3 = yield s.default.findItemByIdAsync(o.default.getConfigListManagerForFlowType(this, t3, this.type), this.id, "flow id"), n3 = this.coreFactory.createArchWrapper(i3); - return a.default.executeCallback(this, "getFlowInfoAsync", e3, n3); - }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 } }); } get id() { - return this._flowIdNameTypeObject.id; + return "menuSettings"; } - get name() { - return this._flowIdNameTypeObject.name; + get className() { + return "MenuSettingsViewModel"; } - get type() { - return this._flowIdNameTypeObject.type; + get showInFlowSize() { + return false; } - } - t2.default = u; - }, 74613: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.flatMap = void 0; - var n2 = i2(67478); - t2.flatMap = n2.mergeMap; - }, 74617: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) return { extensionDialingMaxDelay: this.extensionDialingDelay.getConfiguration(e3, t3), listenForExtensionDialing: this.useExtensionDialing.getConfiguration(e3, t3), menuSelectionTimeout: this.promptRepeatDelay.getConfiguration(e3, t3), repeatCount: this.promptRepeatCount.getConfiguration(e3, t3) }; + this.isFlowSettings && (e3.defaultSettings || (e3.defaultSettings = new m()), e3.defaultSettings.Menu || (e3.defaultSettings.Menu = {}), e3.defaultSettings.Menu.promptRepeatCount = this.promptRepeatCount.getConfiguration(e3, t3), e3.defaultSettings.Menu.promptRepeatDelay = this.promptRepeatDelay.getConfiguration(e3, t3), e3.defaultSettings.Menu.extensionDialingDelay = this.extensionDialingDelay.getConfiguration(e3, t3), e3.defaultSettings.Menu.useExtensionDialing = this.useExtensionDialing.getConfiguration(e3, t3)); } - get _globalTypeName() { - return "formInput"; + getDisplayName() { + return f.menu.defaultMenuSettings; } - get displayTypeName() { - return "ArchValueFormInput"; + getNodeName() { + return f.customNodes.menus; } - get isArchValueFormInput() { + get isMenuSettingsNode() { return true; } - get title() { - return this._getAssignableProperty("title"); + loadConfiguration(e3) { + var t3; + this.isFlowSettings && !e3.defaultSettings && (e3.defaultSettings = new m()); + 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)), o2 = u.ExpressionTypeDurationOptions.create((e4) => e4.setDurationStyle(r.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(r.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"), o2.setDefaultText("P0D0H0M10S0F"), d2.setDefaultText("P0D0H0M1S0F"), p2.setDefaultText("true")) : (i3(n3), i3(o2), 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, o2), 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 subtitle() { - return this._getAssignableProperty("subtitle"); + get nodeGuxIcon() { + return d.default.menu; } - get placeholderText() { - return this._getAssignableProperty("placeholderText"); + get helpTopic() { + return _.helpTopics.treeNodes.menuSettings; } - get isMultipleLine() { - return this._getAssignableProperty("isMultipleLine"); + search(e3) { + e3.addToQueue(this.promptRepeatCount), e3.addToQueue(this.promptRepeatDelay), e3.addToQueue(this.extensionDialingDelay), e3.addToQueue(this.useExtensionDialing); } - get isRequired() { - return this._getAssignableProperty("isRequired"); + validate(e3) { + this.isValidatingExtDelay = true, this.promptRepeatDelay.validate(e3), this.promptRepeatCount.validate(e3), this.useExtensionDialing.validate(e3), this.isValidatingPromptDelay = true, this.extensionDialingDelay.validate(e3); } - setLiteralFormInput(e3, t3, i3, n3, r3) { - this.title.setLiteralString(e3), this.isMultipleLine.setLiteralBool(t3), this.isRequired.setLiteralBool(i3), n3 && this.subtitle.setLiteralString(n3), r3 && this.placeholderText.setLiteralString(r3); + validateExtDialDelayIsLessThanRepeatDelay(e3) { + const t3 = e3 === this.extensionDialingDelay ? f.menu.extDialDelayTooBigError : f.menu.promptRepeatDelayTooSmallError; + e3 !== this.extensionDialingDelay || this.isValidatingPromptDelay ? this.isValidatingExtDelay || p.validateItem(this.extensionDialingDelay, false, true) : p.validateItem(this.promptRepeatDelay, false, true), this.isValidatingExtDelay = false, this.isValidatingPromptDelay = false; + const i3 = this.parentFlow.menuSettings; + if (i3 !== this || this.parentFlow.isValidating || this.parentFlow.menus.forEach((e4) => p.validateNode(e4)), e3.hasValidationError) return; + const n3 = (e4, t4) => e4.isBlank ? t4 : e4, r2 = n3(this.useExtensionDialing, i3.useExtensionDialing); + if (!this.isFlowSettings && "false" === r2.text) return; + if (!this.isFlowSettings && this.extensionDialingDelay.isBlank && this.promptRepeatDelay.isBlank) return; + const a2 = n3(this.extensionDialingDelay, i3.extensionDialingDelay).toNumber(), s2 = n3(this.promptRepeatDelay, i3.promptRepeatDelay).toNumber(); + return o.default.isUndefined(a2) || o.default.isUndefined(s2) ? void 0 : a2 >= s2 ? t3 : void 0; } - } - t2.default = r2; - }, 74636: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeTimeOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get wrappedYamlName() { + return "settingsMenu"; } - constructor(e3) { - super(e3); + _destroy() { + super._destroy(), this.promptRepeatDelay && this.promptRepeatDelay.destroy(), this.promptRepeatCount && this.promptRepeatCount.destroy(), this.extensionDialingDelay && this.extensionDialingDelay.destroy(), this.useExtensionDialing && this.useExtensionDialing.destroy(); } - get isExpressionTypeTimeOptions() { - return true; + _initializeDesignTime() { + super._initializeDesignTime(), this.promptRepeatCount.initializeDesignTime(), this.promptRepeatDelay.initializeDesignTime(), this.extensionDialingDelay.initializeDesignTime(), this.useExtensionDialing.initializeDesignTime(); } - get className() { - return "ExpressionTypeTimeOptions"; + _prepareModel(e3, t3) { + const i3 = this.isFlowSettings ? e3.defaultSettings : e3; + return this.isFlowSettings ? (i3.Menu || (i3.Menu = {}), i3.Menu[t3] && !o.default.isEmpty(i3.Menu[t3]) || (i3.Menu[t3] = new g()), i3.Menu[t3]) : (i3[t3] && !o.default.isEmpty(i3[t3]) || (i3[t3] = new g()), i3[t3]); } } - t2.ExpressionTypeTimeOptions = r2; - }, 74705: (e2, t2, i2) => { + t2.default = T; + }, 4406(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(55988)); - class a extends o.default { - constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDataPairList"), e3); + const n2 = i2(31635), o = n2.__importDefault(i2(2318)), r = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "optimizationOverview"; + class u extends a.default { + constructor() { + super(...arguments), this._actionId = ""; } - get _globalTypeName() { - return ""; + get actionId() { + return this._actionId; } - get displayTypeName() { - return "ArchNamedValueList"; + set actionId(e3) { + this._actionId = e3; } - get length() { - return this._length; + get outOfService() { + return !o.default.currentUserCanUseOptimizationOverview; } - getNamedValueByIndex(e3) { - return this._getNamedValueByIndex(e3); + get id() { + return l; } - getNamedValueByName(e3) { - const t3 = this._infoParm("valueName", "getNamedValueByName"); - this._checkItemIsValidLiteralString(t3, e3, false); - const i3 = r2.default.find(this._coreExpressionContainerViewModel.items, function(t4) { - return e3 === t4.name; - }); - if (i3) return this.coreFactory.createArchWrapper(i3); + static get id() { + return l; } - get isArchNamedValueList() { + get showInFlowSize() { + return false; + } + get className() { + return "OptimizationOverviewModel"; + } + getDisplayName() { + return s.botSessionViewer.optimizationDashboardLabel; + } + get isBotSessionViewerNode() { return true; } - } - t2.default = a; - }, 74731: (e2, t2, i2) => { - "use strict"; - 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) { - c() ? a(e3, t3) : s.push({ unexpandedFlowTypes: e3, callback: 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]) => { - (function(e5) { - const t5 = (0, n2.expandToFlowTypeIds)(e5); - return t5.length > 0 ? t5 : [e5]; - })(e4).forEach((e5) => { - i3[e5] = Object.assign(t4, { id: e5 }); - }); - }), r2.flowTypes.flowTypesAll.forEach((e4) => { - i3[e4] || (i3[e4] = { id: e4, isAvailable: false }); - }), t3(i3); - } catch (e4) { - console.error(e4); + get nodeGuxIcon() { + return "graph-pie"; } - } - 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); + get helpTopic() { + return r.helpTopics.treeNodes.optimizationDashboard; + } + get botSessionViewerArchNodeName() { + return l; } } - function c() { - return (0, o.haveOrgFlowTypeExpansionsBeenSet)(); - } - }, 74761: (e2, t2) => { + t2.default = u; + }, 51971(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - }, 74797: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchBaseActionConversationAttribute = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = n2.__importDefault(i2(56549)), a = i2(85415), s = n2.__importDefault(i2(21345)); - class l extends s.default { - constructor(e3) { - super(e3), e3.input && (this._input = this.coreFactory.createArchWrapper(e3.input)), e3.output && (this._output = this.coreFactory.createArchWrapper(e3.output)), e3.conversationId && (this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId)); + const n2 = i2(31635), o = n2.__importStar(i2(81116)), r = 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"; } - get displayTypeName() { - return this._scriptingName; + get id() { + return "outboundSettings"; } - get isArchBaseActionConversationAttribute() { - return true; + get className() { + return "OutboundCallSettingsViewModel"; } - get conversationCustomAttributeSchemaOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get helpTopic() { + return s.helpTopics.treeNodes.outboundCallSettings; } - setConversationCustomAttributeSchemaByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("conversationCustomAttributeSchemaId", "setConversationCustomAttributeSchemaByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationCustomAttributeSchemaByIdAsync"), t3, true); - const i3 = yield o.default.findItemByIdAsync(a.conversationCustomAttributeSchemaManager, e3, "cca schema"); - return this.logNote("Found info for the cca schema named '" + i3.name + "' for the passed in cca schema id '" + e3 + "'. Getting cca schema details."), this._checkItem(this._infoMethod("setConversationCustomAttributeSchemaByIdAsync"), i3.disabled, "This script references a disabled schema. Update all Conversation Attributes actions (GET, CREATE, UPDATE) to use an active schema."), yield this._coreActionViewModel.setSelectedActionByViewModel(i3), yield this._updateInputOutput(), r2.default.executeCallback(this, "setConversationCustomAttributeSchemaByIdAsync", t3, this); - }); + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) return { contactList: this.contactList.getConfiguration(e3, t3), wrapupCode: this.defaultWrapupCode.getConfiguration(e3, t3) }; + e3.outboundCallSettings || (e3.outboundCallSettings = new u()), e3.outboundCallSettings.contactList = this.contactList.getConfiguration(e3, t3), e3.outboundCallSettings.defaultWrapupCode = this.defaultWrapupCode.getConfiguration(e3, t3); } - setConversationCustomAttributeSchemaByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("conversationCustomAttributeSchemaName", "setConversationCustomAttributeSchemaByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationCustomAttributeSchemaByNameAsync"), t3, true); - const i3 = yield o.default.findItemByValueAsync(a.conversationCustomAttributeSchemaManager, e3, "cca schema"); - this.logNote("Found partial info for the cca schema named '" + i3.name + "' for the passed in cca schema name '" + e3 + "'. Getting full cca schema details."), this._checkItem(this._infoMethod("setConversationCustomAttributeSchemaByNameAsync"), i3.disabled, "This script references a disabled schema. Update all Conversation Attributes actions (GET, CREATE, UPDATE) to use an active schema."); - const n3 = yield o.default.findItemByIdAsync(a.conversationCustomAttributeSchemaManager, i3.id, "cca schema"); - return this.logNote("Found info for the cca schema named '" + n3.name + "' for the passed in cca schema id '" + i3.id + "'. Getting cca schema details."), yield this._coreActionViewModel.setSelectedActionByViewModel(n3), yield this._updateInputOutput(), r2.default.executeCallback(this, "setConversationCustomAttributeSchemaByNameAsync", t3, this); - }); + getDisplayName() { + return c.outboundCallSettings.treeLabel; } - _updateInputOutput() { - return n2.__awaiter(this, void 0, void 0, function* () { - this._input && (this._input = this.coreFactory.createArchWrapper(this._getCoreViewModel().input)), this._output && (this._output = this.coreFactory.createArchWrapper(this._getCoreViewModel().output)); - }); + get isOutboundCallSettingsNode() { + return true; } - get input() { - return this._input; + loadConfiguration(e3) { + this.contactList = e3.outboundCallSettings ? o.expression(this.parentFlow, this, e3.outboundCallSettings.contactList, c.expression.contactList, r.globalTypes.contactList, null, r.globalTypes.contactList.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-contactList")) : this.contactList ? this.contactList : o.expression(this.parentFlow, this, null, c.expression.contactList, r.globalTypes.contactList, null, r.globalTypes.contactList.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-contactList")), this.defaultWrapupCode = e3.outboundCallSettings ? o.expression(this.parentFlow, this, e3.outboundCallSettings.defaultWrapupCode, c.outboundCallSettings.defaultWrapupCodeLabel, r.globalTypes.wrapupCode, null, r.globalTypes.wrapupCode.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-wrapupCode")) : this.defaultWrapupCode ? this.defaultWrapupCode : o.expression(this.parentFlow, this, null, c.outboundCallSettings.defaultWrapupCodeLabel, r.globalTypes.wrapupCode, null, r.globalTypes.wrapupCode.createExpressionOptionClass().setAsInput(true).setIninTestingField("outboundSettings-wrapupCode")); } - get output() { - return this._output; + loadSettings(e3, t3) { + this.contactList = o.expression(this.parentFlow, this, null, c.expression.contactList, r.globalTypes.contactList, null, r.globalTypes.contactList.createExpressionOptionClass().setAsInput(true)), this.contactList.update(e3.name, e3.id), this.defaultWrapupCode = o.expression(this.parentFlow, this, null, c.outboundCallSettings.defaultWrapupCodeLabel, r.globalTypes.wrapupCode, null, r.globalTypes.contactList.createExpressionOptionClass().setAsInput(true)), this.defaultWrapupCode.update(t3.name, t3.id); } - get conversationId() { - return this._conversationId; + get nodeGuxIcon() { + return "fa/gears-regular"; } - } - t2.ArchBaseActionConversationAttribute = l; - }, 74803: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(7401); - function o(e3) { - o.baseConstructor.apply(this, arguments), this._initialize(e3); - } - n2.extend(o, "DefaultSettings"), Object.defineProperties(o.prototype, { _initialize: { value: function(e3) { - for (const t3 in e3) if (e3.hasOwnProperty(t3)) { - this[t3] = e3[t3]; - for (const e4 in this[t3]) this[t3].hasOwnProperty(e4) && (this[t3][e4] instanceof Array ? this._reviveItemArray(this[t3][e4]) : this[t3][e4] && (this[t3][e4] = this.reviveItem(this[t3][e4], r2))); + search(e3) { + e3.addToQueue(this.contactList), e3.addToQueue(this.defaultWrapupCode); } - } }, _reviveItemArray: { value: function(e3) { - for (let t3 = 0; t3 < e3.length; t3++) e3[t3] = this.reviveItem(e3[t3], r2); - } } }), e2.exports = o; - }, 74817: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.trackingId = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(73649).extend(n2, "BaseClipboardManifestItemWithTrackingtId"), e2.exports = n2; - }, 74828: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getSingleNuanceMixBotJobResults = t2.getSingleNuanceMixBotJobStatus = t2.startGetSingleNuanceMixBot = t2.getAllNuanceMixBotsJobResults = t2.getAllNuanceMixBotsJobStatus = t2.startGetAllNuanceMixBots = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(84584), o = i2(20125), a = i2(24528), s = { ignoreBadResponse: true }; - t2.startGetAllNuanceMixBots = n2.default.request("POST", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/jobs?onlyRegisteredBots=true", o, s), t2.getAllNuanceMixBotsJobStatus = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/jobs/{jobId}", o, s), t2.getAllNuanceMixBotsJobResults = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/jobs/{jobId}/results", a, s), t2.startGetSingleNuanceMixBot = n2.default.request("POST", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/{botId}/jobs?expand=variables&expand=transferNodes&expand=channels&expand=locales", o, s), t2.getSingleNuanceMixBotJobStatus = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/{botId}/jobs/{jobId}", o, s), t2.getSingleNuanceMixBotJobResults = n2.default.request("GET", "{public-api.apps}/api/v2/integrations/speech/nuance/{integrationId}/bots/{botId}/jobs/{jobId}/results", r2, s); - }, 74871: (e2, t2, i2) => { - const n2 = i2(11475), r2 = i2(63005).default; - function o() { - o.baseConstructor.apply(this, arguments), this.facets || (this.facets = new r2({ decimalPlaces: 10 })); - } - n2.extend(o, "DecimalVariable", true), Object.defineProperties(o.prototype, { facets: { enumerable: false, get: function() { - return this._facets; - }, set: function(e3) { - this._facets = this.reviveItem(e3, r2); - } } }), 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)), 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); + updateDependencies() { + this.contactList && a.registerExpression(this.contactList), this.defaultWrapupCode && a.registerExpression(this.defaultWrapupCode); } - static get branchInfo() { - return [s.default.fake, s.default.failure, s.default.timeout]; + validate(e3) { + this.contactList.validate(e3), this.defaultWrapupCode.validate(e3); } - static get managedProperties() { - 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")) }]; + get wrappedYamlName() { + return "settingsOutboundCall"; + } + _destroy() { + super._destroy(), this.contactList && this.contactList.destroy(), this.defaultWrapupCode && this.defaultWrapupCode.destroy(); + } + _initializeDesignTime() { + super._initializeDesignTime(), this.contactList.initializeDesignTime(), this.defaultWrapupCode.initializeDesignTime(); } } - 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) => { + t2.default = d; + }, 19359(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(31145), o = n2.__importDefault(i2(99025)), a = i2(64420), { flowTypes: s } = i2(96618), l = i2(88); - class u extends r2.NluFlowViewModel { - constructor(e3) { - super(e3), this.speechRecognition = new o.default(this), this._addToAutoManageSettings(this.speechRecognition); + const n2 = i2(31635), o = n2.__importDefault(i2(2318)), r = i2(12179), a = n2.__importDefault(i2(17102)), s = i2(47957), l = "pathDiscovery"; + class u extends a.default { + get outOfService() { + return !o.default.currentUserCanUsePathDiscovery && !o.default.currentUserCanUsePathDiscoveryCallFlows && !o.default.currentUserCanUsePathDiscoveryV3Flows; } - get className() { - return "VoiceFlowViewModel"; + get id() { + return l; } - get isVoiceFlow() { - return true; + static get id() { + return l; } - get type() { - return s.flowTypeVoice; + get showInFlowSize() { + return false; } - get wrappedYamlName() { - return "voice"; + get className() { + return "PathDiscoveryViewModel"; } - getFlowConfigurationClass() { - return l; + getDisplayName() { + return s.pathDiscovery.pathDiscoveryLabel; } - get overrideWireFlowConfiguration() { - return a.getVoiceFlowConfiguration; + get nodeGuxIcon() { + return "fa/diagram-project-regular"; } - get overrideWireFlowVersionConfiguration() { - return a.getVersionVoiceflowConfiguration; + get helpTopic() { + return r.helpTopics.treeNodes.journeyFlows; + } + get isPathDiscoveryNode() { + return true; + } + get pathDiscoveryNodeArchName() { + return l; } } t2.default = u; - }, 74986: (e2, t2, i2) => { + }, 57443(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), 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"); - } - _setFromFacets(e3) { - super._setFromFacets(e3), this._setFacetIfSet(this.setMinValInclusive, e3.minValInclusive), this._setFacetIfSet(this.setMaxValInclusive, e3.maxValInclusive); - } - _facetValidateValue(e3, t3) { - if (void 0 !== this.minVal) { - if (this.minValInclusive) { - 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)(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, 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))); + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = 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 c; } - _getFacetValueForDisplay(e3) { - return e3; + static get id() { + return c; } - get hasDescriptionInfo() { - return !!super.hasDescriptionInfo || !o.default.isUndefined(this.minVal) || !o.default.isUndefined(this.maxVal); + get showInFlowSize() { + return false; } get className() { - return "MinMaxFacets"; - } - get isMinMaxFacets() { - return true; + return "SlotSettingsViewModel"; } - get maxVal() { - return this._maxVal; + getDisplayName() { + return u.clearSlot.slotsLabel; } - get maxValInclusive() { - return this._maxValInclusive; + get isSlotSettingNode() { + return true; } - set maxValInclusive(e3) { - this._maxValInclusive = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "maxValInclusive", "value")); + get nodeGuxIcon() { + return "fa/bullseye-regular"; } - setMaxValInclusive(e3) { - return this.maxValInclusive = e3, this; + get helpTopic() { + return s.helpTopics.treeNodes.slotTypeSettings; } - get minVal() { - return this._minVal; + get workbenchArchNodeName() { + return r.default.nodeIds.slots; } - get minValInclusive() { - return this._minValInclusive; + get useLabelBadge() { + return this.isLlmSlotEnabled; } - set minValInclusive(e3) { - this._minValInclusive = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "minValInclusive", "value")); + get isLlmSlotEnabled() { + return this.virtualAgentEnabled && o.isFeatureAvailable(a.default.botFlowsLLMPoweredSlot); } - setMinValInclusive(e3) { - return this.minValInclusive = e3, this; + _destroy() { + super._destroy(); } } - t2.default = p, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], p.prototype, "maxVal", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "maxValInclusive", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], p.prototype, "minVal", null), n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Boolean), n2.__metadata("design:paramtypes", [Object])], p.prototype, "minValInclusive", null); - }, 74998: (e2, t2, i2) => { + t2.default = d; + }, 15179(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(99772), o = n2.__importDefault(i2(96727)), a = i2(12847); - class s extends r2.BaseBuilderWithBuilderPartsViewModel { - constructor({ owningExpression: e3, model: t3, reId: i3 }) { - super(e3, t3, void 0, i3, false); + const n2 = i2(31635), o = n2.__importDefault(i2(77862)), r = i2(12179), a = n2.__importDefault(i2(27377)), s = i2(47957), l = "slotTypeSettings"; + class u extends a.default { + get id() { + return l; + } + static get id() { + return l; + } + get showInFlowSize() { + return false; } get className() { - return "BuilderWithSingleBuilderPartViewModel"; + return "SlotTypeSettingsViewModel"; } - get isBuilderWithSingleBuilderPartViewModel() { + getDisplayName() { + return s.slotTypes.label; + } + get isSlotSettingsViewModel() { return true; } - _buildExpressionGenerationFromManager(e3) { - this.builderDef.maxBuilderPartCount > 1 && a.error(`${this.builderDef.name} is mis-configured to support multiple parts: ${this.builderDef.maxBuilderPartCount}`); - const t3 = e3.getIndividualPartGenerations(); - return 1 === t3.length ? t3[0] : o.default.createEmptyStringGeneration(); + get isSlotTypeSettingNode() { + return true; + } + get nodeGuxIcon() { + return "file-text"; + } + get helpTopic() { + return r.helpTopics.treeNodes.slotTypeSettings; + } + get workbenchArchNodeName() { + return o.default.nodeIds.slotTypes; + } + _destroy() { + super._destroy(); } } - t2.default = s; - }, 75019: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.materialize = void 0; - var n2 = i2(31245), r2 = i2(65212), o = i2(17214); - t2.materialize = function() { - return r2.operate(function(e3, t3) { - e3.subscribe(o.createOperatorSubscriber(t3, function(e4) { - t3.next(n2.Notification.createNext(e4)); - }, function() { - t3.next(n2.Notification.createComplete()), t3.complete(); - }, function(e4) { - t3.next(n2.Notification.createError(e4)), t3.complete(); - })); - }); - }; - }, 75151: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { setWrapupCodeActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _wrapupCode: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.wrapupCode.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.wrapupCode.pasteResolveOldToNewValues(e3); - } }, wrapupCode: { enumerable: true, get: function() { - return this._wrapupCode; - }, set: function(e3) { - this._wrapupCode = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 75228: (e2, t2, i2) => { + t2.default = u; + }, 99025(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)), c = i2(47957), d = "intentsSettings"; - class p extends u.default { - constructor() { - super(...arguments), this.topic = o.getTopic("IntentsSettingsViewModel"); + const n2 = i2(31635), o = i2(17604), r = 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 } }); } - get id() { - return d; + get asrCompanyDir() { + return this.speechRecCompanyDirectory.text === a.default.true ? this.disableAsrCompanyDirectory.text !== a.default.true ? p.default.entireFlow : null : this.disableAsrCompanyDirectory.text === a.default.true ? p.default.none : p.default.startUpObject; } - static get id() { - return d; + get hasRecordingSettingsOnly() { + return !this._supportsDefaultSpeechSettings && !this._supportsCompanyDirectory && !this._supportsDisableASR; } - get className() { - return "IntentsSettingsViewModel"; + get id() { + return "speechRecognition"; } get showInFlowSize() { return false; } + get className() { + return "SpeechRecSettingsViewModel"; + } getDisplayName() { - return c.intents.label; + return this.parentFlow.definition.supportsRecordingSettings ? this.hasRecordingSettingsOnly ? S.generic.recording : S.speechRec.suppressCallRecordingLabel : S.speechRec.label; } - get isIntentsSettingsNode() { + getConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const i3 = {}; + return this._supportsDefaultSpeechSettings && (i3.completeMatchTimeout = this.speechRecTimeoutComplete.getConfiguration(e3, t3), i3.incompleteMatchTimeout = this.speechRecTimeoutIncomplete.getConfiguration(e3, t3), i3.maxSpeechLengthTimeout = this.speechRecTimeoutTotal.getConfiguration(e3, t3), i3.minConfidenceLevel = this.speechRecMinConfidence.getConfiguration(e3, t3)), this.isFlowSettings && (this._supportsCompanyDirectory && (i3.asrCompanyDir = this.asrCompanyDir), this._supportsDisableASR && (i3.asrEnabledOnFlow = this.disableAsr.text !== a.default.true), this._canSuppressCallRecordings && (i3.suppressRecording = this.suppressRecording.text === a.default.true)), i3; + } + this.isFlowSettings && (e3.defaultSettings || (e3.defaultSettings = new T()), e3.defaultSettings.SpeechRec || (e3.defaultSettings.SpeechRec = {}), e3.speechRecCompanyDirectory = this.speechRecCompanyDirectory.getConfiguration(e3, t3), e3.disableAsr = this.disableAsr.getConfiguration(e3, t3), e3.disableAsrCompanyDirectory = this.disableAsrCompanyDirectory.getConfiguration(e3, t3), e3.speechRecEngine = this.speechRecEngine.getConfiguration(e3, t3), e3.suppressRecording = this.suppressRecording.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecMinConfidence = this.speechRecMinConfidence.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecTimeoutComplete = this.speechRecTimeoutComplete.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecTimeoutIncomplete = this.speechRecTimeoutIncomplete.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecTimeoutTotal = this.speechRecTimeoutTotal.getConfiguration(e3, t3)); + } + get isSpeechRecNode() { return true; } + setNewInstanceDefaults() { + this._canSuppressCallRecordings && this.suppressRecording.setAsLiteral(this._suppressCallRecordingsDefaultValue ? a.default.true : a.default.false); + } + 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 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)), o2 = u.globalTypes.duration.expressionOptionClass.create((e4) => e4.setDurationStyle(s.durationStyles.secondsAndTenthsDuration).setAllowModeLiteralOnly().facets.setMinDur(100, true).setMaxDur(2e4, true)), r2 = 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), o2.setDefaultText(a.default.litDurationFifteenHundredMs), r2.setDefaultText(a.default.litDurationTwentySeconds)) : (t3(i3), t3(n3), t3(o2), t3(r2)), 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, o2), this.speechRecTimeoutIncomplete.outOfService = !this._supportsDefaultSpeechSettings, this.speechRecTimeoutTotal = l.expression(this.parentFlow, this.parent, this._prepareModel(e3, "speechRecTimeoutTotal"), S.speechRec.timeoutMaxSpeech, u.globalTypes.duration, null, r2), this.speechRecTimeoutTotal.outOfService = !this._supportsDefaultSpeechSettings; + } get nodeGuxIcon() { - return "fa/signs-post-regular"; + return this.hasRecordingSettingsOnly ? d.default.record : d.default.speechRec; } get helpTopic() { - return l.helpTopics.treeNodes.intentsSettings; + return this.parentFlow.isVoiceSurveyFlow ? g.helpTopics.treeNodes.speechRecConfigVoiceSurvey : g.helpTopics.treeNodes.speechRecConfig; } - get useLabelBadge() { - return this.virtualAgentEnabled; + search(e3) { + this.isFlowSettings && e3.addToQueue(this.speechRecCompanyDirectory), this.isFlowSettings && e3.addToQueue(this.disableAsr), this.isFlowSettings && e3.addToQueue(this.disableAsrCompanyDirectory), this.isFlowSettings && e3.addToQueue(this.suppressRecording), e3.addToQueue(this.speechRecMinConfidence), e3.addToQueue(this.speechRecTimeoutComplete), e3.addToQueue(this.speechRecTimeoutIncomplete), e3.addToQueue(this.speechRecTimeoutTotal); + } + validateLanguageSpeechRecSupport(e3) { + const t3 = this.getUnsupportedLanguageError(); + t3 && e3.addError(this, t3); + } + validate(e3) { + this.speechRecCompanyDirectory && this.speechRecCompanyDirectory.validate(e3), this.disableAsr && this.disableAsr.validate(e3), this.disableAsrCompanyDirectory && this.disableAsrCompanyDirectory.validate(e3), this.suppressRecording && this.suppressRecording.validate(e3), this._supportsDefaultSpeechSettings && (this.speechRecMinConfidence.validate(e3), this.speechRecTimeoutComplete.validate(e3), this.speechRecTimeoutIncomplete.validate(e3), this.speechRecTimeoutTotal.validate(e3)); + } + get wrappedYamlName() { + return "settingsSpeechRec"; } _destroy() { - super._destroy(); + super._destroy(), this.speechRecCompanyDirectory && this.speechRecCompanyDirectory.destroy(), this.disableAsr && this.disableAsr.destroy(), this.disableAsrCompanyDirectory && this.disableAsrCompanyDirectory.destroy(), this.suppressRecording && this.suppressRecording.destroy(), this.speechRecMinConfidence && this.speechRecMinConfidence.destroy(), this.speechRecTimeoutComplete && this.speechRecTimeoutComplete.destroy(), this.speechRecTimeoutIncomplete && this.speechRecTimeoutIncomplete.destroy(), this.speechRecTimeoutTotal && this.speechRecTimeoutTotal.destroy(), this.speechRecEngine && this.speechRecEngine.destroy(); } - get workbenchArchNodeName() { - return a.default.nodeIds.intents; + _initializeDesignTime() { + super._initializeDesignTime(), this.speechRecMinConfidence.initializeDesignTime(), this.speechRecTimeoutComplete.initializeDesignTime(), this.speechRecTimeoutIncomplete.initializeDesignTime(), this.speechRecTimeoutTotal.initializeDesignTime(), this.speechRecCompanyDirectory && this.speechRecCompanyDirectory.initializeDesignTime(), this.disableAsrCompanyDirectory && this.disableAsrCompanyDirectory.initializeDesignTime(), this.disableAsr && this.disableAsr.initializeDesignTime(), this.suppressRecording && this.suppressRecording.initializeDesignTime(); } - validate(e3) { - super.validate(e3); - const t3 = this.parentFlow.nluMetaData.getArchNluWithFallback(); - if (this.parentFlow.isDigitalBotFlow && r2.default.isArray(null == t3 ? void 0 : t3.intents)) { - const i3 = this.parentFlow.nluMetaData.intentsToReusableTasksMapping, n3 = !!t3.intents.find((e4) => !i3[e4.name]), r3 = !!Object.entries(i3).find(([e4, t4]) => { - const i4 = this.parentFlow.getTaskById(t4.id); - return !i4 || i4 && !i4.isReusableTask; - }); - n3 && e3.addError(this, s.default.resolveString(c.digitalBot.intentNotMappedToTask)), r3 && e3.addError(this, s.default.resolveString(c.digitalBot.intentMappedToInvalidTask)); - } + enableSpeechRecChanged(e3) { + this.disableAsr.setAsLiteral(e3 ? a.default.false : a.default.true), this.disableAsrCompanyDirectory.outOfService = !e3, this.speechRecCompanyDirectory.outOfService = !e3 || !this._supportsCompanyDirectory; } - } - t2.default = p; - }, 75255: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeScheduleGroupOptions = void 0; - const n2 = i2(71056); - class r2 extends n2.ExpressionTypeNetworkObjectOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + _prepareModel(e3, t3, i3) { + const n3 = this.isFlowSettings ? e3.defaultSettings : e3; + return this.isFlowSettings ? (n3.SpeechRec || (n3.SpeechRec = {}), n3.SpeechRec[t3] && !r.default.isEmpty(n3.SpeechRec[t3]) || (n3.SpeechRec[t3] = i3 || new y()), n3.SpeechRec[t3]) : (n3[t3] && !r.default.isEmpty(n3[t3]) || (n3[t3] = i3 || new y()), n3[t3]); } - constructor(e3) { - super(e3); + getUnsupportedLanguageError() { + if (!this.disableAsr || this.disableAsr.text === a.default.true || !this.disableAsrCompanyDirectory || this.disableAsrCompanyDirectory.text === a.default.true) return; + const e3 = r.default.filter(this.parentFlow.supportedLanguageOptions, (e4) => !h.supportsSpeechRecForFlowType(e4.language, this.parentFlow.type)), t3 = e3.length > 1 ? S.speechRec.companyDirectoryNotSupportedPlural : S.speechRec.companyDirectoryNotSupportedSingle, i3 = _.getListDisplayString(r.default.map(e3, (e4) => h.getLanguageNameAndCodeDisplay(e4.language))); + return e3.length > 0 ? (0, o.sprintf)(t3, i3) : ""; } - get className() { - return "ExpressionTypeScheduleGroupOptions"; + _getDisableWithSpeechRecError() { + if (this.disableAsr.text !== a.default.false) return r.default.any(this.parentFlow.menus, (e3) => { + if (!e3.isHidden) return r.default.any(e3.choices, (e4) => e4.speechRecTerms.hasTermsAny()); + }) && this.disableAsr.text === a.default.true ? S.speechRec.errorSpeechRecDisabledWithSpeechRec : void 0; } - get isExpressionTypeScheduleGroupOptions() { - return true; + _getDisableEnableError() { + const e3 = this.disableAsr.text === a.default.true, t3 = this.speechRecCompanyDirectory.text === a.default.true; + if (e3 && t3) return S.speechRec.errorSpeechRecEnabledDisabled; + } + setCompanyDirectoryHandling(e3, t3) { + this.speechRecCompanyDirectory.setAsLiteral(e3), this.disableAsrCompanyDirectory.setAsLiteral(t3), (0, m.validateNode)(this); } } - t2.ExpressionTypeScheduleGroupOptions = r2; - }, 75266: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.forkJoin = void 0; - 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), 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(d[t5]).subscribe(s.createOperatorSubscriber(e4, function(e5) { - a3 || (a3 = true, r3--), i4[t5] = e5; - }, function() { - return n3--; - }, void 0, function() { - n3 && a3 || (r3 || e4.next(p ? u.createObject(p, i4) : i4), e4.complete()); - })); - }, l2 = 0; l2 < t4; l2++) a2(l2); - else e4.complete(); - }); - return i3 ? _.pipe(l.mapOneOrManyArgs(i3)) : _; - }; - }, 75342: (e2, t2, i2) => { + t2.default = A; + }, 48263(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(97629), a = n2.__importDefault(i2(45894)); - class s extends a.default { + const n2 = i2(31635), o = i2(96618), r = 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), I = i2(99469), C = i2(1115), O = n2.__importDefault(i2(22917)), b = i2(12323), E = i2(47957); + class w extends y.default { constructor(e3) { - super(e3, o.imageManager); + super(e3, "virtualAgentSettings", b), this.labelBadge = A.aiPoweredBadgeWithNoText; } - get _globalTypeName() { - return "image"; + static get managedProperties() { + const e3 = { responsiveForm: true, hideInfoIcon: true, showInputDescription: true }; + return [{ label: E.customNodes.virtualAgentSettings.virtualAgentSettingsSummarizeConversationTitle, supportedFlowTypes: [o.flowTypes.flowTypeBot, o.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: [o.flowTypes.flowTypeBot, o.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: [o.flowTypes.flowTypeBot, o.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: [o.flowTypes.flowTypeBot, o.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", 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: O.default.create("conversationSummary", (e4) => e4.setSkipProperty(true)) }]; } - get displayTypeName() { - return "ArchValueImage"; + _initializeDesignTime() { + super._initializeDesignTime(), this.conversationSummary.isOptional = true, this.addAutoCleanedUpEventListener(d.botFlowSettingChanged, (e3) => { + e3.setting === _.default.variable.virtualAgentEnabled && (this.setOutOfService(), this.setDefaultVirtualAgentActionSettings(true)); + }), this.addAutoCleanedUpEventListener(d.promptChanged, (e3) => { + "voiceProcessingPrompt" === e3.type && this.setOutOfService(); + }), this.setOutOfService(); } - isArchValueImage() { + getConfiguration(e3, t3) { + var i3, n3; + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const o2 = super.getConfiguration(e3, t3); + return o2 && !(null === (n3 = null === (i3 = o2.enabledWrapupCodes) || void 0 === i3 ? void 0 : i3.lit) || void 0 === n3 ? void 0 : n3.length) && delete o2.enabledWrapupCodes, o2 && this.summarizationEnabled && this.conversationSummaryName && (o2.conversationSummarySetting = { name: this.conversationSummaryName }), o2; + } + super.getConfiguration(e3, t3); + } + setOutOfService() { + if (this.summarization.outOfService = !(this.getVirtualAgentAllowed() && p.isFeatureAvailable(g.default.botFlowsVirtualAgentSummarization)), this.updateSettingsDependentOnSummarization(), this.assignWrapupCodes.outOfService = !(this.getVirtualAgentAllowed() && p.isFeatureAvailable(g.default.botFlowsDigitalBotFlowsBotSummarization)), this.updateSettingsDependentOnAssignWrapupCodes(), this.parentFlow.isBotFlow) { + const e3 = this.parentFlow.defaultSettings.getDefaultExpression(h.callGuideActionType, "voiceProcessingPrompt"); + if (e3) { + const t4 = this._getVoiceProcessingPromptSetInBotFlowSettings(); + e3.outOfService = !(this.getVirtualAgentAllowed() && this.voiceProcessingPromptAvailable) || t4, e3.options.setUiDisableOnOutOfService(this.getVirtualAgentAllowed()); + } + const t3 = this.parentFlow.defaultSettings.getDefaultExpression(m.callAgenticVirtualAgentActionType, "voiceProcessingPrompt"); + t3 && (t3.outOfService = !(this.getVirtualAgentAllowed() && this.voiceProcessingPromptAvailable && p.isFeatureAvailable(g.default.botFlowsAgenticVirtualAgentSage))); + } + } + validate(e3) { + var t3, i3, n3, o2; + if (super.validate(e3), !this.outOfService && !this.conversationSummary.outOfService && this.conversationSummaryId) { + 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 === (o2 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.defaultLanguage) || void 0 === o2 ? void 0 : o2.toLowerCase())) { + const t4 = (0, r.sprintf)(E.customNodes.virtualAgentSettings.conversationSummarySettingsSummaryNotFound, this.conversationSummaryName); + e3.addError(this.conversationSummary, t4, false, true), this.conversationSummary.currentUiErrorMessage = t4; + } + } + } + setNewInstanceDefaults() { + super.setNewInstanceDefaults(), this.setDefaultVirtualAgentActionSettings(false); + } + updateSettingsDependentOnAssignWrapupCodes() { + this.enabledWrapupCodes.outOfService = this.assignWrapupCodes.outOfService || this.assignWrapupCodes.text === a.default.false; + } + updateSettingsDependentOnSummarization() { + this.conversationSummary.outOfService = !this.summarizationEnabled, (0, C.validateNode)(this.parentFlow.languages, true), (0, C.validateNode)(this, true); + } + get useLabelBadge() { return true; } - setLiteralByImageIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("imageId", "setLiteralByImageIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByImageIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByImageIdAsync", t3, this)); + get isVirtualAgentSettingsNode() { + return true; } - setLiteralByImageNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("imageName", "setLiteralByImageNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByImageNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByImageNameAsync", t3, this)); + get className() { + return "VirtualAgentSettingsViewModel"; } - } - 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), 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); + get helpTopic() { + return T.helpTopics.treeNodes.virtualAgentSettings; } - static get managedProperties() { - 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 }]; + get id() { + return "virtualAgentSettings"; } - _getPossibleErrors() { - return s.encryptDataFailureReasons; + getDisplayName() { + return E.customNodes.virtualAgentSettings.virtualAgentSettingsTitle; } - propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.dataToEncrypt && r2.validateItem(this.encryptedDataOutput, true, true); + get wrappedYamlName() { + return "settingsVirtualAgent"; } - _initializeDesignTime() { - super._initializeDesignTime(), this.encryptedDataOutput.attachValidator((e3) => { - 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))); - }); + get nodeGuxIcon() { + return "clipboard-success"; + } + get virtualAgentEnabled() { + var e3; + return null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled; + } + get outOfService() { + return !(u.default.currentUserCanUseVirtualAgentItems && this.getVirtualAgentAllowed()); + } + get summarizationEnabled() { + return this.getVirtualAgentAllowed() && p.isFeatureAvailable(g.default.botFlowsVirtualAgentCustomSummaries) && !this.summarization.outOfService && this.summarization.isBooleanTrue; + } + addEnabledWrapupCode(e3) { + c.wrapupCodeManager.addItem(e3, true), this.enabledWrapupCodes.addItem().updateFromConfigListManagerItem(e3); + } + removeEnabledWrapupCode(e3) { + var t3, i3; + const n3 = null === (i3 = null === (t3 = this.enabledWrapupCodes.collectionItems) || void 0 === t3 ? void 0 : t3.items) || void 0 === i3 ? void 0 : i3.find((t4) => t4.model.config.val === e3); + n3 && this.enabledWrapupCodes.removeChild(n3); + } + getVirtualAgentAllowed() { + return (this.parentFlow.isBotFlow || this.parentFlow.isDigitalBotFlow) && this.virtualAgentEnabled; + } + get voiceProcessingPromptAvailable() { + return p.isFeatureAvailable(g.default.botFlowsVirtualAgentVoicePrompt); + } + _getVoiceProcessingPromptSetInBotFlowSettings() { + var e3; + const t3 = null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.voiceProcessingPrompt; + return !((null == t3 ? void 0 : t3.mode) !== f.literal || !(null == t3 ? void 0 : t3.text)); + } + setDefaultVirtualAgentActionSettings(e3) { } } - 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() { - Object.defineProperties(this, { _errorBindings: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BaseFailureOutputsActionModel"), Object.defineProperties(o.prototype, { errorBindings: { enumerable: true, get: function() { - return this._errorBindings; - }, set: function(e3) { - this._errorBindings = this.reviveArray(e3, r2); - } }, pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this._errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)); - } }, pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this._errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); - } } }), e2.exports = o; - }, 75544: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.expand = void 0; - var n2 = i2(65212), r2 = i2(2574); - t2.expand = function(e3, t3, i3) { - return void 0 === t3 && (t3 = 1 / 0), t3 = (t3 || 0) < 1 ? 1 / 0 : t3, n2.operate(function(n3, o) { - return r2.mergeInternals(n3, o, e3, t3, void 0, true, i3); - }); - }; - }, 75599: (e2, t2, i2) => { + t2.default = w; + }, 55705(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createCall = a, t2.callFlow = function(e3) { - return a(`sip:${encodeURIComponent(e3)}@localhost`); - }, t2.callDefaultVoicemailFlowForCurrentUser = function() { - return a(`${encodeURIComponent("*86")}`); - }, t2.callFlowDebug = function(e3) { - return a(`${encodeURIComponent(e3)}-debug@localhost`); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(69671)); - function a(e3) { - const t3 = r2.default.build(o.createCall), i3 = { phoneNumber: e3 }; - return t3.content(i3), t3.call(); - } - i2(34825), a.api = o.createCall; - }, 75601: (e2, t2, i2) => { - const n2 = i2(58597); - function r2() { - Object.defineProperties(this, { _botCompositeTag: { writable: true }, _botIntegrationId: { writable: true }, _versions: { writable: true } }), this.id = void 0, this.name = void 0, r2.baseConstructor.apply(this, arguments); + Object.defineProperty(t2, "__esModule", { value: true }), t2.QuestionSettings = void 0; + const n2 = i2(31635), o = i2(79364), r = (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), I = n2.__importStar(i2(14187)), C = n2.__importDefault(i2(71729)), O = i2(80428), b = n2.__importDefault(i2(65302)), E = i2(47957), w = i2(27862); + class R { + constructor(e3, t3, i3, n3, o2) { + this.question = e3, this.groupSettings = t3, this.surveyQuestionType = i3, this.answerOptions = n3, this.formVariable = o2; + } + get hasWarnings() { + var e3; + return 0 === this.actionCount || this.surveyQuestionType.hasWarning || (null === (e3 = this.answerOptions) || void 0 === e3 ? void 0 : e3.hasWarning); + } + get hasErrors() { + var e3; + return this.surveyQuestionType.hasError || (null === (e3 = this.answerOptions) || void 0 === e3 ? void 0 : e3.hasError); + } } - i2(45214).extend(r2, "BotConnector"), Object.defineProperties(r2.prototype, { archInternalId: { enumerable: true, get: function() { - return this.botCompositeTag; - } }, getContextInfo: { value: function() { - return { botId: this.id, botCompositeTag: this.botCompositeTag, integrationId: this._botIntegrationId }; - } }, setParentContextInfo: { value: function(e3) { - this._botIntegrationId = e3; - } }, botCompositeTag: { get: function() { - return this._botCompositeTag; - }, set: function(e3) { - this._botCompositeTag = e3; - } }, integrationId: { get: function() { - return this._botIntegrationId; - }, set: function(e3) { - this._botIntegrationId = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, versions: { enumerable: true, get: function() { - return this._versions; - }, set: function(e3) { - this._versions = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 75669: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.unknownLibrary = void 0, t2.unknownLibrary = "unknownLibrary"; - }, 75678: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + t2.QuestionSettings = R; + class D extends C.default { constructor(e3) { - super(e3); + super(e3), this.editor_testing_tag = "voiceSurveyFlowSettings"; } - get _globalTypeName() { - return "groupCollection"; + get id() { + return "voiceSurveyFlowSettings"; } - get displayTypeName() { - return "ArchVariableGroupCollection"; + _resetQuestionVariables() { + this._questionIdMap = {}, this._answerOptionsExpressionIdMap = {}, this._questionGroups = []; + } + get helpTopic() { + return v.helpTopics.treeNodes.voiceSurveyFlowSettings; + } + get className() { + return "VoiceSurveyFlowSettingsViewModel"; + } + getDisplayName() { + return E.voiceSurvey.voiceSurveyTitleWithSettings; + } + getNodeName() { + return E.flow.types.voiceSurveyFlow; + } + get isVoiceSurveyFlowSettingsNode() { + return true; + } + get wrappedYamlName() { + return "settingsVoiceSurvey"; + } + get archSurveyForm() { + var e3; + return null === (e3 = this.surveyFormInfo) || void 0 === e3 ? void 0 : e3.archSurveyForm; + } + get surveyFormInfo() { + return this._surveyFormInfo; + } + set surveyFormInfo(e3) { + this._surveyFormInfo = e3; + } + loadConfiguration(e3) { + const t3 = e3.botFlowSettings; + (null == t3 ? void 0 : t3.surveyFormInfo) && (this.surveyFormInfo = t3.surveyFormInfo), super.loadConfiguration(e3); + } + getConfiguration(e3, t3) { + var i3, n3; + const o2 = super.getConfiguration(e3, t3); + if (null == t3 ? void 0 : t3.isForFlowYaml) { + const r2 = {}; + if (null === (i3 = Object.keys(this._answerOptionsExpressionIdMap)) || void 0 === i3 ? void 0 : i3.length) { + r2.surveyQuestions = []; + const i4 = Object.keys(this._answerOptionsExpressionIdMap); + for (const o3 of i4) { + const i5 = { surveyQuestion: { text: null === (n3 = this._answerOptionsExpressionIdMap[o3].question) || void 0 === n3 ? void 0 : n3.questionText, answerOptions: this._answerOptionsExpressionIdMap[o3].answerOptions.getConfiguration(e3, t3) } }; + r2.surveyQuestions.push(i5); + } + return a.default.isBoolean(o2.none) || a.default.extend(r2, o2), r2; + } + return o2; + } + e3.botFlowSettings.surveyFormInfo = this.surveyFormInfo; + } + createSlotVarForSlotName(e3, t3) { + const i3 = super.createSlotVarForSlotName(e3, t3); + return i3 && (this._addFormToSlotVariableMapping(i3), this.parentFlow.initializeDesignTimeCalled && i3.initializeDesignTime()), i3; + } + _getManagedSlotMappingGroup(e3) { + return (null == e3 ? void 0 : e3.endsWith(h.default.variable.nameFollowUpSuffix)) ? e3.substring(0, e3.length - h.default.variable.nameFollowUpSuffix.length) : e3; + } + _addFormToSlotVariableMapping(e3) { + let t3; + const i3 = this.parentFlow.variableGroup.flowVariables.filter((e4) => e4.scope === I.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) => { + var n4; + const o2 = { variableId: "", slotName: "", slotType: "" }; + o2.variableId = e3.id, o2.slotName = Object.keys(this.parentFlow.nluMetaData.slotToSlotVariablesMapping).find((t4) => this.parentFlow.nluMetaData.slotToSlotVariablesMapping[t4] === e3.id), o2.slotType = this.parentFlow.nluMetaData.slotToEntityTypesMapping[o2.slotName], o2.slotName.endsWith(h.default.variable.nameFollowUpSuffix) && (o2.isFollowUp = true), t3 = i4.id, this.surveyFormInfo && ((null === (n4 = this.surveyFormInfo.formToSlotVariableMappings[t3]) || void 0 === n4 ? void 0 : n4.length) ? this.surveyFormInfo.formToSlotVariableMappings[t3].push(o2) : this.surveyFormInfo.formToSlotVariableMappings[t3] = [o2]); + }); } - get initialValue() { - return this._initialValue; + 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, w.SurveyForm, this.parentFlow); } - get isArchVariableGroupCollection() { - return true; + validate(e3) { + super.validate(e3); + 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); + break; + case g.SurveyFormDependencyErrors.disabled: + e3.addWarning(this, E.voiceSurvey.voiceSurveyFormIsDisabledShort); + break; + case g.SurveyFormDependencyErrors.notLatest: + e3.addWarning(this, E.voiceSurvey.voiceSurveyFormNotLatestVersionShort); + break; + default: + (null == t3 ? void 0 : t3.hasInternalFormError) && e3.addError(this, E.voiceSurvey.surveyFromIncompatible); + } + Object.values(this._questionIdMap).forEach((t4) => { + var i3; + t4.surveyQuestionType.validate(e3), null === (i3 = t4.answerOptions) || void 0 === i3 || i3.validate(e3), this._validateDuplicateDTMF(e3, t4), this._validateQuestionInUse(e3, t4); + }); } - } - t2.default = r2; - }, 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)), c = i2(81161); - class d extends l.ExpressionContainer { - constructor(e3, t3) { - super(e3.parentFlow, e3, t3), this._initialize(); - const i3 = []; - r2.default.each(this.model, (e4) => { - i3.push(e4); - }), this.model = i3; + _validateQuestionInUse(e3, t3) { + 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; + }); + t3.actionCount = i3.length, t3.actionCount || e3.addWarning(this, (0, r.sprintf)(E.voiceSurvey.voiceSurveyQuestionNotInUseError, (0, f.getGroupQuestionName)(t3.groupSettings.questionGroup, t3.question))); } - _initialize() { - r2.default.each(this.model, (e3, t3) => { - const i3 = this.createItem(e3, t3); - this.items.push(i3); + _validateDuplicateDTMF(e3, t3) { + var i3; + const n3 = (0, y.getQuestionDtmfAnswerOptionMap)(t3.question); + null === (i3 = t3.answerOptions) || void 0 === i3 || i3.collectionItems.items.forEach((i4) => { + var o2, a2, s2; + const l2 = i4.type.getDtmf(i4), u2 = (null === (a2 = null === (o2 = this.parentFlow.userInputSettings) || void 0 === o2 ? void 0 : o2.dtmfTerminatingCharacter) || void 0 === a2 ? void 0 : a2.isLiteralMode) ? this.parentFlow.userInputSettings.dtmfTerminatingCharacter.text : void 0; + let c2; + if (l2 && (null === (s2 = n3[l2]) || void 0 === s2 ? void 0 : s2.length) > 1 ? c2 = (0, r.sprintf)(E.voiceSurvey.voiceSurveyDuplicateDtmfError, l2) : l2 === u2 && (c2 = E.voiceSurvey.voiceSurveyNotApplicableSetAsTerminatingCharacter), c2) { + const n4 = (0, r.sprintf)(E.errors.invalidValueWithContext, i4.errorLabel, (0, f.getGroupQuestionName)(t3.groupSettings.questionGroup, t3.question)); + e3.addExpressionError(i4, c2, n4); + } }); } - get className() { - return "DynamicSlotTypeList"; + getQuestionTypeExpressionForQuestionId(e3) { + var t3; + return null === (t3 = this._questionIdMap[e3]) || void 0 === t3 ? void 0 : t3.surveyQuestionType; } - initializeDesignTime() { - super.initializeDesignTime(), this.outOfService = !a.isFeatureAvailable(s.default.botFlowsDynamicSlotTypeFeature); + getAnswerOptionsExpressionForQuestionId(e3) { + var t3; + return null === (t3 = this._questionIdMap[e3]) || void 0 === t3 ? void 0 : t3.answerOptions; } - _getConfiguration(e3, t3, i3) { - const n3 = {}; - return r2.default.each(this.items, (e4) => { - e4.name && (n3[e4.name] = e4.model); - }), n3; + getAnswerOptionsExpressionForQuestionText(e3) { + const t3 = Object.keys(this._questionIdMap).find((t4) => { + var i3; + return (null === (i3 = this._questionIdMap[t4].question) || void 0 === i3 ? void 0 : i3.questionText) === e3; + }); + return this.getAnswerOptionsExpressionForQuestionId(t3); } - createItem(e3, t3) { - 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); + getQuestionGroupSettings() { + return this._questionGroups; } - getItem(e3) { - return r2.default.findWhere(this.items, { name: e3 }); + _createDynamicExpressions() { + var e3; + const t3 = []; + this._resetQuestionVariables(), null === (e3 = this.parentFlow.voiceSurveyFlowSettings.archSurveyForm.questionGroups) || void 0 === e3 || e3.forEach((e4, i4) => { + e4.groupIndex || (e4.groupIndex = i4 + 1); + const n3 = { questionGroup: e4, questionSettings: [] }; + this._questionGroups.push(n3), e4.questions.forEach((o2, r2) => { + o2.questionIndex && o2.groupIndex || (o2.questionIndex = r2 + 1, o2.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)), d2 = b.default.getType(this.parentFlow, O.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(o2.questionType), p2.initializeDesignTime(), o2.questionType === S.SurveyQuestionTypesEnum.multipleChoiceQuestion) { + 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, O.expressionTypeNames.surveyAnswerOption, true); + h2 = (0, s.expression)(this.parentFlow, this, new l.default(), E.voiceSurvey.voiceSurveyAnswerOptionsLabel, i5, void 0, e5), h2.singleType.populateFromSurveyAnswerOptions(h2, o2.answerOptions), h2.initializeDesignTime(), t3.push((0, m.createObservableForEvent$)(_.expressionValueChanged, h2)), t3.push((0, m.createObservableForEvent$)(_.collectionItemValueChanged, h2)); + } + const g2 = (0, T.getSurveyQuestionFormVariableId)(e4.groupIndex, o2.questionIndex), f2 = this.parentFlow.variableGroup.getVariable(g2), y2 = new R(o2, n3, p2, h2, f2); + n3.questionSettings.push(y2), this._questionIdMap[o2.id] = y2, h2 && (this._answerOptionsExpressionIdMap[h2.id] = y2); + }); + }); + const i3 = (0, o.merge)(...t3); + this.addAutoCleanedUpSubscription(i3.subscribe(() => N.validateNode(this, true))); + } + _initializeDesignTime() { + super._initializeDesignTime(), this._createDynamicExpressions(); } } - t2.DynamicSlotTypeList = d; - }, 75700: (e2, t2, i2) => { + t2.default = D; + }, 67829(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); + super(e3, "workitemFlowSettings", _), this.editor_testing_tag = "workitem-flow-settings"; } - get _globalTypeName() { - return "agentScorePairCollection"; + get id() { + return "workitemFlowSettings"; } - get initialValue() { - return this._initialValue; + get helpTopic() { + return s.helpTopics.treeNodes.workitemFlowSettings; } - get displayTypeName() { - return "ArchVariableAgentScorePairCollection"; + get className() { + return "WorkitemFlowSettingsViewModel"; } - get isArchVariableAgentScorePairCollection() { + getDisplayName() { + return c.workitemFlowSettings.titleWithSettings; + } + getNodeName() { + return c.flow.types.workItem; + } + get isWorkitemFlowSettingsNode() { return true; } - } - t2.default = r2; - }, 75705: (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 wrappedYamlName() { + return "settingsWorkitemFlow"; } - get _globalTypeName() { - return "journeySessionCollection"; + get nodeGuxIcon() { + return "fa/gears-regular"; } - get initialValue() { - return this._initialValue; + get worktype() { + return this._worktype; } - get displayTypeName() { - return "ArchVariableJourneySessionCollection"; + set worktype(e3) { + this._worktype = e3; } - get isArchVariableJourneySessionCollection() { - return true; + getFlowConfigurationClass() { + return p; } - } - t2.default = r2; - }, 75754: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.environmentEnum = void 0, t2.environmentEnum = { dev: "dev", test: "test", prod: "prod" }; - }, 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)), c = i2(61730), d = i2(27862); - class p extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.worktypesView; + get overrideWireFlowConfiguration() { + return d.getWorkitemFlowConfiguration; } - get dependencyType() { - return d.Schema; + get overrideWireFlowVersionConfiguration() { + return d.getVersionWorkitemFlowConfiguration; } - 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(); + loadConfiguration(e3) { + const t3 = Object.create(null, { loadConfiguration: { get: () => super.loadConfiguration } }); + return n2.__awaiter(this, void 0, void 0, function* () { + var i3, n3, o2, r2; + t3.loadConfiguration.call(this, e3), (null === (i3 = e3.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.customFieldsDataTypeId) && (this.customFieldsDataTypeId = e3.workitemFlowSettings.customFieldsDataTypeId), (null === (n3 = e3.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.customFieldsSchemaId) && (this.customFieldsSchemaId = e3.workitemFlowSettings.customFieldsSchemaId), (null === (o2 = e3.workitemFlowSettings) || void 0 === o2 ? void 0 : o2.customFieldsSchemaName) && (this.customFieldsSchemaName = e3.workitemFlowSettings.customFieldsSchemaName), (null === (r2 = e3.workitemFlowSettings) || void 0 === r2 ? void 0 : r2.worktype) && (this.worktype = e3.workitemFlowSettings.worktype); + }); } - _createItemViewModel(e3) { - return new c.SchemaViewModel(e3); + configureForWorktypeConfig(e3) { + this.worktype = e3.worktype, e3.customFieldsSchemaName && e3.customFieldsSchemaId && this.setCustomFieldsSchemaNameAndId(e3.customFieldsSchemaName, e3.customFieldsSchemaId); } - get _networkModel() { - return u.default; + getConfiguration(e3, t3) { + super.getConfiguration(e3, t3), (null == t3 ? void 0 : t3.isForFlowYaml) || (o.default.isObject(e3.workitemFlowSettings) || (e3.workitemFlowSettings = {}), e3.workitemFlowSettings.customFieldsDataTypeId = this.customFieldsDataTypeId, e3.workitemFlowSettings.customFieldsSchemaId = this.customFieldsSchemaId, e3.workitemFlowSettings.customFieldsSchemaName = this.customFieldsSchemaName, e3.workitemFlowSettings.worktype = this.worktype); } - get isSchemaManager() { - return true; + get customFieldsDataTypeId() { + return this._customFieldsDataTypeId; } - } - t2.SchemaManager = p, t2.schemaManager = new p(); - }, 75758: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allSupportedDigitalChannelTypes = t2.whatsapp = t2.facebook = void 0; - const n2 = i2(47957); - t2.facebook = { displayString: n2.generic.facebook, id: "facebook" }, t2.whatsapp = { displayString: n2.generic.whatsApp, id: "whatsapp" }, t2.allSupportedDigitalChannelTypes = [t2.facebook, t2.whatsapp]; - }, 75773: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getOrgSupportsAudio = function() { - 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 }); - }, 75810: (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(39292)), l = i2(37120); - class u extends s.default { - constructor(e3) { - super(e3); + set customFieldsDataTypeId(e3) { + this._customFieldsDataTypeId = e3; } - get _actionTypeId() { - return r2.addFlowMilestoneActionType; + get customFieldsSchemaId() { + return this._customFieldsSchemaId; } - get displayTypeName() { - return this._scriptingName; + set customFieldsSchemaId(e3) { + this._customFieldsSchemaId = e3; } - get isArchActionAddFlowMilestone() { - return true; + get customFieldsSchemaName() { + return this._customFieldsSchemaName; } - get flowMilestoneId() { - return this._getCoreViewModel().milestoneId; + set customFieldsSchemaName(e3) { + this._customFieldsSchemaName = e3; } - get flowMilestoneName() { - return this._getCoreViewModel().milestoneName; + setCustomFieldsSchemaNameAndId(e3, t3) { + this.customFieldsSchemaId = t3, this.customFieldsSchemaName = e3; } - setFlowMilestoneByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("flowMilestoneId", "setFlowMilestoneByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowMilestoneByIdAsync"), t3, true), o.default.findItemByIdAsync(l.milestoneManager, e3, "flowMilestoneId").then(function(i3) { - return this.logNote("found the flow milestone named '" + i3.name + "' for the flow milestone ID of '" + e3 + "'"), this._coreActionViewModel.milestone.setValue(i3), a.default.executeCallback(this, "setFlowMilestoneByIdAsync", t3, this); - }.bind(this)); + updateDependencies() { + var e3, t3, i3, n3; + super.updateDependencies(); + const o2 = (null === (e3 = this.worktype) || void 0 === e3 ? void 0 : e3.schema) || null; + (null === (i3 = null === (t3 = this.worktype) || void 0 === t3 ? void 0 : t3.schemaInfo) || void 0 === i3 ? void 0 : i3.id) && r.registerConsumer(this, `${this.id}_Schema`, o2.name, this.worktype.schemaInfo.id, void 0, u.Schema, this.parentFlow), (null === (n3 = this.worktype) || void 0 === n3 ? void 0 : n3.id) && r.registerConsumer(this, `${this.id}_Worktype`, this.worktype.name, this.worktype.id, void 0, u.Worktype, this.parentFlow); } - setFlowMilestoneByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("flowMilestoneName", "setFlowMilestoneByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowMilestoneByNameAsync"), t3, true), o.default.findItemByValueAsync(l.milestoneManager, e3, "flow milestone", "name", "name").then(function(i3) { - return this.logNote(`Found info for the flow milestone named '${i3.name}' for the passed flow milestone name of '${e3}'.`), this._coreActionViewModel.milestone.setValue(i3), a.default.executeCallback(this, "setFlowMilestoneByNameAsync", t3, this); - }.bind(this)); + getDisplayableListOfStatuses() { + const e3 = [], t3 = this.worktype.statuses.map((e4) => ({ displayString: e4.name, category: e4.category, id: e4.id })); + for (const i3 in a.WorktypeStatusCategories) { + const n3 = t3.filter((e4) => e4.category === a.WorktypeStatusCategories[i3]); + n3.sort((e4, t4) => e4.displayString > t4.displayString ? 1 : t4.displayString > e4.displayString ? -1 : 0), e3.push(...n3); + } + return e3; } } - t2.default = u; - }, 75845: (e2, t2, i2) => { + t2.default = h; + }, 84433(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(66700)), a = i2(94453), s = i2(31145); + class l extends s.NluFlowViewModel { constructor(e3) { super(e3); } - get _globalTypeName() { - return "journeySession"; - } - get initialValue() { - return this._initialValue; + get className() { + return "BotFlowViewModel"; } - get displayTypeName() { - return "ArchVariableJourneySession"; + get stateViewModel() { + return r.default; } - get isArchVariableJourneySession() { + get isBotFlow() { return true; } - } - t2.default = r2; - }, 75849: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeFormInputOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get type() { + return o.flowTypes.flowTypeBot; } - constructor(e3) { - super(e3); + _createInitialActions() { + return n2.__awaiter(this, void 0, void 0, function* () { + return (0, a.addBotFlowActions)(this), this; + }); } - get className() { - return "ExpressionTypeFormInputOptions"; + get wrappedYamlName() { + return "botFlow"; } - get isExpressionTypeFormInputOptions() { - return true; + get statesYamlPropertyName() { + return "bots"; } } - t2.ExpressionTypeFormInputOptions = r2; - }, 75983: (e2, t2, i2) => { + t2.default = l; + }, 32495(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), c = i2(18894), d = n2.__importStar(i2(98442)), p = n2.__importDefault(i2(66978)), _ = n2.__importDefault(i2(67336)), h = i2(50474); - class m extends _.default { + const n2 = i2(31635), o = n2.__importDefault(i2(26519)), r = n2.__importDefault(i2(71824)), a = n2.__importStar(i2(14187)), s = i2(96618); + class l extends r.default { constructor(e3) { - super(e3), this._coreKnowledgeSettingsViewModel = e3; + super(e3), this.errorHandling = new o.default(this), this._addToAutoManageSettings(this.errorHandling); } - get displayTypeName() { - return "ArchSettingsNluKnowledge"; + get className() { + return "BusinessProcessViewModel"; } - get isArchSettingsNluKnowledge() { + get isBusinessProcessFlow() { return true; } - get logStr() { - if (!this._coreKnowledgeSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - get responseBias() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.responseBias); - } - get knowledgeBaseName() { - return this._getCoreViewModel().knowledgeBaseName; - } - get knowledgeBaseId() { - return this._getCoreViewModel().knowledgeBaseId; - } - get knowledgeSettingName() { - return this._getCoreViewModel().knowledgeSettingName; - } - get knowledgeSettingId() { - return this._getCoreViewModel().knowledgeSettingId; - } - get welcomeArticleName() { - return this._getCoreViewModel().knowledgeBaseWelcomeDocumentName; - } - get welcomeArticleId() { - return this._getCoreViewModel().knowledgeBaseWelcomeDocumentId; - } - get knowledgeConfirmation() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeConfirmation); - } - get knowledgeInitialResponseFollowup() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseFollowup); - } - get knowledgePathMode() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgePathMode); - } - setKnowledgePathModeStatement() { - this.knowledgePathMode.setLiteralString(o.default.KNOWLEDGE_PATH_MODES.statement); + get type() { + return s.flowTypes.flowTypeBusinessProcess; } - setKnowledgePathModeTask() { - this.knowledgePathMode.setLiteralString(o.default.KNOWLEDGE_PATH_MODES.task); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, a.scopes.process]; } - get knowledgeAnswerContentType() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerContentType); + get wrappedYamlName() { + return "businessProcess"; } - setKnowledgeAnswerContentTypeStandard() { - this.knowledgeAnswerContentType.setLiteralString(o.default.KNOWLEDGE_ANSWER_CONTENT_TYPES.standard); + } + t2.default = l; + }, 6035(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 c.default(this), this.speechRecognition = new h.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling), this._addToAutoManageSettings(this.speechRecognition); } - setKnowledgeAnswerContentTypeHighlight() { - this.knowledgeAnswerContentType.setLiteralString(o.default.KNOWLEDGE_ANSWER_CONTENT_TYPES.highlight); + 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; } - setKnowledgeAnswerContentTypeGenerative() { - this.knowledgeAnswerContentType.setLiteralString(o.default.KNOWLEDGE_ANSWER_CONTENT_TYPES.generative); + checkVersion(e3) { + this.initialPrompts.checkVersion(e3), super.checkVersion(e3); } - get knowledgeSettingsMode() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeSettingsMode); + get className() { + return "CommonCallFlowViewModel"; } - setKnowledgeSettingsModeStandard() { - this.knowledgeSettingsMode.setLiteralString(o.default.KNOWLEDGE_SETTINGS_MODES.standard); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, r.scopes.call, r.scopes.interaction]; } - setKnowledgeSettingsModeCustom() { - this.knowledgeSettingsMode.setLiteralString(o.default.KNOWLEDGE_SETTINGS_MODES.custom); + getFlowConfigurationClass() { + return g; } - get knowledgeInitialResponseMulti() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseMulti); + search(e3) { + e3.addToQueue(this.initialPrompts), super.search(e3); } - get knowledgeInitialResponseMultiRetry() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseMultiRetry); + updateDependencies() { + this.initialPrompts.updateDependencies(), super.updateDependencies(); } - get knowledgeInitialResponseSingle() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseSingle); + speechRecEnabled() { + return this.speechRecognition && this.speechRecognition.disableAsr && this.speechRecognition.disableAsr.text === d.default.false; } - get knowledgeNoMatch() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeNoMatch); + validate(e3) { + const t3 = super.validate(e3); + return this.definition.supportsSpeechRec && this.speechRecEnabled() && this.getUsesSpeechRec(), t3; } - get maxNumOfAnswersReturned() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.maxNumOfAnswersReturned); + _destroy() { + super._destroy(), this.initialPrompts && this.initialPrompts.destroy(); } - get sendKnowledgeFeedback() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.sendKnowledgeFeedback); + _getUsesSpeechRec() { + return !!super._getUsesSpeechRec() || !!a.actionRegistrationService.getHasActionsOfActionType(this, _.lexActionType) || !o.default.isUndefined(o.default.find(this.menus, (e3) => e3.getUsesSpeechRec())); } - get knowledgeAnswerHighlight() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerHighlight); + _loadConfiguration(e3) { + this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), super._loadConfiguration(e3), this.initialPrompts = new s.AudioViewModel(this, this, e3.initialPrompts, l.AudioViewModelOptions.create().setLabel(m.initialGreetingLabel).setIninTestingField("initialGreeting")); } - get knowledgeMultiArticleSource() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeMultiArticleSource); + _initializeDesignTime() { + super._initializeDesignTime(), this.initialPrompts && this.initialPrompts.initializeDesignTime(); } - get knowledgeContextSearch() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeContextSearch); + } + t2.default = f; + }, 60571(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(38416)), a = n2.__importDefault(i2(98114)), s = i2(30801), l = n2.__importStar(i2(14187)), u = n2.__importDefault(i2(73274)), c = n2.__importDefault(i2(95955)), d = n2.__importDefault(i2(23208)), p = n2.__importDefault(i2(81948)), _ = i2(21733), h = i2(64420); + class m extends p.default { + constructor(e3, t3) { + super(e3), this.commonModuleSettings = new d.default(this), this.callPrompts = new c.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.commonModuleSettings), this._embeddedParentFlow = t3; } - get knowledgeVersion() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeVersion); + get topParentFlow() { + return this.isEmbeddedFlow ? this._embeddedParentFlow : this; } - get knowledgeAnswerHighlightFullArticle() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerHighlightFullArticle); + buildConfiguration(e3, t3, i3) { + if (super.buildConfiguration(e3, t3, i3), this.commonModuleSettings) { + const t4 = this.commonModuleSettings.getConfiguration(e3, i3); + e3[(null == i3 ? void 0 : i3.isForFlowYaml) ? this.commonModuleSettings.wrappedYamlName : "commonModuleFlowSettings"] = t4; + } + return e3; } - get knowledgeAnswerHighlightFlowProgression() { - return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerHighlightFlowProgression); + get className() { + return "CommonModuleFlowViewModel"; } - _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}'`); - 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); - }); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, l.scopes.session]; } - _setKnowledgeSettingByIdAsync(e3, t3, i3) { - 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))); + getFlowConfigurationClass() { + return r.default; } - setKnowledgeBaseByIdAsync(e3, t3) { - return this._setKnowledgeBaseByIdAsync("setKnowledgeBaseByIdAsync", e3, t3); + get isCommonModuleFlow() { + return true; } - 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.`), p.default.addPromise(this._setKnowledgeBaseByIdAsync("setKnowledgeBaseByNameAsync", i3.id, t3), "setKnowledgeBaseByNameAsync"))); + get isEmbeddedFlow() { + return !!this._embeddedParentFlow; } - setKnowledgeSettingByIdAsync(e3, t3) { - return this._setKnowledgeSettingByIdAsync("setKnowledgeSettingByIdAsync", e3, t3); + get overrideWireFlowConfiguration() { + return h.getCommonModuleFlowConfiguration; } - setKnowledgeSettingByNameAsync(e3, t3) { - 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"))); + get overrideWireFlowVersionConfiguration() { + return h.getVersionCommonModuleConfiguration; } - _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))); + get shouldParseExpressions() { + return this.isEmbeddedFlow ? this._embeddedParentFlow.shouldParseExpressions && super.shouldParseExpressions : super.shouldParseExpressions; } - setWelcomeArticleByIdAsync(e3, t3) { - return this._setWelcomeArticleByIdAsync("setWelcomeArticleByIdAsync", e3, t3); + get supportsLanguages() { + return !!this.destinationFlowTypes.find((e3) => a.default.getDefinitionForFlowType(e3).supportsLanguages); } - 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.`), p.default.addPromise(this._setWelcomeArticleByIdAsync("setWelcomeArticleByNameAsync", i3.id, t3), "setWelcomeArticleByNameAsync"))); + get destinationFlowTypes() { + return this._embeddedParentFlow ? [this._embeddedParentFlow.type] : this.commonModuleSettings.destinationFlowTypes; } - get knowledgeTargetTask() { - if (r2.default.isUndefined(this._targetArchTask) && (this._targetArchTask = this._findTaskById(this._coreKnowledgeSettingsViewModel.knowledgeFollowupTaskId)), this._targetArchTask) return this._targetArchTask; + set destinationFlowTypes(e3) { + this.commonModuleSettings.destinationFlowTypes = e3; } - set knowledgeTargetTask(e3) { - const t3 = this._infoPropSet("archTaskTarget", "knowledgeTargetTask"); - 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, 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 commonModuleDestinationFlowTypes() { + return this.commonModuleSettings.destinationFlowTypes; } - get knowledgeCustomTask() { - if (r2.default.isUndefined(this._targetCustomTask) && (this._targetCustomTask = this._findTaskById(this._coreKnowledgeSettingsViewModel.knowledgeCustomHandlerTaskId)), this._targetCustomTask) return this._targetCustomTask; + get destinationFlowTypeMap() { + return this._embeddedParentFlow ? this._embeddedParentFlow.destinationFlowTypeMap : this.commonModuleSettings.destinationFlowTypesMap; } - set knowledgeCustomTask(e3) { - const t3 = this._infoPropSet("archTaskTarget", "knowledgeCustomTask"); - 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, 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); + static get type() { + return o.flowTypes.flowTypeCommonModule; } - _findTaskById(e3) { - const t3 = this._coreKnowledgeSettingsViewModel.parentFlow; - if (t3 && t3.hasTasks) { - const i3 = t3.tasks, n3 = r2.default.findWhere(i3, { id: e3 }); - if (n3) return this.coreFactory.createArchWrapper(n3); + _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 === u.default.info.typeId) { + const t3 = new u.default(this, e3.flowSequenceItemList[0]); + t3.initialize(), this._addTask(t3); } - return null; - } - } - t2.default = m; - }, 75992: (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 "responseAssetCollection"; - } - get displayTypeName() { - return "ArchVariableResponseAssetCollection"; - } - get initialValue() { - return this._initialValue; - } - get isArchVariableResponseAssetCollection() { - return true; - } - } - t2.default = r2; - }, 76035: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.distinctUntilKeyChanged = void 0; - var n2 = i2(22044); - t2.distinctUntilKeyChanged = function(e3, t3) { - return n2.distinctUntilChanged(function(i3, n3) { - return t3 ? t3(i3[e3], n3[e3]) : i3[e3] === n3[e3]; - }); - }; - }, 76063: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { - t3 || (t3 = e3); - const i3 = new n2(); - i3.variables = [], i3.defaultSettings = new o(), i3.defaultLanguage = e3, i3.flowMetaData = new a({ flowDocumentVersion: "1.0", minimumServerVersion: "1.0", ttsDataVersion: "1.0", features: [] }), i3.flowSequenceItemList = []; - const l = new r2(); - return l.name = s(t3).initialSurveyBotState, l.variables = [], l.actionList = [], i3.flowSequenceItemList = [l], i3.initialSequence = l.id, i3; - }; - const n2 = i2(19098), r2 = i2(69674), o = i2(74803), a = i2(89266), s = i2(21733); - }, 76075: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeMapTo = void 0; - var n2 = i2(67478), r2 = i2(10281); - t2.mergeMapTo = function(e3, t3, i3) { - return void 0 === i3 && (i3 = 1 / 0), r2.isFunction(t3) ? n2.mergeMap(function() { - return e3; - }, t3, i3) : ("number" == typeof t3 && (i3 = t3), n2.mergeMap(function() { - return e3; - }, i3)); - }; - }, 76117: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(54882)), o = n2.__importDefault(i2(64584)), a = n2.__importDefault(i2(43693)); - class s extends r2.default { - constructor(e3, t3, i3, n3, r3) { - super(e3, t3, i3, n3, r3), Object.defineProperties(this, { _builderPartsManager: { value: new a.default({ builderViewModel: e3, containerPartViewModel: this, owningExpression: t3, parentModel: i3, isManagingPartContainers: false }), enumerable: false }, _criteria: { value: i3 && i3.criteria ? o.default.createFromJsonObject(i3.criteria) : o.default.NO_CRITERIA, writable: false, enumerable: true } }), i3.criteria = this._criteria.json; - } - get isContainerPart() { - return true; } - get hasMaxNumOfBuilderPartsConfigured() { - return this.builderPartsManager.hasMaxNumOfBuilderPartsConfigured; + get wrappedYamlName() { + return "commonModule"; } - get containerDisplayString() { - throw `classes inheriting from ${this.className} should override the containerDisplayString property.`; + _createInitialActions() { + return n2.__awaiter(this, void 0, void 0, function* () { + const e3 = this.startUpObject.addAction(s.endTaskActionType); + return this.parentFlow.defaultLanguage && (e3.name = _(this.parentFlow.defaultLanguage).commonModule.exitCommonModule), this; + }); } - get isBaseBuilderPartContainerViewModel() { - return true; + getMissingLanguages() { + return this.loaded ? this.topParentFlow.languages.supportedLanguages.filter((e3) => !this.languages.supportedLanguages.includes(e3)) : []; } - _addClipboardDependencies(e3) { - super._addClipboardDependencies(e3), this._builderPartsManager.addClipboardDependencies(e3); + getHasMissingTTSEngineErrors() { + if (this.validationResults && !this.isDestroyedOrDestroying && this.loaded) return Object.entries(this.validationResults.missingTTSEngine).some(([e3, t3]) => t3); } - _initializeDesignTime() { - super._initializeDesignTime(), this._builderPartsManager.initializeDesignTime(); + getCommonModuleTask() { + var e3; + return null === (e3 = this.tasks) || void 0 === e3 ? void 0 : e3[0]; } - getInternalExpressions() { - return this._builderPartsManager.getInternalExpressions(); + } + t2.default = m; + }, 71824(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = {}; } - _processOutOfService(e3) { - super._processOutOfService(e3), this._builderPartsManager.setPartsOutOfServiceValue(e3); + get isCommonWorkflowViewModel() { + return true; } - _replaceUsages(e3, t3, i3) { - super._replaceUsages(e3, t3, i3), this._builderPartsManager.replaceUsages(e3, t3, i3); + get states() { + return void 0 === this._statesArray && (this._statesArray = Object.values(this._statesMap)), this._statesArray; } - get className() { - return "BaseBuilderPartContainerViewModel"; + get hasStates() { + var e3; + return (null === (e3 = this.states) || void 0 === e3 ? void 0 : e3.length) >= 1; } - get criteria() { - return this._criteria; + _deleteAllStates() { + o.default.destroyContents(this._statesMap), this._statesArray = void 0; } - get criteriaLanguageTag() { - var e3; - return null === (e3 = this.criteria) || void 0 === e3 ? void 0 : e3.languageTag; + getStateById(e3) { + return this._statesMap[e3]; } - get criteriaOutputMode() { - var e3; - return null === (e3 = this.criteria) || void 0 === e3 ? void 0 : e3.outputMode; + _deleteState(e3) { + (null == e3 ? void 0 : e3.id) && (delete this._statesMap[e3.id], this._statesArray = void 0); } - _getCriteriaGeneration() { - return this._criteria.getGeneration(this); + _addState(e3) { + (null == e3 ? void 0 : e3.id) ? (this._statesMap[e3.id] && this.topic.error("_addState called with a state that has already been added, id: " + e3.id), this._statesMap[e3.id] = e3, this._statesArray = void 0) : this.topic.error("_addState called with a state that has no id"); } - get sortValue() { - return this.criteria.sortValue; + get className() { + return "CommonWorkflowViewModel"; } - _preValidateConfigureResultsOrganizer(e3) { - super._preValidateConfigureResultsOrganizer(e3), e3.setContextBuilderPartContainer(this); + getTopLevelTaskLikeChild(e3) { + return e3 ? this._statesMap[e3] || super.getTopLevelTaskLikeChild(e3) : null; } - _postValidateClearResultsOrganizer(e3) { - super._postValidateClearResultsOrganizer(e3), e3.clearContextBuilderPartContainer(); + get overrideWireFlowConfiguration() { + return h.getWorkflowConfiguration; } - _buildExpressionGeneration() { - const e3 = this._getCriteriaGeneration(), t3 = this.builderPartsManager.getIndividualPartGenerations(); - let i3; - return 1 !== t3.length || this.builderPartDef.generators.wantContainerPartsGeneratorForSingleton ? (i3 = this.builderPartDef.generators.containerPartsGenerator.createGeneration(), t3.forEach((e4) => { - i3.addGenerationToBucket(e4); - })) : i3 = t3[0], e3.addGenerationToBucket(i3, "true"), e3; + get overrideWireFlowVersionConfiguration() { + return h.getVersionWorkflowConfiguration; } - _validateContainerOnly(e3, t3) { - return true; + get statesYamlPropertyName() { + return a.default.states; } - _validatePart(e3, t3) { - let i3 = super._validatePart(e3, t3); - try { - e3.setContextIsContainerRelated(), this._validateContainerOnly(e3, t3) || (i3 = false); - } finally { - e3.clearContextIsContainerRelated(); + buildConfiguration(e3, t3, i3) { + if (super.buildConfiguration(e3, t3, i3), this.hasStates) { + const t4 = (null == i3 ? void 0 : i3.isForFlowYaml) ? this.statesYamlPropertyName : a.default.flowSequenceItemList; + o.default.isArray(e3[t4]) || (e3[t4] = []), o.default.each(this.states, (n3) => { + const o2 = n3.getConfiguration(e3, i3); + if (null == i3 ? void 0 : i3.isForFlowYaml) { + if (n3.isInQueueStartUpState) return void (e3.startUpState = o2.state); + if (n3.isPeriodicState) return void (e3.periodicState = o2.state); + } + e3[t4].push(o2); + }), (null == i3 ? void 0 : i3.isForFlowYaml) && this.isInQueueWorkflow && (delete e3.startUpRef, e3[t4].length || delete e3[t4]); } - return this._builderPartsManager.validateBuilderObject(e3, t3) || (i3 = false), i3; + return this.isInQueueWorkflow && !(null == i3 ? void 0 : i3.isForFlowYaml) && (e3.periodicStateId = this._periodicStateId), e3; } - get builderParts() { - return this._builderPartsManager.parts; + checkVersion(e3) { + super.checkVersion(e3); } - get builderPartsManager() { - return this._builderPartsManager; + get children() { + return [...super.children, ...this.states]; } - _destroy() { - this.builderPartsManager.destroy(), this.criteria.destroy(), super._destroy(); + createState(e3) { + const t3 = new _(); + t3.name = e3 || this._getUniqueName(this.states, p.task.newDefaultStateName); + const i3 = new c.default(this, t3); + return this.addNewChild(i3), i3; } - get partAndPartsOutOfService() { - return this.outOfService; + addNewChild(e3) { + e3.isState && this._addState(e3), super.addNewChild(e3); } - set partAndPartsOutOfService(e3) { - this.outOfService = e3; + getFlowConfigurationClass() { + return m; } - getExpressionDetails(e3) { - if (!this.isDestroyed) return this.builderPartsManager.getExpressionDetails(e3); - console.error("Unable to return expression details on destroyed builder part container."); + deleteNode(e3, t3) { + if (!e3) return null; + if (this.initialSequence === e3.id) return null; + if (this._periodicStateId === e3.id) return null; + const i3 = e3.parent; + return i3.deleteChild ? i3.deleteChild(e3) : t3 || (e3.isTask ? this._deleteTask(e3) : this._deleteState(e3), l.fireEvent(this, s.containerListChanged, e3)), e3.isDestroyedOrDestroying || (e3.destroy(), l.fireEvent(this, s.containerListChanged)), i3; } - getExpressionDetailParts(e3) { - return this.builderPartsManager.getExpressionDetailParts(e3); + search(e3) { + super.search(e3), o.default.each(this.states, e3.addToQueue.bind(e3)); } - } - t2.default = s; - }, 76122: (e2, t2, i2) => { - const n2 = i2(75458), { clearUtilizationLabelActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 76123: (e2, t2, i2) => { - var n2; - !(function() { - var r2 = { ar: { y: function(e3) { - return 1 === e3 ? "\u0633\u0646\u0629" : "\u0633\u0646\u0648\u0627\u062A"; - }, mo: function(e3) { - return 1 === e3 ? "\u0634\u0647\u0631" : "\u0623\u0634\u0647\u0631"; - }, w: function(e3) { - return 1 === e3 ? "\u0623\u0633\u0628\u0648\u0639" : "\u0623\u0633\u0627\u0628\u064A\u0639"; - }, d: function(e3) { - return 1 === e3 ? "\u064A\u0648\u0645" : "\u0623\u064A\u0627\u0645"; - }, h: function(e3) { - return 1 === e3 ? "\u0633\u0627\u0639\u0629" : "\u0633\u0627\u0639\u0627\u062A"; - }, m: function(e3) { - return 1 === e3 ? "\u062F\u0642\u064A\u0642\u0629" : "\u062F\u0642\u0627\u0626\u0642"; - }, s: function(e3) { - return 1 === e3 ? "\u062B\u0627\u0646\u064A\u0629" : "\u062B\u0648\u0627\u0646\u064A"; - }, 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"][c(e3)]; - }, mo: function(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"][c(e3)]; - }, d: function(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"][c(e3)]; - }, m: function(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"][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"][c(e3)]; - }, decimal: "," }, ca: { y: function(e3) { - return "any" + (1 === e3 ? "" : "s"); - }, mo: function(e3) { - return "mes" + (1 === e3 ? "" : "os"); - }, w: function(e3) { - return "setman" + (1 === e3 ? "a" : "es"); - }, d: function(e3) { - return "di" + (1 === e3 ? "a" : "es"); - }, h: function(e3) { - return "hor" + (1 === e3 ? "a" : "es"); - }, m: function(e3) { - return "minut" + (1 === e3 ? "" : "s"); - }, s: function(e3) { - return "segon" + (1 === e3 ? "" : "s"); - }, ms: function(e3) { - return "milisegon" + (1 === e3 ? "" : "s"); - }, decimal: "," }, cs: { y: function(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"][d(e3)]; - }, w: function(e3) { - return ["t\xFDden", "t\xFDdne", "t\xFDdny", "t\xFDdn\u016F"][d(e3)]; - }, d: function(e3) { - return ["den", "dne", "dny", "dn\xED"][d(e3)]; - }, h: function(e3) { - return ["hodina", "hodiny", "hodiny", "hodin"][d(e3)]; - }, m: function(e3) { - return ["minuta", "minuty", "minuty", "minut"][d(e3)]; - }, s: function(e3) { - return ["sekunda", "sekundy", "sekundy", "sekund"][d(e3)]; - }, ms: function(e3) { - return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][d(e3)]; - }, decimal: "," }, da: { y: "\xE5r", mo: function(e3) { - return "m\xE5ned" + (1 === e3 ? "" : "er"); - }, w: function(e3) { - return "uge" + (1 === e3 ? "" : "r"); - }, d: function(e3) { - return "dag" + (1 === e3 ? "" : "e"); - }, h: function(e3) { - return "time" + (1 === e3 ? "" : "r"); - }, m: function(e3) { - return "minut" + (1 === e3 ? "" : "ter"); - }, s: function(e3) { - return "sekund" + (1 === e3 ? "" : "er"); - }, ms: function(e3) { - return "millisekund" + (1 === e3 ? "" : "er"); - }, decimal: "," }, de: { y: function(e3) { - return "Jahr" + (1 === e3 ? "" : "e"); - }, mo: function(e3) { - return "Monat" + (1 === e3 ? "" : "e"); - }, w: function(e3) { - return "Woche" + (1 === e3 ? "" : "n"); - }, d: function(e3) { - return "Tag" + (1 === e3 ? "" : "e"); - }, h: function(e3) { - return "Stunde" + (1 === e3 ? "" : "n"); - }, m: function(e3) { - return "Minute" + (1 === e3 ? "" : "n"); - }, s: function(e3) { - return "Sekunde" + (1 === e3 ? "" : "n"); - }, ms: function(e3) { - return "Millisekunde" + (1 === e3 ? "" : "n"); - }, decimal: "," }, en: { y: function(e3) { - return "year" + (1 === e3 ? "" : "s"); - }, mo: function(e3) { - return "month" + (1 === e3 ? "" : "s"); - }, w: function(e3) { - return "week" + (1 === e3 ? "" : "s"); - }, d: function(e3) { - return "day" + (1 === e3 ? "" : "s"); - }, h: function(e3) { - return "hour" + (1 === e3 ? "" : "s"); - }, m: function(e3) { - return "minute" + (1 === e3 ? "" : "s"); - }, s: function(e3) { - return "second" + (1 === e3 ? "" : "s"); - }, ms: function(e3) { - return "millisecond" + (1 === e3 ? "" : "s"); - }, decimal: "." }, es: { y: function(e3) { - return "a\xF1o" + (1 === e3 ? "" : "s"); - }, mo: function(e3) { - return "mes" + (1 === e3 ? "" : "es"); - }, w: function(e3) { - return "semana" + (1 === e3 ? "" : "s"); - }, d: function(e3) { - return "d\xEDa" + (1 === e3 ? "" : "s"); - }, h: function(e3) { - return "hora" + (1 === e3 ? "" : "s"); - }, m: function(e3) { - return "minuto" + (1 === e3 ? "" : "s"); - }, s: function(e3) { - return "segundo" + (1 === e3 ? "" : "s"); - }, ms: function(e3) { - return "milisegundo" + (1 === e3 ? "" : "s"); - }, decimal: "," }, fa: { y: "\u0633\u0627\u0644", mo: "\u0645\u0627\u0647", w: "\u0647\u0641\u062A\u0647", d: "\u0631\u0648\u0632", h: "\u0633\u0627\u0639\u062A", m: "\u062F\u0642\u06CC\u0642\u0647", s: "\u062B\u0627\u0646\u06CC\u0647", ms: "\u0645\u06CC\u0644\u06CC \u062B\u0627\u0646\u06CC\u0647", decimal: "." }, fi: { y: function(e3) { - return 1 === e3 ? "vuosi" : "vuotta"; - }, mo: function(e3) { - return 1 === e3 ? "kuukausi" : "kuukautta"; - }, w: function(e3) { - return "viikko" + (1 === e3 ? "" : "a"); - }, d: function(e3) { - return "p\xE4iv\xE4" + (1 === e3 ? "" : "\xE4"); - }, h: function(e3) { - return "tunti" + (1 === e3 ? "" : "a"); - }, m: function(e3) { - return "minuutti" + (1 === e3 ? "" : "a"); - }, s: function(e3) { - return "sekunti" + (1 === e3 ? "" : "a"); - }, ms: function(e3) { - return "millisekunti" + (1 === e3 ? "" : "a"); - }, decimal: "," }, fr: { y: function(e3) { - return "an" + (e3 >= 2 ? "s" : ""); - }, mo: "mois", w: function(e3) { - return "semaine" + (e3 >= 2 ? "s" : ""); - }, d: function(e3) { - return "jour" + (e3 >= 2 ? "s" : ""); - }, h: function(e3) { - return "heure" + (e3 >= 2 ? "s" : ""); - }, m: function(e3) { - return "minute" + (e3 >= 2 ? "s" : ""); - }, s: function(e3) { - return "seconde" + (e3 >= 2 ? "s" : ""); - }, ms: function(e3) { - return "milliseconde" + (e3 >= 2 ? "s" : ""); - }, decimal: "," }, gr: { y: function(e3) { - return 1 === e3 ? "\u03C7\u03C1\u03CC\u03BD\u03BF\u03C2" : "\u03C7\u03C1\u03CC\u03BD\u03B9\u03B1"; - }, mo: function(e3) { - return 1 === e3 ? "\u03BC\u03AE\u03BD\u03B1\u03C2" : "\u03BC\u03AE\u03BD\u03B5\u03C2"; - }, w: function(e3) { - return 1 === e3 ? "\u03B5\u03B2\u03B4\u03BF\u03BC\u03AC\u03B4\u03B1" : "\u03B5\u03B2\u03B4\u03BF\u03BC\u03AC\u03B4\u03B5\u03C2"; - }, d: function(e3) { - return 1 === e3 ? "\u03BC\u03AD\u03C1\u03B1" : "\u03BC\u03AD\u03C1\u03B5\u03C2"; - }, h: function(e3) { - return 1 === e3 ? "\u03CE\u03C1\u03B1" : "\u03CE\u03C1\u03B5\u03C2"; - }, m: function(e3) { - return 1 === e3 ? "\u03BB\u03B5\u03C0\u03C4\u03CC" : "\u03BB\u03B5\u03C0\u03C4\u03AC"; - }, s: function(e3) { - return 1 === e3 ? "\u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03BF" : "\u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03B1"; - }, ms: function(e3) { - return 1 === e3 ? "\u03C7\u03B9\u03BB\u03B9\u03BF\u03C3\u03C4\u03CC \u03C4\u03BF\u03C5 \u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03BF\u03BB\u03AD\u03C0\u03C4\u03BF\u03C5" : "\u03C7\u03B9\u03BB\u03B9\u03BF\u03C3\u03C4\u03AC \u03C4\u03BF\u03C5 \u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03BF\u03BB\u03AD\u03C0\u03C4\u03BF\u03C5"; - }, decimal: "," }, hu: { y: "\xE9v", mo: "h\xF3nap", w: "h\xE9t", d: "nap", h: "\xF3ra", m: "perc", s: "m\xE1sodperc", ms: "ezredm\xE1sodperc", decimal: "," }, id: { y: "tahun", mo: "bulan", w: "minggu", d: "hari", h: "jam", m: "menit", s: "detik", ms: "milidetik", decimal: "." }, is: { y: "\xE1r", mo: function(e3) { - return "m\xE1nu\xF0" + (1 === e3 ? "ur" : "ir"); - }, w: function(e3) { - return "vik" + (1 === e3 ? "a" : "ur"); - }, d: function(e3) { - return "dag" + (1 === e3 ? "ur" : "ar"); - }, h: function(e3) { - return "klukkut\xEDm" + (1 === e3 ? "i" : "ar"); - }, m: function(e3) { - return "m\xEDn\xFAt" + (1 === e3 ? "a" : "ur"); - }, s: function(e3) { - return "sek\xFAnd" + (1 === e3 ? "a" : "ur"); - }, ms: function(e3) { - return "millisek\xFAnd" + (1 === e3 ? "a" : "ur"); - }, decimal: "." }, it: { y: function(e3) { - return "ann" + (1 === e3 ? "o" : "i"); - }, mo: function(e3) { - return "mes" + (1 === e3 ? "e" : "i"); - }, w: function(e3) { - return "settiman" + (1 === e3 ? "a" : "e"); - }, d: function(e3) { - return "giorn" + (1 === e3 ? "o" : "i"); - }, h: function(e3) { - return "or" + (1 === e3 ? "a" : "e"); - }, m: function(e3) { - return "minut" + (1 === e3 ? "o" : "i"); - }, s: function(e3) { - return "second" + (1 === e3 ? "o" : "i"); - }, ms: function(e3) { - return "millisecond" + (1 === e3 ? "o" : "i"); - }, decimal: "," }, ja: { y: "\u5E74", mo: "\u6708", w: "\u9031", d: "\u65E5", h: "\u6642\u9593", m: "\u5206", s: "\u79D2", ms: "\u30DF\u30EA\u79D2", decimal: "." }, ko: { y: "\uB144", mo: "\uAC1C\uC6D4", w: "\uC8FC\uC77C", d: "\uC77C", h: "\uC2DC\uAC04", m: "\uBD84", s: "\uCD08", ms: "\uBC00\uB9AC \uCD08", decimal: "." }, lt: { y: function(e3) { - return e3 % 10 == 0 || e3 % 100 >= 10 && e3 % 100 <= 20 ? "met\u0173" : "metai"; - }, mo: function(e3) { - return ["m\u0117nuo", "m\u0117nesiai", "m\u0117nesi\u0173"][p(e3)]; - }, w: function(e3) { - return ["savait\u0117", "savait\u0117s", "savai\u010Di\u0173"][p(e3)]; - }, d: function(e3) { - return ["diena", "dienos", "dien\u0173"][p(e3)]; - }, h: function(e3) { - return ["valanda", "valandos", "valand\u0173"][p(e3)]; - }, m: function(e3) { - return ["minut\u0117", "minut\u0117s", "minu\u010Di\u0173"][p(e3)]; - }, s: function(e3) { - return ["sekund\u0117", "sekund\u0117s", "sekund\u017Ei\u0173"][p(e3)]; - }, ms: function(e3) { - return ["milisekund\u0117", "milisekund\u0117s", "milisekund\u017Ei\u0173"][p(e3)]; - }, decimal: "," }, ms: { y: "tahun", mo: "bulan", w: "minggu", d: "hari", h: "jam", m: "minit", s: "saat", ms: "milisaat", decimal: "." }, nl: { y: "jaar", mo: function(e3) { - return 1 === e3 ? "maand" : "maanden"; - }, w: function(e3) { - return 1 === e3 ? "week" : "weken"; - }, d: function(e3) { - return 1 === e3 ? "dag" : "dagen"; - }, h: "uur", m: function(e3) { - return 1 === e3 ? "minuut" : "minuten"; - }, s: function(e3) { - return 1 === e3 ? "seconde" : "seconden"; - }, ms: function(e3) { - return 1 === e3 ? "milliseconde" : "milliseconden"; - }, decimal: "," }, no: { y: "\xE5r", mo: function(e3) { - return "m\xE5ned" + (1 === e3 ? "" : "er"); - }, w: function(e3) { - return "uke" + (1 === e3 ? "" : "r"); - }, d: function(e3) { - return "dag" + (1 === e3 ? "" : "er"); - }, h: function(e3) { - return "time" + (1 === e3 ? "" : "r"); - }, m: function(e3) { - return "minutt" + (1 === e3 ? "" : "er"); - }, s: function(e3) { - return "sekund" + (1 === e3 ? "" : "er"); - }, ms: function(e3) { - return "millisekund" + (1 === e3 ? "" : "er"); - }, decimal: "," }, pl: { y: function(e3) { - return ["rok", "roku", "lata", "lat"][u(e3)]; - }, mo: function(e3) { - return ["miesi\u0105c", "miesi\u0105ca", "miesi\u0105ce", "miesi\u0119cy"][u(e3)]; - }, w: function(e3) { - return ["tydzie\u0144", "tygodnia", "tygodnie", "tygodni"][u(e3)]; - }, d: function(e3) { - return ["dzie\u0144", "dnia", "dni", "dni"][u(e3)]; - }, h: function(e3) { - return ["godzina", "godziny", "godziny", "godzin"][u(e3)]; - }, m: function(e3) { - return ["minuta", "minuty", "minuty", "minut"][u(e3)]; - }, s: function(e3) { - return ["sekunda", "sekundy", "sekundy", "sekund"][u(e3)]; - }, ms: function(e3) { - return ["milisekunda", "milisekundy", "milisekundy", "milisekund"][u(e3)]; - }, decimal: "," }, pt: { y: function(e3) { - return "ano" + (1 === e3 ? "" : "s"); - }, mo: function(e3) { - return 1 === e3 ? "m\xEAs" : "meses"; - }, w: function(e3) { - return "semana" + (1 === e3 ? "" : "s"); - }, d: function(e3) { - return "dia" + (1 === e3 ? "" : "s"); - }, h: function(e3) { - return "hora" + (1 === e3 ? "" : "s"); - }, m: function(e3) { - return "minuto" + (1 === e3 ? "" : "s"); - }, s: function(e3) { - return "segundo" + (1 === e3 ? "" : "s"); - }, ms: function(e3) { - return "milissegundo" + (1 === e3 ? "" : "s"); - }, decimal: "," }, ru: { y: function(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"][c(e3)]; - }, w: function(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"][c(e3)]; - }, h: function(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"][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"][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"][c(e3)]; - }, decimal: "," }, uk: { y: function(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"][c(e3)]; - }, w: function(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"][c(e3)]; - }, h: function(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"][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"][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"][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) { - return 1 === e3 ? "\u06C1\u0641\u062A\u06C1" : "\u06C1\u0641\u062A\u06D2"; - }, 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"][d(e3)]; - }, mo: function(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"][d(e3)]; - }, d: function(e3) { - return ["de\u0148", "dni", "dni", "dn\xED"][d(e3)]; - }, h: function(e3) { - return ["hodina", "hodiny", "hodiny", "hod\xEDn"][d(e3)]; - }, m: function(e3) { - return ["min\xFAta", "min\xFAty", "min\xFAty", "min\xFAt"][d(e3)]; - }, s: function(e3) { - return ["sekunda", "sekundy", "sekundy", "sek\xFAnd"][d(e3)]; - }, ms: function(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) { - return "veck" + (1 === e3 ? "a" : "or"); - }, d: function(e3) { - return "dag" + (1 === e3 ? "" : "ar"); - }, h: function(e3) { - return "timm" + (1 === e3 ? "e" : "ar"); - }, m: function(e3) { - return "minut" + (1 === e3 ? "" : "er"); - }, s: function(e3) { - return "sekund" + (1 === e3 ? "" : "er"); - }, ms: function(e3) { - return "millisekund" + (1 === e3 ? "" : "er"); - }, decimal: "," }, tr: { y: "y\u0131l", mo: "ay", w: "hafta", d: "g\xFCn", h: "saat", m: "dakika", s: "saniye", ms: "milisaniye", decimal: "," }, vi: { y: "n\u0103m", mo: "th\xE1ng", w: "tu\u1EA7n", d: "ng\xE0y", h: "gi\u1EDD", m: "ph\xFAt", s: "gi\xE2y", ms: "mili gi\xE2y", decimal: "," }, zh_CN: { y: "\u5E74", mo: "\u4E2A\u6708", w: "\u5468", d: "\u5929", h: "\u5C0F\u65F6", m: "\u5206\u949F", s: "\u79D2", ms: "\u6BEB\u79D2", decimal: "." }, zh_TW: { y: "\u5E74", mo: "\u500B\u6708", w: "\u5468", d: "\u5929", h: "\u5C0F\u6642", m: "\u5206\u9418", s: "\u79D2", ms: "\u6BEB\u79D2", decimal: "." } }; - function o(e3) { - var t3 = function(e4, i3) { - return (function(e5, t4) { - var i4, n3, o2; - e5 = Math.abs(e5); - var a2 = t4.languages[t4.language] || r2[t4.language]; - if (!a2) throw new Error("No language " + a2 + "."); - 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 < d2.length; i4++) if (d2[i4].unitCount) { - h = i4; - break; - } - 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, 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 || {})); - }; - return l(t3, { language: "en", delimiter: ", ", spacer: " ", conjunction: "", serialComma: true, units: ["y", "mo", "w", "d", "h", "m", "s"], languages: {}, round: false, unitMeasures: { y: 315576e5, mo: 26298e5, w: 6048e5, d: 864e5, h: 36e5, m: 6e4, s: 1e3, ms: 1 } }, e3); + traverse(e3) { + super.traverse(e3); + for (let t3 = this.states.length - 1; t3 >= 0; t3--) if (this.states[t3].traverse(e3), e3.isCanceled) return; } - var a = o({}); - function s(e3, t3, i3, n3) { - var r3; - r3 = void 0 === n3.decimal ? i3.decimal : n3.decimal; - var o2, a2 = e3.toString().replace(".", r3), s2 = i3[t3]; - return o2 = "function" == typeof s2 ? s2(e3) : s2, a2 + n3.spacer + o2; + updateDependencies() { + o.default.each(this.states, (e3) => { + e3.updateDependencies(); + }), super.updateDependencies(); } - function l(e3) { - for (var t3, i3 = 1; i3 < arguments.length; i3++) for (var n3 in t3 = arguments[i3]) t3.hasOwnProperty(n3) && (e3[n3] = t3[n3]); - return e3; + _loadConfiguration(e3) { + 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); } - 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; + get stateViewModel() { + return c.default; } - 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; + _destroy() { + super._destroy(), this._deleteAllStates(); } - function d(e3) { - return 1 === e3 ? 0 : Math.floor(e3) !== e3 ? 1 : e3 % 10 >= 2 && e3 % 10 <= 4 && e3 % 100 < 10 ? 2 : 3; + _initializeDesignTime() { + super._initializeDesignTime(), o.default.each(this.states, (e3) => { + e3.initializeDesignTime(); + }); } - function p(e3) { - return 1 === e3 || e3 % 10 == 1 && e3 % 100 > 20 ? 0 : Math.floor(e3) !== e3 || e3 % 10 >= 2 && e3 % 100 > 20 || e3 % 10 >= 2 && e3 % 100 < 10 ? 1 : 2; + get periodicState() { + if (this.definition.supportsPeriodicState) return this._periodicState && !this._periodicState.isDestroyed && this._periodicState.id === this._periodicStateId || (this._periodicState = this.getStateById(this._periodicStateId)), this._periodicState; } - a.getSupportedLanguages = function() { - var e3 = []; - for (var t3 in r2) r2.hasOwnProperty(t3) && e3.push(t3); - return e3; - }, a.humanizer = o, void 0 === (n2 = function() { - return a; - }.call(t2, i2, t2, e2)) || (e2.exports = n2); - })(); - }, 76150: (e2, t2, i2) => { + set periodicState(e3) { + if (!this.definition.supportsPeriodicState) return void r.error("flow does not support periodic state"); + if (!e3 || !e3.isState) return void r.error("periodicState must be a state"); + if (this.initialSequence === e3.id) return void r.error("can not set periodicState to initialSequence"); + const t3 = this.periodicState; + t3 && u.validateNode(t3, true), this._periodicStateId = e3.id, this._periodicState = void 0; + const i3 = this.periodicState; + i3 && u.validateNode(i3, true), l.fireEvent(this, s.startUpObjectChanged); + } + } + t2.default = g; + }, 31375(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83663)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635), o = i2(96618), r = i2(94453), a = n2.__importDefault(i2(66700)), s = i2(31145); + class l extends s.NluFlowViewModel { + get hasIntentTaskMappings() { + return true; } - get _globalTypeName() { - return "quickReplies"; + get className() { + return "DigitalBotFlowViewModel"; } - get buttons() { - return this._getAssignableProperty("buttons"); + get isDigitalBotFlow() { + return true; } - get quickReplySummary() { - return this._getAssignableProperty("quickReplySummary"); + get stateViewModel() { + return a.default; } - get displayTypeName() { - return "ArchValueQuickReplies"; + get type() { + return o.flowTypes.flowTypeDigitalBot; } - get isArchValueQuickReplies() { - return true; + get wrappedYamlName() { + return "digitalBot"; + } + get statesYamlPropertyName() { + return "bots"; + } + _createInitialActions() { + return n2.__awaiter(this, void 0, void 0, function* () { + return (0, r.addBotFlowActions)(this), this; + }); + } + canAddLanguage() { + return this.botFlowSettings.allowsMoreThanOneSupportedLanguage || this.topic.traceOnce("DigitalBotFlow engine version is below 3.0", (e3) => e3.warning("Wait a minute, how is this Digital Bot Flow engine version below 3.0? That's umpossible!")), super.canAddLanguage(); } } - t2.default = r2; - }, 76155: (e2, t2, i2) => { + t2.default = l; + }, 37824(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)), 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 = 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(); + const n2 = i2(31635), o = i2(96618), r = 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 c.default(this)), this.emailSendSettings = this._addToAutoManageSettings(new u.default(this)); } - get amObjectEventEmitter() { + get className() { + return "EmailSendViewModel"; + } + get builtInVariableScopes() { + return [...super.builtInVariableScopes, a.scopes.email]; + } + get isEmailSendFlow() { return true; } - get className() { - return "FlowElementWithNodeInformation"; + getFlowConfigurationClass() { + return p; } - get deprecatedViewModelMarker() { - return "__DEPRECATED__"; + get overrideWireFlowConfiguration() { + return _.getEmailSendFlowConfiguration; } - get info() { - return this.constructor.info; + get overrideWireFlowVersionConfiguration() { + return _.getVersionEmailSendFlowConfiguration; } - get isStartUpObject() { - const e3 = this.parentFlow.startUpObject; - return e3 && e3.id === this.id; + get type() { + return o.flowTypes.flowTypeEmailSend; } - get name() { - return this.model.name; + get wrappedYamlName() { + return "emailSend"; } - set name(e3) { - this.model.name = null == e3 ? void 0 : e3.trim(), this.nameFacetError = this.validateName(this.name), s.fireEvent(this, o.nameChanged); + setNewInstanceDefaults(e3) { + return this.errorHandling.handlingType = r.default.AbortSend, super.setNewInstanceDefaults(e3); } - validateName(e3, t3) { - let i3, n3 = false; - if (e3) { - const t4 = this._nameStringFacet._facetValidateValue(e3); - !t4 || t4.isValid ? i3 = void 0 : (i3 = t4.message, n3 = true); - } 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; + } + t2.default = h; + }, 32531(e2, t2, i2) { + "use strict"; + t2.FlowCustomDefinitionsViewModel = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(12847)), r = 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; } - getParentingFlowElementByIdOrNodeInfoId(e3, t3) { - let i3 = t3 ? this.parent : this; - if (i3) for (; i3.parent; ) { - if (r2.default.contains(e3, i3.id) || i3.info && r2.default.contains(e3, i3.info.id)) return i3; - for (i3 = i3.parent; i3 && !r2.default.contains([T.outputIds.loop, T.outputIds.loopNext], i3.id); ) { - const e4 = i3.parent; - if (!(e4 && e4.info && r2.default.contains([m.loopActionType, g.loopUntilActionType], e4.info.id))) break; - i3 = e4.parent; - } - } + objEvent_customDataTypeRegistered(e3, t3) { + this.registerCustomExpressionType(t3), t3.dataTypeDefViewModel.bindToFlow(this.parentFlow), t3.dataTypeDefViewModel.registerPropertyTypeUsages(); } - get isFlowElementWithNodeInformation() { - return true; + objEvent_customDataTypeUnregistered(e3, t3) { + const i3 = this.getCustomDataTypeDefinition(t3.dataTypeIdentifier); + null == i3 || i3.unregisterPropertyTypeUsages(), this.unregisterCustomExpressionType(t3); } - get model() { - return this._model; + get className() { + return "FlowDefinitionsViewModel"; } - get availableVariableScopes() { - return r2.default.union(this.userCreatableVariableScopes, this.parentFlow.availableVariableScopes); + getDisplayName() { + return "Flow Definitions"; } - get defaultVariableScope() { - return this.localVariableScope; + get nodeGuxIcon() { + return "graph-pie"; } - get localVariableScope() { - return c.scopes.flow; + get id() { + return "flowDefinitions"; } - get builtInVariableScopes() { - return this.parentFlow.builtInVariableScopes; + get showInFlowSize() { + return false; } - get userCreatableVariableScopes() { - return r2.default.union([this.localVariableScope]); + loadConfiguration(e3) { + var t3; + e3.customDefinitions || (e3.customDefinitions = new u.default()); + const i3 = null === (t3 = e3.customDefinitions.dataTypeDefinitions) || void 0 === t3 ? void 0 : t3.length; + if (i3) { + m.info(`loading ${i3} custom data type definition${1 !== i3 ? "s" : ""}`); + const t4 = []; + for (const i4 of e3.customDefinitions.dataTypeDefinitions) { + const e4 = new p.default(i4); + (null == e4 ? void 0 : e4.dataTypeId) && (t4.push(e4), this._customDataTypesMap[e4.dataTypeId] = { dataTypeDefViewModel: e4 }); + } + r.createCustomExpressionTypesFromDataTypeDefs(this.parentFlow, t4, true); + } } - get canRename() { - return true; + addCustomTypesToFlowExpressionTypeGroup() { + o.info("Adding custom types to the flow expression type group"); + const e3 = this.customDataTypeDefinitionViewModels; + (null == e3 ? void 0 : e3.length) && r.createCustomExpressionTypesFromDataTypeDefs(this.parentFlow, e3, true); } - canAddNode(e3) { - const t3 = a.getInfo(e3); - if (!t3) return false; - if (this.parentFlow.isReadOnly) return false; - const i3 = this.topParent || this; - return t3.getAvailability(i3, !(i3.isMenu || i3.isMenuChoice), this.parentFlow); + registerExpressionTypeGroupEventSink() { + const e3 = h.default.getTypeGroup(this.parentFlow); + e3 && a.registerEventSinkForEventEmitter(e3.id, this); } - getConfiguration(e3, t3) { - return (null == t3 ? void 0 : t3.isForFlowYaml) ? this._getConfigurationForYaml(e3, t3) : this.model.getConfiguration(e3, t3); + getCustomDataTypeDefinition(e3) { + var t3; + return null === (t3 = this._customDataTypesMap[e3]) || void 0 === t3 ? void 0 : t3.dataTypeDefViewModel; } - processYamlProperty(e3, t3, i3, n3) { - var o2, a2; - return r2.default.isNullOrUndefined(i3) || (null === (o2 = null == n3 ? void 0 : n3.doNotExportForFlowTypes) || void 0 === o2 ? void 0 : o2.includes(this.parentFlow.type)) || i3.outOfService && !(null == n3 ? void 0 : n3.serializeOutOfService) || i3.isExpressionMode && (null === (a2 = null == n3 ? void 0 : n3.doNotExportAsExpressionForFlowTypes) || void 0 === a2 ? void 0 : a2.includes(this.parentFlow.type)) ? null : r2.default.isFunction(i3.getConfiguration) ? i3.getConfiguration(e3, t3, n3) : i3; + getCustomDataTypeDefinitionByName(e3, t3) { + return this.customDataTypeDefinitionViewModels.find((i3) => i3.customJsonIdentifierInfo.namespace === e3 && i3.name === t3); } - getDisplayName() { - return this.name ? this.name : this.info ? this.info.name : ""; + get customDataTypeDefinitionViewModels() { + const e3 = []; + for (const t3 of Object.values(this._customDataTypesMap)) t3.dataTypeDefViewModel && e3.push(t3.dataTypeDefViewModel); + return e3; } - getIsChildOfObject(e3) { - if (!e3) return false; - let t3 = this.parent; - for (; t3; ) { - if (t3 === e3) return true; - if (t3 === e3.menu) return true; - t3 = t3.parentMenu || t3.parent; + get customDataTypeDefinitionModels() { + var e3; + const t3 = []; + for (const i3 of Object.values(this._customDataTypesMap)) { + const n3 = null === (e3 = i3.dataTypeDefViewModel) || void 0 === e3 ? void 0 : e3.model; + n3 && t3.push(n3); } - return false; + return t3; } - getNodeToNavigateToOnDelete() { - let e3 = this.parent; - for (; e3; ) { - if (!e3.isDestroyed && !e3.isFlowViewModel) return e3; - e3 = e3.parent; + get customDataTypeExpressionType() { + const e3 = []; + for (const t3 of Object.values(this._customDataTypesMap)) { + const i3 = t3.expressionType; + i3 && e3.push(i3); } - return this.parentFlow.startUpObject; + return e3; } - getYamlOptionsMap() { - return b.errorWithErrorObjectInfo(`getYamlOptionsMap not implemented for class ${this.className}`, this, true), null; + registerCustomExpressionType(e3) { + var t3; + if (!(null === (t3 = null == e3 ? void 0 : e3.dataTypeDefViewModel) || void 0 === t3 ? void 0 : t3.dataTypeId)) return; + const i3 = this._customDataTypesMap[e3.dataTypeDefViewModel.dataTypeId]; + i3 ? (i3.expressionType = e3.expressionType, i3.dataTypeDefViewModel = e3.dataTypeDefViewModel) : this._customDataTypesMap[e3.dataTypeDefViewModel.dataTypeId] = { dataTypeDefViewModel: e3.dataTypeDefViewModel, expressionType: e3.expressionType }; } - get yamlPath() { - let e3; - return this.parentMenu ? `${this.parentMenu.yamlPath}/choices/menuSubMenu[${this.getRefId()}]` : this.isInQueueStartUpState ? `/${this.parentFlow.wrappedYamlName}/startUpState` : this.isPeriodicState ? `/${this.parentFlow.wrappedYamlName}/periodicState` : this.isMenu || this.isTaskLike ? (e3 = this.wrappedYamlName, `/${this.parentFlow.wrappedYamlName}/${e3}s/${e3}[${this.getRefId()}]`) : null; + unregisterCustomExpressionType(e3) { + (null == e3 ? void 0 : e3.dataTypeIdentifier) && delete this._customDataTypesMap[e3.dataTypeIdentifier]; } - getRefId() { - let e3 = r2.default.isObject(this.linkedMenuChoice) ? this.linkedMenuChoice.trackingId : this.trackingId, t3 = this.getDisplayName(); - if (!r2.default.isString(t3)) return `_${e3}`; - for (const e4 of this.characterToReplace.entries()) t3 = t3.split(e4[0]).join(e4[1]); - return `${t3}_${e3}`; + getConfiguration(e3, t3, i3) { + super.getConfiguration(e3, t3, i3); + const n3 = this._getCustomDataTypeDefinitionIdsToSerialize(t3), o2 = this.customDataTypeDefinitionModels.filter((e4) => n3.has(e4.dataTypeId)); + e3.customDefinitions = new u.default({ dataTypeDefinitions: o2 }); } - initialize() { - super.initialize(); + _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; } - updateTraceTopic() { - var e3, t3; - const i3 = l.getTopic((null === (e3 = this.info) || void 0 === e3 ? void 0 : e3.typeId) || this.className); - this.topic = this.model ? i3.withMultipleContext(Object.assign({ actionId: this.id, infoName: null === (t3 = this.info) || void 0 === t3 ? void 0 : t3.name }, this.parentFlow.topic.context)) : i3; + _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; } - validate(e3) { - this.nameFacetError = this.validateName(this.name, e3); + _preDestroy() { + this.amObjectEventSink && a.unregisterEventSink(this), this._customDataTypesMap = {}, super._preDestroy(); } - _getConfigurationForYaml(e3, t3) { - var i3; - let n3 = {}, o2 = false; - if (!r2.default.isFunction(this.getYamlOptionsMap)) return null; - const a2 = this.getYamlOptionsMap(); - if (a2 ? r2.default.mapObject(a2, (i4, a3) => { - if (!i4) return void b.errorWithStack(null, `No yamlOptions found for property '${a3}'.`); - if (i4.skipProperty) return; - i4.wrapValueAndActionsInPropertyName && (o2 = true), a3.startsWith(this.deprecatedViewModelMarker) && (a3 = a3.replace(this.deprecatedViewModelMarker, "")); - const s3 = this[a3]; - let l2 = this.processYamlProperty(e3, t3, s3, i4); - r2.default.isNullOrUndefined(l2) || (r2.default.isObject(l2) && r2.default.isEmpty(l2) && b.errorWithStack(null, `Empty object generated for YAML property '${a3}'`), l2 = r2.default.tryWrapObject(l2, i4.wrappedValueName), i4.wrappedObjectName ? n3[i4.wrappedObjectName] = r2.default.tryWrapObject(l2, i4.propertyName || a3) : n3[i4.propertyName || a3] = l2); - }) : b.errorWithErrorObjectInfo("No yamlOptionsMap found for node.", this, true), r2.default.each(this.branches, (i4) => { - if (o2 && !i4.isBuiltInBranch) return; - const a3 = i4.getConfiguration(e3, t3); - if (a3 || this.supportsNLUIntents) if (this.supportsIntents && i4.isDynamicBranch) this._ensureOutputsObjectAddedToYamlConfig(n3), n3.outputs.intents || (n3.outputs.intents = {}), n3.outputs.intents[i4.getYamlOutputId(i4.id)] = a3; - else if (this.supportsCustomOutputPaths && this.getOptionalBranchInfo(i4.id)) { - this._ensureOutputsObjectAddedToYamlConfig(n3); - const e4 = this.supportsNLUIntents ? "intent" : "path", t4 = `${e4}s`; - n3.outputs[t4] || (n3.outputs[t4] = []); - const o3 = r2.default.extend({ name: i4.label }, a3); - this.supportsNLUIntents && (i4.isDynamicBranch ? o3.enabled = i4.isEnabledDynamicBranch : o3.enabled = !i4.outOfService), n3.outputs[t4].push(r2.default.tryWrapObject(o3, e4)); - } else a3 && (this._ensureOutputsObjectAddedToYamlConfig(n3), n3.outputs[i4.getYamlOutputId(i4.id)] = a3); - }), this.postProcessYamlConfig && this.postProcessYamlConfig(n3, e3, t3), this.isMenu && (n3.refId = this.getRefId()), null === (i3 = null == t3 ? void 0 : t3.yamlOptions) || void 0 === i3 ? void 0 : i3.includeTrackingIds) { - const e4 = this.trackingId; - e4 && (n3.trackingId = e4); + getDataTypeDefViewModelForCustomDataTypeId(e3) { + var t3; + return null === (t3 = this._customDataTypesMap[e3]) || void 0 === t3 ? void 0 : t3.dataTypeDefViewModel; + } + getExpressionTypeForCustomDataTypeId(e3) { + var t3; + return null === (t3 = this._customDataTypesMap[e3]) || void 0 === t3 ? void 0 : t3.expressionType; + } + } + t2.FlowCustomDefinitionsViewModel = g; + }, 90396(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.isFlowInfoViewModel = function(e3) { + return e3.isFlowInfo; + }; + const n2 = i2(31635), o = n2.__importStar(i2(74359)), r = 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); + } + loadModel(e3) { + if (e3) { + if (e3.isFlowInfoViewModel ? this._model = e3._model : this._model = e3, this._versions.updateInfoVersions(e3.savedVersion, e3.checkedInVersion, e3.publishedVersion, e3.debugVersion), this._definition = u.default.getDefinitionForFlowType(this.type), this.isLocked && o.getConnectedUser().id) { + const e4 = o.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 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); } - this.isStartUpObject && (e3.startUpRef = this.yamlPath); - const s2 = {}; - return r2.default.each(a2, (e4, t4) => { - e4 && r2.default.isActualNumber(e4.exportOrder) && (s2[e4.propertyName || t4] = e4.exportOrder); - }), n3 = O.default.sortObjectByPropertyMap(n3, r2.default.extend(this.yamlPropertyOrderMap, s2)), r2.default.tryWrapObject(n3, this.wrappedYamlName); } - getYamlOutputId(e3) { - return C[e3]; + loadAlternateSchema(e3, t3) { + t3.inputSchema && (this._alternateInputSchemas[e3] = new c.default(t3.inputSchema, true)), t3.outputSchema && (this._alternateOutputSchemas[e3] = new c.default(t3.outputSchema, false)); } - get supportsNLUIntents() { + 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 supportsIntents() { + get topic() { + return this._topic; } - get supportsCustomOutputPaths() { + get versions() { + return this._versions; } - get yamlPropertyOrderMap() { - return { name: 0, refId: 10, trackingId: 15, outputs: 999 }; + get className() { + return "FlowInfoViewModel"; } - _ensureOutputsObjectAddedToYamlConfig(e3) { - e3.outputs || (e3.outputs = {}); + get checkedInDisplay() { + return this.versions.checkedInDisplay; } - _loadModel(e3) { - e3 && (this._model = e3, this.updateTraceTopic(), h.flowElementRegistrationService.registerItem(this)); + get debugVersionDisplay() { + return this.versions.debugDisplay; } - _preDestroy() { - super._preDestroy(), u.removeNode(this), (0, d.clearIssues)(this), h.flowElementRegistrationService.unregisterItem(this); + get debugVersion() { + return this.versions.debugVersion; } - toString() { - var e3, t3; - return `infoName: '${null === (e3 = this.info) || void 0 === e3 ? void 0 : e3.name}', infoType: '${null === (t3 = this.info) || void 0 === t3 ? void 0 : t3.typeId}', id: '${this.id}'`; + get description() { + return this._model.description; } - } - t2.default = E; - }, 76159: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyFormType = void 0; - const n2 = i2(70147), r2 = i2(94765), o = i2(80428); - class a extends r2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + set description(e3) { + this._model.description = e3; } - get className() { - return "SurveyFormType"; + get displayName() { + return this._model.displayName; } - createExpressionOptionClass() { - return new n2.ExpressionTypeSurveyFormOptions(); + set displayName(e3) { + this._model.displayName = e3; } - validateLiteral(e3, t3) { - return true; + get displayNameEscaped() { + return s.default.escape(this.displayName); } - get supportsLiteralEditor() { - return false; + get division() { + return this._model.division; } - } - t2.SurveyFormType = a, a.typeIdentifier = o.expressionTypeNames.surveyForm; - }, 76171: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchDefinitionValue = void 0; - const n2 = i2(31635), r2 = i2(39637), o = n2.__importDefault(i2(78432)); - class a extends r2.ArchBaseDefinition { - constructor(e3) { - super(e3); + get divisionViewModel() { + return new _.DivisionViewModel(this._model.division); } - get dataType() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel()); + get divisionName() { + return this.division && this.division.name ? this.division.name : T.flow.unknownDivision; } - get displayTypeName() { - return "ArchDefinitionValue"; + get lockedUserName() { + if (!this.lockedUser) return ""; + if (!this.lockedUser.displayName) { + if (this.lockedUser.id === o.getConnectedUser().id) return o.getConnectedUser().displayName || T.generic.currentUser; + let e3 = y.getUnknownUserName(this.lockedUser.id, this.lockedUser.isOAuthClient); + return e3 || (e3 = this.lockedUser.isOAuthClient ? T.flow.unknownClient : T.flow.unknownUser), e3; + } + return this.lockedUser.displayName; } - get isArchDefinitionValue() { - return true; + get nluInfo() { + var e3; + return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.nluInfo; } - isAvailableForFlowType(e3) { - return this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getFlowInfoByFlowIdAsync"), e3, o.default.FLOW_TYPES_ALL), this._getCoreViewModel().isAvailableForFlowType(e3); + get surveyForm() { + var e3; + return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.surveyForm; } - } - t2.ArchDefinitionValue = a; - }, 76189: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(37097)), a = i2(5173); - class s extends a.BaseFlowPreviewInstance { - _startPreviewForFlowInfo(e3, t3, i3, a2) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i4 = yield o.postDigitalBotFlowLaunch(e3.id, t3, r2.default.isObject(a2) ? a2 : {}); - return console.log(`digital bot flow instance '${i4.id}'`), i4.id; - }); + get publishedDisplay() { + return this.versions.publishedDisplay; } - _isFlowNotificationEventDataForThisPreview(e3, t3) { - return e3 && (null == t3 ? void 0 : t3.executionId) === e3; + get publishedVersion() { + return this.versions.publishedVersion; } - get supportsDebugPublishedPreview() { + get system() { + return this._model.system; + } + actionInProgress(e3) { + if (this._model.currentOperation && (!e3 || this._model.currentOperation.actionName === e3)) switch (this._model.currentOperation.actionStatus) { + case r.actionStatus.started: + case r.actionStatus.pendingGeneration: + case r.actionStatus.pendingBackendNotification: + return true; + case r.actionStatus.success: + case r.actionStatus.failure: + default: + return false; + } return false; } - get supportsPublishedFlowPreview() { - return true; + get isActive() { + return this._model.active; } - get supportsPreviewPayload() { - return true; + get hasBriefModel() { + return this._model && this._model.isBaseBriefEntity; } - } - t2.default = s; - }, 76217: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get hasCheckedInVersion() { + return !(!this.versions || !this.versions.checkedInVersion); } - get _globalTypeName() { - return "choice"; + get hasDebugPublish() { + return !(!this.versions || !this.versions.debugVersion); + } + get couldHavePublishedVersionExecutionData() { + return (this.isPublished || this.hasDebugPublish || this.versions.getInferredVersions().length > 1) && l.default.flowTypeSupportsExecutionData(this.type); + } + get canEdit() { + return f.permissionServiceHelper.canEditFlow(this); + } + get checkCanEdit() { + return f.permissionServiceHelper.checkCanEditFlow(this); + } + get canDelete() { + return f.permissionServiceHelper.canDeleteFlow(this); + } + get checkCanDelete() { + return f.permissionServiceHelper.checkCanDeleteFlow(this); + } + get canPublish() { + return f.permissionServiceHelper.canPublishFlow(this); + } + get checkCanPublish() { + return f.permissionServiceHelper.checkCanPublishFlow(this); + } + get canUnlock() { + return this.currentUserHasLock ? f.permissionServiceHelper.canEditFlow(this) : f.permissionServiceHelper.canUnlockFlow(this); + } + get checkCanUnlock() { + return this.currentUserHasLock ? f.permissionServiceHelper.checkCanEditFlow(this) : f.permissionServiceHelper.checkCanUnlockFlow(this); + } + get canView() { + return f.permissionServiceHelper.canViewFlow(this); + } + get canViewDisplayString() { + return f.permissionServiceHelper.checkCanViewFlow(this).displayString; + } + get currentUserCanEdit() { + return this._currentUserCanEdit; + } + resetCurrentUserCanEdit() { + this._currentUserCanEdit = this.currentUserHasLock && o.getConnectedUser() && this.canEdit && this.versions.isLatestVersion && !this.deleted || this.id && "__" === this.id.slice(0, 2); + } + get currentUserHasLock() { + return this._currentUserHasLock; + } + get currentOperation() { + return this._model.currentOperation; + } + get defaultLanguage() { + var e3; + if (null === (e3 = this.supportedLanguages) || void 0 === e3 ? void 0 : e3.length) { + for (const e4 of this.supportedLanguages) if (null == e4 ? void 0 : e4.isDefault) return e4.language; + } + } + get deleted() { + return this._model.deleted || "deleted" === this.state; + } + get state() { + return this._model.state; + } + get definition() { + return this._definition; + } + get flowTypeName() { + return this.definition.typeDisplayName; + } + get virtualAgentEnabled() { + var e3, t3, i3; + return (null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled) || (null === (i3 = null === (t3 = this._model) || void 0 === t3 ? void 0 : t3.publishedVersion) || void 0 === i3 ? void 0 : i3.virtualAgentEnabled) || false; + } + get agenticVirtualAgentEnabled() { + var e3, t3, i3; + return (null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.agenticVirtualAgentEnabled) || (null === (i3 = null === (t3 = this._model) || void 0 === t3 ? void 0 : t3.publishedVersion) || void 0 === i3 ? void 0 : i3.agenticVirtualAgentEnabled) || false; + } + get inputSchema() { + return this._inputSchema; } - get initialValue() { - return this._initialValue; + get outputSchema() { + return this._outputSchema; } - get displayTypeName() { - return "ArchVariableChoice"; + get alternateInputSchemas() { + return this._alternateInputSchemas; } - get isArchVariableChoice() { - return true; + get alternateOutputSchemas() { + return this._alternateOutputSchemas; } - } - 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)), 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(); + get hasLoadedSchemas() { + return !!this.inputSchema || !!this.outputSchema; } - getDetails() { - return this.targetAddress ? new c.ActionDetails([h.completeSurvey.targetAddressLabel], [this.targetAddress.text]) : null; + hasSchemaInputVariable(e3) { + return !(!e3 || "string" != typeof e3 || e3.trim().length < 1) && (e3 = e3.toLowerCase(), this.inputSchema && s.default.find(this.inputSchema.properties, (t3) => { + var i3; + return (null === (i3 = t3.name) || void 0 === i3 ? void 0 : i3.toLowerCase()) === e3; + })); } - static get managedProperties() { - 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 }]; + hasSchemaOutputVariable(e3) { + return !(!e3 || "string" != typeof e3 || e3.trim().length < 1) && (e3 = e3.toLowerCase(), this.outputSchema && s.default.find(this.outputSchema.properties, (t3) => { + var i3; + return (null === (i3 = t3.name) || void 0 === i3 ? void 0 : i3.toLowerCase()) === e3; + })); } - setTargetAddressType() { - this.targetAddressType.outOfService = true, this.targetAddressType.setAsLiteral("Email"); + hasSchemaVariable(e3) { + return this.hasSchemaOutputVariable(e3) || this.hasSchemaInputVariable(e3); } - 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, h.completeSurvey.validation.reminderMustHaveSubjectAndBody); + getAllSchemaProperties() { + const e3 = this.outputSchema ? this.outputSchema.properties : [], t3 = this.inputSchema ? this.inputSchema.properties : []; + return [].concat(e3 || [], t3 || []); } - } - 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; - const n2 = i2(94765), r2 = i2(82319), o = i2(80428); - class a extends n2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + get id() { + return this._model.id || this._model.flowId; } - get className() { - return "CommunicationType"; + get info() { + return this.topic.warningWithStack(null, "Accessing the getter info off of FlowInfoViewModel."), this; } - canConvertLitToExpression(e3) { - return false; + get isCheckedInSecure() { + var e3; + return !!(null === (e3 = this.versions.checkedInVersion) || void 0 === e3 ? void 0 : e3.secure); } - convertLitToExpression(e3, t3) { - return ""; + get isPublishedSecure() { + var e3; + return !!(null === (e3 = this.versions.publishedVersion) || void 0 === e3 ? void 0 : e3.secure); } - createExpressionOptionClass() { - return new r2.ExpressionTypeCommunicationOptions(); + get isFlowInfo() { + return true; } - get supportsLiteralEditor() { - return false; + get isFlowInfoViewModel() { + return true; } - } - t2.CommunicationType = a, a.typeIdentifier = o.expressionTypeNames.communication; - }, 76366: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - 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), c = "rawJsonToModels", d = "pasteReIdOrRename", p = "performPasteResolveOldToNewValues", _ = "modelsToViewModels"; - class h extends r2 { - constructor(e3, t3) { - super(e3, t3); + get isInQueueCallFlow() { + return this.type === h.flowTypes.flowTypeInQueueCall; } - static _addMenuChoiceToCoreContent(e3, t3) { - const i3 = e3.getConfiguration(); - if (!i3) throw "could not get core menu choice view model configuration"; - const r3 = { menuChoice: o.cloneToRawJsonObject(i3) }; - if (e3.isSubMenu) { - const t4 = e3.action.menuReference; - if (t4) { - const i4 = e3.parentFlow.getMenuById(t4); - i4 && (r3.menu = h._cloneMenuToJSONClearingChoices(i4.model)); - } - } else if (e3.isInlineTask) { - const t4 = e3.action.taskReference; - if (t4) { - const i4 = e3.parentFlow.getTaskById(t4); - i4 && (r3.task = o.cloneToRawJsonObject(i4.getConfiguration())); - } - } - t3.push(r3), n2.isArray(e3.choices) && (r3.menuChoices = [], n2.each(e3.choices, function(e4) { - h._addMenuChoiceToCoreContent(e4, r3.menuChoices); - }.bind(this))); + get isVoicemailFlow() { + return this.type === h.flowTypes.flowTypeVoicemail; } - static _addMenuToCoreContent(e3) { - const t3 = e3.model; - if (!t3) throw "could not get core mnenu view model configuration"; - const i3 = { menu: h._cloneMenuToJSONClearingChoices(t3), menuChoices: [] }; - return n2.each(e3.choices, function(e4) { - h._addMenuChoiceToCoreContent(e4, i3.menuChoices); - }.bind(this)), i3; + get isImportant() { + return this.system; } - _deleteMenuChoicesForCut(e3) { - if (n2.isArray(e3.choices)) for (let t3 = e3.choices.length - 1; t3 >= 0; t3--) { - const i3 = this._deleteMenuChoicesForCut(e3.choices[t3]); - if (i3.isFailure) return i3; - } - return e3.destroy(), this.createClipboardResultSuccess(); + get isLocked() { + return !!this._model.lockedUser || !!this._model.lockedClient; } - _deleteMenuForCut(e3) { - for (let t3 = e3.choices.length - 1; t3 >= 0; t3--) { - const i3 = this._deleteMenuChoicesForCut(e3.choices[t3]); - if (i3.isFailure) return i3; - } - return e3.parentFlow.deleteNode(e3), this.createClipboardResultSuccess(); + get isPublished() { + return !!this.versions.publishedVersion; } - static _cloneMenuToJSONClearingChoices(e3) { - const t3 = o.cloneToRawJsonObject(e3); - return t3.menuChoiceList = [], t3; + get isDebugPublished() { + return !!this.versions.debugVersion; } - _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, v, O; - if (!n2.isUndefined(y) && r3 === _) { - this.pushLogHeader("menu - name " + this._getNameAndIdStr(y)); - try { - this.log("Adding view model for menu " + this._getNameAndIdStr(y) + " to flow menus that currently has " + e3.destFlowViewModel.menus.length + " menu(s)."), m = this._pasteAddMenuViewModelForMenuModel(e3, y), a2 && (this.pastedMenuOrTaskOrActionViewModel = m), N = m; - } finally { - this.popLogHeader(); - } - } - if (!n2.isUndefined(A) && r3 === _) { - this.pushLogHeader("task - name " + this._getNameAndIdStr(A)); - 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), v = t4; - } finally { - this.popLogHeader(); - } - } - if (n2.isUndefined(g)) { - if (i3) return this.createClipboardResultFailurePasteGeneric("There is no menu choice model for " + this._getNameAndIdStr(t3.menuChoice) + " to call " + r3 + "."); - } else { - this.pushLogHeader("menu choice - name " + this._getNameAndIdStr(g)); - try { - switch (r3) { - case c: - t3.menuChoiceModel = new l(g); - break; - 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), O = h2; - } - } finally { - this.popLogHeader(); - } - } - if (!n2.isUndefined(T)) { - this.pushLogHeader("menu - name " + this._getNameAndIdStr(T)); - try { - switch (r3) { - case c: - t3.menuModel = new s(T); - break; - case d: - y.pasteReIdOrRename(e3.clipboardObject); - break; - case p: - y.pasteResolveOldToNewValues(e3.clipboardObject); - } - } finally { - this.popLogHeader(); - } - } - if (!n2.isUndefined(S)) { - this.pushLogHeader("task - name " + this._getNameAndIdStr(S)); - try { - switch (r3) { - case c: - t3.taskModel = new u(S); - break; - case d: - A.pasteReIdOrRename(e3.clipboardObject); - break; - case p: - A.pasteResolveOldToNewValues(e3.clipboardObject); - } - } finally { - this.popLogHeader(); - } - } - 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; - } - return this.createClipboardResultSuccess(); + get isLockedByOtherUser() { + return this.isLocked && !this.currentUserHasLock; } - _performDestroy() { - super._performDestroy(); + get isReadOnly() { + return !this.currentUserCanEdit; } - _performPaste(e3) { - let t3; - try { - const i3 = this.clipboardContentType === a.menuChoice; - 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) { - t3 = this.createClipboardResultFailurePasteException(e4, "Exception caught in clipboard menu / menu choice paste handling.", e4); - } - return t3; + get label() { + return this.displayName || ""; } - _resetUpconvertViewModels() { - super._resetUpconvertViewModels(), this._destUpconvertMenuChoiceViewModel = void 0; + get lockedUser() { + return this._model.lockedUser || this._model.lockedClient; } - get className() { - return "BaseClipboardContentMenuMenuChoiceViewModel"; + get supportedLanguages() { + var e3, t3; + return this._model.supportedLanguages || (null === (t3 = null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.publishedVersion) || void 0 === t3 ? void 0 : t3.supportedLanguages); } - get isBaseClipboardContentMenuMenuChoiceViewModel() { - return true; + get text() { + return this.displayName || ""; } - shouldPasteAsDownConvertAction(e3) { - return false; + get type() { + return this._model.type.toLowerCase(); } - shouldPasteAsReusableMenu(e3) { - return false; + updateSavedVersion(e3) { + this._model.savedVersion = e3, this.versions.updateInfoVersions(this._model.savedVersion, this._model.checkedInVersion, this._model.publishedVersion, this._model.debugVersion); } - shouldPasteAsReusableTask(e3) { - return false; + toString() { + return `FlowInfo - type: '${this.type}', id: '${this.id}'`; } } - e2.exports = h; - }, 76486: (e2, t2, i2) => { + t2.default = S; + }, 19975(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(55909), r2 = i2(33951); - t2.default = class { - constructor({ expressionType: e3, label: t3, descriptionInfo: i3, configureOptionsCallback: o, requiredFuncOpOverloadIds: a }) { - r2.ParameterValidator.expectExpressionType(e3, () => n2.ParameterInfo.createConstructorParameter(this.className, "expressionType")), r2.ParameterValidator.expectString(t3, () => n2.ParameterInfo.createConstructorParameter(this.className, "label")), r2.ParameterValidator.expectObject(i3, () => n2.ParameterInfo.createConstructorParameter(this.className, "descriptionInfo"), true), r2.ParameterValidator.expectFunction(o, () => n2.ParameterInfo.createConstructorParameter(this.className, "configureOptionsCallback"), true), r2.ParameterValidator.expectArray(a, () => n2.ParameterInfo.createConstructorParameter(this.className, "requiredFuncOpOverloadIds"), true), Object.defineProperties(this, { _configureOptionsCallback: { value: o }, _descriptionInfo: { value: i3 }, _expressionType: { value: e3 }, _label: { value: t3 }, _requiredFuncOpOverloadIds: { value: a } }); - } - get defaultText() { - return this._defaultText; + t2.FlowVersionManager = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(18325)), a = i2(55299), s = i2(80295); + class l extends a.BaseClass { + constructor(e3) { + super(), this._inferredVersions = [], (0, s.makeUnenumerable)(this, "flowInfo"), this.flowInfo = e3; } - get label() { - return this._label; + get className() { + return "FlowVersionManager"; } - get configureOptionsCallback() { - return this._configureOptionsCallback; + alreadyLoaded(e3) { + return !(e3 !== this._currentVersionNumber && (this.savedVersion || !this.checkedInVersion || e3 !== r.latest && this._currentVersionNumber !== r.latest || this.checkedInVersion.name !== this._currentVersionNumber && this.checkedInVersion.name !== e3)); } - get type() { - return this._expressionType; + convertVersionUrl(e3) { + if (!e3 && !this.checkedInVersion) return r.latest; + if ((e3 = e3 || r.latest) === r.latest) return e3; + const t3 = e3.replace("v", "").replace("-", "."), i3 = this._getVersionNumber(t3); + return o.default.isNaN(i3) || i3 <= 0 || this.checkedInVersion && this._getVersionNumber(this.checkedInVersion.name) < i3 ? r.latest : i3 + ".0"; } - get descriptionInfo() { - return this._descriptionInfo; + get checkedInDisplay() { + return this.checkedInVersion && this.checkedInVersion.name ? this.checkedInVersion.name : ""; } - get requiredFuncOpOverloadIds() { - return this._requiredFuncOpOverloadIds; + get checkedInVersion() { + return this._checkedInVersion; } - get className() { - return "ExpressionDef"; + get currentVersionNumber() { + return this.checkedInVersion ? this._currentVersionNumber === r.latest ? this.flowInfo.isLocked && this.flowInfo.currentUserHasLock ? this.nextVersionNumber : this.latestVersionNumber : this._currentVersionNumber || this.checkedInVersion.name : r.ver_1_0; } - get isExpressionDef() { - return true; + get rawCurrentVersionNumber() { + return this._currentVersionNumber; } - createExpression(e3) { + getInferredVersions() { + if (this._inferredVersions.length > 0) return this._inferredVersions; + const e3 = this._getVersionNumber(this.latestVersionNumber); + let t3; + this.checkedInVersion && this.flowInfo.currentUserHasLock && (t3 = this._createInferredVersion(e3 + 1), t3.isSavedVersion = true, t3.versionId = r.latest, this._inferredVersions.push(t3)); + for (let t4 = e3; t4 >= 1; t4--) this._inferredVersions.push(this._createInferredVersion(t4)); + return !this.checkedInVersion && this.savedVersion && 1 === e3 && (t3 = this._inferredVersions[0], t3.isSavedVersion = true, t3.versionId = r.latest), this._inferredVersions; } - reviveItem(e3, t3, i3) { + getVersionNumber(e3) { + return o.default.find(this.getInferredVersions(), (t3) => t3.displayName === e3); } - }; - }, 76501: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getVersionExtension() { + return "_v" + this.currentVersionNumber.replace(/\./, "-"); } - get _globalTypeName() { - return "any"; + get isLatestVersion() { + return !(this._currentVersionNumber || this.savedVersion || this.checkedInVersion || this.publishedVersion) || this._currentVersionNumber === r.latest || this.checkedInVersion && !this.savedVersion && this.checkedInVersion.name === this._currentVersionNumber; } - get displayTypeName() { - return "ArchValueAny"; + get isVersionOne() { + return this.currentVersionNumber === r.ver_1_0; } - get isArchValueAny() { - return true; + get latestVersion() { + return this.savedVersion ? this.savedVersion : this.checkedInVersion ? this.checkedInVersion : null; } - } - t2.default = r2; - }, 76533: (e2, t2, i2) => { - "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 c extends a.default { - get id() { - return u; + get latestVersionNumber() { + const e3 = this.checkedInVersion; + return e3 ? e3.name : r.ver_1_0; } - static get id() { - return u; + loadedConfigurationVersion(e3) { + this._currentVersionNumber = e3, this.flowInfo.resetCurrentUserCanEdit(); } - get showInFlowSize() { - return false; + get nextVersionNumber() { + const e3 = this.checkedInVersion; + return (this._getVersionNumber(e3 ? e3.name : null) + 1).toString() + ".0"; } - get parentFlowTreeNodeId() { - return s.default.id; + get publishedDisplay() { + return this.publishedVersion && this.publishedVersion.name ? this.publishedVersion.name : ""; } - get className() { - return "LearningSettingsViewModel"; + get debugDisplay() { + return this.debugVersion && this.debugVersion.name ? this.debugVersion.name : ""; } - getDisplayName() { - return l.learning.label; + get debugVersion() { + return this._debugVersion; } - get helpTopic() { - return o.helpTopics.treeNodes.learningSettings; + get publishedVersion() { + return this._publishedVersion; } - get isLearningSettingsNode() { - return true; + get savedVersion() { + return this._savedVersion; } - get nodeGuxIcon() { - return "skills"; + updateInfoVersions(e3, t3, i3, n3) { + this._inferredVersions.length = 0, this._savedVersion = e3, this._checkedInVersion = t3, this._debugVersion = n3, this._publishedVersion = i3; } - get workbenchArchNodeName() { - return r2.default.nodeIds.learning; + _createInferredVersion(e3) { + return { versionId: "v" + e3 + "-0", displayName: e3 + ".0", isVersionOne: 1 === e3 }; } - _destroy() { - super._destroy(); + _getVersionNumber(e3, t3) { + let i3 = t3 || 0; + return e3 && (i3 = parseFloat(e3)), i3; } } - t2.default = c; - }, 76565: (e2, t2, i2) => { + t2.FlowVersionManager = l; + }, 81948(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(); + Object.defineProperty(t2, "__esModule", { value: true }), t2.TEST_getFlowCount = function() { + return Object.keys(De).length; + }, t2.TEST_getFlowWithName = function(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), o = i2(96618), r = 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), I = n2.__importDefault(i2(85499)), C = i2(84464), O = 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)), q = n2.__importStar(i2(1115)), W = 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)), oe = i2(32854), re = 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)), Ie = i2(37345), Ce = i2(89266), Oe = i2(81120), be = i2(47957), Ee = i2(25015), we = i2(85160), Re = i2(92330), De = {}, Pe = "seenChangeSets"; + class Me extends pe.default { + get wrappedYamlName() { } - get sourceIconName() { - return this.sourceEntityType === s.changeSetEntityType.copilot ? "fa/wand-magic-sparkles-regular" : "settings"; + 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 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 re.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 oe.CustomTypesViewModel(this)), this.supportsReusableMenus && (this.menuSettings = this._addToAutoManageSettings(new de.default(this))); } - recordLookupRegistered(e3) { - const t3 = this._getOrCreateLookupStats(e3); - t3.total++, t3.inProgress++; + get tasks() { + return void 0 === this._tasksArray && (this._tasksArray = Object.values(this._tasksMap)), this._tasksArray; } - recordLookupResolved(e3) { - const t3 = this._getOrCreateLookupStats(e3); - t3.succeeded++, t3.inProgress--; + get hasTasks() { + var e3; + return (null === (e3 = this.tasks) || void 0 === e3 ? void 0 : e3.length) >= 1; } - recordLookupFailed(e3) { - const t3 = this._getOrCreateLookupStats(e3); - t3.failed++, t3.inProgress--; + deleteAllTasks() { + c.default.destroyContents(this._tasksMap), this._tasksArray = void 0; } - get lookupStats() { - return this._lookupStats; + getTaskById(e3) { + return this._tasksMap[e3]; } - _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; + _deleteTask(e3) { + (null == e3 ? void 0 : e3.id) && (delete this._tasksMap[e3.id], this._tasksArray = void 0); } - get results() { - return this._results; + _addTask(e3) { + (null == e3 ? void 0 : e3.id) ? (this._tasksMap[e3.id] && this.topic.error("_addTask called with a node that has already been added, id: " + e3.id), this._tasksMap[e3.id] = e3, this._tasksArray = void 0) : this.topic.error("_addTask called with a node that has no id"); } - 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); + get menus() { + if (this.supportsReusableMenus) return void 0 === this._menusArray && (this._menusArray = Object.values(this._menusMap)), this._menusArray; } - getResultByPath(e3) { - return this._byPath.get(e3); + get hasMenus() { + var e3; + return (null === (e3 = this.menus) || void 0 === e3 ? void 0 : e3.length) >= 1; } - getResultByRefId(e3) { - return this._byRefId.get(e3); + deleteAllMenus() { + c.default.destroyContents(this._menusMap), this._menusArray = void 0; } - mergeFrom(e3) { - for (const t3 of e3.results) this.addResult(t3); + getMenuById(e3) { + return this._menusMap[e3]; } - 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 } }; + _deleteMenu(e3) { + (null == e3 ? void 0 : e3.id) && (delete this._menusMap[e3.id], this._menusArray = void 0); } - }; - }, 76573: (e2, t2, i2) => { - const n2 = i2(5410), { initializeFlowOutcomeActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 76632: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneySessionsByCustomerActionModel = void 0; - const n2 = i2(31635), r2 = i2(28904), o = i2(80295), a = n2.__importDefault(i2(7401)), s = i2(30801), l = i2(80295); - class u extends r2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_findIdType"); + _addMenu(e3) { + (null == e3 ? void 0 : e3.id) ? (this._menusMap[e3.id] && this.topic.error("_addMenu called with a node that has already been added, id: " + e3.id), this._menusMap[e3.id] = e3, this._menusArray = void 0) : this.topic.error("_addMenu called with a node that has no id"); } - get findIdType() { - return this._findIdType; + invokeValidationComplete() { + this._validationComplete$.next(this.validationResults); } - set findIdType(e3) { - this._findIdType = this.reviveItem(e3, a.default); + invokeSingleItemValidated(e3) { + var t3; + this._singleItemValidated$.next({ validationResults: this.validationResults, validatedItem: e3 }), (null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.topParent) && this._singleItemValidated$.next({ validationResults: this.validationResults, validatedItem: e3.parent }); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._findIdType.pasteReIdOrRename(e3); + get loaded() { + return this.loaded$.value; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._findIdType.pasteResolveOldToNewValues(e3); + set loaded(e3) { + this.loaded$.next(e3); } - } - t2.GetJourneySessionsByCustomerActionModel = u, u.__type = s.getJourneySessionsByCustomerActionType, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], u.prototype, "findIdType", null), u.registerType(); - }, 76634: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreSpeechRecSettingsViewModel = e3; + get amObjectEventEmitter() { + return true; } - get displayTypeName() { - return "ArchSettingsSpeechRec"; + get supportedLanguageOptions() { + return this._supportedLanguageOptions; + } + set supportedLanguageOptions(e3) { + this._supportedLanguageOptions = e3; + } + 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), c.default.each(this._autoManagedSettings, (n4) => { + if (t3 && n4.isDependenciesNode) return; + if ((null == i3 ? void 0 : i3.isForFlowYaml) && !n4.wrappedYamlName) return; + const o3 = n4.getConfiguration(e3, i3); + (null == i3 ? void 0 : i3.isForFlowYaml) && o3 && !c.default.isEmpty(o3) && (e3[n4.wrappedYamlName] = o3); + }); + const o2 = this.data.getConfiguration(e3, i3); + (null == i3 ? void 0 : i3.isForFlowYaml) && !o2.length || (e3.variables = o2); + const r2 = 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)), c.default.isString(e3.defaultLanguage) && (e3.defaultLanguage = e3.defaultLanguage.toLowerCase()), null == r2 ? void 0 : r2.length) { + const t4 = r2.filter((e4) => !e4.initValue.isNoValueMode).map((t5) => t5.getConfiguration(e3, i3)); + t4.length && (e3.variables || (e3.variables = []), e3.variables.push(...t4)); + } + return e3; + } + (null == r2 ? void 0 : r2.length) && (e3.systemInitialValues = r2.reduce((e4, t4) => (e4[t4.id] = t4.initValue.model, e4), {})), e3.nextTrackingNumber = this.nextTrackingNumber, e3.initialSequence = this.initialSequence, e3.type = this.type; + 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; + if (this.hasTasks) if ((null == e3 ? void 0 : e3.isForFlowYaml) && !this.supportsReusableTasks) { + 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) ? 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]; + } } - get _allowBlankObjectId() { - return true; + writeMenusToConfig(e3, t3) { + if (this.supportsReusableMenus && this.menus && (this.hasMenus || !(null == e3 ? void 0 : e3.isForFlowYaml))) { + 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)); + }); + } } - get completeMatchTimeout() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecTimeoutComplete); + canBeValidated() { + return this.loaded && this._receivedInitialValidationData && !this.isDestroyedOrDestroying && this.initializeDesignTimeCalled; } - get incompleteMatchTimeout() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecTimeoutIncomplete); + checkVersion(e3) { + c.default.each(this.tasks, (t3) => { + t3.checkVersion(e3); + }), c.default.each(this.menus, (t3) => { + t3.checkVersion(e3); + }); } - get maxSpeechLengthTimeout() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecTimeoutTotal); + get children() { + let e3 = [...this.tasks]; + return this.menus && (e3 = e3.concat(...this.menus)), e3; } - get logStr() { - if (!this._coreSpeechRecSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + createMenu(e3) { + 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; } - get minConfidenceLevel() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecMinConfidence); + createTask(e3) { + 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; } - get isArchSettingsSpeechRec() { - return true; + 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(), q.validateNode(i3, true), B.fireEvent(this, D.containerListChanged, e3), i3; } - } - t2.default = r2; - }, 76641: (e2) => { - 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), 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); + getOrderedMenusForPrint() { + const e3 = [], t3 = (i3) => { + if (!i3 || c.default.findWhere(e3, { id: i3.id })) return; + e3.push(i3); + const n3 = i3.getOrderedChoices(); + c.default.each(n3, (e4) => { + e4.isSubMenu && t3(e4.menu); + }); + }; + return t3(c.default.findWhere(this.menus, { isStartUpObject: true })), c.default.each(this.menus, t3), e3; } - static get branchInfo() { - return s.default.successFailure; + get defaultLanguageLCase() { + if (c.default.isString(this.defaultLanguage)) return this.defaultLanguage.toLowerCase(); } - static get managedProperties() { - 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 }]; + getFlowConfigurationClass() { + w.error("getFlowConfigurationClass should be implemented by a FlowViewModel class"); } - } - 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) { - var t3, i3; - const n3 = { worktype: { id: e3.id, name: e3.name, schema: e3.schema, statuses: [], dateBasedRules: e3.dateBasedRules }, customFieldsSchemaName: "", customFieldsSchemaId: "" }; - 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), 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)), c = s.getTopic("WorkitemFlowCreation"); - }, 76768: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(24005), { uuid: o } = i2(9456); - function a() { - this.id = void 0, this.name = void 0, a.baseConstructor.apply(this, arguments), this.id || (this.id = o()); - } - r2.extend(a, "BaseFlowItemWithNameAndId"), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - } }, pasteReIdOrRename: { value: function(e3) { - this.id = e3.pasteGenerateNewGuid(this.id); - } }, pasteResolveReferenceAndName: { value: function(e3, t3, i3, r3) { - const o2 = { reference: e3.pasteResolveOldIdToNewId(i3) }; - switch (t3) { - case "menu": - o2.name = e3.pasteResolveOldMenuNameToNewMenuName(r3); - break; - case "state": - o2.name = e3.pasteResolveOldStateNameToNewStateName(r3); - break; - case "task": - o2.name = e3.pasteResolveOldTaskNameToNewTaskName(r3); - break; - default: - throw "unsupported resolve type passed to pasteResolveReferenceAndName"; + createFlowConfiguration(e3, t3) { + if (null == t3 ? void 0 : t3.isForFlowYaml) return {}; + const i3 = new (this.getFlowConfigurationClass())(e3); + return e3 || this.addDefaultConfigSections(i3), i3; } - if (o2.reference !== i3) return o2; - let a2; - switch (t3) { - case "menu": - a2 = e3.pasteContext.destFlowViewModel.menus; - break; - case "state": - a2 = e3.pasteContext.destFlowViewModel.states; - break; - case "task": - a2 = e3.pasteContext.destFlowViewModel.tasks; - break; - default: - throw "unsupported resolve type passed to pasteResolveReferenceAndName"; + get availableVariableScopes() { + const 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); } - if (!a2) return o2; - let s = n2.find(a2, function(e4) { - return e4.id === i3; - }); - return n2.isUndefined(s) && n2.isString(r3) && (s = n2.find(a2, function(e4) { - return e4.name === r3; - })), s && (o2.reference = s.id, o2.name = s.name), o2; - } } }), e2.exports = a; - }, 76808: function(e2, t2, i2) { - "use strict"; - var n2, r2 = this && this.__extends || (n2 = function(e3, t3) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + get defaultVariableScope() { + return this.localVariableScope; } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }), o = this && this.__values || function(e3) { - var t3 = "function" == typeof Symbol && Symbol.iterator, i3 = t3 && e3[t3], n3 = 0; - if (i3) return i3.call(e3); - if (e3 && "number" == typeof e3.length) return { next: function() { - return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 }; - } }; - 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), 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; + get localVariableScope() { + return this.definition.variableScope; } - return r2(t3, e3), t3.prototype.lift = function(e4) { - var t4 = new p(this, this); - return t4.operator = e4, t4; - }, t3.prototype._throwIfClosed = function() { - if (this.closed) throw new l.ObjectUnsubscribedError(); - }, t3.prototype.next = function(e4) { - var t4 = this; - c.errorContext(function() { - var i3, n3; - if (t4._throwIfClosed(), !t4.isStopped) { - t4.currentObservers || (t4.currentObservers = Array.from(t4.observers)); - try { - for (var r3 = o(t4.currentObservers), a2 = r3.next(); !a2.done; a2 = r3.next()) a2.value.next(e4); - } catch (e5) { - i3 = { error: e5 }; - } finally { - try { - a2 && !a2.done && (n3 = r3.return) && n3.call(r3); - } finally { - if (i3) throw i3.error; - } - } - } - }); - }, t3.prototype.error = function(e4) { - var t4 = this; - 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); - } - }); - }, t3.prototype.complete = function() { - var e4 = this; - c.errorContext(function() { - if (e4._throwIfClosed(), !e4.isStopped) { - e4.isStopped = true; - for (var t4 = e4.observers; t4.length; ) t4.shift().complete(); - } - }); - }, t3.prototype.unsubscribe = function() { - this.isStopped = this.closed = true, this.observers = this.currentObservers = null; - }, Object.defineProperty(t3.prototype, "observed", { get: function() { - var e4; - return (null === (e4 = this.observers) || void 0 === e4 ? void 0 : e4.length) > 0; - }, enumerable: false, configurable: true }), t3.prototype._trySubscribe = function(t4) { - return this._throwIfClosed(), e3.prototype._trySubscribe.call(this, t4); - }, t3.prototype._subscribe = function(e4) { - return this._throwIfClosed(), this._checkFinalizedStatuses(e4), this._innerSubscribe(e4); - }, t3.prototype._innerSubscribe = function(e4) { - var t4 = this, i3 = this, n3 = i3.hasError, r3 = i3.isStopped, o2 = i3.observers; - return n3 || r3 ? s.EMPTY_SUBSCRIPTION : (this.currentObservers = null, o2.push(e4), new s.Subscription(function() { - t4.currentObservers = null, u.arrRemove(o2, e4); - })); - }, t3.prototype._checkFinalizedStatuses = function(e4) { - var t4 = this, i3 = t4.hasError, n3 = t4.thrownError, r3 = t4.isStopped; - i3 ? e4.error(n3) : r3 && e4.complete(); - }, t3.prototype.asObservable = function() { - var e4 = new a.Observable(); - return e4.source = this, e4; - }, t3.create = function(e4, t4) { - return new p(e4, t4); - }, t3; - })(a.Observable); - t2.Subject = d; - var p = (function(e3) { - function t3(t4, i3) { - var n3 = e3.call(this) || this; - return n3.destination = t4, n3.source = i3, n3; + get builtInVariableScopes() { + return [H.scopes.system]; } - return r2(t3, e3), t3.prototype.next = function(e4) { - var t4, i3; - null === (i3 = null === (t4 = this.destination) || void 0 === t4 ? void 0 : t4.next) || void 0 === i3 || i3.call(t4, e4); - }, t3.prototype.error = function(e4) { - var t4, i3; - null === (i3 = null === (t4 = this.destination) || void 0 === t4 ? void 0 : t4.error) || void 0 === i3 || i3.call(t4, e4); - }, t3.prototype.complete = function() { - var e4, t4; - null === (t4 = null === (e4 = this.destination) || void 0 === e4 ? void 0 : e4.complete) || void 0 === t4 || t4.call(e4); - }, t3.prototype._subscribe = function(e4) { - 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; - })(d); - t2.AnonymousSubject = p; - }, 76827: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(74797), r2 = i2(30801); - class o extends n2.ArchBaseActionConversationAttribute { - constructor(e3) { - super(e3), this._recordId = this.coreFactory.createArchWrapper(e3.recordId), this._divisions = this.coreFactory.createArchWrapper(e3.divisions); + get channelTypes() { + return this.definition.channelTypes; } - get _actionTypeId() { - return r2.updateConversationAttributeActionType; + get channelTypeVariableName() { + return this.definition.channelTypeVariableName; } - get displayTypeName() { - return this._scriptingName; + get outputModes() { + return this.definition.outputModes; } - get isArchActionUpdateConversationAttribute() { - return true; + get outputModeVariableName() { + return this.definition.outputModeVariableName; } - get recordId() { - return this._recordId; + get userCreatableVariableScopes() { + return [this.defaultVariableScope]; } - get divisions() { - return this._divisions; + get allowedAssignableVariableScopes() { + return this.userCreatableVariableScopes; } - } - t2.default = o; - }, 76869: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.VariableOptions = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(42433), s = i2(55909), l = i2(33951); - class u extends a.BaseOptions { - static create(e3) { - return new this().invokeOptionsCallback(e3); + get definition() { + return this._definition || (this._definition = L.default.getDefinitionForFlowType(this.type)), this._definition; } - constructor() { - super(), (0, o.makeUnenumerable)(this, "_variableOptionsOverrideCallback"); + get deleted() { + var e3; + return (null === (e3 = this.info) || void 0 === e3 ? void 0 : e3.deleted) || false; } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setVariableOptionsOverrideCallback, e3.variableOptionsOverrideCallback, "_variableOptionsOverrideCallback"); + get description() { + return this.info.description; } - get className() { - return "VariableOptions"; + set description(e3) { + this.info.description = e3; } - get isVariableOptions() { - return true; + get displayName() { + return this.info.displayName; } - setVariableOptionsOverrideCallback(e3) { - return this.variableOptionsOverrideCallback = e3, this; + set displayName(e3) { + e3 = e3.replace("/", ""), this.info.displayName = e3; } - get variableOptionsOverrideCallback() { - return this._variableOptionsOverrideCallback; + getDisplayName() { + return this.containerLabel; } - set variableOptionsOverrideCallback(e3) { - this._variableOptionsOverrideCallback = l.ParameterValidator.expectFunction(e3, () => s.ParameterInfo.createPropertySet(this.className, "variableOptionsOverrideCallback", "value")); + get containerLabel() { + return be.flow.flow; } - } - t2.VariableOptions = u, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Function), n2.__metadata("design:paramtypes", [Object])], u.prototype, "variableOptionsOverrideCallback", null); - }, 76919: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get containerLabelAndName() { + return (0, u.sprintf)(be.labelAndName, this.containerLabel, this.displayName); } - get _globalTypeName() { - return "emailAddressCollection"; + get ensureAudioInPrompts() { + return this.validateHasAudioOnly; } - get displayTypeName() { - return "ArchValueEmailAddressCollection"; + set ensureAudioInPrompts(e3) { + this.promptMediaToValidate = e3 ? G.audioOnly : G.audioAndTTS; } - get isArchValueEmailAddressCollection() { - return true; + get flowTypeDisplayName() { + return L.default.getDefinitionForFlowType(this.type).typeDisplayName; } - } - t2.default = r2; - }, 76978: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeChoiceOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get flowSequenceItemList() { + return this._flowSequenceItemList; } - constructor(e3) { - super(e3); + get validateHasAudio() { + return G.hasMediaType(this.promptMediaToValidate, G.promptMediaTypes.audio); } - get className() { - return "ExpressionTypeChoiceOptions"; + get validateHasTTS() { + return G.hasMediaType(this.promptMediaToValidate, G.promptMediaTypes.tts); } - get isExpressionTypeChoiceOptions() { - return true; + get validateHasAudioOnly() { + return this.validateHasAudio && !this.validateHasTTS; } - } - t2.ExpressionTypeChoiceOptions = r2; - }, 76982: (e2) => { - "use strict"; - e2.exports = require("crypto"); - }, 77031: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(67193)), o = i2(30801), a = n2.__importDefault(i2(94225)); - class s extends r2.default { - constructor(e3) { - super(e3), this._appendSkills = this.coreFactory.createArchValueFromExpression(e3.appendSkills), this._directAgent = this.coreFactory.createArchValueFromExpression(e3.directAgent), this._languageSkill = this.coreFactory.createArchWrapper(e3.languageSkill), this._preferredAgents = this.coreFactory.createArchValueFromExpression(e3.preferredAgents), this._priority = this.coreFactory.createArchValueFromExpression(e3.priority), this._queues = this.coreFactory.createArchValueFromExpression(e3.queues), this._skills = this.coreFactory.createArchBaseValueContainer(e3.skills), this._skillExpressionFilters = this.coreFactory.createArchValueFromExpression(e3.skillExpressionFilters); + get promptMediaToValidate() { + var e3, t3; + 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 : []; } - get _actionTypeId() { - return o.transferPureMatchActionType; + 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`); } - get displayTypeName() { - return this._scriptingName; + flowNameIsInvalidMessage(e3) { + return e3 ? e3.trim().match(/-debug$/i) ? be.editFlow.noDebugPostfix : e3.indexOf("/") > -1 ? be.editFlow.flowNameInvalidCharacter : null : be.editFlow.flowNameCannotBeBlank; } - addLiteralBySkillNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("skillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), yield this._skills.addLiteralBySkillNameAsync(e3), a.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this); - }); + getAllowableFlowInputTypes() { + return A.default.getTypeGroup(this)._getFlowInputTypes(this.type); } - get isArchActionTransferToAcd() { - return true; + getAllowableFlowOutputTypes() { + return A.default.getTypeGroup(this)._getFlowOutputTypes(this.type); } - get priority() { - return this._priority; + getCreatableDataTypes() { + return A.default.getTypeGroup(this)._getFlowCreatableDataTypes(this); } - get targetQueue() { - return this.coreFactory.createArchWrapper(this._queues._getCoreViewModel().items[0]); + getTopLevelChild(e3) { + return e3 && (this.getTopLevelTaskLikeChild(e3) || this._menusMap[e3]) || null; } - setLiteralByQueueNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("queueName", "setLiteralByQueueNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueNameAsync"), t3, true), yield this.targetQueue.setLiteralByQueueNameAsync(e3), a.default.executeCallback(this, "setLiteralByQueueNameAsync", t3, this); - }); + getTopLevelTaskLikeChild(e3) { + return e3 ? this._tasksMap[e3] : null; } - setLiteralByQueueIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("queueId", "setLiteralByQueueIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueIdAsync"), t3, true), yield this.targetQueue.setLiteralByQueueIdAsync(e3), a.default.executeCallback(this, "setLiteralByQueueIdAsync", t3, this); - }); + getChild(e3) { + if (!e3) return null; + if (this[e3]) return this[e3]; + const t3 = this.getTopLevelChild(e3); + if (t3) return t3; + let i3; + for (let t4 = 0; t4 < this.children.length; t4++) { + if (i3 = this.children[t4], i3.id === e3) return i3; + const n3 = i3.getChild(e3); + if (n3) return n3; + } + return null; } - get skills() { - return this._skills; + addNewChild(e3) { + e3.isTask ? this._addTask(e3) : e3.isMenu && this._addMenu(e3), e3.initialize(), this.initializeDesignTimeCalled && (e3.initializeDesignTime(), q.validateNode(e3, true), B.fireEvent(this, D.containerListChanged, e3)); } - get appendSkills() { - return this._appendSkills; + getUiMetadataInfo(e3, t3) { + if (this.uiMetaData) return c.default.findWhere(this.uiMetaData[e3], t3); } - get directAgent() { - return this._directAgent; + getUiMetadataInfoById(e3, t3) { + return this.getUiMetadataInfo(e3, { id: t3 }); } - get languageSkill() { - return this._languageSkill; + getUsesSpeechRec() { + return !!this.definition.supportsSpeechRec && this._getUsesSpeechRec(); } - get preferredAgents() { - return this._preferredAgents; + getSiblings(e3) { + return e3 && !e3.isTopLevelNode && e3.parent ? c.default.reject(e3.parent.children, (t3) => t3.id === e3.id) : null; } - useDefaultInQueueHandling() { - this.logNote("setting the action to use default in-queue handling."), this._getCoreViewModel().useDefaultHandling = true; + getVariable(e3) { + if (this.variableGroup) return this.variableGroup.getVariable(e3); } - get inQueueHandlingFlowInfo() { - if (this.inQueueHandlingFlowType && this._getCoreViewModel().inQueueFlowId) return this.coreFactory.createArchFlowInfoBasic(this._getCoreViewModel().inQueueFlowId, this._getCoreViewModel().inQueueFlowName, this.inQueueHandlingFlowType); + get hasDependencies() { + return !!this.dependencies; } - set inQueueHandlingFlowInfo(e3) { - const t3 = this._infoPropSet("newValue", "inQueueHandlingFlowInfo"); - this._checkItem(t3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "You must pass in an ArchFlowInfo or ArchFlowInfoBasic instance for the target in-queue Flow Info setter."), this._checkItem(t3, e3.type !== this.inQueueHandlingFlowType, "The flow info has a flow type of '" + e3.type + "' and it needs to be of type '" + this.inQueueHandlingFlowType + "'"), this.logNote("setting the in-queue flow '" + e3.name + "' to be used for the in-queue handling of the call."), this._getCoreViewModel().useDefaultHandling = false, this._getCoreViewModel().inQueueFlow.setInQueueFlow(e3.id, e3.name); + get id() { + return this.info.id; } - get inQueueHandlingFlowType() { - return this._getCoreViewModel().supportedInQueueFlowType; + get 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 skillExpressionFilters() { - return this._skillExpressionFilters; + get isCreated() { + return "__" !== this.id.slice(0, 2); } - } - t2.default = s; - }, 77054: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyQuestionGroupType = void 0; - const n2 = i2(33668), r2 = i2(94765), o = i2(80428); - class a extends r2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + get isFlowViewModel() { + return true; } - get className() { - return "SurveyQuestionGroupType"; + get isReadOnly() { + return !this.info || this.info.isReadOnly; } - createExpressionOptionClass() { - return new n2.ExpressionTypeSurveyQuestionGroupOptions(); + loadConfiguration(e3) { + 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), c.default.each(this._autoManagedSettings, (t3) => { + "flowDefinitions" === t3.id && t3.loadConfiguration(e3); + }), this._loadConfiguration(e3); } - validateLiteral(e3, t3) { - return true; + get validationResults() { + return this._validationResults; } - get supportsLiteralEditor() { - return false; + set validationResults(e3) { + this._validationResults = e3; } - } - t2.SurveyQuestionGroupType = a, a.typeIdentifier = o.expressionTypeNames.surveyQuestionGroup; - }, 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.__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 = 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), t3.patchableSettings && this.isPatchable && (this.patchableSettings = t3.patchableSettings), this.yamlSerializeIfOutOfService && (this.yamlOptions = p.default.create(this.name, (e4) => e4.setSerializeOutOfService(true))); + queuedAsyncValidate() { + return this._queuedAsyncValidate || (this._queuedAsyncValidate = Oe(d.default.validateFlow.bind(d.default, this))), this._queuedAsyncValidate(); } - _applyOverrides() { - if (this.model.overrides) { - 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": - t3 = parseInt(e3.newValue, 10), !isNaN(t3) && r2.default.isNumber(t3) || (t3 = void 0); - break; - case "number": - t3 = parseFloat(e3.newValue), !isNaN(t3) && r2.default.isNumber(t3) || (t3 = void 0); - break; - case "boolean": - t3 = true === e3.newValue || "true" === e3.newValue; - } - 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 isAutomateFlowType() { + return this.definition.isAutomateFlowType; } - get typeGroup() { - return this._typeGroup; + get isCallFlowType() { + return this.definition.isCallFlowType; } - get className() { - return "PropertyDefinition"; + get supportsAddVariablesInDataView() { + return this.definition.supportsAddVariablesInDataView; } - createDataTypeDef() { - return s.default.createFromPropertyDefinition(this); + get supportsAutoDeletingVariablesWithNoUsages() { + return this.definition.supportsAutoDeletingVariablesWithNoUsages; } - 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 supportsComplexDataTypes() { + return this.definition.supportsComplexTypes; } - get type() { - const e3 = this._typeGroup.getType(this.model.type, this.model.isCollection); - return e3 || this._typeGroup.getType(this.model.type, this.model.isCollection), e3; + get supportsConversationSummary() { + return this.definition.supportsConversationSummary; } - get isCollection() { - return !!this.model.isCollection; + get supportsContactDataType() { + return this.definition.supportsContactDataType; } - get dataTypeId() { - return this.model.type; + get supportsDataViewFiltering() { + return this.definition.supportsDataViewFiltering; } - get supportedSessionSources() { - return this._supportedSessionSources || []; + get supportsErrorAudio() { + return this.definition.supportsErrorAudio; } - 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 || (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); + get supportsAudio() { + return !!this.destinationFlowTypes.find((e3) => L.default.getOrgAndFlowTypeSupportAudio(e3)); } - checkVersion(e3) { - e3.checkVersion(this.version), e3.checkVersion(this.type.version); + get supportsDigital() { + return !!this.destinationFlowTypes.find((e3) => o.flowTypes.isAutomateOrCiceroFlowType(e3)); } - startupConnectedAndReady(e3) { - e3 ? (this.isUnavailable = !e3.availability.isAvailable, this._applyOverrides()) : this.featureConfigName && (this.isUnavailable = (0, d.isFeatureUnavailable)(this.featureConfigName)); + get supportsFlowInputVariables() { + return this.definition.supportsFlowInputVariables; } - } - t2.PropertyDefinition = m; - }, 77109: (e2, t2, i2) => { - "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 c extends a.BriefFlowListManager { - get dependencyType() { - return u.CommonModuleFlow; + get supportsFlowOutputVariables() { + return this.definition.supportsFlowOutputVariables; } - constructor() { - super(), this.topic = o.getTopic("BriefCommonModuleFlowListManager"), this.additionalQueryParams = { type: l.flowTypes.flowTypeCommonModule }, this.actionPropertyForUsageSearch = "flowId", this.actionsForUsageSearch = [s.callCommonModuleActionType], this.className = "BriefCommonModuleFlowListManager", this.uiMetadataSectionName = "commonModuleFlows", this.flowType = l.flowTypes.flowTypeCommonModule, this._initialize(), r2.serviceListen(r2.flowLoaded, (e3) => { - e3.cleanUiMetadataInfoSection(this.uiMetadataSectionName, this.actionsForUsageSearch, this.actionPropertyForUsageSearch); - }); + get supportsFlowInputAndOutputVariables() { + return this.supportsFlowInputVariables && this.supportsFlowOutputVariables; } - } - t2.briefCommonModuleFlowListManager = new c(); - }, 77114: (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 supportsGrammars() { + return this.definition.supportsGrammars; } - get _globalTypeName() { - return "shippingOptionCollection"; + get grammarsInUse() { + return null; } - get displayTypeName() { - return "ArchVariableShippingOptionCollection"; + get speechToTextEnginesInUse() { + return null; } - get initialValue() { - return this._initialValue; + get supportsLanguages() { + return this.definition.supportsLanguages; } - get isArchVariableShippingOptionCollection() { - return true; + get supportsAddRemoveLanguages() { + return this.destinationFlowTypes.every((e3) => L.default.doesFlowTypeSupportLanguageAddRemove(e3)); } - } - t2.default = r2; - }, 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.languageUsagesForFlow(e3)); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(98442)); - function a(e3, t3, i3) { - const n3 = (function(e4, t4) { - const i4 = e4 && e4.languages; - return t4 && 0 !== t4.length || !i4 || (t4 = i4.supportedLanguages), r2.default.map(t4, function(e5) { - return r2.default.isString(e5) ? e5 : e5.id; - }); - })(e3, i3); - return n3.every((i4) => e3.validateHasAudio && e3.validateHasTTS ? s(t3, i4) || l(e3, t3, i4) : e3.validateHasAudio ? s(t3, i4) : !e3.validateHasTTS || l(e3, t3, i4)); - } - function s(e3, t3) { - if (!e3.getResource) return false; - const i3 = e3.getResource(t3); - return !(!i3 || !i3.mediaUri); - } - function l(e3, t3, i3) { - if (!t3.getResource) return false; - if (!o.supportsTTSPlaybackForFlow(i3, e3)) return false; - const n3 = t3.getResource(i3); - return !(!n3 || !n3.ttsAvailable); - } - }, 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get languageChangesAreImmediate() { + return this.destinationFlowTypes.every((e3) => L.default.areLanguageChangesImmediate(e3)); } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findSchedule.findScheduleNameLabel, searchResultLabel: d.findActions.findSchedule.findScheduleResultLabel, searchResultExpressionOptions: a.ExpressionTypeScheduleOptions.create(), searchResultItemType: o.expressionTypeNames.schedule }); + get supportsMoreThanOneLanguage() { + return this.destinationFlowTypes.every((e3) => L.default.doesFlowTypeSupportMoreThanOneLanguage(e3)); } - } - 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() { - Object.defineProperties(this, { _digitTimeout: { writable: true }, _numReprompts: { writable: true }, _repromptAudio: { writable: true }, _resultData: { writable: true } }), s.baseConstructor.apply(this, arguments); - } - r2.extend(s, o, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.digitTimeout.pasteReIdOrRename(e3), this.numReprompts.pasteReIdOrRename(e3), this.repromptAudio.pasteReIdOrRename(e3), this.resultData.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.digitTimeout.pasteResolveOldToNewValues(e3), this.numReprompts.pasteResolveOldToNewValues(e3), this.repromptAudio.pasteResolveOldToNewValues(e3), this.resultData.pasteResolveOldToNewValues(e3); - } }, digitTimeout: { enumerable: true, get: function() { - return this._digitTimeout; - }, set: function(e3) { - this._digitTimeout = this.reviveItem(e3, a); - } }, numReprompts: { enumerable: true, get: function() { - return this._numReprompts; - }, set: function(e3) { - this._numReprompts = this.reviveItem(e3, a); - } }, repromptAudio: { enumerable: true, get: function() { - return this._repromptAudio; - }, set: function(e3) { - this._repromptAudio = this.reviveItem(e3, n2); - } }, resultData: { enumerable: true, get: function() { - return this._resultData; - }, 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; + canAddLanguage() { + const e3 = !!this.supportedLanguageOptions.length; + return !(this.isReadOnly || !this.supportsLanguages || e3 && !this.supportsMoreThanOneLanguage) && (!e3 || this.supportsAddRemoveLanguages); } - 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; - } + get canOnlyAddLanguageInAnotherFlowInstance() { + return !(this.canAddLanguage() || !this.supportsMoreThanOneLanguage || !this.supportsAddRemoveLanguages) && this._canOnlyAddLanguageInAnotherFlowInstance; } - static clear() { - c._jsonSchemaCache.clear(); + get additionalLanguagePolicy() { } - 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 }; + get _canOnlyAddLanguageInAnotherFlowInstance() { + return 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 }; + get languagesSupportDefaultLanguageSkill() { + return this.definition.languagesSupportDefaultLanguageSkill; } - } - 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() { - Object.defineProperties(this, { _exitReason: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.exitReason.pasteReIdOrRename(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.exitReason.pasteResolveOldToNewValues(e3); - } }, exitReason: { enumerable: true, get: function() { - return this._exitReason; - }, set: function(e3) { - this._exitReason = this.reviveItem(e3, o); - } } }), 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), 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 = 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 languagesSupportTtsAndAsrSettings() { + return this.definition.languagesSupportTtsAndAsrSettings; } - get result() { - return this.model.result; + get languagesSupportSpeechToTextSettings() { + return this.definition.languagesSupportSttSetting; } - getDetails() { - return this.scriptName ? new d.ActionDetails([this.resources.selectedScript], [this.scriptName]) : null; + get supportsMultilingualKnowledge() { + return this.definition.supportsMultilingualKnowledge; } - static get managedProperties() { - return [{ createDetails: _.ScriptProperties.createCreateDetails("screenPopId", "screenPopName"), yamlOptions: f.createYamlOptions("scriptSettings", (e3) => e3.setPropertyName("screenPopScript")), property: "scriptSettings" }]; + get supportsKnowledgePaths() { + return this.definition.supportsKnowledgePaths; } - get scriptManager() { - return this._scriptManager; + get supportsEndToEndKnowledgeHandling() { + return this.definition.supportsEndToEndKnowledgeHandling; } - get allScriptsManager() { - return this._allScriptsManager; + get supportsAdvancedKnowledgeHandling() { + return this.definition.supportsAdvancedKnowledgeHandling; } - getCachedServerPropertyById(e3, t3) { - return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); + get languagesSupportDefaultLanguage() { + return this.definition.languagesSupportDefaultLanguage; } - } - 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 }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + get languagesSupportTtsAndAsrRuntime() { + return this.definition.languagesSupportTtsAndAsrRuntime; } - get _actionTypeId() { - return r2.repeatMenuActionType; + get parentFlow() { + return this; } - get displayTypeName() { - return this._scriptingName; + get topParentFlow() { + return this; } - get isArchActionRepeatMenu() { + get supportsScopedData() { return true; } - } - t2.default = o; - }, 77396: (e2, t2, i2) => { - const n2 = i2(68511); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "LanguageList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 77415: (e2, t2, i2) => { - "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 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; - } }, setScriptAsync: { value: this.setScriptOnAction.bind(this) } }); - } - get scriptIdPropName() { - return this._scriptIdPropName; + get supportsDefaultLanguageChange() { + return this.definition.supportsDefaultLanguageChange; } - get scriptNamePropName() { - return this._scriptNamePropName; + get supportsReusableMenus() { + return this.definition.supportsReusableMenus; } - get scriptId() { - return this.action.model[this._scriptIdPropName]; + get supportsSpeechRec() { + return !!this.definition.supportsSpeechRec && c.default.some(this.destinationFlowTypes, (e3) => L.default.getDefinitionForFlowType(e3).supportsSpeechRec); } - get scriptName() { - return this.action.model[this._scriptNamePropName]; + get supportsReusableTasks() { + return this.definition.supportsReusableTasks; } - set scriptName(e3) { - this.action.model[this._scriptNamePropName] = e3; + get supportsStates() { + return this.definition.supportsStates; } - get isBaseActionProperty() { - return true; + get supportsMultipleStates() { + return this.definition.supportsMultipleStates; } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3), this.action && this.scriptId && this.scriptManager.addClipboardDependencies(e3, this.scriptId, this.action.parentFlow); + get supportsStateInputVariables() { + return this.definition.supportsStateInputVariables; } - destroy() { - super.destroy(), this.scriptManager.tryRemoveItemFromFlowMetadata(this.action, this.scriptId); + get supportsStateOutputVariables() { + return this.definition.supportsStateOutputVariables; } - getConfiguration(e3, t3, i3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - if (!this.scriptName) return null; - const n3 = {}; - n3[this.scriptName] = {}; - let o2 = this.inputs.getConfiguration(e3, t3, i3); - return this.inputs.items.length ? n3[this.scriptName].inputs = o2 : (r2.default.isNull(o2) && (o2 = { none: true }), n3[this.scriptName] = o2), n3; - } - return console.error("Trying to access ScriptProperties.getConfiguration for non-flow-YAML"), null; + get supportsTaskInputVariables() { + return this.definition.supportsTaskInputVariables; } - get outOfService() { - return this._outOfService = false; + get supportsTaskOutputVariables() { + return this.definition.supportsTaskOutputVariables; } - set outOfService(e3) { - this._outOfService = e3, this.inputs.outOfService = e3; + get supportsTaskInputAndOutputVariables() { + return this.supportsTaskInputVariables && this.supportsTaskOutputVariables; } - search(e3) { - super.search(e3), e3.checkText(this.action, this.scriptName, this.scriptManager.dependencyContext); - const t3 = this.scriptManager.getCategoryForScript(this.scriptId); - e3.checkText(this.action, t3, this.scriptManager.dependencyContext); + get supportsSecureVariables() { + return this.definition.supportsSecureVariables; } - setScriptOnAction(e3) { - const t3 = e3 ? e3.name : "", i3 = e3 ? e3.id : ""; - return this.scriptName === t3 && this.scriptId === i3 ? Promise.resolve() : (this.scriptName && this.scriptManager.tryRemoveItemFromFlowMetadata(this.action, this.scriptId), this.action.model[this._scriptIdPropName] = i3, this.action.model[this._scriptNamePropName] = t3, this.inputs.destroyChildren(), this.scriptName ? (this.scriptManager.addItemToFlowMetadata(this.action, this.scriptName, this.scriptId), this.scriptManager.getScriptInputs(e3).then(() => { - this.scriptManager.mergeSchemaProperties(e3.inputs, this.inputs), this.validateAction(); - })) : (this.validateAction(), Promise.resolve())); + get supportsTasksWithOutputPaths() { + return this.definition.supportsTasksWithOutputPaths; } - _initializeDesignTime() { - super._initializeDesignTime(); - const e3 = this.scriptManager.getScript(this.scriptId); - e3 && this.scriptManager.mergeSchemaProperties(e3.inputs, this.inputs); + speechRecEnabled() { + return false; } - updateDependencies() { - super.updateDependencies(), this.scriptName && this.scriptId && (this.outOfService ? s.registerNonDependencyValidationItem(this.action, this.scriptManager.dependencyContext, this.scriptName, this.scriptId, this.scriptManager.dependencyType.value) : this.scriptManager.registerConsumer(this.action, this.scriptName, this.scriptId)); + get hasVariableGroupSet() { + return !!this._variableGroup; } - validate(e3) { - if (super.validate(e3), this.scriptId || this.isOptional) if (!this.outOfService && this.scriptId) { - const t3 = this.scriptManager.getItem(this.scriptId); - !t3 || t3.isFlowCachedVersion ? this.action.allScriptsManager && this.action.allScriptsManager.getItem(this.scriptId) ? e3.addWarning(this, this.action.resources && this.action.resources.scriptMissingFeature || u.scripts.scriptMissingFeature, void 0, true) : e3.addError(this, this.action.resources && this.action.resources.scriptNotFound || u.scripts.scriptNotFound, false, true) : e3.isDeep && (this.scriptManager.registerConsumer(this.action, t3.name, t3.id), this.scriptName !== t3.label && (this.scriptName = t3.label), "schemas.not.available" === t3.result && e3.addError(this, u.inputOutputList.unableToRetrieveSchema, false, true), this.scriptManager.mergeSchemaProperties(t3.inputs, this.inputs), this.scriptManager.addItemToFlowMetadata(this.action, this.scriptName, this.scriptId)); - } else s.unRegisterConsumer(this.action, this.scriptManager.dependencyContext); - else e3.addError(this, this.action.resources.mustSelectScript, false, true); + get variableGroup() { + return this._variableGroup || w.error("trying to get variableGroup before it was set"), this._variableGroup; } - get inputs() { - return this.action.inputs; + set 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; } - static get managedProperties() { - return [{ property: "inputs", dataList: true, yamlOptions: a.default.create("scriptProperties-inputs", (e3) => e3.setSkipProperty(true)) }]; + cleanUiMetadataInfoSection(e3, t3, i3) { + try { + if (!e3 || !t3) return; + const n3 = this.uiMetaData && this.uiMetaData[e3]; + if (!n3) return; + const o2 = []; + t3.forEach((e4) => { + C.actionRegistrationService.getActionIdsForActionType(this.parentFlow, e4).forEach((e5) => { + const t4 = e5[i3]; + t4 && o2.indexOf(t4) < 0 && o2.push(t4); + }); + }); + for (let e4 = n3.length - 1; e4 >= 0; e4--) o2.indexOf(n3[e4].id) < 0 && n3.splice(e4, 1); + } catch (e4) { + this.topic.exception(e4, "Exception during cleanUiMetadataInfoSection"); + } } - static createCreateDetails(e3, t3, i3) { - return { modelProperties: [], create: function(n3, r3) { - return new c(n3, r3, n3.scriptManager, e3, t3, i3); - }, getCreateClass: function() { - return c; - } }; + tryRemoveUiMetadataInfo(e3, t3, i3, n3, o2, r2) { + if (!(e3 && t3 && i3 && n3 && this.loaded)) return; + if (!r2) { + let t4 = []; + if (this.traverse(new W.default({ actionCallback: (e4, t5) => { + c.default.contains(n3, e4.model.__type) && e4[o2] === 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) { + for (let e4 = 0; e4 < a2.length; e4++) if (a2[e4].id === i3) return void a2.splice(e4, 1); + } } - get isScriptProperties() { - return true; + isVersionLoaded(e3) { + const t3 = this.versions.convertVersionUrl(e3); + return this.versions.alreadyLoaded(t3); } - } - 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", "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), 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); + onTypeMapCreated() { + this.definitions.addCustomTypesToFlowExpressionTypeGroup(); } - static get branchInfo() { - return a.default.successFailure; + registerExpressionTypeGroupEventSink() { + this.definitions.registerExpressionTypeGroupEventSink(); } - static get managedProperties() { - 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" }]; + requestConfiguration(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + try { + const n3 = this.versions.convertVersionUrl(e3); + if (!t3 && this.versions.alreadyLoaded(n3)) return this; + const o2 = i3 ? { ignoreBadResponse: true } : void 0, r2 = n3 === U.latest ? yield Ie.getConfiguration(this.id, this.overrideWireFlowConfiguration, o2) : yield Ie.getVersionConfiguration(this.id, n3, this.overrideWireFlowVersionConfiguration, o2); + return this.versions.loadedConfigurationVersion(n3), i3 ? yield F.loadConfigForEmbedding(this, r2) : yield F.tryLoadConfig(this, r2), this; + } catch (e4) { + throw i3 || (this.topic.errorPromise(e4, "Failure during requestConfiguration"), this.versions.loadedConfigurationVersion(void 0)), e4; + } + }); } - _getPossibleErrors() { - return c.getSipHeadersFailureReasons; + get overrideWireFlowConfiguration() { } - } - 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), 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; + get overrideWireFlowVersionConfiguration() { } - get dependencyType() { - return p.LexBotAlias; + search(e3) { + 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); } - constructor() { - 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(); + setReceivedInitialValidationData() { + this._receivedInitialValidationData = true, c.default.each(this._commonModules, (e3) => { + var t3; + null === (t3 = e3.viewModel) || void 0 === t3 || t3.setReceivedInitialValidationData(); + }); } - _createItemViewModel(e3) { - return new c.LexAliasViewModel(e3); + setUiMetadataInfo(e3, t3, i3 = "id") { + this.uiMetaData || (this.uiMetaData = {}), this.uiMetaData[e3] || (this.uiMetaData[e3] = []), this.uiMetaData[e3].length && t3[i3] && (this.uiMetaData[e3] = this.uiMetaData[e3].filter((e4) => e4[i3] !== t3[i3])), this.uiMetaData[e3].push(t3); } - 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 ? d.lexBotNameManager.getItem(t3.botId) : null; + addSeenChangeSet(e3, t3) { + this.setUiMetadataInfo(Pe, { id: e3, status: t3 }); } - } - t2.LexAliasManager = m, t2.lexAliasManager = new m(); - }, 77680: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); + hasSeenChangeSet(e3) { + return !!this.getUiMetadataInfoById(Pe, e3); } - get _actionTypeId() { - return r2.exitBotFlowActionType; + get shouldParseExpressions() { + return this._receivedInitialValidationData || !this.isCreated; } - get displayTypeName() { - return this._scriptingName; + get className() { + return "FlowViewModel"; } - get isArchActionExitBotFlow() { - return true; + get maxFlowSize() { + return this.definition.maxFlowSize; } - } - t2.default = a; - }, 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), 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 maxNameLength() { + return this.definition.commonLimits.name.maxLength; } - get dependencyType() { - return d.LexBot; + get nodeGuxIcon() { + return "file"; } - 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, c.lexV2ActionType], this.actionPropertyForUsageSearch = "bot", this._initialize(); + get 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; } - get _networkModel() { - return this.apiCallList.api ? this.apiCallList.api.DataContract : _; + set startUpObject(e3) { + this._startUpObject && q.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 ? q.validateNode(this._startUpObject, true) : this.topic.errorWithErrorObjectInfo(`Failed to set startUpObject with className: "${null == e3 ? void 0 : e3.className}"`, e3, true); } - _createItemViewModel(e3) { - return new u.LexBotViewModel(e3); + calcFlowSizeAsync() { + 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)); } - } - t2.LexBotNameManager = m, t2.lexBotNameManager = new m(); - }, 77697: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + traverse(e3) { + e3 && !e3.isCanceled && [this.tasks, this.menus].forEach((t3) => { + if (t3) { + for (let i3 = t3.length - 1; i3 >= 0; i3--) if (t3[i3].traverse(e3), e3.isCanceled) return; + } + }); } - get _globalTypeName() { - return "userQueue"; + get supportsFlowExecutionData() { + return P.default.flowTypeSupportsExecutionData(this.type); } - get displayTypeName() { - return "ArchVariableUser"; + get type() { + return this.info.type; } - get initialValue() { - return this._initialValue; + getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime(e3) { + const t3 = this.destinationFlowTypes.filter((e4) => L.default.doesFlowTypeLanguagesSupportTtsAndAsrRuntime(e4)); + return e3 || t3 && t3.length ? t3 : [this.info.type]; } - get isArchVariableUser() { - return true; + getAllDestinationFlowTypesSupportAudioDataPlaybackForLang(e3) { + return this.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t3) => e3.getSupportsAudioDataPlaybackForFlowType(t3)); } - } - t2.default = r2; - }, 77751: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.emailStylesAll = t2.emailStylePlain = t2.emailStyleHtml = t2.notificationTypesAll = t2.typeChat = t2.typeEmail = void 0; - const n2 = i2(47957); - t2.typeEmail = { displayString: n2.sendNotification.notificationTypeEmailLabel, id: "email" }, t2.typeChat = { displayString: n2.sendNotification.notificationTypeChatLabel, id: "chat" }, t2.notificationTypesAll = [t2.typeEmail, t2.typeChat], t2.emailStyleHtml = { displayString: n2.sendNotification.emailStyleHtmlLabel, id: "html" }, t2.emailStylePlain = { displayString: n2.sendNotification.emailStylePlainLabel, id: "plain" }, t2.emailStylesAll = [t2.emailStyleHtml, t2.emailStylePlain]; - }, 77761: (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); + getAllDestinationFlowTypesSupportSpeechRecForLang(e3) { + return this.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t3) => e3.getSupportsSpeechRecForFlowType(t3)); } - get _globalTypeName() { - return "durationCollection"; + get hasDestinationFlowTypesThatSupportTtsAndAsrAtRuntime() { + return this.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime(true).length > 0; } - get displayTypeName() { - return "ArchVariableDurationCollection"; + getUnsupportedFlowTypes(e3) { + return c.default.isArray(e3) ? c.default.without(this.destinationFlowTypes, ...e3) : []; } - get initialValue() { - return this._initialValue; + get destinationFlowTypes() { + return [this.info.type]; } - get isArchVariableDurationCollection() { - return true; + get destinationFlowTypeMap() { + return void 0 === this._destinationFlowTypeMap && (this._destinationFlowTypeMap = { [this.info.type]: true }), this._destinationFlowTypeMap; } - } - t2.default = r2; - }, 77775: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(11210)), o = i2(30801), a = n2.__importDefault(i2(3220)), s = i2(24812), l = n2.__importStar(i2(98442)); - class u extends r2.default { - constructor(e3) { - super(e3), this._languageCode = this.coreFactory.createArchValueFromExpression(e3.languageCode); + destinationFlowTypesInclude(e3) { + return !!this.destinationFlowTypeMap[e3]; } - get _actionTypeId() { - return o.setLocaleActionType; + updateInitialValueDependencies() { + c.default.each(this.variableGroup.flowVariables, (e3) => { + e3.updateDependencies(); + }), c.default.each(this.variableGroup.taskVariables, (e3) => { + e3.updateDependencies(); + }), this.variableGroup.getSystemVariablesWithInitialValues().forEach((e3) => e3.updateDependencies()); } - get displayTypeName() { - return this._scriptingName; + updateDependencies() { + c.default.each(this.tasks, (e3) => { + e3.updateDependencies(); + }), c.default.each(this.menus, (e3) => { + e3.updateDependencies(); + }), 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(); } - get isArchActionSetLanguage() { - return true; + validate(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 language() { - var e3, t3; - let i3 = this._languageCode && this._languageCode._coreExpression ? this._languageCode._coreExpression.text : null; - return i3 && (null === (t3 = null === (e3 = this._languageCode) || void 0 === e3 ? void 0 : e3._coreExpression) || void 0 === t3 ? void 0 : t3.isLiteralMode) ? (i3 = this._languageCode._getCoreViewModel().config.root.text, s.isoLanguages[i3.toLowerCase()] ? a.default.getByLanguageTag(i3) : null) : null; + get versions() { + return this.info.versions; } - set language(e3) { - const t3 = this._infoPropSet("archLanguage", "language"); - this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for the language to set."), this._checkItem(t3, l.langCodeIsGeneric(e3.tag), "the language " + e3.logStr + " cannot be used because it does not have a region sub-tag."), this._checkItem(t3, !this._coreActionViewModel.parentFlow.languages.isFlowSupportedLanguage(e3.tag), "the language '" + e3.logStr + "' is not a supported language on the flow."), this._languageCode._setLiteral(t3, e3.tag); + getSupportedLanguagesForTtsEngine(e3) { + if (e3 && this.supportsLanguages && this.languagesSupportTtsAndAsrSettings) return this.languages.getLanguagesForTTSEngine(e3); } - get languageValue() { - return this._languageCode; + getSupportedLanguagesWithNoEngineSelected() { + if (this.supportsLanguages && this.languagesSupportTtsAndAsrSettings) return this.languages.getLanguagesWithNoEngineSelected(); } - } - t2.default = u; - }, 77787: (e2, t2, i2) => { - "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), c = i2(80295); - class d extends a.BaseConversationAttributeActionModel { - constructor(e3) { - super(e3), this.__type = d.__type, (0, c.makeUnenumerable)(this, "_recordId"), (0, c.makeUnenumerable)(this, "_output"); + setNewInstanceDefaults(e3) { + const t3 = []; + return c.default.each(this._autoManagedSettings, (e4) => { + if (c.default.isFunction(e4.setNewInstanceDefaults)) { + const i3 = e4.setNewInstanceDefaults(); + r.default.isPromiseAlike(i3) && t3.push(i3); + } + }), t3.length ? r.default.all(t3).then(() => this) : r.default.resolve(this); } - get recordId() { - return this._recordId; + createInitialActions() { + return n2.__awaiter(this, void 0, void 0, function* () { + const e3 = yield this._createInitialActions(); + return q.validateFlow(this), e3; + }); } - set recordId(e3) { - this._recordId = this.reviveItem(e3, l.default); + addCommonModuleActionReference(e3, t3, i3, n3) { + let o2 = this.getCommonModuleReference(t3.id, n3); + return o2 || (o2 = { actionReferences: [], id: t3.id, name: t3.displayName, version: n3, viewModel: i3 }, this._commonModules.push(o2)), o2.actionReferences.includes(e3.id) || o2.actionReferences.push(e3.id), o2; } - get output() { - return this._output; + removeCommonModuleActionReference(e3, t3, i3) { + var n3; + if (this.isDestroying) return; + const o2 = this.getCommonModuleReference(t3, i3); + if (o2) { + const t4 = o2.actionReferences.indexOf(e3.id); + t4 >= 0 && o2.actionReferences.splice(t4, 1), 0 === o2.actionReferences.length && (this._commonModules.splice(this._commonModules.indexOf(o2), 1), null === (n3 = o2.viewModel) || void 0 === n3 || n3.destroy()); + } } - set output(e3) { - this._output = this.reviveItem(e3, l.default); + get isEmbeddedFlow() { + return false; } - pasteReIdOrRename(e3) { - var t3; - super.pasteReIdOrRename(e3), this.recordId.pasteReIdOrRename(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteReIdOrRename(e3); + get hasCommonModules() { + return this._commonModules.length > 0; } - pasteResolveOldToNewValues(e3) { - var t3; - super.pasteResolveOldToNewValues(e3), this.recordId.pasteResolveOldToNewValues(e3), null === (t3 = this.output) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); + getCommonModuleReference(e3, t3) { + return this._commonModules.find((i3) => i3.id === e3 && i3.version === t3); } - } - 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); - else { - const e3 = i2(29546); - try { - n2 = i2(44485)("./" + e3.getCurrentLanguage() + "/isoLanguages.js"); - } catch (e4) { - n2 = i2(92421); + getCommonModuleReferenceByInstanceId(e3) { + return this._commonModules.find((t3) => { + var i3; + return (null === (i3 = t3.viewModel) || void 0 === i3 ? void 0 : i3.instanceId) === e3; + }); } - } - n2.then && n2.then((t3) => { - e2.exports = t3; - }), e2.exports = n2; - }, 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), 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; + _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) => C.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)); + }); } - get dependencyType() { - return p.Grammar; + getEmbeddedCommonModules() { + return this._commonModules.map((e3) => e3.viewModel).filter((e3) => !!e3); } - constructor() { - 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(); + getEmbeddedCommonModuleTasks() { + return this._commonModules.map((e3) => { + var t3; + return null === (t3 = e3.viewModel) || void 0 === t3 ? void 0 : t3.getCommonModuleTask(); + }).filter((e3) => !!e3); } - _createItemViewModel(e3) { - return new d.GrammarViewModel(e3); + getEmbeddedCommonModuleChild(e3, t3, i3) { + var n3; + if (!t3 || !e3) return; + let o2; + return i3 && (o2 = this.getCommonModuleReferenceByInstanceId(i3)), o2 || (o2 = this._commonModules.find((t4) => { + var i4; + return (null === (i4 = t4.viewModel) || void 0 === i4 ? void 0 : i4.id) === e3; + })), o2 ? null !== (n3 = o2.viewModel.getTopLevelChild(t3)) && void 0 !== n3 ? n3 : o2.viewModel.getChild(t3) : void 0; } - get _networkModel() { - return c.default; + addDefaultConfigSections(e3) { + e3 && (e3.flowMetaData = new Ce(this.flowMetaData), e3.flowMetaData.minimumServerVersion || (e3.flowMetaData.minimumServerVersion = "1.0"), e3.uiMetaData = {}, e3.variables = [], e3.flowSequenceItemList = []); } - } - t2.GrammarManager = h, t2.grammarManager = new h(); - }, 77853: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - function t3(e4, t4, i3, n2) { - var r2 = { m: ["eine Minute", "einer Minute"], h: ["eine Stunde", "einer Stunde"], d: ["ein Tag", "einem Tag"], dd: [e4 + " Tage", e4 + " Tagen"], w: ["eine Woche", "einer Woche"], M: ["ein Monat", "einem Monat"], MM: [e4 + " Monate", e4 + " Monaten"], y: ["ein Jahr", "einem Jahr"], yy: [e4 + " Jahre", e4 + " Jahren"] }; - return t4 ? r2[i3][0] : r2[i3][1]; + _addToAutoManageSettings(e3) { + return this._autoManagedSettings.push(e3), e3; } - e3.defineLocale("de", { months: "Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"), monthsParseExact: true, weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY HH:mm", LLLL: "dddd, D. MMMM YYYY HH:mm" }, calendar: { sameDay: "[heute um] LT [Uhr]", sameElse: "L", nextDay: "[morgen um] LT [Uhr]", nextWeek: "dddd [um] LT [Uhr]", lastDay: "[gestern um] LT [Uhr]", lastWeek: "[letzten] dddd [um] LT [Uhr]" }, relativeTime: { future: "in %s", past: "vor %s", s: "ein paar Sekunden", ss: "%d Sekunden", m: t3, mm: "%d Minuten", h: t3, hh: "%d Stunden", d: t3, dd: t3, w: t3, ww: "%d Wochen", M: t3, MM: t3, y: t3, yy: t3 }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: "%d.", week: { dow: 1, doy: 4 } }); - })(i2(95093)); - }, 77858: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + getAutoManagedSettings() { + return [...this._autoManagedSettings]; } - get _globalTypeName() { - return "agentScorePair"; + _createInitialActions() { + return r.default.resolve(this); } - get agent() { + _setInitialTrackingNumberFromConfiguration(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); } - get score() { + _getUniqueName(e3, t3, i3, n3) { + let o2, r2; + const a2 = (e4) => e4.name.toLowerCase() === r2, 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 (o2 = (0, u.sprintf)(t3, n4.toString()), r2 = o2.toLowerCase(), !s2(e3, a2)) { + if (!c.default.isArray(i3)) break; + if (!c.default.find(i3, (e4) => { + if (e4) return r2 === e4.toLowerCase(); + })) break; + } + return o2; } - get displayTypeName() { - return "ArchValueAgentScorePair"; + _extractSequenceItemViewModels(e3, t3, i3) { + if (e3.flowSequenceItemList) for (let n3 = 0; n3 < e3.flowSequenceItemList.length; n3++) { + const o2 = e3.flowSequenceItemList[n3]; + if (c.default.isFunction(i3.loadSequenceItemListForModel) ? i3.loadSequenceItemListForModel(this, o2) : o2.__type === i3.info.typeId) { + const e4 = new i3(this, o2); + t3[e4.id] = e4, this._uninitializedObjects.push(e4); + } + } } - get isArchValueAgentScorePair() { - return true; + _destroy() { + super._destroy(); + 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(); } - } - t2.default = r2; - }, 77862: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { ciceroTrainingWaitTimeMs: 2e3, compressionFormats: { none: "none" }, entityType: { maxListEntityItemValueStrLen: 50, maxListEntityTypes: 50 }, nodeIds: { intents: "intents", knowledge: "knowledge", learning: "learning", slots: "slots", slotTypes: "slot-types", dynamicSlotTypes: "dynamic-slots", utteranceHistory: "utterance-history", optimizationOverview: "optimization-overview" }, trainingStatuses: { error: "Error", trained: "Trained", training: "Training", unknown: "Unknown", untrained: "Untrained" }, validationResultTypes: { error: "error", info: "info", warn: "warn" }, variable: { virtualAgentEnabled: "virtualAgentEnabled", nameFollowUpSuffix: "_Follow_Up" } }; - }, 77876: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.distinct = void 0; - var n2 = i2(65212), r2 = i2(17214), o = i2(5717), a = i2(19724); - t2.distinct = function(e3, t3) { - return n2.operate(function(i3, n3) { - var s = /* @__PURE__ */ new Set(); - i3.subscribe(r2.createOperatorSubscriber(n3, function(t4) { - var i4 = e3 ? e3(t4) : t4; - s.has(i4) || (s.add(i4), n3.next(t4)); - })), t3 && a.innerFrom(t3).subscribe(r2.createOperatorSubscriber(n3, function() { - return s.clear(); - }, o.noop)); - }); - }; - }, 77886: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getAgenticCopilotsMessagesTopic = function() { - return "v2.users.userId.agentic.copilots.messages"; - }, t2.getDependencyTrackingTopic = function() { - return "v2.architect.dependencytracking.build"; - }, t2.getFlowOperationsTopic = function(e3) { - return e3 || n2.error("a flow id was not provided to getFlowOperationsTopic"), `v2.flows.${e3}`; - }, t2.getFlowInstancesTopic = function(e3) { - return e3 || n2.error("a flow id was not provided to getFlowInstancesTopic"), `v2.flows.instances.flow.${e3}`; - }, t2.getSystemTokenRevokedTopic = function(e3) { - return e3 || n2.error("a user id was not provided to getSystemTokenRevokedTopic"), `v2.system.token_revoked.${e3}`; - }, t2.getSystemPromptsTopic = function(e3, t3) { - return e3 || n2.error("a prompt id was not provided to getSystemPromptsTopic"), t3 || n2.error("a resource id was not provided to getSystemPromptsTopic"), `v2.architect.systemprompts.${e3}.resources.${t3}`; - }, t2.getUserPromptsTopic = function(e3, t3) { - return e3 || n2.error("a prompt id was not provided to getUserPromptsTopic"), t3 || n2.error("a resource id was not provided to getUserPromptsTopic"), `v2.architect.prompts.${e3}.resources.${t3}`; - }; - 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), 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; + _postDestroy() { + super._postDestroy(), C.actionRegistrationService.flowDestroyed(this), O.audioRegistrationService.flowDestroyed(this), D.emitter.emit(D.cleanUpFlow, this), this.amObjectEventEmitter && B.removeEventEmitter(this); } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + _loadConfiguration(e3) { + 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 ve.default({ displayName: e4.name, id: e4.id, type: o.flowTypes.flowTypeCommonModule }); + let i3; + if (e4.model) { + i3 = new he.default(t3, this); + const n3 = i3.createFlowConfiguration(e4.model); + i3.loadConfiguration(n3); + } + return { actionReferences: e4.actionReferences, id: e4.id, name: e4.name, version: e4.version, viewModel: i3 }; + } catch (t3) { + this.topic.exception(t3, `failed to load config for common module ${e4.id}`); + } + }).filter((e4) => e4)), c.default.invoke(this._uninitializedObjects, "initialize"), this._uninitializedObjects.length = 0); } - static get managedProperties() { - 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(), c.default.each(this.tasks, (e3) => { + e3.initializeDesignTime(); + }), this.menus && c.default.each(this.menus, (e3) => { + e3.initializeDesignTime(); + }), 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"); } - initializeDesignTime() { - super.initializeDesignTime(), this.addAutoCleanedUpEventSinkWatch(r2.expressionValueChanged, this.headerType, () => { - this._updateState(); - }), this.addAutoCleanedUpEventSinkWatch(r2.expressionModeChanged, this.headerType, () => { - this._updateState(); - }), this._updateState(); + _postInitializeDesignTime() { + super._postInitializeDesignTime(), this.loaded = true, this.isEmbeddedFlow || D.emitter.emit(D.flowLoaded, this), this._finishLoadTimeCallback && (this._finishLoadTimeCallback(), delete this._finishLoadTimeCallback); } - _updateOutOfService() { - this.headerText.outOfService = this._shouldOOSHeaderType(p.headerTypeTextChoice.id), this.headerImage.outOfService = this._shouldOOSHeaderType(d.headerTypeImageChoice.id); + _getUsesSpeechRec() { + return false; } - _shouldOOSHeaderType(e3) { - var t3; - if (!(null === (t3 = this.headerType.text) || void 0 === t3 ? void 0 : t3.length)) return true; - 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; + preExport(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return e3; + }); } - _updateCardProperties() { - 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)); + preImport(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var t3, i3, o2; + return null === (t3 = this.definitions) || void 0 === t3 || t3.loadConfiguration(e3), yield Promise.all(null === (o2 = null === (i3 = e3.variables) || void 0 === i3 ? void 0 : i3.map) || void 0 === o2 ? void 0 : o2.call(i3, (e4) => n2.__awaiter(this, void 0, void 0, function* () { + var t4; + 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 I.default.resolveTypeFromId(this, e4.typeIdentifier) : Promise.resolve(); + }))); + }); } - _updateState() { - this._updateOutOfService(), this._updateCardProperties(); + postCreate(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + }); } - _getPossibleErrors() { - return y.sendRichLinkFailureReasons; + postSave(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + }); } - } - 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) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + postScriptingCreateFlowAsync(e3) { } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.AsapAction = void 0; - var o = i2(64772), a = i2(16002), s = (function(e3) { - function t3(t4, i3) { - var n3 = e3.call(this, t4, i3) || this; - return n3.scheduler = t4, n3.work = i3, n3; + postImport(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + }); } - return r2(t3, e3), t3.prototype.requestAsyncId = function(t4, i3, n3) { - return void 0 === n3 && (n3 = 0), null !== n3 && n3 > 0 ? e3.prototype.requestAsyncId.call(this, t4, i3, n3) : (t4.actions.push(this), t4._scheduled || (t4._scheduled = a.immediateProvider.setImmediate(t4.flush.bind(t4, void 0)))); - }, t3.prototype.recycleAsyncId = function(t4, i3, n3) { - var r3; - if (void 0 === n3 && (n3 = 0), null != n3 ? n3 > 0 : this.delay > 0) return e3.prototype.recycleAsyncId.call(this, t4, i3, n3); - var o2 = t4.actions; - null != i3 && (null === (r3 = o2[o2.length - 1]) || void 0 === r3 ? void 0 : r3.id) !== i3 && (a.immediateProvider.clearImmediate(i3), t4._scheduled === i3 && (t4._scheduled = void 0)); - }, t3; - })(o.AsyncAction); - t2.AsapAction = s; - }, 78072: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.window = void 0; - var n2 = i2(76808), r2 = i2(65212), o = i2(17214), a = i2(5717), s = i2(19724); - t2.window = function(e3) { - return r2.operate(function(t3, i3) { - var r3 = new n2.Subject(); - i3.next(r3.asObservable()); - var l = function(e4) { - r3.error(e4), i3.error(e4); - }; - return t3.subscribe(o.createOperatorSubscriber(i3, function(e4) { - return null == r3 ? void 0 : r3.next(e4); - }, function() { - r3.complete(), i3.complete(); - }, l)), s.innerFrom(e3).subscribe(o.createOperatorSubscriber(i3, function() { - r3.complete(), i3.next(r3 = new n2.Subject()); - }, a.noop, l)), function() { - null == r3 || r3.unsubscribe(), r3 = null; - }; - }); - }; - }, 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + getSaveAsConfig(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return { newConfig: F.getStringifiedConfiguration(this) }; + }); } - static get managedProperties() { - 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 }); + toString() { + return `Flow <${super.toString()}>`; } - } - 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() { - Object.defineProperties(this, { _nextUri: { value: void 0, writable: true } }), r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "DecisionTableList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } }, nextUri: { enumerable: true, get: function() { - return this._nextUri; - }, set: function(e3) { - this._nextUri = e3; - } } }), 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), 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); + get areFlowFilterPreviewOptionsAvailable() { + return false; } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3); - const t3 = A(this.parentFlow.defaultLanguage).askForAuthentication.noInputDigitalBot; - this.setNewInstanceNoInputText(t3); - const i3 = A(this.parentFlow.defaultLanguage).askForAuthentication.noMatchDigitalBot; - this.setNewInstanceNoMatchText(i3), this.setBranchOutOfService(l.default.maxNoInputsOptional.outputId), this.setBranchOutOfService(l.default.maxNoMatchesOptional.outputId); + get flowViewFilterOptions() { + var e3, t3, i3, n3, o2, r2; + return { language: null === (t3 = null === (e3 = this.uiMetaData) || void 0 === e3 ? void 0 : e3.flowViewFilterOptions) || void 0 === t3 ? void 0 : t3.language, outputMode: null === (n3 = null === (i3 = this.uiMetaData) || void 0 === i3 ? void 0 : i3.flowViewFilterOptions) || void 0 === n3 ? void 0 : n3.outputMode, enabled: (null === (r2 = null === (o2 = this.uiMetaData) || void 0 === o2 ? void 0 : o2.flowViewFilterOptions) || void 0 === r2 ? void 0 : r2.enabled) || false }; } - static get managedProperties() { - 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 }]; + set flowViewFilterOptions(e3) { + this.uiMetaData || (this.uiMetaData = {}), this.uiMetaData.flowViewFilterOptions = { outputMode: e3.outputMode, language: e3.language, enabled: e3.enabled || false }; } - get supportsCustomOutputPaths() { - return true; + get areFlowFilterPreviewOptionsActive() { + var e3, t3, i3; + return !!this.areFlowFilterPreviewOptionsAvailable && (null === (e3 = this.flowViewFilterOptions) || void 0 === e3 ? void 0 : e3.enabled) && (!!(null === (t3 = this.flowViewFilterOptions) || void 0 === t3 ? void 0 : t3.language) || !!(null === (i3 = this.flowViewFilterOptions) || void 0 === i3 ? void 0 : i3.outputMode)); } - get hasOptionalPaths() { - return true; + getFlowFilterPreviewOptionsExpressionDisplayOptions(e3) { + if (!this.areFlowFilterPreviewOptionsAvailable) return; + let 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; } - static get branchInfo() { - return [...l.default.successFailure, l.default.maxNoInputsOptional, l.default.maxNoMatchesOptional]; + getComplexTypeLiteralValues(e3) { } - _getPossibleErrors() { - return u.askForAuthenticationFailureReasons; + getVariableViewModelFromAssignmentViewModel(e3) { + if (!(null == e3 ? void 0 : e3.id)) return; + let t3 = this.variableGroup.getVariable(e3.id); + if (!t3 && this.hasCommonModules) for (const i3 of this.getEmbeddedCommonModules()) { + const n3 = i3.variableGroup.getVariable(e3.id); + if (n3) { + t3 = n3; + break; + } + } + if (!t3) { + 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, R.error)("found it using uppercase id"); + } + return t3; } - } - 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); - } - i2(88732).extend(n2, "ClipboardDependencyCustomDataTypeDefModel", true), e2.exports = n2; - }, 78235: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.EmergencyGroupViewModel = void 0; - const n2 = i2(74483); - class r2 extends n2.NameIdConfigurationListViewModel { - constructor(e3) { - super(e3); + configureFromModel(e3, t3, i3) { + const o2 = Object.create(null, { configureFromModel: { get: () => super.configureFromModel } }); + return n2.__awaiter(this, void 0, void 0, function* () { + o2.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 o3 = (0, X.getStringValue)(e3, "description", i3); + void 0 !== o3 && (this.description = o3); + const r2 = (0, X.getStringValue)(e3, "defaultLanguage", i3); + if (void 0 !== r2 && (this.defaultLanguage = r2), 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, o4 = Object.keys(n5); + if (0 === o4.length) continue; + const r3 = o4[0], a2 = n5[r3]; + if (!(0, J.isConfigureFromModelRecord)(a2)) continue; + const s2 = a2, l2 = "string" == typeof s2.name ? s2.name : r3; + (0, ee.withModelContext)(i3, `${r3}[${l2}]`, () => { + try { + const e5 = r3.replace("Variable", ""), n6 = "boolean" == typeof s2.isCollection && s2.isCollection; + if (i3.variableManager && this.dataTypes) { + const o5 = this.dataTypes[e5]; + if (o5) { + const r4 = new o5({ name: l2, isCollection: n6 }), a3 = i3.variableManager.createVariable(r4, 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, o4 = Object.keys(n5); + if (0 === o4.length) continue; + const r3 = n5[o4[0]]; + if (!(0, J.isConfigureFromModelRecord)(r3)) continue; + const a2 = r3, 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("["), o4 = t4.lastIndexOf("]"), r3 = n4 >= 0 && o4 > n4 ? t4.substring(n4 + 1, o4) : t4; + i3.debug(`Registering deferred startUpRef resolution for '${r3}'.`), i3.registerDeferredOp({ type: "resolveStartUpRef", execute: () => { + const e4 = i3.refIdMap.get(r3); + e4 && "string" == typeof e4.id ? this.initialSequence = e4.id : i3.warn((0, u.sprintf)(_.configureFromModel.startUpRefCouldNotBeResolved, r3)); + } }); + } + }))); + }); } - get className() { - return "EmergencyGroupViewModel"; + canApplyChangeSet(e3, t3, i3) { + return (0, Se.canApplyChangeSet)(this, e3, t3, i3); } - get label() { - return this._model.name; + applyChangeSet(e3, t3, i3, o2) { + 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, o2)) return; + const r2 = 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: r2.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 < r2.length && i3.continueProcessing && !i3.isCancelled; e4++) { + const t4 = r2[e4], o3 = Object.keys(t4)[0]; + if (i3.reportProgress({ phase: K.progressPhase.changeSet, status: Q.progressStatus.inProgress, itemsProcessed: e4, totalItems: r2.length, currentItem: o3 }), (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: o3 }), 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: r2.length }); + }); } } - t2.EmergencyGroupViewModel = r2; - }, 78249: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.typeMap = t2.MISMATCH_TYPES = t2.MISMATCH_OUTPUT = t2.MISMATCH_NAME = t2.MISMATCH_INPUT = t2.MISMATCH_INCOMPATIBLE = t2.MISMATCH_DATA_TYPE = void 0, t2.MISMATCH_DATA_TYPE = "dataType", t2.MISMATCH_INCOMPATIBLE = "incompatible", t2.MISMATCH_INPUT = "input", t2.MISMATCH_NAME = "name", t2.MISMATCH_OUTPUT = "output", t2.MISMATCH_TYPES = [t2.MISMATCH_DATA_TYPE, t2.MISMATCH_INCOMPATIBLE, t2.MISMATCH_INPUT, t2.MISMATCH_NAME, t2.MISMATCH_OUTPUT], t2.typeMap = {}, t2.MISMATCH_TYPES.forEach((e3) => t2.typeMap[e3] = e3); - }, 78258: (e2, t2, i2) => { + t2.default = Me; + }, 24212(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), o = i2(96618), r = 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); - } - get _globalTypeName() { - return "externalInstagramInfoCollection"; + 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); } - get displayTypeName() { - return "ArchValueExternalInstagramInfoCollection"; + get className() { + return "InQueueCallViewModel"; } - get isArchValueExternalInstagramInfoCollection() { + get isInQueueCallFlow() { return true; } - } - t2.default = r2; - }, 78263: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isAsyncIterable = void 0; - var n2 = i2(10281); - t2.isAsyncIterable = function(e3) { - return Symbol.asyncIterator && n2.isFunction(null == e3 ? void 0 : e3[Symbol.asyncIterator]); - }; - }, 78280: (e2, t2, i2) => { - "use strict"; - 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) { - 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(); - } - 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(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); - } - get applicationName() { - const e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this); - return null == e3 ? void 0 : e3.applicationName; - } - static get branchInfo() { - return c.default.successFailure; + getFlowConfigurationClass() { + return c; } - static get managedProperties() { - 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")) }]; + _loadConfiguration(e3) { + if (this._setInitialTrackingNumberFromConfiguration(e3.nextTrackingNumber), this.deleteAllTasks(), super._loadConfiguration(e3), e3.flowSequenceItemList && 1 === e3.flowSequenceItemList.length && e3.flowSequenceItemList[0].__type === r.default.info.typeId) { + const t3 = new r.default(this, e3.flowSequenceItemList[0]); + t3.initialize(), this._addTask(t3); + } } - get botRunnableProperty() { - return this.botIntegration; + get type() { + return o.flowTypes.flowTypeInQueueCall; } - get isCallAudioConnectorAction() { - return true; + updateDependencies() { + this.inQueueSettings.holdMusic.registerDependencies(), super.updateDependencies(); } - get supportsInputsOutputs() { - return true; + get wrappedYamlName() { + return "inqueueCall"; } - get doesNotSupportIntents() { - return true; + } + t2.default = d; + }, 44130(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(58467)), r = n2.__importStar(i2(14187)), a = i2(96618); + class s extends o.default { + constructor(e3) { + super(e3); } - get supportsSessionVariables() { - return false; + get className() { + return "InQueueEmailFlowViewModel"; } - get shouldSkipLanguageValidation() { + get isInQueueEmailFlow() { 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 = {}; - const n3 = e3.integration[this.botIntegration.nameValue] = {}; - r2.default.moveAndDeleteProperty(e3, n3, "connectorId"), this.commonBotPostProcessYamlConfig(e3, n3); + get type() { + return a.flowTypes.flowTypeInQueueEmail; + } + get builtInVariableScopes() { + return [...super.builtInVariableScopes, r.scopes.email]; + } + get wrappedYamlName() { + return "inqueueEmail"; } } - 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) => { + t2.default = s; + }, 58407(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), 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 { + const n2 = i2(31635), o = n2.__importDefault(i2(58467)), r = n2.__importStar(i2(14187)), a = i2(96618); + class s extends o.default { constructor(e3) { super(e3); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrLanguageTag(e3, this._getCoreViewModel().language); - const t3 = this._getCoreViewModel().textToSpeech; - return t3 && (this._appendLogStrTtsEngineSelectionType(e3, t3.engine.selection.toString()), t3.engine.selection !== l.engineSelectionTypes.engineSelectionNone && this._appendLogStrTtsEngineName(e3, t3.engine.name || ""), this._appendLogStrTtsEngineVoiceSelectionType(e3, t3.voice.selection.toString()), t3.voice.selection !== l.engineSelectionTypes.engineSelectionNone && this._appendLogStrTtsEngineVoiceName(e3, t3.voice.name || "")), this._createLogStrFromParts(e3); + get className() { + return "InQueueShortMessageFlowViewModel"; } - get defaultLanguageSkill() { - const e3 = this._getCoreViewModel().parent.parentFlow; - return e3 && e3.isFlowViewModel && e3.languagesSupportDefaultLanguageSkill ? this.coreFactory.createArchWrapper(this._getCoreViewModel().languageSkill) : null; + get isInQueueShortMessageFlow() { + return true; } - get displayTypeName() { - return "ArchSettingsSupportedLanguage"; + get type() { + return a.flowTypes.flowTypeInQueueShortMessage; } - get isArchSettingsSupportedLanguage() { + get builtInVariableScopes() { + return [...super.builtInVariableScopes, r.scopes.message]; + } + get wrappedYamlName() { + return "inqueueShortMessage"; + } + } + t2.default = s; + }, 58467(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(95955)), r = n2.__importDefault(i2(71824)), a = n2.__importDefault(i2(26519)); + class s extends r.default { + constructor(e3) { + super(e3), this.callPrompts = new o.default(this), this.errorHandling = new a.default(this), this._addToAutoManageSettings(this.callPrompts), this._addToAutoManageSettings(this.errorHandling); + } + get className() { + return "InQueueWorkflowViewModel"; + } + get isInQueueWorkflow() { return true; } - get language() { - const e3 = this._getCoreViewModel().language; - if (r2.default.isString(e3) && e3.length) return o.default.getByLanguageTag(e3); + } + t2.default = s; + }, 54625(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(6035)), r = i2(96618), a = n2.__importDefault(i2(19359)); + class s extends o.default { + constructor(e3) { + super(e3), this.pathDiscovery = this._addToAutoManageSettings(new a.default(this)); } - setTtsEngine(e3) { - this.throwIfDoesNotSupportTts("setTtsEngine"); - const t3 = this._infoParm("archTtsEngine", "setTtsEngine"); - this._checkItem(t3, !e3 || !e3.isArchTtsEngine, "you must pass in a valid ArchTtsEngine instance."); - const i3 = e3._getCoreViewModel(), n3 = this._getCoreViewModel().language; - 0 === i3.getSelectableVoicesForLanguage(n3).length && this.logErrorAndThrow(`the text to speech engine '${e3.name}' does have any voices that support language '${n3}'.`), this._getCoreViewModel().textToSpeech.setEngine(i3, false); + get className() { + return "InboundCallViewModel"; } - setTtsEngineNone() { - this.throwIfDoesNotSupportTts("setTtsEngineNone"), this._getCoreViewModel().textToSpeech.setEngine(null, false); + get isInboundCallFlow() { + return true; } - setTtsEngineDefault() { - this.throwIfDoesNotSupportTts("setTtsEngineDefault"); - const e3 = this._getCoreViewModel().language, t3 = this._getCoreViewModel().parent.parentFlow, i3 = m.default.getDefaultEngineForLanguageAndFlowTypeOrTypes(e3, t3.type); - return i3 || this.logErrorAndThrow(`a default engine was not found for language '${e3}'.`), this._getCoreViewModel().textToSpeech.setEngine(i3, true), this.coreFactory.createArchWrapper(i3); + get type() { + return r.flowTypes.flowTypeInboundCall; } - setTtsVoice(e3) { - this.throwIfDoesNotSupportTts("setTtsVoice"); - const t3 = this._getCoreViewModel().language; - if (!e3._getCoreViewModel().getVoiceSupportsLanguage(t3)) { - const i4 = `voice '${e3.name}' does not support language '${t3}'.`; - p.isFeatureAvailable(_.default.flexibleTtsSelection) ? this.logWarning(i4) : this.logErrorAndThrow(i4); - } - const i3 = this.ttsEngine; - i3 && i3.id !== e3.parentEngine.id && this.setTtsEngine(e3.parentEngine), this._getCoreViewModel().textToSpeech.setVoice(e3._getCoreViewModel(), false); + get wrappedYamlName() { + return "inboundCall"; } - setTtsVoiceNone() { - this.throwIfDoesNotSupportTts("setTtsVoiceNone"), this._getCoreViewModel().textToSpeech.setVoice(null, false); + } + t2.default = s; + }, 22999(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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); } - setTtsVoiceDefaultForCurrentEngine() { - this.throwIfDoesNotSupportTts("setTtsVoiceDefaultForCurrentEngine"); - const e3 = this._getCoreViewModel().language, t3 = this.ttsEngine; - t3 || this.logErrorAndThrow(`a text to speech engine was not set for language '${e3}' before setTtsVoiceDefaultForCurrentEngine was called.`); - const i3 = t3._getCoreViewModel(), n3 = i3.getDefaultVoiceForLanguage(e3); - return n3 || this.logErrorAndThrow(`a default voice was not found for engine '${i3.name}' and language '${e3}'.`), this._getCoreViewModel().textToSpeech.setVoice(n3, true), this.coreFactory.createArchWrapper(n3); + get className() { + return "InboundChatViewModel"; } - get speechToTextEngine() { - if (!this._getCoreViewModel().parent.parentFlow.definition.languagesSupportSttSetting) return null; - const e3 = this._getCoreViewModel().speechToTextEngine; - return e3 && e3.model.id ? this.coreFactory.createArchWrapper(e3) : void 0; + get builtInVariableScopes() { + return [...super.builtInVariableScopes, a.scopes.chat]; } - get ttsEngine() { - if (!this._getCoreViewModel().parent.parentFlow.definition.languagesSupportTtsAndAsrSettings) return null; - const e3 = this._getCoreViewModel().textToSpeech; - if (e3.engine && e3.engine.id) { - const t3 = m.default.getItemById(e3.engine.id); - if (t3) return this.coreFactory.createArchWrapper(t3); - this._logErrorInternalAndThrow(`text to speech engine not found for ID '${e3.engine.id}'.`); - } - return null; + get isInboundChat() { + return true; } - get ttsVoice() { - const e3 = this.ttsEngine; - if (e3) { - const t3 = this._getCoreViewModel().textToSpeech; - if (t3.voice && t3.voice.id) return e3.getVoiceById(t3.voice.id); - } - return null; + get type() { + return o.flowTypes.flowTypeInboundChat; } - setSpeechToTextEngineByNameAsync(e3, t3) { - return n2.__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 = h.default.getItemByName(e3); - if (i3) return (null == i3 ? void 0 : i3.grammarBased) && this.logErrorAndThrow("Unable to set a grammar-based speech to text engine in supported language settings."), (null == i3 ? void 0 : i3.isLanguageSupported(this._getCoreViewModel().language)) || this.logErrorAndThrow(`Unable to set ${i3.name} as speech to text engine in supported language settings for language ${this._getCoreViewModel().language}.`), this._getCoreViewModel().speechToTextEngine.setEngine(i3, false), this._getCoreViewModel().speechToTextEngineChoice = i3, a.default.executeCallback(this, "setSpeechToTextEngineByNameAsync", t3, this); - }); + get wrappedYamlName() { + return "inboundChat"; } - setSpeechToTextEngineByIdAsync(e3, t3) { - return n2.__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 = h.default.getItemById(e3); - if (i3) return (null == i3 ? void 0 : i3.grammarBased) && this.logErrorAndThrow("Unable to set a grammar-based speech to text engine in supported language settings."), (null == i3 ? void 0 : i3.isLanguageSupported(this._getCoreViewModel().language)) || this.logErrorAndThrow(`Unable to set ${i3.id} as speech to text engine in supported language settings for language ${this._getCoreViewModel().language}.`), this._getCoreViewModel().speechToTextEngine.setEngine(i3, false), this._getCoreViewModel().speechToTextEngineChoice = i3, a.default.executeCallback(this, "setSpeechToTextEngineByNameAsync", t3, this); - }); + setNewInstanceDefaults(e3) { + const t3 = e3 && e3.transferQueue ? e3.transferQueue : null; + return t3 ? (this.errorHandling.loadErrorSettings(t3), this.errorHandling.handlingType = r.default.Queue) : this.errorHandling.handlingType = r.default.Disconnect, super.setNewInstanceDefaults(e3); } - setSpeechToTextEngineFromDefaultAsync(e3) { + _createInitialActions() { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setSpeechToTextEngineFromDefaultAsync"), e3, 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 t3 = h.default.getDefaultEngineForLanguage(this._getCoreViewModel().language); - if (t3) return (null == t3 ? void 0 : t3.grammarBased) && this.logErrorAndThrow("Unable to set a grammar-based speech to text engine in supported language settings."), this._getCoreViewModel().speechToTextEngine.setEngine(t3, true), this._getCoreViewModel().speechToTextEngineChoice = this._getCoreViewModel().defaultSttEngineChoice, a.default.executeCallback(this, "setSpeechToTextEngineFromDefaultAsync", e3, this); + return c(this), this; }); } - get knowledgeBaseName() { - var e3, t3; - const i3 = this._getCoreViewModel().parent.parentFlow; - if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeBaseName : null === (t3 = this._getCoreViewModel().knowledgeBase) || void 0 === t3 ? void 0 : t3.name; + search(e3) { + super.search(e3); } - get knowledgeBaseId() { - var e3, t3; - const i3 = this._getCoreViewModel().parent.parentFlow; - if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeBaseId : null === (t3 = this._getCoreViewModel().knowledgeBase) || void 0 === t3 ? void 0 : t3.id; + } + t2.default = d; + }, 65641(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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 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 knowledgeSettingName() { - var e3, t3; - const i3 = this._getCoreViewModel().parent.parentFlow; - if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeSettingName : null === (t3 = this._getCoreViewModel().knowledgeSetting) || void 0 === t3 ? void 0 : t3.name; + get className() { + return "InboundEmailViewModel"; } - get knowledgeSettingId() { - var e3, t3; - const i3 = this._getCoreViewModel().parent.parentFlow; - if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeSettingId : null === (t3 = this._getCoreViewModel().knowledgeSetting) || void 0 === t3 ? void 0 : t3.id; + get builtInVariableScopes() { + return [...super.builtInVariableScopes, c.scopes.email, c.scopes.message]; } - _setKnowledgeBaseAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var n3, r3; - const o2 = this._getCoreViewModel().parent.parentFlow; - return o2.supportsMultilingualKnowledge || this.logErrorAndThrow(`cannot set a knowledge base on the language '${this._getCoreViewModel().language}' as the flow '${o2.displayName}' does not support knowledge bases for multiple languages.`), this._isDefaultLanguageForFlow ? (this.logNote(`The language '${this._getCoreViewModel().language}' is the default language for the flow. Forwarding to Knowledge Settings to set the default Knowledge Base.`), null === (n3 = o2.knowledgeSettings) || void 0 === n3 || n3.knowledge.setValue(t3)) : ((null === (r3 = o2.knowledgeSettings) || void 0 === r3 ? void 0 : r3.knowledgeBaseId) || this.logErrorAndThrow(`cannot set a knowledge base on the language '${this._getCoreViewModel().language}' as the default knowledge base has not been set.`), this._getCoreViewModel().languageSupportsKnowledge || this.logErrorAndThrow(`cannot set a knowledge base on the language '${this._getCoreViewModel().language}' as knowledge is unavailable for this language.`), this._getCoreViewModel().knowledgeBase = t3), yield a.default.executeCallback(this, e3, i3, this); - }); + get isInboundEmail() { + return true; } - _setKnowledgeSettingAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var n3, r3; - const o2 = this._getCoreViewModel().parent.parentFlow; - return o2.supportsMultilingualKnowledge || this.logErrorAndThrow(`cannot set a knowledge setting on the language '${this._getCoreViewModel().language}' as the flow '${o2.displayName}' does not support knowledge settings for multiple languages.`), this._isDefaultLanguageForFlow ? (this.logNote(`The language '${this._getCoreViewModel().language}' is the default language for the flow. Forwarding to Knowledge Settings to set the default Knowledge Setting.`), null === (n3 = o2.knowledgeSettings) || void 0 === n3 || n3.knowledge_v3.setValue(t3)) : ((null === (r3 = o2.knowledgeSettings) || void 0 === r3 ? void 0 : r3.knowledgeSettingId) || this.logErrorAndThrow(`cannot set a knowledge setting on the language '${this._getCoreViewModel().language}' as the default knowledge setting has not been set.`), this._getCoreViewModel().languageSupportsKnowledge || this.logErrorAndThrow(`cannot set a knowledge setting on the language '${this._getCoreViewModel().language}' as knowledge is unavailable for this language.`), this._getCoreViewModel().knowledgeSetting = t3), yield a.default.executeCallback(this, e3, i3, this); - }); + getFlowConfigurationClass() { + return f; } - setKnowledgeBaseByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseId", "setKnowledgeBaseByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeBaseByIdAsync"), t3, true); - const i3 = yield s.default.findItemByIdAsync(u.knowledgeBaseManager, e3, "knowledgeBaseId"); - return this.logNote(`found the knowledge base named '${i3.name}' for the knowledge base ID of '${e3}'`), yield this._setKnowledgeBaseAsync("setKnowledgeBaseByIdAsync", i3, t3); - }); + get overrideWireFlowConfiguration() { + return T.getEmailFlowConfiguration; } - setKnowledgeBaseByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseName", "setKnowledgeBaseByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeBaseByNameAsync"), t3, true); - const i3 = yield s.default.findItemByValueAsync(u.knowledgeBaseManager, e3, "knowledge base", "name", "name"); - return this.logNote(`found the knowledge base named '${i3.name}'`), yield this._setKnowledgeBaseAsync("setKnowledgeBaseByNameAsync", i3, t3); - }); + get overrideWireFlowVersionConfiguration() { + return T.getVersionEmailFlowConfiguration; } - 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(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); - }); + get type() { + return o.flowTypes.flowTypeInboundEmail; } - 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(c.knowledgeSettingManager, e3, "knowledge setting", "name", "name"); - return this.logNote(`found the knowledge setting named '${i3.name}'`), yield this._setKnowledgeSettingAsync("setKnowledgeSettingByNameAsync", i3, t3); - }); + get wrappedYamlName() { + return "inboundEmail"; } - get conversationSummarySettingName() { - var e3; - if (this._getCoreViewModel().parent.parentFlow.supportsConversationSummary) return null === (e3 = this._getCoreViewModel().conversationSummarySetting) || void 0 === e3 ? void 0 : e3.name; + setNewInstanceDefaults(e3) { + const t3 = e3 && e3.transferQueue ? e3.transferQueue : null; + return t3 ? (this.errorHandling.loadErrorSettings(t3), this.errorHandling.handlingType = s.default.Queue) : this.errorHandling.handlingType = s.default.Disconnect, super.setNewInstanceDefaults(e3); } - get conversationSummarySettingId() { - var e3; - if (this._getCoreViewModel().parent.parentFlow.supportsConversationSummary) return null === (e3 = this._getCoreViewModel().conversationSummarySetting) || void 0 === e3 ? void 0 : e3.id; + processNluIntentsUpdate(e3) { + e3 && (this.nluCortexMetaData.intents = e3, l.emitter.emit(l.nluCortexIntentClassificationMetadataUpdated)); } - setConversationSummaryByIdAsync(e3, t3) { + postScriptingCreateFlowAsync(e3) { + var t3; + r.default.isObject(e3) && (this.cachedCreationDataFromScripting = e3, this.processNluIntentsUpdate(null === (t3 = null == e3 ? void 0 : e3.intentDetection) || void 0 === t3 ? void 0 : t3.intents)); + } + preExport(e3, t3) { + const i3 = Object.create(null, { preExport: { get: () => super.preExport } }); return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryId", "setConversationSummaryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByIdAsync"), t3, true); - const i3 = this._getCoreViewModel(), n3 = i3.parent.parentFlow; - n3.supportsConversationSummary || this.logErrorAndThrow(`cannot set a conversation summary setting on the language '${i3.language}' as the flow '${n3.displayName}' does not support conversation summary.`); - const r3 = yield s.default.findItemByIdAsync(g.conversationSummarySettingManager, e3, "conversationSummaryId"); - return this.logNote(`found the summarization setting named '${r3.name}' for the summarization setting ID of '${e3}'`), i3.conversationSummarySetting = r3, a.default.executeCallback(this, "setConversationSummaryByIdAsync", t3, this); + var o2, r2; + if (e3 = yield i3.preExport.call(this, e3, t3), (null == t3 ? void 0 : t3.isForFlowYaml) && Array.isArray(null === (o2 = this.nluCortexMetaData) || void 0 === o2 ? void 0 : o2.intents) && this.nluCortexMetaData.intents.length) { + e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = {}; + const i4 = e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding, o3 = new a.default(this.nluCortexMetaData).getConfiguration(e3, t3), s2 = null === (r2 = null == o3 ? void 0 : o3.intents) || void 0 === r2 ? void 0 : r2.map((e4) => { + var { id: t4 } = e4; + return n2.__rest(e4, ["id"]); + }); + i4.intentDetection = s2, e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = { intentDetection: { intents: s2 } }; + } + return e3; }); } - setConversationSummaryByNameAsync(e3, t3) { + getSaveAsConfig(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryName", "setConversationSummaryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByNameAsync"), t3, true); - const i3 = this._getCoreViewModel().parent.parentFlow; - i3.supportsConversationSummary || this.logErrorAndThrow(`cannot set a conversation summary setting on the language '${this._getCoreViewModel().language}' as the flow '${i3.displayName}' does not support conversation summary.`); - const n3 = yield s.default.findItemByValueAsync(g.conversationSummarySettingManager, e3, "summarization setting", "name", "name"); - return this.logNote(`Found partial info for the summarization setting named '${n3.name}' for the passed summarization setting name of '${e3}'. Getting full summarization setting details.`), this.setConversationSummaryByIdAsync(n3.id, t3); + const e4 = u.getStringifiedConfiguration(this); + let t3 = JSON.parse(e4); + return t3 = yield this.preExport(t3), { newConfig: u.stringifyConfig(t3) }; }); } - get _isDefaultLanguageForFlow() { - return this._getCoreViewModel().parent.parentFlow.defaultLanguage === this._getCoreViewModel().language; + preImport(e3) { + const t3 = Object.create(null, { preImport: { get: () => super.preImport } }); + return n2.__awaiter(this, void 0, void 0, function* () { + var i3; + yield t3.preImport.call(this, e3), r.default.isObject(e3) && (this.cachedCreationDataFromScripting = e3, this.processNluIntentsUpdate(null === (i3 = null == e3 ? void 0 : e3.intentDetection) || void 0 === i3 ? void 0 : i3.intents)); + }); } - throwIfDoesNotSupportTts(e3) { - const t3 = this._infoMethod(e3); - this._ensureTtsInfoAvailable(t3, a.default); - const i3 = this._getCoreViewModel().parent.parentFlow; - i3.definition.supportsAudio || i3.definition.languagesSupportTtsAndAsrSettings || this.logErrorAndThrow("the flow type '" + i3.type + "' does not support text to speech. You can see if a flow type supports text to speech by accessing the supportsAudio property on it."); + _loadConfiguration(e3) { + this.supportsLanguages && void 0 === e3.defaultLanguage && (e3.defaultLanguage = "en-US"), super._loadConfiguration(e3); } } - t2.default = f; - }, 78350: (e2, t2, i2) => { + t2.default = y; + }, 55974(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(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 = l.ExpressionTypeTimeOptions; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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)); } get className() { - return "TimeType"; + return "InboundShortMessageViewModel"; } - createExpressionOptionClass() { - return new l.ExpressionTypeTimeOptions(this.isCollection); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, a.scopes.message]; } - get supportsLiteralEditor() { + get isInboundShortMessage() { return true; } - _getIsTimeExpressionTextValid(e3) { - return !!o.default.isString(e3) && new RegExp("[0-2][0-9]:[0-5][0-9]:[0-5][0-9]").test(e3) && 8 === e3.length; - } - convertLitToExpression(e3, t3) { - if (this._getIsTimeExpressionTextValid(t3)) { - const e4 = this._parseTimeString(t3); - return `MakeTime(${e4.hours}, ${e4.minutes}, ${e4.seconds})`; - } - return t3; - } - _getLiteralValueOfExpression() { - return ""; - } - getYamlObjectForLiteralSingleton(e3) { - if (super.getYamlObjectForLiteralSingleton(e3), !this._getIsTimeExpressionTextValid(e3.text)) { - const t4 = `Invalid time parsed in TimeType.getYamlObjectForLiteralSingleton for expression text '${e3.text}'`; - throw p.exceptionWithErrorObjectInfo(null, t4, e3, true), t4; - } - const t3 = this._parseTimeString(e3.text); - return { hour: t3.hours, minute: t3.minutes, second: t3.seconds }; - } - _parseTimeString(e3) { - return { hours: parseInt(e3.substr(0, 2)), minutes: parseInt(e3.substr(3, 5)), seconds: parseInt(e3.substr(6, 2)) }; + get type() { + return o.flowTypes.flowTypeInboundShortMessage; } - searchExpression(e3, t3) { - if (t3.isLiteralMode && this._getIsTimeExpressionTextValid(t3.text)) { - const i3 = this._parseTimeString(t3.text); - let n3 = i3.hours; - const o2 = n3 >= 12 ? "PM" : "AM"; - n3 = n3 > 12 ? n3 - 12 : n3; - const a2 = (0, r2.sprintf)("%s:%02d:%02d %s", n3, i3.minutes, i3.seconds, o2); - e3.checkText(t3, a2, t3.label); - } else super.searchExpression(e3, t3); + get wrappedYamlName() { + return "inboundShortMessage"; } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - return `"${i3 || t3 || ""}"`; + setNewInstanceDefaults(e3) { + const t3 = e3 && e3.transferQueue ? e3.transferQueue : null; + return t3 ? (this.errorHandling.loadErrorSettings(t3), this.errorHandling.handlingType = r.default.Queue) : this.errorHandling.handlingType = r.default.Disconnect, super.setNewInstanceDefaults(e3); } - 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); - } + _loadConfiguration(e3) { + this.supportsLanguages && void 0 === e3.defaultLanguage && (e3.defaultLanguage = "en-US"), super._loadConfiguration(e3); } } - t2.TimeType = _, _.typeIdentifier = d.expressionTypeNames.time; - }, 78354: (e2, t2, i2) => { + t2.default = d; + }, 66486(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.TimeslotType = t2.PROP_DURATION = t2.PROP_DATETIME = void 0; - const n2 = i2(31635), r2 = i2(79056), o = i2(80428), a = n2.__importDefault(i2(73198)), s = i2(94765), l = i2(47957); - t2.PROP_DATETIME = "dateTime", t2.PROP_DURATION = "duration"; - class u extends s.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "TimeslotType"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(17604), r = n2.__importStar(i2(36781)), a = n2.__importStar(i2(59477)), s = n2.__importStar(i2(98442)), l = i2(79516), u = i2(47957); + t2.default = class { + constructor(e3) { + this._flow = e3; } - convertLitToExpression(e3, t3) { - return ""; + isAllowed(e3) { + return this._isVariantOfPrimaryLanguage(e3); } - _getLiteralValueOfExpression() { - return ""; + notifyRejected(e3) { + var t3; + const i3 = null !== (t3 = s.getLanguageDisplayName(e3)) && void 0 !== t3 ? t3 : e3, n3 = { type: l.AlertTypeEnum.error, message: (0, o.sprintf)(u.setLocale.navigatorLanguageNotVariantError, i3) }; + r.emitter.emit(r.alert, n3); } - createExpressionOptionClass() { - return new r2.ExpressionTypeTimeslotOptions(this.isCollection); + isSupported(e3) { + return a.isNavigatorSupportedLanguage(e3); } - get supportsLiteralEditor() { - return true; + unsupportedError(e3) { + var t3; + const i3 = null !== (t3 = s.getLanguageDisplayName(e3)) && void 0 !== t3 ? t3 : e3; + return (0, o.sprintf)(u.setLocale.navigatorUnsupportedLanguageError, i3); } - get hasRichLiteralEditor() { - return true; + _isVariantOfPrimaryLanguage(e3) { + const t3 = s.getBaseLanguageSubtag(this._flow.defaultLanguage), i3 = s.getBaseLanguageSubtag(e3); + return !(!t3 || !i3) && t3 === i3; } - getPropDateTime(e3) { - return e3.getProperty(t2.PROP_DATETIME); + }; + }, 31145(e2, t2, i2) { + "use strict"; + var n2; + t2.NluFlowViewModel = void 0; + const o = i2(31635), r = o.__importStar(i2(68694)), a = i2(68694), s = i2(17604), l = o.__importDefault(i2(92140)), u = o.__importStar(i2(24601)), c = o.__importStar(i2(98442)), d = o.__importStar(i2(9345)), p = i2(14394), _ = i2(79516), h = i2(77841), m = i2(63689), g = o.__importStar(i2(12847)), f = o.__importStar(i2(36781)), T = i2(10798), y = o.__importStar(i2(46920)), S = o.__importDefault(i2(77862)), A = o.__importStar(i2(58380)), N = o.__importStar(i2(1115)), v = o.__importDefault(i2(4648)), I = i2(84041), C = o.__importStar(i2(44392)), O = o.__importStar(i2(22717)), b = i2(13116), E = o.__importStar(i2(14187)), w = o.__importDefault(i2(8066)), R = o.__importDefault(i2(71729)), D = o.__importDefault(i2(71901)), P = o.__importDefault(i2(71655)), M = o.__importDefault(i2(95955)), F = o.__importDefault(i2(27277)), L = o.__importDefault(i2(75228)), x = o.__importDefault(i2(84693)), k = o.__importDefault(i2(76533)), V = o.__importDefault(i2(4406)), U = o.__importDefault(i2(19359)), B = o.__importDefault(i2(57443)), G = o.__importDefault(i2(15179)), j = o.__importDefault(i2(48263)), q = o.__importDefault(i2(86767)), W = o.__importDefault(i2(74246)), Y = o.__importDefault(i2(71824)), H = o.__importDefault(i2(66486)), J = o.__importStar(i2(59477)), $ = i2(79364), z = i2(24893), K = i2(16926), Q = i2(47957), X = i2(64420); + class Z 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 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 q.default(this)), this.intentClassifierData = 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); } - getPropDuration(e3) { - return e3.getProperty(t2.PROP_DURATION); + _createBotFlowSettings() { + return new R.default(this); } - configurePropertyCreationParams(e3, i3, n3) { - switch (super.configurePropertyCreationParams(e3, i3, n3), i3.name) { - case t2.PROP_DATETIME: - n3.label = l.dynamicTimeslots.dynamicTimeslotsDateTimeLabel, n3.options.setIninTestingField("date-time"); - break; - case t2.PROP_DURATION: - n3.label = l.dynamicTimeslots.dynamicTimeslotsDurationLabel, n3.options.setIninTestingField("duration"), n3.options.setDefaultText(a.default.litDurationOneMinute); + validate(e3) { + var t3, i3, n3; + if (super.validate(e3), this.supportsGrammars) for (const n4 in this.nluMetaData.slotsToGrammarsMapping) { + const o3 = null === (t3 = this.nluMetaData.slotsToGrammarsMapping[n4]) || void 0 === t3 ? void 0 : t3.id; + if ((!o3 || !h.grammarManager.getItem(o3)) && o3) { + const t4 = n4, r2 = null === (i3 = this.nluMetaData.slotsToGrammarsMapping[n4]) || void 0 === i3 ? void 0 : i3.name, a2 = r2 ? (0, s.sprintf)(Q.grammars.modal.errors.grammarNameDoesNotExistOnSlot, r2, t4) : (0, s.sprintf)(Q.grammars.modal.errors.grammarIdDoesNotExistOnSlot, o3, t4); + e3.addError(this.slotSettings, a2); + } } + const o2 = r.EntityUtil.getEntityTypeNames(this.nlu); + o2.length && o2.forEach((t4) => { + var i4, n4; + const o3 = r.EntityUtil.getEntityTypeByName(this.nlu, t4); + "List" === (null === (i4 = null == o3 ? void 0 : o3.mechanism) || void 0 === i4 ? void 0 : i4.type) && (null === (n4 = null == o3 ? void 0 : o3.mechanism) || void 0 === n4 ? void 0 : n4.items.length) && o3.mechanism.items.forEach((t5) => { + var i5; + if (t5.value !== t5.value.trim()) { + const n5 = (0, s.sprintf)(Q.bot.whitespacePresentInSlotTypeValue, t5.value, o3.name); + (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)(v.default.botFlowsVirtualAgentGuideBillingDowngrade) && (this.botFlowSettings.hasCallAVAAction || true !== (null === (n3 = this.info) || void 0 === n3 ? void 0 : n3.agenticVirtualAgentEnabled) || e3.addWarning(this, Q.virtualAgent.agenticVirtualAgentDowngradeTooltip, true)); } - } - t2.TimeslotType = u, u.typeIdentifier = o.expressionTypeNames.timeslot; - }, 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), 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 ? 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(); - } - arrayToMap(e3, t3, i3) { - this._cache || (this._cache = /* @__PURE__ */ new Map()); - let n3 = this._cache.get(t3); - return n3 || (n3 = e3.reduce((e4, t4) => { - let n4 = i3 ? i3(t4) : t4; - return n4 = n4.charAt(0).toLowerCase() + n4.slice(1), e4[n4] = t4, e4; - }, {}), this._cache.set(t3, n3)), n3; - } - get displayTypeName() { - return this._scriptingName; + get isNluFlow() { + return true; } - get ABORT_SURVEY_INVITE_DISPOSITIONS() { - return this.arrayToMap(S, "_abort_survey_invite_dispositions"); + get languageForFlowCreation() { + return this.defaultLanguage; } - get ABORT_SURVEY_INVITE_DISPOSITIONS_ALL() { - return S; + get hasIntentTaskMappings() { + return false; } - get AUTO_GENERATED_EMAIL_HANDLING() { - return this.arrayToMap(A, "_auto_generated_email_handling"); + get supportsNluIntents() { + return this.definition.supportsNluIntents; } - get AUTO_GENERATED_EMAIL_HANDLING_ALL() { - return A; + get supportsKnowledge() { + return this.definition.supportsKnowledge; } - get BOT_CONFIRMATION_MODES() { - return this.arrayToMap(N, "_bot_confirmation_modes"); + get supportsConversationSummary() { + var e3; + return this.definition.supportsConversationSummary && (null === (e3 = this.virtualAgentSettings) || void 0 === e3 ? void 0 : e3.summarizationEnabled); } - get BOT_CONFIRMATION_MODES_ALL() { - return N; + createState(e3) { + if (this.definition.supportsMultipleStates) return super.createState(e3); + g.error("Multiple states not supported"); } - get CAPTURE_TYPES() { - return this.arrayToMap(v, "_capture_types"); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, E.scopes.session, E.scopes.flow, E.scopes.slot]; } - get CAPTURE_TYPES_ALL() { - return v; + get allowedAssignableVariableScopes() { + return [...super.allowedAssignableVariableScopes, E.scopes.slot]; } - get CHOICE_TYPES() { - return this.arrayToMap(O, "_choice_types"); + getFlowConfigurationClass() { + return z; } - get CHOICE_TYPES_ALL() { - return O; + get overrideWireFlowConfiguration() { + return X.getBotFlowConfiguration; } - get CHOOSER_PRESENTATION_MODES() { - return this.arrayToMap(I, "_chooser_modes"); + get overrideWireFlowVersionConfiguration() { + return X.getVersionBotFlowConfiguration; } - get CHOOSER_PRESENTATION_MODES_ALL() { - return I; + get grammarsInUse() { + return l.default.isNullOrUndefined(this.nluMetaData.slotsToGrammarsMapping) ? [] : [...Object.values(this.nluMetaData.slotsToGrammarsMapping)]; } - get CODE_LANGUAGES() { - return { archJson: a.CodeLanguage.architectJson, archYaml: a.CodeLanguage.architectYaml }; + get speechToTextEnginesInUse() { + var e3; + const t3 = []; + if (!l.default.isEmpty(this.nluMetaData.slotsToGrammarsMapping)) { + for (const i3 in this.nluMetaData.slotsToGrammarsMapping) { + const n3 = null === (e3 = this.nluMetaData.slotsToGrammarsMapping[i3]) || void 0 === e3 ? void 0 : e3.sttEngine; + t3.includes(n3) || t3.push(n3); + } + return t3; + } + return []; } - get CODE_LANGUAGES_ALL() { - return C; + get nluSettingsHaveUnsavedChanges() { + return !this.isReadOnly && o.__classPrivateFieldGet(this, n2, "f"); } - get CUSTOM_JSON_SCHEMA_TYPES() { - return this.arrayToMap(P, "_custom_json_schema_types"); + set nluSettingsHaveUnsavedChanges(e3) { + o.__classPrivateFieldSet(this, n2, e3, "f"), A.fireEvent(this, f.nluSettingsHaveUnsavedChangesChanged); } - get CUSTOM_JSON_SCHEMA_TYPES_ALL() { - return P; + setBotFlowNluSettings(e3) { + this.botFlowSettings.loadSettings(null == e3 ? void 0 : e3.nluDomainId, null == e3 ? void 0 : e3.nluDomainVersionId, void 0); } - get CUSTOM_JSON_DECISION_TABLE_SCHEMA_TYPES_ALL() { - return M; + postCreate(e3) { + return o.__awaiter(this, void 0, void 0, function* () { + var t3; + e3 || (e3 = {}); + let i3 = null === (t3 = e3.nluVersionTemplate) || void 0 === t3 ? void 0 : t3.templateObject; + i3 && !e3.navigatorVirtualAgentEnabled || (i3 = l.default.findWhere(C.templates, { id: C.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), l.default.isBoolean(e3.navigatorVirtualAgentEnabled) && (this.botFlowSettings.navigatorVirtualAgentEnabled = e3.navigatorVirtualAgentEnabled); + }); } - get CUSTOM_JSON_CONVERSATION_ATTRIBUTE_SCHEMA_TYPES_ALL() { - return F; + getSaveAsConfig(e3) { + return o.__awaiter(this, void 0, void 0, function* () { + var t3, i3, n3; + const o2 = y.getStringifiedConfiguration(this); + let r2 = JSON.parse(o2); + return r2 = yield this.preExport(r2), r2.botFlowSettings.nluDomainId = null === (i3 = null === (t3 = e3.nluInfo) || void 0 === t3 ? void 0 : t3.domain) || void 0 === i3 ? void 0 : i3.id, r2.botFlowSettings.engineVersion = null === (n3 = e3.nluInfo) || void 0 === n3 ? void 0 : n3.engineVersion, delete r2.botFlowSettings.nluDomainVersionId, (0, T.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && (delete r2.botFlowSettings.intentClassifierId, r2.intentClassifierData && (delete r2.intentClassifierData.version, delete r2.intentClassifierData.latestPublishedVersion)), { newConfig: y.stringifyConfig(r2) }; + }); } - getCustomJsonSchemaTypesForNamespace(e3) { - switch (e3) { - case x: - return M; - case U: - return F; - default: - return P; + updateNluIdsInConfig(e3, t3, i3, n3, o2, r2, a2) { + 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 === (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 = o2, i4.version = n3); + } + 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 = o2, i4.description = r2, a2 && (i4.language = a2)); } } - get CUSTOM_JSON_TYPE_NAMESPACES() { - return this.arrayToMap(B, "_custom_json_type_namespaces"); - } - get CUSTOM_JSON_TYPE_NAMESPACES_ALL() { - return B; - } - get DEFLECT_TYPES() { - return this.arrayToMap(j, "_deflect_types"); - } - get DEFLECT_TYPES_ALL() { - return j; - } - get DTMF_TERMINATING_CHARACTERS_ALL() { - return G; + waitForNluTrainingCompletion(e3, t3) { + return o.__awaiter(this, void 0, void 0, function* () { + let i3 = 0; + return O.poll(() => o.__awaiter(this, void 0, void 0, function* () { + return u.getNluDomainVersion(e3, t3); + }), (e4) => { + if (i3++, l.default.isObject(e4)) return e4.trainingStatus === S.default.trainingStatuses.trained || e4.trainingStatus === S.default.trainingStatuses.error || e4.trainingStatus === S.default.trainingStatuses.untrained && i3 >= 3; + }, 1500, 60); + }); } - get DTMF_TERMINATING_CHARACTERS() { - return this.arrayToMap(G, "_dtmf_terminating_characters"); + postScriptingCreateFlowAsync(e3) { + var t3; + if (l.default.isObject(e3)) { + this.cachedCreationDataFromScripting = e3; + let i3 = null === (t3 = null == e3 ? void 0 : e3.nluVersionTemplate) || void 0 === t3 ? void 0 : t3.templateObject; + if (i3) { + const t4 = m.nluDomainManager.checkNluDomainVersionJson(i3, this.supportsNluIntents); + if (t4) throw `An invalid Natural Language Understanding configuration was supplied. Error: ${t4}`; + if (i3 = this._syncIncompatibleNluLanguageWithFlowDefault(i3), e3.nluVersionTemplate && (e3.nluVersionTemplate.templateObject = i3), !C.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 K(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) || []), this._configureNluLanguageVersionsForScripting(); + } + e3.settingsIntentClassifier && this.intentClassifierData && this.intentClassifierData.loadConfiguration({ intentClassifierData: e3.settingsIntentClassifier }); + } } - get ENVIRONMENTS() { - return this.arrayToMap(Y, "_environments"); + preExport(e3, t3) { + const i3 = Object.create(null, { preExport: { get: () => super.preExport } }); + return o.__awaiter(this, void 0, void 0, function* () { + var n3, o2, r2; + 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, l.default.isObject(a2) && (a2 = this._syncIncompatibleNluLanguageWithFlowDefault(a2)), (null == t3 ? void 0 : t3.isForFlowYaml) && l.default.isObject(a2)) { + e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = {}; + const i4 = e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding, n4 = new K(a2).getConfiguration(e3, t3); + i4.nluDomainVersion = n4, e3[this.wrappedYamlName].settingsNaturalLanguageUnderstanding = { nluDomainVersion: n4, mutedUtterances: null === (o2 = this.nluMetaData.intentHealthInfo) || void 0 === o2 ? void 0 : o2.mutedUtterances }; + } + return (null == t3 ? void 0 : t3.isForFlowYaml) && (null === (r2 = this.intentClassifierData) || void 0 === r2 ? void 0 : r2.intentClassifier) && (0, T.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && (e3[this.wrappedYamlName].settingsIntentClassifier = this.intentClassifierData.intentClassifier), e3; + }); } - get ENVIRONMENTS_ALL() { - return Y; + preImport(e3) { + const t3 = Object.create(null, { preImport: { get: () => super.preImport } }); + return o.__awaiter(this, void 0, void 0, function* () { + var i3, n3, o2; + yield t3.preImport.call(this, e3); + const r2 = {}; + if (null === (i3 = null == e3 ? void 0 : e3.nluMetaData) || void 0 === i3 ? void 0 : i3.rawNlu) { + let t4; + const i4 = e3.nluMetaData.rawNlu; + t4 = l.default.isObject(i4) ? i4 : this.nluMetaData.unpackRawNlu(e3.nluMetaData), this.cachedCreationDataFromScripting = { nluVersionTemplate: { templateObject: t4 } }; + } + let a2; + e3.defaultLanguage !== this.defaultLanguage && (r2.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, c2 = null === (n3 = this.botFlowSettings.nluDomain) || void 0 === n3 ? void 0 : n3.name, d2 = null === (o2 = this.botFlowSettings.nluDomain) || void 0 === o2 ? void 0 : o2.description, p2 = this.botFlowSettings.nluDomainVersionId; + return this.updateNluIdsInConfig(e3, s2, u2, p2, c2, d2, a2), r2; + }); } - get ERROR_TYPE_DATA_TABLE_VALUES() { - return this.arrayToMap(H, "_error_type_data_table_values", (e3) => 0 === e3.indexOf("DataTables") ? e3.slice(10).charAt(0).toLowerCase() + e3.slice(11) : e3); + postImport(e3, t3, i3) { + const n3 = Object.create(null, { postImport: { get: () => super.postImport } }); + return o.__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 = c.getDisplayName(e3.oldLanguage), i4 = c.getDisplayName(this.defaultLanguage); + f.emitter.emit(f.alert, { message: (0, s.sprintf)(Q.flow.operations.load.importSupportedLanguageMismatch, this.definition.typeDisplayName, i4, t4), type: _.AlertTypeEnum.info }); + } + }); } - get ERROR_TYPE_DATA_TABLE_VALUES_ALL() { - return H; + processNluWorkbenchMessage(e3) { + if (e3) { + if (this.nluMetaData.currentWorkbenchMessage = e3, this.intentsSettings && N.validateItem(this.intentsSettings), N.validateItem(this.slotSettings), N.validateItem(this.learningSettings), N.validateItem(this.slotTypeSettings), this.nluMetaData.setRawNluFromWorkbench(e3.rawNlu), this.nluMetaData.archNlu = e3.archNlu, l.default.isObject(null == e3 ? void 0 : e3.archNlu)) { + const t3 = this.parentFlow.variableGroup.getSlotVariables(), i3 = this.parentFlow.variableGroup.getVariableIds(t3), n3 = this.parentFlow.variableGroup.getVariableModelTypes(t3); + e3.archNlu.id = this.botFlowSettings.nluDomainId; + const o2 = m.nluDomainManager.addItem(e3.archNlu, true), r2 = this.nluMetaData.updateDynamicSlotTypes(), a2 = this.nluMetaData.updateDynamicTimeslotTypes(); + this.nluMetaData.updateListPickerMappings(e3.listPickerMappings), this.nluMetaData.updateIntents(o2), 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), 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, c2) && !this.hasIntentTaskMappings || this.debouncedValidateFlow(), f.emitter.emit(f.nluUpdatedByWorkbench), (r2 || a2) && this.updateWorkbenchDynamicSlotTypesUpdated(); + } + this._nluWbMessageProcessingShouldCacheFlowConfig && (this._nluWbMessageProcessingShouldCacheFlowConfig = false, y.cacheConfiguration(this, true)); + } } - get ERROR_TYPE_LEX_BOT_VALUES() { - return this.arrayToMap(J, "_error_type_lex_bot_values"); + processIntentClassifierUpdatedMessage(e3) { + e3 && (this.intentClassifierData.updateIntentClassifier(e3), this.debouncedValidateFlow()); } - get ERROR_TYPE_LEX_BOT_VALUES_ALL() { - return J; + updateBotSessionViewer() { + f.emitter.emit(f.botSessionViewerUpdated); } - get EVENTS_FLOW_ERROR_HANDLING() { - return { abortSend: $, changeState: z, completeSend: K, continue: Q, disconnect: X, endFlow: Z, endInQueueState: ee, endWorkflow: te, exit: ie, jumpToMenu: ne, transferToQueue: re, jumpToTask: oe }; + updateWorkbenchDynamicSlotTypesUpdated() { + this.updateWorkbench(I.NluUpdateType.dynamicSlotTypes); } - get EVENTS_FLOW_ERROR_HANDLING_ALL() { - return ae; + updateWorkbench(e3 = I.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)); } - get EXTERNAL_CONTACT_PATCH_CONDITIONS() { - return this.arrayToMap(y.externalContactPatchConditions.map((e3) => e3.id), "_external_contact_patch_conditions"); + get areFlowFilterPreviewOptionsAvailable() { + return this.definition.supportsMoreThanOneOutputMode || this.definition.supportsMoreThanOneLanguage; } - get EXTERNAL_CONTACT_PATCH_CONDITIONS_ALL() { - return y.externalContactPatchConditions.map((e3) => e3.id); + getFlowFilterPreviewOptionsExpressionDisplayOptions(e3) { + var t3; + 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); } - get FILTER_CONTAINER_OPERATORS() { - return { and: "and", or: "or" }; + _updateIntentClassifierInfo(e3) { + var t3; + return !!((0, T.isFeatureAvailable)(v.default.botFlowsLLMPoweredFrontDoor) && l.default.isObject(e3) && l.default.isObject(null === (t3 = this.intentClassifierData) || void 0 === t3 ? void 0 : t3.intentClassifier)) && (e3.version && (this.intentClassifierData.intentClassifier.version = e3.version), e3.classifierId && (this.botFlowSettings.intentClassifierId = e3.classifierId), true); } - get FILTER_CONTAINER_OPERATORS_ALL() { - return q; + postSave(e3, t3) { + return o.__awaiter(this, void 0, void 0, function* () { + var i3, n3, o2; + const r2 = null === (i3 = e3.nluInfo.domain) || void 0 === i3 ? void 0 : i3.id, a2 = e3.nluInfo.engineVersion, s2 = null === (n3 = e3.nluInfo.version) || void 0 === n3 ? void 0 : n3.id; + r2 && this.botFlowSettings.setNluDomainInfo(r2, a2); + 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)(v.default.botFlowsIntentHealthUIFeature) && (this.nluMetaData.rawNlu = null === (o2 = e3.nluInfo) || void 0 === o2 ? void 0 : o2.nluData)), this._nluWbMessageProcessingShouldCacheFlowConfig = true, this._updateIntentClassifierInfo(null == e3 ? void 0 : e3.intentClassifierInfo), this.updateWorkbench(), this.updateBotSessionViewer(), u2) if (null == t3 ? void 0 : t3.shouldAwaitNluTraining) try { + const e4 = yield this.waitForNluTrainingCompletion(r2, s2); + this._processLastPolledNluDomainVersion(e4); + } catch (e4) { + if (!this._isNluTrainingPermissionError(e4)) throw e4; + this._logNluTrainingWaitError(e4); + } + else false !== (null == t3 ? void 0 : t3.shouldAwaitNluTraining) && this.waitForNluTrainingCompletion(r2, s2).then((e4) => { + this._processLastPolledNluDomainVersion(e4); + }, (e4) => { + this._logNluTrainingWaitError(e4); + }); + }); } - get FLOW_OUTCOMES() { - return this.arrayToMap(Be, "_flow_outcomes", (e3) => e3.toLowerCase()); + _isNluTrainingPermissionError(e3) { + var t3; + return !(!e3 || "object" != typeof e3) && 403 === (null !== (t3 = e3.status) && void 0 !== t3 ? t3 : e3._status); } - get FLOW_OUTCOMES_ALL() { - return Be; + _logNluTrainingWaitError(e3) { + const t3 = `Error waiting for NLU training completion: '${e3}'`; + this._isNluTrainingPermissionError(e3) ? this.topic.warning(t3) : this.topic.error(t3); } - 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 }; + _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: Q.bot.nluTrainingFailed, type: _.AlertTypeEnum.error }), this.updateWorkbench(); } - get FLOW_TYPES_ALL() { - return r2.default.without(o.flowTypes.flowTypesAll); + _initializeDesignTime() { + if (super._initializeDesignTime(), this.addAutoCleanedUpSubscription(this.info.newModelLoaded$.pipe((0, $.skip)(1)).subscribe(() => { + this.debouncedValidateFlow(); + })), this.hasIntentTaskMappings) { + const e3 = (e4, t3) => { + t3 && t3.isTask && e4 === this && this.updateWorkbench(I.NluUpdateType.taskUpdate); + }; + this.addAutoCleanedUpEventSinkWatch(f.containerListChanged, this, e3), this.addAutoCleanedUpEventSinkWatch(f.taskNameChanged, this, e3); + } + this._configureNluLanguageVersionsForScripting(), this.addAutoCleanedUpEventSinkWatch(f.supportedLanguagesChanged, this.parentFlow.languages, () => this._configureNluLanguageVersionsForScripting()); } - get FLOW_VERSIONS() { - return this.arrayToMap(se, "_flow_versions"); + _syncIncompatibleNluLanguageWithFlowDefault(e3) { + var t3, i3; + if (!e3 || !l.default.isString(e3.language)) return e3; + const n3 = e3.language, o2 = null !== (i3 = null === (t3 = this.languages) || void 0 === t3 ? void 0 : t3.defaultLanguage) && void 0 !== i3 ? i3 : this.defaultLanguage; + if (!l.default.isString(o2) || 0 === o2.length) return e3; + if (C.checkIsoLanguageIsSupportedByTemplate(o2, { language: n3 })) return e3; + const r2 = n3; + return e3.language = o2, this.topic.info(`CA-13799: Synchronized NLU language from '${r2}' to flow default language '${o2}'.`), a.LanguageVersionsUtil.ensureLanguageVersions(e3, this.parentFlow.languages.supportedLanguages) || e3; } - get FLOW_VERSIONS_ALL() { - return se; + _configureNluLanguageVersionsForScripting() { + var e3, t3; + let i3 = this.nlu; + i3 && (i3 = this._syncIncompatibleNluLanguageWithFlowDefault(i3)); + const n3 = a.LanguageVersionsUtil.ensureLanguageVersions(i3, this.parentFlow.languages.supportedLanguages); + if (n3 && this.nluMetaData.setRawNluAndCompressionFormat(n3, S.default.compressionFormats.none), null === (t3 = null === (e3 = this.cachedCreationDataFromScripting) || void 0 === e3 ? void 0 : e3.nluVersionTemplate) || void 0 === t3 ? void 0 : t3.templateObject) { + const e4 = this._syncIncompatibleNluLanguageWithFlowDefault(this.cachedCreationDataFromScripting.nluVersionTemplate.templateObject); + this.cachedCreationDataFromScripting.nluVersionTemplate.templateObject = a.LanguageVersionsUtil.ensureLanguageVersions(e4, this.parentFlow.languages.supportedLanguages); + } } - get FLOW_FORMAT_TYPES() { - return this.arrayToMap(le, "_format_types"); + get nlu() { + var e3, t3, i3; + let n3 = null === (e3 = this.nluMetaData) || void 0 === e3 ? void 0 : e3.rawNlu; + return n3 || (n3 = null === (i3 = null === (t3 = this.botFlowSettings) || void 0 === t3 ? void 0 : t3.nluDomain) || void 0 === i3 ? void 0 : i3.model), n3; } - get FLOW_FORMAT_TYPES_ALL() { - return le; + get hasAISlotType() { + var e3, t3; + return !!(null === (t3 = null === (e3 = this.nlu) || void 0 === e3 ? void 0 : e3.entityTypes) || void 0 === t3 ? void 0 : t3.length) && this.nlu.entityTypes.some((e4) => r.EntityUtil.isEntityTypeOfTypeAI(e4)); } - get HOLD_MUSIC_PLAY_STYLES() { - return this.arrayToMap(ue, "_hold_music_play_styles"); + getAllSlotNames() { + const e3 = []; + return l.default.each(r.EntityUtil.getEntities(this.nlu), (t3) => { + t3.name && e3.push(t3.name); + }), e3; } - get HOLD_MUSIC_PLAY_STYLES_ALL() { - return ue; + getAvailableSlotNames(e3, t3) { + return Array.from(this.getSlotToSlotHandlingMap(e3, t3).keys()); } - get INPUT_VERIFICATION_TYPES() { - return this.arrayToMap(ce, "_input_verification_types"); + getSlotToSlotTypeMap(e3, t3) { + const i3 = /* @__PURE__ */ new Map(), n3 = this.getSlotToSlotHandlingMap(e3, t3); + return l.default.each(r.EntityUtil.getEntities(this.nlu), (e4) => { + n3.get(e4.name) && i3.set(e4.name, e4.type); + }), i3; } - get INPUT_VERIFICATION_TYPES_ALL() { - return ce; + getAllSlotsToSlotHandlingMap() { + return this.getSlotToSlotHandlingMap(true, true); } - get KNOWLEDGE_FEEDBACK_TYPES() { - return this.arrayToMap(de, "_knowledge_feedback_types"); + getSlotToSlotHandlingMap(e3, t3) { + if (!e3 && !t3) return /* @__PURE__ */ new Map(); + const i3 = this._getFlowManagedSlotToSlotHandlingMap() || /* @__PURE__ */ new Map(); + if (!e3) return i3; + const n3 = /* @__PURE__ */ new Map(); + if (l.default.each(r.EntityUtil.getEntities(this.nlu), (e4) => { + if (e4.name) { + const o2 = i3.get(e4.name); + if (o2) { + if (!t3) return; + n3.set(e4.name, o2); + } else n3.set(e4.name, b.SlotHandlingType.standardSlot); + } + }), r.IntentUtil.hasIntents(this.nlu)) for (const e4 of r.IntentUtil.getIntentNames(this.nlu)) l.default.each(r.IntentUtil.getIntentEntityTypeBindings(this.nlu, e4), (e5) => { + if (e5.entityName) { + const o2 = i3.get(e5.entityName); + if (o2) { + if (!t3) return; + n3.set(e5.entityName, o2); + } else n3.set(e5.entityName, b.SlotHandlingType.standardSlot); + } + }); + return n3; } - get KNOWLEDGE_FEEDBACK_TYPES_ALL() { - return de; + _getFlowManagedSlotToSlotHandlingMap() { } - get KNOWLEDGE_PATH_MODES() { - return this.arrayToMap(pe, "_knowledge_path_modes"); + updateNluEngineVersion(e3) { + this.botFlowSettings.engineVersion = e3; } - get KNOWLEDGE_PATH_MODES_ALL() { - return pe; + canAddLanguage() { + const e3 = super.canAddLanguage(); + return 0 === this.supportedLanguageOptions.length ? e3 : e3 && this.botFlowSettings.allowsMoreThanOneSupportedLanguage; } - get KNOWLEDGE_ANSWER_CONTENT_TYPES() { - return this.arrayToMap(_e, "_knowledge_answer_content_types"); + get additionalLanguagePolicy() { + var e3; + if ((null === (e3 = this.botFlowSettings) || void 0 === e3 ? void 0 : e3.navigatorVirtualAgentEnabled) && J.isNavigatorFeatureAvailable()) return this._navigatorAdditionalLanguagePolicy || (this._navigatorAdditionalLanguagePolicy = new H.default(this)), this._navigatorAdditionalLanguagePolicy; } - get KNOWLEDGE_ANSWER_CONTENT_TYPES_ALL() { - return _e; + get _canOnlyAddLanguageInAnotherFlowInstance() { + return !this.botFlowSettings.allowsMoreThanOneSupportedLanguage || super._canOnlyAddLanguageInAnotherFlowInstance; } - get KNOWLEDGE_SETTINGS_MODES() { - return this.arrayToMap(he, "_knowledge_settings_modes"); + } + t2.NluFlowViewModel = Z, n2 = /* @__PURE__ */ new WeakMap(); + }, 40192(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(19039), r = 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)); } - get KNOWLEDGE_SETTINGS_MODES_ALL() { - return he; + get isOutboundCallFlow() { + return true; } - get LOCATIONS() { - return this.arrayToMap(Le, "_runtime_locations"); + buildConfiguration(e3, t3, i3) { + return super.buildConfiguration(e3, t3, i3), (null == i3 ? void 0 : i3.isForFlowYaml) || this.outboundSettings || e3.uiMetaData.outboundCallSettings || (e3.uiMetaData.contactList = []), e3; } - get LOCATIONS_ALL() { - return Le; + get className() { + return "OutboundCallViewModel"; } - get LOG_TYPES() { - return this.arrayToMap(me, "_log_types"); + createFlowConfiguration(e3, t3) { + const i3 = super.createFlowConfiguration(e3, t3); + return e3 || (null == t3 ? void 0 : t3.isForFlowYaml) || (i3.uiMetaData.contactList = []), i3; } - get LOG_TYPES_ALL() { - return me; + setNewInstanceDefaults(e3) { + const t3 = e3 && e3.flowContactList ? e3.flowContactList : null, i3 = e3 && e3.wrapupCode ? e3.wrapupCode : null; + return t3 && i3 && this.outboundSettings.loadSettings(t3, i3), super.setNewInstanceDefaults(e3); } - get CANNED_RESPONSE_MESSAGE_TEMPLATE_TYPES() { - return this.arrayToMap(ge, "_canned_response_message_template_types"); + onTypeMapCreated() { + super.onTypeMapCreated(), c.default.createType(o.ContactType, this); } - get STRING_BODY_HANDLING_TYPES() { - return this.arrayToMap(fe, "_string_body_handling_types"); + validate(e3) { + c.default.getType(this, u.expressionTypeNames.contact).changeProperties(this.outboundSettings ? this.outboundSettings.contactList : void 0), super.validate(e3); } - get STRING_BODY_HANDLING_TYPES_ALL() { - return fe; + get type() { + return r.flowTypes.flowTypeOutboundCall; } - get NLU_RESPONSE_BIAS_MODES() { - return this.arrayToMap(W, "_nlu_response_bias_modes"); + get wrappedYamlName() { + return "outboundCall"; } - get NLU_RESPONSE_BIAS_MODES_ALL() { - return W; + } + t2.default = d; + }, 44231(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(6035)), r = i2(96618), a = n2.__importDefault(i2(19359)); + class s extends o.default { + constructor(e3) { + super(e3), this.pathDiscovery = this._addToAutoManageSettings(new a.default(this)); } - get OUTPUT_IDS() { - return this.arrayToMap(Te, "_output_ids"); + get className() { + return "SecureCallFlowViewModel"; } - get OUTPUT_IDS_ALL() { - return Te; + get isSecureCallFlow() { + return true; } - get PAYMENT_CONTACT_INFORMATION_TYPES() { - return this.arrayToMap(ye, "_payment_contact_information_types"); + get type() { + return r.flowTypes.flowTypeSecureCall; } - get PAYMENT_CONTACT_INFORMATION_TYPES_ALL() { - return ye; + get wrappedYamlName() { + return "secureCall"; } - get PAYMENT_PLATFORMS_TYPES() { - return this.arrayToMap(Se, "_payment_platforms_types"); + } + t2.default = s; + }, 83737(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = n2.__importStar(i2(14187)), a = n2.__importDefault(i2(71824)); + class s extends a.default { + constructor(e3) { + super(e3); } - get PAYMENT_PLATFORMS_TYPES_ALL() { - return Se; + get className() { + return "SurveyInviteViewModel"; } - get PLAY_ESTIMATED_WAIT_STYLES() { - return this.arrayToMap(Ae, "_play_estimated_wait_styles"); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, r.scopes.survey]; } - get PLAY_ESTIMATED_WAIT_STYLES_ALL() { - return Ae; + get isSurveyInvite() { + return true; } - get PLAY_POSITION_STYLES() { - return this.arrayToMap(Ne, "_play_position_styles"); + get type() { + return o.flowTypes.flowTypeSurveyInvite; } - get PLAY_POSITION_STYLES_ALL() { - return Ne; + get wrappedYamlName() { + return "surveyInvite"; } - get POST_FLOW_ACTION_TYPES() { - return this.arrayToMap(ve, "_post_flow_action_types"); + } + t2.default = s; + }, 74920(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(31145), r = n2.__importDefault(i2(99025)), a = i2(64420), { flowTypes: s } = i2(96618), l = i2(88); + class u extends o.NluFlowViewModel { + constructor(e3) { + super(e3), this.speechRecognition = new r.default(this), this._addToAutoManageSettings(this.speechRecognition); } - get POST_FLOW_ACTION_TYPES_ALL() { - return ve; + get className() { + return "VoiceFlowViewModel"; } - get POST_FLOW_TARGET_TYPES() { - return this.arrayToMap(Oe, "_post_flow_target_types"); + get isVoiceFlow() { + return true; } - get POST_FLOW_TARGET_TYPES_ALL() { - return Oe; + get type() { + return s.flowTypeVoice; } - get SCHEDULE_EVALUATION_TYPES() { - return this.arrayToMap(Ue, "_schedule_evaluation_type"); + get wrappedYamlName() { + return "voice"; } - get SCHEDULE_EVALUATION_TYPES_ALL() { - return Ue; + getFlowConfigurationClass() { + return l; } - get SEND_AUTO_REPLY_MODES() { - return this.arrayToMap(Ge, "_send_auto_reply_modes"); + get overrideWireFlowConfiguration() { + return a.getVoiceFlowConfiguration; } - get SEND_AUTO_REPLY_MODES_ALL() { - return Ge; + get overrideWireFlowVersionConfiguration() { + return a.getVersionVoiceflowConfiguration; } - get SEND_NOTIFICATION_TYPES() { - return this.arrayToMap(je, "_send_notification"); + } + t2.default = u; + }, 66350(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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; } - get SEND_NOTIFICATION_TYPES_ALL() { - return je; + _createBotFlowSettings() { + return new _.default(this); } - get EMAIL_STYLES() { - return this.arrayToMap(We, "_send_notification"); + get className() { + return "VoiceSurveyFlowViewModel"; } - get EMAIL_STYLES_ALL() { - return We; + getFlowConfigurationClass() { + return g; } - get PROMPT_MEDIA_TYPES() { - return this.arrayToMap(He, "_prompt_media_types"); + get overrideWireFlowConfiguration() { + return m.getVoiceSurveyFlowConfiguration; } - get PROMPT_MEDIA_TYPES_ALL() { - return He; + get overrideWireFlowVersionConfiguration() { + return m.getVersionVoiceSurveyFlowConfiguration; } - get SESSION_END_MODES() { - return this.arrayToMap(Ie, "_session_end_modes"); + buildConfiguration(e3, t3, i3) { + var 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 SESSION_END_MODES_ALL() { - return Ie; + get stateViewModel() { + return d.default; } - get SESSION_STATUSES() { - return this.arrayToMap(Ce, "_session_statuses"); + get type() { + return o.flowTypes.flowTypeVoiceSurvey; } - get SESSION_STATUSES_ALL() { - return Ce; + _createInitialActions() { + return n2.__awaiter(this, void 0, void 0, function* () { + return this; + }); } - get SPEECH_REC_COMPANY_MODES() { - return this.arrayToMap(be, "_speech_rec_company_modes"); + get wrappedYamlName() { + return "voiceSurvey"; } - get SPEECH_REC_COMPANY_MODES_ALL() { - return be; + get statesYamlPropertyName() { + return "bots"; } - get MESSAGE_BODY_STYLES() { - return { notice: Ee, standard: we }; + get builtInVariableScopes() { + return [...super.builtInVariableScopes, c.scopes.form]; } - get MESSAGE_BODY_STYLES_ALL() { - return Re; + get surveyForm() { + return this.voiceSurveyFlowSettings.archSurveyForm; } - get RICH_LINK_HEADER_TYPES() { - return this.arrayToMap(De, "_rich_link_header_types"); + _getFlowManagedSlotToSlotHandlingMap() { + return this._flowManagedSlotHandling || (this._flowManagedSlotHandling = (0, u.getSurveyFormSlotHandlingMap)(this.voiceSurveyFlowSettings.archSurveyForm)), this._flowManagedSlotHandling; } - get RICH_LINK_HEADER_TYPES_ALL() { - return De; + get isVoiceSurveyFlow() { + return true; } - get SET_UUI_DATA_MODES() { - return this.arrayToMap(Pe, "set_uui_data_mode_all"); + setAnswerOptionDtmf(e3, t3) { + var i3, n3, o2; + const u2 = null === (i3 = this.voiceSurveyFlowSettings) || void 0 === i3 ? void 0 : i3.archSurveyForm; + if (!u2) return false; + 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 == 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 = r.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 === (o2 = parseInt(t3)) || void 0 === o2 ? void 0 : o2.toString()) === t3 || "*" === t3 || "#" === t3 ? g2.synonyms.push(t3) : f2 = false), d2.dtmf = t3, f2; } - get SET_UUI_DATA_MODES_ALL() { - return Pe; + } + t2.default = f; + }, 98253(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(6035)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3); } - get SWITCH_EVALUATION_STYLES() { - return this.arrayToMap(Me, "_switch_evaluation_styles"); + get className() { + return "VoicemailFlowViewModel"; } - get SWITCH_EVALUATION_STYLES_ALL() { - return Me; + get isVoicemailFlow() { + return true; } - get SUBSEQUENT_RECOGNITION_FAILURES_HANDLING() { - return this.arrayToMap(Fe, "_subsequent_recognition_failures_modes"); + get type() { + return o.flowTypes.flowTypeVoicemail; } - get SUBSEQUENT_RECOGNITION_FAILURES_HANDLING_ALL() { - return Fe; + get wrappedYamlName() { + return "voicemail"; } - get VARIABLE_SCOPES() { - return this.arrayToMap(xe, "_variable_scopes"); + } + t2.default = r; + }, 71191(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(26519)), r = n2.__importDefault(i2(71824)), a = n2.__importStar(i2(14187)), s = i2(96618); + class l extends r.default { + constructor(e3) { + super(e3), this.errorHandling = new o.default(this), this._addToAutoManageSettings(this.errorHandling); } - get VARIABLE_SCOPES_ALL() { - return xe; + get className() { + return "WorkflowViewModel"; } - get VOICE_SNIPPET_DESTINATION_VALUES() { - return this.arrayToMap(ke, "_voice_snippet_destination_values"); + get isWorkflow() { + return true; } - get VOICE_SNIPPET_DESTINATION_VALUES_ALL() { - return ke; + get type() { + return s.flowTypes.flowTypeWorkflow; } - get VOICEMAIL_TRANSFER_TARGET_TYPES() { - return this.arrayToMap(Ve, "_voicemail_transfer_target_type"); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, a.scopes.workflow]; } - get VOICEMAIL_TRANSFER_TARGET_TYPES_ALL() { - return Ve; + get wrappedYamlName() { + return "workflow"; } } - 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 { + t2.default = l; + }, 43314(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); - } - _throwAbstractMethodCalled(e3) { - throw `${this.className}::${e3} being called and should be overridden in inheriting classes`; - } - get nodeInformation() { - this._throwAbstractMethodCalled("nodeInformation (get)"); - } - checkCanPaste(e3) { - this._throwAbstractMethodCalled("checkCanPaste"); + super(e3), this.errorHandling = new f.default(this), this._addToAutoManageSettings(this.errorHandling), this.workitemFlowSettings = new T.default(this), this._addToAutoManageSettings(this.workitemFlowSettings); } - checkCanPasteClipboardContextWithDetails(e3) { - this._throwAbstractMethodCalled("checkCanPasteClipboardContextWithDetails"); + get _customFieldManager() { + return this._customFieldManagerVar || (this._customFieldManagerVar = new l.default({ dataTypeId: this.workitemFlowSettings.customFieldsDataTypeId, jsonSchemaIdBase: "customFields", jsonSchemaSource: m.CustomJsonNamespace.worktype, parentExpressionTypeName: s.expressionTypeNames.workitem, parentExpressionPropName: "customFields", schemaName: this.workitemFlowSettings.customFieldsSchemaName, flow: this, updateCallback: (e3) => this.workitemFlowSettings.customFieldsDataTypeId = e3.dataTypeId, resourcesOverride: { schemaNotUsable: S.workitem.worktypeSchemaNotUsableShort, schemaChanged: S.workitem.worktypeSchemaChanged, schemaChangeApplied: S.workitem.worktypeSchemaChangeApplied, schemaChangeNotApplied: S.workitem.worktypeSchemaChangeNotApplied, schemaChangeMoreRestrictive: S.workitem.worktypeSchemaChangeMoreRestrictiveShort, schemaGone: S.workitem.worktypeSchemaGoneShort } })), this._customFieldManagerVar; } get className() { - return "BaseClipboardContentViewModel"; + return "WorkitemFlowViewModel"; } - get clipboardContentType() { - this._throwAbstractMethodCalled("clipboardContentType (get)"); + get isWorkitemFlow() { + return true; } - copyCutAddDependencyFlowUiMetaData(e3, t3, i3) { - this._throwAbstractMethodCalled("copyCutAddDependencyFlowUiMetaData"); + get type() { + return a.flowTypes.flowTypeWorkitem; } - copyCutAddDependencyVariable(e3, t3) { - this._throwAbstractMethodCalled("copyCutAddDependencyVariable"); + getFlowConfigurationClass() { + return N; } - copyCutAddDependencyCustomType(e3) { - this._throwAbstractMethodCalled("copyCutAddDependencyCustomType"); + get overrideWireFlowConfiguration() { + return A.getWorkitemFlowConfiguration; } - addOldIdToOldNameMapping(e3, t3) { - this._throwAbstractMethodCalled("addOldIdToOldNameMapping"); + get overrideWireFlowVersionConfiguration() { + return A.getVersionWorkitemFlowConfiguration; } - resolveOldIdToOldName(e3) { - this._throwAbstractMethodCalled("resolveOldIdToOldName"); + get worktypeSchemaChangeMoreRestrictive() { + return this._customFieldManager.schemaChangeMoreRestrictive; } - copyCutProcessActionViewModel(e3) { - this._throwAbstractMethodCalled("copyCutProcessActionViewModel"); + get worktypeNoLongerHasSchema() { + return this._customFieldManager.noLongerHasSchema; } - copyCutProcessMenuChoiceViewModel(e3) { - this._throwAbstractMethodCalled("copyCutProcessMenuChoiceViewModel"); + get worktypeSchemaNotUsable() { + return this._customFieldManager.schemaNotUsable; } - copyCutProcessMenuViewModel(e3) { - this._throwAbstractMethodCalled("copyCutProcessMenuViewModel"); + buildConfiguration(e3, t3, i3) { + var n3; + return super.buildConfiguration(e3, t3, i3), (null == i3 ? void 0 : i3.isForFlowYaml) && (null === (n3 = this.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.worktype) && (e3.worktype = { name: this.workitemFlowSettings.worktype.name }), e3; } - copyCutProcessStateViewModel(e3) { - this._throwAbstractMethodCalled("copyCutProcessStateViewModel"); + get builtInVariableScopes() { + return [...super.builtInVariableScopes, g.scopes.workitem]; } - copyCutProcessTaskViewModel(e3) { - this._throwAbstractMethodCalled("copyCutProcessTaskViewModel"); + get wrappedYamlName() { + return "workitem"; } - copyCutResetSupportedFlowTypeFilter() { - this._throwAbstractMethodCalled("copyCutResetSupportedFlowTypeFilter"); + _createInitialActions() { + return n2.__awaiter(this, void 0, void 0, function* () { + return this; + }); } - copyCutSetSupportedFlowTypeFilter(e3) { - this._throwAbstractMethodCalled("copyCutSetSupportedFlowTypeFilter"); + setReceivedInitialValidationData() { + var e3, t3, i3, n3; + super.setReceivedInitialValidationData(), this._worktypeIsInvalid = void 0; + const o2 = null === (e3 = this.workitemFlowSettings.worktype) || void 0 === e3 ? void 0 : e3.id; + if (!o2) return; + const r2 = d.worktypeManager.getItem(o2); + this._worktypeIsInvalid = !r2 || !r2.resultIsOk, this._worktypeIsInvalid || ((null === (t3 = r2.schemas) || void 0 === t3 ? void 0 : t3.worktype) && r2.schemas.worktype.title && (null === (i3 = r2.schemaInfo) || void 0 === i3 ? void 0 : i3.id) && this._customSchemaNeedsUpdatingInFlowConfig(r2.schemas.worktype.title, r2.schemaInfo.id) && (this.workitemFlowSettings.setCustomFieldsSchemaNameAndId(r2.schemas.worktype.title, r2.schemaInfo.id), this.workitemFlowSettings.worktype.schema = { name: r2.schemas.worktype.title, id: r2.schemaInfo.id, selfUri: _.getPubApiWorktypeCustomAttributeSchemaUrl(r2.schemaInfo.id) }), this._customFieldManager.processValidationSchema(null === (n3 = r2.schemas) || void 0 === n3 ? void 0 : n3.worktype, this.initializeDesignTimeCalled), this._updateStatusesFromWorktype(r2, true), this._updateDateBasedRulesFromWorktype(r2, true)); } - get isBaseClipboardContentViewModel() { - return true; + _initializeDesignTime() { + super._initializeDesignTime(), this._customFieldManager.processDeferredSchemaUpdate(true); } - isVariableScopedToClipboardContent(e3) { - if (!e3 || !e3.isVariableViewModel) return false; - switch (this.clipboardContentType) { - case r2.task: - return e3.isTaskVariable; - case r2.state: - return e3.isStateVariable; - case r2.flow: - return e3.isFlowVariable; - case r2.menuChoice: - return !e3.isFlowVariable; - default: - return false; - } + _updateStatusesFromWorktype(e3, t3) { + var i3, n3; + if (!this.workitemFlowSettings.worktype || this.parentFlow.isReadOnly) return; + const o2 = (null == e3 ? void 0 : e3.statuses) ? e3.statuses.sort((e4, t4) => e4.id > t4.id ? 1 : t4.id > e4.id ? -1 : 0) : [], r2 = (null === (n3 = null === (i3 = this.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.worktype) || void 0 === n3 ? void 0 : n3.statuses) ? this.workitemFlowSettings.worktype.statuses.sort((e4, t4) => e4.id > t4.id ? 1 : t4.id > e4.id ? -1 : 0) : []; + JSON.stringify(o2) !== JSON.stringify(r2) && (this.workitemFlowSettings.worktype.statuses = [], e3.statuses.forEach((e4) => { + this.workitemFlowSettings.worktype.statuses.push({ id: e4.id, name: e4.name, category: e4.category }); + }), t3 && p.emitter.emit(p.alert, { message: S.workitem.worktypeStatusChangeApplied, type: u.AlertTypeEnum.info })); } - get logHeader() { - this._throwAbstractMethodCalled("logHeader (get)"); + _updateDateBasedRulesFromWorktype(e3, t3) { + var i3, n3; + if (!this.workitemFlowSettings.worktype || this.parentFlow.isReadOnly) return; + const o2 = (null === (n3 = null === (i3 = this.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.worktype) || void 0 === n3 ? void 0 : n3.dateBasedRules) ? this.workitemFlowSettings.worktype.dateBasedRules.sort((e4, t4) => e4.name > t4.name ? 1 : t4.name > e4.name ? -1 : 0) : [], r2 = []; + o2.map((e4) => { + r2.push({ id: e4.id, name: e4.name, selfUri: e4.selfUri, type: e4.type }); + }); + const a2 = (null == e3 ? void 0 : e3.dateBasedRules) ? e3.dateBasedRules.sort((e4, t4) => e4.name > t4.name ? 1 : t4.name > e4.name ? -1 : 0) : [], s2 = []; + a2.map((e4) => { + s2.push({ id: e4.id, name: e4.name, selfUri: e4.selfUri, type: e4.type }); + }), JSON.stringify(s2) !== JSON.stringify(r2) && (this.workitemFlowSettings.worktype.dateBasedRules = s2, t3 && p.emitter.emit(p.alert, { message: S.workitem.worktypeDateBasedRulesUpdated, type: u.AlertTypeEnum.info })); } - get name() { - this._throwAbstractMethodCalled("name (get)"); + postScriptingCreateFlowAsync(e3) { + o.default.isObject(e3) && (this.cachedCreationDataFromScripting = e3); } - set name(e3) { - this._throwAbstractMethodCalled("name (set)"); + configureForWorktype(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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 c.schemaManager.apiCallSingle(e3.schema.id); + this._customFieldManager.tryUpdateParentExpressionPropTypeFromSchema(null == t4 ? void 0 : t4.jsonSchema, true); + } + this.createInitialActionsBasedOnWorktypeConfig = !!t3; + }); } - get originalObjectInfo() { - this._throwAbstractMethodCalled("originalObjectInfo (get)"); + validate(e3) { + super.validate(e3), this._worktypeIsInvalid ? e3.addError(this, S.workitem.worktypeInvalid) : (this._customFieldManager.getErrors().forEach((t3) => e3.addError(this, t3)), this._customFieldManager.getWarnings().forEach((t3) => e3.addWarning(this, t3))); } - get originalObjectId() { - this._throwAbstractMethodCalled("originalObjectInfoId (get)"); + _customSchemaNeedsUpdatingInFlowConfig(e3, t3) { + var i3, n3, r2; + return e3 !== (null === (i3 = this.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.customFieldsSchemaName) || t3 !== (null === (n3 = this.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.customFieldsSchemaId) || o.default.isEmpty(null === (r2 = this.workitemFlowSettings.worktype) || void 0 === r2 ? void 0 : r2.schema) && !!t3; } - get originalObjectFlowId() { - this._throwAbstractMethodCalled("originalObjectFlowId (get)"); + getComplexTypeLiteralValues(e3) { + if (e3.type.expressionType === s.expressionTypeNames.worktypeStatus) return this.workitemFlowSettings.getDisplayableListOfStatuses(); } - get originalObjectFlowType() { - this._throwAbstractMethodCalled("originalObjectFlowType (get)"); + preImport(e3) { + const t3 = Object.create(null, { preImport: { get: () => super.preImport } }); + return n2.__awaiter(this, void 0, void 0, function* () { + var i3, n3, o2, a2; + yield t3.preImport.call(this, e3); + const s2 = null === (i3 = null == e3 ? void 0 : e3.workitemFlowSettings) || void 0 === i3 ? void 0 : i3.worktype, l2 = null === (n3 = null == this ? void 0 : this.workitemFlowSettings) || void 0 === n3 ? void 0 : n3.worktype; + if ((null == s2 ? void 0 : s2.id) !== (null == l2 ? void 0 : l2.id)) { + if (!(null == s2 ? void 0 : s2.name) || !(null == l2 ? void 0 : l2.name)) throw S.flow.operations.load.importFailedWorktypeMismatchNoName; + throw (0, r.sprintf)(S.flow.operations.load.importFailedWorktypeMismatch, null !== (o2 = null == s2 ? void 0 : s2.name) && void 0 !== o2 ? o2 : "", null !== (a2 = null == l2 ? void 0 : l2.name) && void 0 !== a2 ? a2 : ""); + } + }); } - get originalObjectLogStr() { - this._throwAbstractMethodCalled("originalObjectLogStr (get)"); + } + t2.default = v; + }, 84852(e2, t2, i2) { + "use strict"; + t2.applyChangeSetDelete = function(e3, t3, i3, n3) { + var r2; + if (!(null === (r2 = null == t3 ? void 0 : t3.items) || void 0 === r2 ? void 0 : r2.length)) return; + const s2 = i3.undoChangeSet, l2 = /* @__PURE__ */ new Set(), u2 = [], c2 = /* @__PURE__ */ new Set(); + (0, te.withModelContext)(i3, "delete", () => { + for (let o2 = 0; o2 < t3.items.length; o2++) { + const r3 = Ie(t3.items[o2], i3); + if (!r3) continue; + const { typeKey: a2, selector: l3 } = r3; + "task" === a2 || "state" === a2 ? (0, te.withModelContext)(i3, `items[${o2}]`, () => { + Ce(e3, a2, l3, s2, c2, i3, n3, o2); + }) : "menu" === a2 ? (0, te.withModelContext)(i3, `items[${o2}]`, () => { + Oe(e3, l3, s2, c2, i3, n3, o2); + }) : "menuChoice" === a2 && (0, te.withModelContext)(i3, `items[${o2}]`, () => { + be(e3, l3, s2, c2, i3, n3, o2); + }); + } + for (let r3 = 0; r3 < t3.items.length; r3++) { + const d2 = Ie(t3.items[r3], i3); + if (!d2) continue; + const { typeKey: p2, selector: _2 } = d2; + "task" !== p2 && "state" !== p2 && "menu" !== p2 && "menuChoice" !== p2 && (0, te.withModelContext)(i3, `items[${r3}]`, () => { + "action" === p2 ? Ee(e3, _2, s2, c2, u2, l2, i3, n3, r3) : "variable" === p2 ? we(e3, _2, i3, n3, r3) : i3.addWarningMessage((0, o.sprintf)(a.changeSet.apply.deleteTypeNotImplemented, p2)); + }); + } + }), s2 && u2.length && (function(e4, t4, i4) { + const n4 = /* @__PURE__ */ new Map(), o2 = []; + for (const { action: i5, parent: r3 } 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 = r3.trackingId; + if (void 0 !== e5) a2 = { toTheBeginningOf: { task: { trackingId: e5 } } }, s3 = `begin:tid:${e5}`; + else { + const e6 = r3.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: [] }), o2.push(s3)), n4.get(s3).actionsToAdd.push(e4.find((e5) => e5.action === i5).yamlSnapshot); + } + for (let e5 = o2.length - 1; e5 >= 0; e5--) { + const { where: t5, actionsToAdd: r3 } = n4.get(o2[e5]); + i4.addActions(t5, r3); + } + })(u2, l2, s2); + }, t2.applyChangeSetUpdate = function(e3, t3, i3, r2) { + 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, r3) { + 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, o.sprintf)(a.changeSet.apply.updatePropertiesNotObject, l2)); + const d2 = ve(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: r3, 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 = r3, 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: r3, propertiesConfigured: h2, pendingDeferredPropertyLookups: m2 }), i4.undoChangeSet && d2) { + const e5 = { action: { trackingId: null != _2 ? _2 : void 0, id: p2 }, properties: ke(d2, u2) }; + i4.undoChangeSet.addUpdate(e5); + } + i4.changeSetResults.addResult({ path: `/changes[${r3}]/update`, updated: { action: new c.ChangeSetResultObject(p2 || "", e4.name || e4.className, _2) } }); + }); + })(s2, t3.properties, i3, r2)) : void i3.addWarningMessage((0, o.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, oe.isTaskLike)(n3) ? void (yield Re(n3, "task", t3.properties, t3.task, i3, r2)) : void i3.addWarningMessage((0, o.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, oe.isTaskLike)(n3) ? void (yield Re(n3, "state", t3.properties, t3.state, i3, r2)) : void i3.addWarningMessage((0, o.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 Re(n3, "menu", t3.properties, t3.menu, i3, r2)) : void i3.addWarningMessage((0, o.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, o2) { + const r3 = 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 = Fe(e4, u2); + if (n4.reportActivity({ type: "objectConfiguring", objectType: "menuChoice", objectName: e4.name || "menuChoice", objectId: r3, trackingId: s2, viewModel: e4, changeIndex: o2, message: { template: a.changeSet.activity.menuChoiceUpdated, params: [{ value: e4.name || "menuChoice", link: { objectId: r3 || "", objectType: "menuChoice", trackingId: s2, viewModel: e4 } }] } }), (0, te.withModelContext)(n4, `update[${e4.name || "menuChoice"}]`, () => { + e4.configureFromModel(u2, ee.ModelFormat.ChangeSet, n4); + }), xe(u2, "menuChoice", e4, n4, o2), n4.reportActivity({ type: "objectConfigured", objectType: "menuChoice", objectName: e4.name || "menuChoice", objectId: r3, trackingId: s2, viewModel: e4, changeIndex: o2 }), n4.undoChangeSet && d2) { + const e5 = { menuChoice: { trackingId: null != s2 ? s2 : void 0, id: r3 }, properties: { [l2]: d2 } }; + n4.undoChangeSet.addUpdate(e5); + } + n4.changeSetResults.addResult({ path: `/changes[${o2}]/update`, updated: { menuChoice: new c.ChangeSetResultObject(r3 || "", e4.name || "menuChoice", s2) } }); + })(n3, t3.properties, t3.menuChoice, i3, r2) : void i3.addWarningMessage((0, o.sprintf)(a.changeSet.apply.updateActionNotFound, (0, E.describeSelector)(t3.menuChoice))); + } + (0, m.isFlowUpdatePayload)(t3) ? yield (function(e4, t4, i4, r3) { + 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, o.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: Me(e4.initialPrompts) }; + i4.reportActivity({ type: "objectConfiguring", objectType: "flow", objectName: e4.displayName, objectId: e4.id, viewModel: e4, changeIndex: r3, 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: r3, 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: r3 }), i4.undoChangeSet && i4.undoChangeSet.addUpdate({ flow: true, properties: p2 }), i4.changeSetResults.addResult({ path: `/changes[${r3}]/update`, updated: { flow: new c.ChangeSetResultObject(e4.id, e4.displayName) } }); + }); + })(e3, t3.properties, i3, r2) : i3.addWarningMessage(a.changeSet.apply.updateMissingAction); + } else i3.addWarningMessage(a.changeSet.apply.updateMissingProperties); + }); + }, t2.applyChangeSetCreateRef = Ve, 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, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + yield Ue(t3, i3, o2, { propertyKey: "tasks", wrapperKey: "task", createContainer: (t4) => e3.createTask(t4) }), (0, K.isCommonWorkflowViewModel)(e3) && (yield Ue(t3, i3, o2, { propertyKey: "states", wrapperKey: "state", createContainer: (t4) => e3.createState(t4) }), yield Ue(t3, i3, o2, { propertyKey: "bots", wrapperKey: "bot", createContainer: (t4) => e3.createState(t4) })); + }); + }, t2.applyChangeSetAdd = function(e3, t3, i3, r2) { + 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, O.evaluateChangeSetWhenForFlow)(e3, l2.when, i3); + if (!t4.satisfied) return void (function(e4, t5, i4, n4, o2, r3) { + var s3; + const l3 = null !== (s3 = r3.reason) && void 0 !== s3 ? s3 : a.changeSet.apply.whenUnrecognizedShape, u3 = (0, C.describeChangeSetWhen)(o2), c2 = `/changes[${t5}]/add/${i4}`; + e4.changeSetResults.addResult({ path: c2, skipped: { reason: l3, whenSummary: u3 } }), e4.reportActivity({ type: "changeSkipped", changeIndex: t5, whenSummary: u3, message: { template: a.changeSet.activity.changeSkipped, params: [{ value: n4 }, { value: l3 }] } }); + })(i3, r2, l2.pathSegment, l2.label, l2.when, t4); + } + if ("actions" in t3) { + const o2 = le(e3, t3.actions, i3); + if (!o2) return; + null === (n3 = i3.undoChangeSet) || void 0 === n3 || n3.beginUndoDeleteGroup(); + try { + yield o2.container.appendActionsFromModel(o2.previous, t3.actions.actionsToAdd, i3, (u2 = o2.container, `changeSetTarget[${u2.refId || u2.name || u2.id || "actions"}]`), r2); + } finally { + null === (s2 = i3.undoChangeSet) || void 0 === s2 || s2.endUndoDeleteGroup(); + } + return; + } + var u2; + 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 o2 = (0, X.isString)(n4.name) ? n4.name : void 0, s3 = e3.createMenu(o2); + return void (yield Be(s3, n4, i3, r2, "menu")); + } + if ("menuChoice" in t3) !(function(e4, t4, i4, n4) { + var r3, s3, l3; + const u3 = (function(e5, t5, i5) { + if ("toMenu" in t5) { + const n5 = t5.toMenu; + return (0, M.resolveFromList)(e5.menus || [], n5) || void i5.addWarningMessage((0, o.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menu: n5 }))); + } + if ("toMenuChoice" in t5) { + const n5 = t5.toMenuChoice; + let r4; + if (void 0 !== n5.trackingId) { + const t6 = me(e5, n5.trackingId); + (0, ae.isMenuChoice)(t6) && (r4 = t6); + } else if (n5.id) { + const t6 = U.flowElementRegistrationService.getItemById(e5, n5.id); + (0, ae.isMenuChoice)(t6) && (r4 = t6); + } + return r4 ? r4.menu && r4.isSubMenu ? r4.menu : void i5.warn(a.changeSet.apply.addMenuChoiceToMenuChoiceNotSubMenu) : void i5.addWarningMessage((0, o.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menuChoice: n5 }))); + } + i5.warn(a.changeSet.apply.addMenuChoiceWhereUnrecognized); + })(e4, t4.where, i4); + if (u3) { + null === (r3 = i4.undoChangeSet) || void 0 === r3 || r3.beginUndoDeleteGroup(); + try { + const e5 = u3.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, r2); + 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 o2 = "string" == typeof n4.name ? n4.name : void 0, s3 = e3.createTask(o2); + return void (yield Be(s3, n4, i3, r2, "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 o2 = "string" == typeof n4.name ? n4.name : void 0, s3 = e3.createState(o2); + yield Be(s3, n4, i3, r2, "state"); + } + } + } + }); + }, t2.canApplyChangeSet = function(e3, t3, i3, n3) { + var r2; + 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; + } } - get originalObjectLogStrFull() { - this._throwAbstractMethodCalled("originalObjectLogStrFull (get)"); + if (!(function(e4, t4, i4) { + if (!t4) return true; + if (Ge(e4, t4.flow)) return true; + if (t4.otherFlows) { + for (const i5 of t4.otherFlows) if (Ge(e4, i5)) return true; + } + const n4 = [t4.flow, ...t4.otherFlows || []].map((e5) => `(${(function(e6) { + const t5 = []; + return void 0 !== e6.name && t5.push((0, o.sprintf)(a.changeSet.apply.filterCriteriaName, e6.name)), void 0 !== e6.type && t5.push((0, o.sprintf)(a.changeSet.apply.filterCriteriaType, e6.type)), void 0 !== e6.id && t5.push((0, o.sprintf)(a.changeSet.apply.filterCriteriaId, e6.id)), void 0 !== e6.version && t5.push((0, o.sprintf)(a.changeSet.apply.filterCriteriaVersion, e6.version)), t5.join(" and "); + })(e5)})`).join(" or "); + return i4.error((0, o.sprintf)(a.changeSet.apply.filterCriteriaNotMet, n4)), i4.continueProcessing = false, false; + })(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 o2 = i3.actionTypeRegistry.getNodeInfo(t4); + if (o2 && o2.isAvailableForFlowType(i3.flowType)) { + const t5 = null === (n4 = o2.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(o2.name); + } else e4.push(o2 ? o2.name : t4); + }), e4.length > 0) { + const t4 = V.default.getFlowTypeDisplayName(i3.flowType), n4 = (0, G.getListDisplayString)(e4, false, false, true); + return i3.addErrorMessage((0, o.sprintf)(a.changeSet.apply.unableToApplyUnavailableActions, t4, n4)), i3.continueProcessing = false, false; + } } - paste(e3) { - this._throwAbstractMethodCalled("paste"); + 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(W.stateActionType), label: "State" }), (0, g.isMenuAddOperation)(e4.add) && l2.push({ nodeInfo: j.getInfo(q.menuActionType), label: "Menu" })); + for (const { nodeInfo: e4, label: t4 } of l2) { + if (!e4) continue; + const n4 = null === (r2 = e4.modelFormatSupport) || void 0 === r2 ? void 0 : r2.flowYaml, s3 = (0, J.deriveFlowYamlSupportState)(n4); + if (s3 === $.flowYamlSupportState.notAvailable || s3 === $.flowYamlSupportState.deprecated) return i3.addErrorMessage((0, o.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, o.sprintf)(a.changeSet.apply.reusableNodeRequiresFeature, t4, n4.feature)), i3.continueProcessing = false, false; + if (!e4.needsServerInfo && !e4.isAvailableForFlowType(i3.flowType)) return i3.addErrorMessage((0, o.sprintf)(a.changeSet.apply.reusableNodeNotAvailableForFlowType, t4, i3.flowType)), i3.continueProcessing = false, false; } - get pastedMenuOrTaskOrActionViewModel() { - this._throwAbstractMethodCalled("pastedMenuOrTaskOrActionViewModel (get)"); + 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, o.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, o.sprintf)(a.changeSet.apply.deleteActionsRequireFeature, H.default.changeSetsFeaturePhase1)), i3.continueProcessing = false, false; + } + if ((0, I.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, o.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, o.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, o.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, o.sprintf)(a.changeSet.apply.addMenuChoiceRequiresFeature, H.default.changeSetsFeaturePhase2)), i3.continueProcessing = false, false; } - set pastedMenuOrTaskOrActionViewModel(e3) { - this._throwAbstractMethodCalled("pastedMenuOrTaskOrActionViewModel (set)"); + !(function(e4, t4, i4) { + for (let n4 = 0; n4 < t4.length; n4++) { + const o2 = t4[n4]; + "createRef" in o2 && Ve(e4, o2.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; }; - }, 78495: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - var n2 = i2(41827), r2 = i2(67359); - const o = 68; - class a { - constructor(e3, t3, i3) { - this.parent = e3, this.depth = t3, this.type = i3, this.hash = (e3 ? e3.hash + e3.hash << 8 : 0) + t3 + (t3 << 4) + i3; + const n2 = i2(31635), o = i2(17604), r = 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), I = i2(19206), C = i2(18573), O = 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)), q = i2(30801), W = 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), oe = i2(61610), re = 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 r3 = Se(e4, n4, i4); + if (r3) { + if (t4.outputPath) { + const e5 = t4.outputPath; + let n5; + if (e5.id && (n5 = r3.getBranch(e5.id)), !n5 && e5.name && (n5 = r3.getBranchByLabel(e5.name)), !n5) { + const t5 = e5.id || e5.name || "unknown"; + return void i4.addWarningMessage((0, o.sprintf)(a.changeSet.apply.afterActionOutputPathNotFound, t5)); + } + return { container: n5, previous: Ae(n5) }; + } + if ((0, ne.isActionContainerViewModel)(r3.parent)) return { container: r3.parent, previous: r3 }; + 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 r3 = Se(e4, n4, i4); + if (!r3) return void i4.addWarningMessage(a.changeSet.apply.beforeActionNotFound); + if (t4.outputPath) { + const e5 = t4.outputPath; + let n5; + if (e5.id && (n5 = r3.getBranch(e5.id)), !n5 && e5.name && (n5 = r3.getBranchByLabel(e5.name)), !n5) { + const t5 = e5.id || e5.name || "unknown"; + return void i4.addWarningMessage((0, o.sprintf)(a.changeSet.apply.beforeActionOutputPathNotFound, t5)); + } + return { container: n5, previous: void 0 }; + } + if (!(0, ne.isActionContainerViewModel)(r3.parent)) return void i4.addWarningMessage(a.changeSet.apply.beforeActionNoContainerParent); + const s2 = r3.previousAction; + return { container: r3.parent, previous: null != s2 ? s2 : void 0 }; + })(e3, n3.beforeAction, i3); + const r2 = (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: r3 } = t4.actionOutput, s2 = n4.trackingId, l2 = he(e4, n4.id, s2); + if (!l2) return void i4.addWarningMessage(a.changeSet.apply.ofActionOutputTargetNotFound); + return l2.getBranch(r3.id) || void i4.addWarningMessage((0, o.sprintf)(a.changeSet.apply.ofActionOutputPathNotFound, r3.id)); + } + })(e3, "toTheBeginningOf" in n3 ? n3.toTheBeginningOf : n3.toTheEndOf, i3); + return r2 ? "toTheBeginningOf" in n3 ? { container: r2, previous: void 0 } : { container: r2, previous: Ae(r2) } : 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 s(e3, t3) { - for (let i3 = 0, n3 = t3 - e3.pos - 1; ; n3--, i3++) { - let t4 = e3.peek(n3); - if (u(t4) || -1 == t4) return i3; + function de(e3) { + const t3 = e3.states; + return (0, z.isArray)(t3) ? t3 : []; + } + function pe(e3, t3) { + r.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), r.default.each(i3.branches, (e4) => { + _e(e4.topAction, t3); + }), i3 = i3.nextAction; + } + function he(e3, t3, i3, n3) { + let o2; + const a2 = (e4) => { + o2 || (r.default.isNullOrUndefined(t3) || e4.id !== t3) && (r.default.isNullOrUndefined(i3) || e4.trackingId !== i3) && (r.default.isNullOrUndefined(n3) || e4.name !== n3) || (o2 = e4); + }, s2 = (e4) => { + _e(e4.topAction, a2); + }; + return r.default.each(e3.tasks, (e4) => { + (0, oe.isTaskLike)(e4) && s2(e4); + }), r.default.each(de(e3), (e4) => { + (0, oe.isTaskLike)(e4) && s2(e4); + }), r.default.each(e3.menus || [], (e4) => { + pe(e4.choices, (e5) => { + (0, oe.isTaskLike)(e5.task) && s2(e5.task); + }); + }), o2; + } + 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 l(e3) { - return 32 == e3 || 9 == e3; + 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 o2 = (function(e4) { + if (e4 && "object" == typeof e4) return (0, ne.isActionContainerViewModel)(e4) ? e4 : (0, ae.isMenuChoice)(e4) && (0, oe.isTaskLike)(e4.task) ? e4.task : void 0; + })(n3); + return !o2 && n3 && i3.addWarningMessage(a.changeSet.apply.ofActionContainerNotResolved), o2; } - function u(e3) { - return 10 == e3 || 13 == e3; + 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, oe.isTaskLike)(i3) ? i3 : void t3.addWarningMessage(a.changeSet.apply.ofStartupTaskNotATask); + t3.addWarningMessage(a.changeSet.apply.ofStartupTaskIsState); + } + else t3.addWarningMessage(a.changeSet.apply.flowHasNoStartupObject); } - function c(e3) { - return l(e3) || u(e3); + function Te(e3, t3) { + const i3 = e3.startUpObject; + if (i3) { + if ((0, b.isStartupStateLike)(i3)) return (0, oe.isTaskLike)(i3) ? i3 : void 0; + t3.addWarningMessage(a.changeSet.apply.ofStartupStateNotAState); + } else t3.addWarningMessage(a.changeSet.apply.flowHasNoStartupObject); } - function d(e3) { - return e3 < 0 || c(e3); + function ye(e3, t3) { + const i3 = e3.periodicState; + if (i3) return (0, oe.isTaskLike)(i3) ? i3 : void 0; + t3.addWarningMessage(a.changeSet.apply.ofPeriodicStateNotAvailable); } - 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) { - if (3 == t3) return new a(e3, s(n3, n3.pos), 1); - if (70 == t3 || 5 == t3) return new a(e3, s(n3, n3.pos), 2); - if (t3 == o) return e3.parent; - if (19 == t3 || 33 == t3) return new a(e3, 0, 3); - if (13 == t3 && 4 == e3.type) return e3.parent; - if (47 == t3) { - let t4 = /[1-9]/.exec(n3.read(n3.pos, i3.pos)); - if (t4) return new a(e3, e3.depth + +t4[0], 4); + 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 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 && d(e3.peek(i3 + 3)); + return t3.name ? he(e3, t3.id, t3.trackingId, t3.name) : he(e3, t3.id, t3.trackingId); } - const h = new n2.ExternalTokenizer((e3, t3) => { - if (-1 == e3.next && t3.canShift(69)) return e3.acceptToken(69); - let i3 = e3.peek(-1); - if ((u(i3) || i3 < 0) && 3 != t3.context.type) { - if (_(e3, 45)) { - if (!t3.canShift(o)) return e3.acceptToken(1, 3); - e3.acceptToken(o); - } - if (_(e3, 46)) { - if (!t3.canShift(o)) return e3.acceptToken(2, 3); - e3.acceptToken(o); - } - 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 && d(e3.peek(1))) || -1 == e3.next || u(e3.next) || 35 == e3.next || e3.acceptToken(o, -i4); + function Ae(e3) { + let t3 = e3.topAction; + if (t3) { + for (; t3.nextAction; ) t3 = t3.nextAction; + return t3; } - }, { contextual: true }), m = new n2.ExternalTokenizer((e3, t3) => { - 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)) { - if (e3.pos == i3) return; - e3.advance(); - } else if (33 == e3.next) T(e3); - else { - if (38 != e3.next) { - if (42 == e3.next) { - y(e3); - break; - } - if (39 == e3.next || 34 == e3.next) { - if (S(e3, true)) break; - return; - } - if (91 == e3.next || 123 == e3.next) { - if (!A(e3)) return; - break; - } - I(e3, true, false, 0); - break; - } - y(e3); - } - for (; l(e3.next); ) e3.advance(); - if (58 == e3.next) { - if (e3.pos == i3 && t3.canShift(29)) return; - d(e3.peek(1)) && e3.acceptTokenTo(2 == t3.context.type && t3.context.depth == s(e3, i3) ? 71 : 70, i3); - } + } + const Ne = (0, B.createNewGetConfigOperationSettings)(false, true, false, true); + function ve(e3) { + try { + const t3 = e3.getConfiguration({}, Ne); + return (0, Z.isConfigureFromModelRecord)(t3) ? t3 : void 0; + } catch (e4) { + return; } - 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; } - function f(e3, t3) { - return 37 == e3.next ? (e3.advance(), g(e3.next) && e3.advance(), g(e3.next) && e3.advance(), true) : !!((i3 = e3.next) > 32 && i3 < 127 && 34 != i3 && 37 != i3 && 44 != i3 && 60 != i3 && 62 != i3 && 92 != i3 && 94 != i3 && 96 != i3 && 123 != i3 && 124 != i3 && 125 != i3 || t3 && 44 == e3.next) && (e3.advance(), true); - var i3; + 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 o2 = void 0 !== n3.trackingId, r2 = void 0 !== n3.id, s2 = void 0 !== n3.name, l2 = void 0 !== n3.refId; + if (o2 || r2 || s2 || l2) { + if (!s2 || o2 || r2 || l2) return { typeKey: i3, selector: n3 }; + t3.addWarningMessage(a.changeSet.apply.deleteSelectorByNameNotSupported); + } else t3.addWarningMessage(a.changeSet.apply.deleteSelectorMissingIdentifier); } - function T(e3) { - if (e3.advance(), 60 == e3.next) { - for (e3.advance(); ; ) if (!f(e3, true)) { - 62 == e3.next && e3.advance(); - break; + function Ce(e3, t3, i3, n3, r2, 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({}, Ne); + 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)); } - } else for (; f(e3, false); ) ; + r2.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, o.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ [t3]: i3 }))); } - function y(e3) { - for (e3.advance(); !d(e3.next) && "f" != v(e3.tag); ) e3.advance(); + function Oe(e3, t3, i3, n3, r2, 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({}, Ne); + 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), r2.changeSetResults.addResult({ path: `/changes[${s2}]/delete/items[${l2}]`, deleted: { menu: new c.ChangeSetResultObject(u2.id, u2.name, u2.trackingId) } }), pe(u2.choices, (e4) => { + r2.changeSetResults.addResult({ path: `/changes[${s2}]/delete/items[${l2}]/choices`, deleted: { menuChoice: new c.ChangeSetResultObject(e4.id, e4.name, e4.trackingId) } }); + }), e3.deleteNode(u2); + } else r2.addWarningMessage((0, o.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menu: t3 }))); } - function S(e3, t3) { - let i3 = e3.next, n3 = false, r3 = e3.pos; - for (e3.advance(); ; ) { - let o2 = e3.next; - if (o2 < 0) break; - if (e3.advance(), o2 == i3) { - if (39 != o2) break; - if (39 != e3.next) break; - e3.advance(); - } else if (92 == o2 && 34 == i3) e3.next >= 0 && e3.advance(); - else if (u(o2)) { - if (t3) return false; - n3 = true; - } else if (t3 && e3.pos >= r3 + 1024) return false; + function be(e3, t3, i3, n3, r2, 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); } - return !n3; - } - function A(e3) { - for (let t3 = [], i3 = e3.pos + 1024; ; ) if (91 == e3.next || 123 == e3.next) t3.push(e3.next), e3.advance(); - else if (39 == e3.next || 34 == e3.next) { - if (!S(e3, true)) return false; - } else if (93 == e3.next || 125 == e3.next) { - if (t3[t3.length - 1] != e3.next - 2) return false; - if (t3.pop(), e3.advance(), !t3.length) return true; - } else { - if (e3.next < 0 || e3.pos > i3 || u(e3.next)) return false; - e3.advance(); + if (!u2) return void (n3.size || r2.addWarningMessage((0, o.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ menuChoice: t3 })))); + if (i3) { + const e4 = (function(e5) { + try { + const t4 = e5.getConfiguration({}, Ne); + 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), r2.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, oe.isTaskLike)(u2.task) && u2.task.isHidden && e3.deleteNode(u2.task), d2 && "function" == typeof d2.deleteChild && d2.deleteChild(u2); } - const N = "iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"; - function v(e3) { - return e3 < 33 ? "u" : e3 > 125 ? "s" : N[e3 - 33]; + function Ee(e3, t3, i3, n3, r2, 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 = ve(p2); + e4 && (r2.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, o.sprintf)(a.changeSet.apply.deleteActionNoContainerParent, p2.id)); + else l2.addWarningMessage(a.changeSet.apply.deleteActionNotOwnedByFlow); + else n3.size || l2.addWarningMessage((0, o.sprintf)(a.changeSet.apply.deleteActionNotFound, JSON.stringify({ action: t3 }))); } - function O(e3, t3) { - let i3 = v(e3); - return "u" != i3 && !(t3 && "f" == i3); + function we(e3, t3, i3, n3, r2) { + 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, o.sprintf)(a.changeSet.apply.deleteVariableNotFound, JSON.stringify({ variable: t3 }))); + const l2 = s2.name, u2 = s2.id; + i3.changeSetResults.addResult({ path: `/changes[${n3}]/delete/items[${r2}]`, deleted: { variable: new c.ChangeSetResultObject(u2, l2) } }), s2.destroy(); } - 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 (; c(o2); ) { - if (u(o2)) { - if (t3) return false; - s2 = 0; - } else s2++; - o2 = e3.peek(++a2); + function Re(e3, t3, i3, o2, r2, s2) { + return n2.__awaiter(this, void 0, void 0, function* () { + const o3 = e3.id, l2 = e3.trackingId, u2 = "task" === t3 ? a.changeSet.activity.taskUpdated : "state" === t3 ? a.changeSet.activity.stateUpdated : a.changeSet.activity.menuUpdated, d2 = Fe(e3, i3); + if (r2.reportActivity({ type: "objectConfiguring", objectType: t3, objectName: e3.name || t3, objectId: o3, trackingId: l2, viewModel: e3, changeIndex: s2, message: { template: u2, params: [{ value: e3.name || t3, link: { objectId: o3 || "", objectType: t3, trackingId: l2, viewModel: e3 } }] } }), yield (0, ie.withModelContextAsync)(r2, `update[${e3.name || t3}]`, () => n2.__awaiter(this, void 0, void 0, function* () { + yield e3.configureFromModel(i3, ee.ModelFormat.ChangeSet, r2); + })), xe(i3, t3, e3, r2, s2), r2.reportActivity({ type: "objectConfigured", objectType: t3, objectName: e3.name || t3, objectId: o3, trackingId: l2, viewModel: e3, changeIndex: s2 }), r2.undoChangeSet && d2) { + const e4 = { trackingId: null != l2 ? l2 : void 0, id: o3 }; + let i4; + i4 = "task" === t3 ? { task: e4, properties: d2 } : "state" === t3 ? { state: e4, properties: d2 } : { menu: e4, properties: d2 }, r2.undoChangeSet.addUpdate(i4); } - 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; - } - return true; + r2.changeSetResults.addResult({ path: `/changes[${s2}]/update`, updated: { [t3]: new c.ChangeSetResultObject(o3 || "", e3.name || t3, l2) } }); + }); } - const C = new n2.ExternalTokenizer((e3, t3) => { - if (33 == e3.next) T(e3), e3.acceptToken(12); - 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)) : 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 (; ; ) { - let r3 = 0, o2 = e3.next; - for (; 32 == o2; ) o2 = e3.peek(++r3); - if (!r3 && (_(e3, 45, r3) || _(e3, 46, r3))) break; - if (!u(o2) && (i3 < 0 && (i3 = Math.max(t3.context.depth + 1, r3)), r3 < i3)) break; - for (; ; ) { - if (e3.next < 0) break e; - let t4 = u(e3.next); - if (e3.advance(), t4) continue e; - n3 = e3.pos; - } - } - 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 }), w = 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: " { - "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 c extends s.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3), this._integerFacets = new o.default(), (0, a.makeUnenumerable)(this, "_integerFacets"), (0, a.makeUnenumerable)(this, "_useStar"); - } - _setFromOptions(e3) { - super._setFromOptions(e3); - } - get isExpressionTypeIntegerOptions() { - return true; - } - get className() { - return "ExpressionTypeIntegerOptions"; - } - get facets() { - return this._integerFacets; - } - set facets(e3) { - this._integerFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isIntegerFacets, e3, "IntegerFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); - } - get min() { - return this.facets.minVal; - } - get max() { - return this.facets.maxVal; - } - _setRestrictionsFromOperandDef(e3) { - 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); - } + function De(e3) { + return (0, re.flowYamlDtmfFromDigit)(e3.dtmf); } - 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, c = 0; - a.subscribe(n2.createOperatorSubscriber(s, function(t4) { - var i4 = c++; - u = l ? e3(u, t4, i4) : (l = true, t4), r2 && s.next(u); - }, o && function() { - l && s.next(u), s.complete(); - })); - }; - }; - }, 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findSystemPrompt.nameLabel, searchResultLabel: d.findActions.findSystemPrompt.resultLabel, searchResultExpressionOptions: a.ExpressionTypePromptOptions.create(), searchResultItemType: o.expressionTypeNames.prompt }); - } + function Pe(e3) { + var t3, i3, n3, o2; + const r2 = null === (o2 = 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 === o2 ? void 0 : o2.parameter; + if ("string" == typeof r2 && r2.length > 0) return { tts: r2 }; } - 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 c extends r2.default { - constructor(e3) { - super(e3), this._manager = s.audioConnectorManager, this._connectorId = this.coreFactory.createArchWrapper(e3.connectorId); - } - get _actionTypeId() { - return l.callAudioConnectorActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get audioConnectorOutputsFailure() { - return this._getCoreViewModel().errorBindings ? this.coreFactory.createArchWrapper(this._getCoreViewModel().errorBindings) : null; - } - get connectorId() { - return this._connectorId; - } - get isArchActionCallAudioConnector() { - return true; - } - addSessionVariableOutputNameValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), this.sessionVariableOutputs._addNameValueAssignment(e3, t3, true, true); - } - get sessionVariableOutputs() { - const e3 = this._getCoreViewModel().outputSessionVariables; - if (e3) return this.coreFactory.createArchBaseValueContainer(e3); - } - setAudioConnectorByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("audioConnectorId", "setAudioConnectorByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAudioConnectorByIdAsync"), t3, true), o.default.findItemByIdAsync(this._manager, e3, "audio connector").then((e4) => (this._getCoreViewModel().setBotRunnableByViewModel(e4), a.default.executeCallback(this, "setAudioConnectorByIdAsync", t3, this))); - } - setAudioConnectorByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("audioConnectorName", "setAudioConnectorByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAudioConnectorByNameAsync"), t3, true), o.default.findItemByValueAsync(this._manager, e3, "audio connector", null, null).then((i3) => (this._getCoreViewModel().setBotCategoryByViewModel(i3), this.logNote("Found the Audio Connector bot with ID '" + i3.id + "' for the name of '" + e3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(i3), a.default.executeCallback(this, "setAudioConnectorByIdAsync", t3, this))); - } - get outputSuccess() { - return this._getOutputById(u.outputIds.success, true); + function Me(e3) { + var t3, i3, n3, o2; + 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 r2 = null === (o2 = e3.defaultAudio) || void 0 === o2 ? void 0 : o2.text; + if ("string" == typeof r2 && r2.length > 0) return { exp: r2 }; + const a2 = e3.getConfiguration({}, Ne); + return (0, Z.isConfigureFromModelRecord)(a2) && Object.keys(a2).length > 0 ? a2 : {}; } - t2.default = c; - }, 78641: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(33231), o = n2.__importDefault(i2(66978)), a = n2.__importDefault(i2(8471)); - class s extends a.default { - constructor() { - super(), this._callingMethodName = "", this._maxTries = 0, this._pollingCounter = 0, this._pollingIntervalMs = 0; - } - _beginAsyncPolling(e3, t3, i3, n3, r3, o2, a2) { - this._pollingQ && this.logErrorAndThrow("you already have a polling promise in this class instance that has not completed yet."); - const s2 = a2 || "_beginAsyncPolling"; - this._checkItemIsValidLiteralIntInRange(this._infoParm("intervalMs", s2), t3, 0, 15e3), this._checkItemIsValidLiteralIntInRange(this._infoParm("maxTries", s2), e3, 1, 100); - const l = t3 * e3; - return this._checkItem(this._infoVal("total_time", s2), l > 8e4, "the intervalMs * maxTries value of " + l + " milliseconds cannot exceed the maximum allowed of 80000 milliseconds."), this._checkItemIsValidFunction(this._infoParm("callbackFunction", s2), i3), this._checkItem(this._infoParm("callingArchObject", s2), r3 && !r3.isArchBaseObject, "The calling object must be an Architect Scripting object if specified."), this._checkItemIsValidLiteralString(this._infoParm("callingMethodName", s2), o2, true), this._configure(e3, t3, i3, n3, r3, o2), this._scheduleCallbackFunc(), this._pollingQ.promise; - } - _callCallbackFunc() { - try { - this._incrementPollCount(), this.logNoteVerbose("invoking polling callback function."); - const e3 = this._callbackFunc(this._callbackFuncParm); - if (!r2.isPromiseAlike(e3)) return this.logNoteVerbose("polling callback function did not return a promise. Now resolving the polling promise and returning the callback function result."), this._resolve(e3); - this.logNoteVerbose("callback function returned a promise. Waiting until it resolves."), e3.then(function(e4) { - return this.logNoteVerbose("callback function returned promise successfully resolved. Now resolving the polling promise and returning the callback function returned promise's result."), this._resolve(e4); - }.bind(this)).catch(function() { - if (this.logNoteVerbose("callback function returned promise threw an error which was caught. Checking to see if further attempts should be made."), this._pollingCounter >= this._maxTries) return this.logNoteVerbose("polling promise iteration count max reached of " + this._maxTries + ". Now rejecting the polling promise."), this._reject(); - this.logNoteVerbose("polling promise iteration count of " + this._pollingCounter + " less than max of " + this._maxTries + ". Scheduling another timer interval callback."), this._scheduleCallbackFunc(); - }.bind(this)); - } catch (e3) { - return this.logError("error calling the polling callback function. Now rejecting the polling promise."), this._reject(); + function Fe(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 = Pe(e3); + t4 && (i3.audio = t4); + } + if ("dtmf" === n3 && (0, ae.isMenuChoice)(e3)) { + const t4 = De(e3); + t4 && (i3.dtmf = t4); } } - _configure(e3, t3, i3, n3, a2, s2) { - this._reset(), this._callingArchObject = a2, this._callingMethodName = s2, this._callbackFunc = i3, this._callbackFuncParm = n3, this._maxTries = e3, this._pollingCounter = 0, this._pollingIntervalMs = t3, this._pollingQ = r2.defer(), o.default.addPromise(this._pollingQ.promise, "ArchAsyncPolling"); - } - _incrementPollCount() { - this._pollingCounter++, this.logNoteVerbose("polling counter incremented to " + this._pollingCounter + " (max poll count: " + this._maxTries + ")"); - } - _reject() { - this.logNoteVerbose("rejecting the polling promise."), this._pollingQ.reject(), this._reset(); - } - _reset() { - this._callingArchObject = void 0, this._callingMethodName = "", this._callbackFunc = void 0, this._callbackFuncParm = void 0, this._maxTries = 0, this._pollingCounter = 0, this._pollingIntervalMs = 0, this._pollingQ = void 0; - } - _resolve(e3) { - this.logNote("resolving the polling promise."), this._pollingQ.resolve(), this._reset(); - } - _scheduleCallbackFunc() { - this.logNoteVerbose("scheduling polling promise callback timer to make callback in " + this._pollingIntervalMs + " millisecond(s)."), setTimeout(this._callCallbackFunc.bind(this), this._pollingIntervalMs); - } - beginAsyncPolling(e3, t3, i3, n3) { - return this._beginAsyncPolling(e3, t3, i3, n3, void 0, void 0, "beginAsyncPolling"); - } - get amPolling() { - return void 0 !== this._pollingQ; - } - get displayTypeName() { - return "ArchAsyncPolling"; - } - get logStr() { - const e3 = ["ArchAsyncPolling"]; - return this._callingArchObject && this._appendLogStrCallingArchObject(e3, this._callingArchObject), this._callingMethodName && this._appendLogStrCallingMethod(e3, this._callingMethodName), this._appendLogStrPart(e3, "AmPolling", void 0 !== this._pollingQ), void 0 !== this._pollingQ && (this._appendLogStrPart(e3, "PollingCounter", this._pollingCounter), this._appendLogStrPart(e3, "PollingInterval", this._pollingIntervalMs), this._appendLogStrPart(e3, "MaxTries", this._maxTries)), this._createLogStrFromParts(e3); - } - get isArchAsyncPolling() { - return true; + return !("name" in i3) && e3.name && (i3.name = e3.name), i3; + } + const Le = /* @__PURE__ */ new Set(["refId", "trackingId"]); + function xe(e3, t3, i3, n3, o2) { + const r2 = i3.id, a2 = i3.trackingId, u2 = i3.name || t3; + for (const c2 of Object.keys(e3)) { + if (Le.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: r2, trackingId: a2, viewModel: i3, changeIndex: o2, property: c2, propertyDisplayName: (0, l.getFlowObjectPropertyDisplayName)(t3, c2), propertyValue: p2 })); } } - t2.default = s; - }, 78685: (e2, t2, i2) => { - const n2 = i2(43933).default; - function r2() { - r2.baseConstructor.apply(this, arguments); + function ke(e3, t3) { + const i3 = Object.keys(e3)[0], n3 = Object.keys(t3); + if (!i3 || 0 === n3.length) return e3; + const o2 = e3[i3]; + if (!(0, Q.isNonArrayObject)(o2)) return e3; + const r2 = {}; + for (const e4 of n3) e4 in o2 && (r2[e4] = o2[e4]); + return "name" in o2 && !("name" in r2) && (r2.name = o2.name), { [i3]: r2 }; + } + function Ve(e3, t3, i3, n3) { + const r2 = t3, s2 = r2.refId; + if ("string" != typeof s2 || 0 === s2.length) return; + const l2 = Object.keys(r2).filter((e4) => "refId" !== e4); + if (1 !== l2.length) return; + const u2 = l2[0]; + let d2; + switch (u2) { + case "task": + d2 = (0, P.findTaskBySelector)(e3, r2.task, i3); + break; + case "state": + d2 = (0, D.findStateBySelector)(e3, r2.state, i3); + break; + case "menu": + d2 = (0, R.findMenuBySelector)(e3, r2.menu, i3); + break; + case "action": + d2 = Se(e3, r2.action, i3); + break; + case "menuChoice": { + const t4 = (0, w.findFlowElementBySelector)(e3, r2.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, o.sprintf)(a.changeSet.apply.createRefTargetNotFound, s2, u2)); + const p2 = i3.refIdMap.get(s2); + p2 && p2 !== d2 && i3.addWarningMessage((0, o.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) } }); } - i2(22124).extend(r2, "GrammarList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, 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) { + function Ue(e3, t3, i3, r2) { 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; - } + const s2 = e3[r2.propertyKey]; + (0, z.isArray)(s2) && (yield (0, ie.withModelContextAsync)(i3, r2.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 : `_${r2.wrapperKey}_${e4.length}`; + try { + const t5 = r2.createContainer(c2); + if (!t5) continue; + i3.refIdMap.set(d2, t5), i3.debug(`Creating ${r2.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, o.sprintf)(a.changeSet.apply.containerCreationFailed, r2.wrapperKey, c2 || d2, t5)); + } + } + for (const { refId: s3, containerVm: l2, containerYaml: u2 } of e4) yield (0, ie.withModelContextAsync)(i3, `${r2.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, o.sprintf)(a.changeSet.apply.containerConfigurationFailed, r2.wrapperKey, s3, t4)); + } + })); + }))); }); - }, 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) { + } + function Be(e3, t3, i3, r2, s2) { 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); - }); + 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 { - return { result: yield t3(), errorMessages: i3 }; + 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, r2); + } catch (e4) { + const t4 = e4 instanceof Error ? e4.message : String(e4); + i3.warn((0, o.sprintf)(a.changeSet.apply.objectConfigurationFailed, s2, p2 || "unnamed", t4)); + } + })); } finally { - n3.unsubscribe(); + null === (d2 = i3.undoChangeSet) || void 0 === d2 || d2.endUndoDeleteGroup(); } + i3.changeSetResults.addResult({ path: `/changes[${r2}]/add/${s2}`, added: { [s2]: new c.ChangeSetResultObject(e3.id, e3.name, e3.trackingId) } }); }); - }; - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findUtilizationLabel.nameLabel, searchResultLabel: d.findActions.findUtilizationLabel.resultLabel, searchResultExpressionOptions: a.ExpressionTypeUtilizationLabelOptions.create(), searchResultItemType: o.expressionTypeNames.utilizationLabel }); - } } - 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)), 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); - } - static get branchInfo() { - return u.default.fakeFailure; - } - _getPossibleErrors() { - 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); - } - setNewInstanceDefaults() { - this.preTransferCommunication.setCommunicationBuilderText("", true), this.failureTransferCommunication.setCommunicationBuilderText("", true), super.setNewInstanceDefaults(...arguments); - } - _initializeDesignTime() { - super._initializeDesignTime(), this._createErrorSchema().properties.forEach((e3) => { - let t3 = this.errorBindings.items.find((t4) => t4.name === e3.name); - t3 || (t3 = m.createDataPairForSchemaProperty(this.errorBindings, e3), this.errorBindings.addItem(t3)), m.setExpressionWithSchemaProperty(t3.value, e3); - }); - } - 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(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), 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, _.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 d.lexStatuses.v1.ready; - } - get aliasReadyStatusLower() { - return d.lexStatuses.v1.readyLower; - } - _postProcessYamlConfig(e3, t3, i3) { - e3.lexBot = {}; - const n3 = e3.lexBot[this.botName] = {}; - if (!this.aliasName) return void r2.default.ensureYamlNoneTrue(n3); - const o2 = n3[this.aliasName] = {}; - this.commonBotPostProcessYamlConfig(e3, o2); - } - get supportsSessionVariables() { - return true; - } - get requiresSpeechRec() { - return true; - } - } - 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) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); + function Ge(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)); } - r2.keys = () => Object.keys(n2), r2.id = 78858, e2.exports = r2; - }, 78863: (e2, t2, i2) => { + }, 57606(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SurveyFormVersionViewModel = t2.SurveyFormViewModel = void 0; - const n2 = i2(56969), r2 = i2(56969), o = i2(5587); - class a { - constructor(e3) { - var t3; - this._model = e3, this.hasInternalFormError = false; - const i3 = (0, n2.checkSurveyForm)(this._model); - (null === (t3 = null == i3 ? void 0 : i3.rawErrors) || void 0 === t3 ? void 0 : t3.length) && (this.hasInternalFormError = true, this.dependencyErrorDetails = (0, r2.getSurveyFormErrorText)(i3)); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92140)), o = i2(55299), r = i2(3916); + class a extends o.BaseClass { + constructor(e3, t3) { + super(), this.model = e3, this.properties = r.createSchemaPropertyList(this.model.properties, this.model.required, this.model.definitions, t3); } get className() { - return "SurveyFormViewModel"; - } - get isBaseClass() { - return false; - } - get id() { - return this._model.id; - } - get name() { - return this._model.name; - } - get label() { - return this.name; - } - get questionGroups() { - return this._model.questionGroups; + return "SchemaViewModel"; } - get language() { - return this._model.language; + get description() { + return this.model.description; } - get header() { - return this._model.header; + getConfiguration() { + const e3 = {}; + return n2.default.each(this.properties, function(t3) { + e3[t3.name] = t3.getConfiguration(); + }), { schema: this.schemaLink, title: this.model.title, description: this.model.description, required: this.model.required, type: this.model.type, properties: e3 }; } - get footer() { - return this._model.footer; + getProperty(e3, t3) { + const i3 = t3 ? { name: e3 } : { id: e3 }; + return n2.default.findWhere(this.properties, i3); } - get latestPublishedVersion() { - return this._model.latestPublishedVersion; + get hasArrayPropertyWithNoType() { + return n2.default.any(this.properties, (e3) => e3.hasArrayWithNoType); } - get isSurveyFormViewModel() { + get isSchemaViewModel() { return true; } - get contextId() { - return this._model.contextId; - } - get result() { - return this._model.result; - } - get dependencyError() { - return this._model.dependencyError; - } - get division() { - return this._model.division; + get name() { + return this.model.name; } - get isPublished() { - var e3; - return !!(null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.published); + get schemaLink() { + return this.model.$schema || this.model.schema; } - get isDisabled() { - var e3; - return !!(null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.disabled); + get title() { + return this.model.title; } - get modifiedDate() { - var e3; - return new Date(null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.modifiedDate); + get type() { + return this.model.type; } - get modifiedDateStr() { - return this._model.modifiedDate; + setErrorTypeAllowableValues(e3) { + this.model.properties.errorType.allowableValues = e3; } } - t2.SurveyFormViewModel = a, t2.SurveyFormVersionViewModel = class extends a { + t2.default = a; + }, 27579(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3 = []) { + let t3 = ["FeatureNotEnabledError", "InternalServerError", "NoInputError", "NoMatchError", "NoResourceError", "VersionMismatchError"]; + return e3.length > 0 && (t3 = t3.concat(e3), t3.sort()), new n2.default({ properties: { errorType: { allowableValues: t3, description: o.errorSchema.errorTypeDescription, type: "string" }, errorMessage: { description: o.errorSchema.errorMessageDescription, type: "string" } } }, false); + }; + const n2 = i2(31635).__importDefault(i2(57606)), o = i2(47957); + }, 24383(e2, t2, i2) { + "use strict"; + t2.terminatesFlow = t2.terminatesTask = t2.terminatesNextLoop = t2.terminatesExitLoop = t2.terminatesNone = t2.terminatesState = void 0; + const n2 = i2(47957); + class o { constructor(e3) { - super(e3), this._label = (0, o.dateTimeToDisplay)(this._model.modifiedDate); - } - get label() { - return this._label; + this.isTerminationInfo = true, this.flow = e3.terminatesFlow, this.task = e3.terminatesTask, this.state = e3.terminatesState, this.loop = e3.terminatesLoop, this.restartsLoop = e3.restartsLoop; } - get description() { - return this._model.name; + get doesTerminate() { + return this.flow || this.task || this.state || this.loop || this.restartsLoop; } - }; - }, 78870: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PropertyBaseSupportedSetService = void 0; - const n2 = i2(31635), r2 = i2(55299), o = n2.__importStar(i2(27099)); - class a extends r2.BaseClass { - get className() { - return "PropertyBaseSupportedSetService"; + get isNonLoopTerminating() { + return this.flow || this.task || this.state; } - getIsFlowEditable(e3, t3) { - return !t3.isReadOnly || this._propertyReasonsInstance.setFlowReadOnly(e3); + get terminatesLoop() { + return this.loop || this.restartsLoop; } - getIsFeatureToggleAvailable(e3, t3) { - return !!o.isEnabled(t3) || this._propertyReasonsInstance.setFeatureToggleUnavailable(e3, t3); + get label() { + return this.flow ? n2.task.endFlow : this.state ? n2.state.endState : this.task ? n2.task.endTask : this.loop ? n2.task.endLoop : this.restartsLoop ? n2.task.nextLoop : void 0; } } - t2.PropertyBaseSupportedSetService = a; - }, 78982: (e2, t2, i2) => { + t2.terminatesState = new o({ terminatesState: true }), t2.terminatesNone = new o({}), t2.terminatesExitLoop = new o({ terminatesLoop: true }), t2.terminatesNextLoop = new o({ restartsLoop: true }), t2.terminatesTask = new o({ terminatesTask: true }), t2.terminatesFlow = new o({ terminatesFlow: true }); + }, 19109(e2, t2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(43212); - class r2 extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3); - } - get className() { - return "ConversationSummarySettingViewModel"; - } - get getConfiguration() { - return this.model; - } - get id() { - return this.model.id; - } - get name() { - return this.model.name; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ActionTypeRegistry = void 0; + const i2 = "ArchAction"; + class n2 { + constructor() { + this._yamlNameToNodeInfo = /* @__PURE__ */ new Map(); } - get label() { - return this.model.name; + 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); + } } - get language() { - return this.model.language; + getNodeInfo(e3) { + return this._yamlNameToNodeInfo.get(e3); } - get summaryType() { - return this.model.summaryType; + 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.default = r2; - }, 79015: (e2, t2) => { + t2.ActionTypeRegistry = n2; + }, 43330(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GuideViewModel = void 0, t2.GuideViewModel = class { - constructor(e3) { - this._model = e3; - } - get className() { - return "GuideViewModel"; + 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 o2 = 0; o2 < e3.length; o2++) { + const r2 = e3[o2]; + y(r2) ? n3.push(r2) : t3 && t3.warn((0, p.sprintf)(_.configureFromModel.expectedObjectAtIndex, i3, o2, Array.isArray(r2) ? "array" : typeof r2)); } - get isBaseClass() { - return false; + return n3; + }; + const n2 = i2(31635), o = i2(79364), r = 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 id() { - return this._model.id; + get isNotStarted() { + return this._processingState === d.processingState.notStarted; } - get name() { - return this._model.name; + get isProcessing() { + return this._processingState === d.processingState.processing; } - set name(e3) { - this._model.name = e3; + get isComplete() { + return this._processingState === d.processingState.complete; } - get label() { - return this.name; + get isCancelled() { + return this._processingState === d.processingState.cancelled; } - get version() { - var e3; - return null === (e3 = this._model.latestProductionReadyVersion) || void 0 === e3 ? void 0 : e3.version; + cancel() { + this._processingState === d.processingState.processing && (this._processingState = d.processingState.cancelled, this.continueProcessing = false); } - }; - }, 79042: (e2, t2, i2) => { - const n2 = i2(45421); - e2.exports = class extends n2 { - constructor(e3) { - super(e3); + get isPaused() { + return this._paused; } - get className() { - return "BaseClipboardDependencyViewModel"; + pause() { + this._paused = true; } - get isBaseClipboardDependencyViewModel() { - return true; + resume() { + this._paused = false, this._resumeResolve && (this._resumeResolve(), this._resumeResolve = void 0); } - paste(e3) { - return this._performPaste(e3); + waitForResume() { + return this._paused ? new Promise((e3) => { + this._resumeResolve = e3; + }) : Promise.resolve(); } - _performPaste(e3) { - return this.createClipboardResultFailurePasteGeneric("BaseClipboardDependency::_performPaste being called on " + this.className + " instance. Inheriting classes should override."); + setProcessingState(e3) { + this._processingState = e3; } - }; - }, 79056: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeTimeslotOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get durationSecs() { + if (this.startDateTime && this.endDateTime) return (this.endDateTime.getTime() - this.startDateTime.getTime()) / 1e3; } constructor(e3) { - super(e3); + var t3; + this.continueProcessing = true, this._processingState = d.processingState.notStarted, this._paused = false, this._networkLiteralLookupRecords = [], this._lookupEntries = [], this._lookupProgress$ = new o.ReplaySubject(), this.lookupProgress$ = this._lookupProgress$.asObservable(), this._progress$ = new o.ReplaySubject(), this.progress$ = this._progress$.asObservable(), this._activity$ = new o.ReplaySubject(), this.activity$ = this._activity$.asObservable(), this._logger$ = new o.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 className() { - return "ExpressionTypeTimeslotOptions"; + get networkLiteralLookupRecords() { + return this._networkLiteralLookupRecords; } - get isExpressionTypeTimeslotOptions() { - return true; + recordNetworkLiteralLookup(e3) { + this._networkLiteralLookupRecords.push(e3); } - } - t2.ExpressionTypeTimeslotOptions = r2; - }, 79069: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.skillManager = t2.SkillManager = void 0; - const n2 = i2(31635), r2 = i2(24032), o = n2.__importStar(i2(1360)), a = n2.__importDefault(i2(47532)), s = i2(27862), l = i2(776); - class u extends a.default { - get dependencyType() { - return s.Skill; + get currentPath() { + return 0 === this._pathStack.length ? "/" : "/" + this._pathStack.join("/"); } - constructor() { - super(), this.topic = (0, r2.getTopic)("skillManager"), this.apiCallList = l.getSkills, this.apiCallSingle = l.getSkill, this.defaultMatchingStyle = o.startsWith, this.className = "SkillManager", this.dependencyContext = null, this._initialize(); + pushPath(e3) { + this._pathStack.push(e3); } - } - t2.SkillManager = u, t2.skillManager = new u(); - }, 79133: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Ez nem \xE9rv\xE9nyes.", noInputReceived: "Nem kaptam semmilyen visszajelz\xE9st." }, askForBoolean: { noInput: "Mondja az \u201Eigen\u201D lehet\u0151s\xE9get, ha folytatni szeretn\xE9, vagy a \u201Enem\u201D lehet\u0151s\xE9get, amennyiben nem.", noMatch: "K\xE9rem, mondja az \u201Eigen\u201D vagy a \u201Enem\u201D lehet\u0151s\xE9get. Szeretn\xE9 folytatni?", question: "Szeretn\xE9 folytatni?", noInputDigitalBot: "Adja meg az \u201EIgen\u201D lehet\u0151s\xE9get, ha folytatni szeretn\xE9, vagy a \u201ENem\u201D lehet\u0151s\xE9get, amennyiben nem.", noMatchDigitalBot: "K\xE9rem, adja meg az \u201EIgen\u201D vagy a \u201ENem\u201D lehet\u0151s\xE9get. Szeretn\xE9 folytatni?" }, askForIntent: { noInput: "Csak egy r\xF6vid mondatot mondjon, amely le\xEDrja a k\xE9rd\xE9s\xE9t. P\xE9ld\xE1ul: \u201EEllen\u0151rizze a sz\xE1ml\xE1m egyenleg\xE9t\u201D", noMatch: "Mondja el m\xE9g egyszer, mit szeretne tenni.", question: "Mit szeretne tenni?", noInputDigitalBot: "K\xE9rem, \xEDrjon be egy r\xF6vid mondatot, amely le\xEDrja a k\xE9rd\xE9s\xE9t. P\xE9ld\xE1ul: \u201EEllen\u0151rizze a sz\xE1ml\xE1m egyenleg\xE9t\u201D" }, askForSlot: { askFor: "K\xE9rje a(z) %1$s lehet\u0151s\xE9get", noInput: "K\xE9rem, mondja vagy \xEDrja be (k\xE9rem, \xEDrja be ide a slot nev\xE9t).", noInputWithSlot: "K\xE9rem, mondja vagy \xEDrja be a(z) %1$s lehet\u0151s\xE9get.", noMatch: "K\xE9rem, mondja el \xFAjra a(z) (k\xE9rem, \xEDrja be ide a slot nev\xE9t) nevet.", noMatchWithSlot: "K\xE9rem, adja meg \xFAjra a(z) %1$s lehet\u0151s\xE9get.", question: "Mi a(z) (k\xE9rem, \xEDrja be ide a slot nev\xE9t)?", questionWithSlot: "Mi a(z) %1$s?", pleaseEnterSlotNameHere: "(k\xE9rem, \xEDrja be ide a slot nev\xE9t)", noInputDigitalBot: "K\xE9rem, \xEDrja be a(z) (k\xE9rem, \xEDrja be ide a slot nev\xE9t) nevet.", noInputWithSlotDigitalBot: "K\xE9rem, \xEDrja be a(z) %1$s lehet\u0151s\xE9get.", continuationPromptWithSlot: "Eddig a k\xF6vetkez\u0151t:{{Slot.%1$s}} kaptam, k\xE9rem, folytassa." }, askForNextSlot: { noInput: "Mondja az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a h\xEDv\xE1st.", noMatch: "Mondja az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a munkamenetet.", question: "Seg\xEDthetek m\xE9g valamiben?", noInputDigitalBot: "Adja meg az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a munkamenetet.", noMatchDigitalBot: "Adja meg az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a munkamenetet." }, askForPayment: { noInputDigitalBot: "K\xE9rem, adja meg fizet\xE9si adatait a folytat\xE1shoz.", noMatchDigitalBot: "Nem \xE9rtettem a v\xE1lasz\xE1t. K\xE9rem, pr\xF3b\xE1lja meg \xFAjra." }, askForAuthentication: { noInputDigitalBot: "K\xE9rem, adja meg hiteles\xEDt\xE9si adatait a folytat\xE1shoz.", noMatchDigitalBot: "Nem \xE9rtettem a v\xE1lasz\xE1t. K\xE9rem, pr\xF3b\xE1lja meg \xFAjra." }, askSurveyQuestion: { notApplicable: "Nem alkalmazhat\xF3", surveyAnswerOptionSequence: "Nyomja meg a(z) %1$s for '%2$s lehet\u0151s\xE9get'.", surveyAnswerNotApplicableSequence: "Nyomja meg a csillag gombot a \u201ENem alkalmazhat\xF3\u201D kiv\xE1laszt\xE1s\xE1hoz.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Nyomja meg a csillag gombot a \u201ENem alkalmazhat\xF3\u201D kiv\xE1laszt\xE1s\xE1hoz.", voiceSurveyNoInputText: "K\xE9rem, v\xE1laszoljon a k\xE9rd\xE9sre.", voiceSurveyNoMatchText: "Nem \xE9rtettem." }, commonModule: { exitCommonModule: "Kil\xE9p\xE9s a k\xF6z\xF6s modulb\xF3l" }, form: { noInputDigitalBot: "K\xE9rem, t\xF6ltse ki az \u0171rlapot a folytat\xE1shoz.", noMatchDigitalBot: "K\xE9rem, t\xF6ltse ki az \u0171rlapot a folytat\xE1shoz." }, messagingTemplate: { noInputDigitalBot: "K\xE9rj\xFCk, v\xE1lassza az al\xE1bbi lehet\u0151s\xE9gek egyik\xE9t.", noMatchDigitalBot: "K\xE9rj\xFCk, v\xE1lassza az al\xE1bbi lehet\u0151s\xE9gek egyik\xE9t." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Folytat\xE1s", knowledgeAnswerHighlightFullArticleDefault: "Teljes cikk megtekint\xE9se", knowledgeInitialResponseMulti: "Ahhoz, hogy jobban meg\xE9rtsem c\xE9lj\xE1t, k\xE9rem, v\xE1lasszon egy sz\xE1mot az al\xE1bbi list\xE1b\xF3l:", knowledgeInitialResponseMultiRetry: "K\xE9rem, v\xE1lasszon egy sz\xE1mot, p\xE9ld\xE1ul \u201E1\u201D.\nItt van \xFAjra a lehet\u0151s\xE9gek list\xE1ja:", knowledgeNoMatch: "Ezek k\xF6z\xFCl egyik sem", knowledgeConfirmation: "Ezzel v\xE1laszt kapott a k\xE9rd\xE9s\xE9re?", knowledgeFollowup: "Rem\xE9lem, megv\xE1laszoltam a k\xE9rd\xE9s\xE9t. B\xE1rmi m\xE1st is k\xE9rdezhet, amit csak tudni szeretne." }, noOverlay: { intent: { intentConfirmationStr1: "Azt hiszem, azt szeretn\xE9, hogy", intentConfirmationStr2: "Igazam van?" }, youSaid: { youSaidConfirmationStr1: "Azt mondta, hogy", youSaidConfirmationStr2: "Igazam van?", youSaidConfirmationStr1DigitalBot: "Azt \xEDrta be, hogy" }, noInput: { noInputStr1: "K\xE9rem, mondja vagy \xEDrja be a k\xF6vetkez\u0151t:", noInputStr1DigitalBot: "K\xE9rem, \xEDrja be a k\xF6vetkez\u0151t:" }, noMatch: { noMatchStr1: "K\xE9rem, adja meg nekem a k\xF6vetkez\u0151t:" }, whatIs: { whatIsQuestionStr1: "Mi a(z)", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Eddig a k\xF6vetkez\u0151t:", iGotContinuationStr2: "kaptam, k\xE9rem folytassa." } }, defaultCallFlowOne: "Alap\xE9rtelmezett h\xEDv\xE1sfolyamat", errorHandlingAgentEscalationConfirmation: "\xD6n egy tan\xE1csad\xF3val szeretne besz\xE9lni. Igazam van?", errorHandlingAgentEscalationHandover: "Egy pillanat, k\xE9rem, \xE9s \xF6sszek\xF6t\xF6m valakivel.", errorHandlingErrorEventHandover: "Sajn\xE1lom, hiba t\xF6rt\xE9nt. K\xE9rem, v\xE1rjon egy pillanatot, am\xEDg \xE1tkapcsolom \xD6nt valakihez, aki seg\xEDteni tud.", errorHandlingErrorEventHandoverVoiceSurvey: "Sajn\xE1lom, hiba t\xF6rt\xE9nt. Viszl\xE1t!", errorHandlingRecognitionEventHandover: "Sajn\xE1lom, nem \xE9rtem, amit mond. K\xE9rem, v\xE1rjon egy pillanatot, am\xEDg \xE1tkapcsolom \xD6nt valakihez, aki seg\xEDteni tud.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Sajn\xE1lom, nem \xE9rtem, amit mond. Viszl\xE1t!", errorHandlingTTS: "Sajn\xE1lom, hiba t\xF6rt\xE9nt. K\xE9rem, pr\xF3b\xE1lja meg \xFAjra a h\xEDv\xE1st.", initialGreetingTTS: "\xDCdv\xF6zl\xF6m, ez az els\u0151 \xFCdv\xF6zl\u0151 \xFCzenet.", initialState: "Kezdeti \xE1llapot", initialBotState: "Alap\xE9rtelmezett bot", initialDigitalBotState: "\xDCdv\xF6zl\u0151 \xFCzenet", initialSurveyBotState: "Felm\xE9r\xE9si bot", intentConfirmation: "Azt hiszem, \xD6n a k\xF6vetkez\u0151t szeretn\xE9 tenni: %1$s, igazam van?", mainMenu: "F\u0151men\xFC", mainMenuTTS: "\xD6n a f\u0151men\xFCben van, nyomja meg a 9-es gombot a kapcsolat bont\xE1s\xE1hoz", mainTask: "Feladat", settingsConfirmationNoInputApology: "Sajn\xE1lom, nem hallottam. K\xE9rem, mondja az igen vagy a nem lehet\u0151s\xE9get.", settingsConfirmationNoInputApologyDigitalBot: "Sajn\xE1lom, nem kaptam \xD6nt\u0151l semmilyen visszajelz\xE9st. K\xE9rem, \xEDrja be a \u201EIgen\u201D vagy a \u201ENem\u201D lehet\u0151s\xE9get.", settingsConfirmationNoMatchApology: "K\xE9rem, mondja az igen vagy a nem lehet\u0151s\xE9get.", settingsConfirmationNoMatchApologyDigitalBot: "Sajn\xE1lom, k\xE9rem, adja meg a \u201EIgen\u201D vagy a \u201ENem\u201D lehet\u0151s\xE9get.", settingsNoInputApology: "Sajn\xE1lom, nem hallottam.", settingsNoInputApologyDigitalBot: "Sajn\xE1lom, nem kaptam \xD6nt\u0151l semmilyen visszajelz\xE9st.", settingsEndOfSessionMessageDigitalBot: "Egy ideje nem hallottam \xD6nr\u0151l, ez\xE9rt bez\xE1rom ezt a cseveg\xE9st. K\xE9rem, t\xE9rjen vissza, ha \xFAjra sz\xFCks\xE9ge van a seg\xEDts\xE9gemre. K\xF6sz\xF6n\xF6m.", settingsNoMatchApology: "Sajn\xE1lom.", settingsNoToConfirmationApology: "Az \xE9n hib\xE1m.", periodicStateName: "Ism\xE9tl\u0151d\u0151 \xE1llapot" }; - }, 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), 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 d.error(i3), new Error(i3); - } - class _ extends u.BaseClass { - constructor() { - super(...arguments), this._operations = []; + popPath() { + this._pathStack.pop(); } - get className() { - return "AsyncOperationManager"; + get sourcePath() { + return 0 === this._sourcePathStack.length ? "/" : "/" + this._sourcePathStack.join("/"); } - _cleanOperation(e3, t3, i3) { - p(this, "_cleanOperation"); + pushSourcePath(e3) { + this._sourcePathStack.push(e3); } - _pollingDisallowedBehavior(e3) { + popSourcePath() { + this._sourcePathStack.pop(); } - _clearTimeouts(e3) { - e3._emergencyPollTimeoutId && (clearTimeout(e3._emergencyPollTimeoutId), e3._emergencyPollTimeoutId = void 0), e3._abandonTimeoutId && (clearTimeout(e3._abandonTimeoutId), e3._abandonTimeoutId = void 0), e3._emergencyPollingTimeoutId && (clearTimeout(e3._emergencyPollingTimeoutId), e3._emergencyPollingTimeoutId = void 0); + registerDeferredOp(e3) { + this._deferredOps.push(e3); } - _emergencyPollProcessing(e3, t3) { - p(this, "_emergencyPollProcessing"); + get deferredOps() { + return this._deferredOps; } - _emergencyPollNetworkCall(e3) { - p(this, "_emergencyPollNetworkCall"); + get messages() { + return this._messages; } - _startEmergencyPollRetryTimer(e3) { - e3._emergencyPollTimeoutId = setTimeout(() => { - this._doEmergencyPoll(e3); - }, e3.emergencyPollingRetryTimeoutMS); + 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 o2 = this._messagesByLevel.get(e3); + return o2 || (o2 = [], this._messagesByLevel.set(e3, o2)), o2.push(n3), n3; } - _doEmergencyPoll(e3) { - if (e3.logTopic.info("invoking emergency poll network call"), !e3.emergencyRequestPending) { - e3.emergencyRequestPending = true; - const t3 = this._emergencyPollNetworkCall(e3); - if (!t3 || !t3.then) return; - t3.then((t4) => { - this._emergencyPollProcessing(t4, e3), e3.operationStillInProgress && !e3.stopEmergencyPolling ? this._startEmergencyPollRetryTimer(e3) : e3.stopEmergencyPolling && (e3.stopEmergencyPolling = void 0); - }, (t4) => { - t4 && 404 === t4.status && e3.retryEmergencyPollOn404 ? this._startEmergencyPollRetryTimer(e3) : (e3.logTopic.errorPromise(t4, "_emergencyPollNetworkCall failed"), this._cleanOperation(false, e3)); - }).finally(() => e3.emergencyRequestPending = false); - } + getMessagesForLogLevel(e3) { + return this._messagesByLevel.get(e3) || []; } - _finished(e3) { - 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); + addErrorMessage(e3) { + const t3 = this.addMessage(c.LogLevel.Error, e3); + return this.error(e3), t3; } - _loadNewModelDetails(e3, t3) { - p(this, "_loadNewModelDetails"); + addWarningMessage(e3) { + const t3 = this.addMessage(c.LogLevel.Warning, e3); + return this.warn(e3), t3; } - _performOperation(e3) { - const t3 = o.default.extEnsureArray(e3.subscriptionTopics); - if (this._operations.find((i4) => { - if (i4.subscribedToNotifications) { - const n3 = o.default.extEnsureArray(i4.subscriptionTopics); - if (o.default.intersection(t3, n3).length) return !e3.flowViewModel || !i4.flowViewModel || e3.flowViewModel.instanceId === i4.flowViewModel.instanceId; - } - })) { - const t4 = "duplicate or overlapping async operation encountered, aborting"; - return e3.logTopic.warning(t4), e3.deferredOperation.reject(t4), e3.deferredOperation.promise; - } - this._operations.push(e3), e3.startAbandonProcessingTimeout = () => { - e3._abandonTimeoutId = setTimeout(this._abandonProcessing.bind(this, e3), e3.abandonProcessingTimeoutMS); - }, e3.autoStartEmergencyPolling = void 0 === e3.autoStartEmergencyPolling || e3.autoStartEmergencyPolling; - let i3 = false; - if (a.isConnected() ? this._subscribeToEventNotifications(e3) : e3.disallowPolling ? this._pollingDisallowedBehavior && this._pollingDisallowedBehavior(e3) : i3 = true, e3.operationToPerform) { - const t4 = (t5) => { - e3.logTopic.errorPromise(t5, "Operation failed"), this._cleanOperation(false, e3, t5); - }; - try { - (e3.subscribePromise || r2.default.resolve()).finally(() => { - e3._operationStillInProgress && (e3._initialOperationPending = true, e3.operationToPerform(e3).then(() => { - e3._initialOperationPending = void 0, e3._unprocessedNotifications && (o.default.each(e3._unprocessedNotifications, (t5) => { - const i4 = Date.now() - t5.received; - i4 > e3.staleNotificationTimeMS ? e3.logTopic.warning("Ignoring unprocessed notification because it has become stale at {}ms, exceeds {}ms", i4, e3.staleNotificationTimeMS) : this._processNotification(e3, t5.notification); - }), e3._unprocessedNotifications = void 0, e3.operationStillInProgress) || (i3 ? (e3.logTopic.warning("Emergency polling will be used for this operation because no notification channel is available."), this._doEmergencyPoll(e3)) : !e3.disallowPolling && e3.autoStartEmergencyPolling && this.startEmergencyPollingTimer(e3)); - }).catch((e4) => { - t4(e4); - })); - }); - } catch (e4) { - t4(e4); - } - } - return e3.stateChangedCallBack && c.emitter.on(c.stateChangeStarted, e3.stateChangedCallBack), e3.deferredOperation.promise.catch(() => { - }).finally(() => { - this._finished(e3); - }), e3.deferredOperation.promise; + addInfoMessage(e3) { + const t3 = this.addMessage(c.LogLevel.Info, e3); + return this.debug(e3), t3; } - _processNotification(e3, t3) { - p(this, "_processNotification"); + getErrorCount() { + return this.getMessagesForLogLevel(c.LogLevel.Error).length; } - _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.isPending() && e3.deferredOperation.reject())); + getWarningCount() { + return this.getMessagesForLogLevel(c.LogLevel.Warning).length; } - _removeEventNotifications(e3) { - e3 && (e3.subscribedToNotifications = false, a.removeSubscription(e3.subscriptionTopics, e3.subscriberId)); + getInfoCount() { + return this.getMessagesForLogLevel(c.LogLevel.Info).length; } - _removeSingleNotificationTopic(e3, t3) { - e3 && (o.default.contains(e3.subscriptionTopics, t3) ? (e3.subscriptionTopics = o.default.without(e3.subscriptionTopics, t3), a.removeSubscription(t3, e3.subscriberId)) : e3.logTopic.error("Unknown topic to remove: {}", t3)); + hasErrors() { + return this.getErrorCount() > 0; } - getOperationsWithSubscriptionTopic(e3) { - const t3 = []; - return o.default.each(this._operations, (i3) => { - o.default.isArray(i3.subscriptionTopics) ? o.default.contains(i3.subscriptionTopics, e3) && t3.push(i3) : i3.subscriptionTopics === e3 && t3.push(i3); - }), t3; + hasWarnings() { + return this.getWarningCount() > 0; } - startEmergencyPollingTimer(e3) { - e3._emergencyPollingTimeoutId || (e3._emergencyPollingTimeoutId = setTimeout(() => { - clearTimeout(e3._emergencyPollingTimeoutId), e3._emergencyPollingTimeoutId = void 0, e3.logTopic.warning("Emergency polling started because operation did not complete within " + e3.emergencyPollingTimeout + " seconds."), this._doEmergencyPoll(e3); - }, e3.emergencyPollingTimeoutMS), e3.startAbandonProcessingTimeout()); + hasInfo() { + return this.getInfoCount() > 0; } - _subscribeToEventNotifications(e3) { - e3 && (e3.subscribedToNotifications ? e3.logTopic.error("already looking at notifications") : (e3.subscribePromise = a.addSubscription(e3.subscriptionTopics, e3.subscriberId, (t3) => { - e3._initialOperationPending ? (e3._unprocessedNotifications || (e3._unprocessedNotifications = []), e3._unprocessedNotifications.push({ notification: t3, received: Date.now() })) : e3.operationStillInProgress && this._processNotification(e3, t3); - }).catch((t3) => { - t3.isAborted && (e3.logTopic.requestError(t3, "notification subscribe was aborted, cancelling operation"), this._cleanOperation(false, e3)); - }), e3.subscribedToNotifications = true)); + 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 }) }); } - } - t2.default = _; - }, 79163: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(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 }) }); } - get _globalTypeName() { - return "externalPhoneNumber"; + 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 }); } - get display() { + reportProgress(e3) { + this._progress$.next(e3); } - get extension() { + setDeferSyncPropertySetActivity(e3) { + this._deferSyncPropertySetActivity = e3; } - get userInput() { + consumeDeferSyncPropertySetActivity() { + const e3 = this._deferSyncPropertySetActivity; + return this._deferSyncPropertySetActivity = false, e3; } - get e164() { + markDeferredPropertyActivity(e3) { + var t3; + this._pendingDeferredPropertyActivityByObjectId.set(e3, (null !== (t3 = this._pendingDeferredPropertyActivityByObjectId.get(e3)) && void 0 !== t3 ? t3 : 0) + 1); } - get countryCode() { + 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); } - get acceptsSMS() { + getPendingDeferredPropertyActivityCount(e3) { + var t3; + return null !== (t3 = this._pendingDeferredPropertyActivityByObjectId.get(e3)) && void 0 !== t3 ? t3 : 0; } - get displayTypeName() { - return "ArchValueExternalPhoneNumber"; + buildPropertyLookupFailedMessage(e3, t3, i3, n3) { + const o2 = null != n3 ? n3 : "statements" === e3 ? f.updateVariables.updateStatement : e3; + return `${(0, p.sprintf)(_.changeSet.activity.propertyConfigureFailed, o2, t3)} ${i3 === u.entityLookupValueType.identifier ? _.changeSet.activity.entityLookupFailedById : _.changeSet.activity.entityLookupFailedByName}`; } - get isArchValueExternalPhoneNumber() { - return true; + buildUpdateStatementLookupFailedMessage(e3, t3, i3) { + return `${(0, p.sprintf)(_.changeSet.activity.updateStatementLookupFailed, String(e3), t3)} ${i3 === u.entityLookupValueType.identifier ? _.changeSet.activity.entityLookupFailedById : _.changeSet.activity.entityLookupFailedByName}`; } - } - t2.default = r2; - }, 79183: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + reportActivity(e3) { + "propertySet" !== e3.type && "variableAutoCreated" !== e3.type || this.propertySetCount++, this._activity$.next(e3); } - get _globalTypeName() { - return "workitemEventData"; + registerAutoCreatedVariable(e3) { + this._autoCreatedVariables.push(e3); } - get initialValue() { - return this._initialValue; + getAutoCreatedVariables() { + return this._autoCreatedVariables; } - get displayTypeName() { - return "ArchVariableWorkitemEventData"; + getAutoCreatedVariablesForDisplay() { + return (0, r.formatVariableDisplayNames)(this._autoCreatedVariables); } - get isArchVariableWorkitemEventData() { - return true; + get lookupProgress() { + let e3 = 0, t3 = 0, i3 = 0; + const n3 = {}; + for (const o2 of this._lookupEntries) { + const r2 = n3[o2.entityType] || (n3[o2.entityType] = { total: 0, completed: 0, pending: 0, failed: 0 }); + r2.total++, o2.status === m.lookupStatus.pending ? (t3++, r2.pending++) : o2.status === m.lookupStatus.notFound ? (e3++, i3++, r2.completed++, r2.failed++) : (e3++, r2.completed++); + } + return { total: this._lookupEntries.length, completed: e3, pending: t3, failed: i3, byEntityType: n3 }; } - } - t2.default = r2; - }, 79186: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Ceci 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 ?' }, askForIntent: { noInput: 'Dites simplement une phrase courte d\xE9crivant votre requ\xEAte. Par exemple, "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 ?", 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: "Veuillez fournir vos informations de paiement pour continuer.", noMatchDigitalBot: "Je n\u2019ai pas compris votre r\xE9ponse. Veuillez r\xE9essayer." }, askForAuthentication: { noInputDigitalBot: "Veuillez vous authentifier pour continuer.", noMatchDigitalBot: "Je n\u2019ai pas compris votre r\xE9ponse. Veuillez r\xE9essayer." }, 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: "Merci de r\xE9pondre \xE0 la question.", voiceSurveyNoMatchText: "Je n'ai pas compris." }, commonModule: { exitCommonModule: "Quitter le module commun" }, form: { noInputDigitalBot: "Veuillez compl\xE9ter le formulaire pour continuer.", noMatchDigitalBot: "Veuillez compl\xE9ter le formulaire pour continuer." }, messagingTemplate: { noInputDigitalBot: "Veuillez s\xE9lectionner l\u2019une des options disponibles.", noMatchDigitalBot: "Veuillez s\xE9lectionner l\u2019une 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: "Cela a-t-il r\xE9pondu \xE0 votre question ?", knowledgeFollowup: "J'esp\xE8re avoir r\xE9pondu \xE0 votre question. Vous pouvez poser toutes les questions que vous souhaitez." }, noOverlay: { intent: { intentConfirmationStr1: "Je pense que vous voulez", 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: "D\xE9sol\xE9, une erreur s'est produite. Merci de patienter pendant que je vous transf\xE8re \xE0 une personne qui peut vous aider.", errorHandlingErrorEventHandoverVoiceSurvey: "Une erreur s'est produite. Au revoir !", errorHandlingRecognitionEventHandover: "D\xE9sol\xE9, j'ai du mal \xE0 vous comprendre. Merci de patienter pendant que je vous transf\xE8re \xE0 une personne qui peut vous aider.", errorHandlingRecognitionEventHandoverVoiceSurvey: "D\xE9sol\xE9, j'ai du mal \xE0 vous comprendre. Toutes nos excuses. Au revoir !", errorHandlingTTS: "D\xE9sol\xE9, une erreur s'est produite. Veuillez r\xE9essayer votre appel..", 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" }; - }, 79200: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(95085)), o = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)); - class s extends r2.default { - constructor(e3) { - super(e3), this._timeout = this.coreFactory.createArchWrapper(e3.timeout), this._processingPrompt = this.coreFactory.createArchWrapper(e3.processingPrompt); + get lookupEntries() { + return this._lookupEntries; } - _clearInputsOutputs() { - this._dataActionInputs = void 0, this._dataActionOutputsSuccess = void 0, this._dataActionOutputsFailure = void 0; + registerLookup(e3, t3, i3) { + const n3 = this._lookupEntries.find((n4) => n4.entityType === e3 && n4.lookupValue === t3 && n4.lookupValueType === i3); + if (n3) return n3; + const o2 = { entityType: e3, lookupValue: t3, lookupValueType: i3, status: m.lookupStatus.pending, targets: [] }; + return this._lookupEntries.push(o2), this.changeSetResults.recordLookupRegistered(e3), this._emitLookupProgress(h.LookupReason.LOOKUP_ADDED, o2), o2; } - get displayTypeName() { - return "ArchBaseActionDataAction"; + resolveLookup(e3) { + e3.status === m.lookupStatus.pending && (e3.status = m.lookupStatus.found, this.changeSetResults.recordLookupResolved(e3.entityType), this._emitLookupProgress(h.LookupReason.LOOKUP_RESOLVED, e3)); } - get dataActionInputs() { - return this._dataActionInputs || (this._dataActionInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._dataActionInputs; + failLookup(e3) { + e3.status === m.lookupStatus.pending && (e3.status = m.lookupStatus.notFound, this.changeSetResults.recordLookupFailed(e3.entityType), this._emitLookupProgress(h.LookupReason.LOOKUP_FAILED, e3)); } - get dataActionOutputsFailure() { - if (this._getCoreViewModel().allowErrorSchema) return this._dataActionOutputsFailure || (this._dataActionOutputsFailure = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().errorBindings)), this._dataActionOutputsFailure; + _emitLookupProgress(e3, t3) { + const i3 = { reason: e3, entityType: t3.entityType, lookupValue: t3.lookupValue, progress: this.lookupProgress }; + this._lookupProgress$.next(i3); } - get dataActionOutputsSuccess() { - return this._dataActionOutputsSuccess || (this._dataActionOutputsSuccess = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().outputs)), this._dataActionOutputsSuccess; + }; + }, 50062(e2, t2, i2) { + "use strict"; + t2.ContextMessage = void 0; + const n2 = i2(85006); + t2.ContextMessage = class { + constructor(e3) { + this._model = e3; } - get isArchBaseActionDataAction() { - return true; + get displayMessage() { + return this._model.displayMessage; } - _setIntegrationActionByIdAsync(e3, t3, i3) { - return this._checkItemIsValidLiteralString(this._infoParm("integrationActionId", "setIntegrationActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setIntegrationActionByIdAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("integrationActionType", "setIntegrationActionByIdAsync"), i3, false), i3 = (i3 || "integration") + "action", o.default.findItemByIdAsync(this._getCoreViewModel().serverManager, e3, i3 + " id").then((n3) => (this.logNote("found the " + i3 + " named '" + n3.name + "' for the " + i3 + " ID of '" + e3 + "'"), this._coreActionViewModel.setIntegrationActionByViewModel(n3), this._clearInputsOutputs(), a.default.executeCallback(this, "setIntegrationActionByIdAsync", t3, this))); + get level() { + return this._model.level; } - get timeout() { - return this._timeout; + get contextPath() { + return this._model.contextPath; } - get processingPrompt() { - return this._processingPrompt; + get sourcePath() { + return this._model.sourcePath; } - get supportsDataActionOutputsFailure() { - return !!this._getCoreViewModel().allowErrorSchema; + get isError() { + return this._model.level === n2.LogLevel.Error; } - get useSuggestedTimeout() { - return this._coreActionViewModel.useSuggestedTimeout; + get isWarning() { + return this._model.level === n2.LogLevel.Warning; } - set useSuggestedTimeout(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "useSuggestedTimeout"), e3, false), this._coreActionViewModel.useSuggestedTimeout = e3; + get isInfo() { + return this._model.level === n2.LogLevel.Info; } - } - t2.default = s; - }, 79224: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.refCount = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.refCount = function() { - return n2.operate(function(e3, t3) { - var i3 = null; - e3._refCount++; - var n3 = r2.createOperatorSubscriber(t3, void 0, void 0, void 0, function() { - if (!e3 || e3._refCount <= 0 || 0 < --e3._refCount) i3 = null; - else { - var n4 = e3._connection, r3 = i3; - i3 = null, !n4 || r3 && n4 !== r3 || n4.unsubscribe(), t3.unsubscribe(); - } - }); - e3.subscribe(n3), n3.closed || (i3 = e3.connect()); - }); }; - }, 79238: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.name = void 0, this.state = void 0, this.addresses = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "Group"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, deleted: { get: function() { - return "deleted" === this.state; - } }, hasExtension: { get: function() { - return this.addresses && this.addresses.length > 0; - } } }), e2.exports = n2; - }, 79348: (e2, t2, i2) => { + }, 95465(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), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends l.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); - } - static get branchInfo() { - return o.default.foundNotFound; + Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowModelSchemaService = void 0; + const n2 = i2(82632); + class o { + static getSchema(e3) { + let t3 = o._schemaCache.get(e3); + return t3 || (t3 = o._buildSchema(e3), o._schemaCache.set(e3, t3)), t3; } - 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: p.createYamlOptions("participantId", (e3) => e3.setExportOrder(20)) }]; + 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 }; } } - 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) { - Object.defineProperties(this, { canAttachProperty: { value: true, writable: true }, isUnavailable: { value: false, writable: true }, _isReadOnly: { value: e3.isReadOnly, writable: true }, properties: { value: {} }, realVariable: { value: e3 } }), this._cloneRealModel(); - } - r2.extend(l), Object.defineProperties(l.prototype, { _cloneRealModel: { value: function() { - this.name = this.realVariable.name, n2.each(this.realVariable.model, function(e3, t3) { - this[t3] = e3; - }.bind(this)), this.__type = this.__type || this.realVariable.model.__type; - } }, addReader: { value: function(e3) { - return this.realVariable.addReader(e3); - } }, addWriter: { value: function(e3) { - return this.realVariable.addWriter(e3); - } }, attachProperty: { value: function(e3) { - this.canAttachProperty && (this.expressionText = this.name + "." + e3.expressionText, this.name += "." + e3.name, this.lastPropertyName = e3.name, this.id += "." + e3.id, this.isCollection = e3.type.isCollection, this.__type = e3.type.icwsType, this.typeIdentifier = e3.type.expressionType, this.description = e3.description, e3.isUnavailable && (this.isUnavailable = true), this.properties[e3.name.toLowerCase()] = e3, e3.type.isCollection && (this.canAttachProperty = false)); - } }, checkVersion: { value: function(e3) { - this.realVariable.checkVersion(e3), n2.each(this.properties, function(t3) { - t3.checkVersion(e3); - }); - } }, deleteItem: { value: function(e3) { - } }, deleteReference: { value: function(e3) { - return this.realVariable.deleteReference(e3); - } }, expandedKey: { get: function() { - return a.getExpandedKey(this.name, this.id, this.parent); - } }, getExpressionTextWithNameFallback: { value: function() { - return this.expressionText ? this.expressionText : this.name; - } }, hierarchicalParent: { get: function() { - return this._hierarchicalParent; - }, set: function(e3) { - this._hierarchicalParent = e3; - } }, iconGux: { get: function() { - return this.type.getIconGux(); - } }, isClone: { value: true }, isFlowVariable: { get: function() { - return this.realVariable.isFlowVariable; - } }, isSecure: { get: function() { - return this.realVariable.isSecure; - }, set: function() { - } }, isSystemOrFlowVariable: { get: function() { - return this.realVariable.isSystemOrFlowVariable; - } }, isSystemVariable: { get: function() { - return this.realVariable.isSystemVariable; - } }, isTaskVariable: { get: function() { - return this.realVariable.isTaskVariable; - } }, isReadOnly: { get: function() { - return this._isReadOnly; - }, set: function(e3) { - this._isReadOnly = e3; - } }, isStateVariable: { get: function() { - return this.realVariable.isStateVariable; - } }, isVariableClone: { get: function() { - return true; - } }, lowerName: { get: function() { - return this.name.toLocaleLowerCase(); - } }, lowerUnscopedName: { get: function() { - return this.unscopedName.toLocaleLowerCase(); - } }, removeUsage: { value: function(e3) { - return this.realVariable.removeUsage(e3); - } }, parent: { get: function() { - return this.realVariable.parent; - } }, parentFlow: { get: function() { - return this.realVariable.parentFlow; - } }, type: { get: function() { - 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); - } }, 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; - }, 79364: function(e2, t2, i2) { + t2.FlowModelSchemaService = o, o._schemaCache = /* @__PURE__ */ new Map(); + }, 33573(e2, t2) { "use strict"; - var n2 = this && this.__createBinding || (Object.create ? function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3), Object.defineProperty(e3, n3, { enumerable: true, get: function() { - return t3[i3]; - } }); - } : function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; - }), r2 = this && this.__exportStar || function(e3, t3) { - for (var i3 in e3) "default" === i3 || Object.prototype.hasOwnProperty.call(t3, i3) || n2(t3, e3, i3); + Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowModelValidator = void 0, t2.FlowModelValidator = class { + static validate(e3, t3) { + const i2 = []; + for (const [n2, o] of Object.entries(t3.properties)) { + const t4 = e3[n2]; + o.required && null == t4 ? i2.push({ fieldPath: n2, message: `Required property '${n2}' is missing.`, facet: "required", facetValue: true }) : null != t4 && (typeof t4 === o.type ? "string" === o.type && "string" == typeof t4 && (void 0 !== o.minLength && t4.length < o.minLength && i2.push({ fieldPath: n2, message: `Property '${n2}' length ${t4.length} is below minimum ${o.minLength}.`, facet: "minLength", facetValue: o.minLength, actualValue: t4.length }), void 0 !== o.maxLength && t4.length > o.maxLength && i2.push({ fieldPath: n2, message: `Property '${n2}' length ${t4.length} exceeds maximum ${o.maxLength}.`, facet: "maxLength", facetValue: o.maxLength, actualValue: t4.length })) : i2.push({ fieldPath: n2, message: `Property '${n2}' must be a ${o.type}; got ${typeof t4}.`, facet: "type", facetValue: o.type, actualValue: typeof t4 })); + } + return { valid: 0 === i2.length, errors: i2 }; + } }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.interval = t2.iif = t2.generate = t2.fromEventPattern = t2.fromEvent = t2.from = t2.forkJoin = t2.empty = t2.defer = t2.connectable = t2.concat = t2.combineLatest = t2.bindNodeCallback = t2.bindCallback = t2.UnsubscriptionError = t2.TimeoutError = t2.SequenceError = t2.ObjectUnsubscribedError = t2.NotFoundError = t2.EmptyError = t2.ArgumentOutOfRangeError = t2.firstValueFrom = t2.lastValueFrom = t2.isObservable = t2.identity = t2.noop = t2.pipe = t2.NotificationKind = t2.Notification = t2.Subscriber = t2.Subscription = t2.Scheduler = t2.VirtualAction = t2.VirtualTimeScheduler = t2.animationFrameScheduler = t2.animationFrame = t2.queueScheduler = t2.queue = t2.asyncScheduler = t2.async = t2.asapScheduler = t2.asap = t2.AsyncSubject = t2.ReplaySubject = t2.BehaviorSubject = t2.Subject = t2.animationFrames = t2.observable = t2.ConnectableObservable = t2.Observable = void 0, t2.filter = t2.expand = t2.exhaustMap = t2.exhaustAll = t2.exhaust = t2.every = t2.endWith = t2.elementAt = t2.distinctUntilKeyChanged = t2.distinctUntilChanged = t2.distinct = t2.dematerialize = t2.delayWhen = t2.delay = t2.defaultIfEmpty = t2.debounceTime = t2.debounce = t2.count = t2.connect = t2.concatWith = t2.concatMapTo = t2.concatMap = t2.concatAll = t2.combineLatestWith = t2.combineLatestAll = t2.combineAll = t2.catchError = t2.bufferWhen = t2.bufferToggle = t2.bufferTime = t2.bufferCount = t2.buffer = t2.auditTime = t2.audit = t2.config = t2.NEVER = t2.EMPTY = t2.scheduled = t2.zip = t2.using = t2.timer = t2.throwError = t2.range = t2.race = t2.partition = t2.pairs = t2.onErrorResumeNext = t2.of = t2.never = t2.merge = void 0, t2.switchMap = t2.switchAll = t2.subscribeOn = t2.startWith = t2.skipWhile = t2.skipUntil = t2.skipLast = t2.skip = t2.single = t2.shareReplay = t2.share = t2.sequenceEqual = t2.scan = t2.sampleTime = t2.sample = t2.refCount = t2.retryWhen = t2.retry = t2.repeatWhen = t2.repeat = t2.reduce = t2.raceWith = t2.publishReplay = t2.publishLast = t2.publishBehavior = t2.publish = t2.pluck = t2.pairwise = t2.onErrorResumeNextWith = t2.observeOn = t2.multicast = t2.min = t2.mergeWith = t2.mergeScan = t2.mergeMapTo = t2.mergeMap = t2.flatMap = t2.mergeAll = t2.max = t2.materialize = t2.mapTo = t2.map = t2.last = t2.isEmpty = t2.ignoreElements = t2.groupBy = t2.first = t2.findIndex = t2.find = t2.finalize = void 0, t2.zipWith = t2.zipAll = t2.withLatestFrom = t2.windowWhen = t2.windowToggle = t2.windowTime = t2.windowCount = t2.window = t2.toArray = t2.timestamp = t2.timeoutWith = t2.timeout = t2.timeInterval = t2.throwIfEmpty = t2.throttleTime = t2.throttle = t2.tap = t2.takeWhile = t2.takeUntil = t2.takeLast = t2.take = t2.switchScan = t2.switchMapTo = void 0; - var o = i2(48051); - Object.defineProperty(t2, "Observable", { enumerable: true, get: function() { - return o.Observable; - } }); - var a = i2(14359); - Object.defineProperty(t2, "ConnectableObservable", { enumerable: true, get: function() { - return a.ConnectableObservable; - } }); - var s = i2(2884); - Object.defineProperty(t2, "observable", { enumerable: true, get: function() { - return s.observable; - } }); - var l = i2(21875); - Object.defineProperty(t2, "animationFrames", { enumerable: true, get: function() { - return l.animationFrames; - } }); - var u = i2(76808); - Object.defineProperty(t2, "Subject", { enumerable: true, get: function() { - return u.Subject; - } }); - var c = i2(97314); - Object.defineProperty(t2, "BehaviorSubject", { enumerable: true, get: function() { - return c.BehaviorSubject; - } }); - var d = i2(10381); - Object.defineProperty(t2, "ReplaySubject", { enumerable: true, get: function() { - return d.ReplaySubject; - } }); - var p = i2(5130); - Object.defineProperty(t2, "AsyncSubject", { enumerable: true, get: function() { - return p.AsyncSubject; - } }); - var _ = i2(22105); - Object.defineProperty(t2, "asap", { enumerable: true, get: function() { - return _.asap; - } }), Object.defineProperty(t2, "asapScheduler", { enumerable: true, get: function() { - return _.asapScheduler; - } }); - var h = i2(62326); - Object.defineProperty(t2, "async", { enumerable: true, get: function() { - return h.async; - } }), Object.defineProperty(t2, "asyncScheduler", { enumerable: true, get: function() { - return h.asyncScheduler; - } }); - var m = i2(99245); - Object.defineProperty(t2, "queue", { enumerable: true, get: function() { - return m.queue; - } }), Object.defineProperty(t2, "queueScheduler", { enumerable: true, get: function() { - return m.queueScheduler; - } }); - var g = i2(15887); - Object.defineProperty(t2, "animationFrame", { enumerable: true, get: function() { - return g.animationFrame; - } }), Object.defineProperty(t2, "animationFrameScheduler", { enumerable: true, get: function() { - return g.animationFrameScheduler; - } }); - var f = i2(50875); - Object.defineProperty(t2, "VirtualTimeScheduler", { enumerable: true, get: function() { - return f.VirtualTimeScheduler; - } }), Object.defineProperty(t2, "VirtualAction", { enumerable: true, get: function() { - return f.VirtualAction; - } }); - var T = i2(65881); - Object.defineProperty(t2, "Scheduler", { enumerable: true, get: function() { - return T.Scheduler; - } }); - var y = i2(69879); - Object.defineProperty(t2, "Subscription", { enumerable: true, get: function() { - return y.Subscription; - } }); - var S = i2(2708); - Object.defineProperty(t2, "Subscriber", { enumerable: true, get: function() { - return S.Subscriber; - } }); - var A = i2(31245); - Object.defineProperty(t2, "Notification", { enumerable: true, get: function() { - return A.Notification; - } }), Object.defineProperty(t2, "NotificationKind", { enumerable: true, get: function() { - return A.NotificationKind; - } }); - var N = i2(99517); - Object.defineProperty(t2, "pipe", { enumerable: true, get: function() { - return N.pipe; - } }); - var v = i2(5717); - Object.defineProperty(t2, "noop", { enumerable: true, get: function() { - return v.noop; - } }); - var O = i2(87699); - Object.defineProperty(t2, "identity", { enumerable: true, get: function() { - return O.identity; - } }); - var I = i2(62560); - Object.defineProperty(t2, "isObservable", { enumerable: true, get: function() { - return I.isObservable; - } }); - var C = i2(85761); - Object.defineProperty(t2, "lastValueFrom", { enumerable: true, get: function() { - return C.lastValueFrom; - } }); - var b = i2(40841); - Object.defineProperty(t2, "firstValueFrom", { enumerable: true, get: function() { - return b.firstValueFrom; - } }); - var E = i2(7024); - Object.defineProperty(t2, "ArgumentOutOfRangeError", { enumerable: true, get: function() { - return E.ArgumentOutOfRangeError; - } }); - var w = i2(59328); - Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() { - return w.EmptyError; - } }); - var R = i2(23506); - Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() { - return R.NotFoundError; - } }); - var D = i2(50839); - Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() { - return D.ObjectUnsubscribedError; - } }); - var P = i2(94708); - Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() { - return P.SequenceError; - } }); - var M = i2(81713); - Object.defineProperty(t2, "TimeoutError", { enumerable: true, get: function() { - return M.TimeoutError; - } }); - var F = i2(69517); - Object.defineProperty(t2, "UnsubscriptionError", { enumerable: true, get: function() { - return F.UnsubscriptionError; - } }); - var L = i2(79750); - Object.defineProperty(t2, "bindCallback", { enumerable: true, get: function() { - return L.bindCallback; - } }); - var x = i2(21946); - Object.defineProperty(t2, "bindNodeCallback", { enumerable: true, get: function() { - return x.bindNodeCallback; - } }); - var k = i2(88246); - Object.defineProperty(t2, "combineLatest", { enumerable: true, get: function() { - return k.combineLatest; - } }); - var V = i2(39546); - Object.defineProperty(t2, "concat", { enumerable: true, get: function() { - return V.concat; - } }); - var U = i2(98590); - Object.defineProperty(t2, "connectable", { enumerable: true, get: function() { - return U.connectable; - } }); - var B = i2(35884); - Object.defineProperty(t2, "defer", { enumerable: true, get: function() { - return B.defer; - } }); - var G = i2(44885); - Object.defineProperty(t2, "empty", { enumerable: true, get: function() { - return G.empty; - } }); - var j = i2(75266); - Object.defineProperty(t2, "forkJoin", { enumerable: true, get: function() { - return j.forkJoin; - } }); - var W = i2(47058); - Object.defineProperty(t2, "from", { enumerable: true, get: function() { - return W.from; - } }); - var q = i2(88616); - Object.defineProperty(t2, "fromEvent", { enumerable: true, get: function() { - return q.fromEvent; - } }); - var Y = i2(26920); - Object.defineProperty(t2, "fromEventPattern", { enumerable: true, get: function() { - return Y.fromEventPattern; - } }); - var H = i2(87281); - Object.defineProperty(t2, "generate", { enumerable: true, get: function() { - return H.generate; - } }); - var J = i2(99380); - Object.defineProperty(t2, "iif", { enumerable: true, get: function() { - return J.iif; - } }); - var $ = i2(62275); - Object.defineProperty(t2, "interval", { enumerable: true, get: function() { - return $.interval; - } }); - var z = i2(95936); - Object.defineProperty(t2, "merge", { enumerable: true, get: function() { - return z.merge; - } }); - var K = i2(11934); - Object.defineProperty(t2, "never", { enumerable: true, get: function() { - return K.never; - } }); - var Q = i2(61587); - Object.defineProperty(t2, "of", { enumerable: true, get: function() { - return Q.of; - } }); - var X = i2(1903); - Object.defineProperty(t2, "onErrorResumeNext", { enumerable: true, get: function() { - return X.onErrorResumeNext; - } }); - var Z = i2(88269); - Object.defineProperty(t2, "pairs", { enumerable: true, get: function() { - return Z.pairs; - } }); - var ee = i2(57406); - Object.defineProperty(t2, "partition", { enumerable: true, get: function() { - return ee.partition; - } }); - var te = i2(89795); - Object.defineProperty(t2, "race", { enumerable: true, get: function() { - return te.race; - } }); - var ie = i2(74385); - Object.defineProperty(t2, "range", { enumerable: true, get: function() { - return ie.range; - } }); - var ne = i2(26680); - Object.defineProperty(t2, "throwError", { enumerable: true, get: function() { - return ne.throwError; - } }); - var re = i2(5825); - Object.defineProperty(t2, "timer", { enumerable: true, get: function() { - return re.timer; - } }); - var oe = i2(35904); - Object.defineProperty(t2, "using", { enumerable: true, get: function() { - return oe.using; - } }); - var ae = i2(11415); - Object.defineProperty(t2, "zip", { enumerable: true, get: function() { - return ae.zip; - } }); - var se = i2(30131); - Object.defineProperty(t2, "scheduled", { enumerable: true, get: function() { - return se.scheduled; - } }); - var le = i2(44885); - Object.defineProperty(t2, "EMPTY", { enumerable: true, get: function() { - return le.EMPTY; - } }); - var ue = i2(11934); - Object.defineProperty(t2, "NEVER", { enumerable: true, get: function() { - return ue.NEVER; - } }), r2(i2(96153), t2); - var ce = i2(93728); - Object.defineProperty(t2, "config", { enumerable: true, get: function() { - return ce.config; - } }); - var de = i2(88877); - Object.defineProperty(t2, "audit", { enumerable: true, get: function() { - return de.audit; - } }); - var pe = i2(51608); - Object.defineProperty(t2, "auditTime", { enumerable: true, get: function() { - return pe.auditTime; - } }); - var _e = i2(10706); - Object.defineProperty(t2, "buffer", { enumerable: true, get: function() { - return _e.buffer; - } }); - var he = i2(9287); - Object.defineProperty(t2, "bufferCount", { enumerable: true, get: function() { - return he.bufferCount; - } }); - var me = i2(41719); - Object.defineProperty(t2, "bufferTime", { enumerable: true, get: function() { - return me.bufferTime; - } }); - var ge = i2(61778); - Object.defineProperty(t2, "bufferToggle", { enumerable: true, get: function() { - return ge.bufferToggle; - } }); - var fe = i2(56606); - Object.defineProperty(t2, "bufferWhen", { enumerable: true, get: function() { - return fe.bufferWhen; - } }); - var Te = i2(72719); - Object.defineProperty(t2, "catchError", { enumerable: true, get: function() { - return Te.catchError; - } }); - var ye = i2(89244); - Object.defineProperty(t2, "combineAll", { enumerable: true, get: function() { - return ye.combineAll; - } }); - var Se = i2(67933); - Object.defineProperty(t2, "combineLatestAll", { enumerable: true, get: function() { - return Se.combineLatestAll; - } }); - var Ae = i2(82044); - Object.defineProperty(t2, "combineLatestWith", { enumerable: true, get: function() { - return Ae.combineLatestWith; - } }); - var Ne = i2(70201); - Object.defineProperty(t2, "concatAll", { enumerable: true, get: function() { - return Ne.concatAll; - } }); - var ve = i2(29512); - Object.defineProperty(t2, "concatMap", { enumerable: true, get: function() { - return ve.concatMap; - } }); - var Oe = i2(19913); - Object.defineProperty(t2, "concatMapTo", { enumerable: true, get: function() { - return Oe.concatMapTo; - } }); - var Ie = i2(98032); - Object.defineProperty(t2, "concatWith", { enumerable: true, get: function() { - return Ie.concatWith; - } }); - var Ce = i2(17812); - Object.defineProperty(t2, "connect", { enumerable: true, get: function() { - return Ce.connect; - } }); - var be = i2(88589); - Object.defineProperty(t2, "count", { enumerable: true, get: function() { - return be.count; - } }); - var Ee = i2(3143); - Object.defineProperty(t2, "debounce", { enumerable: true, get: function() { - return Ee.debounce; - } }); - var we = i2(21762); - Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() { - return we.debounceTime; - } }); - var Re = i2(58799); - Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() { - return Re.defaultIfEmpty; - } }); - var De = i2(5797); - Object.defineProperty(t2, "delay", { enumerable: true, get: function() { - return De.delay; - } }); - var Pe = i2(72885); - Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() { - return Pe.delayWhen; - } }); - var Me = i2(19818); - Object.defineProperty(t2, "dematerialize", { enumerable: true, get: function() { - return Me.dematerialize; - } }); - var Fe = i2(77876); - Object.defineProperty(t2, "distinct", { enumerable: true, get: function() { - return Fe.distinct; - } }); - var Le = i2(22044); - Object.defineProperty(t2, "distinctUntilChanged", { enumerable: true, get: function() { - return Le.distinctUntilChanged; - } }); - var xe = i2(76035); - Object.defineProperty(t2, "distinctUntilKeyChanged", { enumerable: true, get: function() { - return xe.distinctUntilKeyChanged; - } }); - var ke = i2(61279); - Object.defineProperty(t2, "elementAt", { enumerable: true, get: function() { - return ke.elementAt; - } }); - var Ve = i2(66791); - Object.defineProperty(t2, "endWith", { enumerable: true, get: function() { - return Ve.endWith; - } }); - var Ue = i2(21361); - Object.defineProperty(t2, "every", { enumerable: true, get: function() { - return Ue.every; - } }); - var Be = i2(11464); - Object.defineProperty(t2, "exhaust", { enumerable: true, get: function() { - return Be.exhaust; - } }); - var Ge = i2(17977); - Object.defineProperty(t2, "exhaustAll", { enumerable: true, get: function() { - return Ge.exhaustAll; - } }); - var je = i2(86632); - Object.defineProperty(t2, "exhaustMap", { enumerable: true, get: function() { - return je.exhaustMap; - } }); - var We = i2(75544); - Object.defineProperty(t2, "expand", { enumerable: true, get: function() { - return We.expand; - } }); - var qe = i2(85934); - Object.defineProperty(t2, "filter", { enumerable: true, get: function() { - return qe.filter; - } }); - var Ye = i2(17802); - Object.defineProperty(t2, "finalize", { enumerable: true, get: function() { - return Ye.finalize; - } }); - var He = i2(98183); - Object.defineProperty(t2, "find", { enumerable: true, get: function() { - return He.find; - } }); - var Je = i2(29035); - Object.defineProperty(t2, "findIndex", { enumerable: true, get: function() { - return Je.findIndex; - } }); - var $e = i2(19980); - Object.defineProperty(t2, "first", { enumerable: true, get: function() { - return $e.first; - } }); - var ze = i2(5128); - Object.defineProperty(t2, "groupBy", { enumerable: true, get: function() { - return ze.groupBy; - } }); - var Ke = i2(2959); - Object.defineProperty(t2, "ignoreElements", { enumerable: true, get: function() { - return Ke.ignoreElements; - } }); - var Qe = i2(69915); - Object.defineProperty(t2, "isEmpty", { enumerable: true, get: function() { - return Qe.isEmpty; - } }); - var Xe = i2(32568); - Object.defineProperty(t2, "last", { enumerable: true, get: function() { - return Xe.last; - } }); - var Ze = i2(26872); - Object.defineProperty(t2, "map", { enumerable: true, get: function() { - return Ze.map; - } }); - var et = i2(13337); - Object.defineProperty(t2, "mapTo", { enumerable: true, get: function() { - return et.mapTo; - } }); - var tt = i2(75019); - Object.defineProperty(t2, "materialize", { enumerable: true, get: function() { - return tt.materialize; - } }); - var it = i2(50096); - Object.defineProperty(t2, "max", { enumerable: true, get: function() { - return it.max; - } }); - var nt = i2(68087); - Object.defineProperty(t2, "mergeAll", { enumerable: true, get: function() { - return nt.mergeAll; - } }); - var rt = i2(74613); - Object.defineProperty(t2, "flatMap", { enumerable: true, get: function() { - return rt.flatMap; - } }); - var ot = i2(67478); - Object.defineProperty(t2, "mergeMap", { enumerable: true, get: function() { - return ot.mergeMap; - } }); - var at = i2(76075); - Object.defineProperty(t2, "mergeMapTo", { enumerable: true, get: function() { - return at.mergeMapTo; - } }); - var st = i2(16707); - Object.defineProperty(t2, "mergeScan", { enumerable: true, get: function() { - return st.mergeScan; - } }); - var lt = i2(79694); - Object.defineProperty(t2, "mergeWith", { enumerable: true, get: function() { - return lt.mergeWith; - } }); - var ut = i2(80142); - Object.defineProperty(t2, "min", { enumerable: true, get: function() { - return ut.min; - } }); - var ct = i2(18464); - Object.defineProperty(t2, "multicast", { enumerable: true, get: function() { - return ct.multicast; - } }); - var dt = i2(32071); - Object.defineProperty(t2, "observeOn", { enumerable: true, get: function() { - return dt.observeOn; - } }); - var pt = i2(95513); - Object.defineProperty(t2, "onErrorResumeNextWith", { enumerable: true, get: function() { - return pt.onErrorResumeNextWith; - } }); - var _t = i2(26744); - Object.defineProperty(t2, "pairwise", { enumerable: true, get: function() { - return _t.pairwise; - } }); - var ht = i2(66355); - Object.defineProperty(t2, "pluck", { enumerable: true, get: function() { - return ht.pluck; - } }); - var mt = i2(53197); - Object.defineProperty(t2, "publish", { enumerable: true, get: function() { - return mt.publish; - } }); - var gt = i2(82955); - Object.defineProperty(t2, "publishBehavior", { enumerable: true, get: function() { - return gt.publishBehavior; - } }); - var ft = i2(26569); - Object.defineProperty(t2, "publishLast", { enumerable: true, get: function() { - return ft.publishLast; - } }); - var Tt = i2(68710); - Object.defineProperty(t2, "publishReplay", { enumerable: true, get: function() { - return Tt.publishReplay; - } }); - var yt = i2(6677); - Object.defineProperty(t2, "raceWith", { enumerable: true, get: function() { - return yt.raceWith; - } }); - var St = i2(92070); - Object.defineProperty(t2, "reduce", { enumerable: true, get: function() { - return St.reduce; - } }); - var At = i2(56131); - Object.defineProperty(t2, "repeat", { enumerable: true, get: function() { - return At.repeat; - } }); - var Nt = i2(82139); - Object.defineProperty(t2, "repeatWhen", { enumerable: true, get: function() { - return Nt.repeatWhen; - } }); - var vt = i2(3352); - Object.defineProperty(t2, "retry", { enumerable: true, get: function() { - return vt.retry; - } }); - var Ot = i2(73956); - Object.defineProperty(t2, "retryWhen", { enumerable: true, get: function() { - return Ot.retryWhen; - } }); - var It = i2(79224); - Object.defineProperty(t2, "refCount", { enumerable: true, get: function() { - return It.refCount; - } }); - var Ct = i2(43434); - Object.defineProperty(t2, "sample", { enumerable: true, get: function() { - return Ct.sample; - } }); - var bt = i2(44143); - Object.defineProperty(t2, "sampleTime", { enumerable: true, get: function() { - return bt.sampleTime; - } }); - var Et = i2(35565); - Object.defineProperty(t2, "scan", { enumerable: true, get: function() { - return Et.scan; + }, 60526(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowTypeResolver = void 0; + const n2 = i2(96618); + class o { + static resolve(e3) { + return o._yamlKeyToCanonical.get(e3); + } + static isRecognized(e3) { + return o._yamlKeyToCanonical.has(e3); + } + static detectFromJson(e3) { + for (const t3 of Object.keys(e3)) if (o._yamlKeyToCanonical.has(t3)) return t3; + } + static getYamlKey(e3) { + for (const [t3, i3] of o._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 = o, o._yamlKeyToCanonical = o._buildMap(), o.YAML_FLOW_TYPE_KEYS = Array.from(o._yamlKeyToCanonical.keys()); + }, 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}`; + } + }; + }, 77235(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ModelSchemaRegistry = void 0; + const n2 = i2(31635), o = i2(82632), r = 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), o2 = t3 === l.ModelFormat.ChangeSet ? "changeSetModel" : `flowModel_${u.FlowTypeResolver.getYamlKey(e3) || e3}`, d = new a.default(o2, n3, r.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, r2 = { type: "object", required: ["name"], properties: { name: { type: "string", minLength: o.flowLimits.name.minLength, maxLength: o.flowLimits.name.maxLength, description: "The flow name." }, description: { type: "string", maxLength: null === (i3 = o.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]: r2 }, 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(); + }, 91613(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.OrchestrationEngine = void 0; + const n2 = i2(31635), o = i2(43330), r = 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), _ = i2(50290); + 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, h = new o.ConfigureFromModelContext({ entityResolver: this._entityResolver, lookupCache: this._lookupCache, flowType: i3, actionTypeRegistry: this._actionTypeRegistry, settings: {} }); + if (h.logger$.subscribe((e4) => this._logger$.next(e4)), (0, l.hasConfigureFromModel)(t3) && (yield t3.configureFromModel(c2, r.ModelFormat.FlowYaml, h)), !h.continueProcessing) return this._log(s.LogLevel.Warning, "Orchestration halted before draining deferred operations (context.continueProcessing === false)."), this._buildOrchestrationResult({ halted: true }); + const m = h.deferredOps; + for (let e4 = 0; e4 < m.length; e4++) { + const t4 = m[e4]; + try { + yield t4.execute(); + } catch (e5) { + const i4 = e5 instanceof Error ? e5.message : String(e5); + h.warn((0, p.sprintf)(d.configureFromModel.deferredOpFailed, t4.type, i4)); + } + e4 < m.length - 1 && (yield (0, _.yieldToBrowser)()); + } + 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 }); + } + }; + }, 22303(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.Parser = void 0; + const n2 = i2(79608), o = i2(25591), r = 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, o.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) => r.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: ${r.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] }; + } + }; + }, 51335(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.PreProcessor = void 0; + const n2 = i2(31635), o = i2(79364), r = 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 o.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(r.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(r.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 o2 = n4.refArray; + if (p(o2)) { + const n5 = yield this._resolveExternalReference(o2, [...t3, String(i4)]); + if (void 0 !== n5 && Array.isArray(n5)) { + e3.splice(i4, 1, ...n5); + for (let o3 = i4; o3 < i4 + n5.length; o3++) yield this._embedExternalReferences(e3[o3], [...t3, String(o3)]); + 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 o2 = yield this._resolveExternalReference(n4, [...t3, e4]); + if (void 0 !== o2 && (0, d.isNonArrayObject)(o2)) { + delete i3[e4]; + const t4 = o2; + 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(r.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 o2; + try { + o2 = (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(o2, 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(r.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 o2 = c.getSafeObjectOwnProperty(n3, e5); + if (!Array.isArray(o2)) { + n3 = o2; + continue; + } + n3 = o2.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 o2 = 0; o2 < e3.length; o2++) { + const a2 = e3[o2]; + 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(r.LogLevel.Error, `Duplicate ref ID '${_2}' in '${i3}'.`)) : n3.set(_2, o2), 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(r.LogLevel.Debug, `Assigned ref ID '${e4}' to object at index ${o2} 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 o2 = this._resolveRelativeReference(n3, t3); + o2 !== n3 && (i3[e4] = o2, this._log(r.LogLevel.Debug, `Resolved reference '${e4}': '${n3}' \u2192 '${o2}'.`)); + } + 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("/"), o2 = [...i3]; + for (const e4 of n3) if (".." === e4) o2.pop(); + else { + if ("." === e4 || "" === e4) continue; + o2.push(e4); + } + return "/" + o2.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], o2 = this._substituteString(e4, t3); + o2 !== e4 && (i3[o2] = n4, delete i3[e4]); + const r2 = o2 !== e4 ? o2 : e4; + "string" == typeof i3[r2] ? i3[r2] = this._substituteString(i3[r2], t3) : this._applySubstitutions(i3[r2], t3); + } + } + _substituteString(e3, t3) { + return e3.includes("{{") ? e3.replace(_, (e4, i3) => Object.prototype.hasOwnProperty.call(t3, i3) ? (this._log(r.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: r.LogLevel.Error, message: `PreProcessor: ${e3.message}`, contextPath: e3.contextPath }); + } + }; + }, 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; + } + }; + }, 10543(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.YamlProcessor = void 0; + const n2 = i2(31635), o = i2(79364), r = 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 o.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), o2 = [], 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 (o2.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, o2, 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 (o2.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, o2, 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 o2.push({ message: `Unrecognized flow type: '${N || "none"}'.`, contextPath: "/", fatal: true }), g.push(...i3.warnings), this._buildResult(false, void 0, o2, g, { flowType: f, actionsProcessed: T, durationMs: Date.now() - t3 }); + const I = A.json[N], C = (null == I ? void 0 : I.name) || "Untitled Flow"; + let O; + if (this._options.existingFlowViewModel) { + if (O = this._options.existingFlowViewModel, O.isReadOnly) return o2.push({ message: (0, d.readOnlyFlowConfigureFromModelMessage)(), contextPath: "/", fatal: true }), g.push(...i3.warnings), this._buildResult(false, O, o2, g, { flowType: f, actionsProcessed: T, durationMs: Date.now() - t3 }); + } else if (this._options.flowHelper) { + const e4 = { type: v, id: `yaml-import-${Date.now()}`, name: C }; + O = this._options.flowHelper.getFullFlow(e4); + } + this._emitProgress({ phase: l.progressPhase.orchestration, status: u.progressStatus.started }, i3), this._actionTypeRegistry || (this._actionTypeRegistry = new r.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, O); + if (T = E.actionsProcessed, g.push(...E.warnings), E.halted) return o2.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, O, o2, 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) => !o2.some((t4) => t4.message === e4.message && t4.contextPath === e4.contextPath)); + o2.push(...R); + const D = Date.now() - t3; + this._log(s.LogLevel.Info, `Processing completed in ${D}ms.`); + const P = !o2.some((e4) => e4.fatal); + return this._buildResult(P, O, o2, 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, o2) { + return { success: e3, flow: t3, errors: i3, warnings: n3, metadata: o2 }; + } + _emitProgress(e3, t3) { + const i3 = this._options.progressCallback; + i3 && i3(e3, t3); + } + _log(e3, t3) { + this._logger$.next({ level: e3, message: `YamlProcessor: ${t3}` }); + } + }; + }, 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, I = null === (d = e3.currentActionContext) || void 0 === d ? void 0 : d.viewModel, C = e3.currentChangeIndex, O = () => { + if (!y || !N) return; + const t4 = e3.buildPropertyLookupFailedMessage(N, p, h, u(N, S, I)); + e3.reportActivity({ type: "lookupFailed", objectType: S, objectName: A, objectId: y, viewModel: I, changeIndex: C, 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, I); + e3.reportActivity((0, a.buildPropertySetActivityEvent)({ objectType: S, objectName: null != A ? A : "", objectId: y, viewModel: I, changeIndex: null != C ? C : 0, property: N, propertyDisplayName: i5, propertyValue: t5 })); + } + } else e3.warn((0, o.sprintf)(r.configureFromModel.networkLiteralNotUpdatable, _, h, p)), e3.failLookup(T), O(); + else e3.warn((0, o.sprintf)(r.configureFromModel.failedToResolveNetworkLiteral, _, h, p)), y && N && T.targets.push({ objectId: y, objectType: S, objectName: A, property: N, subPath: v }), e3.failLookup(T), O(); + } catch (t5) { + const i5 = t5 instanceof Error ? t5.message : String(t5); + e3.warn((0, o.sprintf)(r.configureFromModel.entityResolutionFailedNetworkLiteral, _, h, p, i5)), e3.failLookup(T), O(); + } finally { + y && e3.completeDeferredPropertyActivity(y), e3.recordNetworkLiteralLookup({ entityType: _, lookupValue: p, lookupValueType: h, resolvedFromCache: t4, resolutionSucceeded: i4 }); + } + }) }); + }; + const n2 = i2(31635), o = i2(17604), r = 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() : "", o2 = n3.length > 0 ? n3 : i3; + return e3.updateFromConfigListManagerItem({ id: i3, label: o2 }), true; + } + }, 1158(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.applyNetworkListLiteralFromModel = function(e3, t3, i3, n3, o2) { + const l = s(t3); + if (!l) return false; + if (null == n3 ? void 0 : n3.entityResolver) return (0, r.registerDeferredNetworkLiteralResolution)(n3, { entityType: o2, 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() : "", o3 = n4.length > 0 ? n4 : l.lookupValue; + e3.update(o3, l.lookupValue); + } else e3.setAsLiteral(l.lookupValue); + return true; + }, t2.resolveNetworkLiteralFromModel = function(e3, t3, i3, n3, o2) { + const a2 = s(e3); + return !!a2 && ((null == t3 ? void 0 : t3.entityResolver) ? ((0, r.registerDeferredNetworkLiteralResolution)(t3, { entityType: i3, lookupValue: a2.lookupValue, lookupValueType: a2.lookupValueType, onResolved: n3 }), true) : (o2 && o2(a2.lookupValue, a2.lookupValueType), true)); + }, t2.parseNetworkLiteralValue = s, t2.resolveNamedConfigListEntity = function(e3, t3, i3, o2) { + 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 o2.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 r2 = o2.findItemByName(n3); + return (null == r2 ? void 0 : r2.id) ? { id: r2.id, name: "string" == typeof r2.name && r2.name.length > 0 ? r2.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), o = i2(50474), r = i2(64359), a = i2(58642); + function s(e3) { + if ((0, o.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; + } + }, 51319(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.createConfigListEntityResolver = function(e3) { + return { resolve(t3, i3, I2) { + 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 o2 = null == i4 ? void 0 : i4.lookupValueType; + if ("identifier" === o2 || !o2 && C(n3)) { + const e5 = p.getItem(n3); + if (!e5) throw new Error(`No flow found for id '${n3}'`); + return O(e5); + } + const r2 = null == t4 ? void 0 : t4.flowTypeForListQueries; + if (!r2) throw new Error("Resolving a flow by name requires flowTypeForListQueries in createConfigListEntityResolver options"); + const a2 = p.getManagerForFlowType(r2, true); + if (!a2) throw new Error(`No flow list manager for flow type '${r2}'`); + return b(a2, n3, { lookupValueType: "name" }); + }); + })(i3, e3, I2); + 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 o.agenticVirtualAgentManager; + case "audioConnectorBot": + return r.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, I2); + }); + } }; + }; + const n2 = i2(31635), o = i2(12361), r = 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), I = /^[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 C(e3) { + return I.test(e3.trim()); + } + function O(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 o2 = null == i3 ? void 0 : i3.lookupValueType; + let r2; + if (r2 = "identifier" === o2 ? yield e3.getOrFetchItem(n3) : "name" === o2 ? yield e3.findOrFetchItemByName(n3) : C(n3) ? yield e3.getOrFetchItem(n3) : yield e3.findOrFetchItemByName(n3), !r2) throw new Error(`No ${e3.className} match for '${n3}'`); + return O(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, o.sprintf)(p.changeSet.import.yaml.scripting.yamlParseFailure, e4)), { success: false }; + } + return _(n3.json, a.ModelFormat.FlowYaml, t3, i3); + }); + }, t2.createFlowFromModel = _; + const n2 = i2(31635), o = i2(17604), r = i2(43330), a = i2(43330), s = i2(95465), l = i2(33573), u = i2(60526), c = i2(14553), d = i2(22303), p = n2.__importStar(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.changeSet.import.yaml.scripting.noFlowTypeDetected), { success: false }; + const n3 = u.FlowTypeResolver.resolve(t4); + if (!n3) return i3.error((0, o.sprintf)(p.changeSet.import.yaml.scripting.unrecognizedFlowType, t4)), { success: false }; + const d2 = e3[t4]; + if (!(0, r.isConfigureFromModelRecord)(d2)) return i3.error((0, o.sprintf)(p.changeSet.import.yaml.scripting.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, o.sprintf)(p.changeSet.import.yaml.scripting.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, o.sprintf)(p.changeSet.import.yaml.scripting.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.changeSet.import.yaml.scripting.unableToCreateFlow), { success: false }; + } + return yield a2.configureFlowFromModel(S, _2, i3), { success: true, flow: S }; + }); + } + }, 41506(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.MappingError = void 0; + class i2 extends Error { + constructor(e3, t3, n2, o) { + super(e3), this.name = "MappingError", this.property = t3, this.contextPath = n2, this.expectedFormat = o, Object.setPrototypeOf(this, i2.prototype); + } + } + t2.MappingError = i2; + }, 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; + }, 19942(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.YamlParseError = void 0; + class i2 extends Error { + constructor(e3, t3, n2, o) { + super(e3), this.name = "YamlParseError", this.reason = t3, this.line = n2, this.column = o, Object.setPrototypeOf(this, i2.prototype); + } + } + t2.YamlParseError = i2; + }, 47447(e2, t2) { + "use strict"; + t2.referenceErrorReason = void 0, t2.referenceErrorReason = { notFound: "not_found", circular: "circular", invalidFormat: "invalid_format" }; + }, 71765(e2, t2, i2) { + "use strict"; + t2.applyFlowYamlSubstitutions = function(e3, t3) { + if (!t3 || n2.default.isEmpty(t3)) return e3; + const i3 = JSON.parse(JSON.stringify(e3)), o = (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, o); + if (n2.default.isObject(e4)) { + const t4 = {}; + return n2.default.each(e4, (e5, i4) => { + t4[i4] = o(e5); + }), t4; + } + return e4; + }; + return o(i3); + }; + const n2 = i2(31635).__importDefault(i2(92140)); + }, 13821(e2, t2, i2) { + "use strict"; + t2.q0 = void 0, 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(r(`Flow YAML create: division '${i3}' was not found for this organization.`, "divisionNotFound")) : t3.push(r("Flow YAML create: `division` is present in YAML but no `resolveDivision` hook was supplied.", "divisionResolverMissing")) : void 0 === i3 && (e3.defaultFlowCreationDivision || t3.push(r("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(r(`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(r(`Flow YAML import: division '${i3}' was not found for this organization.`, "divisionNotFound")); + } else t3.push(r("Flow YAML import: `division` is present in YAML but no `resolveDivision` hook was supplied.", "divisionResolverMissing")); + else t3.push(r("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(r(`Flow YAML: 'defaultLanguage' value '${n3}' is not a supported Architect locale tag.`, "defaultLanguageUnsupported"))), { errors: t3 }; + }); + }; + const n2 = i2(31635); + function o(e3) { + return null === e3 ? "null" : Array.isArray(e3) ? "array" : typeof e3; + } + function r(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(r(`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.q0) { + if (!Object.prototype.hasOwnProperty.call(e3.flowBody, n3)) continue; + const t3 = e3.flowBody[n3]; + "string" != typeof t3 && i3.push(r(`Flow YAML: '${n3}' must be a string when present; got ${o(t3)}.`, `${n3}TypeMismatch`)); + } + return { errors: i3 }; + } + t2.q0 = ["division", "name", "description", "defaultLanguage"]; + }, 43315(e2, t2, i2) { + "use strict"; + 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 && o.emitter.emit(o.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: () => r.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), o = n2.__importStar(i2(36781)), r = n2.__importStar(i2(62829)), a = i2(14553), s = i2(51319), l = i2(10543); + }, 1910(e2, t2, i2) { + "use strict"; + t2.getBooleanValue = t2.enforceValueLimit = t2.canConfigureFlowFromModel = t2.hasConfigureFromModel = t2.getConfigureFromModelRecords = t2.isConfigureFromModelRecord = t2.ModelFormat = t2.ConfigureFromModelContext = t2.FlowTypeResolver = t2.ActionTypeRegistry = t2.processingState = t2.createConfigListEntityResolver = t2.progressStatus = t2.progressPhase = t2.entityLookupValueType = t2.LogLevel = t2.resolveNamedConfigListEntity = t2.findDependentConfigListItemByName = t2.resolveNetworkLiteralFromModel = t2.applyNetworkListLiteralFromModel = t2.registerDeferredNetworkLiteralResolution = t2.LookupCache = t2.Parser = t2.YamlProcessor = void 0, t2.createFlowFromModel = 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 wt = i2(73929); - Object.defineProperty(t2, "sequenceEqual", { enumerable: true, get: function() { - return wt.sequenceEqual; + var o = i2(22303); + Object.defineProperty(t2, "Parser", { enumerable: true, get: function() { + return o.Parser; } }); - var Rt = i2(93405); - Object.defineProperty(t2, "share", { enumerable: true, get: function() { - return Rt.share; + i2(22303), i2(51335), i2(51335), i2(91613), i2(91613), i2(45311); + var r = i2(51162); + Object.defineProperty(t2, "LookupCache", { enumerable: true, get: function() { + return r.LookupCache; } }); - var Dt = i2(17782); - Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() { - return Dt.shareReplay; + i2(64359); + var a = i2(64359); + Object.defineProperty(t2, "registerDeferredNetworkLiteralResolution", { enumerable: true, get: function() { + return a.registerDeferredNetworkLiteralResolution; } }); - var Pt = i2(55440); - Object.defineProperty(t2, "single", { enumerable: true, get: function() { - return Pt.single; + var s = i2(1158); + Object.defineProperty(t2, "applyNetworkListLiteralFromModel", { enumerable: true, get: function() { + return s.applyNetworkListLiteralFromModel; } }); - var Mt = i2(23079); - Object.defineProperty(t2, "skip", { enumerable: true, get: function() { - return Mt.skip; + var l = i2(1158); + Object.defineProperty(t2, "resolveNetworkLiteralFromModel", { enumerable: true, get: function() { + return l.resolveNetworkLiteralFromModel; } }); - var Ft = i2(92359); - Object.defineProperty(t2, "skipLast", { enumerable: true, get: function() { - return Ft.skipLast; + i2(1158); + var u = i2(1158); + Object.defineProperty(t2, "findDependentConfigListItemByName", { enumerable: true, get: function() { + return u.findDependentConfigListItemByName; } }); - var Lt = i2(97783); - Object.defineProperty(t2, "skipUntil", { enumerable: true, get: function() { - return Lt.skipUntil; + var c = i2(1158); + Object.defineProperty(t2, "resolveNamedConfigListEntity", { enumerable: true, get: function() { + return c.resolveNamedConfigListEntity; } }); - var xt = i2(65774); - Object.defineProperty(t2, "skipWhile", { enumerable: true, get: function() { - return xt.skipWhile; + var d = i2(85006); + Object.defineProperty(t2, "LogLevel", { enumerable: true, get: function() { + return d.LogLevel; } }); - var kt = i2(99054); - Object.defineProperty(t2, "startWith", { enumerable: true, get: function() { - return kt.startWith; + i2(85006), i2(62795), i2(58642), i2(58642); + var p = i2(58642); + Object.defineProperty(t2, "entityLookupValueType", { enumerable: true, get: function() { + return p.entityLookupValueType; } }); - var Vt = i2(5455); - Object.defineProperty(t2, "subscribeOn", { enumerable: true, get: function() { - return Vt.subscribeOn; + i2(36283), i2(36283), i2(36283), i2(36283); + var _ = i2(36283); + Object.defineProperty(t2, "progressPhase", { enumerable: true, get: function() { + return _.progressPhase; } }); - var Ut = i2(16201); - Object.defineProperty(t2, "switchAll", { enumerable: true, get: function() { - return Ut.switchAll; + var h = i2(36283); + Object.defineProperty(t2, "progressStatus", { enumerable: true, get: function() { + return h.progressStatus; } }); - var Bt = i2(90680); - Object.defineProperty(t2, "switchMap", { enumerable: true, get: function() { - return Bt.switchMap; + var m = i2(51319); + Object.defineProperty(t2, "createConfigListEntityResolver", { enumerable: true, get: function() { + return m.createConfigListEntityResolver; } }); - var Gt = i2(761); - Object.defineProperty(t2, "switchMapTo", { enumerable: true, get: function() { - return Gt.switchMapTo; + var g = i2(6726); + Object.defineProperty(t2, "processingState", { enumerable: true, get: function() { + return g.processingState; } }); - var jt = i2(48461); - Object.defineProperty(t2, "switchScan", { enumerable: true, get: function() { - return jt.switchScan; + i2(32686), i2(32686), i2(32686), i2(32686), i2(32686); + var f = i2(19109); + Object.defineProperty(t2, "ActionTypeRegistry", { enumerable: true, get: function() { + return f.ActionTypeRegistry; } }); - var Wt = i2(54383); - Object.defineProperty(t2, "take", { enumerable: true, get: function() { - return Wt.take; + var T = i2(60526); + Object.defineProperty(t2, "FlowTypeResolver", { enumerable: true, get: function() { + return T.FlowTypeResolver; } }); - var qt = i2(65279); - Object.defineProperty(t2, "takeLast", { enumerable: true, get: function() { - return qt.takeLast; + var y = i2(43330); + Object.defineProperty(t2, "ConfigureFromModelContext", { enumerable: true, get: function() { + return y.ConfigureFromModelContext; } }); - var Yt = i2(66911); - Object.defineProperty(t2, "takeUntil", { enumerable: true, get: function() { - return Yt.takeUntil; + var S = i2(43330); + Object.defineProperty(t2, "ModelFormat", { enumerable: true, get: function() { + return S.ModelFormat; } }); - var Ht = i2(60598); - Object.defineProperty(t2, "takeWhile", { enumerable: true, get: function() { - return Ht.takeWhile; + var A = i2(43330); + Object.defineProperty(t2, "isConfigureFromModelRecord", { enumerable: true, get: function() { + return A.isConfigureFromModelRecord; } }); - var Jt = i2(15019); - Object.defineProperty(t2, "tap", { enumerable: true, get: function() { - return Jt.tap; + i2(43330); + var N = i2(43330); + Object.defineProperty(t2, "getConfigureFromModelRecords", { enumerable: true, get: function() { + return N.getConfigureFromModelRecords; } }); - var $t = i2(44880); - Object.defineProperty(t2, "throttle", { enumerable: true, get: function() { - return $t.throttle; + i2(10751), i2(73950); + var v = i2(58254); + Object.defineProperty(t2, "hasConfigureFromModel", { enumerable: true, get: function() { + return v.hasConfigureFromModel; } }); - var zt = i2(7245); - Object.defineProperty(t2, "throttleTime", { enumerable: true, get: function() { - return zt.throttleTime; + var I = i2(14553); + Object.defineProperty(t2, "canConfigureFlowFromModel", { enumerable: true, get: function() { + return I.canConfigureFlowFromModel; } }); - var Kt = i2(30632); - Object.defineProperty(t2, "throwIfEmpty", { enumerable: true, get: function() { - return Kt.throwIfEmpty; + var C = i2(14553); + Object.defineProperty(t2, "enforceValueLimit", { enumerable: true, get: function() { + return C.enforceValueLimit; } }); - var Qt = i2(32508); - Object.defineProperty(t2, "timeInterval", { enumerable: true, get: function() { - return Qt.timeInterval; + i2(14553), i2(14553); + var O = i2(14553); + Object.defineProperty(t2, "getBooleanValue", { enumerable: true, get: function() { + return O.getBooleanValue; } }); - var Xt = i2(81713); - Object.defineProperty(t2, "timeout", { enumerable: true, get: function() { - return Xt.timeout; + var b = i2(14553); + Object.defineProperty(t2, "getNumberValue", { enumerable: true, get: function() { + return b.getNumberValue; } }); - var Zt = i2(50597); - Object.defineProperty(t2, "timeoutWith", { enumerable: true, get: function() { - return Zt.timeoutWith; + var E = i2(14553); + Object.defineProperty(t2, "getObjectValue", { enumerable: true, get: function() { + return E.getObjectValue; } }); - var ei = i2(53866); - Object.defineProperty(t2, "timestamp", { enumerable: true, get: function() { - return ei.timestamp; + var w = i2(14553); + Object.defineProperty(t2, "getStringValue", { enumerable: true, get: function() { + return w.getStringValue; } }); - var ti = i2(73484); - Object.defineProperty(t2, "toArray", { enumerable: true, get: function() { - return ti.toArray; + var R = i2(14553); + Object.defineProperty(t2, "readOnlyFlowConfigureFromModelMessage", { enumerable: true, get: function() { + return R.readOnlyFlowConfigureFromModelMessage; } }); - var ii = i2(78072); - Object.defineProperty(t2, "window", { enumerable: true, get: function() { - return ii.window; + var D = i2(14553); + Object.defineProperty(t2, "reportAdditionalProperty", { enumerable: true, get: function() { + return D.reportAdditionalProperty; } }); - var ni = i2(62893); - Object.defineProperty(t2, "windowCount", { enumerable: true, get: function() { - return ni.windowCount; + var P = i2(14553); + Object.defineProperty(t2, "shouldProceedWithOosAssignment", { enumerable: true, get: function() { + return P.shouldProceedWithOosAssignment; } }); - var ri = i2(90037); - Object.defineProperty(t2, "windowTime", { enumerable: true, get: function() { - return ri.windowTime; + var M = i2(14553); + Object.defineProperty(t2, "withModelContext", { enumerable: true, get: function() { + return M.withModelContext; } }); - var oi = i2(28996); - Object.defineProperty(t2, "windowToggle", { enumerable: true, get: function() { - return oi.windowToggle; + var F = i2(14553); + Object.defineProperty(t2, "withModelContextAsync", { enumerable: true, get: function() { + return F.withModelContextAsync; } }); - var ai = i2(65156); - Object.defineProperty(t2, "windowWhen", { enumerable: true, get: function() { - return ai.windowWhen; + i2(14553), i2(95465), i2(77235), i2(33573); + var L = i2(6236); + Object.defineProperty(t2, "createFlowFromModel", { enumerable: true, get: function() { + return L.createFlowFromModel; } }); - var si = i2(66975); - Object.defineProperty(t2, "withLatestFrom", { enumerable: true, get: function() { - return si.withLatestFrom; + i2(6236), i2(19942), i2(32051), i2(41506); + }, 58642(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.entityLookupValueType = void 0, t2.entityLookupValueType = { identifier: "identifier", name: "name" }; + }, 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 = {})); + }, 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" }; + }, 62795(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 58254(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.hasConfigureFromModel = function(e3) { + return e3 && "function" == typeof e3.configureFromModel; + }; + }, 32686(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + }, 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, o.isConfigureFromModelRecord)(n3)) return n3; + (0, r.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 o2 = false !== (null === (n3 = i3.settings) || void 0 === n3 ? void 0 : n3.allowAdditionalProperties), r2 = (0, s.sprintf)(a.configureFromModel.unknownProperty, e3, t3); + if (!o2) return i3.error(r2), void (i3.continueProcessing = false); + i3.warn(r2); + }, t2.formatOutOfServiceNotWritableMessage = l, t2.shouldProceedWithOosAssignment = function(e3, t3) { + var i3, n3; + if (!t3 || !e3 || !e3.outOfService) return true; + const o2 = false !== (null === (i3 = t3.settings) || void 0 === i3 ? void 0 : i3.allowOutOfServiceAssignment), r2 = l(e3.label, null === (n3 = e3.type) || void 0 === n3 ? void 0 : n3.dataType); + return o2 ? (t3.warn(r2), true) : (t3.error(r2), false); + }, t2.readOnlyFlowConfigureFromModelMessage = u, t2.canConfigureFlowFromModel = function(e3, t3) { + return !e3.isReadOnly || (t3.addErrorMessage(u()), t3.continueProcessing = false, false); + }; + const n2 = i2(31635), o = i2(43330), r = 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; + } + }, 94930(e2, t2, i2) { + "use strict"; + t2.parseFlowYamlAndSubstitute = function(e3, t3) { + let i3; + try { + i3 = (0, a.loadSingleYamlDocument)(e3, r.flowYamlJsYamlSchema, o.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), o = i2(79608), r = i2(79924), a = i2(96237); + }, 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" }; + }, 7399(e2, t2, i2) { + "use strict"; + 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("~/") ? o.homedir() + r.sep + e4.slice(2) : "~" === e4 ? o.homedir() : e4.startsWith("~") ? o.homedir() + e4.slice(1) : e4; + })(t3); + if (i3 === o.homedir() && "~" === t3) return i3; + const n3 = r.normalize(i3.split("\0").join("")), a = r.resolve(process.cwd()), s = r.resolve(a, n3); + if (!r.isAbsolute(n3)) { + const e4 = r.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), o = n2.__importStar(i2(70857)), r = n2.__importStar(i2(16928)); + }, 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, o2 = u.getScope(e4); + if (!o2) return i4.warn((0, p.sprintf)(c.configureFromModel.autoCreateNeedsScopePrefix, e4)), null; + let r2, a2, s2 = false, l2 = n4; + switch (o2) { + case _.call: + case _.chat: + case _.email: + case _.form: + case _.interaction: + case _.menu: + case _.message: + case _.process: + case _.prompt: + case _.promptSystem: + case _.session: + case _.slot: + case _.survey: + case _.workflow: + case _.workitem: + s2 = true, r2 = _[o2], a2 = u.getUnscopedName(e4); + break; + case _.common: + case _.flow: + r2 = _[o2], a2 = u.getUnscopedName(e4), l2 = n4; + break; + case _.bot: + case _.state: + case _.task: { + r2 = _[o2], a2 = u.getUnscopedName(e4); + const n5 = t4.getParentTask(); + if (!n5) return i4.warn((0, p.sprintf)(c.configureFromModel.autoCreateNoTaskContainer, e4, o2)), null; + l2 = n5; + break; + } + default: + return i4.warn((0, p.sprintf)(c.configureFromModel.autoCreateUnrecognizedScope, e4, o2)), null; + } + return { doNotCreate: s2, variablePrefix: r2, 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 !== o.expressionDataService.cleanseForIdentifierName(A)) return i3.warn((0, p.sprintf)(c.configureFromModel.autoCreateInvalidIdentifier, f, A)), null; + const I = e3.parentFlow.variableGroup.getVariableByName(v, N); + if (I) return e3.type && !(0, r.isMatch)(I.type, e3.type, a.settings.exact) && i3.warn((0, p.sprintf)(c.configureFromModel.variableTypeMismatch, v)), I; + 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 C = l.addVariable(v, e3, N); + if (!C) return i3.warn((0, p.sprintf)(c.configureFromModel.autoCreateFailed, v)), null; + const O = { name: C.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(O), i3.undoChangeSet && i3.undoChangeSet.recordUndoDeleteByObjectId("variable", C.id), i3.changeSetResults.addResult({ path: `/changes[${i3.currentChangeIndex}]/autoCreatedVariable`, added: { variable: new s.ChangeSetResultObject(C.id, C.name, void 0, void 0, O.containerName) } }), (function(e4, t4, i4) { + var n4, o2; + if (!i4.currentActionContext) return; + const r2 = null !== (o2 = null === (n4 = t4.type) || void 0 === n4 ? void 0 : n4.displayString) && void 0 !== o2 ? o2 : 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: r2 }] } }); + })(C, e3, i3), C; + }; + const n2 = i2(31635), o = i2(27491), r = 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; + }, 25591(e2, t2, i2) { + "use strict"; + t2.customSchema = void 0; + const n2 = i2(55890), o = i2(75778), r = i2(51857), a = i2(25074); + t2.customSchema = a.FAILSAFE_SCHEMA.withTags(a.nullCoreTag, a.boolCoreTag, r.strictIntType, o.strictFloatType, a.mergeTag, a.binaryTag, a.legacyMapTag, a.omapTag, a.pairsTag, n2.legacySetType), t2.customSchema; + }, 79924(e2, t2, i2) { + "use strict"; + t2.flowYamlJsYamlSchema = void 0; + const n2 = i2(55890), o = i2(75778), r = i2(51857), a = i2(25074); + t2.flowYamlJsYamlSchema = a.FAILSAFE_SCHEMA.withTags(a.nullCoreTag, a.boolCoreTag, r.strictIntType, o.strictFloatType, a.mergeTag, a.binaryTag, a.legacyMapTag, a.omapTag, a.pairsTag, n2.legacySetType); + }, 4816(e2, t2, i2) { + "use strict"; + t2.legacyDefaultSchema = void 0; + const n2 = i2(5223), o = i2(55890), r = i2(25074); + t2.legacyDefaultSchema = r.FAILSAFE_SCHEMA.withTags(r.nullCoreTag, r.boolCoreTag, n2.legacyIntType, r.floatCoreTag, r.timestampTag, r.mergeTag, r.binaryTag, r.legacyMapTag, r.omapTag, r.pairsTag, o.legacySetType); + }, 5223(e2, t2, i2) { + "use strict"; + t2.legacyIntType = void 0; + const n2 = i2(25074); + function o(e3) { + return e3 >= 48 && e3 <= 57 || e3 >= 65 && e3 <= 70 || e3 >= 97 && e3 <= 102; + } + function r(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 (!o(e4.charCodeAt(i3))) return false; + n3 = true; + } + return n3 && isFinite(s(e4)); + } + if ("o" === l) { + for (i3++; i3 < t3; i3++) { + if (!r(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; } }); - var li = i2(5362); - Object.defineProperty(t2, "zipAll", { enumerable: true, get: function() { - return li.zipAll; + }, 55890(e2, t2, i2) { + "use strict"; + t2.legacySetType = void 0; + const n2 = i2(25074); + function o(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[o(t3)] = null, ""), has: (e3, t3) => Object.prototype.hasOwnProperty.call(e3, o(t3)), keys: (e3) => Object.keys(e3), get: (e3, t3) => e3[o(t3)], identify: null }); + }, 96237(e2, t2, i2) { + "use strict"; + t2.loadSingleYamlDocument = function(e3, t3, i3) { + const o = (0, n2.loadAll)(e3, { schema: t3, maxDepth: i3 }); + if (o.length > 1) throw new n2.YAMLException("expected a single document in the stream, but found more"); + return 0 === o.length ? null : o[0]; + }; + const n2 = i2(25074); + }, 75778(e2, t2, i2) { + "use strict"; + t2.strictFloatType = void 0; + const n2 = i2(25074), o = /^[-+]?[0-9]+e/; + function r(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 || r(e3)); + }, represent: function(e3) { + if (isNaN(e3)) return ".nan"; + if (e3 === Number.POSITIVE_INFINITY) return ".inf"; + if (e3 === Number.NEGATIVE_INFINITY) return "-.inf"; + if (r(e3)) return "-0.0"; + const t3 = e3.toString(10); + return o.test(t3) ? t3.replace("e", ".e") : t3; } }); - var ui = i2(36977); - Object.defineProperty(t2, "zipWith", { enumerable: true, get: function() { - return ui.zipWith; + }, 51857(e2, t2, i2) { + "use strict"; + t2.strictIntType = void 0; + const n2 = i2(25074); + function o(e3) { + return 48 <= e3 && e3 <= 57 || 65 <= e3 && e3 <= 70 || 97 <= e3 && e3 <= 102; + } + function r(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], !o(e4.charCodeAt(n3))) return false; + s = true; + } + return s; + } + for (; n3 < t3; n3++) { + if (i3 = e4[n3], !r(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, o2 = 1; + const r2 = []; + if (i3 = t3[0], "-" === i3 || "+" === i3) { + "-" === i3 && (o2 = -1); + const e5 = t3.slice(1); + if (i3 = e5[0], "0" === e5) return 0; + if ("0" === i3) return "b" === e5[1] ? o2 * parseInt(e5.slice(2), 2) : "x" === e5[1] ? o2 * parseInt(e5, 16) : o2 * parseInt(e5, 8); + if (-1 !== e5.indexOf(":")) { + e5.split(":").forEach(function(e6) { + r2.unshift(parseInt(e6, 10)); + }); + let t4 = 0; + return n3 = 1, r2.forEach(function(e6) { + t4 += e6 * n3, n3 *= 60; + }), o2 * t4; + } + return o2 * parseInt(e5, 10); + } + if ("0" === t3) return 0; + if ("0" === i3) return "b" === t3[1] ? o2 * parseInt(t3.slice(2), 2) : "x" === t3[1] ? o2 * parseInt(t3, 16) : o2 * parseInt(t3, 8); + if (-1 !== t3.indexOf(":")) { + t3.split(":").forEach(function(e6) { + r2.unshift(parseInt(e6, 10)); + }); + let e5 = 0; + return n3 = 1, r2.forEach(function(t4) { + e5 += t4 * n3, n3 *= 60; + }), o2 * e5; + } + return o2 * 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; } }); - }, 79411: (e2) => { - e2.exports = { AF: "Afghanistan", AX: "Aland Islands", AL: "Albania", DZ: "Algeria", AS: "American Samoa", AD: "Andorra", AO: "Angola", AI: "Anguilla", AQ: "Antarctica", AG: "Antigua and Barbuda", AR: "Argentina", AM: "Armenia", AW: "Aruba", AU: "Australia", AT: "Austria", AZ: "Azerbaijan", BS: "Bahamas", BH: "Bahrain", BD: "Bangladesh", BB: "Barbados", BY: "Belarus", BE: "Belgium", BZ: "Belize", BQ: "Bonaire, Sint Eustatius and Saba", BJ: "Benin", BM: "Bermuda", BT: "Bhutan", BO: "Bolivia, Plurinational State of", BA: "Bosnia and Herzegovina", BW: "Botswana", BV: "Bouvet Island", BR: "Brazil", IO: "British Indian Ocean Territory", BN: "Brunei Darussalam", BG: "Bulgaria", BF: "Burkina Faso", BI: "Burundi", KH: "Cambodia", CM: "Cameroon", CA: "Canada", CV: "Cape Verde", CW: "Cura\xE7ao", KY: "Cayman Islands", CF: "Central African Republic", TD: "Chad", CL: "Chile", CN: "China", CX: "Christmas Island", CC: "Cocos (Keeling) Islands", CO: "Colombia", KM: "Comoros", CG: "Congo", CD: "The Democratic Republic of the Congo", CK: "Cook Islands", CR: "Costa Rica", CI: "Cote d'Ivoire", HR: "Croatia", CU: "Cuba", CY: "Cyprus", CZ: "Czech Republic", DK: "Denmark", DJ: "Djibouti", DM: "Dominica", DO: "Dominican Republic", EC: "Ecuador", EG: "Egypt", SV: "El Salvador", GQ: "Equatorial Guinea", ER: "Eritrea", EE: "Estonia", ET: "Ethiopia", EH: "Western Sahara", FK: "Falkland Islands (Malvinas)", FO: "Faroe Islands", FJ: "Fiji", FI: "Finland", FR: "France", GF: "French Guiana", PF: "French Polynesia", TF: "French Southern Territories", GA: "Gabon", GM: "Gambia", GE: "Georgia", DE: "Germany", GH: "Ghana", GI: "Gibraltar", GR: "Greece", GL: "Greenland", GD: "Grenada", GP: "Guadeloupe", GU: "Guam", GT: "Guatemala", GG: "Guernsey", GN: "Guinea", GW: "Guinea-Bissau", GY: "Guyana", HT: "Haiti", VA: "Holy See", HN: "Honduras", HK: "Hong Kong", HU: "Hungary", IS: "Iceland", IN: "India", ID: "Indonesia", IR: "Iran", IQ: "Iraq", IE: "Ireland", IM: "Isle of Man", IL: "Israel", IT: "Italy", JM: "Jamaica", JP: "Japan", JE: "Jersey", JO: "Jordan", HM: "Heard Island and McDonald Islands", KZ: "Kazakhstan", KE: "Kenya", KI: "Kiribati", KP: "Korea, Democratic People's Republic of", KR: "Republic of South Korea", XK: "Kosovo", KW: "Kuwait", KG: "Kyrgyzstan", LA: "Laos", LV: "Latvia", LB: "Lebanon", LS: "Lesotho", LR: "Liberia", LY: "Libyan Arab Jamahiriya", LI: "Liechtenstein", LT: "Lithuania", LU: "Luxembourg", MO: "Macao", MK: "Macedonia", MG: "Madagascar", MW: "Malawi", MY: "Malaysia", MV: "Maldives", ML: "Mali", MT: "Malta", MH: "Marshall Islands", MQ: "Martinique", MR: "Mauritania", MU: "Mauritius", YT: "Mayotte", MX: "Mexico", FM: "Micronesia, Federated States of", MD: "Moldova", MC: "Monaco", MN: "Mongolia", ME: "Montenegro", MS: "Montserrat", MA: "Morocco", MZ: "Mozambique", MM: "Myanmar", NA: "Namibia", NR: "Nauru", NP: "Nepal", NL: "Netherlands", AN: "Netherlands Antilles", NC: "New Caledonia", NZ: "New Zealand", NI: "Nicaragua", NE: "Niger", NG: "Nigeria", NU: "Niue", NF: "Norfolk Island", MP: "Northern Mariana Islands", NO: "Norway", OM: "Oman", PK: "Pakistan", PW: "Palau", PS: "Palestine, State of", PA: "Panama", PG: "Papua New Guinea", PY: "Paraguay", PE: "Peru", PH: "Philippines", PN: "Pitcairn", PL: "Poland", PT: "Portugal", PR: "Puerto Rico", QA: "Qatar", RO: "Romania", RU: "Russia", RW: "Rwanda", RE: "Reunion", BL: "Saint Barthelemy", SH: "Saint Helena, Ascension and Tristan Da Cunha", KN: "Saint Kitts and Nevis", LC: "Saint Lucia", MF: "Saint Martin", PM: "Saint Pierre and Miquelon", VC: "Saint Vincent and the Grenadines", WS: "Samoa", SM: "San Marino", ST: "Sao Tome and Principe", SA: "Saudi Arabia", SN: "Senegal", RS: "Serbia", SC: "Seychelles", SL: "Sierra Leone", SG: "Singapore", SK: "Slovakia", SI: "Slovenia", SB: "Solomon Islands", SO: "Somalia", ZA: "South Africa", GS: "South Georgia and the South Sandwich Islands", SS: "South Sudan", SX: "Sint Maarten", ES: "Spain", LK: "Sri Lanka", SD: "Sudan", SR: "Suriname", SJ: "Svalbard and Jan Mayen", SZ: "Swaziland", SE: "Sweden", CH: "Switzerland", SY: "Syrian Arab Republic", TW: "Taiwan", TJ: "Tajikistan", TZ: "Tanzania, United Republic of", TH: "Thailand", TL: "Timor-Leste", TG: "Togo", TK: "Tokelau", TO: "Tonga", TT: "Trinidad and Tobago", TN: "Tunisia", TR: "Turkey", TM: "Turkmenistan", TC: "Turks and Caicos Islands", TV: "Tuvalu", UG: "Uganda", UA: "Ukraine", AE: "United Arab Emirates", GB: "United Kingdom", US: "United States", UM: "United States Minor Outlying Islands", UY: "Uruguay", UZ: "Uzbekistan", VU: "Vanuatu", VE: "Venezuela, Bolivarian Republic of", VN: "Vietnam", VG: "Virgin Islands, British", VI: "Virgin Islands, U.S.", WF: "Wallis and Futuna", YE: "Yemen", ZM: "Zambia", ZW: "Zimbabwe" }; - }, 79467: (e2, t2, i2) => { + }, 79608(e2, t2) { + "use strict"; + t2.architectYamlMaxDepth = void 0, t2.architectYamlMaxDepth = 1e3; + }, 73324(e2, t2, i2) { + "use strict"; + var n2; + t2.BaseBotActionSettingsSequence = void 0; + const o = i2(31635), r = i2(64306); + class a extends r.BaseBotSettingsSequence { + constructor(e3) { + super(), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, e3, "f"); + } + generateLanguageSequencesDefaultSequence(e3, t3) { + return super.generateLanguageSequencesDefaultSequence(o.__classPrivateFieldGet(this, n2, "f"), e3, t3); + } + generateLanguageSequenceConfig(e3, t3, i3, n3) { + return super.generateLanguageSequenceConfig(e3, t3, i3, n3); + } + } + t2.BaseBotActionSettingsSequence = a, n2 = /* @__PURE__ */ new WeakMap(); + }, 64306(e2, t2, i2) { + "use strict"; + var n2; + t2.BaseBotSettingsSequence = void 0; + const o = i2(31635), r = o.__importDefault(i2(92140)), a = i2(69149); + t2.BaseBotSettingsSequence = class { + constructor() { + n2.set(this, { _label: void 0, availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "defaultSequence", "ko-kr": "defaultSequence", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: void 0, flowTypeOverrides: {}, languageSequences: {} }); + } + generateLanguageSequencesDefaultSequence(e3, t3, i3) { + t3 || (t3 = ""); + const n3 = { defaultSequence: { _label: `${e3}_${t3}`, partContents: [{ builderPartId: i3 || a.builderPartIds.communication.text, parameters: {} }] } }; + return n3.defaultSequence.partContents[0].parameters[e3] = t3, n3; + } + generateLanguageSequenceConfig(e3, t3, i3, a2) { + const s = r.default.deepClone(o.__classPrivateFieldGet(this, n2, "f")); + return s._label = e3, s.builderId = t3, s.languageSequences = i3, r.default.isObject(a2) && (s.flowTypeOverrides = a2), s; + } + }, n2 = /* @__PURE__ */ new WeakMap(); + }, 54708(e2, t2, i2) { + "use strict"; + t2.askForBooleanSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(73324); + class s extends a.BaseBotActionSettingsSequence { + constructor() { + super("askForBoolean"); + } + get noInputSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInput"); + return this.generateLanguageSequenceConfig("AskForBooleanNoInput", o.builderIds.parts.genericCommunication, e3); + } + get noInputDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); + return this.generateLanguageSequenceConfig("AskForBooleanNoInputDigitalBot", o.builderIds.parts.genericCommunication, e3); + } + get noMatchSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"); + return this.generateLanguageSequenceConfig("AskForBooleanNoMatch", o.builderIds.parts.genericCommunication, e3); + } + get noMatchDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); + return this.generateLanguageSequenceConfig("AskForBooleanNoMatchDigitalBot", o.builderIds.parts.markdownCommunication, e3); + } + get questionSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("question"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("AskForBooleanQuestion", o.builderIds.parts.genericCommunication, e3, t3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "questionSequence", null), t2.askForBooleanSequences = new s(); + }, 71012(e2, t2, i2) { + "use strict"; + t2.askForIntentSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(73324); + class s extends a.BaseBotActionSettingsSequence { + constructor() { + super("askForIntent"); + } + get noInputSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInput"); + return this.generateLanguageSequenceConfig("AskForIntentNoInput", o.builderIds.parts.genericCommunication, e3); + } + get noInputDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); + return this.generateLanguageSequenceConfig("AskForIntentNoInputDigitalBot", o.builderIds.parts.markdownCommunication, e3); + } + get noMatchSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("AskForIntentNoMatch", o.builderIds.parts.genericCommunication, e3, t3); + } + get questionSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("question"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("AskForIntentQuestion", o.builderIds.parts.genericCommunication, e3, t3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "questionSequence", null), t2.askForIntentSequences = new s(); + }, 25653(e2, t2, i2) { + "use strict"; + t2.askForNextSlotSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(73324); + class s extends a.BaseBotActionSettingsSequence { + constructor() { + super("askForNextSlot"); + } + get noInputSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInput"); + return this.generateLanguageSequenceConfig("AskForNextSlotNoInput", o.builderIds.parts.genericCommunication, e3); + } + get noInputDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); + return this.generateLanguageSequenceConfig("AskForNextSlotNoInputDigitalBot", o.builderIds.parts.markdownCommunication, e3); + } + get noMatchSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"); + return this.generateLanguageSequenceConfig("AskForNextSlotNoMatch", o.builderIds.parts.genericCommunication, e3); + } + get noMatchDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatch"); + return this.generateLanguageSequenceConfig("AskForNextSlotNoMatch", o.builderIds.parts.markdownCommunication, e3); + } + get questionSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("question"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("AskForNextSlotQuestion", o.builderIds.parts.genericCommunication, e3, t3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "questionSequence", null), t2.askForNextSlotSequences = new s(); + }, 63358(e2, t2, i2) { + "use strict"; + t2.askForPaymentSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(73324); + class s extends a.BaseBotActionSettingsSequence { + constructor() { + super("askForPayment"); + } + get noInputDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); + return this.generateLanguageSequenceConfig("AskForPaymentNoInputDigitalBot", o.builderIds.parts.genericCommunication, e3); + } + get noMatchDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); + return this.generateLanguageSequenceConfig("AskForPaymentNoMatchDigitalBot", o.builderIds.parts.markdownCommunication, e3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchDigitalBotSequence", null), t2.askForPaymentSequences = new s(); + }, 62974(e2, t2, i2) { + "use strict"; + t2.botFlowErrorEventHandlingSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(64306); + class s extends a.BaseBotSettingsSequence { + get errorHandlingErrorEventHandoverSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingErrorEventHandover"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 }, voicesurvey: { builderId: o.builderIds.parts.genericCommunication, languageSequences: this.generateLanguageSequencesDefaultSequence("errorHandlingErrorEventHandoverVoiceSurvey") } }; + return this.generateLanguageSequenceConfig("ErrorHandlingErrorEventHandover", o.builderIds.parts.genericCommunication, e3, t3); + } + get errorHandlingRecognitionEventHandoverSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingRecognitionEventHandover"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 }, voicesurvey: { builderId: o.builderIds.parts.genericCommunication, languageSequences: this.generateLanguageSequencesDefaultSequence("errorHandlingRecognitionEventHandoverVoiceSurvey") } }; + return this.generateLanguageSequenceConfig("ErrorHandlingRecognitionEventHandover", o.builderIds.parts.genericCommunication, e3, t3); + } + get errorHandlingAgentEscalationConfirmationSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingAgentEscalationConfirmation"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("ErrorHandlingAgentEscalationConfirmation", o.builderIds.parts.genericCommunication, e3, t3); + } + get errorHandlingAgentEscalationHandoverSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("errorHandlingAgentEscalationHandover"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("ErrorHandlingAgentEscalationHandover", o.builderIds.parts.genericCommunication, e3, t3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingErrorEventHandoverSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingRecognitionEventHandoverSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingAgentEscalationConfirmationSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "errorHandlingAgentEscalationHandoverSequence", null), t2.botFlowErrorEventHandlingSequences = new s(); + }, 33380(e2, t2, i2) { + "use strict"; + t2.botFlowKnowledgeSettingsSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(73324); + class s extends a.BaseBotActionSettingsSequence { + constructor() { + super("knowledgeSettings"); + } + get knowledgeInitialResponseMultiSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeInitialResponseMulti"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("KnowledgeInitialResponseMulti", o.builderIds.parts.genericCommunication, e3, t3); + } + get knowledgeInitialResponseMultiRetrySequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeInitialResponseMultiRetry"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("KnowledgeInitialResponseMultiRetry", o.builderIds.parts.genericCommunication, e3, t3); + } + get knowledgeNoMatchSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeNoMatch"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("KnowledgeNoMatch", o.builderIds.parts.genericCommunication, e3, t3); + } + get knowledgeConfirmationSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeConfirmation"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("KnowledgeConfirmation", o.builderIds.parts.genericCommunication, e3, t3); + } + get knowledgeFollowupSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("knowledgeFollowup"), t3 = { digitalbot: { builderId: o.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("KnowledgeFollowup", o.builderIds.parts.genericCommunication, e3, t3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeInitialResponseMultiSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeInitialResponseMultiRetrySequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeNoMatchSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeConfirmationSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "knowledgeFollowupSequence", null), t2.botFlowKnowledgeSettingsSequences = new s(); + }, 65287(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s, l, u, c, d; + t2.botFlowUserInputSettingsSequences = void 0; + const p = i2(31635), _ = i2(28562), h = i2(697), m = i2(80295), g = i2(64306); + class f extends g.BaseBotSettingsSequence { + get settingsConfirmationNoInputApologySequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoInputApology"); + return this.generateLanguageSequenceConfig("SettingsConfirmationNoInputApology", _.builderIds.parts.genericCommunication, e3); + } + get settingsConfirmationNoInputApologyDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoInputApologyDigitalBot"); + return this.generateLanguageSequenceConfig("SettingsConfirmationNoInputApologyDigitalBot", _.builderIds.parts.genericCommunication, e3); + } + get settingsConfirmationNoMatchApologySequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoMatchApology"); + return this.generateLanguageSequenceConfig("SettingsConfirmationNoMatchApology", _.builderIds.parts.genericCommunication, e3); + } + get settingsConfirmationNoMatchApologyDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsConfirmationNoMatchApologyDigitalBot"); + return this.generateLanguageSequenceConfig("SettingsConfirmationNoMatchApologyDigitalBot", _.builderIds.parts.genericCommunication, e3); + } + get settingsNoInputApologySequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoInputApology"); + return this.generateLanguageSequenceConfig("SettingsNoInputApology", _.builderIds.parts.genericCommunication, e3); + } + get settingsNoInputApologyDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoInputApologyDigitalBot"); + return this.generateLanguageSequenceConfig("SettingsNoInputApologyDigitalBot", _.builderIds.parts.markdownCommunication, e3); + } + get settingsEndOfSessionMessageDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsEndOfSessionMessageDigitalBot"); + return this.generateLanguageSequenceConfig("SettingsEndOfSessionMessageDigitalBot", _.builderIds.parts.markdownCommunication, e3); + } + get settingsNoMatchApologySequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoMatchApology"), t3 = { digitalbot: { builderId: _.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + return this.generateLanguageSequenceConfig("SettingsNoMatchApology", _.builderIds.parts.genericCommunication, e3, t3); + } + get settingsNoToConfirmationApologySequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("settingsNoToConfirmationApology"), t3 = { digitalbot: { builderId: _.builderIds.parts.markdownCommunication, languageSequences: e3 } }; + 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 (o = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? o : Object), p.__metadata("design:paramtypes", [])], f.prototype, "settingsConfirmationNoInputApologyDigitalBotSequence", null), p.__decorate([(0, m.enumerable)(true), p.__metadata("design:type", "function" == typeof (r = void 0 !== h.ILanguagesSequenceConfig && h.ILanguagesSequenceConfig) ? r : 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(); + }, 93646(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(28562), o = i2(69149), r = { _label: "BotIntentConf", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_intent_conf", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_intent_conf_seq_1", partContents: [{ builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_intent_conf", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_intent_conf_seq_1", parts: [{ builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] } } }; + t2.default = r; + }, 83668(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(28562), o = i2(69149), r = { _label: "BotNoInput", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_noInput", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1DigitalBot" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noInput_seq_1", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1DigitalBot" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_noInput", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noInput_seq_1", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1" } }] } } }; + t2.default = r; + }, 87769(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(28562), o = i2(69149), r = { _label: "BotNoMatch", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_noMatch", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noMatch_seq_1", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_noMatch", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noMatch_seq_1", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }] } } }; + t2.default = r; + }, 4712(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(28562), o = i2(69149), r = { _label: "BotSlotConf", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_conf", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1DigitalBot" } }, { builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_slot_conf_seq_1", partContents: [{ builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1DigitalBot" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_conf", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1" } }, { builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_slot_conf_seq_1", parts: [{ builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "youSaid", templateNoOverlaySectionKey: "youSaidConfirmationStr2" } }] } } }; + t2.default = r; + }, 53474(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(28562), o = i2(69149), r = { _label: "BotSlotCont", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "defaultSequence", "ko-kr": "defaultSequence", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_cont", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr1" } }, { builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr2" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_cont", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr1" } }, { builderPartId: o.builderPartIds.communication.data, parameters: { reference: "$askResultVariable" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "iGotContinuation", templateNoOverlaySectionKey: "iGotContinuationStr2" } }] } } }; + t2.default = r; + }, 33726(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(28562), o = i2(69149), r = { _label: "BotSlotQuestion", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "localizedSequence1", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "localizedSequence2", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_question", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence1: { _label: "bot_slot_question_seq_1", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence2: { _label: "bot_slot_question_seq_2", partContents: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_question", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence1: { _label: "bot_slot_question_seq_1", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr2" } }] }, localizedSequence2: { _label: "bot_slot_question_seq_2", parts: [{ builderPartId: o.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: o.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "whatIs", templateNoOverlaySectionKey: "whatIsQuestionStr1" } }] } } }; + t2.default = r; + }, 36932(e2, t2, i2) { + "use strict"; + t2.formSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(73324); + class s extends a.BaseBotActionSettingsSequence { + constructor() { + super("form"); + } + get noInputDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); + return this.generateLanguageSequenceConfig("FormNoInputDigitalBot", o.builderIds.parts.markdownCommunication, e3); + } + get noMatchDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); + return this.generateLanguageSequenceConfig("FormNoMatchDigitalBot", o.builderIds.parts.markdownCommunication, e3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchDigitalBotSequence", null), t2.formSequences = new s(); + }, 90858(e2, t2, i2) { + "use strict"; + t2.messagingTemplateSequences = void 0; + const n2 = i2(31635), o = i2(28562), r = i2(80295), a = i2(73324); + class s extends a.BaseBotActionSettingsSequence { + constructor() { + super("messagingTemplate"); + } + get noInputDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); + return this.generateLanguageSequenceConfig("MessagingTemplateNoInputDigitalBot", o.builderIds.parts.genericCommunication, e3); + } + get noMatchDigitalBotSequence() { + const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); + return this.generateLanguageSequenceConfig("MessagingTemplateNoMatchDigitalBot", o.builderIds.parts.markdownCommunication, e3); + } + } + n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noInputDigitalBotSequence", null), n2.__decorate([(0, r.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], s.prototype, "noMatchDigitalBotSequence", null), t2.messagingTemplateSequences = new s(); + }, 69453(e2, t2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), 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." }, businessProcess: { launchInProgressLabel: "Test Launch in Progress", previewLabelDebug: "Debug Test Launch", previewLabelPublished: "Test Launch", previewDescriptionDebug: "Launch the latest debug publish of this business process flow.", previewDescriptionPublished: "Launch the latest published version of this business process flow.", launchPayloadTitle: "Business Process Input Data", launchPayloadSubTitle: "Enter the business process flow input data below.", firstTimeMessage: "When performing a test launch of a business process flow, remember it runs the latest published version of the flow." }, workflow: { launchInProgressLabel: "Test Launch in Progress", previewLabelDebug: "Debug Test Launch", previewLabelPublished: "Test Launch", previewDescriptionDebug: "Launch the latest debug publish of this workflow.", previewDescriptionPublished: "Launch the latest published version of this workflow.", launchPayloadTitle: "Workflow Input Data", launchPayloadSubTitle: "Enter the workflow input data below.", firstTimeMessage: "When performing a test launch of a workflow, remember it runs the latest published version of the workflow." }, 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", 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: "Bot Experience", cannotApplyChangeSet: "This changeset cannot be applied:", changeSets: "Change Sets", clearChangeSets: "Clear Change Sets", noChangeSetToApply: "No changeset to apply.", 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.", yaml: { scripting: { 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." }, ui: { 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." } } }, notification: { applyButton: "Apply", fetchFailed: 'Unable to load change set "%1$s".', message: "A new change set is ready. Apply to this flow?", noFlowOpen: "Open a flow before applying a change set.", title: "Change Set Available" }, lookupProgress: { barAriaLabel: "Looking up %1$s: %2$s ok, %3$s failed, %4$s pending", countTooltip: "%1$s ok, %2$s failed, %3$s pending", overallAriaLabel: "Overall lookup progress: %1$s of %2$s complete", overallLabel: "Overall", overallCount: "%1$s/%2$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", lookupsLabel: "Lookups \u2014 %1$s found, %2$s failed", lookupsLabelNoFailures: "Lookups \u2014 %1$s found", lookupTypeFoundSingular: "%1$s %2$s found", lookupTypeFoundPlural: "%1$s %2$s found", lookupTypeFoundAndFailed: "%1$s %2$s found, %3$s failed", lookupItemPending: "Looking up '%1$s'\u2026", lookupItemFound: "'%1$s' found", lookupItemNotFound: "'%1$s' not found" }, debugUserActions: { exampleChangeSet: "Example Changeset %1$s", openChangeSet: "Open Change Set ...", sendAsNotification: "Send as Notification" } }, 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" }; + }, 94241(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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)), _ = o.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) === 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(); + } + _getCoreViewModelJsonType() { + const e3 = this._getCoreViewModelTyped(); + if (null == e3 ? void 0 : e3.isJsonType) return e3; + } + get name() { + return this._name; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrLabel(e3, this.label), this._appendLogStrIsCollection(e3, this.isCollection), this._createLogStrFromParts(e3); + } + get displayTypeName() { + return "ArchDataType"; + } + get isAnAnyType() { + return !!this._getCoreViewModelTyped().isSupportedByAny; + } + get isArchDataType() { + return true; + } + isAvailableForFlowType(e3) { + return this._ensureSessionIsConnected(this._infoMethod("isAvailableForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableForFlowType"), e3, r.default.FLOW_TYPES_ALL), !!this._getCoreViewModelTyped().isAvailableForFlowType(e3, true); + } + isAvailableForFlow(e3) { + return this._ensureSessionIsConnected(this._infoMethod("isAvailableForFlow"), a.default), this._checkItem(this._infoParm("archBaseFlow", "isAvailableForFlow"), !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), !!this._getCoreViewModel().isAvailableForFlow(e3, true); + } + isAvailableAsInputForFlowType(e3) { + return this._ensureSessionIsConnected(this._infoMethod("isAvailableAsInputForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableAsInputForFlowType"), e3, r.default.FLOW_TYPES_ALL), !!this._getCoreViewModelTyped().isAvailableAsInputForFlowType(e3); + } + isAvailableAsOutputForFlowType(e3) { + return this._ensureSessionIsConnected(this._infoMethod("isAvailableAsOutputForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableAsOutputForFlowType"), e3, r.default.FLOW_TYPES_ALL), !!this._getCoreViewModelTyped().isAvailableAsOutputForFlowType(e3); + } + get isCollection() { + var e3; + return !!(null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.isCollection); + } + get isComplex() { + var e3; + return !!(null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.isComplex); + } + get valueCanBeLiteral() { + return this._getCoreViewModelTyped().supportsLiteralEditor; + } + isScriptCreatableForFlowType(e3) { + return this._ensureSessionIsConnected(this._infoMethod("isScriptCreatableForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isScriptCreatableForFlowType"), e3, r.default.FLOW_TYPES_ALL), this._getCoreViewModelTyped().isUserCreatableForFlowType(e3); + } + isScriptCreatableForFlow(e3) { + return this._ensureSessionIsConnected(this._infoMethod("isScriptCreatableForFlow"), a.default), this._checkItem(this._infoParm("archBaseFlow", "isScriptCreatableForFlow"), !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._getCoreViewModelTyped().isUserCreatableForFlow(e3._getCoreViewModel()); + } + get label() { + return this._getCoreViewModelTyped().displayString; + } + get isCustomJsonType() { + return !!this._getCoreViewModelTyped().isCustomType; + } + get customJsonNamespace() { + var e3; + return this._checkMethodCallFeatureIsAvailable(this._infoPropGet("customJsonNamespace"), l.default.customJSONV2), (null === (e3 = this._getCoreViewModelJsonType()) || void 0 === e3 ? void 0 : e3.customTypeNamespace) || ""; + } + getCustomJsonSchema() { + this._checkMethodCallFeatureIsAvailable(this._infoMethod("getCustomJsonSchema"), l.default.customJSONV2); + const e3 = this._getCoreViewModelJsonType(); + if (null == e3 ? void 0 : e3.isCustomType) { + const t3 = e3.getCustomDataTypeDefinition(); + return this.coreFactory.createArchWrapper(t3); + } + } + get id() { + return this._getCoreViewModelTyped().expressionType; + } + get hasProperties() { + return this._getCoreViewModelTyped().hasProperties(); + } + get hasPropertiesAndAllAreReadOnly() { + return this._getCoreViewModelTyped().hasPropertiesAndAllAreReadOnly; + } + } + t2.default = h; + }, 84821(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + _getCoreViewModelTyped() { + return this._getCoreViewModel(); + } + get displayTypeName() { + return "ArchDataTypeJsonCustomProperty"; + } + get isArchDataTypeJsonCustomProperty() { + return true; + } + get maxItems() { + return this._getCoreViewModelTyped().maxItems; + } + get minItems() { + return this._getCoreViewModelTyped().minItems; + } + get minLength() { + return this._getCoreViewModelTyped().minLength; + } + get maxLength() { + return this._getCoreViewModelTyped().maxLength; + } + get isCollection() { + return this._getCoreViewModelTyped().isCollection; + } + get isRequired() { + return this._getCoreViewModelTyped().isRequired; + } + get allowableValues() { + return this._getCoreViewModelTyped().allowableValues; + } + get description() { + return this._getCoreViewModelTyped().description; + } + get name() { + return this._getCoreViewModelTyped().name; + } + get dataType() { + var e3; + if (null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.type) return this.coreFactory.createArchWrapper(this._getCoreViewModelTyped().type); + } + get minValueInclusive() { + return this._getCoreViewModelTyped().minValueInclusive; + } + get maxValueInclusive() { + return this._getCoreViewModelTyped().maxValueInclusive; + } + get parentFlow() { + var e3; + const t3 = null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.parentFlow; + if (t3) return this.coreFactory.createArchWrapper(t3); + } + get minValue() { + return this._getCoreViewModelTyped().minValue; + } + get maxValue() { + return this._getCoreViewModelTyped().maxValue; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "Name", this.name, false, true), this._appendLogStrPart(e3, "Description", this.description, false, true), this.id === this._getCoreViewModelTyped().dataTypeId ? this._appendLogStrPart(e3, "Id/DataTypeId", this.id, false, true) : (this._appendLogStrPart(e3, "Id", this.id, false, true), this._appendLogStrPart(e3, "DataTypeId", this._getCoreViewModelTyped().dataTypeId, false, true)), this._appendLogStrPart(e3, "IsCollection", this.isCollection, true, true), this._appendLogStrPart(e3, "MinValue", this.minValue, true, true), this._appendLogStrPart(e3, "MinValueInclusive", this.minValueInclusive, true, true), this._appendLogStrPart(e3, "MaxValue", this.maxValue, true, true), this._appendLogStrPart(e3, "MaxValueInclusive", this.maxValueInclusive, true, true), this._appendLogStrPart(e3, "MinItems", this.minItems, true, true), this._appendLogStrPart(e3, "MaxItems", this.maxItems, true, true), this._appendLogStrPart(e3, "MinLength", this.minLength, true, true), this._appendLogStrPart(e3, "MaxLength", this.maxLength, true, true), this._createLogStrFromParts(e3); + } + } + t2.default = o; + }, 79635(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(87675)), a = i2(82632), s = n2.__importDefault(i2(37873)), l = n2.__importDefault(i2(73198)); + class u extends s.default { + constructor(e3) { + super(e3); + } + _getCoreViewModelTyped() { + return this._getCoreViewModel(); + } + get displayTypeName() { + return "ArchDataTypeJsonCustomSchema"; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "Name", this.name, false, true), this._appendLogStrPart(e3, "Description", this.description, false, true), this.id === this.dataTypeId ? this._appendLogStrPart(e3, "Id/DataTypeId", this.id, false, true) : (this._appendLogStrPart(e3, "Id", this.id, false, true), this._appendLogStrPart(e3, "DataTypeId", this.dataTypeId, false, true)), this._appendLogStrPart(e3, "IsCollection", this.isCollection, true, true), this._appendLogStrPart(e3, "MinValue", this.minValue, true, true), this._appendLogStrPart(e3, "MinValueInclusive", this.minValueInclusive, true, true), this._appendLogStrPart(e3, "MaxValue", this.maxValue, true, true), this._appendLogStrPart(e3, "MaxValueInclusive", this.maxValueInclusive, true, true), this._appendLogStrPart(e3, "MinItems", this.minItems, true, true), this._appendLogStrPart(e3, "MaxItems", this.maxItems, true, true), this._appendLogStrPart(e3, "MinLength", this.minLength, true, true), this._appendLogStrPart(e3, "MaxLength", this.maxLength, true, true), this._appendLogStrPart(e3, "Properties", this.properties.length, true, true), this._createLogStrFromParts(e3); + } + get isArchDataTypeJsonCustomSchema() { + return true; + } + set maxItems(e3) { + const t3 = this._infoPropSet("newMaxItems", "maxItems"); + this._checkItemIsValidLiteralInt(t3, e3, true), o.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.defaultCollectionItemsMax), this._getCoreViewModelTyped().maxItems = e3; + } + get maxItems() { + return this._getCoreViewModelTyped().maxItems; + } + set minItems(e3) { + const t3 = this._infoPropSet("newMinItems", "minItems"); + this._checkItemIsValidLiteralInt(t3, e3, true), o.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.defaultCollectionItemsMax), this._getCoreViewModelTyped().minItems = e3; + } + get minItems() { + return this._getCoreViewModelTyped().minItems; + } + get minLength() { + return this._getCoreViewModelTyped().minLength; + } + set minLength(e3) { + const t3 = this._infoPropSet("newMinLength", "minLength"); + this._checkItemIsValidLiteralInt(t3, e3, true), o.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.maxStringLength), this._getCoreViewModelTyped().minLength = e3; + } + get maxLength() { + return this._getCoreViewModelTyped().maxLength; + } + set maxLength(e3) { + const t3 = this._infoPropSet("newMaxLength", "maxLength"); + this._checkItemIsValidLiteralInt(t3, e3, true), o.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.maxStringLength), this._getCoreViewModelTyped().maxLength = e3; + } + get isCollection() { + return this._getCoreViewModelTyped().isCollection; + } + set isRequired(e3) { + const t3 = this._infoPropSet("newIsRequiredValue", "isRequired"); + this._checkItemIsValidLiteralBool(t3, e3, false), this._getCoreViewModelTyped().isRequired = !!e3; + } + get isRequired() { + return this._getCoreViewModelTyped().isRequired; + } + set additionalProperties(e3) { + const t3 = this._infoPropSet("newAdditionalProperties", "additionalProperties"); + this._checkItemIsValidLiteralBool(t3, e3, true), this._getCoreViewModelTyped().additionalProperties = !!e3; + } + get additionalProperties() { + return this._getCoreViewModelTyped().additionalProperties; + } + set allowableValues(e3) { + const t3 = this._infoPropSet("newAllowableValues", "allowableValues"); + this._checkItem(t3, !(o.default.isNullOrUndefined(e3) || o.default.isArray(e3) && e3.length), "when setting allowable values, the value must either be null or undefined to clear allowable values or an array with at least one allowable value in it."), this._getCoreViewModelTyped().allowableValues = e3; + } + get allowableValues() { + return this._getCoreViewModelTyped().allowableValues; + } + set description(e3) { + const t3 = this._infoPropSet("newDescription", "description"); + this._checkItemIsValidLiteralString(t3, e3, false, a.propertyLimits.description.maxLength, true), this._getCoreViewModelTyped().description = e3; + } + get description() { + return this._getCoreViewModelTyped().description; + } + set name(e3) { + const t3 = this._infoPropSet("newName", "name"); + this._checkItemIsValidLiteralString(t3, e3, false, a.propertyLimits.name.maxLength, true), this._getCoreViewModelTyped().name = e3; + } + get name() { + return this._getCoreViewModelTyped().name; + } + set minValueInclusive(e3) { + const t3 = this._infoPropSet("newMinValueInclusiveValue", "minValueInclusive"); + this._checkItemIsValidLiteralBool(t3, e3, false), this._getCoreViewModelTyped().minValueInclusive = !!e3; + } + get minValueInclusive() { + return this._getCoreViewModelTyped().minValueInclusive; + } + set maxValueInclusive(e3) { + const t3 = this._infoPropSet("newMaxValueInclusiveValue", "maxValueInclusive"); + this._checkItemIsValidLiteralBool(t3, e3, false), this._getCoreViewModelTyped().maxValueInclusive = !!e3; + } + get maxValueInclusive() { + return this._getCoreViewModelTyped().maxValueInclusive; + } + get dataTypeId() { + return this._getCoreViewModelTyped().dataTypeId; + } + set minValue(e3) { + const t3 = this._infoPropSet("newMinValue", "minValue"); + o.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItem(t3, !o.default.isActualNumber(e3), "when specifying a minimum value, it must be a numeric value, undefined or null"), this._getCoreViewModelTyped().minValue = e3; + } + get minValue() { + return this._getCoreViewModelTyped().minValue; + } + set maxValue(e3) { + const t3 = this._infoPropSet("newMaxValue", "maxValue"); + o.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItem(t3, !o.default.isActualNumber(e3), "when specifying a minimum value, it must be a numeric value, undefined or null"), this._getCoreViewModelTyped().maxValue = e3; + } + get maxValue() { + return this._getCoreViewModelTyped().maxValue; + } + get properties() { + var e3; + const t3 = [], i3 = null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.propertiesSnapshot; + if (null == i3 ? void 0 : i3.length) for (const e4 of i3) t3.push(this.coreFactory.createArchWrapper(e4)); + return t3; + } + addProperty(e3, t3, i3) { + const n3 = r.default.createEmptyDataTypeDef(); + return n3.name = e3, n3.id = e3, n3.description = i3, t3.endsWith("_coll") ? (n3.dataTypeId = t3.slice(0, -5), n3.isCollection = true) : n3.dataTypeId = t3, this._getCoreViewModelTyped().addProperty(n3), this.coreFactory.createArchWrapper(n3); + } + } + t2.default = u; + }, 13523(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(94241)), a = i2(80428), s = n2.__importDefault(i2(65302)), l = n2.__importDefault(i2(8471)), u = o.default.invert(a.expressionTypeNames); + class c extends l.default { + _coreTypesToArchTypes(e3, t3) { + this._checkItemUndefinedOrNull(this._infoParm("coreExpressionTypesObject", "_coreTypesToArchTypes"), e3); + const i3 = t3 || {}; + return o.default.each(e3, (e4) => { + var t4, n3; + if (this._checkItem(this._infoParm("coreExpressionType.model", "_coreTypesToArchTypes"), !e4.model, "the core expression type in coreExpressionTypesObject does not have a model property"), this._checkItem(this._infoParm("coreExpressionType.model.support", "_coreTypesToArchTypes"), !e4.model.support, "the core expression type model does not have a support property"), this._checkItem(this._infoParm("coreExpressionType.model.support.expressionDataType", "_coreTypesToArchTypes"), !e4.model.support.expressionDataType, "the core expression type model's support property does not have an expression data type"), e4.isAbstract) ; + else { + const o2 = u[e4.model.support.expressionDataType]; + if (o2 || e4.isCustomType && (null === (n3 = null === (t4 = e4.parentFlow) || void 0 === t4 ? void 0 : t4.definition) || void 0 === n3 ? void 0 : n3.supportsCustomJsonTypes)) { + const t5 = new r.default(e4, o2); + i3[t5.name] = t5; + } + } + }), i3; + } + _coreExpressionGroupToArchTypes(e3) { + return this._checkItem(this._infoParm("coreExpressionGroup", "_coreExpressionGroupToArchTypes"), !e3, "core expression group not specified"), this._coreTypesToArchTypes(e3.collections, this._coreTypesToArchTypes(e3.singletons)); + } + get displayTypeName() { + return "ArchDataTypes"; + } + getFlowDataTypes(e3) { + this._checkItem(this._infoParm("archBaseFlow", "getFlowDataTypes"), !e3 || !e3.isArchBaseFlow, "you must pass in an Architect flow such as an inbound, outbound or in-queue flow"); + const t3 = s.default.getTypeGroup(e3._getCoreViewModel()); + return this._coreExpressionGroupToArchTypes(t3); + } + getFlowTypeDataTypes(e3) { + const t3 = s.default.getGlobalTypeGroup()._getFlowTypeTypes(e3); + return o.default.values(this._coreTypesToArchTypes(t3)); + } + } + t2.default = new c(); + }, 21413(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94241)), r = n2.__importDefault(i2(84821)), a = n2.__importDefault(i2(79635)), s = n2.__importDefault(i2(13523)), l = { ArchDataType: o.default, ArchDataTypeJsonCustomProperty: r.default, ArchDataTypeJsonCustomSchema: a.default, ArchDataTypes: s.default }; + t2.default = l; + }, 78432(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchEnums = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(96618), a = i2(17666), s = i2(97111), l = i2(72473), u = n2.__importStar(i2(18325)), c = i2(35711), d = i2(89134), p = i2(32108), _ = n2.__importDefault(i2(15928)), h = n2.__importStar(i2(77751)), m = n2.__importDefault(i2(86531)), g = i2(44351), f = i2(79519), T = i2(24237), y = i2(30065), S = i2(10231), A = ["error", "optOut"], N = ["continue", "disconnect"], v = ["always", "never"], I = ["single", "multiple"], C = ["postback", "url"], O = ["carousel", "quickReplies", "timePicker", "listPicker"], b = [a.CodeLanguage.architectJson, a.CodeLanguage.architectYaml], E = "input", w = "output", R = "record", D = "schemaData", P = "schemaDataPatch", M = [E, w, "error", R, D, P], F = [E, w], L = [R, D, P], x = f.CustomJsonNamespace.architect, k = f.CustomJsonNamespace.decisionTable, V = f.CustomJsonNamespace.userDefined, U = f.CustomJsonNamespace.worktype, B = f.CustomJsonNamespace.conversationAttribute, G = [x, B, k, V, U], j = g.surveyFormDtmfTerminatingValues.map((e3) => e3.id), q = ["SMS"], W = ["intents", "knowledge", "neutral"], Y = ["and", "or"], H = ["dev", "test", "prod"], J = ["DataTablesInternalServerError", "DataTablesServerTooBusyException", "DataTablesSyntaxError", "DataTablesTableNotFoundException"], $ = ["FeatureNotEnabledError", "InternalServerError", "NoInputError", "NoMatchError", "NoResourceError", "VersionMismatchError"], z = "abortSend", K = "state", Q = "completeSend", X = "continue", Z = "disconnect", ee = "endFlow", te = "endInQueueState", ie = "endWorkflow", ne = "exit", oe = "menu", re = "queue", ae = "task", se = [z, K, Q, X, Z, ee, te, ie, ne, oe, re, ae], le = [u.debug, u.latest, u.published], ue = ["architect", "yaml"], ce = [l.flowInfoSpecLevel.comprehensive, l.flowInfoSpecLevel.detailed, l.flowInfoSpecLevel.standard, l.flowInfoSpecLevel.minimal], de = ["prompt", "duration"], pe = ["individualDigits", "none", "numeric"], _e = ["positive", "negative"], he = ["statement", "task"], me = ["standard", "highlight", "generative"], ge = ["standard", "custom"], fe = ["error", "info", "warning"], Te = ["standard", "carousel"], ye = ["convertToHtml", "convertToMarkdown", "none", "removeAllFormatting"], Se = ["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"], Ae = T.all.map((e3) => e3.id), Ne = y.all.map((e3) => e3.id), ve = ["about", "exact", "lessThan", "range"], Ie = ["ahead", "number", "ordinal"], Ce = c.allPostFlowActionTypes.map((e3) => e3.id), Oe = d.allPostFlowTargetTypes.map((e3) => e3.id), be = ["end", "endWithLogout"], Ee = ["ended", "notStarted", "running"], we = [m.default.entireFlow, m.default.none, m.default.startUpObject], Re = "notice", De = "standard", Pe = [Re, De], Me = ["image", "text"], Fe = ["transfer", "disconnect"], Le = ["matchExpression", "matchFirstTrue"], xe = ["Exit", "ExecuteTask"], ke = []; + s.environmentList.forEach((e3) => { + e3.host.includes("app-regional") || ("dev" === e3.env || "test" === e3.env ? ke.push(e3.env) : ke.push(`${e3.env}_${e3.region}`.replace(/-/g, "_"))); + }), ke.sort(); + const Ve = ["bot", "call", "chat", "common", "email", "flow", "interaction", "menu", "message", "session", "slot", "state", "survey", "task", "workflow", "workitem"], Ue = ["voiceSnippetService", "voicemailService"], Be = ["queue", "group", "user"], Ge = ["emergencyGroup", "schedule"], je = ["SUCCESS", "FAILURE"], qe = [_.default.replyToAll, _.default.replyToSender], We = [h.typeEmail.id, h.typeChat.id], Ye = [h.emailStyleHtml.id, h.emailStylePlain.id], He = p.promptMediaTypes.audio, Je = p.promptMediaTypes.text, $e = [He, "none", p.promptMediaTypes.tts, Je]; + class ze { + constructor() { + this._cache = /* @__PURE__ */ new Map(); + } + arrayToMap(e3, t3, i3) { + this._cache || (this._cache = /* @__PURE__ */ new Map()); + let n3 = this._cache.get(t3); + return n3 || (n3 = e3.reduce((e4, t4) => { + let n4 = i3 ? i3(t4) : t4; + return n4 = n4.charAt(0).toLowerCase() + n4.slice(1), e4[n4] = t4, e4; + }, {}), this._cache.set(t3, n3)), n3; + } + get displayTypeName() { + return this._scriptingName; + } + get ABORT_SURVEY_INVITE_DISPOSITIONS() { + return this.arrayToMap(A, "_abort_survey_invite_dispositions"); + } + get ABORT_SURVEY_INVITE_DISPOSITIONS_ALL() { + return A; + } + get AUTO_GENERATED_EMAIL_HANDLING() { + return this.arrayToMap(N, "_auto_generated_email_handling"); + } + get AUTO_GENERATED_EMAIL_HANDLING_ALL() { + return N; + } + get BOT_CONFIRMATION_MODES() { + return this.arrayToMap(v, "_bot_confirmation_modes"); + } + get BOT_CONFIRMATION_MODES_ALL() { + return v; + } + get CAPTURE_TYPES() { + return this.arrayToMap(I, "_capture_types"); + } + get CAPTURE_TYPES_ALL() { + return I; + } + get CHOICE_TYPES() { + return this.arrayToMap(C, "_choice_types"); + } + get CHOICE_TYPES_ALL() { + return C; + } + get CHOOSER_PRESENTATION_MODES() { + return this.arrayToMap(O, "_chooser_modes"); + } + get CHOOSER_PRESENTATION_MODES_ALL() { + return O; + } + get CODE_LANGUAGES() { + return { archJson: a.CodeLanguage.architectJson, archYaml: a.CodeLanguage.architectYaml }; + } + get CODE_LANGUAGES_ALL() { + return b; + } + get CUSTOM_JSON_SCHEMA_TYPES() { + return this.arrayToMap(M, "_custom_json_schema_types"); + } + get CUSTOM_JSON_SCHEMA_TYPES_ALL() { + return M; + } + get CUSTOM_JSON_DECISION_TABLE_SCHEMA_TYPES_ALL() { + return F; + } + get CUSTOM_JSON_CONVERSATION_ATTRIBUTE_SCHEMA_TYPES_ALL() { + return L; + } + getCustomJsonSchemaTypesForNamespace(e3) { + switch (e3) { + case k: + return F; + case B: + return L; + default: + return M; + } + } + get CUSTOM_JSON_TYPE_NAMESPACES() { + return this.arrayToMap(G, "_custom_json_type_namespaces"); + } + get CUSTOM_JSON_TYPE_NAMESPACES_ALL() { + return G; + } + get DEFLECT_TYPES() { + return this.arrayToMap(q, "_deflect_types"); + } + get DEFLECT_TYPES_ALL() { + return q; + } + get DTMF_TERMINATING_CHARACTERS_ALL() { + return j; + } + get DTMF_TERMINATING_CHARACTERS() { + return this.arrayToMap(j, "_dtmf_terminating_characters"); + } + get ENVIRONMENTS() { + return this.arrayToMap(H, "_environments"); + } + get ENVIRONMENTS_ALL() { + return H; + } + get ERROR_TYPE_DATA_TABLE_VALUES() { + return this.arrayToMap(J, "_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 J; + } + get ERROR_TYPE_LEX_BOT_VALUES() { + return this.arrayToMap($, "_error_type_lex_bot_values"); + } + get ERROR_TYPE_LEX_BOT_VALUES_ALL() { + return $; + } + get EVENTS_FLOW_ERROR_HANDLING() { + return { abortSend: z, changeState: K, completeSend: Q, continue: X, disconnect: Z, endFlow: ee, endInQueueState: te, endWorkflow: ie, exit: ne, jumpToMenu: oe, transferToQueue: re, jumpToTask: ae }; + } + get EVENTS_FLOW_ERROR_HANDLING_ALL() { + return se; + } + get EXTERNAL_CONTACT_PATCH_CONDITIONS() { + return this.arrayToMap(S.externalContactPatchConditions.map((e3) => e3.id), "_external_contact_patch_conditions"); + } + get EXTERNAL_CONTACT_PATCH_CONDITIONS_ALL() { + return S.externalContactPatchConditions.map((e3) => e3.id); + } + get FILTER_CONTAINER_OPERATORS() { + return { and: "and", or: "or" }; + } + get FILTER_CONTAINER_OPERATORS_ALL() { + return Y; + } + get FLOW_OUTCOMES() { + return this.arrayToMap(je, "_flow_outcomes", (e3) => e3.toLowerCase()); + } + get FLOW_OUTCOMES_ALL() { + return je; + } + get FLOW_TYPES() { + return { bot: r.flowTypes.flowTypeBot, businessProcess: r.flowTypes.flowTypeBusinessProcess, commonModule: r.flowTypes.flowTypeCommonModule, digitalBot: r.flowTypes.flowTypeDigitalBot, emailSend: r.flowTypes.flowTypeEmailSend, inboundCall: r.flowTypes.flowTypeInboundCall, inboundChat: r.flowTypes.flowTypeInboundChat, inboundEmail: r.flowTypes.flowTypeInboundEmail, inboundShortMessage: r.flowTypes.flowTypeInboundShortMessage, inqueueCall: r.flowTypes.flowTypeInQueueCall, inqueueEmail: r.flowTypes.flowTypeInQueueEmail, inqueueShortMessage: r.flowTypes.flowTypeInQueueShortMessage, outboundCall: r.flowTypes.flowTypeOutboundCall, secureCall: r.flowTypes.flowTypeSecureCall, surveyInvite: r.flowTypes.flowTypeSurveyInvite, voice: r.flowTypes.flowTypeVoice, voiceSurvey: r.flowTypes.flowTypeVoiceSurvey, voicemail: r.flowTypes.flowTypeVoicemail, workflow: r.flowTypes.flowTypeWorkflow, workitem: r.flowTypes.flowTypeWorkitem }; + } + get FLOW_TYPES_ALL() { + return o.default.without(r.flowTypes.flowTypesAll); + } + get FLOW_VERSIONS() { + return this.arrayToMap(le, "_flow_versions"); + } + get FLOW_VERSIONS_ALL() { + return le; + } + get FLOW_FORMAT_TYPES() { + return this.arrayToMap(ue, "_format_types"); + } + get FLOW_FORMAT_TYPES_ALL() { + return ue; + } + get FLOW_INFO_SPEC_LEVELS() { + return this.arrayToMap(ce, "_flow_info_spec_levels"); + } + get FLOW_INFO_SPEC_LEVELS_ALL() { + return ce; + } + get HOLD_MUSIC_PLAY_STYLES() { + return this.arrayToMap(de, "_hold_music_play_styles"); + } + get HOLD_MUSIC_PLAY_STYLES_ALL() { + return de; + } + get INPUT_VERIFICATION_TYPES() { + return this.arrayToMap(pe, "_input_verification_types"); + } + get INPUT_VERIFICATION_TYPES_ALL() { + return pe; + } + get KNOWLEDGE_FEEDBACK_TYPES() { + return this.arrayToMap(_e, "_knowledge_feedback_types"); + } + get KNOWLEDGE_FEEDBACK_TYPES_ALL() { + return _e; + } + get KNOWLEDGE_PATH_MODES() { + return this.arrayToMap(he, "_knowledge_path_modes"); + } + get KNOWLEDGE_PATH_MODES_ALL() { + return he; + } + get KNOWLEDGE_ANSWER_CONTENT_TYPES() { + return this.arrayToMap(me, "_knowledge_answer_content_types"); + } + get KNOWLEDGE_ANSWER_CONTENT_TYPES_ALL() { + return me; + } + get KNOWLEDGE_SETTINGS_MODES() { + return this.arrayToMap(ge, "_knowledge_settings_modes"); + } + get KNOWLEDGE_SETTINGS_MODES_ALL() { + return ge; + } + get LOCATIONS() { + return this.arrayToMap(ke, "_runtime_locations"); + } + get LOCATIONS_ALL() { + return ke; + } + get LOG_TYPES() { + return this.arrayToMap(fe, "_log_types"); + } + get LOG_TYPES_ALL() { + return fe; + } + get CANNED_RESPONSE_MESSAGE_TEMPLATE_TYPES() { + return this.arrayToMap(Te, "_canned_response_message_template_types"); + } + get STRING_BODY_HANDLING_TYPES() { + return this.arrayToMap(ye, "_string_body_handling_types"); + } + get STRING_BODY_HANDLING_TYPES_ALL() { + return ye; + } + get NLU_RESPONSE_BIAS_MODES() { + return this.arrayToMap(W, "_nlu_response_bias_modes"); + } + get NLU_RESPONSE_BIAS_MODES_ALL() { + return W; + } + get OUTPUT_IDS() { + return this.arrayToMap(Se, "_output_ids"); + } + get OUTPUT_IDS_ALL() { + return Se; + } + get PAYMENT_CONTACT_INFORMATION_TYPES() { + return this.arrayToMap(Ae, "_payment_contact_information_types"); + } + get PAYMENT_CONTACT_INFORMATION_TYPES_ALL() { + return Ae; + } + get PAYMENT_PLATFORMS_TYPES() { + return this.arrayToMap(Ne, "_payment_platforms_types"); + } + get PAYMENT_PLATFORMS_TYPES_ALL() { + return Ne; + } + get PLAY_ESTIMATED_WAIT_STYLES() { + return this.arrayToMap(ve, "_play_estimated_wait_styles"); + } + get PLAY_ESTIMATED_WAIT_STYLES_ALL() { + return ve; + } + get PLAY_POSITION_STYLES() { + return this.arrayToMap(Ie, "_play_position_styles"); + } + get PLAY_POSITION_STYLES_ALL() { + return Ie; + } + get POST_FLOW_ACTION_TYPES() { + return this.arrayToMap(Ce, "_post_flow_action_types"); + } + get POST_FLOW_ACTION_TYPES_ALL() { + return Ce; + } + get POST_FLOW_TARGET_TYPES() { + return this.arrayToMap(Oe, "_post_flow_target_types"); + } + get POST_FLOW_TARGET_TYPES_ALL() { + return Oe; + } + get SCHEDULE_EVALUATION_TYPES() { + return this.arrayToMap(Ge, "_schedule_evaluation_type"); + } + get SCHEDULE_EVALUATION_TYPES_ALL() { + return Ge; + } + get SEND_AUTO_REPLY_MODES() { + return this.arrayToMap(qe, "_send_auto_reply_modes"); + } + get SEND_AUTO_REPLY_MODES_ALL() { + return qe; + } + get SEND_NOTIFICATION_TYPES() { + return this.arrayToMap(We, "_send_notification"); + } + get SEND_NOTIFICATION_TYPES_ALL() { + return We; + } + get EMAIL_STYLES() { + return this.arrayToMap(Ye, "_send_notification"); + } + get EMAIL_STYLES_ALL() { + return Ye; + } + get PROMPT_MEDIA_TYPES() { + return this.arrayToMap($e, "_prompt_media_types"); + } + get PROMPT_MEDIA_TYPES_ALL() { + return $e; + } + get SESSION_END_MODES() { + return this.arrayToMap(be, "_session_end_modes"); + } + get SESSION_END_MODES_ALL() { + return be; + } + get SESSION_STATUSES() { + return this.arrayToMap(Ee, "_session_statuses"); + } + get SESSION_STATUSES_ALL() { + return Ee; + } + get SPEECH_REC_COMPANY_MODES() { + return this.arrayToMap(we, "_speech_rec_company_modes"); + } + get SPEECH_REC_COMPANY_MODES_ALL() { + return we; + } + get MESSAGE_BODY_STYLES() { + return { notice: Re, standard: De }; + } + get MESSAGE_BODY_STYLES_ALL() { + return Pe; + } + get RICH_LINK_HEADER_TYPES() { + return this.arrayToMap(Me, "_rich_link_header_types"); + } + get RICH_LINK_HEADER_TYPES_ALL() { + return Me; + } + get SET_UUI_DATA_MODES() { + return this.arrayToMap(Fe, "set_uui_data_mode_all"); + } + get SET_UUI_DATA_MODES_ALL() { + return Fe; + } + get SWITCH_EVALUATION_STYLES() { + return this.arrayToMap(Le, "_switch_evaluation_styles"); + } + get SWITCH_EVALUATION_STYLES_ALL() { + return Le; + } + get SUBSEQUENT_RECOGNITION_FAILURES_HANDLING() { + return this.arrayToMap(xe, "_subsequent_recognition_failures_modes"); + } + get SUBSEQUENT_RECOGNITION_FAILURES_HANDLING_ALL() { + return xe; + } + get VARIABLE_SCOPES() { + return this.arrayToMap(Ve, "_variable_scopes"); + } + get VARIABLE_SCOPES_ALL() { + return Ve; + } + get VOICE_SNIPPET_DESTINATION_VALUES() { + return this.arrayToMap(Ue, "_voice_snippet_destination_values"); + } + get VOICE_SNIPPET_DESTINATION_VALUES_ALL() { + return Ue; + } + get VOICEMAIL_TRANSFER_TARGET_TYPES() { + return this.arrayToMap(Be, "_voicemail_transfer_target_type"); + } + get VOICEMAIL_TRANSFER_TARGET_TYPES_ALL() { + return Be; + } + } + t2.ArchEnums = ze; + const Ke = new ze(); + t2.default = Ke; + }, 31758(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = { archEnums: i2(31635).__importDefault(i2(78432)).default }; + t2.default = n2; + }, 44254(e2, t2, i2) { + "use strict"; + 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), o = n2.__importDefault(i2(92140)), r = 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 r.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, this._diagnosticRequestBody = void 0, this._diagnosticScope = void 0, this._diagnosticScope = p.default.captureScope(); + } + _logStr() { + return `[${this.info.method}::${this.url}]`; + } + _networkRequestIdPrefix() { + return this._networkRequestId ? `[ArchNetworkRequest id: ${this._networkRequestId}] ` : ""; + } + _logVerboseNote(e3) { + 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", o2 = null !== (i3 = null == e3 ? void 0 : e3.message) && void 0 !== i3 ? i3 : ""; + this._logVerboseNote(m.magenta(`request failed - errorCode:${n3}, errorMessage:${o2}`)); + } + _logResponseBody(e3, t3, i3) { + if (!d.default.logNetworkActivity) return; + const n3 = null == e3 || "" === e3 ? "" : e3, o2 = void 0 !== i3 ? `, statusCode: ${i3}` : "", r2 = t3 ? `, correlationId: ${t3}` : "", a2 = m.magenta(`[${this.info.method}::${this.url}${o2}${r2}]`), 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(); + } + addTokenRequestHeaders() { + 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() { + 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._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 && !o.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, r2 = { 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(r2, 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, 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 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; + return null === (e3 = this.response) || void 0 === e3 ? void 0 : e3.headers; + } + file(e3) { + return this; + } + parseResponse() { + if (!this.response) return this.error || null; + let e3 = null; + try { + e3 = JSON.parse(this.response.responseText); + } catch (t3) { + e3 = null; + } + return e3 = e3 || this.response.responseText || null, e3; + } + get isBaseClass() { + return false; + } + } + t2.default = g; + }, 74142(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(74359)), a = i2(54251), s = n2.__importStar(i2(10798)), l = n2.__importDefault(i2(4648)), u = n2.__importDefault(i2(8471)); + class c extends u.default { + constructor(e3) { + super(), this._archSession = e3; + } + _checkDivisionAvailability(e3) { + return !!this._archSession.isConnected || (this.logItemWarning(e3, "Organization division information is not available when the Architect Scripting session is not connected."), false); + } + _getAreTtsEnginesAndVoicesAvailable(e3) { + return !!this._archSession.isConnected || (e3 && this.logItemWarning(e3, "Organization text to speech engine and voice information is not available when the Architect Scripting session is not connected."), false); + } + _getAllResolvedCoreDivisionViewModels() { + if (o.default.isUndefined(this._allResolvedCoreDivisionViewModels)) { + if (!this._archSession.isConnected) return this._logErrorInternal("should not be trying to resolve core division view models when not connected."), []; + const e3 = []; + o.default.each(a.divisionManager.items, (t3) => { + if (!t3 || t3.isInternalDivision) return; + let i3; + r.getConnectedUser() && (i3 = o.default.find(r.getConnectedUser().divisions, (e4) => e4.id === t3.id)), e3.push(i3 || t3); + }), this._allResolvedCoreDivisionViewModels = o.default.sortBy(e3, "name"); + } + return this._allResolvedCoreDivisionViewModels; + } + get logStr() { + if (!this._divisionViewModel) return this.logStrTypeOnly; + const e3 = []; + return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get displayTypeName() { + return "ArchOrganizationInfo"; + } + get areDivisionsAvailable() { + return this._checkDivisionAvailability(this._infoPropGet("areDivisionsAvailable")); + } + get areTtsEnginesAndVoicesAvailable() { + return this._getAreTtsEnginesAndVoicesAvailable(this._infoPropGet("areTtsEnginesAndVoicesAvailable")); + } + getDivisionById(e3) { + if (!this._checkDivisionAvailability(this._infoMethod("getDivisionById"))) return; + this._checkItemIsValidLiteralString(this._infoParm("divisionId", "getDivisionById"), e3); + const t3 = o.default.find(this._getAllResolvedCoreDivisionViewModels(), (t4) => e3 === t4.id); + return t3 ? this.coreFactory.createArchWrapper(t3) : void 0; + } + getDivisionByName(e3) { + if (!this._checkDivisionAvailability(this._infoMethod("getDivisionByName"))) return; + this._checkItemIsValidLiteralString(this._infoParm("divisionName", "getDivisionByName"), e3), e3 = e3.toLowerCase(); + const t3 = o.default.find(this._getAllResolvedCoreDivisionViewModels(), (t4) => e3 === t4.lowerName); + return t3 ? this.coreFactory.createArchWrapper(t3) : void 0; + } + getHomeDivision() { + if (!this._checkDivisionAvailability(this._infoMethod("getHomeDivision"))) return; + const e3 = o.default.find(this._getAllResolvedCoreDivisionViewModels(), (e4) => e4.isHomeDivision); + return e3 ? this.coreFactory.createArchWrapper(e3) : void 0; + } + getAllDivisions() { + if (!this._checkDivisionAvailability(this._infoMethod("getAllDivisions"))) return; + const e3 = []; + return o.default.each(this._getAllResolvedCoreDivisionViewModels(), (t3) => { + e3.push(this.coreFactory.createArchWrapper(t3)); + }), e3; + } + get id() { + return this._archSession.isConnected && r.getOrgInfo() ? r.getOrgInfo().id : void 0; + } + get name() { + return this._archSession.isConnected && r.getOrgInfo() ? r.getOrgInfo().name : void 0; + } + get isArchOrganizationInfo() { + return true; + } + get agenticVirtualAgentAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("agenticVirtualAgentAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentSage); + } + get virtualAgentAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("virtualAgentAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentOffering); + } + get virtualAgentSummarizationAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("virtualAgentSummarizationAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentSummarization) || s.isFeatureAvailable(l.default.botFlowsDigitalBotFlowsBotSummarization); + } + get botFlowsAgenticVirtualAgentOutputValuesAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAgenticVirtualAgentOutputValuesAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAgenticVirtualAgentOutputValues); + } + 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); + } + get botFlowsAnswerGeneration() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsAnswerGeneration"), this._archSession), s.isFeatureAvailable(l.default.botFlowsAnswerGeneration); + } + get botFlowsMessagingDatePicker() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsMessagingTimePicker"), this._archSession), s.isFeatureAvailable(l.default.botFlowsMessagingDatePicker); + } + get botFlowsEnhancedRecognitionFailureHandling() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsEnhancedRecognitionFailureHandling"), this._archSession), s.isFeatureAvailable(l.default.botFlowsEnhancedRecognitionFailureHandling); + } + get botFlowsVirtualAgentGuide() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsVirtualAgentGuide"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentGuide); + } + get botFlowsBotsCallingBots() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsBotsCallingBots"), this._archSession), s.isFeatureAvailable(l.default.botFlowsBotsCallingBots); + } + get botFlowsSupportDontKnowAnswers() { + return this._ensureSessionIsConnected(this._infoPropGet("botFlowsSupportDontKnowAnswers"), this._archSession), s.isFeatureAvailable(l.default.botFlowsSupportDontKnowAnswers); + } + get canSetTrackingIds() { + return this._getCanSetTrackingIds(this._infoPropGet("canSetTrackingIds"), this._archSession); + } + get supportsSendNotificationChatGroup() { + return this._ensureSessionIsConnected(this._infoPropGet("supportsSendNotificationChatGroup"), this._archSession), true; + } + get defaultSttEngineSelection() { + return this._ensureSessionIsConnected(this._infoPropGet("defaultSttEngineSelection"), this._archSession), true; + } + get knowledgeSettingIsAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("knowledgeSettingIsAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentKnowledgeV3); + } + get conversationSummaryIsAvailable() { + return this._ensureSessionIsConnected(this._infoPropGet("conversationSummaryIsAvailable"), this._archSession), s.isFeatureAvailable(l.default.botFlowsVirtualAgentCustomSummaries); + } + 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 = c; + }, 97720(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + get version() { + return "0.69.1"; + } + get isArchScriptingInfo() { + return true; + } + get displayTypeName() { + return "ArchScriptingInfo"; + } + get logStr() { + const e3 = []; + return this.version && super._appendLogStrVersion(e3, this.version), super._appendLogStrType(e3, o.displayTypeName), super._createLogStrFromParts(e3); + } + } + t2.default = new o(); + }, 94225(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchSession = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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)), I = i2(58241), C = i2(58611), O = 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 = O.defer(); + function F(e3, t3, i3, n3, o2) { + e3[t3] = { env: i3, host: n3, region: o2 }; + } + function L(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + r.authenticatedUser(e3), this.logNote(`authenticated name: '${e3.name}', id: '${e3.id}', OAuth type: '${e3.isOAuthClient ? "client" : "user"}'`); + try { + yield r.getAuthorizedPromise(); + const e4 = yield R.orgInfo(); + e4 ? (r.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, 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 { + f.permissionService.checkHasPermissionInAtLeastOneDivision(r.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."), r.finishedLoading(); + } + }); + } + 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 k extends P.default { + constructor() { + 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 = O.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) { + F(this._locations, c.default.LOCATIONS[e3.env], e3.env, e3.host, e3.region); + continue; + } + const t3 = `${e3.env}_${e3.region}`.replace(/-/g, "_"); + c.default.LOCATIONS[t3] && F(this._locations, c.default.LOCATIONS[t3], e3.env, e3.host, e3.region); + } + process && o.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 o2 = O.defer(), s2 = (0, I.withTimeout)(r.bootstrapDataLoaded, b, `bootstrap data was not received within ${b / d.default.msPerSecond} seconds.`), l2 = [r.getAuthenticatedPromise(), r.bootstrapLanguageDataLoaded, r.featureTogglesLoaded, r.divisionsLoaded, s2, M.promise]; + if (this.logNote("core environment initialized. Now logging in..."), a.getAuthToken()) o2.resolve(); + else if (e3.isClientCredentialsClient) x.call(this, R.getAuthTokenClientCredentials, null, o2); + else { + const e4 = C.createServer((t5, n3) => { + if (t5.url.match(/callback/)) { + const r2 = i2(87016).parse(t5.url, true).query; + r2 && r2.code ? x.call(this, R.getAuthToken, r2.code, o2) : o2.reject(), n3.end("You may close this window now."), e4.close(); + } + }).listen(9001), t4 = a.getConnectUrl(null, a.values.coreRedirectUri, true); + E.open(t4); + } + const c2 = o2.promise.then(() => n2.__awaiter(this, void 0, void 0, function* () { + var i3; + if (e3.isClientCredentialsAuthToken) try { + 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) => 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; + }) : D.getCurrentUser().then(L.bind(this), (e4) => { + throw this.logPromiseError(this._infoMethod(t3), e4, "error getting user info"), e4; + }); + })); + return l2.push(c2), O.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"), S.default.allSettled(); + { + const e4 = O.defer(); + return e4.resolve(), e4.promise; + } + } + _endSession() { + switch (this._endMode) { + case c.default.SESSION_END_MODES.end: + this.end(true); + break; + case c.default.SESSION_END_MODES.endWithLogout: + this.endWithLogout(); + break; + default: + this.logError("unknown end mode. Will end with logout to be safe."), this.endWithLogout(); + } + } + _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 && (o.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); + } + _cleanupSessionResources() { + try { + this._removeTtsListeners(), this._boundTokenRevoked && (s.emitter.removeListener(s.tokenRevoked, this._boundTokenRevoked), this._boundTokenRevoked = null); + } catch (e3) { + this.logError("error removing event listeners during session cleanup: " + e3); + } + try { + p.default.destroy(); + } catch (e3) { + this.logError("error destroying network value cache during session cleanup: " + e3); + } + try { + S.default.reset(); + } catch (e3) { + this.logError("error resetting async tracker during session cleanup: " + e3); + } + this.logNote("session resources cleaned up."); + } + _invokeSessionEndingCallback() { + if (this._endCallbackFunction) try { + this.logNoteVerbose("calling session end callback function."), this._endCallbackFunction(this), this.logNoteVerbose("session end callback function execution complete."); + } catch (e3) { + const t3 = this.displayTypeName + ".end - Caught unhandled exception during session end callback function execution. Exception info: " + e3; + this.logError(t3); + } finally { + this._endCallbackFunction = void 0; + } + } + _ttsEngineChanged(e3) { + this._ttsInfoChanged(e3, false); + } + _ttsEngineVoiceChanged(e3) { + this._ttsInfoChanged(e3, true); + } + _ttsInfoChanged(e3, t3) { + if (N.default.logNotesVerbose) try { + const i3 = e3.parent, n3 = e3.languageId.toLowerCase(), r2 = o.default.find(i3.supportedLanguageOptions, (e4) => o.default.isString(e4.language) && e4.language.toLowerCase() === n3); + r2 && this.coreFactory.createArchWrapper(r2).logNoteVerbose(`language tts engine${t3 ? " voice" : ""} updated.`); + } catch (e4) { + } + } + _unhandledCallbackException(e3, t3, i3) { + let n3 = ""; + t3 && (n3 += `${t3.displayTypeName}.`), i3 && (n3 += `${i3} `), n3 += " - Caught unhandled exception during callback function execution. Ending session.", e3 && (n3 += " Exception info: ", o.default.isObject(e3) ? e3.message ? n3 += e3.message : o.default.isString(e3.text) ? n3 += e3.text : n3 += JSON.stringify(e3) : n3 += e3), t3.logError(n3), this._endSessionWithReservedError(n3); + } + _processCallbackResult(e3, t3, i3, n3, o2) { + return O.isPromiseAlike(n3) ? (e3.logNoteVerbose(o2 + " Callback function returned a promise. Waiting until it resolves."), n3.then((n4) => (e3.logNoteVerbose(o2 + " Callback function returned promise successfully resolved."), O.isPromiseAlike(n4) ? (e3.logNoteVerbose(o2 + " 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, o2)) : n4)).catch((i4) => { + e3.logError(o2 + " Caught unhandled exception waiting for callback function returned promise to resolve."), this._unhandledCallbackException(i4, this, t3); + }).finally(() => { + i3 && this._endSession(); + })) : i3 && this._endSession(), n3; + } + executeCallback(e3, t3, i3, n3, o2, r2) { + const a2 = r2 || "async processing for " + t3 + " complete."; + if (!i3) return e3.logNoteVerbose(a2), n3; + let s2; + try { + return arguments.length < 4 ? (e3.logNoteVerbose(a2 + " Calling callback function. Note: No parameter being passed to the callback function."), s2 = i3()) : (e3.logNoteVerbose(a2 + " Calling callback function."), s2 = i3(n3)), e3.logNoteVerbose(a2 + " Callback function execution complete."), this._processCallbackResult(e3, t3, o2, s2, a2); + } catch (i4) { + this._unhandledCallbackException(i4, e3, t3); + } + } + _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 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, 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() { + M.resolve(); + } + _startAndRun(e3, t3, i3, n3, u2, d2) { + var _2, h2, m2, g2; + switch (this._status) { + 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 c.default.SESSION_STATUSES.ended: + this.logNoteVerbose("restarting previously ended session."), r.resetAuthPromise(); + } + M = O.defer(), this._status === c.default.SESSION_STATUSES.ended && O.all([r.bootstrapLanguageDataLoaded, r.featureTogglesLoaded, r.divisionsLoaded]).then(() => { + this._setFactoryFlowStartupComplete(); + }), 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 = O.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.69.1"), this.logNote("core environment configuration. " + T2), o.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."; + 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("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() { + return a.archSessionId; + } + get authToken() { + return this._coreConfigured ? a.getAuthToken() : void 0; + } + get displayTypeName() { + 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.") : (this._endRequested = true, o.default.isUndefined(e3) ? e3 = false : o.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 && o.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, p.default.cacheEnabled && p.default.showDiagnostics && p.default.logCacheStats()); + }); + })); + } + get endExitCode() { + return this._endExitCode; + } + set endExitCode(e3) { + const t3 = this._infoPropSet("newEndExitCode", "endExitCode"); + this._checkItemIsValidLiteralInt(t3, e3), this._checkItem(t3, 99 === e3, "The exit code of 99 cannot be set because it is reserved for use by Architect Scripting."), this.logNote("setting the session end exit code to " + e3), this._endExitCode = e3; + } + get useRegionalHost() { + return this._useRegionalHost; + } + set useRegionalHost(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("newUseRegionalHost", "useRegionalHost"), e3), this.logNote("setting the session useRegionalHost setting to " + e3), this._useRegionalHost = e3; + } + get endMode() { + return this._endMode; + } + set 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; + } + set endTerminatesProcess(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "endTerminatesProcess"), e3), this.logNote("setting the endTerminatesProcess to " + e3), this._endTerminatesProcess = e3; + } + endWithLogout(e3) { + 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, o.default.isUndefined(e3) ? e3 = false : o.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..."), w.disconnect(a.getAuthToken()).then(() => { + a.setAuthToken(void 0); + const e4 = a.getDisconnectUrl(); + 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; + } + get host() { + return this._coreConfigured ? a.values.host : void 0; + } + get isArchSession() { + return true; + } + get isConnected() { + return a.isConnected(); + } + get logStr() { + const e3 = ["ArchSession"]; + this._appendLogStrEnvironment(e3, this.environment), this._appendLogStrHost(e3, this.host), this._appendLogStrRegion(e3, this.region), this._appendLogStrSessionId(e3, this.archSessionId); + const t3 = this.orgInfo; + return t3 && (t3.name && this._appendLogStrOrgName(e3, t3.name), t3.id && this._appendLogStrOrgId(e3, t3.id)), this._createLogStrFromParts(e3); + } + get orgId() { + return this.logDeprecatedPropertyWarning(this._infoPropGet("orgId"), "orgInfo", "Then access the id property off of the orgInfo to get the organization identifier."), this.orgInfo.id; + } + get orgName() { + return this.logDeprecatedPropertyWarning(this._infoPropGet("orgName"), "orgInfo", "Then access the name property off of the orgInfo to get the organization name."), this.orgInfo.name; + } + get orgInfo() { + return this._organizationInfo; + } + get region() { + return this._coreConfigured ? a.values.region : void 0; + } + startWithAuthToken(e3, t3, i3, n3, o2, r2) { + return this._checkItemIsValidFunction(this._infoParm("callbackFunctionStart", "startWithAuthToken"), t3), this._checkItemIsValidLiteralString(this._infoParm("authToken", "startWithAuthToken"), i3), n3 && this._checkItemIsValidFunction(this._infoParm("callbackFunctionEnd", "startWithAuthToken"), n3), this._checkItemIsValidLiteralBool(this._infoParm("isClientCredentialsAuthToken", "startWithAuthToken"), o2, true), this._checkItemIsValidJsonObject(this._infoParm("options", "startWithAuthToken"), r2, true), this._getLocationInfoAndStartAndRun(e3, t3, n3, { authToken: i3, isClientCredentialsAuthToken: o2 }, "startWithAuthToken", r2); + } + startWithClientIdAndSecret(e3, t3, i3, n3, r2, a2, s2) { + return this._checkItemIsValidFunction(this._infoParm("callbackFunctionStart", "startWithClientIdAndSecret"), t3), this._checkItemIsValidLiteralString(this._infoParm("clientId", "startWithClientIdAndSecret"), i3), this._checkItemIsValidLiteralString(this._infoParm("clientSecret", "startWithClientIdAndSecret"), n3), r2 && this._checkItemIsValidFunction(this._infoParm("callbackFunctionEnd", "startWithClientIdAndSecret"), r2), this._checkItemIsValidLiteralBool(this._infoParm("isClientCredentialsOAuthClient", "startWithClientIdAndSecret"), a2, true), this._checkItemIsValidJsonObject(this._infoParm("options", "startWithClientIdAndSecret"), s2, true), (o.default.isUndefined(a2) || null === a2) && (a2 = false), this._getLocationInfoAndStartAndRun(e3, t3, r2, { clientId: i3, clientSecret: n3, isClientCredentialsClient: a2 }, "startWithClientIdAndSecret", s2); + } + _getLocationInfoAndStartAndRun(e3, t3, i3, n3, o2, r2) { + let a2; + try { + return a2 = this._getLocationInfo(e3, o2), this._startAndRun(a2, t3, i3, n3, o2, r2); + } catch (e4) { + this._endSessionWithReservedError(); + } + } + get status() { + return this._status; + } + get cacheStats() { + return p.default.getCacheStats(); + } + get isCacheEnabled() { + return p.default.cacheEnabled; + } + get isShowCacheDiagnosticsEnabled() { + return p.default.showDiagnostics; + } + } + t2.ArchSession = k; + const V = new k(); + t2.default = V; + }, 54521(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = n2.__importDefault(i2(44254)), a = n2.__importDefault(i2(74142)), s = n2.__importDefault(i2(97720)), l = n2.__importDefault(i2(87145)), u = { archSession: o.default, ArchNetworkRequest: r.default, ArchOrganizationInfo: a.default, ArchScriptingInfo: s.default, organization: l.default }; + t2.default = u; + }, 69014(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(18638), r = n2.__importDefault(i2(37873)); + class a extends r.default { + constructor(e3) { + super(e3); + const t3 = this._infoParmCtor("coreDivisionViewModel"); + this._checkItem(t3, !e3.isDivisionViewModel, "the specified view model is not a core division view model"), this._checkItem(t3, !e3.id, "the specified core division view model does not have an id specified"), this._divisionViewModel = e3; + } + get canAddFlow() { + return o.permissionServiceHelper.canAddFlowToDivision(this._divisionViewModel); + } + get displayTypeName() { + return "ArchDivision"; + } + get isArchDivision() { + return true; + } + get isHomeDivision() { + return this._getCoreViewModel().isHomeDivision; + } + get logStr() { + if (!this._divisionViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrId(e3, this.id), this._appendLogStrName(e3, this.name), this._appendLogStrIsHome(e3, this.isHomeDivision), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get name() { + return this._getCoreViewModel().name; + } + } + t2.default = a; + }, 87145(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = { ArchDivision: i2(31635).__importDefault(i2(69014)).default }; + t2.default = n2; + }, 84783(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importStar(i2(62829)), r = n2.__importDefault(i2(8471)); + class a extends r.default { + get displayTypeName() { + return "ArchBaseFactory"; + } + get logStr() { + return this._createLogStrFromParts(["ArchBaseFactory"]); + } + get isArchBaseFactory() { + return true; + } + validateActionDefId(e3, t3) { + const i3 = this._infoParm("actionDefId", "validateActionDefId"); + this._checkItemUndefinedOrNull(i3, e3), this._checkItemUndefinedOrNull(this._infoParm("coreFlowViewModel", "validateActionDefId"), t3); + const n3 = o.getInfo(e3); + this._checkItem(i3, !n3, "the action definition of " + e3 + " is not a valid action definition"), n3.isAvailableForFlow(t3) || this._itemIsInvalid(i3, "invalid action definition because '" + e3 + "' cannot be used in flows of type '" + t3.destinationFlowTypes.join(",") + "'"), n3.isDeprecatedForFlowType(t3.type) && this._itemIsInvalid(i3, "invalid action because '" + e3 + "' is deprecated for use in flows of type '" + t3.type + "'"); + } + } + t2.default = a; + }, 38689(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchCoreFactory = void 0; + const n2 = i2(31635), o = n2.__importStar(i2(30801)), r = 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; + } + get logStr() { + return "ARCH_CORE_FACTORY"; + } + createArchWrapper(e3, t3) { + return this._createArchWrapperImpl(e3, t3); + } + _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.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); + } + createArchDefinitionFlow(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreNodeInformation", "createArchDefinitionFlow"), e3), new _.default.definitions.ArchDefinitionFlow(e3); + } + createArchDefinitionMenu(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreNodeInformation", "createArchDefinitionMenu"), e3), new _.default.definitions.ArchDefinitionMenu(e3); + } + createArchAudio(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreAudioViewModel", "createArchAudio"), e3), new _.default.audio.ArchAudio(e3); + } + createArchAudioCase(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreAudioCaseViewModel", "createArchAudioCase"), e3), new _.default.audio.ArchAudioCase(e3); + } + createArchBaseVariableValuePair(e3) { + 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 c.default.ArchDataType(e3, void 0); + } + createArchDefinitionValue(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreExpressionType", "coreExpressionType"), e3), new _.default.definitions.ArchDefinitionValue(e3); + } + createArchDefinitionVariable(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreExpressionType", "coreExpressionType"), e3), new _.default.definitions.ArchDefinitionVariable(e3); + } + 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); + } + createArchFlowFromParentFlow(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreObject", "createArchFlowFromParentFlow"), e3), this.createArchFlowFromCoreFlowViewModel(e3.parentFlow); + } + createArchFlowFromCoreFlowViewModel(e3) { + const t3 = this._infoParm("coreFlowViewModel", "createArchFlowFromCoreFlowViewModel"); + switch (this._checkItemUndefinedOrNull(t3, e3), e3.type) { + case s.flowTypes.flowTypeBot: + return new _.default.flows.ArchFlowBot(e3); + case s.flowTypes.flowTypeDigitalBot: + return new _.default.flows.ArchFlowDigitalBot(e3); + case s.flowTypes.flowTypeBusinessProcess: + return new _.default.flows.ArchFlowBusinessProcess(e3); + case s.flowTypes.flowTypeCommonModule: + return new _.default.flows.ArchFlowCommonModule(e3); + case s.flowTypes.flowTypeEmailSend: + return new _.default.flows.ArchFlowEmailSend(e3); + case s.flowTypes.flowTypeInboundCall: + return new _.default.flows.ArchFlowInboundCall(e3); + case s.flowTypes.flowTypeInboundChat: + return new _.default.flows.ArchFlowInboundChat(e3); + case s.flowTypes.flowTypeInboundEmail: + return new _.default.flows.ArchFlowInboundEmail(e3); + case s.flowTypes.flowTypeInboundShortMessage: + return new _.default.flows.ArchFlowInboundShortMessage(e3); + case s.flowTypes.flowTypeInQueueCall: + return new _.default.flows.ArchFlowInQueueCall(e3); + case s.flowTypes.flowTypeInQueueEmail: + return new _.default.flows.ArchFlowInQueueEmail(e3); + case s.flowTypes.flowTypeInQueueShortMessage: + return new _.default.flows.ArchFlowInQueueShortMessage(e3); + case s.flowTypes.flowTypeOutboundCall: + return new _.default.flows.ArchFlowOutboundCall(e3); + case s.flowTypes.flowTypeSecureCall: + return new _.default.flows.ArchFlowSecureCall(e3); + case s.flowTypes.flowTypeSurveyInvite: + return new _.default.flows.ArchFlowSurveyInvite(e3); + case s.flowTypes.flowTypeVoice: + return new _.default.flows.ArchFlowVoice(e3); + case s.flowTypes.flowTypeVoicemail: + return new _.default.flows.ArchFlowVoicemail(e3); + case s.flowTypes.flowTypeVoiceSurvey: + return new _.default.flows.ArchFlowVoiceSurvey(e3); + case s.flowTypes.flowTypeWorkflow: + return new _.default.flows.ArchFlowWorkflow(e3); + case s.flowTypes.flowTypeWorkitem: + return new _.default.flows.ArchFlowWorkitem(e3); + } + this._itemIsInvalid(t3, "the core flow view model type of '" + e3.type + "' is not supported by this method."); + } + createArchPrompt(e3) { + const t3 = this._infoParm("promptContainerViewModel", "createArchPrompt"); + if (this._checkItemUndefinedOrNull(t3, e3), e3.isPromptContainer) { + if (e3.isUser) return new _.default.prompts.ArchPromptUser(e3); + if (e3.isSystem) return new _.default.prompts.ArchPromptSystem(e3); + } + this._itemIsInvalid(t3, "the core prompt container view model is not a valid user or system prompt container view model."); + } + createArchActionFromCoreAction(e3) { + const t3 = this._infoParm("coreActionViewModel", "createArchActionFromCoreAction"); + this._checkItemUndefinedOrNull(t3, e3); + const i3 = e3; + switch (this._checkItem(t3, !i3.info || !i3.info.typeId, "the core action does not have a type"), i3.info.typeId) { + case o.abortSurveyActionType: + return new _.default.actions.ArchActionAbortSurveyInvite(i3); + case o.addFlowMilestoneActionType: + return new _.default.actions.ArchActionAddFlowMilestone(i3); + case o.agenticAnythingElseActionType: + return new _.default.actions.ArchActionAgenticAnythingElse(i3); + case o.agenticAskForIntentActionType: + return new _.default.actions.ArchActionAgenticAskForIntent(i3); + case o.askForAuthenticationActionType: + return new _.default.actions.ArchActionAskForAuthentication(i3); + case o.askForBooleanActionType: + return new _.default.actions.ArchActionAskForBoolean(i3); + case o.askForNLUIntentActionType: + return new _.default.actions.ArchActionAskForIntent(i3); + case o.askForNLUNextIntentActionActionType: + return new _.default.actions.ArchActionLoopAnythingElse(i3); + case o.askForSlotActionType: + return new _.default.actions.ArchActionAskForSlot(i3); + case o.askForPaymentActionType: + return new _.default.actions.ArchActionAskForPayment(i3); + case o.askSurveyQuestionActionType: + return new _.default.actions.ArchActionAskSurveyQuestion(i3); + case o.assignCustomerSegmentActionType: + return new _.default.actions.ArchActionAssignCustomerSegment(i3); + case o.audioMonitoringActionType: + return new _.default.actions.ArchActionAudioMonitoring(i3); + case o.botConnectorActionType: + return new _.default.actions.ArchActionCallBotConnector(i3); + case o.callAgenticVirtualAgentActionType: + return new _.default.actions.ArchActionCallAgenticVirtualAgent(i3); + case o.callAudioConnectorActionType: + return new _.default.actions.ArchActionCallAudioConnector(i3); + case o.callBotFlowActionType: + return new _.default.actions.ArchActionCallBotFlow(i3); + case o.digitalBotConnectorActionType: + return new _.default.actions.ArchActionCallDigitalConnector(i3); + case o.callDigitalBotFlowActionType: + return new _.default.actions.ArchActionCallDigitalBotFlow(i3); + case o.callDecisionTableActionType: + return new _.default.actions.ArchActionCallDecisionTable(i3); + case o.callGuideActionType: + return new _.default.actions.ArchActionCallGuide(i3); + case o.callVoiceFlowActionType: + return new _.default.actions.ArchActionCallVoiceFlow(i3); + case o.clearActiveIntentActionType: + return new _.default.actions.ArchActionClearActiveIntent(i3); + case o.clearPostFlowActionType: + return new _.default.actions.ArchActionClearPostFlow(i3); + case o.clearSlotActionType: + return new _.default.actions.ArchActionClearSlot(i3); + case o.clearUtilizationLabelActionType: + return new _.default.actions.ArchActionClearUtilizationLabel(i3); + case o.clearVoicemailSnippetActionType: + return new _.default.actions.ArchActionClearVoicemailSnippet(i3); + case o.bridgeServerActionType: + return new _.default.actions.ArchActionCallBridge(i3); + case o.dataActionActionType: + return new _.default.actions.ArchActionCallData(i3); + case o.dataTableLookupActionType: + return new _.default.actions.ArchActionDataTableLookup(i3); + case o.secureActionActionType: + return new _.default.actions.ArchActionCallDataSecure(i3); + case o.collectInputActionType: + return new _.default.actions.ArchActionCollectInput(i3); + case o.processVoicemailInputActionType: + return new _.default.actions.ArchActionProcessVoicemailInput(i3); + case o.collectVoiceSnippetActionType: + return new _.default.actions.ArchActionCollectVoiceSnippet(i3); + case o.communicateActionType: + return new _.default.actions.ArchActionCommunicate(i3); + case o.abortSendActionType: + return new _.default.actions.ArchActionAbortSend(i3); + case o.completeSendActionType: + return new _.default.actions.ArchActionCompleteSend(i3); + case o.completeSurveyActionType: + return new _.default.actions.ArchActionCompleteSurveyInvite(i3); + case o.createCallbackActionType: + return new _.default.actions.ArchActionCreateCallback(i3); + case o.createConversationAttributeActionType: + return new _.default.actions.ArchActionCreateConversationAttribute(i3); + case o.decisionActionType: + return new _.default.actions.ArchActionDecision(i3); + case o.detectIntentActionType: + return new _.default.actions.ArchActionDetectIntent(i3); + case o.detectSilenceActionType: + return new _.default.actions.ArchActionDetectSilence(i3); + case o.decryptDataActionType: + return new _.default.actions.ArchActionDecryptData(i3); + case o.deflectActionType: + return new _.default.actions.ArchActionDeflect(i3); + case o.dialExtensionActionType: + return new _.default.actions.ArchActionDialByExtension(i3); + case o.dialogflowActionType: + return new _.default.actions.ArchActionCallDialogflowBot(i3); + case o.dialogflowCxActionType: + return new _.default.actions.ArchActionCallDialogflowCxBot(i3); + case o.dialogEngineActionType: + return new _.default.actions.ArchActionCallDialogEngineBot(i3); + case o.digitalMenuActionType: + return new _.default.actions.ArchActionDigitalMenu(i3); + case o.disconnectActionType: + return new _.default.actions.ArchActionDisconnect(i3); + case o.disconnectWorkitemActionType: + return new _.default.actions.ArchActionDisconnectWorkitem(i3); + case o.encryptDataActionType: + return new _.default.actions.ArchActionEncryptData(i3); + case o.endBusinessProcessActionType: + return new _.default.actions.ArchActionEndBusinessProcess(i3); + case o.endStateActionType: + return new _.default.actions.ArchActionEndState(i3); + case o.endWorkflowActionType: + return new _.default.actions.ArchActionEndWorkflow(i3); + case o.returnToAgentActionType: + return new _.default.actions.ArchActionReturnToAgent(i3); + case o.evaluateScheduleActionType: + return new _.default.actions.ArchActionEvaluateSchedule(i3); + case o.evaluateScheduleGroupActionType: + return new _.default.actions.ArchActionEvaluateScheduleGroup(i3); + case o.evaluateSkillExpressionFiltersActionType: + return new _.default.actions.ArchActionEvaluateSkillExpressionFilters(i3); + case o.exitBotFlowActionType: + return new _.default.actions.ArchActionExitBotFlow(i3); + case o.exitWorkitemFlowActionType: + return new _.default.actions.ArchActionExitWorkitemFlow(i3); + case o.extractSecureDataActionType: + return new _.default.actions.ArchActionExtractSecureData(i3); + case o.findLanguageSkillActionType: + return new _.default.actions.ArchActionFindLanguageSkill(i3); + case o.findDivisionActionType: + return new _.default.actions.ArchActionFindDivision(i3); + case o.findDivisionsActionType: + return new _.default.actions.ArchActionFindDivisions(i3); + case o.findEmergencyGroupActionType: + return new _.default.actions.ArchActionFindEmergencyGroup(i3); + case o.findGrammarActionType: + return new _.default.actions.ArchActionFindGrammar(i3); + case o.findGrammarByIdActionType: + return new _.default.actions.ArchActionFindGrammarById(i3); + case o.findGroupActionType: + return new _.default.actions.ArchActionFindGroup(i3); + case o.findKnowledgeBaseDocumentByIdActionType: + return new _.default.actions.ArchActionFindKnowledgeBaseDocumentById(i3); + case o.findQueueActionType: + return new _.default.actions.ArchActionFindQueue(i3); + case o.findQueueByIdActionType: + return new _.default.actions.ArchActionFindQueueById(i3); + case o.findScheduleActionType: + return new _.default.actions.ArchActionFindSchedule(i3); + case o.findScheduleGroupActionType: + return new _.default.actions.ArchActionFindScheduleGroup(i3); + case o.findSkillActionType: + return new _.default.actions.ArchActionFindSkill(i3); + case o.findSystemPromptActionType: + return new _.default.actions.ArchActionFindSystemPrompt(i3); + case o.findUserActionType: + return new _.default.actions.ArchActionFindUser(i3); + case o.findUserByIdActionType: + return new _.default.actions.ArchActionFindUserById(i3); + case o.findUserPromptActionType: + return new _.default.actions.ArchActionFindUserPrompt(i3); + case o.findUsersByIdActionType: + return new _.default.actions.ArchActionFindUsersById(i3); + case o.findUtilizationLabelActionType: + return new _.default.actions.ArchActionFindUtilizationLabel(i3); + case o.flushAudioActionType: + return new _.default.actions.ArchActionFlushAudio(i3); + case o.formActionType: + return new _.default.actions.ArchActionForm(i3); + case o.getAssignedCustomerIntentsActionType: + return new _.default.actions.ArchActionGetAssignedCustomerIntents(i3); + case o.getAssignedCustomerSegmentsActionType: + return new _.default.actions.ArchActionGetAssignedCustomerSegments(i3); + case o.getExternalContactActionType: + return new _.default.actions.ArchActionGetExternalContact(i3); + case o.getExternalOrganizationActionType: + return new _.default.actions.ArchActionGetExternalOrganization(i3); + case o.getRawSIPHeadersActionType: + return new _.default.actions.ArchActionGetRawSIPHeaders(i3); + case o.getEmailHeadersActionType: + return new _.default.actions.ArchActionGetEmailHeaders(i3); + case o.getSIPHeadersActionType: + return new _.default.actions.ArchActionGetSIPHeaders(i3); + case o.getJourneyOutcomeActionType: + return new _.default.actions.ArchActionGetJourneyOutcome(i3); + case o.getJourneyOutcomeScoresBySessionActionType: + return new _.default.actions.ArchActionGetJourneyOutcomeScoresBySession(i3); + case o.getJourneySegmentActionType: + return new _.default.actions.ArchActionGetJourneySegment(i3); + case o.getJourneySessionActionType: + return new _.default.actions.ArchActionGetJourneySession(i3); + case o.getJourneySessionsByExternalContactActionType: + return new _.default.actions.ArchActionGetJourneySessionsByExternalContact(i3); + case o.getAttributesActionType: + return new _.default.actions.ArchActionGetParticipantData(i3); + case o.getConversationAttributeActionType: + return new _.default.actions.ArchActionGetConversationAttribute(i3); + case o.getConversationAttributesActionType: + return new _.default.actions.ArchActionGetConversationAttributes(i3); + case o.getConversationDataActionType: + return new _.default.actions.ArchActionGetConversationData(i3); + case o.getResponseActionType: + return new _.default.actions.ArchActionGetResponse(i3); + case o.holdMusicActionType: + return new _.default.actions.ArchActionHoldMusic(i3); + case o.lexActionType: + return new _.default.actions.ArchActionCallLexBot(i3); + case o.lexV2ActionType: + return new _.default.actions.ArchActionCallLexV2Bot(i3); + case o.loopActionType: + return new _.default.actions.ArchActionLoop(i3); + case o.loopUntilActionType: + return new _.default.actions.ArchActionLoopUntil(i3); + case o.exitLoopActionType: + return new _.default.actions.ArchActionLoopExit(i3); + case o.menuActionActionType: + return new _.default.actions.ArchActionMenu(i3); + case o.nextLoopActionType: + return new _.default.actions.ArchActionLoopNext(i3); + case o.nuanceMixActionType: + return new _.default.actions.ArchActionCallNuanceMixBot(i3); + case o.participantRecordActionType: + return new _.default.actions.ArchActionEnableParticipantRecord(i3); + case o.playAudioActionType: + return new _.default.actions.ArchActionPlayAudio(i3); + case o.playEstimatedWaitTimeActionType: + return new _.default.actions.ArchActionPlayEstimatedWaitTime(i3); + case o.playAudioOnSilenceActionType: + return new _.default.actions.ArchActionPlayAudioOnSilence(i3); + case o.playPositionInQueueActionType: + return new _.default.actions.ArchActionPlayPositionInQueue(i3); + case o.playUserGreetingActionType: + return new _.default.actions.ArchActionPlayUserGreeting(i3); + case o.playUserNameActionType: + return new _.default.actions.ArchActionPlayUserName(i3); + case o.previousMenuActionType: + return new _.default.actions.ArchActionPreviousMenu(i3); + case o.promoteExternalContactActionType: + return new _.default.actions.ArchActionPromoteExternalContact(i3); + case o.repeatMenuActionType: + return new _.default.actions.ArchActionRepeatMenu(i3); + case o.searchExternalContactsActionType: + return new _.default.actions.ArchActionSearchExternalContacts(i3); + case o.getSecuredDataActionType: + return new _.default.actions.ArchActionGetSecuredData(i3); + case o.sendAutoReplyActionType: + return new _.default.actions.ArchActionSendAutoReply(i3); + case o.sendDigitalContentActionType: + return new _.default.actions.ArchActionSendDigitalContent(i3); + case o.sendInteractiveApplicationActionActionType: + return new _.default.actions.ArchActionSendInteractiveApplication(i3); + case o.sendKnowledgeFeedbackActionActionType: + return new _.default.actions.ArchActionSendKnowledgeFeedback(i3); + case o.sendNotificationActionType: + return new _.default.actions.ArchActionSendNotification(i3); + case o.sendResponseActionType: + return new _.default.actions.ArchActionSendResponse(i3); + case o.sendRichLinkActionType: + return new _.default.actions.ArchActionSendRichLink(i3); + case o.screenPopActionType: + return new _.default.actions.ArchActionSetScreenPop(i3); + case o.setActiveIntentActionType: + return new _.default.actions.ArchActionSetIntent(i3); + case o.setAttributesActionType: + return new _.default.actions.ArchActionSetParticipantData(i3); + case o.setConversationDataActionType: + return new _.default.actions.ArchActionSetConversationData(i3); + case o.setExternalTagActionType: + return new _.default.actions.ArchActionSetExternalTag(i3); + case o.setLocaleActionType: + return new _.default.actions.ArchActionSetLanguage(i3); + case o.setPriorityActionType: + return new _.default.actions.ArchActionSetPriority(i3); + case o.setPostFlowActionType: + return new _.default.actions.ArchActionSetPostFlow(i3); + case o.setSecuredDataActionType: + return new _.default.actions.ArchActionSetSecuredData(i3); + case o.setSkillExpressionFiltersActionType: + return new _.default.actions.ArchActionSetSkillExpressionFilters(i3); + case o.setSkillsActionType: + return new _.default.actions.ArchActionSetSkills(i3); + case o.clearSkillExpressionFiltersActionType: + return new _.default.actions.ArchActionClearSkillExpressionFilters(i3); + case o.setUtilizationLabelActionType: + return new _.default.actions.ArchActionSetUtilizationLabel(i3); + case o.setUUIDataActionType: + return new _.default.actions.ArchActionSetUUIData(i3); + case o.setWrapupCodeActionType: + return new _.default.actions.ArchActionSetWrapupCode(i3); + case o.setWhisperAudioActionType: + return new _.default.actions.ArchActionSetWhisperAudio(i3); + case o.showKnowledgeArticleActionActionType: + return new _.default.actions.ArchActionShowKnowledgeArticle(i3); + case o.submitVoicemailSnippetActionType: + return new _.default.actions.ArchActionSubmitVoicemailSnippet(i3); + case o.submitVoiceSnippetActionType: + return new _.default.actions.ArchActionSubmitVoiceSnippet(i3); + case o.switchActionActionType: + return new _.default.actions.ArchActionSwitch(i3); + case o.taskActionActionType: + return new _.default.actions.ArchActionTask(i3); + case o.terminateWorkitemActionType: + return new _.default.actions.ArchActionTerminateWorkitem(i3); + case o.transcriptionActionType: + return new _.default.actions.ArchActionTranscription(i3); + case o.transferExternalActionType: + return new _.default.actions.ArchActionTransferToNumber(i3); + case o.transferFlowActionType: + return new _.default.actions.ArchActionTransferToFlow(i3); + case o.transferFlowSecureActionType: + return new _.default.actions.ArchActionTransferToFlowSecure(i3); + case o.transferGroupActionType: + return new _.default.actions.ArchActionTransferToGroup(i3); + case o.transferMenuActionType: + return new _.default.actions.ArchActionJumpToMenu(i3); + case o.transferPureMatchActionType: + return new _.default.actions.ArchActionTransferToAcd(i3); + case o.transferTaskActionType: + return new _.default.actions.ArchActionJumpToTask(i3); + case o.transferUserActionType: + return new _.default.actions.ArchActionTransferToUser(i3); + case o.transferVoicemailActionType: + return new _.default.actions.ArchActionTransferToVoicemail(i3); + case o.updateConversationAttributeActionType: + return new _.default.actions.ArchActionUpdateConversationAttribute(i3); + case o.updateExternalContactActionType: + return new _.default.actions.ArchActionUpdateExternalContact(i3); + case o.updateVariableActionType: + return new _.default.actions.ArchActionUpdateData(i3); + case o.updateWorkitemActionType: + return new _.default.actions.ArchActionUpdateWorkitem(i3); + case o.callCommonModuleActionType: + return new _.default.actions.ArchActionCallCommonModule(i3); + case o.callTaskActionType: + return new _.default.actions.ArchActionCallTask(i3); + case o.changeStateActionType: + return new _.default.actions.ArchActionChangeState(i3); + case o.endTaskActionType: + return new _.default.actions.ArchActionEndTask(i3); + case o.waitActionType: + return new _.default.actions.ArchActionWait(i3); + case o.waitForInputActionType: + return new _.default.actions.ArchActionWaitForInput(i3); + case o.initializeFlowOutcomeActionType: + return new _.default.actions.ArchActionInitializeFlowOutcome(i3); + case o.setFlowOutcomeActionType: + return new _.default.actions.ArchActionSetFlowOutcome(i3); + } + this._itemIsInvalid(t3, "the action type of '" + i3.info.scriptingName + "' is not supported by this method."); + } + createArchMenuChoice(e3) { + const t3 = this._infoParm("coreMenuChoiceViewModel", "createArchMenuChoice"); + switch (this._checkItemUndefinedOrNull(t3, e3), this._checkItem(t3, !e3.action || !e3.action.info || !e3.action.info.typeId, "the core menu type does not have a valid core action on it"), e3.action.info.typeId) { + case o.dialExtensionActionType: + return new _.default.menus.ArchMenuDialByExtension(e3); + case o.disconnectActionType: + return new _.default.menus.ArchMenuDisconnect(e3); + case o.menuActionActionType: + return new _.default.menus.ArchMenuSubMenu(e3); + case o.previousMenuActionType: + return new _.default.menus.ArchMenuPreviousMenu(e3); + case o.repeatMenuActionType: + return new _.default.menus.ArchMenuRepeatMenu(e3); + case o.returnToAgentActionType: + return new _.default.menus.ArchMenuReturnToAgent(e3); + case o.taskActionActionType: + return new _.default.menus.ArchMenuTask(e3); + case o.transferExternalActionType: + return new _.default.menus.ArchMenuTransferToNumber(e3); + case o.transferFlowActionType: + return new _.default.menus.ArchMenuTransferToFlow(e3); + case o.transferFlowSecureActionType: + return new _.default.menus.ArchMenuTransferToFlowSecure(e3); + case o.transferGroupActionType: + return new _.default.menus.ArchMenuTransferToGroup(e3); + case o.transferMenuActionType: + return new _.default.menus.ArchMenuJumpToMenu(e3); + case o.transferTaskActionType: + return new _.default.menus.ArchMenuJumpToTask(e3); + case o.transferPureMatchActionType: + return new _.default.menus.ArchMenuTransferToAcd(e3); + case o.transferUserActionType: + return new _.default.menus.ArchMenuTransferToUser(e3); + case o.transferVoicemailActionType: + return new _.default.menus.ArchMenuTransferToVoicemail(e3); + } + this._itemIsInvalid(t3, "the core menu choice action's type of '" + e3.action.info.typeId + "' is not supported by this method."); + } + createArchMenu(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreMenuViewModel", "createArchMenu"), e3), new _.default.menus.ArchMenu(e3); + } + createArchDivision(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreDivisionViewModel", "createArchDivision"), e3), new p.default.ArchDivision(e3); + } + createArchLanguage(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreIsoLanguageViewModel", "createArchLanguage"), e3), new d.default.ArchLanguage(e3); + } + createArchValueFromExpression(e3) { + return this._createArchValueFromExpressionImpl(e3); + } + _createArchValueFromExpressionImpl(e3) { + const t3 = this._infoParm("coreExpression", "createArchValueFromExpression"); + this._checkItemUndefinedOrNull(t3, e3); + const i3 = e3; + let n3, o2; + this._checkItem(t3, !i3.type, "core expression does not have a type property on it"), i3.isAudioExpression ? (n3 = i3.type.isCollection, o2 = i3.type.expressionType) : i3.isExpressionList ? (n3 = true, o2 = i3.type.expressionType) : i3.isCollectionExpression ? (n3 = true, o2 = i3.singleType.expressionType) : i3.isNormalExpression ? (n3 = i3.isCollection, o2 = i3.type.singletonType.expressionType, (0, l.isCustomJsonExpressionDataType)(o2) && (o2 = a.expressionTypeNames.json)) : this._itemIsInvalid(t3, "unable to determine if the core expression is a collection or not."); + const r2 = i3; + if (n3) { + if ((0, l.isCustomJsonExpressionDataType)(o2)) return new _.default.values.ArchValueJsonCollection(r2); + switch (o2) { + case a.expressionTypeNames.agentScorePair: + return new _.default.values.ArchValueAgentScorePairCollection(r2); + case a.expressionTypeNames.any: + return new _.default.values.ArchValueAnyCollection(r2); + case a.expressionTypeNames.assignedCustomerIntent: + return new _.default.values.ArchValueAssignedCustomerIntentCollection(r2); + case a.expressionTypeNames.assignedCustomerSegment: + return new _.default.values.ArchValueAssignedCustomerSegmentCollection(r2); + case a.expressionTypeNames.boolean: + return new _.default.values.ArchValueBooleanCollection(r2); + case a.expressionTypeNames.card: + return new _.default.values.ArchValueCardCollection(r2); + case a.expressionTypeNames.choice: + return new _.default.values.ArchValueChoiceCollection(r2); + case a.expressionTypeNames.communication: + return new _.default.values.ArchValueCommunicationCollection(r2); + case a.expressionTypeNames.currency: + return new _.default.values.ArchValueCurrencyCollection(r2); + case a.expressionTypeNames.customerIntent: + return new _.default.values.ArchValueCustomerIntentCollection(r2); + case a.expressionTypeNames.customerSegment: + return new _.default.values.ArchValueCustomerSegmentCollection(r2); + case a.expressionTypeNames.date: + return new _.default.values.ArchValueDateCollection(r2); + case a.expressionTypeNames.dateTime: + return new _.default.values.ArchValueDateTimeCollection(r2); + case a.expressionTypeNames.decimal: + return new _.default.values.ArchValueDecimalCollection(r2); + case a.expressionTypeNames.digitalAudio: + return new _.default.values.ArchValueDigitalAudioCollection(r2); + case a.expressionTypeNames.division: + return new _.default.values.ArchValueDivisionCollection(r2); + case a.expressionTypeNames.duration: + return new _.default.values.ArchValueDurationCollection(r2); + case a.expressionTypeNames.emergencyGroup: + return new _.default.values.ArchValueEmergencyGroupCollection(r2); + case a.expressionTypeNames.emailAddress: + return new _.default.values.ArchValueEmailAddressCollection(r2); + case a.expressionTypeNames.externalContact: + return new _.default.values.ArchValueExternalContactCollection(r2); + case a.expressionTypeNames.externalOrganization: + return new _.default.values.ArchValueExternalOrganizationCollection(r2); + case a.expressionTypeNames.file: + return new _.default.values.ArchValueFileCollection(r2); + case a.expressionTypeNames.grammar: + return new _.default.values.ArchValueGrammarCollection(r2); + case a.expressionTypeNames.group: + return new _.default.values.ArchValueGroupCollection(r2); + case a.expressionTypeNames.image: + return new _.default.values.ArchValueImageCollection(r2); + case a.expressionTypeNames.integer: + return new _.default.values.ArchValueIntegerCollection(r2); + case a.expressionTypeNames.journeySession: + return new _.default.values.ArchValueJourneySessionCollection(r2); + case a.expressionTypeNames.json: + return new _.default.values.ArchValueJsonCollection(r2); + case a.expressionTypeNames.lineItem: + return new _.default.values.ArchValueLineItemCollection(r2); + case a.expressionTypeNames.languageSkill: + return new _.default.values.ArchValueLanguageSkillCollection(r2); + case a.expressionTypeNames.journeyOutcome: + return new _.default.values.ArchValueJourneyOutcomeCollection(r2); + case a.expressionTypeNames.journeyOutcomeScore: + return new _.default.values.ArchValueJourneyOutcomeScoreCollection(r2); + case a.expressionTypeNames.journeySegment: + return new _.default.values.ArchValueJourneySegmentCollection(r2); + case a.expressionTypeNames.knowledgeBaseDocument: + return new _.default.values.ArchValueKnowledgeBaseDocumentCollection(r2); + case a.expressionTypeNames.listPickerItem: + return new _.default.values.ArchValueListPickerItemCollection(r2); + case a.expressionTypeNames.listPickerSection: + return new _.default.values.ArchValueListPickerSectionCollection(r2); + case a.expressionTypeNames.queue: + return new _.default.values.ArchValueQueueCollection(r2); + case a.expressionTypeNames.phoneNumber: + return new _.default.values.ArchValuePhoneNumberCollection(r2); + case a.expressionTypeNames.prompt: + return new _.default.values.ArchValuePromptCollection(r2); + case a.expressionTypeNames.responseAsset: + return new _.default.values.ArchValueResponseAssetCollection(r2); + case a.expressionTypeNames.schedule: + return new _.default.values.ArchValueScheduleCollection(r2); + case a.expressionTypeNames.scheduleGroup: + return new _.default.values.ArchValueScheduleGroupCollection(r2); + case a.expressionTypeNames.shippingOption: + return new _.default.values.ArchValueShippingOptionCollection(r2); + case a.expressionTypeNames.skill: + return new _.default.values.ArchValueSkillCollection(r2); + case a.expressionTypeNames.string: + return new _.default.values.ArchValueStringCollection(r2); + case a.expressionTypeNames.surveyAnswerOption: + return new _.default.values.ArchValueSurveyAnswerOptionCollection(r2); + case a.expressionTypeNames.surveyQuestionGroup: + return new _.default.values.ArchValueSurveyQuestionGroupCollection(r2); + case a.expressionTypeNames.surveyQuestion: + return new _.default.values.ArchValueSurveyQuestionCollection(r2); + case a.expressionTypeNames.time: + return new _.default.values.ArchValueTimeCollection(r2); + case a.expressionTypeNames.timeslot: + return new _.default.values.ArchValueTimeslotCollection(r2); + case a.expressionTypeNames.userQueue: + return new _.default.values.ArchValueUserCollection(r2); + case a.expressionTypeNames.utilizationLabel: + return new _.default.values.ArchValueUtilizationLabelCollection(r2); + case a.expressionTypeNames.video: + return new _.default.values.ArchValueVideoCollection(r2); + case a.expressionTypeNames.wheelPickerItem: + return new _.default.values.ArchValueWheelPickerItemCollection(r2); + case a.expressionTypeNames.workbin: + return new _.default.values.ArchValueWorkbinCollection(r2); + case a.expressionTypeNames.worktypeStatus: + return new _.default.values.ArchValueWorktypeStatusCollection(r2); + case a.expressionTypeNames.wrapupCode: + return new _.default.values.ArchValueWrapupCodeCollection(r2); + } + } else switch (o2) { + case a.expressionTypeNames.agentScorePair: + return new _.default.values.ArchValueAgentScorePair(r2); + case a.expressionTypeNames.any: + return new _.default.values.ArchValueAny(r2); + case a.expressionTypeNames.assignedCustomerIntent: + return new _.default.values.ArchValueAssignedCustomerIntent(r2); + case a.expressionTypeNames.assignedCustomerSegment: + return new _.default.values.ArchValueAssignedCustomerSegment(r2); + case a.expressionTypeNames.audio: + return new _.default.values.ArchValueAudio(r2); + case a.expressionTypeNames.boolean: + return new _.default.values.ArchValueBoolean(r2); + case a.expressionTypeNames.card: + return new _.default.values.ArchValueCard(r2); + case a.expressionTypeNames.carousel: + return new _.default.values.ArchValueCarousel(r2); + case a.expressionTypeNames.choice: + return new _.default.values.ArchValueChoice(r2); + case a.expressionTypeNames.chooser: + return new _.default.values.ArchValueChooser(r2); + case a.expressionTypeNames.communication: + return new _.default.values.ArchValueCommunication(r2); + case a.expressionTypeNames.contactList: + return new _.default.values.ArchValueContactList(r2); + case a.expressionTypeNames.currency: + return new _.default.values.ArchValueCurrency(r2); + case a.expressionTypeNames.customerIntent: + return new _.default.values.ArchValueCustomerIntent(r2); + case a.expressionTypeNames.customerSegment: + return new _.default.values.ArchValueCustomerSegment(r2); + case a.expressionTypeNames.date: + return new _.default.values.ArchValueDate(r2); + case a.expressionTypeNames.dateTime: + return new _.default.values.ArchValueDateTime(r2); + case a.expressionTypeNames.decimal: + return new _.default.values.ArchValueDecimal(r2); + case a.expressionTypeNames.digitalAudio: + return new _.default.values.ArchValueDigitalAudio(r2); + case a.expressionTypeNames.division: + return new _.default.values.ArchValueDivision(r2); + case a.expressionTypeNames.duration: + return new _.default.values.ArchValueDuration(r2); + case a.expressionTypeNames.emergencyGroup: + return new _.default.values.ArchValueEmergencyGroup(r2); + case a.expressionTypeNames.emailAddress: + return new _.default.values.ArchValueEmailAddress(r2); + case a.expressionTypeNames.externalContact: + return new _.default.values.ArchValueExternalContact(r2); + case a.expressionTypeNames.externalOrganization: + return new _.default.values.ArchValueExternalOrganization(r2); + case a.expressionTypeNames.file: + return new _.default.values.ArchValueFile(r2); + case a.expressionTypeNames.formInput: + return new _.default.values.ArchValueFormInput(r2); + case a.expressionTypeNames.grammar: + return new _.default.values.ArchValueGrammar(r2); + case a.expressionTypeNames.group: + return new _.default.values.ArchValueGroup(r2); + case a.expressionTypeNames.image: + return new _.default.values.ArchValueImage(r2); + case a.expressionTypeNames.integer: + return new _.default.values.ArchValueInteger(r2); + case a.expressionTypeNames.journeyOutcome: + return new _.default.values.ArchValueJourneyOutcome(r2); + case a.expressionTypeNames.journeyOutcomeScore: + return new _.default.values.ArchValueJourneyOutcomeScore(r2); + case a.expressionTypeNames.journeySegment: + return new _.default.values.ArchValueJourneySegment(r2); + case a.expressionTypeNames.journeySession: + return new _.default.values.ArchValueJourneySession(r2); + case a.expressionTypeNames.json: + return new _.default.values.ArchValueJson(r2); + case a.expressionTypeNames.knowledgeBaseDocument: + return new _.default.values.ArchValueKnowledgeBaseDocument(r2); + case a.expressionTypeNames.languageSkill: + return new _.default.values.ArchValueLanguageSkill(r2); + case a.expressionTypeNames.lineItem: + return new _.default.values.ArchValueLineItem(r2); + case a.expressionTypeNames.listPicker: + return new _.default.values.ArchValueListPicker(r2); + case a.expressionTypeNames.listPickerItem: + return new _.default.values.ArchValueListPickerItem(r2); + case a.expressionTypeNames.listPickerSection: + return new _.default.values.ArchValueListPickerSection(r2); + case a.expressionTypeNames.phoneNumber: + return new _.default.values.ArchValuePhoneNumber(r2); + case a.expressionTypeNames.prompt: + return new _.default.values.ArchValuePrompt(r2); + case a.expressionTypeNames.queue: + return new _.default.values.ArchValueQueue(r2); + case a.expressionTypeNames.quickReplies: + return new _.default.values.ArchValueQuickReplies(r2); + case a.expressionTypeNames.responseAsset: + return new _.default.values.ArchValueResponseAsset(r2); + case a.expressionTypeNames.schedule: + return new _.default.values.ArchValueSchedule(r2); + case a.expressionTypeNames.scheduleGroup: + return new _.default.values.ArchValueScheduleGroup(r2); + case a.expressionTypeNames.surveyAnswerOption: + return new _.default.values.ArchValueSurveyAnswerOption(r2); + case a.expressionTypeNames.surveyQuestionGroup: + return new _.default.values.ArchValueSurveyQuestionGroup(r2); + case a.expressionTypeNames.surveyQuestion: + return new _.default.values.ArchValueSurveyQuestion(r2); + case a.expressionTypeNames.skill: + return new _.default.values.ArchValueSkill(r2); + case a.expressionTypeNames.string: + return new _.default.values.ArchValueString(r2); + case a.expressionTypeNames.time: + return new _.default.values.ArchValueTime(r2); + case a.expressionTypeNames.timePicker: + return new _.default.values.ArchValueTimePicker(r2); + case a.expressionTypeNames.timeslot: + return new _.default.values.ArchValueTimeslot(r2); + case a.expressionTypeNames.shippingOption: + return new _.default.values.ArchValueShippingOption(r2); + case a.expressionTypeNames.userQueue: + return new _.default.values.ArchValueUser(r2); + case a.expressionTypeNames.utilizationLabel: + return new _.default.values.ArchValueUtilizationLabel(r2); + case a.expressionTypeNames.video: + return new _.default.values.ArchValueVideo(r2); + case a.expressionTypeNames.voiceSnippet: + return new _.default.values.ArchValueVoiceSnippet(r2); + case a.expressionTypeNames.wheelPicker: + return new _.default.values.ArchValueWheelPicker(r2); + case a.expressionTypeNames.wheelPickerItem: + return new _.default.values.ArchValueWheelPickerItem(r2); + case a.expressionTypeNames.workbin: + return new _.default.values.ArchValueWorkbin(r2); + case a.expressionTypeNames.workitem: + return new _.default.values.ArchValueWorkitem(r2); + case a.expressionTypeNames.worktypeStatus: + return new _.default.values.ArchValueWorktypeStatus(r2); + case a.expressionTypeNames.wrapupCode: + return new _.default.values.ArchValueWrapupCode(r2); + } + this._itemIsInvalid(t3, "the core expression's expression type of '" + i3.type.expressionType + "' ( collection = " + !!n3 + ") is not supported by this method."); + } + createArchValueSettings(e3) { + return this._checkItem(this._infoParm("archBaseValue", "createArchValueSettings"), !e3 || !e3.isArchBaseValue, "no archBaseValue supplied"), new _.default.values.ArchValueSettings(e3); + } + createArchMenuSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreMenuSettingsViewModel", "createArchMenuSettings"), e3), e3.isFlowSettings ? new _.default.settings.ArchSettingsMenuFlow(e3) : new _.default.settings.ArchSettingsMenu(e3); + } + createArchPromptsSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreCallPromptsViewModel", "createArchPromptsSettings"), e3), new _.default.settings.ArchSettingsPromptsFlow(e3); + } + createArchCommonModuleFlowSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreCommonModuleFlowSettingsViewModel", "coreCommonModuleFlowSettingsViewModel"), e3), new _.default.settings.ArchSettingsCommonModuleFlow(e3); + } + createArchOutboundCallFlowSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreOutboundCallFlowSettingsViewModel", "createArchOutboundCallFlowSettings"), e3), new _.default.settings.ArchSettingsOutboundCallFlow(e3); + } + createArchVoiceSurveyFlowSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreVoiceSurveyFlowSettingsViewModel", "createArchVoiceSurveyFlowSettings"), e3), new _.default.settings.ArchSettingsVoiceSurveyFlow(e3); + } + createArchWorkitemFlowSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreWorkitemFlowSettingsViewModel", "createArchWorkitemFlowSettings"), e3), new _.default.settings.ArchSettingsWorkitemFlow(e3); + } + createArchBotFlowSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreBotFlowSettingsViewModel", "createArchBotFlowSettings"), e3), new _.default.settings.ArchSettingsBotFlow(e3); + } + createArchSettingsNluIntents(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreSettingsIntentsViewModel", "createArchSettingsNluIntents"), e3), new _.default.settings.ArchSettingsNluIntents(e3); + } + createArchInboundEmailFlowSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreInboundEmailFlowSettingsViewModel", "createArchInboundEmailFlowSettings"), e3), new _.default.settings.ArchSettingsInboundEmailFlow(e3); + } + createArchEmailSendFlowSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreEmailSendFlowSettingsViewModel", "createArchEmailSendFlowSettings"), e3), new _.default.settings.ArchSettingsEmailSendFlow(e3); + } + createArchFlowInfo(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreFlowInfoViewModel", "createArchFlowInfo"), e3), new _.default.flows.ArchFlowInfo(e3); + } + createArchFlowInfoBasic(e3, t3, i3) { + return new _.default.flows.ArchFlowInfoBasic({ id: e3, name: t3, type: i3 }); + } + createArchFlowInfoVersion(e3) { + return new _.default.flows.ArchFlowInfoVersion(e3); + } + createArchDataTypeJsonCustomSchema(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); + } + createArchErrorHandlingSettingsFlow(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreErrorHandlingSettingsViewModel", "createArchErrorHandlingSettingsFlow"), e3), new _.default.settings.ArchSettingsEventErrorFlow(e3); + } + createArchErrorHandlingSettingsFlowBot(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreBotErrorHandlingSettingsViewModel", "createArchErrorHandlingSettingsFlowBot"), e3), new _.default.settings.ArchSettingsEventErrorFlowBot(e3); + } + createArchSpeechRecSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechRecSettingsViewModel", "createArchSpeechRecSettings"), e3), e3.isFlowSettings ? new _.default.settings.ArchSettingsSpeechRecFlow(e3) : new _.default.settings.ArchSettingsSpeechRec(e3); + } + createArchVariableFromVariable(e3) { + const t3 = this._infoParm("coreVariable", "createArchVariableFromVariable"); + let i3; + switch (this._checkItemUndefinedOrNull(t3, e3), this._checkItem(t3, !e3.type, "core variable does not have a type property on it"), i3 = (0, l.isCustomJsonExpressionDataType)(e3.type.expressionType) ? a.expressionTypeNames.json : e3.type.expressionType, i3) { + case a.expressionTypeNames.agentScorePair: + return new _.default.variables.ArchVariableAgentScorePair(e3); + case a.expressionTypeNames.agentScorePair + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableAgentScorePairCollection(e3); + case a.expressionTypeNames.assignedCustomerIntent: + return new _.default.variables.ArchVariableAssignedCustomerIntent(e3); + case a.expressionTypeNames.assignedCustomerIntent + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableAssignedCustomerIntentCollection(e3); + case a.expressionTypeNames.assignedCustomerSegment: + return new _.default.variables.ArchVariableAssignedCustomerSegment(e3); + case a.expressionTypeNames.assignedCustomerSegment + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableAssignedCustomerSegmentCollection(e3); + case a.expressionTypeNames.boolean: + return new _.default.variables.ArchVariableBoolean(e3); + case a.expressionTypeNames.boolean + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableBooleanCollection(e3); + case a.expressionTypeNames.card: + return new _.default.variables.ArchVariableCard(e3); + case a.expressionTypeNames.card + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableCardCollection(e3); + case a.expressionTypeNames.carousel: + return new _.default.variables.ArchVariableCarousel(e3); + case a.expressionTypeNames.choice: + return new _.default.variables.ArchVariableChoice(e3); + case a.expressionTypeNames.choice + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableChoiceCollection(e3); + case a.expressionTypeNames.chooser: + return new _.default.variables.ArchVariableChooser(e3); + case a.expressionTypeNames.chooser + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableChooserCollection(e3); + case a.expressionTypeNames.communication: + return new _.default.variables.ArchVariableCommunication(e3); + case a.expressionTypeNames.communication + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableCommunicationCollection(e3); + case a.expressionTypeNames.customerIntent: + return new _.default.variables.ArchVariableCustomerIntent(e3); + case a.expressionTypeNames.customerIntent + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableCustomerIntentCollection(e3); + case a.expressionTypeNames.customerSegment: + return new _.default.variables.ArchVariableCustomerSegment(e3); + case a.expressionTypeNames.customerSegment + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableCustomerSegmentCollection(e3); + case a.expressionTypeNames.currency: + return new _.default.variables.ArchVariableCurrency(e3); + case a.expressionTypeNames.currency + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableCurrencyCollection(e3); + case a.expressionTypeNames.date: + return new _.default.variables.ArchVariableDate(e3); + case a.expressionTypeNames.date + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableDateCollection(e3); + case a.expressionTypeNames.dateTime: + return new _.default.variables.ArchVariableDateTime(e3); + case a.expressionTypeNames.dateTime + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableDateTimeCollection(e3); + case a.expressionTypeNames.decimal: + return new _.default.variables.ArchVariableDecimal(e3); + case a.expressionTypeNames.decimal + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableDecimalCollection(e3); + case a.expressionTypeNames.digitalAudio: + return new _.default.variables.ArchVariableDigitalAudio(e3); + case a.expressionTypeNames.digitalAudio + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableDigitalAudioCollection(e3); + case a.expressionTypeNames.division: + return new _.default.variables.ArchVariableDivision(e3); + case a.expressionTypeNames.division + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableDivisionCollection(e3); + case a.expressionTypeNames.duration: + return new _.default.variables.ArchVariableDuration(e3); + case a.expressionTypeNames.duration + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableDurationCollection(e3); + case a.expressionTypeNames.emergencyGroup: + return new _.default.variables.ArchVariableEmergencyGroup(e3); + case a.expressionTypeNames.emergencyGroup + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableEmergencyGroupCollection(e3); + case a.expressionTypeNames.emailAddress: + return new _.default.variables.ArchVariableEmailAddress(e3); + case a.expressionTypeNames.emailAddress + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableEmailAddressCollection(e3); + case a.expressionTypeNames.externalContact: + return new _.default.variables.ArchVariableExternalContact(e3); + case a.expressionTypeNames.externalContact + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableExternalContactCollection(e3); + case a.expressionTypeNames.externalOrganization: + return new _.default.variables.ArchVariableExternalOrganization(e3); + case a.expressionTypeNames.externalOrganization + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableExternalOrganizationCollection(e3); + case a.expressionTypeNames.file: + return new _.default.variables.ArchVariableFile(e3); + case a.expressionTypeNames.file + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableFileCollection(e3); + case a.expressionTypeNames.formInput: + return new _.default.variables.ArchVariableFormInput(e3); + case a.expressionTypeNames.grammar: + return new _.default.variables.ArchVariableGrammar(e3); + case a.expressionTypeNames.grammar + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableGrammarCollection(e3); + case a.expressionTypeNames.group: + return new _.default.variables.ArchVariableGroup(e3); + case a.expressionTypeNames.group + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableGroupCollection(e3); + case a.expressionTypeNames.image: + return new _.default.variables.ArchVariableImage(e3); + case a.expressionTypeNames.image + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableImageCollection(e3); + case a.expressionTypeNames.integer: + return new _.default.variables.ArchVariableInteger(e3); + case a.expressionTypeNames.integer + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableIntegerCollection(e3); + case a.expressionTypeNames.languageSkill: + return new _.default.variables.ArchVariableLanguageSkill(e3); + case a.expressionTypeNames.languageSkill + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableLanguageSkillCollection(e3); + case a.expressionTypeNames.lineItem: + return new _.default.variables.ArchVariableLineItem(e3); + case a.expressionTypeNames.lineItem + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableLineItemCollection(e3); + case a.expressionTypeNames.journeyOutcome: + return new _.default.variables.ArchVariableJourneyOutcome(e3); + case a.expressionTypeNames.journeyOutcome + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableJourneyOutcomeCollection(e3); + case a.expressionTypeNames.journeyOutcomeScore: + return new _.default.variables.ArchVariableJourneyOutcomeScore(e3); + case a.expressionTypeNames.journeyOutcomeScore + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableJourneyOutcomeScoreCollection(e3); + case a.expressionTypeNames.journeySegment: + return new _.default.variables.ArchVariableJourneySegment(e3); + case a.expressionTypeNames.journeySegment + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableJourneySegmentCollection(e3); + case a.expressionTypeNames.journeySession: + return new _.default.variables.ArchVariableJourneySession(e3); + case a.expressionTypeNames.journeySession + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableJourneySessionCollection(e3); + case a.expressionTypeNames.json: + return new _.default.variables.ArchVariableJson(e3); + case a.expressionTypeNames.json + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableJsonCollection(e3); + case a.expressionTypeNames.knowledgeBaseDocument: + return new _.default.variables.ArchVariableKnowledgeBaseDocument(e3); + case a.expressionTypeNames.knowledgeBaseDocument + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableKnowledgeBaseDocumentCollection(e3); + case a.expressionTypeNames.listPicker: + return new _.default.variables.ArchVariableListPicker(e3); + case a.expressionTypeNames.listPickerItem: + return new _.default.variables.ArchVariableListPickerItem(e3); + case a.expressionTypeNames.listPickerItem + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableListPickerItemCollection(e3); + case a.expressionTypeNames.listPickerSection: + return new _.default.variables.ArchVariableListPickerSection(e3); + case a.expressionTypeNames.listPickerSection + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableListPickerSectionCollection(e3); + case a.expressionTypeNames.phoneNumber: + return new _.default.variables.ArchVariablePhoneNumber(e3); + case a.expressionTypeNames.phoneNumber + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariablePhoneNumberCollection(e3); + case a.expressionTypeNames.queue: + return new _.default.variables.ArchVariableQueue(e3); + case a.expressionTypeNames.queue + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableQueueCollection(e3); + case a.expressionTypeNames.quickReplies: + return new _.default.variables.ArchVariableQuickReplies(e3); + case a.expressionTypeNames.prompt: + return new _.default.variables.ArchVariablePrompt(e3); + case a.expressionTypeNames.prompt + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariablePromptCollection(e3); + case a.expressionTypeNames.responseAsset: + return new _.default.variables.ArchVariableResponseAsset(e3); + case a.expressionTypeNames.responseAsset + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableResponseAssetCollection(e3); + case a.expressionTypeNames.schedule: + return new _.default.variables.ArchVariableSchedule(e3); + case a.expressionTypeNames.schedule + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableScheduleCollection(e3); + case a.expressionTypeNames.scheduleGroup: + return new _.default.variables.ArchVariableScheduleGroup(e3); + case a.expressionTypeNames.scheduleGroup + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableScheduleGroupCollection(e3); + case a.expressionTypeNames.shippingOption: + return new _.default.variables.ArchVariableShippingOption(e3); + case a.expressionTypeNames.shippingOption + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableShippingOptionCollection(e3); + case a.expressionTypeNames.skill: + return new _.default.variables.ArchVariableSkill(e3); + case a.expressionTypeNames.skill + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableSkillCollection(e3); + case a.expressionTypeNames.string: + return new _.default.variables.ArchVariableString(e3); + case a.expressionTypeNames.string + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableStringCollection(e3); + case a.expressionTypeNames.surveyAnswerOption: + return new _.default.variables.ArchVariableSurveyAnswerOption(e3); + case a.expressionTypeNames.surveyAnswerOption + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableSurveyAnswerOptionCollection(e3); + case a.expressionTypeNames.surveyQuestion: + return new _.default.variables.ArchVariableSurveyQuestion(e3); + case a.expressionTypeNames.surveyQuestion + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableSurveyQuestionCollection(e3); + case a.expressionTypeNames.surveyQuestionGroup: + return new _.default.variables.ArchVariableSurveyQuestionGroup(e3); + case a.expressionTypeNames.surveyQuestionGroup + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableSurveyQuestionGroupCollection(e3); + case a.expressionTypeNames.surveyForm: + return new _.default.variables.ArchVariableSurveyForm(e3); + case a.expressionTypeNames.time: + return new _.default.variables.ArchVariableTime(e3); + case a.expressionTypeNames.time + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableTimeCollection(e3); + case a.expressionTypeNames.timePicker: + return new _.default.variables.ArchVariableTimePicker(e3); + case a.expressionTypeNames.timeslot: + return new _.default.variables.ArchVariableTimeslot(e3); + case a.expressionTypeNames.timeslot + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableTimeslotCollection(e3); + case a.expressionTypeNames.userQueue: + return new _.default.variables.ArchVariableUser(e3); + case a.expressionTypeNames.userQueue + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableUserCollection(e3); + case a.expressionTypeNames.utilizationLabel: + return new _.default.variables.ArchVariableUtilizationLabel(e3); + case a.expressionTypeNames.utilizationLabel + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableUtilizationLabelCollection(e3); + case a.expressionTypeNames.video: + return new _.default.variables.ArchVariableVideo(e3); + case a.expressionTypeNames.video + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableVideoCollection(e3); + case a.expressionTypeNames.voiceSnippet: + return new _.default.variables.ArchVariableVoiceSnippet(e3); + case a.expressionTypeNames.wheelPicker: + return new _.default.variables.ArchVariableWheelPicker(e3); + case a.expressionTypeNames.wheelPickerItem: + return new _.default.variables.ArchVariableWheelPickerItem(e3); + case a.expressionTypeNames.wheelPickerItem + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableWheelPickerItemCollection(e3); + case a.expressionTypeNames.workbin: + return new _.default.variables.ArchVariableWorkbin(e3); + case a.expressionTypeNames.workbin + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableWorkbinCollection(e3); + case a.expressionTypeNames.workitem: + return new _.default.variables.ArchVariableWorkitem(e3); + case a.expressionTypeNames.worktypeStatus: + return new _.default.variables.ArchVariableWorktypeStatus(e3); + case a.expressionTypeNames.worktypeStatus + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableWorktypeStatusCollection(e3); + case a.expressionTypeNames.wrapupCode: + return new _.default.variables.ArchVariableWrapupCode(e3); + case a.expressionTypeNames.wrapupCode + r.default.exprDataTypeSuffixCollection: + return new _.default.variables.ArchVariableWrapupCodeCollection(e3); + } + this._itemIsInvalid(t3, "the core coreVariable's expression type of '" + e3.type.expressionType + "' is not supported by this method."); + } + createArchVariableSettings(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("archBaseVariable", "createArchVariableSettings"), e3), new _.default.variables.ArchVariableSettings(e3); + } + createArchBaseValueContainer(e3) { + const t3 = this._infoParm("coreExpressionContainer", "createArchBaseValueContainer"); + 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), d.default.archLanguages.getByLanguageTag(e3); + } + createArchSpeechRecTermContainer(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechRecTermContainerViewModel", "createArchSpeechRecTermContainer"), e3), new _.default.speechRec.ArchSpeechRecTermContainer(e3); + } + createArchSpeechRecTermContainers(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechRecViewModel", "createArchSpeechRecTermContainers"), e3), new _.default.speechRec.ArchSpeechRecTermContainers(e3); + } + createArchState(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreStateViewModel", "createArchState"), e3), new _.default.tasks.ArchState(e3); + } + createArchStateBot(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreBotStateViewModel", "createArchStateBot"), e3), new _.default.tasks.ArchStateBot(e3); + } + createArchBranch(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreBranchInfoViewModel", "createArchBranch"), e3), new _.default.outputs.ArchBranch(e3); + } + createArchTask(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreTaskViewModel", "createArchTask"), e3), e3.isLoopTaskViewModel ? new _.default.tasks.ArchTaskLoop(e3) : e3.isCommonModuleTaskViewModel ? new _.default.tasks.ArchTaskCommonModule(e3) : new _.default.tasks.ArchTask(e3); + } + createArchSettingsNluDynamicSlotType(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreDynamicSlotTypeViewModel", "createArchSettingsNluDynamicSlotType"), e3), new _.default.settings.ArchSettingsNluDynamicSlotType(e3); + } + createArchSettingsNluDynamicTimeslotType(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreDynamicTimeslotTypeViewModel", "createArchSettingsNluDynamicTimeslotType"), e3), new _.default.settings.ArchSettingsNluDynamicTimeslotType(e3); + } + createArchSettingsNluIntent(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreIntentSettingsViewModel", "createArchSettingsNluIntent"), e3), new _.default.settings.ArchSettingsNluIntent(e3); + } + createArchSettingsDetectionJobIntent(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreDetectionJobIntentSettingsViewModel", "createArchSettingsDetectionJobIntent"), e3), new _.default.settings.ArchSettingsDetectionJobIntent(e3); + } + createArchSettingsNluSlot(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreSlotSettingsViewModel", "createArchSettingsNluSlot"), e3), new _.default.settings.ArchSettingsNluSlot(e3); + } + createArchSettingsNluKnowledge(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreKnowledgeSettingsViewModel", "createArchSettingsNluKnowledge"), e3), new _.default.settings.ArchSettingsNluKnowledge(e3); + } + createArchSettingsNluVirtualAgent(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreVirtualAgentSettingsViewModel", "createArchSettingsNluVirtualAgent"), e3), new _.default.settings.ArchSettingsNluVirtualAgent(e3); + } + createArchSettingsSupportedLanguage(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreLanguageOptions", "createArchSettingsSupportedLanguage"), e3), new _.default.settings.ArchSettingsSupportedLanguage(e3); + } + createArchSettingsSupportedLanguages(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreLanguageOptions", "createArchSettingsSupportedLanguages"), e3), new _.default.settings.ArchSettingsSupportedLanguagesFlow(e3); + } + createArchActionOutput(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreActionPathViewModel", "createArchActionOutput"), e3), new _.default.outputs.ArchActionOutput(e3); + } + createArchValidationResults(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreValidationResults", "createArchValidationResults"), e3), new _.default.validation.ArchValidationResults(e3); + } + createArchSpeechToTextEngine(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreSpeechToTextEngine", "createArchSpeechToTextEngine"), e3), new _.default.speechToText.ArchSpeechToTextEngine(e3); + } + createArchTtsEngine(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreTtsEngine", "createArchTtsEngine"), e3), new _.default.textToSpeech.ArchTtsEngine(e3); + } + createArchTtsVoice(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreTtsVoice", "createArchTtsVoice"), e3), new _.default.textToSpeech.ArchTtsVoice(e3); + } + createArchSettingsActionDefaults(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreDefaultActionSettingsNode", "createArchSettingsActionDefaults"), e3), new _.default.settings.ArchSettingsActionDefaults(e3); + } + createArchSettingsUserInput(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("coreUserInputSettingsNode", "createArchSettingsUserInputs"), e3), new _.default.settings.ArchSettingsUserInput(e3); + } + createArchSettingActionPropertyDefault(e3, t3, i3) { + this._checkItemIsArchDefinitionAction(this._infoParm("archDefinitionAction", "createArchSettingActionPropertyDefault"), e3), this._checkItemIsValidLiteralString(this._infoParm("propertyName", "createArchSettingActionPropertyDefault"), t3), this._checkItemUndefinedOrNull(this._infoParm("coreExpression", "createArchSettingActionPropertyDefault"), i3); + const n3 = this.createArchWrapper(i3); + return new _.default.settings.ArchSettingActionPropertyDefault(e3, t3, n3); + } + createArchBaseNameValuePair(e3) { + return this._checkItemUndefinedOrNull(this._infoParm("nameValuePairViewModel", "createArchBaseNameValuePair"), e3), new _.default.baseClasses.ArchBaseNameValuePair(e3); + } + } + t2.ArchCoreFactory = h, t2.default = new h(); + }, 4381(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryActions = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(30801)), a = n2.__importDefault(i2(84783)), s = n2.__importDefault(i2(38689)), l = n2.__importDefault(i2(78432)); + class u extends a.default { + get displayTypeName() { + return "ArchFactoryActions"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryActions"]); + } + get isArchFactoryActions() { + return true; + } + addActionToActionContainer(e3, t3, i3, n3, a2) { + 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 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 o.default.isString(n3) && n3.length && (d.name = n3), d.info.id === r.transferVoicemailActionType && d.setOpenedBefore(), d; + } + logAdd(e3, t3) { + return this.logNote(`added ${t3.logStr} to action container ${e3.logStr}`), t3; + } + addActionAndLog(e3, t3, i3, n3, o2) { + const r2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, t3, i3, n3, o2)); + return this.logAdd(e3, r2), r2; + } + configureTransferAction(e3, t3, i3, n3) { + return this._checkItemIsValidLiteralString(this._infoParm("preTransferAudioTTS", n3), i3, true), o.default.isString(i3) && t3.preTransferAudio.setDefaultCaseExpressionToAudioTTS(i3), this.logAdd(e3, t3); + } + addActionAddFlowMilestone(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.addFlowMilestoneActionType, t3, "addActionAddFlowMilestone"); + } + addActionCallData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.dataActionActionType, t3, "addActionCallData"); + } + addActionDataTableLookup(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.dataTableLookupActionType, t3, "addActionDataTableLookup"); + } + addActionCallDataSecure(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.secureActionActionType, t3, "addActionCallDataSecure"); + } + addActionCallDialogEngineBot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.dialogEngineActionType, t3, "addActionCallDialogEngineBot"); + } + addActionCallDialogflowBot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.dialogflowActionType, t3, "addActionCallDialogflowBot"); + } + addActionCallDialogflowCxBot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.dialogflowCxActionType, t3, "addActionCallDialogflowCxBot"); + } + addActionCallLexBot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.lexActionType, t3, "addActionCallLexBot"); + } + addActionCallBotConnector(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.botConnectorActionType, t3, "addActionCallBotConnector"); + } + addActionCallLexV2Bot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.lexV2ActionType, t3, "addActionCallLexV2Bot"); + } + addActionCallNuanceMixBot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.nuanceMixActionType, t3, "addActionCallNuanceMixBot"); + } + addActionClearActiveIntent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.clearActiveIntentActionType, t3, "addActionClearActiveIntent"); + } + addActionClearPostFlow(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.clearPostFlowActionType, t3, "addActionClearPostFlow"); + } + addActionClearSlot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.clearSlotActionType, t3, "addActionClearSlot"); + } + addActionClearUtilizationLabel(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.clearUtilizationLabelActionType, t3, "addActionClearUtilizationLabel"); + } + addActionCollectInput(e3, t3, i3, n3, a2, s2, l2) { + this._checkItemIsValidLiteralString(this._infoParm("name", "addActionCollectInput"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("inputAudioTTS", "addActionCollectInput"), i3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("inputVariable", "addActionCollectInput"), n3, true), this._checkItemIsValidLiteralInt(this._infoParm("interDigitTimeoutMS", "addActionCollectInput"), a2, true), this._checkItemIsValidLiteralInt(this._infoParm("noEntryTimeoutMS", "addActionCollectInput"), s2, true); + const u2 = this.addActionAndLog(e3, l2, r.collectInputActionType, t3, "addActionCollectInput"); + return o.default.isString(i3) && u2.inputAudio.setDefaultCaseExpressionToAudioTTS(i3), n3 && u2.setInputDataVariable(n3), o.default.isActualNumber(a2) && u2.interDigitTimeout.setLiteralMs(a2), o.default.isActualNumber(s2) && u2.noEntryTimeout.setLiteralMs(s2), u2; + } + addActionClearVoicemailSnippet(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.clearVoicemailSnippetActionType, t3, "addActionClearVoicemailSnippet"); + } + addActionCollectVoiceSnippet(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.collectVoiceSnippetActionType, t3, "addActionCollectVoiceSnippet"); + } + addActionCommunicate(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("communicationExpression", "addActionCommunicate"), i3, true); + const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.communicateActionType, t3, "addActionCommunicate")); + return o.default.isString(i3) && a2.communication.setExpression(i3), this.logAdd(e3, a2); + } + addActionCreateCallback(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.createCallbackActionType, t3, "addActionCreateCallback"); + } + addActionCreateConversationAttribute(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.createConversationAttributeActionType, t3, "addActionCreateConversationAttribute"); + } + addActionDecision(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("conditionExpression", "addActionDecision"), i3, true); + const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.decisionActionType, t3, "addActionDecision")); + return o.default.isString(i3) && a2.condition.setExpression(i3), this.logAdd(e3, a2); + } + addActionCallDecisionTable(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callDecisionTableActionType, t3, "addActionCallDecisionTable"); + } + addActionDecryptData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.decryptDataActionType, t3, "addActionDecryptData"); + } + addActionDeflect(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.deflectActionType, t3, "addActionDeflect"); + } + 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 c = s.default.createArchWrapper(this.addActionToActionContainer(e3, u2, r.dialExtensionActionType, t3, "addActionDialByExtension")); + return i3 && c.extensionVariable.setVariable(i3), o.default.isString(n3) && c.repromptAudio.setDefaultCaseLiteralTTS(n3), void 0 !== a2 && (this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addActionDialByExtension"), a2), c.repromptCount.setLiteralInt(a2)), o.default.isActualNumber(l2) && c.interDigitTimeout.setLiteralMs(l2), this.logAdd(e3, c); + } + addActionDisconnect(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.disconnectActionType, t3, "addActionDisconnect"); + } + addActionDisconnectWorkitem(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.disconnectWorkitemActionType, t3, "addActionDisconnectWorkitem"); + } + addActionEnableParticipantRecord(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.participantRecordActionType, t3, "addActionEnableParticipantRecord"); + } + addActionEncryptData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.encryptDataActionType, t3, "addActionEncryptData"); + } + addActionEndBusinessProcess(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.endBusinessProcessActionType, t3, "addActionEndBusinessProcess"); + } + addActionEndWorkflow(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.endWorkflowActionType, t3, "addActionEndWorkflow"); + } + addActionReturnToAgent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.returnToAgentActionType, t3, "addActionReturnToAgent"); + } + addActionEvaluateSchedule(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.evaluateScheduleActionType, t3, "addActionEvaluateSchedule"); + } + addActionEvaluateScheduleGroup(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.evaluateScheduleGroupActionType, t3, "addActionEvaluateScheduleGroup"); + } + addActionEvaluateSkillExpressionFilters(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.evaluateSkillExpressionFiltersActionType, t3, "addActionEvaluateSkillExpressionFilters"); + } + addActionAbortSurveyInvite(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.abortSurveyActionType, t3, "addActionAbortSurveyInvite"); + } + addActionAbortSend(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.abortSendActionType, t3, "addActionAbortSend"); + } + addActionCompleteSend(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.completeSendActionType, t3, "addActionCompleteSend"); + } + addActionCompleteSurveyInvite(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.completeSurveyActionType, t3, "addActionCompleteSurveyInvite"); + } + addActionDetectIntent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.detectIntentActionType, t3, "addActionDetectIntent"); + } + addActionDetectSilence(e3, t3, i3) { + const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, r.detectSilenceActionType, t3, "addActionDetectSilence")); + return this.logAdd(e3, n3); + } + addActionExtractSecureData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.extractSecureDataActionType, t3, "addActionExtractSecureData"); + } + addActionExitBotFlow(e3, t3, i3) { + return s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, r.exitBotFlowActionType, t3, "addActionExitBotFlow")); + } + addActionExitWorkitemFlow(e3, t3, i3) { + return s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, r.exitWorkitemFlowActionType, t3, "addActionExitWorkitemFlow")); + } + addActionFindDivision(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findDivisionActionType, t3, "addActionFindDivision"); + } + addActionFindDivisions(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findDivisionsActionType, t3, "addActionFindDivisions"); + } + addActionFindEmergencyGroup(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findEmergencyGroupActionType, t3, "addActionFindEmergencyGroup"); + } + addActionFindGrammar(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findGrammarActionType, t3, "addActionFindGrammar"); + } + addActionFindGrammarById(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findGrammarByIdActionType, t3, "addActionFindGrammarById"); + } + addActionFindGroup(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findGroupActionType, t3, "addActionFindGroup"); + } + addActionFindKnowledgeBaseDocumentById(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findKnowledgeBaseDocumentByIdActionType, t3, "addActionFindKnowledgeBaseDocumentById"); + } + addActionFindLanguageSkill(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findLanguageSkillActionType, t3, "addActionFindLanguageSkill"); + } + addActionFindQueue(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findQueueActionType, t3, "addActionFindQueue"); + } + addActionFindQueueById(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findQueueByIdActionType, t3, "addActionFindQueueById"); + } + addActionFindSchedule(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findScheduleActionType, t3, "addActionFindSchedule"); + } + addActionFindScheduleGroup(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findScheduleGroupActionType, t3, "addActionFindScheduleGroup"); + } + addActionFindSkill(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findSkillActionType, t3, "addActionFindSkill"); + } + addActionFindSystemPrompt(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findSystemPromptActionType, t3, "addActionFindSystemPrompt"); + } + addActionFindUserPrompt(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findUserPromptActionType, t3, "addActionFindUserPrompt"); + } + addActionFindUser(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findUserActionType, t3, "addActionFindUser"); + } + addActionFindUserById(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findUserByIdActionType, t3, "addActionFindUserById"); + } + addActionFindUsersById(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findUsersByIdActionType, t3, "addActionFindUsersById"); + } + addActionFindUtilizationLabel(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.findUtilizationLabelActionType, t3, "addActionFindUtilizationLabel"); + } + addActionFlushAudio(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.flushAudioActionType, t3, "addActionFlushAudio"); + } + addActionForm(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.formActionType, t3, "addActionForm"); + } + addActionGetAssignedCustomerIntents(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getAssignedCustomerIntentsActionType, t3, "addActionGetAssignedCustomerIntents"); + } + addActionGetAssignedCustomerSegments(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getAssignedCustomerSegmentsActionType, t3, "addActionGetAssignedCustomerSegments"); + } + addActionGetConversationAttribute(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getConversationAttributeActionType, t3, "addActionGetConversationAttribute"); + } + addActionGetConversationAttributes(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getConversationAttributesActionType, t3, "addActionGetConversationAttributes"); + } + addActionGetConversationData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getConversationDataActionType, t3, "addActionGetConversationData"); + } + addActionGetExternalContact(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getExternalContactActionType, t3, "addActionGetExternalContact"); + } + addActionGetExternalOrganization(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getExternalOrganizationActionType, t3, "addActionGetExternalOrganization"); + } + addActionGetRawSIPHeaders(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getRawSIPHeadersActionType, t3, "addActionGetRawSIPHeaders"); + } + addActionGetEmailHeaders(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getEmailHeadersActionType, t3, "addActionGetEmailHeaders"); + } + addActionGetSIPHeaders(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getSIPHeadersActionType, t3, "addActionGetSIPHeaders"); + } + addActionGetJourneyOutcome(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getJourneyOutcomeActionType, t3, "addActionGetJourneyOutcome"); + } + addActionGetJourneyOutcomeScoresBySession(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getJourneyOutcomeScoresBySessionActionType, t3, "addActionGetJourneyOutcomeScoresBySession"); + } + addActionGetJourneySegment(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getJourneySegmentActionType, t3, "addActionGetJourneySegment"); + } + addActionGetJourneySession(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getJourneySessionActionType, t3, "addActionGetJourneySession"); + } + addActionGetJourneySessionsByExternalContact(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getJourneySessionsByExternalContactActionType, t3, "addActionGetJourneySessionsByExternalContact"); + } + addActionGetParticipantData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getAttributesActionType, t3, "addActionGetParticipantData"); + } + addActionGetResponse(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getResponseActionType, t3, "addActionGetResponse"); + } + addActionGetSecuredData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.getSecuredDataActionType, t3, "addActionGetSecuredData"); + } + addActionLoop(e3, t3, i3, n3, a2) { + this._checkItemIsValidLiteralString(this._infoParm("loopCountExpression", "addActionLoop"), n3, true); + const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, r.loopActionType, t3, "addActionLoop")); + return i3 && l2.currentIndex.setVariable(i3), o.default.isString(n3) && l2.loopCount.setExpression(n3), this.logAdd(e3, l2); + } + addActionLoopAnythingElse(e3, t3, i3) { + const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, r.askForNLUNextIntentActionActionType, t3, "addActionLoopAnythingElse")); + return this.logAdd(e3, n3); + } + addActionLoopUntil(e3, t3, i3, n3, a2) { + this._checkItemIsValidLiteralString(this._infoParm("loopCountExpression", "addActionLoopUntil"), n3, true); + const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, r.loopUntilActionType, t3, "addActionLoopUntil")); + return i3 && l2.currentIndex.setVariable(i3), o.default.isString(n3) && l2.maxLoopCount.setExpression(n3), this.logAdd(e3, l2); + } + addActionLoopExit(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.exitLoopActionType, t3, "addActionLoopExit"); + } + addActionLoopNext(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.nextLoopActionType, t3, "addActionLoopNext"); + } + addActionJumpToMenu(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferMenuActionType, t3, "addActionJumpToMenu")); + return i3 && (o2.targetMenu = i3), this.logAdd(e3, o2); + } + addActionPreviousMenu(e3, t3, i3) { + const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, r.previousMenuActionType, t3, "addActionPreviousMenu")); + return this.logAdd(e3, n3); + } + addActionProcessVoicemailInput(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.processVoicemailInputActionType, t3, "addActionProcessVoicemailInput"); + } + addActionJumpToTask(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferTaskActionType, t3, "addActionJumpToTask")); + return i3 && (o2.targetTask = i3), this.logAdd(e3, o2); + } + addActionPlayAudio(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("defaultAudioTTS", "addActionPlayAudio"), i3, true); + const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.playAudioActionType, t3, "addActionPlayAudio")); + return o.default.isString(i3) && a2.audio.setDefaultCaseLiteralTTS(i3), this.logAdd(e3, a2); + } + addActionHoldMusic(e3, t3, i3, n3, o2) { + const a2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, o2, r.holdMusicActionType, t3, "addActionHoldMusic")); + return i3 && (this._checkItemIsValidLiteralStringEnum(this._infoParm("playStyle", "addActionHoldMusic"), i3, l.default.HOLD_MUSIC_PLAY_STYLES_ALL), a2.playStyle = i3), n3 && (this._checkItemIsValidLiteralString(this._infoParm("durationExpression", "addActionHoldMusic"), n3), a2.playDuration.setExpression(n3)), this.logAdd(e3, a2); + } + addActionPlayEstimatedWaitTime(e3, t3, i3, n3, a2) { + this._checkItemIsValidLiteralString(this._infoParm("playbackMode", "addActionPlayEstimatedWaitTime"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("estimatedWaitTimeExpression", "addActionPlayEstimatedWaitTime"), n3, true); + const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, r.playEstimatedWaitTimeActionType, t3, "addActionPlayEstimatedWaitTime")); + return o.default.isString(i3) && (l2.playbackMode = i3), o.default.isString(n3) && l2.estimatedWaitTime.setExpression(n3), this.logAdd(e3, l2); + } + addActionPlayAudioOnSilence(e3, t3, i3) { + const n3 = s.default.createArchWrapper(this.addActionToActionContainer(e3, i3, r.playAudioOnSilenceActionType, t3, "addActionPlayAudioOnSilence")); + return this.logAdd(e3, n3); + } + addActionPlayPositionInQueue(e3, t3, i3, n3, a2) { + this._checkItemIsValidLiteralString(this._infoParm("playbackMode", "addActionPlayPositionInQueue"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("positionExpression", "addActionPlayPositionInQueue"), n3, true); + const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, r.playPositionInQueueActionType, t3, "addActionPlayPositionInQueue")); + return o.default.isString(i3) && (l2.playbackMode = i3), o.default.isString(n3) && l2.positionInQueue.setExpression(n3), this.logAdd(e3, l2); + } + addActionPlayUserGreeting(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.playUserGreetingActionType, t3, "addActionPlayUserGreeting"); + } + addActionPlayUserName(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.playUserNameActionType, t3, "addActionPlayUserName"); + } + addActionPromoteExternalContact(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.promoteExternalContactActionType, t3, "addActionPromoteExternalContact"); + } + addActionSearchExternalContacts(e3, t3, i3) { + return this._checkItemIsValidLiteralString(this._infoParm("name", "addActionSearchExternalContacts"), t3, true), this.addActionAndLog(e3, i3, r.searchExternalContactsActionType, t3, "addActionSearchExternalContacts"); + } + 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 c = this.addActionAndLog(e3, u2, r.sendAutoReplyActionType, t3, "addActionSendAutoReply"); + return o.default.isString(i3) && c.from.setExpression(i3), o.default.isString(n3) && c.replyTo.setExpression(n3), o.default.isString(a2) && c.cc.setExpression(a2), o.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, r.sendDigitalContentActionType, t3, "addActionSendDigitalContent"))); + } + addActionSendInteractiveApplication(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.sendInteractiveApplicationActionActionType, t3, "addActionSendInteractiveApplication"); + } + addActionSendKnowledgeFeedback(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.sendKnowledgeFeedbackActionActionType, t3, "addActionSendKnowledgeFeedback"); + } + addActionSendNotification(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.sendNotificationActionType, t3, "addActionSendNotification"); + } + addActionSendResponse(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("messageBody", "addActionSendResponse"), i3, true); + const a2 = this.addActionAndLog(e3, n3, r.sendResponseActionType, t3, "addActionSendResponse"); + return o.default.isString(i3) && a2.messageBody.setExpression(i3), a2; + } + addActionSendRichLink(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.sendRichLinkActionType, t3, "addActionSendRichLink"); + } + addActionSetConversationData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setConversationDataActionType, t3, "addActionSetConversationData"); + } + addActionSetExternalTag(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("externalTagExpression", "addActionSetExternalTag"), i3, true); + const a2 = this.addActionAndLog(e3, n3, r.setExternalTagActionType, t3, "addActionSetExternalTag"); + return o.default.isString(i3) && a2.externalTag.setExpression(i3), a2; + } + addActionSetIntent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setActiveIntentActionType, t3, "addActionSetIntent"); + } + addActionSetLanguage(e3, t3, i3, n3) { + const o2 = this.addActionAndLog(e3, n3, r.setLocaleActionType, t3, "addActionSetLanguage"); + return i3 && (o2.language = i3), o2; + } + addActionSetParticipantData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setAttributesActionType, t3, "addActionSetParticipantData"); + } + addActionSetPostFlow(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setPostFlowActionType, t3, "addActionSetPostFlow"); + } + addActionSetPriority(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setPriorityActionType, t3, "addActionSetPriority"); + } + addActionSetScreenPop(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.screenPopActionType, t3, "addActionSetScreenPop"); + } + addActionSetSecuredData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setSecuredDataActionType, t3, "addActionSetSecuredData"); + } + addActionSetSkillExpressionFilters(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setSkillExpressionFiltersActionType, t3, "addActionSetSkillExpressionFilters"); + } + addActionSetSkills(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setSkillsActionType, t3, "addActionSetSkills"); + } + addActionClearSkillExpressionFilters(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.clearSkillExpressionFiltersActionType, t3, "addActionClearSkillExpressionFilters"); + } + addActionSetUtilizationLabel(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setUtilizationLabelActionType, t3, "addActionSetUtilizationLabel"); + } + addActionSetUUIData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setUUIDataActionType, t3, "addActionSetUUIData"); + } + addActionSetWrapupCode(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setWrapupCodeActionType, t3, "addActionSetWrapupCode"); + } + addActionSubmitVoicemailSnippet(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.submitVoicemailSnippetActionType, t3, "addActionSubmitVoicemailSnippet"); + } + addActionSubmitVoiceSnippet(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.submitVoiceSnippetActionType, t3, "addActionSubmitVoiceSnippet"); + } + addActionSwitch(e3, t3, i3, n3, a2) { + this._checkItemIsValidLiteralString(this._infoParm("switchExpression", "addActionSwitch"), i3, true); + const s2 = this.addActionAndLog(e3, a2, r.switchActionActionType, t3, "addActionSwitch"); + return o.default.isString(i3) && i3.length && s2.setExpressionSwitch(i3, n3), s2; + } + addActionSetWhisperAudio(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("audioExpression", "addActionSetWhisperAudio"), i3, true); + const a2 = this.addActionAndLog(e3, n3, r.setWhisperAudioActionType, t3, "addActionSetWhisperAudio"); + return o.default.isString(i3) && a2.whisperAudio.setExpression(i3), a2; + } + addActionTerminateWorkitem(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.terminateWorkitemActionType, t3, "addActionTerminateWorkitem"); + } + addActionTranscription(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.transcriptionActionType, t3, "addActionTranscription"); + } + addActionTransferToAcd(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferPureMatchActionType, t3, "addActionTransferToAcd")); + return this.configureTransferAction(e3, o2, i3, "addActionTransferToAcd"); + } + addActionTransferToFlow(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferFlowActionType, t3, "addActionTransferToFlow")); + return this.configureTransferAction(e3, o2, i3, "addActionTransferToFlow"); + } + addActionTransferToFlowSecure(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferFlowSecureActionType, t3, "addActionTransferToFlowSecure")); + return this.configureTransferAction(e3, o2, i3, "addActionTransferToFlowSecure"); + } + addActionTransferToGroup(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferGroupActionType, t3, "addActionTransferToGroup")); + return this.configureTransferAction(e3, o2, i3, "addActionTransferToGroup"); + } + addActionTransferToNumber(e3, t3, i3, n3, a2) { + this._checkItemIsValidLiteralString(this._infoParm("number", "addActionTransferToNumber"), n3, true); + const l2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, a2, r.transferExternalActionType, t3, "addActionTransferToNumber")); + return o.default.isString(n3) && l2.targetNumber.setLiteralString(n3), this.configureTransferAction(e3, l2, i3, "addActionTransferToNumber"); + } + addActionTransferToUser(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferUserActionType, t3, "addActionTransferToUser")); + return this.configureTransferAction(e3, o2, i3, "addActionTransferToUser"); + } + addActionTransferToVoicemail(e3, t3, i3, n3) { + const o2 = s.default.createArchWrapper(this.addActionToActionContainer(e3, n3, r.transferVoicemailActionType, t3, "addActionTransferToVoicemail")); + return this.configureTransferAction(e3, o2, i3, "addActionTransferToVoicemail"); + } + addActionUpdateConversationAttribute(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.updateConversationAttributeActionType, t3, "addActionUpdateConversationAttribute"); + } + addActionUpdateData(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.updateVariableActionType, t3, "addActionUpdateData"); + } + addActionUpdateExternalContact(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.updateExternalContactActionType, t3, "addActionUpdateExternalContact"); + } + addActionUpdateWorkitem(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.updateWorkitemActionType, t3, "addActionUpdateWorkitem"); + } + addActionAskForAuthentication(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.askForAuthenticationActionType, t3, "addActionAskForAuthentication"); + } + addActionAskForBoolean(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.askForBooleanActionType, t3, "addActionAskForBoolean"); + } + addActionAskForIntent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.askForNLUIntentActionType, t3, "addActionAskForIntent"); + } + addActionAskForSlot(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.askForSlotActionType, t3, "addActionAskForSlot"); + } + addActionAskForPayment(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.askForPaymentActionType, t3, "addActionAskForPayment"); + } + addActionAskSurveyQuestion(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.askSurveyQuestionActionType, t3, "addActionAskSurveyQuestion"); + } + addActionAgenticAnythingElse(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.agenticAnythingElseActionType, t3, "addActionAgenticAnythingElse"); + } + addActionAgenticAskForIntent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.agenticAskForIntentActionType, t3, "addActionAgenticAskForIntent"); + } + addActionAssignCustomerSegment(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.assignCustomerSegmentActionType, t3, "addActionAssignCustomerSegment"); + } + addActionCallAgenticVirtualAgent(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callAgenticVirtualAgentActionType, t3, "addActionCallAgenticVirtualAgent"); + } + addActionAudioMonitoring(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.audioMonitoringActionType, t3, "addActionAudioMonitoring"); + } + addActionCallAudioConnector(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callAudioConnectorActionType, t3, "addActionCallAudioConnector"); + } + addActionCallBotFlow(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callBotFlowActionType, t3, "addActionCallBotFlow"); + } + addActionCallGuide(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callGuideActionType, t3, "addActionCallGuide"); + } + addActionCallVoiceFlow(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callVoiceFlowActionType, t3, "addActionCallVoiceFlow"); + } + addActionCallDigitalConnector(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.digitalBotConnectorActionType, t3, "addActionCallDigitalConnector"); + } + addActionCallDigitalBotFlow(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callDigitalBotFlowActionType, t3, "addActionCallDigitalBotFlow"); + } + addActionChangeState(e3, t3, i3, n3) { + const o2 = this.addActionAndLog(e3, n3, r.changeStateActionType, t3, "addActionChangeState"); + return i3 && (o2.targetState = i3), o2; + } + addActionCallCommonModule(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.callCommonModuleActionType, t3, "addActionCallCommonModule"); + } + addActionCallTask(e3, t3, i3, n3) { + const o2 = this.addActionAndLog(e3, n3, r.callTaskActionType, t3, "addActionCallTask"); + return i3 && (this._checkItem(this._infoParm("targetTask", "addActionCallTask"), !i3.isArchTask, "The parameter value must be an ArchTask instance."), o2.targetTask = i3), o2; + } + addActionDigitalMenu(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.digitalMenuActionType, t3, "addActionDigitalMenu"); + } + addActionEndTask(e3, t3, i3, n3) { + const o2 = this.addActionAndLog(e3, n3, r.endTaskActionType, t3, "addActionEndTask"); + return i3 && (this._checkItem(this._infoParm("targetBranch", "addActionEndTask"), !i3.isArchBranch, "The parameter value must be an ArchBranch instance."), o2.targetBranch = i3), o2; + } + addActionEndState(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.endStateActionType, t3, "addActionEndState"); + } + addActionSetFlowOutcome(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.setFlowOutcomeActionType, t3, "addActionSetFlowOutcome"); + } + addActionWait(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("durationExpression", "addActionWait"), i3, true); + const a2 = this.addActionAndLog(e3, n3, r.waitActionType, t3, "addActionWait"); + return o.default.isString(i3) && a2.duration.setExpression(i3), a2; + } + addActionWaitForInput(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.waitForInputActionType, t3, "addActionWaitForInput"); + } + addActionInitializeFlowOutcome(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.initializeFlowOutcomeActionType, t3, "addActionInitializeFlowOutcome"); + } + addActionFromDefinition(e3, t3, i3, n3) { + const o2 = this._infoParm("archDefinitionAction", "addActionFromDefinition"); + return this._checkItemIsArchDefinitionAction(o2, e3), this._checkItem(o2, !e3.canCreateFromDefinition, `instances of '${e3.label}' actions are not creatable from an action definition. The action definition has a canCreateFromDefinition property you can check before trying to create an instance of it.`), this.addActionAndLog(t3, n3, e3._coreTypeId, i3, "addActionFromDefinition"); + } + addActionShowKnowledgeArticle(e3, t3, i3) { + return this.addActionAndLog(e3, i3, r.showKnowledgeArticleActionActionType, t3, "addActionShowKnowledgeArticle"); + } + } + t2.ArchFactoryActions = u, t2.default = new u(); + }, 18251(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryDataTypes = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(84783)), r = 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 o.default { + constructor() { + super(); + } + get displayTypeName() { + return "ArchFactoryDataTypes"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryDataTypes"]); + } + getOrCreateCustomJsonDataTypeAsync(e3, t3, i3, o2) { + 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, r.default.CUSTOM_JSON_TYPE_NAMESPACES_ALL), this._checkItemIsValidLiteralString(this._infoParm("entityName", "getOrCreateCustomJsonDataTypeAsync"), i3); + const n3 = r.default.getCustomJsonSchemaTypesForNamespace(t3); + this._checkItemIsValidLiteralStringEnum(this._infoParm("customJsonDataTypeSchemaType", "getOrCreateCustomJsonDataTypeAsync"), o2, n3); + const u2 = e3.findCustomJsonDataType(t3, i3, o2); + if (u2) return u2; + switch (t3) { + 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 { + n4 = yield a.default.findItemByValueAsync(m.decisionTableManager, i3, "decision table", "name", "name"); + } catch (e4) { + } + n4 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by name`); + try { + u3 = yield a.default.findItemByIdAsync(m.decisionTableManager, n4.id, "decision table"); + } catch (e4) { + } + switch (u3 || this.logErrorAndThrow(`was unable to find decision table '${i3}' by id '${n4.id}'`), o2) { + case r.default.CUSTOM_JSON_SCHEMA_TYPES.input: + _2 = d.default.getOrCreateDecisionTableCustomJsonManager(e3._getCoreViewModel(), u3.name, u3.id, true, "Inputs", "Outputs"), _2.tryUpdateParentExpressionPropTypeFromSchema(u3.model.publishedContract.executionInputSchema, true, e3.isReadOnly); + break; + case r.default.CUSTOM_JSON_SCHEMA_TYPES.output: + _2 = d.default.getOrCreateDecisionTableCustomJsonManager(e3._getCoreViewModel(), u3.name, u3.id, false, "Inputs", "Outputs"), _2.tryUpdateParentExpressionPropTypeFromSchema(u3.model.publishedContract.executionOutputSchema, true, e3.isReadOnly); + } + if (!_2) return; + return this.coreFactory.createArchWrapper(_2.customDataType); + case p.CustomJsonNamespace.conversationAttribute: + let h2, g2; + try { + h2 = yield a.default.findItemByValueAsync(l.conversationCustomAttributeSchemaManager, i3, "conversation custom attribute schema", "name", "name"); + } catch (e4) { + } + h2 || this.logErrorAndThrow(`was unable to find conversation custom attribute schema '${i3}' by name`); + try { + g2 = yield a.default.findItemByIdAsync(l.conversationCustomAttributeSchemaManager, h2.id, "conversation custom attribute schema"); + } catch (e4) { + } + 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 (o2) { + case r.default.CUSTOM_JSON_SCHEMA_TYPES.schemaData: + N = A; + break; + case r.default.CUSTOM_JSON_SCHEMA_TYPES.schemaDataPatch: + N = c.createOrGetPatchableMirrorType(f2, A, { mapTypeId: c.mapSchemaDataTypeIdToPatch, entityName: T, rootDisplayNameSuffix: "Schema Data Patch" }); + break; + case r.default.CUSTOM_JSON_SCHEMA_TYPES.record: + N = s.BaseConversationAttributeActionViewModel.createOrGetRecordType(f2, A, T, y); + } + return N || this.logErrorAndThrow(`was unable to create conversation custom attribute data type '${i3}' with context '${o2}'`), 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 _.default(); + n3.id = (0, u.createCustomJsonExpressionDataTypeStr)(p.CustomJsonNamespace.userDefined), n3.dataTypeId = n3.id, n3.name = e3, n3.description = t3; + const o2 = new h.default(n3); + return this.coreFactory.createArchWrapper(o2); + } + createCustomJsonTypeSchemaFromJsonSchema(e3) { + const t3 = this._infoParm("jsonSchema", "createCustomJsonTypeSchemaFromJsonSchema"); + this._checkItemIsValidJsonObject(t3, e3, false); + const i3 = new g.default(void 0, e3, p.CustomJsonNamespace.userDefined).createDataTypeDefViewModelsForJsonSchema(); + return i3.failure, this.coreFactory.createArchWrapper(i3.customDataTypeDefs[i3.rootDataTypeDefId]); + } + } + t2.ArchFactoryDataTypes = f, t2.default = new f(); + }, 60645(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(84783)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(97354)); + class l extends r.default { + get displayTypeName() { + return "ArchFactoryFilters"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryFilters"]); + } + get isArchFactoryFilters() { + return true; + } + createFilterObject(e3) { + return (o.default.isUndefined(e3) || null === e3) && (e3 = a.default.FILTER_CONTAINER_OPERATORS.and), this._checkItemIsValidLiteralStringEnum(this._infoParm("operator", "createFilterObject"), e3, a.default.FILTER_CONTAINER_OPERATORS_ALL), new s.default(e3); + } + createFilterTraverseDefault(e3) { + this._checkItemIsValidLiteralBool(this._infoParm("wantArchBaseValues", "createFilterTraverseDefault"), e3, true); + const t3 = this.createFilterObject(a.default.FILTER_CONTAINER_OPERATORS.or), i3 = ["isArchBaseAction", "isArchBaseFlow", "isArchBaseMenu", "isArchBaseMenuChoice", "isArchBaseMultiActionContainer", "isArchBaseVariable"]; + return e3 && i3.push("isArchBaseValue"), o.default.each(i3, (e4) => { + t3.addClausePropertyValueEquals(e4, true); + }), t3; + } + } + t2.default = new l(); + }, 89059(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryFlows = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(33231)), r = 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)), I = n2.__importDefault(i2(98114)), C = n2.__importDefault(i2(17848)), O = 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)), q = n2.__importDefault(i2(98717)), W = 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(32495)), X = n2.__importDefault(i2(37824)), Z = n2.__importDefault(i2(54625)), ee = n2.__importDefault(i2(22999)), te = n2.__importDefault(i2(65641)), ie = n2.__importDefault(i2(55974)), ne = n2.__importDefault(i2(24212)), oe = n2.__importDefault(i2(44130)), re = n2.__importDefault(i2(58407)), ae = n2.__importDefault(i2(40192)), se = n2.__importDefault(i2(44231)), le = n2.__importDefault(i2(83737)), ue = n2.__importDefault(i2(98253)), ce = n2.__importDefault(i2(66350)), de = n2.__importDefault(i2(74920)), pe = n2.__importDefault(i2(71191)), _e = n2.__importDefault(i2(43314)), he = i2(50474), me = i2(50474), ge = i2(50474), fe = i2(50474), Te = i2(50474), ye = i2(50474), Se = i2(1910), Ae = i2(1910), Ne = i2(20850), ve = n2.__importDefault(i2(84783)), Ie = i2(28691); + class Ce extends ve.default { + constructor() { + super(), this._inMemoryAuthoringFlows = /* @__PURE__ */ new Map(), Object.defineProperties(this, { _defaultCreationDivision: { writable: true } }), o.default.all([r.bootstrapLanguageDataLoaded, r.featureTogglesLoaded, r.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."), J.default._setFactoryFlowStartupComplete(); + }); + } + getDefaultDivisionWhereUserCanAdd() { + var e3; + 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 (J.default.orgInfo.areDivisionsAvailable) return this._defaultCreationDivision; + } + set defaultFlowCreationDivision(e3) { + const t3 = this._infoPropSet("newValue", "defaultFlowCreationDivision"); + if (this._ensureSessionIsConnected(t3, J.default), J.default.orgInfo.areDivisionsAvailable || this._itemIsInvalid(t3, "divisions are not supported for the current organization."), (0, ye.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() { + return "ArchFactoryFlows"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryFlows"]); + } + get isArchFactoryFlows() { + return true; + } + _createFlowViewModel(e3, t3, i3) { + const n3 = this._infoParm("flowType", i3); + let o2; + switch (t3.isFlowInfoViewModel || (t3 = new O.default(t3)), e3) { + case u.flowTypes.flowTypeBot: + o2 = $.default; + break; + case u.flowTypes.flowTypeCommonModule: + o2 = z.default; + break; + case u.flowTypes.flowTypeInboundCall: + o2 = Z.default; + break; + case u.flowTypes.flowTypeDigitalBot: + o2 = K.default; + break; + case u.flowTypes.flowTypeBusinessProcess: + o2 = Q.default; + break; + case u.flowTypes.flowTypeEmailSend: + o2 = X.default; + break; + case u.flowTypes.flowTypeInboundChat: + o2 = ee.default; + break; + case u.flowTypes.flowTypeInQueueCall: + o2 = ne.default; + break; + case u.flowTypes.flowTypeInQueueEmail: + o2 = oe.default; + break; + case u.flowTypes.flowTypeInQueueShortMessage: + o2 = re.default; + break; + case u.flowTypes.flowTypeOutboundCall: + o2 = ae.default; + break; + case u.flowTypes.flowTypeSecureCall: + o2 = se.default; + break; + case u.flowTypes.flowTypeInboundEmail: + o2 = te.default; + break; + case u.flowTypes.flowTypeInboundShortMessage: + o2 = ie.default; + break; + case u.flowTypes.flowTypeSurveyInvite: + o2 = le.default; + break; + case u.flowTypes.flowTypeVoice: + o2 = de.default; + break; + case u.flowTypes.flowTypeVoicemail: + o2 = ue.default; + break; + case u.flowTypes.flowTypeVoiceSurvey: + o2 = ce.default; + break; + case u.flowTypes.flowTypeWorkflow: + o2 = pe.default; + break; + case u.flowTypes.flowTypeWorkitem: + o2 = _e.default; + break; + default: + this._itemIsInvalid(n3, "INTERNAL ERROR - the flow type '" + e3 + "' is not supported."); + } + return new o2(t3); + } + verifyNluCreationDataSlotNames(e3) { + if (!(0, fe.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, me.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, me.isArray)(n3) && n3.length && n3.forEach((e5, n4) => { + const o2 = null == e5 ? void 0 : e5.entityName; + if ((0, Te.isString)(o2)) { + const e6 = l.expressionDataService.getInvalidIdentifierCharPos(o2); + if ((0, he.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++; + } + }); + }), 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, fe.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, me.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, G.default.FLOW_TYPES_ALL), W.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, G.default.FLOW_TYPES_ALL), W.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), o2 = null === (t3 = null == n3 ? void 0 : n3.dependencyType) || void 0 === t3 ? void 0 : t3.name; + o2 && (Y.default.clearCacheForDependencyType(o2), this.logNote(`invalidateFlowLookupCache - cleared network value cache for dependency type '${o2}'.`)); + } + _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, o2, r2, l2, c2, N2, P2, M2, F2, L2) { + return n2.__awaiter(this, void 0, void 0, function* () { + var n3, x2, k2, V2, U2, B2, Y2, H2, $2, z2, K2, Q2, X2, Z2, ee2, te2; + this._checkItem(this._infoParm("flowName", r2), !e3, "no flow name specified"), this._checkItemIsValidLiteralString(this._infoParm("flowDescription", r2), t3, true); + const ie2 = this._infoParm("flowType", r2); + this._checkItem(ie2, !I.default.getIsValidFlowType(o2), "invalid flow type of '" + o2 + "' specified for new flow"); + const ne2 = I.default.getDefinitionForFlowType(o2); + this._checkItemIsValidLiteralStringOrStringArray(this._infoParm("compatibleFlowTypes", r2), P2, true), P2 && P2.forEach((e4) => { + this._checkItemIsValidLiteralStringEnum(this._infoParm("compatibleFlowTypes", r2), e4, G.default.FLOW_TYPES_ALL); + const t4 = I.default.getDefinitionForFlowType(e4); + this._checkItem(this._infoParm("compatibleFlowTypes", r2), !t4 || !t4.isEmbeddable, `the flow type '${e4}' cannot be used as a compatible flow type when creating a flow of type '${o2}'`), this._checkItem(this._infoParm("compatibleFlowTypes", r2), !I.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 '${o2}'`); + }), this._checkItem(this._infoParm("compatibleFlowTypes", r2), P2 && P2.length && !I.default.doesFlowTypeHaveDestinationFlowTypes(o2), `supported flow types were specified for the creation of flow '${e3}' but are not supported for flow type '${o2}'.`); + const oe2 = this._infoParm("flowDivision", r2); + J.default.orgInfo.areDivisionsAvailable ? (((0, ye.isUndefined)(c2) || null === c2) && (this.defaultFlowCreationDivision ? (this.logItemNote(oe2, "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(oe2, "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(oe2, !c2, "there is no flow creation division specified for the flow creation."), this._checkItem(oe2, !(null == c2 ? void 0 : c2.isArchDivision), "the flow creation division must be an ArchDivision instance."), this._checkItem(oe2, !(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(oe2, `flow will be created in the division ${null == c2 ? void 0 : c2.logStr}`)) : ((0, ye.isUndefined)(c2) || null === c2 || this._itemIsInvalid(oe2, "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", r2), F2, true); + const re2 = this._infoParm("creationData", r2); + let ae2, se2; + switch (o2) { + case u.flowTypes.flowTypeBot: + case u.flowTypes.flowTypeDigitalBot: + case u.flowTypes.flowTypeVoice: { + let e4; + if (this._checkItemIsValidJsonObject(re2, N2, true), (0, fe.isObject)(N2)) if (N2.settingsIntentClassifier && !N2.nluDomainVersion) { + const t5 = w.templates.find((e5) => e5.id === w.nluVersionIds.blankBot); + (0, fe.isObject)(t5) || this.logErrorAndThrow("unable to load the default blank natural language understanding configuration to create the bot flow."), this.logNote("intent classifier creation path - using default blank NLU configuration since no nluDomainVersion was supplied."), e4 = t5.templateObject; + } else this._checkItemIsValidJsonObject(this._infoVal("creationData.nluDomainVersion", r2), N2.nluDomainVersion, true), e4 = N2.nluDomainVersion || {}, this.verifyNluCreationDataSlotNames(e4), !ne2.supportsNluIntents && d.IntentUtil.hasIntents(e4) && this.logErrorAndThrow(`the flow type '${o2}' 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 = w.templates.find((e5) => e5.id === w.nluVersionIds.blankBot); + (0, fe.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 == N2 ? void 0 : N2.mutedUtterances) || []).filter((e5) => d.IntentUtil.isUtteranceInNluDomainVersion((null == N2 ? void 0 : N2.nluDomainVersion) || {}, e5.id)), i4 = null == N2 ? void 0 : N2.settingsIntentClassifier, n4 = null == N2 ? void 0 : N2.navigatorVirtualAgentEnabled; + N2 = { nluVersionTemplate: { templateObject: e4 } }, t4.length && (N2.mutedUtterances = t4), i4 && (N2.settingsIntentClassifier = i4), void 0 !== n4 && (N2.navigatorVirtualAgentEnabled = n4); + break; + } + case u.flowTypes.flowTypeVoiceSurvey: + if (this._checkItemIsValidJsonObject(re2, N2, true), (0, fe.isObject)(N2)) { + this._checkItemIsValidJsonObject(this._infoVal("creationData.surveyForm", r2), 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 W.default.findItemByValueAsync(T.surveyFormManager, e4.name, "survey forms", "name"); + t5 ? ae2 = yield W.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 == N2 ? void 0 : N2.nluDomainVersion) && (this._checkItemIsValidJsonObject(this._infoVal("creationData.nluDomainVersion", r2), N2.nluDomainVersion, true), t4 = N2.nluDomainVersion, this.verifyNluCreationDataSlotNames(t4), !ne2.supportsNluIntents && d.IntentUtil.hasIntents(t4) && this.logErrorAndThrow(`the flow type '${o2}' 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, N2, true), (0, fe.isObject)(N2)) { + this._checkItemIsValidJsonObject(this._infoVal("creationData.worktype", r2), 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 W.default.findItemByValueAsync(S.worktypeManager, e4.name, "worktype", "name"); + t4 ? se2 = yield W.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, N2, true), (0, fe.isObject)(N2) && (this._checkItemIsValidJsonObject(this._infoVal("creationData.intentDetection", r2), N2.intentDetection), ne2.supportsNluCortex && ne2.supportsNluCortexIntents || this.logErrorAndThrow(`the flow type '${o2}' 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(N2) || this._logErrorInternalAndThrow(`the Architect flow factory code needs updating to handle flow creation data for the flow type '${o2}'. 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 = b.flowNameIsInvalidMessage(e3); + this._checkItem(this._infoParm("flowName", r2), null !== le2, le2); + const ue2 = this._infoParm("defaultSupportedLanguage", r2); + I.default.doesFlowTypeSupportLanguages(o2) ? 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: " + o2 + " ). 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: " + o2 + " ). 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", r2), l2, true); + const ce2 = new C.default(); + ce2.description = t3, ce2.name = e3, ce2.type = o2, ce2.id = "__script_flow__" + (0, y.uuid)(), J.default.orgInfo.areDivisionsAvailable && (ce2.division = null == c2 ? void 0 : c2._getCoreViewModel().model); + const de2 = E.getScriptingTemplate(o2, null == i3 ? void 0 : i3.tag, null, P2 || []), pe2 = this._createFlowViewModel(o2, new O.default(ce2), "createFlowAsync"), _e2 = this._infoParm("flowType", r2); + switch (pe2.requiresFeatures && pe2.requiresFeatures.forEach((e4) => { + A.isDisabled(e4) && this._itemIsInvalid(_e2, "the flow type '" + o2 + "' cannot be created because it requires the feature '" + e4 + "' which is not enabled."); + }), o2) { + case u.flowTypes.flowTypeBot: + N2.defaultLanguage = i3._getCoreViewModel(); + break; + case u.flowTypes.flowTypeVoiceSurvey: { + const e4 = p.isoLanguages[i3.tag.toLowerCase()]; + let t4; + const o3 = (0, _.buildFlowEntitiesFromSurveyForm)(ae2, e4); + if ((null === (n3 = o3.flowVariables) || void 0 === n3 ? void 0 : n3.length) && de2.variables.push(...o3.flowVariables), M2) { + const e5 = { nluDomainVersion: { language: "", entities: [], entityTypes: [] } }; + (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 ${o3.nluDomainVersion.language}`), e5.nluDomainVersion.language = o3.nluDomainVersion.language), null === (V2 = null === (k2 = null == o3 ? void 0 : o3.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 === (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, r3; + (null !== (n4 = null === (i4 = null == o3 ? void 0 : o3.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 !== (r3 = e5.nluDomainVersion.entities) && void 0 !== r3 ? r3 : []).push(t5); + }), null === (H2 = null === (Y2 = null == o3 ? void 0 : o3.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 === (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, r3; + (null !== (n4 = null === (i4 = null == o3 ? void 0 : o3.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 !== (r3 = e5.nluDomainVersion.entityTypes) && void 0 !== r3 ? r3 : []).push(t5); + }), e5.surveyInfo = o3.surveyInfo, t4 = e5; + } else { + 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, m.getFirstEntityErrorInfo)(e5, null !== (X2 = null === (Q2 = null == o3 ? void 0 : o3.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 === (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 r3 = (0, g.getFirstEntityTypeErrorInfo)(n4, null !== (te2 = null === (ee2 = null == o3 ? void 0 : o3.nluDomainVersion) || void 0 === ee2 ? void 0 : ee2.entityTypes) && void 0 !== te2 ? te2 : []); + r3.name && (r3.namesMatch ? r3.mechanismsMatch || this.logErrorAndThrow(`cannot create the flow as the configuration for the entity typed named ${r3.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 ${r3.name}.`)), t4 = { nluDomainVersion: null == N2 ? void 0 : N2.nluDomainVersion, surveyInfo: o3.surveyInfo }; + } + pe2.voiceSurveyFlowSettings.surveyFormInfo = t4.surveyInfo, N2.nluVersionTemplate = { templateObject: t4.nluDomainVersion }; + break; + } + case u.flowTypes.flowTypeWorkitem: + yield pe2.configureForWorktype(se2), N2.worktypeId = se2.id; + } + const he2 = yield v.loadTemplate(pe2, de2), me2 = yield he2.setNewInstanceDefaults(); + o2 === u.flowTypes.flowTypeVoiceSurvey && me2.isVoiceSurveyFlow && F2 ? (0, a.buildSurveyFlow)(me2) : o2 === u.flowTypes.flowTypeWorkitem && me2.isWorkitemFlow && F2 && (0, s.buildWorkitemFlow)(me2), L2 && (yield (0, D.importMergedYamlBodyIntoFlowViewModel)(me2, L2, o2)); + const ge2 = this.coreFactory.createArchWrapper(me2); + return me2.postScriptingCreateFlowAsync(N2), this._registerInMemoryAuthoringFlow(e3, o2, me2), q.default.logNotesVerbose && me2.definition.supportsLanguages && me2.defaultLanguage && ge2.settingsSupportedLanguages.getDefaultSupportedLanguageSettings().logNoteVerbose("flow default language settings information."), J.default.executeCallback(this, r2, l2, ge2); + }); + } + createFlowBotAsync(e3, t3, i3, n3, o2, r2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeBot, "createFlowBotAsync", n3, o2, r2); + } + createFlowDigitalBotAsync(e3, t3, i3, n3, o2, r2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeDigitalBot, "createFlowDigitalBotAsync", n3, o2, r2); + } + createFlowCommonModuleAsync(e3, t3, i3, n3, o2, r2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeCommonModule, "createFlowCommonModuleAsync", n3, o2, void 0, r2); + } + createFlowInboundCallAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundCall, "createFlowInboundCallAsync", n3, o2); + } + createFlowOutboundCallAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeOutboundCall, "createFlowOutboundCallAsync", n3, o2); + } + createFlowInQueueCallAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInQueueCall, "createFlowInQueueCallAsync", n3, o2); + } + createFlowInQueueEmailAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInQueueEmail, "createFlowInQueueEmailAsync", n3, o2); + } + createFlowInQueueShortMessageAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInQueueShortMessage, "createFlowInQueueShortMessageAsync", n3, o2); + } + createFlowSecureCallAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeSecureCall, "createFlowSecureCallAsync", n3, o2); + } + createFlowInboundEmailAsync(e3, t3, i3, n3, o2, r2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundEmail, "createFlowInboundEmailAsync", n3, o2, r2); + } + createFlowInboundShortMessageAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundShortMessage, "createFlowInboundShortMessageAsync", n3, o2); + } + createFlowSurveyInviteAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeSurveyInvite, "createFlowSurveyInviteAsync", n3, o2); + } + createFlowInboundChatAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundChat, "createFlowInboundChatAsync", n3, o2); + } + createFlowVoiceAsync(e3, t3, i3, n3, o2, r2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoice, "createFlowVoiceAsync", n3, o2, r2); + } + createFlowVoicemailAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoicemail, "createFlowVoicemailAsync", n3, o2); + } + createFlowVoiceSurveyAsync(e3, t3, i3, n3, o2, r2, 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), r2 = null != r2 ? r2 : {}, (a2 && s2 || !a2 && !s2 && (null === (d2 = r2.surveyForm) || void 0 === d2 ? void 0 : d2.name) && (null === (p2 = r2.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 = r2.surveyForm) || void 0 === _2 ? void 0 : _2.name) || (null === (h2 = r2.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 = r2.surveyForm) || void 0 === m2 ? void 0 : m2.name) || (null === (g2 = r2.surveyForm) || void 0 === g2 ? void 0 : g2.id) && a2) && this.logWarning(`Creation data is being ignored. Using surveyFormName ${a2}`), ((null === (f2 = r2.surveyForm) || void 0 === f2 ? void 0 : f2.name) || (null === (T2 = r2.surveyForm) || void 0 === T2 ? void 0 : T2.id) && s2) && this.logWarning(`Creation data is being ignored. Using surveyFormId ${s2}`), a2 ? r2.surveyForm = { name: a2 } : s2 && (r2.surveyForm = { id: s2 }), this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoiceSurvey, "createFlowVoiceSurveyAsync", n3, o2, r2, void 0, l2, c2); + } + createFlowBusinessProcessAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeBusinessProcess, "createFlowBusinessProcessAsync", n3, o2); + } + createFlowWorkflowAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeWorkflow, "createFlowWorkflowAsync", n3, o2); + } + createFlowEmailSendAsync(e3, t3, i3, n3, o2) { + return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeEmailSend, "createFlowEmailSendAsync", n3, o2); + } + createFlowWorkitemAsync(e3, t3, i3, n3, o2, r2, a2, s2, 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), r2 = null != r2 ? r2 : {}, (a2 && s2 || !a2 && !s2 && (null === (c2 = r2.worktype) || void 0 === c2 ? void 0 : c2.name) && (null === (d2 = r2.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 = r2.worktype) || void 0 === p2 ? void 0 : p2.name) || (null === (_2 = r2.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 = r2.worktype) || void 0 === h2 ? void 0 : h2.name) || (null === (m2 = r2.worktype) || void 0 === m2 ? void 0 : m2.id) && a2) && this.logWarning(`Creation data is being ignored. Using worktypeName ${a2}`), ((null === (g2 = r2.worktype) || void 0 === g2 ? void 0 : g2.name) || (null === (f2 = r2.worktype) || void 0 === f2 ? void 0 : f2.id) && s2) && this.logWarning(`Creation data is being ignored. Using worktypeId ${s2}`), a2 ? r2.worktype = { name: a2 } : s2 && (r2.worktype = { id: s2 }), this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeWorkitem, "createFlowWorkitemAsync", n3, o2, r2, 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, G.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "getFlowInfoByFlowIdAsync"), i3, true); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "getFlowInfoByFlowIdAsync"), o2 = this.coreFactory.createArchWrapper(n3); + return J.default.executeCallback(this, "getFlowInfoByFlowIdAsync", i3, o2); + }); + } + getFlowInfoByFlowNameAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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 r2 = false; + if (o2 && (r2 = Ne.archFlowStubbing.canStubFlowType(t3)), o2 && r2) { + const r3 = this._findInMemoryAuthoringFlow(e3, t3); + if (r3) { + this.logNote(`getFlowInfoByFlowNameAsync - returning the in-memory authoring flow '${e3}' (id: '${r3.id}') instead of looking up or creating a stub flow.`); + const t4 = this.coreFactory.createArchWrapper(r3); + (null === (n3 = o2.variables) || void 0 === n3 ? void 0 : n3.length) && Ne.archFlowStubbing.applyStubVariablesToFlow(t4, o2.variables), (0, Ie.refreshFlowInfoSchemasFromVariables)(r3); + const a2 = this.coreFactory.createArchWrapper(r3.info); + return J.default.executeCallback(this, "getFlowInfoByFlowNameAsync", i3, a2); + } + } + try { + const n4 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "getFlowInfoByFlowNameAsync"), o3 = this.coreFactory.createArchWrapper(n4); + return J.default.executeCallback(this, "getFlowInfoByFlowNameAsync", i3, o3); + } catch (n4) { + if (o2 && r2) { + const n5 = o2.defaultLanguage ? o2 : Object.assign(Object.assign({}, o2), { defaultLanguage: "en-us" }); + return yield Ne.archFlowStubbing.createStubFlowAsync(t3, e3, n5.division, n5.defaultLanguage, n5), this.getFlowInfoByFlowNameAsync(e3, t3, i3); + } + return; + } + }); + } + loadFlowByFlowNameAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true), (0, ye.isUndefined)(i3) && (i3 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "loadFlowByFlowNameAsync"), r2 = yield W.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowNameAsync"), n3, i3, "loadFlowByFlowNameAsync"); + return J.default.executeCallback(this, "loadFlowByFlowNameAsync", o2, this.coreFactory.createArchWrapper(r2)); + }); + } + loadFlowByFlowIdAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true), (0, ye.isUndefined)(i3) && (i3 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "loadFlowByFlowIdAsync"), r2 = yield W.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowIdAsync"), n3, i3, "loadFlowByFlowIdAsync"); + return J.default.executeCallback(this, "loadFlowByFlowIdAsync", o2, this.coreFactory.createArchWrapper(r2)); + }); + } + 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, ye.isUndefined)(e3) && (e3 = G.default.FLOW_VERSIONS.latest); + const i3 = yield this._getFlowInfoByFlowIdAsync(k.defaultInQueueFlowId, u.flowTypes.flowTypeInQueueCall, "loadFlowDefaultInQueueCallAsync"), n3 = yield W.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, ye.isUndefined)(e3) && (e3 = G.default.FLOW_VERSIONS.latest); + const i3 = yield this._getFlowInfoByFlowIdAsync(k.defaultVoicemailFlowId, u.flowTypes.flowTypeVoicemail, "loadFlowDefaultVoicemailAsync"), n3 = yield W.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, ye.isUndefined)(t3) && (t3 = G.default.FLOW_VERSIONS.latest); + const n3 = e3._getCoreViewModel(), o2 = yield W.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(n3.type, n3, "loadFlowByFlowInfoAsync"), n3, t3, "loadFlowByFlowInfoAsync"); + return J.default.executeCallback(this, "loadFlowByFlowInfoAsync", i3, this.coreFactory.createArchWrapper(o2)); + }); + } + checkoutFlowByFlowNameAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "checkoutFlowByFlowNameAsync"), r2 = yield W.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutFlowByFlowNameAsync"); + return J.default.executeCallback(this, "checkoutFlowByFlowNameAsync", o2, this.coreFactory.createArchWrapper(r2)); + }); + } + checkoutFlowByFlowIdAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "checkoutFlowByFlowIdAsync"), r2 = yield W.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutFlowByFlowIdAsync"); + return J.default.executeCallback(this, "checkoutFlowByFlowIdAsync", o2, this.coreFactory.createArchWrapper(r2)); + }); + } + 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(), o2 = yield W.default._checkoutFlowByFlowInfoAsync(n3, t3, "checkoutFlowByFlowInfoAsync"); + return J.default.executeCallback(this, "checkoutFlowByFlowInfoAsync", i3, this.coreFactory.createArchWrapper(o2)); + }); + } + 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, G.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "unlockFlowByFlowNameAsync"), i3, true); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "unlockFlowByFlowNameAsync"), o2 = yield W.default._unlockFlowAsync(n3); + return J.default.executeCallback(this, "unlockFlowByFlowNameAsync", i3, this.coreFactory.createArchWrapper(o2)); + }); + } + 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, G.default.FLOW_TYPES_ALL), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "unlockFlowByFlowIdAsync"), i3, true); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "unlockFlowByFlowIdAsync"), o2 = yield W.default._unlockFlowAsync(n3); + return J.default.executeCallback(this, "unlockFlowByFlowIdAsync", i3, this.coreFactory.createArchWrapper(o2)); + }); + } + 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 W.default._unlockFlowAsync(i3); + return J.default.executeCallback(this, "unlockFlowByFlowInfoAsync", t3, this.coreFactory.createArchWrapper(n3)); + }); + } + checkoutAndLoadFlowByFlowNameAsync(e3, t3, i3, o2, r2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutAndLoadFlowByFlowNameAsync"), r2, true), (0, ye.isUndefined)(i3) && (i3 = false), (0, ye.isUndefined)(o2) && (o2 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowNameAsync(e3, t3, "checkoutAndLoadFlowByFlowNameAsync"), a2 = yield W.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutAndLoadFlowByFlowNameAsync"), s2 = yield W.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(a2.type.toLowerCase(), a2, "checkoutAndLoadFlowByFlowNameAsync"), a2, o2, "checkoutAndLoadFlowByFlowNameAsync", void 0, true); + return J.default.executeCallback(this, "checkoutAndLoadFlowByFlowNameAsync", r2, this.coreFactory.createArchWrapper(s2)); + }); + } + checkoutAndLoadFlowByFlowIdAsync(e3, t3, i3, o2, r2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "checkoutAndLoadFlowByFlowIdAsync"), r2, true), (0, ye.isUndefined)(i3) && (i3 = false), (0, ye.isUndefined)(o2) && (o2 = G.default.FLOW_VERSIONS.latest); + const n3 = yield this._getFlowInfoByFlowIdAsync(e3, t3, "checkoutAndLoadFlowByFlowIdAsync"), a2 = yield W.default._checkoutFlowByFlowInfoAsync(n3, i3, "checkoutAndLoadFlowByFlowIdAsync"), s2 = yield W.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(a2.type.toLowerCase(), a2, "checkoutAndLoadFlowByFlowIdAsync"), a2, o2, "checkoutAndLoadFlowByFlowIdAsync", void 0, true); + return J.default.executeCallback(this, "checkoutAndLoadFlowByFlowIdAsync", r2, this.coreFactory.createArchWrapper(s2)); + }); + } + checkoutAndLoadFlowByFlowInfoAsync(e3, t3, i3, o2) { + 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"), o2, true), (0, ye.isUndefined)(t3) && (t3 = false), (0, ye.isUndefined)(i3) && (i3 = G.default.FLOW_VERSIONS.latest); + const n3 = e3._getCoreViewModel(), r2 = yield W.default._checkoutFlowByFlowInfoAsync(n3, t3, "checkoutAndLoadFlowByFlowInfoAsync"), a2 = yield W.default._loadFlowByFlowInfoAsync(this._createFlowViewModel(r2.type.toLowerCase(), r2, "checkoutAndLoadFlowByFlowInfoAsync"), r2, i3, "checkoutAndLoadFlowByFlowInfoAsync", void 0, true); + return J.default.executeCallback(this, "checkoutAndLoadFlowByFlowInfoAsync", o2, this.coreFactory.createArchWrapper(a2)); + }); + } + createFromFlowYamlFile(e3, t3, o2, r2, 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, ge.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 = o2 || j.default.englishUnitedStates; + return this._createFlowFromParsedYamlModelAsync(_2, m2, g2, n3, t3, y2, r2); + }); + } + createFlowFromDefinitionAsync(e3, t3, i3, n3, o2, r2, a2, s2, l2) { + const u2 = this._infoParm("archDefinitionFlow", "createFlowFromDefinitionAsync"); + if (this._checkItem(u2, !e3 || !e3.isArchDefinitionFlow, "you must pass in a valid ArchDefinitionFlow instance."), !e3.supportsFlowCreationData) { + const e4 = this._infoParm("creationData", "createFlowFromDefinitionAsync"); + this._checkItemIsUndefinedOrNull(e4, a2); + } + return this.createFlowAsync(t3, i3, n3, e3.type, "createFlowFromDefinitionAsync", o2, r2, 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 Ae.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 o2 = Se.FlowTypeResolver.detectFromJson(n3.json); + o2 || 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 r2 = Se.FlowTypeResolver.resolve(o2); + r2 || this.logErrorAndThrow(`createFlowFromContentAsync: Unrecognized flow type '${o2}'.`); + const a2 = n3.json[o2]; + (0, ge.isNonArrayObject)(a2) || this.logErrorAndThrow(`createFlowFromContentAsync: flow YAML wrapper '${o2}' 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, o2, r2, i4, t3, void 0, void 0); + }); + } + _createFlowFromParsedYamlModelAsync(e3, t3, i3, o2, r2, 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) => I.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 r3 = s2; + return !r3 && n3 && (r3 = J.default.orgInfo.getDivisionById(n3)), this.createFlowAsync(t4, i4, a2, e5, o2, void 0, r3); + }), 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] || `${o2}: unable to create flow from YAML model.`; + this.logErrorAndThrow(e4); + } + const m2 = _2.flow; + return J.default.executeCallback(this, o2, r2, m2); + }); + } + } + t2.ArchFactoryFlows = Ce, t2.default = new Ce(); + }, 27069(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryMenus = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 r.default { + get displayTypeName() { + return "ArchFactoryMenus"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryMenus"]); + } + get isArchFactoryMenus() { + return true; + } + createArchMenuChoice(e3, t3, i3, n3, r2, 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(r2, v(e3).parentFlow), this._checkItemIsValidLiteralBool(this._infoParm("dtmfIsGlobal", s2), n3, true); + const l2 = v(e3).addChild(r2), u2 = a.default.createArchMenuChoice(l2); + return t3 && (u2.name = t3), o.default.isUndefined(i3) || (u2.dtmf = i3), n3 && (o.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, r2, a2, s2) { + this._checkItemIsValidLiteralString(this._infoParm("preTransferTTS", s2), r2, true); + const l2 = this.createArchMenuChoice(e3, t3, i3, n3, a2, s2); + return o.default.isString(r2) && l2._archAction.preTransferAudio.setDefaultCaseLiteralTTS(r2), l2; + } + _verifyFlowSupportsMenus(e3, t3) { + this._checkItem(e3, !t3 || !t3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItem(e3, !t3.definition.supportsMenusReusable, `the flow type '${t3.flowType}' does not support menus.`); + } + addMenu(e3, t3, i3, n3) { + const r2 = this._infoParm("archBaseFlow", "addMenu"); + this._verifyFlowSupportsMenus(r2, e3), this._checkItemIsValidLiteralString(this._infoParm("name", "addMenu"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("menuAudioTTS", "addMenu"), i3, true), this._checkItemIsValidLiteralBool(this._infoParm("setAsStartingMenu", "addMenu"), n3, true), n3 && this._checkItem(r2, !e3.definition.startUpObjectCanBeMenu, `a menu cannot be the startup object for the flow type '${e3.flowType}'.`); + const s2 = e3._getCoreViewModel().createMenu(t3), l2 = a.default.createArchMenu(s2); + return o.default.isString(t3) && t3.length && (l2.name = t3), n3 && e3.setStartingMenu(l2), o.default.isString(i3) && l2.audio.setDefaultCaseLiteralTTS(i3), l2; + } + addMenuDialByExtension(e3, t3, i3, n3, r2, a2, l2, u2) { + this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addMenuDialByExtension"), a2, true), this._checkItemIsValidLiteralString(this._infoParm("repromptTTS", "addMenuDialByExtension"), r2, true), this._checkItemIsValidLiteralString(this._infoParm("interDigitTimeoutExpression", "addMenuDialByExtension"), l2, true); + const c2 = this.createArchMenuChoice(e3, t3, i3, u2, s.dialExtensionActionType, "addMenuDialByExtension"); + return n3 && c2.actionDialByExtension.extensionVariable.setVariable(n3), o.default.isString(r2) && c2.actionDialByExtension.repromptAudio.setDefaultCaseLiteralTTS(r2), void 0 !== a2 && (this._checkItemIsValidLiteralInt(this._infoParm("repromptCount", "addMenuDialByExtension"), a2), c2.actionDialByExtension.repromptCount.setLiteralInt(a2)), o.default.isString(l2) && c2.actionDialByExtension.interDigitTimeout.setExpression(l2), c2; + } + addMenuDisconnect(e3, t3, i3, n3) { + return this.createArchMenuChoice(e3, t3, i3, n3, l.disconnectActionType, "addMenuDisconnect"); + } + addMenuJumpToMenu(e3, t3, i3, n3, o2) { + const r2 = this.createArchMenuChoice(e3, t3, i3, o2, T.transferMenuActionType, "addMenuJumpToMenu"); + return n3 && (r2.actionJumpToMenu.targetMenu = n3), r2; + } + addMenuJumpToTask(e3, t3, i3, n3, o2) { + const r2 = this.createArchMenuChoice(e3, t3, i3, o2, S.transferTaskActionType, "addMenuJumpToTask"); + return n3 && (r2.actionJumpToTask.targetTask = n3), r2; + } + addMenuPreviousMenu(e3, t3, i3, n3) { + return this.createArchMenuChoice(e3, t3, i3, n3, c.previousMenuActionType, "addMenuPreviousMenu"); + } + addMenuRepeatMenu(e3, t3, i3, n3) { + 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"); + } + addMenuSubMenu(e3, t3, i3, n3, r2) { + this._checkItemIsValidLiteralString(this._infoParm("subMenuTTS", "addMenuSubMenu"), n3, true); + const a2 = this.createArchMenuChoice(e3, t3, i3, r2, u.menuActionActionType, "addMenuSubMenu"); + return o.default.isString(n3) && a2.audio.setDefaultCaseLiteralTTS(n3), a2; + } + addMenuTask(e3, t3, i3, n3) { + return this.createArchMenuChoice(e3, t3, i3, n3, _.taskActionActionType, "addMenuTask"); + } + addMenuTransferToAcd(e3, t3, i3, n3, o2) { + return this.createArchTransferMenuChoice(e3, t3, i3, o2, n3, y.transferPureMatchActionType, "addMenuTransferToAcd"); + } + addMenuTransferToFlow(e3, t3, i3, n3, o2) { + return this.createArchTransferMenuChoice(e3, t3, i3, o2, n3, m.transferFlowActionType, "addMenuTransferToFlow"); + } + addMenuTransferToFlowSecure(e3, t3, i3, n3, o2) { + return this.createArchTransferMenuChoice(e3, t3, i3, o2, n3, g.transferFlowSecureActionType, "addMenuTransferToFlowSecure"); + } + addMenuTransferToGroup(e3, t3, i3, n3, o2) { + return this.createArchTransferMenuChoice(e3, t3, i3, o2, n3, f.transferGroupActionType, "addMenuTransferToGroup"); + } + addMenuTransferToNumber(e3, t3, i3, n3, o2) { + return this.createArchTransferMenuChoice(e3, t3, i3, o2, n3, h.transferExternalActionType, "addMenuTransferToNumber"); + } + addMenuTransferToUser(e3, t3, i3, n3, o2) { + return this.createArchTransferMenuChoice(e3, t3, i3, o2, n3, A.transferUserActionType, "addMenuTransferToUser"); + } + addMenuTransferToVoicemail(e3, t3, i3, n3, o2) { + return this.createArchTransferMenuChoice(e3, t3, i3, o2, n3, N.transferVoicemailActionType, "addMenuTransferToVoicemail"); + } + addMenuChoiceFromDefinition(e3, t3, i3, n3, o2, r2) { + const a2 = this._infoParm("archDefinitionMenuChoice", "addMenuChoiceFromDefinition"); + 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, r2, e3.actionNodeInformation.typeId, "addMenuChoiceFromDefinition"); + } + } + t2.ArchFactoryMenus = I, t2.default = new I(); + }, 42115(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(17604), a = n2.__importDefault(i2(84783)), s = i2(33231); + function l(e3) { + return s.all(e3); + } + class u extends a.default { + createPromise(e3) { + let t3; + return t3 = Array.isArray(e3) ? (function(e4) { + if (Array.isArray(e4)) { + const t4 = []; + if (o.default.each(e4, function(i3, n3) { + s.isPromiseAlike(i3) ? t4.push(i3) : this.logErrorAndThrow((0, r.sprintf)("array contained non promise value at index [%s]", n3), this, e4); + }), t4.length > 0) return l(t4); + } + })(e3) : l(e3), Object.defineProperties(t3, { displayTypeName: { value: "ArchPromise" }, isArchPromise: { value: true } }), t3; + } + get displayTypeName() { + return "ArchFactoryPromise"; + } + get isArchFactoryPromise() { + return true; + } + get logStr() { + const e3 = [this.displayTypeName]; + return this._createLogStrFromParts(e3); + } + } + t2.default = new u(); + }, 80817(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(84783)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(97951), l = i2(23293), u = n2.__importStar(i2(27854)); + class c extends o.default { + get displayTypeName() { + return "ArchFactoryPrompts"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryPrompts"]); + } + get isArchFactoryPrompts() { + return true; + } + getPromptByPromptNameAsync(e3, t3) { + const i3 = this._infoParm("prefixedPromptName", "getPromptByPromptNameAsync"); + return this._checkItemIsValidLiteralString(i3, e3), this._checkItem(i3, !u.hasPromptPrefix(e3), `The prompt name of '${e3}' is not prefixed with 'Prompt.' or 'PromptSystem.'.`), r.default.findItemByValueAsync(u.hasUserPromptPrefix(e3) ? l.userPromptListManager : s.systemPromptListManager, u.removePrefix(e3), "prompt").then((e4) => { + if (e4) return a.default.executeCallback(this, "getPromptByPromptNameAsync", t3, this.coreFactory.createArchWrapper(e4)); + }); + } + } + t2.default = new c(); + }, 38590(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(84783)), a = n2.__importDefault(i2(38689)); + class s extends r.default { + get displayTypeName() { + return "ArchFactoryStates"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryStates"]); + } + get isArchFactoryStates() { + return true; + } + addState(e3, t3, i3) { + const n3 = this._infoParm("archBaseFlow", "addState"); + this._checkItem(n3, !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._checkItem(n3, !e3.definition.supportsMultipleStates, `the flow type '${e3.flowType}' does not support states.`), this._checkItemIsValidLiteralString(this._infoParm("name", "addState"), t3, true), this._checkItemIsValidLiteralBool(this._infoParm("setAsStartingState", "addState"), i3, true), i3 && this._checkItem(n3, !e3.definition.startUpObjectCanBeState, `a state cannot be the startup object for the flow type '${e3.flowType}'.`); + const r2 = e3._getCoreViewModel().createState(); + o.default.isString(t3) && t3.length && (r2.name = t3); + const s2 = a.default.createArchWrapper(r2); + return i3 && e3.setStartingState(s2), s2; + } + } + t2.default = new s(); + }, 28044(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchFactoryTasks = void 0; + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(92140)), a = n2.__importDefault(i2(84783)), s = n2.__importDefault(i2(38689)); + class l extends a.default { + get displayTypeName() { + return "ArchFactoryTasks"; + } + get logStr() { + return this._createLogStrFromParts(["ArchFactoryTasks"]); + } + get isArchFactoryTasks() { + return true; + } + 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}'.`), this._checkItem(n3, e3.flowType === o.flowTypes.flowTypeVoiceSurvey, "a task cannot be set as the startup object for voice survey flows.")); + const a2 = e3._getCoreViewModel().createTask(); + r.default.isString(t3) && t3.length && (a2.name = t3); + const l2 = s.default.createArchWrapper(a2); + return i3 && e3.setStartingTask(l2), l2; + } + } + t2.ArchFactoryTasks = l, t2.default = new l(); + }, 20850(e2, t2, i2) { + "use strict"; + t2.archFlowStubbing = void 0; + const n2 = i2(31635), o = i2(96618), r = 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), I = n2.__importDefault(i2(78432)), C = n2.__importDefault(i2(94225)), O = n2.__importDefault(i2(3220)), b = i2(47957); + t2.archFlowStubbing = new class { + get _archFactoryFlows() { + return this._archFactoryFlowsInstance || (this._archFactoryFlowsInstance = i2(89059).default), this._archFactoryFlowsInstance; + } + canStubFlowType(e3) { + const t3 = null == e3 ? void 0 : e3.toLowerCase(); + if (!t3) return this._archFactoryFlows.logError("no flow type was provided to the canStubFlowType function."), false; + if (!s.default.getIsValidFlowType(t3)) return this._archFactoryFlows.logError(`the flow type '${t3}' is not a valid flow type.`), false; + if (!s.default.getFlowTypeIsAvailable(t3)) return this._archFactoryFlows.logError(`the flow type '${t3}' is not available in the organization.`), false; + if (!s.default.getDefinitionForFlowType(t3).isCreatable) return this._archFactoryFlows.logError(`the flow type '${t3}' is not creatable in the organization.`), false; + switch (t3) { + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: + return (0, a.isFeatureAvailable)(y.default.botFlowsBotsCallingBots) || (0, a.isFeatureAvailable)(y.default.flowStubbing); + case o.flowTypes.flowTypeInboundCall: + case o.flowTypes.flowTypeSecureCall: + return true; + case o.flowTypes.flowTypeVoicemail: + return this._archFactoryFlows.logError("voicemail flows cannot be stubbed because only have a single voicemail flow is allowed in an organization."), false; + case o.flowTypes.flowTypeInboundChat: + return false; + default: + return (0, a.isFeatureAvailable)(y.default.flowStubbing); + } + } + createStubFlowAsync(e3, t3, i3, r2, a2) { + return n2.__awaiter(this, void 0, void 0, function* () { + var n3, s2; + this._archFactoryFlows._checkItemIsValidLiteralStringEnum(this._archFactoryFlows._infoParm("stubFlowType", "createStubFlowAsync"), e3, I.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), o.flowTypes.flowTypeOutboundCall === e3 && (this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.contactList, true), this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.wrapupCode, true)), o.flowTypes.flowTypeVoiceSurvey === e3 && this._archFactoryFlows._checkItemIsValidLiteralString(l2, a2.surveyForm, true), o.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), o.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, 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 [${r2}]`); + 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(r2, 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 === o.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) { + var i3; + switch (e3) { + case o.flowTypes.flowTypeVoiceSurvey: + (null == t3 ? void 0 : t3.surveyForm) || this._archFactoryFlows.logErrorAndThrow("a survey form must be specified when creating a voice survey stub flow"); + break; + case o.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: ${I.default.FLOW_TYPES_ALL.join(", ")}`); + const t4 = s.default.getDefinitionForFlowType(e4); + if (!t4 || !t4.isEmbeddable || !t4.isAvailable) { + const t5 = I.default.FLOW_TYPES_ALL.filter((e5) => { + const t6 = s.default.getDefinitionForFlowType(e5); + return t6 && t6.isAvailable && t6.isEmbeddable; + }); + this._archFactoryFlows.logErrorAndThrow(`the flow type '${e4}' cannot be used as a compatible flow type when creating a common module stub flow. Available compatible flow types are: ${t5.join(", ")}`); + } + } + break; + case o.flowTypes.flowTypeWorkitem: + (null == t3 ? void 0 : t3.worktype) || this._archFactoryFlows.logErrorAndThrow("a worktype must be specified when creating a workitem stub flow"); + } + } + _buildCreationData(e3, t3, i3) { + var n3; + switch (e3) { + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: { + const e4 = (null === (n3 = null == i3 ? void 0 : i3.variables) || void 0 === n3 ? void 0 : n3.filter((e5) => e5.name.startsWith("Slot."))) || []; + return e4.length ? this._createStubNluData(t3, e4) : void 0; + } + case o.flowTypes.flowTypeVoiceSurvey: + return { surveyForm: { name: null == i3 ? void 0 : i3.surveyForm } }; + case o.flowTypes.flowTypeWorkitem: + return { worktype: { name: null == i3 ? void 0 : i3.worktype } }; + default: + return; + } + } + _performFlowTypeSpecificSetup(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + switch (e3) { + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: + case o.flowTypes.flowTypeVoice: + this._processBotSlotSettings(t3, i3); + break; + case o.flowTypes.flowTypeInboundCall: + case o.flowTypes.flowTypeSecureCall: + this._setStartingTask(t3); + break; + case o.flowTypes.flowTypeOutboundCall: + const e4 = t3; + yield e4.settingsOutboundCall.setContactListLiteralByContactListNameAsync(null == i3 ? void 0 : i3.contactList), yield e4.settingsOutboundCall.defaultWrapupCode.setLiteralByWrapupCodeNameAsync(null == i3 ? void 0 : i3.wrapupCode), this._setStartingTask(t3); + } + this._addSupportedLanguages(t3, i3); + }); + } + _processBotSlotSettings(e3, t3) { + var i3; + 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 = I.default.CAPTURE_TYPES.multiple); + } + } + _addSupportedLanguages(e3, t3) { + var i3; + const n3 = null == t3 ? void 0 : t3.supportedLanguages; + if (!(null == n3 ? void 0 : n3.length) || !e3.supportsLanguages) return; + const o2 = null === (i3 = e3._getCoreViewModel().defaultLanguage) || void 0 === i3 ? void 0 : i3.toLowerCase(); + for (const t4 of n3) { + if (t4.toLowerCase() === o2) continue; + const i4 = O.default.getByLanguageTag(t4); + i4 && e3.addFlowSupportedLanguage(i4); + } + } + _setupInitialAudio(e3) { + e3.initialAudio && e3.initialAudio.setDefaultCaseExpression('ToAudioTTS("stub")'); + } + _setStartingTask(e3) { + const t3 = e3._getCoreViewModel().createTask(); + t3.name = "Initial Task"; + const i3 = this._archFactoryFlows.coreFactory.createArchWrapper(t3); + e3.setStartingTask(i3); + } + _addTerminatingActionsToFlow(e3, t3) { + this._addTerminatingAction(e3, t3.startUpObject._getCoreViewModel()), t3.definition.supportsPeriodicState && this._addTerminatingAction(e3, t3.periodicState._getCoreViewModel()); + } + _getSlotNameFromSlotVariableName(e3) { + let t3 = e3.replace("Slot.", ""); + return t3.endsWith("_Collection") && (t3 = t3.substring(0, t3.length - 11)), t3; + } + _createStubNluData(e3, t3) { + const i3 = { nluDomainVersion: { intents: [], entities: [], entityTypes: [], language: null == e3 ? void 0 : e3.tag.toLowerCase(), languageVersions: {} } }; + return t3.forEach(({ name: e4, type: t4 }) => { + var n3, o2, 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, T.getNluTypeForArchitectType)(null == t4 ? void 0 : t4._getCoreViewModel()).nluDataType || r.BuiltInEntityType.BuiltInAny, (null !== (o2 = (s2 = i3.nluDomainVersion).entities) && void 0 !== o2 ? o2 : s2.entities = []).push({ name: u2, type: l2 }); + }), i3; + } + _createStubFlowVariable(e3, t3, i3, n3) { + var o2; + let r2; + 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); + r2 = (0, v.setScope)(N.scopes.slot, i4); + } else r2 = (0, v.setScope)(n3 || N.scopes.flow, t3); + const a2 = i3.dataType || e3.dataTypes.string; + let s2 = null === (o2 = e3.variables) || void 0 === o2 ? void 0 : o2.find((e4) => (null == e4 ? void 0 : e4.name) === r2); + if (!s2) { + const t4 = n3 === N.scopes.slot; + s2 = e3.addVariable(r2, 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) { + const t4 = { isInput: n3.isInput || false, isOutput: n3.isOutput || false, dataType: n3.type }; + this._createStubFlowVariable(e3, n3.name, t4, i3); + } + } + _getDefaultLanguageAndDivision(e3, t3) { + let i3, n3 = O.default.englishUnitedStates; + return e3 && (n3 = O.default.getByLanguageTag(e3) || O.default.englishUnitedStates), i3 = t3 && C.default.orgInfo.getDivisionByName(t3) || this._archFactoryFlows.getDefaultDivisionWhereUserCanAdd(), { archDefaultLanguage: n3, archDivision: i3 }; + } + _addTerminatingAction(e3, t3) { + switch (e3) { + case o.flowTypes.flowTypeCommonModule: + t3.addAction(h.endTaskActionType, t3.topAction).name = "Exit Common Module"; + break; + case o.flowTypes.flowTypeBot: + case o.flowTypes.flowTypeDigitalBot: + case o.flowTypes.flowTypeVoice: + t3.addAction(m.exitBotFlowActionType, t3.topAction).name = b.actions.exitBotFlow; + break; + case o.flowTypes.flowTypeInQueueEmail: + case o.flowTypes.flowTypeInQueueShortMessage: + t3.addAction(_.endStateActionType, t3.topAction).name = b.actions.endState; + break; + case o.flowTypes.flowTypeInQueueCall: { + 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 o.flowTypes.flowTypeInboundCall: + case o.flowTypes.flowTypeInboundEmail: + case o.flowTypes.flowTypeInboundShortMessage: + case o.flowTypes.flowTypeOutboundCall: + case o.flowTypes.flowTypeSecureCall: + case o.flowTypes.flowTypeVoiceSurvey: + t3.addAction(c.disconnectActionType, t3.topAction).name = b.actions.disconnect; + break; + case o.flowTypes.flowTypeSurveyInvite: { + const e4 = t3.addAction(u.abortSurveyActionType, t3.topAction); + e4.disposition.setAsLiteral("optOut"), e4.name = b.actions.abortSurvey; + break; + } + case o.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 o.flowTypes.flowTypeWorkflow: + t3.addAction(d.endWorkflowActionType, t3.topAction).name = b.actions.endWorkflow; + break; + case o.flowTypes.flowTypeWorkitem: + 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."))) || [], o2 = (null == t3 ? void 0 : t3.filter((e4) => e4.name.startsWith("Slot."))) || []; + i3.length && this._configureStubFlowVariables(e3, i3), n3.length && this._configureStubFlowVariables(e3, n3, N.scopes.common), o2.length && this._configureStubFlowVariables(e3, o2, N.scopes.slot); + } + _getFlowDefinitionForFlowType(e3) { + return this._archFactoryFlows.coreFactory.createArchWrapper(s.default.getDefinitionForFlowType(e3)); + } + }(); + }, 78778(e2, t2, i2) { + "use strict"; + 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 r.ActionTypeRegistry(); + return t3.initialize(o.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), o = n2.__importStar(i2(62829)), r = i2(1910), a = i2(1910), s = i2(1910), l = i2(1910), u = i2(54251), c = n2.__importDefault(i2(56549)); + }, 2414(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(4381)), r = 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: o.default, archFactoryDataTypes: r.default, archFactoryFilters: a.default, archFactoryFlows: s.default, archFactoryMenus: l.default, archFactoryPromise: u.default, archFactoryPrompts: c.default, archFactoryStates: d.default, archFactoryTasks: p.default }; + t2.default = _; + }, 42699(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635); + i2(41330); + const o = n2.__importDefault(i2(21413)), r = 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: o.default, environment: r.default, enums: a.default, factories: s.default, languages: l.default, services: c.default, viewModels: u.default }; + try { + window && (window.__architectScripting__ = d); + } catch (e3) { + } + e2.exports = d; + }, 31517(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(6953)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(67336)), u = i2(24812); + class c extends l.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, !u.isoLanguages[e3.id.toLowerCase()], "the specified core isoLanguage does not have a valid id"); + } + get displayTypeName() { + return "ArchLanguage"; + } + getTtsEnginesForFlowType(e3) { + return this._ensureSessionIsConnected(this._infoMethod("getTtsEnginesForFlowType"), s.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getTtsEnginesForFlowType"), e3, a.default.FLOW_TYPES_ALL), r.default.getSelectableEnginesForLanguageAndFlowTypeOrTypes(this.tag, e3).map((e4) => this.coreFactory.createArchWrapper(e4)); + } + getDefaultTtsEngine() { + this._ensureSessionIsConnected(this._infoMethod("getDefaultEngineForLanguage"), s.default); + const e3 = r.default.getDefaultEngineForLanguage(this._getCoreViewModel().id); + if (e3) return this.coreFactory.createArchWrapper(e3); + } + getDefaultTtsEngineVoice() { + this._ensureSessionIsConnected(this._infoMethod("getDefaultEngineVoiceForLanguage"), s.default); + const e3 = this.getDefaultTtsEngine(); + return e3 ? e3.getDefaultVoiceForLanguage(this) : void 0; + } + get hasFlowCreationTTS() { + return true === this._getCoreViewModel().hasFlowCreationTTS; + } + get isArchLanguage() { + return true; + } + isRuntimeDataPlaybackSupported(e3) { + return true === this._getCoreViewModel().getSupportsAudioDataPlaybackForFlowType(e3); + } + isSpeechRecSupported(e3) { + return true === this._getCoreViewModel().getSupportsSpeechRecForFlowType(e3); + } + isTextToSpeechSupported(e3) { + return true === this._getCoreViewModel().getSupportsTTSPlaybackForFlowType(e3); + } + get label() { + return this._getCoreViewModel().text; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrLabel(e3, this.label), this._appendLogStrTag(e3, this.tag), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get supportsCase() { + return this.supportsCaseArticle || this.supportsCaseAccusative || this.supportsCaseDative || this.supportsCaseGenitive || this.supportsCaseNominative; + } + get supportsCaseArticle() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseArticle; + } + get supportsCaseAccusative() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseAccusative; + } + get supportsCaseDative() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseDative; + } + get supportsCaseGenitive() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseGenitive; + } + get supportsCaseNominative() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.caseNomninative; + } + get supportsGender() { + return this.supportsGenderFeminine || this.supportsGenderNeuter || this.supportsGenderMasculine || this.supportsGenderCommon; + } + get supportsGenderCommon() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderCommon; + } + get supportsGenderFeminine() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderFeminine; + } + get supportsGenderMasculine() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderMasculine; + } + get supportsGenderNeuter() { + return void 0 !== this._getCoreViewModel().supportedLanguageContexts && true === this._getCoreViewModel().supportedLanguageContexts.genderNeuter; + } + get tag() { + return this._getCoreViewModel().id; + } + get ttsEngines() { + const e3 = this._infoPropGet("ttsEngines"); + return this._ensureTtsInfoAvailable(e3, s.default), o.default.map(r.default.getSelectableEnginesForLanguage(this.tag), (e4) => this.coreFactory.createArchWrapper(e4)); + } + } + t2.default = c; + }, 3220(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchLanguages = void 0; + const n2 = i2(31635).__importDefault(i2(8471)), o = i2(24812); + class r extends n2.default { + get displayTypeName() { + return "ArchLanguages"; + } + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + getByLanguageTag(e3) { + const t3 = this._infoParm("ietfLanguageTag", "getByLanguageTag"); + this._checkItemIsValidLiteralString(t3, e3); + const i3 = o.isoLanguages[e3.toLowerCase()]; + return this._checkItem(t3, !i3, "the language tag of '" + e3 + "' is not valid."), this.coreFactory.createArchWrapper(i3); + } + get bulgarianBulgaria() { + return this.getByLanguageTag("bg-bg"); + } + get chineseSimplified() { + return this.getByLanguageTag("zh-cn"); + } + get chineseTraditional() { + return this.getByLanguageTag("zh-hk"); + } + get czechCzechRepublic() { + return this.getByLanguageTag("cs-cz"); + } + get dutchNetherlands() { + return this.getByLanguageTag("nl-nl"); + } + get englishAustralia() { + return this.getByLanguageTag("en-au"); + } + get englishGreatBritain() { + return this.getByLanguageTag("en-gb"); + } + get englishUnitedStates() { + return this.getByLanguageTag("en-us"); + } + get finnishFinland() { + return this.getByLanguageTag("fi-fi"); + } + get frenchCanada() { + return this.getByLanguageTag("fr-ca"); + } + get frenchFrance() { + return this.getByLanguageTag("fr-fr"); + } + get germanGermany() { + return this.getByLanguageTag("de-de"); + } + get italianItaly() { + return this.getByLanguageTag("it-it"); + } + get japaneseJapan() { + return this.getByLanguageTag("ja-jp"); + } + get norwegianNorway() { + return this.getByLanguageTag("nb-no"); + } + get polishPoland() { + return this.getByLanguageTag("pl-pl"); + } + get portugueseBrazil() { + return this.getByLanguageTag("pt-br"); + } + get portuguesePortugal() { + return this.getByLanguageTag("pt-pt"); + } + get romanianRomania() { + return this.getByLanguageTag("ro-ro"); + } + get slovakSlovakia() { + return this.getByLanguageTag("sk-sk"); + } + get spanishUnitedStates() { + return this.getByLanguageTag("es-us"); + } + get spanishSpain() { + return this.getByLanguageTag("es-es"); + } + get thaiThailand() { + return this.getByLanguageTag("th-th"); + } + } + t2.ArchLanguages = r; + const a = new r(); + t2.default = a; + }, 35859(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(31517)), r = n2.__importDefault(i2(3220)), a = { ArchLanguage: o.default, archLanguages: r.default }; + t2.default = a; + }, 78641(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(33231), r = n2.__importDefault(i2(66978)), a = n2.__importDefault(i2(8471)); + class s extends a.default { + constructor() { + super(), this._callingMethodName = "", this._maxTries = 0, this._pollingCounter = 0, this._pollingIntervalMs = 0; + } + _beginAsyncPolling(e3, t3, i3, n3, o2, r2, a2) { + this._pollingQ && this.logErrorAndThrow("you already have a polling promise in this class instance that has not completed yet."); + const s2 = a2 || "_beginAsyncPolling"; + this._checkItemIsValidLiteralIntInRange(this._infoParm("intervalMs", s2), t3, 0, 15e3), this._checkItemIsValidLiteralIntInRange(this._infoParm("maxTries", s2), e3, 1, 100); + const l = t3 * e3; + return this._checkItem(this._infoVal("total_time", s2), l > 8e4, "the intervalMs * maxTries value of " + l + " milliseconds cannot exceed the maximum allowed of 80000 milliseconds."), this._checkItemIsValidFunction(this._infoParm("callbackFunction", s2), i3), this._checkItem(this._infoParm("callingArchObject", s2), o2 && !o2.isArchBaseObject, "The calling object must be an Architect Scripting object if specified."), this._checkItemIsValidLiteralString(this._infoParm("callingMethodName", s2), r2, true), this._configure(e3, t3, i3, n3, o2, r2), this._scheduleCallbackFunc(), this._pollingQ.promise; + } + _callCallbackFunc() { + try { + this._incrementPollCount(), this.logNoteVerbose("invoking polling callback function."); + const e3 = this._callbackFunc(this._callbackFuncParm); + if (!o.isPromiseAlike(e3)) return this.logNoteVerbose("polling callback function did not return a promise. Now resolving the polling promise and returning the callback function result."), this._resolve(e3); + this.logNoteVerbose("callback function returned a promise. Waiting until it resolves."), e3.then(function(e4) { + return this.logNoteVerbose("callback function returned promise successfully resolved. Now resolving the polling promise and returning the callback function returned promise's result."), this._resolve(e4); + }.bind(this)).catch(function() { + if (this.logNoteVerbose("callback function returned promise threw an error which was caught. Checking to see if further attempts should be made."), this._pollingCounter >= this._maxTries) return this.logNoteVerbose("polling promise iteration count max reached of " + this._maxTries + ". Now rejecting the polling promise."), this._reject(); + this.logNoteVerbose("polling promise iteration count of " + this._pollingCounter + " less than max of " + this._maxTries + ". Scheduling another timer interval callback."), this._scheduleCallbackFunc(); + }.bind(this)); + } catch (e3) { + return this.logError("error calling the polling callback function. Now rejecting the polling promise."), this._reject(); + } + } + _configure(e3, t3, i3, n3, a2, s2) { + this._reset(), this._callingArchObject = a2, this._callingMethodName = s2, this._callbackFunc = i3, this._callbackFuncParm = n3, this._maxTries = e3, this._pollingCounter = 0, this._pollingIntervalMs = t3, this._pollingQ = o.defer(), r.default.addPromise(this._pollingQ.promise, "ArchAsyncPolling"); + } + _incrementPollCount() { + this._pollingCounter++, this.logNoteVerbose("polling counter incremented to " + this._pollingCounter + " (max poll count: " + this._maxTries + ")"); + } + _reject() { + this.logNoteVerbose("rejecting the polling promise."), this._pollingQ.reject(), this._reset(); + } + _reset() { + this._callingArchObject = void 0, this._callingMethodName = "", this._callbackFunc = void 0, this._callbackFuncParm = void 0, this._maxTries = 0, this._pollingCounter = 0, this._pollingIntervalMs = 0, this._pollingQ = void 0; + } + _resolve(e3) { + this.logNote("resolving the polling promise."), this._pollingQ.resolve(), this._reset(); + } + _scheduleCallbackFunc() { + this.logNoteVerbose("scheduling polling promise callback timer to make callback in " + this._pollingIntervalMs + " millisecond(s)."), setTimeout(this._callCallbackFunc.bind(this), this._pollingIntervalMs); + } + beginAsyncPolling(e3, t3, i3, n3) { + return this._beginAsyncPolling(e3, t3, i3, n3, void 0, void 0, "beginAsyncPolling"); + } + get amPolling() { + return void 0 !== this._pollingQ; + } + get displayTypeName() { + return "ArchAsyncPolling"; + } + get logStr() { + const e3 = ["ArchAsyncPolling"]; + return this._callingArchObject && this._appendLogStrCallingArchObject(e3, this._callingArchObject), this._callingMethodName && this._appendLogStrCallingMethod(e3, this._callingMethodName), this._appendLogStrPart(e3, "AmPolling", void 0 !== this._pollingQ), void 0 !== this._pollingQ && (this._appendLogStrPart(e3, "PollingCounter", this._pollingCounter), this._appendLogStrPart(e3, "PollingInterval", this._pollingIntervalMs), this._appendLogStrPart(e3, "MaxTries", this._maxTries)), this._createLogStrFromParts(e3); + } + get isArchAsyncPolling() { + return true; + } + } + t2.default = s; + }, 66978(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(33231)), a = i2(9456), s = n2.__importDefault(i2(8471)); + class l extends s.default { + constructor() { + super(), this._asyncPromises = [], this._archPromiseAdded = false; + } + get displayTypeName() { + return "ArchAsyncTracker"; + } + get logStr() { + return this._createLogStrFromParts(["ArchAsyncTracker"]); + } + get isArchAsyncTracker() { + return true; + } + addPromise(e3, t3) { + if (this._checkItem(this._infoParm("promise", "addPromise"), !r.default.isPromiseAlike(e3), "not a valid promise"), e3.isFulfilled || (e3 = (0, r.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.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 = o.default.without(this._asyncPromises, i3); + }.bind(this)); + } + return e3; + } + _allSettled(e3, t3) { + 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..."), r.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)).catch((e4) => { + t3.reject(e4); + })) : t3.resolve(); + } + allSettled() { + const e3 = r.default.defer(); + return this._allSettled(0, e3), e3.promise; + } + reset() { + this.logNote("resetting async tracker, clearing " + this._asyncPromises.length + " tracked promise(s)"), this._asyncPromises = [], this._archPromiseAdded = false; + } + } + const u = new l(); + t2.default = u; + }, 41714(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(8471)), r = 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), I = i2(15787); + class C extends o.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 r.default.FLOW_TYPES.bot: + return a.botFlowListManager; + case r.default.FLOW_TYPES.commonModule: + return s.commonModuleFlowListManager; + case r.default.FLOW_TYPES.digitalBot: + return l.digitalBotFlowListManager; + case r.default.FLOW_TYPES.emailSend: + return u.emailSendFlowListManager; + case r.default.FLOW_TYPES.inboundCall: + return c.inboundFlowListManager; + case r.default.FLOW_TYPES.inboundChat: + return d.inboundChatListManager; + case r.default.FLOW_TYPES.inqueueCall: + return h.inqueueCallFlowListManager; + case r.default.FLOW_TYPES.inqueueEmail: + return m.inqueueEmailFlowListManager; + case r.default.FLOW_TYPES.inqueueShortMessage: + return g.inqueueShortMessageFlowListManager; + case r.default.FLOW_TYPES.outboundCall: + return f.outboundFlowListManager; + case r.default.FLOW_TYPES.secureCall: + return T.secureCallFlowListManager; + case r.default.FLOW_TYPES.inboundEmail: + return p.inboundEmailListManager; + case r.default.FLOW_TYPES.inboundShortMessage: + return _.inboundShortMessageListManager; + case r.default.FLOW_TYPES.surveyInvite: + return y.surveyInviteListManager; + case r.default.FLOW_TYPES.workflow: + return S.workflowListManager; + case r.default.FLOW_TYPES.workitem: + return A.workitemFlowListManager; + case r.default.FLOW_TYPES.voice: + return N.voiceFlowListManager; + case r.default.FLOW_TYPES.voicemail: + return v.voicemailFlowListManager; + case r.default.FLOW_TYPES.voiceSurvey: + return I.voiceSurveyFlowListManager; + default: + e3._itemIsInvalid(t3, "INTERNAL ERROR - unsupported flow type value of '" + i3 + "'."); + } + } + } + t2.default = new C(); + }, 98717(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchLogging = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 = ""; + o.default.each(arguments, function() { + e3 += "%s"; + }); + const t3 = Array.prototype.slice.call(arguments); + return (0, r.vsprintf)(e3, t3); + } + class T { + get lastError() { + return this._lastError; + } + set lastError(e3) { + this._lastError = e3; + } + get lastNote() { + return this._lastNote; + } + set lastNote(e3) { + this._lastNote = e3; + } + get lastWarning() { + return this._lastWarning; + } + set lastWarning(e3) { + this._lastWarning = e3; + } + constructor() { + this.logErrors = true, this.logNotes = true, this.logNotesVerbose = false, this.logNetworkActivity = false, this.logWarnings = true, l.serviceListen(l.rateLimited, function(e3) { + this.logNote(d.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)); + const t3 = setInterval(() => { + (e3 -= 5e3) > 0 ? this.logNote(d.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)) : clearInterval(t3); + }, 5e3); + }.bind(this)); + } + get _logHeader() { + return g; + } + _invokeCallbackLoggingHook(e3, t3, i3, n3, o2, r2) { + if (!this._loggingHook) return false; + try { + return true === this._loggingHook({ logType: e3, messageFull: t3, messageParts: { displayTypeName: r2, header: o2 || "[ArchLogging Default]", itemInfo: i3, message: n3 } }); + } catch (e4) { + s.errorAlways("Exception encountered calling Architect Scripting logging hook - '" + e4 + "'"); + } + return false; + } + _logToConsole(...e3) { + s.logAlways(...e3); + } + _getLoggingSettings() { + return { logErrors: this.logErrors, logNotes: this.logNotes, logNotesVerbose: this.logNotesVerbose, logNetworkActivity: this.logNetworkActivity, logWarnings: this.logWarnings }; + } + _restoreLoggingSettings(e3) { + o.default.isObject(e3) && (this.logErrors = e3.logErrors, this.logNotes = e3.logNotes, this.logNotesVerbose = e3.logNotesVerbose, this.logNetworkActivity = e3.logNetworkActivity, this.logWarnings = e3.logWarnings); + } + _suppressLogging() { + const e3 = this._getLoggingSettings(); + return this.logErrors = false, this.logNotes = false, this.logNotesVerbose = false, this.logNetworkActivity = false, this.logWarnings = false, e3; + } + _errorToConsole(...e3) { + s.errorAlways(...e3); + } + _warningToConsole(...e3) { + s.warnAlways(...e3); + } + _logItemCommon(e3, t3, i3, n3, o2, r2, s2, l2, p2) { + c.ParameterValidator.expectBool(e3, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "shouldLog"); + }.bind(this)), c.ParameterValidator.expectString(t3, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "logType"); + }.bind(this)), c.ParameterValidator.expectObject(i3, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "itemInfo"); + }.bind(this)), c.ParameterValidator.expectString(n3, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "itemMessage"); + }.bind(this)), c.ParameterValidator.expectString(o2, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "logHeader"); + }.bind(this)), c.ParameterValidator.expectString(r2, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "displayTypeName"); + }.bind(this)), c.ParameterValidator.expectBool(s2, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "wantInvalidMessage"); + }.bind(this)), c.ParameterValidator.expectString(l2, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "throwType"); + }.bind(this), true), c.ParameterValidator.expectBool(p2, function() { + return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "wantInErrorMessage"); + }.bind(this), true); + let m2 = ""; + switch (t3) { + case a.default.LOG_TYPES.error: + m2 = "ERROR!"; + break; + case a.default.LOG_TYPES.warning: + m2 = "WARNING!"; + } + const f2 = (function(e4, t4, i4, n4, o3, r3, 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}'`)), o3 && l3 ? s3 += " is invalid. Reason: " : a2 && l3 && (s3 += " is in error. Reason: "), l3 || (s3 += "- "), s3.endsWith(" ") || (s3 += " "), r3 && (s3 += `${r3} `), s3 += t4, t4.length && !t4.endsWith(".") && (s3 += "."), i4 === g && (i4 = void 0), i4 && (s3 += d.cyan(` -- ${i4}`)), s3; + })(i3, n3, o2, r2, s2, m2, p2); + if (e3) switch (this._invokeCallbackLoggingHook(t3, f2, i3, n3, o2, r2) || (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: + this.lastError = f2; + break; + case a.default.LOG_TYPES.warning: + this.lastWarning = f2; + break; + case a.default.LOG_TYPES.info: + this.lastNote = f2; + } + switch (l2) { + case h: + throw n3; + case _: + throw f2; + } + } + get displayTypeName() { + return m; + } + itemInvalid(e3, t3, i3, n3, o2) { + this._logItemCommon(this.logErrors && !!o2, a.default.LOG_TYPES.error, e3, t3, i3, n3, true, _); + } + itemError(e3, t3, i3, n3) { + this._logItemCommon(this.logErrors, a.default.LOG_TYPES.error, e3, t3, i3, n3, false, p, true); + } + itemNote(e3, t3, i3, n3) { + this._logItemCommon(this.logNotes, a.default.LOG_TYPES.info, e3, t3, i3, n3, false, p); + } + itemNoteVerbose(e3, t3, i3, n3) { + this._logItemCommon(this.logNotesVerbose, a.default.LOG_TYPES.info, e3, t3, i3, n3, false, p); + } + itemThrow(e3, t3, i3, n3) { + this._logItemCommon(false, a.default.LOG_TYPES.error, e3, t3, i3, n3, false, _); + } + itemWarning(e3, t3, i3, n3) { + this._logItemCommon(this.logWarnings, a.default.LOG_TYPES.warning, e3, t3, i3, n3, false, p); + } + logError(...e3) { + this._logItemCommon(this.logErrors, a.default.LOG_TYPES.error, { methodName: "logError", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + } + logErrorAndThrow(...e3) { + this._logItemCommon(this.logErrors, a.default.LOG_TYPES.error, { methodName: "logErrorAndThrow", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, h); + } + logNote(...e3) { + this._logItemCommon(this.logNotes, a.default.LOG_TYPES.info, { methodName: "logNote", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + } + logNoteVerbose(...e3) { + this._logItemCommon(this.logNotesVerbose, a.default.LOG_TYPES.info, { methodName: "logNoteVerbose", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + } + logWarning(...e3) { + this._logItemCommon(this.logWarnings, a.default.LOG_TYPES.warning, { methodName: "logWarning", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + } + setLoggingCallback(e3) { + const t3 = { label: "loggingCallback", methodName: "setLoggingCallback", title: "Parameter" }; + o.default.isFunction(e3) || this.itemInvalid(t3, "The value is not a valid JavaScript function.", this._logHeader, this.displayTypeName), this._loggingHook = e3, this.itemNote(t3, "Logging callback hook successfully set.", this._logHeader, this.displayTypeName); + } + } + t2.ArchLogging = T, t2.default = new T(); + }, 2600(e2, t2, i2) { + "use strict"; + function n2(e3) { + if (void 0 !== e3 && "" !== e3 && "" !== e3) try { + return JSON.parse(e3); + } catch (t3) { + return e3; + } + } + let o; + 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 o2 = {}; + void 0 !== e4.statusCode && (o2.statusCode = e4.statusCode), e4.statusMessage && (o2.statusMessage = e4.statusMessage), e4.correlationId && (o2.correlationId = e4.correlationId); + const r2 = n2(e4.responseBody); + return void 0 !== r2 && (o2.body = r2), e4.errorCode && (o2.errorCode = e4.errorCode), e4.errorMessage && (o2.errorMessage = e4.errorMessage), { request: t4, response: o2 }; + }); + 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); + o = new e3(); + } catch (e3) { + o = void 0; + } + const r = new class { + constructor() { + this._captureEnabled = false, this._logEnabled = false, this._buffer = []; + } + get captureEnabled() { + return this._captureEnabled; + } + set captureEnabled(e3) { + this._captureEnabled = !!e3, this._captureEnabled || (this.clear(), this._logEnabled = false); + } + get logEnabled() { + return this._logEnabled; + } + set logEnabled(e3) { + this._logEnabled = !!e3 && this._captureEnabled; + } + _activeCollection() { + var e3; + return null !== (e3 = null == o ? void 0 : o.getStore()) && void 0 !== e3 ? e3 : this._buffer; + } + runInScope(e3) { + return this._captureEnabled && o ? (o.getStore() || (this._buffer = []), o.run([], e3)) : (this._captureEnabled && (this._buffer = []), e3()); + } + captureScope() { + if (this._captureEnabled) return null == o ? void 0 : o.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 == o ? void 0 : o.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 == o ? void 0 : o.getStore(); + e3 ? e3.length = 0 : this._buffer = []; + } + }(); + t2.default = r; + }, 72203(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchNetworkValueCache = void 0; + const n2 = i2(31635).__importDefault(i2(8471)); + var o; + !(function(e3) { + e3.ID = "id", e3.VALUE = "value"; + })(o || (o = {})); + class r extends n2.default { + constructor() { + super(), this._idCacheByType = /* @__PURE__ */ new Map(), this._valueCacheByType = /* @__PURE__ */ new Map(), this._maxCacheSizePerType = 1e3, this._maxTotalCacheSize = 5e3, this._defaultTTL = 18e5, this._cleanupInterval = 15e3, this._cleanupTimer = null, this._cacheHits = 0, this._cacheMisses = 0, this._cacheEnabled = false, this._showDiagnostics = false, this._cleanupRefCount = 0, this._maxTotalMemoryBytes = 268435456, this._currentMemoryBytes = 0; + } + get displayTypeName() { + return "ArchNetworkValueCache"; + } + get logStr() { + return "ArchNetworkValueCache"; + } + get _isCleaningUp() { + return this._cleanupRefCount > 0; + } + _runCleanup(e3) { + this._cleanupRefCount++; + try { + e3(); + } finally { + this._cleanupRefCount--; + } + } + get cacheEnabled() { + return this._cacheEnabled; + } + set cacheEnabled(e3) { + const t3 = this._infoPropSet("enabled", "cacheEnabled"); + this._checkItemIsValidLiteralBool(t3, e3, false), e3 !== this._cacheEnabled && (this.logNote(`setting caching to enabled = '${e3}'`), e3 && !this._cacheEnabled ? this._startCacheCleanup() : !e3 && this._cacheEnabled && this._stopCacheCleanup(), this._cacheEnabled = e3); + } + get showDiagnostics() { + return this._showDiagnostics; + } + set showDiagnostics(e3) { + this.logNote(`setting show diagnostics to enabled = '${e3}'`), this._showDiagnostics = e3; + } + _getTotalCacheSize() { + let e3 = 0; + for (const t3 of this._idCacheByType.values()) e3 += t3.size; + for (const t3 of this._valueCacheByType.values()) e3 += t3.size; + return e3; + } + _estimateBytes(e3, t3 = 0, i3) { + if (null == e3) return 8; + const n3 = typeof e3; + if ("boolean" === n3) return 4; + if ("number" === n3) return 8; + if ("string" === n3) return 2 * e3.length + 40; + if ("object" === n3) { + if (i3 || (i3 = /* @__PURE__ */ new Set()), i3.has(e3)) return 0; + i3.add(e3); + } + if (t3 >= 6) try { + const t4 = JSON.stringify(e3); + return Math.min(2 * t4.length, 524288); + } catch (e4) { + return 1024; + } + if (Array.isArray(e3)) { + let n4 = 40; + const o2 = e3, r2 = Math.min(o2.length, 50); + let a2 = 0; + for (let e4 = 0; e4 < r2; e4++) a2 += this._estimateBytes(o2[e4], t3 + 1, i3); + return o2.length > r2 ? n4 += a2 / r2 * o2.length : n4 += a2, n4; + } + if ("object" === n3) { + let n4 = 64; + const o2 = Object.keys(e3), r2 = Math.min(o2.length, 50); + let a2 = 0; + for (let n5 = 0; n5 < r2; n5++) a2 += 2 * o2[n5].length + 40, a2 += this._estimateBytes(e3[o2[n5]], t3 + 1, i3); + return o2.length > r2 ? n4 += a2 / r2 * o2.length : n4 += a2, n4; + } + return 8; + } + _getOrCreateCacheForType(e3, t3) { + const i3 = e3 === o.ID ? this._idCacheByType : this._valueCacheByType; + return i3.has(t3) || i3.set(t3, /* @__PURE__ */ new Map()), i3.get(t3); + } + _generateCacheKey(e3) { + return [e3.method, e3.identifier, e3.searchProperty || "", e3.wireProperty || "", JSON.stringify(e3.additionalParams || {}), JSON.stringify(e3.filter || {})].join("::ARCH_CACHE_SEP::"); + } + _getDependencyType(e3) { + var t3; + return (null === (t3 = e3.dependencyType) || void 0 === t3 ? void 0 : t3.name) || "unknown"; + } + _hasValidDependencyType(e3) { + var t3; + return !!(null === (t3 = e3.dependencyType) || void 0 === t3 ? void 0 : t3.name); + } + _getFromCache(e3, t3, i3) { + if (!this._cacheEnabled) return null; + const n3 = "findItemByIdAsync" === t3 ? o.ID : o.VALUE, r2 = this._getOrCreateCacheForType(n3, i3), a2 = r2.get(e3); + return a2 ? Date.now() - a2.timestamp > a2.ttl ? (this._currentMemoryBytes -= a2.estimatedBytes, r2.delete(e3), null) : a2.data : null; + } + _setCache(e3, t3, n3, r2, a2) { + if (!this._cacheEnabled || this._isCleaningUp) return; + if ("undefined" != typeof process && "function" == typeof process.memoryUsage) try { + const e4 = i2(11493).getHeapStatistics(), t4 = e4.used_heap_size / e4.heap_size_limit; + if (t4 > 0.85) return this._runCleanup(() => this._cleanupByMemoryPressure()), void this.logNote(`High memory usage detected (${(100 * t4).toFixed(0)}% of heap limit). Temporarily pausing caching and freeing cached data to prevent out-of-memory errors.`); + } catch (e4) { + } + const s = "findItemByIdAsync" === n3 ? o.ID : o.VALUE, l = this._getOrCreateCacheForType(s, r2); + l.size >= this._maxCacheSizePerType && this._runCleanup(() => this._cleanupCacheForType(s, r2)), 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 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; + const i3 = this._getOrCreateCacheForType(e3, t3), n3 = Date.now(), o2 = []; + for (const [e4, t4] of i3.entries()) n3 - t4.timestamp > t4.ttl && o2.push(e4); + if (o2.forEach((e4) => { + const t4 = i3.get(e4); + t4 && (this._currentMemoryBytes -= t4.estimatedBytes), i3.delete(e4); + }), i3.size >= this._maxCacheSizePerType) { + const e4 = Array.from(i3.entries()); + e4.sort((e5, t4) => e5[1].timestamp - t4[1].timestamp), e4.slice(0, Math.floor(0.2 * this._maxCacheSizePerType)).forEach(([e5, t4]) => { + this._currentMemoryBytes -= t4.estimatedBytes, i3.delete(e5); + }); + } + } + _cleanupGlobalCache() { + if (!this._cacheEnabled) return; + if (this._getTotalCacheSize() < this._maxTotalCacheSize) return; + const e3 = []; + for (const [t4, i3] of this._idCacheByType.entries()) for (const [n3, r2] of i3.entries()) e3.push({ key: n3, entry: r2, cacheType: o.ID, dependencyType: t4 }); + for (const [t4, i3] of this._valueCacheByType.entries()) for (const [n3, r2] of i3.entries()) e3.push({ key: n3, entry: r2, cacheType: o.VALUE, dependencyType: t4 }); + e3.sort((e4, t4) => e4.entry.timestamp - t4.entry.timestamp); + const t3 = e3.slice(0, Math.floor(0.2 * this._maxTotalCacheSize)); + for (const { key: e4, cacheType: i3, dependencyType: n3 } of t3) { + const t4 = (i3 === o.ID ? this._idCacheByType : this._valueCacheByType).get(n3); + if (t4) { + const i4 = t4.get(e4); + i4 && (this._currentMemoryBytes -= i4.estimatedBytes), t4.delete(e4); + } + } + this._showDiagnostics && this.logNote(`Cache cleanup: removed ${t3.length} older entries to stay within the global entry limit.`); + } + _cleanupByMemoryPressure() { + if (!this._cacheEnabled) return; + const e3 = Math.floor(0.8 * this._maxTotalMemoryBytes); + if (this._currentMemoryBytes <= e3) return; + const t3 = []; + for (const [e4, i4] of this._idCacheByType.entries()) for (const [n4, r2] of i4.entries()) t3.push({ key: n4, entry: r2, cacheType: o.ID, dependencyType: e4 }); + for (const [e4, i4] of this._valueCacheByType.entries()) for (const [n4, r2] of i4.entries()) t3.push({ key: n4, entry: r2, cacheType: o.VALUE, dependencyType: e4 }); + t3.sort((e4, t4) => t4.entry.estimatedBytes - e4.entry.estimatedBytes); + let i3 = 0, n3 = 0; + for (const { key: r2, entry: a2, cacheType: s, dependencyType: l } of t3) { + if (this._currentMemoryBytes <= e3) break; + const t4 = (s === o.ID ? this._idCacheByType : this._valueCacheByType).get(l); + t4 && (t4.delete(r2), this._currentMemoryBytes -= a2.estimatedBytes, n3 += a2.estimatedBytes, i3++); + } + this._showDiagnostics && this.logNote(`Cache cleanup: freed ~${(n3 / 1024 / 1024).toFixed(1)} MB by removing ${i3} cached entries to reduce memory usage.`); + } + _cleanupCache() { + this._cacheEnabled && !this._isCleaningUp && this._runCleanup(() => { + for (const e3 of this._idCacheByType.keys()) this._cleanupCacheForType(o.ID, e3); + for (const e3 of this._valueCacheByType.keys()) this._cleanupCacheForType(o.VALUE, e3); + try { + const e3 = i2(11493).getHeapStatistics(); + e3.used_heap_size / e3.heap_size_limit > 0.8 && this._cleanupByMemoryPressure(); + } catch (e3) { + } + }); + } + _startCacheCleanup() { + this._cleanupTimer && clearInterval(this._cleanupTimer), this._cleanupTimer = setInterval(() => { + this._cleanupCache(); + }, this._cleanupInterval); + } + _stopCacheCleanup() { + this._cleanupTimer && (clearInterval(this._cleanupTimer), this._cleanupTimer = null); + } + generateIdCacheKey(e3, t3, i3, n3) { + const o2 = { method: "findItemByIdAsync", dependencyType: this._getDependencyType(e3), identifier: t3, loggingLabel: i3, additionalParams: n3 }; + return this._generateCacheKey(o2); + } + generateValueCacheKey(e3, t3, i3, n3, o2, r2, a2) { + const s = { method: "findItemByValueAsync", dependencyType: this._getDependencyType(e3), identifier: t3, loggingLabel: i3, searchProperty: n3, wireProperty: o2, filter: r2, additionalParams: a2 }; + return this._generateCacheKey(s); + } + generateLoadAllCacheKey(e3, t3, i3, n3) { + const o2 = { method: "loadAllItemsAsync", dependencyType: this._getDependencyType(e3), identifier: "*", loggingLabel: t3, searchProperty: i3, wireProperty: n3 }; + return this._generateCacheKey(o2); + } + getFromIdCache(e3, t3) { + if (!this._cacheEnabled) return null; + const i3 = this._getDependencyType(t3), n3 = this._getFromCache(e3, "findItemByIdAsync", i3); + return n3 ? (this._cacheHits++, this._showDiagnostics && this.logNote(`Cache hit for ID lookup: ${i3} - ${e3}`)) : this._showDiagnostics && this.logNote(`Cache miss for ID lookup: ${i3} - ${e3}`), n3; + } + getFromValueCache(e3, t3) { + if (!this._cacheEnabled) return null; + const i3 = this._getDependencyType(t3), n3 = this._getFromCache(e3, "findItemByValueAsync", i3); + return n3 ? (this._cacheHits++, this._showDiagnostics && this.logNote(`Cache hit for value lookup: ${i3} - ${e3}`)) : this._showDiagnostics && this.logNote(`Cache miss for value lookup: ${i3} - ${e3}`), n3; + } + setInIdCache(e3, t3, i3, n3) { + if (!this._cacheEnabled) return; + const o2 = this._getDependencyType(i3); + this._setCache(e3, t3, "findItemByIdAsync", o2, n3), this._cacheMisses++, this._showDiagnostics && this.logNote(`adding to cache for ID lookup: ${o2} - ${e3}`); + } + setInValueCache(e3, t3, i3, n3) { + if (!this._cacheEnabled) return; + const o2 = this._getDependencyType(i3); + this._setCache(e3, t3, "findItemByValueAsync", o2, n3), this._cacheMisses++, this._showDiagnostics && this.logNote(`adding to cache for value lookup: ${o2} - ${e3}`); + } + clearCache() { + this._idCacheByType.clear(), this._valueCacheByType.clear(), this._currentMemoryBytes = 0; + } + clearCacheForDependencyType(e3) { + if (!this._cacheEnabled) return; + const t3 = this._idCacheByType.get(e3); + if (t3) for (const e4 of t3.values()) this._currentMemoryBytes -= e4.estimatedBytes; + const i3 = this._valueCacheByType.get(e3); + if (i3) for (const e4 of i3.values()) this._currentMemoryBytes -= e4.estimatedBytes; + this._idCacheByType.delete(e3), this._valueCacheByType.delete(e3); + } + getCacheStats() { + if (!this._cacheEnabled) return null; + let e3 = 0, t3 = 0; + for (const t4 of this._idCacheByType.values()) e3 += t4.size; + for (const e4 of this._valueCacheByType.values()) t3 += e4.size; + const i3 = this._cacheHits + this._cacheMisses, n3 = i3 > 0 ? this._cacheHits / i3 * 100 : 0; + return { idCacheSize: e3, valueCacheSize: t3, maxSizePerType: this._maxCacheSizePerType, maxTotalSize: this._maxTotalCacheSize, hitRate: `${n3.toFixed(1)}%`, totalHits: this._cacheHits, totalMisses: this._cacheMisses, estimatedMemoryMB: `${(this._currentMemoryBytes / 1024 / 1024).toFixed(1)} MB`, maxMemoryMB: `${(this._maxTotalMemoryBytes / 1024 / 1024).toFixed(1)} MB` }; + } + logCacheStats() { + const e3 = this.getCacheStats(); + this.logNote(`id cache size: ${e3.idCacheSize}, value cache size: ${e3.valueCacheSize}, max size per type: ${e3.maxSizePerType}, max total size: ${e3.maxTotalSize}, hit rate: ${e3.hitRate}, total hits: ${e3.totalHits}, total misses: ${e3.totalMisses}, estimated memory: ${e3.estimatedMemoryMB}, max memory: ${e3.maxMemoryMB}`); + } + getCacheStatsForDependencyType(e3) { + if (!this._cacheEnabled) return null; + const t3 = this._idCacheByType.get(e3), i3 = this._valueCacheByType.get(e3); + if (!t3 && !i3) return null; + const n3 = (null == t3 ? void 0 : t3.size) || 0, o2 = (null == i3 ? void 0 : i3.size) || 0, r2 = this._cacheHits + this._cacheMisses; + return { dependencyType: e3, idCacheSize: n3, valueCacheSize: o2, hitRate: `${(r2 > 0 ? this._cacheHits / r2 * 100 : 0).toFixed(1)}%`, totalHits: this._cacheHits, totalMisses: this._cacheMisses }; + } + getDependencyTypes() { + const e3 = /* @__PURE__ */ new Set(); + for (const t3 of this._idCacheByType.keys()) e3.add(t3); + for (const t3 of this._valueCacheByType.keys()) e3.add(t3); + return Array.from(e3); + } + hasValidDependencyType(e3) { + return this._hasValidDependencyType(e3); + } + destroy() { + this._stopCacheCleanup(), this.clearCache(), this._cacheHits = 0, this._cacheMisses = 0, this._cleanupRefCount = 0; + } + } + t2.ArchNetworkValueCache = r; + const a = new r(); + t2.default = a; + }, 56549(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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(); + } + get displayTypeName() { + return "ArchNetworkValueRetrieval"; + } + get logStr() { + return this._createLogStrFromParts(["ArchNetworkValueRetrieval"]); + } + _checkoutFlow(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const t3 = f.checkOut(e3.id); + return yield l.default.addPromise(t3, "checkoutFlow"); + }); + } + _checkoutFlowByFlowInfoAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = e3.lockedUser, n3 = null == r ? void 0 : r.getConnectedUser(); + if (i3 && n3 && n3.id === i3.id) { + const t4 = Promise.resolve(); + return l.default.addPromise(t4, "checkoutFlowByFlowInfoAsync"), e3; + } + if (i3 && t3) { + const t4 = f.unlock(e3.id); + return yield t4, this._checkoutFlow(e3); + } + return this._checkoutFlow(e3); + }); + } + _loadFlowByFlowInfoAsync(e3, t3, i3, r2, s2, p2) { + return n2.__awaiter(this, void 0, void 0, function* () { + let n3, _2; + d.ParameterValidator.expectFlowViewModel(e3, () => c.ParameterInfo.createFunctionParameter(this.displayTypeName, "_loadFlowByFlowInfoAsync", "coreFlowViewModel"), false), this._checkItemIsValidLiteralString(this._infoParm(r2, "_loadFlowByFlowInfoAsync"), r2), 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", r2); + if (i3 && !o.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; + } + { + const t4 = l.default.addPromise(n3, "loadFlowByFlowInfoAsync"), i4 = yield t4; + return yield u.tryLoadConfig(e3, i4), p2 ? e3.info.versions.loadedConfigurationVersion(a.default.FLOW_VERSIONS.latest) : _2 && e3.info.versions.loadedConfigurationVersion(_2), e3; + } + }); + } + _unlockFlowAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (e3.lockedUser) return l.default.addPromise(f.unlock(e3.id), "unlockFlowAsync"); + { + const t3 = Promise.resolve(); + return l.default.addPromise(t3, "unlockFlowAsync"), e3; + } + }); + } + findItemByIdAsync(e3, t3, i3, o2) { + 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}'`); + const r2 = () => n2.__awaiter(this, void 0, void 0, function* () { + try { + const n3 = s.default.generateIdCacheKey(e3, t3, i3, o2), r3 = s.default.getFromIdCache(n3, e3); + if (r3) return this.logNote(`'${i3}' by id '${t3}' was found in cache`), r3; + const a2 = e3.fetchItem(t3, false, o2), 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(r2) : r2(); + }); + } + findItemByValueAsync(e3, t3, i3, r2, a2, u2, c2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), r2, true), this._checkItemIsValidLiteralString(this._infoParm("wireProperty", "findItemByValueAsync"), a2, true), r2 || (r2 = "name"), a2 || (a2 = r2), this.logNote(`find '${i3}' by property value where '${r2}' = '${t3}'`); + const d2 = () => n2.__awaiter(this, void 0, void 0, function* () { + var n3; + try { + const d3 = s.default.generateValueCacheKey(e3, t3, i3, r2, 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, r2, 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 (o.default.isObject(u2) && (g2 = o.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 o2; + 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 ? o2 ? (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."), o2 = 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, o2, e3), o2; + } + 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); + } + }); + return p.default.captureEnabled ? p.default.runInScope(d2) : d2(); + }); + } + loadAllItemsAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemUndefinedOrNull(this._infoParm("configListManager", "loadAllItemsAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("loggingLabel", "loadAllItemsAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("searchProperty", "loadAllItemsAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("wireProperty", "loadAllItemsAsync"), o2, true), i3 || (i3 = "name"), o2 || (o2 = i3), this.logNote(`load all '${t3}' where '${i3}' = '*'`); + try { + const n3 = s.default.generateLoadAllCacheKey(e3, t3, i3, o2), r2 = s.default.getFromValueCache(n3, e3); + if (r2) return this.logNote(`load all '${t3}' was found in cache`), r2; + 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]; + return s.default.setInValueCache(n3, t4, e3), t4; + } + return l2.length > 1 ? (this.logNote(`load all '${t3}' - found ${l2.length} items.`), s.default.setInValueCache(n3, l2, e3), l2) : (this.logError(`load all '${t3}' - no items.`), []); + } catch (e4) { + throw this.logError(`load all '${t3}' - Failed to load items.`), e4; + } + }); + } + } + const A = new S(); + t2.default = A; + }, 58241(e2, t2, i2) { + "use strict"; + t2.withTimeout = function(e3, t3, i3) { + const o = n2.defer(); + let r = false; + const a = setTimeout(() => { + r || (r = true, o.reject(new Error(i3))); + }, t3); + return Promise.resolve(e3).then((e4) => { + r || (r = true, clearTimeout(a), o.resolve(e4)); + }, (e4) => { + r || (r = true, clearTimeout(a), o.reject(e4)); + }), o.promise; + }; + const n2 = i2(33231); + }, 46292(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(78641)), r = 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: o.default, archAsyncTracker: r.default, archCoreService: a.default, archLogging: s.default, archNetworkDiagnostics: l.default, archNetworkValueCache: u.default, archNetworkValueRetrieval: c.default }; + t2.default = d; + }, 965(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = i2(30801), a = o.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.message), "f"); + } + get _actionTypeId() { + return r.abortSendActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAbortSend() { + return true; + } + get message() { + return o.__classPrivateFieldGet(this, n2, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; + }, 27752(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3) { + super(e3), this._disposition = this.coreFactory.createArchWrapper(e3.disposition); + } + get _actionTypeId() { + return o.abortSurveyActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAbortSurveyInvite() { + return true; + } + get disposition() { + return this._disposition; + } + setLiteralDisposition(e3) { + const t3 = this._infoPropSet("newDisposition", "disposition"); + this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.ABORT_SURVEY_INVITE_DISPOSITIONS_ALL), this._coreActionViewModel.disposition.setAsLiteral(e3), this.logNote("disposition set to '" + this.disposition + "'"); + } + } + t2.default = s; + }, 75810(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(39292)), l = i2(37120); + class u extends s.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.addFlowMilestoneActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAddFlowMilestone() { + return true; + } + get flowMilestoneId() { + return this._getCoreViewModel().milestoneId; + } + get flowMilestoneName() { + return this._getCoreViewModel().milestoneName; + } + setFlowMilestoneByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("flowMilestoneId", "setFlowMilestoneByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowMilestoneByIdAsync"), t3, true), r.default.findItemByIdAsync(l.milestoneManager, e3, "flowMilestoneId").then(function(i3) { + return this.logNote("found the flow milestone named '" + i3.name + "' for the flow milestone ID of '" + e3 + "'"), this._coreActionViewModel.milestone.setValue(i3), a.default.executeCallback(this, "setFlowMilestoneByIdAsync", t3, this); + }.bind(this)); + } + setFlowMilestoneByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("flowMilestoneName", "setFlowMilestoneByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowMilestoneByNameAsync"), t3, true), r.default.findItemByValueAsync(l.milestoneManager, e3, "flow milestone", "name", "name").then(function(i3) { + return this.logNote(`Found info for the flow milestone named '${i3.name}' for the passed flow milestone name of '${e3}'.`), this._coreActionViewModel.milestone.setValue(i3), a.default.executeCallback(this, "setFlowMilestoneByNameAsync", t3, this); + }.bind(this)); + } + } + t2.default = u; + }, 43927(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(15453)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._currentIndex = this.coreFactory.createArchValueFromExpression(e3.currentIndex), this._voiceEndOfInputTimeout = this.coreFactory.createArchWrapper(e3.voiceEndOfInputTimeout); + } + get _actionTypeId() { + return o.agenticAnythingElseActionType; + } + get currentIndex() { + return this._currentIndex; + } + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAgenticAnythingElse() { + return true; + } + } + t2.default = r; + }, 96366(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = 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 o.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(r.outputIds.failure, true); + } + get outputTimeout() { + return this._getOutputById(r.outputIds.timeout, true); + } + get outputMaxNoInputs() { + return this._getOutputById(r.outputIds.maxNoInputs, true); + } + get outputMaxNoMatches() { + return this._getOutputById(r.outputIds.maxNoMatches, true); + } + } + t2.default = s; + }, 68301(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(13002)); + class u extends l.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.signInMessage), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.successMessage), "f"), a.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(e3.authenticationCompletionTimeout), "f"); + } + get _actionTypeId() { + return s.askForAuthenticationActionType; + } + get displayTypeName() { + return "ArchActionAskForAuthentication"; + } + get isArchActionAskForAuthentication() { + return true; + } + get signInMessage() { + return a.__classPrivateFieldGet(this, n2, "f"); + } + get successMessage() { + return a.__classPrivateFieldGet(this, o, "f"); + } + get authenticationCompletionTimeout() { + return a.__classPrivateFieldGet(this, r, "f"); + } + get askForAuthenticationOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 46421(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = i2(26847), a = n2.__importDefault(i2(90077)); + class s extends a.default { + constructor(e3) { + super(e3), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn); + } + get _actionTypeId() { + return o.askForBooleanActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAskForBoolean() { + return true; + } + get enableBargeIn() { + return this._enableBargeIn; + } + get outputMaxNoInputs() { + return this._getOutputById(r.outputIds.maxNoInputs, true); + } + get outputMaxNoMatches() { + return this._getOutputById(r.outputIds.maxNoMatches, true); + } + } + t2.default = s; + }, 36967(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = i2(26847), a = n2.__importDefault(i2(90077)); + class s extends a.default { + constructor(e3) { + super(e3), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._knowledgeSearchResult = this.coreFactory.createArchWrapper(e3.knowledgeSearchResult); + } + get _actionTypeId() { + return o.askForNLUIntentActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAskForIntent() { + return true; + } + get enableBargeIn() { + return this._enableBargeIn; + } + get outputKnowledge() { + return this._getOutputById(r.outputIds.knowledge, true); + } + get outputNoIntent() { + return this._getOutputById(r.outputIds.noIntent, true); + } + get outputMaxNoInputs() { + return this._getOutputById(r.outputIds.maxNoInputs, true); + } + get knowledgeSearchResult() { + return this._knowledgeSearchResult; + } + set knowledgeSearchResult(e3) { + this._knowledgeSearchResult = e3; + } + } + t2.default = s; + }, 68783(e2, t2, i2) { + "use strict"; + var n2, o, r, 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), o.set(this, void 0), r.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, o, this.coreFactory.createArchWrapper(e3.countryCode), "f"), h.__classPrivateFieldSet(this, r, 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; + } + get displayTypeName() { + return "ArchActionAskForPayment"; + } + get isArchActionAskForPayment() { + return true; + } + get currency() { + return h.__classPrivateFieldGet(this, n2, "f"); + } + get countryCode() { + return h.__classPrivateFieldGet(this, o, "f"); + } + get paymentPlatform() { + return h.__classPrivateFieldGet(this, r, "f"); + } + get lineItems() { + return h.__classPrivateFieldGet(this, a, "f"); + } + get shippingOptions() { + return h.__classPrivateFieldGet(this, s, "f"); + } + get totalPrice() { + return h.__classPrivateFieldGet(this, l, "f"); + } + get receivedMessageImage() { + return h.__classPrivateFieldGet(this, u, "f"); + } + get receivedMessageTitle() { + return h.__classPrivateFieldGet(this, c, "f"); + } + get replyMessageTitle() { + return h.__classPrivateFieldGet(this, d, "f"); + } + get requiredContactInformation() { + return h.__classPrivateFieldGet(this, p, "f"); + } + get paymentCompletionTimeout() { + return h.__classPrivateFieldGet(this, _, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__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; + }, 7221(e2, t2, i2) { + "use strict"; + var n2, o, r, 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), v = i2(19284); + class I extends T.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.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, o, this.coreFactory.createArchWrapper(e3.chooser), "f"), g.__classPrivateFieldSet(this, r, 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; + } + get displayTypeName() { + return "ArchActionAskForSlot"; + } + get isArchActionAskForSlot() { + return true; + } + get enableBargeIn() { + return g.__classPrivateFieldGet(this, l, "f"); + } + get askResult() { + return g.__classPrivateFieldGet(this, n2, "f"); + } + get chooser() { + return g.__classPrivateFieldGet(this, o, "f"); + } + get confirmationMode() { + return g.__classPrivateFieldGet(this, r, "f"); + } + get confirmationQuestion() { + return g.__classPrivateFieldGet(this, a, "f"); + } + get customValidation() { + return g.__classPrivateFieldGet(this, s, "f"); + } + setLiteralConfirmationMode(e3) { + const t3 = this._infoParm("newConfirmationMode", "setLiteralConfirmationMode"); + this._checkItemIsValidLiteralStringEnum(t3, e3, y.default.BOT_CONFIRMATION_MODES_ALL), this._getCoreViewModel().confirmationMode.setAsLiteral(e3), this.logNote(`confirmation mode set to '${this._getCoreViewModel().confirmationMode.text}'`); + } + setSlot(e3, t3) { + const i3 = this._infoParm("slotName", "setSlot"); + this._checkItemIsValidLiteralString(i3, e3, false), this._checkItemIsValidLiteralBool(i3, t3, true), this._getCoreViewModel().setSelectedSlotNameAndType(e3, void 0, t3); + } + get grammar() { + return g.__classPrivateFieldGet(this, u, "f"); + } + get speechToTextEngineName() { + var e3; + return null === (e3 = this._getCoreViewModel().speechToTextEngine) || void 0 === e3 ? void 0 : e3.nameValue; + } + get speechToTextEngineId() { + var e3; + return null === (e3 = this._getCoreViewModel().speechToTextEngine) || void 0 === e3 ? void 0 : e3.idValue; + } + 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(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(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, c, "f"); + } + get speechToTextEngineConfidenceLevel() { + return g.__classPrivateFieldGet(this, d, "f"); + } + get outputMaxNoInputs() { + return this._getOutputById(N.outputIds.maxNoInputs, true); + } + get outputMaxNoMatches() { + return this._getOutputById(N.outputIds.maxNoMatches, true); + } + get outputSkipResponseCapture() { + return this._getOutputById(N.outputIds.skipResponseCapture, true); + } + get repromptHandling() { + return g.__classPrivateFieldGet(this, p, "f"); + } + get continuationPrompt() { + return g.__classPrivateFieldGet(this, _, "f"); + } + get continuationReprompts() { + return g.__classPrivateFieldGet(this, h, "f"); + } + get customizeContinuation() { + return g.__classPrivateFieldGet(this, m, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__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 = I; + }, 73506(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(90077)); + class a extends r.default { + constructor(e3) { + super(e3), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._surveyQuestion = this.coreFactory.createArchWrapper(e3.surveyQuestion), this._surveyQuestionResult = this.coreFactory.createArchWrapper(e3.surveyQuestionResult), this._questionCondition = this.coreFactory.createArchWrapper(e3.questionCondition), this._answer = this.coreFactory.createArchWrapper(e3.answer), this._followUpQuestion = this.coreFactory.createArchWrapper(e3.followUpQuestion), this._notApplicable = this.coreFactory.createArchWrapper(e3.notApplicable); + } + get _actionTypeId() { + return o.askSurveyQuestionActionType; + } + get displayTypeName() { + return "ArchActionAskSurveyQuestion"; + } + get isArchActionAskSurveyQuestion() { + return true; + } + get enableBargeIn() { + return this._enableBargeIn; + } + get surveyQuestion() { + return this._surveyQuestion; + } + configureFromQuestionText(e3) { + this._checkItemIsValidLiteralString(this._infoParm("questionText", "configureFromQuestionText"), e3, false), this._getCoreViewModel().configureFromArchSurveyQuestionText(e3) || this.logErrorAndThrow(`the survey question with text '${e3}' could not be found on the survey form associated with this flow.`); + } + configureFromQuestionId(e3) { + this._checkItemIsValidLiteralString(this._infoParm("questionId", "configureFromQuestionId"), e3, false), this._getCoreViewModel().configureFromArchSurveyQuestionId(e3) || this.logErrorAndThrow(`the survey question identifier of '${e3} is not valid for this voice survey flow. Make sure that it is valid for the survey form associated with this flow.`); + } + get surveyQuestionResult() { + return this._surveyQuestionResult; + } + get questionCondition() { + return this._questionCondition; + } + get answer() { + return this._answer; + } + get followUpQuestion() { + return this._followUpQuestion; + } + get notApplicable() { + return this._notApplicable; + } + } + t2.default = a; + }, 92299(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3), this._externalContactId = this.coreFactory.createArchWrapper(e3.externalContactId), this._customerSegment = this.coreFactory.createArchWrapper(e3.customerSegment); + } + get _actionTypeId() { + return o.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; + }, 73177(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = i2(30801), a = o.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.enableMonitoring), "f"); + } + get _actionTypeId() { + return r.audioMonitoringActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionAudioMonitoring() { + return true; + } + get enableMonitoring() { + return o.__classPrivateFieldGet(this, n2, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; + }, 35284(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(12361), r = 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); + } + get _actionTypeId() { + return r.callAgenticVirtualAgentActionType; + } + get isArchActionCallAgenticVirtualAgent() { + return true; + } + get displayTypeName() { + return this._scriptingName; + } + get agentInputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + } + get agentOutputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get avaOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get 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); + } + setAgenticVirtualAgentByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("agenticVirtualAgentId", "setAgenticVirtualAgentByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAgenticVirtualAgentByIdAsync"), t3, true); + const i3 = yield s.default.findItemByIdAsync(o.agenticVirtualAgentManager, e3, "agenticVirtualAgentId"); + return this.logNote("found the agenticVirtualAgent named '" + i3.name + "' for the agenticVirtualAgent ID of '" + e3 + "'"), this.validateAgenticVirtualAgentIsPublished(i3), this._getCoreViewModel().agenticVirtualAgentSetting.setValue(i3), yield this.waitForAgenticVirtualAgentVersionLoading(), a.default.executeCallback(this, "setAgenticVirtualAgentByIdAsync", t3, this); + }); + } + setAgenticVirtualAgentByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("agenticVirtualAgentName", "setAgenticVirtualAgentByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAgenticVirtualAgentByNameAsync"), t3, true); + const i3 = yield s.default.findItemByValueAsync(o.agenticVirtualAgentManager, e3, "agenticVirtualAgent", "name", "name"); + return this.logNote(`Found info for the agenticVirtualAgent named '${i3.name}' for the passed agenticVirtualAgent name of '${i3}'. Getting agenticVirtualAgent details.`), this.validateAgenticVirtualAgentIsPublished(i3), this._getCoreViewModel().agenticVirtualAgentSetting.setValue(i3), yield this.waitForAgenticVirtualAgentVersionLoading(), a.default.executeCallback(this, "setAgenticVirtualAgentByNameAsync", t3, this); + }); + } + waitForAgenticVirtualAgentVersionLoading() { + return n2.__awaiter(this, void 0, void 0, function* () { + this.logNoteVerbose(`Loading latest version definition for agenticVirtualAgent, agenticVirtualAgentId: ${this._getCoreViewModel().agenticVirtualAgentId}`), yield (0, u.firstValueFrom)(this._getCoreViewModel().agenticVirtualAgentVersionSetting.loadingReference$.pipe((0, l.first)((e3) => false === e3))), this._getCoreViewModel().agenticVirtualAgentVersionSetting.currentUiErrorMessage ? this.logError(`error loading latest agenticVirtualAgent version, agenticVirtualAgentId: ${this._getCoreViewModel().agenticVirtualAgentId} - ${this._getCoreViewModel().agenticVirtualAgentVersionSetting.currentUiErrorMessage}`) : this.logNoteVerbose(`Successfully loaded latest version definition for agenticVirtualAgent, agenticVirtualAgentId: ${this._getCoreViewModel().agenticVirtualAgentId}`); + }); + } + validateAgenticVirtualAgentIsPublished(e3) { + e3.version || this.logErrorAndThrow(`Agentic Virtual Agent '${e3.name}' is not published. Only published Agentic Virtual Agents can be used in Call Agentic Virtual Agent action.`); + } + } + t2.default = _; + }, 78616(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(14820)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(64437), l = i2(30801), u = i2(26847); + class c extends o.default { + constructor(e3) { + super(e3), this._manager = s.audioConnectorManager, this._connectorId = this.coreFactory.createArchWrapper(e3.connectorId); + } + get _actionTypeId() { + return l.callAudioConnectorActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get audioConnectorOutputsFailure() { + return this._getCoreViewModel().errorBindings ? this.coreFactory.createArchWrapper(this._getCoreViewModel().errorBindings) : null; + } + get connectorId() { + return this._connectorId; + } + get isArchActionCallAudioConnector() { + return true; + } + addSessionVariableOutputNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), this.sessionVariableOutputs._addNameValueAssignment(e3, t3, true, true); + } + get sessionVariableOutputs() { + const e3 = this._getCoreViewModel().outputSessionVariables; + if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + } + setAudioConnectorByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("audioConnectorId", "setAudioConnectorByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAudioConnectorByIdAsync"), t3, true), r.default.findItemByIdAsync(this._manager, e3, "audio connector").then((e4) => (this._getCoreViewModel().setBotRunnableByViewModel(e4), a.default.executeCallback(this, "setAudioConnectorByIdAsync", t3, this))); + } + setAudioConnectorByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("audioConnectorName", "setAudioConnectorByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setAudioConnectorByNameAsync"), t3, true), r.default.findItemByValueAsync(this._manager, e3, "audio connector", null, null).then((i3) => (this._getCoreViewModel().setBotCategoryByViewModel(i3), this.logNote("Found the Audio Connector bot with ID '" + i3.id + "' for the name of '" + e3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(i3), a.default.executeCallback(this, "setAudioConnectorByIdAsync", t3, this))); + } + get outputSuccess() { + return this._getOutputById(u.outputIds.success, true); + } + } + t2.default = c; + }, 17021(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(96481)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(99835), u = i2(96950), c = i2(25130); + class d extends o.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return s.botConnectorActionType; + } + get displayTypeName() { + return this._scriptingName; + } + addSessionVariableOutputNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), this.sessionVariableOutputs._addNameValueAssignment(e3, t3, true, true); + } + get botConnectorOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionCallBotConnector() { + return true; + } + get intentSlots() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get sessionVariableOutputs() { + const e3 = this._getCoreViewModel().outputSessionVariables; + if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + } + setBotByIdAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("botConnectorIntegrationId", "setBotByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotId", "setBotByIdAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotVersionId", "setBotByIdAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), o2, true); + const n3 = yield r.default.findItemByIdAsync(l.botConnectorIntegrationManager, e3, "bot integration"); + this.logNote("Found the bot integration named '" + n3.name + "' for the integration ID of '" + e3 + "'"), this._getCoreViewModel().setBotIntegrationByViewModel(n3); + const s2 = yield r.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 d2 = yield r.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", o2, this); + }); + } + setBotByNameAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true); + const n3 = "call bot connector action", s2 = yield r.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 d2 = yield r.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 r.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", o2, this); + }); + } + } + t2.default = d; + }, 8416(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(82985)), r = n2.__importDefault(i2(78432)), a = i2(30801); + class s extends o.default { + get _actionTypeId() { + return a.callBotFlowActionType; + } + get botFlowTypeEnum() { + return r.default.FLOW_TYPES.bot; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallBotFlow() { + return true; + } + } + t2.default = s; + }, 40568(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(95085)), l = i2(46824); + class u extends s.default { + constructor(e3) { + super(e3), this._processingPrompt = this.coreFactory.createArchWrapper(e3.processingPrompt), this._timeout = this.coreFactory.createArchWrapper(e3.timeout); + } + get _actionTypeId() { + return o.bridgeServerActionType; + } + _clearInputsOutputs() { + this._bridgeActionInputs = void 0, this._bridgeActionOutputsSuccess = void 0; + } + get displayTypeName() { + return this._scriptingName; + } + get bridgeActionInputs() { + return this._bridgeActionInputs || (this._bridgeActionInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._bridgeActionInputs; + } + get bridgeActionOutputsSuccess() { + return this._bridgeActionOutputsSuccess || (this._bridgeActionOutputsSuccess = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().outputs)), this._bridgeActionOutputsSuccess; + } + get isArchActionCallBridge() { + return true; + } + setBridgeActionByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("bridgeActionName", "setBridgeActionByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBridgeActionByNameAsync"), t3, true), r.default.findItemByValueAsync(l.bridgeServerManager, e3, "bridge action").then(function(e4) { + return this._coreActionViewModel.setIntegrationActionByViewModel(e4), this._clearInputsOutputs(), a.default.executeCallback(this, "setBridgeActionByNameAsync", t3, this); + }.bind(this)); + } + setBridgeActionByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("bridgeActionId", "setBridgeActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBridgeActionByIdAsync"), t3, true), r.default.findItemByIdAsync(l.bridgeServerManager, e3, "bridge action").then(function(e4) { + return this._coreActionViewModel.setIntegrationActionByViewModel(e4), this._clearInputsOutputs(), a.default.executeCallback(this, "setBridgeActionByIdAsync", t3, this); + }.bind(this)); + } + get timeout() { + return this._timeout; + } + get processingPrompt() { + return this._processingPrompt; + } + get useSuggestedTimeout() { + return this._coreActionViewModel.useSuggestedTimeout; + } + set useSuggestedTimeout(e3) { + this._coreActionViewModel.useSuggestedTimeout = e3; + } + } + t2.default = u; + }, 87828(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(66978)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(11210)); + class u extends l.default { + constructor(e3) { + super(e3), this._coreCallCommonModuleAction = e3; + } + get _actionTypeId() { + return o.callCommonModuleActionType; + } + get displayTypeName() { + return "ArchActionCallCommonModule"; + } + get isArchActionCallCommonModule() { + return true; + } + get inputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + } + get outputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get commonModuleFlowInfo() { + if (this._coreCallCommonModuleAction.commonModule.flowId) return this.coreFactory.createArchWrapper(this._coreCallCommonModuleAction.commonModule.getFlowInfoReference(this._coreCallCommonModuleAction.commonModule.flowId)); + } + setTargetFlowInfoAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = this._infoPropSet("newValue", "targetFlowInfo"); + return this._checkItem(i3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "you must pass in an ArchFlowInfo or ArchFlowInfoBasic instance when setting the targetFlowInfo value."), this._checkItem(i3, e3.type !== r.default.FLOW_TYPES.commonModule, `the supplied flow information points to a flow of type '${e3.type}' which is not supported by this action. You must pass in a flow information value that specifies a flow of type '${r.default.FLOW_TYPES.commonModule}'.`), this.logNote(`configuring the call common module action to call the common module flow with name '${e3.name}' (id: '${e3.id}') at runtime.`), yield this._coreCallCommonModuleAction.commonModule.setFlowById(e3.id), s.default.executeCallback(this, "setTargetFlowInfoAsync", t3); + }); + } + setCommonModuleFlowByIdAsync(e3, t3, i3) { + this._checkItemIsValidLiteralString(this._infoParm("commonModuleFlowId", "setCommonModuleFlowByIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowVersion", "setCommonModuleFlowByIdAsync"), t3, r.default.FLOW_VERSIONS_ALL, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setCommonModuleFlowByIdAsync"), i3, true), this.logNote(`configuring the call common module action to flow with id ${e3}`); + let n3 = false, o2 = t3; + switch (null == t3 ? void 0 : t3.toLowerCase()) { + case r.default.FLOW_VERSIONS.debug: + n3 = true, o2 = void 0; + break; + case r.default.FLOW_VERSIONS.latest: + o2 = void 0; + } + return a.default.addPromise(this._coreCallCommonModuleAction.commonModule.setFlowById(e3, n3, o2), "setCommonModuleFlowByIdAsync").then(() => s.default.executeCallback(this, "setCommonModuleFlowByIdAsync", i3, this)); + } + } + t2.default = u; + }, 37661(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(66978)), l = n2.__importDefault(i2(79200)); + class u extends l.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return r.dataActionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallData() { + return true; + } + setDataActionByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("secureActionId", "setDataActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataActionByIdAsync"), t3, true), this._setIntegrationActionByIdAsync(e3, t3, "data"); + } + setDataActionByNameAsync(e3, t3, i3) { + let n3; + return this._checkItemIsValidLiteralString(this._infoParm("dataActionName", "setDataActionByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataActionByNameAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("categoryName", "setDataActionByNameAsync"), i3, true), o.default.isString(i3) && i3.length && (n3 = { category: i3 }), a.default.findItemByValueAsync(this._getCoreViewModel().serverManager, e3, "data action", "name", "name", n3).then(function(r2) { + return this.logNote(`Found partial info for the data action named '${r2.name}' (id: ${r2.id}) for the passed data action name of '${e3}'${o.default.isUndefined(n3) ? "." : ` in the passed category name of '${i3}'.`} Getting full data action details.`), s.default.addPromise(this.setDataActionByIdAsync(r2.id, t3), "setDataActionByNameAsync"); + }.bind(this)); + } + } + t2.default = u; + }, 47652(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(66978)), l = n2.__importDefault(i2(79200)); + class u extends l.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return r.secureActionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallDataSecure() { + return true; + } + setDataSecureActionByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("secureActionId", "setDataSecureActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataSecureActionByIdAsync"), t3, true), this._setIntegrationActionByIdAsync(e3, t3, "secure"); + } + setDataSecureActionByNameAsync(e3, t3, i3) { + let n3; + return this._checkItemIsValidLiteralString(this._infoParm("dataSecureActionName", "setDataSecureActionByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataSecureActionByNameAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("categoryName", "setDataSecureActionByNameAsync"), i3, true), o.default.isString(i3) && i3.length && (n3 = { category: i3 }), a.default.findItemByValueAsync(this._getCoreViewModel().serverManager, e3, "secure data action", "name", "name", n3).then(function(r2) { + return this.logNote(`found partial info for the secure data action named '${r2.name}' (id: ${r2.id}) for the passed secure data action name of '${e3}'${o.default.isUndefined(n3) ? "." : ` in the passed category name of '${i3}'.`} Getting full secure data action details.`), s.default.addPromise(this.setDataSecureActionByIdAsync(r2.id, t3), this); + }.bind(this)); + } + } + t2.default = u; + }, 1383(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(56549)), r = n2.__importDefault(i2(94225)), a = i2(30801), s = i2(33264), l = n2.__importDefault(i2(21345)); + class u extends l.default { + constructor(e3) { + super(e3), e3.input && (this._input = this.coreFactory.createArchWrapper(e3.input)), e3.output && (this._output = this.coreFactory.createArchWrapper(e3.output)); + } + get _actionTypeId() { + return a.callDecisionTableActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallDecisionTable() { + return true; + } + get decisionTableOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + setDecisionTableByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("decisionTableId", "setDecisionTableByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDecisionTableByIdAsync"), t3, true); + const i3 = yield o.default.findItemByIdAsync(s.decisionTableManager, e3, "decision table"); + return this.logNote("Found info for the decision table named '" + i3.name + "' for the passed in decision table id '" + e3 + "'. Getting decision table details."), yield this._coreActionViewModel.setSelectedActionByViewModel(i3), yield this._updateInputOutput(), r.default.executeCallback(this, "setDecisionTableByIdAsync", t3, this); + }); + } + setDecisionTableByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("decisionTableName", "setDecisionTableByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDecisionTableByNameAsync"), t3, true); + const i3 = yield o.default.findItemByValueAsync(s.decisionTableManager, e3, "decision table"); + this.logNote("Found partial info for the decision table named '" + i3.name + "' for the passed in decision table name '" + e3 + "'. Getting full decision table details."); + const n3 = yield o.default.findItemByIdAsync(s.decisionTableManager, i3.id, "decision table"); + return this.logNote("Found info for the decision table named '" + n3.name + "' for the passed in decision table id '" + i3.id + "'. Getting decision table details."), yield this._coreActionViewModel.setSelectedActionByViewModel(n3), yield this._updateInputOutput(), r.default.executeCallback(this, "setDecisionTableByNameAsync", t3, this); + }); + } + _updateInputOutput() { + return n2.__awaiter(this, void 0, void 0, function* () { + this._input = this.coreFactory.createArchWrapper(this._getCoreViewModel().input), this._output = this.coreFactory.createArchWrapper(this._getCoreViewModel().output); + }); + } + get input() { + return this._input; + } + get output() { + return this._output; + } + } + t2.default = u; + }, 81526(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(96481)), r = 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 o.default { + constructor(e3) { + super(e3), this._terminationState = this.coreFactory.createArchWrapper(e3.terminationState); + } + get _actionTypeId() { + return s.dialogEngineActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallDialogEngineBot() { + return true; + } + get intentParameters() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get dialogEngineOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get outputKnowledge() { + return this._getOutputById(u.outputIds.knowledge, true); + } + get outputNoIntent() { + return this._getOutputById(u.outputIds.noIntent, true); + } + _setDialogEngineBotByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("botId", "setDialogEngineBotByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogEngineBotByIdAsync"), t3, true), this._coreActionViewModel.botCategoryProperty.idValue = e3, this._coreActionViewModel.getAutoSelectedBotRunnable().then((i3) => { + if (!i3) { + const t4 = `There was an error getting the full bot details for bot with ID ${e3}`; + throw this.logError(t4), t4; + } + return this._coreActionViewModel.setBotRunnableByViewModel(i3), a.default.executeCallback(this, "setDialogEngineBotByIdAsync", t3, this); + }); + }); + } + 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), r.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) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("botName", "setDialogEngineBotByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogEngineBotByNameAsync"), t3, true), r.default.findItemByValueAsync(l.dialogEngineBotManager, e3, "dialog engine bot").then((i3) => (this.logNote(`Found info for the Dialog Engine bot named '${i3.name}' for the passed bot name of '${e3}'.`), this._coreActionViewModel.botCategoryProperty.idValue = i3.id, this._coreActionViewModel.getAutoSelectedBotRunnable().then((e4) => { + if (!e4) { + const e5 = `There was an error getting the full bot details for bot with ID ${i3.id}`; + throw this.logError(e5), e5; + } + return this._coreActionViewModel.setBotRunnableByViewModel(e4), a.default.executeCallback(this, "setDialogEngineBotByNameAsync", t3, this); + }))); + }); + } + get terminationState() { + return this._terminationState; + } + } + t2.default = d; + }, 47e3(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(46210)), a = i2(30801), s = i2(8625); + class l extends r.default { + constructor(e3) { + super(e3), n2.set(this, void 0), this._agentManager = s.dialogflowAgentManager, o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.intentProbability), "f"); + } + get _actionTypeId() { + return a.dialogflowActionType; + } + addSessionVariableOutputNameValuePair(e3, t3) { + return this._addSessionVariableOutputNameValuePair(e3, t3); + } + get displayTypeName() { + return this._scriptingName; + } + get intentParameters() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get intentProbability() { + return o.__classPrivateFieldGet(this, n2, "f"); + } + get isArchActionCallDialogflowBot() { + return true; + } + get sessionVariableOutputs() { + return this._sessionVariableOutputs; + } + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = l; + }, 22309(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(46210)), o = i2(30801), r = i2(32678), a = i2(26847); + class s extends n2.default { + constructor(e3) { + super(e3), this._agentManager = r.dialogflowCxAgentManager; + } + get _actionTypeId() { + return o.dialogflowCxActionType; + } + addSessionParameterNameValuePair(e3, t3) { + return this.addSessionVariableNameValuePair(e3, t3); + } + addSessionParameterOutputNameValuePair(e3, t3) { + return this._addSessionVariableOutputNameValuePair(e3, t3); + } + addLiveAgentHandoffMetadataNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addLiveAgentHandoffMetadataNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addLiveAgentHandoffMetadataNameValuePair"), t3, true), this.liveAgentHandoffMetadata._addNameValueAssignment(e3, t3, true, true); + } + get displayTypeName() { + return this._scriptingName; + } + getOutputByIntentName(e3) { + throw this.logErrorAndThrow(`The Call Dialogflow CX Bot action does not support getting outputs by an intent name (requested: '${e3}').`), new Error("unreachable"); + } + get isArchActionCallDialogflowCxBot() { + return true; + } + get liveAgentHandoffMetadata() { + const e3 = this._getCoreViewModel().liveAgentHandoffMetadata; + if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + } + get outputSuccess() { + return this._getOutputById(a.outputIds.success, true); + } + get sessionParameterOutputs() { + return this._sessionVariableOutputs; + } + get sessionParameters() { + return this.sessionVariables; + } + } + t2.default = s; + }, 32504(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(82985)), r = n2.__importDefault(i2(78432)), a = i2(30801); + class s extends o.default { + get _actionTypeId() { + return a.callDigitalBotFlowActionType; + } + get botFlowTypeEnum() { + return r.default.FLOW_TYPES.digitalBot; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallDigitalBotFlow() { + return true; + } + } + t2.default = s; + }, 8326(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(96481)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(57467), u = i2(62902), c = i2(53482); + class d extends o.default { + constructor(e3) { + super(e3), e3.botResponseTimeout && (this._responseTimeout = this.coreFactory.createArchWrapper(e3.botResponseTimeout)), e3.sessionTimeout && (this._sessionTimeout = this.coreFactory.createArchWrapper(e3.sessionTimeout)); + } + get _actionTypeId() { + return s.digitalBotConnectorActionType; + } + get displayTypeName() { + return "ArchActionCallDigitalConnector"; + } + addSessionVariableOutputNameValuePair(e3, t3) { + var i3; + return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), null === (i3 = this.sessionVariableOutputs) || void 0 === i3 ? void 0 : i3._addNameValueAssignment(e3, t3, true, true); + } + get botConnectorOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionCallDigitalConnector() { + return true; + } + get intentSlots() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get sessionVariableOutputs() { + const e3 = this._getCoreViewModel().outputSessionVariables; + if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + } + setBotByIdAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("botConnectorIntegrationId", "setBotByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotId", "setBotByIdAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botConnectorBotVersionId", "setBotByIdAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), o2, true); + const n3 = yield r.default.findItemByIdAsync(l.digitalBotConnectorIntegrationManager, e3, "bot integration"); + this.logNote("Found the bot integration named '" + n3.name + "' for the integration ID of '" + e3 + "'"), this._coreActionViewModel.setBotIntegrationByViewModel(n3); + const s2 = yield r.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 d2 = yield r.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", o2, this); + }); + } + setBotByNameAsync(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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"), o2, true); + const n3 = "call digital bot connector action", s2 = yield r.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 d2 = yield r.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 r.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", o2, this); + }); + } + get responseTimeout() { + return this._responseTimeout; + } + get sessionTimeout() { + return this._sessionTimeout; + } + } + t2.default = d; + }, 99621(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(79364), r = 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); + } + get _actionTypeId() { + return s.callGuideActionType; + } + get isArchActionCallGuide() { + return true; + } + get displayTypeName() { + return this._scriptingName; + } + get guideOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get guideInputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + } + get guideOutputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get voiceProcessingPrompt() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().voiceProcessingPrompt); + } + setGuideByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("guideId", "setGuideByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setGuideByIdAsync"), t3, true); + const i3 = yield u.default.findItemByIdAsync(a.guideManager, e3, "guideId"); + return this.logNote("found the Guide named '" + i3.name + "' for the Guide ID of '" + e3 + "'"), this.validateGuideIsPublished(i3), this._getCoreViewModel().guideSetting.setValue(i3), yield this.waitForGuideVersionLoading(), l.default.executeCallback(this, "setGuideByIdAsync", t3, this); + }); + } + setGuideByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("guideName", "setGuideByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setGuideByNameAsync"), t3, true); + const i3 = yield u.default.findItemByValueAsync(a.guideManager, e3, "guide", "name", "name"); + return this.logNote(`Found info for the guide named '${i3.name}' for the passed guide name of '${e3}'. Getting guide details.`), this.validateGuideIsPublished(i3), this._getCoreViewModel().guideSetting.setValue(i3), yield this.waitForGuideVersionLoading(), l.default.executeCallback(this, "setGuideByNameAsync", t3, this); + }); + } + waitForGuideVersionLoading() { + return n2.__awaiter(this, void 0, void 0, function* () { + this.logNoteVerbose(`Loading latest version definition for guide version, guideId: ${this._getCoreViewModel().guideId}`), yield (0, r.firstValueFrom)(this._getCoreViewModel().guideVersionSetting.loadingReference$.pipe((0, o.first)((e3) => false === e3))), this._getCoreViewModel().guideVersionSetting.currentUiErrorMessage ? this.logError(`error loading latest guide version, guideId: ${this._coreActionViewModel.guideId} - ${this._coreActionViewModel.guideVersionSetting.currentUiErrorMessage}`) : this.logNoteVerbose(`Successfully loaded latest version definition for guide, guideId: ${this._coreActionViewModel.guideId}`); + }); + } + validateGuideIsPublished(e3) { + e3.version || this.logErrorAndThrow(`Guide '${e3.name}' is not published. Only published guides can be used in Call Guide action.`); + } + } + t2.default = d; + }, 28447(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(2257)), a = o.__importDefault(i2(56549)), s = i2(30801), l = i2(77667), u = i2(77681), c = o.__importDefault(i2(66978)); + class d extends r.default { + constructor(e3) { + super(e3), n2.set(this, void 0), this._aliasManager = l.lexAliasManager, this._botNameManager = u.lexBotNameManager, o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.prompts), "f"); + } + get _actionTypeId() { + return s.lexActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallLexBot() { + return true; + } + setLexBotAliasByIdAsync(e3, t3) { + 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.`), 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 o.__classPrivateFieldGet(this, n2, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; + }, 12707(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(2257)), a = o.__importDefault(i2(56549)), s = i2(30801), l = i2(71439), u = i2(9485), c = o.__importDefault(i2(66978)); + class d extends r.default { + constructor(e3) { + super(e3), n2.set(this, void 0), this._aliasManager = l.lexV2AliasManager, this._botNameManager = u.lexV2BotNameManager, o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.initialIntent), "f"); + } + get _actionTypeId() { + return s.lexV2ActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallLexV2Bot() { + return true; + } + addSessionVariableOutputNameValuePair(e3, t3) { + var i3; + return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), null === (i3 = this.sessionVariableOutputs) || void 0 === i3 ? void 0 : i3._addNameValueAssignment(e3, t3, true, true); + } + get aliasInitialIntentName() { + return o.__classPrivateFieldGet(this, n2, "f"); + } + get sessionVariableOutputs() { + const e3 = this._getCoreViewModel().outputSessionVariables; + if (e3) return this.coreFactory.createArchBaseValueContainer(e3); + } + setLexBotAliasByIdAsync(e3, t3, i3, n3) { + this._checkItemIsValidLiteralString(this._infoParm("botName", "setLexBotAliasByIdAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("lexBotAliasId", "setLexBotAliasByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botRegion", "setLexBotAliasByIdAsync"), i3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByIdAsync"), n3, true); + const o2 = { region: i3 }; + return a.default.findItemByValueAsync(this._botNameManager, t3, "lex bot", void 0, void 0, o2).then((t4) => (this._getCoreViewModel().setBotCategoryByViewModel(t4), this._setLexBotAliasByIdAsync("setLexBotAliasByIdAsync", e3, n3))); + } + setLexBotAliasByNameAsync(e3, t3, i3, n3, r2, s2) { + return o.__awaiter(this, void 0, void 0, function* () { + if (this._checkItemIsValidLiteralString(this._infoParm("aliasName", "setLexBotAliasByNameAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("botName", "setLexBotAliasByNameAsync"), t3, false), this._checkItemIsValidLiteralString(this._infoParm("botRegion", "setLexBotAliasByNameAsync"), i3, false), this._checkItemIsValidLiteralString(this._infoParm("aliasLanguageTag", "setLexBotAliasByNameAsync"), n3, false), this._checkItemIsValidLiteralBool(this._infoParm("searchByBotName", "setLexBotAliasByNameAsync"), r2), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLexBotAliasByNameAsync"), s2, true), r2) { + const o3 = { region: i3 }, r3 = yield a.default.findItemByValueAsync(this._botNameManager, t3, "lex bot", void 0, void 0, o3); + this.logNote(`Found partial info for the Lex Bot named '${r3.name}' for the passed bot name of '${t3}'. Getting full bot details.`), this._getCoreViewModel().setBotCategoryByViewModel(r3); + const l2 = { localeString: n3.toLowerCase(), botId: r3.id }; + this.logNote(`Using locale '${n3.toLowerCase()}' and bot id '${r3.id}' for filtering alias lookup.`); + const u2 = yield a.default.findItemByValueAsync(this._aliasManager, e3, `lex alias for bot '${r3.name}'`, void 0, void 0, l2, { botId: r3.id }); + return this.logNote(`Found partial info for the Lex Bot Alias named '${u2.name}' for the passed alias name of '${e3}' on bot '${r3.name}'. Getting full alias details.`), c.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", u2.id, s2), "setLexBotAliasByNameAsync"); + } + const o2 = 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 '${o2.name}' for the passed alias name of '${e3}'. Getting full alias details.`), c.default.addPromise(this._setLexBotAliasByIdAsync("setLexBotAliasByNameAsync", o2.id, s2), "setLexBotAliasByNameAsync"); + }); + } + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; + }, 15904(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(96481)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(30801), l = i2(17485), u = i2(47976); + class c extends o.default { + constructor(e3) { + super(e3), this._channelId = this.coreFactory.createArchWrapper(e3.channelId); + } + get _actionTypeId() { + return s.nuanceMixActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get channelId() { + return this._channelId; + } + get nuanceMixBotOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionCallNuanceMixBot() { + return true; + } + get intentSlots() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get availableChannelIds() { + return this._getCoreViewModel().getAllowableChannels().map((e3) => e3.id); + } + get botVariables() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().botVariables); + } + setBotByIdAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("nuanceMixIntegrationId", "setBotByIdAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("nuanceMixBotId", "setBotByIdAsync"), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setBotByIdAsync"), i3, true); + const n3 = yield r.default.findItemByIdAsync(u.nuanceMixIntegrationManager, e3, "nuanceMix integration"); + return this.logNote("Found the bot integration named '" + n3.name + "' for the integration ID of '" + e3 + "'"), this._getCoreViewModel().setBotCategoryByViewModel(n3), yield this._setBotByIdAsync("setBotByIdAsync", e3, t3), a.default.executeCallback(this, "setBotByIdAsync", i3, this); + }); + } + _setBotByIdAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const e4 = yield r.default.findItemByIdAsync(l.nuanceMixBotManager, i3, "nuanceMix bot", { integrationId: t3 }); + this.logNote("Found the bot named '" + e4.name + "' for the bot ID of '" + i3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(e4); + }); + } + setBotByNameAsync(e3, t3, i3, o2) { + 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 r.default.findItemByValueAsync(u.nuanceMixIntegrationManager, e3, n3, null, null); + 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), o2 && (c2 = { applicationName: o2 }); + const d = yield r.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 = c; + }, 81832(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(65305)); + class s extends a.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return r.callTaskActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallTask() { + return true; + } + get taskInputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + } + get taskOutputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + get targetTask() { + if (!this._targetArchTask && this._getCoreViewModel().taskReference) { + const e3 = this._coreActionViewModel.parentFlow; + if (e3 && e3.hasTasks) { + const t3 = e3.tasks, i3 = o.default.findWhere(t3, { id: this._getCoreViewModel().taskReference }); + i3 && (this._targetArchTask = this.coreFactory.createArchWrapper(i3)); + } + } + return this._targetArchTask; + } + set targetTask(e3) { + if (o.default.isNull(e3) || o.default.isUndefined(e3)) return this._targetArchTask = null, this.logNote("setting the task to call to null"), void this._coreActionViewModel.containerActionProperty.setReference(null); + const t3 = this._infoPropSet("archTaskTarget", "targetTask"); + this._checkItem(t3, !o.default.isObject(e3) || !e3.isArchTask, "you cannot set the task target to an object that is not an Architect task."), this._checkItemSameParentFlow(t3, this.parentFlow, e3.parentFlow); + const i3 = this._coreActionViewModel.containerActionProperty.getInvalidReferenceReason(e3._getCoreViewModel()); + this._checkItem(t3, i3, `the supplied targetTask value is not valid as the target task. Reason: '${i3}'`), this._targetArchTask = e3, this.logNote("setting the task to call to " + e3.logStr), this._coreActionViewModel.containerActionProperty.setReference(e3._getCoreViewModel()); + } + } + t2.default = s; + }, 12163(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(82985)), r = n2.__importDefault(i2(78432)), a = i2(30801); + class s extends o.default { + get _actionTypeId() { + return a.callVoiceFlowActionType; + } + get botFlowTypeEnum() { + return r.default.FLOW_TYPES.voice; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCallVoiceFlow() { + return true; + } + } + t2.default = s; + }, 43520(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return r.changeStateActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionChangeState() { + return true; + } + get targetState() { + if (!this._targetArchState && this._getCoreViewModel().stateReference) { + const e3 = this._coreActionViewModel.parentFlow; + if (e3 && e3.hasStates) { + const t3 = e3.states, i3 = o.default.findWhere(t3, { id: this._getCoreViewModel().stateReference }); + i3 && (this._targetArchState = this.coreFactory.createArchWrapper(i3)); + } + } + return this._targetArchState; + } + set targetState(e3) { + if (o.default.isNull(e3) || o.default.isUndefined(e3)) return this._targetArchState = null, this.logNote("setting the change state to null"), void this._coreActionViewModel.state.setReference(null); + const t3 = this._infoPropSet("archStateTarget", "targetState"); + this._checkItem(t3, !e3 || !e3.isArchState, "you cannot set the change state target to an object that is not an Architect state"), this._checkItemSameParentFlow(t3, this.parentFlow, e3.parentFlow); + const i3 = this._coreActionViewModel.state.getInvalidReferenceReason(e3.coreStateViewModel); + this._checkItem(this._infoPropSet("archStateTarget", "targetState"), i3, `targetState is not valid as the change state target, reason: ${i3}`), this._targetArchState = e3, this.logNote("setting the change state to " + e3.logStr), this._coreActionViewModel.state.setReference(e3.coreStateViewModel); + } + } + t2.default = s; + }, 16912(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.clearActiveIntentActionType; + } + get displayTypeName() { + return "ArchActionClearActiveIntent"; + } + get isArchActionClearActiveIntent() { + return true; + } + } + t2.default = a; + }, 29390(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3), this._target = this.coreFactory.createArchWrapper(e3.target); + } + get _actionTypeId() { + return o.clearPostFlowActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionClearPostFlow() { + return true; + } + get target() { + return this._target; + } + } + t2.default = a; + }, 47818(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.clearSkillExpressionFiltersActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get clearSkillExpressionFiltersOutputsFailure() { + return this.failureOutputs; + } + get isArchActionClearSkillExpressionFilters() { + return true; + } + } + t2.default = a; + }, 48932(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.clearSlotActionType; + } + get displayTypeName() { + return "ArchActionClearSlot"; + } + get isArchActionClearSlot() { + return true; + } + addSlot(e3) { + const t3 = this._getCoreViewModel(); + t3.addSlot().name = e3, this.logNote(`new slot added at index ${t3.slots.items.length - 1}.`); + } + deleteSlotByIndex(e3) { + const t3 = this._infoPropSet("index", "deleteSlotByIndex"), i3 = this._getCoreViewModel(); + this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, e3 < 0 || e3 >= i3.slots.items.length, "the index parameter value of " + e3 + " is invalid. It must be >=0 and <" + i3.slots.items.length + "."), this.logNoteVerbose(`deleting slot at index: ${e3}.`), i3.slots.removeChild(i3.slots.items[e3]), this.logNote(`deleted the slot at index ${e3}.`); + } + get slotCount() { + return this._getCoreViewModel().slots.items.length; + } + } + t2.default = a; + }, 10202(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.clearUtilizationLabelActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionClearUtilizationLabel() { + return true; + } + get clearUtilizationLabelOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + } + t2.default = a; + }, 53862(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.clearVoicemailSnippetActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionClearVoicemailSnippet() { + return true; + } + } + t2.default = a; + }, 46131(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(21345)), s = i2(35966); + class l extends a.default { + constructor(e3) { + super(e3), this._acceptJustStar = this.coreFactory.createArchWrapper(e3.acceptJustStar), this._acceptJustPound = this.coreFactory.createArchWrapper(e3.acceptJustPound), this._inputAudio = this.coreFactory.createArchWrapper(e3.prompts), this._interDigitTimeout = this.coreFactory.createArchWrapper(e3.interDigitTimeout), this._noEntryTimeout = this.coreFactory.createArchWrapper(e3.noEntryTimeout), this._numberOfDigitsMax = this.coreFactory.createArchWrapper(e3.numberOfDigitsMax), this._numberOfDigitsMin = this.coreFactory.createArchWrapper(e3.numberOfDigitsMin), this._resultData = this.coreFactory.createArchWrapper(e3.resultData), this._maxPossibleNumberOfDigits = e3.numberOfDigitsMax.options.max, this._minPossibleNumberOfDigits = e3.numberOfDigitsMin.options.min; + } + get _actionTypeId() { + return o.collectInputActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get inputAudio() { + return this._inputAudio; + } + get interDigitTimeout() { + return this._interDigitTimeout; + } + get isArchActionCollectInput() { + return true; + } + get noEntryTimeout() { + return this._noEntryTimeout; + } + setInputDataVariable(e3) { + this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), this.valueVariableInputData.setVariable(e3); + } + setDigitsExact(e3) { + const t3 = this._infoParm("digitCount", "setDigitsExact"); + this._checkItemIsValidLiteralInt(t3, e3), this._checkItem(t3, e3 < this._minPossibleNumberOfDigits || e3 > this._maxPossibleNumberOfDigits, `the digit count '${e3}' must be greater than or equal to ${this._minPossibleNumberOfDigits} and less than or equal to ${this._maxPossibleNumberOfDigits}`), this._numberOfDigitsMax.setLiteralInt(e3), this._numberOfDigitsMin.setLiteralInt(e3), this.logNote("setting the exact digit range to " + e3 + " digit(s)."), this._coreActionViewModel.terminatingCharacter = void 0; + } + setDigitsRange(e3, t3, i3, n3) { + const o2 = this._infoParm("minDigitCount", "setDigitsRange"); + this._checkItemIsValidLiteralInt(o2, e3), this._checkItem(o2, e3 < this._minPossibleNumberOfDigits || e3 > this._maxPossibleNumberOfDigits, `the min digit count value '${e3}' must be greater than or equal to ${this._minPossibleNumberOfDigits} and less than or equal to ${this._maxPossibleNumberOfDigits}`); + const r2 = this._infoParm("maxDigitCount", "setDigitsRange"); + if (this._checkItemIsValidLiteralInt(r2, t3), this._checkItem(r2, t3 < this._minPossibleNumberOfDigits || t3 > this._maxPossibleNumberOfDigits, `the max digit count '${e3}' must be greater than or equal to ${this._minPossibleNumberOfDigits} and less than or equal to ${this._maxPossibleNumberOfDigits}`), this._checkItem(this._infoVal("minDigitCount < maxDigitCount", "setDigitsRange"), e3 > t3, `the min digit count value '${e3}' must be less than the max digit count value '${t3}' when setting a range`), this._checkItem(this._infoVal("minDigitCount === maxDigitCount", "setDigitsRange"), e3 === t3, `the min digit count value '${e3}' must be less than the max digit count value '${t3}' when setting a range. If you want an exact number of input digits, call setDigitsExact instead of setDigitsRange.`), n3 || this.isValidBool(n3)) { + const e4 = this._infoParm("includeTerminatingDtmfWithInputData", "setDigitsRange"); + this._checkItemIsValidLiteralBool(e4, n3, true), this._checkItem(e4, true === n3 && !i3, "includeTerminatingDtmfWithInputData can only be enabled when there is a terminating dtmf specified."); + } + let a2, s2; + const l2 = this._infoParm("terminatingDtmf", "setDigitsRange"); + i3 && (a2 = this._getCoreDigitForDtmf(l2, i3), s2 = this._getDtmfForCoreDigit(l2, a2)), this.logNote("setting the min number of digits to " + e3 + " and the max number of digits to " + t3), this._numberOfDigitsMax.setLiteralInt(t3), this._numberOfDigitsMin.setLiteralInt(e3), i3 && (this.logNote("setting the terminating dtmf to " + s2), this._coreActionViewModel.terminatingCharacter = a2), this.isValidBool(n3) && !this._coreActionViewModel.includeTerminatingDtmfInResultData.outOfService && (this.logNote(`setting core includeTerminatingDtmfWithInputData to ${n3}`), this._coreActionViewModel.includeTerminatingDtmfInResultData.setAsLiteral(n3.toString())); + } + get valueVariableInputData() { + return this._resultData; + } + get verificationAudio() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().verificationPrompts)._setNotWritableOverride(true); + } + get verificationType() { + if (!this._coreActionViewModel.verification) return r.default.INPUT_VERIFICATION_TYPES.none; + switch (this._coreActionViewModel.verificationType) { + case s.Numeric: + return r.default.INPUT_VERIFICATION_TYPES.numeric; + case s.UniqueDigits: + return r.default.INPUT_VERIFICATION_TYPES.individualDigits; + default: + this._logErrorInternalAndThrow("unknown verification type on core collect input action."); + } + } + set verificationType(e3) { + switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newVerificationTypeValue", "verificationType"), e3, r.default.INPUT_VERIFICATION_TYPES_ALL), this.logNote("setting the verification type to '" + e3 + "'."), e3) { + case r.default.INPUT_VERIFICATION_TYPES.none: + this._coreActionViewModel.verification = false, this._coreActionViewModel.verificationType = void 0; + break; + case r.default.INPUT_VERIFICATION_TYPES.numeric: + this._coreActionViewModel.verification = true, this._coreActionViewModel.verificationType = s.Numeric; + break; + case r.default.INPUT_VERIFICATION_TYPES.individualDigits: + this._coreActionViewModel.verification = true, this._coreActionViewModel.verificationType = s.UniqueDigits; + } + } + get acceptJustStar() { + return this._acceptJustStar; + } + get acceptJustPound() { + return this._acceptJustPound; + } + } + t2.default = l; + }, 45252(e2, t2, i2) { + "use strict"; + var n2, o; + Object.defineProperty(t2, "__esModule", { value: true }); + const r = i2(31635), a = i2(30801), s = r.__importDefault(i2(38663)); + class l extends s.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.maxSnippetTime), "f"), r.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.snippet), "f"); + } + get _actionTypeId() { + return a.collectVoiceSnippetActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCollectVoiceSnippet() { + return true; + } + get maxSnippetTime() { + return r.__classPrivateFieldGet(this, n2, "f"); + } + get snippet() { + return r.__classPrivateFieldGet(this, o, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = l; + }, 62240(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3), this._communication = this.coreFactory.createArchValueFromExpression(e3.communication), this._enableBargeIn = this.coreFactory.createArchValueFromExpression(e3.enableBargeIn); + } + get _actionTypeId() { + return o.communicateActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get communication() { + return this._communication; + } + get enableBargeIn() { + return this._enableBargeIn; + } + get isArchActionCommunicate() { + return true; + } + } + t2.default = a; + }, 2036(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.completeSendActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCompleteSend() { + return true; + } + } + t2.default = a; + }, 37333(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3), this._targetAddress = this.coreFactory.createArchWrapper(e3.targetAddress), this._inviteSubject = this.coreFactory.createArchWrapper(e3.inviteSubject), this._inviteBody = this.coreFactory.createArchWrapper(e3.inviteBody), this._reminderSubject = this.coreFactory.createArchWrapper(e3.reminderSubject), this._reminderBody = this.coreFactory.createArchWrapper(e3.reminderBody); + } + get _actionTypeId() { + return o.completeSurveyActionType; + } + get targetAddress() { + return this._targetAddress; + } + get inviteSubject() { + return this._inviteSubject; + } + get inviteBody() { + return this._inviteBody; + } + get reminderSubject() { + return this._reminderSubject; + } + get reminderBody() { + return this._reminderBody; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCompleteSurveyInvite() { + return true; + } + } + t2.default = a; + }, 65218(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(66978)), l = n2.__importDefault(i2(11210)), u = i2(79963); + 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); + } + get _actionTypeId() { + return o.createCallbackActionType; + } + _clearInputs() { + this._scriptInputs = void 0; + } + get displayTypeName() { + return this._scriptingName; + } + get callbackNumber() { + return this.coreFactory.createArchWrapper(this._callbackNumbers._coreExpression.items[0]); + } + get calleeName() { + return this._calleeName; + } + get isArchActionCreateCallback() { + return true; + } + get scriptInputs() { + return this._scriptInputs || (this._scriptInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._scriptInputs; + } + get queue() { + return this._queue; + } + setScriptByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("scriptName", "setScriptByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScriptByNameAsync"), t3, true), r.default.findItemByValueAsync(u.callbackManager, e3, "callback script").then(function(e4) { + return s.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByNameAsync"); + }.bind(this)).then(function() { + return this._clearInputs(), a.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), r.default.findItemByIdAsync(u.callbackManager, e3, "callback script").then(function(e4) { + return s.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByIdAsync"); + }.bind(this)).then(function() { + return this._clearInputs(), a.default.executeCallback(this, "setScriptByIdAsync", t3, this); + }.bind(this)); + } + } + t2.default = c; + }, 44820(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(74797), o = i2(30801); + class r extends n2.ArchBaseActionConversationAttribute { + constructor(e3) { + super(e3), this._recordId = this.coreFactory.createArchWrapper(e3.recordId), this._divisions = this.coreFactory.createArchWrapper(e3.divisions); + } + get _actionTypeId() { + return o.createConversationAttributeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionCreateConversationAttribute() { + return true; + } + get recordId() { + return this._recordId; + } + get divisions() { + return this._divisions; + } + } + t2.default = r; + }, 8303(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(56549)), r = n2.__importDefault(i2(94225)), a = i2(30801), s = n2.__importDefault(i2(66978)), l = n2.__importDefault(i2(90897)); + class u extends l.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return a.dataTableLookupActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get lookupValue() { + if (this._coreActionViewModel.lookupKeyValue) return this.coreFactory.createArchWrapper(this._coreActionViewModel.lookupKeyValue); + } + get dataTableOutputsFound() { + if (this._coreActionViewModel.outputs) return this.coreFactory.createArchWrapper(this._coreActionViewModel.outputs); + } + get dataTableOutputsFailure() { + if (this._coreActionViewModel.errorBindings) return this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings); + } + get isArchActionDataTableLookup() { + return true; + } + setDataTableByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("datatableId", "setDataTableByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataTableByIdAsync"), t3, true); + const i3 = yield o.default.findItemByIdAsync(this._getCoreViewModel().serverManager, e3, "data table"); + return this.logNote("found the dataTable named '" + i3.name + "' for the dataTable ID of '" + e3 + "'"), this._coreActionViewModel.setIntegrationActionByViewModel(i3), r.default.executeCallback(this, "setDataTableByIdAsync", t3, this); + }); + } + setDataTableByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("dataTableName", "setDataTableByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDataTableByNameAsync"), t3, true); + const i3 = yield o.default.findItemByValueAsync(this._getCoreViewModel().serverManager, e3, "data table", "name", "name"); + return this.logNote(`Found partial info for the data table named '${i3.name}' for the passed data table name of '${e3}'. Getting full data table details.`), s.default.addPromise(this.setDataTableByIdAsync(i3.id, t3), "setDataTableByNameAsync"); + }); + } + } + t2.default = u; + }, 39907(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(32392)); + class a extends r.default { + constructor(e3) { + super(e3), this._condition = this.coreFactory.createArchValueFromExpression(e3.expression); + } + get _actionTypeId() { + return o.decisionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get condition() { + return this._condition; + } + get isArchActionDecision() { + return true; + } + } + t2.default = a; + }, 24156(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); + class u extends l.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.dataToDecrypt), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.decryptedDataOutput), "f"), e3.errorBindings && a.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); + } + get _actionTypeId() { + return s.decryptDataActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionDecryptData() { + return true; + } + get dataToDecrypt() { + return a.__classPrivateFieldGet(this, n2, "f"); + } + get decryptedData() { + return a.__classPrivateFieldGet(this, o, "f"); + } + get decryptDataOutputsFailure() { + return a.__classPrivateFieldGet(this, r, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 95934(e2, t2, i2) { + "use strict"; + var n2, o, r, a; + Object.defineProperty(t2, "__esModule", { value: true }); + 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), o.set(this, void 0), r.set(this, void 0), a.set(this, void 0), s.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.deflectTo), "f"), s.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.message), "f"), s.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(e3.smsFrom), "f"), s.__classPrivateFieldSet(this, a, this.coreFactory.createArchWrapper(e3.smsTo), "f"); + } + get _actionTypeId() { + return u.deflectActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionDeflect() { + return true; + } + get deflectTo() { + return s.__classPrivateFieldGet(this, n2, "f"); + } + setDeflectTo(e3) { + const t3 = this._infoPropSet("name", "setDeflectTo"); + this._checkItemIsValidLiteralStringEnum(t3, e3, l.default.DEFLECT_TYPES_ALL), this.deflectTo.setLiteralString(e3); + } + get message() { + return s.__classPrivateFieldGet(this, o, "f"); + } + get smsFrom() { + return s.__classPrivateFieldGet(this, r, "f"); + } + get smsTo() { + return s.__classPrivateFieldGet(this, a, "f"); + } + get deflectOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), t2.default = d; + }, 26448(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = i2(30801), a = o.__importDefault(i2(65305)); + class s extends a.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.detectedIntent), "f"); + } + get _actionTypeId() { + return r.detectIntentActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionDetectIntent() { + return true; + } + get detectedIntent() { + return o.__classPrivateFieldGet(this, n2, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; + }, 9819(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(55572)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.detectSilenceActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionDetectSilence() { + return true; + } + } + t2.default = a; + }, 441(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(13297)); + class a extends r.default { + constructor(e3) { + super(e3), this._interDigitTimeout = this.coreFactory.createArchValueFromExpression(this._coreActionViewModel.digitTimeout), this._extensionVariable = this.coreFactory.createArchValueFromExpression(this._coreActionViewModel.resultData), this._repromptAudio = this.coreFactory.createArchAudio(this._coreActionViewModel.repromptAudio), this._repromptCount = this.coreFactory.createArchValueFromExpression(this._coreActionViewModel.numReprompts); + } + get _actionTypeId() { + return o.dialExtensionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get extensionVariable() { + return this._extensionVariable; + } + get interDigitTimeout() { + return this._interDigitTimeout; + } + get isArchActionDialByExtension() { + return true; + } + get repromptAudio() { + return this._repromptAudio; + } + get repromptCount() { + return this._repromptCount; + } + } + t2.default = a; + }, 2410(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s, l, u; + Object.defineProperty(t2, "__esModule", { value: true }); + 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), o.set(this, void 0), r.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, o, this.coreFactory.createArchWrapper(e3.customizeNoMatch), "f"), c.__classPrivateFieldSet(this, r, 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; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionDigitalMenu() { + return true; + } + get chooser() { + return c.__classPrivateFieldGet(this, n2, "f"); + } + get knowledgeSearchResult() { + return c.__classPrivateFieldGet(this, r, "f"); + } + get noMatch() { + return c.__classPrivateFieldGet(this, a, "f"); + } + get question() { + return c.__classPrivateFieldGet(this, l, "f"); + } + get customizeNoMatch() { + return c.__classPrivateFieldGet(this, o, "f"); + } + get noMatchReprompts() { + return c.__classPrivateFieldGet(this, s, "f"); + } + get choices() { + var e3; + const t3 = [], i3 = null === (e3 = this._getCoreViewModel().chooser) || void 0 === e3 ? void 0 : e3.type.getPossibleChoices(this._getCoreViewModel().chooser); + return i3 && i3.forEach((e4) => { + t3.push(this.coreFactory.createArchWrapper(e4)); + }), t3; + } + get outputMaxNoInputs() { + return this._getOutputById(_.outputIds.maxNoInputs, true); + } + get outputMaxNoMatches() { + return this._getOutputById(_.outputIds.maxNoMatches, true); + } + get outputSkipResponseCapture() { + return this._getOutputById(_.outputIds.skipResponseCapture, true); + } + get selection() { + 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 === 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 o2 = i3.quickReplies.buttons; + this.logNote("adding new button choice to collection."); + const r2 = o2.addItemToCollection(); + return this.logNote(`setting button value from supplied name parameter of '${e3}'.`), r2.value.setLiteralString(e3), r2; + } + deleteChoiceByIndex(e3) { + const t3 = this._infoPropSet("index", "deleteChoiceByIndex"); + this._validateChoiceByIndex(t3, e3), this.chooser._getCoreViewModel().type.deleteChoiceAtIndex(this.chooser._getCoreViewModel(), e3); + } + getChoiceByIndex(e3) { + const t3 = this._infoPropSet("index", "getChoiceByIndex"); + return this._validateChoiceByIndex(t3, e3), this.choices[e3]; + } + _validateChoiceByIndex(e3, t3) { + this._checkItemIsValidLiteralInt(e3, t3, false), this._checkItem(e3, t3 < 0 || t3 >= this.choices.length, `the index parameter value of '${t3}' is invalid. It must be >= 0 and <${this.choices.length}.`); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), t2.default = m; + }, 25255(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.disconnectActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionDisconnect() { + return true; + } + } + t2.default = a; + }, 91685(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.disconnectWorkitemActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionDisconnectWorkitem() { + return true; + } + get disconnectWorkitemOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + } + t2.default = a; + }, 21224(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.participantRecordActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionEnableParticipantRecord() { + return true; + } + } + t2.default = a; + }, 52052(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); + class u extends l.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.dataToEncrypt), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.encryptedDataOutput), "f"), e3.errorBindings && a.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); + } + get _actionTypeId() { + return s.encryptDataActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionEncryptData() { + return true; + } + get dataToEncrypt() { + return a.__classPrivateFieldGet(this, n2, "f"); + } + get encryptedData() { + return a.__classPrivateFieldGet(this, o, "f"); + } + get encryptDataOutputsFailure() { + return a.__classPrivateFieldGet(this, r, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 20917(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.endBusinessProcessActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionEndBusinessProcess() { + return true; + } + } + t2.default = a; + }, 92595(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.endStateActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionEndState() { + return true; + } + } + t2.default = a; + }, 33513(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return r.endTaskActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionEndTask() { + return true; + } + get targetBranch() { + if (!this._targetArchBranch && this._getCoreViewModel().pathReference) { + const e3 = this._coreActionViewModel.topParent; + if (e3 && o.default.isFunction(e3.getBranches)) { + const t3 = e3.getBranches(), i3 = o.default.findWhere(t3, { outputId: this._getCoreViewModel().pathReference }); + i3 && (this._targetArchBranch = this.coreFactory.createArchWrapper(i3)); + } + } + return this._targetArchBranch; + } + set targetBranch(e3) { + this._checkItem(this._infoPropSet("newValue", "targetBranch"), !e3 || !e3.isArchBranch, "you cannot set the output to an object that is not an Architect branch object"), this._targetArchBranch = e3, this.logNote("setting the end task output branch to " + e3.logStr), this._getCoreViewModel().linkPath(e3._getCoreViewModel()); + } + } + t2.default = s; + }, 70109(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3), this._exitReason = this.coreFactory.createArchValueFromExpression(e3.exitReason); + } + get _actionTypeId() { + return o.endWorkflowActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get exitReason() { + return this._exitReason; + } + get isArchActionEndWorkflow() { + return true; + } + } + t2.default = a; + }, 86015(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = 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); + } + get _actionTypeId() { + return o.evaluateScheduleActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionEvaluateSchedule() { + return true; + } + get evaluateEmergencyGroup() { + return this._coreActionViewModel.evaluateEmergencyGroup; + } + setEvaluateEmergencyGroup(e3) { + const t3 = this._infoPropSet("newEvaluationType", "evaluateEmergencyGroup"); + this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.SCHEDULE_EVALUATION_TYPES_ALL), this._coreActionViewModel.evaluateEmergencyGroup = e3 === r.default.SCHEDULE_EVALUATION_TYPES.emergencyGroup, this.logNote("evaluateEmergencyGroup set to '" + this.evaluateEmergencyGroup + "'"); + } + get schedule() { + return this._schedule; + } + setScheduleByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleId", "setScheduleByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleByIdAsync"), t3, true), a.default.findItemByIdAsync(u.scheduleManager, e3, "schedule").then((i3) => (this.logNote("found the schedule named '" + i3.name + "' by the schedule id '" + e3 + "'"), this._coreActionViewModel.setSchedule(i3), s.default.executeCallback(this, "setScheduleByIdAsync", t3, this))); + } + setScheduleByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleName", "setScheduleByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleByNameAsync"), t3, true), a.default.findItemByValueAsync(u.scheduleManager, e3, "schedule", "name").then((i3) => (this.logNote("found the schedule named '" + i3.name + "' by the schedule Name '" + e3 + "'"), this._coreActionViewModel.setSchedule(i3), s.default.executeCallback(this, "setScheduleByNameAsync", t3, this))); + } + get scheduleTimeZone() { + return this._scheduleTimeZone; + } + get outputActive() { + return this._getOutputById(c.outputIds.active, true); + } + get outputInactive() { + return this._getOutputById(c.outputIds.inactive, true); + } + } + t2.default = d; + }, 8080(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(37603)), l = i2(32282), u = i2(26847); + class c extends s.default { + constructor(e3) { + super(e3), this._inServiceSchedules = this.coreFactory.createArchWrapper(e3.inServiceSchedules), this._scheduleGroup = this.coreFactory.createArchWrapper(e3.scheduleGroup); + } + get _actionTypeId() { + return o.evaluateScheduleGroupActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionEvaluateScheduleGroup() { + return true; + } + get scheduleGroup() { + return this._scheduleGroup; + } + setScheduleGroupByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupId", "setScheduleGroupByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleGroupByIdAsync"), t3, true), r.default.findItemByIdAsync(l.scheduleGroupManager, e3, "schedule group").then(function(e4) { + return this.logNote("found the schedule group named '" + e4.name + "'."), this._coreActionViewModel.setScheduleGroup(e4), a.default.executeCallback(this, "setScheduleGroupByIdAsync", t3, this); + }.bind(this)); + } + setScheduleGroupByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupName", "setScheduleGroupByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleGroupByNameAsync"), t3, true), r.default.findItemByValueAsync(l.scheduleGroupManager, e3, "schedule group", "name").then(function(e4) { + return this.logNote("found the schedule group named '" + e4.name + "'."), this._coreActionViewModel.setScheduleGroup(e4), a.default.executeCallback(this, "setScheduleGroupByNameAsync", t3, this); + }.bind(this)); + } + get inServiceSchedules() { + return this._inServiceSchedules; + } + get outputOpen() { + return this._getOutputById(u.outputIds.open, true); + } + get outputClosed() { + return this._getOutputById(u.outputIds.closed, true); + } + get outputHoliday() { + return this._getOutputById(u.outputIds.holiday, true); + } + get outputEmergency() { + return this._getOutputById(u.outputIds.emergency, true); + } + } + t2.default = c; + }, 73080(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = i2(26847), a = n2.__importDefault(i2(62957)); + class s extends a.default { + constructor(e3) { + super(e3), e3.skillExpressionFilters && (this._skillExpressionFilters = this.coreFactory.createArchWrapper(e3.skillExpressionFilters)), e3.skillExpressionFiltersResult && (this._skillExpressionFiltersResult = this.coreFactory.createArchWrapper(e3.skillExpressionFiltersResult)); + } + get _actionTypeId() { + return o.evaluateSkillExpressionFiltersActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get outputValid() { + return this._getOutputById(r.outputIds.valid, true); + } + get outputInvalid() { + return this._getOutputById(r.outputIds.invalid, true); + } + get skillExpressionFilters() { + return this._skillExpressionFilters; + } + get skillExpressionFiltersResult() { + return this._skillExpressionFiltersResult; + } + get evaluateSkillExpressionFiltersOutputsFailure() { + return this.failureOutputs; + } + get isArchActionEvaluateSkillExpressionFilters() { + return true; + } + } + t2.default = s; + }, 77680(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.exitBotFlowActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionExitBotFlow() { + return true; + } + } + t2.default = a; + }, 19791(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.exitWorkitemFlowActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchExitWorkitemFlow() { + return true; + } + } + t2.default = a; + }, 86473(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._statements = this.coreFactory.createArchBaseValueContainer(e3.variables); + } + get _actionTypeId() { + return o.extractSecureDataActionType; + } + acknowledgeSecureUsage() { + this._coreActionViewModel.setAcknowledgment() || this.logErrorAndThrow("unable to set the secure data extraction acknowledgement."); + } + addExtractSecureDataStatement(e3, t3, i3) { + const n3 = this._infoParm("archDataType", "addExtractSecureDataStatement"); + return this._checkItem(n3, !e3 || !e3.isArchDataType, "you must pass in a valid Architect data type for the statement to create"), this._checkItem(n3, !e3.isScriptCreatableForFlow(this.parentFlow), "the Architect data type " + e3.label + " is not creatable from scripting for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "'. The data type's isScriptCreatableForFlow must return true to be valid for use when creating an extract secure data statement"), this._statements._addVariableValueAssignment(e3, t3, i3, true, this._getCoreViewModel().createStatementOptions); + } + get displayTypeName() { + return this._scriptingName; + } + get hasSecureDataAcknowledgment() { + return this._coreActionViewModel.hasSecureDataAcknowledgment; + } + get isArchActionExtractSecureData() { + return true; + } + get statements() { + return this._statements._createVariableValuePairArray(); + } + } + t2.default = r; + }, 32345(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(92661)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findDivisionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindDivision() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = a; + }, 98088(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(54016)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findDivisionsActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindDivisions() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = a; + }, 4130(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findEmergencyGroupActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindEmergencyGroup() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 29433(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findGrammarActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindGrammar() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 92257(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findGrammarByIdActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindGrammarById() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 99847(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findGroupActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindGroup() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 59524(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findKnowledgeBaseDocumentByIdActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindKnowledgeBaseDocumentById() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 10923(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findLanguageSkillActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindLanguageSkill() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 89965(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findQueueActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindQueue() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 20403(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findQueueByIdActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindQueueById() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 73903(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findScheduleActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindSchedule() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 57088(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findScheduleGroupActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindScheduleGroup() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 73677(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findSkillActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindSkill() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 92109(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findSystemPromptActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindSystemPrompt() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 50853(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findUserActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindUser() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 91173(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findUserByIdActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindUserById() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 99528(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(92661)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findUserPromptActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindUserPrompt() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 68608(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(35958)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findUsersByIdActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindUsersById() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 6568(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(92661)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.findUtilizationLabelActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFindUtilizationLabel() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = a; + }, 15589(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.flushAudioActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionFlushAudio() { + return true; + } + } + t2.default = r; + }, 19563(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(56549)), r = n2.__importDefault(i2(94225)), a = i2(30801), s = n2.__importDefault(i2(65485)), l = i2(87889), u = i2(71528); + class c extends s.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return a.formActionType; + } + get displayTypeName() { + return "ArchActionForm"; + } + get isArchActionForm() { + return true; + } + get libraryName() { + var e3; + return null === (e3 = this._getCoreViewModel().responseLibrary) || void 0 === e3 ? void 0 : e3.name; + } + get formName() { + return this._getCoreViewModel().formName; + } + get formCompletionTimeout() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().formCompletionTimeout); + } + get formOutputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + } + setFormByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("formId", "setFormByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFormByIdAsync"), t3, true), o.default.findItemByIdAsync(l.formResponseManager, e3, "form").then(function(i3) { + return this.logNote("found the form named '" + i3.name + "' by the form Id '" + e3 + "'"), this._coreActionViewModel.form.setValue(i3), r.default.executeCallback(this, "setFormByIdAsync", t3, this); + }.bind(this)); + }); + } + setFormByNameAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + let n3; + this._checkItemIsValidLiteralString(this._infoParm("formName", "setFormByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setFormByNameAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFormByNameAsync"), i3, true), (null == t3 ? void 0 : t3.length) && (n3 = (e4) => e4.libraries && e4.libraries.some((e5) => e5.name === t3)); + const a2 = yield o.default.findItemByValueAsync(l.formResponseManager, e3, "form", null, null, n3, { queryPhrase: e3 }); + return this.logNote(`found the response named '${a2.name}' by the form Id '${a2.id}'`), this._getCoreViewModel().form.setValue(a2), r.default.executeCallback(this, "setFormByNameAsync", i3, this); + }); + } + setResponseLibraryByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setResponseLibraryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByNameAsync"), t3, true); + const i3 = yield o.default.findItemByValueAsync(u.responseLibraryManager, e3, "response library", "name"); + return this.logNote(`found the response library named '${i3.name}' by the library Id '${i3.id}'`), this._getCoreViewModel().library.setValue(i3), r.default.executeCallback(this, "setResponseLibraryByNameAsync", t3, this); + }); + } + setResponseLibraryByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("responseLibraryName", "setResponseLibraryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByIdAsync"), t3, true); + const i3 = yield o.default.findItemByIdAsync(u.responseLibraryManager, e3, "response library"); + return this.logNote(`found the response library named '${i3.name}' by the library Id '${i3.id}'`), this._getCoreViewModel().library.setValue(i3), r.default.executeCallback(this, "setResponseLibraryByIdAsync", t3, this); + }); + } + } + t2.default = c; + }, 17302(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(90897)); + class a extends r.default { + constructor(e3) { + super(e3), this._externalContactId = this.coreFactory.createArchWrapper(e3.externalContactId), this._getAssignedCustomerIntentsResult = this.coreFactory.createArchWrapper(e3.getAssignedCustomerIntentsResult); + } + get _actionTypeId() { + return o.getAssignedCustomerIntentsActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get getAssignedCustomerIntentsOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionGetAssignedCustomerIntents() { + return true; + } + get externalContactId() { + return this._externalContactId; + } + get getAssignedCustomerIntentsResult() { + return this._getAssignedCustomerIntentsResult; + } + } + t2.default = a; + }, 36911(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(90897)); + class a extends r.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 o.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; + }, 56356(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(74797), o = i2(30801); + class r extends n2.ArchBaseActionConversationAttribute { + constructor(e3) { + super(e3), this._recordId = this.coreFactory.createArchWrapper(e3.recordId); + } + get _actionTypeId() { + return o.getConversationAttributeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetConversationAttribute() { + return true; + } + get recordId() { + return this._recordId; + } + } + t2.default = r; + }, 48611(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(74797), o = i2(30801); + class r extends n2.ArchBaseActionConversationAttribute { + constructor(e3) { + super(e3), this._recordIds = this.coreFactory.createArchWrapper(e3.recordIds); + } + get _actionTypeId() { + return o.getConversationAttributesActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetConversationAttributes() { + return true; + } + get recordIds() { + return this._recordIds; + } + } + t2.default = r; + }, 66134(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(88827)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId), this._participantId = this.coreFactory.createArchWrapper(e3.participantId), this._attributeVariableValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + } + get _actionTypeId() { + return o.getConversationDataActionType; + } + get displayTypeName() { + return this._scriptingName; + } + addAttributeNameOutputValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameOutputValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("variableExpression", "addAttributeNameOutputValuePair"), t3, true), this._attributeVariableValuePairs._addNameValueAssignment(e3, t3, true, false); + } + get conversationId() { + return this._conversationId; + } + get participantId() { + return this._participantId; + } + get isArchActionGetConversationData() { + return true; + } + } + t2.default = r; + }, 48787(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); + class u extends l.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.emailHeaderNames), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.emailHeadersResult), "f"); + } + get _actionTypeId() { + return s.getEmailHeadersActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetEmailHeaders() { + return true; + } + setInputDataVariable(e3) { + this._checkItemIsValidJsonObject(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), a.__classPrivateFieldGet(this, o, "f").setVariable(e3); + } + get emailHeaderNames() { + return a.__classPrivateFieldGet(this, n2, "f"); + } + get emailHeadersResult() { + return a.__classPrivateFieldGet(this, o, "f"); + } + get getEmailHeadersFailureOutputs() { + if (this._coreActionViewModel.errorBindings) return a.__classPrivateFieldGet(this, r, "f") || a.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings), "f"), a.__classPrivateFieldGet(this, r, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 66632(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(88827)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._externalId = this.coreFactory.createArchWrapper(e3.externalId), this._externalResult = this.coreFactory.createArchWrapper(e3.externalResult); + } + get _actionTypeId() { + return o.getExternalContactActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetExternalContact() { + return true; + } + get externalId() { + return this._externalId; + } + get externalResult() { + return this._externalResult; + } + } + t2.default = r; + }, 18953(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(88827)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._externalId = this.coreFactory.createArchWrapper(e3.externalId), this._externalResult = this.coreFactory.createArchWrapper(e3.externalResult); + } + get _actionTypeId() { + return o.getExternalOrganizationActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetExternalOrganization() { + return true; + } + get externalId() { + return this._externalId; + } + get externalResult() { + return this._externalResult; + } + } + t2.default = r; + }, 44409(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.getJourneyOutcomeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetJourneyOutcome() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 2467(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.getJourneyOutcomeScoresBySessionActionType; + } + get displayTypeName() { + return "ArchActionGetJourneyOutcomeScoresBySession"; + } + get isArchActionGetJourneyOutcomeScoresBySession() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 94684(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.getJourneySegmentActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetJourneySegment() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 51913(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.getJourneySessionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetJourneySession() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 80344(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(93523)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.getJourneySessionsByExternalContactActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetJourneySessionsByExternalContact() { + return true; + } + get findResult() { + return this._findResult; + } + } + t2.default = r; + }, 6276(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._attributeVariableValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + } + get _actionTypeId() { + return o.getAttributesActionType; + } + get displayTypeName() { + return this._scriptingName; + } + addAttributeNameOutputValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameOutputValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("variableExpression", "addAttributeNameOutputValuePair"), t3, true), this._attributeVariableValuePairs._addNameValueAssignment(e3, t3, true, false); + } + get isArchActionGetParticipantData() { + return true; + } + get attributeNameOutputValuePairs() { + return this._attributeVariableValuePairs; + } + } + t2.default = r; + }, 90733(e2, t2, i2) { + "use strict"; + var n2, o; + Object.defineProperty(t2, "__esModule", { value: true }); + const r = i2(31635), a = i2(30801), s = r.__importDefault(i2(21345)); + class l extends s.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.rawSIPHeadersResult), "f"), e3.errorBindings && r.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); + } + get _actionTypeId() { + return a.getRawSIPHeadersActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetRawSIPHeaders() { + return true; + } + get rawSIPHeadersResult() { + return r.__classPrivateFieldGet(this, n2, "f"); + } + setInputDataVariable(e3) { + this._checkItemIsValidLiteralStringOrStringArray(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), r.__classPrivateFieldGet(this, n2, "f").setVariable(e3); + } + get getRawSipHeadersFailureOutputs() { + return r.__classPrivateFieldGet(this, o, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = l; + }, 82118(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 r.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); + } + get _actionTypeId() { + return u.getResponseActionType; + } + _clearResponseSubstitutions() { + this._responseSubstitutions = void 0; + } + get displayTypeName() { + return this._scriptingName; + } + get responseSubstitutions() { + return this._responseSubstitutions || (this._responseSubstitutions = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().substitutions)), this._responseSubstitutions; + } + get isArchActionGetResponse() { + return true; + } + get isSelectedResponseInSelectedResponseLibrary() { + return this._coreActionViewModel.isSelectedResponseInSelectedResponseLibrary; + } + get performSubstitutions() { + return this._coreActionViewModel.performSubstitutions; + } + set performSubstitutions(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("value", "performSubstitutions"), e3, false), this._coreActionViewModel.performSubstitutions = e3; + } + get responseBodyHandling() { + 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(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), o.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(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(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); + } + get valueResponseBody() { + return this._responseBody; + } + get attachments() { + return this._attachments; + } + } + t2.default = p; + }, 1227(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); + class u extends l.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.sipHeaderNames), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.sipHeadersResult), "f"), e3.errorBindings && a.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); + } + get _actionTypeId() { + return s.getSIPHeadersActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionGetSIPHeaders() { + return true; + } + setInputDataVariable(e3) { + this._checkItemIsValidJsonObject(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), a.__classPrivateFieldGet(this, o, "f").setVariable(e3); + } + get sipHeaderNames() { + return a.__classPrivateFieldGet(this, n2, "f"); + } + get sipHeadersResult() { + return a.__classPrivateFieldGet(this, o, "f"); + } + get getSipHeadersFailureOutputs() { + return a.__classPrivateFieldGet(this, r, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 26166(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(91981)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId); + } + get _actionTypeId() { + return o.getSecuredDataActionType; + } + get conversationId() { + return this._conversationId; + } + get isArchActionGetSecuredData() { + return true; + } + } + t2.default = r; + }, 13169(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(78432)), r = i2(30801), a = n2.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3) { + super(e3), this._bargeInEnabled = this.coreFactory.createArchWrapper(e3.bargeInExpression), this._prompt = this.coreFactory.createArchWrapper(e3.prompt), this._playDuration = this.coreFactory.createArchWrapper(e3.duration); + } + get _actionTypeId() { + return r.holdMusicActionType; + } + get bargeInEnabled() { + return this._bargeInEnabled; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionHoldMusic() { + return true; + } + get playDuration() { + return this._playDuration; + } + get playStyle() { + return this._coreActionViewModel.playForDuration ? o.default.HOLD_MUSIC_PLAY_STYLES.duration : o.default.HOLD_MUSIC_PLAY_STYLES.prompt; + } + set playStyle(e3) { + switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newPlayStyle", "playStyle"), e3, o.default.HOLD_MUSIC_PLAY_STYLES_ALL), this.logNote("setting the play style to '" + e3 + "'"), e3) { + case o.default.HOLD_MUSIC_PLAY_STYLES.prompt: + this._coreActionViewModel.playForDuration = false; + break; + case o.default.HOLD_MUSIC_PLAY_STYLES.duration: + this._coreActionViewModel.playForDuration = true; + } + } + get prompt() { + return this._prompt; + } + } + t2.default = s; + }, 92395(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(39292)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.initializeFlowOutcomeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionInitializeFlowOutcome() { + return true; + } + } + t2.default = r; + }, 151(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(11210)), a = i2(19384), s = i2(30801); + class l extends r.default { + constructor(e3) { + super(e3), this._targetArchMenu = void 0; + } + get _actionTypeId() { + return s.transferMenuActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionJumpToMenu() { + return true; + } + get targetMenu() { + if (this._coreActionViewModel.menuReference) { + const e3 = this._coreActionViewModel.parentFlow ? a.flowElementRegistrationService.getItemById(this._coreActionViewModel.parentFlow, this._coreActionViewModel.menuReference) : void 0; + if (e3) return this.coreFactory.createArchWrapper(e3); + } + } + set targetMenu(e3) { + if (o.default.isNull(e3) || o.default.isUndefined(e3)) return this._targetArchMenu = null, this.logNote("setting the jump to menu to null"), void this._coreActionViewModel.menu.setReference(null); + const t3 = this._infoPropSet("archMenuTarget", "targetMenu"), i3 = e3; + this._checkItem(t3, !e3 || !i3.isArchMenu && !i3.isArchMenuSubMenu, "you cannot set the target menu of a jump to menu action to be an object that is not an Architect menu or sub-menu."), this._checkItemSameParentFlow(t3, this.parentFlow, e3.parentFlow); + const n3 = this._coreActionViewModel.menu.getInvalidReferenceReason(e3._getCoreViewModel()); + this._checkItem(t3, n3, `targetMenu is not valid as the jump to menu target, reason: ${n3}`), this._targetArchMenu = e3, this.logNote("setting the jump to menu to " + e3.logStr), this._coreActionViewModel.menu.setReference(e3._getCoreViewModel()); + } + } + t2.default = l; + }, 43497(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3, t3) { + super(e3), this._targetArchTask = void 0; + } + get _actionTypeId() { + return r.transferTaskActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionJumpToTask() { + return true; + } + get targetTask() { + if (o.default.isUndefined(this._targetArchTask)) { + this._targetArchTask = null; + const e3 = this._coreActionViewModel.parentFlow; + if (e3 && e3.hasTasks) { + const t3 = e3.tasks, i3 = o.default.findWhere(t3, { id: this._getCoreViewModel().taskReference }); + i3 && (this._targetArchTask = this.coreFactory.createArchWrapper(i3)); + } + } + if (this._targetArchTask) return this._targetArchTask; + } + set targetTask(e3) { + if (!e3) return this._targetArchTask = null, this.logNote("setting the jump to task to null"), void this._coreActionViewModel.containerActionProperty.setReference(null); + this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !e3 || !e3.isArchTask, "you cannot set the jump to target task to an object that is not an Architect task"); + const t3 = this._coreActionViewModel.containerActionProperty.getInvalidReferenceReason(e3.coreTaskViewModel); + this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), t3, `targetTask is not valid as the jump to target task, reason: ${t3}`), this._targetArchTask = e3, this.logNote("setting the jump to task to " + e3.logStr), this._coreActionViewModel.containerActionProperty.setReference(e3.coreTaskViewModel); + } + get taskInputs() { + if (this._getCoreViewModel().inputs) return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + } + } + t2.default = s; + }, 90067(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(15453)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._currentIndex = this.coreFactory.createArchValueFromExpression(e3.currentIndex), this._loopCount = this.coreFactory.createArchValueFromExpression(e3.loopCount); + } + get _actionTypeId() { + return o.loopActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get currentIndex() { + return this._currentIndex; + } + get isArchActionLoop() { + return true; + } + get loopCount() { + return this._loopCount; + } + } + t2.default = r; + }, 50720(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(90077)), o = i2(30801), r = i2(26847); + class a extends n2.default { + constructor(e3) { + super(e3), this._currentIndex = this.coreFactory.createArchValueFromExpression(e3.currentIndex); + } + get _actionTypeId() { + return o.askForNLUNextIntentActionActionType; + } + get currentIndex() { + return this._currentIndex; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionLoopAnythingElse() { + return true; + } + get outputLoop() { + return this._getOutputById(r.outputIds.loop, true); + } + } + t2.default = a; + }, 40091(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.exitLoopActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionLoopExit() { + return true; + } + } + t2.default = r; + }, 83054(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.nextLoopActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionLoopNext() { + return true; + } + } + t2.default = r; + }, 80219(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(25298)), a = n2.__importDefault(i2(73198)), s = i2(30801); + class l extends r.default { + constructor(e3) { + super(e3), this._currentIndex = this.coreFactory.createArchWrapper(e3.currentIndex), this._maxLoopCount = this.coreFactory.createArchWrapper(e3.maxLoopCount); + } + get _actionTypeId() { + return s.loopUntilActionType; + } + _getArchNamedValue(e3, t3) { + return this.coreFactory.createArchWrapper({ name: e3, value: t3, model: { isDataPair: true } }); + } + get displayTypeName() { + return this._scriptingName; + } + addUntilCase(e3, t3) { + const i3 = this._infoParm("untilCaseName", "addUntilCase"); + this._checkItemIsValidLiteralString(i3, e3); + const n3 = this._getOutputByName(e3, true, true); + this._checkItem(i3, !!n3, `you cannot add an until case with the name '${e3}' because there is already another until case with that name and until case names should be unique on a loop until action.`), this._checkItemIsValidLiteralString(this._infoParm("untilCaseExpression", "addUntilCase"), t3, true); + const r2 = this._getCoreViewModel().addUntilCase(e3, a.default.false), s2 = this._getArchNamedValue(r2.label, r2.value); + return o.default.isString(t3) && s2.value.setExpression(t3), s2; + } + get currentIndex() { + return this._currentIndex; + } + get isArchActionLoopUntil() { + return true; + } + get maxLoopCount() { + return this._maxLoopCount; + } + get untilCases() { + const e3 = this._getCoreViewModel().untilCases.items, t3 = []; + return o.default.each(e3, (e4) => { + const i3 = this._getOutputById(e4.referenceId, true); + t3.push(this._getArchNamedValue(i3 ? i3.name : "", e4.value)); + }), t3; + } + } + t2.default = l; + }, 32050(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.menuActionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionMenu() { + return true; + } + } + t2.default = r; + }, 95433(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._audio = this.coreFactory.createArchAudio(e3.prompts); + } + get _actionTypeId() { + return o.playAudioActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get audio() { + return this._audio; + } + get isArchActionPlayAudio() { + return true; + } + } + t2.default = r; + }, 95201(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(55572)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._actualRepeatCount = this.coreFactory.createArchWrapper(e3.actualRepeatCount), this._allowedRepeatCount = this.coreFactory.createArchWrapper(e3.allowedRepeatCount), this._audio = this.coreFactory.createArchWrapper(e3.audio); + } + get _actionTypeId() { + return o.playAudioOnSilenceActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionPlayAudioOnSilence() { + return true; + } + get actualRepeatCount() { + return this._actualRepeatCount; + } + get allowedRepeatCount() { + return this._allowedRepeatCount; + } + get audio() { + return this._audio; + } + } + t2.default = r; + }, 38557(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(11210)), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(26151)), l = i2(30801); + class u extends r.default { + constructor(e3) { + super(e3), this._estimatedWaitTime = this.coreFactory.createArchValueFromExpression(e3.estimatedWaitTime), this._estimatedWaitTimeAudio = this.coreFactory.createArchWrapper(e3.prompts)._setNotWritableOverride(true), this._roundingInterval = this.coreFactory.createArchWrapper(e3.roundingInterval), this._specificRoundingIntervals = this.coreFactory.createArchWrapper(e3.specificRoundingIntervals); + } + get _actionTypeId() { + return l.playEstimatedWaitTimeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get estimatedWaitTime() { + return this._estimatedWaitTime; + } + get estimatedWaitTimeAudio() { + return this._estimatedWaitTimeAudio; + } + get isArchActionPlayEstimatedWaitTime() { + return true; + } + get playbackMode() { + switch (this._coreActionViewModel.playbackMode) { + case s.default.about: + return a.default.PLAY_ESTIMATED_WAIT_STYLES.about; + case s.default.exact: + return a.default.PLAY_ESTIMATED_WAIT_STYLES.exact; + case s.default.lessThan: + return a.default.PLAY_ESTIMATED_WAIT_STYLES.lessThan; + case s.default.range: + return a.default.PLAY_ESTIMATED_WAIT_STYLES.range; + default: + this._logErrorInternalAndThrow("unknown core estimated wait time playback mode"); + } + } + set playbackMode(e3) { + switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newPlaybackMode", "playbackMode"), e3, a.default.PLAY_ESTIMATED_WAIT_STYLES_ALL), this.logNote("setting the playback mode to '" + e3 + "'"), e3) { + case a.default.PLAY_ESTIMATED_WAIT_STYLES.about: + this._coreActionViewModel.playbackMode = s.default.about; + break; + case a.default.PLAY_ESTIMATED_WAIT_STYLES.exact: + this._coreActionViewModel.playbackMode = s.default.exact; + break; + case a.default.PLAY_ESTIMATED_WAIT_STYLES.lessThan: + this._coreActionViewModel.playbackMode = s.default.lessThan; + break; + case a.default.PLAY_ESTIMATED_WAIT_STYLES.range: + this._coreActionViewModel.playbackMode = s.default.range; + } + } + get roundingInterval() { + return this._roundingInterval; + } + get specificRoundingIntervals() { + const e3 = []; + return this.supportsSpecificRoundingIntervals ? (o.default.each(this._specificRoundingIntervals._getCoreViewModel().items, (t3) => { + e3.push(this.coreFactory.createArchWrapper(t3)); + }), e3) : e3; + } + get specificRoundingIntervalsCount() { + return this.specificRoundingIntervals.length; + } + addSpecificRoundingInterval() { + this.supportsSpecificRoundingIntervals || this.logErrorAndThrow(`cannot add a specific rounding interval when the playback mode is set to '${this.playbackMode}'. ${this.logStr}`); + const e3 = this._getCoreViewModel().specificRoundingIntervals.items, t3 = e3.length; + if (this._getCoreViewModel().addSpecificInterval(), e3.length > t3) return this.coreFactory.createArchWrapper(e3[e3.length - 1]); + } + getSpecificRoundingIntervalByIndex(e3) { + const t3 = this._infoPropSet("index", "getSpecificRoundingIntervalByIndex"); + return this._validateSpecificRoundingIntervalByIndex(t3, e3), this.coreFactory.createArchWrapper(this._getCoreViewModel().specificRoundingIntervals.items[e3]); + } + deleteSpecificRoundingIntervalByIndex(e3) { + const t3 = this._infoPropSet("index", "deleteSpecificRoundingIntervalByIndex"); + this._validateSpecificRoundingIntervalByIndex(t3, e3); + const i3 = this._getCoreViewModel().specificRoundingIntervals.items[e3]; + i3 && (this.logNoteVerbose(`deleting specific rounding interval at index: ${e3}.`), this._getCoreViewModel().specificRoundingIntervals.removeChild(i3), this.logNote(`deleted the specific rounding interval at index ${e3}.`)); + } + get supportsSpecificRoundingIntervals() { + return this._getCoreViewModel().supportsSpecificRoundingIntervals(); + } + _validateSpecificRoundingIntervalByIndex(e3, t3) { + this._checkItemIsValidLiteralInt(e3, t3, false), this._checkItem(e3, t3 < 0 || t3 >= this.specificRoundingIntervalsCount, `the index parameter value of '${t3}' is invalid. It must be >= 0 and <${this.specificRoundingIntervalsCount}.`); + } + } + t2.default = u; + }, 61828(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(11210)), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(96946)), s = i2(30801); + class l extends o.default { + constructor(e3) { + super(e3), this._positionInQueue = this.coreFactory.createArchValueFromExpression(e3.positionInQueue), this._positionInQueueAudio = this.coreFactory.createArchWrapper(e3.prompts)._setNotWritableOverride(true); + } + get _actionTypeId() { + return s.playPositionInQueueActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get positionInQueue() { + return this._positionInQueue; + } + get positionInQueueAudio() { + return this._positionInQueueAudio; + } + get isArchActionPlayPositionInQueue() { + return true; + } + get playbackMode() { + switch (this._coreActionViewModel.playbackMode) { + case a.default.ahead: + return r.default.PLAY_POSITION_STYLES.ahead; + case a.default.number: + return r.default.PLAY_POSITION_STYLES.number; + case a.default.ordinal: + return r.default.PLAY_POSITION_STYLES.ordinal; + default: + this._logErrorInternalAndThrow("unknown core position in queue playback mode"); + } + } + set playbackMode(e3) { + switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newPlaybackMode", "playbackMode"), e3, r.default.PLAY_POSITION_STYLES_ALL), this.logNote("setting the playback mode to '" + e3 + "'"), e3) { + case r.default.PLAY_POSITION_STYLES.ahead: + this._coreActionViewModel.playbackMode = a.default.ahead; + break; + case r.default.PLAY_POSITION_STYLES.number: + this._coreActionViewModel.playbackMode = a.default.number; + break; + case r.default.PLAY_POSITION_STYLES.ordinal: + this._coreActionViewModel.playbackMode = a.default.ordinal; + } + } + } + t2.default = l; + }, 87115(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3), this._targetUser = this.coreFactory.createArchWrapper(e3.user); + } + get _actionTypeId() { + return o.playUserGreetingActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionPlayUserGreeting() { + return true; + } + get targetUser() { + return this._targetUser; + } + } + t2.default = a; + }, 67987(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(11210)); + class a extends r.default { + constructor(e3) { + super(e3), this._targetUser = this.coreFactory.createArchWrapper(e3.user); + } + get _actionTypeId() { + return o.playUserNameActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionPlayUserName() { + return true; + } + get targetUser() { + return this._targetUser; + } + } + t2.default = a; + }, 94455(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.previousMenuActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionPreviousMenu() { + return true; + } + } + t2.default = r; + }, 85763(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = i2(30801), a = n2.__importDefault(i2(27873)); + class s extends a.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return r.processVoicemailInputActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get hasFakeFaxProcessedOutput() { + return true; + } + get isArchActionProcessVoicemailInput() { + return true; + } + get outputVoicemail() { + return this._getOutputById(o.outputIds.voicemail, true); + } + } + t2.default = s; + }, 92512(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3), this._externalId = this.coreFactory.createArchWrapper(e3.externalId), this._externalResult = this.coreFactory.createArchWrapper(e3.externalResult); + } + get _actionTypeId() { + return o.promoteExternalContactActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get promoteExternalContactOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionPromoteExternalContact() { + return true; + } + get externalId() { + return this._externalId; + } + get externalResult() { + return this._externalResult; + } + } + t2.default = a; + }, 77373(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.repeatMenuActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionRepeatMenu() { + return true; + } + } + t2.default = r; + }, 29829(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.returnToAgentActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionReturnToAgent() { + return true; + } + } + t2.default = r; + }, 48167(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84282)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._externalResults = this.coreFactory.createArchWrapper(e3.externalResult), this._searchTerm = this.coreFactory.createArchWrapper(e3.externalId); + } + get _actionTypeId() { + return o.searchExternalContactsActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSearchExternalContacts() { + return true; + } + get externalResults() { + return this._externalResults; + } + get searchTerm() { + return this._searchTerm; + } + } + t2.default = r; + }, 46638(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(57382)), r = n2.__importDefault(i2(78432)), a = i2(30801); + class s extends o.default { + constructor(e3) { + super(e3), this._bcc = this.coreFactory.createArchWrapper(e3.bcc), this._cc = this.coreFactory.createArchWrapper(e3.cc), this._from = this.coreFactory.createArchWrapper(e3.from), this._messageBody = this.coreFactory.createArchWrapper(e3.messageBody), this._replyTo = this.coreFactory.createArchWrapper(e3.replyTo), this._attachments = this.coreFactory.createArchWrapper(e3.attachments); + } + get _actionTypeId() { + return a.sendAutoReplyActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSendAutoReply() { + return true; + } + get from() { + return this._from; + } + get replyMode() { + return this._coreActionViewModel.replyToSenderOnly ? r.default.SEND_AUTO_REPLY_MODES.replyToSender : r.default.SEND_AUTO_REPLY_MODES.replyToAll; + } + set replyMode(e3) { + this._checkItemIsValidLiteralStringEnum(this._infoPropSet("value", "replyMode"), e3, r.default.SEND_AUTO_REPLY_MODES_ALL), this._coreActionViewModel.replyToSenderOnly = e3 === r.default.SEND_AUTO_REPLY_MODES.replyToSender, this._checkItem(this._infoPropSet(e3, "replyMode"), this.replyMode !== e3, "unable to set the reply mode to '" + e3 + "' because the mode is not available."); + } + get replyTo() { + return this._replyTo; + } + get cc() { + return this._cc; + } + get bcc() { + return this._bcc; + } + get messageBody() { + return this._messageBody; + } + setMessageBodyVariable(e3) { + this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("messageBodyVariable", "setMessageBodyVariable"), e3, false), this.messageBody.setVariable(e3); + } + get attachments() { + return this._attachments; + } + } + t2.default = s; + }, 51978(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(65485)), l = i2(25965), u = i2(71528); + class c extends s.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.sendDigitalContentActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSendDigitalContent() { + return true; + } + get libraryName() { + var e3; + return null === (e3 = this._getCoreViewModel().responseLibrary) || void 0 === e3 ? void 0 : e3.name; + } + get messagingTemplateName() { + return this._getCoreViewModel().messagingTemplateName; + } + get valueSelectionResult() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().selectionResult); + } + get messagingTemplateSubstitutions() { + return this._messagingTemplateSubstitutions || (this._messagingTemplateSubstitutions = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().substitutions)), this._messagingTemplateSubstitutions; + } + get messagingTemplateType() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().messagingTemplateType); + } + _clearResponseSubstitutions() { + this._messagingTemplateSubstitutions = void 0; + } + setMessagingTemplateByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("messagingTemplateId", "setMessagingTemplateByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setMessagingTemplateByIdAsync"), t3, true); + const i3 = yield r.default.findItemByIdAsync(l.messagingTemplateResponseManager, e3, "messaging template"); + return this.logNote("found the messaging template named '" + i3.name + "' by the id '" + e3 + "'"), yield this._coreActionViewModel.setMessagingTemplateDataAsync(i3), this._clearResponseSubstitutions(), a.default.executeCallback(this, "setMessagingTemplateByIdAsync", t3, this); + }); + } + setMessagingTemplateByNameAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + let n3; + this._checkItemIsValidLiteralString(this._infoParm("messagingTemplateName", "setMessagingTemplateByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("libraryName", "setMessagingTemplateByNameAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setMessagingTemplateByNameAsync"), i3, true), (null == t3 ? void 0 : t3.length) && (n3 = (e4) => e4.libraries && e4.libraries.some((e5) => e5.name === t3)); + const o2 = yield r.default.findItemByValueAsync(l.messagingTemplateResponseManager, e3, "messaging template", null, null, n3, { queryPhrase: e3 }); + return this.logNote("found the messaging template with an Id of '" + o2.id + "' by the messaging template name '" + o2.name + "'"), yield this._coreActionViewModel.setMessagingTemplateDataAsync(o2), this._clearResponseSubstitutions(), a.default.executeCallback(this, "setMessagingTemplateByNameAsync", i3, this); + }); + } + setResponseLibraryByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("libraryName", "setResponseLibraryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByNameAsync"), t3, true); + const i3 = yield r.default.findItemByValueAsync(u.responseLibraryManager, e3, "response library", "name"); + return this.logNote("found the response library with an Id of '" + i3.id + "' by the library name '" + i3.name + "'"), this._coreActionViewModel.library.setValue(i3), a.default.executeCallback(this, "setResponseLibraryByNameAsync", t3, this); + }); + } + setResponseLibraryByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("responseLibraryId", "setResponseLibraryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setResponseLibraryByIdAsync"), t3, true); + const i3 = yield r.default.findItemByIdAsync(u.responseLibraryManager, e3, "response library"); + return this.logNote("found the response library named '" + i3.name + "' by the library Id '" + i3.id + "'"), this._coreActionViewModel.library.setValue(i3), a.default.executeCallback(this, "setResponseLibraryByIdAsync", t3, this); + }); + } + setSelectionResultVariable(e3) { + this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("selectionResultVariable", "setSelectionResultVariable"), e3, false), this.valueSelectionResult.setVariable(e3); + } + } + t2.default = c; + }, 59497(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s; + Object.defineProperty(t2, "__esModule", { value: true }); + 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), o.set(this, void 0), r.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, o, this.coreFactory.createArchWrapper(e3.applicationUrl), "f"), l.__classPrivateFieldSet(this, r, 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"); + } + get _actionTypeId() { + return u.sendInteractiveApplicationActionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSendInteractiveApplication() { + return true; + } + get applicationName() { + return l.__classPrivateFieldGet(this, n2, "f"); + } + get applicationUrl() { + return l.__classPrivateFieldGet(this, o, "f"); + } + get applicationImage() { + return l.__classPrivateFieldGet(this, r, "f"); + } + get title() { + return l.__classPrivateFieldGet(this, a, "f"); + } + get subTitle() { + return l.__classPrivateFieldGet(this, s, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), t2.default = d; + }, 12252(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = i2(30801), l = a.__importDefault(i2(21345)); + class u extends l.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.knowledgeArticle), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.knowledgeFeedback), "f"), a.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(e3.knowledgeSearchId), "f"); + } + get _actionTypeId() { + return s.sendKnowledgeFeedbackActionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSendKnowledgeFeedback() { + return true; + } + get knowledgeArticle() { + return a.__classPrivateFieldGet(this, n2, "f"); + } + get knowledgeFeedback() { + return a.__classPrivateFieldGet(this, o, "f"); + } + get knowledgeSearchId() { + return a.__classPrivateFieldGet(this, r, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 384(e2, t2, i2) { + "use strict"; + var n2, o, r, 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), o.set(this, void 0), r.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, o, this.coreFactory.createArchWrapper(e3.subject), "f"), p.__classPrivateFieldSet(this, r, 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; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSendNotification() { + return true; + } + get notificationType() { + return p.__classPrivateFieldGet(this, n2, "f"); + } + setNotificationType(e3) { + const t3 = this._infoPropSet("name", "setNotificationType"); + this._checkItemIsValidLiteralStringEnum(t3, e3, _.default.SEND_NOTIFICATION_TYPES_ALL), this.notificationType.setLiteralString(e3); + } + get subject() { + return p.__classPrivateFieldGet(this, o, "f"); + } + get body() { + return p.__classPrivateFieldGet(this, r, "f"); + } + get sendToUsers() { + return p.__classPrivateFieldGet(this, a, "f"); + } + get emailNotificationStyle() { + return p.__classPrivateFieldGet(this, s, "f"); + } + setEmailNotificationStyle(e3) { + const t3 = this._infoPropSet("name", "setEmailNotificationStyle"); + this._checkItemIsValidLiteralStringEnum(t3, e3, _.default.EMAIL_STYLES_ALL), this.emailNotificationStyle.setLiteralString(e3); + } + get emailFrom() { + return p.__classPrivateFieldGet(this, l, "f"); + } + get sendNotificationFailureOutputs() { + return p.__classPrivateFieldGet(this, u, "f"); + } + get sendToGroup() { + return p.__classPrivateFieldGet(this, c, "f"); + } + get chatMessage() { + return p.__classPrivateFieldGet(this, d, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__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; + }, 68436(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(21345)), r = n2.__importDefault(i2(78432)), a = i2(30801); + class s extends o.default { + constructor(e3) { + super(e3), this._messageBody = this.coreFactory.createArchWrapper(e3.messageBody), this._messageBodyStyle = this.coreFactory.createArchWrapper(e3.messageBodyStyle), this._attachments = this.coreFactory.createArchWrapper(e3.attachments); + } + get _actionTypeId() { + return a.sendResponseActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSendResponse() { + return true; + } + get messageBody() { + return this._messageBody; + } + setMessageBodyVariable(e3) { + this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("messageBodyVariable", "setMessageBodyVariable"), e3, false), this.messageBody.setVariable(e3); + } + get messageBodyStyle() { + return this._messageBodyStyle; + } + setLiteralMessageBodyStyle(e3) { + const t3 = this._infoPropSet("newMessageBodyStyle", "messageBodyStyle"); + this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.MESSAGE_BODY_STYLES_ALL), this._coreActionViewModel.messageBodyStyle.setAsLiteral(e3), this.logNote("messageBodyStyle set to '" + this.messageBodyStyle + "'"); + } + get attachments() { + return this._attachments; + } + } + t2.default = s; + }, 66777(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s, l, u; + Object.defineProperty(t2, "__esModule", { value: true }); + 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), o.set(this, void 0), r.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, o, this.coreFactory.createArchWrapper(e3.headerText), "f"), c.__classPrivateFieldSet(this, r, 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 d.sendRichLinkActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSendRichLink() { + return true; + } + get body() { + return c.__classPrivateFieldGet(this, a, "f"); + } + get footer() { + return c.__classPrivateFieldGet(this, s, "f"); + } + get headerType() { + return c.__classPrivateFieldGet(this, n2, "f"); + } + get headerText() { + return c.__classPrivateFieldGet(this, o, "f"); + } + get headerImage() { + return c.__classPrivateFieldGet(this, r, "f"); + } + get sendRichLinkOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get urlLabel() { + return c.__classPrivateFieldGet(this, u, "f"); + } + get urlValue() { + return c.__classPrivateFieldGet(this, l, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), t2.default = _; + }, 858(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId), this._participantId = this.coreFactory.createArchWrapper(e3.participantId), this._attributeNameValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + } + get _actionTypeId() { + return o.setConversationDataActionType; + } + get displayTypeName() { + return this._scriptingName; + } + addAttributeNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addAttributeNameValuePair"), t3, true), this._attributeNameValuePairs._addNameValueAssignment(e3, t3, false, false); + } + get conversationId() { + return this._conversationId; + } + get participantId() { + return this._participantId; + } + get isArchActionSetConversationData() { + return true; + } + } + t2.default = r; + }, 19296(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3), this._externalTag = this.coreFactory.createArchWrapper(e3.externalTag); + } + get _actionTypeId() { + return o.setExternalTagActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetExternalTag() { + return true; + } + get externalTag() { + return this._externalTag; + } + } + t2.default = a; + }, 18993(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(39292)), r = n2.__importDefault(i2(78432)), a = i2(30801); + class s extends o.default { + constructor(e3) { + super(e3), this._flowOutcomeValue = this.coreFactory.createArchWrapper(e3.outcomeValue); + } + get _actionTypeId() { + return a.setFlowOutcomeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetFlowOutcome() { + return true; + } + get flowOutcomeValue() { + return this._flowOutcomeValue; + } + setFlowOutcomeValue(e3) { + const t3 = this._infoPropSet("newValue", "flowOutcome"); + this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.FLOW_OUTCOMES_ALL), this._coreActionViewModel.outcomeValue.setAsLiteral(e3), this.logNote("Flow outcome value set to '" + this.flowOutcomeValue.valueText + "'"); + } + } + t2.default = s; + }, 28323(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._intent = this.coreFactory.createArchValueFromExpression(e3.intent); + } + get _actionTypeId() { + return o.setActiveIntentActionType; + } + get displayTypeName() { + return "ArchActionSetIntent"; + } + get intent() { + return this._intent; + } + get isArchActionSetIntent() { + return true; + } + } + t2.default = r; + }, 77775(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(11210)), r = i2(30801), a = n2.__importDefault(i2(3220)), s = i2(24812), l = n2.__importStar(i2(98442)); + class u extends o.default { + constructor(e3) { + super(e3), this._languageCode = this.coreFactory.createArchValueFromExpression(e3.languageCode); + } + get _actionTypeId() { + return r.setLocaleActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetLanguage() { + return true; + } + get language() { + var e3, t3; + let i3 = this._languageCode && this._languageCode._coreExpression ? this._languageCode._coreExpression.text : null; + return i3 && (null === (t3 = null === (e3 = this._languageCode) || void 0 === e3 ? void 0 : e3._coreExpression) || void 0 === t3 ? void 0 : t3.isLiteralMode) ? (i3 = this._languageCode._getCoreViewModel().config.root.text, s.isoLanguages[i3.toLowerCase()] ? a.default.getByLanguageTag(i3) : null) : null; + } + set language(e3) { + const t3 = this._infoPropSet("archLanguage", "language"); + this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for the language to set."), this._checkItem(t3, l.langCodeIsGeneric(e3.tag), "the language " + e3.logStr + " cannot be used because it does not have a region sub-tag."), this._checkItem(t3, !this._coreActionViewModel.parentFlow.languages.isFlowSupportedLanguage(e3.tag), "the language '" + e3.logStr + "' is not a supported language on the flow."), this._languageCode._setLiteral(t3, e3.tag); + } + get languageValue() { + return this._languageCode; + } + } + t2.default = u; + }, 62320(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._attributeNameValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); + } + get _actionTypeId() { + return o.setAttributesActionType; + } + get displayTypeName() { + return this._scriptingName; + } + addAttributeNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addAttributeNameValuePair"), t3, true), this._attributeNameValuePairs._addNameValueAssignment(e3, t3, false, false); + } + get isArchActionSetParticipantData() { + return true; + } + get attributeNameValuePairs() { + return this._attributeNameValuePairs; + } + } + t2.default = r; + }, 9019(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(30801), a = n2.__importDefault(i2(11210)); + class s extends a.default { + constructor(e3) { + super(e3), this._actionType = this.coreFactory.createArchWrapper(e3.actionType), this._target = this.coreFactory.createArchWrapper(e3.target), this._invocationData = this.coreFactory.createArchWrapper(e3.invocationData); + } + get _actionTypeId() { + return r.setPostFlowActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetPostFlow() { + return true; + } + get actionType() { + return this._actionType; + } + get target() { + return this._target; + } + get invocationData() { + return this._invocationData; + } + get targetFlowInfo() { + const e3 = this._getCoreViewModel(); + return this.coreFactory.createArchFlowInfoBasic(e3.flowId, e3.flowName, e3.flowType); + } + setTargetFlowInfoAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = this._infoParm("targetFlowInfo", "setTargetFlowInfoAsync"), n3 = e3; + return this._checkItem(i3, !e3 || !n3.isArchFlowInfo && !n3.isArchFlowInfoBasic, "you must pass in an ArchFlowInfo or ArchFlowInfoBasic instance when setting the targetFlowInfo value."), this._checkItem(i3, e3.type !== this._getCoreViewModel().flowType, `the supplied flow information points to a flow of type '${e3.type}' which is not supported by this action's current configuration. You must pass in a flow information value that specifies a flow of type '${this._getCoreViewModel().flowType}'. The actionType property controls which flow type is supported.`), this.logNote(`configuring the set post flow action to call the flow with name '${e3.name}' (id: '${e3.id}') at runtime.`), yield this._getCoreViewModel().getTargetFlowRefProp().setFlowById(e3.id), o.default.executeCallback(this, "setTargetFlowInfoAsync", t3); + }); + } + getTargetTypeForActionType() { + return this._getCoreViewModel().getTargetFlowTypeForActionType(); + } + } + t2.default = s; + }, 61397(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._priority = this.coreFactory.createArchWrapper(e3.priority); + } + get _actionTypeId() { + return o.setPriorityActionType; + } + get displayTypeName() { + return "ArchActionSetPriority"; + } + get isArchActionSetPriority() { + return true; + } + get priority() { + return this._priority; + } + } + t2.default = r; + }, 14038(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(11210)), r = i2(30801), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(66978)); + class u extends o.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return r.screenPopActionType; + } + _clearInputs() { + this._scriptInputs = void 0; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetScreenPop() { + return true; + } + get scriptInputs() { + return this._scriptInputs || (this._scriptInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._scriptInputs; + } + setScriptByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("scriptName", "setScriptByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScriptByNameAsync"), t3, true), a.default.findItemByValueAsync(this._coreActionViewModel.scriptManager, e3, "screen pop script").then(function(e4) { + return l.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByNameAsync"); + }.bind(this)).then(function() { + return this._clearInputs(), s.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), a.default.findItemByIdAsync(this._coreActionViewModel.scriptManager, e3, "screen pop script").then(function(e4) { + return l.default.addPromise(this._coreActionViewModel.setScriptAsync(e4), "setScriptByIdAsync"); + }.bind(this)).then(function() { + return this._clearInputs(), s.default.executeCallback(this, "setScriptByIdAsync", t3, this); + }.bind(this)); + } + } + t2.default = u; + }, 63338(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(56265)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId); + } + get _actionTypeId() { + return o.setSecuredDataActionType; + } + get conversationId() { + return this._conversationId; + } + get isArchActionSetSecuredData() { + return true; + } + } + t2.default = r; + }, 18431(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3), e3.skillExpressionFilters && (this._skillExpressionFilters = this.coreFactory.createArchWrapper(e3.skillExpressionFilters)); + } + get _actionTypeId() { + return o.setSkillExpressionFiltersActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetSkillExpressionFilters() { + return true; + } + get skillExpressionFilters() { + return this._skillExpressionFilters; + } + get setSkillExpressionFiltersOutputsFailure() { + return this.failureOutputs; + } + } + t2.default = a; + }, 73583(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._acdSkills = this.coreFactory.createArchWrapper(e3.acdSkills), this._languageSkill = this.coreFactory.createArchWrapper(e3.languageSkill); + } + get _actionTypeId() { + return o.setSkillsActionType; + } + get displayTypeName() { + return "ArchActionSetSkills"; + } + get isArchActionSetSkills() { + return true; + } + get acdSkills() { + return this._acdSkills; + } + get languageSkill() { + return this._languageSkill; + } + } + t2.default = r; + }, 16608(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(11210)), r = i2(30801), a = n2.__importDefault(i2(78432)), s = i2(89720); + class l extends o.default { + constructor(e3) { + super(e3), this._uuiData = this.coreFactory.createArchWrapper(e3.uuiData); + } + get _actionTypeId() { + return r.setUUIDataActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetUUIData() { + return true; + } + get uuiData() { + return this._uuiData; + } + get mode() { + var e3; + return null === (e3 = this._getCoreViewModel().mode) || void 0 === e3 ? void 0 : e3.name; + } + set mode(e3) { + const t3 = this._infoPropSet("newOutboundUUIDataMode", "mode"); + switch (this._checkItemIsValidLiteralStringEnum(t3, e3, a.default.SET_UUI_DATA_MODES_ALL), e3) { + case a.default.SET_UUI_DATA_MODES.transfer: + this._getCoreViewModel().mode = s.transfer; + break; + case a.default.SET_UUI_DATA_MODES.disconnect: + this._getCoreViewModel().mode = s.disconnect; + } + this.logNote("mode set to '" + this.mode + "'"); + } + } + t2.default = l; + }, 88911(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3), this._utilizationLabel = this.coreFactory.createArchWrapper(e3.utilizationLabel); + } + get _actionTypeId() { + return o.setUtilizationLabelActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetUtilizationLabel() { + return true; + } + get utilizationLabel() { + return this._utilizationLabel; + } + get setUtilizationLabelOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + } + t2.default = a; + }, 35481(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._whisperAudio = this.coreFactory.createArchWrapper(e3.whisperAudio); + } + get _actionTypeId() { + return o.setWhisperAudioActionType; + } + get displayTypeName() { + return this._scriptingName; + } + setUseDefaultWhisper() { + this.whisperAudio._getCoreViewModel().noValueMode = true; + } + get whisperAudio() { + return this._whisperAudio; + } + get isArchActionSetWhisperAudio() { + return true; + } + } + t2.default = r; + }, 31349(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._wrapupCode = this.coreFactory.createArchValueFromExpression(e3.wrapupCode); + } + get _actionTypeId() { + return o.setWrapupCodeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionSetWrapupCode() { + return true; + } + get wrapupCode() { + return this._wrapupCode; + } + } + t2.default = r; + }, 24714(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(11210)), r = i2(30801), a = n2.__importDefault(i2(94225)); + class s extends o.default { + constructor(e3) { + super(e3), this._knowledgeArticle = this.coreFactory.createArchValueFromExpression(e3.knowledgeArticle); + } + get _actionTypeId() { + return r.showKnowledgeArticleActionActionType; + } + get displayTypeName() { + return "ArchActionShowKnowledgeArticle"; + } + get isArchActionShowKnowledgeArticle() { + return true; + } + get knowledgeArticle() { + return this._knowledgeArticle; + } + setLiteralByKnowledgeBaseDocumentNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var i3; + return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "setLiteralByKnowledgeBaseDocumentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentNameAsync"), t3, true), this._checkItem(this._infoParm("knowledgeBaseDocumentName", "setLiteralByKnowledgeBaseDocumentNameAsync"), !(null === (i3 = this._getCoreViewModel().parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.knowledgeBaseId), "cannot set the knowledge article on this action to a knowledge base document when there is no knowledge base configured on the flow. Please set the knowledge base on the flow first and then set the knowledge article."), yield this.knowledgeArticle.setLiteralByKnowledgeBaseDocumentNameAsync(e3), a.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentNameAsync", t3, this); + }); + } + setLiteralByKnowledgeBaseDocumentIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var i3; + return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentId", "setLiteralByKnowledgeBaseDocumentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentIdAsync"), t3, true), this._checkItem(this._infoParm("knowledgeBaseDocumentId", "setLiteralByKnowledgeBaseDocumentIdAsync"), !(null === (i3 = this._getCoreViewModel().parentFlow.knowledgeSettings) || void 0 === i3 ? void 0 : i3.knowledgeBaseId), "cannot set the knowledge article on this action to a knowledge base document when there is no knowledge base configured on the flow. Please set the knowledge base on the flow first and then set the knowledge article."), yield this.knowledgeArticle.setLiteralByKnowledgeBaseDocumentIdAsync(e3), a.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentIdAsync", t3, this); + }); + } + } + t2.default = s; + }, 47038(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._snippet = this.coreFactory.createArchWrapper(e3.snippet), this._destination = this.coreFactory.createArchWrapper(e3.destination), this._destinationSnippetId = this.coreFactory.createArchWrapper(e3.destinationSnippetId); + } + get _actionTypeId() { + return o.submitVoiceSnippetActionType; + } + get snippet() { + return this._snippet; + } + get destination() { + return this._destination; + } + get displayTypeName() { + return "ArchActionSubmitVoiceSnippet"; + } + get isArchActionSubmitVoiceSnippet() { + return true; + } + get destinationSnippetId() { + return this._destinationSnippetId; + } + } + t2.default = r; + }, 41935(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.submitVoicemailSnippetActionType; + } + get displayTypeName() { + return "ArchActionSubmitVoicemailSnippet"; + } + get isArchActionSubmitVoicemailSnippet() { + return true; + } + } + t2.default = r; + }, 94705(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(65305)), a = i2(30801), s = n2.__importDefault(i2(78432)), l = i2(68038); + class u extends r.default { + constructor(e3) { + super(e3), this._cases = this.coreFactory.createArchWrapper(this._getCoreViewModel().cases); + } + get _actionTypeId() { + return a.switchActionActionType; + } + addCase() { + this._checkItem(this._infoMethod("addCase"), this._cases.length === this.caseCountMax, `You cannot add a case because it would make the case count greater than the maximum allowed of ${this.caseCountMax}.`); + const e3 = this._getCoreViewModel(); + return this.logNoteVerbose("adding new case."), e3.addCase(), this.logNote(`new case added at index ${e3.cases.length - 1}.`), this.coreFactory.createArchWrapper(this._cases.getNamedValueByIndex(this._cases._getCoreViewModel().items.length - 1).value._getCoreViewModel()); + } + get caseCount() { + return this._getCoreViewModel().cases.length; + } + get caseCountMax() { + return 64; + } + get caseCountMin() { + return 1; + } + deleteCaseByIndex(e3) { + const t3 = this._infoPropSet("index", "deleteCaseByIndex"); + this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, e3 < 0 || e3 >= this._cases.length, "the index parameter value of " + e3 + " is invalid. It must be >=0 and <" + this._cases.length + "."), this._checkItem(t3, this._cases.length === this.caseCountMin, `You cannot delete case at index ${e3} because it would make the case count less than the minimum required of ${this.caseCountMin}.`), this.logNoteVerbose(`deleting case at index: ${e3}.`), this._getCoreViewModel().deleteCase(this._cases._getCoreViewModel().items[e3]), this.logNote(`deleted the case at index ${e3}.`); + } + get displayTypeName() { + return this._scriptingName; + } + get evaluationStyle() { + switch (this._coreActionViewModel.switchStyle) { + case l.SwitchStyles.firstTrueCase: + return s.default.SWITCH_EVALUATION_STYLES.matchFirstTrue; + case l.SwitchStyles.matchExpression: + return s.default.SWITCH_EVALUATION_STYLES.matchExpression; + default: + this._logErrorInternalAndThrow("unknown evaluation style on core switch action."); + } + } + getCaseValue(e3) { + const t3 = this._infoParm("index", "getCaseValue"); + return this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, e3 < 0 || e3 >= this._cases.length, "the index parameter value of " + e3 + " is invalid. It must be >=0 and <" + this._cases.length + "."), this.coreFactory.createArchWrapper(this._cases.getNamedValueByIndex(e3).value._coreExpression); + } + get isArchActionSwitch() { + return true; + } + setExpressionSwitch(e3, t3) { + this._checkItemIsValidLiteralString(this._infoParm("expressionText", "setExpressionSwitch"), e3); + const i3 = this._infoParm("caseExpressionOrExpressions", "setExpressionSwitch"); + this._checkItemIsValidLiteralStringOrStringArray(i3, t3, true), o.default.isArray(t3) && this._checkItem(this._infoParm("caseExpressionOrExpressions", "setExpressionSwitch"), t3.length > this.caseCountMax, "If specifying a case expression array, the maximum number of case expression strings is " + this.caseCountMax); + const n3 = this._getCoreViewModel(); + n3.switchStyle = l.SwitchStyles.matchExpression, this.coreFactory.createArchValueFromExpression(n3.expression).setExpression(e3); + const r2 = this.switchDataType, a2 = this._infoVal("", "setExpressionSwitch"); + if (this._checkItem(a2, !r2, "a resulting data type could not be determined from the expression text"), this._checkItem(a2, !r2.isScriptCreatableForFlow(this.parentFlow), "the resulting data type of " + r2 + " from the expression text is not script creatable for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "' so it cannot be used."), n3.expression.type = r2._getCoreViewModel(), o.default.isArray(t3)) { + const e4 = t3.length ? t3.length : 1; + if (n3.cases.length !== e4) { + for (this.logNoteVerbose(`updating the switch action to have ${e4} case${1 === e4 ? "" : "s"} in addition to the Default case.`); n3.cases.length > e4; ) this.deleteCaseByIndex(n3.cases.length - 1); + for (; n3.cases.length < e4; ) this.addCase(); + } + } + let s2; + if (this.logNote(`the switch action has ${n3.cases.length} case${1 === n3.cases.length ? "" : "s"} in addition to the Default case.`), this.logNote(`the switch expression will be switching at runtime based on the data type ${r2.logStr}.`), n3.updateCaseTypes(r2._getCoreViewModel(), true), o.default.isString(t3) && t3.length) for (this.logNote(`setting all cases to the expression text '${t3}'`), s2 = 0; s2 < this._cases.length; s2++) this.getCaseValue(s2).setExpression(t3); + else if (o.default.isArray(t3)) if (t3.length) for (s2 = 0; s2 < t3.length; s2++) o.default.isUndefined(t3[s2]) || null === t3[s2] ? (this.logNote(`setting case at index ${s2} to noValue ( no value specified ) since the caseExpressionOrExpressions array at index ${s2} is null or undefined.`), this.getCaseValue(s2).setNoValue()) : (this.logNote(`setting case at index ${s2} to '${t3[s2]}'.`), this.getCaseValue(s2).setExpression(t3[s2])); + else this.logNote("setting case at incex 0 to no value ( no value specified ) since the caseExpressionOrExpressions array is empty."), this.getCaseValue(0).setNoValue(); + return r2; + } + setFirstTrueSwitch() { + this._coreActionViewModel.switchStyle = l.SwitchStyles.firstTrueCase, this._coreActionViewModel.expression.resetToDefaultValue(); + const e3 = this.switchDataType; + this.logNote(`the switch expression will be switching at runtime based on the data type ${e3.logStr}.`), this._coreActionViewModel.updateCaseTypes(e3._getCoreViewModel(), true); + for (let e4 = 0; e4 < this._cases.length; e4++) this.getCaseValue(e4).setLiteralFalse(); + return e3; + } + get switchDataType() { + const e3 = this._coreActionViewModel.expression; + return this.evaluationStyle === s.default.SWITCH_EVALUATION_STYLES.matchFirstTrue ? this.coreFactory.createArchWrapper(e3.parentFlow).dataTypes.boolean : e3 && e3.model && e3.model.config && !e3.type.isAny ? this.coreFactory.createArchWrapper(e3.type) : void 0; + } + } + t2.default = u; + }, 15144(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.taskActionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTask() { + return true; + } + get task() { + const e3 = this._coreActionViewModel.taskReference, t3 = this._coreActionViewModel.parentFlow.getTaskById(e3); + return this.coreFactory.createArchWrapper(t3); + } + } + t2.default = r; + }, 22028(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.terminateWorkitemActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTerminateWorkitem() { + return true; + } + get terminateWorkitemOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + } + t2.default = a; + }, 6209(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._enableTranscription = this.coreFactory.createArchWrapper(e3.enableTranscription); + } + get _actionTypeId() { + return o.transcriptionActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTranscription() { + return true; + } + get enableTranscription() { + return this._enableTranscription; + } + } + t2.default = r; + }, 77031(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(67193)), r = i2(30801), a = n2.__importDefault(i2(94225)); + class s extends o.default { + constructor(e3) { + super(e3), this._appendSkills = this.coreFactory.createArchValueFromExpression(e3.appendSkills), this._directAgent = this.coreFactory.createArchValueFromExpression(e3.directAgent), this._languageSkill = this.coreFactory.createArchWrapper(e3.languageSkill), this._preferredAgents = this.coreFactory.createArchValueFromExpression(e3.preferredAgents), this._priority = this.coreFactory.createArchValueFromExpression(e3.priority), this._queues = this.coreFactory.createArchValueFromExpression(e3.queues), this._skills = this.coreFactory.createArchBaseValueContainer(e3.skills), this._skillExpressionFilters = this.coreFactory.createArchValueFromExpression(e3.skillExpressionFilters); + } + get _actionTypeId() { + return r.transferPureMatchActionType; + } + get displayTypeName() { + return this._scriptingName; + } + addLiteralBySkillNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("skillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), yield this._skills.addLiteralBySkillNameAsync(e3), a.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this); + }); + } + get isArchActionTransferToAcd() { + return true; + } + get priority() { + return this._priority; + } + get targetQueue() { + return this.coreFactory.createArchWrapper(this._queues._getCoreViewModel().items[0]); + } + setLiteralByQueueNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("queueName", "setLiteralByQueueNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueNameAsync"), t3, true), yield this.targetQueue.setLiteralByQueueNameAsync(e3), a.default.executeCallback(this, "setLiteralByQueueNameAsync", t3, this); + }); + } + setLiteralByQueueIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("queueId", "setLiteralByQueueIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueIdAsync"), t3, true), yield this.targetQueue.setLiteralByQueueIdAsync(e3), a.default.executeCallback(this, "setLiteralByQueueIdAsync", t3, this); + }); + } + get skills() { + return this._skills; + } + get appendSkills() { + return this._appendSkills; + } + get directAgent() { + return this._directAgent; + } + get languageSkill() { + return this._languageSkill; + } + get preferredAgents() { + return this._preferredAgents; + } + useDefaultInQueueHandling() { + this.logNote("setting the action to use default in-queue handling."), this._getCoreViewModel().useDefaultHandling = true; + } + get inQueueHandlingFlowInfo() { + if (this.inQueueHandlingFlowType && this._getCoreViewModel().inQueueFlowId) return this.coreFactory.createArchFlowInfoBasic(this._getCoreViewModel().inQueueFlowId, this._getCoreViewModel().inQueueFlowName, this.inQueueHandlingFlowType); + } + set inQueueHandlingFlowInfo(e3) { + const t3 = this._infoPropSet("newValue", "inQueueHandlingFlowInfo"); + this._checkItem(t3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "You must pass in an ArchFlowInfo or ArchFlowInfoBasic instance for the target in-queue Flow Info setter."), this._checkItem(t3, e3.type !== this.inQueueHandlingFlowType, "The flow info has a flow type of '" + e3.type + "' and it needs to be of type '" + this.inQueueHandlingFlowType + "'"), this.logNote("setting the in-queue flow '" + e3.name + "' to be used for the in-queue handling of the call."), this._getCoreViewModel().useDefaultHandling = false, this._getCoreViewModel().inQueueFlow.setInQueueFlow(e3.id, e3.name); + } + get inQueueHandlingFlowType() { + return this._getCoreViewModel().supportedInQueueFlowType; + } + get skillExpressionFilters() { + return this._skillExpressionFilters; + } + } + t2.default = s; + }, 95847(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(67193)), r = i2(30801), a = n2.__importDefault(i2(78432)); + class s extends o.default { + constructor(e3) { + super(e3), this._coreTransferToFlowActionViewModel = e3; + } + get _actionTypeId() { + return r.transferFlowActionType; + } + get _supportedTargetFlowType() { + return a.default.FLOW_TYPES.inboundCall; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTransferToFlow() { + return true; + } + get targetFlowInfo() { + return this.coreFactory.createArchFlowInfoBasic(this._coreTransferToFlowActionViewModel.flowId, this._coreTransferToFlowActionViewModel.flowName, a.default.FLOW_TYPES.inboundCall); + } + set targetFlowInfo(e3) { + const t3 = this._infoPropSet("newValue", "targetFlowInfo"); + this._checkItem(t3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "You must pass in an ArchFlowInfo or ArchFlowInfoBasic instance for the target Flow Info setter."), this._checkItem(t3, e3.type !== this._supportedTargetFlowType, "This action does not let you transfer to flows of type '" + e3.type + "'. It only supports flows of type '" + this._supportedTargetFlowType + "'"), this.logNote("configuring the transfer action to transfer to the flow name '" + e3.name + "' with id '" + e3.id + "'"), this._coreTransferToFlowActionViewModel.setTransferToFlowInfo(e3.id, e3.name); + } + } + t2.default = s; + }, 63370(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(95847)), a = n2.__importDefault(i2(78432)); + class s extends r.default { + constructor(e3) { + super(e3), this._connectTimeout = this.coreFactory.createArchWrapper(e3.connTimeout), this._coreTransferToFlowSecureActionViewModel = e3; + } + get _actionTypeId() { + return o.transferFlowSecureActionType; + } + get _supportedTargetFlowType() { + return a.default.FLOW_TYPES.secureCall; + } + get connectTimeout() { + return this._connectTimeout; + } + get displayTypeName() { + return this._scriptingName; + } + get invocationData() { + return this.coreFactory.createArchWrapper(this._coreTransferToFlowSecureActionViewModel.invocationData); + } + get isArchActionTransferToFlowSecure() { + return true; + } + } + t2.default = s; + }, 95212(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(82472)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._allowVoicemail = this.coreFactory.createArchWrapper(e3.allowVoicemail), this._targetGroup = this.coreFactory.createArchValueFromExpression(e3.group); + } + get _actionTypeId() { + return o.transferGroupActionType; + } + get allowVoicemailRollover() { + return this._allowVoicemail; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTransferToGroup() { + return true; + } + get targetGroup() { + return this._targetGroup; + } + } + t2.default = r; + }, 438(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(82472)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _actionTypeId() { + return o.transferExternalActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTransferToNumber() { + return true; + } + get releaseLinkTransfer() { + return this.coreFactory.createArchValueFromExpression(this._getCoreViewModel().releaseLinkTransfer); + } + get targetNumber() { + return this.coreFactory.createArchValueFromExpression(this._getCoreViewModel().externalNumber); + } + } + t2.default = r; + }, 32732(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(82472)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._alertOnTransfer = this.coreFactory.createArchValueFromExpression(e3.alertOnTransfer), this._allowVoicemail = this.coreFactory.createArchWrapper(e3.allowVoicemail), this._targetUser = this.coreFactory.createArchWrapper(e3.user); + } + get _actionTypeId() { + return o.transferUserActionType; + } + get allowVoicemailRollover() { + return this._allowVoicemail; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTransferToUser() { + return true; + } + get targetUser() { + return this._targetUser; + } + get alertOnTransfer() { + return this._alertOnTransfer; + } + } + t2.default = r; + }, 15458(e2, t2, i2) { "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), c = i2(65615), d = i2(55909), p = i2(33951); - class _ extends c.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 r.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); + } + get _actionTypeId() { + return s.transferVoicemailActionType; + } + _clearInputs() { + this._scriptInputs = void 0; + } + _getVoicemailTargetTransferType(e3) { + switch (e3) { + case l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.user: + return p.User; + case l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.queue: + return p.Queue; + case l.default.VOICEMAIL_TRANSFER_TARGET_TYPES.group: + return p.Group; + } + } + get calleeName() { + return this._calleeName; + } + get callbackNumber() { + return this.coreFactory.createArchWrapper(this._callbackNumbers._getCoreViewModel().items[0]); + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionTransferToVoicemail() { + return true; + } + get scriptInputs() { + return this._scriptInputs || (this._scriptInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._scriptInputs; + } + 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 d.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByNameAsync"); + }.bind(this)).then(function() { + 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 d.default.addPromise(this._getCoreViewModel().setScriptAsync(e4), "setScriptByIdAsync"); + }.bind(this)).then(function() { + 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 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 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(() => 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(() => 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 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 c.default.executeCallback(this, "setTargetUserLiteralByUserNameAsync", t3, this); + }.bind(this)); + } + get targetUser() { + return this._targetUser; + } + get targetQueue() { + return this._targetQueue; + } + get targetGroup() { + return this._targetGroup; + } + get transferTargetType() { + return o.default.isObject(this._getCoreViewModel().transferTargetType) ? this._getCoreViewModel().transferTargetType.name : void 0; + } + set transferTargetType(e3) { + const t3 = this._infoPropSet("newTransferType", "transferTargetType"); + this._checkItemIsValidLiteralStringEnum(t3, e3, l.default.VOICEMAIL_TRANSFER_TARGET_TYPES_ALL), this._getCoreViewModel().transferTargetType = this._getVoicemailTargetTransferType(e3), this.logNote("transfer type set to '" + this._getCoreViewModel().transferTargetType.name + "'"); + } + isTargetTransferTypeAvailable(e3, t3) { + const i3 = this._infoPropSet("transferTargetType", "isTargetTransferTypeAvailable"); + this._checkItemIsValidLiteralStringEnum(i3, e3, l.default.VOICEMAIL_TRANSFER_TARGET_TYPES_ALL); + const n3 = this._infoPropSet("allowAnyLanguage", "isTargetTransferTypeAvailable"); + this._checkItemIsValidLiteralBool(n3, t3, true); + const o2 = this._getCoreViewModel().parentFlow, r2 = this._getVoicemailTargetTransferType(e3), s2 = (e4) => a.supportsVoicemailTypeForFlowType(e4.language, o2.type, r2); + return t3 ? o2.supportedLanguageOptions.some(s2) : o2.supportedLanguageOptions.every(s2); + } + get voicemailGreeting() { + return this._voicemailGreeting; + } + } + t2.default = _; + }, 76827(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(74797), o = i2(30801); + class r extends n2.ArchBaseActionConversationAttribute { + constructor(e3) { + super(e3), this._recordId = this.coreFactory.createArchWrapper(e3.recordId), this._divisions = this.coreFactory.createArchWrapper(e3.divisions); + } + get _actionTypeId() { + return o.updateConversationAttributeActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionUpdateConversationAttribute() { + return true; + } + get recordId() { + return this._recordId; + } + get divisions() { + return this._divisions; + } + } + t2.default = r; + }, 48604(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._statements = this.coreFactory.createArchBaseValueContainer(e3.variables); + } + get _actionTypeId() { + return o.updateVariableActionType; + } + get displayTypeName() { + return this._scriptingName; + } + addUpdateDataStatement(e3, t3, i3) { + const n3 = this._infoParm("archDataType", "addUpdateDataStatement"); + return this._checkItem(n3, !e3 || !e3.isArchDataType, "you must pass in a valid Architect data type for the statement to create"), this._checkItem(n3, !e3.isScriptCreatableForFlow(this.parentFlow), "the Architect data type " + e3.label + " is not creatable from scripting for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "'. The data type's isScriptCreatableForFlow must return true to be valid for use when creating an update data statement"), this._statements._addVariableValueAssignment(e3, t3, i3); + } + get isArchActionUpdateData() { + return true; + } + get statements() { + return this._statements._createVariableValuePairArray(); + } + } + t2.default = r; + }, 72683(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + 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 o.updateExternalContactActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get updateExternalContactOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + get isArchActionUpdateExternalContact() { + return true; + } + get externalContactId() { + return this._externalContactId; + } + get externalContact() { + return this._externalContact; + } + get changes() { + return this._patchChanges; + } + } + t2.default = r; + }, 74422(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3), this._statements = this.coreFactory.createArchBaseValueContainer(e3.variables); + } + get _actionTypeId() { + return o.updateWorkitemActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionUpdateWorkitem() { + return true; + } + addUpdateWorkitemStatement(e3, t3, i3) { + const n3 = this._infoParm("archDataType", "addUpdateWorkitemStatement"); + return this._checkItem(n3, !e3 || !e3.isArchDataType, "you must pass in a valid Architect data type for the statement to create"), this._checkItem(n3, !e3.isScriptCreatableForFlow(this.parentFlow), "the Architect data type " + e3.label + " is not creatable from scripting for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "'. The data type's isScriptCreatableForFlow must return true to be valid for use when creating an update data statement"), this._statements._addVariableValueAssignment(e3, t3, i3, false, {}, true); + } + get statements() { + return this._statements._createVariableValuePairArray(); + } + get updateWorkitemOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + } + } + t2.default = a; + }, 38764(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(11210)), o = i2(30801); + class r extends n2.default { + constructor(e3) { + super(e3), this._duration = this.coreFactory.createArchWrapper(e3.duration), this._trimDurationNearMaxRunningTime = this.coreFactory.createArchWrapper(e3.trimDurationNearMaxRunningTime); + } + get _actionTypeId() { + return o.waitActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionWait() { + return true; + } + get duration() { + return this._duration; + } + get trimDurationNearMaxRunningTime() { + return this._trimDurationNearMaxRunningTime; + } + } + t2.default = r; + }, 35589(e2, t2, i2) { + "use strict"; + var n2, o, r, a, s; + Object.defineProperty(t2, "__esModule", { value: true }); + 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), o.set(this, void 0), r.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, o, this.coreFactory.createArchWrapper(e3.question), "f"), l.__classPrivateFieldSet(this, r, 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"); + } + get _actionTypeId() { + return u.waitForInputActionType; + } + get displayTypeName() { + return this._scriptingName; + } + get isArchActionWaitForInput() { + return true; + } + get knowledgeSearchResult() { + return l.__classPrivateFieldGet(this, r, "f"); + } + get noMatch() { + return l.__classPrivateFieldGet(this, n2, "f"); + } + get question() { + return l.__classPrivateFieldGet(this, o, "f"); + } + get customizeNoMatch() { + return l.__classPrivateFieldGet(this, a, "f"); + } + get noMatchReprompts() { + return l.__classPrivateFieldGet(this, s, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), t2.default = d; + }, 8851(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(965)), r = 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)), I = n2.__importDefault(i2(47652)), C = n2.__importDefault(i2(1383)), O = n2.__importDefault(i2(81526)), b = n2.__importDefault(i2(47e3)), E = n2.__importDefault(i2(22309)), w = n2.__importDefault(i2(32504)), R = n2.__importDefault(i2(8326)), 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)), q = n2.__importDefault(i2(53862)), W = 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)), oe = n2.__importDefault(i2(2410)), re = n2.__importDefault(i2(25255)), ae = n2.__importDefault(i2(91685)), se = n2.__importDefault(i2(21224)), le = n2.__importDefault(i2(52052)), ue = n2.__importDefault(i2(20917)), ce = n2.__importDefault(i2(92595)), de = n2.__importDefault(i2(33513)), pe = n2.__importDefault(i2(70109)), _e = n2.__importDefault(i2(86015)), he = n2.__importDefault(i2(8080)), me = n2.__importDefault(i2(73080)), ge = n2.__importDefault(i2(77680)), fe = n2.__importDefault(i2(19791)), Te = n2.__importDefault(i2(86473)), ye = n2.__importDefault(i2(32345)), Se = n2.__importDefault(i2(98088)), Ae = n2.__importDefault(i2(4130)), Ne = n2.__importDefault(i2(29433)), ve = n2.__importDefault(i2(92257)), Ie = n2.__importDefault(i2(99847)), Ce = n2.__importDefault(i2(59524)), Oe = n2.__importDefault(i2(10923)), be = n2.__importDefault(i2(89965)), Ee = n2.__importDefault(i2(20403)), we = n2.__importDefault(i2(73903)), Re = n2.__importDefault(i2(57088)), De = n2.__importDefault(i2(73677)), Pe = n2.__importDefault(i2(92109)), Me = n2.__importDefault(i2(50853)), Fe = n2.__importDefault(i2(91173)), Le = n2.__importDefault(i2(99528)), xe = n2.__importDefault(i2(68608)), ke = n2.__importDefault(i2(6568)), Ve = n2.__importDefault(i2(15589)), Ue = n2.__importDefault(i2(19563)), Be = n2.__importDefault(i2(17302)), Ge = n2.__importDefault(i2(36911)), je = n2.__importDefault(i2(56356)), qe = n2.__importDefault(i2(48611)), We = n2.__importDefault(i2(66134)), Ye = n2.__importDefault(i2(48787)), He = n2.__importDefault(i2(66632)), Je = n2.__importDefault(i2(18953)), $e = n2.__importDefault(i2(44409)), ze = n2.__importDefault(i2(2467)), Ke = n2.__importDefault(i2(94684)), Qe = n2.__importDefault(i2(51913)), Xe = n2.__importDefault(i2(80344)), Ze = n2.__importDefault(i2(6276)), et = n2.__importDefault(i2(90733)), tt = n2.__importDefault(i2(82118)), it = n2.__importDefault(i2(26166)), nt = n2.__importDefault(i2(1227)), ot = n2.__importDefault(i2(13169)), rt = n2.__importDefault(i2(92395)), at = n2.__importDefault(i2(151)), st = n2.__importDefault(i2(43497)), lt = n2.__importDefault(i2(90067)), ut = n2.__importDefault(i2(50720)), ct = n2.__importDefault(i2(40091)), dt = n2.__importDefault(i2(83054)), pt = n2.__importDefault(i2(80219)), _t = n2.__importDefault(i2(32050)), ht = n2.__importDefault(i2(95433)), mt = n2.__importDefault(i2(95201)), gt = n2.__importDefault(i2(38557)), ft = n2.__importDefault(i2(61828)), Tt = n2.__importDefault(i2(87115)), yt = n2.__importDefault(i2(67987)), St = n2.__importDefault(i2(94455)), At = n2.__importDefault(i2(85763)), Nt = n2.__importDefault(i2(92512)), vt = n2.__importDefault(i2(77373)), It = n2.__importDefault(i2(29829)), Ct = n2.__importDefault(i2(48167)), Ot = n2.__importDefault(i2(46638)), bt = n2.__importDefault(i2(51978)), Et = n2.__importDefault(i2(59497)), wt = n2.__importDefault(i2(12252)), Rt = n2.__importDefault(i2(384)), Dt = n2.__importDefault(i2(68436)), Pt = n2.__importDefault(i2(66777)), Mt = n2.__importDefault(i2(858)), Ft = n2.__importDefault(i2(19296)), Lt = n2.__importDefault(i2(18993)), xt = n2.__importDefault(i2(28323)), kt = n2.__importDefault(i2(77775)), Vt = n2.__importDefault(i2(62320)), Ut = n2.__importDefault(i2(9019)), Bt = n2.__importDefault(i2(61397)), Gt = n2.__importDefault(i2(14038)), jt = n2.__importDefault(i2(63338)), qt = n2.__importDefault(i2(18431)), Wt = n2.__importDefault(i2(73583)), Yt = n2.__importDefault(i2(88911)), Ht = n2.__importDefault(i2(16608)), Jt = n2.__importDefault(i2(35481)), $t = n2.__importDefault(i2(31349)), zt = n2.__importDefault(i2(24714)), Kt = n2.__importDefault(i2(41935)), Qt = n2.__importDefault(i2(47038)), Xt = n2.__importDefault(i2(94705)), Zt = n2.__importDefault(i2(15144)), ei = n2.__importDefault(i2(22028)), ti = n2.__importDefault(i2(6209)), ii = n2.__importDefault(i2(77031)), ni = n2.__importDefault(i2(95847)), oi = n2.__importDefault(i2(63370)), ri = n2.__importDefault(i2(95212)), ai = n2.__importDefault(i2(438)), si = n2.__importDefault(i2(32732)), li = n2.__importDefault(i2(15458)), ui = n2.__importDefault(i2(76827)), ci = n2.__importDefault(i2(48604)), di = n2.__importDefault(i2(72683)), pi = n2.__importDefault(i2(74422)), _i = n2.__importDefault(i2(38764)), hi = n2.__importDefault(i2(35589)), mi = { ArchActionAbortSurveyInvite: r.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: I.default, ArchActionCallDialogEngineBot: O.default, ArchActionCallDialogflowBot: b.default, ArchActionCallDialogflowCxBot: E.default, ArchActionCallDigitalBotFlow: w.default, ArchActionCallDigitalConnector: 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: q.default, ArchActionClearSkillExpressionFilters: B.default, ArchActionCollectInput: W.default, ArchActionProcessVoicemailInput: At.default, ArchActionCollectVoiceSnippet: Y.default, ArchActionCommunicate: H.default, ArchActionAbortSend: o.default, ArchActionCompleteSend: J.default, ArchActionCompleteSurveyInvite: $.default, ArchActionCreateCallback: z.default, ArchActionCreateConversationAttribute: K.default, ArchActionDataTableLookup: Q.default, ArchActionDecision: X.default, ArchActionCallDecisionTable: C.default, ArchActionDecryptData: Z.default, ArchActionDeflect: ee.default, ArchActionDetectIntent: te.default, ArchActionDetectSilence: ie.default, ArchActionDialByExtension: ne.default, ArchActionDigitalMenu: oe.default, ArchActionDisconnect: re.default, ArchActionDisconnectWorkitem: ae.default, ArchActionEnableParticipantRecord: se.default, ArchActionEncryptData: le.default, ArchActionEndBusinessProcess: ue.default, ArchActionEndState: ce.default, ArchActionEndTask: de.default, ArchActionEndWorkflow: pe.default, ArchActionEvaluateSchedule: _e.default, ArchActionEvaluateScheduleGroup: he.default, ArchActionEvaluateSkillExpressionFilters: me.default, ArchActionExitBotFlow: ge.default, ArchActionExitWorkitemFlow: fe.default, ArchActionExtractSecureData: Te.default, ArchActionFindDivision: ye.default, ArchActionFindDivisions: Se.default, ArchActionFindEmergencyGroup: Ae.default, ArchActionFindGrammar: Ne.default, ArchActionFindGrammarById: ve.default, ArchActionFindGroup: Ie.default, ArchActionFindKnowledgeBaseDocumentById: Ce.default, ArchActionFindLanguageSkill: Oe.default, ArchActionFindQueue: be.default, ArchActionFindQueueById: Ee.default, ArchActionFindSchedule: we.default, ArchActionFindScheduleGroup: Re.default, ArchActionFindSkill: De.default, ArchActionFindSystemPrompt: Pe.default, ArchActionFindUser: Me.default, ArchActionFindUserById: Fe.default, ArchActionFindUserPrompt: Le.default, ArchActionFindUsersById: xe.default, ArchActionFindUtilizationLabel: ke.default, ArchActionFlushAudio: Ve.default, ArchActionForm: Ue.default, ArchActionGetConversationAttribute: je.default, ArchActionGetConversationAttributes: qe.default, ArchActionGetAssignedCustomerIntents: Be.default, ArchActionGetAssignedCustomerSegments: Ge.default, ArchActionGetConversationData: We.default, ArchActionGetExternalContact: He.default, ArchActionGetExternalOrganization: Je.default, ArchActionGetJourneyOutcome: $e.default, ArchActionGetJourneyOutcomeScoresBySession: ze.default, ArchActionGetJourneySegment: Ke.default, ArchActionGetJourneySession: Qe.default, ArchActionGetJourneySessionsByExternalContact: Xe.default, ArchActionGetParticipantData: Ze.default, ArchActionGetRawSIPHeaders: et.default, ArchActionGetResponse: tt.default, ArchActionGetSecuredData: it.default, ArchActionGetEmailHeaders: Ye.default, ArchActionGetSIPHeaders: nt.default, ArchActionHoldMusic: ot.default, ArchActionInitializeFlowOutcome: rt.default, ArchActionJumpToMenu: at.default, ArchActionJumpToTask: st.default, ArchActionLoop: lt.default, ArchActionLoopAnythingElse: ut.default, ArchActionLoopUntil: pt.default, ArchActionLoopExit: ct.default, ArchActionLoopNext: dt.default, ArchActionMenu: _t.default, ArchActionPlayAudio: ht.default, ArchActionPlayAudioOnSilence: mt.default, ArchActionPlayEstimatedWaitTime: gt.default, ArchActionPlayPositionInQueue: ft.default, ArchActionPlayUserGreeting: Tt.default, ArchActionPlayUserName: yt.default, ArchActionPreviousMenu: St.default, ArchActionPromoteExternalContact: Nt.default, ArchActionRepeatMenu: vt.default, ArchActionReturnToAgent: It.default, ArchActionSearchExternalContacts: Ct.default, ArchActionSendAutoReply: Ot.default, ArchActionSendDigitalContent: bt.default, ArchActionSendInteractiveApplication: Et.default, ArchActionSendKnowledgeFeedback: wt.default, ArchActionSendNotification: Rt.default, ArchActionSendResponse: Dt.default, ArchActionSendRichLink: Pt.default, ArchActionSetConversationData: Mt.default, ArchActionSetExternalTag: Ft.default, ArchActionSetIntent: xt.default, ArchActionSetFlowOutcome: Lt.default, ArchActionSetLanguage: kt.default, ArchActionSetParticipantData: Vt.default, ArchActionSetPostFlow: Ut.default, ArchActionSetPriority: Bt.default, ArchActionSetSecuredData: jt.default, ArchActionSetSkillExpressionFilters: qt.default, ArchActionSetSkills: Wt.default, ArchActionSetScreenPop: Gt.default, ArchActionSetUtilizationLabel: Yt.default, ArchActionSetUUIData: Ht.default, ArchActionSetWhisperAudio: Jt.default, ArchActionShowKnowledgeArticle: zt.default, ArchActionSetWrapupCode: $t.default, ArchActionSubmitVoicemailSnippet: Kt.default, ArchActionSubmitVoiceSnippet: Qt.default, ArchActionSwitch: Xt.default, ArchActionTask: Zt.default, ArchActionTerminateWorkitem: ei.default, ArchActionTranscription: ti.default, ArchActionTransferToAcd: ii.default, ArchActionTransferToFlow: ni.default, ArchActionTransferToFlowSecure: oi.default, ArchActionTransferToGroup: ri.default, ArchActionTransferToNumber: ai.default, ArchActionTransferToUser: si.default, ArchActionTransferToVoicemail: li.default, ArchActionUpdateConversationAttribute: ui.default, ArchActionUpdateData: ci.default, ArchActionUpdateExternalContact: di.default, ArchActionUpdateWorkitem: pi.default, ArchActionWait: _i.default, ArchActionWaitForInput: hi.default }; + t2.default = mi; + }, 23516(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { + constructor(e3) { + super(e3), this._notWritableOverride = false; + const t3 = this._infoParmCtor("coreAudioViewModel"); + this._checkItem(t3, !e3.parentFlow, "the coreAudioViewModel does not have a parent flow"), this._coreAudioViewModel = e3; + } + _setNotWritableOverride(e3) { + return this._notWritableOverride = e3, this; + } + get displayTypeName() { + return "ArchAudio"; + } + get logStr() { + if (!this._coreAudioViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrParentParts(e3, this._coreAudioViewModel.parent), this._appendLogStrProperty(e3, this._coreAudioViewModel.label), this._createLogStrFromParts(e3); + } + get defaultCase() { + return this.coreFactory.createArchWrapper(this._coreAudioViewModel.defaultAudio)._setNotWritableOverride(this._notWritableOverride); + } + getAudioCaseByLanguage(e3) { + const t3 = this._infoParm("archLanguage", "getAudioCaseByLanguage"); + this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when requesting an audio case."), this._checkItem(t3, !this._coreAudioViewModel.parentFlow.languages.isFlowSupportedLanguage(e3.tag), "the language " + e3.logStr + " is not a supported language in the flow."); + let i3 = this._coreAudioViewModel.getCaseForLang(e3.tag, true); + return i3 || (this.logNote("adding a core audio case for " + e3.logStr + " since it did not exist for that language."), i3 = this._coreAudioViewModel.addAudioCase(e3.tag)), this.coreFactory.createArchWrapper(i3)._setNotWritableOverride(this._notWritableOverride); + } + get isArchAudio() { + return true; + } + get isWritable() { + return !this._notWritableOverride; + } + get label() { + return this._coreAudioViewModel.label; + } + get parent() { + return this.coreFactory.createArchWrapper(this._coreAudioViewModel.parent); + } + setDefaultCaseExpression(e3) { + this.defaultCase.setExpression(e3); + } + setDefaultCaseExpressionToAudioTTS(e3, t3) { + this.defaultCase.setExpressionToAudioTTS(e3, t3); + } + setDefaultCaseLiteralTTS(e3) { + this.defaultCase.setLiteralTTS(e3); + } + setFromArchAudio(e3) { + this._checkItem(this._infoObject(this), this._notWritableOverride, "you cannot assign an ArchAudio instance because this ArchAudio " + this.logStr + " is not writable."), this._coreAudioViewModel.copyAudioViewModel(e3._coreAudioViewModel); + } + } + t2.default = o; + }, 91928(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { + constructor(e3) { + super(e3), this._notWritableOverride = false, this._checkItemUndefinedOrNull(this._infoParmCtor("coreAudioCaseViewModel"), e3), this._coreAudioCaseViewModel = e3; + } + _setNotWritableOverride(e3) { + return this._notWritableOverride = e3, this; + } + get displayTypeName() { + return "ArchAudioCase"; + } + get audio() { + const e3 = this.coreFactory.createArchValueFromExpression(this._coreAudioCaseViewModel.audioExpression); + return e3._setNotWritableOverride(this._notWritableOverride), e3; + } + get enabled() { + return !this._coreAudioCaseViewModel.disabled; + } + set enabled(e3) { + this._coreAudioCaseViewModel.disabled = !e3; + } + get isArchAudioCase() { + return true; + } + get isWritable() { + return !this._notWritableOverride; + } + setAudioExpression(e3) { + this.audio.setExpression(e3); + } + setAudioExpressionToAudioTTS(e3, t3) { + this.audio.setExpressionToAudioTTS(e3, t3); + } + setAudioLiteralTTS(e3) { + this.audio.setLiteralTTS(e3); + } + } + t2.default = o; + }, 60013(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(23516)), r = n2.__importDefault(i2(91928)), a = { ArchAudio: o.default, ArchAudioCase: r.default }; + t2.default = a; + }, 11210(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(37873)), r = n2.__importDefault(i2(94225)), a = n2.__importStar(i2(62829)); + class s extends o.default { + static get definition() { + const e3 = this.prototype; + return e3._ensureSessionIsConnected(e3._infoPropGet("definition"), r.default), e3.coreFactory.createArchWrapper(a.getInfo(e3._actionTypeId)); + } + constructor(e3) { + super(e3), this._coreActionViewModel = e3; + } + get _scriptingName() { + return a.getInfo(this._actionTypeId).scriptingName; + } + get _actionTypeId() { + return console.log(`INTERNAL ERROR - _actionTypeId not implemented for '${this.displayTypeName}'`), ""; + } + get definition() { + return this.coreFactory.createArchWrapper(a.getInfo(this._actionTypeId)); + } + get displayTypeName() { + return "ArchBaseAction"; + } + get logStr() { + if (!this._coreActionViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrTrackingId(e3, this.trackingId), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get displayTypeNameArchitect() { + return this._coreActionViewModel.info.name; + } + get isArchBaseAction() { + return true; + } + get isMenuChoiceAction() { + const e3 = this._getCoreViewModel().parent; + return !(!e3 || !e3.isMenuChoice); + } + get isReachable() { + return !this.isUnreachable; + } + get isSecure() { + return this._coreActionViewModel.consumesSecureData; + } + get isUnreachable() { + return this._coreActionViewModel.isDisabled; + } + get name() { + return this._coreActionViewModel.name; + } + set name(e3) { + if (!e3) throw "you cannot have a blank name set on an action"; + this._coreActionViewModel.name = e3, this._coreActionViewModel.nameFacetError && this.logErrorAndThrow(this._coreActionViewModel.nameFacetError); + } + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreActionViewModel.parentFlow); + } + get parentMenuChoice() { + return this.isMenuChoiceAction ? this.coreFactory.createArchWrapper(this._getCoreViewModel().parent) : void 0; + } + get parentTask() { + const e3 = this._coreActionViewModel.topParent; + if (e3 && e3.isTask) return this.coreFactory.createArchWrapper(e3); + } + get parentState() { + const e3 = this._coreActionViewModel.topParent; + if (e3 && e3.isStateLike) return this.coreFactory.createArchWrapper(e3); + } + get trackingId() { + return this._coreActionViewModel.trackingId; + } + set trackingId(e3) { + const t3 = this._infoPropSet("value", "trackingId"); + this._ensureCanSetTrackingIds(t3, r.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 = s; + }, 90077(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(65485)); + class o extends n2.default { + constructor(e3) { + super(e3), this._question = this.coreFactory.createArchWrapper(e3.question); + } + get displayTypeName() { + return "ArchBaseActionAsk"; + } + get isArchBaseActionAsk() { + return true; + } + get question() { + return this._question; + } + } + t2.default = o; + }, 38142(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(65485)); + class a extends r.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.question), "f"); + } + get displayTypeName() { + return "ArchBaseActionAskNoInputNoMatch"; + } + get isArchBaseActionAskNoInputNoMatch() { + return true; + } + get question() { + return o.__classPrivateFieldGet(this, n2, "f"); + } + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = a; + }, 96481(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(14820)); + class o extends n2.default { + constructor(e3) { + super(e3), e3.followupResponseTimeout && (this._followupResponseTimeout = this.coreFactory.createArchWrapper(e3.followupResponseTimeout)), e3.inputText && (this._inputText = this.coreFactory.createArchWrapper(e3.inputText)); + } + get displayTypeName() { + return "ArchBaseActionBot"; + } + get isArchBaseActionBot() { + return true; + } + get intentNames() { + return this._getCoreViewModel().customIntentNames; + } + getOutputByIntentName(e3) { + this._checkItemIsValidLiteralString(this._infoParm("intentName", "getOutputByIntentName"), e3, false); + const t3 = this._coreActionViewModel.getBranchByLabel(e3, true); + if (t3) return this.coreFactory.createArchWrapper(t3); + this.logErrorAndThrow("there is no output for name: " + e3); + } + get followupResponseTimeout() { + return this._followupResponseTimeout; + } + get inputText() { + return this._inputText; + } + } + t2.default = o; + }, 14820(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(62957)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get displayTypeName() { + return "ArchBaseActionBotWithSessionVariables"; + } + get isArchBaseActionBotWithSessionVariables() { + return true; + } + addSessionVariableNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addSessionVariableNameValuePair"), t3, true), this.sessionVariables._addNameValueAssignment(e3, t3, false, true); + } + get sessionVariables() { + const e3 = this._getCoreViewModel().sessionVariables; + if (e3) return this.coreFactory.createArchBaseValueContainer(e3); } + } + t2.default = o; + }, 82985(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = a.__importDefault(i2(94225)), l = a.__importDefault(i2(11210)); + class u extends l.default { constructor(e3) { - super(e3), this._durationFacets = new l.default(), (0, u.makeUnenumerable)(this, "_durationFacets"), (0, u.makeUnenumerable)(this, "_durationStyle"); - } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setDurationStyle, e3.durationStyle, "_durationStyle"); + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchValueFromExpression(e3.exitReason), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.inputText), "f"), a.__classPrivateFieldSet(this, r, this.coreFactory.createArchValueFromExpression(e3.intent), "f"); } - get isExpressionTypeDurationOptions() { + get isArchBaseActionCallBotFlow() { return true; } - get className() { - return "ExpressionTypeDurationOptions"; - } - get facets() { - return this._durationFacets; + get botFlowTypeEnum() { + return ""; } - set facets(e3) { - this._durationFacets = p.ParameterValidator.expectTrue(e3 && true === e3.isDurationFacets, e3, "DurationFacets", () => d.ParameterInfo.createPropertySet(this.className, "facets", "value")); + get inputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); } - _getDefaultTextForDisplay() { - return this.defaultText && !this.defaultToExpression ? a.getSearchStringFromLiteral(this.defaultText) : this.defaultText; + get outputs() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); } - get min() { - return this.facets.minVal / 1e3; + get exitReason() { + return a.__classPrivateFieldGet(this, n2, "f"); } - get max() { - return this.facets.maxVal / 1e3; + get inputText() { + return a.__classPrivateFieldGet(this, o, "f"); } - get durationStyle() { - return this._durationStyle; + get intent() { + return a.__classPrivateFieldGet(this, r, "f"); } - set durationStyle(e3) { - this._durationStyle = p.ParameterValidator.expectObject(e3, () => d.ParameterInfo.createPropertySet(this.className, "durationStyle", "value")); + get targetFlowInfo() { + return this.coreFactory.createArchFlowInfoBasic(this._getCoreViewModel().model.flowId, this._getCoreViewModel().model.flowName, this.botFlowTypeEnum); } - setDurationStyle(e3) { - return this.durationStyle = e3, this; + setTargetFlowInfoAsync(e3, t3) { + return a.__awaiter(this, void 0, void 0, function* () { + const i3 = this._infoPropSet("newValue", "targetFlowInfo"); + return this._checkItem(i3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "you must pass in an ArchFlowInfo or ArchFlowInfoBasic instance when setting the targetFlowInfo value."), this._checkItem(i3, e3.type !== this.botFlowTypeEnum, `the supplied flow information points to a flow of type '${e3.type}' which is not supported by this action. You must pass in a flow information value that specifies a flow of type '${this.botFlowTypeEnum}'.`), this.logNote(`configuring the call bot flow action to call the bot flow with name '${e3.name}' (id: '${e3.id}') at runtime.`), yield this._getCoreViewModel().setBotFlowReferenceToCallByFlowId(e3.id), s.default.executeCallback(this, "setTargetFlowInfoAsync", t3); + }); } } - t2.ExpressionTypeDurationOptions = _, o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), o.__metadata("design:paramtypes", [Object])], _.prototype, "facets", null), o.__decorate([(0, u.enumerable)(true), o.__metadata("design:type", "function" == typeof (r2 = void 0 !== s.IDurationStyle && s.IDurationStyle) ? r2 : Object), o.__metadata("design:paramtypes", [Object])], _.prototype, "durationStyle", null); - }, 79516: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AlertTypeEnum = void 0, (function(e3) { - e3.info = "info", e3.error = "error"; - })(i2 || (t2.AlertTypeEnum = i2 = {})); - }, 79519: (e2, t2) => { - "use strict"; - var i2, n2, r2, o, a, s; - 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.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) { - e3.failureBadComparison = "failureBadComparison", e3.failureGeneric = "failureGeneric", e3.failureDefinitionNameNotFound = "failureDefinitionNameNotFound", e3.failureMappedDataTypeUnavailableToFlowType = "failureMappedDataTypeUnavailableToFlowType", e3.failureNoSchema = "failureNoSchema", e3.failureUnableToDetermineIdentifierSuffix = "failureUnableToDetermineIdentifierSuffix", e3.failureUnableToDetermineRootType = "failureUnableToDetermineRootType", e3.failureUnableToMapSchemaPropertyToDataType = "failureUnableToMapSchemaPropertyToDataType", e3.failureUnsupportedDssSchemaVersion = "failureUnsupportedDssSchemaVersion"; - })(o || (t2.JsonSchemaProcessingFailure = o = {})), (function(e3) { - e3.warningGeneric = "warningGeneric", e3.warningNoProperties = "warningNoProperties"; - })(a || (t2.JsonSchemaProcessingWarning = a = {})), (function(e3) { - e3.aiGuide = "aiGuide"; - })(s || (t2.SchemaSource = s = {})); - }, 79537: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.askForAuthenticationFailureReasons = void 0; - t2.askForAuthenticationFailureReasons = ["GeneralError", "SignInFieldRequired", "SuccessFieldRequired", "ChannelNotSupported"]; - }, 79585: (e2, t2, i2) => { - const n2 = i2(10798), r2 = i2(4648).default, o = i2(95712), a = i2(36019).default; - function s() { - } - s.prototype.getWrapupCodes = function(e3) { - e3 = e3 || {}; - const t3 = n2.isFeatureAvailable(r2.divisionedWrapupCodes) ? o.getWrapupCodesDivisionView : o.getWrapupCodes; - return a.build(t3).queryParams(e3.isConfigListSearchParams ? e3.getSearchQueryParams() : e3).call(); - }, s.prototype.getWrapupCode = function(e3) { - const t3 = n2.isFeatureAvailable(r2.divisionedWrapupCodes) ? o.getWrapupCodeDivisionView : o.getWrapupCode; - return a.build(t3).templateParams({ id: e3 }).call(); - }, 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) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.architectYamlMaxDepth = void 0, t2.architectYamlMaxDepth = 1e3; - }, 79627: (e2, t2, i2) => { + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 74797(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GuideVersionViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(57606)), a = i2(79519); - t2.GuideVersionViewModel = class { + t2.ArchBaseActionConversationAttribute = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = n2.__importDefault(i2(56549)), a = i2(85415), s = n2.__importDefault(i2(21345)); + class l extends s.default { constructor(e3) { - if (this._schemasNotLoaded = false, this._model = e3, this._schemasNotLoaded = true, this._model.inputs && this._model.outputs) { - this._schemasNotLoaded = false; - const e4 = { properties: {}, required: [] }, t3 = { properties: {}, required: [] }; - r2.default.each(this._model.inputs, (t4) => { - r2.default.isObject(t4) && (e4.properties[t4.name] = Object.assign(Object.assign({}, t4), { source: a.SchemaSource.aiGuide })); - }), r2.default.each(this._model.outputs, (e5) => { - r2.default.isObject(e5) && (t3.properties[e5.name] = Object.assign(Object.assign({}, e5), { source: a.SchemaSource.aiGuide }), t3.required.push(e5.name)); - }), this._inputSchema = new o.default(e4, true), this._outputSchema = new o.default(t3, false); - } else this._schemasNotLoaded = true; + super(e3), e3.input && (this._input = this.coreFactory.createArchWrapper(e3.input)), e3.output && (this._output = this.coreFactory.createArchWrapper(e3.output)), e3.conversationId && (this._conversationId = this.coreFactory.createArchWrapper(e3.conversationId)); } - get className() { - return "GuideVersionViewModel"; + get displayTypeName() { + return this._scriptingName; } - get isBaseClass() { - return false; + get isArchBaseActionConversationAttribute() { + return true; } - get id() { - return this._model.id; + get conversationCustomAttributeSchemaOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; } - get name() { - return this._model.version; + setConversationCustomAttributeSchemaByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("conversationCustomAttributeSchemaId", "setConversationCustomAttributeSchemaByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationCustomAttributeSchemaByIdAsync"), t3, true); + const i3 = yield r.default.findItemByIdAsync(a.conversationCustomAttributeSchemaManager, e3, "cca schema"); + return this.logNote("Found info for the cca schema named '" + i3.name + "' for the passed in cca schema id '" + e3 + "'. Getting cca schema details."), this._checkItem(this._infoMethod("setConversationCustomAttributeSchemaByIdAsync"), i3.disabled, "This script references a disabled schema. Update all Conversation Attributes actions (GET, CREATE, UPDATE) to use an active schema."), yield this._coreActionViewModel.setSelectedActionByViewModel(i3), yield this._updateInputOutput(), o.default.executeCallback(this, "setConversationCustomAttributeSchemaByIdAsync", t3, this); + }); } - get label() { - return this.name; + setConversationCustomAttributeSchemaByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("conversationCustomAttributeSchemaName", "setConversationCustomAttributeSchemaByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationCustomAttributeSchemaByNameAsync"), t3, true); + const i3 = yield r.default.findItemByValueAsync(a.conversationCustomAttributeSchemaManager, e3, "cca schema"); + this.logNote("Found partial info for the cca schema named '" + i3.name + "' for the passed in cca schema name '" + e3 + "'. Getting full cca schema details."), this._checkItem(this._infoMethod("setConversationCustomAttributeSchemaByNameAsync"), i3.disabled, "This script references a disabled schema. Update all Conversation Attributes actions (GET, CREATE, UPDATE) to use an active schema."); + const n3 = yield r.default.findItemByIdAsync(a.conversationCustomAttributeSchemaManager, i3.id, "cca schema"); + return this.logNote("Found info for the cca schema named '" + n3.name + "' for the passed in cca schema id '" + i3.id + "'. Getting cca schema details."), yield this._coreActionViewModel.setSelectedActionByViewModel(n3), yield this._updateInputOutput(), o.default.executeCallback(this, "setConversationCustomAttributeSchemaByNameAsync", t3, this); + }); } - get version() { - return this._model.version; + _updateInputOutput() { + return n2.__awaiter(this, void 0, void 0, function* () { + this._input && (this._input = this.coreFactory.createArchWrapper(this._getCoreViewModel().input)), this._output && (this._output = this.coreFactory.createArchWrapper(this._getCoreViewModel().output)); + }); } - get inputSchema() { - return this._inputSchema; + get input() { + return this._input; } - get outputSchema() { - return this._outputSchema; + get output() { + return this._output; } - get schemasNotLoaded() { - return this._schemasNotLoaded; + get conversationId() { + return this._conversationId; } - }; - }, 79635: (e2, t2, i2) => { + } + t2.ArchBaseActionConversationAttribute = l; + }, 79200(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(87675)), a = i2(82632), s = n2.__importDefault(i2(37873)), l = n2.__importDefault(i2(73198)); - class u extends s.default { + const n2 = i2(31635), o = n2.__importDefault(i2(95085)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)); + class s extends o.default { constructor(e3) { - super(e3); + super(e3), this._timeout = this.coreFactory.createArchWrapper(e3.timeout), this._processingPrompt = this.coreFactory.createArchWrapper(e3.processingPrompt); } - _getCoreViewModelTyped() { - return this._getCoreViewModel(); + _clearInputsOutputs() { + this._dataActionInputs = void 0, this._dataActionOutputsSuccess = void 0, this._dataActionOutputsFailure = void 0; } get displayTypeName() { - return "ArchDataTypeJsonCustomSchema"; - } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "Name", this.name, false, true), this._appendLogStrPart(e3, "Description", this.description, false, true), this.id === this.dataTypeId ? this._appendLogStrPart(e3, "Id/DataTypeId", this.id, false, true) : (this._appendLogStrPart(e3, "Id", this.id, false, true), this._appendLogStrPart(e3, "DataTypeId", this.dataTypeId, false, true)), this._appendLogStrPart(e3, "IsCollection", this.isCollection, true, true), this._appendLogStrPart(e3, "MinValue", this.minValue, true, true), this._appendLogStrPart(e3, "MinValueInclusive", this.minValueInclusive, true, true), this._appendLogStrPart(e3, "MaxValue", this.maxValue, true, true), this._appendLogStrPart(e3, "MaxValueInclusive", this.maxValueInclusive, true, true), this._appendLogStrPart(e3, "MinItems", this.minItems, true, true), this._appendLogStrPart(e3, "MaxItems", this.maxItems, true, true), this._appendLogStrPart(e3, "MinLength", this.minLength, true, true), this._appendLogStrPart(e3, "MaxLength", this.maxLength, true, true), this._appendLogStrPart(e3, "Properties", this.properties.length, true, true), this._createLogStrFromParts(e3); - } - get isArchDataTypeJsonCustomSchema() { - return true; - } - set maxItems(e3) { - const t3 = this._infoPropSet("newMaxItems", "maxItems"); - this._checkItemIsValidLiteralInt(t3, e3, true), r2.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.defaultCollectionItemsMax), this._getCoreViewModelTyped().maxItems = e3; - } - get maxItems() { - return this._getCoreViewModelTyped().maxItems; - } - set minItems(e3) { - const t3 = this._infoPropSet("newMinItems", "minItems"); - this._checkItemIsValidLiteralInt(t3, e3, true), r2.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.defaultCollectionItemsMax), this._getCoreViewModelTyped().minItems = e3; + return "ArchBaseActionDataAction"; } - get minItems() { - return this._getCoreViewModelTyped().minItems; + get dataActionInputs() { + return this._dataActionInputs || (this._dataActionInputs = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().inputs)), this._dataActionInputs; } - get minLength() { - return this._getCoreViewModelTyped().minLength; + get dataActionOutputsFailure() { + if (this._getCoreViewModel().allowErrorSchema) return this._dataActionOutputsFailure || (this._dataActionOutputsFailure = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().errorBindings)), this._dataActionOutputsFailure; } - set minLength(e3) { - const t3 = this._infoPropSet("newMinLength", "minLength"); - this._checkItemIsValidLiteralInt(t3, e3, true), r2.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.maxStringLength), this._getCoreViewModelTyped().minLength = e3; + get dataActionOutputsSuccess() { + return this._dataActionOutputsSuccess || (this._dataActionOutputsSuccess = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().outputs)), this._dataActionOutputsSuccess; } - get maxLength() { - return this._getCoreViewModelTyped().maxLength; + get isArchBaseActionDataAction() { + return true; } - set maxLength(e3) { - const t3 = this._infoPropSet("newMaxLength", "maxLength"); - this._checkItemIsValidLiteralInt(t3, e3, true), r2.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItemIsValidLiteralIntInRange(t3, e3, 0, l.default.maxStringLength), this._getCoreViewModelTyped().maxLength = e3; + _setIntegrationActionByIdAsync(e3, t3, i3) { + return this._checkItemIsValidLiteralString(this._infoParm("integrationActionId", "setIntegrationActionByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setIntegrationActionByIdAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("integrationActionType", "setIntegrationActionByIdAsync"), i3, false), i3 = (i3 || "integration") + "action", r.default.findItemByIdAsync(this._getCoreViewModel().serverManager, e3, i3 + " id").then((n3) => (this.logNote("found the " + i3 + " named '" + n3.name + "' for the " + i3 + " ID of '" + e3 + "'"), this._coreActionViewModel.setIntegrationActionByViewModel(n3), this._clearInputsOutputs(), a.default.executeCallback(this, "setIntegrationActionByIdAsync", t3, this))); } - get isCollection() { - return this._getCoreViewModelTyped().isCollection; + get timeout() { + return this._timeout; } - set isRequired(e3) { - const t3 = this._infoPropSet("newIsRequiredValue", "isRequired"); - this._checkItemIsValidLiteralBool(t3, e3, false), this._getCoreViewModelTyped().isRequired = !!e3; + get processingPrompt() { + return this._processingPrompt; } - get isRequired() { - return this._getCoreViewModelTyped().isRequired; + get supportsDataActionOutputsFailure() { + return !!this._getCoreViewModel().allowErrorSchema; } - set additionalProperties(e3) { - const t3 = this._infoPropSet("newAdditionalProperties", "additionalProperties"); - this._checkItemIsValidLiteralBool(t3, e3, true), this._getCoreViewModelTyped().additionalProperties = !!e3; + get useSuggestedTimeout() { + return this._coreActionViewModel.useSuggestedTimeout; } - get additionalProperties() { - return this._getCoreViewModelTyped().additionalProperties; + set useSuggestedTimeout(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "useSuggestedTimeout"), e3, false), this._coreActionViewModel.useSuggestedTimeout = e3; } - set allowableValues(e3) { - const t3 = this._infoPropSet("newAllowableValues", "allowableValues"); - this._checkItem(t3, !(r2.default.isNullOrUndefined(e3) || r2.default.isArray(e3) && e3.length), "when setting allowable values, the value must either be null or undefined to clear allowable values or an array with at least one allowable value in it."), this._getCoreViewModelTyped().allowableValues = e3; + } + t2.default = s; + }, 46210(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(92140)), a = o.__importDefault(i2(96481)), s = o.__importDefault(i2(94225)), l = o.__importDefault(i2(41510)), u = o.__importDefault(i2(56549)), c = o.__importDefault(i2(66978)); + class d extends a.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.eventName), "f"); } - get allowableValues() { - return this._getCoreViewModelTyped().allowableValues; + get draftEnvironmentName() { + return l.default.dialogflow.draftEnvironmentName; } - set description(e3) { - const t3 = this._infoPropSet("newDescription", "description"); - this._checkItemIsValidLiteralString(t3, e3, false, a.propertyLimits.description.maxLength, true), this._getCoreViewModelTyped().description = e3; + get integrationName() { + return this._getCoreViewModel().integrationName; } - get description() { - return this._getCoreViewModelTyped().description; + get environment() { + return this._getCoreViewModel().getEnvironmentName(); } - set name(e3) { - const t3 = this._infoPropSet("newName", "name"); - this._checkItemIsValidLiteralString(t3, e3, false, a.propertyLimits.name.maxLength, true), this._getCoreViewModelTyped().name = e3; + get eventName() { + return o.__classPrivateFieldGet(this, n2, "f"); } - get name() { - return this._getCoreViewModelTyped().name; + get isArchBaseActionDialogflow() { + return true; } - set minValueInclusive(e3) { - const t3 = this._infoPropSet("newMinValueInclusiveValue", "minValueInclusive"); - this._checkItemIsValidLiteralBool(t3, e3, false), this._getCoreViewModelTyped().minValueInclusive = !!e3; + get dialogflowOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; } - get minValueInclusive() { - return this._getCoreViewModelTyped().minValueInclusive; + _setDialogflowAgentByIdAsync(e3, t3, i3) { + return this._checkItemIsValidLiteralString(this._infoParm("agentId", "setDialogflowAgentByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByIdAsync"), i3, true), u.default.findItemByIdAsync(this._agentManager, e3, "dialogflow agent").then((n3) => { + if (this.logNote("Found the Dialogflow agent named '" + n3.name + "' for the agent ID of '" + e3 + "'"), this._getCoreViewModel().setBotRunnableByViewModel(n3), t3) { + const e4 = r.default.findWhere(n3.environments, { name: t3 }); + if (!e4) throw `There is no environment with the name '${t3}' for agent '${n3.name}'`; + this._coreActionViewModel.setEnvironment(e4); + } + return s.default.executeCallback(this, "setDialogflowAgentByIdAsync", i3, this); + }); } - set maxValueInclusive(e3) { - const t3 = this._infoPropSet("newMaxValueInclusiveValue", "maxValueInclusive"); - this._checkItemIsValidLiteralBool(t3, e3, false), this._getCoreViewModelTyped().maxValueInclusive = !!e3; + setDialogflowAgentByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("dialogflowAgentId", "setDialogflowAgentByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByIdAsync"), t3, true), this._setDialogflowAgentByIdAsync(e3, null, t3); } - get maxValueInclusive() { - return this._getCoreViewModelTyped().maxValueInclusive; + setDialogflowAgentByNameAsync(e3, t3, i3, n3) { + return o.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("agentName", "setDialogflowAgentByNameAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("projectId", "setDialogflowAgentByNameAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByNameAsync"), i3, true), this._checkItemIsValidLiteralString(this._infoParm("integrationName", "setDialogflowAgentByNameAsync"), n3, true); + const o2 = {}; + t3 && (o2.projectId = t3), n3 && (o2.integrationName = n3); + const a2 = yield u.default.findItemByValueAsync(this._agentManager, e3, "dialogflow bot", null, null, r.default.isEmpty(o2) ? null : o2); + 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"); + }); } - get dataTypeId() { - return this._getCoreViewModelTyped().dataTypeId; + setDialogflowAgentByIdWithEnvironmentAsync(e3, t3, i3) { + return this._checkItemIsValidLiteralString(this._infoParm("dialogflowAgentId", "setDialogflowAgentByIdWithEnvironmentAsync"), e3, false), this._checkItemIsValidLiteralString(this._infoParm("environmentName", "setDialogflowAgentByIdWithEnvironmentAsync"), t3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByIdWithEnvironmentAsync"), i3, true), this._setDialogflowAgentByIdAsync(e3, t3, i3); } - set minValue(e3) { - const t3 = this._infoPropSet("newMinValue", "minValue"); - r2.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItem(t3, !r2.default.isActualNumber(e3), "when specifying a minimum value, it must be a numeric value, undefined or null"), this._getCoreViewModelTyped().minValue = e3; + setDialogflowAgentByNameWithEnvironmentAsync(e3, t3, i3, n3, a2) { + return o.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("agentName", "setDialogflowAgentByNameWithEnvironmentAsync"), e3), this._checkItemIsValidLiteralString(this._infoParm("environmentName", "setDialogflowAgentByNameWithEnvironmentAsync"), t3, true), this._checkItemIsValidLiteralString(this._infoParm("projectId", "setDialogflowAgentByNameWithEnvironmentAsync"), i3, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogflowAgentByNameWithEnvironmentAsync"), n3, true), this._checkItemIsValidLiteralString(this._infoParm("integrationName", "setDialogflowAgentByNameWithEnvironmentAsync"), a2, true); + const o2 = {}; + i3 && (o2.projectId = i3), a2 && (o2.integrationName = a2); + const s2 = yield u.default.findItemByValueAsync(this._agentManager, e3, "dialogflow bot", null, null, r.default.isEmpty(o2) ? null : o2); + 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 minValue() { - return this._getCoreViewModelTyped().minValue; + get _sessionVariableOutputs() { + const e3 = this._getCoreViewModel().outputSessionVariables; + if (e3) return this.coreFactory.createArchBaseValueContainer(e3); } - set maxValue(e3) { - const t3 = this._infoPropSet("newMaxValue", "maxValue"); - r2.default.isNullOrUndefined(e3) ? e3 = void 0 : this._checkItem(t3, !r2.default.isActualNumber(e3), "when specifying a minimum value, it must be a numeric value, undefined or null"), this._getCoreViewModelTyped().maxValue = e3; + _addSessionVariableOutputNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameLiteral", "addSessionVariableOutputNameValuePair"), e3, true), this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("outputVariable", "addSessionVariableOutputNameValuePair"), t3, true), this._sessionVariableOutputs._addNameValueAssignment(e3, t3, true, true); } - get maxValue() { - return this._getCoreViewModelTyped().maxValue; + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = d; + }, 19047(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(88827)); + class o extends n2.default { + constructor(e3) { + super(e3), this._findResult = this.coreFactory.createArchWrapper(e3.findResult); } - get properties() { - var e3; - const t3 = [], i3 = null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.propertiesSnapshot; - if (null == i3 ? void 0 : i3.length) for (const e4 of i3) t3.push(this.coreFactory.createArchWrapper(e4)); - return t3; + get displayTypeName() { + return "ArchBaseActionFindSystemObject"; } - addProperty(e3, t3, i3) { - const n3 = o.default.createEmptyDataTypeDef(); - return n3.name = e3, n3.id = e3, n3.description = i3, t3.endsWith("_coll") ? (n3.dataTypeId = t3.slice(0, -5), n3.isCollection = true) : n3.dataTypeId = t3, this._getCoreViewModelTyped().addProperty(n3), this.coreFactory.createArchWrapper(n3); + get isArchBaseActionFindSystemObject() { + return true; } - } - t2.default = u; - }, 79694: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + get findResult() { + this.logErrorAndThrow(`findResult should be overridden by derived class ${this.logStr}`); } - return a; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeWith = void 0; - var o = i2(9330); - t2.mergeWith = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return o.merge.apply(void 0, r2([], n2(e3))); - }; - }, 79747: (e2, t2, i2) => { - const n2 = i2(81086), r2 = i2(57606).default; - function o(e3) { - o.baseConstructor.call(this), Object.defineProperties(this, { _model: { writable: true }, _errorSchema: { writable: true }, _inputSchema: { writable: true }, _successSchema: { writable: true }, isFlowCachedVersion: { value: false, writable: true }, schemasNotLoaded: { value: true, writable: true } }), this.model = e3, (e3.errorSchema && e3.errorSchemaUri || e3.inputSchema && e3.inputSchemaUri || e3.successSchema && e3.successSchemaUri) && (this.schemasNotLoaded = false); } - n2.extend(o), Object.defineProperties(o.prototype, { actionId: { get: function() { - return this.model.actionId; - }, set: function(e3) { - this.model.actionId = e3; - } }, id: { get: function() { - return this.actionId; - } }, category: { get: function() { - return this.model.category; - }, set: function(e3) { - this.model.category = e3; - } }, errorSchema: { get: function() { - return this._errorSchema; - } }, getProperty: { value: function(e3, t3, i3) { - return t3 ? this.successSchema?.getProperty(e3, i3) : this.inputSchema?.getProperty(e3, i3); - } }, inputSchema: { get: function() { - return this._inputSchema; - } }, successSchema: { get: function() { - return this._successSchema; - } }, model: { get: function() { - return this._model; - }, set: function(e3) { - this._model = e3, this._model.errorSchema && (this._errorSchema = new r2(this._model.errorSchema, false)), this._model.inputSchema && (this._inputSchema = new r2(this._model.inputSchema, true)), this._model.successSchema && (this._successSchema = new r2(this._model.successSchema, false)); - } }, name: { get: function() { - return this.model.name; - }, set: function(e3) { - this.model.category = e3; - } }, label: { get: function() { - return this.model.name; - } }, result: { get: function() { - return this.model.result; - } } }), e2.exports = o; - }, 79750: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.bindCallback = void 0; - var n2 = i2(17474); - t2.bindCallback = function(e3, t3, i3) { - return n2.bindCallbackInternals(false, e3, t3, i3); - }; - }, 79771: (e2, t2, i2) => { + t2.default = o; + }, 93523(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - 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 { + const n2 = i2(31635).__importDefault(i2(19047)); + class o extends n2.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._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]); + super(e3), this._findId = this.coreFactory.createArchWrapper(e3.findId); } get displayTypeName() { - return "ArchSettingsUserInput"; + return "ArchBaseActionFindSystemObjectById"; } - get isArchSettingsUserInput() { + get isArchBaseActionFindSystemObjectById() { return true; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - get collectionHighConfidenceThreshold() { - return this._collectionHighConfidenceThreshold; + get findId() { + return this._findId; } - get collectionLowConfidenceThreshold() { - return this._collectionLowConfidenceThreshold; + } + t2.default = o; + }, 92661(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(19047)); + class o extends n2.default { + constructor(e3) { + super(e3), this._findName = this.coreFactory.createArchWrapper(e3.findName); } - get confirmationLowConfidenceThreshold() { - return this._confirmationLowConfidenceThreshold; + get displayTypeName() { + return "ArchBaseActionFindSystemObjectByName"; } - get confirmationNoInputApology() { - return this._confirmationNoInputApology; + get isArchBaseActionFindSystemObjectByName() { + return true; } - get confirmationNoMatchApology() { - return this._confirmationNoMatchApology; + get findName() { + return this._findName; } - get confirmationRejectionsMax() { - return this._confirmationRejectionsMax; + } + t2.default = o; + }, 65294(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(15137)); + class o extends n2.default { + constructor(e3) { + super(e3), this._findResult = this.coreFactory.createArchWrapper(e3.findResult); } - get enableBargeIn() { - return this._enableBargeIn; + get displayTypeName() { + return "ArchBaseActionFindSystemObjects"; } - get enableAutomaticQuickReplies() { - return this._enableAutomaticQuickReplies; + get isArchBaseActionFindSystemObjects() { + return true; } - get noInputApology() { - return this._noInputApology; + get findResult() { + throw this.logErrorAndThrow(`findResult should be overridden by derived class ${this.logStr}`), new Error("unreachable"); } - get endOfSessionMessage() { - return this._endOfSessionMessage; + } + t2.default = o; + }, 35958(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(65294)); + class o extends n2.default { + constructor(e3) { + super(e3), this._findIds = this.coreFactory.createArchWrapper(e3.findIds); } - get noInputsMax() { - return this._noInputsMax; + get displayTypeName() { + return "ArchBaseActionFindSystemObjectsById"; } - get noInputsMaxExceededHandling() { - return o.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreUserInputSettingsViewModel.noInputsMaxExceededHandling.handlingType); + get isArchBaseActionFindSystemObjectsById() { + return true; } - set noInputsMaxExceededHandling(e3) { - const t3 = this._infoPropSet("newHandlingTypeValue", "noInputsMaxExceededHandling"); - this._checkItemIsValidLiteralStringEnum(t3, e3, r2.default.EVENTS_FLOW_ERROR_HANDLING_ALL); - const i3 = o.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); - this._coreUserInputSettingsViewModel.noInputsMaxExceededHandling.handlingTypes.find((e4) => e4 === i3) || this.logItemErrorAndThrow(t3, `the handling type of '${e3}' is not available to be configured when no inputs max is exceeded.`), this.logNote(`setting the no inputs max exceeded handling type to '${e3}'.`), this._coreUserInputSettingsViewModel.noInputsMaxExceededHandling.handlingType = i3; + get findIds() { + return this._findIds; } - get noInputsMaxExceededTargetTask() { - const e3 = this._coreUserInputSettingsViewModel.parentFlow; - if (e3 && e3.hasTasks) { - const t3 = e3.tasks.find((e4) => e4.id === this._coreUserInputSettingsViewModel.noInputsMaxExceededTaskId); - if (t3) return this.coreFactory.createArchWrapper(t3); - } + } + t2.default = o; + }, 54016(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(65294)); + class o extends n2.default { + constructor(e3) { + super(e3), this._findNames = this.coreFactory.createArchWrapper(e3.findNames); } - set noInputsMaxExceededTargetTask(e3) { - const t3 = this._infoPropSet("archTaskTarget", "noInputsMaxExceededTargetTask"); - if (this.logNote(`noInputsMaxExceededHandling: ${this.noInputsMaxExceededHandling}`), this._checkItem(t3, "task" !== this.noInputsMaxExceededHandling, 'the noInputMaxExceeded handling type must be set to "Jump to Reusable Task" to set the noInputMaxExceeded task path.'), !e3) return void this._coreUserInputSettingsViewModel.noInputsMaxExceededTask.setReference(null); - this._checkItem(t3, !e3 || !e3.isArchTask, "the noInputMaxExceeded task path must be an ArchTask."); - const i3 = this._coreUserInputSettingsViewModel.noInputsMaxExceededTask.getInvalidReferenceReason(e3._getCoreViewModel()); - this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !(0, s.isNullOrUndefined)(i3), `targetTask is not valid as the noInputsMaxExceeded task path: ${i3}`), this.logNote("setting the noInputsMaxExceeded task path to " + e3.logStr), this._coreUserInputSettingsViewModel.noInputsMaxExceededTask.setReference(e3._getCoreViewModel()); + get displayTypeName() { + return "ArchBaseActionFindSystemObjectsByName"; } - isNoInputsMaxExceededTypeAvailable(e3) { - return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isNoInputsMaxExceededTypeAvailable"), e3, r2.default.EVENTS_FLOW_ERROR_HANDLING_ALL), o.archHandlingTypeConversion.findHandlingTypeForValue(this._coreUserInputSettingsViewModel.noInputsMaxExceededHandlingTypes, e3); + get isArchBaseActionFindSystemObjectsByName() { + return true; } - get noInputsTimeout() { - return this._noInputsTimeout; + get findNames() { + return this._findNames; } - get speechToTextSpeechDetectionSensitivity() { - return this._speechToTextSpeechDetectionSensitivity; + } + t2.default = o; + }, 39292(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(11210)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(51306); + class l extends o.default { + constructor(e3) { + super(e3); } - get speechToTextMaxSpeechTimeout() { - return this._speechToTextMaxSpeechTimeout; + get displayTypeName() { + return "ArchBaseActionFlowOutcome"; } - get speechToTextAdvancedConfiguration() { - return this._speechToTextAdvancedConfiguration; + get isArchBaseActionFlowOutcome() { + return true; } - get enableIntentClassificationHinting() { - return this._enableIntentClassificationHinting; + setFlowOutcomeByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("flowOutcomeId", "setFlowOutcomeByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowOutcomeByIdAsync"), t3, true), r.default.findItemByIdAsync(s.outcomeManager, e3, "flow outcome").then((i3) => (this.logNote("found the flow outcome named '" + i3.name + "' for the flowOutcomeId ID of '" + e3 + "'"), this._coreActionViewModel.outcome.setValue(i3), a.default.executeCallback(this, "setFlowOutcomeByIdAsync", t3, this))); } - get interDigitTimeout() { - return this._interDigitTimeout; + setFlowOutcomeByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("flowOutcomeName", "setFlowOutcomeByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setFlowOutcomeByNameAsync"), t3, true), r.default.findItemByValueAsync(s.outcomeManager, e3, "flow outcome", "name", "name").then((i3) => (this.logNote(`Found info for the flow outcome named '${i3.name}' for the passed flow outcome name of '${e3}'.`), this._coreActionViewModel.outcome.setValue(i3), a.default.executeCallback(this, "setFlowOutcomeByNameAsync", t3, this))); } - get dtmfTerminatingCharacter() { - return this._dtmfTerminatingCharacter; + } + t2.default = l; + }, 91981(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(21345)); + class o extends n2.default { + constructor(e3) { + super(e3), this._attributeVariableValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); } - get noMatchApology() { - return this._noMatchApology; + addAttributeNameOutputValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameOutputValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("variableExpression", "addAttributeNameOutputValuePair"), t3, true), this._attributeVariableValuePairs._addNameValueAssignment(e3, t3, true, false); } - get noMatchesMax() { - return this._noMatchesMax; + get attributeNameOutputValuePairs() { + return this._attributeVariableValuePairs; } - get noToConfirmationApology() { - return this._noToConfirmationApology; + get displayTypeName() { + return this._scriptingName; } } - t2.default = l; - }, 79857: (e2, t2, i2) => { - const n2 = i2(32726), { dialogflowActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _intentProbability: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.intentProbability.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.intentProbability.pasteResolveOldToNewValues(e3); - } }, intentProbability: { enumerable: true, get: function() { - return this._intentProbability; - }, set: function(e3) { - this._intentProbability = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 79896: (e2) => { - "use strict"; - e2.exports = require("fs"); - }, 79904: (e2, t2, i2) => { + t2.default = o; + }, 2257(e2, t2, i2) { "use strict"; 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: 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"; - } - isAvailableForFlow(e3) { - const t3 = null == e3 ? void 0 : e3.definition.supportsMoreThanOneLanguage; - return this.supportsLanguageTag && t3 && !this.supportsOutputMode; + const n2 = i2(31635), o = n2.__importDefault(i2(96481)), r = n2.__importDefault(i2(94225)), a = n2.__importDefault(i2(56549)); + class s extends o.default { + constructor(e3) { + super(e3); } - get isBuilderPartContainerLanguageDef() { + get isArchBaseActionLex() { return true; } - get supportsLanguageTag() { - return true; + get lexBotOutputsFailure() { + return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; } - createBuilderPartViewModel(e3, t3, i3) { - const n3 = new o.default({ builderPartDefId: this.id, criteria: i3, version: this.version }); - return this.reviveItem(e3, t3, n3); + _setLexBotAliasByIdAsync(e3, t3, i3) { + return this._checkItemIsValidLiteralString(this._infoParm("aliasId", e3), t3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", e3), i3, true), a.default.findItemByIdAsync(this._aliasManager, t3, "alias").then((n3) => (this.logNote("Found the Lex bot alias named '" + n3.name + "' for the alias ID of '" + t3 + "'"), this._coreActionViewModel.setBotRunnableByViewModel(n3), r.default.executeCallback(this, e3, i3, this))); } - reviveItem(e3, t3, i3, n3) { - return new a.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: !!n3 }); + get intentSlots() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); } } 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 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 = c, t2.callbackManager = new c(); - }, 80101: (e2, t2, i2) => { + }, 65485(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CustomerSegment = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(57382)); + class o extends n2.default { constructor(e3) { super(e3); + const t3 = e3; + this._customizeNoInput = this.coreFactory.createArchWrapper(t3.customizeNoInput), this._customizeNoMatch = this.coreFactory.createArchWrapper(t3.customizeNoMatch), this._noInput = this.coreFactory.createArchWrapper(t3.noInput), this._noInputReprompts = this.coreFactory.createArchWrapper(t3.noInputReprompts), this._noMatch = this.coreFactory.createArchWrapper(t3.noMatch), this._noMatchReprompts = this.coreFactory.createArchWrapper(t3.noMatchReprompts), this._voiceEndOfInputTimeout = this.coreFactory.createArchWrapper(t3.voiceEndOfInputTimeout); } - get id() { - return this._id; + get displayTypeName() { + return "ArchBaseActionNoInputNoMatch"; } - set id(e3) { - this._id = e3; + get isArchBaseActionNoInputNoMatch() { + return true; } - get name() { - return this._name; + get customizeNoInput() { + return this._customizeNoInput; } - set name(e3) { - this._name = e3; + get customizeNoMatch() { + return this._customizeNoMatch; } - get label() { - return this._name; + get noInput() { + return this._noInput; } - set label(e3) { - this._name = e3; + get noInputReprompts() { + return this._noInputReprompts; } - get displayName() { - return this._name; + get noMatch() { + return this._noMatch; } - set displayName(e3) { - this._name = e3; + get noMatchReprompts() { + return this._noMatchReprompts; + } + get voiceEndOfInputTimeout() { + return this._voiceEndOfInputTimeout; } } - 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) => { + t2.default = o; + }, 37603(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), o = n2.__importDefault(i2(57382)), r = n2.__importDefault(i2(56549)), a = n2.__importDefault(i2(94225)), s = i2(91674); + class l extends o.default { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "cardCollection"; + super(e3), this._evaluationDateTime = this.coreFactory.createArchWrapper(e3.evaluationDateTime), this._emergencyGroup = this.coreFactory.createArchWrapper(e3.emergencyGroup); } get displayTypeName() { - return "ArchValueCardCollection"; + return "ArchBaseActionSchedule"; } - get isArchValueCardCollection() { + get isArchBaseActionSchedule() { return true; } + get evaluateNow() { + return this._coreActionViewModel.evaluateNow; + } + set evaluateNow(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("value", "evaluateNow"), e3, false), this._coreActionViewModel.evaluateNow = e3; + } + get evaluationDateTime() { + return this._evaluationDateTime; + } + get emergencyGroup() { + return this._emergencyGroup; + } + setEmergencyGroupByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupId", "setEmergencyGroupByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setEmergencyGroupByIdAsync"), t3, true), r.default.findItemByIdAsync(s.emergencyGroupManager, e3, "emergency group", "id").then((e4) => (this.logNote("found the emergency group named '" + e4.name + "' with ID of '" + e4.id + "'."), this._coreActionViewModel.setEmergencyGroup(e4), a.default.executeCallback(this, "setEmergencyGroupByIdAsync", t3, this))); + } + setEmergencyGroupByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupName", "setEmergencyGroupByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setEmergencyGroupByNameAsync"), t3, true), r.default.findItemByValueAsync(s.emergencyGroupManager, e3, "emergency group", "name").then((e4) => (this.logNote("found the emergency group named '" + e4.name + "' with ID of '" + e4.id + "'."), this._coreActionViewModel.setEmergencyGroup(e4), a.default.executeCallback(this, "setEmergencyGroupByNameAsync", t3, this))); + } } - t2.default = r2; - }, 80142: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.min = void 0; - var n2 = i2(92070), r2 = i2(10281); - t2.min = function(e3) { - return n2.reduce(r2.isFunction(e3) ? function(t3, i3) { - return e3(t3, i3) < 0 ? t3 : i3; - } : function(e4, t3) { - return e4 < t3 ? e4 : t3; - }); - }; - }, 80145: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = { any_ResolveSlot_any: "Any_ONE resolveSlot(Any_ONE)", audio_AudioPlaybackOptions_Barge: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE)", audio_AudioPlaybackOptions_Barge_Flush: "Audio_ONE audioPlaybackOptions(AnyPromptOrAudio_ONE,Boolean_ONE,Boolean_ONE)", audio_ToAudio_Prompt: "Audio_ONE toAudio(Prompt_ONE)", audio_ToAudio_VoiceSnippet: "Audio_ONE toAudio(VoiceSnippet_ONE)", audio_ToAudioBool_Bool: "Audio_ONE ToAudioBool(Boolean_ONE)", audio_ToAudioBool_Bool_FormatEnum: "Audio_ONE ToAudioBool(Boolean_ONE,BoolFormatEnum_ONE)", audio_ToAudioCurrency_Currency: "Audio_ONE ToAudioCurrency(Currency_ONE)", audio_ToAudioCurrency_Currency_FormatEnum: "Audio_ONE ToAudioCurrency(Currency_ONE,CurrencyFormat_ONE)", audio_ToAudioCurrency_Currency_Int: "Audio_ONE ToAudioCurrency(Currency_ONE,Long_ONE)", audio_ToAudioDate_Date: "Audio_ONE ToAudioDate(Date_ONE)", audio_ToAudioDate_Date_FormatEnum: "Audio_ONE ToAudioDate(Date_ONE,DateFormatEnum_ONE)", audio_ToAudioDate_DateTime_FormatEnum: "Audio_ONE ToAudioDate(DateTime_ONE,DateTimeFormatEnum_ONE)", audio_ToAudioDateTime_DateTime: "Audio_ONE ToAudioDateTime(DateTime_ONE)", audio_ToAudioDuration_Duration: "Audio_ONE ToAudioDuration(Duration_ONE)", audio_ToAudioNumber_Decimal: "Audio_ONE ToAudioNumber(Decimal_ONE)", audio_ToAudioNumber_Decimal_FormatEnum: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE)", audio_ToAudioNumber_Decimal_FormatEnum_LangEnumStar: "Audio_ONE ToAudioNumber(Decimal_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumber_Decimal_Int: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE)", audio_ToAudioNumber_Decimal_LangEnumStar: "Audio_ONE ToAudioNumber(Decimal_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumber_Decimal_Int_LangEnumStar: "Audio_ONE ToAudioNumber(Decimal_ONE,Long_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumber_Int: "Audio_ONE ToAudioNumber(Long_ONE)", audio_ToAudioNumber_Int_FormatEnum: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE)", audio_ToAudioNumber_Int_FormatEnum_LangEnumStar: "Audio_ONE ToAudioNumber(Long_ONE,NumberFormatEnum_ONE,LanguageContextEnum_ONE...)", audio_ToAudioNumberOrdinal_Int: "Audio_ONE ToAudioNumberOrdinal(Long_ONE)", audio_ToAudioNumberOrdinal_Int_LangEnumStar: "Audio_ONE ToAudioNumberOrdinal(Long_ONE,LanguageContextEnum_ONE...)", audio_ToAudioPercent_Int: "Audio_ONE ToAudioPercent(Long_ONE)", audio_ToAudioPercent_Decimal: "Audio_ONE ToAudioPercent(Decimal_ONE)", audio_ToAudioPhoneNumber_PhoneNumber: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE)", audio_ToAudioPhoneNumber_String: "Audio_ONE ToAudioPhoneNumber(String_ONE)", audio_ToAudioPhoneNumber_PhoneNumber_FormatEnum: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,PhoneNumberFormatEnum_ONE)", audio_ToAudioPhoneNumber_PhoneNumber_String: "Audio_ONE ToAudioPhoneNumber(PhoneNumber_ONE,String_ONE)", audio_ToAudioTTS_String: "Audio_ONE ToAudioTTS(String_ONE)", audio_ToAudioTTS_String_FormatEnum: "Audio_ONE ToAudioTTS(String_ONE,StringFormat_ONE)", audio_ToAudioTime_DateTime: "Audio_ONE ToAudioTime(DateTime_ONE)", audio_ToAudioTime_DateTime_FormatEnum: "Audio_ONE ToAudioTime(DateTime_ONE,TimeFormatEnum_ONE)", duration_RoundUp_Duration: "Duration_ONE RoundUp(Duration_ONE)", duration_MakeDuration_Int_Int_Int_Int: "Duration_ONE makeDuration(Long_ONE,Long_ONE,Long_ONE,Long_ONE)" }; - }, 80219: (e2, t2, i2) => { + t2.default = l; + }, 56265(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(25298)), a = n2.__importDefault(i2(73198)), s = i2(30801); - class l extends o.default { + const n2 = i2(31635).__importDefault(i2(21345)); + class o extends n2.default { constructor(e3) { - super(e3), this._currentIndex = this.coreFactory.createArchWrapper(e3.currentIndex), this._maxLoopCount = this.coreFactory.createArchWrapper(e3.maxLoopCount); + super(e3), this._attributeNameValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); } - get _actionTypeId() { - return s.loopUntilActionType; + addAttributeNameValuePair(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("valueExpression", "addAttributeNameValuePair"), t3, true), this._attributeNameValuePairs._addNameValueAssignment(e3, t3, false, false); } - _getArchNamedValue(e3, t3) { - return this.coreFactory.createArchWrapper({ name: e3, value: t3, model: { isDataPair: true } }); + get attributeNameValuePairs() { + return this._attributeNameValuePairs; } get displayTypeName() { return this._scriptingName; } - addUntilCase(e3, t3) { - const i3 = this._infoParm("untilCaseName", "addUntilCase"); - this._checkItemIsValidLiteralString(i3, e3); - const n3 = this._getOutputByName(e3, true, true); - this._checkItem(i3, !!n3, `you cannot add an until case with the name '${e3}' because there is already another until case with that name and until case names should be unique on a loop until action.`), this._checkItemIsValidLiteralString(this._infoParm("untilCaseExpression", "addUntilCase"), t3, true); - const o2 = this._getCoreViewModel().addUntilCase(e3, a.default.false), s2 = this._getArchNamedValue(o2.label, o2.value); - return r2.default.isString(t3) && s2.value.setExpression(t3), s2; + } + t2.default = o; + }, 67193(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(1012)); + class o extends n2.default { + constructor(e3) { + super(e3), this._failureTransferAudio = this.coreFactory.createArchAudio(e3.failureTransferAudio), this._failureTransferCommunication = this.coreFactory.createArchWrapper(e3.failureTransferCommunication), this._preTransferAudio = this.coreFactory.createArchAudio(e3.preTransferAudio), this._preTransferCommunication = this.coreFactory.createArchWrapper(e3.preTransferCommunication); } - get currentIndex() { - return this._currentIndex; + get displayTypeName() { + return "ArchBaseActionTransfer"; } - get isArchActionLoopUntil() { + get isArchBaseActionTransfer() { return true; } - get maxLoopCount() { - return this._maxLoopCount; + get failureTransferAudio() { + return this._failureTransferAudio; } - get untilCases() { - const e3 = this._getCoreViewModel().untilCases.items, t3 = []; - return r2.default.each(e3, (e4) => { - const i3 = this._getOutputById(e4.referenceId, true); - t3.push(this._getArchNamedValue(i3 ? i3.name : "", e4.value)); - }), t3; + get failureTransferCommunication() { + return this._failureTransferCommunication; } - } - 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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get preTransferAudio() { + return this._preTransferAudio; } - static get managedProperties() { - 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 }); + get preTransferCommunication() { + return this._preTransferCommunication; + } + get failureOutputs() { + if (this._coreActionViewModel.errorBindings) return this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings); } } - 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); - } - i2(45214).extend(n2, "EmergencyGroup"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 80295: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.enumerable = function(e3) { - return (t3, i2, n2) => { - n2.enumerable = e3; - }; - }, t2.makeUnenumerable = function(e3, t3) { - Object.getOwnPropertyDescriptor(e3, t3) ? Object.defineProperty(e3, t3, { enumerable: false }) : Object.defineProperty(e3, t3, { enumerable: false, writable: true }); - }; - }, 80344: (e2, t2, i2) => { + t2.default = o; + }, 82472(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(67193)); class o extends n2.default { constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.getJourneySessionsByExternalContactActionType; + super(e3), this._connectTimeout = this.coreFactory.createArchWrapper(e3.connTimeout); } get displayTypeName() { - return this._scriptingName; + return "ArchBaseActionTransferWithConnectTimeout"; } - get isArchActionGetJourneySessionsByExternalContact() { + get isArchBaseActionTransferWithConnectTimeout() { return true; } - get findResult() { - return this._findResult; + get connectTimeout() { + return this._connectTimeout; } } t2.default = o; - }, 80408: (e2, t2, i2) => { + }, 62957(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(84050); - class r2 extends n2.NameIdDescriptionModel { + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(57382)); + class a extends r.default { constructor(e3) { super(e3); } + get displayTypeName() { + return "ArchBaseActionWithOutputFailure"; + } + get isArchBaseActionWithOutputFailure() { + return true; + } + get outputFailure() { + return this._getOutputById(o.outputIds.failure, true); + } + get failureOutputs() { + if (this._getCoreViewModel().errorBindings) return this._failureOutputsCache || (this._failureOutputsCache = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().errorBindings)), this._failureOutputsCache; + } } - t2.default = r2; - }, 80428: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.expressionTypeNames = void 0, t2.expressionTypeNames = { agentScorePair: "cpx_agent_score_pair", any: "any", anyAudio: "apa", anyComplex: "acp", assignedCustomerIntent: "aci", assignedCustomerSegment: "acs", audio: "aud", boolean: "bln", campaign: "cam", card: "crd", carousel: "crs", chatGuest: "cpx_chat_guest", choice: "chc", chooser: "chs", communication: "com", contact: "con", contactList: "cnl", currency: "cur", customerIntent: "cin", customerSegment: "csg", date: "dat", dateTime: "dtm", decimal: "dec", digitalAudio: "dia", division: "dvn", draftEmail: "jsn__architect::draft_email", draftEmailAddress: "jsn__architect::draft_email_address", draftEmailAttachment: "jsn__architect::draft_email_attachment", duration: "dur", email: "cpx_email", emailAddress: "cpx_email_address", emailAttachment: "cpx_email_attachment", emergencyGroup: "emg", emptyJson: "jsn__architect::empty_json", externalAddress: "cpx_external_address", externalAppleInfo: "cpx_external_apple_info", externalContact: "cpx_external_contact", externalFacebookId: "cpx_external_facebook_id", externalFacebookInfo: "cpx_external_facebook_info", externalIdInfo: "cpx_external_id_info", externalInstagramInfo: "cpx_external_instagram_info", externalInstagramScopedId: "cpx_external_instagram_scoped_id", externalLineId: "cpx_external_line_id", externalLineInfo: "cpx_external_line_info", externalLinkConfiguration: "cpx_external_link_configuration", externalOrganization: "cpx_external_organization", externalPhoneNumber: "cpx_external_phone_number", externalSource: "cpx_external_source", externalTwitterInfo: "cpx_external_twitter_info", externalWhatsAppInfo: "cpx_external_whats_app_info", file: "fil", formInput: "fip", grammar: "gmr", group: "grp", image: "img", integer: "int", issueInfo: "jsn__architect::issue_info", journeyAction: "cpx_journey_action", journeyActionMap: "cpx_journey_action_map", journeyApp: "cpx_journey_app", journeyBrowser: "cpx_journey_browser", journeyCampaign: "cpx_journey_campaign", journeyContext: "cpx_journey_context", journeyCustomEventAttribute: "cpx_journey_custom_event_attribute", journeyCustomEventAttributeList: "cpx_journey_custom_event_attribute_list", journeyCustomer: "cpx_journey_customer", journeyCustomerSession: "cpx_journey_customer_session", journeyDevice: "cpx_journey_device", journeyGeolocation: "cpx_journey_geolocation", journeyNetworkConnectivity: "cpx_journey_network_connectivity", journeyOutcome: "cpx_journey_outcome", journeyOutcomeScore: "cpx_journey_outcome_score", journeyPage: "cpx_journey_page", journeyReferrer: "cpx_journey_referrer", journeySdkLibrary: "cpx_journey_sdk_library", journeySegment: "cpx_journey_segment", journeySession: "cpx_journey_session", journeySessionOutcomeAchievement: "cpx_journey_session_outcome_achievement", journeySessionSegmentAssignment: "cpx_journey_session_segment_assignment", json: "jsn", knowledgeBaseDocument: "kbd", knowledgeBaseDocumentCategory: "cpx_knowledge_base_document_category", knowledgeBaseDocumentLabel: "cpx_knowledge_base_document_label", languageSkill: "lac", lineItem: "lni", listPicker: "lpk", listPickerItem: "lpi", listPickerSection: "lps", messageAddressInfo: "cpx_message_address_info", messageStickerInfo: "cpx_message_sticker_info", notSet: "nts", phoneNumber: "phn", prompt: "pmt", queue: "que", quickReplies: "qrl", responseAsset: "rpa", schedule: "sch", scheduleGroup: "scg", shippingOption: "sho", shortMessage: "cpx_short_message", skill: "skl", skillExpressionFilter: "jsn__architect::skill_expression_filter", string: "str", stringKeyValuePair: "cpx_string_key_value_pair", surveyAnswerOption: "sao", surveyForm: "sfo", surveyQuestion: "squ", surveyQuestionGroup: "sqg", time: "tim", timePicker: "tpk", timeslot: "tsl", userQueue: "usr", utilizationLabel: "cul", video: "vid", voiceSnippet: "cpx_voice_snippet", voicemailSnippet: "cpx_voicemail_snippet", wheelPicker: "wpk", wheelPickerItem: "wpi", workbin: "cpx_workbin", workitem: "cpx_workitem", workitemEventData: "jsn__architect::workitem_event_data", workitemEventRule: "jsn__architect::workitem_event_rule", worktypeStatus: "cpx_worktype_status", wrapupCode: "wrc" }; - }, 80434: (e2, t2, i2) => { + t2.default = a; + }, 15453(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseActionWithFailureOutputsNoInputNoMatchModel = void 0; - const n2 = i2(31635), r2 = i2(5894), o = n2.__importDefault(i2(7401)), a = i2(80295), s = i2(80295); - class l extends r2.BaseFailureOutputsActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(57382)); + class a extends r.default { constructor(e3) { - super(e3), (0, s.makeUnenumerable)(this, "_customizeNoInput"), (0, s.makeUnenumerable)(this, "_customizeNoMatch"), (0, s.makeUnenumerable)(this, "_enableBargeIn"), (0, s.makeUnenumerable)(this, "_noInputs"), (0, s.makeUnenumerable)(this, "_noInputReprompts"), (0, s.makeUnenumerable)(this, "_noMatches"), (0, s.makeUnenumerable)(this, "_noMatchReprompts"), (0, s.makeUnenumerable)(this, "_voiceEndOfInputTimeout"); + super(e3); } - get customizeNoInput() { - return this._customizeNoInput; + get displayTypeName() { + return "ArchBaseActionWithOutputLoop"; } - set customizeNoInput(e3) { - this._customizeNoInput = this.reviveItem(e3, o.default); + get isArchBaseActionWithOutputLoop() { + return true; } - get customizeNoMatch() { - return this._customizeNoMatch; + get outputLoop() { + return this._getOutputById(o.outputIds.loop, true); } - set customizeNoMatch(e3) { - this._customizeNoMatch = this.reviveItem(e3, o.default); + } + t2.default = a; + }, 57382(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(26847), a = n2.__importDefault(i2(11210)), s = n2.__importDefault(i2(78432)); + class l extends a.default { + constructor(e3) { + super(e3); } - get noInput() { - return this.noInputs && this.noInputs[0]; + get displayTypeName() { + return "ArchBaseActionWithOutputs"; } - set noInput(e3) { - this.noInputs = [e3]; + _getOutputById(e3, t3) { + if (e3 === r.outputIds.fake || this.isMenuChoiceAction) return; + const i3 = o.default.find(this._coreActionViewModel.branches, (t4) => t4.id === e3); + if (i3) return this.coreFactory.createArchWrapper(i3); + t3 || this.logErrorAndThrow("the core output identifier of '" + e3 + "' is not valid for " + this.logStr); } - get noMatch() { - return this.noMatches && this.noMatches[0]; + get isArchBaseActionWithOutputs() { + return true; } - set noMatch(e3) { - this.noMatches = [e3]; + get hasFakeSuccessOutput() { + return false; } - get noInputs() { - return this._noInputs; + get hasFakeDisconnectOutput() { + return false; } - set noInputs(e3) { - this._noInputs = this.reviveArray(e3, o.default); + getOutputById(e3) { + if (this.isMenuChoiceAction) return; + const t3 = this._infoParm("output", "getOutputById"); + let i3 = e3; + if (e3 && e3.isArchBranch) { + const t4 = e3; + this.logNote("using the output ID of '" + t4.outputId + "' from the submitted ArchBranch instance."), i3 = t4.outputId; + } + if (this._checkItemIsValidLiteralString(t3, i3), -1 === i3.indexOf("-") && (this._checkItemIsValidLiteralStringEnum(t3, i3, s.default.OUTPUT_IDS_ALL), i3 = r.outputIds[i3]), this.hasFakeSuccessOutput && i3 === s.default.OUTPUT_IDS.success) return; + if (this.hasFakeDisconnectOutput && i3 === s.default.OUTPUT_IDS.disconnect) return; + const n3 = this._getOutputById(i3, true); + return this._checkItem(t3, !n3, "the output id '" + i3 + "' is not valid for " + this.logStr), n3; } - get noInputReprompts() { - return this._noInputReprompts; + _getOutputByName(e3, t3, i3) { + if (this.isMenuChoiceAction) return; + const n3 = this._infoParm("output", "getOutputByName"); + let r2 = e3; + if (e3 && e3.isArchBranch) { + const t4 = e3; + this.logNote("using the output name of '" + t4.name + "' from the submitted ArchBranch instance."), r2 = t4.name; + } + this._checkItemIsValidLiteralString(n3, r2), this._checkItemIsValidLiteralBool(this._infoParm("wantInternal", "getOutputByName"), t3, true), t3 = !!t3; + const a2 = o.default.find(this.outputs, (e4) => !(!e4 || e4.name !== r2 || e4.isDynamic !== t3)); + if (a2) { + if (this.hasFakeSuccessOutput && a2.id === s.default.OUTPUT_IDS.success) return; + if (this.hasFakeDisconnectOutput && a2.id === s.default.OUTPUT_IDS.disconnect) return; + } + return i3 || this._checkItem(n3, !a2, `the output with name '${r2}' and isDynamic setting of ${t3} is not valid for ${this.logStr}`), a2; } - set noInputReprompts(e3) { - this._noInputReprompts = this.reviveItem(e3, o.default); + getOutputByName(e3, t3) { + return this._getOutputByName(e3, t3); } - get noMatches() { - return this._noMatches; + getOutputByIndex(e3) { + if (this.isMenuChoiceAction) return; + const t3 = this._infoParm("index", "getOutputByIndex"); + this._checkItemIsValidLiteralIntInRange(t3, e3, 0, this._coreActionViewModel.branches.length); + const i3 = this._coreActionViewModel.branches[e3]; + return i3.id !== r.outputIds.fake ? this.coreFactory.createArchWrapper(i3) : void 0; } - set noMatches(e3) { - this._noMatches = this.reviveArray(e3, o.default); + get outputCount() { + return this.isMenuChoiceAction ? 0 : this._coreActionViewModel.branches.length; } - get noMatchReprompts() { - return this._noMatchReprompts; + get outputs() { + const e3 = []; + if (!this.isMenuChoiceAction) { + const t3 = this.outputCount; + for (let i3 = 0; i3 < t3; i3++) e3.push(this.getOutputByIndex(i3)); + } + return e3; } - set noMatchReprompts(e3) { - this._noMatchReprompts = this.reviveItem(e3, o.default); + } + t2.default = l; + }, 65305(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(57382)); + class a extends r.default { + constructor(e3) { + super(e3); } - get voiceEndOfInputTimeout() { - return this._voiceEndOfInputTimeout; + get displayTypeName() { + return "ArchBaseActionWithOutputsDefault"; } - set voiceEndOfInputTimeout(e3) { - this._voiceEndOfInputTimeout = this.reviveItem(e3, o.default); + get isArchBaseActionWithOutputsDefault() { + return true; } - get enableBargeIn() { - return this._enableBargeIn; + get outputDefault() { + return this._getOutputById(o.outputIds.default, true); } - set enableBargeIn(e3) { - this._enableBargeIn = this.reviveItem(e3, o.default); + } + t2.default = a; + }, 27873(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(62957)); + class a extends r.default { + constructor(e3) { + super(e3); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this.customizeNoInput && this.customizeNoInput.pasteResolveOldToNewValues(e3), this.customizeNoMatch && this.customizeNoMatch.pasteResolveOldToNewValues(e3), this._enableBargeIn && this._enableBargeIn.pasteResolveOldToNewValues(e3), this.noInputs && this.noInputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noInputReprompts && this.noInputReprompts.pasteResolveOldToNewValues(e3), this.noMatches && this.noMatches.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.noMatchReprompts && this.noMatchReprompts.pasteResolveOldToNewValues(e3), this.voiceEndOfInputTimeout && this.voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3); + get displayTypeName() { + return "ArchBaseActionWithOutputsFailureNoInput"; } - pasteReIdOrRename(e3) { - 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); + get isArchBaseActionWithOutputsFailureNoInput() { + return true; + } + get outputNoInput() { + return this._getOutputById(o.outputIds.noInput, true); } } - t2.BaseActionWithFailureOutputsNoInputNoMatchModel = l, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "customizeNoInput", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "customizeNoMatch", null), n2.__decorate([(0, a.enumerable)(false), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noInput", null), n2.__decorate([(0, a.enumerable)(false), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noMatch", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noInputs", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noInputReprompts", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noMatches", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "noMatchReprompts", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "voiceEndOfInputTimeout", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], l.prototype, "enableBargeIn", null); - }, 80496: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.postDigitalBotFlowTurns = t2.postDigitalBotFlowLaunch = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(17599), o = i2(13440); - t2.postDigitalBotFlowLaunch = n2.default.request("POST", "{public-api.apps}/api/v2/textbots/botflows/sessions", r2), t2.postDigitalBotFlowTurns = n2.default.request("POST", "{public-api.apps}/api/v2/textbots/botflows/sessions/{sessionId}/turns", o); - }, 80517: (e2, t2, i2) => { - const n2 = i2(99505).A, r2 = i2(59964), o = i2(83462), a = i2(92314), s = i2(36019).default; - function l() { - } - const u = new l(); - l.prototype.getCurrentUser = s.request("GET", "{public-api.apps}/api/v2/users/me?expand=token,authorization", o), l.prototype.getCurrentToken = s.request("GET", "{public-api.apps}/api/v2/tokens/me", r2), l.prototype.getUser = s.request("GET", "{public-api.apps}/api/v2/users/{id}", o), l.prototype.getUserRolesAndPermissions = s.request("GET", "{public-api.apps}/api/v2/users/{id}/roles", n2), l.prototype.getUsers = s.request("POST", "{public-api.apps}/api/v2/users/search", a), u.getUsers.addOptions({ ignoreBadResponse: true }), e2.exports = u; - }, 80568: (e2, t2, i2) => { + t2.default = a; + }, 1012(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.resolvePartsParametersAndGetText = function(e3, t3, i3, r3) { - const a = []; - return t3.length ? (n2.default.each(t3, (t4) => { - const s = o(e3, t4, i3, r3); - n2.default.isString(s) && a.push(s); - }), a) : a; - }, 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 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] && (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 c = a2, t3.setAsLiteral(c), true; - const s2 = a2[i3.parameters[e5]]; - if (s2 && (c = s2, n2.default.isString(c))) return t3.setAsLiteral(c), true; - } - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(62957)); + class o extends n2.default { + constructor(e3) { + super(e3); } - switch (i3.parameters.reference) { - case "$askResultVariable": - 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 (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; + get displayTypeName() { + return "ArchBaseActionWithOutputsFakeSuccessFailure"; } - return false; - }; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(21733); - function o(e3, t3, i3, o2) { - var a, s, l, u; - if (!(null == t3 ? void 0 : t3.parameters)) return; - 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] && (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]; - if (e5) { - const o3 = r2(i3.idExpressionText)[e5]; - if (n2.default.isString(o3)) return o3; - const a2 = o3[t3.parameters[e5]]; - if (a2 && (c = a2, n2.default.isString(c))) return c; - } - } + get hasFakeSuccessOutput() { + return true; } - switch (t3.parameters.reference) { - case "$askResultVariable": - 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 (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; + get isArchBaseActionWithOutputsFakeSuccessFailure() { + return true; } } - }, 80570: (e2, t2, i2) => { + t2.default = o; + }, 13297(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), 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: 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 }]; - } + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(1012)); + class a extends r.default { constructor(e3) { super(e3); } - setNewInstanceDefaults(e3) { - var t3, i3; - super.setNewInstanceDefaults(e3), null === (t3 = this.noInput.builder) || void 0 === t3 || t3.deleteAllParts(), null === (i3 = this.noMatch.builder) || void 0 === i3 || i3.deleteAllParts(); - } - initializeDesignTime() { - super.initializeDesignTime(), this._updatePropertiesOOS(); + get displayTypeName() { + return "ArchBaseActionWithOutputsFakeSuccessFailureTimeout"; } - setNewInstanceNoInputText(e3) { - return this.noInput.setCommunicationBuilderText(e3); + get isArchBaseActionWithOutputsFakeSuccessFailureTimeout() { + return true; } - setNewInstanceNoMatchText(e3) { - return this.noMatch.setCommunicationBuilderText(e3); + get outputTimeout() { + return this._getOutputById(o.outputIds.timeout, true); } - getConfiguration(e3, t3) { - const i3 = super.getConfiguration(e3, t3); - return this.parentFlow.isDigitalBotFlow && (i3.noInputReprompts = void 0, i3.noInputs = void 0), i3; + } + t2.default = a; + }, 88827(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(57382)); + class a extends r.default { + constructor(e3) { + super(e3); } - _updatePropertiesOOS() { - this.noInput.outOfService = this._isNoInputOOS(), this.noInputReprompts.outOfService = this._isNoInputRepromptsOOS(), this.noMatch.outOfService = this._isNoMatchOOS(), this.noMatchReprompts.outOfService = this._isNoMatchRepromptsOOS(); + get displayTypeName() { + return "ArchBaseActionWithOutputsFoundNotFound"; } - _isNoInputOOS() { - return this.customizeNoInput.model.text === a.default.true; + get isArchBaseActionWithOutputsFoundNotFound() { + return true; } - _isNoInputRepromptsOOS() { - return this.customizeNoInput.model.text !== a.default.true; + get outputFound() { + return this._getOutputById(o.outputIds.found, true); } - _isNoMatchOOS() { - return this.customizeNoMatch.model.text === a.default.true; + get outputNotFound() { + return this._getOutputById(o.outputIds.notFound, true); } - _isNoMatchRepromptsOOS() { - return this.customizeNoMatch.model.text !== a.default.true; + } + t2.default = a; + }, 90897(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(62957)); + class a extends r.default { + constructor(e3) { + super(e3); } - propertyChanged(e3) { - var t3, 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(); + get displayTypeName() { + return "ArchBaseActionWithOutputsFoundNotFoundFailure"; } - static createNoInputOptions() { - 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)); + get isArchBaseActionWithOutputsFoundNotFoundFailure() { + return true; } - static createNoMatchOptions() { - 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)); + get outputFound() { + return this._getOutputById(o.outputIds.found, true); } - static createNoMatchRepromptsOptions() { - 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); + get outputNotFound() { + return this._getOutputById(o.outputIds.notFound, true); } } - t2.default = m, m.className = "BaseAskActionNoInputNoMatchViewModel"; - }, 80629: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isInteropObservable = void 0; - var n2 = i2(2884), r2 = i2(10281); - t2.isInteropObservable = function(e3) { - return r2.isFunction(e3[n2.observable]); - }; - }, 80632: (e2, t2, i2) => { + t2.default = a; + }, 15137(e2, t2, i2) { "use strict"; - 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(88827)); + class a extends r.default { + constructor(e3) { + super(e3); } - validate(e3) { - super.validate(e3), this.getParentingFlowElementByIdOrNodeInfoId([l.loopActionType, u.loopUntilActionType, o.askForNLUNextIntentActionActionType, r2.agenticAnythingElseActionType]) || e3.addError(this, _.loop.notInLoop); + get displayTypeName() { + return "ArchBaseActionWithOutputsFoundNotFoundPartiallyFound"; + } + get isArchBaseActionWithOutputsFoundNotFoundPartiallyFound() { + return true; + } + get outputPartiallyFound() { + return this._getOutputById(o.outputIds.partiallyFound, true); } } - 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) => { + t2.default = a; + }, 25298(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(15453)); + class a extends r.default { constructor(e3) { super(e3); } - get _globalTypeName() { - return "customerSegment"; - } get displayTypeName() { - return "ArchVariableCustomerSegment"; - } - get initialValue() { - return this._initialValue; + return "ArchBaseActionWithOutputLoopMaxLoopsNextLoop"; } - get isArchVariableCustomerSegment() { + get isArchBaseActionWithOutputLoopMaxLoopsNextLoop() { return true; } - } - t2.default = r2; - }, 80665: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefInboundFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(30801), s = i2(30801), l = i2(27862); - class u extends r2.BriefFlowListManager { - get dependencyType() { - return l.InboundCallFlow; + get outputLoopNext() { + return this._getOutputById(o.outputIds.loopNext, true); } - constructor() { - super(), this.topic = n2.getTopic("briefInboundFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeInboundCall }, this.className = "BriefInboundFlowListManager", this.actionsForUsageSearch = [s.transferFlowActionType, a.setPostFlowActionType], this.actionPropertyForUsageSearch = "inboundCallFlow", this.uiMetadataSectionName = "inboundCallFlows", this.flowType = o.flowTypes.flowTypeInboundCall, this._initialize(); + get outputLoopsMax() { + return this._getOutputById(o.outputIds.loopsMax, true); } } - t2.briefInboundFlowListManager = new u(); - }, 80684: (e2, t2, i2) => { + t2.default = a; + }, 84282(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), 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); - } - _preDestroy() { - super._preDestroy(), this.parentFlow.tryRemoveUiMetadataInfo(this, "menu", this.menuReference, [this.model.__type], "menuReference", false); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(57382)); + class a extends r.default { + constructor(e3) { + super(e3); } - getDetails() { - if (!this.menuReference) return null; - const e3 = r2.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference); - return e3 ? new a.ActionDetails([p.menu.label], [e3.name]) : null; + get displayTypeName() { + return "ArchBaseActionWithOutputsMatchExactMatchMultipleNotFound"; } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3); - const t3 = r2.flowElementRegistrationService.getItemById(this.parentFlow, this.menuReference); - t3 && t3.name && e3.addOldIdToOldNameMapping(this.menuReference, t3.name); + get isArchBaseActionWithOutputsMatchExactMatchMultipleNotFound() { + return true; } - linkMenu(e3) { - var t3; - if (this.parentFlow.tryRemoveUiMetadataInfo(this, "menu", this.menuReference, [this.model.__type], "menuReference", false), e3) { - const i3 = e3.isMenuChoice || (null === (t3 = e3.menu) || void 0 === t3 ? void 0 : t3.isMenu) ? e3.menu : e3; - this.parentFlow.setUiMetadataInfo("menu", { id: e3.id, name: e3.name }), this.menuReference = i3.id, this.menuName = i3.name; - } else this.menuReference = void 0, this.menuName = void 0; + get outputMatchExact() { + return this._getOutputById(o.outputIds.matchExact, true); } - static get managedProperties() { - 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")) }]; + get outputMatchMultiple() { + return this._getOutputById(o.outputIds.matchMultiple, true); } - validate(e3) { - super.validate(e3); + get outputNotFound() { + return this._getOutputById(o.outputIds.notFound, true); } } - _.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 { + t2.default = a; + }, 21345(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(62957)); + class a extends r.default { constructor(e3) { - o.expectBool(e3, () => r2.createConstructorParameter(this.className, "enableLogging"), true), Object.defineProperties(this, { _lastLogHeaderWritten: { writable: true, enumerable: true }, _logHeaders: { value: [], enumerable: false }, _shouldLog: { value: true === e3, writable: true, enumerable: true }, _suppressLogHeaders: { value: false, writable: true, enumerable: false } }); + super(e3); } - get className() { - return "ClipboardLogging"; + get displayTypeName() { + return "ArchBaseActionWithOutputsSuccessFailure"; } - get isClipboardLogging() { + get isArchBaseActionWithOutputsSuccessFailure() { return true; } - get shouldLog() { - return this._shouldLog; - } - set shouldLog(e3) { - this._shouldLog = o.expectBool(e3, () => r2.createPropertySet(this.className, "shouldLog", "newValue")); + get outputSuccess() { + return this._getOutputById(o.outputIds.success, true); } - get suppressLogHeaders() { - return this._suppressLogHeaders; + } + t2.default = a; + }, 97122(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3); } - set suppressLogHeaders(e3) { - this._suppressLogHeaders = o.expectBool(e3, () => r2.createPropertySet(this.className, "suppressLogHeaders", "newValue")); + get displayTypeName() { + return "ArchBaseActionWithOutputsSuccessFailureCanceled"; } - _log(e3, t3) { - if (this._shouldLog) { - if (!this._suppressLogHeaders && this._logHeaders.length > 0) { - const e4 = "clipboard: " + this._logHeaders[this._logHeaders.length - 1]; - e4 !== this._lastLogHeaderWritten && (this._lastLogHeaderWritten = e4, console.log("Clipboard: " + this._logHeaders[this._logHeaders.length - 1])); - } - console.log("Clipboard: " + (n2.isString(t3) && t3.length ? t3 + " " : "") + e3); - } + get isArchBaseActionWithOutputsSuccessFailureCanceled() { + return true; } - log(e3) { - this._log(e3); + get outputCanceled() { + return this._getOutputById(o.outputIds.canceled, true); } - logError(e3) { - this._log(e3, "ERROR"); + } + t2.default = a; + }, 38663(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(21345)); + class a extends r.default { + constructor(e3) { + super(e3); } - logException(e3, t3) { - let i3 = n2.isString(t3) ? t3 : ""; - e3 && e3.message && (i3 = i3 + " -> " + e3.message), this._log(i3, "EXCEPTION"); + get displayTypeName() { + return "ArchBaseActionWithOutputsSuccessFailureNoInput"; } - pushLogHeader(e3) { - this._logHeaders.push("[ " + e3 + " ]"); + get isArchBaseActionWithOutputsSuccessFailureNoInput() { + return true; } - popLogHeader() { - this._logHeaders.length > 0 && this._logHeaders.pop(); + get outputNoInput() { + return this._getOutputById(o.outputIds.noInput, true); } - }; - }, 80700: (e2, t2, i2) => { + } + t2.default = a; + }, 13002(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(65485)); + class a extends r.default { + constructor(e3) { + super(e3); } - static get managedProperties() { - return r2.default.createManagedProperties({ searchFieldLabel: d.findActions.findSkill.nameLabel, searchResultLabel: d.findActions.findSkill.resultLabel, searchResultExpressionOptions: a.ExpressionTypeSkillOptions.create(), searchResultItemType: o.expressionTypeNames.skill }); + get displayTypeName() { + return "ArchBaseActionWithOutputsSuccessFailureNoInputNoMatch"; + } + get isArchBaseActionWithOutputsSuccessFailureNoInputNoMatch() { + return true; + } + get outputSuccess() { + return this._getOutputById(o.outputIds.success, true); + } + get outputFailure() { + return this._getOutputById(o.outputIds.failure, true); } } - 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; - var n2 = i2(87699), r2 = i2(13916), o = i2(99517), a = i2(67478), s = i2(73484); - t2.joinAllInternals = function(e3, t3) { - return o.pipe(s.toArray(), a.mergeMap(function(t4) { - return e3(t4); - }), t3 ? r2.mapOneOrManyArgs(t3) : n2.identity); - }; - }, 80748: (e2, t2, i2) => { - const n2 = i2(57731), r2 = i2(47957), o = {}; - function a(e3, t3) { - o[e3] = this, o[t3] = this, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, "VoicemailTransferTargetType"), a.getInstance = function(e3) { - return o[e3 || 0] || o[0]; - }, a.User = new a(0, "user", r2.user.label), a.Queue = new a(1, "queue", r2.transferPureMatch.queue), a.Group = new a(2, "group", r2.group.label), e2.exports = a; - }, 80782: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3, i3) { - const a = (0, n2.default)(e3, t3, i3); - t3 || (t3 = e3); - const s = new o(); - 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) => { + t2.default = a; + }, 95085(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 { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(21345)); + class a extends r.default { constructor(e3) { - super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_externalContactId"), (0, s.makeUnenumerable)(this, "_segmentsToCheck"), (0, s.makeUnenumerable)(this, "_assignedCustomerSegmentsResult"); + super(e3); } - get externalContactId() { - return this._externalContactId; + get displayTypeName() { + return "ArchBaseActionWithOutputsSuccessFailureTimeout"; } - set externalContactId(e3) { - this._externalContactId = this.reviveItem(e3, l.default); + get isArchBaseActionWithOutputsSuccessFailureTimeout() { + return true; } - get segmentsToCheck() { - return this._segmentsToCheck; + get outputTimeout() { + return this._getOutputById(o.outputIds.timeout, true); } - set segmentsToCheck(e3) { - this._segmentsToCheck = this.reviveItem(e3, l.default); + } + t2.default = a; + }, 50316(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(26847), r = n2.__importDefault(i2(57382)); + class a extends r.default { + constructor(e3) { + super(e3); } - get assignedCustomerSegmentsResult() { - return this._assignedCustomerSegmentsResult; + get displayTypeName() { + return "ArchBaseActionWithOutputsSuccessTimeout"; } - set assignedCustomerSegmentsResult(e3) { - this._assignedCustomerSegmentsResult = this.reviveItem(e3, l.default); + get isArchBaseActionWithOutputsSuccessTimeout() { + return true; } - 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); + get outputSuccess() { + return this._getOutputById(o.outputIds.success, true); } - 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); + get outputTimeout() { + return this._getOutputById(o.outputIds.timeout, true); } } - 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() { - this.id = void 0, this.name = void 0, this._state = void 0, r2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(r2, "Skill"), Object.defineProperties(r2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, state: { get: function() { - return this._state; - }, set: function(e3) { - this._state = n2.isString(e3) ? e3.toLowerCase() : e3; - } } }), e2.exports = r2; - }, 80815: (e2, t2, i2) => { + t2.default = a; + }, 32392(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), o = i2(26847), r = n2.__importDefault(i2(57382)); + class a extends r.default { constructor(e3) { super(e3); } - get _globalTypeName() { - return "journeySessionCollection"; - } get displayTypeName() { - return "ArchValueJourneySessionCollection"; + return "ArchBaseActionWithOutputsYesNo"; } - get isArchValueJourneySessionCollection() { + get isArchBaseActionWithOutputsYesNo() { return true; } + get outputNo() { + return this._getOutputById(o.outputIds.no, true); + } + get outputYes() { + return this._getOutputById(o.outputIds.yes, true); + } } - t2.default = r2; - }, 80817: (e2, t2, i2) => { + t2.default = a; + }, 55572(e2, t2, i2) { "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 c extends r2.default { - get displayTypeName() { - return "ArchFactoryPrompts"; - } - get logStr() { - return this._createLogStrFromParts(["ArchFactoryPrompts"]); + const n2 = i2(31635).__importDefault(i2(50316)); + class o extends n2.default { + constructor(e3) { + super(e3), this._silenceDuration = this.coreFactory.createArchWrapper(e3.silenceDuration), this._timeout = this.coreFactory.createArchWrapper(e3.timeout); } - get isArchFactoryPrompts() { + get isArchBaseActionWithSilenceDetection() { return true; } - getPromptByPromptNameAsync(e3, t3) { - const i3 = this._infoParm("prefixedPromptName", "getPromptByPromptNameAsync"); - return this._checkItemIsValidLiteralString(i3, e3), this._checkItem(i3, !u.hasPromptPrefix(e3), `The prompt name of '${e3}' is not prefixed with 'Prompt.' or 'PromptSystem.'.`), o.default.findItemByValueAsync(u.hasUserPromptPrefix(e3) ? l.userPromptListManager : s.systemPromptListManager, u.removePrefix(e3), "prompt").then((e4) => { - if (e4) return a.default.executeCallback(this, "getPromptByPromptNameAsync", t3, this.coreFactory.createArchWrapper(e4)); - }); + get silenceDuration() { + return this._silenceDuration; + } + get timeout() { + return this._timeout; } } - t2.default = new c(); - }, 80911: (e2, t2, i2) => { + t2.default = o; + }, 67336(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)), 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) => { - e5.setParentContextInfo(t3); - }), e4)); - } - function m(e3) { - const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; - if (!t3 || !t3.botId || !t3.integrationId) return; - const i3 = e3.getSearchQueryParams(true); - return s.default.build(u.getBotConnectorBotVersions).templateParams({ botId: t3.botId, integrationId: t3.integrationId }).queryParams(i3).call().then(function(t4) { - return r2.default.each(t4.entities, function(t5) { - t5.setParentContextInfo(e3.additionalParams.integrationId); - }), t4; - }); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - function g(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; - if (!i3 || !i3.botId || !i3.integrationId) return; - const n3 = { version: e3 }, o2 = s.default.build(u.getBotConnectorBot).templateParams({ botId: i3.botId, integrationId: i3.integrationId }).queryParams(n3), a2 = yield o2.call(); - return r2.default.find(a2.versions, (t4) => { - if (t4.version === e3) return T(t4, a2.name, i3.botId, i3.integrationId); + class h extends l.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreViewModel"), e3), this._coreViewModel = e3; + } + _addPropToMapIfShouldBeTraversed(e3, t3, i3) { + if (!e3 || "_" === e3[0] || this._deprecatedPropertyNames[e3]) return; + const n3 = _(e3); + if (i3[n3]) return; + let r2; + i3[n3] = true; + try { + r2 = this[e3]; + } catch (e4) { + if (!o.default.isString(e4) || !e4.includes("calling this method requires functionality that is not available in the organization.")) throw e4; + } + r2 && (r2.isArchBaseObject || o.default.isArray(r2) && r2.length && (r2[0] && r2[0].isArchBaseObject || r2[r2.length - 1] && r2[r2.length - 1].isArchBaseObject)) && (t3[n3] = r2); + } + _checkAndPerformTraverseCallback(e3, t3) { + let i3 = e3.calledBackObjects[this.displayTypeName]; + const n3 = _(t3.hierarchyStr); + if (i3 && i3[n3]) return false; + if (!this.isFilterMatch(e3.archSettings.filter)) return false; + const o2 = a.default.create(this, t3, e3.archSettings); + return e3.archSettings.incrementCallbackCount(), c.default.executeCallback(this, "traverse", e3.archSettings.callbackFunction, o2, false, "traverse callback -"), i3 || (i3 = {}, e3.calledBackObjects[this.displayTypeName] = i3), i3[n3] = true, true; + } + get _deprecatedPropertyNames() { + return d; + } + _getCoreViewModel() { + return this._coreViewModel; + } + get displayTypeName() { + return "ArchBaseCoreObject"; + } + get isArchBaseCoreObject() { + return true; + } + _getMyTraversalPropNamesAndPropValues() { + const e3 = {}, t3 = {}; + o.default.each(Object.getOwnPropertyNames(this), (i4) => { + this._addPropToMapIfShouldBeTraversed(i4, e3, t3); }); - }); - } - function f(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; - if (!i3 || !i3.integrationId) return; - const n3 = { botId: e3, integrationId: i3.integrationId }, r3 = s.default.build(u.getBotConnectorBot).templateParams(n3), o2 = yield r3.call(); - return o2 && o2.setParentContextInfo(i3.integrationId), o2; - }); - } - function T(e3, t3, i3, n3) { - if (!r2.default.isObject(e3)) return; - const o2 = e3; - return t3 && (o2.name = t3), o2.id = i3, o2.version = e3.version, o2.setParentContextInfo(n3), o2.isFromAdsValidationResults = false, r2.default.each(e3.intents, (e4) => { - 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)) 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) ? c.error(`invalid architect data type for collection slot. name:${e5.name} type:${e5.type}`) : (e5.items = { type: t5 }, e5.type = l.jsonSchemaTypeNames.array); + let i3 = Object.getPrototypeOf(this); + for (; i3; ) o.default.each(Object.getOwnPropertyNames(i3), (i4) => { + this._addPropToMapIfShouldBeTraversed(i4, e3, t3); + }), i3 = Object.getPrototypeOf(i3), Object.prototype.hasOwnProperty.call(i3, "isArchBaseObject") && (i3 = null); + return e3; + } + _propShouldBeTraversed(e3) { + return e3 && !e3.startsWith("parent") && !(e3.startsWith("output") && "outputs" !== e3) && !(e3.startsWith("settings") && !this.isArchBaseFlow) && !p[e3] && !this._deprecatedPropertyNames[e3]; + } + traverse(e3, t3) { + this._checkItemIsValidFunction(this._infoParm("callbackFunction", "traverse"), e3), t3 ? this._checkItemIsArchFilterObject(this._infoParm("traverseFilter", "traverse"), t3) : (this.logNoteVerbose("No filter specified for traverse call. Using default traverse filter."), t3 = u.default.createFilterTraverseDefault(true)); + let i3 = { archSettings: s.default.create(t3, e3), traversedObjects: {}, calledBackObjects: {} }, n3 = 0; + const o2 = l.default._checkMethodCallFeatureIsAvailable_shouldLog; + try { + l.default._checkMethodCallFeatureIsAvailable_shouldLog = false, this._traverse(i3, r.default.createContext()); + } catch (e4) { + this.logItemErrorAndThrow(this._infoMethod("traverse"), "unhandled exception - " + e4); + } finally { + l.default._checkMethodCallFeatureIsAvailable_shouldLog = o2, n3 = i3.archSettings.callbackCount, i3 = void 0; + } + return n3; + } + _traverse(e3, t3) { + if (!e3.archSettings.shouldContinue) return; + let i3 = e3.traversedObjects[this.displayTypeName]; + const n3 = _(t3.hierarchyStr); + i3 && i3[n3] || (i3 || (i3 = {}, e3.traversedObjects[this.displayTypeName] = i3), i3[n3] = true, this._checkAndPerformTraverseCallback(e3, t3), e3.archSettings.shouldContinue && this._traverseProperties(e3, t3)); + } + _traverseProperties(e3, t3) { + const i3 = this._getMyTraversalPropNamesAndPropValues(); + o.default.find(i3, (i4, n3) => { + if (this._propShouldBeTraversed(n3)) { + const r2 = o.default.isArray(i4), a2 = r2 ? i4 : [i4]; + for (let i5 = 0; i5 < a2.length && e3.archSettings.shouldContinue; i5++) { + const o2 = a2[i5]; + if (o2 && !o2.isArchBaseFlow && o2.isArchBaseCoreObject) try { + t3._addHierarchyItemPropAccess(this, n3, r2 ? i5 : void 0), o2._traverse(e3, t3); + } finally { + t3._popHierarchyItem(); + } } - } else c.error("missing type for slot"); + } + return !e3.archSettings.shouldContinue; }); - }), o2; + } } - r2.default.each(["boolean", "currency", "dateTime", "decimal", "duration", "integer", "string"], (e3) => { - const t3 = e3.toLowerCase(); - _[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) => { + t2.default = h; + }, 37873(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseActionWithOutputsModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(68794), a = i2(94858), s = i2(80295), l = i2(80295); - class u extends a.BaseActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(67336)), r = 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 o.default { constructor(e3) { - super(e3), (0, l.makeUnenumerable)(this, "_paths"); + super(e3), this._checkItemIsValidLiteralString(this._infoParmCtor("coreViewModelWithId.id"), e3.id, this._allowBlankObjectId), this._coreViewModelWithId = e3; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), r2.default.each(this._paths, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)); + _addVariable(e3, t3, i3, n3, o2, d2) { + const p = this._infoParm("callingArchObject", t3); + e3._checkItemIsArchBaseObject(p, e3), e3._checkVariableContainer(t3, "Adding variables is not permitted."); + const _ = e3._infoParm("name", t3); + e3._checkItemIsValidLiteralString(_, i3); + const h = e3._infoParm("type", t3); + e3._checkItem(h, !n3 || !n3.isArchDataType, "The data type must be an ArchDataType instance."); + const m = e3._infoParm("description", t3); + e3._checkItemIsValidLiteralString(m, o2, true); + const g = e3._infoParm("forceSlotVariableCreation", t3); + 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 ? 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 !== r.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(), 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), o3 = this.botFlowSettings._getCoreViewModel().createSlotVarForSlotName(y, t4.nluDataType, t4.mechanism, n3.isCollection); + return e3.logNote(`successfully added the variable ${i3} to ${e3.logStr}`), o3.doNotCleanupIfOrphanedSlot = true, e3.coreFactory.createArchWrapper(o3); + } + { + const t4 = l.createVariable(v, A); + return t4.description = o2, e3.isArchBaseFlow || A.addVariable(t4), e3.logNote(`successfully added the variable ${i3} to ${e3.logStr}`), e3.coreFactory.createArchWrapper(t4); + } } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), r2.default.each(this._paths, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)); + _removeVariable(e3, t3) { + const i3 = t3._getCoreViewModel(); + 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.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 o2 = n3.variableGroup.removeVariable(i3); + return o2 ? 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}.`), o2; } - get paths() { - return this._paths; + _checkVariableContainer(e3, t3) { + const i3 = this._infoCalledObject(this, e3); + this._checkItem(i3, !this.isVariableContainer, "The " + this.displayTypeName + " is not a variable container." + (t3 ? " " + t3 : "")); } - set paths(e3) { - this._paths = this.reviveArray(e3, o.ActionOutput); + get displayTypeName() { + return "ArchBaseCoreObjectWithId"; + } + get id() { + return this._coreViewModelWithId.id; + } + get idMayBeBlank() { + return this._allowBlankObjectId; + } + get _allowBlankObjectId() { + return false; + } + get isArchBaseObjectWithId() { + return true; } } - t2.BaseActionWithOutputsModel = u, n2.__decorate([(0, s.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], u.prototype, "paths", null); - }, 81063: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allEncryptDecryptFailureReasons = t2.decryptDataFailureReasons = t2.encryptDataFailureReasons = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = { customerKeyNotConfigured: "CustomerKeyNotConfigured", customerKeyNotFound: "CustomerKeyNotFound", encryptedDataKeyInvalid: "EncryptedDataKeyInvalid", generalError: "GeneralError", invalidData: "InvalidData", maximumDataSizeExceeded: "MaximumDataSizeExceeded", noDataSupplied: "NoDataSupplied", timeout: "Timeout" }, o = [r2.generalError]; - t2.encryptDataFailureReasons = n2.default.uniq(o.concat([r2.customerKeyNotConfigured, r2.customerKeyNotFound, r2.maximumDataSizeExceeded, r2.noDataSupplied, r2.timeout])), t2.decryptDataFailureReasons = n2.default.uniq(o.concat([r2.customerKeyNotConfigured, r2.customerKeyNotFound, r2.encryptedDataKeyInvalid, r2.invalidData, r2.maximumDataSizeExceeded, r2.noDataSupplied, r2.timeout])), t2.allEncryptDecryptFailureReasons = r2; - }, 81084: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _silenceDuration: { writable: true }, _timeout: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BaseDetectSilenceActionModel"), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.silenceDuration.pasteReIdOrRename(e3), this.timeout.pasteReIdOrRename(e3); - } }, pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.silenceDuration.pasteResolveOldToNewValues(e3), this.timeout.pasteResolveOldToNewValues(e3); - } }, silenceDuration: { enumerable: true, get: function() { - return this._silenceDuration; - }, set: function(e3) { - this._silenceDuration = this.reviveItem(e3, r2); - } }, timeout: { enumerable: true, get: function() { - return this._timeout; - }, set: function(e3) { - this._timeout = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 81086: (e2, t2, i2) => { - const n2 = i2(16029); - function r2() { - } - r2.extend = function(e3, t3) { - n2(e3, this); - const i3 = this.extend; - t3 ? Object.defineProperty(e3, "extend", { value: function() { - t3.apply(this, arguments), i3.apply(this, arguments); - } }) : Object.defineProperty(e3, "extend", { value: i3 }); - const r3 = e3._super.constructor; - /^class[\s{]/.test(Function.prototype.toString.call(r3)) ? Object.defineProperties(e3, { baseConstructor: { value: { call: function(t4) { - const i4 = Array.prototype.slice.call(arguments, 1), n3 = Reflect.construct(r3, i4, e3), o = Object.getOwnPropertyNames(n3); - for (let e4 = 0; e4 < o.length; e4++) { - const i5 = o[e4]; - Object.prototype.hasOwnProperty.call(t4, i5) || Object.defineProperty(t4, i5, Object.getOwnPropertyDescriptor(n3, i5)); - } - } } } }) : Object.defineProperties(e3, { baseConstructor: { value: r3 } }); - }, Object.defineProperties(r2.prototype, { className: { get: function() { - return "BaseClass"; - } }, isBaseClass: { get: function() { - return true; - } } }), r2.isBaseClassObject = true, e2.exports = r2; - }, 81104: (e2, t2, i2) => { + t2.default = d; + }, 39637(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83747)), r2 = i2(96618); + t2.ArchBaseDefinition = void 0; + const n2 = i2(31635).__importDefault(i2(67336)); class o extends n2.default { constructor(e3) { - super(e3), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts), this._virtualAgentSettings = this.coreFactory.createArchWrapper(e3.virtualAgentSettings); - } - get _flowType() { - return r2.flowTypes.flowTypeBot; + super(e3); } get displayTypeName() { - return "ArchFlowBot"; + return "ArchBaseDefinition"; } - get isArchFlowBot() { + get isArchBaseDefinition() { return true; } - get settingsPrompts() { - return this._promptSettings; - } - get settingsVirtualAgent() { - return this._virtualAgentSettings; + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } } - t2.default = o; - }, 81116: (e2, t2, i2) => { + t2.ArchBaseDefinition = o; + }, 92448(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.audioExpression = function(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 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 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), 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() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "flow"); - }.bind(this), true), s.ParameterValidator.expectBaseClassObject(t3, function() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "parent"); - }.bind(this), true), s.ParameterValidator.expectObject(i3, function() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "model"); - }.bind(this), true), s.ParameterValidator.expectString(n3, function() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "label"); - }.bind(this), true), s.ParameterValidator.expectExpressionTypeOrString(r3, function() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "type"); - }.bind(this), true), s.ParameterValidator.expectString(o2, function() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "propertyName"); - }.bind(this), true), s.ParameterValidator.expectExpressionOptions(l2, function() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "options"); - }.bind(this), true), s.ParameterValidator.expectBool(h2, function() { - return a.ParameterInfo.createConstructorParameter("expressionCreator", "transitory"); - }.bind(this), true); - 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); - class o { + t2.ArchBaseDefinitionActionMenu = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(39637), a = n2.__importDefault(i2(78432)), s = n2.__importDefault(i2(98114)), l = i2(30801), u = i2(30801); + class c extends r.ArchBaseDefinition { constructor(e3) { - if (!n2.isFunction(e3)) throw "not a function"; - this._functionToExecute = e3, this._currentDefer = void 0, this._nextDefer = void 0; + super(e3), this._coreNodeInformationArray = [], e3.isNodeInformation ? this.coreNodeInformationArray.push(e3) : (this.coreNodeInformationArray.push(e3.coreActionNodeInformation), this.coreNodeInformationArray.push(e3.coreMenuNodeInformation)); } - executeInternal(e3) { - const t3 = this._functionToExecute(); - r2.isPromiseAlike(t3) ? t3.then(() => { - e3.resolve(), this.startNext(); - }).catch((t4) => { - e3.reject(t4), this.startNext(); - }) : e3.reject("function did not return a promise"); + get coreNodeInformationArray() { + return this._coreNodeInformationArray; + } + get actionNodeInformation() { + return this.coreNodeInformationArray[0]; + } + get menuNodeInformation() { + if (this.coreNodeInformationArray.length >= 2) return this.coreNodeInformationArray[1]; + } + get menuWithActionFallbackNodeInformation() { + return this.coreNodeInformationArray[this.coreNodeInformationArray.length - 1]; + } + get _coreTypeId() { + return this.menuWithActionFallbackNodeInformation.typeId; + } + get availableFlowTypes() { + const e3 = []; + return o.default.each(a.default.FLOW_TYPES_ALL, (t3) => { + this.isAvailableForFlowType(t3) && e3.push(t3); + }), e3; + } + get canCreateFromDefinition() { + return this.menuWithActionFallbackNodeInformation.id !== u.taskActionActionType; + } + get displayTypeName() { + return "ArchBaseDefinitionActionMenu"; + } + get label() { + const e3 = this.actionNodeInformation, t3 = this.menuNodeInformation; + return t3 ? `${t3.name} - ${e3.name}` : e3.name; } - startNext() { - setTimeout(function() { - this._currentDefer = this._nextDefer, this._nextDefer = void 0, this._currentDefer && this.executeInternal(this._currentDefer); - }.bind(this), 0); + get isArchBaseDefinitionActionMenu() { + return true; } - execute() { - return this._currentDefer ? (this._nextDefer || (this._nextDefer = r2.defer()), this._nextDefer.promise) : (this._currentDefer = r2.defer(), this.executeInternal(this._currentDefer), this._currentDefer.promise); + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrLabel(e3, this.label), this._createLogStrFromParts(e3); + } + isAvailableForFlowType(e3) { + return this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableForFlowType"), e3, a.default.FLOW_TYPES_ALL), !o.default.find(this.coreNodeInformationArray, (t3) => t3.id === l.menuActionType ? !s.default.getDefinitionForFlowType(e3).supportsReusableMenus : !(t3.isAvailableForFlowType(e3, true) && !t3.isDeprecatedForFlowType(e3))); } } - e2.exports = function(e3) { - const t3 = new o(e3); - return function() { - return t3.execute(); - }; - }; - }, 81161: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _synonyms: { writable: true }, _labels: { writable: true }, _values: { writable: true } }), this.name = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "DynamicSlotTypeModel"), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.labels.pasteResolveOldToNewValues(e3), this.synonyms.pasteResolveOldToNewValues(e3), this.values.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.labels.pasteReIdOrRename(e3), this.synonyms.pasteReIdOrRename(e3), this.values.pasteReIdOrRename(e3); - } }, labels: { enumerable: true, get: function() { - return this._labels; - }, set: function(e3) { - this._labels = this.reviveItem(e3, r2); - } }, synonyms: { enumerable: true, get: function() { - return this._synonyms; - }, set: function(e3) { - this._synonyms = this.reviveItem(e3, r2); - } }, values: { enumerable: true, get: function() { - return this._values; - }, set: function(e3) { - this._values = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 81167: (e2, t2, i2) => { + t2.ArchBaseDefinitionActionMenu = c; + }, 33423(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + const n2 = i2(31635).__importDefault(i2(13720)); + class o extends n2.default { + get displayTypeName() { + return "ArchBaseFilterClause"; } - get _globalTypeName() { - return "formInput"; + get isArchBaseFilterClause() { + return true; + } + } + t2.default = o; + }, 91722(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(33423)); + class o extends n2.default { + constructor(e3, t3) { + super(), this._checkItemIsValidLiteralString(this._infoParmCtor("propertyName"), e3), this._checkItemIsValidLiteralBool(this._infoParmCtor("propertyMustExist"), t3), this._propertyName = e3, this._propertyMustExist = t3; } get displayTypeName() { - return "ArchVariableFormInput"; + return "ArchBaseFilterClauseProperty"; } - get isArchVariableFormInput() { + get isArchBaseFilterClauseProperty() { return true; } + get propertyMustExist() { + return this._propertyMustExist; + } + get propertyName() { + return this._propertyName; + } + _isMatch(e3) { + return !this._propertyMustExist || this._propertyName in e3; + } } - t2.default = r2; - }, 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) => { + t2.default = o; + }, 74369(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 { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(91722)); + class o extends n2.default { constructor(e3, t3, i3) { - super(e3, t3, i3); + super(e3, i3), this._value = t3; } - get supportsPlutusResponseAssets() { + get displayTypeName() { + return "ArchBaseFilterClausePropertyValue"; + } + get isArchBaseFilterClausePropertyValue() { return true; } - getPlutusMaxUploadSizeMegabytes() { - return n2.responseAssetLimits.size.maxSizeMegabytes; + get value() { + return this._value; } } - t2.ExpressionTypeBaseResponseAsset = o; - }, 81452: (e2) => { - "use strict"; - var t2 = 1; - e2.exports = { nextValue: function() { - return (t2 = (9301 * t2 + 49297) % 233280) / 233280; - }, seed: function(e3) { - t2 = e3; - } }; - }, 81453: (e2, t2, i2) => { + t2.default = o; + }, 66872(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), 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: w.createCallback.callbackScriptNotFound }, this.parentFlow.isCommonModuleFlow && this.addAutoCleanedUpEventSinkWatch(g.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => this.setOutOfService()); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = 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(52189), v = i2(72473), I = i2(46920), C = i2(46920), O = i2(46920), b = i2(83563), E = i2(2560), w = i2(1910), R = i2(1910), D = i2(1910), P = i2(1910), M = i2(50474), F = i2(19312), L = i2(35515), x = i2(97340), k = i2(14592), V = i2(14592), U = i2(79519), B = n2.__importDefault(i2(4648)), G = n2.__importStar(i2(10798)), j = n2.__importDefault(i2(66978)), q = n2.__importDefault(i2(13523)), W = n2.__importDefault(i2(78641)), Y = n2.__importDefault(i2(98717)), H = n2.__importDefault(i2(37873)); + let J; + J = i2(79896); + const $ = i2(16928), z = i2(37345); + class K extends H.default { + static get definition() { + const e3 = this.prototype; + return e3._ensureSessionIsConnected(e3._infoPropGet("definition"), T.default), e3.coreFactory.createArchWrapper(u.default.getDefinitionForFlowType(e3._flowType)); } - static get managedProperties() { - 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)) }]; + constructor(e3) { + super(e3), this.isArchBaseFlow = true, this._coreFlowViewModel = e3; } - _getPossibleErrors() { - return T.voicemailTransferFailureReasons; + _addPropToMapIfShouldBeTraversed(e3, t3, i3) { + if ("settingsSupportedLanguages" !== e3 || this.supportsLanguages) return super._addPropToMapIfShouldBeTraversed(e3, t3, i3); } - _loadModel(e3) { - 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(); + _logAsyncOperationNotification(e3) { + 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.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); } - getCachedServerPropertyById(e3, t3) { - return this.scriptManager.getCachedServerPropertyById(e3, this.scriptId, t3, this); + _logUrl() { + this.logNote("flow url: " + this.url); } - getDetails() { - const 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); + addVariable(e3, t3, i3, n3) { + return this._addVariable(this, "addVariable", e3, t3, i3, n3); } - get isQueueTransfer() { - return this.transferTargetType === R.Queue; + removeVariable(e3) { + const t3 = this._infoParm("archVariable", "removeVariable"); + return this._checkItem(t3, !e3 || !e3.isArchBaseVariable, "you must pass in a valid ArchBaseVariable instance."), this._removeVariable(this, e3); } - get isUserTransfer() { - return this.transferTargetType === R.User; + checkoutAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!this.isCreated) { + const e4 = this._infoMethod("checkoutAsync"); + Y.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 a.default._checkoutFlowByFlowInfoAsync(this._getCoreViewModel().info, e3); + return this._getCoreViewModel().info.loadModel(i3._model), T.default.executeCallback(this, "checkoutAsync", t3); + }); } - get isGroupTransfer() { - return this.transferTargetType === R.Group; + get displayTypeName() { + return "ArchBaseFlow"; } - get scriptManager() { - return m.voicemailScriptManager; + get division() { + if (T.default.orgInfo.areDivisionsAvailable) return this.coreFactory.createArchWrapper(this._getCoreViewModel() && this._getCoreViewModel().info ? this._getCoreViewModel().info.divisionViewModel : void 0); } - postProcessYamlConfig(e3, t3, i3) { - if (!this.transferTargetType) return; - e3.destination = {}; - 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"); + loadAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!this.isCreated) { + const e4 = this._infoMethod("loadAsync"); + Y.default.itemInvalid(e4, `The flow '${this.name} has not yet been created.`, this.logStr, this.displayTypeName); + } + 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); + }); } - _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; + get logStr() { + if (!this._coreFlowViewModel) return this.logStrTypeOnly; + 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, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this.logNote("the content to import is " + e3.length + " characters."), o2 === g.default.FLOW_FORMAT_TYPES.yaml || !o2 && this._isYamlFlowContent(e3) ? (this._checkMethodCallFeatureIsAvailable(this._infoMethod(t3), B.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 o2 = i3.substring(0, n3).trim(); + return R.FlowTypeResolver.isRecognized(o2); + } + _importYamlFlowContent(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this.isReadOnly && this.logErrorAndThrow((0, D.readOnlyFlowConfigureFromModelMessage)()); + const t3 = i2(62829), n3 = i2(36781), o2 = (0, C.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 r2 = new P.YamlProcessor({ existingFlowViewModel: this._coreFlowViewModel, entityResolver: (0, w.createConfigListEntityResolver)({ flowTypeForListQueries: this.flowType }), nodeManager: { _getActionTypeMap: () => t3.actionDefs } }); + r2.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 r2.process(e3); + if (!a2.success) { + let e4; + this.logWarning("YAML import failed. Restoring previous flow configuration."); + try { + yield (0, O.importFlow)(this._coreFlowViewModel, o2, "", 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 j.default.allSettled(); + const t3 = (0, C.getStringifiedConfiguration)(this._coreFlowViewModel), i3 = yield z.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); + } + }); + } + unlockAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!this.isCreated) { + const e4 = this._infoCalledObject(this, "unlockAsync"); + Y.default.itemInvalid(e4, "This flow is not created so it is not possible to unlock.", this.logStr, this.displayTypeName); + } + 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; + 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, o2, r2; + let a2; + try { + const e4 = yield z.getFlows(t3); + if (this.name) { + const t4 = this.name.toLowerCase(); + a2 = e4.entities.find((e5) => e5.name && e5.name.toLowerCase() === t4); + } + 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 (!a2) return false; + const u2 = [new h.default(a2)]; + try { + yield s.default.deleteFlows(u2); + const e4 = 3; + 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 W.default().beginAsyncPolling(1, e4 * l.default.msPerSecond, t4, "_deleteExistingFlowByNameAsync"); + } catch (e4) { + const t4 = null !== (r2 = null === (o2 = 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 === o2 ? void 0 : o2.code) && void 0 !== r2 ? r2 : ""; + this.logErrorAndThrow("could not delete the existing flow named '" + a2.name + "' (id: '" + a2.id + "')\n - Error Code: " + t4); } + }))(); + return j.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 o2 = e3.toLowerCase(), r2 = (0, c.getDependenciesForFlow)(this._coreFlowViewModel); + for (const a2 of r2) { + if (a2.type !== i3 || a2.id === t3 || !a2.name) continue; + const r3 = a2.consumer; + "function" == typeof (null == r3 ? void 0 : r3.repointSelfReferencingFlow) && a2.name.toLowerCase() === o2 && (this.logNote(`createAsync - repairing self-referencing flow reference for '${e3}' to use this flow's id '${t3}'.`), r3.repointSelfReferencingFlow(t3, e3), n3 = true); } + return n3; } - 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(w.transferVoicemail.transferTarget, (0, o.sprintf)(w.transferVoicemail.noQueueTooltip, y.getFlowTypesDisplayString([r2.flowTypes.flowTypeInQueueCall]))) : this.transferTargetQueue.options.clearDescriptionInfo(); + _getSelfReferencingBaseCallBotFlowActions(e3) { + var t3, i3, n3; + const r2 = this._coreFlowViewModel, a2 = r2.type; + if (a2 !== o.flowTypes.flowTypeBot && a2 !== o.flowTypes.flowTypeDigitalBot) return []; + if (e3 && (null === (t3 = r2.info) || void 0 === t3 ? void 0 : t3.isPublished)) return []; + const s2 = a2 === o.flowTypes.flowTypeBot ? p.callBotFlowActionType : _.callDigitalBotFlowActionType, l2 = r2.id, u2 = null === (n3 = null === (i3 = r2.info) || void 0 === i3 ? void 0 : i3.displayName) || void 0 === n3 ? void 0 : n3.toLowerCase(), c2 = []; + return r2.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, o2 = n4.botFlow; + if (!o2 || o2.outOfService) return; + if (!o2.flowId && !o2.flowName) return; + if (o2.flowType && o2.flowType !== a2) return; + const r3 = !!l2 && o2.flowId === l2, d2 = !!u2 && (null === (i4 = o2.flowName) || void 0 === i4 ? void 0 : i4.toLowerCase()) === u2; + (r3 || d2) && c2.push(n4); + } })), c2; } - get shouldShowDescriptionTooltip() { - var e3; - return !this.transferTargetQueue.outOfService && this.parentFlow.isCommonModuleFlow && (null === (e3 = this.parentFlow.destinationFlowTypes) || void 0 === e3 ? void 0 : e3.length) > 1 && this.parentFlow.destinationFlowTypesInclude(r2.flowTypes.flowTypeInQueueCall); + _exportFlowContentForDeferredSelfReferencePublishAsync() { + return n2.__awaiter(this, void 0, void 0, function* () { + yield j.default.allSettled(); + const e3 = b.FlowExportSettings.create((0, E.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; + }); } - get doesQueueTransferToCurrentQueueVoicemail() { - var e3; - const t3 = this.isQueueTransfer && this.parentFlow.isInQueueCallFlow, i3 = this.isQueueTransfer && this.parentFlow.isCommonModuleFlow && 1 === (null === (e3 = this.parentFlow.destinationFlowTypes) || void 0 === e3 ? void 0 : e3.length) && this.parentFlow.destinationFlowTypes[0] === r2.flowTypes.flowTypeInQueueCall; - return !(!t3 && !i3); + _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 o2 = this.settingsSupportedLanguages; + o2 || this.logErrorAndThrow("publishAsync - cannot publish a flow with deferred self-references without supported language settings."); + const r2 = null === (t3 = o2.getDefaultSupportedLanguageSettings().language) || void 0 === t3 ? void 0 : t3.tag; + r2 || this.logErrorAndThrow("publishAsync - cannot publish a flow with deferred self-references without a default language."); + const a2 = { division: n3, defaultLanguage: r2, description: null !== (i3 = this.description) && void 0 !== i3 ? i3 : "" }, s2 = this._getInputOutputVariablesForDeferredSelfReferenceStub(); + return (null == s2 ? void 0 : s2.length) && (a2.variables = s2), a2; } - setOpenedBefore() { - this.model.uiMetaData || (this.model.uiMetaData = {}), this.model.uiMetaData.openedBefore = true; + _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)), o2 = !!t3.isOutput && !!(null == i3 ? void 0 : i3.isAvailableAsOutputForFlowType(e3)); + return { name: t3.name, type: i3, isInput: n3, isOutput: o2 }; + }).filter((e4) => e4.isInput || e4.isOutput); } - get transferTargetType() { - return this.model.transferTargetType; + _canPublishDeferredSelfReferencesViaStubImport() { + return !this.isCreated && r.archFlowStubbing.canStubFlowType(this.flowType); } - set transferTargetType(e3) { - switch (e3) { - case R.User: - case R.Group: - case R.Queue: - this.model.transferTargetType = e3, this.setOutOfService(), s.validate(this, true); - } + _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); + }); } - get transferTargetUser() { - return this.transferTarget; + _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); + }); } - validate(e3) { - const t3 = a.default.filter(this.parentFlow.supportedLanguageOptions, (e4) => !!this.parentFlow.destinationFlowTypes.find((t4) => !S.supportsVoicemailTypeForFlowType(e4.language, t4, this.transferTargetType))); - if (t3.length > 0) { - const i3 = y.getListDisplayString(a.default.map(t3, function(e4) { - return S.getLanguageNameAndCodeDisplay(e4.language); - })), n3 = t3.length > 1 ? w.transferVoicemail.voicemailTypeNonVocalByLangs : w.transferVoicemail.voicemailTypeNonVocalByLang; - e3.addWarning(this, (0, o.sprintf)(n3, this.transferTargetType.displayName, i3)); - } - super.validate(e3); + _repointSelfReferencingBaseCallBotFlowActions(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + for (const t3 of e3) yield t3.setBotFlowReferenceToCallByFlowId(this.id); + }); } - } - 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 c extends a.default { - get requiredAuth() { - return s.externalAuthorizations.authStrings.languageSkillsView; + _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); + }); } - get dependencyType() { - return l.LanguageSkill; + _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; + } + }); } - constructor() { - 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(); + _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); + }); } - } - t2.LanguageSkillManager = c, t2.languageSkillManager = new c(); - }, 81500: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + _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 r.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); + }); } - get _globalTypeName() { - return "externalContact"; + _getFlowIsSearchable(e3, t3, i3, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + try { + return yield new W.default().beginAsyncPolling(t3, i3, this._isFlowSearchableAsync.bind(this), e3), this.logNote(e3 + " - the flow is searchable."), T.default.executeCallback(this, e3, o2, true); + } catch (t4) { + return this.logNote(e3 + " - the flow is not searchable."), T.default.executeCallback(this, e3, o2, false); + } + }); } - get initialValue() { - return this._initialValue; + _getArchFactoryFlows() { + return void 0 === this._archFactoryFlows && (this._archFactoryFlows = i2(89059).default), this._archFactoryFlows; } - get displayTypeName() { - return "ArchVariableExternalContact"; + _getArchCoreFactory() { + return void 0 === this._archCoreFactory && (this._archCoreFactory = i2(38689).default), this._archCoreFactory; } - get isArchVariableExternalContact() { + _isFlowSearchableAsync() { + return n2.__awaiter(this, void 0, void 0, function* () { + return void 0 !== (yield this._getArchFactoryFlows().getFlowInfoByFlowNameAsync(this.name, this.flowType, function() { + return true; + })); + }); + } + addFlowSupportedLanguage(e3, t3) { + const i3 = this.settingsSupportedLanguages; + return this.logItemVerboseNote(this._infoMethod("addFlowSupportedLanguage"), "Successfully obtained the supportedLanguagesSettings. Forwarding call through to addSupportedLanguage on the languages settings object."), i3.addSupportedLanguage(e3, t3); + } + canAddSupportedLanguage() { + return this.settingsSupportedLanguages.canAddSupportedLanguage(); + } + _checkCreationAllowed(e3) { + this.isCreated || this.definition.isCreatable || this.logErrorAndThrow(`${e3} - the flow type '${this.flowType}' does not allow creation of new instances. You can check to see if a flow type allows creation of new instances by checking the 'isCreatable' property on the flow type definition (see ArchDefinitionFlow documentation in help).`); + } + get isFlowTypeDeprecated() { + return this.definition.isDeprecated; + } + _checkPublishAllowed(e3) { + return this.isFlowTypeDeprecated && this.logErrorAndThrow(`${e3} - The flow type '${this.flowType}' has been deprecated and can no longer be published.`), true; + } + checkInAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkCreationAllowed("checkInAsync"), this._checkItemIsValidLiteralBool(this._infoParm("ensureSearchable", "checkInAsync"), e3, true), yield j.default.allSettled(), yield this.saveAsync(), this.logNote("checkInAsync - checking in..."); + try { + yield s.default.checkInFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this)); + } catch (e4) { + this.logErrorAndThrow(`checkInAsync - check in failed. Error details: ${JSON.stringify(e4)}`); + } + return e3 ? (this.logNote("checkInAsync - checked in. making sure the flow is searchable"), yield this._getFlowIsSearchable("checkInAsync", 20, 3e3, (e4) => (e4 || this.logErrorAndThrow("checkInAsync - checked in flow is not searchable."), this)), this) : (this.logNote("checkInAsync - checked in"), this); + }); + } + createAsync() { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._internalCreateAsync(); + }); + } + get _wantValidateBeforeCreate() { return true; } - } - t2.default = r2; - }, 81516: (e2, t2, i2) => { - "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), c = i2(33951); - class d extends s.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + _internalCreateAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var t3, i3, n3, o2, r2, 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, c2; + if (yield j.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 + "'"), c2 = this.isArchFlowWorkitem ? yield z.createFlow(this.flowType, this.name, this.description, u2, this._coreFlowViewModel.defaultLanguage, e3.worktypeId) : yield z.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 === (o2 = null === (n3 = null == e3 ? void 0 : e3.nluVersionTemplate) || void 0 === n3 ? void 0 : n3.templateObject) || void 0 === o2 ? void 0 : o2.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 === (r2 = e3.nluVersionTemplate) || void 0 === r2 ? void 0 : r2.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) { + this._logErrorWithContextAndThrow("createAsync - save failed.", e4); + } + } catch (e4) { + this._logErrorWithContextAndThrow("createAsync - failed to create.", e4); + } + }); } - constructor(e3) { - super(e3), this._disableSpellcheck = false, this._blankDeterminationShouldNotTrim = false, this._wantLowerCaseStringLiteralValue = false, (0, a.makeUnenumerable)(this, "_blankWarningText"), (0, a.makeUnenumerable)(this, "_disableSpellcheck"), (0, a.makeUnenumerable)(this, "_blankDeterminationShouldNotTrim"), (0, a.makeUnenumerable)(this, "_stringFacets"), (0, a.makeUnenumerable)(this, "_wantLowerCaseStringLiteralValue"), this.facets = o.default.create(); + get dataTypes() { + return q.default.getFlowDataTypes(this); } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setDisableSpellcheck, e3.disableSpellcheck), this._setOptionIfSet(this.setBlankDeterminationShouldNotTrim, e3.blankDeterminationShouldNotTrim), this._setOptionIfSet(this.setBlankWarningText, e3.blankWarningText, "_blankWarningText"), this._setOptionIfSet(this.setWantLowerCaseStringLiteralValue, e3.wantLowerCaseStringLiteralValue); + get definition() { + return this.coreFactory.createArchWrapper(u.default.getDefinitionForFlowType(this.flowType)); + } + get description() { + return this._coreFlowViewModel.info.description; + } + set description(e3) { + this._coreFlowViewModel.description = e3; + } + exportToDirAsync(e3, t3, i3, o2, r2, a2) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "exportToDirAsync"), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "exportToDirAsync"), t3, true), r2 = this._resolveExportIncludeTrackingIdsForYaml("exportToDirAsync", r2), a2 = this._resolveExportSkipFlowValidation("exportToDirAsync", a2); + const n3 = this._getExportFilePath("exportToDirAsync", e3, i3, o2); + yield j.default.allSettled(); + const s2 = (0, E.toFlowFileFormat)(null != i3 ? i3 : g.default.FLOW_FORMAT_TYPES.architect), l2 = b.FlowExportSettings.create(s2, r2), 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."), J.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, o2) { + return n2.__awaiter(this, void 0, void 0, function* () { + 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), o2 = this._resolveExportSkipFlowValidation("exportToObjectAsync", o2), yield j.default.allSettled(); + const n3 = (0, E.toFlowFileFormat)(null != t3 ? t3 : g.default.FLOW_FORMAT_TYPES.architect), r2 = b.FlowExportSettings.create(n3, i3), a2 = yield (0, A.exportFlowAsync)(this._coreFlowViewModel, r2, o2); + 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 }); + }); + } + exportToFlowInfoSpecAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidFunction(this._infoParm("callbackFunction", "exportToFlowInfoSpecAsync"), e3, true), G.isFeatureAvailable(B.default.flowOutcomesAndMilestonesAISuggestions) || this.logErrorAndThrow("exportToFlowInfoSpecAsync is not available for this organization."); + const i3 = this._resolveExportFlowInfoSpecLevel("exportToFlowInfoSpecAsync", t3); + yield j.default.allSettled(); + const n3 = yield (0, N.buildFlowInfoSpecAsync)(this._coreFlowViewModel, (0, v.getFlowInfoSpecOptionsForLevel)(i3)); + return this.logNote("FlowInfoSpec export content successfully generated."), T.default.executeCallback(this, "exportToFlowInfoSpecAsync", e3, { content: n3 }); + }); + } + get flowType() { + return this._coreFlowViewModel.type; + } + _resolveValidatedScriptFileSystemPath(e3, t3) { + const i3 = e3.split("\0").join(""), n3 = $.normalize(i3), o2 = $.resolve(process.cwd()), r2 = $.resolve(o2, n3); + if (!$.isAbsolute(n3)) { + const e4 = $.relative(o2, r2); + "" !== e4 && e4.startsWith("..") && this.logErrorAndThrow(`${t3}: path must stay within the current working directory, or use an absolute path.`); + } + return r2; + } + _resolveExportIncludeTrackingIdsForYaml(e3, t3) { + const i3 = this._infoParm("includeTrackingIdsForYaml", e3); + return this._checkItemIsValidLiteralBool(i3, t3, true), (t3 = !!t3) && !G.isFeatureAvailable(B.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) && !G.isFeatureAvailable(B.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; + } + _resolveExportFlowInfoSpecLevel(e3, t3) { + var i3; + const n3 = this._infoParm("level", e3); + return this._checkItemIsValidLiteralStringEnum(n3, t3, g.default.FLOW_INFO_SPEC_LEVELS_ALL, true), null !== (i3 = t3) && void 0 !== i3 ? i3 : v.flowInfoSpecLevel.comprehensive; + } + _getExportFilePath(e3, t3, i3, n3) { + var o2, r2; + 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 = $.parse(n3); + this._checkItem(this._infoParm("fileName", e3), (null === (o2 = t4.root) || void 0 === o2 ? void 0 : o2.length) || (null === (r2 = t4.dir) || void 0 === r2 ? void 0 : r2.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 = $.extname(n3), s3 = a2 ? ".yaml" : u.default.getFileExtensionForFlowType(l2.type); + i4 !== s3 && (n3 += s3); + } else n3 = (0, I.getExportFilePath)(l2, a2); + this.logNote(`flow export destination directory resolved to '${s2}'`); + const c2 = $.basename(n3); + c2 && "." !== c2 && ".." !== c2 || this.logErrorAndThrow(`${e3}: invalid file name after resolving to base name '${c2}'.`); + const d2 = $.join(s2, c2); + return this.logNote(`saving flow export to path '${d2}'`), d2; + } + getExportFilePath(e3, t3, i3) { + return this._getExportFilePath("getExportFilePath", e3, t3, i3); } - get allowEmpty() { - return this.facets.allowEmpty; + getObjectForTrackingId(e3) { + const t3 = this._infoParm("trackingId", 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); } - get className() { - return "ExpressionTypeStringOptions"; + getVariableById(e3) { + this._checkItemIsValidLiteralString(this._infoParm("variableId", "getVariableById"), e3); + const t3 = this._coreFlowViewModel.getVariable(e3); + if (t3) return this.coreFactory.createArchWrapper(t3); } - get isExpressionTypeStringOptions() { - return true; + getVariableByName(e3) { + this._checkItemIsValidLiteralString(this._infoParm("variableName", "getVariableByName"), e3); + const t3 = this._coreFlowViewModel.variableGroup.getVariableByName(e3, this._coreFlowViewModel); + if (t3) return this.coreFactory.createArchWrapper(t3); } - get blankDeterminationShouldNotTrim() { - return this._blankDeterminationShouldNotTrim; + 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), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "importFromContentAsync"), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), yield j.default.allSettled(), this._importFlowContentAsync(e3, "importFromContentAsync", t3, i3); + }); } - set blankDeterminationShouldNotTrim(e3) { - this._blankDeterminationShouldNotTrim = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankDeterminationShouldNotTrim", "value")); + 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), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowFormat", "importFromFileAsync"), i3, g.default.FLOW_FORMAT_TYPES_ALL, true), yield j.default.allSettled(), e3 = this._resolveValidatedScriptFileSystemPath(e3, "importFromFileAsync flowExportFilePath"), this.logNote("reading contents of flow export file '" + e3 + "' for import."); + const n3 = J.readFileSync(e3); + if (this.logNote("contents of flow export file '" + e3 + "' successfully read."), !i3) { + const t4 = $.extname(e3).toLowerCase(); + ".yaml" !== t4 && ".yml" !== t4 || (i3 = g.default.FLOW_FORMAT_TYPES.yaml); + } + return this._importFlowContentAsync(n3.toString(), "importFromFileAsync", t3, i3); + }); } - get blankWarningText() { - return this._blankWarningText; + get isCreated() { + return this._coreFlowViewModel.isCreated; } - set blankWarningText(e3) { - this._blankWarningText = c.ParameterValidator.expectString(e3, () => u.ParameterInfo.createPropertySet(this.className, "blankWarningText", "value")); + get isReadOnly() { + return !!this.isCreated && this._coreFlowViewModel.isReadOnly; } - get disableSpellcheck() { - return this._disableSpellcheck; + get isSecure() { + return this._coreFlowViewModel.consumesSecureData; } - set disableSpellcheck(e3) { - this._disableSpellcheck = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "disableSpellcheck", "value")); + get isVariableContainer() { + return true; } - get wantLowerCaseStringLiteralValue() { - return this._wantLowerCaseStringLiteralValue; + get languageSettings() { + return this.logDeprecatedPropertyWarning(this._infoPropGet("languageSettings"), "settingsSupportedLanguages"), this.settingsSupportedLanguages; } - set wantLowerCaseStringLiteralValue(e3) { - this._wantLowerCaseStringLiteralValue = c.ParameterValidator.expectBool(e3, () => u.ParameterInfo.createPropertySet(this.className, "wantLowerCaseStringLiteralValue", "value")); + get name() { + return this._coreFlowViewModel.displayName; } - get facets() { - return this._stringFacets; + set name(e3) { + const t3 = this._infoPropSet("newValue", "name"); + this._checkItemIsValidLiteralString(t3, e3); + const i3 = (0, F.flowNameIsInvalidMessage)(e3); + this._checkItem(t3, null != i3, i3), this._coreFlowViewModel.displayName = e3; } - set facets(e3) { - this._stringFacets = c.ParameterValidator.expectTrue(e3 && true === e3.isStringFacets, e3, "StringFacets", () => u.ParameterInfo.createPropertySet(this.className, "facets", "value")), this._stringFacets = 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); + 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); + } + 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 s.default.publishFlow(this._coreFlowViewModel, this._logAsyncOperationNotification.bind(this), false); + } catch (e4) { + throw this.logError(`publishAsync - could not publish the flow named '${this.name}' (id: '${this.id}') +${this._formatErrorForTracing(e4)}`), e4; + } + return this._completePublishAsync(e3); + }); } - _getDefaultTextForDisplay() { - return this.defaultToExpression ? this.defaultText : this.hasDefaultText ? l.default.getQuotedExpressionStringLiteral(this.defaultText) : void 0; + saveAsync() { + return this._saveAsyncWithOptions(); } - setBlankDeterminationShouldNotTrim(e3) { - return this.blankDeterminationShouldNotTrim = e3, this; + _saveAsyncWithOptions(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (!this.isCreated) { + this._checkCreationAllowed("saveAsync"), this.logNote("saveAsync - flow is not created. now creating..."); + try { + return yield this._internalCreateAsync(); + } catch (e4) { + this._logErrorWithContextAndThrow("saveAsync - creation failed.", e4); + } + } + try { + return yield this._saveInternalAsync(e3); + } catch (e4) { + this._logErrorWithContextAndThrow("saveAsync - save failed.", e4); + } + }); } - setBlankWarningText(e3) { - return this.blankWarningText = e3, this; + _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); } - setDisableSpellcheck(e3) { - return this.disableSpellcheck = e3, this; + _logErrorWithContextAndThrow(e3, t3) { + var i3; + let n3 = e3; + "object" == typeof t3 && null !== t3 ? (t3.message && (n3 += ` Exception: ${t3.message}.`), (null === (i3 = t3.response) || void 0 === i3 ? void 0 : i3.contextId) && (n3 += ` (contextId: '${t3.response.contextId}')`)) : "string" == typeof t3 && (n3 += ` Exception: ${t3}.`), this.logErrorAndThrow(n3); } - setWantLowerCaseStringLiteralValue(e3) { - return this.wantLowerCaseStringLiteralValue = e3, this; + get settingsErrorHandling() { + if (this._getCoreViewModel().errorHandling) return this.coreFactory.createArchWrapper(this._getCoreViewModel().errorHandling); } - } - 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), c = n2.__importDefault(i2(66978)); - class d extends r2.default { - constructor(e3) { - super(e3), this._terminationState = this.coreFactory.createArchWrapper(e3.terminationState); + get settingsActionDefaults() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().defaultSettings); } - get _actionTypeId() { - return s.dialogEngineActionType; + get settingsSupportedLanguages() { + return this.supportsLanguages || this.logItemErrorAndThrow(this._infoPropGet("settingsSupportedLanguages"), "the flow type '" + this.flowType + "' does not support languages. You can see if a flow supports languages by accessing the supportsLanguages property on it."), this.coreFactory.createArchWrapper(this._getCoreViewModel().languages); } - get displayTypeName() { - return this._scriptingName; + get supportsAudio() { + return !!this._getCoreViewModel().supportsAudio; } - get isArchActionCallDialogEngineBot() { - return true; + get supportsErrorHandling() { + return !!this._getCoreViewModel().errorHandling; } - get intentParameters() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + get supportsLanguages() { + return this._getCoreViewModel().supportsLanguages; } - get dialogEngineOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get supportsDefaultLanguage() { + return this._getCoreViewModel().languagesSupportDefaultLanguage; } - get outputKnowledge() { - return this._getOutputById(u.outputIds.knowledge, true); + get url() { + if (!this.isCreated || !this._getCoreViewModel().startUpObject) return ""; + const e3 = this.coreFactory.createArchWrapper(this._getCoreViewModel().startUpObject); + return x.UrlBuilder.create(`https://${L.values.host}`).addSegment("architect").addSegment("#").addSegment(`${this._getCoreViewModel().type}/flows/${this.id}/latest`).addSegment(`menu/${e3.id}`).render(); } - get outputNoIntent() { - return this._getOutputById(u.outputIds.noIntent, true); + validateAsync() { + return this._validateAsync(); } - _setDialogEngineBotByIdAsync(e3, t3) { + _validateAsync(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("botId", "setDialogEngineBotByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogEngineBotByIdAsync"), t3, true), this._coreActionViewModel.botCategoryProperty.idValue = e3, this._coreActionViewModel.getAutoSelectedBotRunnable().then((i3) => { - if (!i3) { - const t4 = `There was an error getting the full bot details for bot with ID ${e3}`; - throw this.logError(t4), t4; + try { + yield j.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); } - return this._coreActionViewModel.setBotRunnableByViewModel(i3), a.default.executeCallback(this, "setDialogEngineBotByIdAsync", t3, this); - }); + const t3 = e3 ? Y.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 && Y.default._restoreLoggingSettings(t3); + } + } catch (e4) { + this.logErrorAndThrow("validateAsync - could not validate the flow named '" + this.name + "' (id: '" + this.id + "')\n" + e4); + } }); } - 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.`), c.default.addPromise(this._setDialogEngineBotByIdAsync(i3.id, t3), "setDialogEngineBotByIdAsync"))); - }); + get variables() { + const e3 = []; + return this._getCoreViewModel().variableGroup.flowVariables.forEach((t3) => { + e3.push(this.coreFactory.createArchWrapper(t3)); + }), e3; } - setDialogEngineBotByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("botName", "setDialogEngineBotByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setDialogEngineBotByNameAsync"), t3, true), o.default.findItemByValueAsync(l.dialogEngineBotManager, e3, "dialog engine bot").then((i3) => (this.logNote(`Found info for the Dialog Engine bot named '${i3.name}' for the passed bot name of '${e3}'.`), this._coreActionViewModel.botCategoryProperty.idValue = i3.id, this._coreActionViewModel.getAutoSelectedBotRunnable().then((e4) => { - if (!e4) { - const e5 = `There was an error getting the full bot details for bot with ID ${i3.id}`; - throw this.logError(e5), e5; + 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 o2 = n4._getCoreViewModel(); + if (n4.isCustomJsonType && o2.customTypeNamespace === e3) { + if ((o2.customTypeNamespace === U.CustomJsonNamespace.decisionTable || o2.customTypeNamespace === U.CustomJsonNamespace.conversationAttribute) && o2.customTypeNameWithoutContext !== t3) return false; + switch (i3) { + case g.default.CUSTOM_JSON_SCHEMA_TYPES.input: + return !!o2.isCustomTypeContextInput; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.output: + return !!o2.isCustomTypeContextOutput; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.record: + return !!o2.isCustomTypeContextRecord; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.schemaData: + return !!o2.isCustomTypeContextSchemaData; + case g.default.CUSTOM_JSON_SCHEMA_TYPES.schemaDataPatch: + return !!o2.isCustomTypeContextSchemaDataPatch; } - return this._coreActionViewModel.setBotRunnableByViewModel(e4), a.default.executeCallback(this, "setDialogEngineBotByNameAsync", t3, this); - }))); + } + return false; }); } - get terminationState() { - return this._terminationState; + _validateCustomJsonTypeSchemas(e3) { + var t3, i3, n3, o2, r2; + const a2 = (0, k.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 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 S.DataTypeDefValidationError.propDataTypeNotAvailableInFlow: + a3.push(`Property: ${null === (o2 = t4.propDataTypeDef) || void 0 === o2 ? void 0 : o2.id} - The data type '${null === (r2 = t4.propDataType) || void 0 === r2 ? void 0 : r2.displayString}' configured on this property is not available for use in this flow.`); + } + e4.push(a3.join(", ")); + } + this.logErrorAndThrow(e4.join("\n")); + } } - } - t2.default = d; - }, 81562: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.secureCallFlowListManager = t2.SecureCallFlowListManager = void 0; - const n2 = i2(46761), r2 = i2(6109), o = i2(96618), a = i2(24032), s = i2(27862); - class l extends r2.FlowListManager { - get dependencyType() { - return s.SecureCallFlow; + 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, V.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), [e3._getCoreViewModel()], true); + return this.coreFactory.createArchWrapper(i3[0]); } - constructor() { - super(), this.topic = (0, a.getTopic)("secureCallFlowListManager"), this.briefManager = n2.briefCallSecureFlowListManager, this.additionalQueryParams = { type: o.flowTypes.flowTypeSecureCall }, this.className = "SecureCallFlowListManager", this.flowType = o.flowTypes.flowTypeSecureCall, this._initialize(); + addUpdateCustomJsonTypesFromSchemas(e3) { + const t3 = this._infoParm("archCustomJsonTypeSchemas", "addUpdateCustomJsonTypesFromSchemas"); + this._checkItem(t3, !(0, M.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 o2 = (0, V.createCustomExpressionTypesFromDataTypeDefs)(this._getCoreViewModel(), n3, true), r2 = []; + return o2.forEach((e4) => { + r2.push(this.coreFactory.createArchWrapper(e4)); + }), r2; + } + get isArchFlowWorkitem() { + return false; + } + get isArchBaseFlowBot() { + return false; } } - t2.SecureCallFlowListManager = l, t2.secureCallFlowListManager = new l(); - }, 81574: (e2, t2, i2) => { + t2.default = K; + }, 16731(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(23335)), o = n2.__importDefault(i2(73198)); - class a extends r2.default { + const n2 = i2(31635).__importDefault(i2(16434)); + class o extends n2.default { constructor(e3) { - super(e3); + super(e3), this._userInputSettings = this.coreFactory.createArchWrapper(e3.userInputSettings); } get displayTypeName() { - return "ArchBaseValueSingleton"; + return "ArchBaseFlowBot"; } - get isArchBaseValueSingleton() { + get isArchBaseFlowBot() { return true; } - get isCollection() { - return false; + get userInputSettings() { + return this._userInputSettings; } - setExpressionNotSet() { - return this.setExpression(o.default.notSet); + get _wantValidateBeforeCreate() { + return false; } - get valueText() { - let e3 = this._getValueTextCommon(); - return void 0 === e3 && this.isLiteral && (e3 = this._getCoreExpressionText()), "string" == typeof e3 ? e3 : ""; + get settingsErrorHandling() { + if (this._getCoreViewModel().errorHandling) return this.coreFactory.createArchWrapper(this._coreFlowViewModel.errorHandling); } } - t2.default = a; - }, 81621: (e2, t2, i2) => { - 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 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) => { + t2.default = o; + }, 83747(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 c(e3) { - throw new t2.TimeoutError(e3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(16731)); + class o extends n2.default { + constructor(e3) { + super(e3), this._botFlowSettings = this.coreFactory.createArchWrapper(e3.botFlowSettings), e3.definition.supportsKnowledge && (this._knowledgeSettings = this.coreFactory.createArchWrapper(e3.knowledgeSettings)); + } + get displayTypeName() { + return "ArchBaseFlowBotWithKnowledge"; + } + get isArchBaseFlowBotWithKnowledge() { + return true; + } + get knowledgeSettings() { + var e3; + return !this._knowledgeSettings || (null === (e3 = this._getCoreViewModel().knowledgeSettings) || void 0 === e3 ? void 0 : e3.outOfService) ? null : this._knowledgeSettings; + } + get botFlowSettings() { + return this._botFlowSettings; + } } - t2.TimeoutError = s.createErrorClass(function(e3) { - return function(t3) { - 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, 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, c2 = function(e5) { - n3 = u.executeSchedule(t4, m, function() { - try { - i4.unsubscribe(), a.innerFrom(_({ meta: f, lastValue: r3, seen: o2 })).subscribe(t4); - } catch (e6) { - t4.error(e6); - } - }, e5); - }; - i4 = e4.subscribe(l.createOperatorSubscriber(t4, function(e5) { - 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 && c2(null != s2 ? "number" == typeof s2 ? s2 : +s2 - m.now() : d); - }); - }; - }, 81778: (e2, t2, i2) => { + t2.default = o; + }, 84502(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), c = i2(94765); - class d extends c.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "ScheduleType"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(16434)); + class o extends n2.default { + constructor(e3) { + super(e3); } - createExpressionOptionClass() { - return new o.ExpressionTypeNetworkObjectOptions(this.isCollection); + get displayTypeName() { + return "ArchBaseFlowInQueueWorkflow"; } - get listManager() { - return a.scheduleManager.getBriefManagerWithFallback(); + get isArchBaseFlowInQueueWorkflow() { + return true; } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindSchedule", e3, [r2.globalTypes.string]); + setPeriodicState(e3) { + const t3 = this._infoParm("archState", "setPeriodicState"); + this._checkItem(t3, !e3 || !e3.isArchState, "you must pass in a valid ArchState instance to set it as the periodic state on a flow."), this._checkItem(t3, !e3._getCoreViewModel().isAllowedAsPeriodicState, "you cannot use the same state for both the startUpObject and the periodicState in an in-queue flow. State: " + e3.logStr), this.logNote("setting the periodic state to " + e3.logStr), this._getCoreViewModel().periodicState = e3._getCoreViewModel(); } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindSchedule(${l.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get periodicState() { + const e3 = this._getCoreViewModel().periodicState; + return e3 ? this.coreFactory.createArchWrapper(e3) : null; } } - t2.ScheduleType = d, d.typeIdentifier = u.expressionTypeNames.schedule; - }, 81801: (e2, t2, i2) => { + t2.default = o; + }, 25498(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.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; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(23714)); + class o extends n2.default { + constructor(e3) { + super(e3), this._initialAudio = this.coreFactory.createArchWrapper(e3.initialPrompts), this._menuSettings = this.coreFactory.createArchWrapper(e3.menuSettings), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts), this._speechRecSettings = this.coreFactory.createArchWrapper(e3.speechRecognition); } - _getAuthStringDisplayTitle(e3, t3) { - if (n2.default.isObject(t3) || (t3 = this._getAuthWarningResourceObject(e3), n2.default.isObject(t3))) return t3.displayTitle ? t3.displayTitle : t3[`${e3}DisplayTitle`]; + get displayTypeName() { + return "ArchBaseFlowInboundOutboundSecureCall"; } - _getAuthWarningResourceObject(e3) { - const t3 = this.externalAuthorizations[e3]; - let i3; - return o.externalAuths[e3] ? i3 = o.externalAuths[e3] : t3.commonResourceKey && o.externalAuths[t3.commonResourceKey] && (i3 = o.externalAuths[t3.commonResourceKey]), i3; + get initialAudio() { + return this._initialAudio; } - getFormattedAuthWarning(e3) { - const t3 = this._getAuthStringDisplayTitle(e3); - if (!t3) return ""; - const i3 = this.externalAuthorizations[e3], n3 = "
  • " + (0, r2.sprintf)(o.externalAuths.missingPermissionContext, i3.permissionInfo.displayText) + "
"; - return (0, r2.sprintf)(o.externalAuths.overviewContext, t3, n3); + get isArchBaseFlowInboundOutboundSecureCall() { + return true; } - getPermissionString(e3) { - return `${e3.domain}:${e3.entityName}:${e3.action}`; + setStartingMenu(e3) { + this._checkItem(this._infoParm("archMenu", "setStartingMenu"), !e3 || !e3.isArchMenu, "you must pass in a valid ArchMenu instance to set it as the starting menu on a flow."), this.logNote("setting the starting menu to " + e3.logStr), this._coreFlowViewModel.initialSequence = e3.id; } - getSchedulesPermissions() { - return { schedulesView: this.externalAuthorizations.schedulesView, scheduleGroupView: this.externalAuthorizations.scheduleGroupView, emergencyGroupView: this.externalAuthorizations.emergencyGroupView }; + setStartingTask(e3) { + this._checkItem(this._infoParm("archTask", "setStartingTask"), !e3 || !e3.isArchTask, "you must pass in a valid ArchTask instance to set it as the starting task on a flow."), this.logNote("setting the starting task to " + e3.logStr), this._coreFlowViewModel.initialSequence = e3.id; } - getAuthValidationWarning(e3, t3) { - const i3 = this._getAuthStringDisplayTitle(e3); - if (!i3) return ""; - const n3 = t3 ? o.externalAuths.thirdPersonValidationContext : o.externalAuths.validationContext; - return (0, r2.sprintf)(n3, i3); + get settingsMenu() { + return this._menuSettings; } - setAuthorization(e3, t3) { - const i3 = this.currentAuthorizations[t3]; - i3 && (i3.havePermission = e3); + get settingsPrompts() { + return this._promptSettings; } - checkHasRequiredAuth(e3) { - return this.currentAuthorizations[e3].havePermission; + get settingsSpeechRec() { + return this._speechRecSettings; } - }(); - }, 81818: (e2, t2, i2) => { + get startUpObject() { + const e3 = this._getCoreViewModel().startUpObject; + return e3 ? this.coreFactory.createArchWrapper(e3) : null; + } + } + t2.default = o; + }, 23714(e2, t2, i2) { "use strict"; 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: c }) { - super(e3, t3, i3, n3, r3, o2, a2 = a2 || s2, { languageTag: "", outputMode: "" }, u, c, a2.getArchIcon()); - } - get className() { - return "BuilderPartContainerLanguageOutputModeDef"; + const n2 = i2(31635).__importDefault(i2(88308)); + class o extends n2.default { + constructor(e3) { + super(e3); } - isAvailableForFlow(e3) { - const t3 = null == e3 ? void 0 : e3.definition.supportsMoreThanOneLanguage, i3 = (null == e3 ? void 0 : e3.definition.outputModes.length) > 1; - return this.supportsLanguageTag && t3 && this.supportsOutputMode && i3; + _deleteMenuChoices(e3) { + for (let t3 = e3.choices.length - 1; t3 >= 0; t3--) { + const i3 = e3.choices[t3]; + i3.choices && this._deleteMenuChoices(i3); + } + e3.parentFlow.deleteNode(e3); } - get isBuilderPartContainerLanguageOutputModeDef() { - return true; + deleteMenu(e3) { + const t3 = this._infoParm("reusableMenuToDelete", "deleteMenu"); + this._checkItem(t3, !e3 || !e3.isArchMenu, "The parameter value must be an ArchMenu instance."), this._checkItem(t3, !e3.isReusableMenu, "The menu to delete must be a reusable menu instance."), this._checkItem(t3, e3.parentFlow._getCoreViewModel() !== this._getCoreViewModel(), "The menu to delete is not part of this flow."); + const i3 = e3.logStr; + this.logNote("deleting the reusable menu " + i3), this._deleteMenuChoices(e3._getCoreViewModel()), this.logNote("reusable menu deletion complete for " + i3); } - get supportsLanguageTag() { - return true; + get menusReusable() { + const e3 = []; + return this._getCoreViewModel().menus.forEach((t3) => { + const i3 = this.coreFactory.createArchWrapper(t3); + i3.isReusableMenu && e3.push(i3); + }), e3; } - get supportsOutputMode() { - return true; + } + t2.default = o; + }, 88308(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(66872)); + class a extends r.default { + constructor(e3) { + super(e3); } - createBuilderPartViewModel(e3, t3, i3) { - const n3 = new o.default({ builderPartDefId: this.id, criteria: i3, version: this.version }); - return this.reviveItem(e3, t3, n3); + deleteTask(e3) { + const t3 = this._infoParm("reusableTaskToDelete", "deleteTask"); + this._checkItem(t3, !e3 || !e3.isArchTask, "the parameter value must be an ArchTask instance."), this._checkItem(t3, !e3.isReusableTask, "the task to delete must be a reusable task instance."), this._checkItem(t3, e3.parentFlow._getCoreViewModel() !== this._getCoreViewModel(), "the task to delete is not part of this flow."); + const i3 = e3.logStr; + this.logNote("deleting the reusable task " + i3), this._coreFlowViewModel.deleteNode(e3._getCoreViewModel()) || this.logErrorAndThrow(`the task ${e3.logStr} could not be deleted.`), this.logNote("reusable task deletion complete for " + i3); } - reviveItem(e3, t3, i3, n3) { - return new a.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, reId: !!n3 }); + get tasksReusable() { + const e3 = []; + return o.default.each(this._getCoreViewModel().tasks, (t3) => { + const i3 = this.coreFactory.createArchWrapper(t3); + i3.isReusableTask && e3.push(i3); + }), e3; } } - t2.default = s; - }, 81823: (e2, t2, i2) => { + t2.default = a; + }, 16434(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 = n2.__importDefault(i2(5730)), u = i2(47957); - 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: c.createYamlOptions("question", (e3) => e3.setExportOrder(30).setPropertyName("question")), property: "question", type: a.expressionTypeNames.communication }]; - } + const n2 = i2(31635).__importDefault(i2(88308)); + class o extends n2.default { constructor(e3) { - super(e3.parentFlow, e3); + super(e3); } - setNewInstanceDefaults(e3) { - var t3; - super.setNewInstanceDefaults(e3), null === (t3 = this.question.builder) || void 0 === t3 || t3.deleteAllParts(); + deleteState(e3) { + const t3 = this._infoParm("stateToDelete", "deleteState"); + this._checkItem(t3, !e3 || !e3.isArchState, "the parameter value must be an ArchState instance."), this._checkItem(t3, e3.parentFlow._getCoreViewModel() !== this._getCoreViewModel(), "the state to delete is not part of this flow."); + const i3 = e3._getCoreViewModel(); + this._checkItem(t3, this._getCoreViewModel().startUpObject === i3, "unable to delete the state because it is the startup object configured on the flow."), this._checkItem(t3, this._getCoreViewModel().periodicState === i3, "unable to delete the state because it is the periodic state configured on the flow."); + const n3 = e3.logStr; + this.logNote("deleting the state " + n3), this._coreFlowViewModel.deleteNode(i3) || this.logErrorAndThrow(`the state ${e3.logStr} could not be deleted.`), this.logNote("state deletion complete for " + n3); } - setNewInstanceQuestionText(e3) { - return this.question.setCommunicationBuilderText(e3); + get displayTypeName() { + return "ArchBaseFlowWorkflow"; } - get hasOptionalPaths() { + get isArchBaseFlowWorkflow() { return true; } - getDetails() { - return this.getDetailsForProperties([this.question]); + setStartingState(e3) { + this._checkItem(this._infoParm("archState", "setStartingState"), !e3 || !e3.isArchState, "you must pass in a valid ArchState instance to set it as the starting state on a flow."), this._checkItem(this._infoParm("archState", "setStartingState"), !e3._getCoreViewModel().isAllowedAsStartupNode, "the ArchState instance is not a valid startup state. State: " + e3.logStr), this.logNote("setting the starting state to " + e3.logStr), this._coreFlowViewModel.initialSequence = e3.id; + } + get startUpObject() { + const e3 = this._getCoreViewModel().startUpObject; + return e3 ? this.coreFactory.createArchWrapper(e3) : null; + } + get states() { + const e3 = []; + return this._getCoreViewModel().states.forEach((t3) => { + e3.push(this.coreFactory.createArchWrapper(t3)); + }), e3; } } - t2.default = c, c.className = "BaseAskActionViewModel"; - }, 81832: (e2, t2, i2) => { + t2.default = o; + }, 42175(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(30801), a = n2.__importDefault(i2(65305)); - class s extends a.default { + const n2 = i2(31635), o = n2.__importDefault(i2(37873)), r = n2.__importDefault(i2(94225)), a = n2.__importStar(i2(62829)), s = i2(30801), l = i2(92140); + class u extends o.default { + static get definition() { + const e3 = this.prototype; + e3._ensureSessionIsConnected(e3._infoPropGet("definition"), r.default); + const t3 = a.getInfo(e3._actionTypeId), i3 = a.getInfo(s.menuActionActionType); + return e3.coreFactory.createArchWrapper({ coreActionNodeInformation: t3, coreMenuNodeInformation: i3, isArchMenuDefinition: true, id: i3.id }); + } constructor(e3) { super(e3); } get _actionTypeId() { - return o.callTaskActionType; + console.log(`INTERNAL ERROR - _actionTypeId not implemented for '${this.displayTypeName}'`); + } + get definition() { + this._ensureSessionIsConnected(this._infoPropGet("definition"), r.default); + const e3 = a.getInfo(this._actionTypeId), t3 = a.getInfo(s.menuActionActionType); + return this.coreFactory.createArchWrapper({ coreActionNodeInformation: e3, coreMenuNodeInformation: t3, isArchMenuDefinition: true, id: t3.id }); } get displayTypeName() { - return this._scriptingName; + return "ArchBaseMenu"; } - get isArchActionCallTask() { + get isArchBaseMenu() { return true; } - get taskInputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + get parentFlow() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().parentFlow); } - get taskOutputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + _findCoreMenuChoiceById(e3) { + if (!e3) return; + const t3 = this._getCoreViewModel(); + return l.isArray(t3.choices) ? l.find(t3.choices, (t4) => t4.id === e3) : void 0; } - get targetTask() { - if (!this._targetArchTask && this._getCoreViewModel().taskReference) { - const e3 = this._coreActionViewModel.parentFlow; - if (e3 && e3.hasTasks) { - const t3 = e3.tasks, i3 = r2.default.findWhere(t3, { id: this._getCoreViewModel().taskReference }); - i3 && (this._targetArchTask = this.coreFactory.createArchWrapper(i3)); - } - } - return this._targetArchTask; + get trackingId() { + return this._getCoreViewModel().trackingId; } - set targetTask(e3) { - if (r2.default.isNull(e3) || r2.default.isUndefined(e3)) return this._targetArchTask = null, this.logNote("setting the task to call to null"), void this._coreActionViewModel.containerActionProperty.setReference(null); - const t3 = this._infoPropSet("archTaskTarget", "targetTask"); - this._checkItem(t3, !r2.default.isObject(e3) || !e3.isArchTask, "you cannot set the task target to an object that is not an Architect task."), this._checkItemSameParentFlow(t3, this.parentFlow, e3.parentFlow); - const i3 = this._coreActionViewModel.containerActionProperty.getInvalidReferenceReason(e3._getCoreViewModel()); - this._checkItem(t3, i3, `the supplied targetTask value is not valid as the target task. Reason: '${i3}'`), this._targetArchTask = e3, this.logNote("setting the task to call to " + e3.logStr), this._coreActionViewModel.containerActionProperty.setReference(e3._getCoreViewModel()); + set trackingId(e3) { + const t3 = this._infoPropSet("value", "trackingId"); + this._ensureCanSetTrackingIds(t3, r.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 = s; - }, 81858: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.archShortcuts = t2.archRenumber = t2.archPhoneNumberPhase2 = t2.archFuncToAudioTTSWithLang = t2.archExpressionNoConfigError = t2.archExpressionBuilders = void 0, t2.archExpressionBuilders = "archExpressionBuilders", t2.archExpressionNoConfigError = "archExpressionNoConfigError", t2.archFuncToAudioTTSWithLang = "archFuncToAudioTTSWithLang", t2.archPhoneNumberPhase2 = "archPhoneNumberPhase2", t2.archRenumber = "archRenumber", t2.archShortcuts = "archShortcuts"; - }, 81901: (e2, t2, i2) => { + t2.default = u; + }, 62028(e2, t2, i2) { "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 c extends o.default { + const n2 = i2(31635), o = i2(30801), r = i2(30801), a = n2.__importDefault(i2(42175)); + class s extends a.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; - } - addClausePropertyCallback(e3, t3, i3) { - this._checkItemIsValidLiteralString(this._infoParm("propertyName", "addClausePropertyCallback"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addClausePropertyCallback"), t3), this._checkItemIsValidLiteralBool(this._infoParm("propertyMustExist", "addClausePropertyCallback"), i3, true), (r2.default.isUndefined(i3) || null === i3) && (i3 = true); - const n3 = new s.default(e3, t3, i3); - return this._archFilterClausesOrContainers.push(n3), n3; - } - addClausePropertyValueEquals(e3, t3, i3) { - this._checkItemIsValidLiteralString(this._infoParm("propertyName", "addClausePropertyValueEquals"), e3), this._checkItemIsValidLiteralBool(this._infoParm("propertyMustExist", "addClausePropertyValueEquals"), i3, true), (r2.default.isUndefined(i3) || null === i3) && (i3 = true); - const n3 = new l.default(e3, t3, i3); - return this._archFilterClausesOrContainers.push(n3), n3; - } - addClausePropertyValueNotEquals(e3, t3, i3) { - this._checkItemIsValidLiteralString(this._infoParm("propertyName", "addClausePropertyValueNotEquals"), e3), this._checkItemIsValidLiteralBool(this._infoParm("propertyMustExist", "addClausePropertyValueNotEquals"), i3, true), (r2.default.isUndefined(i3) || null === i3) && (i3 = true); - const n3 = new u.default(e3, t3, i3); - return this._archFilterClausesOrContainers.push(n3), n3; - } - 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 c(e3); - return this._archFilterClausesOrContainers.push(t3), t3; + super(e3), this._coreMenuChoiceViewModel = e3, this._archAction = this.coreFactory.createArchActionFromCoreAction(e3.action), this._archSpeechRecTermContainers = this.coreFactory.createArchWrapper(e3.speechRecTerms); } get displayTypeName() { - return "ArchFilterClauseContainer"; + return "ArchBaseMenuChoice"; } - get isArchFilterClauseContainer() { - return true; + addSpeechRecTerm(e3, t3) { + const i3 = this._infoParm("newTerm", "addSpeechRecTerm"); + this._checkItemIsValidLiteralString(i3, t3), this._checkItem(this._infoParm("archLanguage", "addSpeechRecTerm"), !e3 || !e3.isArchLanguage, "you must specify a language where the speech rec term will be added."); + const n3 = this.getSpeechRecTermContainer(e3); + return !!n3 && n3.addTerm(t3); } - get operator() { - return this._operator; + get logStr() { + if (!this._coreMenuChoiceViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrTrackingId(e3, this.trackingId), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - set operator(e3) { - this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newValue", "operator"), e3, a.default.FILTER_CONTAINER_OPERATORS_ALL), this._operator = e3; + get dtmf() { + return this._getDtmfForCoreDigit(this._infoPropGet("dtmf"), this._coreMenuChoiceViewModel.dtmf, true); } - _isMatch(e3) { - if (0 === this._archFilterClausesOrContainers.length) return true; - switch (this.operator) { - case a.default.FILTER_CONTAINER_OPERATORS.and: - return r2.default.isUndefined(r2.default.find(this._archFilterClausesOrContainers, (t3) => !t3.isMatch(e3))); - case a.default.FILTER_CONTAINER_OPERATORS.or: - return !r2.default.isUndefined(r2.default.find(this._archFilterClausesOrContainers, (t3) => t3.isMatch(e3))); - default: - this._logErrorInternalAndThrow(`Unsupported filter clause container operator of '${this.operator}'.`); - } + set dtmf(e3) { + this._coreMenuChoiceViewModel.dtmf = this._getCoreDigitForDtmf(this._infoPropSet("newDtmfValue", "dtmf"), e3); } - } - t2.default = c; - }, 81904: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AskForAuthenticationActionModel = void 0; - const n2 = i2(31635), r2 = i2(30801), o = i2(80434), a = i2(80295), s = n2.__importDefault(i2(7401)), l = i2(80295); - class u extends o.BaseActionWithFailureOutputsNoInputNoMatchModel { - constructor(e3) { - super(e3), this.__type = u.__type, (0, l.makeUnenumerable)(this, "_signInMessage"), (0, l.makeUnenumerable)(this, "_successMessage"), (0, l.makeUnenumerable)(this, "_authenticationCompletionTimeout"); + get dtmfIsGlobal() { + return this._coreMenuChoiceViewModel.globalDtmf; } - get signInMessage() { - return this._signInMessage; + set dtmfIsGlobal(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "dtmfIsGlobal"), e3), this.logNote("setting the dtmf is global value to " + e3), this._coreMenuChoiceViewModel.globalDtmf = e3; } - set signInMessage(e3) { - this._signInMessage = this.reviveItem(e3, s.default); + getSpeechRecTermContainer(e3) { + return this.speechRecTermContainers.getContainer(e3); } - get successMessage() { - return this._successMessage; + get isArchBaseMenuChoice() { + return true; } - set successMessage(e3) { - this._successMessage = this.reviveItem(e3, s.default); + get name() { + return this._coreMenuChoiceViewModel.name; } - get authenticationCompletionTimeout() { - return this._authenticationCompletionTimeout; + set name(e3) { + if (!e3) throw "you cannot have a blank name set on a menu, sub menu or menu action"; + if (this.logNote("setting the name to '" + e3 + "'"), this._coreMenuChoiceViewModel.name = e3, this._coreMenuChoiceViewModel.action && this._coreMenuChoiceViewModel.action.info) switch (this._coreMenuChoiceViewModel.action.info.typeId) { + case r.taskActionActionType: + this._coreMenuChoiceViewModel.task && (this.logNote("setting the underlying task name to '" + e3 + "'"), this._coreMenuChoiceViewModel.task.name = e3); + break; + case o.menuActionActionType: + this._coreMenuChoiceViewModel.menu && (this.logNote("setting the underlying menu name to '" + e3 + "'"), this._coreMenuChoiceViewModel.menu.name = e3); + } + this._coreMenuChoiceViewModel.action.nameFacetError && this.logErrorAndThrow(this._coreMenuChoiceViewModel.action.nameFacetError); } - set authenticationCompletionTimeout(e3) { - this._authenticationCompletionTimeout = this.reviveItem(e3, s.default); + get speechRecTermContainers() { + return this._archSpeechRecTermContainers; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._signInMessage.pasteResolveOldToNewValues(e3), this._successMessage.pasteResolveOldToNewValues(e3), this._authenticationCompletionTimeout.pasteResolveOldToNewValues(e3); + get speechRecTermsAreGlobal() { + return this._coreMenuChoiceViewModel.globalSpeech; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._signInMessage.pasteReIdOrRename(e3), this._successMessage.pasteReIdOrRename(e3), this._authenticationCompletionTimeout.pasteReIdOrRename(e3); + set speechRecTermsAreGlobal(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "speechRecTermsAreGlobal"), e3), this.logNote("setting the speech rec terms are global value to " + e3), this._coreMenuChoiceViewModel.globalSpeech = e3; } - } - 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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends s.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get trackingId() { + return this._coreMenuChoiceViewModel.trackingId; } } - 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) => { + t2.default = s; + }, 6074(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "chooserCollection"; + super(e3), this._coreActionContainerViewModel = e3; } - get initialValue() { - return this._initialValue; + get actionCount() { + return this._coreActionContainerViewModel.children.length; } - get displayTypeName() { - return "ArchVariableChooserCollection"; + get actionFirst() { + const e3 = this._coreActionContainerViewModel.topAction; + if (e3) return this.coreFactory.createArchWrapper(e3); } - get isArchVariableChooserCollection() { - return true; + get actionLast() { + const e3 = this._coreActionContainerViewModel.lastAction; + if (e3) return this.coreFactory.createArchWrapper(e3); } - } - t2.default = r2; - }, 81948: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.TEST_getFlowCount = function() { - return Object.keys(De).length; - }, t2.TEST_getFlowWithName = function(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), 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() { + get actions() { + const e3 = []; + let t3 = this._coreActionContainerViewModel.topAction; + if (!t3) return e3; + for (; t3; ) e3.push(this.coreFactory.createArchWrapper(t3)), t3 = t3.nextAction; + return e3; } - 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 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))); + canAddAction(e3) { + return this._checkItemIsArchDefinitionAction(this._infoParm("archDefinitionAction", "canAddAction"), e3), this._coreActionContainerViewModel.canAddNode(e3._getCoreViewModel().id); } - get tasks() { - return void 0 === this._tasksArray && (this._tasksArray = Object.values(this._tasksMap)), this._tasksArray; + deleteAction(e3) { + const t3 = this._infoParm("archActionToDelete", "deleteAction"); + this._checkItem(t3, !e3 || !e3.isArchBaseAction, "The action to delete must be an ArchBaseAction instance."), this.logNote("deleting the action " + e3.logStr + " from the action container " + this.logStr), this._coreActionContainerViewModel.deleteChild(e3._getCoreViewModel()); } - get hasTasks() { - var e3; - return (null === (e3 = this.tasks) || void 0 === e3 ? void 0 : e3.length) >= 1; + get displayTypeName() { + return "ArchBaseMultiActionContainer"; } - deleteAllTasks() { - c.default.destroyContents(this._tasksMap), this._tasksArray = void 0; + get isArchBaseMultiActionContainer() { + return true; } - getTaskById(e3) { - return this._tasksMap[e3]; + get isMenuChoiceContainer() { + return this._coreActionContainerViewModel.parent && this._coreActionContainerViewModel.parent.parent && true === this._coreActionContainerViewModel.parent.parent.isMenuChoice; } - _deleteTask(e3) { - (null == e3 ? void 0 : e3.id) && (delete this._tasksMap[e3.id], this._tasksArray = void 0); + get isTerminated() { + return this._coreActionContainerViewModel.isTerminating; } - _addTask(e3) { - (null == e3 ? void 0 : e3.id) ? (this._tasksMap[e3.id] && this.topic.error("_addTask called with a node that has already been added, id: " + e3.id), this._tasksMap[e3.id] = e3, this._tasksArray = void 0) : this.topic.error("_addTask called with a node that has no id"); + get isVariableContainer() { + return true === this._isVariableContainer; } - get menus() { - if (this.supportsReusableMenus) return void 0 === this._menusArray && (this._menusArray = Object.values(this._menusMap)), this._menusArray; + moveAction(e3, t3) { + const i3 = this._infoParm("archActionToMove", "moveAction"); + if (this._checkItem(i3, !e3 || !e3.isArchBaseAction, "the action to move must be a valid ArchBaseAction instance."), t3) { + const i4 = this._infoParm("archActionNewPreviousAction", "moveAction"); + this._checkItem(i4, !t3.isArchBaseAction, "the previous action must be a valid ArchBaseAction instance."), e3._getCoreViewModel().parent !== t3._getCoreViewModel().parent && this._itemIsInvalid(i4, "both the archActionToMove and archActionNewPreviousAction actions must be in the same multi action container."), this.logNote("moving " + e3.logStr + " before " + t3.logStr + " in the multi action container."); + } else this.logNote("moving " + e3.logStr + " to the top of the multi action container."); + const n3 = t3 && t3._getCoreViewModel(); + this._coreActionContainerViewModel.moveAction(e3._getCoreViewModel(), n3); } - get hasMenus() { - var e3; - return (null === (e3 = this.menus) || void 0 === e3 ? void 0 : e3.length) >= 1; + } + t2.default = o; + }, 21434(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { + constructor(e3) { + super(e3), this._coreNameValuePair = e3; } - deleteAllMenus() { - c.default.destroyContents(this._menusMap), this._menusArray = void 0; + get displayTypeName() { + return "ArchBaseNameValuePair"; } - getMenuById(e3) { - return this._menusMap[e3]; + get isArchBaseNameValuePair() { + return true; } - _deleteMenu(e3) { - (null == e3 ? void 0 : e3.id) && (delete this._menusMap[e3.id], this._menusArray = void 0); + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = [], t3 = this.name.valueText; + return t3 && this._appendLogStrName(e3, t3), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - _addMenu(e3) { - (null == e3 ? void 0 : e3.id) ? (this._menusMap[e3.id] && this.topic.error("_addMenu called with a node that has already been added, id: " + e3.id), this._menusMap[e3.id] = e3, this._menusArray = void 0) : this.topic.error("_addMenu called with a node that has no id"); + get name() { + return this.coreFactory.createArchWrapper(this._coreNameValuePair.name); } - invokeValidationComplete() { - this._validationComplete$.next(this.validationResults); + get value() { + return this.coreFactory.createArchWrapper(this._coreNameValuePair.expression); } - invokeSingleItemValidated(e3) { - var t3; - this._singleItemValidated$.next({ validationResults: this.validationResults, validatedItem: e3 }), (null === (t3 = e3.parent) || void 0 === t3 ? void 0 : t3.topParent) && this._singleItemValidated$.next({ validationResults: this.validationResults, validatedItem: e3.parent }); + } + t2.default = o; + }, 4897(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(14394), a = n2.__importDefault(i2(21434)), s = n2.__importDefault(i2(55988)); + class l extends s.default { + constructor(e3) { + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreNameValuePairs"), e3), this._coreNameValuePairs = e3; } - get loaded() { - return this.loaded$.value; + get displayTypeName() { + return "ArchBaseNameValuePairs"; } - set loaded(e3) { - this.loaded$.next(e3); + _addNameValueAssignment(e3, t3, i3, n3) { + const s2 = new a.default(this._coreNameValuePairs.add(null, r.globalTypes.string)), l2 = s2.value, u = s2.name; + return i3 && l2._coreExpression.setAsOutput(), o.default.isString(e3) && (true === n3 ? u.setLiteralString(e3) : u.setExpression(e3)), i3 ? t3 && l2.setVariable(t3) : o.default.isString(t3) && l2.setExpression(t3), s2; } - get amObjectEventEmitter() { + get isArchBaseNameValuePairs() { return true; } - get supportedLanguageOptions() { - return this._supportedLanguageOptions; + get _globalTypeName() { + return ""; } - set supportedLanguageOptions(e3) { - this._supportedLanguageOptions = e3; + get length() { + return this._length; } - 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), 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 && !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)), 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 = 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; + getNamedValueByIndex(e3) { + return this._getNamedValueByIndex(e3); } - writeTasksToConfig(e3, t3) { - var i3; - if (this.hasTasks) if ((null == e3 ? void 0 : e3.isForFlowYaml) && !this.supportsReusableTasks) { - 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) ? 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]; - } + } + t2.default = l; + }, 85383(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(23335)), r = n2.__importDefault(i2(56549)); + class a extends o.default { + constructor(e3, t3) { + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreConfigurationListManager"), t3), this._configListManager = t3; } - writeMenusToConfig(e3, t3) { - if (this.supportsReusableMenus && this.menus && (this.hasMenus || !(null == e3 ? void 0 : e3.isForFlowYaml))) { - 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)); - }); - } + get displayTypeName() { + return "ArchBaseNetworkValue"; } - canBeValidated() { - return this.loaded && this._receivedInitialValidationData && !this.isDestroyedOrDestroying && this.initializeDesignTimeCalled; + get _searchByValueSearchProperty() { } - checkVersion(e3) { - c.default.each(this.tasks, (t3) => { - t3.checkVersion(e3); - }), c.default.each(this.menus, (t3) => { - t3.checkVersion(e3); + get isArchBaseNetworkValue() { + return true; + } + _findItemByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = t3 || this._coreExpression.label; + return r.default.findItemByIdAsync(this._configListManager, e3, i3); }); } - get children() { - let e3 = [...this.tasks]; - return this.menus && (e3 = e3.concat(...this.menus)), e3; + _findItemByValueAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const n3 = t3 || this._coreExpression.label; + return r.default.findItemByValueAsync(this._configListManager, e3, n3, this._searchByValueSearchProperty, void 0, void 0, i3); + }); } - createMenu(e3) { - 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; + } + t2.default = a; + }, 40559(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(63352), r = n2.__importDefault(i2(85383)), a = n2.__importStar(i2(72155)); + class s extends r.default { + constructor(e3, t3) { + super(e3, t3); } - createTask(e3) { - 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; + get displayTypeName() { + return "ArchBaseNetworkValueCollection"; } - 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(), W.validateNode(i3, true), B.fireEvent(this, D.containerListChanged, e3), i3; + get isArchBaseNetworkValueCollection() { + return true; } - getOrderedMenusForPrint() { - const e3 = [], t3 = (i3) => { - if (!i3 || c.default.findWhere(e3, { id: i3.id })) return; - e3.push(i3); - const n3 = i3.getOrderedChoices(); - c.default.each(n3, (e4) => { - e4.isSubMenu && t3(e4.menu); - }); - }; - return t3(c.default.findWhere(this.menus, { isStartUpObject: true })), c.default.each(this.menus, t3), e3; + get isCollection() { + return true; } - get defaultLanguageLCase() { - if (c.default.isString(this.defaultLanguage)) return this.defaultLanguage.toLowerCase(); + getItemByIndex(e3) { + const t3 = this._infoParm("index", "getItemByIndex"); + return this._checkItemIsValidLiteralIntInRange(t3, e3, 0, this.length), this.isLiteral ? this.coreFactory.createArchWrapper(this._getCoreViewModel().collectionItems.items[e3]) : void 0; } - getFlowConfigurationClass() { - w.error("getFlowConfigurationClass should be implemented by a FlowViewModel class"); + addItemToCollection() { + return a.addItemToCollection(this); } - createFlowConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) return {}; - const i3 = new (this.getFlowConfigurationClass())(e3); - return e3 || this.addDefaultConfigSections(i3), i3; + get length() { + return this.isLiteral ? this._getCoreViewModel().collectionItems.items.length : void 0; } - get availableVariableScopes() { - const 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); + _addNetworkModelToCollection(e3) { + let t3; + this._coreExpression.isExpressionList ? (t3 = this._coreExpression.add(), t3.updateFromConfigListManagerItem(e3)) : this._coreExpression.isCollectionExpression ? (this._coreExpression.isLiteralMode || (this.logNote("switching value to literal collection since we are adding a literal value."), this._coreExpression.mode = o.ExpressionModes.literal), t3 = this._coreExpression.collectionItems.createItem(), t3.updateFromConfigListManagerItem(e3), this._coreExpression.collectionItems.addItem(t3)) : this._itemIsInvalid(this._infoParm("this._coreExpression", "_addNetworkModelToCollection"), "do not know how to add an item to this collection."), this.logNote("added literal to " + this._coreExpression.type.displayString + " " + this.getLogStrForItemInfo(e3)); } - get defaultVariableScope() { - return this.localVariableScope; + clearCollection() { + this._coreExpression.destroyChildren(); } - get localVariableScope() { - return this.definition.variableScope; + _addLiteralByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._findItemByIdAsync(e3, t3).then(this._addNetworkModelToCollection.bind(this)); + }); } - get builtInVariableScopes() { - return [H.scopes.system]; + _addLiteralByValueAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._findItemByValueAsync(e3, t3, i3).then(this._addNetworkModelToCollection.bind(this)); + }); } - get channelTypes() { - return this.definition.channelTypes; + get valueText() { + return this._getValueTextCommon() || []; } - get channelTypeVariableName() { - return this.definition.channelTypeVariableName; + setLiteralEmptyCollection() { + if (this.settings.canBeLiteral) { + const e3 = this._getCoreViewModel(); + null == e3 || e3.setLiteralEmptyCollection(); + } } - get outputModes() { - return this.definition.outputModes; + } + t2.default = s; + }, 16468(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(85383)); + class r extends o.default { + constructor(e3, t3) { + super(e3, t3); } - get outputModeVariableName() { - return this.definition.outputModeVariableName; + get displayTypeName() { + return "ArchBaseNetworkValueContainer"; } - get userCreatableVariableScopes() { - return [this.defaultVariableScope]; + _addLiteralByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._findItemByIdAsync(e3, t3).then(this._addNetworkModelToCollection.bind(this)); + }); } - get allowedAssignableVariableScopes() { - return this.userCreatableVariableScopes; + _addLiteralByValueAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._findItemByValueAsync(e3, t3, i3).then(this._addNetworkModelToCollection.bind(this)); + }); } - get definition() { - return this._definition || (this._definition = L.default.getDefinitionForFlowType(this.type)), this._definition; + _addNetworkModelToCollection(e3) { + this._itemIsInvalid(this._infoParm("this", "_addNetworkModelToCollection"), "_addNetworkModelToCollection must be overridden by subclass"); } - get deleted() { - var e3; - return (null === (e3 = this.info) || void 0 === e3 ? void 0 : e3.deleted) || false; + get isArchBaseNetworkValueContainer() { + return true; } - get description() { - return this.info.description; + } + t2.default = r; + }, 45894(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(73198)), r = n2.__importDefault(i2(85383)); + class a extends r.default { + constructor(e3, t3) { + super(e3, t3); } - set description(e3) { - this.info.description = e3; + get displayTypeName() { + return "ArchBaseNetworkValueSingleton"; } - get displayName() { - return this.info.displayName; + get isArchBaseNetworkValueSingleton() { + return true; } - set displayName(e3) { - e3 = e3.replace("/", ""), this.info.displayName = e3; + get isCollection() { + return false; } - getDisplayName() { - return this.containerLabel; + _setLiteralByIdAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._findItemByIdAsync(e3).then((e4) => (this.logNote("setting by looked up id to the literal item " + this.getLogStrForItemInfo(e4)), this._coreExpression.updateFromConfigListManagerItem(e4), this)); + }); } - get containerLabel() { - return be.flow.flow; + _setLiteralByValueAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._findItemByValueAsync(e3).then((e4) => (this.logNote("setting by looked up value to the literal item " + this.getLogStrForItemInfo(e4)), this._coreExpression.updateFromConfigListManagerItem(e4), this)); + }); } - get containerLabelAndName() { - return (0, u.sprintf)(be.labelAndName, this.containerLabel, this.displayName); + get objectName() { + if (this.isLiteral) { + return this._getCoreExpressionText() || ""; + } } - get ensureAudioInPrompts() { - return this.validateHasAudioOnly; + setExpressionNotSet() { + return this.setExpression(o.default.notSet); + } + get valueText() { + let e3 = this._getValueTextCommon(); + return void 0 === e3 && this.isLiteral && (e3 = this.objectName), "string" == typeof e3 ? e3 : ""; + } + } + t2.default = a; + }, 8471(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; } - set ensureAudioInPrompts(e3) { - this.promptMediaToValidate = e3 ? G.audioOnly : G.audioAndTTS; + static get displayTypeName() { + return this.prototype.displayTypeName; } - get flowTypeDisplayName() { - return L.default.getDefinitionForFlowType(this.type).typeDisplayName; + static get isBaseClassObject() { + return true; } - get flowSequenceItemList() { - return this._flowSequenceItemList; + get coreFactory() { + return p._coreFactory; } - get validateHasAudio() { - return G.hasMediaType(this.promptMediaToValidate, G.promptMediaTypes.audio); + set coreFactory(e3) { + p._coreFactory = e3; } - get validateHasTTS() { - return G.hasMediaType(this.promptMediaToValidate, G.promptMediaTypes.tts); + get isBaseClass() { + return true; } - get validateHasAudioOnly() { - return this.validateHasAudio && !this.validateHasTTS; + _appendLogStrPartRawString(e3, t3) { + e3.push(t3); } - get promptMediaToValidate() { - var e3, t3; - 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 : []; + _appendLogStrPart(e3, t3, i3, n3, o2) { + if (void 0 === i3 && o2) return; + const r2 = t3 + ":" + (n3 ? "" : "'") + (void 0 === i3 ? "" : String(i3)) + (n3 ? "" : "'"); + e3.push(r2); } - 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`); + _appendLogStrArchObject(e3, t3) { + this._appendLogStrPart(e3, "ArchObject", t3, true, true); } - flowNameIsInvalidMessage(e3) { - return e3 ? e3.trim().match(/-debug$/i) ? be.editFlow.noDebugPostfix : e3.indexOf("/") > -1 ? be.editFlow.flowNameInvalidCharacter : null : be.editFlow.flowNameCannotBeBlank; + _appendLogStrTag(e3, t3) { + this._appendLogStrPart(e3, "Tag", t3, false, true); } - getAllowableFlowInputTypes() { - return A.default.getTypeGroup(this)._getFlowInputTypes(this.type); + _appendLogStrRollupErrorCount(e3, t3) { + this._appendLogStrPart(e3, "RollupErrorCount", t3, true); } - getAllowableFlowOutputTypes() { - return A.default.getTypeGroup(this)._getFlowOutputTypes(this.type); + _appendLogStrRollupErrorCountTotal(e3, t3) { + this._appendLogStrPart(e3, "RollupErrorCountTotal", t3, true); } - getCreatableDataTypes() { - return A.default.getTypeGroup(this)._getFlowCreatableDataTypes(this); + _appendLogStrCallingMethod(e3, t3) { + this._appendLogStrPart(e3, "CallingMethod", t3, false, true); } - getTopLevelChild(e3) { - return e3 && (this.getTopLevelTaskLikeChild(e3) || this._menusMap[e3]) || null; + _appendLogStrCallingArchObject(e3, t3) { + this._appendLogStrPart(e3, "CallingArchObject", t3.logStr, false, true); } - getTopLevelTaskLikeChild(e3) { - return e3 ? this._tasksMap[e3] : null; + _appendLogStrErrorCount(e3, t3) { + this._appendLogStrPart(e3, "ErrorCount", t3, true); } - getChild(e3) { - if (!e3) return null; - if (this[e3]) return this[e3]; - const t3 = this.getTopLevelChild(e3); - if (t3) return t3; - let i3; - for (let t4 = 0; t4 < this.children.length; t4++) { - if (i3 = this.children[t4], i3.id === e3) return i3; - const n3 = i3.getChild(e3); - if (n3) return n3; - } - return null; + _appendLogStrErrorCountTotal(e3, t3) { + this._appendLogStrPart(e3, "ErrorCountTotal", t3, true); } - addNewChild(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)); + _appendLogStrEnvironment(e3, t3) { + this._appendLogStrPart(e3, "Environment", t3, false, true); } - getUiMetadataInfo(e3, t3) { - if (this.uiMetaData) return c.default.findWhere(this.uiMetaData[e3], t3); + _appendLogStrSessionId(e3, t3) { + this._appendLogStrPart(e3, "ArchSessionId", t3, false, true); } - getUiMetadataInfoById(e3, t3) { - return this.getUiMetadataInfo(e3, { id: t3 }); + _appendLogStrHost(e3, t3) { + this._appendLogStrPart(e3, "Host", t3, false, true); } - getUsesSpeechRec() { - return !!this.definition.supportsSpeechRec && this._getUsesSpeechRec(); + _appendLogStrId(e3, t3) { + this._appendLogStrPart(e3, "Id", t3); } - getSiblings(e3) { - return e3 && !e3.isTopLevelNode && e3.parent ? c.default.reject(e3.parent.children, (t3) => t3.id === e3.id) : null; + _appendLogStrIsHome(e3, t3) { + this._appendLogStrPart(e3, "IsHomeDivision", t3, true, true); } - getVariable(e3) { - if (this.variableGroup) return this.variableGroup.getVariable(e3); + _appendLogStrFlowId(e3, t3) { + this._appendLogStrPart(e3, "Flow ID", t3); } - get hasDependencies() { - return !!this.dependencies; + _appendLogStrFlowName(e3, t3) { + this._appendLogStrPart(e3, "Flow Name", t3); } - get id() { - return this.info.id; + _appendLogStrParentFlowInfo(e3, t3) { + if (!t3) return; + const i3 = t3.parentFlow; + i3 && i3.isFlowViewModel && (this._appendLogStrFlowName(e3, i3.displayName), this._appendLogStrFlowId(e3, i3.id)); } - get 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; + _appendLogStrHierarchyStr(e3, t3) { + this._appendLogStrPart(e3, "Hierarchy", t3, false, true); } - get isCreated() { - return "__" !== this.id.slice(0, 2); + _appendLogStrLabel(e3, t3) { + this._appendLogStrPart(e3, "Label", t3, false, true); } - get isFlowViewModel() { - return true; + _appendLogStrLanguageTag(e3, t3) { + this._appendLogStrPart(e3, "LanguageTag", t3, false, true); } - get isReadOnly() { - return !this.info || this.info.isReadOnly; + _appendLogStrName(e3, t3) { + this._appendLogStrPart(e3, "Name", t3, false, true); } - loadConfiguration(e3) { - 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), c.default.each(this._autoManagedSettings, (t3) => { - "flowDefinitions" === t3.id && t3.loadConfiguration(e3); - }), this._loadConfiguration(e3); + _appendLogStrCompatibleFlowTypes(e3, t3) { + this._appendLogStrPart(e3, "Compatible Flow Types", o.default.isArray(t3) && t3.length ? t3.join("', '") : "", false, false); } - get validationResults() { - return this._validationResults; + _appendLogStrIsCollection(e3, t3) { + this._appendLogStrPart(e3, "IsCollection", t3, false, true); } - set validationResults(e3) { - this._validationResults = e3; + _appendLogStrIsDefault(e3, t3) { + this._appendLogStrPart(e3, "IsDefault", t3, false, true); } - queuedAsyncValidate() { - return this._queuedAsyncValidate || (this._queuedAsyncValidate = Ce(d.default.validateFlow.bind(d.default, this))), this._queuedAsyncValidate(); + _appendLogStrParentParts(e3, t3) { + if (!t3 || o.default.isUndefined(t3.trackingId)) return; + const i3 = this.coreFactory.createArchWrapper(t3); + this._appendLogStrTrackingIdNameType(e3, i3.trackingId, i3.name, i3.displayTypeName); } - get isAutomateFlowType() { - return this.definition.isAutomateFlowType; + _appendLogStrAsrCompany(e3, t3) { + this._appendLogStrPart(e3, "Company Directory Asr:", t3, false, true); } - get isCallFlowType() { - return this.definition.isCallFlowType; + _appendLogStrRegion(e3, t3) { + this._appendLogStrPart(e3, "Region", t3, false, true); } - get supportsAddVariablesInDataView() { - return this.definition.supportsAddVariablesInDataView; + _appendLogStrOrgId(e3, t3) { + this._appendLogStrPart(e3, "OrgId", t3, false, true); } - get supportsAutoDeletingVariablesWithNoUsages() { - return this.definition.supportsAutoDeletingVariablesWithNoUsages; + _appendLogStrOrgName(e3, t3) { + this._appendLogStrPart(e3, "OrgName", t3, false, true); } - get supportsComplexDataTypes() { - return this.definition.supportsComplexTypes; + _appendLogStrOutputId(e3, t3) { + this._appendLogStrPart(e3, "OutputId", t3, false, true); } - get supportsConversationSummary() { - return this.definition.supportsConversationSummary; + _appendStrAsrEnabledOnFlow(e3, t3) { + this._appendLogStrPart(e3, "FlowSpeechRecEnabled", t3, false, true); } - get supportsContactDataType() { - return this.definition.supportsContactDataType; + _appendLogStrSettingErrorHandlingFlow(e3, t3) { + this._appendLogStrPart(e3, "Flow Event Error Handling", t3, false, true); } - get supportsDataViewFiltering() { - return this.definition.supportsDataViewFiltering; + _appendLogStrProperty(e3, t3) { + this._appendLogStrPart(e3, "Property", t3, false, true); } - get supportsErrorAudio() { - return this.definition.supportsErrorAudio; + _appendLogStrTrackingId(e3, t3) { + this._appendLogStrPart(e3, "TrackingID", t3, true, true); } - get supportsAudio() { - return !!this.destinationFlowTypes.find((e3) => L.default.getOrgAndFlowTypeSupportAudio(e3)); + _appendLogStrTrackingIdNameType(e3, t3, i3, n3) { + this._appendLogStrTrackingId(e3, t3), this._appendLogStrName(e3, i3), this._appendLogStrType(e3, n3); } - get supportsDigital() { - return !!this.destinationFlowTypes.find((e3) => r2.flowTypes.isAutomateOrCiceroFlowType(e3)); + _appendLogStrTtsEngineName(e3, t3) { + this._appendLogStrPart(e3, "TtsEngineName", t3, false, true); } - get supportsFlowInputVariables() { - return this.definition.supportsFlowInputVariables; + _appendLogStrTtsEngineSelectionType(e3, t3) { + this._appendLogStrPart(e3, "TtsEngineSelectionType", t3, false, true); } - get supportsFlowOutputVariables() { - return this.definition.supportsFlowOutputVariables; + _appendLogStrTtsEngineVoiceName(e3, t3) { + this._appendLogStrPart(e3, "TtsEngineVoiceName", t3, false, true); } - get supportsFlowInputAndOutputVariables() { - return this.supportsFlowInputVariables && this.supportsFlowOutputVariables; + _appendLogStrTtsEngineVoiceSelectionType(e3, t3) { + this._appendLogStrPart(e3, "TtsEngineVoiceSelectionType", t3, false, true); } - get supportsGrammars() { - return this.definition.supportsGrammars; + _appendLogStrType(e3, t3) { + this._appendLogStrPart(e3, "Type", t3, false, true); } - get grammarsInUse() { - return null; + _appendLogStrWarningCount(e3, t3) { + this._appendLogStrPart(e3, "WarningCount", t3, true); } - get speechToTextEnginesInUse() { - return null; + _appendLogStrWarningCountTotal(e3, t3) { + this._appendLogStrPart(e3, "WarningCountTotal", t3, true); } - get supportsLanguages() { - return this.definition.supportsLanguages; + _appendLogStrRollupWarningCount(e3, t3) { + this._appendLogStrPart(e3, "RollupWarningCount", t3, true); } - get supportsAddRemoveLanguages() { - return this.destinationFlowTypes.every((e3) => L.default.doesFlowTypeSupportLanguageAddRemove(e3)); + _appendLogStrRollupWarningCountTotal(e3, t3) { + this._appendLogStrPart(e3, "RollupWarningCountTotal", t3, true); } - get languageChangesAreImmediate() { - return this.destinationFlowTypes.every((e3) => L.default.areLanguageChangesImmediate(e3)); + _appendLogStrVersion(e3, t3) { + this._appendLogStrPart(e3, "Version", t3, false); } - get supportsMoreThanOneLanguage() { - return this.destinationFlowTypes.every((e3) => L.default.doesFlowTypeSupportMoreThanOneLanguage(e3)); + _checkItem(e3, t3, i3, n3) { + t3 && c.default.itemInvalid(e3, i3, this.logStr, this.displayTypeName, n3); } - canAddLanguage() { - const e3 = !!this.supportedLanguageOptions.length; - return !(this.isReadOnly || !this.supportsLanguages || e3 && !this.supportsMoreThanOneLanguage) && (!e3 || this.supportsAddRemoveLanguages); + _checkItemSameParentFlow(e3, t3, i3) { + let n3 = t3, r2 = i3; + return o.default.isObject(n3) && n3.isArchBaseFlow && (n3 = n3._getCoreViewModel()), o.default.isObject(r2) && r2.isArchBaseFlow && (r2 = r2._getCoreViewModel()), this._checkItem(e3, n3 !== r2, `the value specifies an object from a different flow. It comes from the flow '${this.coreFactory.createArchWrapper(r2).logStr}'. The value needs to be an object from the flow '${this.coreFactory.createArchWrapper(n3).logStr}'.`); } - get canOnlyAddLanguageInAnotherFlowInstance() { - return !(this.canAddLanguage() || !this.supportsMoreThanOneLanguage || !this.supportsAddRemoveLanguages) && this._canOnlyAddLanguageInAnotherFlowInstance; + _checkItemValueFeatureToggleIsSet(e3, t3, i3) { + a.isDisabled(t3) && this._itemIsInvalid(e3, "the feature toggle '" + t3 + "' is required for the parameter value '" + i3 + "'."); } - get _canOnlyAddLanguageInAnotherFlowInstance() { - return false; + _checkMethodCallFeatureIsAvailable(e3, t3) { + r.isFeatureUnavailable(t3) && this._itemIsInvalid(e3, "calling this method requires functionality that is not available in the organization.", p._checkMethodCallFeatureIsAvailable_shouldLog); } - get languagesSupportDefaultLanguageSkill() { - return this.definition.languagesSupportDefaultLanguageSkill; + _checkMethodCallFeatureToggleIsSet(e3, t3) { + a.isDisabled(t3) && this._itemIsInvalid(e3, "the feature toggle '" + t3 + "' is required to make this call."); } - get languagesSupportTtsAndAsrSettings() { - return this.definition.languagesSupportTtsAndAsrSettings; + _checkItemValueFeatureConfigIsSet(e3, t3, i3) { + r.isFeatureUnavailable(t3) && this._itemIsInvalid(e3, `Parameter '${i3}' requires a feature that is not available`); } - get languagesSupportSpeechToTextSettings() { - return this.definition.languagesSupportSttSetting; + _checkItemIsArchBaseObject(e3, t3, i3) { + this._checkItemIsArchType(e3, t3, "ArchBaseObject", i3); } - get supportsMultilingualKnowledge() { - return this.definition.supportsMultilingualKnowledge; + _checkItemIsArchBaseObjectWithId(e3, t3, i3) { + this._checkItemIsArchType(e3, t3, "ArchBaseObjectWithId", i3); } - get supportsKnowledgePaths() { - return this.definition.supportsKnowledgePaths; + _checkItemIsArchDefinitionAction(e3, t3, i3) { + this._checkItemIsArchType(e3, t3, "ArchDefinitionAction", i3); } - get supportsEndToEndKnowledgeHandling() { - return this.definition.supportsEndToEndKnowledgeHandling; + _checkItemIsArchFilterObject(e3, t3, i3) { + this._checkItemIsArchType(e3, t3, "ArchFilterObject", i3); } - get supportsAdvancedKnowledgeHandling() { - return this.definition.supportsAdvancedKnowledgeHandling; + _checkItemIsArchFlowInfo(e3, t3, i3) { + this._checkItemIsArchType(e3, t3, "ArchFlowInfo", i3); } - get languagesSupportDefaultLanguage() { - return this.definition.languagesSupportDefaultLanguage; + _checkItemIsArchTraverseContext(e3, t3, i3) { + this._checkItemIsArchType(e3, t3, "ArchTraverseContext", i3); } - get languagesSupportTtsAndAsrRuntime() { - return this.definition.languagesSupportTtsAndAsrRuntime; + _checkItemIsArchType(e3, t3, i3, n3) { + if (o.default.isUndefined(t3) || null === t3) { + if (n3) return; + } else if (o.default.isObject(t3) && t3[`is${i3}`]) return; + c.default.itemInvalid(e3, `the value is not a valid ${i3} instance.`, void 0, i3); } - get parentFlow() { - return this; + _checkItemIsArchTraverseSettings(e3, t3, i3) { + this._checkItemIsArchType(e3, t3, "ArchTraverseSettings", i3); } - get topParentFlow() { - return this; + _checkItemIsUndefinedOrNull(e3, t3) { + this.isUndefinedOrNull(t3) || c.default.itemInvalid(e3, `the value '${t3}' is not valid. It must be either null or undefined.`, void 0, void 0); } - get supportsScopedData() { - return true; + _checkItemIsType(e3, t3, i3, n3, o2, r2) { + i3(t3, n3) || c.default.itemInvalid(e3, "the value '" + t3 + "' (JavaScript type: '" + typeof t3 + "') is not a supported " + o2 + "." + (r2 ? " " + r2 : ""), this.logStr, this.displayTypeName); } - get supportsDefaultLanguageChange() { - return this.definition.supportsDefaultLanguageChange; + _checkItemIsValidFunction(e3, t3, i3) { + if (!i3 || null != t3) return this._checkItem(e3, !o.default.isFunction(t3), "the value is not a valid JavaScript function."); } - get supportsReusableMenus() { - return this.definition.supportsReusableMenus; + _checkItemIsValidJsonObject(e3, t3, i3) { + return this._checkItemIsType(e3, t3, this.isValidJsonObject, i3, "object", "an object value must a JSON object and not be undefined or null."); } - get supportsSpeechRec() { - return !!this.definition.supportsSpeechRec && c.default.some(this.destinationFlowTypes, (e3) => L.default.getDefinitionForFlowType(e3).supportsSpeechRec); + _checkItemIsValidLiteralBool(e3, t3, i3) { + return this._checkItemIsType(e3, t3, this.isValidBool, i3, "boolean", "a literal boolean value must a JavaScript boolean and not be undefined or null."); } - get supportsReusableTasks() { - return this.definition.supportsReusableTasks; + _checkItemIsValidLiteralDateTime(e3, t3, i3) { + return this._checkItemIsType(e3, t3, this.isValidDateTime, i3, "dateTime", "a literal DateTime parameter must be a JavaScript Date and not be undefined or null."); } - get supportsStates() { - return this.definition.supportsStates; + _checkItemIsValidLiteralDecimal(e3, t3, i3) { + if (null == t3 && i3) return; + const n3 = parseFloat(String(t3)); + n3.toString().indexOf("e") > 0 && this._itemIsInvalid(e3, `Architect Scripting does not support decimal values that, when converted to a float, contain e notation. Value was '${n3}'`), this._checkItem(e3, t3 !== n3, `the specified value of '${t3}' is either not a decimal type or is not a decimal value`); } - get supportsMultipleStates() { - return this.definition.supportsMultipleStates; + _checkItemIsValidLiteralInt(e3, t3, i3, n3) { + if (this._checkItemIsType(e3, t3, this.isValidInt, i3, "integer", "a literal integer value must a JavaScript number with an integral value and not be NaN, undefined, null."), n3 && o.default.isActualNumber(t3)) { + const i4 = t3; + this._checkItem(e3, i4 < 0, `the value '${t3}' cannot be used because it is less than 0.`); + } } - get supportsStateInputVariables() { - return this.definition.supportsStateInputVariables; + _checkItemIsValidLiteralIntInRange(e3, t3, i3, n3) { + this._checkItemIsType(e3, t3, this.isValidInt, false, "integer", "a literal integer value must a JavaScript number with an integral value and not be NaN, undefined, null."); + const o2 = t3; + this._checkItem(e3, o2 < i3 || o2 >= n3, "invalid integer value of " + t3 + ". It must be >= " + i3 + " and < " + n3 + "."); } - get supportsStateOutputVariables() { - return this.definition.supportsStateOutputVariables; + _checkItemIsValidLiteralString(e3, t3, i3, n3, r2) { + this._checkItemIsType(e3, t3, this.isValidString, i3, "string", "string values must not be undefined, null and must be a JavaScript string."); + const a2 = t3; + o.default.isActualNumber(n3) && this._checkItem(e3, a2.length > n3, `the value '${t3}' exceeds the maximum length allowed of ${n3} characters.`), r2 && this._checkItem(e3, a2.trim() !== a2, `the value '${t3}' cannot be used because it has leading or trailing whitespace.`); } - get supportsTaskInputVariables() { - return this.definition.supportsTaskInputVariables; + _checkItemIsValidLiteralStringOrStringArray(e3, t3, i3) { + if (o.default.isArray(t3)) { + let n3 = 0; + return void o.default.each(t3, (t4) => { + this._checkItemIsType(e3, t4, this.isValidString, i3, "string", `index: ${n3} - string values must not be undefined, null and must be a JavaScript string or array.`), n3++; + }); + } + return this._checkItemIsType(e3, t3, this.isValidString, i3, "string", "string values must not be undefined, null and must be a JavaScript string or array."); } - get supportsTaskOutputVariables() { - return this.definition.supportsTaskOutputVariables; + _checkItemIsValidLiteralStringEnum(e3, t3, i3, n3, r2) { + const a2 = []; + o.default.each(i3, function(e4) { + a2.push("'" + e4 + "'"); + }); + 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 c2 = t3, d2 = r2 ? c2.toLowerCase() : c2; + o.default.find(i3, function(e4) { + return r2 ? d2 === e4.toLowerCase() : d2 === e4; + }) || this._itemIsInvalid(e3, "the string value '" + t3 + "' is not one of the following values: " + u2); } - get supportsTaskInputAndOutputVariables() { - return this.supportsTaskInputVariables && this.supportsTaskOutputVariables; + _checkItemIsValidLiteralStringOrArchVariableString(e3, t3, i3) { + return this._checkItemIsType(e3, t3, this.isValidStringOrArchVariableString, i3, "string or ArchVariableString", "a string value must not be undefined, null and must be a JavaScript string or must be an ArchBaseVariable instance."); } - get supportsSecureVariables() { - return this.definition.supportsSecureVariables; + _checkItemUndefined(e3, t3) { + return this._checkItem(e3, void 0 === t3, "there is no value specified"); } - get supportsTasksWithOutputPaths() { - return this.definition.supportsTasksWithOutputPaths; + _checkItemUndefinedOrNull(e3, t3) { + return this._checkItem(e3, null == t3, "there is no value specified"); } - speechRecEnabled() { - return false; + _createLogStrFromParts(e3) { + return "[" + e3.join(", ") + "]"; } - get hasVariableGroupSet() { - return !!this._variableGroup; + _ensureCanSetTrackingIds(e3, t3, i3) { + this._ensureSessionIsConnected(e3, t3), this._checkItem(e3, !this._getCanSetTrackingIds(e3, t3), "the ability to set tracking IDs on objects is not available in this organization."), void 0 !== i3 && this._checkItemIsValidLiteralIntInRange(e3, i3, l.default.minTrackingId, l.default.maxTrackingId); } - get variableGroup() { - return this._variableGroup || w.error("trying to get variableGroup before it was set"), this._variableGroup; + _ensureSessionIsConnected(e3, t3) { + t3 && t3.isArchSession && t3.isConnected || this._itemIsInvalid(e3, "invalid to call when the Architect Scripting session is not connected."); } - set 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; + _ensureTtsInfoAvailable(e3, t3) { + this._ensureSessionIsConnected(e3, t3); + const i3 = t3.orgInfo; + t3 && i3 && i3._getAreTtsEnginesAndVoicesAvailable() || this._itemIsInvalid(e3, `text to speech engines and voices are not available for the organization ${null == i3 ? void 0 : i3.logStr}.`); } - cleanUiMetadataInfoSection(e3, t3, i3) { - try { - if (!e3 || !t3) return; - const n3 = this.uiMetaData && this.uiMetaData[e3]; - if (!n3) return; - const r3 = []; - t3.forEach((e4) => { - I.actionRegistrationService.getActionIdsForActionType(this.parentFlow, e4).forEach((e5) => { - const t4 = e5[i3]; - t4 && r3.indexOf(t4) < 0 && r3.push(t4); - }); - }); - for (let e4 = n3.length - 1; e4 >= 0; e4--) r3.indexOf(n3[e4].id) < 0 && n3.splice(e4, 1); - } catch (e4) { - this.topic.exception(e4, "Exception during cleanUiMetadataInfoSection"); + _getDtmfForCoreDigit(e3, t3, i3) { + switch (t3) { + case d.Zero: + return "0"; + case d.One: + return "1"; + case d.Two: + return "2"; + case d.Three: + return "3"; + case d.Four: + return "4"; + case d.Five: + return "5"; + case d.Six: + return "6"; + case d.Seven: + return "7"; + case d.Eight: + return "8"; + case d.Nine: + return "9"; + case d.Pound: + return "#"; + case d.Star: + return "*"; + default: + if (i3) return; + this._itemIsInvalid(e3, "Invalid core Digit value"); } } - tryRemoveUiMetadataInfo(e3, t3, i3, n3, r3, o2) { - if (!(e3 && t3 && i3 && n3 && this.loaded)) return; - if (!o2) { - let t4 = []; - 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) { - for (let e4 = 0; e4 < a2.length; e4++) if (a2[e4].id === i3) return void a2.splice(e4, 1); + _getCoreDigitForDtmf(e3, t3, i3) { + switch (t3) { + case 0: + case "0": + return d.Zero; + case 1: + case "1": + return d.One; + case 2: + case "2": + return d.Two; + case 3: + case "3": + return d.Three; + case 4: + case "4": + return d.Four; + case 5: + case "5": + return d.Five; + case 6: + case "6": + return d.Six; + case 7: + case "7": + return d.Seven; + case 8: + case "8": + return d.Eight; + case 9: + case "9": + return d.Nine; + case "*": + return d.Star; + case "#": + 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."); } } - isVersionLoaded(e3) { - const t3 = this.versions.convertVersionUrl(e3); - return this.versions.alreadyLoaded(t3); + _traverse(...e3) { + var t3; + null === (t3 = this.logItemVerboseNode) || void 0 === t3 || t3.call(this, this._infoMethod("_traverse"), "_traverse being call on non ArchBaseCoreObject instance. :(", this.logStr, this.displayTypeName); } - onTypeMapCreated() { - this.definitions.addCustomTypesToFlowExpressionTypeGroup(); + _getCanSetTrackingIds(e3, t3) { + return this._ensureSessionIsConnected(e3, t3), r.isFeatureAvailable(u.default.yamlTrackingIdFeature); } - registerExpressionTypeGroupEventSink() { - this.definitions.registerExpressionTypeGroupEventSink(); + get displayTypeName() { + return this._logErrorInternalAndThrow("Architect Scripting object does not override ArchBaseObject.displayTypeName property and it should. Constructor name: " + this.constructor.name), ""; } - requestConfiguration(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - try { - const n3 = this.versions.convertVersionUrl(e3); - if (!t3 && this.versions.alreadyLoaded(n3)) return 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; - } - }); + isValidBool(e3, t3) { + return !(null != e3 || !t3) || o.default.isBoolean(e3); } - get overrideWireFlowConfiguration() { + isValidDateTime(e3, t3) { + return !(null != e3 || !t3) || o.default.isDate(e3); } - get overrideWireFlowVersionConfiguration() { + isValidInt(e3, t3) { + return null == e3 ? !!t3 : !!o.default.isActualNumber(e3) && e3 === parseInt(String(e3), 10); } - search(e3) { - 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); + isValidJsonObject(e3, t3) { + return !(null != e3 || !t3) || o.default.isObject(e3); } - setReceivedInitialValidationData() { - this._receivedInitialValidationData = true, c.default.each(this._commonModules, (e3) => { - var t3; - null === (t3 = e3.viewModel) || void 0 === t3 || t3.setReceivedInitialValidationData(); - }); + isUndefinedOrNull(e3) { + return o.default.isNull(e3) || o.default.isUndefined(e3); } - setUiMetadataInfo(e3, t3, i3 = "id") { - this.uiMetaData || (this.uiMetaData = {}), this.uiMetaData[e3] || (this.uiMetaData[e3] = []), this.uiMetaData[e3].length && t3[i3] && (this.uiMetaData[e3] = this.uiMetaData[e3].filter((e4) => e4[i3] !== t3[i3])), this.uiMetaData[e3].push(t3); + isValidString(e3, t3) { + return !(null != e3 || !t3) || o.default.isString(e3); } - get shouldParseExpressions() { - return this._receivedInitialValidationData || !this.isCreated; + isValidStringOrArchVariableString(e3, t3) { + return !(null != e3 || !t3) || o.default.isString(e3) || !!e3 && "object" == typeof e3 && !!e3.isArchVariableString; } - get className() { - return "FlowViewModel"; + _infoCalledObject(e3, t3) { + return { title: "Called Object", methodName: t3, label: e3.displayTypeName }; } - get maxFlowSize() { - return this.definition.maxFlowSize; + _infoObject(e3) { + return { title: "Called Object", label: e3.displayTypeName }; } - get maxNameLength() { - return this.definition.commonLimits.name.maxLength; + _infoMethod(e3) { + return { title: "Method", methodName: e3 }; } - get nodeGuxIcon() { - return "file"; + _infoParmCtor(e3) { + return { title: "Parameter", methodName: "Constructor", label: e3, isCtorItem: true }; } - get 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; + _infoParm(e3, t3) { + return { title: "Parameter", methodName: t3, label: e3 }; } - set startUpObject(e3) { - 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); + _infoPropGet(e3) { + return { title: "Property", methodName: e3 + "(get)", label: e3 }; } - calcFlowSizeAsync() { - 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)); + _infoPropSet(e3, t3) { + return { title: "Parameter", methodName: t3 + "(set)", label: e3 }; } - traverse(e3) { - e3 && !e3.isCanceled && [this.tasks, this.menus].forEach((t3) => { - if (t3) { - for (let i3 = t3.length - 1; i3 >= 0; i3--) if (t3[i3].traverse(e3), e3.isCanceled) return; - } - }); + _infoVal(e3, t3) { + return { title: "Value", methodName: t3, label: e3 }; } - get supportsFlowExecutionData() { - return P.default.flowTypeSupportsExecutionData(this.type); + _itemIsInvalid(e3, t3, i3) { + this._checkItem(e3, true, t3, i3); } - get type() { - return this.info.type; + _logErrorInternal(e3) { + this.logError(`INTERNAL ERROR - ${e3 || ""}`); } - getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime(e3) { - const t3 = this.destinationFlowTypes.filter((e4) => L.default.doesFlowTypeLanguagesSupportTtsAndAsrRuntime(e4)); - return e3 || t3 && t3.length ? t3 : [this.info.type]; + _logErrorInternalAndThrow(e3) { + this.logErrorAndThrow(`INTERNAL ERROR - ${e3 || ""}`); } - getAllDestinationFlowTypesSupportAudioDataPlaybackForLang(e3) { - return this.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t3) => e3.getSupportsAudioDataPlaybackForFlowType(t3)); + _throwNotImplementedFunction(e3) { + this.logErrorAndThrow("the function '" + e3 + "' is not implemented."); } - getAllDestinationFlowTypesSupportSpeechRecForLang(e3) { - return this.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime().every((t3) => e3.getSupportsSpeechRecForFlowType(t3)); + _throwNotImplementedPropertyGet(e3) { + this.logErrorAndThrow("the getter for the property '" + e3 + "' is not implemented."); } - get hasDestinationFlowTypesThatSupportTtsAndAsrAtRuntime() { - return this.getDestinationFlowTypesThatSupportTtsAndAsrAtRuntime(true).length > 0; + _throwNotImplementedPropertySet(e3) { + this.logErrorAndThrow("the setter for the property '" + e3 + "' is not implemented."); } - getUnsupportedFlowTypes(e3) { - return c.default.isArray(e3) ? c.default.without(this.destinationFlowTypes, ...e3) : []; + getLogStrForItemInfo(e3) { + const t3 = []; + return this._appendLogStrName(t3, e3.name), this._appendLogStrId(t3, e3.id), this._createLogStrFromParts(t3); } - get destinationFlowTypes() { - return [this.info.type]; + get logStr() { + 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 destinationFlowTypeMap() { - return void 0 === this._destinationFlowTypeMap && (this._destinationFlowTypeMap = { [this.info.type]: true }), this._destinationFlowTypeMap; + get logStrTypeOnly() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - destinationFlowTypesInclude(e3) { - return !!this.destinationFlowTypeMap[e3]; + get isArchBaseObject() { + return true; } - updateInitialValueDependencies() { - c.default.each(this.variableGroup.flowVariables, (e3) => { - e3.updateDependencies(); - }), c.default.each(this.variableGroup.taskVariables, (e3) => { - e3.updateDependencies(); - }), this.variableGroup.getSystemVariablesWithInitialValues().forEach((e3) => e3.updateDependencies()); + logError(e3) { + if (!this._amLoggingErrorOrWarning) try { + this._amLoggingErrorOrWarning = true, c.default.itemError(this._infoObject(this), e3, this.logStr, this.displayTypeName); + } finally { + this._amLoggingErrorOrWarning = false; + } } - updateDependencies() { - c.default.each(this.tasks, (e3) => { - e3.updateDependencies(); - }), c.default.each(this.menus, (e3) => { - e3.updateDependencies(); - }), 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(); + logPromiseError(e3, t3, i3) { + if (!this._amLoggingErrorOrWarning) try { + let n3; + this._amLoggingErrorOrWarning = true, n3 = o.default.isObject(t3) && t3.message ? o.default.isString(i3) && i3.length ? `${i3} - ${t3}` : `${t3}` : o.default.isString(i3) && i3.length ? i3 : "no additional information.", c.default.itemError(e3, n3, this.logStr, this.displayTypeName); + } finally { + this._amLoggingErrorOrWarning = false; + } } - validate(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); + logErrorAndThrow(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); } - get versions() { - return this.info.versions; + logItemErrorAndThrow(e3, t3) { + 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)); } - getSupportedLanguagesForTtsEngine(e3) { - if (e3 && this.supportsLanguages && this.languagesSupportTtsAndAsrSettings) return this.languages.getLanguagesForTTSEngine(e3); + logItemNote(e3, t3) { + c.default.itemNote(e3, t3, this.logStr, this.displayTypeName); } - getSupportedLanguagesWithNoEngineSelected() { - if (this.supportsLanguages && this.languagesSupportTtsAndAsrSettings) return this.languages.getLanguagesWithNoEngineSelected(); + logItemVerboseNote(e3, t3) { + c.default.itemNoteVerbose(e3, t3, this.logStr, this.displayTypeName); } - setNewInstanceDefaults(e3) { - const t3 = []; - return c.default.each(this._autoManagedSettings, (e4) => { - if (c.default.isFunction(e4.setNewInstanceDefaults)) { - const i3 = e4.setNewInstanceDefaults(); - o.default.isPromiseAlike(i3) && t3.push(i3); - } - }), t3.length ? o.default.all(t3).then(() => this) : o.default.resolve(this); + logItemWarning(e3, t3) { + c.default.itemWarning(e3, t3, this.logStr, this.displayTypeName); } - createInitialActions() { - return n2.__awaiter(this, void 0, void 0, function* () { - const e3 = yield this._createInitialActions(); - return W.validateFlow(this), e3; - }); + logNote(e3) { + c.default.itemNote(this._infoObject(this), e3, this.logStr, this.displayTypeName); } - addCommonModuleActionReference(e3, t3, i3, n3) { - let r3 = this.getCommonModuleReference(t3.id, n3); - return r3 || (r3 = { actionReferences: [], id: t3.id, name: t3.displayName, version: n3, viewModel: i3 }, this._commonModules.push(r3)), r3.actionReferences.includes(e3.id) || r3.actionReferences.push(e3.id), r3; + logNoteVerbose(e3) { + c.default.itemNoteVerbose(this._infoObject(this), e3, this.logStr, this.displayTypeName); } - removeCommonModuleActionReference(e3, t3, i3) { - var n3; - if (this.isDestroying) return; - const r3 = this.getCommonModuleReference(t3, i3); - if (r3) { - const t4 = r3.actionReferences.indexOf(e3.id); - t4 >= 0 && r3.actionReferences.splice(t4, 1), 0 === r3.actionReferences.length && (this._commonModules.splice(this._commonModules.indexOf(r3), 1), null === (n3 = r3.viewModel) || void 0 === n3 || n3.destroy()); + logWarning(e3) { + if (!this._amLoggingErrorOrWarning) try { + this._amLoggingErrorOrWarning = true, c.default.itemWarning(this._infoObject(this), e3, this.logStr, this.displayTypeName); + } finally { + this._amLoggingErrorOrWarning = false; } } - get isEmbeddedFlow() { - return false; + logDeprecatedPropertyWarning(e3, t3, i3) { + let n3 = o.default.isString(t3) && t3.length ? `This property is deprecated. Please use the '${t3}' property instead.` : "This property is deprecated. Please do not use."; + o.default.isString(i3) && i3.length && (n3 += " " + i3), this.logItemWarning(e3, n3); } - get hasCommonModules() { - return this._commonModules.length > 0; + isFilterMatch(e3) { + return this._checkItemIsArchFilterObject(this._infoParm("archFilterObject", "isFilterMatch"), e3), e3.isMatch(this); } - getCommonModuleReference(e3, t3) { - return this._commonModules.find((i3) => i3.id === e3 && i3.version === t3); + } + p._checkMethodCallFeatureIsAvailable_shouldLog = true, t2.default = p; + }, 13720(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + get displayTypeName() { + return "ArchBaseObjectFilterCommon"; } - getCommonModuleReferenceByInstanceId(e3) { - return this._commonModules.find((t3) => { - var i3; - return (null === (i3 = t3.viewModel) || void 0 === i3 ? void 0 : i3.instanceId) === e3; - }); + get isArchBaseObjectFilterCommon() { + return true; } - _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) => 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)); - }); + isMatch(e3) { + return this._checkItemIsArchBaseObject(this._infoParm("archBaseObjectToCheck", "isMatch"), e3), this._isMatch(e3); } - getEmbeddedCommonModules() { - return this._commonModules.map((e3) => e3.viewModel).filter((e3) => !!e3); + _isMatch(e3) { + return false; } - getEmbeddedCommonModuleTasks() { - return this._commonModules.map((e3) => { - var t3; - return null === (t3 = e3.viewModel) || void 0 === t3 ? void 0 : t3.getCommonModuleTask(); - }).filter((e3) => !!e3); + } + t2.default = o; + }, 25446(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getEmbeddedCommonModuleChild(e3, t3, i3) { - var n3; - if (!t3 || !e3) return; - let r3; - return i3 && (r3 = this.getCommonModuleReferenceByInstanceId(i3)), r3 || (r3 = this._commonModules.find((t4) => { - var i4; - return (null === (i4 = t4.viewModel) || void 0 === i4 ? void 0 : i4.id) === e3; - })), r3 ? null !== (n3 = r3.viewModel.getTopLevelChild(t3)) && void 0 !== n3 ? n3 : r3.viewModel.getChild(t3) : void 0; + get _allowBlankObjectId() { + return false; } - addDefaultConfigSections(e3) { - e3 && (e3.flowMetaData = new Ie(this.flowMetaData), e3.flowMetaData.minimumServerVersion || (e3.flowMetaData.minimumServerVersion = "1.0"), e3.uiMetaData = {}, e3.variables = [], e3.flowSequenceItemList = []); + get displayTypeName() { + return "ArchBasePrompt"; } - _addToAutoManageSettings(e3) { - return this._autoManagedSettings.push(e3), e3; + get isArchBasePrompt() { + return true; } - getAutoManagedSettings() { - return [...this._autoManagedSettings]; + get name() { + return this._getCoreViewModel().name; } - _createInitialActions() { - return o.default.resolve(this); + get nameWithPrefix() { + return this._getCoreViewModel().expressionName; } - _setInitialTrackingNumberFromConfiguration(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); + get isSystemPrompt() { + return this._getCoreViewModel().isSystem; } - _getUniqueName(e3, t3, i3, n3) { - let r3, o2; - 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 (!c.default.isArray(i3)) break; - if (!c.default.find(i3, (e4) => { - if (e4) return o2 === e4.toLowerCase(); - })) break; - } - return r3; + get isUserPrompt() { + return this._getCoreViewModel().isUser; } - _extractSequenceItemViewModels(e3, t3, i3) { - if (e3.flowSequenceItemList) for (let n3 = 0; n3 < e3.flowSequenceItemList.length; n3++) { - const r3 = e3.flowSequenceItemList[n3]; - 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); - } - } + } + t2.default = o; + }, 6458(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(45894)), o = i2(79069); + class r extends n2.default { + constructor(e3) { + super(e3.skill, o.skillManager), this._checkItemUndefinedOrNull(this._infoParmCtor("coreSkillValuePair"), e3), this._coreSkillValuePair = e3; } - _destroy() { - super._destroy(); - 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(); + get displayTypeName() { + return "ArchBaseSkillValuePair"; } - _postDestroy() { - super._postDestroy(), I.actionRegistrationService.flowDestroyed(this), C.audioRegistrationService.flowDestroyed(this), D.emitter.emit(D.cleanUpFlow, this), this.amObjectEventEmitter && B.removeEventEmitter(this); + get skill() { + return this.coreFactory.createArchValueFromExpression(this._coreSkillValuePair.skill); } - _loadConfiguration(e3) { - 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 ve.default({ displayName: e4.name, id: e4.id, type: r2.flowTypes.flowTypeCommonModule }); - let i3; - if (e4.model) { - i3 = new he.default(t3, this); - const n3 = i3.createFlowConfiguration(e4.model); - i3.loadConfiguration(n3); - } - return { actionReferences: e4.actionReferences, id: e4.id, name: e4.name, version: e4.version, viewModel: i3 }; - } catch (t3) { - this.topic.exception(t3, `failed to load config for common module ${e4.id}`); - } - }).filter((e4) => e4)), c.default.invoke(this._uninitializedObjects, "initialize"), this._uninitializedObjects.length = 0); + get isArchBaseSkillValuePair() { + return true; } - _initializeDesignTime() { - super._initializeDesignTime(), c.default.each(this.tasks, (e3) => { - e3.initializeDesignTime(); - }), this.menus && c.default.each(this.menus, (e3) => { - e3.initializeDesignTime(); - }), 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"); + } + t2.default = r; + }, 46209(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(16468)), r = n2.__importDefault(i2(94225)), a = i2(79069); + class s extends o.default { + constructor(e3) { + super(e3, a.skillManager), this._checkItemUndefinedOrNull(this._infoParmCtor("coreSkillValuePairs"), e3); } - _postInitializeDesignTime() { - super._postInitializeDesignTime(), this.loaded = true, this.isEmbeddedFlow || D.emitter.emit(D.flowLoaded, this), this._finishLoadTimeCallback && (this._finishLoadTimeCallback(), delete this._finishLoadTimeCallback); + get _globalTypeName() { + return ""; } - _getUsesSpeechRec() { - return false; + get displayTypeName() { + return "ArchBaseSkillValuePairs"; } - preExport(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return e3; - }); + _addNetworkModelToCollection(e3) { + const t3 = this._coreExpression, i3 = t3.createItem(void 0); + return e3 && i3.skill.updateFromConfigListManagerItem(e3), t3.addItem(i3), this.logNote("added skill value pair" + (e3 ? " " + this.getLogStrForItemInfo(e3) : "")), i3; } - preImport(e3) { + addLiteralBySkillIdAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { - 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, 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(); - }))); + return this._checkItemIsValidLiteralString(this._infoParm("skillId", "addLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillIdAsync"), t3, true), yield this._addLiteralByIdAsync(e3, "Skill"), r.default.executeCallback(this, "addLiteralBySkillIdAsync", t3, this); }); } - postCreate(e3) { + addLiteralBySkillNameAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("skillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), yield this._addLiteralByValueAsync(e3, "Skill"), r.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this); }); } - postSave(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - }); + addSkill(e3) { + this._checkItemIsValidLiteralString(this._infoParm("skillExpressonText", "addSkill"), e3, true); + const t3 = this._addNetworkModelToCollection(null), i3 = this.coreFactory.createArchWrapper(t3.skill); + return e3 && i3.setExpression(e3), i3; } - postScriptingCreateFlowAsync(e3) { + get isArchBaseSkillValuePairs() { + return true; } - postImport(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - }); + } + t2.default = s; + }, 23335(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); } - getSaveAsConfig(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return { newConfig: F.getStringifiedConfiguration(this) }; - }); + get _coreExpression() { + return this._coreExpressionInternal; } - toString() { - return `Flow <${super.toString()}>`; + _getCoreExpression() { + return this._coreExpression; } - get areFlowFilterPreviewOptionsAvailable() { - return false; + get _globalTypeName() { + return console.log(`INTERNAL ERROR - _globalTypeName not implemented for '${this.displayTypeName}'`), ""; } - get flowViewFilterOptions() { - var e3, t3, i3, n3, r3, o2; - return { language: null === (t3 = null === (e3 = this.uiMetaData) || void 0 === e3 ? void 0 : e3.flowViewFilterOptions) || void 0 === t3 ? void 0 : t3.language, outputMode: null === (n3 = null === (i3 = this.uiMetaData) || void 0 === i3 ? void 0 : i3.flowViewFilterOptions) || void 0 === n3 ? void 0 : n3.outputMode, enabled: (null === (o2 = null === (r3 = this.uiMetaData) || void 0 === r3 ? void 0 : r3.flowViewFilterOptions) || void 0 === o2 ? void 0 : o2.enabled) || false }; + get consumesSecureData() { + return this._coreExpression.consumesSecureData; } - set flowViewFilterOptions(e3) { - this.uiMetaData || (this.uiMetaData = {}), this.uiMetaData.flowViewFilterOptions = { outputMode: e3.outputMode, language: e3.language, enabled: e3.enabled || false }; + get displayTypeName() { + return "ArchBaseValue"; } - get areFlowFilterPreviewOptionsActive() { - var e3, t3, i3; - return !!this.areFlowFilterPreviewOptionsAvailable && (null === (e3 = this.flowViewFilterOptions) || void 0 === e3 ? void 0 : e3.enabled) && (!!(null === (t3 = this.flowViewFilterOptions) || void 0 === t3 ? void 0 : t3.language) || !!(null === (i3 = this.flowViewFilterOptions) || void 0 === i3 ? void 0 : i3.outputMode)); + get definition() { + if (!this._globalTypeName) return null; + const e3 = p.globalTypes[this._globalTypeName]; + return this._checkItem(this._infoVal("globalType", "definition(get)"), !e3, `INTERNAL ERROR - unable to find global type for '${this._globalTypeName}'`), this.coreFactory.createArchDefinitionValue(e3); } - getFlowFilterPreviewOptionsExpressionDisplayOptions(e3) { - if (!this.areFlowFilterPreviewOptionsAvailable) return; - let 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; + get logStr() { + if (!this._coreExpression) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrParentParts(e3, this._coreExpression.parent), this._appendLogStrProperty(e3, this._coreExpression.label), this._createLogStrFromParts(e3); } - getComplexTypeLiteralValues(e3) { + _createStringLiteralForText(e3) { + return '"' + this._escapeTextForExpression(e3) + '"'; } - getVariableViewModelFromAssignmentViewModel(e3) { - if (!(null == e3 ? void 0 : e3.id)) return; - let t3 = this.variableGroup.getVariable(e3.id); - if (!t3 && this.hasCommonModules) for (const i3 of this.getEmbeddedCommonModules()) { - const n3 = i3.variableGroup.getVariable(e3.id); - if (n3) { - t3 = n3; - break; + _escapeTextForExpression(e3) { + return d.default.rawEscapeStringForExpressionMode(e3); + } + _failIfOutput(e3) { + this._settings.isOutput && this.logErrorAndThrow("assignment is invalid because this value is an output."); + } + _getCoreExpressionText() { + return this._coreExpression.text; + } + _getAssignableProperty(e3) { + if (this._getCoreViewModel().isLiteralMode) return this.coreFactory.createArchWrapper(this._getCoreViewModel().getProperty(e3)); + } + _getValueTextCommon() { + if (this.isExpression) return this.getExpressionText(); + if (this.isVariable) { + const e3 = this.getVariable(); + return e3 ? e3.name : ""; + } + if (this.isNoValue) return ""; + if (this.isBuilder) return this._getCoreExpressionText(); + if (this.isLiteral && this.isCollection) { + const e3 = this.length; + if (!o.default.isUndefined(e3) && o.default.isFunction(this.getItemByIndex)) { + const t3 = []; + for (let i3 = 0; i3 < e3; i3++) { + const e4 = this.getItemByIndex(i3); + if (e4) { + const n3 = e4.valueText; + o.default.isUndefined(n3) ? (this._logErrorInternal(`Item ${i3} in collection isn't returning a string for the valueText property. Using a blank string for the item's valueText.`), t3.push("")) : t3.push(n3); + } else this._logErrorInternal(`Item ${i3} in collection isn't an ArchBaseValue. Using a blank string for the item's valueText.`), t3.push(""); + } + return t3; } } - if (!t3) { - 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, R.error)("found it using uppercase id"); + } + _processTextAndFailIfInvalid(e3) { + this._coreExpression.processText(true), this._coreExpression.resultType !== h.ParseResultTypes.error || e3 || this.logErrorAndThrow("expression text of '" + this._coreExpression.text + "' is in error. Reason: " + (this._coreExpression.resultMessage ? this._coreExpression.resultMessage : "Invalid.")); + } + _processValueOverridden() { + var e3; + (this.settings.hasFlowLevelDefault || (null === (e3 = this._coreExpression.options) || void 0 === e3 ? void 0 : e3.allowFlowLevelDefault)) && (this.logNote("setting the value so it overrides a flow level default"), this._coreExpression.isOverride = true); + } + _setExpression(e3, t3) { + null == t3 && (t3 = ""), this._checkItemIsValidLiteralString(e3, t3), this._checkItem(e3, !this._settings.isWritable, "you cannot assign the expression text '" + t3 + "' because this value " + this.settings.logStr + " is not writable."), this._checkItem(e3, !this._settings.canBeExpression, "you cannot assign the expression text '" + t3 + "' because this value " + this.settings.logStr + " cannot be an expression."), this.logNote("assigning expression [Text: '" + t3 + "', ValueType: '" + this.displayTypeName + "']"), this._coreExpression.isNormalExpression || this._coreExpression.isCollectionExpression ? this._coreExpression.setAsExpression(t3) : this._coreExpression.setText(t3), this._processValueOverridden(), this._processTextAndFailIfInvalid(l.default.allowInvalidExpressionText), this._registerExpressionServerSearchesOnAsyncTracker(); + } + _registerExpressionServerSearchesOnAsyncTracker() { + const e3 = this._coreExpression, t3 = e3._serverSearches; + if (!Array.isArray(t3) || !t3.length) return; + const i3 = e3.propertyName || this.displayTypeName; + for (let e4 = 0; e4 < t3.length; e4++) { + const n3 = t3[e4]; + r.default.isPromiseAlike(n3) ? y.default.addPromise(n3, `setExpression server search (${i3}) [${e4}]`) : this._logErrorInternal(`setExpression server search at index ${e4} on '${i3}' is not promise-like (${typeof n3}) and was not registered on ArchAsyncTracker.`); } - 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)); - } }); - } - }))); - }); + _setNotWritableOverride(e3) { + return this.settings._setNotWritableOverride(e3); } - canApplyChangeSet(e3, t3, i3) { - return (0, Se.canApplyChangeSet)(this, e3, t3, i3); + _setWritableOverride(e3) { + return this.settings._setWritableOverride(e3); } - 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 }); - }); + _setLiteral(e3, t3, i3) { + this._checkItem(e3, !this._settings.isWritable, "you cannot assign a literal because this value " + this.settings.logStr + " is not writable."), this._checkItem(e3, !this._settings.canBeLiteral, "you cannot assign a literal because this value " + this.settings.logStr + " cannot be a literal."); + const n3 = o.default.isString(i3) && i3.length > 0 ? `, Val: '${i3}'` : ""; + this.logNote(`assigning literal [Text: '${t3}', ValueType: '${this.displayTypeName}'${n3}]`), this._coreExpression.isNormalExpression || this._coreExpression.isCollectionExpression ? this._coreExpression.setAsLiteral(t3) : this._coreExpression.setText(t3), o.default.isString(i3) && i3.length > 0 && this._coreExpression.config && this._coreExpression.config.root && (this._coreExpression.config.root.val = i3, this.logNote("literal value successfully applied to config root.")), this._processValueOverridden(), this._processTextAndFailIfInvalid(); } - } - 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 = 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 = 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 dataType() { + return this._dataType; } - get yamlName() { - return this.isCustomTypeArchitectBuiltIn && this.isCustomType && this.isCollection ? `${this.customTypeNameWithoutContext}Collection` : this.customTypeNameWithoutContext; + get flowLevelDefault() { + if (this._coreExpression.options && this._coreExpression.options.isOverridableFlowLevelDefaultExpression) return null; + const e3 = this._coreExpression.propertyName; + if (!e3) return null; + if (!this._settings.hasFlowLevelDefault) return null; + const t3 = this._coreExpression.parentFlow.defaultSettings.getDefaultExpression(this.parent._actionTypeId, e3); + return t3 || this.logErrorAndThrow("flow level default not found for '" + e3 + "'"), this.coreFactory.createArchWrapper(t3); } - get className() { - return "JsonType"; + getExpressionText() { + if (this.isExpression) return this._coreExpression.text; + } + getVariable() { + const e3 = this._coreExpression.variableReference; + if (e3 && e3.val) { + const t3 = this._coreExpression.parentFlow.variableGroup.getVariable(e3.val); + if (t3) return this.coreFactory.createArchWrapper(t3); + } } - get bootstrapDataType() { - return this.typeIdentifier; + get hasError() { + return this._coreExpression.hasError; } - get customTypeName() { - var e3; - if (!this.isCustomType) return; - if (this.schemaName) return this.schemaName; - const t3 = null === (e3 = this.model.support) || void 0 === e3 ? void 0 : e3.expressionDataType, i3 = null == t3 ? void 0 : t3.indexOf("::"); - return -1 !== i3 ? t3.substring(i3 + 2).split("_").map((e4) => e4.charAt(0).toUpperCase() + e4.slice(1)).join("") : void 0; + get hasErrorOrWarning() { + return this.hasError || this.hasWarning; } - get customTypeNameWithoutContext() { - var e3; - return (null === (e3 = this._customJsonIdentifierInfo) || void 0 === e3 ? void 0 : e3.namespaceSupportsContext) ? this._customJsonIdentifierInfo.getEntityNameWithoutContext(this.schemaName) : this.customTypeName; + get hasWarning() { + return this._coreExpression.hasWarning; } - 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 !== p.CustomJsonNamespace.architect; - let n3 = ""; - if (null == e3 ? void 0 : e3.length) if (i3) { - 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 = O.json.general.customJSONLabel), this.isCollection ? i3 ? (0, A.sprintf)(O.expression.collection, e3) + ` (${this.customTypeNamespaceLabel})` : (0, A.sprintf)(O.expression.collection, n3) : n3; + get isArchBaseValue() { + return true; } - getDisplayString(e3) { - return !this.isCustomType || e3 ? super.getDisplayString(e3) : this.customTypeName; + get isBuilder() { + return this._coreExpression.mode === u.ExpressionModes.builder; } - canConvertLitToExpression(e3) { - return true; + get isExpression() { + return this._coreExpression.isAudioExpression && true === this._coreExpression.customExpressionMode || this._coreExpression.mode === u.ExpressionModes.expression; } - createExpressionOptionClass() { - 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 isNoValue() { + return this._coreExpression.mode === u.ExpressionModes.noValue; } - get atLeastOnePropertyMustBeSetErrorText() { - return this._atLeastOnePropertyMustBeSetErrorText; + get isNoValueNoFallback() { + return this._coreExpression.isNoValueModeWithNoFallback; } - set atLeastOnePropertyMustBeSetErrorText(e3) { - this._atLeastOnePropertyMustBeSetErrorText = e3; + get isVariableInitialValue() { + return this._coreExpression.isVariableInitialValue; } - resolveAtLeastOnePropertyMustBeSetErrorText(e3) { - if (!r2.default.isEmpty(this.properties)) return (0, l.areOptionsJsonType)(e3) && e3.atLeastOnePropertyMustBeSetErrorText ? e3.atLeastOnePropertyMustBeSetErrorText : this.atLeastOnePropertyMustBeSetErrorText || void 0; + get isLiteral() { + return this._coreExpression.mode === u.ExpressionModes.literal; } - 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)); + get isVariable() { + return this._coreExpression.mode === u.ExpressionModes.variable; } - 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; - } + get isCollection() { return false; } - static hasAnyStandardModeSubExpressionIncludedAtRuntime(e3) { - return !!e3.length && e3.some((e4) => !b.isStandardModeSubExpressionIgnoredAtRuntime(e4)); + get overridesDefaultValue() { + return this._coreExpression.isOverride; } - 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; + get parent() { + return this.coreFactory.createArchWrapper(this._coreExpression.parent); } - static isWholeValueArchitectExpressionText(e3) { - const t3 = null == e3 ? void 0 : e3.trim(); - return !!t3 && t3.startsWith(_.default.leftCurlies) && t3.endsWith(_.default.rightCurlies); + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreExpression.parentFlow); } - 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); + get settings() { + return this._settings; } - getPropertyDefinition(e3, t3) { - if (!e3) return; - let i3 = super.getPropertyDefinition(e3, t3); - return !i3 && this.additionalProperties && (C || (C = new S.PropertyDefinition(null, I, I.description)), i3 = C), i3; + setExpression(e3) { + this._setExpression(this._infoParm("expressionText", "setExpression"), e3); } - get supportsLiteralEditor() { - return true; + _getUserCreatableVariableScopes(e3) { + const t3 = this._coreExpression.getParentTask() ? this._coreExpression.getParentTask().userCreatableVariableScopes : [], i3 = e3 ? this._coreExpression.parentFlow.userCreatableVariableScopes : []; + return t3.concat(i3); } - validateLiteral(e3, t3) { - if (!this.isCustomType && !t3.options.isCustomJsonType) { - 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; + _resolveToCoreVariable(e3, t3) { + let i3, n3; + if (t3.isArchBaseVariable) { + if (i3 = t3._coreVariableViewModel, this._checkItem(e3, !i3, "INTERNAL ERROR - there is no core variable associated with this Architect variable."), n3 = i3.parent, t3 = i3.name, i3.isTaskVariable) { + const n4 = i3.parent, o2 = this._coreExpression.getParentTask(); + n4 !== o2 && this._itemIsInvalid(e3, "you cannot assign '" + t3 + "' to this value because it is declared in a different task from this value. The variable exists in the task '" + (n4 ? n4.name : "unknown") + "' and this value exists in the task '" + (o2 ? o2.name : "") + "'"); + } + } else { + const r2 = this._coreExpression.parentFlow; + let s2, l2 = false; + const u2 = false, d2 = false; + let p2, _2, h2 = false; + const y2 = (0, m.getScope)(t3); + switch (y2) { + case f.scopes.call: + case f.scopes.chat: + case f.scopes.email: + case f.scopes.form: + case f.scopes.interaction: + case f.scopes.menu: + case f.scopes.message: + case f.scopes.process: + case f.scopes.prompt: + case f.scopes.promptSystem: + case f.scopes.session: + case f.scopes.slot: + case f.scopes.survey: + case f.scopes.workflow: + case f.scopes.workitem: + l2 = true, _2 = f.scopes[y2], p2 = (0, g.getUnscopedName)(t3), n3 = r2, s2 = n3.displayName; + break; + case f.scopes.common: + case f.scopes.flow: + h2 = true, _2 = f.scopes[y2], p2 = (0, g.getUnscopedName)(t3), n3 = r2, s2 = n3.displayName; + break; + case f.scopes.bot: + case f.scopes.state: + case f.scopes.task: + _2 = f.scopes[y2], p2 = (0, g.getUnscopedName)(t3), n3 = this._coreExpression.getParentTask(), n3 || this.logItemErrorAndThrow(e3, `the variable '${t3}' is not valid for use here because it is a '${y2}' scoped variable and there is no container available in which it could belong.`), s2 = n3.name; + break; + default: { + const t4 = this._getUserCreatableVariableScopes(true); + this._itemIsInvalid(e3, `the scoped variable name must begin with one of the following scope(s): '${o.default.isArray(t4) && t4.length ? t4.join(".', '") : "flow"}.'`); + } + } + const S2 = r2.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 !== 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, !o.default.contains(n3.userCreatableVariableScopes, _2), `Unable to create the variable '${t3}' because the creatable variable scope(s) are ( '${o.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."), 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 true; + 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; } - get isCustomType() { - return this._customJsonIdentifierInfo.isCustomJsonType; + setExpressionFromVariable(e3) { + const t3 = this._infoParm("variableToAssign", "setExpressionFromVariable"); + this._checkItemUndefinedOrNull(t3, e3); + const i3 = "string" == typeof e3 ? !this.isValidString(e3) : !e3.isArchBaseVariable; + this._checkItem(t3, i3, "you must pass in either an Architect variable or string like 'Flow.MyString' that identifies the variable to set."), this._checkItem(t3, !this._settings.isWritable, "you cannot assign a variable because this value " + this.settings.logStr + " is not writable."), this._checkItem(t3, !this._settings.canBeExpression, "you cannot assign a variable because this value " + this.settings.logStr + " cannot be an expression."); + const n3 = this._resolveToCoreVariable(t3, e3); + return this._coreExpression.mode = u.ExpressionModes.expression, this._coreExpression.setText(n3.name), this._processValueOverridden(), "string" == typeof e3 ? this.coreFactory.createArchWrapper(n3) : e3; } - get isJsonType() { - return true; + setFromValue(e3) { + var t3, i3; + const n3 = this._infoParm("sourceValue", "setFromValue"); + this._checkItemUndefinedOrNull(n3, e3), this._checkItem(n3, !e3.isArchBaseValue, "you must pass in an ArchBaseValue instance."), this._checkItem(n3, !this._settings.isWritable, "you cannot set from value because this value " + this.settings.logStr + " is not writable."), this._checkItem(n3, !(0, _.isMatch)(e3._coreExpression.type, this._coreExpression.type, _.settings.exact), "the source value type '" + (null === (t3 = e3._coreExpression.type) || void 0 === t3 ? void 0 : t3.displayString) + "' does not match the destination value type '" + (null === (i3 = this._coreExpression.type) || void 0 === i3 ? void 0 : i3.displayString) + "'."), this._coreExpression.copyExpressionValue(e3._coreExpression), this._processValueOverridden(); } - get customTypeNamespace() { - return this._customJsonIdentifierInfo.namespace; + setNoValue() { + const e3 = this._infoMethod("setNoValue"); + this._checkItem(e3, !this._settings.canBeNoValue, "you cannot assign no value because this value " + this.settings.logStr + " needs to have a value assigned to it."), this._checkItem(e3, !this._settings.isWritable, "you cannot assign no value because this value " + this.settings.logStr + " is not writable."), this._coreExpression.setAsNoValue(), this._processValueOverridden(); } - get isCustomTypeContextInput() { - return this._customJsonIdentifierInfo.isContextInput; + setNoValueNoFallback() { + const e3 = this._infoMethod("setNoValueNoFallback"); + this._checkItem(e3, !this._settings.canBeNoValue, "you cannot assign no value because this value " + this.settings.logStr + " needs to have a value assigned to it."), this._checkItem(e3, !this._settings.canBeNoValueNoFallback, "you cannot assign no value with no fallback because this value " + this.settings.logStr + " does not allow it."), this._checkItem(e3, !this._settings.isWritable, "you cannot assign no value because this value " + this.settings.logStr + " is not writable."), this._coreExpression.setAsNoValueNoFallback(), this._processValueOverridden(); } - get isCustomTypeContextNone() { - return this._customJsonIdentifierInfo.isContextNone; + setVariable(e3) { + const t3 = this._infoParm("variableToAssign", "setVariable"); + this._checkItemUndefinedOrNull(t3, e3), this._checkItem(t3, !e3.isArchBaseVariable && !this.isValidString(e3), "you must pass in either an Architect variable or string like 'Flow.MyString' that identifies the variable to set."), this._checkItem(t3, !this._settings.canBeVariable, "you cannot assign a variable because this value " + this.settings.logStr + " cannot be a variable."), this._checkItem(t3, !this._settings.isWritable, "you cannot assign a variable because this value " + this.settings.logStr + " is not writable."); + const i3 = this._resolveToCoreVariable(t3, e3); + return this._settings.isOutput && i3.isReadOnly && this._itemIsInvalid(t3, "the variable '" + i3.name + "' cannot be set on this output value because it is read-only."), this._coreExpression.mode = u.ExpressionModes.variable, this._coreExpression.setText(i3.name), this._processValueOverridden(), e3.isArchBaseVariable ? e3 : this.coreFactory.createArchWrapper(i3); } - get isCustomTypeContextOutput() { - return this._customJsonIdentifierInfo.isContextOutput; + get valueText() { } - get isCustomTypeContextRecord() { - return this._customJsonIdentifierInfo.isContextRecord; + static get definition() { + const e3 = this.prototype; + return e3._globalTypeName ? (e3._ensureSessionIsConnected(e3._infoPropGet("definition"), s.default), e3.coreFactory.createArchDefinitionValue(p.globalTypes[e3._globalTypeName])) : null; } - get isCustomTypeContextSchemaData() { - return this._customJsonIdentifierInfo.isContextSchemaData; + } + t2.default = A; + }, 17405(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isCustomTypeContextSchemaDataPatch() { - return this._customJsonIdentifierInfo.isContextSchemaDataPatch; + get displayTypeName() { + return "ArchBaseValueBasic"; } - get customTypeContext() { - return this._customJsonIdentifierInfo.context; + get isArchBaseValueBasic() { + return true; } - get doesNamespaceSupportInputOutput() { - return o.namespaceSupportsInputOutput(this.customTypeNamespace); + } + t2.default = o; + }, 54063(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(23335)), r = n2.__importStar(i2(72155)); + class a extends o.default { + constructor(e3) { + super(e3); } - get customTypeNamespaceLabel() { - if (this.isCustomType) return this._customJsonIdentifierInfo.namespaceLabel || this._customJsonIdentifierInfo.namespace; + addItemToCollection() { + return r.addItemToCollection(this); } - get isCustomTypeArchitectBuiltIn() { - return this._customJsonIdentifierInfo.isNamespaceArchitect; + get canModifyContents() { + return void 0 !== r.ensureCollectionExpressionIsModifiable(this, false); } - _getLiteralValueOfExpression() { - return ""; + get displayTypeName() { + return "ArchBaseValueCollection"; } - set schemaName(e3) { - this._schemaName = e3; + get length() { + return this.isLiteral ? this._getCoreViewModel().collectionItems.items.length : void 0; } - get schemaName() { - return this._schemaName; + getItemByIndex(e3) { + const t3 = this._infoParm("index", "getItemByIndex"); + return this._checkItemIsValidLiteralIntInRange(t3, e3, 0, this.length), this.isLiteral ? this.coreFactory.createArchWrapper(this._getCoreViewModel().collectionItems.items[e3]) : void 0; } - get nullPropertyValueNoOpWarningText() { - return this._nullPropertyValueNoOpWarningText; + get isArchBaseValueCollection() { + return true; } - set nullPropertyValueNoOpWarningText(e3) { - this._nullPropertyValueNoOpWarningText = e3; + get isCollection() { + return true; } - 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)); + setLiteralEmptyCollection() { + this.settings.canBeLiteral && this._getCoreViewModel().setLiteralEmptyCollection(); } - getYamlObjectForLiteralSingleton(e3) { - let t3; - super.getYamlObjectForLiteralSingleton(e3); - try { - t3 = JSON.parse(e3.text); - } catch (e4) { - } - return r2.default.isObject(t3) || r2.default.isUndefined(t3) ? e3.text : t3; + } + t2.default = a; + }, 54757(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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); + get displayTypeName() { + return "ArchBaseValueCollectionBasic"; } - isUserCreatableForFlow(e3) { - return this.isCustomType ? this.isCustomTypeArchitectBuiltIn ? super.isUserCreatableForFlow(e3) : !!e3.destinationFlowTypes.every((e4) => { - var t3; - 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); + get isArchBaseValueCollectionBasic() { + return true; } - isUserCreatableForFlowType(e3) { - var t3; - return this.isCustomType ? this.isCustomTypeArchitectBuiltIn ? super.isUserCreatableForFlowType(e3) : !!(null === (t3 = T.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsCustomJsonTypeUserCreatedVariables) : super.isUserCreatableForFlowType(e3); + get valueText() { + return this._getValueTextCommon() || []; } - convertLitToExpression(e3, t3) { - if (r2.default.isUndefined(t3)) return ""; - const i3 = s.validateLiteralJson(t3); - if (i3 && i3.errorText) { - if ("" === t3) return ""; - const e4 = JSON.stringify(t3); - return `JsonParse("${null == e4 ? void 0 : e4.replaceAll(/"/g, '\\"')}")`; - } - return `JsonParse(${JSON.stringify(t3)})`; + } + t2.default = o; + }, 72155(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ensureCollectionExpressionIsModifiable = o, t2.addItemToCollection = function(e3) { + const t3 = e3._getCoreViewModel(); + t3.isLiteralMode || t3.setModeWithTransition(n2.literal), o(e3, true, "addItemToCollection", "You cannot add items to it."); + const i3 = t3.collectionItems, r = t3.type.createExpressionOptionClass(); + e3.isVariableInitialValue && r.setAsInput(true); + const a = i3.createItem(null, null, r); + i3.addItem(a); + const s = e3.coreFactory.createArchWrapper(a); + return e3.logNote("added a new ArchBaseValue of type '" + s.dataType.label + "' to the collection."), s; + }; + const n2 = i2(31635).__importStar(i2(63352)); + function o(e3, t3, i3, n3) { + const o2 = e3._getCoreViewModel(); + if (o2 && o2.collectionItems && o2.collectionItems.isExpressionList) return o2; + if (!t3) return; + const r = e3._infoCalledObject(e3, i3); + e3._itemIsInvalid(r, "the contents of this " + e3.displayTypeName + " are not modifiable." + (n3 ? " " + n3 : "")); + } + }, 55988(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(23335)); + class o extends n2.default { + constructor(e3) { + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreExpressionContainerViewModel"), e3), this._coreExpressionContainerViewModel = e3; } - _isAvailableForFlowType(e3, t3) { - var i3; - if (!this.isCustomType) return super._isAvailableForFlowType(e3); - if (!this._isCustomTypeFeatureAvailable) return false; - if (this.isCustomTypeArchitectBuiltIn) { - const t4 = null === (i3 = this.model.support) || void 0 === i3 ? void 0 : i3.supportedFlowTypes; - return !!t4 && !r2.default.isUndefined(t4[e3]); - } - return super._isAvailableForFlowType(e3); + get displayTypeName() { + return "ArchBaseValueContainer"; } - get _isCustomTypeFeatureAvailable() { - if (!this.isCustomType) return false; - if (void 0 === this._featureAvailabilityCheckResult) switch (this.customTypeNamespace) { - 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 p.CustomJsonNamespace.architectFlow: - this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customJSONV2); - break; - case p.CustomJsonNamespace.conversationAttribute: - this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customConversationAttributes); - break; - case p.CustomJsonNamespace.decisionTable: - this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.ruleBasedDecisionsFeature); - break; - case p.CustomJsonNamespace.userDefined: - this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.customJSONUserDefinedTypes); - break; - case p.CustomJsonNamespace.worktype: - this._featureAvailabilityCheckResult = a.isFeatureAvailable(f.default.workItemFlows); - break; - case p.CustomJsonNamespace.botConnector: - case p.CustomJsonNamespace.composerScript: - case p.CustomJsonNamespace.dataAction: - case p.CustomJsonNamespace.externalContact: - case p.CustomJsonNamespace.structuredParticipantData: - default: - this._featureAvailabilityCheckResult = false; - } - return this._featureAvailabilityCheckResult; + get isArchBaseValueContainer() { + return true; } - isAvailableAsInputForFlowType(e3) { - return !this.isCustomType && super.isAvailableAsInputOrOutputForFlowType(e3, "flowInput"); + _getNamedValueByIndex(e3) { + const t3 = this._infoParm("index", "getNamedValueByIndex"); + return this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, 0 === this._coreExpressionContainerViewModel.items.length, "supplied index of " + e3 + " is invalid. There are no items in the array."), this._checkItem(t3, e3 >= this._coreExpressionContainerViewModel.items.length || e3 < 0, "supplied index of " + e3 + " is invalid. The allowable range is 0 to " + (this._coreExpressionContainerViewModel.items.length - 1)), this.coreFactory.createArchWrapper(this._coreExpressionContainerViewModel.items[e3]); } - isAvailableAsOutputForFlowType(e3) { - return !this.isCustomType && this.isAvailableAsInputOrOutputForFlowType(e3, "flowOutput"); + get _length() { + return this._coreExpressionContainerViewModel.items.length; } - get yamlTypeName() { - if (this.isCustomType) { - const e3 = "customJson"; - return this.isCollection ? e3 + "Collection" : e3; - } - return super.yamlTypeName; + } + t2.default = o; + }, 81574(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(23335)), r = n2.__importDefault(i2(73198)); + class a extends o.default { + constructor(e3) { + super(e3); } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - return i3 || t3 || ""; + get displayTypeName() { + return "ArchBaseValueSingleton"; } - get customTypeInfo() { - return this._customJsonIdentifierInfo; + get isArchBaseValueSingleton() { + return true; } - addYamlExportTypeInfo(e3) { - 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 isCollection() { + return false; } - get hasRichLiteralEditor() { - return this.isCustomType; + setExpressionNotSet() { + return this.setExpression(r.default.notSet); + } + get valueText() { + let e3 = this._getValueTextCommon(); + return void 0 === e3 && this.isLiteral && (e3 = this._getCoreExpressionText()), "string" == typeof e3 ? e3 : ""; } } - t2.JsonType = b; - }, 82044: function(e2, t2, i2) { + t2.default = a; + }, 83663(e2, t2, i2) { "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(63352), r = n2.__importDefault(i2(81574)); + class a extends r.default { + constructor(e3) { + super(e3), this._coreExpressionViewModel = e3; } - return a; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.combineLatestWith = void 0; - var o = i2(64948); - t2.combineLatestWith = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return o.combineLatest.apply(void 0, r2([], n2(e3))); - }; - }, 82118: (e2, t2, i2) => { + get displayTypeName() { + return "ArchBaseValueWithAssignableProperties"; + } + get isArchBaseValueWithAssignableProperties() { + return true; + } + setLiteral() { + this._getCoreViewModel().mode = o.ExpressionModes.literal; + } + } + t2.default = a; + }, 31824(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), c = i2(640), d = i2(71528); + const n2 = i2(31635), o = n2.__importDefault(i2(37873)), r = 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 o.default { + static get definition() { + const e3 = this.prototype; + return e3._globalTypeName ? (e3._ensureSessionIsConnected(e3._infoPropGet("definition"), r.default), e3.coreFactory.createArchDefinitionVariable(s.globalTypes[e3._globalTypeName])) : null; + } 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); + super(e3), this._coreVariableViewModel = e3; + } + get _globalTypeName() { + console.log(`INTERNAL ERROR - _globalTypeName not implemented for '${this.displayTypeName}'`); + } + get displayTypeName() { + return "ArchBaseVariable"; + } + get definition() { + return this._globalTypeName ? this.coreFactory.createArchDefinitionVariable(s.globalTypes[this._globalTypeName]) : null; + } + get 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._coreVariableViewModel.parentFlow) && !this.cannotDeleteReason; + } + get cannotDeleteReason() { + return this._coreVariableViewModel.getDeletionTooltip(true); + } + get dataType() { + return this.coreFactory.createArchWrapper(this._coreVariableViewModel.type); + } + get description() { + return this._coreVariableViewModel.description; + } + set description(e3) { + const t3 = this._infoParm("value", "description"); + this._checkItemIsValidLiteralString(t3, e3, true), this._coreVariableViewModel.description = d.isNullOrUndefined(e3) || "" === e3 ? void 0 : e3; + } + get isArchBaseVariable() { + return true; + } + get isInput() { + return this._coreVariableViewModel.isInput; + } + set isInput(e3) { + const t3 = this._infoPropSet("newValue", "isInput"); + this._checkItemIsValidLiteralBool(t3, e3); + const i3 = {}; + e3 && this.isSecure && (l.variablePropertySupportedSetService.getIsSecureInputOk(i3, e3, this.isSecure) || this._itemIsInvalid(t3, i3.displayString)), this._coreVariableViewModel.isInput = e3, this._checkItem(t3, this.isInput !== e3, "The isInput setting of '" + e3 + "' could not be set on the variable."), this.logNote("isInput now set to " + e3), this._coreVariableViewModel.fireVariableChanged(); + } + get isOutput() { + return this._coreVariableViewModel.isOutput; + } + set isOutput(e3) { + const t3 = this._infoPropSet("newValue", "isOutput"); + this._checkItemIsValidLiteralBool(t3, e3); + const i3 = {}; + if (!this._coreVariableViewModel.getIsOutputCanSet(i3)) { + if (false === e3) return; + this._itemIsInvalid(t3, i3.displayString); + } + e3 && this.isSecure && (l.variablePropertySupportedSetService.getIsSecureOutputOk(i3, e3, this.isSecure) || this._itemIsInvalid(t3, i3.displayString)), this._coreVariableViewModel.isOutput = e3, this._checkItem(t3, this.isOutput !== e3, "The isOutput setting of '" + e3 + "' could not be set on the variable."), this.logNote("isOutput now set to " + e3), this._coreVariableViewModel.fireVariableChanged(); } - get _actionTypeId() { - return u.getResponseActionType; + get isReadOnly() { + return this._coreVariableViewModel.isReadOnly; } - _clearResponseSubstitutions() { - this._responseSubstitutions = void 0; + get isSecure() { + return this._coreVariableViewModel.isSecure; } - get displayTypeName() { - return this._scriptingName; + set isSecure(e3) { + const t3 = this._infoPropSet("newValue", "isSecure"); + this._checkItemIsValidLiteralBool(t3, e3); + const i3 = {}; + this._coreVariableViewModel.getIsSecureCanSet(i3) || this._itemIsInvalid(t3, i3.displayString), e3 && (l.variablePropertySupportedSetService.getIsSecureInputOk(i3, this.isInput, e3) || this._itemIsInvalid(t3, i3.displayString), l.variablePropertySupportedSetService.getIsSecureOutputOk(i3, this.isOutput, e3) || this._itemIsInvalid(t3, i3.displayString)), this._coreVariableViewModel.isSecure = e3, this._checkItem(t3, this.isSecure !== e3, "The secure setting of '" + e3 + "' could not be set on the variable. Remember that flow input or output variables cannot be set to secure."), this.logNote("isSecure now set to " + e3), this._coreVariableViewModel.fireVariableChanged(); } - get responseSubstitutions() { - return this._responseSubstitutions || (this._responseSubstitutions = this.coreFactory.createArchBaseValueContainer(this._getCoreViewModel().substitutions)), this._responseSubstitutions; + get isFlowVariable() { + return !!this._coreVariableViewModel.isFlowScopedVariable; } - get isArchActionGetResponse() { - return true; + get isStateVariable() { + return this._coreVariableViewModel.isStateVariable; } - get isSelectedResponseInSelectedResponseLibrary() { - return this._coreActionViewModel.isSelectedResponseInSelectedResponseLibrary; + get isSystemVariable() { + return this._coreVariableViewModel.isSystemVariable; } - get performSubstitutions() { - return this._coreActionViewModel.performSubstitutions; + get isFlowManagedVariable() { + return this._coreVariableViewModel.isFlowManagedVariable; } - set performSubstitutions(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("value", "performSubstitutions"), e3, false), this._coreActionViewModel.performSubstitutions = e3; + get isTaskVariable() { + return this._coreVariableViewModel.isTaskVariable; } - get responseBodyHandling() { - return this._responseBodyHandling; + get isUnavailable() { + return this._coreVariableViewModel.isUnavailable; } - setResponseByIdAsync(e3, t3) { - 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"))); + get logStr() { + if (!this._coreVariableViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrName(e3, this.name), this._createLogStrFromParts(e3); } - 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(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"))); + get name() { + return this._coreVariableViewModel.name; } - _setResponseDataAsync(e3, t3, i3) { - return this._coreActionViewModel.setResponseDataAsync(e3).then(() => (this._clearResponseSubstitutions(), s.default.executeCallback(this, t3, i3, this))); + set name(e3) { + if (!e3) throw "you cannot have a blank name set on a variable"; + this.rename(e3); } - setResponseLibraryByNameAsync(e3, t3) { - 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))); + 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 = 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, o2 = u.transferUsages(this._coreVariableViewModel, this._coreVariableViewModel.getUsagesForFlow(this._coreVariableViewModel.parentFlow), i3); + o2 || this.logErrorAndThrow("unable to rename the variable to '" + e3 + "'"), this._coreVariableViewModel = o2, this.logNote("successfully renamed to '" + this.name + "' from the old name of'" + n3 + "'"); } - setResponseBodyVariable(e3) { - this._checkItemIsValidLiteralStringOrArchVariableString(this._infoParm("responseBodyVariable", "setResponseBodyVariable"), e3, false), this.valueResponseBody.setVariable(e3); + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreVariableViewModel.parentFlow); } - get valueResponseBody() { - return this._responseBody; + get scope() { + return this._coreVariableViewModel.scope; } - get attachments() { - return this._attachments; + get canAssignInitialValue() { + return !!this._coreVariableViewModel.getInitialValueSupported(); + } + get type() { + return this._coreVariableViewModel.type; + } + get settings() { + return this.coreFactory.createArchVariableSettings(this); } } t2.default = p; - }, 82133: (e2, t2, i2) => { + }, 20692(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.CampaignType = void 0; - const n2 = i2(94765), r2 = i2(71056), o = i2(80428); - class a extends n2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "CampaignType"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(31824)); + class o extends n2.default { + constructor(e3) { + super(e3); } - canConvertLitToExpression(e3) { - return false; + get displayTypeName() { + return "ArchBaseVariableCollection"; } - createExpressionOptionClass() { - return new r2.ExpressionTypeNetworkObjectOptions(); + setInitialValueEmptyCollection() { + this.initialValue.setNoValue(); } } - t2.CampaignType = a, a.typeIdentifier = o.expressionTypeNames.campaign; - }, 82139: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.repeatWhen = void 0; - 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, c = false, d = function() { - return c && u && (i3.complete(), true); - }, p = 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, d(); - }))), s).next(); - })), l && (o2.unsubscribe(), o2 = null, l = false, p()); - }; - p(); - }); - }; - }, 82149: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(13240), o = i2(90807), a = i2(52706), s = i2(7401), l = i2(42217); - function u() { - Object.defineProperties(this, { _errorBindings: { writable: true }, _followupResponseTimeout: { writable: true }, _inputText: { writable: true }, _outputs: { writable: true }, _sessionVariables: { writable: true } }), this.botId = void 0, this.botName = void 0, u.baseConstructor.apply(this, arguments); - } - r2.extend(u, "BaseBotActionModel"), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { - if (u._super.pasteReIdOrRename.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteReIdOrRename(e3)), this.followupResponseTimeout?.pasteReIdOrRename(e3), this.inputText?.pasteReIdOrRename(e3), n2.isArray(this.outputs)) for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteReIdOrRename(e3); - if (n2.isArray(this.sessionVariables)) for (let t3 = 0; t3 < this.sessionVariables.length; t3++) this.sessionVariables[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - if (u._super.pasteResolveOldToNewValues.apply(this, arguments), this.errorBindings.forEach((t3) => t3.pasteResolveOldToNewValues(e3)), this.followupResponseTimeout?.pasteResolveOldToNewValues(e3), this.inputText?.pasteResolveOldToNewValues(e3), n2.isArray(this.outputs)) for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteResolveOldToNewValues(e3); - if (n2.isArray(this.sessionVariables)) for (let t3 = 0; t3 < this.sessionVariables.length; t3++) this.sessionVariables[t3].pasteResolveOldToNewValues(e3); - } }, errorBindings: { enumerable: true, get: function() { - return this._errorBindings; - }, set: function(e3) { - this._errorBindings = this.reviveArray(e3, o); - } }, followupResponseTimeout: { enumerable: true, get: function() { - return this._followupResponseTimeout; - }, set: function(e3) { - this._followupResponseTimeout = this.reviveItem(e3, s); - } }, inputText: { enumerable: true, get: function() { - return this._inputText; - }, set: function(e3) { - this._inputText = this.reviveItem(e3, s); - } }, outputs: { enumerable: true, get: function() { - return this._outputs; - }, set: function(e3) { - this._outputs = this.reviveArray(e3, a); - } }, sessionVariables: { enumerable: true, get: function() { - return this._sessionVariables; - }, set: function(e3) { - this._sessionVariables = this.reviveArray(e3, l); - } } }), e2.exports = u; - }, 82185: (e2, t2, i2) => { - function n2(e3) { - n2.baseConstructor.call(this), Object.defineProperties(this, { _model: { value: e3 }, id: { value: e3.id, enumerable: true }, name: { value: e3.name, enumerable: true }, label: { value: e3.name, enumerable: false } }); - } - i2(81086).extend(n2), e2.exports = n2; - }, 82190: (e2, t2, i2) => { + t2.default = o; + }, 84655(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = (0, i2(24032).getTopic)("AsyncOperationError"); - t2.default = class { - constructor(e3, t3) { - if (e3.isRequestError) { - t3 || r2.errorWithStack(null, "AsyncOperationError was passed a request error with no operationInfo."); - const i3 = [], o = t3.flowId ? [t3.flowId] : n2.default.keys(t3.remainingFlowsInfoViewModels); - n2.default.each(o, (t4) => { - i3.push({ entityId: t4, code: e3.response ? e3.response.code : e3.code, messageParams: e3.response ? e3.response.messageParams : void 0 }); - }), this.response = { errors: i3 }; - } else this.response = { errors: [e3] }; + const n2 = i2(31635).__importDefault(i2(31824)); + class o extends n2.default { + constructor(e3) { + super(e3); } - }; - }, 82271: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - function t3(e4, t4, i4) { - return "m" === i4 ? t4 ? "\u043C\u0438\u043D\u0443\u0442\u0430" : "\u043C\u0438\u043D\u0443\u0442\u0443" : e4 + " " + (n2 = +e4, r2 = { ss: t4 ? "\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434" : "\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434", mm: t4 ? "\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442" : "\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442", hh: "\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432", dd: "\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439", ww: "\u043D\u0435\u0434\u0435\u043B\u044F_\u043D\u0435\u0434\u0435\u043B\u0438_\u043D\u0435\u0434\u0435\u043B\u044C", MM: "\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432", yy: "\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442" }[i4].split("_"), n2 % 10 == 1 && n2 % 100 != 11 ? r2[0] : n2 % 10 >= 2 && n2 % 10 <= 4 && (n2 % 100 < 10 || n2 % 100 >= 20) ? r2[1] : r2[2]); - var n2, r2; + get displayTypeName() { + return "ArchBaseVariableSingleton"; + } + setInitialValueNotSet() { + this.logNote("setting the variable initial value to NOT_SET."), this.initialValue.setNoValue(); } - var i3 = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; - e3.defineLocale("ru", { months: { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") }, monthsShort: { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") }, weekdays: { standalone: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"), format: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/ }, weekdaysShort: "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"), weekdaysMin: "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"), monthsParse: i3, longMonthsParse: i3, shortMonthsParse: i3, monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, longDateFormat: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY \u0433.", LLL: "D MMMM YYYY \u0433., H:mm", LLLL: "dddd, D MMMM YYYY \u0433., H:mm" }, calendar: { sameDay: "[\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432] LT", nextDay: "[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT", lastDay: "[\u0412\u0447\u0435\u0440\u0430, \u0432] LT", nextWeek: function(e4) { - if (e4.week() === this.week()) return 2 === this.day() ? "[\u0412\u043E] dddd, [\u0432] LT" : "[\u0412] dddd, [\u0432] LT"; - switch (this.day()) { - case 0: - return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd, [\u0432] LT"; - case 1: - case 2: - case 4: - return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd, [\u0432] LT"; - case 3: - case 5: - case 6: - return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd, [\u0432] LT"; - } - }, lastWeek: function(e4) { - if (e4.week() === this.week()) return 2 === this.day() ? "[\u0412\u043E] dddd, [\u0432] LT" : "[\u0412] dddd, [\u0432] LT"; - switch (this.day()) { - case 0: - return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd, [\u0432] LT"; - case 1: - case 2: - case 4: - return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd, [\u0432] LT"; - case 3: - case 5: - case 6: - return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd, [\u0432] LT"; - } - }, sameElse: "L" }, relativeTime: { future: "\u0447\u0435\u0440\u0435\u0437 %s", past: "%s \u043D\u0430\u0437\u0430\u0434", s: "\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434", ss: t3, m: t3, mm: t3, h: "\u0447\u0430\u0441", hh: t3, d: "\u0434\u0435\u043D\u044C", dd: t3, w: "\u043D\u0435\u0434\u0435\u043B\u044F", ww: t3, M: "\u043C\u0435\u0441\u044F\u0446", MM: t3, y: "\u0433\u043E\u0434", yy: t3 }, meridiemParse: /ночи|утра|дня|вечера/i, isPM: function(e4) { - return /^(дня|вечера)$/.test(e4); - }, meridiem: function(e4, t4, i4) { - return e4 < 4 ? "\u043D\u043E\u0447\u0438" : e4 < 12 ? "\u0443\u0442\u0440\u0430" : e4 < 17 ? "\u0434\u043D\u044F" : "\u0432\u0435\u0447\u0435\u0440\u0430"; - }, dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, ordinal: function(e4, t4) { - switch (t4) { - case "M": - case "d": - case "DDD": - return e4 + "-\u0439"; - case "D": - return e4 + "-\u0433\u043E"; - case "w": - case "W": - return e4 + "-\u044F"; - default: - return e4; - } - }, week: { dow: 1, doy: 4 } }); - })(i2(95093)); - }, 82298: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSetting = a, t2.getKnowledgeSettings = s; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(48229)); - function a(e3) { - return r2.default.build(o.getKnowledgeSetting).templateParams({ id: e3 }).call(); - } - function s(e3) { - return r2.default.build(o.getKnowledgeSettings).queryParams(e3.getSearchQueryParams(true)).call(); } - a.api = o.getKnowledgeSetting, s.api = o.getKnowledgeSettings; - }, 82319: (e2, t2, i2) => { + t2.default = o; + }, 47743(e2, t2, i2) { "use strict"; - 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 c extends s.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { constructor(e3) { - super(e3), this._communicationFacets = new o.default(), (0, a.makeUnenumerable)(this, "_communicationFacets"); - } - get isExpressionTypeCommunicationOptions() { - return true; - } - get className() { - return "ExpressionTypeCommunicationOptions"; + super(e3), this._coreVariableExpressionPair = e3; } - get facets() { - return this._communicationFacets; + get displayTypeName() { + return "ArchBaseVariableValuePair"; } - set facets(e3) { - this._communicationFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isCommunicationFacets, e3, "CommunicationFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); + get isArchBaseVariableValuePair() { + return true; } - get supportsLiteralMode() { - return this.isCollection; + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - setAsInput(e3) { - u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); - const t3 = !(true === e3); - return this._configureInputOutputState(true, false, false, t3); + setVariableToAssignTo(e3) { + this._checkItem(this._infoParm("variable", "setVariableToAssignTo"), !e3, "no variable specified to set for the variable to assign to."), this.valueVariableToAssignTo.setVariable(e3); } - setAsOutput() { - return this._configureInputOutputState(false, false, true, false); + get valueVariableToAssignTo() { + return this.coreFactory.createArchWrapper(this._coreVariableExpressionPair.variable); } - applyDefaultCollectionItemOptions(e3) { - return super.applyDefaultCollectionItemOptions(e3), this.defaultToBuilderId = e3._defaultToBuilderId, this; + get valueToAssign() { + return this.coreFactory.createArchWrapper(this._coreVariableExpressionPair.expression); } } - 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) => { + t2.default = o; + }, 7990(e2, t2, i2) { "use strict"; - 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 { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(55988)), a = i2(8462); + class s extends r.default { 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; + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreVariableValuePairs"), e3); } - set voiceEndOfInputTimeout(e3) { - this._voiceEndOfInputTimeout = this.reviveItem(e3, c.default); + get displayTypeName() { + return "ArchBaseVariableValuePairs"; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this._currentIndex && this._currentIndex.pasteResolveOldToNewValues(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteResolveOldToNewValues(e3); + _addVariableValueAssignment(e3, t3, i3, n3, r2, s2) { + const l = this._infoParm("archDataType", "addVariableValueAssignment"); + 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(), r2); + 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 c = this.coreFactory.createArchBaseVariableValuePair(u); + return t3 && (s2 ? "string" == typeof t3 ? c.valueVariableToAssignTo.setExpression(t3) : c.valueVariableToAssignTo.setExpressionFromVariable(t3) : c.setVariableToAssignTo(t3), o.default.isString(i3) && c.valueToAssign.setExpression(i3)), c; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this._currentIndex && this._currentIndex.pasteReIdOrRename(e3), this._voiceEndOfInputTimeout && this._voiceEndOfInputTimeout.pasteReIdOrRename(e3); + _createVariableValuePairArray() { + const e3 = [], t3 = this._getCoreViewModel(); + return t3 && o.default.each(t3.items, (t4) => { + e3.push(this.coreFactory.createArchBaseVariableValuePair(t4)); + }), 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 d(e3).unsupportedFlowTypes; - }, t2.needsConflictingInQueueFlowTypes = function(e3) { - if (e3.isCommonModuleFlow) { - const { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3 } = d(e3); - return [t3, i3, n3].filter(Boolean).length >= 2; + get isArchBaseVariableValuePairs() { + return true; } - return false; - }, t2.getSupportedInQueueFlowType = p, t2.getInqueueFlowTypeDefinition = function(e3) { - return o.default.getDefinitionForFlowType(p(e3)); - }, t2.getSupportedInQueueFlowManager = function(e3) { - 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)), c = n2.__importDefault(i2(4648)); - function d(e3) { - let t3 = false, i3 = false, n3 = false; - const a2 = []; - return e3.destinationFlowTypes.forEach((e4) => { - r2.flowTypes.isVxmlgenFlowType(e4) && o.default.getDefinitionForFlowType(r2.flowTypes.flowTypeInQueueCall).isAvailable ? t3 = true : r2.flowTypes.isShortMessageFlowType(e4) && o.default.getDefinitionForFlowType(r2.flowTypes.flowTypeInQueueShortMessage).isAvailable || e4 === r2.flowTypes.flowTypeDigitalBot && _() ? n3 = true : r2.flowTypes.isEmailFlowType(e4) && o.default.getDefinitionForFlowType(r2.flowTypes.flowTypeInQueueEmail).isAvailable ? i3 = true : a2.push(e4); - }), { inQueueCall: t3, inQueueEmail: i3, inQueueShortMessage: n3, unsupportedFlowTypes: a2 }; - } - function p(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(c.default.botFlowsAlignTransferActions); } - }, 82472: (e2, t2, i2) => { + t2.default = s; + }, 34345(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67193)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(11210)), r = 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)), I = n2.__importDefault(i2(25298)), C = n2.__importDefault(i2(57382)), O = 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)), q = n2.__importDefault(i2(66872)), W = 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)), oe = n2.__importDefault(i2(8471)), re = 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: o.default, ArchBaseActionAsk: r.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: I.default, ArchBaseActionWithOutputs: C.default, ArchBaseActionWithOutputsDefaults: O.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: re.default, ArchBaseFlow: q.default, ArchBaseFlowBot: W.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: oe.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; + }, 7635(e2, t2, i2) { + "use strict"; + t2.ArchDefinitionAction = void 0; + const n2 = i2(92448); + class o extends n2.ArchBaseDefinitionActionMenu { constructor(e3) { - super(e3), this._connectTimeout = this.coreFactory.createArchWrapper(e3.connTimeout); + super(e3); } get displayTypeName() { - return "ArchBaseActionTransferWithConnectTimeout"; + return "ArchDefinitionAction"; } - get isArchBaseActionTransferWithConnectTimeout() { + get isArchDefinitionAction() { return true; } - get connectTimeout() { - return this._connectTimeout; - } } - t2.default = r2; - }, 82485: (e2, t2, i2) => { + t2.ArchDefinitionAction = o; + }, 59449(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.VersionItem = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299), o = i2(68899), a = i2(57141); - class s extends r2.BaseClass { - constructor() { - super(), this.features = [], this.products = [], this.version = a.one.zero; - } - get className() { - return "VersionItem"; - } - _checkVersion(e3) { - const t3 = this._generateVersionParts(e3); - this._isGreater(t3) || (this._version = e3, this._versionParts = t3); - } - _generateVersionParts(e3) { - return n2.default.map(e3.split("."), function(e4) { - return Number(e4) || Number(0); - }); + t2.ArchDefinitionFlow = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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); } - _isGreater(e3) { - let t3, i3; - for (let n3 = 0; n3 < this._versionParts.length; n3++) { - if (t3 = this._versionParts[n3], i3 = e3[n3], t3 > i3) return true; - if (t3 < i3) return false; - } - return this._versionParts.length >= e3.length; + get availableActions() { + const e3 = []; + return o.default.each(h.default, (t3) => { + t3 && t3.definition && t3.definition.isAvailableForFlowType(this.type) && e3.push(t3); + }), e3; } - checkFeatures(e3) { - e3 && (e3.featuresToggles || e3.products) && (e3.featuresToggles && n2.default.each(e3.featuresToggles, (e4) => { - n2.default.contains(this.features, e4) || (this.features.push(e4), this._checkVersion(o[e4])); - }), e3.products && n2.default.each(e3.products, (e4) => { - n2.default.contains(this.products, e4) || (this.products.push(e4), this._checkVersion(o[e4])); - })); + get availablePromptMediaTypes() { + const e3 = [], t3 = this._getCoreViewModel(), i3 = g.default.getGlobalTypeGroup().getType(u.expressionTypeNames.prompt); + 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; } - checkVersion(e3) { - e3 && (n2.default.isArray(e3) ? n2.default.each(e3, (e4) => { - n2.default.contains(this.features, e4) || (this.features.push(e4), this._checkVersion(o[e4])); - }) : this._checkVersion(e3)); + get availableDataTypes() { + return p.default.getFlowTypeDataTypes(this.type); } - featureIsEnabled(e3) { - return !!o[e3] && o[e3]; + get availableLanguages() { + if (!this.supportsSupportedLanguages) return; + let e3 = this._getCoreViewModel().availableLanguageTags; + e3 || (e3 = o.default.keys(d.isoLanguages)); + const t3 = []; + return o.default.each(e3, (e4) => { + t3.push(_.default.getByLanguageTag(e4)); + }), t3; } - isGreater(e3) { - return !e3 || !e3._versionParts || this._isGreater(e3._versionParts); + get availableMenus() { + const e3 = []; + return o.default.each(m.default, (t3) => { + t3 && t3.definition && t3.definition.isAvailableForFlowType(this.type) && e3.push(t3); + }), e3; } - get version() { - return this._version; + get canCreateFromDefinition() { + return this._ensureSessionIsConnected(this._infoPropGet("canCreateFromDefinition"), l.default), this._getCoreViewModel().isAvailable; } - set version(e3) { - e3 && e3 !== this._version && (this._version = e3, this._versionParts = this._generateVersionParts(e3)); + get canSuppressRecording() { + return this._getCoreViewModel().canSuppressCallRecordings; } - } - 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)), 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 displayTypeName() { + return "ArchDefinitionFlow"; } - get botRunnableNetworkGetCall() { - return A.getV2Alias; + get fileExtension() { + return this._getCoreViewModel().fileExtension; } - get isLexV2Action() { + get isArchDefinitionFlow() { return true; } - get aliasLanguage() { - return r2.default.isArray(this.languagesProperty) && r2.default.isString(this.languagesProperty[0]) ? this.languagesProperty[0] : null; - } - get aliasReadyStatus() { - return h.lexStatuses.v2.available; - } - get aliasReadyStatusLower() { - return h.lexStatuses.v2.availableLower; - } - static get managedProperties() { - 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 = {}; - const n3 = (e3.lexBot[this.region] = {})[this.botName] = {}; - if (!this.aliasName) return void r2.default.ensureYamlNoneTrue(n3); - const o2 = (n3[this.aliasLanguage] = {})[this.aliasName] = {}; - r2.default.moveAndDeleteProperty(e3, o2, "aliasInitialIntentName"), this.commonBotPostProcessYamlConfig(e3, o2); - } - get region() { - return this.model.region || this.getRegionFromBotId(this.botId); - } - set region(e3) { - this.model.region = e3; - } - getRegionFromBotId(e3) { - var t3; - if (e3) return null === (t3 = null == e3 ? void 0 : e3.split("~")) || void 0 === t3 ? void 0 : t3[1]; - } - setBotCategoryByViewModel(e3) { - super.setBotCategoryByViewModel(e3), this.region = (null == e3 ? void 0 : e3.region) || this.getRegionFromBotId(null == e3 ? void 0 : e3.id); + get isAvailable() { + return this._getCoreViewModel().isAvailable; } - setBotRunnableByViewModel(e3) { - super.setBotRunnableByViewModel(e3), this.shortBotId = null == e3 ? void 0 : e3.botId, this.shortAliasId = null == e3 ? void 0 : e3.shortAliasId, this._configureInitialIntentAllowableValues(e3); + get isCommonModuleCompatibleFlowType() { + return this.isAvailable && this._getCoreViewModel().isEmbeddable; } - get shortAliasId() { - return this.model.shortAliasId; + get isCreatable() { + return this._ensureSessionIsConnected(this._infoPropGet("isCreatable"), l.default), this._getCoreViewModel().isCreatable; } - set shortAliasId(e3) { - this.model.shortAliasId = e3; + get isDeprecated() { + return this._getCoreViewModel().isDeprecated; } - get shortBotId() { - return this.model.shortBotId; + get label() { + return this._getCoreViewModel().typeDisplayName; } - set shortBotId(e3) { - this.model.shortBotId = e3; + get supportsFlowCreationData() { + return this._getCoreViewModel().supportsFlowCreationData; } - get shouldSkipLanguageValidation() { - return true; + get startUpObjectCanBeMenu() { + return this._getCoreViewModel().startUpObjectCanBeMenu; } - get supportsInputsOutputs() { - return true; + get startUpObjectCanBeState() { + return this._getCoreViewModel().startUpObjectCanBeState; } - _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); + get startUpObjectCanBeTask() { + return this._getCoreViewModel().startUpObjectCanBeTask || this._getCoreViewModel().startUpObjectCanBeRepeatingTask; } - _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); + get languagesSupportDefaultLanguage() { + return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportDefaultLanguage; } - } - 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() { - o.baseConstructor.apply(this, arguments), this.typeIdentifier || (this.typeIdentifier = r2.json); - } - n2.extend(o, "JsonVariable", true), Object.defineProperties(o.prototype, { typeIdentifier: { writable: true } }), e2.exports = o; - }, 82619: (e2, t2, i2) => { - "use strict"; - 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: 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 languagesSupportDefaultLanguageSkill() { + return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportDefaultLanguageSkill; } - get className() { - return "BooleanBuilderWithBuilderPartsDef"; + get languagesSupportTtsAndAsr() { + return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportTtsAndAsrSettings; } - get isBooleanBuilderWithBuilderPartsDef() { - return true; + get languagesSupportTtsAndAsrRuntime() { + return this.supportsSupportedLanguages && this._getCoreViewModel().languagesSupportTtsAndAsrRuntime; } - createBuilder(e3) { - const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); - return t3.setNewInstanceDefaults(), t3; + get languagesSupportSpeechToText() { + return this._getCoreViewModel().languagesSupportSttSetting; } - reviveBuilder(e3, t3, i3) { - return new o.default({ owningExpression: e3, model: t3, reId: !!i3 }); + get supportsAudio() { + return this._getCoreViewModel().supportsAudio; } - } - t2.default = a; - }, 82630: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(19596); - class a extends o.DataContract { - get id() { - var e3; - return this._id ? this._id : `${null === (e3 = this._guide) || void 0 === e3 ? void 0 : e3.id}~${this._version}`; + get supportsCustomJsonTypes() { + return this._getCoreViewModel().supportsCustomJsonTypes; } - set id(e3) { - this._id = e3; + get supportsDefaultLanguage() { + return this._getCoreViewModel().languagesSupportDefaultLanguage; } - get name() { - return this._name; + get supportsIntentDescriptions() { + return this._getCoreViewModel().supportsIntentDescriptions; } - set name(e3) { - this._name = e3; + get supportsSecureVariables() { + return this._getCoreViewModel().supportsSecureVariables; } - get version() { - return this._version; + get supportsSupportedLanguages() { + return this._getCoreViewModel().supportsLanguages; } - set version(e3) { - this._version = e3; + get supportsMoreThanOneSupportedLanguage() { + return this._getCoreViewModel().supportsMoreThanOneLanguage; } - get guide() { - return this._guide; + get supportsMenusReusable() { + return this._getCoreViewModel().supportsReusableMenus; } - set guide(e3) { - this._guide = e3; + get supportsStates() { + return this._getCoreViewModel().supportsStates; } - get variables() { - return this._variables; + get supportsMultilingualKnowledge() { + return this._getCoreViewModel().supportsMultilingualKnowledge; } - set variables(e3) { - this._variables = e3, this.inputs = this._variables.filter((e4) => "Input" === e4.scope || "InputAndOutput" === e4.scope), this.outputs = this._variables.filter((e4) => "Output" === e4.scope || "InputAndOutput" === e4.scope); + get supportsConversationSummary() { + return this._getCoreViewModel().supportsConversationSummary; } - get inputs() { - return this._inputs; + get supportsMultipleStates() { + return this._getCoreViewModel().supportsMultipleStates; } - set inputs(e3) { - this._inputs = e3; + getSupportsKnowledge(e3) { + const t3 = this._infoParm("archLanguage", "getSupportsKnowledge"); + return o.default.isNullOrUndefined(e3) || this._checkItem(t3, !e3 || !e3.isArchLanguage, "when specifying a language to check, you must pass in a valid ArchLanguage instance."), !!this.supportsSupportedLanguages && (o.default.isNullOrUndefined(e3) ? this._getCoreViewModel().supportsKnowledge : r.getLangSupportsKnowledgeForFlowType(e3.tag, this.type)); } - get outputs() { - return this._outputs; + get supportsNaturalLanguageUnderstanding() { + return this._getCoreViewModel().supportsNlu; } - set outputs(e3) { - this._outputs = e3; + get supportsNaturalLanguageUnderstandingIntents() { + return this._getCoreViewModel().supportsNLUIntents; } - } - 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", String), n2.__metadata("design:paramtypes", [String])], a.prototype, "version", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "guide", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], a.prototype, "variables", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "inputs", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], a.prototype, "outputs", null); - }, 82632: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.transferToAcd = t2.updateExternalContact = t2.conversationAttributeLimits = t2.setSkillExpressionFilters = t2.richLink = t2.abortSend = t2.askForAuthentication = t2.evaluateSkillExpressionFilters = t2.collectInput = t2.askForPaymentLimits = t2.interactiveApplicationLimits = t2.findLimits = t2.switchActionCaseLimits = t2.voiceSurveyLimits = t2.sipHeaderNamesLimits = t2.emailHeaderNamesLimits = t2.sendAutoReplyAction = t2.sendResponseAction = t2.responseAssetLimits = t2.propertyLimits = t2.promptLimits = t2.imageLimits = t2.flowSizeLimits = t2.system = t2.flowLimits = t2.grammarLimits = t2.dataTypeLimits = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(73198)), o = n2.__importDefault(i2(77862)); - 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: { 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; - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(84050); - class s extends a.NameIdDescriptionModel { - constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_version"), (0, o.makeUnenumerable)(this, "_enabled"), (0, o.makeUnenumerable)(this, "_jsonSchema"); + get supportsGrammars() { + return this._getCoreViewModel().supportsGrammars; } - get name() { - var e3; - return (null === (e3 = this.jsonSchema) || void 0 === e3 ? void 0 : e3.title) || super.name; + get supportsPeriodicState() { + return this._getCoreViewModel().supportsPeriodicState; } - set name(e3) { - super.name = e3; + get supportsTasksReusable() { + return this._getCoreViewModel().supportsReusableTasks; } - get version() { - return this._version; + get supportsDetectionJob() { + return this._getCoreViewModel().supportsNluCortex; } - set version(e3) { - this._version = e3; + get supportsDetectionJobIntents() { + return this._getCoreViewModel().supportsNluCortexIntents; } - get enabled() { - return this._enabled; + get supportsDynamicTimeslots() { + return this._getCoreViewModel().supportsDynamicTimeslots; } - set enabled(e3) { - this._enabled = e3; + get supportsEndToEndKnowledgeHandling() { + return this._getCoreViewModel().supportsEndToEndKnowledgeHandling; } - get jsonSchema() { - return this._jsonSchema; + get supportsAdvancedKnowledgeHandling() { + return this._getCoreViewModel().supportsAdvancedKnowledgeHandling; } - set jsonSchema(e3) { - this._jsonSchema = e3; + get supportsVirtualAgent() { + return this._getCoreViewModel().supportsVirtualAgent; + } + get type() { + return this._getCoreViewModel().type; } } - 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) => { - function n2() { - this.schema = void 0, this.arrayProperties = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "HedwigActionSchema"), e2.exports = n2; - }, 82915: (e2, t2, i2) => { + t2.ArchDefinitionFlow = f; + }, 25054(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), 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; + t2.ArchDefinitionMenu = void 0; + const n2 = i2(92448); + class o extends n2.ArchBaseDefinitionActionMenu { + constructor(e3) { + super(e3); } - get dependencyType() { - return _.ScreenPop; + get displayTypeName() { + return "ArchDefinitionMenu"; } + get isArchDefinitionMenu() { + return true; + } + } + t2.ArchDefinitionMenu = o; + }, 76171(e2, t2, i2) { + "use strict"; + t2.ArchDefinitionValue = void 0; + const n2 = i2(31635), o = i2(39637), r = n2.__importDefault(i2(78432)); + class a extends o.ArchBaseDefinition { constructor(e3) { - 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(); + super(e3); } - _createItemViewModel(e3) { - return new u.ScreenPopViewModel(e3); + get dataType() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel()); } - getCategoryForScript(e3) { - const t3 = this.items[e3]; - return t3 ? t3.category : null; + get displayTypeName() { + return "ArchDefinitionValue"; } - getScriptCategories() { - const e3 = r2.default.pluck(this.items, "category"); - return r2.default.uniq(e3, false); + get isArchDefinitionValue() { + return true; } - getScript(e3) { - return this.items[e3]; + isAvailableForFlowType(e3) { + return this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "getFlowInfoByFlowIdAsync"), e3, r.default.FLOW_TYPES_ALL), this._getCoreViewModel().isAvailableForFlowType(e3); } - getScriptInputs(e3) { - return e3.isFlowCachedVersion ? d.default.fcall(function() { - e3.loadVariables(e3.model.variables); - }) : h.getScriptVariables(e3.id).then((t3) => { - e3.loadVariables(t3); - const i3 = r2.default.findWhere(this._rawServerCache, { id: e3.id }); - i3 && (i3.variables = t3); - }); + } + t2.ArchDefinitionValue = a; + }, 21601(e2, t2, i2) { + "use strict"; + t2.ArchDefinitionVariable = void 0; + const n2 = i2(39637); + class o extends n2.ArchBaseDefinition { + constructor(e3) { + super(e3); } - manifestFilter(e3) { - return !this.scriptFeatureType || r2.default.contains(e3.features, this.scriptFeatureType); + get dataType() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel()); + } + get displayTypeName() { + return "ArchDefinitionVariable"; + } + get isArchDefinitionVariable() { + return true; } } - t2.ScriptManager = m; - }, 82926: (e2, t2, i2) => { + t2.ArchDefinitionVariable = o; + }, 76366(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(8471)); - let a = false; - class s extends o.default { + const n2 = i2(7635), o = i2(59449), r = i2(25054), a = i2(76171), s = i2(21601), l = { ArchDefinitionAction: n2.ArchDefinitionAction, ArchDefinitionFlow: o.ArchDefinitionFlow, ArchDefinitionMenu: r.ArchDefinitionMenu, ArchDefinitionValue: a.ArchDefinitionValue, ArchDefinitionVariable: s.ArchDefinitionVariable }; + t2.default = l; + }, 81901(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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 c extends r.default { constructor(e3) { - super(), this._notWritableOverride = false, this._writableOverride = false, this._checkItem(this._infoParmCtor("archBaseValue"), !e3 || !e3.isArchBaseValue, "INTERNAL ERROR - invalid archBaseValue passed to ArchValueSettings"), this._archBaseValue = e3; + super(), this._archFilterClausesOrContainers = [], o.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; } - get _coreExpressionOptions() { - return this._coreExpressionViewModel.options; + addClausePropertyCallback(e3, t3, i3) { + this._checkItemIsValidLiteralString(this._infoParm("propertyName", "addClausePropertyCallback"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addClausePropertyCallback"), t3), this._checkItemIsValidLiteralBool(this._infoParm("propertyMustExist", "addClausePropertyCallback"), i3, true), (o.default.isUndefined(i3) || null === i3) && (i3 = true); + const n3 = new s.default(e3, t3, i3); + return this._archFilterClausesOrContainers.push(n3), n3; } - get _coreExpressionViewModel() { - return this._archBaseValue._getCoreViewModel(); + addClausePropertyValueEquals(e3, t3, i3) { + this._checkItemIsValidLiteralString(this._infoParm("propertyName", "addClausePropertyValueEquals"), e3), this._checkItemIsValidLiteralBool(this._infoParm("propertyMustExist", "addClausePropertyValueEquals"), i3, true), (o.default.isUndefined(i3) || null === i3) && (i3 = true); + const n3 = new l.default(e3, t3, i3); + return this._archFilterClausesOrContainers.push(n3), n3; } - _setNotWritableOverride(e3) { - return this._notWritableOverride = e3, this._archBaseValue; + addClausePropertyValueNotEquals(e3, t3, i3) { + this._checkItemIsValidLiteralString(this._infoParm("propertyName", "addClausePropertyValueNotEquals"), e3), this._checkItemIsValidLiteralBool(this._infoParm("propertyMustExist", "addClausePropertyValueNotEquals"), i3, true), (o.default.isUndefined(i3) || null === i3) && (i3 = true); + const n3 = new u.default(e3, t3, i3); + return this._archFilterClausesOrContainers.push(n3), n3; } - _setWritableOverride(e3) { - return this._writableOverride = e3, this._archBaseValue; + addFilterClauseContainer(e3) { + (o.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 c(e3); + return this._archFilterClausesOrContainers.push(t3), t3; } get displayTypeName() { - return "ArchValueSettings"; + return "ArchFilterClauseContainer"; } - get logStr() { - if (!this._archBaseValue) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrPart(e3, "IsOutput", this.isOutput, true, false), this._appendLogStrPart(e3, "CanBeExpression", this.canBeExpression, true, false), this._appendLogStrPart(e3, "CanBeLiteral", this.canBeLiteral, true, false), this._appendLogStrPart(e3, "CanBeNoValue", this.canBeNoValue, true, false), this._appendLogStrPart(e3, "CanBeVariable", this.canBeVariable, true, false), this._appendLogStrPart(e3, "isReadable", this.isReadable, true, false), this._appendLogStrPart(e3, "isWritable", this.isWritable, true, false), this._createLogStrFromParts(e3); + get isArchFilterClauseContainer() { + return true; } - get canBeExpression() { - const e3 = this._coreExpressionOptions; - return !!r2.default.isFunction(null == e3 ? void 0 : e3.getAllowModeExpression) && e3.getAllowModeExpression(this._coreExpressionViewModel); + get operator() { + return this._operator; } - get canBeLiteral() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.allowModeLiteral; + set operator(e3) { + this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newValue", "operator"), e3, a.default.FILTER_CONTAINER_OPERATORS_ALL), this._operator = e3; } - get canBeVariable() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.allowModeVariable; + _isMatch(e3) { + if (0 === this._archFilterClausesOrContainers.length) return true; + switch (this.operator) { + case a.default.FILTER_CONTAINER_OPERATORS.and: + return o.default.isUndefined(o.default.find(this._archFilterClausesOrContainers, (t3) => !t3.isMatch(e3))); + case a.default.FILTER_CONTAINER_OPERATORS.or: + return !o.default.isUndefined(o.default.find(this._archFilterClausesOrContainers, (t3) => t3.isMatch(e3))); + default: + this._logErrorInternalAndThrow(`Unsupported filter clause container operator of '${this.operator}'.`); + } } - get canBeNoValue() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.allowModeNoValue; + } + t2.default = c; + }, 67222(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(91722)); + class a extends r.default { + constructor(e3, t3, i3) { + super(e3, i3), this._checkItemIsValidFunction(this._infoParmCtor("callbackFunction"), t3), this._callbackFunction = t3; } - get canBeNoValueNoFallback() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.allowNoValueModeWithNoFallback; + get displayTypeName() { + return "ArchFilterClausePropertyCallback"; } - get canUseSecureVariables() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.allowSecure; + get isArchFilterClausePropertyCallback() { + return true; } - get label() { - return this._coreExpressionViewModel ? this._coreExpressionViewModel.label : ""; + get callback() { + return this._callbackFunction; } - get hasFlowLevelDefault() { - const e3 = this._coreExpressionViewModel; - if (e3 && r2.default.isArray(e3.supportedFlowTypes) && e3.parentFlow && !e3.supportedFlowTypes.includes(e3.parentFlow.type)) return false; - const t3 = this._coreExpressionOptions; - return !!t3 && t3.allowFlowLevelDefault; + _isMatch(e3) { + if (!super._isMatch(e3)) return false; + const t3 = this._callbackFunction(e3[this.propertyName], e3, this.propertyName); + return o.default.isUndefined(t3) || o.default.isBoolean(t3) || this.logWarning("Invocation of the filter clause property value callback function did not return a boolean value or undefined."), true === t3; } - get isArchValueSettings() { - return true; + } + t2.default = a; + }, 93229(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(74369)); + class o extends n2.default { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get isInput() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.isInput; + get displayTypeName() { + return "ArchFilterClausePropertyValueEquals"; } - get isOutput() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.isOutput; + get isArchFilterClausePropertyValueEquals() { + return true; } - get isReadable() { - return !this._coreExpressionViewModel.outOfService; + _isMatch(e3) { + return !!super._isMatch(e3) && e3[this._propertyName] === this._value; } - get isWritable() { - return this._writableOverride || !this._coreExpressionViewModel.outOfService && !this._notWritableOverride; + } + t2.default = o; + }, 46422(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(74369)); + class o extends n2.default { + constructor(e3, t3, i3) { + super(e3, t3, i3); } - get mustBeExpression() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.expressionOnly; + get displayTypeName() { + return "ArchFilterClausePropertyValueNotEquals"; } - get mustBeLiteral() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.literalOnly; + get isArchFilterClausePropertyValueNotEquals() { + return true; } - get mustBeVariable() { - const e3 = this._coreExpressionOptions; - return !!e3 && e3.variableOnly; + _isMatch(e3) { + return !!super._isMatch(e3) && e3[this._propertyName] !== this._value; } - get allowInvalidExpressionText() { - return a; + } + t2.default = o; + }, 97354(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81901)); + class o extends n2.default { + constructor(e3) { + super(e3); } - set allowInvalidExpressionText(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "allowInvalidExpressionText"), e3, false), a = e3, this.logNote(`the allowInvalidExpressionText property is now set to ${a}`); + get displayTypeName() { + return "ArchFilterObject"; + } + get isArchFilterObject() { + return true; } } - t2.default = s; - }, 82955: (e2, t2, i2) => { + t2.default = o; + }, 39983(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.publishBehavior = void 0; - var n2 = i2(97314), r2 = i2(14359); - t2.publishBehavior = function(e3) { - return function(t3) { - var i3 = new n2.BehaviorSubject(e3); - return new r2.ConnectableObservable(t3, function() { - return i3; - }); - }; - }; - }, 82984: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.", noInputReceived: "\uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }, askForBoolean: { noInput: '\uACC4\uC18D \uC9C4\uD589\uD558\uB824\uBA74 "\uC608", \uADF8\uB807\uC9C0 \uC54A\uC73C\uBA74 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC138\uC694.', noMatch: '"\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC2ED\uC2DC\uC624. \uACC4\uC18D \uC9C4\uD589\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?', question: "\uACC4\uC18D \uC9C4\uD589\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?", noInputDigitalBot: '\uACC4\uC18D\uD558\uB824\uBA74 "\uC608"\uB97C \uC785\uB825\uD558\uACE0 \uADF8\uB807\uC9C0 \uC54A\uC73C\uBA74 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.', noMatchDigitalBot: '"\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?' }, askForIntent: { noInput: '\uCFFC\uB9AC\uAC00 \uC5B4\uB5A4 \uB0B4\uC6A9\uC778\uC9C0 \uAC04\uB2E8\uD558\uAC8C \uC124\uBA85\uD558\uC2ED\uC2DC\uC624. \uC608\uB97C \uB4E4\uC5B4 "\uB0B4 \uACC4\uC88C \uC794\uC561 \uD655\uC778"\uC774\uB77C\uACE0 \uB9D0\uD558\uBA74 \uB429\uB2C8\uB2E4.', noMatch: "\uBB34\uC5C7\uC744 \uD558\uACE0 \uC2F6\uC73C\uC2E0\uC9C0 \uB2E4\uC2DC \uB9D0\uD574 \uC8FC\uC138\uC694.", question: "\uC5B4\uB5A4 \uC791\uC5C5\uC744 \uD558\uACE0 \uC2F6\uC73C\uC2E0\uAC00\uC694?", noInputDigitalBot: '\uBB38\uC758 \uB0B4\uC6A9\uC744 \uC124\uBA85\uD558\uB294 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uC785\uB825\uD558\uC2ED\uC2DC\uC624. \uC608: "\uB0B4 \uACC4\uC88C \uC794\uC561 \uD655\uC778"' }, askForSlot: { askFor: "%1$s \uC694\uCCAD", noInput: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC744(\uB97C) \uB9D0\uD558\uAC70\uB098 \uC785\uB825\uD558\uC138\uC694.", noInputWithSlot: "%1$s\uC744(\uB97C) \uB9D0\uD558\uAC70\uB098 \uC785\uB825\uD558\uC138\uC694.", noMatch: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC744(\uB97C) \uB2E4\uC2DC \uC54C\uB824 \uC8FC\uC138\uC694.", noMatchWithSlot: "%1$s\uC744(\uB97C) \uB2E4\uC2DC \uC54C\uB824 \uC8FC\uC138\uC694.", question: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC774(\uAC00) \uBB34\uC5C7\uC778\uAC00\uC694?", questionWithSlot: "%1$s\uC774(\uAC00) \uBB34\uC5C7\uC778\uAC00\uC694?", pleaseEnterSlotNameHere: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694)", noInputDigitalBot: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC744(\uB97C) \uC785\uB825\uD558\uC2ED\uC2DC\uC624.", noInputWithSlotDigitalBot: "%1$s\uC744(\uB97C) \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.", continuationPromptWithSlot: "\uC9C0\uAE08\uAE4C\uC9C0 {{Slot.%1$s}}\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2ED\uC2DC\uC624." }, askForNextSlot: { noInput: '\uB2E4\uB978 \uCFFC\uB9AC\uAC00 \uC788\uC73C\uBA74 "\uC608", \uD1B5\uD654\uB97C \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC138\uC694.', noMatch: '\uB2E4\uB978 \uCFFC\uB9AC\uAC00 \uC788\uC73C\uBA74 "\uC608", \uC138\uC158\uC744 \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC2ED\uC2DC\uC624.', question: "\uC774\uC678\uC5D0 \uB2E4\uB978 \uB3C4\uC6C0\uC774 \uD544\uC694\uD558\uC138\uC694?", noInputDigitalBot: '\uB2E4\uB978 \uBB38\uC758\uAC00 \uC788\uC73C\uBA74 "\uC608"\uB97C \uC785\uB825\uD558\uACE0 \uC138\uC158\uC744 \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.', noMatchDigitalBot: '\uB2E4\uB978 \uBB38\uC758\uAC00 \uC788\uC73C\uBA74 "\uC608"\uB97C \uC785\uB825\uD558\uACE0 \uC138\uC158\uC744 \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.' }, askForPayment: { noInputDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uACB0\uC81C \uC815\uBCF4\uB97C \uC81C\uACF5\uD558\uC2ED\uC2DC\uC624.", noMatchDigitalBot: "\uC751\uB2F5\uC744 \uC774\uD574\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC2ED\uC2DC\uC624." }, askForAuthentication: { noInputDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uC778\uC99D \uC815\uBCF4\uB97C \uC81C\uACF5\uD558\uC2ED\uC2DC\uC624.", noMatchDigitalBot: "\uC751\uB2F5\uC744 \uC774\uD574\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC2ED\uC2DC\uC624." }, askSurveyQuestion: { notApplicable: "\uD574\uB2F9\uB418\uC9C0 \uC54A\uC74C", surveyAnswerOptionSequence: "'%2$s'\uC5D0 \uB300\uD55C %1$s\uC744(\uB97C) \uB204\uB985\uB2C8\uB2E4.", surveyAnswerNotApplicableSequence: "\uD574\uB2F9 \uC5C6\uC74C\uC5D0 \uB300\uD55C \uBCC4\uC744 \uB204\uB985\uB2C8\uB2E4.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \uD574\uB2F9 \uC5C6\uC74C\uC5D0 \uB300\uD55C \uBCC4\uC744 \uB204\uB985\uB2C8\uB2E4.", voiceSurveyNoInputText: "\uC9C8\uBB38\uC5D0 \uC751\uB2F5\uD558\uC2ED\uC2DC\uC624.", voiceSurveyNoMatchText: "\uC81C\uAC00 \uC81C\uB300\uB85C \uD30C\uC545\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4." }, commonModule: { exitCommonModule: "\uACF5\uD1B5 \uBAA8\uB4C8 \uC885\uB8CC" }, form: { noInputDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uC591\uC2DD\uC744 \uC791\uC131\uD558\uC2ED\uC2DC\uC624.", noMatchDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uC591\uC2DD\uC744 \uC791\uC131\uD558\uC2ED\uC2DC\uC624." }, messagingTemplate: { noInputDigitalBot: "\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC635\uC158 \uC911 \uD558\uB098\uB97C \uC120\uD0DD\uD558\uC138\uC694.", noMatchDigitalBot: "\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC635\uC158 \uC911 \uD558\uB098\uB97C \uC120\uD0DD\uD558\uC138\uC694." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\uACC4\uC18D", knowledgeAnswerHighlightFullArticleDefault: "\uC804\uCCB4 \uBB38\uC11C \uBCF4\uAE30", knowledgeInitialResponseMulti: "\uBAA9\uD45C\uB97C \uBA85\uD655\uD788 \uC54C \uC218 \uC788\uB3C4\uB85D \uB2E4\uC74C \uBAA9\uB85D\uC5D0\uC11C \uBC88\uD638\uB97C \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624.", knowledgeInitialResponseMultiRetry: "\uBC88\uD638\uB97C \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624. \uC608\uB97C \uB4E4\uC5B4 '1'\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4.\n\uB2E4\uC74C\uC740 \uC635\uC158 \uBAA9\uB85D\uC785\uB2C8\uB2E4.", knowledgeNoMatch: "\uC5C6\uC74C", knowledgeConfirmation: "\uC9C8\uBB38\uC758 \uC751\uB2F5\uC774 \uB418\uC5C8\uC2B5\uB2C8\uAE4C?", knowledgeFollowup: "\uC9C8\uBB38\uC5D0 \uB300\uD55C \uB2F5\uBCC0\uC774 \uB418\uC5C8\uAE30\uB97C \uBC14\uB78D\uB2C8\uB2E4. \uAD81\uAE08\uD55C \uAC83\uC774 \uC788\uC73C\uC2DC\uBA74 \uB354 \uC9C8\uBB38\uD558\uC2E4 \uC218 \uC788\uC2B5\uB2C8\uB2E4." }, noOverlay: { intent: { intentConfirmationStr1: "\uC6D0\uD558\uC2DC\uB294\uAD70\uC694.", intentConfirmationStr2: "\uB9DE\uC2B5\uB2C8\uAE4C?" }, youSaid: { youSaidConfirmationStr1: "\uB9D0\uC500\uD558\uC168\uC2B5\uB2C8\uB2E4.", youSaidConfirmationStr2: "\uB9DE\uC2B5\uB2C8\uAE4C?", youSaidConfirmationStr1DigitalBot: "\uC785\uB825\uD558\uC2E0 \uC0AC\uD56D" }, noInput: { noInputStr1: "\uB9D0\uD558\uAC70\uB098 \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.", noInputStr1DigitalBot: "\uB2E4\uC74C \uC0AC\uD56D\uC744 \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624." }, noMatch: { noMatchStr1: "\uC81C\uACF5\uD574 \uC8FC\uC2ED\uC2DC\uC624." }, whatIs: { whatIsQuestionStr1: "\uBB34\uC5C7\uC785\uB2C8\uAE4C?", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\uC9C0\uAE08\uAE4C\uC9C0", iGotContinuationStr2: "\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2ED\uC2DC\uC624." } }, defaultCallFlowOne: "\uAE30\uBCF8 \uD1B5\uD654 \uD750\uB984", errorHandlingAgentEscalationConfirmation: "\uC0C1\uB2F4 \uC804\uBB38\uAC00\uC640 \uD1B5\uD654\uD558\uB824\uACE0 \uD569\uB2C8\uB2E4. \uB9DE\uC2B5\uB2C8\uAE4C?", errorHandlingAgentEscalationHandover: "\uC7A0\uC2DC \uAE30\uB2E4\uB824 \uC8FC\uC2DC\uBA74 \uC5F0\uACB0\uD574 \uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4.", errorHandlingErrorEventHandover: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC7A0\uC2DC \uAE30\uB2E4\uB824 \uC8FC\uC2DC\uBA74 \uB3C4\uC6C0\uC744 \uB4DC\uB9B4 \uC218 \uC788\uB294 \uC0AC\uB78C\uACFC \uC5F0\uACB0\uD574 \uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4.", errorHandlingErrorEventHandoverVoiceSurvey: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0\uC744 \uC885\uB8CC\uD569\uB2C8\uB2E4.", errorHandlingRecognitionEventHandover: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC81C\uAC00 \uC81C\uB300\uB85C \uD30C\uC545\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC7A0\uC2DC \uAE30\uB2E4\uB824 \uC8FC\uC2DC\uBA74 \uB3C4\uC6C0\uC744 \uB4DC\uB9B4 \uC218 \uC788\uB294 \uC0AC\uB78C\uACFC \uC5F0\uACB0\uD574 \uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC81C\uAC00 \uC81C\uB300\uB85C \uD30C\uC545\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0\uC744 \uC885\uB8CC\uD569\uB2C8\uB2E4.", errorHandlingTTS: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uD1B5\uD654\uB97C \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC2ED\uC2DC\uC624.", initialGreetingTTS: "\uC548\uB155\uD558\uC138\uC694? \uC11C\uBE44\uC2A4\uB97C \uC2DC\uC791\uD569\uB2C8\uB2E4.", initialState: "\uCD5C\uCD08 \uC0C1\uD0DC", initialBotState: "\uAE30\uBCF8 \uBD07", initialDigitalBotState: "\uC2DC\uC791 \uC778\uC0AC\uB9D0", initialSurveyBotState: "\uC870\uC0AC \uBD07", intentConfirmation: "%1$s\uC744(\uB97C) \uC6D0\uD558\uC2DC\uB294 \uAC83\uC774 \uB9DE\uB098\uC694?", mainMenu: "\uAE30\uBCF8 \uBA54\uB274", mainMenuTTS: "\uAE30\uBCF8 \uBA54\uB274\uC5D0 \uC788\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0\uC744 \uB04A\uC73C\uB824\uBA74 9\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.", mainTask: "\uC791\uC5C5", settingsConfirmationNoInputApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uB4E3\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC608\uB098 \uC544\uB2C8\uC694\uB85C \uB9D0\uC500\uD558\uC2ED\uC2DC\uC624.", settingsConfirmationNoInputApologyDigitalBot: '\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC785\uB825\uD558\uC2E0 \uB0B4\uC6A9\uC774 \uC218\uC2E0\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. "\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.', settingsConfirmationNoMatchApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC608\uB098 \uC544\uB2C8\uC694\uB85C \uB9D0\uC500\uD558\uC2ED\uC2DC\uC624.", settingsConfirmationNoMatchApologyDigitalBot: '\uC8C4\uC1A1\uD569\uB2C8\uB2E4. "\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.', settingsNoInputApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uB4E3\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.", settingsNoInputApologyDigitalBot: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC785\uB825\uD558\uC2E0 \uB0B4\uC6A9\uC774 \uC218\uC2E0\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.", settingsEndOfSessionMessageDigitalBot: "\uD55C\uCC38 \uB3D9\uC548 \uC751\uB2F5\uD558\uC2DC\uC9C0 \uC54A\uC558\uAE30 \uB54C\uBB38\uC5D0 \uC774 \uCC44\uD305\uC744 \uB2EB\uC73C\uB824\uACE0 \uD569\uB2C8\uB2E4. \uB3C4\uC6C0\uC774 \uD544\uC694\uD558\uC2DC\uBA74 \uB2E4\uC2DC \uC5F0\uB77D\uC8FC\uC138\uC694. \uAC10\uC0AC\uD569\uB2C8\uB2E4.", settingsNoMatchApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4.", settingsNoToConfirmationApology: "\uC81C \uC798\uBABB\uC785\uB2C8\uB2E4.", periodicStateName: "\uBC18\uBCF5 \uC0C1\uD0DC" }; - }, 82985: (e2, t2, i2) => { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(81901)), r = n2.__importDefault(i2(67222)), a = n2.__importDefault(i2(93229)), s = n2.__importDefault(i2(46422)), l = n2.__importDefault(i2(97354)), u = { ArchFilterClauseContainer: o.default, ArchFilterClausePropertyCallback: r.default, ArchFilterClausePropertyValueEquals: a.default, ArchFilterClausePropertyValueNotEquals: s.default, ArchFilterObject: l.default }; + t2.default = u; + }, 81104(e2, t2, i2) { "use strict"; - var n2, r2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const a = i2(31635), s = a.__importDefault(i2(94225)), l = a.__importDefault(i2(11210)); - class u extends l.default { + const n2 = i2(31635).__importDefault(i2(83747)), o = i2(96618); + class r extends n2.default { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchValueFromExpression(e3.exitReason), "f"), a.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.inputText), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchValueFromExpression(e3.intent), "f"); + super(e3), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts), this._virtualAgentSettings = this.coreFactory.createArchWrapper(e3.virtualAgentSettings); } - get isArchBaseActionCallBotFlow() { - return true; + get _flowType() { + return o.flowTypes.flowTypeBot; } - get botFlowTypeEnum() { - return ""; + get displayTypeName() { + return "ArchFlowBot"; } - get inputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + get isArchFlowBot() { + return true; } - get outputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + get settingsPrompts() { + return this._promptSettings; } - get exitReason() { - return a.__classPrivateFieldGet(this, n2, "f"); + get settingsVirtualAgent() { + return this._virtualAgentSettings; } - get inputText() { - return a.__classPrivateFieldGet(this, r2, "f"); + } + t2.default = r; + }, 5474(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(16434)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3); } - get intent() { - return a.__classPrivateFieldGet(this, o, "f"); + get _flowType() { + return o.flowTypes.flowTypeBusinessProcess; } - get targetFlowInfo() { - return this.coreFactory.createArchFlowInfoBasic(this._getCoreViewModel().model.flowId, this._getCoreViewModel().model.flowName, this.botFlowTypeEnum); + get displayTypeName() { + return "ArchFlowBusinessProcess"; } - setTargetFlowInfoAsync(e3, t3) { - return a.__awaiter(this, void 0, void 0, function* () { - const i3 = this._infoPropSet("newValue", "targetFlowInfo"); - return this._checkItem(i3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "you must pass in an ArchFlowInfo or ArchFlowInfoBasic instance when setting the targetFlowInfo value."), this._checkItem(i3, e3.type !== this.botFlowTypeEnum, `the supplied flow information points to a flow of type '${e3.type}' which is not supported by this action. You must pass in a flow information value that specifies a flow of type '${this.botFlowTypeEnum}'.`), this.logNote(`configuring the call bot flow action to call the bot flow with name '${e3.name}' (id: '${e3.id}') at runtime.`), yield this._getCoreViewModel().setBotFlowReferenceToCallByFlowId(e3.id), s.default.executeCallback(this, "setTargetFlowInfoAsync", t3); - }); + get isArchFlowBusinessProcess() { + return true; } } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = u; - }, 83051: (e2, t2, i2) => { - const n2 = i2(28730), { endStateActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 83054: (e2, t2, i2) => { + t2.default = r; + }, 4612(e2, t2, i2) { "use strict"; + var n2, o; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { + const r = i2(31635), a = r.__importDefault(i2(66872)), s = i2(96618); + class l extends a.default { constructor(e3) { - super(e3); + super(e3), n2.set(this, void 0), o.set(this, void 0), r.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.callPrompts), "f"), r.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.commonModuleSettings), "f"); } - get _actionTypeId() { - return r2.nextLoopActionType; + get _flowType() { + return s.flowTypes.flowTypeCommonModule; } get displayTypeName() { - return this._scriptingName; + return "ArchFlowCommonModule"; } - get isArchActionLoopNext() { + get isArchFlowCommonModule() { return true; } + get settingsCommonModule() { + return r.__classPrivateFieldGet(this, o, "f"); + } + get settingsPrompts() { + if (!this._getCoreViewModel().callPrompts.outOfService) return r.__classPrivateFieldGet(this, n2, "f"); + } + get startUpObject() { + return this.coreFactory.createArchWrapper(this._coreFlowViewModel.startUpObject); + } } - t2.default = o; - }, 83226: (e2, t2, i2) => { - const n2 = i2(11475), r2 = i2(50964).default; - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "DurationVariable", true), Object.defineProperties(o.prototype, { facets: { enumerable: true, get: function() { - return this._facets; - }, set: function(e3) { - this._facets = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 83231: (e2, t2, i2) => { + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), t2.default = l; + }, 18184(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(43212), o = n2.__importStar(i2(25657)), a = n2.__importStar(i2(24032)), s = i2(47957), l = a.getTopic("KnowledgeSettingViewModel"); - class u extends r2.BaseConfigurationListViewModel { + const n2 = i2(31635), o = n2.__importDefault(i2(83747)), r = i2(96618), a = n2.__importDefault(i2(56549)), s = i2(71528); + class l extends o.default { constructor(e3) { - super(e3); - } - get className() { - return "KnowledgeSettingViewModel"; + super(e3), this._virtualAgentSettings = this.coreFactory.createArchWrapper(e3.virtualAgentSettings); } - get getConfiguration() { - return this.model; + get _flowType() { + return r.flowTypes.flowTypeDigitalBot; } - get id() { - return this.model.id; + get displayTypeName() { + return "ArchFlowDigitalBot"; } - get knowledgeSettingId() { - return this.model.id; + get isArchFlowDigitalBot() { + return true; } - get label() { - return this.model.name; + get settingsVirtualAgent() { + return this._virtualAgentSettings; } - get name() { - return this.model.name; + loadResponseLibraryManager() { + return n2.__awaiter(this, void 0, void 0, function* () { + const e3 = yield a.default.loadAllItemsAsync(s.responseLibraryManager, "response library names", "name"); + this.logNote("found " + e3.length + " Response Libraries"); + }); } - get knowledgeSettingName() { - return this.model.name; + } + t2.default = l; + }, 74299(e2, t2, i2) { + "use strict"; + var n2; + Object.defineProperty(t2, "__esModule", { value: true }); + const o = i2(31635), r = o.__importDefault(i2(16434)), a = i2(96618); + class s extends r.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.emailSendSettings), "f"); } - get version() { - return this.model.version; + get _flowType() { + return a.flowTypes.flowTypeEmailSend; } - get isMultiSourceEnabled() { - return this.model.isMultiSourceEnabled; + get displayTypeName() { + return "ArchFlowEmailSend"; } - get isDisambiguationTabDisabled() { - return this.isMultiSourceEnabled; + get isArchFlowEmailSend() { + return true; } - get searchSetting() { - return this.model.searchSetting; + get emailSendSettings() { + return o.__classPrivateFieldGet(this, n2, "f"); } - get sources() { - return this.model.sources; + } + n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; + }, 26567(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(66872)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts); } - getSourceNames() { - return n2.__awaiter(this, void 0, void 0, function* () { - if (!this.model.sources || !Array.isArray(this.model.sources)) return []; - try { - const e3 = this.model.sources.map((e4) => o.getKnowledgeSource(e4.id).catch(() => null)); - return (yield Promise.all(e3)).filter((e4) => null !== e4).map((e4) => e4.name); - } catch (e3) { - return l.error("Error fetching source names:", e3), []; - } - }); + get _flowType() { + return o.flowTypes.flowTypeInQueueCall; } - get generationSetting() { - return this.model.generationSetting; + get displayTypeName() { + return "ArchFlowInQueueCall"; } - get detailDescription() { - return this.model.description ? this.model.description : s.knowledgeSettings.knowledgeNoDescription; + get isArchFlowInQueueCall() { + return true; } - get stateful() { - return this.model.stateful; + get settingsInQueueCall() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().inQueueSettings); } - get dateCreated() { - return this.model.dateCreated; + get settingsPrompts() { + return this._promptSettings; } - get dateModified() { - return this.model.dateModified; + get startUpObject() { + return this.coreFactory.createArchWrapper(this._coreFlowViewModel.startUpObject); } } - t2.default = u; - }, 83276: (e2, t2, i2) => { - const n2 = i2(31140); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "HedwigActionCategoryList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - (e3 = this.reviveArray(e3, n2)) && (this._entities = e3); - } } }), e2.exports = r2; - }, 83277: (e2, t2, i2) => { + t2.default = r; + }, 55167(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getDecisionTables = l, t2.getDecisionTable = u; - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(72746)), a = n2.__importDefault(i2(36019)), s = r2.getTopic("decisionTableApi"); - function l(e3) { - const t3 = a.default.build(o.getDecisionTables), i3 = e3.searchTerm ? { name: e3.searchTerm, pageSize: e3.defaultPageSize, withPublishedVersion: e3.additionalParams.withPublishedVersion } : { pageSize: e3.defaultPageSize, withPublishedVersion: e3.additionalParams.withPublishedVersion }; - return e3.after && (i3.after = e3.after), t3.queryParams(i3), t3.call(); - } - function u(e3) { - return a.default.build(o.getDecisionTable).templateParams({ tableId: e3 }).call().then((t3) => { - if (!t3.entities || 0 === t3.entities.length) throw s.error(`No decision table found with id ${e3}`), new Error(`No decision table found with id ${e3}`); - return t3.entities[0]; - }); - } - l.api = o.getDecisionTables, u.api = o.getDecisionTable; - }, 83462: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(2398), { permissionService: o } = i2(67210), a = i2(47957), s = i2(97591); - function l() { - Object.defineProperties(this, { _displayName: { writable: true }, _username: { writable: true }, _state: { writable: true } }), this.email = void 0, this.organization = void 0, this._permissions = void 0, this._authorization = void 0, this.divisions = {}, this.status = void 0, this.token = void 0, this.images = void 0, l.baseConstructor.apply(this, arguments); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84502)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3); + } + get _flowType() { + return o.flowTypes.flowTypeInQueueEmail; + } + get displayTypeName() { + return "ArchFlowInQueueEmail"; + } + get isArchFlowInQueueEmail() { + return true; + } } - r2.extend(l, "User"), Object.defineProperties(l.prototype, { displayName: { get: function() { - let e3 = this._displayName || this.name || this.username; - return e3 || this.id !== s.systemUser || (e3 = a.user.system), e3; - }, set: function(e3) { - this._displayName = e3; - } }, label: { get: function() { - return this.displayName; - }, set: function(e3) { - this.displayName = e3; - } }, state: { get: function() { - return this._state; - }, set: function(e3) { - this._state = n2.isString(e3) ? e3.toLowerCase() : e3; - } }, authorization: { get: function() { - return this._authorization; - }, set: function(e3) { - this._authorization = e3, e3 && e3.permissions && (this.permissions = e3.permissions); - } }, permissions: { get: function() { - return this._permissions; - }, set: function(e3) { - this._permissions = e3, n2.each(e3, function(e4) { - o.addPermissionToUser(e4, this); - }.bind(this)); - } }, username: { get: function() { - return this._username || this.email; - }, set: function(e3) { - this._username = e3; - } } }), e2.exports = l; - }, 83516: (e2, t2, i2) => { + t2.default = r; + }, 67010(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)), 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: 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84502)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3); } - setNewInstanceDefaults(e3) { - super.setNewInstanceDefaults(e3), this.destination.setText(l.default.defaultDestinationId); + get _flowType() { + return o.flowTypes.flowTypeInQueueShortMessage; } - initializeDesignTime() { - super.initializeDesignTime(), this.destination.options.facets.setAllowableValueUseOriginalDisplayString(true).setAllowableValueShowOriginalDisplayStringInPopover(true).setAllowableValues(l.default.getAvailableDestinations()), this.destinationSnippetId.outOfService = !l.default.getDestination(this.destination.text).submissionReturnsSnippetIdentifier; + get displayTypeName() { + return "ArchFlowInQueueShortMessage"; } - static get branchInfo() { - return a.default.successFailure; + get isArchFlowInQueueShortMessage() { + return true; } } - 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) => { + t2.default = r; + }, 57612(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FlowExportSettings = void 0; - const n2 = i2(37007), r2 = i2(2560); - class o { - constructor(e3, t3) { - var i3; - this.format = e3; - const o2 = n2.FlowExportSettingAvailability.getFlowExportSettingAvailabilityInfo(); - e3 === r2.FlowFileFormatTypes.Yaml && (this.yamlOptions = { includeTrackingIds: !!t3 && (null === (i3 = o2.yaml) || void 0 === i3 ? void 0 : i3.trackingIdsCanBeExported) }); - } - get isFormatYaml() { - return this.format === r2.FlowFileFormatTypes.Yaml; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(25498)); + class a extends r.default { + constructor(e3) { + super(e3); } - get isFormatArchitect() { - return this.format === r2.FlowFileFormatTypes.Architect; + get _flowType() { + return o.flowTypes.flowTypeInboundCall; } - static createForArchitectFormat() { - return this.create(r2.FlowFileFormatTypes.Architect); + get displayTypeName() { + return "ArchFlowInboundCall"; } - static createForYamlFormat(e3) { - return this.create(r2.FlowFileFormatTypes.Yaml, e3); + get isArchFlowInboundCall() { + return true; } - static create(e3, t3) { - return e3 === r2.FlowFileFormatTypes.Yaml ? new o(r2.FlowFileFormatTypes.Yaml, t3) : new o(r2.FlowFileFormatTypes.Architect); + } + t2.default = a; + }, 24886(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(16434)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3); } - get isForComparison() { - return false; + get _flowType() { + return o.flowTypes.flowTypeInboundChat; } - get isForFlowYaml() { - return this.isFormatYaml; + get displayTypeName() { + return "ArchFlowInboundChat"; } - get isArchitectFormatExport() { - return this.isFormatArchitect; + get isArchFlowInboundChat() { + return true; } } - t2.FlowExportSettings = o; - }, 83566: (e2, t2, i2) => { + t2.default = r; + }, 5482(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), o = n2.__importDefault(i2(16434)), r = n2.__importDefault(i2(56549)), a = i2(96618), s = i2(71528); + class l extends o.default { constructor(e3) { super(e3); } - get _globalTypeName() { - return "externalLineInfoCollection"; + get _flowType() { + return a.flowTypes.flowTypeInboundEmail; } get displayTypeName() { - return "ArchValueExternalLineInfoCollection"; + return "ArchFlowInboundEmail"; } - get isArchValueExternalLineInfoCollection() { + get isArchFlowInboundEmail() { return true; } + loadResponseLibraryManager() { + return n2.__awaiter(this, void 0, void 0, function* () { + const e3 = yield r.default.loadAllItemsAsync(s.responseLibraryManager, "response library names", "name"); + this.logNote("found " + e3.length + " Response Libraries"); + }); + } + get settingsInboundEmailHandling() { + return this.coreFactory.createArchWrapper(this._coreFlowViewModel.inboundEmailSettings); + } } - t2.default = r2; - }, 83620: (e2, t2, i2) => { + t2.default = l; + }, 40721(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindSystemPromptActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(16434)), o = i2(96618); + class r extends n2.default { constructor(e3) { - super(e3), this.__type = o.__type; + super(e3); + } + get _flowType() { + return o.flowTypes.flowTypeInboundShortMessage; + } + get displayTypeName() { + return "ArchFlowInboundShortMessage"; + } + get isArchFlowInboundShortMessage() { + return true; + } + setPeriodicState(e3) { + this._checkItem(this._infoParm("archState", "setPeriodicState"), !e3 || !e3.isArchState, "you must pass in a valid ArchState instance to set it as the periodic state on a flow."), this.logNote("setting the periodic state to " + e3.logStr), this._getCoreViewModel().periodicState = e3._getCoreViewModel(); + } + get periodicState() { + const e3 = this._getCoreViewModel().periodicState; + return e3 ? this.coreFactory.createArchWrapper(e3) : null; } } - t2.FindSystemPromptActionModel = o, o.__type = r2.findSystemPromptActionType, o.registerType(); - }, 83630: (e2, t2, i2) => { + t2.default = r; + }, 21273(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), 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); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(37873)); + class a extends r.default { + constructor(e3) { + super(e3), this._coreFlowInfoViewModel = e3; } - objEvent_supportedLanguagesChanged() { - this._getIsInFlowSupportedLanguages() || this.builderViewModel.postNeedsConfigurationForFlowState(); + _getArchFlowInfoVersionForVersion(e3) { + if (o.default.isObject(e3) && o.default.isString(e3.commitVersion)) return this.coreFactory.createArchFlowInfoVersion(e3); } - _getIsInFlowSupportedLanguages() { - const e3 = this.parentFlow; - return !!(e3 && e3.definition && e3.definition.supportsLanguages && e3.languages && e3.languages.supportedLanguages) && o.default.contains(e3.languages.supportedLanguagesLCase, this.languageTag); + get displayTypeName() { + return "ArchFlowInfo"; } - get _needsDeletion() { - return !!super._needsDeletion || !this._getIsInFlowSupportedLanguages(); + get logStr() { + if (!this._coreFlowInfoViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrFlowId(e3, this.id), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - get className() { - return "LanguageBuilderPartContainerViewModel"; + get hasSavedVersion() { + return !!this._coreFlowInfoViewModel.versions && !o.default.isUndefined(this._getArchFlowInfoVersionForVersion(this._coreFlowInfoViewModel.versions.savedVersion)); } - get isLanguageBuilderPartContainerViewModel() { + get isArchFlowInfo() { return true; } - get languageTag() { - return this.criteria ? this.criteria.languageTag : ""; + get isCheckedIn() { + return !this.isLocked; } - get containerDisplayString() { - const e3 = s.getLanguageEntry(this.languageTag); - return e3 ? e3.text : ""; + get isLocked() { + return !!this._coreFlowInfoViewModel.isLocked; } - _validateContainerOnly(e3, t3) { - let i3 = super._validateContainerOnly(e3, t3); - if (i3) { - const t4 = this.languageTag; - if (o.default.isString(t4) && 0 !== t4.length) { - 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)(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; + get isLockedByAnotherUser() { + return this.isLocked && !!this._coreFlowInfoViewModel.isLockedByOtherUser; } - _destroy() { - a.unregisterEventSinkForEventEmitter(this.parentFlow.languages.id, this), super._destroy(); + get isLockedByCurrentUser() { + return this.isLocked && !this.isLockedByAnotherUser; + } + get isPublished() { + return !!this._coreFlowInfoViewModel.isPublished; + } + get isSystem() { + return !!this._coreFlowInfoViewModel.system; + } + get name() { + return this._coreFlowInfoViewModel.label; + } + get type() { + return this._coreFlowInfoViewModel.type; + } + get versionCheckedIn() { + if (this._coreFlowInfoViewModel.versions) return this._getArchFlowInfoVersionForVersion(this._coreFlowInfoViewModel.versions.checkedInVersion); + } + get versionPublished() { + if (this._coreFlowInfoViewModel.versions) return this._getArchFlowInfoVersionForVersion(this._coreFlowInfoViewModel.versions.publishedVersion); } } - t2.default = d; - }, 83645: (e2, t2, i2) => { + t2.default = a; + }, 74535(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AssignedCustomerIntentType = void 0; - const n2 = i2(80428), r2 = i2(94765), o = i2(53477); - class a extends r2.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(78432)), r = n2.__importDefault(i2(41714)), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(56549)), l = n2.__importDefault(i2(8471)); + class u extends l.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("flowIdNameTypeObject"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParmCtor("flowIdNameTypeObject.type"), e3.type, o.default.FLOW_TYPES_ALL), this._flowIdNameTypeObject = e3; } - get className() { - return "AssignedCustomerIntentType"; + get displayTypeName() { + return "ArchFlowInfoBasic"; } - createExpressionOptionClass() { - return new o.ExpressionTypeAssignedCustomerIntentOptions(); + get logStr() { + if (!this._flowIdNameTypeObject) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrFlowId(e3, this.id), this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - get supportsLiteralEditor() { - return false; + get isArchFlowInfoBasic() { + return true; + } + getFlowInfoAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidFunction(this._infoParm("callbackFunction", "getFlowInfoAsync"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("this.id", "getFlowInfoAsync"), this.id, "There is no flow identifier on this flow information object to look up"); + const t3 = this._infoParm("this.type", "getFlowInfoAsync"); + this._checkItemIsValidLiteralString(t3, this.type, o.default.FLOW_TYPES_ALL); + const i3 = yield s.default.findItemByIdAsync(r.default.getConfigListManagerForFlowType(this, t3, this.type), this.id, "flow id"), n3 = this.coreFactory.createArchWrapper(i3); + return a.default.executeCallback(this, "getFlowInfoAsync", e3, n3); + }); + } + get id() { + return this._flowIdNameTypeObject.id; + } + get name() { + return this._flowIdNameTypeObject.name; + } + get type() { + return this._flowIdNameTypeObject.type; } } - t2.AssignedCustomerIntentType = a, a.typeIdentifier = n2.expressionTypeNames.assignedCustomerIntent; - }, 83663: (e2, t2, i2) => { + t2.default = u; + }, 14517(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(63352), o = n2.__importDefault(i2(81574)); - class a extends o.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(8471)); + class a extends r.default { constructor(e3) { - super(e3), this._coreExpressionViewModel = e3; + super(), this._coreFlowVersionModel = e3; } get displayTypeName() { - return "ArchBaseValueWithAssignableProperties"; + return "ArchFlowInfoVersion"; } - get isArchBaseValueWithAssignableProperties() { + get logStr() { + if (!this._coreFlowVersionModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get isArchFlowInfoVersion() { return true; } - setLiteral() { - this._getCoreViewModel().mode = r2.ExpressionModes.literal; + get dateCreated() { + if (o.default.isActualNumber(this._coreFlowVersionModel.dateCreated) && !isNaN(this._coreFlowVersionModel.dateCreated) && this._coreFlowVersionModel.dateCreated > 0) return new Date(this._coreFlowVersionModel.dateCreated); + } + get versionStr() { + if (o.default.isString(this._coreFlowVersionModel.commitVersion)) return this._coreFlowVersionModel.commitVersion; } } t2.default = a; - }, 83668: (e2, t2, i2) => { + }, 10673(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(28562), r2 = i2(69149), o = { _label: "BotNoInput", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_noInput", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1DigitalBot" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noInput_seq_1", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1DigitalBot" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_noInput", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noInput_seq_1", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noInput", templateNoOverlaySectionKey: "noInputStr1" } }] } } }; - t2.default = o; - }, 83697: (e2, t2, i2) => { - let n2 = null; - if (i2(6697)) n2 = i2(17186); - else { - const e3 = i2(29546); - try { - n2 = i2(78858)("./" + e3.getCurrentLanguage() + "/currency.js"); - } catch (e4) { - n2 = i2(17186); + const n2 = i2(31635), o = i2(96618), r = n2.__importDefault(i2(25498)); + class a extends r.default { + constructor(e3) { + super(e3), this._settingsOutboundCall = this.coreFactory.createArchWrapper(e3.outboundSettings); } - } - 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); + get _flowType() { + return o.flowTypes.flowTypeOutboundCall; } - "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); + get displayTypeName() { + return "ArchFlowOutboundCall"; + } + get isArchFlowOutboundCall() { + return true; + } + get settingsOutboundCall() { + return this._settingsOutboundCall; } } - 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) => { + t2.default = a; + }, 12384(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = n2.__importDefault(i2(3542)); - class s extends o.PagedList { + const n2 = i2(31635).__importDefault(i2(25498)), o = i2(96618); + class r extends n2.default { constructor(e3) { super(e3); } - get entities() { - return this._entities; + get _flowType() { + return o.flowTypes.flowTypeSecureCall; } - set entities(e3) { - this._entities = this.reviveArray(e3, a.default); + get displayTypeName() { + return "ArchFlowSecureCall"; + } + get isArchFlowSecureCall() { + return true; } } - t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 83735: (e2, t2, i2) => { + t2.default = r; + }, 18381(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)), 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 { + const n2 = i2(31635).__importDefault(i2(16434)), o = i2(96618); + class r extends n2.default { constructor(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); + super(e3); } - get actions() { - return this._actions; + get _flowType() { + return o.flowTypes.flowTypeSurveyInvite; } - set actions(e3) { - this._actions = this.reviveMap(e3, r2.default, true); + get displayTypeName() { + return "ArchFlowSurveyInvite"; } - get dataTypes() { - return this._dataTypes; + get isArchFlowSurveyInvite() { + return true; } - set dataTypes(e3) { - this._dataTypes = this.reviveMap(e3, a.default); + } + t2.default = r; + }, 93975(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83747)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts), this._speechRecSettings = this.coreFactory.createArchWrapper(e3.speechRecognition); } - get dependencyTypes() { - return this._dependencyTypes; + get _flowType() { + return o.flowTypes.flowTypeVoice; } - set dependencyTypes(e3) { - this._dependencyTypes = this.reviveMap(e3, s.default, true); + get displayTypeName() { + return "ArchFlowVoice"; } - get features() { - return this.featureConfigs; + get isArchFlowVoice() { + return true; } - set features(e3) { - this.featureConfigs = e3; + get settingsPrompts() { + return this._promptSettings; } - get featureConfigs() { - return this._featureConfigs; + get settingsSpeechRec() { + return this._speechRecSettings; } - set featureConfigs(e3) { - this._featureConfigs = this.reviveMap(e3, u.default, true); + } + t2.default = r; + }, 25609(e2, t2, i2) { + "use strict"; + var n2, o, r; + Object.defineProperty(t2, "__esModule", { value: true }); + const a = i2(31635), s = i2(96618), l = a.__importDefault(i2(16731)); + class u extends l.default { + constructor(e3) { + super(e3), n2.set(this, void 0), o.set(this, void 0), r.set(this, void 0), a.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.callPrompts), "f"), a.__classPrivateFieldSet(this, o, this.coreFactory.createArchWrapper(e3.voiceSurveyFlowSettings), "f"), a.__classPrivateFieldSet(this, r, this.coreFactory.createArchWrapper(e3.speechRecognition), "f"); } - get featureSupport() { - return this._featureSupport; + get _flowType() { + return s.flowTypes.flowTypeVoiceSurvey; } - set featureSupport(e3) { - this._featureSupport = this.reviveItem(e3, c.default); + get displayTypeName() { + return "ArchFlowVoiceSurvey"; } - get functions() { - return this._functions; + get isArchFlowVoiceSurvey() { + return true; } - set functions(e3) { - this._functions = this.reviveMap(e3, p.default, true); + get settingsPrompts() { + if (!this._getCoreViewModel().callPrompts.outOfService) return a.__classPrivateFieldGet(this, n2, "f"); } - get flowTypes() { - return this._flowTypes; + get settingsSpeechRec() { + return a.__classPrivateFieldGet(this, r, "f"); } - set flowTypes(e3) { - l.expandFlowTypeMapAsync(e3, (e4) => { - this._flowTypes = this.reviveMap(e4, d.default, true); - }); + get voiceSurveySettings() { + return a.__classPrivateFieldGet(this, o, "f"); } - get languages() { - return this._languages; + } + n2 = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t2.default = u; + }, 45524(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(25498)), o = i2(96618); + class r extends n2.default { + constructor(e3) { + super(e3); } - set languages(e3) { - this._languages = this.reviveMap(e3, _.default, true); + get _flowType() { + return o.flowTypes.flowTypeVoicemail; } - get expansionsFlowTypes() { - return this._expansionsFlowTypes; + get displayTypeName() { + return "ArchFlowVoicemail"; } - set expansions(e3) { - 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); + get isArchFlowVoicemail() { + return true; } } - t2.default = m; - }, 83737: (e2, t2, i2) => { + t2.default = r; + }, 19496(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importStar(i2(14187)), a = n2.__importDefault(i2(71824)); - class s extends a.default { + const n2 = i2(31635).__importDefault(i2(16434)), o = i2(96618); + class r extends n2.default { constructor(e3) { super(e3); } - get className() { - return "SurveyInviteViewModel"; + get _flowType() { + return o.flowTypes.flowTypeWorkflow; } - get builtInVariableScopes() { - return [...super.builtInVariableScopes, o.scopes.survey]; + get displayTypeName() { + return "ArchFlowWorkflow"; } - get isSurveyInvite() { + get isArchFlowWorkflow() { return true; } - get type() { - return r2.flowTypes.flowTypeSurveyInvite; - } - get wrappedYamlName() { - return "surveyInvite"; - } } - t2.default = s; - }, 83747: (e2, t2, i2) => { + t2.default = r; + }, 50419(e2, t2, i2) { "use strict"; + var n2; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(16731)); - class r2 extends n2.default { + const o = i2(31635), r = o.__importDefault(i2(16434)), a = i2(96618); + class s extends r.default { constructor(e3) { - super(e3), this._botFlowSettings = this.coreFactory.createArchWrapper(e3.botFlowSettings), e3.definition.supportsKnowledge && (this._knowledgeSettings = this.coreFactory.createArchWrapper(e3.knowledgeSettings)); + super(e3), n2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.workitemFlowSettings), "f"); + } + get _flowType() { + return a.flowTypes.flowTypeWorkitem; } get displayTypeName() { - return "ArchBaseFlowBotWithKnowledge"; + return "ArchFlowWorkitem"; } - get isArchBaseFlowBotWithKnowledge() { + get isArchFlowWorkitem() { return true; } - get knowledgeSettings() { - var e3; - return !this._knowledgeSettings || (null === (e3 = this._getCoreViewModel().knowledgeSettings) || void 0 === e3 ? void 0 : e3.outOfService) ? null : this._knowledgeSettings; - } - get botFlowSettings() { - return this._botFlowSettings; + get workitemSettings() { + return o.__classPrivateFieldGet(this, n2, "f"); } } - t2.default = r2; - }, 83855: (e2, t2, i2) => { + n2 = /* @__PURE__ */ new WeakMap(), t2.default = s; + }, 86977(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() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "LexV2BotList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 84041: (e2, t2) => { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(81104)), r = n2.__importDefault(i2(5474)), a = n2.__importDefault(i2(4612)), s = n2.__importDefault(i2(18184)), l = n2.__importDefault(i2(74299)), u = n2.__importDefault(i2(57612)), c = n2.__importDefault(i2(24886)), d = n2.__importDefault(i2(21273)), p = n2.__importDefault(i2(14517)), _ = n2.__importDefault(i2(74535)), h = n2.__importDefault(i2(26567)), m = n2.__importDefault(i2(55167)), g = n2.__importDefault(i2(67010)), f = n2.__importDefault(i2(10673)), T = n2.__importDefault(i2(12384)), y = n2.__importDefault(i2(5482)), S = n2.__importDefault(i2(40721)), A = n2.__importDefault(i2(18381)), N = n2.__importDefault(i2(93975)), v = n2.__importDefault(i2(45524)), I = n2.__importDefault(i2(25609)), C = n2.__importDefault(i2(19496)), O = n2.__importDefault(i2(50419)), b = { ArchFlowBot: o.default, ArchFlowBusinessProcess: r.default, ArchFlowCommonModule: a.default, ArchFlowDigitalBot: s.default, ArchFlowEmailSend: l.default, ArchFlowInboundCall: u.default, ArchFlowInboundChat: c.default, ArchFlowInfo: d.default, ArchFlowInfoVersion: p.default, ArchFlowInfoBasic: _.default, ArchFlowInQueueCall: h.default, ArchFlowInQueueEmail: m.default, ArchFlowInQueueShortMessage: g.default, ArchFlowOutboundCall: f.default, ArchFlowSecureCall: T.default, ArchFlowInboundEmail: y.default, ArchFlowInboundShortMessage: S.default, ArchFlowSurveyInvite: A.default, ArchFlowVoice: N.default, ArchFlowVoicemail: v.default, ArchFlowVoiceSurvey: I.default, ArchFlowWorkflow: C.default, ArchFlowWorkitem: O.default }; + t2.default = b; + }, 61427(e2, t2, i2) { "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NluUpdateType = void 0, (function(e3) { - e3.nluUpdated = "nluUpdated", e3.dynamicSlotTypes = "dynamicSlotTypes", e3.taskUpdate = "taskUpdate"; - })(i2 || (t2.NluUpdateType = i2 = {})); - }, 84050: (e2, t2, i2) => { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(8851)), r = 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: o.default, audio: r.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; + }, 15745(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NameIdDescriptionModel = void 0; - const n2 = i2(31635), r2 = i2(19596), o = i2(80295), a = i2(80295); - class s extends r2.DataContract { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(42175)); + class l extends s.default { constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_name"), (0, a.makeUnenumerable)(this, "_id"), (0, a.makeUnenumerable)(this, "_description"); + super(e3), this._audio = this.coreFactory.createArchAudio(e3.prompts), this._coreMenuViewModel = e3, this._menuSettings = this.coreFactory.createArchWrapper(e3.menuSettings), this._speechRecSettings = this.coreFactory.createArchWrapper(e3.speechRecSettings); } - get displayName() { - return this._name; + get _actionTypeId() { + return r.menuActionType; } - set displayName(e3) { - this._name = e3; + get childMenus() { + const e3 = []; + return o.default.each(this._coreMenuViewModel.choices, (t3) => { + e3.push(this.coreFactory.createArchWrapper(t3)); + }), e3; } - get label() { - return this._name; + get displayTypeName() { + return "ArchMenu"; } - set label(e3) { - this._name = e3; + get logStr() { + if (!this._coreMenuViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); + } + get menuDefault() { + const e3 = this._getCoreViewModel().defaultMenuChoice; + if (e3) { + const t3 = o.default.find(this._getCoreViewModel().choices, (t4) => t4.id === e3); + if (t3) return this.coreFactory.createArchWrapper(t3); + } + } + set menuDefault(e3) { + let t3, i3 = "no default menu choice"; + if (!o.default.isUndefined(e3) && null !== e3) { + const n3 = this._infoPropSet("newValue", "menuDefault"); + this._checkItem(n3, !e3.isArchBaseMenuChoice, "The parameter value must be an ArchBaseMenuChoice instance."), t3 = this._findCoreMenuChoiceById(e3.id), this._checkItem(n3, !t3, `The menu choice ${e3.logStr} is not a child of this menu and cannot be set to the default menu choice.`), i3 = e3.logStr; + } + this._getCoreViewModel().defaultMenuChoice = t3 ? t3.id : null, this.logNote(`default menu choice set to ${i3}`); + } + get audio() { + return this._audio; + } + get isArchMenu() { + return true; + } + get isReusableMenu() { + return this._getCoreViewModel().id !== this._coreMenuViewModel.parentFlow.initialSequence && !this._coreMenuViewModel.isHidden; } get name() { - return this._name; + return this._coreMenuViewModel.name; } set name(e3) { - this._name = e3; + if (!e3) throw "you cannot have a blank name set on a menu"; + this._coreMenuViewModel.name = e3, this._coreMenuViewModel.nameFacetError && this.logErrorAndThrow(this._coreMenuViewModel.nameFacetError); } - get id() { - return this._id; + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreMenuViewModel.parentFlow); } - set id(e3) { - this._id = e3; + get settingsMenu() { + return this._menuSettings; } - get description() { - return this._description; + get settingsSpeechRec() { + return this._speechRecSettings; } - set description(e3) { - this._description = e3; + get trackingId() { + return this._coreMenuViewModel.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.NameIdDescriptionModel = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "name", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "id", null); - }, 84111: (e2, t2, i2) => { - const n2 = i2(93476), r2 = i2(28730), o = i2(7401), { loopActionType: a } = i2(30801); - function s() { - Object.defineProperties(this, { _currentIndex: { writable: true }, _loopCount: { writable: true }, _path: { writable: true } }), s.baseConstructor.apply(this, arguments); - } - r2.extend(s, a, true), Object.defineProperties(s.prototype, { pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.currentIndex.pasteReIdOrRename(e3), this.loopCount.pasteReIdOrRename(e3), this.path.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.currentIndex.pasteResolveOldToNewValues(e3), this.loopCount.pasteResolveOldToNewValues(e3), this.path.pasteResolveOldToNewValues(e3); - } }, currentIndex: { enumerable: true, get: function() { - return this._currentIndex; - }, set: function(e3) { - this._currentIndex = this.reviveItem(e3, o); - } }, loopCount: { enumerable: true, get: function() { - return this._loopCount; - }, set: function(e3) { - this._loopCount = this.reviveItem(e3, o); - } }, path: { enumerable: true, get: function() { - return this._path; - }, set: function(e3) { - this._path = this.reviveItem(e3, n2); - } } }), e2.exports = s; - }, 84133: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _audioExpression: { writable: true } }), this.langCode = void 0, this.disabled = void 0, this.uiMetaData = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "AudioCase", true), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - this.audioExpression.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - this.audioExpression.pasteResolveOldToNewValues(e3); - } }, audioExpression: { enumerable: true, get: function() { - return this._audioExpression; - }, set: function(e3) { - this._audioExpression = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 84151: (e2, t2, i2) => { + t2.default = l; + }, 57165(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUsersByIdActionModel = void 0; - const n2 = i2(64599), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectsByIdActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { constructor(e3) { - super(e3), this.__type = o.__type; + super(e3); } - } - t2.FindUsersByIdActionModel = o, o.__type = r2.findUsersByIdActionType, o.registerType(); - }, 84195: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { transcriptionActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _enableTranscription: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.enableTranscription.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.enableTranscription.pasteResolveOldToNewValues(e3); - } }, enableTranscription: { enumerable: true, get: function() { - return this._enableTranscription; - }, set: function(e3) { - this._enableTranscription = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 84250: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.groupedFlowSecureService = void 0; - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(62613); - class o extends r2.GroupedFlowService { - constructor() { - super(); + get _actionTypeId() { + return o.dialExtensionActionType; } - get className() { - return "GroupedFlowSecureService"; + get displayTypeName() { + return "ArchMenuDialByExtension"; } - _getShouldRegisterObjectInGroup(e3) { - if (n2.default.isBoolean(e3.consumesSecureData)) return e3.consumesSecureData; + get actionDialByExtension() { + return this._archAction; + } + get isArchMenuDialByExtension() { + return true; } } - t2.groupedFlowSecureService = new o(); - }, 84282: (e2, t2, i2) => { + t2.default = a; + }, 72883(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(57382)); - class a extends o.default { + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { constructor(e3) { super(e3); } - get displayTypeName() { - return "ArchBaseActionWithOutputsMatchExactMatchMultipleNotFound"; - } - get isArchBaseActionWithOutputsMatchExactMatchMultipleNotFound() { - return true; + get _actionTypeId() { + return o.disconnectActionType; } - get outputMatchExact() { - return this._getOutputById(r2.outputIds.matchExact, true); + get displayTypeName() { + return "ArchMenuDisconnect"; } - get outputMatchMultiple() { - return this._getOutputById(r2.outputIds.matchMultiple, true); + get actionDisconnect() { + return this._archAction; } - get outputNotFound() { - return this._getOutputById(r2.outputIds.notFound, true); + get isArchMenuDisconnect() { + return true; } } t2.default = a; - }, 84346: (e2, t2, i2) => { - var n2 = i2(61154).random; - e2.exports = n2; - }, 84378: (e2, t2, i2) => { + }, 56819(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), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends l.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - static get managedProperties() { - return [{ label: d.setExternalTag.externalTagSettingLabel, options: r2.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setIninTestingField("ExternalTag").setDisableSpellcheck(true).facets.setMaxLength(36)), property: "externalTag", type: u.expressionTypeNames.string }]; + get _actionTypeId() { + return o.transferMenuActionType; } - static get branchInfo() { - return o.default.successFailure; + get displayTypeName() { + return "ArchMenuJumpToMenu"; + } + get actionJumpToMenu() { + return this._archAction; + } + get isArchMenuJumpToMenu() { + return true; } } - 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) => { + t2.default = a; + }, 32829(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), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends l.default { - constructor(e3, t3) { - super(e3, t3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - 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: p.createYamlOptions("voiceFlow", (e3) => e3.setExportOrder(6)) }]; + get _actionTypeId() { + return o.transferTaskActionType; } - get targetFlowType() { - return this.voiceFlow; + get displayTypeName() { + return "ArchMenuJumpToTask"; + } + get actionJumpToTask() { + return this._archAction; + } + get isArchMenuJumpToTask() { + return true; } } - 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) => { + t2.default = a; + }, 36243(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUserByIdActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { constructor(e3) { - super(e3), this.__type = o.__type; + super(e3); + } + get _actionTypeId() { + return o.previousMenuActionType; + } + get displayTypeName() { + return "ArchMenuPreviousMenu"; + } + get actionPreviousMenu() { + return this._archAction; + } + get isArchMenuPreviousMenu() { + return true; } } - t2.FindUserByIdActionModel = o, o.__type = r2.findUserByIdActionType, o.registerType(); - }, 84433: (e2, t2, i2) => { + t2.default = a; + }, 73697(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(96618), o = n2.__importDefault(i2(66700)), a = i2(94453), s = i2(31145); - class l extends s.NluFlowViewModel { + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { constructor(e3) { super(e3); } - get className() { - return "BotFlowViewModel"; + get _actionTypeId() { + return o.repeatMenuActionType; } - get stateViewModel() { - return o.default; + get displayTypeName() { + return "ArchMenuRepeatMenu"; } - get isBotFlow() { + get actionRepeatMenu() { + return this._archAction; + } + get isArchMenuRepeatMenu() { return true; } - get type() { - return r2.flowTypes.flowTypeBot; + } + t2.default = a; + }, 47673(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - _createInitialActions() { - return n2.__awaiter(this, void 0, void 0, function* () { - return (0, a.addBotFlowActions)(this), this; - }); + get _actionTypeId() { + return o.returnToAgentActionType; } - get wrappedYamlName() { - return "botFlow"; + get displayTypeName() { + return "ArchMenuReturnToAgent"; } - get statesYamlPropertyName() { - return "bots"; + get actionReturnToAgent() { + return this._archAction; + } + get isArchMenuReturnToAgent() { + return true; } } - t2.default = l; - }, 84464: (e2, t2, i2) => { + t2.default = a; + }, 72188(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.actionRegistrationService = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importStar(i2(12847)), a = i2(56673), s = i2(55909), l = i2(33951); - class u extends a.BaseRegistrationService { - constructor() { - super(); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(30801), a = n2.__importDefault(i2(62028)); + class s extends a.default { + constructor(e3) { + super(e3); + const t3 = e3.action; + this._checkItemUndefinedOrNull(this._infoParmCtor("coreMenuChoiceViewModel.action.menu"), t3.menu), this._audio = this.coreFactory.createArchWrapper(t3.menu.prompts), this._coreMenuViewModel = t3.menu, this._menuSettings = this.coreFactory.createArchWrapper(t3.menu.menuSettings), this._speechRecSettings = this.coreFactory.createArchWrapper(t3.menu.speechRecSettings); } - get className() { - return "ActionRegistrationService"; + get _actionTypeId() { + return r.menuActionActionType; } - get isActionRegistrationService() { - return true; + get childMenus() { + const e3 = []; + return o.default.each(this._getCoreViewModel().choices, (t3) => { + e3.push(this.coreFactory.createArchWrapper(t3)); + }), e3; } - registerItem(e3) { - super.registerItem(e3), l.ParameterValidator.expectObject(e3.info, () => s.ParameterInfo.createFunctionParameter(this.className, "registerItem", "itemViewModel.info")), l.ParameterValidator.expectActionType(e3.info.typeId, () => s.ParameterInfo.createFunctionParameter(this.className, "registerItem", "itemViewModel.info.typeId")); - const t3 = this._getFlowSpecificMap(e3); - let i3 = t3[e3.info.typeId]; - i3 || (i3 = t3[e3.info.typeId] = {}), i3[e3.id] = e3; + get menuDefault() { + const e3 = this._coreMenuViewModel.defaultMenuChoice; + if (e3) { + const t3 = o.default.find(this._getCoreViewModel().choices, (t4) => t4.id === e3); + if (t3) return this.coreFactory.createArchWrapper(t3); + } } - unregisterItem(e3) { - var t3; - super.unregisterItem(e3), l.ParameterValidator.expectObject(e3.info, () => s.ParameterInfo.createFunctionParameter(this.className, "unregisterItem", "itemViewModel.info")), l.ParameterValidator.expectActionType(e3.info.typeId, () => s.ParameterInfo.createFunctionParameter(this.className, "unregisterItem", "itemViewModel.info.typeId")); - try { - const i3 = this._getFlowSpecificMap(e3); - if (!i3) return void o.error(`${e3.id} not found to unregister - no flow bucket available for flow id '${e3.parentFlow.id}'`); - if (!(null === (t3 = null == e3 ? void 0 : e3.parentFlow) || void 0 === t3 ? void 0 : t3.loaded)) return; - const n3 = i3[e3.info.typeId]; - if (!n3) return void o.error(`${e3.id} not found to unregister - no instances of the action type '${e3.info.typeId}' registered`); - if (!n3[e3.id]) return void o.error(`${e3.id} not found to unregister - the action id '${e3.id}' is not in the action type '${e3.info.typeId}' bucket`); - delete n3[e3.id], r2.default.values(n3).length || (delete i3[e3.info.typeId], r2.default.values(i3).length || delete this._flowMap[e3.parentFlow.instanceId]); - } catch (e4) { - o.error("exception caught in ActionRegistrationService::unregisterItem"); + set menuDefault(e3) { + let t3, i3 = "no default menu choice"; + if (!o.default.isUndefined(e3) && null !== e3) { + const n3 = this._infoPropSet("newValue", "menuDefault"); + this._checkItem(n3, !e3.isArchBaseMenuChoice, "The parameter value must be an ArchBaseMenuChoice instance."), t3 = this._findCoreMenuChoiceById(e3.id), this._checkItem(n3, !t3, `The menu choice ${e3.logStr} is not a child of this menu and cannot be set to the default menu choice.`), i3 = e3.logStr; } + this._coreMenuViewModel.defaultMenuChoice = t3 ? t3.id : null, this.logNote(`default menu choice set to ${i3}`); } - getActionById(e3, t3) { - const i3 = this._getFlowSpecificMap(e3); - let n3; - return Object.entries(i3).find(([e4]) => { - if (i3[e4][t3]) return n3 = i3[e4][t3], true; - }), n3; + get displayTypeName() { + return "ArchMenuSubMenu"; } - 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; - } - } + get actionMenu() { + return this._archAction; } - 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); - if (!i3) return []; - const n3 = i3[t3]; - return n3 ? r2.default.values(n3) : []; + get audio() { + return this._audio; } - getHasActionsOfActionType(e3, t3) { - if (l.ParameterValidator.expectFlowViewModel(e3, () => s.ParameterInfo.createFunctionParameter(this.className, "getHasActionsOfActionType", "flowViewModel")), l.ParameterValidator.expectActionType(t3, () => s.ParameterInfo.createFunctionParameter(this.className, "getHasActionsOfActionType", "actionType")), !e3 || !e3.id || !t3) return false; - const i3 = this._getFlowSpecificMap(e3); - if (!i3) return false; - const n3 = i3[t3]; - return !!n3 && !r2.default.isEmpty(n3); + get isArchMenuSubMenu() { + return true; + } + get settingsMenu() { + return this._menuSettings; + } + get settingsSpeechRec() { + return this._speechRecSettings; } } - t2.actionRegistrationService = new u(); - }, 84502: (e2, t2, i2) => { + t2.default = s; + }, 9292(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(16434)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { constructor(e3) { super(e3); } - get displayTypeName() { - return "ArchBaseFlowInQueueWorkflow"; + get _actionTypeId() { + return o.taskActionActionType; } - get isArchBaseFlowInQueueWorkflow() { - return true; + get displayTypeName() { + return "ArchMenuTask"; } - setPeriodicState(e3) { - const t3 = this._infoParm("archState", "setPeriodicState"); - this._checkItem(t3, !e3 || !e3.isArchState, "you must pass in a valid ArchState instance to set it as the periodic state on a flow."), this._checkItem(t3, !e3._getCoreViewModel().isAllowedAsPeriodicState, "you cannot use the same state for both the startUpObject and the periodicState in an in-queue flow. State: " + e3.logStr), this.logNote("setting the periodic state to " + e3.logStr), this._getCoreViewModel().periodicState = e3._getCoreViewModel(); + get actionTask() { + return this._archAction; } - get periodicState() { - const e3 = this._getCoreViewModel().periodicState; - return e3 ? this.coreFactory.createArchWrapper(e3) : null; + get isArchMenuTask() { + return true; } } - t2.default = r2; - }, 84556: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getConversationSummarySettings = a, t2.getConversationSummarySetting = s; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(30097)); - function a(e3) { - const t3 = r2.default.build(o.getConversationSummarySettings); - return e3 && t3.queryParams(e3.getSearchQueryParams(true)), t3.call(); - } - function s(e3) { - return r2.default.build(o.getConversationSummarySetting).templateParams({ id: e3 }).call(); - } - a.api = o.getConversationSummarySettings, s.api = o.getConversationSummarySetting; - }, 84568: (e2, t2, i2) => { + t2.default = a; + }, 88051(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - 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 = 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 c.flowTransferFailureReasons; - } - get flowId() { - return this.model.flowId; + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - get flowName() { - return this.model.flowName; + get _actionTypeId() { + return o.transferPureMatchActionType; } - getDetails() { - return this.flowId ? new _.ActionDetails([f.flow.flow], [this.flowName]) : null; + get displayTypeName() { + return "ArchMenuTransferToAcd"; } - static get managedProperties() { - return [{ property: "flowName", isJustForFlowYaml: true, yamlOptions: T.createYamlOptions("flowName", (e3) => e3.setExportOrder(20).setPropertyName("targetFlow").setWrappedValueName("name")) }]; + get actionTransferToAcd() { + return this._archAction; } - search(e3) { - super.search(e3), e3.checkText(this, this.flowName, f.flow.flow); + get isArchMenuTransferToAcd() { + return true; } - 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(); + } + t2.default = a; + }, 61203(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - repointSelfReferencingFlow(e3, t3) { - u.repointSelfReferenceIfMatch(this.flowId, this.flowName, e3, t3, (e4, t4) => { - this.setTransferToFlowInfo(e4, t4); - }); + get _actionTypeId() { + return o.transferFlowActionType; } - updateDependencies() { - super.updateDependencies(), this.flowName && this.flowId ? this.flowListManager.registerConsumer(this, this.flowName, this.flowId) : l.unRegisterConsumer(this, "flow"); + get displayTypeName() { + return "ArchMenuTransferToFlow"; } - validate(e3) { - 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)(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 actionTransferToFlow() { + return this._archAction; } - get isTransferFlowAction() { + get isArchMenuTransferToFlow() { 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); - } - } - 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() { - Object.defineProperties(this, { _channels: { writable: true } }), this.id = void 0, this.integrationId = void 0, this.name = void 0, this.application = void 0, this.transferNodes = void 0, this.variables = void 0, this.locales = void 0, o.baseConstructor.apply(this, arguments); } - n2.extend(o, "NuanceMixBot"), Object.defineProperties(o.prototype, { label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, channels: { get: function() { - return this._channels; - }, set: function(e3) { - this._channels = this.reviveArray(e3, r2); - }, enumerable: true } }), e2.exports = o; - }, 84655: (e2, t2, i2) => { + t2.default = a; + }, 34014(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(31824)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(61203)); + class a extends r.default { constructor(e3) { super(e3); } + get _actionTypeId() { + return o.transferFlowSecureActionType; + } get displayTypeName() { - return "ArchBaseVariableSingleton"; + return "ArchMenuTransferToFlowSecure"; } - setInitialValueNotSet() { - this.logNote("setting the variable initial value to NOT_SET."), this.initialValue.setNoValue(); + get actionTransferToFlowSecure() { + return this._archAction; + } + get isArchMenuTransferToFlowSecure() { + return true; } } - t2.default = r2; - }, 84663: (e2, t2, i2) => { + t2.default = a; + }, 19784(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), 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(); - } - addDuplicate(e3) { - const t3 = e3.toLocaleLowerCase(), i3 = r2.default.find(this._duplicates, function(e4) { - return t3 === e4.toLocaleLowerCase(); - }); - i3 || this._duplicates.push(e3); - } - _containerHasUnsupportedLangSpeechRecTerms(e3) { - return !!e3.hasTerms && !e3.isSupported; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - _createContainer(e3) { - const t3 = a.getDisplayName(e3), i3 = a.getLanguageEntry(e3), n3 = new p.SpeechRecTermContainer(this, i3, t3); - return this._allContainers[e3.toLowerCase()] = n3, n3; + get _actionTypeId() { + return o.transferGroupActionType; } - _initialize() { - r2.default.each(this.model, (e3, t3) => this._createContainer(t3)), this.refreshContainers(); + get displayTypeName() { + return "ArchMenuTransferToGroup"; } - get containers() { - return this._containers; + get actionTransferToGroup() { + return this._archAction; } - findDuplicates() { - this._duplicates.length = 0, r2.default.each(this.containers, (e3) => { - r2.default.each(e3.getDuplicateTerms(), (e4) => this.addDuplicate(e4)); - }); + get isArchMenuTransferToGroup() { + return true; } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - if (!this.hasTermsAny) return null; - const e4 = {}; - return r2.default.each(this.model, (t4, i3) => { - t4.length && (e4[i3.toLocaleLowerCase()] = { terms: t4 }); - }), Object.keys(e4).length ? e4 : null; - } - return this.model; + } + t2.default = a; + }, 67346(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - getContainer(e3) { - return this._allContainers[e3.toLowerCase()]; + get _actionTypeId() { + return o.transferExternalActionType; } - getSpeechRecTermsString(e3) { - let t3 = ""; - const i3 = this.getContainer(e3); - return i3 && i3.hasTerms && (t3 = i3.terms.join(h.default.itemListing.itemSeparator)), t3; + get displayTypeName() { + return "ArchMenuTransferToNumber"; } - getUnsupportedSpeechRecLangContainers() { - return r2.default.filter(this.containers, (e3) => this._containerHasUnsupportedLangSpeechRecTerms(e3)); + get actionTransferToNumber() { + return this._archAction; } - getUnsupportedSpeechRecLangContainersStr() { - const e3 = this.getUnsupportedSpeechRecLangContainers(); - if (!e3 || 0 === e3.length) return; - const t3 = []; - let i3; - if (r2.default.each(e3, (e4) => { - t3.push((0, _.sprintf)(h.default.language.formatDisplayStringAndCode, e4.languageEntry.text, e4.languageEntry.id)); - }), 1 === t3.length) i3 = t3[0]; - else { - const e4 = t3.pop(); - i3 = t3.join(h.default.itemListing.itemSeparator).concat(m.itemListing.lastItemAndSeparator + e4); - } - return (0, _.sprintf)(m.speechRec.notSupportedLanguage, i3); + get isArchMenuTransferToNumber() { + return true; } - get hasDuplicates() { - return this._duplicates.length > 0; + } + t2.default = a; + }, 49384(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - hasTermsAny() { - return !!r2.default.find(this.containers, function(e3) { - return e3.hasTerms; - }); + get _actionTypeId() { + return o.transferUserActionType; } - hasTermsFull() { - return r2.default.every(this.containers, function(e3) { - return e3.hasTerms; - }); + get displayTypeName() { + return "ArchMenuTransferToUser"; } - get hasUnsupportedSpeechRecLangContainer() { - return !!r2.default.find(this.containers, (e3) => this._containerHasUnsupportedLangSpeechRecTerms(e3)); + get actionTransferToUser() { + return this._archAction; } - get isSpeechRecViewModel() { + get isArchMenuTransferToUser() { return true; } - getGlobalSpeechSpeechRecDisabledError() { - const e3 = [c.lexActionType, d.lexV2ActionType, l.dialogflowActionType, u.dialogflowCxActionType]; - let t3; - for (let i3 = 0; i3 < e3.length; i3++) { - const n3 = e3[i3]; - if (s.actionRegistrationService.getActionIdsForActionType(this.parentFlow, n3).length > 0) { - t3 = o.getInfo(n3); - break; - } - } - return t3 ? (0, _.sprintf)(m.menuChoice.globalSpeechAndActionError, t3.name) : null; + } + t2.default = a; + }, 50097(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(30801), r = n2.__importDefault(i2(62028)); + class a extends r.default { + constructor(e3) { + super(e3); } - get languages() { - return this.parentFlow ? this.parentFlow.languages.supportedLanguages : []; + get _actionTypeId() { + return o.transferVoicemailActionType; } - refreshContainers() { - const e3 = []; - this._duplicates.length = 0, r2.default.each(this.model, (e4, t3) => delete this.model[t3]), r2.default.each(this.languages, (t3) => { - let i3 = this._allContainers[t3.toLowerCase()]; - i3 || (i3 = this._createContainer(t3), this._allContainers[t3.toLowerCase()] = i3), this.model[t3] = i3.terms, e3.push(i3); - }), this._containers = r2.default.sortBy(e3, (e4) => e4.language); + get displayTypeName() { + return "ArchMenuTransferToVoicemail"; } - search(e3) { - r2.default.each(this.containers, (t3) => e3.addToQueue(t3)); + get actionTransferToVoicemail() { + return this._archAction; } - validate(e3) { - if (this.findDuplicates(), this._duplicates.length > 0) { - const t3 = (0, _.sprintf)(m.menuChoice.duplicateSpeechTerms, this._duplicates); - e3.addError(this.menuChoice, t3); - } + get isArchMenuTransferToVoicemail() { + return true; } - }; - }, 84670: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); } - i2(45214).extend(n2, "Queue"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 84684: (e2, t2, i2) => { + t2.default = a; + }, 52096(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - 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 }); - } - } - 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) => { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(15745)), r = 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: o.default, ArchMenuDialByExtension: r.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; + }, 47563(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), 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; - } - set knowledgeBaseModel(e3) { - this.knowledgeBaseModel$.next(e3); - } + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(2318)), a = n2.__importDefault(i2(78432)), s = i2(26847), l = n2.__importDefault(i2(6074)); + class u extends l.default { constructor(e3) { - 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: 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 (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")) }]; + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreActionPathViewModel"), e3), this._coreActionPathViewModel = e3; } - _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))); + get displayTypeName() { + return "ArchActionOutput"; } - _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()), 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 === 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); - }); + get enabled() { + return !this._coreActionPathViewModel.outOfService; } - setOutOfService(e3) { - var t3, i3, n3, r3; - const o2 = e3 || this.outOfService; - this.welcomeArticle.outOfService = !this.parentFlow.definition.supportsKnowledgeWelcomeArticle || o2 || this.isCustomKnowledgeSettingsMode, this.sendKnowledgeFeedback.outOfService = !this.parentFlow.definition.supportsKnowledgeConfirmation || o2 || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled || this.isKnowledgeV3EnabledInFlow, this.knowledgeConfirmation.outOfService = (null === (t3 = this.sendKnowledgeFeedback) || void 0 === t3 ? void 0 : t3.outOfService) || (null === (i3 = this.sendKnowledgeFeedback) || void 0 === i3 ? void 0 : i3.text) === h.default.false || this.isKnowledgeV3EnabledInFlow, this.maxNumOfAnswersReturned.outOfService = o2 || this.isKnowledgeV3EnabledInFlow || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled, this.knowledgeInitialResponseFollowup.outOfService = this.knowledgeInitialResponseSingle.outOfService = o2 || this.isCustomKnowledgeSettingsMode, this.knowledgeAnswerHighlight.outOfService = o2 || this.isCustomKnowledgeSettingsMode || !this.virtualAgentEnabled || this.canGenerateAnswers, this.isKnowledgeV3EnabledInFlow ? this.knowledgeAnswerContentType.outOfService = o2 || this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers : this.knowledgeAnswerContentType.outOfService = o2 || this.isCustomKnowledgeSettingsMode || !this.canGenerateAnswers || this.parentFlow.isBotFlow && !(null === (r3 = null === (n3 = this.knowledge) || void 0 === n3 ? void 0 : n3.getItem()) || void 0 === r3 ? void 0 : r3.contentSearchEnabled), this.knowledgeVersion.outOfService = o2 || !this.virtualAgentEnabled, this.responseBias.outOfService = o2, this.knowledgeSettingsMode.outOfService = !this.parentFlow.supportsEndToEndKnowledgeHandling || o2, this.updateDependentSettings(); + set enabled(e3) { + const t3 = this._infoPropSet("newValue", "enabled"); + this._checkItemIsValidLiteralBool(t3, e3, false), this._checkItem(t3, !this.canEnableDisable, "this output cannot be enabled or disabled. Remember you can check the canEnableDisable property on the ArchActionOutput to see if the enabled property can be set or not."), this._coreActionPathViewModel.outOfService = !e3, this.logNote(`enabled property successfully set to ${e3}`); } - updateDependentSettings() { - this.updateKnowledgeHandlingSettings(), this.updateSettingsDependentOnMaxNumOfAnswers(), this.updateSettingsDependentOnKnowledgeFeedback(), this.updateSettingsKnowledgePaths(), this.updateSettingsDependentOnAnswerHighlight(), this.updateSettingsDependentOnAnswerContentTypeMode(), this.updateKnowledgeVersionSetting(); + get id() { + const e3 = o.default.findKey(s.outputIds, (e4) => e4 === this._coreActionPathViewModel.id); + return o.default.isUndefined(e3) ? this._coreActionPathViewModel.id : e3; } - updateKnowledgeVersionSetting() { - this.isFlowCurrentKnowledgeVersionV3 && this.isKnowledgeV3AvailableInFlow ? (this.knowledge.outOfService = true, this.knowledge_v3.outOfService = false, this.knowledgeContextSearch.outOfService = false) : (this.knowledge.outOfService = false, this.knowledge_v3.outOfService = true, this.knowledgeContextSearch.outOfService = true); + get isDynamic() { + return !this._coreActionPathViewModel.isBuiltInBranch; } - updateSettingsKnowledgePaths() { - var e3; - this.knowledgeId ? this.parentFlow.definition.supportsKnowledgePaths && (null === (e3 = this.knowledgePathMode) || void 0 === e3 ? void 0 : e3.text) === L.KnowledgeMode.task ? this.setOutOfServiceForKnowledgeMode(L.KnowledgeMode.task) : this.setOutOfServiceForKnowledgeMode(L.KnowledgeMode.statement) : this.knowledgeFollowupTask.outOfService = this.knowledgeInitialResponseFollowup.outOfService = true; + get isArchActionOutput() { + return true; } - updateSettingsDependentOnMaxNumOfAnswers() { - this.knowledgeNoMatch.outOfService = this.knowledgeInitialResponseMulti.outOfService = this.knowledgeInitialResponseMultiRetry.outOfService = "1" === this.maxNumOfAnswersReturned.getEmbeddableExpressionText() || this.maxNumOfAnswersReturned.outOfService; + get logStr() { + if (!this._coreActionPathViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreActionPathViewModel.parent), this._createLogStrFromParts(e3); } - updateSettingsDependentOnKnowledgeFeedback() { - var e3, t3; - this.knowledgeConfirmation.outOfService = (null === (e3 = this.sendKnowledgeFeedback) || void 0 === e3 ? void 0 : e3.outOfService) || (null === (t3 = this.sendKnowledgeFeedback) || void 0 === t3 ? void 0 : t3.text) === h.default.false; + get label() { + return this._coreActionPathViewModel.label; } - updateSettingsDependentOnAnswerHighlight() { - const e3 = this.hideContentTypeFields; - this.knowledgeAnswerHighlightFlowProgression.outOfService = this.knowledgeAnswerHighlightFullArticle.outOfService = e3 || this.isFlowCurrentKnowledgeVersionV3, e3 || this.initialiseAnswerHighlightValues(); + get name() { + return this.label; } - updateSettingsDependentOnMultiArticle() { - const e3 = this.hideContentTypeFields; - this.knowledgeAnswerHighlightFullArticle.outOfService = this.knowledgeAnswerHighlightFlowProgression.outOfService = e3 || this.isFlowCurrentKnowledgeVersionV3, this.updateDisambiguationFeedbackSettings(), this.knowledgeAnswerContentType.text === F.KnowledgeAnswerContentType.generative && this.parentFlow.isBotFlow && !e3 && this.knowledgeMultiArticleSource.setAsLiteral(h.default.true); + get parentAction() { + return this.coreFactory.createArchWrapper(this._coreActionPathViewModel.parent); } - updateSettingsDependentOnAnswerContentTypeMode() { - var e3, t3, i3, n3; - 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(); + get parentFlow() { + const e3 = this.parentAction; + return null == e3 ? void 0 : e3.parentFlow; } - updateDisambiguationFeedbackSettings() { - var e3, t3; - this.sendKnowledgeFeedback.outOfService = !this.parentFlow.definition.supportsKnowledgeConfirmation || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled || this.isKnowledgeV3EnabledInFlow, this.knowledgeConfirmation.outOfService = (null === (e3 = this.sendKnowledgeFeedback) || void 0 === e3 ? void 0 : e3.outOfService) || (null === (t3 = this.sendKnowledgeFeedback) || void 0 === t3 ? void 0 : t3.text) === h.default.false || this.isKnowledgeV3EnabledInFlow, this.maxNumOfAnswersReturned.outOfService = this.isKnowledgeV3EnabledInFlow || this.isCustomKnowledgeSettingsMode || this.isMultiSourceEnabled, this.knowledgeInitialResponseFollowup.outOfService = this.knowledgeInitialResponseSingle.outOfService = this.isCustomKnowledgeSettingsMode, this.updateSettingsDependentOnMaxNumOfAnswers(); + get canEnableDisable() { + const e3 = this.parentAction; + return e3 && !e3.parentFlow.isReadOnly && !this.isMenuChoiceContainer && (e3.isArchActionAskForIntent && (this.id !== a.default.OUTPUT_IDS.knowledge || r.default.currentUserCanUseKnowledge) || this.id === a.default.OUTPUT_IDS.maxNoInputs && !this._coreActionPathViewModel.isUnavailable || this.id === a.default.OUTPUT_IDS.maxNoMatches && !this._coreActionPathViewModel.isUnavailable || this.id === a.default.OUTPUT_IDS.skipResponseCapture && !this._coreActionPathViewModel.isUnavailable); } - get className() { - return "KnowledgeSettingsViewModel"; + } + t2.default = u; + }, 68268(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get id() { - return q; + get displayTypeName() { + return "ArchBranch"; } - static get id() { - return q; + get isArchBranch() { + return true; } - get useLabelBadge() { - return this.canGenerateAnswers; + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrOutputId(e3, this.outputId), this._createLogStrFromParts(e3); } - get isMultiSourceEnabled() { - var e3, t3; - 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 name() { + return this._getCoreViewModel().label; } - get isCustomKnowledgeSettingsMode() { - var e3; - return this.parentFlow.supportsEndToEndKnowledgeHandling && (null === (e3 = this.knowledgeSettingsMode) || void 0 === e3 ? void 0 : e3.text) === x.KnowledgeSettingsModeValues.custom.id; + get outputId() { + return this._getCoreViewModel().outputId; } - get hideContentTypeFields() { - return this.isMultiSourceEnabled || "standard" === this.knowledgeAnswerContentType.text || this.knowledgeAnswerContentType.outOfService; + } + t2.default = o; + }, 97086(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(47563)), r = n2.__importDefault(i2(68268)), a = { ArchActionOutput: o.default, ArchBranch: r.default }; + t2.default = a; + }, 38676(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(25446)); + class o extends n2.default { + get displayTypeName() { + return "ArchPromptSystem"; } - getDisplayName() { - return W.knowledgeSettings.knowledgeLabel; + get isArchPromptSystem() { + return true; } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const i3 = {}; - if (!this.knowledgeBaseName && !this.knowledgeSettingName) return s.default.ensureYamlNoneTrue(i3), i3; - if (this.isKnowledgeV3EnabledInFlow) { - i3[this.knowledgeSettingName] = {}; - const n3 = i3[this.knowledgeSettingName]; - return s.default.extend(n3, super.getConfiguration(e3, t3)), i3; - } - { - i3[this.knowledgeBaseName] = {}; - const n3 = i3[this.knowledgeBaseName]; - return s.default.extend(n3, super.getConfiguration(e3, t3)), i3; - } - } - if (super.getConfiguration(e3, t3), this.knowledgeBaseId) { - const t4 = this.knowledge.configListManager.getItem(this.knowledgeBaseId); - t4 ? t4.coreLanguage ? e3.knowledgeSettings.knowledgeBaseCoreLanguage = null == t4 ? void 0 : t4.coreLanguage : Y.warning("While the knowledge base with id '{}' exists, it does not have a core language defined so nothing to save for the knowledge base core language in knowledge settings.", this.knowledgeBaseId) : Y.warning("Knowledge base not found for id '{}' so unable save the knowledge base core language value to knowledge settings. Maybe the referenced knowledge base is deleted?", this.knowledgeBaseId); - } + } + t2.default = o; + }, 62446(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(25446)); + class o extends n2.default { + get displayTypeName() { + return "ArchPromptUser"; } - get isKnowledgeSettingsNode() { + get isArchPromptUser() { return true; } - get canGenerateAnswers() { - var e3; - return this.virtualAgentEnabled && (null === (e3 = this.parentFlow.definition) || void 0 === e3 ? void 0 : e3.supportsAnswerGeneration); - } - get hasKnowledgeBaseConfigured() { - return s.default.isString(this.model.knowledgeBaseId) && this.model.knowledgeBaseId.length; + } + t2.default = o; + }, 61843(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(38676)), r = n2.__importDefault(i2(62446)), a = { ArchPromptSystem: o.default, ArchPromptUser: r.default }; + t2.default = a; + }, 48849(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + constructor(e3, t3, i3) { + super(), this._checkItem(this._infoParmCtor("archActionDefinition"), !e3 || !e3.isArchDefinitionAction, "you must pass in a valid ArchDefinitionAction instance."), this._checkItemUndefinedOrNull(this._infoParmCtor("propertyDefaultValue"), i3), this._checkItemUndefinedOrNull(this._infoParmCtor("propertyName"), t3), this._archActionDefinition = e3, this._propertyName = t3, this._propertyDefaultValue = i3; } - get hasKnowledgeSettingConfigured() { - return s.default.isString(this.model.knowledgeSettingId) && this.model.knowledgeSettingId.length; + get displayTypeName() { + return "ArchSettingActionPropertyDefault"; } - getAdditionalKnowledgeParams() { - return { coreLanguage: P.getLangKnowledgeBaseLanguageTag(this.parentFlow.defaultLanguageLCase), published: true }; + get isArchSettingActionPropertyDefault() { + return true; } - getAdditionalKnowledgeArticleParams() { - return { knowledgeId: this.knowledgeBaseId, documentId: this.knowledgeBaseWelcomeDocumentId }; + get logStr() { + return this.logStrTypeOnly; } - setOutOfServiceForKnowledgeMode(e3) { - var t3; - if (this.parentFlow.supportsEndToEndKnowledgeHandling && (null === (t3 = this.knowledgeSettingsMode) || void 0 === t3 ? void 0 : t3.text) === x.KnowledgeSettingsModeValues.custom.id) return this.knowledgePathMode.outOfService = this.knowledgeFollowupTask.outOfService = this.knowledgeInitialResponseFollowup.outOfService = true, this.knowledgeFollowupTask.metaData.yamlOptions.serializeOutOfService = false, void (this.knowledgeInitialResponseFollowup.yamlOptions.serializeOutOfService = false); - this.parentFlow.isDigitalBotFlow && this.parentFlow.definition.supportsKnowledgePaths && (e3 === L.KnowledgeMode.statement ? (this.knowledgeFollowupTask.outOfService = true, this.knowledgeInitialResponseFollowup.outOfService = false) : e3 === L.KnowledgeMode.task && (this.knowledgeFollowupTask.outOfService = false, this.knowledgeInitialResponseFollowup.outOfService = true), this.knowledgePathMode.outOfService = false, this.knowledgeFollowupTask.metaData.yamlOptions.serializeOutOfService = true, this.knowledgeInitialResponseFollowup.yamlOptions.serializeOutOfService = true); + get definitionAction() { + return this._archActionDefinition; } - resetKnowledge(e3) { - e3 === V.KnowledgeVersionValues.v3 ? this.knowledge.reset() : this.knowledge_v3.reset(), this.parent.languages.resetLanguageKnowledge(e3); + get propertyName() { + return this._propertyName; } - setKnowledgeVersion(e3) { - this.knowledgeVersion.setAsLiteral(e3), this.resetKnowledge(e3), this.updateKnowledgeVersionSetting(), e3 === V.KnowledgeVersionValues.v3 && (this.updateKnowledgeSettingsModeValue(k.KnowledgeSettingsMode.standard), this.knowledgeAnswerContentType.setAsLiteral(F.KnowledgeAnswerContentType.generative)), E.emitter.emit(E.knowledgeVersionChanged, e3); + get propertyDefaultValue() { + return this._propertyDefaultValue; } - clearKnowledgeHeader() { - this.knowledge.metaData.label = null, this.knowledge_v3.metaData.label = null; + } + t2.default = o; + }, 9836(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isConfiguredKnowledgeVersionV3() { - var e3; - return (null === (e3 = this.knowledgeVersion) || void 0 === e3 ? void 0 : e3.text) === V.KnowledgeVersionValues.v3; + get displayTypeName() { + return "ArchSettingsActionDefaults"; } - _setKnowledgeVersionWithFallback() { - this.knowledgeVersion.outOfService = false, this.hasKnowledgeSettingConfigured ? this.knowledgeVersion.setAsLiteral(V.KnowledgeVersionValues.v3) : this.knowledgeVersion.setAsLiteral(V.KnowledgeVersionValues.v2); + get isArchSettingsActionDefaults() { + return true; } - updateKnowledgeSettingsModeValue(e3) { - this.knowledgeSettingsMode.setText(x.KnowledgeSettingsModeValues[e3].id); + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - updateKnowledgeHandlingSettings() { - var e3; - this.knowledgeCustomHandlerTask.outOfService = this.knowledgeSettingsMode.outOfService || (null === (e3 = this.knowledgeSettingsMode) || void 0 === e3 ? void 0 : e3.text) === x.KnowledgeSettingsModeValues[k.KnowledgeSettingsMode.standard].id; + getDefaultSettingsForActionDefinition(e3) { + return this._checkItemIsArchDefinitionAction(this._infoParm("archDefinitionAction", "getDefaultSettingsForActionDefinition"), e3), this._getCoreViewModel().getDefaultExpressionsForActionType(e3.actionNodeInformation.typeId).map((t3) => this.coreFactory.createArchSettingActionPropertyDefault(e3, t3.options.scriptingPropertyName, t3)); } - knowledgeDocumentSearchFilter(e3) { - return e3.knowledgeBase.id === this.knowledgeBaseId; + } + t2.default = o; + }, 25767(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importStar(i2(10798)), r = i2(85415), a = n2.__importDefault(i2(4648)), s = n2.__importDefault(i2(56549)), l = n2.__importDefault(i2(94225)), u = n2.__importDefault(i2(37873)); + class c extends u.default { + constructor(e3) { + super(e3), this._coreBotSettingsViewModel = e3; } - get nodeGuxIcon() { - return "fa/book-regular"; + get displayTypeName() { + return "ArchSettingsBotFlow"; } - get helpTopic() { - return U.helpTopics.treeNodes.knowledge; + get logStr() { + if (!this._coreBotSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); } - get outOfService() { - var e3, t3; - 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 isArchSettingsBotFlow() { + return true; } - get wrappedYamlName() { - return "settingsKnowledge"; + get agenticVirtualAgentEnabled() { + return this._getCoreViewModel().agenticVirtualAgentEnabled; } - get virtualAgentEnabled() { - var e3; - return null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled; + getDynamicSlotTypeSettingsByName(e3) { + const t3 = this._infoParm("dynamicSlotTypeName", "getDynamicSlotTypeSettingsByName"); + this._checkItemIsValidLiteralString(t3, e3); + const i3 = this._coreBotSettingsViewModel.parent.nluMetaData.dynamicSlotTypesMap.items, n3 = e3.toLowerCase(), o2 = i3.find((e4) => { + var t4; + return (null === (t4 = null == e4 ? void 0 : e4.model) || void 0 === t4 ? void 0 : t4.name.toLowerCase()) === n3; + }); + if (o2) return this.coreFactory.createArchSettingsNluDynamicSlotType(o2); + this.logItemWarning(t3, `could not find the slot type with name '${e3}', returning nothing.`); } - get isKnowledgeV3AvailableInFlow() { - return this.isKnowledgeV3AvailableInOrg && this.virtualAgentEnabled; + getDynamicTimeslotTypeSettingsByName(e3) { + const t3 = this._infoParm("dynamicTimeslotTypeName", "getDynamicTimeslotTypeSettingsByName"); + this._checkItemIsValidLiteralString(t3, e3); + const i3 = this._coreBotSettingsViewModel.parent.nluMetaData.dynamicTimeslotTypeList.items, n3 = e3.toLowerCase(), o2 = i3.find((e4) => { + var t4; + return (null === (t4 = null == e4 ? void 0 : e4.model) || void 0 === t4 ? void 0 : t4.name.toLowerCase()) === n3; + }); + if (o2) return this.coreFactory.createArchSettingsNluDynamicTimeslotType(o2); + this.logItemWarning(t3, `could not find the slot type with name '${e3}', returning nothing.`); } - get isKnowledgeV3EnabledInFlow() { - return this.isFlowCurrentKnowledgeVersionV3 && this.isKnowledgeV3AvailableInFlow; + getIntentSettingsByIntentName(e3) { + this._checkItemIsValidLiteralString(this._infoParm("intentName", "getIntentSettingsByIntentName"), e3); + const t3 = this._coreBotSettingsViewModel.parent.nluMetaData.intentSettingsMap[e3]; + if (t3) return this.coreFactory.createArchSettingsNluIntent(t3); } - get isKnowledgeV3AvailableInOrg() { - return w.isFeatureAvailable(M.default.botFlowsVirtualAgentKnowledgeV3); + getSlotSettingsBySlotName(e3) { + this._checkItemIsValidLiteralString(this._infoParm("slotName", "getSlotSettingsBySlotName"), e3); + const t3 = this._coreBotSettingsViewModel.parent.nluMetaData.slotSettingsMap[e3]; + if (t3) return this.coreFactory.createArchSettingsNluSlot(t3); } - get isFlowCurrentKnowledgeVersionV3() { - return this.currentKnowledgeVersion === V.KnowledgeVersionValues.v3; + get virtualAgentEnabled() { + return this._getCoreViewModel().virtualAgentEnabled; } - get currentKnowledgeVersion() { - return this.isKnowledgeV3AvailableInFlow ? this.knowledgeVersion.text : V.KnowledgeVersionValues.v2; + set virtualAgentEnabled(e3) { + const t3 = this._infoPropSet("newValue", "virtualAgentEnabled"); + this._checkItemIsValidLiteralBool(t3, e3), true !== e3 || o.isFeatureAvailable(a.default.botFlowsVirtualAgentOffering) || this.logItemErrorAndThrow(t3, "unable to enable Virtual Agent functionality on this flow because this organization does not have Virtual Agent functionality available to it."), this._getCoreViewModel().virtualAgentEnabled = !!e3; } - get knowledgeId() { - return this.isKnowledgeV3AvailableInFlow ? this.currentKnowledgeVersion === V.KnowledgeVersionValues.v2 ? this.knowledgeBaseId : this.knowledgeSettingId : this.knowledgeBaseId; + get navigatorVirtualAgentEnabled() { + return this._getCoreViewModel().navigatorVirtualAgentEnabled; } - get currentUiVersion() { - return 2; + set navigatorVirtualAgentEnabled(e3) { + const t3 = this._infoPropSet("newValue", "navigatorVirtualAgentEnabled"); + this._checkItemIsValidLiteralBool(t3, e3), true !== e3 || o.isFeatureAvailable(a.default.botFlowsLLMPoweredFrontDoor) || this.logItemErrorAndThrow(t3, "unable to enable Navigator Virtual Agent functionality on this flow because this organization does not have Navigator functionality available to it."), this._getCoreViewModel().navigatorVirtualAgentEnabled = !!e3; } - updateConfiguration(e3, t3) { - const i3 = j(this.parentFlow.defaultLanguage); - (!e3 || e3 < 2) && (this.knowledgeInitialResponseMulti.text || this.knowledgeInitialResponseMulti.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeInitialResponseMulti, true), this.knowledgeInitialResponseMultiRetry.text || this.knowledgeInitialResponseMultiRetry.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeInitialResponseMultiRetry, true), this.knowledgeNoMatch.text || this.knowledgeNoMatch.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeNoMatch, true), this.knowledgeConfirmation.text || this.knowledgeConfirmation.setCommunicationBuilderText(i3.knowledgeSettings.knowledgeConfirmation, true), e3 = 2); + get voiceProcessingPrompt() { + return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.voiceProcessingPrompt); } - getDependencyTrackingId() { - if (this.knowledgeBaseId && this.knowledgeBaseWelcomeDocumentId) return `${this.knowledgeBaseId}/${this.knowledgeBaseWelcomeDocumentId}`; + get minimumPlaybackTime() { + return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.minimumPlaybackTime); } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(); + get initialPlaybackDelay() { + return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.initialPlaybackDelay); } - initialiseAnswerHighlightValues() { - const e3 = j(this.parentFlow.defaultLanguage); - this.knowledgeAnswerHighlightFlowProgression.text || this.knowledgeAnswerHighlightFlowProgression.setAsLiteral(e3.knowledgeSettings.knowledgeAnswerHighlightFlowProgressionDefault), this.knowledgeAnswerHighlightFullArticle.text || this.knowledgeAnswerHighlightFullArticle.setAsLiteral(e3.knowledgeSettings.knowledgeAnswerHighlightFullArticleDefault); + get conversationCustomAttributeSchemaId() { + return this._coreBotSettingsViewModel.conversationSchemaId; } - validate(e3) { - 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; - return null === (t4 = e4.knowledgeBase) || void 0 === t4 ? void 0 : t4.id; - }); - if (!this.knowledgeBaseId && t3) { - const t4 = W.knowledgeSettings.knowledgeBaseNoDefaultSelected; - e3.addError(this, t4), this.knowledge.currentUiErrorMessage = t4; - } - } - if (this.isFlowCurrentKnowledgeVersionV3) { - const t3 = this.parentFlow.languages.supportedLanguageOptions.some((e4) => { - var t4; - return null === (t4 = e4.knowledgeSetting) || void 0 === t4 ? void 0 : t4.id; - }); - if (!this.knowledgeSettingId && t3) { - const t4 = W.knowledgeSettings.knowledgeSettingNoDefaultSelected; - e3.addError(this, t4), this.knowledge_v3.currentUiErrorMessage = t4; - } - if (!this.isKnowledgeV3AvailableInOrg) { - const t4 = W.knowledgeSettings.knowledgeConfigurationNotEnabled; - e3.addError(this, t4); - } - } - } + get conversationCustomAttributeSchemaName() { + return this._coreBotSettingsViewModel.conversationSchemaName; } - get isKnowledgePathModeStatement() { - var e3; - return (null === (e3 = this.knowledgePathMode) || void 0 === e3 ? void 0 : e3.text) === L.KnowledgeMode.statement; + get ccaSchemaRecordId() { + return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.conversationSchemaRecordId); } - get isKnowledgePathModeTask() { - var e3; - return (null === (e3 = this.knowledgePathMode) || void 0 === e3 ? void 0 : e3.text) === L.KnowledgeMode.task; + get ccaSchemaDivisions() { + return this.coreFactory.createArchWrapper(this._coreBotSettingsViewModel.conversationSchemaDivisions); + } + setConversationCustomAttributeSchemaByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("conversationCustomAttributeSchemaId", "setConversationCustomAttributeSchemaByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationCustomAttributeSchemaByIdAsync"), t3, true); + const i3 = yield s.default.findItemByIdAsync(r.conversationCustomAttributeSchemaManager, e3, "conversation custom attribute schema"); + return this.logNote(`found the conversation custom attribute schema named '${i3.name}' for the schema ID of '${e3}'.`), this._checkItem(this._infoMethod("setConversationCustomAttributeSchemaByIdAsync"), i3.disabled, "This script references a disabled schema. Update the bot flow settings to use an active schema."), this._coreBotSettingsViewModel.conversationSchema.setValue(i3), l.default.executeCallback(this, "setConversationCustomAttributeSchemaByIdAsync", t3, this); + }); + } + setConversationCustomAttributeSchemaByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("conversationCustomAttributeSchemaName", "setConversationCustomAttributeSchemaByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationCustomAttributeSchemaByNameAsync"), t3, true); + const i3 = yield s.default.findItemByValueAsync(r.conversationCustomAttributeSchemaManager, e3, "conversation custom attribute schema", "name", "name"); + return this.logNote(`Found partial info for the conversation custom attribute schema named '${i3.name}' for the passed schema name of '${e3}'. Getting full schema details.`), this.setConversationCustomAttributeSchemaByIdAsync(i3.id, t3); + }); } } - t2.default = H; - }, 84783: (e2, t2, i2) => { + t2.default = c; + }, 59177(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(62829)), o = n2.__importDefault(i2(8471)); - class a extends o.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(98114)), s = n2.__importDefault(i2(67336)); + class l extends s.default { + constructor(e3) { + super(e3), this._coreCommonModuleSettingsViewModel = e3; + } get displayTypeName() { - return "ArchBaseFactory"; + return "ArchSettingsCommonModuleFlow"; + } + get isArchSettingsCommonModuleFlow() { + return true; } get logStr() { - return this._createLogStrFromParts(["ArchBaseFactory"]); + if (!this._coreCommonModuleSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrCompatibleFlowTypes(e3, this.compatibleFlowTypes), this._createLogStrFromParts(e3); } - get isArchBaseFactory() { - return true; + get compatibleFlowTypes() { + return [...this._coreCommonModuleSettingsViewModel.destinationFlowTypes]; } - validateActionDefId(e3, t3) { - const i3 = this._infoParm("actionDefId", "validateActionDefId"); - this._checkItemUndefinedOrNull(i3, e3), this._checkItemUndefinedOrNull(this._infoParm("coreFlowViewModel", "validateActionDefId"), t3); - const n3 = r2.getInfo(e3); - this._checkItem(i3, !n3, "the action definition of " + e3 + " is not a valid action definition"), n3.isAvailableForFlow(t3) || this._itemIsInvalid(i3, "invalid action definition because '" + e3 + "' cannot be used in flows of type '" + t3.destinationFlowTypes.join(",") + "'"), n3.isDeprecatedForFlowType(t3.type) && this._itemIsInvalid(i3, "invalid action because '" + e3 + "' is deprecated for use in flows of type '" + t3.type + "'"); + _ensureFlowTypeIsValidCompatibleFlowType(e3, t3) { + this._checkItemIsValidLiteralStringEnum(e3, t3, r.default.FLOW_TYPES_ALL); + const i3 = a.default.getDefinitionForFlowType(t3); + this._checkItem(e3, o.default.isUndefined(i3), `INTERNAL ERROR - unable to find a core flow definition for the flow type '${t3}'`); + const n3 = this.coreFactory.createArchWrapper(i3); + this._checkItem(e3, !n3.isCommonModuleCompatibleFlowType, `the flow type '${t3}' is not valid a valid compatible flow type.`); + } + addCompatibleFlowType(e3) { + this._ensureFlowTypeIsValidCompatibleFlowType(this._infoParm("flowType", "addCompatibleFlowType"), e3); + const t3 = this._coreCommonModuleSettingsViewModel.destinationFlowTypes; + t3.indexOf(e3) < 0 && (t3.push(e3), this._coreCommonModuleSettingsViewModel.destinationFlowTypes = t3); + } + removeCompatibleFlowType(e3) { + this._ensureFlowTypeIsValidCompatibleFlowType(this._infoParm("flowType", "removeCompatibleFlowType"), e3); + const t3 = this._coreCommonModuleSettingsViewModel.destinationFlowTypes, i3 = t3.indexOf(e3); + i3 >= 0 && (t3.splice(i3, 1), this._coreCommonModuleSettingsViewModel.destinationFlowTypes = t3); } } - t2.default = a; - }, 84821: (e2, t2, i2) => { + t2.default = l; + }, 29824(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(37873)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(8471)); + class a extends r.default { constructor(e3) { - super(e3); - } - _getCoreViewModelTyped() { - return this._getCoreViewModel(); + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDetectionJobIntentSettingsViewModel"), e3), this._coreDetectionJobIntentSettingsViewModel = e3, (0, o.makeUnenumerable)(this, "_coreDetectionJobIntentSettingsViewModel"); } get displayTypeName() { - return "ArchDataTypeJsonCustomProperty"; + return "ArchSettingsDetectionJobIntent"; } - get isArchDataTypeJsonCustomProperty() { + get isArchSettingsDetectionJobIntent() { return true; } - get maxItems() { - return this._getCoreViewModelTyped().maxItems; + get logStr() { + return this.logStrTypeOnly; } - get minItems() { - return this._getCoreViewModelTyped().minItems; + get name() { + return this._coreDetectionJobIntentSettingsViewModel.name; } - get minLength() { - return this._getCoreViewModelTyped().minLength; + get description() { + return this._coreDetectionJobIntentSettingsViewModel.description; } - get maxLength() { - return this._getCoreViewModelTyped().maxLength; + } + t2.default = a; + }, 20812(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { + constructor(e3) { + super(e3), e3.defaultAbortMessage && (this._defaultAbortMessage = this.coreFactory.createArchWrapper(e3.defaultAbortMessage)); } - get isCollection() { - return this._getCoreViewModelTyped().isCollection; + get displayTypeName() { + return "ArchSettingsEmailSendFlow"; } - get isRequired() { - return this._getCoreViewModelTyped().isRequired; + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); } - get allowableValues() { - return this._getCoreViewModelTyped().allowableValues; + get isArchSettingsEmailSendFlow() { + return true; } - get description() { - return this._getCoreViewModelTyped().description; + get defaultAbortMessage() { + return this._defaultAbortMessage; } - get name() { - return this._getCoreViewModelTyped().name; + } + t2.default = o; + }, 28326(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(38249), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(37873)); + class s extends a.default { + constructor(e3) { + super(e3), this._coreErrorHandlingSettingsViewModel = e3, e3.audio && (this._preHandlingAudio = this.coreFactory.createArchWrapper(e3.audio)), e3.queue && (this._targetArchQueue = this.coreFactory.createArchWrapper(e3.queue)), e3.abortMessage && (this._abortMessage = this.coreFactory.createArchWrapper(e3.abortMessage)); } - get dataType() { - var e3; - if (null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.type) return this.coreFactory.createArchWrapper(this._getCoreViewModelTyped().type); + get displayTypeName() { + return "ArchSettingsEventErrorFlow"; } - get minValueInclusive() { - return this._getCoreViewModelTyped().minValueInclusive; + get logStr() { + if (!this._coreErrorHandlingSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + let t3; + switch (this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._appendLogStrSettingErrorHandlingFlow(e3, this.handling), this.handling) { + case r.default.EVENTS_FLOW_ERROR_HANDLING.jumpToMenu: + this._targetArchMenu && (t3 = this._targetArchMenu.logStr); + break; + case r.default.EVENTS_FLOW_ERROR_HANDLING.transferToQueue: + this._targetArchQueue && (t3 = this._targetArchQueue.logStr); + break; + case r.default.EVENTS_FLOW_ERROR_HANDLING.jumpToTask: + this._targetArchTask && (t3 = this._targetArchTask.logStr); + break; + case r.default.EVENTS_FLOW_ERROR_HANDLING.abortSend: + this._abortMessage && (t3 = this._abortMessage.logStr); + } + return t3 && this._appendLogStrPartRawString(e3, t3), this._createLogStrFromParts(e3); } - get maxValueInclusive() { - return this._getCoreViewModelTyped().maxValueInclusive; + get isArchSettingsEventErrorFlow() { + return true; } get parentFlow() { - var e3; - const t3 = null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.parentFlow; - if (t3) return this.coreFactory.createArchWrapper(t3); + return this.coreFactory.createArchWrapper(this._getCoreViewModel().parentFlow); } - get minValue() { - return this._getCoreViewModelTyped().minValue; + get preHandlingAudio() { + return this._preHandlingAudio; } - get maxValue() { - return this._getCoreViewModelTyped().maxValue; + get handling() { + return o.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreErrorHandlingSettingsViewModel.handlingType); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "Name", this.name, false, true), this._appendLogStrPart(e3, "Description", this.description, false, true), this.id === this._getCoreViewModelTyped().dataTypeId ? this._appendLogStrPart(e3, "Id/DataTypeId", this.id, false, true) : (this._appendLogStrPart(e3, "Id", this.id, false, true), this._appendLogStrPart(e3, "DataTypeId", this._getCoreViewModelTyped().dataTypeId, false, true)), this._appendLogStrPart(e3, "IsCollection", this.isCollection, true, true), this._appendLogStrPart(e3, "MinValue", this.minValue, true, true), this._appendLogStrPart(e3, "MinValueInclusive", this.minValueInclusive, true, true), this._appendLogStrPart(e3, "MaxValue", this.maxValue, true, true), this._appendLogStrPart(e3, "MaxValueInclusive", this.maxValueInclusive, true, true), this._appendLogStrPart(e3, "MinItems", this.minItems, true, true), this._appendLogStrPart(e3, "MaxItems", this.maxItems, true, true), this._appendLogStrPart(e3, "MinLength", this.minLength, true, true), this._appendLogStrPart(e3, "MaxLength", this.maxLength, true, true), this._createLogStrFromParts(e3); + set handling(e3) { + const t3 = this._infoPropSet("newErrorEventHandlingTypeValue", "handling"); + this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.EVENTS_FLOW_ERROR_HANDLING_ALL), this.isErrorHandlingTypeAvailable(e3) || this.logItemErrorAndThrow(t3, `the handling type of '${e3}' is not available for the flow type '${this.parentFlow.flowType}'.`); + const i3 = o.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); + this.logNote(`setting the flow error handling type to '${e3}'.`), this._coreErrorHandlingSettingsViewModel.handlingType = i3; } - } - t2.default = r2; - }, 84822: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseIntegrationsActionManager = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(47532)), a = i2(81801), s = i2(40174), l = i2(79747); - class u extends o.default { - get requiredAuth() { - return a.externalAuthorizations.authStrings.integrationsActionView; + isErrorHandlingTypeAvailable(e3) { + return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isErrorHandlingValueAvailable"), e3, r.default.EVENTS_FLOW_ERROR_HANDLING_ALL), o.archHandlingTypeConversion.findHandlingTypeForValue(this._coreErrorHandlingSettingsViewModel.handlingTypes, e3); } - constructor() { - super(), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "actionId", this.isDependentOnCategory = true, this.apiCallList = s.getActions, this.apiCallSingle = s.getAction, this.suppressSearch = true, this.uiMetadataSectionName = "actionServiceActions"; + isRecognitionErrorHandlingTypeAvailable(e3) { + return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isRecognitionErrorHandlingTypeAvailable"), e3, r.default.EVENTS_FLOW_ERROR_HANDLING_ALL), o.archHandlingTypeConversion.findHandlingTypeForValue(this._getCoreViewModel().recognitionHandlingTypes, e3); } - _createItemViewModel(e3) { - return new l(e3); + isAgentEscalationHandlingTypeAvailable(e3) { + return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isAgentEscalationHandlingTypeAvailable"), e3, r.default.EVENTS_FLOW_ERROR_HANDLING_ALL), o.archHandlingTypeConversion.findHandlingTypeForValue(this._getCoreViewModel().agentEscalationHandling.handlingTypes, e3); } - getCategoryForAction(e3, t3) { - if (t3) { - const e4 = r2.default.findWhere(this.items, { actionId: t3 }); - if (e4) return e4.category; - } - const i3 = r2.default.findWhere(this.items, { name: e3 }); - return i3 ? i3.category : null; + get targetMenu() { + return this._targetArchMenu; } - addItem(e3, t3, i3) { - 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 === (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; + set targetMenu(e3) { + this._checkItem(this._infoPropSet("archMenuTarget", "targetMenu"), !e3 || !e3.isArchMenu, "you cannot set the targetMenu to an object that is not an Architect menu"), this.logNote("setting the event error handling menu of " + e3.logStr), this._targetArchMenu = e3, this._getCoreViewModel().menuReference = e3.id; } - schemaHasEmptyAttribute(e3) { - return !!r2.default.find(e3, (e4) => r2.default.isEmpty(e4.name)); + get targetState() { + return this._targetArchState; } - schemaHasArrayWithMixedTypes(e3) { - var t3; - if (!e3 || r2.default.isEmpty(e3)) return false; - let i3 = false; - for (const n3 in e3) if ("array" === e3[n3].type && (null === (t3 = e3[n3].items) || void 0 === t3 ? void 0 : t3.length)) { - const t4 = e3[n3].items.filter((e4) => (null == e4 ? void 0 : e4.type) && "null" !== e4.type).map((e4) => e4.type).filter((e4, t5, i4) => i4.indexOf(e4) === t5); - if ((null == t4 ? void 0 : t4.length) > 1) { - i3 = true; - break; - } - } - return i3; + set targetState(e3) { + this._checkItem(this._infoPropSet("archStateTarget", "targetState"), !e3 || !e3.isArchState, "you cannot set the targetState to an object that is not an Architect state"), this.logNote("setting the event error handling state of " + e3.logStr), this._targetArchState = e3, this._getCoreViewModel().stateReference = e3.id; + } + get targetTask() { + return this._targetArchTask; + } + set targetTask(e3) { + this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !e3 || !e3.isArchTask, "you cannot set the targetTask to an object that is not an Architect task"), this.logNote("setting the event error handling task of " + e3.logStr), this._targetArchTask = e3, this._getCoreViewModel().taskReference = e3.id; + } + get targetQueue() { + return this._targetArchQueue; + } + get abortMessage() { + return this._abortMessage; } } - t2.BaseIntegrationsActionManager = u; - }, 84852: (e2, t2, i2) => { + t2.default = s; + }, 15461(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; - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(38249), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(28326)), s = i2(50474); + class l extends a.default { + constructor(e3) { + super(e3), this._agentEscalationConfirmation = this.coreFactory.createArchWrapper(e3.agentEscalationConfirmation), this._agentEscalationHandover = this.coreFactory.createArchWrapper(e3.agentEscalationHandover), this._coreBotErrorHandlingSettingsViewModel = e3, this._enableAgentEscalation = this.coreFactory.createArchWrapper(e3.enableAgentEscalation), this._errorEventHandover = this.coreFactory.createArchWrapper(e3.errorEventHandover), this._recognitionFailureEventHandover = this.coreFactory.createArchWrapper(e3.recognitionEventHandover), this._subsequentRecognitionFailuresHandlingType = this.coreFactory.createArchWrapper(e3.subsequentRecognitionFailures); } - 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; + get displayTypeName() { + return "ArchSettingsEventErrorFlowBot"; } - 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; + get isArchSettingsEventErrorFlowBot() { + return true; } - !(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; + get agentEscalationConfirmation() { + return this._agentEscalationConfirmation; } - 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; + get agentEscalationHandover() { + return this._agentEscalationHandover; } - 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; + get enableAgentEscalation() { + return this._enableAgentEscalation; } - } - 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); + get errorEventHandover() { + return this._errorEventHandover; } - 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; + get recognitionFailureEventHandover() { + return this._recognitionFailureEventHandover; } - 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; + get recognitionFailureEventHandling() { + return o.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreBotErrorHandlingSettingsViewModel.recognitionHandlingType); } - } - 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; + set recognitionFailureEventHandling(e3) { + const t3 = this._infoPropSet("newBotErrorEventHandlingTypeValue", "recognitionEventHandling"); + this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.EVENTS_FLOW_ERROR_HANDLING_ALL), this._coreBotErrorHandlingSettingsViewModel.recognitionHandlingTypes.find((t4) => t4.scriptingName === e3) || this.logItemErrorAndThrow(t3, `the recognition handling type of '${e3}' is not available for the flow type '${this.parentFlow.flowType}'.`); + const i3 = o.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); + this.logNote(`setting the flow recognition error handling type to '${e3}'.`), this._coreBotErrorHandlingSettingsViewModel.recognitionHandlingType = i3; } - } - 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)); + get agentEscalationHandling() { + return o.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreBotErrorHandlingSettingsViewModel.agentEscalationHandling.handlingType); + } + set agentEscalationHandling(e3) { + const t3 = this._infoPropSet("newBotErrorEventHandlingTypeValue", "agentEscalationHandling"); + this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.EVENTS_FLOW_ERROR_HANDLING_ALL), this._coreBotErrorHandlingSettingsViewModel.agentEscalationHandling.handlingTypes.find((t4) => t4.scriptingName === e3) || this.logItemErrorAndThrow(t3, `the agent escalation handling type of '${e3}' is not available for the flow type '${this.parentFlow.flowType}'.`); + const i3 = o.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); + this.logNote(`setting the flow agent escalation error handling type to '${e3}'.`), this._coreBotErrorHandlingSettingsViewModel.agentEscalationHandling.handlingType = i3; + } + get recognitionFailureEventTargetTask() { + const e3 = this._coreBotErrorHandlingSettingsViewModel.parentFlow; + if (e3 && e3.hasTasks) { + const t3 = e3.tasks.find((e4) => e4.id === this._coreBotErrorHandlingSettingsViewModel.recognitionEventTaskId); + if (t3) return this.coreFactory.createArchWrapper(t3); } - 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); + } + set recognitionFailureEventTargetTask(e3) { + const t3 = this._infoPropSet("archTaskTarget", "recognitionFailureEventTargetTask"); + if (this.logNote(`recognitionFailureEventHandling: ${this.recognitionFailureEventHandling}`), this._checkItem(t3, "task" !== this.recognitionFailureEventHandling, 'the recognition event handling type must be set to "Jump to Reusable Task" to set the recognition event task path.'), !e3) return void this._coreBotErrorHandlingSettingsViewModel.recognitionEventTask.setReference(null); + this._checkItem(t3, !e3 || !e3.isArchTask, "the recognition event task path must be an ArchTask."); + const i3 = this._coreBotErrorHandlingSettingsViewModel.recognitionEventTask.getInvalidReferenceReason(e3.coreTaskViewModel); + this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !(0, s.isNullOrUndefined)(i3), `targetTask is not valid as the recognition event task path: ${i3}`), this.logNote("setting the recognition event task path to " + e3.logStr), this._coreBotErrorHandlingSettingsViewModel.recognitionEventTask.setReference(e3.coreTaskViewModel); + } + get agentEscalationTargetTask() { + const e3 = this._coreBotErrorHandlingSettingsViewModel.parentFlow; + if (e3 && e3.hasTasks) { + const t3 = e3.tasks.find((e4) => e4.id === this._coreBotErrorHandlingSettingsViewModel.agentEscalationTaskId); + if (t3) return this.coreFactory.createArchWrapper(t3); } - 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 }))); + } + set agentEscalationTargetTask(e3) { + const t3 = this._infoPropSet("archTaskTarget", "agentEscalationTargetTask"); + if (this.logNote(`agentEscalationHandling: ${this.agentEscalationHandling}`), this._checkItem(t3, "task" !== this.agentEscalationHandling, 'the agent escalation handling type must be set to "Jump to Reusable Task" to set the agent escalation task path.'), !e3) return void this._coreBotErrorHandlingSettingsViewModel.agentEscalationTask.setReference(null); + this._checkItem(t3, !e3 || !e3.isArchTask, "the agent escalation task path must be an ArchTask."); + const i3 = this._coreBotErrorHandlingSettingsViewModel.agentEscalationTask.getInvalidReferenceReason(e3.coreTaskViewModel); + this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !(0, s.isNullOrUndefined)(i3), `targetTask is not valid as the agent escalation task path: ${i3}`), this.logNote("setting the agent escalation task path to " + e3.logStr), this._coreBotErrorHandlingSettingsViewModel.agentEscalationTask.setReference(e3.coreTaskViewModel); + } + get subsequentRecognitionFailuresHandlingType() { + return this._subsequentRecognitionFailuresHandlingType; + } } - 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); + t2.default = l; + }, 48832(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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); - } + get displayTypeName() { + return "ArchSettingsInQueueCallFlow"; + } + get holdMusic() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().holdMusic); + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); + } + get isArchSettingsInQueueCallFlow() { + return true; } - 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)); + t2.default = o; + }, 65507(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(78432)), r = n2.__importDefault(i2(37873)), a = i2(59946); + class s extends r.default { + constructor(e3) { + super(e3), this._coreInboundEmailSettingsViewModel = e3; + } + get displayTypeName() { + return "ArchSettingsInboundEmailFlow"; + } + get logStr() { + if (!this._coreInboundEmailSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._appendLogStrPart(e3, "Auto Generated Email Handling", this.autoGeneratedEmailHandling, false, true), this._createLogStrFromParts(e3); + } + get isArchSettingsInboundEmailFlow() { + return true; + } + get autoGeneratedEmailHandling() { + var e3, t3; + switch (null === (e3 = this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType) || void 0 === e3 ? void 0 : e3.name) { + case a.Disconnect.name: + return o.default.AUTO_GENERATED_EMAIL_HANDLING.disconnect; + case a.Continue.name: + return o.default.AUTO_GENERATED_EMAIL_HANDLING.continue; + default: + this._logErrorInternalAndThrow("unknown handling type '" + (null === (t3 = this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType) || void 0 === t3 ? void 0 : t3.name) + "' on the auto-generated email handling."); } - 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); + } + set autoGeneratedEmailHandling(e3) { + switch (this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newAutoGeneratedEmailHandlingTypeValue", "autoGeneratedEmailHandling"), e3, o.default.AUTO_GENERATED_EMAIL_HANDLING_ALL), this.logNote("setting the auto-generated email handling type to '" + e3 + "'."), e3) { + case o.default.AUTO_GENERATED_EMAIL_HANDLING.disconnect: + this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType = a.Disconnect; + break; + case o.default.AUTO_GENERATED_EMAIL_HANDLING.continue: + this._coreInboundEmailSettingsViewModel.autoGeneratedEmailHandlingType = a.Continue; } - o2.changeSetResults.addResult({ path: `/changes[${s2}]/update`, updated: { [t3]: new c.ChangeSetResultObject(r4 || "", e3.name || t3, l2) } }); - }); + } + getDetectionJobIntentSettingsByIntentName(e3) { + this._checkItemIsValidLiteralString(this._infoParm("name", "getDetectionJobIntentSettingsByIntentName"), e3); + const t3 = this._coreInboundEmailSettingsViewModel.parent.nluCortexMetaData.intents.find((t4) => t4.name === e3); + if (t3) return this.coreFactory.createArchSettingsDetectionJobIntent(t3); + } } - function Pe(e3) { - return (0, oe.flowYamlDtmfFromDigit)(e3.dtmf); + t2.default = s; + }, 3215(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { + constructor(e3) { + super(e3), this._coreMenuSettingsViewModel = e3; + } + get displayTypeName() { + return "ArchSettingsMenu"; + } + get _allowBlankObjectId() { + return true; + } + get extensionDialingMaxDelay() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().extensionDialingDelay); + } + get logStr() { + if (!this._coreMenuSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreMenuSettingsViewModel.parent), this._createLogStrFromParts(e3); + } + get isArchSettingsMenu() { + return true; + } + get listenForExtensionDialing() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().useExtensionDialing); + } + get menuSelectionTimeout() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().promptRepeatDelay); + } + get repeatCount() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().promptRepeatCount); + } } - 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 }; + t2.default = o; + }, 8235(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(3215)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get displayTypeName() { + return "ArchSettingsMenuFlow"; + } + get _allowBlankObjectId() { + return false; + } + get logStr() { + if (!this._coreMenuSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreMenuSettingsViewModel.parent), this._createLogStrFromParts(e3); + } + get isArchSettingsMenuFlow() { + return true; + } } - 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 }; + t2.default = o; + }, 59618(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(67336)); + class a extends r.default { + constructor(e3) { + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDynamicSlotTypeViewModel"), e3), this._coreDynamicSlotTypeViewModel = e3, (0, o.makeUnenumerable)(this, "_coreDynamicSlotTypeViewModel"), this._values = this.coreFactory.createArchWrapper(e3.values), this._synonyms = this.coreFactory.createArchWrapper(e3.synonyms), this._labels = this.coreFactory.createArchWrapper(e3.labels); + } + get displayTypeName() { + return "ArchSettingsDynamicSlotType"; + } + get isArchSettingsNluDynamicSlotType() { + return true; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get values() { + return this._values; + } + get synonyms() { + return this._synonyms; + } + get labels() { + return this._labels; } - 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); - } + t2.default = a; + }, 86115(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(67336)); + class a extends r.default { + constructor(e3) { + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDynamicTimeslotTypeViewModel"), e3), this._coreDynamicTimeslotTypeViewModel = e3, (0, o.makeUnenumerable)(this, "_coreDynamicTimeslotTypeViewModel"), this._timeslots = this.coreFactory.createArchWrapper(e3.timeslots); + } + get displayTypeName() { + return "ArchSettingsNluDynamicTimeslotType"; + } + get isArchSettingsNluDynamicTimeslotType() { + return true; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get timeslots() { + return this._timeslots; } - 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 })); + t2.default = a; + }, 49225(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(78432)), a = i2(80295), s = n2.__importDefault(i2(8471)); + class l extends s.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreIntentSettingsViewModel"), e3), this._coreIntentSettingsViewModel = e3, (0, a.makeUnenumerable)(this, "_coreIntentSettingsViewModel"), this._confirmation = this.coreFactory.createArchWrapper(e3.confirmationExpression); + } + get displayTypeName() { + return "ArchSettingsNluIntent"; + } + get isArchSettingsNluIntent() { + return true; + } + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreIntentSettingsViewModel.parentFlow); + } + get logStr() { + return this.logStrTypeOnly; + } + get confirmation() { + return this._confirmation; + } + associateWithTask(e3) { + this.parentFlow.isArchFlowDigitalBot || this.logErrorAndThrow(`cannot associate a task with an intent in a flow that is not of type '${r.default.FLOW_TYPES.digitalBot}'. ${this.logStr}`), this._checkItem(this._infoPropSet("archReusableTask", "associateWithTask"), !e3 || !e3.isArchTask || !e3.isReusableTask, "you cannot associate an intent to an object that is not a reusable Architect task"); + const t3 = this._coreIntentSettingsViewModel.parent, i3 = this._coreIntentSettingsViewModel.name; + t3.addIntentTaskMapping({ intentName: i3, taskId: e3.id }); + } + get associatedTask() { + var e3; + if (this.parentFlow.isArchFlowDigitalBot || this.logErrorAndThrow(`cannot get an associated task for an intent in a flow that is not of type '${r.default.FLOW_TYPES.digitalBot}'. ${this.logStr}`), !this.parentFlow.tasksReusable.length) return; + const t3 = null === (e3 = this._coreIntentSettingsViewModel.parent.intentsToReusableTasksMapping[this._coreIntentSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.id; + return t3 ? o.default.findWhere(this.parentFlow.tasksReusable, { id: t3 }) : void 0; } } - 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 }; + t2.default = l; + }, 39096(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(80295), r = n2.__importDefault(i2(8471)); + class a extends r.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreIntentSettingsViewModel"), e3), this._coreIntentsSettingsViewModel = e3, (0, o.makeUnenumerable)(this, "_coreIntentsSettingsViewModel"); + } + get displayTypeName() { + return "ArchSettingsNluIntents"; + } + get isArchSettingsNluIntents() { + return true; + } + get logStr() { + return this.logStrTypeOnly; + } } - 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); + t2.default = a; + }, 75983(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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; + } + get displayTypeName() { + return "ArchSettingsNluKnowledge"; + } + get isArchSettingsNluKnowledge() { + return true; + } + get logStr() { + if (!this._coreKnowledgeSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get responseBias() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.responseBias); + } + get knowledgeBaseName() { + return this._getCoreViewModel().knowledgeBaseName; + } + get knowledgeBaseId() { + return this._getCoreViewModel().knowledgeBaseId; + } + get knowledgeSettingName() { + return this._getCoreViewModel().knowledgeSettingName; + } + get knowledgeSettingId() { + return this._getCoreViewModel().knowledgeSettingId; + } + get welcomeArticleName() { + return this._getCoreViewModel().knowledgeBaseWelcomeDocumentName; + } + get welcomeArticleId() { + return this._getCoreViewModel().knowledgeBaseWelcomeDocumentId; + } + get knowledgeConfirmation() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeConfirmation); + } + get knowledgeInitialResponseFollowup() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseFollowup); + } + get knowledgePathMode() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgePathMode); + } + setKnowledgePathModeStatement() { + this.knowledgePathMode.setLiteralString(r.default.KNOWLEDGE_PATH_MODES.statement); + } + setKnowledgePathModeTask() { + this.knowledgePathMode.setLiteralString(r.default.KNOWLEDGE_PATH_MODES.task); + } + get knowledgeAnswerContentType() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerContentType); + } + setKnowledgeAnswerContentTypeStandard() { + this.knowledgeAnswerContentType.setLiteralString(r.default.KNOWLEDGE_ANSWER_CONTENT_TYPES.standard); + } + setKnowledgeAnswerContentTypeHighlight() { + this.knowledgeAnswerContentType.setLiteralString(r.default.KNOWLEDGE_ANSWER_CONTENT_TYPES.highlight); + } + setKnowledgeAnswerContentTypeGenerative() { + this.knowledgeAnswerContentType.setLiteralString(r.default.KNOWLEDGE_ANSWER_CONTENT_TYPES.generative); + } + get knowledgeSettingsMode() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeSettingsMode); + } + setKnowledgeSettingsModeStandard() { + this.knowledgeSettingsMode.setLiteralString(r.default.KNOWLEDGE_SETTINGS_MODES.standard); + } + setKnowledgeSettingsModeCustom() { + this.knowledgeSettingsMode.setLiteralString(r.default.KNOWLEDGE_SETTINGS_MODES.custom); + } + get knowledgeInitialResponseMulti() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseMulti); + } + get knowledgeInitialResponseMultiRetry() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseMultiRetry); + } + get knowledgeInitialResponseSingle() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeInitialResponseSingle); + } + get knowledgeNoMatch() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeNoMatch); + } + get maxNumOfAnswersReturned() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.maxNumOfAnswersReturned); + } + get sendKnowledgeFeedback() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.sendKnowledgeFeedback); + } + get knowledgeAnswerHighlight() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerHighlight); + } + get knowledgeMultiArticleSource() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeMultiArticleSource); + } + get knowledgeContextSearch() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeContextSearch); + } + get knowledgeVersion() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeVersion); + } + get knowledgeAnswerHighlightFullArticle() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerHighlightFullArticle); + } + get knowledgeAnswerHighlightFlowProgression() { + return this.coreFactory.createArchWrapper(this._coreKnowledgeSettingsViewModel.knowledgeAnswerHighlightFlowProgression); + } + _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}'`); + const o2 = d.getLangKnowledgeBaseLanguageTag(this._coreKnowledgeSettingsViewModel.parentFlow.defaultLanguageLCase); + return n4.coreLanguage && o2 && n4.coreLanguage.toLowerCase() !== o2.toLowerCase() && this.logWarning(`The knowledge base '${n4.name}' has core language '${n4.coreLanguage}' which does not match the flow's default language '${o2}'. 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(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); } - 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; + 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.`), p.default.addPromise(this._setKnowledgeBaseByIdAsync("setKnowledgeBaseByNameAsync", i3.id, t3), "setKnowledgeBaseByNameAsync"))); } - 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), c = n2.__importDefault(i2(33644)), d = n2.__importDefault(i2(4648)), p = i2(47957); - class _ extends c.default { - getDetails() { - return new s.ActionDetails([p.flowOutcomes.flowOutcome, p.flowOutcomes.flowMilestone], [this.outcomeName, this.milestoneName]); + setKnowledgeSettingByIdAsync(e3, t3) { + return this._setKnowledgeSettingByIdAsync("setKnowledgeSettingByIdAsync", e3, t3); } - static get managedProperties() { - 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) }]; + setKnowledgeSettingByNameAsync(e3, t3) { + 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"))); } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + _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))); + } + setWelcomeArticleByIdAsync(e3, t3) { + 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.`), p.default.addPromise(this._setWelcomeArticleByIdAsync("setWelcomeArticleByNameAsync", i3.id, t3), "setWelcomeArticleByNameAsync"))); + } + get knowledgeTargetTask() { + if (o.default.isUndefined(this._targetArchTask) && (this._targetArchTask = this._findTaskById(this._coreKnowledgeSettingsViewModel.knowledgeFollowupTaskId)), this._targetArchTask) return this._targetArchTask; + } + set knowledgeTargetTask(e3) { + const t3 = this._infoPropSet("archTaskTarget", "knowledgeTargetTask"); + 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, 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 (o.default.isUndefined(this._targetCustomTask) && (this._targetCustomTask = this._findTaskById(this._coreKnowledgeSettingsViewModel.knowledgeCustomHandlerTaskId)), this._targetCustomTask) return this._targetCustomTask; + } + set knowledgeCustomTask(e3) { + const t3 = this._infoPropSet("archTaskTarget", "knowledgeCustomTask"); + 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, 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; + if (t3 && t3.hasTasks) { + const i3 = t3.tasks, n3 = o.default.findWhere(i3, { id: e3 }); + if (n3) return this.coreFactory.createArchWrapper(n3); + } + return null; } } - _.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) { - n2.each(e3, function(e4, t3) { - this[t3] = e4; - }.bind(this)), r2.baseConstructor.apply(this); - } - i2(45214).extend(r2, "SimpleContract"), e2.exports = r2; - }, 84986: (e2, t2, i2) => { + t2.default = m; + }, 51039(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(77841), a = n2.__importDefault(i2(45894)); - class s extends a.default { + const n2 = i2(31635), o = n2.__importDefault(i2(78432)), r = i2(77841), a = i2(19284), s = i2(80295), l = n2.__importDefault(i2(56549)), u = n2.__importDefault(i2(8471)); + class c extends u.default { constructor(e3) { - super(e3, o.grammarManager); + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreSlotSettingsViewModel"), e3), this._coreSlotSettingsViewModel = e3, (0, s.makeUnenumerable)(this, "_coreSlotSettingsViewModel"); } - get _globalTypeName() { - return "grammar"; + get displayTypeName() { + return "ArchSettingsNluSlot"; } - get isArchValueGrammar() { + get isArchSettingsNluSlot() { return true; } - get displayTypeName() { - return "ArchValueGrammar"; + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreSlotSettingsViewModel.parentFlow); } - setLiteralByGrammarIdAsync(e3, t3) { + get logStr() { + return this.logStrTypeOnly; + } + associateWithGrammarByNameAsync(e3) { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("grammarId", "setLiteralByGrammarIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGrammarIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByGrammarIdAsync", t3, this)); + this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a grammar with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("grammarName", "associateWithGrammarByNameAsync"), e3); + const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByValueAsync(r.grammarManager, e3, "grammar", "name", "name"); + n3 || this._checkItem(this._infoParm("grammarName", "associateWithGrammarByNameAsync"), !n3, "unable to find the specified grammar."), this.logNote(`Found info for the grammar named '${n3.name}' for the passed grammar name of '${e3}'.`), t3.addSlotGrammarMapping(i3, { id: n3.id, name: n3.name }); }); } - setLiteralByGrammarNameAsync(e3, t3) { + set captureValue(e3) { + this._checkItemIsValidLiteralStringEnum(this._infoParm("captureValue", "captureValue"), e3, o.default.CAPTURE_TYPES_ALL); + const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name; + this.logNote(`Setting slot '${i3}' capture value to '${e3}'.`), t3.addListPickerMapping(i3, e3, true); + } + get captureValue() { + var e3; + return null === (e3 = this._coreSlotSettingsViewModel.parent.listPickerMappings) || void 0 === e3 ? void 0 : e3[this._coreSlotSettingsViewModel.name]; + } + associateWithSpeechToTextEngineByNameAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a speech to text engine with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("sttEngineName", "associateWithSpeechToTextEngineByNameAsync"), e3); + const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByValueAsync(a.speechToTextEngineManager, e3, "sttEngine", "name", "name"); + n3 || this._checkItem(this._infoParm("sttEngineName", "associateWithSpeechToTextEngineByNameAsync"), !n3, "unable to find the specified speech to text engine."), this.logNote(`Found info for speech to text engine with name '${n3.name}' & ID '${n3.id}'.`), t3.addSlotGrammarSttEngineMapping(i3, { name: n3.name, id: n3.id }); + }); + } + associateWithGrammarByIdAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a grammar with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("grammarId", "associateWithGrammarByIdAsync"), e3); + const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByIdAsync(r.grammarManager, e3, "grammar", "id"); + n3 || this._checkItem(this._infoParm("grammarId", "associateWithGrammarByIdAsync"), !n3, "unable to find the specified grammar."), t3.addSlotGrammarMapping(i3, { id: n3.id, name: n3.name }); + }); + } + associateWithSpeechToTextEngineByIdAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this.parentFlow.definition.supportsGrammars || this.logErrorAndThrow(`cannot associate a speech to text engine with a slot in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`), this._checkItemIsValidLiteralString(this._infoParm("sttEngineId", "associateWithSpeechToTextEngineByIdAsync"), e3); + const t3 = this._coreSlotSettingsViewModel.parent, i3 = this._coreSlotSettingsViewModel.name, n3 = yield l.default.findItemByIdAsync(a.speechToTextEngineManager, e3, "sttEngine", "id"); + n3 || this._checkItem(this._infoParm("sttEngineId", "associateWithSpeechToTextEngineByIdAsync"), !n3, "unable to find the specified speech to text engine."), this.logNote(`Found info for speech to text engine with name '${n3.name}' & ID '${n3.id}'.`), t3.addSlotGrammarSttEngineMapping(i3, { name: n3.name, id: n3.id }); + }); + } + getAssociatedGrammarId() { + var e3; + if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); + return (null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.id) || void 0; + } + getAssociatedGrammarSpeechToTextEngineId() { + var e3; + if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar-based speech to text engine in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); + return (null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.sttEngine.id) || void 0; + } + getAssociatedGrammarName() { + return n2.__awaiter(this, void 0, void 0, function* () { + var e3; + if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); + const t3 = null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.id; + if (!t3) return; + const i3 = yield l.default.findItemByValueAsync(r.grammarManager, t3, "grammar", "id", "id"); + return i3.name ? (this.logNote(`Found info for the grammar named '${i3.name}' for the passed grammar id of '${t3}'.`), i3.name) : void 0; + }); + } + getAssociatedGrammarSpeechToTextEngineName() { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("grammarName", "setLiteralByGrammarNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGrammarNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByGrammarNameAsync", t3, this)); + var e3, t3; + if (!this.parentFlow.definition.supportsGrammars) return void this.logErrorAndThrow(`cannot fetch a grammar-based speech to text engine in a flow that is of type '${this.parentFlow.flowType}'. ${this.logStr}`); + const i3 = null === (t3 = null === (e3 = this._coreSlotSettingsViewModel.parent.slotsToGrammarsMapping[this._coreSlotSettingsViewModel.name]) || void 0 === e3 ? void 0 : e3.sttEngine) || void 0 === t3 ? void 0 : t3.id; + if (!i3) return; + const n3 = yield l.default.findItemByValueAsync(a.speechToTextEngineManager, i3, "sttEngine", "id", "id"); + return (null == n3 ? void 0 : n3.name) ? (this.logNote(`Found info for the speech to text engine named '${n3.name}' for the passed speech to text Engine id of '${i3}'.`), n3.name) : void 0; }); } } - t2.default = s; - }, 85003: (e2, t2, i2) => { + t2.default = c; + }, 10203(e2, t2, i2) { "use strict"; 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) { - if (e3.length) return o[e3.toLowerCase()]; - }; - const n2 = i2(31635).__importDefault(i2(96629)), r2 = i2(47957), o = {}, a = (e3, t3) => o[e3] = n2.default.create(e3, t3); - 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.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 = 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::${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 = 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 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; + const n2 = i2(31635), o = n2.__importDefault(i2(67336)), r = n2.__importDefault(i2(56549)), a = i2(89599), s = n2.__importDefault(i2(94225)); + class l extends o.default { + constructor(e3) { + super(e3), this._coreVirtualAgentSettingsViewModel = e3; + } + get displayTypeName() { + return "ArchSettingsNluVirtualAgent"; + } + get isArchSettingsNluVirtualAgent() { + return true; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get summarization() { + return this.coreFactory.createArchWrapper(this._coreVirtualAgentSettingsViewModel.summarization); + } + get assignWrapupCodes() { + return this.coreFactory.createArchWrapper(this._coreVirtualAgentSettingsViewModel.assignWrapupCodes); + } + get enabledWrapupCodes() { + return this.coreFactory.createArchWrapper(this._coreVirtualAgentSettingsViewModel.enabledWrapupCodes); + } + get conversationSummaryId() { + return this._getCoreViewModel().conversationSummaryId; + } + get conversationSummaryName() { + return this._getCoreViewModel().conversationSummaryName; + } + setConversationSummaryByIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryId", "setConversationSummaryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByIdAsync"), t3, true), r.default.findItemByIdAsync(a.conversationSummarySettingManager, e3, "conversationSummaryId").then((i3) => (this.logNote(`found the summarization setting named '${i3.name}' for the summarization setting ID of '${e3}'`), this._coreVirtualAgentSettingsViewModel.conversationSummary.setValue(i3), s.default.executeCallback(this, "setConversationSummaryByIdAsync", t3, this))); + } + setConversationSummaryByNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryName", "setConversationSummaryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByNameAsync"), t3, true), r.default.findItemByValueAsync(a.conversationSummarySettingManager, e3, "summarization setting", "name", "name").then((i3) => (this.logNote(`Found partial info for the summarization setting named '${i3.name}' for the passed summarization setting name of '${e3}'. Getting full summarization setting details.`), this.setConversationSummaryByIdAsync(i3.id, t3))); } } - 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 s2 = i5.expressionType; - if (i5.hasProperties()) { - const t6 = T(e4, `jsn__architect::${d}_type_${i5.expressionType}`, i5, false); - if (!t6) continue; - s2 = t6.expressionType; - } - 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 g2.hasProperties ? g2 : void 0; - } - })(e3, t3, i3); - return p2 ? (r2.createCustomExpressionTypesFromDataTypeDefs(e3, [p2], true), a.default.getType(e3, t3, n3)) : void 0; - } - }, 85080: (e2, t2, i2) => { + t2.default = l; + }, 4268(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(65302)), r = i2(80428), a = n2.__importDefault(i2(94225)), s = n2.__importDefault(i2(37873)); + class l extends s.default { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "lineItemCollection"; + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreOutboundCallSettingsViewModel"), e3), this._contactList = this.coreFactory.createArchWrapper(e3.contactList), this._defaultWrapupCode = this.coreFactory.createArchWrapper(e3.defaultWrapupCode); } get displayTypeName() { - return "ArchVariableLineItemCollection"; + return "ArchSettingsOutboundCallFlow"; } - get initialValue() { - return this._initialValue; + get contactList() { + return this._contactList; } - get isArchVariableLineItemCollection() { + _updateContactType() { + this.logNote("updating Call.Contact properties for new contact list of '" + this._contactList._getCoreViewModel().name + "'"), o.default.getType(this._getCoreViewModel().parentFlow, r.expressionTypeNames.contact, false).changeProperties(this._contactList._getCoreViewModel()); + } + get defaultWrapupCode() { + return this._defaultWrapupCode; + } + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); + } + get isArchSettingsOutboundCallFlow() { return true; } - } - t2.default = r2; - }, 85096: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - var t3 = { 1: "'inci", 5: "'inci", 8: "'inci", 70: "'inci", 80: "'inci", 2: "'nci", 7: "'nci", 20: "'nci", 50: "'nci", 3: "'\xFCnc\xFC", 4: "'\xFCnc\xFC", 100: "'\xFCnc\xFC", 6: "'nc\u0131", 9: "'uncu", 10: "'uncu", 30: "'uncu", 60: "'\u0131nc\u0131", 90: "'\u0131nc\u0131" }; - e3.defineLocale("tr", { months: "Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"), monthsShort: "Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"), weekdays: "Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"), weekdaysShort: "Paz_Pzt_Sal_\xC7ar_Per_Cum_Cmt".split("_"), weekdaysMin: "Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"), meridiem: function(e4, t4, i3) { - return e4 < 12 ? i3 ? "\xF6\xF6" : "\xD6\xD6" : i3 ? "\xF6s" : "\xD6S"; - }, meridiemParse: /öö|ÖÖ|ös|ÖS/, isPM: function(e4) { - return "\xF6s" === e4 || "\xD6S" === e4; - }, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" }, calendar: { sameDay: "[bug\xFCn saat] LT", nextDay: "[yar\u0131n saat] LT", nextWeek: "[gelecek] dddd [saat] LT", lastDay: "[d\xFCn] LT", lastWeek: "[ge\xE7en] dddd [saat] LT", sameElse: "L" }, relativeTime: { future: "%s sonra", past: "%s \xF6nce", s: "birka\xE7 saniye", ss: "%d saniye", m: "bir dakika", mm: "%d dakika", h: "bir saat", hh: "%d saat", d: "bir g\xFCn", dd: "%d g\xFCn", w: "bir hafta", ww: "%d hafta", M: "bir ay", MM: "%d ay", y: "bir y\u0131l", yy: "%d y\u0131l" }, ordinal: function(e4, i3) { - switch (i3) { - case "d": - case "D": - case "Do": - case "DD": - return e4; - default: - if (0 === e4) return e4 + "'\u0131nc\u0131"; - var n2 = e4 % 10; - return e4 + (t3[n2] || t3[e4 % 100 - n2] || t3[e4 >= 100 ? 100 : null]); - } - }, week: { dow: 1, doy: 7 } }); - })(i2(95093)); - }, 85148: (e2, t2, i2) => { - const { loopTaskActionType: n2 } = i2(30801); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - 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 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(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) { - 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() { - return this._extensionDialingDelay; - }, set: function(e3) { - this._extensionDialingDelay = this.reviveItem(e3, o); - } }, menuChoiceList: { enumerable: true, get: function() { - return this._menuChoiceList; - }, set: function(e3) { - this._menuChoiceList = this.reviveArray(e3, l); - } }, promptRepeatCount: { enumerable: true, get: function() { - return this._promptRepeatCount; - }, set: function(e3) { - this._promptRepeatCount = this.reviveItem(e3, o); - } }, promptRepeatDelay: { enumerable: true, get: function() { - return this._promptRepeatDelay; - }, set: function(e3) { - this._promptRepeatDelay = this.reviveItem(e3, o); - } }, prompts: { enumerable: true, get: function() { - return this._expression; - }, set: function(e3) { - this._expression = this.reviveItem(e3, r2); - } }, speechRecMinConfidence: { enumerable: true, get: function() { - return this._speechRecMinConfidence; - }, set: function(e3) { - this._speechRecMinConfidence = this.reviveItem(e3, o); - } }, speechRecTimeoutComplete: { enumerable: true, get: function() { - return this._speechRecTimeoutComplete; - }, set: function(e3) { - this._speechRecTimeoutComplete = this.reviveItem(e3, o); - } }, speechRecTimeoutIncomplete: { enumerable: true, get: function() { - return this._speechRecTimeoutIncomplete; - }, set: function(e3) { - this._speechRecTimeoutIncomplete = this.reviveItem(e3, o); - } }, speechRecTimeoutTotal: { enumerable: true, get: function() { - return this._speechRecTimeoutTotal; - }, set: function(e3) { - this._speechRecTimeoutTotal = this.reviveItem(e3, o); - } }, useExtensionDialing: { enumerable: true, get: function() { - return this._useExtensionDialing; - }, set: function(e3) { - this._useExtensionDialing = this.reviveItem(e3, o); - } } }), 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), 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(), 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 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(c, "LanguageOptions"), Object.defineProperties(c.prototype, { languageSkill: { enumerable: true, get: function() { - return this._languageSkill; - }, set: function(e3) { - this._languageSkill = this.reviveItem(e3, r2); - } }, textToSpeech: { enumerable: true, get: function() { - return this._textToSpeech; - }, set: function(e3) { - this._textToSpeech = this.reviveItem(e3, a); - } }, speechToText: { enumerable: true, get: function() { - return this._speechToText; - }, set: function(e3) { - this._speechToText = this.reviveItem(e3, o); - } }, knowledgeBase: { enumerable: true, get: function() { - return this._knowledgeBase; - }, set: function(e3) { - this._knowledgeBase = this.reviveItem(e3, s); - } }, knowledgeSetting: { enumerable: true, get: function() { - return this._knowledgeSetting; - }, set: function(e3) { - this._knowledgeSetting = this.reviveItem(e3, l); - } }, conversationSummarySetting: { enumerable: true, get: function() { - return this._conversationSummarySetting; - }, set: function(e3) { - this._conversationSummarySetting = this.reviveItem(e3, u); - } } }), e2.exports = c; - }, 85251: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneySegmentActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + setContactListLiteralByContactListIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("contactListId", "setContactListLiteralByContactListIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setContactListLiteralByContactListIdAsync"), t3, true), this._contactList.setLiteralByContactListIdAsync(e3, () => (this._updateContactType(), a.default.executeCallback(this, "setContactListLiteralByContactListIdAsync", t3, this))); + } + setContactListLiteralByContactListNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("contactListName", "setContactListLiteralByContactListNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setContactListLiteralByContactListNameAsync"), t3, true), this._contactList.setLiteralByContactListNameAsync(e3, () => (this._updateContactType(), a.default.executeCallback(this, "setContactListLiteralByContactListNameAsync", t3, this))); } } - t2.GetJourneySegmentActionModel = o, o.__type = r2.getJourneySegmentActionType, o.registerType(); - }, 85306: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isoLanguagesUiData = void 0; - const n2 = i2(37675); - t2.isoLanguagesUiData = [{ id: "cs-cz", angular: "cs", moment: "cs", humanizeDuration: "cs", pureCloudLocale: "cs", spark: "cs", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "en-us", angular: "en", moment: "", humanizeDuration: "en", pureCloudLocale: "en-us", spark: "en", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "es-us", angular: "es", moment: "es", humanizeDuration: "es", pureCloudLocale: "es", spark: "es", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "fr-ca", angular: "fr", moment: "fr-ca", humanizeDuration: "fr", pureCloudLocale: "fr", spark: "fr-ca", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "de-de", angular: "de", moment: "de", humanizeDuration: "de", pureCloudLocale: "de", spark: "de", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "ja-jp", angular: "ja", moment: "ja", humanizeDuration: "ja", pureCloudLocale: "ja", spark: "ja", italic: false, verticalTextSideways: false, direction: n2.leftToRight }, { id: "nb-no", angular: "nb", moment: "nb", humanizeDuration: "no", pureCloudLocale: "no", spark: "no", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "nl-nl", angular: "nl", moment: "nl", humanizeDuration: "nl", pureCloudLocale: "nl", spark: "nl", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "pt-br", angular: "pt", moment: "pt-br", humanizeDuration: "pt", pureCloudLocale: "pt-br", spark: "pt-br", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "it-it", angular: "it", moment: "it", humanizeDuration: "it", pureCloudLocale: "it", spark: "it", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "ko-kr", angular: "ko", moment: "ko", humanizeDuration: "ko", pureCloudLocale: "ko", spark: "ko", italic: false, verticalTextSideways: false, direction: n2.leftToRight }, { id: "pl-pl", angular: "pl", moment: "pl", humanizeDuration: "pl", pureCloudLocale: "pl", spark: "pl", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "ru-ru", angular: "ru", moment: "ru", humanizeDuration: "ru", pureCloudLocale: "ru", spark: "ru", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "sv-se", angular: "sv", moment: "sv", humanizeDuration: "sv", pureCloudLocale: "sv", spark: "sv", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "tr-tr", angular: "tr", moment: "tr", humanizeDuration: "tr", pureCloudLocale: "tr", spark: "tr", italic: true, verticalTextSideways: true, direction: n2.leftToRight }, { id: "zh-cn", angular: "zh-Hans", moment: "zh-cn", humanizeDuration: "zh_CN", pureCloudLocale: "zh-cn", spark: "zh-cn", italic: false, verticalTextSideways: false, direction: n2.leftToRight }, { id: "zh-tw", angular: "zh-Hant", moment: "zh-tw", humanizeDuration: "zh_TW", pureCloudLocale: "zh-tw", spark: "zh-tw", italic: false, verticalTextSideways: false, direction: n2.leftToRight }], t2.default = t2.isoLanguagesUiData; - }, 85321: (e2, t2, i2) => { + t2.default = l; + }, 93693(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = n2.__importDefault(i2(40559)), a = i2(59912); - class s extends o.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(78432)), a = i2(80295), s = n2.__importDefault(i2(37873)); + class l extends s.default { constructor(e3) { - super(e3, a.utilizationLabelManager); - } - get _globalTypeName() { - return "utilizationLabelCollection"; + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("corePromptSettingsViewModel"), e3), this._corePromptSettingsViewModel = e3, (0, a.makeUnenumerable)(this, "_corePromptSettingsViewModel"); } get displayTypeName() { - return "ArchValueUtilizationLabelCollection"; + return "ArchSettingsPromptsFlow"; } - get isArchValueUtilizationLabelCollection() { + get isArchSettingsPromptsFlow() { return true; } - get _searchByValueSearchProperty() { - return "name"; + get ensureAudioInPrompts() { + return this._corePromptSettingsViewModel.ensureAudioInPrompts; } - addLiteralByUtilizationLabelIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelId", "addLiteralByUtilizationLabelIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUtilizationLabelIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "utilizationLabel").then(function() { - return r2.default.executeCallback(this, "addLiteralByUtilizationLabelIdAsync", t3, this); - }.bind(this)); + set ensureAudioInPrompts(e3) { + const t3 = this._infoPropSet("newValue", "ensureAudioInPrompts"); + this._checkItemIsValidLiteralBool(t3, e3), this.logDeprecatedPropertyWarning(t3, "promptMediaToValidate", "if setting ensureAudioInPrompts to true, please update calling code to call the prompt settings promptMediaToValidate property setter instead with the string value 'audio' ( archEnums.PROMPT_MEDIA_TYPES.audio ). If false, use a JavaScript array of [ 'audio', 'tts' ] where the string values come from archEnums.PROMPT_MEDIA_TYPES.audio and archEnums.PROMPT_MEDIA_TYPES.tts respectively."), this.logNote("setting flow ensure audio in prompts setting to '" + e3 + "'"), this._corePromptSettingsViewModel.ensureAudioInPrompts = e3; } - addLiteralByUtilizationLabelNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelName", "addLiteralByUtilizationLabelNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUtilizationLabelNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "utilizationLabel").then(function() { - return r2.default.executeCallback(this, "addLiteralByUtilizationLabelNameAsync", t3, this); - }.bind(this)); + get promptMediaToValidate() { + return [].concat(this._corePromptSettingsViewModel.parentFlow.promptMediaToValidate); + } + set promptMediaToValidate(e3) { + const t3 = this._infoPropSet("value", "promptMediaToValidate"); + this._checkItemIsValidLiteralStringOrStringArray(t3, e3, false), "string" != typeof e3 ? e3.forEach((e4) => this._checkItemIsValidLiteralStringEnum(this._infoPropSet("value", "promptMediaToValidate"), e4, r.default.PROMPT_MEDIA_TYPES_ALL)) : (this._checkItemIsValidLiteralStringEnum(t3, e3, r.default.PROMPT_MEDIA_TYPES_ALL), e3 = [e3]), this._checkItem(t3, !this._corePromptSettingsViewModel.parentFlow.supportsAudio && o.default.contains(e3, r.default.PROMPT_MEDIA_TYPES.audio), "this flow does not support audio so it cannot be set as a media type to validate on a prompt."), this._checkItem(t3, o.default.contains(e3, r.default.PROMPT_MEDIA_TYPES.text), `the prompt media type '${r.default.PROMPT_MEDIA_TYPES.text}' cannot be set as a prompt media type to validate yet.`), e3 = o.default.uniq(e3), this._checkItem(t3, 1 === e3.length && e3[0] === r.default.PROMPT_MEDIA_TYPES.tts, `you cannot use the prompt media type '${r.default.PROMPT_MEDIA_TYPES.tts}' by itself. You must have prompt media type '${r.default.PROMPT_MEDIA_TYPES.audio}' to use '${r.default.PROMPT_MEDIA_TYPES.tts}'.`), this._checkItem(t3, o.default.contains(e3, r.default.PROMPT_MEDIA_TYPES.none) && e3.length > 1, `when using the prompt media type '${r.default.PROMPT_MEDIA_TYPES.none}', no other values can be set.`), this._corePromptSettingsViewModel.parentFlow.promptMediaToValidate = 1 === e3.length && e3[0] === r.default.PROMPT_MEDIA_TYPES.none ? [] : e3, this.logNote(`prompt media to validate set to '${e3.join("', '")}'`); + } + get logStr() { + if (!this._corePromptSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._corePromptSettingsViewModel.outOfService || this._appendLogStrPart(e3, "ensureAudioInPrompts", this.ensureAudioInPrompts, true, true), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); } } - t2.default = s; - }, 85345: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isValidDate = void 0, t2.isValidDate = function(e3) { - return e3 instanceof Date && !isNaN(e3); - }; - }, 85383: (e2, t2, i2) => { + t2.default = l; + }, 76634(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(23335)), o = n2.__importDefault(i2(56549)); - class a extends r2.default { - constructor(e3, t3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreConfigurationListManager"), t3), this._configListManager = t3; + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { + constructor(e3) { + super(e3), this._coreSpeechRecSettingsViewModel = e3; } get displayTypeName() { - return "ArchBaseNetworkValue"; - } - get _searchByValueSearchProperty() { + return "ArchSettingsSpeechRec"; } - get isArchBaseNetworkValue() { + get _allowBlankObjectId() { return true; } - _findItemByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = t3 || this._coreExpression.label; - return o.default.findItemByIdAsync(this._configListManager, e3, i3); - }); + get completeMatchTimeout() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecTimeoutComplete); } - _findItemByValueAsync(e3, t3, i3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const n3 = t3 || this._coreExpression.label; - return o.default.findItemByValueAsync(this._configListManager, e3, n3, this._searchByValueSearchProperty, void 0, void 0, i3); - }); + get incompleteMatchTimeout() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecTimeoutIncomplete); + } + get maxSpeechLengthTimeout() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecTimeoutTotal); + } + get logStr() { + if (!this._coreSpeechRecSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + } + get minConfidenceLevel() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().speechRecMinConfidence); + } + get isArchSettingsSpeechRec() { + return true; } } - t2.default = a; - }, 85386: (e2, t2, i2) => { - const n2 = i2(50778); - function r2() { - Object.defineProperties(this, { _division: { writable: true } }), r2.baseConstructor.apply(this, arguments); - } - i2(52722).extend(r2, "BaseDivisionedEntity"), Object.defineProperties(r2.prototype, { division: { enumerable: true, get: function() { - return this._division; - }, set: function(e3) { - this._division = this.reviveItem(e3, n2); - } }, isBaseDivisionedEntity: { get: function() { - return true; - } } }), e2.exports = r2; - }, 85415: (e2, t2, i2) => { + t2.default = o; + }, 7862(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), 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; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(78432)), r = n2.__importDefault(i2(76634)), a = n2.__importDefault(i2(73198)); + class s extends r.default { + constructor(e3) { + super(e3), this._suppressRecording = this.coreFactory.createArchValueFromExpression(e3.suppressRecording); } - get requiredAuth() { - return d.externalAuthorizations.authStrings.conversationCustomAttributesSchemaView; + get displayTypeName() { + return "ArchSettingsSpeechRecFlow"; + } + get _allowBlankObjectId() { + return false; + } + get asrEnabledOnFlow() { + return this._getCoreViewModel().disableAsr.text !== a.default.true; } - constructor() { - 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(); + set asrEnabledOnFlow(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("enableFlowSpeechRec", "asrEnabledOnFlow"), e3), this.logNote("setting flow speech rec enabled to '" + e3 + "'"), this._getCoreViewModel().disableAsr.setAsLiteral((!e3).toString()); } - _createItemViewModel(e3) { - return new u.ConversationCustomAttributeSchemaViewModel(e3); + get asrCompanyDir() { + const e3 = this._getCoreViewModel().asrCompanyDir; + return e3 || this._logErrorInternalAndThrow("unknown company directory speech rec configuration"), e3; } - get _networkModel() { - return l.ConversationCustomAttributeSchema; + set asrCompanyDir(e3) { + this._checkItemIsValidLiteralStringEnum(this._infoPropSet("newCompanyDirectoryAsrValue", "asrCompanyDir"), e3, o.default.SPEECH_REC_COMPANY_MODES_ALL), this.logNote("setting company directory speech rec support to '" + e3 + "'."); + const t3 = this._getCoreViewModel(); + switch (e3) { + case o.default.SPEECH_REC_COMPANY_MODES.entireFlow: + t3.speechRecCompanyDirectory.setAsLiteral(a.default.true), t3.disableAsrCompanyDirectory.setAsLiteral(a.default.false); + break; + case o.default.SPEECH_REC_COMPANY_MODES.none: + t3.speechRecCompanyDirectory.setAsLiteral(a.default.false), t3.disableAsrCompanyDirectory.setAsLiteral(a.default.true); + break; + case o.default.SPEECH_REC_COMPANY_MODES.startUpObject: + t3.speechRecCompanyDirectory.setAsLiteral(a.default.false), t3.disableAsrCompanyDirectory.setAsLiteral(a.default.false); + } } - get isConversationCustomAttributeSchemaManager() { - return true; + get logStr() { + if (!this._coreSpeechRecSettingsViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); } - getOrFetchItem(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = this.getItem(e3); - return (null == t3 ? void 0 : t3.successSchema) ? Promise.resolve(t3) : this.fetchItem(e3); - }); + get isArchSettingsSpeechRecFlow() { + return true; } - addItemToFlowMetadata(e3, t3, i3) { - const n3 = e3.isFlowViewModel ? e3 : e3.parentFlow; - return n3.getUiMetadataInfoById(this.uiMetadataSectionName, i3) && n3.tryRemoveUiMetadataInfo(e3, this.uiMetadataSectionName, i3, this.actionsForUsageSearch, this.actionPropertyForUsageSearch, true), n3.setUiMetadataInfo(this.uiMetadataSectionName, { id: i3, name: t3 }), true; + get suppressRecording() { + return this._suppressRecording; } } - t2.ConversationCustomAttributeSchemaManager = g, t2.conversationCustomAttributeSchemaManager = new g(); - }, 85499: (e2, t2, i2) => { + t2.default = s; + }, 78322(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), 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); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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.__importDefault(i2(65449)), _ = n2.__importDefault(i2(6953)), h = i2(89599); + class m extends d.default { + constructor(e3) { + super(e3); } - static addCustomJsonTypeManager(e3) { - A.instances.set(e3.dataTypeId, e3); + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrLanguageTag(e3, this._getCoreViewModel().language); + const t3 = this._getCoreViewModel().textToSpeech; + return t3 && (this._appendLogStrTtsEngineSelectionType(e3, t3.engine.selection.toString()), t3.engine.selection !== l.engineSelectionTypes.engineSelectionNone && this._appendLogStrTtsEngineName(e3, t3.engine.name || ""), this._appendLogStrTtsEngineVoiceSelectionType(e3, t3.voice.selection.toString()), t3.voice.selection !== l.engineSelectionTypes.engineSelectionNone && this._appendLogStrTtsEngineVoiceName(e3, t3.voice.name || "")), this._createLogStrFromParts(e3); } - static removeAllCustomJsonTypeManagers() { - A.instances.clear(); + get defaultLanguageSkill() { + const e3 = this._getCoreViewModel().parent.parentFlow; + return e3 && e3.isFlowViewModel && e3.languagesSupportDefaultLanguageSkill ? this.coreFactory.createArchWrapper(this._getCoreViewModel().languageSkill) : null; } - constructor(e3) { - this._resources = { schemaNotUsable: y.customJson.schemaNotUsable, schemaChanged: y.customJson.schemaChanged, schemaChangeApplied: y.customJson.schemaChangeApplied, schemaChangeNotApplied: y.customJson.schemaChangeNotApplied, schemaChangeMoreRestrictive: y.customJson.schemaChangeMoreRestrictive, schemaGone: y.customJson.schemaGone }, this._flow = e3.flow, this._dataTypeId = e3.dataTypeId, this._parentExpressionTypeName = e3.parentExpressionTypeName, this._jsonSchemaIdBase = e3.jsonSchemaIdBase, this._jsonSchemaSource = e3.jsonSchemaSource, this._propName = e3.parentExpressionPropName, this._schemaName = e3.schemaName, this._updateCallback = e3.updateCallback, e3.resourcesOverride && (this._resources = e3.resourcesOverride), r2.info("Adding custom json type with config", e3), A.addCustomJsonTypeManager(this); + get displayTypeName() { + return "ArchSettingsSupportedLanguage"; } - get noLongerHasSchema() { - return this._noLongerHasSchema; + get isArchSettingsSupportedLanguage() { + return true; } - get schemaChangeMoreRestrictive() { - return this._schemaChangeMoreRestrictive; + get language() { + const e3 = this._getCoreViewModel().language; + if (o.default.isString(e3) && e3.length) return r.default.getByLanguageTag(e3); } - get schemaChangeNotUsable() { - return this._schemaChangeNotUsable; + setTtsEngine(e3) { + this.throwIfDoesNotSupportTts("setTtsEngine"); + const t3 = this._infoParm("archTtsEngine", "setTtsEngine"); + this._checkItem(t3, !e3 || !e3.isArchTtsEngine, "you must pass in a valid ArchTtsEngine instance."); + const i3 = e3._getCoreViewModel(), n3 = this._getCoreViewModel().language; + 0 === i3.getSelectableVoicesForLanguage(n3).length && this.logErrorAndThrow(`the text to speech engine '${e3.name}' does have any voices that support language '${n3}'.`), this._getCoreViewModel().textToSpeech.setEngine(i3, false); } - get schemaNotUsable() { - return this._schemaNotUsable; + setTtsEngineNone() { + this.throwIfDoesNotSupportTts("setTtsEngineNone"), this._getCoreViewModel().textToSpeech.setEngine(null, false); } - get updateSchemaProcessingResult() { - return this._updateSchemaProcessingResult; + setTtsEngineDefault() { + this.throwIfDoesNotSupportTts("setTtsEngineDefault"); + const e3 = this._getCoreViewModel().language, t3 = this._getCoreViewModel().parent.parentFlow, i3 = _.default.getDefaultEngineForLanguageAndFlowTypeOrTypes(e3, t3.type); + return i3 || this.logErrorAndThrow(`a default engine was not found for language '${e3}'.`), this._getCoreViewModel().textToSpeech.setEngine(i3, true), this.coreFactory.createArchWrapper(i3); } - get updateSchemaDiffResults() { - return this._updateSchemaDiffResults; + setTtsVoice(e3) { + this.throwIfDoesNotSupportTts("setTtsVoice"); + const t3 = this._getCoreViewModel().language; + e3._getCoreViewModel().getVoiceSupportsLanguage(t3) || this.logWarning(`voice '${e3.name}' does not support language '${t3}'.`); + const i3 = this.ttsEngine; + i3 && i3.id !== e3.parentEngine.id && this.setTtsEngine(e3.parentEngine), this._getCoreViewModel().textToSpeech.setVoice(e3._getCoreViewModel(), false); } - get _parentFlow() { - return this._flow.parentFlow; + setTtsVoiceNone() { + this.throwIfDoesNotSupportTts("setTtsVoiceNone"), this._getCoreViewModel().textToSpeech.setVoice(null, false); } - get customDataType() { - return f.default.getType(this._parentFlow, this._dataTypeId); + setTtsVoiceDefaultForCurrentEngine() { + this.throwIfDoesNotSupportTts("setTtsVoiceDefaultForCurrentEngine"); + const e3 = this._getCoreViewModel().language, t3 = this.ttsEngine; + t3 || this.logErrorAndThrow(`a text to speech engine was not set for language '${e3}' before setTtsVoiceDefaultForCurrentEngine was called.`); + const i3 = t3._getCoreViewModel(), n3 = i3.getDefaultVoiceForLanguage(e3); + return n3 || this.logErrorAndThrow(`a default voice was not found for engine '${i3.name}' and language '${e3}'.`), this._getCoreViewModel().textToSpeech.setVoice(n3, true), this.coreFactory.createArchWrapper(n3); } - get dataTypeId() { - return this._dataTypeId; + get speechToTextEngine() { + if (!this._getCoreViewModel().parent.parentFlow.definition.languagesSupportSttSetting) return null; + const e3 = this._getCoreViewModel().speechToTextEngine; + return e3 && e3.model.id ? this.coreFactory.createArchWrapper(e3) : void 0; } - set dataTypeId(e3) { - this._dataTypeId = e3, A.addCustomJsonTypeManager(this), this._updateCallback && this._updateCallback(this); + get ttsEngine() { + if (!this._getCoreViewModel().parent.parentFlow.definition.languagesSupportTtsAndAsrSettings) return null; + const e3 = this._getCoreViewModel().textToSpeech; + if (e3.engine && e3.engine.id) { + const t3 = _.default.getItemById(e3.engine.id); + if (t3) return this.coreFactory.createArchWrapper(t3); + this._logErrorInternalAndThrow(`text to speech engine not found for ID '${e3.engine.id}'.`); + } + return null; } - get hasSchema() { - return !!this.customDataType; + get ttsVoice() { + const e3 = this.ttsEngine; + if (e3) { + const t3 = this._getCoreViewModel().textToSpeech; + if (t3.voice && t3.voice.id) return e3.getVoiceById(t3.voice.id); + } + return null; } - _clearProcessingResults() { - this._updateSchemaDiffResults = void 0, this._updateSchemaProcessingResult = void 0, this._schemaNotUsable = void 0, this._schemaChangeNotUsable = void 0, this._schemaChangeMoreRestrictive = void 0; + setSpeechToTextEngineByNameAsync(e3, t3) { + return n2.__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 = p.default.getItemByName(e3); + if (i3) return (null == i3 ? void 0 : i3.grammarBased) && this.logErrorAndThrow("Unable to set a grammar-based speech to text engine in supported language settings."), (null == i3 ? void 0 : i3.isLanguageSupported(this._getCoreViewModel().language)) || this.logErrorAndThrow(`Unable to set ${i3.name} as speech to text engine in supported language settings for language ${this._getCoreViewModel().language}.`), this._getCoreViewModel().speechToTextEngine.setEngine(i3, false), this._getCoreViewModel().speechToTextEngineChoice = i3, a.default.executeCallback(this, "setSpeechToTextEngineByNameAsync", t3, this); + }); } - tryUpdateParentExpressionPropTypeFromSchema(e3, t3, i3, n3, r3) { - 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 === (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 === (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; - const h3 = Object.values(i4.schemaProcessingResult.customDataTypeDefs); - o.createCustomExpressionTypesFromDataTypeDefs(this._parentFlow, h3, true), r3 && h3.forEach((e4) => { - e4.addReader(r3); - }), t3 || a.emitter.emit(a.alert, { message: this.formatResources(this._resources.schemaChanged, this._resources.schemaChangeApplied), type: l.AlertTypeEnum.info }); - } catch (e4) { - return S.exception(e4, `Exception encountered during custom type creation for flow (ID: '${null === (h2 = this._parentFlow) || void 0 === h2 ? void 0 : h2.id}').`), m2 ? this._schemaChangeNotUsable = true : this._schemaNotUsable = true, a.emitter.emit(a.alert, { message: m2 ? this.formatResources(this._resources.schemaChanged, this._resources.schemaNotUsable, this._resources.schemaChangeNotApplied) : this.formatResources(this._resources.schemaNotUsable, this._resources.schemaChangeNotApplied), type: l.AlertTypeEnum.error }), false; - } - return true; + setSpeechToTextEngineByIdAsync(e3, t3) { + return n2.__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 = p.default.getItemById(e3); + if (i3) return (null == i3 ? void 0 : i3.grammarBased) && this.logErrorAndThrow("Unable to set a grammar-based speech to text engine in supported language settings."), (null == i3 ? void 0 : i3.isLanguageSupported(this._getCoreViewModel().language)) || this.logErrorAndThrow(`Unable to set ${i3.id} as speech to text engine in supported language settings for language ${this._getCoreViewModel().language}.`), this._getCoreViewModel().speechToTextEngine.setEngine(i3, false), this._getCoreViewModel().speechToTextEngineChoice = i3, a.default.executeCallback(this, "setSpeechToTextEngineByNameAsync", t3, this); + }); } - createDataTypeDefsAndCheckParentExpressionTypePropCompatibility(e3, t3) { - const i3 = new m.default(this._jsonSchemaIdBase, e3, this._jsonSchemaSource, null, this._schemaName).createDataTypeDefViewModelsForJsonSchema(this._flow, true), n3 = { canUse: !i3.failure, isLessRestrictive: false, schemaProcessingResult: i3 }; - if (!n3.canUse) return n3; - const r3 = this._flow.definitions.getCustomDataTypeDefinition(i3.rootDataTypeDefId); - if (!r3) return n3; - const o2 = i3.customDataTypeDefs[i3.rootDataTypeDefId]; - return n3.schemaDiffResult = r3.compareToAndGetDiffs(o2), n3.schemaDiffResult.isDiffResultMoreRestrictiveThan() ? (n3.canUse = !!t3, n3.isLessRestrictive = false) : n3.schemaDiffResult.isDiffResultLessRestrictiveThan() && (n3.isLessRestrictive = true), n3; + setSpeechToTextEngineFromDefaultAsync(e3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setSpeechToTextEngineFromDefaultAsync"), e3, 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 t3 = p.default.getDefaultEngineForLanguage(this._getCoreViewModel().language); + if (t3) return (null == t3 ? void 0 : t3.grammarBased) && this.logErrorAndThrow("Unable to set a grammar-based speech to text engine in supported language settings."), this._getCoreViewModel().speechToTextEngine.setEngine(t3, true), this._getCoreViewModel().speechToTextEngineChoice = this._getCoreViewModel().defaultSttEngineChoice, a.default.executeCallback(this, "setSpeechToTextEngineFromDefaultAsync", e3, this); + }); } - updateExpressionTypeAndVariable() { - var e3; - const t3 = f.default.getType(this._parentFlow, this._parentExpressionTypeName); - if (!t3) return; - let i3 = this.customDataType; - i3 || (i3 = f.default.getType(this._parentFlow, T.expressionTypeNames.emptyJson)), this._schemaName && (i3.schemaName = this._schemaName), this.updateJsonPropertyToJsonExpressionType(this._propName, t3, i3) && (null === (e3 = this._flow.variableGroup) || void 0 === e3 || e3.reexpandVariablesForType(t3)); + get knowledgeBaseName() { + var e3, t3; + const i3 = this._getCoreViewModel().parent.parentFlow; + if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeBaseName : null === (t3 = this._getCoreViewModel().knowledgeBase) || void 0 === t3 ? void 0 : t3.name; } - updateJsonPropertyToJsonExpressionType(e3, t3, i3) { - if (!e3) return r2.error("no property name passed in when attempting to update a property to a custom data type."), false; - if (!i3) return r2.error(`no custom data type passed in when attempting to update the property '${e3}' to a custom data type.`), false; - const n3 = t3.getPropertyDefinition(e3); - return n3 ? (n3.setJsonExpressionType(i3) ? r2.info(`successfully updated '${e3}' to '${i3.dataType}'`) : r2.error(`error! did not '${e3}' to '${i3.dataType}'`), n3.setJsonExpressionType(i3)) : (r2.error(`unable to find the property '${e3}' on the type '${t3.expressionType}' when attempting to set it to a custom type.`), false); + get knowledgeBaseId() { + var e3, t3; + const i3 = this._getCoreViewModel().parent.parentFlow; + if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeBaseId : null === (t3 = this._getCoreViewModel().knowledgeBase) || void 0 === t3 ? void 0 : t3.id; } - getErrors() { - var e3; - const t3 = []; - return this.noLongerHasSchema && t3.push(this.formatResources(this._resources.schemaGone)), (null === (e3 = this._updateSchemaProcessingResult) || void 0 === e3 ? void 0 : e3.failure) && t3.push(this._updateSchemaProcessingResult.failure.displayStr), t3; + get knowledgeSettingName() { + var e3, t3; + const i3 = this._getCoreViewModel().parent.parentFlow; + if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeSettingName : null === (t3 = this._getCoreViewModel().knowledgeSetting) || void 0 === t3 ? void 0 : t3.name; } - getWarnings() { - var e3; - const t3 = []; - return this.schemaNotUsable && t3.push(this.formatResources(this._resources.schemaNotUsable)), this.schemaChangeMoreRestrictive ? t3.push(this.formatResources(this._resources.schemaChanged, this._resources.schemaChangeMoreRestrictive)) : this._schemaChangeNotUsable && t3.push(this.formatResources(this._resources.schemaChanged, this._resources.schemaNotUsable)), (null === (e3 = this._updateSchemaProcessingResult) || void 0 === e3 ? void 0 : e3.warning) && t3.push(this._updateSchemaProcessingResult.warning.displayStr), t3; + get knowledgeSettingId() { + var e3, t3; + const i3 = this._getCoreViewModel().parent.parentFlow; + if (i3.supportsMultilingualKnowledge) return this._isDefaultLanguageForFlow ? null === (e3 = i3.knowledgeSettings) || void 0 === e3 ? void 0 : e3.knowledgeSettingId : null === (t3 = this._getCoreViewModel().knowledgeSetting) || void 0 === t3 ? void 0 : t3.id; } - processValidationSchema(e3, t3, i3 = false) { - this._noLongerHasSchema = void 0, this._schemaChangeMoreRestrictive = void 0, this._schemaChangeNotUsable = void 0, this._schemaNotUsable = void 0, this._deferredSchemaToUpdate = void 0, e3 ? t3 ? this.tryUpdateParentExpressionPropTypeFromSchema(e3, i3) && this.updateExpressionTypeAndVariable() : this._deferredSchemaToUpdate = e3 : this.hasSchema && (this._noLongerHasSchema = true); + _setKnowledgeBaseAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var n3, o2; + const r2 = this._getCoreViewModel().parent.parentFlow; + return r2.supportsMultilingualKnowledge || this.logErrorAndThrow(`cannot set a knowledge base on the language '${this._getCoreViewModel().language}' as the flow '${r2.displayName}' does not support knowledge bases for multiple languages.`), this._isDefaultLanguageForFlow ? (this.logNote(`The language '${this._getCoreViewModel().language}' is the default language for the flow. Forwarding to Knowledge Settings to set the default Knowledge Base.`), null === (n3 = r2.knowledgeSettings) || void 0 === n3 || n3.knowledge.setValue(t3)) : ((null === (o2 = r2.knowledgeSettings) || void 0 === o2 ? void 0 : o2.knowledgeBaseId) || this.logErrorAndThrow(`cannot set a knowledge base on the language '${this._getCoreViewModel().language}' as the default knowledge base has not been set.`), this._getCoreViewModel().languageSupportsKnowledge || this.logErrorAndThrow(`cannot set a knowledge base on the language '${this._getCoreViewModel().language}' as knowledge is unavailable for this language.`), this._getCoreViewModel().knowledgeBase = t3), yield a.default.executeCallback(this, e3, i3, this); + }); } - formatResources(...e3) { - const t3 = this._schemaName || this._propName, i3 = e3.map((e4) => (0, g.sprintf)(e4, t3)); - switch (i3.length) { - case 1: - return i3[0]; - case 2: - return (0, g.sprintf)(y.generic.joinTwoSentences, i3[0], i3[1]); - case 3: - return (0, g.sprintf)(y.generic.joinThreeSentences, i3[0], i3[1], i3[2]); - default: - return r2.warn(`No resources for joining ${i3.length} sentences. Just jamming them together.`), i3.join(" "); - } + _setKnowledgeSettingAsync(e3, t3, i3) { + return n2.__awaiter(this, void 0, void 0, function* () { + var n3, o2; + const r2 = this._getCoreViewModel().parent.parentFlow; + return r2.supportsMultilingualKnowledge || this.logErrorAndThrow(`cannot set a knowledge setting on the language '${this._getCoreViewModel().language}' as the flow '${r2.displayName}' does not support knowledge settings for multiple languages.`), this._isDefaultLanguageForFlow ? (this.logNote(`The language '${this._getCoreViewModel().language}' is the default language for the flow. Forwarding to Knowledge Settings to set the default Knowledge Setting.`), null === (n3 = r2.knowledgeSettings) || void 0 === n3 || n3.knowledge_v3.setValue(t3)) : ((null === (o2 = r2.knowledgeSettings) || void 0 === o2 ? void 0 : o2.knowledgeSettingId) || this.logErrorAndThrow(`cannot set a knowledge setting on the language '${this._getCoreViewModel().language}' as the default knowledge setting has not been set.`), this._getCoreViewModel().languageSupportsKnowledge || this.logErrorAndThrow(`cannot set a knowledge setting on the language '${this._getCoreViewModel().language}' as knowledge is unavailable for this language.`), this._getCoreViewModel().knowledgeSetting = t3), yield a.default.executeCallback(this, e3, i3, this); + }); } - processDeferredSchemaUpdate(e3) { - this._deferredSchemaToUpdate && this.tryUpdateParentExpressionPropTypeFromSchema(this._deferredSchemaToUpdate, e3), this.updateExpressionTypeAndVariable(); + setKnowledgeBaseByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseId", "setKnowledgeBaseByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeBaseByIdAsync"), t3, true); + const i3 = yield s.default.findItemByIdAsync(u.knowledgeBaseManager, e3, "knowledgeBaseId"); + return this.logNote(`found the knowledge base named '${i3.name}' for the knowledge base ID of '${e3}'`), yield this._setKnowledgeBaseAsync("setKnowledgeBaseByIdAsync", i3, t3); + }); } - static resolveTypeFromId(e3, t3) { + setKnowledgeBaseByNameAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { - var i3; - if (!(null == t3 ? void 0 : t3.length)) return; - const n3 = _.CustomJsonIdentifierInfo.create(t3); - switch (n3.namespace) { - case p.CustomJsonNamespace.conversationAttribute: { - const r3 = A.getCustomJsonTypeManagerByDataTypeId(t3); - if (null == r3 ? void 0 : r3.customDataType) return r3.customDataType; - const o2 = yield u.conversationCustomAttributeSchemaManager.getOrFetchItem(n3.conversationAttributeSchemaId), a2 = o2.id, s2 = A.getOrCreateConversationCustomAttributeSchemaCustomJsonManager(e3, o2.name, a2), l2 = null === (i3 = null == o2 ? void 0 : o2.model) || void 0 === i3 ? void 0 : i3.jsonSchema; - return s2.tryUpdateParentExpressionPropTypeFromSchema(l2, true, false, true), s2.customDataType; - } - case p.CustomJsonNamespace.decisionTable: { - const i4 = A.getCustomJsonTypeManagerByDataTypeId(t3); - if (i4 && i4.customDataType) return i4.customDataType; - const r3 = yield h.decisionTableManager.getOrFetchItem(n3.decisionTableId), o2 = r3.id, a2 = n3.isContextInput, s2 = A.getOrCreateDecisionTableCustomJsonManager(e3, r3.name, o2, a2, y.variable.input, y.variable.output), l2 = r3.model.publishedContract, u2 = a2 ? l2.executionInputSchema : l2.executionOutputSchema; - return s2.tryUpdateParentExpressionPropTypeFromSchema(u2, true, false, true), s2.customDataType; - } - } + this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseName", "setKnowledgeBaseByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setKnowledgeBaseByNameAsync"), t3, true); + const i3 = yield s.default.findItemByValueAsync(u.knowledgeBaseManager, e3, "knowledge base", "name", "name"); + return this.logNote(`found the knowledge base named '${i3.name}'`), yield this._setKnowledgeBaseAsync("setKnowledgeBaseByNameAsync", i3, t3); }); } - static getOrCreateDecisionTableCustomJsonManager(e3, t3, i3, n3, o2, a2) { - const s2 = `${t3} - ${n3 ? o2 : a2}`, l2 = `${i3}_${n3 ? A.CUSTOM_JSON_INPUT : A.CUSTOM_JSON_TABLE_OUTPUT}`, u2 = A.getCustomJsonTypeManagerByDataTypeId(l2); - 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 })); + 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(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); + }); } - static getOrCreateConversationCustomAttributeSchemaCustomJsonManager(e3, t3, i3) { - 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 })); + 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(c.knowledgeSettingManager, e3, "knowledge setting", "name", "name"); + return this.logNote(`found the knowledge setting named '${i3.name}'`), yield this._setKnowledgeSettingAsync("setKnowledgeSettingByNameAsync", i3, t3); + }); } - } - A.CUSTOM_JSON_INPUT = "input", A.CUSTOM_JSON_TABLE_OUTPUT = "output", A.instances = /* @__PURE__ */ new Map(), t2.default = A; - }, 85510: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreDataPair = e3; + get conversationSummarySettingName() { + var e3; + if (this._getCoreViewModel().parent.parentFlow.supportsConversationSummary) return null === (e3 = this._getCoreViewModel().conversationSummarySetting) || void 0 === e3 ? void 0 : e3.name; } - get displayTypeName() { - return "ArchNamedValue"; + get conversationSummarySettingId() { + var e3; + if (this._getCoreViewModel().parent.parentFlow.supportsConversationSummary) return null === (e3 = this._getCoreViewModel().conversationSummarySetting) || void 0 === e3 ? void 0 : e3.id; } - get name() { - return this._coreDataPair.name; + setConversationSummaryByIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryId", "setConversationSummaryByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByIdAsync"), t3, true); + const i3 = this._getCoreViewModel(), n3 = i3.parent.parentFlow; + n3.supportsConversationSummary || this.logErrorAndThrow(`cannot set a conversation summary setting on the language '${i3.language}' as the flow '${n3.displayName}' does not support conversation summary.`); + const o2 = yield s.default.findItemByIdAsync(h.conversationSummarySettingManager, e3, "conversationSummaryId"); + return this.logNote(`found the summarization setting named '${o2.name}' for the summarization setting ID of '${e3}'`), i3.conversationSummarySetting = o2, a.default.executeCallback(this, "setConversationSummaryByIdAsync", t3, this); + }); } - get value() { - return this.coreFactory.createArchValueFromExpression(this._coreDataPair.value); + setConversationSummaryByNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("conversationSummaryName", "setConversationSummaryByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setConversationSummaryByNameAsync"), t3, true); + const i3 = this._getCoreViewModel().parent.parentFlow; + i3.supportsConversationSummary || this.logErrorAndThrow(`cannot set a conversation summary setting on the language '${this._getCoreViewModel().language}' as the flow '${i3.displayName}' does not support conversation summary.`); + const n3 = yield s.default.findItemByValueAsync(h.conversationSummarySettingManager, e3, "summarization setting", "name", "name"); + return this.logNote(`Found partial info for the summarization setting named '${n3.name}' for the passed summarization setting name of '${e3}'. Getting full summarization setting details.`), this.setConversationSummaryByIdAsync(n3.id, t3); + }); } - get isArchNamedValue() { - return true; + get _isDefaultLanguageForFlow() { + return this._getCoreViewModel().parent.parentFlow.defaultLanguage === this._getCoreViewModel().language; + } + throwIfDoesNotSupportTts(e3) { + const t3 = this._infoMethod(e3); + this._ensureTtsInfoAvailable(t3, a.default); + const i3 = this._getCoreViewModel().parent.parentFlow; + i3.definition.supportsAudio || i3.definition.languagesSupportTtsAndAsrSettings || this.logErrorAndThrow("the flow type '" + i3.type + "' does not support text to speech. You can see if a flow type supports text to speech by accessing the supportsAudio property on it."); } } - 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) => { + t2.default = m; + }, 53761(e2, t2, i2) { "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isPromptContainerViewModel = function(e3) { - 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), 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 = 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(e3) { - return false; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importStar(i2(98442)), a = n2.__importDefault(i2(37873)); + class s extends a.default { + constructor(e3) { + super(e3); } - get canEdit() { - return this.isSystem ? _.permissionServiceHelper.canEditSystemPrompts() : _.permissionServiceHelper.canEditUserPrompts(); + _checkSupportsLanguages(e3) { + const t3 = this.parentFlow; + return t3.supportsLanguages || this.logItemErrorAndThrow(e3, `the flow type '${t3.flowType}' does not support languages.`), t3; } - get canView() { - return this.isSystem ? _.permissionServiceHelper.canViewSystemPrompts() : _.permissionServiceHelper.canViewUserPrompts(); + canAddSupportedLanguage() { + return this._getCoreViewModel().canAddLanguage(); } - checkVersion(e3) { - e3.checkVersion(this.type.version); + addSupportedLanguage(e3, t3) { + this._checkSupportsLanguages(this._infoMethod("addSupportedLanguage")); + const i3 = this._infoParm("archLanguage", "addSupportedLanguage"); + this._checkItem(i3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when adding a supported language."), this._checkItem(i3, r.langCodeIsGeneric(e3.tag), "the language " + e3.logStr + " cannot be used as a flow supported language because it does not have a region sub-tag."), this._checkItem(i3, this._getCoreViewModel().isFlowSupportedLanguage(e3.tag), "the language '" + e3.logStr + "' is already a supported language on the flow."), this._checkItem(i3, !this.canAddSupportedLanguage(), "flow does not support adding an additional language"), this._checkItemIsValidLiteralBool(this._infoParm("setAsDefaultLanguage", "addSupportedLanguage"), t3, true); + const n3 = this._getCoreViewModel().addLanguage(e3.tag); + t3 && (this._getCoreViewModel().defaultLanguage = e3.tag); + const o2 = this.coreFactory.createArchWrapper(n3); + return o2.logNoteVerbose("supported language added to flow."), o2; } - get id() { - return this._model.id; + addSupportedLanguageAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkSupportsLanguages(this._infoMethod("addSupportedLanguageAsync")); + const i3 = this._infoParm("archLanguage", "addSupportedLanguageAsync"); + this._checkItem(i3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when adding a supported language."), this._checkItem(i3, r.langCodeIsGeneric(e3.tag), "the language " + e3.logStr + " cannot be used as a flow supported language because it does not have a region sub-tag."), this._checkItem(i3, this._getCoreViewModel().isFlowSupportedLanguage(e3.tag), "the language '" + e3.logStr + "' is already a supported language on the flow."), this._checkItem(i3, !this.canAddSupportedLanguage(), "flow does not support adding an additional language"), this._checkItemIsValidLiteralBool(this._infoParm("setAsDefaultLanguage", "addSupportedLanguageAsync"), t3, true), t3 && (this._getCoreViewModel().defaultLanguage = e3.tag); + const n3 = yield this._getCoreViewModel().addLanguage(e3.tag), o2 = this.coreFactory.createArchWrapper(n3); + return o2.logNoteVerbose("supported language added to flow."), yield this.parentFlow.validateAsync(), o2; + }); } - get isPromptContainer() { - return true; + getDefaultSupportedLanguageSettings() { + this._checkSupportsLanguages(this._infoMethod("getDefaultSupportedLanguageSettings")); + const e3 = this._getCoreViewModel(); + if (!e3) return; + let t3 = e3.defaultLanguage; + if (!o.default.isString(t3) || !t3.length) return; + t3 = t3.toLowerCase(); + const i3 = o.default.find(e3.supportedLanguageOptions, (e4) => o.default.isString(e4.language) && e4.language.toLowerCase() === t3); + return i3 ? this.coreFactory.createArchWrapper(i3) : void 0; } - get expressionName() { - return this._promptPrefix + this.displayName; + get displayTypeName() { + return "ArchSettingsSupportedLanguagesFlow"; } - getResource(e3) { - return this._promptResources.get(e3.toLowerCase()); + findLanguageSettings(e3) { + this._checkSupportsLanguages(this._infoMethod("findLanguageSettings")), this._checkItem(this._infoParm("archLanguage", "findLanguageSettings"), !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance when finding a language setting."); + const t3 = this.parentFlow; + t3.supportsLanguages || this.logErrorAndThrow("the flow type '" + t3.flowType + "' does not support languages so finding language settings for a language is not supported. You can see if a flow supports languages by accessing the supportsLanguages property on it."); + const i3 = this._getCoreViewModel(), n3 = e3.tag.toLowerCase(); + this.logNoteVerbose(`findLanguageSettings looking for language tag '${n3}' case insensitively.`); + const r2 = o.default.find(i3.supportedLanguageOptions, (e4) => o.default.isString(e4.language) && e4.language.toLowerCase() === n3); + if (r2) return this.logNoteVerbose(`findLanguageSettings found language tag '${n3}' case insensitively.`), this.coreFactory.createArchWrapper(r2); + this.logNoteVerbose(`findLanguageSettings did not find a supported language with the tag '${n3}' case insensitively.`); } - getResourceOrLang(e3) { - return this.getResource(e3) || { language: e3 }; + get isArchSettingsSupportedLanguagesFlow() { + return true; } - get description() { - return this._model.description; + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + this._appendLogStrType(e3, this.displayTypeName); + const t3 = this.parentFlow; + return t3 && (this._appendLogStrFlowName(e3, t3.name), this._appendLogStrFlowId(e3, t3.id)), this._createLogStrFromParts(e3); } - set description(e3) { - this._model.description = e3; + get parentFlow() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().parentFlow); } - get displayName() { - return this._model.displayName; + get languagesSettings() { + this._checkSupportsLanguages(this._infoPropGet("languagesSettings")); + const e3 = [], t3 = this._getCoreViewModel(); + return o.default.each(t3.supportedLanguageOptions, (t4) => { + e3.push(this.coreFactory.createArchWrapper(t4)); + }), this.logItemVerboseNote(this._infoPropGet("languageSettings"), `Returning language settings array with ${e3.length} language setting item(s) in it.`), e3; } - set displayName(e3) { - this._model.displayName = e3, r2.__classPrivateFieldSet(this, n2, void 0, "f"); + } + t2.default = s; + }, 79771(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(78432)), r = 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._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 label() { - return this.displayName || ""; + get displayTypeName() { + return "ArchSettingsUserInput"; } - get lowerDisplayName() { - return r2.__classPrivateFieldGet(this, n2, "f") || r2.__classPrivateFieldSet(this, n2, this.displayName.toLowerCase(), "f"), r2.__classPrivateFieldGet(this, n2, "f"); + get isArchSettingsUserInput() { + return true; } - get name() { - return this.displayName; + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - get text() { - return this.displayName; + get collectionHighConfidenceThreshold() { + return this._collectionHighConfidenceThreshold; } - languageUsagesForFlow(e3) { - let t3 = []; - return s.default.each(this.getUsagesForFlow(e3), (e4) => { - e4.referenceElement.languages && (t3 = s.default.union(t3, e4.referenceElement.languages)); - }), t3; + get collectionLowConfidenceThreshold() { + return this._collectionLowConfidenceThreshold; } - 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) => 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) => O.requestError(t3, `Failed to clear\revert prompt resource for ${e3.language}, ${this.id}`)); + get confirmationLowConfidenceThreshold() { + return this._confirmationLowConfidenceThreshold; } - getTtsExceedsMaxLengthError(e3) { - if (!e3 || !e3.languages || !e3.parentFlow.definition.supportsAudio) return null; - for (let t3 = 0; t3 < e3.languages.length; t3++) { - const i3 = e3.languages[t3], n3 = this.getResource(i3.idExpressionText); - if (n3 && n3.isPromptResourceViewModel && !n3.getAudioLength() && s.default.isString(n3.ttsString)) { - const t4 = i3.getStringExceedsMaxRequestLengthError(e3.parentFlow, n3.ttsString, this.name); - if (t4) return t4; - } - } - return null; + get confirmationNoInputApology() { + return this._confirmationNoInputApology; } - get allResources() { - return Array.from(this._promptResources.values()); + get confirmationNoMatchApology() { + return this._confirmationNoMatchApology; } - savePromptContainer(e3, t3) { - return h.updatePromptContainer(this.id, this.displayName, this.description).then(() => { - 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()); - }), Promise.all(e4); - } - }).then(() => { - this.promptContainerSaved$.next(); - }).catch((e4) => { - O.requestError(e4, "Failed to update the prompt container: " + this.id); - }); + get confirmationRejectionsMax() { + return this._confirmationRejectionsMax; } - createPromptResource(e3, t3, i3) { - const n3 = new T.PromiseDefer(); - return h.createPromptResource(this.id, e3, t3, i3, this.isSystem).then((e4) => { - const t4 = e4.language.toLowerCase(), i4 = new N.default(this, e4); - this.setPromptResource(i4, t4), n3.resolve(i4); - }, (t4) => { - O.errorPromise(t4, "Failed to create a {} prompt resource for {}:", e3, this.id), n3.reject(t4); - }), n3.promise; + get enableBargeIn() { + return this._enableBargeIn; } - setPromptResource(e3, t3) { - this._promptResources.set(t3.toLowerCase(), e3); + get enableAutomaticQuickReplies() { + return this._enableAutomaticQuickReplies; } - deletePromptResourceForKey(e3) { - this._promptResources.delete(e3); + get noInputApology() { + return this._noInputApology; } - deletePromptResource(e3) { - return r2.__awaiter(this, void 0, void 0, function* () { - const t3 = new T.PromiseDefer(); - 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); - d.emitter.emit(d.promptResourceDeleted, this), t3.resolve(this); - }, (i3) => { - O.requestError(i3, `Failed to delete prompt resource '${e3.language}' from prompt '${this.id}'`), t3.reject(i3); - }), t3.promise; - }); + get endOfSessionMessage() { + return this._endOfSessionMessage; } - get type() { - return u.globalTypes.prompt; + get noInputsMax() { + return this._noInputsMax; } - get dependencyType() { - return this.isSystem ? v.SystemPrompt : v.UserPrompt; + get noInputsMaxExceededHandling() { + return r.archHandlingTypeConversion.getArchEnumHandlingForCoreHandling(this._coreUserInputSettingsViewModel.noInputsMaxExceededHandling.handlingType); } - get nodeGuxIcon() { - return "roster-chat"; + set noInputsMaxExceededHandling(e3) { + const t3 = this._infoPropSet("newHandlingTypeValue", "noInputsMaxExceededHandling"); + this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL); + const i3 = r.archHandlingTypeConversion.getCoreHandlingTypeForEnum(e3); + this._coreUserInputSettingsViewModel.noInputsMaxExceededHandling.handlingTypes.find((e4) => e4 === i3) || this.logItemErrorAndThrow(t3, `the handling type of '${e3}' is not available to be configured when no inputs max is exceeded.`), this.logNote(`setting the no inputs max exceeded handling type to '${e3}'.`), this._coreUserInputSettingsViewModel.noInputsMaxExceededHandling.handlingType = i3; } - getDisplayName() { - return this.expressionName; + get noInputsMaxExceededTargetTask() { + const e3 = this._coreUserInputSettingsViewModel.parentFlow; + if (e3 && e3.hasTasks) { + const t3 = e3.tasks.find((e4) => e4.id === this._coreUserInputSettingsViewModel.noInputsMaxExceededTaskId); + if (t3) return this.coreFactory.createArchWrapper(t3); + } } - isMissingAudioOrTtsForLanguages(e3, t3, i3) { - return !!(i3 && i3.mode === l.builder && i3.options && i3.options.suppressBuilderModePromptResourceChecks) || !t3 || t3.length < 1 || m.promptHasRequiredMedia(e3, this, t3); + set noInputsMaxExceededTargetTask(e3) { + const t3 = this._infoPropSet("archTaskTarget", "noInputsMaxExceededTargetTask"); + if (this.logNote(`noInputsMaxExceededHandling: ${this.noInputsMaxExceededHandling}`), this._checkItem(t3, "task" !== this.noInputsMaxExceededHandling, 'the noInputMaxExceeded handling type must be set to "Jump to Reusable Task" to set the noInputMaxExceeded task path.'), !e3) return void this._coreUserInputSettingsViewModel.noInputsMaxExceededTask.setReference(null); + this._checkItem(t3, !e3 || !e3.isArchTask, "the noInputMaxExceeded task path must be an ArchTask."); + const i3 = this._coreUserInputSettingsViewModel.noInputsMaxExceededTask.getInvalidReferenceReason(e3._getCoreViewModel()); + this._checkItem(this._infoPropSet("archTaskTarget", "targetTask"), !(0, s.isNullOrUndefined)(i3), `targetTask is not valid as the noInputsMaxExceeded task path: ${i3}`), this.logNote("setting the noInputsMaxExceeded task path to " + e3.logStr), this._coreUserInputSettingsViewModel.noInputsMaxExceededTask.setReference(e3._getCoreViewModel()); } - get _promptPrefix() { - return this.isSystem ? g.prefixes.system : g.prefixes.user; + isNoInputsMaxExceededTypeAvailable(e3) { + return this._checkItemIsValidLiteralStringEnum(this._infoParm("errorHandlingEnumValue", "isNoInputsMaxExceededTypeAvailable"), e3, o.default.EVENTS_FLOW_ERROR_HANDLING_ALL), r.archHandlingTypeConversion.findHandlingTypeForValue(this._coreUserInputSettingsViewModel.noInputsMaxExceededHandlingTypes, e3); } - copyModel(e3) { - this.loadModel(e3._model); + get noInputsTimeout() { + return this._noInputsTimeout; } - loadModel(e3) { - if (!e3) return; - this._model = e3, s.default.each(e3.resources, (e4) => { - if (!e4.result || "does.not.exist" !== e4.result) { - const t4 = new N.default(this, e4), i3 = this.getResource(t4.language.toLowerCase()); - !t4.language || i3 && i3 === t4 || this.setPromptResource(t4, t4.language.toLowerCase()); - } - }); - const t3 = s.default.difference(this.allResources.map((e4) => e4._model), e3._resources); - t3.length && t3.forEach((e4) => this.deletePromptResourceForKey(e4.language)); + get speechToTextSpeechDetectionSensitivity() { + return this._speechToTextSpeechDetectionSensitivity; } - toString() { - return `Prompt: id: ${this.id}`; + get speechToTextMaxSpeechTimeout() { + return this._speechToTextMaxSpeechTimeout; } - static get nameMaxLength() { - return f.promptLimits.name.maxLength; + get speechToTextAdvancedConfiguration() { + return this._speechToTextAdvancedConfiguration; } - getResourceForLanguageTag(e3) { - const t3 = this.allResources.find((t4) => t4.language === e3.criteria.languageTag); - switch (e3.criteria.outputMode) { - case p.outputModeText.id: - if (null == t3 ? void 0 : t3.textAvailable) return t3.text; - break; - case p.outputModeVoice.id: - if (null == t3 ? void 0 : t3.ttsAvailable) return t3.ttsString; - } + get enableIntentClassificationHinting() { + return this._enableIntentClassificationHinting; } - } - 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; - e2.exports = function(e3) { - for (var t3, i3 = 0, a = ""; !t3; ) a += o(n2.get(), 1, r2)(), t3 = e3 < Math.pow(16, i3 + 1), i3++; - return a; - }; - }, 85705: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.countryCodes = t2.dialingCodes = t2.countryMap = void 0, t2.getCountryCodeAllowableValues = function() { - return void 0 === r2 && (r2 = [], Object.entries(t2.countryMap).forEach(([e3, t3]) => { - r2.push({ id: e3, displayString: t3.name }); - })), r2; - }; - const n2 = i2(95142); - let r2; - t2.countryMap = { AF: { dialingCode: "93", name: n2.AF }, AX: { dialingCode: "358", name: n2.AX }, AL: { dialingCode: "355", name: n2.AL }, DZ: { dialingCode: "213", name: n2.DZ }, AS: { dialingCode: "1", name: n2.AS }, AD: { dialingCode: "376", name: n2.AD }, AO: { dialingCode: "244", name: n2.AO }, AI: { dialingCode: "1", name: n2.AI }, AQ: { dialingCode: "672", name: n2.AQ }, AG: { dialingCode: "1", name: n2.AG }, AR: { dialingCode: "54", name: n2.AR }, AM: { dialingCode: "374", name: n2.AM }, AW: { dialingCode: "297", name: n2.AW }, AU: { dialingCode: "61", name: n2.AU }, AT: { dialingCode: "43", name: n2.AT }, AZ: { dialingCode: "994", name: n2.AZ }, BS: { dialingCode: "1", name: n2.BS }, BH: { dialingCode: "973", name: n2.BH }, BD: { dialingCode: "880", name: n2.BD }, BB: { dialingCode: "1", name: n2.BB }, BY: { dialingCode: "375", name: n2.BY }, BE: { dialingCode: "32", name: n2.BE }, BZ: { dialingCode: "501", name: n2.BZ }, BQ: { dialingCode: "599", name: n2.BQ }, BJ: { dialingCode: "229", name: n2.BJ }, BM: { dialingCode: "1", name: n2.BM }, BT: { dialingCode: "975", name: n2.BT }, BO: { dialingCode: "591", name: n2.BO }, BA: { dialingCode: "387", name: n2.BA }, BW: { dialingCode: "267", name: n2.BW }, BR: { dialingCode: "55", name: n2.BR }, BV: { dialingCode: "47", name: n2.BV }, IO: { dialingCode: "246", name: n2.IO }, BN: { dialingCode: "673", name: n2.BN }, BG: { dialingCode: "359", name: n2.BG }, BF: { dialingCode: "226", name: n2.BF }, BI: { dialingCode: "257", name: n2.BI }, KH: { dialingCode: "855", name: n2.KH }, CM: { dialingCode: "237", name: n2.CM }, CA: { dialingCode: "1", name: n2.CA }, CV: { dialingCode: "238", name: n2.CV }, CW: { dialingCode: "599", name: n2.CW }, KY: { dialingCode: "1", name: n2.KY }, CF: { dialingCode: "236", name: n2.CF }, TD: { dialingCode: "235", name: n2.TD }, TF: { dialingCode: "262", name: n2.TF }, CL: { dialingCode: "56", name: n2.CL }, CN: { dialingCode: "86", name: n2.CN }, CX: { dialingCode: "61", name: n2.CX }, CC: { dialingCode: "61", name: n2.CC }, CO: { dialingCode: "57", name: n2.CO }, KM: { dialingCode: "269", name: n2.KM }, CG: { dialingCode: "242", name: n2.CG }, CD: { dialingCode: "243", name: n2.CD }, CK: { dialingCode: "682", name: n2.CK }, CR: { dialingCode: "506", name: n2.CR }, CI: { dialingCode: "225", name: n2.CI }, HR: { dialingCode: "385", name: n2.HR }, CU: { dialingCode: "53", name: n2.CU }, CY: { dialingCode: "357", name: n2.CY }, CZ: { dialingCode: "420", name: n2.CZ }, DK: { dialingCode: "45", name: n2.DK }, DJ: { dialingCode: "253", name: n2.DJ }, DM: { dialingCode: "1", name: n2.DM }, DO: { dialingCode: "1", name: n2.DO }, EC: { dialingCode: "593", name: n2.EC }, EG: { dialingCode: "20", name: n2.EG }, SV: { dialingCode: "503", name: n2.SV }, SX: { dialingCode: "1", name: n2.SX }, GQ: { dialingCode: "240", name: n2.GQ }, ER: { dialingCode: "291", name: n2.ER }, EE: { dialingCode: "372", name: n2.EE }, ET: { dialingCode: "251", name: n2.ET }, EH: { dialingCode: "212", name: n2.EH }, FK: { dialingCode: "500", name: n2.FK }, FO: { dialingCode: "298", name: n2.FO }, FJ: { dialingCode: "679", name: n2.FJ }, FI: { dialingCode: "358", name: n2.FI }, FR: { dialingCode: "33", name: n2.FR }, GF: { dialingCode: "594", name: n2.GF }, PF: { dialingCode: "689", name: n2.PF }, GA: { dialingCode: "241", name: n2.GA }, GM: { dialingCode: "220", name: n2.GM }, GE: { dialingCode: "995", name: n2.GE }, DE: { dialingCode: "49", name: n2.DE }, GH: { dialingCode: "233", name: n2.GH }, GI: { dialingCode: "350", name: n2.GI }, GR: { dialingCode: "30", name: n2.GR }, GL: { dialingCode: "299", name: n2.GL }, GD: { dialingCode: "1", name: n2.GD }, GP: { dialingCode: "590", name: n2.GP }, GU: { dialingCode: "1", name: n2.GU }, GT: { dialingCode: "502", name: n2.GT }, GG: { dialingCode: "44", name: n2.GG }, GN: { dialingCode: "224", name: n2.GN }, GW: { dialingCode: "245", name: n2.GW }, GY: { dialingCode: "595", name: n2.GY }, HT: { dialingCode: "509", name: n2.HT }, VA: { dialingCode: "379", name: n2.VA }, HN: { dialingCode: "504", name: n2.HN }, HK: { dialingCode: "852", name: n2.HK }, HM: { dialingCode: "672", name: n2.HM }, HU: { dialingCode: "36", name: n2.HU }, IS: { dialingCode: "354", name: n2.IS }, IN: { dialingCode: "91", name: n2.IN }, ID: { dialingCode: "62", name: n2.ID }, IR: { dialingCode: "98", name: n2.IR }, IQ: { dialingCode: "964", name: n2.IQ }, IE: { dialingCode: "353", name: n2.IE }, IM: { dialingCode: "44", name: n2.IM }, IL: { dialingCode: "972", name: n2.IL }, IT: { dialingCode: "39", name: n2.IT }, JM: { dialingCode: "1", name: n2.JM }, JP: { dialingCode: "81", name: n2.JP }, JE: { dialingCode: "44", name: n2.JE }, JO: { dialingCode: "962", name: n2.JO }, KZ: { dialingCode: "7", name: n2.KZ }, KE: { dialingCode: "254", name: n2.KE }, KI: { dialingCode: "686", name: n2.KI }, KP: { dialingCode: "850", name: n2.KP }, KR: { dialingCode: "82", name: n2.KR }, XK: { dialingCode: "383", name: n2.XK }, KW: { dialingCode: "965", name: n2.KW }, KG: { dialingCode: "996", name: n2.KG }, LA: { dialingCode: "856", name: n2.LA }, LV: { dialingCode: "371", name: n2.LV }, LB: { dialingCode: "961", name: n2.LB }, LS: { dialingCode: "266", name: n2.LS }, LR: { dialingCode: "231", name: n2.LR }, LY: { dialingCode: "218", name: n2.LY }, LI: { dialingCode: "423", name: n2.LI }, LT: { dialingCode: "370", name: n2.LT }, LU: { dialingCode: "352", name: n2.LU }, MO: { dialingCode: "853", name: n2.MO }, MK: { dialingCode: "389", name: n2.MK }, MG: { dialingCode: "261", name: n2.MG }, MW: { dialingCode: "265", name: n2.MW }, MY: { dialingCode: "60", name: n2.MY }, MV: { dialingCode: "960", name: n2.MV }, ML: { dialingCode: "223", name: n2.ML }, MT: { dialingCode: "356", name: n2.MT }, MH: { dialingCode: "692", name: n2.MH }, MQ: { dialingCode: "596", name: n2.MQ }, MR: { dialingCode: "222", name: n2.MR }, MU: { dialingCode: "230", name: n2.MU }, YT: { dialingCode: "262", name: n2.YT }, MX: { dialingCode: "52", name: n2.MX }, FM: { dialingCode: "691", name: n2.FM }, MD: { dialingCode: "373", name: n2.MD }, MC: { dialingCode: "377", name: n2.MC }, MN: { dialingCode: "976", name: n2.MN }, ME: { dialingCode: "382", name: n2.ME }, MS: { dialingCode: "1", name: n2.MS }, MA: { dialingCode: "212", name: n2.MA }, MZ: { dialingCode: "258", name: n2.MZ }, MM: { dialingCode: "95", name: n2.MM }, NA: { dialingCode: "264", name: n2.NA }, NR: { dialingCode: "674", name: n2.NR }, NP: { dialingCode: "977", name: n2.NP }, NL: { dialingCode: "31", name: n2.NL }, AN: { dialingCode: "599", name: n2.AN }, NC: { dialingCode: "687", name: n2.NC }, NZ: { dialingCode: "64", name: n2.NZ }, NI: { dialingCode: "505", name: n2.NI }, NE: { dialingCode: "227", name: n2.NE }, NG: { dialingCode: "234", name: n2.NG }, NU: { dialingCode: "683", name: n2.NU }, NF: { dialingCode: "672", name: n2.NF }, MP: { dialingCode: "1", name: n2.MP }, NO: { dialingCode: "47", name: n2.NO }, OM: { dialingCode: "968", name: n2.OM }, PK: { dialingCode: "92", name: n2.PK }, PW: { dialingCode: "680", name: n2.PW }, PS: { dialingCode: "970", name: n2.PS }, PA: { dialingCode: "507", name: n2.PA }, PG: { dialingCode: "675", name: n2.PG }, PY: { dialingCode: "595", name: n2.PY }, PE: { dialingCode: "51", name: n2.PE }, PH: { dialingCode: "63", name: n2.PH }, PN: { dialingCode: "872", name: n2.PN }, PL: { dialingCode: "48", name: n2.PL }, PT: { dialingCode: "351", name: n2.PT }, PR: { dialingCode: "1", name: n2.PR }, QA: { dialingCode: "974", name: n2.QA }, RO: { dialingCode: "40", name: n2.RO }, RU: { dialingCode: "7", name: n2.RU }, RW: { dialingCode: "250", name: n2.RW }, RE: { dialingCode: "262", name: n2.RE }, BL: { dialingCode: "590", name: n2.BL }, SH: { dialingCode: "290", name: n2.SH }, KN: { dialingCode: "1", name: n2.KN }, LC: { dialingCode: "1", name: n2.LC }, MF: { dialingCode: "590", name: n2.MF }, PM: { dialingCode: "508", name: n2.PM }, VC: { dialingCode: "1", name: n2.VC }, WS: { dialingCode: "685", name: n2.WS }, SM: { dialingCode: "378", name: n2.SM }, ST: { dialingCode: "239", name: n2.ST }, SA: { dialingCode: "966", name: n2.SA }, SN: { dialingCode: "221", name: n2.SN }, RS: { dialingCode: "381", name: n2.RS }, SC: { dialingCode: "248", name: n2.SC }, SL: { dialingCode: "232", name: n2.SL }, SG: { dialingCode: "65", name: n2.SG }, SK: { dialingCode: "421", name: n2.SK }, SI: { dialingCode: "386", name: n2.SI }, SB: { dialingCode: "677", name: n2.SB }, SO: { dialingCode: "252", name: n2.SO }, ZA: { dialingCode: "27", name: n2.ZA }, GS: { dialingCode: "500", name: n2.GS }, ES: { dialingCode: "34", name: n2.ES }, LK: { dialingCode: "94", name: n2.LK }, SD: { dialingCode: "249", name: n2.SD }, SR: { dialingCode: "597", name: n2.SR }, SS: { dialingCode: "211", name: n2.SS }, SJ: { dialingCode: "47", name: n2.SJ }, SZ: { dialingCode: "268", name: n2.SZ }, SE: { dialingCode: "46", name: n2.SE }, CH: { dialingCode: "41", name: n2.CH }, SY: { dialingCode: "963", name: n2.SY }, TW: { dialingCode: "886", name: n2.TW }, TJ: { dialingCode: "992", name: n2.TJ }, TZ: { dialingCode: "255", name: n2.TZ }, TH: { dialingCode: "66", name: n2.TH }, TL: { dialingCode: "670", name: n2.TL }, TG: { dialingCode: "228", name: n2.TG }, TK: { dialingCode: "690", name: n2.TK }, TO: { dialingCode: "676", name: n2.TO }, TT: { dialingCode: "1", name: n2.TT }, TN: { dialingCode: "216", name: n2.TN }, TR: { dialingCode: "90", name: n2.TR }, TM: { dialingCode: "993", name: n2.TM }, TC: { dialingCode: "1", name: n2.TC }, TV: { dialingCode: "688", name: n2.TV }, UG: { dialingCode: "256", name: n2.UG }, UM: { dialingCode: "1", name: n2.UM }, UA: { dialingCode: "380", name: n2.UA }, AE: { dialingCode: "971", name: n2.AE }, GB: { dialingCode: "44", name: n2.GB }, US: { dialingCode: "1", name: n2.US }, UY: { dialingCode: "598", name: n2.UY }, UZ: { dialingCode: "998", name: n2.UZ }, VU: { dialingCode: "678", name: n2.VU }, VE: { dialingCode: "58", name: n2.VE }, VN: { dialingCode: "84", name: n2.VN }, VG: { dialingCode: "1", name: n2.VG }, VI: { dialingCode: "1", name: n2.VI }, WF: { dialingCode: "681", name: n2.WF }, YE: { dialingCode: "967", name: n2.YE }, ZM: { dialingCode: "260", name: n2.ZM }, ZW: { dialingCode: "263", name: n2.ZW } }, t2.dialingCodes = {}, Object.values(t2.countryMap).forEach((e3) => { - t2.dialingCodes[e3.dialingCode] = e3.dialingCode; - }), t2.countryCodes = {}, Object.keys(t2.countryMap).forEach((e3) => { - t2.countryCodes[e3] = e3; - }); - }, 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), 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); + get interDigitTimeout() { + return this._interDigitTimeout; } - static get branchInfo() { - return o.default.validInvalidFailure; + get dtmfTerminatingCharacter() { + return this._dtmfTerminatingCharacter; } - static get managedProperties() { - 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)) }]; + get noMatchApology() { + return this._noMatchApology; } - _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: m.skillExpressionFilters.exampleErrorResultsTitle, entries: n3 }); + get noMatchesMax() { + return this._noMatchesMax; } - _getPossibleErrors() { - return l.evaluateSkillExpressionFiltersFailureReasons; + get noToConfirmationApology() { + return this._noToConfirmationApology; } } - 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; - var n2 = i2(59328); - t2.lastValueFrom = function(e3, t3) { - var i3 = "object" == typeof t3; - return new Promise(function(r2, o) { - var a, s = false; - e3.subscribe({ next: function(e4) { - a = e4, s = true; - }, error: o, complete: function() { - s ? r2(a) : i3 ? r2(t3.defaultValue) : o(new n2.EmptyError()); - } }); - }); - }; - }, 85763: (e2, t2, i2) => { + t2.default = l; + }, 86042(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = i2(30801), a = n2.__importDefault(i2(27873)); - class s extends a.default { + const n2 = i2(31635), o = i2(56969), r = n2.__importDefault(i2(25767)); + class a extends r.default { constructor(e3) { - super(e3); - } - get _actionTypeId() { - return o.processVoicemailInputActionType; + super(e3), this._coreVoiceSurveyFlowSettingsViewModel = e3; } get displayTypeName() { - return this._scriptingName; + return "ArchSettingsVoiceSurveyFlow"; } - get hasFakeFaxProcessedOutput() { + get isArchSettingsVoiceSurveyFlow() { return true; } - get isArchActionProcessVoicemailInput() { - return true; + get surveyFormName() { + var e3; + return null === (e3 = this._coreVoiceSurveyFlowSettingsViewModel.archSurveyForm) || void 0 === e3 ? void 0 : e3.name; } - get outputVoicemail() { - return this._getOutputById(r2.outputIds.voicemail, true); + get surveyFormId() { + var e3; + return null === (e3 = this._coreVoiceSurveyFlowSettingsViewModel.archSurveyForm) || void 0 === e3 ? void 0 : e3.id; + } + getSurveyQuestionsForSurveyForm() { + const e3 = (0, o.getAllQuestions)(this._coreVoiceSurveyFlowSettingsViewModel.archSurveyForm); + return (null == e3 ? void 0 : e3.map((e4) => e4.questionText)) || []; + } + getAnswerOptionsForSurveyQuestionText(e3) { + const t3 = this._infoParm("questionText", "getAnswerOptionsForSurveyQuestionText"); + if (this._checkItemIsValidLiteralString(t3, e3), !(null == e3 ? void 0 : e3.length)) return void this.logNote("the question text specified in the questionText parameter is blank. Exiting."); + this.logNote(`lookup up answer options for the question text '${e3}'.`); + const i3 = this._coreVoiceSurveyFlowSettingsViewModel.getAnswerOptionsExpressionForQuestionText(e3); + if (i3) return this.logNote("answer options found based on the question text."), this.coreFactory.createArchWrapper(i3); + this.logNote(`there are no answer options found for the question text '${e3}'. Exiting.`); } } - t2.default = s; - }, 85839: (e2, t2, i2) => { - const { expressionTypeNames: n2 } = i2(80428), r2 = {}; - 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) => { + t2.default = a; + }, 23862(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 { + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { 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); + super(e3), this._coreWorkitemFlowSettingsViewModel = e3; } - get loopCountMax() { - return this._loopCountMax; + get displayTypeName() { + return "ArchSettingsWorkitemFlow"; } - set loopCountMax(e3) { - this._loopCountMax = this.reviveItem(e3, p.default); + get isArchSettingsWorkitemFlow() { + return true; } - get notificationTypeChatInvocationsPerFlowMax() { - return this._notificationTypeChatInvocationsPerFlowMax; + get worktypeName() { + var e3; + return null === (e3 = this._coreWorkitemFlowSettingsViewModel.worktype) || void 0 === e3 ? void 0 : e3.name; } - set notificationTypeChatInvocationsPerFlowMax(e3) { - this._notificationTypeChatInvocationsPerFlowMax = this.reviveItem(e3, p.default); + get worktypeId() { + var e3; + return null === (e3 = this._coreWorkitemFlowSettingsViewModel.worktype) || void 0 === e3 ? void 0 : e3.id; } - getLimitCondition(e3) { + } + t2.default = o; + }, 41377(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(48849)), r = 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)), I = n2.__importDefault(i2(93693)), C = n2.__importDefault(i2(76634)), O = 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: o.default, ArchSettingsActionDefaults: r.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: I.default, ArchSettingsSpeechRec: C.default, ArchSettingsSpeechRecFlow: O.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; + }, 38249(e2, t2, i2) { + "use strict"; + t2.archHandlingTypeConversion = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(15244)), r = n2.__importDefault(i2(78432)), a = n2.__importDefault(i2(8471)); + class s extends a.default { + getArchEnumHandlingForCoreHandling(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; + case o.default.AbortSend: + return r.default.EVENTS_FLOW_ERROR_HANDLING.abortSend; + case o.default.CompleteSend: + return r.default.EVENTS_FLOW_ERROR_HANDLING.completeSend; + case o.default.Disconnect: + return r.default.EVENTS_FLOW_ERROR_HANDLING.disconnect; + case o.default.EndFlow: + return r.default.EVENTS_FLOW_ERROR_HANDLING.endFlow; + case o.default.EndInQueueState: + return r.default.EVENTS_FLOW_ERROR_HANDLING.endInQueueState; + case o.default.EndWorkflow: + return r.default.EVENTS_FLOW_ERROR_HANDLING.endWorkflow; + case o.default.Exit: + return r.default.EVENTS_FLOW_ERROR_HANDLING.exit; + case o.default.Menu: + return r.default.EVENTS_FLOW_ERROR_HANDLING.jumpToMenu; + case o.default.Queue: + return r.default.EVENTS_FLOW_ERROR_HANDLING.transferToQueue; + case o.default.State: + return r.default.EVENTS_FLOW_ERROR_HANDLING.changeState; + case o.default.Task: + return r.default.EVENTS_FLOW_ERROR_HANDLING.jumpToTask; + case o.default.Continue: + return r.default.EVENTS_FLOW_ERROR_HANDLING.continue; default: - return void T.traceOnce(`unknownActionLimitName:${String(e3)}`, (t3) => t3.warning(`Unknown action limit name: '${String(e3)}'`)); + this._logErrorInternalAndThrow(`unknown core handling type '${e3}' passed to ArchHandlingTypeConversion#getArchEnumHandlingForCoreHandling.`); } } - 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; + getCoreHandlingTypeForEnum(e3) { + switch (e3) { + case r.default.EVENTS_FLOW_ERROR_HANDLING.abortSend: + return o.default.AbortSend; + case r.default.EVENTS_FLOW_ERROR_HANDLING.completeSend: + return o.default.CompleteSend; + case r.default.EVENTS_FLOW_ERROR_HANDLING.changeState: + return o.default.State; + case r.default.EVENTS_FLOW_ERROR_HANDLING.disconnect: + return o.default.Disconnect; + case r.default.EVENTS_FLOW_ERROR_HANDLING.endFlow: + return o.default.EndFlow; + case r.default.EVENTS_FLOW_ERROR_HANDLING.endInQueueState: + return o.default.EndInQueueState; + case r.default.EVENTS_FLOW_ERROR_HANDLING.endWorkflow: + return o.default.EndWorkflow; + case r.default.EVENTS_FLOW_ERROR_HANDLING.exit: + return o.default.Exit; + case r.default.EVENTS_FLOW_ERROR_HANDLING.jumpToMenu: + return o.default.Menu; + case r.default.EVENTS_FLOW_ERROR_HANDLING.transferToQueue: + return o.default.Queue; + case r.default.EVENTS_FLOW_ERROR_HANDLING.jumpToTask: + return o.default.Task; + case r.default.EVENTS_FLOW_ERROR_HANDLING.continue: + return o.default.Continue; + default: + this._logErrorInternalAndThrow(`the error handling type value '${e3}' was properly added to the ArchEnums.EVENTS_FLOW_ERROR_HANDLING but no support for it was added to the internal ArchHandlingTypeConversion#getCoreHandlingTypeForEnum function in Architect Scripting. :(`); + } } - 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; + findHandlingTypeForValue(e3, i3) { + const n3 = t2.archHandlingTypeConversion.getCoreHandlingTypeForEnum(i3).value; + return !!e3.find((e4) => e4.value === n3); } } - 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) => { + t2.archHandlingTypeConversion = new s(); + }, 88199(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "wheelPickerItemCollection"; + super(e3), this._coreSpeechRecTermContainerViewModel = e3; } get displayTypeName() { - return "ArchVariableWheelPickerItemCollection"; + return "ArchSpeechRecTermContainer"; } - get isArchVariableWheelPickerItemCollection() { + get logStr() { + if (!this._coreSpeechRecTermContainerViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrTag(e3, this._coreSpeechRecTermContainerViewModel.languageCode), this._createLogStrFromParts(e3); + } + addTerm(e3) { + const t3 = this._infoParm("newTerm", "addTerm"); + return this._checkItemIsValidLiteralString(t3, e3), this._checkItem(t3, !!this._coreSpeechRecTermContainerViewModel.contains(e3), "the term '" + e3 + "' is already in the container."), this._coreSpeechRecTermContainerViewModel.terms.push(e3), true; + } + containsTerm(e3) { + const t3 = this._infoParm("term", "containsTerm"); + return this._checkItemIsValidLiteralString(t3, e3, false), this._coreSpeechRecTermContainerViewModel.terms.includes(e3); + } + get language() { + return this.coreFactory.getArchLanguageForTag(this._coreSpeechRecTermContainerViewModel.languageCode); + } + get isArchSpeechRecTermContainer() { return true; } } - t2.default = r2; - }, 85889: (e2, t2, i2) => { + t2.default = o; + }, 14113(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), 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { + constructor(e3) { + super(e3), this._coreSpeechRecViewModel = e3; } - get className() { - return "CarouselType"; + get displayTypeName() { + return "ArchSpeechRecTermContainers"; } - canConvertLitToExpression(e3) { - return false; + get logStr() { + if (!this._coreSpeechRecViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrParentParts(e3, this._coreSpeechRecViewModel.menuChoice), this._createLogStrFromParts(e3); } - convertLitToExpression(e3, t3, i3) { - return ""; + getContainer(e3) { + const t3 = this._infoParm("archLanguage", "getContainer"); + this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must pass in a valid ArchLanguage instance."), this._checkItem(t3, !this._coreSpeechRecViewModel.parentFlow.languages.isFlowSupportedLanguage(e3.tag), "the language " + e3.logStr + " is not a supported language in the flow."); + let i3 = this._coreSpeechRecViewModel.getContainer(e3.tag); + return i3 || (this._coreSpeechRecViewModel.refreshContainers(), i3 = this._coreSpeechRecViewModel.getContainer(e3.tag)), i3 || this._itemIsInvalid(t3, "could not find speech rec term container for the language " + e3.logStr), this.coreFactory.createArchWrapper(i3); } - deleteChoiceAtIndex(e3, t3) { - if (t3 < 0) return false; - let i3 = false; - return this._processCards(e3, false, (e4) => { - if (!i3) { - const n3 = e4.type.getPossibleChoiceCount(e4); - t3 >= n3 ? t3 -= n3 : t3 >= 0 && (i3 = e4.type.deleteChoiceAtIndex(e4, t3), t3 = -1); - } - }), i3; + get isArchSpeechRecTermContainers() { + return true; } - createExpressionOptionClass() { - return new u.ExpressionTypeCarouselOptions(); + } + t2.default = o; + }, 3596(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(88199)), r = n2.__importDefault(i2(14113)), a = { ArchSpeechRecTermContainer: o.default, ArchSpeechRecTermContainers: r.default }; + t2.default = a; + }, 25016(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(37873)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get supportsLiteralEditor() { - return true; + get displayTypeName() { + return "ArchSpeechToTextEngine"; } - getPropCards(e3) { - return e3.getProperty(g); + get isArchSpeechToTextEngine() { + return true; } - _processCards(e3, t3, i3) { - var n3; - if (!e3) return; - const o2 = e3.getProperty(g, true); - !o2 || !t3 && o2.outOfService || r2.default.each(null === (n3 = o2.collectionItems) || void 0 === n3 ? void 0 : n3.items, (e4) => { - try { - i3(e4); - } catch (e5) { - } - }); + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - couldHaveUnknownPostbackValue(e3) { - if (!e3 || e3.outOfService) return false; - if (!e3.isLiteralMode) return true; - const t3 = e3.getProperty(g, true); - return !t3 || !!r2.default.find(t3.collectionItems.items, (e4) => e4.type.couldHaveUnknownPostbackValue(e4)); + get name() { + return this._getCoreViewModel().name; } - isUnknownAtDesignTime(e3) { - if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; - const t3 = e3.getProperty(g, true); - return !t3 || t3.outOfService; + get id() { + return this._getCoreViewModel().id; } - getHasAtLeastOnePostbackChoice(e3) { - var t3; - if (this.isUnknownAtDesignTime(e3)) return; - const i3 = e3.getProperty(g, true); - if (!i3 || i3.outOfService) return; - let n3, o2; - return r2.default.find(null === (t3 = i3.collectionItems) || void 0 === t3 ? void 0 : t3.items, (e4) => { - const t4 = e4.type.getHasAtLeastOnePostbackChoice(e4); - if (t4) return o2 = true, e4; - (r2.default.isUndefined(t4) || e4.type.isUnknownAtDesignTime(e4)) && (n3 = true); - }), !!o2 || !!n3 && void 0; + } + t2.default = o; + }, 93856(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = { ArchSpeechToTextEngine: i2(31635).__importDefault(i2(25016)).default }; + t2.default = n2; + }, 94147(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(6074)), r = n2.__importDefault(i2(94225)); + class a extends o.default { + constructor(e3) { + super(e3), this._coreStateViewModel = e3, this._isVariableContainer = true; } - getPossibleChoices(e3, t3, i3) { - let n3 = []; - return e3 ? (this._processCards(e3, i3, (e4) => { - const i4 = e4.type.getPossibleChoices(e4, t3); - r2.default.isArray(i4) && i4.length && (n3 = n3.concat(i4)); - }), n3) : n3; + get coreStateViewModel() { + return this._coreStateViewModel; } - resetCards(e3) { - const t3 = e3.getProperty(g); - if (t3) return t3.mode = d.literal, t3.removeAll(), t3; + addVariable(e3, t3, i3) { + return this._addVariable(this, "addVariable", e3, t3, i3); } - _ensureCardsIsLiteral(e3, t3, i3) { - const n3 = e3.getProperty(g); - if (n3) { - if (n3.mode !== d.literal) { - if (!t3) return; - n3.mode = d.literal, n3.removeAll(); - } - if (!(i3 && n3.collectionItems.items.length >= f)) return n3; - } + get displayTypeName() { + return "ArchState"; } - addCard(e3, t3, i3, n3) { - const r3 = this._ensureCardsIsLiteral(e3, n3, true); - if (!r3 || r3.outOfService || !r3.isLiteralMode) return; - const o2 = r3.type.singletonType.createCard(r3, t3, i3); - return r3.collectionItems.addItem(o2), o2; + get isArchState() { + return true; } - configureFromChoices(e3, t3, i3, n3, o2) { - if (!this.resetCards(e3)) return; - 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 || ((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()}`)); - }); + get logStr() { + if (!this._coreStateViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); } - applyNluDiffs(e3, t3, i3, n3) { - var a2; - let s2 = n3 && t3 && !t3.outOfService; - const l2 = this._ensureCardsIsLiteral(t3); - if (l2 && !l2.outOfService && l2.isLiteralMode || (s2 = false), s2) { - if (n3.invalidPostbackValueChoices) { - const t4 = l2.collectionItems; - for (let i4 = t4.items.length - 1; i4 >= 0; i4--) { - const r3 = t4.items[i4]; - (null === (a2 = null == r3 ? void 0 : r3.type.removeInvalidNluDiffButtonChoices(r3, n3, e3)) || void 0 === a2 ? void 0 : a2.cardChoicesAreEmpty) && t4.removeChild(r3); - } - } - r2.default.each(n3.missingSlotTypeValues, (n4) => { - if (!n4) return; - let r3; - switch (i3) { - case _.slotTypeValueMergeMode.asIndividualValues: { - const e4 = this.addCard(t3, (0, o.sprintf)(m.cardsAndCars.carouselType.defaultCardTitle, l2.collectionItems.items.length + 1)); - e4 && (r3 = e4.type.addChoiceForPostbackValue(e4, n4, true)); - break; - } - case _.slotTypeValueMergeMode.asStackedValues: { - let e4; - if (l2.collectionItems.items.length && (e4 = l2.collectionItems.items[l2.collectionItems.items.length - 1], r3 = e4.type.addChoiceForPostbackValue(e4, n4, false), !r3)) { - const e5 = this.addCard(t3); - e5 && (r3 = e5.type.addChoiceForPostbackValue(e5, n4, true)); - } - break; - } - } - r3 && (e3.missingSlotTypeValuesAdded || (e3.missingSlotTypeValuesAdded = []), e3.missingSlotTypeValuesAdded.push(n4)); - }); - } + getVariableByName(e3) { + this._checkItemIsValidLiteralString(this._infoParm("variableName", "getVariableByName"), e3); + const t3 = this._coreStateViewModel.parentFlow.variableGroup.getVariableByName(e3, this._coreStateViewModel); + if (t3) return this.coreFactory.createArchWrapper(t3); } - updateAllowableValues(e3, t3) { - this._processCards(e3, false, (e4) => { - e4.type.updateAllowableValues(e4, t3); - }); + get name() { + return this._coreStateViewModel.name; } - configurePropertyCreationParams(e3, t3, i3) { - var n3; - if (super.configurePropertyCreationParams(e3, t3, i3), (null === (n3 = t3.name) || void 0 === n3 ? void 0 : n3.toLowerCase()) === g) { - const e4 = i3.options; - e4.setMaxItems(f), e4.setMinItems(T), e4.setIninTestingField("carousel-cards"); - } + set name(e3) { + this._checkItemIsValidLiteralString(this._infoPropSet("newValue", "name"), e3), this._coreStateViewModel.name = e3; } - initializeDesignTime(e3) { - super.initializeDesignTime(e3); - const t3 = this.getPropCards(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); + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreStateViewModel.parentFlow); } - validateLiteral(e3, t3) { - let i3 = super.validateLiteral(e3, t3); - if (i3 && false === this.getHasAtLeastOnePostbackChoice(t3)) { - i3 = false; - const n3 = t3.getProperty(g, true); - e3.addExpressionError(n3 || t3, m.carouselType.carouselErrorAddAtLeastOnePostbackButton); - } - return i3; + get trackingId() { + return this._coreStateViewModel.trackingId; } - _setCardCount(e3) { - const t3 = this.getPropCards(e3); - let i3; - e3.isLiteralMode && t3.isLiteralMode && (i3 = `${t3.collectionItems.length} / ${l.dataTypeLimits.carouselDataType.properties.cards.maxItems.count}`), e3.options.setSubLabel(i3); + set trackingId(e3) { + const t3 = this._infoPropSet("value", "trackingId"); + this._ensureCanSetTrackingIds(t3, r.default, e3); + const i3 = this._coreStateViewModel.trackingId; + e3 !== i3 && (this._coreStateViewModel.trackingId = e3, this.logItemVerboseNote(t3, `updated tracking ID from ${i3} to ${this._coreStateViewModel.trackingId}.`)); } - get hasRichLiteralEditor() { - return true; + get variables() { + return this._coreStateViewModel.parentFlow.variableGroup.filterByTask(this._coreStateViewModel).filter((e3) => e3.isStateVariable && !e3.isClone).map((e3) => this.coreFactory.createArchWrapper(e3)); } } - t2.CarouselType = y, y.typeIdentifier = h.expressionTypeNames.carousel; - }, 85934: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.filter = void 0; - var n2 = i2(65212), r2 = i2(17214); - t2.filter = function(e3, t3) { - return n2.operate(function(i3, n3) { - var o = 0; - i3.subscribe(r2.createOperatorSubscriber(n3, function(i4) { - return e3.call(t3, i4, o++) && n3.next(i4); - })); - }); - }; - }, 86015: (e2, t2, i2) => { + t2.default = a; + }, 38170(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), c = i2(26847); - class d extends l.default { + const n2 = i2(31635).__importDefault(i2(94147)); + class o extends n2.default { constructor(e3) { - super(e3), this._scheduleTimeZone = this.coreFactory.createArchWrapper(e3.timeZone), this._schedule = this.coreFactory.createArchWrapper(e3.schedule); - } - get _actionTypeId() { - return r2.evaluateScheduleActionType; + super(e3); } get displayTypeName() { - return this._scriptingName; + return "ArchStateBot"; } - get isArchActionEvaluateSchedule() { + get isArchStateBot() { return true; } - get evaluateEmergencyGroup() { - return this._coreActionViewModel.evaluateEmergencyGroup; - } - setEvaluateEmergencyGroup(e3) { - const t3 = this._infoPropSet("newEvaluationType", "evaluateEmergencyGroup"); - this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.SCHEDULE_EVALUATION_TYPES_ALL), this._coreActionViewModel.evaluateEmergencyGroup = e3 === o.default.SCHEDULE_EVALUATION_TYPES.emergencyGroup, this.logNote("evaluateEmergencyGroup set to '" + this.evaluateEmergencyGroup + "'"); - } - get schedule() { - return this._schedule; - } - setScheduleByIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleId", "setScheduleByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleByIdAsync"), t3, true), a.default.findItemByIdAsync(u.scheduleManager, e3, "schedule").then((i3) => (this.logNote("found the schedule named '" + i3.name + "' by the schedule id '" + e3 + "'"), this._coreActionViewModel.setSchedule(i3), s.default.executeCallback(this, "setScheduleByIdAsync", t3, this))); - } - setScheduleByNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("scheduleName", "setScheduleByNameAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setScheduleByNameAsync"), t3, true), a.default.findItemByValueAsync(u.scheduleManager, e3, "schedule", "name").then((i3) => (this.logNote("found the schedule named '" + i3.name + "' by the schedule Name '" + e3 + "'"), this._coreActionViewModel.setSchedule(i3), s.default.executeCallback(this, "setScheduleByNameAsync", t3, this))); - } - get scheduleTimeZone() { - return this._scheduleTimeZone; - } - get outputActive() { - return this._getOutputById(c.outputIds.active, true); - } - get outputInactive() { - return this._getOutputById(c.outputIds.inactive, true); - } } - t2.default = d; - }, 86042: (e2, t2, i2) => { + t2.default = o; + }, 54982(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(56969), o = n2.__importDefault(i2(25767)); - class a extends o.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(94225)), a = i2(26847), s = n2.__importDefault(i2(6074)); + class l extends s.default { constructor(e3) { - super(e3), this._coreVoiceSurveyFlowSettingsViewModel = e3; + super(e3), this._coreTaskViewModel = e3, this._isVariableContainer = true; + } + get coreTaskViewModel() { + return this._coreTaskViewModel; + } + addVariable(e3, t3, i3) { + return this._addVariable(this, "addVariable", e3, t3, i3); } get displayTypeName() { - return "ArchSettingsVoiceSurveyFlow"; + return "ArchTask"; } - get isArchSettingsVoiceSurveyFlow() { + get isArchTask() { return true; } - get surveyFormName() { - var e3; - return null === (e3 = this._coreVoiceSurveyFlowSettingsViewModel.archSurveyForm) || void 0 === e3 ? void 0 : e3.name; + get isSecure() { + return this._coreTaskViewModel.consumesSecureData; } - get surveyFormId() { - var e3; - return null === (e3 = this._coreVoiceSurveyFlowSettingsViewModel.archSurveyForm) || void 0 === e3 ? void 0 : e3.id; + get logStr() { + if (!this._coreTaskViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); } - getSurveyQuestionsForSurveyForm() { - const e3 = (0, r2.getAllQuestions)(this._coreVoiceSurveyFlowSettingsViewModel.archSurveyForm); - return (null == e3 ? void 0 : e3.map((e4) => e4.questionText)) || []; + getVariableByName(e3) { + this._checkItemIsValidLiteralString(this._infoParm("variableName", "getVariableByName"), e3); + const t3 = this._coreTaskViewModel.parentFlow.variableGroup.getVariableByName(e3, this._coreTaskViewModel); + if (t3) return this.coreFactory.createArchWrapper(t3); } - getAnswerOptionsForSurveyQuestionText(e3) { - const t3 = this._infoParm("questionText", "getAnswerOptionsForSurveyQuestionText"); - if (this._checkItemIsValidLiteralString(t3, e3), !(null == e3 ? void 0 : e3.length)) return void this.logNote("the question text specified in the questionText parameter is blank. Exiting."); - this.logNote(`lookup up answer options for the question text '${e3}'.`); - const i3 = this._coreVoiceSurveyFlowSettingsViewModel.getAnswerOptionsExpressionForQuestionText(e3); - if (i3) return this.logNote("answer options found based on the question text."), this.coreFactory.createArchWrapper(i3); - this.logNote(`there are no answer options found for the question text '${e3}'. Exiting.`); + get name() { + return this._coreTaskViewModel.name; } - } - t2.default = a; - }, 86050: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ScreenPopViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(3916)), a = i2(43212); - class s extends a.BaseConfigurationListViewModel { - constructor(e3) { - super(e3), this._model.variables && this.loadVariables(this._model.variables); + set name(e3) { + this._checkItemIsValidLiteralString(this._infoPropSet("newValue", "name"), e3), this._coreTaskViewModel.name = e3; + } + get branches() { + const e3 = []; + return this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths && o.default.each(this._coreTaskViewModel.getBranches(), (t3) => { + e3.push(this.coreFactory.createArchWrapper(t3)); + }), e3; } - get className() { - return "ScreenPopViewModel"; + get trackingId() { + return this._coreTaskViewModel.trackingId; } - get category() { - return this._model.category; + set trackingId(e3) { + const t3 = this._infoPropSet("value", "trackingId"); + this._ensureCanSetTrackingIds(t3, r.default, e3); + const i3 = this._coreTaskViewModel.trackingId; + i3 !== e3 && (this._coreTaskViewModel.trackingId = e3, this.logItemVerboseNote(t3, `updated tracking ID from ${i3} to ${this._coreTaskViewModel.trackingId}.`)); } - get description() { - return this._model.description; + get variables() { + return this._coreTaskViewModel.parentFlow.variableGroup.filterByTask(this._coreTaskViewModel).filter((e3) => e3.isTaskVariable && !e3.isClone).map((e3) => this.coreFactory.createArchWrapper(e3)); } - getConfiguration() { - return { name: this._model.name, description: this._model.description, category: this._model.category, url: this._model.url, inputs: this._model.variables }; + _getArchBranchForOutputId(e3) { + if (e3 === a.outputIds.fake) return; + const t3 = o.default.find(this._coreTaskViewModel.getBranches(), (t4) => t4.outputId === e3); + return t3 ? this.coreFactory.createArchWrapper(t3) : void 0; } - getProperty(e3, t3, i3) { - const n3 = i3 ? { name: e3 } : { id: e3 }; - return r2.default.findWhere(t3 ? this.outputs : this.inputs, n3); + addBranch(e3) { + const t3 = this._infoParm("branchName", "addBranch"); + this._checkItemIsValidLiteralString(t3, e3), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot add a branch to a task that is in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); + const i3 = this._coreTaskViewModel.getBranchByName(e3); + return i3 && this.logErrorAndThrow(`unable to add a branch named '${e3}' to this task. The branch name '${i3.label}' already exists.`), this.coreFactory.createArchWrapper(this._coreTaskViewModel.createBranch(e3)); } - get id() { - return this._model.id; + deleteBranch(e3) { + const t3 = this._infoParm("branchToDelete", "deleteBranch"); + this._checkItem(t3, !(o.default.isString(e3) || e3 && e3.isArchBranch), "the branchToDelete parameter must either be a string or an ArchBranch instance."), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot delete a branch to a task that is in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); + const i3 = o.default.isString(e3) ? e3 : e3.outputId; + return this._coreTaskViewModel.removeBranch(i3), !this._coreTaskViewModel.getBranches().some((e4) => e4.outputId === i3); } - get input() { - return this._model.variables; + getBranchByDefaultOutput() { + return this._getArchBranchForOutputId(a.outputIds.default); } - get label() { - return this._model.name || ""; + getBranchByOutputId(e3) { + const t3 = this._infoParm("outputId", "getBranchByOutputId"); + this._checkItemIsValidLiteralString(t3, e3, false), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot get a task branch in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); + return this._getArchBranchForOutputId(e3) || (this.logError(`the output id '${e3}' is not valid for ${this.logStr}.`), null); } - loadVariables(e3) { - let t3 = {}; - e3 && e3.properties && (t3 = r2.default.omit(e3.properties, function(e4) { - return !(!e4.hasOwnProperty("input") && !e4.hasOwnProperty("output")) && true !== e4.input; - })), this.inputs = o.default.createSchemaPropertyList(t3); + getBranchByName(e3) { + const t3 = this._infoParm("branchName", "getBranchByName"); + this._checkItemIsValidLiteralString(t3, e3), this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths || this.logErrorAndThrow("you cannot get a task branch by name in a flow type of '" + this._coreTaskViewModel.parentFlow.type + "' since task branches are not supported."); + const i3 = this._coreTaskViewModel.getBranchByName(e3); + return o.default.isObject(i3) ? this.coreFactory.createArchWrapper(i3) : (this.logError(`could not find the branch name '${e3}' for ${this.logStr}.`), null); } - get name() { - return this._model.name; + get isReusableTask() { + return this._coreTaskViewModel.isReusableTask; } - get result() { - return this._model.result; + get branchCount() { + return this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths ? this._coreTaskViewModel.getBranches().length : 0; } - get url() { - return this._model.url; + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreTaskViewModel.parentFlow); } - } - t2.ScreenPopViewModel = s; - }, 86081: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + get supportsBranches() { + return this._coreTaskViewModel.parentFlow.supportsTasksWithOutputPaths; } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.race = void 0; - var o = i2(7652), a = i2(6677); - t2.race = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return a.raceWith.apply(void 0, r2([], n2(o.argsOrArgArray(e3)))); - }; - }, 86115: (e2, t2, i2) => { + } + t2.default = l; + }, 19328(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = n2.__importDefault(i2(67336)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(54982)); + class o extends n2.default { constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDynamicTimeslotTypeViewModel"), e3), this._coreDynamicTimeslotTypeViewModel = e3, (0, r2.makeUnenumerable)(this, "_coreDynamicTimeslotTypeViewModel"), this._timeslots = this.coreFactory.createArchWrapper(e3.timeslots); + super(e3), this._coreCommonModuleTaskViewModel = e3; } get displayTypeName() { - return "ArchSettingsNluDynamicTimeslotType"; + return "ArchTaskCommonModule"; } - get isArchSettingsNluDynamicTimeslotType() { + get isArchTaskCommonModule() { return true; } get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; + if (!this._coreCommonModuleTaskViewModel) return this.logStrTypeOnly; const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); - } - get timeslots() { - return this._timeslots; + return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); } } - t2.default = a; - }, 86167: (e2, t2, i2) => { + t2.default = o; + }, 24175(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54982)); + class o extends n2.default { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "utilizationLabel"; + super(e3), this._coreLoopingTaskViewModel = e3; } get displayTypeName() { - return "ArchVariableUtilizationLabel"; - } - get initialValue() { - return this._initialValue; + return "ArchTaskLoop"; } - get isArchVariableUtilizationLabel() { + get isArchTaskLoop() { return true; } - } - t2.default = r2; - }, 86297: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createInvalidObservableTypeError = void 0, t2.createInvalidObservableTypeError = function(e3) { - return new TypeError("You provided " + (null !== e3 && "object" == typeof e3 ? "an invalid object" : "'" + e3 + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."); - }; - }, 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), 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); - } - static get managedProperties() { - return [{ label: o.deflect.deflectToLabel, options: m.ExpressionTypeStringOptions.create((e3) => e3.setDescriptionInfo(o.deflect.deflectToLabel, o.deflect.deflectToDescription).setAsInput().setIsOptional(false).setDefaultText(o.deflect.sms).setAllowModeLiteralOnly().setIninTestingField("deflect-deflectTo").setReadOnly(true).facets.setAllowableValues([o.deflect.sms]).setDisplayFacetsAsInputWhenOnlyOneValueAllowed(true)), property: "deflectTo", type: _.expressionTypeNames.string }, { label: o.deflect.messageLabel, options: m.ExpressionTypeStringOptions.create((e3) => e3.setAsInput().setDescriptionInfo(o.deflect.messageLabel, o.deflect.messageDescription).setIninTestingField("deflect-message").setAdditionalBuilderPartDefs([l.default.getBuilderPartDefById(u.builderPartIds.string.deflectionURL)]).facets.setMinLength(1).setMaxLength(p.default.maxSmsMessageLength).setTrim(true)), property: "message", type: _.expressionTypeNames.string }, { label: o.deflect.smsToLabel, options: h.ExpressionTypePhoneNumberOptions.create((e3) => e3.setAsInput().setIsOptional(false).setDescriptionInfo(o.deflect.smsToLabel, o.deflect.smsToDescription).setDefaultToExpression(true).setDefaultText("ToPhoneNumber(Call.Ani)").setIninTestingField("deflect-smsTo")), property: "smsTo", type: _.expressionTypeNames.phoneNumber }, { label: o.deflect.smsFromLabel, options: h.ExpressionTypePhoneNumberOptions.create((e3) => e3.setAsInput().setIsOptional(false).setDescriptionInfo(o.deflect.smsFromLabel, o.deflect.smsFromDescription).setAllowModeLiteralOnly().setLiteralUsesSmsPhoneNumberDropdown(true).setIninTestingField("deflect-smsFrom")), property: "smsFrom", type: _.expressionTypeNames.phoneNumber }]; - } - static get branchInfo() { - return s.default.successFailure; - } - _getPossibleErrors() { - 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, y.SmsPhoneNumber, this.parentFlow); + get logStr() { + if (!this._coreLoopingTaskViewModel) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); } } - 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) => { + t2.default = o; + }, 53538(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); - class o extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(54982)), r = n2.__importDefault(i2(19328)), a = n2.__importDefault(i2(24175)), s = n2.__importDefault(i2(94147)), l = n2.__importDefault(i2(38170)), u = { ArchTask: o.default, ArchTaskCommonModule: r.default, ArchTaskLoop: a.default, ArchState: s.default, ArchStateBot: l.default }; + t2.default = u; + }, 323(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(6953)), r = n2.__importDefault(i2(3220)), a = n2.__importDefault(i2(37873)); + class s extends a.default { constructor(e3) { - super(e3), this._statements = this.coreFactory.createArchBaseValueContainer(e3.variables); - } - get _actionTypeId() { - return r2.extractSecureDataActionType; - } - acknowledgeSecureUsage() { - this._coreActionViewModel.setAcknowledgment() || this.logErrorAndThrow("unable to set the secure data extraction acknowledgement."); - } - addExtractSecureDataStatement(e3, t3, i3) { - const n3 = this._infoParm("archDataType", "addExtractSecureDataStatement"); - return this._checkItem(n3, !e3 || !e3.isArchDataType, "you must pass in a valid Architect data type for the statement to create"), this._checkItem(n3, !e3.isScriptCreatableForFlow(this.parentFlow), "the Architect data type " + e3.label + " is not creatable from scripting for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "'. The data type's isScriptCreatableForFlow must return true to be valid for use when creating an extract secure data statement"), this._statements._addVariableValueAssignment(e3, t3, i3, true, this._getCoreViewModel().createStatementOptions); + super(e3); } get displayTypeName() { - return this._scriptingName; - } - get hasSecureDataAcknowledgment() { - return this._coreActionViewModel.hasSecureDataAcknowledgment; + return "ArchTtsEngine"; } - get isArchActionExtractSecureData() { + get isArchTtsEngine() { return true; } - get statements() { - return this._statements._createVariableValuePairArray(); + get isSecure() { + return !!this._getCoreViewModel().isSecure; } - } - t2.default = o; - }, 86500: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - get _globalTypeName() { - return "decimalCollection"; + get name() { + return this._getCoreViewModel().name; } - get displayTypeName() { - return "ArchValueDecimalCollection"; + getVoiceById(e3) { + const t3 = this._infoParm("voiceId", "getVoiceById"); + this._checkItemIsValidLiteralString(t3, e3, false); + const i3 = this._getCoreViewModel().voices[e3]; + if (i3) return this.logItemVerboseNote(t3, `found the text to speech voice with ID '${e3}'.`), this.coreFactory.createArchWrapper(i3); + this.logItemWarning(t3, `did not find a text to speech voice with ID '${e3}'.`); } - get isArchValueDecimalCollection() { - return true; + getVoiceByName(e3) { + const t3 = this._infoParm("voiceName", "getVoiceByName"); + this._checkItemIsValidLiteralString(t3, e3, false); + const i3 = this._getCoreViewModel().getVoiceByName(e3); + if (i3) return this.logItemVerboseNote(t3, `found the text to speech voice with name '${e3}'.`), this.coreFactory.createArchWrapper(i3); + this.logItemWarning(t3, `did not find a text to speech voice with the name '${e3}'.`); } - } - 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), 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); + getVoicesForLanguage(e3) { + const t3 = this._infoParm("archLanguage", "getVoicesForLanguage"); + this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve engine voices."); + const i3 = o.default.getSelectableEnginesForLanguage(e3.tag), n3 = this._getCoreViewModel(), r2 = i3.find((e4) => e4.id === n3.id); + return (null == r2 ? void 0 : r2.voices) ? Object.values(r2.voices || {}).map((e4) => this.coreFactory.createArchWrapper(e4)) : []; } - getDetails() { - var e3; - 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(); + getSupportedVoiceLanguages() { + return o.default.getSupportedVoiceLanguagesForEngine(this._getCoreViewModel().id).map((e3) => r.default.getByLanguageTag(e3)); } - static get managedProperties() { - 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 }]; + getDefaultVoiceForLanguage(e3) { + const t3 = this._infoParm("archLanguage", "getDefaultVoiceForLanguage"); + this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve voices."); + const i3 = this._getCoreViewModel().getDefaultVoiceForLanguage(e3.tag); + if (i3) return this.coreFactory.createArchWrapper(i3); + } + getLanguageSupport(e3) { + const t3 = this._infoParm("archLanguage", "getLanguageSupport"); + this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve language support."); + const i3 = this._getCoreViewModel(), n3 = e3.tag.toLowerCase(); + return i3.getEngineSupportsLanguage(n3) ? "exact" : i3.getEngineSupportsLanguageNoRegion(n3.split("-")[0]) ? "languageOnly" : "none"; } } - 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" }; - }, 86580: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.requestHandler = function(e3, t3) { - return "success" === e3 ? (function(e4) { - return e4.deferredResult.resolve(e4.getResponse()), false; - })(t3) : "error" === e3 ? (function(e4) { - return e4.deferredResult.reject(r2(e4)), false; - })(t3) : "abort" === e3 ? (function(e4) { - const t4 = r2(e4); - return t4.isAborted = true, e4.deferredResult.reject(t4), false; - })(t3) : void 0; - }; - const n2 = i2(97834); - function r2(e3) { - const t3 = e3.parseResponse(), i3 = e3.getResponseHeaders(); - return new n2.RequestError(t3, e3.status, e3.statusText, e3.handled, i3); - } - }, 86591: (e2, t2, i2) => { + t2.default = s; + }, 22322(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 "utilizationLabelCollection"; + Object.defineProperty(t2, "__esModule", { value: true }), t2.ArchTtsEngines = void 0; + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = n2.__importDefault(i2(6953)), a = n2.__importDefault(i2(8471)); + class s extends a.default { + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } get displayTypeName() { - return "ArchVariableUtilizationLabelCollection"; + return "ArchTtsEngines"; } - get initialValue() { - return this._initialValue; + getEngineByName(e3) { + const t3 = this._infoMethod("getEngineByName"); + this._ensureTtsInfoAvailable(t3, o.default); + const i3 = this._infoParm("engineName", "getEngineByName"); + this._checkItemIsValidLiteralString(i3, e3); + const n3 = r.default.getItemByName(e3); + if (n3) return this.logNoteVerbose(`a text to speech engine with the name '${e3}' was found.`), this.coreFactory.createArchWrapper(n3); + this.logItemWarning(i3, `a text to speech engine with the name '${e3}' was not found.`); } - get isArchVariableUtilizationLabelCollection() { - return true; + get ttsEngineGenesys() { + const e3 = this._infoPropGet("ttsEngineGenesys"); + return this._ensureTtsInfoAvailable(e3, o.default), this.coreFactory.createArchWrapper(r.default.getGenesysEngine()); } } - t2.default = r2; - }, 86632: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.exhaustMap = void 0; - var n2 = i2(26872), r2 = i2(19724), o = i2(65212), a = i2(17214); - t2.exhaustMap = function e3(t3, i3) { - return i3 ? function(o2) { - return o2.pipe(e3(function(e4, o3) { - return r2.innerFrom(t3(e4, o3)).pipe(n2.map(function(t4, n3) { - return i3(e4, t4, o3, n3); - })); - })); - } : o.operate(function(e4, i4) { - var n3 = 0, o2 = null, s = false; - e4.subscribe(a.createOperatorSubscriber(i4, function(e5) { - o2 || (o2 = a.createOperatorSubscriber(i4, void 0, function() { - o2 = null, s && i4.complete(); - }), r2.innerFrom(t3(e5, n3++)).subscribe(o2)); - }, function() { - s = true, !o2 && i4.complete(); - })); - }); - }; - }, 86637: (e2, t2, i2) => { + t2.ArchTtsEngines = s; + const l = new s(); + t2.default = l; + }, 29659(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(3220)), r = n2.__importDefault(i2(37873)); + class a extends r.default { constructor(e3) { super(e3); } - get _globalTypeName() { - return "emergencyGroupCollection"; - } get displayTypeName() { - return "ArchVariableEmergencyGroupCollection"; - } - get initialValue() { - return this._initialValue; + return "ArchTtsVoice"; } - get isArchVariableEmergencyGroupCollection() { + get isArchTtsVoice() { return true; } - } - t2.default = r2; - }, 86750: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ConversationCustomAttributeSchemaViewModel = void 0; - 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) { - 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, (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; - } - get className() { - return "ConversationCustomAttributeSchemaViewModel"; + get logStr() { + if (!this._getCoreViewModel()) return this.logStrTypeOnly; + const e3 = []; + return this.id && this._appendLogStrId(e3, this.id), this.name && this._appendLogStrName(e3, this.name), this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - get schemasNotLoaded() { - return this._schemasNotLoaded; + get name() { + return this._getCoreViewModel().name; } - get successSchema() { - return this._successSchema; + get parentEngine() { + return this.coreFactory.createArchWrapper(this._getCoreViewModel().engine); } - get disabled() { - return !this._model.enabled; + get supportedLanguage() { + const e3 = this._getCoreViewModel().language; + return this.logItemVerboseNote(this._infoPropGet("supportedLanguage"), `looking up ArchLanguage for voice language tag '${e3}' to return.`), o.default.getByLanguageTag(e3); } - get tooltip() { - return this.disabled ? s.generic.disabledDiscourageForNewUse : ""; + getLanguageSupport(e3) { + const t3 = this._infoParm("archLanguage", "getLanguageSupport"); + this._checkItem(t3, !e3 || !e3.isArchLanguage, "you must specify an Architect language for which to retrieve language support."); + const i3 = this._getCoreViewModel(), n3 = e3.tag.toLowerCase(); + return i3.getVoiceSupportsLanguage(n3) ? "exact" : i3.getVoiceSupportsLanguageNoRegion(n3.split("-")[0]) ? "languageOnly" : "none"; } } - t2.ConversationCustomAttributeSchemaViewModel = l; - }, 86758: (e2, t2, i2) => { + t2.default = a; + }, 17548(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); - } - static get managedProperties() { - 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 }); - } - } - 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) => { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(323)), r = n2.__importDefault(i2(22322)), a = n2.__importDefault(i2(29659)), s = { ArchTtsEngine: o.default, archTtsEngines: r.default, ArchTtsVoice: a.default }; + t2.default = s; + }, 37819(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), 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 { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(52852)), a = n2.__importDefault(i2(8471)); + class s extends a.default { constructor() { - super(...arguments), this.intentSettingsMap = {}, this.slotSettingsMap = {}, this._allowableIntentValues = [], this.modelPropertyName = "nluMetaData"; - } - get isNluMetaDataViewModel() { - return true; + super(...arguments), this._hierarchyItems = []; } - get className() { - return "NluMetaDataViewModel"; + static createContext() { + return new s(); } - get id() { - return "nluMetaData"; + _addHierarchyItemPropAccess(e3, t3, i3) { + let n3 = this._hierarchyItems.length ? `${this.hierarchyStr}.${t3}` : `${e3.id ? e3.id : e3.logStr}.${t3}`; + o.default.isUndefined(i3) || (n3 = `${n3}[${i3}]`); + const a2 = r.default.createObjectPropertyAccessItem(e3, t3, i3, n3); + return this._hierarchyItems.push(a2), this._hierarchyItemsModified(), a2; } - getDisplayName() { - return this.id; + _popHierarchyItem() { + const e3 = this._hierarchyItems.pop(); + return this._hierarchyItemsModified(), e3; } - addSlot(e3, t3, i3) { - this.slotToSlotVariablesMapping[e3] = t3.id, this.slotToEntityTypesMapping[e3] = i3, this.slotToReferencingIntentsMapping[e3] = []; + get hierarchy() { + return o.default.clone(this._hierarchyItems); } - getArchNluWithFallback() { - var e3, t3, i3; - if (this.archNlu) return this.archNlu; - const n3 = null === (e3 = this.parentFlow.botFlowSettings) || void 0 === e3 ? void 0 : e3.nluDomainVersionId; - if (!s.default.isString(n3) || 0 === n3.length) return; - const r3 = null === (t3 = p.nluDomainManager.getItem(this.parentFlow.botFlowSettings.nluDomainId)) || void 0 === t3 ? void 0 : t3.model; - return r3 ? { id: null === (i3 = this.parentFlow.botFlowSettings) || void 0 === i3 ? void 0 : i3.nluDomainVersionId, entities: r3.entities, entityTypes: r3.entityTypes, intents: r3.intents } : void 0; + get hierarchyStr() { + return o.default.isUndefined(this._cachedHierarchyStr) && (this._cachedHierarchyStr = this._hierarchyItems.length ? this._hierarchyItems[this._hierarchyItems.length - 1].hierarchyStr : ""), this._cachedHierarchyStr; } - get archNlu() { - var e3; - return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.archNlu; + get displayTypeName() { + return "ArchTraverseContext"; } - set archNlu(e3) { - this._model.archNlu = e3; + get isArchTraverseContext() { + return true; } - get intentHealthInfo() { - var e3; - return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.intentHealthInfo; + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrHierarchyStr(e3, this.hierarchyStr), this._createLogStrFromParts(e3); } - setIntentHealthInfo(e3) { - this._model.intentHealthInfo = e3; + _hierarchyItemsModified() { + this._cachedHierarchyStr = void 0; } - get nluGeneratedInputInfo() { - var e3; - return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.nluGeneratedInputInfo; + } + t2.default = s; + }, 52852(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + static createObjectPropertyAccessItem(e3, t3, i3, n3) { + const r = new o(); + return r._archBaseCoreObject = e3, r._hierarchyStr = n3, r._propertyName = t3, r._propArrayIndex = i3, r; } - setNluGeneratedInputInfo(e3) { - this._model.nluGeneratedInputInfo = e3; + get displayTypeName() { + return "ArchTraverseHierarchyItem"; } - removeSlotBySlotName(e3) { - s.default.isString(e3) && e3.length && (delete this.slotToSlotVariablesMapping[e3], delete this.slotToEntityTypesMapping[e3], delete this.slotToReferencingIntentsMapping[e3]); + get archBaseObject() { + return this._archBaseCoreObject; } - getSlotNameForVariableId(e3) { - if (!s.default.isString(e3) || !e3.length) return; - let t3; - return s.default.find(this.slotToSlotVariablesMapping, (i3, n3) => { - if (i3 === e3) return t3 = n3, true; - }), t3; + get hierarchyStr() { + return this._hierarchyStr; } - getSlotVariableForSlotName(e3) { - const t3 = this.slotToSlotVariablesMapping[e3]; - let i3; - return t3 && (i3 = this.parentFlow.variableGroup.getExpandedVariable(t3)), i3; + get index() { + return this._propArrayIndex; } - destroy() { - var e3, t3; - 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(); + get isArchTraverseHierarchyItem() { + return true; } - 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); + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrHierarchyStr(e3, this.hierarchyStr), this._createLogStrFromParts(e3); } - getEntityTypeAllowableValues(e3) { - return o.EntityUtil.getListTypeEntityTypeByNameAllowableValues(this.rawNluAsINluDomainVersion, e3); + get propertyName() { + return this._propertyName; } - getEntityTypeValueLabels(e3, t3) { - return o.EntityUtil.getListTypeEntityTypeByNameValueLabels(this.rawNluAsINluDomainVersion, e3, t3); + } + t2.default = o; + }, 93078(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + static create(e3, t3, i3) { + return new o(e3, t3, i3); } - getEntityTypeValueLabelForLanguage(e3, t3, i3) { - return o.EntityUtil.getListTypeEntityTypeByNameValueLabelForLanguage(this.rawNluAsINluDomainVersion, e3, t3, i3); + constructor(e3, t3, i3) { + super(), this._checkItemIsArchBaseObject(this._infoParmCtor("matchArchBaseCoreObject"), e3), this._checkItemIsArchTraverseContext(this._infoParmCtor("archTraverseContext"), t3), this._checkItemIsArchTraverseSettings(this._infoParmCtor("archTraverseSettings"), i3), this._matchArchBaseCoreObject = e3, this._traverseContext = t3, this._traverseSettings = i3; } - get rawNluAsINluDomainVersion() { - return this.parentFlow.nlu; + get matchObject() { + return this._matchArchBaseCoreObject; } - getEntityTypeNames() { - return o.EntityUtil.getEntityTypeNames(this.rawNluAsINluDomainVersion); + get displayTypeName() { + return "ArchTraverseInfo"; } - getEntityNames() { - return o.EntityUtil.getEntityNames(this.rawNluAsINluDomainVersion); + get isArchCallbackTraverseInfo() { + return true; } - getProperlyCasedEntityTypeName(e3) { - var t3; - return null === (t3 = o.EntityUtil.getEntityTypeByName(this.rawNluAsINluDomainVersion, e3)) || void 0 === t3 ? void 0 : t3.name; + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - loadConfiguration(e3) { - var t3, i3, n3; - 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) => { - this.slotSettingsMap[e4] = new A.default(e4, this.parentFlow, this); - }), 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 v(this.archNlu); - e4.isFromWorkbench = true, p.nluDomainManager.addItem(e4, true); - } + get context() { + return this._traverseContext; } - unpackRawNlu(e3) { - if (e3 && s.default.isString(e3.rawNlu)) try { - return e3.rawNluCompressionFormat === m.default.compressionFormats.none || C.error("Temporarily falling back to JSON.parse of raw NLU meta data because no compression format available. This shouldn't be happening."), JSON.parse(e3.rawNlu); - } catch (t3) { - C.errorWithStack(t3, `Failed to unpack nlu - compressionFormat: '${e3.rawNluCompressionFormat}', raw: '${e3.rawNlu}'`); - } + get settings() { + return this._traverseSettings; } - initializeDesignTime() { - const e3 = Object.create(null, { initializeDesignTime: { get: () => super.initializeDesignTime } }); - return n2.__awaiter(this, void 0, void 0, function* () { - e3.initializeDesignTime.call(this), this.archNlu || (this.archNlu = this.getArchNluWithFallback()), s.default.each(this.intentSettingsMap, (e4) => e4.initializeDesignTime()), s.default.each(this.slotSettingsMap, (e4) => e4.initializeDesignTime()), this.dynamicSlotTypesMap.initializeDesignTime(), this.dynamicTimeslotTypeList.initializeDesignTime(), this.parentFlow.isReadOnly || this.updateIntents(this.parentFlow.botFlowSettings.nluDomain); - }); + } + t2.default = o; + }, 64079(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + static create(e3, t3) { + return new o(e3, t3); } - get rawNlu() { - var e3; - return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.rawNlu; + constructor(e3, t3) { + super(), this._checkItemIsArchFilterObject(this._infoParmCtor("traverseFilter"), e3), this._checkItemIsValidFunction(this._infoParmCtor("callbackFunction"), t3), this._callbackCount = 0, this._callbackFunction = t3, this._shouldContinue = true, this._traverseFilter = e3; } - set rawNlu(e3) { - const t3 = this._model.rawNlu; - this._model.rawNlu = e3, (this.parentFlow.isImporting || (s.default.isObject(t3) ? JSON.stringify(t3) : t3) !== (s.default.isObject(e3) ? JSON.stringify(e3) : e3)) && this.parentFlow.updateWorkbench(); + get callbackFunction() { + return this._callbackFunction; } - setRawNluFromWorkbench(e3) { - if (s.default.isString(e3)) try { - e3 = JSON.parse(e3); - } catch (t3) { - C.errorWithStack(t3, `Failed to parse string rawNlu from Workbench: '${e3}'`); - } - else s.default.isObject(e3) && (e3 = s.default.deepClone(e3)); - (null == e3 ? void 0 : e3.nluDomainVersion) && (e3 = e3.nluDomainVersion), this._model.rawNlu = e3; + get callbackCount() { + return this._callbackCount; } - setRawNluAndCompressionFormat(e3, t3 = m.default.compressionFormats.none, i3 = this) { - i3 === this || s.default.isString(e3) || s.default.isNullOrUndefined(e3) || (e3 = JSON.stringify(e3)), i3.rawNlu = e3, i3.rawNluCompressionFormat = t3; + get displayTypeName() { + return "ArchTraverseSettings"; } - removeSlotByVariableId(e3) { - const t3 = this.getSlotNameForVariableId(e3); - t3 && this.removeSlotBySlotName(t3); + get filter() { + return this._traverseFilter; } - search(e3) { - s.default.each(this.intentSettingsMap, (t3) => e3.addToQueue(t3)), s.default.each(this.slotSettingsMap, (t3) => e3.addToQueue(t3)), this.dynamicSlotTypesMap.search(e3), this.dynamicTimeslotTypeList.search(e3); + incrementCallbackCount() { + this._callbackCount++; } - dynamicSlotTypesListIsAvailable() { - var e3; - return ((null === (e3 = this.archNlu) || void 0 === e3 ? void 0 : e3.entityTypes) || []).some((e4) => r2.EntityUtil.isEntityTypeOfTypeDynamicList(e4)); + get isArchTraverseSettings() { + return true; } - dynamicTimeslotListIsAvailable() { - var e3; - return this.parentFlow.definition.supportsDynamicTimeslots && ((null === (e3 = this.archNlu) || void 0 === e3 ? void 0 : e3.entityTypes) || []).some((e4) => r2.EntityUtil.isEntityTypeOfTypeDynamicDateTime(e4)); + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); } - updateDependencies() { - s.default.each(this.intentSettingsMap, (e3) => e3.updateDependencies()), this.dynamicSlotTypesMap.updateDependencies(), this.dynamicTimeslotTypeList.updateDependencies(); + get shouldContinue() { + return this._shouldContinue; } - get allowableIntentValues() { - return this._allowableIntentValues; + set shouldContinue(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "shouldContinue"), e3), this._shouldContinue = e3; } - updateAllowableIntentValues(e3) { - this._allowableIntentValues = [], s.default.each(e3, (e4) => { - this._allowableIntentValues.push({ id: e4, displayString: e4 }); - }), this._allowableIntentValues.sort((e4, t3) => (null == e4 ? void 0 : e4.displayString) > (null == t3 ? void 0 : t3.displayString) ? 1 : (null == e4 ? void 0 : e4.displayString) < (null == t3 ? void 0 : t3.displayString) ? -1 : 0); + } + t2.default = o; + }, 44542(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(37819)), r = n2.__importDefault(i2(52852)), a = n2.__importDefault(i2(93078)), s = n2.__importDefault(i2(64079)), l = { ArchTraverseContext: o.default, ArchTraverseHierarchyItem: r.default, ArchTraverseInfo: a.default, ArchTraverseSettings: s.default }; + t2.default = l; + }, 51953(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(67336)); + class a extends r.default { + constructor(e3) { + super(e3), this.isArchValidationIssue = true, this._archObject = this.coreFactory.createArchWrapper(e3.item), this._errors = e3.errors && e3.errors.length > 0 ? e3.errors : void 0, this._rollupErrors = e3.rollupErrors && e3.rollupErrors.length > 0 ? e3.rollupErrors : void 0, this._rollupWarnings = e3.rollupWarnings && e3.rollupWarnings.length > 0 ? e3.rollupWarnings : void 0, this._warnings = e3.warnings && e3.warnings.length > 0 ? e3.warnings : void 0; } - updateIntentTaskMappings(e3) { - this._model.mappings.intentsToReusableTasks = {}, s.default.each(e3, (e4) => { - this.addIntentTaskMapping(e4); - }); + get displayTypeName() { + return "ArchValidationIssue"; } - updateSlotGrammarMappings(e3) { - this._model.mappings.slotsToGrammars = {}, e3 && Object.entries(e3).forEach((e4) => { - this.addSlotGrammarMapping(e4[0], e4[1]); - }); + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this.errorCount > 0 && this._appendLogStrErrorCount(e3, this.errorCount), this.warningCount > 0 && this._appendLogStrWarningCount(e3, this.warningCount), this.rollupErrorCount > 0 && this._appendLogStrRollupErrorCount(e3, this.rollupErrorCount), this.rollupWarningCount > 0 && this._appendLogStrRollupWarningCount(e3, this.rollupWarningCount), this._appendLogStrArchObject(e3, this._archObject ? this._archObject.logStr : "< no validation object>"), this._createLogStrFromParts(e3); } - updateListPickerMappings(e3) { - this._model.mappings.listPickerMappings = e3 || {}; + get archObject() { + return (function(e3) { + let t3 = e3; + for (; ; ) { + const e4 = t3; + if (!e4.isArchBaseValue || !e4.parent) return t3; + t3 = e4.parent; + } + })(this._archObject); } - isMultiSelectSlot(e3) { - return this.listPickerMappings && "multiple" === this.listPickerMappings[e3]; + get errorCount() { + return this._errors ? this._errors.length : 0; } - addIntentTaskMapping(e3) { - const t3 = e3.intentName; - t3.trim() === t3 && t3.length ? this.intentsToReusableTasksMapping[t3] = { id: e3.taskId } : C.error("invalid intent name detected while creating intent to task map"); + get errors() { + var e3; + return null === (e3 = this._errors) || void 0 === e3 ? void 0 : e3.map((e4) => e4.text); } - addListPickerMapping(e3, t3, i3) { - this.listPickerMappings[e3] ? s.default.extend(this.listPickerMappings[e3], t3) : this.listPickerMappings[e3] = t3, i3 && (this.updateIntents(this.parentFlow.botFlowSettings.nluDomain), _.emitter.emit(_.slotListPickerMappingUpdated)); + get hasErrors() { + return this.errorCount > 0 || this.rollupErrorCount > 0; } - addSlotGrammarMapping(e3, t3) { - e3 && e3.trim() === e3 && e3.length ? this.slotsToGrammarsMapping[e3] ? s.default.extend(this.slotsToGrammarsMapping[e3], t3) : this.slotsToGrammarsMapping[e3] = t3 : C.error("invalid slot name detected while creating grammar to slot map"); + get hasNoErrors() { + return !this.hasErrors; } - addSlotGrammarSttEngineMapping(e3, t3) { - e3 && e3.trim() === e3 && e3.length ? this.slotsToGrammarsMapping[e3] ? this.slotsToGrammarsMapping[e3].sttEngine = t3 : this.slotsToGrammarsMapping[e3] = { id: "", sttEngine: t3 } : C.error("invalid slot name detected while creating stt engine to slot map"); + get hasErrorsOrWarnings() { + return this.hasErrors || this.hasWarnings; } - updateDynamicSlotTypes(e3) { - return !!h.isFeatureAvailable(T.default.botFlowsDynamicSlotTypeFeature) && this.updateSlotTypeExpressionContainerItems(r2.EntityTypeMechanismType.DynamicList, this.dynamicSlotTypesMap, e3 || this.archNlu); + get hasNoErrorsOrWarnings() { + return !this.hasErrorsOrWarnings; } - updateDynamicTimeslotTypes(e3) { - return !!this.parentFlow.definition.supportsDynamicTimeslots && this.updateSlotTypeExpressionContainerItems(r2.EntityTypeMechanismType.DynamicDateTime, this.dynamicTimeslotTypeList, e3 || this.archNlu); + get hasNoWarnings() { + return !this.hasWarnings; } - updateMutedUtteranceIds(e3) { - this.setIntentHealthInfo(Object.assign(Object.assign({}, this.intentHealthInfo || {}), { mutedUtterances: e3 })); + get hasWarnings() { + return this.warningCount > 0 || this.rollupWarningCount > 0; } - updateIntents(e3) { - var t3; - if (!e3) return; - { - const t4 = e3.getSlotsWithSameNameButDiffType(); - if (t4.length) { - 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 = {}; - const i3 = []; - e3.entities && e3.entities.forEach((t4) => { - var n4, o3; - const a2 = e3.getEntityTypeMechanismForArchNluEntity(t4); - a2 && a2.toLowerCase() !== r2.EntityTypeMechanismType.List && a2.toLowerCase() !== r2.EntityTypeMechanismType.DynamicList && (null === (n4 = this.listPickerMappings) || void 0 === n4 ? void 0 : n4[t4.name]) && delete this.listPickerMappings[t4.name], f.getVariableForNluEntity(this.parentFlow, t4.name, t4.type, a2, this.isMultiSelectSlot(t4.name)); - const s2 = t4.name; - i3.push(s2); - const l2 = null === (o3 = e3.intents) || void 0 === o3 ? void 0 : o3.filter((e4) => { - var i4; - return (null === (i4 = e4.entityNameReferences) || void 0 === i4 ? void 0 : i4.indexOf(t4.name)) > -1; - }).map((e4) => e4.name); - this.slotToReferencingIntentsMapping[t4.name] = l2 || [], this.slotToEntityTypesMapping[s2] = t4.type, this._addSlotToSlotMappings(s2); - }), s.default.each(e3.intents, (e4) => { - var t4; - null === (t4 = e4.entityTypeBindings) || void 0 === t4 || t4.forEach((t5) => { - f.getVariableForNluEntity(this.parentFlow, t5.entityName, t5.entityType, void 0, this.isMultiSelectSlot(t5.entityName)); - const n4 = t5.entityName; - i3.push(n4); - const r3 = this.slotToReferencingIntentsMapping[n4]; - s.default.isArray(r3) ? r3.push(e4.name) : this.slotToReferencingIntentsMapping[n4] = [e4.name], this.slotToEntityTypesMapping[n4] = t5.entityType, this._addSlotToSlotMappings(n4); - }), this.intentSettingsMap[e4.name] || (this.intentSettingsMap[e4.name] = new S.default(e4.name, this.parentFlow, this), this.intentSettingsMap[e4.name].createNewConfirmationExpression()); - }), s.default.keys(this.slotToSlotVariablesMapping).forEach((e4) => { - if (!i3.includes(e4)) { - 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(I.variable.slotVariableNotUsedButInPublishedSignature, true)) : e5.doNotCleanupIfOrphanedSlot || (this.parentFlow.variableGroup.removeVariable(e5), this.removeSlotByVariableId(t4))); - } - } - }); - const n3 = this.parentFlow.variableGroup.getSlotVariables(), o2 = s.default.values(this.slotToSlotVariablesMapping); - n3.forEach((e4) => { - o2.includes(e4.id) || e4.isInPublishedFlowSchema || this.parentFlow.variableGroup.removeVariable(e4); + hasErrorString(e3) { + return this._checkItemIsValidLiteralString(this._infoParm("errorString", "hasErrorString"), e3), void 0 !== o.default.find(this._errors, function(t3) { + return t3.text === e3; + }) || void 0 !== o.default.find(this._rollupErrors, function(t3) { + return t3 === e3; }); - for (const e4 in this.slotToSlotVariablesMapping) { - const t4 = this.slotToSlotVariablesMapping[e4]; - this.parentFlow.variableGroup.getExpandedVariable(t4) || delete this.slotToSlotVariablesMapping[e4]; - } - this.parentFlow.initializeDesignTimeCalled && _.emitter.emit(_.nluIntentConfigurationUpdated, this.parentFlow); } - validate(e3) { - super.validate(e3), e3.isDeep && !this.parentFlow.isReadOnly && this.updateIntents(this.parentFlow.botFlowSettings.nluDomain), s.default.each(this.intentSettingsMap, (t3) => t3.validate(e3)), this.dynamicSlotTypesMap.validate(e3), this.dynamicTimeslotTypeList.validate(e3), s.default.isEmpty(this.slotsToGrammarsMapping) || s.default.each(this.slotsToGrammarsMapping, (t3, 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)(I.errors.grammarOnSlotError, i3); - e3.addError(this.parentFlow, t4); - } + hasWarningString(e3) { + return this._checkItemIsValidLiteralString(this._infoParm("warningString", "hasWarningString"), e3), void 0 !== o.default.find(this._warnings, function(t3) { + return t3.text === e3; + }) || void 0 !== o.default.find(this._rollupWarnings, function(t3) { + return t3 === e3; }); } - updateSlotTypeExpressionContainerItems(e3, t3, i3) { - const n3 = {}, r3 = s.default.filter(null == i3 ? void 0 : i3.entityTypes, (t4) => t4.mechanism.type.toLowerCase() === e3); - if (s.default.each(r3, (e4) => { - (null == e4 ? void 0 : e4.name) && (n3[e4.name] = true, t3.getItem(e4.name) || t3.add(e4, e4.name)); - }), !i3) return; - let o2 = false; - for (let e4 = t3.items.length - 1; e4 >= 0; e4--) { - const i4 = t3.items[e4]; - n3[i4.name] || (t3.removeChild(i4), o2 = true); - } - return o2; - } - _addSlotToSlotMappings(e3) { - if (this.slotSettingsMap[e3]) return; - const t3 = new A.default(e3, this.parentFlow, this); - this.slotSettingsMap[e3] = t3, this._model.slots[e3] = t3; + getSummaryStr(e3, t3) { + t3 || (t3 = ""); + const i3 = []; + return i3.push(t3 + this.logStr), o.default.each(this.errors, function(e4) { + i3.push(t3 + " Error: " + e4 ? e4 : "unknown"); + }), o.default.each(this.warnings, function(e4) { + i3.push(t3 + " Warning: " + e4 ? e4 : "unknown"); + }), o.default.each(this.rollupErrors, function(e4) { + i3.push(t3 + " Rollup Error: " + e4 ? e4 : "unknown"); + }), o.default.each(this.rollupWarnings, function(e4) { + i3.push(t3 + " Rollup Warning: " + e4 ? e4 : "unknown"); + }), i3.join("\n"); } - get slotsToGrammarsMapping() { - return this._model.mappings.slotsToGrammars; + get rollupErrorCount() { + return this._rollupErrors ? this._rollupErrors.length : 0; } - get listPickerMappings() { - var e3, t3; - return null === (t3 = null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.mappings) || void 0 === t3 ? void 0 : t3.listPickerMappings; + get rollupErrors() { + return this._rollupErrors; } - get intentsToReusableTasksMapping() { - return this._model.mappings.intentsToReusableTasks; + get rollupWarningCount() { + return this._rollupWarnings ? this._rollupWarnings.length : 0; } - get slotToSlotVariablesMapping() { - return this._model.mappings.slotToSlotVariables; + get rollupWarnings() { + return this._rollupWarnings; } - get slotToEntityTypesMapping() { - return this._model.mappings.slotToEntityTypes; + get warningCount() { + return this._warnings ? this._warnings.length : 0; } - get slotToReferencingIntentsMapping() { - return this._model.mappings.slotToReferencingIntents; + get warnings() { + var e3; + return null === (e3 = this._warnings) || void 0 === e3 ? void 0 : e3.map((e4) => e4.text); } } - t2.default = b; - }, 86833: (e2, t2, i2) => { + t2.default = a; + }, 9436(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)), 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; - if (i3 && (r3 ? t3.setParseWarning(i3) : t3.setParseError(i3)), (n3 || i3) && !t3.options.suppressParserValidationMessages) { - if (t3.options.isExpressionPart) return; - n3 && o.default.isString(null === (a2 = t3._parseResult) || void 0 === a2 ? void 0 : a2.resultMessage) && (n3 += ` - ${t3._parseResult.resultMessage}`), r3 ? e3.addWarning(t3, n3 || i3, void 0, true) : e3.addError(t3, n3 || i3, void 0, true); - } - return false; - } - getLiteral(e3, t3, i3, n3) { - const r3 = g.globalTypes.string; - if (!i3 && e3.type.isMatch(r3, m.settings.typeOf)) return h.expressionItems.literal(1, t3, r3, n3); - const o2 = h.expressionItems.literal(1, t3, e3.type, n3); - return i3 && (o2.val = i3), o2; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(51953)), a = n2.__importDefault(i2(67336)); + class s extends a.default { + constructor(e3) { + super(e3), this.isArchValidationResults = true, this._coreValidationResults = e3, this._coreIssues = e3.issuesMap; } - getNull(e3) { - return h.expressionItems.nul(1, e3.type); + get displayTypeName() { + return "ArchValidationResults"; } - getEmp(e3) { - return h.expressionItems.emp(e3.type); + get logStr() { + const e3 = []; + this._appendLogStrType(e3, this.displayTypeName), this.errorCountTotal > 0 && this._appendLogStrErrorCountTotal(e3, this.errorCountTotal), this.warningCountTotal > 0 && this._appendLogStrWarningCountTotal(e3, this.warningCountTotal), this.rollupErrorCountTotal > 0 && this._appendLogStrRollupErrorCountTotal(e3, this.rollupErrorCountTotal), this.rollupWarningCountTotal > 0 && this._appendLogStrRollupWarningCountTotal(e3, this.rollupWarningCountTotal); + const t3 = this._getCoreViewModel(); + if (t3 && t3.parentFlow) { + let i3 = this.coreFactory.createArchWrapper(t3.parentFlow); + this._appendLogStrArchObject(e3, i3 ? i3.logStr : "< no validation object>"), i3 = void 0; + } + return this._createLogStrFromParts(e3); } - parse(e3) { - const t3 = new _.ParseResult(e3); - return (0, p.parseExpression)(t3), t3; + _getIssueForObject(e3) { + if (e3.id) return o.default.find(this.issues, function(t3) { + return t3.archObject && t3.archObject.id === e3.id; + }); } - addWarning(e3, t3, i3) { - this._addErrorOrWarning(e3, t3, i3, void 0, true); + get errorCountTotal() { + let e3 = 0; + return o.default.each(this.issues, function(t3) { + e3 += t3.errorCount; + }), e3; } - addError(e3, t3, i3) { - this._addErrorOrWarning(e3, t3, i3); + get issues() { + const e3 = []; + return o.default.each(this._coreIssues, function(t3) { + e3.push(new r.default(t3)); + }), e3; } - validateExpression(e3, t3) { - if (e3 && !e3.shouldValidate()) return; - const i3 = this._validateTypeAvailability(t3, e3); - (e3.isDeep || e3.forceTextReprocess) && t3.processText(true); - const n3 = t3; - if (t3.isBlank) { - 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, 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)); - } else if (n3.isExpressionMode) return this._addErrorOrWarning(e3, t3, f.expression.notSet, (0, r2.sprintf)(f.expression.notSetWithContext, t3.label)); - } - if (!n3.mode || n3.isExpressionMode || n3.isBuilderMode || n3.isLiteralMode && t3.type.isCustomType) { - if (t3.hasError) { - if (!t3.isInternal) return this._addErrorOrWarning(e3, t3, void 0, (0, r2.sprintf)(f.errors.invalidValue, t3.label)); - e3.addError(t3, f.expression.internalErrorExpression, void 0, true); - } - return t3.hasWarning && this._addErrorOrWarning(e3, t3, void 0, t3.resultMessage, true), true; - } - if (n3.isLiteralMode) { - if (i3 && t3.clearParseResult(true), t3.options && t3.options.facets) { - const i4 = t3.options.facets.validateExpressionItem(t3.config, t3); - i4.isValid && !i4.isWarning || this._addErrorOrWarning(e3, t3, i4.message, t3.label ? (0, r2.sprintf)(l.default.facets.errorWithExpressionLabel, i4.message, t3.label) : i4.message, i4.isWarning); - } - if (n3.val && t3.type.isMatch(g.globalTypes.prompt, m.settings.exact)) { - const i4 = s.getItem(n3.val); - i4 && (i4.isMissingAudioOrTtsForLanguages(t3.parentFlow, t3.languages, n3) || this._addErrorOrWarning(e3, t3, t3.getPromptMissingResourcesErrorString(i4))); - } - if (t3.options && t3.options.customLiteralValidator) { - const i4 = t3.options.customLiteralValidator(t3); - 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); - e4 && t3.addVariableOrPromptReference(e4.expressionName); - } - return !t3.setLiteralError(!t3.type.validateLiteral(e3, n3)); - } - if (n3.isVariableMode) { - let o2; - if (i3 && t3.clearParseResult(), t3.parentFlow && (o2 = t3.parentFlow.variableGroup.getVariableFromExpression(n3), o2)) { - if (o2.isUnavailable) return this._addErrorOrWarning(e3, t3, (0, r2.sprintf)(f.expression.unavailableVariable, t3.text)); - if (n3.isOutput && o2.isReadOnly) return this._addErrorOrWarning(e3, t3, (0, r2.sprintf)(f.expression.variableIsReadOnly, o2.name)); - if (o2.isSecure && (!t3.options || !t3.options.allowSecure)) return this._addErrorOrWarning(e3, t3, (0, r2.sprintf)(f.expression.secureVariableUsageNotAllowed, o2.name)); - if (!t3.allowExpandedVariableReference(o2)) return this._addErrorOrWarning(e3, t3, f.audio.errorInvalidVariable); - } - const a2 = n3.checkVariableModeType(); - return a2 ? this._addErrorOrWarning(e3, t3, a2) : !!t3.type.validateVariable(e3, n3) && (!(t3.text && !o2 && t3.isEmpty) || this._addErrorOrWarning(e3, t3, f.expression.noVariableSet)); - } - return !n3.isNoValueMode || (t3.clearParseResult(), true); + getErrorsForObject(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getErrorsForObject"), e3); + const t3 = this._getIssueForObject(e3); + if (t3 && t3.errors) return t3.errors; } - _validateTypeAvailability(e3, t3) { - const i3 = e3.type.getFlowTypesUnavailableForExpression(e3); - if (!i3 || 0 === i3.length) return true; - let n3, o2; - if (e3.parentFlow.definition.hasDestinationFlowTypes && !e3.parentFlow.isEmbeddedFlow) { - const t4 = e3.parentFlow.destinationFlowTypes.filter((e4) => i3.indexOf(e4) >= 0); - if (e3.isOptional && (null == t4 ? void 0 : t4.length)) return true; - o2 = n3 = (0, r2.sprintf)(f.expression.unavailableDataTypeForFlowTypes, e3.type.displayString, u.getFlowTypesDisplayString(i3)); - } else n3 = (0, r2.sprintf)(f.expression.unavailableDataType, e3.type.displayString), o2 = e3.label ? (0, r2.sprintf)(f.expression.unavailableDataTypeWithContext, e3.type.displayString, e3.label) : n3; - return this._addErrorOrWarning(t3, e3, n3, o2), false; + getIssueForObject(e3) { + return this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getIssueForObject"), e3), this._getIssueForObject(e3); } - }(), t2.default = t2.expressionParser; - }, 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)), 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); + getRollupErrorsForObject(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getRollupErrorsForObject"), e3); + const t3 = this._getIssueForObject(e3); + if (t3) return t3.rollupErrors; } - getDetails() { - const e3 = this.variables ? this.variables.items : null; - if (e3 && e3.length) { - const t3 = [], 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, d.sprintf)(c.default.updateVariables.labelValue, e4.variable.text, r3)); - }), new a.ActionDetails(t3, i3); - } - return null; + getRollupWarningsForObject(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getRollupWarningsForObject"), e3); + const t3 = this._getIssueForObject(e3); + if (t3) return t3.rollupWarnings; } - static get managedProperties() { - return [{ property: "variables", label: h.updateVariables.updateStatements, variables: true, options: p.VariableOptions.create(), yamlOptions: m.createYamlOptions("variables", (e3) => e3.setPropertyName("statements")) }]; + getWarningsForObject(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "getWarningsForObject"), e3); + const t3 = this._getIssueForObject(e3); + if (t3 && t3.warnings) return t3.warnings; } - validate(e3) { - const t3 = this.variables ? this.variables.items : null; - t3 && 0 !== t3.length || e3.addWarning(this, h.updateVariables.noStatementError), super.validate(e3); + getSummaryStr(e3, t3, i3) { + i3 || (i3 = ""); + const n3 = []; + return t3 && n3.push(i3 + this.logStr), this.issues.length > 0 ? o.default.each(this.issues, function(t4) { + n3.push(t4.getSummaryStr(e3, i3 + " ")); + }) : n3.push(i3 + " No validation issues."), n3.join("\n"); } - } - 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)), 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; - function o() { - } - const a = new o(); - o.prototype.connect = r2.request("POST", "{public-api.apps}/api/v2/auth/sessions", n2), o.prototype.disconnect = r2.request("DELETE", "{public-api.apps}/api/v2/auth/sessions/{id}"), e2.exports = a; - }, 87016: (e2) => { - "use strict"; - e2.exports = require("url"); - }, 87022: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SkillType = void 0; - 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); + getSummaryStrForObject(e3) { + const t3 = this.getIssueForObject(e3); + return t3 ? t3.getSummaryStr(true) : ""; } - get className() { - return "SkillType"; + get hasErrors() { + return void 0 !== o.default.find(this.issues, function(e3) { + return e3.hasErrors; + }); } - createExpressionOptionClass() { - return new r2.ExpressionTypeNetworkObjectOptions(this.isCollection); + get hasNoErrors() { + return !this.hasErrors; } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindSkill", e3, [u.globalTypes.string]); + get hasErrorsOrWarnings() { + return void 0 !== o.default.find(this.issues, function(e3) { + return e3.hasErrorsOrWarnings; + }); } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindSkill(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get hasNoErrorsOrWarnings() { + return !this.hasErrorsOrWarnings; } - applyLiteralFromModel(e3, t3, i3, n3) { - (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); + get hasWarnings() { + return void 0 !== o.default.find(this.issues, function(e3) { + return e3.hasWarnings; + }); } - get listManager() { - return o.skillManager; + get hasNoWarnings() { + return !this.hasWarnings; } - } - 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), 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]" === 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 d(t3); - if (i3.push(e3, true), i3.err) throw i3.msg || s[i3.err]; - return i3.result; - } - 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]" === 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, 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); - }, d.prototype.onData = function(e3) { - this.chunks.push(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 = d, t2.inflate = p, t2.inflateRaw = function(e3, t3) { - return (t3 = t3 || {}).raw = true, p(e3, t3); - }, t2.ungzip = p; - }, 87115: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3), this._targetUser = this.coreFactory.createArchWrapper(e3.user); + objectErrorCount(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectErrorCount"), e3); + const t3 = this._getIssueForObject(e3); + return (null == t3 ? void 0 : t3.errorCount) || 0; } - get _actionTypeId() { - return r2.playUserGreetingActionType; + objectWarningCount(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectWarningCount"), e3); + const t3 = this._getIssueForObject(e3); + return (null == t3 ? void 0 : t3.warningCount) || 0; } - get displayTypeName() { - return this._scriptingName; + objectHasErrorString(e3, t3) { + const i3 = this.getIssueForObject(e3); + return !!i3 && i3.hasErrorString(t3); } - get isArchActionPlayUserGreeting() { - return true; + objectHasErrors(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasErrors"), e3); + const t3 = this._getIssueForObject(e3); + return !!t3 && t3.hasErrors; } - get targetUser() { - return this._targetUser; + objectHasWarnings(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasWarnings"), e3); + const t3 = this._getIssueForObject(e3); + return !!t3 && t3.hasWarnings; } - } - t2.default = a; - }, 87129: (e2, t2, i2) => { - const n2 = i2(28730), { repeatMenuActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 87145: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = { ArchDivision: i2(31635).__importDefault(i2(69014)).default }; - t2.default = n2; - }, 87200: (e2, t2, i2) => { - const n2 = i2(35515), r2 = i2(84940), o = i2(36019).default, a = i2(29526); - function s() { - } - const l = new s(); - s.prototype.featureToggles = o.request("GET", "{public-api.apps}/api/v2/featuretoggles", r2), s.prototype.orgInfo = o.request("GET", "{public-api.apps}/api/v2/organizations/me", r2), s.prototype.getTimeZones = o.request("GET", "{public-api.apps}/api/v2/telephony/providers/edges/timezones?pageSize=1000", a), s.prototype.getAuthToken = o.request("POST", "{auth}/token", r2), s.prototype.mainAppHtml = o.request("GET", n2.values.local ? "http://" + window.location.host : "{purecloud.uri}/architect"), s.prototype.reportError = o.request("POST", "{public-api.apps}/api/v2/diagnostics/support"), s.prototype.trace = o.request("POST", "{public-api.apps}/api/v2/diagnostics/trace", null), l.featureToggles.addOptions({ ignoreBadResponse: true, allowRequestChunking: true, chunkingParamName: "feature", chunkResultsHandling: "chunkResponseToKeyValue" }), l.trace.addOptions({ ignoreTimeouts: true, ignoreBadResponse: true, suppressSuccessTrace: true }), l.orgInfo.addOptions({ ignoreBadResponse: true }), l.mainAppHtml.addOptions({ ignoreBadResponse: true }), e2.exports = l; - }, 87281: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__generator || function(e3, t3) { - var i3, n3, r3, o2, a2 = { label: 0, sent: function() { - if (1 & r3[0]) throw r3[1]; - return r3[1]; - }, trys: [], ops: [] }; - return o2 = { next: s2(0), throw: s2(1), return: s2(2) }, "function" == typeof Symbol && (o2[Symbol.iterator] = function() { - return this; - }), o2; - function s2(o3) { - return function(s3) { - return (function(o4) { - if (i3) throw new TypeError("Generator is already executing."); - for (; a2; ) try { - if (i3 = 1, n3 && (r3 = 2 & o4[0] ? n3.return : o4[0] ? n3.throw || ((r3 = n3.return) && r3.call(n3), 0) : n3.next) && !(r3 = r3.call(n3, o4[1])).done) return r3; - switch (n3 = 0, r3 && (o4 = [2 & o4[0], r3.value]), o4[0]) { - case 0: - case 1: - r3 = o4; - break; - case 4: - return a2.label++, { value: o4[1], done: false }; - case 5: - a2.label++, n3 = o4[1], o4 = [0]; - continue; - case 7: - o4 = a2.ops.pop(), a2.trys.pop(); - continue; - default: - if (!((r3 = (r3 = a2.trys).length > 0 && r3[r3.length - 1]) || 6 !== o4[0] && 2 !== o4[0])) { - a2 = 0; - continue; - } - if (3 === o4[0] && (!r3 || o4[1] > r3[0] && o4[1] < r3[3])) { - a2.label = o4[1]; - break; - } - if (6 === o4[0] && a2.label < r3[1]) { - a2.label = r3[1], r3 = o4; - break; - } - if (r3 && a2.label < r3[2]) { - a2.label = r3[2], a2.ops.push(o4); - break; - } - r3[2] && a2.ops.pop(), a2.trys.pop(); - continue; - } - o4 = t3.call(e3, a2); - } catch (e4) { - o4 = [6, e4], n3 = 0; - } finally { - i3 = r3 = 0; - } - if (5 & o4[0]) throw o4[1]; - return { value: o4[0] ? o4[1] : void 0, done: true }; - })([o3, s3]); - }; + objectHasNoErrors(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasNoErrors"), e3); + const t3 = this._getIssueForObject(e3); + return !t3 || !t3.hasErrors; } - }; - 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 c, d, p, _; - function h() { - var e4; - return n2(this, function(n3) { - switch (n3.label) { - case 0: - e4 = _, n3.label = 1; - case 1: - return t3 && !t3(e4) ? [3, 4] : [4, p(e4)]; - case 2: - n3.sent(), n3.label = 3; - case 3: - return e4 = i3(e4), [3, 1]; - case 4: - return [2]; - } - }); + objectHasErrorsOrWarnings(e3) { + this._checkItemIsArchBaseObjectWithId(this._infoParm("archObjectWithId", "objectHasErrorsOrWarnings"), e3); + const t3 = this._getIssueForObject(e3); + return !!t3 && t3.hasErrorsOrWarnings; } - 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); - }; - }, 87290: (e2, t2, i2) => { - function n2() { - this.bot = void 0, this.id = void 0, this.language = void 0, this.name = void 0, this.status = void 0, this.intents = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "LexAlias"), Object.defineProperties(n2.prototype, { label: { get: function() { - return this.aliasName; - }, set: function(e3) { - this.aliasName = e3; - } } }), 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)), c = i2(80428), d = n2.__importDefault(i2(4648)), p = i2(47957); - class _ extends u.default { - static get managedProperties() { - 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 }]; + objectHasNoErrorsOrWarnings(e3) { + const t3 = this.getIssueForObject(e3); + return !t3 || t3.hasNoErrorsOrWarnings; } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + objectHasNoWarnings(e3) { + const t3 = this.getIssueForObject(e3); + return !t3 || t3.hasNoWarnings; } - validate(e3) { - 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)(p.transcription.notValidForLanguages, a.getLanguageNameAndCodeDisplay(t3))), super.validate(e3); + objectHasWarningString(e3, t3) { + const i3 = this.getIssueForObject(e3); + return !!i3 && i3.hasWarningString(t3); } - } - _.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 }); - const n2 = i2(31635), r2 = n2.__importStar(i2(36781)), o = n2.__importStar(i2(58380)), a = n2.__importDefault(i2(92140)); - class s { - constructor(e3, t3) { - Object.defineProperties(this, { _attemptCounter: { value: 0, writable: true }, _checkIntervalMs: { value: a.default.isActualNumber(t3) && t3 > 0 ? t3 : 35, writable: true }, _callbackFunction: { value: e3, writable: true } }), this._processCallbackAttempt(); + get parentFlow() { + return this.coreFactory.createArchWrapper(this._coreValidationResults.parentFlow); } - static create(e3, t3) { - if (a.default.isFunction(e3)) return new s(e3, t3); + get rollupErrorCountTotal() { + let e3 = 0; + return o.default.each(this.issues, function(t3) { + e3 += t3.rollupErrorCount; + }), e3; } - _processCallbackAttempt() { - this._timeoutVal = setTimeout(() => n2.__awaiter(this, void 0, void 0, function* () { - if (!this._callbackFunction) return; - let e3 = !o.isFiringEvents() && !r2.isFiringEvents(); - if (e3 || (this._attemptCounter++, this._attemptCounter >= 30 && (e3 = true)), e3) try { - yield this._callbackFunction(); - } catch (e4) { - } finally { - this.destroy(); - } - else this._processCallbackAttempt(); - }), this._checkIntervalMs); + get rollupWarningCountTotal() { + let e3 = 0; + return o.default.each(this.issues, function(t3) { + e3 += t3.rollupWarningCount; + }), e3; } - destroy() { - this._attemptCounter = void 0, this._callbackFunction = void 0, clearInterval(this._timeoutVal); + get warningCountTotal() { + let e3 = 0; + return o.default.each(this.issues, function(t3) { + e3 += t3.warningCount; + }), e3; } } t2.default = s; - }, 87340: (e2, t2, i2) => { + }, 85003(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(33923)); - class a extends o.default { - constructor(e3, t3) { - super(e3, t3); + const n2 = i2(31635), o = n2.__importDefault(i2(51953)), r = n2.__importDefault(i2(9436)), a = { ArchValidationIssue: o.default, ArchValidationResults: r.default }; + t2.default = a; + }, 97847(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { + constructor(e3) { + super(e3), this._coreChoice = e3; } - get className() { - return "ContainedDataPairList"; + get displayTypeName() { + return "ArchChoice"; } - getConfiguration(e3, t3, i3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const n3 = {}; - return r2.default.each(this.contents, (o2) => { - r2.default.extend(n3, o2.getConfiguration(e3, t3, i3)); - }), r2.default.ensureYamlNoneTrue(n3), r2.default.tryWrapObject(n3, this.name); - } - return this.model; + get logStr() { + return this.logStrTypeOnly; } get name() { - return this.model.name; + return this._coreChoice.name; } - get isContainedDataPairList() { + get enabled() { + return this._coreChoice.isEnabled; + } + set enabled(e3) { + const t3 = this._infoPropSet("index", "enabled"); + this._checkItemIsValidLiteralBool(t3, e3, false), this._coreChoice.isEnabled = e3; + } + get isArchChoice() { return true; } + get label() { + return this.coreFactory.createArchWrapper(this._coreChoice.label); + } } - t2.default = a; - }, 87392: (e2, t2, i2) => { - function n2() { - this.worktype = void 0, this.customFieldsDataTypeId = void 0, this.customFieldsSchemaId = void 0, this.customFieldsSchemaName = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "WorkitemFlowSettings"), Object.defineProperties(n2.prototype, { pasteReIdOrRename: { value: function(e3) { - n2._super.pasteReIdOrRename.apply(this, arguments); - } }, pasteResolveOldToNewValues: { value: function(e3) { - n2._super.pasteResolveOldToNewValues.apply(this, arguments); - } } }), e2.exports = n2; - }, 87459: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getDataTableDivisionView = t2.getDataTable = t2.getDataTablesDivisionView = t2.getDataTables = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(46400)), o = i2(74156), a = n2.__importDefault(i2(36019)); - t2.getDataTables = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables", o.DataTableList, { ignoreBadResponse: true }), t2.getDataTablesDivisionView = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables/divisionviews", o.DataTableList, { ignoreBadResponse: true }), t2.getDataTable = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables/{id}?expand=schema", r2.default, { ignoreBadResponse: true }), t2.getDataTableDivisionView = a.default.request("GET", "{public-api.apps}/api/v2/flows/datatables/divisionviews/{id}?expand=schema", r2.default, { ignoreBadResponse: true }); - }, 87532: (e2, t2, i2) => { + t2.default = o; + }, 85510(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(67336)); + class o extends n2.default { constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "timeslotCollection"; + super(e3), this._coreDataPair = e3; } get displayTypeName() { - return "ArchVariableTimeslotCollection"; + return "ArchNamedValue"; } - get initialValue() { - return this._initialValue; + get name() { + return this._coreDataPair.name; } - get isArchVariableTimeslotCollection() { + get value() { + return this.coreFactory.createArchValueFromExpression(this._coreDataPair.value); + } + get isArchNamedValue() { return true; } } - t2.default = r2; - }, 87644: (e2, t2, i2) => { + t2.default = o; + }, 74705(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(55988)); + class a extends r.default { constructor(e3) { - super(e3); + super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("coreDataPairList"), e3); } get _globalTypeName() { - return "chooser"; - } - get initialValue() { - return this._initialValue; + return ""; } get displayTypeName() { - return "ArchVariableChooser"; + return "ArchNamedValueList"; } - get isArchVariableChooser() { + get length() { + return this._length; + } + getNamedValueByIndex(e3) { + return this._getNamedValueByIndex(e3); + } + getNamedValueByName(e3) { + const t3 = this._infoParm("valueName", "getNamedValueByName"); + this._checkItemIsValidLiteralString(t3, e3, false); + const i3 = o.default.find(this._coreExpressionContainerViewModel.items, function(t4) { + return e3 === t4.name; + }); + if (i3) return this.coreFactory.createArchWrapper(i3); + } + get isArchNamedValueList() { return true; } } - t2.default = r2; - }, 87675: (e2, t2, i2) => { + t2.default = a; + }, 77858(e2, t2, i2) { "use strict"; - 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 h.default { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(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); + super(e3); } - getDisplayName() { - return this.name; + get _globalTypeName() { + return "agentScorePair"; } - 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)); - } + get agent() { } - 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 score() { } - get className() { - return "DataTypeDefViewModel"; + get displayTypeName() { + return "ArchValueAgentScorePair"; } - _canDelete() { + get isArchValueAgentScorePair() { return true; } - canDelete(e3) { - return !this.hasUsagesForFlow(e3); + } + t2.default = o; + }, 7946(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - isInUse(e3) { - return !this.canDelete(e3); + get _globalTypeName() { + return "agentScorePairCollection"; } - static createEmptyDataTypeDef() { - return new g(new o.default()); + get displayTypeName() { + return "ArchValueAgentScorePairCollection"; } - static createAndPopulateRootPropertiesFromJsonSchema(e3) { - const t3 = g.createEmptyDataTypeDef(); - return t3._dataTypeDef.populateRootPropertiesFromJsonSchema(e3), t3; + get isArchValueAgentScorePairCollection() { + return true; } - static createFromPropertyDefinition(e3) { - 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); + } + t2.default = o; + }, 76501(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - static createFromPropertyParams(e3, t3, i3, n3, r3) { - 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); + get _globalTypeName() { + return "any"; } - static validateDataTypeDefsForCreation(e3, t3) { - const i3 = { errors: [] }, n3 = {}; - for (const e4 of t3) n3[e4.id] = true; - 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); - n4 ? n4.isAvailableForFlow(e3) || i3.errors.push({ error: m.propDataTypeNotAvailableInFlow, customDataTypeDef: o2, propDataTypeDef: t4, propDataType: n4 }) : i3.errors.push({ error: m.propDataTypeIdInvalid, customDataTypeDef: o2, propDataTypeDef: t4 }); - } - return i3; + get displayTypeName() { + return "ArchValueAny"; } - get isDataTypeDefViewModel() { + get isArchValueAny() { return true; } - get allowableValues() { - return this._dataTypeDef.allowableValues; - } - set allowableValues(e3) { - this._dataTypeDef.allowableValues = e3; - } - get dataTypeId() { - return this._dataTypeDef.dataTypeId; - } - set dataTypeId(e3) { - this._dataTypeDef.dataTypeId = e3; + } + t2.default = o; + }, 67817(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get description() { - return this._dataTypeDef.description; + get _globalTypeName() { + return "anyCollection"; } - set description(e3) { - this._dataTypeDef.description = e3; + get displayTypeName() { + return "ArchValueAnyCollection"; } - get title() { - return this._dataTypeDef.title; + get isArchValueAnyCollection() { + return true; } - set title(e3) { - this._dataTypeDef.title = e3; + } + t2.default = o; + }, 41857(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get id() { - return this._dataTypeDef.id; + get _globalTypeName() { + return "assignedCustomerIntent"; } - set id(e3) { - this._dataTypeDef.id = e3; + get displayTypeName() { + return "ArchValueAssignedCustomerIntent"; } get name() { - return this._dataTypeDef.name; - } - set name(e3) { - this._dataTypeDef.name = e3; - } - get customJsonIdentifierInfo() { - return this._customJsonIdentifierInfo || (this._customJsonIdentifierInfo = r2.CustomJsonIdentifierInfo.create(this.dataTypeId)), this._customJsonIdentifierInfo; - } - get namespace() { - return this.customJsonIdentifierInfo.namespace; - } - get additionalProperties() { - return this._dataTypeDef.additionalProperties; - } - set additionalProperties(e3) { - this._dataTypeDef.additionalProperties = !!e3; - } - get isCollection() { - return !!this._dataTypeDef.isCollection; - } - set isCollection(e3) { - this._dataTypeDef.isCollection = !!e3; - } - get isRequired() { - return !!this._dataTypeDef.isRequired; - } - set isRequired(e3) { - this._dataTypeDef.isRequired = !!e3; - } - get readOnly() { - return !!this._dataTypeDef.readOnly; - } - set readOnly(e3) { - this._dataTypeDef.readOnly = !!e3; - } - get isReadOnly() { - return this.readOnly; - } - set isReadOnly(e3) { - this.readOnly = e3; - } - get patchable() { - return !!this._dataTypeDef.patchable; - } - set patchable(e3) { - this._dataTypeDef.patchable = !!e3; - } - get isPatchable() { - return this.patchable; - } - set isPatchable(e3) { - this.patchable = e3; - } - get minItems() { - return this._dataTypeDef.minItems; - } - set minItems(e3) { - this._dataTypeDef.minItems = e3; - } - get maxItems() { - return this._dataTypeDef.maxItems; - } - set maxItems(e3) { - this._dataTypeDef.maxItems = e3; - } - get minLength() { - return this._dataTypeDef.minLength; - } - set minLength(e3) { - this._dataTypeDef.minLength = e3; - } - get maxLength() { - return this._dataTypeDef.maxLength; - } - set maxLength(e3) { - this._dataTypeDef.maxLength = e3; - } - get minValue() { - return this._dataTypeDef.minValue; - } - set minValue(e3) { - this._dataTypeDef.minValue = e3; - } - set minValueInclusive(e3) { - this._dataTypeDef.minValueInclusive = e3; - } - get minValueInclusive() { - return this._dataTypeDef.minValueInclusive; - } - get maxValue() { - return this._dataTypeDef.maxValue; - } - set maxValue(e3) { - this._dataTypeDef.maxValue = e3; - } - get maxValueInclusive() { - return this._dataTypeDef.maxValueInclusive; - } - set maxValueInclusive(e3) { - this._dataTypeDef.maxValueInclusive = e3; + var e3; + return null === (e3 = this._getAssignableProperty("customerIntent")) || void 0 === e3 ? void 0 : e3.name; } - get minValueStr() { - return this._dataTypeDef.minValueStr; + get isArchValueAssignedCustomerIntent() { + return true; } - set minValueStr(e3) { - this._dataTypeDef.minValueStr = e3; + } + t2.default = o; + }, 58253(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get minValueParsedDecimal() { - return this._dataTypeDef.minValueParsedDecimal; + get _globalTypeName() { + return "assignedCustomerIntentCollection"; } - get maxValueStr() { - return this._dataTypeDef.maxValueStr; + get displayTypeName() { + return "ArchValueAssignedCustomerIntentCollection"; } - set maxValueStr(e3) { - this._dataTypeDef.maxValueStr = e3; + get isArchValueAssignedCustomerIntentCollection() { + return true; } - get maxValueParsedDecimal() { - return this._dataTypeDef.maxValueParsedDecimal; + } + t2.default = o; + }, 20498(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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; + get _globalTypeName() { + return "assignedCustomerSegment"; } - get model() { - return this._dataTypeDef; + get displayTypeName() { + return "ArchValueAssignedCustomerSegment"; } - get propertiesSnapshot() { + get name() { var e3; - if (!(null === (e3 = this._dataTypeDef.properties) || void 0 === e3 ? void 0 : e3.length)) return []; - const t3 = []; - for (const e4 of this._dataTypeDef.properties) t3.push(new g(e4)); - return t3; + return null === (e3 = this._getAssignableProperty("customerSegment")) || void 0 === e3 ? void 0 : e3.name; } - addProperty(e3) { - e3 && (void 0 === this._dataTypeDef.properties && (this._dataTypeDef.properties = []), this._dataTypeDef.properties.push(e3._dataTypeDef)); + get isArchValueAssignedCustomerSegment() { + return true; } - setProperties(e3) { - (null == e3 ? void 0 : e3.length) || (this._dataTypeDef.properties = void 0), this._dataTypeDef.properties = []; - for (const t3 of e3) this._dataTypeDef.properties.push(t3._dataTypeDef); + } + t2.default = o; + }, 56474(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get propertiesMap() { - var e3; - if (!(null === (e3 = this._dataTypeDef.properties) || void 0 === e3 ? void 0 : e3.length)) return {}; - const t3 = {}; - for (const e4 of this._dataTypeDef.properties) t3[e4.name] = new g(e4); - return t3; + get _globalTypeName() { + return "assignedCustomerSegmentCollection"; } - _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 u.DiffResult.doesNotMatch: - case u.DiffResult.moreRestrictive: - if (e3.diffResult.diffSettings.shortCircuitOnFirstMoreRestrictiveDiff) return false; - } + get displayTypeName() { + return "ArchValueAssignedCustomerSegmentCollection"; + } + get isArchValueAssignedCustomerSegmentCollection() { return true; } - _compareBooleanFacets(e3, t3, i3, n3, r3) { - return n3 === r3 || this._addItemDiffResult(e3, i3, c.DiffType.isNotEqual, u.DiffResult.doesNotMatch, t3, n3, r3); + } + t2.default = o; + }, 69581(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(81574)); + class a extends r.default { + constructor(e3) { + super(e3), this._coreAudioExpression = e3; } - _compareStringFacets(e3, t3, i3, n3, r3) { - return n3 === r3 || this._addItemDiffResult(e3, i3, c.DiffType.isNotEqual, u.DiffResult.moreRestrictive, t3, n3, r3); + get _globalTypeName() { + return "audio"; } - _compareNumericRangeFacets(e3, t3, i3, n3, r3, o2, 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, 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, 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, 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, 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; + get displayTypeName() { + return "ArchValueAudio"; } - _getDataTypeDefDiffs(e3, t3) { - const i3 = e3.diffResult.diffSettings; - 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, "", 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 d2 = 0; - for (const [t4, i4] of Object.entries(n3)) { - s2[t4] = true, d2++; - const n4 = r3[t4]; - 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 (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; - } + get isArchValueAudio() { return true; } - _compareEnumFacets(e3, t3, i3, 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); + setExpression(e3) { + this._coreAudioExpression.customExpressionMode = true, this._coreExpression.parentAudio && this._coreExpression.parentAudio.noValueMode && (this._coreExpression.parentAudio.noValueMode = false), this.logNote("setting audio expression expressionText to '" + e3 + "'"), this._setExpression(this._infoParm("expressionText", "setExpression"), e3); } - compareToAndGetDiffs(e3, t3) { - if (!e3) { - const t4 = new a.default(this, e3, void 0); - return t4.setNotComparableTo(), t4; - } - const i3 = { diffResult: new a.default(this, e3, t3 || { diffIds: true, diffDataTypeIds: true, shortCircuitOnFirstMoreRestrictiveDiff: true }), currentPath: ["#"] }; - return this._getDataTypeDefDiffs(i3, e3), i3.diffResult; + setExpressionToAudioTTS(e3, t3) { + this._checkItemIsValidLiteralString(this._infoParm("text", "setExpressionToAudioTTS"), e3, true), (o.default.isUndefined(e3) || null === e3) && (e3 = ""), this._checkItemIsValidLiteralBool(this._infoParm("doNotEscapeText", "setExpressionToAudioTTS"), t3, true); + const i3 = `ToAudioTTS("${t3 ? e3 : this._escapeTextForExpression(e3)}")`; + this.setExpression(i3); } - getExpressionTypeForFlow(e3) { - if (!e3) return; - const t3 = d.default.getTypeGroup(e3); - return t3 ? t3.getType(this.id, this.isCollection) : void 0; + setLiteralTTS(e3) { + this._failIfOutput(); + const t3 = this._infoParm("text", "setLiteralTTS"); + this._checkItem(t3, !this.settings.isWritable, "you cannot assign the literal text to speech text '" + e3 + "' because this value " + this.settings.logStr + " is not writable."), this._checkItemIsValidLiteralString(t3, e3, true), (o.default.isUndefined(e3) || null === e3) && (e3 = ""), this.logNote("assigning text to speech text of '" + e3 + "'"), this._coreAudioExpression.parentAudio && this._coreAudioExpression.parentAudio.noValueMode && (this._coreAudioExpression.parentAudio.noValueMode = false), this._coreAudioExpression.setTTSOnly(e3); + } + get valueText() { + let e3 = this._getValueTextCommon(); + return void 0 === e3 && this._coreExpression && (e3 = this._coreAudioExpression.text), "string" == typeof e3 ? e3 : ""; } } - t2.default = g; - }, 87699: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.identity = void 0, t2.identity = function(e3) { - return e3; - }; - }, 87719: (e2, t2) => { + t2.default = a; + }, 9283(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = class { - constructor(e3, t3, i2) { - this._hasPermission = e3, this._shiroString = t3, this._noPermissionDisplayString = i2; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(73198)), r = n2.__importDefault(i2(17405)); + class a extends r.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "boolean"; } - get results() { - return this.hasPermission; + get displayTypeName() { + return "ArchValueBoolean"; } - get hasPermission() { - return this._hasPermission; + get isArchValueBoolean() { + return true; } - get lacksPermission() { - return !this._hasPermission; + setExpressionFalse() { + this.setExpression(o.default.false); } - get shiroString() { - return this._shiroString; + setExpressionTrue() { + this.setExpression(o.default.true); } - get displayString() { - return this.noPermissionDisplayString; + setLiteralBool(e3) { + const t3 = this._infoParm("boolValue", "setLiteralBool"); + this._checkItemUndefinedOrNull(t3, e3), this._checkItemIsValidLiteralBool(t3, e3), this._setLiteral(t3, e3.toString(), "setLiteral"); } - get noPermissionDisplayString() { - return this._noPermissionDisplayString; + setLiteralFalse() { + this._setLiteral(this._infoVal("arch_bool_false", "setLiteralFalse"), o.default.false); } - }; - }, 87734: (e2, t2, i2) => { + setLiteralTrue() { + this._setLiteral(this._infoVal("arch_bool_true", "setLiteralTrue"), o.default.true); + } + } + t2.default = a; + }, 39635(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "videoCollection"; + return "booleanCollection"; } get displayTypeName() { - return "ArchVariableVideoCollection"; - } - get initialValue() { - return this._initialValue; + return "ArchValueBooleanCollection"; } - get isArchVariableVideoCollection() { + get isArchValueBooleanCollection() { return true; } } - t2.default = r2; - }, 87759: (e2, t2, i2) => { + t2.default = o; + }, 59193(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 = n2.__importDefault(i2(4648)), u = i2(47957); - class c extends s.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "card"; + } + get buttons() { + return this._getAssignableProperty("buttons"); + } + get description() { + return this._getAssignableProperty("description"); + } + get displayTypeName() { + return "ArchValueCard"; + } + get image() { + return this._getAssignableProperty("image"); + } + get title() { + return this._getAssignableProperty("title"); + } + get isArchValueCard() { + return true; } } - 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 = c; - }, 87769: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(28562), r2 = i2(69149), o = { _label: "BotNoMatch", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_slot_noMatch", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noMatch_seq_1", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_slot_noMatch", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }] }, localizedSequence1: { _label: "bot_slot_noMatch_seq_1", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { reference: "$selectedSlotName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "noMatch", templateNoOverlaySectionKey: "noMatchStr1" } }] } } }; t2.default = o; - }, 87828: (e2, t2, i2) => { + }, 80133(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(66978)), s = n2.__importDefault(i2(94225)), l = n2.__importDefault(i2(11210)); - class u extends l.default { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { - super(e3), this._coreCallCommonModuleAction = e3; + super(e3); } - get _actionTypeId() { - return r2.callCommonModuleActionType; + get _globalTypeName() { + return "cardCollection"; } get displayTypeName() { - return "ArchActionCallCommonModule"; + return "ArchValueCardCollection"; } - get isArchActionCallCommonModule() { + get isArchValueCardCollection() { return true; } - get inputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + } + t2.default = o; + }, 40549(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get outputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + get _globalTypeName() { + return "carousel"; } - get commonModuleFlowInfo() { - if (this._coreCallCommonModuleAction.commonModule.flowId) return this.coreFactory.createArchWrapper(this._coreCallCommonModuleAction.commonModule.getFlowInfoReference(this._coreCallCommonModuleAction.commonModule.flowId)); + get cards() { + return this._getAssignableProperty("cards"); } - setTargetFlowInfoAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = this._infoPropSet("newValue", "targetFlowInfo"); - return this._checkItem(i3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "you must pass in an ArchFlowInfo or ArchFlowInfoBasic instance when setting the targetFlowInfo value."), this._checkItem(i3, e3.type !== o.default.FLOW_TYPES.commonModule, `the supplied flow information points to a flow of type '${e3.type}' which is not supported by this action. You must pass in a flow information value that specifies a flow of type '${o.default.FLOW_TYPES.commonModule}'.`), this.logNote(`configuring the call common module action to call the common module flow with name '${e3.name}' (id: '${e3.id}') at runtime.`), yield this._coreCallCommonModuleAction.commonModule.setFlowById(e3.id), s.default.executeCallback(this, "setTargetFlowInfoAsync", t3); - }); + get displayTypeName() { + return "ArchValueCarousel"; } - setCommonModuleFlowByIdAsync(e3, t3, i3) { - this._checkItemIsValidLiteralString(this._infoParm("commonModuleFlowId", "setCommonModuleFlowByIdAsync"), e3), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowVersion", "setCommonModuleFlowByIdAsync"), t3, o.default.FLOW_VERSIONS_ALL, true), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setCommonModuleFlowByIdAsync"), i3, true), this.logNote(`configuring the call common module action to flow with id ${e3}`); - let n3 = false, r3 = t3; - switch (null == t3 ? void 0 : t3.toLowerCase()) { - case o.default.FLOW_VERSIONS.debug: - n3 = true, r3 = void 0; - break; - case o.default.FLOW_VERSIONS.latest: - r3 = void 0; - } - return a.default.addPromise(this._coreCallCommonModuleAction.commonModule.setFlowById(e3, n3, r3), "setCommonModuleFlowByIdAsync").then(() => s.default.executeCallback(this, "setCommonModuleFlowByIdAsync", i3, this)); + get isArchValueCarousel() { + return true; } } - t2.default = u; - }, 87860: (e2, t2, i2) => { - var n2 = { "./cs-cz/builder.js": [55320, 5320], "./de-de/builder.js": [73121, 3121], "./en-us/builder.js": [39958], "./es-us/builder.js": [93996, 1615], "./fr-ca/builder.js": [35979, 5979], "./it-it/builder.js": [69425, 1806], "./ja-jp/builder.js": [24206, 4206], "./ko-kr/builder.js": [12188, 2188], "./nb-no/builder.js": [33867, 6248], "./nl-nl/builder.js": [22216, 9835], "./pl-pl/builder.js": [21807, 1807], "./pt-br/builder.js": [7983, 7983], "./ru-ru/builder.js": [49989, 9989], "./sv-se/builder.js": [46164, 6164], "./tr-tr/builder.js": [33391, 3391], "./zh-cn/builder.js": [23584, 3584], "./zh-tw/builder.js": [56520, 6520] }; - function r2(e3) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); - } - r2.keys = () => Object.keys(n2), r2.id = 87860, e2.exports = r2; - }, 87870: (e2, t2, i2) => { + t2.default = o; + }, 24629(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.NoteActionProperty = void 0, t2.isNoteActionProperty = function(e3) { - return null == e3 ? void 0 : e3.isNoteProperty; - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(88473), a = n2.__importDefault(i2(49416)), s = i2(55867); - class l extends s.BaseActionProperty { - constructor(e3, t3, i3, n3, r3, a2, s2) { - super(e3, t3), this.accent = n3, this.ininTestField = r3, this.ininTestField = r3, this.hasInteractiveLinks = s2 || false, this.note = i3, this._outOfServiceProvider = (0, o.addOutOfServiceProperties)(this), this.supportedFlowTypes = a2 || []; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - destroy() { - super.destroy(), this._outOfServiceProvider.destroy(); + get _globalTypeName() { + return "chatGuest"; } - get note() { - return this._note; + get id() { } - set note(e3) { - this._noteUnresolved = e3, this._note = a.default.resolveString(e3, this.parentFlow); + get displayName() { } - get noteUnresolved() { - return this._noteUnresolved; + get avatarImageUrl() { } - get isNoteProperty() { - return true; + get isAuthenticated() { } - get className() { - return "NoteActionProperty"; + get customFields() { } - getDetailDescription() { + get authenticatedCustomFields() { } - get isNoteEmpty() { - return r2.default.isEmpty(this.note); + get displayTypeName() { + return "ArchValueChatGuest"; } - static createCreateDetails(e3, t3, i3, n3, r3) { - return { create: (o2, a2) => new l(o2, a2, e3, t3, i3, n3, r3), getCreateClass: () => l, modelProperties: [] }; + get isArchValueChatGuest() { + return true; } } - t2.NoteActionProperty = l; - }, 87889: (e2, t2, i2) => { + t2.default = o; + }, 17769(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.formResponseManager = t2.FormResponseManager = void 0; - const n2 = i2(30801), r2 = i2(24032), o = i2(60609), a = i2(10535); - class s extends a.ResponseManager { - additionalItemFilter(e3) { - return e3.filter((e4) => e4.responseType === this.responseType); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - constructor() { - super(), this.topic = (0, r2.getTopic)("FormResponseManager"), this.responseType = o.CannedResponseType.form, this.actionsForUsageSearch = [n2.formActionType]; + get _globalTypeName() { + return "chatGuestCollection"; + } + get displayTypeName() { + return "ArchValueChatGuestCollection"; + } + get isArchValueChatGuestCollection() { + return true; } } - t2.FormResponseManager = s, t2.formResponseManager = new s(); - }, 87921: (e2, t2, i2) => { + t2.default = o; + }, 47016(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), 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"); - } - get isBaseFacets() { - return true; + const n2 = i2(31635), o = n2.__importDefault(i2(83663)), r = n2.__importDefault(i2(78432)), a = n2.__importStar(i2(10798)), s = n2.__importDefault(i2(4648)); + class l extends o.default { + constructor(e3) { + super(e3), this._coreChoice = e3; } - setFromFacets(e3) { - e3 && this._setFromFacets(e3); + get _globalTypeName() { + return "choice"; } - _setFromFacets(e3) { - p.ParameterValidator.expectObject(e3, () => d.ParameterInfo.createFunctionParameter(this.className, "_setFromFacets", "baseFacets"), false), this._setFacetIfSet(this.setAllowNull, e3.allowNull), this._setFacetIfSet(this.setIsCollection, e3.isCollection); + get command() { + return this._getAssignableProperty("command")._setWritableOverride(true); } - _setFacetIfSet(e3, t3, i3) { - 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); + setSkipDisabled(e3) { + if (!a.isFeatureAvailable(s.default.botFlowsSupportDontKnowAnswers)) return; + const t3 = this._getAssignableProperty("command"); + t3 && (t3.outOfService = e3, t3._coreExpression.setUiMetaData("skipDisabled", e3)); } - _createValidationResult(e3, t3, i3) { - return { isValid: e3, isWarning: true === i3, message: t3 }; + get displayTypeName() { + return "ArchValueChoice"; } - _createErrorResult(e3) { - return this._createValidationResult(false, e3); + get logStr() { + return this.logStrTypeOnly; } - _createSuccessResult() { - return this._createValidationResult(true); + get name() { + const e3 = this._infoPropGet("name"); + if (this.logDeprecatedPropertyWarning(e3, "value", "The name property on ArchValueChoice is for compatibility reasons with ArchChoice but you should now be using the value property on ArchValueChoice instead."), this.value.isLiteral) return this.value.valueText; } - _createWarningResult(e3) { - return this._createValidationResult(true, e3, true); + get enabled() { + const e3 = this._infoPropGet("enabled"); + return this.logDeprecatedPropertyWarning(e3, void 0, "an ArchValueChoice is always enabled. Calling this property getter is only here for backwards compatibility with an ArchChoice."), true; } - _validateValue(e3, t3) { - return this._facetValidateValue(e3, t3) || this._createSuccessResult(); + set enabled(e3) { + const t3 = this._infoPropGet("enabled"); + this.logDeprecatedPropertyWarning(t3, void 0, "an ArchValueChoice is always enabled. Calling this property setter does nothing and is only here for backwards compatibility with an ArchChoice."); } - addDescriptionInfo(e3, t3) { + get label() { + return this._getAssignableProperty("label"); } - get hasDescriptionInfo() { - return false; + get value() { + return this._getAssignableProperty("value"); } - get allowNull() { - return this._allowNull; + get type() { + return this._getAssignableProperty("type"); } - set allowNull(e3) { - this._allowNull = p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); + setTypePostback(e3) { + this._getCoreViewModel().type.setAsPostbackOrUrlValue(r.default.CHOICE_TYPES.postback, this._getCoreViewModel(), e3 || (this.value.isLiteral ? this.value.valueText : void 0)); } - setAllowNull(e3) { - return this.allowNull = e3, this; + setTypeUrl(e3) { + this._getCoreViewModel().type.setAsPostbackOrUrlValue(r.default.CHOICE_TYPES.url, this._getCoreViewModel(), e3 || (this.value.isLiteral ? this.value.valueText : void 0)); } - get isCollection() { - return this._isCollection; + get isArchValueChoice() { + return true; } - set isCollection(e3) { - this._isCollection = p.ParameterValidator.expectBool(e3, () => d.ParameterInfo.createPropertySet(this.className, "isCollection", "value")); + } + t2.default = l; + }, 39148(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - setIsCollection(e3) { - return this.isCollection = e3, this; + get _globalTypeName() { + return "choiceCollection"; } - validateExpressionItem(e3, t3) { - if (null == e3) return this._createErrorResult(_.facets.nothingToValidate); - if (e3.isCollection) return this._createSuccessResult(); - const i3 = this._facetGetExpressionType(), n3 = e3.type; - 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)); + get displayTypeName() { + return "ArchValueChoiceCollection"; } - clone() { - return (0, c.clone)(this); + get isArchValueChoiceCollection() { + return true; } } - 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) => { + t2.default = o; + }, 7658(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - 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); + const n2 = i2(31635), o = n2.__importDefault(i2(83663)), r = n2.__importDefault(i2(78432)); + class a extends o.default { + constructor(e3) { + super(e3); } - _postProcessYamlConfig(e3, t3, i3) { + get _globalTypeName() { + return "chooser"; } - _setBotCategoryProperties(e3) { - e3 && (this.botCategoryProperty.nameValue = e3.botName, this.isLexV2Action || (this.botCategoryProperty.idValue = e3.botId)); + get carousel() { + return this._getAssignableProperty("carousel"); } - get botRunnableProperty() { - return this.alias; + get presentation() { + return this._getAssignableProperty("presentation")._setWritableOverride(true); } - get botCategoryProperty() { - return this.bot; + get quickReplies() { + return this._getAssignableProperty("quickReplies"); } - get botRunnableNetworkGetCall() { - return A.getAlias; + get timePicker() { + return this._getAssignableProperty("timePicker"); } - get languagesProperty() { - return this.model.aliasLanguages; + get listPicker() { + return this._getAssignableProperty("listPicker"); } - set languagesProperty(e3) { - this.model.aliasLanguages = e3; + setPresentationMode(e3) { + this._checkItemIsValidLiteralStringEnum(this._infoParm("setPresentationMode", "presentationMode"), e3, r.default.CHOOSER_PRESENTATION_MODES_ALL), this.presentation.setLiteralString(e3), this.logNote(`setting the presentation mode to '${e3}'.`); } - get isLexAction() { + get displayTypeName() { + return "ArchValueChooser"; + } + get isArchValueChooser() { return true; } - static get managedProperties() { - 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")) }]; + } + t2.default = a; + }, 59123(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(17405)); + class o extends n2.default { + constructor(e3) { + super(e3); } - postProcessYamlConfig(e3, t3, i3) { - this.botRunnableProperty.idValue || this.removeYamlExportPropsThatRequireRunnable(e3), this.botName && this._postProcessYamlConfig(e3, t3, i3); + get _globalTypeName() { + return "communication"; } - removeYamlExportPropsThatRequireRunnable(e3) { - super.removeYamlExportPropsThatRequireRunnable(e3), delete e3.aliasInitialIntentName; + get displayTypeName() { + return "ArchValueCommunication"; } - validate(e3) { - 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)(N.lex.lexAliasNotReady, i3.status, this.aliasReadyStatus)); + get isArchValueCommunication() { + return true; } - get yamlNoBotRunnablePropName() { - return "noLexBot"; + } + t2.default = o; + }, 41187(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _configureNestedActionsFromModel(e3, t3, i3) { - const r3 = Object.create(null, { _configureNestedActionsFromModel: { get: () => super._configureNestedActionsFromModel } }); + get _globalTypeName() { + return "communicationCollection"; + } + get displayTypeName() { + return "ArchValueCommunicationCollection"; + } + get isArchValueCommunicationCollection() { + return true; + } + } + t2.default = o; + }, 64751(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(43610), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.contactListManager); + } + get _globalTypeName() { + return "contactList"; + } + get displayTypeName() { + return "ArchValueContactList"; + } + get isArchValueContactList() { + return true; + } + setLiteralByContactListIdAsync(e3, t3) { 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}]`)); + return this._checkItemIsValidLiteralString(this._infoParm("contactListId", "setLiteralByContactListIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByContactListIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByContactListIdAsync", t3, this)); }); } - _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; - } + setLiteralByContactListNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("contactListName", "setLiteralByContactListNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByContactListNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByContactListNameAsync", t3, this)); + }); } } - v.className = "BaseLexAction", t2.default = v; - }, 87964: (e2, t2, i2) => { + t2.default = s; + }, 54280(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), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(17405)), s = i2(19502); + class l extends a.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "externalLinkConfigurationCollection"; + return "currency"; } get displayTypeName() { - return "ArchValueExternalLinkConfigurationCollection"; + return "ArchValueCurrency"; } - get isArchValueExternalLinkConfigurationCollection() { + get isArchValueCurrency() { return true; } + get isCurrencyAmountOnly() { + var e3, t3; + return null === (t3 = null === (e3 = this._getCoreViewModel()) || void 0 === e3 ? void 0 : e3.options) || void 0 === t3 ? void 0 : t3.currencyAmountOnly; + } + setLiteralAmountAndCode(e3, t3) { + const i3 = o.default.keys(s), n3 = this._infoParm("amount", "setLiteralAmountAndCode"); + this._checkItemIsValidLiteralDecimal(n3, e3, false); + const a2 = this._infoParm("code", "setLiteralAmountAndCode"); + this._checkItemIsValidLiteralStringEnum(a2, t3, i3, true, true), t3 = t3 ? t3.toUpperCase() : r.default.notSet; + const l2 = this._infoVal("amount|code", "setLiteralAmountAndCode"); + this._setLiteral(l2, `${e3}|${t3}`); + } } - t2.default = r2; - }, 87995: (e2, t2, i2) => { + t2.default = l; + }, 94380(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getSurveyForms = a, t2.getSurveyForm = s, t2.getSurveyFormVersions = function(e3) { - const t3 = r2.default.build(o.getSurveyFormVersions), i3 = e3.getSearchQueryParams(true), n3 = e3.additionalParams; - return t3.templateParams(n3).queryParams(i3).call(); - }, t2.getLatestPublishedSurveyForm = function(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = r2.default.build(o.getLatestPublishedSurveyForm).templateParams({ contextId: e3 }), i3 = yield t3.call(); - return null == i3 ? void 0 : i3.entities[0]; - }); - }; - const n2 = i2(31635), r2 = n2.__importDefault(i2(36019)), o = n2.__importStar(i2(13202)); - function a(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = r2.default.build(o.getSurveyForms); - if (e3) { - const i4 = e3.getSearchQueryParams(); - i4.onlyLatestEnabledPerContext = true, t3.queryParams(i4); - } - const i3 = yield t3.call(); - return i3.entities.sort((e4, t4) => e4.name.localeCompare(t4.name)), i3; - }); - } - function s(e3) { - return r2.default.build(o.getSurveyForm).templateParams({ id: e3 }).call(); - } - a.api = o.getSurveyForms, s.api = o.getSurveyForm; - }, 88027: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(98643); - function o() { - o.baseConstructor.apply(this, arguments); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "currencyCollection"; + } + get displayTypeName() { + return "ArchValueCurrencyCollection"; + } + get isArchValueCurrencyCollection() { + return true; + } } - n2.extend(o, "ScheduleGroupList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 88051: (e2, t2, i2) => { + t2.default = o; + }, 40057(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(62028)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.transferPureMatchActionType; + get _globalTypeName() { + return "customerIntent"; } get displayTypeName() { - return "ArchMenuTransferToAcd"; + return "ArchValueCustomerIntent"; } - get actionTransferToAcd() { - return this._archAction; + get name() { + return this._getAssignableProperty("name"); } - get isArchMenuTransferToAcd() { + get isArchValueCustomerIntent() { return true; } } - t2.default = a; - }, 88067: (e2, t2, i2) => { + t2.default = o; + }, 52901(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "assignedCustomerIntent"; + return "customerIntentCollection"; } get displayTypeName() { - return "ArchVariableAssignedCustomerIntent"; - } - get initialValue() { - return this._initialValue; + return "ArchValueCustomerIntentCollection"; } - get isArchVariableAssignedCustomerIntent() { + get isArchValueCustomerIntentCollection() { return true; } } - t2.default = r2; - }, 88176: (e2, t2, i2) => { - const n2 = i2(75458), r2 = i2(7401), { getAssignedCustomerIntentsActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _externalContactId: { writable: true }, _getAssignedCustomerIntentsResult: { writable: true } }), a.baseConstructor.apply(this, arguments); + t2.default = o; + }, 70570(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(21569), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.customerSegmentManager); + } + get _globalTypeName() { + return "customerSegment"; + } + get displayTypeName() { + return "ArchValueCustomerSegment"; + } + get name() { + return this._getAssignableProperty("name"); + } + 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(() => o.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(() => o.default.executeCallback(this, "setLiteralByCustomerSegmentNameAsync", t3, this)); + }); + } } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.getAssignedCustomerIntentsResult.pasteReIdOrRename(e3), this.externalContactId.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.getAssignedCustomerIntentsResult.pasteResolveOldToNewValues(e3), this.externalContactId.pasteResolveOldToNewValues(e3); - } }, getAssignedCustomerIntentsResult: { enumerable: true, get: function() { - return this._getAssignedCustomerIntentsResult; - }, set: function(e3) { - this._getAssignedCustomerIntentsResult = this.reviveItem(e3, r2); - } }, externalContactId: { enumerable: true, get: function() { - return this._externalContactId; - }, set: function(e3) { - this._externalContactId = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 88199: (e2, t2, i2) => { + t2.default = s; + }, 59794(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(21569), a = n2.__importDefault(i2(40559)); + class s extends a.default { constructor(e3) { - super(e3), this._coreSpeechRecTermContainerViewModel = e3; + super(e3, r.customerSegmentManager); + } + get _globalTypeName() { + return "customerSegmentCollection"; } get displayTypeName() { - return "ArchSpeechRecTermContainer"; - } - get logStr() { - if (!this._coreSpeechRecTermContainerViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrTag(e3, this._coreSpeechRecTermContainerViewModel.languageCode), this._createLogStrFromParts(e3); + return "ArchValueCustomerSegmentCollection"; } - addTerm(e3) { - const t3 = this._infoParm("newTerm", "addTerm"); - return this._checkItemIsValidLiteralString(t3, e3), this._checkItem(t3, !!this._coreSpeechRecTermContainerViewModel.contains(e3), "the term '" + e3 + "' is already in the container."), this._coreSpeechRecTermContainerViewModel.terms.push(e3), true; + get _searchByValueSearchProperty() { + return "name"; } - containsTerm(e3) { - const t3 = this._infoParm("term", "containsTerm"); - return this._checkItemIsValidLiteralString(t3, e3, false), this._coreSpeechRecTermContainerViewModel.terms.includes(e3); + get isArchValueCustomerSegmentCollection() { + return true; } - get language() { - return this.coreFactory.getArchLanguageForTag(this._coreSpeechRecTermContainerViewModel.languageCode); + 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(() => o.default.executeCallback(this, "addLiteralByCustomerSegmentIdAsync", t3, this)); + }); } - get isArchSpeechRecTermContainer() { - return true; + 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(() => o.default.executeCallback(this, "addLiteralByCustomerSegmentNameAsync", t3, this)); + }); } } - t2.default = r2; - }, 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), 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), 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); - }, d2 = 0; d2 < r3; d2++) u2(d2); - }, n3); - }; - } - function _(e3, t3, i3) { - 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), 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 c2 ? m.pipe(s.mapOneOrManyArgs(c2)) : m; - }, t2.combineLatestInit = p; - }, 88269: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.pairs = void 0; - var n2 = i2(47058); - t2.pairs = function(e3, t3) { - return n2.from(Object.entries(e3), t3); - }; - }, 88276: (e2, t2, i2) => { - const n2 = i2(47957); - e2.exports = [{ displayString: n2.sendResponse.messageBodyStyleNotice, id: "notice" }, { displayString: n2.sendResponse.messageBodyStyleStandard, id: "standard" }]; - }, 88280: (e2, t2, i2) => { + t2.default = s; + }, 38863(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(9456), o = i2(73270), a = i2(5173); - class s extends a.BaseFlowPreviewInstance { - _startPreviewForFlowInfo(e3, t3, i3, a2) { - return n2.__awaiter(this, void 0, void 0, function* () { - return a2.name || (a2.name = `ArchitectWorkitemPreview_${e3.displayName}_${(0, r2.uuid)()}`), a2.typeId = e3.workitemFlowSettings.worktype.id, (yield (0, o.createWorkitem)(a2)).id; - }); + const n2 = i2(31635), o = n2.__importDefault(i2(17405)), r = i2(17604), a = n2.__importDefault(i2(73198)), s = n2.__importDefault(i2(98717)); + class l extends o.default { + constructor(e3) { + super(e3); } - _isFlowNotificationEventDataForThisPreview(e3, t3) { - var i3, n3; - return (null === (n3 = null === (i3 = t3.invokingContext) || void 0 === i3 ? void 0 : i3.workitem) || void 0 === n3 ? void 0 : n3.workitemId) === this.tag; + get _globalTypeName() { + return "date"; } - get supportsDebugPublishedPreview() { - return false; + get displayTypeName() { + return "ArchValueDate"; } - get supportsPreviewPayload() { - return true; + _checkAndSetLiteral(e3, t3, i3, n3) { + this._checkItem(e3, t3 < a.default.minDateTime.getUTCFullYear(), `the supplied numeric value for the year of ${t3} of is less than the allowed minimum of ${a.default.minDateTime.getUTCFullYear()}.`), this._checkItem(e3, t3 > a.default.maxDateTime.getUTCFullYear() - 1, `the supplied numeric value for the year of ${t3} of is greater than the allowed maximum of ${a.default.maxDateTime.getUTCFullYear() - 1}.`), this._checkItem(e3, i3 < 1, `the supplied numeric value for the month of ${i3} of is less than the allowed minimum of 1.`), this._checkItem(e3, i3 > 12, `the supplied numeric value for the month of ${i3} of is greater than the allowed maximum of 12.`), this._checkItem(e3, n3 < 1, `the supplied numeric value for the day of ${n3} of is less than the allowed minimum of 1.`), this._checkItem(e3, n3 > 31, `the supplied numeric value for the day of ${n3} of is greater than the allowed maximum of 31.`), this._setLiteral(e3, (0, r.sprintf)("%d-%02d-%02d", t3, i3, n3)); } - get supportsPublishedFlowPreview() { + setLiteralDate(e3) { + const t3 = this._infoParm("date", "setLiteralDate"); + this._checkItemIsValidLiteralString(t3, e3), new RegExp("[0-9]{4}-[0-9]{2}-[0-9]{2}").test(e3) && 10 === e3.length || s.default.itemInvalid(t3, `invalid format. Expected YYYY-MM-DD for '${e3}' where YYYY is a four digit year, MM is a two digit month, and DD is a two digit day (ex: '2020-12-05').`, this.logStr, this.displayTypeName), this._checkAndSetLiteral(t3, parseInt(e3.substring(0, 4)), parseInt(e3.substring(5, 7)), parseInt(e3.substring(8))); + } + setLiteralDateParts(e3, t3, i3) { + const n3 = this._infoParm("year", "setLiteralDateParts"); + this._checkItemIsValidLiteralInt(n3, e3, false); + const o2 = this._infoParm("month", "setLiteralDateParts"); + this._checkItemIsValidLiteralInt(o2, t3, false); + const r2 = this._infoParm("day", "setLiteralDateParts"); + this._checkItemIsValidLiteralInt(r2, i3, false), this._checkAndSetLiteral(this._infoParm("calculated date", "setLiteralDateParts"), e3, t3, i3); + } + get isArchValueDate() { return true; } } - t2.default = s; - }, 88308: (e2, t2, i2) => { + t2.default = l; + }, 55031(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(66872)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { constructor(e3) { super(e3); } - deleteTask(e3) { - const t3 = this._infoParm("reusableTaskToDelete", "deleteTask"); - this._checkItem(t3, !e3 || !e3.isArchTask, "the parameter value must be an ArchTask instance."), this._checkItem(t3, !e3.isReusableTask, "the task to delete must be a reusable task instance."), this._checkItem(t3, e3.parentFlow._getCoreViewModel() !== this._getCoreViewModel(), "the task to delete is not part of this flow."); - const i3 = e3.logStr; - this.logNote("deleting the reusable task " + i3), this._coreFlowViewModel.deleteNode(e3._getCoreViewModel()) || this.logErrorAndThrow(`the task ${e3.logStr} could not be deleted.`), this.logNote("reusable task deletion complete for " + i3); + get _globalTypeName() { + return "dateCollection"; } - get tasksReusable() { - const e3 = []; - return r2.default.each(this._getCoreViewModel().tasks, (t3) => { - const i3 = this.coreFactory.createArchWrapper(t3); - i3.isReusableTask && e3.push(i3); - }), e3; + get displayTypeName() { + return "ArchValueDateCollection"; + } + get isArchValueDateCollection() { + return true; } } - t2.default = a; - }, 88383: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - e3.defineLocale("it", { months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), weekdays: "domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, calendar: { sameDay: function() { - return "[Oggi a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; - }, nextDay: function() { - return "[Domani a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; - }, nextWeek: function() { - return "dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; - }, lastDay: function() { - return "[Ieri a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; - }, lastWeek: function() { - return 0 === this.day() ? "[La scorsa] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT" : "[Lo scorso] dddd [a" + (this.hours() > 1 ? "lle " : 0 === this.hours() ? " " : "ll'") + "]LT"; - }, sameElse: "L" }, relativeTime: { future: "tra %s", past: "%s fa", s: "alcuni secondi", ss: "%d secondi", m: "un minuto", mm: "%d minuti", h: "un'ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", w: "una settimana", ww: "%d settimane", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: "%d\xBA", week: { dow: 1, doy: 4 } }); - })(i2(95093)); - }, 88391: (e2, t2, i2) => { + t2.default = o; + }, 16598(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)), 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; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(17405)); + class s extends a.default { + constructor(e3) { + super(e3); } - get shouldSkipLanguageValidation() { - return false; + get _globalTypeName() { + return "dateTime"; } - get supportsEnvironments() { - return false; + get displayTypeName() { + return "ArchValueDateTime"; } - get doesNotSupportIntents() { - return false; + _checkAndSetLiteral(e3, t3) { + this._checkItemIsValidLiteralDateTime(e3, t3), this._checkItem(e3, t3 < r.default.minDateTime, "the dateTime value of '" + t3.toISOString() + "' is less than the allowed minimum of '" + r.default.minDateTime.toISOString() + "'"), this._checkItem(e3, t3 > r.default.maxDateTime, "the dateTime value of '" + t3.toISOString() + "' is greater than the allowed maximum of '" + r.default.maxDateTime.toISOString() + "'"), this._checkItem(e3, 0 !== t3.getUTCMilliseconds(), "the dateTime value of '" + t3.toISOString() + "' is not valid because it has fractional seconds specified of " + t3.getUTCMilliseconds() + " millisecond(s). The dateTime must be 0 milliseconds."), this._setLiteral(e3, this._getArchIsoDateTimeStr(t3)); } - constructor(e3, t3) { - super(e3.parentFlow, e3), this.addOptionalPathsFromModel(t3), this._loadModel(t3), this.addAutoCleanedUpEventSinkWatch(_.lastPathActionRemoved, this, this.removeUnusedOutput.bind(this)); + _getArchIsoDateTimeStr(e3) { + if (o.default.isDate(e3)) { + const t3 = e3.toISOString(); + return t3.substring(0, t3.indexOf(".")) + "+00:00"; + } } - get customIntentNames() { - const e3 = []; - let t3; - return t3 = this.hasAutoSelectedBotRunnable && this.botCategoryProperty.idValue ? this._getLocalAutoSelectedBotRunnable() : this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this), o.default.each(null == t3 ? void 0 : t3.intents, (t4) => { - e3.push(t4.name); - }), e3; + get isArchValueDateTime() { + return true; } - _destroy() { - super._destroy(); + setExpressionMinDateTime() { + this._setExpression(this._infoVal("arch_min_datetime", "setExpressionMinDateTime"), "MakeDateTime(1800, 1, 1, 0, 0, 0)"); } - _initializeDesignTime() { - let e3; - this.isReadOnly || (e3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this)), e3 || (e3 = this.botRunnableManager.getItemFromFlowMetadata(this, this.botRunnableProperty.idValue)), e3 && this.updateBotActionFromBotRunnable(e3), this.setBotLanguages(e3 ? e3.languages || e3.language : void 0), super._initializeDesignTime(); + setExpressionMaxDateTime() { + this._setExpression(this._infoVal("arch_max_datetime", "setExpressionMaxDateTime"), "MakeDateTime(2200, 12, 31, 23, 59, 59)"); } - _processMergedSchema(e3) { - this.initializeDesignTimeCalled && o.default.each(e3, (e4) => { - e4.data && e4.data.initializeDesignTime && e4.data.initializeDesignTime(); - }); + setLiteralDateTime(e3) { + this._checkAndSetLiteral(this._infoParm("dateTime", "setLiteralDateTime"), e3); } - _setBotIntegrationProperties(e3) { + setLiteralMinDateTime() { + this._checkAndSetLiteral(this._infoVal("arch_min_datetime", "setLiteralMinDateTime"), r.default.minDateTime); } - _setBotCategoryProperties(e3) { + setLiteralMaxDateTime() { + this._checkAndSetLiteral(this._infoVal("arch_max_datetime", "setLiteralMaxDateTime"), r.default.maxDateTimeNoMs); } - addAttribute() { - const e3 = this.sessionVariables.add(null, s.globalTypes.string); - return (0, T.validateAction)(this, true, true), e3.id; + } + t2.default = s; + }, 63446(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - addOutputSessionVariablesAttribute() { - if (!this.outputSessionVariables) return; - const e3 = this.outputSessionVariables.add(null, s.globalTypes.string); - return e3.expression.mode = a.variable, e3.expression.setAsOutput(), (0, T.validateAction)(this, true, true), e3.id; + get _globalTypeName() { + return "dateTimeCollection"; } - getLanguageWarning(e3) { - if (!o.default.isArray(e3) || !e3.length) return null; - let t3; - if (1 === (e3 = e3.map((e4) => `'${e4}'`)).length) t3 = e3[0]; - else { - const i3 = e3.pop(); - t3 = e3.join(g.default.itemListing.itemSeparator).concat(A.itemListing.lastItemAndSeparator + i3); - } - return (0, r2.sprintf)(A.bot.languageWarning, this.botRunnableManager.dependencyType.displayName, t3); + get displayTypeName() { + return "ArchValueDateTimeCollection"; } - static get branchInfo() { - return [c.default.failure]; + get isArchValueDateTimeCollection() { + return true; } - get languagesProperty() { - return this.model.languages; + } + t2.default = o; + }, 55072(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(73198)), r = n2.__importDefault(i2(17405)); + class a extends r.default { + constructor(e3) { + super(e3); } - set languagesProperty(e3) { - this.model.languages = e3; + get _globalTypeName() { + return "decimal"; } - get botRunnableManager() { - return this.botRunnableProperty.configListManager; + get displayTypeName() { + return "ArchValueDecimal"; } - get botCategoryProperty() { - return null; + get isArchValueDecimal() { + return true; } - get botCategoryManager() { - return this.botCategoryProperty ? this.botCategoryProperty.configListManager : null; + setExpressionMaxDecimal() { + this._setExpression(this._infoVal("arch_max_decimal", "setMaxDecimal"), o.default.maxDecimalAsStr); } - get botIntegrationProperty() { - return null; + setExpressionMinDecimal() { + this._setExpression(this._infoVal("arch_min_decimal", "setMinDecimal"), o.default.minDecimalAsStr); } - get botIntegrationManager() { - return this.botIntegrationProperty ? this.botIntegrationProperty.configListManager : null; + setLiteralDecimal(e3) { + const t3 = this._infoParm("decimalVal", "setLiteralDecimal"); + this._checkItemIsValidLiteralDecimal(t3, e3, false), this._setLiteral(t3, e3); } - get botRunnableNetworkGetCall() { - return d.error("botRunnableNetworkGetCall not implemented!"), null; + } + t2.default = a; + }, 86500(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - commonBotPostProcessYamlConfig(e3, t3) { - o.default.moveAndDeleteProperty(e3, t3, "intents"), o.default.moveAndDeleteProperty(e3, t3, "outputs"), o.default.moveAndDeleteProperty(e3, t3, "failureOutputs"); + get _globalTypeName() { + return "decimalCollection"; } - removeYamlExportPropsThatRequireRunnable(e3) { - if (delete e3.intents, delete e3.failureOutputs, e3.outputs) { - const t3 = e3[this.yamlNoBotRunnablePropName] = {}; - o.default.moveAndDeleteProperty(e3, t3, "outputs"); - } + get displayTypeName() { + return "ArchValueDecimalCollection"; } - clearSchemaBindings() { - this.outputs && o.default.isFunction(this.outputs.destroyChildren) && this.outputs.destroyChildren(), this.errorBindings && o.default.isFunction(this.errorBindings.destroyChildren) && this.errorBindings.destroyChildren(); + get isArchValueDecimalCollection() { + return true; } - refreshBotRunnableFromServer(e3) { - if (e3) { - const t3 = this.getAdditionalParams(); - return this.botRunnableNetworkGetCall(e3.id, t3).then((t4) => (e3.model = t4, e3.fullBotNotLoaded = false, this.botRunnableManager.addItem(t4, true), e3)); - } - return Promise.resolve(); + } + t2.default = o; + }, 42237(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(66800), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.digitalAudioManager); } - getDetails() { - 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(A.dialogflow.environment), t3.push(this.getEnvironmentName())), new y.ActionDetails(e3, t3); + get _globalTypeName() { + return "digitalAudio"; } - 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) => 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) => f.isValidLanguageCode(e4) ? f.getLanguageNameAndCodeDisplay(e4) : e4); - return { message: this.getLanguageWarning(t4), isWarning: true }; - } - return null; + get displayTypeName() { + return "ArchValueDigitalAudio"; } - get isBaseBotActionViewModel() { + get isArchValueDigitalAudio() { return true; } - mergeSlotSchemas(e3) { - const t3 = []; - if (e3) { - if (e3.errorSchema && this._processMergedSchema(this.botRunnableManager.mergeSchemaProperties(e3.errorSchema.properties, this.errorBindings)), this.doesNotSupportIntents) return null; - o.default.each(e3.intents, (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 || 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 }); - } - }); - for (let t4 = this.outputs.items.length - 1; t4 >= 0; t4--) { - const i3 = this.outputs.items[t4]; - o.default.findWhere(e3.intents, { name: i3.name }) || this.outputs.removeChildByReferenceId(i3); - } - } - return t3; - } - removeUnusedOutput(e3, t3) { - if (!this.getOptionalBranchInfo(this.id)) return; - const i3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue, this); - i3 && this.getIntentIndexByLabel(i3.intents, t3.label) >= 0 || this.removeOptionalBranchInfoById(t3.id, false); - } - getIntentIndexByLabel(e3, t3) { - return o.default.findIndex(e3, { name: t3 }); + setLiteralByDigitalAudioIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("digitalAudioId", "setLiteralByDigitalAudioIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDigitalAudioIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByDigitalAudioIdAsync", t3, this)); + }); } - setBotLanguages(e3) { - if (o.default.isString(e3)) e3 = [e3.toLowerCase()]; - else if (o.default.isUndefined(e3) || null === e3) e3 = []; - else if (!o.default.isArray(e3)) { - const t3 = []; - o.default.each(e3, (e4) => { - t3.push(o.default.isString(e4) ? e4.toLowerCase() : e4); - }), e3 = t3; - } - this.languagesProperty = e3; + setLiteralByDigitalAudioNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("digitalAudioName", "setLiteralByDigitalAudioNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDigitalAudioNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByDigitalAudioNameAsync", t3, this)); + }); } - setBotCategoryByViewModel(e3) { - this.botCategoryProperty && this.botCategoryProperty.setValue(e3 ? { id: e3.id, name: e3.name } : void 0); + } + t2.default = s; + }, 23217(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - setBotIntegrationByViewModel(e3) { - this.botIntegrationProperty && this.botIntegrationProperty.setValue(e3 ? { id: e3.id, name: e3.name } : void 0); + get _globalTypeName() { + return "digitalAudioCollection"; } - 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, T.validateAction)(this, false, true), h.fireEvent(this.botRunnableProperty, _.valueChanged); + get displayTypeName() { + return "ArchValueDigitalAudioCollection"; } - _getLocalAutoSelectedBotRunnable() { - 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 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) : (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); + get isArchValueDigitalAudioCollection() { + return true; } - getAdditionalParams() { - return this.hasAutoSelectedBotRunnable ? new u.default(this.botRunnableManager, { additionalParams: { botId: this.botCategoryProperty.idValue } }) : null; + } + t2.default = o; + }, 51236(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(54251), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.divisionManager); } - getDependencyTrackingId() { - return this.botRunnableProperty && this.botRunnableProperty.idValue; + get _globalTypeName() { + return "division"; } - getAutoSelectedBotRunnable() { - if (!this.botCategoryProperty.idValue) return Promise.resolve(null); - 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) : (N.error(`Received incorrect or no dialogEngineVersionViewModel: '${JSON.stringify(e4)}'`), Promise.reject())); + get displayTypeName() { + return "ArchValueDivision"; } - get supportsIntents() { + get isArchValueDivision() { return true; } - switchToNewBotPaths(e3) { - return m.switchToNewIntentPaths(this, e3); - } - translateIntentsToBranchItems(e3) { - return m.translateIntentsToBranchItems(this, e3); + setLiteralByDivisionIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("divisionId", "setLiteralByDivisionIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDivisionIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByDivisionIdAsync", t3, this)); + }); } - updateBotActionFromBotRunnable(e3) { - const t3 = this.translateIntentsToBranchItems(e3 ? e3.intents : []); - return this.switchToNewBotPaths(t3), this.mergeSlotSchemas(e3); + setLiteralByDivisionNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("divisionName", "setLiteralByDivisionNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByDivisionNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByDivisionNameAsync", t3, this)); + }); } - updateDependencies() { - this.updateBotIntegrationPropertyDependency(), this.updateBotCategoryPropertyDependency(), this.updateBotRunnablePropertyDependency(), super.updateDependencies(); + } + t2.default = s; + }, 35520(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(54251), a = n2.__importDefault(i2(40559)); + class s extends a.default { + constructor(e3) { + super(e3, r.divisionManager); } - updateBotIntegrationPropertyDependency() { - var e3; - (null === (e3 = this.botIntegrationProperty) || void 0 === e3 ? void 0 : e3.idValue) && this.botIntegrationManager.registerConsumer(this, this.botIntegrationProperty.nameValue, this.botIntegrationProperty.idValue); + get _globalTypeName() { + return "divisionCollection"; } - updateBotCategoryPropertyDependency() { - var e3; - (null === (e3 = this.botCategoryProperty) || void 0 === e3 ? void 0 : e3.idValue) && this.botCategoryManager.registerConsumer(this, this.botCategoryProperty.nameValue, this.botCategoryProperty.idValue); + get displayTypeName() { + return "ArchValueDivisionCollection"; } - updateBotRunnablePropertyDependency() { - (this.botRunnableProperty.nameValue || this.botRunnableProperty.idValue) && this.botRunnableManager.registerConsumer(this, this.botRunnableProperty.nameValue, this.getDependencyTrackingId()); + get _searchByValueSearchProperty() { + return "name"; } - 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)(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)(A.bot.internalErrReferenceId, this.botRunnableManager.dependencyType.displayName)); - break; - } - } - } - const i3 = this.getUnsupportedLanguageInfo(t3); - i3 && (i3.isWarning ? e3.addWarning(this, i3.message) : e3.addError(this, i3.message, false, false)); + addLiteralByDivisionIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("divisionId", "addLiteralByDivisionIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByDivisionIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "division").then(() => o.default.executeCallback(this, "addLiteralByDivisionIdAsync", t3, this)); + }); } - get yamlNoBotRunnablePropName() { - return "noBot"; + addLiteralByDivisionNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("divisionName", "addLiteralByDivisionNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByDivisionNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "division").then(() => o.default.executeCallback(this, "addLiteralByDivisionNameAsync", t3, this)); + }); } - get requiresSpeechRec() { - return false; + get isArchValueDivisionCollection() { + return true; } } - v.className = "BaseBotActionViewModel", t2.default = v; - }, 88417: (e2, t2, i2) => { + t2.default = s; + }, 2583(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), c = s.__importDefault(i2(14e3)); - class d extends l.default { + const n2 = i2(31635), o = n2.__importStar(i2(63824)), r = n2.__importDefault(i2(73198)), a = n2.__importDefault(i2(17405)); + class s extends a.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"); + super(e3); } - get components() { - return this._components; + get _globalTypeName() { + return "duration"; } - set components(e3) { - this._components = e3; + get displayTypeName() { + return "ArchValueDuration"; } - get supportsLanguages() { - return this._supportsLanguages; + _checkAndSetLiteral(e3, t3) { + this._checkItem(e3, t3 < r.default.minDurationMs, "the duration value of '" + t3 + "' milliseconds is less than the allowed minimum of '" + r.default.minDurationMs + "' milliseconds"), this._checkItem(e3, t3 > r.default.maxDurationMs, "the duration value of '" + t3 + "' milliseconds is greater than the allowed maximum of '" + r.default.maxDurationMs + "' milliseconds"), this._setLiteral(e3, o.millisecondsToXSD(t3)); } - set supportsLanguages(e3) { - this._supportsLanguages = this.reviveItem(e3, c.default); + _checkAndFixParameter(e3, t3) { + return this._checkItemIsValidLiteralInt(e3, t3, true), t3 ?? 0; } - get userCreatable() { - return this._userCreatable; + get isArchValueDuration() { + return true; } - set userCreatable(e3) { - this._userCreatable = e3; + setLiteralMaxDuration() { + this._checkAndSetLiteral(this._infoVal(r.default.maxDurationMs.toString(), "setLiteralMaxDuration"), r.default.maxDurationMs); } - get maxSize() { - return this._maxSize; + setLiteralMinDuration() { + this._checkAndSetLiteral(this._infoVal(r.default.minDurationMs.toString(), "setLiteralMinDuration"), r.default.minDurationMs); } - set maxSize(e3) { - this._maxSize = e3; + setLiteralMs(e3) { + const t3 = this._infoParm("milliseconds", "setLiteralMs"); + e3 = this._checkAndFixParameter(t3, e3), this._checkAndSetLiteral(t3, e3); + } + setLiteralTimeParts(e3, t3, i3, n3, o2) { + e3 = this._checkAndFixParameter(this._infoParm("days", "setLiteralTimeParts"), e3), t3 = this._checkAndFixParameter(this._infoParm("hours", "setLiteralTimeParts"), t3), i3 = this._checkAndFixParameter(this._infoParm("minutes", "setLiteralTimeParts"), i3), n3 = this._checkAndFixParameter(this._infoParm("seconds", "setLiteralTimeParts"), n3), o2 = this._checkAndFixParameter(this._infoParm("milliseconds", "setLiteralTimeParts"), o2), this._checkAndSetLiteral(this._infoVal("calculated duration", "setLiteralTimeParts"), e3 * r.default.msPerDay + t3 * r.default.msPerHour + i3 * r.default.msPerMinute + n3 * r.default.msPerSecond + o2); } } - 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) => { + t2.default = s; + }, 99423(e2, t2, i2) { "use strict"; - 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), 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) => { - this.featureFlags = e4; - } }, hasOutOfServiceProvider: { value: true, writable: false }, outOfService: { get: () => this.outOfService, set: (e4) => { - this.outOfService = e4; - } }, outOfServiceProvider: { get: () => this }, supportedFlowTypes: { get: () => this.supportedFlowTypes, set: (e4) => { - this.supportedFlowTypes = e4; - } } }); - } - get className() { - return "OutOfServiceProvider"; - } - _resetProductFeatureRulesCache() { - this._oosFromProductFeatureRules = void 0; - } - get isOosFromProductFeatureRules() { - return this._oosFromProductFeatureRules && this.outOfService; - } - _updateOosFromProductFeatureRules() { - return !!(this._checkFeatureFlags() || this._checkTargetOptions() || this._checkFeatureConfig() || this._checkAntiFeatureConfig() || this._checkExpressionType() || this._checkSupportedFlowTypes()); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _checkFeatureFlags() { - if (this.featureFlags && !o.default.every(this.featureFlags, (e3) => h.isEnabled(e3))) return true; + get _globalTypeName() { + return "durationCollection"; } - _checkParentsForOOS() { - var e3, t3; - 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)); + get displayTypeName() { + return "ArchValueDurationCollection"; } - _checkTargetOptions() { - if ((0, p.isBaseExpression)(this._target) && this._target.options.featureConfigName && s.isFeatureUnavailable(this._target.options.featureConfigName)) return true; + get isArchValueDurationCollection() { + return true; } - _checkFeatureConfig() { - if (this.featureConfigName && s.isFeatureUnavailable(this.featureConfigName)) return true; + } + t2.default = o; + }, 63463(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _checkAntiFeatureConfig() { - if (this.antiFeatureConfigName && s.isFeatureAvailable(this.antiFeatureConfigName)) return true; + get _globalTypeName() { + return "email"; } - _checkExpressionType() { - if ((0, d.isNormalExpression)(this._target) && this._target.parentFlow && this._target.options.assumeOosIfTypeUnavailable && !this._target.type.isAvailableForExpressionsFlowTypes(this._target)) return true; + get id() { } - _checkSupportedFlowTypes() { - var e3; - const t3 = this._target.parentFlow; - if (t3 && (null === (e3 = this.supportedFlowTypes) || void 0 === e3 ? void 0 : e3.length)) { - if (this.allSupportedFlowTypesMustBeAvailableInFlow && t3.getUnsupportedFlowTypes(this.supportedFlowTypes).length) return true; - if (!o.default.intersection(t3.destinationFlowTypes, this.supportedFlowTypes).length) return true; - } + get autoGenerated() { } - _invokeOutOfServiceChanged() { - var e3; - if (this._outOfServiceChangedSubject.next(), o.default.isFunction(this._target.outOfServiceChanged)) try { - this._target.outOfServiceChanged(this._target.isValidating); - } catch (e4) { - console.error(e4); - } - this.storeOnModel && (this.outOfService ? this._target.model.outOfService = true : null === (e3 = this._target) || void 0 === e3 || delete e3.model.outOfService); + get spam() { } - _shouldRecomputeOosFromProductFeatureRules() { - return void 0 === this._oosFromProductFeatureRules; + get from() { } - get outOfService() { - if (this._explicitOutOfService) return true; - let e3; - try { - let t3; - t3 = this._shouldRecomputeOosFromProductFeatureRules() ? this._updateOosFromProductFeatureRules() : this._oosFromProductFeatureRules, void 0 === this._oosFromProductFeatureRules && ((0, u.supportsInitializeDesignTime)(this._target) ? this._target.initializeDesignTimeCalled && (this._oosFromProductFeatureRules = t3) : this._oosFromProductFeatureRules = t3), e3 = t3 || this._checkParentsForOOS(); - } catch (e4) { - console.error(e4); - } - return e3 !== this._lastAutoOfService && (this._lastAutoOfService = e3, this._invokeOutOfServiceChanged()), this._lastAutoOfService; + get to() { } - set outOfService(e3) { - (e3 = !!e3) !== this._explicitOutOfService && (this._explicitOutOfService = e3, this._invokeOutOfServiceChanged()); + get cc() { } - get featureConfigName() { - return this._featureConfigName; + get bcc() { } - set featureConfigName(e3) { - this._featureConfigName = e3, this._resetProductFeatureRulesCache(); + get subject() { } - get antiFeatureConfigName() { - return this._antiFeatureConfigName; + get direction() { } - set antiFeatureConfigName(e3) { - this._antiFeatureConfigName = e3; + get replyTo() { } - get featureFlags() { - return this._featureFlags; + get route() { } - set featureFlags(e3) { - T.ParameterValidator.expectArray(e3, () => f.ParameterInfo.createPropertySet(this.className, "featureFlags", "value")), o.default.isArray(e3) && (this._target && this._target.isExpression && a.error("use expression options for the feature flags"), o.default.every(e3, (e4) => l[e4]) ? (this._featureFlags = e3, this._resetProductFeatureRulesCache()) : a.error("not valid feature names")); + get body() { } - get supportedFlowTypes() { - return this._supportedFlowTypes; + get htmlBody() { } - 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, 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")); + get attachments() { } - destroy() { - var e3; - null === (e3 = this._destinationFlowTypesSubscription) || void 0 === e3 || e3.unsubscribe(), this._destinationFlowTypesSubscription = void 0, this._outOfServiceChangedSubject.complete(); + get dateTimeUtc() { } - get allSupportedFlowTypesMustBeAvailableInFlow() { - return this._allSupportedFlowTypesMustBeAvailableInFlow; + get displayTypeName() { + return "ArchValueEmail"; } - set allSupportedFlowTypesMustBeAvailableInFlow(e3) { - this._allSupportedFlowTypesMustBeAvailableInFlow = e3, this._resetProductFeatureRulesCache(); + get isArchValueEmail() { + return true; } } - t2.OutOfServiceProvider = y; - }, 88557: (e2, t2, i2) => { + t2.default = o; + }, 50447(e2, t2, i2) { "use strict"; - 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 c extends l.DataContract { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), (0, s.makeUnenumerable)(this, "_defaultAbortMessage"); + super(e3); } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), this.defaultAbortMessage && this.defaultAbortMessage.pasteReIdOrRename(e3); + get _globalTypeName() { + return "emailAddress"; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this.defaultAbortMessage && this.defaultAbortMessage.pasteResolveOldToNewValues(e3); + get name() { } - get defaultAbortMessage() { - return this._defaultAbortMessage; + get id() { } - set defaultAbortMessage(e3) { - this._defaultAbortMessage = this.reviveItem(e3, u.default); + get displayTypeName() { + return "ArchValueEmailAddress"; } - } - 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; - var n2 = i2(92070); - t2.count = function(e3) { - return n2.reduce(function(t3, i3, n3) { - return !e3 || e3(i3, n3) ? t3 + 1 : t3; - }, 0); - }; - }, 88616: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + get isArchValueEmailAddress() { + return true; } - 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), c = ["addListener", "removeListener"], d = ["addEventListener", "removeEventListener"], p = ["on", "off"]; - function _(e3, t3) { - return function(i3) { - return function(n3) { - return e3[i3](t3, n3); - }; - }; - } - t2.fromEvent = function e3(t3, i3, h, m) { - 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) ? 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) ? 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) { - return e3(t4, i3, h); - })(r2.innerFrom(t3)); - if (!f) throw new TypeError("Invalid event target"); - return new o.Observable(function(e4) { - var t4 = function() { - for (var t5 = [], i4 = 0; i4 < arguments.length; i4++) t5[i4] = arguments[i4]; - return e4.next(1 < t5.length ? t5 : t5[0]); - }; - return f(t4), function() { - return T(t4); - }; - }); - }; - }, 88654: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(56322); - function o() { - Object.defineProperties(this, { _engine: { writable: true }, _voice: { writable: true } }), o.baseConstructor.apply(this, arguments); } - n2.extend(o, "TTSData"), Object.defineProperties(o.prototype, { engine: { enumerable: true, get: function() { - return this._engine || (this._engine = new r2()), this._engine; - }, set: function(e3) { - this._engine = this.reviveItem(e3, r2); - } }, voice: { enumerable: true, get: function() { - return this._voice || (this._voice = new r2()), this._voice; - }, set: function(e3) { - this._voice = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 88715: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(74817).extend(n2, "ClipboardManifestItemStateModel", true), e2.exports = n2; - }, 88732: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "BaseClipboardDependencyModel"), e2.exports = n2; - }, 88779: (e2, t2, i2) => { + t2.default = o; + }, 76919(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "externalPhoneNumberCollection"; + return "emailAddressCollection"; } get displayTypeName() { - return "ArchValueExternalPhoneNumberCollection"; + return "ArchValueEmailAddressCollection"; } - get isArchValueExternalPhoneNumberCollection() { + get isArchValueEmailAddressCollection() { return true; } } - t2.default = r2; - }, 88802: (e2, t2, i2) => { + t2.default = o; + }, 93218(e2, t2, i2) { "use strict"; - 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)), c = i2(55299), d = n2.__importDefault(i2(4648)); - class p extends c.BaseClass { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { 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; - } - get className() { - return "IsoLanguageViewModel"; - } - get isIsoLanguageViewModel() { - return true; - } - addServerData(e3) { - const t3 = this.id; - this.contexts = e3.contexts, this.debug = e3.debug, this.features = e3.features || {}, this.functions = e3.functions || {}, this.id = t3, this._lowerId = t3.toLowerCase(), this.contexts && (this._setUpContexts(this.contexts.case, "case"), this._setUpContexts(this.contexts.gender, "gender"), this._setUpContexts(this.contexts.quantity, "quantity")); + super(e3); } - get displayString() { - return (0, r2.sprintf)(u.default.setLocale.fullLanguageNameContext, this.text, this.idExpressionText); + get _globalTypeName() { + return "emailAttachment"; } - get knowledgeBaseLanguageTag() { - 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 id() { } - 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); + get contentLength() { } - getSupportsRdpSpeechRecAndTtsForFlow(e3) { - const t3 = e3.getAllDestinationFlowTypesSupportAudioDataPlaybackForLang(this), i3 = e3.getAllDestinationFlowTypesSupportSpeechRecForLang(this), n3 = this.getSupportsTTSPlaybackForFlow(e3); - return t3 && i3 && n3; + get contentType() { } - getSupportsRdpSpeechRecAndTtsForFlowType(e3) { - const t3 = this.getSupportsAudioDataPlaybackForFlowType(e3), i3 = this.getSupportsSpeechRecForFlowType(e3), n3 = this.getSupportsTTSPlaybackForFlowType(e3); - return t3 && i3 && n3; + get contentUri() { } - getSupportsKnowledgeForFlowType(e3) { - var t3, i3, n3; - return !!(null === (t3 = l.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsKnowledge) && (null === (n3 = null === (i3 = this.features) || void 0 === i3 ? void 0 : i3.knowledgeBase) || void 0 === n3 ? void 0 : n3.isAvailable); + get name() { } - getSupportsAudioDataPlaybackForFlowType(e3) { - return this.features && this.features.runtimeDataPlayback && this.features.runtimeDataPlayback.flowTypes[e3] && this.features.runtimeDataPlayback.flowTypes[e3].isAvailable; + get displayTypeName() { + return "ArchValueEmailAttachment"; } - getSupportsSpeechRecForFlowType(e3) { - return this.features && this.features.speechRec && this.features.speechRec.flowTypes[e3] && this.features.speechRec.flowTypes[e3].isAvailable; + get isArchValueEmailAttachment() { + return true; } - getSelectedTtsEngine(e3) { - if (!e3) return null; - const t3 = e3.languages.getSupportedLanguageOption(this.id); - return t3 && t3.textToSpeech && t3.textToSpeech ? t3.textToSpeech.getSelectedEngine() : null; + } + t2.default = o; + }, 31485(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getSupportsTTSPlaybackForFlowType(e3, t3) { - if (!o.default.isNullOrUndefined(e3)) { - const t4 = l.default.getDefinitionForFlowType(e3); - if (t4) { - if (t4.languageTtsAndAsrSettingsComeFromConversation) return true; - if (!t4.languagesSupportTtsAndAsrRuntime) return false; - } - } - 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; - } - return !!a.default.getEnginesForLanguageAndFlowTypeOrTypes(this.id, e3)[0]; + get _globalTypeName() { + return "emailAttachmentCollection"; } - getSupportsTTSPlaybackForFlow(e3) { - if (!e3) return false; - if (e3.definition.languageTtsAndAsrSettingsComeFromConversation) return true; - const t3 = e3.languages.getSupportedLanguageOption(this.id); - return (null == t3 ? void 0 : t3.textToSpeech) ? t3.textToSpeech.hasUsableEngineSelectedForLanguage : this.getSupportsTTSPlaybackForFlowType(e3.type); + get displayTypeName() { + return "ArchValueEmailAttachmentCollection"; } - getSupportsTranscriptionForFlowType(e3) { - return !!(e3 && this.features && this.features.transcription) && this.features.transcription.flowTypes[e3] && this.features.transcription.flowTypes[e3].isAvailable; + get isArchValueEmailAttachmentCollection() { + return true; } - getSupportsVoicemailTypeForFlowType(e3, t3) { - if (!e3 || !this.features || !this.features.voicemail) return false; - const i3 = this.features.voicemail[t3.name]; - return !!i3 && i3.flowTypes[e3] && i3.flowTypes[e3].isAvailable; + } + t2.default = o; + }, 72943(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getStringExceedsMaxRequestLengthError(e3, t3, i3) { - if (!e3 || !o.default.isString(t3) || !e3.definition.supportsAudio) return null; - const n3 = this.getSelectedTtsEngine(e3); - return n3 ? n3.getStringExceedsMaxRequestLengthError(t3, i3, this.id) : null; + get _globalTypeName() { + return "emailCollection"; } - get idExpressionText() { - return !this._lowerId && this.id && (this._lowerId = this.id.toLowerCase()), this._lowerId; + get displayTypeName() { + return "ArchValueEmailCollection"; } - _setUpContexts(e3, t3) { - o.default.each(e3, (e4) => { - e4 = e4.charAt(0).toUpperCase() + e4.slice(1); - const i3 = t3 + e4; - this.supportedLanguageContexts || (this.supportedLanguageContexts = {}), this.supportedLanguageContexts[i3] = true; - }); + get isArchValueEmailCollection() { + return true; } } - t2.default = p; - }, 88827: (e2, t2, i2) => { + t2.default = o; + }, 29651(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(57382)); - class a extends o.default { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(91674), a = n2.__importDefault(i2(45894)); + class s extends a.default { constructor(e3) { - super(e3); + super(e3, r.emergencyGroupManager); + } + get _globalTypeName() { + return "emergencyGroup"; } get displayTypeName() { - return "ArchBaseActionWithOutputsFoundNotFound"; + return "ArchValueEmergencyGroup"; } - get isArchBaseActionWithOutputsFoundNotFound() { + get isArchValueEmergencyGroup() { return true; } - get outputFound() { - return this._getOutputById(r2.outputIds.found, true); + setLiteralByEmergencyGroupIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupId", "setLiteralByEmergencyGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByEmergencyGroupIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByEmergencyGroupIdAsync", t3, this)); + }); } - get outputNotFound() { - return this._getOutputById(r2.outputIds.notFound, true); + setLiteralByEmergencyGroupNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupName", "setLiteralByEmergencyGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByEmergencyGroupNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByEmergencyGroupNameAsync", t3, this)); + }); } } - t2.default = a; - }, 88835: (e2, t2, i2) => { + t2.default = s; + }, 14115(e2, t2, i2) { "use strict"; 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)); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(91674), a = n2.__importDefault(i2(40559)); class s extends a.default { - 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; - } - get partConfigurators() { - return this._partConfigurators; + constructor(e3) { + super(e3, r.emergencyGroupManager); } - getExpressionGenerator(e3) { - if (this._generators.getExpressionGenerator && r2.default.isFunction(this._generators.getExpressionGenerator)) { - const t3 = this._generators.getExpressionGenerator(e3, this.generators); - if (t3) return t3; - } - return this._generators.expressionGenerator; + get _globalTypeName() { + return "emergencyGroupCollection"; } - get className() { - return "BaseBuilderPartDef"; + get displayTypeName() { + return "ArchValueEmergencyGroupCollection"; } - get isBaseBuilderPartDef() { - return true; + get _searchByValueSearchProperty() { + return "name"; } - createBuilderPartViewModel(e3, t3, i3) { - throw "You must override the createBuilderPartViewModel method in inheriting classes"; + addLiteralByEmergencyGroupIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupId", "addLiteralByEmergencyGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByEmergencyGroupIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "emergencyGroup").then(() => o.default.executeCallback(this, "addLiteralByEmergencyGroupIdAsync", t3, this)); + }); } - reviveItem(e3, t3, i3, n3) { - throw "You must override the reviveItem method in inheriting classes"; + addLiteralByEmergencyGroupNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("emergencyGroupName", "addLiteralByEmergencyGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByEmergencyGroupNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "emergencyGroup").then(() => o.default.executeCallback(this, "addLiteralByEmergencyGroupNameAsync", t3, this)); + }); } - get modelType() { - return o.default; + get isArchValueEmergencyGroupCollection() { + return true; } } t2.default = s; - }, 88874: (e2, t2, i2) => { + }, 2812(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "surveyQuestionGroupCollection"; + return "emptyJson"; } get displayTypeName() { - return "ArchValueSurveyQuestionGroupCollection"; + return "ArchValueEmptyJson"; } - get isArchValueSurveyQuestionGroupCollection() { + get isArchValueEmptyJson() { return true; } } - t2.default = r2; - }, 88877: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.audit = void 0; - var n2 = i2(65212), r2 = i2(19724), o = i2(17214); - t2.audit = function(e3) { - return n2.operate(function(t3, i3) { - var n3 = false, a = null, s = null, l = false, u = function() { - if (null == s || s.unsubscribe(), s = null, n3) { - n3 = false; - var e4 = a; - a = null, i3.next(e4); - } - l && i3.complete(); - }, 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, c)); - }, function() { - l = true, (!n3 || !s || s.closed) && i3.complete(); - })); - }); - }; - }, 88878: (e2, t2, i2) => { + t2.default = o; + }, 61272(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)), 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 = d.doNotTrackExpression(this.parentFlow, this.owningExpression.parent, new s.default(), "", h.globalTypes.any, ""), this._curlyExpression.setModeWithTransition(_.expression), this._curlyExpression.initializeDesignTime(), this.clearCurlyExpressionResult()), this._curlyExpression; + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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; + get _globalTypeName() { + return "emptyJsonCollection"; } - get isCommunicationPart() { - return this.builderPartDef.id === g.builderPartIds.communication.markdown; + get displayTypeName() { + return "ArchValueEmptyJsonCollection"; } - get isStringPart() { - return this.builderPartDef.id === g.builderPartIds.string.markdown; + get isArchValueEmptyJsonCollection() { + return true; } - clearCurlyExpressionResult() { - this.curlyExpression.setText(this.isStringPart ? "ToString(NOT_SET)" : "ToCommunication(NOT_SET)", true); + } + t2.default = o; + }, 52510(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get curlyExpressionHasError() { - var e3; - return (null === (e3 = this.curlyExpression._parseResult) || void 0 === e3 ? void 0 : e3.resultType) === m.ParseResultTypes.error; + get _globalTypeName() { + return "externalAddress"; } - verifyCurlyExpression(e3, t3) { - var i3, n3, r3, o2; - if (!e3 || this.curlyExpressionHasError) return e3; - this.curlyExpression.setText(e3, true), (null === (i3 = this.curlyExpression._parseResult) || void 0 === i3 ? void 0 : i3.resultType) !== m.ParseResultTypes.error && (null === (r3 = null === (n3 = this.curlyExpression._parseResult) || void 0 === n3 ? void 0 : n3.resultExpression) || void 0 === r3 ? void 0 : r3.isCollection) && (this.curlyExpression.setText(`ToCommunication(${e3})`, true), (null === (o2 = this.curlyExpression._parseResult) || void 0 === o2 ? void 0 : o2.resultType) !== m.ParseResultTypes.error ? e3 = `ToCommunication(${e3})` : this.curlyExpression.setText(e3, true)); - const s2 = this.curlyExpression._parseResult; - if ((null == s2 ? void 0 : s2.resultType) === m.ParseResultTypes.error) { - const i4 = s2.resultPosition; - return s2.resultPosition = i4 >= 0 ? i4 + t3 : -1, a.default.isString(s2.resultMessage) && a.default.isNumber(i4) && (s2.resultMessage = s2.resultMessage.replace((i4 + 1).toString(), s2.resultPosition.toString())), u.fireEvent(this.curlyExpression, l.expressionParseComplete), e3; - } - return (null == s2 ? void 0 : s2.resultType) && (s2.resultMessage = void 0, s2.resultPosition = void 0, s2.resultType = void 0, u.fireEvent(this.curlyExpression, l.expressionParseComplete)), e3; + get address1() { } - get _overrideErrorText() { - if (this._processMarkdownTextCalled || this.setMarkdownTextImmediate(this.getSavedMarkdownText()), this.curlyExpressionHasError) return this._curlyExpression.resultMessage; + get address2() { } - getMarkdownImageFromString(e3) { - const t3 = e3.indexOf("!["); - if (-1 === t3) return; - const i3 = e3.indexOf("](", t3 + 2); - if (-1 === i3) return; - const n3 = e3.indexOf(")", i3 + 2); - if (-1 === n3) return; - const r3 = { startPos: t3, endPos: n3 + 1, url: e3.substring(i3 + 2, n3) }; - return t3 + 2 < i3 - 1 && (r3.alternateText = e3.substring(t3 + 2, i3)), r3; + get city() { } - generateExpressionTextForMarkdownPart(e3, t3, i3, n3) { - if (a.default.isString(e3) && e3.length) { - const r3 = e3.length; - if (t3) { - if (this.isCommunicationPart || this.isStringPart) { - let t4 = e3.trim(); - t4.trim().length && (t4 = this.verifyCurlyExpression(t4, n3), i3.push(this.isStringPart ? `ToDisplayString(${t4})` : `${t4}`)); - } - } else { - let t4 = this.getMarkdownImageFromString(e3); - for (; t4; ) t4.startPos > 0 && i3.push(`"${p.default.rawEscapeStringForExpressionMode(e3.substring(0, t4.startPos))}"`), i3.push(`MakeImageFromUrl("${p.default.rawEscapeStringForExpressionMode(t4.url)}")`), t4 = (e3 = e3.substring(t4.endPos + 1)) ? this.getMarkdownImageFromString(e3) : void 0; - e3 && i3.push(`"${p.default.rawEscapeStringForExpressionMode(e3)}"`); - } - return r3; - } - return 0; + get state() { } - get isMarkdownSingleExpressionPart() { - return true; + get postalCode() { } - get markdownExpression() { - return this.builderPartExpressions[0]; + get countryCode() { } - getSavedMarkdownText() { - var e3; - return null === (e3 = this.markdownExpression) || void 0 === e3 ? void 0 : e3.getUiMetaData(S); + get displayTypeName() { + return "ArchValueExternalAddress"; } - _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); + get isArchValueExternalAddress() { + return true; } - checkCurlyBraceWarnings(e3) { - 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; + } + t2.default = o; + }, 90366(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _processMarkdownText() { - var e3; - this._processMarkdownTextCalled = true; - const t3 = this.markdownExpression; - if (!t3) return; - 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; - if (this.clearCurlyExpressionResult(), 1 === i3.length) r3 += this.generateExpressionTextForMarkdownPart(i3[0], false, n3, r3); - 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(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(c.default.rightCurlies); - if (1 === e4.length) { - 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 + 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 + c.default.leftCurliesLen), this.curlyExpressionHasError) break; - r3 += c.default.rightCurliesLen; - } - } - const o2 = () => { - this._updateBracesWarnings(this._hasNoClosingCurlyBraces, this._hasNestedCurlyBraces); - }; - 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); + get _globalTypeName() { + return "externalAddressCollection"; } - _initializeDesignTime() { - super._initializeDesignTime(); - const e3 = this.getSavedMarkdownText(); - e3 && (this._loadSubscription = this.parentFlow.loaded$.pipe((0, o.skipWhile)((e4) => !e4), (0, r2.take)(1)).subscribe(() => { - this.setMarkdownTextImmediate(e3); - })); + get displayTypeName() { + return "ArchValueExternalAddressCollection"; } - destroy() { - var e3, t3; - super.destroy(), null === (e3 = this._curlyExpression) || void 0 === e3 || e3.destroy(), null === (t3 = this._loadSubscription) || void 0 === t3 || t3.unsubscribe(); + get isArchValueExternalAddressCollection() { + return true; } - setMarkdownTextImmediate(e3) { - this._markdownTextToSet = e3, this._processMarkdownText(); + } + t2.default = o; + }, 70518(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - setMarkdownText(e3) { - this._markdownTimeout && clearTimeout(this._markdownTimeout), this._markdownTextToSet = e3, this._markdownTimeout = setTimeout(() => { - this.isDestroyed ? T.error(`cannot set markdown text because we have been destroyed: builderPartDefId:${this.builderPartDefId}`) : this._processMarkdownText(); - }, 250); + get _globalTypeName() { + return "externalAppleInfo"; } - _updateBracesWarnings(e3, t3) { - t3 ? this.markdownExpression.setParseWarning(y.markdownEditor.nestedCurlyBraces) : e3 && this.markdownExpression.setParseWarning(y.markdownEditor.missingClosingCurlyBraces); + get id() { } - get className() { - return "MarkdownPartWithExpressionsViewModel"; + get displayTypeName() { + return "ArchValueExternalAppleInfo"; } - get isMarkdownPartWithExpressionsViewModel() { + get isArchValueExternalAppleInfo() { return true; } } - t2.default = A; - }, 88911: (e2, t2, i2) => { + t2.default = o; + }, 38422(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 { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { - super(e3), this._utilizationLabel = this.coreFactory.createArchWrapper(e3.utilizationLabel); + super(e3); } - get _actionTypeId() { - return r2.setUtilizationLabelActionType; + get _globalTypeName() { + return "externalAppleInfoCollection"; } get displayTypeName() { - return this._scriptingName; + return "ArchValueExternalAppleInfoCollection"; } - get isArchActionSetUtilizationLabel() { + get isArchValueExternalAppleInfoCollection() { return true; } - get utilizationLabel() { - return this._utilizationLabel; - } - get setUtilizationLabelOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; - } - } - t2.default = a; - }, 89016: (e2, t2, i2) => { - const n2 = i2(75458), { terminateWorkitemActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); } - n2.extend(o, r2, true), e2.exports = o; - }, 89034: (e2, t2, i2) => { + t2.default = o; + }, 43190(e2, t2, i2) { "use strict"; - var n2; Object.defineProperty(t2, "__esModule", { value: true }); - 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() { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isSecure() { + get _globalTypeName() { + return "externalContact"; } get id() { } - get isDestroyedOrDestroying() { + get createDateTimeUtc() { } - get initializeDesignTimeCalled() { + get modifyDateTimeUtc() { } - constructor() { - super(), this._usages = {}, n2.set(this, void 0), (0, c.makeUnenumerable)(this, "transferring"); + get kind() { } - get lastActor() { - return this._lastActor; + get divisionId() { } - get lastActorWasUser() { - return !this._lastActor; + get externalOrganization() { } - get lastActorWasChangeSet() { - var e3; - return !!(null === (e3 = this._lastActor) || void 0 === e3 ? void 0 : e3.changeSet); + get facebookInfo() { } - 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; + get firstName() { } - configureFromModel(e3, t3, i3) { - const n3 = i3.changeSetResults; - n3.sourceEntityType && (this._lastActor = { changeSet: { type: n3.sourceEntityType, id: n3.sourceEntityId } }); + get middleName() { } - get className() { - return "UsageItem"; + get lastName() { } - get isUsageItem() { - return true; + get lineInfo() { } - hasVisibleUsages(e3) { - return !o.default.isEmpty(this.visibleUsages(e3)); + get salutation() { } - outOfServiceUsages(e3) { - return o.default.filter(this.getUsagesForFlow(e3), (e4) => e4.referenceElement.outOfService); + get title() { } - visibleUsages(e3) { - return this._visibleUsages(e3); + get twitterInfo() { } - canDelete(e3) { - return !(this._canDelete && !this._canDelete() || this._hasWriters(e3)); + get whatsAppInfo() { } - addReader(e3) { - e3 && (this._addUsage(e3, h), this.initializeDesignTimeCalled && l.validateItem(this, true)); + get workPhone() { } - addWriter(e3) { - e3 && this._addUsage(e3, m) && (o.default.isBoolean(this.isSecure) && this._updateExpressionSecurity(e3), this.initializeDesignTimeCalled && l.validateItem(this, true)); + get cellPhone() { } - deleteItem(e3, t3) { - this.canDelete(e3) && (t3 && this.parentFlow.supportsAutoDeletingVariablesWithNoUsages ? this.destroy() : t3 || this.destroy()); + get homePhone() { } - deleteReference(e3) { - 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]); + get otherPhone() { } - removeUsage(e3, t3) { - 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); + get workEmail() { } - removeUsageForFlow(e3) { - const t3 = o.default.clone(this._usages[e3.instanceId]); - t3 && o.default.each(t3, (t4) => { - this.removeUsage(t4.referenceElement, e3.isDestroyedOrDestroying); - }); + get personalEmail() { } - transferUsages(e3, t3) { - this.transferring = true; - try { - if (!e3 || !t3 || o.default.isEmpty(t3)) return; - const i3 = this.name, n3 = (0, p.isString)(e3) ? e3 : e3.name; - o.default.each(t3, (t4) => { - t4.isReader && (0, d.isBaseExpression)(t4.referenceElement) && t4.referenceElement.replaceUsages(i3, n3, e3); - }), o.default.each(t3, (e4) => { - 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); - } - }); - } finally { - this.transferring = false; - } + get otherEmail() { } - updateSecurityForUsages(e3) { - const t3 = o.default.clone(this.getUsagesForFlow(e3)); - if (o.default.isBoolean(this.isSecure)) { - 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 address() { } - _visibleUsages(e3) { - return o.default.reject(this.getUsagesForFlow(e3), (e4) => e4.referenceElement.outOfService || e4.referenceElement.isDestroyed); + get surveyOptOut() { } - _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, d.isBaseExpression)(e3)) return; - const i3 = r2.__classPrivateFieldGet(this, n2, "f"); - r2.__classPrivateFieldSet(this, n2, e3, "f"); - try { - e3.updateSecureUsage(e3.parentFlow.validationResults, t3); - } finally { - r2.__classPrivateFieldSet(this, n2, i3, "f"); - } + get externalSystemUrl() { } - _hasWriters(e3) { - return o.default.where(this.getUsagesForFlow(e3), { isWriter: true }).length > 0; + get type() { } - _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); + get instagramInfo() { } - hasUsagesForFlow(e3) { - return e3 ? !o.default.isEmpty(this._usages[e3.instanceId]) : !o.default.isEmpty(this._usages); + get externalIdInfo() { } - clearUsages() { - this._usages = {}; + get appleInfo() { } - transferUsagesFrom(e3) { - this._usages = o.default.mapObject(e3._usages, (e4) => o.default.clone(e4)); + get canonicalContactId() { } - cloneUsages() { - return o.default.clone(this._usages); + get mergedFrom() { } - getUsagesForFlow(e3) { - const t3 = []; - return o.default.each(this._usages[e3.instanceId], (e4) => { - t3.push(e4); - }), t3; + get mergedTo() { + } + get mergeSet() { + } + get customFields() { + } + get schemaId() { + } + get schemaVersion() { + } + get displayTypeName() { + return "ArchValueExternalContact"; + } + get isArchValueExternalContact() { + return true; } } - n2 = /* @__PURE__ */ new WeakMap(), t2.default = g; - }, 89059: (e2, t2, i2) => { + t2.default = o; + }, 21046(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), 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(), 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."), J.default._setFactoryFlowStartupComplete(); - }); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getDefaultDivisionWhereUserCanAdd() { - var e3; - 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 _globalTypeName() { + return "externalContactCollection"; } - get defaultFlowCreationDivision() { - if (J.default.orgInfo.areDivisionsAvailable) return this._defaultCreationDivision; + get displayTypeName() { + return "ArchValueExternalContactCollection"; } - set defaultFlowCreationDivision(e3) { - const t3 = this._infoPropSet("newValue", "defaultFlowCreationDivision"); - 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 isArchValueExternalContactCollection() { + return true; + } + } + t2.default = o; + }, 63854(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreExternalContactPatchChangeItemViewModel"), e3), this._coreItem = e3; } get displayTypeName() { - return "ArchFactoryFlows"; + return "ArchValueExternalContactPatchChange"; } get logStr() { - return this._createLogStrFromParts(["ArchFactoryFlows"]); + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "FieldId", this.fieldId, false, true), this._createLogStrFromParts(e3); } - get isArchFactoryFlows() { + get isArchValueExternalContactPatchChange() { return true; } - _createFlowViewModel(e3, t3, i3) { - const n3 = this._infoParm("flowType", i3); - let r3; - switch (t3.isFlowInfoViewModel || (t3 = new C.default(t3)), e3) { - case u.flowTypes.flowTypeBot: - r3 = $.default; - break; - case u.flowTypes.flowTypeCommonModule: - r3 = z.default; - break; - case u.flowTypes.flowTypeInboundCall: - r3 = X.default; - break; - case u.flowTypes.flowTypeDigitalBot: - r3 = K.default; - break; - case u.flowTypes.flowTypeEmailSend: - r3 = Q.default; - break; - case u.flowTypes.flowTypeInboundChat: - r3 = Z.default; - break; - case u.flowTypes.flowTypeInQueueCall: - r3 = ie.default; - break; - case u.flowTypes.flowTypeInQueueEmail: - r3 = ne.default; - break; - case u.flowTypes.flowTypeInQueueShortMessage: - r3 = re.default; - break; - case u.flowTypes.flowTypeOutboundCall: - r3 = oe.default; - break; - case u.flowTypes.flowTypeSecureCall: - r3 = ae.default; - break; - case u.flowTypes.flowTypeInboundEmail: - r3 = ee.default; - break; - case u.flowTypes.flowTypeInboundShortMessage: - r3 = te.default; - break; - case u.flowTypes.flowTypeSurveyInvite: - r3 = se.default; - break; - case u.flowTypes.flowTypeVoice: - r3 = ce.default; - break; - case u.flowTypes.flowTypeVoicemail: - r3 = le.default; - break; - case u.flowTypes.flowTypeVoiceSurvey: - r3 = ue.default; - break; - case u.flowTypes.flowTypeWorkflow: - r3 = de.default; - break; - case u.flowTypes.flowTypeWorkitem: - r3 = pe.default; - break; - default: - this._itemIsInvalid(n3, "INTERNAL ERROR - the flow type '" + e3 + "' is not supported."); - } - return new r3(t3); + get fieldId() { + return this._coreItem.fieldId; } - verifyNluCreationDataSlotNames(e3) { - 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, 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, he.isArray)(n3) && n3.length && n3.forEach((e5, n4) => { - const r3 = null == e5 ? void 0 : e5.entityName; - if ((0, fe.isString)(r3)) { - const e6 = l.expressionDataService.getInvalidIdentifierCharPos(r3); - 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++; - } - }); - }), this.logNote(`processed a total of ${i3} entity / slot name(s) across ${t3.length} intent(s) and did not find any invalid names.`); + get condition() { + return this._coreItem.condition.id; } - verifyInboundEmailIntentDetectionCreationData(e3) { - 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, 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."); + 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); } - _getFlowInfoByFlowIdAsync(e3, t3, i3) { - const n3 = this._infoParm("flowType", i3); - return this._checkItemIsValidLiteralStringEnum(n3, t3, G.default.FLOW_TYPES_ALL), q.default.findItemByIdAsync(H.default.getConfigListManagerForFlowType(this, n3, t3), e3, "flow id"); + get availableConditionIds() { + return this._coreItem.availableConditions.map((e3) => e3.id); } - _getFlowInfoByFlowNameAsync(e3, t3, i3) { - const n3 = this._infoParm("flowType", i3); - return this._checkItemIsValidLiteralStringEnum(n3, t3, G.default.FLOW_TYPES_ALL), q.default.findItemByValueAsync(H.default.getConfigListManagerForFlowType(this, n3, t3), e3, "flow name", "name", "displayName"); + get value() { + return this.coreFactory.createArchWrapper(this._coreItem.expression); } - 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}'.`)); + } + t2.default = o; + }, 56486(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(8471)), r = n2.__importDefault(i2(78432)); + class a extends o.default { + constructor(e3) { + super(), this._checkItemUndefinedOrNull(this._infoParmCtor("coreExternalContactPatchChangeList"), e3), this._coreList = e3; } - _inMemoryAuthoringFlowKey(e3, t3) { - return `${t3.toLowerCase()}:${e3.toLowerCase()}`; + get displayTypeName() { + return "ArchValueExternalContactPatchChangeList"; } - _registerInMemoryAuthoringFlow(e3, t3, i3) { - this._inMemoryAuthoringFlows.set(this._inMemoryAuthoringFlowKey(e3, t3), i3); + get logStr() { + const e3 = []; + return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrPart(e3, "Length", this.length, true, true), this._createLogStrFromParts(e3); } - _unregisterInMemoryAuthoringFlow(e3, t3) { - this._inMemoryAuthoringFlows.delete(this._inMemoryAuthoringFlowKey(e3, t3)); + get isArchValueExternalContactPatchChangeList() { + return true; } - unregisterInMemoryAuthoringFlow(e3, t3) { - this._unregisterInMemoryAuthoringFlow(e3, t3); + get length() { + return this._coreList.items.length; } - _findInMemoryAuthoringFlow(e3, t3) { - const i3 = this._inMemoryAuthoringFlows.get(this._inMemoryAuthoringFlowKey(e3, t3)); - if (i3) { - if (!i3.isCreated) return i3; - this._unregisterInMemoryAuthoringFlow(e3, t3); - } + get fieldIds() { + return this._coreList.items.map((e3) => e3.fieldId); } - createFlowAsync(e3, t3, i3, r3, o2, l2, c2, N2, P2, M2, F2, L2) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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 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(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 = 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 == 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(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 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 == 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(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 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(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(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 = b.flowNameIsInvalidMessage(e3); - this._checkItem(this._infoParm("flowName", o2), null !== le2, le2); - 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: - N2.defaultLanguage = i3._getCoreViewModel(); - break; - case u.flowTypes.flowTypeVoiceSurvey: { - const e4 = p.isoLanguages[i3.tag.toLowerCase()]; - let t4; - 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 === (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 === (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 === (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 === (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 === (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, 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 === (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, 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 }; - } - pe2.voiceSurveyFlowSettings.surveyFormInfo = t4.surveyInfo, N2.nluVersionTemplate = { templateObject: t4.nluDomainVersion }; - break; - } - case u.flowTypes.flowTypeWorkitem: - yield pe2.configureForWorktype(se2), N2.worktypeId = se2.id; - } - 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); - }); + get availableFieldIds() { + return [...this._coreList.availableFields]; + } + addChange(e3, t3 = r.default.EXTERNAL_CONTACT_PATCH_CONDITIONS.update, i3 = "") { + const n3 = this._infoParm("fieldId", "addChange"); + this._checkItemIsValidLiteralString(n3, e3, false); + const o2 = this._coreList.addField(e3); + if (!o2) return; + const a2 = o2.availableConditions.map((e4) => e4.id); + this._checkItemIsValidLiteralStringEnum(n3, t3, a2, false); + const s = o2.availableConditions.find((e4) => e4.id === t3); + return s && (o2.condition = s), i3 && o2.expression.setAsExpression(i3), this.coreFactory.createArchWrapper(o2); } - createFlowBotAsync(e3, t3, i3, n3, r3, o2) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeBot, "createFlowBotAsync", n3, r3, o2); + 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]); } - createFlowDigitalBotAsync(e3, t3, i3, n3, r3, o2) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeDigitalBot, "createFlowDigitalBotAsync", n3, r3, o2); + 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); } - createFlowCommonModuleAsync(e3, t3, i3, n3, r3, o2) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeCommonModule, "createFlowCommonModuleAsync", n3, r3, void 0, o2); + 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); } - createFlowInboundCallAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundCall, "createFlowInboundCallAsync", n3, r3); + } + t2.default = a; + }, 92993(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - createFlowOutboundCallAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeOutboundCall, "createFlowOutboundCallAsync", n3, r3); + get _globalTypeName() { + return "externalFacebookId"; } - createFlowInQueueCallAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInQueueCall, "createFlowInQueueCallAsync", n3, r3); + get scopedId() { } - createFlowInQueueEmailAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInQueueEmail, "createFlowInQueueEmailAsync", n3, r3); + get displayTypeName() { + return "ArchValueExternalFacebookId"; } - createFlowInQueueShortMessageAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInQueueShortMessage, "createFlowInQueueShortMessageAsync", n3, r3); + get isArchValueExternalFacebookId() { + return true; } - createFlowSecureCallAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeSecureCall, "createFlowSecureCallAsync", n3, r3); + } + t2.default = o; + }, 65165(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - createFlowInboundEmailAsync(e3, t3, i3, n3, r3, o2) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundEmail, "createFlowInboundEmailAsync", n3, r3, o2); + get _globalTypeName() { + return "externalFacebookIdCollection"; } - createFlowInboundShortMessageAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundShortMessage, "createFlowInboundShortMessageAsync", n3, r3); + get displayTypeName() { + return "ArchValueExternalFacebookIdCollection"; } - createFlowSurveyInviteAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeSurveyInvite, "createFlowSurveyInviteAsync", n3, r3); + get isArchValueExternalFacebookIdCollection() { + return true; } - createFlowInboundChatAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeInboundChat, "createFlowInboundChatAsync", n3, r3); + } + t2.default = o; + }, 91292(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - createFlowVoiceAsync(e3, t3, i3, n3, r3, o2) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoice, "createFlowVoiceAsync", n3, r3, o2); + get _globalTypeName() { + return "externalFacebookInfo"; } - createFlowVoicemailAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeVoicemail, "createFlowVoicemailAsync", n3, r3); + get displayName() { } - 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); + get ids() { } - createFlowWorkflowAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeWorkflow, "createFlowWorkflowAsync", n3, r3); + get displayTypeName() { + return "ArchValueExternalFacebookInfo"; } - createFlowEmailSendAsync(e3, t3, i3, n3, r3) { - return this.createFlowAsync(e3, t3, i3, u.flowTypes.flowTypeEmailSend, "createFlowEmailSendAsync", n3, r3); + get isArchValueExternalFacebookInfo() { + return true; } - createFlowWorkitemAsync(e3, t3, i3, n3, r3, o2, a2, s2, 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); + } + t2.default = o; + }, 48312(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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, 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 J.default.executeCallback(this, "getFlowInfoByFlowIdAsync", i3, r3); - }); + get _globalTypeName() { + return "externalFacebookInfoCollection"; } - getFlowInfoByFlowNameAsync(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - 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 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; - } - }); + get displayTypeName() { + return "ArchValueExternalFacebookInfoCollection"; } - 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, 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)); - }); + get isArchValueExternalFacebookInfoCollection() { + return true; } - 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, 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)); - }); + } + t2.default = o; + }, 60577(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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, 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)); - }); + get _globalTypeName() { + return "externalIdInfo"; } - 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, 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)); - }); + get externalSource() { } - 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, 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)); - }); + get value() { } - 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, 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)); - }); + get displayTypeName() { + return "ArchValueExternalIdInfo"; } - 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, 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)); - }); + get isArchValueExternalIdInfo() { + return true; } - 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 q.default._checkoutFlowByFlowInfoAsync(n3, t3, "checkoutFlowByFlowInfoAsync"); - return J.default.executeCallback(this, "checkoutFlowByFlowInfoAsync", i3, this.coreFactory.createArchWrapper(r3)); - }); + } + t2.default = o; + }, 33805(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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, 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)); - }); + get _globalTypeName() { + return "externalIdInfoCollection"; } - 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, 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)); - }); + get displayTypeName() { + return "ArchValueExternalIdInfoCollection"; } - 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 q.default._unlockFlowAsync(i3); - return J.default.executeCallback(this, "unlockFlowByFlowInfoAsync", t3, this.coreFactory.createArchWrapper(n3)); - }); + get isArchValueExternalIdInfoCollection() { + return true; } - 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, 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)); - }); + } + t2.default = o; + }, 64042(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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, 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)); - }); + get _globalTypeName() { + return "externalInstagramInfo"; } - 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, 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)); - }); + get displayName() { } - 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); - }); + get handle() { } - createFlowFromDefinitionAsync(e3, t3, i3, n3, r3, o2, a2, s2, l2) { - const u2 = this._infoParm("archDefinitionFlow", "createFlowFromDefinitionAsync"); - if (this._checkItem(u2, !e3 || !e3.isArchDefinitionFlow, "you must pass in a valid ArchDefinitionFlow instance."), !e3.supportsFlowCreationData) { - const e4 = this._infoParm("creationData", "createFlowFromDefinitionAsync"); - this._checkItemIsUndefinedOrNull(e4, a2); - } - return this.createFlowAsync(t3, i3, n3, e3.type, "createFlowFromDefinitionAsync", r3, o2, a2, s2, l2); + get ids() { } - 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); - }); + get displayTypeName() { + return "ArchValueExternalInstagramInfo"; } - _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); - }); + get isArchValueExternalInstagramInfo() { + return true; } } - t2.ArchFactoryFlows = Oe, t2.default = new Oe(); - }, 89069: (e2, t2, i2) => { + t2.default = o; + }, 78258(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(5173), s = i2(37345); - class l extends a.BaseFlowPreviewInstance { - _startPreviewForFlowInfo(e3, t3, i3, a2) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i4 = `ArchitectWorkflowPreview_${(0, o.uuid)()}`, n3 = yield s.postFlowLaunch(e3.id, t3, r2.default.isObject(a2) ? a2 : {}, i4); - return console.log(`workflow launch name '${i4}'`), n3.id; - }); - } - _isFlowNotificationEventDataForThisPreview(e3, t3) { - return t3.flowId === this.flowId; + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get supportsDebugPublishedPreview() { - return false; + get _globalTypeName() { + return "externalInstagramInfoCollection"; } - get supportsPublishedFlowPreview() { - return true; + get displayTypeName() { + return "ArchValueExternalInstagramInfoCollection"; } - get supportsPreviewPayload() { + get isArchValueExternalInstagramInfoCollection() { return true; } } - t2.default = l; - }, 89125: (e2, t2, i2) => { + t2.default = o; + }, 1607(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FormViewModel = void 0; - const n2 = i2(43212), r2 = i2(30356); - class o extends n2.BaseConfigurationListViewModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), this._formPages = e3.formPages.map((e4) => new r2.FormPageViewModel(e4)); + super(e3); } - get className() { - return "FormViewModel"; + get _globalTypeName() { + return "externalInstagramScopedId"; } - get formPages() { - return this._formPages; + get scopedId() { + } + get displayTypeName() { + return "ArchValueExternalInstagramScopedId"; + } + get isArchValueExternalInstagramScopedId() { + return true; } } - t2.FormViewModel = o; - }, 89127: (e2, t2, i2) => { - const { audioMonitoringActionType: n2 } = i2(30801), r2 = i2(28730), o = i2(7401); - function a() { - Object.defineProperties(this, { _enableMonitoring: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - r2.extend(a, n2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.enableMonitoring.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.enableMonitoring.pasteResolveOldToNewValues(e3); - } }, enableMonitoring: { enumerable: true, get: function() { - return this._enableMonitoring; - }, set: function(e3) { - this._enableMonitoring = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 89134: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allPostFlowTargetTypes = t2.allPostMessageFlowTargetTypes = t2.allPostCallFlowTargetTypes = t2.any = t2.sender = t2.agent = t2.callee = t2.caller = void 0; - const n2 = i2(47957); - t2.caller = { displayString: n2.setPostFlow.callerDisplayString, id: "caller" }, t2.callee = { displayString: n2.setPostFlow.calleeDisplayString, id: "callee" }, t2.agent = { displayString: n2.setPostFlow.agentDisplayString, id: "agent" }, t2.sender = { displayString: n2.setPostFlow.senderDisplayString, id: "sender" }, t2.any = { displayString: n2.setPostFlow.anyDisplayString, id: "any" }, t2.allPostCallFlowTargetTypes = [t2.callee, t2.caller, t2.any], t2.allPostMessageFlowTargetTypes = [t2.agent], t2.allPostFlowTargetTypes = [...t2.allPostCallFlowTargetTypes, ...t2.allPostMessageFlowTargetTypes]; - }, 89154: (e2, t2, i2) => { + t2.default = o; + }, 50479(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(79069), a = n2.__importDefault(i2(40559)); - class s extends a.default { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { - super(e3, o.skillManager); + super(e3); } get _globalTypeName() { - return "skillCollection"; + return "externalInstagramScopedIdCollection"; } get displayTypeName() { - return "ArchValueSkillCollection"; + return "ArchValueExternalInstagramScopedIdCollection"; } - get _searchByValueSearchProperty() { - return "name"; + get isArchValueExternalInstagramScopedIdCollection() { + return true; } - addLiteralBySkillIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("skillId", "addLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "skill").then(() => r2.default.executeCallback(this, "addLiteralBySkillIdAsync", t3, this)); - }); + } + t2.default = o; + }, 51895(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - addLiteralBySkillNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("skillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "skill").then(() => r2.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this)); - }); + get _globalTypeName() { + return "externalLineId"; } - get isArchValueSkillCollection() { + get userId() { + } + get displayTypeName() { + return "ArchValueExternalLineId"; + } + get isArchValueExternalLineId() { return true; } } - t2.default = s; - }, 89181: (e2, t2, i2) => { + t2.default = o; + }, 62527(e2, t2, i2) { "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 c extends l.default { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { super(e3); } - addAttribute() { - const e3 = this.variables.add(null, o.globalTypes.string); - return e3.expression.mode = r2.variable, e3.expression.setAsOutput(), s.validateAction(this, true, true), e3.id; + get _globalTypeName() { + return "externalLineIdCollection"; } - 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: c.createYamlOptions("variables", (e3) => e3.setPropertyName("attributes").setNameValuePairShouldUseVariableProperty(true).setWrappedCollectionItemName("attribute")) }]; + get displayTypeName() { + return "ArchValueExternalLineIdCollection"; + } + get isArchValueExternalLineIdCollection() { + return true; } } - t2.default = c; - }, 89240: (e2, t2, i2) => { + t2.default = o; + }, 3022(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ResponseLibraryList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(23436); - class s extends o.PagedList { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { super(e3); } - get entities() { - return this._entities; + get _globalTypeName() { + return "externalLineInfo"; } - set entities(e3) { - this._entities = this.reviveArray(e3, a.ResponseLibrary); + get displayName() { + } + get ids() { + } + get displayTypeName() { + return "ArchValueExternalLineInfo"; + } + get isArchValueExternalLineInfo() { + return true; } } - t2.ResponseLibraryList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 89244: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.combineAll = void 0; - var n2 = i2(67933); - t2.combineAll = n2.combineLatestAll; - }, 89266: (e2, t2, i2) => { - function n2() { - this.features = void 0, this.flowDocumentVersion = void 0, this.minimumServerVersion = void 0, this.ttsDataVersion = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "FlowMetaData"), e2.exports = n2; - }, 89343: (e2, t2, i2) => { + t2.default = o; + }, 83566(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.GetJourneySessionsByExternalContactActionModel = void 0; - const n2 = i2(28904), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByIdActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { - super(e3), this.__type = o.__type; + super(e3); + } + get _globalTypeName() { + return "externalLineInfoCollection"; + } + get displayTypeName() { + return "ArchValueExternalLineInfoCollection"; + } + get isArchValueExternalLineInfoCollection() { + return true; } } - t2.GetJourneySessionsByExternalContactActionModel = o, o.__type = r2.getJourneySessionsByExternalContactActionType, o.registerType(); - }, 89452: (e2, t2, i2) => { - function n2() { - this.sectionName = void 0, this.metaDataId = void 0, this.metaDataJSON = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(88732).extend(n2, "ClipboardDependencyFlowUiMetaDataModel", true), e2.exports = n2; - }, 89501: (e2, t2, i2) => { + t2.default = o; + }, 56248(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "scheduleGroupCollection"; + return "externalLinkConfiguration"; } - get displayTypeName() { - return "ArchVariableScheduleGroupCollection"; + get uriTemplate() { } - get initialValue() { - return this._initialValue; + get displayTypeName() { + return "ArchValueExternalLinkConfiguration"; } - get isArchVariableScheduleGroupCollection() { + get isArchValueExternalLinkConfiguration() { return true; } } - t2.default = r2; - }, 89599: (e2, t2, i2) => { + t2.default = o; + }, 87964(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)), c = i2(47957), d = i2(27862); - class p extends l.default { - get dependencyType() { - return d.ConversationSummarySetting; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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 = 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()); + get _globalTypeName() { + return "externalLinkConfigurationCollection"; } - _createItemViewModel(e3) { - return new u.default(e3); + get displayTypeName() { + return "ArchValueExternalLinkConfigurationCollection"; + } + get isArchValueExternalLinkConfigurationCollection() { + return true; } } - t2.ConversationSummarySettingManager = p, t2.conversationSummarySettingManager = new p(); - }, 89690: (e2, t2, i2) => { + t2.default = o; + }, 23399(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), 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get amObjectEventSink() { - return true; + get _globalTypeName() { + return "externalOrganization"; } - _preDestroy() { - super._preDestroy(), this.parentFlow.tryRemoveUiMetadataInfo(this, "state", this.stateReference, [this.model.__type], "stateReference", false); + get id() { } - initialize() { - super.initialize(); + get createDateTimeUtc() { } - getDetails() { - return this.stateName ? new s.ActionDetails([_.state.label], [this.stateName]) : null; + get modifyDateTimeUtc() { } - 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); + get kind() { } - search(e3) { - super.search(e3); - const t3 = o.flowElementRegistrationService.getItemById(this.parentFlow, this.stateReference); - t3 && e3.checkText(this, t3.name, _.state.label); + get name() { } - static get managedProperties() { - 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")) }]; + get companyType() { } - validate(e3) { - super.validate(e3); + get industry() { } - } - 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, 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) { - o[e3] = this, o[t3] = this, a.baseConstructor.apply(this, arguments); - } - n2.extend(a, "UUIDataTransferTypeEnum"), a.getInstance = function(e3) { - return o[e3 || 0] || o[0]; - }, a.transfer = new a(0, "transfer", r2.setUUIData.transferDropDownText), a.disconnect = new a(1, "disconnect", r2.setUUIData.disconnectDropDownText), e2.exports = a; - }, 89795: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.raceInit = t2.race = void 0; - var n2 = i2(48051), r2 = i2(19724), o = i2(7652), a = i2(17214); - function s(e3) { - return function(t3) { - for (var i3 = [], n3 = function(n4) { - i3.push(r2.innerFrom(e3[n4]).subscribe(a.createOperatorSubscriber(t3, function(e4) { - if (i3) { - for (var r3 = 0; r3 < i3.length; r3++) r3 !== n4 && i3[r3].unsubscribe(); - i3 = null; - } - t3.next(e4); - }))); - }, o2 = 0; i3 && !t3.closed && o2 < e3.length; o2++) n3(o2); - }; - } - t2.race = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return 1 === (e3 = o.argsOrArgArray(e3)).length ? r2.innerFrom(e3[0]) : new n2.Observable(s(e3)); - }, t2.raceInit = s; - }, 89844: (e2, t2, i2) => { - const n2 = i2(28730), { setAttributesActionType: r2 } = i2(30801), o = i2(42217); - function a() { - Object.defineProperties(this, { _variables: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments); - for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments); - for (let t3 = 0; t3 < this.variables.length; t3++) this.variables[t3].pasteResolveOldToNewValues(e3); - } }, variables: { enumerable: true, get: function() { - return this._variables; - }, set: function(e3) { - this._variables = this.reviveArray(e3, o); - } } }), e2.exports = a; - }, 89876: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.voicemailScriptManager = t2.VoicemailScriptManager = void 0; - const n2 = i2(24032), r2 = i2(82915), o = i2(30801), a = i2(47957), s = i2(52124); - class l extends r2.ScriptManager { - constructor() { - super("VoicemailScriptManager"), this.topic = (0, n2.getTopic)("VoicemailScriptManager"), this.actionsForUsageSearch = [o.transferVoicemailActionType], this.apiCallList = s.getScripts, this.dependencyContext = a.transferVoicemail.voicemailScript; + get primaryContactId() { } - } - t2.VoicemailScriptManager = l, t2.voicemailScriptManager = new l(); - }, 89878: (e2, t2, i2) => { - const n2 = i2(36019).default, r2 = i2(15139); - class o { - } - const a = new o(); - o.prototype.getValidationResults = n2.request("GET", "{public-api.apps}/api/v2/flows/{flowId}/validate/{operationId}", r2), o.prototype.postValidationManifest = n2.request("POST", "{public-api.apps}/api/v2/flows/actions/validate", r2), a.getValidationResults.addOptions({ ignoreBadResponse: true }), a.postValidationManifest.addOptions({ ignoreBadResponse: true }), e2.exports = a; - }, 89884: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getFlowInfoForOpen = function(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - var t3; - P.withContext("flowId", e3).info("Starting flow open"); - const i3 = yield D.getFlow(e3, true, true); - if (!i3) throw P.withContext("flowId", e3).error("Failed to retrieve flow information"), new Error(`Failed to retrieve flow information for flow ID '${e3}'`); - if ("FAILURE" === (null === (t3 = i3.currentOperation) || void 0 === t3 ? void 0 : t3.actionStatus)) { - const { errorCode: t4, errorMessage: n4, actionName: r3 } = i3.currentOperation; - P.withContext("flowId", e3).withContext("errorCode", t4).withContext("errorMessage", n4).error(`Flow operation '${r3}' failed but allowing flow to load`); - } - const n3 = new p.default(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 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 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)), 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://${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 c { - constructor(e3) { - this._model = e3; + get address() { } - static create(e3) { - return new c((0, l.getCustomJsonInfoForDataTypeStr)(e3)); + get phoneNumber() { } - static createFromDataTypeDef(e3) { - return this.create(null == e3 ? void 0 : e3.dataTypeId); + get faxNumber() { } - static createFromDataTypeDefViewModel(e3) { - return this.createFromDataTypeDef(null == e3 ? void 0 : e3.model); + get employeeCount() { } - get expressionTypeStr() { - return this._model.expressionDataTypeStr; + get revenue() { } - get dataTypeStr() { - return this._model.dataTypeStr; + get tags() { } - get context() { - return this._model.context || r2.CustomJsonContext.none; + get tickers() { } - get conversationAttributeSchemaId() { - if (this.isNamespaceConversationAttribute) return this.subIdentifier; + get twitterInfo() { } - get decisionTableId() { - if (this.isNamespaceDecisionTable) return this.subIdentifier; + get externalSystemUrl() { } - get hasContext() { - return this.context !== r2.CustomJsonContext.none; + get websites() { } - get isCollection() { - var e3; - return null === (e3 = this._model.expressionDataTypeStr) || void 0 === e3 ? void 0 : e3.endsWith(a.default.exprDataTypeSuffixCollection); + get divisionId() { } - get isCustomJsonType() { - return this._model.isCustomJsonType; + get displayTypeName() { + return "ArchValueExternalOrganization"; } - get identifier() { - return this._model.identifier; + get isArchValueExternalOrganization() { + return true; } - get isContextError() { - return this.context === r2.CustomJsonContext.error; + } + t2.default = o; + }, 25679(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isContextInput() { - return this.context === r2.CustomJsonContext.input; + get _globalTypeName() { + return "externalOrganizationCollection"; } - get isContextRecord() { - return this.context === r2.CustomJsonContext.record; + get displayTypeName() { + return "ArchValueExternalOrganizationCollection"; } - get isContextSchemaData() { - return this.context === r2.CustomJsonContext.schemaData; + get isArchValueExternalOrganizationCollection() { + return true; } - get isContextSchemaDataPatch() { - return this.context === r2.CustomJsonContext.schemaDataPatch; + } + t2.default = o; + }, 79163(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isContextNone() { - return this.context === r2.CustomJsonContext.none; + get _globalTypeName() { + return "externalPhoneNumber"; } - get isContextOutput() { - return this.context === r2.CustomJsonContext.output; + get display() { } - get isNamespaceArchitect() { - return this.namespace === o.CustomJsonNamespace.architect; + get extension() { } - get isNamespaceConversationAttribute() { - return this.namespace === o.CustomJsonNamespace.conversationAttribute; + get userInput() { } - get isNamespaceDecisionTable() { - return this.namespace === o.CustomJsonNamespace.decisionTable; + get e164() { } - get isNamespaceWorktype() { - return this.namespace === o.CustomJsonNamespace.worktype; + get countryCode() { } - get namespace() { - return this._model.namespace; + get acceptsSMS() { } - get namespaceLabel() { - return (0, s.getCustomJsonNamespaceLabel)(this._model.namespace); + get displayTypeName() { + return "ArchValueExternalPhoneNumber"; } - get namespaceSupportsContext() { - return (0, u.getCustomJsonNamespaceSupportsContext)(this.namespace); + get isArchValueExternalPhoneNumber() { + return true; } - get subIdentifier() { - return this._model.subIdentifier; + } + t2.default = o; + }, 88779(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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 _globalTypeName() { + return "externalPhoneNumberCollection"; + } + get displayTypeName() { + return "ArchValueExternalPhoneNumberCollection"; } - get worktypeSchemaId() { - if (this.isNamespaceWorktype) return this.identifier; + get isArchValueExternalPhoneNumberCollection() { + return true; } } - t2.CustomJsonIdentifierInfo = c; - }, 89965: (e2, t2, i2) => { + t2.default = o; + }, 91013(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(81574)); class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.findQueueActionType; + get _globalTypeName() { + return "externalSource"; + } + get id() { + } + get name() { + } + get active() { + } + get linkConfiguration() { } get displayTypeName() { - return this._scriptingName; + return "ArchValueExternalSource"; } - get isArchActionFindQueue() { + get isArchValueExternalSource() { return true; } - get findResult() { - return this._findResult; - } } t2.default = o; - }, 89982: (e2, t2, i2) => { - function n2() { - this.isDefault = void 0, this.language = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "FlowSupportedLanguage"), e2.exports = n2; - }, 89986: (e2, t2, i2) => { + }, 59929(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefOutboundFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(96618), a = i2(27862); - class s extends r2.BriefFlowListManager { - get dependencyType() { - return a.OutboundCallFlow; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - constructor() { - super(), this.topic = n2.getTopic("briefOutboundFlowListManager"), this.additionalQueryParams = { type: o.flowTypes.flowTypeOutboundCall }, this.className = "BriefOutboundFlowListManager", this.flowType = o.flowTypes.flowTypeOutboundCall, this._initialize(); + get _globalTypeName() { + return "externalSourceCollection"; + } + get displayTypeName() { + return "ArchValueExternalSourceCollection"; + } + get isArchValueExternalSourceCollection() { + return true; } } - t2.briefOutboundFlowListManager = new s(); - }, 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), c = i2(28619); - t2.windowTime = function(e3) { - 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 && 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()), c.executeSchedule(t5, _, function() { - return u2(s2); - }, e3); - } - }; - 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) { - p2(function(t5) { - var i5 = t5.window; - return e4(i5); - }), e4(i4), i4.unsubscribe(); - }; - return t4.subscribe(s.createOperatorSubscriber(i4, function(e4) { - p2(function(t5) { - t5.window.next(e4), m <= ++t5.seen && u2(t5); - }); - }, function() { - return g(function(e4) { - return e4.complete(); - }); - }, function(e4) { - return g(function(t5) { - return t5.error(e4); - }); - })), function() { - r3 = null; - }; - }); - }; - }, 90067: (e2, t2, i2) => { + t2.default = o; + }, 29925(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(15453)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(81574)); class o extends n2.default { constructor(e3) { - super(e3), this._currentIndex = this.coreFactory.createArchValueFromExpression(e3.currentIndex), this._loopCount = this.coreFactory.createArchValueFromExpression(e3.loopCount); + super(e3); } - get _actionTypeId() { - return r2.loopActionType; + get _globalTypeName() { + return "externalTwitterInfo"; } - get displayTypeName() { - return this._scriptingName; + get id() { } - get currentIndex() { - return this._currentIndex; + get name() { } - get isArchActionLoop() { - return true; + get screenName() { } - get loopCount() { - return this._loopCount; + get displayTypeName() { + return "ArchValueExternalTwitterInfo"; + } + get isArchValueExternalTwitterInfo() { + return true; } } t2.default = o; - }, 90077: (e2, t2, i2) => { + }, 39865(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(65485)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { - super(e3), this._question = this.coreFactory.createArchWrapper(e3.question); + super(e3); + } + get _globalTypeName() { + return "externalTwitterInfoCollection"; } get displayTypeName() { - return "ArchBaseActionAsk"; + return "ArchValueExternalTwitterInfoCollection"; } - get isArchBaseActionAsk() { + get isArchValueExternalTwitterInfoCollection() { return true; } - get question() { - return this._question; - } } - t2.default = r2; - }, 90152: (e2, t2, i2) => { + t2.default = o; + }, 23206(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(19596); - class s extends a.DataContract { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_categoryId"), (0, o.makeUnenumerable)(this, "_displayIndex"); + super(e3); } - get categoryId() { - return this._categoryId; + get _globalTypeName() { + return "externalWhatsAppInfo"; } - set categoryId(e3) { - e3.startsWith("category.") || (e3 = "category." + e3), this._categoryId = e3; + get displayName() { } - get displayIndex() { - return this._displayIndex; + get phoneNumber() { } - set displayIndex(e3) { - this._displayIndex = e3; + get displayTypeName() { + return "ArchValueExternalWhatsAppInfo"; + } + get isArchValueExternalWhatsAppInfo() { + return true; } } - t2.default = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "categoryId", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], s.prototype, "displayIndex", null); - }, 90159: (e2, t2, i2) => { + t2.default = o; + }, 73510(e2, t2, i2) { "use strict"; - var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = i2(19596), s = i2(80295); - class l extends a.DataContract { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { super(e3); } - get url() { - return this._url; + get _globalTypeName() { + return "externalWhatsAppInfoCollection"; } - set url(e3) { - this._url = e3; + get displayTypeName() { + return "ArchValueExternalWhatsAppInfoCollection"; } - get fileUrl() { - return this._fileUrl; + get isArchValueExternalWhatsAppInfoCollection() { + return true; } - set fileUrl(e3) { - this._fileUrl = e3; + } + t2.default = o; + }, 60341(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(65220), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.fileManager); } - get uploadKey() { - return this._uploadKey; + get _globalTypeName() { + return "file"; } - set uploadKey(e3) { - this._uploadKey = e3; + get displayTypeName() { + return "ArchValueFile"; } - get headers() { - return this._headers; + get isArchValueFile() { + return true; } - set headers(e3) { - this._headers = e3; + setLiteralByFileIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("fileId", "setLiteralByFileIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByFileIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByFileIdAsync", t3, this)); + }); + } + setLiteralByFileNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("fileName", "setLiteralByFileNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByFileNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByFileNameAsync", t3, this)); + }); } } - t2.default = l, o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], l.prototype, "url", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], l.prototype, "fileUrl", null), o.__decorate([(0, s.enumerable)(true), o.__metadata("design:type", String), o.__metadata("design:paramtypes", [String])], l.prototype, "uploadKey", 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])], l.prototype, "headers", null); - }, 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), 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 = c; - }, 90196: (e2, t2, i2) => { + t2.default = s; + }, 56617(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "scheduleCollection"; + return "fileCollection"; } get displayTypeName() { - return "ArchVariableScheduleCollection"; - } - get initialValue() { - return this._initialValue; + return "ArchValueFileCollection"; } - get isArchVariableScheduleCollection() { + get isArchValueFileCollection() { return true; } } - t2.default = r2; - }, 90205: (e2, t2, i2) => { + t2.default = o; + }, 74617(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; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getAction(e3) { - return n2.actionRegistrationService.getActionById(e3, this.id); + get _globalTypeName() { + return "formInput"; } - } - 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; - const n2 = i2(31635).__importDefault(i2(95093)), r2 = i2(24032), o = i2(94765), a = (0, r2.getTopic)("BaseTypeWithDate"); - class s extends o.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + get displayTypeName() { + return "ArchValueFormInput"; } - get className() { - return "BaseTypeWithDate"; + get isArchValueFormInput() { + return true; } - getParsedDate(e3, t3, i3) { - const r3 = n2.default.utc(e3); - if (!r3 || !r3.isValid()) { - const n3 = `Invalid date parsed in BaseTypeWithDate.getParsedDate for expression text '${e3}'`; - if (a.exceptionWithErrorObjectInfo(null, n3, t3, true), i3) throw n3; - } - return { year: r3.year(), month: r3.month() + 1, date: r3.date(), hours: r3.hours(), minutes: r3.minutes(), seconds: r3.seconds() }; + get title() { + return this._getAssignableProperty("title"); } - } - t2.BaseTypeWithDate = s; - }, 90358: (e2, t2, i2) => { - let n2 = null; - if (i2(6697)) n2 = i2(70425); - else { - const e3 = i2(29546); - try { - n2 = i2(26349)("./" + e3.getCurrentLanguage() + "/serverErrors.js"); - } catch (e4) { - n2 = i2(70425); + get subtitle() { + return this._getAssignableProperty("subtitle"); + } + get placeholderText() { + return this._getAssignableProperty("placeholderText"); + } + get isMultipleLine() { + return this._getAssignableProperty("isMultipleLine"); + } + get isRequired() { + return this._getAssignableProperty("isRequired"); + } + setLiteralFormInput(e3, t3, i3, n3, o2) { + this.title.setLiteralString(e3), this.isMultipleLine.setLiteralBool(t3), this.isRequired.setLiteralBool(i3), n3 && this.subtitle.setLiteralString(n3), o2 && this.placeholderText.setLiteralString(o2); } } - n2.then && n2.then((t3) => { - e2.exports = t3; - }), e2.exports = n2; - }, 90366: (e2, t2, i2) => { + t2.default = o; + }, 84986(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), o = n2.__importDefault(i2(94225)), r = i2(77841), a = n2.__importDefault(i2(45894)); + class s extends a.default { constructor(e3) { - super(e3); + super(e3, r.grammarManager); } get _globalTypeName() { - return "externalAddressCollection"; + return "grammar"; + } + get isArchValueGrammar() { + return true; } get displayTypeName() { - return "ArchValueExternalAddressCollection"; + return "ArchValueGrammar"; } - get isArchValueExternalAddressCollection() { - return true; + setLiteralByGrammarIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("grammarId", "setLiteralByGrammarIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGrammarIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByGrammarIdAsync", t3, this)); + }); + } + setLiteralByGrammarNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("grammarName", "setLiteralByGrammarNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGrammarNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByGrammarNameAsync", t3, this)); + }); } } - t2.default = r2; - }, 90396: (e2, t2, i2) => { + t2.default = s; + }, 24962(e2, t2, i2) { "use strict"; - 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 { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(77841), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(40559)); + class l extends s.default { 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); - } - loadModel(e3) { - if (e3) { - if (e3.isFlowInfoViewModel ? this._model = e3._model : this._model = e3, this._versions.updateInfoVersions(e3.savedVersion, e3.checkedInVersion, e3.publishedVersion, e3.debugVersion), this._definition = u.default.getDefinitionForFlowType(this.type), this.isLocked && r2.getConnectedUser().id) { - 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 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 c.default(t3.inputSchema, true)), t3.outputSchema && (this._alternateOutputSchemas[e3] = new c.default(t3.outputSchema, false)); + super(e3, r.grammarManager); } - 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 _globalTypeName() { + return "grammarCollection"; } - get topic() { - return this._topic; + get displayTypeName() { + return "ArchValueGrammarCollection"; } - get versions() { - return this._versions; + get isArchValueGrammarCollection() { + return true; } - get className() { - return "FlowInfoViewModel"; + get _searchByValueSearchProperty() { + return "name"; } - get checkedInDisplay() { - return this.versions.checkedInDisplay; + addLiteralByGrammarIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("grammarName", "addLiteralByGrammarIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGrammarIdAsync"), t3, true); + const i3 = yield a.default.findItemByIdAsync(r.grammarManager, e3, "grammar"); + return this._addNetworkModelToCollection(i3), o.default.executeCallback(this, "addLiteralByGrammarIdAsync", t3, this); + }); } - get debugVersionDisplay() { - return this.versions.debugDisplay; + addLiteralByGrammarNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("grammarName", "addLiteralByGrammarNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGrammarNameAsync"), t3, true); + const i3 = yield a.default.findItemByValueAsync(r.grammarManager, e3, "grammar"); + return this._addNetworkModelToCollection(i3), o.default.executeCallback(this, "addLiteralByGrammarNameAsync", t3, this); + }); } - get debugVersion() { - return this.versions.debugVersion; + } + t2.default = l; + }, 52828(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(98835), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.groupManager); } - get description() { - return this._model.description; + get _globalTypeName() { + return "group"; } - set description(e3) { - this._model.description = e3; + get displayTypeName() { + return "ArchValueGroup"; } - get displayName() { - return this._model.displayName; + get isArchValueGroup() { + return true; } - set displayName(e3) { - this._model.displayName = e3; + setLiteralByGroupIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("groupId", "setLiteralByGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGroupIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByGroupIdAsync", t3, this)); + }); } - get displayNameEscaped() { - return s.default.escape(this.displayName); + setLiteralByGroupNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("groupName", "setLiteralByGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByGroupNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByGroupNameAsync", t3, this)); + }); } - get division() { - return this._model.division; + } + t2.default = s; + }, 22488(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(98835), a = n2.__importDefault(i2(40559)); + class s extends a.default { + constructor(e3) { + super(e3, r.groupManager); } - get divisionViewModel() { - return new _.DivisionViewModel(this._model.division); + get _globalTypeName() { + return "groupCollection"; } - get divisionName() { - return this.division && this.division.name ? this.division.name : T.flow.unknownDivision; + get displayTypeName() { + return "ArchValueGroupCollection"; } - get lockedUserName() { - if (!this.lockedUser) return ""; - if (!this.lockedUser.displayName) { - if (this.lockedUser.id === r2.getConnectedUser().id) return r2.getConnectedUser().displayName || T.generic.currentUser; - let e3 = y.getUnknownUserName(this.lockedUser.id, this.lockedUser.isOAuthClient); - return e3 || (e3 = this.lockedUser.isOAuthClient ? T.flow.unknownClient : T.flow.unknownUser), e3; - } - return this.lockedUser.displayName; + get _searchByValueSearchProperty() { + return "name"; } - get nluInfo() { - var e3; - return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.nluInfo; + addLiteralByGroupIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("groupId", "addLiteralByGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGroupIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "group").then(() => o.default.executeCallback(this, "addLiteralByGroupIdAsync", t3, this)); + }); } - get surveyForm() { - var e3; - return null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.surveyForm; + addLiteralByGroupNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("groupName", "addLiteralByGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByGroupNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "group").then(() => o.default.executeCallback(this, "addLiteralByGroupNameAsync", t3, this)); + }); } - get publishedDisplay() { - return this.versions.publishedDisplay; + get isArchValueGroupCollection() { + return true; } - get publishedVersion() { - return this.versions.publishedVersion; + } + t2.default = s; + }, 75342(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(97629), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.imageManager); } - get system() { - return this._model.system; + get _globalTypeName() { + return "image"; } - actionInProgress(e3) { - if (this._model.currentOperation && (!e3 || this._model.currentOperation.actionName === e3)) switch (this._model.currentOperation.actionStatus) { - case o.actionStatus.started: - case o.actionStatus.pendingGeneration: - case o.actionStatus.pendingBackendNotification: - return true; - case o.actionStatus.success: - case o.actionStatus.failure: - default: - return false; - } - return false; + get displayTypeName() { + return "ArchValueImage"; } - get isActive() { - return this._model.active; + isArchValueImage() { + return true; } - get hasBriefModel() { - return this._model && this._model.isBaseBriefEntity; + setLiteralByImageIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("imageId", "setLiteralByImageIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByImageIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByImageIdAsync", t3, this)); } - get hasCheckedInVersion() { - return !(!this.versions || !this.versions.checkedInVersion); + setLiteralByImageNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("imageName", "setLiteralByImageNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByImageNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByImageNameAsync", t3, this)); } - get hasDebugPublish() { - return !(!this.versions || !this.versions.debugVersion); + } + t2.default = s; + }, 18126(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get couldHavePublishedVersionExecutionData() { - return (this.isPublished || this.hasDebugPublish || this.versions.getInferredVersions().length > 1) && l.default.flowTypeSupportsExecutionData(this.type); + get _globalTypeName() { + return "imageCollection"; } - get canEdit() { - return f.permissionServiceHelper.canEditFlow(this); + get displayTypeName() { + return "ArchValueImageCollection"; } - get checkCanEdit() { - return f.permissionServiceHelper.checkCanEditFlow(this); + get isArchValueImageCollection() { + return true; } - get canDelete() { - return f.permissionServiceHelper.canDeleteFlow(this); + } + t2.default = o; + }, 12861(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(17405)), r = n2.__importDefault(i2(73198)); + class a extends o.default { + constructor(e3) { + super(e3); } - get checkCanDelete() { - return f.permissionServiceHelper.checkCanDeleteFlow(this); + get _globalTypeName() { + return "integer"; } - get canPublish() { - return f.permissionServiceHelper.canPublishFlow(this); + get displayTypeName() { + return "ArchValueInteger"; } - get checkCanPublish() { - return f.permissionServiceHelper.checkCanPublishFlow(this); + _checkAndSetLiteral(e3, t3) { + this._checkItemIsValidLiteralInt(e3, t3), this._checkItem(e3, t3 < r.default.minInt, "the integer value of '" + t3 + "' is less than the allowed minimum of '" + r.default.minInt + "'"), this._checkItem(e3, t3 > r.default.maxInt, "the integer value of '" + t3 + "' is greater than the allowed maximum of '" + r.default.maxInt + "'"), this._setLiteral(e3, t3.toString()); } - get canUnlock() { - return this.currentUserHasLock ? f.permissionServiceHelper.canEditFlow(this) : f.permissionServiceHelper.canUnlockFlow(this); + get isArchValueInteger() { + return true; } - get checkCanUnlock() { - return this.currentUserHasLock ? f.permissionServiceHelper.checkCanEditFlow(this) : f.permissionServiceHelper.checkCanUnlockFlow(this); + setExpressionMaxInt() { + this._setExpression(this._infoVal("arch_max_int", "setExpressionMaxInt"), r.default.minInt.toString()); } - get canView() { - return f.permissionServiceHelper.canViewFlow(this); + setExpressionMinInt() { + this._setExpression(this._infoVal("arch_min_int", "setExpressionMinInt"), r.default.minInt.toString()); } - get canViewDisplayString() { - return f.permissionServiceHelper.checkCanViewFlow(this).displayString; + setLiteralInt(e3) { + this._checkAndSetLiteral(this._infoParm("intValue", "setLiteralInt"), e3); } - get currentUserCanEdit() { - return this._currentUserCanEdit; + setLiteralMaxInt() { + this._checkAndSetLiteral(this._infoVal("arch_max_int", "setLiteralMaxInt"), r.default.maxInt); } - resetCurrentUserCanEdit() { - this._currentUserCanEdit = this.currentUserHasLock && r2.getConnectedUser() && this.canEdit && this.versions.isLatestVersion && !this.deleted || this.id && "__" === this.id.slice(0, 2); + setLiteralMinInt() { + this._checkAndSetLiteral(this._infoVal("arch_min_int", "setLiteralMinInt"), r.default.minInt); } - get currentUserHasLock() { - return this._currentUserHasLock; + } + t2.default = a; + }, 33169(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get currentOperation() { - return this._model.currentOperation; + get _globalTypeName() { + return "integerCollection"; } - get defaultLanguage() { - var e3; - if (null === (e3 = this.supportedLanguages) || void 0 === e3 ? void 0 : e3.length) { - for (const e4 of this.supportedLanguages) if (null == e4 ? void 0 : e4.isDefault) return e4.language; - } + get displayTypeName() { + return "ArchValueIntegerCollection"; } - get deleted() { - return this._model.deleted || "deleted" === this.state; + get isArchValueIntegerCollection() { + return true; } - get state() { - return this._model.state; + } + t2.default = o; + }, 96713(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get definition() { - return this._definition; + get _globalTypeName() { + return "journeyAction"; } - get flowTypeName() { - return this.definition.typeDisplayName; + get id() { } - get virtualAgentEnabled() { - var e3, t3, i3; - return (null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.virtualAgentEnabled) || (null === (i3 = null === (t3 = this._model) || void 0 === t3 ? void 0 : t3.publishedVersion) || void 0 === i3 ? void 0 : i3.virtualAgentEnabled) || false; + get actionMap() { } - get agenticVirtualAgentEnabled() { - var e3, t3, i3; - return (null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.agenticVirtualAgentEnabled) || (null === (i3 = null === (t3 = this._model) || void 0 === t3 ? void 0 : t3.publishedVersion) || void 0 === i3 ? void 0 : i3.agenticVirtualAgentEnabled) || false; + get displayTypeName() { + return "ArchValueJourneyAction"; } - get inputSchema() { - return this._inputSchema; + get isArchValueJourneyAction() { + return true; } - get outputSchema() { - return this._outputSchema; + } + t2.default = o; + }, 46999(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get alternateInputSchemas() { - return this._alternateInputSchemas; + get _globalTypeName() { + return "journeyActionMap"; } - get alternateOutputSchemas() { - return this._alternateOutputSchemas; + get id() { } - get hasLoadedSchemas() { - return !!this.inputSchema || !!this.outputSchema; + get version() { } - hasSchemaInputVariable(e3) { - return !(!e3 || "string" != typeof e3 || e3.trim().length < 1) && (e3 = e3.toLowerCase(), this.inputSchema && s.default.find(this.inputSchema.properties, (t3) => { - var i3; - return (null === (i3 = t3.name) || void 0 === i3 ? void 0 : i3.toLowerCase()) === e3; - })); + get displayTypeName() { + return "ArchValueJourneyActionMap"; } - hasSchemaOutputVariable(e3) { - return !(!e3 || "string" != typeof e3 || e3.trim().length < 1) && (e3 = e3.toLowerCase(), this.outputSchema && s.default.find(this.outputSchema.properties, (t3) => { - var i3; - return (null === (i3 = t3.name) || void 0 === i3 ? void 0 : i3.toLowerCase()) === e3; - })); + get isArchValueJourneyActionMap() { + return true; } - hasSchemaVariable(e3) { - return this.hasSchemaOutputVariable(e3) || this.hasSchemaInputVariable(e3); + } + t2.default = o; + }, 74400(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getAllSchemaProperties() { - const e3 = this.outputSchema ? this.outputSchema.properties : [], t3 = this.inputSchema ? this.inputSchema.properties : []; - return [].concat(e3 || [], t3 || []); + get _globalTypeName() { + return "journeyApp"; } - get id() { - return this._model.id || this._model.flowId; + get name() { } - get info() { - return this.topic.warningWithStack(null, "Accessing the getter info off of FlowInfoViewModel."), this; + get namespace() { } - get isCheckedInSecure() { - return this._model.checkedInVersion && this._model.checkedInVersion.secure; + get version() { } - get isPublishedSecure() { - return this._model.publishedVersion && this._model.publishedVersion.secure; + get buildNumber() { } - get isFlowInfo() { - return true; + get displayTypeName() { + return "ArchValueJourneyApp"; } - get isFlowInfoViewModel() { + get isArchValueJourneyApp() { return true; } - get isInQueueCallFlow() { - return this.type === h.flowTypes.flowTypeInQueueCall; + } + t2.default = o; + }, 98631(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isVoicemailFlow() { - return this.type === h.flowTypes.flowTypeVoicemail; + get _globalTypeName() { + return "journeyBrowser"; } - get isImportant() { - return this.system; + get family() { } - get isLocked() { - return !!this._model.lockedUser || !!this._model.lockedClient; + get version() { } - get isPublished() { - return !!this._model.publishedVersion; + get lang() { } - get isDebugPublished() { - return !!this._model.debugVersion; + get fingerprint() { } - get isLockedByOtherUser() { - return this.isLocked && !this.currentUserHasLock; + get isMobile() { } - get isReadOnly() { - return !this.currentUserCanEdit; + get viewHeight() { } - get label() { - return this.displayName || ""; + get viewWidth() { } - get lockedUser() { - return this._model.lockedUser || this._model.lockedClient; + get featuresFlash() { } - get supportedLanguages() { - var e3, t3; - return this._model.supportedLanguages || (null === (t3 = null === (e3 = this._model) || void 0 === e3 ? void 0 : e3.publishedVersion) || void 0 === t3 ? void 0 : t3.supportedLanguages); + get featuresJava() { } - get text() { - return this.displayName || ""; + get featuresPdf() { } - get type() { - return this._model.type.toLowerCase(); + get featuresWebrtc() { } - updateSavedVersion(e3) { - this._model.savedVersion = e3, this.versions.updateInfoVersions(this._model.savedVersion, this._model.checkedInVersion, this._model.publishedVersion, this._model.debugVersion); + get displayTypeName() { + return "ArchValueJourneyBrowser"; } - toString() { - return `FlowInfo - type: '${this.type}', id: '${this.id}'`; + get isArchValueJourneyBrowser() { + return true; } } - t2.default = S; - }, 90436: (e2, t2, i2) => { + t2.default = o; + }, 62905(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)), c = n2.__importDefault(i2(27579)), d = i2(47957), p = i2(3916); - function _(e3) { - 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 { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), this.fullBotNotLoaded = true, this._errorSchema = (0, c.default)(); + super(e3); } - get className() { - return "NuanceMixBotViewModel"; + get _globalTypeName() { + return "journeyCampaign"; } - get applicationName() { - var e3; - return null === (e3 = this.model.application) || void 0 === e3 ? void 0 : e3.name; + get content() { } - get botId() { - return this.model.botId; + get medium() { } - get botName() { - return this.model.botName; + get name() { } - get integrationId() { - return this.model.integrationId; + get source() { } - get name() { - return this.model.name; + get term() { } - get errorSchema() { - return this._errorSchema; + get clickId() { } - get languages() { - return this._languages; + get network() { } - get id() { - return this.model.id; + get displayTypeName() { + return "ArchValueJourneyCampaign"; } - get isNuanceMixBotViewModel() { + get isArchValueJourneyCampaign() { return true; } - get label() { - return (0, r2.sprintf)(a.default.itemParenValue, this.model.name, this.applicationName); + } + t2.default = o; + }, 58108(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get botVariables() { - return this._botVariables; + get _globalTypeName() { + return "journeyContext"; } - get audioChannels() { - return o.default.filter(this.channels, (e3) => e3.isVoiceChannel); + get customer() { } - get textChannels() { - return o.default.filter(this.channels, (e3) => e3.isTextChannel); + get customerSession() { } - get model() { - return this._model; + get triggeringAction() { } - set model(e3) { - if (this._model = e3, this.intents = [], this.channels = [], this._botVariables = [], this._languages = [], this._model.variables) { - const e4 = {}; - o.default.each(this._model.variables, (t3) => { - const i3 = o.default.clone(t3); - i3.type = "string", i3.staticMetaData = h(t3), i3.additionalInfoSection = _(t3), e4[i3.name] = i3; - }), this._botVariables = p.createSchemaPropertyList(e4); - } - this._model.transferNodes && o.default.each(this._model.transferNodes, (e4) => { - const t3 = o.default.clone(e4); - t3.localizedLabel = (0, r2.sprintf)(a.default.itemColonValue, e4.type, e4.name), t3.slots = {}, o.default.each(t3.requestVariables, (e5) => { - t3.slots[e5.name] = { description: e5.description, name: e5.name, staticMetaData: h(e5), additionalInfoSection: _(e5), type: "string" }; - }), this.intents.push(new l.default(t3)); - }), this._model.locales && o.default.each(this._model.locales, (e4) => { - this._languages.push(e4); - }), this._model.channels && o.default.each(this._model.channels, (e4) => { - this.channels.push(new u.default(e4)); - }); + get displayTypeName() { + return "ArchValueJourneyContext"; + } + get isArchValueJourneyContext() { + return true; } } - t2.default = m; - }, 90480: (e2, t2, i2) => { + t2.default = o; + }, 40904(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundFlowListManager = t2.InboundFlowListManager = void 0; - const n2 = i2(80665), r2 = i2(6109), o = i2(96618), a = i2(24032), s = i2(27862); - class l extends r2.FlowListManager { - get dependencyType() { - return s.InboundCallFlow; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - constructor() { - super(), this.topic = (0, a.getTopic)("inboundFlowListManager"), this.briefManager = n2.briefInboundFlowListManager, this.additionalQueryParams = { type: o.flowTypes.flowTypeInboundCall }, this.className = "InboundFlowListManager", this.flowType = o.flowTypes.flowTypeInboundCall, this._initialize(); + get _globalTypeName() { + return "journeyCustomEventAttribute"; + } + get name() { + } + get dataType() { + } + get value() { + } + get displayTypeName() { + return "ArchValueJourneyCustomEventAttribute"; + } + get isArchValueJourneyCustomEventAttribute() { + return true; } } - t2.InboundFlowListManager = l, t2.inboundFlowListManager = new l(); - }, 90562: (e2, t2, i2) => { - const n2 = i2(46205), { callDigitalBotFlowActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 90601: (e2, t2, i2) => { + t2.default = o; + }, 2092(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(54063)); - class r2 extends n2.default { + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "messageStickerInfoCollection"; + return "journeyCustomEventAttributeCollection"; } get displayTypeName() { - return "ArchValueMessageStickerInfoCollection"; + return "ArchValueJourneyCustomEventAttributeCollection"; } - get isArchValueMessageStickerInfoCollection() { + get isArchValueJourneyCustomEventAttributeCollection() { return true; } } - t2.default = r2; - }, 90680: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.switchMap = void 0; - var n2 = i2(19724), r2 = i2(65212), o = i2(17214); - t2.switchMap = function(e3, t3) { - return r2.operate(function(i3, r3) { - var a = null, s = 0, l = false, u = function() { - return l && !a && r3.complete(); - }; - i3.subscribe(o.createOperatorSubscriber(r3, function(i4) { - null == a || a.unsubscribe(); - 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(); - })); - }, function() { - l = true, u(); - })); - }); - }; - }, 90700: (e2, t2, i2) => { - const n2 = i2(58649); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "ContactListArray"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 90708: (e2, t2, i2) => { + t2.default = o; + }, 53908(e2, t2, i2) { "use strict"; - var n2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AbortSendActionModel = void 0; - const r2 = i2(31635), o = i2(30801), a = i2(94858), s = i2(80295), l = r2.__importDefault(i2(7401)); - class u extends a.BaseActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), this.__type = u.__type, (0, s.makeUnenumerable)(this, "_message"); + super(e3); } - get message() { - return this._message; + get _globalTypeName() { + return "journeyCustomEventAttributeList"; } - set message(e3) { - this._message = this.reviveItem(e3, l.default); + get name() { } - pasteReIdOrRename(e3) { - var t3; - super.pasteReIdOrRename(e3), null === (t3 = this.message) || void 0 === t3 || t3.pasteReIdOrRename(e3); + get dataType() { } - pasteResolveOldToNewValues(e3) { - var t3; - super.pasteResolveOldToNewValues(e3), null === (t3 = this.message) || void 0 === t3 || t3.pasteResolveOldToNewValues(e3); + get values() { + } + get displayTypeName() { + return "ArchValueJourneyCustomEventAttributeList"; + } + get isArchValueJourneyCustomEventAttributeList() { + return true; } } - t2.AbortSendActionModel = u, u.__type = o.abortSendActionType, r2.__decorate([(0, s.enumerable)(true), r2.__metadata("design:type", "function" == typeof (n2 = void 0 !== l.default && l.default) ? n2 : Object), r2.__metadata("design:paramtypes", [Object])], u.prototype, "message", null), u.registerType(); - }, 90715: (e2, t2, i2) => { + t2.default = o; + }, 8784(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.IntegrationType = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(80295), a = i2(19596); - class s extends a.DataContract { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { - super(e3), (0, o.makeUnenumerable)(this, "_id"); + super(e3); } - get id() { - return this._id; + get _globalTypeName() { + return "journeyCustomEventAttributeListCollection"; } - set id(e3) { - this._id = e3; + get displayTypeName() { + return "ArchValueJourneyCustomEventAttributeListCollection"; + } + get isArchValueJourneyCustomEventAttributeListCollection() { + return true; } } - 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(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 c = { ignoreBadResponse: true }; - u.getCategoryList.addOptions(c), u.getActionList.addOptions(c), e2.exports = u; - }, 90733: (e2, t2, i2) => { + t2.default = o; + }, 48467(e2, t2, i2) { "use strict"; - var n2, r2; Object.defineProperty(t2, "__esModule", { value: true }); - const o = i2(31635), a = i2(30801), s = o.__importDefault(i2(21345)); - class l extends s.default { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), n2.set(this, void 0), r2.set(this, void 0), o.__classPrivateFieldSet(this, n2, this.coreFactory.createArchWrapper(e3.rawSIPHeadersResult), "f"), e3.errorBindings && o.__classPrivateFieldSet(this, r2, this.coreFactory.createArchWrapper(e3.errorBindings), "f"); + super(e3); } - get _actionTypeId() { - return a.getRawSIPHeadersActionType; + get _globalTypeName() { + return "journeyCustomer"; + } + get id() { + } + get idType() { } get displayTypeName() { - return this._scriptingName; + return "ArchValueJourneyCustomer"; } - get isArchActionGetRawSIPHeaders() { + get isArchValueJourneyCustomer() { return true; } - get rawSIPHeadersResult() { - return o.__classPrivateFieldGet(this, n2, "f"); + } + t2.default = o; + }, 18759(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - setInputDataVariable(e3) { - this._checkItemIsValidLiteralStringOrStringArray(this._infoParm("inputDataVariable", "setInputDataVariable"), e3, false), o.__classPrivateFieldGet(this, n2, "f").setVariable(e3); + get _globalTypeName() { + return "journeyCustomerSession"; } - get getRawSipHeadersFailureOutputs() { - return o.__classPrivateFieldGet(this, r2, "f"); + get id() { } - } - n2 = /* @__PURE__ */ new WeakMap(), r2 = /* @__PURE__ */ new WeakMap(), t2.default = l; - }, 90807: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _value: { writable: true } }), this.name = void 0, this.referenceId = void 0, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "DataPair"), Object.defineProperties(o.prototype, { pasteReIdOrRename: { value: function(e3) { - this.value.pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - this.value.pasteResolveOldToNewValues(e3), this.referenceId = e3.pasteResolveOldIdToNewId(this.referenceId); - } }, isDataPair: { value: true }, value: { enumerable: true, get: function() { - return this._value; - }, set: function(e3) { - this._value = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 90858: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.messagingTemplateSequences = void 0; - const n2 = i2(31635), r2 = i2(28562), o = i2(80295), a = i2(73324); - class s extends a.BaseBotActionSettingsSequence { - constructor() { - super("messagingTemplate"); + get type() { } - get noInputDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noInputDigitalBot"); - return this.generateLanguageSequenceConfig("MessagingTemplateNoInputDigitalBot", r2.builderIds.parts.genericCommunication, e3); + get displayTypeName() { + return "ArchValueJourneyCustomerSession"; } - get noMatchDigitalBotSequence() { - const e3 = this.generateLanguageSequencesDefaultSequence("noMatchDigitalBot"); - return this.generateLanguageSequenceConfig("MessagingTemplateNoMatchDigitalBot", r2.builderIds.parts.markdownCommunication, e3); + get isArchValueJourneyCustomerSession() { + return true; } } - 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 = 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), 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 u(e3) { - const t3 = o.isFeatureAvailable(a.default.divisionedCannedResponses) ? s.getLibraryDivisionView : s.getLibrary; - return r2.default.build(t3).templateParams({ id: e3 }).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 d(e3) { - return r2.default.build(s.getResponseAsset).templateParams({ id: e3 }).call(); - } - function p(e3) { - const t3 = r2.default.build(s.getResponseAssets), i3 = e3.get_q64searchContent(); - return t3.content(i3), t3.call(); - } - 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 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 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 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 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 T(e3) { - const t3 = r2.default.build(s.getResponseAssetUploadURL); - return t3.content(e3), t3.call(); - } - function y(e3) { - return r2.default.build(s.getResponseAssetUploadStatus).templateParams({ statusId: e3 }).call(); - } - 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) => { + t2.default = o; + }, 48349(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(62957)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { super(e3); } - get displayTypeName() { - return "ArchBaseActionWithOutputsFoundNotFoundFailure"; + get _globalTypeName() { + return "journeyDevice"; } - get isArchBaseActionWithOutputsFoundNotFoundFailure() { - return true; + get category() { } - get outputFound() { - return this._getOutputById(r2.outputIds.found, true); + get type() { } - get outputNotFound() { - return this._getOutputById(r2.outputIds.notFound, true); + get isMobile() { } - } - t2.default = a; - }, 90924: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionFuncPart = void 0; - const n2 = i2(31635).__importStar(i2(81116)), r2 = i2(27491), o = i2(14394), a = i2(55909), s = i2(33951), l = i2(36470); - t2.ExpressionFuncPart = class { - constructor(e3) { - this._endTextPos = -1, this._identifierText = "", this._identifierStartTextPos = -1, this._leftParenTextPos = -1, this._nextTokenGetsNewParameter = false, this._parenCount = 0, this._parameterItemIdx = -1, this._parameterItems = [], this._resolvedFuncDefChecked = false, this._resolvedFuncOverloadDefChecked = false, this._rightParenTextPos = -1, this._expression = e3; + get screenHeight() { } - get parameterStrings() { - const e3 = []; - return this._parameterItems.forEach((t3) => { - "string" == typeof t3 ? e3.push(t3) : t3.isExpressionFuncPart ? e3.push(t3.partText) : e3.push(""); - }), e3; + get screenWidth() { } - get className() { - return "ExpressionFuncPart"; + get fingerprint() { } - get isExpressionFuncPart() { + get manufacturer() { + } + get osFamily() { + } + get osVersion() { + } + get screenDensity() { + } + get displayTypeName() { + return "ArchValueJourneyDevice"; + } + get isArchValueJourneyDevice() { return true; } - get parameterHasMismatchedParens() { - return 0 !== this._parenCount; + } + t2.default = o; + }, 12298(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get partText() { - return this._expression.text.substring(this.startTextPos, this.endTextPos + 1); + get _globalTypeName() { + return "journeyGeolocation"; } - get resolvedFuncOverloadDef() { - if (!this._resolvedFuncOverloadDefChecked && (this._resolvedFuncOverloadDefChecked = true, this.partText)) { - const e3 = n2.doNotTrackExpression(this._expression.parentFlow, this._expression.parent, null, "", o.globalTypes.any); - e3.setAsExpression(this.partText), e3.processText(true); - let t3 = e3.config; - if (t3 && t3.isImplicitCastingFunc && (t3 = t3.getOperands()[0]), t3) { - const e4 = r2.expressionDataService.getOverload(t3, void 0, this._expression); - e4.result && (this._resolvedFuncOverloadDef = e4.result); - } - this.resolvedFuncDef && !this._resolvedFuncOverloadDef && 1 === this.resolvedFuncDef.overloads.length && (this._resolvedFuncOverloadDef = this.resolvedFuncDef.overloads[0]); - } - return this._resolvedFuncOverloadDef; + get country() { } - get identifierText() { - return this._identifierText; + get countryName() { } - get hasIdentifier() { - return this.identifierStartTextPos >= 0 && this.identifierText.length > 0; + get latitude() { + } + get longitude() { } - get identifierStartTextPos() { - return this._identifierStartTextPos; + get locality() { } - get identifierEndTextPos() { - return -1 === this._identifierStartTextPos ? -1 : this._identifierStartTextPos + this._identifierText.length - 1; + get postalCode() { } - get resolvedFuncDef() { - if (!this._resolvedFuncDefChecked) { - this._resolvedFuncDefChecked = true; - const e3 = r2.expressionDataService.getFuncIdByText(this._identifierText); - e3 && 1 === e3.length && e3[0].isFunction ? this._resolvedFuncDef = e3[0] : this._resolvedFuncDef = void 0; - } - return this._resolvedFuncDef; + get region() { } - get isValidFunctionCall() { - return !!this.resolvedFuncDef && this.hasLeftParen && this.hasRightParen; + get regionName() { } - get isFunctionCall() { - return this.hasIdentifier && this.hasLeftParen && this.hasRightParen; + get source() { } - get isParensOnly() { - return this.hasLeftParen && this.hasRightParen && !this.hasIdentifier; + get timezone() { } - get functionText() { - const e3 = this.resolvedFuncDef; - return e3 ? e3.text : void 0; + get displayTypeName() { + return "ArchValueJourneyGeolocation"; } - get leftParenTextPos() { - return this._leftParenTextPos; + get isArchValueJourneyGeolocation() { + return true; } - get hasLeftParen() { - return -1 !== this._leftParenTextPos; + } + t2.default = o; + }, 33286(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get rightParenTextPos() { - return this._rightParenTextPos; + get _globalTypeName() { + return "journeyNetworkConnectivity"; } - get hasRightParen() { - return -1 !== this._rightParenTextPos; + get carrier() { } - get startTextPos() { - return -1 !== this._identifierStartTextPos ? this._identifierStartTextPos : -1 !== this._leftParenTextPos ? this._leftParenTextPos : this._rightParenTextPos; + get bluetoothEnabled() { } - get endTextPos() { - return -1 !== this._endTextPos ? this._endTextPos : -1 !== this._rightParenTextPos ? this._rightParenTextPos : -1 !== this._leftParenTextPos ? this.leftParenTextPos : this.identifierEndTextPos; + get cellularEnabled() { } - setEndTextPosToExpressionTextLength() { - this._endTextPos = this._expression.text.length - 1; + get wifiEnabled() { } - get infoString() { - const e3 = []; - this.resolvedFuncDef ? (e3.push("resolved function: " + this.functionText), this.resolvedFuncOverloadDef && e3.push("overload: " + this.resolvedFuncOverloadDef.id)) : -1 !== this.identifierStartTextPos && e3.push("unresolved function: " + this.identifierText), e3.push("parens: " + (this.hasLeftParen ? "(" : "") + (this.hasRightParen ? ")" : "") + (this.hasLeftParen ? ", leftParenTextPos: " + this.leftParenTextPos : "") + (this.hasRightParen ? ", rightParenTextPos: " + this.rightParenTextPos : "")), e3.push("startTextPos: " + this.startTextPos), e3.push("endTextPos: " + this.endTextPos), e3.push("partText: " + this.partText), e3.push("parameter count: " + this._parameterItems.length); - const t3 = this.parameterStrings; - for (let i3 = 0; i3 < t3.length; i3++) e3.push(" parm " + i3 + ": " + t3[i3]); - return e3.join("\n "); + get displayTypeName() { + return "ArchValueJourneyNetworkConnectivity"; } - containsPosition(e3) { - return s.ParameterValidator.expectInt(e3, () => a.ParameterInfo.createFunctionParameter(this.className, "containsPosition", "position")), this.startTextPos <= e3 && this.endTextPos >= e3; + get isArchValueJourneyNetworkConnectivity() { + return true; } - setLeftParenFromAntlrToken(e3) { - return this._leftParenTextPos = s.ParameterValidator.expectTrue(-1 === this._leftParenTextPos, e3.tokenPos, "left paren already set", () => a.ParameterInfo.createFunctionParameter(this.className, "setLeftParenFromAntlrToken", "token")), this.hasIdentifier && this.addParameterPlaceholder(), this; + } + t2.default = o; + }, 20695(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - setRightParenFromAntlrToken(e3) { - return this._rightParenTextPos = s.ParameterValidator.expectTrue(-1 === this._rightParenTextPos, e3.tokenPos, "right paren already set", () => a.ParameterInfo.createFunctionParameter(this.className, "setRightParenFromAntlrToken", "token")), this; + get _globalTypeName() { + return "journeyOutcome"; } - setIdentifierFromAntlrToken(e3) { - return this._identifierText = e3.token.getText(), this._identifierStartTextPos = s.ParameterValidator.expectTrue(-1 === this._leftParenTextPos || e3.tokenPos < this._leftParenTextPos, e3.tokenPos, "identifier token pos < left paren pos", () => a.ParameterInfo.createFunctionParameter(this.className, "setIdentifierFromAntlrToken", "token")), this._resolvedFuncDefChecked = false, this; + get id() { } - _appendTextToCurrentParameter(e3) { - if (this._nextTokenGetsNewParameter) return this._parameterItems.push(e3), this._parameterItemIdx = this._parameterItemIdx + 1, void (this._nextTokenGetsNewParameter = false); - "string" == typeof this._parameterItems[this._parameterItemIdx] ? this._parameterItems[this._parameterItemIdx] = this._parameterItems[this._parameterItemIdx] + e3 : this._parameterItems[this._parameterItemIdx] = e3; + get description() { } - appendExpressionFuncPartTextForCurrentParameter(e3) { - this._appendTextToCurrentParameter(e3.partText); + get displayName() { } - addParameterPlaceholder() { - this._nextTokenGetsNewParameter && (this._parameterItems.push(""), this._parameterItemIdx = this._parameterItemIdx + 1), this._nextTokenGetsNewParameter = true; + get version() { } - addLParenAntlrTokenToCurrentParameter(e3) { - this._parenCount = this._parenCount + 1, this.addAntlrTokenToCurrentParameter(e3); + get createdDateUtc() { } - addRParenAntlrTokenToCurrentParameter(e3) { - this._parenCount = this._parenCount - 1, this.addAntlrTokenToCurrentParameter(e3); + get modifiedDateUtc() { } - addAntlrTokenToCurrentParameter(e3) { - this._nextTokenGetsNewParameter && e3.tokenType === l.WS || this._appendTextToCurrentParameter(e3.token.getText()); + get isActive() { } - destroy() { - this._resolvedFuncDef = void 0, this._resolvedFuncOverloadDef = void 0; + get displayTypeName() { + return "ArchValueJourneyOutcome"; } - }; - }, 90961: (e2, t2, i2) => { + get isArchValueJourneyOutcome() { + return true; + } + } + t2.default = o; + }, 14175(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "wheelPickerItemCollection"; + return "journeyOutcomeCollection"; } get displayTypeName() { - return "ArchValueWheelPickerItemCollection"; + return "ArchValueJourneyOutcomeCollection"; } - get isArchValueWheelPickerItemCollection() { + get isArchValueJourneyOutcomeCollection() { return true; } } - t2.default = r2; - }, 91013: (e2, t2, i2) => { + t2.default = o; + }, 93421(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "externalSource"; + return "journeyOutcomeScore"; } get id() { } - get name() { - } - get active() { + get probability() { } - get linkConfiguration() { + get sessionMaxProbability() { } get displayTypeName() { - return "ArchValueExternalSource"; + return "ArchValueJourneyOutcomeScore"; } - get isArchValueExternalSource() { + get isArchValueJourneyOutcomeScore() { return true; } } - t2.default = r2; - }, 91035: (e2, t2, i2) => { + t2.default = o; + }, 45422(e2, t2, i2) { "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 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; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - } - t2.EmailScriptManager = c, t2.emailScriptManager = new c(); - }, 91048: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.default = function(e3, t3) { - return (0, n2.default)(e3, t3); - }; - const n2 = i2(31635).__importDefault(i2(68631)); - }, 91156: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.voicemailFlowListManager = t2.VoicemailFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(5261), o = i2(6109), a = i2(96618), s = i2(27862); - class l extends o.FlowListManager { - get dependencyType() { - return s.VoicemailFlow; + get _globalTypeName() { + return "journeyOutcomeScoreCollection"; } - constructor() { - super(), this.topic = n2.getTopic("VoicemailFlowListManager"), this.briefManager = r2.briefVoicemailFlowListManager, this.additionalQueryParams = { type: a.flowTypes.flowTypeVoicemail }, this.className = "VoicemailFlowListManager", this.flowType = a.flowTypes.flowTypeVoicemail, this._rawServerCache = {}, this._initialize(); + get displayTypeName() { + return "ArchValueJourneyOutcomeScoreCollection"; + } + get isArchValueJourneyOutcomeScoreCollection() { + return true; } } - t2.VoicemailFlowListManager = l, t2.voicemailFlowListManager = new l(); - }, 91173: (e2, t2, i2) => { + t2.default = o; + }, 96776(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(81574)); class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.findUserByIdActionType; + get _globalTypeName() { + return "journeyPage"; + } + get url() { + } + get title() { + } + get domain() { + } + get fragment() { + } + get hostname() { + } + get keywords() { + } + get lang() { + } + get pathname() { + } + get queryString() { + } + get breadcrumb() { } get displayTypeName() { - return this._scriptingName; + return "ArchValueJourneyPage"; } - get isArchActionFindUserById() { + get isArchValueJourneyPage() { return true; } - get findResult() { - return this._findResult; - } } t2.default = o; - }, 91292: (e2, t2, i2) => { + }, 64792(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "externalFacebookInfo"; + return "journeyReferrer"; } - get displayName() { + get url() { } - get ids() { + get domain() { + } + get hostname() { + } + get keywords() { + } + get pathname() { + } + get queryString() { + } + get fragment() { + } + get name() { + } + get medium() { } get displayTypeName() { - return "ArchValueExternalFacebookInfo"; + return "ArchValueJourneyReferrer"; } - get isArchValueExternalFacebookInfo() { + get isArchValueJourneyReferrer() { return true; } } - t2.default = r2; - }, 91358: (e2, t2, i2) => { - var n2 = { "./cs-cz/resources.js": [23546, 3546], "./de-de/resources.js": [791, 791], "./en-us/resources.js": [12664], "./es-us/resources.js": [54581, 4581], "./fr-ca/resources.js": [22609, 2609], "./it-it/resources.js": [63271, 3271], "./ja-jp/resources.js": [14080, 4080], "./ko-kr/resources.js": [39838, 9838], "./nb-no/resources.js": [75610, 5610], "./nl-nl/resources.js": [90209, 209], "./pl-pl/resources.js": [72421, 2421], "./pt-br/resources.js": [88421, 8421], "./ru-ru/resources.js": [5931, 5931], "./sv-se/resources.js": [75238, 5238], "./tr-tr/resources.js": [14181, 4181], "./zh-cn/resources.js": [75314, 5314], "./zh-tw/resources.js": [5930, 5930] }; - function r2(e3) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); - } - r2.keys = () => Object.keys(n2), r2.id = 91358, e2.exports = r2; - }, 91437: (e2, t2, i2) => { + t2.default = o; + }, 42268(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeWheelPickerItemOptions = void 0; - const n2 = i2(65615); - class r2 extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { super(e3); } - get className() { - return "ExpressionTypeWheelPickerItemOptions"; + get _globalTypeName() { + return "journeySdkLibrary"; } - get isExpressionTypeWheelPickerItemOptions() { + get name() { + } + get version() { + } + get displayTypeName() { + return "ArchValueJourneySdkLibrary"; + } + get isArchValueJourneySdkLibrary() { return true; } } - t2.ExpressionTypeWheelPickerItemOptions = r2; - }, 91491: (e2, t2, i2) => { + t2.default = o; + }, 28850(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 = 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 { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { 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(c.expressionValueChanged)) : super.copyExpressionValue(e3)); - } - get className() { - return "CollectionExpression"; - } - get 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 : C.errors.collectionError : this.resultMessage : null; + get _globalTypeName() { + return "journeySegment"; } - get hasError() { - return this.isLiteralMode ? this.collectionItems && this.collectionItems.hasError || this.hasParseError : this._getHasError(); + get id() { } - get label() { - var e3; - return (null === (e3 = this.options) || void 0 === e3 ? void 0 : e3.labelOverride) || this._label; + get color() { } - set label(e3) { - this._label = e3, this.collectionItems && this.collectionItems.orderChanged && this.collectionItems.orderChanged(); + get createdDateUtc() { } - get resultMessage() { - return this.isLiteralMode && this.hasError ? this.hasParseError ? this._parseResult.resultMessage : C.errors.collectionError : this._parseResult ? this._parseResult.resultMessage : ""; + get description() { } - get resultType() { - return this.isLiteralMode && this.hasError ? I.ParseResultTypes.error : this._parseResult ? this._parseResult.resultType : void 0; + get displayName() { } - get type() { - return this._type; + get isActive() { } - set type(e3) { - (null == e3 ? void 0 : e3.isCustomType) ? super.type = e3 : this._type = e3; + get modifiedDateUtc() { } - removeChild(e3) { - this.collectionItems.removeChild(e3); + get shouldDisplayToAgent() { } - removeAll() { - var e3, t3, 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); + get version() { } - setLiteralEmptyCollection() { - this.mode = N.literal, this.removeAll(); + get displayTypeName() { + return "ArchValueJourneySegment"; } - get amObjectEventSink() { + get isArchValueJourneySegment() { return true; } - objEvent_listOrderChanged() { - d.fireEvent(this, c.listOrderChanged), (0, p.validateItem)(this, true, true); - } - _initialize() { - 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(); + } + t2.default = o; + }, 48730(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isCollectionExpression() { - return true; + get _globalTypeName() { + return "journeySegmentCollection"; } - processCollection(e3) { - if (this.collectionItems && !e3 && this.config) return; - 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 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); + get displayTypeName() { + return "ArchValueJourneySegmentCollection"; } - setAsLiteral(e3) { - if (this.mode = N.literal, (0, _.isCollectionExpression)(e3)) { - const t3 = e3; - (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)); - })) : 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, h.isString)(e3) && !e3.length) return; - b.errorWithStack(null, `Invalid value passed to '${this.className}::setAsLiteral'. CollectionExpression cannot process a string value.`); - } + get isArchValueJourneySegmentCollection() { + return true; } - addItem() { - const e3 = this.collectionItems.type.createExpressionOptionClass().applyDefaultCollectionItemOptions(this.options), t3 = this.collectionItems.createItem(null, null, e3); - return this.collectionItems.addItem(t3), t3; + } + t2.default = o; + }, 12199(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _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)); - } - } + get _globalTypeName() { + return "journeySession"; } - _clearCollectionItems() { - this.collectionItems && (d.unregisterEventSinkForEventEmitter(this.collectionItems.id, this), this.collectionItems.destroy(), this.collectionItems = void 0); + get id() { } - get mode() { - return super.mode; + get createdDate() { } - set mode(e3) { - this.isLiteralMode && e3 !== N.literal && this._clearCollectionItems(), super.mode = e3, this.createDefaultItems(); + get customerId() { } - createDefaultItems() { + get customerIdType() { } - outOfServiceChanged(e3) { - super.outOfServiceChanged(e3), this.createDefaultItems(); + get divisionIds() { } - setModeWithTransition(e3, t3) { - if (this.mode !== e3) { - if (this.isLiteralMode && e3 === N.expression) { - if (this.collectionItems.length > 0) this.model.text = this.getEmbeddableExpressionText(); - else { - const e4 = this.type.getConversionText(); - this.model.text = e4 ? (0, r2.sprintf)("MakeEmptyList(%s(NOT_SET))", e4) : ""; - } - this._savedConfig = this.config, this._savedMetaData = this.metaData; - } else this.model.text = "", this._savedConfig && this.setConfigAndMetaData(this._savedConfig, this._savedMetaData); - this.mode = e3, this.rebuildOrCreateBuilderByDefId(t3); - } + get type() { } - validate(e3) { - if (this.isLiteralMode && !this.outOfService) { - this.processCollection(false); - let t3 = true; - const i3 = this.collectionItems.items && this.collectionItems.items.length; - let n3; - 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)(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) { - t3 = i4.validate(e3) && t3; - }), true !== t3 || this.hasConfig ? t3 : this._handleNoConfigAtEndOfValidation(e3); - } - return super.validate(e3); + get externalId() { } - _initializeDesignTime() { - super._initializeDesignTime(), this.collectionItems && this.collectionItems.items && o.default.each(this.collectionItems.items, (e3) => e3.initializeDesignTime()); + get externalUrl() { } - getExpressions() { - return this.isLiteralMode ? this.collectionItems.getExpressions() : super.getExpressions(); + get outcomeAchievements() { } - removeDependantValidationIssues(e3, t3, i3) { - var n3; - super.removeDependantValidationIssues(e3, t3, i3), t3.isCollectionExpression && (null === (n3 = t3.collectionItems) || void 0 === n3 ? void 0 : n3.items) && t3.collectionItems.items.forEach((t4) => { - e3.removeIssues(t4, i3); - }); + get segmentAssignments() { } - getEmbeddableExpressionText() { - if (this.isLiteralMode && this.type.canConvertLitToExpression(this.parentFlow.type)) { - 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(); + get attributes() { } - getCustomJsonText() { - if (this.isLiteralMode) { - const e3 = []; - for (const t3 of this.collectionItems.items) e3.push(t3.getCustomJsonText()); - return `[ ${e3.join(", ")} ]`; - } - return `{{ ${this.getEmbeddableExpressionText()} }}`; + get attributeLists() { } - } - t2.CollectionExpression = E, O.NormalExpression.CollectionExpression = E; - }, 91546: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeVoiceSnippetOptions = void 0; - const n2 = i2(65615), r2 = i2(55909), o = i2(33951); - class a extends n2.BaseExpressionTypeCollectionOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); + get awayDate() { } - constructor(e3) { - super(e3); + get browser() { } - get isExpressionTypeVoiceSnippetOptions() { - return true; + get device() { } - get className() { - return "ExpressionTypeVoiceSnippetOptions"; + get geolocation() { } - get supportsLiteralMode() { - return false; + get idleDate() { } - setAsInput(e3) { - o.ParameterValidator.expectBool(e3, () => r2.ParameterInfo.createFunctionParameter(this.className, "setAsInput", "restrictToLiteral"), true); - const t3 = !(true === e3); - return this._configureInputOutputState(true, false, false, t3); + get ipAddress() { } - setAsOutput() { - return this._configureInputOutputState(false, false, true, false); + get ipOrganization() { } - } - 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), 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); + get lastPage() { } - static get managedProperties() { - 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; + get mktCampaign() { } - } - _.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; + get referrer() { } - _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; + get searchTerms() { } - 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); - }); + get userAgentString() { } - 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(); - }); + get durationInSeconds() { } - _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; - } + get eventCount() { } - _log(e3, t3) { - this._logger$.next({ level: e3, message: `OrchestrationEngine: ${t3}`, contextPath: this._context.currentReferencePath }); + get pageviewCount() { } - }; - }, 91625: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401); - function o() { - Object.defineProperties(this, { _noInput: { writable: true }, _noMatch: { writable: true }, _question: { writable: true } }), o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BaseAskActionModel"), e2.exports = o, Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments), this.question && this.question.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments), this.question && this.question.pasteReIdOrRename(e3); - } }, question: { enumerable: true, get: function() { - return this._question; - }, set: function(e3) { - this._question = this.reviveItem(e3, r2); - } } }), e2.exports = o; - }, 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), 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)(c.default.divisionedRoutingObjects) ? u.externalAuthorizations.authStrings.emergencyGroupSearch : u.externalAuthorizations.authStrings.emergencyGroupView; + get screenviewCount() { } - get dependencyType() { - return h.EmergencyGroup; + get app() { } - constructor() { - 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(); + get networkConnectivity() { } - _createItemViewModel(e3) { - return new a.EmergencyGroupViewModel(e3); + get sdkLibrary() { + } + get displayTypeName() { + return "ArchValueJourneySession"; + } + get isArchValueJourneySession() { + return true; } } - t2.EmergencyGroupManager = m, t2.emergencyGroupManager = new m(); - }, 91685: (e2, t2, i2) => { + t2.default = o; + }, 80815(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 { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.disconnectWorkitemActionType; + get _globalTypeName() { + return "journeySessionCollection"; } get displayTypeName() { - return this._scriptingName; + return "ArchValueJourneySessionCollection"; } - get isArchActionDisconnectWorkitem() { + get isArchValueJourneySessionCollection() { return true; } - get disconnectWorkitemOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; - } } - t2.default = a; - }, 91709: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7.", noInputReceived: "\u0394\u03B5\u03BD \u03AD\u03BB\u03B1\u03B2\u03B1 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7." }, askForBoolean: { noInput: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5 \u03AE "\u03CC\u03C7\u03B9" \u03B1\u03BD \u03B4\u03B5\u03BD \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.', noMatch: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03AE "\u03CC\u03C7\u03B9". \u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5;', question: "\u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5;", noInputDigitalBot: '\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5 \u03AE "\u038C\u03C7\u03B9" \u03B1\u03BD \u03B4\u03B5\u03BD \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.', noMatchDigitalBot: '\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03AE "\u038C\u03C7\u03B9". \u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5;' }, askForIntent: { noInput: '\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03C3\u03CD\u03BD\u03C4\u03BF\u03BC\u03B7 \u03C0\u03C1\u03CC\u03C4\u03B1\u03C3\u03B7 \u03C0\u03BF\u03C5 \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03AC\u03C6\u03B5\u03B9 \u03C4\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03AC \u03C3\u03B1\u03C2. \u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, "\u0388\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03C5\u03C0\u03BF\u03BB\u03BF\u03AF\u03C0\u03BF\u03C5 \u03BB\u03BF\u03B3\u03B1\u03C1\u03B9\u03B1\u03C3\u03BC\u03BF\u03CD"', noMatch: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03BF\u03C5 \u03BE\u03B1\u03BD\u03AC \u03C4\u03B9 \u03B8\u03B1 \u03B8\u03AD\u03BB\u03B1\u03C4\u03B5 \u03BD\u03B1 \u03BA\u03AC\u03BD\u03B5\u03C4\u03B5.", question: "\u03A4\u03B9 \u03B8\u03B1 \u03B8\u03AD\u03BB\u03B1\u03C4\u03B5 \u03BD\u03B1 \u03BA\u03AC\u03BD\u03B5\u03C4\u03B5;", noInputDigitalBot: '\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03C3\u03CD\u03BD\u03C4\u03BF\u03BC\u03B7 \u03C0\u03C1\u03CC\u03C4\u03B1\u03C3\u03B7 \u03C0\u03BF\u03C5 \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03AC\u03C6\u03B5\u03B9 \u03C4\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03AC \u03C3\u03B1\u03C2. \u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, "\u0388\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03C5\u03C0\u03BF\u03BB\u03BF\u03AF\u03C0\u03BF\u03C5 \u03BB\u03BF\u03B3\u03B1\u03C1\u03B9\u03B1\u03C3\u03BC\u03BF\u03CD"' }, askForSlot: { askFor: "\u03A0\u03B5\u03AF\u03C4\u03B5 %1$s", noInput: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03AE \u03C0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 (please put your slot name here).", noInputWithSlot: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03AE \u03C0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 %1$s.", noMatch: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC (please put your slot name here).", noMatchWithSlot: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC %1$s.", question: "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03B1\u03C2 \u03C0\u03B5\u03AF\u03C4\u03B5 (please put your slot name here);", questionWithSlot: "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03B1\u03C2 \u03C0\u03B5\u03AF\u03C4\u03B5 %1$s;", pleaseEnterSlotNameHere: "(please put your slot name here)", noInputDigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 (please put your slot name here).", noInputWithSlotDigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 %1$s.", continuationPromptWithSlot: "\u0388\u03C7\u03C9 \u03BB\u03AC\u03B2\u03B5\u03B9 {{Slot.%1$s}} \u03AD\u03C9\u03C2 \u03C4\u03CE\u03C1\u03B1, \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03C4\u03B5." }, askForNextSlot: { noInput: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u03CC\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03BA\u03BB\u03AE\u03C3\u03B7.', noMatch: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u03CC\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03C3\u03C5\u03BD\u03B5\u03B4\u03C1\u03AF\u03B1.', question: "\u039C\u03C0\u03BF\u03C1\u03CE \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03C9 \u03C3\u03B5 \u03BA\u03AC\u03C4\u03B9 \u03AC\u03BB\u03BB\u03BF;", noInputDigitalBot: '\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u038C\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03C3\u03C5\u03BD\u03B5\u03B4\u03C1\u03AF\u03B1.', noMatchDigitalBot: '\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u038C\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03C3\u03C5\u03BD\u03B5\u03B4\u03C1\u03AF\u03B1.' }, askForPayment: { noInputDigitalBot: "\u0394\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03C0\u03BB\u03B7\u03C1\u03C9\u03BC\u03AE\u03C2 \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5", noMatchDigitalBot: "\u0394\u03B5\u03BD \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03C4\u03B7\u03BD \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2. \u0394\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC." }, askForAuthentication: { noInputDigitalBot: "\u0394\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03B5\u03BB\u03AD\u03B3\u03C7\u03BF\u03C5 \u03C4\u03B1\u03C5\u03C4\u03CC\u03C4\u03B7\u03C4\u03AC\u03C2 \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", noMatchDigitalBot: "\u0394\u03B5\u03BD \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03C4\u03B7\u03BD \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2. \u0394\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC." }, askSurveyQuestion: { notApplicable: "\u0394\u03B5\u03BD \u03B5\u03C6\u03B1\u03C1\u03BC\u03CC\u03B6\u03B5\u03C4\u03B1\u03B9", surveyAnswerOptionSequence: "\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 %1$s \u03B3\u03B9\u03B1 '%2$s'.", surveyAnswerNotApplicableSequence: '\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B1\u03C3\u03C4\u03B5\u03C1\u03AF\u03C3\u03BA\u03BF \u03B3\u03B9\u03B1 "\u0394\u03B5\u03BD \u03B5\u03C6\u03B1\u03C1\u03BC\u03CC\u03B6\u03B5\u03C4\u03B1\u03B9".', surveyAnswerNotApplicableWithQuestionSequence: '%1$s. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B1\u03C3\u03C4\u03B5\u03C1\u03AF\u03C3\u03BA\u03BF \u03B3\u03B9\u03B1 "\u0394\u03B5\u03BD \u03B5\u03C6\u03B1\u03C1\u03BC\u03CC\u03B6\u03B5\u03C4\u03B1\u03B9".', voiceSurveyNoInputText: "\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C3\u03C4\u03B7\u03BD \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03B7.", voiceSurveyNoMatchText: "\u0394\u03B5\u03BD \u03C3\u03B1\u03C2 \u03BA\u03B1\u03C4\u03AC\u03BB\u03B1\u03B2\u03B1." }, commonModule: { exitCommonModule: "\u0388\u03BE\u03BF\u03B4\u03BF\u03C2 \u03B1\u03C0\u03CC \u0392\u03B1\u03C3\u03B9\u03BA\u03CC \u039C\u03B5\u03BD\u03BF\u03CD" }, form: { noInputDigitalBot: "\u03A3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B7 \u03C6\u03CC\u03C1\u03BC\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", noMatchDigitalBot: "\u03A3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B7 \u03C6\u03CC\u03C1\u03BC\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5." }, messagingTemplate: { noInputDigitalBot: "\u039F\u03C1\u03AF\u03C3\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03C4\u03B9\u03C2 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2.", noMatchDigitalBot: "\u039F\u03C1\u03AF\u03C3\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03C4\u03B9\u03C2 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u03A3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1", knowledgeAnswerHighlightFullArticleDefault: "\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03BB\u03AE\u03C1\u03BF\u03C5\u03C2 \u03AC\u03C1\u03B8\u03C1\u03BF\u03C5", knowledgeInitialResponseMulti: "\u0393\u03B9\u03B1 \u03BD\u03B1 \u03BC\u03B5 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03B4\u03B9\u03B5\u03C5\u03BA\u03C1\u03B9\u03BD\u03AF\u03C3\u03C9 \u03C4\u03BF\u03BD \u03C3\u03C4\u03CC\u03C7\u03BF \u03C3\u03B1\u03C2, \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03B1\u03BA\u03AC\u03C4\u03C9 \u03BB\u03AF\u03C3\u03C4\u03B1:", knowledgeInitialResponseMultiRetry: '\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC, \u03B3\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1 "1".\n\u0394\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03C4\u03B7 \u03BB\u03AF\u03C3\u03C4\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03CE\u03BD:', knowledgeNoMatch: "\u039A\u03B1\u03BD\u03AD\u03BD\u03B1\u03C2 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03BF\u03CD\u03C2", knowledgeConfirmation: "\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03B8\u03B7\u03BA\u03B5 \u03B7 \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2;", knowledgeFollowup: "\u0395\u03BB\u03C0\u03AF\u03B6\u03C9 \u03BD\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B1 \u03C3\u03C4\u03B7\u03BD \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2. \u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03C1\u03C9\u03C4\u03AE\u03C3\u03B5\u03C4\u03B5 \u03BF\u03C4\u03B9\u03B4\u03AE\u03C0\u03BF\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03AC\u03B8\u03B5\u03C4\u03B5." }, noOverlay: { intent: { intentConfirmationStr1: "\u039D\u03BF\u03BC\u03AF\u03B6\u03C9 \u03CC\u03C4\u03B9 \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1", intentConfirmationStr2: "\u03A3\u03C9\u03C3\u03C4\u03AC;" }, youSaid: { youSaidConfirmationStr1: "\u0395\u03AF\u03C0\u03B1\u03C4\u03B5", youSaidConfirmationStr2: "\u03A3\u03C9\u03C3\u03C4\u03AC;", youSaidConfirmationStr1DigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03B1\u03C4\u03B5" }, noInput: { noInputStr1: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03AE \u03C0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5", noInputStr1DigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5" }, noMatch: { noMatchStr1: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03BF\u03C5" }, whatIs: { whatIsQuestionStr1: "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03C0\u03B5\u03AF\u03C4\u03B5", whatIsQuestionStr2: ";" }, iGotContinuation: { iGotContinuationStr1: "\u0388\u03C7\u03C9 \u03BB\u03AC\u03B2\u03B5\u03B9", iGotContinuationStr2: "\u03AD\u03C9\u03C2 \u03C4\u03CE\u03C1\u03B1, \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03C4\u03B5." } }, defaultCallFlowOne: "\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03C1\u03BF\u03AE \u03BA\u03BB\u03AE\u03C3\u03B7\u03C2", errorHandlingAgentEscalationConfirmation: "\u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03B9\u03BB\u03AE\u03C3\u03B5\u03C4\u03B5 \u03BC\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C3\u03CD\u03BC\u03B2\u03BF\u03C5\u03BB\u03BF. \u03A3\u03C9\u03C3\u03C4\u03AC;", errorHandlingAgentEscalationHandover: "\u03A0\u03B5\u03C1\u03B9\u03BC\u03AD\u03BD\u03B5\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03BB\u03B5\u03C0\u03C4\u03CC \u03BA\u03B1\u03B9 \u03B8\u03B1 \u03C3\u03B1\u03C2 \u03C3\u03C5\u03BD\u03B4\u03AD\u03C3\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF\u03BD.", errorHandlingErrorEventHandover: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1. \u03A0\u03B5\u03C1\u03B9\u03BC\u03AD\u03BD\u03B5\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03BB\u03B5\u03C0\u03C4\u03CC, \u03B5\u03BD\u03CE \u03C3\u03B1\u03C2 \u03C3\u03C5\u03BD\u03B4\u03AD\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF\u03BD \u03C0\u03BF\u03C5 \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03B5\u03B9.", errorHandlingErrorEventHandoverVoiceSurvey: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1. \u0391\u03BD\u03C4\u03AF\u03BF.", errorHandlingRecognitionEventHandover: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03C5\u03C3\u03BA\u03BF\u03BB\u03B5\u03C5\u03CC\u03BC\u03B1\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03BF\u03C5\u03BC\u03B5. \u03A0\u03B5\u03C1\u03B9\u03BC\u03AD\u03BD\u03B5\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03BB\u03B5\u03C0\u03C4\u03CC, \u03B5\u03BD\u03CE \u03C3\u03B1\u03C2 \u03C3\u03C5\u03BD\u03B4\u03AD\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF\u03BD \u03C0\u03BF\u03C5 \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03B5\u03B9.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03C5\u03C3\u03BA\u03BF\u03BB\u03B5\u03C5\u03CC\u03BC\u03B1\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03BF\u03C5\u03BC\u03B5. \u0391\u03BD\u03C4\u03AF\u03BF.", errorHandlingTTS: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1. \u0394\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03BA\u03B1\u03BB\u03AD\u03C3\u03B5\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC.", initialGreetingTTS: "\u0393\u03B5\u03B9\u03B1 \u03C3\u03B1\u03C2, \u03B1\u03C5\u03C4\u03CC\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BF \u03B1\u03C1\u03C7\u03B9\u03BA\u03CC\u03C2 \u03C7\u03B1\u03B9\u03C1\u03B5\u03C4\u03B9\u03C3\u03BC\u03CC\u03C2.", initialState: "\u0391\u03C1\u03C7\u03B9\u03BA\u03AE \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7", initialBotState: "\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF bot", initialDigitalBotState: "\u0391\u03C1\u03C7\u03B9\u03BA\u03CC\u03C2 \u03C7\u03B1\u03B9\u03C1\u03B5\u03C4\u03B9\u03C3\u03BC\u03CC\u03C2", initialSurveyBotState: "Bot \u03AD\u03C1\u03B5\u03C5\u03BD\u03B1\u03C2", intentConfirmation: "\u039D\u03BF\u03BC\u03AF\u03B6\u03C9 \u03CC\u03C4\u03B9 \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 %1$s, \u03C3\u03C9\u03C3\u03C4\u03AC;", mainMenu: "\u039A\u03CD\u03C1\u03B9\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD", mainMenuTTS: "\u0392\u03C1\u03AF\u03C3\u03BA\u03B5\u03C3\u03C4\u03B5 \u03C3\u03C4\u03BF \u039A\u03CD\u03C1\u03B9\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD, \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 9 \u03B3\u03B9\u03B1 \u03B1\u03C0\u03BF\u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03B7", mainTask: "\u0395\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1", settingsConfirmationNoInputApology: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03C3\u03B1\u03C2 \u03B1\u03BA\u03BF\u03CD\u03C3\u03B1\u03BC\u03B5. \u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03AE "\u03CC\u03C7\u03B9".', settingsConfirmationNoInputApologyDigitalBot: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7 \u03B1\u03C0\u03CC \u03B5\u03C3\u03AC\u03C2. \u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03AE "\u038C\u03C7\u03B9".', settingsConfirmationNoMatchApology: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03AE "\u03CC\u03C7\u03B9".', settingsConfirmationNoMatchApologyDigitalBot: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B5\u03AF\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03AE "\u038C\u03C7\u03B9".', settingsNoInputApology: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03C3\u03B1\u03C2 \u03B1\u03BA\u03BF\u03CD\u03C3\u03B1\u03BC\u03B5.", settingsNoInputApologyDigitalBot: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7 \u03B1\u03C0\u03CC \u03B5\u03C3\u03AC\u03C2.", settingsEndOfSessionMessageDigitalBot: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7 \u03B1\u03C0\u03CC \u03B5\u03C3\u03AC\u03C2 \u03B5\u03B4\u03CE \u03BA\u03B1\u03B9 \u03B1\u03C1\u03BA\u03B5\u03C4\u03AE \u03CE\u03C1\u03B1, \u03BF\u03C0\u03CC\u03C4\u03B5 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03AF\u03B6\u03BF\u03C5\u03BC\u03B5 \u03B1\u03C5\u03C4\u03AE \u03C4\u03B7 \u03C3\u03C5\u03BD\u03BF\u03BC\u03B9\u03BB\u03AF\u03B1. \u0395\u03C0\u03B9\u03C3\u03C4\u03C1\u03AD\u03C8\u03C4\u03B5 \u03B1\u03BD \u03C7\u03C1\u03B5\u03B9\u03B1\u03C3\u03C4\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03B2\u03BF\u03AE\u03B8\u03B5\u03B9\u03B1. \u03A3\u03B1\u03C2 \u03B5\u03C5\u03C7\u03B1\u03C1\u03B9\u03C3\u03C4\u03BF\u03CD\u03BC\u03B5.", settingsNoMatchApology: "\u039B\u03C5\u03C0\u03AC\u03BC\u03B1\u03B9.", settingsNoToConfirmationApology: "\u0388\u03BA\u03B1\u03BD\u03B1 \u03BB\u03AC\u03B8\u03BF\u03C2.", periodicStateName: "\u0395\u03C0\u03B1\u03BD\u03B1\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03CC\u03BC\u03B5\u03BD\u03B7 \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7" }; - }, 91722: (e2, t2, i2) => { + t2.default = o; + }, 27368(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(33423)); - class r2 extends n2.default { - constructor(e3, t3) { - super(), this._checkItemIsValidLiteralString(this._infoParmCtor("propertyName"), e3), this._checkItemIsValidLiteralBool(this._infoParmCtor("propertyMustExist"), t3), this._propertyName = e3, this._propertyMustExist = t3; + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get displayTypeName() { - return "ArchBaseFilterClauseProperty"; + get _globalTypeName() { + return "journeySessionOutcomeAchievement"; } - get isArchBaseFilterClauseProperty() { - return true; + get id() { } - get propertyMustExist() { - return this._propertyMustExist; + get achievedDate() { } - get propertyName() { - return this._propertyName; + get displayTypeName() { + return "ArchValueJourneySessionOutcomeAchievement"; } - _isMatch(e3) { - return !this._propertyMustExist || this._propertyName in e3; + get isArchValueJourneySessionOutcomeAchievement() { + return true; } } - t2.default = r2; - }, 91734: (e2, t2, i2) => { + t2.default = o; + }, 50924(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)), 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; - Object.defineProperty(t2, "__esModule", { value: true }), t2.AiGuideStatus = void 0, (function(e3) { - e3.draft = "Draft", e3.published = "Published", e3.unknown = "Unknown"; - })(i2 || (t2.AiGuideStatus = i2 = {})); - }, 91919: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.EmergencyGroupType = void 0; - 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); - } - get className() { - return "EmergencyGroupType"; - } - createExpressionOptionClass() { - return new r2.ExpressionTypeNetworkObjectOptions(this.isCollection); - } - get listManager() { - return o.emergencyGroupManager.getBriefManagerWithFallback(); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - applyLiteralFromModel(e3, t3, i3, n3) { - (0, a.applyNetworkListLiteralFromModel)(e3, t3, i3, n3, d.entityResolverEntityType) || super.applyLiteralFromModel(e3, t3, i3, n3); + get _globalTypeName() { + return "journeySessionOutcomeAchievementCollection"; } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindEmergencyGroup", e3, [u.globalTypes.string]); + get displayTypeName() { + return "ArchValueJourneySessionOutcomeAchievementCollection"; } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindEmergencyGroup(${n2.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get isArchValueJourneySessionOutcomeAchievementCollection() { + return true; } } - t2.EmergencyGroupType = d, d.typeIdentifier = l.expressionTypeNames.emergencyGroup, d.entityResolverEntityType = "emergencyGroup"; - }, 91928: (e2, t2, i2) => { + t2.default = o; + }, 28071(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), this._notWritableOverride = false, this._checkItemUndefinedOrNull(this._infoParmCtor("coreAudioCaseViewModel"), e3), this._coreAudioCaseViewModel = e3; - } - _setNotWritableOverride(e3) { - return this._notWritableOverride = e3, this; + super(e3); } - get displayTypeName() { - return "ArchAudioCase"; + get _globalTypeName() { + return "journeySessionSegmentAssignment"; } - get audio() { - const e3 = this.coreFactory.createArchValueFromExpression(this._coreAudioCaseViewModel.audioExpression); - return e3._setNotWritableOverride(this._notWritableOverride), e3; + get id() { } - get enabled() { - return !this._coreAudioCaseViewModel.disabled; + get assignedDate() { } - set enabled(e3) { - this._coreAudioCaseViewModel.disabled = !e3; + get displayTypeName() { + return "ArchValueJourneySessionSegmentAssignment"; } - get isArchAudioCase() { + get isArchValueJourneySessionSegmentAssignment() { return true; } - get isWritable() { - return !this._notWritableOverride; - } - setAudioExpression(e3) { - this.audio.setExpression(e3); - } - setAudioExpressionToAudioTTS(e3, t3) { - this.audio.setExpressionToAudioTTS(e3, t3); - } - setAudioLiteralTTS(e3) { - this.audio.setLiteralTTS(e3); - } } - t2.default = r2; - }, 91935: (e2, t2, i2) => { + t2.default = o; + }, 63439(e2, t2, i2) { "use strict"; 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: 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"; + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isCommunicationBuilderWithBuilderPartsDef() { - return true; + get _globalTypeName() { + return "journeySessionSegmentAssignmentCollection"; } - createBuilder(e3) { - const t3 = this.reviveBuilder(e3, this.createDefaultBuilderPartsModel()); - return t3.setNewInstanceDefaults(), t3; + get displayTypeName() { + return "ArchValueJourneySessionSegmentAssignmentCollection"; } - reviveBuilder(e3, t3, i3) { - return new o.default({ owningExpression: e3, model: t3, reId: true === i3 }); + get isArchValueJourneySessionSegmentAssignmentCollection() { + return true; } } - t2.default = a; - }, 91941: (e2, t2, i2) => { + t2.default = o; + }, 60061(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SpeechDataViewModel = void 0; - const n2 = i2(31635), r2 = n2.__importStar(i2(24032)), o = n2.__importStar(i2(1115)), a = i2(55299), s = i2(63221), l = r2.getTopic("TTSDataViewModel"); - class u extends a.BaseClass { - constructor(e3, t3, i3) { - super(), Object.defineProperties(this, { initializeDesignTimeCalled: { value: false, writable: true, enumerable: false } }), this._model = e3, this.languageId = t3, this.parent = i3, i3 && i3.isLanguageNode || l.errorWithStack(null, `Non-LanguageSelectionViewModel parent passed into SpeechDataViewModel. id: '${null == i3 ? void 0 : i3.id}'`); - } - get className() { - return "SpeechDataViewModel"; - } - get engine() { - return this._model.engine; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(78432)), a = i2(59393), s = n2.__importDefault(i2(17405)); + class l extends s.default { + constructor(e3) { + super(e3); } - set engine(e3) { - this._model.engine = e3; + get _globalTypeName() { + return "json"; } - get isReadOnly() { - return this.parentFlow.isReadOnly; + get displayTypeName() { + return "ArchValueJson"; } - get model() { - return this._model; + get isArchValueJson() { + return true; } - get hasDefaultEngineSelected() { - return this.engine.selection === s.engineSelectionTypes.engineSelectionDefault; + setLiteral(e3) { + const t3 = this._infoParm("valueToSet", "setLiteral"); + let i3; + this._checkItemUndefined(t3, e3); + let n3 = false; + if ("string" == typeof e3) try { + i3 = JSON.parse(e3); + } catch (t4) { + "{" !== e3[0] && "[" !== e3[0] || (n3 = !o.default.isNull((0, a.validateLiteralJson)(e3, this._getCoreViewModel())).errorText); + } + o.default.isObject(i3) ? i3 = void 0 : o.default.isUndefined(i3) && !n3 ? e3 = JSON.stringify(e3) : ("string" == typeof e3 && ["true", "false", "null"].includes(e3) || o.default.isStringActualNumber(e3)) && (e3 = JSON.stringify(e3), i3 = void 0), this._internalSetLiteral(t3, i3 || e3, "setLiteral"); } - get hasNoEngineSelected() { - return this.engine.selection === s.engineSelectionTypes.engineSelectionNone; + setLiteralWithJsonParse(e3) { + const t3 = this._infoParm("valueToParse", "setLiteralWithJsonParse"); + this._checkItemIsValidLiteralString(t3, e3, false); + try { + e3 = JSON.parse(e3); + } catch (e4) { + this.logErrorAndThrow(`The value passed in is not valid JSON. Error: ${e4.message}`); + } + this._internalSetLiteral(t3, e3, "setLiteralWithJsonParse"); } - initializeDesignTime() { - this.initializeDesignTimeCalled = true; + setCustomJsonLiteral(e3, t3) { + const i3 = this._infoParm("valueToSet", "setCustomJsonLiteral"), n3 = this._infoParm("language", "setCustomJsonLiteral"); + this._checkItemIsValidLiteralString(i3, e3, false), this._checkItemIsValidLiteralString(n3, t3, true), t3 || (t3 = r.default.CODE_LANGUAGES.archJson), this._checkItemIsValidLiteralStringEnum(n3, t3, r.default.CODE_LANGUAGES_ALL); + const o2 = this._getCoreViewModel(); + o2.setAsLiteral(e3, t3), this._parseResult = o2.parseResult; } - get parentFlow() { - return this.parent && this.parent.parentFlow; + getCustomJsonParseItems() { + return this._parseResult.parseItems; } - setEngine(e3, t3) { - e3 ? (this.engine.id = e3.id, this.engine.name = e3.name, this.engine.selection = t3 ? s.engineSelectionTypes.engineSelectionDefault : s.engineSelectionTypes.engineSelectionSpecific) : (this.engine.id = null, this.engine.name = null, this.engine.selection = s.engineSelectionTypes.engineSelectionNone); + getCustomJsonParseResultLanguage() { + return this._parseResult.parseLanguage; } - validateParent() { - this.parent && this.parent.initializeDesignTimeCalled && this.parent.validate && o.validateNode(this.parent, true); + _internalSetLiteral(e3, t3, i3) { + const n3 = o.default.isString(t3) ? t3 : JSON.stringify(t3); + this._setLiteral(e3, n3, i3); } } - t2.SpeechDataViewModel = u; - }, 91981: (e2, t2, i2) => { + t2.default = l; + }, 28817(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(21345)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { constructor(e3) { - super(e3), this._attributeVariableValuePairs = this.coreFactory.createArchBaseValueContainer(e3.variables); - } - addAttributeNameOutputValuePair(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("nameExpression", "addAttributeNameOutputValuePair"), e3, true), this._checkItemIsValidLiteralString(this._infoParm("variableExpression", "addAttributeNameOutputValuePair"), t3, true), this._attributeVariableValuePairs._addNameValueAssignment(e3, t3, true, false); + super(e3); } - get attributeNameOutputValuePairs() { - return this._attributeVariableValuePairs; + get _globalTypeName() { + return "jsonCollection"; } get displayTypeName() { - return this._scriptingName; + return "ArchValueJsonCollection"; + } + get isArchValueJsonCollection() { + return true; } } - t2.default = r2; - }, 92052: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.TestTools = t2.Immediate = void 0; - var i2, n2 = 1, r2 = {}; - function o(e3) { - return e3 in r2 && (delete r2[e3], true); - } - t2.Immediate = { setImmediate: function(e3) { - var t3 = n2++; - return r2[t3] = true, i2 || (i2 = Promise.resolve()), i2.then(function() { - return o(t3) && e3(); - }), t3; - }, clearImmediate: function(e3) { - o(e3); - } }, t2.TestTools = { pending: function() { - return Object.keys(r2).length; - } }; - }, 92070: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.reduce = void 0; - var n2 = i2(78531), r2 = i2(65212); - t2.reduce = function(e3, t3) { - return r2.operate(n2.scanInternals(e3, t3, arguments.length >= 2, false, true)); - }; - }, 92109: (e2, t2, i2) => { + t2.default = o; + }, 8311(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(69078), a = n2.__importDefault(i2(56549)), s = n2.__importDefault(i2(45894)); + class l extends s.default { constructor(e3) { - super(e3); + super(e3, r.knowledgeBaseDocumentManager); } - get _actionTypeId() { - return r2.findSystemPromptActionType; + get _globalTypeName() { + return "knowledgeBaseDocument"; } get displayTypeName() { - return this._scriptingName; + return "ArchValueKnowledgeBaseDocument"; } - get isArchActionFindSystemPrompt() { + get isArchValueKnowledgeBaseDocument() { return true; } - get findResult() { - return this._findResult; + setLiteralByKnowledgeBaseDocumentIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentId", "setLiteralByKnowledgeBaseDocumentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentIdAsync"), t3, true); + const i3 = this._getFlowConfiguredKnowledgeBaseId, n3 = yield a.default.findItemByIdAsync(r.knowledgeBaseDocumentManager, e3, "knowledge base document", { knowledgeId: i3 }); + return this.logNote(`Found knowledge base document named '${n3.name}' for the passed knowledge base document id of '${e3}'.`), this._coreExpression.updateFromConfigListManagerItem(n3), o.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentIdAsync", t3, this); + }); } - } - t2.default = o; - }, 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, 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]; - switch (t4) { - case 0: - return e4.call(this, n3); - case 1: - return e4.call(this, arguments[0], n3); - case 2: - return e4.call(this, arguments[0], arguments[1], n3); - } - var o2 = Array(t4 + 1); - for (r3 = 0; r3 < t4; r3++) o2[r3] = arguments[r3]; - return o2[t4] = n3, e4.apply(this, o2); - }; + setLiteralByKnowledgeBaseDocumentNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "setLiteralByKnowledgeBaseDocumentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByKnowledgeBaseDocumentNameAsync"), t3, true); + const i3 = this._getFlowConfiguredKnowledgeBaseId, n3 = yield a.default.findItemByValueAsync(r.knowledgeBaseDocumentManager, e3, "knowledge base document", "name", "name", void 0, { knowledgeId: i3 }); + return this.logNote(`Found knowledge base document named '${n3.name}' for the passed knowledge base document name of '${e3}'.`), this._coreExpression.updateFromConfigListManagerItem(n3), o.default.executeCallback(this, "setLiteralByKnowledgeBaseDocumentNameAsync", t3, this); + }); } - function A(e4) { - var t4 = typeof e4; - return "function" === t4 || "object" === t4 && !!e4; + get _getFlowConfiguredKnowledgeBaseId() { + var e3, t3; + const i3 = null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeBaseId; + return i3 || this.logErrorAndThrow("a knowledge base must be set on the flow knowledge settings to set the knowledge base document."), i3; } - function N(e4) { - return void 0 === e4; + } + t2.default = l; + }, 57247(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(69078), a = n2.__importDefault(i2(40559)); + class s extends a.default { + constructor(e3) { + super(e3, r.knowledgeBaseDocumentManager); } - function v(e4) { - return true === e4 || false === e4 || "[object Boolean]" === s.call(e4); + get _globalTypeName() { + return "knowledgeBaseDocumentCollection"; } - function O(e4) { - var t4 = "[object " + e4 + "]"; - return function(e5) { - return s.call(e5) === t4; - }; + get displayTypeName() { + return "ArchValueKnowledgeBaseDocumentCollection"; } - 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 = 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 = d || O("Array"); - function G(e4, t4) { - return null != e4 && l.call(e4, t4); + get _searchByValueSearchProperty() { + return "name"; } - var j = O("Arguments"); - !(function() { - j(arguments) || (j = function(e4) { - return G(e4, "callee"); + addLiteralByKnowledgeBaseDocumentIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentId", "addLiteralByKnowledgeBaseDocumentIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByKnowledgeBaseDocumentIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "knowledge base document").then(() => o.default.executeCallback(this, "addLiteralByKnowledgeBaseDocumentIdAsync", t3, this)); }); - })(); - var W = j; - function q(e4) { - return C(e4) && m(e4); - } - function Y(e4) { - return function() { - return e4; - }; - } - function H(e4) { - return function(t4) { - var i3 = e4(t4); - return "number" == typeof i3 && i3 >= 0 && i3 <= y; - }; - } - function J(e4) { - return function(t4) { - return null == t4 ? void 0 : t4[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) { - for (var t5 = {}, i4 = e5.length, n3 = 0; n3 < i4; ++n3) t5[e5[n3]] = true; - return { contains: function(e6) { - return true === t5[e6]; - }, push: function(i5) { - return t5[i5] = true, e5.push(i5); - } }; - })(t4); - var i3 = T.length, r3 = e4.constructor, o2 = F(r3) && r3.prototype || n2, a2 = "constructor"; - for (G(e4, a2) && !t4.contains(a2) && t4.push(a2); i3--; ) (a2 = T[i3]) in e4 && e4[a2] !== o2[a2] && !t4.contains(a2) && t4.push(a2); } - function ee(e4) { - if (!A(e4)) return []; - if (p) return p(e4); - var t4 = []; - for (var i3 in e4) G(e4, i3) && t4.push(i3); - return f && Z(e4, t4), t4; + addLiteralByKnowledgeBaseDocumentNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + this._checkItemIsValidLiteralString(this._infoParm("knowledgeBaseDocumentName", "addLiteralByKnowledgeBaseDocumentNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByKnowledgeBaseDocumentNameAsync"), t3, true); + const i3 = this._getFlowConfiguredKnowledgeBaseId; + return this._addLiteralByValueAsync(e3, "knowledge base document", { knowledgeId: i3 }).then(() => o.default.executeCallback(this, "addLiteralByKnowledgeBaseDocumentNameAsync", t3, this)); + }); } - function te(e4, t4) { - var i3 = ee(t4), n3 = i3.length; - if (null == e4) return !n3; - for (var r3 = Object(e4), o2 = 0; o2 < n3; o2++) { - var a2 = i3[o2]; - if (t4[a2] !== r3[a2] || !(a2 in r3)) return false; - } + get isArchValueKnowledgeBaseDocumentCollection() { return true; } - function ie(e4) { - return e4 instanceof ie ? e4 : this instanceof ie ? void (this._wrapped = e4) : new ie(e4); + get _getFlowConfiguredKnowledgeBaseId() { + var e3, t3; + const i3 = null === (t3 = null === (e3 = this.parentFlow) || void 0 === e3 ? void 0 : e3.knowledgeSettings) || void 0 === t3 ? void 0 : t3.knowledgeBaseId; + return i3 || this.logErrorAndThrow("a knowledge base must be set on the flow knowledge settings to set the knowledge base document."), i3; } - function ne(e4) { - return new Uint8Array(e4.buffer || e4, e4.byteOffset || 0, $(e4)); + } + t2.default = s; + }, 93348(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(81467), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.languageSkillManager); } - ie.VERSION = e3, ie.prototype.value = function() { - return this._wrapped; - }, ie.prototype.valueOf = ie.prototype.toJSON = ie.prototype.value, ie.prototype.toString = function() { - return String(this._wrapped); - }; - var re = "[object DataView]"; - function oe(e4) { - if (!A(e4)) return []; - var t4 = []; - for (var i3 in e4) t4.push(i3); - return f && Z(e4, t4), t4; + get _globalTypeName() { + return "languageSkill"; } - function ae(e4) { - var t4 = X(e4); - return function(i3) { - if (null == i3) return false; - 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 !== de || !F(i3[se]); - }; + get displayTypeName() { + return "ArchValueLanguageSkill"; } - 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; + get isArchValueLanguageSkill() { + return true; } - function Te(e4) { - for (var t4 = {}, i3 = ee(e4), n3 = 0, r3 = i3.length; n3 < r3; n3++) t4[e4[i3[n3]]] = i3[n3]; - return t4; + setLiteralByLanguageSkillIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("languageSkillId", "setLiteralByLanguageSkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByLanguageSkillIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByLanguageSkillIdAsync", t3, this)); + }); } - function ye(e4) { - var t4 = []; - for (var i3 in e4) F(e4[i3]) && t4.push(i3); - return t4.sort(); + setLiteralByLanguageSkillNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("languageSkillName", "setLiteralByLanguageSkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByLanguageSkillNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByLanguageSkillNameAsync", t3, this)); + }); } - function Se(e4, t4) { - return function(i3) { - var n3 = arguments.length; - if (t4 && (i3 = Object(i3)), n3 < 2 || null == i3) return i3; - for (var r3 = 1; r3 < n3; r3++) for (var o2 = arguments[r3], a2 = e4(o2), s2 = a2.length, l2 = 0; l2 < s2; l2++) { - var u2 = a2[l2]; - t4 && void 0 !== i3[u2] || (i3[u2] = o2[u2]); - } - return i3; - }; + } + t2.default = s; + }, 59424(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(81467), a = n2.__importDefault(i2(40559)); + class s extends a.default { + constructor(e3) { + super(e3, r.languageSkillManager); } - var Ae = Se(oe), Ne = Se(ee), ve = Se(oe, true); - function Oe(e4) { - if (!A(e4)) return {}; - if (_) return _(e4); - var t4 = function() { - }; - t4.prototype = e4; - var i3 = new t4(); - return t4.prototype = null, i3; + get _globalTypeName() { + return "languageSkillCollection"; } - function Ie(e4) { - return B(e4) ? e4 : [e4]; + get displayTypeName() { + return "ArchValueLanguageSkillCollection"; } - function Ce(e4) { - return ie.toPath(e4); + get _searchByValueSearchProperty() { + return "name"; } - function be(e4, t4) { - for (var i3 = t4.length, n3 = 0; n3 < i3; n3++) { - if (null == e4) return; - e4 = e4[t4[n3]]; - } - return i3 ? e4 : void 0; + addLiteralByLanguageSkillIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("languageSkillId", "addLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "skill").then(() => o.default.executeCallback(this, "addLiteralBySkillIdAsync", t3, this)); + }); } - function Ee(e4, t4, i3) { - var n3 = be(e4, Ce(t4)); - return N(n3) ? i3 : n3; + addLiteralByLanguageSkillNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("languageSkillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "skill").then(() => o.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this)); + }); } - function we(e4) { - return e4; + get isArchValueLanguageSkillCollection() { + return true; } - function Re(e4) { - return e4 = Ne({}, e4), function(t4) { - return te(t4, e4); - }; + } + t2.default = s; + }, 44502(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function De(e4) { - return e4 = Ce(e4), function(t4) { - return be(t4, e4); - }; + get _globalTypeName() { + return "lineItem"; } - function Pe(e4, t4, i3) { - if (void 0 === t4) return e4; - switch (i3 ?? 3) { - case 1: - return function(i4) { - return e4.call(t4, i4); - }; - case 3: - return function(i4, n3, r3) { - return e4.call(t4, i4, n3, r3); - }; - case 4: - return function(i4, n3, r3, o2) { - return e4.call(t4, i4, n3, r3, o2); - }; - } - return function() { - return e4.apply(t4, arguments); - }; + get displayTypeName() { + return "ArchValueLineItem"; } - function Me(e4, t4, i3) { - return null == e4 ? we : F(e4) ? Pe(e4, t4, i3) : A(e4) && !B(e4) ? Re(e4) : De(e4); + get isArchValueLineItem() { + return true; } - function Fe(e4, t4) { - return Me(e4, t4, 1 / 0); + get listingName() { + return this._getAssignableProperty("listingName"); } - function Le(e4, t4, i3) { - return ie.iteratee !== Fe ? ie.iteratee(e4, t4) : Me(e4, t4, i3); + get listingPrice() { + return this._getAssignableProperty("listingPrice"); } - function xe() { + setLiteralLineItem(e3, t3, i3) { + this.listingName.setLiteralString(e3), this.listingPrice.setLiteralAmountAndCode(t3, i3); } - function ke(e4, t4) { - return null == t4 && (t4 = e4, e4 = 0), e4 + Math.floor(Math.random() * (t4 - e4 + 1)); + } + t2.default = o; + }, 70838(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - ie.toPath = Ie, ie.iteratee = Fe; - var Ve = Date.now || function() { - return (/* @__PURE__ */ new Date()).getTime(); - }; - function Ue(e4) { - var t4 = function(t5) { - return e4[t5]; - }, i3 = "(?:" + ee(e4).join("|") + ")", n3 = RegExp(i3), r3 = RegExp(i3, "g"); - return function(e5) { - return e5 = null == e5 ? "" : "" + e5, n3.test(e5) ? e5.replace(r3, t4) : e5; - }; + get _globalTypeName() { + return "lineItemCollection"; } - var Be = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'", "`": "`" }, Ge = Ue(Be), je = Ue(Te(Be)), We = ie.templateSettings = { evaluate: /<%([\s\S]+?)%>/g, interpolate: /<%=([\s\S]+?)%>/g, escape: /<%-([\s\S]+?)%>/g }, qe = /(.)^/, Ye = { "'": "'", "\\": "\\", "\r": "r", "\n": "n", "\u2028": "u2028", "\u2029": "u2029" }, He = /\\|'|\r|\n|\u2028|\u2029/g; - function Je(e4) { - return "\\" + Ye[e4]; + get displayTypeName() { + return "ArchValueLineItemCollection"; } - 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 = Oe(e4.prototype), a2 = e4.apply(o2, r3); - return A(a2) ? a2 : o2; + get isArchValueLineItemCollection() { + return true; } - 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 Ke(e4, n3, this, this, a2); - }; - return n3; - }); - Qe.placeholder = ie; - 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 Ke(e4, n3, t4, this, i3.concat(r3)); - }); - return n3; - }), Ze = H(X); - function et(e4, t4, i3) { - t4 || 0 === t4 || (t4 = 1 / 0); - for (var n3 = [], r3 = 0, o2 = 0, a2 = X(e4) || 0, s2 = []; ; ) if (o2 >= a2) { - if (!s2.length) break; - var l2 = s2.pop(); - o2 = l2.i, e4 = l2.v, a2 = X(e4); - } else { - var u2 = e4[o2++]; - s2.length >= t4 ? n3[r3++] = u2 : Ze(u2) && (B(u2) || W(u2)) ? (s2.push({ i: o2, v: e4 }), o2 = 0, a2 = X(e4 = u2)) : i3 || (n3[r3++] = u2); - } - return n3; + } + t2.default = o; + }, 6085(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - var tt = S(function(e4, t4) { - var i3 = (t4 = et(t4, false, false)).length; - if (i3 < 1) throw new Error("bindAll must be passed function names"); - for (; i3--; ) { - var n3 = t4[i3]; - e4[n3] = Xe(e4[n3], e4); - } - return e4; - }), it = S(function(e4, t4, i3) { - return setTimeout(function() { - return e4.apply(null, i3); - }, t4); - }), nt = Qe(it, ie, 1); - function rt(e4) { - return function() { - return !e4.apply(this, arguments); - }; + get _globalTypeName() { + return "listPicker"; } - function ot(e4, t4) { - var i3; - return function() { - return --e4 > 0 && (i3 = t4.apply(this, arguments)), e4 <= 1 && (t4 = null), i3; - }; + get displayTypeName() { + return "ArchValueListPicker"; } - var at = Qe(ot, 2); - function st(e4, t4, i3) { - t4 = Le(t4, i3); - for (var n3, r3 = ee(e4), o2 = 0, a2 = r3.length; o2 < a2; o2++) if (t4(e4[n3 = r3[o2]], n3, e4)) return n3; + get isArchValueListPicker() { + return true; } - function lt(e4) { - return function(t4, i3, n3) { - i3 = Le(i3, n3); - for (var r3 = X(t4), o2 = e4 > 0 ? 0 : r3 - 1; o2 >= 0 && o2 < r3; o2 += e4) if (i3(t4[o2], o2, t4)) return o2; - return -1; - }; + get sections() { + return this._getAssignableProperty("sections"); } - 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; - } - return o2; + get receivedMessageImage() { + return this._getAssignableProperty("receivedMessageImage"); } - function pt(e4, t4, i3) { - return function(n3, r3, o2) { - var s2 = 0, l2 = X(n3); - if ("number" == typeof o2) e4 > 0 ? s2 = o2 >= 0 ? o2 : Math.max(o2 + l2, s2) : l2 = o2 >= 0 ? Math.min(o2 + 1, l2) : o2 + l2 + 1; - else if (i3 && o2 && l2) return n3[o2 = i3(n3, r3)] === r3 ? o2 : -1; - if (r3 != r3) return (o2 = t4(a.call(n3, s2, l2), q)) >= 0 ? o2 + s2 : -1; - for (o2 = e4 > 0 ? s2 : l2 - 1; o2 >= 0 && o2 < l2; o2 += e4) if (n3[o2] === r3) return o2; - return -1; - }; + get receivedMessageTitle() { + return this._getAssignableProperty("receivedMessageTitle"); } - 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]; + get receivedMessageSubtitle() { + return this._getAssignableProperty("receivedMessageSubtitle"); } - function gt(e4, t4, i3) { - var n3, r3; - if (t4 = Pe(t4, i3), Ze(e4)) for (n3 = 0, r3 = e4.length; n3 < r3; n3++) t4(e4[n3], n3, e4); - else { - var o2 = ee(e4); - for (n3 = 0, r3 = o2.length; n3 < r3; n3++) t4(e4[o2[n3]], o2[n3], e4); - } - return e4; + get receivedMessageButtonText() { + return this._getAssignableProperty("receivedMessageButtonText"); } - function ft(e4, t4, i3) { - t4 = Le(t4, i3); - for (var n3 = !Ze(e4) && ee(e4), r3 = (n3 || e4).length, o2 = Array(r3), a2 = 0; a2 < r3; a2++) { - var s2 = n3 ? n3[a2] : a2; - o2[a2] = t4(e4[s2], s2, e4); - } - return o2; + get replyMessageImage() { + return this._getAssignableProperty("replyMessageImage"); } - function Tt(e4) { - return function(t4, i3, n3, r3) { - var o2 = arguments.length >= 3; - return (function(t5, i4, n4, r4) { - var o3 = !Ze(t5) && ee(t5), a2 = (o3 || t5).length, s2 = e4 > 0 ? 0 : a2 - 1; - for (r4 || (n4 = t5[o3 ? o3[s2] : s2], s2 += e4); s2 >= 0 && s2 < a2; s2 += e4) { - var l2 = o3 ? o3[s2] : s2; - n4 = i4(n4, t5[l2], l2, t5); - } - return n4; - })(t4, Pe(i3, r3, 4), n3, o2); - }; + get replyMessageSubtitle() { + return this._getAssignableProperty("replyMessageSubtitle"); } - var yt = Tt(1), St = Tt(-1); - function At(e4, t4, i3) { - var n3 = []; - return t4 = Le(t4, i3), gt(e4, function(e5, i4, r3) { - t4(e5, i4, r3) && n3.push(e5); - }), n3; + setLiteralListPicker(e3, t3, i3, n3, o2, r, a) { + this.receivedMessageTitle.setLiteralString(i3), this.receivedMessageSubtitle.setLiteralString(n3), this.receivedMessageButtonText.setLiteralString(a), this.replyMessageSubtitle.setLiteralString(r), t3 && this.receivedMessageImage.setLiteralByImageNameAsync(t3), o2 && this.replyMessageImage.setLiteralByImageNameAsync(o2); } - function Nt(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; - if (!t4(e4[a2], a2, e4)) return false; - } + } + t2.default = o; + }, 66418(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "listPicker"; + } + get displayTypeName() { + return "ArchValueListPickerItem"; + } + get isArchValueListPickerItem() { return true; } - 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; - if (t4(e4[a2], a2, e4)) return true; - } - return false; + get title() { + return this._getAssignableProperty("title"); } - function Ot(e4, t4, i3, n3) { - return Ze(e4) || (e4 = fe(e4)), ("number" != typeof i3 || n3) && (i3 = 0), _t(e4, t4, i3) >= 0; + get subtitle() { + return this._getAssignableProperty("subtitle"); } - 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; - if (!o2) { - if (n3 && n3.length && (e5 = be(e5, n3)), null == e5) return; - o2 = e5[t4]; - } - return null == o2 ? o2 : o2.apply(e5, i3); - }); - }); - function Ct(e4, t4) { - return ft(e4, De(t4)); + get image() { + return this._getAssignableProperty("image"); } - function bt(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); - else t4 = Le(t4, i3), gt(e4, function(e5, i4, n4) { - ((r3 = t4(e5, i4, n4)) > a2 || r3 === -1 / 0 && o2 === -1 / 0) && (o2 = e5, a2 = r3); - }); - return o2; + setLiteralListPickerItem(e3, t3, i3) { + this.title.setLiteralString(e3), t3 && this.subtitle.setLiteralString(t3), i3 && this.image.setLiteralByImageNameAsync(i3); } - var Et = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - function wt(e4) { - return e4 ? B(e4) ? a.call(e4) : I(e4) ? e4.match(Et) : Ze(e4) ? ft(e4, we) : fe(e4) : []; + } + t2.default = o; + }, 30042(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Rt(e4, t4, i3) { - if (null == t4 || i3) return Ze(e4) || (e4 = fe(e4)), e4[ke(e4.length - 1)]; - 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]; - n3[a2] = n3[s2], n3[s2] = l2; - } - return n3.slice(0, t4); + get _globalTypeName() { + return "listPickerItemCollection"; } - function Dt(e4, t4) { - return function(i3, n3, r3) { - var o2 = t4 ? [[], []] : {}; - return n3 = Le(n3, r3), gt(i3, function(t5, r4) { - var a2 = n3(t5, r4, i3); - e4(o2, t5, a2); - }), o2; - }; + get displayTypeName() { + return "ArchValueListPickerItemCollection"; } - var Pt = Dt(function(e4, t4, i3) { - G(e4, i3) ? e4[i3].push(t4) : e4[i3] = [t4]; - }), Mt = Dt(function(e4, t4, i3) { - e4[i3] = t4; - }), Ft = Dt(function(e4, t4, i3) { - G(e4, i3) ? e4[i3]++ : e4[i3] = 1; - }), Lt = Dt(function(e4, t4, i3) { - e4[i3 ? 0 : 1].push(t4); - }, true); - function xt(e4, t4, i3) { - return t4 in i3; + get isArchValueListPickerItemCollection() { + return true; } - var kt = S(function(e4, t4) { - var i3 = {}, n3 = t4[0]; - if (null == e4) return i3; - F(n3) ? (t4.length > 1 && (n3 = Pe(n3, t4[1])), t4 = oe(e4)) : (n3 = xt, t4 = et(t4, false, false), e4 = Object(e4)); - for (var r3 = 0, o2 = t4.length; r3 < o2; r3++) { - var a2 = t4[r3], s2 = e4[a2]; - n3(s2, a2, e4) && (i3[a2] = s2); - } - return 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 !Ot(t4, i4); - }), kt(e4, n3, i3); - }); - function Ut(e4, t4, i3) { - return a.call(e4, 0, Math.max(0, e4.length - (null == t4 || i3 ? 1 : t4))); + } + t2.default = o; + }, 4266(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Bt(e4, t4, i3) { - return null == e4 || e4.length < 1 ? null == t4 || i3 ? void 0 : [] : null == t4 || i3 ? e4[0] : Ut(e4, e4.length - t4); + get _globalTypeName() { + return "listPicker"; } - function Gt(e4, t4, i3) { - return a.call(e4, null == t4 || i3 ? 1 : t4); + get displayTypeName() { + return "ArchValueListPickerSection"; } - var jt = S(function(e4, t4) { - return t4 = et(t4, true, true), At(e4, function(e5) { - return !Ot(t4, e5); - }); - }), Wt = S(function(e4, t4) { - return jt(e4, t4); - }); - function qt(e4, t4, 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 ? Ot(o2, u2) || (o2.push(u2), r3.push(l2)) : Ot(r3, l2) || r3.push(l2); - } - return r3; + get isArchValueListPickerSection() { + return true; } - var Yt = S(function(e4) { - return qt(et(e4, true, true)); - }); - function Ht(e4) { - for (var t4 = e4 && bt(e4, X).length || 0, i3 = Array(t4), n3 = 0; n3 < t4; n3++) i3[n3] = Ct(e4, n3); - return i3; + get items() { + return this._getAssignableProperty("items"); } - var Jt = S(Ht); - function $t(e4, t4) { - return e4._chain ? ie(t4).chain() : t4; + get title() { + return this._getAssignableProperty("title"); } - 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), $t(this, i3.apply(ie, e5)); - }; - }), ie; + get multiSelectEnabled() { + return this._getAssignableProperty("multiSelectEnabled"); } - gt(["pop", "push", "reverse", "shift", "sort", "splice", "unshift"], function(e4) { - 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]), $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)), $t(this, e5); - }; - }); - var Kt = { __proto__: null, VERSION: e3, restArguments: S, isObject: A, isNull: function(e4) { - return null === e4; - }, isUndefined: N, isBoolean: v, isElement: function(e4) { - return !(!e4 || 1 !== e4.nodeType); - }, 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) || 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(); - if (true !== a2) { - if ((e4 = a2.a) === (t4 = a2.b)) { - if (0 !== e4 || 1 / e4 == 1 / t4) continue; - return false; - } - if (null == e4 || null == t4) return false; - if (e4 != e4) { - if (t4 != t4) continue; - return false; - } - var l2 = typeof e4; - if ("function" !== l2 && "object" !== l2 && "object" != typeof t4) return false; - e4 instanceof ie && (e4 = e4._wrapped), t4 instanceof ie && (t4 = t4._wrapped); - var u2 = s.call(e4); - if (u2 !== s.call(t4)) return false; - if (x && "[object Object]" == u2 && U(e4)) { - if (!U(t4)) return false; - u2 = re; - } - switch (u2) { - case "[object RegExp]": - case "[object String]": - if ("" + e4 == "" + t4) continue; - return false; - case "[object Number]": - i3.push({ a: +e4, b: +t4 }); - continue; - case "[object Date]": - case "[object Boolean]": - if (+e4 === +t4) continue; - return false; - case "[object Symbol]": - if (r2.valueOf.call(e4) === r2.valueOf.call(t4)) continue; - return false; - case "[object ArrayBuffer]": - case re: - i3.push({ a: ne(e4), b: ne(t4) }); - continue; - } - var c2 = "[object Array]" === u2; - if (!c2 && Q(e4)) { - if ($(e4) !== $(t4)) return false; - if (e4.buffer === t4.buffer && e4.byteOffset === t4.byteOffset) continue; - c2 = true; - } - if (!c2) { - if ("object" != typeof e4 || "object" != typeof 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), c2) { - if ((_2 = e4.length) !== t4.length) return false; - for (; _2--; ) i3.push({ a: e4[_2], b: t4[_2] }); - } else { - var h2, m2 = ee(e4); - if (_2 = m2.length, ee(t4).length !== _2) return false; - for (; _2--; ) { - if (!G(t4, h2 = m2[_2])) return false; - i3.push({ a: e4[h2], b: t4[h2] }); - } - } - } else n3.pop(), o2.pop(); - } - return true; - }, 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: 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; - }, tap: function(e4, t4) { - return t4(e4), e4; - }, get: Ee, has: function(e4, t4) { - for (var i3 = (t4 = Ce(t4)).length, n3 = 0; n3 < i3; n3++) { - var r3 = t4[n3]; - if (!G(e4, r3)) return false; - e4 = e4[r3]; - } - return !!i3; - }, mapObject: function(e4, t4, i3) { - t4 = Le(t4, i3); - for (var n3 = ee(e4), r3 = n3.length, o2 = {}, a2 = 0; a2 < r3; a2++) { - var s2 = n3[a2]; - o2[s2] = t4(e4[s2], s2, e4); - } - return o2; - }, identity: we, constant: Y, noop: xe, toPath: Ie, property: De, propertyOf: function(e4) { - return null == e4 ? xe : function(t4) { - return Ee(e4, t4); - }; - }, 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 = 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 (!$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 { - a2 = new Function(s2, "_", o2); - } catch (e5) { - throw e5.source = o2, e5; - } - var l2 = function(e5) { - return a2.call(this, e5, ie); - }; - return l2.source = "function(" + s2 + "){\n" + o2 + "}", l2; - }, result: function(e4, t4, i3) { - var n3 = (t4 = Ce(t4)).length; - if (!n3) return F(i3) ? i3.call(e4) : i3; - for (var r3 = 0; r3 < n3; r3++) { - var o2 = null == e4 ? void 0 : e4[t4[r3]]; - void 0 === o2 && (o2 = i3, r3 = n3), e4 = F(o2) ? o2.call(e4) : o2; - } - return e4; - }, uniqueId: function(e4) { - var t4 = ++ze + ""; - return e4 ? e4 + t4 : t4; - }, chain: function(e4) { - var t4 = ie(e4); - return t4._chain = true, t4; - }, iteratee: Fe, partial: Qe, bind: Xe, bindAll: tt, memoize: function(e4, t4) { - var i3 = function(n3) { - var r3 = i3.cache, o2 = "" + (t4 ? t4.apply(this, arguments) : n3); - return G(r3, o2) || (r3[o2] = e4.apply(this, arguments)), r3[o2]; - }; - return i3.cache = {}, i3; - }, delay: it, defer: nt, throttle: function(e4, t4, i3) { - var n3, r3, o2, a2, s2 = 0; - i3 || (i3 = {}); - var l2 = function() { - s2 = false === i3.leading ? 0 : Ve(), n3 = null, a2 = e4.apply(r3, o2), n3 || (r3 = o2 = null); - }, u2 = function() { - var u3 = Ve(); - s2 || false !== i3.leading || (s2 = u3); - 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; - }, u2; - }, debounce: function(e4, t4, i3) { - var n3, r3, o2, a2, s2, l2 = function() { - var u3 = Ve() - r3; - t4 > u3 ? n3 = setTimeout(l2, t4 - u3) : (n3 = null, i3 || (a2 = e4.apply(s2, o2)), n3 || (o2 = s2 = null)); - }, u2 = S(function(u3) { - return s2 = this, o2 = u3, r3 = Ve(), n3 || (n3 = setTimeout(l2, t4), i3 && (a2 = e4.apply(s2, o2))), a2; - }); - return u2.cancel = function() { - clearTimeout(n3), n3 = o2 = s2 = null; - }, u2; - }, wrap: function(e4, t4) { - return Qe(t4, e4); - }, negate: rt, compose: function() { - var e4 = arguments, t4 = e4.length - 1; - return function() { - for (var i3 = t4, n3 = e4[t4].apply(this, arguments); i3--; ) n3 = e4[i3].call(this, n3); - return n3; - }; - }, after: function(e4, t4) { - return function() { - if (--e4 < 1) return t4.apply(this, arguments); - }; - }, 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: 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); - else t4 = Le(t4, i3), gt(e4, function(e5, i4, n4) { - ((r3 = t4(e5, i4, n4)) < a2 || r3 === 1 / 0 && o2 === 1 / 0) && (o2 = e5, a2 = r3); - }); - return o2; - }, shuffle: function(e4) { - 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) }; - }).sort(function(e5, t5) { - var i4 = e5.criteria, n4 = t5.criteria; - if (i4 !== n4) { - if (i4 > n4 || void 0 === i4) return 1; - if (i4 < n4 || void 0 === n4) return -1; - } - return e5.index - t5.index; - }), "value"); - }, 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)); - }, rest: Gt, tail: Gt, drop: Gt, compact: function(e4) { - return At(e4, Boolean); - }, flatten: function(e4, t4) { - return et(e4, t4, false); - }, 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 (!Ot(t4, o2)) { - var a2; - for (a2 = 1; a2 < i3 && Ot(arguments[a2], o2); a2++) ; - a2 === i3 && t4.push(o2); - } - } - return t4; - }, difference: jt, unzip: Ht, transpose: Ht, zip: Jt, object: function(e4, t4) { - for (var i3 = {}, n3 = 0, r3 = X(e4); n3 < r3; n3++) t4 ? i3[e4[n3]] = t4[n3] : i3[e4[n3][0]] = e4[n3][1]; - return i3; - }, range: function(e4, t4, i3) { - null == t4 && (t4 = e4 || 0, e4 = 0), i3 || (i3 = t4 < e4 ? -1 : 1); - for (var n3 = Math.max(Math.ceil((t4 - e4) / i3), 0), r3 = Array(n3), o2 = 0; o2 < n3; o2++, e4 += i3) r3[o2] = e4; - return r3; - }, chunk: function(e4, t4) { - 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: zt, default: ie }, Qt = zt(Kt); - return Qt._ = Qt, Qt; - }, e2.exports = t2(); - }, 92158: (e2, t2, i2) => { + setLiteralListPickerSection(e3, t3, i3) { + this.title.setLiteralString(t3), i3 && this.multiSelectEnabled.setLiteralBool(i3); + } + } + t2.default = o; + }, 18322(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), 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; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get dependencyType() { - return u.WrapupCode; + get _globalTypeName() { + return "listPickerItemCollection"; } - constructor() { - super(), this.topic = (0, r2.getTopic)("wrapupCodeManager"), this.apiCallList = c.getWrapupCodes, this.apiCallSingle = c.getWrapupCode, this.className = "WrapupCodeManager", this.dependencyContext = null, this._initialize(); + get displayTypeName() { + return "ArchValueListPickerSectionCollection"; + } + get isArchValueListPickerSectionCollection() { + return true; + } + } + t2.default = o; + }, 35786(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - } - 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), c = i2(94765); - class d extends c.ExpressionType { - constructor(e3, t3, i3) { - super(e3, t3, i3); + get _globalTypeName() { + return "messageAddressInfo"; } - get className() { - return "UtilizationLabelType"; + get name() { } - canConvertLitToExpression(e3) { - return a.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindUtilizationLabel", e3, [u.globalTypes.string]); + get addressRaw() { } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `FindUtilizationLabel(${s.default.getQuotedExpressionStringLiteral(t3)})` : ""; + get addressNormalized() { } - _getLiteralValueOfExpression() { - return ""; + get addressDisplayable() { } - createExpressionOptionClass() { - return new r2.ExpressionTypeUtilizationLabelOptions(); + get email() { } - get listManager() { - return o.utilizationLabelManager; + get displayTypeName() { + return "ArchValueMessageAddressInfo"; } - get supportsLiteralEditor() { + get isArchValueMessageAddressInfo() { return true; } } - 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 = n2.__importDefault(i2(4648)), l = i2(47957); - class u 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.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) => { + t2.default = o; + }, 92498(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(54063)); class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.findGrammarByIdActionType; + get _globalTypeName() { + return "messageAddressInfoCollection"; } get displayTypeName() { - return this._scriptingName; + return "ArchValueMessageAddressInfoCollection"; } - get isArchActionFindGrammarById() { + get isArchValueMessageAddressInfoCollection() { return true; } - get findResult() { - return this._findResult; - } } t2.default = o; - }, 92289: (e2, t2, i2) => { - function n2() { - 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) => { + }, 69109(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 { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { - super(e3), this._externalContactId = this.coreFactory.createArchWrapper(e3.externalContactId), this._customerSegment = this.coreFactory.createArchWrapper(e3.customerSegment); + super(e3); } - get _actionTypeId() { - return r2.assignCustomerSegmentActionType; + get _globalTypeName() { + return "messageStickerInfo"; } - get displayTypeName() { - return this._scriptingName; + get id() { } - get assignCustomerSegmentOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get url() { } - get isArchActionAssignCustomerSegment() { + get displayTypeName() { + return "ArchValueMessageStickerInfo"; + } + get isArchValueMessageStickerInfo() { return true; } - get externalContactId() { - return this._externalContactId; + } + t2.default = o; + }, 90601(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get customerSegment() { - return this._customerSegment; + get _globalTypeName() { + return "messageStickerInfoCollection"; } - } - t2.default = a; - }, 92314: (e2, t2, i2) => { - const n2 = i2(22124), r2 = i2(83462); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "UserList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 92330: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(15655), o = i2(57632), { outputIds: a } = i2(26847), s = i2(47957), { taskActionType: l } = i2(30801); - function u() { - if (Object.defineProperties(this, { _branchItems: { writable: true }, _variableScope: { value: "Task" } }), u.baseConstructor.apply(this, arguments), !this._branchItems) { - this._branchItems = []; - const e3 = new o({ label: s.task.defaultPathLabel, outputId: a.default }); - this._branchItems.push(e3); + get displayTypeName() { + return "ArchValueMessageStickerInfoCollection"; + } + get isArchValueMessageStickerInfoCollection() { + return true; } } - r2.extend(u, l, true), Object.defineProperties(u.prototype, { pasteReIdOrRename: { value: function(e3) { - u._super.pasteReIdOrRename.apply(this, arguments), this.name = e3.pasteGetUniqueTaskName(this.name), n2.each(this.paths, function(t3) { - t3.pasteReIdOrRename(e3); - }); - } }, pasteResolveOldToNewValues: { value: function(e3) { - u._super.pasteResolveOldToNewValues.apply(this, arguments), n2.each(this.paths, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }); - } }, paths: { enumerable: true, get: function() { - return this._branchItems; - }, set: function(e3) { - this._branchItems = this.reviveArray(e3, o); - } } }), e2.exports = u; - }, 92346: (e2, t2, i2) => { + t2.default = o; + }, 7302(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(68460)), r2 = i2(13265), o = i2(47957); - class a extends n2.default { - get className() { - return "DebuggingViewModel"; + const n2 = i2(31635), o = n2.__importStar(i2(85705)), r = n2.__importStar(i2(55656)), a = n2.__importDefault(i2(94225)), s = i2(27844), l = n2.__importDefault(i2(45894)), u = n2.__importDefault(i2(66978)); + class c extends l.default { + constructor(e3) { + super(e3, s.smsPhoneNumberManager); } - get id() { - return "debugging"; + get _globalTypeName() { + return "phoneNumber"; } - get showInFlowSize() { - return false; + get displayTypeName() { + return "ArchValuePhoneNumber"; } - getConfiguration(e3, t3) { - e3.debugSettings || (e3.debugSettings = new r2()); + get isArchValuePhoneNumber() { + return true; } - getDisplayName() { - return o.customNodes.debugging; + _setLiteralPhoneNumber(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + if (this._coreExpression.options.literalUsesSmsPhoneNumberDropdown) { + const e4 = r.splitRawPhoneNumber(t3); + yield this.setLiteralBySmsPhoneNumberIdAsync(`+${e4.dialingCode}${e4.number}`); + } + this.logNote("setting phone number to literal string '" + t3 + "'"), this._setLiteral(this._infoVal("", e3), t3); + }); } - get isDebuggingNode() { - return true; + setLiteralPhoneNumber(e3) { + const t3 = this._infoParm("phoneNumberVal", "setLiteralPhoneNumber"); + this._checkItemIsValidLiteralString(t3, e3, true), null == e3 && (e3 = ""); + const i3 = r.validateLiteralString(e3, this._coreExpression.label); + this._checkItem(t3, void 0 !== i3, i3), this._setLiteralPhoneNumber("setLiteralPhoneNumber", e3); } - loadConfiguration(e3) { - e3.debugSettings || (e3.debugSettings = new r2()); + setLiteralSipNumber(e3) { + const t3 = this._infoParm("uri", "setLiteralSipNumber"); + this._checkItemIsValidLiteralString(t3, e3, false), this._setLiteralPhoneNumber("setLiteralSipNumber", "sip:" + e3); } - get nodeGuxIcon() { - return "bug"; + setLiteralSipsNumber(e3) { + const t3 = this._infoParm("uri", "setLiteralSipsNumber"); + this._checkItemIsValidLiteralString(t3, e3, false), this._setLiteralPhoneNumber("setLiteralSipsNumber", "sips:" + e3); + } + setLiteralTelephoneNumber(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = this._infoParm("dialingCode", "setLiteralPhoneNumber"); + this._checkItemIsValidLiteralString(i3, e3, false); + const n3 = this._infoParm("subscriberNumber", "setLiteralPhoneNumber"); + this._checkItemIsValidLiteralString(n3, t3, false), e3 = e3.trim(), t3 = t3.trim(); + const a2 = 0 === e3.indexOf("+") ? e3.substr(1) : e3; + this._checkItem(i3, !o.dialingCodes[a2], "'" + e3 + "' is not a valid dialing code."); + const s2 = "tel:+" + a2 + t3, l2 = r.validateLiteralString(s2, this._coreExpression.label); + this._checkItem(i3, void 0 !== l2, l2), yield this._setLiteralPhoneNumber("setLiteralTelephoneNumber", s2); + }); + } + setLiteralBySmsPhoneNumberIdAsync(e3, t3) { + 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 = a; - }, 92359: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.skipLast = void 0; - var n2 = i2(87699), r2 = i2(65212), o = i2(17214); - t2.skipLast = function(e3) { - return e3 <= 0 ? n2.identity : r2.operate(function(t3, i3) { - var n3 = new Array(e3), r3 = 0; - return t3.subscribe(o.createOperatorSubscriber(i3, function(t4) { - var o2 = r3++; - if (o2 < e3) n3[o2] = t4; - else { - var a = o2 % e3, s = n3[a]; - n3[a] = t4, i3.next(s); - } - })), function() { - n3 = null; - }; - }); - }; - }, 92372: (e2, t2, i2) => { - const n2 = i2(13240), { collectVoiceSnippetActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _maxSnippetTime: { writable: true }, _snippet: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.maxSnippetTime.pasteResolveOldToNewValues(e3), this.snippet.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.maxSnippetTime.pasteReIdOrRename(e3), this.snippet.pasteReIdOrRename(e3); - } }, maxSnippetTime: { enumerable: true, get: function() { - return this._maxSnippetTime; - }, set: function(e3) { - this._maxSnippetTime = this.reviveItem(e3, o); - } }, snippet: { enumerable: true, get: function() { - return this._snippet; - }, set: function(e3) { - this._snippet = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 92378: (e2, t2, i2) => { - const n2 = i2(12614); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "DialogEngineBotList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 92395: (e2, t2, i2) => { + t2.default = c; + }, 71814(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(39292)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(54757)); class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.initializeFlowOutcomeActionType; + get _globalTypeName() { + return "phoneNumberCollection"; } get displayTypeName() { - return this._scriptingName; + return "ArchValuePhoneNumberCollection"; } - get isArchActionInitializeFlowOutcome() { + get isArchValuePhoneNumberCollection() { return true; } } t2.default = o; - }, 92421: (e2) => { - e2.exports = { af: "Afrikaans", af_na: "Afrikaans (Namibia)", af_za: "Afrikaans (South Africa)", agq: "Aghem", agq_cm: "Aghem (Cameroon)", ak: "Akan", ak_gh: "Akan (Ghana)", am: "Amharic", am_et: "Amharic (Ethiopia)", ar: "Arabic", ar_001: "Arabic (World)", ar_ae: "Arabic (United Arab Emirates)", ar_bh: "Arabic (Bahrain)", ar_dj: "Arabic (Djibouti)", ar_dz: "Arabic (Algeria)", ar_eg: "Arabic (Egypt)", ar_eh: "Arabic (Western Sahara)", ar_er: "Arabic (Eritrea)", ar_il: "Arabic (Israel)", ar_iq: "Arabic (Iraq)", ar_jo: "Arabic (Jordan)", ar_km: "Arabic (Comoros)", ar_kw: "Arabic (Kuwait)", ar_lb: "Arabic (Lebanon)", ar_ly: "Arabic (Libya)", ar_ma: "Arabic (Morocco)", ar_mr: "Arabic (Mauritania)", ar_om: "Arabic (Oman)", ar_ps: "Arabic (Palestinian Territories)", ar_qa: "Arabic (Qatar)", ar_sa: "Arabic (Saudi Arabia)", ar_sd: "Arabic (Sudan)", ar_so: "Arabic (Somalia)", ar_sy: "Arabic (Syria)", ar_td: "Arabic (Chad)", ar_tn: "Arabic (Tunisia)", ar_ye: "Arabic (Yemen)", arn_cl: "Mapudungun (Chile)", as: "Assamese", as_in: "Assamese (India)", asa: "Asu", asa_tz: "Asu (Tanzania)", az: "Azerbaijani", az_cyrl: "Azerbaijani (Cyrillic)", az_cyrl_az: "Azerbaijani (Cyrillic, Azerbaijan)", az_latn: "Azerbaijani (Latin)", az_latn_az: "Azerbaijani (Latin, Azerbaijan)", ba_ru: "Bashkir (Russia)", bas: "Basaa", bas_cm: "Basaa (Cameroon)", be: "Belarusian", be_by: "Belarusian (Belarus)", bem: "Bemba", bem_zm: "Bemba (Zambia)", bez: "Bena", bez_tz: "Bena (Tanzania)", bg: "Bulgarian", bg_bg: "Bulgarian (Bulgaria)", bm: "Bambara", bm_ml: "Bambara (Mali)", bn: "Bengali", bn_bd: "Bengali (Bangladesh)", bn_in: "Bengali (India)", bo: "Tibetan", bo_cn: "Tibetan (China)", bo_in: "Tibetan (India)", br: "Breton", br_fr: "Breton (France)", brx: "Bodo", brx_in: "Bodo (India)", bs: "Bosnian", bs_cyrl: "Bosnian (Cyrillic)", bs_cyrl_ba: "Bosnian (Cyrillic, Bosnia and Herzegovina)", bs_latn: "Bosnian (Latin)", bs_latn_ba: "Bosnian (Latin, Bosnia and Herzegovina)", ca: "Catalan", ca_ad: "Catalan (Andorra)", ca_es: "Catalan (Spain)", cgg: "Chiga", cgg_ug: "Chiga (Uganda)", chr: "Cherokee", chr_us: "Cherokee (United States)", co_fr: "Corsican (France)", cs: "Czech", cs_cz: "Czech (Czech Republic)", cy: "Welsh", cy_gb: "Welsh (United Kingdom)", da: "Danish", da_dk: "Danish (Denmark)", dav: "Taita", dav_ke: "Taita (Kenya)", de: "German", de_at: "German (Austria)", de_be: "German (Belgium)", de_ch: "German (Switzerland)", de_de: "German (Germany)", de_li: "German (Liechtenstein)", de_lu: "German (Luxembourg)", dje: "Zarma", dje_ne: "Zarma (Niger)", dsb_de: "Lower Sorbian (Germany)", dua: "Duala", dua_cm: "Duala (Cameroon)", dv_mv: "Divehi (Maldives)", dyo: "Jola-Fonyi", dyo_sn: "Jola-Fonyi (Senegal)", dz: "Dzongkha", dz_bt: "Dzongkha (Bhutan)", ebu: "Embu", ebu_ke: "Embu (Kenya)", ee: "Ewe", ee_gh: "Ewe (Ghana)", ee_tg: "Ewe (Togo)", el: "Greek", el_cy: "Greek (Cyprus)", el_gr: "Greek (Greece)", en: "English", en_029: "English (Caribbean)", en_150: "English (Europe)", en_ag: "English (Antigua and Barbuda)", en_as: "English (American Samoa)", en_au: "English (Australia)", en_bb: "English (Barbados)", en_be: "English (Belgium)", en_bm: "English (Bermuda)", en_bs: "English (Bahamas)", en_bw: "English (Botswana)", en_bz: "English (Belize)", en_ca: "English (Canada)", en_cm: "English (Cameroon)", en_dm: "English (Dominica)", en_fj: "English (Fiji)", en_fm: "English (Micronesia)", en_gb: "English (United Kingdom)", en_gb_wls: "English (Wales)", en_gd: "English (Grenada)", en_gg: "English (Guernsey)", en_gh: "English (Ghana)", en_gi: "English (Gibraltar)", en_gm: "English (Gambia)", en_gu: "English (Guam)", en_gy: "English (Guyana)", en_hk: "English (Hong Kong SAR China)", en_ie: "English (Ireland)", en_im: "English (Isle of Man)", en_in: "English (India)", en_je: "English (Jersey)", en_jm: "English (Jamaica)", en_ke: "English (Kenya)", en_ki: "English (Kiribati)", en_kn: "English (Saint Kitts and Nevis)", en_ky: "English (Cayman Islands)", en_lc: "English (Saint Lucia)", en_lr: "English (Liberia)", en_ls: "English (Lesotho)", en_mg: "English (Madagascar)", en_mh: "English (Marshall Islands)", en_mp: "English (Northern Mariana Islands)", en_mt: "English (Malta)", en_mu: "English (Mauritius)", en_mw: "English (Malawi)", en_my: "English (Malaysia)", en_na: "English (Namibia)", en_ng: "English (Nigeria)", en_nz: "English (New Zealand)", en_pg: "English (Papua New Guinea)", en_ph: "English (Philippines)", en_pk: "English (Pakistan)", en_pr: "English (Puerto Rico)", en_pw: "English (Palau)", en_sb: "English (Solomon Islands)", en_sc: "English (Seychelles)", en_sg: "English (Singapore)", en_sl: "English (Sierra Leone)", en_ss: "English (South Sudan)", en_sz: "English (Swaziland)", en_tc: "English (Turks and Caicos Islands)", en_to: "English (Tonga)", en_tt: "English (Trinidad and Tobago)", en_tz: "English (Tanzania)", en_ug: "English (Uganda)", en_um: "English (U.S. Outlying Islands)", en_us: "English (United States)", en_vc: "English (Saint Vincent and the Grenadines)", en_vg: "English (British Virgin Islands)", en_vi: "English (U.S. Virgin Islands)", en_vu: "English (Vanuatu)", en_ws: "English (Samoa)", en_za: "English (South Africa)", en_zm: "English (Zambia)", en_zw: "English (Zimbabwe)", eo: "Esperanto", es: "Spanish", es_419: "Spanish (Latin America)", es_ar: "Spanish (Argentina)", es_bo: "Spanish (Bolivia)", es_cl: "Spanish (Chile)", es_co: "Spanish (Colombia)", es_cr: "Spanish (Costa Rica)", es_cu: "Spanish (Cuba)", es_do: "Spanish (Dominican Republic)", es_ea: "Spanish (Ceuta and Melilla)", es_ec: "Spanish (Ecuador)", es_es: "Spanish (Spain)", es_gq: "Spanish (Equatorial Guinea)", es_gt: "Spanish (Guatemala)", es_hn: "Spanish (Honduras)", es_ic: "Spanish (Canary Islands)", es_mx: "Spanish (Mexico)", es_ni: "Spanish (Nicaragua)", es_pa: "Spanish (Panama)", es_pe: "Spanish (Peru)", es_ph: "Spanish (Philippines)", es_pr: "Spanish (Puerto Rico)", es_py: "Spanish (Paraguay)", es_sv: "Spanish (El Salvador)", es_us: "Spanish (United States)", es_uy: "Spanish (Uruguay)", es_ve: "Spanish (Venezuela)", et: "Estonian", et_ee: "Estonian (Estonia)", eu: "Basque", eu_es: "Basque (Spain)", ewo: "Ewondo", ewo_cm: "Ewondo (Cameroon)", fa: "Persian", fa_af: "Persian (Afghanistan)", fa_ir: "Persian (Iran)", ff: "Fulah", ff_sn: "Fulah (Senegal)", fi: "Finnish", fi_fi: "Finnish (Finland)", fil: "Filipino", fil_ph: "Filipino (Philippines)", fo: "Faroese", fo_fo: "Faroese (Faroe Islands)", fr: "French", fr_be: "French (Belgium)", fr_bf: "French (Burkina Faso)", fr_bi: "French (Burundi)", fr_bj: "French (Benin)", fr_bl: "French (Saint Barth\xE9lemy)", fr_ca: "French (Canada)", fr_cd: "French (Congo - Kinshasa)", fr_cf: "French (Central African Republic)", fr_cg: "French (Congo - Brazzaville)", fr_ch: "French (Switzerland)", fr_ci: "French (C\xF4te d'Ivoire)", fr_cm: "French (Cameroon)", fr_dj: "French (Djibouti)", fr_dz: "French (Algeria)", fr_fr: "French (France)", fr_ga: "French (Gabon)", fr_gf: "French (French Guiana)", fr_gn: "French (Guinea)", fr_gp: "French (Guadeloupe)", fr_gq: "French (Equatorial Guinea)", fr_ht: "French (Haiti)", fr_km: "French (Comoros)", fr_lu: "French (Luxembourg)", fr_ma: "French (Morocco)", fr_mc: "French (Monaco)", fr_mf: "French (Saint Martin)", fr_mg: "French (Madagascar)", fr_ml: "French (Mali)", fr_mq: "French (Martinique)", fr_mr: "French (Mauritania)", fr_mu: "French (Mauritius)", fr_nc: "French (New Caledonia)", fr_ne: "French (Niger)", fr_pf: "French (French Polynesia)", fr_re: "French (R\xE9union)", fr_rw: "French (Rwanda)", fr_sc: "French (Seychelles)", fr_sn: "French (Senegal)", fr_sy: "French (Syria)", fr_td: "French (Chad)", fr_tg: "French (Togo)", fr_tn: "French (Tunisia)", fr_vu: "French (Vanuatu)", fr_yt: "French (Mayotte)", fy_nl: "Frisian (Netherlands)", ga: "Irish", ga_ie: "Irish (Ireland)", gd_gb: "Scottish Gaelic (United Kingdom)", gl: "Galician", gl_es: "Galician (Spain)", gsw: "Swiss German", gsw_ch: "Swiss German (Switzerland)", gsw_fr: "Alsatian (France)", gu: "Gujarati", gu_in: "Gujarati (India)", guz: "Gusii", guz_ke: "Gusii (Kenya)", gv: "Manx", gv_gb: "Manx (United Kingdom)", ha: "Hausa", ha_latn: "Hausa (Latin)", ha_latn_gh: "Hausa (Latin, Ghana)", ha_latn_ne: "Hausa (Latin, Niger)", ha_latn_ng: "Hausa (Latin, Nigeria)", ha_ng: "Hausa-Latin (Nigeria)", haw: "Hawaiian", haw_us: "Hawaiian (United States)", he: "Hebrew", he_il: "Hebrew (Israel)", hi: "Hindi", hi_in: "Hindi (India)", hr: "Croatian", hr_ba: "Croatian (Bosnia and Herzegovina)", hr_hr: "Croatian (Croatia)", hsb_de: "Upper Sorbian (Germany)", hu: "Hungarian", hu_hu: "Hungarian (Hungary)", hy: "Armenian", hy_am: "Armenian (Armenia)", id: "Indonesian", id_id: "Indonesian (Indonesia)", ig: "Igbo", ig_ng: "Igbo (Nigeria)", ii: "Sichuan Yi", ii_cn: "Sichuan Yi (China)", is: "Icelandic", is_is: "Icelandic (Iceland)", it: "Italian", it_ch: "Italian (Switzerland)", it_it: "Italian (Italy)", it_sm: "Italian (San Marino)", ja: "Japanese", ja_jp: "Japanese (Japan)", jgo: "Ngomba", jgo_cm: "Ngomba (Cameroon)", jmc: "Machame", jmc_tz: "Machame (Tanzania)", ka: "Georgian", ka_ge: "Georgian (Georgia)", kab: "Kabyle", kab_dz: "Kabyle (Algeria)", kam: "Kamba", kam_ke: "Kamba (Kenya)", kde: "Makonde", kde_tz: "Makonde (Tanzania)", kea: "Kabuverdianu", kea_cv: "Kabuverdianu (Cape Verde)", khq: "Koyra Chiini", khq_ml: "Koyra Chiini (Mali)", ki: "Kikuyu", ki_ke: "Kikuyu (Kenya)", kk: "Kazakh", kk_cyrl: "Kazakh (Cyrillic)", kk_cyrl_kz: "Kazakh (Cyrillic, Kazakhstan)", kk_kz: "Kazakh (Kazakhstan)", kl: "Kalaallisut", kl_gl: "Kalaallisut (Greenland)", kln: "Kalenjin", kln_ke: "Kalenjin (Kenya)", km: "Khmer", km_kh: "Khmer (Cambodia)", kn: "Kannada", kn_in: "Kannada (India)", ko: "Korean", ko_kp: "Korean (North Korea)", ko_kr: "Korean (South Korea)", kok: "Konkani", kok_in: "Konkani (India)", ks: "Kashmiri", ks_arab: "Kashmiri (Arabic)", ks_arab_in: "Kashmiri (Arabic, India)", ksb: "Shambala", ksb_tz: "Shambala (Tanzania)", ksf: "Bafia", ksf_cm: "Bafia (Cameroon)", kw: "Cornish", kw_gb: "Cornish (United Kingdom)", ky_kg: "Kyrgyz (Kyrgyzstan)", lag: "Langi", lag_tz: "Langi (Tanzania)", lb_lu: "Luxembourgish (Luxembourg)", lg: "Ganda", lg_ug: "Ganda (Uganda)", ln: "Lingala", ln_ao: "Lingala (Angola)", ln_cd: "Lingala (Congo - Kinshasa)", ln_cf: "Lingala (Central African Republic)", ln_cg: "Lingala (Congo - Brazzaville)", lo: "Lao", lo_la: "Lao (Laos)", lt: "Lithuanian", lt_lt: "Lithuanian (Lithuania)", lu: "Luba-Katanga", lu_cd: "Luba-Katanga (Congo - Kinshasa)", luo: "Luo", luo_ke: "Luo (Kenya)", luy: "Luyia", luy_ke: "Luyia (Kenya)", lv: "Latvian", lv_lv: "Latvian (Latvia)", mas: "Masai", mas_ke: "Masai (Kenya)", mas_tz: "Masai (Tanzania)", mer: "Meru", mer_ke: "Meru (Kenya)", mfe: "Morisyen", mfe_mu: "Morisyen (Mauritius)", mg: "Malagasy", mg_mg: "Malagasy (Madagascar)", mgh: "Makhuwa-Meetto", mgh_mz: "Makhuwa-Meetto (Mozambique)", mgo: "Meta'", mgo_cm: "Meta' (Cameroon)", mi_nz: "Maori (New Zealand)", mk: "Macedonian", mk_mk: "Macedonian (Macedonia)", ml: "Malayalam", ml_in: "Malayalam (India)", mn_cn: "Mongolian-Traditional Mongolian (People's Republic of China)", mn_mn: "Mongolian-Cyrillic (Mongolia)", moh_ca: "Mohawk (Canada)", mr: "Marathi", mr_in: "Marathi (India)", ms: "Malay", ms_bn: "Malay (Brunei)", ms_my: "Malay (Malaysia)", ms_sg: "Malay (Singapore)", mt: "Maltese", mt_mt: "Maltese (Malta)", mua: "Mundang", mua_cm: "Mundang (Cameroon)", my: "Burmese", my_mm: "Burmese (Myanmar (Burma))", naq: "Nama", naq_na: "Nama (Namibia)", nb: "Norwegian Bokm\xE5l", nb_no: "Norwegian Bokm\xE5l (Norway)", nd: "North Ndebele", nd_zw: "North Ndebele (Zimbabwe)", ne: "Nepali", ne_in: "Nepali (India)", ne_np: "Nepali (Nepal)", nl: "Dutch", nl_aw: "Dutch (Aruba)", nl_be: "Dutch (Belgium)", nl_cw: "Dutch (Cura\xE7ao)", nl_nl: "Dutch (Netherlands)", nl_sr: "Dutch (Suriname)", nl_sx: "Dutch (Sint Maarten)", nmg: "Kwasio", nmg_cm: "Kwasio (Cameroon)", nn: "Norwegian Nynorsk", nn_no: "Norwegian Nynorsk (Norway)", no: "Norwegian Nynorsk", nso_za: "Sesotho sa Leboa (South Africa)", nus: "Nuer", nus_sd: "Nuer (Sudan)", nyn: "Nyankole", nyn_ug: "Nyankole (Uganda)", oc_fr: "Occitan (France)", om: "Oromo", om_et: "Oromo (Ethiopia)", om_ke: "Oromo (Kenya)", or: "Oriya", or_in: "Oriya (India)", pa: "Punjabi", pa_arab: "Punjabi (Arabic)", pa_arab_pk: "Punjabi (Arabic, Pakistan)", pa_guru: "Punjabi (Gurmukhi)", pa_guru_in: "Punjabi (Gurmukhi, India)", pa_in: "Punjabi (India)", pl: "Polish", pl_pl: "Polish (Poland)", prs_af: "Dari (Afghanistan)", ps: "Pashto", ps_af: "Pashto (Afghanistan)", pt: "Portuguese", pt_ao: "Portuguese (Angola)", pt_br: "Portuguese (Brazil)", pt_cv: "Portuguese (Cape Verde)", pt_gw: "Portuguese (Guinea-Bissau)", pt_mo: "Portuguese (Macau SAR China)", pt_mz: "Portuguese (Mozambique)", pt_pt: "Portuguese (Portugal)", pt_st: "Portuguese (S\xE3o Tom\xE9 and Pr\xEDncipe)", pt_tl: "Portuguese (Timor-Leste)", qut_gt: "K'iche (Guatemala)", quz_bo: "Quechua (Bolivia)", quz_ec: "Quechua (Ecuador)", quz_pe: "Quechua (Peru)", rm: "Romansh", rm_ch: "Romansh (Switzerland)", rn: "Rundi", rn_bi: "Rundi (Burundi)", ro: "Romanian", ro_md: "Romanian (Moldova)", ro_ro: "Romanian (Romania)", rof: "Rombo", rof_tz: "Rombo (Tanzania)", ru: "Russian", ru_by: "Russian (Belarus)", ru_kg: "Russian (Kyrgyzstan)", ru_kz: "Russian (Kazakhstan)", ru_md: "Russian (Moldova)", ru_ru: "Russian (Russia)", ru_ua: "Russian (Ukraine)", rw: "Kinyarwanda", rw_rw: "Kinyarwanda (Rwanda)", rwk: "Rwa", rwk_tz: "Rwa (Tanzania)", sa_in: "Sanskrit (India)", sah_ru: "Yakut (Russia)", saq: "Samburu", saq_ke: "Samburu (Kenya)", sbp: "Sangu", sbp_tz: "Sangu (Tanzania)", se_fi: "Sami-Northern (Finland)", se_no: "Sami-Northern (Norway)", se_se: "Sami-Northern (Sweden)", seh: "Sena", seh_mz: "Sena (Mozambique)", ses: "Koyraboro Senni", ses_ml: "Koyraboro Senni (Mali)", sg: "Sango", sg_cf: "Sango (Central African Republic)", shi: "Tachelhit", shi_latn: "Tachelhit (Latin)", shi_latn_ma: "Tachelhit (Latin, Morocco)", shi_tfng: "Tachelhit (Tifinagh)", shi_tfng_ma: "Tachelhit (Tifinagh, Morocco)", si: "Sinhala", si_lk: "Sinhala (Sri Lanka)", sk: "Slovak", sk_sk: "Slovak (Slovakia)", sl: "Slovenian", sl_si: "Slovenian (Slovenia)", sma_no: "Sami-Southern (Norway)", sma_se: "Sami-Southern (Sweden)", smj_no: "Sami-Lule (Norway)", smj_se: "Sami-Lule (Sweden)", smn_fi: "Sami-Inari (Finland)", sms_fi: "Sami-Skolt (Finland)", sn: "Shona", sn_zw: "Shona (Zimbabwe)", so: "Somali", so_dj: "Somali (Djibouti)", so_et: "Somali (Ethiopia)", so_ke: "Somali (Kenya)", so_so: "Somali (Somalia)", sq: "Albanian", sq_al: "Albanian (Albania)", sq_mk: "Albanian (Macedonia)", sr: "Serbian", sr_cyrl: "Serbian (Cyrillic)", sr_cyrl_ba: "Serbian (Cyrillic, Bosnia and Herzegovina)", sr_cyrl_cs: "Serbian-Cyrillic (Serbia and Montenegro (Former))", sr_cyrl_me: "Serbian (Cyrillic, Montenegro)", sr_cyrl_rs: "Serbian (Cyrillic, Serbia)", sr_latn: "Serbian (Latin)", sr_latn_ba: "Serbian (Latin, Bosnia and Herzegovina)", sr_latn_cs: "Serbian-Latin (Serbia and Montenegro (Former))", sr_latn_me: "Serbian (Latin, Montenegro)", sr_latn_rs: "Serbian (Latin, Serbia)", sv: "Swedish", sv_ax: "Swedish (\xC5land Islands)", sv_fi: "Swedish (Finland)", sv_se: "Swedish (Sweden)", sw: "Swahili", sw_ke: "Swahili (Kenya)", sw_tz: "Swahili (Tanzania)", sw_ug: "Swahili (Uganda)", swc: "Congo Swahili", swc_cd: "Congo Swahili (Congo - Kinshasa)", syr_sy: "Syriac (Syria)", ta: "Tamil", ta_in: "Tamil (India)", ta_lk: "Tamil (Sri Lanka)", ta_my: "Tamil (Malaysia)", ta_sg: "Tamil (Singapore)", te: "Telugu", te_in: "Telugu (India)", teo: "Teso", teo_ke: "Teso (Kenya)", teo_ug: "Teso (Uganda)", tg_tj: "Tajik-Cyrillic (Tajikistan)", th: "Thai", th_th: "Thai (Thailand)", ti: "Tigrinya", ti_er: "Tigrinya (Eritrea)", ti_et: "Tigrinya (Ethiopia)", tk_tm: "Turkmen (Turkmenistan)", tn_za: "Setswana (South Africa)", to: "Tongan", to_to: "Tongan (Tonga)", tr: "Turkish", tr_cy: "Turkish (Cyprus)", tr_tr: "Turkish (Turkey)", tt_ru: "Tatar (Russia)", twq: "Tasawaq", twq_ne: "Tasawaq (Niger)", tzm: "Central Atlas Tamazight", tzm_dz: "Tamazight-Latin (Algeria)", tzm_latn: "Central Atlas Tamazight (Latin)", tzm_latn_ma: "Central Atlas Tamazight (Latin, Morocco)", ug_cn: "Uyghur (People's Republic of China)", uk: "Ukrainian", uk_ua: "Ukrainian (Ukraine)", ur: "Urdu", ur_in: "Urdu (India)", ur_pk: "Urdu (Pakistan)", uz: "Uzbek", uz_arab: "Uzbek (Arabic)", uz_arab_af: "Uzbek (Arabic, Afghanistan)", uz_cyrl: "Uzbek (Cyrillic)", uz_cyrl_uz: "Uzbek (Cyrillic, Uzbekistan)", uz_latn: "Uzbek (Latin)", uz_latn_uz: "Uzbek (Latin, Uzbekistan)", vai: "Vai", vai_latn: "Vai (Latin)", vai_latn_lr: "Vai (Latin, Liberia)", vai_vaii: "Vai (Vai)", vai_vaii_lr: "Vai (Vai, Liberia)", vi: "Vietnamese", vi_vn: "Vietnamese (Vietnam)", vun: "Vunjo", vun_tz: "Vunjo (Tanzania)", wo_sn: "Wolof (Senegal)", xh_za: "isiXhosa (South Africa)", xog: "Soga", xog_ug: "Soga (Uganda)", yav: "Yangben", yav_cm: "Yangben (Cameroon)", yo: "Yoruba", yo_ng: "Yoruba (Nigeria)", zh: "Chinese", zh_cn: "Chinese-Simplified (People's Republic of China)", zh_hans: "Chinese (Simplified)", zh_hans_cn: "Chinese (Simplified, China)", zh_hans_hk: "Chinese (Simplified, Hong Kong SAR China)", zh_hans_mo: "Chinese (Simplified, Macau SAR China)", zh_hans_sg: "Chinese (Simplified, Singapore)", zh_hant: "Chinese (Traditional)", zh_hant_hk: "Chinese (Traditional, Hong Kong SAR China)", zh_hant_mo: "Chinese (Traditional, Macau SAR China)", zh_hant_tw: "Chinese (Traditional, Taiwan)", zh_hk: "Chinese-Traditional (Hong Kong S.A.R.)", zh_mo: "Chinese-Traditional (Macao S.A.R.)", zh_sg: "Chinese-Simplified (Singapore)", zh_tw: "Chinese-Traditional (Taiwan)", zu: "Zulu", zu_za: "Zulu (South Africa)" }; - }, 92448: (e2, t2, i2) => { + }, 8833(e2, t2, i2) { "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 c extends o.ArchBaseDefinition { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = 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), this._coreNodeInformationArray = [], e3.isNodeInformation ? this.coreNodeInformationArray.push(e3) : (this.coreNodeInformationArray.push(e3.coreActionNodeInformation), this.coreNodeInformationArray.push(e3.coreMenuNodeInformation)); + super(e3); } - get coreNodeInformationArray() { - return this._coreNodeInformationArray; + get _globalTypeName() { + return "prompt"; } - get actionNodeInformation() { - return this.coreNodeInformationArray[0]; + _getIsSystemPromptIdentifier(e3) { + return o.default.isString(e3) && e3.startsWith("__") && e3.endsWith("__"); } - get menuNodeInformation() { - if (this.coreNodeInformationArray.length >= 2) return this.coreNodeInformationArray[1]; + _getIsUserPromptIdentifer(e3) { + return o.default.isString(e3) && e3.length === a.default.uuidStrLen; } - get menuWithActionFallbackNodeInformation() { - return this.coreNodeInformationArray[this.coreNodeInformationArray.length - 1]; + _getIsPromptIdentifier(e3) { + return this._getIsUserPromptIdentifer(e3) || this._getIsSystemPromptIdentifier(e3); } - get _coreTypeId() { - return this.menuWithActionFallbackNodeInformation.typeId; + get displayTypeName() { + return "ArchValuePrompt"; } - get availableFlowTypes() { - const e3 = []; - return r2.default.each(a.default.FLOW_TYPES_ALL, (t3) => { - this.isAvailableForFlowType(t3) && e3.push(t3); - }), e3; + get isArchValuePrompt() { + return true; } - get canCreateFromDefinition() { - return this.menuWithActionFallbackNodeInformation.id !== u.taskActionActionType; + setLiteralByPromptNameAsync(e3, t3) { + 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), o2 = !n3 && (0, c.hasUserPromptPrefix)(e3); + n3 || o2 || 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 }); + return this._setLiteral(i3, h2.name, h2.id), this.logNote(`prompt value set to '${(0, l.addPrefix)(h2.name, h2.id)}'`), r.default.executeCallback(this, "setLiteralByPromptNameAsync", t3, this); + }); } - get displayTypeName() { - return "ArchBaseDefinitionActionMenu"; + setLiteralByPromptIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = this._infoParm("promptId", "setLiteralByPromptIdAsync"); + this._checkItem(i3, !this._getIsPromptIdentifier(e3), "the prompt identifier must be either a user prompt guid identifier or a system prompt identifier such as '__gl0012_boolean_medial_false__'"), 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", "setLiteralByPromptIdAsync"), t3, true); + const n3 = this._getIsSystemPromptIdentifier(e3); + this.logItemVerboseNote(i3, `will attempt to set a ${n3 ? "system" : "user"} prompt value based on the submitted promptId value '${e3}'.`); + const o2 = n3 ? s.systemPromptListManager : s.userPromptListManager, a2 = yield _.default.findItemByIdAsync(o2, e3, "prompt", { includeMediaUris: true, includeResources: true }); + return this._setLiteral(i3, a2.name, a2.id), this.logNote(`prompt value set to '${(0, l.addPrefix)(a2.name, a2.id)}'`), r.default.executeCallback(this, "setLiteralByPromptIdAsync", t3, this); + }); } - get label() { - const e3 = this.actionNodeInformation, t3 = this.menuNodeInformation; - return t3 ? `${t3.name} - ${e3.name}` : e3.name; + setLiteralPrompt(e3) { + const t3 = this._infoParm("archValuePrompt", "setLiteralPrompt"); + this._checkItem(t3, !e3 || !e3.isArchBasePrompt, "The prompt parameter must be an ArchPromptUser or ArchPromptSystem instance."), this._setLiteral(t3, e3.name, e3.id), this.logNote(`set the value to the prompt literal '${e3.nameWithPrefix}', id: '${e3.id}'`); } - get isArchBaseDefinitionActionMenu() { - return true; + } + t2.default = m; + }, 28333(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = 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, c.userPromptListManager); } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._appendLogStrLabel(e3, this.label), this._createLogStrFromParts(e3); + get _globalTypeName() { + return "promptCollection"; } - isAvailableForFlowType(e3) { - 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))); + get displayTypeName() { + return "ArchValuePromptCollection"; + } + addLiteralByPromptNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + const i3 = this._infoParm("promptName", "addLiteralByPromptNameAsync"); + 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, r.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 : c.userPromptListManager; + e3 = (0, l.removePrefix)(e3); + const h = yield d.default.findItemByValueAsync(_2, e3, "prompt"); + return this._addNetworkModelToCollection(h), o.default.executeCallback(this, "addLiteralByPromptNameAsync", t3, this); + }); + } + addLiteralByPromptIdAsync(e3, t3) { + 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 d.default.findItemByIdAsync(c.userPromptListManager, e3, "prompt"); + return this._addNetworkModelToCollection(n3), o.default.executeCallback(this, "addLiteralByPromptIdAsync", t3, this); + }); + } + get isArchValuePromptCollection() { + return true; } } - t2.ArchBaseDefinitionActionMenu = c; - }, 92457: (e2, t2, i2) => { + t2.default = _; + }, 45964(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), 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) { - super(e3, t3, i3), this.invalidChoicesErrors = { chooserNoChoicesConfiguredForSlotTypeValues: g.cardsAndCars.expression.chooserNoListItemsConfiguredForSlotTypeValues, chooserInvalidChoiceValueForSlotTypeExpressionMode: g.cardsAndCars.expression.chooserInvalidListItemValueForSlotTypeExpressionMode, chooserInvalidChoiceValueForSlotType: g.cardsAndCars.expression.chooserInvalidListItemValueForSlotType, chooserInvalidChoiceCountForSlotType: g.cardsAndCars.expression.chooserInvalidListItemCountForSlotType }; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(19444), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.queueManager); } - get className() { - return "ListPickerType"; + get _globalTypeName() { + return "queue"; } - get isListPickerType() { + get displayTypeName() { + return "ArchValueQueue"; + } + get isArchValueQueue() { return true; } - canConvertLitToExpression(e3) { - 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]); + setLiteralByQueueIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("queueId", "setLiteralByQueueIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByQueueIdAsync", t3, this)); + }); } - convertLitToExpression(e3, t3, i3, n3) { - 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, 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 ""; + setLiteralByQueueNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("queueName", "setLiteralByQueueNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByQueueNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByQueueNameAsync", t3, this)); + }); } - _getLiteralValueOfExpression() { - return ""; + } + t2.default = s; + }, 40776(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(19444), a = n2.__importDefault(i2(40559)); + class s extends a.default { + constructor(e3) { + super(e3, r.queueManager); } - getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { - return o.isFeatureAvailable(a.default.botFlowsAppleListPicker) ? super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3) : null; + get _globalTypeName() { + return "queueCollection"; } - createExpressionOptionClass() { - return new r2.ExpressionTypeListPickerOptions(); + get displayTypeName() { + return "ArchValueQueueCollection"; } - get supportsLiteralEditor() { + get _searchByValueSearchProperty() { + return "name"; + } + addLiteralByQueueIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("queueId", "addLiteralByQueueIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByQueueIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "queue").then(() => o.default.executeCallback(this, "addLiteralByQueueIdAsync", t3, this)); + }); + } + addLiteralByQueueNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("queueName", "addLiteralByQueueNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByQueueNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "queue").then(() => o.default.executeCallback(this, "addLiteralByQueueNameAsync", t3, this)); + }); + } + get isArchValueQueueCollection() { return true; } - getChooser(e3) { - var t3; - if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(_.globalTypes.chooser, c.settings.exact)) return e3.propertyParent; + } + t2.default = s; + }, 76150(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getPropSections(e3) { - return e3.getProperty(t2.PROP_SECTIONS); + get _globalTypeName() { + return "quickReplies"; } - getPropReceivedMessageImage(e3) { - return e3.getProperty(t2.PROP_RECEIVED_MESSAGE_IMAGE); + get buttons() { + return this._getAssignableProperty("buttons"); } - getPropReceivedMessageTitle(e3) { - return e3.getProperty(t2.PROP_RECEIVED_MESSAGE_TITLE); + get quickReplySummary() { + return this._getAssignableProperty("quickReplySummary"); } - getPropReceivedMessageSubtitle(e3) { - return e3.getProperty(t2.PROP_RECEIVED_MESSAGE_SUBTITLE); + get displayTypeName() { + return "ArchValueQuickReplies"; } - getPropReceivedMessageButtonText(e3) { - return e3.getProperty(t2.PROP_RECEIVED_MESSAGE_BUTTON_TEXT); + get isArchValueQuickReplies() { + return true; } - getPropReplyMessageImage(e3) { - return e3.getProperty(t2.PROP_REPLY_MESSAGE_IMAGE); + } + t2.default = o; + }, 95250(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(63345), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.responseAssetManager); } - getPropReplyMessageSubtitle(e3) { - return e3.getProperty(t2.PROP_REPLY_MESSAGE_SUBTITLE); + get _globalTypeName() { + return "responseAsset"; } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`list-picker-${i3.name}`), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_SECTIONS: - n3.options.setCreateMinItemsByDefault(true), n3.options.setItemAddedCallback((e4) => { - if (e4.isLiteralMode) { - const t3 = e4.type.getPropTitle(e4); - (null == t3 ? void 0 : t3.isLiteralMode) && !t3.text && (t3.text = e4.type.getUniqueTitleName(e4)); - } - }); - break; - case t2.PROP_RECEIVED_MESSAGE_IMAGE: - n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setDefaultToNoValue(true); - break; - case t2.PROP_RECEIVED_MESSAGE_TITLE: - n3.options.setIsOptional(false), n3.options.setAllowedBuilderIds([s.builderIds.parts.genericString]); - break; - case t2.PROP_RECEIVED_MESSAGE_SUBTITLE: - n3.options.setIsOptional(true), n3.options.setAllowedBuilderIds([s.builderIds.parts.genericString]); - break; - case t2.PROP_RECEIVED_MESSAGE_BUTTON_TEXT: - n3.options.setIsOptional(true), n3.options.setAllowNotSet(false), n3.options.facets.setAllowNull(false), n3.options.setAllowedBuilderIds([s.builderIds.parts.genericString]); - break; - case t2.PROP_REPLY_MESSAGE_IMAGE: - n3.options.setIsOptional(true), n3.options.setAllowNotSet(true), n3.options.setDefaultToNoValue(true); - break; - case t2.PROP_REPLY_MESSAGE_SUBTITLE: - n3.options.setIsOptional(true); - } + get displayTypeName() { + return "ArchValueResponseAsset"; } - get hasRichLiteralEditor() { + get isArchValueResponseAsset() { return true; } - useCustomExpressionEditor(e3) { - return !!(null == e3 ? void 0 : e3.parentList); + setLiteralByResponseAssetIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("responseAssetId", "setLiteralByResponseAssetIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByResponseAssetIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByResponseAssetIdAsync", t3, this)); } - _getLiteralChoicesMap(e3, t3, i3) { - if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return {}; - const n3 = {}, r3 = null != i3 ? i3 : this.getPropSections(e3); - return (null == r3 ? void 0 : r3.isLiteralMode) ? (null == r3 || r3.collectionItems.items.forEach((e4) => { - var i4; - const r4 = e4.type.getPropItems(e4); - !t3 && r4.outOfService || r4.isLiteralMode && (null === (i4 = r4.collectionItems.items) || void 0 === i4 || i4.forEach((e5) => { - e5.isLiteralMode && (n3[e5.type.getPropTitle(e5).text] = e5); - })); - }), n3) : {}; + setLiteralByResponseAssetNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("responseAssetName", "setLiteralByResponseAssetNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByResponseAssetNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByResponseAssetNameAsync", t3, this)); } - getPossibleChoices(e3, t3, i3) { - const n3 = this._getLiteralChoicesMap(e3, t3, i3); - return Object.values(n3); + } + t2.default = s; + }, 73946(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(40559)), r = n2.__importDefault(i2(94225)), a = i2(63345); + class s extends o.default { + constructor(e3) { + super(e3, a.responseAssetManager); } - applyNluDiffs(e3, t3, i3, n3) { - var r3; - if (n3) { - if (n3.invalidPostbackValueChoices) { - e3.invalidSlotTypeValuesRemoved = []; - const i4 = this._getLiteralChoicesMap(t3); - Object.keys(n3.invalidPostbackValueChoices).forEach((t4) => { - const n4 = i4[t4]; - n4 && (n4.parentList.removeChild(n4), e3.invalidSlotTypeValuesRemoved.push(t4)); - }); - } - (null === (r3 = n3.missingSlotTypeValues) || void 0 === r3 ? void 0 : r3.length) && (e3.missingSlotTypeValuesAdded = this.configureFromChoices(t3, n3.missingSlotTypeValues, true)); - } + get _globalTypeName() { + return "responseAssetCollection"; } - reset(e3) { - const t3 = this.getPropSections(e3); - t3 && (t3.mode = d.literal, t3.removeAll()); + get displayTypeName() { + return "ArchValueResponseAssetCollection"; } - initializeDesignTime(e3) { - super.initializeDesignTime(e3), this.updatePropertiesOutOfServiceStatus(e3); + get _searchByValueSearchProperty() { + return "name"; } - updatePropertiesOutOfServiceStatus(e3) { - const t3 = this.getPropSections(e3); - (null == t3 ? void 0 : t3.isLiteralMode) && t3.collectionItems.items.forEach((e4) => e4.type.updatePropertiesOutOfServiceStatus(e4)); + addLiteralByResponseAssetIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("responseAssetId", "addLiteralByResponseAssetIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByResponseAssetIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "response asset").then(() => r.default.executeCallback(this, "addLiteralByResponseAssetIdAsync", t3, this)); + }); } - configureFromChoices(e3, t3, i3) { - if (i3 || this.reset(e3), !(null == e3 ? void 0 : e3.isLiteralMode) || !t3) return; - const n3 = this.getPropSections(e3); - if (!(null == n3 ? void 0 : n3.isLiteralMode)) return; - let r3; - if (0 === n3.collectionItems.items.length) r3 = n3.collectionItems.add(), r3.type.getPropTitle(r3).text = r3.type.getUniqueTitleName(r3); - else if (1 === n3.collectionItems.items.length) { - const e4 = n3.collectionItems.items[0], t4 = e4.type.getPropTitle(e4), i4 = e4.type.getPropItems(e4); - i4.isLiteralMode && 0 === i4.collectionItems.length && t4.text === g.generic.section && (r3 = e4); - } - return r3 || (r3 = m.ListPickerSectionType.findOrCreateMissingValuesSection(n3)), r3 ? (t3.forEach((e4) => { - const t4 = r3.type.getPropItems(r3).collectionItems.add(); - t4.type.setAsManagedValue(t4, e4); - }), t3) : void 0; + addLiteralByResponseAssetNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("responseAssetName", "addLiteralByResponseAssetNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByResponseAssetNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "response asset").then(() => r.default.executeCallback(this, "addLiteralByResponseAssetNameAsync", t3, this)); + }); } - isUnknownAtDesignTime(e3) { - if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; - const t3 = this.getPropSections(e3); - return !t3.isLiteralMode || t3.collectionItems.items.some((e4) => e4.type.isUnknownAtDesignTime(e4)); + get isArchValueResponseAssetCollection() { + return true; } - getHasAtLeastOnePostbackChoice(e3) { - if (!this.isUnknownAtDesignTime(e3)) return this.getPossibleChoices(e3).length > 0; + } + t2.default = s; + }, 20846(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(4861), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.scheduleManager); + } + get _globalTypeName() { + return "schedule"; + } + get displayTypeName() { + return "ArchValueSchedule"; + } + get isArchValueSchedule() { + return true; + } + setLiteralByScheduleIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleId", "setLiteralByScheduleIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByScheduleIdAsync", t3, this)); + }); + } + setLiteralByScheduleNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleName", "setLiteralByScheduleNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByScheduleNameAsync", t3, this)); + }); } } - t2.ListPickerType = f, f.typeIdentifier = p.expressionTypeNames.listPicker; - }, 92475: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\u05E4\u05E2\u05D5\u05DC\u05D4 \u05D6\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9\u05EA.", noInputReceived: "\u05DC\u05D0 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 \u05D0\u05E3 \u05E0\u05EA\u05D5\u05DF." }, askForBoolean: { noInput: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D0\u05D5 "\u05DC\u05D0" \u05D0\u05DD \u05D0\u05D9\u05E0\u05DA \u05DE\u05E2\u05D5\u05E0\u05D9\u05D9\u05DF \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.', noMatch: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0". \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA?', question: "\u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA?", noInputDigitalBot: '\u05D9\u05E9 \u05DC\u05D4\u05D6\u05D9\u05DF "\u05DB\u05DF" \u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D0\u05D5 "\u05DC\u05D0" \u05D0\u05DD \u05D0\u05D9\u05E0\u05DA \u05DE\u05E2\u05D5\u05E0\u05D9\u05D9\u05DF \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.', noMatchDigitalBot: '\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0". \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA?' }, askForIntent: { noInput: '\u05D0\u05DE\u05D5\u05E8 \u05DE\u05E9\u05E4\u05D8 \u05E7\u05E6\u05E8 \u05E9\u05DE\u05EA\u05D0\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E9\u05DC\u05DA. \u05DC\u05D3\u05D5\u05D2\u05DE\u05D4, "\u05D1\u05D3\u05D5\u05E7 \u05D0\u05EA \u05D9\u05EA\u05E8\u05EA \u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05D9"', noMatch: "\u05D0\u05DE\u05D5\u05E8 \u05DC\u05D9 \u05E9\u05D5\u05D1 \u05DE\u05D4 \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05E2\u05E9\u05D5\u05EA.", question: "\u05DE\u05D4 \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05E2\u05E9\u05D5\u05EA?", noInputDigitalBot: '\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DE\u05E9\u05E4\u05D8 \u05E7\u05E6\u05E8 \u05E9\u05DE\u05EA\u05D0\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E9\u05DC\u05DA. \u05DC\u05D3\u05D5\u05D2\u05DE\u05D4, "\u05D1\u05D3\u05D5\u05E7 \u05D0\u05EA \u05D9\u05EA\u05E8\u05EA \u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05D9"' }, askForSlot: { askFor: "\u05D1\u05E7\u05E9 \u05D0\u05EA %1$s", noInput: "\u05D0\u05DE\u05D5\u05E8 \u05D0\u05D5 \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA (\u05E8\u05E9\u05D5\u05DD \u05DB\u05D0\u05DF \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA).", noInputWithSlot: "\u05D0\u05DE\u05D5\u05E8 \u05D0\u05D5 \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA %1$s.", noMatch: "\u05EA\u05DF \u05DC\u05D9 \u05E9\u05D5\u05D1 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA (\u05E8\u05E9\u05D5\u05DD \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF).", noMatchWithSlot: "\u05EA\u05DF \u05DC\u05D9 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05E9\u05D5\u05D1 \u05D0\u05EA %1$s.", question: "\u05DE\u05D4 \u05D4\u05D5\u05D0 (\u05E8\u05E9\u05D5\u05DD \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF)?", questionWithSlot: "\u05DE\u05D4 \u05D4\u05D5\u05D0 \u05D4-%1$s?", pleaseEnterSlotNameHere: "(\u05E8\u05E9\u05D5\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF)", noInputDigitalBot: "\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA (\u05E8\u05E9\u05D5\u05DD \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF).", noInputWithSlotDigitalBot: "\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-%1$s.", continuationPromptWithSlot: "\u05D0\u05E0\u05D9 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 {{Slot.%1$s}} \u05E2\u05D3 \u05DB\u05D4, \u05D4\u05DE\u05E9\u05DA \u05D1\u05D1\u05E7\u05E9\u05D4." }, askForNextSlot: { noInput: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.', noMatch: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.', question: "\u05D4\u05D0\u05DD \u05D9\u05E9 \u05DE\u05E9\u05D4\u05D5 \u05E0\u05D5\u05E1\u05E3 \u05E9\u05D0\u05E0\u05D9 \u05D9\u05DB\u05D5\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8 \u05DC\u05DA \u05D1\u05D5?", noInputDigitalBot: '\u05D4\u05D6\u05DF "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.', noMatchDigitalBot: '\u05D4\u05D6\u05DF "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.' }, askForPayment: { noInputDigitalBot: "\u05E8\u05E9\u05D5\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05E4\u05E8\u05D8\u05D9 \u05D4\u05EA\u05E9\u05DC\u05D5\u05DD \u05E9\u05DC\u05DA \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.", noMatchDigitalBot: "\u05D0\u05E0\u05D9 \u05DC\u05D0 \u05D4\u05D1\u05E0\u05EA\u05D9 \u05D0\u05EA \u05DE\u05D4 \u05E9\u05E8\u05E9\u05DE\u05EA. \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05D1\u05E7\u05E9\u05D4." }, askForAuthentication: { noInputDigitalBot: "\u05E8\u05E9\u05D5\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05E4\u05E8\u05D8\u05D9 \u05D4\u05D0\u05D9\u05DE\u05D5\u05EA \u05E9\u05DC\u05DA \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.", noMatchDigitalBot: "\u05D0\u05E0\u05D9 \u05DC\u05D0 \u05D4\u05D1\u05E0\u05EA\u05D9 \u05D0\u05EA \u05DE\u05D4 \u05E9\u05E8\u05E9\u05DE\u05EA. \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05D1\u05E7\u05E9\u05D4." }, askSurveyQuestion: { notApplicable: "\u05DC\u05D0 \u05EA\u05E7\u05E3", surveyAnswerOptionSequence: "\u05DC\u05D7\u05E5 \u05E2\u05DC %1$s \u05E2\u05D1\u05D5\u05E8 '%2$s'.", surveyAnswerNotApplicableSequence: "\u05DC\u05D7\u05E5 \u05E2\u05DC \u05DB\u05D5\u05DB\u05D1\u05D9\u05EA \u05E2\u05D1\u05D5\u05E8 '\u05DC\u05D0 \u05EA\u05E7\u05E3'.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u05DC\u05D7\u05E5 \u05E2\u05DC \u05DB\u05D5\u05DB\u05D1\u05D9\u05EA \u05E2\u05D1\u05D5\u05E8 '\u05DC\u05D0 \u05EA\u05E7\u05E3'.", voiceSurveyNoInputText: "\u05E2\u05E0\u05D4 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05E2\u05DC \u05D4\u05E9\u05D0\u05DC\u05D4.", voiceSurveyNoMatchText: "\u05DC\u05D0 \u05D4\u05D1\u05E0\u05EA\u05D9 \u05D0\u05D5\u05EA\u05DA." }, commonModule: { exitCommonModule: "\u05E6\u05D0 \u05DE\u05D4\u05DE\u05D5\u05D3\u05D5\u05DC \u05D4\u05DE\u05E9\u05D5\u05EA\u05E3" }, form: { noInputDigitalBot: "\u05D4\u05E9\u05DC\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05D1\u05D8\u05D5\u05E4\u05E1 \u05E2\u05DC \u05DE\u05E0\u05EA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.", noMatchDigitalBot: "\u05D4\u05E9\u05DC\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05D1\u05D8\u05D5\u05E4\u05E1 \u05E2\u05DC \u05DE\u05E0\u05EA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA." }, messagingTemplate: { noInputDigitalBot: "\u05D9\u05E9 \u05DC\u05D1\u05D7\u05D5\u05E8 \u05D0\u05D7\u05EA \u05DE\u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05D6\u05DE\u05D9\u05E0\u05D5\u05EA.", noMatchDigitalBot: "\u05D9\u05E9 \u05DC\u05D1\u05D7\u05D5\u05E8 \u05D0\u05D7\u05EA \u05DE\u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05D6\u05DE\u05D9\u05E0\u05D5\u05EA." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u05D4\u05DE\u05E9\u05DA", knowledgeAnswerHighlightFullArticleDefault: "\u05D4\u05E6\u05D2 \u05D0\u05EA \u05D4\u05DE\u05D0\u05DE\u05E8 \u05D4\u05DE\u05DC\u05D0", knowledgeInitialResponseMulti: "\u05DB\u05D3\u05D9 \u05DC\u05E2\u05D6\u05D5\u05E8 \u05DC\u05D9 \u05DC\u05D4\u05D1\u05D9\u05DF \u05D9\u05D5\u05EA\u05E8 \u05D0\u05EA \u05D4\u05DE\u05D8\u05E8\u05D4 \u05E9\u05DC\u05DA, \u05D1\u05D7\u05E8 \u05DE\u05E1\u05E4\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DE\u05D4\u05E8\u05E9\u05D9\u05DE\u05D4 \u05D4\u05D1\u05D0\u05D4:", knowledgeInitialResponseMultiRetry: "\u05D1\u05D7\u05E8 \u05DE\u05E1\u05E4\u05E8, \u05DC\u05D3\u05D5\u05D2\u05DE\u05D4 '1'.\n\u05DC\u05D4\u05DC\u05DF \u05E9\u05D5\u05D1 \u05D4\u05E8\u05E9\u05D9\u05DE\u05D4 \u05E9\u05DC \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA:", knowledgeNoMatch: "\u05D0\u05E3 \u05D0\u05D7\u05D3 \u05DE\u05D0\u05DC\u05D4", knowledgeConfirmation: "\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E2\u05E0\u05D4 \u05DC\u05E9\u05D0\u05DC\u05D4 \u05E9\u05DC\u05DA?", knowledgeFollowup: "\u05D0\u05E0\u05D9 \u05DE\u05E7\u05D5\u05D5\u05D4 \u05E9\u05E2\u05E0\u05D9\u05EA\u05D9 \u05DC\u05E9\u05D0\u05DC\u05D4 \u05E9\u05DC\u05DA. \u05D1\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA\u05DA \u05DC\u05E9\u05D0\u05D5\u05DC \u05DB\u05DC \u05D3\u05D1\u05E8 \u05D0\u05D7\u05E8 \u05E9\u05D0\u05D5\u05DC\u05D9 \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D3\u05E2\u05EA." }, noOverlay: { intent: { intentConfirmationStr1: "\u05DC\u05D3\u05E2\u05EA\u05D9 \u05D0\u05EA\u05D4 \u05E8\u05D5\u05E6\u05D4", intentConfirmationStr2: "\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?" }, youSaid: { youSaidConfirmationStr1: "\u05D0\u05EA\u05D4 \u05D0\u05DE\u05E8\u05EA", youSaidConfirmationStr2: "\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?", youSaidConfirmationStr1DigitalBot: "\u05D0\u05EA\u05D4 \u05D4\u05D6\u05E0\u05EA" }, noInput: { noInputStr1: "\u05D0\u05DE\u05D5\u05E8 \u05D0\u05D5 \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-", noInputStr1DigitalBot: "\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-" }, noMatch: { noMatchStr1: "\u05EA\u05DF \u05DC\u05D9 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-" }, whatIs: { whatIsQuestionStr1: "\u05DE\u05D4\u05D5 \u05D4-", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u05E7\u05D9\u05D1\u05DC\u05EA\u05D9", iGotContinuationStr2: "\u05E2\u05D3 \u05DB\u05D4, \u05D4\u05DE\u05E9\u05DA \u05D1\u05D1\u05E7\u05E9\u05D4." } }, defaultCallFlowOne: "\u05EA\u05E8\u05E9\u05D9\u05DD \u05D6\u05E8\u05D9\u05DE\u05D4 \u05D1\u05E8\u05D9\u05E8\u05EA \u05DE\u05D7\u05D3\u05DC \u05E9\u05DC \u05E9\u05D9\u05D7\u05D4", errorHandlingAgentEscalationConfirmation: "\u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D3\u05D1\u05E8 \u05E2\u05DD \u05D9\u05D5\u05E2\u05E5. \u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?", errorHandlingAgentEscalationHandover: "\u05E8\u05D2\u05E2 \u05D0\u05D7\u05D3, \u05D1\u05D1\u05E7\u05E9\u05D4, \u05D5\u05D0\u05E0\u05D9 \u05D0\u05E2\u05D1\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DA \u05DC\u05DE\u05D9\u05E9\u05D4\u05D5.", errorHandlingErrorEventHandover: "\u05D0\u05E0\u05D9 \u05DE\u05EA\u05E0\u05E6\u05DC, \u05E7\u05E8\u05EA\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4. \u05E8\u05E7 \u05E8\u05D2\u05E2 \u05D1\u05D1\u05E7\u05E9\u05D4, \u05D4\u05DE\u05EA\u05DF \u05D1\u05D6\u05DE\u05DF \u05E9\u05D0\u05E0\u05D9 \u05DE\u05E2\u05D1\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DA \u05DC\u05DE\u05D9\u05E9\u05D4\u05D5 \u05E9\u05D9\u05DB\u05D5\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8.", errorHandlingErrorEventHandoverVoiceSurvey: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05E7\u05E8\u05EA\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4. \u05E9\u05DC\u05D5\u05DD.", errorHandlingRecognitionEventHandover: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05E0\u05D9 \u05DE\u05EA\u05E7\u05E9\u05D4 \u05DC\u05D4\u05D1\u05D9\u05DF \u05D0\u05D5\u05EA\u05DA. \u05E8\u05D2\u05E2 \u05D0\u05D7\u05D3 \u05D1\u05D1\u05E7\u05E9\u05D4, \u05D4\u05DE\u05EA\u05DF \u05D1\u05D6\u05DE\u05DF \u05E9\u05D0\u05E0\u05D9 \u05DE\u05E2\u05D1\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DA \u05DC\u05DE\u05D9\u05E9\u05D4\u05D5 \u05E9\u05D9\u05DB\u05D5\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8 \u05DC\u05DA.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05E0\u05D9 \u05DE\u05EA\u05E7\u05E9\u05D4 \u05DC\u05D4\u05D1\u05D9\u05DF \u05D0\u05D5\u05EA\u05DA. \u05E9\u05DC\u05D5\u05DD.", errorHandlingTTS: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4. \u05E0\u05E1\u05D4 \u05DC\u05D1\u05E6\u05E2 \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4 \u05E9\u05DC\u05DA.", initialGreetingTTS: "\u05E9\u05DC\u05D5\u05DD, \u05D6\u05D5\u05D4\u05D9 \u05D1\u05E8\u05DB\u05EA \u05D4\u05E9\u05DC\u05D5\u05DD \u05D4\u05E8\u05D0\u05E9\u05D5\u05E0\u05D9\u05EA.", initialState: "\u05DE\u05D3\u05D9\u05E0\u05D4 \u05E8\u05D0\u05E9\u05D5\u05E0\u05D4", initialBotState: "\u05D1\u05D5\u05D8 \u05D1\u05E8\u05D9\u05E8\u05EA \u05DE\u05D7\u05D3\u05DC", initialDigitalBotState: "\u05D1\u05E8\u05DB\u05EA \u05E9\u05DC\u05D5\u05DD \u05E8\u05D0\u05E9\u05D5\u05E0\u05D9\u05EA", initialSurveyBotState: "\u05D1\u05D5\u05D8 \u05E1\u05E7\u05E8\u05D9\u05DD", intentConfirmation: "\u05DC\u05D3\u05E2\u05EA\u05D9 \u05D0\u05EA\u05D4 \u05E8\u05D5\u05E6\u05D4 %1$s, \u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?", mainMenu: "\u05EA\u05E4\u05E8\u05D9\u05D8 \u05E8\u05D0\u05E9\u05D9", mainMenuTTS: "\u05D0\u05EA\u05D4 \u05D1\u05EA\u05E4\u05E8\u05D9\u05D8 \u05D4\u05E8\u05D0\u05E9\u05D9, \u05DC\u05D7\u05E5 \u05E2\u05DC 9 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05E0\u05EA\u05E7", mainTask: "\u05DE\u05E9\u05D9\u05DE\u05D4", settingsConfirmationNoInputApology: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E9\u05DE\u05E2\u05EA\u05D9 \u05D0\u05D5\u05EA\u05DA. \u05D0\u05DE\u05D5\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DB\u05DF \u05D0\u05D5 \u05DC\u05D0.", settingsConfirmationNoInputApologyDigitalBot: '\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 \u05EA\u05D2\u05D5\u05D1\u05D4 \u05DE\u05DE\u05DA. \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0".', settingsConfirmationNoMatchApology: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05DE\u05D5\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DB\u05DF \u05D0\u05D5 \u05DC\u05D0.", settingsConfirmationNoMatchApologyDigitalBot: '\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0".', settingsNoInputApology: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E9\u05DE\u05E2\u05EA\u05D9 \u05D0\u05D5\u05EA\u05DA.", settingsNoInputApologyDigitalBot: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 \u05DE\u05DE\u05DA \u05E0\u05EA\u05D5\u05DF.", settingsEndOfSessionMessageDigitalBot: "\u05DC\u05D0 \u05E9\u05DE\u05E2\u05EA\u05D9 \u05DE\u05DE\u05DA \u05DE\u05D6\u05D4 \u05D6\u05DE\u05DF, \u05DC\u05DB\u05DF \u05D0\u05E0\u05D9 \u05E1\u05D5\u05D2\u05E8 \u05D0\u05EA \u05D4\u05E6'\u05D8 \u05D4\u05D6\u05D4. \u05D7\u05D6\u05D5\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05DD \u05D0\u05EA\u05D4 \u05D6\u05E7\u05D5\u05E7 \u05DC\u05E2\u05D6\u05E8\u05EA\u05D9 \u05E9\u05D5\u05D1. \u05EA\u05D5\u05D3\u05D4 \u05E8\u05D1\u05D4.", settingsNoMatchApology: "\u05E1\u05DC\u05D9\u05D7\u05D4.", settingsNoToConfirmationApology: "\u05D8\u05E2\u05D5\u05EA \u05E9\u05DC\u05D9.", periodicStateName: "\u05DE\u05D3\u05D9\u05E0\u05D4 \u05D7\u05D5\u05D6\u05E8\u05EA" }; - }, 92498: (e2, t2, i2) => { + t2.default = s; + }, 59630(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), o = n2.__importDefault(i2(94225)), r = i2(4861), a = n2.__importDefault(i2(40559)); + class s extends a.default { constructor(e3) { - super(e3); + super(e3, r.scheduleManager); } get _globalTypeName() { - return "messageAddressInfoCollection"; + return "scheduleCollection"; } get displayTypeName() { - return "ArchValueMessageAddressInfoCollection"; + return "ArchValueScheduleCollection"; } - get isArchValueMessageAddressInfoCollection() { + get _searchByValueSearchProperty() { + return "name"; + } + addLiteralByScheduleIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleId", "addLiteralByScheduleIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "schedule").then(() => o.default.executeCallback(this, "addLiteralByScheduleIdAsync", t3, this)); + }); + } + addLiteralByScheduleNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleName", "addLiteralByScheduleNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "schedule").then(() => o.default.executeCallback(this, "addLiteralByScheduleNameAsync", t3, this)); + }); + } + get isArchValueScheduleCollection() { return true; } } - t2.default = r2; - }, 92512: (e2, t2, i2) => { + t2.default = s; + }, 903(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 { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(32282), a = n2.__importDefault(i2(45894)); + class s extends a.default { constructor(e3) { - super(e3), this._externalId = this.coreFactory.createArchWrapper(e3.externalId), this._externalResult = this.coreFactory.createArchWrapper(e3.externalResult); + super(e3, r.scheduleGroupManager); } - get _actionTypeId() { - return r2.promoteExternalContactActionType; + get _globalTypeName() { + return "scheduleGroup"; } get displayTypeName() { - return this._scriptingName; - } - get promoteExternalContactOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + return "ArchValueScheduleGroup"; } - get isArchActionPromoteExternalContact() { + get isArchValueScheduleGroup() { return true; } - get externalId() { - return this._externalId; + setLiteralByScheduleGroupIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupId", "setLiteralByScheduleGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleGroupIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByScheduleGroupIdAsync", t3, this)); + }); } - get externalResult() { - return this._externalResult; + setLiteralByScheduleGroupNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupName", "setLiteralByScheduleGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByScheduleGroupNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByScheduleGroupNameAsync", t3, this)); + }); } } - t2.default = a; - }, 92533: (e2, t2, i2) => { + t2.default = s; + }, 64847(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67432)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(32282), a = n2.__importDefault(i2(40559)); + class s extends a.default { constructor(e3) { - super(e3); - } - get isFileViewModel() { - return true; - } - } - t2.default = r2; - }, 92566: (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(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(p.listOrderChanged, this.sessionVariables, () => this.validateIfNoSessionVariables()); - } - get botRunnableProperty() { - return this.bot; - } - get environmentId() { - return this.model.environmentId; - } - set environmentId(e3) { - this.model.environmentId = e3; - } - get environmentName() { - return this.model.environmentName; + super(e3, r.scheduleGroupManager); } - getEnvironmentName() { - return this.environmentId === h.default.dialogflow.draftEnvironmentId ? h.default.dialogflow.draftEnvironmentName : this.environmentName || this.environmentId; + get _globalTypeName() { + return "scheduleGroupCollection"; } - get integrationName() { - return this.model.integrationName; + get displayTypeName() { + return "ArchValueScheduleGroupCollection"; } - set integrationName(e3) { - this.model.integrationName = e3; + get _searchByValueSearchProperty() { + return "name"; } - get integrationId() { - return this.model.integrationId; + addLiteralByScheduleGroupIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupId", "addLiteralByScheduleGroupIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleGroupIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "scheduleGroup").then(() => o.default.executeCallback(this, "addLiteralByScheduleGroupIdAsync", t3, this)); + }); } - set integrationId(e3) { - this.model.integrationId = e3; + addLiteralByScheduleGroupNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("scheduleGroupName", "addLiteralByScheduleGroupNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByScheduleGroupNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "scheduleGroup").then(() => o.default.executeCallback(this, "addLiteralByScheduleGroupNameAsync", t3, this)); + }); } - get isBaseDialogflowAction() { + get isArchValueScheduleGroupCollection() { return true; } - static get managedProperties() { - 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); - let n3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); - n3 || (n3 = this.botRunnableManager.getItemFromFlowMetadata(this, this.botRunnableProperty.idValue)), n3.integrationName && (e3.integration = {}, e3.integration.name = n3.integrationName); - const r3 = (null == n3 ? void 0 : n3.projectId) || "unknownProjectId"; - e3.dialogflow = {}, e3.dialogflow[r3] = {}; - 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 ? 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; + } + t2.default = s; + }, 82926(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = n2.__importDefault(i2(8471)); + let a = false; + class s extends r.default { + constructor(e3) { + super(), this._notWritableOverride = false, this._writableOverride = false, this._checkItem(this._infoParmCtor("archBaseValue"), !e3 || !e3.isArchBaseValue, "INTERNAL ERROR - invalid archBaseValue passed to ArchValueSettings"), this._archBaseValue = e3; } - get supportsEnvironments() { - return true; + get _coreExpressionOptions() { + return this._coreExpressionViewModel.options; } - get supportsInputsOutputs() { - return true; + get _coreExpressionViewModel() { + return this._archBaseValue._getCoreViewModel(); } - 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 ? S.dialogflow.sessionInputsWarning : ""; - } - return ""; + _setNotWritableOverride(e3) { + return this._notWritableOverride = e3, this._archBaseValue; } - setEnvironment(e3) { - this.environmentId = null == e3 ? void 0 : e3.id; + _setWritableOverride(e3) { + return this._writableOverride = e3, this._archBaseValue; } - validate(e3) { - if (super.validate(e3), !o.default.isNullOrUndefined(this.environmentId)) { - const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); - t3 && !o.default.findWhere(t3.environments, { id: this.environmentId }) && e3.addError(this, S.dialogflow.environmentNotFound); - } - o.default.isEmpty(this.sessionInputsWarning) || e3.addWarning(this, this.sessionInputsWarning); + get displayTypeName() { + return "ArchValueSettings"; } - propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.eventName && m.validateAction(this, false, true); + get logStr() { + if (!this._archBaseValue) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrPart(e3, "IsOutput", this.isOutput, true, false), this._appendLogStrPart(e3, "CanBeExpression", this.canBeExpression, true, false), this._appendLogStrPart(e3, "CanBeLiteral", this.canBeLiteral, true, false), this._appendLogStrPart(e3, "CanBeNoValue", this.canBeNoValue, true, false), this._appendLogStrPart(e3, "CanBeVariable", this.canBeVariable, true, false), this._appendLogStrPart(e3, "isReadable", this.isReadable, true, false), this._appendLogStrPart(e3, "isWritable", this.isWritable, true, false), this._createLogStrFromParts(e3); } - validateIfNoSessionVariables() { - this.sessionVariables && 0 === this.sessionVariables.length && m.validateAction(this, true, true); + get canBeExpression() { + const e3 = this._coreExpressionOptions; + return !!o.default.isFunction(null == e3 ? void 0 : e3.getAllowModeExpression) && e3.getAllowModeExpression(this._coreExpressionViewModel); } - get yamlNoBotRunnablePropName() { - return "noDialogflowBot"; + get canBeLiteral() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.allowModeLiteral; } - } - A.className = "BaseDialogflowActionViewModel", t2.default = A; - }, 92572: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - var t3 = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"), i3 = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"), n2 = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i], r2 = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; - e3.defineLocale("nl", { months: "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"), monthsShort: function(e4, n3) { - return e4 ? /-MMM-/.test(n3) ? i3[e4.month()] : t3[e4.month()] : t3; - }, monthsRegex: r2, monthsShortRegex: r2, monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"), weekdaysShort: "zo._ma._di._wo._do._vr._za.".split("_"), weekdaysMin: "zo_ma_di_wo_do_vr_za".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD-MM-YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, calendar: { sameDay: "[vandaag om] LT", nextDay: "[morgen om] LT", nextWeek: "dddd [om] LT", lastDay: "[gisteren om] LT", lastWeek: "[afgelopen] dddd [om] LT", sameElse: "L" }, relativeTime: { future: "over %s", past: "%s geleden", s: "een paar seconden", ss: "%d seconden", m: "\xE9\xE9n minuut", mm: "%d minuten", h: "\xE9\xE9n uur", hh: "%d uur", d: "\xE9\xE9n dag", dd: "%d dagen", w: "\xE9\xE9n week", ww: "%d weken", M: "\xE9\xE9n maand", MM: "%d maanden", y: "\xE9\xE9n jaar", yy: "%d jaar" }, dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, ordinal: function(e4) { - return e4 + (1 === e4 || 8 === e4 || e4 >= 20 ? "ste" : "de"); - }, week: { dow: 1, doy: 4 } }); - })(i2(95093)); - }, 92595: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(11210)); - class a extends o.default { - constructor(e3) { - super(e3); + get canBeVariable() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.allowModeVariable; } - get _actionTypeId() { - return r2.endStateActionType; + get canBeNoValue() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.allowModeNoValue; } - get displayTypeName() { - return this._scriptingName; + get canBeNoValueNoFallback() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.allowNoValueModeWithNoFallback; } - get isArchActionEndState() { - return true; + get canUseSecureVariables() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.allowSecure; } - } - t2.default = a; - }, 92646: (e2, t2, i2) => { - const n2 = i2(71844); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "CategoryList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - (e3 = this.reviveArray(e3, n2)) && (this._entities = e3); - } } }), e2.exports = r2; - }, 92661: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(19047)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._findName = this.coreFactory.createArchWrapper(e3.findName); + get label() { + return this._coreExpressionViewModel ? this._coreExpressionViewModel.label : ""; } - get displayTypeName() { - return "ArchBaseActionFindSystemObjectByName"; + get hasFlowLevelDefault() { + const e3 = this._coreExpressionViewModel; + if (e3 && o.default.isArray(e3.supportedFlowTypes) && e3.parentFlow && !e3.supportedFlowTypes.includes(e3.parentFlow.type)) return false; + const t3 = this._coreExpressionOptions; + return !!t3 && t3.allowFlowLevelDefault; } - get isArchBaseActionFindSystemObjectByName() { + get isArchValueSettings() { return true; } - get findName() { - return this._findName; + get isInput() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.isInput; } - } - t2.default = r2; - }, 92669: (e2) => { - e2.exports = [{ id: "call" }, { id: "callback" }, { id: "chat" }, { id: "cobrowse" }, { id: "email" }, { id: "screenShare" }, { id: "socialExpression" }, { id: "unknown" }, { id: "videoComm" }]; - }, 92737: (e2, t2, i2) => { - const n2 = i2(15338), r2 = i2(34622), o = i2(67513), a = i2(36019).default; - function s() { - } - const l = new s(); - s.prototype.getScript = a.request("GET", "{public-api.apps}/api/v2/scripts/published/{id}", n2), s.prototype.getScriptDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews/?id={id}", r2), s.prototype.getScripts = a.request("GET", "{public-api.apps}/api/v2/scripts/published", r2), s.prototype.getScriptsDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews", r2), s.prototype.getScriptsForFeature = a.request("GET", "{public-api.apps}/api/v2/scripts/published?feature={feature}", r2), s.prototype.getScriptsForFeatureDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews?feature={feature}", r2), s.prototype.getScriptVariables = a.request("GET", "{public-api.apps}/api/v2/scripts/published/{id}/variables", o), s.prototype.getScriptVariablesDivisionView = a.request("GET", "{public-api.apps}/api/v2/scripts/published/divisionviews/{id}/variables", o), l.getScripts.addOptions({ ignoreBadResponse: true }), l.getScript.addOptions({ ignoreBadResponse: true }), l.getScriptsDivisionView.addOptions({ ignoreBadResponse: true }), l.getScriptDivisionView.addOptions({ ignoreBadResponse: true }), e2.exports = l; - }, 92794: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.mergeAll = t2.merge = t2.max = t2.materialize = t2.mapTo = t2.map = t2.last = t2.isEmpty = t2.ignoreElements = t2.groupBy = t2.first = t2.findIndex = t2.find = t2.finalize = t2.filter = t2.expand = t2.exhaustMap = t2.exhaustAll = t2.exhaust = t2.every = t2.endWith = t2.elementAt = t2.distinctUntilKeyChanged = t2.distinctUntilChanged = t2.distinct = t2.dematerialize = t2.delayWhen = t2.delay = t2.defaultIfEmpty = t2.debounceTime = t2.debounce = t2.count = t2.connect = t2.concatWith = t2.concatMapTo = t2.concatMap = t2.concatAll = t2.concat = t2.combineLatestWith = t2.combineLatest = t2.combineLatestAll = t2.combineAll = t2.catchError = t2.bufferWhen = t2.bufferToggle = t2.bufferTime = t2.bufferCount = t2.buffer = t2.auditTime = t2.audit = void 0, t2.timeInterval = t2.throwIfEmpty = t2.throttleTime = t2.throttle = t2.tap = t2.takeWhile = t2.takeUntil = t2.takeLast = t2.take = t2.switchScan = t2.switchMapTo = t2.switchMap = t2.switchAll = t2.subscribeOn = t2.startWith = t2.skipWhile = t2.skipUntil = t2.skipLast = t2.skip = t2.single = t2.shareReplay = t2.share = t2.sequenceEqual = t2.scan = t2.sampleTime = t2.sample = t2.refCount = t2.retryWhen = t2.retry = t2.repeatWhen = t2.repeat = t2.reduce = t2.raceWith = t2.race = t2.publishReplay = t2.publishLast = t2.publishBehavior = t2.publish = t2.pluck = t2.partition = t2.pairwise = t2.onErrorResumeNext = t2.observeOn = t2.multicast = t2.min = t2.mergeWith = t2.mergeScan = t2.mergeMapTo = t2.mergeMap = t2.flatMap = void 0, t2.zipWith = t2.zipAll = t2.zip = t2.withLatestFrom = t2.windowWhen = t2.windowToggle = t2.windowTime = t2.windowCount = t2.window = t2.toArray = t2.timestamp = t2.timeoutWith = t2.timeout = void 0; - var n2 = i2(88877); - Object.defineProperty(t2, "audit", { enumerable: true, get: function() { - return n2.audit; - } }); - var r2 = i2(51608); - Object.defineProperty(t2, "auditTime", { enumerable: true, get: function() { - return r2.auditTime; - } }); - var o = i2(10706); - Object.defineProperty(t2, "buffer", { enumerable: true, get: function() { - return o.buffer; - } }); - var a = i2(9287); - Object.defineProperty(t2, "bufferCount", { enumerable: true, get: function() { - return a.bufferCount; - } }); - var s = i2(41719); - Object.defineProperty(t2, "bufferTime", { enumerable: true, get: function() { - return s.bufferTime; - } }); - var l = i2(61778); - Object.defineProperty(t2, "bufferToggle", { enumerable: true, get: function() { - return l.bufferToggle; - } }); - var u = i2(56606); - Object.defineProperty(t2, "bufferWhen", { enumerable: true, get: function() { - return u.bufferWhen; - } }); - var c = i2(72719); - Object.defineProperty(t2, "catchError", { enumerable: true, get: function() { - return c.catchError; - } }); - var d = i2(89244); - Object.defineProperty(t2, "combineAll", { enumerable: true, get: function() { - return d.combineAll; - } }); - var p = i2(67933); - Object.defineProperty(t2, "combineLatestAll", { enumerable: true, get: function() { - return p.combineLatestAll; - } }); - var _ = i2(64948); - Object.defineProperty(t2, "combineLatest", { enumerable: true, get: function() { - return _.combineLatest; - } }); - var h = i2(82044); - Object.defineProperty(t2, "combineLatestWith", { enumerable: true, get: function() { - return h.combineLatestWith; - } }); - var m = i2(96328); - Object.defineProperty(t2, "concat", { enumerable: true, get: function() { - return m.concat; - } }); - var g = i2(70201); - Object.defineProperty(t2, "concatAll", { enumerable: true, get: function() { - return g.concatAll; - } }); - var f = i2(29512); - Object.defineProperty(t2, "concatMap", { enumerable: true, get: function() { - return f.concatMap; - } }); - var T = i2(19913); - Object.defineProperty(t2, "concatMapTo", { enumerable: true, get: function() { - return T.concatMapTo; - } }); - var y = i2(98032); - Object.defineProperty(t2, "concatWith", { enumerable: true, get: function() { - return y.concatWith; - } }); - var S = i2(17812); - Object.defineProperty(t2, "connect", { enumerable: true, get: function() { - return S.connect; - } }); - var A = i2(88589); - Object.defineProperty(t2, "count", { enumerable: true, get: function() { - return A.count; - } }); - var N = i2(3143); - Object.defineProperty(t2, "debounce", { enumerable: true, get: function() { - return N.debounce; - } }); - var v = i2(21762); - Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() { - return v.debounceTime; - } }); - var O = i2(58799); - Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() { - return O.defaultIfEmpty; - } }); - var I = i2(5797); - Object.defineProperty(t2, "delay", { enumerable: true, get: function() { - return I.delay; - } }); - var C = i2(72885); - Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() { - return C.delayWhen; - } }); - var b = i2(19818); - Object.defineProperty(t2, "dematerialize", { enumerable: true, get: function() { - return b.dematerialize; - } }); - var E = i2(77876); - Object.defineProperty(t2, "distinct", { enumerable: true, get: function() { - return E.distinct; - } }); - var w = i2(22044); - Object.defineProperty(t2, "distinctUntilChanged", { enumerable: true, get: function() { - return w.distinctUntilChanged; - } }); - var R = i2(76035); - Object.defineProperty(t2, "distinctUntilKeyChanged", { enumerable: true, get: function() { - return R.distinctUntilKeyChanged; - } }); - var D = i2(61279); - Object.defineProperty(t2, "elementAt", { enumerable: true, get: function() { - return D.elementAt; - } }); - var P = i2(66791); - Object.defineProperty(t2, "endWith", { enumerable: true, get: function() { - return P.endWith; - } }); - var M = i2(21361); - Object.defineProperty(t2, "every", { enumerable: true, get: function() { - return M.every; - } }); - var F = i2(11464); - Object.defineProperty(t2, "exhaust", { enumerable: true, get: function() { - return F.exhaust; - } }); - var L = i2(17977); - Object.defineProperty(t2, "exhaustAll", { enumerable: true, get: function() { - return L.exhaustAll; - } }); - var x = i2(86632); - Object.defineProperty(t2, "exhaustMap", { enumerable: true, get: function() { - return x.exhaustMap; - } }); - var k = i2(75544); - Object.defineProperty(t2, "expand", { enumerable: true, get: function() { - return k.expand; - } }); - var V = i2(85934); - Object.defineProperty(t2, "filter", { enumerable: true, get: function() { - return V.filter; - } }); - var U = i2(17802); - Object.defineProperty(t2, "finalize", { enumerable: true, get: function() { - return U.finalize; - } }); - var B = i2(98183); - Object.defineProperty(t2, "find", { enumerable: true, get: function() { - return B.find; - } }); - var G = i2(29035); - Object.defineProperty(t2, "findIndex", { enumerable: true, get: function() { - return G.findIndex; - } }); - var j = i2(19980); - Object.defineProperty(t2, "first", { enumerable: true, get: function() { - return j.first; - } }); - var W = i2(5128); - Object.defineProperty(t2, "groupBy", { enumerable: true, get: function() { - return W.groupBy; - } }); - var q = i2(2959); - Object.defineProperty(t2, "ignoreElements", { enumerable: true, get: function() { - return q.ignoreElements; - } }); - var Y = i2(69915); - Object.defineProperty(t2, "isEmpty", { enumerable: true, get: function() { - return Y.isEmpty; - } }); - var H = i2(32568); - Object.defineProperty(t2, "last", { enumerable: true, get: function() { - return H.last; - } }); - var J = i2(26872); - Object.defineProperty(t2, "map", { enumerable: true, get: function() { - return J.map; - } }); - var $ = i2(13337); - Object.defineProperty(t2, "mapTo", { enumerable: true, get: function() { - return $.mapTo; - } }); - var z = i2(75019); - Object.defineProperty(t2, "materialize", { enumerable: true, get: function() { - return z.materialize; - } }); - var K = i2(50096); - Object.defineProperty(t2, "max", { enumerable: true, get: function() { - return K.max; - } }); - var Q = i2(9330); - Object.defineProperty(t2, "merge", { enumerable: true, get: function() { - return Q.merge; - } }); - var X = i2(68087); - Object.defineProperty(t2, "mergeAll", { enumerable: true, get: function() { - return X.mergeAll; - } }); - var Z = i2(74613); - Object.defineProperty(t2, "flatMap", { enumerable: true, get: function() { - return Z.flatMap; - } }); - var ee = i2(67478); - Object.defineProperty(t2, "mergeMap", { enumerable: true, get: function() { - return ee.mergeMap; - } }); - var te = i2(76075); - Object.defineProperty(t2, "mergeMapTo", { enumerable: true, get: function() { - return te.mergeMapTo; - } }); - var ie = i2(16707); - Object.defineProperty(t2, "mergeScan", { enumerable: true, get: function() { - return ie.mergeScan; - } }); - var ne = i2(79694); - Object.defineProperty(t2, "mergeWith", { enumerable: true, get: function() { - return ne.mergeWith; - } }); - var re = i2(80142); - Object.defineProperty(t2, "min", { enumerable: true, get: function() { - return re.min; - } }); - var oe = i2(18464); - Object.defineProperty(t2, "multicast", { enumerable: true, get: function() { - return oe.multicast; - } }); - var ae = i2(32071); - Object.defineProperty(t2, "observeOn", { enumerable: true, get: function() { - return ae.observeOn; - } }); - var se = i2(95513); - Object.defineProperty(t2, "onErrorResumeNext", { enumerable: true, get: function() { - return se.onErrorResumeNext; - } }); - var le = i2(26744); - Object.defineProperty(t2, "pairwise", { enumerable: true, get: function() { - return le.pairwise; - } }); - var ue = i2(99516); - Object.defineProperty(t2, "partition", { enumerable: true, get: function() { - return ue.partition; - } }); - var ce = i2(66355); - Object.defineProperty(t2, "pluck", { enumerable: true, get: function() { - return ce.pluck; - } }); - var de = i2(53197); - Object.defineProperty(t2, "publish", { enumerable: true, get: function() { - return de.publish; - } }); - var pe = i2(82955); - Object.defineProperty(t2, "publishBehavior", { enumerable: true, get: function() { - return pe.publishBehavior; - } }); - var _e = i2(26569); - Object.defineProperty(t2, "publishLast", { enumerable: true, get: function() { - return _e.publishLast; - } }); - var he = i2(68710); - Object.defineProperty(t2, "publishReplay", { enumerable: true, get: function() { - return he.publishReplay; - } }); - var me = i2(86081); - Object.defineProperty(t2, "race", { enumerable: true, get: function() { - return me.race; - } }); - var ge = i2(6677); - Object.defineProperty(t2, "raceWith", { enumerable: true, get: function() { - return ge.raceWith; - } }); - var fe = i2(92070); - Object.defineProperty(t2, "reduce", { enumerable: true, get: function() { - return fe.reduce; - } }); - var Te = i2(56131); - Object.defineProperty(t2, "repeat", { enumerable: true, get: function() { - return Te.repeat; - } }); - var ye = i2(82139); - Object.defineProperty(t2, "repeatWhen", { enumerable: true, get: function() { - return ye.repeatWhen; - } }); - var Se = i2(3352); - Object.defineProperty(t2, "retry", { enumerable: true, get: function() { - return Se.retry; - } }); - var Ae = i2(73956); - Object.defineProperty(t2, "retryWhen", { enumerable: true, get: function() { - return Ae.retryWhen; - } }); - var Ne = i2(79224); - Object.defineProperty(t2, "refCount", { enumerable: true, get: function() { - return Ne.refCount; - } }); - var ve = i2(43434); - Object.defineProperty(t2, "sample", { enumerable: true, get: function() { - return ve.sample; - } }); - var Oe = i2(44143); - Object.defineProperty(t2, "sampleTime", { enumerable: true, get: function() { - return Oe.sampleTime; - } }); - var Ie = i2(35565); - Object.defineProperty(t2, "scan", { enumerable: true, get: function() { - return Ie.scan; - } }); - var Ce = i2(73929); - Object.defineProperty(t2, "sequenceEqual", { enumerable: true, get: function() { - return Ce.sequenceEqual; - } }); - var be = i2(93405); - Object.defineProperty(t2, "share", { enumerable: true, get: function() { - return be.share; - } }); - var Ee = i2(17782); - Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() { - return Ee.shareReplay; - } }); - var we = i2(55440); - Object.defineProperty(t2, "single", { enumerable: true, get: function() { - return we.single; - } }); - var Re = i2(23079); - Object.defineProperty(t2, "skip", { enumerable: true, get: function() { - return Re.skip; - } }); - var De = i2(92359); - Object.defineProperty(t2, "skipLast", { enumerable: true, get: function() { - return De.skipLast; - } }); - var Pe = i2(97783); - Object.defineProperty(t2, "skipUntil", { enumerable: true, get: function() { - return Pe.skipUntil; - } }); - var Me = i2(65774); - Object.defineProperty(t2, "skipWhile", { enumerable: true, get: function() { - return Me.skipWhile; - } }); - var Fe = i2(99054); - Object.defineProperty(t2, "startWith", { enumerable: true, get: function() { - return Fe.startWith; - } }); - var Le = i2(5455); - Object.defineProperty(t2, "subscribeOn", { enumerable: true, get: function() { - return Le.subscribeOn; - } }); - var xe = i2(16201); - Object.defineProperty(t2, "switchAll", { enumerable: true, get: function() { - return xe.switchAll; - } }); - var ke = i2(90680); - Object.defineProperty(t2, "switchMap", { enumerable: true, get: function() { - return ke.switchMap; - } }); - var Ve = i2(761); - Object.defineProperty(t2, "switchMapTo", { enumerable: true, get: function() { - return Ve.switchMapTo; - } }); - var Ue = i2(48461); - Object.defineProperty(t2, "switchScan", { enumerable: true, get: function() { - return Ue.switchScan; - } }); - var Be = i2(54383); - Object.defineProperty(t2, "take", { enumerable: true, get: function() { - return Be.take; - } }); - var Ge = i2(65279); - Object.defineProperty(t2, "takeLast", { enumerable: true, get: function() { - return Ge.takeLast; - } }); - var je = i2(66911); - Object.defineProperty(t2, "takeUntil", { enumerable: true, get: function() { - return je.takeUntil; - } }); - var We = i2(60598); - Object.defineProperty(t2, "takeWhile", { enumerable: true, get: function() { - return We.takeWhile; - } }); - var qe = i2(15019); - Object.defineProperty(t2, "tap", { enumerable: true, get: function() { - return qe.tap; - } }); - var Ye = i2(44880); - Object.defineProperty(t2, "throttle", { enumerable: true, get: function() { - return Ye.throttle; - } }); - var He = i2(7245); - Object.defineProperty(t2, "throttleTime", { enumerable: true, get: function() { - return He.throttleTime; - } }); - var Je = i2(30632); - Object.defineProperty(t2, "throwIfEmpty", { enumerable: true, get: function() { - return Je.throwIfEmpty; - } }); - var $e = i2(32508); - Object.defineProperty(t2, "timeInterval", { enumerable: true, get: function() { - return $e.timeInterval; - } }); - var ze = i2(81713); - Object.defineProperty(t2, "timeout", { enumerable: true, get: function() { - return ze.timeout; - } }); - var Ke = i2(50597); - Object.defineProperty(t2, "timeoutWith", { enumerable: true, get: function() { - return Ke.timeoutWith; - } }); - var Qe = i2(53866); - Object.defineProperty(t2, "timestamp", { enumerable: true, get: function() { - return Qe.timestamp; - } }); - var Xe = i2(73484); - Object.defineProperty(t2, "toArray", { enumerable: true, get: function() { - return Xe.toArray; - } }); - var Ze = i2(78072); - Object.defineProperty(t2, "window", { enumerable: true, get: function() { - return Ze.window; - } }); - var et = i2(62893); - Object.defineProperty(t2, "windowCount", { enumerable: true, get: function() { - return et.windowCount; - } }); - var tt = i2(90037); - Object.defineProperty(t2, "windowTime", { enumerable: true, get: function() { - return tt.windowTime; - } }); - var it = i2(28996); - Object.defineProperty(t2, "windowToggle", { enumerable: true, get: function() { - return it.windowToggle; - } }); - var nt = i2(65156); - Object.defineProperty(t2, "windowWhen", { enumerable: true, get: function() { - return nt.windowWhen; - } }); - var rt = i2(66975); - Object.defineProperty(t2, "withLatestFrom", { enumerable: true, get: function() { - return rt.withLatestFrom; - } }); - var ot = i2(26749); - Object.defineProperty(t2, "zip", { enumerable: true, get: function() { - return ot.zip; - } }); - var at = i2(5362); - Object.defineProperty(t2, "zipAll", { enumerable: true, get: function() { - return at.zipAll; - } }); - var st = i2(36977); - Object.defineProperty(t2, "zipWith", { enumerable: true, get: function() { - return st.zipWith; - } }); - }, 92825: (e2, t2, i2) => { - const n2 = i2(13240), r2 = i2(7401), { setSkillsActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _acdSkills: { writable: true }, _languageSkill: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.acdSkills.pasteResolveOldToNewValues(e3), this.languageSkill.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.acdSkills.pasteReIdOrRename(e3), this.languageSkill.pasteReIdOrRename(e3); - } }, acdSkills: { enumerable: true, get: function() { - return this._acdSkills; - }, set: function(e3) { - this._acdSkills = this.reviveItem(e3, r2); - } }, languageSkill: { enumerable: true, get: function() { - return this._languageSkill; - }, set: function(e3) { - this._languageSkill = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 92859: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92140)), r2 = i2(55299); - class o extends r2.BaseClass { - get className() { - return "TraverseSettings"; + get isOutput() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.isOutput; } - constructor(e3) { - super(), this.isCanceled = false, e3 && n2.default.extend(this, e3); + get isReadable() { + return !this._coreExpressionViewModel.outOfService; } - createCallbackParam(e3) { - const t3 = { cancelTraverse: false, data: this.data }; - return e3 && (t3.traverseChildren = true), t3; + get isWritable() { + return this._writableOverride || !this._coreExpressionViewModel.outOfService && !this._notWritableOverride; } - getActionCallback() { - return this.actionCallback ? this.actionCallback : this.defaultCallback; + get mustBeExpression() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.expressionOnly; } - getMenuCallback() { - return this.menuCallback ? this.menuCallback : this.defaultCallback; + get mustBeLiteral() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.literalOnly; } - getMenuChoiceCallback() { - return this.menuChoiceCallback ? this.menuChoiceCallback : this.defaultCallback; + get mustBeVariable() { + const e3 = this._coreExpressionOptions; + return !!e3 && e3.variableOnly; } - getTaskCallback() { - return this.taskCallback ? this.taskCallback : this.defaultCallback; + get allowInvalidExpressionText() { + return a; } - processCallbackParamAndContinue(e3, t3) { - return !(e3 && (e3.cancelTraverse && (this.isCanceled = true), t3 && !e3.traverseChildren || this.isCanceled)); + set allowInvalidExpressionText(e3) { + this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "allowInvalidExpressionText"), e3, false), a = e3, this.logNote(`the allowInvalidExpressionText property is now set to ${a}`); } } - 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", cameFromEmptyString: "cameFromEmptyString", isJsonViewMode: "isJsonViewMode", litLanguage: "litLanguage", mode: "mode", nestedJson: "nestedJson" }; - }, 92944: (e2) => { - e2.exports = { tasks: "tasks", states: "states" }; - }, 92993: (e2, t2, i2) => { + t2.default = s; + }, 64576(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).__importDefault(i2(83663)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "externalFacebookId"; - } - get scopedId() { + return "shippingOption"; } get displayTypeName() { - return "ArchValueExternalFacebookId"; + return "ArchValueShippingOption"; } - get isArchValueExternalFacebookId() { + get isArchValueShippingOption() { return true; } - } - t2.default = r2; - }, 93078: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(8471)); - class r2 extends n2.default { - static create(e3, t3, i3) { - return new r2(e3, t3, i3); - } - constructor(e3, t3, i3) { - super(), this._checkItemIsArchBaseObject(this._infoParmCtor("matchArchBaseCoreObject"), e3), this._checkItemIsArchTraverseContext(this._infoParmCtor("archTraverseContext"), t3), this._checkItemIsArchTraverseSettings(this._infoParmCtor("archTraverseSettings"), i3), this._matchArchBaseCoreObject = e3, this._traverseContext = t3, this._traverseSettings = i3; - } - get matchObject() { - return this._matchArchBaseCoreObject; - } - get displayTypeName() { - return "ArchTraverseInfo"; + get label() { + return this._getAssignableProperty("label"); } - get isArchCallbackTraverseInfo() { - return true; + get identifier() { + return this._getAssignableProperty("identifier"); } - get logStr() { - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._createLogStrFromParts(e3); + get shippingDetails() { + return this._getAssignableProperty("shippingDetails"); } - get context() { - return this._traverseContext; + get price() { + return this._getAssignableProperty("price"); } - get settings() { - return this._traverseSettings; + setLiteralShippingOption(e3, t3, i3, n3, o2) { + this.label.setLiteralString(e3), this.identifier.setLiteralString(t3), this.price.setLiteralAmountAndCode(i3, o2), this.shippingDetails.setLiteralString(n3); } } - t2.default = r2; - }, 93087: (e2, t2, i2) => { + t2.default = o; + }, 58308(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), 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" }]; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get _globalTypeName() { + return "shippingOptionCollection"; } - static get voicemailInputInfoMessage() { - return o.isFeatureAvailable(a.default.voicemailRecordingMaxTime) ? d.processVoicemailInput.processVoicemailInputInfoMessageWithMaxRecordingTime : d.processVoicemailInput.processVoicemailInputInfoMessage; + get displayTypeName() { + return "ArchValueShippingOptionCollection"; } - static get branchInfo() { - return r2.default.faxProcessedVoicemailNoInputFailure; + get isArchValueShippingOptionCollection() { + return true; } } - 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) => { + t2.default = o; + }, 57498(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DigitalAudioType = void 0; - 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get className() { - return "DigitalAudioType"; + get _globalTypeName() { + return "shortMessage"; } - getPlutusMimeTypes() { - return u.AUDIO_MIME_TYPES_SET; + get id() { } - getPlutusSupportedFileExtensions() { - return c.AUDIO_SUPPORTED_EXTENSIONS; + get type() { } - getPlutusMediaPlaceholderText() { - return g.digitalAudio.digitalAudioPlaceholder; + get attachments() { } - getPlutusSupportedFileTypesText() { - return (0, r2.sprintf)(g.file.supportedFileTypes, this.getPlutusSupportedFileExtensions()); + get body() { } - canConvertLitToExpression(e3) { - return d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("ToDigitalAudio", e3, [h.globalTypes.responseAsset, h.globalTypes.digitalAudio]) && d.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("FindResponseAsset", e3, [h.globalTypes.string]); + get bodyType() { } - convertLitToExpression(e3, t3) { - return t3 && this.canConvertLitToExpression(e3) ? `ToDigitalAudio(FindResponseAsset(${p.default.getQuotedExpressionStringLiteral(t3)}), NOT_SET)` : ""; + get senderAddress() { } - _getLiteralValueOfExpression() { - return ""; + get senderAddressInfo() { } - get supportsLiteralEditor() { - return (0, s.isFeatureAvailable)(l.default.cannedResponseAttachmentsPostGaFeature); + get targetAddresses() { } - get listManager() { - return o.digitalAudioManager; + get targetAddressesInfo() { } - createExpressionOptionClass() { - return new a.ExpressionTypeDigitalAudioOptions(); + get dateTimeUtc() { } - } - t2.DigitalAudioType = f, f.typeIdentifier = _.expressionTypeNames.digitalAudio; - }, 93161: (e2, t2, i2) => { - const n2 = i2(36370), r2 = i2(65029); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "BriefFlowEntityList"), Object.defineProperties(o.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, r2); - } } }), 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)), c = i2(78513), d = i2(80428), p = n2.__importDefault(i2(4648)), _ = i2(47957); - class h extends a.default { - static get managedProperties() { - 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 }]; + get invitationReferenceId() { } - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + get stickers() { } - static get branchInfo() { - return s.default.successFailure; + get socialVisibility() { + } + get displayTypeName() { + return "ArchValueShortMessage"; + } + get isArchValueShortMessage() { + return true; } } - 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) => { + t2.default = o; + }, 15138(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).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "emailAttachment"; - } - get id() { - } - get contentLength() { - } - get contentType() { - } - get contentUri() { - } - get name() { + return "shortMessageCollection"; } get displayTypeName() { - return "ArchValueEmailAttachment"; + return "ArchValueShortMessageCollection"; } - get isArchValueEmailAttachment() { + get isArchValueShortMessageCollection() { return true; } } - t2.default = r2; - }, 93229: (e2, t2, i2) => { + t2.default = o; + }, 50202(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(74369)); - class r2 extends n2.default { - constructor(e3, t3, i3) { - super(e3, t3, i3); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(79069), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.skillManager); + } + get _globalTypeName() { + return "skill"; } get displayTypeName() { - return "ArchFilterClausePropertyValueEquals"; + return "ArchValueSkill"; } - get isArchFilterClausePropertyValueEquals() { + get isArchValueSkill() { return true; } - _isMatch(e3) { - return !!super._isMatch(e3) && e3[this._propertyName] === this._value; + setLiteralBySkillIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("skillId", "setLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralBySkillIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralBySkillIdAsync", t3, this)); + }); + } + setLiteralBySkillNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("skillName", "setLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralBySkillNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralBySkillNameAsync", t3, this)); + }); } } - t2.default = r2; - }, 93260: (e2, t2, i2) => { + t2.default = s; + }, 89154(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(30163), a = n2.__importDefault(i2(45894)); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(79069), a = n2.__importDefault(i2(40559)); class s extends a.default { constructor(e3) { - super(e3, o.userManager); + super(e3, r.skillManager); } get _globalTypeName() { - return "userQueue"; + return "skillCollection"; } get displayTypeName() { - return "ArchValueUser"; + return "ArchValueSkillCollection"; } get _searchByValueSearchProperty() { - return "username"; - } - get isArchValueUser() { - return true; + return "name"; } - setLiteralByUserIdAsync(e3, t3) { + addLiteralBySkillIdAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("userId", "setLiteralByUserIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUserIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByUserIdAsync", t3, this)); + return this._checkItemIsValidLiteralString(this._infoParm("skillId", "addLiteralBySkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "skill").then(() => o.default.executeCallback(this, "addLiteralBySkillIdAsync", t3, this)); }); } - setLiteralByUserNameAsync(e3, t3) { + addLiteralBySkillNameAsync(e3, t3) { return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("userName", "setLiteralByUserNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUserNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByUserNameAsync", t3, this)); + return this._checkItemIsValidLiteralString(this._infoParm("skillName", "addLiteralBySkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralBySkillNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "skill").then(() => o.default.executeCallback(this, "addLiteralBySkillNameAsync", t3, this)); }); } + get isArchValueSkillCollection() { + return true; + } } t2.default = s; - }, 93275: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.dateTimestampProvider = void 0, t2.dateTimestampProvider = { now: function() { - return (t2.dateTimestampProvider.delegate || Date).now(); - }, delegate: void 0 }; - }, 93348: (e2, t2, i2) => { + }, 18818(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(81467), a = n2.__importDefault(i2(45894)); - class s extends a.default { + const n2 = i2(31635).__importDefault(i2(17405)); + class o extends n2.default { constructor(e3) { - super(e3, o.languageSkillManager); + super(e3); } get _globalTypeName() { - return "languageSkill"; + return "string"; } get displayTypeName() { - return "ArchValueLanguageSkill"; + return "ArchValueString"; } - get isArchValueLanguageSkill() { + get isArchValueString() { return true; } - setLiteralByLanguageSkillIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("languageSkillId", "setLiteralByLanguageSkillIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByLanguageSkillIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByLanguageSkillIdAsync", t3, this)); - }); + setExpressionString(e3) { + null == e3 && (e3 = ""); + const t3 = this._infoParm("stringVal", "setExpressionString"); + this._checkItemIsValidLiteralString(t3, e3), this._setExpression(t3, '"' + this._escapeTextForExpression(e3) + '"'); } - setLiteralByLanguageSkillNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("languageSkillName", "setLiteralByLanguageSkillNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByLanguageSkillNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByLanguageSkillNameAsync", t3, this)); - }); + setLiteralString(e3) { + null == e3 && (e3 = ""); + const t3 = this._infoParm("stringVal", "setLiteralString"); + this._checkItemIsValidLiteralString(t3, e3), this._setLiteral(t3, e3); } } - t2.default = s; - }, 93405: function(e2, t2, i2) { + t2.default = o; + }, 95338(e2, t2, i2) { "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "stringCollection"; + } + get displayTypeName() { + return "ArchValueStringCollection"; + } + get isArchValueStringCollection() { + return true; } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.share = void 0; - var o = i2(19724), a = i2(76808), s = i2(2708), l = i2(65212); - function u(e3, t3) { - for (var i3 = [], a2 = 2; a2 < arguments.length; a2++) i3[a2 - 2] = arguments[a2]; - if (true !== t3) { - if (false !== t3) { - var l2 = new s.SafeSubscriber({ next: function() { - l2.unsubscribe(), e3(); - } }); - return o.innerFrom(t3.apply(void 0, r2([], n2(i3)))).subscribe(l2); - } - } else e3(); } - t2.share = function(e3) { - 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, c = e3.resetOnComplete, d = void 0 === c || c, p = e3.resetOnRefCountZero, _ = void 0 === p || p; - return function(e4) { - 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; - }, f = function() { - var e5 = t4; - g(), null == e5 || e5.unsubscribe(); - }; - return l.operate(function(e5, l2) { - c2++, h || p2 || m(); - var T = a2 = null != a2 ? a2 : i3(); - l2.add(function() { - 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, d), T.complete(); - } }), o.innerFrom(e5).subscribe(t4)); - })(e4); - }; - }; - }, 93421: (e2, t2, i2) => { + t2.default = o; + }, 23906(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "journeyOutcomeScore"; - } - get id() { + return "stringKeyValuePair"; } - get probability() { + get key() { } - get sessionMaxProbability() { + get value() { } get displayTypeName() { - return "ArchValueJourneyOutcomeScore"; + return "ArchValueStringKeyValuePair"; } - get isArchValueJourneyOutcomeScore() { + get isArchValueStringKeyValuePair() { return true; } } - t2.default = r2; - }, 93443: (e2, t2, i2) => { - const n2 = i2(13240), { submitVoicemailSnippetActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), Object.defineProperties(o.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - o._super.pasteResolveOldToNewValues.apply(this, arguments); - } }, pasteReIdOrRename: { value: function(e3) { - o._super.pasteReIdOrRename.apply(this, arguments); - } } }), e2.exports = o; - }, 93476: (e2, t2, i2) => { - function n2() { - this.nextActionId = void 0, this.disabled = void 0, this.isDynamicBranch = void 0, this.unreachable = void 0, this.outOfService = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(57632).extend(n2, "ActionOutput"), Object.defineProperties(n2.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - n2._super.pasteResolveOldToNewValues.apply(this, arguments), this.nextActionId = e3.pasteResolveOldIdToNewId(this.nextActionId); - } }, pasteReIdOrRename: { value: function(e3) { - n2._super.pasteReIdOrRename.apply(this, arguments); - } } }), e2.exports = n2; - }, 93500: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "\u8F93\u5165\u65E0\u6548\u3002", noInputReceived: "\u6211\u6CA1\u6709\u6536\u5230\u4EFB\u4F55\u8F93\u5165\u3002" }, askForBoolean: { noInput: '\u5982\u679C\u60F3\u7EE7\u7EED\uFF0C\u8BF7\u8BF4"\u662F"\uFF1B\u5426\u5219\u8BF7\u8BF4"\u5426"\u3002', noMatch: '\u8BF7\u8BF4 "\u662F" \u6216 "\u5426"\u3002\u662F\u5426\u8981\u7EE7\u7EED\uFF1F', question: "\u662F\u5426\u8981\u7EE7\u7EED\uFF1F", noInputDigitalBot: '\u5982\u679C\u60F3\u7EE7\u7EED\uFF0C\u8BF7\u8F93\u5165"\u662F"\uFF1B\u5426\u5219\u8BF7\u8F93\u5165"\u5426"\u3002', noMatchDigitalBot: '\u8BF7\u8F93\u5165"\u662F"\u6216"\u5426"\u3002\u662F\u5426\u8981\u7EE7\u7EED\uFF1F' }, askForIntent: { noInput: '\u53EA\u9700\u7528\u4E00\u4E2A\u7B80\u77ED\u7684\u53E5\u5B50\u6765\u63CF\u8FF0\u60A8\u7684\u95EE\u9898\u3002\u4F8B\u5982\uFF0C"\u67E5\u770B\u6211\u7684\u8D26\u6237\u4F59\u989D"', noMatch: "\u8BF7\u518D\u6B21\u544A\u8BC9\u6211\u60A8\u60F3\u505A\u4EC0\u4E48\u3002", question: "\u60A8\u5E0C\u671B\u505A\u4EC0\u4E48\uFF1F", noInputDigitalBot: '\u8BF7\u8F93\u5165\u4E00\u4E2A\u7B80\u77ED\u7684\u53E5\u5B50\u6765\u63CF\u8FF0\u60A8\u7684\u95EE\u9898\u3002\u4F8B\u5982\uFF0C"\u67E5\u770B\u6211\u7684\u8D26\u6237\u4F59\u989D"' }, askForSlot: { askFor: "\u9700\u8981 %1$s", noInput: "\u8BF7\u8BF4\u51FA\u6216\u8F93\u5165\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u3002", noInputWithSlot: "\u8BF7\u8BF4\u51FA\u6216\u8F93\u5165 %1$s\u3002", noMatch: "\u8BF7\u518D\u6B21\u5C06\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u63D0\u4F9B\u7ED9\u6211\u3002", noMatchWithSlot: "\u8BF7\u518D\u6B21\u5C06 %1$s \u63D0\u4F9B\u7ED9\u6211\u3002", question: "\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u662F\u4EC0\u4E48\uFF1F", questionWithSlot: "\u4EC0\u4E48\u662F %1$s\uFF1F", pleaseEnterSlotNameHere: "\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09", noInputDigitalBot: "\u8BF7\u8F93\u5165\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u3002", noInputWithSlotDigitalBot: "\u8BF7\u8F93\u5165 %1$s\u3002", continuationPromptWithSlot: "\u76EE\u524D\u6211\u5DF2\u6536\u5230\u4E86 {{Slot.%1$s}}\uFF0C\u8BF7\u7EE7\u7EED\u3002" }, askForNextSlot: { noInput: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8BF4"\u662F"\uFF1B\u5982\u679C\u60F3\u7ED3\u675F\u901A\u8BDD\uFF0C\u8BF7\u8BF4"\u5426"\u3002', noMatch: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8BF4 "\u662F"\uFF0C\u5982\u679C\u60F3\u7ED3\u675F\u4F1A\u8BDD\uFF0C\u8BF7\u8BF4 "\u5426" \u3002', question: "\u8FD8\u6709\u4EC0\u4E48\u9700\u8981\u6211\u5E2E\u52A9\u7684\u5417\uFF1F", noInputDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8F93\u5165"\u662F"\uFF0C\u5982\u679C\u60F3\u7ED3\u675F\u4F1A\u8BDD\uFF0C\u8BF7\u8F93\u5165"\u5426"\u3002', noMatchDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8F93\u5165"\u662F"\uFF0C\u5982\u679C\u60F3\u7ED3\u675F\u4F1A\u8BDD\uFF0C\u8BF7\u8F93\u5165"\u5426"\u3002' }, askForPayment: { noInputDigitalBot: "\u8BF7\u63D0\u4F9B\u4ED8\u6B3E\u4FE1\u606F\u4EE5\u7EE7\u7EED\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u590D\u3002\u8BF7\u91CD\u8BD5\u3002" }, askForAuthentication: { noInputDigitalBot: "\u8BF7\u63D0\u4F9B\u60A8\u7684\u8BA4\u8BC1\u4FE1\u606F\u4EE5\u7EE7\u7EED\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u590D\u3002\u8BF7\u91CD\u8BD5\u3002" }, askSurveyQuestion: { notApplicable: "\u4E0D\u9002\u7528", surveyAnswerOptionSequence: "\u6309 %1$s \u4EE5\u83B7\u53D6 '%2$s'\u3002", surveyAnswerNotApplicableSequence: "\u6309\u4E0B\u661F\u53F7\u952E\u8868\u793A\u4E0D\u9002\u7528\u3002", surveyAnswerNotApplicableWithQuestionSequence: "%1$s\u3002\u6309\u4E0B\u661F\u53F7\u952E\u8868\u793A\u4E0D\u9002\u7528\u3002", voiceSurveyNoInputText: "\u8BF7\u56DE\u7B54\u95EE\u9898\u3002", voiceSurveyNoMatchText: "\u6211\u4E0D\u660E\u767D\u60A8\u7684\u610F\u601D\u3002" }, commonModule: { exitCommonModule: "\u9000\u51FA\u901A\u7528\u6A21\u5757" }, form: { noInputDigitalBot: "\u8BF7\u5B8C\u6210\u8868\u5355\u4EE5\u7EE7\u7EED\u3002", noMatchDigitalBot: "\u8BF7\u5B8C\u6210\u8868\u5355\u4EE5\u7EE7\u7EED\u3002" }, messagingTemplate: { noInputDigitalBot: "\u8BF7\u9009\u62E9\u53EF\u7528\u9009\u9879\u7684\u5176\u4E2D\u4E4B\u4E00\u3002", noMatchDigitalBot: "\u8BF7\u9009\u62E9\u53EF\u7528\u9009\u9879\u7684\u5176\u4E2D\u4E4B\u4E00\u3002" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u7EE7\u7EED", knowledgeAnswerHighlightFullArticleDefault: "\u67E5\u770B\u5B8C\u6574\u6587\u7AE0", knowledgeInitialResponseMulti: "\u4E3A\u4E86\u5E2E\u52A9\u6211\u7406\u89E3\u60A8\u7684\u76EE\u7684\uFF0C\u8BF7\u4ECE\u4EE5\u4E0B\u5217\u8868\u4E2D\u9009\u62E9\u4E00\u4E2A\u6570\u5B57\uFF1A", knowledgeInitialResponseMultiRetry: "\u8BF7\u9009\u62E9\u4E00\u4E2A\u6570\u5B57\uFF0C\u4F8B\u5982\u201C1\u201D\u3002\n\u6211\u5C06\u518D\u6B21\u63D0\u4F9B\u9009\u9879\u5217\u8868\uFF1A", knowledgeNoMatch: "\u4EE5\u4E0A\u90FD\u4E0D\u662F", knowledgeConfirmation: "\u8FD9\u662F\u5426\u56DE\u7B54\u4E86\u60A8\u7684\u95EE\u9898\uFF1F", knowledgeFollowup: "\u5E0C\u671B\u6211\u56DE\u7B54\u4E86\u60A8\u7684\u95EE\u9898\u3002\u60A8\u53EF\u4EE5\u63D0\u51FA\u4EFB\u4F55\u60A8\u60F3\u8981\u77E5\u9053\u7684\u95EE\u9898\u3002" }, noOverlay: { intent: { intentConfirmationStr1: "\u6211\u60F3\u60A8\u662F\u60F3", intentConfirmationStr2: "\u5BF9\u5417\uFF1F" }, youSaid: { youSaidConfirmationStr1: "\u60A8\u8BF4", youSaidConfirmationStr2: "\u5BF9\u5417\uFF1F", youSaidConfirmationStr1DigitalBot: "\u60A8\u8F93\u5165\u4E86" }, noInput: { noInputStr1: "\u8BF7\u8BF4\u51FA\u6216\u8F93\u5165", noInputStr1DigitalBot: "\u8BF7\u8F93\u5165" }, noMatch: { noMatchStr1: "\u8BF7\u544A\u8BC9\u6211" }, whatIs: { whatIsQuestionStr1: "\u4EC0\u4E48\u662F", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u6211\u6536\u5230\u4E86", iGotContinuationStr2: "\u8BF7\u7EE7\u7EED\u3002" } }, defaultCallFlowOne: "\u9ED8\u8BA4\u547C\u53EB\u6D41\u7A0B", errorHandlingAgentEscalationConfirmation: "\u60A8\u60F3\u4E0E\u987E\u95EE\u4EA4\u8C08\u3002\u5BF9\u5417\uFF1F", errorHandlingAgentEscalationHandover: "\u8BF7\u7A0D\u7B49\u7247\u523B\uFF0C\u6211\u4F1A\u4E3A\u60A8\u8F6C\u63A5\u5176\u4ED6\u4EBA\u3002", errorHandlingErrorEventHandover: "\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u8BF7\u7A0D\u7B49\u7247\u523B\uFF0C\u6211\u4F1A\u4E3A\u60A8\u8F6C\u63A5\u53EF\u4EE5\u5E2E\u52A9\u60A8\u7684\u5176\u4ED6\u4EBA\u3002", errorHandlingErrorEventHandoverVoiceSurvey: "\u975E\u5E38\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u6211\u4EEC\u4E0B\u6B21\u89C1\u3002", errorHandlingRecognitionEventHandover: "\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u8BF7\u7A0D\u7B49\u7247\u523B\uFF0C\u6211\u4F1A\u4E3A\u60A8\u8F6C\u63A5\u53EF\u4EE5\u5E2E\u52A9\u60A8\u7684\u5176\u4ED6\u4EBA\u3002", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u975E\u5E38\u62B1\u6B49\uFF0C\u6211\u4E0D\u660E\u767D\u60A8\u7684\u610F\u601D\u3002\u6211\u4EEC\u4E0B\u6B21\u89C1\u3002", errorHandlingTTS: "\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u8BF7\u518D\u6B21\u5C1D\u8BD5\u62E8\u6253\u3002", initialGreetingTTS: "\u60A8\u597D\uFF0C\u8BF7\u63A5\u6536\u6211\u8BDA\u631A\u7684\u95EE\u5019\u3002", initialState: "\u521D\u59CB\u72B6\u6001", initialBotState: "\u9ED8\u8BA4 Bot", initialDigitalBotState: "\u521D\u59CB\u95EE\u5019", initialSurveyBotState: "\u8C03\u67E5 Bot", intentConfirmation: "\u6211\u60F3\u60A8\u662F\u8981 %1$s\uFF0C\u5BF9\u5417\uFF1F", mainMenu: "\u4E3B\u83DC\u5355", mainMenuTTS: "\u60A8\u76EE\u524D\u4F4D\u4E8E\u4E3B\u83DC\u5355\uFF0C\u6309 9 \u5C06\u65AD\u5F00\u8FDE\u63A5", mainTask: "\u4EFB\u52A1", settingsConfirmationNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u542C\u5230\u60A8\u7684\u58F0\u97F3\u3002\u8BF7\u8BF4\u201C\u662F\u201D\u6216\u201C\u5426\u201D\u3002", settingsConfirmationNoInputApologyDigitalBot: '\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F93\u5165\u3002\u8BF7\u8F93\u5165"\u662F"\u6216"\u5426"\u3002', settingsConfirmationNoMatchApology: "\u62B1\u6B49\uFF0C\u8BF7\u8BF4\u201C\u662F\u201D\u6216\u201C\u5426\u201D\u3002", settingsConfirmationNoMatchApologyDigitalBot: '\u62B1\u6B49\uFF0C\u8BF7\u8F93\u5165"\u662F"\u6216"\u5426"\u3002', settingsNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u542C\u5230\u60A8\u7684\u58F0\u97F3\u3002", settingsNoInputApologyDigitalBot: "\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F93\u5165\u3002", settingsEndOfSessionMessageDigitalBot: "\u5F88\u957F\u65F6\u95F4\u6CA1\u6709\u6536\u5230\u60A8\u7684\u6D88\u606F\uFF0C\u6240\u4EE5\u6211\u5C06\u7ED3\u675F\u672C\u6B21\u804A\u5929\u3002\u5982\u679C\u60A8\u8FD8\u9700\u8981\u6211\u7684\u5E2E\u52A9\uFF0C\u8BF7\u518D\u6B21\u8054\u7CFB\u3002\u611F\u8C22\u7406\u89E3\uFF01", settingsNoMatchApology: "\u62B1\u6B49\u3002", settingsNoToConfirmationApology: "\u8FD9\u662F\u6211\u7684\u9519\u3002", periodicStateName: "\u91CD\u590D\u72B6\u6001" }; - }, 93523: (e2, t2, i2) => { + t2.default = o; + }, 55050(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(19047)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { constructor(e3) { - super(e3), this._findId = this.coreFactory.createArchWrapper(e3.findId); + super(e3); + } + get _globalTypeName() { + return "stringKeyValuePairCollection"; } get displayTypeName() { - return "ArchBaseActionFindSystemObjectById"; + return "ArchValueStringKeyValuePairCollection"; } - get isArchBaseActionFindSystemObjectById() { + get isArchValueStringKeyValuePairCollection() { return true; } - get findId() { - return this._findId; - } } - t2.default = r2; - }, 93555: (e2, t2, i2) => { + t2.default = o; + }, 13442(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(55299); - class r2 extends n2.BaseClass { - constructor(e3, t3, i3, n3, r3, o, a) { - super(), this.text = e3, this.flowElementId = t3, this.priority = i3 || 0, this.item = n3, this.displayName = r3, this.guxIcon = o, this.jumpToItem = a; + const n2 = i2(31635).__importDefault(i2(17405)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get className() { - return "ValidationIssue"; + get _globalTypeName() { + return "surveyAnswerOption"; } - getNodeToShow() { - return this.jumpToItem || this.item; + get displayTypeName() { + return "ArchValueSurveyAnswerOption"; } - } - 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), 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); + get isArchValueSurveyAnswerOption() { + return true; } - get botRunnableProperty() { - return this.botVersion; + setGlobalDtmf(e3) { + const t3 = this._infoParm("dtmf", "setGlobalDtmf"); + this._checkItemIsValidLiteralString(t3, e3), e3 = e3 || ""; + const i3 = this._getCoreViewModel(); + i3 && (i3.type.setDtmf(i3, e3), this.logNote(`survey answer option dtmf updated to '${e3}'`)); } - get botCategoryProperty() { - return this.bot; + get text() { + return this._getAssignableProperty("text"); } - static get branchInfo() { - return [d.default.noIntent, d.default.failure]; + } + t2.default = o; + }, 21770(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getDependencyTrackingId() { - if (!this.botRunnableProperty.idValue) return null; - let e3; - const t3 = this.botRunnableManager.getItem(this.botRunnableProperty.idValue); - return t3 && t3.dependencyTrackingId ? e3 = t3.dependencyTrackingId : t3 && !t3.dependencyTrackingId && console.error("botRunnable has no dependencyTrackingId"), !e3 && this.botCategoryProperty.idValue && (e3 = this.botCategoryProperty.idValue + "/" + this.botRunnableProperty.idValue), e3; + get _globalTypeName() { + return "surveyAnswerOptionCollection"; } - get botRunnableNetworkGetCall() { - return N.getVersion; + get displayTypeName() { + return "ArchValueSurveyAnswerOptionCollection"; } - get isDialogEngineAction() { + get isArchValueSurveyAnswerOptionCollection() { return true; } - get hasAutoSelectedBotRunnable() { - return true; + getAnswerOptionForAnswerOptionText(e3) { + var t3, i3; + const n3 = this._infoParm("answerOptionText", "getAnswerOptionForAnswerOptionText"); + if (this._checkItemIsValidLiteralString(n3, e3), !(null == e3 ? void 0 : e3.length)) return void this.logNote("the answer option text specified in the answerOptionText parameter is blank. Exiting."); + const o2 = this.length; + if (o2) { + this.logNoteVerbose(`looking for an answer option in this collection with the text '${e3}'.`); + for (let n4 = 0; n4 < o2; n4++) { + const o3 = this.getItemByIndex(n4); + if ((null === (t3 = o3.text) || void 0 === t3 ? void 0 : t3.isLiteral) && (null === (i3 = o3.text) || void 0 === i3 ? void 0 : i3.valueText) === e3) return this.logNoteVerbose(`success, the answer option at index ${n4} matched.`), o3; + } + this.logNoteVerbose(`there is no answer option in this collection that could be found for the answer text '${e3}'.`); + } else this.logNote("there are no answer options in this survey answer option collection. Exiting."); } - get linkButtonInfo() { - return { text: v.dialogEngine.openDialogEngineUI, url: m.getDialogEngineWorkbenchUrl() }; + } + t2.default = o; + }, 4219(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(17405)); + class o extends n2.default { + constructor(e3) { + super(e3); } - static get managedProperties() { - 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 }]; + get _globalTypeName() { + return "surveyForm"; } - postProcessYamlConfig(e3, t3, i3) { - if (!this.botRunnableProperty.idValue) return void this.removeYamlExportPropsThatRequireRunnable(e3); - e3.bot = {}; - const n3 = e3.bot[this.botName] = {}; - this.commonBotPostProcessYamlConfig(e3, n3); + get displayTypeName() { + return "ArchValueSurveyForm"; } - _setBotCategoryProperties(e3) { - e3 && (this.botCategoryProperty.nameValue = e3.botName, this.botCategoryProperty.idValue = e3.botId); + get isArchValueSurveyForm() { + return true; } } - 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__"; - }, 93646: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(28562), r2 = i2(69149), o = { _label: "BotIntentConf", availableLanguages: { "ar-ae": "defaultSequence", "ar-eg": "defaultSequence", "ar-sa": "defaultSequence", "ca-es": "defaultSequence", "cs-cz": "defaultSequence", "da-dk": "defaultSequence", "de-ch": "defaultSequence", "de-de": "defaultSequence", "el-gr": "defaultSequence", "en-au": "defaultSequence", "en-gb": "defaultSequence", "en-us": "defaultSequence", "es-es": "defaultSequence", "es-mx": "defaultSequence", "es-us": "defaultSequence", "eu-es": "defaultSequence", "fi-fi": "defaultSequence", "fil-ph": "defaultSequence", "fr-be": "defaultSequence", "fr-ca": "defaultSequence", "fr-fr": "defaultSequence", "he-il": "defaultSequence", "hi-in": "defaultSequence", "hu-hu": "defaultSequence", "it-it": "defaultSequence", "ja-jp": "localizedSequence1", "ko-kr": "localizedSequence1", "ms-my": "defaultSequence", "nb-no": "defaultSequence", "nl-be": "defaultSequence", "nl-nl": "defaultSequence", "pl-pl": "defaultSequence", "pt-br": "defaultSequence", "pt-pt": "defaultSequence", "ru-ru": "defaultSequence", "sv-se": "defaultSequence", "th-th": "defaultSequence", "tr-tr": "defaultSequence", "uk-ua": "defaultSequence", "vi-vn": "defaultSequence", "zh-cn": "defaultSequence", "zh-hk": "defaultSequence", "zh-tw": "defaultSequence" }, builderId: n2.builderIds.parts.genericCommunication, flowTypeOverrides: { digitalbot: { builderId: n2.builderIds.parts.markdownCommunication, languageSequences: { defaultSequence: { _label: "bot_intent_conf", partContents: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_intent_conf_seq_1", partContents: [{ builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] } } } }, languageSequences: { defaultSequence: { _label: "bot_intent_conf", parts: [{ builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] }, localizedSequence1: { _label: "bot_intent_conf_seq_1", parts: [{ builderPartId: r2.builderPartIds.communication.data, parameters: { reference: "$intentName" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr1" } }, { builderPartId: r2.builderPartIds.communication.text, parameters: { templateNoOverlaySection: "intent", templateNoOverlaySectionKey: "intentConfirmationStr2" } }] } } }; t2.default = o; - }, 93693: (e2, t2, i2) => { + }, 44633(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 = i2(80295), s = n2.__importDefault(i2(37873)); - class l extends s.default { + const n2 = i2(31635).__importDefault(i2(17405)); + class o extends n2.default { constructor(e3) { - super(e3), this._checkItemUndefinedOrNull(this._infoParmCtor("corePromptSettingsViewModel"), e3), this._corePromptSettingsViewModel = e3, (0, a.makeUnenumerable)(this, "_corePromptSettingsViewModel"); + super(e3); + } + get _globalTypeName() { + return "surveyQuestion"; + } + get coreSurveyQuestionExpression() { + return this._getCoreViewModel(); } get displayTypeName() { - return "ArchSettingsPromptsFlow"; + return "ArchValueSurveyQuestion"; } - get isArchSettingsPromptsFlow() { + get isArchValueSurveyQuestion() { return true; } - get ensureAudioInPrompts() { - return this._corePromptSettingsViewModel.ensureAudioInPrompts; - } - set ensureAudioInPrompts(e3) { - const t3 = this._infoPropSet("newValue", "ensureAudioInPrompts"); - this._checkItemIsValidLiteralBool(t3, e3), this.logDeprecatedPropertyWarning(t3, "promptMediaToValidate", "if setting ensureAudioInPrompts to true, please update calling code to call the prompt settings promptMediaToValidate property setter instead with the string value 'audio' ( archEnums.PROMPT_MEDIA_TYPES.audio ). If false, use a JavaScript array of [ 'audio', 'tts' ] where the string values come from archEnums.PROMPT_MEDIA_TYPES.audio and archEnums.PROMPT_MEDIA_TYPES.tts respectively."), this.logNote("setting flow ensure audio in prompts setting to '" + e3 + "'"), this._corePromptSettingsViewModel.ensureAudioInPrompts = e3; + } + t2.default = o; + }, 11909(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get promptMediaToValidate() { - return [].concat(this._corePromptSettingsViewModel.parentFlow.promptMediaToValidate); + get _globalTypeName() { + return "surveyQuestionCollection"; } - set promptMediaToValidate(e3) { - const t3 = this._infoPropSet("value", "promptMediaToValidate"); - this._checkItemIsValidLiteralStringOrStringArray(t3, e3, false), "string" != typeof e3 ? e3.forEach((e4) => this._checkItemIsValidLiteralStringEnum(this._infoPropSet("value", "promptMediaToValidate"), e4, o.default.PROMPT_MEDIA_TYPES_ALL)) : (this._checkItemIsValidLiteralStringEnum(t3, e3, o.default.PROMPT_MEDIA_TYPES_ALL), e3 = [e3]), this._checkItem(t3, !this._corePromptSettingsViewModel.parentFlow.supportsAudio && r2.default.contains(e3, o.default.PROMPT_MEDIA_TYPES.audio), "this flow does not support audio so it cannot be set as a media type to validate on a prompt."), this._checkItem(t3, r2.default.contains(e3, o.default.PROMPT_MEDIA_TYPES.text), `the prompt media type '${o.default.PROMPT_MEDIA_TYPES.text}' cannot be set as a prompt media type to validate yet.`), e3 = r2.default.uniq(e3), this._checkItem(t3, 1 === e3.length && e3[0] === o.default.PROMPT_MEDIA_TYPES.tts, `you cannot use the prompt media type '${o.default.PROMPT_MEDIA_TYPES.tts}' by itself. You must have prompt media type '${o.default.PROMPT_MEDIA_TYPES.audio}' to use '${o.default.PROMPT_MEDIA_TYPES.tts}'.`), this._checkItem(t3, r2.default.contains(e3, o.default.PROMPT_MEDIA_TYPES.none) && e3.length > 1, `when using the prompt media type '${o.default.PROMPT_MEDIA_TYPES.none}', no other values can be set.`), this._corePromptSettingsViewModel.parentFlow.promptMediaToValidate = 1 === e3.length && e3[0] === o.default.PROMPT_MEDIA_TYPES.none ? [] : e3, this.logNote(`prompt media to validate set to '${e3.join("', '")}'`); + get displayTypeName() { + return "ArchValueSurveyQuestionCollection"; } - get logStr() { - if (!this._corePromptSettingsViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrType(e3, this.displayTypeName), this._corePromptSettingsViewModel.outOfService || this._appendLogStrPart(e3, "ensureAudioInPrompts", this.ensureAudioInPrompts, true, true), this._appendLogStrParentFlowInfo(e3, this._getCoreViewModel()), this._createLogStrFromParts(e3); + get isArchValueSurveyQuestionCollection() { + return true; } } - t2.default = l; - }, 93728: (e2, t2) => { + t2.default = o; + }, 68322(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.config = void 0, t2.config = { onUnhandledError: null, onStoppedNotification: null, Promise: void 0, useDeprecatedSynchronousErrorHandling: false, useDeprecatedNextContext: false }; - }, 93805: (e2, t2, i2) => { - const n2 = i2(89452), r2 = i2(72529), o = i2(45214), a = i2(87675).default; - function s() { - Object.defineProperties(this, { _dependencyCustomDataTypes: { value: [], writable: true }, _dependencyFlowUiMetaDataModels: { value: [], writable: true }, _dependencyVariableModels: { value: [], writable: true } }), s.baseConstructor.apply(this, arguments); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(17405)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "surveyQuestionGroup"; + } + get displayTypeName() { + return "ArchValueSurveyQuestionGroup"; + } + get isArchValueSurveyQuestionGroup() { + return true; + } } - o.extend(s, "ClipboardDependenciesModel", true), Object.defineProperties(s.prototype, { dependencyFlowUiMetaDataModels: { enumerable: true, get: function() { - return this._dependencyFlowUiMetaDataModels; - }, set: function(e3) { - this._dependencyFlowUiMetaDataModels = this.reviveArray(e3, n2); - } }, dependencyVariableModels: { enumerable: true, get: function() { - return this._dependencyVariableModels; - }, set: function(e3) { - this._dependencyVariableModels = this.reviveArray(e3, r2); - } }, dependencyCustomDataTypes: { enumerable: true, get: function() { - return this._dependencyCustomDataTypes; - }, set: function(e3) { - this._dependencyCustomDataTypes = this.reviveArray(e3, a); - } } }), e2.exports = s; - }, 93818: (e2, t2, i2) => { + t2.default = o; + }, 88874(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "queueCollection"; + return "surveyQuestionGroupCollection"; } get displayTypeName() { - return "ArchVariableQueueCollection"; - } - get initialValue() { - return this._initialValue; + return "ArchValueSurveyQuestionGroupCollection"; } - get isArchVariableQueueCollection() { + get isArchValueSurveyQuestionGroupCollection() { return true; } } - t2.default = r2; - }, 93832: (e2, t2, i2) => { + t2.default = o; + }, 64986(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635), o = i2(17604), r = n2.__importDefault(i2(17405)), a = n2.__importDefault(i2(98717)); + class s extends r.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "timeslot"; + return "time"; } get displayTypeName() { - return "ArchVariableTimeslot"; + return "ArchValueTime"; } - get initialValue() { - return this._initialValue; + _checkAndSetLiteral(e3, t3, i3, n3) { + this._checkItem(e3, t3 < 0, `the hours value of '${t3}' is less than the allowed minimum of 0.`), this._checkItem(e3, t3 > 23, `the hours value of '${t3}' is greater than the allowed maximum of 23.`), this._checkItem(e3, i3 < 0, `the minutes value of '${i3}' is less than the allowed minimum of 0.`), this._checkItem(e3, i3 > 59, `the minutes value of '${i3}' is greater than the allowed maximum of 59.`), this._checkItem(e3, n3 < 0, `the minutes value of '${n3}' is less than the allowed minimum of 0.`), this._checkItem(e3, n3 > 59, `the minutes value of '${n3}' is greater than the allowed maximum of 59.`), this._setLiteral(e3, (0, o.sprintf)("%02d:%02d:%02d", t3, i3, n3)); } - get isArchVariableTimeslot() { + setLiteralTime(e3) { + const t3 = this._infoParm("time", "setLiteralTime"); + this._checkItemIsValidLiteralString(t3, e3), new RegExp("[0-2][0-9]:[0-5][0-9]:[0-5][0-9]").test(e3) && 8 === e3.length || a.default.itemInvalid(t3, `invalid format. Expected HH:MM:SS for '${e3}' where HH is a two digit hour from 00 to 23, MM is a two digit minute from 00 to 59, and SS is a two digit second from 00 to 59 (ex: '14:33:05').`, this.logStr, this.displayTypeName), this._checkAndSetLiteral(t3, parseInt(e3.substring(0, 2)), parseInt(e3.substring(3, 5)), parseInt(e3.substring(7))); + } + setLiteralTimeParts(e3, t3, i3) { + const n3 = this._infoParm("hours", "setLiteralTimeParts"); + this._checkItemIsValidLiteralInt(n3, e3, false); + const o2 = this._infoParm("minutes", "setLiteralTimeParts"); + this._checkItemIsValidLiteralInt(o2, t3, false); + const r2 = this._infoParm("seconds", "setLiteralTimeParts"); + this._checkItemIsValidLiteralInt(r2, i3, false), this._checkAndSetLiteral(this._infoParm("calculated time", "setLiteralTimeParts"), e3, t3, i3); + } + get isArchValueTime() { return true; } } - t2.default = r2; - }, 93852: (e2, t2, i2) => { - function n2() { - this.dataTypeId = void 0, this.applicableFlowTypes = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(73649).extend(n2, "ClipboardManifestItemDataTypeModel", true), e2.exports = n2; - }, 93856: (e2, t2, i2) => { + t2.default = s; + }, 13730(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = { ArchSpeechToTextEngine: i2(31635).__importDefault(i2(25016)).default }; - t2.default = n2; - }, 93858: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PropertyBaseReasons = void 0; - const n2 = i2(17604), r2 = i2(55299), o = i2(47957); - class a extends r2.BaseClass { - constructor() { - super(...arguments), this.REASON_FEATURE_TOGGLE_UNAVAILABLE = { code: "feature_toggle_unavailable", resource: o.properties.common.featureToggleUnavailble }, this.REASON_FLOW_READ_ONLY = { code: "flow_read_only", resource: o.properties.common.flowReadOnly, additionalInfo: { isReadOnlyReason: true } }; - } - get className() { - return "PropertyBaseReasons"; + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _setReason(e3, t3, ...i3) { - if (e3 && t3) if (e3.code = t3.code, e3.additionalInfo = t3.additionalInfo, arguments.length > 2) { - const i4 = [t3.resource]; - for (let e4 = 2; e4 < arguments.length; e4++) i4.push(arguments[e4]); - e3.displayString = n2.sprintf.apply(null, i4); - } else e3.displayString = t3.resource; - return false; + get _globalTypeName() { + return "timeCollection"; } - setFeatureToggleUnavailable(e3, t3) { - return this._setReason(e3, this.REASON_FEATURE_TOGGLE_UNAVAILABLE); + get displayTypeName() { + return "ArchValueTimeCollection"; } - setFlowReadOnly(e3) { - return this._setReason(e3, this.REASON_FLOW_READ_ONLY); + get isArchValueTimeCollection() { + return true; } } - t2.PropertyBaseReasons = a; - }, 93899: (e2, t2, i2) => { + t2.default = o; + }, 29304(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(83663)); + class r extends o.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "prompt"; + return "timePicker"; } get displayTypeName() { - return "ArchVariablePrompt"; - } - get initialValue() { - return this._initialValue; + return "ArchValueTimePicker"; } - get isArchVariablePrompt() { + get isArchValueTimePicker() { return true; } + get title() { + return this._getAssignableProperty("title"); + } + get subtitle() { + return this._getAssignableProperty("subtitle"); + } + get image() { + return this._getAssignableProperty("image"); + } + get address() { + return this._getAssignableProperty("address"); + } + get longitude() { + return this._getAssignableProperty("longitude"); + } + get latitude() { + return this._getAssignableProperty("latitude"); + } + setLiteralTimePicker(e3, t3, i3, o2, r2, a) { + return n2.__awaiter(this, void 0, void 0, function* () { + this.title.setLiteralString(e3), t3 && this.subtitle.setLiteralString(t3), i3 && (yield this.image.setLiteralByImageNameAsync(i3)), o2 && r2 && a && (this.address.setLiteralString(o2), this.longitude.setLiteralDecimal(r2), this.latitude.setLiteralDecimal(a)); + }); + } } - t2.default = r2; - }, 93973: (e2, t2, i2) => { - const n2 = i2(68511), r2 = i2(77396), o = i2(36019).default; - function a() { - } - const s = new a(); - a.prototype.getLanguageSkill = o.request("GET", "{public-api.apps}/api/v2/routing/languages/{id}", n2), a.prototype.getLanguageSkills = o.request("GET", "{public-api.apps}/api/v2/routing/languages", r2), e2.exports = s; - }, 93975: (e2, t2, i2) => { + t2.default = r; + }, 53318(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(83747)), r2 = i2(96618); + const n2 = i2(31635).__importDefault(i2(83663)); class o extends n2.default { constructor(e3) { - super(e3), this._promptSettings = this.coreFactory.createArchWrapper(e3.callPrompts), this._speechRecSettings = this.coreFactory.createArchWrapper(e3.speechRecognition); + super(e3); } - get _flowType() { - return r2.flowTypes.flowTypeVoice; + get _globalTypeName() { + return "timeslot"; } get displayTypeName() { - return "ArchFlowVoice"; + return "ArchValueTimeslot"; } - get isArchFlowVoice() { + get isArchValueTimeslot() { return true; } - get settingsPrompts() { - return this._promptSettings; + get duration() { + return this._getAssignableProperty("duration"); } - get settingsSpeechRec() { - return this._speechRecSettings; + get dateTime() { + return this._getAssignableProperty("dateTime"); + } + setLiteralDateTimeAndDuration(e3, t3) { + this.dateTime.setLiteralDateTime(e3), this.duration.setLiteralMs(t3); } } t2.default = o; - }, 93991: (e2, t2, i2) => { + }, 99622(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "integer"; + return "timeslotCollection"; } get displayTypeName() { - return "ArchVariableInteger"; - } - get initialValue() { - return this._initialValue; + return "ArchValueTimeslotCollection"; } - get isArchVariableInteger() { + get isArchValueTimeslotCollection() { return true; } } - t2.default = r2; - }, 94053: (e2, t2, i2) => { + t2.default = o; + }, 93260(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)), 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), 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(_); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(30163), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.userManager); } - get className() { - return "FindPromptPartDef"; + get _globalTypeName() { + return "userQueue"; } - reviveItem(e3, t3, i3, n3) { - return new u.default({ builderViewModel: e3, owningExpressionViewModel: t3, builderPartModel: i3, overrideBuilderPartDef: void 0, reId: !!n3 }); + get displayTypeName() { + return "ArchValueUser"; } - } - t2.A = p; - }, 94083: (e2, t2, i2) => { - "use strict"; - e2 = i2.nmd(e2); - const n2 = i2(10734), r2 = (e3, t3) => function() { - return `\x1B[${e3.apply(n2, arguments) + t3}m`; - }, o = (e3, t3) => function() { - const i3 = e3.apply(n2, arguments); - return `\x1B[${38 + t3};5;${i3}m`; - }, a = (e3, t3) => function() { - const i3 = e3.apply(n2, arguments); - return `\x1B[${38 + t3};2;${i3[0]};${i3[1]};${i3[2]}m`; - }; - Object.defineProperty(e2, "exports", { enumerable: true, get: function() { - const e3 = /* @__PURE__ */ new Map(), t3 = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { 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], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } }; - t3.color.grey = t3.color.gray; - for (const i4 of Object.keys(t3)) { - const n3 = t3[i4]; - for (const i5 of Object.keys(n3)) { - const r3 = n3[i5]; - t3[i5] = { open: `\x1B[${r3[0]}m`, close: `\x1B[${r3[1]}m` }, n3[i5] = t3[i5], e3.set(r3[0], r3[1]); - } - Object.defineProperty(t3, i4, { value: n3, enumerable: false }), Object.defineProperty(t3, "codes", { value: e3, enumerable: false }); + get _searchByValueSearchProperty() { + return "username"; } - const i3 = (e4) => e4, s = (e4, t4, i4) => [e4, t4, i4]; - t3.color.close = "\x1B[39m", t3.bgColor.close = "\x1B[49m", t3.color.ansi = { ansi: r2(i3, 0) }, t3.color.ansi256 = { ansi256: o(i3, 0) }, t3.color.ansi16m = { rgb: a(s, 0) }, t3.bgColor.ansi = { ansi: r2(i3, 10) }, t3.bgColor.ansi256 = { ansi256: o(i3, 10) }, t3.bgColor.ansi16m = { rgb: a(s, 10) }; - for (let e4 of Object.keys(n2)) { - if ("object" != typeof n2[e4]) continue; - const i4 = n2[e4]; - "ansi16" === e4 && (e4 = "ansi"), "ansi16" in i4 && (t3.color.ansi[e4] = r2(i4.ansi16, 0), t3.bgColor.ansi[e4] = r2(i4.ansi16, 10)), "ansi256" in i4 && (t3.color.ansi256[e4] = o(i4.ansi256, 0), t3.bgColor.ansi256[e4] = o(i4.ansi256, 10)), "rgb" in i4 && (t3.color.ansi16m[e4] = a(i4.rgb, 0), t3.bgColor.ansi16m[e4] = a(i4.rgb, 10)); + get isArchValueUser() { + return true; } - return t3; - } }); - }, 94110: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.buildSurveyFlow = function(e3) { - var t3; - e3.voiceSurveyFlowSettings.archSurveyForm.header && g(a.communicateActionType, e3.startUpObject, (t4) => { - t4.name = h.voiceSurvey.voiceSurveyHeaderLabel, t4.communication.options.setAllowModeBuilder(true), t4.communication.options.setDefaultToBuilderId(r2.builderIds.parts.genericCommunication), t4.communication.setCommunicationBuilderText(e3.voiceSurveyFlowSettings.archSurveyForm.header, true); - }); - const i3 = (function(e4) { - const t4 = e4.reduce((e5, t5) => (e5[t5.name] || (e5[t5.name] = []), e5[t5.name].push(t5), e5), {}), i4 = {}; - return Object.entries(t4).forEach(([e5, t5]) => { - 1 === t5.length ? i4[t5[0].id] = e5 : t5.forEach((e6, t6) => { - i4[e6.id] = `${e6.name} ${t6 + 1}`; - }); - }), i4; - })(e3.voiceSurveyFlowSettings.archSurveyForm.questionGroups); - (null === (t3 = e3.voiceSurveyFlowSettings.archSurveyForm.questionGroups) || void 0 === t3 ? void 0 : t3.length) && e3.voiceSurveyFlowSettings.archSurveyForm.questionGroups.forEach((t4, r3) => { - !(function(e4, t5, i4, r4) { - var a2; - const l2 = e4.createTask(i4); - 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); - g(u.endTaskActionType, t6, (e6) => { - e6.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionGroupNotApplicable, r4 + 1); - const t7 = l2.createBranch(h.voiceSurvey.voiceSurveyNotApplicableLabel); - e6.linkPath(t7); - }), 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, c2, (i5) => { - i5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionWithIndex, t6 + 1), i5.configureFromArchSurveyQuestionId(e5.id); - }); - }), g(u.endTaskActionType, l2, (e5) => { - e5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyEndQuestionGroupTaskActionLabel, t5.name); - const i5 = l2.getBranches().find((e6) => e6.outputId === p.outputIds.default); - e5.linkPath(i5); - }), g(o.callTaskActionType, e4.startUpObject, (e5) => { - e5.name = (0, _.sprintf)(h.voiceSurvey.voiceSurveyQuestionGroupTaskName, r4 + 1), e5.containerActionProperty.setReference(l2); - }); - })(e3, t4, i3[t4.id], r3); - }), e3.voiceSurveyFlowSettings.archSurveyForm.footer && g(a.communicateActionType, e3.startUpObject, (t4) => { - 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), 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); - i3 && i3(n3); - } catch (t4) { - m.exception(t4, `failed to create ${e3} action`); + setLiteralByUserIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("userId", "setLiteralByUserIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUserIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByUserIdAsync", t3, this)); + }); + } + setLiteralByUserNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("userName", "setLiteralByUserNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUserNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByUserNameAsync", t3, this)); + }); } } - }, 94147: (e2, t2, i2) => { + t2.default = s; + }, 50504(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(6074)), o = n2.__importDefault(i2(94225)); - class a extends r2.default { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(30163), a = n2.__importDefault(i2(40559)); + class s extends a.default { constructor(e3) { - super(e3), this._coreStateViewModel = e3, this._isVariableContainer = true; - } - get coreStateViewModel() { - return this._coreStateViewModel; + super(e3, r.userManager); } - addVariable(e3, t3, i3) { - return this._addVariable(this, "addVariable", e3, t3, i3); + get _globalTypeName() { + return "userQueueCollection"; } get displayTypeName() { - return "ArchState"; - } - get isArchState() { - return true; - } - get logStr() { - if (!this._coreStateViewModel) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrTrackingIdNameType(e3, this.trackingId, this.name, this.displayTypeName), this._createLogStrFromParts(e3); - } - getVariableByName(e3) { - this._checkItemIsValidLiteralString(this._infoParm("variableName", "getVariableByName"), e3); - const t3 = this._coreStateViewModel.parentFlow.variableGroup.getVariableByName(e3, this._coreStateViewModel); - if (t3) return this.coreFactory.createArchWrapper(t3); - } - get name() { - return this._coreStateViewModel.name; - } - set name(e3) { - this._checkItemIsValidLiteralString(this._infoPropSet("newValue", "name"), e3), this._coreStateViewModel.name = e3; + return "ArchValueUserCollection"; } - get parentFlow() { - return this.coreFactory.createArchWrapper(this._coreStateViewModel.parentFlow); + get _searchByValueSearchProperty() { + return "username"; } - get trackingId() { - return this._coreStateViewModel.trackingId; + addLiteralByUserIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("userId", "addLiteralByUserIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUserIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "user").then(() => o.default.executeCallback(this, "addLiteralByUserIdAsync", t3, this)); + }); } - set trackingId(e3) { - const t3 = this._infoPropSet("value", "trackingId"); - this._ensureCanSetTrackingIds(t3, o.default, e3); - const i3 = this._coreStateViewModel.trackingId; - e3 !== i3 && (this._coreStateViewModel.trackingId = e3, this.logItemVerboseNote(t3, `updated tracking ID from ${i3} to ${this._coreStateViewModel.trackingId}.`)); + addLiteralByUserNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("userName", "addLiteralByUserNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUserNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "user").then(() => o.default.executeCallback(this, "addLiteralByUserNameAsync", t3, this)); + }); } - get variables() { - return this._coreStateViewModel.parentFlow.variableGroup.filterByTask(this._coreStateViewModel).filter((e3) => e3.isStateVariable && !e3.isClone).map((e3) => this.coreFactory.createArchWrapper(e3)); + get isArchValueUserCollection() { + return true; } } - t2.default = a; - }, 94164: (e2, t2, i2) => { + t2.default = s; + }, 60725(e2, t2, i2) { "use strict"; - 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 c extends a.DataContract { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(59912), a = n2.__importDefault(i2(45894)); + class s extends a.default { constructor(e3) { - super(e3), (0, l.makeUnenumerable)(this, "_textToSpeech"), (0, l.makeUnenumerable)(this, "_speechToText"), (0, l.makeUnenumerable)(this, "_naturalLanguageUnderstanding"), (0, l.makeUnenumerable)(this, "_workitems"); - } - get textToSpeech() { - return this._textToSpeech; - } - set textToSpeech(e3) { - this._textToSpeech = e3; - } - get speechToText() { - return this._speechToText; + super(e3, r.utilizationLabelManager); } - set speechToText(e3) { - this._speechToText = e3; + get _globalTypeName() { + return "utilizationLabel"; } - get naturalLanguageUnderstanding() { - return this._naturalLanguageUnderstanding; + get isArchValueUtilizationLabel() { + return true; } - set naturalLanguageUnderstanding(e3) { - this._naturalLanguageUnderstanding = e3; + get displayTypeName() { + return "ArchValueUtilizationLabel"; } - get workitems() { - return this._workitems; + setLiteralByUtilizationLabelNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelId", "setLiteralByUtilizationLabelNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUtilizationLabelNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByUtilizationLabelNameAsync", t3, this)); } - set workitems(e3) { - this._workitems = e3; + setLiteralByUtilizationLabelIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelId", "setLiteralByUtilizationLabelIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByUtilizationLabelIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByUtilizationLabelIdAsync", t3, this)); } } - 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) => { + t2.default = s; + }, 85321(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)), 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 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 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, 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 { - 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 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 k extends P.default { - constructor() { - 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) { - F(this._locations, c.default.LOCATIONS[e3.env], e3.env, e3.host, e3.region); - continue; - } - const t3 = `${e3.env}_${e3.region}`.replace(/-/g, "_"); - 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), 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 = 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) x.call(this, R.getAuthTokenClientCredentials, null, r3); - else { - const e4 = I.createServer((t5, n3) => { - if (t5.url.match(/callback/)) { - const o2 = i2(87016).parse(t5.url, true).query; - 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); - E.open(t4); - } - const c2 = r3.promise.then(() => n2.__awaiter(this, void 0, void 0, function* () { - var i3; - if (e3.isClientCredentialsAuthToken) try { - 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) => 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; - }) : D.getCurrentUser().then(L.bind(this), (e4) => { - throw this.logPromiseError(this._infoMethod(t3), e4, "error getting user info"), e4; - }); - })); - 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"), S.default.allSettled(); - { - const e4 = C.defer(); - return e4.resolve(), e4.promise; - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = n2.__importDefault(i2(40559)), a = i2(59912); + class s extends r.default { + constructor(e3) { + super(e3, a.utilizationLabelManager); } - _endSession() { - switch (this._endMode) { - case c.default.SESSION_END_MODES.end: - this.end(true); - break; - case c.default.SESSION_END_MODES.endWithLogout: - this.endWithLogout(); - break; - default: - this.logError("unknown end mode. Will end with logout to be safe."), this.endWithLogout(); - } + get _globalTypeName() { + return "utilizationLabelCollection"; } - _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(N.default.lastError) || N.default.lastError && -1 === N.default.lastError.indexOf(e3)) ? e3 + " " : "") + "ending the Session. Setting the exit code to 99."), this._endSession(); + get displayTypeName() { + return "ArchValueUtilizationLabelCollection"; } - _removeTtsListeners() { - s.emitter.removeListener(s.ttsEngineChanged, this._boundTtsEngineChanged), s.emitter.removeListener(s.ttsEngineVoiceChanged, this._boundTtsEngineVoiceChanged); + get isArchValueUtilizationLabelCollection() { + return true; } - _cleanupSessionResources() { - try { - this._removeTtsListeners(), this._boundTokenRevoked && (s.emitter.removeListener(s.tokenRevoked, this._boundTokenRevoked), this._boundTokenRevoked = null); - } catch (e3) { - this.logError("error removing event listeners during session cleanup: " + e3); - } - try { - p.default.destroy(); - } catch (e3) { - this.logError("error destroying network value cache during session cleanup: " + e3); - } - try { - S.default.reset(); - } catch (e3) { - this.logError("error resetting async tracker during session cleanup: " + e3); - } - this.logNote("session resources cleaned up."); + get _searchByValueSearchProperty() { + return "name"; } - _invokeSessionEndingCallback() { - if (this._endCallbackFunction) try { - this.logNoteVerbose("calling session end callback function."), this._endCallbackFunction(this), this.logNoteVerbose("session end callback function execution complete."); - } catch (e3) { - const t3 = this.displayTypeName + ".end - Caught unhandled exception during session end callback function execution. Exception info: " + e3; - this.logError(t3); - } finally { - this._endCallbackFunction = void 0; - } + addLiteralByUtilizationLabelIdAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelId", "addLiteralByUtilizationLabelIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUtilizationLabelIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "utilizationLabel").then(function() { + return o.default.executeCallback(this, "addLiteralByUtilizationLabelIdAsync", t3, this); + }.bind(this)); } - _ttsEngineChanged(e3) { - this._ttsInfoChanged(e3, false); + addLiteralByUtilizationLabelNameAsync(e3, t3) { + return this._checkItemIsValidLiteralString(this._infoParm("utilizationLabelName", "addLiteralByUtilizationLabelNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByUtilizationLabelNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "utilizationLabel").then(function() { + return o.default.executeCallback(this, "addLiteralByUtilizationLabelNameAsync", t3, this); + }.bind(this)); } - _ttsEngineVoiceChanged(e3) { - this._ttsInfoChanged(e3, true); + } + t2.default = s; + }, 28912(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(39139), a = n2.__importDefault(i2(45894)); + class s extends a.default { + constructor(e3) { + super(e3, r.videoManager); } - _ttsInfoChanged(e3, t3) { - 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) { - } + get _globalTypeName() { + return "video"; } - _unhandledCallbackException(e3, t3, i3) { - let n3 = ""; - 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); + get displayTypeName() { + return "ArchValueVideo"; } - _processCallbackResult(e3, t3, i3, n3, r3) { - 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(); - })) : i3 && this._endSession(), n3; + get isArchValueVideo() { + return true; } - executeCallback(e3, t3, i3, n3, r3, o2) { - const a2 = o2 || "async processing for " + t3 + " complete."; - if (!i3) return e3.logNoteVerbose(a2), n3; - let s2; - try { - return arguments.length < 4 ? (e3.logNoteVerbose(a2 + " Calling callback function. Note: No parameter being passed to the callback function."), s2 = i3()) : (e3.logNoteVerbose(a2 + " Calling callback function."), s2 = i3(n3)), e3.logNoteVerbose(a2 + " Callback function execution complete."), this._processCallbackResult(e3, t3, r3, s2, a2); - } catch (i4) { - this._unhandledCallbackException(i4, e3, t3); - } + setLiteralByVideoIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("videoId", "setLiteralByVideoIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByVideoIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByVideoIdAsync", t3, this)); + }); } - _getDiscoveryProperties() { + setLiteralByVideoNameAsync(e3, t3) { 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 y.default.makeRequest("GET", e3, void 0, void 0, true); - a.loadProperties(t3), this.logNote("core environment discovery properties loaded."); + return this._checkItemIsValidLiteralString(this._infoParm("videoName", "setLiteralByVideoNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByVideoNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByVideoNameAsync", t3, this)); }); } - _getLocationInfo(e3, t3) { - 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; + } + t2.default = s; + }, 63668(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _setFactoryFlowStartupComplete() { - M.resolve(); + get _globalTypeName() { + return "videoCollection"; } - _startAndRun(e3, t3, i3, n3, u2, d2) { - var _2, h2, m2, g2; - switch (this._status) { - 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 c.default.SESSION_STATUSES.ended: - this.logNoteVerbose("restarting previously ended session."), o.resetAuthPromise(); - } - 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."), 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."; - 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("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 displayTypeName() { + return "ArchValueVideoCollection"; + } + get isArchValueVideoCollection() { + return true; + } + } + t2.default = o; + }, 71840(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get archSessionId() { - return a.archSessionId; + get _globalTypeName() { + return "voiceSnippet"; } - get authToken() { - return this._coreConfigured ? a.getAuthToken() : void 0; + get id() { + } + get startDateTime() { + } + get length() { } get displayTypeName() { - return "ArchSession"; + return "ArchValueVoiceSnippet"; } - end(e3) { - 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, p.default.cacheEnabled && p.default.showDiagnostics && p.default.logCacheStats()); - }); - })); + get isArchValueVoiceSnippet() { + return true; } - get endExitCode() { - return this._endExitCode; + } + t2.default = o; + }, 39554(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - set endExitCode(e3) { - const t3 = this._infoPropSet("newEndExitCode", "endExitCode"); - this._checkItemIsValidLiteralInt(t3, e3), this._checkItem(t3, 99 === e3, "The exit code of 99 cannot be set because it is reserved for use by Architect Scripting."), this.logNote("setting the session end exit code to " + e3), this._endExitCode = e3; + get _globalTypeName() { + return "wheelPicker"; } - get useRegionalHost() { - return this._useRegionalHost; + get displayTypeName() { + return "ArchValueWheelPicker"; } - set useRegionalHost(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("newUseRegionalHost", "useRegionalHost"), e3), this.logNote("setting the session useRegionalHost setting to " + e3), this._useRegionalHost = e3; + get isArchValueWheelPicker() { + return true; } - get endMode() { - return this._endMode; + get items() { + return this._getAssignableProperty("items"); } - set 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; + } + t2.default = o; + }, 51837(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(83663)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get endTerminatesProcess() { - return this._endTerminatesProcess; + get _globalTypeName() { + return "wheelPickerItem"; } - set endTerminatesProcess(e3) { - this._checkItemIsValidLiteralBool(this._infoPropSet("newValue", "endTerminatesProcess"), e3), this.logNote("setting the endTerminatesProcess to " + e3), this._endTerminatesProcess = e3; + get displayTypeName() { + return "ArchValueWheelPickerItem"; } - endWithLogout(e3) { - 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..."), w.disconnect(a.getAuthToken()).then(() => { - a.setAuthToken(void 0); - const e4 = a.getDisconnectUrl(); - E.open(e4), this.logNote("logged out."); - }).catch((e4) => this.logError("logout failure. Error: " + e4)).finally(() => this.end())) : this.end(); - }); - })); + get isArchValueWheelPickerItem() { + return true; } - get environment() { - return this._coreConfigured ? a.values.env : void 0; + get title() { + return this._getAssignableProperty("title"); } - get host() { - return this._coreConfigured ? a.values.host : void 0; + get value() { + return this._getAssignableProperty("value"); } - get isArchSession() { - return true; + setLiteralWheelPickerItem(e3, t3) { + this.title.setLiteralString(e3), t3 && this.value.setLiteralString(t3); } - get isConnected() { - return a.isConnected(); + } + t2.default = o; + }, 90961(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54757)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get logStr() { - const e3 = ["ArchSession"]; - this._appendLogStrEnvironment(e3, this.environment), this._appendLogStrHost(e3, this.host), this._appendLogStrRegion(e3, this.region), this._appendLogStrSessionId(e3, this.archSessionId); - const t3 = this.orgInfo; - return t3 && (t3.name && this._appendLogStrOrgName(e3, t3.name), t3.id && this._appendLogStrOrgId(e3, t3.id)), this._createLogStrFromParts(e3); + get _globalTypeName() { + return "wheelPickerItemCollection"; } - get orgId() { - return this.logDeprecatedPropertyWarning(this._infoPropGet("orgId"), "orgInfo", "Then access the id property off of the orgInfo to get the organization identifier."), this.orgInfo.id; + get displayTypeName() { + return "ArchValueWheelPickerItemCollection"; } - get orgName() { - return this.logDeprecatedPropertyWarning(this._infoPropGet("orgName"), "orgInfo", "Then access the name property off of the orgInfo to get the organization name."), this.orgInfo.name; + get isArchValueWheelPickerItemCollection() { + return true; } - get orgInfo() { - return this._organizationInfo; + } + t2.default = o; + }, 27381(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get region() { - return this._coreConfigured ? a.values.region : void 0; + get _globalTypeName() { + return "workbin"; } - startWithAuthToken(e3, t3, i3, n3, r3, o2) { - return this._checkItemIsValidFunction(this._infoParm("callbackFunctionStart", "startWithAuthToken"), t3), this._checkItemIsValidLiteralString(this._infoParm("authToken", "startWithAuthToken"), i3), n3 && this._checkItemIsValidFunction(this._infoParm("callbackFunctionEnd", "startWithAuthToken"), n3), this._checkItemIsValidLiteralBool(this._infoParm("isClientCredentialsAuthToken", "startWithAuthToken"), r3, true), this._checkItemIsValidJsonObject(this._infoParm("options", "startWithAuthToken"), o2, true), this._getLocationInfoAndStartAndRun(e3, t3, n3, { authToken: i3, isClientCredentialsAuthToken: r3 }, "startWithAuthToken", o2); + get id() { } - startWithClientIdAndSecret(e3, t3, i3, n3, o2, a2, s2) { - return this._checkItemIsValidFunction(this._infoParm("callbackFunctionStart", "startWithClientIdAndSecret"), t3), this._checkItemIsValidLiteralString(this._infoParm("clientId", "startWithClientIdAndSecret"), i3), this._checkItemIsValidLiteralString(this._infoParm("clientSecret", "startWithClientIdAndSecret"), n3), o2 && this._checkItemIsValidFunction(this._infoParm("callbackFunctionEnd", "startWithClientIdAndSecret"), o2), this._checkItemIsValidLiteralBool(this._infoParm("isClientCredentialsOAuthClient", "startWithClientIdAndSecret"), a2, true), this._checkItemIsValidJsonObject(this._infoParm("options", "startWithClientIdAndSecret"), s2, true), (r2.default.isUndefined(a2) || null === a2) && (a2 = false), this._getLocationInfoAndStartAndRun(e3, t3, o2, { clientId: i3, clientSecret: n3, isClientCredentialsClient: a2 }, "startWithClientIdAndSecret", s2); + get name() { } - _getLocationInfoAndStartAndRun(e3, t3, i3, n3, r3, o2) { - let a2; - try { - return a2 = this._getLocationInfo(e3, r3), this._startAndRun(a2, t3, i3, n3, r3, o2); - } catch (e4) { - this._endSessionWithReservedError(); - } + get divisionId() { } - get status() { - return this._status; + get displayTypeName() { + return "ArchValueWorkbin"; } - get cacheStats() { - return p.default.getCacheStats(); + get isArchValueWorkbin() { + return true; } - get isCacheEnabled() { - return p.default.cacheEnabled; + } + t2.default = o; + }, 53097(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(54063)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isShowCacheDiagnosticsEnabled() { - return p.default.showDiagnostics; + get _globalTypeName() { + return "workbinCollection"; + } + get displayTypeName() { + return "ArchValueWorkbinCollection"; + } + get isArchValueWorkbinCollection() { + return true; } } - t2.ArchSession = k; - const V = new k(); - t2.default = V; - }, 94241: (e2, t2, i2) => { + t2.default = o; + }, 39729(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), 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) === 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" : ""); + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _getCoreViewModelTyped() { - return this._getCoreViewModel(); + get _globalTypeName() { + return "workitem"; } - _getCoreViewModelJsonType() { - const e3 = this._getCoreViewModelTyped(); - if (null == e3 ? void 0 : e3.isJsonType) return e3; + get id() { } get name() { - return this._name; } - get logStr() { - if (!this._getCoreViewModel()) return this.logStrTypeOnly; - const e3 = []; - return this._appendLogStrLabel(e3, this.label), this._appendLogStrIsCollection(e3, this.isCollection), this._createLogStrFromParts(e3); + get assignee() { } - get displayTypeName() { - return "ArchDataType"; + get assignmentState() { } - get isAnAnyType() { - return !!this._getCoreViewModelTyped().isSupportedByAny; + get autoStatusTransition() { } - get isArchDataType() { - return true; + get customFields() { } - isAvailableForFlowType(e3) { - return this._ensureSessionIsConnected(this._infoMethod("isAvailableForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableForFlowType"), e3, o.default.FLOW_TYPES_ALL), !!this._getCoreViewModelTyped().isAvailableForFlowType(e3, true); + get dateCreated() { } - isAvailableForFlow(e3) { - return this._ensureSessionIsConnected(this._infoMethod("isAvailableForFlow"), a.default), this._checkItem(this._infoParm("archBaseFlow", "isAvailableForFlow"), !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), !!this._getCoreViewModel().isAvailableForFlow(e3, true); + get dateAssignmentStateChanged() { } - isAvailableAsInputForFlowType(e3) { - return this._ensureSessionIsConnected(this._infoMethod("isAvailableAsInputForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableAsInputForFlowType"), e3, o.default.FLOW_TYPES_ALL), !!this._getCoreViewModelTyped().isAvailableAsInputForFlowType(e3); + get dateDue() { } - isAvailableAsOutputForFlowType(e3) { - return this._ensureSessionIsConnected(this._infoMethod("isAvailableAsOutputForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isAvailableAsOutputForFlowType"), e3, o.default.FLOW_TYPES_ALL), !!this._getCoreViewModelTyped().isAvailableAsOutputForFlowType(e3); + get dateExpires() { } - get isCollection() { - var e3; - return !!(null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.isCollection); + get dateModified() { } - get isComplex() { - var e3; - return !!(null === (e3 = this._getCoreViewModelTyped()) || void 0 === e3 ? void 0 : e3.isComplex); + get dateStatusChanged() { } - get valueCanBeLiteral() { - return this._getCoreViewModelTyped().supportsLiteralEditor; + get dateClosed() { } - isScriptCreatableForFlowType(e3) { - return this._ensureSessionIsConnected(this._infoMethod("isScriptCreatableForFlowType"), a.default), this._checkItemIsValidLiteralStringEnum(this._infoParm("flowType", "isScriptCreatableForFlowType"), e3, o.default.FLOW_TYPES_ALL), this._getCoreViewModelTyped().isUserCreatableForFlowType(e3); + get description() { } - isScriptCreatableForFlow(e3) { - return this._ensureSessionIsConnected(this._infoMethod("isScriptCreatableForFlow"), a.default), this._checkItem(this._infoParm("archBaseFlow", "isScriptCreatableForFlow"), !e3 || !e3.isArchBaseFlow, "you must pass in a valid ArchBaseFlow instance."), this._getCoreViewModelTyped().isUserCreatableForFlow(e3._getCoreViewModel()); + get duration() { } - get label() { - return this._getCoreViewModelTyped().displayString; + get divisionId() { } - get isCustomJsonType() { - return !!this._getCoreViewModelTyped().isCustomType; + get externalContact() { } - get customJsonNamespace() { - var e3; - return this._checkMethodCallFeatureIsAvailable(this._infoPropGet("customJsonNamespace"), l.default.customJSONV2), (null === (e3 = this._getCoreViewModelJsonType()) || void 0 === e3 ? void 0 : e3.customTypeNamespace) || ""; + get externalTag() { } - getCustomJsonSchema() { - this._checkMethodCallFeatureIsAvailable(this._infoMethod("getCustomJsonSchema"), l.default.customJSONV2); - const e3 = this._getCoreViewModelJsonType(); - if (null == e3 ? void 0 : e3.isCustomType) { - const t3 = e3.getCustomDataTypeDefinition(); - return this.coreFactory.createArchWrapper(t3); - } + get languageSkill() { } - get id() { - return this._getCoreViewModelTyped().expressionType; + get modifiedBy() { } - get hasProperties() { - return this._getCoreViewModelTyped().hasProperties(); + get priority() { } - get hasPropertiesAndAllAreReadOnly() { - return this._getCoreViewModelTyped().hasPropertiesAndAllAreReadOnly; + get queue() { + } + get reporter() { + } + get scoredAgents() { + } + get skills() { + } + get status() { + } + get ttlDateTime() { + } + get typeId() { + } + get utilizationLabel() { + } + get version() { + } + get workbin() { + } + get displayTypeName() { + return "ArchValueWorkitem"; + } + get isArchValueWorkitem() { + return true; } } - t2.default = h; - }, 94335: (e2, t2, i2) => { - const n2 = i2(2444), r2 = i2(90807), o = i2(7401), { formActionType: a } = i2(30801), { ResponseLibrary: s } = i2(23436); - function l() { - Object.defineProperties(this, { _form: { writable: true }, _formCompletionTimeout: { writable: true }, _outputs: { writable: true }, _responseLibrary: { writable: true } }), this.formId = void 0, this.formName = void 0, l.baseConstructor.apply(this, arguments); - } - n2.extend(l, a, true), Object.defineProperties(l.prototype, { pasteReIdOrRename: { value: function(e3) { - l._super.pasteReIdOrRename.apply(this, arguments), this.formCompletionTimeout.pasteReIdOrRename(e3); - for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteReIdOrRename(e3); - } }, pasteResolveOldToNewValues: { value: function(e3) { - l._super.pasteResolveOldToNewValues.apply(this, arguments), this.formCompletionTimeout.pasteResolveOldToNewValues(e3); - for (let t3 = 0; t3 < this.outputs.length; t3++) this.outputs[t3].pasteResolveOldToNewValues(e3); - } }, formCompletionTimeout: { enumerable: true, get: function() { - return this._formCompletionTimeout; - }, set: function(e3) { - this._formCompletionTimeout = this.reviveItem(e3, o); - } }, outputs: { enumerable: true, get: function() { - return this._outputs; - }, set: function(e3) { - this._outputs = this.reviveArray(e3, r2); - } }, responseLibrary: { enumerable: true, get: function() { - return this._responseLibrary; - }, set: function(e3) { - this._responseLibrary = this.reviveItem(e3, s); - } } }), e2.exports = l; - }, 94380: (e2, t2, i2) => { + t2.default = o; + }, 56961(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(81574)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "currencyCollection"; + return "workitemEventData"; + } + get rule() { } get displayTypeName() { - return "ArchValueCurrencyCollection"; + return "ArchValueWorkitemEventData"; } - get isArchValueCurrencyCollection() { + get isArchValueWorkitemEventData() { return true; } } - t2.default = r2; - }, 94384: (e2, t2, i2) => { - const n2 = i2(24032), r2 = i2(36019).default, o = i2(21623), a = n2.getTopic("dialogEngineApi"); - class s { - } - s.prototype.getBot = function(e3) { - return r2.build(o.getBot).templateParams({ id: e3 }).call(); - }, s.prototype.getBot.api = o.getBot, s.prototype.getBots = function(e3) { - return r2.build(o.getBots).queryParams(e3.getSearchQueryParams()).call(); - }, s.prototype.getBots.api = o.getBots, s.prototype.getVersion = function(e3, t3) { - t3 && t3.additionalParams && t3.additionalParams.botId || a.errorWithStack(null, `No botId was included for dialogEngine.getVersion call with search params: ${JSON.stringify(t3)}`); - const i3 = { versionId: e3, botId: t3.additionalParams.botId }; - return r2.build(o.getVersion).templateParams(i3).call(); - }, s.prototype.getVersion.api = o.getVersion, e2.exports = new s(); - }, 94418: function(e2, t2, i2) { - !(function(e3) { - "use strict"; - var t3 = "stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017Adziernik_listopad_grudzie\u0144".split("_"), i3 = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015Bnia_pa\u017Adziernika_listopada_grudnia".split("_"), n2 = [/^sty/i, /^lut/i, /^mar/i, /^kwi/i, /^maj/i, /^cze/i, /^lip/i, /^sie/i, /^wrz/i, /^paź/i, /^lis/i, /^gru/i]; - function r2(e4) { - return e4 % 10 < 5 && e4 % 10 > 1 && ~~(e4 / 10) % 10 != 1; - } - function o(e4, t4, i4) { - var n3 = e4 + " "; - switch (i4) { - case "ss": - return n3 + (r2(e4) ? "sekundy" : "sekund"); - case "m": - return t4 ? "minuta" : "minut\u0119"; - case "mm": - return n3 + (r2(e4) ? "minuty" : "minut"); - case "h": - return t4 ? "godzina" : "godzin\u0119"; - case "hh": - return n3 + (r2(e4) ? "godziny" : "godzin"); - case "ww": - return n3 + (r2(e4) ? "tygodnie" : "tygodni"); - case "MM": - return n3 + (r2(e4) ? "miesi\u0105ce" : "miesi\u0119cy"); - case "yy": - return n3 + (r2(e4) ? "lata" : "lat"); - } - } - e3.defineLocale("pl", { months: function(e4, n3) { - return e4 ? /D MMMM/.test(n3) ? i3[e4.month()] : t3[e4.month()] : t3; - }, monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017A_lis_gru".split("_"), monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "niedziela_poniedzia\u0142ek_wtorek_\u015Broda_czwartek_pi\u0105tek_sobota".split("_"), weekdaysShort: "ndz_pon_wt_\u015Br_czw_pt_sob".split("_"), weekdaysMin: "Nd_Pn_Wt_\u015Ar_Cz_Pt_So".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" }, calendar: { sameDay: "[Dzi\u015B o] LT", nextDay: "[Jutro o] LT", nextWeek: function() { - switch (this.day()) { - case 0: - return "[W niedziel\u0119 o] LT"; - case 2: - return "[We wtorek o] LT"; - case 3: - return "[W \u015Brod\u0119 o] LT"; - case 6: - return "[W sobot\u0119 o] LT"; - default: - return "[W] dddd [o] LT"; - } - }, lastDay: "[Wczoraj o] LT", lastWeek: function() { - switch (this.day()) { - case 0: - return "[W zesz\u0142\u0105 niedziel\u0119 o] LT"; - case 3: - return "[W zesz\u0142\u0105 \u015Brod\u0119 o] LT"; - case 6: - return "[W zesz\u0142\u0105 sobot\u0119 o] LT"; - default: - return "[W zesz\u0142y] dddd [o] LT"; - } - }, sameElse: "L" }, relativeTime: { future: "za %s", past: "%s temu", s: "kilka sekund", ss: o, m: o, mm: o, h: o, hh: o, d: "1 dzie\u0144", dd: "%d dni", w: "tydzie\u0144", ww: o, M: "miesi\u0105c", MM: o, y: "rok", yy: o }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: "%d.", week: { dow: 1, doy: 4 } }); - })(i2(95093)); - }, 94434: (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" }; - }, 94449: (e2, t2, i2) => { - const n2 = i2(75458), r2 = i2(7401), { setUtilizationLabelActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _utilizationLabel: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.utilizationLabel.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.utilizationLabel.pasteReIdOrRename(e3); - } }, utilizationLabel: { enumerable: true, get: function() { - return this._utilizationLabel; - }, set: function(e3) { - this._utilizationLabel = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 94453: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.addBotFlowActions = function(e3) { - const t3 = e3.startUpObject; - let i3; - e3.botFlowSettings.nluDomainIntents.length && (i3 = t3.addAction(o.askForNLUIntentActionType), i3.createBranchesForAllNLUIntents().forEach((e4) => { - 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, 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), 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)) { - if (i3.entityTypeBindings) { - const r3 = e3.getBranch(t3.id); - null === (n3 = i3.entityTypeBindings) || void 0 === n3 || n3.forEach((e4) => { - r3 && m(r3.addAction(a.askForSlotActionType), e4); - }); - } else if (i3.entityNameReferences) { - const n4 = e3.getBranch(t3.id); - i3.entityNameReferences.forEach((t4) => { - const i4 = (function(e4, t5) { - if (e4.nluDomainEntities) return e4.nluDomainEntities.find((e5) => t5 === e5.name); - })(e3.parentFlow.botFlowSettings, t4); - i4 && n4 && m(n4.addAction(a.askForSlotActionType), i4); - }); - } - } - } - function m(e3, t3) { - const i3 = _(e3.parentFlow.defaultLanguage); - 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); - } - function g(e3, t3, i3) { - let n3; - switch (e3) { - case l.BuiltInEntityType.BuiltInAmountOfMoney: - n3 = i3 ? c.globalTypes.currencyCollection : c.globalTypes.currency; - break; - case l.BuiltInEntityType.BuiltInDate: - n3 = i3 ? c.globalTypes.dateCollection : c.globalTypes.date; - break; - case l.BuiltInEntityType.BuiltInDateTime: - n3 = i3 ? c.globalTypes.dateTimeCollection : c.globalTypes.dateTime; - break; - case l.BuiltInEntityType.BuiltInDuration: - n3 = i3 ? c.globalTypes.durationCollection : c.globalTypes.duration; - break; - case l.BuiltInEntityType.BuiltInInteger: - n3 = i3 ? c.globalTypes.integerCollection : c.globalTypes.integer; - break; - case l.BuiltInEntityType.BuiltInNumber: - n3 = i3 ? c.globalTypes.decimalCollection : c.globalTypes.decimal; - break; - case l.BuiltInEntityType.BuiltInTime: - n3 = i3 ? c.globalTypes.timeCollection : c.globalTypes.time; - break; - default: - n3 = t3 && t3.toLowerCase() === l.EntityTypeMechanismType.DynamicDateTime ? i3 ? c.globalTypes.timeslotCollection : c.globalTypes.timeslot : i3 ? c.globalTypes.stringCollection : c.globalTypes.string; - } - return n3; - } - function f(e3, t3, i3, n3, o2) { - let a2 = e3.nluMetaData.getSlotVariableForSlotName(t3); - return a2 && a2.type.isMatch(g(i3, n3, o2), r2.settings.exact) || (a2 = e3.botFlowSettings.createSlotVarForSlotName(t3, i3, n3, o2)), a2; - } - }, 94455: (e2, t2, i2) => { + t2.default = o; + }, 57855(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(81574)); class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.previousMenuActionType; + get _globalTypeName() { + return "workitemEventRule"; + } + get name() { } get displayTypeName() { - return this._scriptingName; + return "ArchValueWorkitemEventRule"; } - get isArchActionPreviousMenu() { + get isArchValueWorkitemEventRule() { return true; } } t2.default = o; - }, 94486: (e2, t2, i2) => { + }, 48880(e2, t2, i2) { "use strict"; - 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)), 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)); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = i2(71874), r = i2(71874), a = n2.__importDefault(i2(81574)); + class s extends a.default { + constructor(e3) { + super(e3); } - get collectionParent() { - return this._collectionParent; + get _globalTypeName() { + return "worktypeStatus"; } - addItem(e3) { - this._newCollectionItemAdded(e3), super.addItem(e3), this.options.itemAddedCallback && this.options.itemAddedCallback(e3); + get id() { + return this._getAssignableProperty("id"); } - _newCollectionItemAdded(e3) { - e3.parentList = this._collectionParent; - 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)); + get name() { + return this._getAssignableProperty("name"); } - destroyChild(e3) { - this._subscriptions[e3.id] && (this._subscriptions[e3.id].unsubscribe(), delete this._subscriptions[e3.id]), super.destroyChild(e3); + get category() { + return this._getAssignableProperty("category"); } - canMove(e3) { - return this._collectionParent.options.uiCanMoveItemCallback ? this._collectionParent.options.uiCanMoveItemCallback(e3) : super.canMove(e3); + get displayTypeName() { + return "ArchValueWorktypeStatus"; } - } - t2.CollectionExpressionList = p; - }, 94564: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.inboundEmailListManager = t2.InboundEmailListManager = void 0; - const n2 = i2(96618), r2 = i2(6109), o = i2(24032), a = i2(27862); - class s extends r2.FlowListManager { - get dependencyType() { - return a.InboundEmailFlow; + get isArchValueWorktypeStatus() { + return true; } - constructor() { - super(), this.topic = (0, o.getTopic)("inboundEmailListManager"), this.additionalQueryParams = { type: n2.flowTypes.flowTypeInboundEmail }, this.className = "InboundEmailListManager", this.flowType = n2.flowTypes.flowTypeInboundEmail, this._initialize(); + setLiteralWorktypeStatusById(e3) { + this._setLiteralWorktypeStatusInternal(e3, false); + } + setLiteralWorktypeStatusByName(e3) { + this._setLiteralWorktypeStatusInternal(e3, true); + } + _setLiteralWorktypeStatusInternal(e3, t3) { + const i3 = t3 ? "name" : "id", n3 = t3 ? "setLiteralWorktypeStatusByName" : "setLiteralWorktypeStatusById"; + null != e3 && "" !== e3 || this.logErrorAndThrow(`The supplied ${i3} provided for ${n3} may not be null or undefined.`); + const a2 = this._infoParm(i3, n3); + this._checkItemIsValidLiteralString(a2, e3); + const s2 = t3 ? (0, r.getWorktypeStatusByName)(e3, this._coreExpression.parentFlow) : (0, o.getWorktypeStatusById)(e3, this._coreExpression.parentFlow); + (null == s2 ? void 0 : s2.id) || this.logErrorAndThrow(`A worktype status with the supplied ${i3} cannot be found for the associated worktype. Worktype status ${i3}: ${e3}`), this._coreExpression.type.setPropertiesAsLiteralById(this._coreExpression, s2.id); } } - t2.InboundEmailListManager = s, t2.inboundEmailListManager = new s(); - }, 94604: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getKnowledgeSource = void 0; - const n2 = i2(31635).__importDefault(i2(36019)), r2 = i2(19760); - t2.getKnowledgeSource = n2.default.request("GET", "{public-api.apps}/api/v2/knowledge/sources/{id}", r2, { ignoreBadResponse: true }); - }, 94639: (e2, t2, i2) => { - const n2 = i2(28730), r2 = i2(7401), { setActiveIntentActionType: o } = i2(30801); - function a() { - Object.defineProperties(this, { _intent: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, o, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.intent.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.intent.pasteReIdOrRename(e3); - } }, intent: { enumerable: true, get: function() { - return this._intent; - }, set: function(e3) { - this._intent = this.reviveItem(e3, r2); - } } }), e2.exports = a; - }, 94681: (e2) => { - e2.exports = { askCommon: { invalidInputReceived: "Ez du balio.", noInputReceived: "Ez dut mezurik jaso." }, askForBoolean: { noInput: 'Esan "bai" jarraitu nahi baduzu edo "ez" ez baduzu jarraitu nahi.', noMatch: 'Esan "bai" ala "ez". Jarraitu nahi duzu?', question: "Jarraitu nahi duzu?", noInputDigitalBot: 'Idatzi "Bai" jarraitu nahi baduzu edo "Ez" ez baduzu jarraitu nahi.', noMatchDigitalBot: 'Idatzi "Bai" ala "Ez". Jarraitu nahi duzu?' }, askForIntent: { noInput: 'Esan zure eskaera azaltzen duen esaldi labur bat. Adibidez, "Ikusi nire kontuko saldoa"', noMatch: "Esan berriro zer egin nahi duzun.", question: "Zer egin nahi duzu?", noInputDigitalBot: 'Idatzi zure eskaera azaltzen duen esaldi labur bat. Adibidez, "Ikusi nire kontuko saldoa"' }, askForSlot: { askFor: "Eskatu %1$s", noInput: "Esan edo idatzi (jarri hemen zure slotaren izena).", noInputWithSlot: "Esan edo idatzi %1$s.", noMatch: "Eman (jarri hemen zure slotaren izena) berriro.", noMatchWithSlot: "Eman berriro %1$s.", question: "Zer da (jarri hemen zure slotaren izena)?", questionWithSlot: "Zer da %1$s?", pleaseEnterSlotNameHere: "(jarri hemen zure slotaren izena)", noInputDigitalBot: "Idatzi (jarri hemen zure slotaren izena).", noInputWithSlotDigitalBot: "Idatzi %1$s.", continuationPromptWithSlot: "Oraingoz {{Slot.%1$s}} d(it)ut, jarraitu." }, askForNextSlot: { noInput: 'Esan "bai" beste eskaera bat egiteko, edo "ez" deia bukatzeko.', noMatch: 'Esan "bai" beste eskaera bat egiteko, edo "ez" saioa bukatzeko.', question: "Beste zerbaitekin lagun zaitzaket?", noInputDigitalBot: 'Idatzi "Bai" beste eskaera bat egiteko edo "Ez" saioa bukatzeko.', noMatchDigitalBot: 'Idatzi "Bai" beste eskaera bat egiteko edo "Ez" saioa bukatzeko.' }, askForPayment: { noInputDigitalBot: "Jarraitzeko, adierazi zure ordainketa-informazioa.", noMatchDigitalBot: "Ez dut zure erantzuna ulertu. Saiatu berriro." }, askForAuthentication: { noInputDigitalBot: "Jarraitzeko, eman zure autentifikazio-informazioa.", noMatchDigitalBot: "Ez dut zure erantzuna ulertu. Saiatu berriro." }, askSurveyQuestion: { notApplicable: "Ezin da aplikatu", surveyAnswerOptionSequence: "Sakatu %1$s honetarako: '%2$s'.", surveyAnswerNotApplicableSequence: "Sakatu izarra Ez da aplikagarria aukeratu nahi baduzu.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Sakatu izarra Ez da aplikagarria aukeratu nahi baduzu.", voiceSurveyNoInputText: "Erantzun galderari.", voiceSurveyNoMatchText: "Ez zaitut ulertu." }, commonModule: { exitCommonModule: "Itxi modulu arrunta" }, form: { noInputDigitalBot: "Jarraitzeko, osatu galdetegia.", noMatchDigitalBot: "Jarraitzeko, osatu galdetegia." }, messagingTemplate: { noInputDigitalBot: "Mesedez, hautatu eskuragarri dauden aukeretako bat.", noMatchDigitalBot: "Mesedez, hautatu eskuragarri dauden aukeretako bat." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Egin aurrera", knowledgeAnswerHighlightFullArticleDefault: "Ikusi artikulu osoa", knowledgeInitialResponseMulti: "Zure helburua hobeto uler dezadan, hautatu hurrengo zerrendako zenbaki bat:", knowledgeInitialResponseMultiRetry: "Hautatu zenbaki bat, adibidez, '1'.\nHemen duzu aukeren zerrenda:", knowledgeNoMatch: "Horietako bat ere ez", knowledgeConfirmation: "Zure galderari erantzun diogu?", knowledgeFollowup: "Espero dut zure galderari erantzun izana. Zerbait gehiago jakin nahi baduzu, galdetu." }, noOverlay: { intent: { intentConfirmationStr1: "Hau nahi duzula uste dut:", intentConfirmationStr2: "Zuzena da?" }, youSaid: { youSaidConfirmationStr1: "Hau esan duzu:", youSaidConfirmationStr2: "Zuzena da?", youSaidConfirmationStr1DigitalBot: "Hau idatzi duzu:" }, noInput: { noInputStr1: "Esan edo idatzi", noInputStr1DigitalBot: "Idatzi" }, noMatch: { noMatchStr1: "Eman" }, whatIs: { whatIsQuestionStr1: "Zer da", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Oraingoz", iGotContinuationStr2: "d(it)ut, jarraitu." } }, defaultCallFlowOne: "Dei-fluxu lehenetsia", errorHandlingAgentEscalationConfirmation: "Aholkulari batekin hitz egin nahi duzu, ezta?", errorHandlingAgentEscalationHandover: "Itxaron pixka bat, mesedez, beste norbaitekin jarriko zaitut harremanetan.", errorHandlingErrorEventHandover: "Barkatu, errore bat egon da. Itxaron pixka bat, lagun zaitzakeen norbaitekin harremanetan jartzen zaitudan bitartean.", errorHandlingErrorEventHandoverVoiceSurvey: "Errore bat gertatu da. Hurrengora arte.", errorHandlingRecognitionEventHandover: "Barkatu, ez zaitut ulertzen. Itxaron pixka bat, lagun zaitzakeen norbaitekin harremanetan jartzen zaitudan bitartean.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Ulertzeko arazoak ditut. Hurrengora arte.", errorHandlingTTS: "Barkatu, errore bat egon da. Deitu berriro, mesedez.", initialGreetingTTS: "Kaixo, ongi etorri.", initialState: "Hasierako egoera", initialBotState: "Bot lehenetsia", initialDigitalBotState: "Ongi etorri", initialSurveyBotState: "Inkesta bot", intentConfirmation: "Hau nahi duzula uste dut: %1$s. Zuzena da?", mainMenu: "Menu nagusia", mainMenuTTS: "Menu nagusian zaude, sakatu 9 deskonektatzeko", mainTask: "Ataza", settingsConfirmationNoInputApology: "Barkatu, ez zaitut entzun. Esan bai ala ez.", settingsConfirmationNoInputApologyDigitalBot: 'Barkatu, ez dut zure mezurik jaso. Idatzi"Bai" ala "Ez".', settingsConfirmationNoMatchApology: "Barkatu, esan bai ala ez.", settingsConfirmationNoMatchApologyDigitalBot: 'Barkatu, idatzi "Bai" ala "Ez".', settingsNoInputApology: "Barkatu, ez zaitut entzun.", settingsNoInputApologyDigitalBot: "Barkatu, ez dut zure mezurik jaso.", settingsEndOfSessionMessageDigitalBot: "Aspaldian ez dut zure mezurik jaso; beraz, txat hau itxiko dut. Zerbait behar izanez gero, jarri harremanetan.", settingsNoMatchApology: "Barkatu.", settingsNoToConfirmationApology: "Nire errua izan da.", periodicStateName: "Egoera errepikakorra" }; - }, 94684: (e2, t2, i2) => { + t2.default = s; + }, 29268(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(93523)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(54063)); class o extends n2.default { constructor(e3) { super(e3); } - get _actionTypeId() { - return r2.getJourneySegmentActionType; + get _globalTypeName() { + return "worktypeStatusCollection"; } get displayTypeName() { - return this._scriptingName; + return "ArchValueWorktypeStatusCollection"; } - get isArchActionGetJourneySegment() { + get isArchValueWorktypeStatusCollection() { return true; } - get findResult() { - return this._findResult; - } } t2.default = o; - }, 94705: (e2, t2, i2) => { + }, 99163(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(65305)), a = i2(30801), s = n2.__importDefault(i2(78432)), l = i2(68038); - class u extends o.default { + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(92158), a = n2.__importDefault(i2(45894)); + class s extends a.default { constructor(e3) { - super(e3), this._cases = this.coreFactory.createArchWrapper(this._getCoreViewModel().cases); - } - get _actionTypeId() { - return a.switchActionActionType; - } - addCase() { - this._checkItem(this._infoMethod("addCase"), this._cases.length === this.caseCountMax, `You cannot add a case because it would make the case count greater than the maximum allowed of ${this.caseCountMax}.`); - const e3 = this._getCoreViewModel(); - return this.logNoteVerbose("adding new case."), e3.addCase(), this.logNote(`new case added at index ${e3.cases.length - 1}.`), this.coreFactory.createArchWrapper(this._cases.getNamedValueByIndex(this._cases._getCoreViewModel().items.length - 1).value._getCoreViewModel()); - } - get caseCount() { - return this._getCoreViewModel().cases.length; - } - get caseCountMax() { - return 64; - } - get caseCountMin() { - return 1; + super(e3, r.wrapupCodeManager); } - deleteCaseByIndex(e3) { - const t3 = this._infoPropSet("index", "deleteCaseByIndex"); - this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, e3 < 0 || e3 >= this._cases.length, "the index parameter value of " + e3 + " is invalid. It must be >=0 and <" + this._cases.length + "."), this._checkItem(t3, this._cases.length === this.caseCountMin, `You cannot delete case at index ${e3} because it would make the case count less than the minimum required of ${this.caseCountMin}.`), this.logNoteVerbose(`deleting case at index: ${e3}.`), this._getCoreViewModel().deleteCase(this._cases._getCoreViewModel().items[e3]), this.logNote(`deleted the case at index ${e3}.`); + get _globalTypeName() { + return "wrapupCode"; } get displayTypeName() { - return this._scriptingName; - } - get evaluationStyle() { - switch (this._coreActionViewModel.switchStyle) { - case l.SwitchStyles.firstTrueCase: - return s.default.SWITCH_EVALUATION_STYLES.matchFirstTrue; - case l.SwitchStyles.matchExpression: - return s.default.SWITCH_EVALUATION_STYLES.matchExpression; - default: - this._logErrorInternalAndThrow("unknown evaluation style on core switch action."); - } - } - getCaseValue(e3) { - const t3 = this._infoParm("index", "getCaseValue"); - return this._checkItemIsValidLiteralInt(t3, e3, false), this._checkItem(t3, e3 < 0 || e3 >= this._cases.length, "the index parameter value of " + e3 + " is invalid. It must be >=0 and <" + this._cases.length + "."), this.coreFactory.createArchWrapper(this._cases.getNamedValueByIndex(e3).value._coreExpression); + return "ArchValueWrapupCode"; } - get isArchActionSwitch() { + get isArchValueWrapupCode() { return true; } - setExpressionSwitch(e3, t3) { - this._checkItemIsValidLiteralString(this._infoParm("expressionText", "setExpressionSwitch"), e3); - const i3 = this._infoParm("caseExpressionOrExpressions", "setExpressionSwitch"); - this._checkItemIsValidLiteralStringOrStringArray(i3, t3, true), r2.default.isArray(t3) && this._checkItem(this._infoParm("caseExpressionOrExpressions", "setExpressionSwitch"), t3.length > this.caseCountMax, "If specifying a case expression array, the maximum number of case expression strings is " + this.caseCountMax); - const n3 = this._getCoreViewModel(); - n3.switchStyle = l.SwitchStyles.matchExpression, this.coreFactory.createArchValueFromExpression(n3.expression).setExpression(e3); - const o2 = this.switchDataType, a2 = this._infoVal("", "setExpressionSwitch"); - if (this._checkItem(a2, !o2, "a resulting data type could not be determined from the expression text"), this._checkItem(a2, !o2.isScriptCreatableForFlow(this.parentFlow), "the resulting data type of " + o2 + " from the expression text is not script creatable for one of the flow types '" + this._getCoreViewModel().parentFlow.destinationFlowTypes.join(",") + "' so it cannot be used."), n3.expression.type = o2._getCoreViewModel(), r2.default.isArray(t3)) { - const e4 = t3.length ? t3.length : 1; - if (n3.cases.length !== e4) { - for (this.logNoteVerbose(`updating the switch action to have ${e4} case${1 === e4 ? "" : "s"} in addition to the Default case.`); n3.cases.length > e4; ) this.deleteCaseByIndex(n3.cases.length - 1); - for (; n3.cases.length < e4; ) this.addCase(); - } - } - let s2; - if (this.logNote(`the switch action has ${n3.cases.length} case${1 === n3.cases.length ? "" : "s"} in addition to the Default case.`), this.logNote(`the switch expression will be switching at runtime based on the data type ${o2.logStr}.`), n3.updateCaseTypes(o2._getCoreViewModel(), true), r2.default.isString(t3) && t3.length) for (this.logNote(`setting all cases to the expression text '${t3}'`), s2 = 0; s2 < this._cases.length; s2++) this.getCaseValue(s2).setExpression(t3); - else if (r2.default.isArray(t3)) if (t3.length) for (s2 = 0; s2 < t3.length; s2++) r2.default.isUndefined(t3[s2]) || null === t3[s2] ? (this.logNote(`setting case at index ${s2} to noValue ( no value specified ) since the caseExpressionOrExpressions array at index ${s2} is null or undefined.`), this.getCaseValue(s2).setNoValue()) : (this.logNote(`setting case at index ${s2} to '${t3[s2]}'.`), this.getCaseValue(s2).setExpression(t3[s2])); - else this.logNote("setting case at incex 0 to no value ( no value specified ) since the caseExpressionOrExpressions array is empty."), this.getCaseValue(0).setNoValue(); - return o2; - } - setFirstTrueSwitch() { - this._coreActionViewModel.switchStyle = l.SwitchStyles.firstTrueCase, this._coreActionViewModel.expression.resetToDefaultValue(); - const e3 = this.switchDataType; - this.logNote(`the switch expression will be switching at runtime based on the data type ${e3.logStr}.`), this._coreActionViewModel.updateCaseTypes(e3._getCoreViewModel(), true); - for (let e4 = 0; e4 < this._cases.length; e4++) this.getCaseValue(e4).setLiteralFalse(); - return e3; + setLiteralByWrapupCodeIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeId", "setLiteralByWrapupCodeIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByWrapupCodeIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByWrapupCodeIdAsync", t3, this)); + }); } - get switchDataType() { - const e3 = this._coreActionViewModel.expression; - return this.evaluationStyle === s.default.SWITCH_EVALUATION_STYLES.matchFirstTrue ? this.coreFactory.createArchWrapper(e3.parentFlow).dataTypes.boolean : e3 && e3.model && e3.model.config && !e3.type.isAny ? this.coreFactory.createArchWrapper(e3.type) : void 0; + setLiteralByWrapupCodeNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeName", "setLiteralByWrapupCodeNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByWrapupCodeNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => o.default.executeCallback(this, "setLiteralByWrapupCodeNameAsync", t3, this)); + }); } } - t2.default = u; - }, 94708: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.SequenceError = void 0; - var n2 = i2(9619); - t2.SequenceError = n2.createErrorClass(function(e3) { - return function(t3) { - e3(this), this.name = "SequenceError", this.message = t3; - }; - }); - }, 94729: (e2, t2, i2) => { + t2.default = s; + }, 60843(e2, t2, i2) { "use strict"; - var n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PromptResource = void 0; - const o = i2(31635), a = i2(19596), s = i2(80295), l = i2(80295); - class u extends a.DataContract { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(94225)), r = i2(92158), a = n2.__importDefault(i2(40559)); + class s extends a.default { 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"), (0, l.makeUnenumerable)(this, "_audioFormat"); - } - get durationSeconds() { - return this._durationSeconds; - } - set durationSeconds(e3) { - this._durationSeconds = e3; - } - set duration(e3) { - this._durationSeconds = e3; - } - get hasDefault() { - return this._hasDefault; - } - set hasDefault(e3) { - this._hasDefault = e3; - } - get language() { - return this._language; - } - set language(e3) { - this._language = e3; - } - get mediaUri() { - return this._mediaUri; - } - set mediaUri(e3) { - this._mediaUri = e3; - } - get name() { - return this._name; - } - set name(e3) { - this._name = e3; - } - get displayName() { - return this._name; - } - set displayName(e3) { - this._name = e3; + super(e3, r.wrapupCodeManager); } - get promptId() { - return this._promptId; + get _globalTypeName() { + return "wrapupCodeCollection"; } - set promptId(e3) { - this._promptId = e3; + get displayTypeName() { + return "ArchValueWrapupCodeCollection"; } - get text() { - return this._text; + get _searchByValueSearchProperty() { + return "name"; } - set text(e3) { - this._text = e3; + addLiteralByWrapupCodeIdAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeId", "addLiteralByWrapupCodeIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByWrapupCodeIdAsync"), t3, true), this._addLiteralByIdAsync(e3, "wrapupCode").then(() => o.default.executeCallback(this, "addLiteralByWrapupCodeIdAsync", t3, this)); + }); } - get textAvailable() { - return !!this._text; + addLiteralByWrapupCodeNameAsync(e3, t3) { + return n2.__awaiter(this, void 0, void 0, function* () { + return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeName", "addLiteralByWrapupCodeNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "addLiteralByWrapupCodeNameAsync"), t3, true), this._addLiteralByValueAsync(e3, "wrapupCode").then(() => o.default.executeCallback(this, "addLiteralByWrapupCodeNameAsync", t3, this)); + }); } - get ttsString() { - return this._ttsString; + get isArchValueWrapupCodeCollection() { + return true; } - set ttsString(e3) { - this._ttsString = e3; + } + t2.default = s; + }, 91734(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(97847)), r = 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)), I = n2.__importDefault(i2(39148)), C = n2.__importDefault(i2(7658)), O = 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)), q = n2.__importDefault(i2(51236)), W = 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)), oe = n2.__importDefault(i2(90366)), re = 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)), Ie = n2.__importDefault(i2(83566)), Ce = n2.__importDefault(i2(56248)), Oe = 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)), qe = n2.__importDefault(i2(22488)), We = 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)), ot = n2.__importDefault(i2(53908)), rt = 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)), It = n2.__importDefault(i2(60061)), Ct = n2.__importDefault(i2(28817)), Ot = 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)), qt = n2.__importDefault(i2(8833)), Wt = 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)), oi = n2.__importDefault(i2(15138)), ri = 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)), Ii = n2.__importDefault(i2(50504)), Ci = n2.__importDefault(i2(60725)), Oi = 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: o.default, ArchValueAgentScorePair: s.default, ArchValueAgentScorePairCollection: l.default, ArchNamedValue: r.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: C.default, ArchValueContactList: E.default, ArchValueChatGuest: A.default, ArchValueChatGuestCollection: N.default, ArchValueChoice: v.default, ArchValueChoiceCollection: I.default, ArchValueCommunication: O.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: q.default, ArchValueDivisionCollection: W.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: oe.default, ArchValueExternalAppleInfo: re.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: Ie.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: Ce.default, ArchValueExternalLinkConfigurationCollection: Oe.default, ArchValueFile: ke.default, ArchValueFileCollection: Ve.default, ArchValueFormInput: Ue.default, ArchValueGrammar: Be.default, ArchValueGrammarCollection: Ge.default, ArchValueGroup: je.default, ArchValueGroupCollection: qe.default, ArchValueImage: We.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: ot.default, ArchValueJourneyCustomEventAttributeListCollection: rt.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: It.default, ArchValueJsonCollection: Ct.default, ArchValueKnowledgeBaseDocument: Ot.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: qt.default, ArchValuePromptCollection: Wt.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: oi.default, ArchValueSkill: ri.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: Ii.default, ArchValueUtilizationLabel: Ci.default, ArchValueUtilizationLabelCollection: Oi.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; + }, 41264(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get ttsAvailable() { - return !!this._ttsString; + get _globalTypeName() { + return "agentScorePair"; } - get tags() { - return this._tags; + get initialValue() { + return this._initialValue; } - set tags(e3) { - this._tags = e3; + get displayTypeName() { + return "ArchVariableAgentScorePair"; } - get uploadStatus() { - return this._uploadStatus; + get isArchVariableAgentScorePair() { + return true; } - set uploadStatus(e3) { - this._uploadStatus = e3; + } + t2.default = o; + }, 75700(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get uploadUri() { - return this._uploadUri; + get _globalTypeName() { + return "agentScorePairCollection"; } - set uploadUri(e3) { - this._uploadUri = e3; + get initialValue() { + return this._initialValue; } - get audioFormat() { - return this._audioFormat; + get displayTypeName() { + return "ArchVariableAgentScorePairCollection"; } - set audioFormat(e3) { - this._audioFormat = e3; + get isArchVariableAgentScorePairCollection() { + return true; } } - 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) { - r2[e3] = this, r2[t3] = this, o.baseConstructor.apply(this, arguments); - } - n2.extend(o, "DialNameMatchType"), o.getInstance = function(e3) { - return r2[e3 || 0] || r2[0]; - }, o.FirstName = new o(0, "FirstName"), o.LastName = new o(1, "LastName"), o.FirstOrLastName = new o(2, "FirstOrLastName"), e2.exports = o; - }, 94765: (e2, t2, i2) => { + t2.default = o; + }, 88067(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionType = void 0, t2.isCollectionType = function(e3) { - return e3.isExpressionType && e3.isCollection; - }, 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(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: 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); - } - getDisplayString(e3) { - return this.displayString; - } - get className() { - return "ExpressionType"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _syncHasPropertyAndReadOnlyFromProperties() { - this._hasProperties = !a.default.isEmpty(this.properties), this._hasProperties ? this._allPropertiesAreReadOnly = !Object.values(this.properties).find((e3) => !e3.isReadOnly) : this._allPropertiesAreReadOnly = false; + get _globalTypeName() { + return "assignedCustomerIntent"; } - get hasPropertiesAndAllAreReadOnly() { - return this._syncHasPropertyAndReadOnlyFromProperties(), this._hasProperties && this._allPropertiesAreReadOnly; + get displayTypeName() { + return "ArchVariableAssignedCustomerIntent"; } - get model() { - return this._model; + get initialValue() { + return this._initialValue; } - set model(e3) { - console.log("nope"); + get isArchVariableAssignedCustomerIntent() { + return true; } - get isCustomType() { - return false; + } + t2.default = o; + }, 20275(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get customTypeInfo() { + get _globalTypeName() { + return "assignedCustomerIntentCollection"; } - get customTypeNamespace() { + get displayTypeName() { + return "ArchVariableAssignedCustomerIntentCollection"; } - get customTypeNamespaceLabel() { + get initialValue() { + return this._initialValue; } - get isJsonType() { - return false; + get isArchVariableAssignedCustomerIntentCollection() { + return true; } - get isCustomTypeArchitectBuiltIn() { - return false; + } + t2.default = o; + }, 98348(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get listManager() { - return null; + get _globalTypeName() { + return "assignedCustomerSegment"; } - getListManagerForExpression(e3) { - return this.listManager; + get displayTypeName() { + return "ArchVariableAssignedCustomerSegment"; } - _getIsEnabledForFeatureConfigInfo(e3) { - if (!a.default.isObject(e3)) return false; - 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 || _.isFeatureAvailable(e3.featureConfigName2); + get initialValue() { + return this._initialValue; } - _getStaticSupportedFlowTypes(e3) { - if (!e3 || !this.model.support.supportedFlowTypes) 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 && h.isDisabled(t3.featureToggleName) || !this._getIsEnabledForFeatureConfigInfo(t3)) ? void 0 : this.model.support.supportedFlowTypes[e3]; + get isArchVariableAssignedCustomerSegment() { + return true; } - isAvailableAsInputOrOutputForFlowType(e3, t3) { - var i3; - 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; - const o2 = "flowInput" === t3; - let s2; - if (s2 = this.isCollection && o2 ? r3.inputColl : this.isCollection ? r3.outputColl : o2 ? r3.inputOne : r3.outputOne, a.default.isObject(s2)) { - const t4 = s2[e3]; - if (a.default.isObject(t4)) return t4.isAvailable; - } - return false; - } - { - const i4 = this._getStaticSupportedFlowTypes(e3); - return i4 && void 0 !== i4[t3 + (this.isCollection ? "Collection" : "Singleton")]; - } + } + t2.default = o; + }, 70728(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get collectionType() { - return this.isCollection ? this : w.default.getType(this.parentFlow, this.dataType, true); + get _globalTypeName() { + return "assignedCustomerSegmentCollection"; } - getLiteralValueOfExpression(e3) { - return (null == e3 ? void 0 : e3.isExpressionMode) || (null == e3 ? void 0 : e3.isBuilderMode) ? this._getLiteralValueOfExpression(e3) : ""; + get displayTypeName() { + return "ArchVariableAssignedCustomerSegmentCollection"; } - _getLiteralValueOfExpression(e3) { - return (null == e3 ? void 0 : e3.text) || ""; + get initialValue() { + return this._initialValue; } - get expressionType() { - return this.isCollection ? this.dataType + S.default.exprDataTypeSuffixCollection : this.dataType; + get isArchVariableAssignedCustomerSegmentCollection() { + return true; } - get expressionTypeBase() { - return (this.isCollection ? this.dataTypeBase + S.default.exprDataTypeSuffixCollection : this.dataTypeBase) || this.dataType; + } + t2.default = o; + }, 8081(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - createExpressionOptionClass() { - return this === this.collectionType && this !== this.singletonType ? this.singletonType.createExpressionOptionClass().setIsCollection(true) : new d.ExpressionTypelessOptions(this.isCollection); + get _globalTypeName() { + return "boolean"; } - get dataType() { - return this.model.support.expressionDataType; + get displayTypeName() { + return "ArchVariableBoolean"; } - get dataTypeBase() { - return this.model.support.expressionBaseDataType; + get initialValue() { + return this._initialValue; } - get isCustomizablePerFlow() { - return !!this.model.support.isCustomizablePerFlow; + get isArchVariableBoolean() { + return true; } - get displayString() { - if (void 0 === this._displayString) { - const e3 = A.default[this.typeCode]; - this._displayString = this.isCollection ? (0, o.sprintf)(F.expression.collection, e3) : e3; - } - return this._displayString; + } + t2.default = o; + }, 26461(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get featureConfigName() { - return this.model.support.featureConfigName; + get _globalTypeName() { + return "booleanCollection"; } - get featureConfigName2() { - return this.model.support.featureConfigName2; + get displayTypeName() { + return "ArchVariableBooleanCollection"; } - get featureToggleName() { - return this.model.support.featureToggleName; + get initialValue() { + return this._initialValue; } - get icwsType() { - return this.model.support.classType; + get isArchVariableBooleanCollection() { + return true; } - get inheritedType() { - const e3 = this.model.support.expressionBaseDataType || this.dataType; - return w.default.getType(this.parentFlow, e3); + } + t2.default = o; + }, 1667(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isAbstract() { - return !!this.model.isAbstract; + get _globalTypeName() { + return "card"; } - get allowLiteralSelect() { - return !!this.model.allowLiteralSelect && (!this.model.allowLiteralSelectFeatureConfig || _.isFeatureAvailable(this.model.allowLiteralSelectFeatureConfig)); + get initialValue() { + return this._initialValue; } - get isAny() { - return this.dataType === C.globalTypes.any.dataType; + get displayTypeName() { + return "ArchVariableCard"; } - get isAnyComplex() { - return this.dataType === C.globalTypes.anyComplex.dataType; + get isArchVariableCard() { + return true; } - get isAnyPromptOrAudio() { - return "apa" === this.dataType; + } + t2.default = o; + }, 48659(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isComplex() { - return this.dataType.substring(0, 3) === S.default.exprDataTypePrefixComplex; + get _globalTypeName() { + return "cardCollection"; } - isAvailableForFlowType(e3, t3) { - 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; - } - return this._isAvailableForFlowType(e3, t3); + get initialValue() { + return this._initialValue; } - _isAvailableForFlowType(e3, t3) { - if (!p.bootstrapService.dataTypes) return void 0 !== this._getStaticSupportedFlowTypes(e3); - { - const t4 = this.bootstrapDataType, i3 = p.bootstrapService.dataTypes[t4]; - if (i3) return i3.flowTypes[e3] && i3.flowTypes[e3].isAvailable; - } + get displayTypeName() { + return "ArchVariableCardCollection"; } - get bootstrapDataType() { - return this.dataType; + get isArchVariableCardCollection() { + return true; } - isAvailableForFlow(e3) { - return e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)); + } + t2.default = o; + }, 72183(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - isAvailableForExpressionsFlowTypes(e3) { - return !this.getFlowTypesUnavailableForExpression(e3); + get _globalTypeName() { + return "carousel"; } - getFlowTypesUnavailableForExpression(e3) { - if (!e3 || !e3.parentFlow) return; - const t3 = e3.parentFlow.destinationFlowTypes.filter((e4) => !this.isAvailableForFlowType(e4)); - return t3.length ? t3 : void 0; + get initialValue() { + return this._initialValue; } - isAvailableAsInputForFlowType(e3) { - return this.isAvailableAsInputOrOutputForFlowType(e3, "flowInput"); + get displayTypeName() { + return "ArchVariableCarousel"; } - isAvailableAsOutputForFlowType(e3) { - return this.isAvailableAsInputOrOutputForFlowType(e3, "flowOutput"); + get isArchVariableCarousel() { + return true; } - get isEnum() { - return !!this.model.isEnum; + } + t2.default = o; + }, 76217(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isEnumContainer() { - return !!this.model.isEnumContainer; + get _globalTypeName() { + return "choice"; } - get isEnumOrEnumContainer() { - return this.isEnum || this.isEnumContainer; + get initialValue() { + return this._initialValue; } - get isExpressionType() { - return true; + get displayTypeName() { + return "ArchVariableChoice"; } - get isNotSet() { - return this.dataType === C.globalTypes.notSet.dataType; + get isArchVariableChoice() { + return true; } - get isSupportedByAny() { - return this.model.support.isSupportedByAny; + } + t2.default = o; + }, 42150(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get propertiesAllowAssignment() { - return this.model.propertiesAllowAssignment; + get _globalTypeName() { + return "choiceCollection"; } - get additionalPropertiesAreManaged() { - var e3; - return this.model.additionalProperties && !!(null === (e3 = this.model) || void 0 === e3 ? void 0 : e3.additionalPropertiesAreManaged); + get initialValue() { + return this._initialValue; } - isUserCreatableForFlowType(e3) { - return this.model.support.userCanCreate && this.isAvailableForFlowType(e3); + get displayTypeName() { + return "ArchVariableChoiceCollection"; } - isUserCreatableForFlow(e3) { - return this.model.support.userCanCreate && this.isAvailableForFlow(e3); + get isArchVariableChoiceCollection() { + return true; } - get properties() { - return this.isCollection ? {} : this.singletonProperties; + } + t2.default = o; + }, 87644(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - globalMatchingTypes() { - return w.default.getGlobalMatchingTypes(this); + get _globalTypeName() { + return "chooser"; } - get singletonType() { - return this.isCollection ? w.default.getType(this.parentFlow, this.dataType, false) : this; + get initialValue() { + return this._initialValue; } - startupConnectedAndReady() { - 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 = 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 displayTypeName() { + return "ArchVariableChooser"; } - get supportsLiteralEditor() { + get isArchVariableChooser() { return true; } - get supportsPlutusResponseAssets() { - return false; + } + t2.default = o; + }, 81912(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getPlutusMaxUploadSizeMegabytes() { + get _globalTypeName() { + return "chooserCollection"; } - getPlutusMimeTypes() { + get initialValue() { + return this._initialValue; } - getPlutusSupportedFileExtensions() { + get displayTypeName() { + return "ArchVariableChooserCollection"; } - getPlutusMediaPlaceholderText() { + get isArchVariableChooserCollection() { + return true; } - getPlutusSupportedFileTypesText() { + } + t2.default = o; + }, 63417(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get typeCode() { - return this.model.name; + get _globalTypeName() { + return "communication"; } - get version() { - return this.model.support.version; + get displayTypeName() { + return "ArchVariableCommunication"; } - get yamlLiteralWrapperString() { - return "name"; + get initialValue() { + return this._initialValue; } - get yamlTypeName() { - 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); + get isArchVariableCommunication() { + return true; } - _addPropertyFromModel(e3, t3) { - if (!e3) return; - const i3 = new b.PropertyDefinition(this.parentFlow, e3, t3); - return this.properties[i3.name.toLocaleLowerCase()] = i3, this.expressionTextPropToName[i3.expressionText.toLocaleLowerCase()] = i3.name, i3; + } + t2.default = o; + }, 50565(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - hasProperties() { - return this._hasProperties; + get _globalTypeName() { + return "communicationCollection"; } - get hasAtLeastOneWritableProperty() { - return this._syncHasPropertyAndReadOnlyFromProperties(), this.hasProperties() && !this._allPropertiesAreReadOnly; + get displayTypeName() { + return "ArchVariableCommunicationCollection"; } - get supportsLiteralCustomJsonInput() { - return this.isCustomType || this.hasProperties() && this._supportsLiteralCustomJsonInput; + get initialValue() { + return this._initialValue; } - get _supportsLiteralCustomJsonInput() { - return false; + get isArchVariableCommunicationCollection() { + return true; } - _addProperty(e3, t3, i3, n3, r3, o2) { - const a2 = { id: e3, isCollection: !!o2, name: t3, type: i3, version: r3 }; - return this._addPropertyFromModel(a2, n3); + } + t2.default = o; + }, 238(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - hydratePropertiesFromDataTypeDefViewModel(e3) { - if (null == e3 ? void 0 : e3.hasProperties) for (const t3 of e3.propertiesSnapshot) this.hydratePropertyFromDataTypeDefViewModel(t3); + get _globalTypeName() { + return "currency"; } - hydratePropertyFromDataTypeDefViewModel(e3) { - if (!e3) return; - 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); + get displayTypeName() { + return "ArchVariableCurrency"; } - canConvertLitToExpression(e3) { + get initialValue() { + return this._initialValue; + } + get isArchVariableCurrency() { return true; } - convertLitToExpression(e3, t3, i3, n3) { - return t3 || ""; + } + t2.default = o; + }, 1454(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - convertCollectionLiteralToExpression(e3, t3) { - return null; + get _globalTypeName() { + return "currencyCollection"; } - getCollectionItemLiteralText(e3) { - return e3.getEmbeddableExpressionText(); + get displayTypeName() { + return "ArchVariableCurrencyCollection"; } - convertLitToCustomJsonStr(e3, t3, i3, n3) { - if (this.listManager) return `[[${t3 || i3 || ""}]]`; - if (this.canConvertLitToExpression(e3)) { - const r3 = this.convertLitToExpression(e3, t3, i3, n3); - return (null == r3 ? void 0 : r3.length) ? `{{ ${r3} }}` : "{{}}"; - } - return "{{}}"; + get initialValue() { + return this._initialValue; } - destroy() { + get isArchVariableCurrencyCollection() { + return true; } - destroyInstance(e3) { + } + t2.default = o; + }, 67355(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getAvailableExpressionBuilders(e3, t3, i3) { - return y.default.getAvailableBuilderDefinitions(this, e3, t3, i3); + get _globalTypeName() { + return "CustomerIntent"; } - getConversionText() { - const e3 = this.singletonType.getDefaultImplicitConversionFunc(C.globalTypes.notSet); - return e3 ? e3.text : ""; + get displayTypeName() { + return "ArchVariableCustomerIntent"; } - getDefaultImplicitConversionFunc(e3) { - if (!e3) return null; - this._defaultImplicitTypeCastFuncs || (function(e4) { - e4._defaultImplicitTypeCastFuncs = {}; - 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, 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 ? C.globalTypes.any.collectionType.expressionType : C.globalTypes.any.expressionType] : null); + get initialValue() { + return this._initialValue; } - getDisplayStrForExpressionDataType(e3) { - if (!a.default.isString(e3) || 0 === e3.length) return; - let t3 = false; - 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 = A.default[i3.name]; - return a.default.isString(n3) && 0 !== n3.length ? t3 ? (0, o.sprintf)(F.expression.collection, n3) : n3 : void 0; + get isArchVariableCustomerIntent() { + return true; } - getIconGux() { - return this.getArchIcon(); + } + t2.default = o; + }, 6475(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _getCustomDataTypeDefinition(e3, t3) { - if (!this.isCustomType) return; - if (e3[this.dataType]) return; - 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; - const a2 = r3.createDataTypeDef(); - i3.addProperty(a2), t3 && (null === (o2 = r3.type) || void 0 === o2 ? void 0 : o2.isCustomType) && r3.type._getCustomDataTypeDefinition(e3, t3); - }); + get _globalTypeName() { + return "CustomerIntentCollection"; } - getCustomDataTypeDefinition() { - var e3; - if (this.isCollection) { - 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); - if (e4) return e4; - } - const t3 = {}; - return this._getCustomDataTypeDefinition(t3), Object.values(t3)[0]; + get displayTypeName() { + return "ArchVariableCustomerIntentCollection"; } - getCustomDataTypeDefinitions(e3) { - const t3 = {}; - return this._getCustomDataTypeDefinition(t3, e3), Object.values(t3); + get initialValue() { + return this._initialValue; } - getPathedTypeAdjacencyList(e3, t3) { - return e3 || (e3 = {}), e3[t3 || "."] = this, this.properties && Object.entries(this.properties).forEach(([i3, n3]) => { - const r3 = t3 ? `${t3}.${i3}` : i3; - n3.type.getPathedTypeAdjacencyList(e3, r3); - }), e3; + get isArchVariableCustomerIntentCollection() { + return true; } - getArchIcon() { - switch (this.dataType) { - case "btn": - return m.default.button; - case "mbx": - return m.default.mailbox; - case "rcd": - return m.default.recording; - case "vsn": - 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 m.default.json; - } - return s.warn(`no icon set for dataType:${this.dataType}`), m.default.complex; + } + t2.default = o; + }, 80644(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getPropertyDefinition(e3, t3) { - if (!e3) return; - t3 && (e3 = v.default.getUnquotedExpressionStringLiteralContents(e3)); - const i3 = e3.toLowerCase(); - return this.properties[i3] || this.properties[this.expressionTextPropToName[i3]]; + get _globalTypeName() { + return "customerSegment"; } - getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { - 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) => { - const a2 = e3.getProperty(o2.name).getConfiguration(t3, i3, o2.yamlOptions || n3); - null !== a2 && (r3[o2.name] = a2); - }), r3; - } - return e3.text; + get displayTypeName() { + return "ArchVariableCustomerSegment"; } - 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)); + get initialValue() { + return this._initialValue; } - enforceValueLimit(e3, t3, i3) { - return (0, R.enforceValueLimit)(e3, t3, i3); + get isArchVariableCustomerSegment() { + return true; } - 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); - } + } + t2.default = o; + }, 38944(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - isBidirectionalMatch(e3, t3) { - return O.isBidirectionalMatch(this, e3, t3); + get _globalTypeName() { + return "customerSegmentCollection"; } - isMatch(e3, t3) { - return O.isMatch(this, e3, t3 || (this.isAny ? O.settings.typeOfOrAny : this.isAnyComplex ? O.settings.anyComplex : O.settings.typeOf)); + get displayTypeName() { + return "ArchVariableCustomerSegmentCollection"; } - searchExpression(e3, t3) { - e3.checkText(t3, t3.text, t3.label); + get initialValue() { + return this._initialValue; } - validateLiteralCollection(e3) { + get isArchVariableCustomerSegmentCollection() { + return true; } - validateLiteral(e3, t3, i3) { - if (t3.outOfService) return true; - 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 === 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) { - t3.config.lit[e4] = r3[e4]; - }), t3.options.authToCheck && a.default.each(t3.options.authToCheck, (i4) => { - i4.authString && this._checkForPermission(i4, r3, e3, t3); - }), true; + } + t2.default = o; + }, 33073(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _checkForPermission(e3, t3, i3, n3) { - console.error("_checkForPermission not implemented"); + get _globalTypeName() { + return "date"; } - validateVariable(e3, t3) { + get displayTypeName() { + return "ArchVariableDate"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableDate() { return true; } - initializeDesignTime(e3) { + } + t2.default = o; + }, 57597(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - configurePropertyCreationParams(e3, t3, i3) { - var n3, r3; - t3.literalOnly && i3.options.setAllowModeLiteralOnly(), t3.allowableValues && a.default.isFunction(null === (r3 = null === (n3 = i3.options) || void 0 === n3 ? void 0 : n3.facets) || void 0 === r3 ? void 0 : r3.setAllowableValues) && i3.options.facets.setAllowableValues(t3.allowableValues), t3.defaultValue && a.default.isFunction(i3.options.setDefaultText) && i3.options.setDefaultText(t3.defaultValue); + get _globalTypeName() { + return "dateCollection"; } - propertiesCreatedForThisTypeInstance(e3) { + get displayTypeName() { + return "ArchVariableDateCollection"; } - useCustomExpressionEditor(e3) { - return false; + get initialValue() { + return this._initialValue; } - get hasRichLiteralEditor() { - return false; + get isArchVariableDateCollection() { + return true; } - getLiteralValues(e3) { + } + t2.default = o; + }, 10144(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - setPropertiesAsLiteral(e3, t3) { - x.errorWithStack(null, `setPropertiesAsLiteral should not be called for type '${this.displayString}'`); + get _globalTypeName() { + return "dateTime"; } - copyExpressionValue(e3, t3) { + get displayTypeName() { + return "ArchVariableDateTime"; } - addYamlExportTypeInfo(e3) { + get initialValue() { + return this._initialValue; } - parseLiteral(e3, t3) { - return {}; + get isArchVariableDateTime() { + return true; } } - t2.ExpressionType = V; - }, 94808: function(e2, t2) { - "use strict"; - var i2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r2, o = i3.call(e3), a = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o.next()).done; ) a.push(n3.value); - } catch (e4) { - r2 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o.return) && i3.call(o); - } finally { - if (r2) throw r2.error; - } - } - return a; - }, n2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r2 = e3.length; i3 < n3; i3++, r2++) e3[r2] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.timeoutProvider = void 0, t2.timeoutProvider = { setTimeout: function(e3, r2) { - for (var o = [], a = 2; a < arguments.length; a++) o[a - 2] = arguments[a]; - var s = t2.timeoutProvider.delegate; - return (null == s ? void 0 : s.setTimeout) ? s.setTimeout.apply(s, n2([e3, r2], i2(o))) : setTimeout.apply(void 0, n2([e3, r2], i2(o))); - }, clearTimeout: function(e3) { - var i3 = t2.timeoutProvider.delegate; - return ((null == i3 ? void 0 : i3.clearTimeout) || clearTimeout)(e3); - }, delegate: void 0 }; - }, 94829: (e2, t2, i2) => { + t2.default = o; + }, 3812(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.DarthUploadResponse = void 0; - const n2 = i2(31635), r2 = i2(19596), o = i2(80295), a = i2(80295); - class s extends r2.DataContract { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { constructor(e3) { - super(e3), (0, a.makeUnenumerable)(this, "_url"), (0, a.makeUnenumerable)(this, "_headers"); + super(e3); } - get url() { - return this._url; + get _globalTypeName() { + return "dateTimeCollection"; } - set url(e3) { - this._url = e3; + get displayTypeName() { + return "ArchVariableDateTimeCollection"; } - get headers() { - return this._headers; + get initialValue() { + return this._initialValue; } - set headers(e3) { - this._headers = e3; + get isArchVariableDateTimeCollection() { + return true; } } - t2.DarthUploadResponse = s, n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], s.prototype, "url", null), n2.__decorate([(0, o.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [Object])], s.prototype, "headers", null); - }, 94830: (e2, t2, i2) => { - const n2 = i2(50778); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "DivisionList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 94858: (e2, t2, i2) => { + t2.default = o; + }, 72938(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.BaseActionModel = void 0; - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = i2(23316), a = i2(80295), s = i2(80295); - class l extends o.BaseFlowItemWithNameAndId { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { - super(e3), (0, s.makeUnenumerable)(this, "_nextAction"), (0, s.makeUnenumerable)(this, "_trackingId"); + super(e3); } - get nextAction() { - return this._nextAction; + get _globalTypeName() { + return "decimal"; } - set nextAction(e3) { - this._nextAction = e3; + get displayTypeName() { + return "ArchVariableDecimal"; } - get trackingId() { - return this._trackingId; + get initialValue() { + return this._initialValue; } - set trackingId(e3) { - this._trackingId = e3; + get isArchVariableDecimal() { + return true; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), r2.default.isUndefined(this.trackingId) || (this.trackingId = e3.pasteGetNewTrackingId(this.trackingId)); + } + t2.default = o; + }, 37298(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), this.nextAction = e3.pasteResolveOldIdToNewId(this.nextAction); + get _globalTypeName() { + return "decimalCollection"; } - get type() { - return this.__type; + get displayTypeName() { + return "ArchVariableDecimalCollection"; } - } - t2.BaseActionModel = l, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [String])], l.prototype, "nextAction", null), n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Number), n2.__metadata("design:paramtypes", [Number])], l.prototype, "trackingId", null); - }, 94886: (e2, t2, i2) => { - function n2() { - this.id = void 0, this.name = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "Schedule"), Object.defineProperties(n2.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, 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}`); + get initialValue() { + return this._initialValue; } - 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) { - return e3 && "number" == typeof e3.length && "function" != typeof e3; - }; - }, 95079: (e2, t2, i2) => { + get isArchVariableDecimalCollection() { + return true; + } + } + t2.default = o; + }, 17343(e2, t2, i2) { "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), c = i2(84050); - class d extends c.NameIdDescriptionModel { + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { - super(e3), (0, u.makeUnenumerable)(this, "_debugIdType"), (0, u.makeUnenumerable)(this, "_flowTypes"); + super(e3); } - get flowTypes() { - return this._flowTypes; + get _globalTypeName() { + return "digitalAudio"; } - set flowTypes(e3) { - this._reviveFlowTypeMap(e3, "_flowTypes"); + get displayTypeName() { + return "ArchVariableDigitalAudio"; } - _reviveFlowTypeMap(e3, t3) { - a.expandFlowTypeMapAsync(e3, (e4) => { - this[t3] = this.reviveMap(e4, o.default, true); - }); + get initialValue() { + return this._initialValue; + } + get isArchVariableDigitalAudio() { + return true; } } - 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) => { + t2.default = o; + }, 60295(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(21345)); - class a extends o.default { + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { constructor(e3) { super(e3); } + get _globalTypeName() { + return "digitalAudioCollection"; + } get displayTypeName() { - return "ArchBaseActionWithOutputsSuccessFailureTimeout"; + return "ArchVariableDigitalAudioCollection"; } - get isArchBaseActionWithOutputsSuccessFailureTimeout() { - return true; + get initialValue() { + return this._initialValue; } - get outputTimeout() { - return this._getOutputById(r2.outputIds.timeout, true); + get isArchVariableDigitalAudioCollection() { + return true; } } - t2.default = a; - }, 95090: (e2, t2, i2) => { + t2.default = o; + }, 96390(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "shippingOption"; + return "division"; } get displayTypeName() { - return "ArchVariableShippingOption"; + return "ArchVariableDivision"; } get initialValue() { return this._initialValue; } - get isArchVariableShippingOption() { + get isArchVariableDivision() { return true; } } - t2.default = r2; - }, 95093: function(e2, t2, i2) { - (e2 = i2.nmd(e2)).exports = (function() { - "use strict"; - var t3, n2; - function r2() { - return t3.apply(null, arguments); + t2.default = o; + }, 54342(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function o(e3) { - return e3 instanceof Array || "[object Array]" === Object.prototype.toString.call(e3); + get _globalTypeName() { + return "divisionCollection"; } - function a(e3) { - return null != e3 && "[object Object]" === Object.prototype.toString.call(e3); + get initialValue() { + return this._initialValue; } - function s(e3, t4) { - return Object.prototype.hasOwnProperty.call(e3, t4); + get displayTypeName() { + return "ArchVariableDivisionCollection"; } - function l(e3) { - if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e3).length; - var t4; - for (t4 in e3) if (s(e3, t4)) return false; + get isArchVariableDivisionCollection() { return true; } - function u(e3) { - return void 0 === e3; - } - function c(e3) { - return "number" == typeof e3 || "[object Number]" === Object.prototype.toString.call(e3); + } + t2.default = o; + }, 97773(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function d(e3) { - return e3 instanceof Date || "[object Date]" === Object.prototype.toString.call(e3); + get _globalTypeName() { + return "duration"; } - function p(e3, t4) { - var i3, n3 = [], r3 = e3.length; - for (i3 = 0; i3 < r3; ++i3) n3.push(t4(e3[i3], i3)); - return n3; + get displayTypeName() { + return "ArchVariableDuration"; } - function _(e3, t4) { - for (var i3 in t4) s(t4, i3) && (e3[i3] = t4[i3]); - return s(t4, "toString") && (e3.toString = t4.toString), s(t4, "valueOf") && (e3.valueOf = t4.valueOf), e3; + get initialValue() { + return this._initialValue; } - function h(e3, t4, i3, n3) { - return Lt(e3, t4, i3, n3, true).utc(); + get isArchVariableDuration() { + return true; } - function m(e3) { - return null == e3._pf && (e3._pf = { empty: false, unusedTokens: [], unusedInput: [], overflow: -2, charsLeftOver: 0, nullInput: false, invalidEra: null, invalidMonth: null, invalidFormat: false, userInvalidated: false, iso: false, parsedDateParts: [], era: null, meridiem: null, rfc2822: false, weekdayMismatch: false }), e3._pf; + } + t2.default = o; + }, 77761(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function g(e3) { - if (null == e3._isValid) { - var t4 = m(e3), i3 = n2.call(t4.parsedDateParts, function(e4) { - return null != e4; - }), r3 = !isNaN(e3._d.getTime()) && t4.overflow < 0 && !t4.empty && !t4.invalidEra && !t4.invalidMonth && !t4.invalidWeekday && !t4.weekdayMismatch && !t4.nullInput && !t4.invalidFormat && !t4.userInvalidated && (!t4.meridiem || t4.meridiem && i3); - if (e3._strict && (r3 = r3 && 0 === t4.charsLeftOver && 0 === t4.unusedTokens.length && void 0 === t4.bigHour), null != Object.isFrozen && Object.isFrozen(e3)) return r3; - e3._isValid = r3; - } - return e3._isValid; + get _globalTypeName() { + return "durationCollection"; } - function f(e3) { - var t4 = h(NaN); - return null != e3 ? _(m(t4), e3) : m(t4).userInvalidated = true, t4; + get displayTypeName() { + return "ArchVariableDurationCollection"; } - n2 = Array.prototype.some ? Array.prototype.some : function(e3) { - var t4, i3 = Object(this), n3 = i3.length >>> 0; - for (t4 = 0; t4 < n3; t4++) if (t4 in i3 && e3.call(this, i3[t4], t4, i3)) return true; - return false; - }; - var T = r2.momentProperties = [], y = false; - function S(e3, t4) { - var i3, n3, r3, o2 = T.length; - if (u(t4._isAMomentObject) || (e3._isAMomentObject = t4._isAMomentObject), u(t4._i) || (e3._i = t4._i), u(t4._f) || (e3._f = t4._f), u(t4._l) || (e3._l = t4._l), u(t4._strict) || (e3._strict = t4._strict), u(t4._tzm) || (e3._tzm = t4._tzm), u(t4._isUTC) || (e3._isUTC = t4._isUTC), u(t4._offset) || (e3._offset = t4._offset), u(t4._pf) || (e3._pf = m(t4)), u(t4._locale) || (e3._locale = t4._locale), o2 > 0) for (i3 = 0; i3 < o2; i3++) u(r3 = t4[n3 = T[i3]]) || (e3[n3] = r3); - return e3; + get initialValue() { + return this._initialValue; } - function A(e3) { - S(this, e3), this._d = new Date(null != e3._d ? e3._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), false === y && (y = true, r2.updateOffset(this), y = false); + get isArchVariableDurationCollection() { + return true; } - function N(e3) { - return e3 instanceof A || null != e3 && null != e3._isAMomentObject; + } + t2.default = o; + }, 11053(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function v(e3) { - false === r2.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e3); + get _globalTypeName() { + return "emailAddress"; } - function O(e3, t4) { - var i3 = true; - return _(function() { - if (null != r2.deprecationHandler && r2.deprecationHandler(null, e3), i3) { - var n3, o2, a2, l2 = [], u2 = arguments.length; - for (o2 = 0; o2 < u2; o2++) { - if (n3 = "", "object" == typeof arguments[o2]) { - for (a2 in n3 += "\n[" + o2 + "] ", arguments[0]) s(arguments[0], a2) && (n3 += a2 + ": " + arguments[0][a2] + ", "); - n3 = n3.slice(0, -2); - } else n3 = arguments[o2]; - l2.push(n3); - } - v(e3 + "\nArguments: " + Array.prototype.slice.call(l2).join("") + "\n" + new Error().stack), i3 = false; - } - return t4.apply(this, arguments); - }, t4); + get displayTypeName() { + return "ArchVariableEmailAddress"; } - var I, C = {}; - function b(e3, t4) { - null != r2.deprecationHandler && r2.deprecationHandler(e3, t4), C[e3] || (v(t4), C[e3] = true); + get initialValue() { + return this._initialValue; } - function E(e3) { - return "undefined" != typeof Function && e3 instanceof Function || "[object Function]" === Object.prototype.toString.call(e3); + get isArchVariableEmailAddress() { + return true; } - 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; + } + t2.default = o; + }, 57505(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function R(e3) { - null != e3 && this.set(e3); + get _globalTypeName() { + return "emailAddressCollection"; } - 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; - }; - function D(e3, t4, i3) { - var n3 = "" + Math.abs(e3), r3 = t4 - n3.length; - return (e3 >= 0 ? i3 ? "+" : "" : "-") + Math.pow(10, Math.max(0, r3)).toString().substr(1) + n3; - } - var P = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, M = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, F = {}, L = {}; - function x(e3, t4, i3, n3) { - var r3 = n3; - "string" == typeof n3 && (r3 = function() { - return this[n3](); - }), e3 && (L[e3] = r3), t4 && (L[t4[0]] = function() { - return D(r3.apply(this, arguments), t4[1], t4[2]); - }), i3 && (L[i3] = function() { - return this.localeData().ordinal(r3.apply(this, arguments), e3); - }); + get displayTypeName() { + return "ArchVariableEmailAddressCollection"; } - function k(e3) { - return e3.match(/\[[\s\S]/) ? e3.replace(/^\[|\]$/g, "") : e3.replace(/\\/g, ""); + get initialValue() { + return this._initialValue; } - function V(e3, t4) { - return e3.isValid() ? (t4 = U(t4, e3.localeData()), F[t4] = F[t4] || (function(e4) { - var t5, i3, n3 = e4.match(P); - for (t5 = 0, i3 = n3.length; t5 < i3; t5++) L[n3[t5]] ? n3[t5] = L[n3[t5]] : n3[t5] = k(n3[t5]); - return function(t6) { - var r3, o2 = ""; - for (r3 = 0; r3 < i3; r3++) o2 += E(n3[r3]) ? n3[r3].call(t6, e4) : n3[r3]; - return o2; - }; - })(t4), F[t4](e3)) : e3.localeData().invalidDate(); + get isArchVariableEmailAddressCollection() { + return true; } - function U(e3, t4) { - var i3 = 5; - function n3(e4) { - return t4.longDateFormat(e4) || e4; - } - for (M.lastIndex = 0; i3 >= 0 && M.test(e3); ) e3 = e3.replace(M, n3), M.lastIndex = 0, i3 -= 1; - return e3; + } + t2.default = o; + }, 8078(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - var B = {}; - function G(e3, t4) { - var i3 = e3.toLowerCase(); - B[i3] = B[i3 + "s"] = B[t4] = e3; + get _globalTypeName() { + return "emergencyGroup"; } - function j(e3) { - return "string" == typeof e3 ? B[e3] || B[e3.toLowerCase()] : void 0; + get displayTypeName() { + return "ArchVariableEmergencyGroup"; } - function W(e3) { - var t4, i3, n3 = {}; - for (i3 in e3) s(e3, i3) && (t4 = j(i3)) && (n3[t4] = e3[i3]); - return n3; + get initialValue() { + return this._initialValue; } - var q = {}; - function Y(e3, t4) { - q[e3] = t4; + get isArchVariableEmergencyGroup() { + return true; } - function H(e3) { - return e3 % 4 == 0 && e3 % 100 != 0 || e3 % 400 == 0; + } + t2.default = o; + }, 86637(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function J(e3) { - return e3 < 0 ? Math.ceil(e3) || 0 : Math.floor(e3); + get _globalTypeName() { + return "emergencyGroupCollection"; } - function $(e3) { - var t4 = +e3, i3 = 0; - return 0 !== t4 && isFinite(t4) && (i3 = J(t4)), i3; + get displayTypeName() { + return "ArchVariableEmergencyGroupCollection"; } - function z(e3, t4) { - return function(i3) { - return null != i3 ? (Q(this, e3, i3), r2.updateOffset(this, t4), this) : K(this, e3); - }; + get initialValue() { + return this._initialValue; } - function K(e3, t4) { - return e3.isValid() ? e3._d["get" + (e3._isUTC ? "UTC" : "") + t4]() : NaN; + get isArchVariableEmergencyGroupCollection() { + return true; } - function Q(e3, 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)); + } + t2.default = o; + }, 81500(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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; - }; + get _globalTypeName() { + return "externalContact"; } - function ge(e3, t4) { - return s(X, e3) ? X[e3](t4._strict, t4._locale) : new RegExp(fe(e3.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e4, t5, i3, n3, r3) { - return t5 || i3 || n3 || r3; - }))); + get initialValue() { + return this._initialValue; } - function fe(e3) { - return e3.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"); + get displayTypeName() { + return "ArchVariableExternalContact"; } - X = {}; - var Te = {}; - function ye(e3, t4) { - var i3, n3, r3 = t4; - 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; + get isArchVariableExternalContact() { + return true; } - function Se(e3, t4) { - ye(e3, function(e4, i3, n3, r3) { - n3._w = n3._w || {}, t4(e4, n3._w, n3, r3); - }); + } + t2.default = o; + }, 57227(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Ae(e3, t4, i3) { - null != t4 && s(Te, e3) && Te[e3](t4, i3._a, i3, e3); + get _globalTypeName() { + return "externalContactCollection"; } - 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; - return e3 += (t4 - n3) / 12, 1 === n3 ? H(e3) ? 29 : 28 : 31 - n3 % 7 % 2; + get initialValue() { + return this._initialValue; } - Ne = Array.prototype.indexOf ? Array.prototype.indexOf : function(e3) { - var t4; - for (t4 = 0; t4 < this.length; ++t4) if (this[t4] === e3) return t4; - return -1; - }, x("M", ["MM", 2], "Mo", function() { - return this.month() + 1; - }), x("MMM", 0, 0, function(e3) { - return this.localeData().monthsShort(this, e3); - }), x("MMMM", 0, 0, function(e3) { - return this.localeData().months(this, e3); - }), G("month", "M"), Y("month", 8), me("M", re), me("MM", re, ee), me("MMM", function(e3, t4) { - return t4.monthsShortRegex(e3); - }), me("MMMM", function(e3, t4) { - return t4.monthsRegex(e3); - }), ye(["M", "MM"], function(e3, t4) { - t4[Oe] = $(e3) - 1; - }), ye(["MMM", "MMMM"], function(e3, t4, i3, n3) { - var r3 = i3._locale.monthsParse(e3, n3, i3._strict); - 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) { - var n3, r3, o2, a2 = e3.toLocaleLowerCase(); - if (!this._monthsParse) for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], n3 = 0; n3 < 12; ++n3) o2 = h([2e3, n3]), this._shortMonthsParse[n3] = this.monthsShort(o2, "").toLocaleLowerCase(), this._longMonthsParse[n3] = this.months(o2, "").toLocaleLowerCase(); - return i3 ? "MMM" === t4 ? -1 !== (r3 = Ne.call(this._shortMonthsParse, a2)) ? r3 : null : -1 !== (r3 = Ne.call(this._longMonthsParse, a2)) ? r3 : null : "MMM" === t4 ? -1 !== (r3 = Ne.call(this._shortMonthsParse, a2)) || -1 !== (r3 = Ne.call(this._longMonthsParse, a2)) ? r3 : null : -1 !== (r3 = Ne.call(this._longMonthsParse, a2)) || -1 !== (r3 = Ne.call(this._shortMonthsParse, a2)) ? r3 : null; + get displayTypeName() { + return "ArchVariableExternalContactCollection"; } - function Ue(e3, t4) { - var i3; - if (!e3.isValid()) return e3; - if ("string" == typeof t4) { - 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; + get isArchVariableExternalContactCollection() { + return true; } - function Be(e3) { - return null != e3 ? (Ue(this, e3), r2.updateOffset(this, true), this) : K(this, "Month"); + } + t2.default = o; + }, 8229(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Ge() { - function e3(e4, t5) { - return t5.length - e4.length; - } - var t4, i3, n3 = [], r3 = [], o2 = []; - for (t4 = 0; t4 < 12; t4++) i3 = h([2e3, t4]), n3.push(this.monthsShort(i3, "")), r3.push(this.months(i3, "")), o2.push(this.months(i3, "")), o2.push(this.monthsShort(i3, "")); - for (n3.sort(e3), r3.sort(e3), o2.sort(e3), t4 = 0; t4 < 12; t4++) n3[t4] = fe(n3[t4]), r3[t4] = fe(r3[t4]); - for (t4 = 0; t4 < 24; t4++) o2[t4] = fe(o2[t4]); - this._monthsRegex = new RegExp("^(" + o2.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + r3.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + n3.join("|") + ")", "i"); + get _globalTypeName() { + return "externalOrganization"; } - function je(e3) { - return H(e3) ? 366 : 365; + get initialValue() { + return this._initialValue; } - x("Y", 0, 0, function() { - var e3 = this.year(); - 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", 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[ve] = r2.parseTwoDigitYear(e3); - }), ye("Y", function(e3, t4) { - t4[ve] = parseInt(e3, 10); - }), r2.parseTwoDigitYear = function(e3) { - return $(e3) + ($(e3) > 68 ? 1900 : 2e3); - }; - 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; + get displayTypeName() { + return "ArchVariableExternalOrganization"; } - function Ye(e3) { - var t4, i3; - return e3 < 100 && e3 >= 0 ? ((i3 = Array.prototype.slice.call(arguments))[0] = e3 + 400, t4 = new Date(Date.UTC.apply(null, i3)), isFinite(t4.getUTCFullYear()) && t4.setUTCFullYear(e3)) : t4 = new Date(Date.UTC.apply(null, arguments)), t4; + get isArchVariableExternalOrganization() { + return true; } - function He(e3, t4, i3) { - var n3 = 7 + t4 - i3; - return -(7 + Ye(e3, 0, n3).getUTCDay() - t4) % 7 + n3 - 1; + } + t2.default = o; + }, 47577(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Je(e3, t4, i3, n3, r3) { - 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 }; + get _globalTypeName() { + return "externalOrganizationCollection"; } - 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 + 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 }; + get initialValue() { + return this._initialValue; } - function ze(e3, t4, i3) { - var n3 = He(e3, t4, i3), r3 = He(e3 + 1, t4, i3); - return (je(e3) - n3 + r3) / 7; + get displayTypeName() { + return "ArchVariableExternalOrganizationCollection"; } - 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)] = $(e3); - }); - function Ke(e3, t4) { - return e3.slice(t4, 7).concat(e3.slice(0, t4)); + get isArchVariableExternalOrganizationCollection() { + return true; } - x("d", 0, "do", "day"), x("dd", 0, 0, function(e3) { - return this.localeData().weekdaysMin(this, e3); - }), x("ddd", 0, 0, function(e3) { - return this.localeData().weekdaysShort(this, e3); - }), x("dddd", 0, 0, function(e3) { - return this.localeData().weekdays(this, e3); - }), x("e", 0, 0, "weekday"), x("E", 0, 0, "isoWeekday"), G("day", "d"), G("weekday", "e"), G("isoWeekday", "E"), Y("day", 11), Y("weekday", 11), Y("isoWeekday", 11), me("d", re), me("e", re), me("E", re), me("dd", function(e3, t4) { - return t4.weekdaysMinRegex(e3); - }), me("ddd", function(e3, t4) { - return t4.weekdaysShortRegex(e3); - }), me("dddd", function(e3, t4) { - return t4.weekdaysRegex(e3); - }), Se(["dd", "ddd", "dddd"], function(e3, t4, i3, n3) { - 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] = $(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) { - var n3, r3, o2, a2 = e3.toLocaleLowerCase(); - if (!this._weekdaysParse) for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], n3 = 0; n3 < 7; ++n3) o2 = h([2e3, 1]).day(n3), this._minWeekdaysParse[n3] = this.weekdaysMin(o2, "").toLocaleLowerCase(), this._shortWeekdaysParse[n3] = this.weekdaysShort(o2, "").toLocaleLowerCase(), this._weekdaysParse[n3] = this.weekdays(o2, "").toLocaleLowerCase(); - return i3 ? "dddd" === t4 ? -1 !== (r3 = Ne.call(this._weekdaysParse, a2)) ? r3 : null : "ddd" === t4 ? -1 !== (r3 = Ne.call(this._shortWeekdaysParse, a2)) ? r3 : null : -1 !== (r3 = Ne.call(this._minWeekdaysParse, a2)) ? r3 : null : "dddd" === t4 ? -1 !== (r3 = Ne.call(this._weekdaysParse, a2)) || -1 !== (r3 = Ne.call(this._shortWeekdaysParse, a2)) || -1 !== (r3 = Ne.call(this._minWeekdaysParse, a2)) ? r3 : null : "ddd" === t4 ? -1 !== (r3 = Ne.call(this._shortWeekdaysParse, a2)) || -1 !== (r3 = Ne.call(this._weekdaysParse, a2)) || -1 !== (r3 = Ne.call(this._minWeekdaysParse, a2)) ? r3 : null : -1 !== (r3 = Ne.call(this._minWeekdaysParse, a2)) || -1 !== (r3 = Ne.call(this._weekdaysParse, a2)) || -1 !== (r3 = Ne.call(this._shortWeekdaysParse, a2)) ? r3 : null; + } + t2.default = o; + }, 18187(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function rt() { - function e3(e4, t5) { - return t5.length - e4.length; - } - var t4, i3, n3, r3, o2, a2 = [], s2 = [], l2 = [], u2 = []; - for (t4 = 0; t4 < 7; t4++) i3 = h([2e3, 1]).day(t4), n3 = fe(this.weekdaysMin(i3, "")), r3 = fe(this.weekdaysShort(i3, "")), o2 = fe(this.weekdays(i3, "")), a2.push(n3), s2.push(r3), l2.push(o2), u2.push(n3), u2.push(r3), u2.push(o2); - a2.sort(e3), s2.sort(e3), l2.sort(e3), u2.sort(e3), this._weekdaysRegex = new RegExp("^(" + u2.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + l2.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + s2.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + a2.join("|") + ")", "i"); + get _globalTypeName() { + return "file"; } - function ot() { - return this.hours() % 12 || 12; + get displayTypeName() { + return "ArchVariableFile"; } - function at(e3, t4) { - x(e3, 0, 0, function() { - return this.localeData().meridiem(this.hours(), this.minutes(), t4); - }); + get initialValue() { + return this._initialValue; } - function st(e3, t4) { - return t4._meridiemParse; + get isArchVariableFile() { + return true; } - x("H", ["HH", 2], 0, "hour"), x("h", ["hh", 2], 0, ot), x("k", ["kk", 2], 0, function() { - return this.hours() || 24; - }), x("hmm", 0, 0, function() { - return "" + ot.apply(this) + D(this.minutes(), 2); - }), x("hmmss", 0, 0, function() { - return "" + ot.apply(this) + D(this.minutes(), 2) + D(this.seconds(), 2); - }), x("Hmm", 0, 0, function() { - return "" + this.hours() + D(this.minutes(), 2); - }), 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 = $(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] = $(e3), m(i3).bigHour = true; - }), ye("hmm", function(e3, t4, i3) { - var n3 = e3.length - 2; - 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] = $(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] = $(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] = $(e3.substr(0, n3)), t4[be] = $(e3.substr(n3, 2)), t4[Ee] = $(e3.substr(r3)); - }); - 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; - return n3; + } + t2.default = o; + }, 3931(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function ht(e3) { - return e3 ? e3.toLowerCase().replace("_", "-") : e3; + get _globalTypeName() { + return "fileCollection"; } - function mt(t4) { - var n3 = null; - 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) { - dt[t4] = null; - } - return dt[t4]; + get displayTypeName() { + return "ArchVariableFileCollection"; } - function gt(e3, t4) { - var i3; - return e3 && ((i3 = u(t4) ? Tt(e3) : ft(e3, t4)) ? ut = i3 : "undefined" != typeof console && console.warn && console.warn("Locale " + e3 + " not found. Did you forget to load it?")), ut._abbr; + get initialValue() { + return this._initialValue; } - function ft(e3, t4) { - if (null !== t4) { - 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 dt[e3] = new R(w(n3, t4)), pt[e3] && pt[e3].forEach(function(e4) { - ft(e4.name, e4.config); - }), gt(e3), dt[e3]; - } - return delete dt[e3], null; + get isArchVariableFileCollection() { + return true; } - function Tt(e3) { - var t4; - if (e3 && e3._locale && e3._locale._abbr && (e3 = e3._locale._abbr), !e3) return ut; - if (!o(e3)) { - if (t4 = mt(e3)) return t4; - e3 = [e3]; - } - return (function(e4) { - for (var t5, i3, n3, r3, o2 = 0; o2 < e4.length; ) { - for (t5 = (r3 = ht(e4[o2]).split("-")).length, i3 = (i3 = ht(e4[o2 + 1])) ? i3.split("-") : null; t5 > 0; ) { - if (n3 = mt(r3.slice(0, t5).join("-"))) return n3; - if (i3 && i3.length >= t5 && _t(r3, i3) >= t5 - 1) break; - t5--; - } - o2++; - } - return ut; - })(e3); + } + t2.default = o; + }, 81167(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function yt(e3) { - var t4, i3 = e3._a; - 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; + get _globalTypeName() { + return "formInput"; } - 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 = vt.length, c2 = Ot.length; - if (l2) { - 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 = 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); - } - if (!n3 && null != o2) return void (e3._isValid = false); - if (l2[4]) { - if (!Nt.exec(l2[4])) return void (e3._isValid = false); - a2 = "Z"; - } - e3._f = r3 + (o2 || "") + (a2 || ""), Mt(e3); - } else e3._isValid = false; + get displayTypeName() { + return "ArchVariableFormInput"; } - function wt(e3) { - var t4 = parseInt(e3, 10); - return t4 <= 49 ? 2e3 + t4 : t4 <= 999 ? 1900 + t4 : t4; + get isArchVariableFormInput() { + return true; } - 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 = [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) { - if (e4) return bt[e4]; - if (t5) return 0; - var n4 = parseInt(i4, 10), r4 = n4 % 100; - return (n4 - r4) / 100 * 60 + r4; - })(u2[8], u2[9], u2[10]), e3._d = Ye.apply(null, e3._a), e3._d.setUTCMinutes(e3._d.getUTCMinutes() - e3._tzm), m(e3).rfc2822 = true; - } else e3._isValid = false; + } + t2.default = o; + }, 32100(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Dt(e3, t4, i3) { - return null != e3 ? e3 : null != t4 ? t4 : i3; + get _globalTypeName() { + return "grammar"; } - function Pt(e3) { - var t4, i3, n3, o2, a2, s2 = []; - if (!e3._d) { - 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[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[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[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, 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[ve] = e3._locale.erasConvertYear(s2, e3._a[ve])), Pt(e3), yt(e3); - } else Rt(e3); - else Et(e3); + get displayTypeName() { + return "ArchVariableGrammar"; } - 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)) : (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()) : 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) { - if (!e5._d) { - var t6 = W(e5._i), i4 = void 0 === t6.day ? t6.date : t6.day; - e5._a = p([t6.year, t6.month, i4, t6.hour, t6.minute, t6.second, t6.millisecond], function(e6) { - return e6 && parseInt(e6, 10); - }), Pt(e5); - } - })(e4) : c(t5) ? e4._d = new Date(t5) : r2.createFromInputFallback(e4); - })(e3), g(e3) || (e3._d = null), e3)); + get initialValue() { + return this._initialValue; } - function Lt(e3, t4, i3, n3, r3) { - var s2, u2 = {}; - return true !== t4 && false !== t4 || (n3 = t4, t4 = void 0), true !== i3 && false !== i3 || (n3 = i3, i3 = void 0), (a(e3) && l(e3) || o(e3) && 0 === e3.length) && (e3 = void 0), u2._isAMomentObject = true, u2._useUTC = u2._isUTC = r3, u2._l = i3, u2._i = e3, u2._f = t4, u2._strict = n3, (s2 = new A(yt(Ft(u2))))._nextDay && (s2.add(1, "d"), s2._nextDay = void 0), s2; + get isArchVariableGrammar() { + return true; } - function xt(e3, t4, i3, n3) { - return Lt(e3, t4, i3, n3, false); + } + t2.default = o; + }, 66816(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(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 = 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 = 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(); - }); - function Ut(e3, t4) { - var i3, n3; - if (1 === t4.length && o(t4[0]) && (t4 = t4[0]), !t4.length) return xt(); - for (i3 = t4[0], n3 = 1; n3 < t4.length; ++n3) t4[n3].isValid() && !t4[n3][e3](i3) || (i3 = t4[n3]); - return i3; + get _globalTypeName() { + return "grammarCollection"; } - 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, 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]]) !== $(e4[Bt[i4]]) && (n4 = true); - } - return true; - })(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(); + get displayTypeName() { + return "ArchVariableGrammarCollection"; } - function jt(e3) { - return e3 instanceof Gt; + get initialValue() { + return this._initialValue; } - function Wt(e3) { - return e3 < 0 ? -1 * Math.round(-1 * e3) : Math.round(e3); + get isArchVariableGrammarCollection() { + return true; } - function qt(e3, t4) { - x(e3, 0, 0, function() { - var e4 = this.utcOffset(), i3 = "+"; - return e4 < 0 && (e4 = -e4, i3 = "-"), i3 + D(~~(e4 / 60), 2) + t4 + D(~~e4 % 60, 2); - }); + } + t2.default = o; + }, 15390(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - qt("Z", ":"), qt("ZZ", ""), me("Z", _e), me("ZZ", _e), ye(["Z", "ZZ"], function(e3, t4, i3) { - i3._useUTC = true, i3._tzm = Ht(_e, e3); - }); - 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] + $(i3[2])) ? 0 : "+" === i3[0] ? n3 : -n3; + get _globalTypeName() { + return "group"; } - function Jt(e3, t4) { - var i3, n3; - 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(); + get displayTypeName() { + return "ArchVariableGroup"; } - function $t(e3) { - return -Math.round(e3._d.getTimezoneOffset()); + get initialValue() { + return this._initialValue; } - function zt() { - return !!this.isValid() && this._isUTC && 0 === this._offset; + get isArchVariableGroup() { + return true; } - r2.updateOffset = function() { - }; - 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, 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; + } + t2.default = o; + }, 75678(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Zt(e3, t4) { - var i3 = e3 && parseFloat(e3.replace(",", ".")); - return (isNaN(i3) ? 0 : i3) * t4; + get _globalTypeName() { + return "groupCollection"; } - function ei(e3, t4) { - var i3 = {}; - return i3.months = t4.month() - e3.month() + 12 * (t4.year() - e3.year()), e3.clone().add(i3.months, "M").isAfter(t4) && --i3.months, i3.milliseconds = +t4 - +e3.clone().add(i3.months, "M"), i3; + get displayTypeName() { + return "ArchVariableGroupCollection"; } - function ti(e3, t4) { - return function(i3, n3) { - var r3; - return null === n3 || isNaN(+n3) || (b(t4, "moment()." + t4 + "(period, number) is deprecated. Please use moment()." + t4 + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), r3 = i3, i3 = n3, n3 = r3), ii(this, Xt(i3, n3), e3), this; - }; + get initialValue() { + return this._initialValue; } - 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, 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)); + get isArchVariableGroupCollection() { + return true; } - Xt.fn = Gt.prototype, Xt.invalid = function() { - return Xt(NaN); - }; - var ni = ti(1, "add"), ri = ti(-1, "subtract"); - function oi(e3) { - return "string" == typeof e3 || e3 instanceof String; + } + t2.default = o; + }, 6440(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function ai(e3) { - 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 !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; - for (t4 = 0; t4 < u2; t4 += 1) i3 = o2[t4], r3 = r3 || s(e4, i3); - return n3 && r3; - })(e3) || null == e3; + get _globalTypeName() { + return "image"; } - function si(e3, t4) { - if (e3.date() < t4.date()) return -si(t4, e3); - var i3 = 12 * (t4.year() - e3.year()) + (t4.month() - e3.month()), n3 = e3.clone().add(i3, "months"); - return -(i3 + (t4 - n3 < 0 ? (t4 - n3) / (n3 - e3.clone().add(i3 - 1, "months")) : (t4 - n3) / (e3.clone().add(i3 + 1, "months") - n3))) || 0; + get displayTypeName() { + return "ArchVariableImage"; } - function li(e3) { - var t4; - return void 0 === e3 ? this._locale._abbr : (null != (t4 = Tt(e3)) && (this._locale = t4), this); + get initialValue() { + return this._initialValue; } - r2.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", r2.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; - 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 ci() { - return this._locale; + get isArchVariableImage() { + return true; } - var di = 1e3, pi = 6e4, _i = 36e5, hi = 126227808e5; - function mi(e3, t4) { - return (e3 % t4 + t4) % t4; + } + t2.default = o; + }, 5868(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function gi(e3, t4, i3) { - return e3 < 100 && e3 >= 0 ? new Date(e3 + 400, t4, i3) - hi : new Date(e3, t4, i3).valueOf(); + get _globalTypeName() { + return "imageCollection"; } - function fi(e3, t4, i3) { - return e3 < 100 && e3 >= 0 ? Date.UTC(e3 + 400, t4, i3) - hi : Date.UTC(e3, t4, i3); + get displayTypeName() { + return "ArchVariableImageCollection"; } - function Ti(e3, t4) { - return t4.erasAbbrRegex(e3); + get initialValue() { + return this._initialValue; } - function yi() { - var e3, t4, i3 = [], n3 = [], r3 = [], o2 = [], a2 = this.eras(); - for (e3 = 0, t4 = a2.length; e3 < t4; ++e3) n3.push(fe(a2[e3].name)), i3.push(fe(a2[e3].abbr)), r3.push(fe(a2[e3].narrow)), o2.push(fe(a2[e3].name)), o2.push(fe(a2[e3].abbr)), o2.push(fe(a2[e3].narrow)); - this._erasRegex = new RegExp("^(" + o2.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + n3.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + i3.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp("^(" + r3.join("|") + ")", "i"); + get isArchVariableImageCollection() { + return true; } - function Si(e3, t4) { - x(0, [e3, e3.length], 0, t4); + } + t2.default = o; + }, 93991(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function Ai(e3, t4, i3, n3, r3) { - var o2; - return null == e3 ? $e(this, n3, r3).year : (t4 > (o2 = ze(e3, n3, r3)) && (t4 = o2), Ni.call(this, e3, t4, i3, n3, r3)); + get _globalTypeName() { + return "integer"; } - function Ni(e3, t4, i3, n3, r3) { - var o2 = Je(e3, t4, i3, n3, r3), a2 = Ye(o2.year, 0, o2.dayOfYear); - return this.year(a2.getUTCFullYear()), this.month(a2.getUTCMonth()), this.date(a2.getUTCDate()), this; + get displayTypeName() { + return "ArchVariableInteger"; } - x("N", 0, 0, "eraAbbr"), x("NN", 0, 0, "eraAbbr"), x("NNN", 0, 0, "eraAbbr"), x("NNNN", 0, 0, "eraName"), x("NNNNN", 0, 0, "eraNarrow"), x("y", ["y", 1], "yo", "eraYear"), x("y", ["yy", 2], 0, "eraYear"), x("y", ["yyy", 3], 0, "eraYear"), x("y", ["yyyy", 4], 0, "eraYear"), me("N", Ti), me("NN", Ti), me("NNN", Ti), me("NNNN", function(e3, t4) { - return t4.erasNameRegex(e3); - }), me("NNNNN", function(e3, t4) { - return t4.erasNarrowRegex(e3); - }), 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", 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[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", 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[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"], Ie), ye("Do", function(e3, t4) { - t4[Ie] = $(e3.match(re)[0]); - }); - 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 = $(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 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 Ii, Ci, bi = z("Seconds", false); - for (x("S", 0, 0, function() { - return ~~(this.millisecond() / 100); - }), x(0, ["SS", 2], 0, function() { - return ~~(this.millisecond() / 10); - }), x(0, ["SSS", 3], 0, "millisecond"), x(0, ["SSSS", 4], 0, function() { - return 10 * this.millisecond(); - }), x(0, ["SSSSS", 5], 0, function() { - return 100 * this.millisecond(); - }), x(0, ["SSSSSS", 6], 0, function() { - return 1e3 * this.millisecond(); - }), x(0, ["SSSSSSS", 7], 0, function() { - return 1e4 * this.millisecond(); - }), x(0, ["SSSSSSSS", 8], 0, function() { - 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), Ii = "SSSS"; Ii.length <= 9; Ii += "S") me(Ii, ce); - function Ei(e3, t4) { - t4[we] = $(1e3 * ("0." + 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; + get initialValue() { + return this._initialValue; } - 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]); - return i4 && n4; - })(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))); - }, wi.clone = function() { - return new A(this); - }, wi.diff = function(e3, t4, i3) { - var n3, r3, o2; - if (!this.isValid()) return NaN; - if (!(n3 = Jt(e3, this)).isValid()) return NaN; - switch (r3 = 6e4 * (n3.utcOffset() - this.utcOffset()), t4 = j(t4)) { - case "year": - o2 = si(this, n3) / 12; - break; - case "month": - o2 = si(this, n3); - break; - case "quarter": - o2 = si(this, n3) / 3; - break; - case "second": - o2 = (this - n3) / 1e3; - break; - case "minute": - o2 = (this - n3) / 6e4; - break; - case "hour": - o2 = (this - n3) / 36e5; - break; - case "day": - o2 = (this - n3 - r3) / 864e5; - break; - case "week": - o2 = (this - n3 - r3) / 6048e5; - break; - default: - o2 = this - n3; - } - return i3 ? o2 : J(o2); - }, 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) { - case "year": - t4 = i3(this.year() + 1, 0, 1) - 1; - break; - case "quarter": - t4 = i3(this.year(), this.month() - this.month() % 3 + 3, 1) - 1; - break; - case "month": - t4 = i3(this.year(), this.month() + 1, 1) - 1; - break; - case "week": - t4 = i3(this.year(), this.month(), this.date() - this.weekday() + 7) - 1; - break; - case "isoWeek": - t4 = i3(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1; - break; - case "day": - case "date": - t4 = i3(this.year(), this.month(), this.date() + 1) - 1; - break; - case "hour": - t4 = this._d.valueOf(), t4 += _i - mi(t4 + (this._isUTC ? 0 : this.utcOffset() * pi), _i) - 1; - break; - case "minute": - t4 = this._d.valueOf(), t4 += pi - mi(t4, pi) - 1; - break; - case "second": - t4 = this._d.valueOf(), t4 += di - mi(t4, di) - 1; - } - return this._d.setTime(t4), r2.updateOffset(this, true), this; - }, wi.format = function(e3) { - e3 || (e3 = this.isUtc() ? r2.defaultFormatUtc : r2.defaultFormat); - var t4 = V(this, e3); - return this.localeData().postformat(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(); - }, wi.fromNow = function(e3) { - return this.from(xt(), e3); - }, 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(); - }, wi.toNow = function(e3) { - return this.to(xt(), e3); - }, wi.get = function(e3) { - return E(this[e3 = j(e3)]) ? this[e3]() : this; - }, wi.invalidAt = function() { - return m(this).overflow; - }, 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()); - }, 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()); - }, 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)); - }, 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())); - }, wi.isSameOrAfter = function(e3, t4) { - return this.isSame(e3, t4) || this.isAfter(e3, t4); - }, wi.isSameOrBefore = function(e3, t4) { - return this.isSame(e3, t4) || this.isBefore(e3, t4); - }, wi.isValid = function() { - return g(this); - }, wi.lang = ui, wi.locale = li, wi.localeData = ci, wi.max = Vt, wi.min = kt, wi.parsingFlags = function() { - return _({}, m(this)); - }, wi.set = function(e3, t4) { - if ("object" == typeof e3) { - var i3, n3 = (function(e4) { - var t5, i4 = []; - for (t5 in e4) s(e4, t5) && i4.push({ unit: t5, priority: q[t5] }); - return i4.sort(function(e5, t6) { - return e5.priority - t6.priority; - }), i4; - })(e3 = W(e3)), r3 = n3.length; - 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; - }, 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) { - case "year": - t4 = i3(this.year(), 0, 1); - break; - case "quarter": - t4 = i3(this.year(), this.month() - this.month() % 3, 1); - break; - case "month": - t4 = i3(this.year(), this.month(), 1); - break; - case "week": - t4 = i3(this.year(), this.month(), this.date() - this.weekday()); - break; - case "isoWeek": - t4 = i3(this.year(), this.month(), this.date() - (this.isoWeekday() - 1)); - break; - case "day": - case "date": - t4 = i3(this.year(), this.month(), this.date()); - break; - case "hour": - t4 = this._d.valueOf(), t4 -= mi(t4 + (this._isUTC ? 0 : this.utcOffset() * pi), _i); - break; - case "minute": - t4 = this._d.valueOf(), t4 -= mi(t4, pi); - break; - case "second": - t4 = this._d.valueOf(), t4 -= mi(t4, di); - } - return this._d.setTime(t4), r2.updateOffset(this, true), this; - }, wi.subtract = ri, wi.toArray = function() { - var e3 = this; - return [e3.year(), e3.month(), e3.date(), e3.hour(), e3.minute(), e3.second(), e3.millisecond()]; - }, 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() }; - }, wi.toDate = function() { - return new Date(this.valueOf()); - }, 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"); - }, 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 && (wi[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = function() { - return "Moment<" + this.format() + ">"; - }), wi.toJSON = function() { - return this.isValid() ? this.toISOString() : null; - }, wi.toString = function() { - return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ"); - }, wi.unix = function() { - return Math.floor(this.valueOf() / 1e3); - }, wi.valueOf = function() { - return this._d.valueOf() - 6e4 * (this._offset || 0); - }, wi.creationData = function() { - return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict }; - }, 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 ""; - }, 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 ""; - }, 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 ""; - }, 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(); - }, wi.year = We, wi.isLeapYear = function() { - return H(this.year()); - }, wi.weekYear = function(e3) { - return Ai.call(this, e3, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy); - }, wi.isoWeekYear = function(e3) { - return Ai.call(this, e3, this.isoWeek(), this.isoWeekday(), 1, 4); - }, wi.quarter = wi.quarters = function(e3) { - return null == e3 ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e3 - 1) + this.month() % 3); - }, wi.month = Be, wi.daysInMonth = function() { - return Pe(this.year(), this.month()); - }, wi.week = wi.weeks = function(e3) { - var t4 = this.localeData().week(this); - return null == e3 ? t4 : this.add(7 * (e3 - t4), "d"); - }, wi.isoWeek = wi.isoWeeks = function(e3) { - var t4 = $e(this, 1, 4).week; - return null == e3 ? t4 : this.add(7 * (e3 - t4), "d"); - }, wi.weeksInYear = function() { - var e3 = this.localeData()._week; - return ze(this.year(), e3.dow, e3.doy); - }, wi.weeksInWeekYear = function() { - var e3 = this.localeData()._week; - 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; - }, 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"); - }, wi.isoWeekday = function(e3) { - if (!this.isValid()) return null != e3 ? this : NaN; - if (null != e3) { - var t4 = (function(e4, t5) { - return "string" == typeof e4 ? t5.weekdaysParse(e4) % 7 || 7 : isNaN(e4) ? null : e4; - })(e3, this.localeData()); - return this.day(this.day() % 7 ? t4 : t4 - 7); - } - return this.day() || 7; - }, 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"); - }, 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 = $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 : $t(this); - }, wi.utc = function(e3) { - return this.utcOffset(0, e3); - }, 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; - }, wi.hasAlignedHourOffset = function(e3) { - return !!this.isValid() && (e3 = e3 ? xt(e3).utcOffset() : 0, (this.utcOffset() - e3) % 60 == 0); - }, wi.isDST = function() { - return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset(); - }, wi.isLocal = function() { - return !!this.isValid() && !this._isUTC; - }, wi.isUtcOffset = function() { - return !!this.isValid() && this._isUTC; - }, wi.isUtc = zt, wi.isUTC = zt, wi.zoneAbbr = function() { - return this._isUTC ? "UTC" : ""; - }, wi.zoneName = function() { - return this._isUTC ? "Coordinated Universal Time" : ""; - }, 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(); - }), 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 && $(e4[n3]) !== $(t5[n3])) && a2++; - return a2 + o2; - })(t4._a, e3.toArray()) > 0) : this._isDSTShifted = false, this._isDSTShifted; - }); - 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 (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 ? (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"); - return s2; + get isArchVariableInteger() { + return true; } - Di.calendar = function(e3, t4, i3) { - var n3 = this._calendar[e3] || this._calendar.sameElse; - return E(n3) ? n3.call(t4, i3) : n3; - }, Di.longDateFormat = function(e3) { - var t4 = this._longDateFormat[e3], i3 = this._longDateFormat[e3.toUpperCase()]; - return t4 || !i3 ? t4 : (this._longDateFormat[e3] = i3.match(P).map(function(e4) { - return "MMMM" === e4 || "MM" === e4 || "DD" === e4 || "dddd" === e4 ? e4.slice(1) : e4; - }).join(""), this._longDateFormat[e3]); - }, Di.invalidDate = function() { - return this._invalidDate; - }, Di.ordinal = function(e3) { - return this._ordinal.replace("%d", e3); - }, 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) { - var i3 = this._relativeTime[e3 > 0 ? "future" : "past"]; - return E(i3) ? i3(t4) : i3.replace(/%s/i, t4); - }, Di.set = function(e3) { - var t4, i3; - for (i3 in e3) s(e3, i3) && (E(t4 = e3[i3]) ? this[i3] = t4 : this["_" + i3] = t4); - this._config = e3, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source); - }, Di.eras = function(e3, t4) { - var i3, n3, o2, a2 = this._eras || Tt("en")._eras; - for (i3 = 0, n3 = a2.length; i3 < n3; ++i3) switch ("string" == typeof a2[i3].since && (o2 = r2(a2[i3].since).startOf("day"), a2[i3].since = o2.valueOf()), typeof a2[i3].until) { - case "undefined": - a2[i3].until = 1 / 0; - break; - case "string": - o2 = r2(a2[i3].until).startOf("day").valueOf(), a2[i3].until = o2.valueOf(); - } - return a2; - }, Di.erasParse = function(e3, t4, i3) { - var n3, r3, o2, a2, s2, l2 = this.eras(); - for (e3 = e3.toUpperCase(), n3 = 0, r3 = l2.length; n3 < r3; ++n3) if (o2 = l2[n3].name.toUpperCase(), a2 = l2[n3].abbr.toUpperCase(), s2 = l2[n3].narrow.toUpperCase(), i3) switch (t4) { - case "N": - case "NN": - case "NNN": - if (a2 === e3) return l2[n3]; - break; - case "NNNN": - if (o2 === e3) return l2[n3]; - break; - case "NNNNN": - if (s2 === e3) return l2[n3]; - } - else if ([o2, a2, s2].indexOf(e3) >= 0) return l2[n3]; - }, Di.erasConvertYear = function(e3, t4) { - var i3 = e3.since <= e3.until ? 1 : -1; - return void 0 === t4 ? r2(e3.since).year() : r2(e3.since).year() + (t4 - e3.offset) * i3; - }, Di.erasAbbrRegex = function(e3) { - return s(this, "_erasAbbrRegex") || yi.call(this), e3 ? this._erasAbbrRegex : this._erasRegex; - }, Di.erasNameRegex = function(e3) { - return s(this, "_erasNameRegex") || yi.call(this), e3 ? this._erasNameRegex : this._erasRegex; - }, Di.erasNarrowRegex = function(e3) { - return s(this, "_erasNarrowRegex") || yi.call(this), e3 ? this._erasNarrowRegex : this._erasRegex; - }, Di.months = function(e3, t4) { - return e3 ? o(this._months) ? this._months[e3.month()] : this._months[(this._months.isFormat || Le).test(t4) ? "format" : "standalone"][e3.month()] : o(this._months) ? this._months : this._months.standalone; - }, Di.monthsShort = function(e3, t4) { - return e3 ? o(this._monthsShort) ? this._monthsShort[e3.month()] : this._monthsShort[Le.test(t4) ? "format" : "standalone"][e3.month()] : o(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone; - }, Di.monthsParse = function(e3, t4, i3) { - var n3, r3, o2; - if (this._monthsParseExact) return Ve.call(this, e3, t4, i3); - for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), n3 = 0; n3 < 12; n3++) { - if (r3 = h([2e3, n3]), i3 && !this._longMonthsParse[n3] && (this._longMonthsParse[n3] = new RegExp("^" + this.months(r3, "").replace(".", "") + "$", "i"), this._shortMonthsParse[n3] = new RegExp("^" + this.monthsShort(r3, "").replace(".", "") + "$", "i")), i3 || this._monthsParse[n3] || (o2 = "^" + this.months(r3, "") + "|^" + this.monthsShort(r3, ""), this._monthsParse[n3] = new RegExp(o2.replace(".", ""), "i")), i3 && "MMMM" === t4 && this._longMonthsParse[n3].test(e3)) return n3; - if (i3 && "MMM" === t4 && this._shortMonthsParse[n3].test(e3)) return n3; - if (!i3 && this._monthsParse[n3].test(e3)) return n3; - } - }, Di.monthsRegex = function(e3) { - return this._monthsParseExact ? (s(this, "_monthsRegex") || Ge.call(this), e3 ? this._monthsStrictRegex : this._monthsRegex) : (s(this, "_monthsRegex") || (this._monthsRegex = ke), this._monthsStrictRegex && e3 ? this._monthsStrictRegex : this._monthsRegex); - }, 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 $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 ? Ke(i3, this._week.dow) : e3 ? i3[e3.day()] : i3; - }, Di.weekdaysMin = function(e3) { - return true === e3 ? Ke(this._weekdaysMin, this._week.dow) : e3 ? this._weekdaysMin[e3.day()] : this._weekdaysMin; - }, Di.weekdaysShort = function(e3) { - 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); - for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), n3 = 0; n3 < 7; n3++) { - if (r3 = h([2e3, 1]).day(n3), i3 && !this._fullWeekdaysParse[n3] && (this._fullWeekdaysParse[n3] = new RegExp("^" + this.weekdays(r3, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[n3] = new RegExp("^" + this.weekdaysShort(r3, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[n3] = new RegExp("^" + this.weekdaysMin(r3, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[n3] || (o2 = "^" + this.weekdays(r3, "") + "|^" + this.weekdaysShort(r3, "") + "|^" + this.weekdaysMin(r3, ""), this._weekdaysParse[n3] = new RegExp(o2.replace(".", ""), "i")), i3 && "dddd" === t4 && this._fullWeekdaysParse[n3].test(e3)) return n3; - if (i3 && "ddd" === t4 && this._shortWeekdaysParse[n3].test(e3)) return n3; - if (i3 && "dd" === t4 && this._minWeekdaysParse[n3].test(e3)) return n3; - if (!i3 && this._weekdaysParse[n3].test(e3)) return n3; - } - }, Di.weekdaysRegex = function(e3) { - return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || rt.call(this), e3 ? this._weekdaysStrictRegex : this._weekdaysRegex) : (s(this, "_weekdaysRegex") || (this._weekdaysRegex = et), this._weekdaysStrictRegex && e3 ? this._weekdaysStrictRegex : this._weekdaysRegex); - }, Di.weekdaysShortRegex = function(e3) { - return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || rt.call(this), e3 ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (s(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = tt), this._weekdaysShortStrictRegex && e3 ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex); - }, Di.weekdaysMinRegex = function(e3) { - return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || rt.call(this), e3 ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (s(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = it), this._weekdaysMinStrictRegex && e3 ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex); - }, Di.isPM = function(e3) { - return "p" === (e3 + "").toLowerCase().charAt(0); - }, Di.meridiem = function(e3, t4, 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 === $(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); - return e3._milliseconds += n3 * r3._milliseconds, e3._days += n3 * r3._days, e3._months += n3 * r3._months, e3._bubble(); + } + t2.default = o; + }, 96815(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function ki(e3) { - return e3 < 0 ? Math.floor(e3) : Math.ceil(e3); + get _globalTypeName() { + return "integerCollection"; } - function Vi(e3) { - return 4800 * e3 / 146097; + get displayTypeName() { + return "ArchVariableIntegerCollection"; } - function Ui(e3) { - return 146097 * e3 / 4800; + get initialValue() { + return this._initialValue; } - function Bi(e3) { - return function() { - return this.as(e3); - }; + get isArchVariableIntegerCollection() { + return true; } - 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; - }; + } + t2.default = o; + }, 33965(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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); + get _globalTypeName() { + return "journeyOutcome"; } - var ln = Math.abs; - function un(e3) { - return (e3 > 0) - (e3 < 0) || +e3; + get initialValue() { + return this._initialValue; } - 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), 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"; + get displayTypeName() { + return "ArchVariableJourneyOutcome"; } - var dn = Gt.prototype; - return dn.isValid = function() { - return this._isValid; - }, 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; - }, dn.add = function(e3, t4) { - return xi(this, e3, t4, 1); - }, dn.subtract = function(e3, t4) { - return xi(this, e3, t4, -1); - }, 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) { - case "month": - return i3; - case "quarter": - return i3 / 3; - case "year": - return i3 / 12; - } - else switch (t4 = this._days + Math.round(Ui(this._months)), e3) { - case "week": - return t4 / 7 + n3 / 6048e5; - case "day": - return t4 + n3 / 864e5; - case "hour": - return 24 * t4 + n3 / 36e5; - case "minute": - return 1440 * t4 + n3 / 6e4; - case "second": - return 86400 * t4 + n3 / 1e3; - case "millisecond": - return Math.floor(864e5 * t4) + n3; - default: - throw new Error("Unknown unit " + e3); - } - }, 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; - }, dn.clone = function() { - return Xt(this); - }, dn.get = function(e3) { - return e3 = j(e3), this.isValid() ? this[e3 + "s"]() : NaN; - }, dn.milliseconds = Qi, dn.seconds = Xi, dn.minutes = Zi, dn.hours = en, dn.days = tn, dn.weeks = function() { - return J(this.days() / 7); - }, 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")), 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); - }, 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($(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)); - }, r2.now = function() { - return Date.now ? Date.now() : +/* @__PURE__ */ new Date(); - }, r2.utc = h, r2.unix = function(e3) { - return xt(1e3 * e3); - }, r2.months = function(e3, t4) { - return Mi(e3, t4, "months"); - }, 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(); - }, r2.localeData = Tt, r2.isDuration = jt, r2.monthsShort = function(e3, t4) { - return Mi(e3, t4, "monthsShort"); - }, r2.weekdaysMin = function(e3, t4, i3) { - return Fi(e3, t4, i3, "weekdaysMin"); - }, r2.defineLocale = ft, r2.updateLocale = function(e3, t4) { - if (null != t4) { - 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 I(dt); - }, r2.weekdaysShort = function(e3, t4, i3) { - return Fi(e3, t4, i3, "weekdaysShort"); - }, r2.normalizeUnits = j, r2.relativeTimeRounding = function(e3) { - return void 0 === e3 ? on : "function" == typeof e3 && (on = e3, true); - }, r2.relativeTimeThreshold = function(e3, t4) { - return void 0 !== an[e3] && (void 0 === t4 ? an[e3] : (an[e3] = t4, "s" === e3 && (an.ss = t4 - 1), true)); - }, 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 = 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; - if (i2(6697)) n2 = i2(79411); - else { - const e3 = i2(29546); - try { - n2 = i2(97549)("./" + e3.getCurrentLanguage() + "/countries.js"); - } catch (e4) { - n2 = i2(79411); + get isArchVariableJourneyOutcome() { + return true; } - } - n2.then && n2.then((t3) => { - e2.exports = t3; - }), e2.exports = n2; - }, 95201: (e2, t2, i2) => { + } + t2.default = o; + }, 2625(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(55572)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(20692)); class o extends n2.default { constructor(e3) { - super(e3), this._actualRepeatCount = this.coreFactory.createArchWrapper(e3.actualRepeatCount), this._allowedRepeatCount = this.coreFactory.createArchWrapper(e3.allowedRepeatCount), this._audio = this.coreFactory.createArchWrapper(e3.audio); + super(e3); } - get _actionTypeId() { - return r2.playAudioOnSilenceActionType; + get _globalTypeName() { + return "journeyOutcomeCollection"; + } + get initialValue() { + return this._initialValue; } get displayTypeName() { - return this._scriptingName; + return "ArchVariableJourneyOutcomeCollection"; } - get isArchActionPlayAudioOnSilence() { + get isArchVariableJourneyOutcomeCollection() { return true; } - get actualRepeatCount() { - return this._actualRepeatCount; + } + t2.default = o; + }, 19071(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get allowedRepeatCount() { - return this._allowedRepeatCount; + get _globalTypeName() { + return "journeyOutcomeScore"; } - get audio() { - return this._audio; + get initialValue() { + return this._initialValue; + } + get displayTypeName() { + return "ArchVariableJourneyOutcomeScore"; + } + get isArchVariableJourneyOutcomeScore() { + return true; } } t2.default = o; - }, 95212: (e2, t2, i2) => { + }, 32967(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(82472)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(20692)); class o extends n2.default { constructor(e3) { - super(e3), this._allowVoicemail = this.coreFactory.createArchWrapper(e3.allowVoicemail), this._targetGroup = this.coreFactory.createArchValueFromExpression(e3.group); + super(e3); } - get _actionTypeId() { - return r2.transferGroupActionType; + get _globalTypeName() { + return "journeyOutcomeScoreCollection"; } - get allowVoicemailRollover() { - return this._allowVoicemail; + get initialValue() { + return this._initialValue; } get displayTypeName() { - return this._scriptingName; + return "ArchVariableJourneyOutcomeScoreCollection"; } - get isArchActionTransferToGroup() { + get isArchVariableJourneyOutcomeScoreCollection() { return true; } - get targetGroup() { - return this._targetGroup; - } } t2.default = o; - }, 95250: (e2, t2, i2) => { + }, 98368(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(63345), a = n2.__importDefault(i2(45894)); - class s extends a.default { + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { - super(e3, o.responseAssetManager); + super(e3); } get _globalTypeName() { - return "responseAsset"; + return "journeySegment"; + } + get initialValue() { + return this._initialValue; } get displayTypeName() { - return "ArchValueResponseAsset"; + return "ArchVariableJourneySegment"; } - get isArchValueResponseAsset() { + get isArchVariableJourneySegment() { return true; } - setLiteralByResponseAssetIdAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("responseAssetId", "setLiteralByResponseAssetIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByResponseAssetIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByResponseAssetIdAsync", t3, this)); + } + t2.default = o; + }, 57060(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - setLiteralByResponseAssetNameAsync(e3, t3) { - return this._checkItemIsValidLiteralString(this._infoParm("responseAssetName", "setLiteralByResponseAssetNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByResponseAssetNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByResponseAssetNameAsync", t3, this)); + get _globalTypeName() { + return "journeySegmentCollection"; + } + get initialValue() { + return this._initialValue; + } + get displayTypeName() { + return "ArchVariableJourneySegmentCollection"; + } + get isArchVariableJourneySegmentCollection() { + return true; } } - t2.default = s; - }, 95258: (e2, t2, i2) => { + t2.default = o; + }, 75845(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.PromptContainerList = void 0; - const n2 = i2(31635), r2 = i2(80295), o = i2(15116), a = i2(53314); - class s extends o.PagedList { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { super(e3); } - get entities() { - return this._entities; + get _globalTypeName() { + return "journeySession"; } - set entities(e3) { - this._entities = this.reviveArray(e3, a.PromptContainer); + get initialValue() { + return this._initialValue; + } + get displayTypeName() { + return "ArchVariableJourneySession"; + } + get isArchVariableJourneySession() { + return true; } } - t2.PromptContainerList = s, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 95275: (e2, t2, i2) => { - function n2() { - this.bot = void 0, this.id = void 0, this.languages = void 0, this.name = void 0, this.intents = void 0, this.knowledgebases = void 0, n2.baseConstructor.apply(this, arguments); - } - i2(45214).extend(n2, "DialogEngineVersion"), Object.defineProperties(n2.prototype, { label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } } }), e2.exports = n2; - }, 95320: (e2, t2, i2) => { + t2.default = o; + }, 75705(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)), c = n2.__importDefault(i2(4648)), d = i2(47957); - class p extends r2.default { - constructor(e3, t3) { - super(e3.parentFlow, e3), this._loadModel(t3); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - static get branchInfo() { - return o.default.successFailure; + get _globalTypeName() { + return "journeySessionCollection"; } - _getPossibleErrors() { - return this.parentFlow.isWorkitemFlow ? s.clearUtilizationLabelFailureReasonsWithWorkitem : a.clearUtilizationLabelFailureReasons; + get initialValue() { + return this._initialValue; + } + get displayTypeName() { + return "ArchVariableJourneySessionCollection"; + } + get isArchVariableJourneySessionCollection() { + return true; } } - 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) => { + t2.default = o; + }, 22047(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "stringCollection"; + return "json"; } get displayTypeName() { - return "ArchValueStringCollection"; + return "ArchVariableJson"; } - get isArchValueStringCollection() { + get initialValue() { + return this._initialValue; + } + get dataType() { + return this.coreFactory.createArchWrapper(this._coreVariableViewModel.type); + } + get isArchVariableJson() { return true; } } - t2.default = r2; - }, 95372: (e2, t2, i2) => { - function n2() { - n2.baseConstructor.apply(this, arguments); - } - i2(11475).extend(n2, "ComplexVariable", true), Object.defineProperties(n2.prototype, { typeIdentifier: { writable: true } }), e2.exports = n2; - }, 95433: (e2, t2, i2) => { + t2.default = o; + }, 49895(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(11210)), r2 = i2(30801); + const n2 = i2(31635).__importDefault(i2(20692)); class o extends n2.default { constructor(e3) { - super(e3), this._audio = this.coreFactory.createArchAudio(e3.prompts); + super(e3); } - get _actionTypeId() { - return r2.playAudioActionType; + get _globalTypeName() { + return "jsonCollection"; } get displayTypeName() { - return this._scriptingName; + return "ArchVariableJsonCollection"; } - get audio() { - return this._audio; + get initialValue() { + return this._initialValue; } - get isArchActionPlayAudio() { + get isArchVariableJsonCollection() { return true; } } t2.default = o; - }, 95443: (e2, t2, i2) => { + }, 74085(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.createBargeInManagedProperty = function(e3, 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)), c = i2(47957); - }, 95462: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__generator || function(e3, t3) { - var i3, n3, r3, o2, a2 = { label: 0, sent: function() { - if (1 & r3[0]) throw r3[1]; - return r3[1]; - }, trys: [], ops: [] }; - return o2 = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o2[Symbol.iterator] = function() { - return this; - }), o2; - function s(o3) { - return function(s2) { - return (function(o4) { - if (i3) throw new TypeError("Generator is already executing."); - for (; a2; ) try { - if (i3 = 1, n3 && (r3 = 2 & o4[0] ? n3.return : o4[0] ? n3.throw || ((r3 = n3.return) && r3.call(n3), 0) : n3.next) && !(r3 = r3.call(n3, o4[1])).done) return r3; - switch (n3 = 0, r3 && (o4 = [2 & o4[0], r3.value]), o4[0]) { - case 0: - case 1: - r3 = o4; - break; - case 4: - return a2.label++, { value: o4[1], done: false }; - case 5: - a2.label++, n3 = o4[1], o4 = [0]; - continue; - case 7: - o4 = a2.ops.pop(), a2.trys.pop(); - continue; - default: - if (!((r3 = (r3 = a2.trys).length > 0 && r3[r3.length - 1]) || 6 !== o4[0] && 2 !== o4[0])) { - a2 = 0; - continue; - } - if (3 === o4[0] && (!r3 || o4[1] > r3[0] && o4[1] < r3[3])) { - a2.label = o4[1]; - break; - } - if (6 === o4[0] && a2.label < r3[1]) { - a2.label = r3[1], r3 = o4; - break; - } - if (r3 && a2.label < r3[2]) { - a2.label = r3[2], a2.ops.push(o4); - break; - } - r3[2] && a2.ops.pop(), a2.trys.pop(); - continue; - } - o4 = t3.call(e3, a2); - } catch (e4) { - o4 = [6, e4], n3 = 0; - } finally { - i3 = r3 = 0; - } - if (5 & o4[0]) throw o4[1]; - return { value: o4[0] ? o4[1] : void 0, done: true }; - })([o3, s2]); - }; - } - }, r2 = this && this.__await || function(e3) { - return this instanceof r2 ? (this.v = e3, this) : new r2(e3); - }, o = this && this.__asyncGenerator || function(e3, t3, i3) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var n3, o2 = i3.apply(e3, t3 || []), a2 = []; - return n3 = {}, s("next"), s("throw"), s("return"), n3[Symbol.asyncIterator] = function() { - return this; - }, n3; - function s(e4) { - o2[e4] && (n3[e4] = function(t4) { - return new Promise(function(i4, n4) { - a2.push([e4, t4, i4, n4]) > 1 || l(e4, t4); - }); - }); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - function l(e4, t4) { - try { - (i4 = o2[e4](t4)).value instanceof r2 ? Promise.resolve(i4.value.v).then(u, c) : d(a2[0][2], i4); - } catch (e5) { - d(a2[0][3], e5); - } - var i4; + get _globalTypeName() { + return "knowledgeBaseDocument"; } - function u(e4) { - l("next", e4); + get displayTypeName() { + return "ArchVariableKnowledgeBaseDocument"; } - function c(e4) { - l("throw", e4); + get initialValue() { + return this._initialValue; } - function d(e4, t4) { - e4(t4), a2.shift(), a2.length && l(a2[0][0], a2[0][1]); + get isArchVariableKnowledgeBaseDocument() { + return true; } - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.isReadableStreamLike = t2.readableStreamLikeToAsyncGenerator = void 0; - var a = i2(10281); - t2.readableStreamLikeToAsyncGenerator = function(e3) { - return o(this, arguments, function() { - var t3, i3, o2; - return n2(this, function(n3) { - switch (n3.label) { - case 0: - t3 = e3.getReader(), n3.label = 1; - case 1: - n3.trys.push([1, , 9, 10]), n3.label = 2; - case 2: - return [4, r2(t3.read())]; - case 3: - return i3 = n3.sent(), o2 = i3.value, i3.done ? [4, r2(void 0)] : [3, 5]; - case 4: - return [2, n3.sent()]; - case 5: - return [4, r2(o2)]; - case 6: - return [4, n3.sent()]; - case 7: - return n3.sent(), [3, 2]; - case 8: - return [3, 10]; - case 9: - return t3.releaseLock(), [7]; - case 10: - return [2]; - } - }); - }); - }, t2.isReadableStreamLike = function(e3) { - return a.isFunction(null == e3 ? void 0 : e3.getReader); - }; - }, 95465: (e2, t2, i2) => { + } + t2.default = o; + }, 12345(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; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - 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 }; + get _globalTypeName() { + return "knowledgeBaseDocumentCollection"; + } + get displayTypeName() { + return "ArchVariableKnowledgeBaseDocumentCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableKnowledgeBaseDocumentCollection() { + return true; } } - t2.FlowModelSchemaService = r2, r2._schemaCache = /* @__PURE__ */ new Map(); - }, 95513: function(e2, t2, i2) { + t2.default = o; + }, 33022(e2, t2, i2) { "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "languageSkill"; + } + get displayTypeName() { + return "ArchVariableLanguageSkill"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableLanguageSkill() { + return true; } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.onErrorResumeNext = t2.onErrorResumeNextWith = void 0; - var o = i2(7652), a = i2(1903); - function s() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = o.argsOrArgArray(e3); - return function(e4) { - return a.onErrorResumeNext.apply(void 0, r2([e4], n2(i3))); - }; } - t2.onErrorResumeNextWith = s, t2.onErrorResumeNext = s; - }, 95682: (e2, t2, i2) => { + t2.default = o; + }, 20254(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), 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 { - constructor(e3, t3, i3) { - super(e3, t3, i3); - } - get className() { - return "QuickRepliesType"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - canConvertLitToExpression(e3) { - return false; + get _globalTypeName() { + return "languageSkillCollection"; } - convertLitToExpression(e3, t3, i3) { - return ""; + get displayTypeName() { + return "ArchVariableLanguageSkillCollection"; } - createExpressionOptionClass() { - return new o.ExpressionTypeQuickRepliesOptions(); + get initialValue() { + return this._initialValue; } - get supportsLiteralEditor() { + get isArchVariableLanguageSkillCollection() { return true; } - getChooser(e3) { - var t3; - if (null === (t3 = e3.propertyParent) || void 0 === t3 ? void 0 : t3.type.isMatch(p.globalTypes.chooser, c.settings.exact)) return e3.propertyParent; + } + t2.default = o; + }, 26940(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getPropButtons(e3) { - return null == e3 ? void 0 : e3.getProperty(t2.PROP_BUTTONS); + get _globalTypeName() { + return "lineItem"; } - getQuickReplySummary(e3) { - return null == e3 ? void 0 : e3.getProperty(t2.PROP_QUICK_REPLY_SUMMARY); + get displayTypeName() { + return "ArchVariableLineItem"; } - validateLiteral(e3, t3) { - return this.validateDuplicates(e3, t3) && super.validateLiteral(e3, t3); + get initialValue() { + return this._initialValue; } - _processButtonChoices(e3, i3, n3) { - var o2; - if (!e3) return; - const a2 = e3.getProperty(t2.PROP_BUTTONS, true); - !a2 || !i3 && a2.outOfService || r2.default.each(null === (o2 = a2.collectionItems) || void 0 === o2 ? void 0 : o2.items, (e4) => { - try { - n3(e4); - } catch (e5) { - } - }); + get isArchVariableLineItem() { + return true; } - getPossibleChoices(e3, t3, i3) { - const n3 = []; - return e3 ? (this._processButtonChoices(e3, i3, (e4) => { - t3 && !e4.type.isPostbackChoice(e4) || n3.push(e4); - }), n3) : n3; + } + t2.default = o; + }, 85080(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - isUnknownAtDesignTime(e3) { - if (!(null == e3 ? void 0 : e3.isLiteralMode) || e3.outOfService) return true; - const i3 = e3.getProperty(t2.PROP_BUTTONS, true); - return !i3 || i3.outOfService; + get _globalTypeName() { + return "lineItemCollection"; } - getHasAtLeastOnePostbackChoice(e3) { - var i3; - if (this.isUnknownAtDesignTime(e3)) return; - const n3 = e3.getProperty(t2.PROP_BUTTONS, true); - if (!n3 || n3.outOfService) return; - let o2, a2; - return r2.default.find(null === (i3 = n3.collectionItems) || void 0 === i3 ? void 0 : i3.items, (e4) => { - if (e4.type.getHasPostbackValue(e4)) return a2 = true, e4; - e4.type.isUnknownAtDesignTime(e4) && (o2 = true); - }), !!a2 || !!o2 && void 0; + get displayTypeName() { + return "ArchVariableLineItemCollection"; } - deleteChoiceAtIndex(e3, t3) { - return this.deleteButtonsChoiceAtIndex(e3, t3); + get initialValue() { + return this._initialValue; } - applyNluDiffs(e3, i3, n3) { - var o2, a2; - if (!n3) return; - const s2 = i3.getProperty(t2.PROP_BUTTONS, true); - if ((null === (o2 = null == s2 ? void 0 : s2.collectionItems) || void 0 === o2 ? void 0 : o2.items) && !s2.outOfService) { - if (n3.invalidPostbackValueChoices) for (let t3 = s2.collectionItems.items.length - 1; t3 >= 0; t3--) { - const i4 = null === (a2 = s2.collectionItems) || void 0 === a2 ? void 0 : a2.items[t3]; - i4.type.isInvalidNluChoice(i4, n3) && (e3.invalidSlotTypeValuesRemoved || (e3.invalidSlotTypeValuesRemoved = []), e3.invalidSlotTypeValuesRemoved.push(i4.type.getManagedSlotTypeValue(i4)), s2.collectionItems.removeChild(i4)); - } - r2.default.each(n3.missingSlotTypeValues, (t3) => { - const n4 = g.isFeatureAvailable(f.default.botFlowsSupportDontKnowAnswers) ? s2.collectionItems.items.find((e4) => { - var t4; - return null === (t4 = e4.type) || void 0 === t4 ? void 0 : t4.isSkipChoice(e4); - }) : null; - if (s2.collectionItems.items.length < y || n4) { - const n5 = h.ChoiceType.createPostbackChoice(t3, true, i3.parentFlow, i3.parent); - s2.collectionItems.addItem(n5), e3.missingSlotTypeValuesAdded || (e3.missingSlotTypeValuesAdded = []), e3.missingSlotTypeValuesAdded.push(t3); - } - }); - } + get isArchVariableLineItemCollection() { + return true; } - reorderItemsByAllowableValues(e3, i3) { - var n3; - if (!(null == i3 ? void 0 : i3.length)) return; - const r3 = e3.getProperty(t2.PROP_BUTTONS, true); - if (!(null === (n3 = null == r3 ? void 0 : r3.collectionItems) || void 0 === n3 ? void 0 : n3.items) || r3.outOfService) return; - const o2 = [], a2 = []; - let s2 = false; - if (r3.collectionItems.items.forEach((e4) => { - e4.type.isSkipChoice(e4) ? o2.push(e4) : e4.type.getIsManagedSlotTypeValueChoice(e4) ? a2.push(e4) : s2 = true; - }), s2) return; - const l2 = {}; - a2.forEach((e4) => { - const t3 = e4.type.getManagedSlotTypeValue(e4) || e4.type.getPostbackValue(e4); - t3 && i3.includes(t3) && (l2[t3] = e4); - }); - const u2 = []; - i3.forEach((e4) => { - const t3 = l2[e4]; - t3 && u2.push(t3); - }), u2.push(...o2), u2.length > 0 && r3.collectionItems.setItemsOrder && r3.collectionItems.setItemsOrder(u2); + } + t2.default = o; + }, 56191(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - initializeDesignTime(e3) { - super.initializeDesignTime(e3); - const t3 = this.getPropButtons(e3); - t3 && (e3.addAutoCleanedUpSubscription(l.createObservableForEvent$(s.listOrderChanged, t3).subscribe(() => this._onChoicesUpdated(e3))), e3.addAutoCleanedUpSubscription(l.createObservableForEvent$(s.expressionModeChanged, e3).subscribe(() => this._onChoicesUpdated(e3)))), this._onChoicesUpdated(e3); + get _globalTypeName() { + return "listPicker"; } - configurePropertyCreationParams(e3, i3, n3) { - var r3; - switch (super.configurePropertyCreationParams(e3, i3, n3), null === (r3 = i3.name) || void 0 === r3 ? void 0 : r3.toLowerCase()) { - case t2.PROP_BUTTONS: - n3.options.setUiCanMoveItemCallback((e4) => !e4.type.isSkipChoice(e4)); - break; - case t2.PROP_QUICK_REPLY_SUMMARY: - n3.options.setIsOptional(true), n3.options.setIninTestingField("quick-reply-summary"); - } + get displayTypeName() { + return "ArchVariableListPicker"; } - _onChoicesUpdated(e3) { - const t3 = this.getPropButtons(e3); - let i3; - (null == e3 ? void 0 : e3.isLiteralMode) && t3.isLiteralMode && (i3 = `${t3.collectionItems.length} / ${y}`), e3.options.setSubLabel(i3); + get initialValue() { + return this._initialValue; } - configureFromChoices(e3, i3) { - const n3 = e3.getProperty(t2.PROP_BUTTONS); - n3 && (n3.mode = T.literal, n3.removeAll(), r2.default.each(i3, (t3) => { - if ((0, m.isChoiceExpressionType)(t3.type)) { - if (t3.type.getPostbackValue(t3)) { - const e4 = t3.tempClone(); - n3.collectionItems.addItem(e4); - } - } else { - const i4 = t3.type.getValueStr(t3); - if (i4) { - const t4 = h.ChoiceType.createPostbackChoice(i4, true, e3.parentFlow, e3.parent); - n3.collectionItems.addItem(t4); - } - } - })); + get isArchVariableListPicker() { + return true; } - setLiteralFromChoiceListViewModel(e3, i3) { - const n3 = e3.getProperty(t2.PROP_BUTTONS); - n3 && (n3.mode = T.literal, n3.removeAll(), r2.default.each(i3.items, (t3) => { - if (t3.isChoiceViewModel) if (t3.isEnabled) { - const i4 = n3.singleType.createChoiceFromChoiceViewModel(e3.parentFlow, e3.parent, t3); - n3.collectionItems.addItem(i4); - } else a.log(`Not migrating choice '${t3.name}' to quick reply button choice as it is not enabled.`); - })); + } + t2.default = o; + }, 15612(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getYamlObjectForLiteralSingleton(e3, t3, i3, n3) { - const r3 = super.getYamlObjectForLiteralSingleton(e3, t3, i3, n3); - return g.isFeatureAvailable(f.default.digitalBotFlowsAppleMessaging) || delete r3.quickReplySummary, r3; + get _globalTypeName() { + return "listPickerItem"; } - couldHaveUnknownPostbackValue(e3) { - if (!e3 || e3.outOfService) return false; - if (!e3.isLiteralMode) return true; - const i3 = e3.getProperty(t2.PROP_BUTTONS); - return !(null == i3 ? void 0 : i3.isLiteralMode) || !!r2.default.find(i3.collectionItems.items, (e4) => e4.type.couldHaveUnknownPostbackValue(e4)); + get displayTypeName() { + return "ArchVariableListPickerItem"; } - get hasRichLiteralEditor() { + get initialValue() { + return this._initialValue; + } + get isArchVariableListPickerItem() { return true; } } - t2.QuickRepliesType = S, S.typeIdentifier = d.expressionTypeNames.quickReplies; - }, 95689: (e2, t2, i2) => { + t2.default = o; + }, 50744(e2, t2, i2) { "use strict"; - 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - validate(e3) { - super.validate(e3); + get _globalTypeName() { + return "listPickerItemCollection"; + } + get displayTypeName() { + return "ArchVariableListPickerItemCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableListPickerItemCollection() { + return true; } } - 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() { - } - const s = new a(); - a.prototype.getWrapupCode = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes/{id}", r2), a.prototype.getWrapupCodeDivisionView = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes/divisionviews/{id}", r2), a.prototype.getWrapupCodes = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes", o), a.prototype.getWrapupCodesDivisionView = n2.request("GET", "{public-api.apps}/api/v2/routing/wrapupcodes/divisionviews", o), s.getWrapupCodes.addOptions({ ignoreBadResponse: true }), s.getWrapupCodesDivisionView.addOptions({ ignoreBadResponse: true }), e2.exports = s; - }, 95774: (e2, t2, i2) => { - const n2 = i2(69823), { secureActionActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 95803: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.create = function() { - 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 === I.builderIds.parts.genericCommunication ? "GenericBuilder" : ""; - switch (e3.builderPartExpressions[1].text) { - case "auto": - i3 = t3[`promptGenerator${n3}`]; - break; - case "tts": - i3 = t3[`promptTtsGenerator${n3}`]; - break; - case "text": - i3 = t3[`promptTextGenerator${n3}`]; - } - } - } catch (e4) { - } - return i3 || t3.promptGenerator; - } }, 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 === I.builderIds.parts.genericCommunication && (i3 = t3.rawExpressionGenerator); - } catch (e4) { - } - return i3; - } }, 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 = 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: 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]; - if (!n3) return void P.error(`could not find FuncOp: ${i3.overloadId}`); - if (n3.isUnavailable) return void P.error(`FuncOp: ${i3.overloadId} is not available to use`); - let r3, o2, s2, l2; - if (null == t3 ? void 0 : t3.isVariableMode) { - const i4 = t3.variables[Object.keys(t3.variables)[0]]; - 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) => { - s2.addFuncParameterSeparator().addText(e5), l2 += `, ${e5}`; - }) : P.error(`could not find operand value for: ${e4.name}`)); - }), s2.addFuncCallEnd(), l2 += ")", s2.verifySprintfStringAndInitialize(l2), s2; - }, getExpressionGenerator: (e3, t3) => { - if (e3.builderPartExpressions && e3.builderPartExpressions[0]) { - const i3 = e3.builderPartExpressions[0].configType; - if (a.default.isObject(i3)) { - const n3 = e3.builderPartExpressions[0]; - return t3.formattingGenerator(e3, n3) || (i3.isSupportedByAny ? N.default.singleTokenReplacementGenerator : e3.parentFlow.definition.isAutomateOrCiceroFlowType ? t3.toDisplayStringGenerator : t3.toStringGenerator); - } - } - return N.default.singleTokenReplacementGenerator; - } }, 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: 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)), 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() { - Object.defineProperties(this, { _label: { writable: true } }), this.isEnabled = void 0, this.referenceId = void 0, a.baseConstructor.apply(this, arguments), this.id || (this.id = o()); - } - Object.defineProperties(a.prototype, { isChoice: { value: true }, label: { enumerable: true, get: function() { - return this._label; - }, set: function(e3) { - this._label = this.reviveItem(e3, r2); - } } }), n2.extend(a, "Choice"), e2.exports = a; - }, 95847: (e2, t2, i2) => { + t2.default = o; + }, 70144(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(67193)), o = i2(30801), a = n2.__importDefault(i2(78432)); - class s extends r2.default { + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { - super(e3), this._coreTransferToFlowActionViewModel = e3; - } - get _actionTypeId() { - return o.transferFlowActionType; + super(e3); } - get _supportedTargetFlowType() { - return a.default.FLOW_TYPES.inboundCall; + get _globalTypeName() { + return "listPickerSection"; } get displayTypeName() { - return this._scriptingName; - } - get isArchActionTransferToFlow() { - return true; + return "ArchVariableListPickerSection"; } - get targetFlowInfo() { - return this.coreFactory.createArchFlowInfoBasic(this._coreTransferToFlowActionViewModel.flowId, this._coreTransferToFlowActionViewModel.flowName, a.default.FLOW_TYPES.inboundCall); + get initialValue() { + return this._initialValue; } - set targetFlowInfo(e3) { - const t3 = this._infoPropSet("newValue", "targetFlowInfo"); - this._checkItem(t3, !e3 || !e3.isArchFlowInfo && !e3.isArchFlowInfoBasic, "You must pass in an ArchFlowInfo or ArchFlowInfoBasic instance for the target Flow Info setter."), this._checkItem(t3, e3.type !== this._supportedTargetFlowType, "This action does not let you transfer to flows of type '" + e3.type + "'. It only supports flows of type '" + this._supportedTargetFlowType + "'"), this.logNote("configuring the transfer action to transfer to the flow name '" + e3.name + "' with id '" + e3.id + "'"), this._coreTransferToFlowActionViewModel.setTransferToFlowInfo(e3.id, e3.name); + get isArchVariableListPickerSection() { + return true; } } - t2.default = s; - }, 95873: (e2, t2, i2) => { + t2.default = o; + }, 19044(e2, t2, i2) { "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 = 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); - return t3.queryParams(e3), t3.call(); - } - function s(e3, t3) { - return o.default.build(r2.getGrammar).templateParams({ id: e3, includeFileUrls: !!t3 }).call(); - } - function l(e3, t3) { - return o.default.build(r2.getGrammarLanguage).templateParams({ grammarId: e3, languageCode: t3 }).call(); - } - function u(e3) { - const t3 = o.default.build(r2.deleteGrammar); - return t3.templateParams({ id: e3 }), t3.call(); - } - 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 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(); - } - function p(e3, t3) { - const i3 = o.default.build(r2.createGrammar), n3 = { name: e3, description: t3 }; - return i3.content(n3), i3.call(); - } - function _(e3, t3) { - const i3 = o.default.build(r2.addLanguageToGrammar), n3 = { language: e3 }; - return i3.templateParams({ grammarId: t3 }), i3.content(n3), i3.call(); - } - function h(e3, t3) { - const i3 = o.default.build(r2.removeLanguageFromGrammar); - return i3.templateParams({ grammarId: t3, languageCode: e3 }), i3.call(); - } - function m(e3, t3, i3, n3) { - const a2 = o.default.build(r2.createGrammarFileUploadUrl); - return a2.templateParams({ grammarId: e3, languageCode: t3, grammarType: i3 }), a2.content({ fileType: n3 }), a2.call(); - } - function g(e3, t3, i3) { - const n3 = o.default.build(r2.deleteGrammarFile); - return n3.templateParams({ grammarId: e3, languageCode: t3, grammarType: i3 }), n3.call(); - } - function f(e3, t3, i3) { - const n3 = o.default.build(r2.uploadGrammarFile); - return n3.templateParams({ url: e3 }), n3.headers = t3, n3.content(i3), n3.call(); - } - function T(e3) { - const t3 = o.default.build(r2.downloadGrammarFile); - return t3.templateParams({ url: e3 }), t3.headers = "raw-file", t3.call(); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "listPickerSectionCollection"; + } + get displayTypeName() { + return "ArchVariableListPickerSectionCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableListPickerSectionCollection() { + return true; + } } - 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) => { + t2.default = o; + }, 43368(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), c = s.__importDefault(i2(21345)); - class d extends c.default { + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.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"); + super(e3); } - get _actionTypeId() { - return u.deflectActionType; + get _globalTypeName() { + return "phoneNumber"; } get displayTypeName() { - return this._scriptingName; + return "ArchVariablePhoneNumber"; } - get isArchActionDeflect() { - return true; + get initialValue() { + return this._initialValue; } - get deflectTo() { - return s.__classPrivateFieldGet(this, n2, "f"); + get isArchVariablePhoneNumber() { + return true; } - setDeflectTo(e3) { - const t3 = this._infoPropSet("name", "setDeflectTo"); - this._checkItemIsValidLiteralStringEnum(t3, e3, l.default.DEFLECT_TYPES_ALL), this.deflectTo.setLiteralString(e3); + } + t2.default = o; + }, 24844(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get message() { - return s.__classPrivateFieldGet(this, r2, "f"); + get _globalTypeName() { + return "phoneNumberCollection"; } - get smsFrom() { - return s.__classPrivateFieldGet(this, o, "f"); + get displayTypeName() { + return "ArchVariablePhoneNumberCollection"; } - get smsTo() { - return s.__classPrivateFieldGet(this, a, "f"); + get initialValue() { + return this._initialValue; } - get deflectOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + get isArchVariablePhoneNumberCollection() { + return true; } } - 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; - var n2 = i2(68087), r2 = i2(19724), o = i2(44885), a = i2(26404), s = i2(47058); - t2.merge = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = a.popScheduler(e3), l = a.popNumber(e3, 1 / 0), u = e3; - return u.length ? 1 === u.length ? r2.innerFrom(u[0]) : n2.mergeAll(l)(s.from(u, i3)) : o.EMPTY; - }; - }, 95955: (e2, t2, i2) => { + t2.default = o; + }, 93899(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), c = i2(12179), d = n2.__importDefault(i2(68460)), p = i2(47957), _ = i2(33948); - class h extends d.default { - get className() { - return "CallPromptsViewModel"; + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get id() { - return "callPrompts"; + get _globalTypeName() { + return "prompt"; } - get showInFlowSize() { - return false; + get displayTypeName() { + return "ArchVariablePrompt"; } - get ensureAudioInPrompts() { - return this.parentFlow.ensureAudioInPrompts; + get initialValue() { + return this._initialValue; } - set ensureAudioInPrompts(e3) { - this.parentFlow.ensureAudioInPrompts = e3, (0, u.validateItem)(this, true); + get isArchVariablePrompt() { + return true; } - get promptMediaToValidate() { - return this.parentFlow.promptMediaToValidate; + } + t2.default = o; + }, 56795(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - set promptMediaToValidate(e3) { - 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); - }); - }); + get _globalTypeName() { + return "promptCollection"; } - getConfiguration(e3, t3) { - var i3, n3; - if ((null == t3 ? void 0 : t3.isForFlowYaml) && this.parentFlow.supportsAudio) { - const e4 = []; - return 0 === (null === (i3 = this.parentFlow.promptMediaToValidate) || void 0 === i3 ? void 0 : i3.length) ? e4.push({ mediaType: "none" }) : null === (n3 = this.parentFlow.promptMediaToValidate) || void 0 === n3 || n3.forEach((t4) => { - e4.push({ mediaType: t4 }); - }), { ensureAudioInPrompts: !!this.ensureAudioInPrompts, promptMediaToValidate: e4 }; - } - return null; + get displayTypeName() { + return "ArchVariablePromptCollection"; } - getDisplayName() { - return p.audio.prompts; + get initialValue() { + return this._initialValue; } - get isCallPromptsNode() { + get isArchVariablePromptCollection() { return true; } - get nodeGuxIcon() { - return "roster-chat"; - } - get helpTopic() { - return c.helpTopics.treeNodes.promptsView; + } + t2.default = o; + }, 32018(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get outOfService() { - return !l.globalTypes.prompt.isAvailableForFlow(this.parentFlow); + get _globalTypeName() { + return "queue"; } - search(e3) { - o.default.each(a.getAllPrompts(), (t3) => { - o.default.isEmpty(t3.getUsagesForFlow(this.parentFlow)) || (e3.checkName(t3, t3.displayName, t3.type.displayString), e3.checkText(t3, t3.description, p.search.promptDescription)); - }); + get displayTypeName() { + return "ArchVariableQueue"; } - validate(e3) { - if (!this.parentFlow.validateHasAudioOnly) return; - const t3 = Object.values(a.getAllPrompts()).filter((e4) => e4.getUsagesForFlow(this.parentFlow).length > 0); - o.default.each(t3, (t4) => { - 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)))); - }); - }); + get initialValue() { + return this._initialValue; } - get wrappedYamlName() { - return "settingsPrompts"; + get isArchVariableQueue() { + return true; } } - t2.default = h; - }, 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)), 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: () => { - const { ExpressionTypeGroupOptions: e3 } = i2(60186); - return e3.create((e4) => e4.setDescriptionInfo(S.variable.initialValueLabel, (0, r2.sprintf)(S.systemVariables.voicemailDebugGroupDescription, p.vmEntityTypeGroup.id))); - } }), new y.QueueVariable({ name: "Voicemail.DebugQueue", id: "__VOICEMAIL_DEBUG_QUEUE__", description: (0, r2.sprintf)(S.systemVariables.voicemailDebugQueueDescription, _.vmEntityTypeQueue.id), isReadOnly: true, isSystemVariable: true, allowInitialValueForReadOnly: true, version: "1.0", initialValueOptionsCallback: () => { - const { ExpressionTypeQueueOptions: e3 } = i2(37830); - return e3.create((e4) => e4.setDescriptionInfo(S.variable.initialValueLabel, (0, r2.sprintf)(S.systemVariables.voicemailDebugQueueDescription, _.vmEntityTypeQueue.id))); - } }), 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)([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() { - Object.defineProperties(this, { _model: { writable: true } }), this.actionReferences = void 0, this.version = void 0, r2.baseConstructor.apply(this, arguments); - } - i2(52722).extend(r2, "CommonModuleReference"), Object.defineProperties(r2.prototype, { model: { enumerable: true, get: function() { - return this._model; - }, set: function(e3) { - this._model = this.reviveItem(e3, n2); - } } }), e2.exports = r2; - }, 96153: (e2, t2) => { + t2.default = o; + }, 93818(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - }, 96169: (e2, t2, i2) => { + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "queueCollection"; + } + get displayTypeName() { + return "ArchVariableQueueCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableQueueCollection() { + return true; + } + } + t2.default = o; + }, 6872(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(19596), r2 = i2(80295); - class o extends n2.DataContract { + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { - super(e3), (0, r2.makeUnenumerable)(this, "_executionInputSchema"), (0, r2.makeUnenumerable)(this, "_executionOutputSchema"), (0, r2.makeUnenumerable)(this, "_parentSchema"); + super(e3); } - get executionInputSchema() { - return this._executionInputSchema; + get _globalTypeName() { + return "quickReplies"; } - set executionInputSchema(e3) { - this._executionInputSchema = e3; + get initialValue() { + return this._initialValue; } - get executionOutputSchema() { - return this._executionOutputSchema; + get displayTypeName() { + return "ArchVariableQuickReplies"; } - set executionOutputSchema(e3) { - this._executionOutputSchema = e3; + get isArchVariableQuickReplies() { + return true; } - get parentSchema() { - return this._parentSchema; + } + t2.default = o; + }, 4732(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - set parentSchema(e3) { - this._parentSchema = e3; + get _globalTypeName() { + return "response asset"; + } + get displayTypeName() { + return "ArchVariableResponseAsset"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableResponseAsset() { + return true; } } t2.default = o; - }, 96237: (e2, t2, i2) => { + }, 75992(e2, t2, i2) { "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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isAgenticAnythingElseAction() { - return true; + get _globalTypeName() { + return "responseAssetCollection"; } - static get branchInfo() { - return [p.default.loop]; + get displayTypeName() { + return "ArchVariableResponseAssetCollection"; } - 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 }]; + get initialValue() { + return this._initialValue; } - 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); + get isArchVariableResponseAssetCollection() { + return true; } } - 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) { + t2.default = o; + }, 49872(e2, t2, i2) { "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a2 = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a2.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; - } + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "schedule"; + } + get displayTypeName() { + return "ArchVariableSchedule"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableSchedule() { + return true; } - return a2; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.concat = void 0; - var o = i2(65212), a = i2(70201), s = i2(26404), l = i2(47058); - t2.concat = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = s.popScheduler(e3); - return o.operate(function(t4, o2) { - a.concatAll()(l.from(r2([t4], n2(e3)), i3)).subscribe(o2); - }); - }; - }, 96347: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getBotList = function(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const t3 = (null == e3 ? void 0 : e3.additionalParams) || e3; - if (!t3 || !t3.botId && !t3.integrationId) throw u.error("Invalid getBotList request parameters"), new Error("Invalid getBotList request parameters"); - const i3 = l.default.isString(t3.integrationId) ? t3.integrationId : t3.botId.split("~")[0]; - try { - const t4 = yield _(i3, e3); - return yield y(h, i3, t4.id, null), m(i3, t4.id); - } catch (e4) { - throw u.exception(e4, `Failed to get bots for ${i3}`), e4; - } - }); - }, t2.getSingleBot = function(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - const i3 = (null == t3 ? void 0 : t3.additionalParams) || t3; - if (!i3 || !i3.integrationId) throw u.error("Invalid getSingleBot request parameters"), new Error("Invalid getSingleBot request parameters"); - const n3 = i3.integrationId; - try { - const t4 = yield g(n3, e3); - return yield y(f, n3, t4.id, e3), yield T(n3, t4.id, e3); - } catch (t4) { - throw u.exception(t4, `Failed to get botId ${e3}:`), t4; - } - }); - }; - 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(); - } - function h(e3, t3) { - const i3 = { integrationId: e3, jobId: t3 }; - return a.default.build(o.getAllNuanceMixBotsJobStatus).templateParams(i3).call(); - } - function m(e3, t3) { - const i3 = { integrationId: e3, jobId: t3 }; - return a.default.build(o.getAllNuanceMixBotsJobResults).templateParams(i3).call(); - } - function g(e3, t3, i3) { - const n3 = { botId: t3, integrationId: e3 }; - return a.default.build(o.startGetSingleNuanceMixBot).templateParams(n3).call(); - } - function f(e3, t3, i3) { - const n3 = { botId: i3, integrationId: e3, jobId: t3 }; - return a.default.build(o.getSingleNuanceMixBotJobStatus).templateParams(n3).call(); - } - function T(e3, t3, i3) { - const n3 = { botId: i3, integrationId: e3, jobId: t3 }; - return a.default.build(o.getSingleNuanceMixBotJobResults).templateParams(n3).call(); } - function y(e3, t3, i3, r3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return s.poll(() => n2.__awaiter(this, void 0, void 0, function* () { - return e3(t3, i3, r3); - }), (e4) => { - if (l.default.isObject(e4)) return e4.state !== p; - }, d, c); - }); + t2.default = o; + }, 90196(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "scheduleCollection"; + } + get displayTypeName() { + return "ArchVariableScheduleCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableScheduleCollection() { + return true; + } } - _.api = o.startGetAllNuanceMixBots, h.api = o.getAllNuanceMixBotsJobStatus, m.api = o.getAllNuanceMixBotsJobResults, g.api = o.startGetSingleNuanceMixBot, f.api = o.getSingleNuanceMixBotJobStatus, T.api = o.getSingleNuanceMixBotJobResults; - }, 96348: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(25088); - e2.exports = class extends r2 { - constructor(e3, t3) { - super(e3, t3); + t2.default = o; + }, 28689(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - initialize(e3, t3, i3) { - try { - if (!t3.getConfiguration()) throw "could not get core view model configuration"; - t3.addClipboardDependencies(this), i3 && (e3.deleteNode(t3), this.validateFlow(e3)); - } catch (e4) { - throw this.logException(e4, "'" + this.clipboardContentType + "' initialization failure."), this.destroy(), e4; - } + get _globalTypeName() { + return "scheduleGroup"; } - _performDestroy() { - super._performDestroy(), this._destUpconvertMenuChoiceViewModel = void 0; + get displayTypeName() { + return "ArchVariableScheduleGroup"; } - _performPaste(e3) { - const t3 = this._pasteGetCoreModelForContent(); - return t3.pasteReIdOrRename(e3.clipboardObject), t3.pasteResolveOldToNewValues(e3.clipboardObject), n2.each(t3.variables, function(t4) { - this.pasteFixVariable(e3, t4); - }.bind(this)), this.pastedMenuOrTaskOrActionViewModel = this._pasteGetCoreViewModelForCoreModel(e3, t3), n2.each(this.pastedMenuOrTaskOrActionViewModel.variables, (e4) => { - e4 && n2.isFunction(e4.initializeDesignTime) && e4.initializeDesignTime(); - }), e3.additionalInfo && e3.additionalInfo.addNotableObject(this._destUpconvertMenuChoiceViewModel ? this._destUpconvertMenuChoiceViewModel : this.pastedMenuOrTaskOrActionViewModel), this.createClipboardResultSuccess(); + get initialValue() { + return this._initialValue; } - _pasteGetCoreModelForContent() { - this.logError("_pasteGetCoreModelForContent being called on base class. This should be overridden by inheriting classes!"); + get isArchVariableScheduleGroup() { + return true; } - _pasteGetCoreViewModelForCoreModel(e3, t3) { - this.logError("_pasteGetCoreViewModelForCoreModel being called on base class. This should be overridden by inheriting classes!"); + } + t2.default = o; + }, 89501(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isBaseClipboardContentStateTaskViewModel() { + get _globalTypeName() { + return "scheduleGroupCollection"; + } + get displayTypeName() { + return "ArchVariableScheduleGroupCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableScheduleGroupCollection() { return true; } - }; - }, 96353: (e2, t2, i2) => { + } + t2.default = o; + }, 72336(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)), 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, y.addOutOfServiceProperties)(this), h.audioRegistrationService.registerItem(this); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(8471)); + class o extends n2.default { + constructor(e3) { + super(), this._checkItem(this._infoParmCtor("archBaseVariable"), !e3 || !e3.isArchBaseVariable, "INTERNAL ERROR - invalid archBaseVariable passed to ArchVariableSettings"), this._archBaseVariable = e3; } - get id() { - return this._id; + get _coreVariableViewModel() { + return this._archBaseVariable._getCoreViewModel(); } - get className() { - return "AudioViewModel"; + get canSetIsInput() { + return !!this._coreVariableViewModel.getIsInputCanSet({}); } - _createAudioCase(e3) { - e3.audioExpression = this._prepareModel(e3, "audioExpression"); - 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 I.AudioCaseViewModel(this.parentFlow, this, e3, t3); + get canSetIsOutput() { + return !!this._coreVariableViewModel.getIsOutputCanSet({}); } - _prepareModel(e3, t3) { - return e3[t3] && !o.default.isEmpty(e3[t3]) || (e3[t3] = new d.default()), e3[t3]; + get displayTypeName() { + return "ArchVariableSettings"; } - _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 + " (" + 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"), 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; + get logStr() { + if (!this._archBaseVariable) return this.logStrTypeOnly; + const e3 = []; + return this._appendLogStrPart(e3, "CanSetIsInput", this.canSetIsInput, true, false), this._appendLogStrPart(e3, "CanSetIsOutput", this.canSetIsInput, true, false), this._createLogStrFromParts(e3); } - initializeDesignTime() { - this._defaultAudio.initializeDesignTime(), this.flushExpression.initializeDesignTime(), this.bargeInExpression && this.bargeInExpression.initializeDesignTime(), this.cases.forEach((e3) => e3.initializeDesignTime()), super.initializeDesignTime(); + } + t2.default = o; + }, 95090(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - addAudioCase(e3) { - 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; + get _globalTypeName() { + return "shippingOption"; } - addClipboardDependencies(e3) { - try { - e3.copyCutSetSupportedFlowTypeFilter(this.supportedFlowTypes); - const t3 = this.supportedFlowTypes; - this.defaultAudio.addClipboardDependencies(e3, t3), this.cases.forEach((i3) => { - i3.addClipboardDependencies(e3, t3); - }); - } finally { - e3.copyCutResetSupportedFlowTypeFilter(); - } + get displayTypeName() { + return "ArchVariableShippingOption"; } - allPromptsHaveAudio() { - return this._defaultAudio.allPromptsHaveAudio() && this.cases.every((e3) => e3.disabled || e3.audioExpression.allPromptsHaveAudio()); + get initialValue() { + return this._initialValue; } - checkVersion(e3) { - this.defaultAudio.checkVersion(e3), this.cases.forEach((t3) => { - t3.checkVersion(e3); - }); + get isArchVariableShippingOption() { + return true; } - copyAudioViewModel(e3) { - this.defaultAudio.copyExpressionValue(e3.defaultAudio), this._destroyCases(), e3.cases.forEach((e4) => { - this.addAudioCase(e4.langCode).audioExpression.copyExpressionValue(e4.audioExpression); - }); + } + t2.default = o; + }, 77114(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - clearCases() { - this.defaultAudio && (o.default.each(this.defaultAudio.sequenceItems, (e3) => { - this.defaultAudio.deleteSequenceItem(e3); - }), this.defaultAudio.clear(true)), o.default.each(this.cases, (e3) => { - o.default.each(e3.audioExpression.sequenceItems, (t3) => { - e3.audioExpression.deleteSequenceItem(t3); - }), e3.audioExpression.clear(true); - }); + get _globalTypeName() { + return "shippingOptionCollection"; } - get defaultAudio() { - return this._defaultAudio; + get displayTypeName() { + return "ArchVariableShippingOptionCollection"; } - get defaultAudioLanguages() { - const e3 = []; - if (0 === this.cases.length) { - const t3 = this.parentFlow ? this.parentFlow.topParentFlow.languages.supportedLanguages : []; - o.default.each(t3, (t4) => { - e3.push(v.getLanguageEntry(t4)); - }); - } else o.default.each(this.cases, (t3) => { - t3.disabled && this.parentFlow.topParentFlow.languages.getSupportedLanguageOption(t3.langCode) && e3.push(v.getLanguageEntry(t3.langCode)); - }); - return e3; + get initialValue() { + return this._initialValue; } - _destroyCases() { - o.default.each(this.cases, (e3) => { - e3.destroy(); - }), this.cases.length = 0, this.bargeInExpression && this.bargeInExpression.destroy(), this.flushExpression.destroy(); + get isArchVariableShippingOptionCollection() { + return true; } - _destroy() { - this.defaultAudio.destroy(), this._destroyCases(), this._outOfServiceProvider.destroy(), h.audioRegistrationService.unregisterItem(this); + } + t2.default = o; + }, 32624(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getCaseForLang(e3, t3) { - let i3 = o.default.findWhere(this.cases, { langCode: e3 }); - return t3 || i3 || (i3 = this.defaultAudio), i3; + get _globalTypeName() { + return "skill"; } - getExpressionDescription() { - 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 ? 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)); - } + get displayTypeName() { + return "ArchVariableSkill"; } - getDescription() { - if (this.isBasicMode) { - if (this.defaultAudio.isPromptOnly) { - const e3 = S.getItem(this.defaultAudio.sequenceItems[0].parameter); - return e3 ? e3.expressionName : ""; - } - if (this.defaultAudio.isPromptVariableOnly) { - const e3 = this.parentFlow.getVariable(this.defaultAudio.sequenceItems[0].variableId); - return e3 ? e3.name : ""; - } - return this.defaultAudio.isTTSOnly ? this.defaultAudio.sequenceItems[0].parameter : ""; - } - return this.getExpressionDescription(); + get initialValue() { + return this._initialValue; } - getEditPromptSaveCallback() { - let e3; - const t3 = this.parent && this.parent.startUpObject || null; - 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; + get isArchVariableSkill() { + return true; } - getExpressionLabel(e3) { - return (0, r2.sprintf)(N.default.audio.languageLabel, this.label, e3); + } + t2.default = o; + }, 60628(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getAllPrompts() { - let e3 = this.getPromptsUsedForLang(); - return this.cases.forEach((t3) => { - e3 = o.default.union(e3, this.getPromptsUsedForLang(t3.langCode)); - }), e3; + get _globalTypeName() { + return "skillCollection"; } - getConfiguration(e3, t3) { - 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 = {}; - let n3; - const r3 = this.defaultAudio.getConfiguration(e3, t3); - return r3 && (o.default.extend(i3, r3), n3 = true), o.default.each(this.cases, (r4) => { - if (!r4.hasAudioSet) return; - if (r4.disabled) return; - i3.alternateSequences || (i3.alternateSequences = {}); - const a2 = r4.audioExpression.getConfiguration(e3, t3); - o.default.isNullOrUndefined(a2) || (i3.alternateSequences[r4.langCode.toLowerCase()] = a2, n3 = true); - }), n3 ? (o.default.isEmpty(i3.alternateSequences) && delete i3.alternateSequences, i3) : null; - } - return this.model; + get displayTypeName() { + return "ArchVariableSkillCollection"; } - getPromptsUsedForLang(e3) { - const t3 = this.getCaseForLang(e3); - return t3 ? (t3.hasAudioSet ? t3.audioExpression || t3 : this.defaultAudio).getOrderedPrompts() : []; + get initialValue() { + return this._initialValue; } - getFirstExpressionWithParseMessage() { - if (this.defaultAudio.resultMessage && this.willMainSequenceRun()) return this.defaultAudio; - const e3 = o.default.find(this.cases, (e4) => !e4.disabled && e4.audioExpression.resultMessage); - return null == e3 ? void 0 : e3.audioExpression; + get isArchVariableSkillCollection() { + return true; } - get hasAudioSet() { - return !!o.default.some(this.cases, function(e3) { - return e3.audioExpression.hasAudioSet; - }) || this.defaultAudio.hasAudioSet; + } + t2.default = o; + }, 25420(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get hasError() { - return !(!this.defaultAudio.hasError || !this.willMainSequenceRun()) || o.default.some(this.cases, (e3) => !e3.disabled && e3.audioExpression.hasError); + get _globalTypeName() { + return "string"; } - get hasInfo() { - return !(!this.defaultAudio.hasInfo || !this.willMainSequenceRun()) || o.default.some(this.cases, (e3) => !e3.disabled && e3.audioExpression.hasInfo); + get displayTypeName() { + return "ArchVariableString"; } - get isEmpty() { - return !(this.hasError || !this.isOptional || this.defaultAudio.customExpressionMode || !this.willMainSequenceRun()) && (!this.defaultAudio.hasSequenceItems || this.defaultAudio.isTTSOnly && !this.defaultAudio.hasAudioSet); + get initialValue() { + return this._initialValue; } - get hasWarning() { - return this.isEmpty || this.defaultAudio.hasWarning && this.willMainSequenceRun(); + get isArchVariableString() { + return true; } - get isAudioViewModel() { + } + t2.default = o; + }, 57838(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "stringCollection"; + } + get displayTypeName() { + return "ArchVariableStringCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableStringCollection() { return true; } - get isBasicMode() { - return !this.noValueMode && !o.default.some(this.cases, (e3) => e3.audioExpression.hasSequenceItems || e3.audioExpression.customExpressionMode) && !this.defaultAudio.customExpressionMode && (!this.defaultAudio.sequenceItems || 0 === this.defaultAudio.sequenceItems.length || this.defaultAudio.isTTSOnly || this.defaultAudio.isPromptOnly || this.defaultAudio.isPromptVariableOnly); + } + t2.default = o; + }, 14724(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isOptional() { - return this.options.isOptional; + get _globalTypeName() { + return "surveyAnswerOption"; } - set isOptional(e3) { - this.options.isOptional = e3; + get displayTypeName() { + return "ArchVariableSurveyAnswerOption"; } - get noValueMode() { - return this.model.uiMetaData && this.model.uiMetaData.noValueMode; + get initialValue() { + return this._initialValue; } - set noValueMode(e3) { - this.model.uiMetaData || (this.model.uiMetaData = {}), this.model.uiMetaData.noValueMode = e3, e3 ? (this.defaultAudio && (this.defaultAudio.customExpressionMode = false), this.clearCases()) : (this.defaultAudio && this.defaultAudio.updateSequenceExpression(), o.default.each(this.cases, (e4) => { - e4.audioExpression && e4.audioExpression.updateSequenceExpression(); - })); + get isArchVariableSurveyAnswerOption() { + return true; } - getDisplayName() { - return this.label; + } + t2.default = o; + }, 33344(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get label() { - return this.options.label; + get _globalTypeName() { + return "surveyAnswerOptionCollection"; } - set label(e3) { - this.options.label = e3, this.defaultAudio.label = e3, this.cases.forEach((e4) => { - e4.audioExpression.label = this.getExpressionLabel(e4.langCode); - }); + get displayTypeName() { + return "ArchVariableSurveyAnswerOptionCollection"; } - outOfServiceChanged() { - this.defaultAudio.outOfService = this.outOfService, this.cases.forEach((e3) => { - e3.audioExpression.outOfService = this.outOfService; - }); + get initialValue() { + return this._initialValue; } - reprocessSequenceExpressionText(e3) { - o.default.each(e3.sequenceItems, (e4) => { - const t3 = e4.expression; - t3 && t3.processText(true); - }); + get isArchVariableSurveyAnswerOptionCollection() { + return true; } - removeAudioCase(e3) { - if (!e3) return; - let t3 = this.model.cases.indexOf(e3.model); - t3 >= 0 && this.model.cases.splice(t3, 1), t3 = this.cases.indexOf(e3), t3 >= 0 && this.cases.splice(t3, 1), e3.destroy(); + } + t2.default = o; + }, 67477(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - search(e3) { - e3.addToQueue(this.defaultAudio), this.cases.forEach((t3) => e3.addToQueue(t3)); + get _globalTypeName() { + return "surveyForm"; } - get uiMetaData() { - return this.model.uiMetaData; + get displayTypeName() { + return "ArchVariableSurveyForm"; } - set uiMetaData(e3) { - this.model.uiMetaData = e3; + get initialValue() { + return this._initialValue; } - updateCases() { - const e3 = this.parentFlow ? this.parentFlow.languages.supportedLanguages : []; - if (e3.length <= 1) { - for (let e4 = this.cases.length - 1; e4 >= 0; --e4) this.removeAudioCase(this.cases[e4]); - this.defaultAudio.options.setIsOptional(!!this.isOptional), this.defaultAudio.renamePromptVariables(); - } else { - for (let e4 = this.cases.length - 1; e4 >= 0; --e4) this.parentFlow && !this.parentFlow.languages.isFlowSupportedLanguage(this.cases[e4].langCode) && this.removeAudioCase(this.cases[e4]); - o.default.each(e3, (e4) => { - o.default.find(this.cases, (t3) => t3.langCode.toLowerCase() === e4.toLowerCase()) || this.addAudioCase(e4); - }), this.defaultAudio.options.setIsOptional(this.isOptional || !this.willMainSequenceRun()), this.defaultAudio.renamePromptVariables(); - } - this.parentFlow.isEmbeddedFlow && this.cases.forEach((e4) => { - e4.audioExpression.outOfService = !this.topParentFlow.languages.isFlowSupportedLanguage(e4.langCode); - }), this.updateBargeInOOS(); + get isArchVariableSurveyForm() { + return true; } - updateBargeInOOS() { - this.bargeInExpression && (0 === this.cases.length ? this.bargeInExpression.outOfService = this.defaultAudio.customExpressionMode : this.bargeInExpression.outOfService = false); + } + t2.default = o; + }, 12723(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - updateDependencies() { - const e3 = [], t3 = (t4) => { - t4.customExpressionMode ? e3.push({ expression: t4, type: l.expression }) : e3.push(t4.sequenceItems); - }; - o.default.each(this.cases, (e4) => { - t3(e4.audioExpression); - }), t3(this.defaultAudio), o.default.each(o.default.flatten(e3), (e4) => { - switch (e4.type) { - case l.tts: - case l.data: - break; - case l.prompt: - const t4 = e4; - T.registerPrompt(A.removePrefix(t4.name), t4.isSystem ? k.SystemPrompt : k.UserPrompt, this._defaultAudio.parentFlow, t4.parameter); - break; - case l.expression: - e4.expression.registerDependencies(); - } - }); + get _globalTypeName() { + return "surveyQuestion"; } - updateExpression(e3) { - this.cases.forEach((t3) => { - t3.audioExpression.updateSequenceExpression(e3); - }), this._defaultAudio.updateSequenceExpression(e3); + get displayTypeName() { + return "ArchVariableSurveyQuestion"; } - 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)(V.audio.blankMainSeqWarningContext, this.label), void 0, true)); + get initialValue() { + return this._initialValue; } - willMainSequenceRun() { - return 0 === this.cases.length || !o.default.every(this.cases, (e3) => !e3.disabled && e3.hasAudioSet); + get isArchVariableSurveyQuestion() { + return true; } - 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); - }); + } + t2.default = o; + }, 54339(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _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); + get _globalTypeName() { + return "surveyQuestionCollection"; } - _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(); + get displayTypeName() { + return "ArchVariableSurveyQuestionCollection"; } - _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)); + get initialValue() { + return this._initialValue; + } + get isArchVariableSurveyQuestionCollection() { + return true; + } + } + t2.default = o; + }, 74260(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "surveyQuestionGroup"; } - _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; + get displayTypeName() { + return "ArchVariableSurveyQuestionGroup"; } - getExpressions() { + get initialValue() { + return this._initialValue; + } + get isArchVariableSurveyQuestionGroup() { + return true; } } - 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) => { + t2.default = o; + }, 8016(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 { + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { constructor(e3) { - super(e3), this._enableBargeIn = this.coreFactory.createArchWrapper(e3.enableBargeIn), this._voiceEndOfInputTimeout = this.coreFactory.createArchWrapper(e3.voiceEndOfInputTimeout); + super(e3); } - get _actionTypeId() { - return r2.agenticAskForIntentActionType; + get _globalTypeName() { + return "surveyQuestionGroupCollection"; } - get isArchActionAgenticAskForIntent() { + get displayTypeName() { + return "ArchVariableSurveyQuestionGroupCollection"; + } + get initialValue() { + return this._initialValue; + } + get isArchVariableSurveyQuestionGroupCollection() { return true; } + } + t2.default = o; + }, 60140(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); + } + get _globalTypeName() { + return "time"; + } get displayTypeName() { - return this._scriptingName; + return "ArchVariableTime"; } - get enableBargeIn() { - return this._enableBargeIn; + get initialValue() { + return this._initialValue; } - get voiceEndOfInputTimeout() { - return this._voiceEndOfInputTimeout; + get isArchVariableTime() { + return true; } - get outputFailure() { - return this._getOutputById(o.outputIds.failure, true); + } + t2.default = o; + }, 7848(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get outputTimeout() { - return this._getOutputById(o.outputIds.timeout, true); + get _globalTypeName() { + return "timeCollection"; } - get outputMaxNoInputs() { - return this._getOutputById(o.outputIds.maxNoInputs, true); + get displayTypeName() { + return "ArchVariableTimeCollection"; } - get outputMaxNoMatches() { - return this._getOutputById(o.outputIds.maxNoMatches, true); + get initialValue() { + return this._initialValue; + } + get isArchVariableTimeCollection() { + return true; } } - t2.default = s; - }, 96390: (e2, t2, i2) => { + t2.default = o; + }, 6854(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "division"; + return "timePicker"; } get displayTypeName() { - return "ArchVariableDivision"; + return "ArchVariableTimePicker"; } get initialValue() { return this._initialValue; } - get isArchVariableDivision() { + get isArchVariableTimePicker() { return true; } } - t2.default = r2; - }, 96422: (e2, t2, i2) => { + t2.default = o; + }, 93832(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)), 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); + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getDetails() { - return this.duration ? new d.ActionDetails([g.wait.durationLabel], [o.getDisplayText(this.duration)]) : null; + get _globalTypeName() { + return "timeslot"; } - 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)) }]; + get displayTypeName() { + return "ArchVariableTimeslot"; } - initializeDesignTime() { - super.initializeDesignTime(), this.trimDurationNearMaxRunningTime.isLiteralMode && this.trimDurationNearMaxRunningTime.isBlank && this.trimDurationNearMaxRunningTime.setAsLiteral(l.default.false); + get initialValue() { + return this._initialValue; } - validate(e3) { - super.validate(e3), this.duration || e3.addError(this, g.wait.noDurationSet); + get isArchVariableTimeslot() { + return true; } } - 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) => { + t2.default = o; + }, 87532(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(14820)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { constructor(e3) { - super(e3), e3.followupResponseTimeout && (this._followupResponseTimeout = this.coreFactory.createArchWrapper(e3.followupResponseTimeout)), e3.inputText && (this._inputText = this.coreFactory.createArchWrapper(e3.inputText)); + super(e3); + } + get _globalTypeName() { + return "timeslotCollection"; } get displayTypeName() { - return "ArchBaseActionBot"; + return "ArchVariableTimeslotCollection"; } - get isArchBaseActionBot() { + get initialValue() { + return this._initialValue; + } + get isArchVariableTimeslotCollection() { return true; } - get intentNames() { - return this._getCoreViewModel().customIntentNames; + } + t2.default = o; + }, 77697(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - getOutputByIntentName(e3) { - this._checkItemIsValidLiteralString(this._infoParm("intentName", "getOutputByIntentName"), e3, false); - const t3 = this._coreActionViewModel.getBranchByLabel(e3, true); - if (t3) return this.coreFactory.createArchWrapper(t3); - this.logErrorAndThrow("there is no output for name: " + e3); + get _globalTypeName() { + return "userQueue"; } - get followupResponseTimeout() { - return this._followupResponseTimeout; + get displayTypeName() { + return "ArchVariableUser"; } - get inputText() { - return this._inputText; + get initialValue() { + return this._initialValue; + } + get isArchVariableUser() { + return true; } } - t2.default = r2; - }, 96546: (e2, t2) => { - "use strict"; - var i2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.whatsAppOnly = t2.appleBusinessOnly = t2.SessionSource = void 0, (function(e3) { - e3.apple = "apple", e3.appleBusiness = "applebusinesschat", e3.discord = "discord", e3.facebookMessenger = "facebookmessenger", e3.genesysChatWidget = "genesyschatwidget", e3.line = "line", e3.phone = "phone", e3.signal = "signal", e3.slack = "slack", e3.telegram = "telegram", e3.webChat = "webchat", e3.whatsApp = "whatsapp", e3.unknown = "unknown"; - })(i2 || (t2.SessionSource = i2 = {})), t2.appleBusinessOnly = [i2.appleBusiness], t2.whatsAppOnly = [i2.whatsApp]; - }, 96563: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(45214), o = i2(7800); - function a() { - Object.defineProperties(this, { _mappings: { writable: true } }), this.intents = {}, this.slots = {}, this.rawNlu = null, this.intentHealthInfo = null, this.rawNluCompressionFormat = null, this.archNlu = null, this.nluGeneratedInputInfo = {}, a.baseConstructor.apply(this, arguments), n2.isObject(this._mappings) || (this._mappings = new o()); - } - Object.defineProperties(a.prototype, { mappings: { enumerable: true, get: function() { - return this._mappings; - }, set: function(e3) { - this._mappings = this.reviveItem(e3, o, false); - } } }), r2.extend(a, "NluMetaData"), e2.exports = a; - }, 96583: (e2, t2, i2) => { + t2.default = o; + }, 71726(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.KnowledgeBaseDocumentViewModel = void 0; - const n2 = i2(31635), r2 = i2(43212), o = n2.__importDefault(i2(52816)); - class a extends r2.BaseConfigurationListViewModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { constructor(e3) { - super(e3), e3.knowledgeBase && (this.knowledgeBase = new o.default(e3.knowledgeBase)); - } - get className() { - return "KnowledgeBaseDocumentViewModel"; + super(e3); } - get id() { - return this.model.id; + get _globalTypeName() { + return "userQueueCollection"; } - get label() { - return this.model.name; + get displayTypeName() { + return "ArchVariableUserCollection"; } - get name() { - return this.model.name; + get initialValue() { + return this._initialValue; } - get dependencySearchId() { - return `${this.knowledgeBase.id}/${this.id}`; + get isArchVariableUserCollection() { + return true; } } - t2.KnowledgeBaseDocumentViewModel = a; - }, 96603: (e2, t2, i2) => { - const n2 = i2(28730), { exitWorkitemFlowActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 96618: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__createBinding || (Object.create ? function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3); - var r3 = Object.getOwnPropertyDescriptor(t3, i3); - r3 && !("get" in r3 ? !t3.__esModule : r3.writable || r3.configurable) || (r3 = { enumerable: true, get: function() { - return t3[i3]; - } }), Object.defineProperty(e3, n3, r3); - } : function(e3, t3, i3, n3) { - void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; - }), r2 = this && this.__setModuleDefault || (Object.create ? function(e3, t3) { - Object.defineProperty(e3, "default", { enumerable: true, value: t3 }); - } : function(e3, t3) { - e3.default = t3; - }), o = this && this.__importStar || function(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) && n2(t3, e3, i3); - return r2(t3, e3), t3; - }; - 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) => { + t2.default = o; + }, 86167(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - class i2 { - constructor(e3, t3) { - this._id = e3, this._displayStr = t3; + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - static create(e3, t3) { - return new i2(e3, t3); + get _globalTypeName() { + return "utilizationLabel"; } - get id() { - return this._id; + get displayTypeName() { + return "ArchVariableUtilizationLabel"; } - get displayStr() { - return this._displayStr; + get initialValue() { + return this._initialValue; } - get isChannelType() { + get isArchVariableUtilizationLabel() { return true; } } - t2.default = i2; - }, 96646: (e2, t2, i2) => { - const n2 = i2(13240), { detectIntentActionType: r2 } = i2(30801), o = i2(7401); - function a() { - Object.defineProperties(this, { _detectedIntent: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.detectedIntent.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.detectedIntent.pasteResolveOldToNewValues(e3); - } }, detectedIntent: { enumerable: true, get: function() { - return this._detectedIntent; - }, set: function(e3) { - this._detectedIntent = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 96651: (e2, t2, i2) => { + t2.default = o; + }, 86591(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - 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 a.default { - constructor(e3, t3) { - super(e3), this._loadModel(t3); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get nodeGuxIcon() { - return "site"; + get _globalTypeName() { + return "utilizationLabelCollection"; } - get isStateLike() { - return true; + get displayTypeName() { + return "ArchVariableUtilizationLabelCollection"; } - get isState() { + get initialValue() { + return this._initialValue; + } + get isArchVariableUtilizationLabelCollection() { return true; } - get shouldBeTerminated() { - return !(!this.parentFlow.definition.startUpStateMustTerminate && this.isStartUpObject) && super.shouldBeTerminated; + } + t2.default = o; + }, 18710(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get resources() { - return { deleteTitle: c.deleteState, edit: c.states.editState, multipleNameError: c.states.multipleNames, noTerminatingAction: c.states.noTerminatingAction, setAsStartup: c.setStateAsStartup, startUpDisplayName: c.startUpStateDisplayName }; + get _globalTypeName() { + return "video"; } - get defaultVariableScope() { - return o.scopes.state; + get displayTypeName() { + return "ArchVariableVideo"; } - get localVariableScope() { - return o.scopes.state; + get initialValue() { + return this._initialValue; } - get isAllowedAsStartupNode() { - return this.parentFlow.isAutomateFlowType && !this.isStartUpObject && this.parentFlow.periodicState !== this; + get isArchVariableVideo() { + return true; } - get isAllowedAsPeriodicState() { - return this.parentFlow.definition.supportsPeriodicState && !this.isStartUpObject && !this.isPeriodicState; + } + t2.default = o; + }, 87734(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get isInQueueStartUpState() { - return this.parentFlow.isInQueueWorkflow && this.isStartUpObject; + get _globalTypeName() { + return "videoCollection"; } - get isPeriodicState() { - return this.parentFlow.periodicState === this; + get displayTypeName() { + return "ArchVariableVideoCollection"; } - get containerLabel() { - return c.state.label; + get initialValue() { + return this._initialValue; } - get supportsInputVariables() { - return this.parentFlow.supportsStateInputVariables; + get isArchVariableVideoCollection() { + return true; } - get supportsOutputVariables() { - return this.parentFlow.supportsStateOutputVariables; + } + t2.default = o; + }, 33534(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get uiMetaDataSectionName() { - return "state"; + get _globalTypeName() { + return "voiceSnippet"; } - addClipboardDependencies(e3) { - super.addClipboardDependencies(e3), e3.copyCutProcessStateViewModel(this); + get initialValue() { + return this._initialValue; + } + get displayTypeName() { + return "ArchVariableVoiceSnippet"; + } + get isArchVariableVoiceSnippet() { + return true; } } - 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) => { + t2.default = o; + }, 39568(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindUserActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { - super(e3), this.__type = o.__type; + super(e3); + } + get _globalTypeName() { + return "wheelPicker"; + } + get displayTypeName() { + return "ArchVariableWheelPicker"; + } + get isArchVariableWheelPicker() { + return true; } } - t2.FindUserActionModel = o, o.__type = r2.findUserActionType, o.registerType(); - }, 96713: (e2, t2, i2) => { + t2.default = o; + }, 24027(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).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "journeyAction"; - } - get id() { - } - get actionMap() { + return "wheelPickerItem"; } get displayTypeName() { - return "ArchValueJourneyAction"; + return "ArchVariableWheelPickerItem"; } - get isArchValueJourneyAction() { + get isArchVariableWheelPickerItem() { return true; } } - t2.default = r2; - }, 96727: (e2, t2, i2) => { + t2.default = o; + }, 85867(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importStar(i2(74359)), o = n2.__importDefault(i2(73198)), a = i2(14394), s = n2.__importDefault(i2(22599)), l = i2(16958), u = new class { - constructor() { - Object.defineProperties(this, { _genericBuilderWithPartsGenerator: { value: s.default.create().addFuncCallParmGenerationBucket("containerPartGenerations", true).addFuncCallParmGenerationBucket("builderGeneration").addTokenReplacement(0).verifySprintfStringAndInitialize("%1$s") }, _emptyStringGenerator: { value: s.default.create().addText("").verifySprintfStringAndInitialize("") }, _emptyStringLiteralGenerator: { value: s.default.create().addText('""').verifySprintfStringAndInitialize('""') }, _falseLiteralGenerator: { value: s.default.create().addTokenBooleanFalse().verifySprintfStringAndInitialize("false") }, _lastGenNotSetOrEmptySpaceSepGenerator: { value: s.default.create().addFuncCall("If").addFuncCall("IsNotSetOrEmpty").addLastGeneratedText().addFuncCallEnd().addFuncParameterSeparator().addToken('""').addFuncParameterSeparator().addToken('" "').addFuncCallEnd().verifySprintfStringAndInitialize('If(IsNotSetOrEmpty(), "", " ")') }, _notSetAudioGenerator: { value: s.default.create().addFuncCall("ToAudio").addFuncCall("ToPrompt").addNotSet().addFuncCallEnd().addFuncCallEnd().verifySprintfStringAndInitialize("ToAudio(ToPrompt(NOT_SET))") }, _notSetBooleanGenerator: { value: s.default.create().addFuncCall("ToBool").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToBool(NOT_SET)") }, _notSetCommunicationGenerator: { value: s.default.create().addFuncCall("ToCommunication").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToCommunication(NOT_SET)") }, _notSetDateTimeGenerator: { value: s.default.create().addFuncCall("ToDateTime").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToDateTime(NOT_SET)") }, _notSetDurationGenerator: { value: s.default.create().addFuncCall("ToDuration").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToDuration(NOT_SET)") }, _notSetImageGenerator: { value: s.default.create().addFuncCall("ToImage").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToImage(NOT_SET)") }, _notSetIntegerGenerator: { value: s.default.create().addFuncCall("ToInt").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToInt(NOT_SET)") }, _notSetPromptGenerator: { value: s.default.create().addFuncCall("ToPrompt").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToPrompt(NOT_SET)") }, _notSetStringGenerator: { value: s.default.create().addFuncCall("ToString").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToString(NOT_SET)") }, _notSetVideoGenerator: { value: s.default.create().addFuncCall("ToVideo").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToVideo(NOT_SET)") }, _notSetAgentScorePairGenerator: { value: s.default.create().addFuncCall("ToAgentScorePair").addNotSet().addFuncCallEnd().verifySprintfStringAndInitialize("ToAgentScorePair(NOT_SET)") }, _singleSpaceStringLiteralGenerator: { value: s.default.create().addText('" "').verifySprintfStringAndInitialize('" "') }, _singleTokenReplacementGenerator: { value: s.default.create().addTokenReplacement(0).verifySprintfStringAndInitialize("%1$s") } }), r2.loaded.then(() => this._finalizeGenerators()); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get singleTokenReplacementGenerator() { - return this._singleTokenReplacementGenerator; + get _globalTypeName() { + return "wheelPickerItemCollection"; } - get emptyStringLiteralGenerator() { - return this._emptyStringLiteralGenerator; + get displayTypeName() { + return "ArchVariableWheelPickerItemCollection"; } - get emptyStringGenerator() { - return this._emptyStringGenerator; + get isArchVariableWheelPickerItemCollection() { + return true; } - get falseLiteralGenerator() { - return this._falseLiteralGenerator; + } + t2.default = o; + }, 48179(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get lastGenNotSetOrEmptySpaceSepGenerator() { - return this._lastGenNotSetOrEmptySpaceSepGenerator; + get _globalTypeName() { + return "workbin"; } - get singleSpaceStringLiteralGenerator() { - return this._singleSpaceStringLiteralGenerator; + get initialValue() { + return this._initialValue; } - get genericBuilderWithPartsGenerator() { - return this._genericBuilderWithPartsGenerator; + get displayTypeName() { + return "ArchVariableWorkbin"; } - get notSetAudioGenerator() { - return this._notSetAudioGenerator; + get isArchVariableWorkbin() { + return true; } - get notSetBooleanGenerator() { - return this._notSetBooleanGenerator; + } + t2.default = o; + }, 675(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get notSetCommunicationGenerator() { - return this._notSetCommunicationGenerator; + get _globalTypeName() { + return "workbinCollection"; } - get notSetDateTimeGenerator() { - return this._notSetDateTimeGenerator; + get initialValue() { + return this._initialValue; } - get notSetDurationGenerator() { - return this._notSetDurationGenerator; + get displayTypeName() { + return "ArchVariableWorkbinCollection"; } - get notSetIntegerGenerator() { - return this._notSetIntegerGenerator; + get isArchVariableWorkbinCollection() { + return true; } - get notSetImageGenerator() { - return this._notSetImageGenerator; + } + t2.default = o; + }, 51635(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get notSetPromptGenerator() { - return this._notSetPromptGenerator; + get _globalTypeName() { + return "workitem"; } - get notSetStringGenerator() { - return this._notSetStringGenerator; + get initialValue() { + return this._initialValue; } - get notSetVideoGenerator() { - return this._notSetVideoGenerator; + get displayTypeName() { + return "ArchVariableWorkitem"; + } + get isArchVariableWorkitem() { + return true; + } + } + t2.default = o; + }, 79183(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get notSetAgentScorePairGenerator() { - return this._notSetAgentScorePairGenerator; + get _globalTypeName() { + return "workitemEventData"; } - createEmptyStringGeneration() { - return this._emptyStringGenerator.createGeneration(); + get initialValue() { + return this._initialValue; } - _finalizeGenerators() { - this._emptyStringLiteralGenerator.setGenerationDescription(l.generators.emptyStringLiteral.generationDescription), this._falseLiteralGenerator.setGenerationDescription(o.default.false), this._notSetAudioGenerator.setGenerationDescriptionFromType(a.globalTypes.audio), this._notSetBooleanGenerator.setGenerationDescriptionFromType(a.globalTypes.boolean), this._notSetDateTimeGenerator.setGenerationDescriptionFromType(a.globalTypes.dateTime), this._notSetDurationGenerator.setGenerationDescriptionFromType(a.globalTypes.duration), this._notSetImageGenerator.setGenerationDescriptionFromType(a.globalTypes.image), this._notSetIntegerGenerator.setGenerationDescriptionFromType(a.globalTypes.integer), this._notSetPromptGenerator.setGenerationDescriptionFromType(a.globalTypes.prompt), this._notSetStringGenerator.setGenerationDescriptionFromType(a.globalTypes.string), this._notSetVideoGenerator.setGenerationDescriptionFromType(a.globalTypes.video), this._notSetAgentScorePairGenerator.setGenerationDescriptionFromType(a.globalTypes.agentScorePair); + get displayTypeName() { + return "ArchVariableWorkitemEventData"; } - }(); - t2.default = u; - }, 96776: (e2, t2, i2) => { + get isArchVariableWorkitemEventData() { + return true; + } + } + t2.default = o; + }, 31006(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).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "journeyPage"; + return "workitemEventRule"; } - get url() { + get initialValue() { + return this._initialValue; } - get title() { + get displayTypeName() { + return "ArchVariableWorkitemEventRule"; } - get domain() { + get isArchVariableWorkitemEventRule() { + return true; } - get fragment() { + } + t2.default = o; + }, 21954(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get hostname() { + get _globalTypeName() { + return "worktypeStatus"; } - get keywords() { + get initialValue() { + return this._initialValue; } - get lang() { + get displayTypeName() { + return "ArchVariableWorktypeStatus"; } - get pathname() { + get isArchVariableWorktypeStatus() { + return true; } - get queryString() { + } + t2.default = o; + }, 16714(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - get breadcrumb() { + get _globalTypeName() { + return "worktypeStatusCollection"; + } + get initialValue() { + return this._initialValue; } get displayTypeName() { - return "ArchValueJourneyPage"; + return "ArchVariableWorktypeStatusCollection"; } - get isArchValueJourneyPage() { + get isArchVariableWorktypeStatusCollection() { return true; } } - t2.default = r2; - }, 96815: (e2, t2, i2) => { + t2.default = o; + }, 22685(e2, t2, i2) { "use strict"; Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(20692)); - class r2 extends n2.default { + const n2 = i2(31635).__importDefault(i2(84655)); + class o extends n2.default { constructor(e3) { super(e3); } get _globalTypeName() { - return "integerCollection"; + return "wrapupCode"; } get displayTypeName() { - return "ArchVariableIntegerCollection"; + return "ArchVariableWrapupCode"; } get initialValue() { return this._initialValue; } - get isArchVariableIntegerCollection() { + get isArchVariableWrapupCode() { return true; } } - t2.default = r2; - }, 96875: (e2, t2, i2) => { + t2.default = o; + }, 51441(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(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 v extends g.default { - _cleanOperation(e3, t3, i3) { - 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.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) => { - this._processNotification(t3, e4); - }) : t3.isValidate || t3.isGetHistory || t3.initializeDesignTime ? this._processManifestResults(t3, e3) : this._processNotification(t3, e3); - } - _emergencyPollNetworkCall(e3) { - 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 T.getFlows({ id: t3 }); - } - 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; + const n2 = i2(31635).__importDefault(i2(20692)); + class o extends n2.default { + constructor(e3) { + super(e3); } - _getSubscriptionTopic(e3) { - return (0, f.getFlowOperationsTopic)(e3); + get _globalTypeName() { + return "wrapupCodeCollection"; } - _loadNewModelDetails(e3, t3) { - try { - 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) { - t3.logTopic.exception(e4, "Failed to load new flow model details"); - } + get displayTypeName() { + return "ArchVariableWrapupCodeCollection"; } - _processNotification(e3, t3) { - 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); + get initialValue() { + return this._initialValue; } - _refreshFlowInfoAndFinish(e3, t3) { - 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); - }); + get isArchVariableWrapupCodeCollection() { + return true; } - _checkCheckInFinished(e3, t3) { - if (t3.currentOperation.actionStatus === l.actionStatus.success && t3.checkedInVersion) this._refreshFlowInfoAndFinish(e3, t3); - else { - const i3 = N(t3), n3 = new h.default(i3, null); - d.log(e3.logTopic, i3, "Failed Checkin: "), this._cleanOperation(false, e3, n3); - } + } + t2.default = o; + }, 12033(e2, t2, i2) { + "use strict"; + Object.defineProperty(t2, "__esModule", { value: true }); + const n2 = i2(31635), o = n2.__importDefault(i2(41264)), r = 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)), I = n2.__importDefault(i2(50565)), C = n2.__importDefault(i2(238)), O = 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)), q = n2.__importDefault(i2(81500)), W = 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)), oe = n2.__importDefault(i2(33965)), re = 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)), Ie = n2.__importDefault(i2(19044)), Ce = n2.__importDefault(i2(43368)), Oe = 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)), qe = n2.__importDefault(i2(25420)), We = 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)), ot = n2.__importDefault(i2(71726)), rt = 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: o.default, ArchVariableAgentScorePairCollection: r.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: I.default, ArchVariableCurrency: C.default, ArchVariableCurrencyCollection: O.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: q.default, ArchVariableExternalContactCollection: W.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: oe.default, ArchVariableJourneyOutcomeCollection: re.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: Ie.default, ArchVariablePhoneNumber: Ce.default, ArchVariablePhoneNumberCollection: Oe.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: qe.default, ArchVariableStringCollection: We.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: ot.default, ArchVariableUtilizationLabel: rt.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; + }, 29546(e2, t2, i2) { + "use strict"; + t2.getCurrentLanguage = function() { + return p; + }; + const n2 = i2(31635), o = n2.__importDefault(i2(92140)), r = i2(24032), a = i2(85306), s = i2(6256), l = n2.__importStar(i2(74359)), u = i2(22754), c = (i2(37675), (0, r.getTopic)("languageManager")), d = "en-us"; + let p; + const _ = ["fi", "th", "da"]; + { + let e3; + e3 = (function(e4) { + 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 + "'"), e4 || (e4 = t3 || i3), !e4) return c.info("No language found in cookie storage."), null; + const n3 = (0, s.getGenesysCloudToArchitectLocale)(e4); + return n3 ? (c.info("Using language " + JSON.stringify(n3)), n3.id) : (o.default.contains(_, e4) || c.error(`No matching language found for "${e4}".`), null); + })(), e3 ? (c.info("Setting currentLanguage to: " + e3), p = e3) : (c.info("Setting currentLanguage to default language: " + d), p = d); + } + if (l.setCurrentLanguage(p), o.default.findWhere(a.isoLanguagesUiData, { id: p }).italic) { + const e3 = document.createElement("style"); + e3.type = "text/css", e3.innerHTML = ".italicize { font-style: italic; }", document.getElementsByTagName("head")[0].appendChild(e3); + } + }, 22754(e2, t2, i2) { + "use strict"; + t2.storage = void 0; + const n2 = i2(31635), o = i2(79364), r = i2(92794), a = n2.__importStar(i2(36781)), s = n2.__importStar(i2(24032)), l = n2.__importDefault(i2(92140)), u = n2.__importDefault(i2(73198)); + class c { + constructor(e3) { + this.nativeStorage = e3, this.retryCount = 0, this.maxRetryCount = 5, this.processingCleanup = false, this.topic = s.getTopic("storage"); } - _checkGetHistoryFinished(e3, t3) { - if (t3 && t3.currentOperation && t3.currentOperation.actionStatus === l.actionStatus.success) this._cleanOperation(true, e3); - else { - const i3 = N(t3); - d.log(e3.logTopic, i3, "Failed History: "), this._cleanOperation(false, e3); - } + 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); } - _checkPublishFinished(e3, t3) { - if (t3.currentOperation.actionStatus === l.actionStatus.success && (e3.isDebugPublish || t3.publishedVersion)) this._refreshFlowInfoAndFinish(e3, t3); - else { - const i3 = N(t3); - d.log(e3.logTopic, i3, "Failed Publish: "), this._cleanOperation(false, e3, i3); - } + isTrue(e3) { + return "true" === this.get(e3); } - _checkDeleteFinished(e3, t3) { - 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 = 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); - if (this._removeSingleNotificationTopic(e3, i3), delete e3.remainingFlowsInfoViewModels[t3.id], 0 === o.default.keys(e3.remainingFlowsInfoViewModels).length) { - const t4 = e3.errors && e3.errors.length > 0 ? { response: { errors: e3.errors } } : void 0; - this._cleanOperation(!t4, e3, t4); - } + createKeyObservable$(e3) { + const t3 = c._getKey(e3); + return (0, o.fromEvent)(window, "storage").pipe((0, r.filter)((e4) => e4.key === t3)); } - _checkValidationFinished(e3, t3) { - 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); - }); - else { - const i3 = t3 && t3.currentOperation ? t3.currentOperation.errorMessage : void 0; - this._cleanOperation(false, e3, i3); - } + static _getKey(e3) { + return e3 && e3.contains("architect.") ? e3 : "architect." + e3; } - _processManifestResults(e3, t3, i3) { - 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 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)); + parse(e3, t3) { + let i3 = this.get(e3); + if (i3) try { + i3 = JSON.parse(i3); + } catch (e4) { + console.log(e4), i3 = t3; } + return null != i3 ? i3 : t3; } - static _checkNluEngineVersion(e3, t3) { - const i3 = null == t3 ? void 0 : t3.engineVersion; - i3 && (!e3.botFlowSettings.engineVersion || parseFloat(e3.botFlowSettings.engineVersion) < parseFloat(i3)) && e3.updateNluEngineVersion(i3); - } - fallback(e3, t3) { - 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 = () => 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 }), A.errorWithErrorObjectInfo(i3, e3, false), t3.deferredOperation.reject(n3), t3.deferredOperation.promise; - } - checkInFlow(e3, t3) { - const i3 = A.withMultipleContext({ flowId: e3.id, opName: l.actionName.checkin }); - i3.info("starting checkin flow"); - 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 = 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); + remove(e3) { + return this.nativeStorage.removeItem(c._getKey(e3)); } - _createPublishOperationInfo(e3, t3, i3, n3) { - 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 { - if (t3 && (t3.isCallFlowType || t3.isCommonModuleFlow)) { - const e4 = t3.dependencies.getValidationManifest(), i4 = e4.userPrompt && e4.userPrompt.length ? e4.userPrompt.length : 1, r4 = t3.languages.supportedLanguageOptions.length; - a2 = o.default.clamp(i4 * r4, 30, 100), o.default.isActualNumber(a2) || (n3.error(`pollingTimeout is not a number: ${JSON.stringify(a2)}`), a2 = 30); + 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; + } 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) { + this.retryCount++, 1 === this.retryCount && this.topic.info("Local storage QuotaExceededError. key '{}'. Attempting cleanup", e3); + try { + this.processingCleanup = true, a.emitter.emit(a.localStorageCleanup, { key: e3, value: t3 }); + } finally { + this.processingCleanup = false; + } + this.set(e3, t3); + } else this.topic.info("No more retries will be attempted for key: {{}}", e3); } - } catch (e4) { - n3.exception(e4, "Caught error when trying to set polling timeout."), a2 = 30; } - return r3.emergencyPollingTimeout = a2, r3; - } - publishFlow(e3, t3, i3) { - 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 = () => T.publish(e3.id, i3), this._performOperation(r3)); - } - debugPublishFlow(e3, t3, i3) { - 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 = () => T.enableFlowDebug(e3.id, i3), this._performOperation(r3)); } - deleteFlows(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 ? (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 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."); - } - initializeDesignTimeAndValidate(e3) { - return e3 ? this._getAsyncAdsValidationResults(e3, true, true, e3.topic.withMultipleContext({ opName: l.actionName.initializeDesignTime })) : Promise.reject("flowViewModel:initializeDesignTime - no flow view model specified to validate."); + stringify(e3, t3) { + return this.set(e3, JSON.stringify(t3)); } - _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 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; + } + const d = "undefined" != typeof window && window; + t2.storage = { local: new c(d.localStorage), session: new c(d.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; + e3 = encodeURIComponent(e3), t3 = -1 === document.cookie.indexOf(";") ? [document.cookie] : document.cookie.split("; "); + for (let i3 = 0; i3 < t3.length; i3++) { + const n3 = t3[i3].split("="); + if (n3[0] === e3) return decodeURIComponent(n3[1]); + } + return null; } - _retryAsyncAdsValidationResults(e3) { - return n2.__awaiter(this, void 0, void 0, function* () { - if (!e3 || !e3.flowViewModel) throw new Error("flowViewModel:validateFlow - no flow view model specified to validate."); - this._clearTimeouts(e3), this._removeEventNotifications(e3), e3.stopEmergencyPolling = true; - try { - yield Promise.all(e3.flowViewModel.validationResults.getRevalidateTriggers()), e3.logTopic.info("starting flow second validation"); - const t3 = this._createAsyncAdsValidationResultsOperationInfo(e3.flowViewModel, e3.isValidate, false, e3.logTopic); - t3.firstValidate = false, yield this._performOperation(t3), this._cleanOperation(true, e3); - } catch (t3) { - e3.logTopic.exception(t3, "failure during _retryAsyncAdsValidationResults"), this._cleanOperation(true, e3); - } - }); + remove(e3) { + e3 = encodeURIComponent(e3), document.cookie = e3 + "=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/"; } - _getAsyncAdsValidationResults(e3, t3, i3, n3) { - if (!e3) return Promise.reject("flowViewModel:validateFlow - no flow view model specified to validate."); - const r3 = this._createAsyncAdsValidationResultsOperationInfo(e3, t3, i3, n3); - return this._performOperation(r3); + set(e3, t3, i3, n3) { + if (!e3 || !l.default.isString(e3)) return console.error("Tried to save cookie with a non-string or empty key: {}", e3), null; + const o2 = /* @__PURE__ */ new Date(); + o2.setTime(o2.getTime() + (i3 || u.default.msPerDay)); + let r2 = encodeURIComponent(e3) + "=" + encodeURIComponent(t3); + r2 += "; expires=" + o2.toGMTString() + ";path=/", "https:" === location.protocol && (r2 += "; secure"), n3 && (r2 += `;domain=${n3}`), document.cookie = r2; } - stateChangedCheck(e3, t3) { - t3 && e3.flowId && e3.flowId === t3.flow || (e3.logTopic.info("Switched to a different flow, ending operation"), this._cleanOperation(true, e3)); + }(), keys: { actionEditorCollapsed: "actionEditorCollapsed", bottomPanelSplitter: "bottomPanelSplitter", callPromptsGrid: "overviewCallPromptsSettings", chatLegacyRoutingMessageShown: "chatLegacyRoutingMessageShown", clipboard: "clipboard", commonModuleTasksExpanded: "commonModuleTasksExpanded", configurationExpanded: "flowTreeConfigurationExpanded", debugLocaleOverride: "debugLocaleOverride", defaultDivisionId: "defaultDivisionId", defaultDestinationFlowTypes: "defaultDestinationFlowTypes", desiredHash: "architect-desired-hash", desiredPath: "architect-desired-path", 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", 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", sawInfoPreviewLaunchableBusinessProcessFlow: "sawInfoPreviewLaunchableBusinessProcessFlow", sawInfoPreviewLaunchableWorkflowFlow: "sawInfoPreviewLaunchableFlow", sawInfoPreviewLaunchableWorkitemFlow: "sawInfoPreviewLaunchableWorkitemFlow", showGeneratedExpression: "showGeneratedExpression", showIdentifiers: "showIdentifiers", showInternalErrors: "showInternalErrors", shortcuts: "shortcuts", showArchitectBuiltInCustomTypes: "showArchitectBuiltInCustomTypes", sidePanelSplitter: "sidePanelSplitter", toolboxExpanded: "toolboxExpanded", taskZoomValues: "taskZoomSettings", userName: "userName", customThemeData: "customThemeData" } }; + }, 44051(e2) { + var t2, i2 = function(e3, t3) { + t3 || (t3 = new org.antlr.runtime.RecognizerSharedState()), function() { + }.call(this), this.dfa6 = new i2.DFA6(this), this.dfa9 = new i2.DFA9(this), i2.superclass.constructor.call(this, e3, t3); + }; + org.antlr.lang.augmentObject(i2, { EOF: -1, BOOL_TRUE: 4, BOOL_FALSE: 5, NOT_SET: 6, TERNARY_IF: 7, TERNARY_THEN: 8, OP_LOG_OR: 9, OP_LOG_AND: 10, OP_BIT_INCL_OR: 11, OP_BIT_AND: 12, OP_EQU: 13, OP_NEQ: 14, OP_GTE: 15, OP_LTE: 16, OP_GT: 17, OP_LT: 18, OP_PLUS: 19, OP_MINUS: 20, OP_MULT: 21, OP_DIV: 22, OP_MOD: 23, OP_POW: 24, WS: 25, OP_NOT: 26, OP_BIT_NOT: 27, PAREN_LEFT: 28, PAREN_RIGHT: 29, IDENTIFIER: 30, PERIOD: 31, UNQUOTED_STRING_LITERAL: 32, BRACKET_LEFT: 33, BRACKET_RIGHT: 34, FIELD_ACCESS_IDENTIFIER: 35, FIELD_ACCESS_STRING_LITERAL: 36, FIELD_ACCESS_UNQUOTED_STRING_LITERAL: 37, COMMA: 38, STRING_LITERAL: 39, BAD_ESCAPE_STRING_LITERAL: 40, INTEGER: 41, DECIMAL: 42, NON_SUPPORTED: 43, UNDERSCORE: 44, QUOTE: 45, BACKSLASH: 46, DOLLAR_SIGN: 47, DIGIT: 48, ECSCAPE_CHARS: 49, ESCAPE_SEQUENCE: 50, STRING_LITERAL_CONTENTS: 51, LETTER: 52 }), t2 = org.antlr.runtime.Token.HIDDEN_CHANNEL, org.antlr.runtime.Token.EOF, org.antlr.lang.extend(i2, org.antlr.runtime.Lexer, { EOF: -1, BOOL_TRUE: 4, BOOL_FALSE: 5, NOT_SET: 6, TERNARY_IF: 7, TERNARY_THEN: 8, OP_LOG_OR: 9, OP_LOG_AND: 10, OP_BIT_INCL_OR: 11, OP_BIT_AND: 12, OP_EQU: 13, OP_NEQ: 14, OP_GTE: 15, OP_LTE: 16, OP_GT: 17, OP_LT: 18, OP_PLUS: 19, OP_MINUS: 20, OP_MULT: 21, OP_DIV: 22, OP_MOD: 23, OP_POW: 24, WS: 25, OP_NOT: 26, OP_BIT_NOT: 27, PAREN_LEFT: 28, PAREN_RIGHT: 29, IDENTIFIER: 30, PERIOD: 31, UNQUOTED_STRING_LITERAL: 32, BRACKET_LEFT: 33, BRACKET_RIGHT: 34, FIELD_ACCESS_IDENTIFIER: 35, FIELD_ACCESS_STRING_LITERAL: 36, FIELD_ACCESS_UNQUOTED_STRING_LITERAL: 37, COMMA: 38, STRING_LITERAL: 39, BAD_ESCAPE_STRING_LITERAL: 40, INTEGER: 41, DECIMAL: 42, NON_SUPPORTED: 43, UNDERSCORE: 44, QUOTE: 45, BACKSLASH: 46, DOLLAR_SIGN: 47, DIGIT: 48, ECSCAPE_CHARS: 49, ESCAPE_SEQUENCE: 50, STRING_LITERAL_CONTENTS: 51, LETTER: 52, getGrammarFileName: function() { + return "/Users/bliang/genesys_src/architect/src/core/expressions/metadata/grammar/Architect.g"; + } }), org.antlr.lang.augmentObject(i2.prototype, { mBOOL_TRUE: function() { + try { + var e3 = this.BOOL_TRUE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("true"), this.state.type = e3, this.state.channel = t3; + } finally { } - } - const O = new v(); - t2.default = O; - }, 96946: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(57731), o = {}; - function a(e3, t3) { - o[e3] = this, o[t3] = this, a.baseConstructor.apply(this, arguments); - } - r2.extend(a, "PlaybackModePositionInQueue"), a.getInstance = function(e3) { - return o[e3 || 0] || o[0]; - }, a.number = new a(0, "Number"), a.ordinal = new a(1, "Ordinal"), a.ahead = new a(2, "Ahead"), Object.defineProperties(a.prototype, { getConfiguration: { value: function(e3, t3) { - return t3?.isForFlowYaml ? n2.lowercaseFirstLetter(this.name) : this; - } } }), e2.exports = a; - }, 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), 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; + }, mBOOL_FALSE: function() { + try { + var e3 = this.BOOL_FALSE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("false"), this.state.type = e3, this.state.channel = t3; + } finally { } - get dependencyType() { - return m.BotConnectorBot; + }, mNOT_SET: function() { + try { + var e3 = this.NOT_SET, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("NOT_SET"), this.state.type = e3, this.state.channel = t3; + } finally { } - constructor() { - super(), this.topic = s.getTopic("BotConnectorManager"), this._rawServerCache = {}, this.actionPropertyForUsageSearch = "bot", this.actionsForUsageSearch = [l.botConnectorActionType], this.apiCallList = o.getBotConnectorBots, this.apiCallSingle = o.getBotConnectorBot, this.className = "BotConnectorManager", this.defaultMatchingStyle = a.exactMatch, this.dependencyContext = _.botConnector.botName, this.searchField = "name", this.securityError = true, this.suppressSearch = true, this.uiMetadataSectionName = "botConnector", this._initialize(); + }, mOP_PLUS: function() { + try { + var e3 = this.OP_PLUS, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("+"), this.state.type = e3, this.state.channel = t3; + } finally { } - areServerItemViewModelsEqual(e3, t3) { - return e3 === t3 || r2.default.isEqual(e3, t3); + }, mOP_MULT: function() { + try { + var e3 = this.OP_MULT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("*"), this.state.type = e3, this.state.channel = t3; + } finally { } - createAndAddBot(e3, t3, i3, n3) { - const r3 = new h({ id: e3, name: t3, botCompositeTag: i3, integrationId: n3 }); - this.addItem(r3); + }, mOP_DIV: function() { + try { + var e3 = this.OP_DIV, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("/"), this.state.type = e3, this.state.channel = t3; + } finally { } - _createItemViewModel(e3) { - return new c.BotConnectorViewModel(e3); + }, mOP_MINUS: function() { + try { + var e3 = this.OP_MINUS, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("-"), this.state.type = e3, this.state.channel = t3; + } finally { } - get _networkModel() { - return h; + }, mOP_MOD: function() { + try { + var e3 = this.OP_MOD, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("%"), this.state.type = e3, this.state.channel = t3; + } finally { } - _registerWithManifest() { + }, mOP_POW: function() { + try { + var e3 = this.OP_POW, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("^"), this.state.type = e3, this.state.channel = t3; + } finally { } - manifestFilter() { - return false; + }, mOP_NOT: function() { + try { + var e3 = this.OP_NOT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("!"), this.state.type = e3, this.state.channel = t3; + } finally { } - 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 ? u.botConnectorIntegrationManager.getItem(t3.integrationId) : null; + }, mOP_EQU: function() { + try { + var e3 = this.OP_EQU, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("=="), this.state.type = e3, this.state.channel = t3; + } finally { } - getItem(e3, t3) { - const i3 = t3, n3 = r2.default.isFunction(null == i3 ? void 0 : i3.getUniqueBotCategoryId) ? i3.getUniqueBotCategoryId() : e3; - return super.getItem(n3); + }, mOP_NEQ: function() { + try { + var e3 = this.OP_NEQ, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("!="), this.state.type = e3, this.state.channel = t3; + } finally { } - } - t2.BotConnectorManager = g, t2.botConnectorManager = new g(); - }, 97038: (e2, t2, i2) => { - const n2 = i2(70380), { callTaskActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 97063: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(55299); - class r2 extends n2.BaseClass { - constructor(e3, t3, i3 = false) { - super(), this._featureConfigName = e3, this._featureConfigData = t3, this._isOverride = i3; + }, mOP_GT: function() { + try { + var e3 = this.OP_GT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match(">"), this.state.type = e3, this.state.channel = t3; + } finally { } - get isAvailable() { - return this._featureConfigData.isAvailable; + }, mOP_GTE: function() { + try { + var e3 = this.OP_GTE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match(">="), this.state.type = e3, this.state.channel = t3; + } finally { } - get featureConfigName() { - return this._featureConfigName; + }, mOP_LT: function() { + try { + var e3 = this.OP_LT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("<"), this.state.type = e3, this.state.channel = t3; + } finally { } - get isOverride() { - return this._isOverride; + }, mOP_LTE: function() { + try { + var e3 = this.OP_LTE, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("<="), this.state.type = e3, this.state.channel = t3; + } finally { } - get className() { - return "FeatureConfigViewModel"; + }, mOP_LOG_AND: function() { + try { + var e3 = this.OP_LOG_AND, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + if ("A" != this.input.LA(1) && "a" != this.input.LA(1)) { + var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(i3), i3; + } + if (this.input.consume(), "N" != this.input.LA(1) && "n" != this.input.LA(1)) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; + if (this.input.consume(), "D" != this.input.LA(1) && "d" != this.input.LA(1)) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; + this.input.consume(), this.state.type = e3, this.state.channel = t3; + } finally { } - } - t2.default = r2; - }, 97081: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.IntegrationViewModel = void 0; - const n2 = i2(43212); - class r2 extends n2.BaseConfigurationListViewModel { - constructor(e3) { - super(e3); + }, mOP_LOG_OR: function() { + try { + var e3 = this.OP_LOG_OR, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + if ("O" != this.input.LA(1) && "o" != this.input.LA(1)) { + var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(i3), i3; + } + if (this.input.consume(), "R" != this.input.LA(1) && "r" != this.input.LA(1)) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; + this.input.consume(), this.state.type = e3, this.state.channel = t3; + } finally { } - get className() { - return "IntegrationViewModel"; + }, mOP_BIT_AND: function() { + try { + var e3 = this.OP_BIT_AND, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("&"), this.state.type = e3, this.state.channel = t3; + } finally { } - get id() { - return this._model.id; + }, mOP_BIT_INCL_OR: function() { + try { + var e3 = this.OP_BIT_INCL_OR, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("|"), this.state.type = e3, this.state.channel = t3; + } finally { } - getConfiguration() { - return this._model; + }, mOP_BIT_NOT: function() { + try { + var e3 = this.OP_BIT_NOT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("~"), this.state.type = e3, this.state.channel = t3; + } finally { } - get label() { - return this._model.name || ""; + }, mBRACKET_LEFT: function() { + try { + var e3 = this.BRACKET_LEFT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("["), this.state.type = e3, this.state.channel = t3; + } finally { } - get name() { - return this._model.name; + }, mBRACKET_RIGHT: function() { + try { + var e3 = this.BRACKET_RIGHT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("]"), this.state.type = e3, this.state.channel = t3; + } finally { } - } - t2.IntegrationViewModel = r2; - }, 97086: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(47563)), o = n2.__importDefault(i2(68268)), a = { ArchActionOutput: r2.default, ArchBranch: o.default }; - t2.default = a; - }, 97111: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.environmentList = void 0; - const n2 = i2(75754); - t2.environmentList = [{ env: n2.environmentEnum.dev, appsV2Env: "dev", host: "apps.inindca.com", region: "us-east-1" }, { env: n2.environmentEnum.dev, appsV2Env: "dev", host: "app-regional.inindca.com", region: "us-east-1" }, { env: n2.environmentEnum.test, appsV2Env: "test", host: "apps.inintca.com", region: "us-east-1" }, { env: n2.environmentEnum.test, appsV2Env: "test", host: "app-regional.inintca.com", region: "us-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-cac1", host: "apps.cac1.pure.cloud", region: "ca-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-cac1", host: "app-regional.cac1.pure.cloud", region: "ca-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mec1", host: "apps.mec1.pure.cloud", region: "me-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mec1", host: "app-regional.mec1.pure.cloud", region: "me-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod", host: "apps.mypurecloud.com", region: "us-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod", host: "app-regional.mypurecloud.com", region: "us-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse1", host: "apps.apse1.pure.cloud", region: "ap-southeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse1", host: "app-regional.apse1.pure.cloud", region: "ap-southeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse2", host: "apps.mypurecloud.com.au", region: "ap-southeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apse2", host: "app-regional.mypurecloud.com.au", region: "ap-southeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc1", host: "apps.mypurecloud.de", region: "eu-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc1", host: "app-regional.mypurecloud.de", region: "eu-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc2", host: "apps.euc2.pure.cloud", region: "eu-central-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euc2", host: "app-regional.euc2.pure.cloud", region: "eu-central-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw1", host: "apps.mypurecloud.ie", region: "eu-west-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw1", host: "app-regional.mypurecloud.ie", region: "eu-west-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne1", host: "apps.mypurecloud.jp", region: "ap-northeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne1", host: "app-regional.mypurecloud.jp", region: "ap-northeast-1" }, { env: n2.environmentEnum.prod, appsV2Env: "fedramp-use2-core", host: "apps.use2.us-gov-pure.cloud", region: "us-east-2", isFedRamp: true }, { env: n2.environmentEnum.prod, appsV2Env: "fedramp-use2-core", host: "app-regional.use2.us-gov-pure.cloud", region: "us-east-2", isFedRamp: true }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw2", host: "apps.euw2.pure.cloud", region: "eu-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-euw2", host: "app-regional.euw2.pure.cloud", region: "eu-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-usw2", host: "apps.usw2.pure.cloud", region: "us-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-usw2", host: "app-regional.usw2.pure.cloud", region: "us-west-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne2", host: "apps.apne2.pure.cloud", region: "ap-northeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne2", host: "app-regional.apne2.pure.cloud", region: "ap-northeast-2" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne3", host: "apps.apne3.pure.cloud", region: "ap-northeast-3" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-apne3", host: "app-regional.apne3.pure.cloud", region: "ap-northeast-3" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-aps1", host: "apps.aps1.pure.cloud", region: "ap-south-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-aps1", host: "app-regional.aps1.pure.cloud", region: "ap-south-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mxc1", host: "apps.mxc1.pure.cloud", region: "mx-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-mxc1", host: "app-regional.mxc1.pure.cloud", region: "mx-central-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-sae1", host: "apps.sae1.pure.cloud", region: "sa-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "prod-sae1", host: "app-regional.sae1.pure.cloud", region: "sa-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "eusc-edee1", host: "apps.edee1.eusc-pure.cloud", region: "eusc-de-east-1" }, { env: n2.environmentEnum.prod, appsV2Env: "eusc-edee1", host: "app-regional.edee1.eusc-pure.cloud", region: "eusc-de-east-1" }]; - }, 97122: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(26847), o = n2.__importDefault(i2(21345)); - class a extends o.default { - constructor(e3) { - super(e3); + }, mTERNARY_IF: function() { + try { + var e3 = this.TERNARY_IF, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("?"), this.state.type = e3, this.state.channel = t3; + } finally { } - get displayTypeName() { - return "ArchBaseActionWithOutputsSuccessFailureCanceled"; + }, mTERNARY_THEN: function() { + try { + var e3 = this.TERNARY_THEN, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match(":"), this.state.type = e3, this.state.channel = t3; + } finally { } - get isArchBaseActionWithOutputsSuccessFailureCanceled() { - return true; + }, mPAREN_LEFT: function() { + try { + var e3 = this.PAREN_LEFT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("("), this.state.type = e3, this.state.channel = t3; + } finally { } - get outputCanceled() { - return this._getOutputById(r2.outputIds.canceled, true); + }, mPAREN_RIGHT: function() { + try { + var e3 = this.PAREN_RIGHT, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match(")"), this.state.type = e3, this.state.channel = t3; + } finally { } - } - 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) { - return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) { - e4.__proto__ = t4; - } || function(e4, t4) { - for (var i3 in t4) Object.prototype.hasOwnProperty.call(t4, i3) && (e4[i3] = t4[i3]); - }, n2(e3, t3); - }, function(e3, t3) { - if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null"); - function i3() { - this.constructor = e3; + }, mPERIOD: function() { + try { + var e3 = this.PERIOD, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match("."), this.state.type = e3, this.state.channel = t3; + } finally { } - n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (i3.prototype = t3.prototype, new i3()); - }); - Object.defineProperty(t2, "__esModule", { value: true }), t2.BehaviorSubject = void 0; - var o = (function(e3) { - function t3(t4) { - var i3 = e3.call(this) || this; - return i3._value = t4, i3; + }, mUNDERSCORE: function() { + try { + this.match("_"); + } finally { } - return r2(t3, e3), Object.defineProperty(t3.prototype, "value", { get: function() { - return this.getValue(); - }, enumerable: false, configurable: true }), t3.prototype._subscribe = function(t4) { - var i3 = e3.prototype._subscribe.call(this, t4); - return !i3.closed && t4.next(this._value), i3; - }, t3.prototype.getValue = function() { - var e4 = this, t4 = e4.hasError, i3 = e4.thrownError, n3 = e4._value; - if (t4) throw i3; - return this._throwIfClosed(), n3; - }, t3.prototype.next = function(t4) { - e3.prototype.next.call(this, this._value = t4); - }, t3; - })(i2(76808).Subject); - t2.BehaviorSubject = o; - }, 97329: (e2, t2, i2) => { - const n2 = i2(35158), r2 = i2(93852), o = i2(62120), a = i2(20557), s = i2(88715), l = i2(4491); - function u() { - Object.defineProperties(this, { _actionItems: { writable: true }, _dataTypeItems: { writable: true }, _menuItems: { writable: true }, _menuChoiceItems: { writable: true }, _stateItems: { writable: true }, _taskItems: { writable: true } }), u.baseConstructor.apply(this, arguments); - } - i2(45214).extend(u, "ClipboardManifestModel", true), Object.defineProperties(u.prototype, { actionItems: { enumerable: true, get: function() { - return this._actionItems; - }, set: function(e3) { - this._actionItems = this.reviveArray(e3, n2); - } }, dataTypeItems: { enumerable: true, get: function() { - return this._dataTypeItems; - }, set: function(e3) { - this._dataTypeItems = this.reviveArray(e3, r2); - } }, menuItems: { enumerable: true, get: function() { - return this._menuItems; - }, set: function(e3) { - this._menuItems = this.reviveArray(e3, a); - } }, menuChoiceItems: { enumerable: true, get: function() { - return this._menuChoiceItems; - }, set: function(e3) { - this._menuChoiceItems = this.reviveArray(e3, o); - } }, stateItems: { enumerable: true, get: function() { - return this._stateItems; - }, set: function(e3) { - this._stateItems = this.reviveArray(e3, s); - } }, taskItems: { enumerable: true, get: function() { - return this._taskItems; - }, set: function(e3) { - this._taskItems = this.reviveArray(e3, l); - } } }), e2.exports = u; - }, 97340: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.UrlBuilder = void 0; - class i2 { - constructor(e3) { - if (this._segments = [], !e3) throw new Error("UrlBuilder requires a non empty base URL"); - this.addSegment(e3); + }, mCOMMA: function() { + try { + var e3 = this.COMMA, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.match(","), this.state.type = e3, this.state.channel = t3; + } finally { } - static create(e3) { - return new i2(e3); + }, mQUOTE: function() { + try { + this.match('"'); + } finally { } - addSegment(e3) { - if (e3) { - const t3 = e3.replace(/^\/+/, "").replace(/\/+$/, ""); - t3 && this._segments.push(t3); - } - return this; + }, mBACKSLASH: function() { + try { + this.match("\\"); + } finally { } - render(e3 = false) { - let t3 = this._segments.join("/"); - return e3 && !t3.endsWith("/") && (t3 += "/"), t3; + }, mDOLLAR_SIGN: function() { + try { + this.match("$"); + } finally { } - } - t2.UrlBuilder = i2; - }, 97354: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81901)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + }, mDIGIT: function() { + try { + this.matchRange("0", "9"); + } finally { } - get displayTypeName() { - return "ArchFilterObject"; + }, mINTEGER: function() { + try { + var e3 = this.INTEGER, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, i3 = 0; + e: for (; ; ) { + var n2 = 2, o = this.input.LA(1); + if (o >= "0" && o <= "9" && (n2 = 1), 1 !== n2) { + if (i3 >= 1) break e; + throw new org.antlr.runtime.EarlyExitException(1, this.input); + } + this.mDIGIT(), i3++; + } + this.state.type = e3, this.state.channel = t3; + } finally { } - get isArchFilterObject() { - return true; + }, mDECIMAL: function() { + try { + var e3 = this.DECIMAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, i3 = 2, n2 = this.input.LA(1); + if (n2 >= "0" && n2 <= "9") i3 = 1; + else { + if ("." != n2) throw new org.antlr.runtime.NoViableAltException("", 3, 0, this.input); + i3 = 2; + } + switch (i3) { + case 1: + this.mINTEGER(), this.mPERIOD(); + var o = 2, r = this.input.LA(1); + r >= "0" && r <= "9" && (o = 1), 1 === o && this.mINTEGER(); + break; + case 2: + this.mPERIOD(), this.mINTEGER(); + } + this.state.type = e3, this.state.channel = t3; + } finally { } - } - t2.default = r2; - }, 97361: (e2, t2, i2) => { - const n2 = i2(45214); - class r2 extends n2 { - } - r2.registerObject = function(e3, t3) { - const i3 = "_" + e3; - r2.prototype.hasOwnProperty(e3) || Object.defineProperty(r2.prototype, e3, { get: function() { - return this[i3]; - }, set: function(e4) { - this[i3] = this.reviveArrayToMap(e4, t3); - } }); - }, e2.exports = r2; - }, 97362: (e2) => { - e2.exports = { urlAlphabet: "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict" }; - }, 97400: (e2, t2, i2) => { - "use strict"; - var n2, r2; - 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); + }, mECSCAPE_CHARS: function() { + try { + if ('"' != this.input.LA(1) && "\\" != this.input.LA(1) && "n" != this.input.LA(1) && "r" != this.input.LA(1) && "t" != this.input.LA(1)) { + var e3 = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(e3), e3; + } + this.input.consume(); + } finally { } - get terminatesLoop() { - return o.__classPrivateFieldGet(this, n2, "f"); + }, mESCAPE_SEQUENCE: function() { + try { + this.mBACKSLASH(), this.mECSCAPE_CHARS(); + } finally { } - addAction(e3, t3) { - const i3 = h.createAction(e3, this); - return this._insertAction(i3, t3), this.parentFlow.calcFlowSizeAsync(), p.emitter.emit(p.actionsChanged), i3; + }, mSTRING_LITERAL_CONTENTS: function() { + try { + var e3 = 2, t3 = this.input.LA(1); + if ("\\" == t3) e3 = 1; + else { + if (!(t3 >= "\0" && t3 <= "!" || t3 >= "#" && t3 <= "[" || t3 >= "]" && t3 <= "\uFFFF")) throw new org.antlr.runtime.NoViableAltException("", 4, 0, this.input); + e3 = 2; + } + switch (e3) { + case 1: + this.mESCAPE_SEQUENCE(); + break; + case 2: + if (!(this.input.LA(1) >= "\0" && this.input.LA(1) <= "!" || this.input.LA(1) >= "#" && this.input.LA(1) <= "[" || this.input.LA(1) >= "]" && this.input.LA(1) <= "\uFFFF")) { + var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(i3), i3; + } + this.input.consume(); + } + } finally { } - addClipboardDependencies(e3) { - s.default.each(this.actions, (t3) => { - t3.addClipboardDependencies(e3); - }); + }, mUNQUOTED_STRING_LITERAL: function() { + try { + var e3 = this.UNQUOTED_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.mQUOTE(); + e: for (; ; ) { + var i3 = 2, n2 = this.input.LA(1); + if ((n2 >= "\0" && n2 <= "!" || n2 >= "#" && n2 <= "\uFFFF") && (i3 = 1), 1 !== i3) break e; + this.mSTRING_LITERAL_CONTENTS(); + } + this.state.type = e3, this.state.channel = t3; + } finally { } - 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)); - } - })); - } - })); - })); - }); + }, mSTRING_LITERAL: function() { + try { + var e3 = this.STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.mUNQUOTED_STRING_LITERAL(), this.mQUOTE(), this.state.type = e3, this.state.channel = t3; + } finally { } - _resolveAvailabilityContext() { - const e3 = this.topParent || this; - return { currentNode: e3, inTaskMode: !e3.isMenu && !e3.isMenuChoice }; + }, mBAD_ESCAPE_STRING_LITERAL: function() { + try { + var e3 = this.BAD_ESCAPE_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + switch (this.mBACKSLASH(), this.dfa6.predict(this.input)) { + case 1: + this.mSTRING_LITERAL(); + break; + case 2: + this.mUNQUOTED_STRING_LITERAL(); + } + this.state.type = e3, this.state.channel = t3; + } finally { } - _reportAppendActionError(e3, t3) { - e3.error(t3), e3.continueProcessing = false; + }, mLETTER: function() { + try { + if (!(this.input.LA(1) >= "A" && this.input.LA(1) <= "Z" || this.input.LA(1) >= "a" && this.input.LA(1) <= "z" || this.input.LA(1) >= "\xC0" && this.input.LA(1) <= "\xD6" || this.input.LA(1) >= "\xD8" && this.input.LA(1) <= "\xF6" || this.input.LA(1) >= "\xF8" && this.input.LA(1) <= "\u1FFF" || this.input.LA(1) >= "\u3040" && this.input.LA(1) <= "\u318F" || this.input.LA(1) >= "\u3300" && this.input.LA(1) <= "\u337F" || this.input.LA(1) >= "\u3400" && this.input.LA(1) <= "\u3D2D" || this.input.LA(1) >= "\u4E00" && this.input.LA(1) <= "\u9FFF" || this.input.LA(1) >= "\uF900" && this.input.LA(1) <= "\uFAFF" || this.input.LA(1) >= "\uFF00" && this.input.LA(1) <= "\uFFEF")) { + var e3 = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(e3), e3; + } + this.input.consume(); + } finally { } - get amObjectEventSink() { - return false; + }, mIDENTIFIER: function() { + try { + var e3 = this.IDENTIFIER, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + if (!("$" == this.input.LA(1) || this.input.LA(1) >= "A" && this.input.LA(1) <= "Z" || this.input.LA(1) >= "a" && this.input.LA(1) <= "z" || this.input.LA(1) >= "\xC0" && this.input.LA(1) <= "\xD6" || this.input.LA(1) >= "\xD8" && this.input.LA(1) <= "\xF6" || this.input.LA(1) >= "\xF8" && this.input.LA(1) <= "\u1FFF" || this.input.LA(1) >= "\u3040" && this.input.LA(1) <= "\u318F" || this.input.LA(1) >= "\u3300" && this.input.LA(1) <= "\u337F" || this.input.LA(1) >= "\u3400" && this.input.LA(1) <= "\u3D2D" || this.input.LA(1) >= "\u4E00" && this.input.LA(1) <= "\u9FFF" || this.input.LA(1) >= "\uF900" && this.input.LA(1) <= "\uFAFF" || this.input.LA(1) >= "\uFF00" && this.input.LA(1) <= "\uFFEF")) { + var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(i3), i3; + } + this.input.consume(); + e: for (; ; ) { + var n2 = 2, o = this.input.LA(1); + if ((o >= "0" && o <= "9" || o >= "A" && o <= "Z" || "_" == o || o >= "a" && o <= "z" || o >= "\xC0" && o <= "\xD6" || o >= "\xD8" && o <= "\xF6" || o >= "\xF8" && o <= "\u1FFF" || o >= "\u3040" && o <= "\u318F" || o >= "\u3300" && o <= "\u337F" || o >= "\u3400" && o <= "\u3D2D" || o >= "\u4E00" && o <= "\u9FFF" || o >= "\uF900" && o <= "\uFAFF" || o >= "\uFF00" && o <= "\uFFEF") && (n2 = 1), 1 !== n2) break e; + if (!(this.input.LA(1) >= "0" && this.input.LA(1) <= "9" || this.input.LA(1) >= "A" && this.input.LA(1) <= "Z" || "_" == this.input.LA(1) || this.input.LA(1) >= "a" && this.input.LA(1) <= "z" || this.input.LA(1) >= "\xC0" && this.input.LA(1) <= "\xD6" || this.input.LA(1) >= "\xD8" && this.input.LA(1) <= "\xF6" || this.input.LA(1) >= "\xF8" && this.input.LA(1) <= "\u1FFF" || this.input.LA(1) >= "\u3040" && this.input.LA(1) <= "\u318F" || this.input.LA(1) >= "\u3300" && this.input.LA(1) <= "\u337F" || this.input.LA(1) >= "\u3400" && this.input.LA(1) <= "\u3D2D" || this.input.LA(1) >= "\u4E00" && this.input.LA(1) <= "\u9FFF" || this.input.LA(1) >= "\uF900" && this.input.LA(1) <= "\uFAFF" || this.input.LA(1) >= "\uFF00" && this.input.LA(1) <= "\uFFEF")) throw i3 = new org.antlr.runtime.MismatchedSetException(null, this.input), this.recover(i3), i3; + this.input.consume(); + } + this.state.type = e3, this.state.channel = t3; + } finally { } - get amObjectEventEmitter() { - return true; + }, mWS: function() { + try { + var e3 = this.WS, i3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, n2 = 0; + e: for (; ; ) { + var o = 2, r = this.input.LA(1); + if ((r >= " " && r <= "\n" || "\r" == r || " " == r) && (o = 1), 1 !== o) { + if (n2 >= 1) break e; + throw new org.antlr.runtime.EarlyExitException(8, this.input); + } + if (!(this.input.LA(1) >= " " && this.input.LA(1) <= "\n" || "\r" == this.input.LA(1) || " " == this.input.LA(1))) { + var a = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(a), a; + } + this.input.consume(), n2++; + } + i3 = t2, this.state.type = e3, this.state.channel = i3; + } finally { } - get children() { - return this.actions; + }, mFIELD_ACCESS_IDENTIFIER: function() { + try { + var e3 = this.FIELD_ACCESS_IDENTIFIER, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.mPERIOD(), this.mIDENTIFIER(), this.state.type = e3, this.state.channel = t3; + } finally { } - get containedActionCount() { - if (!this.actions || 0 === this.actions.length) return 0; - let e3 = this.actions.length; - return s.default.each(this.actions, (t3) => { - e3 += t3.containedActionCount; - }), e3; + }, mFIELD_ACCESS_STRING_LITERAL: function() { + try { + var e3 = this.FIELD_ACCESS_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.mPERIOD(), this.mSTRING_LITERAL(), this.state.type = e3, this.state.channel = t3; + } finally { } - deleteChild(e3) { - e3 && (this._removeAction(e3), e3.isDestroyedOrDestroying || e3.destroy(), p.emitter.emit(p.actionsChanged), this.parentFlow.calcFlowSizeAsync()); + }, mFIELD_ACCESS_UNQUOTED_STRING_LITERAL: function() { + try { + var e3 = this.FIELD_ACCESS_UNQUOTED_STRING_LITERAL, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + this.mPERIOD(), this.mUNQUOTED_STRING_LITERAL(), this.state.type = e3, this.state.channel = t3; + } finally { } - destroyChildren() { - s.default.each(s.default.clone(this.children), (e3) => { - this.deleteChild(e3); - }), o.__classPrivateFieldSet(this, r2, null, "f"); + }, mNON_SUPPORTED: function() { + try { + var e3 = this.NON_SUPPORTED, t3 = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL; + if (!(this.input.LA(1) >= "\0" && this.input.LA(1) <= "%" || this.input.LA(1) >= "'" && this.input.LA(1) <= "+" || this.input.LA(1) >= "-" && this.input.LA(1) <= "." || this.input.LA(1) >= ":" && this.input.LA(1) <= "=" || this.input.LA(1) >= "?" && this.input.LA(1) <= "@" || this.input.LA(1) >= "^" && this.input.LA(1) <= "`" || "{" == this.input.LA(1) || "}" == this.input.LA(1) || this.input.LA(1) >= "\x7F" && this.input.LA(1) <= "\xBF" || "\xD7" == this.input.LA(1) || "\xF7" == this.input.LA(1) || this.input.LA(1) >= "\u2000" && this.input.LA(1) <= "\u303F" || this.input.LA(1) >= "\u3190" && this.input.LA(1) <= "\u32FF" || this.input.LA(1) >= "\u3380" && this.input.LA(1) <= "\u33FF" || this.input.LA(1) >= "\u3D2E" && this.input.LA(1) <= "\u4DFF" || this.input.LA(1) >= "\uA000" && this.input.LA(1) <= "\uF8FF" || this.input.LA(1) >= "\uFB00" && this.input.LA(1) <= "\uFEFF" || this.input.LA(1) >= "\uFFF0" && this.input.LA(1) <= "\uFFFF")) { + var i3 = new org.antlr.runtime.MismatchedSetException(null, this.input); + throw this.recover(i3), i3; + } + this.input.consume(), this.state.type = e3, this.state.channel = t3; + } finally { } - getChild(e3) { - if (!e3 || !this.actions) return null; - for (let t3 = 0; t3 < this.actions.length; t3++) { - const i3 = this.actions[t3]; - if (i3.id === e3) return i3; + }, mTokens: function() { + switch (this.dfa9.predict(this.input)) { + case 1: + this.mBOOL_TRUE(); + break; + case 2: + this.mBOOL_FALSE(); + break; + case 3: + this.mNOT_SET(); + break; + case 4: + this.mOP_PLUS(); + break; + case 5: + this.mOP_MULT(); + break; + case 6: + this.mOP_DIV(); + break; + case 7: + this.mOP_MINUS(); + break; + case 8: + this.mOP_MOD(); + break; + case 9: + this.mOP_POW(); + break; + case 10: + this.mOP_NOT(); + break; + case 11: + this.mOP_EQU(); + break; + case 12: + this.mOP_NEQ(); + break; + case 13: + this.mOP_GT(); + break; + case 14: + this.mOP_GTE(); + break; + case 15: + this.mOP_LT(); + break; + case 16: + this.mOP_LTE(); + break; + case 17: + this.mOP_LOG_AND(); + break; + case 18: + this.mOP_LOG_OR(); + break; + case 19: + this.mOP_BIT_AND(); + break; + case 20: + this.mOP_BIT_INCL_OR(); + break; + case 21: + this.mOP_BIT_NOT(); + break; + case 22: + this.mBRACKET_LEFT(); + break; + case 23: + this.mBRACKET_RIGHT(); + break; + case 24: + this.mTERNARY_IF(); + break; + case 25: + this.mTERNARY_THEN(); + break; + case 26: + this.mPAREN_LEFT(); + break; + case 27: + this.mPAREN_RIGHT(); + break; + case 28: + this.mPERIOD(); + break; + case 29: + this.mCOMMA(); + break; + case 30: + this.mINTEGER(); + break; + case 31: + this.mDECIMAL(); + break; + case 32: + this.mUNQUOTED_STRING_LITERAL(); + break; + case 33: + this.mSTRING_LITERAL(); + break; + case 34: + this.mBAD_ESCAPE_STRING_LITERAL(); + break; + case 35: + this.mIDENTIFIER(); + break; + case 36: + this.mWS(); + break; + case 37: + this.mFIELD_ACCESS_IDENTIFIER(); + break; + case 38: + this.mFIELD_ACCESS_STRING_LITERAL(); + break; + case 39: + this.mFIELD_ACCESS_UNQUOTED_STRING_LITERAL(); + break; + case 40: + this.mNON_SUPPORTED(); + } + } }, true), org.antlr.lang.augmentObject(i2, { DFA6_eotS: "\uFFFF\uFFFF\uFFFF", DFA6_eofS: "\x07\uFFFF", DFA6_minS: '"\0\uFFFF"\0\uFFFF\0', DFA6_maxS: '"\uFFFF\uFFFFt\uFFFF\uFFFF\uFFFF', DFA6_acceptS: "\uFFFF\uFFFF\uFFFF", DFA6_specialS: "\uFFFF\uFFFF\uFFFF\0}>", DFA6_transitionS: ["", '"9\uFFA3', "", "9\uFFFF\uFFFF\uFFFF\uFFFF", '"9\uFFA3', "", '"9\uFFA3'] }), org.antlr.lang.augmentObject(i2, { DFA6_eot: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_eotS), DFA6_eof: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_eofS), DFA6_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA6_minS), DFA6_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA6_maxS), DFA6_accept: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_acceptS), DFA6_special: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_specialS), DFA6_transition: (function() { + var e3, t3 = [], n2 = i2.DFA6_transitionS.length; + for (e3 = 0; e3 < n2; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(i2.DFA6_transitionS[e3])); + return t3; + })() }), i2.DFA6 = function(e3) { + this.recognizer = e3, this.decisionNumber = 6, this.eot = i2.DFA6_eot, this.eof = i2.DFA6_eof, this.min = i2.DFA6_min, this.max = i2.DFA6_max, this.accept = i2.DFA6_accept, this.special = i2.DFA6_special, this.transition = i2.DFA6_transition; + }, org.antlr.lang.extend(i2.DFA6, org.antlr.runtime.DFA, { getDescription: function() { + return "470:20: ( STRING_LITERAL | UNQUOTED_STRING_LITERAL )"; + }, specialStateTransition: function(e3, t3) { + var i3 = e3, n2 = function(e4, t4) { + switch (e4) { + case 0: + var i4 = t4.LA(1); + if (e4 = -1, (e4 = '"' == i4 ? 5 : "\\" == i4 ? 3 : i4 >= "\0" && i4 <= "!" || i4 >= "#" && i4 <= "[" || i4 >= "]" && i4 <= "\uFFFF" ? 4 : 2) >= 0) return e4; + break; + case 1: + var n3 = t4.LA(1); + if (e4 = -1, (e4 = "\\" == n3 ? 3 : n3 >= "\0" && n3 <= "!" || n3 >= "#" && n3 <= "[" || n3 >= "]" && n3 <= "\uFFFF" ? 4 : '"' == n3 ? 5 : 2) >= 0) return e4; + break; + case 2: + var o2 = t4.LA(1); + if (e4 = -1, (e4 = '"' == o2 ? 5 : "\\" == o2 ? 3 : o2 >= "\0" && o2 <= "!" || o2 >= "#" && o2 <= "[" || o2 >= "]" && o2 <= "\uFFFF" ? 4 : 2) >= 0) return e4; + } + }.call(this.recognizer, e3, t3); + if (!org.antlr.lang.isUndefined(n2)) return n2; + var o = new org.antlr.runtime.NoViableAltException(this.getDescription(), 6, i3, t3); + throw this.error(o), o; + }, dummy: null }), org.antlr.lang.augmentObject(i2, { DFA9_eotS: "\uFFFF \uFFFF+!.0 \uFFFF7\uFFFF;<\uFFFF \f\uFFFF E\x07\uFFFFF\uFFFF<\uFFFF N\uFFFFF\uFFFF<P \uFFFFF\uFFFFS \uFFFF V\uFFFF", DFA9_eofS: "W\uFFFF", DFA9_minS: '\0raO\uFFFF=NR \uFFFF"\uFFFF.\0\uFFFFulT\f\uFFFFD0\x07\uFFFF\0\uFFFF"\0\uFFFFes_0\uFFFF"\0\uFFFF\00eS\uFFFF\0\uFFFF0E\uFFFFT0\uFFFF', DFA9_maxS: "\uFFFFraO\uFFFF=nr \uFFFF\uFFEF\uFFFF9\uFFFF\uFFFFulT\f\uFFFFd\uFFEF\x07\uFFFF\uFFFF\uFFFFt\uFFFF\uFFFFes_\uFFEF\uFFFFt\uFFFF\uFFFF\uFFFF\uFFEFeS\uFFFF\uFFFF\uFFFF\uFFEFE\uFFFFT\uFFEF\uFFFF", DFA9_acceptS: `\uFFFF\x07\b \uFFFF\x1B\uFFFF\uFFFF"#$#(\uFFFF\x07\b \f +\v\r\uFFFF\x1B%\uFFFF \uFFFF!$\uFFFF'\uFFFF&\uFFFF\uFFFF\uFFFF\uFFFF`, DFA9_specialS: "\x1B\uFFFF\uFFFF\uFFFF \uFFFF\0\uFFFF\uFFFF\x07\uFFFF}>", DFA9_transitionS: [" !!!\n!\b!\x07\n\x1B!\r\v\f!\f \v  ! \b   !!A! ! !\u1F08 \u1040!\u0150 \u0170!\x80 \x80!\u092E \u10D2!\u5200 \u5900!\u0200 \u0400!\xF0 !", '"', "#", "$", "", "", "", "", "", "", "*", ",", "-", "/", "1\uFFFF1", "2\uFFFF2", "", "", "", "", "", "", "", "", "", ":\uFFFF9\v\uFFFF\n8\x07\uFFFF9\uFFFF9E\uFFFF9\uFFFF9\uFFFF\u1F089\u1040\uFFFF\u01509\u0170\uFFFF\x809\x80\uFFFF\u092E9\u10D2\uFFFF\u52009\u5900\uFFFF\u02009\u0400\uFFFF\xF09", "", "8\uFFFF\n\x1B", '">?9>=\uFFA3>', "", "", "", "", "", "A", "B", "C", "", "", "", "", "", "", "", "", "", "", "", "", "D\uFFFFD", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "", "", "", "", "", "", "", '"HI9HG\uFFA3H', "", "", "J9\uFFFFJ\uFFFFJ\uFFFFJ\uFFFFJ", '">?9>=\uFFA3>', "", "", "K", "L", "M", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "", "", "O9\uFFFFO\uFFFFO\uFFFFO\uFFFFO", '"HI9HG\uFFA3H', "", '">?9>=\uFFA3>', "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "Q", "R", "", '"HI9HG\uFFA3H', "", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", "T", "", "U", "\n \x07\uFFFF \uFFFF \uFFFF E\uFFFF \uFFFF \uFFFF\u1F08 \u1040\uFFFF\u0150 \u0170\uFFFF\x80 \x80\uFFFF\u092E \u10D2\uFFFF\u5200 \u5900\uFFFF\u0200 \u0400\uFFFF\xF0 ", ""] }), org.antlr.lang.augmentObject(i2, { DFA9_eot: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_eotS), DFA9_eof: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_eofS), DFA9_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA9_minS), DFA9_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(i2.DFA9_maxS), DFA9_accept: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_acceptS), DFA9_special: org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_specialS), DFA9_transition: (function() { + var e3, t3 = [], n2 = i2.DFA9_transitionS.length; + for (e3 = 0; e3 < n2; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(i2.DFA9_transitionS[e3])); + return t3; + })() }), i2.DFA9 = function(e3) { + this.recognizer = e3, this.decisionNumber = 9, this.eot = i2.DFA9_eot, this.eof = i2.DFA9_eof, this.min = i2.DFA9_min, this.max = i2.DFA9_max, this.accept = i2.DFA9_accept, this.special = i2.DFA9_special, this.transition = i2.DFA9_transition; + }, org.antlr.lang.extend(i2.DFA9, org.antlr.runtime.DFA, { getDescription: function() { + return "1:1: Tokens : ( BOOL_TRUE | BOOL_FALSE | NOT_SET | OP_PLUS | OP_MULT | OP_DIV | OP_MINUS | OP_MOD | OP_POW | OP_NOT | OP_EQU | OP_NEQ | OP_GT | OP_GTE | OP_LT | OP_LTE | OP_LOG_AND | OP_LOG_OR | OP_BIT_AND | OP_BIT_INCL_OR | OP_BIT_NOT | BRACKET_LEFT | BRACKET_RIGHT | TERNARY_IF | TERNARY_THEN | PAREN_LEFT | PAREN_RIGHT | PERIOD | COMMA | INTEGER | DECIMAL | UNQUOTED_STRING_LITERAL | STRING_LITERAL | BAD_ESCAPE_STRING_LITERAL | IDENTIFIER | WS | FIELD_ACCESS_IDENTIFIER | FIELD_ACCESS_STRING_LITERAL | FIELD_ACCESS_UNQUOTED_STRING_LITERAL | NON_SUPPORTED );"; + }, specialStateTransition: function(e3, t3) { + var i3 = e3, n2 = function(e4, t4) { + switch (e4) { + case 0: + var i4 = t4.LA(1); + if (e4 = -1, (e4 = '"' == i4 ? 73 : "\\" == i4 ? 71 : i4 >= "\0" && i4 <= "!" || i4 >= "#" && i4 <= "[" || i4 >= "]" && i4 <= "\uFFFF" ? 72 : 70) >= 0) return e4; + break; + case 1: + var n3 = t4.LA(1); + if (e4 = -1, (e4 = "\\" == n3 ? 61 : n3 >= "\0" && n3 <= "!" || n3 >= "#" && n3 <= "[" || n3 >= "]" && n3 <= "\uFFFF" ? 62 : '"' == n3 ? 63 : 60) >= 0) return e4; + break; + case 2: + var o2 = t4.LA(1); + if (e4 = -1, (e4 = '"' == o2 ? 73 : "\\" == o2 ? 71 : o2 >= "\0" && o2 <= "!" || o2 >= "#" && o2 <= "[" || o2 >= "]" && o2 <= "\uFFFF" ? 72 : 70) >= 0) return e4; + break; + case 3: + var r = t4.LA(1); + if (e4 = -1, (e4 = "\\" == r ? 61 : r >= "\0" && r <= "!" || r >= "#" && r <= "[" || r >= "]" && r <= "\uFFFF" ? 62 : '"' == r ? 63 : 60) >= 0) return e4; + break; + case 4: + var a = t4.LA(1); + if (e4 = -1, (e4 = "\\" == a ? 61 : a >= "\0" && a <= "!" || a >= "#" && a <= "[" || a >= "]" && a <= "\uFFFF" ? 62 : '"' == a ? 63 : 60) >= 0) return e4; + break; + case 5: + var s = t4.LA(1); + if (e4 = -1, (e4 = "\\" == s ? 71 : s >= "\0" && s <= "!" || s >= "#" && s <= "[" || s >= "]" && s <= "\uFFFF" ? 72 : '"' == s ? 73 : 70) >= 0) return e4; + break; + case 6: + var l = t4.LA(1); + if (e4 = -1, "t" == l ? e4 = 1 : "f" == l ? e4 = 2 : "N" == l ? e4 = 3 : "+" == l ? e4 = 4 : "*" == l ? e4 = 5 : "/" == l ? e4 = 6 : "-" == l ? e4 = 7 : "%" == l ? e4 = 8 : "^" == l ? e4 = 9 : "!" == l ? e4 = 10 : "=" == l ? e4 = 11 : ">" == l ? e4 = 12 : "<" == l ? e4 = 13 : "A" == l || "a" == l ? e4 = 14 : "O" == l || "o" == l ? e4 = 15 : "&" == l ? e4 = 16 : "|" == l ? e4 = 17 : "~" == l ? e4 = 18 : "[" == l ? e4 = 19 : "]" == l ? e4 = 20 : "?" == l ? e4 = 21 : ":" == l ? e4 = 22 : "(" == l ? e4 = 23 : ")" == l ? e4 = 24 : "." == l ? e4 = 25 : "," == l ? e4 = 26 : l >= "0" && l <= "9" ? e4 = 27 : '"' == l ? e4 = 28 : "\\" == l ? e4 = 29 : "$" == l ? e4 = 30 : l >= " " && l <= "\n" || "\r" == l || " " == l ? e4 = 31 : l >= "B" && l <= "M" || l >= "P" && l <= "Z" || l >= "b" && l <= "e" || l >= "g" && l <= "n" || l >= "p" && l <= "s" || l >= "u" && l <= "z" || l >= "\xC0" && l <= "\xD6" || l >= "\xD8" && l <= "\xF6" || l >= "\xF8" && l <= "\u1FFF" || l >= "\u3040" && l <= "\u318F" || l >= "\u3300" && l <= "\u337F" || l >= "\u3400" && l <= "\u3D2D" || l >= "\u4E00" && l <= "\u9FFF" || l >= "\uF900" && l <= "\uFAFF" || l >= "\uFF00" && l <= "\uFFEF" ? e4 = 32 : (l >= "\0" && l <= "\b" || l >= "\v" && l <= "\f" || l >= "" && l <= "" || "#" == l || "'" == l || ";" == l || "@" == l || l >= "_" && l <= "`" || "{" == l || "}" == l || l >= "\x7F" && l <= "\xBF" || "\xD7" == l || "\xF7" == l || l >= "\u2000" && l <= "\u303F" || l >= "\u3190" && l <= "\u32FF" || l >= "\u3380" && l <= "\u33FF" || l >= "\u3D2E" && l <= "\u4DFF" || l >= "\uA000" && l <= "\uF8FF" || l >= "\uFB00" && l <= "\uFEFF" || l >= "\uFFF0" && l <= "\uFFFF") && (e4 = 33), e4 >= 0) return e4; } - return null; - } - get canCollapse() { - return true; - } - get uiMetaData() { - return this.model.uiMetaData; - } - set uiMetaData(e3) { - this.model.uiMetaData = e3; - } - get collapsed() { - return this.uiMetaData || (this.uiMetaData = { collapsed: false }), this.uiMetaData.collapsed; - } - set collapsed(e3) { - this.uiMetaData ? this.uiMetaData.collapsed = e3 : this.uiMetaData = { collapsed: e3 }, p.emitter.emit(p.collapseExpand, this); - } - collapse(e3) { - return this.expandOrCollapse(true, e3); + }.call(this.recognizer, e3, t3); + if (!org.antlr.lang.isUndefined(n2)) return n2; + var o = new org.antlr.runtime.NoViableAltException(this.getDescription(), 9, i3, t3); + throw this.error(o), o; + }, dummy: null }), e2.exports = i2; + }, 36470(e2) { + var t2, i2, n2, o = function(e3, t3) { + t3 || (t3 = new org.antlr.runtime.RecognizerSharedState()), function() { + }.call(this), o.superclass.constructor.call(this, e3, t3), this.dfa18 = new o.DFA18(this), this.dfa20 = new o.DFA20(this), this.dfa24 = new o.DFA24(this), this.dfa25 = new o.DFA25(this), this.dfa29 = new o.DFA29(this), this.dfa30 = new o.DFA30(this), this.dfa31 = new o.DFA31(this), this.dfa34 = new o.DFA34(this), this.dfa39 = new o.DFA39(this), this.adaptor = new org.antlr.runtime.tree.CommonTreeAdaptor(); + }; + org.antlr.lang.augmentObject(o, { EOF: -1, BOOL_TRUE: 4, BOOL_FALSE: 5, NOT_SET: 6, TERNARY_IF: 7, TERNARY_THEN: 8, OP_LOG_OR: 9, OP_LOG_AND: 10, OP_BIT_INCL_OR: 11, OP_BIT_AND: 12, OP_EQU: 13, OP_NEQ: 14, OP_GTE: 15, OP_LTE: 16, OP_GT: 17, OP_LT: 18, OP_PLUS: 19, OP_MINUS: 20, OP_MULT: 21, OP_DIV: 22, OP_MOD: 23, OP_POW: 24, WS: 25, OP_NOT: 26, OP_BIT_NOT: 27, PAREN_LEFT: 28, PAREN_RIGHT: 29, IDENTIFIER: 30, PERIOD: 31, UNQUOTED_STRING_LITERAL: 32, BRACKET_LEFT: 33, BRACKET_RIGHT: 34, FIELD_ACCESS_IDENTIFIER: 35, FIELD_ACCESS_STRING_LITERAL: 36, FIELD_ACCESS_UNQUOTED_STRING_LITERAL: 37, COMMA: 38, STRING_LITERAL: 39, BAD_ESCAPE_STRING_LITERAL: 40, INTEGER: 41, DECIMAL: 42, NON_SUPPORTED: 43, UNDERSCORE: 44, QUOTE: 45, BACKSLASH: 46, DOLLAR_SIGN: 47, DIGIT: 48, ECSCAPE_CHARS: 49, ESCAPE_SEQUENCE: 50, STRING_LITERAL_CONTENTS: 51, LETTER: 52 }), t2 = -1, i2 = 25, n2 = 32, org.antlr.lang.extend(o, org.antlr.runtime.Parser, { setTreeAdaptor: function(e3) { + this.adaptor = e3; + }, getTreeAdaptor: function() { + return this.adaptor; + }, getTokenNames: function() { + return o.tokenNames; + }, getGrammarFileName: function() { + return "/Users/bliang/genesys_src/architect/src/core/expressions/metadata/grammar/Architect.g"; + } }), org.antlr.lang.augmentObject(o.prototype, { designerexpression_return: (o.designerexpression_return = function() { + }, void org.antlr.lang.extend(o.designerexpression_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), designerexpression: function() { + var e3 = new o.designerexpression_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_expr_in_designerexpression129), i3 = this.expr(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - expand(e3) { - return this.expandOrCollapse(false, e3); + return e3; + }, expr_return: (o.expr_return = function() { + }, void org.antlr.lang.extend(o.expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), expr: function() { + var e3 = new o.expr_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_ternary_if_then_in_expr146), i3 = this.ternary_if_then(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - expandOrCollapse(e3, t3) { - let i3 = false; - if (this.collapsed !== e3 && (this.collapsed = e3, i3 = true), t3) { - const t4 = this.parent; - t4 && s.default.isFunction(t4.expandOrCollapse) && t4.expandOrCollapse(e3, true) && (i3 = true); + return e3; + }, ternary_if_then_return: (o.ternary_if_then_return = function() { + }, void org.antlr.lang.extend(o.ternary_if_then_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), ternary_if_then: function() { + var e3 = new o.ternary_if_then_return(); + e3.start = this.input.LT(1); + var i3 = null, n3 = null, r = null, a = null, s = null, l = null, u = null, c = null, d = null; + try { + i3 = this.adaptor.nil(), this.pushFollow(o.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, o.FOLLOW_TERNARY_IF_in_ternary_if_then175), c = this.adaptor.create(n3), i3 = this.adaptor.becomeRoot(c, i3), this.pushFollow(o.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 { + if (h != t2) throw new org.antlr.runtime.NoViableAltException("", 1, 0, this.input); + _ = 2; + } + switch (_) { + case 1: + r = this.match(this.input, 8, o.FOLLOW_TERNARY_THEN_in_ternary_if_then183), d = this.adaptor.create(r), this.adaptor.addChild(i3, d); + break; + case 2: + this.pushFollow(o.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()); + } + this.pushFollow(o.FOLLOW_log_op_and_in_ternary_if_then191), u = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(i3, u.getTree()); } - return i3; - } - getMainPathActions() { - const e3 = []; - let t3 = this.topAction; - for (; t3; ) e3.push(t3), t3 = t3.nextAction; - return e3; - } - get id() { - return this.model.id; - } - initialize() { - if (!this.topAction) return; - const e3 = this.isTaskLike ? this.getChild.bind(this) : this.topParent.getChild.bind(this.topParent); - let t3 = null, i3 = this.topAction; - for (; i3; ) i3.claim(this), i3.previousAction = t3, i3.nextAction = e3(i3.model.nextAction), this.isTaskLike || this.actions.push(i3), i3.initialize(), this._processActionTermination(i3), t3 = i3, i3 = i3.nextAction; - } - get isActionContainerViewModel() { - return true; - } - get isTopLevelNode() { - return true; - } - get lastAction() { - let e3 = this.topAction; - for (; e3 && e3.nextAction; ) e3 = e3.nextAction; - return e3; - } - moveAction(e3, t3) { - e3.parent._removeAction(e3), e3.resetTermination(), this._insertAction(e3, t3), p.emitter.emit(p.actionsChanged); - } - resetTermination() { - 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 ? v.task.endFlow : void 0; - } - get topAction() { - return o.__classPrivateFieldGet(this, r2, "f"); - } - set topAction(e3) { - o.__classPrivateFieldSet(this, r2, e3, "f"), this._topActionId = o.__classPrivateFieldGet(this, r2, "f") ? o.__classPrivateFieldGet(this, r2, "f").id : void 0; - } - traverse(e3) { - if (!e3 || e3.isCanceled) return; - const t3 = e3.getActionCallback(); - if (!t3) return; - const i3 = e3.createCallbackParam(false); - for (let n3 = this.actions.length - 1; n3 >= 0; n3--) if (t3(this.actions[n3], i3), !e3.processCallbackParamAndContinue(i3)) return; - } - updateTermination(e3) { - let t3 = this.topAction; - const i3 = this.isTerminating, n3 = this.terminatesLoop, r3 = this.hasBranchTerminatingWithEndTask; - this.resetTermination(); - const o2 = []; - for (; t3; ) this._processActionTermination(t3), o2.push(t3), t3 = t3.nextAction; - 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(), m.fireEvent(this, p.terminatingStateChanged)); - } - _postDestroy() { - super._postDestroy(), this.amObjectEventSink && m.unregisterEventSink(this), this.amObjectEventEmitter && m.removeEventEmitter(this); - } - get _topActionId() { - return this.model.startAction; - } - set _topActionId(e3) { - this.model.startAction = e3; + 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); } - _insertAction(e3, t3) { - if (e3.claim(this), this._pushAction(e3), t3) e3.nextAction = t3.nextAction, t3.nextAction = e3, e3.previousAction = t3, e3.nextAction && (e3.nextAction.previousAction = e3); - else { - const t4 = this.topAction; - e3.nextAction = t4, e3.previousAction = null, t4 && (t4.previousAction = e3), this.topAction = e3; + return e3; + }, log_op_or_return: (o.log_op_or_return = function() { + }, void org.antlr.lang.extend(o.log_op_or_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), log_op_or: function() { + var e3 = new o.log_op_or_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_log_op_and_in_log_op_or212), n3 = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + e: for (; ; ) { + var s = 2; + if (9 == this.input.LA(1) && (s = 1), 1 !== s) break e; + i3 = this.match(this.input, 9, o.FOLLOW_OP_LOG_OR_in_log_op_or216), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(o.FOLLOW_log_op_and_in_log_op_or221), r = this.log_op_and(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); } - e3.initialize(), this.updateTermination(), this.childAdded(e3); - } - _processActionTermination(e3) { - let t3, i3; - (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) { - 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; - if (e3.isOrphan) return; - const t3 = e3.previousAction, i3 = e3.nextAction; - t3 ? (t3.nextAction = i3, i3 && (i3.previousAction = t3)) : i3 ? (this.topAction = i3, i3.previousAction = null) : this.topAction = null, this.updateTermination(), this.childRemoved(e3); - } - _spliceAction(e3) { - const t3 = this.actions.indexOf(e3); - return t3 >= 0 && (this.actions.splice(t3, 1), true); - } - } - 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), 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: _.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); - } - static get branchInfo() { - return a.default.successNoInputFailure; - } - } - 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() { - Object.defineProperties(this, { _target: { writable: true } }), a.baseConstructor.apply(this, arguments); - } - n2.extend(a, r2, true), Object.defineProperties(a.prototype, { pasteResolveOldToNewValues: { value: function(e3) { - a._super.pasteResolveOldToNewValues.apply(this, arguments), this.target.pasteResolveOldToNewValues(e3); - } }, pasteReIdOrRename: { value: function(e3) { - a._super.pasteReIdOrRename.apply(this, arguments), this.target.pasteReIdOrRename(e3); - } }, target: { enumerable: true, get: function() { - return this._target; - }, set: function(e3) { - this._target = this.reviveItem(e3, o); - } } }), e2.exports = a; - }, 97549: (e2, t2, i2) => { - var n2 = { "./cs-cz/countries.js": [52961, 2961], "./de-de/countries.js": [99708, 9708], "./en-us/countries.js": [79411], "./es-us/countries.js": [15302, 5302], "./fr-ca/countries.js": [83242, 3242], "./it-it/countries.js": [40652, 652], "./ja-jp/countries.js": [19675, 9675], "./ko-kr/countries.js": [64893, 4893], "./nb-no/countries.js": [66497, 6497], "./nl-nl/countries.js": [46074, 6074], "./pl-pl/countries.js": [63926, 3926], "./pt-br/countries.js": [50550, 550], "./ru-ru/countries.js": [95832, 5832], "./sv-se/countries.js": [10341, 341], "./tr-tr/countries.js": [62806, 2806], "./zh-cn/countries.js": [1657, 1657], "./zh-tw/countries.js": [43057, 3057] }; - function r2(e3) { - if (!i2.o(n2, e3)) return Promise.resolve().then(() => { - var t4 = new Error("Cannot find module '" + e3 + "'"); - throw t4.code = "MODULE_NOT_FOUND", t4; - }); - var t3 = n2[e3], r3 = t3[0]; - return Promise.all(t3.slice(1).map(i2.e)).then(() => i2(r3)); - } - r2.keys = () => Object.keys(n2), r2.id = 97549, e2.exports = r2; - }, 97591: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.systemUser = t2.starDivision = t2.defaultVoicemailFlowId = t2.defaultInQueueFlowId = void 0, t2.defaultInQueueFlowId = "037f2416-0bfc-4172-afe1-18a8989cae7e", t2.defaultVoicemailFlowId = "de4c63f0-0be1-11ec-9a03-0242ac130003", t2.starDivision = "*", t2.systemUser = "__system__"; - }, 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)), c = i2(47957), d = i2(27862); - class p extends s.default { - get requiredAuth() { - return l.externalAuthorizations.authStrings.responseAssetView; - } - get dependencyType() { - 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 = 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); - } - } - 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)), 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: _.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); + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - static get branchInfo() { - return s.default.successFailure; + return e3; + }, log_op_and_return: (o.log_op_and_return = function() { + }, void org.antlr.lang.extend(o.log_op_and_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), log_op_and: function() { + var e3 = new o.log_op_and_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_bitwise_or_in_log_op_and241), n3 = this.bitwise_or(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + e: for (; ; ) { + var s = 2; + if (10 == this.input.LA(1) && (s = 1), 1 !== s) break e; + i3 = this.match(this.input, 10, o.FOLLOW_OP_LOG_AND_in_log_op_and246), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(o.FOLLOW_bitwise_or_in_log_op_and251), r = this.bitwise_or(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - } - 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"; - var t3 = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"), i3 = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), n2 = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i], r2 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; - e3.defineLocale("es", { months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), monthsShort: function(e4, n3) { - return e4 ? /-MMM-/.test(n3) ? i3[e4.month()] : t3[e4.month()] : t3; - }, monthsRegex: r2, monthsShortRegex: r2, monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, monthsParse: n2, longMonthsParse: n2, shortMonthsParse: n2, weekdays: "domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"), weekdaysShort: "dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_s\xE1".split("_"), weekdaysParseExact: true, longDateFormat: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, calendar: { sameDay: function() { - return "[hoy a la" + (1 !== this.hours() ? "s" : "") + "] LT"; - }, nextDay: function() { - return "[ma\xF1ana a la" + (1 !== this.hours() ? "s" : "") + "] LT"; - }, nextWeek: function() { - return "dddd [a la" + (1 !== this.hours() ? "s" : "") + "] LT"; - }, lastDay: function() { - return "[ayer a la" + (1 !== this.hours() ? "s" : "") + "] LT"; - }, lastWeek: function() { - return "[el] dddd [pasado a la" + (1 !== this.hours() ? "s" : "") + "] LT"; - }, sameElse: "L" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", ss: "%d segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un d\xEDa", dd: "%d d\xEDas", w: "una semana", ww: "%d semanas", M: "un mes", MM: "%d meses", y: "un a\xF1o", yy: "%d a\xF1os" }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: "%d\xBA", week: { dow: 1, doy: 4 }, invalidDate: "Fecha inv\xE1lida" }); - })(i2(95093)); - }, 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), 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); + return e3; + }, bitwise_or_return: (o.bitwise_or_return = function() { + }, void org.antlr.lang.extend(o.bitwise_or_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), bitwise_or: function() { + var e3 = new o.bitwise_or_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_bitwise_and_in_bitwise_or271), n3 = this.bitwise_and(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + e: for (; ; ) { + var s = 2; + if (11 == this.input.LA(1) && (s = 1), 1 !== s) break e; + i3 = this.match(this.input, 11, o.FOLLOW_OP_BIT_INCL_OR_in_bitwise_or276), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(o.FOLLOW_bitwise_and_in_bitwise_or281), r = this.bitwise_and(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get className() { - return "EmailSendErrorHandlingViewModel"; + return e3; + }, bitwise_and_return: (o.bitwise_and_return = function() { + }, void org.antlr.lang.extend(o.bitwise_and_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), bitwise_and: function() { + var e3 = new o.bitwise_and_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_equ_op_in_bitwise_and301), n3 = this.equ_op(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + e: for (; ; ) { + var s = 2; + if (12 == this.input.LA(1) && (s = 1), 1 !== s) break e; + i3 = this.match(this.input, 12, o.FOLLOW_OP_BIT_AND_in_bitwise_and307), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(o.FOLLOW_equ_op_in_bitwise_and312), r = this.equ_op(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get helpTopic() { - return p.helpTopics.treeNodes.eventHandling; + return e3; + }, equ_op_return: (o.equ_op_return = function() { + }, void org.antlr.lang.extend(o.equ_op_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), equ_op: function() { + var e3 = new o.equ_op_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null, s = null, l = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_comp_op_in_equ_op331), r = this.comp_op(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + e: for (; ; ) { + 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); + d = 2; + } + switch (d) { + case 1: + i3 = this.match(this.input, 13, o.FOLLOW_OP_EQU_in_equ_op337), s = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(s, t3); + break; + case 2: + n3 = this.match(this.input, 14, o.FOLLOW_OP_NEQ_in_equ_op342), l = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(l, t3); + } + this.pushFollow(o.FOLLOW_comp_op_in_equ_op347), a = this.comp_op(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get handlingTypes() { - return c.getHandlingTypesForFlowType(this.parentFlow.type); + return e3; + }, comp_op_return: (o.comp_op_return = function() { + }, void org.antlr.lang.extend(o.comp_op_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), comp_op: function() { + var e3 = new o.comp_op_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null, s = null, l = null, u = null, c = null, d = null, p = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_add_sub_expr_in_comp_op366), s = this.add_sub_expr(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); + e: for (; ; ) { + var _ = 2, h = this.input.LA(1); + if (h >= 15 && h <= 18 && (_ = 1), 1 !== _) break e; + var m = 4; + switch (this.input.LA(1)) { + case 15: + m = 1; + break; + case 16: + m = 2; + break; + case 17: + m = 3; + break; + case 18: + m = 4; + break; + default: + throw new org.antlr.runtime.NoViableAltException("", 9, 0, this.input); + } + switch (m) { + case 1: + i3 = this.match(this.input, 15, o.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, o.FOLLOW_OP_LTE_in_comp_op376), c = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(c, t3); + break; + case 3: + r = this.match(this.input, 17, o.FOLLOW_OP_GT_in_comp_op381), d = this.adaptor.create(r), t3 = this.adaptor.becomeRoot(d, t3); + break; + case 4: + a = this.match(this.input, 18, o.FOLLOW_OP_LT_in_comp_op386), p = this.adaptor.create(a), t3 = this.adaptor.becomeRoot(p, t3); + } + this.pushFollow(o.FOLLOW_add_sub_expr_in_comp_op391), l = this.add_sub_expr(), this.state._fsp--, this.adaptor.addChild(t3, l.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get isEmailErrorHandlingNode() { - return true; + return e3; + }, add_sub_expr_return: (o.add_sub_expr_return = function() { + }, void org.antlr.lang.extend(o.add_sub_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), add_sub_expr: function() { + var e3 = new o.add_sub_expr_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null, s = null, l = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_mul_div_mod_expr_in_add_sub_expr414), r = this.mul_div_mod_expr(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + e: for (; ; ) { + 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); + d = 2; + } + switch (d) { + case 1: + i3 = this.match(this.input, 19, o.FOLLOW_OP_PLUS_in_add_sub_expr419), s = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(s, t3); + break; + case 2: + n3 = this.match(this.input, 20, o.FOLLOW_OP_MINUS_in_add_sub_expr425), l = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(l, t3); + } + this.pushFollow(o.FOLLOW_mul_div_mod_expr_in_add_sub_expr430), a = this.mul_div_mod_expr(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get handlingType() { - return super.handlingType; + return e3; + }, mul_div_mod_expr_return: (o.mul_div_mod_expr_return = function() { + }, void org.antlr.lang.extend(o.mul_div_mod_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), mul_div_mod_expr: function() { + var e3 = new o.mul_div_mod_expr_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null, s = null, l = null, u = null, c = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_pow_expr_in_mul_div_mod_expr453), a = this.pow_expr(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); + e: for (; ; ) { + 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: + _ = 1; + break; + case 22: + _ = 2; + break; + case 23: + _ = 3; + break; + default: + throw new org.antlr.runtime.NoViableAltException("", 13, 0, this.input); + } + switch (_) { + case 1: + i3 = this.match(this.input, 21, o.FOLLOW_OP_MULT_in_mul_div_mod_expr458), l = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(l, t3); + break; + case 2: + n3 = this.match(this.input, 22, o.FOLLOW_OP_DIV_in_mul_div_mod_expr463), u = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(u, t3); + break; + case 3: + r = this.match(this.input, 23, o.FOLLOW_OP_MOD_in_mul_div_mod_expr468), c = this.adaptor.create(r), t3 = this.adaptor.becomeRoot(c, t3); + } + this.pushFollow(o.FOLLOW_pow_expr_in_mul_div_mod_expr472), s = this.pow_expr(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - set handlingType(e3) { - super.handlingType = e3, this._updateOutOfService(); + return e3; + }, pow_expr_return: (o.pow_expr_return = function() { + }, void org.antlr.lang.extend(o.pow_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), pow_expr: function() { + var e3 = new o.pow_expr_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_not_bitnot_expr_in_pow_expr495), n3 = this.not_bitnot_expr(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + var s = 2; + 24 == this.input.LA(1) && (s = 1), 1 === s && (i3 = this.match(this.input, 24, o.FOLLOW_OP_POW_in_pow_expr499), a = this.adaptor.create(i3), t3 = this.adaptor.becomeRoot(a, t3), this.pushFollow(o.FOLLOW_pow_expr_in_pow_expr502), r = this.pow_expr(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree())), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - initializeDesignTime() { - super.initializeDesignTime(), this._updateOutOfService(); + return e3; + }, not_bitnot_expr_return: (o.not_bitnot_expr_return = function() { + }, void org.antlr.lang.extend(o.not_bitnot_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), not_bitnot_expr: function() { + var e3 = new o.not_bitnot_expr_return(); + e3.start = this.input.LT(1); + var t3 = null, n3 = null, r = null, a = null, s = null, l = null, u = null; + try { + switch (this.dfa18.predict(this.input)) { + case 1: + t3 = this.adaptor.nil(); + e: for (; ; ) { + var c = 2; + if (this.input.LA(1) == i2 && (c = 1), 1 !== c) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_not_bitnot_expr529); + } + 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); + d = 2; + } + switch (d) { + case 1: + n3 = this.match(this.input, 26, o.FOLLOW_OP_NOT_in_not_bitnot_expr535), l = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(l, t3); + break; + case 2: + r = this.match(this.input, 27, o.FOLLOW_OP_BIT_NOT_in_not_bitnot_expr540), u = this.adaptor.create(r), t3 = this.adaptor.becomeRoot(u, t3); + } + this.pushFollow(o.FOLLOW_not_bitnot_expr_in_not_bitnot_expr544), a = this.not_bitnot_expr(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); + break; + case 2: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_neg_expr_in_not_bitnot_expr558), s = this.neg_expr(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - 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(d.abortSend.message.maxLength).setTruncatesToMaxLength(true)), property: "abortMessage", supportedFlowTypes: [r2.flowTypes.flowTypeEmailSend], type: a.expressionTypeNames.string }]; + return e3; + }, neg_expr_return: (o.neg_expr_return = function() { + }, void org.antlr.lang.extend(o.neg_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), neg_expr: function() { + var e3 = new o.neg_expr_return(); + e3.start = this.input.LT(1); + var t3 = null, n3 = null, r = null, a = null, s = null; + try { + switch (this.dfa20.predict(this.input)) { + case 1: + t3 = this.adaptor.nil(); + e: for (; ; ) { + var l = 2; + if (this.input.LA(1) == i2 && (l = 1), 1 !== l) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_neg_expr580); + } + n3 = this.match(this.input, 20, o.FOLLOW_OP_MINUS_in_neg_expr586), s = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(s, t3), this.pushFollow(o.FOLLOW_ws_primary_in_neg_expr590), r = this.ws_primary(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + break; + case 2: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_ws_primary_in_neg_expr604), a = this.ws_primary(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - validate(e3) { - var t3, i3, n3, r3; - super.validate(e3), this.handlingType && !(null === (t3 = this.parentFlow.definition) || void 0 === t3 ? void 0 : t3.errorHandlingTypesMap[this.handlingType.value]) && e3.addError(this, (0, o.sprintf)(h.customNodes.errorHandling.errorHandlingTypeNotAvailableForFlowType, null === (i3 = this.handlingType) || void 0 === i3 ? void 0 : i3.label, null === (r3 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.definition) || void 0 === r3 ? void 0 : r3.typeDisplayName)); + return e3; + }, ws_primary_return: (o.ws_primary_return = function() { + }, void org.antlr.lang.extend(o.ws_primary_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), ws_primary: function() { + var e3 = new o.ws_primary_return(); + e3.start = this.input.LT(1); + var t3 = null, n3 = null; + try { + t3 = this.adaptor.nil(); + e: for (; ; ) { + var r = 2; + if (this.input.LA(1) == i2 && (r = 1), 1 !== r) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_ws_primary622); + } + this.pushFollow(o.FOLLOW_primary_in_ws_primary627), n3 = this.primary(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + e: for (; ; ) { + var a = 2; + if (this.input.LA(1) == i2 && (a = 1), 1 !== a) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_ws_primary630); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - _updateOutOfService() { - this.abortMessage.outOfService = this.handlingType !== l.default.AbortSend; + return e3; + }, primary_return: (o.primary_return = function() { + }, void org.antlr.lang.extend(o.primary_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), primary: function() { + var e3 = new o.primary_return(); + e3.start = this.input.LT(1); + var i3 = null, n3 = null, r = 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: + i3 = this.adaptor.nil(), n3 = this.match(this.input, 28, o.FOLLOW_PAREN_LEFT_in_primary646), _ = this.adaptor.create(n3), this.adaptor.addChild(i3, _), this.pushFollow(o.FOLLOW_expr_in_primary648), a = this.expr(), this.state._fsp--, this.adaptor.addChild(i3, a.getTree()); + var m = 2, g = this.input.LA(1); + if (29 == g) m = 1; + else { + if (g != t2) throw new org.antlr.runtime.NoViableAltException("", 23, 0, this.input); + m = 2; + } + switch (m) { + case 1: + r = this.match(this.input, 29, o.FOLLOW_PAREN_RIGHT_in_primary652), h = this.adaptor.create(r), this.adaptor.addChild(i3, h); + break; + case 2: + this.pushFollow(o.FOLLOW_not_done_yet_are_ya_in_primary656), s = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, s.getTree()); + } + break; + case 2: + i3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_literal_in_primary666), l = this.literal(), this.state._fsp--, this.adaptor.addChild(i3, l.getTree()); + break; + case 3: + i3 = this.adaptor.nil(), this.pushFollow(o.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(o.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(o.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(o.FOLLOW_error_in_primary698), p = this.error(), this.state._fsp--, this.adaptor.addChild(i3, p.getTree()); + } + 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); } - } - t2.default = m; - }, 97678: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.FindQueueActionModel = void 0; - const n2 = i2(49574), r2 = i2(30801); - class o extends n2.BaseFindSystemObjectByNameActionModel { - constructor(e3) { - super(e3), this.__type = o.__type; + return e3; + }, variable_base_return: (o.variable_base_return = function() { + }, void org.antlr.lang.extend(o.variable_base_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), variable_base: function() { + var e3 = new o.variable_base_return(); + e3.start = this.input.LT(1); + var i3 = null, r = null, a = null, s = null, l = null, u = null, c = null, d = null, p = null, _ = null; + try { + for (i3 = this.adaptor.nil(), r = this.match(this.input, 30, o.FOLLOW_IDENTIFIER_in_variable_base724), d = this.adaptor.create(r), this.adaptor.addChild(i3, d); 1 === this.dfa25.predict(this.input); ) this.pushFollow(o.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, o.FOLLOW_PERIOD_in_variable_base735), p = this.adaptor.create(a), i3 = this.adaptor.becomeRoot(p, i3); + var m = 2, g = this.input.LA(1); + if (g == n2) m = 1; + else { + if (g != t2) throw new org.antlr.runtime.NoViableAltException("", 26, 0, this.input); + m = 2; + } + switch (m) { + case 1: + s = this.match(this.input, n2, o.FOLLOW_UNQUOTED_STRING_LITERAL_in_variable_base740), _ = this.adaptor.create(s), this.adaptor.addChild(i3, _); + break; + case 2: + this.pushFollow(o.FOLLOW_not_done_yet_are_ya_in_variable_base744), u = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, u.getTree()); + } + } + var f = 2; + 33 == this.input.LA(1) && (f = 1), 1 === f && (this.pushFollow(o.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); } - } - t2.FindQueueActionModel = o, o.__type = r2.findQueueActionType, o.registerType(); - }, 97720: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(8471)); - class r2 extends n2.default { - get version() { - return "0.68.3"; + return e3; + }, name_return: (o.name_return = function() { + }, void org.antlr.lang.extend(o.name_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), name: function() { + var e3 = new o.name_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, 30, o.FOLLOW_IDENTIFIER_in_name772), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get isArchScriptingInfo() { - return true; + return e3; + }, variable_collection_access_return: (o.variable_collection_access_return = function() { + }, void org.antlr.lang.extend(o.variable_collection_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), variable_collection_access: function() { + var e3 = new o.variable_collection_access_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_collection_access_in_variable_collection_access796), i3 = this.collection_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(i3.getTree(), t3), 1 === this.dfa29.predict(this.input) && (this.pushFollow(o.FOLLOW_datatype_access_in_variable_collection_access800), n3 = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(n3.getTree(), t3)), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get displayTypeName() { - return "ArchScriptingInfo"; + return e3; + }, datatype_access_return: (o.datatype_access_return = function() { + }, void org.antlr.lang.extend(o.datatype_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), datatype_access: function() { + var e3 = new o.datatype_access_return(); + e3.start = this.input.LT(1); + var t3 = null, n3 = null, r = null, a = null, s = null, l = null, u = null; + try { + var c = 3; + switch (this.input.LA(1)) { + case i2: + case 35: + case 36: + case 37: + c = 1; + break; + case 33: + c = 2; + break; + case 31: + c = 3; + break; + default: + throw new org.antlr.runtime.NoViableAltException("", 32, 0, this.input); + } + switch (c) { + case 1: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_datatype_property_access_in_datatype_access823), r = this.datatype_property_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(r.getTree(), t3), 1 === this.dfa30.predict(this.input) && (this.pushFollow(o.FOLLOW_datatype_access_in_datatype_access827), a = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(a.getTree(), t3)); + break; + case 2: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_collection_access_in_datatype_access838), s = this.collection_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(s.getTree(), t3), 1 === this.dfa31.predict(this.input) && (this.pushFollow(o.FOLLOW_datatype_access_in_datatype_access842), l = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(l.getTree(), t3)); + break; + case 3: + t3 = this.adaptor.nil(), n3 = this.match(this.input, 31, o.FOLLOW_PERIOD_in_datatype_access855), u = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(u, t3); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get logStr() { - const e3 = []; - return this.version && super._appendLogStrVersion(e3, this.version), super._appendLogStrType(e3, r2.displayTypeName), super._createLogStrFromParts(e3); + return e3; + }, func_call_return: (o.func_call_return = function() { + }, void org.antlr.lang.extend(o.func_call_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), func_call: function() { + var e3 = new o.func_call_return(); + e3.start = this.input.LT(1); + var t3 = null, n3 = null, r = null, a = null, s = null; + try { + t3 = this.adaptor.nil(), n3 = this.match(this.input, 30, o.FOLLOW_IDENTIFIER_in_func_call879), s = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(s, t3); + e: for (; ; ) { + var l = 2; + if (this.input.LA(1) == i2 && (l = 1), 1 !== l) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_func_call883); + } + this.pushFollow(o.FOLLOW_func_parens_in_func_call888), r = this.func_parens(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()), 1 === this.dfa34.predict(this.input) && (this.pushFollow(o.FOLLOW_datatype_access_in_func_call891), a = this.datatype_access(), this.state._fsp--, t3 = this.adaptor.becomeRoot(a.getTree(), t3)), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - } - t2.default = new r2(); - }, 97773: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + return e3; + }, collection_access_return: (o.collection_access_return = function() { + }, void org.antlr.lang.extend(o.collection_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), collection_access: function() { + var e3 = new o.collection_access_return(); + e3.start = this.input.LT(1); + var i3 = null, n3 = null, r = null, a = null, s = null, l = null, u = null; + try { + i3 = this.adaptor.nil(), n3 = this.match(this.input, 33, o.FOLLOW_BRACKET_LEFT_in_collection_access915), l = this.adaptor.create(n3), i3 = this.adaptor.becomeRoot(l, i3), this.pushFollow(o.FOLLOW_expr_in_collection_access919), a = this.expr(), this.state._fsp--, this.adaptor.addChild(i3, a.getTree()); + var c = 2, d = this.input.LA(1); + if (34 == d) c = 1; + else { + if (d != t2) throw new org.antlr.runtime.NoViableAltException("", 35, 0, this.input); + c = 2; + } + switch (c) { + case 1: + r = this.match(this.input, 34, o.FOLLOW_BRACKET_RIGHT_in_collection_access923), u = this.adaptor.create(r), this.adaptor.addChild(i3, u); + break; + case 2: + this.pushFollow(o.FOLLOW_not_done_yet_are_ya_in_collection_access927), s = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(i3, s.getTree()); + } + 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); } - get _globalTypeName() { - return "duration"; + return e3; + }, datatype_property_access_return: (o.datatype_property_access_return = function() { + }, void org.antlr.lang.extend(o.datatype_property_access_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), datatype_property_access: function() { + var e3 = new o.datatype_property_access_return(); + e3.start = this.input.LT(1); + var t3 = null, n3 = null, r = null, a = null, s = null, l = null, u = null; + try { + switch (this.dfa39.predict(this.input)) { + case 1: + t3 = this.adaptor.nil(); + e: for (; ; ) { + var c = 2; + if (this.input.LA(1) == i2 && (c = 1), 1 !== c) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_datatype_property_access951); + } + n3 = this.match(this.input, 35, o.FOLLOW_FIELD_ACCESS_IDENTIFIER_in_datatype_property_access956), s = this.adaptor.create(n3), t3 = this.adaptor.becomeRoot(s, t3); + break; + case 2: + t3 = this.adaptor.nil(); + e: for (; ; ) { + var d = 2; + if (this.input.LA(1) == i2 && (d = 1), 1 !== d) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_datatype_property_access966); + } + r = this.match(this.input, 36, o.FOLLOW_FIELD_ACCESS_STRING_LITERAL_in_datatype_property_access971), l = this.adaptor.create(r), t3 = this.adaptor.becomeRoot(l, t3); + break; + case 3: + t3 = this.adaptor.nil(); + e: for (; ; ) { + var p = 2; + if (this.input.LA(1) == i2 && (p = 1), 1 !== p) break e; + this.match(this.input, i2, o.FOLLOW_WS_in_datatype_property_access981); + } + a = this.match(this.input, 37, o.FOLLOW_FIELD_ACCESS_UNQUOTED_STRING_LITERAL_in_datatype_property_access986), u = this.adaptor.create(a), t3 = this.adaptor.becomeRoot(u, t3); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get displayTypeName() { - return "ArchVariableDuration"; + return e3; + }, func_parens_return: (o.func_parens_return = function() { + }, void org.antlr.lang.extend(o.func_parens_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), func_parens: function() { + var e3 = new o.func_parens_return(); + e3.start = this.input.LT(1); + var r = null, a = null, s = null, l = null, u = null, c = null, d = null; + try { + r = this.adaptor.nil(), a = this.match(this.input, 28, o.FOLLOW_PAREN_LEFT_in_func_parens1012), c = this.adaptor.create(a), this.adaptor.addChild(r, 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(o.FOLLOW_funcarglist_in_func_parens1014), l = this.funcarglist(), this.state._fsp--, this.adaptor.addChild(r, l.getTree())); + var h = 2, m = this.input.LA(1); + if (29 == m) h = 1; + else { + if (m != t2) throw new org.antlr.runtime.NoViableAltException("", 41, 0, this.input); + h = 2; + } + switch (h) { + case 1: + s = this.match(this.input, 29, o.FOLLOW_PAREN_RIGHT_in_func_parens1019), d = this.adaptor.create(s), this.adaptor.addChild(r, d); + break; + case 2: + this.pushFollow(o.FOLLOW_not_done_yet_are_ya_in_func_parens1023), u = this.not_done_yet_are_ya(), this.state._fsp--, this.adaptor.addChild(r, u.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(r), 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); } - get initialValue() { - return this._initialValue; + return e3; + }, funcarglist_return: (o.funcarglist_return = function() { + }, void org.antlr.lang.extend(o.funcarglist_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), funcarglist: function() { + var e3 = new o.funcarglist_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null, r = null, a = null; + try { + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_expr_in_funcarglist1045), n3 = this.expr(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + e: for (; ; ) { + var s = 2; + if (38 == this.input.LA(1) && (s = 1), 1 !== s) break e; + i3 = this.match(this.input, 38, o.FOLLOW_COMMA_in_funcarglist1049), a = this.adaptor.create(i3), this.adaptor.addChild(t3, a), this.pushFollow(o.FOLLOW_expr_in_funcarglist1053), r = this.expr(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get isArchVariableDuration() { - return true; + return e3; + }, literal_return: (o.literal_return = function() { + }, void org.antlr.lang.extend(o.literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), literal: function() { + var e3 = new o.literal_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, r = null, a = null, s = null; + try { + var l = 4; + switch (this.input.LA(1)) { + case 4: + case 5: + l = 1; + break; + case 41: + case 42: + l = 2; + break; + case n2: + case 39: + case 40: + l = 3; + break; + case 6: + l = 4; + break; + default: + throw new org.antlr.runtime.NoViableAltException("", 43, 0, this.input); + } + switch (l) { + case 1: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_boolean_literal_in_literal1076), i3 = this.boolean_literal(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()); + break; + case 2: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_number_literal_in_literal1084), r = this.number_literal(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + break; + case 3: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_string_literal_core_in_literal1092), a = this.string_literal_core(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); + break; + case 4: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_null_literal_in_literal1102), s = this.null_literal(), this.state._fsp--, this.adaptor.addChild(t3, s.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - } - t2.default = r2; - }, 97783: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.skipUntil = void 0; - var n2 = i2(65212), r2 = i2(17214), o = i2(19724), a = i2(5717); - t2.skipUntil = function(e3) { - return n2.operate(function(t3, i3) { - var n3 = false, s = r2.createOperatorSubscriber(i3, function() { - null == s || s.unsubscribe(), n3 = true; - }, a.noop); - o.innerFrom(e3).subscribe(s), t3.subscribe(r2.createOperatorSubscriber(i3, function(e4) { - return n3 && i3.next(e4); - })); - }); - }; - }, 97834: (e2, t2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.RequestError = void 0; - class i2 extends Error { - constructor(e3, t3, i3, n2, r2) { - var o, a; - super(), this._response = e3, this._status = t3, this._statusText = i3, this._handled = n2, this._headers = r2, this.isRequestError = true, this.isAborted = false, this.name = this.statusText || "Request Error", this.status && (this.name += ` (${this._status})`), (null === (o = this._response) || void 0 === o ? void 0 : o.code) && (this._code = this._response.code), (null === (a = this._response) || void 0 === a ? void 0 : a.message) && (this.message = this._response.message, this.code && (this.message += ` (${this.code})`)); + return e3; + }, null_literal_return: (o.null_literal_return = function() { + }, void org.antlr.lang.extend(o.null_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), null_literal: function() { + var e3 = new o.null_literal_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, 6, o.FOLLOW_NOT_SET_in_null_literal1123), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get response() { - return this._response; + return e3; + }, boolean_literal_return: (o.boolean_literal_return = function() { + }, void org.antlr.lang.extend(o.boolean_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), boolean_literal: function() { + var e3 = new o.boolean_literal_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null; + try { + if (t3 = this.adaptor.nil(), i3 = this.input.LT(1), !(this.input.LA(1) >= 4 && this.input.LA(1) <= 5)) throw new org.antlr.runtime.MismatchedSetException(null, this.input); + this.input.consume(), this.adaptor.addChild(t3, this.adaptor.create(i3)), this.state.errorRecovery = false, e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - set response(e3) { - this._response = e3; + return e3; + }, string_literal_core_return: (o.string_literal_core_return = function() { + }, void org.antlr.lang.extend(o.string_literal_core_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), string_literal_core: function() { + var e3 = new o.string_literal_core_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, r = null, a = null; + try { + var s = 3; + switch (this.input.LA(1)) { + case 39: + s = 1; + break; + case n2: + s = 2; + break; + case 40: + s = 3; + break; + default: + throw new org.antlr.runtime.NoViableAltException("", 44, 0, this.input); + } + switch (s) { + case 1: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_string_literal_in_string_literal_core1167), i3 = this.string_literal(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()); + break; + case 2: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_unquoted_string_literal_in_string_literal_core1176), r = this.unquoted_string_literal(), this.state._fsp--, this.adaptor.addChild(t3, r.getTree()); + break; + case 3: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_bad_escape_string_literal_in_string_literal_core1186), a = this.bad_escape_string_literal(), this.state._fsp--, this.adaptor.addChild(t3, a.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get status() { - return this._status; + return e3; + }, unquoted_string_literal_return: (o.unquoted_string_literal_return = function() { + }, void org.antlr.lang.extend(o.unquoted_string_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), unquoted_string_literal: function() { + var e3 = new o.unquoted_string_literal_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, r = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, n2, o.FOLLOW_UNQUOTED_STRING_LITERAL_in_unquoted_string_literal1203), r = this.adaptor.create(i3), this.adaptor.addChild(t3, r), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - set status(e3) { - this._status = e3; + return e3; + }, string_literal_return: (o.string_literal_return = function() { + }, void org.antlr.lang.extend(o.string_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), string_literal: function() { + var e3 = new o.string_literal_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, 39, o.FOLLOW_STRING_LITERAL_in_string_literal1220), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get statusText() { - return this._statusText; + return e3; + }, bad_escape_string_literal_return: (o.bad_escape_string_literal_return = function() { + }, void org.antlr.lang.extend(o.bad_escape_string_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), bad_escape_string_literal: function() { + var e3 = new o.bad_escape_string_literal_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, 40, o.FOLLOW_BAD_ESCAPE_STRING_LITERAL_in_bad_escape_string_literal1239), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - set statusText(e3) { - this._statusText = e3; + return e3; + }, number_literal_return: (o.number_literal_return = function() { + }, void org.antlr.lang.extend(o.number_literal_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), number_literal: function() { + var e3 = new o.number_literal_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + var r = 2, a = this.input.LA(1); + if (41 == a) r = 1; + else { + if (42 != a) throw new org.antlr.runtime.NoViableAltException("", 45, 0, this.input); + r = 2; + } + switch (r) { + case 1: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_integer_expr_in_number_literal1256), i3 = this.integer_expr(), this.state._fsp--, this.adaptor.addChild(t3, i3.getTree()); + break; + case 2: + t3 = this.adaptor.nil(), this.pushFollow(o.FOLLOW_decimal_expr_in_number_literal1264), n3 = this.decimal_expr(), this.state._fsp--, this.adaptor.addChild(t3, n3.getTree()); + } + e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get handled() { - return this._handled; + return e3; + }, integer_expr_return: (o.integer_expr_return = function() { + }, void org.antlr.lang.extend(o.integer_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), integer_expr: function() { + var e3 = new o.integer_expr_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, 41, o.FOLLOW_INTEGER_in_integer_expr1281), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - set handled(e3) { - this._handled = e3; + return e3; + }, decimal_expr_return: (o.decimal_expr_return = function() { + }, void org.antlr.lang.extend(o.decimal_expr_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), decimal_expr: function() { + var e3 = new o.decimal_expr_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, 42, o.FOLLOW_DECIMAL_in_decimal_expr1298), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - get headers() { - return this._headers; + return e3; + }, error_return: (o.error_return = function() { + }, void org.antlr.lang.extend(o.error_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), error: function() { + var e3 = new o.error_return(); + e3.start = this.input.LT(1); + var t3 = null, i3 = null, n3 = null; + try { + t3 = this.adaptor.nil(), i3 = this.match(this.input, 43, o.FOLLOW_NON_SUPPORTED_in_error1321), n3 = this.adaptor.create(i3), this.adaptor.addChild(t3, n3), e3.stop = this.input.LT(-1), e3.tree = this.adaptor.rulePostProcessing(t3), this.adaptor.setTokenBoundaries(e3.tree, e3.start, e3.stop); + } catch (t4) { + if (!(t4 instanceof org.antlr.runtime.RecognitionException)) throw t4; + this.reportError(t4), this.recover(this.input, t4), e3.tree = this.adaptor.errorNode(this.input, e3.start, this.input.LT(-1), t4); } - set headers(e3) { - this._headers = e3; + return e3; + }, not_done_yet_are_ya_return: (o.not_done_yet_are_ya_return = function() { + }, void org.antlr.lang.extend(o.not_done_yet_are_ya_return, org.antlr.runtime.ParserRuleReturnScope, { getTree: function() { + return this.tree; + } })), not_done_yet_are_ya: function() { + var e3 = new o.not_done_yet_are_ya_return(); + e3.start = this.input.LT(1); + var i3 = null, n3 = null, r = null; + try { + i3 = this.adaptor.nil(), n3 = this.match(this.input, t2, o.FOLLOW_EOF_in_not_done_yet_are_ya1348), r = this.adaptor.create(n3), this.adaptor.addChild(i3, r), 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); } - get code() { - return this._code; + return e3; + } }, true), org.antlr.lang.augmentObject(o, { DFA18_eotS: "\uFFFF", DFA18_eofS: "\uFFFF", DFA18_minS: "\uFFFF", DFA18_maxS: "+\uFFFF", DFA18_acceptS: "\uFFFF", DFA18_specialS: "\uFFFF}>", DFA18_transitionS: ["\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(o, { DFA18_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA18_eotS), DFA18_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA18_eofS), DFA18_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA18_minS), DFA18_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA18_maxS), DFA18_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA18_acceptS), DFA18_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA18_specialS), DFA18_transition: (function() { + var e3, t3 = [], i3 = o.DFA18_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA18_transitionS[e3])); + return t3; + })() }), o.DFA18 = function(e3) { + this.recognizer = e3, this.decisionNumber = 18, this.eot = o.DFA18_eot, this.eof = o.DFA18_eof, this.min = o.DFA18_min, this.max = o.DFA18_max, this.accept = o.DFA18_accept, this.special = o.DFA18_special, this.transition = o.DFA18_transition; + }, org.antlr.lang.extend(o.DFA18, org.antlr.runtime.DFA, { getDescription: function() { + return "96:1: not_bitnot_expr : ( ( WS )* ( OP_NOT | OP_BIT_NOT ) not_bitnot_expr | neg_expr );"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA20_eotS: "\uFFFF", DFA20_eofS: "\uFFFF", DFA20_minS: "\uFFFF", DFA20_maxS: "+\uFFFF", DFA20_acceptS: "\uFFFF", DFA20_specialS: "\uFFFF}>", DFA20_transitionS: ["\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "\r\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(o, { DFA20_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA20_eotS), DFA20_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA20_eofS), DFA20_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA20_minS), DFA20_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA20_maxS), DFA20_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA20_acceptS), DFA20_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA20_specialS), DFA20_transition: (function() { + var e3, t3 = [], i3 = o.DFA20_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA20_transitionS[e3])); + return t3; + })() }), o.DFA20 = function(e3) { + this.recognizer = e3, this.decisionNumber = 20, this.eot = o.DFA20_eot, this.eof = o.DFA20_eof, this.min = o.DFA20_min, this.max = o.DFA20_max, this.accept = o.DFA20_accept, this.special = o.DFA20_special, this.transition = o.DFA20_transition; + }, org.antlr.lang.extend(o.DFA20, org.antlr.runtime.DFA, { getDescription: function() { + return "104:1: neg_expr : ( ( WS )* ( OP_MINUS ) ws_primary | ws_primary );"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA24_eotS: " \uFFFF", DFA24_eofS: "\uFFFF\x07\uFFFF\x07\uFFFF", DFA24_minS: "\uFFFF\x07\uFFFF\x07\uFFFF", DFA24_maxS: "+\uFFFF&\uFFFF&\uFFFF", DFA24_acceptS: "\uFFFF\uFFFF\uFFFF", DFA24_specialS: " \uFFFF}>", DFA24_transitionS: ["\uFFFF\uFFFF\uFFFF\uFFFF", "", "", "\x07\uFFFF\b\x07\uFFFF\x07\uFFFF\x07", "", "", "\x07\uFFFF\b\x07\uFFFF\x07", "", ""] }), org.antlr.lang.augmentObject(o, { DFA24_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA24_eotS), DFA24_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA24_eofS), DFA24_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA24_minS), DFA24_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA24_maxS), DFA24_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA24_acceptS), DFA24_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA24_specialS), DFA24_transition: (function() { + var e3, t3 = [], i3 = o.DFA24_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA24_transitionS[e3])); + return t3; + })() }), o.DFA24 = function(e3) { + this.recognizer = e3, this.decisionNumber = 24, this.eot = o.DFA24_eot, this.eof = o.DFA24_eof, this.min = o.DFA24_min, this.max = o.DFA24_max, this.accept = o.DFA24_accept, this.special = o.DFA24_special, this.transition = o.DFA24_transition; + }, org.antlr.lang.extend(o.DFA24, org.antlr.runtime.DFA, { getDescription: function() { + return "113:1: primary : ( PAREN_LEFT expr ( PAREN_RIGHT | not_done_yet_are_ya ) | literal | variable_base | func_call | not_done_yet_are_ya | error );"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA25_eotS: "\uFFFF", DFA25_eofS: "\uFFFF\uFFFF", DFA25_minS: "\x07\uFFFF\x07\uFFFF", DFA25_maxS: "&\uFFFF&\uFFFF", DFA25_acceptS: "\uFFFF\uFFFF", DFA25_specialS: "\uFFFF}>", DFA25_transitionS: ["\uFFFF\uFFFF\uFFFF", "", "\uFFFF\uFFFF", ""] }), org.antlr.lang.augmentObject(o, { DFA25_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA25_eotS), DFA25_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA25_eofS), DFA25_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA25_minS), DFA25_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA25_maxS), DFA25_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA25_acceptS), DFA25_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA25_specialS), DFA25_transition: (function() { + var e3, t3 = [], i3 = o.DFA25_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA25_transitionS[e3])); + return t3; + })() }), o.DFA25 = function(e3) { + this.recognizer = e3, this.decisionNumber = 25, this.eot = o.DFA25_eot, this.eof = o.DFA25_eof, this.min = o.DFA25_min, this.max = o.DFA25_max, this.accept = o.DFA25_accept, this.special = o.DFA25_special, this.transition = o.DFA25_transition; + }, org.antlr.lang.extend(o.DFA25, org.antlr.runtime.DFA, { getDescription: function() { + return "()* loopback of 131:18: ( datatype_property_access )*"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA29_eotS: "\uFFFF", DFA29_eofS: "\uFFFF", DFA29_minS: "\x07\uFFFF", DFA29_maxS: "&\uFFFF", DFA29_acceptS: "\uFFFF", DFA29_specialS: "\uFFFF}>", DFA29_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(o, { DFA29_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA29_eotS), DFA29_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA29_eofS), DFA29_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA29_minS), DFA29_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA29_maxS), DFA29_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA29_acceptS), DFA29_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA29_specialS), DFA29_transition: (function() { + var e3, t3 = [], i3 = o.DFA29_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA29_transitionS[e3])); + return t3; + })() }), o.DFA29 = function(e3) { + this.recognizer = e3, this.decisionNumber = 29, this.eot = o.DFA29_eot, this.eof = o.DFA29_eof, this.min = o.DFA29_min, this.max = o.DFA29_max, this.accept = o.DFA29_accept, this.special = o.DFA29_special, this.transition = o.DFA29_transition; + }, org.antlr.lang.extend(o.DFA29, org.antlr.runtime.DFA, { getDescription: function() { + return "146:26: ( datatype_access )?"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA30_eotS: "\uFFFF", DFA30_eofS: "\uFFFF", DFA30_minS: "\x07\uFFFF", DFA30_maxS: "&\uFFFF", DFA30_acceptS: "\uFFFF", DFA30_specialS: "\uFFFF}>", DFA30_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(o, { DFA30_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA30_eotS), DFA30_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA30_eofS), DFA30_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA30_minS), DFA30_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA30_maxS), DFA30_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA30_acceptS), DFA30_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA30_specialS), DFA30_transition: (function() { + var e3, t3 = [], i3 = o.DFA30_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA30_transitionS[e3])); + return t3; + })() }), o.DFA30 = function(e3) { + this.recognizer = e3, this.decisionNumber = 30, this.eot = o.DFA30_eot, this.eof = o.DFA30_eof, this.min = o.DFA30_min, this.max = o.DFA30_max, this.accept = o.DFA30_accept, this.special = o.DFA30_special, this.transition = o.DFA30_transition; + }, org.antlr.lang.extend(o.DFA30, org.antlr.runtime.DFA, { getDescription: function() { + return "153:33: ( datatype_access )?"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA31_eotS: "\uFFFF", DFA31_eofS: "\uFFFF", DFA31_minS: "\x07\uFFFF", DFA31_maxS: "&\uFFFF", DFA31_acceptS: "\uFFFF", DFA31_specialS: "\uFFFF}>", DFA31_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(o, { DFA31_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA31_eotS), DFA31_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA31_eofS), DFA31_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA31_minS), DFA31_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA31_maxS), DFA31_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA31_acceptS), DFA31_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA31_specialS), DFA31_transition: (function() { + var e3, t3 = [], i3 = o.DFA31_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA31_transitionS[e3])); + return t3; + })() }), o.DFA31 = function(e3) { + this.recognizer = e3, this.decisionNumber = 31, this.eot = o.DFA31_eot, this.eof = o.DFA31_eof, this.min = o.DFA31_min, this.max = o.DFA31_max, this.accept = o.DFA31_accept, this.special = o.DFA31_special, this.transition = o.DFA31_transition; + }, org.antlr.lang.extend(o.DFA31, org.antlr.runtime.DFA, { getDescription: function() { + return "154:26: ( datatype_access )?"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA34_eotS: "\uFFFF", DFA34_eofS: "\uFFFF", DFA34_minS: "\x07\uFFFF", DFA34_maxS: "&\uFFFF", DFA34_acceptS: "\uFFFF", DFA34_specialS: "\uFFFF}>", DFA34_transitionS: ["\uFFFF\uFFFF\uFFFF", "\uFFFF\uFFFF", "", ""] }), org.antlr.lang.augmentObject(o, { DFA34_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA34_eotS), DFA34_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA34_eofS), DFA34_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA34_minS), DFA34_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA34_maxS), DFA34_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA34_acceptS), DFA34_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA34_specialS), DFA34_transition: (function() { + var e3, t3 = [], i3 = o.DFA34_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA34_transitionS[e3])); + return t3; + })() }), o.DFA34 = function(e3) { + this.recognizer = e3, this.decisionNumber = 34, this.eot = o.DFA34_eot, this.eof = o.DFA34_eof, this.min = o.DFA34_min, this.max = o.DFA34_max, this.accept = o.DFA34_accept, this.special = o.DFA34_special, this.transition = o.DFA34_transition; + }, org.antlr.lang.extend(o.DFA34, org.antlr.runtime.DFA, { getDescription: function() { + return "165:38: ( datatype_access )?"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { DFA39_eotS: "\uFFFF", DFA39_eofS: "\uFFFF", DFA39_minS: "\uFFFF", DFA39_maxS: "%\uFFFF", DFA39_acceptS: "\uFFFF", DFA39_specialS: "\uFFFF}>", DFA39_transitionS: [" \uFFFF", " \uFFFF", "", "", ""] }), org.antlr.lang.augmentObject(o, { DFA39_eot: org.antlr.runtime.DFA.unpackEncodedString(o.DFA39_eotS), DFA39_eof: org.antlr.runtime.DFA.unpackEncodedString(o.DFA39_eofS), DFA39_min: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA39_minS), DFA39_max: org.antlr.runtime.DFA.unpackEncodedStringToUnsignedChars(o.DFA39_maxS), DFA39_accept: org.antlr.runtime.DFA.unpackEncodedString(o.DFA39_acceptS), DFA39_special: org.antlr.runtime.DFA.unpackEncodedString(o.DFA39_specialS), DFA39_transition: (function() { + var e3, t3 = [], i3 = o.DFA39_transitionS.length; + for (e3 = 0; e3 < i3; e3++) t3.push(org.antlr.runtime.DFA.unpackEncodedString(o.DFA39_transitionS[e3])); + return t3; + })() }), o.DFA39 = function(e3) { + this.recognizer = e3, this.decisionNumber = 39, this.eot = o.DFA39_eot, this.eof = o.DFA39_eof, this.min = o.DFA39_min, this.max = o.DFA39_max, this.accept = o.DFA39_accept, this.special = o.DFA39_special, this.transition = o.DFA39_transition; + }, org.antlr.lang.extend(o.DFA39, org.antlr.runtime.DFA, { getDescription: function() { + return "180:1: datatype_property_access : ( ( WS )* FIELD_ACCESS_IDENTIFIER | ( WS )* FIELD_ACCESS_STRING_LITERAL | ( WS )* FIELD_ACCESS_UNQUOTED_STRING_LITERAL );"; + }, dummy: null }), org.antlr.lang.augmentObject(o, { tokenNames: ["", "", "", "", "BOOL_TRUE", "BOOL_FALSE", "NOT_SET", "TERNARY_IF", "TERNARY_THEN", "OP_LOG_OR", "OP_LOG_AND", "OP_BIT_INCL_OR", "OP_BIT_AND", "OP_EQU", "OP_NEQ", "OP_GTE", "OP_LTE", "OP_GT", "OP_LT", "OP_PLUS", "OP_MINUS", "OP_MULT", "OP_DIV", "OP_MOD", "OP_POW", "WS", "OP_NOT", "OP_BIT_NOT", "PAREN_LEFT", "PAREN_RIGHT", "IDENTIFIER", "PERIOD", "UNQUOTED_STRING_LITERAL", "BRACKET_LEFT", "BRACKET_RIGHT", "FIELD_ACCESS_IDENTIFIER", "FIELD_ACCESS_STRING_LITERAL", "FIELD_ACCESS_UNQUOTED_STRING_LITERAL", "COMMA", "STRING_LITERAL", "BAD_ESCAPE_STRING_LITERAL", "INTEGER", "DECIMAL", "NON_SUPPORTED", "UNDERSCORE", "QUOTE", "BACKSLASH", "DOLLAR_SIGN", "DIGIT", "ECSCAPE_CHARS", "ESCAPE_SEQUENCE", "STRING_LITERAL_CONTENTS", "LETTER"], FOLLOW_expr_in_designerexpression129: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_ternary_if_then_in_expr146: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_log_op_or_in_ternary_if_then165: new org.antlr.runtime.BitSet([130, 0]), FOLLOW_TERNARY_IF_in_ternary_if_then175: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_log_op_and_in_ternary_if_then179: new org.antlr.runtime.BitSet([256, 0]), FOLLOW_TERNARY_THEN_in_ternary_if_then183: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_not_done_yet_are_ya_in_ternary_if_then187: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_log_op_and_in_ternary_if_then191: new org.antlr.runtime.BitSet([130, 0]), FOLLOW_log_op_and_in_log_op_or212: new org.antlr.runtime.BitSet([514, 0]), FOLLOW_OP_LOG_OR_in_log_op_or216: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_log_op_and_in_log_op_or221: new org.antlr.runtime.BitSet([514, 0]), FOLLOW_bitwise_or_in_log_op_and241: new org.antlr.runtime.BitSet([1026, 0]), FOLLOW_OP_LOG_AND_in_log_op_and246: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_bitwise_or_in_log_op_and251: new org.antlr.runtime.BitSet([1026, 0]), FOLLOW_bitwise_and_in_bitwise_or271: new org.antlr.runtime.BitSet([2050, 0]), FOLLOW_OP_BIT_INCL_OR_in_bitwise_or276: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_bitwise_and_in_bitwise_or281: new org.antlr.runtime.BitSet([2050, 0]), FOLLOW_equ_op_in_bitwise_and301: new org.antlr.runtime.BitSet([4098, 0]), FOLLOW_OP_BIT_AND_in_bitwise_and307: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_equ_op_in_bitwise_and312: new org.antlr.runtime.BitSet([4098, 0]), FOLLOW_comp_op_in_equ_op331: new org.antlr.runtime.BitSet([24578, 0]), FOLLOW_OP_EQU_in_equ_op337: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_NEQ_in_equ_op342: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_comp_op_in_equ_op347: new org.antlr.runtime.BitSet([24578, 0]), FOLLOW_add_sub_expr_in_comp_op366: new org.antlr.runtime.BitSet([491522, 0]), FOLLOW_OP_GTE_in_comp_op371: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_LTE_in_comp_op376: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_GT_in_comp_op381: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_LT_in_comp_op386: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_add_sub_expr_in_comp_op391: new org.antlr.runtime.BitSet([491522, 0]), FOLLOW_mul_div_mod_expr_in_add_sub_expr414: new org.antlr.runtime.BitSet([1572866, 0]), FOLLOW_OP_PLUS_in_add_sub_expr419: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_MINUS_in_add_sub_expr425: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_mul_div_mod_expr_in_add_sub_expr430: new org.antlr.runtime.BitSet([1572866, 0]), FOLLOW_pow_expr_in_mul_div_mod_expr453: new org.antlr.runtime.BitSet([14680066, 0]), FOLLOW_OP_MULT_in_mul_div_mod_expr458: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_DIV_in_mul_div_mod_expr463: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_MOD_in_mul_div_mod_expr468: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_pow_expr_in_mul_div_mod_expr472: new org.antlr.runtime.BitSet([14680066, 0]), FOLLOW_not_bitnot_expr_in_pow_expr495: new org.antlr.runtime.BitSet([16777218, 0]), FOLLOW_OP_POW_in_pow_expr499: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_pow_expr_in_pow_expr502: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_not_bitnot_expr529: new org.antlr.runtime.BitSet([234881024, 0]), FOLLOW_OP_NOT_in_not_bitnot_expr535: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_OP_BIT_NOT_in_not_bitnot_expr540: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_not_bitnot_expr_in_not_bitnot_expr544: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_neg_expr_in_not_bitnot_expr558: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_neg_expr580: new org.antlr.runtime.BitSet([34603008, 0]), FOLLOW_OP_MINUS_in_neg_expr586: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_ws_primary_in_neg_expr590: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_ws_primary_in_neg_expr604: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_ws_primary622: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_primary_in_ws_primary627: new org.antlr.runtime.BitSet([33554434, 0]), FOLLOW_WS_in_ws_primary630: new org.antlr.runtime.BitSet([33554434, 0]), FOLLOW_PAREN_LEFT_in_primary646: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_expr_in_primary648: new org.antlr.runtime.BitSet([536870912, 0]), FOLLOW_PAREN_RIGHT_in_primary652: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_primary656: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_literal_in_primary666: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_variable_base_in_primary674: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_func_call_in_primary682: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_primary690: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_error_in_primary698: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_IDENTIFIER_in_variable_base724: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_property_access_in_variable_base728: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_PERIOD_in_variable_base735: new org.antlr.runtime.BitSet([0, 1]), FOLLOW_UNQUOTED_STRING_LITERAL_in_variable_base740: new org.antlr.runtime.BitSet([2, 2]), FOLLOW_not_done_yet_are_ya_in_variable_base744: new org.antlr.runtime.BitSet([2, 2]), FOLLOW_variable_collection_access_in_variable_base751: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_IDENTIFIER_in_name772: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_collection_access_in_variable_collection_access796: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_variable_collection_access800: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_datatype_property_access_in_datatype_access823: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_datatype_access827: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_collection_access_in_datatype_access838: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_datatype_access842: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_PERIOD_in_datatype_access855: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_IDENTIFIER_in_func_call879: new org.antlr.runtime.BitSet([301989888, 0]), FOLLOW_WS_in_func_call883: new org.antlr.runtime.BitSet([301989888, 0]), FOLLOW_func_parens_in_func_call888: new org.antlr.runtime.BitSet([2181038082, 58]), FOLLOW_datatype_access_in_func_call891: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_BRACKET_LEFT_in_collection_access915: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_expr_in_collection_access919: new org.antlr.runtime.BitSet([0, 4]), FOLLOW_BRACKET_RIGHT_in_collection_access923: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_collection_access927: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_datatype_property_access951: new org.antlr.runtime.BitSet([33554432, 8]), FOLLOW_FIELD_ACCESS_IDENTIFIER_in_datatype_property_access956: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_datatype_property_access966: new org.antlr.runtime.BitSet([33554432, 16]), FOLLOW_FIELD_ACCESS_STRING_LITERAL_in_datatype_property_access971: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_WS_in_datatype_property_access981: new org.antlr.runtime.BitSet([33554432, 32]), FOLLOW_FIELD_ACCESS_UNQUOTED_STRING_LITERAL_in_datatype_property_access986: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_PAREN_LEFT_in_func_parens1012: new org.antlr.runtime.BitSet([2114977904, 3969]), FOLLOW_funcarglist_in_func_parens1014: new org.antlr.runtime.BitSet([536870912, 0]), FOLLOW_PAREN_RIGHT_in_func_parens1019: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_not_done_yet_are_ya_in_func_parens1023: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_expr_in_funcarglist1045: new org.antlr.runtime.BitSet([2, 64]), FOLLOW_COMMA_in_funcarglist1049: new org.antlr.runtime.BitSet([1578106992, 3969]), FOLLOW_expr_in_funcarglist1053: new org.antlr.runtime.BitSet([2, 64]), FOLLOW_boolean_literal_in_literal1076: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_number_literal_in_literal1084: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_string_literal_core_in_literal1092: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_null_literal_in_literal1102: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_NOT_SET_in_null_literal1123: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_set_in_boolean_literal0: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_string_literal_in_string_literal_core1167: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_unquoted_string_literal_in_string_literal_core1176: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_bad_escape_string_literal_in_string_literal_core1186: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_UNQUOTED_STRING_LITERAL_in_unquoted_string_literal1203: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_STRING_LITERAL_in_string_literal1220: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_BAD_ESCAPE_STRING_LITERAL_in_bad_escape_string_literal1239: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_integer_expr_in_number_literal1256: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_decimal_expr_in_number_literal1264: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_INTEGER_in_integer_expr1281: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_DECIMAL_in_decimal_expr1298: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_NON_SUPPORTED_in_error1321: new org.antlr.runtime.BitSet([2, 0]), FOLLOW_EOF_in_not_done_yet_are_ya1348: new org.antlr.runtime.BitSet([2, 0]) }), e2.exports = o; + }, 50918() { + var e2, i2, n2 = "undefined" != typeof window ? window : global; + org = n2.org = n2.org || {}, void 0 !== org.antlr && org.antlr || (org.antlr = {}), org.antlr.global = function() { + return n2; + }.call(null), org.antlr.namespace = function() { + var e3, t2, i3, n3 = arguments, o = null; + for (e3 = 0; e3 < n3.length; e3 += 1) for (i3 = n3[e3].split("."), o = org.antlr.global, t2 = 0; t2 < i3.length; t2 += 1) o[i3[t2]] = o[i3[t2]] || {}, o = o[i3[t2]]; + return o; + }, org.antlr.env = org.antlr.env || {}, org.antlr.env.ua = (function() { + var e3, t2, i3 = { ie: 0, opera: 0, gecko: 0, webkit: 0, mobile: null, air: 0, rhino: false }; + try { + e3 = navigator.userAgent, /KHTML/.test(e3) && (i3.webkit = 1), (t2 = e3.match(/AppleWebKit\/([^\s]*)/)) && t2[1] && (i3.webkit = parseFloat(t2[1]), / Mobile\//.test(e3) ? i3.mobile = "Apple" : (t2 = e3.match(/NokiaN[^\/]*/)) && (i3.mobile = t2[0]), (t2 = e3.match(/AdobeAIR\/([^\s]*)/)) && (i3.air = t2[0])), i3.webkit || ((t2 = e3.match(/Opera[\s\/]([^\s]*)/)) && t2[1] ? (i3.opera = parseFloat(t2[1]), (t2 = e3.match(/Opera Mini[^;]*/)) && (i3.mobile = t2[0])) : (t2 = e3.match(/MSIE\s([^;]*)/)) && t2[1] ? i3.ie = parseFloat(t2[1]) : (t2 = e3.match(/Gecko\/([^\s]*)/)) && (i3.gecko = 1, (t2 = e3.match(/rv:([^\s\)]*)/)) && t2[1] && (i3.gecko = parseFloat(t2[1])))); + } catch (e4) { } - set code(e3) { - this._code = e3; + try { + "undefined" == typeof window && loadClass && (i3.rhino = true); + } catch (e4) { } - } - t2.RequestError = i2; - }, 97847: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(67336)); - class r2 extends n2.default { - constructor(e3) { - super(e3), this._coreChoice = e3; + return i3; + })(), org.antlr.namespace("org.antlr.runtime.tree"), org.antlr.lang = org.antlr.lang || { isArray: function(e3) { + if (e3) { + var t2 = org.antlr.lang; + return t2.isNumber(e3.length) && t2.isFunction(e3.splice); } - get displayTypeName() { - return "ArchChoice"; + return false; + }, isBoolean: function(e3) { + return "boolean" == typeof e3; + }, isFunction: function(e3) { + return "function" == typeof e3; + }, isNull: function(e3) { + return null === e3; + }, isNumber: function(e3) { + return "number" == typeof e3 && isFinite(e3); + }, isObject: function(e3) { + return e3 && ("object" == typeof e3 || org.antlr.lang.isFunction(e3)) || false; + }, isString: function(e3) { + return "string" == typeof e3; + }, isUndefined: function(e3) { + return void 0 === e3; + }, _IEEnumFix: function(e3, t2) { + if (org.antlr.env.ua.ie) { + var i3, n3 = ["toString", "valueOf"]; + for (i3 = 0; i3 < n3.length; i3 += 1) { + var o = n3[i3], r = t2[o]; + org.antlr.lang.isFunction(r) && r != Object.prototype[o] && (e3[o] = r); + } } - get logStr() { - return this.logStrTypeOnly; + }, extend: function(e3, t2, i3) { + if (!t2 || !e3) throw new Error("org.antlr.lang.extend failed, please check that all dependencies are included."); + var n3 = function() { + }; + if (n3.prototype = t2.prototype, e3.prototype = new n3(), e3.prototype.constructor = e3, e3.superclass = t2.prototype, t2.prototype.constructor == Object.prototype.constructor && (t2.prototype.constructor = t2), i3) { + for (var o in i3) e3.prototype[o] = i3[o]; + org.antlr.lang._IEEnumFix(e3.prototype, i3); } - get name() { - return this._coreChoice.name; + }, augmentObject: function(e3, t2) { + if (!t2 || !e3) throw new Error("Absorb failed, verify dependencies."); + var i3, n3, o = arguments, r = o[2]; + if (r && true !== r) for (i3 = 2; i3 < o.length; i3 += 1) e3[o[i3]] = t2[o[i3]]; + else { + for (n3 in t2) !r && e3[n3] || (e3[n3] = t2[n3]); + org.antlr.lang._IEEnumFix(e3, t2); } - get enabled() { - return this._coreChoice.isEnabled; + }, augmentProto: function(e3, t2) { + if (!t2 || !e3) throw new Error("Augment failed, verify dependencies."); + for (var i3 = [e3.prototype, t2.prototype], n3 = 2; n3 < arguments.length; n3 += 1) i3.push(arguments[n3]); + org.antlr.lang.augmentObject.apply(this, i3); + }, merge: function() { + for (var e3 = {}, t2 = arguments, i3 = 0, n3 = t2.length; i3 < n3; i3 += 1) org.antlr.lang.augmentObject(e3, t2[i3], true); + return e3; + }, isValue: function(e3) { + var t2 = org.antlr.lang; + return t2.isObject(e3) || t2.isString(e3) || t2.isNumber(e3) || t2.isBoolean(e3); + }, array: { peek: function(e3) { + if (!org.antlr.lang.isArray(e3)) throw new Error("org.antlr.lang.array.peek: a is not an array."); + var t2 = e3.length; + if (t2 <= 0) throw new Error("org.antlr.lang.array.peek: a is empty."); + return e3[t2 - 1]; + } } }, org.antlr.runtime.RecognizerSharedState = function() { + this.following = [], this._fsp = -1, this.errorRecovery = false, this.lastErrorIndex = -1, this.failed = false, this.syntaxErrors = 0, this.backtracking = 0, this.ruleMemo = null, this.token = null, this.tokenStartCharIndex = -1, this.text = null; + }, org.antlr.runtime.IndexOutOfBoundsException = function(e3) { + org.antlr.runtime.IndexOutOfBoundsException.superclass.constructor.call(this, e3); + }, org.antlr.lang.extend(org.antlr.runtime.IndexOutOfBoundsException, Error, { name: "org.antlr.runtime.IndexOutOfBoundsException" }), org.antlr.runtime.RecognitionException = function(e3) { + org.antlr.runtime.RecognitionException.superclass.constructor.call(this), this.input = e3, this.index = e3.index(), e3 instanceof org.antlr.runtime.CommonTokenStream && (this.token = e3.LT(1), this.line = this.token.getLine(), this.charPositionInLine = this.token.getCharPositionInLine()), e3 instanceof org.antlr.runtime.tree.TreeNodeStream ? this.extractInformationFromTreeNodeStream(e3) : e3 instanceof org.antlr.runtime.ANTLRStringStream ? (this.c = e3.LA(1), this.line = e3.getLine(), this.charPositionInLine = e3.getCharPositionInLine()) : this.c = e3.LA(1), this.message = this.toString(); + }, org.antlr.lang.extend(org.antlr.runtime.RecognitionException, Error, { input: null, index: null, token: null, node: null, c: null, line: null, name: "org.antlr.runtime.RecognitionException", charPositionInLine: null, approximateLineInfo: null, extractInformationFromTreeNodeStream: function(e3) { + var t2, i3, n3, o, r = e3; + this.node = r.LT(1); + var a = r.getTreeAdaptor(), s = a.getToken(this.node); + if (s) if (this.token = s, s.getLine() <= 0) for (o = -1, t2 = r.LT(o); t2; ) { + if (priorPayload = a.getToken(t2), priorPayload && priorPayload.getLine() > 0) { + this.line = priorPayload.getLine(), this.charPositionInLine = priorPayload.getCharPositionInLine(), this.approximateLineInfo = true; + break; + } + --o, t2 = r.LT(o); } - set enabled(e3) { - const t3 = this._infoPropSet("index", "enabled"); - this._checkItemIsValidLiteralBool(t3, e3, false), this._coreChoice.isEnabled = e3; + else this.line = s.getLine(), this.charPositionInLine = s.getCharPositionInLine(); + else this.node instanceof org.antlr.runtime.tree.CommonTree ? (this.line = this.node.getLine(), this.charPositionInLine = this.node.getCharPositionInLine(), this.node instanceof org.antlr.runtime.tree.CommonTree && (this.token = this.node.token)) : (i3 = a.getType(this.node), n3 = a.getText(this.node), this.token = new org.antlr.runtime.CommonToken(i3, n3)); + }, getUnexpectedType: function() { + return this.input instanceof org.antlr.runtime.CommonTokenStream ? this.token.getType() : this.input instanceof org.antlr.runtime.tree.TreeNodeStream ? this.input.getTreeAdaptor().getType(this.node) : this.c; + } }), org.antlr.runtime.MismatchedTokenException = function(e3, t2) { + 0 === arguments.length ? this.expecting = org.antlr.runtime.Token.INVALID_TOKEN_TYPE : (org.antlr.runtime.MismatchedTokenException.superclass.constructor.call(this, t2), this.expecting = e3); + }, org.antlr.lang.extend(org.antlr.runtime.MismatchedTokenException, org.antlr.runtime.RecognitionException, { toString: function() { + return "MismatchedTokenException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; + }, name: "org.antlr.runtime.MismatchedTokenException" }), org.antlr.runtime.UnwantedTokenException = function(e3, t2) { + arguments.length > 0 && org.antlr.runtime.UnwantedTokenException.superclass.constructor.call(this, e3, t2); + }, org.antlr.lang.extend(org.antlr.runtime.UnwantedTokenException, org.antlr.runtime.MismatchedTokenException, { getUnexpectedToken: function() { + return this.token; + }, toString: function() { + var e3 = ", expected " + this.expecting; + return this.expecting === org.antlr.runtime.Token.INVALID_TOKEN_TYPE && (e3 = ""), org.antlr.lang.isValue(this.token) ? "UnwantedTokenException(found=" + this.token.getText() + e3 + ")" : "UnwantedTokenException(found=" + e3 + ")"; + }, name: "org.antlr.runtime.UnwantedTokenException" }), org.antlr.runtime.MissingTokenException = function(e3, t2, i3) { + arguments.length > 0 && (org.antlr.runtime.MissingTokenException.superclass.constructor.call(this, e3, t2), this.inserted = i3); + }, org.antlr.lang.extend(org.antlr.runtime.MissingTokenException, org.antlr.runtime.MismatchedTokenException, { getMissingType: function() { + return this.expecting; + }, toString: function() { + return org.antlr.lang.isValue(this.inserted) && org.antlr.lang.isValue(this.token) ? "MissingTokenException(inserted " + this.inserted + " at " + this.token.getText() + ")" : org.antlr.lang.isValue(this.token) ? "MissingTokenException(at " + this.token.getText() + ")" : "MissingTokenException"; + }, name: "org.antlr.runtime.MissingTokenException" }), org.antlr.runtime.NoViableAltException = function(e3, t2, i3, n3) { + org.antlr.runtime.NoViableAltException.superclass.constructor.call(this, n3), this.grammarDecisionDescription = e3, this.decisionNumber = t2, this.stateNumber = i3; + }, org.antlr.lang.extend(org.antlr.runtime.NoViableAltException, org.antlr.runtime.RecognitionException, { toString: function() { + return this.input instanceof org.antlr.runtime.ANTLRStringStream ? "NoViableAltException('" + this.getUnexpectedType() + "'@[" + this.grammarDecisionDescription + "])" : "NoViableAltException(" + this.getUnexpectedType() + "@[" + this.grammarDecisionDescription + "])"; + }, name: "org.antlr.runtime.NoViableAltException" }), org.antlr.runtime.EarlyExitException = function(e3, t2) { + org.antlr.runtime.EarlyExitException.superclass.constructor.call(this, t2), this.decisionNumber = e3; + }, org.antlr.lang.extend(org.antlr.runtime.EarlyExitException, org.antlr.runtime.RecognitionException, { name: "org.antlr.runtime.EarlyExitException" }), org.antlr.runtime.MismatchedSetException = function(e3, t2) { + org.antlr.runtime.MismatchedSetException.superclass.constructor.call(this, t2), this.expecting = e3; + }, org.antlr.lang.extend(org.antlr.runtime.MismatchedSetException, org.antlr.runtime.RecognitionException, { toString: function() { + return "MismatchedSetException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; + }, name: "org.antlr.runtime.MismatchedSetException" }), org.antlr.runtime.MismatchedNotSetException = function(e3, t2) { + org.antlr.runtime.MismatchedNotSetException.superclass.constructor.call(this, e3, t2); + }, org.antlr.lang.extend(org.antlr.runtime.MismatchedNotSetException, org.antlr.runtime.MismatchedSetException, { toString: function() { + return "MismatchedNotSetException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; + }, name: "org.antlr.runtime.MismatchedNotSetException" }), org.antlr.runtime.MismatchedRangeException = function(e3, t2, i3) { + if (0 === arguments.length) return this; + org.antlr.runtime.MismatchedRangeException.superclass.constructor.call(this, i3), this.a = e3, this.b = t2; + }, org.antlr.lang.extend(org.antlr.runtime.MismatchedRangeException, org.antlr.runtime.RecognitionException, { toString: function() { + return "MismatchedRangeException(" + this.getUnexpectedType() + " not in [" + this.a + "," + this.b + "])"; + }, name: "org.antlr.runtime.MismatchedRangeException" }), org.antlr.runtime.FailedPredicateException = function(e3, t2, i3) { + org.antlr.runtime.FailedPredicateException.superclass.constructor.call(this, e3), this.ruleName = t2, this.predicateText = i3; + }, org.antlr.lang.extend(org.antlr.runtime.FailedPredicateException, org.antlr.runtime.RecognitionException, { toString: function() { + return "FailedPredicateException(" + this.ruleName + ",{" + this.predicateText + "}?)"; + }, name: "org.antlr.runtime.FailedPredicateException" }), org.antlr.runtime.BitSet = function(e3) { + e3 || (e3 = org.antlr.runtime.BitSet.BITS), org.antlr.lang.isArray(e3) ? this.bits = e3 : org.antlr.lang.isNumber(e3) && (this.bits = []); + }, org.antlr.lang.augmentObject(org.antlr.runtime.BitSet, { BITS: 32, LOG_BITS: 5, MOD_MASK: 31, bitMask: function(e3) { + return 1 << (e3 & org.antlr.runtime.BitSet.MOD_MASK); + }, numWordsToHold: function(e3) { + return 1 + (e3 >> org.antlr.runtime.BitSet.LOG_BITS); + }, wordNumber: function(e3) { + return e3 >> org.antlr.runtime.BitSet.LOG_BITS; + }, of: function(e3, t2) { + var i3, n3, o, r; + if (org.antlr.lang.isNumber(e3)) { + if (org.antlr.lang.isNumber(t2)) { + for (o = new org.antlr.runtime.BitSet(t2 + 1), i3 = e3; i3 <= t2; i3++) n3 = org.antlr.runtime.BitSet.wordNumber(i3), o.bits[n3] |= org.antlr.runtime.BitSet.bitMask(i3); + return o; + } + return (o = new org.antlr.runtime.BitSet(e3 + 1)).add(e3), o; } - get isArchChoice() { - return true; + if (org.antlr.lang.isArray(e3)) { + for (o = new org.antlr.runtime.BitSet(), i3 = e3.length - 1; i3 >= 0; i3--) o.add(e3[i3]); + return o; } - get label() { - return this.coreFactory.createArchWrapper(this._coreChoice.label); + if (e3 instanceof org.antlr.runtime.BitSet) return e3 || null; + if (e3 instanceof org.antlr.runtime.IntervalSet) return e3 ? ((o = new org.antlr.runtime.BitSet()).addAll(e3), o) : null; + if (org.antlr.lang.isObject(e3)) { + for (i3 in r = [], e3) org.antlr.lang.isNumber(i3) && r.push(i3); + return org.antlr.runtime.BitSet.of(r); } - } - t2.default = r2; - }, 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), 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: 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 }]; + } }), org.antlr.runtime.BitSet.prototype = { add: function(e3) { + var t2 = org.antlr.runtime.BitSet.wordNumber(e3); + t2 >= this.bits.length && this.growToInclude(e3), this.bits[t2] |= org.antlr.runtime.BitSet.bitMask(e3); + }, addAll: function(e3) { + var t2, i3; + if (e3 instanceof org.antlr.runtime.BitSet) this.orInPlace(e3); + else if (e3 instanceof org.antlr.runtime.IntervalSet) ; + else { + if (!org.antlr.lang.isArray(e3)) return; + for (t2 = 0; t2 < e3.length; t2++) i3 = e3[t2], this.add(i3); } - constructor(e3) { - super(e3.parentFlow, e3); + }, and: function(e3) { + var t2 = this.clone(); + return t2.andInPlace(e3), t2; + }, andInPlace: function(e3) { + var t2, i3 = Math.min(this.bits.length, e3.bits.length); + for (t2 = i3 - 1; t2 >= 0; t2--) this.bits[t2] &= e3.bits[t2]; + for (t2 = i3; t2 < this.bits.length; t2++) this.bits[t2] = 0; + }, clear: function(e3) { + if (0 !== arguments.length) { + var t2 = org.antlr.runtime.BitSet.wordNumber(e3); + t2 >= this.bits.length && this.growToInclude(e3), this.bits[t2] &= ~org.antlr.runtime.BitSet.bitMask(e3); + } else { + var i3; + for (i3 = this.bits.length - 1; i3 >= 0; i3--) this.bits[i3] = 0; } - setNewInstanceDefaults(e3) { - var t3, i3; - super.setNewInstanceDefaults(e3), null === (t3 = this.noInput.builder) || void 0 === t3 || t3.deleteAllParts(), null === (i3 = this.noMatch.builder) || void 0 === i3 || i3.deleteAllParts(); + }, clone: function() { + var e3, t2, i3 = []; + for (e3 = 0, t2 = this.bits.length; e3 < t2; e3++) i3[e3] = this.bits[e3]; + return new org.antlr.runtime.BitSet(i3); + }, size: function() { + var e3, t2, i3, n3 = 0; + for (e3 = this.bits.length - 1; e3 >= 0; e3--) if (0 !== (t2 = this.bits[e3])) for (i3 = org.antlr.runtime.BitSet.BITS - 1; i3 >= 0; i3--) t2 & 1 << i3 && n3++; + return n3; + }, equals: function(e3) { + if (!(e3 && e3 instanceof org.antlr.runtime.BitSet)) return false; + var t2, i3 = e3, n3 = Math.min(this.bits.length, i3.bits.length); + for (t2 = 0; t2 < n3; t2++) if (this.bits[t2] != i3.bits[t2]) return false; + if (this.bits.length > n3) { + for (t2 = n3 + 1; t2 < this.bits.length; t2++) if (0 !== this.bits[t2]) return false; + } else if (i3.bits.length > n3) { + for (t2 = n3 + 1; t2 < i3.bits.length; t2++) if (0 !== i3.bits[t2]) return false; } - initializeDesignTime() { - super.initializeDesignTime(), this._updatePropertiesOOS(); + return true; + }, growToInclude: function(e3) { + Math.max(this.bits.length << 1, org.antlr.runtime.BitSet.numWordsToHold(e3)); + var t2, i3 = []; + for (t2 = 0, len = this.bits.length; t2 < len; t2++) i3[t2] = this.bits[t2]; + this.bits = i3; + }, member: function(e3) { + var t2 = org.antlr.runtime.BitSet.wordNumber(e3); + return !(t2 >= this.bits.length) && 0 !== (this.bits[t2] & org.antlr.runtime.BitSet.bitMask(e3)); + }, getSingleElement: function() { + var e3; + for (e3 = 0; e3 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; e3++) if (this.member(e3)) return e3; + return -1; + }, isNil: function() { + var e3; + for (e3 = this.bits.length - 1; e3 >= 0; e3--) if (0 !== this.bits[e3]) return false; + return true; + }, complement: function(e3) { + if (e3) return e3.subtract(this); + var t2 = this.clone(); + return t2.notInPlace(), t2; + }, notInPlace: function() { + var e3, t2, i3, n3; + if (0 === arguments.length) for (i3 = this.bits.length - 1; i3 >= 0; i3--) this.bits[i3] = ~this.bits[i3]; + else for (1 === arguments.length ? (e3 = 0, t2 = arguments[0]) : (e3 = arguments[0], t2 = arguments[1]), this.growToInclude(t2), i3 = e3; i3 <= t2; i3++) n3 = org.antlr.runtime.BitSet.wordNumber(i3), this.bits[n3] ^= org.antlr.runtime.BitSet.bitMask(i3); + }, or: function(e3) { + if (!e3) return this; + var t2 = this.clone(); + return t2.orInPlace(e3), t2; + }, orInPlace: function(e3) { + var t2; + if (e3) for (e3.bits.length > this.bits.length && this.setSize(e3.bits.length), t2 = Math.min(this.bits.length, e3.bits.length) - 1; t2 >= 0; t2--) this.bits[t2] |= e3.bits[t2]; + }, remove: function(e3) { + var t2 = org.antlr.runtime.BitSet.wordNumber(e3); + t2 >= this.bits.length && this.growToInclude(e3), this.bits[t2] &= ~org.antlr.runtime.BitSet.bitMask(e3); + }, setSize: function(e3) { + for (var t2 = e3 - this.bits.length; t2 >= 0; ) this.bits.push(0), t2--; + }, numBits: function() { + return this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; + }, lengthInLongWords: function() { + return this.bits.length; + }, subset: function(e3) { + return !!e3 && this.and(e3).equals(this); + }, subtractInPlace: function(e3) { + var t2; + if (e3) for (t2 = 0; t2 < this.bits.length && t2 < e3.bits.length; t2++) this.bits[t2] &= ~e3.bits[t2]; + }, subtract: function(e3) { + if (!(e3 && e3 instanceof org.antlr.runtime.BitSet)) return null; + var t2 = this.clone(); + return t2.subtractInPlace(e3), t2; + }, toArray: function() { + var e3, t2 = [], i3 = 0; + for (e3 = 0; e3 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; e3++) this.member(e3) && (t2[i3++] = e3); + return t2; + }, toPackedArray: function() { + return this.bits; + }, toString: function() { + return 0 === arguments.length ? this.toString1(null) : org.antlr.lang.isString(arguments[0]) ? org.antlr.lang.isValue(arguments[1]) ? this.toString2(arguments[0], arguments[1]) : this.toString1(null) : this.toString1(arguments[0]); + }, toString1: function(e3) { + var t2, i3 = "{", n3 = false; + for (t2 = 0; t2 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; t2++) this.member(t2) && (t2 > 0 && n3 && (i3 += ","), i3 += e3 ? e3.getTokenDisplayName(t2) : t2.toString(), n3 = true); + return i3 + "}"; + }, toString2: function(e3, t2) { + var i3, n3 = ""; + for (i3 = 0; i3 < this.bits.length << org.antlr.runtime.BitSet.LOG_BITS; i3++) this.member(i3) && (n3.length > 0 && (n3 += e3), i3 >= t2.size() ? n3 += "'" + i3 + "'" : org.antlr.lang.isValue(t2.get(i3)) ? n3 += t2.get(i3) : n3 += "'" + i3 + "'"); + return n3; + } }, org.antlr.runtime.CharStream = { EOF: -1 }, org.antlr.runtime.CommonToken = function() { + var e3; + this.charPositionInLine = -1, this.channel = 0, this.index = -1, 1 == arguments.length ? org.antlr.lang.isNumber(arguments[0]) ? this.type = arguments[0] : (e3 = arguments[0], this.text = e3.getText(), this.type = e3.getType(), this.line = e3.getLine(), this.index = e3.getTokenIndex(), this.charPositionInLine = e3.getCharPositionInLine(), this.channel = e3.getChannel(), e3 instanceof org.antlr.runtime.CommonToken && (this.start = e3.start, this.stop = e3.stop)) : 2 == arguments.length ? (this.type = arguments[0], this.text = arguments[1], this.channel = 0) : 5 == arguments.length && (this.input = arguments[0], this.type = arguments[1], this.channel = arguments[2], this.start = arguments[3], this.stop = arguments[4]); + }, org.antlr.runtime.CommonToken.prototype = { getType: function() { + return this.type; + }, setLine: function(e3) { + this.line = e3; + }, getText: function() { + return org.antlr.lang.isString(this.text) ? this.text : this.input ? (this.text = this.input.substring(this.start, this.stop), this.text) : null; + }, setText: function(e3) { + this.text = e3; + }, getLine: function() { + return this.line; + }, getCharPositionInLine: function() { + return this.charPositionInLine; + }, setCharPositionInLine: function(e3) { + this.charPositionInLine = e3; + }, getChannel: function() { + return this.channel; + }, setChannel: function(e3) { + this.channel = e3; + }, setType: function(e3) { + this.type = e3; + }, getStartIndex: function() { + return this.start; + }, setStartIndex: function(e3) { + this.start = e3; + }, getStopIndex: function() { + return this.stop; + }, setStopIndex: function(e3) { + this.stop = e3; + }, getTokenIndex: function() { + return this.index; + }, setTokenIndex: function(e3) { + this.index = e3; + }, getInputStream: function() { + return this.input; + }, setInputStream: function(e3) { + this.input = e3; + }, toString: function() { + var e3 = ""; + this.channel > 0 && (e3 = ",channel=" + this.channel); + var t2 = this.getText(); + return t2 = org.antlr.lang.isNull(t2) ? "" : (t2 = (t2 = t2.replace(/\n/g, "\\\\n")).replace(/\r/g, "\\\\r")).replace(/\t/g, "\\\\t"), "[@" + this.getTokenIndex() + "," + this.start + ":" + this.stop + "='" + t2 + "',<" + this.type + ">" + e3 + "," + this.line + ":" + this.getCharPositionInLine() + "]"; + } }, org.antlr.runtime.Token = function() { + }, org.antlr.lang.augmentObject(org.antlr.runtime.Token, { EOR_TOKEN_TYPE: 1, DOWN: 2, UP: 3, MIN_TOKEN_TYPE: 4, EOF: org.antlr.runtime.CharStream.EOF, EOF_TOKEN: new org.antlr.runtime.CommonToken(org.antlr.runtime.CharStream.EOF), INVALID_TOKEN_TYPE: 0, INVALID_TOKEN: new org.antlr.runtime.CommonToken(0), SKIP_TOKEN: new org.antlr.runtime.CommonToken(0), DEFAULT_CHANNEL: 0, HIDDEN_CHANNEL: 99 }), org.antlr.lang.augmentObject(org.antlr.runtime.CommonToken, org.antlr.runtime.Token), org.antlr.runtime.tree.RewriteCardinalityException = function(e3) { + this.elementDescription = e3; + }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteCardinalityException, Error, { getMessage: function() { + return org.antlr.lang.isString(this.elementDescription) ? this.elementDescription : null; + }, name: function() { + return "org.antlr.runtime.tree.RewriteCardinalityException"; + } }), org.antlr.runtime.tree.RewriteEmptyStreamException = function(e3) { + org.antlr.runtime.tree.RewriteEmptyStreamException.superclass.constructor.call(this, e3); + }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteEmptyStreamException, org.antlr.runtime.tree.RewriteCardinalityException, { name: function() { + return "org.antlr.runtime.tree.RewriteEmptyStreamException"; + } }), org.antlr.runtime.tree.RewriteEarlyExitException = function(e3) { + var t2 = org.antlr.runtime.tree.RewriteEarlyExitException.superclass; + org.antlr.lang.isUndefined(e3) && (e3 = null), t2.constructor.call(this, e3); + }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteEarlyExitException, org.antlr.runtime.tree.RewriteCardinalityException, { name: function() { + return "org.antlr.runtime.tree.RewriteEarlyExitException"; + } }), org.antlr.runtime.MismatchedTreeNodeException = function(e3, t2) { + e3 && t2 && (org.antlr.runtime.MismatchedTreeNodeException.superclass.constructor.call(this, t2), this.expecting = e3); + }, org.antlr.lang.extend(org.antlr.runtime.MismatchedTreeNodeException, org.antlr.runtime.RecognitionException, { toString: function() { + return "MismatchedTreeNodeException(" + this.getUnexpectedType() + "!=" + this.expecting + ")"; + }, name: "org.antlr.runtime.MismatchedTreeNodeException" }), org.antlr.runtime.tree.BaseTree = function() { + }, org.antlr.runtime.tree.BaseTree.prototype = { getChild: function(e3) { + return !this.children || e3 >= this.children.length ? null : this.children[e3]; + }, getChildren: function() { + return this.children; + }, getFirstChildWithType: function(e3) { + var t2, i3; + for (t2 = 0; this.children && t2 < this.children.length; t2++) if ((i3 = this.children[t2]).getType() === e3) return i3; + return null; + }, getChildCount: function() { + return this.children ? this.children.length : 0; + }, addChild: function(e3) { + if (org.antlr.lang.isValue(e3)) { + var t2, i3, n3, o = e3; + if (o.isNil()) { + if (this.children && this.children == o.children) throw new Error("attempt to add child list to itself"); + if (o.children) if (this.children) for (t2 = o.children.length, i3 = 0; i3 < t2; i3++) n3 = o.children[i3], this.children.push(n3), n3.setParent(this), n3.setChildIndex(this.children.length - 1); + else this.children = o.children, this.freshenParentAndChildIndexes(); + } else this.children || (this.children = this.createChildrenList()), this.children.push(e3), o.setParent(this), o.setChildIndex(this.children.length - 1); } - setNewInstanceNoInputText(e3) { - return this.noInput.setCommunicationBuilderText(e3); + }, addChildren: function(e3) { + var t2, i3; + for (t2 = 0; t2 < e3.length; t2++) i3 = e3[t2], this.addChild(i3); + }, setChild: function(e3, t2) { + if (t2) { + if (t2.isNil()) throw new Error("Can't set single child to a list"); + this.children || (this.children = this.createChildrenList()), this.children[e3] = t2, t2.setParent(this), t2.setChildIndex(e3); } - setNewInstanceNoMatchText(e3) { - return this.noMatch.setCommunicationBuilderText(e3); + }, deleteChild: function(e3) { + if (!this.children) return null; + if (e3 < 0 || e3 >= this.children.length) throw new Error("Index out of bounds."); + var t2 = this.children.splice(e3, 1)[0]; + return this.freshenParentAndChildIndexes(e3), t2; + }, replaceChildren: function(e3, t2, i3) { + if (!this.children) throw new Error("indexes invalid; no children in list"); + var n3, o = t2 - e3 + 1, r = i3, a = null; + r.isNil() ? a = r.children : (a = []).push(r), n3 = a.length; + var s, l, u, c, d, p = a.length, _ = o - 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 (d = c = e3 + p; d <= t2; d++) this.children.splice(c, 1)[0]; + this.freshenParentAndChildIndexes(e3); + } else { + for (s = 0; s < o; s++) this.children[e3 + s] = a[s]; + for (s = o; s < n3; s++) this.children.splice(e3 + s, 0, a[s]); + this.freshenParentAndChildIndexes(e3); } - getConfiguration(e3, t3) { - const i3 = super.getConfiguration(e3, t3); - return this.parentFlow.isDigitalBotFlow && (i3.noInputReprompts = void 0, i3.noInputs = void 0), i3; + }, createChildrenList: function() { + return []; + }, isNil: function() { + return false; + }, freshenParentAndChildIndexes: function(e3) { + org.antlr.lang.isNumber(e3) || (e3 = 0); + var t2, i3, n3 = this.getChildCount(); + for (t2 = e3; t2 < n3; t2++) (i3 = this.getChild(t2)).setChildIndex(t2), i3.setParent(this); + }, sanityCheckParentAndChildIndexes: function(e3, t2) { + if (0 === arguments.length && (e3 = null, t2 = -1), e3 !== this.getParent()) throw new Error("parents don't match; expected " + e3 + " found " + this.getParent()); + if (t2 !== this.getChildIndex()) throw new Error("child indexes don't match; expected " + t2 + " found " + this.getChildIndex()); + var i3, n3 = this.getChildCount(); + for (i3 = 0; i3 < n3; i3++) this.getChild(i3).sanityCheckParentAndChildIndexes(this, i3); + }, getChildIndex: function() { + return 0; + }, setChildIndex: function(e3) { + }, getParent: function() { + return null; + }, setParent: function(e3) { + }, getTree: function() { + return this; + }, toStringTree: function() { + if (!this.children || 0 === this.children.length) return this.toString(); + var e3, t2 = ""; + for (this.isNil() || (t2 += "(", t2 += this.toString(), t2 += " "), e3 = 0; this.children && e3 < this.children.length; e3++) e3 > 0 && (t2 += " "), t2 += this.children[e3].toStringTree(); + return this.isNil() || (t2 += ")"), t2; + }, getLine: function() { + return 0; + }, getCharPositionInLine: function() { + return 0; + } }, org.antlr.runtime.tree.CommonTree = function(e3) { + this.startIndex = -1, this.stopIndex = -1, this.childIndex = -1, this.parent = null, this.token = null, e3 instanceof org.antlr.runtime.tree.CommonTree ? (org.antlr.runtime.tree.CommonTree.superclass.constructor.call(this, e3), this.token = e3.token, this.startIndex = e3.startIndex, this.stopIndex = e3.stopIndex) : e3 instanceof org.antlr.runtime.CommonToken && (this.token = e3); + }, org.antlr.lang.extend(org.antlr.runtime.tree.CommonTree, org.antlr.runtime.tree.BaseTree, { getToken: function() { + return this.token; + }, dupNode: function() { + return new org.antlr.runtime.tree.CommonTree(this); + }, isNil: function() { + return !this.token; + }, getType: function() { + return this.token ? this.token.getType() : org.antlr.runtime.Token.INVALID_TOKEN_TYPE; + }, getText: function() { + return this.token ? this.token.getText() : null; + }, getLine: function() { + return this.token && 0 !== this.token.getLine() ? this.token.getLine() : this.getChildCount() > 0 ? this.getChild(0).getLine() : 0; + }, getCharPositionInLine: function() { + return this.token && -1 !== this.token.getCharPositionInLine() ? this.token.getCharPositionInLine() : this.getChildCount() > 0 ? this.getChild(0).getCharPositionInLine() : 0; + }, getTokenStartIndex: function() { + return this.token ? this.token.getTokenIndex() : this.startIndex; + }, setTokenStartIndex: function(e3) { + this.startIndex = e3; + }, getTokenStopIndex: function() { + return this.token ? this.token.getTokenIndex() : this.stopIndex; + }, setTokenStopIndex: function(e3) { + this.stopIndex = e3; + }, getChildIndex: function() { + return this.childIndex; + }, getParent: function() { + return this.parent; + }, setParent: function(e3) { + this.parent = e3; + }, setChildIndex: function(e3) { + this.childIndex = e3; + }, toString: function() { + return this.isNil() ? "nil" : this.getType() === org.antlr.runtime.Token.INVALID_TOKEN_TYPE ? "" : this.token ? this.token.getText() : null; + } }), org.antlr.runtime.tree.Tree = { INVALID_NODE: new org.antlr.runtime.tree.CommonTree(org.antlr.runtime.Token.INVALID_TOKEN) }, org.antlr.runtime.tree.CommonErrorNode = function(e3, t2, i3, n3) { + (!i3 || i3.getTokenIndex() < t2.getTokenIndex() && i3.getType() != org.antlr.runtime.Token.EOF) && (i3 = t2), this.input = e3, this.start = t2, this.stop = i3, this.trappedException = n3; + }, org.antlr.lang.extend(org.antlr.runtime.tree.CommonErrorNode, org.antlr.runtime.tree.CommonTree, { isNil: function() { + return false; + }, getType: function() { + return org.antlr.runtime.Token.INVALID_TOKEN_TYPE; + }, getText: function() { + var e3 = null; + if (this.start instanceof org.antlr.runtime.CommonToken) { + var t2 = this.start.getTokenIndex(), i3 = this.stop.getTokenIndex(); + this.stop.getType() === org.antlr.runtime.Token.EOF && (i3 = this.input.size()), e3 = this.input.toString(t2, i3); + } else e3 = this.start instanceof org.antlr.runtime.tree.CommonTree ? this.input.toString(this.start, this.stop) : ""; + return e3; + }, toString: function() { + return this.trappedException instanceof org.antlr.runtime.MissingTokenException ? "" : this.trappedException instanceof org.antlr.runtime.UnwantedTokenException ? "" : this.trappedException instanceof org.antlr.runtime.MismatchedTokenException ? "" : this.trappedException instanceof org.antlr.runtime.NoViableAltException ? "" : ""; + } }), org.antlr.runtime.tree.BaseTreeAdaptor = function() { + this.uniqueNodeID = 1; + }, org.antlr.runtime.tree.BaseTreeAdaptor.prototype = { nil: function() { + return this.create(null); + }, errorNode: function(e3, t2, i3, n3) { + return new org.antlr.runtime.tree.CommonErrorNode(e3, t2, i3, n3); + }, isNil: function(e3) { + return e3.isNil(); + }, dupTree: function(e3, t2) { + if (1 === arguments.length && (t2 = null), !e3) return null; + var i3 = this.dupNode(e3); + this.setChildIndex(i3, this.getChildIndex(e3)), this.setParent(i3, t2); + var n3, o, r, a = this.getChildCount(e3); + for (n3 = 0; n3 < a; n3++) o = this.getChild(e3, n3), r = this.dupTree(o, e3), this.addChild(i3, r); + return i3; + }, addChild: function(e3, t2) { + e3 && org.antlr.lang.isValue(t2) && e3.addChild(t2); + }, becomeRoot: function(e3, t2) { + (e3 instanceof org.antlr.runtime.CommonToken || !e3) && (e3 = this.create(e3)); + var i3 = e3, n3 = t2; + if (!t2) return e3; + if (i3.isNil()) { + if (i3.getChildCount() > 1) throw new Error("more than one node as root (TODO: make exception hierarchy)"); + i3 = i3.getChild(0); } - _updatePropertiesOOS() { - this.noInput.outOfService = this._isNoInputOOS(), this.noInputReprompts.outOfService = this._isNoInputRepromptsOOS(), this.noMatch.outOfService = this._isNoMatchOOS(), this.noMatchReprompts.outOfService = this._isNoMatchRepromptsOOS(); + return i3.addChild(n3), i3; + }, rulePostProcessing: function(e3) { + var t2 = e3; + return t2 && t2.isNil() && (0 === t2.getChildCount() ? t2 = null : 1 === t2.getChildCount() && ((t2 = t2.getChild(0)).setParent(null), t2.setChildIndex(-1))), t2; + }, create: function(e3, t2) { + var i3; + return 2 === arguments.length ? org.antlr.lang.isString(arguments[1]) ? (i3 = arguments[1], t2 = this.createToken(e3, i3), this.create(t2)) : ((t2 = this.createToken(t2)).setType(e3), this.create(t2)) : 3 === arguments.length ? (i3 = arguments[2], (t2 = this.createToken(t2)).setType(e3), t2.setText(i3), this.create(t2)) : void 0; + }, getType: function(e3) { + return e3.getType(), 0; + }, setType: function(e3, t2) { + throw new Error("don't know enough about Tree node"); + }, getText: function(e3) { + return e3.getText(); + }, setText: function(e3, t2) { + throw new Error("don't know enough about Tree node"); + }, getChild: function(e3, t2) { + return e3.getChild(t2); + }, setChild: function(e3, t2, i3) { + e3.setChild(t2, i3); + }, deleteChild: function(e3, t2) { + return e3.deleteChild(t2); + }, getChildCount: function(e3) { + return e3.getChildCount(); + }, getUniqueID: function(e3) { + this.treeToUniqueIDMap || (this.treeToUniqueIDMap = {}); + var t2 = this.treeToUniqueIDMap[e3]; + if (org.antlr.lang.isValue(t2)) return t2; + var i3 = this.uniqueNodeID; + return this.treeToUniqueIDMap[e3] = i3, this.uniqueNodeID++, i3; + } }, org.antlr.runtime.tree.CommonTreeAdaptor = function() { + }, org.antlr.lang.extend(org.antlr.runtime.tree.CommonTreeAdaptor, org.antlr.runtime.tree.BaseTreeAdaptor, { dupNode: function(e3) { + return org.antlr.lang.isValue(e3) ? e3.dupNode() : null; + }, create: function(e3) { + return arguments.length > 1 ? org.antlr.runtime.tree.CommonTreeAdaptor.superclass.create.apply(this, arguments) : new org.antlr.runtime.tree.CommonTree(e3); + }, createToken: function(e3) { + return 2 === arguments.length ? new org.antlr.runtime.CommonToken(arguments[0], arguments[1]) : new org.antlr.runtime.CommonToken(arguments[0]); + }, setTokenBoundaries: function(e3, t2, i3) { + if (org.antlr.lang.isValue(e3)) { + var n3 = 0, o = 0; + org.antlr.lang.isValue(t2) && (n3 = t2.getTokenIndex ? t2.getTokenIndex() : t2.getStartIndex ? t2.getStartIndex() : t2.getTokenStartIndex()), org.antlr.lang.isValue(i3) && (o = o.getTokenIndex ? i3.getTokenIndex() : i3.getStopIndex ? i3.getStopIndex() : i3.getTokenStopIndex()), e3.setTokenStartIndex(n3), e3.setTokenStopIndex(o); } - _isNoInputOOS() { - return this.customizeNoInput.model.text === a.default.true; + }, getTokenStartIndex: function(e3) { + return e3 ? e3.getTokenStartIndex() : -1; + }, getTokenStopIndex: function(e3) { + return e3 ? e3.getTokenStopIndex() : -1; + }, getText: function(e3) { + return e3 ? e3.getText() : null; + }, getType: function(e3) { + return e3 ? e3.getType() : org.antlr.runtime.Token.INVALID_TOKEN_TYPE; + }, getToken: function(e3) { + return e3 instanceof org.antlr.runtime.tree.CommonTree ? e3.getToken() : null; + }, getChild: function(e3, t2) { + return e3 ? e3.getChild(t2) : null; + }, getChildCount: function(e3) { + return e3 ? e3.getChildCount() : 0; + }, getParent: function(e3) { + return e3.getParent(); + }, setParent: function(e3, t2) { + e3.setParent(t2); + }, getChildIndex: function(e3) { + return e3.getChildIndex(); + }, setChildIndex: function(e3, t2) { + e3.setChildIndex(t2); + }, replaceChildren: function(e3, t2, i3, n3) { + e3 && e3.replaceChildren(t2, i3, n3); + } }), org.antlr.runtime.ANTLRStringStream = function(e3) { + this.p = 0, this.line = 1, this.charPositionInLine = 0, this.markDepth = 0, this.markers = null, this.lastMarker = null, this.data = e3, this.n = e3.length; + }, org.antlr.runtime.ANTLRStringStream.prototype = { reset: function() { + this.p = 0, this.line = 1, this.charPositionInLine = 0, this.markDepth = 0; + }, consume: function() { + this.p < this.n && (this.charPositionInLine++, "\n" === this.data.charAt(this.p) && (this.line++, this.charPositionInLine = 0), this.p++); + }, LA: function(e3) { + e3 < 0 && e3++; + var t2 = this.p + e3 - 1; + return t2 >= this.n || t2 < 0 ? org.antlr.runtime.CharStream.EOF : this.data.charAt(t2); + }, index: function() { + return this.p; + }, size: function() { + return this.n; + }, mark: function() { + this.markers || (this.markers = [], this.markers.push(null)), this.markDepth++; + var e3 = null; + return this.markDepth >= this.markers.length ? (e3 = {}, this.markers.push(e3)) : e3 = this.markers[this.markDepth], e3.p = this.p, e3.line = this.line, e3.charPositionInLine = this.charPositionInLine, this.lastMarker = this.markDepth, this.markDepth; + }, rewind: function(e3) { + org.antlr.lang.isNumber(e3) || (e3 = this.lastMarker); + var t2 = this.markers[e3]; + this.seek(t2.p), this.line = t2.line, this.charPositionInLine = t2.charPositionInLine, this.release(e3); + }, release: function(e3) { + this.markDepth = e3, this.markDepth--; + }, seek: function(e3) { + if (e3 <= this.p) this.p = e3; + else for (; this.p < e3; ) this.consume(); + }, substring: function(e3, t2) { + return this.data.substr(e3, t2 - e3 + 1); + }, getLine: function() { + return this.line; + }, getCharPositionInLine: function() { + return this.charPositionInLine; + }, setLine: function(e3) { + this.line = e3; + }, setCharPositionInLine: function(e3) { + this.charPositionInLine = e3; + }, getSourceName: function() { + return null; + } }, org.antlr.runtime.ANTLRStringStream.LT = org.antlr.runtime.ANTLRStringStream.LA, org.antlr.runtime.CommonTokenStream = function(e3, t2) { + this.p = -1, this.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL, this.v_discardOffChannelTokens = false, this.tokens = [], arguments.length >= 2 ? this.channel = t2 : 1 === arguments.length && (this.tokenSource = e3); + }, org.antlr.runtime.CommonTokenStream.prototype = { setTokenSource: function(e3) { + this.tokenSource = e3, this.tokens = [], this.p = -1, this.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL; + }, fillBuffer: function() { + for (var e3, t2, i3 = 0, n3 = this.tokenSource.nextToken(); org.antlr.lang.isValue(n3) && n3.getType() != org.antlr.runtime.CharStream.EOF; ) e3 = false, this.channelOverrideMap && (t2 = this.channelOverrideMap[n3.getType()], org.antlr.lang.isValue(t2) && n3.setChannel(t2)), (this.discardSet && this.discardSet[n3.getType()] || this.v_discardOffChannelTokens && n3.getChannel() != this.channel) && (e3 = true), e3 || (n3.setTokenIndex(i3), this.tokens.push(n3), i3++), n3 = this.tokenSource.nextToken(); + this.p = 0, this.p = this.skipOffTokenChannels(this.p); + }, consume: function() { + this.p < this.tokens.length && (this.p++, this.p = this.skipOffTokenChannels(this.p)); + }, skipOffTokenChannels: function(e3) { + for (var t2 = this.tokens.length; e3 < t2 && this.tokens[e3].getChannel() != this.channel; ) e3++; + return e3; + }, skipOffTokenChannelsReverse: function(e3) { + for (; e3 >= 0 && this.tokens[e3].getChannel() != this.channel; ) e3--; + return e3; + }, setTokenTypeChannel: function(e3, t2) { + this.channelOverrideMap || (this.channelOverrideMap = {}), this.channelOverrideMap[e3] = t2; + }, discardTokenType: function(e3) { + this.discardSet || (this.discardSet = {}), this.discardSet[e3] = true; + }, discardOffChannelTokens: function(e3) { + this.v_discardOffChannelTokens = e3; + }, getTokens: function(e3, t2, i3) { + if (-1 === this.p && this.fillBuffer(), 0 === arguments.length) return this.tokens; + if (org.antlr.lang.isArray(i3) ? i3 = new org.antlr.runtime.BitSet(i3) : org.antlr.lang.isNumber(i3) && (i3 = org.antlr.runtime.BitSet.of(i3)), t2 >= this.tokens.length && (t2 = this.tokens.length - 1), e3 < 0 && (e3 = 0), e3 > t2) return null; + var n3, o, r = []; + for (n3 = e3; n3 <= t2; n3++) o = this.tokens[n3], this.types && !i3.member(o.getType()) || r.push(o); + return 0 === r.length && (r = null), r; + }, LT: function(e3) { + if (-1 === this.p && this.fillBuffer(), 0 === e3) return null; + if (e3 < 0) return this.LB(-1 * e3); + if (this.p + e3 - 1 >= this.tokens.length) return org.antlr.runtime.Token.EOF_TOKEN; + for (var t2 = this.p, i3 = 1; i3 < e3; ) t2 = this.skipOffTokenChannels(t2 + 1), i3++; + return t2 >= this.tokens.length ? org.antlr.runtime.Token.EOF_TOKEN : this.tokens[t2]; + }, LB: function(e3) { + if (-1 === this.p && this.fillBuffer(), 0 === e3) return null; + if (this.p - e3 < 0) return null; + for (var t2 = this.p, i3 = 1; i3 <= e3; ) t2 = this.skipOffTokenChannelsReverse(t2 - 1), i3++; + return t2 < 0 ? null : this.tokens[t2]; + }, get: function(e3) { + return this.tokens[e3]; + }, LA: function(e3) { + return this.LT(e3).getType(); + }, mark: function() { + return -1 === this.p && this.fillBuffer(), this.lastMarker = this.index(), this.lastMarker; + }, release: function(e3) { + }, size: function() { + return this.tokens.length; + }, index: function() { + return this.p; + }, rewind: function(e3) { + org.antlr.lang.isNumber(e3) || (e3 = this.lastMarker), this.seek(e3); + }, reset: function() { + this.p = -1, this.lastMarker = 0; + }, seek: function(e3) { + this.p = e3; + }, getTokenSource: function() { + return this.tokenSource; + }, getSourceName: function() { + return this.getTokenSource().getSourceName(); + }, toString: function(e3, i3) { + if (0 === arguments.length && (-1 === this.p && this.fillBuffer(), e3 = 0, i3 = this.tokens.length - 1), !org.antlr.lang.isNumber(e3) && !org.antlr.lang.isNumber(i3)) { + if (!org.antlr.lang.isValue(e3) || !org.antlr.lang.isValue(i3)) return null; + e3 = e3.getTokenIndex(), i3 = i3.getTokenIndex(); } - _isNoInputRepromptsOOS() { - return this.customizeNoInput.model.text !== a.default.true; + var n3, o = ""; + if (e3 < 0 || i3 < 0) return null; + for (-1 == this.p && this.fillBuffer(), i3 >= this.tokens.length && (i3 = this.tokens.length - 1), n3 = e3; n3 <= i3; n3++) t = this.tokens[n3], o += this.tokens[n3].getText(); + return o; + } }, org.antlr.runtime.TokenRewriteStream = function() { + var e3 = org.antlr.runtime.TokenRewriteStream.superclass; + this.programs = null, this.lastRewriteTokenIndexes = null, 0 === arguments.length || e3.constructor.apply(this, arguments), this.initialize(); + }, e2 = org.antlr.runtime.TokenRewriteStream, org.antlr.lang.augmentObject(e2, { DEFAULT_PROGRAM_NAME: "default", PROGRAM_INIT_SIZE: 100, MIN_TOKEN_INDEX: 0 }), e2.RewriteOperation = function(e3, t2) { + this.index = e3, this.text = t2; + }, e2.RewriteOperation.prototype = { execute: function(e3) { + return this.index; + }, toString: function() { + return this.text; + } }, e2.InsertBeforeOp = function(t2, i3) { + e2.InsertBeforeOp.superclass.constructor.call(this, t2, i3); + }, org.antlr.lang.extend(e2.InsertBeforeOp, e2.RewriteOperation, { execute: function(e3) { + return e3.push(this.text), this.index; + } }), e2.ReplaceOp = function(t2, i3, n3) { + e2.ReplaceOp.superclass.constructor.call(this, t2, n3), this.lastIndex = i3; + }, org.antlr.lang.extend(e2.ReplaceOp, e2.RewriteOperation, { execute: function(e3) { + return org.antlr.lang.isValue(this.text) && e3.push(this.text), this.lastIndex + 1; + } }), e2.DeleteOp = function(t2, i3) { + e2.DeleteOp.superclass.constructor.call(this, t2, i3); + }, org.antlr.lang.extend(e2.DeleteOp, e2.ReplaceOp), org.antlr.lang.extend(e2, org.antlr.runtime.CommonTokenStream, { init: function() { + this.programs = {}, this.programs[e2.DEFAULT_PROGRAM_NAME] = [], this.lastRewriteTokenIndexes = {}; + }, rollback: function() { + var t2; + 1 === arguments.length ? t2 = e2.DEFAULT_PROGRAM_NAME : 2 === arguments.length && (t2 = arguments[0]); + var i3 = this.programs[t2]; + i3 && (programs[t2] = i3.slice(e2.MIN_TOKEN_INDEX, this.instructionIndex)); + }, deleteProgram: function(t2) { + t2 = t2 || e2.DEFAULT_PROGRAM_NAME, this.rollback(t2, e2.MIN_TOKEN_INDEX); + }, addToSortedRewriteList: function() { + var t2, i3; + 1 === arguments.length ? (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0]) : 2 === arguments.length && (t2 = arguments[0], i3 = arguments[1]); + var n3, o, r, a, s, l, u = this.getProgram(t2); + for (o = 0, n3 = u.length; o < n3; o++) { + if ((r = u[o]).index === i3.index) { + if (i3 instanceof e2.ReplaceOp) { + for (a = false, l = o; l < u.length && (s = u[o]).index === i3.index; l++) if (s instanceof e2.ReplaceOp) { + u[o] = i3, a = true; + break; + } + a || u.splice(l, 0, i3); + } else u.splice(o, 0, i3); + break; + } + if (r.index > i3.index) { + u.splice(o, 0, i3); + break; + } } - _isNoMatchOOS() { - return this.customizeNoMatch.model.text === a.default.true; + o === n3 && u.push(i3); + }, insertAfter: function() { + var t2, i3, n3; + 2 === arguments.length ? (i3 = e2.DEFAULT_PROGRAM_NAME, t2 = arguments[0], n3 = arguments[1]) : 3 === arguments.length && (i3 = arguments[0], t2 = arguments[1], n3 = arguments[2]), t2 instanceof org.antlr.runtime.CommonToken && (t2 = t2.index), this.insertBefore(i3, t2 + 1, n3); + }, insertBefore: function() { + var t2, i3, n3; + 2 === arguments.length ? (i3 = e2.DEFAULT_PROGRAM_NAME, t2 = arguments[0], n3 = arguments[1]) : 3 === arguments.length && (i3 = arguments[0], t2 = arguments[1], n3 = arguments[2]), t2 instanceof org.antlr.runtime.CommonToken && (t2 = t2.index), this.addToSortedRewriteList(i3, new e2.InsertBeforeOp(t2, n3)); + }, replace: function() { + var t2, i3, n3, o; + 2 === arguments.length ? (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0], n3 = arguments[0], o = arguments[1]) : 3 === arguments.length && (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0], n3 = arguments[1], o = arguments[2]), 4 === arguments.length && (t2 = arguments[0], i3 = arguments[1], n3 = arguments[2], o = arguments[3]), i3 instanceof org.antlr.runtime.CommonToken && (i3 = i3.index), n3 instanceof org.antlr.runtime.CommonToken && (n3 = n3.index), i3 > n3 || n3 < 0 || i3 < 0 || this.addToSortedRewriteList(t2, new e2.ReplaceOp(i3, n3, o)); + }, remove: function() { + for (var e3 = [], t2 = arguments.length - 1; t2 >= 0; ) e3[t2] = arguments[t2], t2--; + e3.push(""), this.replace.apply(this, e3); + }, getLastRewriteTokenIndex: function(t2) { + return t2 = t2 || e2.DEFAULT_PROGRAM_NAME, this.lastRewriteTokenIndexes[t2] || -1; + }, setLastRewriteTokenIndex: function(e3, t2) { + this.lastRewriteTokenIndexes[e3] = t2; + }, getProgram: function(e3) { + var t2 = this.programs[e3]; + return t2 || (t2 = this.initializeProgram(e3)), t2; + }, initializeProgram: function(e3) { + var t2 = []; + return this.programs[e3] = t2, t2; + }, toOriginalString: function(t2, i3) { + org.antlr.lang.isNumber(t2) || (t2 = e2.MIN_TOKEN_INDEX), org.antlr.lang.isNumber(i3) || (i3 = this.size() - 1); + var n3, o = []; + for (n3 = t2; n3 >= e2.MIN_TOKEN_INDEX && n3 <= i3 && n3 < this.tokens.length; n3++) o.push(this.get(n3).getText()); + return o.join(""); + }, toString: function() { + var t2, i3, n3; + 0 === arguments.length ? (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = e2.MIN_TOKEN_INDEX, n3 = this.size() - 1) : 1 === arguments.length ? (t2 = arguments[0], i3 = e2.MIN_TOKEN_INDEX, n3 = this.size() - 1) : 2 === arguments.length && (t2 = e2.DEFAULT_PROGRAM_NAME, i3 = arguments[0], n3 = arguments[1]); + var o = this.programs[t2]; + if (!o || 0 === o.length) return this.toOriginalString(i3, n3); + for (var r, a, s = 0, l = i3, u = []; l >= e2.MIN_TOKEN_INDEX && l <= n3 && l < this.tokens.length; ) { + if (s < o.length) { + for (r = o[s]; r.index < l && s < o.length; ) ++s < o.length && (r = o[s]); + for (; l === r.index && s < o.length; ) l = r.execute(u), ++s < o.length && (r = o[s]); + } + l <= n3 && (u.push(this.get(l).getText()), l++); } - _isNoMatchRepromptsOOS() { - return this.customizeNoMatch.model.text !== a.default.true; + for (a = s; a < o.length; a++) (r = o[a]).index >= this.size() && r.execute(u); + return u.join(""); + }, toDebugString: function(t2, i3) { + org.antlr.lang.isNumber(t2) || (t2 = e2.MIN_TOKEN_INDEX), org.antlr.lang.isNumber(i3) || (i3 = this.size() - 1); + var n3, o = []; + for (n3 = t2; n3 >= e2.MIN_TOKEN_INDEX && n3 <= i3 && n3 < this.tokens.length; n3++) o.push(this.get(n3)); + return o.join(""); + } }), org.antlr.runtime.tree.TreeNodeStream = function() { + }, org.antlr.runtime.tree.CommonTreeNodeStream = function(e3, t2, i3) { + 1 === arguments.length && (t2 = e3, e3 = new org.antlr.runtime.tree.CommonTreeAdaptor()), arguments.length <= 2 && (i3 = org.antlr.runtime.tree.CommonTreeNodeStream.DEFAULT_INITIAL_BUFFER_SIZE), this.uniqueNavigationNodes = false, this.p = -1; + var n3 = org.antlr.runtime.Token; + this.root = t2, this.adaptor = e3, this.nodes = [], this.down = this.adaptor.create(n3.DOWN, "DOWN"), this.up = this.adaptor.create(n3.UP, "UP"), this.eof = this.adaptor.create(n3.EOF, "EOF"); + }, org.antlr.lang.augmentObject(org.antlr.runtime.tree.CommonTreeNodeStream, { DEFAULT_INITIAL_BUFFER_SIZE: 100, INITIAL_CALL_STACK_SIZE: 10 }), org.antlr.lang.extend(org.antlr.runtime.tree.CommonTreeNodeStream, org.antlr.runtime.tree.TreeNodeStream, { StreamIterator: function() { + var e3 = 0, t2 = this.nodes, i3 = this.eof; + return { hasNext: function() { + return e3 < t2.length; + }, next: function() { + var n3 = e3; + return e3++, n3 < t2.length ? t2[n3] : i3; + }, remove: function() { + throw new Error("cannot remove nodes from stream"); + } }; + }, fillBuffer: function(e3) { + var t2 = false; + org.antlr.lang.isUndefined(e3) && (e3 = this.root, t2 = true); + var i3 = this.adaptor.isNil(e3); + i3 || this.nodes.push(e3); + var n3, o, r = this.adaptor.getChildCount(e3); + for (!i3 && r > 0 && this.addNavigationNode(org.antlr.runtime.Token.DOWN), n3 = 0; n3 < r; n3++) o = this.adaptor.getChild(e3, n3), this.fillBuffer(o); + !i3 && r > 0 && this.addNavigationNode(org.antlr.runtime.Token.UP), t2 && (this.p = 0); + }, getNodeIndex: function(e3) { + var t2; + for (-1 == this.p && this.fillBuffer(), t2 = 0; t2 < this.nodes.length; t2++) if (this.nodes[t2] === e3) return t2; + return -1; + }, addNavigationNode: function(e3) { + var t2; + t2 = e3 === org.antlr.runtime.Token.DOWN ? this.hasUniqueNavigationNodes() ? this.adaptor.create(org.antlr.runtime.Token.DOWN, "DOWN") : this.down : this.hasUniqueNavigationNodes() ? this.adaptor.create(org.antlr.runtime.Token.UP, "UP") : this.up, this.nodes.push(t2); + }, get: function(e3) { + return -1 === this.p && this.fillBuffer(), this.nodes[e3]; + }, LT: function(e3) { + return -1 === this.p && this.fillBuffer(), 0 === e3 ? null : e3 < 0 ? this.LB(-1 * e3) : this.p + e3 - 1 >= this.nodes.length ? this.eof : this.nodes[this.p + e3 - 1]; + }, getCurrentSymbol: function() { + return this.LT(1); + }, LB: function(e3) { + return 0 === e3 || this.p - e3 < 0 ? null : this.nodes[this.p - e3]; + }, getTreeSource: function() { + return this.root; + }, getSourceName: function() { + return this.getTokenStream().getSourceName(); + }, getTokenStream: function() { + return this.tokens; + }, setTokenStream: function(e3) { + this.tokens = e3; + }, getTreeAdaptor: function() { + return this.adaptor; + }, setTreeAdaptor: function(e3) { + this.adaptor = e3; + }, hasUniqueNavigationNodes: function() { + return this.uniqueNavigationNodes; + }, setUniqueNavigationNodes: function(e3) { + this.uniqueNavigationNodes = e3; + }, consume: function() { + -1 === this.p && this.fillBuffer(), this.p++; + }, LA: function(e3) { + return this.adaptor.getType(this.LT(e3)); + }, mark: function() { + return -1 === this.p && this.fillBuffer(), this.lastMarker = this.index(), this.lastMarker; + }, release: function(e3) { + }, index: function() { + return this.p; + }, rewind: function(e3) { + org.antlr.lang.isNumber(e3) || (e3 = this.lastMarker), this.seek(e3); + }, seek: function(e3) { + -1 === this.p && this.fillBuffer(), this.p = e3; + }, push: function(e3) { + this.calls || (this.calls = []), this.calls.push(this.p), this.seek(e3); + }, pop: function() { + var e3 = this.calls.pop(); + return this.seek(e3), e3; + }, reset: function() { + this.p = -1, this.lastMarker = 0, this.calls && (this.calls = []); + }, size: function() { + return -1 === this.p && this.fillBuffer(), this.nodes.length; + }, iterator: function() { + return -1 === this.p && this.fillBuffer(), this.StreamIterator(); + }, replaceChildren: function(e3, t2, i3, n3) { + e3 && this.adaptor.replaceChildren(e3, t2, i3, n3); + }, toTokenString: function(e3, t2) { + -1 === this.p && this.fillBuffer(); + var i3, n3, o = ""; + for (i3 = e3; i3 < this.nodes.length && i3 <= t2; i3++) n3 = this.nodes[i3], o += " " + this.adaptor.getToken(n3); + return o; + }, toString: function(e3, t2) { + var i3, n3, o, r, a, s = ""; + if (0 === arguments.length) { + for (-1 === this.p && this.fillBuffer(), o = 0; o < this.nodes.length; o++) n3 = this.nodes[o], s += " ", s += this.adaptor.getType(n3); + return s; } - propertyChanged(e3) { - var t3, 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(); + if (!org.antlr.lang.isNumber(e3) || !org.antlr.lang.isNumber(t2)) return null; + if (-1 === this.p && this.fillBuffer(), org.antlr.runtime.tree.CommonTree, org.antlr.runtime.tree.CommonTree, this.tokens) return r = this.adaptor.getTokenStartIndex(e3), a = this.adaptor.getTokenStopIndex(t2), this.adaptor.getType(t2) === org.antlr.runtime.Token.UP ? a = this.adaptor.getTokenStopIndex(e3) : this.adaptor.getType(t2) == org.antlr.runtime.Token.EOF && (a = this.size() - 2), this.tokens.toString(r, a); + for (n3 = null, o = 0; o < this.nodes.length && (n3 = this.nodes[o]) !== e3; o++) ; + for (s = i3 = "", n3 = this.nodes[o]; n3 !== t2; ) i3 = this.adaptor.getText(n3), org.antlr.lang.isString(i3) || (i3 = " " + this.adaptor.getType(n3).toString()), s += i3, o++, n3 = nodes[o]; + return i3 = this.adaptor.getText(t2), org.antlr.lang.isString(i3) || (i3 = " " + this.adaptor.getType(t2).toString()), s + i3; + } }), org.antlr.runtime.tree.RewriteRuleElementStream = function(e3, t2, i3) { + this.cursor = 0, this.dirty = false, this.elementDescription = t2, this.adaptor = e3, i3 && (org.antlr.lang.isArray(i3) ? (this.singleElement = null, this.elements = i3) : this.add(i3)); + }, org.antlr.runtime.tree.RewriteRuleElementStream.prototype = { reset: function() { + this.cursor = 0, this.dirty = true; + }, add: function(e3) { + org.antlr.lang.isValue(e3) && (this.elements ? this.elements.push(e3) : org.antlr.lang.isValue(this.singleElement) ? (this.elements = [], this.elements.push(this.singleElement), this.singleElement = null, this.elements.push(e3)) : this.singleElement = e3); + }, nextTree: function() { + var e3, t2 = this.size(); + return this.dirty || this.cursor >= t2 && 1 == t2 ? (e3 = this._next(), this.dup(e3)) : e3 = this._next(); + }, _next: function() { + var e3 = this.size(); + if (0 === e3) throw new org.antlr.runtime.tree.RewriteEmptyStreamException(this.elementDescription); + if (this.cursor >= e3) { + if (1 === e3) return this.toTree(this.singleElement); + throw new org.antlr.runtime.tree.RewriteCardinalityException(this.elementDescription); } - static createNoInputOptions() { - 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)); + if (org.antlr.lang.isValue(this.singleElement)) return this.cursor++, this.toTree(this.singleElement); + var t2 = this.toTree(this.elements[this.cursor]); + return this.cursor++, t2; + }, toTree: function(e3) { + return e3 && e3.getTree ? e3.getTree() : e3; + }, hasNext: function() { + return org.antlr.lang.isValue(this.singleElement) && this.cursor < 1 || this.elements && this.cursor < this.elements.length; + }, size: function() { + var e3 = 0; + return org.antlr.lang.isValue(this.singleElement) && (e3 = 1), this.elements ? this.elements.length : e3; + }, getDescription: function() { + return this.elementDescription; + } }, org.antlr.runtime.tree.RewriteRuleNodeStream = function(e3, t2, i3) { + org.antlr.runtime.tree.RewriteRuleNodeStream.superclass.constructor.apply(this, arguments); + }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleNodeStream, org.antlr.runtime.tree.RewriteRuleElementStream, { nextNode: function() { + return this._next(); + }, toTree: function(e3) { + return this.adaptor.dupNode(e3); + }, dup: function() { + throw new Error("dup can't be called for a node stream."); + } }), org.antlr.runtime.tree.RewriteRuleTokenStream = function(e3, t2, i3) { + org.antlr.runtime.tree.RewriteRuleTokenStream.superclass.constructor.apply(this, arguments); + }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleTokenStream, org.antlr.runtime.tree.RewriteRuleElementStream, { nextNode: function() { + var e3 = this._next(); + return this.adaptor.create(e3); + }, nextToken: function() { + return this._next(); + }, toTree: function(e3) { + return e3; + }, dup: function(e3) { + throw new Error("dup can't be called for a token stream."); + } }), org.antlr.runtime.tree.RewriteRuleSubtreeStream = function() { + org.antlr.runtime.tree.RewriteRuleSubtreeStream.superclass.constructor.apply(this, arguments); + }, org.antlr.lang.extend(org.antlr.runtime.tree.RewriteRuleSubtreeStream, org.antlr.runtime.tree.RewriteRuleElementStream, { nextNode: function() { + var e3, t2 = this.size(); + return this.dirty || this.cursor >= t2 && 1 === t2 ? (e3 = this._next(), this.adaptor.dupNode(e3)) : e3 = this._next(); + }, dup: function(e3) { + return this.adaptor.dupTree(e3); + } }), org.antlr.runtime.BaseRecognizer = function(e3) { + this.state = e3 || new org.antlr.runtime.RecognizerSharedState(); + }, org.antlr.lang.augmentObject(org.antlr.runtime.BaseRecognizer, { MEMO_RULE_FAILED: -2, MEMO_RULE_UNKNOWN: -1, INITIAL_FOLLOW_STACK_SIZE: 100, MEMO_RULE_FAILED_I: -2, DEFAULT_TOKEN_CHANNEL: org.antlr.runtime.Token.DEFAULT_CHANNEL, HIDDEN: org.antlr.runtime.Token.HIDDEN_CHANNEL, NEXT_TOKEN_RULE_NAME: "nextToken" }), org.antlr.runtime.BaseRecognizer.prototype = { reset: function() { + var e3, t2; + if (this.state && (this.state._fsp = -1, this.state.errorRecovery = false, this.state.lastErrorIndex = -1, this.state.failed = false, this.state.syntaxErrors = 0, this.state.backtracking = 0, this.state.ruleMemo)) for (e3 = 0, t2 = this.state.ruleMemo.length; e3 < t2; e3++) this.state.ruleMemo[e3] = null; + }, match: function(e3, t2, i3) { + var n3 = this.getCurrentInputSymbol(e3); + return e3.LA(1) === t2 ? (e3.consume(), this.state.errorRecovery = false, this.state.failed = false, n3) : this.state.backtracking > 0 ? (this.state.failed = true, n3) : n3 = this.recoverFromMismatchedToken(e3, t2, i3); + }, matchAny: function(e3) { + this.state.errorRecovery = false, this.state.failed = false, e3.consume(); + }, mismatchIsUnwantedToken: function(e3, t2) { + return e3.LA(2) === t2; + }, mismatchIsMissingToken: function(e3, t2) { + return !!t2 && (t2.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE) && (this.state._fsp >= 0 && t2.remove(org.antlr.runtime.Token.EOR_TOKEN_TYPE), this.computeContextSensitiveRuleFOLLOW(), t2 = t2.or(this.viableTokensFollowingThisRule)), !(!t2.member(e3.LA(1)) && !t2.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE))); + }, mismatch: function(e3, t2, i3) { + if (this.mismatchIsUnwantedToken(e3, t2)) throw new org.antlr.runtime.UnwantedTokenException(t2, e3); + if (this.mismatchIsMissingToken(e3, i3)) throw new org.antlr.runtime.MissingTokenException(t2, e3, null); + throw new org.antlr.runtime.MismatchedTokenException(t2, e3); + }, reportError: function(e3) { + this.state.errorRecovery || (this.state.syntaxErrors++, this.state.errorRecovery = true, this.displayRecognitionError(this.getTokenNames(), e3)); + }, displayRecognitionError: function(e3, t2) { + var i3 = this.getErrorHeader(t2), n3 = this.getErrorMessage(t2, e3); + this.emitErrorMessage(i3 + " " + n3); + }, getErrorHeader: function(e3) { + return org.antlr.lang.isNumber(e3.line) || (e3.line = 0), "line " + e3.line + ":" + e3.charPositionInLine; + }, emitErrorMessage: function(e3) { + "undefined" != typeof window && window.alert ? alert(e3) : print(e3); + }, getErrorMessage: function(e3, t2) { + var i3, n3, o = e3 && e3.getMessage ? e3.getMessage() : null; + if (e3 instanceof org.antlr.runtime.UnwantedTokenException) { + var r = e3; + n3 = "", n3 = r.expecting == org.antlr.runtime.Token.EOF ? "EOF" : t2[r.expecting], o = "extraneous input " + this.getTokenErrorDisplay(r.getUnexpectedToken()) + " expecting " + n3; + } else e3 instanceof org.antlr.runtime.MissingTokenException ? (n3 = "", o = "missing " + (n3 = (i3 = e3).expecting == org.antlr.runtime.Token.EOF ? "EOF" : t2[i3.expecting]) + " at " + this.getTokenErrorDisplay(e3.token)) : e3 instanceof org.antlr.runtime.MismatchedTokenException ? (n3 = "", n3 = (i3 = e3).expecting == org.antlr.runtime.Token.EOF ? "EOF" : t2[i3.expecting], o = "mismatched input " + this.getTokenErrorDisplay(e3.token) + " expecting " + n3) : e3 instanceof org.antlr.runtime.NoViableAltException ? o = "no viable alternative at input " + this.getTokenErrorDisplay(e3.token) : e3 instanceof org.antlr.runtime.EarlyExitException ? o = "required (...)+ loop did not match anything at input " + this.getTokenErrorDisplay(e3.token) : e3 instanceof org.antlr.runtime.MismatchedSetException || e3 instanceof org.antlr.runtime.MismatchedNotSetException ? o = "mismatched input " + this.getTokenErrorDisplay(e3.token) + " expecting set " + e3.expecting : e3 instanceof org.antlr.runtime.FailedPredicateException && (o = "rule " + e3.ruleName + " failed predicate: {" + e3.predicateText + "}?"); + return o; + }, getNumberOfSyntaxErrors: function() { + return this.state.syntaxErrors; + }, getTokenErrorDisplay: function(e3) { + var t2 = e3.getText(); + return org.antlr.lang.isValue(t2) || (t2 = e3.getType() == org.antlr.runtime.Token.EOF ? "" : "<" + e3.getType() + ">"), "'" + (t2 = (t2 = (t2 = t2.replace(/\n/g, "\\n")).replace(/\r/g, "\\r")).replace(/\t/g, "\\t")) + "'"; + }, recover: function(e3, t2) { + this.state.lastErrorIndex == e3.index() && e3.consume(), this.state.lastErrorIndex = e3.index(); + var i3 = this.computeErrorRecoverySet(); + this.beginResync(), this.consumeUntil(e3, i3), this.endResync(); + }, beginResync: function() { + }, endResync: function() { + }, computeErrorRecoverySet: function() { + return this.combineFollows(false); + }, computeContextSensitiveRuleFOLLOW: function() { + return this.combineFollows(true); + }, combineFollows: function(e3) { + var t2, i3, n3 = this.state._fsp, o = new org.antlr.runtime.BitSet(); + for (t2 = n3; t2 >= 0; t2--) if (i3 = this.state.following[t2], o.orInPlace(i3), e3) { + if (!i3.member(org.antlr.runtime.Token.EOR_TOKEN_TYPE)) break; + t2 > 0 && o.remove(org.antlr.runtime.Token.EOR_TOKEN_TYPE); } - static createNoMatchOptions() { - 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)); + return o; + }, recoverFromMismatchedToken: function(e3, t2, i3) { + var n3 = null; + if (this.mismatchIsUnwantedToken(e3, t2)) { + n3 = new org.antlr.runtime.UnwantedTokenException(t2, e3), this.beginResync(), e3.consume(), this.endResync(), this.reportError(n3); + var o = this.getCurrentInputSymbol(e3); + return e3.consume(), o; } - static createNoMatchRepromptsOptions() { - 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); + if (this.mismatchIsMissingToken(e3, i3)) { + var r = this.getMissingSymbol(e3, n3, t2, i3); + return n3 = new org.antlr.runtime.MissingTokenException(t2, e3, r), this.reportError(n3), r; } - } - t2.default = m, m.className = "BaseActionNoInputNoMatchViewModel"; - }, 97891: (e2, t2, i2) => { - "use strict"; - var n2, r2; - Object.defineProperty(t2, "__esModule", { value: true }), t2.hasNodeInformation = function(e3) { - 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)), 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 T(e3, t3, i3, n3); + throw new org.antlr.runtime.MismatchedTokenException(t2, e3); + }, recoverFromMismatchedSet: function(e3, t2, i3) { + if (this.mismatchIsMissingToken(e3, i3)) return this.reportError(t2), this.getMissingSymbol(e3, t2, org.antlr.runtime.Token.INVALID_TOKEN_TYPE, i3); + throw t2; + }, getCurrentInputSymbol: function(e3) { + return null; + }, getMissingSymbol: function(e3, t2, i3, n3) { + return null; + }, consumeUntil: function(e3, t2) { + for (var i3 = e3.LA(1); i3 != org.antlr.runtime.Token.EOF && !t2.member(i3); ) e3.consume(), i3 = e3.LA(1); + }, pushFollow: function(e3) { + if (this.state._fsp + 1 >= this.state.following.length) { + var t2, i3 = []; + for (t2 = this.state.following.length - 1; t2 >= 0; t2--) i3[t2] = this.state.following[t2]; + this.state.following = i3; } - static createReusableNodeInfo(e3) { - 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; + this.state._fsp++, this.state.following[this.state._fsp] = e3; + }, getRuleInvocationStack: function(e3, t2) { + throw new Error("Not implemented."); + }, getBacktrackingLevel: function() { + return this.state.backtracking; + }, getTokenNames: function() { + return null; + }, getGrammarFileName: function() { + return null; + }, toStrings: function(e3) { + if (!e3) return null; + var t2, i3 = []; + for (t2 = 0; t2 < e3.length; t2++) i3.push(e3[t2].getText()); + return i3; + }, getRuleMemoization: function(e3, t2) { + this.state.ruleMemo[e3] || (this.state.ruleMemo[e3] = {}); + var i3 = this.state.ruleMemo[e3][t2]; + return org.antlr.lang.isNumber(i3) ? i3 : org.antlr.runtime.BaseRecognizer.MEMO_RULE_UNKNOWN; + }, alreadyParsedRule: function(e3, t2) { + var i3 = this.getRuleMemoization(t2, e3.index()); + return i3 != org.antlr.runtime.BaseRecognizer.MEMO_RULE_UNKNOWN && (i3 == org.antlr.runtime.BaseRecognizer.MEMO_RULE_FAILED ? this.state.failed = true : e3.seek(i3 + 1), true); + }, memoize: function(e3, t2, i3) { + var n3 = this.state.failed ? org.antlr.runtime.BaseRecognizer.MEMO_RULE_FAILED : e3.index() - 1; + if (!org.antlr.lang.isValue(this.state.ruleMemo)) throw new Error("!!!!!!!!! memo array is null for " + this.getGrammarFileName()); + if (t2 >= this.state.ruleMemo.length) throw new Error("!!!!!!!!! memo size is " + this.state.ruleMemo.length + ", but rule index is " + t2); + org.antlr.lang.isValue(this.state.ruleMemo[t2]) && (this.state.ruleMemo[t2][i3] = n3); + }, getRuleMemoizationCacheSize: function() { + var e3, t2 = 0; + for (e3 = 0; this.state.ruleMemo && e3 < this.state.ruleMemo.length; e3++) { + var i3 = this.state.ruleMemo[e3]; + i3 && (t2 += i3.length); } - 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: 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; + return t2; + }, traceIn: function(e3, t2, i3) { + this.emitErrorMessage("enter " + e3 + " " + i3), this.state.failed && this.emitErrorMessage(" failed=" + this.failed), this.state.backtracking > 0 && this.emitErrorMessage(" backtracking=" + this.state.backtracking); + }, traceOut: function(e3, t2, i3) { + this.emitErrorMessage("exit " + e3 + " " + i3), this.state.failed && this.emitErrorMessage(" failed=" + this.state.failed), this.state.backtracking > 0 && this.emitErrorMessage(" backtracking=" + this.state.backtracking); + } }, org.antlr.runtime.Lexer = function(e3, t2) { + t2 && org.antlr.runtime.Lexer.superclass.constructor.call(this, t2), e3 && (this.input = e3); + }, org.antlr.lang.extend(org.antlr.runtime.Lexer, org.antlr.runtime.BaseRecognizer, { reset: function() { + org.antlr.runtime.Lexer.superclass.reset.call(this), org.antlr.lang.isValue(this.input) && this.input.seek(0), org.antlr.lang.isValue(this.state) && (this.state.token = null, this.state.type = org.antlr.runtime.Token.INVALID_TOKEN_TYPE, this.state.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL, this.state.tokenStartCharIndex = -1, this.state.tokenStartCharPositionInLine = -1, this.state.tokenStartLine = -1, this.state.text = null); + }, nextToken: function() { + for (; ; ) { + if (this.state.token = null, this.state.channel = org.antlr.runtime.Token.DEFAULT_CHANNEL, this.state.tokenStartCharIndex = this.input.index(), this.state.tokenStartCharPositionInLine = this.input.getCharPositionInLine(), this.state.tokenStartLine = this.input.getLine(), this.state.text = null, this.input.LA(1) === org.antlr.runtime.CharStream.EOF) return org.antlr.runtime.Token.EOF_TOKEN; + try { + if (this.mTokens(), org.antlr.lang.isValue(this.state.token)) { + if (this.state.token == org.antlr.runtime.Token.SKIP_TOKEN) continue; + } else this.emit(); + return this.state.token; + } catch (e3) { + if (e3 instanceof org.antlr.runtime.NoViableAltException) this.reportError(e3), this.recover(e3); + else { + if (!(e3 instanceof org.antlr.runtime.RecognitionException)) throw e3; + this.reportError(e3); + } + } } - constructor(e3, t3, i3, o2) { - 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); + }, skip: function() { + this.state.token = org.antlr.runtime.Token.SKIP_TOKEN; + }, setCharStream: function(e3) { + this.input = null, this.reset(), this.input = e3; + }, getCharStream: function() { + return this.input; + }, getSourceName: function() { + return this.input.getSourceName(); + }, emit: function() { + if (0 === arguments.length) { + var e3 = new org.antlr.runtime.CommonToken(this.input, this.state.type, this.state.channel, this.state.tokenStartCharIndex, this.getCharIndex() - 1); + return e3.setLine(this.state.tokenStartLine), e3.setText(this.state.text), e3.setCharPositionInLine(this.state.tokenStartCharPositionInLine), this.state.token = e3, e3; } - get category() { - return this.actionCategory; + this.state.token = arguments[0]; + }, match: function(e3) { + var t2, i3 = 0; + if (org.antlr.lang.isString(e3)) for (; i3 < e3.length; ) { + if (this.input.LA(1) != e3.charAt(i3)) { + if (this.state.backtracking > 0) return void (this.state.failed = true); + throw t2 = new org.antlr.runtime.MismatchedTokenException(e3.charAt(i3), this.input), this.recover(t2), t2; + } + i3++, this.input.consume(), this.state.failed = false; } - get categoryId() { - return this.actionCategory ? this.actionCategory.id : ""; + else if (org.antlr.lang.isNumber(e3)) { + if (this.input.LA(1) != e3) { + if (this.state.backtracking > 0) return void (this.state.failed = true); + throw t2 = new org.antlr.runtime.MismatchedTokenException(e3, this.input), this.recover(t2), t2; + } + this.input.consume(), this.state.failed = false; } - get deprecatedFlowTypes() { - return this._deprecatedFlowTypes; + }, matchAny: function() { + this.input.consume(); + }, matchRange: function(e3, t2) { + if (this.input.LA(1) < e3 || this.input.LA(1) > t2) { + if (this.state.backtracking > 0) return void (this.state.failed = true); + throw mre = new org.antlr.runtime.MismatchedRangeException(e3, t2, this.input), this.recover(mre), mre; } - set deprecatedFlowTypes(e3) { - this.needsServerInfo && this.traceTopic.error("needsServerInfo trumps deprecatedFlowTypes"); + this.input.consume(), this.state.failed = false; + }, getLine: function() { + return this.input.getLine(); + }, getCharPositionInLine: function() { + return this.input.getCharPositionInLine(); + }, getCharIndex: function() { + return this.input.index(); + }, getText: function() { + return org.antlr.lang.isString(this.state.text) ? this.state.text : this.input.substring(this.state.tokenStartCharIndex, this.getCharIndex() - 1); + }, setText: function(e3) { + this.state.text = e3; + }, reportError: function(e3) { + this.displayRecognitionError(this.getTokenNames(), e3); + }, getErrorMessage: function(e3, t2) { + return e3 instanceof org.antlr.runtime.MismatchedTokenException ? "mismatched character " + this.getCharErrorDisplay(e3.c) + " expecting " + this.getCharErrorDisplay(e3.expecting) : e3 instanceof org.antlr.runtime.NoViableAltException ? "no viable alternative at character " + this.getCharErrorDisplay(e3.c) : e3 instanceof org.antlr.runtime.EarlyExitException ? "required (...)+ loop did not match anything at character " + this.getCharErrorDisplay(e3.c) : e3 instanceof org.antlr.runtime.MismatchedNotSetException || e3 instanceof org.antlr.runtime.MismatchedSetException ? "mismatched character " + this.getCharErrorDisplay(e3.c) + " expecting set " + e3.expecting : e3 instanceof org.antlr.runtime.MismatchedRangeException ? "mismatched character " + this.getCharErrorDisplay(e3.c) + " expecting set " + this.getCharErrorDisplay(e3.a) + ".." + this.getCharErrorDisplay(e3.b) : org.antlr.runtime.Lexer.superclass.getErrorMessage.call(this, e3, t2); + }, getCharErrorDisplay: function(e3) { + var t2 = e3; + switch (t2) { + case org.antlr.runtime.Token.EOF: + t2 = ""; + break; + case "\n": + t2 = "\\n"; + break; + case " ": + t2 = "\\t"; + break; + case "\r": + t2 = "\\r"; } - get needsServerInfo() { - return o.__classPrivateFieldGet(this, n2, "f"); + return "'" + t2 + "'"; + }, recover: function(e3) { + this.input.consume(); + }, traceIn: function(e3, t2) { + var i3 = String.fromCharCode(this.input.LT(1)) + " line=" + this.getLine() + ":" + this.getCharPositionInLine(); + org.antlr.runtime.Lexer.superclass.traceIn.call(this, e3, t2, i3); + }, traceOut: function(e3, t2) { + var i3 = String.fromCharCode(this.input.LT(1)) + " line=" + this.getLine() + ":" + this.getCharPositionInLine(); + org.antlr.runtime.Lexer.superclass.traceOut.call(this, e3, t2, i3); + } }), org.antlr.runtime.ParserRuleReturnScope = function() { + }, org.antlr.runtime.ParserRuleReturnScope.prototype = { getStart: function() { + return this.start; + }, getStop: function() { + return this.stop; + } }, org.antlr.runtime.tree.TreeRuleReturnScope = function() { + }, org.antlr.runtime.tree.TreeRuleReturnScope.prototype = { getStart: function() { + return this.start; + } }, org.antlr.runtime.Parser = function(e3, t2) { + org.antlr.runtime.Parser.superclass.constructor.call(this, t2), this.setTokenStream(e3); + }, org.antlr.lang.extend(org.antlr.runtime.Parser, org.antlr.runtime.BaseRecognizer, { reset: function() { + org.antlr.runtime.Parser.superclass.reset.call(this), org.antlr.lang.isValue(this.input) && this.input.seek(0); + }, getCurrentInputSymbol: function(e3) { + return e3.LT(1); + }, getMissingSymbol: function(e3, t2, i3, n3) { + var o, r = "", a = new org.antlr.runtime.CommonToken(i3, r), s = e3.LT(1); + return s.getType() === org.antlr.runtime.Token.EOF && (o = s, (s = e3.LT(-1)) || (s = o)), a.line = s.getLine(), a.charPositionInLine = s.getCharPositionInLine(), a.channel = org.antlr.runtime.BaseRecognizer.DEFAULT_TOKEN_CHANNEL, a; + }, setTokenStream: function(e3) { + this.input = null, this.reset(), this.input = e3; + }, getTokenStream: function() { + return this.input; + }, getSourceName: function() { + return this.input.getSourceName(); + }, traceIn: function(e3, t2) { + org.antlr.runtime.Parser.superclass.traceIn.call(this, e3, t2, this.input.LT(1)); + }, traceOut: function(e3, t2) { + org.antlr.runtime.Parser.superclass.traceOut.call(this, e3, t2, this.input.LT(1)); + } }), org.antlr.runtime.DFA = function() { + }, org.antlr.runtime.DFA.prototype = { predict: function(e3) { + var t2, i3, n3, o = e3.mark(), r = 0; + try { + for (; ; ) if ((t2 = this.special[r]) >= 0) { + if (-1 === (r = this.specialStateTransition(t2, e3))) return this.noViableAlt(r, e3), 0; + e3.consume(); + } else { + if (this.accept[r] >= 1) return this.accept[r]; + if ((i3 = e3.LA(1)) === org.antlr.runtime.Token.EOF ? i3 = -1 : org.antlr.lang.isString(i3) && (i3 = i3.charCodeAt(0)), i3 >= this.min[r] && i3 <= this.max[r]) { + if ((n3 = this.transition[r][i3 - this.min[r]]) < 0) { + if (this.eot[r] >= 0) { + r = this.eot[r], e3.consume(); + continue; + } + return this.noViableAlt(r, e3), 0; + } + r = n3, e3.consume(); + } else { + if (!(this.eot[r] >= 0)) return i3 == org.antlr.runtime.Token.EOF && this.eof[r] >= 0 ? this.accept[this.eof[r]] : (this.noViableAlt(r, e3), 0); + r = this.eot[r], e3.consume(); + } + } + } finally { + e3.rewind(o); } - set needsServerInfo(e3) { - o.__classPrivateFieldSet(this, n2, e3, "f"), o.__classPrivateFieldGet(this, n2, "f") && o.__classPrivateFieldGet(this, r2, "f") !== a.flowTypes.flowTypesAll && this.traceTopic.error("needsServerInfo trumps supportedFlowTypes"), o.__classPrivateFieldSet(this, r2, [], "f"); + }, noViableAlt: function(e3, t2) { + if (!(this.recognizer.state.backtracking > 0)) { + var i3 = new org.antlr.runtime.NoViableAltException(this.getDescription(), this.decisionNumber, e3, t2); + throw this.error(i3), i3; } - get supportedFlowTypes() { - return o.__classPrivateFieldGet(this, r2, "f"); + this.recognizer.state.failed = true; + }, error: function(e3) { + }, specialStateTransition: function(e3, t2) { + return -1; + }, getDescription: function() { + return "n/a"; + } }, org.antlr.lang.augmentObject(org.antlr.runtime.DFA, { unpackEncodedString: function(e3) { + var t2, i3, n3, o, r = [], a = 0; + for (t2 = 0; t2 < e3.length; t2 += 2) for (i3 = e3.charCodeAt(t2), 65535 === (n3 = e3.charCodeAt(t2 + 1)) && (n3 = -1), o = 1; o <= i3; o++) r[a++] = n3; + return r; + }, unpackEncodedStringToUnsignedChars: function(e3) { + return org.antlr.runtime.DFA.unpackEncodedString(e3); + } }), org.antlr.runtime.tree.TreeParser = function(e3) { + org.antlr.runtime.tree.TreeParser.superclass.constructor.call(this, arguments[1]), this.setTreeNodeStream(e3); + }, i2 = org.antlr.runtime.tree.TreeParser, org.antlr.lang.augmentObject(i2, { DOWN: org.antlr.runtime.Token.DOWN, UP: org.antlr.runtime.Token.UP }), org.antlr.lang.extend(i2, org.antlr.runtime.BaseRecognizer, { reset: function() { + i2.superclass.reset.call(this), this.input && this.input.seek(0); + }, setTreeNodeStream: function(e3) { + this.input = e3; + }, getTreeNodeStream: function() { + return this.input; + }, getSourceName: function() { + return this.input.getSourceName(); + }, getCurrentInputSymbol: function(e3) { + return e3.LT(1); + }, getMissingSymbol: function(e3, t2, i3, n3) { + var o = ""; + return new org.antlr.runtime.tree.CommonTree(new org.antlr.runtime.CommonToken(i3, o)); + }, matchAny: function(e3) { + this.state.errorRecovery = false, this.state.failed = false; + var t2 = this.input.LT(1); + if (0 !== this.input.getTreeAdaptor().getChildCount(t2)) { + for (var n3 = 0, o = this.input.getTreeAdaptor().getType(t2); o !== org.antlr.runtime.Token.EOF && (o !== i2.UP || 0 !== n3); ) this.input.consume(), t2 = this.input.LT(1), (o = this.input.getTreeAdaptor().getType(t2)) === i2.DOWN ? n3++ : o === i2.UP && n3--; + this.input.consume(); + } else this.input.consume(); + }, mismatch: function(e3, t2, i3) { + throw new org.antlr.runtime.MismatchedTreeNodeException(t2, e3); + }, getErrorHeader: function(e3) { + return this.getGrammarFileName() + ": node from " + (e3.approximateLineInfo ? "after " : "") + "line " + e3.line + ":" + e3.charPositionInLine; + }, getErrorMessage: function(e3, t2) { + var n3; + return this instanceof i2 && (n3 = e3.input.getTreeAdaptor(), e3.token = n3.getToken(e3.node), org.antlr.lang.isValue(e3.token) || (e3.token = new org.antlr.runtime.CommonToken(n3.getType(e3.node), n3.getText(e3.node)))), i2.superclass.getErrorMessage.call(this, e3, t2); + }, traceIn: function(e3, t2) { + i2.superclass.traceIn.call(this, e3, t2, this.input.LT(1)); + }, traceOut: function(e3, t2) { + i2.superclass.traceOut.call(this, e3, t2, this.input.LT(1)); + } }); + }, 40810(e2, t2, i2) { + "use strict"; + var n2 = i2(50918) && org.antlr; + e2.exports = n2; + }, 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: {}, businessprocess: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: { flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, 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 }, businessprocess: { 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: {}, businessprocess: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: {}, 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: {}, businessprocess: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, 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" }, businessprocess: { 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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 }, businessprocess: { 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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" }, businessprocess: { 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {} }, 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: {}, businessprocess: {}, 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: {}, businessprocess: { flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: { flowInputSingleton: true, flowInputCollection: true, flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: { flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: { flowOutputSingleton: true, flowOutputCollection: true }, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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: {}, businessprocess: {}, 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" }, businessprocess: { 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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 }, getCollectionPropertyValues: { identifier: "getCollectionPropertyValues", description: "AR_FN_DSC_GETCOLLECTIONPROPERTYVALUES", type: "function", name: "GetCollectionPropertyValues", category: "list", overloads: [{ description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_DSC", identifier: "Any_COLL getCollectionPropertyValues(Any_COLL,String_ONE)", support: { version: "1.0", resolver: "CollectionPropertyAccessor" }, supportedFlowTypes: { emailsend: "emailsend", businessprocess: "businessprocess", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, featureConfigName: "emailSendFlows", needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_PRM_DSC_0", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", mustBeLiteral: true }], examples: [{ input: 'GetCollectionPropertyValues(MakeList(FindQueue("Marketing"), FindQueue("Support"), FindQueue("Non Existent Queue")), "id")', output: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_EX_OUT_0" }] }, { description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_DSC", identifier: "Any_COLL getCollectionPropertyValues(Any_COLL,String_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionPropertyAccessor" }, supportedFlowTypes: { emailsend: "emailsend", businessprocess: "businessprocess", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, featureConfigName: "emailSendFlows", needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_PRM_DSC_0", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", mustBeLiteral: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_PRM_DSC_2", identifier: "unique", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'GetCollectionPropertyValues(MakeList(FindQueue("Marketing"), FindQueue("Marketing"), FindQueue("Support")), "id", true)', output: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_EX_OUT_0" }] }, { description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_DSC", identifier: "Any_COLL getCollectionPropertyValues(Any_COLL,String_ONE,Boolean_ONE,Boolean_ONE)", support: { version: "1.0", resolver: "CollectionPropertyAccessor" }, supportedFlowTypes: { emailsend: "emailsend", businessprocess: "businessprocess", inboundchat: "inboundchat", inboundemail: "inboundemail", inboundshortmessage: "inboundshortmessage", inqueueemail: "inqueueemail", inqueueshortmessage: "inqueueshortmessage", surveyinvite: "surveyinvite", workflow: "workflow", workitem: "workitem" }, featureConfigName: "emailSendFlows", needsServerInfo: true, returnValue: { description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_RV", isArray: true, type: "any" }, parameters: [{ allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_0", identifier: "collection", isArray: true, helpDisplayIdx: 0, repeatable: false, required: true, type: "any" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_1", identifier: "propertyName", isArray: false, helpDisplayIdx: 1, repeatable: false, required: true, type: "str", mustBeLiteral: true }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_2", identifier: "unique", isArray: false, helpDisplayIdx: 2, repeatable: false, required: true, type: "bln" }, { allowNotSet: false, allowCustomJson: false, description: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_3", identifier: "ignoreCase", isArray: false, helpDisplayIdx: 3, repeatable: false, required: true, type: "bln" }], examples: [{ input: 'GetCollectionPropertyValues(MakeList(JsonParse("{ \\"name\\": \\"Marketing\\" }"), JsonParse("{ \\"name\\": \\"MARKETING\\" }")), "name", true, true)', output: "AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_EX_OUT_0" }] }], 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: "propertyValue", 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: "propertyName", 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: "propertyValue", 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: "propertyName", isArray: false, helpDisplayIdx: 2, repeatable: false, required: false, type: "str", mustBeLiteral: true }], examples: [{ input: 'FindFirstItem(Flow.MyAssignedSegments, "022ebfa1-9fc9-4b09-8313-3efa14bcc80e", "customerSegment.id")', output: "0" }, { input: 'FindFirstItem(Flow.MyAssignedSegments, "022ebfa1-9fc9-4b09-8313-3efa14bcc80e", "customerSegment.id")', 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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", businessprocess: "businessprocess", 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 } } }; + }, 5700(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" }; + }, 94434(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" }; + }, 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" }; + }, 16958(e2, t2, i2) { + let n2 = null; + try { + if (i2(6697)) n2 = i2(39958); + else { + const e3 = i2(29546); + n2 = i2(87860)("./" + e3.getCurrentLanguage() + "/builder.js"); } - set supportedFlowTypes(e3) { - this.needsServerInfo && this.traceTopic.error("needsServerInfo trumps supportedFlowTypes"), o.__classPrivateFieldSet(this, r2, e3, "f"); + } catch (e3) { + n2 = i2(39958); + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 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" }; + }, 95142(e2, t2, i2) { + let n2 = null; + if (i2(6697)) n2 = i2(79411); + else { + const e3 = i2(29546); + try { + n2 = i2(97549)("./" + e3.getCurrentLanguage() + "/countries.js"); + } catch (e4) { + n2 = i2(79411); } - getAvailability(e3, t3, i3) { - return i3 ? !!this.isAvailableForTaskMode(t3) && (a.flowTypes.flowTypeCommonModule === i3.type ? i3.destinationFlowTypes.concat(a.flowTypes.flowTypeCommonModule) : i3.destinationFlowTypes).every((i4) => !!this.isAvailableForFlowType(i4, true) && !!this.passesAvailabilityCallback(i4, e3, t3) && !this.isDeprecatedForFlowType(i4)) : (this.traceTopic.error("no flowViewModel passed in for getAvailability check"), false); + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 61044(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Neplatn\xE1 hodnota.", noInputReceived: "Nebyl obdr\u017Een \u017E\xE1dn\xFD vstup." }, askForBoolean: { noInput: 'Pokud chcete pokra\u010Dovat, \u0159ekn\u011Bte "ano", pokud nechcete, \u0159ekn\u011Bte "ne".', noMatch: '\u0158ekn\u011Bte "Ano" nebo "Ne". Chcete pokra\u010Dovat?', question: "Chcete pokra\u010Dovat?", noInputDigitalBot: 'Zadejte "Ano", pokud chcete pokra\u010Dovat, nebo "Ne", pokud pokra\u010Dovat nechcete.', noMatchDigitalBot: 'Zadejte "Ano"nebo "Ne". Chcete pokra\u010Dovat?' }, askForIntent: { noInput: '\u0158ekn\u011Bte kr\xE1tkou v\u011Btu, kter\xE1 popisuje v\xE1\u0161 dotaz, nap\u0159\xEDklad "Pod\xEDvat se na z\u016Fstatek \xFA\u010Dtu"', noMatch: "\u0158ekn\u011Bte mi znovu, co chcete ud\u011Blat.", question: "Co chcete ud\u011Blat?", noInputDigitalBot: 'Zadejte kr\xE1tkou v\u011Btu, kter\xE1 popisuje v\xE1\u0161 dotaz. Nap\u0159\xEDklad "Zkontrolujte z\u016Fstatek na m\xE9m \xFA\u010Dtu".' }, askForSlot: { askFor: "Dot\xE1zat se na %1$s", noInput: "\u0158ekn\u011Bte nebo zadejte (zde uve\u010Fte n\xE1zev slotu).", noInputWithSlot: "\u0158ekn\u011Bte nebo zadejte %1$s.", noMatch: "Uve\u010Fte (zde uve\u010Fte n\xE1zev slotu) znovu.", noMatchWithSlot: "Uve\u010Fte %1$s znovu.", question: "Uve\u010Fte (sem zadejte n\xE1zev slotu).", questionWithSlot: "Uve\u010Fte %1$s.", pleaseEnterSlotNameHere: "(sem zadejte n\xE1zev va\u0161eho slotu)", noInputDigitalBot: "Zadejte (zde uve\u010Fte n\xE1zev slotu).", noInputWithSlotDigitalBot: "Zadejte %1$s.", continuationPromptWithSlot: "Zat\xEDm m\xE1m {{Slot.%1$s}}, pokra\u010Dujte pros\xEDm." }, askForNextSlot: { noInput: 'M\xE1te-li jin\xFD dotaz, \u0159ekn\u011Bte "ano", jinak \u0159ekn\u011Bte "ne" a hovor ukon\u010Dete.', noMatch: 'M\xE1te-li jin\xFD dotaz, \u0159ekn\u011Bte "Ano", jinak \u0159ekn\u011Bte "Ne" a relaci ukon\u010Dete.', question: "Mohu v\xE1m pomoci je\u0161t\u011B s n\u011B\u010D\xEDm dal\u0161\xEDm?", noInputDigitalBot: 'Zadejte "Ano", pokud m\xE1te jin\xFD dotaz, nebo "Ne", pokud chcete relaci ukon\u010Dit.', noMatchDigitalBot: 'Zadejte "Ano", pokud m\xE1te jin\xFD dotaz, nebo "Ne", pokud chcete relaci ukon\u010Dit.' }, askForPayment: { noInputDigitalBot: "Zadejte pros\xEDm sv\xE9 platebn\xED \xFAdaje.", noMatchDigitalBot: "Nepoda\u0159ilo se mi porozum\u011Bt va\u0161\xED odpov\u011Bdi. Zkuste to pros\xEDm znovu." }, askForAuthentication: { noInputDigitalBot: "Zadejte pros\xEDm sv\xE9 p\u0159ihla\u0161ovac\xED \xFAdaje.", noMatchDigitalBot: "Nepoda\u0159ilo se mi porozum\u011Bt va\u0161\xED odpov\u011Bdi. Zkuste to pros\xEDm znovu." }, askSurveyQuestion: { notApplicable: "Nevztahuje se", surveyAnswerOptionSequence: "Stiskem %1$s zvol\xEDte '%2$s'.", surveyAnswerNotApplicableSequence: "Stiskem hv\u011Bzdi\u010Dky zvol\xEDte Nevztahuje se.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Stiskem hv\u011Bzdi\u010Dky zvol\xEDte Nevztahuje se.", voiceSurveyNoInputText: "Odpov\u011Bzte pros\xEDm na ot\xE1zku.", voiceSurveyNoMatchText: "Nerozum\xEDm v\xE1m." }, commonModule: { exitCommonModule: "Ukon\u010Dit spole\u010Dn\xFD modul" }, form: { noInputDigitalBot: "Vypl\u0148te pros\xEDm formul\xE1\u0159.", noMatchDigitalBot: "Vypl\u0148te pros\xEDm formul\xE1\u0159." }, messagingTemplate: { noInputDigitalBot: "Vyberte n\u011Bkterou z dostupn\xFDch mo\u017Enost\xED.", noMatchDigitalBot: "Vyberte n\u011Bkterou z dostupn\xFDch mo\u017Enost\xED." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Pokra\u010Dovat", knowledgeAnswerHighlightFullArticleDefault: "Zobrazit cel\xFD \u010Dl\xE1nek", knowledgeInitialResponseMulti: "Pomozte mi pros\xEDm zjistit v\xE1\u0161 c\xEDl v\xFDb\u011Brem \u010D\xEDsla ze seznamu n\xED\u017Ee:", knowledgeInitialResponseMultiRetry: "Vyberte pros\xEDm \u010D\xEDslo, nap\u0159\xEDklad '1'.\nZde je seznam mo\u017Enost\xED:", knowledgeNoMatch: "Nic z uveden\xE9ho", knowledgeConfirmation: "Dozv\u011Bd\u011Bli jste se, co jste pot\u0159ebovali?", knowledgeFollowup: "Douf\xE1m, \u017Ee jsem odpov\u011Bd\u011Bl na va\u0161i ot\xE1zku. M\u016F\u017Eete se zeptat na cokoli dal\u0161\xEDho, co v\xE1s zaj\xEDm\xE1." }, noOverlay: { intent: { intentConfirmationStr1: "Mysl\xEDm si, \u017Ee chcete", intentConfirmationStr2: "Je to spr\xE1vn\u011B?" }, youSaid: { youSaidConfirmationStr1: "Uvedli jste", youSaidConfirmationStr2: "Je to spr\xE1vn\u011B?", youSaidConfirmationStr1DigitalBot: "Zadali jste" }, noInput: { noInputStr1: "\u0158ekn\u011Bte nebo zadejte", noInputStr1DigitalBot: "Zadejte" }, noMatch: { noMatchStr1: "Uve\u010Fte" }, whatIs: { whatIsQuestionStr1: "Co je", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "M\xE1m", iGotContinuationStr2: "prozat\xEDm, pros\xEDm pokra\u010Dujte." } }, defaultCallFlowOne: "V\xFDchoz\xED strategie vol\xE1n\xED", errorHandlingAgentEscalationConfirmation: "Chcete mluvit s poradcem, je to pravda?", errorHandlingAgentEscalationHandover: "Chvilku po\u010Dkejte a j\xE1 v\xE1s na n\u011Bkoho p\u0159epoj\xEDm.", errorHandlingErrorEventHandover: "Do\u0161lo bohu\u017Eel k chyb\u011B. Chvilku po\u010Dkejte a j\xE1 v\xE1s p\u0159epoj\xEDm na n\u011Bkoho, kdo m\u016F\u017Ee pomoci.", errorHandlingErrorEventHandoverVoiceSurvey: "Je mi l\xEDto, do\u0161lo k chyb\u011B. Na shledanou.", errorHandlingRecognitionEventHandover: "Bohu\u017Eel v\xE1m \u0161patn\u011B rozum\xEDm. Chvilku po\u010Dkejte a j\xE1 v\xE1s p\u0159epoj\xEDm na n\u011Bkoho, kdo m\u016F\u017Ee pomoci.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Je mi l\xEDto, m\xE1m probl\xE9m porozum\u011Bt v\xE1m. Na shledanou.", errorHandlingTTS: "Je n\xE1m l\xEDto, do\u0161lo k chyb\u011B. Zkuste zavolat znovu.", initialGreetingTTS: "V\xEDtejte, toto je \xFAvodn\xED pozdrav.", initialState: "Prvotn\xED stav", initialBotState: "V\xFDchoz\xED bot", initialDigitalBotState: "\xDAvodn\xED pozdrav", initialSurveyBotState: "Bot pr\u016Fzkumu", intentConfirmation: "Mysl\xEDm si, \u017Ee chcete %1$s, je to pravda?", mainMenu: "Hlavn\xED menu", mainMenuTTS: "Nach\xE1z\xEDte se v hlavn\xEDm menu, stiskem tla\u010D\xEDtka 9 se odpoj\xEDte", mainTask: "\xDAloha", settingsConfirmationNoInputApology: "Va\u0161e odpov\u011B\u010F nebyla bohu\u017Eel sly\u0161et. \u0158ekn\u011Bte ano nebo ne.", settingsConfirmationNoInputApologyDigitalBot: 'Je n\xE1m l\xEDto, nep\u0159ijali jsme od v\xE1s \u017E\xE1dn\xE9 zad\xE1n\xED. Zadejte "Ano", nebo "Ne".', settingsConfirmationNoMatchApology: "Omlouv\xE1m se, \u0159ekn\u011Bte ano nebo ne.", settingsConfirmationNoMatchApologyDigitalBot: 'Je n\xE1m l\xEDto, zadejte "Ano", nebo "Ne".', settingsNoInputApology: "Omlouv\xE1m se, va\u0161e odpov\u011B\u010F nebyla sly\u0161et.", settingsNoInputApologyDigitalBot: "Je n\xE1m l\xEDto, nep\u0159ijali jsme od v\xE1s \u017E\xE1dn\xE9 zad\xE1n\xED.", settingsEndOfSessionMessageDigitalBot: "Del\u0161\xED dobu jste se neozvali, proto tento chat uzav\xEDr\xE1m. Pokud budete op\u011Bt pot\u0159ebovat pomoc, vra\u0165te se. D\u011Bkujeme v\xE1m.", settingsNoMatchApology: "Omlouv\xE1m se.", settingsNoToConfirmationApology: "Moje chyba.", periodicStateName: "Opakuj\xEDc\xED se stav" }; + }, 83697(e2, t2, i2) { + let n2 = null; + if (i2(6697)) n2 = i2(17186); + else { + const e3 = i2(29546); + try { + n2 = i2(78858)("./" + e3.getCurrentLanguage() + "/currency.js"); + } catch (e4) { + n2 = i2(17186); } - get id() { - return this.typeId; + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 44379(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Det er ikke gyldigt.", noInputReceived: "Jeg modtog ikke noget input." }, askForBoolean: { noInput: 'Sig "ja", hvis du vil forts\xE6tte, eller "nej", hvis du ikke vil.', noMatch: 'Sig venligst "ja" eller "nej". Vil du forts\xE6tte?', question: "Vil du forts\xE6tte?", noInputDigitalBot: 'Indtast "Ja", hvis du vil forts\xE6tte, eller "Nej", hvis du ikke vil.', noMatchDigitalBot: 'Indtast venligst "Ja" eller "Nej". Vil du forts\xE6tte?' }, askForIntent: { noInput: 'Bare sig en kort s\xE6tning, der beskriver din foresp\xF8rgsel. For eksempel: "Tjek min kontosaldo".', noMatch: "Fort\xE6l mig igen, hvad du gerne vil g\xF8re.", question: "Hvad vil du gerne g\xF8re?", noInputDigitalBot: 'Indtast venligst en kort s\xE6tning, der beskriver din foresp\xF8rgsel. For eksempel: "Tjek min kontosaldo".' }, askForSlot: { askFor: "Sp\xF8rg om %1$s", noInput: "Sig eller indtast venligst (angiv dit slotnavn her).", noInputWithSlot: "Sig eller indtast %1$s.", noMatch: "Giv mig venligst (angiv dit slotnavn her) igen.", noMatchWithSlot: "Giv mig venligst %1$s igen.", question: "Hvad er (angiv dit slotnavn her)?", questionWithSlot: "Hvad er %1$s?", pleaseEnterSlotNameHere: "(angiv dit slotnavn her)", noInputDigitalBot: "Indtast venligst (angiv dit slotnavn her).", noInputWithSlotDigitalBot: "Indtast venligst %1$s.", continuationPromptWithSlot: "Jeg har {{Slot.%1$s}} indtil videre, forts\xE6t venligst." }, askForNextSlot: { noInput: 'Sig "ja", hvis du har en anden foresp\xF8rgsel, eller "nej" for at afslutte opkaldet.', noMatch: 'Sig "ja", hvis du har en anden foresp\xF8rgsel, eller "nej" for at afslutte sessionen.', question: "Er der andet, jeg kan hj\xE6lpe dig med?", noInputDigitalBot: 'Indtast "Ja", hvis du har en anden foresp\xF8rgsel, eller "Nej" for at afslutte sessionen.', noMatchDigitalBot: 'Indtast "Ja", hvis du har en anden foresp\xF8rgsel, eller "Nej" for at afslutte sessionen.' }, askForPayment: { noInputDigitalBot: "Angiv dine betalingsoplysninger for at forts\xE6tte.", noMatchDigitalBot: "Jeg forstod ikke dit svar. Pr\xF8v igen." }, askForAuthentication: { noInputDigitalBot: "Indtast dine godkendelsesoplysninger for at forts\xE6tte.", noMatchDigitalBot: "Jeg forstod ikke dit svar. Pr\xF8v igen." }, askSurveyQuestion: { notApplicable: "Ikke relevant", surveyAnswerOptionSequence: "Tryk p\xE5 %1$s for '%2$s'.", surveyAnswerNotApplicableSequence: "Tryk p\xE5 stjerne for Ikke relevant.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Tryk p\xE5 stjerne for Ikke relevant.", voiceSurveyNoInputText: "Svar venligst p\xE5 sp\xF8rgsm\xE5let.", voiceSurveyNoMatchText: "Jeg forstod dig ikke." }, commonModule: { exitCommonModule: "Afslut f\xE6lles modul" }, form: { noInputDigitalBot: "Udfyld formularen for at forts\xE6tte.", noMatchDigitalBot: "Udfyld formularen for at forts\xE6tte." }, messagingTemplate: { noInputDigitalBot: "V\xE6lg en af de tilg\xE6ngelige muligheder.", noMatchDigitalBot: "V\xE6lg en af de tilg\xE6ngelige muligheder." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Forts\xE6t", knowledgeAnswerHighlightFullArticleDefault: "Vis hele artiklen", knowledgeInitialResponseMulti: "For at hj\xE6lpe mig med at afklare dit m\xE5l, bedes du v\xE6lge et tal fra f\xF8lgende liste:", knowledgeInitialResponseMultiRetry: "V\xE6lg venligst et tal, for eksempel '1'.\nHer er listen over muligheder igen:", knowledgeNoMatch: "Ingen af disse", knowledgeConfirmation: "Besvarede dette dit sp\xF8rgsm\xE5l?", knowledgeFollowup: "Jeg h\xE5ber, at jeg har besvaret dit sp\xF8rgsm\xE5l. Du kan sp\xF8rge om alt andet, du gerne vil vide." }, noOverlay: { intent: { intentConfirmationStr1: "Jeg tror, du vil", intentConfirmationStr2: "Er det korrekt?" }, youSaid: { youSaidConfirmationStr1: "Du sagde", youSaidConfirmationStr2: "Er det korrekt?", youSaidConfirmationStr1DigitalBot: "Du indtastede" }, noInput: { noInputStr1: "Sig eller indtast", noInputStr1DigitalBot: "Indtast" }, noMatch: { noMatchStr1: "Giv mig venligst" }, whatIs: { whatIsQuestionStr1: "Hvad er", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Jeg har", iGotContinuationStr2: "indtil videre, forts\xE6t venligst." } }, defaultCallFlowOne: "Standardopkaldsflow", errorHandlingAgentEscalationConfirmation: "Du vil gerne tale med en r\xE5dgiver. Er det korrekt?", errorHandlingAgentEscalationHandover: "Et \xF8jeblik, s\xE5 stiller jeg dig om til nogen.", errorHandlingErrorEventHandover: "Der opstod desv\xE6rre en fejl. Vent venligst et \xF8jeblik, mens jeg stiller dig om til en, der kan hj\xE6lpe.", errorHandlingErrorEventHandoverVoiceSurvey: "Der opstod desv\xE6rre en fejl. Farvel.", errorHandlingRecognitionEventHandover: "Jeg har desv\xE6rre sv\xE6rt ved at forst\xE5 dig. Vent venligst et \xF8jeblik, mens jeg stiller dig om til en, der kan hj\xE6lpe.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Jeg har desv\xE6rre sv\xE6rt ved at forst\xE5 dig. Farvel.", errorHandlingTTS: "Der opstod desv\xE6rre en fejl. Pr\xF8v venligst dit opkald igen.", initialGreetingTTS: "Hej, dette er den indledende hilsen.", initialState: "Indledende tilstand", initialBotState: "Standard-bot", initialDigitalBotState: "Indledende hilsen", initialSurveyBotState: "Unders\xF8gelses-bot", intentConfirmation: "Jeg tror, du vil %1$s, er det korrekt?", mainMenu: "Hovedmenu", mainMenuTTS: "Du er i hovedmenuen, tryk p\xE5 9 for at afbryde", mainTask: "Opgave", settingsConfirmationNoInputApology: "Undskyld, jeg h\xF8rte dig ikke. Sig venligst ja eller nej.", settingsConfirmationNoInputApologyDigitalBot: 'Jeg modtog desv\xE6rre ikke noget input fra dig. Indtast venligst "Ja" eller "Nej".', settingsConfirmationNoMatchApology: "Undskyld, sig venligst ja eller nej.", settingsConfirmationNoMatchApologyDigitalBot: 'Undskyld, indtast venligst "Ja" eller "Nej".', settingsNoInputApology: "Undskyld, jeg h\xF8rte dig ikke.", settingsNoInputApologyDigitalBot: "Undskyld, jeg modtog ikke noget input fra dig.", settingsEndOfSessionMessageDigitalBot: "Jeg har ikke h\xF8rt fra dig i et stykke tid, s\xE5 jeg lukker denne chat. Kom tilbage, hvis du har brug for min hj\xE6lp igen. Mange tak.", settingsNoMatchApology: "Undskyld.", settingsNoToConfirmationApology: "Min fejl.", periodicStateName: "Tilbagevendende tilstand" }; + }, 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" }; + }, 69549(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Das ist ung\xFCltig.", noInputReceived: "Ich habe keine Eingabe empfangen." }, askForBoolean: { noInput: 'Sagen Sie "ja", wenn Sie fortfahren m\xF6chten, oder "nein", wenn nicht.', noMatch: '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 nicht fortfahren m\xF6chten.', noMatchDigitalBot: 'Geben Sie "Ja" oder "Nein" ein. M\xF6chten Sie fortfahren?' }, askForIntent: { noInput: 'Beschreiben Sie Ihre Abfrage mit einem kurzen Satz, z. B. "Meinen Kontostand \xFCberpr\xFCfen".', noMatch: "Sagen Sie mir bitte erneut, was Sie tun m\xF6chten.", question: "Was m\xF6chten Sie tun?", noInputDigitalBot: 'Beschreiben Sie Ihre Abfrage in einem kurzen Satz. Beispiel: "Kontostand pr\xFCfen"' }, askForSlot: { askFor: "Um %1$s bitten", noInput: "Nennen oder geben Sie bitte Folgendes ein: (Slot-Name hier einf\xFCgen).", noInputWithSlot: "Nennen oder geben Sie bitte Folgendes ein: %1$s.", noMatch: "Geben Sie mir bitte Folgendes erneut: (Slot-Name hier einf\xFCgen).", noMatchWithSlot: "Geben Sie mir bitte Folgendes erneut: %1$s.", question: "Wie lautet Folgendes: (Slot-Name hier einf\xFCgen)?", questionWithSlot: "Wie lautet Folgendes: %1$s?", pleaseEnterSlotNameHere: "(Slot-Name hier einf\xFCgen)", noInputDigitalBot: "Geben Sie den (Slot-Namen hier einf\xFCgen) ein.", noInputWithSlotDigitalBot: "Geben Sie den %1$s ein.", continuationPromptWithSlot: "Ich habe bis jetzt {{Slot.%1$s}}, bitte fahren Sie fort." }, askForNextSlot: { noInput: 'Sagen Sie "ja", wenn Sie eine weitere Abfrage haben, oder "nein", um den Anruf zu beenden.', noMatch: 'Sagen Sie "Ja", wenn Sie eine weitere Abfrage haben, oder "Nein", um die Sitzung zu beenden.', question: "Gibt es sonst noch etwas, womit ich Ihnen helfen kann?", noInputDigitalBot: 'Geben Sie "Ja" ein, wenn Sie eine weitere Abfrage haben, oder "Nein", um die Sitzung zu beenden.', noMatchDigitalBot: 'Geben Sie "Ja" ein, wenn Sie eine weitere Abfrage haben, oder "Nein", um die Sitzung zu beenden.' }, askForPayment: { noInputDigitalBot: "Geben Sie Ihre Zahlungsinformationen an, um fortzufahren.", noMatchDigitalBot: "Ich habe Ihre Antwort nicht verstanden. Bitte versuchen Sie es erneut." }, askForAuthentication: { noInputDigitalBot: "Geben Sie Ihre Authentifizierungsinformationen an, um fortzufahren.", noMatchDigitalBot: "Ich habe Ihre Antwort nicht verstanden. Bitte versuchen Sie es erneut." }, askSurveyQuestion: { notApplicable: "Nicht zutreffend", surveyAnswerOptionSequence: "Dr\xFCcken Sie %1$s f\xFCr '%2$s'.", surveyAnswerNotApplicableSequence: "Dr\xFCcken Sie Stern f\xFCr 'Nicht zutreffend'.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Dr\xFCcken Sie Stern f\xFCr 'Nicht zutreffend'.", voiceSurveyNoInputText: "Beantworten Sie bitte die Frage.", voiceSurveyNoMatchText: "Ich habe Sie nicht verstanden." }, commonModule: { exitCommonModule: "Gemeinsames Modul schlie\xDFen" }, form: { noInputDigitalBot: "F\xFCllen Sie das Formular aus, um fortzufahren.", noMatchDigitalBot: "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: "Weiter", knowledgeAnswerHighlightFullArticleDefault: "Vollst\xE4ndige Artikel anzeigen", knowledgeInitialResponseMulti: "W\xE4hlen Sie bitte eine Zahl aus der folgenden Liste aus, damit ich Ihr Ziel besser verstehe:", knowledgeInitialResponseMultiRetry: "W\xE4hlen Sie bitte eine Zahl, z. B. '1'.\nHier ist erneut die Liste der Optionen:", knowledgeNoMatch: "Keine davon", knowledgeConfirmation: "Hat dies Ihre Frage beantwortet?", knowledgeFollowup: "Ich hoffe, dass ich Ihre Frage beantwortet habe. Sie k\xF6nnen alles fragen, was Sie wissen m\xF6chten." }, noOverlay: { intent: { intentConfirmationStr1: "Ich glaube, Sie m\xF6chten", intentConfirmationStr2: "Ist das richtig?" }, youSaid: { youSaidConfirmationStr1: "Sie sagten", youSaidConfirmationStr2: "Ist das richtig?", youSaidConfirmationStr1DigitalBot: "Sie haben Folgendes eingegeben:" }, noInput: { noInputStr1: "Bitte nennen Sie Folgendes, oder geben Sie Folgendes ein:", noInputStr1DigitalBot: "Bitte eingeben: den" }, noMatch: { noMatchStr1: "Bitte nennen Sie" }, whatIs: { whatIsQuestionStr1: "Was ist", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Ich habe bis jetzt", iGotContinuationStr2: ", bitte fahren Sie fort" } }, defaultCallFlowOne: "Anruf-Flow (Standard)", errorHandlingAgentEscalationConfirmation: "Sie m\xF6chten mit einem Berater sprechen. Ist das richtig?", errorHandlingAgentEscalationHandover: "Bitte warten Sie kurz, ich werde Sie durchstellen.", errorHandlingErrorEventHandover: "Leider ist ein Fehler aufgetreten. Bitte warten Sie kurz, ich werde Sie zu einer Person durchstellen, die Ihnen helfen kann.", errorHandlingErrorEventHandoverVoiceSurvey: "Leider ist ein Fehler aufgetreten. Auf Wiedersehen!", errorHandlingRecognitionEventHandover: "Ich kann Sie leider nur schlecht verstehen. Bitte warten Sie kurz, ich werde Sie zu einer Person durchstellen, die Ihnen helfen kann.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Leider habe ich Probleme, Sie zu verstehen. Auf Wiedersehen!", errorHandlingTTS: "Es tut uns leid, ein Fehler ist aufgetreten. Bitte f\xFChren Sie den Anruf erneut durch.", initialGreetingTTS: "Hallo, dies ist die Begr\xFC\xDFung.", initialState: "Ausgangsstatus", initialBotState: "Standard-Bot", initialDigitalBotState: "Begr\xFC\xDFung", initialSurveyBotState: "Umfrage-Bot", intentConfirmation: "Ich glaube, Sie m\xF6chten %1$s. Ist das korrekt?", mainMenu: "Hauptmen\xFC", mainMenuTTS: "Sie befinden sich im Hauptmen\xFC. Dr\xFCcken Sie die 9, um die Verbindung zu trennen", mainTask: "Aufgabe", settingsConfirmationNoInputApology: "Ich habe Sie leider nicht geh\xF6rt. Bitte antworten Sie mit 'Ja' oder 'Nein'.", settingsConfirmationNoInputApologyDigitalBot: 'Ich habe leider keine Eingabe von Ihnen erhalten. Geben Sie "Ja" oder "Nein" ein.', settingsConfirmationNoMatchApology: "Bitte antworten Sie mit 'Ja' oder 'Nein'.", settingsConfirmationNoMatchApologyDigitalBot: 'Bitte geben Sie "Ja" oder "Nein" ein.', settingsNoInputApology: "Ich habe Sie leider nicht geh\xF6rt.", settingsNoInputApologyDigitalBot: "Ich habe leider keine Eingabe von Ihnen erhalten.", settingsEndOfSessionMessageDigitalBot: "Ich habe eine Weile nichts von Ihnen geh\xF6rt, deshalb schlie\xDFe ich diesen Chat. Bitte kehren Sie zur\xFCck, wenn Sie meine Hilfe ben\xF6tigen. Vielen Dank!", settingsNoMatchApology: "Entschuldigen Sie bitte.", settingsNoToConfirmationApology: "Mir ist ein Fehler unterlaufen.", periodicStateName: "Wiederkehrender Status" }; + }, 91709(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7.", noInputReceived: "\u0394\u03B5\u03BD \u03AD\u03BB\u03B1\u03B2\u03B1 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7." }, askForBoolean: { noInput: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5 \u03AE "\u03CC\u03C7\u03B9" \u03B1\u03BD \u03B4\u03B5\u03BD \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.', noMatch: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03AE "\u03CC\u03C7\u03B9". \u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5;', question: "\u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5;", noInputDigitalBot: '\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5 \u03AE "\u038C\u03C7\u03B9" \u03B1\u03BD \u03B4\u03B5\u03BD \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.', noMatchDigitalBot: '\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03AE "\u038C\u03C7\u03B9". \u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5;' }, askForIntent: { noInput: '\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03C3\u03CD\u03BD\u03C4\u03BF\u03BC\u03B7 \u03C0\u03C1\u03CC\u03C4\u03B1\u03C3\u03B7 \u03C0\u03BF\u03C5 \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03AC\u03C6\u03B5\u03B9 \u03C4\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03AC \u03C3\u03B1\u03C2. \u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, "\u0388\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03C5\u03C0\u03BF\u03BB\u03BF\u03AF\u03C0\u03BF\u03C5 \u03BB\u03BF\u03B3\u03B1\u03C1\u03B9\u03B1\u03C3\u03BC\u03BF\u03CD"', noMatch: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03BF\u03C5 \u03BE\u03B1\u03BD\u03AC \u03C4\u03B9 \u03B8\u03B1 \u03B8\u03AD\u03BB\u03B1\u03C4\u03B5 \u03BD\u03B1 \u03BA\u03AC\u03BD\u03B5\u03C4\u03B5.", question: "\u03A4\u03B9 \u03B8\u03B1 \u03B8\u03AD\u03BB\u03B1\u03C4\u03B5 \u03BD\u03B1 \u03BA\u03AC\u03BD\u03B5\u03C4\u03B5;", noInputDigitalBot: '\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03C3\u03CD\u03BD\u03C4\u03BF\u03BC\u03B7 \u03C0\u03C1\u03CC\u03C4\u03B1\u03C3\u03B7 \u03C0\u03BF\u03C5 \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03AC\u03C6\u03B5\u03B9 \u03C4\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03AC \u03C3\u03B1\u03C2. \u0393\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1, "\u0388\u03BB\u03B5\u03B3\u03C7\u03BF\u03C2 \u03C5\u03C0\u03BF\u03BB\u03BF\u03AF\u03C0\u03BF\u03C5 \u03BB\u03BF\u03B3\u03B1\u03C1\u03B9\u03B1\u03C3\u03BC\u03BF\u03CD"' }, askForSlot: { askFor: "\u03A0\u03B5\u03AF\u03C4\u03B5 %1$s", noInput: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03AE \u03C0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 (please put your slot name here).", noInputWithSlot: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03AE \u03C0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 %1$s.", noMatch: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC (please put your slot name here).", noMatchWithSlot: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC %1$s.", question: "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03B1\u03C2 \u03C0\u03B5\u03AF\u03C4\u03B5 (please put your slot name here);", questionWithSlot: "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03B1\u03C2 \u03C0\u03B5\u03AF\u03C4\u03B5 %1$s;", pleaseEnterSlotNameHere: "(please put your slot name here)", noInputDigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 (please put your slot name here).", noInputWithSlotDigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 %1$s.", continuationPromptWithSlot: "\u0388\u03C7\u03C9 \u03BB\u03AC\u03B2\u03B5\u03B9 {{Slot.%1$s}} \u03AD\u03C9\u03C2 \u03C4\u03CE\u03C1\u03B1, \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03C4\u03B5." }, askForNextSlot: { noInput: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u03CC\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03BA\u03BB\u03AE\u03C3\u03B7.', noMatch: '\u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u03CC\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03C3\u03C5\u03BD\u03B5\u03B4\u03C1\u03AF\u03B1.', question: "\u039C\u03C0\u03BF\u03C1\u03CE \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03C9 \u03C3\u03B5 \u03BA\u03AC\u03C4\u03B9 \u03AC\u03BB\u03BB\u03BF;", noInputDigitalBot: '\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u038C\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03C3\u03C5\u03BD\u03B5\u03B4\u03C1\u03AF\u03B1.', noMatchDigitalBot: '\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9"\u03B1\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B1\u03AF\u03C4\u03B7\u03BC\u03B1 \u03AE "\u038C\u03C7\u03B9" \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03B9\u03C3\u03C4\u03B5\u03AF \u03B7 \u03C3\u03C5\u03BD\u03B5\u03B4\u03C1\u03AF\u03B1.' }, askForPayment: { noInputDigitalBot: "\u0394\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03C0\u03BB\u03B7\u03C1\u03C9\u03BC\u03AE\u03C2 \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5", noMatchDigitalBot: "\u0394\u03B5\u03BD \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03C4\u03B7\u03BD \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2. \u0394\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC." }, askForAuthentication: { noInputDigitalBot: "\u0394\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B1 \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1 \u03B5\u03BB\u03AD\u03B3\u03C7\u03BF\u03C5 \u03C4\u03B1\u03C5\u03C4\u03CC\u03C4\u03B7\u03C4\u03AC\u03C2 \u03C3\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", noMatchDigitalBot: "\u0394\u03B5\u03BD \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03C4\u03B7\u03BD \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2. \u0394\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC." }, askSurveyQuestion: { notApplicable: "\u0394\u03B5\u03BD \u03B5\u03C6\u03B1\u03C1\u03BC\u03CC\u03B6\u03B5\u03C4\u03B1\u03B9", surveyAnswerOptionSequence: "\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 %1$s \u03B3\u03B9\u03B1 '%2$s'.", surveyAnswerNotApplicableSequence: '\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B1\u03C3\u03C4\u03B5\u03C1\u03AF\u03C3\u03BA\u03BF \u03B3\u03B9\u03B1 "\u0394\u03B5\u03BD \u03B5\u03C6\u03B1\u03C1\u03BC\u03CC\u03B6\u03B5\u03C4\u03B1\u03B9".', surveyAnswerNotApplicableWithQuestionSequence: '%1$s. \u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03B1\u03C3\u03C4\u03B5\u03C1\u03AF\u03C3\u03BA\u03BF \u03B3\u03B9\u03B1 "\u0394\u03B5\u03BD \u03B5\u03C6\u03B1\u03C1\u03BC\u03CC\u03B6\u03B5\u03C4\u03B1\u03B9".', voiceSurveyNoInputText: "\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C3\u03C4\u03B7\u03BD \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03B7.", voiceSurveyNoMatchText: "\u0394\u03B5\u03BD \u03C3\u03B1\u03C2 \u03BA\u03B1\u03C4\u03AC\u03BB\u03B1\u03B2\u03B1." }, commonModule: { exitCommonModule: "\u0388\u03BE\u03BF\u03B4\u03BF\u03C2 \u03B1\u03C0\u03CC \u0392\u03B1\u03C3\u03B9\u03BA\u03CC \u039C\u03B5\u03BD\u03BF\u03CD" }, form: { noInputDigitalBot: "\u03A3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B7 \u03C6\u03CC\u03C1\u03BC\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", noMatchDigitalBot: "\u03A3\u03C5\u03BC\u03C0\u03BB\u03B7\u03C1\u03CE\u03C3\u03C4\u03B5 \u03C4\u03B7 \u03C6\u03CC\u03C1\u03BC\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5." }, messagingTemplate: { noInputDigitalBot: "\u039F\u03C1\u03AF\u03C3\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03C4\u03B9\u03C2 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2.", noMatchDigitalBot: "\u039F\u03C1\u03AF\u03C3\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03C4\u03B9\u03C2 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u03A3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1", knowledgeAnswerHighlightFullArticleDefault: "\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03BB\u03AE\u03C1\u03BF\u03C5\u03C2 \u03AC\u03C1\u03B8\u03C1\u03BF\u03C5", knowledgeInitialResponseMulti: "\u0393\u03B9\u03B1 \u03BD\u03B1 \u03BC\u03B5 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03B4\u03B9\u03B5\u03C5\u03BA\u03C1\u03B9\u03BD\u03AF\u03C3\u03C9 \u03C4\u03BF\u03BD \u03C3\u03C4\u03CC\u03C7\u03BF \u03C3\u03B1\u03C2, \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03B1\u03BA\u03AC\u03C4\u03C9 \u03BB\u03AF\u03C3\u03C4\u03B1:", knowledgeInitialResponseMultiRetry: '\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03BD\u03B1\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC, \u03B3\u03B9\u03B1 \u03C0\u03B1\u03C1\u03AC\u03B4\u03B5\u03B9\u03B3\u03BC\u03B1 "1".\n\u0394\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03C4\u03B7 \u03BB\u03AF\u03C3\u03C4\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03CE\u03BD:', knowledgeNoMatch: "\u039A\u03B1\u03BD\u03AD\u03BD\u03B1\u03C2 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03BF\u03CD\u03C2", knowledgeConfirmation: "\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03B8\u03B7\u03BA\u03B5 \u03B7 \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2;", knowledgeFollowup: "\u0395\u03BB\u03C0\u03AF\u03B6\u03C9 \u03BD\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B1 \u03C3\u03C4\u03B7\u03BD \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2. \u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03C1\u03C9\u03C4\u03AE\u03C3\u03B5\u03C4\u03B5 \u03BF\u03C4\u03B9\u03B4\u03AE\u03C0\u03BF\u03C4\u03B5 \u03AC\u03BB\u03BB\u03BF \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03AC\u03B8\u03B5\u03C4\u03B5." }, noOverlay: { intent: { intentConfirmationStr1: "\u039D\u03BF\u03BC\u03AF\u03B6\u03C9 \u03CC\u03C4\u03B9 \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1", intentConfirmationStr2: "\u03A3\u03C9\u03C3\u03C4\u03AC;" }, youSaid: { youSaidConfirmationStr1: "\u0395\u03AF\u03C0\u03B1\u03C4\u03B5", youSaidConfirmationStr2: "\u03A3\u03C9\u03C3\u03C4\u03AC;", youSaidConfirmationStr1DigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03B1\u03C4\u03B5" }, noInput: { noInputStr1: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03AE \u03C0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5", noInputStr1DigitalBot: "\u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5" }, noMatch: { noMatchStr1: "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03BF\u03C5" }, whatIs: { whatIsQuestionStr1: "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03C0\u03B5\u03AF\u03C4\u03B5", whatIsQuestionStr2: ";" }, iGotContinuation: { iGotContinuationStr1: "\u0388\u03C7\u03C9 \u03BB\u03AC\u03B2\u03B5\u03B9", iGotContinuationStr2: "\u03AD\u03C9\u03C2 \u03C4\u03CE\u03C1\u03B1, \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03C4\u03B5." } }, defaultCallFlowOne: "\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03C1\u03BF\u03AE \u03BA\u03BB\u03AE\u03C3\u03B7\u03C2", errorHandlingAgentEscalationConfirmation: "\u0398\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03BC\u03B9\u03BB\u03AE\u03C3\u03B5\u03C4\u03B5 \u03BC\u03B5 \u03AD\u03BD\u03B1\u03BD \u03C3\u03CD\u03BC\u03B2\u03BF\u03C5\u03BB\u03BF. \u03A3\u03C9\u03C3\u03C4\u03AC;", errorHandlingAgentEscalationHandover: "\u03A0\u03B5\u03C1\u03B9\u03BC\u03AD\u03BD\u03B5\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03BB\u03B5\u03C0\u03C4\u03CC \u03BA\u03B1\u03B9 \u03B8\u03B1 \u03C3\u03B1\u03C2 \u03C3\u03C5\u03BD\u03B4\u03AD\u03C3\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF\u03BD.", errorHandlingErrorEventHandover: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1. \u03A0\u03B5\u03C1\u03B9\u03BC\u03AD\u03BD\u03B5\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03BB\u03B5\u03C0\u03C4\u03CC, \u03B5\u03BD\u03CE \u03C3\u03B1\u03C2 \u03C3\u03C5\u03BD\u03B4\u03AD\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF\u03BD \u03C0\u03BF\u03C5 \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03B5\u03B9.", errorHandlingErrorEventHandoverVoiceSurvey: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1. \u0391\u03BD\u03C4\u03AF\u03BF.", errorHandlingRecognitionEventHandover: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03C5\u03C3\u03BA\u03BF\u03BB\u03B5\u03C5\u03CC\u03BC\u03B1\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03BF\u03C5\u03BC\u03B5. \u03A0\u03B5\u03C1\u03B9\u03BC\u03AD\u03BD\u03B5\u03C4\u03B5 \u03AD\u03BD\u03B1 \u03BB\u03B5\u03C0\u03C4\u03CC, \u03B5\u03BD\u03CE \u03C3\u03B1\u03C2 \u03C3\u03C5\u03BD\u03B4\u03AD\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF\u03BD \u03C0\u03BF\u03C5 \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03B5\u03B9.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03C5\u03C3\u03BA\u03BF\u03BB\u03B5\u03C5\u03CC\u03BC\u03B1\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C3\u03B1\u03C2 \u03BA\u03B1\u03C4\u03B1\u03BB\u03AC\u03B2\u03BF\u03C5\u03BC\u03B5. \u0391\u03BD\u03C4\u03AF\u03BF.", errorHandlingTTS: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1. \u0394\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03BA\u03B1\u03BB\u03AD\u03C3\u03B5\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC.", initialGreetingTTS: "\u0393\u03B5\u03B9\u03B1 \u03C3\u03B1\u03C2, \u03B1\u03C5\u03C4\u03CC\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BF \u03B1\u03C1\u03C7\u03B9\u03BA\u03CC\u03C2 \u03C7\u03B1\u03B9\u03C1\u03B5\u03C4\u03B9\u03C3\u03BC\u03CC\u03C2.", initialState: "\u0391\u03C1\u03C7\u03B9\u03BA\u03AE \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7", initialBotState: "\u03A0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF bot", initialDigitalBotState: "\u0391\u03C1\u03C7\u03B9\u03BA\u03CC\u03C2 \u03C7\u03B1\u03B9\u03C1\u03B5\u03C4\u03B9\u03C3\u03BC\u03CC\u03C2", initialSurveyBotState: "Bot \u03AD\u03C1\u03B5\u03C5\u03BD\u03B1\u03C2", intentConfirmation: "\u039D\u03BF\u03BC\u03AF\u03B6\u03C9 \u03CC\u03C4\u03B9 \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 %1$s, \u03C3\u03C9\u03C3\u03C4\u03AC;", mainMenu: "\u039A\u03CD\u03C1\u03B9\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD", mainMenuTTS: "\u0392\u03C1\u03AF\u03C3\u03BA\u03B5\u03C3\u03C4\u03B5 \u03C3\u03C4\u03BF \u039A\u03CD\u03C1\u03B9\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD, \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 9 \u03B3\u03B9\u03B1 \u03B1\u03C0\u03BF\u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03B7", mainTask: "\u0395\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1", settingsConfirmationNoInputApology: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03C3\u03B1\u03C2 \u03B1\u03BA\u03BF\u03CD\u03C3\u03B1\u03BC\u03B5. \u03A0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03AE "\u03CC\u03C7\u03B9".', settingsConfirmationNoInputApologyDigitalBot: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7 \u03B1\u03C0\u03CC \u03B5\u03C3\u03AC\u03C2. \u03A0\u03BB\u03B7\u03BA\u03C4\u03C1\u03BF\u03BB\u03BF\u03B3\u03AE\u03C3\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03AE "\u038C\u03C7\u03B9".', settingsConfirmationNoMatchApology: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B5\u03AF\u03C4\u03B5 "\u03BD\u03B1\u03B9" \u03AE "\u03CC\u03C7\u03B9".', settingsConfirmationNoMatchApologyDigitalBot: '\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03C0\u03B5\u03AF\u03C4\u03B5 "\u039D\u03B1\u03B9" \u03AE "\u038C\u03C7\u03B9".', settingsNoInputApology: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03C3\u03B1\u03C2 \u03B1\u03BA\u03BF\u03CD\u03C3\u03B1\u03BC\u03B5.", settingsNoInputApologyDigitalBot: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7 \u03B1\u03C0\u03CC \u03B5\u03C3\u03AC\u03C2.", settingsEndOfSessionMessageDigitalBot: "\u0394\u03C5\u03C3\u03C4\u03C5\u03C7\u03CE\u03C2, \u03B4\u03B5\u03BD \u03BB\u03AC\u03B2\u03B1\u03BC\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7 \u03B1\u03C0\u03CC \u03B5\u03C3\u03AC\u03C2 \u03B5\u03B4\u03CE \u03BA\u03B1\u03B9 \u03B1\u03C1\u03BA\u03B5\u03C4\u03AE \u03CE\u03C1\u03B1, \u03BF\u03C0\u03CC\u03C4\u03B5 \u03C4\u03B5\u03C1\u03BC\u03B1\u03C4\u03AF\u03B6\u03BF\u03C5\u03BC\u03B5 \u03B1\u03C5\u03C4\u03AE \u03C4\u03B7 \u03C3\u03C5\u03BD\u03BF\u03BC\u03B9\u03BB\u03AF\u03B1. \u0395\u03C0\u03B9\u03C3\u03C4\u03C1\u03AD\u03C8\u03C4\u03B5 \u03B1\u03BD \u03C7\u03C1\u03B5\u03B9\u03B1\u03C3\u03C4\u03B5\u03AF\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03B2\u03BF\u03AE\u03B8\u03B5\u03B9\u03B1. \u03A3\u03B1\u03C2 \u03B5\u03C5\u03C7\u03B1\u03C1\u03B9\u03C3\u03C4\u03BF\u03CD\u03BC\u03B5.", settingsNoMatchApology: "\u039B\u03C5\u03C0\u03AC\u03BC\u03B1\u03B9.", settingsNoToConfirmationApology: "\u0388\u03BA\u03B1\u03BD\u03B1 \u03BB\u03AC\u03B8\u03BF\u03C2.", periodicStateName: "\u0395\u03C0\u03B1\u03BD\u03B1\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03CC\u03BC\u03B5\u03BD\u03B7 \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7" }; + }, 49108(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" }; + }, 16435(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" }; + }, 39958(e2) { + e2.exports = { builders: { partsBooleanEmail: { name: "Email Builder", description: "Use to build a boolean expression based on Email properties." }, partsGenericBoolean: { name: "Boolean Builder", description: "Use to build a boolean expression using data type helpers." }, genericAgentScorePair: { name: "AgentScorePair Builder", description: "Use to build an AgentScorePair value." }, partsGenericCommunication: { name: "Communication Sequence Builder", description: "Use to build a Communication value." }, genericDateTime: { name: "DateTime Builder", description: "Use to build a DateTime value." }, genericDuration: { name: "Duration Builder", description: "Use to build a Duration value." }, genericImage: { name: "Image Builder", description: "Use to build an Image value." }, genericInteger: { name: "Integer Builder", description: "Use to build an Integer value." }, genericVideo: { name: "Video Builder", description: "Use to build a Video value." }, partsGenericAudio: { name: "Audio Builder", description: "Use to build an audio expression using audio and prompt related helpers." }, partsLabelString: { name: "Label Builder", description: "Use to build a string expression using the label builder with string-related helpers." }, partsGenericPrompt: { name: "Prompt Builder", description: "Use to build a prompt expression using prompt related helpers." }, partsGenericString: { name: "String Builder", description: "Use to build a string expression using string-related helpers." }, partMarkdownCommunication: { name: "Rich Text Builder", description: "Build a Communication value using a rich text editor." }, partMarkdownString: { name: "Rich Text Builder", description: "Build a String value using a rich text editor." }, shared: { details: { builderPartsNone: "There are no items configured.", builderPartsOne: "There is one item configured.", builderPartsMoreThanOne: "There are %1$s items configured." } } }, builderParts: { agentScorePair: { makeAgentScorePair: { description: "Creates an AgentScorePair for given user and score.", name: "Make AgentScorePair", expressions: { user: "User", userDescription: "If a literal user is selected, the FindUserById function is used at runtime with that user's id. If that user is not found, a NOT_SET AgentScorePair value is returned.", score: "Score" } } }, audio: { text: { description: "Specifies an Audio value using a String literal.", name: "Text" } }, boolean: { checkDialingCode: { description: "Checks a phone number to see if it has a specified dialing code.", expressions: { phoneNumber: { label: "Phone number" }, dialingCode: { label: "Dialing code" } }, name: "Check phone number dialing code" }, expression: { description: "Specifies a Boolean value using a Boolean expression.", name: "Expression" }, literal: { description: "Specifies a Boolean value using a Boolean literal.", name: "Boolean" } }, communication: { data: { description: "Gets a Communication value for a variable. For a variable whose type is not directly convertible to a Communication value via. the ToCommunication function call, the variable will be converted to a string using ToDisplayString if the flow type supports it (otherwise ToString if ToDisplayString is not supported).", name: "Data" }, digitalAudioUrlText: { description: "Supply a String value to use as the URL for a Digital Audio.", name: "Digital Audio URL" }, expression: { description: "Specifies a Communication value from a Communication expression.", name: "Expression" }, fileUrlText: { description: "Supply a String value to use as the URL for a File.", name: "File URL" }, markdown: { description: "Use an editor to create a Communication value.", name: "Rich Text" }, prompt: { description: "Specifies a Communication value from a Prompt expression.", name: "Prompt" }, text: { description: "Specifies a Communication value from a Text expression.", name: "Text" }, imageUrlText: { description: "Supply a String value to use as the URL for an Image.", name: "Image URL" }, videoUrlText: { description: "Supply a String value to use as the URL for a Video.", name: "Video URL" }, blank: { blankCommunicationDescription: "Specifies a Communication value that supplies blank audio for a specified duration when the output mode is voice. For other output modes, this value is ignored at runtime.", blankCommunicationName: "Blank" } }, container: { language: { name: "Flow Language", description: "A container for flow supported language handling." }, languageAndOutputMode: { name: "Flow Language and Output Mode", description: "A container for flow supported language and output mode handling." }, outputMode: { name: "Output Mode", description: "A container for flow supported output mode handling." } }, dateTime: { firstDayOfNextMonth: { description: "For the given DateTime, calculates the first day of the next month at 12:00:00AM.", name: "First day of next month" }, isInDateTimeRange: { dateTimeEnd: "Ending DateTime", dateTimeStart: "Starting DateTime", description: "Checks a DateTime to see if it is greater than or equal to a starting DateTime and less than an ending DateTime.", name: "Is in DateTime Range" }, isInTimeRange: { dateTimeEnd: { description: "A DateTime value that will supply the ending time for the calculation.", label: "Ending Time", name: "End DateTime" }, dateTimeStart: { description: "A DateTime value that will supply the starting time for the calculation.", label: "Starting Time", name: "Start DateTime" }, description: "Checks the time portion of a DateTime to see if it is greater than or equal to the time portion of a starting DateTime and less than the time portion of an ending DateTime.", name: "Is in Time Range" }, isWeekday: { description: "Checks a DateTime to see if its day of week is Monday, Tuesday, Wednesday, Thursday or Friday.", name: "Is Weekday" }, isWeekend: { description: "Checks a DateTime to see if its day of week is Saturday or Sunday.", name: "Is Weekend" }, lastDayOfMonth: { description: "For the given DateTime, this calculates the last day of the month at 12:00:00AM.", name: "Last day of month" }, nextDayOfWeek: { description: "For the given DateTime and day of week, this calculates the next occurrence of a specified day of week at 12:00:00AM.", expressions: { dayOfWeek: { description: "The desired next day of week where Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6 and Saturday=7.", label: "Day of week", name: "Day of Week" }, dayOfWeekMatch: { description: "If False and the specified DateTime value matches the specified day of week, uses the specified DateTime plus 1 week.", label: "Use specified DateTime date if day of week matches", name: "Matching day of week handling" } }, name: "Next day of week" } }, duration: { literal: { description: "Specifies a Duration value using a Duration literal.", name: "Duration" } }, email: { subjectContains: { description: "Checks the Email subject to see if it contains specified String value.", expressions: { stringToCheck: { label: "Email subject contains:" } }, name: "Email subject contains" }, bodyContains: { description: "Checks to see if the body of the Email contains specified String value.", expressions: { stringToCheck: { label: "Email body contains:" } }, name: "Check email body" }, subjectOrBodyContains: { description: "Checks to see if the subject or body of the Email contains specified String value.", expressions: { stringToCheck: { label: "Email subject or body contains:" } }, name: "Check email subject or body" }, fromDomainPartContains: { description: `Checks to see if the domain part of the sender's email address contains a specified String value such as "example.com" from "john.doe@example.com".`, expressions: { stringToCheck: { label: "Email sender's email address domain contains:" } }, name: "Check email sender domain" }, fromLocalPartContains: { description: `Checks to see if the local part of the sender's email address contains a specified String value such as "john.doe" from "john.doe@example.com".`, expressions: { stringToCheck: { label: "Email sender's email address name contains:" } }, name: "Check email sender name" } }, image: { imageUrlText: { description: "Supply a String value to use as the URL for an Image.", name: "Image URL" }, expression: { description: "Specifies an Image value from an Image expression.", name: "Expression" }, literal: { description: "Specifies an Image value using an Image literal.", name: "Image" } }, integer: { literal: { description: "Specifies a Integer value using a Integer literal.", name: "Integer" } }, shared: { expressions: { calculationDateTime: { label: "DateTime for calculation" }, dateTimeBoolCheck: { label: "DateTime" } } }, string: { contains: { description: "Checks a String to see if is exists in another String.", testString: "Contains:", name: "Contains" }, data: { description: "Gets a String value for a variable. For non-String type variables, if used in call flows, the variable value will be converted to a String using a ToString function call. For non-call flow types, the variable value will be converted to a String using a ToDisplayString function call.", name: "Data" }, deflectionURL: { description: "Gets a String value for a Deflection URL. This includes the Service and the Account ID.", name: "Deflection URL", serviceLabel: "Service", accountLabel: "Account" }, endsWith: { description: "Checks a String value to see it ends with another String value.", testString: "Ends with:", name: "Ends with" }, expression: { description: "Specifies a String value using a String expression. For expression text that does not evaluate to a String, if used in call flows, the value will be converted to a String using a ToString function call. For non-call flow types, the value will be converted to a String using a ToDisplayString function call.", name: "Expression" }, followingString: "The Following String:", ignoreCase: { label: "Ignore Case" }, lastFour: { description: "Retrieves the last four characters from specified String value such as a credit card number.", sourceString: "Last four characters of:", name: "Last four characters" }, markdown: { description: "Use an editor to create a String value.", name: "Rich Text" }, prompt: { description: "Gets the text to speech or text String value from a prompt for the language the flow is currently running in.", name: "Prompt" }, startsWith: { description: "Checks a String value to see if it starts with another String value.", testString: "Starts with:", name: "Starts with" }, text: { description: "Specifies a String value using a String literal.", name: "Text" } }, video: { videoUrlText: { description: "Supply a String value to use as the URL for a Video.", name: "Video URL" } }, findPrompt: { fallbackLabel: "Fallback Prompt", system: { name: "Find system prompt with fallback", description: "Finds a system prompt by name at runtime with a fallback if not found.", findLabel: "System Prompt Name" }, user: { name: "Find user prompt with fallback", description: "Finds a user prompt by name at runtime with a fallback if not found.", findLabel: "User Prompt Name" } } }, categories: { agentScorePair: "AgentScorePair", agentScorePairDesc: "AgentScorePair functionality", communicationName: "Communication", communicationDesc: "Communication functionality", container: "Container", containerDesc: "Functionality to customize generated expression text based on a container filter such as a flow supported language", emailName: "Email", emailDesc: "Email functionality", labelStringName: "Label", labelStringDesc: "Functionality to create localized display label strings.", markdownName: "Rich Text", markdownDesc: "Functionality to build a rich text string", stringParsingName: "String Parsing", stringParsingDesc: "String parsing and checks", stringSequenceName: "String Sequence", stringSequenceDesc: "String Sequence building", phoneNumber: "Phone Number", phoneNumberDesc: "Phone Number value functionality", dateTime: "DateTime", dateTimeDesc: "DateTime functionality", prompt: "Prompt", promptDesc: "Prompt and Audio functionality" }, generators: { common: { emptyCollectionTypeGenerationDescription: "an empty %1$s collection", notSetSingletonTypeGenerationDescription: "a NOT_SET %1$s" }, emptyStringLiteral: { generationDescription: "an empty String" } } }; + }, 79411(e2) { + e2.exports = { AF: "Afghanistan", AX: "Aland Islands", AL: "Albania", DZ: "Algeria", AS: "American Samoa", AD: "Andorra", AO: "Angola", AI: "Anguilla", AQ: "Antarctica", AG: "Antigua and Barbuda", AR: "Argentina", AM: "Armenia", AW: "Aruba", AU: "Australia", AT: "Austria", AZ: "Azerbaijan", BS: "Bahamas", BH: "Bahrain", BD: "Bangladesh", BB: "Barbados", BY: "Belarus", BE: "Belgium", BZ: "Belize", BQ: "Bonaire, Sint Eustatius and Saba", BJ: "Benin", BM: "Bermuda", BT: "Bhutan", BO: "Bolivia, Plurinational State of", BA: "Bosnia and Herzegovina", BW: "Botswana", BV: "Bouvet Island", BR: "Brazil", IO: "British Indian Ocean Territory", BN: "Brunei Darussalam", BG: "Bulgaria", BF: "Burkina Faso", BI: "Burundi", KH: "Cambodia", CM: "Cameroon", CA: "Canada", CV: "Cape Verde", CW: "Cura\xE7ao", KY: "Cayman Islands", CF: "Central African Republic", TD: "Chad", CL: "Chile", CN: "China", CX: "Christmas Island", CC: "Cocos (Keeling) Islands", CO: "Colombia", KM: "Comoros", CG: "Congo", CD: "The Democratic Republic of the Congo", CK: "Cook Islands", CR: "Costa Rica", CI: "Cote d'Ivoire", HR: "Croatia", CU: "Cuba", CY: "Cyprus", CZ: "Czech Republic", DK: "Denmark", DJ: "Djibouti", DM: "Dominica", DO: "Dominican Republic", EC: "Ecuador", EG: "Egypt", SV: "El Salvador", GQ: "Equatorial Guinea", ER: "Eritrea", EE: "Estonia", ET: "Ethiopia", EH: "Western Sahara", FK: "Falkland Islands (Malvinas)", FO: "Faroe Islands", FJ: "Fiji", FI: "Finland", FR: "France", GF: "French Guiana", PF: "French Polynesia", TF: "French Southern Territories", GA: "Gabon", GM: "Gambia", GE: "Georgia", DE: "Germany", GH: "Ghana", GI: "Gibraltar", GR: "Greece", GL: "Greenland", GD: "Grenada", GP: "Guadeloupe", GU: "Guam", GT: "Guatemala", GG: "Guernsey", GN: "Guinea", GW: "Guinea-Bissau", GY: "Guyana", HT: "Haiti", VA: "Holy See", HN: "Honduras", HK: "Hong Kong", HU: "Hungary", IS: "Iceland", IN: "India", ID: "Indonesia", IR: "Iran", IQ: "Iraq", IE: "Ireland", IM: "Isle of Man", IL: "Israel", IT: "Italy", JM: "Jamaica", JP: "Japan", JE: "Jersey", JO: "Jordan", HM: "Heard Island and McDonald Islands", KZ: "Kazakhstan", KE: "Kenya", KI: "Kiribati", KP: "Korea, Democratic People's Republic of", KR: "Republic of South Korea", XK: "Kosovo", KW: "Kuwait", KG: "Kyrgyzstan", LA: "Laos", LV: "Latvia", LB: "Lebanon", LS: "Lesotho", LR: "Liberia", LY: "Libyan Arab Jamahiriya", LI: "Liechtenstein", LT: "Lithuania", LU: "Luxembourg", MO: "Macao", MK: "Macedonia", MG: "Madagascar", MW: "Malawi", MY: "Malaysia", MV: "Maldives", ML: "Mali", MT: "Malta", MH: "Marshall Islands", MQ: "Martinique", MR: "Mauritania", MU: "Mauritius", YT: "Mayotte", MX: "Mexico", FM: "Micronesia, Federated States of", MD: "Moldova", MC: "Monaco", MN: "Mongolia", ME: "Montenegro", MS: "Montserrat", MA: "Morocco", MZ: "Mozambique", MM: "Myanmar", NA: "Namibia", NR: "Nauru", NP: "Nepal", NL: "Netherlands", AN: "Netherlands Antilles", NC: "New Caledonia", NZ: "New Zealand", NI: "Nicaragua", NE: "Niger", NG: "Nigeria", NU: "Niue", NF: "Norfolk Island", MP: "Northern Mariana Islands", NO: "Norway", OM: "Oman", PK: "Pakistan", PW: "Palau", PS: "Palestine, State of", PA: "Panama", PG: "Papua New Guinea", PY: "Paraguay", PE: "Peru", PH: "Philippines", PN: "Pitcairn", PL: "Poland", PT: "Portugal", PR: "Puerto Rico", QA: "Qatar", RO: "Romania", RU: "Russia", RW: "Rwanda", RE: "Reunion", BL: "Saint Barthelemy", SH: "Saint Helena, Ascension and Tristan Da Cunha", KN: "Saint Kitts and Nevis", LC: "Saint Lucia", MF: "Saint Martin", PM: "Saint Pierre and Miquelon", VC: "Saint Vincent and the Grenadines", WS: "Samoa", SM: "San Marino", ST: "Sao Tome and Principe", SA: "Saudi Arabia", SN: "Senegal", RS: "Serbia", SC: "Seychelles", SL: "Sierra Leone", SG: "Singapore", SK: "Slovakia", SI: "Slovenia", SB: "Solomon Islands", SO: "Somalia", ZA: "South Africa", GS: "South Georgia and the South Sandwich Islands", SS: "South Sudan", SX: "Sint Maarten", ES: "Spain", LK: "Sri Lanka", SD: "Sudan", SR: "Suriname", SJ: "Svalbard and Jan Mayen", SZ: "Swaziland", SE: "Sweden", CH: "Switzerland", SY: "Syrian Arab Republic", TW: "Taiwan", TJ: "Tajikistan", TZ: "Tanzania, United Republic of", TH: "Thailand", TL: "Timor-Leste", TG: "Togo", TK: "Tokelau", TO: "Tonga", TT: "Trinidad and Tobago", TN: "Tunisia", TR: "Turkey", TM: "Turkmenistan", TC: "Turks and Caicos Islands", TV: "Tuvalu", UG: "Uganda", UA: "Ukraine", AE: "United Arab Emirates", GB: "United Kingdom", US: "United States", UM: "United States Minor Outlying Islands", UY: "Uruguay", UZ: "Uzbekistan", VU: "Vanuatu", VE: "Venezuela, Bolivarian Republic of", VN: "Vietnam", VG: "Virgin Islands, British", VI: "Virgin Islands, U.S.", WF: "Wallis and Futuna", YE: "Yemen", ZM: "Zambia", ZW: "Zimbabwe" }; + }, 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" } }; + }, 20650(e2) { + e2.exports = { expression: { AR_CT_AUDIO: "Audio", AR_CT_DSC_AUDIO: "Contains non type casting Audio functions.", AR_CT_CAST: "Type Cast", AR_CT_DSC_CAST: "Contains functions that cast values from one type to another type.", AR_CT_COMPARISON: "Comparison", AR_CT_DSC_COMPARISON: "Contains operators and functions that compare values.", AR_CT_COMPLEX: "Complex", AR_CT_DSC_COMPLEX: "Contains generic complex value related functions.", AR_CT_DTM: "DateTime", AR_CT_DSC_DTM: "Contains DateTime related functions.", AR_CT_EMAIL: "Email", AR_CT_DSC_EMAIL: "Contains Email related functions.", AR_CT_FINANCIAL: "Financial", AR_CT_DSC_FINANCIAL: "Contains financial related functions.", AR_CT_LIST: "List", AR_CT_DSC_LIST: "Contains functions applicable to collections.", AR_CT_LOGICAL: "Logical", AR_CT_DSC_LOGICAL: "Contains logical functions like And, Or and If.", AR_CT_LANGUAGE: "Language", AR_CT_DSC_LANGUAGE: "Contains language related functions.", AR_CT_JSON: "JSON", AR_CT_DSC_JSON: "Contains JSON related functions.", AR_CT_MATHEMATICAL: "Mathematical", AR_CT_DSC_MATHEMATICAL: "Contains mathematical functions like Round, Sum, mathematical operators including bitwise operators.", AR_CT_OPERATORS: "Operators", AR_CT_DSC_OPERATORS: "Contains equality, comparison, math and unary operators.", AR_CT_PROMPT: "Prompt", AR_CT_DSC_PROMPT: "Contains Prompt related functions.", AR_CT_SEARCH: "Search", AR_CT_DSC_SEARCH: "Contains search functions that allow for lookups.", AR_CT_STATISTICAL: "Statistical", AR_CT_DSC_STATISTICAL: "Contains statistical functions like Average.", AR_CT_SURVEY: "Survey", AR_CT_DSC_SURVEY: "Contains voice survey related functions.", AR_CT_TEXT: "Text", AR_CT_DSC_TEXT: "Contains functions that work with strings.", AR_CT_UNARY: "Unary", AR_CT_DSC_UNARY: "Contains negation and Boolean not operators." } }; + }, 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_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_GETCOLLECTIONPROPERTYVALUES: "Returns a collection of property values for a given property name from the items in a collection.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_DSC: "Returns a collection of values for the specified property from each item in the supplied collection. The collection must be a data type that supports properties. If an item in the collection is NOT_SET, the corresponding value in the returned collection is NOT_SET since there is no property to access. For JSON collections, only items that are JSON objects are considered; any other item or an item missing the property resolves to NOT_SET.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_RV: "Returns a collection containing the value of the specified property from each item in the supplied collection.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_PRM_DSC_0: "The collection whose items' property values are to be returned. Must be a data type that supports properties.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_PRM_DSC_1: "The name of the property to retrieve from each item in the collection. This must be a string literal.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_EX_OUT_0: "A String collection containing the IDs of the Marketing and Support queues followed by NOT_SET for the queue that could not be found.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_DSC: "Returns a collection of values for the specified property from each item in the supplied collection. If an item in the collection is NOT_SET, the corresponding value in the returned collection is NOT_SET, since there is no property to access. If unique is true, only unique property values are returned. This is a shorthand for RemoveDups(GetCollectionPropertyValues(collection, propertyName)).", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_RV: "Returns a collection containing the value of the specified property from each item in the supplied collection, with duplicate values removed when unique is true.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_PRM_DSC_0: "The collection whose items' property values are to be returned. Must be a data type that supports properties.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_PRM_DSC_1: "The name of the property to retrieve from each item in the collection. This must be a string literal.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_PRM_DSC_2: "Whether only unique property values should be returned in the resulting collection.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_EX_OUT_0: "A String collection containing the unique IDs of the Marketing and Support queues.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_DSC: "Returns a collection of values for the specified property from each item in the supplied collection. If an item in the collection is NOT_SET, the corresponding value in the returned collection is NOT_SET, since there is no property to access. If unique is true and ignoreCase is true, String property values are compared case insensitively when determining uniqueness. This is a shorthand for RemoveDups(GetCollectionPropertyValues(collection, propertyName), true).", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_RV: "Returns a collection containing the value of the specified property from each item in the supplied collection, with duplicate values removed when unique is true.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_0: "The collection whose items' property values are to be returned. Must be a data type that supports properties.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_1: "The name of the property to retrieve from each item in the collection. This must be a string literal.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_2: "Whether only unique property values should be returned in the resulting collection.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_PRM_DSC_3: "When unique is true, whether String property values should be compared case insensitively when determining uniqueness.", AR_FN_ANY_COLL_GETCOLLECTIONPROPERTYVALUES_ANY_COLL_STR_BLN_BLN_EX_OUT_0: 'A JSON collection containing a single JSON value with the string "Marketing".', 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 value of the knowledge base document label property to match on.", AR_FN_LNG_FINDFIRSTITEM_KNOWLEDGEBASEDOCUMENT_COLL_STR_STR_PRM_DSC_2: "The name 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 value and name 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 value of the assigned customer segment property to match on.", AR_FN_LNG_FINDFIRSTITEM_ASSIGNEDCUSTOMERSEGMENT_COLL_STR_STR_PRM_DSC_2: "The name 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." } }; + }, 92421(e2) { + e2.exports = { af: "Afrikaans", af_na: "Afrikaans (Namibia)", af_za: "Afrikaans (South Africa)", agq: "Aghem", agq_cm: "Aghem (Cameroon)", ak: "Akan", ak_gh: "Akan (Ghana)", am: "Amharic", am_et: "Amharic (Ethiopia)", ar: "Arabic", ar_001: "Arabic (World)", ar_ae: "Arabic (United Arab Emirates)", ar_bh: "Arabic (Bahrain)", ar_dj: "Arabic (Djibouti)", ar_dz: "Arabic (Algeria)", ar_eg: "Arabic (Egypt)", ar_eh: "Arabic (Western Sahara)", ar_er: "Arabic (Eritrea)", ar_il: "Arabic (Israel)", ar_iq: "Arabic (Iraq)", ar_jo: "Arabic (Jordan)", ar_km: "Arabic (Comoros)", ar_kw: "Arabic (Kuwait)", ar_lb: "Arabic (Lebanon)", ar_ly: "Arabic (Libya)", ar_ma: "Arabic (Morocco)", ar_mr: "Arabic (Mauritania)", ar_om: "Arabic (Oman)", ar_ps: "Arabic (Palestinian Territories)", ar_qa: "Arabic (Qatar)", ar_sa: "Arabic (Saudi Arabia)", ar_sd: "Arabic (Sudan)", ar_so: "Arabic (Somalia)", ar_sy: "Arabic (Syria)", ar_td: "Arabic (Chad)", ar_tn: "Arabic (Tunisia)", ar_ye: "Arabic (Yemen)", arn_cl: "Mapudungun (Chile)", as: "Assamese", as_in: "Assamese (India)", asa: "Asu", asa_tz: "Asu (Tanzania)", az: "Azerbaijani", az_cyrl: "Azerbaijani (Cyrillic)", az_cyrl_az: "Azerbaijani (Cyrillic, Azerbaijan)", az_latn: "Azerbaijani (Latin)", az_latn_az: "Azerbaijani (Latin, Azerbaijan)", ba_ru: "Bashkir (Russia)", bas: "Basaa", bas_cm: "Basaa (Cameroon)", be: "Belarusian", be_by: "Belarusian (Belarus)", bem: "Bemba", bem_zm: "Bemba (Zambia)", bez: "Bena", bez_tz: "Bena (Tanzania)", bg: "Bulgarian", bg_bg: "Bulgarian (Bulgaria)", bm: "Bambara", bm_ml: "Bambara (Mali)", bn: "Bengali", bn_bd: "Bengali (Bangladesh)", bn_in: "Bengali (India)", bo: "Tibetan", bo_cn: "Tibetan (China)", bo_in: "Tibetan (India)", br: "Breton", br_fr: "Breton (France)", brx: "Bodo", brx_in: "Bodo (India)", bs: "Bosnian", bs_cyrl: "Bosnian (Cyrillic)", bs_cyrl_ba: "Bosnian (Cyrillic, Bosnia and Herzegovina)", bs_latn: "Bosnian (Latin)", bs_latn_ba: "Bosnian (Latin, Bosnia and Herzegovina)", ca: "Catalan", ca_ad: "Catalan (Andorra)", ca_es: "Catalan (Spain)", cgg: "Chiga", cgg_ug: "Chiga (Uganda)", chr: "Cherokee", chr_us: "Cherokee (United States)", co_fr: "Corsican (France)", cs: "Czech", cs_cz: "Czech (Czech Republic)", cy: "Welsh", cy_gb: "Welsh (United Kingdom)", da: "Danish", da_dk: "Danish (Denmark)", dav: "Taita", dav_ke: "Taita (Kenya)", de: "German", de_at: "German (Austria)", de_be: "German (Belgium)", de_ch: "German (Switzerland)", de_de: "German (Germany)", de_li: "German (Liechtenstein)", de_lu: "German (Luxembourg)", dje: "Zarma", dje_ne: "Zarma (Niger)", dsb_de: "Lower Sorbian (Germany)", dua: "Duala", dua_cm: "Duala (Cameroon)", dv_mv: "Divehi (Maldives)", dyo: "Jola-Fonyi", dyo_sn: "Jola-Fonyi (Senegal)", dz: "Dzongkha", dz_bt: "Dzongkha (Bhutan)", ebu: "Embu", ebu_ke: "Embu (Kenya)", ee: "Ewe", ee_gh: "Ewe (Ghana)", ee_tg: "Ewe (Togo)", el: "Greek", el_cy: "Greek (Cyprus)", el_gr: "Greek (Greece)", en: "English", en_029: "English (Caribbean)", en_150: "English (Europe)", en_ag: "English (Antigua and Barbuda)", en_as: "English (American Samoa)", en_au: "English (Australia)", en_bb: "English (Barbados)", en_be: "English (Belgium)", en_bm: "English (Bermuda)", en_bs: "English (Bahamas)", en_bw: "English (Botswana)", en_bz: "English (Belize)", en_ca: "English (Canada)", en_cm: "English (Cameroon)", en_dm: "English (Dominica)", en_fj: "English (Fiji)", en_fm: "English (Micronesia)", en_gb: "English (United Kingdom)", en_gb_wls: "English (Wales)", en_gd: "English (Grenada)", en_gg: "English (Guernsey)", en_gh: "English (Ghana)", en_gi: "English (Gibraltar)", en_gm: "English (Gambia)", en_gu: "English (Guam)", en_gy: "English (Guyana)", en_hk: "English (Hong Kong SAR China)", en_ie: "English (Ireland)", en_im: "English (Isle of Man)", en_in: "English (India)", en_je: "English (Jersey)", en_jm: "English (Jamaica)", en_ke: "English (Kenya)", en_ki: "English (Kiribati)", en_kn: "English (Saint Kitts and Nevis)", en_ky: "English (Cayman Islands)", en_lc: "English (Saint Lucia)", en_lr: "English (Liberia)", en_ls: "English (Lesotho)", en_mg: "English (Madagascar)", en_mh: "English (Marshall Islands)", en_mp: "English (Northern Mariana Islands)", en_mt: "English (Malta)", en_mu: "English (Mauritius)", en_mw: "English (Malawi)", en_my: "English (Malaysia)", en_na: "English (Namibia)", en_ng: "English (Nigeria)", en_nz: "English (New Zealand)", en_pg: "English (Papua New Guinea)", en_ph: "English (Philippines)", en_pk: "English (Pakistan)", en_pr: "English (Puerto Rico)", en_pw: "English (Palau)", en_sb: "English (Solomon Islands)", en_sc: "English (Seychelles)", en_sg: "English (Singapore)", en_sl: "English (Sierra Leone)", en_ss: "English (South Sudan)", en_sz: "English (Swaziland)", en_tc: "English (Turks and Caicos Islands)", en_to: "English (Tonga)", en_tt: "English (Trinidad and Tobago)", en_tz: "English (Tanzania)", en_ug: "English (Uganda)", en_um: "English (U.S. Outlying Islands)", en_us: "English (United States)", en_vc: "English (Saint Vincent and the Grenadines)", en_vg: "English (British Virgin Islands)", en_vi: "English (U.S. Virgin Islands)", en_vu: "English (Vanuatu)", en_ws: "English (Samoa)", en_za: "English (South Africa)", en_zm: "English (Zambia)", en_zw: "English (Zimbabwe)", eo: "Esperanto", es: "Spanish", es_419: "Spanish (Latin America)", es_ar: "Spanish (Argentina)", es_bo: "Spanish (Bolivia)", es_cl: "Spanish (Chile)", es_co: "Spanish (Colombia)", es_cr: "Spanish (Costa Rica)", es_cu: "Spanish (Cuba)", es_do: "Spanish (Dominican Republic)", es_ea: "Spanish (Ceuta and Melilla)", es_ec: "Spanish (Ecuador)", es_es: "Spanish (Spain)", es_gq: "Spanish (Equatorial Guinea)", es_gt: "Spanish (Guatemala)", es_hn: "Spanish (Honduras)", es_ic: "Spanish (Canary Islands)", es_mx: "Spanish (Mexico)", es_ni: "Spanish (Nicaragua)", es_pa: "Spanish (Panama)", es_pe: "Spanish (Peru)", es_ph: "Spanish (Philippines)", es_pr: "Spanish (Puerto Rico)", es_py: "Spanish (Paraguay)", es_sv: "Spanish (El Salvador)", es_us: "Spanish (United States)", es_uy: "Spanish (Uruguay)", es_ve: "Spanish (Venezuela)", et: "Estonian", et_ee: "Estonian (Estonia)", eu: "Basque", eu_es: "Basque (Spain)", ewo: "Ewondo", ewo_cm: "Ewondo (Cameroon)", fa: "Persian", fa_af: "Persian (Afghanistan)", fa_ir: "Persian (Iran)", ff: "Fulah", ff_sn: "Fulah (Senegal)", fi: "Finnish", fi_fi: "Finnish (Finland)", fil: "Filipino", fil_ph: "Filipino (Philippines)", fo: "Faroese", fo_fo: "Faroese (Faroe Islands)", fr: "French", fr_be: "French (Belgium)", fr_bf: "French (Burkina Faso)", fr_bi: "French (Burundi)", fr_bj: "French (Benin)", fr_bl: "French (Saint Barth\xE9lemy)", fr_ca: "French (Canada)", fr_cd: "French (Congo - Kinshasa)", fr_cf: "French (Central African Republic)", fr_cg: "French (Congo - Brazzaville)", fr_ch: "French (Switzerland)", fr_ci: "French (C\xF4te d'Ivoire)", fr_cm: "French (Cameroon)", fr_dj: "French (Djibouti)", fr_dz: "French (Algeria)", fr_fr: "French (France)", fr_ga: "French (Gabon)", fr_gf: "French (French Guiana)", fr_gn: "French (Guinea)", fr_gp: "French (Guadeloupe)", fr_gq: "French (Equatorial Guinea)", fr_ht: "French (Haiti)", fr_km: "French (Comoros)", fr_lu: "French (Luxembourg)", fr_ma: "French (Morocco)", fr_mc: "French (Monaco)", fr_mf: "French (Saint Martin)", fr_mg: "French (Madagascar)", fr_ml: "French (Mali)", fr_mq: "French (Martinique)", fr_mr: "French (Mauritania)", fr_mu: "French (Mauritius)", fr_nc: "French (New Caledonia)", fr_ne: "French (Niger)", fr_pf: "French (French Polynesia)", fr_re: "French (R\xE9union)", fr_rw: "French (Rwanda)", fr_sc: "French (Seychelles)", fr_sn: "French (Senegal)", fr_sy: "French (Syria)", fr_td: "French (Chad)", fr_tg: "French (Togo)", fr_tn: "French (Tunisia)", fr_vu: "French (Vanuatu)", fr_yt: "French (Mayotte)", fy_nl: "Frisian (Netherlands)", ga: "Irish", ga_ie: "Irish (Ireland)", gd_gb: "Scottish Gaelic (United Kingdom)", gl: "Galician", gl_es: "Galician (Spain)", gsw: "Swiss German", gsw_ch: "Swiss German (Switzerland)", gsw_fr: "Alsatian (France)", gu: "Gujarati", gu_in: "Gujarati (India)", guz: "Gusii", guz_ke: "Gusii (Kenya)", gv: "Manx", gv_gb: "Manx (United Kingdom)", ha: "Hausa", ha_latn: "Hausa (Latin)", ha_latn_gh: "Hausa (Latin, Ghana)", ha_latn_ne: "Hausa (Latin, Niger)", ha_latn_ng: "Hausa (Latin, Nigeria)", ha_ng: "Hausa-Latin (Nigeria)", haw: "Hawaiian", haw_us: "Hawaiian (United States)", he: "Hebrew", he_il: "Hebrew (Israel)", hi: "Hindi", hi_in: "Hindi (India)", hr: "Croatian", hr_ba: "Croatian (Bosnia and Herzegovina)", hr_hr: "Croatian (Croatia)", hsb_de: "Upper Sorbian (Germany)", hu: "Hungarian", hu_hu: "Hungarian (Hungary)", hy: "Armenian", hy_am: "Armenian (Armenia)", id: "Indonesian", id_id: "Indonesian (Indonesia)", ig: "Igbo", ig_ng: "Igbo (Nigeria)", ii: "Sichuan Yi", ii_cn: "Sichuan Yi (China)", is: "Icelandic", is_is: "Icelandic (Iceland)", it: "Italian", it_ch: "Italian (Switzerland)", it_it: "Italian (Italy)", it_sm: "Italian (San Marino)", ja: "Japanese", ja_jp: "Japanese (Japan)", jgo: "Ngomba", jgo_cm: "Ngomba (Cameroon)", jmc: "Machame", jmc_tz: "Machame (Tanzania)", ka: "Georgian", ka_ge: "Georgian (Georgia)", kab: "Kabyle", kab_dz: "Kabyle (Algeria)", kam: "Kamba", kam_ke: "Kamba (Kenya)", kde: "Makonde", kde_tz: "Makonde (Tanzania)", kea: "Kabuverdianu", kea_cv: "Kabuverdianu (Cape Verde)", khq: "Koyra Chiini", khq_ml: "Koyra Chiini (Mali)", ki: "Kikuyu", ki_ke: "Kikuyu (Kenya)", kk: "Kazakh", kk_cyrl: "Kazakh (Cyrillic)", kk_cyrl_kz: "Kazakh (Cyrillic, Kazakhstan)", kk_kz: "Kazakh (Kazakhstan)", kl: "Kalaallisut", kl_gl: "Kalaallisut (Greenland)", kln: "Kalenjin", kln_ke: "Kalenjin (Kenya)", km: "Khmer", km_kh: "Khmer (Cambodia)", kn: "Kannada", kn_in: "Kannada (India)", ko: "Korean", ko_kp: "Korean (North Korea)", ko_kr: "Korean (South Korea)", kok: "Konkani", kok_in: "Konkani (India)", ks: "Kashmiri", ks_arab: "Kashmiri (Arabic)", ks_arab_in: "Kashmiri (Arabic, India)", ksb: "Shambala", ksb_tz: "Shambala (Tanzania)", ksf: "Bafia", ksf_cm: "Bafia (Cameroon)", kw: "Cornish", kw_gb: "Cornish (United Kingdom)", ky_kg: "Kyrgyz (Kyrgyzstan)", lag: "Langi", lag_tz: "Langi (Tanzania)", lb_lu: "Luxembourgish (Luxembourg)", lg: "Ganda", lg_ug: "Ganda (Uganda)", ln: "Lingala", ln_ao: "Lingala (Angola)", ln_cd: "Lingala (Congo - Kinshasa)", ln_cf: "Lingala (Central African Republic)", ln_cg: "Lingala (Congo - Brazzaville)", lo: "Lao", lo_la: "Lao (Laos)", lt: "Lithuanian", lt_lt: "Lithuanian (Lithuania)", lu: "Luba-Katanga", lu_cd: "Luba-Katanga (Congo - Kinshasa)", luo: "Luo", luo_ke: "Luo (Kenya)", luy: "Luyia", luy_ke: "Luyia (Kenya)", lv: "Latvian", lv_lv: "Latvian (Latvia)", mas: "Masai", mas_ke: "Masai (Kenya)", mas_tz: "Masai (Tanzania)", mer: "Meru", mer_ke: "Meru (Kenya)", mfe: "Morisyen", mfe_mu: "Morisyen (Mauritius)", mg: "Malagasy", mg_mg: "Malagasy (Madagascar)", mgh: "Makhuwa-Meetto", mgh_mz: "Makhuwa-Meetto (Mozambique)", mgo: "Meta'", mgo_cm: "Meta' (Cameroon)", mi_nz: "Maori (New Zealand)", mk: "Macedonian", mk_mk: "Macedonian (Macedonia)", ml: "Malayalam", ml_in: "Malayalam (India)", mn_cn: "Mongolian-Traditional Mongolian (People's Republic of China)", mn_mn: "Mongolian-Cyrillic (Mongolia)", moh_ca: "Mohawk (Canada)", mr: "Marathi", mr_in: "Marathi (India)", ms: "Malay", ms_bn: "Malay (Brunei)", ms_my: "Malay (Malaysia)", ms_sg: "Malay (Singapore)", mt: "Maltese", mt_mt: "Maltese (Malta)", mua: "Mundang", mua_cm: "Mundang (Cameroon)", my: "Burmese", my_mm: "Burmese (Myanmar (Burma))", naq: "Nama", naq_na: "Nama (Namibia)", nb: "Norwegian Bokm\xE5l", nb_no: "Norwegian Bokm\xE5l (Norway)", nd: "North Ndebele", nd_zw: "North Ndebele (Zimbabwe)", ne: "Nepali", ne_in: "Nepali (India)", ne_np: "Nepali (Nepal)", nl: "Dutch", nl_aw: "Dutch (Aruba)", nl_be: "Dutch (Belgium)", nl_cw: "Dutch (Cura\xE7ao)", nl_nl: "Dutch (Netherlands)", nl_sr: "Dutch (Suriname)", nl_sx: "Dutch (Sint Maarten)", nmg: "Kwasio", nmg_cm: "Kwasio (Cameroon)", nn: "Norwegian Nynorsk", nn_no: "Norwegian Nynorsk (Norway)", no: "Norwegian Nynorsk", nso_za: "Sesotho sa Leboa (South Africa)", nus: "Nuer", nus_sd: "Nuer (Sudan)", nyn: "Nyankole", nyn_ug: "Nyankole (Uganda)", oc_fr: "Occitan (France)", om: "Oromo", om_et: "Oromo (Ethiopia)", om_ke: "Oromo (Kenya)", or: "Oriya", or_in: "Oriya (India)", pa: "Punjabi", pa_arab: "Punjabi (Arabic)", pa_arab_pk: "Punjabi (Arabic, Pakistan)", pa_guru: "Punjabi (Gurmukhi)", pa_guru_in: "Punjabi (Gurmukhi, India)", pa_in: "Punjabi (India)", pl: "Polish", pl_pl: "Polish (Poland)", prs_af: "Dari (Afghanistan)", ps: "Pashto", ps_af: "Pashto (Afghanistan)", pt: "Portuguese", pt_ao: "Portuguese (Angola)", pt_br: "Portuguese (Brazil)", pt_cv: "Portuguese (Cape Verde)", pt_gw: "Portuguese (Guinea-Bissau)", pt_mo: "Portuguese (Macau SAR China)", pt_mz: "Portuguese (Mozambique)", pt_pt: "Portuguese (Portugal)", pt_st: "Portuguese (S\xE3o Tom\xE9 and Pr\xEDncipe)", pt_tl: "Portuguese (Timor-Leste)", qut_gt: "K'iche (Guatemala)", quz_bo: "Quechua (Bolivia)", quz_ec: "Quechua (Ecuador)", quz_pe: "Quechua (Peru)", rm: "Romansh", rm_ch: "Romansh (Switzerland)", rn: "Rundi", rn_bi: "Rundi (Burundi)", ro: "Romanian", ro_md: "Romanian (Moldova)", ro_ro: "Romanian (Romania)", rof: "Rombo", rof_tz: "Rombo (Tanzania)", ru: "Russian", ru_by: "Russian (Belarus)", ru_kg: "Russian (Kyrgyzstan)", ru_kz: "Russian (Kazakhstan)", ru_md: "Russian (Moldova)", ru_ru: "Russian (Russia)", ru_ua: "Russian (Ukraine)", rw: "Kinyarwanda", rw_rw: "Kinyarwanda (Rwanda)", rwk: "Rwa", rwk_tz: "Rwa (Tanzania)", sa_in: "Sanskrit (India)", sah_ru: "Yakut (Russia)", saq: "Samburu", saq_ke: "Samburu (Kenya)", sbp: "Sangu", sbp_tz: "Sangu (Tanzania)", se_fi: "Sami-Northern (Finland)", se_no: "Sami-Northern (Norway)", se_se: "Sami-Northern (Sweden)", seh: "Sena", seh_mz: "Sena (Mozambique)", ses: "Koyraboro Senni", ses_ml: "Koyraboro Senni (Mali)", sg: "Sango", sg_cf: "Sango (Central African Republic)", shi: "Tachelhit", shi_latn: "Tachelhit (Latin)", shi_latn_ma: "Tachelhit (Latin, Morocco)", shi_tfng: "Tachelhit (Tifinagh)", shi_tfng_ma: "Tachelhit (Tifinagh, Morocco)", si: "Sinhala", si_lk: "Sinhala (Sri Lanka)", sk: "Slovak", sk_sk: "Slovak (Slovakia)", sl: "Slovenian", sl_si: "Slovenian (Slovenia)", sma_no: "Sami-Southern (Norway)", sma_se: "Sami-Southern (Sweden)", smj_no: "Sami-Lule (Norway)", smj_se: "Sami-Lule (Sweden)", smn_fi: "Sami-Inari (Finland)", sms_fi: "Sami-Skolt (Finland)", sn: "Shona", sn_zw: "Shona (Zimbabwe)", so: "Somali", so_dj: "Somali (Djibouti)", so_et: "Somali (Ethiopia)", so_ke: "Somali (Kenya)", so_so: "Somali (Somalia)", sq: "Albanian", sq_al: "Albanian (Albania)", sq_mk: "Albanian (Macedonia)", sr: "Serbian", sr_cyrl: "Serbian (Cyrillic)", sr_cyrl_ba: "Serbian (Cyrillic, Bosnia and Herzegovina)", sr_cyrl_cs: "Serbian-Cyrillic (Serbia and Montenegro (Former))", sr_cyrl_me: "Serbian (Cyrillic, Montenegro)", sr_cyrl_rs: "Serbian (Cyrillic, Serbia)", sr_latn: "Serbian (Latin)", sr_latn_ba: "Serbian (Latin, Bosnia and Herzegovina)", sr_latn_cs: "Serbian-Latin (Serbia and Montenegro (Former))", sr_latn_me: "Serbian (Latin, Montenegro)", sr_latn_rs: "Serbian (Latin, Serbia)", sv: "Swedish", sv_ax: "Swedish (\xC5land Islands)", sv_fi: "Swedish (Finland)", sv_se: "Swedish (Sweden)", sw: "Swahili", sw_ke: "Swahili (Kenya)", sw_tz: "Swahili (Tanzania)", sw_ug: "Swahili (Uganda)", swc: "Congo Swahili", swc_cd: "Congo Swahili (Congo - Kinshasa)", syr_sy: "Syriac (Syria)", ta: "Tamil", ta_in: "Tamil (India)", ta_lk: "Tamil (Sri Lanka)", ta_my: "Tamil (Malaysia)", ta_sg: "Tamil (Singapore)", te: "Telugu", te_in: "Telugu (India)", teo: "Teso", teo_ke: "Teso (Kenya)", teo_ug: "Teso (Uganda)", tg_tj: "Tajik-Cyrillic (Tajikistan)", th: "Thai", th_th: "Thai (Thailand)", ti: "Tigrinya", ti_er: "Tigrinya (Eritrea)", ti_et: "Tigrinya (Ethiopia)", tk_tm: "Turkmen (Turkmenistan)", tn_za: "Setswana (South Africa)", to: "Tongan", to_to: "Tongan (Tonga)", tr: "Turkish", tr_cy: "Turkish (Cyprus)", tr_tr: "Turkish (Turkey)", tt_ru: "Tatar (Russia)", twq: "Tasawaq", twq_ne: "Tasawaq (Niger)", tzm: "Central Atlas Tamazight", tzm_dz: "Tamazight-Latin (Algeria)", tzm_latn: "Central Atlas Tamazight (Latin)", tzm_latn_ma: "Central Atlas Tamazight (Latin, Morocco)", ug_cn: "Uyghur (People's Republic of China)", uk: "Ukrainian", uk_ua: "Ukrainian (Ukraine)", ur: "Urdu", ur_in: "Urdu (India)", ur_pk: "Urdu (Pakistan)", uz: "Uzbek", uz_arab: "Uzbek (Arabic)", uz_arab_af: "Uzbek (Arabic, Afghanistan)", uz_cyrl: "Uzbek (Cyrillic)", uz_cyrl_uz: "Uzbek (Cyrillic, Uzbekistan)", uz_latn: "Uzbek (Latin)", uz_latn_uz: "Uzbek (Latin, Uzbekistan)", vai: "Vai", vai_latn: "Vai (Latin)", vai_latn_lr: "Vai (Latin, Liberia)", vai_vaii: "Vai (Vai)", vai_vaii_lr: "Vai (Vai, Liberia)", vi: "Vietnamese", vi_vn: "Vietnamese (Vietnam)", vun: "Vunjo", vun_tz: "Vunjo (Tanzania)", wo_sn: "Wolof (Senegal)", xh_za: "isiXhosa (South Africa)", xog: "Soga", xog_ug: "Soga (Uganda)", yav: "Yangben", yav_cm: "Yangben (Cameroon)", yo: "Yoruba", yo_ng: "Yoruba (Nigeria)", zh: "Chinese", zh_cn: "Chinese-Simplified (People's Republic of China)", zh_hans: "Chinese (Simplified)", zh_hans_cn: "Chinese (Simplified, China)", zh_hans_hk: "Chinese (Simplified, Hong Kong SAR China)", zh_hans_mo: "Chinese (Simplified, Macau SAR China)", zh_hans_sg: "Chinese (Simplified, Singapore)", zh_hant: "Chinese (Traditional)", zh_hant_hk: "Chinese (Traditional, Hong Kong SAR China)", zh_hant_mo: "Chinese (Traditional, Macau SAR China)", zh_hant_tw: "Chinese (Traditional, Taiwan)", zh_hk: "Chinese-Traditional (Hong Kong S.A.R.)", zh_mo: "Chinese-Traditional (Macao S.A.R.)", zh_sg: "Chinese-Simplified (Singapore)", zh_tw: "Chinese-Traditional (Taiwan)", zu: "Zulu", zu_za: "Zulu (South Africa)" }; + }, 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", 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", digitalConnector: "Call Digital Connector", digitalMenu: "Digital Menu", disconnect: "Disconnect", disconnectWorkitem: "Disconnect Workitem", email: "Email", enableParticipantRecording: "Enable Participant Recording", encryptData: "Encrypt Data", endBusinessProcess: "End Business Process", 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", refreshTooltip: "Refresh the list of 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.", digitalConnectorVersionNotFound: "The selected connector version could not be found.", botIntegration: "Bot Integration", digitalConnectorIntegration: "Digital Connector Integration", botVersion: "Bot Version", digitalConnectorVersion: "Connector Version", botName: "Bot Name", digitalConnectorName: "Connector Name", intents: "Intents", botConnectorIntegration: "Bot Connector Integration", botConnectorVersion: "Bot Connector Version", botConnector: "Bot Connector", digitalConnector: "Digital Connector", botResponseTimeoutLabel: "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.", mustSelectDigitalConnectorIntegration: "A digital connector integration must be selected.", mustSelectBotName: "A bot name must be selected.", mustSelectDigitalConnectorName: "A connector name must be selected.", mustSelectBotVersion: "A bot version must be selected.", mustSelectDigitalConnectorVersion: "A connector 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.", savedVersionOfConnectorVersion: "Flow is referencing a cached version of this connector version. The connector version may be out of date or deleted.", secondaryHeaderForVersion: "(Version %1$s)", selectBotIntegration: "Select Bot Integration", selectDigitalConnectorIntegration: "Select Digital Connector Integration", selectBotName: "Select Bot Name", selectDigitalConnectorName: "Select Connector Name", selectBotVersion: "Select Bot Version", selectDigitalConnectorVersion: "Select Connector Version", sessionVariable: "Session Variable", sessionVariables: "Session Variables", unableToRetrieveBotIntegration: "Was unable to retrieve bot integration for selected bot.", unableToRetrieveDigitalConnectorIntegration: "Was unable to retrieve digital connector integration for selected connector.", unableToRetrieveBot: "Was unable to retrieve bot for selected version.", unableToRetrieveDigitalConnector: "Was unable to retrieve digital connector for selected version.", botIntegrationNotFound: "Selected bot integration could not be found", digitalConnectorIntegrationNotFound: "Selected digital connector integration could not be found", botNameNotFound: "Selected bot name could not be found", digitalConnectorNameNotFound: "Selected connector 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.", connectorInputTextLabel: "Input Text", connectorInputTextDescription: "The text to send to the connector." }, 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.", disabledSchemaTooltip: "The conversation schema is disabled.", 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)", refreshDependencies: "Refresh the list of dependencies" }, 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.", propertyCannotBeCollectionValueProperty: "%1$s The property '%2$s' cannot be used because it is a collection value property.", 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" }, schema: { schemaHasRequiredProperties: "The schema cannot contain required properties.", updateRequiredPropertiesOrUseDifferentSchema: "Update this schema's required properties to be optional or use a different schema instead." }, generic: { accessibility: "Accessibility", actionNeeded: "Action needed", aiPowered: "AI Powered", answerLabelCapitalized: "ANSWER", apply: "Apply", selectRow: "Select '%1$s'", selectRowNoName: "Select row", 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", helpResourceAboutGenesysCloud: "About Genesys Cloud", helpResourceAboutGenesysCloudDescription: "Find out what version of Genesys Cloud you\u2019re running. Read the terms and conditions.", helpResourceCloudDeveloperCenter: "Cloud Developer Center", helpResourceCloudDeveloperCenterDescription: "Find resources such as code samples, tutorials, and tools to help integrate Genesys Cloud into your contact center.", helpResourceCloudResourceCenter: "Cloud Resource Center", helpResourceCloudResourceCenterDescription: "Explore tools, guides, and helpful content to support your journey\u2014whether you're getting started or looking to dive deeper.", helpResourceCommunity: "Community", helpResourceCtaContactUs: "Contact us", helpResourceCtaLearnMore: "Learn more", helpResourceCtaReadPrivacyPolicy: "Read the privacy policy", helpResourceCtaSignInSignUp: "Sign in/Sign up", helpResourceCtaStayUpdated: "Stay updated", helpResourceCtaWatchYourVideo: "Watch your video", helpResourceEducation: "Education", helpResourceOrchestrators: "Genesys Orchestrators", helpResourceOrchestratorsDescription: "Everything you need in one place to succeed\u2014Advocacy, Community, Education, Resources, and Support", helpResourcePersonalizedVideo: "Your personalized video", helpResourcePersonalizedVideoDescription: "Press play to explore the vast Genesys Cloud ecosystem", helpResourcePrivacyPolicyDescription: "The Genesys Cloud privacy outlines Genesys\u2019 practices for collecting, using, maintaining, protecting, and disclosing customer data through Genesys Cloud.", helpResourceProductSupport: "Product Support", helpResourceProductSupportDescription: "Always-on expert support when you need it", helpResourceReleaseNotes: "Release Notes", helpResourceReportIssue: "Report an issue", helpResourceReportIssueDescription: "Keep members in your org updated on potential issues.", helpResourceStatus: "Genesys Cloud Status", helpResourceStatusDescription: "Get the latest Genesys Cloud status updates for your region.", helpResourceWalkthrough: "Take a Tour", helpResourceWalkthroughDescription: "Explore Architect's tools and features with a guided walkthrough.", 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", tabTrapReleasedMessage: "Tab now moves focus out of the editor.", 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" }, businessProcessFlow: { businessProcessLabel: "Business Process", businessProcessFlowTypeDisplayName: "Business Process Flow", businessProcessFlowsSectionLabel: "Business Process Flows" }, 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: { editorLabel: "Bot editor", 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", 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", navigatorLanguageNotVariantError: "%1$s is not a variant of the primary language.", navigatorUnsupportedLanguageError: "%1$s is not a supported language in Navigator.", 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", 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: { editorLabel: "State editor", 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.", editorLabel: "Task editor", 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" }, slotVariableDescription: "Variable for the '%1$s' slot.", 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)", openSelectedGrammar: "Open selected grammar", 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: "%1$s supports custom dictionaries.", speechToTextEngineOverviewDocumentation: "For more information, see 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.", 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.", createModalVirtualAgentFlowLabel: "Virtual Agent Flow", createModalNavigatorFlowLabel: "Navigator Flow", 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", focusSkipNavigation: "Focus the skip navigation menu", 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: { skipTo: "Skip to %1$s", skipToEndOf: "Skip to end of %1$s" }, landmarkLabels: { flowToolbar: "Flow Toolbar", stateEditor: "State Editor", botEditor: "Bot Editor", actionEditor: "Action Editor", menuEditor: "Menu Editor", replayToolbar: "Execution History Toolbar", replayTimeline: "Execution History Timeline", replayPanels: "Execution History Panels", copilotPanel: "Copilot" } }, 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.", itemRuntime: "Runtime", 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", showUserVariablesGraph: "Show User Variable Memory Allocation", skipHere: "Skip here", skipBackHere: "Skip back here", speedFast: "Fast", speedSlow: "Slow", stack: "Stack", stackDepthGraphTitle: "Stack Depth", 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", variableHeapGaugeTitle: "User Variables Size", variableHeapHighWaterMark: "Flow High Watermark", variableHeapLimit: "Flow Memory Limit", variableMemoryGraphTitle: "User Variable Memory Allocation", variableSizeColumnHeader: "Size", 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." } }; + }, 70425(e2) { + e2.exports = { MISSING_DIVISION_PERMISSION: "You do not have the permission '%(permission)s' required to perform this action.", BAD_CREDENTIALS: "You are not logged in", BULK_MOVE_NO_PERMISSION_DIVISION: "Cannot move objects into the division '%(division)', the user does not have permission", BULK_MOVE_UNABLE_TO_MOVE: "Failed to move all requested objects to division '%(division)'", FLOW_DELETE_FAIL: "Failed to delete the saved version", FLOW_EDGE_PUBLISH_FAIL: "The flow failed to publish", FLOW_IS_LOCKED: "The flow is locked by a different user.", FLOW_NO_CONFIG_AVAILABLE: "Flow has no saved or checked-in configuration", FLOW_UNABLE_TO_LOCK: "Unable to lock flow.", FLOW_SAVE_FAIL: "Failed to save the flow", INVALID_FLOW_PUBLISH: "There was no valid flow version to publish", NO_PUBLISHED_FLOW_AVAILABLE: "Unable to publish IVR without a published flow", NOT_FOUND: "Not found", ARCHITECT_AUTH_TOKEN_MISSING: "This operation cannot be performed without an authorization token.", ARCHITECT_BATCH_DELETE_FAILED: "At least one object in the batch could not be deleted.", ARCHITECT_BATCH_TOO_LARGE: "Flow batch exceeds the maximum size of %(size)s items.", ARCHITECT_BOT_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a bot flow.", ARCHITECT_COMMON_MODULE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a common module flow.", ARCHITECT_DATABASE_THROUGHPUT_EXCEEDED: "Database too busy. Please try again.", ARCHITECT_DEBUG_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a debug flow.", ARCHITECT_DEFAULT_FLOW_CANNOT_DEACTIVATE: "Cannot deactivate default flow '%(name)s'.", ARCHITECT_DEFAULT_FLOW_CANNOT_DELETE: "Cannot delete the default in-queue flow.", ARCHITECT_DEFAULT_VOICEMAIL_FLOW_CANNOT_DEACTIVATE: "Cannot deactivate the default voicemail flow.", ARCHITECT_DEFAULT_VOICEMAIL_FLOW_CANNOT_DELETE: "Cannot delete the default voicemail flow.", ARCHITECT_DELETE_NOT_SUPPORTED: "Delete is not supported for '%(object)'.", ARCHITECT_DEPENDENCIES_BUILD_IN_PROGRESS: "A build of dependency information is already in progress.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE: "'%(name)s' cannot be deleted because other objects depend on it.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_EMAIL_ROUTE: "'%(name)s' cannot be deleted because it is in use by one or more email routes.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_FLOW: "'%(name)s' cannot be deleted because it is in use by one or more flows.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_IVR_CONFIGURATION: "'%(name)s' cannot be deleted because it is in use by one or more IVR configurations.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_QUEUE: "'%(name)s' cannot be deleted because it is in use by one or more queues.", ARCHITECT_DEPENDENCY_OBJECT_IN_USE_BY_RECORDING_POLICY: "'%(name)s' cannot be deleted because it is in use by one or more recording quality.", ARCHITECT_DEPENDENCY_INVALID_FILTER: "Invalid filter '%(filter)s' was specified.", ARCHITECT_DEPENDENCY_OBJECT_INVALID_TYPE: "Invalid dependency type '%(type)s' was specified.", ARCHITECT_DEPENDENCY_OBJECT_NAME_NOT_SPECIFIED: "A name was not specified for the dependency object search.", ARCHITECT_DEPENDENCY_OBJECT_NOT_FOUND: "Could not find the dependency object for the specified ID and version.", ARCHITECT_DEPENDENCY_OBJECT_NOT_VERSIONED: "The dependency object type '%(type)' is not a versioned dependency type.", ARCHITECT_DEPENDENCY_OBJECT_VERSION_NOT_SPECIFIED: "A version was not specified for the dependency object.", ARCHITECT_DEPENDENCY_OBJECT_TYPE_NOT_SPECIFIED: "An object type was not specified.", ARCHITECT_DEPENDENCY_INVALID_TYPE: "An invalid dependency type was specified.", ARCHITECT_DEPENDENCY_UNAVAILABLE_TYPE: "Unavailable dependency type '%(type)' was specified.", ARCHITECT_DIALOG_ENGINE_BOT_FETCH_FAILED: "Failed to fetch the Dialog Engine bot '%(botId)'", ARCHITECT_DIALOG_ENGINE_BOT_NOT_FOUND: "Could not find the Dialog Engine bot '%(botId)'", ARCHITECT_DIALOG_ENGINE_BOT_VERSION_FETCH_FAILED: "Failed to fetch the Dialog Engine bot '%(botId)' version '%(botVersionId)'", ARCHITECT_DIALOG_ENGINE_BOT_VERSIONS_FETCH_FAILED: "Failed to fetch the versions for the Dialog Engine bot '%(botId)'", ARCHITECT_DIALOG_ENGINE_BOT_VERSION_NOT_FOUND: "Could not find the Dialog Engine bot '%(botId)' version '%(botVersionId)'", ARCHITECT_DIGITAL_BOT_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a digital bot flow.", ARCHITECT_DIVISION_INVALID: "The provided division ID '%(division)' is invalid.", ARCHITECT_DIVISION_REGISTRATION_FAILED: "Failed to register the object type '%(type)' to the division '%(division)'", ARCHITECT_DIVISION_VERIFY_FAILED: "Failed to validate the provided division ID.", ARCHITECT_EXTERNAL_FLOW_CHANGE_NOTIFICATION_ERROR: "A backend service error occurred while sending out a change notification for flow '%(name)s'.", ARCHITECT_EXTERNAL_ORG_QUERY_ERROR: "Failed querying backend service for organization details.", ARCHITECT_FLOW_CANNOT_CHECKIN_INVALID_DEPENDENCY: "Flow '%(name)s' cannot be checked in because an unavailable dependency type '%(type)s' was included in the list of dependencies", ARCHITECT_FLOW_CANNOT_CHECKIN_NONSECURE_TTS_ENGINE: "Secure flow '%(name)s' cannot be checked in because the non-secure text to speech engine '%(engine)s' was included in the list of dependencies", ARCHITECT_FLOW_CANNOT_CREATE_INVALID_LANGUAGE_PROVIDED: "Flow '%(name)' cannot be created because an invalid supported language was specified", ARCHITECT_FLOW_CANNOT_CREATE_NOT_USER_CREATABLE: "Flow '%(name)' cannot be created because the flow type '%(type)' is not user creatable", ARCHITECT_FLOW_CANNOT_CREATE_TYPE_MAX_EXCEEDED: "Flow '%(name)' of type '%(type)' cannot be created because the maximum number of flows allowed for that type is %(count).", ARCHITECT_FLOW_CANNOT_CREATE_UNSUPPORTED_LANGUAGE_PROVIDED: "Flow '%(name)' cannot be created because an unsupported language was specified", ARCHITECT_FLOW_CANNOT_CREATE_WORKTYPE_USED_IN_EXISTING_FLOW: "Flow '%(name)s' cannot be created because another Workitem flow already references the same Worktype (ID: '%(worktypeId)s'). You may only have one Workitem flow per Worktype.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_EMERGENCY_GROUPS: "Flow '%(name)s' cannot be deleted due to being used by one or more emergency groups.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_FLOWS: "Flow '%(name)s' cannot be deleted due to being used by one or more flows", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_COMPOSER_SCRIPTS: "Flow '%(name)s' cannot be deleted due to being used by one or more Composer script(s).", ARCHITECT_FLOW_EXCEEDED_MAX_AMOUNT: "The flow cannot be created because its creation would exceed the maximum number of flows allowed for this organization which is %(count).", ARCHITECT_EXTERNAL_PUBLISH_ERROR: "A backend service error occurred while publishing flow '%(name)s'.", ARCHITECT_FEATURE_TOGGLE_UNAVAILABLE: "The feature toggle '%(featureToggle)' is not enabled in this organization.", ARCHITECT_FEATURE_UNAVAILABLE: "The '%(feature)' feature is not enabled in this organization.", ARCHITECT_FLOW_ALREADY_EXISTS: "An flow of %(type)s named '%(name)s' already exists.", ARCHITECT_FLOW_ASSOCIATE_WORKTYPE_FAILED: "Failed to associate the flow '%(name)s' with the Worktype (ID: '%(worktypeId)s').", ARCHITECT_FLOW_CANNOT_ACTIVATE_MISSING_DEPENDENCIES: "Flow '%(name)s' version '%(version)s' cannot be activated due to missing dependencies (count: '%(count)s').", ARCHITECT_FLOW_CANNOT_CHECKIN_MISSING_CONFIG: "Flow '%(name)s' cannot be checked in because there is no saved configuration.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_BY_MESSAGE_ADDRESSES: "Flow '%(name)s' cannot be deactivated due to being used by '%(count)s' message address(es).", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_COMPOSER_SCRIPTS: "Flow '%(name)s' cannot be deactivated due to being used by one or more Composer script(s).", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_EMAIL_ROUTES: "Flow '%(name)s' cannot be deactivated due to being used by one or more email routes.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_EMERGENCY_GROUPS: "Flow '%(name)s' cannot be deactivated due to being used by one or more emergency groups.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_IVR_CONFIGS: "Flow '%(name)s' cannot be deactivated due to being used by one or more IVR configurations.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_PE_ACTION_MAPS: "Flow '%(name)s' cannot be deactivated due to being used by '%(count)s' predictive engagement action map(s).", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_QUEUES: "Flow '%(name)s' cannot be deactivated due to being used by one or more queues.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_RECORDING_POLICIES: "Flow '%(name)s' cannot be deactivated due to being used by one or more recording quality.", ARCHITECT_FLOW_CANNOT_DEACTIVATE_USED_IN_WIDGETS: "Flow '%(name)s' cannot be deactivated due to being used by %(count)s widget(s).", ARCHITECT_FLOW_CANNOT_DEBUG: "Cannot enable debug for flow '%(name)s' due to missing publish data or debug settings.", ARCHITECT_FLOW_CANNOT_DEBUG_COMMON_MODULE_VERSION: "Cannot enable debug on the specified version. Only the current checked in version can be enabled for debug.", ARCHITECT_FLOW_CANNOT_DEBUG_INQUEUECALL: "Cannot enable debug on in-queue call flows.", ARCHITECT_FLOW_CANNOT_DEBUG_UNSUPPORTED_LANGUAGE: "Cannot enable debug for flow '%(name)s' because one or more of the languages specified in the flow are not supported for debugging.", ARCHITECT_FLOW_CANNOT_DEBUG_UNSUPPORTED_TTS_LANGUAGE: "Cannot enable debug for flow '%(name)s' because one or more of the languages specified in the flow are not supported for text-to-speech.", ARCHITECT_FLOW_CANNOT_DELETE_USED_BY_MESSAGE_ADDRESSES: "Flow '%(name)s' cannot be deleted due to being used by %(count)s message address(es).", ARCHITECT_FLOW_CANNOT_DELETE_CLIENT_DOES_NOT_HAVE_LOCK: "Flow '%(name)s' cannot be deleted because it is locked by client '%(client)s'.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_EMAIL_ROUTES: "Flow '%(name)s' cannot be deleted due to being used by one or more email routes.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_IVR_CONFIGS: "Flow '%(name)s' cannot be deleted due to being used by one or more IVR configurations.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_PE_ACTION_MAPS: "Flow '%(name)s' cannot be deleted due to being used by %(count)s predictive engagement action map(s).", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_QUEUES: "Flow '%(name)s' cannot be deleted due to being used by one or more queues.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_RECORDING_POLICIES: "Flow '%(name)s' cannot be deleted due to being used by one or more recording quality.", ARCHITECT_FLOW_CANNOT_DELETE_USED_IN_WIDGETS: "Flow '%(name)s' cannot be deleted due to being used by %(count)s widget(s).", ARCHITECT_FLOW_CANNOT_DELETE_USER_DOES_NOT_HAVE_LOCK: "Flow '%(name)s' cannot be deleted because it is locked by user '%(user)s'.", ARCHITECT_FLOW_CANNOT_PUBLISH_DEFAULT: "Cannot publish default version of flow '%(name)s'.", ARCHITECT_FLOW_CANNOT_PUBLISH_DIALOGFLOW_CX_PROFILE_GEN_FAILED: "Flow '%(name)' version '%(version)' cannot be published due to a failure to generate associated dialogflow CX conversation profiles", ARCHITECT_FLOW_CANNOT_PUBLISH_NLU_VERSION_TRAINING_FAILED: "Publish failed. The Natural Language Understanding configuration in this bot is taking longer to finish processing than is allowed for a flow publish operation. Please try again.", ARCHITECT_FLOW_CANNOT_PUBLISH_NLU_VERSION_UNTRAINED: "Publish failed. The Natural Language Understanding configuration in this bot was not successfully processed. Please try again.", ARCHITECT_FLOW_CANNOT_PUBLISH_MISSING_DEPENDENCIES: "Flow '%(name)s' version '%(version)s' cannot be published due to missing dependencies (count: '%(count)s').", ARCHITECT_FLOW_CANNOT_VALIDATE_INVALID_DEPENDENCY_TYPE: "Cannot validate flow because an invalid dependency type '%(type)' was included in the list of dependencies", ARCHITECT_FLOW_CANNOT_VALIDATE_INVALID_TYPE: "Cannot validate flow because it doesn't exist and the type specified is invalid.", ARCHITECT_FLOW_CANNOT_VALIDATE_MISSING_TYPE: "Cannot validate flow because it doesn't exist and the type was not specified.", ARCHITECT_FLOW_DATA_INVALID_FORMAT: "Flow '%(name)s' version '%(version)s' data content is in an invalid format.", ARCHITECT_FLOW_DATA_MISSING: "Flow '%(name)s' data content is missing.", ARCHITECT_FLOW_DEBUG_INVALID_VERSION: "Invalid version number '%(version)s' was specified for flow debug.", ARCHITECT_FLOW_DELETED: "Flow '%(name)s' has been deleted.", ARCHITECT_FLOW_DISSOCIATE_WORKTYPE_FAILED: "Failed to dissociate the flow '%(name)s' with the Worktype (ID: '%(worktypeId)s').", ARCHITECT_FLOW_FAILED_NLU_INFO_FETCH: "Failed to fetch the NLU domain information for flow '%(name)' version '%(version)'", ARCHITECT_FLOW_INVALID_ID: "The flow ID specified '%(id)' is invalid", ARCHITECT_FLOW_INVALID_TYPE: "Flow '%(name)s' has invalid type '%(type)s'.", ARCHITECT_FLOW_INVALID_VAR_PARAM_TYPE: "The flow has an %(direction) variable, '%(varName)', with an invalid/unsupported type: %(varType)", ARCHITECT_FLOW_LOCKED_BY_CLIENT: "Flow '%(name)s' is locked by client %(client)s.", ARCHITECT_FLOW_LOCKED_BY_USER: "Flow '%(name)s' is locked by user %(user)s.", ARCHITECT_FLOW_MANIFEST_INVALID_FORMAT: "Flow manifest is in an invalid format.", ARCHITECT_FLOW_MILESTONE_ALREADY_EXISTS: "Flow milestone '%(name)' already exists.", ARCHITECT_FLOW_MILESTONE_EXCEEDED_MAX_AMOUNT: "Could not create flow milestone since max of %(max) has been reached.", ARCHITECT_FLOW_MILESTONE_NOT_FOUND: "Could not find flow milestone with specified ID.", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED: "Failed to validate flow milestone with name '%(name)'", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED_INVALID_NAME_SPACES: "Failed to validate flow milestone due to invalid name '%(name)' that contained leading or trailing whitespaces.", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate flow milestone due to invalid name '%(name)'. Names must contain at least one alphanumeric character.", ARCHITECT_FLOW_MILESTONE_VALIDATE_FAILED_MISSING_NAME: "Failed to validate flow milestone due to missing name.", ARCHITECT_FLOW_NOT_CHECKED_IN: "Cannot publish flow '%(name)s'. It must be checked in first.", ARCHITECT_FLOW_NOT_FOUND: "Could not find flow with specified ID.", ARCHITECT_FLOW_NOT_LOCKED: "Flow '%(name)s' is not locked by requesting user.", ARCHITECT_FLOW_NOT_LOCKED_BY_CLIENT: "Flow '%(name)s' is not locked by client '%(client)s'.", ARCHITECT_FLOW_NOT_LOCKED_BY_USER: "Flow '%(name)s' is not locked by user '%(user)s'.", ARCHITECT_FLOW_NOT_PUBLISHABLE: "Flow '%(name)' version '%(version)' cannot be published.", ARCHITECT_FLOW_OUTCOME_ALREADY_EXISTS: "Flow outcome '%(name)' already exists.", ARCHITECT_FLOW_OUTCOME_CREATE_FAILED: "Flow Outcome failed to be created.", ARCHITECT_FLOW_OUTCOME_NOT_FOUND: "Could not find flow outcome with specified ID.", ARCHITECT_FLOW_OUTCOME_EXCEEDED_MAX_AMOUNT: "Could not create flow outcome since max of %(max) has been reached.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED: "Failed to validate flow outcome with name '%(name)'", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_INVALID_NAME: "Failed to validate flow outcome due to the invalid name '%(name)' that contained leading or trailing whitespaces.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate flow outcome due to invalid name '%(name)'. Names must contain at least one alphanumeric character.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_MISSING_NAME: "Failed to validate flow outcome due to missing name.", ARCHITECT_FLOW_OUTCOME_VALIDATE_FAILED_MISSING_DESCRIPTION: "Failed to validate flow outcome with name '%(name)' due to missing description.", ARCHITECT_FLOW_SAVE_FAILED: "Could not save flow data to permanent storage.", ARCHITECT_FLOW_SERIALIZE_FAILED: "Could not serialize flow data.", ARCHITECT_FLOWS_QUERY_FAILED: "The query to retrieve a list of flows failed.", ARCHITECT_FLOWS_QUERY_RESULTS_NOT_FOUND: "Could not find the flows query results", ARCHITECT_FLOW_TEMP_FILE_OPEN_FAILED: "Could not open temp file for flow data.", ARCHITECT_FLOW_TEMP_FILE_SAVE_FAILED: "Could not save flow data to temp file.", ARCHITECT_FLOW_VALIDATE_FAILED: "Failed to validate flow '%(name)s'.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_CONTAINS_DEBUG: "Failed to validate flow due to invalid name '%(name)s'. Flow names must not end with '-debug'.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_CONTAINS_SLASH: "Failed to validate flow due to invalid name '%(name)s'. Flow names must not contain forward slashes.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate flow due to invalid name '%(name)s'. Names must contain at least one alphanumeric character.", ARCHITECT_FLOW_VALIDATE_FAILED_INVALID_NAME_TOO_LONG: "Failed to validate flow due to invalid name '%(name)s'. Names must contain no more than 200 characters.", ARCHITECT_FLOW_VALIDATE_FAILED_MISSING_NAME: "Failed to validate flow due to missing name.", ARCHITECT_FLOW_VALIDATE_FAILED_MISSING_TYPE: "Failed to validate flow with name '%(name)s' due to missing type.", ARCHITECT_FLOW_VALIDATE_FAILED_NAME: "Failed to validate flow due to missing or invalid name", ARCHITECT_FLOW_VARIABLE_MISSING: "Flow '%(name)s' cannot be published because variable '%(variable)s' is missing.", ARCHITECT_FLOW_VERSION_MISSING: "Flow '%(name)s' configuration version information is missing.", ARCHITECT_FLOW_VERSION_NOT_PUBLISHED: "Flow '%(name)s' version '%(version)s' has not been published.", ARCHITECT_GDPR_DELETE_FAILED: "The GDPR PII delete/redact operation failed.", ARCHITECT_GDPR_EXPORT_FAILED: "The GDPR PII export operation failed.", ARCHITECT_GDPR_OPERATION_FAILED: "The GDPR operation failed.", ARCHITECT_FLOW_VERSION_VALIDATE_FAILED_CONFIGURATION_VERSION: "Flow version object configuration version is missing or invalid.", ARCHITECT_GENERATED_FLOW_NOT_FOUND: "Could not find generated content for flow '%(name)' version '%(version)' with language '%(language)'.", ARCHITECT_GRAMMAR_ALREADY_EXISTS: "A Grammar with the name '%(name)s' already exists.", ARCHITECT_GRAMMAR_CREATE_FAILED: "Failed to create Grammar", ARCHITECT_GRAMMAR_DELETE_FAILED: "Failed to delete Grammar", ARCHITECT_GRAMMAR_EXCEEDED_MAX_AMOUNT: "Could not create Grammar since maximum number of grammars for this organization (%(max)s) has been reached.", ARCHITECT_GRAMMAR_FETCH_FAILED: "Failed to fetch Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_ALREADY_EXISTS: "The language '%(language)s' already exists for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_CREATE_FAILED: "Failed to create language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_DELETE_FAILED: "Failed to delete language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_FETCH_FAILED: "Failed to fetch language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_NOT_FOUND: "Could not find language '%(language)s' for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGES_DELETE_FAILED: "Failed to delete all of the languages for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGES_FETCH_FAILED: "Failed to fetch languages for the specified Grammar.", ARCHITECT_GRAMMAR_LANGUAGE_VALIDATE_FAILED_NO_LANGUAGE: "Failed to validate Grammar language, as no language was provided", ARCHITECT_GRAMMAR_NOT_FOUND: "Could not find Grammar with specified ID.", ARCHITECT_GRAMMAR_VALIDATE_FAILED: "Failed to validate Grammar with name '%(name)s'", ARCHITECT_GRAMMAR_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate Grammar due to invalid name '%(name)s'. Names must contain at least one alphanumeric character.", ARCHITECT_GRAMMAR_VALIDATE_FAILED_INVALID_NAME_SPACES: "Failed to validate Grammar due to invalid name '%(name)s'. Names must not contain leading or trailing whitespaces.", ARCHITECT_GRAMMAR_VALIDATE_FAILED_INVALID_NAME_TOO_LONG: "Failed to validate Grammar due to invalid name '%(name)s'. Names must contain no more than 200 characters.", ARCHITECT_GRAMMAR_VALIDATE_FAILED_MISSING_NAME: "Failed to validate Grammar due to missing name.", ARCHITECT_HISTORY_RESULTS_NOT_FOUND: "Could not find the specified history results.", ARCHITECT_INBOUND_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound call flow.", ARCHITECT_INBOUND_CHAT_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound chat flow.", ARCHITECT_INBOUND_EMAIL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound email flow.", ARCHITECT_INBOUND_SHORT_MESSAGE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inbound short message flow.", ARCHITECT_INQUEUE_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inqueue call flow.", ARCHITECT_INQUEUE_EMAIL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inqueue email flow.", ARCHITECT_INQUEUE_SHORT_MESSAGE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an inqueue message flow.", ARCHITECT_INVALID_QUERY_PARAMETER: "Query parameter '%(param)' has invalid value '%(value)'.", ARCHITECT_NO_PERMISSION: "The requested operation cannot be completed because the user does not have permission.", ARCHITECT_OBJECT_UPDATE_FAILED: "The database update for the object failed.", ARCHITECT_OBJECT_VALIDATE_FAILED: "Failed to validate object.", ARCHITECT_OBJECT_VALIDATE_FAILED_VALUE: "Failed to validate object due to invalid field value '%(value)s'.", ARCHITECT_OPERATION_ALREADY_IN_PROGRESS: "An operation is already in progress.", ARCHITECT_ORG_INVALID_ID: "The org ID specified '%(id)s' is invalid", ARCHITECT_OUTBOUND_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on an outbound call flow.", ARCHITECT_PENDING_OPERATION: "Cannot perform requested operation since object already has a pending operation.", ARCHITECT_PROMPT_ALREADY_EXISTS: "A prompt called '%(name)s' already exists.", ARCHITECT_PROMPT_CANNOT_DELETE_USED_IN_QUEUES: "Prompt '%(name)s' cannot be deleted due to being used by %(count)s queue configuration(s).", ARCHITECT_PROMPT_HAS_RESOURCES: "Cannot delete prompt '%(name)s' since it contains prompt resources.", ARCHITECT_PROMPT_NOT_FOUND: "Could not find prompt with specified ID.", ARCHITECT_PROMPT_RESOURCE_NOT_FOUND: "Could not find resource with language %(language)s in specified prompt.", ARCHITECT_PROMPT_RESOURCE_ALREADY_EXISTS: "Prompt '%(name)s' already has a resource with language %(language)s.", ARCHITECT_PROMPT_RESOURCE_AUDIO_CANNOT_DELETE: "Could not delete the audio for the prompt resource for %(language)s.", ARCHITECT_PROMPT_RESOURCE_CANNOT_DELETE: "Could not delete the prompt resource for the language %(language)s.", ARCHITECT_PROMPT_RESOURCE_INVALID_TAGS: "The specified tags are in an invalid format.", ARCHITECT_PROMPT_RESOURCE_TAGS_ALREADY_EXIST: "The specified tags already exist in another prompt resource.", ARCHITECT_PROMPT_RESOURCE_VALIDATE_FAILED: "Failed to validate prompt resource with language %(language)s.", ARCHITECT_PROMPT_RESOURCE_VALIDATE_FAILED_LANGUAGE: "Failed to validate prompt resource due to missing or invalid language.", ARCHITECT_PROMPT_VALIDATE_FAILED: "Failed to validate prompt '%(name)s'.", ARCHITECT_PROMPT_VALIDATE_FAILED_INVALID_NAME: "Failed to validate prompt due to invalid name '%(name)s'. Prompt names can only contain letters numbers and the underscore and must start with a letter or number.", ARCHITECT_PROMPT_VALIDATE_FAILED_INVALID_NAME_NO_ALPHA: "Failed to validate prompt due to invalid name '%(name)s'. Names must contain at least one alphanumeric character.", ARCHITECT_PROMPT_VALIDATE_FAILED_INVALID_NAME_TOO_LONG: "Failed to validate prompt due to invalid name '%(name)s'. Names must contain no more than 200 characters.", ARCHITECT_PROMPT_VALIDATE_FAILED_NAME: "Failed to validate prompt due to missing or invalid name.", ARCHITECT_PROMPT_VALIDATE_FAILED_MISSING_NAME: "Failed to validate prompt due to missing name.", ARCHITECT_PROPERTY_EXCEEDS_MAX_CHARACTER_LENGTH: "Property '%(property_name)' exceeds max character limit of %(limit)", ARCHITECT_QUERY_PARAMETER_MISSING: "Query parameter '%(param)s' is missing or empty.", ARCHITECT_REQUEST_HEADER_MISSING: "Request header '%(header)s' is missing or empty.", ARCHITECT_SECURE_CALL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a secure call flow.", ARCHITECT_SECURE_CALL_FLOW_NOT_SUPPORTED: "Secure call flows are not supported by the current product levels. One of the following is required: %(products).", ARCHITECT_SURVEY_INVITE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a survey invite flow.", ARCHITECT_SPEECH_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a speech flow.", ARCHITECT_SYSTEM_FLOW_CANNOT_CREATE: "Users cannot create system flows.", ARCHITECT_SYSTEM_FLOW_NAME_OR_DESCRIPTION_ERROR: "System flow names and descriptions cannot be changed.", ARCHITECT_SYSTEM_PROMPT_NOT_FOUND: "Could not find system prompt with specified ID.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_CANNOT_CREATE_NON_DEFAULT: "Cannot create a non-default resource for the language '%(language)s' because a default resource for that language doesn't exist. A default must be created first.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_CANNOT_DELETE_DEFAULT: "Cannot delete the default resource for the language '%(language)s' because it will leave that language without a default resource.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_INVALID_LANGUAGE: "The specified language is not valid.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_OVERRIDE_CANNOT_DELETE: "Could not delete the system prompt override resource for the language '%(language).", ARCHITECT_SYSTEM_PROMPT_RESOURCE_LANG_MISSING: "A language was not specified in the request.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_NOT_FOUND: "Could not find resource with language %(language)s in system prompt '%(name)s'.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_OVERRIDE_ALREADY_EXISTS: "System prompt '%(name)s' already has an override for language %(language)s.", ARCHITECT_SYSTEM_PROMPT_RESOURCE_OVERRIDE_NOT_FOUND: "Could not find resource override with language %(language)s in specified system prompt.", ARCHITECT_USER_IN_QUEUE_FLOWS_DISABLED: "User-created in-queue flows are currently disabled.", ARCHITECT_VOICE_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a voice flow.", ARCHITECT_VOICEMAIL_FLOW_INVALID_OPERATION: "Cannot perform requested operation on a voicemail flow.", ARCHITECT_WORKFLOW_INVALID_OPERATION: "Cannot perform requested operation on a workflow.", ARCHITECT_WORKITEM_INVALID_OPERATION: "Cannot perform requested operation on a workitem flow.", ARCHITECT_WORKTYPE_INVALID_ID: "The worktype ID specified '%(id)s' is invalid", ARCHITECT_WORKTYPE_FETCH_FAILED: "Failed to fetch the worktype '%(worktypeId)s'", ARCHITECT_WORKTYPE_NOT_FOUND: "Could not find the worktype '%(worktypeId)s'.", ARCHITECT_EXTERNAL_CALL_FAILURE: "A call to another backend service failed.", ARCHITECT_EXTERNAL_USER_QUERY_ERROR: "Failed querying backend service for information on user '%(user)s'.", ARCHITECT_TOO_MANY_REQUESTS: "We\u2019re handling a lot of requests right now. Please try again later.", ARCHITECT_UNSPECIFIED_ERROR: "An unknown or unspecified error occurred.", ARCHITECT_UNSUPPORTED_DATA_FIELD: "The provided data field '%(field)' is not supported.", ARCHITECT_UNSUPPORTED_FEATURE: "This feature '%(feature)' is not supported.", ARCHITECT_UNSUPPORTED_QUERY_PARAMETER: "The query parameter '%(parameter)' is not supported.", MISSING_PERMISSIONS: "The requested operation cannot be completed because the user does not have permission.", GEOCODING_INVALID_ADDRESS: "Invalid Geocoding Address." }; + }, 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" }; + }, 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" }; + }, 73374(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" }; + }, 8487(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" }; + }, 94681(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Ez du balio.", noInputReceived: "Ez dut mezurik jaso." }, askForBoolean: { noInput: 'Esan "bai" jarraitu nahi baduzu edo "ez" ez baduzu jarraitu nahi.', noMatch: 'Esan "bai" ala "ez". Jarraitu nahi duzu?', question: "Jarraitu nahi duzu?", noInputDigitalBot: 'Idatzi "Bai" jarraitu nahi baduzu edo "Ez" ez baduzu jarraitu nahi.', noMatchDigitalBot: 'Idatzi "Bai" ala "Ez". Jarraitu nahi duzu?' }, askForIntent: { noInput: 'Esan zure eskaera azaltzen duen esaldi labur bat. Adibidez, "Ikusi nire kontuko saldoa"', noMatch: "Esan berriro zer egin nahi duzun.", question: "Zer egin nahi duzu?", noInputDigitalBot: 'Idatzi zure eskaera azaltzen duen esaldi labur bat. Adibidez, "Ikusi nire kontuko saldoa"' }, askForSlot: { askFor: "Eskatu %1$s", noInput: "Esan edo idatzi (jarri hemen zure slotaren izena).", noInputWithSlot: "Esan edo idatzi %1$s.", noMatch: "Eman (jarri hemen zure slotaren izena) berriro.", noMatchWithSlot: "Eman berriro %1$s.", question: "Zer da (jarri hemen zure slotaren izena)?", questionWithSlot: "Zer da %1$s?", pleaseEnterSlotNameHere: "(jarri hemen zure slotaren izena)", noInputDigitalBot: "Idatzi (jarri hemen zure slotaren izena).", noInputWithSlotDigitalBot: "Idatzi %1$s.", continuationPromptWithSlot: "Oraingoz {{Slot.%1$s}} d(it)ut, jarraitu." }, askForNextSlot: { noInput: 'Esan "bai" beste eskaera bat egiteko, edo "ez" deia bukatzeko.', noMatch: 'Esan "bai" beste eskaera bat egiteko, edo "ez" saioa bukatzeko.', question: "Beste zerbaitekin lagun zaitzaket?", noInputDigitalBot: 'Idatzi "Bai" beste eskaera bat egiteko edo "Ez" saioa bukatzeko.', noMatchDigitalBot: 'Idatzi "Bai" beste eskaera bat egiteko edo "Ez" saioa bukatzeko.' }, askForPayment: { noInputDigitalBot: "Jarraitzeko, adierazi zure ordainketa-informazioa.", noMatchDigitalBot: "Ez dut zure erantzuna ulertu. Saiatu berriro." }, askForAuthentication: { noInputDigitalBot: "Jarraitzeko, eman zure autentifikazio-informazioa.", noMatchDigitalBot: "Ez dut zure erantzuna ulertu. Saiatu berriro." }, askSurveyQuestion: { notApplicable: "Ezin da aplikatu", surveyAnswerOptionSequence: "Sakatu %1$s honetarako: '%2$s'.", surveyAnswerNotApplicableSequence: "Sakatu izarra Ez da aplikagarria aukeratu nahi baduzu.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Sakatu izarra Ez da aplikagarria aukeratu nahi baduzu.", voiceSurveyNoInputText: "Erantzun galderari.", voiceSurveyNoMatchText: "Ez zaitut ulertu." }, commonModule: { exitCommonModule: "Itxi modulu arrunta" }, form: { noInputDigitalBot: "Jarraitzeko, osatu galdetegia.", noMatchDigitalBot: "Jarraitzeko, osatu galdetegia." }, messagingTemplate: { noInputDigitalBot: "Mesedez, hautatu eskuragarri dauden aukeretako bat.", noMatchDigitalBot: "Mesedez, hautatu eskuragarri dauden aukeretako bat." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Egin aurrera", knowledgeAnswerHighlightFullArticleDefault: "Ikusi artikulu osoa", knowledgeInitialResponseMulti: "Zure helburua hobeto uler dezadan, hautatu hurrengo zerrendako zenbaki bat:", knowledgeInitialResponseMultiRetry: "Hautatu zenbaki bat, adibidez, '1'.\nHemen duzu aukeren zerrenda:", knowledgeNoMatch: "Horietako bat ere ez", knowledgeConfirmation: "Zure galderari erantzun diogu?", knowledgeFollowup: "Espero dut zure galderari erantzun izana. Zerbait gehiago jakin nahi baduzu, galdetu." }, noOverlay: { intent: { intentConfirmationStr1: "Hau nahi duzula uste dut:", intentConfirmationStr2: "Zuzena da?" }, youSaid: { youSaidConfirmationStr1: "Hau esan duzu:", youSaidConfirmationStr2: "Zuzena da?", youSaidConfirmationStr1DigitalBot: "Hau idatzi duzu:" }, noInput: { noInputStr1: "Esan edo idatzi", noInputStr1DigitalBot: "Idatzi" }, noMatch: { noMatchStr1: "Eman" }, whatIs: { whatIsQuestionStr1: "Zer da", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Oraingoz", iGotContinuationStr2: "d(it)ut, jarraitu." } }, defaultCallFlowOne: "Dei-fluxu lehenetsia", errorHandlingAgentEscalationConfirmation: "Aholkulari batekin hitz egin nahi duzu, ezta?", errorHandlingAgentEscalationHandover: "Itxaron pixka bat, mesedez, beste norbaitekin jarriko zaitut harremanetan.", errorHandlingErrorEventHandover: "Barkatu, errore bat egon da. Itxaron pixka bat, lagun zaitzakeen norbaitekin harremanetan jartzen zaitudan bitartean.", errorHandlingErrorEventHandoverVoiceSurvey: "Errore bat gertatu da. Hurrengora arte.", errorHandlingRecognitionEventHandover: "Barkatu, ez zaitut ulertzen. Itxaron pixka bat, lagun zaitzakeen norbaitekin harremanetan jartzen zaitudan bitartean.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Ulertzeko arazoak ditut. Hurrengora arte.", errorHandlingTTS: "Barkatu, errore bat egon da. Deitu berriro, mesedez.", initialGreetingTTS: "Kaixo, ongi etorri.", initialState: "Hasierako egoera", initialBotState: "Bot lehenetsia", initialDigitalBotState: "Ongi etorri", initialSurveyBotState: "Inkesta bot", intentConfirmation: "Hau nahi duzula uste dut: %1$s. Zuzena da?", mainMenu: "Menu nagusia", mainMenuTTS: "Menu nagusian zaude, sakatu 9 deskonektatzeko", mainTask: "Ataza", settingsConfirmationNoInputApology: "Barkatu, ez zaitut entzun. Esan bai ala ez.", settingsConfirmationNoInputApologyDigitalBot: 'Barkatu, ez dut zure mezurik jaso. Idatzi"Bai" ala "Ez".', settingsConfirmationNoMatchApology: "Barkatu, esan bai ala ez.", settingsConfirmationNoMatchApologyDigitalBot: 'Barkatu, idatzi "Bai" ala "Ez".', settingsNoInputApology: "Barkatu, ez zaitut entzun.", settingsNoInputApologyDigitalBot: "Barkatu, ez dut zure mezurik jaso.", settingsEndOfSessionMessageDigitalBot: "Aspaldian ez dut zure mezurik jaso; beraz, txat hau itxiko dut. Zerbait behar izanez gero, jarri harremanetan.", settingsNoMatchApology: "Barkatu.", settingsNoToConfirmationApology: "Nire errua izan da.", periodicStateName: "Egoera errepikakorra" }; + }, 4087(e2, t2, i2) { + let n2 = null; + if (i2(6697)) n2 = i2(20650); + else { + const e3 = i2(29546); + try { + n2 = i2(46556)("./" + e3.getCurrentLanguage() + "/expressions.js"); + } catch (e4) { + n2 = i2(20650); } - get isNodeInformation() { - return true; + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 7098(e2, t2, i2) { + let n2 = null; + if (i2(6697)) n2 = i2(44911); + else { + const e3 = i2(29546); + try { + n2 = i2(23041)("./" + e3.getCurrentLanguage() + "/expressionsPc.js"); + } catch (e4) { + n2 = i2(44911); } - isAvailableForFlowType(e3, t3) { - return s.default.contains(this.supportedFlowTypes, e3); + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 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" }; + }, 5284(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Hindi ito balido.", noInputReceived: "Hindi ako nakatanggap ng anumang input." }, askForBoolean: { noInput: 'Sabihin ang "oo" kung gusto mong magpatuloy o "hindi" kung ayaw mo.', noMatch: 'Mangyaring magsabi ng "oo" o "hindi". Gusto mo bang magpatuloy?', question: "Gusto mo bang magpatuloy?", noInputDigitalBot: 'Ilagay ang "Oo" kung gusto mong magpatuloy o "Hindi" kung hindi.', noMatchDigitalBot: 'Mangyaring ilagay ang "Oo" o "Hindi". Gusto mo bang magpatuloy?' }, askForIntent: { noInput: 'Magbigay lamang ng maikling pangungusap na naglalarawan sa katanungan mo. Halimbawa, "Tingnan ang balanse sa aking account"', noMatch: "Sabihin ulit sa akin kung ano ang gusto mong gawin.", question: "Ano ang gusto mong gawin?", noInputDigitalBot: 'Mangyaring maglagay ng maikling pangungusap na naglalarawan sa katanungan mo. Halimbawa, "Tingnan ang balanse sa aking account"' }, askForSlot: { askFor: "Humiling ng %1$s", noInput: "Mangyaring sabihin o ilagay ang (mangyaring ilagay ang pangalan ng slot mo dito).", noInputWithSlot: "Mangyaring sabihin o ilagay ang %1$s.", noMatch: "Mangyaring ibigay ulit sa akin ang (mangyaring ilagay ang pangalan ng slot mo dito).", noMatchWithSlot: "Mangyaring ibigay ulit sa akin ang %1$s.", question: "Ano ang (mangyaring ilagay ang pangalan ng slot mo dito)?", questionWithSlot: "Ano ang %1$s?", pleaseEnterSlotNameHere: "(mangyaring ilagay ang pangalan ng slot mo dito)", noInputDigitalBot: "Mangyaring ilagay ang (mangyaring ilagay ang pangalan ng slot mo dito).", noInputWithSlotDigitalBot: "Mangyaring ilagay ang %1$s.", continuationPromptWithSlot: "Nakakuha na ako ng {{Slot.%1$s}} sa ngayon, mangyaring magpatuloy." }, askForNextSlot: { noInput: 'Sabihin ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang tawag.', noMatch: 'Sabihin ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang sesyon.', question: "Mayroon pa ba akong ibang maitutulong sa iyo?", noInputDigitalBot: 'Ilagay ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang sesyon.', noMatchDigitalBot: 'Ilagay ang "oo" kung mayroon ka pang tanong, o "hindi" para tapusin ang sesyon.' }, askForPayment: { noInputDigitalBot: "Mangyaring ibigay ang iyong impormasyon sa pagbabayad upang makapagpatuloy.", noMatchDigitalBot: "Hindi ko naintindihan ang sagot mo. Mangyaring subukang muli." }, askForAuthentication: { noInputDigitalBot: "Mangyaring ibigay ang iyong impormasyon sa pagpapatotoo upang magpatuloy.", noMatchDigitalBot: "Hindi ko naintindihan ang sagot mo. Mangyaring subukang muli." }, askSurveyQuestion: { notApplicable: "Hindi Naaangkop", surveyAnswerOptionSequence: "Pindutin ang %1$s para sa '%2$s'.", surveyAnswerNotApplicableSequence: "Pindutin ang bituin para sa Hindi Naaangkop.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Pindutin ang bituin para sa Hindi Naaangkop.", voiceSurveyNoInputText: "Mangyaring sagutin ang tanong.", voiceSurveyNoMatchText: "Hindi kita naintindihan." }, commonModule: { exitCommonModule: "Umalis sa Karaniwang Modyul" }, form: { noInputDigitalBot: "Mangyaring kumpletuhin ang form upang magpatuloy.", noMatchDigitalBot: "Mangyaring kumpletuhin ang form upang magpatuloy." }, messagingTemplate: { noInputDigitalBot: "Mangyaring pumili ng isa sa mga available na opsyon.", noMatchDigitalBot: "Mangyaring pumili ng isa sa mga available na opsyon." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Magpatuloy", knowledgeAnswerHighlightFullArticleDefault: "Tingnan ang Buong Artikulo", knowledgeInitialResponseMulti: "Para matulungan akong linawin ang iyong tunguhin, pumili ng isang numero mula sa sumusunod na listahan:", knowledgeInitialResponseMultiRetry: "Mangyaring pumili ng numero, halimbawa '1'.\nNarito muli ang listahan ng mga opsiyon:", knowledgeNoMatch: "Wala sa mga ito", knowledgeConfirmation: "Sinagot ba nito ang tanong mo?", knowledgeFollowup: "Sana ay nasagot ko ang tanong mo. Maaari kang magtanong ng kahit anong iba pang bagay na gusto mong malaman." }, noOverlay: { intent: { intentConfirmationStr1: "Parang gusto mong", intentConfirmationStr2: "Tama ba iyon?" }, youSaid: { youSaidConfirmationStr1: "Sabi mo", youSaidConfirmationStr2: "Tama ba iyon?", youSaidConfirmationStr1DigitalBot: "Inilagay mo ang" }, noInput: { noInputStr1: "Mangyaring sabihin o ilagay ang", noInputStr1DigitalBot: "Mangyaring ilagay ang" }, noMatch: { noMatchStr1: "Mangyaring ibigay sa akin ang" }, whatIs: { whatIsQuestionStr1: "Ano ang", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Nakakuha ako ng", iGotContinuationStr2: "sa ngayon, mangyaring magpatuloy." } }, defaultCallFlowOne: "Default na Daloy ng Tawag", errorHandlingAgentEscalationConfirmation: "Gusto mong makipag-usap sa isang tagapayo. Tama ba iyon?", errorHandlingAgentEscalationHandover: "Sandali lang, pakiusap, at ililipat kita sa isang tao.", errorHandlingErrorEventHandover: "Paumanhin, nagkaroon ng error. Sandali lang, pakiusap, habang inililipat kita sa isang taong makakatulong sa iyo.", errorHandlingErrorEventHandoverVoiceSurvey: "Paumanhin, nagkaroon ng error. Paalam.", errorHandlingRecognitionEventHandover: "Paumanhin, nahihirapan akong intindihin ka. Sandali lang, pakiusap, habang inililipat kita sa isang taong makakatulong sa iyo.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Paumanhin, nahihirapan akong intindihin ka. Paalam.", errorHandlingTTS: "Paumanhin, nagkaroon ng error. Mangyaring subukang muli ang iyong tawag.", initialGreetingTTS: "Kumusta, ito ang unang pagbati.", initialState: "Paunang Estado", initialBotState: "Default na Bot", initialDigitalBotState: "Unang Pagbati", initialSurveyBotState: "Survey Bot", intentConfirmation: "Parang gusto mong %1$s, tama ba iyon?", mainMenu: "Pangunahing Menu", mainMenuTTS: "Nasa Pangunahing Menu ka, pindutin ang 9 para magdiskonekta", mainTask: "Tungkulin", settingsConfirmationNoInputApology: "Paumanhin, hindi kita narinig. Mangyaring magsabi ng oo o hindi.", settingsConfirmationNoInputApologyDigitalBot: 'Paumanhin, wala akong natanggap na input mula sa iyo. Mangyaring ilagay ang "Oo" o "Hindi".', settingsConfirmationNoMatchApology: "Paumanhin, mangyaring magsabi ng oo o hindi.", settingsConfirmationNoMatchApologyDigitalBot: 'Paumanhin, mangyaring ilagay ang "Oo" o "Hindi".', settingsNoInputApology: "Paumanhin, hindi kita narinig.", settingsNoInputApologyDigitalBot: "Paumanhin, wala akong natanggap na input mula sa iyo.", settingsEndOfSessionMessageDigitalBot: "Matagal na akong walang balita sa 'yo, kaya isasara ko na itong chat na ito, bumalik ka na lang kung kailangan mo muli ng tulong ko. Salamat.", settingsNoMatchApology: "Paumanhin.", settingsNoToConfirmationApology: "Kasalanan ko.", periodicStateName: "Paulit-ulit na Estado" }; + }, 79186(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Ceci 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 ?' }, askForIntent: { noInput: 'Dites simplement une phrase courte d\xE9crivant votre requ\xEAte. Par exemple, "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 ?", 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: "Veuillez fournir vos informations de paiement pour continuer.", noMatchDigitalBot: "Je n\u2019ai pas compris votre r\xE9ponse. Veuillez r\xE9essayer." }, askForAuthentication: { noInputDigitalBot: "Veuillez vous authentifier pour continuer.", noMatchDigitalBot: "Je n\u2019ai pas compris votre r\xE9ponse. Veuillez r\xE9essayer." }, 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: "Merci de r\xE9pondre \xE0 la question.", voiceSurveyNoMatchText: "Je n'ai pas compris." }, commonModule: { exitCommonModule: "Quitter le module commun" }, form: { noInputDigitalBot: "Veuillez compl\xE9ter le formulaire pour continuer.", noMatchDigitalBot: "Veuillez compl\xE9ter le formulaire pour continuer." }, messagingTemplate: { noInputDigitalBot: "Veuillez s\xE9lectionner l\u2019une des options disponibles.", noMatchDigitalBot: "Veuillez s\xE9lectionner l\u2019une 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: "Cela a-t-il r\xE9pondu \xE0 votre question ?", knowledgeFollowup: "J'esp\xE8re avoir r\xE9pondu \xE0 votre question. Vous pouvez poser toutes les questions que vous souhaitez." }, noOverlay: { intent: { intentConfirmationStr1: "Je pense que vous voulez", 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: "D\xE9sol\xE9, une erreur s'est produite. Merci de patienter pendant que je vous transf\xE8re \xE0 une personne qui peut vous aider.", errorHandlingErrorEventHandoverVoiceSurvey: "Une erreur s'est produite. Au revoir !", errorHandlingRecognitionEventHandover: "D\xE9sol\xE9, j'ai du mal \xE0 vous comprendre. Merci de patienter pendant que je vous transf\xE8re \xE0 une personne qui peut vous aider.", errorHandlingRecognitionEventHandoverVoiceSurvey: "D\xE9sol\xE9, j'ai du mal \xE0 vous comprendre. Toutes nos excuses. Au revoir !", errorHandlingTTS: "D\xE9sol\xE9, une erreur s'est produite. Veuillez r\xE9essayer votre appel..", 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" }; + }, 52179(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" }; + }, 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" }; + }, 92475(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\u05E4\u05E2\u05D5\u05DC\u05D4 \u05D6\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9\u05EA.", noInputReceived: "\u05DC\u05D0 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 \u05D0\u05E3 \u05E0\u05EA\u05D5\u05DF." }, askForBoolean: { noInput: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D0\u05D5 "\u05DC\u05D0" \u05D0\u05DD \u05D0\u05D9\u05E0\u05DA \u05DE\u05E2\u05D5\u05E0\u05D9\u05D9\u05DF \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.', noMatch: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0". \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA?', question: "\u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA?", noInputDigitalBot: '\u05D9\u05E9 \u05DC\u05D4\u05D6\u05D9\u05DF "\u05DB\u05DF" \u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D0\u05D5 "\u05DC\u05D0" \u05D0\u05DD \u05D0\u05D9\u05E0\u05DA \u05DE\u05E2\u05D5\u05E0\u05D9\u05D9\u05DF \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.', noMatchDigitalBot: '\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0". \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA?' }, askForIntent: { noInput: '\u05D0\u05DE\u05D5\u05E8 \u05DE\u05E9\u05E4\u05D8 \u05E7\u05E6\u05E8 \u05E9\u05DE\u05EA\u05D0\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E9\u05DC\u05DA. \u05DC\u05D3\u05D5\u05D2\u05DE\u05D4, "\u05D1\u05D3\u05D5\u05E7 \u05D0\u05EA \u05D9\u05EA\u05E8\u05EA \u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05D9"', noMatch: "\u05D0\u05DE\u05D5\u05E8 \u05DC\u05D9 \u05E9\u05D5\u05D1 \u05DE\u05D4 \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05E2\u05E9\u05D5\u05EA.", question: "\u05DE\u05D4 \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05E2\u05E9\u05D5\u05EA?", noInputDigitalBot: '\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DE\u05E9\u05E4\u05D8 \u05E7\u05E6\u05E8 \u05E9\u05DE\u05EA\u05D0\u05E8 \u05D0\u05EA \u05D4\u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E9\u05DC\u05DA. \u05DC\u05D3\u05D5\u05D2\u05DE\u05D4, "\u05D1\u05D3\u05D5\u05E7 \u05D0\u05EA \u05D9\u05EA\u05E8\u05EA \u05D4\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05D9"' }, askForSlot: { askFor: "\u05D1\u05E7\u05E9 \u05D0\u05EA %1$s", noInput: "\u05D0\u05DE\u05D5\u05E8 \u05D0\u05D5 \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA (\u05E8\u05E9\u05D5\u05DD \u05DB\u05D0\u05DF \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA).", noInputWithSlot: "\u05D0\u05DE\u05D5\u05E8 \u05D0\u05D5 \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA %1$s.", noMatch: "\u05EA\u05DF \u05DC\u05D9 \u05E9\u05D5\u05D1 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA (\u05E8\u05E9\u05D5\u05DD \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF).", noMatchWithSlot: "\u05EA\u05DF \u05DC\u05D9 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05E9\u05D5\u05D1 \u05D0\u05EA %1$s.", question: "\u05DE\u05D4 \u05D4\u05D5\u05D0 (\u05E8\u05E9\u05D5\u05DD \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF)?", questionWithSlot: "\u05DE\u05D4 \u05D4\u05D5\u05D0 \u05D4-%1$s?", pleaseEnterSlotNameHere: "(\u05E8\u05E9\u05D5\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF)", noInputDigitalBot: "\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA (\u05E8\u05E9\u05D5\u05DD \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05E9\u05D1\u05E6\u05EA \u05E9\u05DC\u05DA \u05DB\u05D0\u05DF).", noInputWithSlotDigitalBot: "\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-%1$s.", continuationPromptWithSlot: "\u05D0\u05E0\u05D9 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 {{Slot.%1$s}} \u05E2\u05D3 \u05DB\u05D4, \u05D4\u05DE\u05E9\u05DA \u05D1\u05D1\u05E7\u05E9\u05D4." }, askForNextSlot: { noInput: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.', noMatch: '\u05D0\u05DE\u05D5\u05E8 "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.', question: "\u05D4\u05D0\u05DD \u05D9\u05E9 \u05DE\u05E9\u05D4\u05D5 \u05E0\u05D5\u05E1\u05E3 \u05E9\u05D0\u05E0\u05D9 \u05D9\u05DB\u05D5\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8 \u05DC\u05DA \u05D1\u05D5?", noInputDigitalBot: '\u05D4\u05D6\u05DF "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.', noMatchDigitalBot: '\u05D4\u05D6\u05DF "\u05DB\u05DF" \u05D0\u05DD \u05D9\u05E9 \u05DC\u05DA \u05E9\u05D0\u05D9\u05DC\u05EA\u05D4 \u05E0\u05D5\u05E1\u05E4\u05EA, \u05D0\u05D5 "\u05DC\u05D0" \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4.' }, askForPayment: { noInputDigitalBot: "\u05E8\u05E9\u05D5\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05E4\u05E8\u05D8\u05D9 \u05D4\u05EA\u05E9\u05DC\u05D5\u05DD \u05E9\u05DC\u05DA \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.", noMatchDigitalBot: "\u05D0\u05E0\u05D9 \u05DC\u05D0 \u05D4\u05D1\u05E0\u05EA\u05D9 \u05D0\u05EA \u05DE\u05D4 \u05E9\u05E8\u05E9\u05DE\u05EA. \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05D1\u05E7\u05E9\u05D4." }, askForAuthentication: { noInputDigitalBot: "\u05E8\u05E9\u05D5\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05E4\u05E8\u05D8\u05D9 \u05D4\u05D0\u05D9\u05DE\u05D5\u05EA \u05E9\u05DC\u05DA \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.", noMatchDigitalBot: "\u05D0\u05E0\u05D9 \u05DC\u05D0 \u05D4\u05D1\u05E0\u05EA\u05D9 \u05D0\u05EA \u05DE\u05D4 \u05E9\u05E8\u05E9\u05DE\u05EA. \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05D1\u05E7\u05E9\u05D4." }, askSurveyQuestion: { notApplicable: "\u05DC\u05D0 \u05EA\u05E7\u05E3", surveyAnswerOptionSequence: "\u05DC\u05D7\u05E5 \u05E2\u05DC %1$s \u05E2\u05D1\u05D5\u05E8 '%2$s'.", surveyAnswerNotApplicableSequence: "\u05DC\u05D7\u05E5 \u05E2\u05DC \u05DB\u05D5\u05DB\u05D1\u05D9\u05EA \u05E2\u05D1\u05D5\u05E8 '\u05DC\u05D0 \u05EA\u05E7\u05E3'.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u05DC\u05D7\u05E5 \u05E2\u05DC \u05DB\u05D5\u05DB\u05D1\u05D9\u05EA \u05E2\u05D1\u05D5\u05E8 '\u05DC\u05D0 \u05EA\u05E7\u05E3'.", voiceSurveyNoInputText: "\u05E2\u05E0\u05D4 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05E2\u05DC \u05D4\u05E9\u05D0\u05DC\u05D4.", voiceSurveyNoMatchText: "\u05DC\u05D0 \u05D4\u05D1\u05E0\u05EA\u05D9 \u05D0\u05D5\u05EA\u05DA." }, commonModule: { exitCommonModule: "\u05E6\u05D0 \u05DE\u05D4\u05DE\u05D5\u05D3\u05D5\u05DC \u05D4\u05DE\u05E9\u05D5\u05EA\u05E3" }, form: { noInputDigitalBot: "\u05D4\u05E9\u05DC\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05D1\u05D8\u05D5\u05E4\u05E1 \u05E2\u05DC \u05DE\u05E0\u05EA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA.", noMatchDigitalBot: "\u05D4\u05E9\u05DC\u05DD \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05D1\u05D8\u05D5\u05E4\u05E1 \u05E2\u05DC \u05DE\u05E0\u05EA \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA." }, messagingTemplate: { noInputDigitalBot: "\u05D9\u05E9 \u05DC\u05D1\u05D7\u05D5\u05E8 \u05D0\u05D7\u05EA \u05DE\u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05D6\u05DE\u05D9\u05E0\u05D5\u05EA.", noMatchDigitalBot: "\u05D9\u05E9 \u05DC\u05D1\u05D7\u05D5\u05E8 \u05D0\u05D7\u05EA \u05DE\u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05D6\u05DE\u05D9\u05E0\u05D5\u05EA." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u05D4\u05DE\u05E9\u05DA", knowledgeAnswerHighlightFullArticleDefault: "\u05D4\u05E6\u05D2 \u05D0\u05EA \u05D4\u05DE\u05D0\u05DE\u05E8 \u05D4\u05DE\u05DC\u05D0", knowledgeInitialResponseMulti: "\u05DB\u05D3\u05D9 \u05DC\u05E2\u05D6\u05D5\u05E8 \u05DC\u05D9 \u05DC\u05D4\u05D1\u05D9\u05DF \u05D9\u05D5\u05EA\u05E8 \u05D0\u05EA \u05D4\u05DE\u05D8\u05E8\u05D4 \u05E9\u05DC\u05DA, \u05D1\u05D7\u05E8 \u05DE\u05E1\u05E4\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DE\u05D4\u05E8\u05E9\u05D9\u05DE\u05D4 \u05D4\u05D1\u05D0\u05D4:", knowledgeInitialResponseMultiRetry: "\u05D1\u05D7\u05E8 \u05DE\u05E1\u05E4\u05E8, \u05DC\u05D3\u05D5\u05D2\u05DE\u05D4 '1'.\n\u05DC\u05D4\u05DC\u05DF \u05E9\u05D5\u05D1 \u05D4\u05E8\u05E9\u05D9\u05DE\u05D4 \u05E9\u05DC \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA:", knowledgeNoMatch: "\u05D0\u05E3 \u05D0\u05D7\u05D3 \u05DE\u05D0\u05DC\u05D4", knowledgeConfirmation: "\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E2\u05E0\u05D4 \u05DC\u05E9\u05D0\u05DC\u05D4 \u05E9\u05DC\u05DA?", knowledgeFollowup: "\u05D0\u05E0\u05D9 \u05DE\u05E7\u05D5\u05D5\u05D4 \u05E9\u05E2\u05E0\u05D9\u05EA\u05D9 \u05DC\u05E9\u05D0\u05DC\u05D4 \u05E9\u05DC\u05DA. \u05D1\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA\u05DA \u05DC\u05E9\u05D0\u05D5\u05DC \u05DB\u05DC \u05D3\u05D1\u05E8 \u05D0\u05D7\u05E8 \u05E9\u05D0\u05D5\u05DC\u05D9 \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D3\u05E2\u05EA." }, noOverlay: { intent: { intentConfirmationStr1: "\u05DC\u05D3\u05E2\u05EA\u05D9 \u05D0\u05EA\u05D4 \u05E8\u05D5\u05E6\u05D4", intentConfirmationStr2: "\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?" }, youSaid: { youSaidConfirmationStr1: "\u05D0\u05EA\u05D4 \u05D0\u05DE\u05E8\u05EA", youSaidConfirmationStr2: "\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?", youSaidConfirmationStr1DigitalBot: "\u05D0\u05EA\u05D4 \u05D4\u05D6\u05E0\u05EA" }, noInput: { noInputStr1: "\u05D0\u05DE\u05D5\u05E8 \u05D0\u05D5 \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-", noInputStr1DigitalBot: "\u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-" }, noMatch: { noMatchStr1: "\u05EA\u05DF \u05DC\u05D9 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05EA \u05D4-" }, whatIs: { whatIsQuestionStr1: "\u05DE\u05D4\u05D5 \u05D4-", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u05E7\u05D9\u05D1\u05DC\u05EA\u05D9", iGotContinuationStr2: "\u05E2\u05D3 \u05DB\u05D4, \u05D4\u05DE\u05E9\u05DA \u05D1\u05D1\u05E7\u05E9\u05D4." } }, defaultCallFlowOne: "\u05EA\u05E8\u05E9\u05D9\u05DD \u05D6\u05E8\u05D9\u05DE\u05D4 \u05D1\u05E8\u05D9\u05E8\u05EA \u05DE\u05D7\u05D3\u05DC \u05E9\u05DC \u05E9\u05D9\u05D7\u05D4", errorHandlingAgentEscalationConfirmation: "\u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D3\u05D1\u05E8 \u05E2\u05DD \u05D9\u05D5\u05E2\u05E5. \u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?", errorHandlingAgentEscalationHandover: "\u05E8\u05D2\u05E2 \u05D0\u05D7\u05D3, \u05D1\u05D1\u05E7\u05E9\u05D4, \u05D5\u05D0\u05E0\u05D9 \u05D0\u05E2\u05D1\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DA \u05DC\u05DE\u05D9\u05E9\u05D4\u05D5.", errorHandlingErrorEventHandover: "\u05D0\u05E0\u05D9 \u05DE\u05EA\u05E0\u05E6\u05DC, \u05E7\u05E8\u05EA\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4. \u05E8\u05E7 \u05E8\u05D2\u05E2 \u05D1\u05D1\u05E7\u05E9\u05D4, \u05D4\u05DE\u05EA\u05DF \u05D1\u05D6\u05DE\u05DF \u05E9\u05D0\u05E0\u05D9 \u05DE\u05E2\u05D1\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DA \u05DC\u05DE\u05D9\u05E9\u05D4\u05D5 \u05E9\u05D9\u05DB\u05D5\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8.", errorHandlingErrorEventHandoverVoiceSurvey: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05E7\u05E8\u05EA\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4. \u05E9\u05DC\u05D5\u05DD.", errorHandlingRecognitionEventHandover: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05E0\u05D9 \u05DE\u05EA\u05E7\u05E9\u05D4 \u05DC\u05D4\u05D1\u05D9\u05DF \u05D0\u05D5\u05EA\u05DA. \u05E8\u05D2\u05E2 \u05D0\u05D7\u05D3 \u05D1\u05D1\u05E7\u05E9\u05D4, \u05D4\u05DE\u05EA\u05DF \u05D1\u05D6\u05DE\u05DF \u05E9\u05D0\u05E0\u05D9 \u05DE\u05E2\u05D1\u05D9\u05E8 \u05D0\u05D5\u05EA\u05DA \u05DC\u05DE\u05D9\u05E9\u05D4\u05D5 \u05E9\u05D9\u05DB\u05D5\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8 \u05DC\u05DA.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05E0\u05D9 \u05DE\u05EA\u05E7\u05E9\u05D4 \u05DC\u05D4\u05D1\u05D9\u05DF \u05D0\u05D5\u05EA\u05DA. \u05E9\u05DC\u05D5\u05DD.", errorHandlingTTS: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4. \u05E0\u05E1\u05D4 \u05DC\u05D1\u05E6\u05E2 \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05E9\u05D9\u05D7\u05D4 \u05E9\u05DC\u05DA.", initialGreetingTTS: "\u05E9\u05DC\u05D5\u05DD, \u05D6\u05D5\u05D4\u05D9 \u05D1\u05E8\u05DB\u05EA \u05D4\u05E9\u05DC\u05D5\u05DD \u05D4\u05E8\u05D0\u05E9\u05D5\u05E0\u05D9\u05EA.", initialState: "\u05DE\u05D3\u05D9\u05E0\u05D4 \u05E8\u05D0\u05E9\u05D5\u05E0\u05D4", initialBotState: "\u05D1\u05D5\u05D8 \u05D1\u05E8\u05D9\u05E8\u05EA \u05DE\u05D7\u05D3\u05DC", initialDigitalBotState: "\u05D1\u05E8\u05DB\u05EA \u05E9\u05DC\u05D5\u05DD \u05E8\u05D0\u05E9\u05D5\u05E0\u05D9\u05EA", initialSurveyBotState: "\u05D1\u05D5\u05D8 \u05E1\u05E7\u05E8\u05D9\u05DD", intentConfirmation: "\u05DC\u05D3\u05E2\u05EA\u05D9 \u05D0\u05EA\u05D4 \u05E8\u05D5\u05E6\u05D4 %1$s, \u05D4\u05D0\u05DD \u05D6\u05D4 \u05E0\u05DB\u05D5\u05DF?", mainMenu: "\u05EA\u05E4\u05E8\u05D9\u05D8 \u05E8\u05D0\u05E9\u05D9", mainMenuTTS: "\u05D0\u05EA\u05D4 \u05D1\u05EA\u05E4\u05E8\u05D9\u05D8 \u05D4\u05E8\u05D0\u05E9\u05D9, \u05DC\u05D7\u05E5 \u05E2\u05DC 9 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05E0\u05EA\u05E7", mainTask: "\u05DE\u05E9\u05D9\u05DE\u05D4", settingsConfirmationNoInputApology: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E9\u05DE\u05E2\u05EA\u05D9 \u05D0\u05D5\u05EA\u05DA. \u05D0\u05DE\u05D5\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DB\u05DF \u05D0\u05D5 \u05DC\u05D0.", settingsConfirmationNoInputApologyDigitalBot: '\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 \u05EA\u05D2\u05D5\u05D1\u05D4 \u05DE\u05DE\u05DA. \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0".', settingsConfirmationNoMatchApology: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D0\u05DE\u05D5\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05DB\u05DF \u05D0\u05D5 \u05DC\u05D0.", settingsConfirmationNoMatchApologyDigitalBot: '\u05E1\u05DC\u05D9\u05D7\u05D4, \u05D4\u05D6\u05DF \u05D1\u05D1\u05E7\u05E9\u05D4 "\u05DB\u05DF" \u05D0\u05D5 "\u05DC\u05D0".', settingsNoInputApology: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E9\u05DE\u05E2\u05EA\u05D9 \u05D0\u05D5\u05EA\u05DA.", settingsNoInputApologyDigitalBot: "\u05E1\u05DC\u05D9\u05D7\u05D4, \u05DC\u05D0 \u05E7\u05D9\u05D1\u05DC\u05EA\u05D9 \u05DE\u05DE\u05DA \u05E0\u05EA\u05D5\u05DF.", settingsEndOfSessionMessageDigitalBot: "\u05DC\u05D0 \u05E9\u05DE\u05E2\u05EA\u05D9 \u05DE\u05DE\u05DA \u05DE\u05D6\u05D4 \u05D6\u05DE\u05DF, \u05DC\u05DB\u05DF \u05D0\u05E0\u05D9 \u05E1\u05D5\u05D2\u05E8 \u05D0\u05EA \u05D4\u05E6'\u05D8 \u05D4\u05D6\u05D4. \u05D7\u05D6\u05D5\u05E8 \u05D1\u05D1\u05E7\u05E9\u05D4 \u05D0\u05DD \u05D0\u05EA\u05D4 \u05D6\u05E7\u05D5\u05E7 \u05DC\u05E2\u05D6\u05E8\u05EA\u05D9 \u05E9\u05D5\u05D1. \u05EA\u05D5\u05D3\u05D4 \u05E8\u05D1\u05D4.", settingsNoMatchApology: "\u05E1\u05DC\u05D9\u05D7\u05D4.", settingsNoToConfirmationApology: "\u05D8\u05E2\u05D5\u05EA \u05E9\u05DC\u05D9.", periodicStateName: "\u05DE\u05D3\u05D9\u05E0\u05D4 \u05D7\u05D5\u05D6\u05E8\u05EA" }; + }, 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" }; + }, 79133(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Ez nem \xE9rv\xE9nyes.", noInputReceived: "Nem kaptam semmilyen visszajelz\xE9st." }, askForBoolean: { noInput: "Mondja az \u201Eigen\u201D lehet\u0151s\xE9get, ha folytatni szeretn\xE9, vagy a \u201Enem\u201D lehet\u0151s\xE9get, amennyiben nem.", noMatch: "K\xE9rem, mondja az \u201Eigen\u201D vagy a \u201Enem\u201D lehet\u0151s\xE9get. Szeretn\xE9 folytatni?", question: "Szeretn\xE9 folytatni?", noInputDigitalBot: "Adja meg az \u201EIgen\u201D lehet\u0151s\xE9get, ha folytatni szeretn\xE9, vagy a \u201ENem\u201D lehet\u0151s\xE9get, amennyiben nem.", noMatchDigitalBot: "K\xE9rem, adja meg az \u201EIgen\u201D vagy a \u201ENem\u201D lehet\u0151s\xE9get. Szeretn\xE9 folytatni?" }, askForIntent: { noInput: "Csak egy r\xF6vid mondatot mondjon, amely le\xEDrja a k\xE9rd\xE9s\xE9t. P\xE9ld\xE1ul: \u201EEllen\u0151rizze a sz\xE1ml\xE1m egyenleg\xE9t\u201D", noMatch: "Mondja el m\xE9g egyszer, mit szeretne tenni.", question: "Mit szeretne tenni?", noInputDigitalBot: "K\xE9rem, \xEDrjon be egy r\xF6vid mondatot, amely le\xEDrja a k\xE9rd\xE9s\xE9t. P\xE9ld\xE1ul: \u201EEllen\u0151rizze a sz\xE1ml\xE1m egyenleg\xE9t\u201D" }, askForSlot: { askFor: "K\xE9rje a(z) %1$s lehet\u0151s\xE9get", noInput: "K\xE9rem, mondja vagy \xEDrja be (k\xE9rem, \xEDrja be ide a slot nev\xE9t).", noInputWithSlot: "K\xE9rem, mondja vagy \xEDrja be a(z) %1$s lehet\u0151s\xE9get.", noMatch: "K\xE9rem, mondja el \xFAjra a(z) (k\xE9rem, \xEDrja be ide a slot nev\xE9t) nevet.", noMatchWithSlot: "K\xE9rem, adja meg \xFAjra a(z) %1$s lehet\u0151s\xE9get.", question: "Mi a(z) (k\xE9rem, \xEDrja be ide a slot nev\xE9t)?", questionWithSlot: "Mi a(z) %1$s?", pleaseEnterSlotNameHere: "(k\xE9rem, \xEDrja be ide a slot nev\xE9t)", noInputDigitalBot: "K\xE9rem, \xEDrja be a(z) (k\xE9rem, \xEDrja be ide a slot nev\xE9t) nevet.", noInputWithSlotDigitalBot: "K\xE9rem, \xEDrja be a(z) %1$s lehet\u0151s\xE9get.", continuationPromptWithSlot: "Eddig a k\xF6vetkez\u0151t:{{Slot.%1$s}} kaptam, k\xE9rem, folytassa." }, askForNextSlot: { noInput: "Mondja az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a h\xEDv\xE1st.", noMatch: "Mondja az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a munkamenetet.", question: "Seg\xEDthetek m\xE9g valamiben?", noInputDigitalBot: "Adja meg az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a munkamenetet.", noMatchDigitalBot: "Adja meg az \u201Eigen\u201D lehet\u0151s\xE9get, ha van m\xE9g k\xE9rd\xE9se, vagy a \u201Enem\u201D lehet\u0151s\xE9get, ha szeretn\xE9 befejezni a munkamenetet." }, askForPayment: { noInputDigitalBot: "K\xE9rem, adja meg fizet\xE9si adatait a folytat\xE1shoz.", noMatchDigitalBot: "Nem \xE9rtettem a v\xE1lasz\xE1t. K\xE9rem, pr\xF3b\xE1lja meg \xFAjra." }, askForAuthentication: { noInputDigitalBot: "K\xE9rem, adja meg hiteles\xEDt\xE9si adatait a folytat\xE1shoz.", noMatchDigitalBot: "Nem \xE9rtettem a v\xE1lasz\xE1t. K\xE9rem, pr\xF3b\xE1lja meg \xFAjra." }, askSurveyQuestion: { notApplicable: "Nem alkalmazhat\xF3", surveyAnswerOptionSequence: "Nyomja meg a(z) %1$s for '%2$s lehet\u0151s\xE9get'.", surveyAnswerNotApplicableSequence: "Nyomja meg a csillag gombot a \u201ENem alkalmazhat\xF3\u201D kiv\xE1laszt\xE1s\xE1hoz.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Nyomja meg a csillag gombot a \u201ENem alkalmazhat\xF3\u201D kiv\xE1laszt\xE1s\xE1hoz.", voiceSurveyNoInputText: "K\xE9rem, v\xE1laszoljon a k\xE9rd\xE9sre.", voiceSurveyNoMatchText: "Nem \xE9rtettem." }, commonModule: { exitCommonModule: "Kil\xE9p\xE9s a k\xF6z\xF6s modulb\xF3l" }, form: { noInputDigitalBot: "K\xE9rem, t\xF6ltse ki az \u0171rlapot a folytat\xE1shoz.", noMatchDigitalBot: "K\xE9rem, t\xF6ltse ki az \u0171rlapot a folytat\xE1shoz." }, messagingTemplate: { noInputDigitalBot: "K\xE9rj\xFCk, v\xE1lassza az al\xE1bbi lehet\u0151s\xE9gek egyik\xE9t.", noMatchDigitalBot: "K\xE9rj\xFCk, v\xE1lassza az al\xE1bbi lehet\u0151s\xE9gek egyik\xE9t." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Folytat\xE1s", knowledgeAnswerHighlightFullArticleDefault: "Teljes cikk megtekint\xE9se", knowledgeInitialResponseMulti: "Ahhoz, hogy jobban meg\xE9rtsem c\xE9lj\xE1t, k\xE9rem, v\xE1lasszon egy sz\xE1mot az al\xE1bbi list\xE1b\xF3l:", knowledgeInitialResponseMultiRetry: "K\xE9rem, v\xE1lasszon egy sz\xE1mot, p\xE9ld\xE1ul \u201E1\u201D.\nItt van \xFAjra a lehet\u0151s\xE9gek list\xE1ja:", knowledgeNoMatch: "Ezek k\xF6z\xFCl egyik sem", knowledgeConfirmation: "Ezzel v\xE1laszt kapott a k\xE9rd\xE9s\xE9re?", knowledgeFollowup: "Rem\xE9lem, megv\xE1laszoltam a k\xE9rd\xE9s\xE9t. B\xE1rmi m\xE1st is k\xE9rdezhet, amit csak tudni szeretne." }, noOverlay: { intent: { intentConfirmationStr1: "Azt hiszem, azt szeretn\xE9, hogy", intentConfirmationStr2: "Igazam van?" }, youSaid: { youSaidConfirmationStr1: "Azt mondta, hogy", youSaidConfirmationStr2: "Igazam van?", youSaidConfirmationStr1DigitalBot: "Azt \xEDrta be, hogy" }, noInput: { noInputStr1: "K\xE9rem, mondja vagy \xEDrja be a k\xF6vetkez\u0151t:", noInputStr1DigitalBot: "K\xE9rem, \xEDrja be a k\xF6vetkez\u0151t:" }, noMatch: { noMatchStr1: "K\xE9rem, adja meg nekem a k\xF6vetkez\u0151t:" }, whatIs: { whatIsQuestionStr1: "Mi a(z)", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Eddig a k\xF6vetkez\u0151t:", iGotContinuationStr2: "kaptam, k\xE9rem folytassa." } }, defaultCallFlowOne: "Alap\xE9rtelmezett h\xEDv\xE1sfolyamat", errorHandlingAgentEscalationConfirmation: "\xD6n egy tan\xE1csad\xF3val szeretne besz\xE9lni. Igazam van?", errorHandlingAgentEscalationHandover: "Egy pillanat, k\xE9rem, \xE9s \xF6sszek\xF6t\xF6m valakivel.", errorHandlingErrorEventHandover: "Sajn\xE1lom, hiba t\xF6rt\xE9nt. K\xE9rem, v\xE1rjon egy pillanatot, am\xEDg \xE1tkapcsolom \xD6nt valakihez, aki seg\xEDteni tud.", errorHandlingErrorEventHandoverVoiceSurvey: "Sajn\xE1lom, hiba t\xF6rt\xE9nt. Viszl\xE1t!", errorHandlingRecognitionEventHandover: "Sajn\xE1lom, nem \xE9rtem, amit mond. K\xE9rem, v\xE1rjon egy pillanatot, am\xEDg \xE1tkapcsolom \xD6nt valakihez, aki seg\xEDteni tud.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Sajn\xE1lom, nem \xE9rtem, amit mond. Viszl\xE1t!", errorHandlingTTS: "Sajn\xE1lom, hiba t\xF6rt\xE9nt. K\xE9rem, pr\xF3b\xE1lja meg \xFAjra a h\xEDv\xE1st.", initialGreetingTTS: "\xDCdv\xF6zl\xF6m, ez az els\u0151 \xFCdv\xF6zl\u0151 \xFCzenet.", initialState: "Kezdeti \xE1llapot", initialBotState: "Alap\xE9rtelmezett bot", initialDigitalBotState: "\xDCdv\xF6zl\u0151 \xFCzenet", initialSurveyBotState: "Felm\xE9r\xE9si bot", intentConfirmation: "Azt hiszem, \xD6n a k\xF6vetkez\u0151t szeretn\xE9 tenni: %1$s, igazam van?", mainMenu: "F\u0151men\xFC", mainMenuTTS: "\xD6n a f\u0151men\xFCben van, nyomja meg a 9-es gombot a kapcsolat bont\xE1s\xE1hoz", mainTask: "Feladat", settingsConfirmationNoInputApology: "Sajn\xE1lom, nem hallottam. K\xE9rem, mondja az igen vagy a nem lehet\u0151s\xE9get.", settingsConfirmationNoInputApologyDigitalBot: "Sajn\xE1lom, nem kaptam \xD6nt\u0151l semmilyen visszajelz\xE9st. K\xE9rem, \xEDrja be a \u201EIgen\u201D vagy a \u201ENem\u201D lehet\u0151s\xE9get.", settingsConfirmationNoMatchApology: "K\xE9rem, mondja az igen vagy a nem lehet\u0151s\xE9get.", settingsConfirmationNoMatchApologyDigitalBot: "Sajn\xE1lom, k\xE9rem, adja meg a \u201EIgen\u201D vagy a \u201ENem\u201D lehet\u0151s\xE9get.", settingsNoInputApology: "Sajn\xE1lom, nem hallottam.", settingsNoInputApologyDigitalBot: "Sajn\xE1lom, nem kaptam \xD6nt\u0151l semmilyen visszajelz\xE9st.", settingsEndOfSessionMessageDigitalBot: "Egy ideje nem hallottam \xD6nr\u0151l, ez\xE9rt bez\xE1rom ezt a cseveg\xE9st. K\xE9rem, t\xE9rjen vissza, ha \xFAjra sz\xFCks\xE9ge van a seg\xEDts\xE9gemre. K\xF6sz\xF6n\xF6m.", settingsNoMatchApology: "Sajn\xE1lom.", settingsNoToConfirmationApology: "Az \xE9n hib\xE1m.", periodicStateName: "Ism\xE9tl\u0151d\u0151 \xE1llapot" }; + }, 77838(e2, t2, i2) { + let n2 = null; + if (i2(6697)) n2 = i2(92421); + else { + const e3 = i2(29546); + try { + n2 = i2(44485)("./" + e3.getCurrentLanguage() + "/isoLanguages.js"); + } catch (e4) { + n2 = i2(92421); } - isAvailableForFlow(e3) { - return e3.destinationFlowTypes.every((e4) => this.isAvailableForFlowType(e4, true)); + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 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" }; + }, 55958(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\u305D\u308C\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002", noInputReceived: "\u5165\u529B\u3092\u53D7\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002" }, askForBoolean: { noInput: '\u7D9A\u884C\u3059\u308B\u5834\u5408\u306F "\u306F\u3044" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u7D9A\u884C\u3057\u306A\u3044\u5834\u5408\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002', noMatch: '"\u306F\u3044" \u307E\u305F\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B?', question: "\u7D9A\u884C\u3057\u307E\u3059\u304B?", noInputDigitalBot: '\u7D9A\u884C\u3059\u308B\u5834\u5408\u306F"\u306F\u3044"\u3001\u7D9A\u884C\u3057\u306A\u3044\u5834\u5408\u306F"\u3044\u3044\u3048"\u3068\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', noMatchDigitalBot: '"\u306F\u3044"\u307E\u305F\u306F"\u3044\u3044\u3048"\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B?' }, askForIntent: { noInput: '\u8CEA\u554F\u3092\u77ED\u3044\u8A00\u8449\u3067\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u4F8B: "\u6B8B\u9AD8\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044"', noMatch: "\u306A\u3055\u308A\u305F\u3044\u3053\u3068\u3092\u3082\u3046\u4E00\u5EA6\u304A\u8A71\u3057\u304F\u3060\u3055\u3044\u3002", question: "\u4F55\u3092\u306A\u3055\u308A\u305F\u3044\u306E\u3067\u3059\u304B?", noInputDigitalBot: '\u8CEA\u554F\u306E\u5185\u5BB9\u3092\u77ED\u3044\u8A00\u8449\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u4F8B: "\u6B8B\u9AD8\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044"' }, askForSlot: { askFor: "%1$s \u3092\u8981\u6C42\u3059\u308B", noInput: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3092\u8A00\u3046\u304B\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noInputWithSlot: "%1$s \u3068\u8A00\u3046\u304B\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatch: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3092\u3082\u3046\u4E00\u5EA6\u304A\u9858\u3044\u3057\u307E\u3059\u3002", noMatchWithSlot: "%1$s \u3092\u3082\u3046\u4E00\u5EA6\u304A\u9858\u3044\u3057\u307E\u3059\u3002", question: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3068\u306F\u4F55\u3067\u3059\u304B?", questionWithSlot: "%1$s \u3068\u306F\u4F55\u3067\u3059\u304B?", pleaseEnterSlotNameHere: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044)", noInputDigitalBot: "(\u3053\u3053\u306B\u30B9\u30ED\u30C3\u30C8\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044) \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noInputWithSlotDigitalBot: "%1$s \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", continuationPromptWithSlot: "\u3053\u308C\u307E\u3067\u306B {{Slot.%1$s}} \u3092\u7372\u5F97\u3057\u307E\u3057\u305F\u3002\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, askForNextSlot: { noInput: '\u4ED6\u306E\u8CEA\u554F\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u901A\u8A71\u3092\u7D42\u4E86\u3059\u308B\u5834\u5408\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002', noMatch: '\u4ED6\u306E\u8CEA\u554F\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3059\u308B\u5834\u5408\u306F "\u3044\u3044\u3048" \u3068\u8A00\u3063\u3066\u304F\u3060\u3055\u3044\u3002', question: "\u4ED6\u306B\u304A\u624B\u4F1D\u3044\u3067\u304D\u308B\u3053\u3068\u306F\u3042\u308A\u307E\u3059\u304B?", noInputDigitalBot: '\u5225\u306E\u30AF\u30A8\u30EA\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3092\u3001\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3059\u308B\u306B\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', noMatchDigitalBot: '\u5225\u306E\u30AF\u30A8\u30EA\u304C\u3042\u308B\u5834\u5408\u306F "\u306F\u3044" \u3092\u3001\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3059\u308B\u306B\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002' }, askForPayment: { noInputDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u652F\u6255\u60C5\u5831\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u5FDC\u7B54\u3092\u7406\u89E3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, askForAuthentication: { noInputDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u8A8D\u8A3C\u60C5\u5831\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u5FDC\u7B54\u3092\u7406\u89E3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, askSurveyQuestion: { notApplicable: "\u8A72\u5F53\u306A\u3057", surveyAnswerOptionSequence: "'%2$s' \u306E\u5834\u5408\u306F %1$s \u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044", surveyAnswerNotApplicableSequence: "\u8A72\u5F53\u306A\u3057\u306E\u5834\u5408\u306F\u661F\u30DE\u30FC\u30AF\u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044\u3002", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u8A72\u5F53\u306A\u3057\u306E\u5834\u5408\u306F\u661F\u30DE\u30FC\u30AF\u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044\u3002", voiceSurveyNoInputText: "\u8CEA\u554F\u306B\u5FDC\u7B54\u3057\u3066\u304F\u3060\u3055\u3044\u3002", voiceSurveyNoMatchText: "\u8CEA\u554F\u3092\u7406\u89E3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002" }, commonModule: { exitCommonModule: "\u5171\u901A\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u7D42\u4E86" }, form: { noInputDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u30D5\u30A9\u30FC\u30E0\u3092\u8A18\u5165\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u7D9A\u884C\u3059\u308B\u306B\u306F\u30D5\u30A9\u30FC\u30E0\u3092\u8A18\u5165\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, messagingTemplate: { noInputDigitalBot: "\u5229\u7528\u53EF\u80FD\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u3044\u305A\u308C\u304B\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noMatchDigitalBot: "\u5229\u7528\u53EF\u80FD\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u3044\u305A\u308C\u304B\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u7D9A\u884C", knowledgeAnswerHighlightFullArticleDefault: "\u5168\u8A18\u4E8B\u3092\u8868\u793A", knowledgeInitialResponseMulti: "\u76EE\u6A19\u3092\u5206\u304B\u308A\u3084\u3059\u304F\u7406\u89E3\u3067\u304D\u308B\u3088\u3046\u306B\u3001\u6B21\u306E\u30EA\u30B9\u30C8\u304B\u3089\u6570\u5B57\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044:", knowledgeInitialResponseMultiRetry: "'1' \u306A\u3069\u306E\u6570\u5B57\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u30EA\u30B9\u3092\u518D\u8868\u793A\u3057\u307E\u3059:", knowledgeNoMatch: "\u8A72\u5F53\u306A\u3057", knowledgeConfirmation: "\u3053\u308C\u304C\u8CEA\u554F\u306E\u7B54\u3048\u306B\u306A\u308A\u307E\u3057\u305F\u304B?", knowledgeFollowup: "\u8CEA\u554F\u306B\u7B54\u3048\u3089\u308C\u3066\u3044\u307E\u3059\u3067\u3057\u3087\u3046\u304B\u3002\u4ED6\u306B\u77E5\u308A\u305F\u3044\u3053\u3068\u304C\u3042\u308C\u3070\u3054\u8CEA\u554F\u304F\u3060\u3055\u3044\u3002" }, noOverlay: { intent: { intentConfirmationStr1: "X \u3057\u305F\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306D\u3002", intentConfirmationStr2: "\u3053\u306E\u89E3\u91C8\u3067\u6B63\u3057\u3044\u3067\u3059\u304B?" }, youSaid: { youSaidConfirmationStr1: "X \u3068\u304A\u3063\u3057\u3083\u3044\u307E\u3057\u305F\u3002", youSaidConfirmationStr2: "\u3053\u306E\u89E3\u91C8\u3067\u6B63\u3057\u3044\u3067\u3059\u304B?", youSaidConfirmationStr1DigitalBot: "\u5165\u529B\u5185\u5BB9" }, noInput: { noInputStr1: "X \u3068\u3057\u3083\u3079\u308B\u304B\u3001\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002", noInputStr1DigitalBot: "\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044:" }, noMatch: { noMatchStr1: "X \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, whatIs: { whatIsQuestionStr1: "X \u3068\u306F\u4F55\u3067\u3059\u304B?", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u3053\u308C\u307E\u3067\u306B", iGotContinuationStr2: "\u3092\u7372\u5F97\u3057\u307E\u3057\u305F\u3002\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" } }, defaultCallFlowOne: "\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u901A\u8A71\u30D5\u30ED\u30FC", errorHandlingAgentEscalationConfirmation: "\u30A2\u30C9\u30D0\u30A4\u30B6\u30FC\u3068\u8A71\u3057\u305F\u3044\u306E\u3067\u3059\u306D\u3002\u3053\u306E\u89E3\u91C8\u3067\u6B63\u3057\u3044\u3067\u3059\u304B?", errorHandlingAgentEscalationHandover: "\u62C5\u5F53\u8005\u306B\u304A\u7E4B\u304E\u3044\u305F\u3057\u307E\u3059\u306E\u3067\u3057\u3070\u3089\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002", errorHandlingErrorEventHandover: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u62C5\u5F53\u8005\u306B\u304A\u7E4B\u304E\u3044\u305F\u3057\u307E\u3059\u306E\u3067\u3057\u3070\u3089\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002", errorHandlingErrorEventHandoverVoiceSurvey: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u3055\u3088\u3046\u306A\u3089\u3002", errorHandlingRecognitionEventHandover: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u79C1\u3067\u306F\u5206\u304B\u308A\u304B\u306D\u308B\u3088\u3046\u3067\u3059\u3002\u62C5\u5F53\u8005\u306B\u304A\u7E4B\u304E\u3044\u305F\u3057\u307E\u3059\u306E\u3067\u3057\u3070\u3089\u304F\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u79C1\u3067\u306F\u5206\u304B\u308A\u304B\u306D\u308B\u3088\u3046\u3067\u3059\u3002\u3055\u3088\u3046\u306A\u3089\u3002", errorHandlingTTS: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u304C\u3001\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u901A\u8A71\u3092\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002", initialGreetingTTS: "\u3053\u3093\u306B\u3061\u306F\u3001\u3053\u308C\u306F\u6700\u521D\u306E\u3042\u3044\u3055\u3064\u3067\u3059\u3002", initialState: "\u521D\u671F\u306E\u72B6\u614B", initialBotState: "\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30DC\u30C3\u30C8", initialDigitalBotState: "\u6700\u521D\u306E\u6328\u62F6", initialSurveyBotState: "\u30A2\u30F3\u30B1\u30FC\u30C8 \u30DC\u30C3\u30C8", intentConfirmation: "%1$s \u3092\u306A\u3055\u308A\u305F\u3044\u3088\u3046\u3067\u3059\u304C\u3001\u305D\u308C\u3067\u3088\u308D\u3057\u3044\u3067\u3059\u304B?", mainMenu: "\u30E1\u30A4\u30F3 \u30E1\u30CB\u30E5\u30FC", mainMenuTTS: "\u30E1\u30A4\u30F3 \u30E1\u30CB\u30E5\u30FC\u304C\u8868\u793A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5207\u65AD\u3059\u308B\u306B\u306F 9 \u3092\u62BC\u3057\u3066\u304F\u3060\u3055\u3044", mainTask: "\u30BF\u30B9\u30AF", settingsConfirmationNoInputApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u3088\u304F\u805E\u3053\u3048\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u300C\u306F\u3044\u300D\u304B\u300C\u3044\u3044\u3048\u300D\u3067\u304A\u7B54\u3048\u304F\u3060\u3055\u3044\u3002", settingsConfirmationNoInputApologyDigitalBot: '\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u5165\u529B\u5185\u5BB9\u3092\u53D7\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002"\u306F\u3044" \u307E\u305F\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', settingsConfirmationNoMatchApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u300C\u306F\u3044\u300D\u304B\u300C\u3044\u3044\u3048\u300D\u3067\u304A\u7B54\u3048\u304F\u3060\u3055\u3044\u3002", settingsConfirmationNoMatchApologyDigitalBot: '\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002"\u306F\u3044" \u307E\u305F\u306F "\u3044\u3044\u3048" \u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002', settingsNoInputApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u3088\u304F\u805E\u3053\u3048\u307E\u305B\u3093\u3067\u3057\u305F\u3002", settingsNoInputApologyDigitalBot: "\u5165\u529B\u5185\u5BB9\u3092\u53D7\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002", settingsEndOfSessionMessageDigitalBot: "\u3057\u3070\u3089\u304F\u4F1A\u8A71\u304C\u306A\u304B\u3063\u305F\u306E\u3067\u3053\u306E\u30C1\u30E3\u30C3\u30C8\u3092\u7D42\u4E86\u3057\u307E\u3059\u3002\u307E\u305F\u30B5\u30DD\u30FC\u30C8\u304C\u5FC5\u8981\u306A\u5834\u5408\u306F\u307E\u305F\u304A\u8D8A\u3057\u304F\u3060\u3055\u3044\u3002\u3042\u308A\u304C\u3068\u3046\u3054\u3056\u3044\u307E\u3057\u305F\u3002", settingsNoMatchApology: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002", settingsNoToConfirmationApology: "\u79C1\u306E\u30DF\u30B9\u3067\u3059\u3002", periodicStateName: "\u518D\u5E30\u72B6\u614B" }; + }, 82984(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.", noInputReceived: "\uC785\uB825\uD55C \uB0B4\uC6A9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." }, askForBoolean: { noInput: '\uACC4\uC18D \uC9C4\uD589\uD558\uB824\uBA74 "\uC608", \uADF8\uB807\uC9C0 \uC54A\uC73C\uBA74 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC138\uC694.', noMatch: '"\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC2ED\uC2DC\uC624. \uACC4\uC18D \uC9C4\uD589\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?', question: "\uACC4\uC18D \uC9C4\uD589\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?", noInputDigitalBot: '\uACC4\uC18D\uD558\uB824\uBA74 "\uC608"\uB97C \uC785\uB825\uD558\uACE0 \uADF8\uB807\uC9C0 \uC54A\uC73C\uBA74 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.', noMatchDigitalBot: '"\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624. \uACC4\uC18D\uD558\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?' }, askForIntent: { noInput: '\uCFFC\uB9AC\uAC00 \uC5B4\uB5A4 \uB0B4\uC6A9\uC778\uC9C0 \uAC04\uB2E8\uD558\uAC8C \uC124\uBA85\uD558\uC2ED\uC2DC\uC624. \uC608\uB97C \uB4E4\uC5B4 "\uB0B4 \uACC4\uC88C \uC794\uC561 \uD655\uC778"\uC774\uB77C\uACE0 \uB9D0\uD558\uBA74 \uB429\uB2C8\uB2E4.', noMatch: "\uBB34\uC5C7\uC744 \uD558\uACE0 \uC2F6\uC73C\uC2E0\uC9C0 \uB2E4\uC2DC \uB9D0\uD574 \uC8FC\uC138\uC694.", question: "\uC5B4\uB5A4 \uC791\uC5C5\uC744 \uD558\uACE0 \uC2F6\uC73C\uC2E0\uAC00\uC694?", noInputDigitalBot: '\uBB38\uC758 \uB0B4\uC6A9\uC744 \uC124\uBA85\uD558\uB294 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uC785\uB825\uD558\uC2ED\uC2DC\uC624. \uC608: "\uB0B4 \uACC4\uC88C \uC794\uC561 \uD655\uC778"' }, askForSlot: { askFor: "%1$s \uC694\uCCAD", noInput: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC744(\uB97C) \uB9D0\uD558\uAC70\uB098 \uC785\uB825\uD558\uC138\uC694.", noInputWithSlot: "%1$s\uC744(\uB97C) \uB9D0\uD558\uAC70\uB098 \uC785\uB825\uD558\uC138\uC694.", noMatch: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC744(\uB97C) \uB2E4\uC2DC \uC54C\uB824 \uC8FC\uC138\uC694.", noMatchWithSlot: "%1$s\uC744(\uB97C) \uB2E4\uC2DC \uC54C\uB824 \uC8FC\uC138\uC694.", question: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC774(\uAC00) \uBB34\uC5C7\uC778\uAC00\uC694?", questionWithSlot: "%1$s\uC774(\uAC00) \uBB34\uC5C7\uC778\uAC00\uC694?", pleaseEnterSlotNameHere: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984\uC744 \uC785\uB825\uD558\uC138\uC694)", noInputDigitalBot: "(\uC5EC\uAE30\uC5D0 \uC2AC\uB86F \uC774\uB984 \uC785\uB825)\uC744(\uB97C) \uC785\uB825\uD558\uC2ED\uC2DC\uC624.", noInputWithSlotDigitalBot: "%1$s\uC744(\uB97C) \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.", continuationPromptWithSlot: "\uC9C0\uAE08\uAE4C\uC9C0 {{Slot.%1$s}}\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2ED\uC2DC\uC624." }, askForNextSlot: { noInput: '\uB2E4\uB978 \uCFFC\uB9AC\uAC00 \uC788\uC73C\uBA74 "\uC608", \uD1B5\uD654\uB97C \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC138\uC694.', noMatch: '\uB2E4\uB978 \uCFFC\uB9AC\uAC00 \uC788\uC73C\uBA74 "\uC608", \uC138\uC158\uC744 \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB77C\uACE0 \uB9D0\uD558\uC2ED\uC2DC\uC624.', question: "\uC774\uC678\uC5D0 \uB2E4\uB978 \uB3C4\uC6C0\uC774 \uD544\uC694\uD558\uC138\uC694?", noInputDigitalBot: '\uB2E4\uB978 \uBB38\uC758\uAC00 \uC788\uC73C\uBA74 "\uC608"\uB97C \uC785\uB825\uD558\uACE0 \uC138\uC158\uC744 \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.', noMatchDigitalBot: '\uB2E4\uB978 \uBB38\uC758\uAC00 \uC788\uC73C\uBA74 "\uC608"\uB97C \uC785\uB825\uD558\uACE0 \uC138\uC158\uC744 \uC885\uB8CC\uD558\uB824\uBA74 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.' }, askForPayment: { noInputDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uACB0\uC81C \uC815\uBCF4\uB97C \uC81C\uACF5\uD558\uC2ED\uC2DC\uC624.", noMatchDigitalBot: "\uC751\uB2F5\uC744 \uC774\uD574\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC2ED\uC2DC\uC624." }, askForAuthentication: { noInputDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uC778\uC99D \uC815\uBCF4\uB97C \uC81C\uACF5\uD558\uC2ED\uC2DC\uC624.", noMatchDigitalBot: "\uC751\uB2F5\uC744 \uC774\uD574\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC2ED\uC2DC\uC624." }, askSurveyQuestion: { notApplicable: "\uD574\uB2F9\uB418\uC9C0 \uC54A\uC74C", surveyAnswerOptionSequence: "'%2$s'\uC5D0 \uB300\uD55C %1$s\uC744(\uB97C) \uB204\uB985\uB2C8\uB2E4.", surveyAnswerNotApplicableSequence: "\uD574\uB2F9 \uC5C6\uC74C\uC5D0 \uB300\uD55C \uBCC4\uC744 \uB204\uB985\uB2C8\uB2E4.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \uD574\uB2F9 \uC5C6\uC74C\uC5D0 \uB300\uD55C \uBCC4\uC744 \uB204\uB985\uB2C8\uB2E4.", voiceSurveyNoInputText: "\uC9C8\uBB38\uC5D0 \uC751\uB2F5\uD558\uC2ED\uC2DC\uC624.", voiceSurveyNoMatchText: "\uC81C\uAC00 \uC81C\uB300\uB85C \uD30C\uC545\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4." }, commonModule: { exitCommonModule: "\uACF5\uD1B5 \uBAA8\uB4C8 \uC885\uB8CC" }, form: { noInputDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uC591\uC2DD\uC744 \uC791\uC131\uD558\uC2ED\uC2DC\uC624.", noMatchDigitalBot: "\uACC4\uC18D\uD558\uB824\uBA74 \uC591\uC2DD\uC744 \uC791\uC131\uD558\uC2ED\uC2DC\uC624." }, messagingTemplate: { noInputDigitalBot: "\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC635\uC158 \uC911 \uD558\uB098\uB97C \uC120\uD0DD\uD558\uC138\uC694.", noMatchDigitalBot: "\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC635\uC158 \uC911 \uD558\uB098\uB97C \uC120\uD0DD\uD558\uC138\uC694." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\uACC4\uC18D", knowledgeAnswerHighlightFullArticleDefault: "\uC804\uCCB4 \uBB38\uC11C \uBCF4\uAE30", knowledgeInitialResponseMulti: "\uBAA9\uD45C\uB97C \uBA85\uD655\uD788 \uC54C \uC218 \uC788\uB3C4\uB85D \uB2E4\uC74C \uBAA9\uB85D\uC5D0\uC11C \uBC88\uD638\uB97C \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624.", knowledgeInitialResponseMultiRetry: "\uBC88\uD638\uB97C \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624. \uC608\uB97C \uB4E4\uC5B4 '1'\uC744 \uC120\uD0DD\uD569\uB2C8\uB2E4.\n\uB2E4\uC74C\uC740 \uC635\uC158 \uBAA9\uB85D\uC785\uB2C8\uB2E4.", knowledgeNoMatch: "\uC5C6\uC74C", knowledgeConfirmation: "\uC9C8\uBB38\uC758 \uC751\uB2F5\uC774 \uB418\uC5C8\uC2B5\uB2C8\uAE4C?", knowledgeFollowup: "\uC9C8\uBB38\uC5D0 \uB300\uD55C \uB2F5\uBCC0\uC774 \uB418\uC5C8\uAE30\uB97C \uBC14\uB78D\uB2C8\uB2E4. \uAD81\uAE08\uD55C \uAC83\uC774 \uC788\uC73C\uC2DC\uBA74 \uB354 \uC9C8\uBB38\uD558\uC2E4 \uC218 \uC788\uC2B5\uB2C8\uB2E4." }, noOverlay: { intent: { intentConfirmationStr1: "\uC6D0\uD558\uC2DC\uB294\uAD70\uC694.", intentConfirmationStr2: "\uB9DE\uC2B5\uB2C8\uAE4C?" }, youSaid: { youSaidConfirmationStr1: "\uB9D0\uC500\uD558\uC168\uC2B5\uB2C8\uB2E4.", youSaidConfirmationStr2: "\uB9DE\uC2B5\uB2C8\uAE4C?", youSaidConfirmationStr1DigitalBot: "\uC785\uB825\uD558\uC2E0 \uC0AC\uD56D" }, noInput: { noInputStr1: "\uB9D0\uD558\uAC70\uB098 \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.", noInputStr1DigitalBot: "\uB2E4\uC74C \uC0AC\uD56D\uC744 \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624." }, noMatch: { noMatchStr1: "\uC81C\uACF5\uD574 \uC8FC\uC2ED\uC2DC\uC624." }, whatIs: { whatIsQuestionStr1: "\uBB34\uC5C7\uC785\uB2C8\uAE4C?", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\uC9C0\uAE08\uAE4C\uC9C0", iGotContinuationStr2: "\uC774(\uAC00) \uC788\uC2B5\uB2C8\uB2E4. \uACC4\uC18D\uD558\uC2ED\uC2DC\uC624." } }, defaultCallFlowOne: "\uAE30\uBCF8 \uD1B5\uD654 \uD750\uB984", errorHandlingAgentEscalationConfirmation: "\uC0C1\uB2F4 \uC804\uBB38\uAC00\uC640 \uD1B5\uD654\uD558\uB824\uACE0 \uD569\uB2C8\uB2E4. \uB9DE\uC2B5\uB2C8\uAE4C?", errorHandlingAgentEscalationHandover: "\uC7A0\uC2DC \uAE30\uB2E4\uB824 \uC8FC\uC2DC\uBA74 \uC5F0\uACB0\uD574 \uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4.", errorHandlingErrorEventHandover: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC7A0\uC2DC \uAE30\uB2E4\uB824 \uC8FC\uC2DC\uBA74 \uB3C4\uC6C0\uC744 \uB4DC\uB9B4 \uC218 \uC788\uB294 \uC0AC\uB78C\uACFC \uC5F0\uACB0\uD574 \uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4.", errorHandlingErrorEventHandoverVoiceSurvey: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0\uC744 \uC885\uB8CC\uD569\uB2C8\uB2E4.", errorHandlingRecognitionEventHandover: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC81C\uAC00 \uC81C\uB300\uB85C \uD30C\uC545\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC7A0\uC2DC \uAE30\uB2E4\uB824 \uC8FC\uC2DC\uBA74 \uB3C4\uC6C0\uC744 \uB4DC\uB9B4 \uC218 \uC788\uB294 \uC0AC\uB78C\uACFC \uC5F0\uACB0\uD574 \uB4DC\uB9AC\uACA0\uC2B5\uB2C8\uB2E4.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC81C\uAC00 \uC81C\uB300\uB85C \uD30C\uC545\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0\uC744 \uC885\uB8CC\uD569\uB2C8\uB2E4.", errorHandlingTTS: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uD1B5\uD654\uB97C \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC2ED\uC2DC\uC624.", initialGreetingTTS: "\uC548\uB155\uD558\uC138\uC694? \uC11C\uBE44\uC2A4\uB97C \uC2DC\uC791\uD569\uB2C8\uB2E4.", initialState: "\uCD5C\uCD08 \uC0C1\uD0DC", initialBotState: "\uAE30\uBCF8 \uBD07", initialDigitalBotState: "\uC2DC\uC791 \uC778\uC0AC\uB9D0", initialSurveyBotState: "\uC870\uC0AC \uBD07", intentConfirmation: "%1$s\uC744(\uB97C) \uC6D0\uD558\uC2DC\uB294 \uAC83\uC774 \uB9DE\uB098\uC694?", mainMenu: "\uAE30\uBCF8 \uBA54\uB274", mainMenuTTS: "\uAE30\uBCF8 \uBA54\uB274\uC5D0 \uC788\uC2B5\uB2C8\uB2E4. \uC5F0\uACB0\uC744 \uB04A\uC73C\uB824\uBA74 9\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.", mainTask: "\uC791\uC5C5", settingsConfirmationNoInputApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uB4E3\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC608\uB098 \uC544\uB2C8\uC694\uB85C \uB9D0\uC500\uD558\uC2ED\uC2DC\uC624.", settingsConfirmationNoInputApologyDigitalBot: '\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC785\uB825\uD558\uC2E0 \uB0B4\uC6A9\uC774 \uC218\uC2E0\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. "\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.', settingsConfirmationNoMatchApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC608\uB098 \uC544\uB2C8\uC694\uB85C \uB9D0\uC500\uD558\uC2ED\uC2DC\uC624.", settingsConfirmationNoMatchApologyDigitalBot: '\uC8C4\uC1A1\uD569\uB2C8\uB2E4. "\uC608" \uB610\uB294 "\uC544\uB2C8\uC694"\uB97C \uC785\uB825\uD574 \uC8FC\uC2ED\uC2DC\uC624.', settingsNoInputApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uB4E3\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.", settingsNoInputApologyDigitalBot: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC785\uB825\uD558\uC2E0 \uB0B4\uC6A9\uC774 \uC218\uC2E0\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.", settingsEndOfSessionMessageDigitalBot: "\uD55C\uCC38 \uB3D9\uC548 \uC751\uB2F5\uD558\uC2DC\uC9C0 \uC54A\uC558\uAE30 \uB54C\uBB38\uC5D0 \uC774 \uCC44\uD305\uC744 \uB2EB\uC73C\uB824\uACE0 \uD569\uB2C8\uB2E4. \uB3C4\uC6C0\uC774 \uD544\uC694\uD558\uC2DC\uBA74 \uB2E4\uC2DC \uC5F0\uB77D\uC8FC\uC138\uC694. \uAC10\uC0AC\uD569\uB2C8\uB2E4.", settingsNoMatchApology: "\uC8C4\uC1A1\uD569\uB2C8\uB2E4.", settingsNoToConfirmationApology: "\uC81C \uC798\uBABB\uC785\uB2C8\uB2E4.", periodicStateName: "\uBC18\uBCF5 \uC0C1\uD0DC" }; + }, 21733(e2, t2, i2) { + let n2 = null; + if (!i2(6697)) try { + n2 = i2(33089); + } catch (e3) { + n2 = null; + } + e2.exports = function(e3) { + e3 = e3.toLowerCase(); + try { + return n2 ? n2("./" + e3 + "/templates.js") : i2(4444)("./" + e3 + "/templates"); + } catch (e4) { + return i2(6142); } - isAvailableForTaskMode(e3) { - return e3 && this.canBeInTask || !e3 && this.canBeTreeNode; + }; + }, 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" }; + }, 35476(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Det er ikke gyldig.", noInputReceived: "Jeg mottok ingen inndata." }, askForBoolean: { noInput: 'Si "ja" hvis du \xF8nsker \xE5 fortsette, eller "nei" hvis du ikke vil fortsette.', noMatch: 'Si "Ja" eller "Nei". \xD8nsker du \xE5 fortsette?', question: "\xD8nsker du \xE5 fortsette?", noInputDigitalBot: 'Angi "Ja" hvis du vil fortsette eller "Nei" hvis du ikke vil.', noMatchDigitalBot: 'Angi "Ja" eller "Nei". \xD8nsker du \xE5 fortsette?' }, askForIntent: { noInput: 'Si en kort setning som beskriver sp\xF8rsm\xE5let ditt, slikt som "Kontroller saldoen min"', noMatch: "Si igjen hva det er du \xF8nsker \xE5 gj\xF8re.", question: "Hva \xF8nsker du \xE5 gj\xF8re?", noInputDigitalBot: 'Skriv inn en kort setning som beskriver sp\xF8rringen din. For eksempel, "Sjekke saldoen p\xE5 kontoen min"' }, askForSlot: { askFor: "Sp\xF8r for %1$s", noInput: "Si eller skriv inn (angi spornavnet ditt her).", noInputWithSlot: "Si eller skriv inn %1$s.", noMatch: "Fortell meg (skriv inn spornavnet ditt her) igjen.", noMatchWithSlot: "Gi meg %1$s igjen.", question: "Hva er (skriv inn spornavnet ditt her)?", questionWithSlot: "Hva er %1$s?", pleaseEnterSlotNameHere: "(legg inn spornavnet ditt her)", noInputDigitalBot: "Angi (skriv inn spornavnet ditt her).", noInputWithSlotDigitalBot: "Angi %1$s.", continuationPromptWithSlot: "Jeg har {{Slot.%1$s}} s\xE5 langt, vennligst fortsett." }, askForNextSlot: { noInput: 'Si "ja" hvis du har et annet sp\xF8rsm\xE5l, eller "nei" for \xE5 avslutte oppringningen.', noMatch: 'Si "Ja" hvis du har et annet sp\xF8rsm\xE5l, eller "Nei" for \xE5 avslutte \xF8kten.', question: "Er det noe annet jeg kan hjelpe deg med?", noInputDigitalBot: 'Angi "Ja" hvis du har en sp\xF8rring til, eller "Nei" for \xE5 avslutte \xF8kten.', noMatchDigitalBot: 'Angi "Ja" hvis du har en sp\xF8rring til, eller "Nei" for \xE5 avslutte \xF8kten.' }, askForPayment: { noInputDigitalBot: "Angi betalingsopplysningene dine for \xE5 fortsette.", noMatchDigitalBot: "Jeg forsto ikke svaret ditt. Pr\xF8v igjen." }, askForAuthentication: { noInputDigitalBot: "Oppgi autentiseringsinformasjonen din for \xE5 fortsette.", noMatchDigitalBot: "Jeg forsto ikke svaret ditt. Pr\xF8v igjen." }, askSurveyQuestion: { notApplicable: "Ikke relevant", surveyAnswerOptionSequence: "Trykk p\xE5 %1$s for '%2$s'.", surveyAnswerNotApplicableSequence: "Trykk p\xE5 stjerne for Ikke relevant.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Trykk p\xE5 stjerne for Ikke relevant.", voiceSurveyNoInputText: "Vennligst svar p\xE5 sp\xF8rsm\xE5let.", voiceSurveyNoMatchText: "Jeg forst\xE5r deg ikke." }, commonModule: { exitCommonModule: "Avslutt fellesmodul" }, form: { noInputDigitalBot: "Fullf\xF8r skjemaet for \xE5 fortsette.", noMatchDigitalBot: "Fullf\xF8r skjemaet for \xE5 fortsette." }, messagingTemplate: { noInputDigitalBot: "Velg ett av de tilgjengelige alternativene.", noMatchDigitalBot: "Velg ett av de tilgjengelige alternativene." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Fortsett", knowledgeAnswerHighlightFullArticleDefault: "Vis hele artikkelen", knowledgeInitialResponseMulti: "For \xE5 hjelpe meg med \xE5 tydeliggj\xF8re m\xE5let ditt, velger du et tall fra f\xF8lgende liste:", knowledgeInitialResponseMultiRetry: "Velg et tall, for eksempel '1'.\nHer har du listen over valg igjen:", knowledgeNoMatch: "Ingen av disse", knowledgeConfirmation: "Svarte dette p\xE5 sp\xF8rsm\xE5let ditt?", knowledgeFollowup: "Jeg h\xE5per jeg svarte p\xE5 sp\xF8rsm\xE5let ditt. Du kan sp\xF8rre om hva som helst du lurer p\xE5." }, noOverlay: { intent: { intentConfirmationStr1: "Jeg tror du vil", intentConfirmationStr2: "Er dette riktig?" }, youSaid: { youSaidConfirmationStr1: "Du sa", youSaidConfirmationStr2: "Er dette riktig?", youSaidConfirmationStr1DigitalBot: "Du skrev inn" }, noInput: { noInputStr1: "Si eller angi", noInputStr1DigitalBot: "Skriv inn" }, noMatch: { noMatchStr1: "Gi meg" }, whatIs: { whatIsQuestionStr1: "Hva er", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Jeg har", iGotContinuationStr2: "s\xE5 langt, vennligst fortsett." } }, defaultCallFlowOne: "Standard samtaleflyt", errorHandlingAgentEscalationConfirmation: "Du \xF8nsker \xE5 snakke med en r\xE5dgiver. Er det riktig?", errorHandlingAgentEscalationHandover: "Et \xF8yeblikk, s\xE5 finner jeg noen du kan snakke med.", errorHandlingErrorEventHandover: "Beklager, det oppsto en feil. Vent et \xF8yeblikk mens jeg setter deg over til noen som kan hjelpe.", errorHandlingErrorEventHandoverVoiceSurvey: "Beklager, en feil har oppst\xE5tt. Adj\xF8.", errorHandlingRecognitionEventHandover: "Beklager. Jeg har vanskeligheter med \xE5 forst\xE5 deg. Vent et \xF8yeblikk mens jeg setter deg over til noen som kan hjelpe.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Beklager, jeg har problemer med \xE5 forst\xE5 deg. Adj\xF8.", errorHandlingTTS: "Beklager, det oppstod en feil. Pr\xF8v anropet p\xE5 nytt.", initialGreetingTTS: "Hei, dette er den innledende hilsenen.", initialState: "Opprinnelig tilstand", initialBotState: "Standard bot", initialDigitalBotState: "Innledende hilsen", initialSurveyBotState: "Unders\xF8kelse-bot", intentConfirmation: "Jeg tror du \xF8nsker \xE5 %1$s, er det riktig?", mainMenu: "Hovedmeny", mainMenuTTS: "Du er p\xE5 hovedmenyen. Trykk p\xE5 9 for \xE5 legge p\xE5", mainTask: "Oppgave", settingsConfirmationNoInputApology: "Beklager, jeg h\xF8rte deg ikke. Si ja eller nei.", settingsConfirmationNoInputApologyDigitalBot: 'Beklager, jeg fikk ikke inndata fra deg. Angi "Ja" eller "Nei".', settingsConfirmationNoMatchApology: "Beklager, si ja eller nei.", settingsConfirmationNoMatchApologyDigitalBot: 'Beklager, angi "Ja" eller "Nei".', settingsNoInputApology: "Beklager, jeg h\xF8rte deg ikke.", settingsNoInputApologyDigitalBot: "Beklager, jeg fikk ikke svar fra deg.", settingsEndOfSessionMessageDigitalBot: "Jeg har ikke h\xF8rt fra deg p\xE5 en stund, s\xE5 jeg lukker denne chatten. Kom tilbake hvis du trenger hjelp av meg igjen. Tusen takk.", settingsNoMatchApology: "Beklager.", settingsNoToConfirmationApology: "Det var min feil.", periodicStateName: "Tilbakevendende tilstand" }; + }, 55836(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Dat is niet geldig.", noInputReceived: "Ik heb geen invoer 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 vraag 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 vraag 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: "(vul hier de naam van het slot in)", noInputDigitalBot: "Voer uw (vul hier de naam van het slot in) in.", noInputWithSlotDigitalBot: "Voer de %1$s in.", continuationPromptWithSlot: "Ik heb {{Slot.%1$s}} tot nu toe, ga door." }, askForNextSlot: { noInput: 'Zeg "ja" als u nog een vraag hebt of zeg "nee" om het gesprek te be\xEBindigen.', noMatch: 'Zeg "ja" als u nog een vraag 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 vraag hebt of "Nee" om de sessie te be\xEBindigen.', noMatchDigitalBot: 'Voer "Ja" in als u nog een vraag hebt of "Nee" om de sessie te be\xEBindigen.' }, askForPayment: { noInputDigitalBot: "Geef uw betalingsgegevens op om verder te gaan.", noMatchDigitalBot: "Ik heb uw antwoord niet begrepen. Probeer het opnieuw." }, askForAuthentication: { noInputDigitalBot: "Geef uw verificatiegegevens op om door te gaan.", noMatchDigitalBot: "Ik heb uw antwoord 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 verder te gaan.", noMatchDigitalBot: "Vul het formulier in om verder te gaan." }, messagingTemplate: { noInputDigitalBot: "Gelieve \xE9\xE9n van de beschikbare opties te selecteren.", noMatchDigitalBot: "Gelieve \xE9\xE9n van de beschikbare opties te selecteren." }, 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", iGotContinuationStr2: "tot nu toe, ga door." } }, defaultCallFlowOne: "Standaard oproepflow", errorHandlingAgentEscalationConfirmation: "U wilt een adviseur spreken, klopt dat?", errorHandlingAgentEscalationHandover: "Een ogenblik geduld. Ik verbind u door.", errorHandlingErrorEventHandover: "Sorry, 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: "Sorry, ik heb u niet begrepen. Een ogenblik geduld. Ik verbind u door met iemand die u kan helpen.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Sorry, ik heb u niet begrepen. Tot ziens.", errorHandlingTTS: "Sorry, er is een fout opgetreden. Probeer opnieuw te bellen.", initialGreetingTTS: "Hallo, dit is de eerste begroeting.", 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. Druk op 9 om de verbinding te verbreken.", mainTask: "Taak", settingsConfirmationNoInputApology: "Sorry, ik heb u niet verstaan. Zeg ja of nee.", settingsConfirmationNoInputApologyDigitalBot: 'Sorry, ik heb geen invoer van u ontvangen. Voer "Ja" of "Nee" in.', settingsConfirmationNoMatchApology: "Sorry, zeg ja of nee.", settingsConfirmationNoMatchApologyDigitalBot: 'Sorry, voer "Ja" of "Nee" in.', settingsNoInputApology: "Sorry, ik heb u niet verstaan.", settingsNoInputApologyDigitalBot: "Sorry, 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: "Sorry.", settingsNoToConfirmationApology: "Mijn fout.", periodicStateName: "Terugkerende status" }; + }, 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" }; + }, 3863(e2) { + e2.exports = { askCommon: { invalidInputReceived: "To nie jest wa\u017Cne.", noInputReceived: "Nie otrzyma\u0142em \u017Cadnych danych wej\u015Bciowych." }, askForBoolean: { noInput: 'Powiedz "tak", aby kontynuowa\u0107, lub "nie", aby nie kontynuowa\u0107.', noMatch: 'Powiedz "Tak" lub "Nie". Czy kontynuowa\u0107?', question: "Czy kontynuowa\u0107?", noInputDigitalBot: 'Wprowad\u017A "Tak", je\u015Bli chcesz kontynuowa\u0107, lub "Nie" w przeciwnym razie.', noMatchDigitalBot: 'Wprowad\u017A "Tak" lub "Nie". Czy chcesz kontynuowa\u0107?' }, askForIntent: { noInput: 'Wypowiedz kr\xF3tkie zdanie opisuj\u0105ce swoje zapytanie, np. "Sprawd\u017A stan mojego rachunku"', noMatch: "Powt\xF3rz, co chcesz zrobi\u0107.", question: "Co chcia\u0142by\u015B robi\u0107?", noInputDigitalBot: 'Wprowad\u017A kr\xF3tkie zdanie opisuj\u0105ce swoje zapytanie, np. "Sprawd\u017A stan mojego rachunku"' }, askForSlot: { askFor: "Popro\u015B o %1$s", noInput: "Wypowiedz lub wprowad\u017A (tu wprowad\u017A nazw\u0119 slotu).", noInputWithSlot: "Wypowiedz lub wprowad\u017A %1$s.", noMatch: "Podaj ponownie (tu wprowad\u017A nazw\u0119 slotu).", noMatchWithSlot: "Podaj ponownie %1$s.", question: "Co to jest (tu wprowad\u017A nazw\u0119 slotu)?", questionWithSlot: "Co to jest %1$s?", pleaseEnterSlotNameHere: "(tu wprowad\u017A nazw\u0119 slotu)", noInputDigitalBot: "Wprowad\u017A (tu wprowad\u017A nazw\u0119 slotu).", noInputWithSlotDigitalBot: "Wprowad\u017A: %1$s.", continuationPromptWithSlot: "Aktualnie mam: {{Slot.%1$s}}. Kontynuuj." }, askForNextSlot: { noInput: 'Powiedz "tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "nie", aby zako\u0144czy\u0107 rozmow\u0119.', noMatch: 'Powiedz "Tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "Nie", aby zako\u0144czy\u0107 sesj\u0119.', question: "Czy mog\u0119 pom\xF3c w czym\u015B jeszcze?", noInputDigitalBot: 'Wprowad\u017A "Tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "Nie", aby zako\u0144czy\u0107 sesj\u0119.', noMatchDigitalBot: 'Wprowad\u017A "Tak", je\u015Bli chcesz zada\u0107 kolejne pytanie, lub "Nie", aby zako\u0144czy\u0107 sesj\u0119.' }, askForPayment: { noInputDigitalBot: "Aby kontynuowa\u0107, podaj informacje o p\u0142atno\u015Bci.", noMatchDigitalBot: "Nie rozumiem odpowiedzi. Spr\xF3buj ponownie." }, askForAuthentication: { noInputDigitalBot: "Aby kontynuowa\u0107, podaj informacje uwierzytelniaj\u0105ce.", noMatchDigitalBot: "Nie rozumiem odpowiedzi. Spr\xF3buj ponownie." }, askSurveyQuestion: { notApplicable: "Nie dotyczy", surveyAnswerOptionSequence: "Naci\u015Bnij %1$s dla '%2$s'.", surveyAnswerNotApplicableSequence: "Naci\u015Bnij gwiazdk\u0119 dla Nie dotyczy.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Naci\u015Bnij gwiazdk\u0119 dla Nie dotyczy.", voiceSurveyNoInputText: "Odpowiedz na pytanie.", voiceSurveyNoMatchText: "Nie rozumiem." }, commonModule: { exitCommonModule: "Wyj\u015Bcie z modu\u0142u og\xF3lnego" }, form: { noInputDigitalBot: "Aby kontynuowa\u0107, wype\u0142nij formularz.", noMatchDigitalBot: "Aby kontynuowa\u0107, wype\u0142nij formularz." }, messagingTemplate: { noInputDigitalBot: "Prosz\u0119 wybra\u0107 jedn\u0105 z dost\u0119pnych opcji.", noMatchDigitalBot: "Prosz\u0119 wybra\u0107 jedn\u0105 z dost\u0119pnych opcji." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Kontynuuj", knowledgeAnswerHighlightFullArticleDefault: "Wy\u015Bwietl pe\u0142ny artyku\u0142", knowledgeInitialResponseMulti: "Aby pom\xF3c mi w okre\u015Bleniu Twojego celu, wybierz numer z nast\u0119puj\u0105cej listy:", knowledgeInitialResponseMultiRetry: "Wybierz numer, na przyk\u0142ad '1'.\nOto lista opcji:", knowledgeNoMatch: "\u017Badna z powy\u017Cszych", knowledgeConfirmation: "Czy to zadowalaj\u0105ca odpowied\u017A na Twoje pytanie?", knowledgeFollowup: "Mam nadziej\u0119, \u017Ce uda\u0142o mi si\u0119 odpowiedzie\u0107 na pytanie. W razie potrzeby prosz\u0119 mi zada\u0107 jeszcze inne pytania." }, noOverlay: { intent: { intentConfirmationStr1: "Chyba masz zamiar", intentConfirmationStr2: "Tak?" }, youSaid: { youSaidConfirmationStr1: "M\xF3wisz", youSaidConfirmationStr2: "Tak?", youSaidConfirmationStr1DigitalBot: "Wprowadzono" }, noInput: { noInputStr1: "Wypowiedz lub wprowad\u017A", noInputStr1DigitalBot: "Wprowad\u017A" }, noMatch: { noMatchStr1: "Podaj mi" }, whatIs: { whatIsQuestionStr1: "Co to jest", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Aktualnie mam:", iGotContinuationStr2: "Kontynuuj." } }, defaultCallFlowOne: "Domy\u015Blny przep\u0142yw po\u0142\u0105cze\u0144", errorHandlingAgentEscalationConfirmation: "Chcesz porozmawia\u0107 z doradc\u0105, czy to prawda?", errorHandlingAgentEscalationHandover: "Chwileczk\u0119, po\u0142\u0105cz\u0119 Ci\u0119 z kim\u015B.", errorHandlingErrorEventHandover: "Pojawi\u0142 si\u0119 b\u0142\u0105d. Chwileczk\u0119, po\u0142\u0105cz\u0119 Ci\u0119 z kim\u015B, kto mo\u017Ce pom\xF3c.", errorHandlingErrorEventHandoverVoiceSurvey: "Wyst\u0105pi\u0142 b\u0142\u0105d. Do widzenia.", errorHandlingRecognitionEventHandover: "Przepraszam, nie rozumiem Ci\u0119. Chwileczk\u0119, po\u0142\u0105cz\u0119 Ci\u0119 z kim\u015B, kto mo\u017Ce pom\xF3c.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Niestety nie rozumiem Ci\u0119. Do widzenia.", errorHandlingTTS: "Przepraszamy, wyst\u0105pi\u0142 b\u0142\u0105d. Spr\xF3buj jeszcze raz.", initialGreetingTTS: "Witaj, to jest wst\u0119pne powitanie.", initialState: "Stan pocz\u0105tkowy", initialBotState: "Domy\u015Blny bot", initialDigitalBotState: "Wst\u0119pne powitanie", initialSurveyBotState: "Bot ankiety", intentConfirmation: "Chyba chcesz wykona\u0107 operacj\u0119: %1$s. Mam racj\u0119?", mainMenu: "Menu g\u0142\xF3wne", mainMenuTTS: "Jeste\u015B w menu g\u0142\xF3wnym, naci\u015Bnij 9, aby si\u0119 roz\u0142\u0105czy\u0107", mainTask: "Zadanie", settingsConfirmationNoInputApology: "Przepraszam, nie s\u0142ysza\u0142em Ci\u0119. Prosz\u0119 powiedzie\u0107 tak lub nie.", settingsConfirmationNoInputApologyDigitalBot: 'Nie dotar\u0142a \u017Cadna Twoja odpowied\u017A. Wprowad\u017A "Tak" lub "Nie".', settingsConfirmationNoMatchApology: "Przepraszam, prosz\u0119 powiedzie\u0107 tak lub nie.", settingsConfirmationNoMatchApologyDigitalBot: 'Przepraszam, wprowad\u017A "Tak" lub "Nie".', settingsNoInputApology: "Przepraszam, nie s\u0142ysza\u0142em Ci\u0119.", settingsNoInputApologyDigitalBot: "Nie dotar\u0142a \u017Cadna Twoje odpowied\u017A.", settingsEndOfSessionMessageDigitalBot: "Dawno nie rozmawiali\u015Bmy, wi\u0119c zamykam ten czat. Odezwij si\u0119, je\u015Bli zn\xF3w b\u0119dziesz potrzebowa\u0107 mojej pomocy. Dzi\u0119kuj\u0119.", settingsNoMatchApology: "Przepraszam.", settingsNoToConfirmationApology: "M\xF3j b\u0142\u0105d.", periodicStateName: "Powtarzaj\u0105cy si\u0119 stan" }; + }, 74423(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Isso n\xE3o \xE9 v\xE1lido.", noInputReceived: "N\xE3o recebi qualquer entrada." }, askForBoolean: { noInput: 'Diga "sim" se desejar continuar, caso contr\xE1rio, diga "n\xE3o".', noMatch: 'Diga "Sim" ou "N\xE3o". Deseja continuar?', question: "Deseja continuar?", noInputDigitalBot: 'Digite "Sim" se desejar continuar; caso contr\xE1rio, digite "N\xE3o".', noMatchDigitalBot: 'Digite "Sim" ou "N\xE3o". Deseja continuar?' }, askForIntent: { noInput: 'Diga uma frase curta que descreva sua consulta; por exemplo: "Verificar o saldo da minha conta"', noMatch: "Diga-me novamente o que gostaria de fazer.", question: "O que gostaria de fazer?", noInputDigitalBot: 'Digite uma breve frase que descreva sua consulta. Por exemplo, "Verificar o saldo da minha conta"' }, askForSlot: { askFor: "Solicite o %1$s", noInput: "Diga ou insira o (coloque o seu nome de slot aqui).", noInputWithSlot: "Diga ou insira o %1$s.", noMatch: "Repita o (coloque o seu nome de slot aqui).", noMatchWithSlot: "Repita o %1$s.", question: "Qual \xE9 o (coloque o seu nome de slot aqui)?", questionWithSlot: "Qual \xE9 o %1$s?", pleaseEnterSlotNameHere: "(coloque o seu nome de slot aqui)", noInputDigitalBot: "Digite o (insira o nome do slot aqui).", noInputWithSlotDigitalBot: "Digite o %1$s.", continuationPromptWithSlot: "Tenho {{Slot.%1$s}} at\xE9 o momento. Continue." }, askForNextSlot: { noInput: 'Diga "sim" se tiver outra consulta ou "n\xE3o" para encerrar a chamada.', noMatch: 'Diga "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', question: "Voc\xEA tem alguma outra d\xFAvida?", noInputDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', noMatchDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.' }, askForPayment: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de pagamento para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askForAuthentication: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de autentica\xE7\xE3o para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askSurveyQuestion: { notApplicable: "N\xE3o aplic\xE1vel", surveyAnswerOptionSequence: "Pressione %1$s para '%2$s'.", surveyAnswerNotApplicableSequence: "Pressione asterisco para N\xE3o aplic\xE1vel.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Pressione asterisco para N\xE3o aplic\xE1vel.", voiceSurveyNoInputText: "Por favor, responda \xE0 pergunta.", voiceSurveyNoMatchText: "N\xE3o entendi." }, commonModule: { exitCommonModule: "Sair do m\xF3dulo comum" }, form: { noInputDigitalBot: "Complete o formul\xE1rio para continuar.", noMatchDigitalBot: "Complete o formul\xE1rio para continuar." }, messagingTemplate: { noInputDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis.", noMatchDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continuar", knowledgeAnswerHighlightFullArticleDefault: "Ver artigo completo", knowledgeInitialResponseMulti: "Para me ajudar a esclarecer seu objetivo, escolha um n\xFAmero na lista a seguir:", knowledgeInitialResponseMultiRetry: "Escolha um n\xFAmero; por exemplo, '1'.\nAqui est\xE1 a lista de op\xE7\xF5es novamente:", knowledgeNoMatch: "Nenhuma delas", knowledgeConfirmation: "Esta resposta resolveu sua d\xFAvida?", knowledgeFollowup: "Espero ter respondido \xE0 sua pergunta. Voc\xEA pode fazer outras perguntas, se desejar." }, noOverlay: { intent: { intentConfirmationStr1: "Acho que voc\xEA quer", intentConfirmationStr2: "\xC9 isso?" }, youSaid: { youSaidConfirmationStr1: "Voc\xEA disse", youSaidConfirmationStr2: "\xC9 isso?", youSaidConfirmationStr1DigitalBot: "Voc\xEA digitou" }, noInput: { noInputStr1: "Diga ou insira", noInputStr1DigitalBot: "Digite o" }, noMatch: { noMatchStr1: "Forne\xE7a" }, whatIs: { whatIsQuestionStr1: "O que \xE9", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Tenho", iGotContinuationStr2: "at\xE9 o momento. Continue." } }, defaultCallFlowOne: "Fluxo de chamadas padr\xE3o", errorHandlingAgentEscalationConfirmation: "Voc\xEA deseja falar com um assistente. \xC9 isso?", errorHandlingAgentEscalationHandover: "Aguarde um momento, vou transferi-lo para algu\xE9m.", errorHandlingErrorEventHandover: "Desculpe, ocorreu um erro. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingErrorEventHandoverVoiceSurvey: "Desculpe, ocorreu um erro. Adeus.", errorHandlingRecognitionEventHandover: "Desculpe, n\xE3o estou entendendo. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Desculpe, n\xE3o consigo entender. Adeus.", errorHandlingTTS: "Ocorreu um erro. Tente sua chamada novamente.", initialGreetingTTS: "Ol\xE1, esta \xE9 a sauda\xE7\xE3o inicial.", initialState: "Estado inicial", initialBotState: "Bot padr\xE3o", initialDigitalBotState: "Sauda\xE7\xE3o inicial", initialSurveyBotState: "Bot de pesquisa", intentConfirmation: "Acho que voc\xEA deseja %1$s, correto?", mainMenu: "Menu principal", mainMenuTTS: "Voc\xEA est\xE1 no menu principal, pressione 9 para desconectar", mainTask: "Tarefa", settingsConfirmationNoInputApology: "Desculpe, n\xE3o escutei. Por favor, diga sim ou n\xE3o.", settingsConfirmationNoInputApologyDigitalBot: 'N\xE3o recebi nenhuma resposta. Por favor, digite "Sim" ou "N\xE3o".', settingsConfirmationNoMatchApology: "Desculpe, diga sim ou n\xE3o.", settingsConfirmationNoMatchApologyDigitalBot: 'Por favor, digite "Sim" ou "N\xE3o".', settingsNoInputApology: "Desculpe, n\xE3o consegui escutar.", settingsNoInputApologyDigitalBot: "Desculpe, n\xE3o recebi nenhuma resposta.", settingsEndOfSessionMessageDigitalBot: "Voc\xEA n\xE3o respondeu, e por isso estou encerrando este chat. Por favor, volte se precisar de minha ajuda. Obrigado.", settingsNoMatchApology: "Desculpe.", settingsNoToConfirmationApology: "Enganei-me.", periodicStateName: "Estado recorrente" }; + }, 40551(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Isso n\xE3o \xE9 v\xE1lido.", noInputReceived: "N\xE3o recebi qualquer entrada." }, askForBoolean: { noInput: 'Diga "sim" se desejar continuar, caso contr\xE1rio, diga "n\xE3o".', noMatch: 'Diga "Sim" ou "N\xE3o". Deseja continuar?', question: "Deseja continuar?", noInputDigitalBot: 'Digite "Sim" se desejar continuar; caso contr\xE1rio, digite "N\xE3o".', noMatchDigitalBot: 'Digite "Sim" ou "N\xE3o". Deseja continuar?' }, askForIntent: { noInput: 'Diga uma frase curta que descreva sua consulta; por exemplo: "Verificar o saldo da minha conta"', noMatch: "Diga-me novamente o que gostaria de fazer.", question: "O que gostaria de fazer?", noInputDigitalBot: 'Digite uma breve frase que descreva sua consulta. Por exemplo, "Verificar o saldo da minha conta"' }, askForSlot: { askFor: "Solicite o %1$s", noInput: "Diga ou insira o (coloque o seu nome de slot aqui).", noInputWithSlot: "Diga ou insira o %1$s.", noMatch: "Repita o (coloque o seu nome de slot aqui).", noMatchWithSlot: "Repita o %1$s.", question: "Qual \xE9 o (coloque o seu nome de slot aqui)?", questionWithSlot: "Qual \xE9 o %1$s?", pleaseEnterSlotNameHere: "(coloque o seu nome de slot aqui)", noInputDigitalBot: "Digite o (insira o nome do slot aqui).", noInputWithSlotDigitalBot: "Digite o %1$s.", continuationPromptWithSlot: "Tenho {{Slot.%1$s}} at\xE9 o momento. Continue." }, askForNextSlot: { noInput: 'Diga "sim" se tiver outra consulta ou "n\xE3o" para encerrar a chamada.', noMatch: 'Diga "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', question: "Voc\xEA tem alguma outra d\xFAvida?", noInputDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.', noMatchDigitalBot: 'Digite "Sim" se tiver outra consulta ou "N\xE3o" para encerrar a sess\xE3o.' }, askForPayment: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de pagamento para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askForAuthentication: { noInputDigitalBot: "Forne\xE7a as suas informa\xE7\xF5es de autentica\xE7\xE3o para continuar.", noMatchDigitalBot: "N\xE3o entendi a sua resposta. Tente novamente." }, askSurveyQuestion: { notApplicable: "N\xE3o aplic\xE1vel", surveyAnswerOptionSequence: "Pressione %1$s para '%2$s'.", surveyAnswerNotApplicableSequence: "Pressione asterisco para N\xE3o aplic\xE1vel.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Pressione asterisco para N\xE3o aplic\xE1vel.", voiceSurveyNoInputText: "Por favor, responda \xE0 pergunta.", voiceSurveyNoMatchText: "N\xE3o entendi." }, commonModule: { exitCommonModule: "Sair do m\xF3dulo comum" }, form: { noInputDigitalBot: "Complete o formul\xE1rio para continuar.", noMatchDigitalBot: "Complete o formul\xE1rio para continuar." }, messagingTemplate: { noInputDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis.", noMatchDigitalBot: "Selecione uma das op\xE7\xF5es dispon\xEDveis." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Continuar", knowledgeAnswerHighlightFullArticleDefault: "Ver artigo completo", knowledgeInitialResponseMulti: "Para me ajudar a esclarecer seu objetivo, escolha um n\xFAmero na lista a seguir:", knowledgeInitialResponseMultiRetry: "Escolha um n\xFAmero; por exemplo, '1'.\nAqui est\xE1 a lista de op\xE7\xF5es novamente:", knowledgeNoMatch: "Nenhuma delas", knowledgeConfirmation: "Esta resposta resolveu sua d\xFAvida?", knowledgeFollowup: "Espero ter respondido \xE0 sua pergunta. Voc\xEA pode fazer outras perguntas, se desejar." }, noOverlay: { intent: { intentConfirmationStr1: "Acho que voc\xEA quer", intentConfirmationStr2: "\xC9 isso?" }, youSaid: { youSaidConfirmationStr1: "Voc\xEA disse", youSaidConfirmationStr2: "\xC9 isso?", youSaidConfirmationStr1DigitalBot: "Voc\xEA digitou" }, noInput: { noInputStr1: "Diga ou insira", noInputStr1DigitalBot: "Digite o" }, noMatch: { noMatchStr1: "Forne\xE7a" }, whatIs: { whatIsQuestionStr1: "O que \xE9", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "Tenho", iGotContinuationStr2: "at\xE9 o momento. Continue." } }, defaultCallFlowOne: "Fluxo de chamadas padr\xE3o", errorHandlingAgentEscalationConfirmation: "Voc\xEA deseja falar com um assistente. \xC9 isso?", errorHandlingAgentEscalationHandover: "Aguarde um momento, vou transferi-lo para algu\xE9m.", errorHandlingErrorEventHandover: "Desculpe, ocorreu um erro. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingErrorEventHandoverVoiceSurvey: "Desculpe, ocorreu um erro. Adeus.", errorHandlingRecognitionEventHandover: "Desculpe, n\xE3o estou entendendo. Aguarde um momento enquanto transfiro voc\xEA para algu\xE9m que possa ajudar.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Desculpe, n\xE3o consigo entender. Adeus.", errorHandlingTTS: "Ocorreu um erro. Tente sua chamada novamente.", initialGreetingTTS: "Ol\xE1, esta \xE9 a sauda\xE7\xE3o inicial.", initialState: "Estado inicial", initialBotState: "Bot padr\xE3o", initialDigitalBotState: "Sauda\xE7\xE3o inicial", initialSurveyBotState: "Bot de pesquisa", intentConfirmation: "Acho que voc\xEA deseja %1$s, correto?", mainMenu: "Menu principal", mainMenuTTS: "Voc\xEA est\xE1 no menu principal, pressione 9 para desconectar", mainTask: "Tarefa", settingsConfirmationNoInputApology: "Desculpe, n\xE3o escutei. Por favor, diga sim ou n\xE3o.", settingsConfirmationNoInputApologyDigitalBot: 'N\xE3o recebi nenhuma resposta. Por favor, digite "Sim" ou "N\xE3o".', settingsConfirmationNoMatchApology: "Desculpe, diga sim ou n\xE3o.", settingsConfirmationNoMatchApologyDigitalBot: 'Por favor, digite "Sim" ou "N\xE3o".', settingsNoInputApology: "Desculpe, n\xE3o consegui escutar.", settingsNoInputApologyDigitalBot: "Desculpe, n\xE3o recebi nenhuma resposta.", settingsEndOfSessionMessageDigitalBot: "Voc\xEA n\xE3o respondeu, e por isso estou encerrando este chat. Por favor, volte se precisar de minha ajuda. Obrigado.", settingsNoMatchApology: "Desculpe.", settingsNoToConfirmationApology: "Enganei-me.", periodicStateName: "Estado recorrente" }; + }, 47957(e2, t2, i2) { + let n2 = null; + if (i2(6697)) n2 = i2(12664); + else { + const e3 = i2(29546); + try { + n2 = i2(91358)("./" + e3.getCurrentLanguage() + "/resources.js"); + } catch (e4) { + n2 = i2(12664); } - isAvailableForOrg() { - return !!a.flowTypes.flowTypesAll.find((e3) => this.isAvailableForFlowType(e3, true) && !this.isDeprecatedForFlowType(e3)); + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 76641(e2) { + 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" }; + }, 14961(e2, t2, i2) { + const n2 = i2(92140), o = i2(74359), r = i2(81086), a = i2(12847), { isoLanguages: s } = i2(24812), l = i2(24032).getTopic("runtimeLanguageFeatures"); + function u() { + u.baseConstructor.call(this), Object.defineProperties(this, { supportedLanguages: { value: {}, writable: true } }), o.bootstrapLanguageDataLoaded.then(function() { + this.processLanguageChanges(); + }.bind(this)), u.instances.push(this); + } + u.instances = [], r.extend(u), Object.defineProperties(u.prototype, { processLanguageChanges: { value: function() { + this.supportedLanguages = {}; + const e3 = { enabled: [], disabled: [] }; + n2.each(this.languageSequences, function(t3, i3) { + if ("fallbackSequence" === i3) return; + const o2 = s[i3]; + o2 ? o2.features && o2.features[this.adsSectionName] && o2.features[this.adsSectionName].flowTypes && n2.findWhere(o2.features[this.adsSectionName].flowTypes, { isAvailable: true }) ? (this.supportedLanguages[o2.id] = t3, e3.enabled.push(i3)) : e3.disabled.push(i3) : l.error("Could not find isoLanguage for " + i3); + }.bind(this)), a.table(`Audio Sequence ${this.adsSectionName} support`, e3); + } }, supportsFlow: { value: function(e3, t3) { + if (!e3) return false; + const i3 = s[e3.toLocaleLowerCase()]; + return i3 ? i3.features[this.adsSectionName].flowTypes ? t3.destinationFlowTypes.every((t4) => i3.features[this.adsSectionName].flowTypes[t4] ? i3.features[this.adsSectionName].flowTypes[t4].isAvailable : (l.error(`${this.adsSectionName}.flowTypes[${t4}] not found for language ${e3}`), false)) : (l.error(`${this.adsSectionName}.flowTypes not found for language ${e3}`), false) : (l.error("Could not find isoLanguage for " + e3), false); + } } }), e2.exports = u; + }, 53486(e2, t2, i2) { + const n2 = i2(14961), o = { 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 r() { + r._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "InputConf" }, className: { value: "CollectInputConfirmationSequences" }, parts: { value: o }, 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: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asDigits }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asNumeric }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence1: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asDigits }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asNumeric }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }] }] } } }, localizedSequence2: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.subExpression, value: o.subExpressions.asDigits }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.subExpression, value: o.subExpressions.asNumeric }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence3: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asDigits }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback_2 }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asNumeric }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback_2 }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] } } }, localizedSequence4: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asDigits }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_playback }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.asNumericWithNeuterContext }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.blank }, { type: o.sequenceTypes.systemPrompt, value: o.systemPrompts.collect_digits_verify_options }] }] } } }, fallbackSequence: { value: { uniquedigits: { _label: "verify_with_unique_digits", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.subExpression, value: o.subExpressions.asDigits }] }] }, numeric: { _label: "verify_as_number", conditions: [{ _label: "caller_input", sequence: [{ type: o.sequenceTypes.subExpression, value: o.subExpressions.asNumeric }] }] } } } }); + } + n2.extend(r), e2.exports = new r(); + }, 30015(e2, t2, i2) { + const n2 = i2(14961), o = { 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 r() { + r._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "EWT" }, className: { value: "EstimatedWaitTimeSequences" }, parts: { value: o }, 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: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioBlank }] }] } } }, mainSequence: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDurationRoundUp }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDuration }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDurationRoundUp }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioTimeRange }], indirectlyUsedPrompts: [{ type: o.sequenceTypes.systemPrompt, value: "time_range_separator", id: "__time_range_separator__" }] }] } } }, jaJpOnly: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDurationRoundUp }, { type: o.sequenceTypes.systemPrompt, value: "desu" }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDuration }, { type: o.sequenceTypes.systemPrompt, value: "desu" }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDurationRoundUp }, { type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than_2" }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioTimeRange }, { type: o.sequenceTypes.systemPrompt, value: "desu" }] }] } } }, localizedSequence2: { value: { about: { _label: "mode_about", conditions: [{ _label: "caller_ewt_is_about", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_about" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDurationRoundUp }] }] }, exact: { _label: "mode_exact", conditions: [{ _label: "caller_ewt_is_exactly", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDuration }] }] }, lessthan: { _label: "mode_less_than", conditions: [{ _label: "caller_ewt_is_less_than", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_less_than" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioDurationRoundUp }] }] }, range: { _label: "mode_range", conditions: [{ _label: "caller_ewt_as_range", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "estimated_wait_time_range_1" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioTimeRange }] }] } } } }); + } + n2.extend(r), e2.exports = new r(); + }, 77450(e2, t2, i2) { + const n2 = i2(14961), o = { 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 r() { + r._super.constructor.call(this), Object.defineProperties(this, { _label: { value: "PIQ" }, className: { value: "PositionInQueueSequences" }, parts: { value: o }, 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: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioBlank }] }] } } }, mainSequence: { value: { number: { _label: "mode_pos_number", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumber }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberOrdinal }, { type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberMinusOne }, { type: o.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: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumber }, { type: o.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: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberOrdinal }, { type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberMinusOne }, { type: o.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: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumber }, { type: o.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: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberOrdinalFeminine }, { type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberMinusOne }, { type: o.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: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_your_position_is" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumber }] }] }, ordinal: { _label: "mode_pos_ordinal", conditions: [{ condition: "$positionInQueueInt <= 1", _label: "caller_pos <= 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal" }, { type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberOrdinal }, { type: o.sequenceTypes.systemPrompt, value: "position_in_queue_ordinal_2" }] }] }, ahead: { _label: "mode_pos_ahead", conditions: [{ _label: "caller_pos == 2", condition: "$positionInQueueInt == 2", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_one_caller_ahead" }] }, { _label: "caller_pos <= 1", condition: "$positionInQueueInt <= 1", sequence: [{ type: o.sequenceTypes.systemPrompt, value: "position_in_queue_next_caller" }] }, { _label: "caller_pos > 2", sequence: [{ type: o.sequenceTypes.subExpression, value: o.subExpressions.toAudioNumberMinusOne }, { type: o.sequenceTypes.systemPrompt, value: "position_in_queue_many_ahead" }] }] } } } }); + } + n2.extend(r), e2.exports = new r(); + }, 90358(e2, t2, i2) { + let n2 = null; + if (i2(6697)) n2 = i2(70425); + else { + const e3 = i2(29546); + try { + n2 = i2(26349)("./" + e3.getCurrentLanguage() + "/serverErrors.js"); + } catch (e4) { + n2 = i2(70425); } - isDeprecatedForFlowType(e3) { - return s.default.contains(this.deprecatedFlowTypes, e3); + } + n2.then && n2.then((t3) => { + e2.exports = t3; + }), e2.exports = n2; + }, 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" }; + }, 10135(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07", noInputReceived: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E43\u0E14\u0E40\u0E25\u0E22" }, askForBoolean: { noInput: '\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D \u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D', noMatch: '\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48', question: "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", noInputDigitalBot: '\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "Yes" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D \u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "No" \u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D', noMatchDigitalBot: '\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48' }, askForIntent: { noInput: '\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04\u0E2A\u0E31\u0E49\u0E19\u0E46 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E40\u0E0A\u0E48\u0E19 "\u0E40\u0E0A\u0E47\u0E04\u0E22\u0E2D\u0E14\u0E04\u0E07\u0E40\u0E2B\u0E25\u0E37\u0E2D"', noMatch: "\u0E0A\u0E48\u0E27\u0E22\u0E1A\u0E2D\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E33\u0E2D\u0E30\u0E44\u0E23", question: "\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E33\u0E2D\u0E30\u0E44\u0E23", noInputDigitalBot: '\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04\u0E2A\u0E31\u0E49\u0E19\u0E46 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E40\u0E0A\u0E48\u0E19 "\u0E40\u0E0A\u0E47\u0E04\u0E22\u0E2D\u0E14\u0E04\u0E07\u0E40\u0E2B\u0E25\u0E37\u0E2D"' }, askForSlot: { askFor: "\u0E02\u0E2D %1$s", noInput: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E34\u0E21\u0E1E\u0E4C (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", noInputWithSlot: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E34\u0E21\u0E1E\u0E4C %1$s", noMatch: "\u0E42\u0E1B\u0E23\u0E14\u0E1A\u0E2D\u0E01 (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48) \u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", noMatchWithSlot: "\u0E42\u0E1B\u0E23\u0E14\u0E1A\u0E2D\u0E01 %1$s \u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", question: "\u0E2D\u0E30\u0E44\u0E23\u0E04\u0E37\u0E2D (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", questionWithSlot: "%1$s \u0E04\u0E37\u0E2D\u0E2D\u0E30\u0E44\u0E23", pleaseEnterSlotNameHere: "(\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38 (\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E2A\u0E48\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E25\u0E47\u0E2D\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E17\u0E35\u0E48\u0E19\u0E35\u0E48)", noInputWithSlotDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38 %1$s", continuationPromptWithSlot: "\u0E09\u0E31\u0E19\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A {{Slot.%1$s}} \u0E21\u0E32\u0E41\u0E25\u0E49\u0E27 \u0E42\u0E1B\u0E23\u0E14\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D" }, askForNextSlot: { noInput: '\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E27\u0E32\u0E07\u0E2A\u0E32\u0E22', noMatch: '\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19', question: "\u0E21\u0E35\u0E2D\u0E30\u0E44\u0E23\u0E43\u0E2B\u0E49\u0E0A\u0E48\u0E27\u0E22\u0E2D\u0E35\u0E01\u0E44\u0E2B\u0E21", noInputDigitalBot: '\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19', noMatchDigitalBot: '\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E0B\u0E31\u0E01\u0E16\u0E32\u0E21\u0E2D\u0E37\u0E48\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48" \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19' }, askForPayment: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E21\u0E2D\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", noMatchDigitalBot: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07" }, askForAuthentication: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E21\u0E2D\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E15\u0E31\u0E27\u0E15\u0E19\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", noMatchDigitalBot: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07." }, askSurveyQuestion: { notApplicable: "\u0E44\u0E21\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07", surveyAnswerOptionSequence: "\u0E01\u0E14 %1$s \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A %2$s", surveyAnswerNotApplicableSequence: "\u0E01\u0E14\u0E14\u0E32\u0E27\u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07", surveyAnswerNotApplicableWithQuestionSequence: "%1$s \u0E01\u0E14\u0E14\u0E32\u0E27\u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07", voiceSurveyNoInputText: "\u0E42\u0E1B\u0E23\u0E14\u0E15\u0E2D\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21", voiceSurveyNoMatchText: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08" }, commonModule: { exitCommonModule: "\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E42\u0E21\u0E14\u0E39\u0E25\u0E17\u0E31\u0E48\u0E27\u0E44\u0E1B" }, form: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E17\u0E33\u0E41\u0E1A\u0E1A\u0E1F\u0E2D\u0E23\u0E4C\u0E21\u0E43\u0E2B\u0E49\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", noMatchDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E17\u0E33\u0E41\u0E1A\u0E1A\u0E1F\u0E2D\u0E23\u0E4C\u0E21\u0E43\u0E2B\u0E49\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D." }, messagingTemplate: { noInputDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E08\u0E32\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E35\u0E48\u0E21\u0E35", noMatchDigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E08\u0E32\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E35\u0E48\u0E21\u0E35" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D", knowledgeAnswerHighlightFullArticleDefault: "\u0E14\u0E39\u0E1A\u0E17\u0E04\u0E27\u0E32\u0E21\u0E09\u0E1A\u0E31\u0E1A\u0E40\u0E15\u0E47\u0E21", knowledgeInitialResponseMulti: "\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E09\u0E31\u0E19\u0E0A\u0E48\u0E27\u0E22\u0E17\u0E33\u0E43\u0E2B\u0E49\u0E40\u0E1B\u0E49\u0E32\u0E2B\u0E21\u0E32\u0E22\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E0A\u0E31\u0E14\u0E40\u0E08\u0E19\u0E02\u0E36\u0E49\u0E19 \u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E08\u0E32\u0E01\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D\u0E44\u0E1B\u0E19\u0E35\u0E49", knowledgeInitialResponseMultiRetry: "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 \u0E40\u0E0A\u0E48\u0E19 '1'.\n\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E21\u0E35\u0E14\u0E31\u0E07\u0E19\u0E35\u0E49", knowledgeNoMatch: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E43\u0E14\u0E40\u0E25\u0E22", knowledgeConfirmation: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E19\u0E35\u0E49\u0E15\u0E2D\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", knowledgeFollowup: "\u0E09\u0E31\u0E19\u0E2B\u0E27\u0E31\u0E07\u0E27\u0E48\u0E32\u0E44\u0E14\u0E49\u0E15\u0E2D\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E41\u0E25\u0E49\u0E27 \u0E04\u0E38\u0E13\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E16\u0E32\u0E21\u0E2D\u0E30\u0E44\u0E23\u0E01\u0E47\u0E44\u0E14\u0E49\u0E17\u0E35\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E23\u0E32\u0E1A" }, noOverlay: { intent: { intentConfirmationStr1: "\u0E09\u0E31\u0E19\u0E04\u0E34\u0E14\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23", intentConfirmationStr2: "\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48" }, youSaid: { youSaidConfirmationStr1: "\u0E04\u0E38\u0E13\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32", youSaidConfirmationStr2: "\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", youSaidConfirmationStr1DigitalBot: "\u0E04\u0E38\u0E13\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E27\u0E48\u0E32" }, noInput: { noInputStr1: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E34\u0E21\u0E1E\u0E4C", noInputStr1DigitalBot: "\u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E34\u0E21\u0E1E\u0E4C" }, noMatch: { noMatchStr1: "\u0E42\u0E1B\u0E23\u0E14\u0E1A\u0E2D\u0E01" }, whatIs: { whatIsQuestionStr1: "\u0E2D\u0E30\u0E44\u0E23\u0E04\u0E37\u0E2D", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u0E09\u0E31\u0E19\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A", iGotContinuationStr2: "\u0E21\u0E32\u0E41\u0E25\u0E49\u0E27 \u0E42\u0E1B\u0E23\u0E14\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E48\u0E2D" } }, defaultCallFlowOne: "\u0E42\u0E1F\u0E25\u0E27\u0E4C\u0E01\u0E32\u0E23\u0E42\u0E17\u0E23\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19", errorHandlingAgentEscalationConfirmation: "\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1E\u0E39\u0E14\u0E01\u0E31\u0E1A\u0E17\u0E35\u0E48\u0E1B\u0E23\u0E36\u0E01\u0E29\u0E32\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", errorHandlingAgentEscalationHandover: "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E2D\u0E2A\u0E31\u0E01\u0E04\u0E23\u0E39\u0E48 \u0E09\u0E31\u0E19\u0E08\u0E30\u0E2A\u0E48\u0E07\u0E15\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E04\u0E19\u0E2D\u0E37\u0E48\u0E19", errorHandlingErrorEventHandover: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E2D\u0E2A\u0E31\u0E01\u0E04\u0E23\u0E39\u0E48\u0E02\u0E13\u0E30\u0E17\u0E35\u0E48\u0E09\u0E31\u0E19\u0E2A\u0E48\u0E07\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E17\u0E35\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49", errorHandlingErrorEventHandoverVoiceSurvey: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E2A\u0E27\u0E31\u0E2A\u0E14\u0E35", errorHandlingRecognitionEventHandover: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E2D\u0E2A\u0E31\u0E01\u0E04\u0E23\u0E39\u0E48\u0E02\u0E13\u0E30\u0E17\u0E35\u0E48\u0E09\u0E31\u0E19\u0E2A\u0E48\u0E07\u0E15\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E1C\u0E39\u0E49\u0E17\u0E35\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08 \u0E2A\u0E27\u0E31\u0E2A\u0E14\u0E35", errorHandlingTTS: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E42\u0E17\u0E23\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07", initialGreetingTTS: "\u0E2A\u0E27\u0E31\u0E2A\u0E14\u0E35 \u0E19\u0E35\u0E48\u0E04\u0E37\u0E2D\u0E04\u0E33\u0E17\u0E31\u0E01\u0E17\u0E32\u0E22\u0E40\u0E23\u0E34\u0E48\u0E21\u0E41\u0E23\u0E01", initialState: "\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E40\u0E23\u0E34\u0E48\u0E21\u0E41\u0E23\u0E01", initialBotState: "\u0E1A\u0E47\u0E2D\u0E17\u0E40\u0E23\u0E34\u0E48\u0E21\u0E15\u0E49\u0E19", initialDigitalBotState: "\u0E04\u0E33\u0E17\u0E31\u0E01\u0E17\u0E32\u0E22\u0E40\u0E23\u0E34\u0E48\u0E21\u0E41\u0E23\u0E01", initialSurveyBotState: "\u0E1A\u0E47\u0E2D\u0E17\u0E17\u0E33\u0E41\u0E1A\u0E1A\u0E2A\u0E33\u0E23\u0E27\u0E08", intentConfirmation: "\u0E09\u0E31\u0E19\u0E04\u0E34\u0E14\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23 %1$s \u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48", mainMenu: "\u0E40\u0E21\u0E19\u0E39\u0E2B\u0E25\u0E31\u0E01", mainMenuTTS: "\u0E15\u0E2D\u0E19\u0E19\u0E35\u0E49\u0E04\u0E38\u0E13\u0E2D\u0E22\u0E39\u0E48\u0E17\u0E35\u0E48\u0E40\u0E21\u0E19\u0E39\u0E2B\u0E25\u0E31\u0E01 \u0E01\u0E14 9 \u0E2B\u0E32\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01\u0E01\u0E32\u0E23\u0E40\u0E0A\u0E37\u0E48\u0E2D\u0E21\u0E15\u0E48\u0E2D", mainTask: "\u0E07\u0E32\u0E19", settingsConfirmationNoInputApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E22\u0E34\u0E19\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 \u0E43\u0E0A\u0E48 \u0E2B\u0E23\u0E37\u0E2D \u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48", settingsConfirmationNoInputApologyDigitalBot: '\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E08\u0E32\u0E01\u0E04\u0E38\u0E13 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48"', settingsConfirmationNoMatchApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E42\u0E1B\u0E23\u0E14\u0E1E\u0E39\u0E14\u0E27\u0E48\u0E32 \u0E43\u0E0A\u0E48 \u0E2B\u0E23\u0E37\u0E2D \u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48", settingsConfirmationNoMatchApologyDigitalBot: '\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38\u0E27\u0E48\u0E32 "\u0E43\u0E0A\u0E48" \u0E2B\u0E23\u0E37\u0E2D "\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48"', settingsNoInputApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E22\u0E34\u0E19\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E04\u0E38\u0E13", settingsNoInputApologyDigitalBot: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E08\u0E32\u0E01\u0E04\u0E38\u0E13", settingsEndOfSessionMessageDigitalBot: "\u0E09\u0E31\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E22\u0E34\u0E19\u0E40\u0E2A\u0E35\u0E22\u0E07\u0E04\u0E38\u0E13\u0E21\u0E32\u0E23\u0E30\u0E22\u0E30\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E41\u0E25\u0E49\u0E27 \u0E14\u0E31\u0E07\u0E19\u0E31\u0E49\u0E19\u0E09\u0E31\u0E19\u0E08\u0E30\u0E1B\u0E34\u0E14\u0E41\u0E0A\u0E17\u0E19\u0E35\u0E49 \u0E42\u0E1B\u0E23\u0E14\u0E01\u0E25\u0E31\u0E1A\u0E21\u0E32\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E2B\u0E32\u0E01\u0E04\u0E38\u0E13\u0E22\u0E31\u0E07\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D \u0E02\u0E2D\u0E1A\u0E04\u0E38\u0E13", settingsNoMatchApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22", settingsNoToConfirmationApology: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22", periodicStateName: "\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E17\u0E33\u0E0B\u0E49\u0E33" }; + }, 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" }; + }, 41593(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F.", noInputReceived: "\u041D\u0456\u0447\u043E\u0433\u043E \u043D\u0435 \u0432\u0432\u0435\u0434\u0435\u043D\u043E." }, askForBoolean: { noInput: '\u041F\u0440\u043E\u043C\u043E\u0432\u0442\u0435 "\u0422\u0430\u043A", \u0449\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u043B\u0438\u0448\u0438\u0442\u0438\u0441\u044F \u0442\u0443\u0442.', noMatch: '\u041F\u0440\u043E\u043C\u043E\u0432\u0442\u0435 "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456". \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438?', question: "\u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438?", noInputDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A", \u0449\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u043B\u0438\u0442\u0438\u0441\u044F \u0442\u0443\u0442.', noMatchDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456". \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438?' }, askForIntent: { noInput: '\u041F\u0440\u043E\u043C\u043E\u0432\u0442\u0435 \u0437\u0430\u043F\u0438\u0442 \u043E\u0434\u043D\u0438\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u043C \u0440\u0435\u0447\u0435\u043D\u043D\u044F\u043C. \u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, "\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0437\u0430\u043B\u0438\u0448\u043E\u043A \u043D\u0430 \u043C\u043E\u0454\u043C\u0443 \u0440\u0430\u0445\u0443\u043D\u043A\u0443"', noMatch: "\u0421\u043A\u0430\u0436\u0456\u0442\u044C \u0449\u0435 \u0440\u0430\u0437, \u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0440\u043E\u0431\u0438\u0442\u0438.", question: "\u0429\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0440\u043E\u0431\u0438\u0442\u0438?", noInputDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C \u0437\u0430\u043F\u0438\u0442 \u043E\u0434\u043D\u0438\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u043C \u0440\u0435\u0447\u0435\u043D\u043D\u044F\u043C. \u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, "\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0437\u0430\u043B\u0438\u0448\u043E\u043A \u043D\u0430 \u043C\u043E\u0454\u043C\u0443 \u0440\u0430\u0445\u0443\u043D\u043A\u0443"' }, askForSlot: { askFor: "\u0417\u0430\u043F\u0438\u0442\u0430\u0442\u0438 %1$s", noInput: "\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430).", noInputWithSlot: "\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C %1$s.", noMatch: "\u041F\u043E\u0432\u0456\u0434\u043E\u043C\u0442\u0435 (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430) \u0449\u0435 \u0440\u0430\u0437.", noMatchWithSlot: "\u041F\u043E\u0432\u0456\u0434\u043E\u043C\u0442\u0435 %1$s \u0449\u0435 \u0440\u0430\u0437.", question: "\u042F\u043A\u0430 (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430)?", questionWithSlot: "\u042F\u043A\u0430 %1$s?", pleaseEnterSlotNameHere: "(\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430)", noInputDigitalBot: "\u0423\u0432\u0435\u0434\u0456\u0442\u044C (\u0442\u0443\u0442 \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0430\u0437\u0432\u0430 \u0441\u043B\u043E\u0442\u0430).", noInputWithSlotDigitalBot: "\u0423\u0432\u0435\u0434\u0456\u0442\u044C %1$s.", continuationPromptWithSlot: "\u041D\u0430\u0440\u0430\u0437\u0456 \u044F \u043C\u0430\u044E {{Slot.%1$s}}. \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u0439\u0442\u0435." }, askForNextSlot: { noInput: '\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0432\u0438\u043A\u043B\u0438\u043A.', noMatch: '\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0441\u0435\u0430\u043D\u0441.', question: "\u0427\u0438 \u0454 \u0449\u0435 \u0449\u043E\u0441\u044C, \u0456\u0437 \u0447\u0438\u043C \u044F \u043C\u043E\u0436\u0443 \u0432\u0430\u043C \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438?", noInputDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0441\u0435\u0430\u043D\u0441.', noMatchDigitalBot: '\u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A", \u044F\u043A\u0449\u043E \u0443 \u0432\u0430\u0441 \u0454 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442, \u0430\u0431\u043E "\u041D\u0456", \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0441\u0435\u0430\u043D\u0441.' }, askForPayment: { noInputDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u043D\u0430\u0434\u0430\u0439\u0442\u0435 \u043F\u043B\u0430\u0442\u0456\u0436\u043D\u0443 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E.", noMatchDigitalBot: "\u042F \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E \u0432\u0430\u0448\u043E\u0457 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0456. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0449\u0435 \u0440\u0430\u0437." }, askForAuthentication: { noInputDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u043D\u0430\u0434\u0430\u0439\u0442\u0435 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E \u0434\u043B\u044F \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u0457.", noMatchDigitalBot: "\u042F \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E \u0432\u0430\u0448\u043E\u0457 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0456. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0449\u0435 \u0440\u0430\u0437." }, askSurveyQuestion: { notApplicable: "\u041D\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F", surveyAnswerOptionSequence: "\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C %1$s \u0430\u0431\u043E %2$s.", surveyAnswerNotApplicableSequence: "\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0437\u0456\u0440\u043E\u0447\u043A\u0443, \u0449\u043E\u0431 \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \xAB\u041D\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F\xBB.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0437\u0456\u0440\u043E\u0447\u043A\u0443, \u0449\u043E\u0431 \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \xAB\u041D\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F\xBB.", voiceSurveyNoInputText: "\u0414\u0430\u0439\u0442\u0435 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C \u043D\u0430 \u0437\u0430\u043F\u0438\u0442\u0430\u043D\u043D\u044F.", voiceSurveyNoMatchText: "\u041C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0430\u0441 \u0437\u0440\u043E\u0437\u0443\u043C\u0456\u0442\u0438." }, commonModule: { exitCommonModule: "\u0412\u0438\u0439\u0442\u0438 \u0456\u0437 \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F" }, form: { noInputDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0437\u0430\u043F\u043E\u0432\u043D\u0456\u0442\u044C \u0444\u043E\u0440\u043C\u0443.", noMatchDigitalBot: "\u0429\u043E\u0431 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438, \u0437\u0430\u043F\u043E\u0432\u043D\u0456\u0442\u044C \u0444\u043E\u0440\u043C\u0443." }, messagingTemplate: { noInputDigitalBot: "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u043E\u0434\u0438\u043D \u0456\u0437 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0445 \u0432\u0430\u0440\u0456\u0430\u043D\u0442\u0456\u0432.", noMatchDigitalBot: "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u043E\u0434\u0438\u043D \u0456\u0437 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0445 \u0432\u0430\u0440\u0456\u0430\u043D\u0442\u0456\u0432." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0438\u0442\u0438", knowledgeAnswerHighlightFullArticleDefault: "\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0432\u0441\u044E \u0441\u0442\u0430\u0442\u0442\u044E", knowledgeInitialResponseMulti: "\u0429\u043E\u0431 \u043F\u0440\u043E\u044F\u0441\u043D\u0438\u0442\u0438 \u0432\u0430\u0448\u0443 \u0446\u0456\u043B\u044C, \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0447\u0438\u0441\u043B\u043E \u0437\u0456 \u0441\u043F\u0438\u0441\u043A\u0443 \u043D\u0438\u0436\u0447\u0435:", knowledgeInitialResponseMultiRetry: "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0447\u0438\u0441\u043B\u043E, \u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434 1.\n\u041E\u0441\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0432\u0430\u0440\u0456\u0430\u043D\u0442\u0456\u0432:", knowledgeNoMatch: "\u0416\u043E\u0434\u043D\u0435 \u0437 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u043E\u0433\u043E", knowledgeConfirmation: "\u0427\u0438 \u043E\u0442\u0440\u0438\u043C\u0430\u043B\u0438 \u0432\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C \u043D\u0430 \u0441\u0432\u043E\u0454 \u0437\u0430\u043F\u0438\u0442\u0430\u043D\u043D\u044F?", knowledgeFollowup: "\u0421\u043F\u043E\u0434\u0456\u0432\u0430\u044E\u0441\u044F, \u0432\u0438 \u043E\u0442\u0440\u0438\u043C\u0430\u043B\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C \u043D\u0430 \u0441\u0432\u043E\u0454 \u0437\u0430\u043F\u0438\u0442\u0430\u043D\u043D\u044F. \u0417\u0430\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043F\u0440\u043E \u0449\u043E\u0441\u044C \u0449\u0435." }, noOverlay: { intent: { intentConfirmationStr1: "\u0414\u0443\u043C\u0430\u044E, \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435", intentConfirmationStr2: "\u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?" }, youSaid: { youSaidConfirmationStr1: "\u0412\u0438 \u0441\u043A\u0430\u0437\u0430\u043B\u0438", youSaidConfirmationStr2: "\u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?", youSaidConfirmationStr1DigitalBot: "\u0412\u0438 \u0432\u0432\u0435\u043B\u0438" }, noInput: { noInputStr1: "\u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C", noInputStr1DigitalBot: "\u0423\u0432\u0435\u0434\u0456\u0442\u044C" }, noMatch: { noMatchStr1: "\u041D\u0430\u0434\u0430\u0439\u0442\u0435" }, whatIs: { whatIsQuestionStr1: "\u042F\u043A\u0438\u0439", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u041D\u0430\u0440\u0430\u0437\u0456 \u044F \u043C\u0430\u044E", iGotContinuationStr2: ". \u041F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u0439\u0442\u0435." } }, defaultCallFlowOne: "\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0437\u0430\u0434\u0430\u043D\u0438\u0439 \u0448\u043B\u044F\u0445 \u0430\u0431\u043E\u043D\u0435\u043D\u0442\u0430", errorHandlingAgentEscalationConfirmation: "\u0412\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u043F\u043E\u0433\u043E\u0432\u043E\u0440\u0438\u0442\u0438 \u0437 \u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0442\u0430\u043D\u0442\u043E\u043C. \u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?", errorHandlingAgentEscalationHandover: "\u0417\u0430\u0447\u0435\u043A\u0430\u0439\u0442\u0435 \u0442\u0440\u043E\u0445\u0438, \u044F \u0437\u2019\u0454\u0434\u043D\u0443\u044E \u0432\u0430\u0441 \u0437 \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C.", errorHandlingErrorEventHandover: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u0441\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0417\u0430\u0447\u0435\u043A\u0430\u0439\u0442\u0435 \u0442\u0440\u043E\u0445\u0438, \u044F \u0437\u2019\u0454\u0434\u043D\u0443\u044E \u0432\u0430\u0441 \u0456\u0437 \u0442\u0438\u043C, \u0445\u0442\u043E \u043C\u043E\u0436\u0435 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438.", errorHandlingErrorEventHandoverVoiceSurvey: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u0441\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u041D\u0430 \u0432\u0441\u0435 \u0434\u043E\u0431\u0440\u0435.", errorHandlingRecognitionEventHandover: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u044F \u0432\u0430\u0441 \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E. \u0417\u0430\u0447\u0435\u043A\u0430\u0439\u0442\u0435 \u0442\u0440\u043E\u0445\u0438, \u044F \u0437\u2019\u0454\u0434\u043D\u0443\u044E \u0432\u0430\u0441 \u0456\u0437 \u0442\u0438\u043C, \u0445\u0442\u043E \u043C\u043E\u0436\u0435 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438.", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u044F \u0432\u0430\u0441 \u043D\u0435 \u0440\u043E\u0437\u0443\u043C\u0456\u044E. \u041D\u0430 \u0432\u0441\u0435 \u0434\u043E\u0431\u0440\u0435.", errorHandlingTTS: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u0441\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0434\u0456\u0439\u0441\u043D\u0438\u0442\u0438 \u0432\u0438\u043A\u043B\u0438\u043A \u0449\u0435 \u0440\u0430\u0437.", initialGreetingTTS: "\u0412\u0456\u0442\u0430\u044E, \u0446\u0435 \u043F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0435 \u043F\u0440\u0438\u0432\u0456\u0442\u0430\u043D\u043D\u044F.", initialState: "\u041F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0438\u0439 \u0441\u0442\u0430\u043D", initialBotState: "\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0437\u0430\u0434\u0430\u043D\u0438\u0439 \u0431\u043E\u0442", initialDigitalBotState: "\u041F\u043E\u0447\u0430\u0442\u043A\u043E\u0432\u0435 \u043F\u0440\u0438\u0432\u0456\u0442\u0430\u043D\u043D\u044F", initialSurveyBotState: "\u0411\u043E\u0442 \u0434\u043B\u044F \u043E\u043F\u0438\u0442\u0443\u0432\u0430\u043D\u043D\u044F", intentConfirmation: "\u0414\u0443\u043C\u0430\u044E, \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 %1$s. \u0426\u0435 \u0434\u0456\u0439\u0441\u043D\u043E \u0442\u0430\u043A?", mainMenu: "\u041E\u0441\u043D\u043E\u0432\u043D\u0435 \u043C\u0435\u043D\u044E", mainMenuTTS: "\u0412\u0438 \u043F\u0435\u0440\u0435\u0431\u0443\u0432\u0430\u0454\u0442\u0435 \u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u043C\u0443 \u043C\u0435\u043D\u044E. \u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C 9, \u0449\u043E\u0431 \u0440\u043E\u0437\u2019\u0454\u0434\u043D\u0430\u0442\u0438 \u0432\u0438\u043A\u043B\u0438\u043A", mainTask: "\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F", settingsConfirmationNoInputApology: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0430\u0441 \u043F\u043E\u0447\u0443\u0442\u0438. \u0412\u0438\u043C\u043E\u0432\u0456\u0442\u044C \xAB\u0422\u0430\u043A\xBB \u0430\u0431\u043E \xAB\u041D\u0456\xBB.", settingsConfirmationNoInputApologyDigitalBot: '\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u0432\u0456\u0434 \u0432\u0430\u0441 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E. \u0423\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456".', settingsConfirmationNoMatchApology: "\u041F\u0435\u0440\u0435\u043F\u0440\u043E\u0448\u0443\u044E, \u0432\u0438\u043C\u043E\u0432\u0456\u0442\u044C \xAB\u0422\u0430\u043A\xBB \u0430\u0431\u043E \xAB\u041D\u0456\xBB.", settingsConfirmationNoMatchApologyDigitalBot: '\u041F\u0435\u0440\u0435\u043F\u0440\u043E\u0448\u0443\u044E, \u0443\u0432\u0435\u0434\u0456\u0442\u044C "\u0422\u0430\u043A" \u0430\u0431\u043E "\u041D\u0456".', settingsNoInputApology: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0430\u0441 \u043F\u043E\u0447\u0443\u0442\u0438.", settingsNoInputApologyDigitalBot: "\u041D\u0430 \u0436\u0430\u043B\u044C, \u043C\u0435\u043D\u0456 \u043D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u0432\u0456\u0434 \u0432\u0430\u0441 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E.", settingsEndOfSessionMessageDigitalBot: "\u0412\u0438 \u043D\u0435 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0454\u0442\u0435 \u0432\u0436\u0435 \u0434\u0435\u044F\u043A\u0438\u0439 \u0447\u0430\u0441, \u0442\u043E\u043C\u0443 \u044F \u0437\u0430\u043A\u0440\u0438\u0432\u0430\u044E \u0446\u0435\u0439 \u0447\u0430\u0442. \u0417\u0432\u0435\u0440\u0442\u0430\u0439\u0442\u0435\u0441\u044F, \u044F\u043A\u0449\u043E \u0437\u043D\u043E\u0432\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0432\u0430\u0442\u0438\u043C\u0435\u0442\u0435 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0438. \u0414\u044F\u043A\u0443\u044E!", settingsNoMatchApology: "\u041F\u0435\u0440\u0435\u043F\u0440\u043E\u0448\u0443\u044E.", settingsNoToConfirmationApology: "\u0412\u0438\u0437\u043D\u0430\u044E \u0441\u0432\u043E\u044E \u043F\u043E\u043C\u0438\u043B\u043A\u0443.", periodicStateName: "\u0421\u0442\u0430\u043D \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F" }; + }, 26928(e2) { + e2.exports = { askCommon: { invalidInputReceived: "Th\xF4ng tin \u0111\u1EA7u v\xE0o \u0111\xF3 kh\xF4ng h\u1EE3p l\u1EC7.", noInputReceived: "T\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c th\xF4ng tin \u0111\u1EA7u v\xE0o n\xE0o." }, askForBoolean: { noInput: 'N\xF3i "c\xF3" n\u1EBFu b\u1EA1n mu\u1ED1n ti\u1EBFp t\u1EE5c ho\u1EB7c "kh\xF4ng" n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n ti\u1EBFp t\u1EE5c.', noMatch: 'Vui l\xF2ng n\xF3i "c\xF3" ho\u1EB7c "kh\xF4ng". B\u1EA1n c\xF3 mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?', question: "B\u1EA1n c\xF3 mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?", noInputDigitalBot: 'Nh\u1EADp "C\xF3" n\u1EBFu b\u1EA1n mu\u1ED1n ti\u1EBFp t\u1EE5c ho\u1EB7c "Kh\xF4ng" n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n ti\u1EBFp t\u1EE5c.', noMatchDigitalBot: 'Vui l\xF2ng nh\u1EADp "C\xF3" ho\u1EB7c "Kh\xF4ng". B\u1EA1n c\xF3 mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?' }, askForIntent: { noInput: 'Ch\u1EC9 c\u1EA7n n\xF3i m\u1ED9t c\xE2u ng\u1EAFn g\u1ECDn m\xF4 t\u1EA3 truy v\u1EA5n c\u1EE7a b\u1EA1n. V\xED d\u1EE5: "Ki\u1EC3m tra s\u1ED1 d\u01B0 t\xE0i kho\u1EA3n c\u1EE7a t\xF4i"', noMatch: "Vui l\xF2ng n\xF3i l\u1EA1i cho t\xF4i bi\u1EBFt b\u1EA1n mu\u1ED1n l\xE0m g\xEC.", question: "B\u1EA1n mu\u1ED1n l\xE0m g\xEC?", noInputDigitalBot: 'Vui l\xF2ng nh\u1EADp m\u1ED9t c\xE2u ng\u1EAFn g\u1ECDn m\xF4 t\u1EA3 truy v\u1EA5n c\u1EE7a b\u1EA1n. V\xED d\u1EE5: "Ki\u1EC3m tra s\u1ED1 d\u01B0 t\xE0i kho\u1EA3n c\u1EE7a t\xF4i"' }, askForSlot: { askFor: "Y\xEAu c\u1EA7u cung c\u1EA5p %1$s", noInput: "Vui l\xF2ng n\xF3i ho\u1EB7c nh\u1EADp (vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y).", noInputWithSlot: "Vui l\xF2ng n\xF3i ho\u1EB7c nh\u1EADp %1$s.", noMatch: "Vui l\xF2ng cung c\u1EA5p l\u1EA1i cho t\xF4i (vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y).", noMatchWithSlot: "Vui l\xF2ng cung c\u1EA5p l\u1EA1i cho t\xF4i %1$s.", question: "(Vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y) l\xE0 g\xEC?", questionWithSlot: "%1$s l\xE0 g\xEC?", pleaseEnterSlotNameHere: "(vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y)", noInputDigitalBot: "Vui l\xF2ng nh\u1EADp (vui l\xF2ng \u0111i\u1EC1n t\xEAn \u0111o\u1EA1n th\xF4ng tin c\u1EE7a b\u1EA1n \u1EDF \u0111\xE2y).", noInputWithSlotDigitalBot: "Vui l\xF2ng nh\u1EADp %1$s.", continuationPromptWithSlot: "T\xF4i \u0111\xE3 nh\u1EADn \u0111\u01B0\u1EE3c {{Slot.%1$s}} t\xEDnh \u0111\u1EBFn th\u1EDDi \u0111i\u1EC3m n\xE0y, vui l\xF2ng ti\u1EBFp t\u1EE5c." }, askForNextSlot: { noInput: 'N\xF3i "c\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc cu\u1ED9c g\u1ECDi.', noMatch: 'N\xF3i "c\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc phi\xEAn.', question: "T\xF4i c\xF3 th\u1EC3 gi\xFAp g\xEC kh\xE1c cho b\u1EA1n kh\xF4ng?", noInputDigitalBot: 'Nh\u1EADp "C\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "Kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc phi\xEAn.', noMatchDigitalBot: 'Nh\u1EADp "C\xF3" n\u1EBFu b\u1EA1n c\xF3 truy v\u1EA5n kh\xE1c ho\u1EB7c "Kh\xF4ng" \u0111\u1EC3 k\u1EBFt th\xFAc phi\xEAn.' }, askForPayment: { noInputDigitalBot: "Vui l\xF2ng cung c\u1EA5p th\xF4ng tin thanh to\xE1n c\u1EE7a b\u1EA1n \u0111\u1EC3 ti\u1EBFp t\u1EE5c.", noMatchDigitalBot: "T\xF4i kh\xF4ng hi\u1EC3u ph\u1EA3n h\u1ED3i c\u1EE7a b\u1EA1n. Vui l\xF2ng th\u1EED l\u1EA1i." }, askForAuthentication: { noInputDigitalBot: "Vui l\xF2ng cung c\u1EA5p th\xF4ng tin x\xE1c th\u1EF1c c\u1EE7a b\u1EA1n \u0111\u1EC3 ti\u1EBFp t\u1EE5c.", noMatchDigitalBot: "T\xF4i kh\xF4ng hi\u1EC3u ph\u1EA3n h\u1ED3i c\u1EE7a b\u1EA1n. Vui l\xF2ng th\u1EED l\u1EA1i." }, askSurveyQuestion: { notApplicable: "Kh\xF4ng \xE1p d\u1EE5ng", surveyAnswerOptionSequence: "Nh\u1EA5n %1$s cho '%2$s'.", surveyAnswerNotApplicableSequence: "Nh\u1EA5n d\u1EA5u sao cho Kh\xF4ng \xE1p d\u1EE5ng.", surveyAnswerNotApplicableWithQuestionSequence: "%1$s. Nh\u1EA5n d\u1EA5u sao cho Kh\xF4ng \xE1p d\u1EE5ng.", voiceSurveyNoInputText: "Vui l\xF2ng tr\u1EA3 l\u1EDDi c\xE2u h\u1ECFi.", voiceSurveyNoMatchText: "T\xF4i ch\u01B0a hi\u1EC3u \xFD b\u1EA1n." }, commonModule: { exitCommonModule: "Tho\xE1t M\xF4-\u0111un chung" }, form: { noInputDigitalBot: "Vui l\xF2ng ho\xE0n th\xE0nh bi\u1EC3u m\u1EABu \u0111\u1EC3 ti\u1EBFp t\u1EE5c.", noMatchDigitalBot: "Vui l\xF2ng ho\xE0n th\xE0nh bi\u1EC3u m\u1EABu \u0111\u1EC3 ti\u1EBFp t\u1EE5c." }, messagingTemplate: { noInputDigitalBot: "Vui l\xF2ng ch\u1ECDn m\u1ED9t trong c\xE1c t\xF9y ch\u1ECDn s\u1EB5n c\xF3.", noMatchDigitalBot: "Vui l\xF2ng ch\u1ECDn m\u1ED9t trong c\xE1c t\xF9y ch\u1ECDn s\u1EB5n c\xF3." }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "Ti\u1EBFp t\u1EE5c", knowledgeAnswerHighlightFullArticleDefault: "Xem to\xE0n b\u1ED9 b\xE0i vi\u1EBFt", knowledgeInitialResponseMulti: "\u0110\u1EC3 gi\xFAp t\xF4i hi\u1EC3u r\xF5 m\u1EE5c ti\xEAu c\u1EE7a b\u1EA1n, vui l\xF2ng ch\u1ECDn m\u1ED9t s\u1ED1 t\u1EEB danh s\xE1ch sau:", knowledgeInitialResponseMultiRetry: "Vui l\xF2ng ch\u1ECDn m\u1ED9t s\u1ED1, v\xED d\u1EE5 nh\u01B0 '1'.\nSau \u0111\xE2y l\xE0 danh s\xE1ch c\xE1c t\xF9y ch\u1ECDn:", knowledgeNoMatch: "Kh\xF4ng m\u1EE5c n\xE0o trong s\u1ED1 n\xE0y", knowledgeConfirmation: "N\u1ED9i dung n\xE0y c\xF3 tr\u1EA3 l\u1EDDi \u0111\u01B0\u1EE3c c\xE2u h\u1ECFi c\u1EE7a b\u1EA1n kh\xF4ng?", knowledgeFollowup: "T\xF4i hy v\u1ECDng m\xECnh \u0111\xE3 tr\u1EA3 l\u1EDDi \u0111\u01B0\u1EE3c c\xE2u h\u1ECFi c\u1EE7a b\u1EA1n. B\u1EA1n c\xF3 th\u1EC3 h\u1ECFi b\u1EA5t c\u1EE9 \u0111i\u1EC1u g\xEC kh\xE1c m\xE0 b\u1EA1n mu\u1ED1n bi\u1EBFt." }, noOverlay: { intent: { intentConfirmationStr1: "T\xF4i ngh\u0129 b\u1EA1n mu\u1ED1n", intentConfirmationStr2: "C\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?" }, youSaid: { youSaidConfirmationStr1: "B\u1EA1n \u0111\xE3 n\xF3i", youSaidConfirmationStr2: "C\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?", youSaidConfirmationStr1DigitalBot: "B\u1EA1n \u0111\xE3 nh\u1EADp" }, noInput: { noInputStr1: "Vui l\xF2ng n\xF3i ho\u1EB7c nh\u1EADp", noInputStr1DigitalBot: "Vui l\xF2ng nh\u1EADp" }, noMatch: { noMatchStr1: "Vui l\xF2ng cung c\u1EA5p cho t\xF4i" }, whatIs: { whatIsQuestionStr1: "\u0110\u1ECBnh ngh\u0129a c\u1EE7a", whatIsQuestionStr2: "l\xE0 g\xEC?" }, iGotContinuation: { iGotContinuationStr1: "T\xF4i \u0111\xE3 nh\u1EADn \u0111\u01B0\u1EE3c", iGotContinuationStr2: "t\xEDnh \u0111\u1EBFn th\u1EDDi \u0111i\u1EC3m n\xE0y, vui l\xF2ng ti\u1EBFp t\u1EE5c." } }, defaultCallFlowOne: "Lu\u1ED3ng cu\u1ED9c g\u1ECDi m\u1EB7c \u0111\u1ECBnh", errorHandlingAgentEscalationConfirmation: "B\u1EA1n mu\u1ED1n n\xF3i chuy\u1EC7n v\u1EDBi t\u01B0 v\u1EA5n vi\xEAn. C\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?", errorHandlingAgentEscalationHandover: "Vui l\xF2ng \u0111\u1EE3i m\u1ED9t l\xE1t, t\xF4i s\u1EBD k\u1EBFt n\u1ED1i b\u1EA1n v\u1EDBi m\u1ED9t t\u01B0 v\u1EA5n vi\xEAn.", errorHandlingErrorEventHandover: "R\u1EA5t ti\u1EBFc, \u0111\xE3 x\u1EA3y ra l\u1ED7i. Vui l\xF2ng \u0111\u1EE3i m\u1ED9t l\xE1t trong khi t\xF4i k\u1EBFt n\u1ED1i b\u1EA1n v\u1EDBi m\u1ED9t t\u01B0 v\u1EA5n vi\xEAn c\xF3 th\u1EC3 tr\u1EE3 gi\xFAp cho b\u1EA1n.", errorHandlingErrorEventHandoverVoiceSurvey: "R\u1EA5t ti\u1EBFc, \u0111\xE3 x\u1EA3y ra l\u1ED7i. T\u1EA1m bi\u1EC7t b\u1EA1n.", errorHandlingRecognitionEventHandover: "Xin l\u1ED7i, t\xF4i ch\u01B0a hi\u1EC3u \xFD b\u1EA1n. Vui l\xF2ng \u0111\u1EE3i m\u1ED9t l\xE1t trong khi t\xF4i k\u1EBFt n\u1ED1i b\u1EA1n v\u1EDBi m\u1ED9t t\u01B0 v\u1EA5n vi\xEAn c\xF3 th\u1EC3 tr\u1EE3 gi\xFAp cho b\u1EA1n.", errorHandlingRecognitionEventHandoverVoiceSurvey: "Xin l\u1ED7i, t\xF4i ch\u01B0a hi\u1EC3u \xFD b\u1EA1n. T\u1EA1m bi\u1EC7t b\u1EA1n.", errorHandlingTTS: "R\u1EA5t ti\u1EBFc, \u0111\xE3 x\u1EA3y ra l\u1ED7i. Vui l\xF2ng th\u1EED g\u1ECDi l\u1EA1i.", initialGreetingTTS: "Xin ch\xE0o, \u0111\xE2y l\xE0 l\u1EDDi ch\xE0o \u0111\u1EA7u ti\xEAn.", initialState: "Tr\u1EA1ng th\xE1i ban \u0111\u1EA7u", initialBotState: "Bot m\u1EB7c \u0111\u1ECBnh", initialDigitalBotState: "L\u1EDDi ch\xE0o \u0111\u1EA7u ti\xEAn", initialSurveyBotState: "Bot kh\u1EA3o s\xE1t", intentConfirmation: "T\xF4i ngh\u0129 b\u1EA1n mu\u1ED1n %1$s, c\xF3 \u0111\xFAng v\u1EADy kh\xF4ng?", mainMenu: "Menu ch\xEDnh", mainMenuTTS: "B\u1EA1n \u0111ang \u1EDF Menu ch\xEDnh, vui l\xF2ng nh\u1EA5n ph\xEDm 9 \u0111\u1EC3 ng\u1EAFt k\u1EBFt n\u1ED1i", mainTask: "Nhi\u1EC7m v\u1EE5", settingsConfirmationNoInputApology: "Xin l\u1ED7i, t\xF4i ch\u01B0a nghe th\u1EA5y b\u1EA1n. Vui l\xF2ng n\xF3i c\xF3 ho\u1EB7c kh\xF4ng.", settingsConfirmationNoInputApologyDigitalBot: 'Xin l\u1ED7i, t\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c th\xF4ng tin \u0111\u1EA7u v\xE0o n\xE0o t\u1EEB b\u1EA1n. Vui l\xF2ng nh\u1EADp "C\xF3" ho\u1EB7c "Kh\xF4ng".', settingsConfirmationNoMatchApology: "Xin l\u1ED7i, vui l\xF2ng n\xF3i c\xF3 ho\u1EB7c kh\xF4ng.", settingsConfirmationNoMatchApologyDigitalBot: 'Xin l\u1ED7i, vui l\xF2ng nh\u1EADp "C\xF3" ho\u1EB7c "Kh\xF4ng".', settingsNoInputApology: "Xin l\u1ED7i, t\xF4i ch\u01B0a nghe th\u1EA5y b\u1EA1n.", settingsNoInputApologyDigitalBot: "Xin l\u1ED7i, t\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c th\xF4ng tin \u0111\u1EA7u v\xE0o n\xE0o t\u1EEB b\u1EA1n.", settingsEndOfSessionMessageDigitalBot: "\u0110\xE3 kh\xE1 l\xE2u r\u1ED3i t\xF4i ch\u01B0a nh\u1EADn \u0111\u01B0\u1EE3c ph\u1EA3n h\u1ED3i c\u1EE7a b\u1EA1n n\xEAn t\xF4i s\u1EBD \u0111\xF3ng cu\u1ED9c tr\xF2 chuy\u1EC7n n\xE0y. Vui l\xF2ng quay l\u1EA1i n\u1EBFu b\u1EA1n v\u1EABn c\u1EA7n t\xF4i tr\u1EE3 gi\xFAp. C\u1EA3m \u01A1n b\u1EA1n.", settingsNoMatchApology: "Xin l\u1ED7i.", settingsNoToConfirmationApology: "T\xF4i nh\u1EA7m.", periodicStateName: "Tr\u1EA1ng th\xE1i theo \u0111\u1ECBnh k\u1EF3" }; + }, 93500(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\u8F93\u5165\u65E0\u6548\u3002", noInputReceived: "\u6211\u6CA1\u6709\u6536\u5230\u4EFB\u4F55\u8F93\u5165\u3002" }, askForBoolean: { noInput: '\u5982\u679C\u60F3\u7EE7\u7EED\uFF0C\u8BF7\u8BF4"\u662F"\uFF1B\u5426\u5219\u8BF7\u8BF4"\u5426"\u3002', noMatch: '\u8BF7\u8BF4 "\u662F" \u6216 "\u5426"\u3002\u662F\u5426\u8981\u7EE7\u7EED\uFF1F', question: "\u662F\u5426\u8981\u7EE7\u7EED\uFF1F", noInputDigitalBot: '\u5982\u679C\u60F3\u7EE7\u7EED\uFF0C\u8BF7\u8F93\u5165"\u662F"\uFF1B\u5426\u5219\u8BF7\u8F93\u5165"\u5426"\u3002', noMatchDigitalBot: '\u8BF7\u8F93\u5165"\u662F"\u6216"\u5426"\u3002\u662F\u5426\u8981\u7EE7\u7EED\uFF1F' }, askForIntent: { noInput: '\u53EA\u9700\u7528\u4E00\u4E2A\u7B80\u77ED\u7684\u53E5\u5B50\u6765\u63CF\u8FF0\u60A8\u7684\u95EE\u9898\u3002\u4F8B\u5982\uFF0C"\u67E5\u770B\u6211\u7684\u8D26\u6237\u4F59\u989D"', noMatch: "\u8BF7\u518D\u6B21\u544A\u8BC9\u6211\u60A8\u60F3\u505A\u4EC0\u4E48\u3002", question: "\u60A8\u5E0C\u671B\u505A\u4EC0\u4E48\uFF1F", noInputDigitalBot: '\u8BF7\u8F93\u5165\u4E00\u4E2A\u7B80\u77ED\u7684\u53E5\u5B50\u6765\u63CF\u8FF0\u60A8\u7684\u95EE\u9898\u3002\u4F8B\u5982\uFF0C"\u67E5\u770B\u6211\u7684\u8D26\u6237\u4F59\u989D"' }, askForSlot: { askFor: "\u9700\u8981 %1$s", noInput: "\u8BF7\u8BF4\u51FA\u6216\u8F93\u5165\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u3002", noInputWithSlot: "\u8BF7\u8BF4\u51FA\u6216\u8F93\u5165 %1$s\u3002", noMatch: "\u8BF7\u518D\u6B21\u5C06\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u63D0\u4F9B\u7ED9\u6211\u3002", noMatchWithSlot: "\u8BF7\u518D\u6B21\u5C06 %1$s \u63D0\u4F9B\u7ED9\u6211\u3002", question: "\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u662F\u4EC0\u4E48\uFF1F", questionWithSlot: "\u4EC0\u4E48\u662F %1$s\uFF1F", pleaseEnterSlotNameHere: "\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09", noInputDigitalBot: "\u8BF7\u8F93\u5165\uFF08\u8BF7\u5728\u6B64\u5904\u8F93\u5165\u60A8\u7684\u63D2\u69FD\u540D\u79F0\uFF09\u3002", noInputWithSlotDigitalBot: "\u8BF7\u8F93\u5165 %1$s\u3002", continuationPromptWithSlot: "\u76EE\u524D\u6211\u5DF2\u6536\u5230\u4E86 {{Slot.%1$s}}\uFF0C\u8BF7\u7EE7\u7EED\u3002" }, askForNextSlot: { noInput: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8BF4"\u662F"\uFF1B\u5982\u679C\u60F3\u7ED3\u675F\u901A\u8BDD\uFF0C\u8BF7\u8BF4"\u5426"\u3002', noMatch: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8BF4 "\u662F"\uFF0C\u5982\u679C\u60F3\u7ED3\u675F\u4F1A\u8BDD\uFF0C\u8BF7\u8BF4 "\u5426" \u3002', question: "\u8FD8\u6709\u4EC0\u4E48\u9700\u8981\u6211\u5E2E\u52A9\u7684\u5417\uFF1F", noInputDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8F93\u5165"\u662F"\uFF0C\u5982\u679C\u60F3\u7ED3\u675F\u4F1A\u8BDD\uFF0C\u8BF7\u8F93\u5165"\u5426"\u3002', noMatchDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u95EE\u9898\uFF0C\u8BF7\u8F93\u5165"\u662F"\uFF0C\u5982\u679C\u60F3\u7ED3\u675F\u4F1A\u8BDD\uFF0C\u8BF7\u8F93\u5165"\u5426"\u3002' }, askForPayment: { noInputDigitalBot: "\u8BF7\u63D0\u4F9B\u4ED8\u6B3E\u4FE1\u606F\u4EE5\u7EE7\u7EED\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u590D\u3002\u8BF7\u91CD\u8BD5\u3002" }, askForAuthentication: { noInputDigitalBot: "\u8BF7\u63D0\u4F9B\u60A8\u7684\u8BA4\u8BC1\u4FE1\u606F\u4EE5\u7EE7\u7EED\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u590D\u3002\u8BF7\u91CD\u8BD5\u3002" }, askSurveyQuestion: { notApplicable: "\u4E0D\u9002\u7528", surveyAnswerOptionSequence: "\u6309 %1$s \u4EE5\u83B7\u53D6 '%2$s'\u3002", surveyAnswerNotApplicableSequence: "\u6309\u4E0B\u661F\u53F7\u952E\u8868\u793A\u4E0D\u9002\u7528\u3002", surveyAnswerNotApplicableWithQuestionSequence: "%1$s\u3002\u6309\u4E0B\u661F\u53F7\u952E\u8868\u793A\u4E0D\u9002\u7528\u3002", voiceSurveyNoInputText: "\u8BF7\u56DE\u7B54\u95EE\u9898\u3002", voiceSurveyNoMatchText: "\u6211\u4E0D\u660E\u767D\u60A8\u7684\u610F\u601D\u3002" }, commonModule: { exitCommonModule: "\u9000\u51FA\u901A\u7528\u6A21\u5757" }, form: { noInputDigitalBot: "\u8BF7\u5B8C\u6210\u8868\u5355\u4EE5\u7EE7\u7EED\u3002", noMatchDigitalBot: "\u8BF7\u5B8C\u6210\u8868\u5355\u4EE5\u7EE7\u7EED\u3002" }, messagingTemplate: { noInputDigitalBot: "\u8BF7\u9009\u62E9\u53EF\u7528\u9009\u9879\u7684\u5176\u4E2D\u4E4B\u4E00\u3002", noMatchDigitalBot: "\u8BF7\u9009\u62E9\u53EF\u7528\u9009\u9879\u7684\u5176\u4E2D\u4E4B\u4E00\u3002" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u7EE7\u7EED", knowledgeAnswerHighlightFullArticleDefault: "\u67E5\u770B\u5B8C\u6574\u6587\u7AE0", knowledgeInitialResponseMulti: "\u4E3A\u4E86\u5E2E\u52A9\u6211\u7406\u89E3\u60A8\u7684\u76EE\u7684\uFF0C\u8BF7\u4ECE\u4EE5\u4E0B\u5217\u8868\u4E2D\u9009\u62E9\u4E00\u4E2A\u6570\u5B57\uFF1A", knowledgeInitialResponseMultiRetry: "\u8BF7\u9009\u62E9\u4E00\u4E2A\u6570\u5B57\uFF0C\u4F8B\u5982\u201C1\u201D\u3002\n\u6211\u5C06\u518D\u6B21\u63D0\u4F9B\u9009\u9879\u5217\u8868\uFF1A", knowledgeNoMatch: "\u4EE5\u4E0A\u90FD\u4E0D\u662F", knowledgeConfirmation: "\u8FD9\u662F\u5426\u56DE\u7B54\u4E86\u60A8\u7684\u95EE\u9898\uFF1F", knowledgeFollowup: "\u5E0C\u671B\u6211\u56DE\u7B54\u4E86\u60A8\u7684\u95EE\u9898\u3002\u60A8\u53EF\u4EE5\u63D0\u51FA\u4EFB\u4F55\u60A8\u60F3\u8981\u77E5\u9053\u7684\u95EE\u9898\u3002" }, noOverlay: { intent: { intentConfirmationStr1: "\u6211\u60F3\u60A8\u662F\u60F3", intentConfirmationStr2: "\u5BF9\u5417\uFF1F" }, youSaid: { youSaidConfirmationStr1: "\u60A8\u8BF4", youSaidConfirmationStr2: "\u5BF9\u5417\uFF1F", youSaidConfirmationStr1DigitalBot: "\u60A8\u8F93\u5165\u4E86" }, noInput: { noInputStr1: "\u8BF7\u8BF4\u51FA\u6216\u8F93\u5165", noInputStr1DigitalBot: "\u8BF7\u8F93\u5165" }, noMatch: { noMatchStr1: "\u8BF7\u544A\u8BC9\u6211" }, whatIs: { whatIsQuestionStr1: "\u4EC0\u4E48\u662F", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u6211\u6536\u5230\u4E86", iGotContinuationStr2: "\u8BF7\u7EE7\u7EED\u3002" } }, defaultCallFlowOne: "\u9ED8\u8BA4\u547C\u53EB\u6D41\u7A0B", errorHandlingAgentEscalationConfirmation: "\u60A8\u60F3\u4E0E\u987E\u95EE\u4EA4\u8C08\u3002\u5BF9\u5417\uFF1F", errorHandlingAgentEscalationHandover: "\u8BF7\u7A0D\u7B49\u7247\u523B\uFF0C\u6211\u4F1A\u4E3A\u60A8\u8F6C\u63A5\u5176\u4ED6\u4EBA\u3002", errorHandlingErrorEventHandover: "\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u8BF7\u7A0D\u7B49\u7247\u523B\uFF0C\u6211\u4F1A\u4E3A\u60A8\u8F6C\u63A5\u53EF\u4EE5\u5E2E\u52A9\u60A8\u7684\u5176\u4ED6\u4EBA\u3002", errorHandlingErrorEventHandoverVoiceSurvey: "\u975E\u5E38\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u6211\u4EEC\u4E0B\u6B21\u89C1\u3002", errorHandlingRecognitionEventHandover: "\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u8BF7\u7A0D\u7B49\u7247\u523B\uFF0C\u6211\u4F1A\u4E3A\u60A8\u8F6C\u63A5\u53EF\u4EE5\u5E2E\u52A9\u60A8\u7684\u5176\u4ED6\u4EBA\u3002", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u975E\u5E38\u62B1\u6B49\uFF0C\u6211\u4E0D\u660E\u767D\u60A8\u7684\u610F\u601D\u3002\u6211\u4EEC\u4E0B\u6B21\u89C1\u3002", errorHandlingTTS: "\u62B1\u6B49\uFF0C\u51FA\u9519\u4E86\u3002\u8BF7\u518D\u6B21\u5C1D\u8BD5\u62E8\u6253\u3002", initialGreetingTTS: "\u60A8\u597D\uFF0C\u8BF7\u63A5\u6536\u6211\u8BDA\u631A\u7684\u95EE\u5019\u3002", initialState: "\u521D\u59CB\u72B6\u6001", initialBotState: "\u9ED8\u8BA4 Bot", initialDigitalBotState: "\u521D\u59CB\u95EE\u5019", initialSurveyBotState: "\u8C03\u67E5 Bot", intentConfirmation: "\u6211\u60F3\u60A8\u662F\u8981 %1$s\uFF0C\u5BF9\u5417\uFF1F", mainMenu: "\u4E3B\u83DC\u5355", mainMenuTTS: "\u60A8\u76EE\u524D\u4F4D\u4E8E\u4E3B\u83DC\u5355\uFF0C\u6309 9 \u5C06\u65AD\u5F00\u8FDE\u63A5", mainTask: "\u4EFB\u52A1", settingsConfirmationNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u542C\u5230\u60A8\u7684\u58F0\u97F3\u3002\u8BF7\u8BF4\u201C\u662F\u201D\u6216\u201C\u5426\u201D\u3002", settingsConfirmationNoInputApologyDigitalBot: '\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F93\u5165\u3002\u8BF7\u8F93\u5165"\u662F"\u6216"\u5426"\u3002', settingsConfirmationNoMatchApology: "\u62B1\u6B49\uFF0C\u8BF7\u8BF4\u201C\u662F\u201D\u6216\u201C\u5426\u201D\u3002", settingsConfirmationNoMatchApologyDigitalBot: '\u62B1\u6B49\uFF0C\u8BF7\u8F93\u5165"\u662F"\u6216"\u5426"\u3002', settingsNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u542C\u5230\u60A8\u7684\u58F0\u97F3\u3002", settingsNoInputApologyDigitalBot: "\u62B1\u6B49\uFF0C\u6211\u6CA1\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F93\u5165\u3002", settingsEndOfSessionMessageDigitalBot: "\u5F88\u957F\u65F6\u95F4\u6CA1\u6709\u6536\u5230\u60A8\u7684\u6D88\u606F\uFF0C\u6240\u4EE5\u6211\u5C06\u7ED3\u675F\u672C\u6B21\u804A\u5929\u3002\u5982\u679C\u60A8\u8FD8\u9700\u8981\u6211\u7684\u5E2E\u52A9\uFF0C\u8BF7\u518D\u6B21\u8054\u7CFB\u3002\u611F\u8C22\u7406\u89E3\uFF01", settingsNoMatchApology: "\u62B1\u6B49\u3002", settingsNoToConfirmationApology: "\u8FD9\u662F\u6211\u7684\u9519\u3002", periodicStateName: "\u91CD\u590D\u72B6\u6001" }; + }, 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" }; + }, 6500(e2) { + e2.exports = { askCommon: { invalidInputReceived: "\u9019\u4E0D\u662F\u6709\u6548\u7684\u3002", noInputReceived: "\u6211\u6C92\u6709\u6536\u5230\u4EFB\u4F55\u8F38\u5165\u3002" }, askForBoolean: { noInput: '\u5982\u679C\u60F3\u7E7C\u7E8C\uFF0C\u8ACB\u8AAA "\u662F"\uFF0C\u5982\u679C\u4E0D\u60F3\uFF0C\u8ACB\u8AAA "\u5426"\u3002', noMatch: '\u8ACB\u8AAA "\u662F" \u6216 "\u5426"\u3002\u662F\u5426\u8981\u7E7C\u7E8C\uFF1F', question: "\u662F\u5426\u8981\u7E7C\u7E8C\uFF1F", noInputDigitalBot: '\u5982\u679C\u60F3\u7E7C\u7E8C\uFF0C\u8ACB\u8F38\u5165 "\u662F"\uFF0C\u5982\u679C\u4E0D\u60F3\uFF0C\u8ACB\u8F38\u5165 "\u5426"\u3002', noMatchDigitalBot: '\u8ACB\u8F38\u5165 "\u662F" \u6216 "\u5426"\u3002\u662F\u5426\u8981\u7E7C\u7E8C\uFF1F' }, askForIntent: { noInput: '\u53EA\u8981\u8AAA\u51FA\u7C21\u77ED\u7684\u53E5\u5B50\u4F86\u63CF\u8FF0\u60A8\u7684\u67E5\u8A62\u5373\u53EF\uFF0C\u4F8B\u5982 "\u67E5\u770B\u6211\u7684\u5E33\u6236\u9918\u984D"', noMatch: "\u518D\u544A\u8A34\u6211\u60A8\u60F3\u505A\u4EC0\u9EBC\u3002", question: "\u60A8\u60F3\u505A\u4EC0\u9EBC\uFF1F", noInputDigitalBot: '\u8ACB\u8F38\u5165\u7C21\u77ED\u7684\u53E5\u5B50\u4F86\u63CF\u8FF0\u60A8\u7684\u67E5\u8A62\u5373\u53EF\uFF0C\u4F8B\u5982 "\u67E5\u770B\u6211\u7684\u5E33\u6236\u9918\u984D"' }, askForSlot: { askFor: "\u8981\u6C42 %1$s", noInput: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\u540D\u7A31\uFF09\u3002", noInputWithSlot: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165 %1$s\u3002", noMatch: "\u8ACB\u518D\u7D66\u6211\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\u540D\u7A31\uFF09\u3002", noMatchWithSlot: "\u8ACB\u518D\u7D66\u6211 %1$s\u3002", question: "\u4EC0\u9EBC\u662F\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\u540D\u7A31\uFF09\uFF1F", questionWithSlot: "\u4EC0\u9EBC\u662F %1$s\uFF1F", pleaseEnterSlotNameHere: "(\u8ACB\u5728\u6B64\u653E\u5165\u60A8\u7684\u69FD\u4F4D\u540D\u7A31)", noInputDigitalBot: "\u8ACB\u8F38\u5165\uFF08\u8ACB\u5728\u6B64\u52A0\u5165\u69FD\u4F4D\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\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8AAA "\u662F"\uFF0C\u6216\u8AAA "\u5426" \u4EE5\u7D50\u675F\u547C\u53EB\u3002', noMatch: '\u5982\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8AAA "\u662F"\uFF0C\u6216\u8AAA "\u5426" \u4EE5\u7D50\u675F\u5DE5\u4F5C\u968E\u6BB5\u3002', question: "\u9084\u6709\u4EFB\u4F55\u6211\u53EF\u4EE5\u5354\u52A9\u7684\u5730\u65B9\u55CE\uFF1F", noInputDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8F38\u5165 "\u662F"\uFF0C\u6216\u8F38\u5165 "\u5426" \u4EE5\u7D50\u675F\u5DE5\u4F5C\u968E\u6BB5\u3002', noMatchDigitalBot: '\u5982\u679C\u6709\u5176\u4ED6\u67E5\u8A62\uFF0C\u8ACB\u8F38\u5165 "\u662F"\uFF0C\u6216\u8F38\u5165 "\u5426" \u4EE5\u7D50\u675F\u5DE5\u4F5C\u968E\u6BB5\u3002' }, askForPayment: { noInputDigitalBot: "\u8ACB\u63D0\u4F9B\u4ED8\u6B3E\u8CC7\u8A0A\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u61C9\u3002\u8ACB\u91CD\u8A66\u3002" }, askForAuthentication: { noInputDigitalBot: "\u8ACB\u63D0\u4F9B\u4ED8\u9A57\u8B49\u8CC7\u8A0A\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u6211\u4E0D\u7406\u89E3\u60A8\u7684\u56DE\u61C9\u3002\u8ACB\u91CD\u8A66\u3002" }, askSurveyQuestion: { notApplicable: "\u4E0D\u9069\u7528", surveyAnswerOptionSequence: "\u70BA %2$s \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\u7406\u89E3\u60A8\u3002" }, commonModule: { exitCommonModule: "\u9000\u51FA\u901A\u7528\u6A21\u7D44" }, form: { noInputDigitalBot: "\u8ACB\u5B8C\u6210\u8868\u55AE\u4EE5\u7E7C\u7E8C\u3002", noMatchDigitalBot: "\u8ACB\u5B8C\u6210\u8868\u55AE\u4EE5\u7E7C\u7E8C\u3002" }, messagingTemplate: { noInputDigitalBot: "\u8ACB\u9078\u53D6\u5176\u4E2D\u4E00\u500B\u53EF\u7528\u9078\u9805\u3002", noMatchDigitalBot: "\u8ACB\u9078\u53D6\u5176\u4E2D\u4E00\u500B\u53EF\u7528\u9078\u9805\u3002" }, knowledgeSettings: { knowledgeAnswerHighlightFlowProgressionDefault: "\u7E7C\u7E8C", knowledgeAnswerHighlightFullArticleDefault: "\u6AA2\u8996\u5B8C\u6574\u6587\u7AE0", knowledgeInitialResponseMulti: "\u70BA\u4E86\u8B93\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\u4EE5\u4E0B\u518D\u6B21\u5217\u51FA\u9078\u9805\u6E05\u55AE\uFF1A", knowledgeNoMatch: "\u9078\u9805\u7686\u4E0D\u9069\u7528", knowledgeConfirmation: "\u9019\u500B\u7B54\u6848\u662F\u5426\u80FD\u56DE\u7B54\u60A8\u7684\u554F\u984C\uFF1F", knowledgeFollowup: "\u5E0C\u671B\u6211\u5DF2\u56DE\u7B54\u60A8\u7684\u554F\u984C\u3002\u60A8\u53EF\u4EE5\u8A62\u554F\u4EFB\u4F55\u60A8\u53EF\u80FD\u9084\u60F3\u77E5\u9053\u7684\u4E8B\u60C5\u3002" }, noOverlay: { intent: { intentConfirmationStr1: "\u6211\u60F3\u60A8\u8981", intentConfirmationStr2: "\u662F\u55CE\uFF1F" }, youSaid: { youSaidConfirmationStr1: "\u60A8\u8AAA", youSaidConfirmationStr2: "\u662F\u55CE\uFF1F", youSaidConfirmationStr1DigitalBot: "\u60A8\u5DF2\u8F38\u5165" }, noInput: { noInputStr1: "\u8ACB\u8AAA\u51FA\u6216\u8F38\u5165", noInputStr1DigitalBot: "\u8ACB\u8F38\u5165" }, noMatch: { noMatchStr1: "\u8ACB\u7D66\u6211" }, whatIs: { whatIsQuestionStr1: "\u4EC0\u9EBC\u662F", whatIsQuestionStr2: "?" }, iGotContinuation: { iGotContinuationStr1: "\u76EE\u524D\u70BA\u6B62\u6211\u6536\u5230", iGotContinuationStr2: "\u8ACB\u7E7C\u7E8C\u3002" } }, defaultCallFlowOne: "\u9810\u8A2D\u901A\u8A71\u6D41\u7A0B", errorHandlingAgentEscalationConfirmation: "\u60A8\u60F3\u548C\u9867\u554F\u8AC7\u8AC7\uFF0C\u662F\u55CE\uFF1F", errorHandlingAgentEscalationHandover: "\u8F49\u63A5\u4E2D\uFF0C\u8ACB\u7A0D\u5019\u3002", errorHandlingErrorEventHandover: "\u62B1\u6B49\uFF0C\u51FA\u73FE\u932F\u8AA4\u3002\u8ACB\u7A0D\u5019\uFF0C\u6211\u5C07\u70BA\u60A8\u8F49\u63A5\u5354\u52A9\u4EBA\u54E1\u3002", errorHandlingErrorEventHandoverVoiceSurvey: "\u5F88\u62B1\u6B49\uFF0C\u767C\u751F\u932F\u8AA4\u3002\u518D\u898B\u3002", errorHandlingRecognitionEventHandover: "\u62B1\u6B49\uFF0C\u6211\u7121\u6CD5\u77AD\u89E3\u60A8\u7684\u610F\u601D\u3002\u8ACB\u7A0D\u5019\uFF0C\u6211\u5C07\u70BA\u60A8\u8F49\u63A5\u5354\u52A9\u4EBA\u54E1\u3002", errorHandlingRecognitionEventHandoverVoiceSurvey: "\u5F88\u62B1\u6B49\uFF0C\u6211\u5F88\u96E3\u7406\u89E3\u60A8\u3002\u518D\u898B\u3002", errorHandlingTTS: "\u62B1\u6B49\uFF0C\u51FA\u73FE\u932F\u8AA4\u3002\u8ACB\u518D\u6B21\u5617\u8A66\u547C\u53EB\u3002", initialGreetingTTS: "\u60A8\u597D\uFF0C\u9019\u662F\u958B\u59CB\u554F\u5019\u3002", initialState: "\u521D\u59CB\u72C0\u614B", initialBotState: "\u9810\u8A2D Bot", initialDigitalBotState: "\u958B\u59CB\u554F\u5019", initialSurveyBotState: "\u8ABF\u67E5 Bot", intentConfirmation: "\u6211\u60F3\u60A8\u8981 %1$s\uFF0C\u662F\u55CE\uFF1F", mainMenu: "\u4E3B\u529F\u80FD\u8868", mainMenuTTS: "\u60A8\u76EE\u524D\u4F4D\u65BC\u4E3B\u529F\u80FD\u8868\uFF0C\u8ACB\u6309 9 \u65B7\u958B", mainTask: "\u4EFB\u52D9", settingsConfirmationNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6C92\u807D\u5230\u60A8\u8AAA\u4EC0\u9EBC\u3002\u8ACB\u8AAA\u662F\u6216\u5426\u3002", settingsConfirmationNoInputApologyDigitalBot: '\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F38\u5165\u3002\u8ACB\u8F38\u5165 "\u662F" \u6216 "\u5426"\u3002', settingsConfirmationNoMatchApology: "\u62B1\u6B49\uFF0C\u8ACB\u8AAA\u662F\u6216\u5426\u3002", settingsConfirmationNoMatchApologyDigitalBot: '\u5F88\u62B1\u6B49\uFF0C\u8ACB\u8F38\u5165 "\u662F" \u6216 "\u5426"\u3002', settingsNoInputApology: "\u62B1\u6B49\uFF0C\u6211\u6C92\u807D\u5230\u60A8\u8AAA\u4EC0\u9EBC\u3002", settingsNoInputApologyDigitalBot: "\u5F88\u62B1\u6B49\uFF0C\u6211\u6C92\u6709\u6536\u5230\u60A8\u7684\u4EFB\u4F55\u8F38\u5165\u3002", settingsEndOfSessionMessageDigitalBot: "\u6211\u6709\u4E00\u9663\u5B50\u6C92\u6709\u60A8\u7684\u6D88\u606F\u4E86\uFF0C\u6240\u4EE5\u6211\u8981\u95DC\u9589\u6B64\u804A\u5929\uFF0C\u82E5\u60A8\u518D\u6B21\u9700\u8981\u6211\u7684\u5354\u52A9\uFF0C\u8ACB\u8FD4\u56DE\u3002\u8B1D\u8B1D\u3002", settingsNoMatchApology: "\u62B1\u6B49\u3002", settingsNoToConfirmationApology: "\u662F\u6211\u7684\u932F\u3002", periodicStateName: "\u91CD\u8907\u72C0\u614B" }; + }, 87860(e2, t2, i2) { + const n2 = { "./cs-cz/builder.js": [55320, [5320]], "./de-de/builder.js": [73121, [3121]], "./en-us/builder.js": [39958, []], "./es-us/builder.js": [93996, [1615]], "./fr-ca/builder.js": [35979, [5979]], "./it-it/builder.js": [69425, [1806]], "./ja-jp/builder.js": [24206, [4206]], "./ko-kr/builder.js": [12188, [2188]], "./nb-no/builder.js": [33867, [6248]], "./nl-nl/builder.js": [22216, [9835]], "./pl-pl/builder.js": [21807, [1807]], "./pt-br/builder.js": [7983, [7983]], "./ru-ru/builder.js": [49989, [9989]], "./sv-se/builder.js": [46164, [6164]], "./tr-tr/builder.js": [33391, [3391]], "./zh-cn/builder.js": [23584, [3584]], "./zh-tw/builder.js": [56520, [6520]] }; + function o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; + }); + } catch (e4) { + return Promise.reject(e4); } - loadServerData(e3) { - this.bootStrapInfoProcessed = true; - const t3 = []; - s.default.each(e3.flowTypes, (e4, i4) => { - s.default.contains(a.flowTypes.flowTypesAll, i4) && e4.isAvailable && t3.push(i4); - }), o.__classPrivateFieldSet(this, r2, t3, "f"); - const i3 = []; - s.default.each(e3.flowTypesDeprecated, (e4, t4) => { - s.default.contains(a.flowTypes.flowTypesAll, t4) && e4.isAvailable && i3.push(t4); - }), this.setActionCategoryInfo(e3.categoryInfo), d.registerAction(this); + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 87860, e2.exports = o; + }, 97549(e2, t2, i2) { + const n2 = { "./cs-cz/countries.js": [52961, [2961]], "./de-de/countries.js": [99708, [9708]], "./en-us/countries.js": [79411, []], "./es-us/countries.js": [15302, [5302]], "./fr-ca/countries.js": [83242, [3242]], "./it-it/countries.js": [40652, [652]], "./ja-jp/countries.js": [19675, [9675]], "./ko-kr/countries.js": [64893, [4893]], "./nb-no/countries.js": [66497, [6497]], "./nl-nl/countries.js": [46074, [6074]], "./pl-pl/countries.js": [63926, [3926]], "./pt-br/countries.js": [50550, [550]], "./ru-ru/countries.js": [95832, [5832]], "./sv-se/countries.js": [10341, [341]], "./tr-tr/countries.js": [62806, [2806]], "./zh-cn/countries.js": [1657, [1657]], "./zh-tw/countries.js": [43057, [3057]] }; + function o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; + }); + } catch (e4) { + return Promise.reject(e4); } - passesAvailabilityCallback(e3, t3, i3) { - return !this.availabilityCallback || this.availabilityCallback(e3, t3, i3); + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 97549, e2.exports = o; + }, 78858(e2, t2, i2) { + const 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 o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; + }); + } catch (e4) { + return Promise.reject(e4); } - getTerminationInfo(e3) { - return this._terminationInfos[e3] || m.terminatesNone; + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 78858, e2.exports = o; + }, 46556(e2, t2, i2) { + const 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 o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; + }); + } catch (e4) { + return Promise.reject(e4); } - setTerminationForFlowTypes(e3, t3) { - s.default.each(e3, (e4) => { - this._terminationInfos[e4] = t3; + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 46556, e2.exports = o; + }, 23041(e2, t2, i2) { + const 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 o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; }); + } catch (e4) { + return Promise.reject(e4); } - setTermination(e3) { - this.setTerminationForFlowTypes(a.flowTypes.flowTypesAll, e3); + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 23041, e2.exports = o; + }, 44485(e2, t2, i2) { + const n2 = { "./cs-cz/isoLanguages.js": [23291, [3291]], "./de-de/isoLanguages.js": [79812, [9812]], "./en-us/isoLanguages.js": [92421, []], "./es-us/isoLanguages.js": [47790, [7790]], "./fr-ca/isoLanguages.js": [84285, [6666]], "./it-it/isoLanguages.js": [37332, [7332]], "./ja-jp/isoLanguages.js": [5581, [5581]], "./ko-kr/isoLanguages.js": [65935, [5935]], "./nb-no/isoLanguages.js": [59611, [9611]], "./nl-nl/isoLanguages.js": [90682, [682]], "./pl-pl/isoLanguages.js": [34366, [4366]], "./pt-br/isoLanguages.js": [54046, [4046]], "./ru-ru/isoLanguages.js": [33544, [3544]], "./sv-se/isoLanguages.js": [64951, [4951]], "./tr-tr/isoLanguages.js": [22366, [2366]], "./zh-cn/isoLanguages.js": [30515, [515]], "./zh-tw/isoLanguages.js": [95595, [5595]] }; + function o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; + }); + } catch (e4) { + return Promise.reject(e4); } - setActionClass(e3) { - this.actionClass = e3; + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 44485, e2.exports = o; + }, 91358(e2, t2, i2) { + const n2 = { "./cs-cz/resources.js": [23546, [3546]], "./de-de/resources.js": [791, [791]], "./en-us/resources.js": [12664, []], "./es-us/resources.js": [54581, [4581]], "./fr-ca/resources.js": [22609, [2609]], "./it-it/resources.js": [63271, [3271]], "./ja-jp/resources.js": [14080, [4080]], "./ko-kr/resources.js": [39838, [9838]], "./nb-no/resources.js": [75610, [5610]], "./nl-nl/resources.js": [90209, [209]], "./pl-pl/resources.js": [72421, [2421]], "./pt-br/resources.js": [88421, [8421]], "./ru-ru/resources.js": [5931, [5931]], "./sv-se/resources.js": [75238, [5238]], "./tr-tr/resources.js": [14181, [4181]], "./zh-cn/resources.js": [75314, [5314]], "./zh-tw/resources.js": [5930, [5930]] }; + function o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; + }); + } catch (e4) { + return Promise.reject(e4); } - setActionCategoryInfo(e3) { - e3 || this.traceTopic.error("Null actionCategoryInfo passed to setActionCategoryInfo."); - 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")), d.registerActionIntoCategory(this); + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 91358, e2.exports = o; + }, 26349(e2, t2, i2) { + const n2 = { "./cs-cz/serverErrors.js": [66515, [6515]], "./de-de/serverErrors.js": [520, [520]], "./en-us/serverErrors.js": [70425, []], "./es-us/serverErrors.js": [26966, [6966]], "./fr-ca/serverErrors.js": [49154, [9154]], "./it-it/serverErrors.js": [1368, [1368]], "./ja-jp/serverErrors.js": [49425, [9425]], "./ko-kr/serverErrors.js": [89943, [9943]], "./nb-no/serverErrors.js": [11539, [1539]], "./nl-nl/serverErrors.js": [44946, [4946]], "./pl-pl/serverErrors.js": [13638, [3638]], "./pt-br/serverErrors.js": [62822, [2822]], "./ru-ru/serverErrors.js": [50860, [860]], "./sv-se/serverErrors.js": [91439, [1439]], "./tr-tr/serverErrors.js": [2278, [2278]], "./zh-cn/serverErrors.js": [44571, [4571]], "./zh-tw/serverErrors.js": [51203, [1203]] }; + function o(e3) { + try { + if (!i2.o(n2, e3)) return Promise.resolve().then(() => { + const t4 = new Error("Cannot find module '" + e3 + "'"); + throw t4.code = "MODULE_NOT_FOUND", t4; + }); + } catch (e4) { + return Promise.reject(e4); } - getWrappedYamlName(e3, t3) { - 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"; - i3 = "menu" + i3; - } else i3 = i3.charAt(0).toLowerCase() + i3.slice(1); - return i3; + const t3 = n2[e3], o2 = t3[0]; + return Promise.all(t3[1].map(i2.e)).then(() => i2(o2)); + } + o.keys = () => Object.keys(n2), o.id = 26349, e2.exports = o; + }, 4444(e2, t2, i2) { + const n2 = { "./ar-ae/templates": 5700, "./ar-eg/templates": 94434, "./ar-sa/templates": 61510, "./ca-es/templates": 8895, "./cs-cz/templates": 61044, "./da-dk/templates": 44379, "./de-ch/templates": 58873, "./de-de/templates": 69549, "./el-gr/templates": 91709, "./en-au/templates": 49108, "./en-gb/templates": 16435, "./en-us/templates": 6142, "./es-es/templates": 88439, "./es-mx/templates": 73374, "./es-us/templates": 8487, "./eu-es/templates": 94681, "./fi-fi/templates": 66593, "./fil-ph/templates": 5284, "./fr-be/templates": 79186, "./fr-ca/templates": 52179, "./fr-fr/templates": 86875, "./he-il/templates": 92475, "./hi-in/templates": 46377, "./hu-hu/templates": 79133, "./it-it/templates": 48093, "./ja-jp/templates": 55958, "./ko-kr/templates": 82984, "./ms-my/templates": 15897, "./nb-no/templates": 35476, "./nl-be/templates": 55836, "./nl-nl/templates": 68227, "./pl-pl/templates": 3863, "./pt-br/templates": 74423, "./pt-pt/templates": 40551, "./ru-ru/templates": 76641, "./sv-se/templates": 18272, "./th-th/templates": 10135, "./tr-tr/templates": 33943, "./uk-ua/templates": 41593, "./vi-vn/templates": 26928, "./zh-cn/templates": 93500, "./zh-hk/templates": 14372, "./zh-tw/templates": 6500 }; + function o(e3) { + const t3 = r(e3); + return i2(t3); + } + function r(e3) { + if (!i2.o(n2, e3)) { + const t3 = new Error("Cannot find module '" + e3 + "'"); + throw t3.code = "MODULE_NOT_FOUND", t3; } + return n2[e3]; } - 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 = 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) { - return S(e3, true); - }, t2.getUserPromptContainers = function(e3) { - return m(e3, false); - }, t2.getUserPromptContainers_ignoreBadResponse = function(e3) { - return S(e3, false); - }, 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); - return i3.content({ name: e3, description: t3 || "" }), i3.call(); + o.keys = function() { + return Object.keys(n2); + }, o.resolve = r, e2.exports = o, o.id = 4444; + }, 33089(e2, t2, i2) { + const n2 = { "./ar-ae/templates.js": 5700, "./ar-eg/templates.js": 94434, "./ar-sa/templates.js": 61510, "./ca-es/templates.js": 8895, "./cs-cz/templates.js": 61044, "./da-dk/templates.js": 44379, "./de-ch/templates.js": 58873, "./de-de/templates.js": 69549, "./el-gr/templates.js": 91709, "./en-au/templates.js": 49108, "./en-gb/templates.js": 16435, "./en-us/templates.js": 6142, "./es-es/templates.js": 88439, "./es-mx/templates.js": 73374, "./es-us/templates.js": 8487, "./eu-es/templates.js": 94681, "./fi-fi/templates.js": 66593, "./fil-ph/templates.js": 5284, "./fr-be/templates.js": 79186, "./fr-ca/templates.js": 52179, "./fr-fr/templates.js": 86875, "./he-il/templates.js": 92475, "./hi-in/templates.js": 46377, "./hu-hu/templates.js": 79133, "./it-it/templates.js": 48093, "./ja-jp/templates.js": 55958, "./ko-kr/templates.js": 82984, "./ms-my/templates.js": 15897, "./nb-no/templates.js": 35476, "./nl-be/templates.js": 55836, "./nl-nl/templates.js": 68227, "./pl-pl/templates.js": 3863, "./pt-br/templates.js": 74423, "./pt-pt/templates.js": 40551, "./ru-ru/templates.js": 76641, "./sv-se/templates.js": 18272, "./th-th/templates.js": 10135, "./tr-tr/templates.js": 33943, "./uk-ua/templates.js": 41593, "./vi-vn/templates.js": 26928, "./zh-cn/templates.js": 93500, "./zh-hk/templates.js": 14372, "./zh-tw/templates.js": 6500 }; + function o(e3) { + const t3 = r(e3); + return i2(t3); } - function a(e3, t3, i3, o2, a2) { - const s2 = a2 ? n2.default.build(r2.createSystemPromptResource) : n2.default.build(r2.createPromptResource), l2 = { language: t3, ttsString: i3 || "", text: o2 || "" }; - return s2.content(l2).templateParams({ promptId: e3 }), s2.call(); + function r(e3) { + if (!i2.o(n2, e3)) { + const t3 = new Error("Cannot find module '" + e3 + "'"); + throw t3.code = "MODULE_NOT_FOUND", t3; + } + return n2[e3]; } - function s(e3) { - const t3 = n2.default.build(r2.deletePromptContainer); - return t3.templateParams({ id: e3 }), t3.queryParams({ allResources: true }), t3.call(); + o.keys = function() { + return Object.keys(n2); + }, o.resolve = r, e2.exports = o, o.id = 33089; + }, 15086(e2) { + "use strict"; + e2.exports = require_ws(); + }, 90290(e2) { + "use strict"; + e2.exports = require("async_hooks"); + }, 35317(e2) { + "use strict"; + e2.exports = require("child_process"); + }, 29907(e2) { + "use strict"; + e2.exports = require("cluster"); + }, 76982(e2) { + "use strict"; + e2.exports = require("crypto"); + }, 24434(e2) { + "use strict"; + e2.exports = require("events"); + }, 79896(e2) { + "use strict"; + e2.exports = require("fs"); + }, 58611(e2) { + "use strict"; + e2.exports = require("http"); + }, 65692(e2) { + "use strict"; + e2.exports = require("https"); + }, 70857(e2) { + "use strict"; + e2.exports = require("os"); + }, 16928(e2) { + "use strict"; + e2.exports = require("path"); + }, 87016(e2) { + "use strict"; + e2.exports = require("url"); + }, 11493(e2) { + "use strict"; + e2.exports = require("v8"); + }, 29762(e2, t2, i2) { + "use strict"; + var n2 = i2(41827), o = i2(67359); + const r = o.styleTags({ String: o.tags.string, Number: o.tags.number, "True False": o.tags.bool, PropertyName: o.tags.propertyName, Null: o.tags.null, ",": o.tags.separator, "[ ]": o.tags.squareBracket, "{ }": o.tags.brace, LineComment: o.tags.lineComment }), a = n2.LRParser.deserialize({ version: 14, states: "%pOYQPOOO!PQPO'#CkO!WQPO'#CaQOQPOOOOQO'#Ch'#ChO!`QPO'#C{OOQO,59V,59VO!hQPO,59VO!mQQO'#CmO!uQQO'#CoOOQO'#Cz'#CzOOQO'#Cc'#CcO!}QPO'#CbO#SQPO'#CwOOQO,58{,58{O#[QPO,58{ObQPO'#CqO#aQPO,59gOOQO1G.q1G.qOOQO'#Cr'#CrO#iQQO'#CnO#qQQO,59XO#vQQO'#CpO$OQQO,59ZObQPO,58|O!ZQPO'#CsO$TQPO,59cOOQO1G.g1G.gOOQO,59],59]OOQO-E6o-E6oOOQO-E6p-E6pOOQO1G.s1G.sOOQO1G.u1G.uOOQO1G.h1G.hOOQO,59_,59_OOQO-E6q-E6q", stateData: "$b~OPOSjOS~OSQO^PO~OSQOWYOXYOYYOZYO^POlSOqWOtXO~O]UO~PbOR^OlZO~O``O]oX~O]bO~OrcOpbP~OrcOsdP~OmhO~O`iORkX~ORkO~O``O]oa~OrcOpbX~OpoO~OrcOsdX~OspO~O`iORka~OPrjr~", goto: "#QpPPPPPqy!PPPPPtPPqPt!Tt!W!Z!a!kPPP!qPP!t!}QROVYP`hQ]QRriT[QiReWRgXQaTRmaQdWQfXTndfQj]RsjR_QQTPQl`RqhRVP", nodeNames: "\u26A0 LineComment JsonText } { Object Property PropertyName True False Null Number String ] [ Array ItemSeparator ArchitectExpression ArchitectExpressionContent ArchitectLiteral ArchitectLiteralContent", maxTerm: 36, nodeProps: [["openedBy", 3, "{", 13, "["], ["closedBy", 4, "}", 14, "]"], ["isolate", -2, 7, 12, ""]], propSources: [r], skippedNodes: [0, 1], repeatNodeCount: 3, tokenData: "0O~RqOX#YXY#_YZ#_Z]#Y]^#_^p#Ypq#_qr#Yrs#fs|#Y|})m}!O)t!O!P+b!P!Q+j!Q![,Z![!],n!]!}#Y!}#O,u#O#P#Y#P#Q-U#Q#Y#Y#Y#Z-e#Z#b#Y#b#c.U#c#h#Y#h#i.o#i#o#Y#o#p/Y#p#q#Y#q#r/i#r;'S#Y;'S;=`/x<%lO#YQ#_OrQ~#fOrQj~R#korQpq%lqr%lrs'ps!c%l!c!}%l!}#O%l#O#P'u#P#T%l#T#o%l#o%W%l%W%o%l%o%p%l%p&a%l&a&b%l&b&j%l&j$IS%l$IS&Gh%l&Gh&Nv%l&Nv'(v%l'(v'+l%l'+l'.b%l'.b(3f%l(3f*5S%l*5S41d%l41d;'S%l;'S;=`)g<%l?&r%l?&r?1x%l?1x?HU%l?HU?M`%l?M`O%lP%oopq%lqr%lrs'ps!c%l!c!}%l!}#O%l#O#P'u#P#T%l#T#o%l#o%W%l%W%o%l%o%p%l%p&a%l&a&b%l&b&j%l&j$IS%l$IS&Gh%l&Gh&Nv%l&Nv'(v%l'(v'+l%l'+l'.b%l'.b(3f%l(3f*5S%l*5S41d%l41d;'S%l;'S;=`)g<%l?&r%l?&r?1x%l?1x?HU%l?HU?M`%l?M`O%lP'uOlPP'xXrs%l!P!Q%l#O#P%l#U#V%l#Y#Z%l#b#c%l#f#g%l#h#i%l#i#j(eP(hR!Q![(q!c!i(q#T#Z(qP(tR!Q![(}!c!i(}#T#Z(}P)QR!Q![)Z!c!i)Z#T#Z)ZP)^R!Q![%l!c!i%l#T#Z%lP)jP;=`<%l%lR)tO`PrQR)yQrQ!O!P*P!Q![+PP*SP!Q![*VP*[RZP!Q![*V!g!h*e#X#Y*eP*hR{|*q}!O*q!Q![*wP*tP!Q![*wP*|PZP!Q![*wP+USZP!O!P*P!Q![+P!g!h*e#X#Y*eR+gPrQ!Q![*V~+oPrQ!P!Q+r~+wSP~OY+rZ;'S+r;'S;=`,T<%lO+r~,WP;=`<%l+rR,bSZPrQ!O!P*P!Q![+P!g!h*e#X#Y*eR,uOmPrQR,|P^PrQ!}#O-PP-UOtPR-]P]PrQ#P#Q-`Q-eOsQR-jPrQ#T#U-mP-pP#`#a-sP-vP#g#h-yP-|P#X#Y.PP.UOXPR.ZPrQ#i#j.^P.aP#`#a.dP.gP#`#a.jP.oOYPR.tPrQ#f#g.wP.zP#i#j.}P/QP#X#Y/TP/YOWPR/aPSPrQ#o#p/dP/iOqPR/pPRPrQ#q#r/sQ/xOpQQ/{P;=`<%l#Y", tokenizers: [0, 1], topRules: { JsonText: [0, 2] }, tokenPrec: 151 }); + t2.parser = a; + }, 78495(e2, t2, i2) { + "use strict"; + var n2 = i2(41827), o = i2(67359); + const r = 68; + class a { + constructor(e3, t3, i3) { + this.parent = e3, this.depth = t3, this.type = i3, this.hash = (e3 ? e3.hash + e3.hash << 8 : 0) + t3 + (t3 << 4) + i3; + } } - function l(e3, t3) { - const i3 = n2.default.build(r2.deletePromptResource); - return i3.templateParams({ promptId: e3, language: t3 }), i3.call(); + function s(e3, t3) { + for (let i3 = 0, n3 = t3 - e3.pos - 1; ; n3--, i3++) { + let t4 = e3.peek(n3); + if (u(t4) || -1 == t4) return i3; + } } - function u(e3, t3, i3) { - const o2 = i3 ? n2.default.build(r2.revertSystemPromptResourceAudio) : n2.default.build(r2.clearUserPromptAudio); - return o2.templateParams({ promptId: e3, language: t3 }), o2.call(); + function l(e3) { + return 32 == e3 || 9 == e3; } - 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(); + function u(e3) { + return 10 == e3 || 13 == e3; } - 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 c(e3) { + return l(e3) || u(e3); } - function h(e3) { - const t3 = n2.default.build(d); - return t3.templateParams({ id: e3 }), t3.call(); + function d(e3) { + return e3 < 0 || c(e3); } - function m(e3, t3) { - const i3 = t3 ? n2.default.build(r2.getSystemPromptContainers) : n2.default.build(r2.getPromptContainers); - return i3.queryParams(e3), i3.call(); + 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) { + if (3 == t3) return new a(e3, s(n3, n3.pos), 1); + if (70 == t3 || 5 == t3) return new a(e3, s(n3, n3.pos), 2); + if (t3 == r) return e3.parent; + if (19 == t3 || 33 == t3) return new a(e3, 0, 3); + if (13 == t3 && 4 == e3.type) return e3.parent; + if (47 == t3) { + let t4 = /[1-9]/.exec(n3.read(n3.pos, i3.pos)); + if (t4) return new a(e3, e3.depth + +t4[0], 4); + } + 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 && d(e3.peek(i3 + 3)); } + const h = new n2.ExternalTokenizer((e3, t3) => { + if (-1 == e3.next && t3.canShift(69)) return e3.acceptToken(69); + let i3 = e3.peek(-1); + if ((u(i3) || i3 < 0) && 3 != t3.context.type) { + if (_(e3, 45)) { + if (!t3.canShift(r)) return e3.acceptToken(1, 3); + e3.acceptToken(r); + } + if (_(e3, 46)) { + if (!t3.canShift(r)) return e3.acceptToken(2, 3); + e3.acceptToken(r); + } + 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 && d(e3.peek(1))) || -1 == e3.next || u(e3.next) || 35 == e3.next || e3.acceptToken(r, -i4); + } + }, { contextual: true }), m = new n2.ExternalTokenizer((e3, t3) => { + 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)) { + if (e3.pos == i3) return; + e3.advance(); + } else if (33 == e3.next) T(e3); + else { + if (38 != e3.next) { + if (42 == e3.next) { + y(e3); + break; + } + if (39 == e3.next || 34 == e3.next) { + if (S(e3, true)) break; + return; + } + if (91 == e3.next || 123 == e3.next) { + if (!A(e3)) return; + break; + } + I(e3, true, false, 0); + break; + } + y(e3); + } + for (; l(e3.next); ) e3.advance(); + if (58 == e3.next) { + if (e3.pos == i3 && t3.canShift(29)) return; + 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(), d(e3.next) && e3.acceptToken(7)); + }, { contextual: true }); function g(e3) { - const t3 = n2.default.build(r2.getPromptContainers); - return t3.queryParams({ pageSize: e3.length, name: e3 }), t3.call(); - } - function f(e3) { - const t3 = n2.default.build(r2.getSystemPromptContainers); - return t3.queryParams({ pageSize: e3.length, name: e3 }), t3.call(); - } - _.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); - return i3.queryParams(e3.getSearchQueryParams()), i3.call(); + return e3 >= 48 && e3 <= 57 || e3 >= 97 && e3 <= 102 || e3 >= 65 && e3 <= 70; } - function A(e3, t3, i3) { - const o2 = i3 ? n2.default.build(r2.getSystemPromptResource) : n2.default.build(r2.getPromptResource); - return o2.templateParams({ promptId: e3, language: t3 }), o2.call(); + function f(e3, t3) { + return 37 == e3.next ? (e3.advance(), g(e3.next) && e3.advance(), g(e3.next) && e3.advance(), true) : !!((i3 = e3.next) > 32 && i3 < 127 && 34 != i3 && 37 != i3 && 44 != i3 && 60 != i3 && 62 != i3 && 92 != i3 && 94 != i3 && 96 != i3 && 123 != i3 && 124 != i3 && 125 != i3 || t3 && 44 == e3.next) && (e3.advance(), true); + var i3; } - function N(e3, t3, i3) { - const o2 = i3 ? n2.default.build(r2.getSystemPromptResources) : n2.default.build(r2.getPromptResources); - return o2.templateParams({ promptId: e3 }).queryParams(t3), o2.call(); + function T(e3) { + if (e3.advance(), 60 == e3.next) { + for (e3.advance(); ; ) if (!f(e3, true)) { + 62 == e3.next && e3.advance(); + break; + } + } else for (; f(e3, false); ) ; } - 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 y(e3) { + for (e3.advance(); !d(e3.next) && "f" != N(e3.tag); ) e3.advance(); } - 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 S(e3, t3) { + let i3 = e3.next, n3 = false, o2 = e3.pos; + for (e3.advance(); ; ) { + let r2 = e3.next; + if (r2 < 0) break; + if (e3.advance(), r2 == i3) { + if (39 != r2) break; + if (39 != e3.next) break; + e3.advance(); + } else if (92 == r2 && 34 == i3) e3.next >= 0 && e3.advance(); + else if (u(r2)) { + if (t3) return false; + n3 = true; + } else if (t3 && e3.pos >= o2 + 1024) return false; + } + return !n3; } - 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(); + function A(e3) { + for (let t3 = [], i3 = e3.pos + 1024; ; ) if (91 == e3.next || 123 == e3.next) t3.push(e3.next), e3.advance(); + else if (39 == e3.next || 34 == e3.next) { + if (!S(e3, true)) return false; + } else if (93 == e3.next || 125 == e3.next) { + if (t3[t3.length - 1] != e3.next - 2) return false; + if (t3.pop(), e3.advance(), !t3.length) return true; + } else { + if (e3.next < 0 || e3.pos > i3 || u(e3.next)) return false; + e3.advance(); + } } - function C(e3, t3, i3) { - const o2 = e3 ? n2.default.build(r2.getSystemPromptUploadPresignedUrl) : n2.default.build(r2.getUserPromptUploadPresignedUrl); - return o2.templateParams({ promptId: t3, language: i3 }), o2.call(); + function N(e3) { + return e3 < 33 ? "u" : e3 > 125 ? "s" : "iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"[e3 - 33]; } - function b(e3, t3) { - 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(); + function v(e3, t3) { + let i3 = N(e3); + return "u" != i3 && !(t3 && "f" == i3); } - 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 c extends s.ExpressionTypeDecimalOptions { - static create(e3, t3) { - return new this(t3).invokeOptionsCallback(e3); - } - constructor(e3) { - super(e3), this._currencyFacets = new o.default(), this._currencyAmountOnly = false, (0, a.makeUnenumerable)(this, "_currencyFacets"), (0, a.makeUnenumerable)(this, "_currencyAmountOnly"); - } - get facets() { - return this._currencyFacets; - } - _setFromOptions(e3) { - super._setFromOptions(e3), this._setOptionIfSet(this.setCurrencyAmountOnly, e3._currencyAmountOnly); - } - get currencyAmountOnly() { - return this._currencyAmountOnly; - } - set currencyAmountOnly(e3) { - this._currencyAmountOnly = u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "currencyAmountOnly", "value")); + function I(e3, t3, i3, n3) { + if ("s" != N(e3.next) && (63 != e3.next && 58 != e3.next && 45 != e3.next || !v(e3.peek(1), i3))) return false; + e3.advance(); + let o2 = e3.pos; + for (; ; ) { + let r2 = e3.next, a2 = 0, s2 = n3 + 1; + for (; c(r2); ) { + if (u(r2)) { + if (t3) return false; + s2 = 0; + } else s2++; + r2 = e3.peek(++a2); + } + if (!(r2 >= 0 && (58 == r2 ? v(e3.peek(a2 + 1), i3) : 35 == r2 ? 32 != e3.peek(a2 - 1) : v(r2, i3))) || !i3 && s2 <= n3 || 0 == s2 && !i3 && (_(e3, 45, a2) || _(e3, 46, a2))) break; + if (t3 && "f" == N(r2)) return false; + for (let t4 = a2; t4 >= 0; t4--) e3.advance(); + if (t3 && e3.pos > o2 + 1024) return false; } - setCurrencyAmountOnly(e3) { - return this.currencyAmountOnly = e3, this; + return true; + } + const C = new n2.ExternalTokenizer((e3, t3) => { + if (33 == e3.next) T(e3), e3.acceptToken(12); + 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)) : I(e3, false, 3 == t3.context.type, t3.context.depth) && e3.acceptToken(8); + }), O = new n2.ExternalTokenizer((e3, t3) => { + let i3 = 4 == t3.context.type ? t3.context.depth : -1, n3 = e3.pos; + e: for (; ; ) { + let o2 = 0, r2 = e3.next; + for (; 32 == r2; ) r2 = e3.peek(++o2); + if (!o2 && (_(e3, 45, o2) || _(e3, 46, o2))) break; + if (!u(r2) && (i3 < 0 && (i3 = Math.max(t3.context.depth + 1, o2)), o2 < i3)) break; + for (; ; ) { + if (e3.next < 0) break e; + let t4 = u(e3.next); + if (e3.advance(), t4) continue e; + n3 = e3.pos; + } } - set facets(e3) { - this._currencyFacets = u.ParameterValidator.expectTrue(e3 && true === e3.isCurrencyFacets, e3, "CurrencyFacets", () => l.ParameterInfo.createPropertySet(this.className, "facets", "value")); + e3.acceptTokenTo(13, n3); + }), b = o.styleTags({ DirectiveName: o.tags.keyword, DirectiveContent: o.tags.attributeValue, "DirectiveEnd DocEnd": o.tags.meta, QuotedLiteral: o.tags.string, BlockLiteralHeader: o.tags.special(o.tags.string), BlockLiteralContent: o.tags.content, Literal: o.tags.content, "Key/Literal Key/QuotedLiteral": o.tags.definition(o.tags.propertyName), "Anchor Alias": o.tags.labelName, Tag: o.tags.typeName, Comment: o.tags.lineComment, ": , -": o.tags.separator, "?": o.tags.punctuation, "[ ]": o.tags.squareBracket, "{ }": o.tags.brace }), E = 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: " { + throw new Error("This node type doesn't define a deserialize function"); + }); } - get isExpressionTypeCurrencyOptions() { - return true; + add(e3) { + if (this.perNode) throw new RangeError("Can't add per-node props to node types"); + return "function" != typeof e3 && (e3 = l.match(e3)), (t3) => { + let i3 = e3(t3); + return void 0 === i3 ? null : [this, i3]; + }; } } - 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), 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 d.externalAuthorizations.authStrings.promptsSystemView; - } - get dependencyType() { - return _.SystemPrompt; + r.closedBy = new r({ deserialize: (e3) => e3.split(" ") }), r.openedBy = new r({ deserialize: (e3) => e3.split(" ") }), r.group = new r({ deserialize: (e3) => e3.split(" ") }), r.isolate = new r({ deserialize: (e3) => { + if (e3 && "rtl" != e3 && "ltr" != e3 && "auto" != e3) throw new RangeError("Invalid value for isolate: " + e3); + return e3 || "auto"; + } }), r.contextHash = new r({ perNode: true }), r.lookAhead = new r({ perNode: true }), r.mounted = new r({ perNode: true }); + class a { + constructor(e3, t3, i3) { + this.tree = e3, this.overlay = t3, this.parser = i3; } - constructor(e3, t3) { - super(), this.topic = (0, u.getTopic)("systemPromptListManager"), this.apiCallList = a.getSystemPromptContainers_ignoreBadResponse, this.apiCallSingle = a.getSystemPromptContainer_ignoreBadResponse, this.className = "SystemPromptListManager", this.dependencyContext = null, this.filterNames = [], this.supportedLanguages = null, this.isPromptManager = true, this.knownEmptySearches = [], e3 && (this.filterNames = e3), t3 && (this.supportedLanguages = t3), o.serviceListen(o.promptResourceDeleted, (e4) => { - e4.isSystem && this.addItem(e4._model, true); - }), o.serviceListen(o.cleanUpFlow, (e4) => { - r2.default.each(this.items, (t4) => t4.removeUsageForFlow(e4)); - }), this._initialize(); + static get(e3) { + return e3 && e3.props && e3.props[r.mounted.id]; } - _createItemViewModel(e3) { - return new c.default(e3, true); + } + const s = /* @__PURE__ */ Object.create(null); + class l { + constructor(e3, t3, i3, n3 = 0) { + this.name = e3, this.props = t3, this.id = i3, this.flags = n3; } - getBulkPromptContainers(e3) { - return a.getBulkSystemPromptContainers(e3).then((e4) => { - r2.default.each(e4.entities, (e5) => { - this.addItem(e5, true); - }); - }); + static define(e3) { + let t3 = e3.props && e3.props.length ? /* @__PURE__ */ Object.create(null) : s, i3 = (e3.top ? 1 : 0) | (e3.skipped ? 2 : 0) | (e3.error ? 4 : 0) | (null == e3.name ? 8 : 0), n3 = new l(e3.name || "", t3, e3.id, i3); + if (e3.props) { + for (let i4 of e3.props) if (Array.isArray(i4) || (i4 = i4(n3)), i4) { + if (i4[0].perNode) throw new RangeError("Can't store a per-node prop on a node type"); + t3[i4[0].id] = i4[1]; + } + } + return n3; } - getItemByName(e3) { - if (!e3) return null; - if (s.hasUserPromptPrefix(e3)) return null; - const t3 = s.removePrefix(e3).toLowerCase(); - return r2.default.find(this.items, (e4) => e4.lowerDisplayName === t3); + prop(e3) { + return this.props[e3.id]; } - getGroupForItem(e3) { - if ((e3 = e3.isPromptContainer ? e3 : this.getItem(e3.id)) && e3.isSystem) return Object.assign(Object.assign({}, h), { audioPreview: this.audioPreview }); + get isTop() { + return (1 & this.flags) > 0; } - promptHasAudioForLanguages(e3, t3) { - return this.getOrFetchItem(t3).then((t4) => { - let i3, n3 = true; - if (!t4) return false; - const o2 = e3.languages.supportedLanguages; - return r2.default.each(o2, (e4) => { - i3 = e4.toLowerCase(); - const o3 = t4.getResource(i3); - o3 && !r2.default.isNullOrUndefined(o3.audioLength) && 0 !== o3.audioLength || (n3 = false); - }), n3; - }); + get isSkipped() { + return (2 & this.flags) > 0; } - refreshSinglePrompt(e3) { - return a.getSystemPromptContainer(e3).then((e4) => { - const t3 = this._createItemViewModel(e4); - return this.items[e4.id] && (t3.transferUsagesFrom(this.items[e4.id]), this.items[e4.id] = t3), t3; - }); + get isError() { + return (4 & this.flags) > 0; } - removeItemWithName(e3) { - const t3 = this.getItemByName(e3); - t3 && delete this.items[t3.id]; + get isAnonymous() { + return (8 & this.flags) > 0; } - } - t2.SystemPromptListManager = m, t2.systemPromptListManager = new m(); - }, 98009: (e2, t2, i2) => { - const n2 = i2(75458), r2 = i2(90807), { dataTableLookupActionType: o } = i2(30801), a = i2(7401); - function s() { - Object.defineProperties(this, { _lookupKeyValue: { writable: true }, _outputs: { writable: true } }), this.datatableId = void 0, this.datatableName = void 0, s.baseConstructor.apply(this, arguments); - } - n2.extend(s, o, true), Object.defineProperties(s.prototype, { lookupKeyValue: { enumerable: true, get: function() { - return this._lookupKeyValue; - }, set: function(e3) { - this._lookupKeyValue = this.reviveItem(e3, a); - } }, outputs: { enumerable: true, get: function() { - return this._outputs; - }, set: function(e3) { - this._outputs = this.reviveArray(e3, r2); - } }, pasteReIdOrRename: { value: function(e3) { - s._super.pasteReIdOrRename.apply(this, arguments), this.lookupKeyValue.pasteReIdOrRename(e3), this.outputs.forEach((t3) => t3.pasteReIdOrRename(e3)); - } }, pasteResolveOldToNewValues: { value: function(e3) { - s._super.pasteResolveOldToNewValues.apply(this, arguments), this.lookupKeyValue.pasteResolveOldToNewValues(e3), this.outputs.forEach((t3) => t3.pasteResolveOldToNewValues(e3)); - } } }), e2.exports = s; - }, 98032: function(e2, t2, i2) { - "use strict"; - var n2 = this && this.__read || function(e3, t3) { - var i3 = "function" == typeof Symbol && e3[Symbol.iterator]; - if (!i3) return e3; - var n3, r3, o2 = i3.call(e3), a = []; - try { - for (; (void 0 === t3 || t3-- > 0) && !(n3 = o2.next()).done; ) a.push(n3.value); - } catch (e4) { - r3 = { error: e4 }; - } finally { - try { - n3 && !n3.done && (i3 = o2.return) && i3.call(o2); - } finally { - if (r3) throw r3.error; + is(e3) { + if ("string" == typeof e3) { + if (this.name == e3) return true; + let t3 = this.prop(r.group); + return !!t3 && t3.indexOf(e3) > -1; } + return this.id == e3; } - return a; - }, r2 = this && this.__spreadArray || function(e3, t3) { - for (var i3 = 0, n3 = t3.length, r3 = e3.length; i3 < n3; i3++, r3++) e3[r3] = t3[i3]; - return e3; - }; - Object.defineProperty(t2, "__esModule", { value: true }), t2.concatWith = void 0; - var o = i2(96328); - t2.concatWith = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return o.concat.apply(void 0, r2([], n2(e3))); - }; - }, 98046: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(1735)), r2 = i2(19596); - class o extends r2.DataContract { - constructor(e3) { - super(e3), this.entities = this.reviveArray(e3, n2.default); + static match(e3) { + let t3 = /* @__PURE__ */ Object.create(null); + for (let i3 in e3) for (let n3 of i3.split(" ")) t3[n3] = e3[i3]; + return (e4) => { + for (let i3 = e4.prop(r.group), n3 = -1; n3 < (i3 ? i3.length : 0); n3++) { + let o2 = t3[n3 < 0 ? e4.name : i3[n3]]; + if (o2) return o2; + } + }; } } - t2.default = o; - }, 98088: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = i2(30801), o = n2.__importDefault(i2(54016)); - class a extends o.default { + l.none = new l("", /* @__PURE__ */ Object.create(null), 0, 8); + class u { constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.findDivisionsActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionFindDivisions() { - return true; + this.types = e3; + for (let t3 = 0; t3 < e3.length; t3++) if (e3[t3].id != t3) throw new RangeError("Node type ids should correspond to array positions when creating a node set"); } - get findResult() { - return this._findResult; + extend(...e3) { + let t3 = []; + for (let i3 of this.types) { + let n3 = null; + for (let t4 of e3) { + let e4 = t4(i3); + e4 && (n3 || (n3 = Object.assign({}, i3.props)), n3[e4[0].id] = e4[1]); + } + t3.push(n3 ? new l(i3.name, n3, i3.id, i3.flags) : i3); + } + return new u(t3); } } - t2.default = a; - }, 98099: (e2, t2, i2) => { - const n2 = i2(27727), { bridgeServerActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); - } - n2.extend(o, r2, true), e2.exports = o; - }, 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)), 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)); - } - _addFlowDefinition(e3) { - if (e3 && (e3.isFlowDefinition || this._flowDefinitions[e3.type])) return this._flowDefinitions[e3.type] = e3, e3; + 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 _ { + constructor(e3, t3, i3, n3, o2) { + if (this.type = e3, this.children = t3, this.positions = i3, this.length = n3, this.props = null, o2 && o2.length) { + this.props = /* @__PURE__ */ Object.create(null); + for (let [e4, t4] of o2) this.props["number" == typeof e4 ? e4 : e4.id] = t4; + } } - _createInitialFlowDefinitions() { - this._createBotFlowDefinition(h.flowTypes.flowTypeBot, N.flow.types.bot, ".i3BotFlow"), this._createCommonModuleDefinition(h.flowTypes.flowTypeCommonModule, N.flow.types.commonModule, ".i3CommonModuleFlow"), this._createBotFlowDefinition(h.flowTypes.flowTypeDigitalBot, N.flow.types.digitalBotFlow, ".i3DigitalBotFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeInboundCall, N.flow.types.inboundCall, ".i3InboundFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInboundEmail, N.flow.types.inboundEmail, ".i3InboundEmailFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInboundChat, N.flow.types.inboundChat, ".i3InboundChatFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInboundShortMessage, N.flow.types.inboundShortMessage, ".i3InboundMessage"), this._createCallFlowDefinition(h.flowTypes.flowTypeInQueueCall, N.flow.types.inQueueCall, ".i3InQueueFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInQueueEmail, N.flow.types.inQueueEmail, ".i3InQueueEmailFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeInQueueShortMessage, N.flow.types.inQueueShortMessage, ".i3InQueueMessageFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeOutboundCall, N.flow.types.outboundCall, ".i3OutboundFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeSecureCall, N.flow.types.secureCall, ".i3SecureCallFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeSurveyInvite, N.flow.types.surveyInviteWebPrefix, ".i3SurveyInviteFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeInboundCall, N.flow.types.inboundCall, ".i3InboundFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeEmailSend, N.emailSendFlow.emailSendFlowTypeDisplayName, ".i3EmailSendFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeWorkflow, N.flow.types.workflow, ".i3WorkFlow"), this._createAutomateFlowDefinition(h.flowTypes.flowTypeWorkitem, N.flow.types.workItem, ".i3WorkitemFlow"), this._createVoiceFlowDefinition(h.flowTypes.flowTypeVoice, N.flow.types.voiceFlow, ".i3VoiceFlow"), this._createVoiceSurveyFlowDefinition(h.flowTypes.flowTypeVoiceSurvey, N.flow.types.voiceSurveyFlow, ".i3VoiceSurveyFlow"), this._createCallFlowDefinition(h.flowTypes.flowTypeVoicemail, N.flow.types.voicemailFlow, ".i3VoicemailFlow"), T.default.each(h.flowTypes.flowTypesAll, (e3) => { - if (!this._flowDefinitions[e3]) throw `Bad programmer! You need to add a flow definition to the flow definition service initialization for the flow type '${e3}'`; - }); + toString() { + let e3 = a.get(this); + if (e3 && !e3.overlay) return e3.tree.toString(); + let t3 = ""; + for (let e4 of this.children) { + let i3 = e4.toString(); + i3 && (t3 && (t3 += ","), t3 += i3); + } + return this.type.name ? (/\W/.test(this.type.name) && !this.type.isError ? JSON.stringify(this.type.name) : this.type.name) + (t3.length ? "(" + t3 + ")" : "") : t3; } - _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(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))); + cursor(e3 = 0) { + return new O(this.topNode, e3); } - _flowTypeSupportsMenus(e3) { - return h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall, h.flowTypes.flowTypeSecureCall, h.flowTypes.flowTypeVoicemail); + cursorAt(e3, t3 = 0, i3 = 0) { + let n3 = c.get(this) || this.topNode, o2 = new O(n3); + return o2.moveTo(e3, t3), c.set(this, o2._tree), o2; } - _createCallFlowDefinition(e3, t3, i3) { - 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))); + get topNode() { + return new y(this, 0, 0, null); } - _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(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)); + resolve(e3, t3 = 0) { + let i3 = f(c.get(this) || this.topNode, e3, t3, false); + return c.set(this, i3), i3; } - _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(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)); + resolveInner(e3, t3 = 0) { + let i3 = f(d.get(this) || this.topNode, e3, t3, true); + return d.set(this, i3), i3; } - _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(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)); + resolveStack(e3, t3 = 0) { + return (function(e4, t4, i3) { + let n3 = e4.resolveInner(t4, i3), o2 = null; + for (let e5 = n3 instanceof y ? n3 : n3.context.parent; e5; e5 = e5.parent) if (e5.index < 0) { + let r2 = e5.parent; + (o2 || (o2 = [n3])).push(r2.resolve(t4, i3)), e5 = r2; + } else { + let r2 = a.get(e5.tree); + if (r2 && r2.overlay && r2.overlay[0].from <= t4 && r2.overlay[r2.overlay.length - 1].to >= t4) { + let a2 = new y(r2.tree, r2.overlay[0].from + e5.from, -1, e5); + (o2 || (o2 = [n3])).push(f(a2, t4, i3, false)); + } + } + return o2 ? I(o2) : n3; + })(this, e3, t3); } - _createCommonModuleDefinition(e3, t3, i3) { - 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; - switch (i3 && (t3.push(f.default.commonCallVariables), t3.push(f.default.callFlowVariables)), (i3 || o2) && (t3.push(f.default.formatVariables), t3.push(f.default.languageVariables), t3.push(f.default.lookupVariables), t3.push(f.default.internalFlowVariables)), (i3 || n3) && t3.push(f.default.automateLookupVariables), r3 && (t3.push(f.default.dateOnlyAndTimeOnlySystemVariables), t3.push(f.default.formatVariables), t3.push(f.default.languageVariables), t3.push(f.default.nluBasedCommonFlowVariables)), this._flowTypeSupportsMenus(e3) && t3.push(f.default.menuVariables), e3 === h.flowTypes.flowTypeDigitalBot && t3.push(f.default.digitalBotFlowVariables), e3 === h.flowTypes.flowTypeBot && t3.push(f.default.botFlowVariables), e3) { - case h.flowTypes.flowTypeBot: - case h.flowTypes.flowTypeDigitalBot: - t3.push(f.default.nluBasedIntentVariables), t3.push(f.default.nluBasedKnowledgeVariables); - break; - case h.flowTypes.flowTypeEmailSend: - t3.push(f.default.emailSendFlowVariables); - break; - case h.flowTypes.flowTypeInboundCall: - t3.push(f.default.uuiDataVariable, f.default.invocationDataVariable); - break; - case h.flowTypes.flowTypeOutboundCall: - t3.push(f.default.uuiDataVariable), t3.push(f.default.outboundCallFlowVariables); - break; - case h.flowTypes.flowTypeInQueueCall: - t3.push(f.default.uuiDataVariable), t3.push(f.default.inQueueCallFlowVariables); - break; - case h.flowTypes.flowTypeInQueueEmail: - t3.push(f.default.inboundEmailFlowVariables, f.default.inQueueEmailFlowVariables); - break; - case h.flowTypes.flowTypeInQueueShortMessage: - t3.push(f.default.inboundShortMessageFlowVariables, f.default.inQueueShortMessageFlowVariables); - break; - case h.flowTypes.flowTypeSecureCall: - t3.push(f.default.secureCallFlowVariables); - break; - case h.flowTypes.flowTypeInboundEmail: - t3.push(f.default.inboundEmailFlowVariables); - break; - case h.flowTypes.flowTypeInboundShortMessage: - t3.push(f.default.inboundShortMessageFlowVariables); - break; - case h.flowTypes.flowTypeInboundChat: - t3.push(f.default.inboundChatFlowVariables); - break; - case h.flowTypes.flowTypeSurveyInvite: - t3.push(f.default.surveyInviteFlowVariables); - break; - case h.flowTypes.flowTypeVoicemail: - t3.push(f.default.voicemailFlowVariables); - break; - case h.flowTypes.flowTypeWorkflow: - t3.push(f.default.workflowVariables); - break; - case h.flowTypes.flowTypeCommonModule: - t3.push(f.default.commonModuleVariables); - break; - case h.flowTypes.flowTypeWorkitem: - t3.push(f.default.workitemFlowVariables); - break; - case h.flowTypes.flowTypeVoice: - t3.push(f.default.commonCallVariables), t3.push(f.default.nluBasedIntentVariables), t3.push(f.default.nluBasedKnowledgeVariables); - break; - case h.flowTypes.flowTypeVoiceSurvey: - t3.push(f.default.voiceSurveyFlowVariables); + iterate(e3) { + let { enter: i3, leave: n3, from: o2 = 0, to: r2 = this.length } = e3, a2 = e3.mode || 0, s2 = (a2 & t2.IterMode.IncludeAnonymous) > 0; + for (let e4 = this.cursor(a2 | t2.IterMode.IncludeAnonymous); ; ) { + let t3 = false; + if (e4.from <= r2 && e4.to >= o2 && (!s2 && e4.type.isAnonymous || false !== i3(e4))) { + if (e4.firstChild()) continue; + t3 = true; + } + for (; t3 && n3 && (s2 || !e4.type.isAnonymous) && n3(e4), !e4.nextSibling(); ) { + if (!e4.parent()) return; + t3 = true; + } } - return [].concat(...t3); } - _flowTypeCategoryForAutomateFlowType(e3) { - return h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundEmail, h.flowTypes.flowTypeInboundChat, h.flowTypes.flowTypeInboundShortMessage) ? _.FlowTypeCategory.initial : e3 === h.flowTypes.flowTypeSurveyInvite ? _.FlowTypeCategory.postInteraction : _.FlowTypeCategory.supporting; + prop(e3) { + return e3.perNode ? this.props ? this.props[e3.id] : void 0 : this.type.prop(e3); } - _flowTypeCategoryForCallFlowType(e3) { - return h.flowTypes.isFlowType(e3, h.flowTypes.flowTypeInboundCall, h.flowTypes.flowTypeOutboundCall) ? _.FlowTypeCategory.initial : _.FlowTypeCategory.supporting; + get propValues() { + let e3 = []; + if (this.props) for (let t3 in this.props) e3.push([+t3, this.props[t3]]); + return e3; } - _processBootstrapDataLoaded(e3) { - var t3, i3; - T.default.each(e3.flowTypes, (e4) => { - var t4, i4, n3; - try { - const r3 = this._flowDefinitions[e4.id]; - if (r3) { - r3.isAvailable = e4.isAvailable, T.default.isBoolean(null === (t4 = e4.userCreatable) || void 0 === t4 ? void 0 : t4.isAvailable) && (r3.isCreatable = null === (i4 = e4.userCreatable) || void 0 === i4 ? void 0 : i4.isAvailable), T.default.isBoolean(null === (n3 = e4.supportsLanguages) || void 0 === n3 ? void 0 : n3.moreThanOneLanguage) && (r3.supportsMoreThanOneLanguage = e4.supportsLanguages.moreThanOneLanguage); - const o2 = e4.maxSize; - T.default.isActualNumber(o2) && Number.isFinite(o2) && o2 > 0 ? r3.setMaxFlowSize(o2) : u.error(`no valid max size specified for flow ${e4.id} - ${o2}`); + balance(e3 = {}) { + 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: o2, maxBufferLength: a2 = i2, reused: s2 = [], minRepeatType: l2 = o2.types.length } = e4, u2 = Array.isArray(n3) ? new h(n3, n3.length) : n3, c2 = o2.types, d2 = 0, p2 = 0; + function g2(e5, t4, i3, n4, h2, A3) { + let { id: N3, start: v3, end: I2, size: C2 } = u2, O2 = p2, b2 = d2; + for (; C2 < 0; ) { + if (u2.next(), -1 == C2) { + let t5 = s2[N3]; + return i3.push(t5), void n4.push(v3 - e5); + } + if (-3 == C2) return void (d2 = N3); + if (-4 == C2) return void (p2 = N3); + throw new RangeError(`Unrecognized record size: ${C2}`); } - } catch (t5) { - v.exception(t5, `error processing bootstrap flow type '${e4.id}' - this flow type may not be available when it should be.`); - } - }), 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(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 (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), d.isFeatureAvailable(S.default.botFlowsKnowledgeFeedback) && t4.setSupportsKnowledgeConfirmation(true); - } - 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); - }), 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 (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; - if (null == r3 ? void 0 : r3.length) for (const e4 of r3) n3.addFlowInvokingEvent(null == e4 ? void 0 : e4.id); - n3.setSupportsFlowOptimizationData(true); - } - T.default.each(this._flowDefinitions, (e4) => { - e4.isCallFlowType && e4._supportsReusableTasks && e4.setSupportsTaskInputVariables(true).setSupportsTaskOutputVariables(true).setSupportsTasksWithOutputPaths(true); - }), T.default.each(this._flowDefinitions, (e4) => { - switch (e4.type) { - case h.flowTypes.flowTypeInboundCall: - case h.flowTypes.flowTypeOutboundCall: - case h.flowTypes.flowTypeSecureCall: - case h.flowTypes.flowTypeVoicemail: - e4.setSupportsDefaultSpeechSettings(true), e4.setSupportsDisableASR(true), e4.setSupportsCompanyDirectory(true); + let E2, w2, D2 = c2[N3], P2 = v3 - e5; + if (I2 - v3 <= a2 && (w2 = (function(e6, t5) { + let i4 = u2.fork(), n5 = 0, o3 = 0, r2 = 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) { + c3.size = n5, c3.start = o3, c3.skip = r2, r2 += 4, n5 += 4, i4.next(); + continue; + } + let u3 = i4.pos - e7; + if (e7 < 0 || u3 < a3 || i4.start < s3) break; + 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; + d3 += 4; + } else i4.id >= l2 && (d3 += 4); + i4.next(); + } + o3 = p3, n5 += e7, r2 += d3; + } + return (t5 < 0 || n5 == e6) && (c3.size = n5, c3.start = o3, c3.skip = r2), c3.size > 4 ? c3 : void 0; + })(u2.pos - t4, h2))) { + 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, I2 - w2.start, o2), P2 = w2.start - e5; + } else { + let e6 = u2.pos - C2; + u2.next(); + let t5 = [], i4 = [], n5 = N3 >= l2 ? N3 : -1, o3 = 0, s3 = I2; + for (; u2.pos > e6; ) n5 >= 0 && u2.id == n5 && u2.size >= 0 ? (u2.end <= s3 - a2 && (T2(t5, i4, v3, o3, u2.end, s3, n5, O2, b2), o3 = 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 && o3 > 0 && o3 < t5.length && T2(t5, i4, v3, o3, v3, s3, n5, O2, b2), t5.reverse(), i4.reverse(), n5 > -1 && o3 > 0) { + let e7 = /* @__PURE__ */ (function(e8, t6) { + return (i5, n6, o4) => { + let a3, s4, l3 = 0, u3 = i5.length - 1; + if (u3 >= 0 && (a3 = i5[u3]) instanceof _) { + if (!u3 && a3.type == e8 && a3.length == o4) return a3; + (s4 = a3.prop(r.lookAhead)) && (l3 = n6[u3] + a3.length + s4); + } + return y2(e8, i5, n6, o4, l3, t6); + }; + })(D2, b2); + E2 = R(D2, t5, i4, 0, t5.length, 0, I2 - v3, e7, e7); + } else E2 = y2(D2, t5, i4, I2 - v3, O2 - I2, b2); + } + i3.push(E2), n4.push(P2); } - }), T.default.each(this._flowDefinitions, (e4) => { - 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 = d.isFeatureAvailable(S.default.suppressCallRecordingsFeature); - break; - case h.flowTypes.flowTypeSecureCall: - e4.canSuppressCallRecordings = d.isFeatureAvailable(S.default.suppressCallRecordingsSecureCallFeature); + function f2(e5, t4, i3, n4) { + let r2 = [], s3 = 0, l3 = -1; + for (; u2.pos > t4; ) { + let { id: e6, start: t5, end: i4, size: n5 } = u2; + if (n5 > 4) u2.next(); + else { + if (l3 > -1 && t5 < l3) break; + l3 < 0 && (l3 = i4 - a2), r2.push(e6, t5, i4), s3++, u2.next(); + } + } + if (s3) { + let t5 = new Uint16Array(4 * s3), a3 = r2[r2.length - 2]; + for (let e6 = r2.length - 3, i4 = 0; e6 >= 0; e6 -= 3) t5[i4++] = r2[e6], t5[i4++] = r2[e6 + 1] - a3, t5[i4++] = r2[e6 + 2] - a3, t5[i4++] = i4; + i3.push(new m(t5, r2[2] - a3, o2)), n4.push(a3 - e5); + } } - }), this._flowDefinitions[h.flowTypes.flowTypeVoice].setCanSuppressCallRecordings(true), 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 = d.isFeatureAvailable(S.default.orgAvailabilityGrammars); + function T2(e5, t4, i3, n4, r2, a3, s3, l3, u3) { + let c3 = [], d3 = []; + for (; e5.length > n4; ) c3.push(e5.pop()), d3.push(t4.pop() + i3 - r2); + e5.push(y2(o2.types[s3], c3, d3, a3 - r2, l3 - a3, u3)), t4.push(r2 - i3); } - }), this._isInitialized = true, T.default.each(this._flowDefinitions, (e4) => { - e4.isInitialized = true; - }), T.default.each(h.flowTypes.flowTypesAll, (t4) => { - var i4, n3, r3, o2; - if (!this._flowDefinitions[t4].supportsNlu) return; - let a2 = ["en-au", "en-gb", "en-us"]; - const s2 = null === (i4 = e3.featureSupport.naturalLanguageUnderstanding) || void 0 === i4 ? void 0 : i4.flowTypesToEngines; - if (T.default.isObject(s2)) { - const e4 = s2[t4 !== h.flowTypes.flowTypeVoice ? t4 : h.flowTypes.flowTypeBot]; - if (T.default.isObject(e4)) { - const t5 = {}; - T.default.each(e4, (e5, i5) => { - t5[i5] = true; - }), a2 = T.default.keys(t5) || []; + function y2(e5, t4, i3, n4, o3, a3, s3) { + if (a3) { + let e6 = [r.contextHash, a3]; + s3 = s3 ? [e6].concat(s3) : [e6]; } - } else if (null === (o2 = null === (r3 = null === (n3 = e3.featureSupport) || void 0 === n3 ? void 0 : n3.naturalLanguageUnderstanding) || void 0 === r3 ? void 0 : r3.supportedLanguages) || void 0 === o2 ? void 0 : o2.length) { - const t5 = T.default.pluck(e3.featureSupport.naturalLanguageUnderstanding.supportedLanguages, "language"); - t5.length && (a2 = t5); + if (o3 > 25) { + let e6 = [r.lookAhead, o3]; + s3 = s3 ? [e6].concat(s3) : [e6]; + } + return new _(e5, t4, i3, n4, s3); } - this._flowDefinitions[t4].setAvailableLanguageTags(a2); - }), 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)); + function S2(e5, t4, i3) { + let { id: n4, start: o3, end: r2, size: a3 } = u2; + if (u2.next(), a3 >= 0 && n4 < l2) { + let s3 = i3; + if (a3 > 4) { + let n5 = u2.pos - (a3 - 4); + for (; u2.pos > n5; ) i3 = S2(e5, t4, i3); + } + t4[--i3] = s3, t4[--i3] = r2 - e5, t4[--i3] = o3 - e5, t4[--i3] = 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 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); + } + } + _.empty = new _(l.none, [], [], 0); + class h { + constructor(e3, t3) { + this.buffer = e3, this.index = t3; + } + get id() { + return this.buffer[this.index - 4]; + } + get start() { + return this.buffer[this.index - 3]; + } + get end() { + return this.buffer[this.index - 2]; + } + get size() { + return this.buffer[this.index - 1]; + } + get pos() { + return this.index; } - _getFlowTypesForPropertyValue(e3, t3) { - const i3 = []; - return T.default.each(this._flowDefinitions, (n3) => { - n3[e3] === t3 && i3.push(n3.type); - }), i3; + next() { + this.index -= 4; } - areLanguageChangesImmediate(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.languageChangesAreImmediate; + fork() { + return new h(this.buffer, this.index); } - doesFlowTypeHaveDestinationFlowTypes(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.hasDestinationFlowTypes; + } + class m { + constructor(e3, t3, i3) { + this.buffer = e3, this.length = t3, this.set = i3; } - doesFlowTypeSupportErrorHandlingQueueRouting(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.supportsErrorHandlingQueueRouting; + get type() { + return l.none; } - doesFlowTypeSupportLanguages(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.supportsLanguages; + toString() { + let e3 = []; + for (let t3 = 0; t3 < this.buffer.length; ) e3.push(this.childString(t3)), t3 = this.buffer[t3 + 3]; + return e3.join(","); } - doesFlowTypeSupportDefaultLanguage(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.languagesSupportDefaultLanguage; + childString(e3) { + let t3 = this.buffer[e3], i3 = this.buffer[e3 + 3], n3 = this.set.types[t3], o2 = n3.name; + if (/\W/.test(o2) && !n3.isError && (o2 = JSON.stringify(o2)), i3 == (e3 += 4)) return o2; + let r2 = []; + for (; e3 < i3; ) r2.push(this.childString(e3)), e3 = this.buffer[e3 + 3]; + return o2 + "(" + r2.join(",") + ")"; + } + findChild(e3, t3, i3, n3, o2) { + let { buffer: r2 } = this, a2 = -1; + for (let s2 = e3; s2 != t3 && !(g(o2, n3, r2[s2 + 1], r2[s2 + 2]) && (a2 = s2, i3 > 0)); s2 = r2[s2 + 3]) ; + return a2; } - doesFlowTypeSupportAudio(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.supportsAudio; + slice(e3, t3, i3) { + let n3 = this.buffer, o2 = new Uint16Array(t3 - e3), r2 = 0; + for (let a2 = e3, s2 = 0; a2 < t3; ) { + o2[s2++] = n3[a2++], o2[s2++] = n3[a2++] - i3; + let t4 = o2[s2++] = n3[a2++] - i3; + o2[s2++] = n3[a2++] - e3, r2 = Math.max(r2, t4); + } + return new m(o2, r2, this.set); } - doesFlowTypeLanguagesSupportTtsAndAsrSettings(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.languagesSupportTtsAndAsrSettings; + } + function g(e3, t3, i3, n3) { + switch (e3) { + case -2: + return i3 < t3; + case -1: + return n3 >= t3 && i3 < t3; + case 0: + return i3 < t3 && n3 > t3; + case 1: + return i3 <= t3 && n3 > t3; + case 2: + return n3 > t3; + case 4: + return true; } - doesFlowTypeLanguagesSupportTtsAndAsrRuntime(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.languagesSupportTtsAndAsrRuntime; + } + function f(e3, i3, n3, o2) { + for (var r2; e3.from == e3.to || (n3 < 1 ? e3.from >= i3 : e3.from > i3) || (n3 > -1 ? e3.to <= i3 : e3.to < i3); ) { + let t3 = !o2 && e3 instanceof y && e3.index < 0 ? null : e3.parent; + if (!t3) return e3; + e3 = t3; } - doesFlowTypeSupportDefaultLanguageSkill(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.languagesSupportDefaultLanguageSkill; + let a2 = o2 ? 0 : t2.IterMode.IgnoreOverlays; + if (o2) for (let t3 = e3, o3 = t3.parent; o3; t3 = o3, o3 = t3.parent) t3 instanceof y && t3.index < 0 && (null === (r2 = o3.enter(i3, n3, a2)) || void 0 === r2 ? void 0 : r2.from) != t3.from && (e3 = o3); + for (; ; ) { + let t3 = e3.enter(i3, n3, a2); + if (!t3) return e3; + e3 = t3; } - doesFlowTypeSupportMoreThanOneLanguage(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.supportsMoreThanOneLanguage; + } + class T { + cursor(e3 = 0) { + return new O(this, e3); } - doesFlowTypeSupportLanguageAddRemove(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.supportsLanguageAddRemove; + getChild(e3, t3 = null, i3 = null) { + let n3 = S(this, e3, t3, i3); + return n3.length ? n3[0] : null; } - doesFlowTypeSupportVirtualAgent(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return !!t3 && t3.supportsVirtualAgent; + getChildren(e3, t3 = null, i3 = null) { + return S(this, e3, t3, i3); } - getFlowTypesThatSupportLanguages() { - let e3 = this._lookupCache.getFlowTypesThatSupportLanguages; - return void 0 === e3 && (e3 = this._getFlowTypesForPropertyValue("supportsLanguages", true), this._lookupCache.getFlowTypesThatSupportLanguages = e3), e3; + resolve(e3, t3 = 0) { + return f(this, e3, t3, false); } - getFlowTypesThatSupportMenus() { - let e3 = this._lookupCache.getFlowTypesThatSupportMenus; - return void 0 === e3 && (e3 = this._getFlowTypesForPropertyValue("supportsReusableMenus", true), this._lookupCache.getFlowTypesThatSupportMenus = e3), e3; + resolveInner(e3, t3 = 0) { + return f(this, e3, t3, true); } - getDefinitionForFlowType(e3) { - return this._flowDefinitions[e3]; + matchContext(e3) { + return A(this.parent, e3); } - getDependencyTypeForFlowType(e3) { - const t3 = this.getDefinitionForFlowType(e3); - if (t3) return t3.dependencyType; + enterUnfinishedNodesBefore(e3) { + let t3 = this.childBefore(e3), i3 = this; + for (; t3; ) { + let e4 = t3.lastChild; + if (!e4 || e4.to != t3.to) break; + e4.type.isError && e4.from == e4.to ? (i3 = t3, t3 = e4.prevSibling) : t3 = e4; + } + return i3; } - getFileExtensionForFlowType(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return t3 ? t3.fileExtension : ""; + get node() { + return this; } - iterateFlowTypeDefinitions(e3) { - if (e3) for (const t3 of Object.values(this._flowDefinitions)) try { - e3(t3); - } catch (e4) { + get next() { + return this.parent; + } + } + class y extends T { + constructor(e3, t3, i3, n3) { + super(), this._tree = e3, this.from = t3, this.index = i3, this._parent = n3; + } + get type() { + return this._tree.type; + } + get name() { + return this._tree.type.name; + } + get to() { + return this.from + this._tree.length; + } + nextChild(e3, i3, n3, o2, r2 = 0) { + for (let s2 = this; ; ) { + 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(o2, n3, d2, d2 + c3.length)) { + if (c3 instanceof m) { + if (r2 & t2.IterMode.ExcludeBuffers) continue; + let a2 = c3.findChild(0, c3.buffer.length, i3, n3 - d2, o2); + if (a2 > -1) return new v(new N(s2, c3, e3, d2), null, a2); + } else if (r2 & t2.IterMode.IncludeAnonymous || !c3.type.isAnonymous || b(c3)) { + let l3; + if (!(r2 & 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 r2 & t2.IterMode.IncludeAnonymous || !u3.type.isAnonymous ? u3 : u3.nextChild(i3 < 0 ? c3.children.length - 1 : 0, i3, n3, o2); + } + } + } + if (r2 & t2.IterMode.IncludeAnonymous || !s2.type.isAnonymous) return null; + if (e3 = s2.index >= 0 ? s2.index + i3 : i3 < 0 ? -1 : s2._parent._tree.children.length, s2 = s2._parent, !s2) return null; } } - getFlowTypeDisplayName(e3) { - const t3 = this.getDefinitionForFlowType(e3); - return t3 ? t3.typeDisplayName : (u.error(`flowDefinitionService::getFlowTypeDisplayName - Unknown flowType '${e3}'`), N.flow.types.inboundCall); + get firstChild() { + return this.nextChild(0, 1, 0, 4); } - getFlowTypeForDependencyType(e3) { - if (e3) return I[e3.toLowerCase()]; + get lastChild() { + return this.nextChild(this._tree.children.length - 1, -1, 0, 4); } - getFlowTypeIsAvailable(e3) { - this._isInitialized || u.error("Asking for a flow type's availability prior to the flow definition service having bootstrap data loaded. Bad!"); - const t3 = this.getDefinitionForFlowType(e3); - return t3 ? t3.isAvailable : (u.error("Asking for flow type availability for a flow type that cannot be found. Bad!"), false); + childAfter(e3) { + return this.nextChild(0, 1, e3, 2); } - getIsValidFlowType(e3) { - return !T.default.isUndefined(this.getDefinitionForFlowType(e3)); + childBefore(e3) { + return this.nextChild(this._tree.children.length - 1, -1, e3, -2); } - getOrgAndFlowTypeSupportAudio(e3) { - return e3 ? m.getOrgSupportsAudio() && this.doesFlowTypeSupportAudio(e3) : m.getOrgSupportsAudio(); + enter(e3, i3, n3 = 0) { + let o2; + if (!(n3 & t2.IterMode.IgnoreOverlays) && (o2 = a.get(this._tree)) && o2.overlay) { + let t3 = e3 - this.from; + for (let { from: e4, to: n4 } of o2.overlay) if ((i3 > 0 ? e4 <= t3 : e4 < t3) && (i3 < 0 ? n4 >= t3 : n4 > t3)) return new y(o2.tree, o2.overlay[0].from + this.from, -1, this); + } + return this.nextChild(0, 1, e3, i3, n3); } - get className() { - return "FlowDefinitionService"; + nextSignificantParent() { + let e3 = this; + for (; e3.type.isAnonymous && e3._parent; ) e3 = e3._parent; + return e3; } - dump() { + get parent() { + return this._parent ? this._parent.nextSignificantParent() : null; } - get isFlowDefinitionService() { - return true; + get nextSibling() { + return this._parent && this.index >= 0 ? this._parent.nextChild(this.index + 1, 1, 0, 4) : null; } - get isInitialize() { - return this._isInitialized; + get prevSibling() { + return this._parent && this.index >= 0 ? this._parent.nextChild(this.index - 1, -1, 0, 4) : null; } - }(); - t2.default = C; - }, 98126: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.clone = function(e3) { - const t3 = new e3.constructor(); - return Object.getOwnPropertyNames(e3).forEach((i3) => { - const r2 = Object.getOwnPropertyDescriptor(t3, i3); - if (r2 && !r2.writable) return; - let o = e3[i3]; - o && o.className && n2.default.isFunction(o.clone) && (o = o.clone()), t3[i3] = o; - }), t3; - }; - const n2 = i2(31635).__importDefault(i2(92140)); - }, 98134: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(92140)), o = n2.__importDefault(i2(11541)), a = n2.__importDefault(i2(27702)), s = n2.__importDefault(i2(62252)); - class l extends s.default { - constructor(e3) { - super(e3), Object.defineProperties(this, { _builderPartContainerModels: { writable: true, enumerable: false }, _builderPartModels: { writable: true, enumerable: false } }), this.partAndPartsOutOfService = void 0; + get tree() { + return this._tree; } - pasteReIdOrRename(e3) { - super.pasteReIdOrRename(e3), r2.default.each(this._builderPartModels, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)), r2.default.each(this._builderPartContainerModels, function(t3) { - t3.pasteReIdOrRename(e3); - }.bind(this)); + toTree() { + return this._tree; } - pasteResolveOldToNewValues(e3) { - super.pasteResolveOldToNewValues(e3), r2.default.each(this._builderPartModels, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)), r2.default.each(this._builderPartContainerModels, function(t3) { - t3.pasteResolveOldToNewValues(e3); - }.bind(this)); + toString() { + return this._tree.toString(); } } - t2.default = l, Object.defineProperties(l.prototype, { builderPartContainers: { enumerable: true, get: function() { - return this._builderPartContainerModels; - }, set: function(e3) { - this._builderPartContainerModels = this.reviveArray(e3, o.default); - } }, builderParts: { enumerable: true, get: function() { - return this._builderPartModels; - }, set: function(e3) { - this._builderPartModels = this.reviveArray(e3, a.default); - } } }); - }, 98151: (e2, t2, i2) => { - "use strict"; - 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); + function S(e3, t3, i3, n3) { + let o2 = e3.cursor(), r2 = []; + if (!o2.firstChild()) return r2; + if (null != i3) { + for (let e4 = false; !e4; ) if (e4 = o2.type.is(i3), !o2.nextSibling()) return r2; } - } - 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; - var n2 = i2(65212), r2 = i2(17214); - function o(e3, t3, i3) { - var n3 = "index" === i3; - return function(i4, o2) { - var a = 0; - i4.subscribe(r2.createOperatorSubscriber(o2, function(r3) { - var s = a++; - e3.call(t3, r3, s, i4) && (o2.next(n3 ? s : r3), o2.complete()); - }, function() { - o2.next(n3 ? -1 : void 0), o2.complete(); - })); - }; - } - t2.find = function(e3, t3) { - return n2.operate(o(e3, t3, "value")); - }, t2.createFind = o; - }, 98253: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(6035)), r2 = i2(96618); - class o extends n2.default { - constructor(e3) { - super(e3); + for (; ; ) { + if (null != n3 && o2.type.is(n3)) return r2; + if (o2.type.is(t3) && r2.push(o2.node), !o2.nextSibling()) return null == n3 ? r2 : []; } - get className() { - return "VoicemailFlowViewModel"; + } + function A(e3, t3, i3 = t3.length - 1) { + for (let n3 = e3; i3 >= 0; n3 = n3.parent) { + if (!n3) return false; + if (!n3.type.isAnonymous) { + if (t3[i3] && t3[i3] != n3.name) return false; + i3--; + } } - get isVoicemailFlow() { - return true; + return true; + } + class N { + constructor(e3, t3, i3, n3) { + this.parent = e3, this.buffer = t3, this.index = i3, this.start = n3; } - get type() { - return r2.flowTypes.flowTypeVoicemail; + } + class v extends T { + get name() { + return this.type.name; } - get wrappedYamlName() { - return "voicemail"; + get from() { + return this.context.start + this.context.buffer.buffer[this.index + 1]; } - } - t2.default = o; - }, 98348: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + get to() { + return this.context.start + this.context.buffer.buffer[this.index + 2]; } - get _globalTypeName() { - return "assignedCustomerSegment"; + constructor(e3, t3, i3) { + super(), this.context = e3, this._parent = t3, this.index = i3, this.type = e3.buffer.set.types[e3.buffer.buffer[i3]]; } - get displayTypeName() { - return "ArchVariableAssignedCustomerSegment"; + child(e3, t3, i3) { + let { buffer: n3 } = this.context, o2 = n3.findChild(this.index + 4, n3.buffer[this.index + 3], e3, t3 - this.context.start, i3); + return o2 < 0 ? null : new v(this.context, this, o2); } - get initialValue() { - return this._initialValue; + get firstChild() { + return this.child(1, 0, 4); } - get isArchVariableAssignedCustomerSegment() { - return true; + get lastChild() { + return this.child(-1, 0, 4); } - } - t2.default = r2; - }, 98364: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.ExpressionTypeResponseAssetOptions = void 0; - 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); + childAfter(e3) { + return this.child(1, e3, 2); } - constructor(e3) { - super(e3); + childBefore(e3) { + return this.child(-1, e3, -2); } - get className() { - return "ExpressionTypeResponseAssetOptions"; + enter(e3, i3, n3 = 0) { + if (n3 & t2.IterMode.ExcludeBuffers) return null; + let { buffer: o2 } = this.context, r2 = o2.findChild(this.index + 4, o2.buffer[this.index + 3], i3 > 0 ? 1 : -1, e3 - this.context.start, i3); + return r2 < 0 ? null : new v(this.context, this, r2); } - get isExpressionTypeResponseAssetOptions() { - return true; + get parent() { + return this._parent || this.context.parent.nextSignificantParent(); } - get supportsLiteralMode() { - return this.isCollection ? (0, o.isFeatureAvailable)(a.default.cannedResponseAttachmentsPostGaFeature) : super.supportsLiteralMode; + externalSibling(e3) { + return this._parent ? null : this.context.parent.nextChild(this.context.index + e3, e3, 0, 4); } - } - t2.ExpressionTypeResponseAssetOptions = s; - }, 98368: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(84655)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + 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 v(this.context, this._parent, t3) : this.externalSibling(1); } - get _globalTypeName() { - return "journeySegment"; + get prevSibling() { + let { buffer: e3 } = this.context, t3 = this._parent ? this._parent.index + 4 : 0; + return this.index == t3 ? this.externalSibling(-1) : new v(this.context, this._parent, e3.findChild(t3, this.index, -1, 0, 4)); } - get initialValue() { - return this._initialValue; + get tree() { + return null; } - get displayTypeName() { - return "ArchVariableJourneySegment"; + toTree() { + let e3 = [], t3 = [], { buffer: i3 } = this.context, n3 = this.index + 4, o2 = i3.buffer[this.index + 3]; + if (o2 > n3) { + let r2 = i3.buffer[this.index + 1]; + e3.push(i3.slice(n3, o2, r2)), t3.push(0); + } + return new _(this.type, e3, t3, this.to - this.from); } - get isArchVariableJourneySegment() { - return true; + toString() { + return this.context.buffer.childString(this.index); } } - 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 = 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 = T, t2.getDefaultFlowCreationLangs = function(e3) { - const i3 = s.default.getDefinitionForFlowType(e3); - 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 = S, t2.getFlowTypesThatSupportLanguages = function() { - return s.default.getFlowTypesThatSupportLanguages(); - }, t2.getTtsSupportedLangs = A, t2.getLanguageListDisplayStr = function(e3, t3, i3) { - if (!e3) return ""; - const n3 = y(e3, i3); - return _.getListDisplayString(n3, t3); - }, t2.getSystemPromptLangList = function(e3, t3) { - return y(S(t3), e3); - }, t2.getTTSSupportedLangList = 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 = v(i4); - if (n3) { - const r3 = t3 ? T(i4) : N(i4); - e4.push((0, o.sprintf)(p.default.language.formatDisplayStringAndCode, r3, n3.idExpressionText)); - } else g.error(`Language entry not found for code '${i4}'`); - return e4; - }, [])); - }, 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[null == e3 ? void 0 : e3.toLowerCase()]; - return i3 ? i3.id : null; - }, t2.getLangKnowledgeBaseLanguageTag = function(e3) { - const i3 = t2.allLangs[null == e3 ? void 0 : e3.toLowerCase()]; - return null == i3 ? void 0 : i3.knowledgeBaseLanguageTag; - }, t2.getLangSupportsConversationSummary = function(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 = 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; - return !!i3 && true === i3.hasFlowDebugTTS; - }, t2.hasFlowCreationLocalizedText = function(e3) { - const i3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; - return !!i3 && true === i3.hasFlowCreationTTS; - }, t2.supportsShowLanguagePreviewForNluFlowType = b, t2.getLanguagePreviewStatusForNluFlowType = function(e3, t3) { - var i3; - 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 || 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); - }, t2.supportsSpeechRecForFlowType = function(e3, i3) { - const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; - return !!n3 && n3.getSupportsSpeechRecForFlowType(i3); - }, t2.supportsTTSPlaybackForFlow = function(e3, i3) { - const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; - return !!n3 && n3.getSupportsTTSPlaybackForFlow(i3); - }, t2.supportsTTSPlaybackForFlowType = function(e3, i3) { - const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; - return !!n3 && n3.getSupportsTTSPlaybackForFlowType(i3); - }, t2.supportsTranscriptionForFlowType = function(e3, i3) { - const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; - return !!n3 && n3.getSupportsTranscriptionForFlowType(i3); - }, t2.supportsVoicemailTypeForFlowType = function(e3, i3, n3) { - const r3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; - return !!r3 && r3.getSupportsVoicemailTypeForFlowType(i3, n3); - }, 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)), 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 T(e3) { - if (!e3) return null; - const i3 = t2.allLangs[e3.toLowerCase()]; - return i3 ? i3.text : e3; - } - 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 S(e3) { - const i3 = s.default.getDefinitionForFlowType(e3); - 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 A(e3) { - return a.default.filter(h.isoLanguages, function(t3) { - return t3.getSupportsTTSPlaybackForFlowType(e3); - }); - } - function N(e3) { - if (!e3) return null; - const t3 = T(e3), i3 = t3.search(/\(/g); - return i3 >= 0 ? t3.substring(0, i3).trim() : t3.trim(); - } - function v(e3) { - return e3 ? t2.allLangs[e3.toLowerCase()] : null; - } - function O(e3) { - const t3 = []; - return e3 && a.default.each(e3, function(e4) { - const i3 = v(e4); - i3 ? t3.push(i3) : g.error("Language entry was not found for code: " + e4); - }.bind(this)), t3; - } - 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"; - })(I || (t2.NluFlowLanguageStatus = I = {})); - const C = /* @__PURE__ */ new Map([["preview", I.Preview], ["earlypreview", I.EarlyPreview], ["ga", I.Ga]]); - function b(e3) { - var t3; - return d.isFeatureAvailable(l.default.nluLanguageStatus) && (null === (t3 = s.default.getDefinitionForFlowType(e3)) || void 0 === t3 ? void 0 : t3.supportsNlu); - } - function E(e3, i3) { - const n3 = e3 ? t2.allLangs[e3.toLowerCase()] : null; - return !!n3 && n3.getSupportsTTSPlaybackForFlowType(i3) && n3.getSupportsAudioDataPlaybackForFlowType(i3) && n3.getSupportsSpeechRecForFlowType(i3); + function I(e3) { + if (!e3.length) return null; + let t3 = 0, i3 = e3[0]; + for (let n4 = 1; n4 < e3.length; n4++) { + let o3 = e3[n4]; + (o3.from > i3.from || o3.to < i3.to) && (i3 = o3, t3 = n4); + } + let n3 = i3 instanceof y && i3.index < 0 ? null : i3.parent, o2 = e3.slice(); + return n3 ? o2[t3] = n3 : o2.splice(t3, 1), new C(o2, i3); } - }, 98489: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.briefBotFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(70726), o = i2(30801), a = i2(96618), s = i2(27862); - class l extends r2.BriefFlowListManager { - get dependencyType() { - return s.BotFlow; + class C { + constructor(e3, t3) { + this.heads = e3, this.node = t3; } - constructor() { - super(), this.topic = n2.getTopic("briefBotFlowListManager"), this.additionalQueryParams = { type: a.flowTypes.flowTypeBot }, this.className = "BriefBotFlowListManager", this.uiMetadataSectionName = "botFlows", this.actionsForUsageSearch = [o.callBotFlowActionType], this.actionPropertyForUsageSearch = "botFlow", this.flowType = a.flowTypes.flowTypeBot, this._initialize(); + get next() { + return I(this.heads); } } - t2.briefBotFlowListManager = new l(); - }, 98495: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(5730)), o = n2.__importStar(i2(1115)); - class a extends r2.default { - constructor(e3) { - super(e3.parentFlow, e3); + class O { + get name() { + return this.type.name; + } + constructor(e3, t3 = 0) { + if (this.mode = t3, this.buffer = null, this.stack = [], this.index = 0, this.bufferNode = null, e3 instanceof y) this.yieldNode(e3); + else { + this._tree = e3.context.parent, this.buffer = e3.context; + for (let t4 = e3._parent; t4; t4 = t4._parent) this.stack.unshift(t4.index); + this.bufferNode = e3, this.yieldBuf(e3.index); + } + } + yieldNode(e3) { + return !!e3 && (this._tree = e3, this.type = e3.type, this.from = e3.from, this.to = e3.to, true); + } + yieldBuf(e3, t3) { + this.index = e3; + let { start: i3, buffer: n3 } = this.buffer; + return this.type = t3 || n3.set.types[n3.buffer[e3]], this.from = i3 + n3.buffer[e3 + 1], this.to = i3 + n3.buffer[e3 + 2], true; } - propertyChanged(e3) { - super.propertyChanged(e3), this.parentFlow.loaded && this.initializeDesignTimeCalled && e3 === this.variables && o.validateAction(this, false, true); + yield(e3) { + return !!e3 && (e3 instanceof y ? (this.buffer = null, this.yieldNode(e3)) : (this.buffer = e3.context, this.yieldBuf(e3.index, e3.type))); } - setNewInstanceDefaults(e3) { - return super.setNewInstanceDefaults(e3); + toString() { + return this.buffer ? this.buffer.buffer.childString(this.index) : this._tree.toString(); } - validate(e3) { - this.variables.isVariableListEmpty(e3), super.validate(e3); + enterChild(e3, t3, i3) { + if (!this.buffer) return this.yield(this._tree.nextChild(e3 < 0 ? this._tree._tree.children.length - 1 : 0, e3, t3, i3, this.mode)); + let { buffer: n3 } = this.buffer, o2 = n3.findChild(this.index + 4, n3.buffer[this.index + 3], e3, t3 - this.buffer.start, i3); + return !(o2 < 0) && (this.stack.push(this.index), this.yieldBuf(o2)); } - } - a.className = "BaseConversationDataActionViewModel", t2.default = a; - }, 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 = 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"); + firstChild() { + return this.enterChild(1, 0, 4); } - isSystemId(e3) { - return e3 && "__" === e3.substring(0, 2); + lastChild() { + return this.enterChild(-1, 0, 4); } - accessor(e3) { - const t3 = new o.ExpressionItem(".", e3, null); - return t3.type = ".", t3.opOrFunc = true, t3; + childAfter(e3) { + return this.enterChild(1, e3, 2); } - checkDecimalStr(e3, t3) { - 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; + childBefore(e3) { + return this.enterChild(-1, e3, -2); } - checkIntStr(e3) { - return e3 && e3.match(/^[-]?[0-9]+$/) && (e3.length <= 15 || 16 === e3.length && "-" === e3[0]); + enter(e3, i3, n3 = this.mode) { + return this.buffer ? !(n3 & t2.IterMode.ExcludeBuffers) && this.enterChild(1, e3, i3) : this.yield(this._tree.enter(e3, i3, n3)); } - isCollectionCreatableFromMakeList(e3, t3) { - if (!t3.isCollection) return false; - if (e3.type.isCollection) return false; - 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; + parent() { + if (!this.buffer) return this.yieldNode(this.mode & t2.IterMode.IncludeAnonymous ? this._tree._parent : this._tree.parent); + if (this.stack.length) return this.yieldBuf(this.stack.pop()); + let e3 = this.mode & t2.IterMode.IncludeAnonymous ? this.buffer.parent : this.buffer.parent.nextSignificantParent(); + return this.buffer = null, this.yieldNode(e3); } - conversionFuncWrapper(e3, t3) { - const i3 = e3.type, n3 = t3.getDefaultImplicitConversionFunc(i3); - if (!n3) return null; - const r3 = new o.ExpressionItem(n3.text, e3.position, n3.display); - return r3.opOrFunc = "fn", r3.getOperands().push(e3), r3; + sibling(e3) { + if (!this.buffer) return !!this._tree._parent && this.yield(this._tree.index < 0 ? null : this._tree._parent.nextChild(this._tree.index + e3, e3, 0, 4, this.mode)); + let { buffer: t3 } = this.buffer, i3 = this.stack.length - 1; + if (e3 < 0) { + let e4 = i3 < 0 ? 0 : this.stack[i3] + 4; + if (this.index != e4) return this.yieldBuf(t3.findChild(e4, this.index, -1, 0, 4)); + } else { + let e4 = t3.buffer[this.index + 3]; + if (e4 < (i3 < 0 ? t3.buffer.length : t3.buffer[this.stack[i3] + 3])) return this.yieldBuf(e4); + } + return i3 < 0 && this.yield(this.buffer.parent.nextChild(this.buffer.index + e3, e3, 0, 4, this.mode)); } - emp(e3) { - if (!e3) return null; - const t3 = new o.ExpressionItem("emp", 1, null); - return t3.type = e3, t3; + nextSibling() { + return this.sibling(1); } - enf(e3) { - if (!e3) return null; - const t3 = new o.ExpressionItem("enf", 1, null); - return t3.type = e3, t3; + prevSibling() { + return this.sibling(-1); } - empOrEnf(e3, t3) { - return t3 && t3.emitNonConfigItemForEmptyAndNoDefault ? this.enf(e3) : this.emp(e3); + atLastNode(e3) { + let i3, n3, { buffer: o2 } = this; + if (o2) { + if (e3 > 0) { + if (this.index < o2.buffer.buffer.length) return false; + } else for (let e4 = 0; e4 < this.index; e4++) if (o2.buffer.buffer[e4 + 3] < this.index) return false; + ({ index: i3, parent: n3 } = o2); + } else ({ index: i3, _parent: n3 } = this._tree); + for (; n3; { index: i3, _parent: n3 } = n3) if (i3 > -1) for (let o3 = i3 + e3, r2 = e3 < 0 ? -1 : n3._tree.children.length; o3 != r2; o3 += e3) { + let e4 = n3._tree.children[o3]; + if (this.mode & t2.IterMode.IncludeAnonymous || e4 instanceof m || !e4.type.isAnonymous || b(e4)) return false; + } + return true; } - 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 === d.expressionTypeNames.prompt; - }) : []; + move(e3, t3) { + if (t3 && this.enterChild(e3, 0, 4)) return true; + for (; ; ) { + if (this.sibling(e3)) return true; + if (this.atLastNode(e3) || !this.parent()) return false; + } } - 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 === d.expressionTypeNames.prompt && (!i3 || "sysref" !== n3 || "ref" === n3)) { - const i4 = e4.val; - r2.default.find(t3, function(e5) { - return e5.id === i4; - }) || t3.push({ id: i4, type: e4.type, isSysRef: "sysref" === n3 }); - } - }.bind(this)), t3; + next(e3 = true) { + return this.move(1, e3); } - intLiteral(e3, t3, i3) { - return this.literal(e3, t3.toString(), p.globalTypes.integer, i3); + prev(e3 = true) { + return this.move(-1, e3); } - litColl(e3) { - if (!e3) return null; - const t3 = new o.ExpressionItem("lit", 1, ""); - return t3.type = e3, t3.items = [], t3; + moveTo(e3, t3 = 0) { + for (; (this.from == this.to || (t3 < 1 ? this.from >= e3 : this.from > e3) || (t3 > -1 ? this.to <= e3 : this.to < e3)) && this.parent(); ) ; + for (; this.enterChild(1, e3, t3); ) ; + return this; } - literal(e3, t3, i3, n3) { - if (!i3) return null; - const r3 = new o.ExpressionItem("lit", e3, t3); - return r3.type = i3, n3 && r3.addAdditionalProperties(n3), r3; + get node() { + if (!this.buffer) return this._tree; + let e3 = this.bufferNode, t3 = null, i3 = 0; + if (e3 && e3.context == this.buffer) e: for (let n3 = this.index, o2 = this.stack.length; o2 >= 0; ) { + for (let r2 = e3; r2; r2 = r2._parent) if (r2.index == n3) { + if (n3 == this.index) return r2; + t3 = r2, i3 = o2 + 1; + break e; + } + n3 = this.stack[--o2]; + } + 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); } - nul(e3, t3) { - const i3 = new o.ExpressionItem("nul", e3, null); - return i3.type = t3 || p.globalTypes.notSet, i3; + get tree() { + return this.buffer ? null : this._tree._tree; } - fieldAccess(e3) { - const t3 = new o.ExpressionItem(".", e3, null); - return t3.opOrFunc = "op", t3; + iterate(e3, t3) { + for (let i3 = 0; ; ) { + let n3 = false; + if (this.type.isAnonymous || false !== e3(this)) { + if (this.firstChild()) { + i3++; + continue; + } + this.type.isAnonymous || (n3 = true); + } + for (; ; ) { + if (n3 && t3 && t3(this), n3 = this.type.isAnonymous, !i3) return; + if (this.nextSibling()) break; + this.parent(), i3--, n3 = true; + } + } } - funcOp(e3, t3, i3) { - const n3 = new o.ExpressionItem(t3, e3, i3); - return n3.opOrFunc = "fn", n3; + matchContext(e3) { + if (!this.buffer) return A(this.node.parent, e3); + let { buffer: t3 } = this.buffer, { types: i3 } = t3.set; + for (let n3 = e3.length - 1, o2 = this.stack.length - 1; n3 >= 0; o2--) { + if (o2 < 0) return A(this._tree, e3, n3); + let r2 = i3[t3.buffer[this.stack[o2]]]; + if (!r2.isAnonymous) { + if (e3[n3] && e3[n3] != r2.name) return false; + n3--; + } + } + return true; } - getStringLiteralText(e3) { - return this.stringLiteral(1, e3, p.globalTypes.string).getText(); + } + function b(e3) { + return e3.children.some((e4) => e4 instanceof m || !e4.type.isAnonymous || b(e4)); + } + const E = /* @__PURE__ */ new WeakMap(); + function w(e3, t3) { + if (!e3.isAnonymous || t3 instanceof m || t3.type != e3) return 1; + let i3 = E.get(t3); + if (null == i3) { + i3 = 1; + for (let n3 of t3.children) { + if (n3.type != e3 || !(n3 instanceof _)) { + i3 = 1; + break; + } + i3 += w(e3, n3); + } + E.set(t3, i3); } - op(e3, t3, i3) { - const n3 = new o.ExpressionItem(t3, e3, i3); - return n3.opOrFunc = "op", n3; + return i3; + } + function R(e3, t3, i3, n3, o2, r2, a2, s2, l2) { + let u2 = 0; + for (let i4 = n3; i4 < o2; i4++) u2 += w(e3, t3[i4]); + let c2 = Math.ceil(1.5 * u2 / 8), d2 = [], p2 = []; + return (function t4(i4, n4, o3, a3, s3) { + for (let u3 = o3; u3 < a3; ) { + let o4 = u3, _2 = n4[u3], h2 = w(e3, i4[u3]); + for (u3++; u3 < a3; u3++) { + let t5 = w(e3, i4[u3]); + if (h2 + t5 >= c2) break; + h2 += t5; + } + if (u3 == o4 + 1) { + if (h2 > c2) { + let e4 = i4[o4]; + t4(e4.children, e4.positions, 0, e4.children.length, n4[o4] + s3); + continue; + } + d2.push(i4[o4]); + } else { + let t5 = n4[u3 - 1] + i4[u3 - 1].length - _2; + d2.push(R(e3, i4, n4, o4, u3, _2, t5, null, l2)); + } + p2.push(_2 + s3 - r2); + } + })(t3, i3, n3, o2, 0), (s2 || l2)(d2, p2, a2); + } + class D { + constructor(e3, t3, i3, n3, o2 = false, r2 = false) { + this.from = e3, this.to = t3, this.tree = i3, this.offset = n3, this.open = (o2 ? 1 : 0) | (r2 ? 2 : 0); } - root() { - const e3 = new o.ExpressionItem("root", -1, "**ROOT**"); - return e3.opOrFunc = "rt", e3; + get openStart() { + return (1 & this.open) > 0; } - reference(e3, t3, 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; + get openEnd() { + return (2 & this.open) > 0; } - stringWrapper(e3) { - const t3 = new o.ExpressionItem("tostring", e3.position, "ToString"); - return t3.opOrFunc = "fn", t3.getOperands().push(e3), t3; + static addTree(e3, t3 = [], i3 = false) { + let n3 = [new D(0, e3.length, e3, 0, false, i3)]; + for (let i4 of t3) i4.to > e3.length && n3.push(i4); + return n3; } - stringLiteral(e3, t3, i3, n3) { - if (t3.indexOf("\\") >= 0) { - const e4 = []; - for (let i4 = 0; i4 < t3.length; i4++) if ("\\" === t3[i4]) switch (t3[i4 + 1]) { - case "\\": - e4.push("\\"), i4++; - break; - case '"': - e4.push('"'), i4++; - break; - case "r": - e4.push("\r"), i4++; - break; - case "n": - e4.push("\n"), i4++; - break; - case "f": - e4.push("\f"), i4++; - break; - case "t": - e4.push(" "), i4++; - break; - default: - e4.push(t3[i4]); + static applyChanges(e3, t3, i3 = 128) { + if (!t3.length) return e3; + let n3 = [], o2 = 1, r2 = e3.length ? e3[0] : null; + for (let a2 = 0, s2 = 0, l2 = 0; ; a2++) { + let u2 = a2 < t3.length ? t3[a2] : null, c2 = u2 ? u2.fromA : 1e9; + if (c2 - s2 >= i3) for (; r2 && r2.from < c2; ) { + let t4 = r2; + 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), r2.to > c2) break; + r2 = o2 < e3.length ? e3[o2++] : null; } - else e4.push(t3[i4]); - t3 = e4.join(""); + if (!u2) break; + s2 = u2.toA, l2 = u2.toA - u2.toB; } - return this.literal(e3, t3, i3, n3); + return n3; } - 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, p.globalTypes.string); - return r3.lit.val = i3, n3 && (r3.lit.propGroup = n3), r3; + } + class P { + constructor(e3) { + this.string = e3; } - }(); - }, 98590: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.connectable = void 0; - var n2 = i2(76808), r2 = i2(48051), o = i2(35884), a = { connector: function() { - return new n2.Subject(); - }, 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(), c = new r2.Observable(function(e4) { - return u.subscribe(e4); - }); - return c.connect = function() { - return i3 && !i3.closed || (i3 = o.defer(function() { - return e3; - }).subscribe(u), l && i3.add(function() { - return u = n3(); - })), i3; - }, 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), 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) { - super(e3, t3, i3); + get length() { + return this.string.length; } - get className() { - return "ListPickerSectionType"; + chunk(e3) { + return this.string.slice(e3); } - canConvertLitToExpression(e3) { - return s.expressionDataService.isFunctionTextAvailableForFlowTypeAndOperandTypes("MakeListPickerSection", e3, [_.globalTypes.string, _.globalTypes.boolean, _.globalTypes.listPickerItemCollection]); + get lineChunks() { + return false; } - convertLitToExpression(e3, t3, i3, n3) { - var r3, o2, s2; - return n3 && this.canConvertLitToExpression(e3) ? `MakeListPickerSection(${(null === (r3 = this.getPropTitle(n3)) || void 0 === r3 ? void 0 : r3.getEmbeddableExpressionText()) || a.default.notSet}, ${(null === (o2 = this.getPropMultiSelectEnabled(n3)) || void 0 === o2 ? void 0 : o2.getEmbeddableExpressionText()) || a.default.notSet}, ${(null === (s2 = this.getPropItems(n3)) || void 0 === s2 ? void 0 : s2.getEmbeddableExpressionText()) || a.default.notSet})` : ""; + read(e3, t3) { + return this.string.slice(e3, t3); } - _getLiteralValueOfExpression() { - return ""; + } + class M { + constructor(e3, t3, i3, n3, o2) { + this.parser = e3, this.parse = t3, this.overlay = i3, this.target = n3, this.from = o2; } - createExpressionOptionClass() { - return new u.ExpressionTypeListPickerSectionOptions(); + } + function F(e3) { + if (!e3.length || e3.some((e4) => e4.from >= e4.to)) throw new RangeError("Invalid inner parse ranges given: " + JSON.stringify(e3)); + } + class L { + constructor(e3, t3, i3, n3, o2, r2, a2) { + this.parser = e3, this.predicate = t3, this.mounts = i3, this.index = n3, this.start = o2, this.target = r2, this.prev = a2, this.depth = 0, this.ranges = []; } - get supportsLiteralEditor() { - return true; + } + const x = new r({ perNode: true }); + class k { + constructor(e3, t3, i3, n3, o2) { + this.nest = t3, this.input = i3, this.fragments = n3, this.ranges = o2, this.inner = [], this.innerDone = 0, this.baseTree = null, this.stoppedAt = null, this.baseParse = e3; } - getPropTitle(e3) { - return e3.getProperty(t2.PROP_TITLE); + advance() { + if (this.baseParse) { + let e4 = this.baseParse.advance(); + if (!e4) return null; + if (this.baseParse = null, this.baseTree = e4, this.startInner(), null != this.stoppedAt) for (let e5 of this.inner) e5.parse.stopAt(this.stoppedAt); + } + if (this.innerDone == this.inner.length) { + let e4 = this.baseTree; + return null != this.stoppedAt && (e4 = new _(e4.type, e4.children, e4.positions, e4.length, e4.propValues.concat([[x, this.stoppedAt]]))), e4; + } + let e3 = this.inner[this.innerDone], t3 = e3.parse.advance(); + if (t3) { + this.innerDone++; + let i3 = Object.assign(/* @__PURE__ */ Object.create(null), e3.target.props); + i3[r.mounted.id] = new a(t3, e3.overlay, e3.parser), e3.target.props = i3; + } + return null; } - getPropMultiSelectEnabled(e3) { - return e3.getProperty(t2.PROP_MULTI_SELECT_ENABLED); + get parsedPos() { + if (this.baseParse) return 0; + let e3 = this.input.length; + for (let t3 = this.innerDone; t3 < this.inner.length; t3++) this.inner[t3].from < e3 && (e3 = Math.min(e3, this.inner[t3].parse.parsedPos)); + return e3; } - getPropItems(e3) { - return e3.getProperty(t2.PROP_ITEMS); + stopAt(e3) { + if (this.stoppedAt = e3, this.baseParse) this.baseParse.stopAt(e3); + else for (let t3 = this.innerDone; t3 < this.inner.length; t3++) this.inner[t3].parse.stopAt(e3); } - configurePropertyCreationParams(e3, i3, n3) { - var s2; - switch (super.configurePropertyCreationParams(e3, i3, n3), n3.options.setIninTestingField(`list-picker-section-${i3.name}`), null === (s2 = i3.name) || void 0 === s2 ? void 0 : s2.toLowerCase()) { - case t2.PROP_TITLE: - n3.options.setAllowedBuilderIds([o.builderIds.parts.genericString]); - break; - case t2.PROP_MULTI_SELECT_ENABLED: - n3.options.setAllowModeLiteralOnly(), n3.options.setUiDisableOnOutOfService(true), (0, r2.areOptionsBooleanType)(n3.options) && (n3.options.setHideLabel(true), n3.options.setUseToggle(true), n3.options.setDefaultText(a.default.false), n3.options.setBoolText(T.generic.selectMulti, T.generic.selectMulti)); - case t2.PROP_ITEMS: + startInner() { + let e3 = new j(this.fragments), i3 = null, n3 = null, r2 = new O(new y(this.baseTree, this.ranges[0].from, 0, null), t2.IterMode.IncludeAnonymous | t2.IterMode.IgnoreMounts); + e: for (let t3, a2; ; ) { + let s2, l2 = true; + if (null != this.stoppedAt && r2.from >= this.stoppedAt) l2 = false; + else if (e3.hasNode(r2)) { + if (i3) { + let e4 = i3.mounts.find((e5) => e5.frag.from <= r2.from && e5.frag.to >= r2.to && e5.mount.overlay); + if (e4) for (let t4 of e4.mount.overlay) { + let n4 = t4.from + e4.pos, o2 = t4.to + e4.pos; + n4 >= r2.from && o2 <= r2.to && !i3.ranges.some((e5) => e5.from < o2 && e5.to > n4) && i3.ranges.push({ from: n4, to: o2 }); + } + } + l2 = false; + } else if (n3 && (a2 = V(n3.ranges, r2.from, r2.to))) l2 = 2 != a2; + else if (!r2.type.isAnonymous && (t3 = this.nest(r2, this.input)) && (r2.from < r2.to || !t3.overlay)) { + r2.tree || B(r2); + let a3 = e3.findMounts(r2.from, t3.parser); + if ("function" == typeof t3.overlay) i3 = new L(t3.parser, t3.overlay, a3, this.inner.length, r2.from, r2.tree, i3); + else { + let e4 = q(this.ranges, t3.overlay || (r2.from < r2.to ? [new o(r2.from, r2.to)] : [])); + e4.length && F(e4), !e4.length && t3.overlay || this.inner.push(new M(t3.parser, e4.length ? t3.parser.startParse(this.input, Y(a3, e4), e4) : t3.parser.startParse(""), t3.overlay ? t3.overlay.map((e5) => new o(e5.from - r2.from, e5.to - r2.from)) : null, r2.tree, e4.length ? e4[0].from : r2.from)), t3.overlay ? e4.length && (n3 = { ranges: e4, depth: 0, prev: n3 }) : l2 = false; + } + } else if (i3 && (s2 = i3.predicate(r2)) && (true === s2 && (s2 = new o(r2.from, r2.to)), s2.from < s2.to)) { + let e4 = i3.ranges.length - 1; + e4 >= 0 && i3.ranges[e4].to == s2.from ? i3.ranges[e4] = { from: i3.ranges[e4].from, to: s2.to } : i3.ranges.push(s2); + } + if (l2 && r2.firstChild()) i3 && i3.depth++, n3 && n3.depth++; + else for (; !r2.nextSibling(); ) { + if (!r2.parent()) break e; + if (i3 && !--i3.depth) { + let e4 = q(this.ranges, i3.ranges); + e4.length && (F(e4), this.inner.splice(i3.index, 0, new M(i3.parser, i3.parser.startParse(this.input, Y(i3.mounts, e4), e4), i3.ranges.map((e5) => new o(e5.from - i3.start, e5.to - i3.start)), i3.target, e4[0].from))), i3 = i3.prev; + } + n3 && !--n3.depth && (n3 = n3.prev); + } } } - initializeDesignTime(e3) { - super.initializeDesignTime(e3), this.updatePropertiesOutOfServiceStatus(e3); + } + function V(e3, t3, i3) { + for (let n3 of e3) { + if (n3.from >= i3) break; + if (n3.to > t3) return n3.from <= t3 && n3.to >= i3 ? 2 : 1; } - updatePropertiesOutOfServiceStatus(e3) { - const t3 = e3.parent; - if ((null == t3 ? void 0 : t3.initializeDesignTimeCalled) && e3.isLiteralMode) { - const i3 = this.getPropMultiSelectEnabled(e3); - t3.hasSingleSelectSlot && i3.setAsLiteral(a.default.false); + return 0; + } + function U(e3, t3, i3, n3, o2, r2) { + if (t3 < i3) { + let a2 = e3.buffer[t3 + 1]; + n3.push(e3.slice(t3, i3, a2)), o2.push(a2 - r2); + } + } + function B(e3) { + let { node: t3 } = e3, i3 = [], n3 = t3.context.buffer; + do { + i3.push(e3.index), e3.parent(); + } while (!e3.tree); + let o2 = e3.tree, r2 = o2.children.indexOf(n3), a2 = o2.children[r2], s2 = a2.buffer, u2 = [r2]; + o2.children[r2] = (function e4(n4, o3, r3, 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 = 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], o3, h2, m2, l2), new _(r3, 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]; + e3.yield(new y(i4, n4 + e3.from, t4, e3._tree)); + } + } + class G { + constructor(e3, i3) { + this.offset = i3, this.done = false, this.cursor = e3.cursor(t2.IterMode.IncludeAnonymous | t2.IterMode.IgnoreMounts); + } + moveTo(e3) { + let { cursor: i3 } = this, n3 = e3 - this.offset; + for (; !this.done && i3.from < n3; ) i3.to >= e3 && i3.enter(n3, 1, t2.IterMode.IgnoreOverlays | t2.IterMode.ExcludeBuffers) || i3.next(false) || (this.done = true); + } + hasNode(e3) { + if (this.moveTo(e3.from), !this.done && this.cursor.from + this.offset == e3.from && this.cursor.tree) for (let t3 = this.cursor.tree; ; ) { + if (t3 == e3.tree) return true; + if (!(t3.children.length && 0 == t3.positions[0] && t3.children[0] instanceof _)) break; + t3 = t3.children[0]; } + return false; } - get hasRichLiteralEditor() { - return true; + } + class j { + constructor(e3) { + var t3; + if (this.fragments = e3, this.curTo = 0, this.fragI = 0, e3.length) { + let i3 = this.curFrag = e3[0]; + this.curTo = null !== (t3 = i3.tree.prop(x)) && void 0 !== t3 ? t3 : i3.to, this.inner = new G(i3.tree, -i3.offset); + } else this.curFrag = this.inner = null; } - useCustomExpressionEditor(e3) { - return !!(null == e3 ? void 0 : e3.parentList); + hasNode(e3) { + for (; this.curFrag && e3.from >= this.curTo; ) this.nextFrag(); + return this.curFrag && this.curFrag.from <= e3.from && this.curTo >= e3.to && this.inner.hasNode(e3); } - getUniqueTitleName(e3) { - let t3 = T.generic.section; - const i3 = e3.parentList; - if (null == i3 ? void 0 : i3.isLiteralMode) { - const e4 = i3.collectionItems.items.map((e5) => { - const t4 = e5.type.getPropTitle(e5); - if (null == t4 ? void 0 : t4.isLiteralMode) return t4.text; - }); - for (let n3 = 1; n3 < i3.collectionItems.items.length && (t3 = `${T.generic.section} ${n3}`, e4.includes(t3)); n3++) ; + nextFrag() { + var e3; + if (this.fragI++, this.fragI == this.fragments.length) this.curFrag = this.inner = null; + else { + let t3 = this.curFrag = this.fragments[this.fragI]; + this.curTo = null !== (e3 = t3.tree.prop(x)) && void 0 !== e3 ? e3 : t3.to, this.inner = new G(t3.tree, -t3.offset); } - return t3; } - isUnknownAtDesignTime(e3) { - if (!e3.isLiteralMode) return true; - const t3 = this.getPropItems(e3); - return !(null == t3 ? void 0 : t3.isLiteralMode) || t3.collectionItems.items.some((e4) => e4.type.isValueUnknownAtDesignTime(e4)); + findMounts(e3, t3) { + var i3; + let n3 = []; + if (this.inner) { + this.inner.cursor.moveTo(e3, 1); + for (let e4 = this.inner.cursor.node; e4; e4 = e4.parent) { + let o2 = null === (i3 = e4.tree) || void 0 === i3 ? void 0 : i3.prop(r.mounted); + if (o2 && o2.parser == t3) for (let t4 = this.fragI; t4 < this.fragments.length; t4++) { + let i4 = this.fragments[t4]; + if (i4.from >= e4.to) break; + i4.tree == this.curFrag.tree && n3.push({ frag: i4, pos: e4.from - i4.offset, mount: o2 }); + } + } + } + return n3; } - validateLiteralCollection(e3) { - if (e3.collectionItems.length > 1 && (0, h.isAskForSlotActionViewModel)(e3.parent) && e3.parent.hasSingleSelectSlot) { - let e4; - 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 }; + } + function q(e3, t3) { + let i3 = null, n3 = t3; + for (let r2 = 1, a2 = 0; r2 < e3.length; r2++) { + let s2 = e3[r2 - 1].to, l2 = e3[r2].from; + for (; a2 < n3.length; a2++) { + let e4 = n3[a2]; + if (e4.from >= l2) break; + e4.to <= s2 || (i3 || (n3 = i3 = t3.slice()), e4.from < s2 ? (i3[a2] = new o(e4.from, s2), e4.to > l2 && i3.splice(a2 + 1, 0, new o(l2, e4.to))) : e4.to > l2 ? i3[a2--] = new o(l2, e4.to) : i3.splice(a2--, 1)); } - return super.validateLiteralCollection(e3); } - static findOrCreateMissingValuesSection(e3) { - if (!(null == e3 ? void 0 : e3.isLiteralMode)) return; - let t3 = e3.collectionItems.items.find((e4) => { - if (e4.isLiteralMode) return e4.type.getPropTitle(e4).text === T.cardsAndCars.listPickerType.missingValuesSectionLabel; - }); - return t3 || (t3 = e3.collectionItems.add(), t3.type.getPropTitle(t3).text = T.cardsAndCars.listPickerType.missingValuesSectionLabel), t3; + return n3; + } + function W(e3, t3, i3, n3) { + let r2 = 0, a2 = 0, s2 = false, l2 = false, u2 = -1e9, c2 = []; + for (; ; ) { + let d2 = r2 == e3.length ? 1e9 : s2 ? e3[r2].to : e3[r2].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(d2, p2, n3); + e4 < t4 && c2.push(new o(e4, t4)); + } + if (u2 = Math.min(d2, p2), 1e9 == u2) break; + d2 == u2 && (s2 ? (s2 = false, r2++) : s2 = true), p2 == u2 && (l2 ? (l2 = false, a2++) : l2 = true); } + return c2; } - t2.ListPickerSectionType = y, y.typeIdentifier = c.expressionTypeNames.listPickerSection; - }, 98631: (e2, t2, i2) => { + function Y(e3, t3) { + let i3 = []; + for (let { pos: n3, mount: r2, frag: a2 } of e3) { + let e4 = n3 + (r2.overlay ? r2.overlay[0].from : 0), s2 = e4 + r2.tree.length, l2 = Math.max(a2.from, e4), u2 = Math.min(a2.to, s2); + if (r2.overlay) { + let s3 = W(t3, r2.overlay.map((e5) => new o(e5.from + n3, e5.to + n3)), l2, u2); + for (let t4 = 0, n4 = l2; ; t4++) { + let o2 = t4 == s3.length, l3 = o2 ? u2 : s3[t4].from; + if (l3 > n4 && i3.push(new D(n4, l3, r2.tree, -e4, a2.from >= n4 || a2.openStart, a2.to <= l3 || a2.openEnd)), o2) break; + n4 = s3[t4].to; + } + } else i3.push(new D(l2, u2, r2.tree, -e4, a2.from >= e4 || a2.openStart, a2.to <= s2 || a2.openEnd)); + } + return i3; + } + t2.DefaultBufferLength = i2, t2.MountedTree = a, t2.NodeProp = r, t2.NodeSet = u, t2.NodeType = l, t2.NodeWeakMap = class { + constructor() { + this.map = /* @__PURE__ */ new WeakMap(); + } + setBuffer(e3, t3, i3) { + let n3 = this.map.get(e3); + n3 || this.map.set(e3, n3 = /* @__PURE__ */ new Map()), n3.set(t3, i3); + } + getBuffer(e3, t3) { + let i3 = this.map.get(e3); + return i3 && i3.get(t3); + } + set(e3, 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 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); + } + cursorGet(e3) { + return e3.buffer ? this.getBuffer(e3.buffer.buffer, e3.index) : this.map.get(e3.tree); + } + }, t2.Parser = class { + startParse(e3, t3, i3) { + return "string" == typeof e3 && (e3 = new P(e3)), i3 = i3 ? i3.length ? i3.map((e4) => new o(e4.from, e4.to)) : [new o(0, 0)] : [new o(0, e3.length)], this.createParse(e3, t3 || [], i3); + } + parse(e3, t3, i3) { + let n3 = this.startParse(e3, t3, i3); + for (; ; ) { + let e4 = n3.advance(); + if (e4) return e4; + } + } + }, t2.Tree = _, t2.TreeBuffer = m, t2.TreeCursor = O, t2.TreeFragment = D, t2.parseMixed = function(e3) { + return (t3, i3, n3, o2) => new k(t3, e3, i3, n3, o2); + }; + }, 67359(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(81574)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + var n2 = i2(52696); + let o = 0; + class r { + constructor(e3, t3, i3, n3) { + this.name = e3, this.set = t3, this.base = i3, this.modified = n3, this.id = o++; } - get _globalTypeName() { - return "journeyBrowser"; + toString() { + let { name: e3 } = this; + for (let t3 of this.modified) t3.name && (e3 = `${t3.name}(${e3})`); + return e3; } - get family() { + static define(e3, t3) { + let i3 = "string" == typeof e3 ? e3 : "?"; + if (e3 instanceof r && (t3 = e3), null == t3 ? void 0 : t3.base) throw new Error("Can not derive from a modified tag"); + let n3 = new r(i3, [], null, []); + if (n3.set.push(n3), t3) for (let e4 of t3.set) n3.set.push(e4); + return n3; } - get version() { + static defineModifier(e3) { + let t3 = new s(e3); + return (e4) => e4.modified.indexOf(t3) > -1 ? e4 : s.get(e4.base || e4, e4.modified.concat(t3).sort((e5, t4) => e5.id - t4.id)); } - get lang() { + } + let a = 0; + class s { + constructor(e3) { + this.name = e3, this.instances = [], this.id = a++; } - get fingerprint() { + static get(e3, t3) { + if (!t3.length) return e3; + let i3 = t3[0].instances.find((i4) => { + return i4.base == e3 && (n4 = t3, o3 = i4.modified, n4.length == o3.length && n4.every((e4, t4) => e4 == o3[t4])); + var n4, o3; + }); + if (i3) return i3; + let n3 = [], o2 = new r(e3.name, n3, e3, t3); + for (let e4 of t3) e4.instances.push(o2); + let a2 = (function(e4) { + let t4 = [[]]; + for (let i4 = 0; i4 < e4.length; i4++) for (let n4 = 0, o3 = t4.length; n4 < o3; n4++) t4.push(t4[n4].concat(e4[i4])); + return t4.sort((e5, t5) => t5.length - e5.length); + })(t3); + for (let t4 of e3.set) if (!t4.modified.length) for (let e4 of a2) n3.push(s.get(t4, e4)); + return o2; } - get isMobile() { + } + const l = new n2.NodeProp({ combine(e3, t3) { + let i3, n3, o2; + for (; e3 || t3; ) { + if (!e3 || t3 && e3.depth >= t3.depth ? (o2 = t3, t3 = t3.next) : (o2 = e3, e3 = e3.next), i3 && i3.mode == o2.mode && !o2.context && !i3.context) continue; + let r2 = new u(o2.tags, o2.mode, o2.context); + i3 ? i3.next = r2 : n3 = r2, i3 = r2; } - get viewHeight() { + return n3; + } }); + class u { + constructor(e3, t3, i3, n3) { + this.tags = e3, this.mode = t3, this.context = i3, this.next = n3; } - get viewWidth() { + get opaque() { + return 0 == this.mode; } - get featuresFlash() { + get inherit() { + return 1 == this.mode; } - get featuresJava() { + sort(e3) { + return !e3 || e3.depth < this.depth ? (this.next = e3, this) : (e3.next = this.sort(e3.next), e3); } - get featuresPdf() { + get depth() { + return this.context ? this.context.length : 0; } - get featuresWebrtc() { + } + 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; + let { scope: n3, all: o2 = null } = t3 || {}; + return { style: (e4) => { + let t4 = o2; + for (let n4 of e4) for (let e5 of n4.set) { + let n5 = i3[e5.id]; + if (n5) { + t4 = t4 ? t4 + " " + n5 : n5; + break; + } + } + return t4; + }, scope: n3 }; + } + function d(e3, t3, i3, n3 = 0, o2 = e3.length) { + let r2 = new p(n3, Array.isArray(t3) ? t3 : [t3], i3); + r2.highlightRange(e3.cursor(), n3, o2, "", r2.highlighters), r2.flush(o2); + } + u.empty = new u([], 2, null); + class p { + constructor(e3, t3, i3) { + this.at = e3, this.highlighters = t3, this.span = i3, this.class = ""; } - get displayTypeName() { - return "ArchValueJourneyBrowser"; + startSpan(e3, t3) { + t3 != this.class && (this.flush(e3), e3 > this.at && (this.at = e3), this.class = t3); } - get isArchValueJourneyBrowser() { - return true; + flush(e3) { + e3 > this.at && this.class && this.span(this.at, e3, this.class); + } + highlightRange(e3, t3, i3, o2, r2) { + let { type: a2, from: s2, to: l2 } = e3; + if (s2 >= i3 || l2 <= t3) return; + a2.isTop && (r2 = this.highlighters.filter((e4) => !e4.scope || e4.scope(a2))); + let c2 = o2, 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; + })(r2, d2.tags); + if (p2 && (c2 && (c2 += " "), c2 += p2, 1 == d2.mode && (o2 += (o2 ? " " : "") + 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 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, o2, r2), 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), c2)); + } + u2 && e3.parent(); + } else if (e3.firstChild()) { + h2 && (o2 = ""); + do { + if (!(e3.to <= t3)) { + if (e3.from >= i3) break; + this.highlightRange(e3, t3, i3, o2, r2), this.startSpan(Math.min(i3, e3.to), c2); + } + } while (e3.nextSibling()); + e3.parent(); + } } } - t2.default = r2; - }, 98643: (e2, t2, i2) => { - const n2 = i2(45214), r2 = i2(94886); - function o() { - Object.defineProperties(this, { _schedules: { writable: true }, _closedSchedules: { writable: true }, _openSchedules: { writable: true } }), this.id = void 0, this.name = void 0, o.baseConstructor.apply(this, arguments); + function _(e3) { + let t3 = e3.type.prop(l); + for (; t3 && t3.context && !e3.matchContext(t3.context); ) t3 = t3.next; + return t3 || null; } - n2.extend(o, "ScheduleGroup"), Object.defineProperties(o.prototype, { displayName: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, label: { get: function() { - return this.name; - }, set: function(e3) { - this.name = e3; - } }, schedules: { get: function() { - return this._schedules; - }, set: function(e3) { - this._schedules = this.reviveArray(e3, r2); - } }, openSchedules: { get: function() { - return this._openSchedules; - }, set: function(e3) { - this._openSchedules = this.reviveArray(e3, r2); - } }, closedSchedules: { get: function() { - return this._closedSchedules; - }, set: function(e3) { - this._closedSchedules = this.reviveArray(e3, r2); - } } }), e2.exports = o; - }, 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), c = i2(33951), d = i2(15896), p = "noThrow", _ = "throwMessageFullText", h = "throwMessageText", m = "'ArchLogging'", g = "[" + m + "]"; - function f() { - let e3 = ""; - r2.default.each(arguments, function() { - e3 += "%s"; - }); - const t3 = Array.prototype.slice.call(arguments); - return (0, o.vsprintf)(e3, t3); + const h = r.define, m = h(), g = h(), f = h(g), T = h(g), y = h(), S = h(y), A = h(y), N = h(), v = h(N), I = h(), C = h(), O = h(), b = h(O), 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: 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: C, derefOperator: h(C), arithmeticOperator: h(C), logicOperator: h(C), bitwiseOperator: h(C), compareOperator: h(C), updateOperator: h(C), definitionOperator: h(C), typeOperator: h(C), controlOperator: h(C), punctuation: O, separator: h(O), 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: r.defineModifier("definition"), constant: r.defineModifier("constant"), function: r.defineModifier("function"), standard: r.defineModifier("standard"), local: r.defineModifier("local"), special: r.defineModifier("special") }; + for (let e3 in w) { + let t3 = w[e3]; + t3 instanceof r && (t3.name = e3); } - class T { - get lastError() { - return this._lastError; + 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 = r, t2.classHighlighter = R, t2.getStyleTags = _, t2.highlightCode = function(e3, t3, i3, n3, o2, r2 = 0, a2 = e3.length) { + let s2 = r2; + function l2(t4, i4) { + if (!(t4 <= s2)) { + for (let r3 = e3.slice(s2, t4), a3 = 0; ; ) { + let e4 = r3.indexOf("\n", a3), t5 = e4 < 0 ? r3.length : e4; + if (t5 > a3 && n3(r3.slice(a3, t5), i4), e4 < 0) break; + o2(), a3 = e4 + 1; + } + s2 = t4; + } } - set lastError(e3) { - this._lastError = e3; + d(t3, i3, (e4, t4, i4) => { + l2(e4, ""), l2(t4, i4); + }, r2, a2), l2(a2, ""); + }, t2.highlightTree = d, t2.styleTags = function(e3) { + let t3 = /* @__PURE__ */ Object.create(null); + for (let i3 in e3) { + let n3 = e3[i3]; + Array.isArray(n3) || (n3 = [n3]); + for (let e4 of i3.split(" ")) if (e4) { + let i4 = [], o2 = 2, r2 = e4; + for (let t4 = 0; ; ) { + if ("..." == r2 && t4 > 0 && t4 + 3 == e4.length) { + o2 = 1; + break; + } + let n4 = /^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(r2); + if (!n4) throw new RangeError("Invalid path: " + e4); + if (i4.push("*" == n4[0] ? "" : '"' == n4[0][0] ? JSON.parse(n4[0]) : n4[0]), t4 += n4[0].length, t4 == e4.length) break; + let a3 = e4[t4++]; + if (t4 == e4.length && "!" == a3) { + o2 = 0; + break; + } + if ("/" != a3) throw new RangeError("Invalid path: " + e4); + r2 = e4.slice(t4); + } + let a2 = i4.length - 1, s2 = i4[a2]; + if (!s2) throw new RangeError("Invalid path: " + e4); + let l2 = new u(n3, o2, a2 > 0 ? i4.slice(0, a2) : null); + t3[s2] = l2.sort(t3[s2]); + } } - get lastNote() { - return this._lastNote; + return l.add(t3); + }, t2.tagHighlighter = c, t2.tags = w; + }, 41827(e2, t2, i2) { + "use strict"; + var n2 = i2(52696); + class o { + constructor(e3, t3, i3, n3, o2, r2, a2, s2, l2, u2 = 0, c2) { + this.p = e3, this.stack = t3, this.state = i3, this.reducePos = n3, this.pos = o2, this.score = r2, this.buffer = a2, this.bufferBase = s2, this.curContext = l2, this.lookAhead = u2, this.parent = c2; } - set lastNote(e3) { - this._lastNote = e3; + toString() { + return `[${this.stack.filter((e3, t3) => t3 % 3 == 0).concat(this.state)}]@${this.pos}${this.score ? "!" + this.score : ""}`; } - get lastWarning() { - return this._lastWarning; + static start(e3, t3, i3 = 0) { + let n3 = e3.parser.context; + return new o(e3, [], t3, i3, i3, 0, [], 0, n3 ? new r(n3, n3.start) : null, 0, null); } - set lastWarning(e3) { - this._lastWarning = e3; + get context() { + return this.curContext ? this.curContext.context : null; } - constructor() { - this.logErrors = true, this.logNotes = true, this.logNotesVerbose = false, this.logNetworkActivity = false, this.logWarnings = true, l.serviceListen(l.rateLimited, function(e3) { - this.logNote(d.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)); - const t3 = setInterval(() => { - (e3 -= 5e3) > 0 ? this.logNote(d.inverse(`Currently rate limited, please wait ${e3 / 1e3} seconds...`)) : clearInterval(t3); - }, 5e3); - }.bind(this)); + pushState(e3, t3) { + this.stack.push(this.state, t3, this.bufferBase + this.buffer.length), this.state = e3; } - get _logHeader() { - return g; + reduce(e3) { + var t3; + let i3 = e3 >> 19, n3 = 65535 & e3, { parser: o2 } = this.p, r2 = this.reducePos < this.pos - 25 && this.setLookAhead(this.pos), a2 = o2.dynamicPrecedence(n3); + if (a2 && (this.score += a2), 0 == i3) return n3 < o2.minRepeatTerm && this.reducePos < this.pos && (this.reducePos = this.pos), this.pushState(o2.getGoto(this.state, n3, true), this.reducePos), n3 < o2.minRepeatTerm && this.storeNode(n3, this.reducePos, this.reducePos, r2 ? 8 : 4, true), void this.reduceContext(n3, this.reducePos); + let s2 = this.stack.length - 3 * (i3 - 1) - (262144 & e3 ? 6 : 0), l2 = s2 ? this.stack[s2 - 2] : this.p.ranges[0].from; + n3 < o2.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 c2 = s2 ? this.stack[s2 - 1] : 0, d2 = this.bufferBase + this.buffer.length - c2; + if (n3 < o2.minRepeatTerm || 131072 & e3) { + let e4 = o2.stateFlag(this.state, 1) ? this.pos : this.reducePos; + this.storeNode(n3, l2, e4, d2 + 4, true); + } + if (262144 & e3) this.state = this.stack[s2]; + else { + let e4 = this.stack[s2 - 3]; + this.state = o2.getGoto(e4, n3, true); + } + for (; this.stack.length > s2; ) this.stack.pop(); + this.reduceContext(n3, l2); } - _invokeCallbackLoggingHook(e3, t3, i3, n3, r3, o2) { - if (!this._loggingHook) return false; - try { - return true === this._loggingHook({ logType: e3, messageFull: t3, messageParts: { displayTypeName: o2, header: r3 || "[ArchLogging Default]", itemInfo: i3, message: n3 } }); - } catch (e4) { - s.errorAlways("Exception encountered calling Architect Scripting logging hook - '" + e4 + "'"); + storeNode(e3, t3, i3, n3 = 4, o2 = false) { + if (0 == e3 && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) { + let e4 = this.buffer.length; + if (e4 > 0 && 0 == this.buffer[e4 - 4] && this.buffer[e4 - 1] > -1) { + if (t3 == i3) return; + if (this.buffer[e4 - 2] >= t3) return void (this.buffer[e4 - 2] = i3); + } } - return false; + if (o2 && this.pos != i3) { + let o3 = this.buffer.length; + if (o3 > 0 && (0 != this.buffer[o3 - 4] || this.buffer[o3 - 1] < 0)) { + let e4 = false; + for (let t4 = o3; t4 > 0 && this.buffer[t4 - 2] > i3; t4 -= 4) if (this.buffer[t4 - 1] >= 0) { + e4 = true; + break; + } + if (e4) for (; o3 > 0 && this.buffer[o3 - 2] > i3; ) this.buffer[o3] = this.buffer[o3 - 4], this.buffer[o3 + 1] = this.buffer[o3 - 3], this.buffer[o3 + 2] = this.buffer[o3 - 2], this.buffer[o3 + 3] = this.buffer[o3 - 1], o3 -= 4, n3 > 4 && (n3 -= 4); + } + this.buffer[o3] = e3, this.buffer[o3 + 1] = t3, this.buffer[o3 + 2] = i3, this.buffer[o3 + 3] = n3; + } else this.buffer.push(e3, t3, i3, n3); } - _logToConsole(...e3) { - s.logAlways(...e3); + shift(e3, t3, i3, n3) { + if (131072 & e3) this.pushState(65535 & e3, this.pos); + else if (262144 & e3) this.pos = n3, this.shiftContext(t3, i3), t3 <= this.p.parser.maxNode && this.buffer.push(t3, i3, n3, 4); + else { + let o2 = e3, { parser: r2 } = this.p; + this.pos = n3; + let a2 = r2.stateFlag(o2, 1); + !a2 && (n3 > i3 || t3 <= r2.maxNode) && (this.reducePos = n3), this.pushState(o2, a2 ? i3 : Math.min(i3, this.reducePos)), this.shiftContext(t3, i3), t3 <= r2.maxNode && this.buffer.push(t3, i3, n3, 4); + } } - _getLoggingSettings() { - return { logErrors: this.logErrors, logNotes: this.logNotes, logNotesVerbose: this.logNotesVerbose, logNetworkActivity: this.logNetworkActivity, logWarnings: this.logWarnings }; + apply(e3, t3, i3, n3) { + 65536 & e3 ? this.reduce(e3) : this.shift(e3, t3, i3, n3); } - _restoreLoggingSettings(e3) { - r2.default.isObject(e3) && (this.logErrors = e3.logErrors, this.logNotes = e3.logNotes, this.logNotesVerbose = e3.logNotesVerbose, this.logNetworkActivity = e3.logNetworkActivity, this.logWarnings = e3.logWarnings); + useNode(e3, t3) { + let i3 = this.p.reused.length - 1; + (i3 < 0 || this.p.reused[i3] != e3) && (this.p.reused.push(e3), i3++); + let n3 = this.pos; + this.reducePos = this.pos = n3 + e3.length, this.pushState(t3, n3), this.buffer.push(i3, n3, this.reducePos, -1), this.curContext && this.updateContext(this.curContext.tracker.reuse(this.curContext.context, e3, this, this.p.stream.reset(this.pos - e3.length))); } - _suppressLogging() { - const e3 = this._getLoggingSettings(); - return this.logErrors = false, this.logNotes = false, this.logNotesVerbose = false, this.logNetworkActivity = false, this.logWarnings = false, e3; + split() { + let e3 = this, t3 = e3.buffer.length; + for (t3 && 0 == e3.buffer[t3 - 4] && (t3 -= 4); t3 > 0 && e3.buffer[t3 - 2] > e3.reducePos; ) t3 -= 4; + let i3 = e3.buffer.slice(t3), n3 = e3.bufferBase + t3; + for (; e3 && n3 == e3.bufferBase; ) e3 = e3.parent; + return new o(this.p, this.stack.slice(), this.state, this.reducePos, this.pos, this.score, i3, n3, this.curContext, this.lookAhead, e3); } - _errorToConsole(...e3) { - s.errorAlways(...e3); + recoverByDelete(e3, t3) { + let i3 = e3 <= this.p.parser.maxNode; + i3 && this.storeNode(e3, this.pos, t3, 4), this.storeNode(0, this.pos, t3, i3 ? 8 : 4), this.pos = this.reducePos = t3, this.score -= 190; } - _warningToConsole(...e3) { - s.warnAlways(...e3); + canShift(e3) { + for (let t3 = new a(this); ; ) { + let i3 = this.p.parser.stateSlot(t3.state, 4) || this.p.parser.hasAction(t3.state, e3); + if (0 == i3) return false; + if (!(65536 & i3)) return true; + t3.reduce(i3); + } } - _logItemCommon(e3, t3, i3, n3, r3, o2, s2, l2, p2) { - c.ParameterValidator.expectBool(e3, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "shouldLog"); - }.bind(this)), c.ParameterValidator.expectString(t3, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "logType"); - }.bind(this)), c.ParameterValidator.expectObject(i3, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "itemInfo"); - }.bind(this)), c.ParameterValidator.expectString(n3, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "itemMessage"); - }.bind(this)), c.ParameterValidator.expectString(r3, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "logHeader"); - }.bind(this)), c.ParameterValidator.expectString(o2, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "displayTypeName"); - }.bind(this)), c.ParameterValidator.expectBool(s2, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "wantInvalidMessage"); - }.bind(this)), c.ParameterValidator.expectString(l2, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "throwType"); - }.bind(this), true), c.ParameterValidator.expectBool(p2, function() { - return u.ParameterInfo.createFunctionParameter(this.displayTypeName, "_logItemCommon", "wantInErrorMessage"); - }.bind(this), true); - let m2 = ""; - switch (t3) { - case a.default.LOG_TYPES.error: - m2 = "ERROR!"; - break; - case a.default.LOG_TYPES.warning: - m2 = "WARNING!"; + recoverByInsert(e3) { + if (this.stack.length >= 300) return []; + let t3 = this.p.parser.nextStates(this.state); + if (t3.length > 8 || this.stack.length >= 120) { + let i4 = []; + for (let n3, o2 = 0; o2 < t3.length; o2 += 2) (n3 = t3[o2 + 1]) != this.state && this.p.parser.hasAction(n3, e3) && i4.push(t3[o2], n3); + if (this.stack.length < 120) for (let e4 = 0; i4.length < 8 && e4 < t3.length; e4 += 2) { + let n3 = t3[e4 + 1]; + i4.some((e5, t4) => 1 & t4 && e5 == n3) || i4.push(t3[e4], n3); + } + t3 = i4; } - 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 += 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: - this.lastError = f2; - break; - case a.default.LOG_TYPES.warning: - this.lastWarning = f2; - break; - case a.default.LOG_TYPES.info: - this.lastNote = f2; + let i3 = []; + for (let e4 = 0; e4 < t3.length && i3.length < 4; e4 += 2) { + let n3 = t3[e4 + 1]; + if (n3 == this.state) continue; + let o2 = this.split(); + o2.pushState(n3, this.pos), o2.storeNode(0, o2.pos, o2.pos, 4, true), o2.shiftContext(t3[e4], this.pos), o2.reducePos = this.pos, o2.score -= 200, i3.push(o2); } - switch (l2) { - case h: - throw n3; - case _: - throw f2; + return i3; + } + forceReduce() { + let { parser: e3 } = this.p, t3 = e3.stateSlot(this.state, 5); + if (!(65536 & t3)) return false; + if (!e3.validAction(this.state, t3)) { + let i3 = t3 >> 19, n3 = 65535 & t3, o2 = this.stack.length - 3 * i3; + if (o2 < 0 || e3.getGoto(this.stack[o2], n3, false) < 0) { + let e4 = this.findForcedReduction(); + if (null == e4) return false; + t3 = e4; + } + this.storeNode(0, this.pos, this.pos, 4, true), this.score -= 100; } + return this.reducePos = this.pos, this.reduce(t3), true; } - get displayTypeName() { - return m; + findForcedReduction() { + let { parser: e3 } = this.p, t3 = [], i3 = (n3, o2) => { + if (!t3.includes(n3)) return t3.push(n3), e3.allActions(n3, (t4) => { + if (393216 & t4) ; + else if (65536 & t4) { + let i4 = (t4 >> 19) - o2; + if (i4 > 1) { + let n4 = 65535 & t4, o3 = this.stack.length - 3 * i4; + if (o3 >= 0 && e3.getGoto(this.stack[o3], n4, false) >= 0) return i4 << 19 | 65536 | n4; + } + } else { + let e4 = i3(t4, o2 + 1); + if (null != e4) return e4; + } + }); + }; + return i3(this.state, 0); } - itemInvalid(e3, t3, i3, n3, r3) { - this._logItemCommon(this.logErrors && !!r3, a.default.LOG_TYPES.error, e3, t3, i3, n3, true, _); + forceAll() { + for (; !this.p.parser.stateFlag(this.state, 2); ) if (!this.forceReduce()) { + this.storeNode(0, this.pos, this.pos, 4, true); + break; + } + return this; } - itemError(e3, t3, i3, n3) { - this._logItemCommon(this.logErrors, a.default.LOG_TYPES.error, e3, t3, i3, n3, false, p, true); + get deadEnd() { + if (3 != this.stack.length) return false; + let { parser: e3 } = this.p; + return 65535 == e3.data[e3.stateSlot(this.state, 1)] && !e3.stateSlot(this.state, 4); } - itemNote(e3, t3, i3, n3) { - this._logItemCommon(this.logNotes, a.default.LOG_TYPES.info, e3, t3, i3, n3, false, p); + restart() { + this.storeNode(0, this.pos, this.pos, 4, true), this.state = this.stack[0], this.stack.length = 0; } - itemNoteVerbose(e3, t3, i3, n3) { - this._logItemCommon(this.logNotesVerbose, a.default.LOG_TYPES.info, e3, t3, i3, n3, false, p); + sameState(e3) { + if (this.state != e3.state || this.stack.length != e3.stack.length) return false; + for (let t3 = 0; t3 < this.stack.length; t3 += 3) if (this.stack[t3] != e3.stack[t3]) return false; + return true; } - itemThrow(e3, t3, i3, n3) { - this._logItemCommon(false, a.default.LOG_TYPES.error, e3, t3, i3, n3, false, _); + get parser() { + return this.p.parser; } - itemWarning(e3, t3, i3, n3) { - this._logItemCommon(this.logWarnings, a.default.LOG_TYPES.warning, e3, t3, i3, n3, false, p); + dialectEnabled(e3) { + return this.p.parser.dialect.flags[e3]; } - logError(...e3) { - this._logItemCommon(this.logErrors, a.default.LOG_TYPES.error, { methodName: "logError", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + shiftContext(e3, t3) { + this.curContext && this.updateContext(this.curContext.tracker.shift(this.curContext.context, e3, this, this.p.stream.reset(t3))); } - logErrorAndThrow(...e3) { - this._logItemCommon(this.logErrors, a.default.LOG_TYPES.error, { methodName: "logErrorAndThrow", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, h); + reduceContext(e3, t3) { + this.curContext && this.updateContext(this.curContext.tracker.reduce(this.curContext.context, e3, this, this.p.stream.reset(t3))); } - logNote(...e3) { - this._logItemCommon(this.logNotes, a.default.LOG_TYPES.info, { methodName: "logNote", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + emitContext() { + let e3 = this.buffer.length - 1; + (e3 < 0 || -3 != this.buffer[e3]) && this.buffer.push(this.curContext.hash, this.pos, this.pos, -3); } - logNoteVerbose(...e3) { - this._logItemCommon(this.logNotesVerbose, a.default.LOG_TYPES.info, { methodName: "logNoteVerbose", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + emitLookAhead() { + let e3 = this.buffer.length - 1; + (e3 < 0 || -4 != this.buffer[e3]) && this.buffer.push(this.lookAhead, this.pos, this.pos, -4); } - logWarning(...e3) { - this._logItemCommon(this.logWarnings, a.default.LOG_TYPES.warning, { methodName: "logWarning", title: "Called Object" }, f.apply(this, e3), this._logHeader, this.displayTypeName, false, p); + updateContext(e3) { + if (e3 != this.curContext.context) { + let t3 = new r(this.curContext.tracker, e3); + t3.hash != this.curContext.hash && this.emitContext(), this.curContext = t3; + } } - setLoggingCallback(e3) { - const t3 = { label: "loggingCallback", methodName: "setLoggingCallback", title: "Parameter" }; - r2.default.isFunction(e3) || this.itemInvalid(t3, "The value is not a valid JavaScript function.", this._logHeader, this.displayTypeName), this._loggingHook = e3, this.itemNote(t3, "Logging callback hook successfully set.", this._logHeader, this.displayTypeName); + setLookAhead(e3) { + return !(e3 <= this.lookAhead || (this.emitLookAhead(), this.lookAhead = e3, 0)); } - } - t2.ArchLogging = T, t2.default = new T(); - }, 98835: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.groupManager = t2.GroupManager = void 0; - const n2 = i2(31635).__importDefault(i2(47532)), r2 = i2(24032), o = i2(27862), a = i2(58650); - class s extends n2.default { - get dependencyType() { - return o.Group; + close() { + this.curContext && this.curContext.tracker.strict && this.emitContext(), this.lookAhead > 0 && this.emitLookAhead(); } - constructor() { - super(), this.topic = (0, r2.getTopic)("groupManager"), this.apiCallList = a.getGroups, this.apiCallSingle = a.getGroup, this.className = "GroupManager", this.dependencyContext = null, this.networkType = "groups", this.removeDeleted = true, this._initialize(); + } + class r { + constructor(e3, t3) { + this.tracker = e3, this.context = t3, this.hash = e3.strict ? e3.hash(t3) : 0; } } - t2.GroupManager = s, t2.groupManager = new s(); - }, 98962: (e2, t2, i2) => { - const n2 = i2(92140), r2 = i2(45214), o = i2(89982), a = i2(83462); - function s(e3) { - Object.defineProperties(this, { _createdBy: { writable: true }, _supportedLanguages: { writable: true } }), this.commitVersion = void 0, this.configurationVersion = void 0, this.dateCreated = void 0, this.id = void 0, this.name = n2.isString(e3) ? e3 : void 0, this.nluInfo = void 0, this.secure = void 0, this.generationId = void 0, this.debug = void 0, this.virtualAgentEnabled = void 0, this.agenticVirtualAgentEnabled = void 0, s.baseConstructor.apply(this, arguments); + class a { + constructor(e3) { + this.start = e3, this.state = e3.state, this.stack = e3.stack, this.base = this.stack.length; + } + reduce(e3) { + let t3 = 65535 & e3, i3 = e3 >> 19; + 0 == i3 ? (this.stack == this.start.stack && (this.stack = this.stack.slice()), this.stack.push(this.state, 0, 0), this.base += 3) : this.base -= 3 * (i3 - 1); + let n3 = this.start.p.parser.getGoto(this.stack[this.base - 3], t3, true); + this.state = n3; + } } - r2.extend(s, "FlowVersion"), Object.defineProperties(s.prototype, { createdBy: { enumerable: true, get: function() { - return this._createdBy; - }, set: function(e3) { - this._createdBy = this.reviveItem(e3, a); - } }, supportedLanguages: { enumerable: true, get: function() { - return this._supportedLanguages; - }, set: function(e3) { - this._supportedLanguages = this.reviveArray(e3, o); - } } }), e2.exports = s; - }, 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), 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 || d.JsonSchemaUsage.none, this._baseJsonSchemaIdFull = e3 ? `${this._schemaSource}::${e3}` : this._schemaSource, this._displayName = r3; + class s { + constructor(e3, t3, i3) { + this.stack = e3, this.pos = t3, this.index = i3, this.buffer = e3.buffer, 0 == this.index && this.maybeNext(); } - get rawJsonSchema() { - return this._rawJsonSchema; + static create(e3, t3 = e3.bufferBase + e3.buffer.length) { + return new s(e3, t3, t3 - e3.bufferBase); } - get title() { - var e3; - return null === (e3 = this._rawJsonSchema) || void 0 === e3 ? void 0 : e3.title; + maybeNext() { + let e3 = this.stack.parent; + null != e3 && (this.index = this.stack.bufferBase - e3.bufferBase, this.stack = e3, this.buffer = e3.buffer); } - get displayName() { - return this._displayName; + get id() { + return this.buffer[this.index - 4]; } - get hasSchema() { - return r2.default.isObject(this._rawJsonSchema) && !r2.default.isEmpty(this.rawJsonSchema); + get start() { + return this.buffer[this.index - 3]; } - get schemaHasProperties() { - var e3, t3; - 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 end() { + return this.buffer[this.index - 2]; + } + get size() { + return this.buffer[this.index - 1]; + } + next() { + this.index -= 4, this.pos -= 4, 0 == this.index && this.maybeNext(); + } + fork() { + return new s(this.stack, this.pos, this.index); + } + } + function l(e3, t3 = Uint16Array) { + if ("string" != typeof e3) return e3; + let i3 = null; + for (let n3 = 0, o2 = 0; n3 < e3.length; ) { + let r2 = 0; + for (; ; ) { + let t4 = e3.charCodeAt(n3++), i4 = false; + if (126 == t4) { + r2 = 65535; + break; + } + t4 >= 92 && t4--, t4 >= 34 && t4--; + let o3 = t4 - 32; + if (o3 >= 46 && (o3 -= 46, i4 = true), r2 += o3, i4) break; + r2 *= 46; + } + i3 ? i3[o2++] = r2 : i3 = new t3(r2); + } + return i3; + } + class u { + constructor() { + this.start = -1, this.value = -1, this.end = -1, this.extended = -1, this.lookAhead = 0, this.mask = 0, this.context = 0; + } + } + 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 = 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, o2 = this.pos + e3; + for (; o2 < i3.from; ) { + if (!n3) return null; + let e4 = this.ranges[--n3]; + o2 -= i3.from - e4.to, i3 = e4; + } + for (; t3 < 0 ? o2 > i3.to : o2 >= i3.to; ) { + if (n3 == this.ranges.length - 1) return null; + let e4 = this.ranges[++n3]; + o2 += e4.from - i3.to, i3 = e4; + } + return o2; } - get 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; + clipPos(e3) { + if (e3 >= this.range.from && e3 < this.range.to) return e3; + for (let t3 of this.ranges) if (t3.to > e3) return Math.max(e3, t3.from); + return this.end; } - get isJsonSchemaWrapper() { - return true; + peek(e3) { + let t3, i3, n3 = this.chunkOff + e3; + if (n3 >= 0 && n3 < this.chunk.length) t3 = this.pos + e3, i3 = this.chunk.charCodeAt(n3); + else { + let n4 = this.resolveOffset(e3, 1); + if (null == n4) return -1; + if (t3 = n4, t3 >= this.chunk2Pos && t3 < this.chunk2Pos + this.chunk2.length) i3 = this.chunk2.charCodeAt(t3 - this.chunk2Pos); + else { + let e4 = this.rangeIndex, n5 = this.range; + for (; n5.to <= t3; ) n5 = this.ranges[++e4]; + this.chunk2 = this.input.chunk(this.chunk2Pos = t3), t3 + this.chunk2.length > n5.to && (this.chunk2 = this.chunk2.slice(0, n5.to - t3)), i3 = this.chunk2.charCodeAt(0); + } + } + return t3 >= this.token.lookAhead && (this.token.lookAhead = t3 + 1), i3; } - get isErrorSchema() { - return (this._schemaUsage | d.JsonSchemaUsage.error) !== d.JsonSchemaUsage.none; + acceptToken(e3, t3 = 0) { + let i3 = t3 ? this.resolveOffset(t3, -1) : this.pos; + if (null == i3 || i3 < this.token.start) throw new RangeError("Token end out of bounds"); + this.token.value = e3, this.token.end = i3; } - get isInputSchema() { - return (this._schemaUsage | d.JsonSchemaUsage.input) !== d.JsonSchemaUsage.none; + acceptTokenTo(e3, t3) { + this.token.value = e3, this.token.end = t3; } - get isOutputSchema() { - return (this._schemaUsage | d.JsonSchemaUsage.output) !== d.JsonSchemaUsage.none; + getChunk() { + if (this.pos >= this.chunk2Pos && this.pos < this.chunk2Pos + this.chunk2.length) { + let { chunk: e3, chunkPos: t3 } = this; + this.chunk = this.chunk2, this.chunkPos = this.chunk2Pos, this.chunk2 = e3, this.chunk2Pos = t3, this.chunkOff = this.pos - this.chunkPos; + } else { + this.chunk2 = this.chunk, this.chunk2Pos = this.chunkPos; + let e3 = this.input.chunk(this.pos), t3 = this.pos + e3.length; + this.chunk = t3 > this.range.to ? e3.slice(0, this.range.to - this.pos) : e3, this.chunkPos = this.pos, this.chunkOff = 0; + } } - get schemaSource() { - return this._schemaSource; + readNext() { + return this.chunkOff >= this.chunk.length && (this.getChunk(), this.chunkOff == this.chunk.length) ? this.next = -1 : this.next = this.chunk.charCodeAt(this.chunkOff); } - get baseJsonSchemaIdFull() { - return this._baseJsonSchemaIdFull; + advance(e3 = 1) { + for (this.chunkOff += e3; this.pos + e3 >= this.range.to; ) { + if (this.rangeIndex == this.ranges.length - 1) return this.setDone(); + e3 -= this.range.to - this.pos, this.range = this.ranges[++this.rangeIndex], this.pos = this.range.from; + } + return this.pos += e3, this.pos >= this.token.lookAhead && (this.token.lookAhead = this.pos + 1), this.readNext(); } - get baseJsonSchemaIdNoNamespace() { - return this._baseJsonSchemaIdNoNamespace; + setDone() { + return this.pos = this.chunkPos = this.end, this.range = this.ranges[this.rangeIndex = this.ranges.length - 1], this.chunk = "", this.next = -1; } - get trustArchitectTypeHints() { - return this.schemaSource === l.CustomJsonNamespace.architectFlow; + reset(e3, t3) { + 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]; + e3 >= this.chunkPos && e3 < this.chunkPos + this.chunk.length ? this.chunkOff = e3 - this.chunkPos : (this.chunk = "", this.chunkOff = 0), this.readNext(); + } + return this; } - get trustGCTypeHints() { - switch (this.schemaSource) { - case l.CustomJsonNamespace.conversationAttribute: - case l.CustomJsonNamespace.decisionTable: - case l.CustomJsonNamespace.externalContact: - case l.CustomJsonNamespace.structuredParticipantData: - case l.CustomJsonNamespace.worktype: - return true; - default: - return false; + read(e3, t3) { + if (e3 >= this.chunkPos && t3 <= this.chunkPos + this.chunk.length) return this.chunk.slice(e3 - this.chunkPos, t3 - this.chunkPos); + if (e3 >= this.chunk2Pos && t3 <= this.chunk2Pos + this.chunk2.length) return this.chunk2.slice(e3 - this.chunk2Pos, t3 - this.chunk2Pos); + if (e3 >= this.range.from && t3 <= this.range.to) return this.input.read(e3, t3); + let i3 = ""; + for (let n3 of this.ranges) { + if (n3.from >= t3) break; + n3.to > e3 && (i3 += this.input.read(Math.max(n3.from, e3), Math.min(n3.to, t3))); } + return i3; } - setProcessingFailure(e3, t3, i3, n3) { - var r3, o2; - e3.failure = { hierarchy: null === (r3 = e3.jsonSchemaPropertyHierarchy) || void 0 === r3 ? void 0 : r3.concat(), hierarchyStr: null === (o2 = e3.jsonSchemaPropertyHierarchy) || void 0 === o2 ? void 0 : o2.join("/"), code: t3, displayStr: i3, logStr: n3 }; + } + class p { + constructor(e3, t3) { + this.data = e3, this.id = t3; } - setProcessingWarning(e3, t3, i3, n3) { - var r3, o2; - e3.warning = { hierarchy: null === (r3 = e3.jsonSchemaPropertyHierarchy) || void 0 === r3 ? void 0 : r3.concat(), hierarchyStr: null === (o2 = e3.jsonSchemaPropertyHierarchy) || void 0 === o2 ? void 0 : o2.join("/"), code: t3, displayStr: i3, logStr: n3 }; + token(e3, t3) { + let { parser: i3 } = t3.p; + h(this.data, e3, t3, this.id, i3.data, i3.tokenPrecTable); } - get dynamicSchemaServiceSchemaVersion() { - var e3; - if (this.trustGCTypeHints) return r2.default.isActualNumber(null === (e3 = this.rawJsonSchema) || void 0 === e3 ? void 0 : e3.version) ? this.rawJsonSchema.version : 1; + } + p.prototype.contextual = p.prototype.fallback = p.prototype.extend = false; + class _ { + constructor(e3, t3, i3) { + this.precTable = t3, this.elseToken = i3, this.data = "string" == typeof e3 ? l(e3) : e3; } - checkParsedReturnType(e3, t3, i3, n3, r3) { - const a2 = n3.getType(i3.dataTypeId, i3.isCollection); - if (a2) { - if (null == t3 ? void 0 : t3.isCommonModuleFlow) { - if (!t3.destinationFlowTypes.find((e4) => !a2.isAvailableForFlowType(e4))) return i3; - } else if (!t3 || a2.isAvailableForFlowType(t3.type)) return 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)); + token(e3, t3) { + let i3 = e3.pos, n3 = 0; + for (; ; ) { + let i4 = e3.next < 0, o2 = e3.resolveOffset(1, 1); + if (h(this.data, e3, t3, 0, this.data, this.precTable), e3.token.value > -1) break; + if (null == this.elseToken) return; + if (i4 || n3++, null == o2) break; + e3.reset(o2, e3.token); + } + n3 && (e3.reset(i3, e3.token), e3.acceptToken(this.elseToken, n3)); } - processDataTypeDefinitionsForSchema(e3, t3, i3, n3, l2, d2, p2, g2, T2) { - var y, S, A; - if (l2 && !e3.failure) try { - e3.jsonSchemaPropertyHierarchy.push(i3); - 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") ? (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 (!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], 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], 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/") || 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 >> ${O}`, i4, n4, d2, p2, true, O); - return a2 && (v.dataTypeId = a2.dataTypeId, v.isCollection = v.isCollection || a2.isCollection), v; + } + function h(e3, t3, i3, n3, o2, r2) { + let a2 = 0, s2 = 1 << n3, { dialect: l2 } = i3.p.parser; + e: for (; 0 != (s2 & e3[a2]); ) { + let i4 = e3[a2 + 1]; + for (let n5 = a2 + 3; n5 < i4; n5 += 2) if ((e3[n5 + 1] & s2) > 0) { + let i5 = e3[n5]; + if (l2.allows(i5) && (-1 == t3.token.value || t3.token.value == i5 || g(i5, t3.token.value, o2, r2))) { + t3.acceptToken(i5); + break; } - if (!v.dataTypeId) { - switch (l2.type) { - case "boolean": - v.dataTypeId = m.expressionTypeNames.boolean; - break; - case "number": - v.dataTypeId = m.expressionTypeNames.decimal; - break; - case "string": - v.dataTypeId = m.expressionTypeNames.string; - break; - case "integer": - v.dataTypeId = (null === (y = e3.settings) || void 0 === y ? void 0 : y.convertGCTypesToArchitectTypes) ? m.expressionTypeNames.integer : m.expressionTypeNames.decimal; - break; - case "array": - 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; + } + 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 o3 = u2 + c2 >> 1, r3 = i4 + o3 + (o3 << 1), s3 = e3[r3], l3 = e3[r3 + 1] || 65536; + if (n4 < s3) c2 = o3; + else { + if (!(n4 >= l3)) { + a2 = e3[r3 + 2], t3.advance(); + continue e; + } + u2 = o3 + 1; } - if (v.dataTypeId) return this.checkParsedReturnType(e3, t3, v, d2, i3); - } - const I = this._getDataTypeDefViewModelForObject(l2, e3, t3, i3, n3, d2, p2); - if (I) return I; - let C = h.createCustomJsonExpressionDataTypeStr(this.schemaSource, this.baseJsonSchemaIdNoNamespace); - if ("object" === l2.type) { - let e4 = null === (A = l2.title) || void 0 === A ? void 0 : A.replace(/ /g, "_SPACE_"); - e4 = e4 || n3, C += `_${e4}`; } - 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 || "", 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(); - } - } - createDataTypeDefViewModelsForJsonSchema(e3, t3, i3) { - var n3; - const r3 = { customDataTypeDefs: {}, jsonSchemaPropertyHierarchy: [], rootDataTypeDefId: void 0, settings: i3 || { convertGCTypesToArchitectTypes: true } }; - let o2; - 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); - } - try { - 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) { - T.exception(e4, "Exception caught processing a JSON schema with the JSON schema wrapper."), r3.failure || this.setProcessingFailure(r3, u.JsonSchemaProcessingFailure.failureGeneric, _.jsonSchemaProcessing.schemaUnableToProcess); + break; } - return delete r3.jsonSchemaPropertyHierarchy, r3; - } - checkCanBeUsedInArchitect(e3) { - return { processingResult: this.createDataTypeDefViewModelsForJsonSchema(e3) }; - } - _getExpressionTypeForJsonSchemaDatetimeType(e3) { - return e3 ? m.expressionTypeNames.dateTime : m.expressionTypeNames.string; - } - _getExpressionTypeForJsonSchemaDateType(e3, t3, i3) { - return e3 ? t3.getType(m.expressionTypeNames.date).isAvailableForFlowType(i3) ? m.expressionTypeNames.date : m.expressionTypeNames.dateTime : m.expressionTypeNames.string; + a2 = e3[i4 + 3 * c2 - 1]; } - _getDataTypeDefViewModelForObject(e3, t3, i3, n3, r3, o2, s2) { - const l2 = this._getFirstPropertyNameIfOnlyOneProperty(e3); - 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 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; - 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 '${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, c2); - if (_2) return this.checkParsedReturnType(t3, i3, _2, o2, n3); - a.warn(`Failed to resolve data type for referenced type '#/definitions/${d2.join("/")}'`); + } + function m(e3, t3, i3) { + for (let n3, o2 = t3; 65535 != (n3 = e3[o2]); o2++) if (n3 == i3) return o2 - t3; + return -1; + } + function g(e3, t3, i3, n3) { + let o2 = m(i3, n3, t3); + return o2 < 0 || m(i3, n3, e3) < o2; + } + _.prototype.contextual = p.prototype.fallback = p.prototype.extend = false; + const f = "undefined" != typeof process && process.env && /\bparse\b/.test(process.env.LOG); + let T = null; + function y(e3, t3, i3) { + let o2 = e3.cursor(n2.IterMode.IncludeAnonymous); + for (o2.moveTo(t3); ; ) if (!(i3 < 0 ? o2.childBefore(t3) : o2.childAfter(t3))) for (; ; ) { + if ((i3 < 0 ? o2.to < t3 : o2.from > t3) && !o2.type.isError) return i3 < 0 ? Math.max(0, Math.min(o2.to - 1, t3 - 25)) : Math.min(e3.length, Math.max(o2.from + 1, t3 + 25)); + if (i3 < 0 ? o2.prevSibling() : o2.nextSibling()) break; + if (!o2.parent()) return i3 < 0 ? 0 : e3.length; } - _getFirstPropertyNameIfOnlyOneProperty(e3) { - const t3 = Object.keys(e3.properties); - if (e3 && "object" === e3.type && e3.properties && "object" == typeof e3.properties && 1 === t3.length && this.trustGCTypeHints) return t3[0]; + } + class S { + constructor(e3, t3) { + this.fragments = e3, this.nodeSet = t3, this.i = 0, this.fragment = null, this.safeFrom = -1, this.safeTo = -1, this.trees = [], this.start = [], this.index = [], this.nextFragment(); } - _extractDssRefPathValue(e3) { - 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; + nextFragment() { + let e3 = this.fragment = this.i == this.fragments.length ? null : this.fragments[this.i++]; + if (e3) { + for (this.safeFrom = e3.openStart ? y(e3.tree, e3.from + e3.offset, 1) - e3.offset : e3.from, this.safeTo = e3.openEnd ? y(e3.tree, e3.to + e3.offset, -1) - e3.offset : e3.to; this.trees.length; ) this.trees.pop(), this.start.pop(), this.index.pop(); + this.trees.push(e3.tree), this.start.push(-e3.offset), this.index.push(0), this.nextStart = this.safeFrom; + } else this.nextStart = 1e9; } - _getTypeDefinitionForDssRef(e3, t3, i3, n3, r3) { - 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 }; - case "#/definitions/currency": - return { dataTypeId: m.expressionTypeNames.currency }; - case "#/definitions/date": - return { dataTypeId: this._getExpressionTypeForJsonSchemaDateType(null === (s2 = t3.settings) || void 0 === s2 ? void 0 : s2.convertGCTypesToArchitectTypes, i3, null == n3 ? void 0 : n3.type) }; - case "#/definitions/datetime": - return { dataTypeId: this._getExpressionTypeForJsonSchemaDatetimeType(null === (l2 = t3.settings) || void 0 === l2 ? void 0 : l2.convertGCTypesToArchitectTypes) }; - case "#/definitions/enum": - case "#/definitions/identifier": - case "#/definitions/longtext": - case "#/definitions/text": - case "#/definitions/url": - return { dataTypeId: m.expressionTypeNames.string }; - case "#/definitions/integer": - 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": - case "#/definitions/stringList": - case "#/definitions/list": - return { dataTypeId: m.expressionTypeNames.string, isCollection: true }; - case "#/definitions/queue": - return { dataTypeId: m.expressionTypeNames.queue }; - default: - return e3 || a.warn("Unrecognized DSS type definition encountered", { refDefinition: e3, message: "Attempted to process DSS type based on schema ref but found no matching case. Is this a new type that needs to be handled?", context: { processingInfo: t3, expressionTypeGroup: i3, parentFlowType: null == n3 ? void 0 : n3.type } }), { dataTypeId: void 0 }; + nodeAt(e3) { + if (e3 < this.nextStart) return null; + for (; this.fragment && this.safeTo <= e3; ) this.nextFragment(); + if (!this.fragment) return null; + for (; ; ) { + let t3 = this.trees.length - 1; + if (t3 < 0) return this.nextFragment(), null; + let i3 = this.trees[t3], o2 = this.index[t3]; + if (o2 == i3.children.length) { + this.trees.pop(), this.start.pop(), this.index.pop(); + continue; + } + let r2 = i3.children[o2], a2 = this.start[t3] + i3.positions[o2]; + if (a2 > e3) return this.nextStart = a2, null; + if (r2 instanceof n2.Tree) { + if (a2 == e3) { + if (a2 < this.safeFrom) return null; + let e4 = a2 + r2.length; + if (e4 <= this.safeTo) { + let t4 = r2.prop(n2.NodeProp.lookAhead); + if (!t4 || e4 + t4 < this.fragment.to) return r2; + } + } + this.index[t3]++, a2 + r2.length >= Math.max(this.safeFrom, e3) && (this.trees.push(r2), this.start.push(a2), this.index.push(0)); + } else this.index[t3]++, this.nextStart = a2 + r2.length; } } - }; - }, 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), 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 { + } + class A { 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 } }); - } - get asrCompanyDir() { - return this.speechRecCompanyDirectory.text === a.default.true ? this.disableAsrCompanyDirectory.text !== a.default.true ? p.default.entireFlow : null : this.disableAsrCompanyDirectory.text === a.default.true ? p.default.none : p.default.startUpObject; - } - get hasRecordingSettingsOnly() { - return !this._supportsDefaultSpeechSettings && !this._supportsCompanyDirectory && !this._supportsDisableASR; + this.stream = t3, this.tokens = [], this.mainToken = null, this.actions = [], this.tokens = e3.tokenizers.map((e4) => new u()); } - get id() { - return "speechRecognition"; + getActions(e3) { + let t3 = 0, i3 = null, { parser: n3 } = e3.p, { tokenizers: o2 } = n3, r2 = n3.stateSlot(e3.state, 3), a2 = e3.curContext ? e3.curContext.hash : 0, s2 = 0; + for (let n4 = 0; n4 < o2.length; n4++) { + if (!(1 << n4 & r2)) continue; + let l2 = o2[n4], u2 = this.tokens[n4]; + if ((!i3 || l2.fallback) && ((l2.contextual || u2.start != e3.pos || u2.mask != r2 || u2.context != a2) && (this.updateCachedToken(u2, l2, e3), u2.mask = r2, u2.context = a2), u2.lookAhead > u2.end + 25 && (s2 = Math.max(u2.lookAhead, s2)), 0 != u2.value)) { + let n5 = t3; + if (u2.extended > -1 && (t3 = this.addActions(e3, u2.extended, u2.end, t3)), t3 = this.addActions(e3, u2.value, u2.end, t3), !l2.extend && (i3 = u2, t3 > n5)) break; + } + } + for (; this.actions.length > t3; ) this.actions.pop(); + return s2 && e3.setLookAhead(s2), i3 || e3.pos != this.stream.end || (i3 = new u(), i3.value = e3.p.parser.eofTerm, i3.start = i3.end = e3.pos, t3 = this.addActions(e3, i3.value, i3.end, t3)), this.mainToken = i3, this.actions; } - get showInFlowSize() { - return false; + getMainToken(e3) { + if (this.mainToken) return this.mainToken; + let t3 = new u(), { pos: i3, p: n3 } = e3; + return t3.start = i3, t3.end = Math.min(i3 + 1, n3.stream.end), t3.value = i3 == n3.stream.end ? n3.parser.eofTerm : 0, t3; } - get className() { - return "SpeechRecSettingsViewModel"; + updateCachedToken(e3, t3, i3) { + let n3 = this.stream.clipPos(i3.pos); + if (t3.token(this.stream.reset(n3, e3), i3), e3.value > -1) { + let { parser: t4 } = i3.p; + for (let n4 = 0; n4 < t4.specialized.length; n4++) if (t4.specialized[n4] == e3.value) { + let o2 = t4.specializers[n4](this.stream.read(e3.start, e3.end), i3); + if (o2 >= 0 && i3.p.parser.dialect.allows(o2 >> 1)) { + 1 & o2 ? e3.extended = o2 >> 1 : e3.value = o2 >> 1; + break; + } + } + } else e3.value = 0, e3.end = this.stream.clipPos(n3 + 1); } - getDisplayName() { - return this.parentFlow.definition.supportsRecordingSettings ? this.hasRecordingSettingsOnly ? S.generic.recording : S.speechRec.suppressCallRecordingLabel : S.speechRec.label; + putAction(e3, t3, i3, n3) { + for (let t4 = 0; t4 < n3; t4 += 3) if (this.actions[t4] == e3) return n3; + return this.actions[n3++] = e3, this.actions[n3++] = t3, this.actions[n3++] = i3, n3; } - getConfiguration(e3, t3) { - if (null == t3 ? void 0 : t3.isForFlowYaml) { - const i3 = {}; - return this._supportsDefaultSpeechSettings && (i3.completeMatchTimeout = this.speechRecTimeoutComplete.getConfiguration(e3, t3), i3.incompleteMatchTimeout = this.speechRecTimeoutIncomplete.getConfiguration(e3, t3), i3.maxSpeechLengthTimeout = this.speechRecTimeoutTotal.getConfiguration(e3, t3), i3.minConfidenceLevel = this.speechRecMinConfidence.getConfiguration(e3, t3)), this.isFlowSettings && (this._supportsCompanyDirectory && (i3.asrCompanyDir = this.asrCompanyDir), this._supportsDisableASR && (i3.asrEnabledOnFlow = this.disableAsr.text !== a.default.true), this._canSuppressCallRecordings && (i3.suppressRecording = this.suppressRecording.text === a.default.true)), i3; + addActions(e3, t3, i3, n3) { + let { state: o2 } = e3, { parser: r2 } = e3.p, { data: a2 } = r2; + for (let e4 = 0; e4 < 2; e4++) for (let s2 = r2.stateSlot(o2, e4 ? 2 : 1); ; s2 += 3) { + if (65535 == a2[s2]) { + if (1 != a2[s2 + 1]) { + 0 == n3 && 2 == a2[s2 + 1] && (n3 = this.putAction(b(a2, s2 + 2), t3, i3, n3)); + break; + } + s2 = b(a2, s2 + 2); + } + a2[s2] == t3 && (n3 = this.putAction(b(a2, s2 + 1), t3, i3, n3)); } - this.isFlowSettings && (e3.defaultSettings || (e3.defaultSettings = new T()), e3.defaultSettings.SpeechRec || (e3.defaultSettings.SpeechRec = {}), e3.speechRecCompanyDirectory = this.speechRecCompanyDirectory.getConfiguration(e3, t3), e3.disableAsr = this.disableAsr.getConfiguration(e3, t3), e3.disableAsrCompanyDirectory = this.disableAsrCompanyDirectory.getConfiguration(e3, t3), e3.speechRecEngine = this.speechRecEngine.getConfiguration(e3, t3), e3.suppressRecording = this.suppressRecording.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecMinConfidence = this.speechRecMinConfidence.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecTimeoutComplete = this.speechRecTimeoutComplete.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecTimeoutIncomplete = this.speechRecTimeoutIncomplete.getConfiguration(e3, t3), e3.defaultSettings.SpeechRec.speechRecTimeoutTotal = this.speechRecTimeoutTotal.getConfiguration(e3, t3)); - } - get isSpeechRecNode() { - return true; + return n3; } - setNewInstanceDefaults() { - this._canSuppressCallRecordings && this.suppressRecording.setAsLiteral(this._suppressCallRecordingsDefaultValue ? a.default.true : a.default.false); + } + 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 d(t3, n3), this.tokens = new A(e3, this.stream), this.topTerm = e3.top[1]; + let { from: r2 } = n3[0]; + this.stacks = [o.start(this, e3.top[0], r2)], this.fragments = i3.length && this.stream.end - r2 > 4 * e3.bufferLength ? new S(i3, e3.nodeSet) : null; } - 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 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 parsedPos() { + return this.minStackPos; } - get nodeGuxIcon() { - return this.hasRecordingSettingsOnly ? d.default.record : d.default.speechRec; + advance() { + let e3, t3, i3 = this.stacks, n3 = this.minStackPos, o2 = this.stacks = []; + if (this.bigReductionCount > 300 && 1 == i3.length) { + let [e4] = i3; + for (; e4.forceReduce() && e4.stack.length && e4.stack[e4.stack.length - 2] >= this.lastBigReductionStart; ) ; + this.bigReductionCount = this.lastBigReductionSize = 0; + } + for (let r2 = 0; r2 < i3.length; r2++) { + let a2 = i3[r2]; + for (; ; ) { + if (this.tokens.mainToken = null, a2.pos > n3) o2.push(a2); + else { + if (this.advanceStack(a2, o2, i3)) continue; + { + e3 || (e3 = [], t3 = []), e3.push(a2); + let i4 = this.tokens.getMainToken(a2); + t3.push(i4.value, i4.end); + } + } + break; + } + } + if (!o2.length) { + let t4 = e3 && (function(e4) { + let t5 = null; + for (let i4 of e4) { + let e5 = i4.p.stoppedAt; + (i4.pos == i4.p.stream.end || null != e5 && i4.pos > e5) && i4.p.parser.stateFlag(i4.state, 2) && (!t5 || t5.score < i4.score) && (t5 = i4); + } + return t5; + })(e3); + if (t4) return f && console.log("Finish with " + this.stackID(t4)), this.stackToTree(t4); + if (this.parser.strict) throw f && e3 && console.log("Stuck with token " + (this.tokens.mainToken ? this.parser.getName(this.tokens.mainToken.value) : "none")), new SyntaxError("No parse at " + n3); + this.recovering || (this.recovering = 5); + } + if (this.recovering && e3) { + let i4 = null != this.stoppedAt && e3[0].pos > this.stoppedAt ? e3[0] : this.runRecovery(e3, t3, o2); + if (i4) return f && console.log("Force-finish " + this.stackID(i4)), this.stackToTree(i4.forceAll()); + } + if (this.recovering) { + let e4 = 1 == this.recovering ? 1 : 3 * this.recovering; + if (o2.length > e4) for (o2.sort((e5, t4) => t4.score - e5.score); o2.length > e4; ) o2.pop(); + o2.some((e5) => e5.reducePos > n3) && this.recovering--; + } else if (o2.length > 1) { + e: for (let e4 = 0; e4 < o2.length - 1; e4++) { + let t4 = o2[e4]; + for (let i4 = e4 + 1; i4 < o2.length; i4++) { + let n4 = o2[i4]; + if (t4.sameState(n4) || t4.buffer.length > 500 && n4.buffer.length > 500) { + if (!((t4.score - n4.score || t4.buffer.length - n4.buffer.length) > 0)) { + o2.splice(e4--, 1); + continue e; + } + o2.splice(i4--, 1); + } + } + } + o2.length > 12 && (o2.sort((e4, t4) => t4.score - e4.score), o2.splice(12, o2.length - 12)); + } + this.minStackPos = o2[0].pos; + for (let e4 = 1; e4 < o2.length; e4++) o2[e4].pos < this.minStackPos && (this.minStackPos = o2[e4].pos); + return null; } - get helpTopic() { - return this.parentFlow.isVoiceSurveyFlow ? g.helpTopics.treeNodes.speechRecConfigVoiceSurvey : g.helpTopics.treeNodes.speechRecConfig; + stopAt(e3) { + if (null != this.stoppedAt && this.stoppedAt < e3) throw new RangeError("Can't move stoppedAt forward"); + this.stoppedAt = e3; } - search(e3) { - this.isFlowSettings && e3.addToQueue(this.speechRecCompanyDirectory), this.isFlowSettings && e3.addToQueue(this.disableAsr), this.isFlowSettings && e3.addToQueue(this.disableAsrCompanyDirectory), this.isFlowSettings && e3.addToQueue(this.suppressRecording), e3.addToQueue(this.speechRecMinConfidence), e3.addToQueue(this.speechRecTimeoutComplete), e3.addToQueue(this.speechRecTimeoutIncomplete), e3.addToQueue(this.speechRecTimeoutTotal); + advanceStack(e3, t3, i3) { + let o2 = e3.pos, { parser: r2 } = this, a2 = f ? this.stackID(e3) + " -> " : ""; + if (null != this.stoppedAt && o2 > this.stoppedAt) return e3.forceReduce() ? e3 : null; + if (this.fragments) { + let t4 = e3.curContext && e3.curContext.tracker.strict, i4 = t4 ? e3.curContext.hash : 0; + for (let s3 = this.fragments.nodeAt(o2); s3; ) { + let o3 = this.parser.nodeSet.types[s3.type.id] == s3.type ? r2.getGoto(e3.state, s3.type.id) : -1; + if (o3 > -1 && s3.length && (!t4 || (s3.prop(n2.NodeProp.contextHash) || 0) == i4)) return e3.useNode(s3, o3), f && console.log(a2 + this.stackID(e3) + ` (via reuse of ${r2.getName(s3.type.id)})`), true; + if (!(s3 instanceof n2.Tree) || 0 == s3.children.length || s3.positions[0] > 0) break; + let l3 = s3.children[0]; + if (!(l3 instanceof n2.Tree && 0 == s3.positions[0])) break; + s3 = l3; + } + } + let s2 = r2.stateSlot(e3.state, 4); + if (s2 > 0) return e3.reduce(s2), f && console.log(a2 + this.stackID(e3) + ` (via always-reduce ${r2.getName(65535 & s2)})`), true; + 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++], 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 ${r2.getName(65535 & s3)}` : "shift"} for ${r2.getName(u2)} @ ${o2}${p2 == e3 ? "" : ", split"})`), d2) return true; + p2.pos > o2 ? t3.push(p2) : i3.push(p2); + } + return false; } - validateLanguageSpeechRecSupport(e3) { - const t3 = this.getUnsupportedLanguageError(); - t3 && e3.addError(this, t3); + advanceFully(e3, t3) { + let i3 = e3.pos; + for (; ; ) { + if (!this.advanceStack(e3, null, null)) return false; + if (e3.pos > i3) return v(e3, t3), true; + } } - validate(e3) { - this.speechRecCompanyDirectory && this.speechRecCompanyDirectory.validate(e3), this.disableAsr && this.disableAsr.validate(e3), this.disableAsrCompanyDirectory && this.disableAsrCompanyDirectory.validate(e3), this.suppressRecording && this.suppressRecording.validate(e3), this._supportsDefaultSpeechSettings && (this.speechRecMinConfidence.validate(e3), this.speechRecTimeoutComplete.validate(e3), this.speechRecTimeoutIncomplete.validate(e3), this.speechRecTimeoutTotal.validate(e3)); + runRecovery(e3, t3, i3) { + let n3 = null, o2 = false; + for (let r2 = 0; r2 < e3.length; r2++) { + let a2 = e3[r2], s2 = t3[r2 << 1], l2 = t3[1 + (r2 << 1)], u2 = f ? this.stackID(a2) + " -> " : ""; + if (a2.deadEnd) { + if (o2) continue; + if (o2 = true, a2.restart(), f && console.log(u2 + this.stackID(a2) + " (restarted)"), this.advanceFully(a2, i3)) continue; + } + 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)})`), v(a2, i3)) : (!n3 || n3.score < c2.score) && (n3 = c2); + } + return n3; } - get wrappedYamlName() { - return "settingsSpeechRec"; + stackToTree(e3) { + return e3.close(), n2.Tree.build({ buffer: s.create(e3), nodeSet: this.parser.nodeSet, topID: this.topTerm, maxBufferLength: this.parser.bufferLength, reused: this.reused, start: this.ranges[0].from, length: e3.pos - this.ranges[0].from, minRepeatType: this.parser.minRepeatTerm }); } - _destroy() { - super._destroy(), this.speechRecCompanyDirectory && this.speechRecCompanyDirectory.destroy(), this.disableAsr && this.disableAsr.destroy(), this.disableAsrCompanyDirectory && this.disableAsrCompanyDirectory.destroy(), this.suppressRecording && this.suppressRecording.destroy(), this.speechRecMinConfidence && this.speechRecMinConfidence.destroy(), this.speechRecTimeoutComplete && this.speechRecTimeoutComplete.destroy(), this.speechRecTimeoutIncomplete && this.speechRecTimeoutIncomplete.destroy(), this.speechRecTimeoutTotal && this.speechRecTimeoutTotal.destroy(), this.speechRecEngine && this.speechRecEngine.destroy(); + stackID(e3) { + let t3 = (T || (T = /* @__PURE__ */ new WeakMap())).get(e3); + return t3 || T.set(e3, t3 = String.fromCodePoint(this.nextStackID++)), t3 + e3; } - _initializeDesignTime() { - super._initializeDesignTime(), this.speechRecMinConfidence.initializeDesignTime(), this.speechRecTimeoutComplete.initializeDesignTime(), this.speechRecTimeoutIncomplete.initializeDesignTime(), this.speechRecTimeoutTotal.initializeDesignTime(), this.speechRecCompanyDirectory && this.speechRecCompanyDirectory.initializeDesignTime(), this.disableAsrCompanyDirectory && this.disableAsrCompanyDirectory.initializeDesignTime(), this.disableAsr && this.disableAsr.initializeDesignTime(), this.suppressRecording && this.suppressRecording.initializeDesignTime(); + } + 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)); } - enableSpeechRecChanged(e3) { - this.disableAsr.setAsLiteral(e3 ? a.default.false : a.default.true), this.disableAsrCompanyDirectory.outOfService = !e3, this.speechRecCompanyDirectory.outOfService = !e3 || !this._supportsCompanyDirectory; + t3.push(e3); + } + class I { + constructor(e3, t3, i3) { + this.source = e3, this.flags = t3, this.disabled = i3; } - _prepareModel(e3, t3, i3) { - const n3 = this.isFlowSettings ? e3.defaultSettings : e3; - return this.isFlowSettings ? (n3.SpeechRec || (n3.SpeechRec = {}), n3.SpeechRec[t3] && !o.default.isEmpty(n3.SpeechRec[t3]) || (n3.SpeechRec[t3] = i3 || new y()), n3.SpeechRec[t3]) : (n3[t3] && !o.default.isEmpty(n3[t3]) || (n3[t3] = i3 || new y()), n3[t3]); + allows(e3) { + return !this.disabled || 0 == this.disabled[e3]; } - getUnsupportedLanguageError() { - if (!this.disableAsr || this.disableAsr.text === a.default.true || !this.disableAsrCompanyDirectory || this.disableAsrCompanyDirectory.text === a.default.true) return; - const e3 = o.default.filter(this.parentFlow.supportedLanguageOptions, (e4) => !h.supportsSpeechRecForFlowType(e4.language, this.parentFlow.type)), t3 = e3.length > 1 ? S.speechRec.companyDirectoryNotSupportedPlural : S.speechRec.companyDirectoryNotSupportedSingle, i3 = _.getListDisplayString(o.default.map(e3, (e4) => h.getLanguageNameAndCodeDisplay(e4.language))); - return e3.length > 0 ? (0, r2.sprintf)(t3, i3) : ""; + } + const C = (e3) => e3; + class O 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)`); + let t3 = e3.nodeNames.split(" "); + this.minRepeatTerm = t3.length; + for (let i4 = 0; i4 < e3.repeatNodeCount; i4++) t3.push(""); + let i3 = Object.keys(e3.topRules).map((t4) => e3.topRules[t4][1]), o2 = []; + for (let e4 = 0; e4 < t3.length; e4++) o2.push([]); + function r2(e4, t4, i4) { + o2[e4].push([t4, t4.deserialize(String(i4))]); + } + if (e3.nodeProps) for (let t4 of e3.nodeProps) { + let e4 = t4[0]; + "string" == typeof e4 && (e4 = n2.NodeProp[e4]); + for (let i4 = 1; i4 < t4.length; ) { + let n3 = t4[i4++]; + if (n3 >= 0) r2(n3, e4, t4[i4++]); + else { + let o3 = t4[i4 + -n3]; + for (let a3 = -n3; a3 > 0; a3--) r2(t4[i4++], e4, o3); + i4++; + } + } + } + this.nodeSet = new n2.NodeSet(t3.map((t4, r3) => n2.NodeType.define({ name: r3 >= this.minRepeatTerm ? void 0 : t4, id: r3, props: o2[r3], top: i3.indexOf(r3) > -1, error: 0 == r3, skipped: e3.skippedNodes && e3.skippedNodes.indexOf(r3) > -1 }))), e3.propSources && (this.nodeSet = this.nodeSet.extend(...e3.propSources)), this.strict = false, this.bufferLength = n2.DefaultBufferLength; + let a2 = l(e3.tokenData); + this.context = e3.context, this.specializerSpecs = e3.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length); + for (let e4 = 0; e4 < this.specializerSpecs.length; e4++) this.specialized[e4] = this.specializerSpecs[e4].term; + this.specializers = this.specializerSpecs.map(E), this.states = l(e3.states, Uint32Array), this.data = l(e3.stateData), this.goto = l(e3.goto), this.maxTerm = e3.maxTerm, this.tokenizers = e3.tokenizers.map((e4) => "number" == typeof e4 ? new p(a2, e4) : e4), this.topRules = e3.topRules, this.dialects = e3.dialects || {}, this.dynamicPrecedences = e3.dynamicPrecedences || null, this.tokenPrecTable = e3.tokenPrec, this.termNames = e3.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]]; } - _getDisableWithSpeechRecError() { - if (this.disableAsr.text !== a.default.false) return o.default.any(this.parentFlow.menus, (e3) => { - if (!e3.isHidden) return o.default.any(e3.choices, (e4) => e4.speechRecTerms.hasTermsAny()); - }) && this.disableAsr.text === a.default.true ? S.speechRec.errorSpeechRecDisabledWithSpeechRec : void 0; + createParse(e3, t3, i3) { + let n3 = new N(this, e3, t3, i3); + for (let o2 of this.wrappers) n3 = o2(n3, e3, t3, i3); + return n3; } - _getDisableEnableError() { - const e3 = this.disableAsr.text === a.default.true, t3 = this.speechRecCompanyDirectory.text === a.default.true; - if (e3 && t3) return S.speechRec.errorSpeechRecEnabledDisabled; + getGoto(e3, t3, i3 = false) { + let n3 = this.goto; + if (t3 >= n3[0]) return -1; + for (let o2 = n3[t3 + 1]; ; ) { + let t4 = n3[o2++], r2 = 1 & t4, a2 = n3[o2++]; + if (r2 && i3) return a2; + for (let i4 = o2 + (t4 >> 1); o2 < i4; o2++) if (n3[o2] == e3) return a2; + if (r2) return -1; + } } - setCompanyDirectoryHandling(e3, t3) { - this.speechRecCompanyDirectory.setAsLiteral(e3), this.disableAsrCompanyDirectory.setAsLiteral(t3), (0, m.validateNode)(this); + hasAction(e3, t3) { + let i3 = this.data; + for (let n3 = 0; n3 < 2; n3++) for (let o2, r2 = this.stateSlot(e3, n3 ? 2 : 1); ; r2 += 3) { + if (65535 == (o2 = i3[r2])) { + if (1 != i3[r2 + 1]) { + if (2 == i3[r2 + 1]) return b(i3, r2 + 2); + break; + } + o2 = i3[r2 = b(i3, r2 + 2)]; + } + if (o2 == t3 || 0 == o2) return b(i3, r2 + 1); + } + return 0; } - } - t2.default = A; - }, 99054: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.startWith = void 0; - var n2 = i2(39546), r2 = i2(26404), o = i2(65212); - t2.startWith = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - var i3 = r2.popScheduler(e3); - return o.operate(function(t4, r3) { - (i3 ? n2.concat(e3, t4, i3) : n2.concat(e3, t4)).subscribe(r3); - }); - }; - }, 99131: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(61864)), o = n2.__importDefault(i2(46772)), a = i2(73062), s = i2(16958), l = new class { - constructor() { - Object.defineProperties(this, { _categories: { value: {} } }); + stateSlot(e3, t3) { + return this.states[6 * e3 + t3]; } - initialize() { - this.addCategory(new o.default(a.builderCategoryIds.email, s.categories.emailName, s.categories.emailDesc, r2.default.emailEnvelope)), this.addCategory(new o.default(a.builderCategoryIds.stringParsing, s.categories.stringParsingName, s.categories.stringParsingDesc, r2.default.stringMethods)), this.addCategory(new o.default(a.builderCategoryIds.toolbar, s.categories.stringSequenceName, s.categories.stringSequenceDesc, r2.default.wrench, true)), this.addCategory(new o.default(a.builderCategoryIds.phoneNumber, s.categories.phoneNumber, s.categories.phoneNumberDesc, r2.default.phone)), this.addCategory(new o.default(a.builderCategoryIds.dateTime, s.categories.dateTime, s.categories.dateTimeDesc, r2.default.datetime)), this.addCategory(new o.default(a.builderCategoryIds.markdown, s.categories.markdownName, s.categories.markdownDesc, r2.default.string)), this.addCategory(new o.default(a.builderCategoryIds.prompt, s.categories.prompt, s.categories.promptDesc, r2.default.prompt)), this.addCategory(new o.default(a.builderCategoryIds.container, s.categories.container, s.categories.containerDesc, r2.default.complex)), this.addCategory(new o.default(a.builderCategoryIds.agentScorePair, s.categories.agentScorePair, s.categories.agentScorePairDesc, r2.default.complex)), this.addCategory(new o.default(a.builderCategoryIds.communication, s.categories.communicationName, s.categories.communicationDesc, r2.default.communication)), this.addCategory(new o.default(a.builderCategoryIds.labelString, s.categories.labelStringName, s.categories.labelStringDesc, r2.default.label)); + stateFlag(e3, t3) { + return (this.stateSlot(e3, 0) & t3) > 0; } - get className() { - return "BuilderCategories"; + validAction(e3, t3) { + return !!this.allActions(e3, (e4) => e4 == t3 || null); } - get isBuilderCategories() { - return true; + allActions(e3, t3) { + let i3 = this.stateSlot(e3, 4), n3 = i3 ? t3(i3) : void 0; + for (let i4 = this.stateSlot(e3, 1); null == n3; i4 += 3) { + if (65535 == this.data[i4]) { + if (1 != this.data[i4 + 1]) break; + i4 = b(this.data, i4 + 2); + } + n3 = t3(b(this.data, i4 + 1)); + } + return n3; } - get categories() { - return this._categories; + nextStates(e3) { + let t3 = []; + for (let i3 = this.stateSlot(e3, 1); ; i3 += 3) { + if (65535 == this.data[i3]) { + if (1 != this.data[i3 + 1]) break; + i3 = b(this.data, i3 + 2); + } + if (!(1 & this.data[i3 + 2])) { + let e4 = this.data[i3 + 1]; + t3.some((t4, i4) => 1 & i4 && t4 == e4) || t3.push(this.data[i3], e4); + } + } + return t3; } - addCategory(e3) { - this.categories[e3.id] || (this.categories[e3.id] = e3); + configure(e3) { + let t3 = Object.assign(Object.create(O.prototype), this); + if (e3.props && (t3.nodeSet = this.nodeSet.extend(...e3.props)), e3.top) { + let i3 = this.topRules[e3.top]; + if (!i3) throw new RangeError(`Invalid top rule name ${e3.top}`); + t3.top = i3; + } + return e3.tokenizers && (t3.tokenizers = this.tokenizers.map((t4) => { + let i3 = e3.tokenizers.find((e4) => e4.from == t4); + return i3 ? i3.to : t4; + })), e3.specializers && (t3.specializers = this.specializers.slice(), t3.specializerSpecs = this.specializerSpecs.map((i3, n3) => { + let o2 = e3.specializers.find((e4) => e4.from == i3.external); + if (!o2) return i3; + let r2 = Object.assign(Object.assign({}, i3), { external: o2.to }); + return t3.specializers[n3] = E(r2), r2; + })), e3.contextTracker && (t3.context = e3.contextTracker), e3.dialect && (t3.dialect = this.parseDialect(e3.dialect)), null != e3.strict && (t3.strict = e3.strict), e3.wrap && (t3.wrappers = t3.wrappers.concat(e3.wrap)), null != e3.bufferLength && (t3.bufferLength = e3.bufferLength), t3; } - getCategory(e3) { - return this.categories[e3]; + hasWrappers() { + return this.wrappers.length > 0; } - }(); - t2.default = l; - }, 99163: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635), r2 = n2.__importDefault(i2(94225)), o = i2(92158), a = n2.__importDefault(i2(45894)); - class s extends a.default { - constructor(e3) { - super(e3, o.wrapupCodeManager); + getName(e3) { + return this.termNames ? this.termNames[e3] : String(e3 <= this.maxNode && this.nodeSet.types[e3].name || e3); } - get _globalTypeName() { - return "wrapupCode"; + get eofTerm() { + return this.maxNode + 1; } - get displayTypeName() { - return "ArchValueWrapupCode"; + get topNode() { + return this.nodeSet.types[this.top[1]]; } - get isArchValueWrapupCode() { - return true; + dynamicPrecedence(e3) { + let t3 = this.dynamicPrecedences; + return null == t3 ? 0 : t3[e3] || 0; } - setLiteralByWrapupCodeIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeId", "setLiteralByWrapupCodeIdAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByWrapupCodeIdAsync"), t3, true), this._setLiteralByIdAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByWrapupCodeIdAsync", t3, this)); - }); + parseDialect(e3) { + let t3 = Object.keys(this.dialects), i3 = t3.map(() => false); + if (e3) for (let n4 of e3.split(" ")) { + let e4 = t3.indexOf(n4); + e4 >= 0 && (i3[e4] = true); + } + let n3 = null; + for (let e4 = 0; e4 < t3.length; e4++) if (!i3[e4]) for (let i4, o2 = this.dialects[t3[e4]]; 65535 != (i4 = this.data[o2++]); ) (n3 || (n3 = new Uint8Array(this.maxTerm + 1)))[i4] = 1; + return new I(e3, i3, n3); } - setLiteralByWrapupCodeNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - return this._checkItemIsValidLiteralString(this._infoParm("wrapupCodeName", "setLiteralByWrapupCodeNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setLiteralByWrapupCodeNameAsync"), t3, true), this._setLiteralByValueAsync(e3).then(() => r2.default.executeCallback(this, "setLiteralByWrapupCodeNameAsync", t3, this)); - }); + static deserialize(e3) { + return new O(e3); } } - t2.default = s; - }, 99245: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.queue = t2.queueScheduler = void 0; - var n2 = i2(31983), r2 = i2(32036); - t2.queueScheduler = new r2.QueueScheduler(n2.QueueAction), t2.queue = t2.queueScheduler; - }, 99380: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.iif = void 0; - var n2 = i2(35884); - t2.iif = function(e3, t3, i3) { - return n2.defer(function() { - return e3() ? t3 : i3; - }); - }; - }, 99407: (e2, t2, i2) => { - const n2 = i2(28730), { exitLoopActionType: r2 } = i2(30801); - function o() { - o.baseConstructor.apply(this, arguments); + function b(e3, t3) { + return e3[t3] | e3[t3 + 1] << 16; } - n2.extend(o, r2, true), e2.exports = o; - }, 99423: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); - } - get _globalTypeName() { - return "durationCollection"; - } - get displayTypeName() { - return "ArchValueDurationCollection"; - } - get isArchValueDurationCollection() { - return true; + function E(e3) { + if (e3.external) { + let t3 = e3.extend ? 1 : 0; + return (i3, n3) => e3.external(i3, n3) << 1 | t3; } + return e3.get; } - t2.default = r2; - }, 99431: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.IntegrationList = void 0; - const n2 = i2(31635), r2 = i2(15116), o = i2(37707), a = i2(80295); - class s extends r2.PagedList { + t2.ContextTracker = class { constructor(e3) { - super(e3); - } - get entities() { - return this._entities; - } - set entities(e3) { - this._entities = this.reviveArray(e3, o.Integration); + this.start = e3.start, this.shift = e3.shift || C, this.reduce = e3.reduce || C, this.reuse = e3.reuse || C, this.hash = e3.hash || (() => 0), this.strict = false !== e3.strict; } - } - t2.IntegrationList = s, n2.__decorate([(0, a.enumerable)(true), n2.__metadata("design:type", Array), n2.__metadata("design:paramtypes", [Array])], s.prototype, "entities", null); - }, 99434: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.getDisplayText = function e3(t3, i3) { - var n3, u2; - if (t3.isCollectionExpression) return (function(e4) { - return e4.isExpressionMode ? e4.text : e4.displayValue; - })(t3); - if (i3 || (i3 = t3.parentFlow.getFlowFilterPreviewOptionsExpressionDisplayOptions(t3)), t3.isNoValueMode) return t3.options ? t3.options.getModeNoValueRuntimeEvaluationStrForContext(t3) : void 0; - if (t3.isBuilderMode) { - const e4 = null === (n3 = t3.builder) || void 0 === n3 ? void 0 : n3.getExpressionDetails(i3); - if (e4) return e4; + }, t2.ExternalTokenizer = class { + constructor(e3, t3 = {}) { + this.token = e3, this.contextual = !!t3.contextual, this.fallback = !!t3.fallback, this.extend = !!t3.extend; } - if (null == i3 ? void 0 : i3.richSummary) { - if (!t3.text) return; - if (t3.isVariableMode || t3.isExpressionMode) return t3.text; + }, t2.InputStream = d, t2.LRParser = O, t2.LocalTokenGroup = _, t2.Stack = o; + }, 61154(e2, t2, i2) { + let n2, o, r = i2(76982), { urlAlphabet: a } = i2(97362), s = (e3) => { + if (e3 < 0 || e3 > 1024) throw new RangeError("Wrong ID size"); + try { + !n2 || n2.length < e3 ? (n2 = Buffer.allocUnsafe(128 * e3), r.randomFillSync(n2), o = 0) : o + e3 > n2.length && (r.randomFillSync(n2), o = 0); + } catch (e4) { + throw n2 = void 0, e4; } - if (s.isMatch(t3.type, l.globalTypes.currency, s.settings.exact)) return (function(e4) { - const t4 = /^(-?\d*\.?(\d*)?)\|(\w{3})?$/.exec(e4.text); - if (t4) { - const e5 = t4 ? _[t4[3]] : void 0; - if (t4[1] && e5) try { - 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."); - } - } - return e4.text; - })(t3); - if (s.isMatch(t3.type, l.globalTypes.duration, s.settings.exact)) return (function(e4) { - return a.getSearchStringFromLiteral(e4.text); - })(t3); - if (s.isMatch(t3.type, l.globalTypes.string, s.settings.exact)) return (function(e4, t4) { - return e4.text || (null == t4 ? void 0 : t4.noEmptyText) ? e4.text : h.literal.empty; - })(t3, i3); - if (s.isMatch(t3.type, l.globalTypes.boolean, s.settings.exact)) return (function(e4) { - var t4, i4; - const n4 = e4.options; - return e4.isLiteralMode && e4.text.toLocaleLowerCase() === o.default.true ? (null === (t4 = n4.boolText) || void 0 === t4 ? void 0 : t4.true) || h.boolean.true : e4.isLiteralMode && e4.text.toLocaleLowerCase() === o.default.false ? (null === (i4 = n4.boolText) || void 0 === i4 ? void 0 : i4.false) || h.boolean.false : e4.text; - })(t3); - if (s.isMatch(t3.type, l.globalTypes.prompt, s.settings.exact)) return (function(e4, t4) { - var i4; - 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)(c.default.botFlowsDigitalBotFlowsMultiLingualFeature)) { - const e5 = n4.getResourceForLanguageTag(t4); - if (e5) return e5; - } - return (null == t4 ? void 0 : t4.richSummary) ? `${e4.getEmbeddableExpressionText()}` : `${e4.text} (${n4.isSystem ? h.audio.promptSystem : h.audio.promptUser})`; - } + o += e3; + }, l = (e3) => (s(e3 |= 0), n2.subarray(o - e3, o)), u = (e3, t3, i3) => { + let n3 = (2 << 31 - Math.clz32(e3.length - 1 | 1)) - 1, o2 = Math.ceil(1.6 * n3 * t3 / e3.length); + return (r2 = t3) => { + if (r2 <= 0) return ""; + let a2 = ""; + for (; ; ) { + let t4 = i3(o2), s2 = o2; + for (; s2--; ) if (a2 += e3[t4[s2] & n3] || "", a2.length === r2) return a2; } - return e4.text; - })(t3, i3); - if (s.isMatch(t3.type, l.globalTypes.timeslot, s.settings.exact)) return (function(t4) { - const i4 = t4.type.getPropDateTime(t4), n4 = t4.type.getPropDuration(t4); - return t4.isLiteralMode && i4 && n4 ? `${e3(i4)}|${e3(n4)}` : t4.text; - })(t3); - if (s.isMatch(t3.type, l.globalTypes.lineItem, s.settings.exact)) return (function(t4) { - const i4 = t4.type.getPropListingName(t4), n4 = t4.type.getPropListingPrice(t4); - return t4.isLiteralMode && i4 && n4 ? `${e3(i4)}|${e3(n4)}` : t4.text; - })(t3); - if (t3.type.hasRichLiteralEditor && t3.isLiteralMode) return h.expression.literal; - if (t3.isLiteralMode && t3.text && t3.options && t3.options.isExpressionTypeNetworkObjectOptions) return `${t3.text} (${t3.type.displayString})`; - if (null === (u2 = t3.options) || void 0 === u2 ? void 0 : u2.allowableValues) { - const e4 = t3.options.allowableValues.find((e5) => { - var i4, n4; - return (null === (i4 = e5.id) || void 0 === i4 ? void 0 : i4.toString()) === (null === (n4 = t3.text) || void 0 === n4 ? void 0 : n4.toString()); - }); - if (e4 && e4.displayString) return e4.displayString; - } - 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)), 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; - const n2 = i2(31635), r2 = i2(80295), o = i2(63029), a = i2(55909), s = i2(33951); - class l extends o.BaseOptionsWithOptional { - static create(e3) { - return new this().invokeOptionsCallback(e3); + e2.exports = { nanoid: (e3 = 21) => { + s(e3 |= 0); + let t3 = ""; + for (let i3 = o - e3; i3 < o; i3++) t3 += a[63 & n2[i3]]; + return t3; + }, customAlphabet: (e3, t3 = 21) => u(e3, t3, l), customRandom: u, urlAlphabet: a, random: l }; + }, 97362(e2) { + e2.exports = { urlAlphabet: "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict" }; + }, 92140(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, o = "undefined" != typeof Symbol ? Symbol.prototype : null, r = 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), o2 = 0; o2 < i3; o2++) n3[o2] = arguments[o2 + t4]; + switch (t4) { + case 0: + return e4.call(this, n3); + case 1: + return e4.call(this, arguments[0], n3); + case 2: + return e4.call(this, arguments[0], arguments[1], n3); + } + var r2 = Array(t4 + 1); + for (o2 = 0; o2 < t4; o2++) r2[o2] = arguments[o2]; + return r2[t4] = n3, e4.apply(this, r2); + }; } - constructor() { - super(), this._descriptionInfo = { name: void 0, description: void 0 }, (0, r2.makeUnenumerable)(this, "_dropdownPlaceholder"), (0, r2.makeUnenumerable)(this, "_descriptionInfo"), (0, r2.makeUnenumerable)(this, "_inlineDescription"); + function A(e4) { + var t4 = typeof e4; + return "function" === t4 || "object" === t4 && !!e4; } - _setFromOptions(e3) { - super._setFromOptions(e3), e3.isBaseOptionsWithOptional && (this._setOptionIfSet(this.setDropdownPlaceholder, e3.dropdownPlaceholder, "_dropdownPlaceholder"), this.hasDescriptionInfo && this.setDescriptionInfo(this._descriptionInfo.name, this._descriptionInfo.description), this._setOptionIfSet(this.inlineDescription, e3.inlineDescription, "_inlineDescription")); + function N(e4) { + return void 0 === e4; } - get className() { - return "ManagedPropertyOptions"; + function v(e4) { + return true === e4 || false === e4 || "[object Boolean]" === s.call(e4); } - get isManagedPropertyOptions() { - return true; + function I(e4) { + var t4 = "[object " + e4 + "]"; + return function(e5) { + return s.call(e5) === t4; + }; } - get dropdownPlaceholder() { - return this._dropdownPlaceholder; + var C = I("String"), O = I("Number"), b = I("Date"), E = I("RegExp"), w = I("Error"), R = I("Symbol"), D = I("ArrayBuffer"), P = I("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 = c && (!/\[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) { + return null != e4 && F(e4.getInt8) && D(e4.buffer); + } : V, B = d || I("Array"); + function G(e4, t4) { + return null != e4 && l.call(e4, t4); } - set dropdownPlaceholder(e3) { - this._dropdownPlaceholder = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "_dropdownPlaceholder", "value")); + var j = I("Arguments"); + !(function() { + j(arguments) || (j = function(e4) { + return G(e4, "callee"); + }); + })(); + var q = j; + function W(e4) { + return O(e4) && m(e4); } - setDropdownPlaceholder(e3) { - return this.dropdownPlaceholder = e3, this; + function Y(e4) { + return function() { + return e4; + }; } - get descriptionInfo() { - return this._descriptionInfo; + function H(e4) { + return function(t4) { + var i3 = e4(t4); + return "number" == typeof i3 && i3 >= 0 && i3 <= y; + }; } - setDescriptionInfo(e3, t3) { - return this._descriptionInfo.name = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "setDescriptionInfo", "name"), true), this._descriptionInfo.description = s.ParameterValidator.expectString(t3, () => a.ParameterInfo.createPropertySet(this.className, "setDescriptionInfo", "description"), true), this; + function J(e4) { + return function(t4) { + return null == t4 ? void 0 : t4[e4]; + }; } - get hasDescriptionInfo() { - var e3, t3; - return !(!(null === (e3 = this._descriptionInfo) || void 0 === e3 ? void 0 : e3.name) && !(null === (t3 = this._descriptionInfo) || void 0 === t3 ? void 0 : t3.description)); + 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) { + for (var t5 = {}, i4 = e5.length, n3 = 0; n3 < i4; ++n3) t5[e5[n3]] = true; + return { contains: function(e6) { + return true === t5[e6]; + }, push: function(i5) { + return t5[i5] = true, e5.push(i5); + } }; + })(t4); + var i3 = T.length, o2 = e4.constructor, r2 = F(o2) && o2.prototype || n2, a2 = "constructor"; + for (G(e4, a2) && !t4.contains(a2) && t4.push(a2); i3--; ) (a2 = T[i3]) in e4 && e4[a2] !== r2[a2] && !t4.contains(a2) && t4.push(a2); } - clearDescriptionInfo() { - return this.setDescriptionInfo(void 0, void 0); + function ee(e4) { + if (!A(e4)) return []; + if (p) return p(e4); + var t4 = []; + for (var i3 in e4) G(e4, i3) && t4.push(i3); + return f && Z(e4, t4), t4; } - get inlineDescription() { - return this._inlineDescription; + function te(e4, t4) { + var i3 = ee(t4), n3 = i3.length; + if (null == e4) return !n3; + for (var o2 = Object(e4), r2 = 0; r2 < n3; r2++) { + var a2 = i3[r2]; + if (t4[a2] !== o2[a2] || !(a2 in o2)) return false; + } + return true; } - set inlineDescription(e3) { - this._inlineDescription = s.ParameterValidator.expectString(e3, () => a.ParameterInfo.createPropertySet(this.className, "_inlineDescription", "value")); + function ie(e4) { + return e4 instanceof ie ? e4 : this instanceof ie ? void (this._wrapped = e4) : new ie(e4); } - setInlineDescription(e3) { - return this.inlineDescription = e3, this; + function ne(e4) { + return new Uint8Array(e4.buffer || e4, e4.byteOffset || 0, $(e4)); } - } - t2.ManagedPropertyOptions = l, n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", String), n2.__metadata("design:paramtypes", [Object])], l.prototype, "dropdownPlaceholder", null), n2.__decorate([(0, r2.enumerable)(true), n2.__metadata("design:type", Object), n2.__metadata("design:paramtypes", [])], l.prototype, "descriptionInfo", null); - }, 99472: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.aiPoweredBadgeWithText = t2.aiPoweredBadgeWithNoText = void 0; - const n2 = i2(47957); - t2.aiPoweredBadgeWithNoText = { text: "", guxIcon: "restricted/custom/sparkles-solid", badgeClass: "ai-powered-badge", iconClass: "custom-label-header-icon", ariaLabel: n2.generic.aiPowered, treeNodeIcon: "custom/ai-tooltip-regular" }, t2.aiPoweredBadgeWithText = { text: n2.generic.aiPowered, guxIcon: "restricted/custom/sparkles-solid", badgeClass: "ai-powered-badge", iconClass: "custom-label-header-icon" }; - }, 99505: (e2, t2, i2) => { - "use strict"; - const n2 = i2(19596); - class r2 extends n2.DataContract { - constructor(e3) { - super(e3); + ie.VERSION = e3, ie.prototype.value = function() { + return this._wrapped; + }, ie.prototype.valueOf = ie.prototype.toJSON = ie.prototype.value, ie.prototype.toString = function() { + return String(this._wrapped); + }; + var oe = "[object DataView]"; + function re(e4) { + if (!A(e4)) return []; + var t4 = []; + for (var i3 in e4) t4.push(i3); + return f && Z(e4, t4), t4; } - get permissions() { - return this._permissions; + function ae(e4) { + var t4 = X(e4); + return function(i3) { + if (null == i3) return false; + var n3 = re(i3); + if (X(n3)) return false; + for (var o2 = 0; o2 < t4; o2++) if (!F(i3[e4[o2]])) return false; + return e4 !== de || !F(i3[se]); + }; } - set permissions(e3) { - this._permissions = e3; + 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) : I("Map"), he = k ? ae(de) : I("WeakMap"), me = k ? ae(pe) : I("Set"), ge = I("WeakSet"); + function fe(e4) { + for (var t4 = ee(e4), i3 = t4.length, n3 = Array(i3), o2 = 0; o2 < i3; o2++) n3[o2] = e4[t4[o2]]; + return n3; } - get permissionPolicies() { - return this._permissionPolicies; + function Te(e4) { + for (var t4 = {}, i3 = ee(e4), n3 = 0, o2 = i3.length; n3 < o2; n3++) t4[e4[i3[n3]]] = i3[n3]; + return t4; } - set permissionPolicies(e3) { - this._permissionPolicies = e3; + function ye(e4) { + var t4 = []; + for (var i3 in e4) F(e4[i3]) && t4.push(i3); + return t4.sort(); } - get roles() { - return this._roles; + function Se(e4, t4) { + return function(i3) { + var n3 = arguments.length; + if (t4 && (i3 = Object(i3)), n3 < 2 || null == i3) return i3; + for (var o2 = 1; o2 < n3; o2++) for (var r2 = arguments[o2], a2 = e4(r2), s2 = a2.length, l2 = 0; l2 < s2; l2++) { + var u2 = a2[l2]; + t4 && void 0 !== i3[u2] || (i3[u2] = r2[u2]); + } + return i3; + }; } - set roles(e3) { - this._roles = e3; + var Ae = Se(re), Ne = Se(ee), ve = Se(re, true); + function Ie(e4) { + if (!A(e4)) return {}; + if (_) return _(e4); + var t4 = function() { + }; + t4.prototype = e4; + var i3 = new t4(); + return t4.prototype = null, i3; } - } - t2.A = r2; - }, 99516: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.partition = void 0; - var n2 = i2(14120), r2 = i2(85934); - t2.partition = function(e3, t3) { - return function(i3) { - return [r2.filter(e3, t3)(i3), r2.filter(n2.not(e3, t3))(i3)]; - }; - }; - }, 99517: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.pipeFromArray = t2.pipe = void 0; - var n2 = i2(87699); - function r2(e3) { - return 0 === e3.length ? n2.identity : 1 === e3.length ? e3[0] : function(t3) { - return e3.reduce(function(e4, t4) { - return t4(e4); - }, t3); - }; - } - t2.pipe = function() { - for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3[t3] = arguments[t3]; - return r2(e3); - }, t2.pipeFromArray = r2; - }, 99528: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); + function Ce(e4) { + return B(e4) ? e4 : [e4]; } - get _actionTypeId() { - return r2.findUserPromptActionType; + function Oe(e4) { + return ie.toPath(e4); } - get displayTypeName() { - return this._scriptingName; + function be(e4, t4) { + for (var i3 = t4.length, n3 = 0; n3 < i3; n3++) { + if (null == e4) return; + e4 = e4[t4[n3]]; + } + return i3 ? e4 : void 0; } - get isArchActionFindUserPrompt() { - return true; + function Ee(e4, t4, i3) { + var n3 = be(e4, Oe(t4)); + return N(n3) ? i3 : n3; } - get findResult() { - return this._findResult; + function we(e4) { + return e4; } - } - t2.default = o; - }, 99552: (e2, t2, i2) => { - const n2 = i2(63416); - function r2() { - r2.baseConstructor.apply(this, arguments); - } - i2(22124).extend(r2, "HedwigActionList"), Object.defineProperties(r2.prototype, { entities: { enumerable: true, get: function() { - return this._entities; - }, set: function(e3) { - this._entities = this.reviveArray(e3, n2); - } } }), e2.exports = r2; - }, 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)), c = n2.__importDefault(i2(95085)); - class d extends c.default { - constructor(e3) { - super(e3); + function Re(e4) { + return e4 = Ne({}, e4), function(t4) { + return te(t4, e4); + }; } - get _actionTypeId() { - return s.callGuideActionType; + function De(e4) { + return e4 = Oe(e4), function(t4) { + return be(t4, e4); + }; } - get isArchActionCallGuide() { - return true; + function Pe(e4, t4, i3) { + if (void 0 === t4) return e4; + switch (i3 ?? 3) { + case 1: + return function(i4) { + return e4.call(t4, i4); + }; + case 3: + return function(i4, n3, o2) { + return e4.call(t4, i4, n3, o2); + }; + case 4: + return function(i4, n3, o2, r2) { + return e4.call(t4, i4, n3, o2, r2); + }; + } + return function() { + return e4.apply(t4, arguments); + }; } - get displayTypeName() { - return this._scriptingName; + function Me(e4, t4, i3) { + return null == e4 ? we : F(e4) ? Pe(e4, t4, i3) : A(e4) && !B(e4) ? Re(e4) : De(e4); } - get guideOutputsFailure() { - return this._coreActionViewModel.errorBindings ? this.coreFactory.createArchWrapper(this._coreActionViewModel.errorBindings) : null; + function Fe(e4, t4) { + return Me(e4, t4, 1 / 0); } - get guideInputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().inputs); + function Le(e4, t4, i3) { + return ie.iteratee !== Fe ? ie.iteratee(e4, t4) : Me(e4, t4, i3); } - get guideOutputs() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().outputs); + function xe() { } - get voiceProcessingPrompt() { - return this.coreFactory.createArchWrapper(this._getCoreViewModel().voiceProcessingPrompt); + function ke(e4, t4) { + return null == t4 && (t4 = e4, e4 = 0), e4 + Math.floor(Math.random() * (t4 - e4 + 1)); } - setGuideByIdAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("guideId", "setGuideByIdAsync"), e3, false), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setGuideByIdAsync"), t3, true); - const i3 = yield u.default.findItemByIdAsync(a.guideManager, e3, "guideId"); - return this.logNote("found the Guide named '" + i3.name + "' for the Guide ID of '" + e3 + "'"), this.validateGuideIsPublished(i3), this._getCoreViewModel().guideSetting.setValue(i3), yield this.waitForGuideVersionLoading(), l.default.executeCallback(this, "setGuideByIdAsync", t3, this); - }); + ie.toPath = Ce, ie.iteratee = Fe; + var Ve = Date.now || function() { + return (/* @__PURE__ */ new Date()).getTime(); + }; + function Ue(e4) { + var t4 = function(t5) { + return e4[t5]; + }, i3 = "(?:" + ee(e4).join("|") + ")", n3 = RegExp(i3), o2 = RegExp(i3, "g"); + return function(e5) { + return e5 = null == e5 ? "" : "" + e5, n3.test(e5) ? e5.replace(o2, t4) : e5; + }; } - setGuideByNameAsync(e3, t3) { - return n2.__awaiter(this, void 0, void 0, function* () { - this._checkItemIsValidLiteralString(this._infoParm("guideName", "setGuideByNameAsync"), e3), this._checkItemIsValidFunction(this._infoParm("callbackFunction", "setGuideByNameAsync"), t3, true); - const i3 = yield u.default.findItemByValueAsync(a.guideManager, e3, "guide", "name", "name"); - return this.logNote(`Found info for the guide named '${i3.name}' for the passed guide name of '${e3}'. Getting guide details.`), this.validateGuideIsPublished(i3), this._getCoreViewModel().guideSetting.setValue(i3), yield this.waitForGuideVersionLoading(), l.default.executeCallback(this, "setGuideByNameAsync", t3, this); - }); + var Be = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'", "`": "`" }, Ge = Ue(Be), je = Ue(Te(Be)), qe = ie.templateSettings = { evaluate: /<%([\s\S]+?)%>/g, interpolate: /<%=([\s\S]+?)%>/g, escape: /<%-([\s\S]+?)%>/g }, We = /(.)^/, Ye = { "'": "'", "\\": "\\", "\r": "r", "\n": "n", "\u2028": "u2028", "\u2029": "u2029" }, He = /\\|'|\r|\n|\u2028|\u2029/g; + function Je(e4) { + return "\\" + Ye[e4]; } - waitForGuideVersionLoading() { - return n2.__awaiter(this, void 0, void 0, function* () { - this.logNoteVerbose(`Loading latest version definition for guide version, guideId: ${this._getCoreViewModel().guideId}`), yield (0, o.firstValueFrom)(this._getCoreViewModel().guideVersionSetting.loadingReference$.pipe((0, r2.first)((e3) => false === e3))), this._getCoreViewModel().guideVersionSetting.currentUiErrorMessage ? this.logError(`error loading latest guide version, guideId: ${this._coreActionViewModel.guideId} - ${this._coreActionViewModel.guideVersionSetting.currentUiErrorMessage}`) : this.logNoteVerbose(`Successfully loaded latest version definition for guide, guideId: ${this._coreActionViewModel.guideId}`); + var $e = /^\s*(\w|\$)+\s*$/, ze = 0; + function Ke(e4, t4, i3, n3, o2) { + if (!(n3 instanceof t4)) return e4.apply(i3, o2); + var r2 = Ie(e4.prototype), a2 = e4.apply(r2, o2); + return A(a2) ? a2 : r2; + } + var Qe = S(function(e4, t4) { + var i3 = Qe.placeholder, n3 = function() { + for (var o2 = 0, r2 = t4.length, a2 = Array(r2), s2 = 0; s2 < r2; s2++) a2[s2] = t4[s2] === i3 ? arguments[o2++] : t4[s2]; + for (; o2 < arguments.length; ) a2.push(arguments[o2++]); + return Ke(e4, n3, this, this, a2); + }; + return n3; + }); + Qe.placeholder = ie; + var Xe = S(function(e4, t4, i3) { + if (!F(e4)) throw new TypeError("Bind must be called on a function"); + var n3 = S(function(o2) { + return Ke(e4, n3, t4, this, i3.concat(o2)); }); + return n3; + }), Ze = H(X); + function et(e4, t4, i3) { + t4 || 0 === t4 || (t4 = 1 / 0); + for (var n3 = [], o2 = 0, r2 = 0, a2 = X(e4) || 0, s2 = []; ; ) if (r2 >= a2) { + if (!s2.length) break; + var l2 = s2.pop(); + r2 = l2.i, e4 = l2.v, a2 = X(e4); + } else { + var u2 = e4[r2++]; + s2.length >= t4 ? n3[o2++] = u2 : Ze(u2) && (B(u2) || q(u2)) ? (s2.push({ i: r2, v: e4 }), r2 = 0, a2 = X(e4 = u2)) : i3 || (n3[o2++] = u2); + } + return n3; } - validateGuideIsPublished(e3) { - e3.version || this.logErrorAndThrow(`Guide '${e3.name}' is not published. Only published guides can be used in Call Guide action.`); + var tt = S(function(e4, t4) { + var i3 = (t4 = et(t4, false, false)).length; + if (i3 < 1) throw new Error("bindAll must be passed function names"); + for (; i3--; ) { + var n3 = t4[i3]; + e4[n3] = Xe(e4[n3], e4); + } + return e4; + }), it = S(function(e4, t4, i3) { + return setTimeout(function() { + return e4.apply(null, i3); + }, t4); + }), nt = Qe(it, ie, 1); + function ot(e4) { + return function() { + return !e4.apply(this, arguments); + }; } - } - t2.default = d; - }, 99622: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(54757)); - class r2 extends n2.default { - constructor(e3) { - super(e3); + function rt(e4, t4) { + var i3; + return function() { + return --e4 > 0 && (i3 = t4.apply(this, arguments)), e4 <= 1 && (t4 = null), i3; + }; } - get _globalTypeName() { - return "timeslotCollection"; + var at = Qe(rt, 2); + function st(e4, t4, i3) { + t4 = Le(t4, i3); + for (var n3, o2 = ee(e4), r2 = 0, a2 = o2.length; r2 < a2; r2++) if (t4(e4[n3 = o2[r2]], n3, e4)) return n3; } - get displayTypeName() { - return "ArchValueTimeslotCollection"; + function lt(e4) { + return function(t4, i3, n3) { + i3 = Le(i3, n3); + for (var o2 = X(t4), r2 = e4 > 0 ? 0 : o2 - 1; r2 >= 0 && r2 < o2; r2 += e4) if (i3(t4[r2], r2, t4)) return r2; + return -1; + }; } - get isArchValueTimeslotCollection() { - return true; + var ut = lt(1), ct = lt(-1); + function dt(e4, t4, i3, n3) { + for (var o2 = (i3 = Le(i3, n3, 1))(t4), r2 = 0, a2 = X(e4); r2 < a2; ) { + var s2 = Math.floor((r2 + a2) / 2); + i3(e4[s2]) < o2 ? r2 = s2 + 1 : a2 = s2; + } + return r2; } - } - t2.default = r2; - }, 99678: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.commonModuleFlowListManager = t2.CommonModuleFlowListManager = void 0; - const n2 = i2(31635).__importStar(i2(24032)), r2 = i2(77109), o = i2(30801), a = i2(6109), s = i2(96618), l = i2(27862); - class u extends a.FlowListManager { - get dependencyType() { - return l.CommonModuleFlow; + function pt(e4, t4, i3) { + return function(n3, o2, r2) { + var s2 = 0, l2 = X(n3); + if ("number" == typeof r2) e4 > 0 ? s2 = r2 >= 0 ? r2 : Math.max(r2 + l2, s2) : l2 = r2 >= 0 ? Math.min(r2 + 1, l2) : r2 + l2 + 1; + else if (i3 && r2 && l2) return n3[r2 = i3(n3, o2)] === o2 ? r2 : -1; + if (o2 != o2) return (r2 = t4(a.call(n3, s2, l2), W)) >= 0 ? r2 + s2 : -1; + for (r2 = e4 > 0 ? s2 : l2 - 1; r2 >= 0 && r2 < l2; r2 += e4) if (n3[r2] === o2) return r2; + return -1; + }; } - constructor() { - super(), this.topic = n2.getTopic("CommonModuleFlowListManager"), this.briefManager = r2.briefCommonModuleFlowListManager, this.additionalQueryParams = { type: s.flowTypes.flowTypeCommonModule }, this.actionPropertyForUsageSearch = "flowId", this.actionsForUsageSearch = [o.callCommonModuleActionType], this.className = "CommonModuleFlowListManager", this.uiMetadataSectionName = "commonModuleFlows", this.flowType = s.flowTypes.flowTypeCommonModule, this._rawServerCache = {}, this._initialize(); + 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]; } - } - t2.CommonModuleFlowListManager = u, t2.commonModuleFlowListManager = new u(); - }, 99769: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.allKnowledgeFeedbackValues = t2.knowledgeFeedbackNegative = t2.knowledgeFeedbackPositive = void 0; - const n2 = i2(47957); - t2.knowledgeFeedbackPositive = { displayString: n2.sendKnowledgeFeedback.positive, description: n2.sendKnowledgeFeedback.positiveDescription, id: "positive" }, t2.knowledgeFeedbackNegative = { displayString: n2.sendKnowledgeFeedback.negative, description: n2.sendKnowledgeFeedback.negativeDescription, id: "negative" }, t2.allKnowledgeFeedbackValues = [t2.knowledgeFeedbackPositive, t2.knowledgeFeedbackNegative]; - }, 99772: (e2, t2, i2) => { - "use strict"; - 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), 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 } }); + function gt(e4, t4, i3) { + var n3, o2; + if (t4 = Pe(t4, i3), Ze(e4)) for (n3 = 0, o2 = e4.length; n3 < o2; n3++) t4(e4[n3], n3, e4); + else { + var r2 = ee(e4); + for (n3 = 0, o2 = r2.length; n3 < o2; n3++) t4(e4[r2[n3]], r2[n3], e4); + } + return e4; } - setNewInstanceDefaults() { - if (this.builderDef.defaultBuilderPartId) { - const e3 = o.default.find(this.availableBuilderPartDefinitions, (e4) => e4.id === this.builderDef.defaultBuilderPartId); - e3 && this._builderPartsManager.createAndAddPartFromBuilderPartDef(e3, void 0); + function ft(e4, t4, i3) { + t4 = Le(t4, i3); + for (var n3 = !Ze(e4) && ee(e4), o2 = (n3 || e4).length, r2 = Array(o2), a2 = 0; a2 < o2; a2++) { + var s2 = n3 ? n3[a2] : a2; + r2[a2] = t4(e4[s2], s2, e4); } + return r2; } - get helpTopic() { - return this.builderDef.helpTopic || d.helpTopics.builders.builder; + function Tt(e4) { + return function(t4, i3, n3, o2) { + var r2 = arguments.length >= 3; + return (function(t5, i4, n4, o3) { + var r3 = !Ze(t5) && ee(t5), a2 = (r3 || t5).length, s2 = e4 > 0 ? 0 : a2 - 1; + for (o3 || (n4 = t5[r3 ? r3[s2] : s2], s2 += e4); s2 >= 0 && s2 < a2; s2 += e4) { + var l2 = r3 ? r3[s2] : s2; + n4 = i4(n4, t5[l2], l2, t5); + } + return n4; + })(t4, Pe(i3, o2, 4), n3, r2); + }; } - _addClipboardDependencies(e3) { - super._addClipboardDependencies(e3), this.builderPartsManager.addClipboardDependencies(e3), this.builderContainerPartsManager.addClipboardDependencies(e3); + var yt = Tt(1), St = Tt(-1); + function At(e4, t4, i3) { + var n3 = []; + return t4 = Le(t4, i3), gt(e4, function(e5, i4, o2) { + t4(e5, i4, o2) && n3.push(e5); + }), n3; } - _initializeDesignTime() { - super._initializeDesignTime(), this._builderPartsManager.initializeDesignTime(), this._builderContainerPartsManager.initializeDesignTime(), this.parentFlowIsReadOnly || this.supportsLanguageContainersOnly && !this.partAndPartsOutOfService && this.hasEnabledLanguageContainerPartsForAllSupportedLanguages && (this.partAndPartsOutOfService = true); + function Nt(e4, t4, i3) { + t4 = Le(t4, i3); + for (var n3 = !Ze(e4) && ee(e4), o2 = (n3 || e4).length, r2 = 0; r2 < o2; r2++) { + var a2 = n3 ? n3[r2] : r2; + if (!t4(e4[a2], a2, e4)) return false; + } + return true; } - getInternalExpressions() { - if (this.isDestroyed) return []; - const e3 = this._builderPartsManager.getInternalExpressions(), t3 = this._builderContainerPartsManager.getInternalExpressions(); - return o.default.union(e3, t3); + function vt(e4, t4, i3) { + t4 = Le(t4, i3); + for (var n3 = !Ze(e4) && ee(e4), o2 = (n3 || e4).length, r2 = 0; r2 < o2; r2++) { + var a2 = n3 ? n3[r2] : r2; + if (t4(e4[a2], a2, e4)) return true; + } + return false; } - _replaceUsages(e3, t3, i3) { - super._replaceUsages(e3, t3, i3), this._builderPartsManager.replaceUsages(e3, t3, i3), this._builderContainerPartsManager.replaceUsages(e3, t3, i3); + function It(e4, t4, i3, n3) { + return Ze(e4) || (e4 = fe(e4)), ("number" != typeof i3 || n3) && (i3 = 0), _t(e4, t4, i3) >= 0; } - _getManagerForBuilderPart(e3) { - return e3.isContainerPart ? this._builderContainerPartsManager : this._builderPartsManager; + var Ct = S(function(e4, t4, i3) { + var n3, o2; + return F(t4) ? o2 = t4 : (t4 = Oe(t4), n3 = t4.slice(0, -1), t4 = t4[t4.length - 1]), ft(e4, function(e5) { + var r2 = o2; + if (!r2) { + if (n3 && n3.length && (e5 = be(e5, n3)), null == e5) return; + r2 = e5[t4]; + } + return null == r2 ? r2 : r2.apply(e5, i3); + }); + }); + function Ot(e4, t4) { + return ft(e4, De(t4)); } - _processLanguagesChanged() { - super._processLanguagesChanged(), this.supportsLanguageContainersOnly && (this.hasEnabledLanguageContainerPartsForAllSupportedLanguages ? this.mainSequenceEnabled && (this.mainSequenceEnabled = false) : this.mainSequenceEnabled = true); + function bt(e4, t4, i3) { + var n3, o2, r2 = -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 > r2 && (r2 = n3); + else t4 = Le(t4, i3), gt(e4, function(e5, i4, n4) { + ((o2 = t4(e5, i4, n4)) > a2 || o2 === -1 / 0 && r2 === -1 / 0) && (r2 = e5, a2 = o2); + }); + return r2; } - objEvent_idAboutToChange(e3, t3) { - v.updateEventEmitterIdentifier(e3.id, t3, this); + var Et = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; + function wt(e4) { + return e4 ? B(e4) ? a.call(e4) : C(e4) ? e4.match(Et) : Ze(e4) ? ft(e4, we) : fe(e4) : []; } - get className() { - return "BaseBuilderWithBuilderPartsViewModel"; + function Rt(e4, t4, i3) { + if (null == t4 || i3) return Ze(e4) || (e4 = fe(e4)), e4[ke(e4.length - 1)]; + var n3 = wt(e4), o2 = X(n3); + t4 = Math.max(Math.min(t4, o2), 0); + for (var r2 = o2 - 1, a2 = 0; a2 < t4; a2++) { + var s2 = ke(a2, r2), l2 = n3[a2]; + n3[a2] = n3[s2], n3[s2] = l2; + } + return n3.slice(0, t4); } - _configureForLanguageSequence(e3, t3) { - var i3, n3; - const r3 = super._configureForLanguageSequence(e3, t3); - if (!r3) return r3; - t3 || this.deleteAllParts(); - const a2 = null === (i3 = this.parentFlow) || void 0 === i3 ? void 0 : i3.languages; - if (!a2) return; - const s2 = null === (n3 = this.parentFlow) || void 0 === n3 ? void 0 : n3.defaultLanguageLCase; - o.default.each(a2.supportedLanguagesViewModels, (i4) => { - var n4, r4, a3; - const l2 = e3.availableLanguages[i4.idExpressionText]; - if (!l2) return; - let u2; - e3.flowTypeOverrides && (u2 = e3.flowTypeOverrides[this.parentFlow.type]), u2 || (u2 = e3); - 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); - d2 = e4.builderPartsManager; - } - if ((null === (n4 = d2.parts) || void 0 === n4 ? void 0 : n4.length) && t3) return; - const p2 = this.builderDef; - 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); - d2.createAndAddPartFromBuilderPartDef(e4, void 0); - } - 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); - d2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); - }) : o.default.each(c2.parts, (e4) => { - const t4 = g.default.getBuilderPartDefById(e4.builderPartId); - d2.createAndAddPartFromBuilderPartDef(t4).configureWithLanguageContext(e4, i4); - }); - }); + function Dt(e4, t4) { + return function(i3, n3, o2) { + var r2 = t4 ? [[], []] : {}; + return n3 = Le(n3, o2), gt(i3, function(t5, o3) { + var a2 = n3(t5, o3, i3); + e4(r2, t5, a2); + }), r2; + }; } - deleteAllParts() { - const e3 = this._builderPartsManager.deleteAllParts(), t3 = this._builderContainerPartsManager.deleteAllParts(); - return o.default.isUndefined(e3) ? t3 : o.default.isUndefined(t3) ? e3 : o.default.isArray(e3) && o.default.isArray(t3) ? e3.concat(t3) : void 0; + var Pt = Dt(function(e4, t4, i3) { + G(e4, i3) ? e4[i3].push(t4) : e4[i3] = [t4]; + }), Mt = Dt(function(e4, t4, i3) { + e4[i3] = t4; + }), Ft = Dt(function(e4, t4, i3) { + G(e4, i3) ? e4[i3]++ : e4[i3] = 1; + }), Lt = Dt(function(e4, t4, i3) { + e4[i3 ? 0 : 1].push(t4); + }, true); + function xt(e4, t4, i3) { + return t4 in i3; } - get overrideErrorText() { - var e3; - return super.overrideErrorText || (this.builderDef.fixedBuilderPart || !this.hasMaxNumOfBuilderPartsConfigured || 1 !== this.builderDef.maxBuilderPartCount || 1 !== this.builderParts.length ? null === (e3 = this.builderParts[0]) || void 0 === e3 ? void 0 : e3.overrideErrorText : void 0); + var kt = S(function(e4, t4) { + var i3 = {}, n3 = t4[0]; + if (null == e4) return i3; + F(n3) ? (t4.length > 1 && (n3 = Pe(n3, t4[1])), t4 = re(e4)) : (n3 = xt, t4 = et(t4, false, false), e4 = Object(e4)); + for (var o2 = 0, r2 = t4.length; o2 < r2; o2++) { + var a2 = t4[o2], s2 = e4[a2]; + n3(s2, a2, e4) && (i3[a2] = s2); + } + return i3; + }), Vt = S(function(e4, t4) { + var i3, n3 = t4[0]; + return F(n3) ? (n3 = ot(n3), t4.length > 1 && (i3 = t4[1])) : (t4 = ft(et(t4, false, false), String), n3 = function(e5, i4) { + return !It(t4, i4); + }), kt(e4, n3, i3); + }); + function Ut(e4, t4, i3) { + return a.call(e4, 0, Math.max(0, e4.length - (null == t4 || i3 ? 1 : t4))); } - get isBaseBuilderWithBuilderPartsViewModel() { - return true; + function Bt(e4, t4, i3) { + return null == e4 || e4.length < 1 ? null == t4 || i3 ? void 0 : [] : null == t4 || i3 ? e4[0] : Ut(e4, e4.length - t4); } - get supportsLanguageContainersOnly() { - return 1 === this.availableBuilderPartContainerDefinitions.length && this.availableBuilderPartContainerDefinitions[0].isBuilderPartContainerLanguageDef; + function Gt(e4, t4, i3) { + return a.call(e4, null == t4 || i3 ? 1 : t4); } - get mainSequenceEnabled() { - return !this.supportsLanguageContainersOnly || !this.partAndPartsOutOfService; + var jt = S(function(e4, t4) { + return t4 = et(t4, true, true), At(e4, function(e5) { + return !It(t4, e5); + }); + }), qt = S(function(e4, t4) { + return jt(e4, t4); + }); + function Wt(e4, t4, i3, n3) { + v(t4) || (n3 = i3, i3 = t4, t4 = false), null != i3 && (i3 = Le(i3, n3)); + for (var o2 = [], r2 = [], a2 = 0, s2 = X(e4); a2 < s2; a2++) { + var l2 = e4[a2], u2 = i3 ? i3(l2, a2, e4) : l2; + t4 && !i3 ? (a2 && r2 === u2 || o2.push(l2), r2 = u2) : i3 ? It(r2, u2) || (r2.push(u2), o2.push(l2)) : It(o2, l2) || o2.push(l2); + } + return o2; } - set mainSequenceEnabled(e3) { - (e3 || this.supportsLanguageContainersOnly) && (u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "mainSequenceEnabled", "value")), this.partAndPartsOutOfService !== !e3 && (this.partAndPartsOutOfService = !e3, this.buildExpressionText())); + var Yt = S(function(e4) { + return Wt(et(e4, true, true)); + }); + function Ht(e4) { + for (var t4 = e4 && bt(e4, X).length || 0, i3 = Array(t4), n3 = 0; n3 < t4; n3++) i3[n3] = Ot(e4, n3); + return i3; } - _validateBuilderObject(e3, t3) { - var i3; - let n3 = super._validateBuilderObject(e3, t3); - const a2 = this.owningExpression.options; - if (a2 && a2.doNotWantBlankRuntimeOutput && (n3 = this._validateSequenceRuntimeNotBlank(this, this.builderParts, e3), (null === (i3 = this.builderPartContainers) || void 0 === i3 ? void 0 : i3.length) && o.default.each(this.builderPartContainers, (t4) => { - this._validateSequenceRuntimeNotBlank(t4, t4.builderParts, e3) || (n3 = false); - })), !n3) return n3; - !this.partAndPartsOutOfService && n3 && (this._builderPartsManager.validateBuilderObject(e3, t3) || (n3 = false)), this._builderContainerPartsManager.validateBuilderObject(e3, t3) || (n3 = false); - const s2 = this.builderContainerPartsManager.getMissingFlowSupportedLanguages(); - if (o.default.isArray(s2) && s2.length) { - let t4; - 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; + var Jt = S(Ht); + function $t(e4, t4) { + return e4._chain ? ie(t4).chain() : t4; } - _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, O.expression.builderOrContainerErrorRuntimeOutputBlank); - } finally { - e3 !== this && i3.clearContextIsContainerRelated(); + function zt(e4) { + return gt(ye(e4), function(t4) { + var i3 = ie[t4] = e4[t4]; + ie.prototype[t4] = function() { + var e5 = [this._wrapped]; + return r.apply(e5, arguments), $t(this, i3.apply(ie, e5)); + }; + }), ie; + } + gt(["pop", "push", "reverse", "shift", "sort", "splice", "unshift"], function(e4) { + 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]), $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)), $t(this, e5); + }; + }); + var Kt = { __proto__: null, VERSION: e3, restArguments: S, isObject: A, isNull: function(e4) { + return null === e4; + }, isUndefined: N, isBoolean: v, isElement: function(e4) { + return !(!e4 || 1 !== e4.nodeType); + }, isString: C, isNumber: O, isDate: b, isRegExp: E, isError: w, isSymbol: R, isArrayBuffer: D, isDataView: U, isArray: B, isFunction: F, isArguments: q, isFinite: function(e4) { + return !R(e4) && g(e4) && !isNaN(parseFloat(e4)); + }, isNaN: W, isTypedArray: Q, isEmpty: function(e4) { + if (null == e4) return true; + var t4 = X(e4); + return "number" == typeof t4 && (B(e4) || C(e4) || q(e4)) ? 0 === t4 : 0 === X(ee(e4)); + }, isMatch: te, isEqual: function(e4, t4) { + for (var i3 = [{ a: e4, b: t4 }], n3 = [], r2 = []; i3.length; ) { + var a2 = i3.pop(); + if (true !== a2) { + if ((e4 = a2.a) === (t4 = a2.b)) { + if (0 !== e4 || 1 / e4 == 1 / t4) continue; + return false; + } + if (null == e4 || null == t4) return false; + if (e4 != e4) { + if (t4 != t4) continue; + return false; + } + var l2 = typeof e4; + if ("function" !== l2 && "object" !== l2 && "object" != typeof t4) return false; + e4 instanceof ie && (e4 = e4._wrapped), t4 instanceof ie && (t4 = t4._wrapped); + var u2 = s.call(e4); + if (u2 !== s.call(t4)) return false; + if (x && "[object Object]" == u2 && U(e4)) { + if (!U(t4)) return false; + u2 = oe; + } + switch (u2) { + case "[object RegExp]": + case "[object String]": + if ("" + e4 == "" + t4) continue; + return false; + case "[object Number]": + i3.push({ a: +e4, b: +t4 }); + continue; + case "[object Date]": + case "[object Boolean]": + if (+e4 === +t4) continue; + return false; + case "[object Symbol]": + if (o.valueOf.call(e4) === o.valueOf.call(t4)) continue; + return false; + case "[object ArrayBuffer]": + case oe: + i3.push({ a: ne(e4), b: ne(t4) }); + continue; + } + var c2 = "[object Array]" === u2; + if (!c2 && Q(e4)) { + if ($(e4) !== $(t4)) return false; + if (e4.buffer === t4.buffer && e4.byteOffset === t4.byteOffset) continue; + c2 = true; + } + if (!c2) { + if ("object" != typeof e4 || "object" != typeof 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 (r2[_2] === t4) break; + return false; + } + if (!(_2 >= 0)) if (n3.push(e4), r2.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 { + var h2, m2 = ee(e4); + if (_2 = m2.length, ee(t4).length !== _2) return false; + for (; _2--; ) { + if (!G(t4, h2 = m2[_2])) return false; + i3.push({ a: e4[h2], b: t4[h2] }); + } + } + } else n3.pop(), r2.pop(); + } + return true; + }, isMap: _e, isWeakMap: he, isSet: me, isWeakSet: ge, keys: ee, allKeys: re, values: fe, pairs: function(e4) { + for (var t4 = ee(e4), i3 = t4.length, n3 = Array(i3), o2 = 0; o2 < i3; o2++) n3[o2] = [t4[o2], e4[t4[o2]]]; + return n3; + }, invert: Te, functions: ye, methods: ye, extend: Ae, extendOwn: Ne, assign: Ne, defaults: ve, create: function(e4, t4) { + var i3 = Ie(e4); + return t4 && Ne(i3, t4), i3; + }, clone: function(e4) { + return A(e4) ? B(e4) ? e4.slice() : Ae({}, e4) : e4; + }, tap: function(e4, t4) { + return t4(e4), e4; + }, get: Ee, has: function(e4, t4) { + for (var i3 = (t4 = Oe(t4)).length, n3 = 0; n3 < i3; n3++) { + var o2 = t4[n3]; + if (!G(e4, o2)) return false; + e4 = e4[o2]; + } + return !!i3; + }, mapObject: function(e4, t4, i3) { + t4 = Le(t4, i3); + for (var n3 = ee(e4), o2 = n3.length, r2 = {}, a2 = 0; a2 < o2; a2++) { + var s2 = n3[a2]; + r2[s2] = t4(e4[s2], s2, e4); + } + return r2; + }, identity: we, constant: Y, noop: xe, toPath: Ce, property: De, propertyOf: function(e4) { + return null == e4 ? xe : function(t4) { + return Ee(e4, t4); + }; + }, matcher: Re, matches: Re, times: function(e4, t4, i3) { + var n3 = Array(Math.max(0, e4)); + t4 = Pe(t4, i3, 1); + for (var o2 = 0; o2 < e4; o2++) n3[o2] = t4(o2); + return n3; + }, random: ke, now: Ve, escape: Ge, unescape: je, templateSettings: qe, template: function(e4, t4, i3) { + !t4 && i3 && (t4 = i3), t4 = ve({}, t4, ie.templateSettings); + var n3 = RegExp([(t4.escape || We).source, (t4.interpolate || We).source, (t4.evaluate || We).source].join("|") + "|$", "g"), o2 = 0, r2 = "__p+='"; + e4.replace(n3, function(t5, i4, n4, a3, s3) { + return r2 += e4.slice(o2, s3).replace(He, Je), o2 = s3 + t5.length, i4 ? r2 += "'+\n((__t=(" + i4 + "))==null?'':_.escape(__t))+\n'" : n4 ? r2 += "'+\n((__t=(" + n4 + "))==null?'':__t)+\n'" : a3 && (r2 += "';\n" + a3 + "\n__p+='"), t5; + }), r2 += "';\n"; + var a2, s2 = t4.variable; + if (s2) { + if (!$e.test(s2)) throw new Error("variable is not a bare identifier: " + s2); + } else r2 = "with(obj||{}){\n" + r2 + "}\n", s2 = "obj"; + r2 = "var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n" + r2 + "return __p;\n"; + try { + a2 = new Function(s2, "_", r2); + } catch (e5) { + throw e5.source = r2, e5; + } + var l2 = function(e5) { + return a2.call(this, e5, ie); + }; + return l2.source = "function(" + s2 + "){\n" + r2 + "}", l2; + }, result: function(e4, t4, i3) { + var n3 = (t4 = Oe(t4)).length; + if (!n3) return F(i3) ? i3.call(e4) : i3; + for (var o2 = 0; o2 < n3; o2++) { + var r2 = null == e4 ? void 0 : e4[t4[o2]]; + void 0 === r2 && (r2 = i3, o2 = n3), e4 = F(r2) ? r2.call(e4) : r2; + } + return e4; + }, uniqueId: function(e4) { + var t4 = ++ze + ""; + return e4 ? e4 + t4 : t4; + }, chain: function(e4) { + var t4 = ie(e4); + return t4._chain = true, t4; + }, iteratee: Fe, partial: Qe, bind: Xe, bindAll: tt, memoize: function(e4, t4) { + var i3 = function(n3) { + var o2 = i3.cache, r2 = "" + (t4 ? t4.apply(this, arguments) : n3); + return G(o2, r2) || (o2[r2] = e4.apply(this, arguments)), o2[r2]; + }; + return i3.cache = {}, i3; + }, delay: it, defer: nt, throttle: function(e4, t4, i3) { + var n3, o2, r2, a2, s2 = 0; + i3 || (i3 = {}); + var l2 = function() { + s2 = false === i3.leading ? 0 : Ve(), n3 = null, a2 = e4.apply(o2, r2), n3 || (o2 = r2 = null); + }, u2 = function() { + var u3 = Ve(); + s2 || false !== i3.leading || (s2 = u3); + var c2 = t4 - (u3 - s2); + return o2 = this, r2 = arguments, c2 <= 0 || c2 > t4 ? (n3 && (clearTimeout(n3), n3 = null), s2 = u3, a2 = e4.apply(o2, r2), n3 || (o2 = r2 = null)) : n3 || false === i3.trailing || (n3 = setTimeout(l2, c2)), a2; + }; + return u2.cancel = function() { + clearTimeout(n3), s2 = 0, n3 = o2 = r2 = null; + }, u2; + }, debounce: function(e4, t4, i3) { + var n3, o2, r2, a2, s2, l2 = function() { + var u3 = Ve() - o2; + t4 > u3 ? n3 = setTimeout(l2, t4 - u3) : (n3 = null, i3 || (a2 = e4.apply(s2, r2)), n3 || (r2 = s2 = null)); + }, u2 = S(function(u3) { + return s2 = this, r2 = u3, o2 = Ve(), n3 || (n3 = setTimeout(l2, t4), i3 && (a2 = e4.apply(s2, r2))), a2; + }); + return u2.cancel = function() { + clearTimeout(n3), n3 = r2 = s2 = null; + }, u2; + }, wrap: function(e4, t4) { + return Qe(t4, e4); + }, negate: ot, compose: function() { + var e4 = arguments, t4 = e4.length - 1; + return function() { + for (var i3 = t4, n3 = e4[t4].apply(this, arguments); i3--; ) n3 = e4[i3].call(this, n3); + return n3; + }; + }, after: function(e4, t4) { + return function() { + if (--e4 < 1) return t4.apply(this, arguments); + }; + }, before: rt, 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, ot(Le(t4)), i3); + }, every: Nt, all: Nt, some: vt, any: vt, contains: It, includes: It, include: It, invoke: Ct, pluck: Ot, where: function(e4, t4) { + return At(e4, Re(t4)); + }, max: bt, min: function(e4, t4, i3) { + var n3, o2, r2 = 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 < r2 && (r2 = n3); + else t4 = Le(t4, i3), gt(e4, function(e5, i4, n4) { + ((o2 = t4(e5, i4, n4)) < a2 || o2 === 1 / 0 && r2 === 1 / 0) && (r2 = e5, a2 = o2); + }); + return r2; + }, shuffle: function(e4) { + return Rt(e4, 1 / 0); + }, sample: Rt, sortBy: function(e4, t4, i3) { + var n3 = 0; + return t4 = Le(t4, i3), Ot(ft(e4, function(e5, i4, o2) { + return { value: e5, index: n3++, criteria: t4(e5, i4, o2) }; + }).sort(function(e5, t5) { + var i4 = e5.criteria, n4 = t5.criteria; + if (i4 !== n4) { + if (i4 > n4 || void 0 === i4) return 1; + if (i4 < n4 || void 0 === n4) return -1; + } + return e5.index - t5.index; + }), "value"); + }, 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)); + }, rest: Gt, tail: Gt, drop: Gt, compact: function(e4) { + return At(e4, Boolean); + }, flatten: function(e4, t4) { + return et(e4, t4, false); + }, without: qt, uniq: Wt, unique: Wt, union: Yt, intersection: function(e4) { + for (var t4 = [], i3 = arguments.length, n3 = 0, o2 = X(e4); n3 < o2; n3++) { + var r2 = e4[n3]; + if (!It(t4, r2)) { + var a2; + for (a2 = 1; a2 < i3 && It(arguments[a2], r2); a2++) ; + a2 === i3 && t4.push(r2); + } + } + return t4; + }, difference: jt, unzip: Ht, transpose: Ht, zip: Jt, object: function(e4, t4) { + for (var i3 = {}, n3 = 0, o2 = X(e4); n3 < o2; n3++) t4 ? i3[e4[n3]] = t4[n3] : i3[e4[n3][0]] = e4[n3][1]; + return i3; + }, range: function(e4, t4, i3) { + null == t4 && (t4 = e4 || 0, e4 = 0), i3 || (i3 = t4 < e4 ? -1 : 1); + for (var n3 = Math.max(Math.ceil((t4 - e4) / i3), 0), o2 = Array(n3), r2 = 0; r2 < n3; r2++, e4 += i3) o2[r2] = e4; + return o2; + }, chunk: function(e4, t4) { + if (null == t4 || t4 < 1) return []; + for (var i3 = [], n3 = 0, o2 = e4.length; n3 < o2; ) i3.push(a.call(e4, n3, n3 += t4)); + return i3; + }, mixin: zt, default: ie }, Qt = zt(Kt); + return Qt._ = Qt, Qt; + }, e2.exports = t2(); + }, 16370(e2, t2, i2) { + "use strict"; + i2.r(t2), i2.d(t2, { AccountManager: () => ct, Client: () => tt, Host: () => Qe, IframeHelper: () => rt, setLocalhostApiDomain: () => Xe }); + var n2 = Object.defineProperty, o = (e3, t3, i3) => ((e4, t4, i4) => t4 in e4 ? n2(e4, t4, { enumerable: true, configurable: true, writable: true, value: i4 }) : e4[t4] = i4)(e3, "symbol" != typeof t3 ? t3 + "" : t3, i3); + function r(e3) { + return e3 instanceof Error ? e3.message : e3 ? e3.toString() : "Unknown"; + } + function a() { + return console.info(`${window.origin} using global handle`), { indexedDB: globalThis.indexedDB }; + } + async function s() { + const e3 = await document.requestStorageAccess({ indexedDB: true }); + return e3 ? (console.info(`${window.origin} using requested handle`), e3) : a(); + } + const l = "orgs", u = "accounts"; + async function c(e3, t3) { + return (await p()).transaction(e3, t3); + } + let d; + async function p() { + if (d) return d; + const e3 = await (async function() { + if (!document.hasStorageAccess) return a(); + { + const e4 = await document.hasStorageAccess(); + if (console.info(`${window.origin} storage access: ${e4}`), e4) try { + return await s(); + } catch (e5) { + return console.warn(`Storage access request denied, falling back to direct access: + ${r(e5)}`), a(); + } + else try { + if ("granted" === (await navigator.permissions.query({ name: "storage-access" })).state) return await s(); + throw new Error("No configured access & Permission not granted"); + } catch (e5) { + return console.warn(`Unable to check storage permission, attempting direct access: + ${r(e5)}`), a(); + } + } + })(), { indexedDB: t3 } = e3, i3 = "gc-mfe-auth-v3", n3 = t3.open(i3); + return new Promise((e4, o2) => { + n3.onsuccess = (t4) => { + d = t4.target.result, d.addEventListener("close", () => { + d = void 0; + }), e4(d); + }, n3.onerror = (e5) => { + var n4, r2; + if ("VersionError" !== (null == (r2 = null == (n4 = e5.target) ? void 0 : n4.error) ? void 0 : r2.name)) throw new Error(`Failed to open IndexedDB database named ${i3}`, { cause: e5 }); + const a2 = t3.deleteDatabase(i3); + a2.onsuccess = () => p(), a2.onerror = () => { + o2(new Error(`Failed to delete IndexedDB database named ${i3}`, { cause: e5 })); + }; + }, n3.onupgradeneeded = (e5) => { + const t4 = e5.target.result; + if (0 !== e5.oldVersion && (t4.deleteObjectStore(l), t4.deleteObjectStore(u)), t4.objectStoreNames.contains(l) || t4.createObjectStore(l, { keyPath: "orgName" }), !t4.objectStoreNames.contains(u)) { + const e6 = t4.createObjectStore(u, { keyPath: ["orgName", "email"] }); + e6.createIndex("token", "token.value"), e6.createIndex("orgName", "orgName", { unique: false }); + } + }; + }); + } + function _(e3, t3) { + return [e3, t3]; + } + function h(e3) { + return { orgName: e3.orgName, ...e3.description ? { description: e3.description } : {} }; + } + const m = "gcui_auth", g = "gcui_session"; + function f() { + let e3 = null; + const t3 = (function() { + const e4 = sessionStorage.getItem(g); + return e4 ? S(e4) : null; + })(), i3 = sessionStorage.getItem(m); + return i3 && i3 !== (null == t3 ? void 0 : t3.token.value) ? (e3 = (function(e4) { + return { token: { value: e4, expiration: Date.now() + 864e5, storageLifetime: "persistent" } }; + })(i3), y(e3)) : e3 = t3, e3; + } + function T() { + const e3 = f(); + return e3 ? e3.token.value : null; + } + function y(e3) { + sessionStorage.setItem(g, JSON.stringify(e3)); + } + function S(e3) { + return JSON.parse(e3); + } + function A(e3) { + let t3 = null; + const i3 = (i4) => { + if (i4.storageArea === sessionStorage) if (i4.key === g && null !== i4.newValue && i4.newValue !== t3) { + const n3 = S(i4.newValue); + t3 = n3.token.value, e3(n3.token.value); + } else i4.key === m && null !== i4.newValue && i4.newValue !== t3 && (t3 = i4.newValue, e3(i4.newValue)); + }; + return window.addEventListener("storage", i3), () => { + window.removeEventListener("storage", i3); + }; + } + var N = Object.getOwnPropertyNames, v = Object.getOwnPropertySymbols, I = Object.prototype.hasOwnProperty; + function C(e3, t3) { + return function(i3, n3, o2) { + return e3(i3, n3, o2) && t3(i3, n3, o2); + }; + } + function O(e3) { + return function(t3, i3, n3) { + if (!t3 || !i3 || "object" != typeof t3 || "object" != typeof i3) return e3(t3, i3, n3); + var o2 = n3.cache, r2 = o2.get(t3), a2 = o2.get(i3); + if (r2 && a2) return r2 === i3 && a2 === t3; + o2.set(t3, i3), o2.set(i3, t3); + var s2 = e3(t3, i3, n3); + return o2.delete(t3), o2.delete(i3), s2; + }; + } + function b(e3) { + return N(e3).concat(v(e3)); + } + var E = Object.hasOwn || function(e3, t3) { + return I.call(e3, t3); + }; + function w(e3, t3) { + return e3 === t3 || !e3 && !t3 && e3 != e3 && t3 != t3; + } + var R = Object.getOwnPropertyDescriptor, D = Object.keys; + function P(e3, t3, i3) { + var n3 = e3.length; + if (t3.length !== n3) return false; + for (; n3-- > 0; ) if (!i3.equals(e3[n3], t3[n3], n3, n3, e3, t3, i3)) return false; + return true; + } + function M(e3, t3) { + return w(e3.getTime(), t3.getTime()); + } + function F(e3, t3) { + return e3.name === t3.name && e3.message === t3.message && e3.cause === t3.cause && e3.stack === t3.stack; + } + function L(e3, t3) { + return e3 === t3; + } + function x(e3, t3, i3) { + var n3 = e3.size; + if (n3 !== t3.size) return false; + if (!n3) return true; + for (var o2, r2, a2 = new Array(n3), s2 = e3.entries(), l2 = 0; (o2 = s2.next()) && !o2.done; ) { + for (var u2 = t3.entries(), c2 = false, d2 = 0; (r2 = u2.next()) && !r2.done; ) if (a2[d2]) d2++; + else { + var p2 = o2.value, _2 = r2.value; + if (i3.equals(p2[0], _2[0], l2, d2, e3, t3, i3) && i3.equals(p2[1], _2[1], p2[0], _2[0], e3, t3, i3)) { + c2 = a2[d2] = true; + break; + } + d2++; } - return !n3; - } - get builderParts() { - return this._builderPartsManager.parts; + if (!c2) return false; + l2++; } - get builderPartsManager() { - return this._builderPartsManager; + return true; + } + var k = w; + function V(e3, t3, i3) { + var n3 = D(e3), o2 = n3.length; + if (D(t3).length !== o2) return false; + for (; o2-- > 0; ) if (!Y(e3, t3, i3, n3[o2])) return false; + return true; + } + function U(e3, t3, i3) { + var n3, o2, r2, a2 = b(e3), s2 = a2.length; + if (b(t3).length !== s2) return false; + for (; s2-- > 0; ) if (!Y(e3, t3, i3, n3 = a2[s2]) || (o2 = R(e3, n3), r2 = R(t3, n3), (o2 || r2) && (!o2 || !r2 || o2.configurable !== r2.configurable || o2.enumerable !== r2.enumerable || o2.writable !== r2.writable))) return false; + return true; + } + function B(e3, t3) { + return w(e3.valueOf(), t3.valueOf()); + } + function G(e3, t3) { + return e3.source === t3.source && e3.flags === t3.flags; + } + function j(e3, t3, i3) { + var n3 = e3.size; + if (n3 !== t3.size) return false; + if (!n3) return true; + for (var o2, r2, a2 = new Array(n3), s2 = e3.values(); (o2 = s2.next()) && !o2.done; ) { + for (var l2 = t3.values(), u2 = false, c2 = 0; (r2 = l2.next()) && !r2.done; ) { + if (!a2[c2] && i3.equals(o2.value, r2.value, o2.value, r2.value, e3, t3, i3)) { + u2 = a2[c2] = true; + break; + } + c2++; + } + if (!u2) return false; } - get builderPartContainers() { - return this._builderContainerPartsManager.parts; + return true; + } + function q(e3, t3) { + var i3 = e3.length; + if (t3.length !== i3) return false; + for (; i3-- > 0; ) if (e3[i3] !== t3[i3]) return false; + return true; + } + function W(e3, t3) { + return e3.hostname === t3.hostname && e3.pathname === t3.pathname && e3.protocol === t3.protocol && e3.port === t3.port && e3.hash === t3.hash && e3.username === t3.username && e3.password === t3.password; + } + function Y(e3, t3, i3, n3) { + return !("_owner" !== n3 && "__o" !== n3 && "__v" !== n3 || !e3.$$typeof && !t3.$$typeof) || E(t3, n3) && i3.equals(e3[n3], t3[n3], n3, n3, e3, t3, i3); + } + var H = Array.isArray, J = "function" == typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView : null, $ = Object.assign, z = Object.prototype.toString.call.bind(Object.prototype.toString); + var K = Q(); + function Q(e3) { + void 0 === e3 && (e3 = {}); + var t3 = e3.circular, i3 = void 0 !== t3 && t3, n3 = e3.createInternalComparator, o2 = e3.createState, r2 = e3.strict, a2 = void 0 !== r2 && r2, s2 = (function(e4) { + var t4 = e4.circular, i4 = e4.createCustomConfig, n4 = e4.strict, o3 = { areArraysEqual: n4 ? U : P, areDatesEqual: M, areErrorsEqual: F, areFunctionsEqual: L, areMapsEqual: n4 ? C(x, U) : x, areNumbersEqual: k, areObjectsEqual: n4 ? U : V, arePrimitiveWrappersEqual: B, areRegExpsEqual: G, areSetsEqual: n4 ? C(j, U) : j, areTypedArraysEqual: n4 ? U : q, areUrlsEqual: W, unknownTagComparators: void 0 }; + if (i4 && (o3 = $({}, o3, i4(o3))), t4) { + var r3 = O(o3.areArraysEqual), a3 = O(o3.areMapsEqual), s3 = O(o3.areObjectsEqual), l3 = O(o3.areSetsEqual); + o3 = $({}, o3, { areArraysEqual: r3, areMapsEqual: a3, areObjectsEqual: s3, areSetsEqual: l3 }); + } + return o3; + })(e3), l2 = (function(e4) { + var t4 = e4.areArraysEqual, i4 = e4.areDatesEqual, n4 = e4.areErrorsEqual, o3 = e4.areFunctionsEqual, r3 = e4.areMapsEqual, a3 = e4.areNumbersEqual, s3 = e4.areObjectsEqual, l3 = e4.arePrimitiveWrappersEqual, u3 = e4.areRegExpsEqual, c2 = e4.areSetsEqual, d2 = e4.areTypedArraysEqual, p2 = e4.areUrlsEqual, _2 = e4.unknownTagComparators; + return function(e5, h2, m2) { + if (e5 === h2) return true; + if (null == e5 || null == h2) return false; + var g2 = typeof e5; + if (g2 !== typeof h2) return false; + if ("object" !== g2) return "number" === g2 ? a3(e5, h2, m2) : "function" === g2 && o3(e5, h2, m2); + var f2 = e5.constructor; + if (f2 !== h2.constructor) return false; + if (f2 === Object) return s3(e5, h2, m2); + if (H(e5)) return t4(e5, h2, m2); + if (null != J && J(e5)) return d2(e5, h2, m2); + if (f2 === Date) return i4(e5, h2, m2); + if (f2 === RegExp) return u3(e5, h2, m2); + if (f2 === Map) return r3(e5, h2, m2); + if (f2 === Set) return c2(e5, h2, m2); + var T2 = z(e5); + if ("[object Date]" === T2) return i4(e5, h2, m2); + if ("[object RegExp]" === T2) return u3(e5, h2, m2); + if ("[object Map]" === T2) return r3(e5, h2, m2); + if ("[object Set]" === T2) return c2(e5, h2, m2); + if ("[object Object]" === T2) return "function" != typeof e5.then && "function" != typeof h2.then && s3(e5, h2, m2); + if ("[object URL]" === T2) return p2(e5, h2, m2); + if ("[object Error]" === T2) return n4(e5, h2, m2); + if ("[object Arguments]" === T2) return s3(e5, h2, m2); + if ("[object Boolean]" === T2 || "[object Number]" === T2 || "[object String]" === T2) return l3(e5, h2, m2); + if (_2) { + var y2 = _2[T2]; + if (!y2) { + var S2 = (function(e6) { + return null != e6 ? e6[Symbol.toStringTag] : void 0; + })(e5); + S2 && (y2 = _2[S2]); + } + if (y2) return y2(e5, h2, m2); + } + return false; + }; + })(s2), u2 = n3 ? n3(l2) : /* @__PURE__ */ (function(e4) { + return function(t4, i4, n4, o3, r3, a3, s3) { + return e4(t4, i4, s3); + }; + })(l2); + return (function(e4) { + var t4 = e4.circular, i4 = e4.comparator, n4 = e4.createState, o3 = e4.equals, r3 = e4.strict; + if (n4) return function(e5, a4) { + var s3 = n4(), l3 = s3.cache, u3 = void 0 === l3 ? t4 ? /* @__PURE__ */ new WeakMap() : void 0 : l3, c2 = s3.meta; + return i4(e5, a4, { cache: u3, equals: o3, meta: c2, strict: r3 }); + }; + if (t4) return function(e5, t5) { + return i4(e5, t5, { cache: /* @__PURE__ */ new WeakMap(), equals: o3, meta: void 0, strict: r3 }); + }; + var a3 = { cache: void 0, equals: o3, meta: void 0, strict: r3 }; + return function(e5, t5) { + return i4(e5, t5, a3); + }; + })({ circular: i3, comparator: l2, createState: o2, equals: u2, strict: a2 }); + } + async function X() { + const e3 = await c(u, "readonly"); + return new Promise((t3, i3) => { + e3.oncomplete = () => { + n3.result ? t3(n3.result.map(ne)) : i3(new Error("Account not found")); + }, e3.onerror = () => { + i3(new Error("Error retrieving account")); + }; + const n3 = e3.objectStore(u).getAll(); + }); + } + async function Z(e3, t3) { + const i3 = await c(u, "readonly"); + return new Promise((n3, o2) => { + const r2 = i3.objectStore(u), a2 = _(e3, t3), s2 = r2.get(a2); + i3.oncomplete = () => { + s2.result ? n3(ne(s2.result)) : o2(new Error("Account not found")); + }, i3.onerror = () => { + o2(new Error("Error retrieving account")); + }; + }); + } + async function ee(e3) { + const t3 = await c(u, "readonly"); + return new Promise((i3, n3) => { + const o2 = t3.objectStore(u).index("token").get(e3); + t3.oncomplete = () => { + o2.result ? i3(ne(o2.result)) : n3(new Error("Account not found")); + }, t3.onerror = () => { + n3(new Error("Error retrieving account")); + }; + }); + } + async function te(e3, t3, i3 = true) { + if (e3.orgName !== t3.orgName) throw new Error("Account orgName does not match provided Organiziation data"); + const n3 = (function(e4) { + var t4; + const i4 = { ...e4 }; + return "session_only" === (null == (t4 = e4.token) ? void 0 : t4.storageLifetime) && (i4.token = null), i4; + })(e3), o2 = await c([u, l], "readwrite"); + return new Promise((e4, r2) => { + const a2 = h(t3), s2 = (function(e5, t4) { + return { accountName: e5.accountName, email: e5.email, token: e5.token, orgName: t4.orgName, ...e5.userId ? { userId: e5.userId } : {} }; + })(n3, t3), c2 = o2.objectStore(u), d2 = o2.objectStore(l), p2 = _(t3.orgName, n3.email); + let m2 = false; + const g2 = c2.get(p2); + g2.onsuccess = () => { + g2.result && !i3 && (s2.accountName = g2.result.accountName), (!g2.result || !K(g2.result, s2)) && (m2 = true, c2.put(s2)); + }; + const f2 = d2.get(t3.orgName); + f2.onsuccess = () => { + f2.result && f2.result.description && (a2.description = f2.result.description), (!f2.result || !K(f2.result, a2)) && (m2 = true, d2.put(a2)); + }, o2.oncomplete = () => { + e4(m2); + }, o2.onerror = () => { + r2(new Error("Error creating account")); + }; + }); + } + async function ie(e3, t3) { + const i3 = await c(u, "readwrite"); + return new Promise((n3, o2) => { + const r2 = i3.objectStore(u), a2 = _(e3, t3), s2 = r2.get(a2); + s2.onsuccess = () => { + if (s2.result) { + const e4 = s2.result; + e4.token = null, r2.put(e4); + } else o2(new Error("Account not found")); + }, i3.oncomplete = () => { + n3(); + }, i3.onerror = () => { + o2(new Error("Error retrieving account")); + }; + }); + } + function ne(e3) { + const t3 = { ...e3.userId ? { userId: e3.userId } : {}, accountName: e3.accountName, orgName: e3.orgName, email: e3.email, token: null }; + return e3.token ? { ...t3, token: e3.token } : t3; + } + function oe(e3) { + if (!e3 || "object" != typeof e3) throw new Error("Account is not an object."); + const t3 = "accountName" in e3 && "string" == typeof e3.accountName, i3 = "userId" in e3 && "string" == typeof e3.userId, n3 = "email" in e3 && "string" == typeof e3.email, o2 = "orgName" in e3 && "string" == typeof e3.orgName, r2 = "token" in e3; + if (!t3) throw new Error("Account does not have a valid accountName property."); + if (!n3) throw new Error("Account does not have a valid email property."); + if (!o2) throw new Error("Account does not have a valid orgName property."); + if (!r2) throw new Error("Account does not have a valid token property."); + if (null !== e3.token) { + if (!i3) throw new Error("Account does not have a valid userId property."); + !(function(e4) { + if (!e4 || "object" != typeof e4) throw new Error("Token is not an object."); + const t4 = "value" in e4 && "string" == typeof e4.value, i4 = "expiration" in e4 && "number" == typeof e4.expiration; + if (!t4) throw new Error("Token does not have a valid value property."); + if (!i4) throw new Error("Token does not have a valid expirationDate property."); + })(e3.token); + } + } + function re({ type: e3, key: t3, value: i3, error: n3 }) { + try { + le(e3).setItem(t3, i3); + } catch (e4) { + throw new Error(n3, { cause: e4 }); } - get builderContainerPartsManager() { - return this._builderContainerPartsManager; + } + function ae({ type: e3, key: t3, error: i3 }) { + try { + return le(e3).getItem(t3); + } catch (e4) { + throw new Error(i3, { cause: e4 }); } - builderPartAdded(e3) { + } + function se({ type: e3, key: t3, error: i3 }) { + try { + le(e3).removeItem(t3); + } catch (e4) { + throw new Error(i3, { cause: e4 }); + } + } + function le(e3) { + return "local" === e3 ? localStorage : sessionStorage; + } + Q({ strict: true }), Q({ circular: true }), Q({ circular: true, strict: true }), Q({ createInternalComparator: function() { + return w; + } }), Q({ strict: true, createInternalComparator: function() { + return w; + } }), Q({ circular: true, createInternalComparator: function() { + return w; + } }), Q({ circular: true, createInternalComparator: function() { + return w; + }, strict: true }); + const ue = "gc_mfe_auth_state", ce = "session", de = "gc_mfe_auth_verifier", pe = "session", _e = "gc_mfe_redirect_url", he = "session", me = "\nUnable to access auth flow store.\n".trim(); + var ge = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, fe = {}; + !(function(e3) { + var t3 = function() { + return t3 = Object.assign || function(e4) { + for (var t4, i4 = 1, n4 = arguments.length; i4 < n4; i4++) for (var o3 in t4 = arguments[i4]) Object.prototype.hasOwnProperty.call(t4, o3) && (e4[o3] = t4[o3]); + return e4; + }, t3.apply(this, arguments); + }; + function i3(e4, t4, i4) { + for (var n4, o3 = 0, r3 = t4.length; o3 < r3; o3++) (n4 || !(o3 in t4)) && (n4 || (n4 = Array.prototype.slice.call(t4, 0, o3)), n4[o3] = t4[o3]); + return e4.concat(n4 || Array.prototype.slice.call(t4)); } - builderPartContainerAdded(e3) { + var n3 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof ge < "u" ? ge : typeof self < "u" ? self : {}, o2 = function(e4, t4) { + if (t4 = t4.split(":")[0], !(e4 = +e4)) return false; + switch (t4) { + case "http": + case "ws": + return 80 !== e4; + case "https": + case "wss": + return 443 !== e4; + case "ftp": + return 21 !== e4; + case "gopher": + return 70 !== e4; + case "file": + return false; + } + return 0 !== e4; + }, r2 = Object.prototype.hasOwnProperty; + function a2(e4) { + try { + return decodeURIComponent(e4.replace(/\+/g, " ")); + } catch { + return null; + } } - _destroy() { + function s2(e4) { try { - this.builderPartsManager.destroy(), this.builderContainerPartsManager.destroy(); - } catch (e3) { + return encodeURIComponent(e4); + } catch { + return null; } - this._builderPartsManager = void 0, this._builderContainerPartsManager = void 0, super._destroy(); } - get partAndPartsOutOfService() { - return !!this.model.partAndPartsOutOfService; + var l2 = { stringify: function(e4, t4) { + t4 = t4 || ""; + var i4, n4, o3 = []; + for (n4 in "string" != typeof t4 && (t4 = "?"), e4) if (r2.call(e4, n4)) { + if (!(i4 = e4[n4]) && (null == i4 || isNaN(i4)) && (i4 = ""), n4 = s2(n4), i4 = s2(i4), null === n4 || null === i4) continue; + o3.push(n4 + "=" + i4); + } + return o3.length ? t4 + o3.join("&") : ""; + }, parse: function(e4) { + for (var t4, i4 = /([^=?#&]+)=?([^&]*)/g, n4 = {}; t4 = i4.exec(e4); ) { + var o3 = a2(t4[1]), r3 = a2(t4[2]); + null === o3 || null === r3 || o3 in n4 || (n4[o3] = r3); + } + return n4; + } }, u2 = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/, c2 = /[\n\r\t]/g, d2 = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, p2 = /:\d+$/, _2 = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, h2 = /^[a-zA-Z]:/; + function m2(e4) { + return (e4 || "").toString().replace(u2, ""); + } + var g2 = [["#", "hash"], ["?", "query"], function(e4, t4) { + return y2(t4.protocol) ? e4.replace(/\\/g, "/") : e4; + }, ["/", "pathname"], ["@", "auth", 1], [NaN, "host", void 0, 1, 1], [/:(\d*)$/, "port", void 0, 1], [NaN, "hostname", void 0, 1, 1]], f2 = { hash: 1, query: 1 }; + function T2(e4) { + var t4, i4 = (typeof window < "u" ? window : typeof n3 < "u" ? n3 : typeof self < "u" ? self : {}).location || {}, o3 = {}, r3 = typeof (e4 = e4 || i4); + if ("blob:" === e4.protocol) o3 = new A2(unescape(e4.pathname), {}); + else if ("string" === r3) for (t4 in o3 = new A2(e4, {}), f2) delete o3[t4]; + else if ("object" === r3) { + for (t4 in e4) t4 in f2 || (o3[t4] = e4[t4]); + void 0 === o3.slashes && (o3.slashes = d2.test(e4.href)); + } + return o3; + } + function y2(e4) { + return "file:" === e4 || "ftp:" === e4 || "http:" === e4 || "https:" === e4 || "ws:" === e4 || "wss:" === e4; + } + function S2(e4, t4) { + e4 = (e4 = m2(e4)).replace(c2, ""), t4 = t4 || {}; + var i4, n4 = _2.exec(e4), o3 = n4[1] ? n4[1].toLowerCase() : "", r3 = !!n4[2], a3 = !!n4[3], s3 = 0; + return r3 ? a3 ? (i4 = n4[2] + n4[3] + n4[4], s3 = n4[2].length + n4[3].length) : (i4 = n4[2] + n4[4], s3 = n4[2].length) : a3 ? (i4 = n4[3] + n4[4], s3 = n4[3].length) : i4 = n4[4], "file:" === o3 ? s3 >= 2 && (i4 = i4.slice(2)) : y2(o3) ? i4 = n4[4] : o3 ? r3 && (i4 = i4.slice(2)) : s3 >= 2 && y2(t4.protocol) && (i4 = n4[4]), { protocol: o3, slashes: r3 || y2(o3), slashesCount: s3, rest: i4 }; + } + function A2(e4, t4, i4) { + if (e4 = (e4 = m2(e4)).replace(c2, ""), !(this instanceof A2)) return new A2(e4, t4, i4); + var n4, r3, a3, s3, u3, d3, p3 = g2.slice(), _3 = typeof t4, f3 = this, N3 = 0; + for ("object" !== _3 && "string" !== _3 && (i4 = t4, t4 = null), i4 && "function" != typeof i4 && (i4 = l2.parse), n4 = !(r3 = S2(e4 || "", t4 = T2(t4))).protocol && !r3.slashes, f3.slashes = r3.slashes || n4 && t4.slashes, f3.protocol = r3.protocol || t4.protocol || "", e4 = r3.rest, ("file:" === r3.protocol && (2 !== r3.slashesCount || h2.test(e4)) || !r3.slashes && (r3.protocol || r3.slashesCount < 2 || !y2(f3.protocol))) && (p3[3] = [/(.*)/, "pathname"]); N3 < p3.length; N3++) "function" != typeof (s3 = p3[N3]) ? (a3 = s3[0], d3 = s3[1], a3 != a3 ? f3[d3] = e4 : "string" == typeof a3 ? ~(u3 = "@" === a3 ? e4.lastIndexOf(a3) : e4.indexOf(a3)) && ("number" == typeof s3[2] ? (f3[d3] = e4.slice(0, u3), e4 = e4.slice(u3 + s3[2])) : (f3[d3] = e4.slice(u3), e4 = e4.slice(0, u3))) : (u3 = a3.exec(e4)) && (f3[d3] = u3[1], e4 = e4.slice(0, u3.index)), f3[d3] = f3[d3] || n4 && s3[3] && t4[d3] || "", s3[4] && (f3[d3] = f3[d3].toLowerCase())) : e4 = s3(e4, f3); + i4 && (f3.query = i4(f3.query)), n4 && t4.slashes && "/" !== f3.pathname.charAt(0) && ("" !== f3.pathname || "" !== t4.pathname) && (f3.pathname = (function(e5, t5) { + if ("" === e5) return t5; + for (var i5 = (t5 || "/").split("/").slice(0, -1).concat(e5.split("/")), n5 = i5.length, o3 = i5[n5 - 1], r4 = false, a4 = 0; n5--; ) "." === i5[n5] ? i5.splice(n5, 1) : ".." === i5[n5] ? (i5.splice(n5, 1), a4++) : a4 && (0 === n5 && (r4 = true), i5.splice(n5, 1), a4--); + return r4 && i5.unshift(""), ("." === o3 || ".." === o3) && i5.push(""), i5.join("/"); + })(f3.pathname, t4.pathname)), "/" !== f3.pathname.charAt(0) && y2(f3.protocol) && (f3.pathname = "/" + f3.pathname), o2(f3.port, f3.protocol) || (f3.host = f3.hostname, f3.port = ""), f3.username = f3.password = "", f3.auth && (~(u3 = f3.auth.indexOf(":")) ? (f3.username = f3.auth.slice(0, u3), f3.username = encodeURIComponent(decodeURIComponent(f3.username)), f3.password = f3.auth.slice(u3 + 1), f3.password = encodeURIComponent(decodeURIComponent(f3.password))) : f3.username = encodeURIComponent(decodeURIComponent(f3.auth)), f3.auth = f3.password ? f3.username + ":" + f3.password : f3.username), f3.origin = "file:" !== f3.protocol && y2(f3.protocol) && f3.host ? f3.protocol + "//" + f3.host : "null", f3.href = f3.toString(); + } + A2.prototype = { set: function(e4, t4, i4) { + var n4 = this; + switch (e4) { + case "query": + "string" == typeof t4 && t4.length && (t4 = (i4 || l2.parse)(t4)), n4[e4] = t4; + break; + case "port": + n4[e4] = t4, o2(t4, n4.protocol) ? t4 && (n4.host = n4.hostname + ":" + t4) : (n4.host = n4.hostname, n4[e4] = ""); + break; + case "hostname": + n4[e4] = t4, n4.port && (t4 += ":" + n4.port), n4.host = t4; + break; + case "host": + n4[e4] = t4, p2.test(t4) ? (t4 = t4.split(":"), n4.port = t4.pop(), n4.hostname = t4.join(":")) : (n4.hostname = t4, n4.port = ""); + break; + case "protocol": + n4.protocol = t4.toLowerCase(), n4.slashes = !i4; + break; + case "pathname": + case "hash": + if (t4) { + var r3 = "pathname" === e4 ? "/" : "#"; + n4[e4] = t4.charAt(0) !== r3 ? r3 + t4 : t4; + } else n4[e4] = t4; + break; + case "username": + case "password": + n4[e4] = encodeURIComponent(t4); + break; + case "auth": + var a3 = t4.indexOf(":"); + ~a3 ? (n4.username = t4.slice(0, a3), n4.username = encodeURIComponent(decodeURIComponent(n4.username)), n4.password = t4.slice(a3 + 1), n4.password = encodeURIComponent(decodeURIComponent(n4.password))) : n4.username = encodeURIComponent(decodeURIComponent(t4)); + } + for (var s3 = 0; s3 < g2.length; s3++) { + var u3 = g2[s3]; + u3[4] && (n4[u3[1]] = n4[u3[1]].toLowerCase()); + } + return n4.auth = n4.password ? n4.username + ":" + n4.password : n4.username, n4.origin = "file:" !== n4.protocol && y2(n4.protocol) && n4.host ? n4.protocol + "//" + n4.host : "null", n4.href = n4.toString(), n4; + }, toString: function(e4) { + (!e4 || "function" != typeof e4) && (e4 = l2.stringify); + var t4, i4 = this, n4 = i4.host, o3 = i4.protocol; + o3 && ":" !== o3.charAt(o3.length - 1) && (o3 += ":"); + var r3 = o3 + (i4.protocol && i4.slashes || y2(i4.protocol) ? "//" : ""); + return i4.username ? (r3 += i4.username, i4.password && (r3 += ":" + i4.password), r3 += "@") : i4.password ? (r3 += ":" + i4.password, r3 += "@") : "file:" !== i4.protocol && y2(i4.protocol) && !n4 && "/" !== i4.pathname && (r3 += "@"), (":" === n4[n4.length - 1] || p2.test(i4.hostname) && !i4.port) && (n4 += ":"), r3 += n4 + i4.pathname, (t4 = "object" == typeof i4.query ? e4(i4.query) : i4.query) && (r3 += "?" !== t4.charAt(0) ? "?" + t4 : t4), i4.hash && (r3 += i4.hash), r3; + } }, A2.extractProtocol = S2, A2.location = T2, A2.trimLeft = m2, A2.qs = l2; + var N2 = A2; + function v2(e4, t4) { + if (!e4) throw new Error(t4); + } + function I2(e4) { + v2("string" == typeof e4, "url is not a string"); + var t4 = N2(e4, {}); + return v2(t4.protocol && t4.hostname, "invalid url: '".concat(e4, "', unable to parse hostname")), t4; + } + function C2(e4) { + v2(!!e4 && "object" == typeof e4, "Provided filters must be an object"); + var t4 = e4; + void 0 !== t4.env && (v2(t4.env instanceof Array, "filters.env must be an array"), v2(t4.env.every(function(e5) { + return b2.indexOf(e5) >= 0; + }), "'".concat(t4.env, "' - filters.env must be an array containing only: ").concat(b2.join(",")))), void 0 !== t4.status && (v2(t4.status instanceof Array, "filters.status must be an array"), v2(t4.status.every(function(e5) { + return E2.indexOf(e5) >= 0; + }), "'".concat(t4.status, "' - filters.status must be an array containing only: ").concat(E2.join(",")))); + } + var O2 = [{ name: "dev", env: "dev", region: "us-east-1", status: "stable", publicDomainName: "inindca.com", publicDomainAliases: [] }, { name: "eusc-edee1-core", env: "eusc", region: "eusc-de-east-1", status: "beta", publicDomainName: "edee1.eusc-pure.cloud", publicDomainAliases: [] }, { name: "fedramp-use2-core", env: "fedramp", region: "us-east-2", status: "stable", publicDomainName: "use2.us-gov-pure.cloud", publicDomainAliases: [] }, { name: "prod", env: "prod", region: "us-east-1", status: "stable", publicDomainName: "mypurecloud.com", publicDomainAliases: [] }, { name: "prod-apne1", env: "prod", region: "ap-northeast-1", status: "stable", publicDomainName: "mypurecloud.jp", publicDomainAliases: [] }, { name: "prod-apne2", env: "prod", region: "ap-northeast-2", status: "stable", publicDomainName: "apne2.pure.cloud", publicDomainAliases: [] }, { name: "prod-apne3", env: "prod", region: "ap-northeast-3", status: "stable", publicDomainName: "apne3.pure.cloud", publicDomainAliases: [] }, { name: "prod-aps1", env: "prod", region: "ap-south-1", status: "stable", publicDomainName: "aps1.pure.cloud", publicDomainAliases: [] }, { name: "prod-apse1", env: "prod", region: "ap-southeast-1", status: "stable", publicDomainName: "apse1.pure.cloud", publicDomainAliases: [] }, { name: "prod-apse2", env: "prod", region: "ap-southeast-2", status: "stable", publicDomainName: "mypurecloud.com.au", publicDomainAliases: [] }, { name: "prod-cac1", env: "prod", region: "ca-central-1", status: "stable", publicDomainName: "cac1.pure.cloud", publicDomainAliases: [] }, { name: "prod-euc1", env: "prod", region: "eu-central-1", status: "stable", publicDomainName: "mypurecloud.de", publicDomainAliases: [] }, { name: "prod-euc2", env: "prod", region: "eu-central-2", status: "stable", publicDomainName: "euc2.pure.cloud", publicDomainAliases: [] }, { name: "prod-euw1", env: "prod", region: "eu-west-1", status: "stable", publicDomainName: "mypurecloud.ie", publicDomainAliases: [] }, { name: "prod-euw2", env: "prod", region: "eu-west-2", status: "stable", publicDomainName: "euw2.pure.cloud", publicDomainAliases: [] }, { name: "prod-mec1", env: "prod", region: "me-central-1", status: "stable", publicDomainName: "mec1.pure.cloud", publicDomainAliases: [] }, { name: "prod-mxc1", env: "prod", region: "mx-central-1", status: "stable", publicDomainName: "mxc1.pure.cloud", publicDomainAliases: [] }, { name: "prod-sae1", env: "prod", region: "sa-east-1", status: "stable", publicDomainName: "sae1.pure.cloud", publicDomainAliases: [] }, { name: "prod-usw2", env: "prod", region: "us-west-2", status: "stable", publicDomainName: "usw2.pure.cloud", publicDomainAliases: [] }, { name: "test", env: "test", region: "us-east-1", status: "stable", publicDomainName: "inintca.com", publicDomainAliases: [] }], b2 = ["dev", "test", "prod", "fedramp", "eusc"], E2 = ["alpha", "beta", "stable", "archived"], w2 = ["localhost", "127.0.0.1"], R2 = { env: ["prod", "fedramp", "eusc"], status: ["stable"] }, D2 = {}, P2 = function(e4) { + return function(t4) { + return e4 === t4 || (function(e5, t5) { + return e5.slice(e5.length - t5.length) === t5; + })(e4, ".".concat(t4)); + }; + }, M2 = function(e4) { + void 0 === e4 && (e4 = R2), C2(e4); + var t4 = e4.env, i4 = e4.status; + return O2.filter(function(e5) { + return void 0 === t4 || t4.indexOf(e5.env) >= 0; + }).filter(function(e5) { + return void 0 === i4 || i4.indexOf(e5.status) >= 0; + }); + }, F2 = function(e4, t4) { + var n4 = I2(e4).hostname; + return M2(t4).find(function(e5) { + return i3([e5.publicDomainName], e5.publicDomainAliases).filter(function(e6) { + return !!e6; + }).some(P2(n4)); + }); + }, L2 = function(e4, n4) { + void 0 === e4 && (e4 = window.location.href), void 0 === n4 && (n4 = D2), C2(n4); + var o3 = I2(e4).hostname, r3 = F2(e4, n4); + if (r3) return t3(t3({}, r3), { local: false, currentDomainName: i3([r3.publicDomainName], r3.publicDomainAliases).filter(function(e5) { + return !!e5; + }).find(P2(o3)) }); + }, x2 = function(e4) { + return void 0 === e4 && (e4 = w2), function(i4, n4) { + void 0 === i4 && (i4 = window.location.href), void 0 === n4 && (n4 = D2), C2(n4), (function(e5, t4) { + v2(e5 instanceof Array, "".concat(t4, " must be an array of strings")); + for (var i5 = 0, n5 = e5; i5 < n5.length; i5++) v2("string" == typeof n5[i5], "Each item in ".concat(t4, " must be a string")); + })(e4, "localHostnames"); + var o3 = I2(i4), r3 = o3.hostname, a3 = o3.pathname; + if (e4.indexOf(r3) >= 0) { + var s3 = a3.split("/")[1], l3 = M2(n4).find(function(e5) { + return e5.name === s3; + }); + return l3 ? t3(t3({}, l3), { local: true, currentDomainName: l3.publicDomainName }) : void 0; + } + }; + }; + e3.ENVS = b2, e3.STATUSES = E2, e3.getEnvironments = M2, e3.isKnown = function(e4, t4) { + return !!F2(e4, t4); + }, e3.parse = F2, e3.parseDeployedRuntime = L2, e3.parseRuntime = function(e4, t4) { + return void 0 === e4 && (e4 = window.location.href), void 0 === t4 && (t4 = D2), x2()(e4, t4) || L2(e4, t4); + }, e3.parseRuntimeFromLocalPath = x2, Object.defineProperty(e3, "__esModule", { value: true }); + })(fe); + var Te = fe; + const ye = ["https"], Se = ["apps", "app", "app-regional"], Ae = Te.getEnvironments({}).map((e3) => { + const t3 = e3.publicDomainName, i3 = `${(function() { + const e4 = window.location.hostname.split("."), t4 = e4[0] || "", i4 = e4.length > 2, n3 = Se.includes(t4); + return i4 && n3 ? t4 : "apps"; + })()}.${t3}`; + return Ne(e3.name, i3, e3.publicDomainName); + }); + function Ne(e3, t3, i3) { + return { name: e3, uiHostname: t3, origin: `https://${t3}`, switcherUrl: `https://${t3}/account-switcher/`, apiUrl: `https://api.${i3}`, authUrl: `https://login.${i3}/oauth/authorize`, tokenUrl: `https://login.${i3}/oauth/token` }; + } + function ve() { + const e3 = []; + { + const t3 = Te.getEnvironments({}).map((e4) => e4.publicDomainName); + ye.forEach((i3) => { + Se.forEach((n3) => { + t3.forEach((t4) => { + e3.push(`${i3}://${n3}.${t4}`); + }); + }); + }); } - set partAndPartsOutOfService(e3) { - u.ParameterValidator.expectBool(e3, () => l.ParameterInfo.createPropertySet(this.className, "partAndPartsOutOfService", "value")), this.model.partAndPartsOutOfService !== !!e3 && (this.model.partAndPartsOutOfService = e3, this.builderPartsManager.setPartsOutOfServiceValue(e3), this.postUpdateOwningExpression(p.default.msWaitPartsChanged)); + return e3; + } + function Ie() { + return Ae; + } + function Ce(e3) { + return De().name === e3; + } + function Oe(e3) { + return "localhost" === window.location.hostname && "localhost" === e3 ? Re() : Ie().find((t3) => t3.name === e3); + } + function be(e3) { + return "localhost" === e3.hostname ? Re() : Ie().find((t3) => t3.origin === e3.origin); + } + function Ee(e3, t3) { + let i3; + i3 = "string" == typeof t3 ? Oe(t3) : t3, i3 && (e3.host = i3.uiHostname); + } + let we = "inindca.com"; + function Re() { + const e3 = window.location.origin; + let t3 = Ie().find((t4) => t4.origin == e3); + return t3 || (t3 = Ne("localhost", window.location.host, we)), t3; + } + function De() { + const e3 = new URL(window.location.href), t3 = Oe("dev") || Ne("dev", "apps.inindca.com", "inindca.com"); + return be(e3) || t3; + } + const Pe = { CLIENT: { RECEIVED_401: "gcMfeAuthClientCredentialExpiration", REQUEST_ACCOUNT_SWITCH: "gcMfeAuthRequestAccountSwitch" }, ACCOUNT_MANAGER: { ACCOUNT: { SAVE: "gcMfeAuthSaveAccount", DELETE: "gcMfeAuthDeleteAccount", UPDATE_NAME: "gcMfeAuthUpdateAccountName" }, ORGANIZATION: { SAVE: "gcMfeAuthSaveOrganization", DELETE: "gcMfeAuthDeleteOrganization", LIST: "gcMfeAuthListOrganizations", UPDATE_DESCRIPTION: "gcMfeAuthUpdateOrganizationDesc" }, TAB: { OPEN: "gcMfeAuthOpenAccountTab" } }, IFRAME_HELPER: { ACCOUNT: { SAVED: "gcMfeAuthAccountSaved", DELETED: "gcMfeAuthAccountDeleted", UPDATED_NAME: "gcMfeAuthAccountNameUpdated" }, ORGANIZATION: { SAVED: "gcMfeAuthOrganizationSaved", DELETED: "gcMfeAuthOrganizationDeleted", LISTED: "gcMfeAuthOrganizationListed", UPDATED_DESCRIPTION: "gcMfeAuthOrganizationDescUpdated" }, TAB: { ALERTED: "gcMfeAuthTabAlerted", OPENED: "gcMfeAuthTabOpened" }, READY: "gcMfeAuthIframeHelperReady", CHANGE_DETECTED: "gcMfeAuthIframeHelperChangeDetected" } }; + function Me(e3) { + const t3 = ve().includes(e3), i3 = "localhost" === window.location.hostname; + return t3 || i3; + } + async function Fe() { + const e3 = await c([u, l], "readonly"); + return new Promise((t3, i3) => { + const n3 = e3.objectStore(l), o2 = e3.objectStore(u).getAll(), r2 = n3.getAll(); + e3.oncomplete = () => { + const e4 = r2.result, i4 = o2.result; + t3(e4.map((e5) => xe(e5, i4))); + }, e3.onerror = () => { + i3(new Error("Error getting organizations")); + }; + }); + } + async function Le(e3, t3 = true) { + const i3 = await c(l, "readwrite"); + return new Promise((n3, o2) => { + const r2 = h(e3), a2 = i3.objectStore(l), s2 = a2.get(e3.orgName); + let u2 = false; + s2.onsuccess = () => { + s2.result && s2.result.description && !t3 && (r2.description = s2.result.description), (!s2.result || !K(s2.result, r2)) && (u2 = true, a2.put(r2)); + }, i3.oncomplete = () => { + n3(u2); + }, i3.onerror = () => { + o2(new Error("Error creating organization")); + }; + }); + } + function xe(e3, t3) { + return { ...e3, region: De().name, accounts: t3.filter((t4) => t4.orgName === e3.orgName).map(ne) }; + } + function ke(e3) { + if (!e3 || "object" != typeof e3) throw new Error("OrgKey is not an object."); + const t3 = "orgName" in e3 && "string" == typeof e3.orgName, i3 = "region" in e3 && "string" == typeof e3.region; + if (!t3) throw new Error("OrgKey does not have a valid orgName property."); + if (!i3) throw new Error("OrgKey does not have a valid region property."); + } + let Ve; + function Ue({ data: e3 }) { + alert(e3.message); + } + function Be(e3, t3) { + return `gc-mfe-auth-tab-${e3}-${t3}`; + } + function Ge(e3, t3) { + return `gc-mfe-auth-alertAccount-${e3}-${t3}`; + } + async function je(e3) { + const t3 = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(e3)); + return qe(new Uint8Array(t3)); + } + function qe(e3) { + return btoa(String.fromCharCode(...e3)).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, ""); + } + const We = "auth_as", Ye = "new_user"; + function He(e3) { + let t3; + if (t3 = ze(e3) || $e(e3) ? e3.region : e3.org.region, t3) return Oe(t3); + } + function Je(e3, t3) { + let i3; + i3 = $e(t3) ? Ye : ze(t3) ? t3.orgName : `${t3.email}:${t3.org.orgName}`, i3 && e3.searchParams.set(We, i3); + } + function $e(e3) { + return "user" in e3 && e3.user === Ye; + } + function ze(e3) { + return "orgName" in e3; + } + function Ke(e3) { + return "email" in e3; + } + class Qe { + constructor(e3, t3) { + o(this, "oAuthClientId"), o(this, "oAuthClientName"), this.oAuthClientId = e3, this.oAuthClientName = t3; + } + async authenticate(e3) { + const t3 = (function(e4) { + const t4 = (null == e4 ? void 0 : e4.authAs) || (function() { + const e5 = new URL(window.location.href), t5 = (function(e6) { + const t6 = e6.searchParams.get(We); + if (!t6) return; + if (t6 == Ye) return { user: Ye }; + const [i5, n5] = t6.split(":"); + return i5 && n5 ? { org: { orgName: n5 }, email: i5 } : { orgName: t6 }; + })(e5); + return (function(e6) { + e6.searchParams.delete(We); + })(e5), window.history.replaceState(null, "", e5), t5; + })(); + let i4, n4, o2, r2, a2 = false; + return i4 = e4 && e4.redirectTo ? new URL(e4.redirectTo, window.location.href) : new URL(window.location.href), t4 && (a2 = true, r2 = He(t4), ze(t4) ? n4 = t4.orgName : Ke(t4) && (n4 = t4.org.orgName, o2 = t4.email)), r2 || (r2 = be(i4)), r2 || (r2 = De()), { region: r2, orgName: n4, userEmail: o2, redirectUrl: i4, enableAccountSelection: (null == e4 ? void 0 : e4.enableAccountSelection) || false === (null == e4 ? void 0 : e4.skipAccountSelection), ignoreCurrentSession: a2 }; + })(e3), i3 = this.getAuthQueryParams(); + if (i3) { + const e4 = await this.completeOauthFlow(i3); + return this.completeSession(e4); + } + if (t3.region.name !== De().name) return this.redirectToTargetRegion(t3.region, null == e3 ? void 0 : e3.authAs); + const n3 = await this.getEstablishedToken(t3); + return n3 ? this.completeSession(n3.token, n3.account) : await this.startOauthFlow(t3); } - get hasMaxNumOfBuilderPartsConfigured() { - return !!this.hasMaxBuilderPartCount && (this.builderPartsManager.hasMaxNumOfBuilderPartsConfigured || this.builderContainerPartsManager.hasMaxNumOfBuilderPartsConfigured); + async completeSession(e3, t3) { + if (!t3) { + const i4 = await (async function(e4, t4, i5) { + const n3 = De().apiUrl, o2 = new Headers(); + return o2.append("Authorization", `bearer ${t4.value}`), o2.append("Genesys-App", e4), await fetch(`${n3}/api/v2/users/me?expand=organization`, { method: "GET", headers: o2 }).then((e5) => { + if (e5.ok) return e5.json(); + throw new Error(`HTTP Error. Status: ${e5.status}`, { cause: e5.status }); + }).then((e5) => ({ userId: e5.id, email: e5.email, userName: e5.name, orgName: e5.organization.thirdPartyOrgName, regionName: i5 })); + })(this.oAuthClientName, e3, De().name).catch(() => { + }); + i4 && (t3 = (function(e4, t4) { + return { accountName: e4.userName, userId: e4.userId, orgName: e4.orgName, email: e4.email, token: t4 }; + })(i4, e3), await te(t3, (function(e4) { + return { orgName: e4.orgName, region: De().name, accounts: [] }; + })(i4))); + } + t3 && (function(e4, t4) { + (function(e5, t5) { + const i5 = Be(e5, t5); + navigator.locks.request(i5, () => new Promise(() => { + })).catch((e6) => { + if ("AbortError" !== e6.name) throw e6; + }); + })(e4, t4), Ve && (Ve.removeEventListener("message", Ue), Ve.close()); + const i4 = Ge(e4, t4); + Ve = new BroadcastChannel(i4), Ve.addEventListener("message", Ue); + })(t3.orgName, t3.email); + const i3 = /* @__PURE__ */ (function(e4) { + return { token: e4 }; + })(e3); + return (function(e4) { + y(e4), (function(e5) { + sessionStorage.setItem(m, e5); + })(e4.token.value); + })(i3), i3; } - getToolbarActions() { - if (this.builderDef.fixedBuilderPart && this.hasMaxNumOfBuilderPartsConfigured) return []; - const e3 = {}, t3 = []; - return o.default.each(this.availableBuilderPartDefinitions, (i3) => { - const n3 = { toolbarId: (0, a.uuid)(), name: i3.name, icon: i3.icon || s.default.any, testAttr: "addBuilderOptions-" + i3.name, callback: (e4) => e4 && e4.builderPartsManager ? e4.builderPartsManager.createAndAddPartFromBuilderPartDef(i3) : this.createAndAddPartFromBuilderPartDef(i3), sortName: i3.sortValue || i3.name }; - 0 !== i3.categories.length ? o.default.each(o.default.contains(i3.categories, h.builderCategoryIds.toolbar) ? [h.builderCategoryIds.toolbar] : i3.categories, (i4) => { - if (0 === this.builderDef.categories.length || o.default.contains(this.builderDef.categories, i4)) { - const r3 = m.default.getCategory(i4); - r3.actionsOnToolbar ? t3.push(n3) : (e3[i4] || (e3[i4] = { toolbarId: (0, a.uuid)(), name: r3.name, icon: r3.icon, isCategory: true, testAttr: "addBuilderCategory", actions: [] }), e3[i4].actions.push(n3)); - } - }) : N.error(`${i3.id} has no categories`); - }), o.default.union(o.default.values(e3), t3); + redirectToTargetRegion(e3, t3) { + const i3 = new URL(window.location.toString()); + Ee(i3, e3), t3 && Je(i3, t3), window.location.assign(i3); } - _configureForFlowState() { - let e3 = this.builderPartsManager.configureForFlowState(); - return this.builderContainerPartsManager.configureForFlowState() && (e3 = true), e3; + async completeOauthFlow({ authCode: e3, pkceState: t3 }) { + const i3 = ae({ type: ce, key: ue, error: me }), n3 = ae({ type: pe, key: de, error: me }), o2 = ae({ type: he, key: _e, error: me }); + let r2; + if (!(i3 && n3 && o2) || i3 !== t3) throw this.cleanUpAuthState(), new Error(Ze); + return r2 = await this.fetchAuthToken(n3, e3, o2), this.cleanUpAuthState(), r2; } - deletePart(e3) { - const t3 = this._getManagerForBuilderPart(e3); - return !!t3 && t3.deletePart(e3); + cleanUpAuthState() { + se({ type: ce, key: ue, error: me }), se({ type: pe, key: de, error: me }), se({ type: he, key: _e, error: me }); } - get hasMaxBuilderPartCount() { - return this.builderPartsManager.hasMaxBuilderPartCount; + async getEstablishedToken(e3) { + var t3, i3; + const { orgName: n3, userEmail: o2 } = e3; + let r2; + if (n3 && o2) { + const e4 = await (async function(e5, t4) { + try { + return await Z(t4, e5); + } catch (e6) { + return void console.warn("DB access failed, assuming no account match", e6); + } + })(o2, n3); + if (e4 && (function(e5) { + return null !== e5.token; + })(e4) && et(e4.token)) return { token: e4.token, account: e4 }; + } else if (!e3.ignoreCurrentSession && (r2 = null == (t3 = f()) ? void 0 : t3.token, !r2)) { + const e4 = await (async function() { + try { + return await X(); + } catch { + return []; + } + })(); + 1 == e4.length && (r2 = (null == (i3 = e4[0]) ? void 0 : i3.token) || void 0); + } + if (et(r2)) return { token: r2 }; } - get maxBuilderPartCount() { - return this.builderPartsManager.maxBuilderPartCount; + async startOauthFlow(e3) { + if (e3.enableAccountSelection && await this.requiresAccountSelection(e3)) this.redirectToAccountSwitcher(e3.region, e3.redirectUrl); + else { + const t3 = (function() { + const e4 = new Uint8Array(15); + return window.crypto.getRandomValues(e4), qe(e4); + })(), { codeChallenge: i3, codeVerifier: n3 } = await (async function() { + const e4 = (function() { + const e5 = new Uint8Array(32); + return window.crypto.getRandomValues(e5), qe(e5); + })(); + return { codeChallenge: await je(e4), codeVerifier: e4 }; + })(), o2 = e3.redirectUrl.toString(); + (function(e4) { + re({ type: ce, key: ue, value: e4, error: me }); + })(t3), (function(e4) { + re({ type: pe, key: de, value: e4, error: me }); + })(n3), (function(e4) { + re({ type: he, key: _e, value: e4, error: me }); + })(o2); + const r2 = new URLSearchParams({ response_type: "code", state: t3, code_challenge: i3, code_challenge_method: "S256", client_id: this.oAuthClientId, redirect_uri: o2 }), a2 = new URL(`${e3.region.authUrl}?${r2}`); + (e3.orgName || e3.userEmail || e3.ignoreCurrentSession) && a2.searchParams.set("prompt", "login"), e3.orgName && e3.userEmail ? a2.searchParams.set("login_hint", `${e3.userEmail}:${e3.orgName}`) : e3.orgName && a2.searchParams.set("login_hint", e3.orgName), window.location.replace(a2); + } } - get hasMinBuilderPartCount() { - return this.builderPartsManager.hasMinBuilderPartCount; + onClient401(e3) { + window.addEventListener("message", (t3) => { + if (!Me(t3.origin)) return; + const i3 = t3.data; + i3.type === Pe.CLIENT.RECEIVED_401 && null !== i3.clientId && e3({ client: i3.clientId, origin: t3.origin }); + }); } - get minBuilderPartCount() { - return this.builderPartsManager.minBuilderPartCount; + onAccountSwitchRequest(e3) { + window.addEventListener("message", (t3) => { + if (!Me(t3.origin)) return; + const i3 = t3.data; + try { + oe(i3.account), ke(i3.orgKey); + } catch { + return; + } + if (i3.type === Pe.CLIENT.REQUEST_ACCOUNT_SWITCH && i3.clientId && "string" == typeof i3.clientId) { + const n3 = { authAs: { org: i3.orgKey, email: i3.account.email } }; + e3({ client: i3.clientId, origin: t3.origin, authOptions: n3 }); + } + }); } - getBuilderPartTotal() { - let e3 = this.builderPartsManager.enabledNonContainerPartCount; - return e3 += this.builderContainerPartsManager.enabledNonContainerPartCount, e3; + async clearActiveSession() { + const e3 = await (async function() { + const e4 = T(); + if (e4) return ee(e4); + })().catch(() => { + }); + if (sessionStorage.removeItem(g), sessionStorage.removeItem(m), e3) return (function(e4, t3) { + (function(e5, t4) { + const i3 = Be(e5, t4); + navigator.locks.request(i3, { steal: true }, () => { + }); + })(e4, t3), Ve && (Ve.removeEventListener("message", Ue), Ve.close(), Ve = void 0); + })(e3.orgName, e3.email), ie(e3.orgName, e3.email); } - getExpressionDetails(e3) { - if ((null == e3 ? void 0 : e3.richSummary) && e3.criteria) { - const t4 = this.builderContainerPartsManager.getExpressionDetails(e3); - if (t4) return t4; - } - if (this.builderPartsManager.enabledNonContainerPartCount > 0 && (null == e3 ? void 0 : e3.richSummary)) return this.builderPartsManager.getExpressionDetails(e3); - const t3 = this.getBuilderPartTotal(); - let i3; - switch (t3) { - case 0: - i3 = A.builders.shared.details.builderPartsNone; - break; - case 1: - i3 = A.builders.shared.details.builderPartsOne; - break; - default: - i3 = (0, r2.sprintf)(A.builders.shared.details.builderPartsMoreThanOne, t3); + async logout(e3) { + var t3; + const i3 = null == (t3 = f()) ? void 0 : t3.token, n3 = De().name, o2 = { token: i3, regionName: n3 }, { token: r2, regionName: a2 } = { ...o2, ...e3 }; + console.log(r2, a2); + const s2 = !!r2, l2 = s2 && r2.value === (null == i3 ? void 0 : i3.value); + if (s2 && (await (async function(e4, t4, i4) { + var n4; + const o3 = null == (n4 = Oe(i4)) ? void 0 : n4.apiUrl, r3 = new Headers(); + if (r3.append("Authorization", `bearer ${t4.value}`), r3.append("Genesys-App", e4), !o3) throw new Error(`Unsupported region name: ${i4}`); + return await fetch(`${o3}/api/v2/tokens/me`, { method: "DELETE", headers: r3 }).then((e5) => { + if (!e5.ok && 401 !== e5.status) throw new Error(`HTTP Error. Status: ${e5.status}`, { cause: e5.status }); + }); + })(this.oAuthClientName, r2, a2), l2 && this.clearActiveSession(), a2 === n3)) { + const e4 = await ee(r2.value).catch(() => { + }); + e4 && ie(e4.orgName, e4.email); } - return i3; } - getExpressionDetailParts(e3) { - if ((null == e3 ? void 0 : e3.richSummary) && e3.criteria) { - const t3 = this.builderContainerPartsManager.getExpressionDetailParts(e3); - if (t3) return t3; + async requiresAccountSelection(e3) { + if (e3.userEmail) return false; + let t3 = []; + try { + t3 = await X(); + } catch { + console.warn("Could not lookup saved accounts, assuming empty listing"); } - return this.builderPartsManager.enabledNonContainerPartCount > 0 && (null == e3 ? void 0 : e3.richSummary) ? this.builderPartsManager.getExpressionDetailParts(e3) : []; - } - movePartToIndex(e3, t3) { - const i3 = this._getManagerForBuilderPart(e3); - return !!i3 && i3.movePartToIndex(e3, t3); - } - movePartDown(e3) { - const t3 = this._getManagerForBuilderPart(e3); - return t3 ? t3.movePartDown(e3) : -1; - } - movePartUp(e3) { - const t3 = this._getManagerForBuilderPart(e3); - return t3 ? t3.movePartUp(e3) : -1; + return t3.length > 1; } - createAndAddPartFromBuilderPartDef(e3, t3) { - return this._getManagerForBuilderPart(e3).createAndAddPartFromBuilderPartDef(e3, t3); + redirectToAccountSwitcher(e3, t3) { + const i3 = (function(e4, t4, i4) { + return `${e4}#?oauth_client_id=${t4}&redirect_url=${i4}`; + })(e3.switcherUrl, this.oAuthClientId, t3.toString()); + location.replace(i3); } - getContainerPart(e3, t3, i3) { - let n3 = this.builderContainerPartsManager.findContainerPart(e3, t3); - return !n3 && i3 && (n3 = this.createAndAddPartFromBuilderPartDef(e3, t3)), n3; + getAuthQueryParams() { + const e3 = new URL(window.location.href), t3 = e3.searchParams.get("code"), i3 = e3.searchParams.get("state"); + if (t3 && i3) return e3.searchParams.delete("code"), e3.searchParams.delete("state"), window.history.pushState(null, "", e3), { authCode: t3, pkceState: i3 }; } - getOutputModeContainerPart(e3, t3) { - if (!o.default.isString(e3) || 0 === e3.length) return; - const i3 = this.availableBuilderPartContainerDefinitions.find((e4) => e4.isBuilderPartContainerOutputModeDef); - if (!i3) return; - const n3 = T.default.createForOutputMode(e3); - return this.getContainerPart(i3, n3, t3); + async fetchAuthToken(e3, t3, i3) { + const n3 = De().tokenUrl, o2 = new URLSearchParams({ code_verifier: e3, grant_type: "authorization_code", client_id: this.oAuthClientId, redirect_uri: i3, code: t3 }), r2 = await fetch(n3, { method: "POST", body: o2 }); + if (!r2.ok) throw new Error(`Token request failed with status ${r2.status}`); + const a2 = await r2.json(), s2 = 1e3 * a2.expires_in, l2 = Date.now(), u2 = "session" === a2.allowed_storage ? "session_only" : "persistent"; + return { value: a2.access_token, expiration: l2 + s2, storageLifetime: u2 }; } - getLanguageOutputModeContainerPart(e3, t3, i3) { - if (!o.default.isString(e3) || 0 === e3.length || !o.default.isString(t3) || 0 === t3.length) return; - const n3 = this.availableBuilderPartContainerDefinitions.find((e4) => e4.isBuilderPartContainerLanguageOutputModeDef); - if (!n3) return; - const r3 = T.default.createForLanguageTagAndOutputMode(e3, t3); - return this.getContainerPart(n3, r3, i3); + } + function Xe(e3) { + !(function(e4) { + we = e4; + })(e3); + } + const Ze = "\nAuth state mismatch! Possible session hijacking attack!\n".trim(); + function et(e3) { + return !!(e3 && e3.expiration > Date.now()); + } + class tt { + constructor(e3, t3 = window.location.origin) { + if (o(this, "hostOrigin"), o(this, "clientId"), o(this, "parentWindow"), !e3) throw new Error(it); + this.hostOrigin = t3, this.clientId = e3, this.parentWindow = window.parent; + } + async getToken(e3 = 3e3) { + return T() || await (function(e4) { + return new Promise((t3, i3) => { + const n3 = setTimeout(() => { + o2(), i3(new Error((function(e5) { + return ` +I waited for an auth token for ${e5}ms but never got one. This is most +likely a bug in the host application this client is using. Host apps should set +up tokens before clients start, and update them on any change. +`.trim(); + })(e4))); + }, e4), o2 = A((e5) => { + clearTimeout(n3), o2(), t3(e5); + }); + }); + })(e3); } - getLanguageContainerPart(e3, t3) { - if (!o.default.isString(e3) || 0 === e3.length) return; - const i3 = this.availableBuilderPartContainerDefinitions.find((e4) => e4.isBuilderPartContainerLanguageDef); - if (!i3) return; - const n3 = T.default.createForLanguageTag(e3); - return this.getContainerPart(i3, n3, t3); + onTokenChange(e3) { + return A(e3); + } + notify401Response(e3) { + if (null == e3) throw new Error(nt); + if (e3 !== T()) throw new Error(ot); + const t3 = { type: Pe.CLIENT.RECEIVED_401, clientId: this.clientId }; + this.parentWindow.postMessage(t3, this.hostOrigin); + } + requestAccountSwitch(e3, t3) { + oe(e3), ke(t3); + const i3 = { type: Pe.CLIENT.REQUEST_ACCOUNT_SWITCH, clientId: this.clientId, account: e3, orgKey: t3 }; + this.parentWindow.postMessage(i3, this.hostOrigin); + } + } + const it = "\nI need an identifier for your app to create a new client. This is so the host\napp knows where messaging is coming from and can log and alert on any problems\nappropriately.\n".trim(), nt = "\nI need to check the token you used when receiving a 401 to make sure it's up to\ndate before I ask the host app to re-authenticate, but you did not provide one.\nIf I don't check that first, I could trigger unnecessary page refreshes for\nusers due to clients caching tokens incorrectly.\n".trim(), ot = "\nWhen using this library to look up auth tokens, it is important not to cache\nthe tokens outside of the library, because the host app may update the token\nvalue between client requests. The token that you reported getting a 401 with\nis not the current token value I am tracking. Please make sure you are not\ncaching tokens before opening an issue with the host application.\n".trim(); + class rt { + async saveAccount(e3, t3) { + return te(e3, { orgName: t3 }, true).then(); + } + async deleteAccount(e3, t3) { + return (async function(e4, t4) { + const i3 = await c(u, "readwrite"); + return new Promise((n3, o2) => { + const r2 = i3.objectStore(u), a2 = _(e4, t4); + r2.delete(a2), i3.oncomplete = () => { + n3(); + }, i3.onerror = () => { + o2(new Error("Error deleting account")); + }; + }); + })(e3, t3); } - get hasEnabledLanguageContainerPartsForAllSupportedLanguages() { - if (!this.supportsLanguageContainersOnly) return false; - const e3 = this.parentFlow; - if (!e3 || !e3.languages) return false; - if (!o.default.isArray(e3.languages.supportedLanguagesViewModels) || 0 === e3.languages.supportedLanguagesViewModels.length) return false; - const t3 = o.default.find(e3.languages.supportedLanguagesViewModels, (e4) => { - const t4 = this.getLanguageContainerPart(e4.idExpressionText, false); - return o.default.isUndefined(t4) || t4.outOfService; - }); - return o.default.isUndefined(t3); + async updateAccountName(e3, t3, i3) { + const n3 = await Z(t3.orgName, i3); + return n3.accountName = e3, te(n3, t3, true).then(); + } + async getOrganizations() { + return Fe(); + } + async saveOrganization(e3) { + return Le(e3, true).then(); + } + async deleteOrganization(e3) { + return (async function(e4) { + const t3 = await c([u, l], "readwrite"); + return new Promise((i3, n3) => { + t3.objectStore(l).delete(e4); + const o2 = t3.objectStore(u), r2 = o2.index("orgName").getAll(e4); + r2.onsuccess = () => { + r2.result.forEach((t4) => { + o2.delete([e4, t4.email]); + }); + }, t3.oncomplete = () => { + i3(); + }, t3.onerror = () => { + n3(new Error("Error deleting organization")); + }; + }); + })(e3); } - _buildExpressionGeneration() { - if (0 === this.builderPartContainers.length) { - return this._buildExpressionGenerationFromManager(this.builderPartsManager) || _.default.createEmptyStringGeneration(); - } - let e3 = ""; - const t3 = _.default.genericBuilderWithPartsGenerator.createGeneration(); - o.default.each(this.builderPartContainers, (i4) => { - const n3 = i4.buildExpressionGeneration(); - n3 && (t3.addGenerationToBucket(n3, "containerPartGenerations"), e3 += ")"); + async updateOrganizationDescription(e3, t3) { + const i3 = await (async function(e4) { + const t4 = await c([u, l], "readonly"); + return new Promise((i4, n3) => { + const o2 = t4.objectStore(l), r2 = t4.objectStore(u).index("orgName").getAll(e4), a2 = o2.get(e4); + t4.oncomplete = () => { + if (!a2.result) return void n3(new Error("Organization not found")); + const e5 = a2.result, t5 = r2.result; + i4(xe(e5, t5)); + }, t4.onerror = () => { + n3(new Error("Error getting organizations")); + }; + }); + })(t3); + return i3.description = e3, Le(i3, true).then(); + } + async openTab(e3) { + return new Promise((t3) => { + const { authTarget: i3, destination: n3, alertMessage: o2 } = e3; + if (Ke(i3)) { + const e4 = i3.org.orgName; + !(function(e5, t4, i4) { + const n4 = Be(e5, t4); + navigator.locks.request(n4, { ifAvailable: true }, async (e6) => { + i4(null === e6); + }); + })(e4, i3.email, (r2) => { + r2 ? (function(e5, t4, i4) { + const n4 = Ge(e5, t4); + new BroadcastChannel(n4).postMessage({ message: i4 }); + })(e4, i3.email, o2) : window.open(n3), t3(!r2); + }); + } else window.open(n3), t3(true); }); - const i3 = this._buildExpressionGenerationFromManager(this.builderPartsManager); - return t3.addGenerationToBucket(i3 || _.default.createEmptyStringGeneration(), "builderGeneration"), t3.setReplacementTokens(e3), t3; } - _buildExpressionGenerationFromManager(e3) { + getGenesysOrigins() { + return ve(); } - findBestContainerPartForCriteria(e3) { - return this.builderContainerPartsManager.findBestContainerPartForCriteria(e3) || this.builderPartsManager.findBestContainerPartForCriteria(e3); + getMessageTypes() { + return Pe; } } - 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), 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); + function at(e3) { + switch (e3.state) { + case ut.Active: + return { state: "available", data: e3.data }; + case ut.Error: + return { state: "error", errorMessage: e3.error }; + case ut.Initializing: + return { state: "initializing" }; } - get isTransferPureMatchAction() { - return true; + } + const st = "gc-mfe-auth-frames"; + class lt { + constructor(e3) { + o(this, "state"), o(this, "messageHandler"), o(this, "onIframeStateChangeHandler"), o(this, "lastRequestId", 0), o(this, "MAX_WAIT_TIME", 5e3), this.onIframeStateChangeHandler = e3, this.messageHandler = this.setupHandler(), window.addEventListener("message", this.messageHandler), this.state = this.createIframeState(), this.attachIframes(this.state); } - repointSelfReferencingFlow(e3, t3) { + cleanup() { + window.removeEventListener("message", this.messageHandler); + const e3 = document.getElementById(st); + this.state.forEach((e4) => { + var t3; + switch (e4.state) { + case "error": + break; + case "active": + null == (t3 = e4.pendingRequest) || t3.rejectRequest("Cleanup"), e4.requestQueue.forEach((e5) => e5.rejectRequest("Cleanup")); + break; + case "initializing": + clearTimeout(e4.readyTimeout), e4.requestQueue.forEach((e5) => e5.rejectRequest("Cleanup")); + } + e4.iframe.remove(); + }), this.state.clear(), null == e3 || e3.remove(); + } + queueRequest({ regionName: e3, message: t3, validator: i3, getter: n3 }) { + return new Promise((o2, r2) => { + const a2 = this.getRequestId(), s2 = this.state.get(e3); + let l2 = false; + if (!s2) return void r2(`No iframe found for ${e3}`); + if ("error" === s2.state) return void r2(`Iframe for ${e3} is not available.`); + const u2 = setTimeout(() => { + if (!l2) return l2 = true, this.removeRequest(e3, a2), r2(`Timed out waiting for response from iframe in ${e3}.`); + }, this.MAX_WAIT_TIME), c2 = { gcMfeAuthRequestId: a2, initiateRequest: () => { + var e4; + null == (e4 = s2.iframe.contentWindow) || e4.postMessage({ ...t3, gcMfeAuthRequestId: a2, version: 1 }, s2.origin); + }, resolveRequest: (t4) => { + if (!l2) return l2 = true, clearTimeout(u2), this.removeRequest(e3, a2), o2(n3(t4)); + }, rejectRequest: (e4) => { + if (!l2) return l2 = true, clearTimeout(u2), r2(e4); + }, validateMessage: i3 }, d2 = { ...s2, requestQueue: [...s2.requestQueue, c2] }; + this.state.set(e3, d2), "active" === s2.state && !s2.pendingRequest && this.initiateNextRequest(e3); + }); + } + getRequestId() { + return this.lastRequestId === Number.MAX_SAFE_INTEGER ? this.lastRequestId = 0 : this.lastRequestId++, this.lastRequestId; + } + removeRequest(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: 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")) }]; + const n3 = this.state.get(e3); + if (!n3 || "active" !== n3.state) return; + const o2 = n3.requestQueue.filter((e4) => e4.gcMfeAuthRequestId !== t3), r2 = (null == (i3 = n3.pendingRequest) ? void 0 : i3.gcMfeAuthRequestId) === t3, a2 = { ...n3, requestQueue: o2, pendingRequest: r2 ? null : n3.pendingRequest }; + this.state.set(e3, a2), r2 && this.initiateNextRequest(e3); + } + initiateNextRequest(e3) { + const t3 = this.state.get(e3); + if (!t3 || "active" !== t3.state) return; + const i3 = t3.requestQueue[0] || null, n3 = { ...t3, requestQueue: t3.requestQueue.slice(1), pendingRequest: i3 }; + this.state.set(e3, n3), i3 && i3.initiateRequest(); + } + createIframeState() { + const e3 = Ie().filter((e4) => !Ce(e4.name)), t3 = /* @__PURE__ */ new Map(); + return e3.forEach(({ name: e4, origin: i3 }) => { + const n3 = this.createIframe(i3, e4), o2 = setTimeout(() => { + console.log(`Failed to load iframe for ${e4}.`), this.setErrorState(e4); + }, this.MAX_WAIT_TIME); + t3.set(e4, { state: "initializing", iframe: n3, origin: i3, readyTimeout: o2, requestQueue: [] }); + }), t3; } - _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 : R.baseTransferToAcdFailureReasons; + createIframe(e3, t3) { + const i3 = document.createElement("iframe"); + return i3.setAttribute("src", `${e3}/gc-mfe-auth-frame/2.5.0/index.html`), i3.setAttribute("aria-hidden", "true"), i3.setAttribute("id", `gc-mfe-auth-iframe-${t3}`), i3.classList.add("gc-mfe-auth-helper-frame"), i3; } - _loadModel(e3) { - super._loadModel(e3), this.useDefaultHandling = void 0 === this.useDefaultHandling || this.useDefaultHandling, this.languageSkill.isEmpty && this.languageSkill.isExpressionMode && this.languageSkill.setAsNoValue(); + attachIframes(e3) { + if (!document.body) throw new Error("No body element found."); + let t3 = document.getElementById(st); + null === t3 ? (t3 = this.createFrameParent(), e3.forEach((e4) => { + t3.appendChild(e4.iframe); + })) : e3.forEach((e4, t4) => { + const i3 = document.getElementById(e4.iframe.id); + i3 ? this.state.set(t4, { ...e4, iframe: i3 }) : this.setErrorState(t4); + }); } - _overrideProperties() { - super._overrideProperties.apply(this, arguments), this.skills.attachValidator((e3, t3, i3) => { - const n3 = a.default.where(i3, { text: t3.text }); - if (n3 && n3.length > 1) { - const i4 = G.skills.multipleSkillsError; - t3.setLiteralError(true), t3.setParseError(i4), e3.nodeHasError(this.id, i4) || e3.addError(this, i4); - } + setErrorState(e3) { + const t3 = this.state.get(e3), i3 = `Failed to load ${e3} region.`; + if (!t3 || "error" === t3.state) return; + t3.requestQueue.forEach((e4) => { + e4.rejectRequest(i3); }); + const n3 = { state: "error", iframe: t3.iframe, origin: t3.origin, error: i3 }; + this.state.set(e3, n3), this.notifyRegionChange(e3, n3); } - getDetails() { - const e3 = [], t3 = [], i3 = function(i4, n3, r3) { - if (i4 && i4.length) for (let a2 = 0; a2 < i4.length; a2++) { - const s2 = i4[a2]; - e3.push((0, o.sprintf)(n3, a2 + 1)), t3.push(r3(s2)); - } + createFrameParent() { + const e3 = document.createElement("div"); + return e3.id = "gc-mfe-auth-frames", e3.style.display = "none", document.body.appendChild(e3), e3; + } + setupHandler() { + return (e3) => { + var t3; + const { type: i3, gcMfeAuthRequestId: n3 } = e3.data, o2 = null == (t3 = Ie().find((t4) => t4.origin === e3.origin)) ? void 0 : t3.name, r2 = o2 ? this.state.get(o2) : null; + if (!o2 || !r2 || !ve().includes(e3.origin) || (i3 === Pe.IFRAME_HELPER.READY && this.handleReadyMessage(o2, r2, e3), "active" !== r2.state)) return; + const a2 = r2.pendingRequest; + n3 && a2 && a2.gcMfeAuthRequestId === n3 && a2.validateMessage(e3) && a2.resolveRequest(e3); }; - return this.queues ? i3(this.queues.items, G.transferPureMatch.queue, function(e4) { - 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 O.ActionDetails(e3, t3); } - setNewInstanceDefaults() { - super.setNewInstanceDefaults(), this.queues.add(), this.priority.setAsLiteral("0"), this.appendSkills.setAsLiteral(this.supportsAppendSkills.toString()); + handleReadyMessage(e3, t3, i3) { + "initializing" === t3.state && clearTimeout(t3.readyTimeout); + const n3 = { state: "active", data: i3.data.orgs || [], pendingRequest: null, requestQueue: t3.requestQueue || [], iframe: t3.iframe, origin: t3.origin }; + this.state.set(e3, n3), this.initiateNextRequest(e3), this.notifyRegionChange(e3, n3); } - _initializeDesignTime() { - super._initializeDesignTime(), this.appendSkills.isLiteralMode && this.appendSkills.isBlank && this.appendSkills.setAsLiteral(s.default.false), this.priority.options.facets.setMinInt(s.default.minConversationPriority, true).setMaxInt(s.default.maxConversationPriority, true), this.parentFlow.isCommonModuleFlow ? (this.addAutoCleanedUpEventSinkWatch(g.destinationFlowTypesChanged, this.parentFlow.commonModuleSettings, () => { - this._updateInqueueFlowWarningOutOfService(), this._updateBranchesOOS(); - }), this._updateBranchesOOS()) : this.branchExecutionRestriction.outOfService = true, this._updateInqueueFlowWarningOutOfService(); + notifyRegionChange(e3, t3) { + this.onIframeStateChangeHandler([e3, at(t3)]); } - _updateInqueueFlowWarningOutOfService() { - if (this.parentFlow.isCommonModuleFlow) { - if (this.inQueueFlowWarning.outOfService = !T.needsConflictingInQueueFlowTypes(this.parentFlow), this.inQueueFlowWarning.outOfService) { - const e3 = T.getUnsupportedDestinationFlowTypes(this.parentFlow); - e3.length ? this.inQueueFlow.options.setDescriptionInfo(this.inQueueFlow.configListManager.dependencyType.displayName, (0, o.sprintf)(G.commonModule.notAvailableInFlowTypes, y.getFlowTypesDisplayString(e3))) : this.inQueueFlow.options.clearDescriptionInfo(); - } - } else this.inQueueFlowWarning.outOfService = true, this.inQueueFlow.options.clearDescriptionInfo(); + } + var ut = ((e3) => (e3.Initializing = "initializing", e3.Error = "error", e3.Active = "active", e3))(ut || {}); + class ct { + constructor(e3) { + o(this, "iframeHelper", new rt()), o(this, "iframeManager"), o(this, "currentRegion", De()), o(this, "onRegionChange"), this.onRegionChange = e3 || (() => { + }), this.notifyCurrentRegionChange(), this.iframeManager = new lt((e4) => { + this.onRegionChange(e4); + }); } - _updateBranchesOOS() { - const e3 = r2.flowTypes.hasVxmlgenFlowType(this.parentFlow.destinationFlowTypes) || r2.flowTypes.hasCiceroFlowType(this.parentFlow.destinationFlowTypes), t3 = r2.flowTypes.hasAutomateFlowType(this.parentFlow.destinationFlowTypes); - this.branches.forEach((t4) => { - t4.outOfService = !e3; - }), this.branchExecutionRestriction.outOfService = !(e3 && t3); + cleanup() { + this.iframeManager.cleanup(); } - get supportsAppendSkills() { - return a.default.contains(j, this.parentFlow.type); + async saveAccount(e3, t3) { + return Ce(t3.region) ? this.iframeHelper.saveAccount(e3, t3.orgName) : this.iframeManager.queueRequest({ regionName: t3.region, message: { account: e3, orgName: t3.orgName, type: Pe.ACCOUNT_MANAGER.ACCOUNT.SAVE }, validator: (i3) => { + const { type: n3, email: o2, orgName: r2 } = i3.data; + return n3 === Pe.IFRAME_HELPER.ACCOUNT.SAVED && o2 === e3.email && t3.orgName === r2; + }, getter: () => { + } }); } - search(e3) { - var t3; - super.search.apply(this, arguments), this.inQueueFlowName && (null === (t3 = this.supportedInQueueFlowTypeDefinition) || void 0 === t3 ? void 0 : t3.typeDisplayName) && e3.checkText(this, this.inQueueFlowName, this.supportedInQueueFlowTypeDefinition.typeDisplayName); + async deleteAccount(e3, t3) { + return Ce(t3.region) ? this.iframeHelper.deleteAccount(t3.orgName, e3) : this.iframeManager.queueRequest({ regionName: t3.region, message: { email: e3, orgName: t3.orgName, type: Pe.ACCOUNT_MANAGER.ACCOUNT.DELETE }, validator: (i3) => { + const { type: n3, email: o2, orgName: r2 } = i3.data; + return n3 === Pe.IFRAME_HELPER.ACCOUNT.DELETED && e3 === o2 && t3.orgName === r2; + }, getter: () => { + } }); } - get supportedInQueueFlowTypeDefinition() { - return T.getInqueueFlowTypeDefinition(this.parentFlow); + async updateAccountName(e3, t3, i3) { + return Ce(t3.region) ? this.iframeHelper.updateAccountName(e3, t3, i3) : this.iframeManager.queueRequest({ regionName: t3.region, message: { email: i3, name: e3, orgKey: t3, type: Pe.ACCOUNT_MANAGER.ACCOUNT.UPDATE_NAME }, validator: (e4) => { + const { type: t4, email: n3 } = e4.data; + return t4 === Pe.IFRAME_HELPER.ACCOUNT.UPDATED_NAME && i3 === n3; + }, getter: () => { + } }); } - get supportedInQueueFlowType() { - return T.getSupportedInQueueFlowType(this.parentFlow); + async getOrganizations() { + const e3 = /* @__PURE__ */ new Map(); + Ie().map((e4) => e4.name).filter((e4) => e4 !== this.currentRegion.name).forEach((t4) => { + const i3 = this.iframeManager.queueRequest({ regionName: t4, message: { type: Pe.ACCOUNT_MANAGER.ORGANIZATION.LIST }, validator: (e4) => { + const { type: t5, orgs: i4 } = e4.data; + return t5 === Pe.IFRAME_HELPER.ORGANIZATION.LISTED && i4; + }, getter: (e4) => e4.data.orgs }); + e3.set(t4, i3); + }); + const t3 = Fe(); + return e3.set(this.currentRegion.name, t3), e3; + } + async saveOrganization(e3) { + return Ce(e3.region) ? this.iframeHelper.saveOrganization(e3) : this.iframeManager.queueRequest({ regionName: e3.region, message: { org: e3, type: Pe.ACCOUNT_MANAGER.ORGANIZATION.SAVE }, validator: (t3) => { + const { type: i3, org: n3 } = t3.data; + return i3 === Pe.IFRAME_HELPER.ORGANIZATION.SAVED && e3.orgName === n3.orgName; + }, getter: () => { + } }); } - get useDefaultHandling() { - return this.model.useDefaultHandling; + async deleteOrganization(e3) { + return Ce(e3.region) ? this.iframeHelper.deleteOrganization(e3.orgName) : this.iframeManager.queueRequest({ regionName: e3.region, message: { orgName: e3.orgName, type: Pe.ACCOUNT_MANAGER.ORGANIZATION.DELETE }, validator: (t3) => { + const { type: i3, orgName: n3 } = t3.data; + return i3 === Pe.IFRAME_HELPER.ORGANIZATION.DELETED && e3.orgName === n3; + }, getter: () => { + } }); } - set useDefaultHandling(e3) { - e3 !== this.model.useDefaultHandling && (this.model.useDefaultHandling = e3, this.initializeDesignTimeCalled && A.validateNode(this)); + async updateOrganizationDescription(e3, t3) { + return Ce(t3.region) ? this.iframeHelper.updateOrganizationDescription(e3, t3.orgName) : this.iframeManager.queueRequest({ regionName: t3.region, message: { description: e3, orgName: t3.orgName, type: Pe.ACCOUNT_MANAGER.ORGANIZATION.UPDATE_DESCRIPTION }, validator: (e4) => { + const { type: i3, orgName: n3 } = e4.data; + return i3 === Pe.IFRAME_HELPER.ORGANIZATION.UPDATED_DESCRIPTION && t3.orgName === n3; + }, getter: () => { + } }); } - } - 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), c = i2(37707), d = i2(97081), p = i2(47957), _ = i2(27862); - class h extends l.default { - get requiredAuth() { - return u.externalAuthorizations.authStrings.integrationView; + async openInTab(e3) { + var t3; + const { targetUrl: i3, authTarget: n3, alertMessage: o2 } = e3, r2 = (null == (t3 = He(n3)) ? void 0 : t3.name) || this.currentRegion.name, a2 = this.urlForAuthTarget(i3, n3).toString(); + return r2 === this.currentRegion.name ? this.iframeHelper.openTab({ destination: a2, authTarget: n3, alertMessage: o2 }) : this.iframeManager.queueRequest({ regionName: r2, message: { type: Pe.ACCOUNT_MANAGER.TAB.OPEN, destination: a2, authTarget: n3, alertMessage: o2 }, validator: (e4) => { + const { type: t4 } = e4.data; + return t4 === Pe.IFRAME_HELPER.TAB.ALERTED || t4 === Pe.IFRAME_HELPER.TAB.OPENED; + }, getter: (e4) => e4.data.type === Pe.IFRAME_HELPER.TAB.OPENED }); } - get dependencyType() { - return _.BotConnectorIntegration; + async openInCurrentWindow(e3) { + const t3 = this.urlForAuthTarget(e3.targetUrl, e3.authTarget); + window.location.assign(t3); } - constructor() { - 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(); + urlForAuthTarget(e3, t3) { + const i3 = new URL(e3), n3 = He(t3); + return n3 && "localhost" !== i3.hostname && Ee(i3, n3), Je(i3, t3), i3; } - _createItemViewModel(e3) { - return new d.IntegrationViewModel(e3); + async getGenesysOrigins() { + return ve(); } - get _networkModel() { - return c.Integration; + async getRegionList() { + return Ie().map((e3) => e3.name); + } + async notifyCurrentRegionChange() { + try { + const e3 = await Fe(); + this.onRegionChange([this.currentRegion.name, { state: "available", data: e3 }]); + } catch { + this.onRegionChange([this.currentRegion.name, { state: "error", errorMessage: "Failed to load organization data." }]); + } } } - t2.BotConnectorIntegrationManager = h, t2.botConnectorIntegrationManager = new h(); - }, 99847: (e2, t2, i2) => { + }, 31635(e2, t2, i2) { "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }); - const n2 = i2(31635).__importDefault(i2(92661)), r2 = i2(30801); - class o extends n2.default { - constructor(e3) { - super(e3); - } - get _actionTypeId() { - return r2.findGroupActionType; - } - get displayTypeName() { - return this._scriptingName; - } - get isArchActionFindGroup() { - return true; - } - get findResult() { - return this._findResult; + function n2(e3, t3) { + var i3 = {}; + for (var n3 in e3) Object.prototype.hasOwnProperty.call(e3, n3) && t3.indexOf(n3) < 0 && (i3[n3] = e3[n3]); + if (null != e3 && "function" == typeof Object.getOwnPropertySymbols) { + var o2 = 0; + for (n3 = Object.getOwnPropertySymbols(e3); o2 < n3.length; o2++) t3.indexOf(n3[o2]) < 0 && Object.prototype.propertyIsEnumerable.call(e3, n3[o2]) && (i3[n3[o2]] = e3[n3[o2]]); } + return i3; } - t2.default = o; - }, 99914: (e2, t2, i2) => { - "use strict"; - 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) { - 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 o(e3, t3, i3, n3) { + var o2, r2 = arguments.length, a2 = r2 < 3 ? t3 : null === n3 ? n3 = Object.getOwnPropertyDescriptor(t3, i3) : n3; + if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) a2 = Reflect.decorate(e3, t3, i3, n3); + else for (var s2 = e3.length - 1; s2 >= 0; s2--) (o2 = e3[s2]) && (a2 = (r2 < 3 ? o2(a2) : r2 > 3 ? o2(t3, i3, a2) : o2(t3, i3)) || a2); + return r2 > 3 && a2 && Object.defineProperty(t3, i3, a2), a2; } - function s(e3) { - return r2.default.build(o.getCustomerSegment).templateParams({ id: e3 }).call(); + function r(e3, t3) { + if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e3, t3); } - a.api = o.getCustomerSegments, s.api = o.getCustomerSegment; - }, 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)), 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; - } - get dependencyType() { - return _.SurveyForm; - } - constructor() { - 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 = 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 c.default; - } - get isSurveyFormManager() { - return true; - } - additionalItemFilter(e3) { - const t3 = e3.filter((e4) => !e4.disabled); - return this.filteredOutItemCount += e3.length - t3.length, t3; - } - filterDuplicates(e3) { - const t3 = []; - return e3.forEach((e4) => { - const i3 = t3.find((t4) => t4.contextId === e4.contextId); - 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); - }); - } - _publishedFormDateIsNewerThanPrevious(e3, t3) { - return !(!(null == e3 ? void 0 : e3.isPublished) || e3.isDisabled) && (null == e3 ? void 0 : e3.modifiedDate.getTime()) > (null == t3 ? void 0 : t3.modifiedDate.getTime()); - } + function a(e3, t3, i3, n3) { + return new (i3 || (i3 = Promise))(function(o2, r2) { + function a2(e4) { + try { + l2(n3.next(e4)); + } catch (e5) { + r2(e5); + } + } + function s2(e4) { + try { + l2(n3.throw(e4)); + } catch (e5) { + r2(e5); + } + } + function l2(e4) { + var t4; + e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) { + e5(t4); + })).then(a2, s2); + } + l2((n3 = n3.apply(e3, t3 || [])).next()); + }); } - t2.SurveyFormManager = h, t2.surveyFormManager = new h(); - }, 99923: (e2, t2, i2) => { - "use strict"; - Object.defineProperty(t2, "__esModule", { value: true }), t2.vmEntityTypesAll = t2.vmEntityTypeUser = t2.vmEntityTypeQueue = t2.vmEntityTypeGroup = void 0; - const n2 = i2(47957); - t2.vmEntityTypeGroup = { displayString: n2.group.label, id: "group" }, t2.vmEntityTypeQueue = { displayString: n2.configurations.queue, id: "queue" }, t2.vmEntityTypeUser = { displayString: n2.user.label, id: "user" }, t2.vmEntityTypesAll = [t2.vmEntityTypeGroup, t2.vmEntityTypeQueue, t2.vmEntityTypeUser]; - } }, n = {}; - function r(e2) { - var t2 = n[e2]; - if (void 0 !== t2) return t2.exports; - var o = n[e2] = { id: e2, loaded: false, exports: {} }; - return i[e2].call(o.exports, o, o.exports, r), o.loaded = true, o.exports; + i2.d(t2, { __awaiter: () => a, __classPrivateFieldGet: () => d, __classPrivateFieldSet: () => p, __decorate: () => o, __importDefault: () => c, __importStar: () => u, __metadata: () => r, __rest: () => n2 }); + var s = Object.create ? function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3); + var o2 = Object.getOwnPropertyDescriptor(t3, i3); + o2 && !("get" in o2 ? !t3.__esModule : o2.writable || o2.configurable) || (o2 = { enumerable: true, get: function() { + return t3[i3]; + } }), Object.defineProperty(e3, n3, o2); + } : function(e3, t3, i3, n3) { + void 0 === n3 && (n3 = i3), e3[n3] = t3[i3]; + }, l = Object.create ? function(e3, t3) { + Object.defineProperty(e3, "default", { enumerable: true, value: t3 }); + } : function(e3, t3) { + e3.default = t3; + }; + function u(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) && s(t3, e3, i3); + return l(t3, e3), t3; + } + function c(e3) { + return e3 && e3.__esModule ? e3 : { default: e3 }; + } + function d(e3, t3, i3, n3) { + if ("a" === i3 && !n3) throw new TypeError("Private accessor was defined without a getter"); + if ("function" == typeof t3 ? e3 !== t3 || !n3 : !t3.has(e3)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); + return "m" === i3 ? n3 : "a" === i3 ? n3.call(e3) : n3 ? n3.value : t3.get(e3); + } + function p(e3, t3, i3, n3, o2) { + if ("m" === n3) throw new TypeError("Private method is not writable"); + if ("a" === n3 && !o2) throw new TypeError("Private accessor was defined without a setter"); + if ("function" == typeof t3 ? e3 !== t3 || !o2 : !t3.has(e3)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); + return "a" === n3 ? o2.call(e3, i3) : o2 ? o2.value = i3 : t3.set(e3, i3), i3; + } + }, 60288(e2) { + "use strict"; + e2.exports = JSON.parse('{"$schema":"./systemVariables.schema.json","__AGENT_UI_LANGUAGE__":{"name":"Flow.AgentUiLanguage","dataTypeId":"str","unlocalizedDescriptionKey":"emailSend.variables.agentUiLanguageDescription","flowTypes":{"emailsend":{}}},"__CALL_ANI__":{"name":"Call.Ani","dataTypeId":"str","descriptionKey":"systemVariables.callAni","flowTypes":{"allCall":{},"voice":{}}},"__CALL_CONTACT_ID__":{"name":"Email.ContactId","dataTypeId":"str","descriptionKey":"systemVariables.callContactId","flowTypes":{"inboundemail":{"featureConfig":"outboundEmailCampaigns"},"inqueueemail":{"featureConfig":"outboundEmailCampaigns"},"inboundshortmessage":{"name":"Message.ContactId"},"inqueueshortmessage":{"name":"Message.ContactId"},"outboundcall":{"name":"Call.ContactId"}}},"__CALL_CONVERSATION_ID__":{"name":"Call.ConversationId","dataTypeId":"str","descriptionKey":"systemVariables.callConversationId","copyPasteId":"__CONVERSATION_ID__","flowTypes":{"allCall":{}}},"__CALL_CURRENT_QUEUE__":{"name":"Email.CurrentQueue","dataTypeId":"que","flowTypes":{"inqueuecall":{"name":"Call.CurrentQueue","descriptionKey":"systemVariables.callCurrentQueue"},"emailsend":{"descriptionKey":"systemVariables.emailDraftCurrentQueueVariableDescription"},"inqueueemail":{"descriptionKey":"systemVariables.emailCurrentQueueVariableDescription"},"inqueueshortmessage":{"name":"Message.CurrentQueue","descriptionKey":"systemVariables.messageCurrentQueueVariableDescription"}}},"__CALL_DNIS_ORIGINAL__":{"name":"Call.CalledAddressOriginal","dataTypeId":"str","descriptionKey":"systemVariables.callCalledAddressOriginal","flowTypes":{"allCall":{},"voice":{}}},"__CALL_DNIS__":{"name":"Call.CalledAddress","dataTypeId":"str","descriptionKey":"systemVariables.callCalledAddress","flowTypes":{"allCall":{},"voice":{}}},"__CALL_ESTIMATED_WAIT_TIME__":{"name":"Call.EstimatedWaitTime","dataTypeId":"dur","flowTypes":{"inqueuecall":{"descriptionKey":"systemVariables.callEstimatedWaitTime"},"inqueueemail":{"name":"Email.EstimatedWaitTime","descriptionKey":"systemVariables.emailEstimatedWaitTimeVariableDescription"},"inqueueshortmessage":{"name":"Message.EstimatedWaitTime","descriptionKey":"systemVariables.messageEstimatedWaitTimeVariableDescription"}}},"__CALL_INVOCATION_DATA__":{"name":"Call.InvocationData","dataTypeId":"jsn","descriptionKey":"systemVariables.invocationData","flowTypes":{"inboundcall":{"featureConfig":"postCallActionFeature"},"voicesurvey":{"name":"Session.InvocationData"}}},"__CALL_POSITION_IN_QUEUE__":{"name":"Call.PositionInQueue","dataTypeId":"int","flowTypes":{"inqueuecall":{"descriptionKey":"systemVariables.callPositionInQueue"},"inqueueemail":{"name":"Email.PositionInQueue","descriptionKey":"systemVariables.emailPositionInQueueVariableDescription"},"inqueueshortmessage":{"name":"Message.PositionInQueue","descriptionKey":"systemVariables.messagePositionInQueueVariableDescription"}}},"__CALL_REMOTE_NAME__":{"name":"Call.RemoteName","dataTypeId":"str","descriptionKey":"systemVariables.callRemoteName","flowTypes":{"allCall":{},"voice":{}}},"__CALL_UUIDATA__":{"name":"Call.UUIData","dataTypeId":"str","descriptionKey":"inboundOutboundAndInQueueCallFlowVariables.uuiData","flowTypes":{"inboundcall":{},"inqueuecall":{},"outboundcall":{}}},"__CHAT_CONVERSATION_ID__":{"name":"Chat.ConversationId","dataTypeId":"str","descriptionKey":"systemVariables.chatConversationId","copyPasteId":"__CONVERSATION_ID__","flowTypes":{"inboundchat":{}}},"__CHAT_GUEST__":{"name":"Chat.Guest","dataTypeId":"cpx_chat_guest","descriptionKey":"systemVariables.chatGuest","flowTypes":{"inboundchat":{}}},"__CHAT_JOURNEY_CONTEXT__":{"name":"Message.JourneyContext","dataTypeId":"cpx_journey_context","flowTypes":{"inboundshortmessage":{"descriptionKey":"systemVariables.messageJourneyContextVariableDescription","featureConfig":"inboundShortMessageFlows_Journey"},"inqueueshortmessage":{"descriptionKey":"systemVariables.messageJourneyContextVariableDescription","featureConfig":"inboundShortMessageFlows_Journey"},"inboundchat":{"name":"Chat.JourneyContext","descriptionKey":"systemVariables.chatJourneyContext"}}},"__CONVERSATION_ACD_SKILLS__":{"name":"Call.ACDSkills","dataTypeId":"skl","isCollection":true,"descriptionKey":"systemVariables.conversationACDSkillsVariableDescription","featureConfig":"setPrioritySkillsFeature","flowTypes":{"inqueuecall":{},"inqueueemail":{"name":"Email.ACDSkills"},"inqueueshortmessage":{"name":"Message.ACDSkills"},"commonmodule":{"name":"Session.ACDSkills"}}},"__CONVERSATION_LANGUAGE_SKILL__":{"name":"Email.LanguageSkill","dataTypeId":"lac","flowTypes":{"inboundemail":{"descriptionKey":"systemVariables.emailLanguageSkill","deprecatedId":"__EMAIL_LANGUAGE_SKILL__"},"inqueueemail":{"descriptionKey":"systemVariables.emailLanguageSkill","deprecatedId":"__EMAIL_LANGUAGE_SKILL__"},"inqueuecall":{"name":"Call.LanguageSkill","descriptionKey":"systemVariables.conversationLanguageSkillVariableDescription","featureConfig":"setPrioritySkillsFeature"},"inqueueshortmessage":{"name":"Message.LanguageSkill","descriptionKey":"systemVariables.conversationLanguageSkillVariableDescription","featureConfig":"setPrioritySkillsFeature"},"commonmodule":{"name":"Session.LanguageSkill","descriptionKey":"systemVariables.conversationLanguageSkillVariableDescription","featureConfig":"setPrioritySkillsFeature"}}},"__CONVERSATION_PRIORITY__":{"name":"Call.Priority","dataTypeId":"int","descriptionKey":"systemVariables.conversationPriorityVariableDescription","featureConfig":"setPrioritySkillsFeature","flowTypes":{"inqueuecall":{},"inqueueemail":{"name":"Email.Priority"},"inqueueshortmessage":{"name":"Message.Priority"},"commonmodule":{"name":"Session.Priority"}}},"__EMAIL_CONVERSATION_ID__":{"name":"Email.ConversationId","dataTypeId":"str","copyPasteId":"__CONVERSATION_ID__","flowTypes":{"inboundemail":{"descriptionKey":"systemVariables.emailConversationId"},"inqueueemail":{"descriptionKey":"systemVariables.emailConversationId"},"emailsend":{"descriptionKey":"systemVariables.emailDraftConversationId"}}},"__EMAIL_DRAFT__":{"name":"Email.Draft","dataTypeId":"jsn__architect::draft_email","descriptionKey":"systemVariables.emailDraftVariableDescription","flowTypes":{"emailsend":{}}},"__EMAIL_MESSAGE__":{"name":"Email.Message","dataTypeId":"cpx_email","descriptionKey":"systemVariables.emailMessage","flowTypes":{"inboundemail":{},"inqueueemail":{}}},"__EVENT_DATA__":{"name":"Workitem.EventData","dataTypeId":"jsn__architect::workitem_event_data","descriptionKey":"workitem.workitemEventData","featureConfig":"workitemDateAutomationFeature","flowTypes":{"workitem":{}}},"__EVENT_TYPE__":{"name":"Workitem.EventType","dataTypeId":"str","descriptionKey":"systemVariables.workitemEventType","flowTypes":{"workitem":{}}},"__EXTERNAL_CONTACT_ID__":{"name":"Call.ExternalContactId","dataTypeId":"str","descriptionKey":"systemVariables.externalContactId","featureConfig":"externalContactIdentityResolutionPhase1","flowTypes":{"inboundcall":{},"inqueuecall":{},"outboundcall":{},"securecall":{},"voice":{},"inboundemail":{"name":"Email.ExternalContactId"},"inqueueemail":{"name":"Email.ExternalContactId"},"inboundshortmessage":{"name":"Message.ExternalContactId"},"inqueueshortmessage":{"name":"Message.ExternalContactId"},"bot":{"name":"Session.ExternalContactId"},"digitalbot":{"name":"Session.ExternalContactId"},"voicemail":{"name":"Voicemail.ExternalContactId","deprecatedName":"call.externalcontactid"}}},"__EXTERNAL_TAG__":{"name":"Call.ExternalTag","dataTypeId":"str","flowTypes":{"allCall":{"descriptionKey":"systemVariables.callExternalTag"},"voice":{"descriptionKey":"systemVariables.callExternalTag"},"emailsend":{"name":"Email.ExternalTag","descriptionKey":"systemVariables.emailExternalTag"},"inboundemail":{"name":"Email.ExternalTag","descriptionKey":"systemVariables.emailExternalTag"},"inqueueemail":{"name":"Email.ExternalTag","descriptionKey":"systemVariables.emailExternalTag"},"inboundshortmessage":{"name":"Message.ExternalTag","descriptionKey":"systemVariables.messageExternalTag"},"inqueueshortmessage":{"name":"Message.ExternalTag","descriptionKey":"systemVariables.messageExternalTag"}}},"__FLOW_CAMPAIGN__":{"name":"Email.Campaign","dataTypeId":"cam","descriptionKey":"systemVariables.flowCampaign","flowTypes":{"inboundemail":{"featureConfig":"outboundEmailCampaigns"},"inqueueemail":{"featureConfig":"outboundEmailCampaigns"},"inboundshortmessage":{"name":"Message.Campaign"},"inqueueshortmessage":{"name":"Message.Campaign"},"outboundcall":{"name":"Call.Campaign","deprecatedName":"flow.campaign"}}},"__FLOW_CONTACT_LIST__":{"name":"Email.ContactList","dataTypeId":"cnl","descriptionKey":"systemVariables.flowContactList","flowTypes":{"inboundemail":{"featureConfig":"outboundEmailCampaigns"},"inqueueemail":{"featureConfig":"outboundEmailCampaigns"},"inboundshortmessage":{"name":"Message.ContactList"},"inqueueshortmessage":{"name":"Message.ContactList"},"outboundcall":{"name":"Call.ContactList","deprecatedName":"flow.contactlist"}}},"__FLOW_CONTACT__":{"name":"Call.Contact","dataTypeId":"con","descriptionKey":"systemVariables.flowContact","deprecatedName":"flow.contact","flowTypes":{"outboundcall":{}}},"__FLOW_HOLD_PROMPT__":{"name":"Flow.HoldPrompt","dataTypeId":"pmt","descriptionKey":"inQueueFlowVariables.flowHoldPrompt","flowTypes":{"inqueuecall":{}}},"__FLOW_INVOCATION_DATA__":{"name":"Flow.InvocationData","dataTypeId":"str","descriptionKey":"systemVariables.flowInvocationData","flowTypes":{"securecall":{}}},"__FLOW_IS_TEST__":{"name":"Flow.IsTest","dataTypeId":"bln","descriptionKey":"systemVariables.flowIsTest","flowTypes":{"allCall":{},"allBot":{},"commonmodule":{},"inboundchat":{},"inboundemail":{},"inboundshortmessage":{},"inqueueemail":{},"inqueueshortmessage":{},"surveyinvite":{},"businessprocess":{"name":"Process.IsTest"},"workflow":{},"workitem":{}}},"__FLOW_START_TIME__":{"name":"Flow.StartDateTimeUtc","dataTypeId":"dtm","descriptionKey":"systemVariables.flowStartTime","flowTypes":{"all":{},"businessprocess":{"name":"Process.StartDateTimeUtc"}}},"__FLOW_VERSION__":{"name":"Flow.Version","dataTypeId":"str","descriptionKey":"systemVariables.flowVersion","flowTypes":{"all":{},"businessprocess":{"name":"Process.Version"}}},"__FLOW_WRAPUP_CODE__":{"name":"Flow.WrapupCode","dataTypeId":"wrc","descriptionKey":"systemVariables.flowWrapupCode","flowTypes":{"outboundcall":{}}},"__FORMAT_BOOL__":{"name":"Format.Bool","dataTypeId":"blc","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__FORMAT_CURRENCY__":{"name":"Format.Currency","dataTypeId":"cuc","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__FORMAT_DATE__":{"name":"Format.Date","dataTypeId":"dac","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__FORMAT_NUMBER__":{"name":"Format.Number","dataTypeId":"nuc","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__FORMAT_PHONE_NUMBER__":{"name":"Format.PhoneNumber","dataTypeId":"phc","featureToggle":"archPhoneNumberPhase2","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__FORMAT_STRING__":{"name":"Format.String","dataTypeId":"stc","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__FORMAT_TIME_PART__":{"name":"Format.TimePart","dataTypeId":"tpc","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__FORMAT_TIME__":{"name":"Format.Time","dataTypeId":"tic","hideFromAutocomplete":true,"flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__INTERACTION_ID__":{"name":"Interaction.Id","dataTypeId":"str","descriptionKey":"systemVariables.interactionId","flowTypes":{"allCall":{}}},"__INTERACTION_LANGUAGE__":{"name":"Call.Language","dataTypeId":"str","descriptionKey":"systemVariables.interactionLanguage","flowTypes":{"allCall":{"deprecatedName":"interaction.language"},"allBot":{"name":"Session.Language"},"commonmodule":{"name":"Session.Language"},"emailsend":{"name":"Email.Language"},"inboundemail":{"name":"Email.Language"},"inqueueemail":{"name":"Email.Language"},"inboundshortmessage":{"name":"Message.Language"},"inqueueshortmessage":{"name":"Message.Language"},"inboundchat":{"name":"Chat.Language"},"businessprocess":{"name":"Process.Language"},"workflow":{"name":"Workflow.Language"},"workitem":{"name":"Workitem.Language"}}},"__LANGUAGE_CASE__":{"name":"Language.Case","dataTypeId":"lcc","flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__LANGUAGE_GENDER__":{"name":"Language.Gender","dataTypeId":"lgc","flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__LANGUAGE_QUANTITY__":{"name":"Language.Quantity","dataTypeId":"lqc","flowTypes":{"allCall":{},"allBot":{},"commonmodule":{}}},"__LAST_COLLECTION_MODE__":{"name":"Call.LastCollectionMode","dataTypeId":"str","descriptionKey":"systemVariables.lastCollectionModeDescription","featureConfig":"lastCollectionModeVariable","flowTypes":{"allCall":{"descriptionArgs":["inputModesSpeechDtmf"]},"bot":{"name":"Session.LastCollectionMode","descriptionArgs":["inputModesSpeechDtmfText"]},"voicesurvey":{"name":"Session.LastCollectionMode","descriptionArgs":["inputModesSpeechDtmf"]}}},"__LAST_INPUT__":{"name":"Flow.$lastInput","dataTypeId":"str","isInternal":true,"flowTypes":{"allCall":{},"commonmodule":{}}},"__MAX_DATETIME__":{"name":"System.MaxDateTime","dataTypeId":"dtm","descriptionKey":"systemVariables.maxDateTime","flowTypes":{"all":{}}},"__MAX_DATE__":{"name":"System.MaxDate","dataTypeId":"dat","descriptionKey":"systemVariables.maxDate","flowTypes":{"allBot":{}}},"__MAX_DURATION__":{"name":"System.MaxDuration","dataTypeId":"dur","descriptionKey":"systemVariables.maxDuration","flowTypes":{"all":{}}},"__MAX_INT__":{"name":"System.MaxInt","dataTypeId":"int","descriptionKey":"systemVariables.maxInt","descriptionArgs":["maxInt"],"flowTypes":{"all":{}}},"__MAX_TIME__":{"name":"System.MaxTime","dataTypeId":"tim","descriptionKey":"systemVariables.maxTime","flowTypes":{"allBot":{}}},"__MENU_LAST_COLLECTION_NO_INPUT__":{"name":"Menu.LastCollectionNoInput","dataTypeId":"bln","descriptionKey":"systemVariables.menuLastCollectionNoInput","featureConfig":"voicemailFlows","flowTypes":{"inboundcall":{},"outboundcall":{},"securecall":{},"voicemail":{}}},"__MENU_LAST_COLLECTION_NO_MATCH__":{"name":"Menu.LastCollectionNoMatch","dataTypeId":"bln","descriptionKey":"systemVariables.menuLastCollectionNoMatch","featureConfig":"voicemailFlows","flowTypes":{"inboundcall":{},"outboundcall":{},"securecall":{},"voicemail":{}}},"__MESSAGE_CONVERSATION_ID__":{"name":"Message.ConversationId","dataTypeId":"str","descriptionKey":"systemVariables.messagingConversationId","copyPasteId":"__CONVERSATION_ID__","flowTypes":{"inboundshortmessage":{},"inqueueshortmessage":{}}},"__MESSAGE_INVOCATION_DATA__":{"name":"Message.InvocationData","dataTypeId":"jsn","descriptionKey":"systemVariables.invocationData","featureConfig":"postFlowDigitalFeature","flowTypes":{"inboundshortmessage":{},"inqueueshortmessage":{}}},"__MESSAGE_IS_AUTHENTICATED__":{"name":"Message.IsAuthenticated","dataTypeId":"bln","descriptionKey":"systemVariables.messagingIsAuthenticated","flowTypes":{"inboundshortmessage":{"featureConfig":"authorizedWebMessaging"},"inqueueshortmessage":{"featureConfig":"authorizedWebMessaging"},"digitalbot":{"name":"Session.IsAuthenticated","featureConfig":"botFlowsAuthentication"}}},"__MESSAGE_IS_NEW_CONVERSATION__":{"name":"Message.IsNewConversation","dataTypeId":"bln","descriptionKey":"systemVariables.messagingIsNewConversation","flowTypes":{"inboundshortmessage":{},"inqueueshortmessage":{}}},"__MESSAGE_MESSAGE__":{"name":"Message.Message","dataTypeId":"cpx_short_message","descriptionKey":"systemVariables.messageMessage","flowTypes":{"inboundshortmessage":{},"inqueueshortmessage":{}}},"__MIN_DATETIME__":{"name":"System.MinDateTime","dataTypeId":"dtm","descriptionKey":"systemVariables.minDateTime","flowTypes":{"all":{}}},"__MIN_DATE__":{"name":"System.MinDate","dataTypeId":"dat","descriptionKey":"systemVariables.minDate","flowTypes":{"allBot":{}}},"__MIN_DURATION__":{"name":"System.MinDuration","dataTypeId":"dur","descriptionKey":"systemVariables.minDuration","flowTypes":{"all":{}}},"__MIN_INT__":{"name":"System.MinInt","dataTypeId":"int","descriptionKey":"systemVariables.minInt","descriptionArgs":["minInt"],"flowTypes":{"all":{}}},"__MIN_TIME__":{"name":"System.MinTime","dataTypeId":"tim","descriptionKey":"systemVariables.minTime","flowTypes":{"allBot":{}}},"__SESSION_ACTIVE_INTENT__":{"name":"Session.ActiveIntent","dataTypeId":"str","descriptionKey":"systemVariables.sessionActiveIntent","flowTypes":{"bot":{},"digitalbot":{},"voice":{}}},"__SESSION_CHANNEL_TYPE__":{"name":"Session.ChannelType","dataTypeId":"str","descriptionKey":"systemVariables.sessionChannelType","descriptionOverrides":{"voicesurvey":{"descriptionKey":"systemVariables.sessionChannelTypeVoiceSurvey"}},"flowTypes":{"allBot":{}}},"__SESSION_CONVERSATION_ID__":{"name":"Session.ConversationId","dataTypeId":"str","descriptionKey":"systemVariables.sessionConversationId","copyPasteId":"__CONVERSATION_ID__","descriptionOverrides":{"voicesurvey":{"descriptionKey":"systemVariables.sessionConversationIdVoiceSurvey"}},"flowTypes":{"allBot":{}}},"__SESSION_LAST_COLLECTION_CONFIDENCE__":{"name":"Session.LastCollectionConfidence","dataTypeId":"dec","descriptionKey":"systemVariables.sessionLastCollectionConfidence","descriptionArgs":["actions.askForActionGeneric"],"descriptionOverrides":{"voicesurvey":{"descriptionKey":"systemVariables.sessionLastCollectionConfidenceVoiceSurvey","descriptionArgs":["actions.askForActionGeneric"]}},"flowTypes":{"allBot":{}}},"__SESSION_LAST_COLLECTION_UTTERANCE__":{"name":"Session.LastCollectionUtterance","dataTypeId":"str","descriptionKey":"systemVariables.sessionLastCollectionUtterance","descriptionArgs":["actions.askForActionGeneric"],"descriptionOverrides":{"voicesurvey":{"descriptionKey":"systemVariables.sessionLastCollectionUtteranceVoiceSurvey","descriptionArgs":["actions.askForActionGeneric"]}},"flowTypes":{"allBot":{}}},"__SESSION_LAST_COMPLETED_INTENT__":{"name":"Session.LastCompletedIntent","dataTypeId":"str","descriptionKey":"systemVariables.sessionLastCompletedIntent","descriptionArgs":["actions.askForIntent"],"flowTypes":{"bot":{},"digitalbot":{},"voice":{}}},"__SESSION_LAST_KNOWLEDGE_ANSWER__":{"name":"Session.LastKnowledgeAnswer","dataTypeId":"str","descriptionKey":"systemVariables.sessionLastKnowledgeAnswer","featureConfig":"botFlowsKnowledge","flowTypes":{"bot":{},"digitalbot":{},"voice":{}}},"__SESSION_LAST_KNOWLEDGE_GENERATION__":{"name":"Session.LastKnowledgeGeneratedAnswer","dataTypeId":"str","descriptionKey":"systemVariables.sessionLastKnowledgeGenerated","featureConfig":"botFlowsAnswerGenerationMultipleArticles","flowTypes":{"bot":{},"digitalbot":{}}},"__SESSION_LAST_KNOWLEDGE_QUESTION__":{"name":"Session.LastKnowledgeQuestion","dataTypeId":"str","descriptionKey":"systemVariables.sessionLastKnowledgeQuestion","featureConfig":"botFlowsKnowledge","flowTypes":{"bot":{},"digitalbot":{},"voice":{}}},"__SESSION_LAST_KNOWLEDGE_SEARCH_ID__":{"name":"Session.LastKnowledgeSearchId","dataTypeId":"str","descriptionKey":"systemVariables.sessionLastKnowledgeSearchId","flowTypes":{"bot":{"featureConfig":"botFlowsAdvancedKnowledgeHandling"},"digitalbot":{"featureConfig":"botFlowsDigitalBotFlowsKnowledgeEndToEndFeature"}}},"__SESSION_LAST_NLU_COLLECTION_CONFIDENCE__":{"name":"Session.LastNLUCollectionConfidence","dataTypeId":"dec","descriptionKey":"systemVariables.sessionLastNLUCollectionConfidence","descriptionArgs":["actions.askForActionGeneric"],"featureConfig":"botFlowsLastNLUCollectionConfidence","flowTypes":{"allBot":{}}},"__SESSION_SOURCE__":{"name":"Session.Source","dataTypeId":"str","descriptionKey":"systemVariables.sessionSource","descriptionOverrides":{"voicesurvey":{"descriptionKey":"systemVariables.sessionSourceVoiceSurvey"}},"flowTypes":{"allBot":{}}},"__SURVEY_CONVERSATION_END_DATETIME__":{"name":"Survey.ConversationEndDateTimeUtc","dataTypeId":"dtm","descriptionKey":"surveyInviteFlowVariables.conversationEndDateTime","flowTypes":{"surveyinvite":{}}},"__SURVEY_CONVERSATION_ID__":{"name":"Survey.ConversationId","dataTypeId":"str","descriptionKey":"surveyInviteFlowVariables.conversationId","copyPasteId":"__CONVERSATION_ID__","flowTypes":{"surveyinvite":{}}},"__SURVEY_CONVERSATION_START_DATETIME__":{"name":"Survey.ConversationStartDateTimeUtc","dataTypeId":"dtm","descriptionKey":"surveyInviteFlowVariables.conversationStartDateTime","flowTypes":{"surveyinvite":{}}},"__SURVEY_CONVERSATION_TYPE__":{"name":"Survey.ConversationType","dataTypeId":"str","descriptionKey":"surveyInviteFlowVariables.conversationType","flowTypes":{"surveyinvite":{}}},"__SURVEY_CUSTOMER_ADDRESS__":{"name":"Survey.CustomerAddress","dataTypeId":"str","descriptionKey":"surveyInviteFlowVariables.customerAddress","flowTypes":{"surveyinvite":{}}},"__SURVEY_CUSTOMER_CONTACT__":{"name":"Survey.CustomerContact","dataTypeId":"cpx_external_contact","descriptionKey":"surveyInviteFlowVariables.customerContact","flowTypes":{"surveyinvite":{}}},"__SURVEY_CUSTOMER_ORGANIZATION__":{"name":"Survey.CustomerOrganization","dataTypeId":"cpx_external_organization","descriptionKey":"surveyInviteFlowVariables.customerOrganization","flowTypes":{"surveyinvite":{}}},"__SURVEY_URL__":{"name":"Survey.Url","dataTypeId":"str","descriptionKey":"surveyInviteFlowVariables.url","flowTypes":{"surveyinvite":{}}},"__SYSINFO_CONVERSATION__":{"name":"System.Conversation","dataTypeId":"ctc","descriptionKey":"surveyInviteFlowVariables.conversation","flowTypes":{"allCall":{},"allAutomate":{}}},"__SYSINFO_CURRENCIES__":{"name":"System.Currencies","dataTypeId":"cec","descriptionKey":"systemVariables.infoCurrencies","flowTypes":{"allCall":{},"commonmodule":{}}},"__SYSINFO_DATETIME__":{"name":"System.DateTime","dataTypeId":"dlc","descriptionKey":"systemVariables.infoDateTimes","flowTypes":{"allCall":{},"commonmodule":{}}},"__SYSINFO_LANGUAGES__":{"name":"System.Languages","dataTypeId":"lnc","descriptionKey":"systemVariables.infoLanguages","flowTypes":{"allCall":{},"commonmodule":{}}},"__SYSINFO_REGIONS__":{"name":"System.Regions","dataTypeId":"rec","descriptionKey":"systemVariables.infoRegions","flowTypes":{"allCall":{},"commonmodule":{}}},"__SYSINFO_SURVEY__":{"name":"System.Survey","dataTypeId":"sec","descriptionKey":"surveyInviteFlowVariables.survey","flowTypes":{"allCall":{},"allAutomate":{}}},"__VOICEMAIL_DEBUG_ENTITY_TYPE__":{"name":"Voicemail.DebugEntityType","dataTypeId":"str","allowInitialValueForReadOnly":true,"initialValueOptionsKey":"voicemailDebugEntityType","descriptionKey":"systemVariables.voicemailDebugEntityTypeDescription","descriptionArgs":["voicemailEntityTypeGroupId","voicemailEntityTypeQueueId","voicemailEntityTypeUserId"],"flowTypes":{"voicemail":{}}},"__VOICEMAIL_DEBUG_GROUP__":{"name":"Voicemail.DebugGroup","dataTypeId":"grp","allowInitialValueForReadOnly":true,"initialValueOptionsKey":"voicemailDebugGroup","descriptionKey":"systemVariables.voicemailDebugGroupDescription","descriptionArgs":["voicemailEntityTypeGroupId"],"flowTypes":{"voicemail":{}}},"__VOICEMAIL_DEBUG_QUEUE__":{"name":"Voicemail.DebugQueue","dataTypeId":"que","allowInitialValueForReadOnly":true,"initialValueOptionsKey":"voicemailDebugQueue","descriptionKey":"systemVariables.voicemailDebugQueueDescription","descriptionArgs":["voicemailEntityTypeQueueId"],"flowTypes":{"voicemail":{}}},"__VOICEMAIL_DEBUG_USER__":{"name":"Voicemail.DebugUser","dataTypeId":"usr","allowInitialValueForReadOnly":true,"initialValueOptionsKey":"voicemailDebugUser","descriptionKey":"systemVariables.voicemailDebugUserDescription","descriptionArgs":["voicemailEntityTypeUserId"],"flowTypes":{"voicemail":{}}},"__VOICEMAIL_ENABLED__":{"name":"Voicemail.Enabled","dataTypeId":"bln","descriptionKey":"systemVariables.voicemailEnabledDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_ENTITY_GREETING_AUDIO__":{"name":"Voicemail.EntityGreetingAudio","dataTypeId":"aud","descriptionKey":"systemVariables.voicemailEntityGreetingAudioDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_ENTITY_NAME_AUDIO__":{"name":"Voicemail.EntityNameAudio","dataTypeId":"aud","descriptionKey":"systemVariables.voicemailEntityNameAudioDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_ENTITY_NAME__":{"name":"Voicemail.EntityName","dataTypeId":"str","descriptionKey":"systemVariables.voicemailEntityNameDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_ENTITY_TYPE__":{"name":"Voicemail.EntityType","dataTypeId":"str","descriptionKey":"systemVariables.voicemailEntityTypeDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_GROUP__":{"name":"Voicemail.Group","dataTypeId":"grp","descriptionKey":"systemVariables.voicemailGroupDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_QUEUE__":{"name":"Voicemail.Queue","dataTypeId":"que","descriptionKey":"systemVariables.voicemailQueueDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_USER__":{"name":"Voicemail.User","dataTypeId":"usr","descriptionKey":"systemVariables.voicemailUserDescription","flowTypes":{"voicemail":{}}},"__VOICEMAIL_VOICEMAIL_SNIPPET__":{"name":"Voicemail.VoicemailSnippet","dataTypeId":"cpx_voicemail_snippet","descriptionKey":"systemVariables.voicemailVoicemailSnippet","flowTypes":{"voicemail":{}}},"__WORKITEM_WORKITEM_ORIGINAL__":{"name":"Workitem.WorkitemOriginal","dataTypeId":"cpx_workitem","descriptionKey":"systemVariables.workitemOriginal","flowTypes":{"workitem":{}}},"__WORKITEM_WORKITEM__":{"name":"Workitem.Workitem","dataTypeId":"cpx_workitem","isReadOnly":false,"descriptionKey":"systemVariables.workitem","flowTypes":{"workitem":{}}}}'); + } }; + const i = {}; + function n(t2) { + const o = i[t2]; + if (void 0 !== o) return o.exports; + const r = i[t2] = { id: t2, loaded: false, exports: {} }; + return e[t2].call(r.exports, r, r.exports, n), r.loaded = true, r.exports; } - return r.m = i, r.d = (e2, t2) => { - for (var i2 in t2) r.o(t2, i2) && !r.o(e2, i2) && Object.defineProperty(e2, i2, { enumerable: true, get: t2[i2] }); - }, r.f = {}, r.e = (e2) => Promise.all(Object.keys(r.f).reduce((t2, i2) => (r.f[i2](e2, t2), t2), [])), r.u = (e2) => e2 + ".bundle.js", r.o = (e2, t2) => Object.prototype.hasOwnProperty.call(e2, t2), r.r = (e2) => { - "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true }); - }, r.nmd = (e2) => (e2.paths = [], e2.children || (e2.children = []), e2), e = { 6562: 1 }, r.f.require = (t2, i2) => { - if (!e[t2]) { - var n2 = globRequire("./" + r.u(t2)); - e[t2] || ((t3) => { - var i3 = t3.modules, n3 = t3.ids, o = t3.runtime; - for (var a in i3) r.o(i3, a) && (r.m[a] = i3[a]); - o && o(r); - for (var s = 0; s < n3.length; s++) e[n3[s]] = 1; - })(n2); - } - }, r(42699); + return n.m = e, n.d = (e2, t2) => { + if (Array.isArray(t2)) for (var i2 = 0; i2 < t2.length; ) { + var o = t2[i2++], r = t2[i2++]; + n.o(e2, o) ? 0 === r && i2++ : 0 === r ? Object.defineProperty(e2, o, { enumerable: true, value: t2[i2++] }) : Object.defineProperty(e2, o, { enumerable: true, get: r }); + } + else for (var o in t2) n.o(t2, o) && !n.o(e2, o) && Object.defineProperty(e2, o, { enumerable: true, get: t2[o] }); + }, n.f = {}, n.e = (e2) => Promise.all(Object.keys(n.f).reduce((t2, i2) => (n.f[i2](e2, t2), t2), [])), n.u = (e2) => e2 + ".bundle.js", n.o = (e2, t2) => Object.prototype.hasOwnProperty.call(e2, t2), n.r = (e2) => { + Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true }); + }, n.nmd = (e2) => (e2.paths = [], e2.children || (e2.children = []), e2), (() => { + const e2 = { 6562: 1 }; + n.f.require = (t2, i2) => { + if (!e2[t2]) { + const i3 = globRequire("./" + n.u(t2)); + e2[t2] || ((t3) => { + const i4 = t3.modules, o = t3.ids, r = t3.runtime; + for (var a in i4) n.o(i4, a) && (n.m[a] = i4[a]); + r && r(n); + for (var s = 0; s < o.length; s++) e2[o[s]] = 1; + })(i3); + } + }; + })(), n(42699); })()); } }); diff --git a/servers/genesys-cloud-architect-mcp.js b/servers/genesys-cloud-architect-mcp.js index 3765f7e..c7253a9 100644 --- a/servers/genesys-cloud-architect-mcp.js +++ b/servers/genesys-cloud-architect-mcp.js @@ -1,163 +1,156 @@ -"use strict";var iW=Object.create;var Fd=Object.defineProperty;var tW=Object.getOwnPropertyDescriptor;var aW=Object.getOwnPropertyNames;var rW=Object.getPrototypeOf,sW=Object.prototype.hasOwnProperty;var v=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(n){throw e=0,n}},Vd=(t,e)=>{for(var n in e)Fd(t,n,{get:e[n],enumerable:!0})},oW=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of aW(e))!sW.call(t,a)&&a!==n&&Fd(t,a,{get:()=>e[a],enumerable:!(i=tW(e,a))||i.enumerable});return t};var yr=(t,e,n)=>(n=t!=null?iW(rW(t)):{},oW(e||!t||!t.__esModule?Fd(n,"default",{value:t,enumerable:!0}):n,t));var So=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 Po=class{};je._CodeOrName=Po;je.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Ga=class extends Po{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=Ga;var Hi=class extends Po{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 Ga&&(n[i.str]=(n[i.str]||0)+1),n),{})}};je._Code=Hi;je.nil=new Hi("");function ES(t,...e){let n=[t[0]],i=0;for(;i{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.ValueScope=ni.ValueScopeName=ni.Scope=ni.varKinds=ni.UsedValueState=void 0;var ei=So(),Jm=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},tc;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(tc||(ni.UsedValueState=tc={}));ni.varKinds={const:new ei.Name("const"),let:new ei.Name("let"),var:new ei.Name("var")};var ac=class{constructor({prefixes:e,parent:n}={}){this._names={},this._prefixes=e,this._parent=n}toName(e){return e instanceof ei.Name?e:this.name(e)}name(e){return new ei.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}}};ni.Scope=ac;var rc=class extends ei.Name{constructor(e,n){super(n),this.prefix=e}setValue(e,{property:n,itemIndex:i}){this.value=e,this.scopePath=(0,ei._)`.${new ei.Name(n)}[${i}]`}};ni.ValueScopeName=rc;var jN=(0,ei._)`\n`,Zm=class extends ac{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?jN:ei.nil}}get(){return this._scope}name(e){return new rc(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 u=o.get(s);if(u)return u}else o=this._values[r]=new Map;o.set(s,a);let l=this._scope[r]||(this._scope[r]=[]),c=l.length;return l[c]=n.ref,a.setValue(n,{property:r,itemIndex:c}),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,ei._)`${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=ei.nil;for(let s in e){let o=e[s];if(!o)continue;let l=i[s]=i[s]||new Map;o.forEach(c=>{if(l.has(c))return;l.set(c,tc.Started);let u=n(c);if(u){let d=this.opts.es5?ni.varKinds.var:ni.varKinds.const;r=(0,ei._)`${r}${d} ${c} = ${u};${this.opts._n}`}else if(u=a?.(c))r=(0,ei._)`${r}${u}${this.opts._n}`;else throw new Jm(c);l.set(c,tc.Completed)})}return r}};ni.ValueScope=Zm});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 Ce=So(),Fi=Km(),Kt=So();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 uc=Km();Object.defineProperty(se,"Scope",{enumerable:!0,get:function(){return uc.Scope}});Object.defineProperty(se,"ValueScope",{enumerable:!0,get:function(){return uc.ValueScope}});Object.defineProperty(se,"ValueScopeName",{enumerable:!0,get:function(){return uc.ValueScopeName}});Object.defineProperty(se,"varKinds",{enumerable:!0,get:function(){return uc.varKinds}});se.operators={GT:new Ce._Code(">"),GTE:new Ce._Code(">="),LT:new Ce._Code("<"),LTE:new Ce._Code("<="),EQ:new Ce._Code("==="),NEQ:new Ce._Code("!=="),NOT:new Ce._Code("!"),OR:new Ce._Code("||"),AND:new Ce._Code("&&"),ADD:new Ce._Code("+")};var St=class{optimizeNodes(){return this}optimizeNames(e,n){return this}},Qm=class extends St{constructor(e,n,i){super(),this.varKind=e,this.name=n,this.rhs=i}render({es5:e,_n:n}){let i=e?Fi.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=Fr(this.rhs,e,n)),this}get names(){return this.rhs instanceof Ce._CodeOrName?this.rhs.names:{}}},sc=class extends St{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 Ce.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=Fr(this.rhs,e,n),this}get names(){let e=this.lhs instanceof Ce.Name?{}:{...this.lhs.names};return lc(e,this.rhs)}},Ym=class extends sc{constructor(e,n,i,a){super(e,i,a),this.op=n}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},Xm=class extends St{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},ef=class extends St{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},nf=class extends St{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},tf=class extends St{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=Fr(this.code,e,n),this}get names(){return this.code instanceof Ce._CodeOrName?this.code.names:{}}},Oo=class extends St{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)||(SN(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),{})}},Ot=class extends Oo{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},af=class extends Oo{},Br=class extends Ot{};Br.kind="else";var Na=class t extends Ot{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 Br(i):i}if(n)return e===!1?n instanceof t?n:n.nodes:this.nodes.length?this:new t(_S(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=Fr(this.condition,e,n),this}get names(){let e=super.names;return lc(e,this.condition),this.else&&$a(e,this.else.names),e}};Na.kind="if";var Ua=class extends Ot{};Ua.kind="for";var rf=class extends Ua{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=Fr(this.iteration,e,n),this}get names(){return $a(super.names,this.iteration.names)}},sf=class extends Ua{constructor(e,n,i,a){super(),this.varKind=e,this.name=n,this.from=i,this.to=a}render(e){let n=e.es5?Fi.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=lc(super.names,this.from);return lc(e,this.to)}},oc=class extends Ua{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=Fr(this.iterable,e,n),this}get names(){return $a(super.names,this.iterable.names)}},To=class extends Ot{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)}};To.kind="func";var Mo=class extends Oo{render(e){return"return "+super.render(e)}};Mo.kind="return";var of=class extends Ot{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}},ko=class extends Ot{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};ko.kind="catch";var Eo=class extends Ot{render(e){return"finally"+super.render(e)}};Eo.kind="finally";var lf=class{constructor(e,n={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...n,_n:n.lines?` -`:""},this._extScope=e,this._scope=new Fi.Scope({parent:e}),this._nodes=[new af]}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 Qm(e,r,i)),r}const(e,n,i){return this._def(Fi.varKinds.const,e,n,i)}let(e,n,i){return this._def(Fi.varKinds.let,e,n,i)}var(e,n,i){return this._def(Fi.varKinds.var,e,n,i)}assign(e,n,i){return this._leafNode(new sc(e,n,i))}add(e,n){return this._leafNode(new Ym(e,se.operators.ADD,n))}code(e){return typeof e=="function"?e():e!==Ce.nil&&this._leafNode(new tf(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,Ce.addCodeArg)(n,a));return n.push("}"),new Ce._Code(n)}if(e,n,i){if(this._blockNode(new Na(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 Na(e))}else(){return this._elseNode(new Br)}endIf(){return this._endBlockNode(Na,Br)}_for(e,n){return this._blockNode(e),n&&this.code(n).endFor(),this}for(e,n){return this._for(new rf(e),n)}forRange(e,n,i,a,r=this.opts.es5?Fi.varKinds.var:Fi.varKinds.let){let s=this._scope.toName(e);return this._for(new sf(r,s,n,i),()=>a(s))}forOf(e,n,i,a=Fi.varKinds.const){let r=this._scope.toName(e);if(this.opts.es5){let s=n instanceof Ce.Name?n:this.var("_arr",n);return this.forRange("_i",0,(0,Ce._)`${s}.length`,o=>{this.var(r,(0,Ce._)`${s}[${o}]`),i(r)})}return this._for(new oc("of",a,r,n),()=>i(r))}forIn(e,n,i,a=this.opts.es5?Fi.varKinds.var:Fi.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,Ce._)`Object.keys(${n})`,i);let r=this._scope.toName(e);return this._for(new oc("in",a,r,n),()=>i(r))}endFor(){return this._endBlockNode(Ua)}label(e){return this._leafNode(new Xm(e))}break(e){return this._leafNode(new ef(e))}return(e){let n=new Mo;if(this._blockNode(n),this.code(e),n.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Mo)}try(e,n,i){if(!n&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let a=new of;if(this._blockNode(a),this.code(e),n){let r=this.name("e");this._currNode=a.catch=new ko(r),n(r)}return i&&(this._currNode=a.finally=new Eo,this.code(i)),this._endBlockNode(ko,Eo)}throw(e){return this._leafNode(new nf(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=Ce.nil,i,a){return this._blockNode(new To(e,n,i)),a&&this.code(a).endFunc(),this}endFunc(){return this._endBlockNode(To)}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 Na))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}};se.CodeGen=lf;function $a(t,e){for(let n in e)t[n]=(t[n]||0)+(e[n]||0);return t}function lc(t,e){return e instanceof Ce._CodeOrName?$a(t,e.names):t}function Fr(t,e,n){if(t instanceof Ce.Name)return i(t);if(!a(t))return t;return new Ce._Code(t._items.reduce((r,s)=>(s instanceof Ce.Name&&(s=i(s)),s instanceof Ce._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 Ce._Code&&r._items.some(s=>s instanceof Ce.Name&&e[s.str]===1&&n[s.str]!==void 0)}}function SN(t,e){for(let n in e)t[n]=(t[n]||0)-(e[n]||0)}function _S(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,Ce._)`!${uf(t)}`}se.not=_S;var ON=HS(se.operators.AND);function TN(...t){return t.reduce(ON)}se.and=TN;var MN=HS(se.operators.OR);function kN(...t){return t.reduce(MN)}se.or=kN;function HS(t){return(e,n)=>e===Ce.nil?n:n===Ce.nil?e:(0,Ce._)`${uf(e)} ${t} ${uf(n)}`}function uf(t){return t instanceof Ce.Name?t:(0,Ce._)`(${t})`}});var be=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 We=re(),EN=So();function qN(t){let e={};for(let n of t)e[n]=!0;return e}ue.toHash=qN;function _N(t,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(WS(t,e),!zS(e,t.self.RULES.all))}ue.alwaysValidSchema=_N;function WS(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]||NS(t,`unknown keyword: "${r}"`)}ue.checkUnknownRules=WS;function zS(t,e){if(typeof t=="boolean")return!t;for(let n in t)if(e[n])return!0;return!1}ue.schemaHasRules=zS;function HN(t,e){if(typeof t=="boolean")return!t;for(let n in t)if(n!=="$ref"&&e.all[n])return!0;return!1}ue.schemaHasRulesButRef=HN;function RN({topSchemaRef:t,schemaPath:e},n,i,a){if(!a){if(typeof n=="number"||typeof n=="boolean")return n;if(typeof n=="string")return(0,We._)`${n}`}return(0,We._)`${t}${e}${(0,We.getProperty)(i)}`}ue.schemaRefOrVal=RN;function IN(t){return DS(decodeURIComponent(t))}ue.unescapeFragment=IN;function WN(t){return encodeURIComponent(pf(t))}ue.escapeFragment=WN;function pf(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}ue.escapeJsonPointer=pf;function DS(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}ue.unescapeJsonPointer=DS;function zN(t,e){if(Array.isArray(t))for(let n of t)e(n);else e(t)}ue.eachItem=zN;function RS({mergeNames:t,mergeToName:e,mergeValues:n,resultToName:i}){return(a,r,s,o)=>{let l=s===void 0?r:s instanceof We.Name?(r instanceof We.Name?t(a,r,s):e(a,r,s),s):r instanceof We.Name?(e(a,s,r),r):n(r,s);return o===We.Name&&!(l instanceof We.Name)?i(a,l):l}}ue.mergeEvaluated={props:RS({mergeNames:(t,e,n)=>t.if((0,We._)`${n} !== true && ${e} !== undefined`,()=>{t.if((0,We._)`${e} === true`,()=>t.assign(n,!0),()=>t.assign(n,(0,We._)`${n} || {}`).code((0,We._)`Object.assign(${n}, ${e})`))}),mergeToName:(t,e,n)=>t.if((0,We._)`${n} !== true`,()=>{e===!0?t.assign(n,!0):(t.assign(n,(0,We._)`${n} || {}`),df(t,n,e))}),mergeValues:(t,e)=>t===!0?!0:{...t,...e},resultToName:GS}),items:RS({mergeNames:(t,e,n)=>t.if((0,We._)`${n} !== true && ${e} !== undefined`,()=>t.assign(n,(0,We._)`${e} === true ? true : ${n} > ${e} ? ${n} : ${e}`)),mergeToName:(t,e,n)=>t.if((0,We._)`${n} !== true`,()=>t.assign(n,e===!0?!0:(0,We._)`${n} > ${e} ? ${n} : ${e}`)),mergeValues:(t,e)=>t===!0?!0:Math.max(t,e),resultToName:(t,e)=>t.var("items",e)})};function GS(t,e){if(e===!0)return t.var("props",!0);let n=t.var("props",(0,We._)`{}`);return e!==void 0&&df(t,n,e),n}ue.evaluatedPropsToName=GS;function df(t,e,n){Object.keys(n).forEach(i=>t.assign((0,We._)`${e}${(0,We.getProperty)(i)}`,!0))}ue.setEvaluated=df;var IS={};function DN(t,e){return t.scopeValue("func",{ref:e,code:IS[e.code]||(IS[e.code]=new EN._Code(e.code))})}ue.useFunc=DN;var cf;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(cf||(ue.Type=cf={}));function GN(t,e,n){if(t instanceof We.Name){let i=e===cf.Num;return n?i?(0,We._)`"[" + ${t} + "]"`:(0,We._)`"['" + ${t} + "']"`:i?(0,We._)`"/" + ${t}`:(0,We._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,We.getProperty)(t).toString():"/"+pf(t)}ue.getErrorPath=GN;function NS(t,e,n=t.opts.strictSchema){if(n){if(e=`strict mode: ${e}`,n===!0)throw new Error(e);t.self.logger.warn(e)}}ue.checkStrictMode=NS});var Tt=v(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});var In=re(),NN={data:new In.Name("data"),valCxt:new In.Name("valCxt"),instancePath:new In.Name("instancePath"),parentData:new In.Name("parentData"),parentDataProperty:new In.Name("parentDataProperty"),rootData:new In.Name("rootData"),dynamicAnchors:new In.Name("dynamicAnchors"),vErrors:new In.Name("vErrors"),errors:new In.Name("errors"),this:new In.Name("this"),self:new In.Name("self"),scope:new In.Name("scope"),json:new In.Name("json"),jsonPos:new In.Name("jsonPos"),jsonLen:new In.Name("jsonLen"),jsonPart:new In.Name("jsonPart")};hf.default=NN});var qo=v(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.extendErrors=Wn.resetErrorsCount=Wn.reportExtraError=Wn.reportError=Wn.keyword$DataError=Wn.keywordError=void 0;var xe=re(),cc=be(),Bn=Tt();Wn.keywordError={message:({keyword:t})=>(0,xe.str)`must pass "${t}" keyword validation`};Wn.keyword$DataError={message:({keyword:t,schemaType:e})=>e?(0,xe.str)`"${t}" keyword must be ${e} ($data)`:(0,xe.str)`"${t}" keyword is invalid ($data)`};function UN(t,e=Wn.keywordError,n,i){let{it:a}=t,{gen:r,compositeRule:s,allErrors:o}=a,l=LS(t,e,n);i??(s||o)?US(r,l):$S(a,(0,xe._)`[${l}]`)}Wn.reportError=UN;function $N(t,e=Wn.keywordError,n){let{it:i}=t,{gen:a,compositeRule:r,allErrors:s}=i,o=LS(t,e,n);US(a,o),r||s||$S(i,Bn.default.vErrors)}Wn.reportExtraError=$N;function LN(t,e){t.assign(Bn.default.errors,e),t.if((0,xe._)`${Bn.default.vErrors} !== null`,()=>t.if(e,()=>t.assign((0,xe._)`${Bn.default.vErrors}.length`,e),()=>t.assign(Bn.default.vErrors,null)))}Wn.resetErrorsCount=LN;function BN({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,Bn.default.errors,o=>{t.const(s,(0,xe._)`${Bn.default.vErrors}[${o}]`),t.if((0,xe._)`${s}.instancePath === undefined`,()=>t.assign((0,xe._)`${s}.instancePath`,(0,xe.strConcat)(Bn.default.instancePath,r.errorPath))),t.assign((0,xe._)`${s}.schemaPath`,(0,xe.str)`${r.errSchemaPath}/${e}`),r.opts.verbose&&(t.assign((0,xe._)`${s}.schema`,n),t.assign((0,xe._)`${s}.data`,i))})}Wn.extendErrors=BN;function US(t,e){let n=t.const("err",e);t.if((0,xe._)`${Bn.default.vErrors} === null`,()=>t.assign(Bn.default.vErrors,(0,xe._)`[${n}]`),(0,xe._)`${Bn.default.vErrors}.push(${n})`),t.code((0,xe._)`${Bn.default.errors}++`)}function $S(t,e){let{gen:n,validateName:i,schemaEnv:a}=t;a.$async?n.throw((0,xe._)`new ${t.ValidationError}(${e})`):(n.assign((0,xe._)`${i}.errors`,e),n.return(!1))}var La={keyword:new xe.Name("keyword"),schemaPath:new xe.Name("schemaPath"),params:new xe.Name("params"),propertyName:new xe.Name("propertyName"),message:new xe.Name("message"),schema:new xe.Name("schema"),parentSchema:new xe.Name("parentSchema")};function LS(t,e,n){let{createErrors:i}=t.it;return i===!1?(0,xe._)`{}`:FN(t,e,n)}function FN(t,e,n={}){let{gen:i,it:a}=t,r=[VN(a,n),JN(t,n)];return ZN(t,e,r),i.object(...r)}function VN({errorPath:t},{instancePath:e}){let n=e?(0,xe.str)`${t}${(0,cc.getErrorPath)(e,cc.Type.Str)}`:t;return[Bn.default.instancePath,(0,xe.strConcat)(Bn.default.instancePath,n)]}function JN({keyword:t,it:{errSchemaPath:e}},{schemaPath:n,parentSchema:i}){let a=i?e:(0,xe.str)`${e}/${t}`;return n&&(a=(0,xe.str)`${a}${(0,cc.getErrorPath)(n,cc.Type.Str)}`),[La.schemaPath,a]}function ZN(t,{params:e,message:n},i){let{keyword:a,data:r,schemaValue:s,it:o}=t,{opts:l,propertyName:c,topSchemaRef:u,schemaPath:d}=o;i.push([La.keyword,a],[La.params,typeof e=="function"?e(t):e||(0,xe._)`{}`]),l.messages&&i.push([La.message,typeof n=="function"?n(t):n]),l.verbose&&i.push([La.schema,s],[La.parentSchema,(0,xe._)`${u}${d}`],[Bn.default.data,r]),c&&i.push([La.propertyName,c])}});var FS=v(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.boolOrEmptySchema=Vr.topBoolOrEmptySchema=void 0;var KN=qo(),QN=re(),YN=Tt(),XN={message:"boolean schema is false"};function eU(t){let{gen:e,schema:n,validateName:i}=t;n===!1?BS(t,!1):typeof n=="object"&&n.$async===!0?e.return(YN.default.data):(e.assign((0,QN._)`${i}.errors`,null),e.return(!0))}Vr.topBoolOrEmptySchema=eU;function nU(t,e){let{gen:n,schema:i}=t;i===!1?(n.var(e,!1),BS(t)):n.var(e,!0)}Vr.boolOrEmptySchema=nU;function BS(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,KN.reportError)(a,XN,void 0,e)}});var gf=v(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.getRules=Jr.isJSONType=void 0;var iU=["string","number","integer","boolean","null","object","array"],tU=new Set(iU);function aU(t){return typeof t=="string"&&tU.has(t)}Jr.isJSONType=aU;function rU(){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:{}}}Jr.getRules=rU});var mf=v(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.shouldUseRule=Qt.shouldUseGroup=Qt.schemaHasRulesForType=void 0;function sU({schema:t,self:e},n){let i=e.RULES.types[n];return i&&i!==!0&&VS(t,i)}Qt.schemaHasRulesForType=sU;function VS(t,e){return e.rules.some(n=>JS(t,n))}Qt.shouldUseGroup=VS;function JS(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))}Qt.shouldUseRule=JS});var _o=v(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.reportTypeError=zn.checkDataTypes=zn.checkDataType=zn.coerceAndCheckDataType=zn.getJSONTypes=zn.getSchemaTypes=zn.DataType=void 0;var oU=gf(),lU=mf(),uU=qo(),ie=re(),ZS=be(),Zr;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(Zr||(zn.DataType=Zr={}));function cU(t){let e=KS(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}zn.getSchemaTypes=cU;function KS(t){let e=Array.isArray(t)?t:t?[t]:[];if(e.every(oU.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}zn.getJSONTypes=KS;function pU(t,e){let{gen:n,data:i,opts:a}=t,r=dU(e,a.coerceTypes),s=e.length>0&&!(r.length===0&&e.length===1&&(0,lU.schemaHasRulesForType)(t,e[0]));if(s){let o=wf(e,i,a.strictNumbers,Zr.Wrong);n.if(o,()=>{r.length?hU(t,e,r):vf(t)})}return s}zn.coerceAndCheckDataType=pU;var QS=new Set(["string","number","integer","boolean","null"]);function dU(t,e){return e?t.filter(n=>QS.has(n)||e==="array"&&n==="array"):[]}function hU(t,e,n){let{gen:i,data:a,opts:r}=t,s=i.let("dataType",(0,ie._)`typeof ${a}`),o=i.let("coerced",(0,ie._)`undefined`);r.coerceTypes==="array"&&i.if((0,ie._)`${s} == 'object' && Array.isArray(${a}) && ${a}.length == 1`,()=>i.assign(a,(0,ie._)`${a}[0]`).assign(s,(0,ie._)`typeof ${a}`).if(wf(e,a,r.strictNumbers),()=>i.assign(o,a))),i.if((0,ie._)`${o} !== undefined`);for(let c of n)(QS.has(c)||c==="array"&&r.coerceTypes==="array")&&l(c);i.else(),vf(t),i.endIf(),i.if((0,ie._)`${o} !== undefined`,()=>{i.assign(a,o),gU(t,o)});function l(c){switch(c){case"string":i.elseIf((0,ie._)`${s} == "number" || ${s} == "boolean"`).assign(o,(0,ie._)`"" + ${a}`).elseIf((0,ie._)`${a} === null`).assign(o,(0,ie._)`""`);return;case"number":i.elseIf((0,ie._)`${s} == "boolean" || ${a} === null - || (${s} == "string" && ${a} && ${a} == +${a})`).assign(o,(0,ie._)`+${a}`);return;case"integer":i.elseIf((0,ie._)`${s} === "boolean" || ${a} === null - || (${s} === "string" && ${a} && ${a} == +${a} && !(${a} % 1))`).assign(o,(0,ie._)`+${a}`);return;case"boolean":i.elseIf((0,ie._)`${a} === "false" || ${a} === 0 || ${a} === null`).assign(o,!1).elseIf((0,ie._)`${a} === "true" || ${a} === 1`).assign(o,!0);return;case"null":i.elseIf((0,ie._)`${a} === "" || ${a} === 0 || ${a} === false`),i.assign(o,null);return;case"array":i.elseIf((0,ie._)`${s} === "string" || ${s} === "number" - || ${s} === "boolean" || ${a} === null`).assign(o,(0,ie._)`[${a}]`)}}}function gU({gen:t,parentData:e,parentDataProperty:n},i){t.if((0,ie._)`${e} !== undefined`,()=>t.assign((0,ie._)`${e}[${n}]`,i))}function ff(t,e,n,i=Zr.Correct){let a=i===Zr.Correct?ie.operators.EQ:ie.operators.NEQ,r;switch(t){case"null":return(0,ie._)`${e} ${a} null`;case"array":r=(0,ie._)`Array.isArray(${e})`;break;case"object":r=(0,ie._)`${e} && typeof ${e} == "object" && !Array.isArray(${e})`;break;case"integer":r=s((0,ie._)`!(${e} % 1) && !isNaN(${e})`);break;case"number":r=s();break;default:return(0,ie._)`typeof ${e} ${a} ${t}`}return i===Zr.Correct?r:(0,ie.not)(r);function s(o=ie.nil){return(0,ie.and)((0,ie._)`typeof ${e} == "number"`,o,n?(0,ie._)`isFinite(${e})`:ie.nil)}}zn.checkDataType=ff;function wf(t,e,n,i){if(t.length===1)return ff(t[0],e,n,i);let a,r=(0,ZS.toHash)(t);if(r.array&&r.object){let s=(0,ie._)`typeof ${e} != "object"`;a=r.null?s:(0,ie._)`!${e} || ${s}`,delete r.null,delete r.array,delete r.object}else a=ie.nil;r.number&&delete r.integer;for(let s in r)a=(0,ie.and)(a,ff(s,e,n,i));return a}zn.checkDataTypes=wf;var mU={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:e})=>typeof t=="string"?(0,ie._)`{type: ${t}}`:(0,ie._)`{type: ${e}}`};function vf(t){let e=fU(t);(0,uU.reportError)(e,mU)}zn.reportTypeError=vf;function fU(t){let{gen:e,data:n,schema:i}=t,a=(0,ZS.schemaRefOrVal)(t,i,"type");return{gen:e,keyword:"type",data:n,schema:i.type,schemaCode:a,schemaValue:a,parentSchema:i,params:{},it:t}}});var XS=v(pc=>{"use strict";Object.defineProperty(pc,"__esModule",{value:!0});pc.assignDefaults=void 0;var Kr=re(),wU=be();function vU(t,e){let{properties:n,items:i}=t.schema;if(e==="object"&&n)for(let a in n)YS(t,a,n[a].default);else e==="array"&&Array.isArray(i)&&i.forEach((a,r)=>YS(t,r,a.default))}pc.assignDefaults=vU;function YS(t,e,n){let{gen:i,compositeRule:a,data:r,opts:s}=t;if(n===void 0)return;let o=(0,Kr._)`${r}${(0,Kr.getProperty)(e)}`;if(a){(0,wU.checkStrictMode)(t,`default is ignored for: ${o}`);return}let l=(0,Kr._)`${o} === undefined`;s.useDefaults==="empty"&&(l=(0,Kr._)`${l} || ${o} === null || ${o} === ""`),i.if(l,(0,Kr._)`${o} = ${(0,Kr.stringify)(n)}`)}});var Ri=v(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.validateUnion=He.validateArray=He.usePattern=He.callValidateCode=He.schemaProperties=He.allSchemaProperties=He.noPropertyInData=He.propertyInData=He.isOwnProperty=He.hasPropFunc=He.reportMissingProp=He.checkMissingProp=He.checkReportMissingProp=void 0;var Ue=re(),Cf=be(),Yt=Tt(),CU=be();function AU(t,e){let{gen:n,data:i,it:a}=t;n.if(bf(n,i,e,a.opts.ownProperties),()=>{t.setParams({missingProperty:(0,Ue._)`${e}`},!0),t.error()})}He.checkReportMissingProp=AU;function bU({gen:t,data:e,it:{opts:n}},i,a){return(0,Ue.or)(...i.map(r=>(0,Ue.and)(bf(t,e,r,n.ownProperties),(0,Ue._)`${a} = ${r}`)))}He.checkMissingProp=bU;function xU(t,e){t.setParams({missingProperty:e},!0),t.error()}He.reportMissingProp=xU;function eO(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,Ue._)`Object.prototype.hasOwnProperty`})}He.hasPropFunc=eO;function Af(t,e,n){return(0,Ue._)`${eO(t)}.call(${e}, ${n})`}He.isOwnProperty=Af;function yU(t,e,n,i){let a=(0,Ue._)`${e}${(0,Ue.getProperty)(n)} !== undefined`;return i?(0,Ue._)`${a} && ${Af(t,e,n)}`:a}He.propertyInData=yU;function bf(t,e,n,i){let a=(0,Ue._)`${e}${(0,Ue.getProperty)(n)} === undefined`;return i?(0,Ue.or)(a,(0,Ue.not)(Af(t,e,n))):a}He.noPropertyInData=bf;function nO(t){return t?Object.keys(t).filter(e=>e!=="__proto__"):[]}He.allSchemaProperties=nO;function PU(t,e){return nO(e).filter(n=>!(0,Cf.alwaysValidSchema)(t,e[n]))}He.schemaProperties=PU;function jU({schemaCode:t,data:e,it:{gen:n,topSchemaRef:i,schemaPath:a,errorPath:r},it:s},o,l,c){let u=c?(0,Ue._)`${t}, ${e}, ${i}${a}`:e,d=[[Yt.default.instancePath,(0,Ue.strConcat)(Yt.default.instancePath,r)],[Yt.default.parentData,s.parentData],[Yt.default.parentDataProperty,s.parentDataProperty],[Yt.default.rootData,Yt.default.rootData]];s.opts.dynamicRef&&d.push([Yt.default.dynamicAnchors,Yt.default.dynamicAnchors]);let h=(0,Ue._)`${u}, ${n.object(...d)}`;return l!==Ue.nil?(0,Ue._)`${o}.call(${l}, ${h})`:(0,Ue._)`${o}(${h})`}He.callValidateCode=jU;var SU=(0,Ue._)`new RegExp`;function OU({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,Ue._)`${a.code==="new RegExp"?SU:(0,CU.useFunc)(t,a)}(${n}, ${i})`})}He.usePattern=OU;function TU(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,Ue._)`${n}.length`);e.forRange("i",0,l,c=>{t.subschema({keyword:i,dataProp:c,dataPropType:Cf.Type.Num},r),e.if((0,Ue.not)(r),o)})}}He.validateArray=TU;function MU(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,Cf.alwaysValidSchema)(a,l))&&!a.opts.unevaluated)return;let s=e.let("valid",!1),o=e.name("_valid");e.block(()=>n.forEach((l,c)=>{let u=t.subschema({keyword:i,schemaProp:c,compositeRule:!0},o);e.assign(s,(0,Ue._)`${s} || ${o}`),t.mergeValidEvaluated(u,o)||e.if((0,Ue.not)(s))})),t.result(s,()=>t.reset(),()=>t.error(!0))}He.validateUnion=MU});var aO=v(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.validateKeywordUsage=ot.validSchemaType=ot.funcKeywordCode=ot.macroKeywordCode=void 0;var Fn=re(),Ba=Tt(),kU=Ri(),EU=qo();function qU(t,e){let{gen:n,keyword:i,schema:a,parentSchema:r,it:s}=t,o=e.macro.call(s.self,a,r,s),l=tO(n,i,o);s.opts.validateSchema!==!1&&s.self.validateSchema(o,!0);let c=n.name("valid");t.subschema({schema:o,schemaPath:Fn.nil,errSchemaPath:`${s.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},c),t.pass(c,()=>t.error(!0))}ot.macroKeywordCode=qU;function _U(t,e){var n;let{gen:i,keyword:a,schema:r,parentSchema:s,$data:o,it:l}=t;RU(l,e);let c=!o&&e.compile?e.compile.call(l.self,r,s,l):e.validate,u=tO(i,a,c),d=i.let("valid");t.block$data(d,h),t.ok((n=e.valid)!==null&&n!==void 0?n:d);function h(){if(e.errors===!1)m(),e.modifying&&iO(t),f(()=>t.error());else{let w=e.async?g():p();e.modifying&&iO(t),f(()=>HU(t,w))}}function g(){let w=i.let("ruleErrs",null);return i.try(()=>m((0,Fn._)`await `),b=>i.assign(d,!1).if((0,Fn._)`${b} instanceof ${l.ValidationError}`,()=>i.assign(w,(0,Fn._)`${b}.errors`),()=>i.throw(b))),w}function p(){let w=(0,Fn._)`${u}.errors`;return i.assign(w,null),m(Fn.nil),w}function m(w=e.async?(0,Fn._)`await `:Fn.nil){let b=l.opts.passContext?Ba.default.this:Ba.default.self,A=!("compile"in e&&!o||e.schema===!1);i.assign(d,(0,Fn._)`${w}${(0,kU.callValidateCode)(t,u,b,A)}`,e.modifying)}function f(w){var b;i.if((0,Fn.not)((b=e.valid)!==null&&b!==void 0?b:d),w)}}ot.funcKeywordCode=_U;function iO(t){let{gen:e,data:n,it:i}=t;e.if(i.parentData,()=>e.assign(n,(0,Fn._)`${i.parentData}[${i.parentDataProperty}]`))}function HU(t,e){let{gen:n}=t;n.if((0,Fn._)`Array.isArray(${e})`,()=>{n.assign(Ba.default.vErrors,(0,Fn._)`${Ba.default.vErrors} === null ? ${e} : ${Ba.default.vErrors}.concat(${e})`).assign(Ba.default.errors,(0,Fn._)`${Ba.default.vErrors}.length`),(0,EU.extendErrors)(t)},()=>t.error())}function RU({schemaEnv:t},e){if(e.async&&!t.$async)throw new Error("async keyword in sync schema")}function tO(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,Fn.stringify)(n)})}function IU(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")}ot.validSchemaType=IU;function WU({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)}}ot.validateKeywordUsage=WU});var sO=v(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.extendSubschemaMode=Xt.extendSubschemaData=Xt.getSubschema=void 0;var lt=re(),rO=be();function zU(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,lt._)`${t.schemaPath}${(0,lt.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${e}`}:{schema:o[n],schemaPath:(0,lt._)`${t.schemaPath}${(0,lt.getProperty)(e)}${(0,lt.getProperty)(n)}`,errSchemaPath:`${t.errSchemaPath}/${e}/${(0,rO.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')}Xt.getSubschema=zU;function DU(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:c,dataPathArr:u,opts:d}=e,h=o.let("data",(0,lt._)`${e.data}${(0,lt.getProperty)(n)}`,!0);l(h),t.errorPath=(0,lt.str)`${c}${(0,rO.getErrorPath)(n,i,d.jsPropertySyntax)}`,t.parentDataProperty=(0,lt._)`${n}`,t.dataPathArr=[...u,t.parentDataProperty]}if(a!==void 0){let c=a instanceof lt.Name?a:o.let("data",a,!0);l(c),s!==void 0&&(t.propertyName=s)}r&&(t.dataTypes=r);function l(c){t.data=c,t.dataLevel=e.dataLevel+1,t.dataTypes=[],e.definedProperties=new Set,t.parentData=e.data,t.dataNames=[...e.dataNames,c]}}Xt.extendSubschemaData=DU;function GU(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}Xt.extendSubschemaMode=GU});var xf=v((Kae,oO)=>{"use strict";oO.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 uO=v((Qae,lO)=>{"use strict";var ea=lO.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(){};dc(e,i,a,t,"",t)};ea.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ea.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ea.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ea.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 dc(t,e,n,i,a,r,s,o,l,c){if(i&&typeof i=="object"&&!Array.isArray(i)){e(i,a,r,s,o,l,c);for(var u in i){var d=i[u];if(Array.isArray(d)){if(u in ea.arrayKeywords)for(var h=0;h{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.getSchemaRefs=ii.resolveUrl=ii.normalizeId=ii._getFullPath=ii.getFullPath=ii.inlineRef=void 0;var UU=be(),$U=xf(),LU=uO(),BU=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function FU(t,e=!0){return typeof t=="boolean"?!0:e===!0?!yf(t):e?cO(t)<=e:!1}ii.inlineRef=FU;var VU=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function yf(t){for(let e in t){if(VU.has(e))return!0;let n=t[e];if(Array.isArray(n)&&n.some(yf)||typeof n=="object"&&yf(n))return!0}return!1}function cO(t){let e=0;for(let n in t){if(n==="$ref")return 1/0;if(e++,!BU.has(n)&&(typeof t[n]=="object"&&(0,UU.eachItem)(t[n],i=>e+=cO(i)),e===1/0))return 1/0}return e}function pO(t,e="",n){n!==!1&&(e=Qr(e));let i=t.parse(e);return dO(t,i)}ii.getFullPath=pO;function dO(t,e){return t.serialize(e).split("#")[0]+"#"}ii._getFullPath=dO;var JU=/#\/?$/;function Qr(t){return t?t.replace(JU,""):""}ii.normalizeId=Qr;function ZU(t,e,n){return n=Qr(n),t.resolve(e,n)}ii.resolveUrl=ZU;var KU=/^[a-z_][-a-z0-9._]*$/i;function QU(t,e){if(typeof t=="boolean")return{};let{schemaId:n,uriResolver:i}=this.opts,a=Qr(t[n]||e),r={"":a},s=pO(i,a,!1),o={},l=new Set;return LU(t,{allKeys:!0},(d,h,g,p)=>{if(p===void 0)return;let m=s+h,f=r[p];typeof d[n]=="string"&&(f=w.call(this,d[n])),b.call(this,d.$anchor),b.call(this,d.$dynamicAnchor),r[h]=f;function w(A){let x=this.opts.uriResolver.resolve;if(A=Qr(f?x(f,A):A),l.has(A))throw u(A);l.add(A);let S=this.refs[A];return typeof S=="string"&&(S=this.refs[S]),typeof S=="object"?c(d,S.schema,A):A!==Qr(m)&&(A[0]==="#"?(c(d,o[A],A),o[A]=d):this.refs[A]=m),A}function b(A){if(typeof A=="string"){if(!KU.test(A))throw new Error(`invalid anchor "${A}"`);w.call(this,`#${A}`)}}}),o;function c(d,h,g){if(h!==void 0&&!$U(d,h))throw u(g)}function u(d){return new Error(`reference "${d}" resolves to more than one schema`)}}ii.getSchemaRefs=QU});var Wo=v(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.getData=na.KeywordCxt=na.validateFunctionCode=void 0;var wO=FS(),hO=_o(),jf=mf(),hc=_o(),YU=XS(),Io=aO(),Pf=sO(),B=re(),Y=Tt(),XU=Ho(),Mt=be(),Ro=qo();function e$(t){if(AO(t)&&(bO(t),CO(t))){t$(t);return}vO(t,()=>(0,wO.topBoolOrEmptySchema)(t))}na.validateFunctionCode=e$;function vO({gen:t,validateName:e,schema:n,schemaEnv:i,opts:a},r){a.code.es5?t.func(e,(0,B._)`${Y.default.data}, ${Y.default.valCxt}`,i.$async,()=>{t.code((0,B._)`"use strict"; ${gO(n,a)}`),i$(t,a),t.code(r)}):t.func(e,(0,B._)`${Y.default.data}, ${n$(a)}`,i.$async,()=>t.code(gO(n,a)).code(r))}function n$(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 i$(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 t$(t){let{schema:e,opts:n,gen:i}=t;vO(t,()=>{n.$comment&&e.$comment&&yO(t),l$(t),i.let(Y.default.vErrors,null),i.let(Y.default.errors,0),n.unevaluated&&a$(t),xO(t),p$(t)})}function a$(t){let{gen:e,validateName:n}=t;t.evaluated=e.const("evaluated",(0,B._)`${n}.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 gO(t,e){let n=typeof t=="object"&&t[e.schemaId];return n&&(e.code.source||e.code.process)?(0,B._)`/*# sourceURL=${n} */`:B.nil}function r$(t,e){if(AO(t)&&(bO(t),CO(t))){s$(t,e);return}(0,wO.boolOrEmptySchema)(t,e)}function CO({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 AO(t){return typeof t.schema!="boolean"}function s$(t,e){let{schema:n,gen:i,opts:a}=t;a.$comment&&n.$comment&&yO(t),u$(t),c$(t);let r=i.const("_errs",Y.default.errors);xO(t,r),i.var(e,(0,B._)`${r} === ${Y.default.errors}`)}function bO(t){(0,Mt.checkUnknownRules)(t),o$(t)}function xO(t,e){if(t.opts.jtd)return mO(t,[],!1,e);let n=(0,hO.getSchemaTypes)(t.schema),i=(0,hO.coerceAndCheckDataType)(t,n);mO(t,n,!i,e)}function o$(t){let{schema:e,errSchemaPath:n,opts:i,self:a}=t;e.$ref&&i.ignoreKeywordsWithRef&&(0,Mt.schemaHasRulesButRef)(e,a.RULES)&&a.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}function l$(t){let{schema:e,opts:n}=t;e.default!==void 0&&n.useDefaults&&n.strictSchema&&(0,Mt.checkStrictMode)(t,"default is ignored in the schema root")}function u$(t){let e=t.schema[t.opts.schemaId];e&&(t.baseId=(0,XU.resolveUrl)(t.opts.uriResolver,t.baseId,e))}function c$(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function yO({gen:t,schemaEnv:e,schema:n,errSchemaPath:i,opts:a}){let r=n.$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)`${i}/$comment`,o=t.scopeValue("root",{ref:e.root});t.code((0,B._)`${Y.default.self}.opts.$comment(${r}, ${s}, ${o}.schema)`)}}function p$(t){let{gen:e,schemaEnv:n,validateName:i,ValidationError:a,opts:r}=t;n.$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._)`${i}.errors`,Y.default.vErrors),r.unevaluated&&d$(t),e.return((0,B._)`${Y.default.errors} === 0`))}function d$({gen:t,evaluated:e,props:n,items:i}){n instanceof B.Name&&t.assign((0,B._)`${e}.props`,n),i instanceof B.Name&&t.assign((0,B._)`${e}.items`,i)}function mO(t,e,n,i){let{gen:a,schema:r,data:s,allErrors:o,opts:l,self:c}=t,{RULES:u}=c;if(r.$ref&&(l.ignoreKeywordsWithRef||!(0,Mt.schemaHasRulesButRef)(r,u))){a.block(()=>jO(t,"$ref",u.all.$ref.definition));return}l.jtd||h$(t,e),a.block(()=>{for(let h of u.rules)d(h);d(u.post)});function d(h){(0,jf.shouldUseGroup)(r,h)&&(h.type?(a.if((0,hc.checkDataType)(h.type,s,l.strictNumbers)),fO(t,h),e.length===1&&e[0]===h.type&&n&&(a.else(),(0,hc.reportTypeError)(t)),a.endIf()):fO(t,h),o||a.if((0,B._)`${Y.default.errors} === ${i||0}`))}}function fO(t,e){let{gen:n,schema:i,opts:{useDefaults:a}}=t;a&&(0,YU.assignDefaults)(t,e.type),n.block(()=>{for(let r of e.rules)(0,jf.shouldUseRule)(i,r)&&jO(t,r.keyword,r.definition,e.type)})}function h$(t,e){t.schemaEnv.meta||!t.opts.strictTypes||(g$(t,e),t.opts.allowUnionTypes||m$(t,e),f$(t,t.dataTypes))}function g$(t,e){if(e.length){if(!t.dataTypes.length){t.dataTypes=e;return}e.forEach(n=>{PO(t.dataTypes,n)||Sf(t,`type "${n}" not allowed by context "${t.dataTypes.join(",")}"`)}),v$(t,e)}}function m$(t,e){e.length>1&&!(e.length===2&&e.includes("null"))&&Sf(t,"use allowUnionTypes to allow union type keyword")}function f$(t,e){let n=t.self.RULES.all;for(let i in n){let a=n[i];if(typeof a=="object"&&(0,jf.shouldUseRule)(t.schema,a)){let{type:r}=a.definition;r.length&&!r.some(s=>w$(e,s))&&Sf(t,`missing type "${r.join(",")}" for keyword "${i}"`)}}}function w$(t,e){return t.includes(e)||e==="number"&&t.includes("integer")}function PO(t,e){return t.includes(e)||e==="integer"&&t.includes("number")}function v$(t,e){let n=[];for(let i of t.dataTypes)PO(e,i)?n.push(i):e.includes("integer")&&i==="number"&&n.push("integer");t.dataTypes=n}function Sf(t,e){let n=t.schemaEnv.baseId+t.errSchemaPath;e+=` at "${n}" (strictTypes)`,(0,Mt.checkStrictMode)(t,e,t.opts.strictTypes)}var gc=class{constructor(e,n,i){if((0,Io.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,Mt.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",SO(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,Io.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",Y.default.errors))}result(e,n,i){this.failResult((0,B.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,B.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,B._)`${n} !== undefined && (${(0,B.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?Ro.reportExtraError:Ro.reportError)(this,this.def.error,n)}$dataError(){(0,Ro.reportError)(this,this.def.$dataError||Ro.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Ro.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=B.nil){this.gen.block(()=>{this.check$data(e,i),n()})}check$data(e=B.nil,n=B.nil){if(!this.$data)return;let{gen:i,schemaCode:a,schemaType:r,def:s}=this;i.if((0,B.or)((0,B._)`${a} === undefined`,n)),e!==B.nil&&i.assign(e,!0),(r.length||s.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),e!==B.nil&&i.assign(e,!1)),i.else()}invalid$data(){let{gen:e,schemaCode:n,schemaType:i,def:a,it:r}=this;return(0,B.or)(s(),o());function s(){if(i.length){if(!(n instanceof B.Name))throw new Error("ajv implementation error");let l=Array.isArray(i)?i:[i];return(0,B._)`${(0,hc.checkDataTypes)(l,n,r.opts.strictNumbers,hc.DataType.Wrong)}`}return B.nil}function o(){if(a.validateSchema){let l=e.scopeValue("validate$data",{ref:a.validateSchema});return(0,B._)`!${l}(${n})`}return B.nil}}subschema(e,n){let i=(0,Pf.getSubschema)(this.it,e);(0,Pf.extendSubschemaData)(i,this.it,e),(0,Pf.extendSubschemaMode)(i,e);let a={...this.it,...i,items:void 0,props:void 0};return r$(a,n),a}mergeEvaluated(e,n){let{it:i,gen:a}=this;i.opts.unevaluated&&(i.props!==!0&&e.props!==void 0&&(i.props=Mt.mergeEvaluated.props(a,e.props,i.props,n)),i.items!==!0&&e.items!==void 0&&(i.items=Mt.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,B.Name)),!0}};na.KeywordCxt=gc;function jO(t,e,n,i){let a=new gc(t,n,e);"code"in n?n.code(a,i):a.$data&&n.validate?(0,Io.funcKeywordCode)(a,n):"macro"in n?(0,Io.macroKeywordCode)(a,n):(n.compile||n.validate)&&(0,Io.funcKeywordCode)(a,n)}var C$=/^\/(?:[^~]|~0|~1)*$/,A$=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function SO(t,{dataLevel:e,dataNames:n,dataPathArr:i}){let a,r;if(t==="")return Y.default.rootData;if(t[0]==="/"){if(!C$.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);a=t,r=Y.default.rootData}else{let c=A$.exec(t);if(!c)throw new Error(`Invalid JSON-pointer: ${t}`);let u=+c[1];if(a=c[2],a==="#"){if(u>=e)throw new Error(l("property/index",u));return i[e-u]}if(u>e)throw new Error(l("data",u));if(r=n[e-u],!a)return r}let s=r,o=a.split("/");for(let c of o)c&&(r=(0,B._)`${r}${(0,B.getProperty)((0,Mt.unescapeJsonPointer)(c))}`,s=(0,B._)`${s} && ${r}`);return s;function l(c,u){return`Cannot access ${c} ${u} levels up, current level is ${e}`}}na.getData=SO});var mc=v(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});var Of=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}};Tf.default=Of});var zo=v(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});var Mf=Ho(),kf=class extends Error{constructor(e,n,i,a){super(a||`can't resolve reference ${i} from id ${n}`),this.missingRef=(0,Mf.resolveUrl)(e,n,i),this.missingSchema=(0,Mf.normalizeId)((0,Mf.getFullPath)(e,this.missingRef))}};Ef.default=kf});var wc=v(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.resolveSchema=Ii.getCompilingSchema=Ii.resolveRef=Ii.compileSchema=Ii.SchemaEnv=void 0;var Vi=re(),b$=mc(),Fa=Tt(),Ji=Ho(),OO=be(),x$=Wo(),Yr=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,Ji.normalizeId)(i?.[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=i?.$async,this.refs={}}};Ii.SchemaEnv=Yr;function _f(t){let e=TO.call(this,t);if(e)return e;let n=(0,Ji.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:i,lines:a}=this.opts.code,{ownProperties:r}=this.opts,s=new Vi.CodeGen(this.scope,{es5:i,lines:a,ownProperties:r}),o;t.$async&&(o=s.scopeValue("Error",{ref:b$.default,code:(0,Vi._)`require("ajv/dist/runtime/validation_error").default`}));let l=s.scopeName("validate");t.validateName=l;let c={gen:s,allErrors:this.opts.allErrors,data:Fa.default.data,parentData:Fa.default.parentData,parentDataProperty:Fa.default.parentDataProperty,dataNames:[Fa.default.data],dataPathArr:[Vi.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,Vi.stringify)(t.schema)}:{ref:t.schema}),validateName:l,ValidationError:o,schema:t.schema,schemaEnv:t,rootId:n,baseId:t.baseId||n,schemaPath:Vi.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Vi._)`""`,opts:this.opts,self:this},u;try{this._compilations.add(t),(0,x$.validateFunctionCode)(c),s.optimize(this.opts.code.optimize);let d=s.toString();u=`${s.scopeRefs(Fa.default.scope)}return ${d}`,this.opts.code.process&&(u=this.opts.code.process(u,t));let g=new Function(`${Fa.default.self}`,`${Fa.default.scope}`,u)(this,this.scope.get());if(this.scope.value(l,{ref:g}),g.errors=null,g.schema=t.schema,g.schemaEnv=t,t.$async&&(g.$async=!0),this.opts.code.source===!0&&(g.source={validateName:l,validateCode:d,scopeValues:s._values}),this.opts.unevaluated){let{props:p,items:m}=c;g.evaluated={props:p instanceof Vi.Name?void 0:p,items:m instanceof Vi.Name?void 0:m,dynamicProps:p instanceof Vi.Name,dynamicItems:m instanceof Vi.Name},g.source&&(g.source.evaluated=(0,Vi.stringify)(g.evaluated))}return t.validate=g,t}catch(d){throw delete t.validate,delete t.validateName,u&&this.logger.error("Error compiling schema, function code:",u),d}finally{this._compilations.delete(t)}}Ii.compileSchema=_f;function y$(t,e,n){var i;n=(0,Ji.resolveUrl)(this.opts.uriResolver,e,n);let a=t.refs[n];if(a)return a;let r=S$.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 Yr({schema:s,schemaId:o,root:t,baseId:e}))}if(r!==void 0)return t.refs[n]=P$.call(this,r)}Ii.resolveRef=y$;function P$(t){return(0,Ji.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:_f.call(this,t)}function TO(t){for(let e of this._compilations)if(j$(e,t))return e}Ii.getCompilingSchema=TO;function j$(t,e){return t.schema===e.schema&&t.root===e.root&&t.baseId===e.baseId}function S$(t,e){let n;for(;typeof(n=this.refs[e])=="string";)e=n;return n||this.schemas[e]||fc.call(this,t,e)}function fc(t,e){let n=this.opts.uriResolver.parse(e),i=(0,Ji._getFullPath)(this.opts.uriResolver,n),a=(0,Ji.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&i===a)return qf.call(this,n,t);let r=(0,Ji.normalizeId)(i),s=this.refs[r]||this.schemas[r];if(typeof s=="string"){let o=fc.call(this,t,s);return typeof o?.schema!="object"?void 0:qf.call(this,n,o)}if(typeof s?.schema=="object"){if(s.validate||_f.call(this,s),r===(0,Ji.normalizeId)(e)){let{schema:o}=s,{schemaId:l}=this.opts,c=o[l];return c&&(a=(0,Ji.resolveUrl)(this.opts.uriResolver,a,c)),new Yr({schema:o,schemaId:l,root:t,baseId:a})}return qf.call(this,n,s)}}Ii.resolveSchema=fc;var O$=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function qf(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,OO.unescapeFragment)(o)];if(l===void 0)return;n=l;let c=typeof n=="object"&&n[this.opts.schemaId];!O$.has(o)&&c&&(e=(0,Ji.resolveUrl)(this.opts.uriResolver,e,c))}let r;if(typeof n!="boolean"&&n.$ref&&!(0,OO.schemaHasRulesButRef)(n,this.RULES)){let o=(0,Ji.resolveUrl)(this.opts.uriResolver,e,n.$ref);r=fc.call(this,i,o)}let{schemaId:s}=this.opts;if(r=r||new Yr({schema:n,schemaId:s,root:i,baseId:e}),r.schema!==r.root.schema)return r}});var MO=v((tre,T$)=>{T$.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 Df=v((are,IO)=>{"use strict";var M$=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),Rf=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),k$=RegExp.prototype.test.bind(/^\d*$/u),Va=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),If=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),EO=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u),Wf=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u),E$=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u),ti=new Array(256);{let t="0123456789ABCDEF";for(let e=0;e<256;e++)ti[e]="%"+t[e>>4]+t[e&15]}function Dn(t){return t<2048?ti[192|t>>6]+ti[128|t&63]:t<65536?ti[224|t>>12]+ti[128|t>>6&63]+ti[128|t&63]:ti[240|t>>18]+ti[128|t>>12&63]+ti[128|t>>6&63]+ti[128|t&63]}function q$(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 _$=RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/),H$=RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/),R$=RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/),I$=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function W$(t){if(t.length===0)return!1;for(let e=0;en&&(n=a,e=i)):(i=-1,a=0);if(n<2)return t.join(":");let r=t.slice(0,e).join(":"),s=t.slice(e+n).join(":");return r+"::"+s}function z$(t){let e=t.indexOf("::");if(e!==-1&&t.indexOf("::",e+1)!==-1)return;let n=e===-1?t.split(":"):t.slice(0,e).split(":"),i=e===-1?[]:t.slice(e+2).split(":");e!==-1&&(n.length===1&&n[0]===""&&(n.length=0),i.length===1&&i[0]===""&&(i.length=0));let a=n.concat(i),r=0;for(let o=0;o=8)return;let s=a.slice(0,n.length);for(let o=r;o<8;o++)s.push("0");for(let o=n.length;oN$[i])}function _O(t,e=!1){if(t.indexOf("%")===-1)return t;let n="";for(let i=0;i57343)e+=Dn(a);else if(a<=56319&&n+1=56320&&r<=57343?(e+=Dn(65536+(a-55296<<10)+(r-56320)),n++):e+=Dn(65533)}else e+=Dn(65533)}}return e}function B$(t,e=!1){let n="",i=e&&t[0]!=="/";for(let a=0;a57343)n+=Dn(s);else if(s<=56319&&a+1=56320&&o<=57343?(n+=Dn(65536+(s-55296<<10)+(o-56320)),a++):n+=Dn(65533)}else n+=Dn(65533)}}return n}function zf(t,e){let n="";for(let i=0;i57343)n+=Dn(r);else if(r<=56319&&i+1=56320&&s<=57343?(n+=Dn(65536+(r-55296<<10)+(s-56320)),i++):n+=Dn(65533)}else n+=Dn(65533)}}return n}function HO(t){return zf(t,E$)}function F$(t){return zf(t,Wf)}function V$(t){return zf(t,Wf)}function RO(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===42||t===43||t===45||t===46||t===47||t===64||t===95}function J$(t){let e="";for(let n=0;n57343)e+=Dn(a);else if(a<=56319&&n+1=56320&&r<=57343?(e+=Dn(65536+(a-55296<<10)+(r-56320)),n++):e+=Dn(65533)}else e+=Dn(65533)}}return e}function Z$(t){let e="";for(let n=0;n{"use strict";var{isUUID:Q$}=Df(),Y$=/^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu,X$=["http","https","ws","wss","urn","urn:uuid"];function eL(t){return X$.indexOf(t)!==-1}function Gf(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 WO(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function zO(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 nL(t){return t.secure=Gf(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function iL(t){if((t.port===(Gf(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=t.resourceName.indexOf("?"),n=e===-1?t.resourceName:t.resourceName.slice(0,e);t.path=n&&n!=="/"?n:void 0,t.query=e===-1?void 0:t.resourceName.slice(e+1),t.resourceName=void 0}return t.fragment=void 0,t}function tL(t,e){if(!t.path)return t.error="URN can not be parsed",t;let n=t.path.match(Y$);if(n&&n[0]===t.path){let i=e.scheme||t.scheme||"urn";t.nid=n[1].toLowerCase(),t.nss=n[2];let a=`${i}:${e.nid||t.nid}`,r=Nf(a);t.path=void 0,r&&(t=r.parse(t,e))}else t.error=t.error||"URN can not be parsed.";return t}function aL(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=Nf(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 rL(t,e){let n=t;return n.uuid=n.nss,n.nss=void 0,!e.tolerant&&(!n.uuid||!Q$(n.uuid))&&(n.error=n.error||"UUID is not valid."),n}function sL(t){let e=t;return e.nss=(t.uuid||"").toLowerCase(),e}var DO={scheme:"http",domainHost:!0,parse:WO,serialize:zO},oL={scheme:"https",domainHost:DO.domainHost,parse:WO,serialize:zO},vc={scheme:"ws",domainHost:!0,parse:nL,serialize:iL},lL={scheme:"wss",domainHost:vc.domainHost,parse:vc.parse,serialize:vc.serialize},uL={scheme:"urn",parse:tL,serialize:aL,skipNormalize:!0},cL={scheme:"urn:uuid",parse:rL,serialize:sL,skipNormalize:!0},Cc={http:DO,https:oL,ws:vc,wss:lL,urn:uL,"urn:uuid":cL};Object.setPrototypeOf(Cc,null);function Nf(t){return t&&(Cc[t]||Cc[t.toLowerCase()])||void 0}GO.exports={wsIsSecure:Gf,SCHEMES:Cc,isValidSchemeName:eL,getSchemeHandler:Nf}});var nT=v((sre,xc)=>{"use strict";var{normalizeIPv6:FO,removeDotSegments:Go,recomposeAuthority:pL,normalizePercentEncoding:VO,normalizePathEncoding:dL,serializePathEncoding:UO,normalizeQueryFragmentEncoding:$O,encodeQuery:hL,encodeFragment:gL,reescapeHostDelimiters:mL,isIPv4:JO,nonSimpleDomain:fL}=Df(),{SCHEMES:ZO,getSchemeHandler:Uf}=NO(),KO=/^[A-Za-z][A-Za-z0-9+.-]*$/u,QO="URI scheme is malformed.";function LO(t){let e=unescape(String(t));if(!KO.test(e))throw new TypeError(QO);return e}function wL(t,e){return typeof t=="string"?t=jL(t,e):typeof t=="object"&&(t=bc(Ja(t,e),e)),t}function vL(t,e,n){let i=n?Object.assign({scheme:"null"},n):{scheme:"null"},{parsed:a,malformedAuthorityOrPort:r,malformedPercentEncoding:s,malformedSchemeSpecific:o,malformedHost:l,malformedScheme:c}=Ac(t,i),{parsed:u,malformedAuthorityOrPort:d,malformedPercentEncoding:h,malformedSchemeSpecific:g,malformedHost:p,malformedScheme:m}=Ac(e,i);if(r||d||s||h||o||g||l||p||c||m)throw new Error(a.error||u.error||"URI is malformed.");let f=YO(a,u,i,!0),w=Uf(n&&n.scheme||f.scheme),b=f.host,A=b!==void 0&&b!==""&&(JO(b)||FO(b).isIPV6);XO(f,n||{},w,A);let x=b&&b.indexOf("%")!==-1&&!new RegExp("\\P{ASCII}","u").test(b);if(f.error&&!x)throw new Error(f.error);return i.skipEscape=!0,Ja(f,i)}function YO(t,e,n,i){let a={};return i||(t=bc(Ja(t,n),n),e=bc(Ja(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=Go(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=Go(e.path||""),a.query=e.query):(e.path?(e.path[0]==="/"?a.path=Go(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=Go(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 CL(t,e,n){let i=BO(t,n),a=BO(e,n);return i!==void 0&&a!==void 0&&i===a}function Ja(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=[];n.scheme&&(n.scheme=LO(n.scheme));let r=Uf(i.scheme||n.scheme);r&&r.serialize&&r.serialize(n,i);let s=n.userinfo!==void 0||n.host!==void 0||n.port!==void 0,o=!i.skipEscape&&n.scheme===void 0&&!s;n.path!==void 0&&(i.skipEscape?n.path=VO(n.path):n.path=UO(n.path,o)),i.reference!=="suffix"&&n.scheme&&(n.scheme=LO(n.scheme),a.push(n.scheme,":"));let l=pL(n);if(l!==void 0&&(i.reference!=="suffix"&&a.push("//"),a.push(l),n.path&&n.path[0]!=="/"&&a.push("/")),n.path!==void 0){let c=n.path;!i.absolutePath&&(!r||!r.absolutePath)&&(c=Go(c)),o&&(c=UO(c,!0)),l===void 0&&c[0]==="/"&&c[1]==="/"&&(c="/%2F"+c.slice(2)),a.push(c)}return n.query!==void 0&&a.push("?",hL(n.query)),n.fragment!==void 0&&a.push("#",gL(n.fragment)),a.join("")}var AL=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u,bL=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/,xL=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function yL(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 Do(t){if(t===void 0)return!1;let e=t.indexOf("%");for(;e!==-1;){if(e+2>=t.length||!/^[\da-f]{2}$/iu.test(t.slice(e+1,e+3)))return!0;e=t.indexOf("%",e+3)}return!1}function $f(t){return t[0]==="["&&t[t.length-1]==="]"}function PL(t){let e=t[4];return Do(t[3])||e!==void 0&&!$f(e)&&Do(e)||Do(t[6])||Do(t[7])||Do(t[8])}function XO(t,e,n,i){if(!e.unicodeSupport&&(!n||!n.unicodeSupport)&&t.host&&!$f(t.host)&&(e.domainHost||n&&n.domainHost)&&i===!1&&fL(t.host))try{t.host=new URL("http://"+t.host).hostname}catch(a){return t.error=t.error||"Host's domain name can not be converted to ASCII: "+a,!0}return!1}function Ac(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,s=!1,o=!1,l=!1,c=!1,u=!1;n.reference==="suffix"&&(n.scheme?t=n.scheme+":"+t:t="//"+t);let d=t.match(bL);d!==null&&d[1].indexOf("\\")!==-1&&(i.error="URI authority must not contain a literal backslash.",a=!0);let h=t.match(xL);if(h!==null){let p=h[1],m=p.replace(/[\t\n\r]/g,"");m.length>=2&&(m.slice(0,2)!=="//"?(i.error=i.error||"URI authority must not contain a literal backslash.",a=!0):p.length!==m.length&&(i.error=i.error||"URI authority introducer must not contain whitespace.",a=!0))}let g=t.match(AL);if(g){if(i.scheme=g[1],i.userinfo=g[3],i.host=g[4],i.port=parseInt(g[5],10),i.path=g[6]||"",i.query=g[7],i.fragment=g[8],i.scheme!==void 0){let f=unescape(i.scheme);KO.test(f)?i.scheme=f.toLowerCase():(i.error=i.error||QO,c=!0)}r=PL(g),r&&(i.error=i.error||"URI contains malformed percent-encoding."),isNaN(i.port)&&(i.port=g[5]);let p=yL(i,g);if(p!==void 0&&(i.error=i.error||p,a=!0),i.host)if(JO(i.host)===!1){let w=$f(i.host),b=i.host.indexOf("[")!==-1||i.host.indexOf("]")!==-1,A=FO(i.host);u=A.isIPV6||A.isIPVFuture===!0,l=b&&(!w||A.error===!0),i.host=u?A.host:A.host.toLowerCase(),l&&(i.error=i.error||"URI host is malformed.",a=!0)}else u=!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 m=Uf(n.scheme||i.scheme);if(l||(o=XO(i,n,m,u)),!m||m&&!m.skipNormalize){if(t.indexOf("%")!==-1&&i.host!==void 0&&!l){let f=u?i.host:VO(i.host,!0);i.host=mL(f,u)}i.path&&(i.path=dL(i.path)),i.query&&(i.query=$O(i.query)),i.fragment&&(i.fragment=$O(i.fragment))}m&&m.parse&&(m.parse(i,n),m===ZO.urn&&i.nid===void 0&&(s=!0))}else i.error=i.error||"URI can not be parsed.";return{parsed:i,malformedAuthorityOrPort:a,malformedPercentEncoding:r,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:c}}function bc(t,e){return Ac(t,e).parsed}function jL(t,e){return eT(t,e).normalized}function eT(t,e){let{parsed:n,malformedAuthorityOrPort:i,malformedPercentEncoding:a,malformedSchemeSpecific:r,malformedHost:s,malformedScheme:o}=Ac(t,e);return{normalized:i||a||r||s||o?t:Ja(n,e),malformedAuthorityOrPort:i,malformedPercentEncoding:a,malformedSchemeSpecific:r,malformedHost:s,malformedScheme:o}}function BO(t,e){if(typeof t!="string"&&typeof t!="object")return;let n;try{n=typeof t=="string"?t:Ja(t,e)}catch{return}let{normalized:i,malformedAuthorityOrPort:a,malformedPercentEncoding:r,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:l}=eT(n,e);return a||r||s||o||l?void 0:i}var Lf={SCHEMES:ZO,normalize:wL,resolve:vL,resolveComponent:YO,equal:CL,serialize:Ja,parse:bc};xc.exports=Lf;xc.exports.default=Lf;xc.exports.fastUri=Lf});var tT=v(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});var iT=nT();iT.code='require("ajv/dist/runtime/uri").default';Bf.default=iT});var pT=v(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.CodeGen=Tn.Name=Tn.nil=Tn.stringify=Tn.str=Tn._=Tn.KeywordCxt=void 0;var SL=Wo();Object.defineProperty(Tn,"KeywordCxt",{enumerable:!0,get:function(){return SL.KeywordCxt}});var Xr=re();Object.defineProperty(Tn,"_",{enumerable:!0,get:function(){return Xr._}});Object.defineProperty(Tn,"str",{enumerable:!0,get:function(){return Xr.str}});Object.defineProperty(Tn,"stringify",{enumerable:!0,get:function(){return Xr.stringify}});Object.defineProperty(Tn,"nil",{enumerable:!0,get:function(){return Xr.nil}});Object.defineProperty(Tn,"Name",{enumerable:!0,get:function(){return Xr.Name}});Object.defineProperty(Tn,"CodeGen",{enumerable:!0,get:function(){return Xr.CodeGen}});var OL=mc(),lT=zo(),TL=gf(),No=wc(),ML=re(),Uo=Ho(),yc=_o(),Vf=be(),aT=MO(),kL=tT(),uT=(t,e)=>new RegExp(t,e);uT.code="new RegExp";var EL=["removeAdditional","useDefaults","coerceTypes"],qL=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),_L={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."},HL={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},rT=200;function RL(t){var e,n,i,a,r,s,o,l,c,u,d,h,g,p,m,f,w,b,A,x,S,q,$,ne,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=(i=(n=t.code)===null||n===void 0?void 0:n.regExp)!==null&&i!==void 0?i:uT,ge=(a=t.uriResolver)!==null&&a!==void 0?a:kL.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:(u=(c=t.strictTypes)!==null&&c!==void 0?c:M)!==null&&u!==void 0?u:"log",strictTuples:(h=(d=t.strictTuples)!==null&&d!==void 0?d:M)!==null&&h!==void 0?h:"log",strictRequired:(p=(g=t.strictRequired)!==null&&g!==void 0?g:M)!==null&&p!==void 0?p:!1,code:t.code?{...t.code,optimize:Pe,regExp:Oe}:{optimize:Pe,regExp:Oe},loopRequired:(m=t.loopRequired)!==null&&m!==void 0?m:rT,loopEnum:(f=t.loopEnum)!==null&&f!==void 0?f:rT,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:(x=t.schemaId)!==null&&x!==void 0?x:"$id",addUsedSchema:(S=t.addUsedSchema)!==null&&S!==void 0?S:!0,validateSchema:(q=t.validateSchema)!==null&&q!==void 0?q:!0,validateFormats:($=t.validateFormats)!==null&&$!==void 0?$:!0,unicodeRegExp:(ne=t.unicodeRegExp)!==null&&ne!==void 0?ne:!0,int32range:(K=t.int32range)!==null&&K!==void 0?K:!0,uriResolver:ge}}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,...RL(e)};let{es5:n,lines:i}=this.opts.code;this.scope=new ML.ValueScope({scope:{},prefixes:qL,es5:n,lines:i}),this.logger=NL(e.logger);let a=e.validateFormats;e.validateFormats=!1,this.RULES=(0,TL.getRules)(),sT.call(this,_L,e,"NOT SUPPORTED"),sT.call(this,HL,e,"DEPRECATED","warn"),this._metaOpts=DL.call(this),e.formats&&WL.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&zL.call(this,e.keywords),typeof e.meta=="object"&&this.addMetaSchema(e.meta),IL.call(this),e.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:n,schemaId:i}=this.opts,a=aT;i==="id"&&(a={...aT},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(u,d){await r.call(this,u.$schema);let h=this._addSchema(u,d);return h.validate||s.call(this,h)}async function r(u){u&&!this.getSchema(u)&&await a.call(this,{$ref:u},!0)}async function s(u){try{return this._compileSchemaEnv(u)}catch(d){if(!(d instanceof lT.default))throw d;return o.call(this,d),await l.call(this,d.missingSchema),s.call(this,u)}}function o({missingSchema:u,missingRef:d}){if(this.refs[u])throw new Error(`AnySchema ${u} is loaded but ${d} cannot be resolved`)}async function l(u){let d=await c.call(this,u);this.refs[u]||await r.call(this,d.$schema),this.refs[u]||this.addSchema(d,u,n)}async function c(u){let d=this._loading[u];if(d)return d;try{return await(this._loading[u]=i(u))}finally{delete this._loading[u]}}}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,Uo.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=oT.call(this,e))=="string";)e=n;if(n===void 0){let{schemaId:i}=this.opts,a=new No.SchemaEnv({schema:{},schemaId:i});if(n=No.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=oT.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,Uo.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($L.call(this,i,n),!n)return(0,Vf.eachItem)(i,r=>Ff.call(this,r)),this;BL.call(this,n);let a={...n,type:(0,yc.getJSONTypes)(n.type),schemaType:(0,yc.getJSONTypes)(n.schemaType)};return(0,Vf.eachItem)(i,a.type.length===0?r=>Ff.call(this,r,a):r=>a.type.forEach(s=>Ff.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:c}=l.definition,u=s[o];c&&u&&(s[o]=cT(u))}}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,Uo.normalizeId)(s||i);let c=Uo.getSchemaRefs.call(this,e,i);return l=new No.SchemaEnv({schema:e,schemaId:o,meta:n,baseId:i,localRefs:c}),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):No.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{No.compileSchema.call(this,e)}finally{this.opts=n}}};$o.ValidationError=OL.default;$o.MissingRefError=lT.default;Tn.default=$o;function sT(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 oT(t){return t=(0,Uo.normalizeId)(t),this.schemas[t]||this.refs[t]}function IL(){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 WL(){for(let t in this.opts.formats){let e=this.opts.formats[t];e&&this.addFormat(t,e)}}function zL(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 DL(){let t={...this.opts};for(let e of EL)delete t[e];return t}var GL={log(){},warn(){},error(){}};function NL(t){if(t===!1)return GL;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 UL=/^[a-z_$][a-z0-9_$:-]*$/i;function $L(t,e){let{RULES:n}=this;if((0,Vf.eachItem)(t,i=>{if(n.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!UL.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 Ff(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,yc.getJSONTypes)(e.type),schemaType:(0,yc.getJSONTypes)(e.schemaType)}};e.before?LL.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 LL(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 BL(t){let{metaSchema:e}=t;e!==void 0&&(t.$data&&this.opts.$data&&(e=cT(e)),t.validateSchema=this.compile(e,!0))}var FL={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function cT(t){return{anyOf:[t,FL]}}});var dT=v(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});var VL={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Jf.default=VL});var fT=v(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.callRef=Za.getValidate=void 0;var JL=zo(),hT=Ri(),ai=re(),es=Tt(),gT=wc(),Pc=be(),ZL={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:c}=r;if((n==="#"||n==="#/")&&a===c.baseId)return d();let u=gT.resolveRef.call(l,c,a,n);if(u===void 0)throw new JL.default(i.opts.uriResolver,a,n);if(u instanceof gT.SchemaEnv)return h(u);return g(u);function d(){if(r===c)return jc(t,s,r,r.$async);let p=e.scopeValue("root",{ref:c});return jc(t,(0,ai._)`${p}.validate`,c,c.$async)}function h(p){let m=mT(t,p);jc(t,m,p,p.$async)}function g(p){let m=e.scopeValue("schema",o.code.source===!0?{ref:p,code:(0,ai.stringify)(p)}:{ref:p}),f=e.name("valid"),w=t.subschema({schema:p,dataTypes:[],schemaPath:ai.nil,topSchemaRef:m,errSchemaPath:n},f);t.mergeEvaluated(w),t.ok(f)}}};function mT(t,e){let{gen:n}=t;return e.validate?n.scopeValue("validate",{ref:e.validate}):(0,ai._)`${n.scopeValue("wrapper",{ref:e})}.validate`}Za.getValidate=mT;function jc(t,e,n,i){let{gen:a,it:r}=t,{allErrors:s,schemaEnv:o,opts:l}=r,c=l.passContext?es.default.this:ai.nil;i?u():d();function u(){if(!o.$async)throw new Error("async schema referenced by sync schema");let p=a.let("valid");a.try(()=>{a.code((0,ai._)`await ${(0,hT.callValidateCode)(t,e,c)}`),g(e),s||a.assign(p,!0)},m=>{a.if((0,ai._)`!(${m} instanceof ${r.ValidationError})`,()=>a.throw(m)),h(m),s||a.assign(p,!1)}),t.ok(p)}function d(){t.result((0,hT.callValidateCode)(t,e,c),()=>g(e),()=>h(e))}function h(p){let m=(0,ai._)`${p}.errors`;a.assign(es.default.vErrors,(0,ai._)`${es.default.vErrors} === null ? ${m} : ${es.default.vErrors}.concat(${m})`),a.assign(es.default.errors,(0,ai._)`${es.default.vErrors}.length`)}function g(p){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=Pc.mergeEvaluated.props(a,f.props,r.props));else{let w=a.var("props",(0,ai._)`${p}.evaluated.props`);r.props=Pc.mergeEvaluated.props(a,w,r.props,ai.Name)}if(r.items!==!0)if(f&&!f.dynamicItems)f.items!==void 0&&(r.items=Pc.mergeEvaluated.items(a,f.items,r.items));else{let w=a.var("items",(0,ai._)`${p}.evaluated.items`);r.items=Pc.mergeEvaluated.items(a,w,r.items,ai.Name)}}}Za.callRef=jc;Za.default=ZL});var wT=v(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});var KL=dT(),QL=fT(),YL=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",KL.default,QL.default];Zf.default=YL});var vT=v(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});var Sc=re(),ia=Sc.operators,Oc={maximum:{okStr:"<=",ok:ia.LTE,fail:ia.GT},minimum:{okStr:">=",ok:ia.GTE,fail:ia.LT},exclusiveMaximum:{okStr:"<",ok:ia.LT,fail:ia.GTE},exclusiveMinimum:{okStr:">",ok:ia.GT,fail:ia.LTE}},XL={message:({keyword:t,schemaCode:e})=>(0,Sc.str)`must be ${Oc[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,Sc._)`{comparison: ${Oc[t].okStr}, limit: ${e}}`},eB={keyword:Object.keys(Oc),type:"number",schemaType:"number",$data:!0,error:XL,code(t){let{keyword:e,data:n,schemaCode:i}=t;t.fail$data((0,Sc._)`${n} ${Oc[e].fail} ${i} || isNaN(${n})`)}};Kf.default=eB});var CT=v(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});var Lo=re(),nB={message:({schemaCode:t})=>(0,Lo.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,Lo._)`{multipleOf: ${t}}`},iB={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:nB,code(t){let{gen:e,data:n,schemaCode:i,it:a}=t,r=a.opts.multipleOfPrecision,s=e.let("res"),o=r?(0,Lo._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${r}`:(0,Lo._)`${s} !== parseInt(${s})`;t.fail$data((0,Lo._)`(${i} === 0 || (${s} = ${n}/${i}, ${o}))`)}};Qf.default=iB});var bT=v(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});function AT(t){let e=t.length,n=0,i=0,a;for(;i=55296&&a<=56319&&i{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});var Ka=re(),tB=be(),aB=bT(),rB={message({keyword:t,schemaCode:e}){let n=t==="maxLength"?"more":"fewer";return(0,Ka.str)`must NOT have ${n} than ${e} characters`},params:({schemaCode:t})=>(0,Ka._)`{limit: ${t}}`},sB={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:rB,code(t){let{keyword:e,data:n,schemaCode:i,it:a}=t,r=e==="maxLength"?Ka.operators.GT:Ka.operators.LT,s=a.opts.unicode===!1?(0,Ka._)`${n}.length`:(0,Ka._)`${(0,tB.useFunc)(t.gen,aB.default)}(${n})`;t.fail$data((0,Ka._)`${s} ${r} ${i}`)}};Xf.default=sB});var yT=v(ew=>{"use strict";Object.defineProperty(ew,"__esModule",{value:!0});var oB=Ri(),lB=be(),ns=re(),uB={message:({schemaCode:t})=>(0,ns.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,ns._)`{pattern: ${t}}`},cB={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:uB,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,c=l.code==="new RegExp"?(0,ns._)`new RegExp`:(0,lB.useFunc)(e,l),u=e.let("valid");e.try(()=>e.assign(u,(0,ns._)`${c}(${r}, ${o}).test(${n})`),()=>e.assign(u,!1)),t.fail$data((0,ns._)`!${u}`)}else{let l=(0,oB.usePattern)(t,a);t.fail$data((0,ns._)`!${l}.test(${n})`)}}};ew.default=cB});var PT=v(nw=>{"use strict";Object.defineProperty(nw,"__esModule",{value:!0});var Bo=re(),pB={message({keyword:t,schemaCode:e}){let n=t==="maxProperties"?"more":"fewer";return(0,Bo.str)`must NOT have ${n} than ${e} properties`},params:({schemaCode:t})=>(0,Bo._)`{limit: ${t}}`},dB={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:pB,code(t){let{keyword:e,data:n,schemaCode:i}=t,a=e==="maxProperties"?Bo.operators.GT:Bo.operators.LT;t.fail$data((0,Bo._)`Object.keys(${n}).length ${a} ${i}`)}};nw.default=dB});var jT=v(iw=>{"use strict";Object.defineProperty(iw,"__esModule",{value:!0});var Fo=Ri(),Vo=re(),hB=be(),gB={message:({params:{missingProperty:t}})=>(0,Vo.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,Vo._)`{missingProperty: ${t}}`},mB={keyword:"required",type:"object",schemaType:"array",$data:!0,error:gB,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?c():u(),o.strictRequired){let g=t.parentSchema.properties,{definedProperties:p}=t.it;for(let m of n)if(g?.[m]===void 0&&!p.has(m)){let f=s.schemaEnv.baseId+s.errSchemaPath,w=`required property "${m}" is not defined at "${f}" (strictRequired)`;(0,hB.checkStrictMode)(s,w,s.opts.strictRequired)}}function c(){if(l||r)t.block$data(Vo.nil,d);else for(let g of n)(0,Fo.checkReportMissingProp)(t,g)}function u(){let g=e.let("missing");if(l||r){let p=e.let("valid",!0);t.block$data(p,()=>h(g,p)),t.ok(p)}else e.if((0,Fo.checkMissingProp)(t,n,g)),(0,Fo.reportMissingProp)(t,g),e.else()}function d(){e.forOf("prop",i,g=>{t.setParams({missingProperty:g}),e.if((0,Fo.noPropertyInData)(e,a,g,o.ownProperties),()=>t.error())})}function h(g,p){t.setParams({missingProperty:g}),e.forOf(g,i,()=>{e.assign(p,(0,Fo.propertyInData)(e,a,g,o.ownProperties)),e.if((0,Vo.not)(p),()=>{t.error(),e.break()})},Vo.nil)}}};iw.default=mB});var ST=v(tw=>{"use strict";Object.defineProperty(tw,"__esModule",{value:!0});var Jo=re(),fB={message({keyword:t,schemaCode:e}){let n=t==="maxItems"?"more":"fewer";return(0,Jo.str)`must NOT have ${n} than ${e} items`},params:({schemaCode:t})=>(0,Jo._)`{limit: ${t}}`},wB={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:fB,code(t){let{keyword:e,data:n,schemaCode:i}=t,a=e==="maxItems"?Jo.operators.GT:Jo.operators.LT;t.fail$data((0,Jo._)`${n}.length ${a} ${i}`)}};tw.default=wB});var Tc=v(aw=>{"use strict";Object.defineProperty(aw,"__esModule",{value:!0});var OT=xf();OT.code='require("ajv/dist/runtime/equal").default';aw.default=OT});var TT=v(sw=>{"use strict";Object.defineProperty(sw,"__esModule",{value:!0});var rw=_o(),Mn=re(),vB=be(),CB=Tc(),AB={message:({params:{i:t,j:e}})=>(0,Mn.str)`must NOT have duplicate items (items ## ${e} and ${t} are identical)`,params:({params:{i:t,j:e}})=>(0,Mn._)`{i: ${t}, j: ${e}}`},bB={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:AB,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"),c=r.items?(0,rw.getSchemaTypes)(r.items):[];t.block$data(l,u,(0,Mn._)`${s} === false`),t.ok(l);function u(){let p=e.let("i",(0,Mn._)`${n}.length`),m=e.let("j");t.setParams({i:p,j:m}),e.assign(l,!0),e.if((0,Mn._)`${p} > 1`,()=>(d()?h:g)(p,m))}function d(){return c.length>0&&!c.some(p=>p==="object"||p==="array")}function h(p,m){let f=e.name("item"),w=(0,rw.checkDataTypes)(c,f,o.opts.strictNumbers,rw.DataType.Wrong),b=e.const("indices",(0,Mn._)`{}`);e.for((0,Mn._)`;${p}--;`,()=>{e.let(f,(0,Mn._)`${n}[${p}]`),e.if(w,(0,Mn._)`continue`),c.length>1&&e.if((0,Mn._)`typeof ${f} == "string"`,(0,Mn._)`${f} += "_"`),e.if((0,Mn._)`typeof ${b}[${f}] == "number"`,()=>{e.assign(m,(0,Mn._)`${b}[${f}]`),t.error(),e.assign(l,!1).break()}).code((0,Mn._)`${b}[${f}] = ${p}`)})}function g(p,m){let f=(0,vB.useFunc)(e,CB.default),w=e.name("outer");e.label(w).for((0,Mn._)`;${p}--;`,()=>e.for((0,Mn._)`${m} = ${p}; ${m}--;`,()=>e.if((0,Mn._)`${f}(${n}[${p}], ${n}[${m}])`,()=>{t.error(),e.assign(l,!1).break(w)})))}}};sw.default=bB});var MT=v(lw=>{"use strict";Object.defineProperty(lw,"__esModule",{value:!0});var ow=re(),xB=be(),yB=Tc(),PB={message:"must be equal to constant",params:({schemaCode:t})=>(0,ow._)`{allowedValue: ${t}}`},jB={keyword:"const",$data:!0,error:PB,code(t){let{gen:e,data:n,$data:i,schemaCode:a,schema:r}=t;i||r&&typeof r=="object"?t.fail$data((0,ow._)`!${(0,xB.useFunc)(e,yB.default)}(${n}, ${a})`):t.fail((0,ow._)`${r} !== ${n}`)}};lw.default=jB});var kT=v(uw=>{"use strict";Object.defineProperty(uw,"__esModule",{value:!0});var Zo=re(),SB=be(),OB=Tc(),TB={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,Zo._)`{allowedValues: ${t}}`},MB={keyword:"enum",schemaType:"array",$data:!0,error:TB,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,c=()=>l??(l=(0,SB.useFunc)(e,OB.default)),u;if(o||i)u=e.let("valid"),t.block$data(u,d);else{if(!Array.isArray(a))throw new Error("ajv implementation error");let g=e.const("vSchema",r);u=(0,Zo.or)(...a.map((p,m)=>h(g,m)))}t.pass(u);function d(){e.assign(u,!1),e.forOf("v",r,g=>e.if((0,Zo._)`${c()}(${n}, ${g})`,()=>e.assign(u,!0).break()))}function h(g,p){let m=a[p];return typeof m=="object"&&m!==null?(0,Zo._)`${c()}(${n}, ${g}[${p}])`:(0,Zo._)`${n} === ${m}`}}};uw.default=MB});var ET=v(cw=>{"use strict";Object.defineProperty(cw,"__esModule",{value:!0});var kB=vT(),EB=CT(),qB=xT(),_B=yT(),HB=PT(),RB=jT(),IB=ST(),WB=TT(),zB=MT(),DB=kT(),GB=[kB.default,EB.default,qB.default,_B.default,HB.default,RB.default,IB.default,WB.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},zB.default,DB.default];cw.default=GB});var dw=v(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.validateAdditionalItems=void 0;var Qa=re(),pw=be(),NB={message:({params:{len:t}})=>(0,Qa.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,Qa._)`{limit: ${t}}`},UB={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:NB,code(t){let{parentSchema:e,it:n}=t,{items:i}=e;if(!Array.isArray(i)){(0,pw.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas');return}qT(t,i)}};function qT(t,e){let{gen:n,schema:i,data:a,keyword:r,it:s}=t;s.items=!0;let o=n.const("len",(0,Qa._)`${a}.length`);if(i===!1)t.setParams({len:e.length}),t.pass((0,Qa._)`${o} <= ${e.length}`);else if(typeof i=="object"&&!(0,pw.alwaysValidSchema)(s,i)){let c=n.var("valid",(0,Qa._)`${o} <= ${e.length}`);n.if((0,Qa.not)(c),()=>l(c)),t.ok(c)}function l(c){n.forRange("i",e.length,o,u=>{t.subschema({keyword:r,dataProp:u,dataPropType:pw.Type.Num},c),s.allErrors||n.if((0,Qa.not)(c),()=>n.break())})}}Ko.validateAdditionalItems=qT;Ko.default=UB});var hw=v(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.validateTuple=void 0;var _T=re(),Mc=be(),$B=Ri(),LB={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:e,it:n}=t;if(Array.isArray(e))return HT(t,"additionalItems",e);n.items=!0,!(0,Mc.alwaysValidSchema)(n,e)&&t.ok((0,$B.validateArray)(t))}};function HT(t,e,n=t.schema){let{gen:i,parentSchema:a,data:r,keyword:s,it:o}=t;u(a),o.opts.unevaluated&&n.length&&o.items!==!0&&(o.items=Mc.mergeEvaluated.items(i,n.length,o.items));let l=i.name("valid"),c=i.const("len",(0,_T._)`${r}.length`);n.forEach((d,h)=>{(0,Mc.alwaysValidSchema)(o,d)||(i.if((0,_T._)`${c} > ${h}`,()=>t.subschema({keyword:s,schemaProp:h,dataProp:h},l)),t.ok(l))});function u(d){let{opts:h,errSchemaPath:g}=o,p=n.length,m=p===d.minItems&&(p===d.maxItems||d[e]===!1);if(h.strictTuples&&!m){let f=`"${s}" is ${p}-tuple, but minItems or maxItems/${e} are not specified or different at path "${g}"`;(0,Mc.checkStrictMode)(o,f,h.strictTuples)}}}Qo.validateTuple=HT;Qo.default=LB});var RT=v(gw=>{"use strict";Object.defineProperty(gw,"__esModule",{value:!0});var BB=hw(),FB={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,BB.validateTuple)(t,"items")};gw.default=FB});var WT=v(mw=>{"use strict";Object.defineProperty(mw,"__esModule",{value:!0});var IT=re(),VB=be(),JB=Ri(),ZB=dw(),KB={message:({params:{len:t}})=>(0,IT.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,IT._)`{limit: ${t}}`},QB={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:KB,code(t){let{schema:e,parentSchema:n,it:i}=t,{prefixItems:a}=n;i.items=!0,!(0,VB.alwaysValidSchema)(i,e)&&(a?(0,ZB.validateAdditionalItems)(t,a):t.ok((0,JB.validateArray)(t)))}};mw.default=QB});var zT=v(fw=>{"use strict";Object.defineProperty(fw,"__esModule",{value:!0});var Wi=re(),kc=be(),YB={message:({params:{min:t,max:e}})=>e===void 0?(0,Wi.str)`must contain at least ${t} valid item(s)`:(0,Wi.str)`must contain at least ${t} and no more than ${e} valid item(s)`,params:({params:{min:t,max:e}})=>e===void 0?(0,Wi._)`{minContains: ${t}}`:(0,Wi._)`{minContains: ${t}, maxContains: ${e}}`},XB={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:YB,code(t){let{gen:e,schema:n,parentSchema:i,data:a,it:r}=t,s,o,{minContains:l,maxContains:c}=i;r.opts.next?(s=l===void 0?1:l,o=c):s=1;let u=e.const("len",(0,Wi._)`${a}.length`);if(t.setParams({min:s,max:o}),o===void 0&&s===0){(0,kc.checkStrictMode)(r,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&s>o){(0,kc.checkStrictMode)(r,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,kc.alwaysValidSchema)(r,n)){let m=(0,Wi._)`${u} >= ${s}`;o!==void 0&&(m=(0,Wi._)`${m} && ${u} <= ${o}`),t.pass(m);return}r.items=!0;let d=e.name("valid");o===void 0&&s===1?g(d,()=>e.if(d,()=>e.break())):s===0?(e.let(d,!0),o!==void 0&&e.if((0,Wi._)`${a}.length > 0`,h)):(e.let(d,!1),h()),t.result(d,()=>t.reset());function h(){let m=e.name("_valid"),f=e.let("count",0);g(m,()=>e.if(m,()=>p(f)))}function g(m,f){e.forRange("i",0,u,w=>{t.subschema({keyword:"contains",dataProp:w,dataPropType:kc.Type.Num,compositeRule:!0},m),f()})}function p(m){e.code((0,Wi._)`${m}++`),o===void 0?e.if((0,Wi._)`${m} >= ${s}`,()=>e.assign(d,!0).break()):(e.if((0,Wi._)`${m} > ${o}`,()=>e.assign(d,!1).break()),s===1?e.assign(d,!0):e.if((0,Wi._)`${m} >= ${s}`,()=>e.assign(d,!0)))}}};fw.default=XB});var NT=v(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.validateSchemaDeps=ut.validatePropertyDeps=ut.error=void 0;var ww=re(),eF=be(),Yo=Ri();ut.error={message:({params:{property:t,depsCount:e,deps:n}})=>{let i=e===1?"property":"properties";return(0,ww.str)`must have ${i} ${n} when property ${t} is present`},params:({params:{property:t,depsCount:e,deps:n,missingProperty:i}})=>(0,ww._)`{property: ${t}, +"use strict";var iz=Object.create;var zh=Object.defineProperty;var tz=Object.getOwnPropertyDescriptor;var az=Object.getOwnPropertyNames;var rz=Object.getPrototypeOf,sz=Object.prototype.hasOwnProperty;var v=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(n){throw e=0,n}},Dh=(t,e)=>{for(var n in e)zh(t,n,{get:e[n],enumerable:!0})},oz=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of az(e))!sz.call(t,a)&&a!==n&&zh(t,a,{get:()=>e[a],enumerable:!(i=tz(e,a))||i.enumerable});return t};var zr=(t,e,n)=>(n=t!=null?iz(rz(t)):{},oz(e||!t||!t.__esModule?zh(n,"default",{value:t,enumerable:!0}):n,t));var Ko=v(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.regexpCode=Se.getEsmExportName=Se.getProperty=Se.safeStringify=Se.stringify=Se.strConcat=Se.addCodeArg=Se.str=Se._=Se.nil=Se._Code=Se.Name=Se.IDENTIFIER=Se._CodeOrName=void 0;var Vo=class{};Se._CodeOrName=Vo;Se.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Xa=class extends Vo{constructor(e){if(super(),!Se.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}}};Se.Name=Xa;var Ni=class extends Vo{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 Xa&&(n[i.str]=(n[i.str]||0)+1),n),{})}};Se._Code=Ni;Se.nil=new Ni("");function hT(t,...e){let n=[t[0]],i=0;for(;i{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.ValueScope=li.ValueScopeName=li.Scope=li.varKinds=li.UsedValueState=void 0;var oi=Ko(),tw=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},Fc;(function(t){t[t.Started=0]="Started",t[t.Completed=1]="Completed"})(Fc||(li.UsedValueState=Fc={}));li.varKinds={const:new oi.Name("const"),let:new oi.Name("let"),var:new oi.Name("var")};var Vc=class{constructor({prefixes:e,parent:n}={}){this._names={},this._prefixes=e,this._parent=n}toName(e){return e instanceof oi.Name?e:this.name(e)}name(e){return new oi.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}}};li.Scope=Vc;var Jc=class extends oi.Name{constructor(e,n){super(n),this.prefix=e}setValue(e,{property:n,itemIndex:i}){this.value=e,this.scopePath=(0,oi._)`.${new oi.Name(n)}[${i}]`}};li.ValueScopeName=Jc;var hB=(0,oi._)`\n`,aw=class extends Vc{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?hB:oi.nil}}get(){return this._scope}name(e){return new Jc(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 u=o.get(s);if(u)return u}else o=this._values[r]=new Map;o.set(s,a);let l=this._scope[r]||(this._scope[r]=[]),c=l.length;return l[c]=n.ref,a.setValue(n,{property:r,itemIndex:c}),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,oi._)`${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=oi.nil;for(let s in e){let o=e[s];if(!o)continue;let l=i[s]=i[s]||new Map;o.forEach(c=>{if(l.has(c))return;l.set(c,Fc.Started);let u=n(c);if(u){let p=this.opts.es5?li.varKinds.var:li.varKinds.const;r=(0,oi._)`${r}${p} ${c} = ${u};${this.opts._n}`}else if(u=a?.(c))r=(0,oi._)`${r}${u}${this.opts._n}`;else throw new tw(c);l.set(c,Fc.Completed)})}return r}};li.ValueScope=aw});var se=v(oe=>{"use strict";Object.defineProperty(oe,"__esModule",{value:!0});oe.or=oe.and=oe.not=oe.CodeGen=oe.operators=oe.varKinds=oe.ValueScopeName=oe.ValueScope=oe.Scope=oe.Name=oe.regexpCode=oe.stringify=oe.getProperty=oe.nil=oe.strConcat=oe.str=oe._=void 0;var ve=Ko(),nt=rw(),ua=Ko();Object.defineProperty(oe,"_",{enumerable:!0,get:function(){return ua._}});Object.defineProperty(oe,"str",{enumerable:!0,get:function(){return ua.str}});Object.defineProperty(oe,"strConcat",{enumerable:!0,get:function(){return ua.strConcat}});Object.defineProperty(oe,"nil",{enumerable:!0,get:function(){return ua.nil}});Object.defineProperty(oe,"getProperty",{enumerable:!0,get:function(){return ua.getProperty}});Object.defineProperty(oe,"stringify",{enumerable:!0,get:function(){return ua.stringify}});Object.defineProperty(oe,"regexpCode",{enumerable:!0,get:function(){return ua.regexpCode}});Object.defineProperty(oe,"Name",{enumerable:!0,get:function(){return ua.Name}});var Yc=rw();Object.defineProperty(oe,"Scope",{enumerable:!0,get:function(){return Yc.Scope}});Object.defineProperty(oe,"ValueScope",{enumerable:!0,get:function(){return Yc.ValueScope}});Object.defineProperty(oe,"ValueScopeName",{enumerable:!0,get:function(){return Yc.ValueScopeName}});Object.defineProperty(oe,"varKinds",{enumerable:!0,get:function(){return Yc.varKinds}});oe.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 Nt=class{optimizeNodes(){return this}optimizeNames(e,n){return this}},sw=class extends Nt{constructor(e,n,i){super(),this.varKind=e,this.name=n,this.rhs=i}render({es5:e,_n:n}){let i=e?nt.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=ds(this.rhs,e,n)),this}get names(){return this.rhs instanceof ve._CodeOrName?this.rhs.names:{}}},Kc=class extends Nt{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 ve.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=ds(this.rhs,e,n),this}get names(){let e=this.lhs instanceof ve.Name?{}:{...this.lhs.names};return Qc(e,this.rhs)}},ow=class extends Kc{constructor(e,n,i,a){super(e,i,a),this.op=n}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},lw=class extends Nt{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},uw=class extends Nt{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}},cw=class extends Nt{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},pw=class extends Nt{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=ds(this.code,e,n),this}get names(){return this.code instanceof ve._CodeOrName?this.code.names:{}}},Zo=class extends Nt{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)||(gB(e,r.names),i.splice(a,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((e,n)=>ir(e,n.names),{})}},Ut=class extends Zo{render(e){return"{"+e._n+super.render(e)+"}"+e._n}},dw=class extends Zo{},ps=class extends Ut{};ps.kind="else";var er=class t extends Ut{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 ps(i):i}if(n)return e===!1?n instanceof t?n:n.nodes:this.nodes.length?this:new t(mT(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=ds(this.condition,e,n),this}get names(){let e=super.names;return Qc(e,this.condition),this.else&&ir(e,this.else.names),e}};er.kind="if";var nr=class extends Ut{};nr.kind="for";var hw=class extends nr{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=ds(this.iteration,e,n),this}get names(){return ir(super.names,this.iteration.names)}},gw=class extends nr{constructor(e,n,i,a){super(),this.varKind=e,this.name=n,this.from=i,this.to=a}render(e){let n=e.es5?nt.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=Qc(super.names,this.from);return Qc(e,this.to)}},Zc=class extends nr{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=ds(this.iterable,e,n),this}get names(){return ir(super.names,this.iterable.names)}},Qo=class extends Ut{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)}};Qo.kind="func";var Yo=class extends Zo{render(e){return"return "+super.render(e)}};Yo.kind="return";var mw=class extends Ut{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&&ir(e,this.catch.names),this.finally&&ir(e,this.finally.names),e}},Xo=class extends Ut{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};Xo.kind="catch";var el=class extends Ut{render(e){return"finally"+super.render(e)}};el.kind="finally";var fw=class{constructor(e,n={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...n,_n:n.lines?` +`:""},this._extScope=e,this._scope=new nt.Scope({parent:e}),this._nodes=[new dw]}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 sw(e,r,i)),r}const(e,n,i){return this._def(nt.varKinds.const,e,n,i)}let(e,n,i){return this._def(nt.varKinds.let,e,n,i)}var(e,n,i){return this._def(nt.varKinds.var,e,n,i)}assign(e,n,i){return this._leafNode(new Kc(e,n,i))}add(e,n){return this._leafNode(new ow(e,oe.operators.ADD,n))}code(e){return typeof e=="function"?e():e!==ve.nil&&this._leafNode(new pw(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,ve.addCodeArg)(n,a));return n.push("}"),new ve._Code(n)}if(e,n,i){if(this._blockNode(new er(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 er(e))}else(){return this._elseNode(new ps)}endIf(){return this._endBlockNode(er,ps)}_for(e,n){return this._blockNode(e),n&&this.code(n).endFor(),this}for(e,n){return this._for(new hw(e),n)}forRange(e,n,i,a,r=this.opts.es5?nt.varKinds.var:nt.varKinds.let){let s=this._scope.toName(e);return this._for(new gw(r,s,n,i),()=>a(s))}forOf(e,n,i,a=nt.varKinds.const){let r=this._scope.toName(e);if(this.opts.es5){let s=n instanceof ve.Name?n:this.var("_arr",n);return this.forRange("_i",0,(0,ve._)`${s}.length`,o=>{this.var(r,(0,ve._)`${s}[${o}]`),i(r)})}return this._for(new Zc("of",a,r,n),()=>i(r))}forIn(e,n,i,a=this.opts.es5?nt.varKinds.var:nt.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,ve._)`Object.keys(${n})`,i);let r=this._scope.toName(e);return this._for(new Zc("in",a,r,n),()=>i(r))}endFor(){return this._endBlockNode(nr)}label(e){return this._leafNode(new lw(e))}break(e){return this._leafNode(new uw(e))}return(e){let n=new Yo;if(this._blockNode(n),this.code(e),n.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Yo)}try(e,n,i){if(!n&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let a=new mw;if(this._blockNode(a),this.code(e),n){let r=this.name("e");this._currNode=a.catch=new Xo(r),n(r)}return i&&(this._currNode=a.finally=new el,this.code(i)),this._endBlockNode(Xo,el)}throw(e){return this._leafNode(new cw(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=ve.nil,i,a){return this._blockNode(new Qo(e,n,i)),a&&this.code(a).endFunc(),this}endFunc(){return this._endBlockNode(Qo)}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 er))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}};oe.CodeGen=fw;function ir(t,e){for(let n in e)t[n]=(t[n]||0)+(e[n]||0);return t}function Qc(t,e){return e instanceof ve._CodeOrName?ir(t,e.names):t}function ds(t,e,n){if(t instanceof ve.Name)return i(t);if(!a(t))return t;return new ve._Code(t._items.reduce((r,s)=>(s instanceof ve.Name&&(s=i(s)),s instanceof ve._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 ve._Code&&r._items.some(s=>s instanceof ve.Name&&e[s.str]===1&&n[s.str]!==void 0)}}function gB(t,e){for(let n in e)t[n]=(t[n]||0)-(e[n]||0)}function mT(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,ve._)`!${ww(t)}`}oe.not=mT;var mB=fT(oe.operators.AND);function fB(...t){return t.reduce(mB)}oe.and=fB;var wB=fT(oe.operators.OR);function vB(...t){return t.reduce(wB)}oe.or=vB;function fT(t){return(e,n)=>e===ve.nil?n:n===ve.nil?e:(0,ve._)`${ww(e)} ${t} ${ww(n)}`}function ww(t){return t instanceof ve.Name?t:(0,ve._)`(${t})`}});var be=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 De=se(),CB=Ko();function AB(t){let e={};for(let n of t)e[n]=!0;return e}ue.toHash=AB;function bB(t,e){return typeof e=="boolean"?e:Object.keys(e).length===0?!0:(CT(t,e),!AT(e,t.self.RULES.all))}ue.alwaysValidSchema=bB;function CT(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]||yT(t,`unknown keyword: "${r}"`)}ue.checkUnknownRules=CT;function AT(t,e){if(typeof t=="boolean")return!t;for(let n in t)if(e[n])return!0;return!1}ue.schemaHasRules=AT;function xB(t,e){if(typeof t=="boolean")return!t;for(let n in t)if(n!=="$ref"&&e.all[n])return!0;return!1}ue.schemaHasRulesButRef=xB;function yB({topSchemaRef:t,schemaPath:e},n,i,a){if(!a){if(typeof n=="number"||typeof n=="boolean")return n;if(typeof n=="string")return(0,De._)`${n}`}return(0,De._)`${t}${e}${(0,De.getProperty)(i)}`}ue.schemaRefOrVal=yB;function PB(t){return bT(decodeURIComponent(t))}ue.unescapeFragment=PB;function jB(t){return encodeURIComponent(Cw(t))}ue.escapeFragment=jB;function Cw(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}ue.escapeJsonPointer=Cw;function bT(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}ue.unescapeJsonPointer=bT;function SB(t,e){if(Array.isArray(t))for(let n of t)e(n);else e(t)}ue.eachItem=SB;function wT({mergeNames:t,mergeToName:e,mergeValues:n,resultToName:i}){return(a,r,s,o)=>{let l=s===void 0?r:s instanceof De.Name?(r instanceof De.Name?t(a,r,s):e(a,r,s),s):r instanceof De.Name?(e(a,s,r),r):n(r,s);return o===De.Name&&!(l instanceof De.Name)?i(a,l):l}}ue.mergeEvaluated={props:wT({mergeNames:(t,e,n)=>t.if((0,De._)`${n} !== true && ${e} !== undefined`,()=>{t.if((0,De._)`${e} === true`,()=>t.assign(n,!0),()=>t.assign(n,(0,De._)`${n} || {}`).code((0,De._)`Object.assign(${n}, ${e})`))}),mergeToName:(t,e,n)=>t.if((0,De._)`${n} !== true`,()=>{e===!0?t.assign(n,!0):(t.assign(n,(0,De._)`${n} || {}`),Aw(t,n,e))}),mergeValues:(t,e)=>t===!0?!0:{...t,...e},resultToName:xT}),items:wT({mergeNames:(t,e,n)=>t.if((0,De._)`${n} !== true && ${e} !== undefined`,()=>t.assign(n,(0,De._)`${e} === true ? true : ${n} > ${e} ? ${n} : ${e}`)),mergeToName:(t,e,n)=>t.if((0,De._)`${n} !== true`,()=>t.assign(n,e===!0?!0:(0,De._)`${n} > ${e} ? ${n} : ${e}`)),mergeValues:(t,e)=>t===!0?!0:Math.max(t,e),resultToName:(t,e)=>t.var("items",e)})};function xT(t,e){if(e===!0)return t.var("props",!0);let n=t.var("props",(0,De._)`{}`);return e!==void 0&&Aw(t,n,e),n}ue.evaluatedPropsToName=xT;function Aw(t,e,n){Object.keys(n).forEach(i=>t.assign((0,De._)`${e}${(0,De.getProperty)(i)}`,!0))}ue.setEvaluated=Aw;var vT={};function OB(t,e){return t.scopeValue("func",{ref:e,code:vT[e.code]||(vT[e.code]=new CB._Code(e.code))})}ue.useFunc=OB;var vw;(function(t){t[t.Num=0]="Num",t[t.Str=1]="Str"})(vw||(ue.Type=vw={}));function TB(t,e,n){if(t instanceof De.Name){let i=e===vw.Num;return n?i?(0,De._)`"[" + ${t} + "]"`:(0,De._)`"['" + ${t} + "']"`:i?(0,De._)`"/" + ${t}`:(0,De._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,De.getProperty)(t).toString():"/"+Cw(t)}ue.getErrorPath=TB;function yT(t,e,n=t.opts.strictSchema){if(n){if(e=`strict mode: ${e}`,n===!0)throw new Error(e);t.self.logger.warn(e)}}ue.checkStrictMode=yT});var $t=v(bw=>{"use strict";Object.defineProperty(bw,"__esModule",{value:!0});var zn=se(),kB={data:new zn.Name("data"),valCxt:new zn.Name("valCxt"),instancePath:new zn.Name("instancePath"),parentData:new zn.Name("parentData"),parentDataProperty:new zn.Name("parentDataProperty"),rootData:new zn.Name("rootData"),dynamicAnchors:new zn.Name("dynamicAnchors"),vErrors:new zn.Name("vErrors"),errors:new zn.Name("errors"),this:new zn.Name("this"),self:new zn.Name("self"),scope:new zn.Name("scope"),json:new zn.Name("json"),jsonPos:new zn.Name("jsonPos"),jsonLen:new zn.Name("jsonLen"),jsonPart:new zn.Name("jsonPart")};bw.default=kB});var nl=v(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.extendErrors=Dn.resetErrorsCount=Dn.reportExtraError=Dn.reportError=Dn.keyword$DataError=Dn.keywordError=void 0;var xe=se(),Xc=be(),Jn=$t();Dn.keywordError={message:({keyword:t})=>(0,xe.str)`must pass "${t}" keyword validation`};Dn.keyword$DataError={message:({keyword:t,schemaType:e})=>e?(0,xe.str)`"${t}" keyword must be ${e} ($data)`:(0,xe.str)`"${t}" keyword is invalid ($data)`};function MB(t,e=Dn.keywordError,n,i){let{it:a}=t,{gen:r,compositeRule:s,allErrors:o}=a,l=ST(t,e,n);i??(s||o)?PT(r,l):jT(a,(0,xe._)`[${l}]`)}Dn.reportError=MB;function EB(t,e=Dn.keywordError,n){let{it:i}=t,{gen:a,compositeRule:r,allErrors:s}=i,o=ST(t,e,n);PT(a,o),r||s||jT(i,Jn.default.vErrors)}Dn.reportExtraError=EB;function qB(t,e){t.assign(Jn.default.errors,e),t.if((0,xe._)`${Jn.default.vErrors} !== null`,()=>t.if(e,()=>t.assign((0,xe._)`${Jn.default.vErrors}.length`,e),()=>t.assign(Jn.default.vErrors,null)))}Dn.resetErrorsCount=qB;function _B({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,Jn.default.errors,o=>{t.const(s,(0,xe._)`${Jn.default.vErrors}[${o}]`),t.if((0,xe._)`${s}.instancePath === undefined`,()=>t.assign((0,xe._)`${s}.instancePath`,(0,xe.strConcat)(Jn.default.instancePath,r.errorPath))),t.assign((0,xe._)`${s}.schemaPath`,(0,xe.str)`${r.errSchemaPath}/${e}`),r.opts.verbose&&(t.assign((0,xe._)`${s}.schema`,n),t.assign((0,xe._)`${s}.data`,i))})}Dn.extendErrors=_B;function PT(t,e){let n=t.const("err",e);t.if((0,xe._)`${Jn.default.vErrors} === null`,()=>t.assign(Jn.default.vErrors,(0,xe._)`[${n}]`),(0,xe._)`${Jn.default.vErrors}.push(${n})`),t.code((0,xe._)`${Jn.default.errors}++`)}function jT(t,e){let{gen:n,validateName:i,schemaEnv:a}=t;a.$async?n.throw((0,xe._)`new ${t.ValidationError}(${e})`):(n.assign((0,xe._)`${i}.errors`,e),n.return(!1))}var tr={keyword:new xe.Name("keyword"),schemaPath:new xe.Name("schemaPath"),params:new xe.Name("params"),propertyName:new xe.Name("propertyName"),message:new xe.Name("message"),schema:new xe.Name("schema"),parentSchema:new xe.Name("parentSchema")};function ST(t,e,n){let{createErrors:i}=t.it;return i===!1?(0,xe._)`{}`:HB(t,e,n)}function HB(t,e,n={}){let{gen:i,it:a}=t,r=[WB(a,n),RB(t,n)];return IB(t,e,r),i.object(...r)}function WB({errorPath:t},{instancePath:e}){let n=e?(0,xe.str)`${t}${(0,Xc.getErrorPath)(e,Xc.Type.Str)}`:t;return[Jn.default.instancePath,(0,xe.strConcat)(Jn.default.instancePath,n)]}function RB({keyword:t,it:{errSchemaPath:e}},{schemaPath:n,parentSchema:i}){let a=i?e:(0,xe.str)`${e}/${t}`;return n&&(a=(0,xe.str)`${a}${(0,Xc.getErrorPath)(n,Xc.Type.Str)}`),[tr.schemaPath,a]}function IB(t,{params:e,message:n},i){let{keyword:a,data:r,schemaValue:s,it:o}=t,{opts:l,propertyName:c,topSchemaRef:u,schemaPath:p}=o;i.push([tr.keyword,a],[tr.params,typeof e=="function"?e(t):e||(0,xe._)`{}`]),l.messages&&i.push([tr.message,typeof n=="function"?n(t):n]),l.verbose&&i.push([tr.schema,s],[tr.parentSchema,(0,xe._)`${u}${p}`],[Jn.default.data,r]),c&&i.push([tr.propertyName,c])}});var TT=v(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.boolOrEmptySchema=hs.topBoolOrEmptySchema=void 0;var zB=nl(),DB=se(),GB=$t(),NB={message:"boolean schema is false"};function UB(t){let{gen:e,schema:n,validateName:i}=t;n===!1?OT(t,!1):typeof n=="object"&&n.$async===!0?e.return(GB.default.data):(e.assign((0,DB._)`${i}.errors`,null),e.return(!0))}hs.topBoolOrEmptySchema=UB;function $B(t,e){let{gen:n,schema:i}=t;i===!1?(n.var(e,!1),OT(t)):n.var(e,!0)}hs.boolOrEmptySchema=$B;function OT(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,zB.reportError)(a,NB,void 0,e)}});var xw=v(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.getRules=gs.isJSONType=void 0;var BB=["string","number","integer","boolean","null","object","array"],LB=new Set(BB);function FB(t){return typeof t=="string"&&LB.has(t)}gs.isJSONType=FB;function VB(){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:{}}}gs.getRules=VB});var yw=v(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.shouldUseRule=ca.shouldUseGroup=ca.schemaHasRulesForType=void 0;function JB({schema:t,self:e},n){let i=e.RULES.types[n];return i&&i!==!0&&kT(t,i)}ca.schemaHasRulesForType=JB;function kT(t,e){return e.rules.some(n=>MT(t,n))}ca.shouldUseGroup=kT;function MT(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))}ca.shouldUseRule=MT});var il=v(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.reportTypeError=Gn.checkDataTypes=Gn.checkDataType=Gn.coerceAndCheckDataType=Gn.getJSONTypes=Gn.getSchemaTypes=Gn.DataType=void 0;var KB=xw(),ZB=yw(),QB=nl(),ae=se(),ET=be(),ms;(function(t){t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong"})(ms||(Gn.DataType=ms={}));function YB(t){let e=qT(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}Gn.getSchemaTypes=YB;function qT(t){let e=Array.isArray(t)?t:t?[t]:[];if(e.every(KB.isJSONType))return e;throw new Error("type must be JSONType or JSONType[]: "+e.join(","))}Gn.getJSONTypes=qT;function XB(t,e){let{gen:n,data:i,opts:a}=t,r=eL(e,a.coerceTypes),s=e.length>0&&!(r.length===0&&e.length===1&&(0,ZB.schemaHasRulesForType)(t,e[0]));if(s){let o=jw(e,i,a.strictNumbers,ms.Wrong);n.if(o,()=>{r.length?nL(t,e,r):Sw(t)})}return s}Gn.coerceAndCheckDataType=XB;var _T=new Set(["string","number","integer","boolean","null"]);function eL(t,e){return e?t.filter(n=>_T.has(n)||e==="array"&&n==="array"):[]}function nL(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(jw(e,a,r.strictNumbers),()=>i.assign(o,a))),i.if((0,ae._)`${o} !== undefined`);for(let c of n)(_T.has(c)||c==="array"&&r.coerceTypes==="array")&&l(c);i.else(),Sw(t),i.endIf(),i.if((0,ae._)`${o} !== undefined`,()=>{i.assign(a,o),iL(t,o)});function l(c){switch(c){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 iL({gen:t,parentData:e,parentDataProperty:n},i){t.if((0,ae._)`${e} !== undefined`,()=>t.assign((0,ae._)`${e}[${n}]`,i))}function Pw(t,e,n,i=ms.Correct){let a=i===ms.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===ms.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)}}Gn.checkDataType=Pw;function jw(t,e,n,i){if(t.length===1)return Pw(t[0],e,n,i);let a,r=(0,ET.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,Pw(s,e,n,i));return a}Gn.checkDataTypes=jw;var tL={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:e})=>typeof t=="string"?(0,ae._)`{type: ${t}}`:(0,ae._)`{type: ${e}}`};function Sw(t){let e=aL(t);(0,QB.reportError)(e,tL)}Gn.reportTypeError=Sw;function aL(t){let{gen:e,data:n,schema:i}=t,a=(0,ET.schemaRefOrVal)(t,i,"type");return{gen:e,keyword:"type",data:n,schema:i.type,schemaCode:a,schemaValue:a,parentSchema:i,params:{},it:t}}});var WT=v(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.assignDefaults=void 0;var fs=se(),rL=be();function sL(t,e){let{properties:n,items:i}=t.schema;if(e==="object"&&n)for(let a in n)HT(t,a,n[a].default);else e==="array"&&Array.isArray(i)&&i.forEach((a,r)=>HT(t,r,a.default))}ep.assignDefaults=sL;function HT(t,e,n){let{gen:i,compositeRule:a,data:r,opts:s}=t;if(n===void 0)return;let o=(0,fs._)`${r}${(0,fs.getProperty)(e)}`;if(a){(0,rL.checkStrictMode)(t,`default is ignored for: ${o}`);return}let l=(0,fs._)`${o} === undefined`;s.useDefaults==="empty"&&(l=(0,fs._)`${l} || ${o} === null || ${o} === ""`),i.if(l,(0,fs._)`${o} = ${(0,fs.stringify)(n)}`)}});var Ui=v(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.validateUnion=We.validateArray=We.usePattern=We.callValidateCode=We.schemaProperties=We.allSchemaProperties=We.noPropertyInData=We.propertyInData=We.isOwnProperty=We.hasPropFunc=We.reportMissingProp=We.checkMissingProp=We.checkReportMissingProp=void 0;var Be=se(),Ow=be(),pa=$t(),oL=be();function lL(t,e){let{gen:n,data:i,it:a}=t;n.if(kw(n,i,e,a.opts.ownProperties),()=>{t.setParams({missingProperty:(0,Be._)`${e}`},!0),t.error()})}We.checkReportMissingProp=lL;function uL({gen:t,data:e,it:{opts:n}},i,a){return(0,Be.or)(...i.map(r=>(0,Be.and)(kw(t,e,r,n.ownProperties),(0,Be._)`${a} = ${r}`)))}We.checkMissingProp=uL;function cL(t,e){t.setParams({missingProperty:e},!0),t.error()}We.reportMissingProp=cL;function RT(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,Be._)`Object.prototype.hasOwnProperty`})}We.hasPropFunc=RT;function Tw(t,e,n){return(0,Be._)`${RT(t)}.call(${e}, ${n})`}We.isOwnProperty=Tw;function pL(t,e,n,i){let a=(0,Be._)`${e}${(0,Be.getProperty)(n)} !== undefined`;return i?(0,Be._)`${a} && ${Tw(t,e,n)}`:a}We.propertyInData=pL;function kw(t,e,n,i){let a=(0,Be._)`${e}${(0,Be.getProperty)(n)} === undefined`;return i?(0,Be.or)(a,(0,Be.not)(Tw(t,e,n))):a}We.noPropertyInData=kw;function IT(t){return t?Object.keys(t).filter(e=>e!=="__proto__"):[]}We.allSchemaProperties=IT;function dL(t,e){return IT(e).filter(n=>!(0,Ow.alwaysValidSchema)(t,e[n]))}We.schemaProperties=dL;function hL({schemaCode:t,data:e,it:{gen:n,topSchemaRef:i,schemaPath:a,errorPath:r},it:s},o,l,c){let u=c?(0,Be._)`${t}, ${e}, ${i}${a}`:e,p=[[pa.default.instancePath,(0,Be.strConcat)(pa.default.instancePath,r)],[pa.default.parentData,s.parentData],[pa.default.parentDataProperty,s.parentDataProperty],[pa.default.rootData,pa.default.rootData]];s.opts.dynamicRef&&p.push([pa.default.dynamicAnchors,pa.default.dynamicAnchors]);let h=(0,Be._)`${u}, ${n.object(...p)}`;return l!==Be.nil?(0,Be._)`${o}.call(${l}, ${h})`:(0,Be._)`${o}(${h})`}We.callValidateCode=hL;var gL=(0,Be._)`new RegExp`;function mL({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,Be._)`${a.code==="new RegExp"?gL:(0,oL.useFunc)(t,a)}(${n}, ${i})`})}We.usePattern=mL;function fL(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,Be._)`${n}.length`);e.forRange("i",0,l,c=>{t.subschema({keyword:i,dataProp:c,dataPropType:Ow.Type.Num},r),e.if((0,Be.not)(r),o)})}}We.validateArray=fL;function wL(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,Ow.alwaysValidSchema)(a,l))&&!a.opts.unevaluated)return;let s=e.let("valid",!1),o=e.name("_valid");e.block(()=>n.forEach((l,c)=>{let u=t.subschema({keyword:i,schemaProp:c,compositeRule:!0},o);e.assign(s,(0,Be._)`${s} || ${o}`),t.mergeValidEvaluated(u,o)||e.if((0,Be.not)(s))})),t.result(s,()=>t.reset(),()=>t.error(!0))}We.validateUnion=wL});var GT=v(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.validateKeywordUsage=At.validSchemaType=At.funcKeywordCode=At.macroKeywordCode=void 0;var Kn=se(),ar=$t(),vL=Ui(),CL=nl();function AL(t,e){let{gen:n,keyword:i,schema:a,parentSchema:r,it:s}=t,o=e.macro.call(s.self,a,r,s),l=DT(n,i,o);s.opts.validateSchema!==!1&&s.self.validateSchema(o,!0);let c=n.name("valid");t.subschema({schema:o,schemaPath:Kn.nil,errSchemaPath:`${s.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},c),t.pass(c,()=>t.error(!0))}At.macroKeywordCode=AL;function bL(t,e){var n;let{gen:i,keyword:a,schema:r,parentSchema:s,$data:o,it:l}=t;yL(l,e);let c=!o&&e.compile?e.compile.call(l.self,r,s,l):e.validate,u=DT(i,a,c),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&&zT(t),w(()=>t.error());else{let f=e.async?g():d();e.modifying&&zT(t),w(()=>xL(t,f))}}function g(){let f=i.let("ruleErrs",null);return i.try(()=>m((0,Kn._)`await `),A=>i.assign(p,!1).if((0,Kn._)`${A} instanceof ${l.ValidationError}`,()=>i.assign(f,(0,Kn._)`${A}.errors`),()=>i.throw(A))),f}function d(){let f=(0,Kn._)`${u}.errors`;return i.assign(f,null),m(Kn.nil),f}function m(f=e.async?(0,Kn._)`await `:Kn.nil){let A=l.opts.passContext?ar.default.this:ar.default.self,b=!("compile"in e&&!o||e.schema===!1);i.assign(p,(0,Kn._)`${f}${(0,vL.callValidateCode)(t,u,A,b)}`,e.modifying)}function w(f){var A;i.if((0,Kn.not)((A=e.valid)!==null&&A!==void 0?A:p),f)}}At.funcKeywordCode=bL;function zT(t){let{gen:e,data:n,it:i}=t;e.if(i.parentData,()=>e.assign(n,(0,Kn._)`${i.parentData}[${i.parentDataProperty}]`))}function xL(t,e){let{gen:n}=t;n.if((0,Kn._)`Array.isArray(${e})`,()=>{n.assign(ar.default.vErrors,(0,Kn._)`${ar.default.vErrors} === null ? ${e} : ${ar.default.vErrors}.concat(${e})`).assign(ar.default.errors,(0,Kn._)`${ar.default.vErrors}.length`),(0,CL.extendErrors)(t)},()=>t.error())}function yL({schemaEnv:t},e){if(e.async&&!t.$async)throw new Error("async keyword in sync schema")}function DT(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,Kn.stringify)(n)})}function PL(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")}At.validSchemaType=PL;function jL({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)}}At.validateKeywordUsage=jL});var UT=v(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.extendSubschemaMode=da.extendSubschemaData=da.getSubschema=void 0;var bt=se(),NT=be();function SL(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,bt._)`${t.schemaPath}${(0,bt.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${e}`}:{schema:o[n],schemaPath:(0,bt._)`${t.schemaPath}${(0,bt.getProperty)(e)}${(0,bt.getProperty)(n)}`,errSchemaPath:`${t.errSchemaPath}/${e}/${(0,NT.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')}da.getSubschema=SL;function OL(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:c,dataPathArr:u,opts:p}=e,h=o.let("data",(0,bt._)`${e.data}${(0,bt.getProperty)(n)}`,!0);l(h),t.errorPath=(0,bt.str)`${c}${(0,NT.getErrorPath)(n,i,p.jsPropertySyntax)}`,t.parentDataProperty=(0,bt._)`${n}`,t.dataPathArr=[...u,t.parentDataProperty]}if(a!==void 0){let c=a instanceof bt.Name?a:o.let("data",a,!0);l(c),s!==void 0&&(t.propertyName=s)}r&&(t.dataTypes=r);function l(c){t.data=c,t.dataLevel=e.dataLevel+1,t.dataTypes=[],e.definedProperties=new Set,t.parentData=e.data,t.dataNames=[...e.dataNames,c]}}da.extendSubschemaData=OL;function TL(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}da.extendSubschemaMode=TL});var Mw=v((Ple,$T)=>{"use strict";$T.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 LT=v((jle,BT)=>{"use strict";var ha=BT.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(){};np(e,i,a,t,"",t)};ha.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ha.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ha.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ha.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 np(t,e,n,i,a,r,s,o,l,c){if(i&&typeof i=="object"&&!Array.isArray(i)){e(i,a,r,s,o,l,c);for(var u in i){var p=i[u];if(Array.isArray(p)){if(u in ha.arrayKeywords)for(var h=0;h{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.getSchemaRefs=ui.resolveUrl=ui.normalizeId=ui._getFullPath=ui.getFullPath=ui.inlineRef=void 0;var ML=be(),EL=Mw(),qL=LT(),_L=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function HL(t,e=!0){return typeof t=="boolean"?!0:e===!0?!Ew(t):e?FT(t)<=e:!1}ui.inlineRef=HL;var WL=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Ew(t){for(let e in t){if(WL.has(e))return!0;let n=t[e];if(Array.isArray(n)&&n.some(Ew)||typeof n=="object"&&Ew(n))return!0}return!1}function FT(t){let e=0;for(let n in t){if(n==="$ref")return 1/0;if(e++,!_L.has(n)&&(typeof t[n]=="object"&&(0,ML.eachItem)(t[n],i=>e+=FT(i)),e===1/0))return 1/0}return e}function VT(t,e="",n){n!==!1&&(e=ws(e));let i=t.parse(e);return JT(t,i)}ui.getFullPath=VT;function JT(t,e){return t.serialize(e).split("#")[0]+"#"}ui._getFullPath=JT;var RL=/#\/?$/;function ws(t){return t?t.replace(RL,""):""}ui.normalizeId=ws;function IL(t,e,n){return n=ws(n),t.resolve(e,n)}ui.resolveUrl=IL;var zL=/^[a-z_][-a-z0-9._]*$/i;function DL(t,e){if(typeof t=="boolean")return{};let{schemaId:n,uriResolver:i}=this.opts,a=ws(t[n]||e),r={"":a},s=VT(i,a,!1),o={},l=new Set;return qL(t,{allKeys:!0},(p,h,g,d)=>{if(d===void 0)return;let m=s+h,w=r[d];typeof p[n]=="string"&&(w=f.call(this,p[n])),A.call(this,p.$anchor),A.call(this,p.$dynamicAnchor),r[h]=w;function f(b){let x=this.opts.uriResolver.resolve;if(b=ws(w?x(w,b):b),l.has(b))throw u(b);l.add(b);let S=this.refs[b];return typeof S=="string"&&(S=this.refs[S]),typeof S=="object"?c(p,S.schema,b):b!==ws(m)&&(b[0]==="#"?(c(p,o[b],b),o[b]=p):this.refs[b]=m),b}function A(b){if(typeof b=="string"){if(!zL.test(b))throw new Error(`invalid anchor "${b}"`);f.call(this,`#${b}`)}}}),o;function c(p,h,g){if(h!==void 0&&!EL(p,h))throw u(g)}function u(p){return new Error(`reference "${p}" resolves to more than one schema`)}}ui.getSchemaRefs=DL});var sl=v(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.getData=ga.KeywordCxt=ga.validateFunctionCode=void 0;var XT=TT(),KT=il(),_w=yw(),ip=il(),GL=WT(),rl=GT(),qw=UT(),F=se(),ne=$t(),NL=tl(),Bt=be(),al=nl();function UL(t){if(i0(t)&&(t0(t),n0(t))){LL(t);return}e0(t,()=>(0,XT.topBoolOrEmptySchema)(t))}ga.validateFunctionCode=UL;function e0({gen:t,validateName:e,schema:n,schemaEnv:i,opts:a},r){a.code.es5?t.func(e,(0,F._)`${ne.default.data}, ${ne.default.valCxt}`,i.$async,()=>{t.code((0,F._)`"use strict"; ${ZT(n,a)}`),BL(t,a),t.code(r)}):t.func(e,(0,F._)`${ne.default.data}, ${$L(a)}`,i.$async,()=>t.code(ZT(n,a)).code(r))}function $L(t){return(0,F._)`{${ne.default.instancePath}="", ${ne.default.parentData}, ${ne.default.parentDataProperty}, ${ne.default.rootData}=${ne.default.data}${t.dynamicRef?(0,F._)`, ${ne.default.dynamicAnchors}={}`:F.nil}}={}`}function BL(t,e){t.if(ne.default.valCxt,()=>{t.var(ne.default.instancePath,(0,F._)`${ne.default.valCxt}.${ne.default.instancePath}`),t.var(ne.default.parentData,(0,F._)`${ne.default.valCxt}.${ne.default.parentData}`),t.var(ne.default.parentDataProperty,(0,F._)`${ne.default.valCxt}.${ne.default.parentDataProperty}`),t.var(ne.default.rootData,(0,F._)`${ne.default.valCxt}.${ne.default.rootData}`),e.dynamicRef&&t.var(ne.default.dynamicAnchors,(0,F._)`${ne.default.valCxt}.${ne.default.dynamicAnchors}`)},()=>{t.var(ne.default.instancePath,(0,F._)`""`),t.var(ne.default.parentData,(0,F._)`undefined`),t.var(ne.default.parentDataProperty,(0,F._)`undefined`),t.var(ne.default.rootData,ne.default.data),e.dynamicRef&&t.var(ne.default.dynamicAnchors,(0,F._)`{}`)})}function LL(t){let{schema:e,opts:n,gen:i}=t;e0(t,()=>{n.$comment&&e.$comment&&r0(t),ZL(t),i.let(ne.default.vErrors,null),i.let(ne.default.errors,0),n.unevaluated&&FL(t),a0(t),XL(t)})}function FL(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 ZT(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 VL(t,e){if(i0(t)&&(t0(t),n0(t))){JL(t,e);return}(0,XT.boolOrEmptySchema)(t,e)}function n0({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 i0(t){return typeof t.schema!="boolean"}function JL(t,e){let{schema:n,gen:i,opts:a}=t;a.$comment&&n.$comment&&r0(t),QL(t),YL(t);let r=i.const("_errs",ne.default.errors);a0(t,r),i.var(e,(0,F._)`${r} === ${ne.default.errors}`)}function t0(t){(0,Bt.checkUnknownRules)(t),KL(t)}function a0(t,e){if(t.opts.jtd)return QT(t,[],!1,e);let n=(0,KT.getSchemaTypes)(t.schema),i=(0,KT.coerceAndCheckDataType)(t,n);QT(t,n,!i,e)}function KL(t){let{schema:e,errSchemaPath:n,opts:i,self:a}=t;e.$ref&&i.ignoreKeywordsWithRef&&(0,Bt.schemaHasRulesButRef)(e,a.RULES)&&a.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}function ZL(t){let{schema:e,opts:n}=t;e.default!==void 0&&n.useDefaults&&n.strictSchema&&(0,Bt.checkStrictMode)(t,"default is ignored in the schema root")}function QL(t){let e=t.schema[t.opts.schemaId];e&&(t.baseId=(0,NL.resolveUrl)(t.opts.uriResolver,t.baseId,e))}function YL(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function r0({gen:t,schemaEnv:e,schema:n,errSchemaPath:i,opts:a}){let r=n.$comment;if(a.$comment===!0)t.code((0,F._)`${ne.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._)`${ne.default.self}.opts.$comment(${r}, ${s}, ${o}.schema)`)}}function XL(t){let{gen:e,schemaEnv:n,validateName:i,ValidationError:a,opts:r}=t;n.$async?e.if((0,F._)`${ne.default.errors} === 0`,()=>e.return(ne.default.data),()=>e.throw((0,F._)`new ${a}(${ne.default.vErrors})`)):(e.assign((0,F._)`${i}.errors`,ne.default.vErrors),r.unevaluated&&e4(t),e.return((0,F._)`${ne.default.errors} === 0`))}function e4({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 QT(t,e,n,i){let{gen:a,schema:r,data:s,allErrors:o,opts:l,self:c}=t,{RULES:u}=c;if(r.$ref&&(l.ignoreKeywordsWithRef||!(0,Bt.schemaHasRulesButRef)(r,u))){a.block(()=>o0(t,"$ref",u.all.$ref.definition));return}l.jtd||n4(t,e),a.block(()=>{for(let h of u.rules)p(h);p(u.post)});function p(h){(0,_w.shouldUseGroup)(r,h)&&(h.type?(a.if((0,ip.checkDataType)(h.type,s,l.strictNumbers)),YT(t,h),e.length===1&&e[0]===h.type&&n&&(a.else(),(0,ip.reportTypeError)(t)),a.endIf()):YT(t,h),o||a.if((0,F._)`${ne.default.errors} === ${i||0}`))}}function YT(t,e){let{gen:n,schema:i,opts:{useDefaults:a}}=t;a&&(0,GL.assignDefaults)(t,e.type),n.block(()=>{for(let r of e.rules)(0,_w.shouldUseRule)(i,r)&&o0(t,r.keyword,r.definition,e.type)})}function n4(t,e){t.schemaEnv.meta||!t.opts.strictTypes||(i4(t,e),t.opts.allowUnionTypes||t4(t,e),a4(t,t.dataTypes))}function i4(t,e){if(e.length){if(!t.dataTypes.length){t.dataTypes=e;return}e.forEach(n=>{s0(t.dataTypes,n)||Hw(t,`type "${n}" not allowed by context "${t.dataTypes.join(",")}"`)}),s4(t,e)}}function t4(t,e){e.length>1&&!(e.length===2&&e.includes("null"))&&Hw(t,"use allowUnionTypes to allow union type keyword")}function a4(t,e){let n=t.self.RULES.all;for(let i in n){let a=n[i];if(typeof a=="object"&&(0,_w.shouldUseRule)(t.schema,a)){let{type:r}=a.definition;r.length&&!r.some(s=>r4(e,s))&&Hw(t,`missing type "${r.join(",")}" for keyword "${i}"`)}}}function r4(t,e){return t.includes(e)||e==="number"&&t.includes("integer")}function s0(t,e){return t.includes(e)||e==="integer"&&t.includes("number")}function s4(t,e){let n=[];for(let i of t.dataTypes)s0(e,i)?n.push(i):e.includes("integer")&&i==="number"&&n.push("integer");t.dataTypes=n}function Hw(t,e){let n=t.schemaEnv.baseId+t.errSchemaPath;e+=` at "${n}" (strictTypes)`,(0,Bt.checkStrictMode)(t,e,t.opts.strictTypes)}var tp=class{constructor(e,n,i){if((0,rl.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,Bt.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",l0(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,rl.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",ne.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?al.reportExtraError:al.reportError)(this,this.def.error,n)}$dataError(){(0,al.reportError)(this,this.def.$dataError||al.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,al.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,ip.checkDataTypes)(l,n,r.opts.strictNumbers,ip.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,qw.getSubschema)(this.it,e);(0,qw.extendSubschemaData)(i,this.it,e),(0,qw.extendSubschemaMode)(i,e);let a={...this.it,...i,items:void 0,props:void 0};return VL(a,n),a}mergeEvaluated(e,n){let{it:i,gen:a}=this;i.opts.unevaluated&&(i.props!==!0&&e.props!==void 0&&(i.props=Bt.mergeEvaluated.props(a,e.props,i.props,n)),i.items!==!0&&e.items!==void 0&&(i.items=Bt.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}};ga.KeywordCxt=tp;function o0(t,e,n,i){let a=new tp(t,n,e);"code"in n?n.code(a,i):a.$data&&n.validate?(0,rl.funcKeywordCode)(a,n):"macro"in n?(0,rl.macroKeywordCode)(a,n):(n.compile||n.validate)&&(0,rl.funcKeywordCode)(a,n)}var o4=/^\/(?:[^~]|~0|~1)*$/,l4=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function l0(t,{dataLevel:e,dataNames:n,dataPathArr:i}){let a,r;if(t==="")return ne.default.rootData;if(t[0]==="/"){if(!o4.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);a=t,r=ne.default.rootData}else{let c=l4.exec(t);if(!c)throw new Error(`Invalid JSON-pointer: ${t}`);let u=+c[1];if(a=c[2],a==="#"){if(u>=e)throw new Error(l("property/index",u));return i[e-u]}if(u>e)throw new Error(l("data",u));if(r=n[e-u],!a)return r}let s=r,o=a.split("/");for(let c of o)c&&(r=(0,F._)`${r}${(0,F.getProperty)((0,Bt.unescapeJsonPointer)(c))}`,s=(0,F._)`${s} && ${r}`);return s;function l(c,u){return`Cannot access ${c} ${u} levels up, current level is ${e}`}}ga.getData=l0});var ap=v(Rw=>{"use strict";Object.defineProperty(Rw,"__esModule",{value:!0});var Ww=class extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}};Rw.default=Ww});var ol=v(Dw=>{"use strict";Object.defineProperty(Dw,"__esModule",{value:!0});var Iw=tl(),zw=class extends Error{constructor(e,n,i,a){super(a||`can't resolve reference ${i} from id ${n}`),this.missingRef=(0,Iw.resolveUrl)(e,n,i),this.missingSchema=(0,Iw.normalizeId)((0,Iw.getFullPath)(e,this.missingRef))}};Dw.default=zw});var sp=v($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});$i.resolveSchema=$i.getCompilingSchema=$i.resolveRef=$i.compileSchema=$i.SchemaEnv=void 0;var it=se(),u4=ap(),rr=$t(),tt=tl(),u0=be(),c4=sl(),vs=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,tt.normalizeId)(i?.[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=i?.$async,this.refs={}}};$i.SchemaEnv=vs;function Nw(t){let e=c0.call(this,t);if(e)return e;let n=(0,tt.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:i,lines:a}=this.opts.code,{ownProperties:r}=this.opts,s=new it.CodeGen(this.scope,{es5:i,lines:a,ownProperties:r}),o;t.$async&&(o=s.scopeValue("Error",{ref:u4.default,code:(0,it._)`require("ajv/dist/runtime/validation_error").default`}));let l=s.scopeName("validate");t.validateName=l;let c={gen:s,allErrors:this.opts.allErrors,data:rr.default.data,parentData:rr.default.parentData,parentDataProperty:rr.default.parentDataProperty,dataNames:[rr.default.data],dataPathArr:[it.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:s.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,it.stringify)(t.schema)}:{ref:t.schema}),validateName:l,ValidationError:o,schema:t.schema,schemaEnv:t,rootId:n,baseId:t.baseId||n,schemaPath:it.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,it._)`""`,opts:this.opts,self:this},u;try{this._compilations.add(t),(0,c4.validateFunctionCode)(c),s.optimize(this.opts.code.optimize);let p=s.toString();u=`${s.scopeRefs(rr.default.scope)}return ${p}`,this.opts.code.process&&(u=this.opts.code.process(u,t));let g=new Function(`${rr.default.self}`,`${rr.default.scope}`,u)(this,this.scope.get());if(this.scope.value(l,{ref:g}),g.errors=null,g.schema=t.schema,g.schemaEnv=t,t.$async&&(g.$async=!0),this.opts.code.source===!0&&(g.source={validateName:l,validateCode:p,scopeValues:s._values}),this.opts.unevaluated){let{props:d,items:m}=c;g.evaluated={props:d instanceof it.Name?void 0:d,items:m instanceof it.Name?void 0:m,dynamicProps:d instanceof it.Name,dynamicItems:m instanceof it.Name},g.source&&(g.source.evaluated=(0,it.stringify)(g.evaluated))}return t.validate=g,t}catch(p){throw delete t.validate,delete t.validateName,u&&this.logger.error("Error compiling schema, function code:",u),p}finally{this._compilations.delete(t)}}$i.compileSchema=Nw;function p4(t,e,n){var i;n=(0,tt.resolveUrl)(this.opts.uriResolver,e,n);let a=t.refs[n];if(a)return a;let r=g4.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 vs({schema:s,schemaId:o,root:t,baseId:e}))}if(r!==void 0)return t.refs[n]=d4.call(this,r)}$i.resolveRef=p4;function d4(t){return(0,tt.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Nw.call(this,t)}function c0(t){for(let e of this._compilations)if(h4(e,t))return e}$i.getCompilingSchema=c0;function h4(t,e){return t.schema===e.schema&&t.root===e.root&&t.baseId===e.baseId}function g4(t,e){let n;for(;typeof(n=this.refs[e])=="string";)e=n;return n||this.schemas[e]||rp.call(this,t,e)}function rp(t,e){let n=this.opts.uriResolver.parse(e),i=(0,tt._getFullPath)(this.opts.uriResolver,n),a=(0,tt.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&i===a)return Gw.call(this,n,t);let r=(0,tt.normalizeId)(i),s=this.refs[r]||this.schemas[r];if(typeof s=="string"){let o=rp.call(this,t,s);return typeof o?.schema!="object"?void 0:Gw.call(this,n,o)}if(typeof s?.schema=="object"){if(s.validate||Nw.call(this,s),r===(0,tt.normalizeId)(e)){let{schema:o}=s,{schemaId:l}=this.opts,c=o[l];return c&&(a=(0,tt.resolveUrl)(this.opts.uriResolver,a,c)),new vs({schema:o,schemaId:l,root:t,baseId:a})}return Gw.call(this,n,s)}}$i.resolveSchema=rp;var m4=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function Gw(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,u0.unescapeFragment)(o)];if(l===void 0)return;n=l;let c=typeof n=="object"&&n[this.opts.schemaId];!m4.has(o)&&c&&(e=(0,tt.resolveUrl)(this.opts.uriResolver,e,c))}let r;if(typeof n!="boolean"&&n.$ref&&!(0,u0.schemaHasRulesButRef)(n,this.RULES)){let o=(0,tt.resolveUrl)(this.opts.uriResolver,e,n.$ref);r=rp.call(this,i,o)}let{schemaId:s}=this.opts;if(r=r||new vs({schema:n,schemaId:s,root:i,baseId:e}),r.schema!==r.root.schema)return r}});var p0=v((Ele,f4)=>{f4.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 Vw=v((qle,v0)=>{"use strict";var w4=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),$w=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),v4=RegExp.prototype.test.bind(/^\d*$/u),sr=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),Bw=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),h0=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u),Lw=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u),C4=RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u),ci=new Array(256);{let t="0123456789ABCDEF";for(let e=0;e<256;e++)ci[e]="%"+t[e>>4]+t[e&15]}function Nn(t){return t<2048?ci[192|t>>6]+ci[128|t&63]:t<65536?ci[224|t>>12]+ci[128|t>>6&63]+ci[128|t&63]:ci[240|t>>18]+ci[128|t>>12&63]+ci[128|t>>6&63]+ci[128|t&63]}function A4(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 b4=RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/),x4=RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/),y4=RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/),P4=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function j4(t){if(t.length===0)return!1;for(let e=0;en&&(n=a,e=i)):(i=-1,a=0);if(n<2)return t.join(":");let r=t.slice(0,e).join(":"),s=t.slice(e+n).join(":");return r+"::"+s}function S4(t){let e=t.indexOf("::");if(e!==-1&&t.indexOf("::",e+1)!==-1)return;let n=e===-1?t.split(":"):t.slice(0,e).split(":"),i=e===-1?[]:t.slice(e+2).split(":");e!==-1&&(n.length===1&&n[0]===""&&(n.length=0),i.length===1&&i[0]===""&&(i.length=0));let a=n.concat(i),r=0;for(let o=0;o=8)return;let s=a.slice(0,n.length);for(let o=r;o<8;o++)s.push("0");for(let o=n.length;ok4[i])}function m0(t,e=!1){if(t.indexOf("%")===-1)return t;let n="";for(let i=0;i57343)e+=Nn(a);else if(a<=56319&&n+1=56320&&r<=57343?(e+=Nn(65536+(a-55296<<10)+(r-56320)),n++):e+=Nn(65533)}else e+=Nn(65533)}}return e}function _4(t,e=!1){let n="",i=e&&t[0]!=="/";for(let a=0;a57343)n+=Nn(s);else if(s<=56319&&a+1=56320&&o<=57343?(n+=Nn(65536+(s-55296<<10)+(o-56320)),a++):n+=Nn(65533)}else n+=Nn(65533)}}return n}function Fw(t,e){let n="";for(let i=0;i57343)n+=Nn(r);else if(r<=56319&&i+1=56320&&s<=57343?(n+=Nn(65536+(r-55296<<10)+(s-56320)),i++):n+=Nn(65533)}else n+=Nn(65533)}}return n}function f0(t){return Fw(t,C4)}function H4(t){return Fw(t,Lw)}function W4(t){return Fw(t,Lw)}function w0(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===42||t===43||t===45||t===46||t===47||t===64||t===95}function R4(t){let e="";for(let n=0;n57343)e+=Nn(a);else if(a<=56319&&n+1=56320&&r<=57343?(e+=Nn(65536+(a-55296<<10)+(r-56320)),n++):e+=Nn(65533)}else e+=Nn(65533)}}return e}function I4(t){let e="";for(let n=0;n{"use strict";var{isUUID:D4}=Vw(),G4=/^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu,N4=["http","https","ws","wss","urn","urn:uuid"];function U4(t){return N4.indexOf(t)!==-1}function Jw(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 C0(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function A0(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 $4(t){return t.secure=Jw(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function B4(t){if((t.port===(Jw(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=t.resourceName.indexOf("?"),n=e===-1?t.resourceName:t.resourceName.slice(0,e);t.path=n&&n!=="/"?n:void 0,t.query=e===-1?void 0:t.resourceName.slice(e+1),t.resourceName=void 0}return t.fragment=void 0,t}function L4(t,e){if(!t.path)return t.error="URN can not be parsed",t;let n=t.path.match(G4);if(n&&n[0]===t.path){let i=e.scheme||t.scheme||"urn";t.nid=n[1].toLowerCase(),t.nss=n[2];let a=`${i}:${e.nid||t.nid}`,r=Kw(a);t.path=void 0,r&&(t=r.parse(t,e))}else t.error=t.error||"URN can not be parsed.";return t}function F4(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=Kw(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 V4(t,e){let n=t;return n.uuid=n.nss,n.nss=void 0,!e.tolerant&&(!n.uuid||!D4(n.uuid))&&(n.error=n.error||"UUID is not valid."),n}function J4(t){let e=t;return e.nss=(t.uuid||"").toLowerCase(),e}var b0={scheme:"http",domainHost:!0,parse:C0,serialize:A0},K4={scheme:"https",domainHost:b0.domainHost,parse:C0,serialize:A0},op={scheme:"ws",domainHost:!0,parse:$4,serialize:B4},Z4={scheme:"wss",domainHost:op.domainHost,parse:op.parse,serialize:op.serialize},Q4={scheme:"urn",parse:L4,serialize:F4,skipNormalize:!0},Y4={scheme:"urn:uuid",parse:V4,serialize:J4,skipNormalize:!0},lp={http:b0,https:K4,ws:op,wss:Z4,urn:Q4,"urn:uuid":Y4};Object.setPrototypeOf(lp,null);function Kw(t){return t&&(lp[t]||lp[t.toLowerCase()])||void 0}x0.exports={wsIsSecure:Jw,SCHEMES:lp,isValidSchemeName:U4,getSchemeHandler:Kw}});var R0=v((Hle,pp)=>{"use strict";var{normalizeIPv6:T0,removeDotSegments:ul,recomposeAuthority:X4,normalizePercentEncoding:Zw,normalizePathEncoding:eF,serializePathEncoding:P0,normalizeQueryFragmentEncoding:j0,encodeQuery:nF,encodeFragment:iF,reescapeHostDelimiters:tF,isIPv4:k0,nonSimpleDomain:aF}=Vw(),{SCHEMES:M0,getSchemeHandler:Qw}=y0(),E0=/^[A-Za-z][A-Za-z0-9+.-]*$/u,q0="URI scheme is malformed.";function S0(t){let e=unescape(String(t));if(!E0.test(e))throw new TypeError(q0);return e}function rF(t,e){return typeof t=="string"?t=hF(t,e):typeof t=="object"&&(t=cp(or(t,e),e)),t}function sF(t,e,n){let i=n?Object.assign({scheme:"null"},n):{scheme:"null"},{parsed:a,malformedAuthorityOrPort:r,malformedPercentEncoding:s,malformedSchemeSpecific:o,malformedHost:l,malformedScheme:c}=up(t,i),{parsed:u,malformedAuthorityOrPort:p,malformedPercentEncoding:h,malformedSchemeSpecific:g,malformedHost:d,malformedScheme:m}=up(e,i);if(r||p||s||h||o||g||l||d||c||m)throw new Error(a.error||u.error||"URI is malformed.");let w=_0(a,u,i,!0),f=Qw(n&&n.scheme||w.scheme),A=w.host,b=A!==void 0&&A!==""&&(k0(A)||T0(A).isIPV6);H0(w,n||{},f,b);let x=A&&A.indexOf("%")!==-1&&!new RegExp("\\P{ASCII}","u").test(A);if(w.error&&!x)throw new Error(w.error);return i.skipEscape=!0,or(w,i)}function _0(t,e,n,i){let a={};return i||(t=cp(or(t,n),n),e=cp(or(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=ul(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=ul(e.path||""),a.query=e.query):(e.path?(e.path[0]==="/"?a.path=ul(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=ul(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 oF(t,e,n){let i=O0(t,n),a=O0(e,n);return i!==void 0&&a!==void 0&&i===a}function or(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=[];n.scheme&&(n.scheme=S0(n.scheme));let r=Qw(i.scheme||n.scheme);r&&r.serialize&&r.serialize(n,i);let s=n.userinfo!==void 0||n.host!==void 0||n.port!==void 0,o=!i.skipEscape&&n.scheme===void 0&&!s;n.path!==void 0&&(i.skipEscape?n.path=Zw(n.path):n.path=P0(n.path,o)),i.reference!=="suffix"&&n.scheme&&(n.scheme=S0(n.scheme),a.push(n.scheme,":"));let l=X4(n);if(l!==void 0&&(i.reference!=="suffix"&&a.push("//"),a.push(l),n.path&&n.path[0]!=="/"&&a.push("/")),n.path!==void 0){let c=n.path;!i.absolutePath&&(!r||!r.absolutePath)&&(c=ul(c)),o&&(c=P0(c,!0)),l===void 0&&c[0]==="/"&&c[1]==="/"&&(c="/%2F"+c.slice(2)),a.push(c)}return n.query!==void 0&&a.push("?",nF(n.query)),n.fragment!==void 0&&a.push("#",iF(n.fragment)),a.join("")}var lF=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u,uF=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/,cF=/^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;function pF(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 ll(t){if(t===void 0)return!1;let e=t.indexOf("%");for(;e!==-1;){if(e+2>=t.length||!/^[\da-f]{2}$/iu.test(t.slice(e+1,e+3)))return!0;e=t.indexOf("%",e+3)}return!1}function Yw(t){return t[0]==="["&&t[t.length-1]==="]"}function dF(t){let e=t[4];return ll(t[3])||e!==void 0&&!Yw(e)&&ll(e)||ll(t[6])||ll(t[7])||ll(t[8])}function H0(t,e,n,i){if(!e.unicodeSupport&&(!n||!n.unicodeSupport)&&t.host&&!Yw(t.host)&&(e.domainHost||n&&n.domainHost)&&i===!1&&aF(t.host))try{t.host=new URL("http://"+t.host).hostname}catch(a){return t.error=t.error||"Host's domain name can not be converted to ASCII: "+a,!0}return!1}function up(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,s=!1,o=!1,l=!1,c=!1,u=!1;n.reference==="suffix"&&(n.scheme?t=n.scheme+":"+t:t="//"+t);let p=t.match(uF);p!==null&&p[1].indexOf("\\")!==-1&&(i.error="URI authority must not contain a literal backslash.",a=!0);let h=t.match(cF);if(h!==null){let d=h[1],m=d.replace(/[\t\n\r]/g,"");m.length>=2&&(m.slice(0,2)!=="//"?(i.error=i.error||"URI authority must not contain a literal backslash.",a=!0):d.length!==m.length&&(i.error=i.error||"URI authority introducer must not contain whitespace.",a=!0))}let g=t.match(lF);if(g){if(i.scheme=g[1],i.userinfo=g[3],i.host=g[4],i.port=parseInt(g[5],10),i.path=g[6]||"",i.query=g[7],i.fragment=g[8],i.scheme!==void 0){let w=unescape(i.scheme);E0.test(w)?i.scheme=w.toLowerCase():(i.error=i.error||q0,c=!0)}r=dF(g),r&&(i.error=i.error||"URI contains malformed percent-encoding."),isNaN(i.port)&&(i.port=g[5]);let d=pF(i,g);if(d!==void 0&&(i.error=i.error||d,a=!0),i.host)if(k0(i.host)===!1){let f=Yw(i.host),A=i.host.indexOf("[")!==-1||i.host.indexOf("]")!==-1,b=T0(i.host);u=b.isIPV6||b.isIPVFuture===!0,l=A&&(!f||b.error===!0),i.host=u?b.host:b.host.toLowerCase(),l&&(i.error=i.error||"URI host is malformed.",a=!0)}else u=!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 m=Qw(n.scheme||i.scheme);if(l||(o=H0(i,n,m,u)),t.indexOf("%")!==-1&&i.host!==void 0&&!l){let w=u?i.host:Zw(i.host,!0);u||(w=Zw(w.toLowerCase())),i.host=tF(w,u)}(!m||m&&!m.skipNormalize)&&(i.path&&(i.path=eF(i.path)),i.query&&(i.query=j0(i.query)),i.fragment&&(i.fragment=j0(i.fragment))),m&&m.parse&&(m.parse(i,n),m===M0.urn&&i.nid===void 0&&(s=!0))}else i.error=i.error||"URI can not be parsed.";return{parsed:i,malformedAuthorityOrPort:a,malformedPercentEncoding:r,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:c}}function cp(t,e){return up(t,e).parsed}function hF(t,e){return W0(t,e).normalized}function W0(t,e){let{parsed:n,malformedAuthorityOrPort:i,malformedPercentEncoding:a,malformedSchemeSpecific:r,malformedHost:s,malformedScheme:o}=up(t,e);return{normalized:i||a||r||s||o?t:or(n,e),malformedAuthorityOrPort:i,malformedPercentEncoding:a,malformedSchemeSpecific:r,malformedHost:s,malformedScheme:o}}function O0(t,e){if(typeof t!="string"&&typeof t!="object")return;let n;try{n=typeof t=="string"?t:or(t,e)}catch{return}let{normalized:i,malformedAuthorityOrPort:a,malformedPercentEncoding:r,malformedSchemeSpecific:s,malformedHost:o,malformedScheme:l}=W0(n,e);return a||r||s||o||l?void 0:i}var Xw={SCHEMES:M0,normalize:rF,resolve:sF,resolveComponent:_0,equal:oF,serialize:or,parse:cp};pp.exports=Xw;pp.exports.default=Xw;pp.exports.fastUri=Xw});var z0=v(ev=>{"use strict";Object.defineProperty(ev,"__esModule",{value:!0});var I0=R0();I0.code='require("ajv/dist/runtime/uri").default';ev.default=I0});var F0=v(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.CodeGen=qn.Name=qn.nil=qn.stringify=qn.str=qn._=qn.KeywordCxt=void 0;var gF=sl();Object.defineProperty(qn,"KeywordCxt",{enumerable:!0,get:function(){return gF.KeywordCxt}});var Cs=se();Object.defineProperty(qn,"_",{enumerable:!0,get:function(){return Cs._}});Object.defineProperty(qn,"str",{enumerable:!0,get:function(){return Cs.str}});Object.defineProperty(qn,"stringify",{enumerable:!0,get:function(){return Cs.stringify}});Object.defineProperty(qn,"nil",{enumerable:!0,get:function(){return Cs.nil}});Object.defineProperty(qn,"Name",{enumerable:!0,get:function(){return Cs.Name}});Object.defineProperty(qn,"CodeGen",{enumerable:!0,get:function(){return Cs.CodeGen}});var mF=ap(),$0=ol(),fF=xw(),cl=sp(),wF=se(),pl=tl(),dp=il(),iv=be(),D0=p0(),vF=z0(),B0=(t,e)=>new RegExp(t,e);B0.code="new RegExp";var CF=["removeAdditional","useDefaults","coerceTypes"],AF=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),bF={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."},xF={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},G0=200;function yF(t){var e,n,i,a,r,s,o,l,c,u,p,h,g,d,m,w,f,A,b,x,S,T,M,V,N;let _=t.strict,W=(e=t.code)===null||e===void 0?void 0:e.optimize,le=W===!0||W===void 0?1:W||0,Pe=(i=(n=t.code)===null||n===void 0?void 0:n.regExp)!==null&&i!==void 0?i:B0,Te=(a=t.uriResolver)!==null&&a!==void 0?a:vF.default;return{strictSchema:(s=(r=t.strictSchema)!==null&&r!==void 0?r:_)!==null&&s!==void 0?s:!0,strictNumbers:(l=(o=t.strictNumbers)!==null&&o!==void 0?o:_)!==null&&l!==void 0?l:!0,strictTypes:(u=(c=t.strictTypes)!==null&&c!==void 0?c:_)!==null&&u!==void 0?u:"log",strictTuples:(h=(p=t.strictTuples)!==null&&p!==void 0?p:_)!==null&&h!==void 0?h:"log",strictRequired:(d=(g=t.strictRequired)!==null&&g!==void 0?g:_)!==null&&d!==void 0?d:!1,code:t.code?{...t.code,optimize:le,regExp:Pe}:{optimize:le,regExp:Pe},loopRequired:(m=t.loopRequired)!==null&&m!==void 0?m:G0,loopEnum:(w=t.loopEnum)!==null&&w!==void 0?w:G0,meta:(f=t.meta)!==null&&f!==void 0?f:!0,messages:(A=t.messages)!==null&&A!==void 0?A:!0,inlineRefs:(b=t.inlineRefs)!==null&&b!==void 0?b:!0,schemaId:(x=t.schemaId)!==null&&x!==void 0?x:"$id",addUsedSchema:(S=t.addUsedSchema)!==null&&S!==void 0?S:!0,validateSchema:(T=t.validateSchema)!==null&&T!==void 0?T:!0,validateFormats:(M=t.validateFormats)!==null&&M!==void 0?M:!0,unicodeRegExp:(V=t.unicodeRegExp)!==null&&V!==void 0?V:!0,int32range:(N=t.int32range)!==null&&N!==void 0?N:!0,uriResolver:Te}}var dl=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,...yF(e)};let{es5:n,lines:i}=this.opts.code;this.scope=new wF.ValueScope({scope:{},prefixes:AF,es5:n,lines:i}),this.logger=kF(e.logger);let a=e.validateFormats;e.validateFormats=!1,this.RULES=(0,fF.getRules)(),N0.call(this,bF,e,"NOT SUPPORTED"),N0.call(this,xF,e,"DEPRECATED","warn"),this._metaOpts=OF.call(this),e.formats&&jF.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&SF.call(this,e.keywords),typeof e.meta=="object"&&this.addMetaSchema(e.meta),PF.call(this),e.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:e,meta:n,schemaId:i}=this.opts,a=D0;i==="id"&&(a={...D0},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(u,p){await r.call(this,u.$schema);let h=this._addSchema(u,p);return h.validate||s.call(this,h)}async function r(u){u&&!this.getSchema(u)&&await a.call(this,{$ref:u},!0)}async function s(u){try{return this._compileSchemaEnv(u)}catch(p){if(!(p instanceof $0.default))throw p;return o.call(this,p),await l.call(this,p.missingSchema),s.call(this,u)}}function o({missingSchema:u,missingRef:p}){if(this.refs[u])throw new Error(`AnySchema ${u} is loaded but ${p} cannot be resolved`)}async function l(u){let p=await c.call(this,u);this.refs[u]||await r.call(this,p.$schema),this.refs[u]||this.addSchema(p,u,n)}async function c(u){let p=this._loading[u];if(p)return p;try{return await(this._loading[u]=i(u))}finally{delete this._loading[u]}}}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,pl.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=U0.call(this,e))=="string";)e=n;if(n===void 0){let{schemaId:i}=this.opts,a=new cl.SchemaEnv({schema:{},schemaId:i});if(n=cl.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=U0.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,pl.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(EF.call(this,i,n),!n)return(0,iv.eachItem)(i,r=>nv.call(this,r)),this;_F.call(this,n);let a={...n,type:(0,dp.getJSONTypes)(n.type),schemaType:(0,dp.getJSONTypes)(n.schemaType)};return(0,iv.eachItem)(i,a.type.length===0?r=>nv.call(this,r,a):r=>a.type.forEach(s=>nv.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:c}=l.definition,u=s[o];c&&u&&(s[o]=L0(u))}}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,pl.normalizeId)(s||i);let c=pl.getSchemaRefs.call(this,e,i);return l=new cl.SchemaEnv({schema:e,schemaId:o,meta:n,baseId:i,localRefs:c}),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):cl.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{cl.compileSchema.call(this,e)}finally{this.opts=n}}};dl.ValidationError=mF.default;dl.MissingRefError=$0.default;qn.default=dl;function N0(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 U0(t){return t=(0,pl.normalizeId)(t),this.schemas[t]||this.refs[t]}function PF(){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 jF(){for(let t in this.opts.formats){let e=this.opts.formats[t];e&&this.addFormat(t,e)}}function SF(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 OF(){let t={...this.opts};for(let e of CF)delete t[e];return t}var TF={log(){},warn(){},error(){}};function kF(t){if(t===!1)return TF;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 MF=/^[a-z_$][a-z0-9_$:-]*$/i;function EF(t,e){let{RULES:n}=this;if((0,iv.eachItem)(t,i=>{if(n.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!MF.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 nv(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,dp.getJSONTypes)(e.type),schemaType:(0,dp.getJSONTypes)(e.schemaType)}};e.before?qF.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 qF(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 _F(t){let{metaSchema:e}=t;e!==void 0&&(t.$data&&this.opts.$data&&(e=L0(e)),t.validateSchema=this.compile(e,!0))}var HF={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function L0(t){return{anyOf:[t,HF]}}});var V0=v(tv=>{"use strict";Object.defineProperty(tv,"__esModule",{value:!0});var WF={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};tv.default=WF});var Q0=v(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.callRef=lr.getValidate=void 0;var RF=ol(),J0=Ui(),pi=se(),As=$t(),K0=sp(),hp=be(),IF={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:c}=r;if((n==="#"||n==="#/")&&a===c.baseId)return p();let u=K0.resolveRef.call(l,c,a,n);if(u===void 0)throw new RF.default(i.opts.uriResolver,a,n);if(u instanceof K0.SchemaEnv)return h(u);return g(u);function p(){if(r===c)return gp(t,s,r,r.$async);let d=e.scopeValue("root",{ref:c});return gp(t,(0,pi._)`${d}.validate`,c,c.$async)}function h(d){let m=Z0(t,d);gp(t,m,d,d.$async)}function g(d){let m=e.scopeValue("schema",o.code.source===!0?{ref:d,code:(0,pi.stringify)(d)}:{ref:d}),w=e.name("valid"),f=t.subschema({schema:d,dataTypes:[],schemaPath:pi.nil,topSchemaRef:m,errSchemaPath:n},w);t.mergeEvaluated(f),t.ok(w)}}};function Z0(t,e){let{gen:n}=t;return e.validate?n.scopeValue("validate",{ref:e.validate}):(0,pi._)`${n.scopeValue("wrapper",{ref:e})}.validate`}lr.getValidate=Z0;function gp(t,e,n,i){let{gen:a,it:r}=t,{allErrors:s,schemaEnv:o,opts:l}=r,c=l.passContext?As.default.this:pi.nil;i?u():p();function u(){if(!o.$async)throw new Error("async schema referenced by sync schema");let d=a.let("valid");a.try(()=>{a.code((0,pi._)`await ${(0,J0.callValidateCode)(t,e,c)}`),g(e),s||a.assign(d,!0)},m=>{a.if((0,pi._)`!(${m} instanceof ${r.ValidationError})`,()=>a.throw(m)),h(m),s||a.assign(d,!1)}),t.ok(d)}function p(){t.result((0,J0.callValidateCode)(t,e,c),()=>g(e),()=>h(e))}function h(d){let m=(0,pi._)`${d}.errors`;a.assign(As.default.vErrors,(0,pi._)`${As.default.vErrors} === null ? ${m} : ${As.default.vErrors}.concat(${m})`),a.assign(As.default.errors,(0,pi._)`${As.default.vErrors}.length`)}function g(d){var m;if(!r.opts.unevaluated)return;let w=(m=n?.validate)===null||m===void 0?void 0:m.evaluated;if(r.props!==!0)if(w&&!w.dynamicProps)w.props!==void 0&&(r.props=hp.mergeEvaluated.props(a,w.props,r.props));else{let f=a.var("props",(0,pi._)`${d}.evaluated.props`);r.props=hp.mergeEvaluated.props(a,f,r.props,pi.Name)}if(r.items!==!0)if(w&&!w.dynamicItems)w.items!==void 0&&(r.items=hp.mergeEvaluated.items(a,w.items,r.items));else{let f=a.var("items",(0,pi._)`${d}.evaluated.items`);r.items=hp.mergeEvaluated.items(a,f,r.items,pi.Name)}}}lr.callRef=gp;lr.default=IF});var Y0=v(av=>{"use strict";Object.defineProperty(av,"__esModule",{value:!0});var zF=V0(),DF=Q0(),GF=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",zF.default,DF.default];av.default=GF});var X0=v(rv=>{"use strict";Object.defineProperty(rv,"__esModule",{value:!0});var mp=se(),ma=mp.operators,fp={maximum:{okStr:"<=",ok:ma.LTE,fail:ma.GT},minimum:{okStr:">=",ok:ma.GTE,fail:ma.LT},exclusiveMaximum:{okStr:"<",ok:ma.LT,fail:ma.GTE},exclusiveMinimum:{okStr:">",ok:ma.GT,fail:ma.LTE}},NF={message:({keyword:t,schemaCode:e})=>(0,mp.str)`must be ${fp[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,mp._)`{comparison: ${fp[t].okStr}, limit: ${e}}`},UF={keyword:Object.keys(fp),type:"number",schemaType:"number",$data:!0,error:NF,code(t){let{keyword:e,data:n,schemaCode:i}=t;t.fail$data((0,mp._)`${n} ${fp[e].fail} ${i} || isNaN(${n})`)}};rv.default=UF});var ek=v(sv=>{"use strict";Object.defineProperty(sv,"__esModule",{value:!0});var hl=se(),$F={message:({schemaCode:t})=>(0,hl.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,hl._)`{multipleOf: ${t}}`},BF={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:$F,code(t){let{gen:e,data:n,schemaCode:i,it:a}=t,r=a.opts.multipleOfPrecision,s=e.let("res"),o=r?(0,hl._)`Math.abs(Math.round(${s}) - ${s}) > 1e-${r}`:(0,hl._)`${s} !== parseInt(${s})`;t.fail$data((0,hl._)`(${i} === 0 || (${s} = ${n}/${i}, ${o}))`)}};sv.default=BF});var ik=v(ov=>{"use strict";Object.defineProperty(ov,"__esModule",{value:!0});function nk(t){let e=t.length,n=0,i=0,a;for(;i=55296&&a<=56319&&i{"use strict";Object.defineProperty(lv,"__esModule",{value:!0});var ur=se(),LF=be(),FF=ik(),VF={message({keyword:t,schemaCode:e}){let n=t==="maxLength"?"more":"fewer";return(0,ur.str)`must NOT have ${n} than ${e} characters`},params:({schemaCode:t})=>(0,ur._)`{limit: ${t}}`},JF={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:VF,code(t){let{keyword:e,data:n,schemaCode:i,it:a}=t,r=e==="maxLength"?ur.operators.GT:ur.operators.LT,s=a.opts.unicode===!1?(0,ur._)`${n}.length`:(0,ur._)`${(0,LF.useFunc)(t.gen,FF.default)}(${n})`;t.fail$data((0,ur._)`${s} ${r} ${i}`)}};lv.default=JF});var ak=v(uv=>{"use strict";Object.defineProperty(uv,"__esModule",{value:!0});var KF=Ui(),ZF=be(),bs=se(),QF={message:({schemaCode:t})=>(0,bs.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,bs._)`{pattern: ${t}}`},YF={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:QF,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,c=l.code==="new RegExp"?(0,bs._)`new RegExp`:(0,ZF.useFunc)(e,l),u=e.let("valid");e.try(()=>e.assign(u,(0,bs._)`${c}(${r}, ${o}).test(${n})`),()=>e.assign(u,!1)),t.fail$data((0,bs._)`!${u}`)}else{let l=(0,KF.usePattern)(t,a);t.fail$data((0,bs._)`!${l}.test(${n})`)}}};uv.default=YF});var rk=v(cv=>{"use strict";Object.defineProperty(cv,"__esModule",{value:!0});var gl=se(),XF={message({keyword:t,schemaCode:e}){let n=t==="maxProperties"?"more":"fewer";return(0,gl.str)`must NOT have ${n} than ${e} properties`},params:({schemaCode:t})=>(0,gl._)`{limit: ${t}}`},e5={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:XF,code(t){let{keyword:e,data:n,schemaCode:i}=t,a=e==="maxProperties"?gl.operators.GT:gl.operators.LT;t.fail$data((0,gl._)`Object.keys(${n}).length ${a} ${i}`)}};cv.default=e5});var sk=v(pv=>{"use strict";Object.defineProperty(pv,"__esModule",{value:!0});var ml=Ui(),fl=se(),n5=be(),i5={message:({params:{missingProperty:t}})=>(0,fl.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,fl._)`{missingProperty: ${t}}`},t5={keyword:"required",type:"object",schemaType:"array",$data:!0,error:i5,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?c():u(),o.strictRequired){let g=t.parentSchema.properties,{definedProperties:d}=t.it;for(let m of n)if(g?.[m]===void 0&&!d.has(m)){let w=s.schemaEnv.baseId+s.errSchemaPath,f=`required property "${m}" is not defined at "${w}" (strictRequired)`;(0,n5.checkStrictMode)(s,f,s.opts.strictRequired)}}function c(){if(l||r)t.block$data(fl.nil,p);else for(let g of n)(0,ml.checkReportMissingProp)(t,g)}function u(){let g=e.let("missing");if(l||r){let d=e.let("valid",!0);t.block$data(d,()=>h(g,d)),t.ok(d)}else e.if((0,ml.checkMissingProp)(t,n,g)),(0,ml.reportMissingProp)(t,g),e.else()}function p(){e.forOf("prop",i,g=>{t.setParams({missingProperty:g}),e.if((0,ml.noPropertyInData)(e,a,g,o.ownProperties),()=>t.error())})}function h(g,d){t.setParams({missingProperty:g}),e.forOf(g,i,()=>{e.assign(d,(0,ml.propertyInData)(e,a,g,o.ownProperties)),e.if((0,fl.not)(d),()=>{t.error(),e.break()})},fl.nil)}}};pv.default=t5});var ok=v(dv=>{"use strict";Object.defineProperty(dv,"__esModule",{value:!0});var wl=se(),a5={message({keyword:t,schemaCode:e}){let n=t==="maxItems"?"more":"fewer";return(0,wl.str)`must NOT have ${n} than ${e} items`},params:({schemaCode:t})=>(0,wl._)`{limit: ${t}}`},r5={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:a5,code(t){let{keyword:e,data:n,schemaCode:i}=t,a=e==="maxItems"?wl.operators.GT:wl.operators.LT;t.fail$data((0,wl._)`${n}.length ${a} ${i}`)}};dv.default=r5});var wp=v(hv=>{"use strict";Object.defineProperty(hv,"__esModule",{value:!0});var lk=Mw();lk.code='require("ajv/dist/runtime/equal").default';hv.default=lk});var uk=v(mv=>{"use strict";Object.defineProperty(mv,"__esModule",{value:!0});var gv=il(),_n=se(),s5=be(),o5=wp(),l5={message:({params:{i:t,j:e}})=>(0,_n.str)`must NOT have duplicate items (items ## ${e} and ${t} are identical)`,params:({params:{i:t,j:e}})=>(0,_n._)`{i: ${t}, j: ${e}}`},u5={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:l5,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"),c=r.items?(0,gv.getSchemaTypes)(r.items):[];t.block$data(l,u,(0,_n._)`${s} === false`),t.ok(l);function u(){let d=e.let("i",(0,_n._)`${n}.length`),m=e.let("j");t.setParams({i:d,j:m}),e.assign(l,!0),e.if((0,_n._)`${d} > 1`,()=>(p()?h:g)(d,m))}function p(){return c.length>0&&!c.some(d=>d==="object"||d==="array")}function h(d,m){let w=e.name("item"),f=(0,gv.checkDataTypes)(c,w,o.opts.strictNumbers,gv.DataType.Wrong),A=e.const("indices",(0,_n._)`{}`);e.for((0,_n._)`;${d}--;`,()=>{e.let(w,(0,_n._)`${n}[${d}]`),e.if(f,(0,_n._)`continue`),c.length>1&&e.if((0,_n._)`typeof ${w} == "string"`,(0,_n._)`${w} += "_"`),e.if((0,_n._)`typeof ${A}[${w}] == "number"`,()=>{e.assign(m,(0,_n._)`${A}[${w}]`),t.error(),e.assign(l,!1).break()}).code((0,_n._)`${A}[${w}] = ${d}`)})}function g(d,m){let w=(0,s5.useFunc)(e,o5.default),f=e.name("outer");e.label(f).for((0,_n._)`;${d}--;`,()=>e.for((0,_n._)`${m} = ${d}; ${m}--;`,()=>e.if((0,_n._)`${w}(${n}[${d}], ${n}[${m}])`,()=>{t.error(),e.assign(l,!1).break(f)})))}}};mv.default=u5});var ck=v(wv=>{"use strict";Object.defineProperty(wv,"__esModule",{value:!0});var fv=se(),c5=be(),p5=wp(),d5={message:"must be equal to constant",params:({schemaCode:t})=>(0,fv._)`{allowedValue: ${t}}`},h5={keyword:"const",$data:!0,error:d5,code(t){let{gen:e,data:n,$data:i,schemaCode:a,schema:r}=t;i||r&&typeof r=="object"?t.fail$data((0,fv._)`!${(0,c5.useFunc)(e,p5.default)}(${n}, ${a})`):t.fail((0,fv._)`${r} !== ${n}`)}};wv.default=h5});var pk=v(vv=>{"use strict";Object.defineProperty(vv,"__esModule",{value:!0});var vl=se(),g5=be(),m5=wp(),f5={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,vl._)`{allowedValues: ${t}}`},w5={keyword:"enum",schemaType:"array",$data:!0,error:f5,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,c=()=>l??(l=(0,g5.useFunc)(e,m5.default)),u;if(o||i)u=e.let("valid"),t.block$data(u,p);else{if(!Array.isArray(a))throw new Error("ajv implementation error");let g=e.const("vSchema",r);u=(0,vl.or)(...a.map((d,m)=>h(g,m)))}t.pass(u);function p(){e.assign(u,!1),e.forOf("v",r,g=>e.if((0,vl._)`${c()}(${n}, ${g})`,()=>e.assign(u,!0).break()))}function h(g,d){let m=a[d];return typeof m=="object"&&m!==null?(0,vl._)`${c()}(${n}, ${g}[${d}])`:(0,vl._)`${n} === ${m}`}}};vv.default=w5});var dk=v(Cv=>{"use strict";Object.defineProperty(Cv,"__esModule",{value:!0});var v5=X0(),C5=ek(),A5=tk(),b5=ak(),x5=rk(),y5=sk(),P5=ok(),j5=uk(),S5=ck(),O5=pk(),T5=[v5.default,C5.default,A5.default,b5.default,x5.default,y5.default,P5.default,j5.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},S5.default,O5.default];Cv.default=T5});var bv=v(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.validateAdditionalItems=void 0;var cr=se(),Av=be(),k5={message:({params:{len:t}})=>(0,cr.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,cr._)`{limit: ${t}}`},M5={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:k5,code(t){let{parentSchema:e,it:n}=t,{items:i}=e;if(!Array.isArray(i)){(0,Av.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas');return}hk(t,i)}};function hk(t,e){let{gen:n,schema:i,data:a,keyword:r,it:s}=t;s.items=!0;let o=n.const("len",(0,cr._)`${a}.length`);if(i===!1)t.setParams({len:e.length}),t.pass((0,cr._)`${o} <= ${e.length}`);else if(typeof i=="object"&&!(0,Av.alwaysValidSchema)(s,i)){let c=n.var("valid",(0,cr._)`${o} <= ${e.length}`);n.if((0,cr.not)(c),()=>l(c)),t.ok(c)}function l(c){n.forRange("i",e.length,o,u=>{t.subschema({keyword:r,dataProp:u,dataPropType:Av.Type.Num},c),s.allErrors||n.if((0,cr.not)(c),()=>n.break())})}}Cl.validateAdditionalItems=hk;Cl.default=M5});var xv=v(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.validateTuple=void 0;var gk=se(),vp=be(),E5=Ui(),q5={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:e,it:n}=t;if(Array.isArray(e))return mk(t,"additionalItems",e);n.items=!0,!(0,vp.alwaysValidSchema)(n,e)&&t.ok((0,E5.validateArray)(t))}};function mk(t,e,n=t.schema){let{gen:i,parentSchema:a,data:r,keyword:s,it:o}=t;u(a),o.opts.unevaluated&&n.length&&o.items!==!0&&(o.items=vp.mergeEvaluated.items(i,n.length,o.items));let l=i.name("valid"),c=i.const("len",(0,gk._)`${r}.length`);n.forEach((p,h)=>{(0,vp.alwaysValidSchema)(o,p)||(i.if((0,gk._)`${c} > ${h}`,()=>t.subschema({keyword:s,schemaProp:h,dataProp:h},l)),t.ok(l))});function u(p){let{opts:h,errSchemaPath:g}=o,d=n.length,m=d===p.minItems&&(d===p.maxItems||p[e]===!1);if(h.strictTuples&&!m){let w=`"${s}" is ${d}-tuple, but minItems or maxItems/${e} are not specified or different at path "${g}"`;(0,vp.checkStrictMode)(o,w,h.strictTuples)}}}Al.validateTuple=mk;Al.default=q5});var fk=v(yv=>{"use strict";Object.defineProperty(yv,"__esModule",{value:!0});var _5=xv(),H5={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,_5.validateTuple)(t,"items")};yv.default=H5});var vk=v(Pv=>{"use strict";Object.defineProperty(Pv,"__esModule",{value:!0});var wk=se(),W5=be(),R5=Ui(),I5=bv(),z5={message:({params:{len:t}})=>(0,wk.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,wk._)`{limit: ${t}}`},D5={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:z5,code(t){let{schema:e,parentSchema:n,it:i}=t,{prefixItems:a}=n;i.items=!0,!(0,W5.alwaysValidSchema)(i,e)&&(a?(0,I5.validateAdditionalItems)(t,a):t.ok((0,R5.validateArray)(t)))}};Pv.default=D5});var Ck=v(jv=>{"use strict";Object.defineProperty(jv,"__esModule",{value:!0});var Bi=se(),Cp=be(),G5={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}}`},N5={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:G5,code(t){let{gen:e,schema:n,parentSchema:i,data:a,it:r}=t,s,o,{minContains:l,maxContains:c}=i;r.opts.next?(s=l===void 0?1:l,o=c):s=1;let u=e.const("len",(0,Bi._)`${a}.length`);if(t.setParams({min:s,max:o}),o===void 0&&s===0){(0,Cp.checkStrictMode)(r,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(o!==void 0&&s>o){(0,Cp.checkStrictMode)(r,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,Cp.alwaysValidSchema)(r,n)){let m=(0,Bi._)`${u} >= ${s}`;o!==void 0&&(m=(0,Bi._)`${m} && ${u} <= ${o}`),t.pass(m);return}r.items=!0;let p=e.name("valid");o===void 0&&s===1?g(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"),w=e.let("count",0);g(m,()=>e.if(m,()=>d(w)))}function g(m,w){e.forRange("i",0,u,f=>{t.subschema({keyword:"contains",dataProp:f,dataPropType:Cp.Type.Num,compositeRule:!0},m),w()})}function d(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)))}}};jv.default=N5});var xk=v(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.validateSchemaDeps=xt.validatePropertyDeps=xt.error=void 0;var Sv=se(),U5=be(),bl=Ui();xt.error={message:({params:{property:t,depsCount:e,deps:n}})=>{let i=e===1?"property":"properties";return(0,Sv.str)`must have ${i} ${n} when property ${t} is present`},params:({params:{property:t,depsCount:e,deps:n,missingProperty:i}})=>(0,Sv._)`{property: ${t}, missingProperty: ${i}, depsCount: ${e}, - deps: ${n}}`};var nF={keyword:"dependencies",type:"object",schemaType:"object",error:ut.error,code(t){let[e,n]=iF(t);DT(t,e),GT(t,n)}};function iF({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 DT(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,Yo.propertyInData)(n,i,s,a.opts.ownProperties);t.setParams({property:s,depsCount:o.length,deps:o.join(", ")}),a.allErrors?n.if(l,()=>{for(let c of o)(0,Yo.checkReportMissingProp)(t,c)}):(n.if((0,ww._)`${l} && (${(0,Yo.checkMissingProp)(t,o,r)})`),(0,Yo.reportMissingProp)(t,r),n.else())}}ut.validatePropertyDeps=DT;function GT(t,e=t.schema){let{gen:n,data:i,keyword:a,it:r}=t,s=n.name("valid");for(let o in e)(0,eF.alwaysValidSchema)(r,e[o])||(n.if((0,Yo.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))}ut.validateSchemaDeps=GT;ut.default=nF});var $T=v(vw=>{"use strict";Object.defineProperty(vw,"__esModule",{value:!0});var UT=re(),tF=be(),aF={message:"property name must be valid",params:({params:t})=>(0,UT._)`{propertyName: ${t.propertyName}}`},rF={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:aF,code(t){let{gen:e,schema:n,data:i,it:a}=t;if((0,tF.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,UT.not)(r),()=>{t.error(!0),a.allErrors||e.break()})}),t.ok(r)}};vw.default=rF});var Aw=v(Cw=>{"use strict";Object.defineProperty(Cw,"__esModule",{value:!0});var Ec=Ri(),Zi=re(),sF=Tt(),qc=be(),oF={message:"must NOT have additional properties",params:({params:t})=>(0,Zi._)`{additionalProperty: ${t.additionalProperty}}`},lF={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:oF,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,qc.alwaysValidSchema)(s,n))return;let c=(0,Ec.allSchemaProperties)(i.properties),u=(0,Ec.allSchemaProperties)(i.patternProperties);d(),t.ok((0,Zi._)`${r} === ${sF.default.errors}`);function d(){e.forIn("key",a,f=>{!c.length&&!u.length?p(f):e.if(h(f),()=>p(f))})}function h(f){let w;if(c.length>8){let b=(0,qc.schemaRefOrVal)(s,i.properties,"properties");w=(0,Ec.isOwnProperty)(e,b,f)}else c.length?w=(0,Zi.or)(...c.map(b=>(0,Zi._)`${f} === ${b}`)):w=Zi.nil;return u.length&&(w=(0,Zi.or)(w,...u.map(b=>(0,Zi._)`${(0,Ec.usePattern)(t,b)}.test(${f})`))),(0,Zi.not)(w)}function g(f){e.code((0,Zi._)`delete ${a}[${f}]`)}function p(f){if(l.removeAdditional==="all"||l.removeAdditional&&n===!1){g(f);return}if(n===!1){t.setParams({additionalProperty:f}),t.error(),o||e.break();return}if(typeof n=="object"&&!(0,qc.alwaysValidSchema)(s,n)){let w=e.name("valid");l.removeAdditional==="failing"?(m(f,w,!1),e.if((0,Zi.not)(w),()=>{t.reset(),g(f)})):(m(f,w),o||e.if((0,Zi.not)(w),()=>e.break()))}}function m(f,w,b){let A={keyword:"additionalProperties",dataProp:f,dataPropType:qc.Type.Str};b===!1&&Object.assign(A,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(A,w)}}};Cw.default=lF});var FT=v(xw=>{"use strict";Object.defineProperty(xw,"__esModule",{value:!0});var uF=Wo(),LT=Ri(),bw=be(),BT=Aw(),cF={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&&BT.default.code(new uF.KeywordCxt(r,BT.default,"additionalProperties"));let s=(0,LT.allSchemaProperties)(n);for(let d of s)r.definedProperties.add(d);r.opts.unevaluated&&s.length&&r.props!==!0&&(r.props=bw.mergeEvaluated.props(e,(0,bw.toHash)(s),r.props));let o=s.filter(d=>!(0,bw.alwaysValidSchema)(r,n[d]));if(o.length===0)return;let l=e.name("valid");for(let d of o)c(d)?u(d):(e.if((0,LT.propertyInData)(e,a,d,r.opts.ownProperties)),u(d),r.allErrors||e.else().var(l,!0),e.endIf()),t.it.definedProperties.add(d),t.ok(l);function c(d){return r.opts.useDefaults&&!r.compositeRule&&n[d].default!==void 0}function u(d){t.subschema({keyword:"properties",schemaProp:d,dataProp:d},l)}}};xw.default=cF});var KT=v(yw=>{"use strict";Object.defineProperty(yw,"__esModule",{value:!0});var VT=Ri(),_c=re(),JT=be(),ZT=be(),pF={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,VT.allSchemaProperties)(n),l=o.filter(m=>(0,JT.alwaysValidSchema)(r,n[m]));if(o.length===0||l.length===o.length&&(!r.opts.unevaluated||r.props===!0))return;let c=s.strictSchema&&!s.allowMatchingProperties&&a.properties,u=e.name("valid");r.props!==!0&&!(r.props instanceof _c.Name)&&(r.props=(0,ZT.evaluatedPropsToName)(e,r.props));let{props:d}=r;h();function h(){for(let m of o)c&&g(m),r.allErrors?p(m):(e.var(u,!0),p(m),e.if(u))}function g(m){for(let f in c)new RegExp(m).test(f)&&(0,JT.checkStrictMode)(r,`property ${f} matches pattern ${m} (use allowMatchingProperties)`)}function p(m){e.forIn("key",i,f=>{e.if((0,_c._)`${(0,VT.usePattern)(t,m)}.test(${f})`,()=>{let w=l.includes(m);w||t.subschema({keyword:"patternProperties",schemaProp:m,dataProp:f,dataPropType:ZT.Type.Str},u),r.opts.unevaluated&&d!==!0?e.assign((0,_c._)`${d}[${f}]`,!0):!w&&!r.allErrors&&e.if((0,_c.not)(u),()=>e.break())})})}}};yw.default=pF});var QT=v(Pw=>{"use strict";Object.defineProperty(Pw,"__esModule",{value:!0});var dF=be(),hF={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:e,schema:n,it:i}=t;if((0,dF.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"}};Pw.default=hF});var YT=v(jw=>{"use strict";Object.defineProperty(jw,"__esModule",{value:!0});var gF=Ri(),mF={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:gF.validateUnion,error:{message:"must match a schema in anyOf"}};jw.default=mF});var XT=v(Sw=>{"use strict";Object.defineProperty(Sw,"__esModule",{value:!0});var Hc=re(),fF=be(),wF={message:"must match exactly one schema in oneOf",params:({params:t})=>(0,Hc._)`{passingSchemas: ${t.passing}}`},vF={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:wF,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(c),t.result(s,()=>t.reset(),()=>t.error(!0));function c(){r.forEach((u,d)=>{let h;(0,fF.alwaysValidSchema)(a,u)?e.var(l,!0):h=t.subschema({keyword:"oneOf",schemaProp:d,compositeRule:!0},l),d>0&&e.if((0,Hc._)`${l} && ${s}`).assign(s,!1).assign(o,(0,Hc._)`[${o}, ${d}]`).else(),e.if(l,()=>{e.assign(s,!0),e.assign(o,d),h&&t.mergeEvaluated(h,Hc.Name)})})}}};Sw.default=vF});var eM=v(Ow=>{"use strict";Object.defineProperty(Ow,"__esModule",{value:!0});var CF=be(),AF={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,CF.alwaysValidSchema)(i,r))return;let o=t.subschema({keyword:"allOf",schemaProp:s},a);t.ok(a),t.mergeEvaluated(o)})}};Ow.default=AF});var tM=v(Tw=>{"use strict";Object.defineProperty(Tw,"__esModule",{value:!0});var Rc=re(),iM=be(),bF={message:({params:t})=>(0,Rc.str)`must match "${t.ifClause}" schema`,params:({params:t})=>(0,Rc._)`{failingKeyword: ${t.ifClause}}`},xF={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:bF,code(t){let{gen:e,parentSchema:n,it:i}=t;n.then===void 0&&n.else===void 0&&(0,iM.checkStrictMode)(i,'"if" without "then" and "else" is ignored');let a=nM(i,"then"),r=nM(i,"else");if(!a&&!r)return;let s=e.let("valid",!0),o=e.name("_valid");if(l(),t.reset(),a&&r){let u=e.let("ifClause");t.setParams({ifClause:u}),e.if(o,c("then",u),c("else",u))}else a?e.if(o,c("then")):e.if((0,Rc.not)(o),c("else"));t.pass(s,()=>t.error(!0));function l(){let u=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},o);t.mergeEvaluated(u)}function c(u,d){return()=>{let h=t.subschema({keyword:u},o);e.assign(s,o),t.mergeValidEvaluated(h,s),d?e.assign(d,(0,Rc._)`${u}`):t.setParams({ifClause:u})}}}};function nM(t,e){let n=t.schema[e];return n!==void 0&&!(0,iM.alwaysValidSchema)(t,n)}Tw.default=xF});var aM=v(Mw=>{"use strict";Object.defineProperty(Mw,"__esModule",{value:!0});var yF=be(),PF={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:e,it:n}){e.if===void 0&&(0,yF.checkStrictMode)(n,`"${t}" without "if" is ignored`)}};Mw.default=PF});var rM=v(kw=>{"use strict";Object.defineProperty(kw,"__esModule",{value:!0});var jF=dw(),SF=RT(),OF=hw(),TF=WT(),MF=zT(),kF=NT(),EF=$T(),qF=Aw(),_F=FT(),HF=KT(),RF=QT(),IF=YT(),WF=XT(),zF=eM(),DF=tM(),GF=aM();function NF(t=!1){let e=[RF.default,IF.default,WF.default,zF.default,DF.default,GF.default,EF.default,qF.default,kF.default,_F.default,HF.default];return t?e.push(SF.default,TF.default):e.push(jF.default,OF.default),e.push(MF.default),e}kw.default=NF});var sM=v(Ew=>{"use strict";Object.defineProperty(Ew,"__esModule",{value:!0});var tn=re(),UF={message:({schemaCode:t})=>(0,tn.str)`must match format "${t}"`,params:({schemaCode:t})=>(0,tn._)`{format: ${t}}`},$F={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:UF,code(t,e){let{gen:n,data:i,$data:a,schema:r,schemaCode:s,it:o}=t,{opts:l,errSchemaPath:c,schemaEnv:u,self:d}=o;if(!l.validateFormats)return;a?h():g();function h(){let p=n.scopeValue("formats",{ref:d.formats,code:l.code.formats}),m=n.const("fDef",(0,tn._)`${p}[${s}]`),f=n.let("fType"),w=n.let("format");n.if((0,tn._)`typeof ${m} == "object" && !(${m} instanceof RegExp)`,()=>n.assign(f,(0,tn._)`${m}.type || "string"`).assign(w,(0,tn._)`${m}.validate`),()=>n.assign(f,(0,tn._)`"string"`).assign(w,m)),t.fail$data((0,tn.or)(b(),A()));function b(){return l.strictSchema===!1?tn.nil:(0,tn._)`${s} && !${w}`}function A(){let x=u.$async?(0,tn._)`(${m}.async ? await ${w}(${i}) : ${w}(${i}))`:(0,tn._)`${w}(${i})`,S=(0,tn._)`(typeof ${w} == "function" ? ${x} : ${w}.test(${i}))`;return(0,tn._)`${w} && ${w} !== true && ${f} === ${e} && !${S}`}}function g(){let p=d.formats[r];if(!p){b();return}if(p===!0)return;let[m,f,w]=A(p);m===e&&t.pass(x());function b(){if(l.strictSchema===!1){d.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${r}" ignored in schema at path "${c}"`}}function A(S){let q=S instanceof RegExp?(0,tn.regexpCode)(S):l.code.formats?(0,tn._)`${l.code.formats}${(0,tn.getProperty)(r)}`:void 0,$=n.scopeValue("formats",{key:r,ref:S,code:q});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,tn._)`${$}.validate`]:["string",S,$]}function x(){if(typeof p=="object"&&!(p instanceof RegExp)&&p.async){if(!u.$async)throw new Error("async format in sync schema");return(0,tn._)`await ${w}(${i})`}return typeof f=="function"?(0,tn._)`${w}(${i})`:(0,tn._)`${w}.test(${i})`}}}};Ew.default=$F});var oM=v(qw=>{"use strict";Object.defineProperty(qw,"__esModule",{value:!0});var LF=sM(),BF=[LF.default];qw.default=BF});var lM=v(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.contentVocabulary=is.metadataVocabulary=void 0;is.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];is.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var cM=v(_w=>{"use strict";Object.defineProperty(_w,"__esModule",{value:!0});var FF=wT(),VF=ET(),JF=rM(),ZF=oM(),uM=lM(),KF=[FF.default,VF.default,(0,JF.default)(),ZF.default,uM.metadataVocabulary,uM.contentVocabulary];_w.default=KF});var dM=v(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});Ic.DiscrError=void 0;var pM;(function(t){t.Tag="tag",t.Mapping="mapping"})(pM||(Ic.DiscrError=pM={}))});var gM=v(Rw=>{"use strict";Object.defineProperty(Rw,"__esModule",{value:!0});var ts=re(),Hw=dM(),hM=wc(),QF=zo(),YF=be(),XF={message:({params:{discrError:t,tagName:e}})=>t===Hw.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in oneOf`,params:({params:{discrError:t,tag:e,tagName:n}})=>(0,ts._)`{error: ${t}, tag: ${n}, tagValue: ${e}}`},e4={keyword:"discriminator",type:"object",schemaType:"object",error:XF,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),c=e.const("tag",(0,ts._)`${n}${(0,ts.getProperty)(o)}`);e.if((0,ts._)`typeof ${c} == "string"`,()=>u(),()=>t.error(!1,{discrError:Hw.DiscrError.Tag,tag:c,tagName:o})),t.ok(l);function u(){let g=h();e.if(!1);for(let p in g)e.elseIf((0,ts._)`${c} === ${p}`),e.assign(l,d(g[p]));e.else(),t.error(!1,{discrError:Hw.DiscrError.Mapping,tag:c,tagName:o}),e.endIf()}function d(g){let p=e.name("valid"),m=t.subschema({keyword:"oneOf",schemaProp:g},p);return t.mergeEvaluated(m,ts.Name),p}function h(){var g;let p={},m=w(a),f=!0;for(let x=0;x{n4.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 Ww=v(($e,Iw)=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.MissingRefError=$e.ValidationError=$e.CodeGen=$e.Name=$e.nil=$e.stringify=$e.str=$e._=$e.KeywordCxt=$e.Ajv=void 0;var i4=pT(),t4=cM(),a4=gM(),fM=mM(),r4=["/properties"],Wc="http://json-schema.org/draft-07/schema",as=class extends i4.default{_addVocabularies(){super._addVocabularies(),t4.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(a4.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(fM,r4):fM;this.addMetaSchema(e,Wc,!1),this.refs["http://json-schema.org/schema"]=Wc}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Wc)?Wc:void 0)}};$e.Ajv=as;Iw.exports=$e=as;Iw.exports.Ajv=as;Object.defineProperty($e,"__esModule",{value:!0});$e.default=as;var s4=Wo();Object.defineProperty($e,"KeywordCxt",{enumerable:!0,get:function(){return s4.KeywordCxt}});var rs=re();Object.defineProperty($e,"_",{enumerable:!0,get:function(){return rs._}});Object.defineProperty($e,"str",{enumerable:!0,get:function(){return rs.str}});Object.defineProperty($e,"stringify",{enumerable:!0,get:function(){return rs.stringify}});Object.defineProperty($e,"nil",{enumerable:!0,get:function(){return rs.nil}});Object.defineProperty($e,"Name",{enumerable:!0,get:function(){return rs.Name}});Object.defineProperty($e,"CodeGen",{enumerable:!0,get:function(){return rs.CodeGen}});var o4=mc();Object.defineProperty($e,"ValidationError",{enumerable:!0,get:function(){return o4.default}});var l4=zo();Object.defineProperty($e,"MissingRefError",{enumerable:!0,get:function(){return l4.default}})});var PM=v(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.formatNames=pt.fastFormats=pt.fullFormats=void 0;function ct(t,e){return{validate:t,compare:e}}pt.fullFormats={date:ct(AM,Nw),time:ct(Dw(!0),Uw),"date-time":ct(wM(!0),xM),"iso-time":ct(Dw(),bM),"iso-date-time":ct(wM(),yM),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:g4,"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:b4,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:m4,int32:{type:"number",validate:v4},int64:{type:"number",validate:C4},float:{type:"number",validate:CM},double:{type:"number",validate:CM},password:!0,binary:!0};pt.fastFormats={...pt.fullFormats,date:ct(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,Nw),time:ct(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Uw),"date-time":ct(/^\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,xM),"iso-time":ct(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,bM),"iso-date-time":ct(/^\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,yM),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};pt.formatNames=Object.keys(pt.fullFormats);function u4(t){return t%4===0&&(t%100!==0||t%400===0)}var c4=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,p4=[0,31,28,31,30,31,30,31,31,30,31,30,31];function AM(t){let e=c4.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&&u4(n)?29:p4[i])}function Nw(t,e){if(t&&e)return t>e?1:t23||u>59||t&&!o)return!1;if(a<=23&&r<=59&&s<60)return!0;let d=r-u*l,h=a-c*l-(d<0?1:0);return(h===23||h===-1)&&(d===59||d===-1)&&s<61}}function Uw(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 bM(t,e){if(!(t&&e))return;let n=zw.exec(t),i=zw.exec(e);if(n&&i)return t=n[1]+n[2]+n[3],e=i[1]+i[2]+i[3],t>e?1:t=f4}function C4(t){return Number.isInteger(t)}function CM(){return!0}var A4=/[^\\]\\Z/;function b4(t){if(A4.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var jM=v(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.formatLimitDefinition=void 0;var x4=Ww(),Ki=re(),ta=Ki.operators,zc={formatMaximum:{okStr:"<=",ok:ta.LTE,fail:ta.GT},formatMinimum:{okStr:">=",ok:ta.GTE,fail:ta.LT},formatExclusiveMaximum:{okStr:"<",ok:ta.LT,fail:ta.GTE},formatExclusiveMinimum:{okStr:">",ok:ta.GT,fail:ta.LTE}},y4={message:({keyword:t,schemaCode:e})=>(0,Ki.str)`should be ${zc[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,Ki._)`{comparison: ${zc[t].okStr}, limit: ${e}}`};ss.formatLimitDefinition={keyword:Object.keys(zc),type:"string",schemaType:"string",$data:!0,error:y4,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 x4.KeywordCxt(r,o.RULES.all.format.definition,"format");l.$data?c():u();function c(){let h=e.scopeValue("formats",{ref:o.formats,code:s.code.formats}),g=e.const("fmt",(0,Ki._)`${h}[${l.schemaCode}]`);t.fail$data((0,Ki.or)((0,Ki._)`typeof ${g} != "object"`,(0,Ki._)`${g} instanceof RegExp`,(0,Ki._)`typeof ${g}.compare != "function"`,d(g)))}function u(){let h=l.schema,g=o.formats[h];if(!g||g===!0)return;if(typeof g!="object"||g instanceof RegExp||typeof g.compare!="function")throw new Error(`"${a}": format "${h}" does not define "compare" function`);let p=e.scopeValue("formats",{key:h,ref:g,code:s.code.formats?(0,Ki._)`${s.code.formats}${(0,Ki.getProperty)(h)}`:void 0});t.fail$data(d(p))}function d(h){return(0,Ki._)`${h}.compare(${n}, ${i}) ${zc[a].fail} 0`}},dependencies:["format"]};var P4=t=>(t.addKeyword(ss.formatLimitDefinition),t);ss.default=P4});var MM=v((Xo,TM)=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var os=PM(),j4=jM(),$w=re(),SM=new $w.Name("fullFormats"),S4=new $w.Name("fastFormats"),Lw=(t,e={keywords:!0})=>{if(Array.isArray(e))return OM(t,e,os.fullFormats,SM),t;let[n,i]=e.mode==="fast"?[os.fastFormats,S4]:[os.fullFormats,SM],a=e.formats||os.formatNames;return OM(t,a,n,i),e.keywords&&(0,j4.default)(t),t};Lw.get=(t,e="full")=>{let i=(e==="fast"?os.fastFormats:os.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function OM(t,e,n,i){var a,r;(a=(r=t.opts.code).formats)!==null&&a!==void 0||(r.formats=(0,$w._)`require("ajv-formats/dist/formats").${i}`);for(let s of e)t.addFormat(s,n[s])}TM.exports=Xo=Lw;Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=Lw});var LM=v((Ose,$M)=>{var UM=require("stream").Stream,R4=require("util");$M.exports=Qi;function Qi(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}R4.inherits(Qi,UM);Qi.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(Qi.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Qi.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Qi.prototype.resume=function(){this._released||this.release(),this.source.resume()};Qi.prototype.pause=function(){this.source.pause()};Qi.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t)}.bind(this)),this._bufferedEvents=[]};Qi.prototype.pipe=function(){var t=UM.prototype.pipe.apply(this,arguments);return this.resume(),t};Qi.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)};Qi.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 JM=v((Tse,VM)=>{var I4=require("util"),FM=require("stream").Stream,BM=LM();VM.exports=Ye;function Ye(){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}I4.inherits(Ye,FM);Ye.create=function(t){var e=new this;t=t||{};for(var n in t)e[n]=t[n];return e};Ye.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};Ye.prototype.append=function(t){var e=Ye.isStreamLike(t);if(e){if(!(t instanceof BM)){var n=BM.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};Ye.prototype.pipe=function(t,e){return FM.prototype.pipe.call(this,t,e),this.resume(),t};Ye.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}};Ye.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=Ye.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};Ye.prototype._pipeNext=function(t){this._currentStream=t;var e=Ye.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()};Ye.prototype._handleErrors=function(t){var e=this;t.on("error",function(n){e._emitError(n)})};Ye.prototype.write=function(t){this.emit("data",t)};Ye.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Ye.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")};Ye.prototype.end=function(){this._reset(),this.emit("end")};Ye.prototype.destroy=function(){this._reset(),this.emit("close")};Ye.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Ye.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};Ye.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)};Ye.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var ZM=v((Mse,W4)=>{W4.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 QM=v((kse,KM)=>{KM.exports=ZM()});var e0=v(ri=>{"use strict";var Fc=QM(),z4=require("path").extname,YM=/^\s*([^;\s]*)(?:;|\s|$)/,D4=/^text\//i;ri.charset=XM;ri.charsets={lookup:XM};ri.contentType=G4;ri.extension=N4;ri.extensions=Object.create(null);ri.lookup=U4;ri.types=Object.create(null);$4(ri.extensions,ri.types);function XM(t){if(!t||typeof t!="string")return!1;var e=YM.exec(t),n=e&&Fc[e[1].toLowerCase()];return n&&n.charset?n.charset:e&&D4.test(e[1])?"UTF-8":!1}function G4(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?ri.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var n=ri.charset(e);n&&(e+="; charset="+n.toLowerCase())}return e}function N4(t){if(!t||typeof t!="string")return!1;var e=YM.exec(t),n=e&&ri.extensions[e[1].toLowerCase()];return!n||!n.length?!1:n[0]}function U4(t){if(!t||typeof t!="string")return!1;var e=z4("x."+t).toLowerCase().substr(1);return e&&ri.types[e]||!1}function $4(t,e){var n=["nginx","apache",void 0,"iana"];Object.keys(Fc).forEach(function(a){var r=Fc[a],s=r.extensions;if(!(!s||!s.length)){t[a]=s;for(var o=0;ou||c===u&&e[l].substr(0,12)==="application/"))continue}e[l]=a}}})}});var i0=v((qse,n0)=>{n0.exports=L4;function L4(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}});var Zw=v((_se,a0)=>{var t0=i0();a0.exports=B4;function B4(t){var e=!1;return t0(function(){e=!0}),function(i,a){e?t(i,a):t0(function(){t(i,a)})}}});var Kw=v((Hse,r0)=>{r0.exports=F4;function F4(t){Object.keys(t.jobs).forEach(V4.bind(t)),t.jobs={}}function V4(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}});var Qw=v((Rse,o0)=>{var s0=Zw(),J4=Kw();o0.exports=Z4;function Z4(t,e,n,i){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=K4(e,a,t[a],function(r,s){a in n.jobs&&(delete n.jobs[a],r?J4(n):n.results[a]=s,i(r,n.results))})}function K4(t,e,n,i){var a;return t.length==2?a=t(n,s0(i)):a=t(n,e,s0(i)),a}});var Yw=v((Ise,l0)=>{l0.exports=Q4;function Q4(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 Xw=v((Wse,u0)=>{var Y4=Kw(),X4=Zw();u0.exports=eV;function eV(t){Object.keys(this.jobs).length&&(this.index=this.size,Y4(this),X4(t)(null,this.results))}});var p0=v((zse,c0)=>{var nV=Qw(),iV=Yw(),tV=Xw();c0.exports=aV;function aV(t,e,n){for(var i=iV(t);i.index<(i.keyedList||t).length;)nV(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 tV.bind(i,n)}});var ev=v((Dse,Vc)=>{var d0=Qw(),rV=Yw(),sV=Xw();Vc.exports=oV;Vc.exports.ascending=h0;Vc.exports.descending=lV;function oV(t,e,n,i){var a=rV(t,n);return d0(t,e,a,function r(s,o){if(s){i(s,o);return}if(a.index++,a.index<(a.keyedList||t).length){d0(t,e,a,r);return}i(null,a.results)}),sV.bind(a,i)}function h0(t,e){return te?1:0}function lV(t,e){return-1*h0(t,e)}});var m0=v((Gse,g0)=>{var uV=ev();g0.exports=cV;function cV(t,e,n){return uV(t,e,null,n)}});var w0=v((Nse,f0)=>{f0.exports={parallel:p0(),serial:m0(),serialOrdered:ev()}});var nv=v((Use,v0)=>{"use strict";v0.exports=Object});var A0=v(($se,C0)=>{"use strict";C0.exports=Error});var x0=v((Lse,b0)=>{"use strict";b0.exports=EvalError});var P0=v((Bse,y0)=>{"use strict";y0.exports=RangeError});var S0=v((Fse,j0)=>{"use strict";j0.exports=ReferenceError});var T0=v((Vse,O0)=>{"use strict";O0.exports=SyntaxError});var Jc=v((Jse,M0)=>{"use strict";M0.exports=TypeError});var E0=v((Zse,k0)=>{"use strict";k0.exports=URIError});var _0=v((Kse,q0)=>{"use strict";q0.exports=Math.abs});var R0=v((Qse,H0)=>{"use strict";H0.exports=Math.floor});var W0=v((Yse,I0)=>{"use strict";I0.exports=Math.max});var D0=v((Xse,z0)=>{"use strict";z0.exports=Math.min});var N0=v((eoe,G0)=>{"use strict";G0.exports=Math.pow});var $0=v((noe,U0)=>{"use strict";U0.exports=Math.round});var B0=v((ioe,L0)=>{"use strict";L0.exports=Number.isNaN||function(e){return e!==e}});var V0=v((toe,F0)=>{"use strict";var pV=B0();F0.exports=function(e){return pV(e)||e===0?e:e<0?-1:1}});var Z0=v((aoe,J0)=>{"use strict";J0.exports=Object.getOwnPropertyDescriptor});var iv=v((roe,K0)=>{"use strict";var Zc=Z0();if(Zc)try{Zc([],"length")}catch{Zc=null}K0.exports=Zc});var Y0=v((soe,Q0)=>{"use strict";var Kc=Object.defineProperty||!1;if(Kc)try{Kc({},"a",{value:1})}catch{Kc=!1}Q0.exports=Kc});var tv=v((ooe,X0)=>{"use strict";X0.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 ik=v((loe,nk)=>{"use strict";var ek=typeof Symbol<"u"&&Symbol,dV=tv();nk.exports=function(){return typeof ek!="function"||typeof Symbol!="function"||typeof ek("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:dV()}});var av=v((uoe,tk)=>{"use strict";tk.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var rv=v((coe,ak)=>{"use strict";var hV=nv();ak.exports=hV.getPrototypeOf||null});var ok=v((poe,sk)=>{"use strict";var gV="Function.prototype.bind called on incompatible ",mV=Object.prototype.toString,fV=Math.max,wV="[object Function]",rk=function(e,n){for(var i=[],a=0;a{"use strict";var AV=ok();lk.exports=Function.prototype.bind||AV});var Qc=v((hoe,uk)=>{"use strict";uk.exports=Function.prototype.call});var sv=v((goe,ck)=>{"use strict";ck.exports=Function.prototype.apply});var dk=v((moe,pk)=>{"use strict";pk.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var gk=v((foe,hk)=>{"use strict";var bV=nl(),xV=sv(),yV=Qc(),PV=dk();hk.exports=PV||bV.call(yV,xV)});var fk=v((woe,mk)=>{"use strict";var jV=nl(),SV=Jc(),OV=Qc(),TV=gk();mk.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new SV("a function is required");return TV(jV,OV,e)}});var xk=v((voe,bk)=>{"use strict";var MV=fk(),wk=iv(),Ck;try{Ck=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var ov=!!Ck&&wk&&wk(Object.prototype,"__proto__"),Ak=Object,vk=Ak.getPrototypeOf;bk.exports=ov&&typeof ov.get=="function"?MV([ov.get]):typeof vk=="function"?function(e){return vk(e==null?e:Ak(e))}:!1});var Ok=v((Coe,Sk)=>{"use strict";var yk=av(),Pk=rv(),jk=xk();Sk.exports=yk?function(e){return yk(e)}:Pk?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Pk(e)}:jk?function(e){return jk(e)}:null});var Yc=v((Aoe,Tk)=>{"use strict";var kV=Function.prototype.call,EV=Object.prototype.hasOwnProperty,qV=nl();Tk.exports=qV.call(kV,EV)});var Rk=v((boe,Hk)=>{"use strict";var de,_V=nv(),HV=A0(),RV=x0(),IV=P0(),WV=S0(),ps=T0(),cs=Jc(),zV=E0(),DV=_0(),GV=R0(),NV=W0(),UV=D0(),$V=N0(),LV=$0(),BV=V0(),qk=Function,lv=function(t){try{return qk('"use strict"; return ('+t+").constructor;")()}catch{}},il=iv(),FV=Y0(),uv=function(){throw new cs},VV=il?(function(){try{return arguments.callee,uv}catch{try{return il(arguments,"callee").get}catch{return uv}}})():uv,ls=ik()(),Cn=Ok(),JV=rv(),ZV=av(),_k=sv(),tl=Qc(),us={},KV=typeof Uint8Array>"u"||!Cn?de:Cn(Uint8Array),Ya={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?de:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?de:ArrayBuffer,"%ArrayIteratorPrototype%":ls&&Cn?Cn([][Symbol.iterator]()):de,"%AsyncFromSyncIteratorPrototype%":de,"%AsyncFunction%":us,"%AsyncGenerator%":us,"%AsyncGeneratorFunction%":us,"%AsyncIteratorPrototype%":us,"%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%":HV,"%eval%":eval,"%EvalError%":RV,"%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%":qk,"%GeneratorFunction%":us,"%Int8Array%":typeof Int8Array>"u"?de:Int8Array,"%Int16Array%":typeof Int16Array>"u"?de:Int16Array,"%Int32Array%":typeof Int32Array>"u"?de:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ls&&Cn?Cn(Cn([][Symbol.iterator]())):de,"%JSON%":typeof JSON=="object"?JSON:de,"%Map%":typeof Map>"u"?de:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ls||!Cn?de:Cn(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":_V,"%Object.getOwnPropertyDescriptor%":il,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?de:Promise,"%Proxy%":typeof Proxy>"u"?de:Proxy,"%RangeError%":IV,"%ReferenceError%":WV,"%Reflect%":typeof Reflect>"u"?de:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?de:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ls||!Cn?de:Cn(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?de:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ls&&Cn?Cn(""[Symbol.iterator]()):de,"%Symbol%":ls?Symbol:de,"%SyntaxError%":ps,"%ThrowTypeError%":VV,"%TypedArray%":KV,"%TypeError%":cs,"%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%":zV,"%WeakMap%":typeof WeakMap>"u"?de:WeakMap,"%WeakRef%":typeof WeakRef>"u"?de:WeakRef,"%WeakSet%":typeof WeakSet>"u"?de:WeakSet,"%Function.prototype.call%":tl,"%Function.prototype.apply%":_k,"%Object.defineProperty%":FV,"%Object.getPrototypeOf%":JV,"%Math.abs%":DV,"%Math.floor%":GV,"%Math.max%":NV,"%Math.min%":UV,"%Math.pow%":$V,"%Math.round%":LV,"%Math.sign%":BV,"%Reflect.getPrototypeOf%":ZV};if(Cn)try{null.error}catch(t){Mk=Cn(Cn(t)),Ya["%Error.prototype%"]=Mk}var Mk,QV=function t(e){var n;if(e==="%AsyncFunction%")n=lv("async function () {}");else if(e==="%GeneratorFunction%")n=lv("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=lv("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=t("%AsyncGenerator%");a&&Cn&&(n=Cn(a.prototype))}return Ya[e]=n,n},kk={__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"]},al=nl(),Xc=Yc(),YV=al.call(tl,Array.prototype.concat),XV=al.call(_k,Array.prototype.splice),Ek=al.call(tl,String.prototype.replace),ep=al.call(tl,String.prototype.slice),e5=al.call(tl,RegExp.prototype.exec),n5=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,i5=/\\(\\)?/g,t5=function(e){var n=ep(e,0,1),i=ep(e,-1);if(n==="%"&&i!=="%")throw new ps("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new ps("invalid intrinsic syntax, expected opening `%`");var a=[];return Ek(e,n5,function(r,s,o,l){a[a.length]=o?Ek(l,i5,"$1"):s||r}),a},a5=function(e,n){var i=e,a;if(Xc(kk,i)&&(a=kk[i],i="%"+a[0]+"%"),Xc(Ya,i)){var r=Ya[i];if(r===us&&(r=QV(i)),typeof r>"u"&&!n)throw new cs("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:i,value:r}}throw new ps("intrinsic "+e+" does not exist!")};Hk.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new cs("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new cs('"allowMissing" argument must be a boolean');if(e5(/^%?[^%]*%?$/,e)===null)throw new ps("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=t5(e),a=i.length>0?i[0]:"",r=a5("%"+a+"%",n),s=r.name,o=r.value,l=!1,c=r.alias;c&&(a=c[0],XV(i,YV([0,1],c)));for(var u=1,d=!0;u=i.length){var m=il(o,h);d=!!m,d&&"get"in m&&!("originalValue"in m.get)?o=m.get:o=o[h]}else d=Xc(o,h),o=o[h];d&&!l&&(Ya[s]=o)}}return o}});var Wk=v((xoe,Ik)=>{"use strict";var r5=tv();Ik.exports=function(){return r5()&&!!Symbol.toStringTag}});var Gk=v((yoe,Dk)=>{"use strict";var s5=Rk(),zk=s5("%Object.defineProperty%",!0),o5=Wk()(),l5=Yc(),u5=Jc(),np=o5?Symbol.toStringTag:null;Dk.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 u5("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");np&&(i||!l5(e,np))&&(zk?zk(e,np,{configurable:!a,enumerable:!1,value:n,writable:!1}):e[np]=n)}});var Uk=v((Poe,Nk)=>{"use strict";Nk.exports=function(t,e){return Object.keys(e).forEach(function(n){t[n]=t[n]||e[n]}),t}});var Bk=v((joe,Lk)=>{"use strict";var hv=JM(),c5=require("util"),cv=require("path"),p5=require("http"),d5=require("https"),h5=require("url").parse,g5=require("fs"),m5=require("stream").Stream,f5=require("crypto"),pv=e0(),w5=w0(),v5=Gk(),ra=Yc(),dv=Uk();function $k(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=[],hv.call(this),t=t||{};for(var e in t)this[e]=t[e]}c5.inherits(ye,hv);ye.LINE_BREAK=`\r -`;ye.DEFAULT_CONTENT_TYPE="application/octet-stream";ye.prototype.append=function(t,e,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=hv.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)};ye.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)+ye.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&ra(e,"httpVersion"))&&!(e instanceof m5))&&(n.knownLength||this._valuesToMeasure.push(e))};ye.prototype._lengthRetriever=function(t,e){ra(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):g5.stat(t.path,function(n,i){if(n){e(n);return}var a=i.size-(t.start?t.start:0);e(null,a)}):ra(t,"httpVersion")?e(null,Number(t.headers["content-length"])):ra(t,"httpModule")?(t.on("response",function(n){t.pause(),e(null,Number(n.headers["content-length"]))}),t.resume()):e("Unknown stream")};ye.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="'+$k(t)+'"'].concat(i||[]),"Content-Type":[].concat(a||[])};typeof n.header=="object"&&dv(s,n.header);var o;for(var l in s)if(ra(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 n;if(typeof e.filepath=="string"?n=cv.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?n=cv.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&ra(t,"httpVersion")&&(n=cv.basename(t.client._httpMessage.path||"")),n)return'filename="'+$k(n)+'"'};ye.prototype._getContentType=function(t,e){var n=e.contentType;return!n&&t&&t.name&&(n=pv.lookup(t.name)),!n&&t&&t.path&&(n=pv.lookup(t.path)),!n&&t&&t.readable&&ra(t,"httpVersion")&&(n=t.headers["content-type"]),!n&&(e.filepath||e.filename)&&(n=pv.lookup(e.filepath||e.filename)),!n&&t&&typeof t=="object"&&(n=ye.DEFAULT_CONTENT_TYPE),n};ye.prototype._multiPartFooter=function(){return function(t){var e=ye.LINE_BREAK,n=this._streams.length===0;n&&(e+=this._lastBoundary()),t(e)}.bind(this)};ye.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ye.LINE_BREAK};ye.prototype.getHeaders=function(t){var e,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)ra(t,e)&&(n[e.toLowerCase()]=t[e]);return n};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(),n=0,i=this._streams.length;n{var ds=1e3,hs=ds*60,gs=hs*60,Xa=gs*24,C5=Xa*7,A5=Xa*365.25;Fk.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return b5(t);if(n==="number"&&isFinite(t))return e.long?y5(t):x5(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function b5(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*A5;case"weeks":case"week":case"w":return n*C5;case"days":case"day":case"d":return n*Xa;case"hours":case"hour":case"hrs":case"hr":case"h":return n*gs;case"minutes":case"minute":case"mins":case"min":case"m":return n*hs;case"seconds":case"second":case"secs":case"sec":case"s":return n*ds;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function x5(t){var e=Math.abs(t);return e>=Xa?Math.round(t/Xa)+"d":e>=gs?Math.round(t/gs)+"h":e>=hs?Math.round(t/hs)+"m":e>=ds?Math.round(t/ds)+"s":t+"ms"}function y5(t){var e=Math.abs(t);return e>=Xa?ip(t,e,Xa,"day"):e>=gs?ip(t,e,gs,"hour"):e>=hs?ip(t,e,hs,"minute"):e>=ds?ip(t,e,ds,"second"):t+" ms"}function ip(t,e,n,i){var a=e>=n*1.5;return Math.round(t/n)+" "+i+(a?"s":"")}});var mv=v((Ooe,Vk)=>{function P5(t){n.debug=n,n.default=n,n.coerce=l,n.disable=s,n.enable=a,n.enabled=o,n.humanize=gv(),n.destroy=c,Object.keys(t).forEach(u=>{n[u]=t[u]}),n.names=[],n.skips=[],n.formatters={};function e(u){let d=0;for(let h=0;h{if(q==="%%")return"%";x++;let ne=n.formatters[$];if(typeof ne=="function"){let K=f[x];q=ne.call(w,K),f.splice(x,1),x--}return q}),n.formatArgs.call(w,f),(w.log||n.log).apply(w,f)}return m.namespace=u,m.useColors=n.useColors(),m.color=n.selectColor(u),m.extend=i,m.destroy=n.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(g!==n.namespaces&&(g=n.namespaces,p=n.enabled(u)),p),set:f=>{h=f}}),typeof n.init=="function"&&n.init(m),m}function i(u,d){let h=n(this.namespace+(typeof d>"u"?":":d)+u);return h.log=this.log,h}function a(u){n.save(u),n.namespaces=u,n.names=[],n.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let h of d)h[0]==="-"?n.skips.push(h.slice(1)):n.names.push(h)}function r(u,d){let h=0,g=0,p=-1,m=0;for(;h"-"+d)].join(",");return n.enable(""),u}function o(u){for(let d of n.skips)if(r(u,d))return!1;for(let d of n.names)if(r(u,d))return!0;return!1}function l(u){return u instanceof Error?u.stack||u.message:u}function c(){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}Vk.exports=P5});var Jk=v((si,tp)=>{si.formatArgs=S5;si.save=O5;si.load=T5;si.useColors=j5;si.storage=M5();si.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`."))}})();si.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 j5(){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 S5(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+tp.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)}si.log=console.debug||console.log||(()=>{});function O5(t){try{t?si.storage.setItem("debug",t):si.storage.removeItem("debug")}catch{}}function T5(){let t;try{t=si.storage.getItem("debug")||si.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function M5(){try{return localStorage}catch{}}tp.exports=mv()(si);var{formatters:k5}=tp.exports;k5.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Kk=v((An,rp)=>{var E5=require("tty"),ap=require("util");An.init=z5;An.log=R5;An.formatArgs=_5;An.save=I5;An.load=W5;An.useColors=q5;An.destroy=ap.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");An.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(An.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{}An.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 q5(){return"colors"in An.inspectOpts?!!An.inspectOpts.colors:E5.isatty(process.stderr.fd)}function _5(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: ${n}}`};var $5={keyword:"dependencies",type:"object",schemaType:"object",error:xt.error,code(t){let[e,n]=B5(t);Ak(t,e),bk(t,n)}};function B5({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 Ak(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,bl.propertyInData)(n,i,s,a.opts.ownProperties);t.setParams({property:s,depsCount:o.length,deps:o.join(", ")}),a.allErrors?n.if(l,()=>{for(let c of o)(0,bl.checkReportMissingProp)(t,c)}):(n.if((0,Sv._)`${l} && (${(0,bl.checkMissingProp)(t,o,r)})`),(0,bl.reportMissingProp)(t,r),n.else())}}xt.validatePropertyDeps=Ak;function bk(t,e=t.schema){let{gen:n,data:i,keyword:a,it:r}=t,s=n.name("valid");for(let o in e)(0,U5.alwaysValidSchema)(r,e[o])||(n.if((0,bl.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))}xt.validateSchemaDeps=bk;xt.default=$5});var Pk=v(Ov=>{"use strict";Object.defineProperty(Ov,"__esModule",{value:!0});var yk=se(),L5=be(),F5={message:"property name must be valid",params:({params:t})=>(0,yk._)`{propertyName: ${t.propertyName}}`},V5={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:F5,code(t){let{gen:e,schema:n,data:i,it:a}=t;if((0,L5.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,yk.not)(r),()=>{t.error(!0),a.allErrors||e.break()})}),t.ok(r)}};Ov.default=V5});var kv=v(Tv=>{"use strict";Object.defineProperty(Tv,"__esModule",{value:!0});var Ap=Ui(),at=se(),J5=$t(),bp=be(),K5={message:"must NOT have additional properties",params:({params:t})=>(0,at._)`{additionalProperty: ${t.additionalProperty}}`},Z5={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:K5,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,bp.alwaysValidSchema)(s,n))return;let c=(0,Ap.allSchemaProperties)(i.properties),u=(0,Ap.allSchemaProperties)(i.patternProperties);p(),t.ok((0,at._)`${r} === ${J5.default.errors}`);function p(){e.forIn("key",a,w=>{!c.length&&!u.length?d(w):e.if(h(w),()=>d(w))})}function h(w){let f;if(c.length>8){let A=(0,bp.schemaRefOrVal)(s,i.properties,"properties");f=(0,Ap.isOwnProperty)(e,A,w)}else c.length?f=(0,at.or)(...c.map(A=>(0,at._)`${w} === ${A}`)):f=at.nil;return u.length&&(f=(0,at.or)(f,...u.map(A=>(0,at._)`${(0,Ap.usePattern)(t,A)}.test(${w})`))),(0,at.not)(f)}function g(w){e.code((0,at._)`delete ${a}[${w}]`)}function d(w){if(l.removeAdditional==="all"||l.removeAdditional&&n===!1){g(w);return}if(n===!1){t.setParams({additionalProperty:w}),t.error(),o||e.break();return}if(typeof n=="object"&&!(0,bp.alwaysValidSchema)(s,n)){let f=e.name("valid");l.removeAdditional==="failing"?(m(w,f,!1),e.if((0,at.not)(f),()=>{t.reset(),g(w)})):(m(w,f),o||e.if((0,at.not)(f),()=>e.break()))}}function m(w,f,A){let b={keyword:"additionalProperties",dataProp:w,dataPropType:bp.Type.Str};A===!1&&Object.assign(b,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(b,f)}}};Tv.default=Z5});var Ok=v(Ev=>{"use strict";Object.defineProperty(Ev,"__esModule",{value:!0});var Q5=sl(),jk=Ui(),Mv=be(),Sk=kv(),Y5={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&&Sk.default.code(new Q5.KeywordCxt(r,Sk.default,"additionalProperties"));let s=(0,jk.allSchemaProperties)(n);for(let p of s)r.definedProperties.add(p);r.opts.unevaluated&&s.length&&r.props!==!0&&(r.props=Mv.mergeEvaluated.props(e,(0,Mv.toHash)(s),r.props));let o=s.filter(p=>!(0,Mv.alwaysValidSchema)(r,n[p]));if(o.length===0)return;let l=e.name("valid");for(let p of o)c(p)?u(p):(e.if((0,jk.propertyInData)(e,a,p,r.opts.ownProperties)),u(p),r.allErrors||e.else().var(l,!0),e.endIf()),t.it.definedProperties.add(p),t.ok(l);function c(p){return r.opts.useDefaults&&!r.compositeRule&&n[p].default!==void 0}function u(p){t.subschema({keyword:"properties",schemaProp:p,dataProp:p},l)}}};Ev.default=Y5});var Ek=v(qv=>{"use strict";Object.defineProperty(qv,"__esModule",{value:!0});var Tk=Ui(),xp=se(),kk=be(),Mk=be(),X5={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,Tk.allSchemaProperties)(n),l=o.filter(m=>(0,kk.alwaysValidSchema)(r,n[m]));if(o.length===0||l.length===o.length&&(!r.opts.unevaluated||r.props===!0))return;let c=s.strictSchema&&!s.allowMatchingProperties&&a.properties,u=e.name("valid");r.props!==!0&&!(r.props instanceof xp.Name)&&(r.props=(0,Mk.evaluatedPropsToName)(e,r.props));let{props:p}=r;h();function h(){for(let m of o)c&&g(m),r.allErrors?d(m):(e.var(u,!0),d(m),e.if(u))}function g(m){for(let w in c)new RegExp(m).test(w)&&(0,kk.checkStrictMode)(r,`property ${w} matches pattern ${m} (use allowMatchingProperties)`)}function d(m){e.forIn("key",i,w=>{e.if((0,xp._)`${(0,Tk.usePattern)(t,m)}.test(${w})`,()=>{let f=l.includes(m);f||t.subschema({keyword:"patternProperties",schemaProp:m,dataProp:w,dataPropType:Mk.Type.Str},u),r.opts.unevaluated&&p!==!0?e.assign((0,xp._)`${p}[${w}]`,!0):!f&&!r.allErrors&&e.if((0,xp.not)(u),()=>e.break())})})}}};qv.default=X5});var qk=v(_v=>{"use strict";Object.defineProperty(_v,"__esModule",{value:!0});var eV=be(),nV={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:e,schema:n,it:i}=t;if((0,eV.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"}};_v.default=nV});var _k=v(Hv=>{"use strict";Object.defineProperty(Hv,"__esModule",{value:!0});var iV=Ui(),tV={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:iV.validateUnion,error:{message:"must match a schema in anyOf"}};Hv.default=tV});var Hk=v(Wv=>{"use strict";Object.defineProperty(Wv,"__esModule",{value:!0});var yp=se(),aV=be(),rV={message:"must match exactly one schema in oneOf",params:({params:t})=>(0,yp._)`{passingSchemas: ${t.passing}}`},sV={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:rV,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(c),t.result(s,()=>t.reset(),()=>t.error(!0));function c(){r.forEach((u,p)=>{let h;(0,aV.alwaysValidSchema)(a,u)?e.var(l,!0):h=t.subschema({keyword:"oneOf",schemaProp:p,compositeRule:!0},l),p>0&&e.if((0,yp._)`${l} && ${s}`).assign(s,!1).assign(o,(0,yp._)`[${o}, ${p}]`).else(),e.if(l,()=>{e.assign(s,!0),e.assign(o,p),h&&t.mergeEvaluated(h,yp.Name)})})}}};Wv.default=sV});var Wk=v(Rv=>{"use strict";Object.defineProperty(Rv,"__esModule",{value:!0});var oV=be(),lV={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,oV.alwaysValidSchema)(i,r))return;let o=t.subschema({keyword:"allOf",schemaProp:s},a);t.ok(a),t.mergeEvaluated(o)})}};Rv.default=lV});var zk=v(Iv=>{"use strict";Object.defineProperty(Iv,"__esModule",{value:!0});var Pp=se(),Ik=be(),uV={message:({params:t})=>(0,Pp.str)`must match "${t.ifClause}" schema`,params:({params:t})=>(0,Pp._)`{failingKeyword: ${t.ifClause}}`},cV={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:uV,code(t){let{gen:e,parentSchema:n,it:i}=t;n.then===void 0&&n.else===void 0&&(0,Ik.checkStrictMode)(i,'"if" without "then" and "else" is ignored');let a=Rk(i,"then"),r=Rk(i,"else");if(!a&&!r)return;let s=e.let("valid",!0),o=e.name("_valid");if(l(),t.reset(),a&&r){let u=e.let("ifClause");t.setParams({ifClause:u}),e.if(o,c("then",u),c("else",u))}else a?e.if(o,c("then")):e.if((0,Pp.not)(o),c("else"));t.pass(s,()=>t.error(!0));function l(){let u=t.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},o);t.mergeEvaluated(u)}function c(u,p){return()=>{let h=t.subschema({keyword:u},o);e.assign(s,o),t.mergeValidEvaluated(h,s),p?e.assign(p,(0,Pp._)`${u}`):t.setParams({ifClause:u})}}}};function Rk(t,e){let n=t.schema[e];return n!==void 0&&!(0,Ik.alwaysValidSchema)(t,n)}Iv.default=cV});var Dk=v(zv=>{"use strict";Object.defineProperty(zv,"__esModule",{value:!0});var pV=be(),dV={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:e,it:n}){e.if===void 0&&(0,pV.checkStrictMode)(n,`"${t}" without "if" is ignored`)}};zv.default=dV});var Gk=v(Dv=>{"use strict";Object.defineProperty(Dv,"__esModule",{value:!0});var hV=bv(),gV=fk(),mV=xv(),fV=vk(),wV=Ck(),vV=xk(),CV=Pk(),AV=kv(),bV=Ok(),xV=Ek(),yV=qk(),PV=_k(),jV=Hk(),SV=Wk(),OV=zk(),TV=Dk();function kV(t=!1){let e=[yV.default,PV.default,jV.default,SV.default,OV.default,TV.default,CV.default,AV.default,vV.default,bV.default,xV.default];return t?e.push(gV.default,fV.default):e.push(hV.default,mV.default),e.push(wV.default),e}Dv.default=kV});var Nk=v(Gv=>{"use strict";Object.defineProperty(Gv,"__esModule",{value:!0});var an=se(),MV={message:({schemaCode:t})=>(0,an.str)`must match format "${t}"`,params:({schemaCode:t})=>(0,an._)`{format: ${t}}`},EV={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:MV,code(t,e){let{gen:n,data:i,$data:a,schema:r,schemaCode:s,it:o}=t,{opts:l,errSchemaPath:c,schemaEnv:u,self:p}=o;if(!l.validateFormats)return;a?h():g();function h(){let d=n.scopeValue("formats",{ref:p.formats,code:l.code.formats}),m=n.const("fDef",(0,an._)`${d}[${s}]`),w=n.let("fType"),f=n.let("format");n.if((0,an._)`typeof ${m} == "object" && !(${m} instanceof RegExp)`,()=>n.assign(w,(0,an._)`${m}.type || "string"`).assign(f,(0,an._)`${m}.validate`),()=>n.assign(w,(0,an._)`"string"`).assign(f,m)),t.fail$data((0,an.or)(A(),b()));function A(){return l.strictSchema===!1?an.nil:(0,an._)`${s} && !${f}`}function b(){let x=u.$async?(0,an._)`(${m}.async ? await ${f}(${i}) : ${f}(${i}))`:(0,an._)`${f}(${i})`,S=(0,an._)`(typeof ${f} == "function" ? ${x} : ${f}.test(${i}))`;return(0,an._)`${f} && ${f} !== true && ${w} === ${e} && !${S}`}}function g(){let d=p.formats[r];if(!d){A();return}if(d===!0)return;let[m,w,f]=b(d);m===e&&t.pass(x());function A(){if(l.strictSchema===!1){p.logger.warn(S());return}throw new Error(S());function S(){return`unknown format "${r}" ignored in schema at path "${c}"`}}function b(S){let T=S instanceof RegExp?(0,an.regexpCode)(S):l.code.formats?(0,an._)`${l.code.formats}${(0,an.getProperty)(r)}`:void 0,M=n.scopeValue("formats",{key:r,ref:S,code:T});return typeof S=="object"&&!(S instanceof RegExp)?[S.type||"string",S.validate,(0,an._)`${M}.validate`]:["string",S,M]}function x(){if(typeof d=="object"&&!(d instanceof RegExp)&&d.async){if(!u.$async)throw new Error("async format in sync schema");return(0,an._)`await ${f}(${i})`}return typeof w=="function"?(0,an._)`${f}(${i})`:(0,an._)`${f}.test(${i})`}}}};Gv.default=EV});var Uk=v(Nv=>{"use strict";Object.defineProperty(Nv,"__esModule",{value:!0});var qV=Nk(),_V=[qV.default];Nv.default=_V});var $k=v(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.contentVocabulary=xs.metadataVocabulary=void 0;xs.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];xs.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var Lk=v(Uv=>{"use strict";Object.defineProperty(Uv,"__esModule",{value:!0});var HV=Y0(),WV=dk(),RV=Gk(),IV=Uk(),Bk=$k(),zV=[HV.default,WV.default,(0,RV.default)(),IV.default,Bk.metadataVocabulary,Bk.contentVocabulary];Uv.default=zV});var Vk=v(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.DiscrError=void 0;var Fk;(function(t){t.Tag="tag",t.Mapping="mapping"})(Fk||(jp.DiscrError=Fk={}))});var Kk=v(Bv=>{"use strict";Object.defineProperty(Bv,"__esModule",{value:!0});var ys=se(),$v=Vk(),Jk=sp(),DV=ol(),GV=be(),NV={message:({params:{discrError:t,tagName:e}})=>t===$v.DiscrError.Tag?`tag "${e}" must be string`:`value of tag "${e}" must be in oneOf`,params:({params:{discrError:t,tag:e,tagName:n}})=>(0,ys._)`{error: ${t}, tag: ${n}, tagValue: ${e}}`},UV={keyword:"discriminator",type:"object",schemaType:"object",error:NV,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),c=e.const("tag",(0,ys._)`${n}${(0,ys.getProperty)(o)}`);e.if((0,ys._)`typeof ${c} == "string"`,()=>u(),()=>t.error(!1,{discrError:$v.DiscrError.Tag,tag:c,tagName:o})),t.ok(l);function u(){let g=h();e.if(!1);for(let d in g)e.elseIf((0,ys._)`${c} === ${d}`),e.assign(l,p(g[d]));e.else(),t.error(!1,{discrError:$v.DiscrError.Mapping,tag:c,tagName:o}),e.endIf()}function p(g){let d=e.name("valid"),m=t.subschema({keyword:"oneOf",schemaProp:g},d);return t.mergeEvaluated(m,ys.Name),d}function h(){var g;let d={},m=f(a),w=!0;for(let x=0;x{$V.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 Fv=v((Le,Lv)=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.MissingRefError=Le.ValidationError=Le.CodeGen=Le.Name=Le.nil=Le.stringify=Le.str=Le._=Le.KeywordCxt=Le.Ajv=void 0;var BV=F0(),LV=Lk(),FV=Kk(),Qk=Zk(),VV=["/properties"],Sp="http://json-schema.org/draft-07/schema",Ps=class extends BV.default{_addVocabularies(){super._addVocabularies(),LV.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(FV.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let e=this.opts.$data?this.$dataMetaSchema(Qk,VV):Qk;this.addMetaSchema(e,Sp,!1),this.refs["http://json-schema.org/schema"]=Sp}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Sp)?Sp:void 0)}};Le.Ajv=Ps;Lv.exports=Le=Ps;Lv.exports.Ajv=Ps;Object.defineProperty(Le,"__esModule",{value:!0});Le.default=Ps;var JV=sl();Object.defineProperty(Le,"KeywordCxt",{enumerable:!0,get:function(){return JV.KeywordCxt}});var js=se();Object.defineProperty(Le,"_",{enumerable:!0,get:function(){return js._}});Object.defineProperty(Le,"str",{enumerable:!0,get:function(){return js.str}});Object.defineProperty(Le,"stringify",{enumerable:!0,get:function(){return js.stringify}});Object.defineProperty(Le,"nil",{enumerable:!0,get:function(){return js.nil}});Object.defineProperty(Le,"Name",{enumerable:!0,get:function(){return js.Name}});Object.defineProperty(Le,"CodeGen",{enumerable:!0,get:function(){return js.CodeGen}});var KV=ap();Object.defineProperty(Le,"ValidationError",{enumerable:!0,get:function(){return KV.default}});var ZV=ol();Object.defineProperty(Le,"MissingRefError",{enumerable:!0,get:function(){return ZV.default}})});var rM=v(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.formatNames=Pt.fastFormats=Pt.fullFormats=void 0;function yt(t,e){return{validate:t,compare:e}}Pt.fullFormats={date:yt(nM,Zv),time:yt(Jv(!0),Qv),"date-time":yt(Yk(!0),tM),"iso-time":yt(Jv(),iM),"iso-date-time":yt(Yk(),aM),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:iJ,"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:uJ,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:tJ,int32:{type:"number",validate:sJ},int64:{type:"number",validate:oJ},float:{type:"number",validate:eM},double:{type:"number",validate:eM},password:!0,binary:!0};Pt.fastFormats={...Pt.fullFormats,date:yt(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,Zv),time:yt(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Qv),"date-time":yt(/^\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,tM),"iso-time":yt(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,iM),"iso-date-time":yt(/^\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,aM),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};Pt.formatNames=Object.keys(Pt.fullFormats);function QV(t){return t%4===0&&(t%100!==0||t%400===0)}var YV=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,XV=[0,31,28,31,30,31,30,31,31,30,31,30,31];function nM(t){let e=YV.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&&QV(n)?29:XV[i])}function Zv(t,e){if(t&&e)return t>e?1:t23||u>59||t&&!o)return!1;if(a<=23&&r<=59&&s<60)return!0;let p=r-u*l,h=a-c*l-(p<0?1:0);return(h===23||h===-1)&&(p===59||p===-1)&&s<61}}function Qv(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 iM(t,e){if(!(t&&e))return;let n=Vv.exec(t),i=Vv.exec(e);if(n&&i)return t=n[1]+n[2]+n[3],e=i[1]+i[2]+i[3],t>e?1:t=aJ}function oJ(t){return Number.isInteger(t)}function eM(){return!0}var lJ=/[^\\]\\Z/;function uJ(t){if(lJ.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var sM=v(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.formatLimitDefinition=void 0;var cJ=Fv(),rt=se(),fa=rt.operators,Op={formatMaximum:{okStr:"<=",ok:fa.LTE,fail:fa.GT},formatMinimum:{okStr:">=",ok:fa.GTE,fail:fa.LT},formatExclusiveMaximum:{okStr:"<",ok:fa.LT,fail:fa.GTE},formatExclusiveMinimum:{okStr:">",ok:fa.GT,fail:fa.LTE}},pJ={message:({keyword:t,schemaCode:e})=>(0,rt.str)`should be ${Op[t].okStr} ${e}`,params:({keyword:t,schemaCode:e})=>(0,rt._)`{comparison: ${Op[t].okStr}, limit: ${e}}`};Ss.formatLimitDefinition={keyword:Object.keys(Op),type:"string",schemaType:"string",$data:!0,error:pJ,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 cJ.KeywordCxt(r,o.RULES.all.format.definition,"format");l.$data?c():u();function c(){let h=e.scopeValue("formats",{ref:o.formats,code:s.code.formats}),g=e.const("fmt",(0,rt._)`${h}[${l.schemaCode}]`);t.fail$data((0,rt.or)((0,rt._)`typeof ${g} != "object"`,(0,rt._)`${g} instanceof RegExp`,(0,rt._)`typeof ${g}.compare != "function"`,p(g)))}function u(){let h=l.schema,g=o.formats[h];if(!g||g===!0)return;if(typeof g!="object"||g instanceof RegExp||typeof g.compare!="function")throw new Error(`"${a}": format "${h}" does not define "compare" function`);let d=e.scopeValue("formats",{key:h,ref:g,code:s.code.formats?(0,rt._)`${s.code.formats}${(0,rt.getProperty)(h)}`:void 0});t.fail$data(p(d))}function p(h){return(0,rt._)`${h}.compare(${n}, ${i}) ${Op[a].fail} 0`}},dependencies:["format"]};var dJ=t=>(t.addKeyword(Ss.formatLimitDefinition),t);Ss.default=dJ});var cM=v((xl,uM)=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});var Os=rM(),hJ=sM(),Yv=se(),oM=new Yv.Name("fullFormats"),gJ=new Yv.Name("fastFormats"),Xv=(t,e={keywords:!0})=>{if(Array.isArray(e))return lM(t,e,Os.fullFormats,oM),t;let[n,i]=e.mode==="fast"?[Os.fastFormats,gJ]:[Os.fullFormats,oM],a=e.formats||Os.formatNames;return lM(t,a,n,i),e.keywords&&(0,hJ.default)(t),t};Xv.get=(t,e="full")=>{let i=(e==="fast"?Os.fastFormats:Os.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function lM(t,e,n,i){var a,r;(a=(r=t.opts.code).formats)!==null&&a!==void 0||(r.formats=(0,Yv._)`require("ajv-formats/dist/formats").${i}`);for(let s of e)t.addFormat(s,n[s])}uM.exports=xl=Xv;Object.defineProperty(xl,"__esModule",{value:!0});xl.default=Xv});var jM=v((nce,PM)=>{var yM=require("stream").Stream,yJ=require("util");PM.exports=st;function st(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}yJ.inherits(st,yM);st.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(st.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});st.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};st.prototype.resume=function(){this._released||this.release(),this.source.resume()};st.prototype.pause=function(){this.source.pause()};st.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t)}.bind(this)),this._bufferedEvents=[]};st.prototype.pipe=function(){var t=yM.prototype.pipe.apply(this,arguments);return this.resume(),t};st.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)};st.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 kM=v((ice,TM)=>{var PJ=require("util"),OM=require("stream").Stream,SM=jM();TM.exports=Xe;function Xe(){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}PJ.inherits(Xe,OM);Xe.create=function(t){var e=new this;t=t||{};for(var n in t)e[n]=t[n];return e};Xe.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};Xe.prototype.append=function(t){var e=Xe.isStreamLike(t);if(e){if(!(t instanceof SM)){var n=SM.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};Xe.prototype.pipe=function(t,e){return OM.prototype.pipe.call(this,t,e),this.resume(),t};Xe.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}};Xe.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=Xe.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};Xe.prototype._pipeNext=function(t){this._currentStream=t;var e=Xe.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()};Xe.prototype._handleErrors=function(t){var e=this;t.on("error",function(n){e._emitError(n)})};Xe.prototype.write=function(t){this.emit("data",t)};Xe.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Xe.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")};Xe.prototype.end=function(){this._reset(),this.emit("end")};Xe.prototype.destroy=function(){this._reset(),this.emit("close")};Xe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Xe.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};Xe.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)};Xe.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var MM=v((tce,jJ)=>{jJ.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 qM=v((ace,EM)=>{EM.exports=MM()});var WM=v(di=>{"use strict";var Wp=qM(),SJ=require("path").extname,_M=/^\s*([^;\s]*)(?:;|\s|$)/,OJ=/^text\//i;di.charset=HM;di.charsets={lookup:HM};di.contentType=TJ;di.extension=kJ;di.extensions=Object.create(null);di.lookup=MJ;di.types=Object.create(null);EJ(di.extensions,di.types);function HM(t){if(!t||typeof t!="string")return!1;var e=_M.exec(t),n=e&&Wp[e[1].toLowerCase()];return n&&n.charset?n.charset:e&&OJ.test(e[1])?"UTF-8":!1}function TJ(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?di.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var n=di.charset(e);n&&(e+="; charset="+n.toLowerCase())}return e}function kJ(t){if(!t||typeof t!="string")return!1;var e=_M.exec(t),n=e&&di.extensions[e[1].toLowerCase()];return!n||!n.length?!1:n[0]}function MJ(t){if(!t||typeof t!="string")return!1;var e=SJ("x."+t).toLowerCase().substr(1);return e&&di.types[e]||!1}function EJ(t,e){var n=["nginx","apache",void 0,"iana"];Object.keys(Wp).forEach(function(a){var r=Wp[a],s=r.extensions;if(!(!s||!s.length)){t[a]=s;for(var o=0;ou||c===u&&e[l].substr(0,12)==="application/"))continue}e[l]=a}}})}});var IM=v((sce,RM)=>{RM.exports=qJ;function qJ(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}});var aC=v((oce,DM)=>{var zM=IM();DM.exports=_J;function _J(t){var e=!1;return zM(function(){e=!0}),function(i,a){e?t(i,a):zM(function(){t(i,a)})}}});var rC=v((lce,GM)=>{GM.exports=HJ;function HJ(t){Object.keys(t.jobs).forEach(WJ.bind(t)),t.jobs={}}function WJ(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}});var sC=v((uce,UM)=>{var NM=aC(),RJ=rC();UM.exports=IJ;function IJ(t,e,n,i){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=zJ(e,a,t[a],function(r,s){a in n.jobs&&(delete n.jobs[a],r?RJ(n):n.results[a]=s,i(r,n.results))})}function zJ(t,e,n,i){var a;return t.length==2?a=t(n,NM(i)):a=t(n,e,NM(i)),a}});var oC=v((cce,$M)=>{$M.exports=DJ;function DJ(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 lC=v((pce,BM)=>{var GJ=rC(),NJ=aC();BM.exports=UJ;function UJ(t){Object.keys(this.jobs).length&&(this.index=this.size,GJ(this),NJ(t)(null,this.results))}});var FM=v((dce,LM)=>{var $J=sC(),BJ=oC(),LJ=lC();LM.exports=FJ;function FJ(t,e,n){for(var i=BJ(t);i.index<(i.keyedList||t).length;)$J(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 LJ.bind(i,n)}});var uC=v((hce,Rp)=>{var VM=sC(),VJ=oC(),JJ=lC();Rp.exports=KJ;Rp.exports.ascending=JM;Rp.exports.descending=ZJ;function KJ(t,e,n,i){var a=VJ(t,n);return VM(t,e,a,function r(s,o){if(s){i(s,o);return}if(a.index++,a.index<(a.keyedList||t).length){VM(t,e,a,r);return}i(null,a.results)}),JJ.bind(a,i)}function JM(t,e){return te?1:0}function ZJ(t,e){return-1*JM(t,e)}});var ZM=v((gce,KM)=>{var QJ=uC();KM.exports=YJ;function YJ(t,e,n){return QJ(t,e,null,n)}});var YM=v((mce,QM)=>{QM.exports={parallel:FM(),serial:ZM(),serialOrdered:uC()}});var cC=v((fce,XM)=>{"use strict";XM.exports=Object});var nE=v((wce,eE)=>{"use strict";eE.exports=Error});var tE=v((vce,iE)=>{"use strict";iE.exports=EvalError});var rE=v((Cce,aE)=>{"use strict";aE.exports=RangeError});var oE=v((Ace,sE)=>{"use strict";sE.exports=ReferenceError});var uE=v((bce,lE)=>{"use strict";lE.exports=SyntaxError});var Ip=v((xce,cE)=>{"use strict";cE.exports=TypeError});var dE=v((yce,pE)=>{"use strict";pE.exports=URIError});var gE=v((Pce,hE)=>{"use strict";hE.exports=Math.abs});var fE=v((jce,mE)=>{"use strict";mE.exports=Math.floor});var vE=v((Sce,wE)=>{"use strict";wE.exports=Math.max});var AE=v((Oce,CE)=>{"use strict";CE.exports=Math.min});var xE=v((Tce,bE)=>{"use strict";bE.exports=Math.pow});var PE=v((kce,yE)=>{"use strict";yE.exports=Math.round});var SE=v((Mce,jE)=>{"use strict";jE.exports=Number.isNaN||function(e){return e!==e}});var TE=v((Ece,OE)=>{"use strict";var XJ=SE();OE.exports=function(e){return XJ(e)||e===0?e:e<0?-1:1}});var ME=v((qce,kE)=>{"use strict";kE.exports=Object.getOwnPropertyDescriptor});var pC=v((_ce,EE)=>{"use strict";var zp=ME();if(zp)try{zp([],"length")}catch{zp=null}EE.exports=zp});var _E=v((Hce,qE)=>{"use strict";var Dp=Object.defineProperty||!1;if(Dp)try{Dp({},"a",{value:1})}catch{Dp=!1}qE.exports=Dp});var dC=v((Wce,HE)=>{"use strict";HE.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 IE=v((Rce,RE)=>{"use strict";var WE=typeof Symbol<"u"&&Symbol,e3=dC();RE.exports=function(){return typeof WE!="function"||typeof Symbol!="function"||typeof WE("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e3()}});var hC=v((Ice,zE)=>{"use strict";zE.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var gC=v((zce,DE)=>{"use strict";var n3=cC();DE.exports=n3.getPrototypeOf||null});var UE=v((Dce,NE)=>{"use strict";var i3="Function.prototype.bind called on incompatible ",t3=Object.prototype.toString,a3=Math.max,r3="[object Function]",GE=function(e,n){for(var i=[],a=0;a{"use strict";var l3=UE();$E.exports=Function.prototype.bind||l3});var Gp=v((Nce,BE)=>{"use strict";BE.exports=Function.prototype.call});var mC=v((Uce,LE)=>{"use strict";LE.exports=Function.prototype.apply});var VE=v(($ce,FE)=>{"use strict";FE.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var KE=v((Bce,JE)=>{"use strict";var u3=Pl(),c3=mC(),p3=Gp(),d3=VE();JE.exports=d3||u3.call(p3,c3)});var QE=v((Lce,ZE)=>{"use strict";var h3=Pl(),g3=Ip(),m3=Gp(),f3=KE();ZE.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new g3("a function is required");return f3(h3,m3,e)}});var tq=v((Fce,iq)=>{"use strict";var w3=QE(),YE=pC(),eq;try{eq=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var fC=!!eq&&YE&&YE(Object.prototype,"__proto__"),nq=Object,XE=nq.getPrototypeOf;iq.exports=fC&&typeof fC.get=="function"?w3([fC.get]):typeof XE=="function"?function(e){return XE(e==null?e:nq(e))}:!1});var lq=v((Vce,oq)=>{"use strict";var aq=hC(),rq=gC(),sq=tq();oq.exports=aq?function(e){return aq(e)}:rq?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return rq(e)}:sq?function(e){return sq(e)}:null});var Np=v((Jce,uq)=>{"use strict";var v3=Function.prototype.call,C3=Object.prototype.hasOwnProperty,A3=Pl();uq.exports=A3.call(v3,C3)});var fq=v((Kce,mq)=>{"use strict";var de,b3=cC(),x3=nE(),y3=tE(),P3=rE(),j3=oE(),Es=uE(),Ms=Ip(),S3=dE(),O3=gE(),T3=fE(),k3=vE(),M3=AE(),E3=xE(),q3=PE(),_3=TE(),hq=Function,wC=function(t){try{return hq('"use strict"; return ('+t+").constructor;")()}catch{}},jl=pC(),H3=_E(),vC=function(){throw new Ms},W3=jl?(function(){try{return arguments.callee,vC}catch{try{return jl(arguments,"callee").get}catch{return vC}}})():vC,Ts=IE()(),An=lq(),R3=gC(),I3=hC(),gq=mC(),Sl=Gp(),ks={},z3=typeof Uint8Array>"u"||!An?de:An(Uint8Array),pr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?de:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?de:ArrayBuffer,"%ArrayIteratorPrototype%":Ts&&An?An([][Symbol.iterator]()):de,"%AsyncFromSyncIteratorPrototype%":de,"%AsyncFunction%":ks,"%AsyncGenerator%":ks,"%AsyncGeneratorFunction%":ks,"%AsyncIteratorPrototype%":ks,"%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%":x3,"%eval%":eval,"%EvalError%":y3,"%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%":hq,"%GeneratorFunction%":ks,"%Int8Array%":typeof Int8Array>"u"?de:Int8Array,"%Int16Array%":typeof Int16Array>"u"?de:Int16Array,"%Int32Array%":typeof Int32Array>"u"?de:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ts&&An?An(An([][Symbol.iterator]())):de,"%JSON%":typeof JSON=="object"?JSON:de,"%Map%":typeof Map>"u"?de:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ts||!An?de:An(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":b3,"%Object.getOwnPropertyDescriptor%":jl,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?de:Promise,"%Proxy%":typeof Proxy>"u"?de:Proxy,"%RangeError%":P3,"%ReferenceError%":j3,"%Reflect%":typeof Reflect>"u"?de:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?de:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ts||!An?de:An(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?de:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ts&&An?An(""[Symbol.iterator]()):de,"%Symbol%":Ts?Symbol:de,"%SyntaxError%":Es,"%ThrowTypeError%":W3,"%TypedArray%":z3,"%TypeError%":Ms,"%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%":S3,"%WeakMap%":typeof WeakMap>"u"?de:WeakMap,"%WeakRef%":typeof WeakRef>"u"?de:WeakRef,"%WeakSet%":typeof WeakSet>"u"?de:WeakSet,"%Function.prototype.call%":Sl,"%Function.prototype.apply%":gq,"%Object.defineProperty%":H3,"%Object.getPrototypeOf%":R3,"%Math.abs%":O3,"%Math.floor%":T3,"%Math.max%":k3,"%Math.min%":M3,"%Math.pow%":E3,"%Math.round%":q3,"%Math.sign%":_3,"%Reflect.getPrototypeOf%":I3};if(An)try{null.error}catch(t){cq=An(An(t)),pr["%Error.prototype%"]=cq}var cq,D3=function t(e){var n;if(e==="%AsyncFunction%")n=wC("async function () {}");else if(e==="%GeneratorFunction%")n=wC("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=wC("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 pr[e]=n,n},pq={__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"]},Ol=Pl(),Up=Np(),G3=Ol.call(Sl,Array.prototype.concat),N3=Ol.call(gq,Array.prototype.splice),dq=Ol.call(Sl,String.prototype.replace),$p=Ol.call(Sl,String.prototype.slice),U3=Ol.call(Sl,RegExp.prototype.exec),$3=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,B3=/\\(\\)?/g,L3=function(e){var n=$p(e,0,1),i=$p(e,-1);if(n==="%"&&i!=="%")throw new Es("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new Es("invalid intrinsic syntax, expected opening `%`");var a=[];return dq(e,$3,function(r,s,o,l){a[a.length]=o?dq(l,B3,"$1"):s||r}),a},F3=function(e,n){var i=e,a;if(Up(pq,i)&&(a=pq[i],i="%"+a[0]+"%"),Up(pr,i)){var r=pr[i];if(r===ks&&(r=D3(i)),typeof r>"u"&&!n)throw new Ms("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:i,value:r}}throw new Es("intrinsic "+e+" does not exist!")};mq.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Ms("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Ms('"allowMissing" argument must be a boolean');if(U3(/^%?[^%]*%?$/,e)===null)throw new Es("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=L3(e),a=i.length>0?i[0]:"",r=F3("%"+a+"%",n),s=r.name,o=r.value,l=!1,c=r.alias;c&&(a=c[0],N3(i,G3([0,1],c)));for(var u=1,p=!0;u=i.length){var m=jl(o,h);p=!!m,p&&"get"in m&&!("originalValue"in m.get)?o=m.get:o=o[h]}else p=Up(o,h),o=o[h];p&&!l&&(pr[s]=o)}}return o}});var vq=v((Zce,wq)=>{"use strict";var V3=dC();wq.exports=function(){return V3()&&!!Symbol.toStringTag}});var bq=v((Qce,Aq)=>{"use strict";var J3=fq(),Cq=J3("%Object.defineProperty%",!0),K3=vq()(),Z3=Np(),Q3=Ip(),Bp=K3?Symbol.toStringTag:null;Aq.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 Q3("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Bp&&(i||!Z3(e,Bp))&&(Cq?Cq(e,Bp,{configurable:!a,enumerable:!1,value:n,writable:!1}):e[Bp]=n)}});var yq=v((Yce,xq)=>{"use strict";xq.exports=function(t,e){return Object.keys(e).forEach(function(n){t[n]=t[n]||e[n]}),t}});var Sq=v((Xce,jq)=>{"use strict";var xC=kM(),Y3=require("util"),CC=require("path"),X3=require("http"),e6=require("https"),n6=require("url").parse,i6=require("fs"),t6=require("stream").Stream,a6=require("crypto"),AC=WM(),r6=YM(),s6=bq(),va=Np(),bC=yq();function Pq(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=[],xC.call(this),t=t||{};for(var e in t)this[e]=t[e]}Y3.inherits(ye,xC);ye.LINE_BREAK=`\r +`;ye.DEFAULT_CONTENT_TYPE="application/octet-stream";ye.prototype.append=function(t,e,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=xC.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)};ye.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)+ye.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&va(e,"httpVersion"))&&!(e instanceof t6))&&(n.knownLength||this._valuesToMeasure.push(e))};ye.prototype._lengthRetriever=function(t,e){va(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):i6.stat(t.path,function(n,i){if(n){e(n);return}var a=i.size-(t.start?t.start:0);e(null,a)}):va(t,"httpVersion")?e(null,Number(t.headers["content-length"])):va(t,"httpModule")?(t.on("response",function(n){t.pause(),e(null,Number(n.headers["content-length"]))}),t.resume()):e("Unknown stream")};ye.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="'+Pq(t)+'"'].concat(i||[]),"Content-Type":[].concat(a||[])};typeof n.header=="object"&&bC(s,n.header);var o;for(var l in s)if(va(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 n;if(typeof e.filepath=="string"?n=CC.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t&&(t.name||t.path)?n=CC.basename(e.filename||t&&(t.name||t.path)):t&&t.readable&&va(t,"httpVersion")&&(n=CC.basename(t.client._httpMessage.path||"")),n)return'filename="'+Pq(n)+'"'};ye.prototype._getContentType=function(t,e){var n=e.contentType;return!n&&t&&t.name&&(n=AC.lookup(t.name)),!n&&t&&t.path&&(n=AC.lookup(t.path)),!n&&t&&t.readable&&va(t,"httpVersion")&&(n=t.headers["content-type"]),!n&&(e.filepath||e.filename)&&(n=AC.lookup(e.filepath||e.filename)),!n&&t&&typeof t=="object"&&(n=ye.DEFAULT_CONTENT_TYPE),n};ye.prototype._multiPartFooter=function(){return function(t){var e=ye.LINE_BREAK,n=this._streams.length===0;n&&(e+=this._lastBoundary()),t(e)}.bind(this)};ye.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ye.LINE_BREAK};ye.prototype.getHeaders=function(t){var e,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)va(t,e)&&(n[e.toLowerCase()]=t[e]);return n};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(),n=0,i=this._streams.length;n{var qs=1e3,_s=qs*60,Hs=_s*60,dr=Hs*24,o6=dr*7,l6=dr*365.25;Oq.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return u6(t);if(n==="number"&&isFinite(t))return e.long?p6(t):c6(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function u6(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*l6;case"weeks":case"week":case"w":return n*o6;case"days":case"day":case"d":return n*dr;case"hours":case"hour":case"hrs":case"hr":case"h":return n*Hs;case"minutes":case"minute":case"mins":case"min":case"m":return n*_s;case"seconds":case"second":case"secs":case"sec":case"s":return n*qs;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function c6(t){var e=Math.abs(t);return e>=dr?Math.round(t/dr)+"d":e>=Hs?Math.round(t/Hs)+"h":e>=_s?Math.round(t/_s)+"m":e>=qs?Math.round(t/qs)+"s":t+"ms"}function p6(t){var e=Math.abs(t);return e>=dr?Lp(t,e,dr,"day"):e>=Hs?Lp(t,e,Hs,"hour"):e>=_s?Lp(t,e,_s,"minute"):e>=qs?Lp(t,e,qs,"second"):t+" ms"}function Lp(t,e,n,i){var a=e>=n*1.5;return Math.round(t/n)+" "+i+(a?"s":"")}});var PC=v((npe,Tq)=>{function d6(t){n.debug=n,n.default=n,n.coerce=l,n.disable=s,n.enable=a,n.enabled=o,n.humanize=yC(),n.destroy=c,Object.keys(t).forEach(u=>{n[u]=t[u]}),n.names=[],n.skips=[],n.formatters={};function e(u){let p=0;for(let h=0;h{if(T==="%%")return"%";x++;let V=n.formatters[M];if(typeof V=="function"){let N=w[x];T=V.call(f,N),w.splice(x,1),x--}return T}),n.formatArgs.call(f,w),(f.log||n.log).apply(f,w)}return m.namespace=u,m.useColors=n.useColors(),m.color=n.selectColor(u),m.extend=i,m.destroy=n.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(g!==n.namespaces&&(g=n.namespaces,d=n.enabled(u)),d),set:w=>{h=w}}),typeof n.init=="function"&&n.init(m),m}function i(u,p){let h=n(this.namespace+(typeof p>"u"?":":p)+u);return h.log=this.log,h}function a(u){n.save(u),n.namespaces=u,n.names=[],n.skips=[];let p=(typeof u=="string"?u:"").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(u,p){let h=0,g=0,d=-1,m=0;for(;h"-"+p)].join(",");return n.enable(""),u}function o(u){for(let p of n.skips)if(r(u,p))return!1;for(let p of n.names)if(r(u,p))return!0;return!1}function l(u){return u instanceof Error?u.stack||u.message:u}function c(){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}Tq.exports=d6});var kq=v((hi,Fp)=>{hi.formatArgs=g6;hi.save=m6;hi.load=f6;hi.useColors=h6;hi.storage=w6();hi.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`."))}})();hi.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 h6(){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 g6(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Fp.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)}hi.log=console.debug||console.log||(()=>{});function m6(t){try{t?hi.storage.setItem("debug",t):hi.storage.removeItem("debug")}catch{}}function f6(){let t;try{t=hi.storage.getItem("debug")||hi.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function w6(){try{return localStorage}catch{}}Fp.exports=PC()(hi);var{formatters:v6}=Fp.exports;v6.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Eq=v((bn,Jp)=>{var C6=require("tty"),Vp=require("util");bn.init=S6;bn.log=y6;bn.formatArgs=b6;bn.save=P6;bn.load=j6;bn.useColors=A6;bn.destroy=Vp.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 A6(){return"colors"in bn.inspectOpts?!!bn.inspectOpts.colors:C6.isatty(process.stderr.fd)}function b6(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(` `).join(` -`+r),t.push(a+"m+"+rp.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=H5()+e+" "+t[0]}function H5(){return An.inspectOpts.hideDate?"":new Date().toISOString()+" "}function R5(...t){return process.stderr.write(ap.formatWithOptions(An.inspectOpts,...t)+` -`)}function I5(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function W5(){return process.env.DEBUG}function z5(t){t.inspectOpts={};let e=Object.keys(An.inspectOpts);for(let n=0;ne.trim()).join(" ")};Zk.O=function(t){return this.inspectOpts.colors=this.useColors,ap.inspect(t,this.inspectOpts)}});var rl=v((Toe,fv)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?fv.exports=Jk():fv.exports=Kk()});var Qk=v(wv=>{"use strict";Object.defineProperty(wv,"__esModule",{value:!0});function D5(t){return function(e,n){return new Promise((i,a)=>{t.call(this,e,n,(r,s)=>{r?a(r):i(s)})})}}wv.default=D5});var eE=v((Cv,Xk)=>{"use strict";var Yk=Cv&&Cv.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},G5=require("events"),N5=Yk(rl()),U5=Yk(Qk()),sl=N5.default("agent-base");function $5(t){return!!t&&typeof t.addRequest=="function"}function vv(){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 sp(t,e){return new sp.Agent(t,e)}(function(t){class e extends G5.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:vv()?443:80}set defaultPort(i){this.explicitDefaultPort=i}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:vv()?"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=vv()),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,c=g=>{i._hadError||(i.emit("error",g),i._hadError=!0)},u=()=>{o=null,s=!0;let g=new Error(`A "socket" was not created for HTTP request before ${l}ms`);g.code="ETIMEOUT",c(g)},d=g=>{s||(o!==null&&(clearTimeout(o),o=null),c(g))},h=g=>{if(s)return;if(o!=null&&(clearTimeout(o),o=null),$5(g)){sl("Callback returned another Agent instance %o",g.constructor.name),g.addRequest(i,r);return}if(g){g.once("free",()=>{this.freeSocket(g,r)}),i.onSocket(g);return}let p=new Error(`no Duplex stream was returned to agent-base for \`${i.method} ${i.path}\``);c(p)};if(typeof this.callback!="function"){c(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(sl("Converting legacy callback function to promise"),this.promisifiedCallback=U5.default(this.callback)):this.promisifiedCallback=this.callback),typeof l=="number"&&l>0&&(o=setTimeout(u,l)),"port"in r&&typeof r.port!="number"&&(r.port=Number(r.port));try{sl("Resolving socket for %o request: %o",r.protocol,`${i.method} ${i.path}`),Promise.resolve(this.promisifiedCallback(i,r)).then(h,d)}catch(g){Promise.reject(g).catch(d)}}freeSocket(i,a){sl("Freeing socket %o %o",i.constructor.name,a),i.destroy()}destroy(){sl("Destroying agent %o",this.constructor.name)}}t.Agent=e,t.prototype=t.Agent.prototype})(sp||(sp={}));Xk.exports=sp});var nE=v(ll=>{"use strict";var L5=ll&&ll.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ll,"__esModule",{value:!0});var B5=L5(rl()),ol=B5.default("https-proxy-agent:parse-proxy-response");function F5(t){return new Promise((e,n)=>{let i=0,a=[];function r(){let d=t.read();d?u(d):t.once("readable",r)}function s(){t.removeListener("end",l),t.removeListener("error",c),t.removeListener("close",o),t.removeListener("readable",r)}function o(d){ol("onclose had error %o",d)}function l(){ol("onend")}function c(d){s(),ol("onerror %o",d),n(d)}function u(d){a.push(d),i+=d.length;let h=Buffer.concat(a,i);if(h.indexOf(`\r +`+r),t.push(a+"m+"+Jp.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=x6()+e+" "+t[0]}function x6(){return bn.inspectOpts.hideDate?"":new Date().toISOString()+" "}function y6(...t){return process.stderr.write(Vp.formatWithOptions(bn.inspectOpts,...t)+` +`)}function P6(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function j6(){return process.env.DEBUG}function S6(t){t.inspectOpts={};let e=Object.keys(bn.inspectOpts);for(let n=0;ne.trim()).join(" ")};Mq.O=function(t){return this.inspectOpts.colors=this.useColors,Vp.inspect(t,this.inspectOpts)}});var Tl=v((ipe,jC)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?jC.exports=kq():jC.exports=Eq()});var qq=v(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});function O6(t){return function(e,n){return new Promise((i,a)=>{t.call(this,e,n,(r,s)=>{r?a(r):i(s)})})}}SC.default=O6});var Wq=v((TC,Hq)=>{"use strict";var _q=TC&&TC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},T6=require("events"),k6=_q(Tl()),M6=_q(qq()),kl=k6.default("agent-base");function E6(t){return!!t&&typeof t.addRequest=="function"}function OC(){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 Kp(t,e){return new Kp.Agent(t,e)}(function(t){class e extends T6.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:OC()?443:80}set defaultPort(i){this.explicitDefaultPort=i}get protocol(){return typeof this.explicitProtocol=="string"?this.explicitProtocol:OC()?"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=OC()),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,c=g=>{i._hadError||(i.emit("error",g),i._hadError=!0)},u=()=>{o=null,s=!0;let g=new Error(`A "socket" was not created for HTTP request before ${l}ms`);g.code="ETIMEOUT",c(g)},p=g=>{s||(o!==null&&(clearTimeout(o),o=null),c(g))},h=g=>{if(s)return;if(o!=null&&(clearTimeout(o),o=null),E6(g)){kl("Callback returned another Agent instance %o",g.constructor.name),g.addRequest(i,r);return}if(g){g.once("free",()=>{this.freeSocket(g,r)}),i.onSocket(g);return}let d=new Error(`no Duplex stream was returned to agent-base for \`${i.method} ${i.path}\``);c(d)};if(typeof this.callback!="function"){c(new Error("`callback` is not defined"));return}this.promisifiedCallback||(this.callback.length>=3?(kl("Converting legacy callback function to promise"),this.promisifiedCallback=M6.default(this.callback)):this.promisifiedCallback=this.callback),typeof l=="number"&&l>0&&(o=setTimeout(u,l)),"port"in r&&typeof r.port!="number"&&(r.port=Number(r.port));try{kl("Resolving socket for %o request: %o",r.protocol,`${i.method} ${i.path}`),Promise.resolve(this.promisifiedCallback(i,r)).then(h,p)}catch(g){Promise.reject(g).catch(p)}}freeSocket(i,a){kl("Freeing socket %o %o",i.constructor.name,a),i.destroy()}destroy(){kl("Destroying agent %o",this.constructor.name)}}t.Agent=e,t.prototype=t.Agent.prototype})(Kp||(Kp={}));Hq.exports=Kp});var Rq=v(El=>{"use strict";var q6=El&&El.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(El,"__esModule",{value:!0});var _6=q6(Tl()),Ml=_6.default("https-proxy-agent:parse-proxy-response");function H6(t){return new Promise((e,n)=>{let i=0,a=[];function r(){let p=t.read();p?u(p):t.once("readable",r)}function s(){t.removeListener("end",l),t.removeListener("error",c),t.removeListener("close",o),t.removeListener("readable",r)}function o(p){Ml("onclose had error %o",p)}function l(){Ml("onend")}function c(p){s(),Ml("onerror %o",p),n(p)}function u(p){a.push(p),i+=p.length;let h=Buffer.concat(a,i);if(h.indexOf(`\r \r -`)===-1){ol("have not received end of HTTP headers yet..."),r();return}let p=h.toString("ascii",0,h.indexOf(`\r -`)),m=+p.split(" ")[1];ol("got proxy server response: %o",p),e({statusCode:m,buffered:h})}t.on("error",c),t.on("close",o),t.on("end",l),r()})}ll.default=F5});var aE=v(er=>{"use strict";var V5=er&&er.__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(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?r(u.value):a(u.value).then(o,l)}c((i=i.apply(t,e||[])).next())})},ms=er&&er.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(er,"__esModule",{value:!0});var iE=ms(require("net")),tE=ms(require("tls")),J5=ms(require("url")),Z5=ms(require("assert")),K5=ms(rl()),Q5=eE(),Y5=ms(nE()),ul=K5.default("https-proxy-agent:agent"),Av=class extends Q5.Agent{constructor(e){let n;if(typeof e=="string"?n=J5.default.parse(e):n=e,!n)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");ul("creating new HttpsProxyAgent instance: %o",n),super(n);let i=Object.assign({},n);this.secureProxy=n.secureProxy||n3(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 V5(this,void 0,void 0,function*(){let{proxy:i,secureProxy:a}=this,r;a?(ul("Creating `tls.Socket`: %o",i),r=tE.default.connect(i)):(ul("Creating `net.Socket`: %o",i),r=iE.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:c,port:u,secureEndpoint:d}=n;e3(u,d)||(c+=`:${u}`),s.Host=c,s.Connection="close";for(let f of Object.keys(s))l+=`${f}: ${s[f]}\r -`;let h=Y5.default(r);r.write(`${l}\r -`);let{statusCode:g,buffered:p}=yield h;if(g===200){if(e.once("socket",X5),n.secureEndpoint){ul("Upgrading socket connection to TLS");let f=n.servername||n.host;return tE.default.connect(Object.assign(Object.assign({},i3(n,"host","hostname","path","port")),{socket:r,servername:f}))}return r}r.destroy();let m=new iE.default.Socket({writable:!1});return m.readable=!0,e.once("socket",f=>{ul("replaying proxy buffer for failed request"),Z5.default(f.listenerCount("data")>0),f.push(p),f.push(null)}),m})}};er.default=Av;function X5(t){t.resume()}function e3(t,e){return!!(!e&&t===80||e&&t===443)}function n3(t){return typeof t=="string"?/^https:?$/i.test(t):!1}function i3(t,...e){let n={},i;for(i in t)e.includes(i)||(n[i]=t[i]);return n}});var sE=v((yv,rE)=>{"use strict";var t3=yv&&yv.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},bv=t3(aE());function xv(t){return new bv.default(t)}(function(t){t.HttpsProxyAgent=bv.default,t.prototype=bv.default.prototype})(xv||(xv={}));rE.exports=xv});var lE=v((qoe,oE)=>{var cl;oE.exports=function(){if(!cl){try{cl=rl()("follow-redirects")}catch{}typeof cl!="function"&&(cl=function(){})}cl.apply(null,arguments)}});var hE=v((_oe,Rv)=>{var dl=require("url"),pl=dl.URL,a3=require("http"),r3=require("https"),Tv=require("stream").Writable,Mv=require("assert"),uE=lE();(function(){var e=typeof process<"u",n=typeof window<"u"&&typeof document<"u",i=ir(Error.captureStackTrace);!e&&(n||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var kv=!1;try{Mv(new pl(""))}catch(t){kv=t.code==="ERR_INVALID_URL"}var s3=["Authorization","Proxy-Authorization","Cookie"],o3=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Ev=["abort","aborted","connect","error","socket","timeout"],qv=Object.create(null);Ev.forEach(function(t){qv[t]=function(e,n,i){this._redirectable.emit(t,e,n,i)}});var jv=hl("ERR_INVALID_URL","Invalid URL",TypeError),Sv=hl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),l3=hl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Sv),u3=hl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),c3=hl("ERR_STREAM_WRITE_AFTER_END","write after end"),p3=Tv.prototype.destroy||pE;function oi(t,e){Tv.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 Sv?a:new Sv({cause:a}))}},this._headerFilter=new RegExp("^(?:"+s3.concat(t.sensitiveHeaders).map(w3).join("|")+")$","i"),this._performRequest()}oi.prototype=Object.create(Tv.prototype);oi.prototype.abort=function(){Hv(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};oi.prototype.destroy=function(t){return Hv(this._currentRequest,t),p3.call(this,t),this};oi.prototype.write=function(t,e,n){if(this._ending)throw new c3;if(!nr(t)&&!m3(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(ir(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 u3),this.abort())};oi.prototype.end=function(t,e,n){if(ir(t)?(n=t,t=e=null):ir(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}};oi.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};oi.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};oi.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){oi.prototype[t]=function(e,n){return this._currentRequest[t](e,n)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(oi.prototype,t,{get:function(){return this._currentRequest[t]}})});oi.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),g3(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))}};oi.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 Ev)i.on(a,qv[a]);if(this._currentUrl=/^\//.test(this._options.path)?dl.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,o=this._requestBodyBuffers;(function l(c){if(i===s._currentRequest)if(c)s.emit("error",c);else if(r=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(Hv(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new l3;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=[],Pv(/^content-/i,this._options.headers));var s=Pv(/^host$/i,this._options.headers),o=_v(this._currentUrl),l=s||o.host,c=/^\w+:/.test(n)?this._currentUrl:dl.format(Object.assign(o,{host:l})),u=d3(n,c);if(uE("redirecting to",u.href),this._isRedirect=!0,Ov(u,this._options),(u.protocol!==o.protocol&&u.protocol!=="https:"||u.host!==l&&!h3(u.host,l))&&Pv(this._headerFilter,this._options.headers),ir(a)){var d={headers:t.headers,statusCode:e},h={url:c,method:r,headers:i};a(this._options,d,h),this._sanitizeOptions(this._options)}this._performRequest()};function cE(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(c,u,d){return f3(c)?c=Ov(c):nr(c)?c=Ov(_v(c)):(d=u,u=dE(c),c={protocol:a}),ir(u)&&(d=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},c,u),u.nativeProtocols=n,!nr(u.host)&&!nr(u.hostname)&&(u.hostname="::1"),Mv.equal(u.protocol,a,"protocol mismatch"),uE("options",u),new oi(u,d)}function l(c,u,d){var h=s.request(c,u,d);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 pE(){}function _v(t){var e;if(kv)e=new pl(t);else if(e=dE(dl.parse(t)),!nr(e.protocol))throw new jv({input:t});return e}function d3(t,e){return kv?new pl(t,e):_v(dl.resolve(e,t))}function dE(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new jv({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new jv({input:t.href||t});return t}function Ov(t,e){var n=e||{};for(var i of o3)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 Pv(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 hl(t,e,n){function i(a){ir(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 Hv(t,e){for(var n of Ev)t.removeListener(n,qv[n]);t.on("error",pE),t.destroy(e)}function h3(t,e){Mv(nr(t)&&nr(e));var n=t.length-e.length-1;return n>0&&t[n]==="."&&t.endsWith(e)}function g3(t){return t instanceof Array}function nr(t){return typeof t=="string"||t instanceof String}function ir(t){return typeof t=="function"}function m3(t){return typeof t=="object"&&"length"in t}function f3(t){return pl&&t instanceof pl}function w3(t){return t.replace(/[\]\\/()*+?.$]/g,"\\$&")}Rv.exports=cE({http:a3,https:r3});Rv.exports.wrap=cE});var Mq=v((Hoe,Tq)=>{"use strict";var LE=Bk(),v3=require("crypto"),C3=require("url"),BE=sE(),FE=require("http"),VE=require("https"),JE=require("http2"),iC=require("util"),gE=require("path"),A3=hE(),zi=require("zlib"),li=require("stream"),b3=require("events");function ZE(t,e){return function(){return t.apply(e,arguments)}}var{toString:x3}=Object.prototype,{getPrototypeOf:vs}=Object,{iterator:vl,toStringTag:KE}=Symbol,dp=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),ml=(t,e)=>{let n=t,i=[];for(;n!=null&&n!==Object.prototype;){if(i.indexOf(n)!==-1)return!1;if(i.push(n),dp(n,e))return!0;n=vs(n)}return!1},y3=(t,e)=>t!=null&&ml(t,e)?t[e]:void 0,tC=(t=>e=>{let n=x3.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Di=t=>(t=t.toLowerCase(),e=>tC(e)===t),vp=t=>e=>typeof e===t,{isArray:rr}=Array,sr=vp("undefined");function As(t){return t!==null&&!sr(t)&&t.constructor!==null&&!sr(t.constructor)&&ui(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var QE=Di("ArrayBuffer");function P3(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&QE(t.buffer),e}var j3=vp("string"),ui=vp("function"),YE=vp("number"),bs=t=>t!==null&&typeof t=="object",S3=t=>t===!0||t===!1,up=t=>{if(!bs(t))return!1;let e=vs(t);return(e===null||e===Object.prototype||vs(e)===null)&&!ml(t,KE)&&!ml(t,vl)},O3=t=>{if(!bs(t)||As(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},T3=Di("Date"),M3=Di("File"),k3=t=>!!(t&&typeof t.uri<"u"),E3=t=>t&&typeof t.getParts<"u",q3=Di("Blob"),_3=Di("FileList"),H3=Di("Set"),R3=t=>bs(t)&&ui(t.pipe);function I3(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}var mE=I3(),fE=typeof mE.FormData<"u"?mE.FormData:void 0,W3=t=>{if(!t)return!1;if(fE&&t instanceof fE)return!0;let e=vs(t);if(!e||e===Object.prototype||!ui(t.append))return!1;let n=tC(t);return n==="formdata"||n==="object"&&ui(t.toString)&&t.toString()==="[object FormData]"},z3=Di("URLSearchParams"),[D3,G3,N3,U3]=["ReadableStream","Request","Response","Headers"].map(Di),$3=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]),rr(t))for(i=0,a=t.length;i0;)if(a=n[i],e===a.toLowerCase())return a;return null}var tr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,eq=t=>!sr(t)&&t!==tr;function Vv(...t){let{caseless:e,skipUndefined:n}=eq(this)&&this||{},i={},a=(r,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let o=e&&typeof s=="string"&&XE(i,s)||s,l=dp(i,o)?i[o]:void 0;up(l)&&up(r)?i[o]=Vv(l,r):up(r)?i[o]=Vv({},r):rr(r)?i[o]=r.slice():(!n||!sr(r))&&(i[o]=r)};for(let r=0,s=t.length;r(Cl(e,(a,r)=>{n&&ui(a)?Object.defineProperty(t,r,{__proto__:null,value:ZE(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),B3=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),F3=(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)},V3=(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&&vs(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},J3=(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},Z3=t=>{if(!t)return null;if(rr(t))return t;let e=t.length;if(!YE(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},K3=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&vs(Uint8Array)),Q3=(t,e)=>{let i=(t&&t[vl]).call(t),a;for(;(a=i.next())&&!a.done;){let r=a.value;e.call(t,r[0],r[1])}},Y3=(t,e)=>{let n,i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},X3=Di("HTMLFormElement"),eJ=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,a){return i.toUpperCase()+a}),{propertyIsEnumerable:nJ}=Object.prototype,iJ=Di("RegExp"),nq=(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)},tJ=t=>{nq(t,(e,n)=>{if(ui(t)&&["arguments","caller","callee"].includes(n))return!1;let i=t[n];if(ui(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+"'")})}})},aJ=(t,e)=>{let n={},i=a=>{a.forEach(r=>{n[r]=!0})};return rr(t)?i(t):i(String(t).split(e)),n},rJ=()=>{},sJ=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function oJ(t){return!!(t&&ui(t.append)&&t[KE]==="FormData"&&t[vl])}var lJ=t=>{let e=new WeakSet,n=i=>{if(bs(i)){if(e.has(i))return;if(As(i))return i;if(!("toJSON"in i)){e.add(i);let a;if(H3(i)){a=[];for(let r of i){let s=n(r);!sr(s)&&a.push(s)}}else a=rr(i)?[]:{},Cl(i,(r,s)=>{let o=n(r);!sr(o)&&(a[s]=o)});return e.delete(i),a}}return i};return n(t)},uJ=Di("AsyncFunction"),cJ=t=>t&&(bs(t)||ui(t))&&ui(t.then)&&ui(t.catch),iq=((t,e)=>t?setImmediate:e?((n,i)=>(tr.addEventListener("message",({source:a,data:r})=>{a===tr&&r===n&&i.length&&i.shift()()},!1),a=>{i.push(a),tr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ui(tr.postMessage)),pJ=typeof queueMicrotask<"u"?queueMicrotask.bind(tr):typeof process<"u"&&process.nextTick||iq,tq=t=>t!=null&&ui(t[vl]),dJ=t=>t!=null&&ml(t,vl)&&tq(t),C={isArray:rr,isArrayBuffer:QE,isBuffer:As,isFormData:W3,isArrayBufferView:P3,isString:j3,isNumber:YE,isBoolean:S3,isObject:bs,isPlainObject:up,isEmptyObject:O3,isReadableStream:D3,isRequest:G3,isResponse:N3,isHeaders:U3,isUndefined:sr,isDate:T3,isFile:M3,isReactNativeBlob:k3,isReactNative:E3,isBlob:q3,isRegExp:iJ,isFunction:ui,isStream:R3,isURLSearchParams:z3,isTypedArray:K3,isFileList:_3,forEach:Cl,merge:Vv,extend:L3,trim:$3,stripBOM:B3,inherits:F3,toFlatObject:V3,kindOf:tC,kindOfTest:Di,endsWith:J3,toArray:Z3,forEachEntry:Q3,matchAll:Y3,isHTMLForm:X3,hasOwnProperty:dp,hasOwnProp:dp,hasOwnInPrototypeChain:ml,getSafeProp:y3,reduceDescriptors:nq,freezeMethods:tJ,toObjectSet:aJ,toCamelCase:eJ,noop:rJ,toFiniteNumber:sJ,findKey:XE,global:tr,isContextDefined:eq,isSpecCompliantForm:oJ,toJSONObject:lJ,isAsyncFn:uJ,isThenable:cJ,setImmediate:iq,asap:pJ,isIterable:tq,isSafeIterable:dJ},hJ=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"]),gJ=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(hJ,n)||(n==="set-cookie"?o?e[n].push(i):e[n]=[i]:e[n]=o?e[n]+", "+i:i)}),e};function mJ(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 fJ=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),wJ=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function aC(t,e){return C.isArray(t)?t.map(n=>aC(n,e)):mJ(String(t).replace(e,""))}var vJ=t=>aC(t,fJ),CJ=t=>aC(t,wJ);function rC(t){let e=Object.create(null);return C.forEach(t.toJSON(),(n,i)=>{e[i]=CJ(n)}),e}var wE=Symbol("internals");function gl(t){return t&&String(t).trim().toLowerCase()}function cp(t){return t===!1||t==null?t:C.isArray(t)?t.map(cp):vJ(String(t))}function AJ(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 bJ=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Iv(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 xJ(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 yJ(t){let e=Object.create(null),n=String(t),i=0,a=!1,r=!1;function s(o){let l=Iv(n.slice(i,o)),c=l.indexOf("=");if(c<1)return;let u=Iv(l.slice(0,c));if(!bJ.test(u))return;let d=u.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;let h=Iv(l.slice(c+1));e[d]=xJ(h)}for(let o=0;o/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Wv(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 jJ(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function SJ(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 an=class{constructor(e){e&&this.set(e)}set(e,n,i){let a=this;function r(o,l,c){let u=gl(l);if(!u)return;let d=C.findKey(a,u);(!d||a[d]===void 0||c===!0||c===void 0&&a[d]!==!1)&&(a[d||l]=cp(o))}let s=(o,l)=>C.forEach(o,(c,u)=>r(c,u,l));if(C.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(C.isString(e)&&(e=e.trim())&&!PJ(e))s(gJ(e),n);else if(C.isObject(e)&&C.isSafeIterable(e)){let o=Object.create(null),l,c;for(let u of e){if(!C.isArray(u))throw new TypeError("Object iterator must return a key-value pair");c=u[0],C.hasOwnProp(o,c)?(l=o[c],o[c]=C.isArray(l)?[...l,u[1]]:[l,u[1]]):o[c]=u[1]}s(o,n)}else e!=null&&r(n,e,i);return this}get(e,n){if(e=gl(e),e){let i=C.findKey(this,e);if(i){let a=this[i];if(!n)return a;if(n===!0)return AJ(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=gl(e),e){let i=C.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||Wv(this,this[i],i,n)))}return!1}delete(e,n){let i=this,a=!1;function r(s){if(s=gl(s),s){let o=C.findKey(i,s);o&&(!n||Wv(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||Wv(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]=cp(a),delete n[r];return}let o=e?jJ(r):String(r).trim();o!==r&&delete n[r],n[o]=cp(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 yJ(e)}static concat(e,...n){let i=new this(e);return n.forEach(a=>i.set(a)),i}static accessor(e){let i=(this[wE]=this[wE]={accessors:{}}).accessors,a=this.prototype;function r(s){let o=gl(s);i[o]||(SJ(a,s),i[o]=!0)}return C.isArray(e)?e.forEach(r):r(e),this}};an.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(an.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}});C.freezeMethods(an);var hp="[REDACTED ****]";function OJ(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 TJ(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 an&&(r=r.toJSON()),i.push(r);let s;if(C.isArray(r))s=[],r.forEach((o,l)=>{let c=a(o);C.isUndefined(c)||(s[l]=c)});else{if(!C.isPlainObject(r)&&OJ(r))return i.pop(),r;s=Object.create(null);for(let[o,l]of Object.entries(r)){let c=n.has(o.toLowerCase())?hp:a(l);C.isUndefined(c)||(s[o]=c)}}return i.pop(),s};return a(t)}function vE(t){try{return String(t)}catch{return""}}function MJ(t){return t.errors.map(n=>{try{return n&&n.message?vE(n.message):vE(n)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}var j=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=MJ(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?TJ(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}}};j.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";j.ERR_BAD_OPTION="ERR_BAD_OPTION";j.ECONNABORTED="ECONNABORTED";j.ETIMEDOUT="ETIMEDOUT";j.ECONNREFUSED="ECONNREFUSED";j.ERR_NETWORK="ERR_NETWORK";j.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";j.ERR_DEPRECATED="ERR_DEPRECATED";j.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";j.ERR_BAD_REQUEST="ERR_BAD_REQUEST";j.ERR_CANCELED="ERR_CANCELED";j.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";j.ERR_INVALID_URL="ERR_INVALID_URL";j.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var zv={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}},aq=100;function Jv(t){return C.isPlainObject(t)||C.isArray(t)}function rq(t){return C.endsWith(t,"[]")?t.slice(0,-2):t}function Dv(t,e,n){return t?t.concat(e).map(function(a,r){return a=rq(a),!n&&r?"["+a+"]":a}).join(n?".":""):e}function kJ(t){return C.isArray(t)&&!t.some(Jv)}var EJ=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function Cp(t,e,n){if(!C.isObject(t))throw new TypeError("target must be an object");e=e||new(LE||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||p,r=n.dots,s=n.indexes,o=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?aq:n.maxDepth,c=o&&C.isSpecCompliantForm(e),u=[];if(!C.isFunction(a))throw new TypeError("visitor must be a function");function d(w){if(w===null)return"";if(C.isDate(w))return w.toISOString();if(C.isBoolean(w))return w.toString();if(!c&&C.isBlob(w))throw new j("Blob is not supported. Use a Buffer instead.");if(C.isArrayBuffer(w)||C.isTypedArray(w)){if(c&&typeof o=="function")return new o([w]);if(zv&&zv.isBufferAvailable())return zv.from(w);throw new j("Blob is not supported. Use a Buffer instead.",j.ERR_NOT_SUPPORT)}return w}function h(w){if(w>l)throw new j("Object is too deeply nested ("+w+" levels). Max depth: "+l,j.ERR_FORM_DATA_DEPTH_EXCEEDED)}function g(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 p(w,b,A){let x=w;if(C.isReactNative(e)&&C.isReactNativeBlob(w))return e.append(Dv(A,b,r),d(w)),!1;if(w&&!A&&typeof w=="object"){if(C.endsWith(b,"{}"))b=i?b:b.slice(0,-2),w=g(w,1);else if(C.isArray(w)&&kJ(w)||(C.isFileList(w)||C.endsWith(b,"[]"))&&(x=C.toArray(w)))return b=rq(b),x.forEach(function(q,$){!(C.isUndefined(q)||q===null)&&e.append(s===!0?Dv([b],$,r):s===null?b:b+"[]",d(q))}),!1}return Jv(w)?!0:(e.append(Dv(A,b,r),d(w)),!1)}let m=Object.assign(EJ,{defaultVisitor:p,convertValue:d,isVisitable:Jv});function f(w,b,A=0){if(!C.isUndefined(w)){if(h(A),u.indexOf(w)!==-1)throw new Error("Circular reference detected in "+b.join("."));u.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)}),u.pop()}}if(!C.isObject(t))throw new TypeError("data must be an object");return f(t),e}function CE(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(i){return e[i]})}function sq(t,e){this._pairs=[],t&&Cp(t,this,e)}var oq=sq.prototype;oq.append=function(e,n){this._pairs.push([e,n])};oq.toString=function(e){let n=e?i=>e.call(this,i,CE):CE;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function qJ(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function sC(t,e,n){if(!e)return t;t=t||"";let i=C.isFunction(n)?{serialize:n}:n,a=C.getSafeProp(i,"encode")||qJ,r=C.getSafeProp(i,"serialize"),s;if(r?s=r(e,i):s=C.isURLSearchParams(e)?e.toString():new sq(e,i).toString(a),s){let o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}var gp=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)})}},Ap={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},_J=C3.URLSearchParams,Gv="abcdefghijklmnopqrstuvwxyz",AE="0123456789",lq={DIGIT:AE,ALPHA:Gv,ALPHA_DIGIT:Gv+Gv.toUpperCase()+AE},HJ=(t=16,e=lq.ALPHA_DIGIT)=>{let n="",{length:i}=e,a=new Uint32Array(t);v3.randomFillSync(a);for(let r=0;rbE)throw new j("FormData field is too deeply nested ("+t+" levels). Max depth: "+bE,j.ERR_FORM_DATA_DEPTH_EXCEEDED)}function NJ(t){let e=[],n=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=n.exec(t))!==null;)uq(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}function UJ(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]=UJ(a[s])),!o)}if(C.isFormData(t)&&C.isFunction(t.entries)){let n={};return C.forEachEntry(t,(i,a)=>{e(NJ(i),a,n,0)}),n}return null}var fs=(t,e)=>t!=null&&C.hasOwnProp(t,e)?t[e]:void 0;function $J(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 Al={transitional:Ap,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(cq(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=fs(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return GJ(e,l).toString();if((o=C.isFileList(e))||i.indexOf("multipart/form-data")>-1){let c=fs(this,"env"),u=c&&c.FormData;return Cp(o?{"files[]":e}:e,u&&new u,l)}}return r||a?(n.setContentType("application/json",!1),$J(e)):e}],transformResponse:[function(e){let n=fs(this,"transitional")||Al.transitional,i=n&&n.forcedJSONParsing,a=fs(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,fs(this,"parseReviver"))}catch(l){if(o)throw l.name==="SyntaxError"?j.from(l,j.ERR_BAD_RESPONSE,this,null,fs(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=>{Al.headers[t]={}});function Nv(t,e){let n=this||Al,i=e||n,a=an.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 pq(t){return!!(t&&t.__CANCEL__)}var Et=class extends j{constructor(e,n,i){super(e??"canceled",j.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function ws(t,e,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new j("Request failed with status code "+n.status,n.status>=400&&n.status<500?j.ERR_BAD_REQUEST:j.ERR_BAD_RESPONSE,n.config,n.request,n))}function LJ(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function BJ(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 FJ=/^https?:(?!\/\/)/i,VJ=/[\t\n\r]/g;function JJ(t){let e=0;for(;e`${n}${i}${hp}`)}function QJ(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${hp}@`),n=e.indexOf("#"),a=(n===-1?e:e.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${hp}`);return n===-1?a:`${a}#${KJ(e.slice(n+1))}`}function xE(t,e){if(typeof t=="string"){let n=ZJ(t);if(FJ.test(n))throw new j(`Invalid URL ${JSON.stringify(QJ(n))}: missing "//" after protocol`,j.ERR_INVALID_URL,e)}}function lC(t,e,n,i){xE(e,i);let a=!LJ(e);return t&&(a||n===!1)?(xE(t,i),BJ(t,e)):e}var YJ={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function XJ(t){try{return new URL(t)}catch{return null}}function e6(t){var e=(typeof t=="string"?XJ(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)||YJ[n]||0,!n6(i,a)))return"";var r=Kv(n+"_proxy")||Kv("all_proxy");return r&&r.indexOf("://")===-1&&(r=n+"://"+r),r}function n6(t,e){var n=Kv("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 Kv(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}var fl="1.19.0";function dq(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}var i6=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function t6(t,e,n){let i=n&&n.Blob||Qe.classes.Blob,a=dq(t);if(e===void 0&&i&&(e=!0),a==="data"){t=a.length?t.slice(a.length+1):t;let r=i6.exec(t);if(!r)throw new j("Invalid URL",j.ERR_INVALID_URL);let s=r[1],o=r[2],l=r[3]?"base64":"utf8",c=r[4],u="";s?u=o?s+o:s:o&&(u="text/plain"+o);let d=l==="base64"?Buffer.from(c,"base64"):Buffer.from(decodeURIComponent(c),l);if(e){if(!i)throw new j("Blob is not supported",j.ERR_NOT_SUPPORT);return new i([d],{type:u})}return d}throw new j("Unsupported protocol "+a,j.ERR_NOT_SUPPORT)}var a6=["content-type","content-length"];function hq(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,a])=>{a6.includes(i.toLowerCase())&&t.set(i,a)})}var Uv=Symbol("internals"),mp=class extends li.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[Uv]={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[Uv];return n.onReadCallback&&n.onReadCallback(),super._read(e)}_transform(e,n,i){let a=this[Uv],r=a.maxRate,s=this.readableHighWaterMark,o=a.timeWindow,l=1e3/o,c=r/l,u=a.minChunkSize!==!1?Math.max(a.minChunkSize,c*.01):0,d=(g,p)=>{let m=Buffer.byteLength(g);a.bytesSeen+=m,a.bytes+=m,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(g)?process.nextTick(p):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(p)}},h=(g,p)=>{let m=Buffer.byteLength(g),f=null,w=s,b,A=0;if(r){let x=Date.now();(!a.ts||(A=x-a.ts)>=o)&&(a.ts=x,b=c-a.bytes,a.bytes=b<0?-b:0,A=0),b=c-a.bytes}if(r){if(b<=0)return setTimeout(()=>{p(null,g)},o-A);bw&&m-w>u&&(f=g.subarray(w),g=g.subarray(0,w)),d(g,f?()=>{process.nextTick(p,null,f)}:p)};h(e,function g(p,m){if(p)return i(p);m?h(m,g):i(null)})}},{asyncIterator:yE}=Symbol,gq=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[yE]?yield*t[yE]():yield t},r6=Qe.ALPHABET.ALPHA_DIGIT+"-_",wl=typeof TextEncoder=="function"?new TextEncoder:new iC.TextEncoder,ar=`\r -`,s6=wl.encode(ar),o6=2,Qv=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)}"`:""}${ar}`;if(a)n=wl.encode(String(n).replace(/\r?\n|\r\n?/g,ar));else{let s=String(n.type||"application/octet-stream").replace(/[\r\n]/g,"");r+=`Content-Type: ${s}${ar}`}this.headers=wl.encode(r+ar),this.contentLength=a?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+o6,this.name=e,this.value=n}async*encode(){yield this.headers;let{value:e}=this;C.isTypedArray(e)?yield e:yield*gq(e),yield s6}static escapeName(e){return String(e).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},l6=(t,e,n)=>{let{tag:i="form-data-boundary",size:a=25,boundary:r=i+"-"+Qe.generateString(a,r6)}=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=wl.encode("--"+r+ar),o=wl.encode("--"+r+"--"+ar),l=o.byteLength,c=Array.from(t.entries()).map(([d,h])=>{let g=new Qv(d,h);return l+=g.size,g});l+=s.byteLength*c.length,l=C.toFiniteNumber(l);let u={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(l)&&(u["Content-Length"]=l),e&&e(u),li.Readable.from((async function*(){for(let d of c)yield s,yield*d.encode();yield o})())},Yv=class extends li.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)}},Xv=class{constructor(){this.sessions=Object.create(null)}getSession(e,n){n=Object.assign({sessionTimeout:1e3},n);let i=this.sessions[e];if(i){let d=i.length;for(let h=0;h{if(r)return;r=!0,s&&(clearTimeout(s),s=null);let d=i,h=d.length,g=h;for(;g--;)if(d[g][0]===a){h===1?delete this.sessions[e]:d.splice(g,1),a.closed||a.close();return}},l=a.request,{sessionTimeout:c}=n;if(c!=null){let d=0;a.request=function(){let h=l.apply(this,arguments);return d++,s&&(clearTimeout(s),s=null),h.once("close",()=>{--d||(s=setTimeout(()=>{s=null,o()},c))}),h}}a.once("close",o);let u=[a,n];return i?i.push(u):i=this.sessions[e]=[u],a}},u6=(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,c6=new Set(["localhost","0.0.0.0"]),mq=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)},$v=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},p6=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(u=>u===""))return t;if(n.length===4){let u=n.map($v);return u.some(d=>d===null||d<0||d>255)?t:u.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=$v(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 u=r-1,d=s;u>=0;u--,d>>=8)l[u]=d&255;let c=i.map($v);return c.some(u=>u===null||u<0||u>255)?t:[...c,...l].join(".")},Lv=t=>/^0{1,4}$/.test(t),d6=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(Lv)&&s.every(Lv)}let n=t.split(":");return n.length===8&&n.every(Lv)},h6=t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return mq(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},PE=t=>t?c6.has(t)||mq(t)||d6(t)?!0:h6(t):!1,g6={http:80,https:443,ws:80,wss:443,ftp:21},m6=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]},f6=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,w6=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,v6=t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(f6);if(e)return e[1];let n=t.match(w6);if(n){let i=parseInt(n[1],16),a=parseInt(n[2],16);return`${i>>8}.${i&255}.${a>>8}.${a&255}`}return t},jE=t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=t.replace(/\.+$/,""),n=p6(e);return n!==e?n:v6(e)};function C6(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)||g6[e.protocol.split(":",1)[0]]||0,a=jE(e.hostname.toLowerCase());return n.split(/[\s,]+/).some(r=>{if(!r)return!1;if(r==="*")return!0;let[s,o]=m6(r);return s=jE(s),!s||o&&o!==i?!1:(s.charAt(0)==="*"&&(s=s.slice(1)),s.charAt(0)==="."?a.endsWith(s):a===s||PE(a)&&PE(s))})}function A6(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 c=Date.now(),u=i[r];s||(s=c),n[a]=l,i[a]=c;let d=r,h=0;for(;d!==a;)h+=n[d++],d=d%t;if(a=(a+1)%t,a===r&&(r=(r+1)%t),c-s{n=u,a=null,r&&(clearTimeout(r),r=null),t(...c)};return[(...c)=>{let u=Date.now(),d=u-n;d>=i?s(c,u):(a=c,r||(r=setTimeout(()=>{r=null,s(a)},i-d)))},()=>a&&s(a)]}var Cs=(t,e,n=3)=>{let i=0,a=A6(50,250);return b6(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),c=Math.max(0,l-i),u=a(c);i=Math.max(i,l);let d={loaded:l,total:o,progress:o?l/o:void 0,bytes:c,rate:u||void 0,estimated:u&&o?(o-l)/u:void 0,event:r,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(d)},n)},fp=(t,e)=>{let n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},wp=(t,e=C.asap)=>(...n)=>e(()=>t(...n)),SE=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,fq=(t,e,n)=>e+2t<=57?t-48:(t&223)-55,x6=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,y6=t=>t===9||t===10||t===12||t===13||t===32,P6=t=>{let e=Math.floor(t/4),n=t%4;return e*3+(n===2?1:n===3?2:0)},wq=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)},j6=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?wq(t):P6(n)},vq=(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&&c<=56319&&o+1=56320&&u<=57343?(s+=4,o++):s+=3}else s+=3}return s};function S6(t){let e=typeof t=="string"?t.indexOf("#"):-1;return vq(e===-1?t:t.slice(0,e),j6)}function O6(t){return vq(t,wq)}var TE={flush:zi.constants.Z_SYNC_FLUSH,finishFlush:zi.constants.Z_SYNC_FLUSH},T6={flush:zi.constants.BROTLI_OPERATION_FLUSH,finishFlush:zi.constants.BROTLI_OPERATION_FLUSH},M6={flush:zi.constants.ZSTD_e_flush,finishFlush:zi.constants.ZSTD_e_flush},Cq=C.isFunction(zi.createBrotliDecompress),Aq=C.isFunction(zi.createZstdDecompress),bq="gzip, compress, deflate"+(Cq?", br":""),k6=bq+(Aq?", zstd":""),ME=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):C.asap,{http:E6,https:q6}=A3,uC=/https:?/,kE=Symbol("axios.http.socketListener"),op=Symbol("axios.http.currentReq"),xq=Symbol("axios.http.installedTunnel"),_6=new Map,EE=new WeakMap,qE={22:21,24:5};function H6(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:qE[e]!=null&&n>=qE[e]}function R6(t,e=process.versions&&process.versions.node){if(!H6(e))return!1;let n=t&&t.options;return!!(n&&C.hasOwnProp(n,"proxyEnv")&&n.proxyEnv!=null)}function I6(t,e,n){return uC.test(t.protocol)?n||VE.globalAgent:e||FE.globalAgent}function W6(t,e){let n=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?EE.get(e)||EE.set(e,new Map).get(e):_6,a=i.get(n);if(a)return a;let r=e&&e.options?{...e.options,...t}:t;if(a=new BE(r),e&&e.options){let s={...e.options},o=a.callback;a.callback=function(c,u){return o.call(this,c,{...s,...u})}}return a[xq]=!0,i.set(n,a),a}var _E=Qe.protocols.map(t=>t+":"),HE=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},RE=(t,[e,n])=>(t.on("end",n).on("error",n),e),z6=new Xv;function D6(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 G6(t,e){t&&Object.keys(t).forEach(n=>{e.has(n.toLowerCase())&&delete t[n]})}function N6(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}function yq(t,e,n,i,a,r){let s=e,o=I6(t,r,a);if(!s&&s!==!1&&!R6(o)){let l=e6(n);l&&(C6(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[xq]&&(t.agent=void 0),s){let l=s instanceof URL,c=p=>l||C.hasOwnProp(s,p)?s[p]:void 0,u=c("username"),d=c("password"),h=C.hasOwnProp(s,"auth")?s.auth:void 0;if(u&&(h=(u||"")+":"+(d||"")),h){let p=typeof h=="object",m=p&&C.hasOwnProp(h,"username")?h.username:void 0,f=p&&C.hasOwnProp(h,"password")?h.password:void 0;if(!!(m||f))h=(m||"")+":"+(f||"");else if(p)throw new j("Invalid proxy authorization",j.ERR_BAD_OPTION,{proxy:s})}if(uC.test(t.protocol)){if(!(a instanceof BE)){let p=c("hostname")||c("host"),m=c("port"),f=c("protocol"),w=f?f.includes(":")?f:`${f}:`:"http:",b=p&&p.includes(":")&&!p.startsWith("[")?`[${p}]`:p,A=new URL(`${w}//${b}${m?":"+m:""}`),x={protocol:A.protocol,hostname:A.hostname.replace(/^\[|\]$/g,""),port:A.port,auth:h&&typeof h=="string"?h:void 0};A.protocol==="https:"&&(x.ALPNProtocols=["http/1.1"]);let S=W6(x,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 p=!1;for(let w of Object.keys(t.headers))if(w.toLowerCase()==="host"){p=!0;break}p||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let m=c("hostname")||c("host");t.hostname=m,t.host=m,t.port=c("port"),t.path=n;let f=c("protocol");f&&(t.protocol=f.includes(":")?f:`${f}:`)}}t.beforeRedirects.proxy=function(c){yq(c,e,c.href,!0,a,r)}}var U6=typeof process<"u"&&C.kindOf(process)==="process",$6=t=>new Promise((e,n)=>{let i,a,r=(l,c)=>{a||(a=!0,i&&i(l,c))},s=l=>{r(l),e(l)},o=l=>{r(l,!0),n(l)};t(s,o,l=>i=l).catch(o)}),L6=({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)}},IE=(t,e)=>L6(C.isObject(t)?t:{address:t,family:e}),B6={request(t,e){let n=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:a}=t,r=z6.getSession(n,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:o,HTTP2_HEADER_PATH:l,HTTP2_HEADER_STATUS:c}=JE.constants,u={[s]:t.protocol.replace(":",""),[o]:t.method,[l]:t.path};C.forEach(a,(h,g)=>{g.charAt(0)!==":"&&(u[g]=h)});let d=r.request(u);return d.once("response",h=>{let g=d;h=Object.assign({},h);let p=h[c];delete h[c],g.headers=h,g.statusCode=+p,e(g)}),d}},F6=U6&&function(e){return $6(async function(i,a,r){let s=z=>C.getSafeProp(e,z),o=s("transitional")||Ap,l=s("data"),c=s("lookup"),u=s("family"),d=s("httpVersion");d===void 0&&(d=1);let h=s("http2Options"),g=s("httpAgent"),p=s("httpsAgent"),m=s("proxy"),f=s("responseType"),w=s("responseEncoding"),b=s("socketPath"),A=s("method").toUpperCase(),x=s("maxRedirects"),S=s("maxBodyLength"),q=s("maxContentLength"),$=s("decompress"),ne,K=!1,M,X;if(d=+d,Number.isNaN(d))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(d!==1&&d!==2)throw TypeError(`Unsupported protocol version '${d}'`);let Pe=d===2;if(c){let z=u6(c,R=>C.isArray(R)?R:[R]);c=(R,le,Ke)=>{z(R,le,(te,mn,Hn)=>{if(te)return Ke(te);let nn=C.isArray(mn)?mn.map(xr=>IE(xr)):[IE(mn,Hn)];le.all?Ke(te,nn):Ke(te,nn[0].address,nn[0].family)})}}let Oe=new b3.EventEmitter;function ge(z){try{Oe.emit("abort",!z||z.type?new Et(null,e,M):z)}catch{}}function qn(){X&&(clearTimeout(X),X=null)}function O(){let z=s("timeout"),R=z?"timeout of "+z+"ms exceeded":"timeout exceeded",le=s("timeoutErrorMessage");return le&&(R=le),new j(R,o.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,e,M)}Oe.once("abort",a);let D=()=>{qn(),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((z,R)=>{if(ne=!0,qn(),R){K=!0,D();return}let{data:le}=z;if(le instanceof li.Readable||le instanceof li.Duplex){let Ke=li.finished(le,()=>{Ke(),D()})}else D()});let ke=lC(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),ln=b?"http://localhost":Qe.hasBrowserEnv?Qe.origin:void 0,I=new URL(ke,ln),Ae=I.protocol||_E[0];if(Ae==="data:"){if(q>-1){let R=String(s("url")||ke||"");if(O6(R)>q)return a(new j("maxContentLength size of "+q+" exceeded",j.ERR_BAD_RESPONSE,e))}let z;if(A!=="GET")return ws(i,a,{status:405,statusText:"method not allowed",headers:{},config:e});try{z=t6(s("url"),f==="blob",{Blob:e.env&&e.env.Blob})}catch(R){throw j.from(R,j.ERR_BAD_REQUEST,e)}return f==="text"?(z=z.toString(w),(!w||w==="utf8")&&(z=C.stripBOM(z))):f==="stream"&&(z=li.Readable.from(z)),ws(i,a,{data:z,status:200,statusText:"OK",headers:new an,config:e})}if(_E.indexOf(Ae)===-1)return a(new j("Unsupported protocol "+Ae,j.ERR_BAD_REQUEST,e));let _e=an.from(e.headers).normalize();_e.set("User-Agent","axios/"+fl,!1);let{onUploadProgress:_n,onDownloadProgress:Zn}=e,nt=e.maxRate,oe,un;if(C.isSpecCompliantForm(l)){let z=_e.getContentType(/boundary=([-_\w\d]{10,70})/i);l=l6(l,R=>{_e.set(R)},{tag:`axios-${fl}-boundary`,boundary:z&&z[1]||void 0})}else if(C.isFormData(l)&&C.isFunction(l.getHeaders)&&l.getHeaders!==Object.prototype.getHeaders){if(hq(_e,l.getHeaders(),s("formDataHeaderPolicy")),!_e.hasContentLength())try{let z=await iC.promisify(l.getLength).call(l);Number.isFinite(z)&&z>=0&&_e.setContentLength(z)}catch{}}else if(C.isBlob(l)||C.isFile(l))l.size&&_e.setContentType(l.type||"application/octet-stream"),_e.setContentLength(l.size||0),l=li.Readable.from(gq(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 j("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",j.ERR_BAD_REQUEST,e));if(_e.setContentLength(l.length,!1),S>-1&&l.length>S)return a(new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,e))}let gn=C.toFiniteNumber(_e.getContentLength());C.isArray(nt)?(oe=nt[0],un=nt[1]):oe=un=nt,l&&(_n||oe)&&(C.isStream(l)||(l=li.Readable.from(l,{objectMode:!1})),l=li.pipeline([l,new mp({maxRate:C.toFiniteNumber(oe)})],C.noop),_n&&l.on("progress",RE(l,fp(gn,Cs(wp(_n,ME),!1,3)))));let Ai,wa=s("auth");if(wa){let z=C.getSafeProp(wa,"username")||"",R=C.getSafeProp(wa,"password")||"";Ai=z+":"+R}if(!Ai&&(I.username||I.password)){let z=HE(I.username),R=HE(I.password);Ai=z+":"+R}Ai&&_e.delete("authorization");let Wt;try{Wt=sC(I.pathname+I.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(z){return a(j.from(z,j.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}_e.set("Accept-Encoding",C.hasOwnProp(o,"advertiseZstdAcceptEncoding")&&o.advertiseZstdAcceptEncoding===!0?k6:bq,!1);let Te=Object.assign(Object.create(null),{path:Wt,method:A,headers:rC(_e),agents:{http:g,https:p},auth:Ai,protocol:Ae,family:u,beforeRedirect:D6,beforeRedirects:Object.create(null),http2Options:h});if(!C.isUndefined(c)&&(Te.lookup=c),b){if(typeof b!="string")return a(new j("socketPath must be a string",j.ERR_BAD_OPTION_VALUE,e));let z=s("allowedSocketPaths");if(z!=null){let R=Array.isArray(z)?z:[z],le=gE.resolve(b);if(!R.some(te=>typeof te=="string"&&gE.resolve(te)===le))return a(new j(`socketPath "${b}" is not permitted by allowedSocketPaths`,j.ERR_BAD_OPTION_VALUE,e))}Te.socketPath=b}else Te.hostname=I.hostname.startsWith("[")?I.hostname.slice(1,-1):I.hostname,Te.port=I.port,yq(Te,m,Ae+"//"+I.hostname+(I.port?":"+I.port:"")+Te.path,!1,p,g);let bi,Ui=!1,Kn=!1,J=uC.test(Te.protocol);if(Te.agent==null&&(Te.agent=J?p:g),Pe)bi=B6;else{let z=s("transport");if(z)bi=z;else if(x===0)bi=J?VE:FE,Ui=!0;else{Kn=!0,Te.sensitiveHeaders=[],x&&(Te.maxRedirects=x);let R=s("beforeRedirect");if(R&&(Te.beforeRedirects.config=R),Ai){let Ke=I.origin,te=Ai;Te.beforeRedirects.auth=function(Hn){try{new URL(Hn.href).origin===Ke&&(Hn.auth=te)}catch{}}}let le=s("sensitiveHeaders");if(le!=null){if(!C.isArray(le))return a(new j("sensitiveHeaders must be an array of strings",j.ERR_BAD_OPTION_VALUE,e));let Ke=new Set;for(let te of le){if(!C.isString(te))return a(new j("sensitiveHeaders must be an array of strings",j.ERR_BAD_OPTION_VALUE,e));Ke.add(te.toLowerCase())}Ke.size&&(Te.sensitiveHeaders=Array.from(Ke),Te.beforeRedirects.sensitiveHeaders=function(mn,Hn){N6(mn,Hn)||G6(mn.headers,Ke)})}bi=J?q6:E6}}S>-1?Te.maxBodyLength=S:Te.maxBodyLength=1/0,Te.insecureHTTPParser=!!s("insecureHTTPParser"),M=bi.request(Te,function(R){if(qn(),M.destroyed)return;let le=[R],Ke=C.toFiniteNumber(R.headers["content-length"]);if(Zn||un){let nn=new mp({maxRate:C.toFiniteNumber(un)});Zn&&nn.on("progress",RE(nn,fp(Ke,Cs(wp(Zn,ME),!0,3)))),le.push(nn)}let te=R,mn=R.req||M;if($!==!1&&R.headers["content-encoding"])switch((A==="HEAD"||R.statusCode===204)&&delete R.headers["content-encoding"],(R.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":le.push(zi.createUnzip(TE)),delete R.headers["content-encoding"];break;case"deflate":le.push(new Yv),le.push(zi.createUnzip(TE)),delete R.headers["content-encoding"];break;case"br":Cq&&(le.push(zi.createBrotliDecompress(T6)),delete R.headers["content-encoding"]);break;case"zstd":Aq&&(le.push(zi.createZstdDecompress(M6)),delete R.headers["content-encoding"]);break}te=le.length>1?li.pipeline(le,C.noop):le[0];let Hn={status:R.statusCode,statusText:R.statusMessage,headers:new an(R.headers),config:e,request:mn};if(f==="stream"){if(q>-1){let nn=q,xr=te;async function*Ns(){let fn=0;for await(let Dx of xr){if(fn+=Dx.length,fn>nn)throw new j("maxContentLength size of "+nn+" exceeded",j.ERR_BAD_RESPONSE,e,mn);yield Dx}}te=li.Readable.from(Ns(),{objectMode:!1})}Hn.data=te,ws(i,a,Hn)}else{let nn=[],xr=0;te.on("data",function(fn){nn.push(fn),xr+=fn.length,q>-1&&xr>q&&(K=!0,te.destroy(),ge(new j("maxContentLength size of "+q+" exceeded",j.ERR_BAD_RESPONSE,e,mn)))}),te.on("aborted",function(){if(K)return;let fn=new j("stream has been aborted",j.ERR_BAD_RESPONSE,e,mn,Hn);te.destroy(fn),a(fn)}),te.on("error",function(fn){K||a(j.from(fn,null,e,mn,Hn))}),te.on("end",function(){try{let fn=nn.length===1?nn[0]:Buffer.concat(nn);f!=="arraybuffer"&&(fn=fn.toString(w),(!w||w==="utf8")&&(fn=C.stripBOM(fn))),Hn.data=fn}catch(fn){return a(j.from(fn,null,e,Hn.request,Hn))}ws(i,a,Hn)})}Oe.once("abort",nn=>{te.destroyed||(te.emit("error",nn),te.destroy())})}),Oe.once("abort",z=>{M.close?M.close():M.destroy(z)}),M.on("error",function(R){a(j.from(R,null,e,M))});let Le=new Set;if(M.on("socket",function(R){typeof R.setKeepAlive=="function"&&R.setKeepAlive(!0,1e3*60),R[kE]||(R.on("error",function(Ke){let te=R[op];te&&!te.destroyed&&te.destroy(Ke)}),R[kE]=!0),R[op]=M,Le.add(R)}),M.once("close",function(){qn();for(let R of Le)R[op]===M&&(R[op]=null);Le.clear()}),s("timeout")){let z=parseInt(s("timeout"),10);if(Number.isNaN(z)){ge(new j("error trying to parse `config.timeout` to int",j.ERR_BAD_OPTION_VALUE,e,M));return}let R=function(){ne||ge(O())};Ui&&z>0&&(X=setTimeout(R,z)),M.setTimeout(z,R)}else M.setTimeout(0);if(C.isStream(l)){let z=!1,R=!1;l.on("end",()=>{z=!0}),l.once("error",Ke=>{R=!0,M.destroy(Ke)}),l.on("close",()=>{!z&&!R&&ge(new Et("Request stream has been aborted",e,M))});let le=l;if(S>-1&&!Kn){let Ke=S,te=0;le=li.pipeline([l,new li.Transform({transform(mn,Hn,nn){if(te+=mn.length,te>Ke)return nn(new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,e,M));nn(null,mn)}})],C.noop),le.on("error",mn=>{M.destroyed||M.destroy(mn)})}le.pipe(M)}else l&&M.write(l),M.end()})},V6=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,J6=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 an?{...t}:t,Z6=t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t);function or(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(u,d,h,g){return C.isPlainObject(u)&&C.isPlainObject(d)?C.merge.call({caseless:g},u,d):C.isPlainObject(d)?C.merge({},d):C.isArray(d)?d.slice():d}function a(u,d,h,g){if(C.isUndefined(d)){if(!C.isUndefined(u))return i(void 0,u,h,g)}else return i(u,d,h,g)}function r(u,d){if(!C.isUndefined(d))return i(void 0,d)}function s(u,d){if(C.isUndefined(d)){if(!C.isUndefined(u))return i(void 0,u)}else return i(void 0,d)}function o(u){let d=C.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!C.isUndefined(d))if(C.isPlainObject(d)){if(C.hasOwnProp(d,u))return d[u]}else return;let h=C.hasOwnProp(t,"transitional")?t.transitional:void 0;if(C.isPlainObject(h)&&C.hasOwnProp(h,u))return h[u]}function l(u,d,h){if(C.hasOwnProp(e,h))return i(u,d);if(C.hasOwnProp(t,h))return i(void 0,u)}let c={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:(u,d,h)=>a(WE(u),WE(d),h,!0)};return C.forEach(Z6({...t,...e}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let h=C.hasOwnProp(c,d)?c[d]:a,g=C.hasOwnProp(t,d)?t[d]:void 0,p=C.hasOwnProp(e,d)?e[d]:void 0,m=h(g,p,d);C.isUndefined(m)&&h!==l||(n[d]=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 K6=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function Pq(t){let e=or({},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"),c=n("baseURL"),u=n("allowAbsoluteUrls"),d=n("url");if(e.headers=o=an.from(o),e.url=sC(lC(c,d,u,e),n("params"),n("paramsSerializer")),l){let h=C.getSafeProp(l,"username")||"",g=C.getSafeProp(l,"password")||"";try{o.set("Authorization","Basic "+btoa(h+":"+(g?K6(g):"")))}catch(p){throw j.from(p,j.ERR_BAD_OPTION_VALUE,t)}}if(C.isFormData(i)&&(Qe.hasStandardBrowserEnv||Qe.hasStandardBrowserWebWorkerEnv||C.isReactNative(i)?o.setContentType(void 0):C.isFunction(i.getHeaders)&&hq(o,i.getHeaders(),n("formDataHeaderPolicy"))),Qe.hasStandardBrowserEnv&&(C.isFunction(a)&&(a=a(e)),a===!0||a==null&&V6(e.url))){let g=r&&s&&J6.read(s);g&&o.set(r,g)}return e}var Q6=typeof XMLHttpRequest<"u",Y6=Q6&&function(t){return new Promise(function(n,i){let a=Pq(t),r=a.data,s=an.from(a.headers).normalize(),{responseType:o,onUploadProgress:l,onDownloadProgress:c}=a,u,d,h,g,p;function m(){g&&g(),p&&p(),a.cancelToken&&a.cancelToken.unsubscribe(u),a.signal&&a.signal.removeEventListener("abort",u)}let f=new XMLHttpRequest;f.open(a.method.toUpperCase(),a.url,!0),f.timeout=a.timeout;function w(){if(!f)return;let A=an.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};ws(function($){n($),m()},function($){i($),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 j("Request aborted",j.ECONNABORTED,t,f)),m(),f=null)},f.onerror=function(x){let S=x&&x.message?x.message:"Network Error",q=new j(S,j.ERR_NETWORK,t,f);q.event=x||null,i(q),m(),f=null},f.ontimeout=function(){let x=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded",S=a.transitional||Ap;a.timeoutErrorMessage&&(x=a.timeoutErrorMessage),i(new j(x,S.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,t,f)),m(),f=null},r===void 0&&s.setContentType(null),"setRequestHeader"in f&&C.forEach(rC(s),function(x,S){f.setRequestHeader(S,x)}),C.isUndefined(a.withCredentials)||(f.withCredentials=!!a.withCredentials),o&&o!=="json"&&(f.responseType=a.responseType),c&&([h,p]=Cs(c,!0),f.addEventListener("progress",h)),l&&f.upload&&([d,g]=Cs(l),f.upload.addEventListener("progress",d),f.upload.addEventListener("loadend",g)),(a.cancelToken||a.signal)&&(u=A=>{f&&(i(!A||A.type?new Et(null,t,f):A),f.abort(),m(),f=null)},a.cancelToken&&a.cancelToken.subscribe(u),a.signal&&(a.signal.aborted?u():a.signal.addEventListener("abort",u)));let b=dq(a.url);if(b&&!Qe.protocols.includes(b)){i(new j("Unsupported protocol "+b+":",j.ERR_BAD_REQUEST,t)),m();return}f.send(r||null)})},X6=(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 c=l instanceof Error?l:this.reason;n.abort(c instanceof j?c:new Et(c instanceof Error?c.message:c))}},r=e&&setTimeout(()=>{r=null,a(new j(`timeout of ${e}ms exceeded`,j.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},e9=function*(t,e){let n=t.byteLength;if(n{let a=n9(t,e),r=0,s,o=l=>{s||(s=!0,i&&i(l))};return new ReadableStream({async pull(l){try{let{done:c,value:u}=await a.next();if(c){o(),l.close();return}let d=u.byteLength;if(n){let h=r+=d;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw o(c),c}},cancel(l){return o(l),a.return()}},{highWaterMark:2})},DE=64*1024,{isFunction:lp}=C,t9=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),GE=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},NE=(t,...e)=>{try{return!!t(...e)}catch{return!1}},a9=t=>{let e=t.indexOf("://"),n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},r9=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?lp(a):typeof fetch=="function",l=lp(r),c=lp(s);if(!o)return!1;let u=o&&lp(n),d=o&&(typeof i=="function"?(w=>b=>w.encode(b))(new i):async w=>new Uint8Array(await new r(w).arrayBuffer())),h=l&&u&&NE(()=>{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}),g=c&&u&&NE(()=>C.isReadableStream(new s("").body)),p={stream:g&&(w=>w.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!p[w]&&(p[w]=(b,A)=>{let x=b&&b[w];if(x)return x.call(b);throw new j(`Response type '${w}' is not supported`,j.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 d(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:x,signal:S,cancelToken:q,timeout:$,onDownloadProgress:ne,onUploadProgress:K,responseType:M,headers:X,withCredentials:Pe="same-origin",fetchOptions:Oe,maxContentLength:ge,maxBodyLength:qn}=Pq(w),O=C.isNumber(ge)&&ge>-1,D=C.isNumber(qn)&&qn>-1,ke=oe=>C.hasOwnProp(w,oe)?w[oe]:void 0,ln=a||fetch;M=M?(M+"").toLowerCase():"text";let I=X6([S,q&&q.toAbortSignal()],$),Ae=null,_e=I&&I.unsubscribe&&(()=>{I.unsubscribe()}),_n,Zn=null,nt=()=>new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,w,Ae);try{let oe,un=ke("auth");if(un){let J=C.getSafeProp(un,"username")||"",Le=C.getSafeProp(un,"password")||"";oe={username:J,password:Le}}if(a9(b)){let J=new URL(b,Qe.origin);if(!oe&&(J.username||J.password)){let Le=GE(J.username),z=GE(J.password);oe={username:Le,password:z}}(J.username||J.password)&&(J.username="",J.password="",b=J.href)}if(oe&&(X.delete("authorization"),X.set("Authorization","Basic "+btoa(t9((oe.username||"")+":"+(oe.password||""))))),O&&typeof b=="string"&&b.startsWith("data:")&&S6(b)>ge)throw new j("maxContentLength size of "+ge+" exceeded",j.ERR_BAD_RESPONSE,w,Ae);if(D&&A!=="get"&&A!=="head"){let J=await m(x);if(typeof J=="number"&&isFinite(J)&&(_n=J,J>qn))throw nt()}let gn=D&&(C.isReadableStream(x)||C.isStream(x)),Ai=(J,Le,z)=>zE(J,DE,R=>{if(D&&R>qn)throw Zn=nt();Le&&Le(R)},z);if(h&&A!=="get"&&A!=="head"&&(K||gn)){if(_n=_n??await f(X,x),_n!==0||gn){let J=new r(b,{method:"POST",body:x,duplex:"half"}),Le;if(C.isFormData(x)&&(Le=J.headers.get("content-type"))&&X.setContentType(Le),J.body){let[z,R]=K&&fp(_n,Cs(wp(K)))||[];x=Ai(J.body,z,R)}}}else if(gn&&!l&&u&&A!=="get"&&A!=="head")x=Ai(x);else if(gn&&l&&!h&&A!=="get"&&A!=="head")throw new j("Stream request bodies are not supported by the current fetch implementation",j.ERR_NOT_SUPPORT,w,Ae);C.isString(Pe)||(Pe=Pe?"include":"omit");let wa=l&&"credentials"in r.prototype;if(C.isFormData(x)){let J=X.getContentType();J&&/^multipart\/form-data/i.test(J)&&!/boundary=/i.test(J)&&X.delete("content-type")}X.set("User-Agent","axios/"+fl,!1);let Wt={...Oe,signal:I,method:A.toUpperCase(),headers:rC(X.normalize()),body:x,duplex:"half",credentials:wa?Pe:void 0};Ae=l&&new r(b,Wt);let Te=await(l?ln(Ae,Oe):ln(b,Wt)),bi=an.from(Te.headers);if(O){let J=C.toFiniteNumber(bi.getContentLength());if(J!=null&&J>ge)throw new j("maxContentLength size of "+ge+" exceeded",j.ERR_BAD_RESPONSE,w,Ae)}let Ui=g&&(M==="stream"||M==="response");if(g&&Te.body&&(ne||O||Ui&&_e)){let J={};["status","statusText","headers"].forEach(te=>{J[te]=Te[te]});let Le=C.toFiniteNumber(bi.getContentLength()),[z,R]=ne&&fp(Le,Cs(wp(ne),!0))||[],le=0,Ke=te=>{if(O&&(le=te,le>ge))throw new j("maxContentLength size of "+ge+" exceeded",j.ERR_BAD_RESPONSE,w,Ae);z&&z(te)};Te=new s(zE(Te.body,DE,Ke,()=>{R&&R(),_e&&_e()}),J)}M=M||"text";let Kn=await p[C.findKey(p,M)||"text"](Te,w);if(O&&!g&&!Ui){let J;if(Kn!=null&&(typeof Kn.byteLength=="number"?J=Kn.byteLength:typeof Kn.size=="number"?J=Kn.size:typeof Kn=="string"&&(J=typeof i=="function"?new i().encode(Kn).byteLength:Kn.length)),typeof J=="number"&&J>ge)throw new j("maxContentLength size of "+ge+" exceeded",j.ERR_BAD_RESPONSE,w,Ae)}return!Ui&&_e&&_e(),await new Promise((J,Le)=>{ws(J,Le,{data:Kn,headers:an.from(Te.headers),status:Te.status,statusText:Te.statusText,config:w,request:Ae})})}catch(oe){if(_e&&_e(),I&&I.aborted&&I.reason instanceof j){let un=I.reason;throw un.config=w,Ae&&(un.request=Ae),oe!==un&&Object.defineProperty(un,"cause",{__proto__:null,value:oe,writable:!0,enumerable:!1,configurable:!0}),un}if(Zn)throw Ae&&!Zn.request&&(Zn.request=Ae),Zn;if(oe instanceof j)throw Ae&&!oe.request&&(oe.request=Ae),oe;if(oe&&oe.name==="TypeError"&&/Load failed|fetch/i.test(oe.message)){let un=new j("Network Error",j.ERR_NETWORK,w,Ae,oe&&oe.response);throw Object.defineProperty(un,"cause",{__proto__:null,value:oe.cause||oe,writable:!0,enumerable:!1,configurable:!0}),un}throw j.from(oe,oe&&oe.code,w,Ae,oe&&oe.response)}}},s9=new Map,jq=t=>{let e=t&&t.env||{},{fetch:n,Request:i,Response:a}=e,r=[i,a,n],s=r.length,o=s,l,c,u=s9;for(;o--;)l=r[o],c=u.get(l),c===void 0&&u.set(l,c=o?new Map:r9(e)),u=c;return c};jq();var cC={http:F6,xhr:Y6,fetch:{get:jq}};C.forEach(cC,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var UE=t=>`- ${t}`,o9=t=>C.isFunction(t)||t===null||t===!1;function l9(t,e){t=C.isArray(t)?t:[t];let{length:n}=t,i,a,r={};for(let s=0;s`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build")),o=n?s.length>1?`since : -`+s.map(UE).join(` -`):" "+UE(s[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+o,j.ERR_NOT_SUPPORT)}return a}var Sq={getAdapter:l9,adapters:cC};function Bv(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Et(null,t)}function Fv(t){return Bv(t),t.headers=an.from(t.headers),t.data=Nv.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Sq.getAdapter(t.adapter||Al.adapter,t)(t).then(function(i){Bv(t),t.response=i;try{i.data=Nv.call(t,t.transformResponse,i)}finally{delete t.response}return i.headers=an.from(i.headers),i},function(i){if(!pq(i)&&(Bv(t),i&&i.response)){t.response=i.response;try{i.response.data=Nv.call(t,t.transformResponse,i.response)}finally{delete t.response}i.response.headers=an.from(i.response.headers)}return Promise.reject(i)})}var bp={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{bp[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});var $E={};bp.transitional=function(e,n,i){function a(r,s){return"[Axios v"+fl+"] Transitional option '"+r+"'"+s+(i?". "+i:"")}return(r,s,o)=>{if(e===!1)throw new j(a(s," has been removed"+(n?" in "+n:"")),j.ERR_DEPRECATED);return n&&!$E[s]&&($E[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}};bp.spelling=function(e){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function u9(t,e,n){if(typeof t!="object"||t===null)throw new j("options must be an object",j.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 j("option "+r+" must be "+l,j.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new j("Unknown option "+r,j.ERR_BAD_OPTION)}}var pp={assertOptions:u9,validators:bp},Gn=pp.validators,kt=class{constructor(e){this.defaults=e||{},this.interceptors={request:new gp,response:new gp}}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(` -`),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=or(this.defaults,n);let{transitional:i,paramsSerializer:a,headers:r}=n;i!==void 0&&pp.assertOptions(i,{silentJSONParsing:Gn.transitional(Gn.boolean),forcedJSONParsing:Gn.transitional(Gn.boolean),clarifyTimeoutError:Gn.transitional(Gn.boolean),legacyInterceptorReqResOrdering:Gn.transitional(Gn.boolean),advertiseZstdAcceptEncoding:Gn.transitional(Gn.boolean),validateStatusUndefinedResolves:Gn.transitional(Gn.boolean)},!1),a!=null&&(C.isFunction(a)?n.paramsSerializer={serialize:a}:pp.assertOptions(a,{encode:Gn.function,serialize:Gn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),pp.assertOptions(n,{baseUrl:Gn.spelling("baseURL"),withXsrfToken:Gn.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"],p=>{delete r[p]}),n.headers=an.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||Ap;f&&f.legacyInterceptorReqResOrdering?o.unshift(m.fulfilled,m.rejected):o.push(m.fulfilled,m.rejected)});let c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,h;if(!l){let p=[Fv.bind(this),void 0];for(p.unshift(...o),p.push(...c),h=p.length,u=Promise.resolve(n);dFv.call(this,g)))}catch(w){u=Promise.reject(w)}break}}if(!u)try{u=Fv.call(this,g)}catch(p){u=Promise.reject(p)}for(d=0,h=c.length;d{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 Et(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 c9(t){return function(n){return t.apply(null,n)}}function p9(t){return C.isObject(t)&&t.isAxiosError===!0}var nC={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(nC).forEach(([t,e])=>{nC[e]=t});function Oq(t){let e=new kt(t),n=ZE(kt.prototype.request,e);return C.extend(n,kt.prototype,e,{allOwnKeys:!0}),C.extend(n,e,null,{allOwnKeys:!0}),n.create=function(a){return Oq(or(t,a))},n}var sn=Oq(Al);sn.Axios=kt;sn.CanceledError=Et;sn.CancelToken=eC;sn.isCancel=pq;sn.VERSION=fl;sn.toFormData=Cp;sn.AxiosError=j;sn.Cancel=sn.CanceledError;sn.all=function(e){return Promise.all(e)};sn.spread=c9;sn.isAxiosError=p9;sn.mergeConfig=or;sn.AxiosHeaders=an;sn.formToJSON=t=>cq(C.isHTMLForm(t)?new FormData(t):t);sn.getAdapter=Sq.getAdapter;sn.HttpStatusCode=nC;sn.default=sn;Tq.exports=sn});var ci=v((Roe,kq)=>{"use strict";var pC=class t extends Error{constructor(e){super(`Format functions must be synchronous taking a two arguments: (info, opts) +`)===-1){Ml("have not received end of HTTP headers yet..."),r();return}let d=h.toString("ascii",0,h.indexOf(`\r +`)),m=+d.split(" ")[1];Ml("got proxy server response: %o",d),e({statusCode:m,buffered:h})}t.on("error",c),t.on("close",o),t.on("end",l),r()})}El.default=H6});var Dq=v(hr=>{"use strict";var W6=hr&&hr.__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(u){try{c(i.next(u))}catch(p){s(p)}}function l(u){try{c(i.throw(u))}catch(p){s(p)}}function c(u){u.done?r(u.value):a(u.value).then(o,l)}c((i=i.apply(t,e||[])).next())})},Ws=hr&&hr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hr,"__esModule",{value:!0});var Iq=Ws(require("net")),zq=Ws(require("tls")),R6=Ws(require("url")),I6=Ws(require("assert")),z6=Ws(Tl()),D6=Wq(),G6=Ws(Rq()),ql=z6.default("https-proxy-agent:agent"),kC=class extends D6.Agent{constructor(e){let n;if(typeof e=="string"?n=R6.default.parse(e):n=e,!n)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");ql("creating new HttpsProxyAgent instance: %o",n),super(n);let i=Object.assign({},n);this.secureProxy=n.secureProxy||$6(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 W6(this,void 0,void 0,function*(){let{proxy:i,secureProxy:a}=this,r;a?(ql("Creating `tls.Socket`: %o",i),r=zq.default.connect(i)):(ql("Creating `net.Socket`: %o",i),r=Iq.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:c,port:u,secureEndpoint:p}=n;U6(u,p)||(c+=`:${u}`),s.Host=c,s.Connection="close";for(let w of Object.keys(s))l+=`${w}: ${s[w]}\r +`;let h=G6.default(r);r.write(`${l}\r +`);let{statusCode:g,buffered:d}=yield h;if(g===200){if(e.once("socket",N6),n.secureEndpoint){ql("Upgrading socket connection to TLS");let w=n.servername||n.host;return zq.default.connect(Object.assign(Object.assign({},B6(n,"host","hostname","path","port")),{socket:r,servername:w}))}return r}r.destroy();let m=new Iq.default.Socket({writable:!1});return m.readable=!0,e.once("socket",w=>{ql("replaying proxy buffer for failed request"),I6.default(w.listenerCount("data")>0),w.push(d),w.push(null)}),m})}};hr.default=kC;function N6(t){t.resume()}function U6(t,e){return!!(!e&&t===80||e&&t===443)}function $6(t){return typeof t=="string"?/^https:?$/i.test(t):!1}function B6(t,...e){let n={},i;for(i in t)e.includes(i)||(n[i]=t[i]);return n}});var Nq=v((qC,Gq)=>{"use strict";var L6=qC&&qC.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},MC=L6(Dq());function EC(t){return new MC.default(t)}(function(t){t.HttpsProxyAgent=MC.default,t.prototype=MC.default.prototype})(EC||(EC={}));Gq.exports=EC});var $q=v((spe,Uq)=>{var _l;Uq.exports=function(){if(!_l){try{_l=Tl()("follow-redirects")}catch{}typeof _l!="function"&&(_l=function(){})}_l.apply(null,arguments)}});var Jq=v((ope,BC)=>{var Wl=require("url"),Hl=Wl.URL,F6=require("http"),V6=require("https"),IC=require("stream").Writable,zC=require("assert"),Bq=$q();(function(){var e=typeof process<"u",n=typeof window<"u"&&typeof document<"u",i=mr(Error.captureStackTrace);!e&&(n||!i)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var DC=!1;try{zC(new Hl(""))}catch(t){DC=t.code==="ERR_INVALID_URL"}var J6=["Authorization","Proxy-Authorization","Cookie"],K6=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],GC=["abort","aborted","connect","error","socket","timeout"],NC=Object.create(null);GC.forEach(function(t){NC[t]=function(e,n,i){this._redirectable.emit(t,e,n,i)}});var HC=Rl("ERR_INVALID_URL","Invalid URL",TypeError),WC=Rl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Z6=Rl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",WC),Q6=Rl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Y6=Rl("ERR_STREAM_WRITE_AFTER_END","write after end"),X6=IC.prototype.destroy||Fq;function gi(t,e){IC.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 WC?a:new WC({cause:a}))}},this._headerFilter=new RegExp("^(?:"+J6.concat(t.sensitiveHeaders).map(r9).join("|")+")$","i"),this._performRequest()}gi.prototype=Object.create(IC.prototype);gi.prototype.abort=function(){$C(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};gi.prototype.destroy=function(t){return $C(this._currentRequest,t),X6.call(this,t),this};gi.prototype.write=function(t,e,n){if(this._ending)throw new Y6;if(!gr(t)&&!t9(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(mr(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 Q6),this.abort())};gi.prototype.end=function(t,e,n){if(mr(t)?(n=t,t=e=null):mr(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}};gi.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};gi.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};gi.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){gi.prototype[t]=function(e,n){return this._currentRequest[t](e,n)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(gi.prototype,t,{get:function(){return this._currentRequest[t]}})});gi.prototype._sanitizeOptions=function(t){if(!t.headers)t.headers={};else if(Array.isArray(t.headers)){var e=t.headers;t.headers={};for(var n=0;n=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if($C(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Z6;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=[],_C(/^content-/i,this._options.headers));var s=_C(/^host$/i,this._options.headers),o=UC(this._currentUrl),l=s||o.host,c=/^\w+:/.test(n)?this._currentUrl:Wl.format(Object.assign(o,{host:l})),u=e9(n,c);if(Bq("redirecting to",u.href),this._isRedirect=!0,RC(u,this._options),(u.protocol!==o.protocol&&u.protocol!=="https:"||u.host!==l&&!n9(u.host,l))&&_C(this._headerFilter,this._options.headers),mr(a)){var p={headers:t.headers,statusCode:e},h={url:c,method:r,headers:i};a(this._options,p,h),this._sanitizeOptions(this._options)}this._performRequest()};function Lq(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(c,u,p){return a9(c)?c=RC(c):gr(c)?c=RC(UC(c)):(p=u,u=Vq(c),c={protocol:a}),mr(u)&&(p=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},c,u),u.nativeProtocols=n,!gr(u.host)&&!gr(u.hostname)&&(u.hostname="::1"),zC.equal(u.protocol,a,"protocol mismatch"),Bq("options",u),new gi(u,p)}function l(c,u,p){var h=s.request(c,u,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 Fq(){}function UC(t){var e;if(DC)e=new Hl(t);else if(e=Vq(Wl.parse(t)),!gr(e.protocol))throw new HC({input:t});return e}function e9(t,e){return DC?new Hl(t,e):UC(Wl.resolve(e,t))}function Vq(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new HC({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new HC({input:t.href||t});return t}function RC(t,e){var n=e||{};for(var i of K6)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 _C(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 Rl(t,e,n){function i(a){mr(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 $C(t,e){for(var n of GC)t.removeListener(n,NC[n]);t.on("error",Fq),t.destroy(e)}function n9(t,e){zC(gr(t)&&gr(e));var n=t.length-e.length-1;return n>0&&t[n]==="."&&t.endsWith(e)}function i9(t){return t instanceof Array}function gr(t){return typeof t=="string"||t instanceof String}function mr(t){return typeof t=="function"}function t9(t){return typeof t=="object"&&"length"in t}function a9(t){return Hl&&t instanceof Hl}function r9(t){return t.replace(/[[\]\\/()*+?.^$|]/g,"\\$&")}BC.exports=Lq({http:F6,https:V6});BC.exports.wrap=Lq});var x2=v((lpe,b2)=>{"use strict";var T_=Sq(),s9=require("crypto"),o9=require("url"),k_=Nq(),M_=require("http"),E_=require("https"),q_=require("http2"),cA=require("util"),Kq=require("path"),l9=Jq(),Li=require("zlib"),mi=require("stream"),u9=require("events");function __(t,e){return function(){return t.apply(e,arguments)}}var{toString:c9}=Object.prototype,{getPrototypeOf:Ca}=Object,{iterator:Bl,toStringTag:H_}=Symbol,Gl=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),W_=t=>typeof t=="string"&&(t==="__proto__"||t==="constructor"||t==="prototype"),R_=(t,e,n)=>t===Object.prototype||!n&&e===null,p9=t=>{if(!Object.isExtensible(t))return!1;let e=Object.getOwnPropertyNames(t);return Object.getOwnPropertySymbols&&e.push(...Object.getOwnPropertySymbols(t)),e.every(n=>{if(W_(n))return!1;let i=Object.getOwnPropertyDescriptor(t,n);return!!i&&i.configurable&&i.writable===!0})},Nl=(t,e)=>{let n=t,i=[];for(;n!=null;){if(i.indexOf(n)!==-1)return!1;i.push(n);let a=Ca(n);if(R_(n,a,n===t))return!1;if(Gl(n,e))return!0;n=a}return!1},d9=(t,e)=>t!=null&&Nl(t,e)?t[e]:void 0,h9=t=>{if(t==null||typeof t!="object"&&typeof t!="function")return t;let e=Ca(t);if(e===null&&p9(t))return t;let n=Object.create(null),i=Object.create(null),a=[],r=t;for(;r!=null&&a.indexOf(r)===-1;){a.push(r);let s=r===t?e:Ca(r);if(R_(r,s,r===t))break;let o=Object.getOwnPropertyNames(r);Object.getOwnPropertySymbols&&o.push(...Object.getOwnPropertySymbols(r));for(let l of o)W_(l)||Gl(i,l)||(n[l]=t[l],i[l]=!0);r=s}return n},pA=(t=>e=>{let n=c9.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Fi=t=>(t=t.toLowerCase(),e=>pA(e)===t),ld=t=>e=>typeof e===t,{isArray:vr}=Array,Cr=ld("undefined");function Ds(t){return t!==null&&!Cr(t)&&t.constructor!==null&&!Cr(t.constructor)&&fi(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var I_=Fi("ArrayBuffer");function g9(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&I_(t.buffer),e}var m9=ld("string"),fi=ld("function"),z_=ld("number"),Gs=t=>t!==null&&typeof t=="object",f9=t=>t===!0||t===!1,Qp=t=>{if(!Gs(t))return!1;let e=Ca(t);return(e===null||e===Object.prototype||Ca(e)===null)&&!Nl(t,H_)&&!Nl(t,Bl)},w9=t=>{if(!Gs(t)||Ds(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},v9=Fi("Date"),C9=Fi("File"),A9=t=>!!(t&&typeof t.uri<"u"),b9=t=>t&&typeof t.getParts<"u",x9=Fi("Blob"),y9=Fi("FileList"),P9=Fi("Set"),j9=t=>Gs(t)&&fi(t.pipe);function S9(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}var Zq=S9(),Qq=typeof Zq.FormData<"u"?Zq.FormData:void 0,O9=t=>{if(!t)return!1;if(Qq&&t instanceof Qq)return!0;let e=Ca(t);if(!e||e===Object.prototype||!fi(t.append))return!1;let n=pA(t);return n==="formdata"||n==="object"&&fi(t.toString)&&t.toString()==="[object FormData]"},T9=Fi("URLSearchParams"),[k9,M9,E9,q9]=["ReadableStream","Request","Response","Headers"].map(Fi),_9=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ll(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,a;if(typeof t!="object"&&(t=[t]),vr(t))for(i=0,a=t.length;i0;)if(a=n[i],e===a.toLowerCase())return a;return null}var fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,G_=t=>!Cr(t)&&t!==fr;function iA(...t){let{caseless:e,skipUndefined:n}=G_(this)&&this||{},i={},a=(r,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let o=e&&typeof s=="string"&&D_(i,s)||s,l=Gl(i,o)?i[o]:void 0;Qp(l)&&Qp(r)?i[o]=iA(l,r):Qp(r)?i[o]=iA({},r):vr(r)?i[o]=r.slice():(!n||!Cr(r))&&(i[o]=r)};for(let r=0,s=t.length;r(Ll(e,(a,r)=>{n&&fi(a)?Object.defineProperty(t,r,{__proto__:null,value:__(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),W9=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),R9=(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)},I9=(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&&Ca(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},z9=(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},D9=t=>{if(!t)return null;if(vr(t))return t;let e=t.length;if(!z_(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},G9=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ca(Uint8Array)),N9=(t,e)=>{let i=(t&&t[Bl]).call(t),a;for(;(a=i.next())&&!a.done;){let r=a.value;e.call(t,r[0],r[1])}},U9=(t,e)=>{let n,i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},$9=Fi("HTMLFormElement"),B9=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,a){return i.toUpperCase()+a}),{propertyIsEnumerable:L9}=Object.prototype,F9=Fi("RegExp"),N_=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),i={};Ll(n,(a,r)=>{let s;(s=e(a,r,t))!==!1&&(i[r]=s||a)}),Object.defineProperties(t,i)},V9=t=>{N_(t,(e,n)=>{if(fi(t)&&["arguments","caller","callee"].includes(n))return!1;let i=t[n];if(fi(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+"'")})}})},J9=(t,e)=>{let n={},i=a=>{a.forEach(r=>{n[r]=!0})};return vr(t)?i(t):i(String(t).split(e)),n},K9=()=>{},Z9=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Q9(t){return!!(t&&fi(t.append)&&t[H_]==="FormData"&&t[Bl])}var Y9=t=>{let e=new WeakSet,n=i=>{if(Gs(i)){if(e.has(i))return;if(Ds(i))return i;if(!("toJSON"in i)){e.add(i);let a;if(P9(i)){a=[];for(let r of i){let s=n(r);!Cr(s)&&a.push(s)}}else a=vr(i)?[]:{},Ll(i,(r,s)=>{let o=n(r);!Cr(o)&&(a[s]=o)});return e.delete(i),a}}return i};return n(t)},X9=Fi("AsyncFunction"),e8=t=>t&&(Gs(t)||fi(t))&&fi(t.then)&&fi(t.catch),U_=((t,e)=>t?setImmediate:e?((n,i)=>(fr.addEventListener("message",({source:a,data:r})=>{a===fr&&r===n&&i.length&&i.shift()()},!1),a=>{i.push(a),fr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",fi(fr.postMessage)),n8=typeof queueMicrotask<"u"?queueMicrotask.bind(fr):typeof process<"u"&&process.nextTick||U_,$_=t=>t!=null&&fi(t[Bl]),i8=t=>t!=null&&Nl(t,Bl)&&$_(t),C={isArray:vr,isArrayBuffer:I_,isBuffer:Ds,isFormData:O9,isArrayBufferView:g9,isString:m9,isNumber:z_,isBoolean:f9,isObject:Gs,isPlainObject:Qp,isEmptyObject:w9,isReadableStream:k9,isRequest:M9,isResponse:E9,isHeaders:q9,isUndefined:Cr,isDate:v9,isFile:C9,isReactNativeBlob:A9,isReactNative:b9,isBlob:x9,isRegExp:F9,isFunction:fi,isStream:j9,isURLSearchParams:T9,isTypedArray:G9,isFileList:y9,forEach:Ll,merge:iA,extend:H9,trim:_9,stripBOM:W9,inherits:R9,toFlatObject:I9,kindOf:pA,kindOfTest:Fi,endsWith:z9,toArray:D9,forEachEntry:N9,matchAll:U9,isHTMLForm:$9,hasOwnProperty:Gl,hasOwnProp:Gl,hasOwnInPrototypeChain:Nl,getSafeProp:d9,toSafeFlatObject:h9,reduceDescriptors:N_,freezeMethods:V9,toObjectSet:J9,toCamelCase:B9,noop:K9,toFiniteNumber:Z9,findKey:D_,global:fr,isContextDefined:G_,isSpecCompliantForm:Q9,toJSONObject:Y9,isAsyncFn:X9,isThenable:e8,setImmediate:U_,asap:n8,isIterable:$_,isSafeIterable:i8},t8=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"]),a8=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(t8,n)||(n==="set-cookie"?o?e[n].push(i):e[n]=[i]:e[n]=o?e[n]+", "+i:i)}),e};function r8(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 s8=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),o8=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function dA(t,e){return C.isArray(t)?t.map(n=>dA(n,e)):r8(String(t).replace(e,""))}var l8=t=>dA(t,s8),u8=t=>dA(t,o8);function hA(t){let e=Object.create(null);return C.forEach(t.toJSON(),(n,i)=>{e[i]=u8(n)}),e}var Yq=Symbol("internals");function Il(t){return t&&String(t).trim().toLowerCase()}function Yp(t){return t===!1||t==null?t:C.isArray(t)?t.map(Yp):l8(String(t))}function c8(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 p8=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function LC(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 d8(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 h8(t){let e=Object.create(null),n=String(t),i=0,a=!1,r=!1;function s(o){let l=LC(n.slice(i,o)),c=l.indexOf("=");if(c<1)return;let u=LC(l.slice(0,c));if(!p8.test(u))return;let p=u.toLowerCase();if(p==="__proto__"||p==="constructor"||p==="prototype")return;let h=LC(l.slice(c+1));e[p]=d8(h)}for(let o=0;o/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function FC(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 m8(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function f8(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 rn=class{constructor(e){e&&this.set(e)}set(e,n,i){let a=this;function r(o,l,c){let u=Il(l);if(!u)return;let p=C.findKey(a,u);(!p||a[p]===void 0||c===!0||c===void 0&&a[p]!==!1)&&(a[p||l]=Yp(o))}let s=(o,l)=>C.forEach(o,(c,u)=>r(c,u,l));if(C.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(C.isString(e)&&(e=e.trim())&&!g8(e))s(a8(e),n);else if(C.isObject(e)&&C.isSafeIterable(e)){let o=Object.create(null),l,c;for(let u of e){if(!C.isArray(u))throw new TypeError("Object iterator must return a key-value pair");c=u[0],C.hasOwnProp(o,c)?(l=o[c],o[c]=C.isArray(l)?[...l,u[1]]:[l,u[1]]):o[c]=u[1]}s(o,n)}else e!=null&&r(n,e,i);return this}get(e,n){if(e=Il(e),e){let i=C.findKey(this,e);if(i){let a=this[i];if(!n)return a;if(n===!0)return c8(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=Il(e),e){let i=C.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||FC(this,this[i],i,n)))}return!1}delete(e,n){let i=this,a=!1;function r(s){if(s=Il(s),s){let o=C.findKey(i,s);o&&(!n||FC(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||FC(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]=Yp(a),delete n[r];return}let o=e?m8(r):String(r).trim();o!==r&&delete n[r],n[o]=Yp(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 h8(e)}static concat(e,...n){let i=new this(e);return n.forEach(a=>i.set(a)),i}static accessor(e){let i=(this[Yq]=this[Yq]={accessors:{}}).accessors,a=this.prototype;function r(s){let o=Il(s);i[o]||(f8(a,s),i[o]=!0)}return C.isArray(e)?e.forEach(r):r(e),this}};rn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(rn.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}});C.freezeMethods(rn);var td="[REDACTED ****]";function w8(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 v8(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 rn&&(r=r.toJSON()),i.push(r);let s;if(C.isArray(r))s=[],r.forEach((o,l)=>{let c=a(o);C.isUndefined(c)||(s[l]=c)});else{if(!C.isPlainObject(r)&&w8(r))return i.pop(),r;s=Object.create(null);for(let[o,l]of Object.entries(r)){let c=n.has(o.toLowerCase())?td:a(l);C.isUndefined(c)||(s[o]=c)}}return i.pop(),s};return a(t)}function Xq(t){try{return String(t)}catch{return""}}function C8(t){return t.errors.map(n=>{try{return n&&n.message?Xq(n.message):Xq(n)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}var j=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=C8(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?v8(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}}};j.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";j.ERR_BAD_OPTION="ERR_BAD_OPTION";j.ECONNABORTED="ECONNABORTED";j.ETIMEDOUT="ETIMEDOUT";j.ECONNREFUSED="ECONNREFUSED";j.ERR_NETWORK="ERR_NETWORK";j.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";j.ERR_DEPRECATED="ERR_DEPRECATED";j.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";j.ERR_BAD_REQUEST="ERR_BAD_REQUEST";j.ERR_CANCELED="ERR_CANCELED";j.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";j.ERR_INVALID_URL="ERR_INVALID_URL";j.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var VC={isBufferAvailable(){return typeof Buffer<"u"},from(t){return Buffer.from(t)}},B_=100;function tA(t){return C.isPlainObject(t)||C.isArray(t)}function L_(t){return C.endsWith(t,"[]")?t.slice(0,-2):t}function JC(t,e,n){return t?t.concat(e).map(function(a,r){return a=L_(a),!n&&r?"["+a+"]":a}).join(n?".":""):e}function A8(t){return C.isArray(t)&&!t.some(tA)}var b8=C.toFlatObject(C,{},null,function(e){return/^is[A-Z]/.test(e)});function ud(t,e,n){if(!C.isObject(t))throw new TypeError("target must be an object");e=e||new(T_||FormData);let i=(A,b)=>{let x=C.getSafeProp(n,A);return C.isUndefined(x)?b:x},a=i("metaTokens",!0),r=i("visitor")||m,s=i("dots",!1),o=i("indexes",!1),l=i("Blob")||typeof Blob<"u"&&Blob,c=i("maxDepth",B_),u=l&&C.isSpecCompliantForm(e),p=[];if(!C.isFunction(r))throw new TypeError("visitor must be a function");function h(A){if(A===null)return"";if(C.isDate(A))return A.toISOString();if(C.isBoolean(A))return A.toString();if(!u&&C.isBlob(A))throw new j("Blob is not supported. Use a Buffer instead.");if(C.isArrayBuffer(A)||C.isTypedArray(A)){if(u&&typeof l=="function")return new l([A]);if(VC&&VC.isBufferAvailable())return VC.from(A);throw new j("Blob is not supported. Use a Buffer instead.",j.ERR_NOT_SUPPORT)}return A}function g(A){if(A>c)throw new j("Object is too deeply nested ("+A+" levels). Max depth: "+c,j.ERR_FORM_DATA_DEPTH_EXCEEDED)}function d(A,b){if(c===1/0)return JSON.stringify(A);let x=[];return JSON.stringify(A,function(T,M){if(!C.isObject(M))return M;for(;x.length&&x[x.length-1]!==this;)x.pop();return x.push(M),g(b+x.length-1),M})}function m(A,b,x){let S=A;if(C.isReactNative(e)&&C.isReactNativeBlob(A))return e.append(JC(x,b,s),h(A)),!1;if(A&&!x&&typeof A=="object"){if(C.endsWith(b,"{}"))b=a?b:b.slice(0,-2),A=d(A,1);else if(C.isArray(A)&&A8(A)||(C.isFileList(A)||C.endsWith(b,"[]"))&&(S=C.toArray(A)))return b=L_(b),S.forEach(function(M,V){!(C.isUndefined(M)||M===null)&&e.append(o===!0?JC([b],V,s):o===null?b:b+"[]",h(M))}),!1}return tA(A)?!0:(e.append(JC(x,b,s),h(A)),!1)}let w=Object.assign(b8,{defaultVisitor:m,convertValue:h,isVisitable:tA});function f(A,b,x=0){if(!C.isUndefined(A)){if(g(x),p.indexOf(A)!==-1)throw new Error("Circular reference detected in "+b.join("."));p.push(A),C.forEach(A,function(T,M){(!(C.isUndefined(T)||T===null)&&r.call(e,T,C.isString(M)?M.trim():M,b,w))===!0&&f(T,b?b.concat(M):[M],x+1)}),p.pop()}}if(!C.isObject(t))throw new TypeError("data must be an object");return f(t),e}function e_(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(i){return e[i]})}function F_(t,e){this._pairs=[],t&&ud(t,this,e)}var V_=F_.prototype;V_.append=function(e,n){this._pairs.push([e,n])};V_.toString=function(e){let n=e?i=>e.call(this,i,e_):e_;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function x8(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function gA(t,e,n){if(!e)return t;t=t||"";let i=C.isFunction(n)?{serialize:n}:n,a=C.getSafeProp(i,"encode")||x8,r=C.getSafeProp(i,"serialize"),s;if(r?s=r(e,i):s=C.isURLSearchParams(e)?e.toString():new F_(e,i).toString(a),s){let o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}var zl=Symbol("internals");function J_(t){return t?t.length:0}function n_(t){if(t)for(;t.length&&t[t.length-1]===null;)t.pop()}function Dl(t,e){let n=t.handlers,i=J_(n);n!==e.handlersRef?(e.handlersRef=n,e.handlerEntries.clear()):i!==e.handlersLength&&(i?e.handlerEntries.forEach(function(r,s){n[r.index]!==r.handler&&e.handlerEntries.delete(s)}):e.handlerEntries.clear()),e.handlersLength=i}var ad=class{constructor(){this.handlers=[],this[zl]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,n,i){let a={fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null},r=this[zl];this.handlers==null&&(this.handlers=[]),Dl(this,r);let s=r.nextId++;return this.handlers.push(a),r.handlerEntries.set(s,{handler:a,index:this.handlers.length-1}),r.handlersLength=this.handlers.length,s}eject(e){let n=this[zl];Dl(this,n);let i=n.handlerEntries.get(e);if(i){if(n.handlerEntries.delete(e),this.handlers[i.index]!==i.handler)return;this.handlers[i.index]=null,n.iterationDepth||(n_(this.handlers),n.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],Dl(this,this[zl]))}forEach(e){let n=this[zl];Dl(this,n),n.iterationDepth++;try{C.forEach(this.handlers,function(a){a!==null&&e(a)})}finally{--n.iterationDepth||(Dl(this,n),n_(this.handlers),n.handlersLength=J_(this.handlers))}}},cd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},y8=o9.URLSearchParams,KC="abcdefghijklmnopqrstuvwxyz",i_="0123456789",K_={DIGIT:i_,ALPHA:KC,ALPHA_DIGIT:KC+KC.toUpperCase()+i_},P8=(t=16,e=K_.ALPHA_DIGIT)=>{let n="",{length:i}=e,a=new Uint32Array(t);s9.randomFillSync(a);for(let r=0;rt_)throw new j("FormData field is too deeply nested ("+t+" levels). Max depth: "+t_,j.ERR_FORM_DATA_DEPTH_EXCEEDED)}function E8(t){let e=[],n=/[^.[\]]+|\[([^.[\]]*)]/g,i;for(;(i=n.exec(t))!==null;)Z_(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}function q8(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]=q8(a[s])),!o)}if(C.isFormData(t)&&C.isFunction(t.entries)){let n={};return C.forEachEntry(t,(i,a)=>{e(E8(i),a,n,0)}),n}return null}var Y_=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),Rs=(t,e)=>t!=null&&C.hasOwnProp(t,e)?t[e]:void 0;function _8(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 Fl={transitional:cd,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(Q_(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=Rs(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return M8(e,l).toString();if((o=C.isFileList(e))||i.indexOf("multipart/form-data")>-1){let c=Rs(this,"env"),u=c&&c.FormData;return ud(o?{"files[]":e}:e,u&&new u,l)}}return r||a?(n.setContentType("application/json",!1),_8(e)):e}],transformResponse:[function(e){let n=Rs(this,"transitional")||Fl.transitional,i=n&&n.forcedJSONParsing,a=Rs(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,Rs(this,"parseReviver"))}catch(l){if(o)throw l.name==="SyntaxError"?j.from(l,j.ERR_BAD_RESPONSE,this,null,Rs(this,"response")):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ze.classes.FormData,Blob:Ze.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(Y_,t=>{Fl.headers[t]={}});function ZC(t,e){let n=this||Fl,i=e||n,a=rn.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 X_(t){return!!(t&&t.__CANCEL__)}var Ft=class extends j{constructor(e,n,i){super(e??"canceled",j.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function Is(t,e,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new j("Request failed with status code "+n.status,n.status>=400&&n.status<500?j.ERR_BAD_REQUEST:j.ERR_BAD_RESPONSE,n.config,n.request,n))}function H8(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function W8(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 R8=/[\t\n\r]/g;function e2(t){if(typeof t!="string")return t;let e=0;for(;e`${n}${i}${td}`)}function D8(t){let e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${td}@`),n=e.indexOf("#"),a=(n===-1?e:e.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${td}`);return n===-1?a:`${a}#${z8(e.slice(n+1))}`}function a_(t,e){if(typeof t=="string"){let n=e2(t);if(I8.test(n))throw new j(`Invalid URL ${JSON.stringify(D8(n))}: missing "//" after protocol`,j.ERR_INVALID_URL,e)}}function fA(t,e,n,i){a_(e,i);let a=!H8(e);return t&&(a||n===!1)?(a_(t,i),W8(t,e)):e}var G8={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function N8(t){try{return new URL(t)}catch{return null}}function U8(t){var e=(typeof t=="string"?N8(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)||G8[n]||0,!$8(i,a)))return"";var r=rA(n+"_proxy")||rA("all_proxy");return r&&r.indexOf("://")===-1&&(r=n+"://"+r),r}function $8(t,e){var n=rA("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 rA(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}var Ul="1.20.0";function Xp(t){let e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}var B8=/^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function L8(t,e,n){let i=n&&n.Blob||Ze.classes.Blob,a=Xp(t);if(e===void 0&&i&&(e=!0),a==="data"){t=a.length?t.slice(a.length+1):t;let r=B8.exec(t);if(!r)throw new j("Invalid URL",j.ERR_INVALID_URL);let s=r[1],o=r[2],l=r[3]?"base64":"utf8",c=r[4],u="";s?u=o?s+o:s:o&&(u="text/plain"+o);let p=l==="base64"?Buffer.from(c,"base64"):Buffer.from(decodeURIComponent(c),l);if(e){if(!i)throw new j("Blob is not supported",j.ERR_NOT_SUPPORT);return new i([p],{type:u})}return p}throw new j("Unsupported protocol "+a,j.ERR_NOT_SUPPORT)}var F8=["content-type","content-length"];function n2(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,a])=>{F8.includes(i.toLowerCase())&&t.set(i,a)})}var QC=Symbol("internals"),rd=class extends mi.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[QC]={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[QC];return n.onReadCallback&&n.onReadCallback(),super._read(e)}_transform(e,n,i){let a=this[QC],r=a.maxRate,s=this.readableHighWaterMark,o=a.timeWindow,l=1e3/o,c=r/l,u=a.minChunkSize!==!1?Math.max(a.minChunkSize,c*.01):0,p=(g,d)=>{let m=Buffer.byteLength(g);a.bytesSeen+=m,a.bytes+=m,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(g)?process.nextTick(d):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(d)}},h=(g,d)=>{let m=Buffer.byteLength(g),w=null,f=s,A,b=0;if(r){let x=Date.now();(!a.ts||(b=x-a.ts)>=o)&&(a.ts=x,A=c-a.bytes,a.bytes=A<0?-A:0,b=0),A=c-a.bytes}if(r){if(A<=0)return setTimeout(()=>{d(null,g)},o-b);Af&&m-f>u&&(w=g.subarray(f),g=g.subarray(0,f)),p(g,w?()=>{process.nextTick(d,null,w)}:d)};h(e,function g(d,m){if(d)return i(d);m?h(m,g):i(null)})}},{asyncIterator:r_}=Symbol,i2=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[r_]?yield*t[r_]():yield t},V8=Ze.ALPHABET.ALPHA_DIGIT+"-_",$l=typeof TextEncoder=="function"?new TextEncoder:new cA.TextEncoder,wr=`\r +`,J8=$l.encode(wr),K8=2,sA=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)}"`:""}${wr}`;if(a)n=$l.encode(String(n).replace(/\r?\n|\r\n?/g,wr));else{let s=String(n.type||"application/octet-stream").replace(/[\r\n]/g,"");r+=`Content-Type: ${s}${wr}`}this.headers=$l.encode(r+wr),this.contentLength=a?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+K8,this.name=e,this.value=n}async*encode(){yield this.headers;let{value:e}=this;C.isTypedArray(e)?yield e:yield*i2(e),yield J8}static escapeName(e){return String(e).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},Z8=(t,e,n)=>{let{tag:i="form-data-boundary",size:a=25,boundary:r=i+"-"+Ze.generateString(a,V8)}=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=$l.encode("--"+r+wr),o=$l.encode("--"+r+"--"+wr),l=o.byteLength,c=Array.from(t.entries()).map(([p,h])=>{let g=new sA(p,h);return l+=g.size,g});l+=s.byteLength*c.length,l=C.toFiniteNumber(l);let u={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(l)&&(u["Content-Length"]=l),e&&e(u),mi.Readable.from((async function*(){for(let p of c)yield s,yield*p.encode();yield o})())},oA=class extends mi.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)}},lA=class{constructor(){this.sessions=Object.create(null)}getSession(e,n){n=Object.assign(Object.create(null),{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,g=h;for(;g--;)if(p[g][0]===a){h===1?delete this.sessions[e]:p.splice(g,1),a.closed||a.close();return}},l=a.request,{sessionTimeout:c}=n;if(c!=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()},c))}),h}}a.once("close",o),a.once("error",o);let u=[a,n];return i?i.push(u):i=this.sessions[e]=[u],a}},Q8=(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,Y8=new Set(["localhost","0.0.0.0"]),t2=t=>{let e=t.length;for(;e&&t.charCodeAt(e-1)===46;)e--;return e===t.length?t:t.slice(0,e)},a2=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)},YC=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},r2=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=t2(e),!/^[0-9.xXa-fA-F]+$/.test(e))return t;let n=e.split(".");if(n.some(u=>u===""))return t;if(n.length===4){let u=n.map(YC);return u.some(p=>p===null||p<0||p>255)?t:u.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=YC(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 u=r-1,p=s;u>=0;u--,p>>=8)l[u]=p&255;let c=i.map(YC);return c.some(u=>u===null||u<0||u>255)?t:[...c,...l].join(".")},XC=t=>/^0{1,4}$/.test(t),X8=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(XC)&&s.every(XC)}let n=t.split(":");return n.length===8&&n.every(XC)},eK=t=>{if(t==="::1")return!0;let e=t.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(e)return a2(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},s_=t=>t?Y8.has(t)||a2(t)||X8(t)?!0:eK(t):!1,nK={http:80,https:443,ws:80,wss:443,ftp:21},iK=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]},tK=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,aK=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,s2=t=>{if(typeof t!="string"||t.indexOf(":")===-1)return t;let e=t.match(tK);if(e)return e[1];let n=t.match(aK);if(n){let i=parseInt(n[1],16),a=parseInt(n[2],16);return`${i>>8}.${i&255}.${a>>8}.${a&255}`}return t},rK=/^(?:0|[1-9]\d{0,2})$/,o2=t=>{let e=t.split(".");return e.length===4&&e.every(n=>rK.test(n)&&Number(n)<=255)?e.map(Number):null},sK=/^[0-9a-f]{1,4}$/i,oK=t=>{let e=t.split("::");if(e.length>2)return null;let n=e[0]?e[0].split(":"):[];if(e.length===2){let i=e[1]?e[1].split(":"):[],a=8-n.length-i.length;if(a<1)return null;n.push(...new Array(a).fill("0"),...i)}return n.length!==8||n.some(i=>!sK.test(i))?null:n.flatMap(i=>{let a=Number.parseInt(i,16);return[a>>8&255,a&255]})},l2=t=>typeof t!="string"||!t?null:t.indexOf(":")!==-1?oK(t):o2(t),o_=t=>{if(!t)return t;t.charAt(0)==="["&&t.charAt(t.length-1)==="]"&&(t=t.slice(1,-1));let e=t2(t),n=r2(e);return n!==e?n:s2(e)},lK=t=>{let e=t,n=e.charAt(0)==="[",i=e.charAt(e.length-1)==="]",a=e.includes("[")||e.includes("]");if(n||i){if(!n||!i||(e=e.slice(1,-1),e.indexOf(":")===-1||e.includes("[")||e.includes("]")))return null}else if(a)return null;if(!e||e.charAt(e.length-1)===".")return null;let r=e.indexOf(":")!==-1;if(r)try{e=new URL(`http://[${e}]/`).hostname.slice(1,-1)}catch{return null}else if(e=r2(e),!o2(e))return null;return{normalized:s2(e),wasIPv6:r}},uK=/^(.+)\/(0|[1-9]\d{0,2})$/,cK=t=>{if(t.indexOf("/")===-1)return;let e=uK.exec(t);if(!e)return null;let n=Number(e[2]),i=lK(e[1]);if(!i)return null;let{normalized:a,wasIPv6:r}=i;if(r&&a.indexOf(":")===-1){if(n<96)return null;n-=96}let s=l2(a);return!s||n>s.length*8?null:{bytes:s,prefix:n}},pK=(t,e,n)=>{let i=n>>3;for(let r=0;r{if(!s)return!1;if(s==="*")return!0;let o=cK(s);if(o!==void 0)return o!==null&&!!r&&r.length===o.bytes.length&&pK(r,o.bytes,o.prefix);let[l,c]=iK(s);return l=o_(l),!l||c&&c!==i?!1:(l.charAt(0)==="*"&&(l=l.slice(1)),l.charAt(0)==="."?a.endsWith(l):a===l||s_(a)&&s_(l))})}function hK(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 c=Date.now(),u=i[r];s||(s=c),n[a]=l,i[a]=c;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),c-s{n=p,a=null,r&&(clearTimeout(r),r=null),t(...u)};return[(...u)=>{let p=Date.now(),h=p-n;h>=i?s(u,p):(a=u,r||(r=setTimeout(()=>{r=null,s(a)},i-h)))},()=>a&&s(a),(...u)=>s(u)]}var zs=(t,e,n=3)=>{let i=0,a=hK(50,250);return gK(r=>{if(!r||!C.isNumber(r.loaded))return;let s=r.loaded,o=r.lengthComputable?r.total:void 0,l=Math.max(0,o!=null?Math.min(s,o):s),c=Math.max(0,l-i),u=a(c);i=Math.max(i,l);let p={loaded:l,total:o,progress:o?l/o:void 0,bytes:c,rate:u||void 0,estimated:u&&o?(o-l)/u:void 0,event:r,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(p)},n)},sd=(t,e)=>{let n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},od=(t,e=C.asap)=>(...n)=>e(()=>t(...n)),l_=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,u2=(t,e,n)=>e+2t<=57?t-48:(t&223)-55,mK=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,fK=t=>t===9||t===10||t===12||t===13||t===32,wK=t=>{let e=Math.floor(t/4),n=t%4;return e*3+(n===2?1:n===3?2:0)},c2=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)},vK=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?c2(t):wK(n)},p2=(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&&c<=56319&&o+1=56320&&u<=57343?(s+=4,o++):s+=3}else s+=3}return s};function CK(t){let e=typeof t=="string"?t.indexOf("#"):-1;return p2(e===-1?t:t.slice(0,e),vK)}function AK(t){return p2(t,c2)}var c_={flush:Li.constants.Z_SYNC_FLUSH,finishFlush:Li.constants.Z_SYNC_FLUSH},bK={flush:Li.constants.BROTLI_OPERATION_FLUSH,finishFlush:Li.constants.BROTLI_OPERATION_FLUSH},xK={flush:Li.constants.ZSTD_e_flush,finishFlush:Li.constants.ZSTD_e_flush},d2=C.isFunction(Li.createBrotliDecompress),h2=C.isFunction(Li.createZstdDecompress),g2="gzip, compress, deflate"+(d2?", br":""),yK=g2+(h2?", zstd":""),p_=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):C.asap,{http:PK,https:jK}=l9,wA=/https:?/,d_=Symbol("axios.http.socketListener"),ed=Symbol("axios.http.currentReq");function SK(t){let e=this[ed];e&&!e.destroyed&&e.destroy(t)}var m2=Symbol("axios.http.installedTunnel"),OK=new Map,h_=new WeakMap,g_={22:21,24:5};function TK(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:g_[e]!=null&&n>=g_[e]}function m_(t,e=process.versions&&process.versions.node){if(!TK(e))return!1;let n=t&&t.options;return!!(n&&C.hasOwnProp(n,"proxyEnv")&&n.proxyEnv!=null)}function kK(t,e,n){return wA.test(t.protocol)?n||E_.globalAgent:e||M_.globalAgent}function MK(t,e){let n=t.protocol+"//"+t.hostname+":"+(t.port||"")+"#"+(t.auth||""),i=e?h_.get(e)||h_.set(e,new Map).get(e):OK,a=i.get(n);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(c,u){return o.call(this,c,{...s,...u})}}return a[m2]=!0,i.set(n,a),a}var f_=Ze.protocols.map(t=>t+":"),w_=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},v_=(t,[e,n])=>(t.on("end",n).on("error",n),e),EK=new lA;function qK(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 _K(t,e){t&&Object.keys(t).forEach(n=>{e.has(n.toLowerCase())&&delete t[n]})}function HK(t,e){if(!e)return!1;try{return new URL(e.url).origin===new URL(t.href).origin}catch{return!1}}function f2(t,e,n,i,a,r,s=!0){let o=e,l=kK(t,r,a);if(!o&&o!==!1&&s&&!m_(l)){let c=U8(n);c&&(dK(n)||(o=new URL(c)))}if(i&&t.headers)for(let c of Object.keys(t.headers))c.toLowerCase()==="proxy-authorization"&&delete t.headers[c];if(i&&t.agent&&t.agent[m2]&&(t.agent=void 0),o){let c=o instanceof URL,u=m=>c||C.hasOwnProp(o,m)?o[m]:void 0,p=u("username"),h=u("password"),g=C.hasOwnProp(o,"auth")?o.auth:void 0;if(p&&(g=(p||"")+":"+(h||"")),g){let m=typeof g=="object",w=m&&C.hasOwnProp(g,"username")?g.username:void 0,f=m&&C.hasOwnProp(g,"password")?g.password:void 0;if(!!(w||f))g=(w||"")+":"+(f||"");else if(m)throw new j("Invalid proxy authorization",j.ERR_BAD_OPTION,{proxy:o})}if(wA.test(t.protocol)){if(!(a instanceof k_)){let m=u("hostname")||u("host"),w=u("port"),f=u("protocol"),A=f?f.includes(":")?f:`${f}:`:"http:",b=m&&m.includes(":")&&!m.startsWith("[")?`[${m}]`:m,x=new URL(`${A}//${b}${w?":"+w:""}`),S={protocol:x.protocol,hostname:x.hostname.replace(/^\[|\]$/g,""),port:x.port,auth:g&&typeof g=="string"?g:void 0};x.protocol==="https:"&&(S.ALPNProtocols=["http/1.1"]);let T=MK(S,a);t.agent=T,t.agents&&(t.agents.https=T)}}else{if(g){let A=Buffer.from(g,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+A}let m=!1;for(let A of Object.keys(t.headers))if(A.toLowerCase()==="host"){m=!0;break}m||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let w=u("hostname")||u("host");t.hostname=w,t.host=w,t.port=u("port"),t.path=n;let f=u("protocol");f&&(t.protocol=f.includes(":")?f:`${f}:`)}}return t.beforeRedirects.proxy=function(u){f2(u,e,u.href,!0,a,r,s)},!!(o||e!==!1&&s&&m_(l))}var WK=typeof process<"u"&&C.kindOf(process)==="process",RK=t=>new Promise((e,n)=>{let i,a,r=(l,c)=>{a||(a=!0,i&&i(l,c))},s=l=>{r(l),e(l)},o=l=>{r(l,!0),n(l)};t(s,o,l=>i=l).catch(o)}),IK=({address:t,family:e})=>{if(!C.isString(t))throw new j("address must be a string",j.ERR_BAD_OPTION_VALUE);return{address:t,family:e||(t.indexOf(".")<0?6:4)}},C_=(t,e)=>IK(C.isObject(t)?t:{address:t,family:e}),A_=new WeakMap,zK=t=>{let e=A_.get(t);if(e)return e;let n=Q8(t,i=>C.isArray(i)?i:[i]);return e=(i,a,r)=>{n(i,a,(s,o,l)=>{if(s)return r(s);let c;try{c=C.isArray(o)?o.map(u=>C_(u)):[C_(o,l)]}catch(u){return r(u)}a.all?r(s,c):r(s,c[0].address,c[0].family)})},A_.set(t,e),e},DK={request(t,e){let n=t.protocol+"//"+t.hostname+":"+(t.port||(t.protocol==="https:"?443:80)),{http2Options:i,headers:a}=t,r=EK.getSession(n,i),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:o,HTTP2_HEADER_PATH:l,HTTP2_HEADER_STATUS:c}=q_.constants,u={[s]:t.protocol.replace(":",""),[o]:t.method,[l]:t.path};C.forEach(a,(h,g)=>{g.charAt(0)!==":"&&(u[g]=h)});let p=r.request(u);return p.once("response",h=>{let g=p;h=Object.assign({},h);let d=h[c];delete h[c],g.headers=h,g.statusCode=+d,e(g)}),p}},GK=WK&&function(e){return RK(async function(i,a,r){let s=G=>C.getSafeProp(e,G),o=s("transitional")||cd,l=s("data"),c=s("lookup"),u=s("family"),p=s("httpVersion");p===void 0&&(p=1);let h=p,g=s("http2Options"),d=s("httpAgent"),m=s("httpsAgent"),w=s("proxy"),f=s("responseType"),A=s("responseEncoding"),b=s("socketPath"),x=s("method").toUpperCase(),S=s("maxRedirects"),T=s("maxBodyLength"),M=s("maxContentLength"),V=s("decompress"),N,_=!1,W,le;try{p=+p}catch{throw new j("Invalid protocol version: value is not a number",j.ERR_BAD_OPTION_VALUE,e)}if(Number.isNaN(p))throw new j(`Invalid protocol version: '${h}' is not a number`,j.ERR_BAD_OPTION_VALUE,e);if(p!==1&&p!==2)throw new j(`Unsupported protocol version '${p}'`,j.ERR_BAD_OPTION_VALUE,e);let Pe=p===2;c&&(c=zK(c));let Te=new u9.EventEmitter;function tn(G){try{Te.emit("abort",!G||G.type?new Ft(null,e,W):G)}catch{}}function O(){le&&(clearTimeout(le),le=null)}function z(){let G=s("timeout"),U=G?"timeout of "+G+"ms exceeded":"timeout exceeded",Ee=s("timeoutErrorMessage");return Ee&&(U=Ee),new j(U,o.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,e,W)}Te.once("abort",a);let Ce=()=>{O(),e.cancelToken&&e.cancelToken.unsubscribe(tn),e.signal&&e.signal.removeEventListener("abort",tn),Te.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(tn),e.signal&&(e.signal.aborted?tn():e.signal.addEventListener("abort",tn))),r((G,U)=>{if(N=!0,O(),U){_=!0,Ce();return}let{data:Ee}=G;if(Ee instanceof mi.Readable||Ee instanceof mi.Duplex){let On=mi.finished(Ee,()=>{On(),Ce()})}else Ce()});let cn=fA(s("baseURL"),s("url"),s("allowAbsoluteUrls"),e),Z=b?"http://localhost":Ze.hasBrowserEnv?Ze.origin:void 0,ge=new URL(cn,Z),Me=ge.protocol||f_[0];if(Me==="data:"){if(M>-1){let U=String(s("url")||cn||"");if(AK(U)>M)return a(new j("maxContentLength size of "+M+" exceeded",j.ERR_BAD_RESPONSE,e))}let G;if(x!=="GET")return Is(i,a,{status:405,statusText:"method not allowed",headers:{},config:e});try{G=L8(s("url"),f==="blob",{Blob:e.env&&e.env.Blob})}catch(U){throw j.from(U,j.ERR_BAD_REQUEST,e)}return f==="text"?(G=G.toString(A),(!A||A==="utf8")&&(G=C.stripBOM(G))):f==="stream"&&(G=mi.Readable.from(G)),Is(i,a,{data:G,status:200,statusText:"OK",headers:new rn,config:e})}if(f_.indexOf(Me)===-1)return a(new j("Unsupported protocol "+Me,j.ERR_BAD_REQUEST,e));let Re=rn.from(e.headers).normalize();Re.set("User-Agent","axios/"+Ul,!1);let{onUploadProgress:Bn,onDownloadProgress:qi}=e,_i=e.maxRate,me,He;if(C.isSpecCompliantForm(l)){let G=Re.getContentType(/boundary=([-_\w\d]{10,70})/i);l=Z8(l,U=>{Re.set(U)},{tag:`axios-${Ul}-boundary`,boundary:G&&G[1]||void 0})}else if(C.isFormData(l)&&C.isFunction(l.getHeaders)&&l.getHeaders!==Object.prototype.getHeaders){if(n2(Re,l.getHeaders(),s("formDataHeaderPolicy")),!Re.hasContentLength())try{let G=await cA.promisify(l.getLength).call(l);Number.isFinite(G)&&G>=0&&Re.setContentLength(G)}catch{}}else if(C.isBlob(l)||C.isFile(l))l.size&&Re.setContentType(l.type||"application/octet-stream"),Re.setContentLength(l.size||0),l=mi.Readable.from(i2(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 j("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",j.ERR_BAD_REQUEST,e));if(Re.setContentLength(l.length,!1),T>-1&&l.length>T)return a(new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,e))}let _t=C.toFiniteNumber(Re.getContentLength());C.isArray(_i)?(me=_i[0],He=_i[1]):me=He=_i,l&&(Bn||me)&&(C.isStream(l)||(l=mi.Readable.from(l,{objectMode:!1})),l=mi.pipeline([l,new rd({maxRate:C.toFiniteNumber(me)})],C.noop),Bn&&l.on("progress",v_(l,sd(_t,zs(od(Bn,p_),!1,3)))));let Hi,Qt=s("auth");if(Qt){let G=C.getSafeProp(Qt,"username")||"",U=C.getSafeProp(Qt,"password")||"";Hi=G+":"+U}if(!Hi&&(ge.username||ge.password)){let G=w_(ge.username),U=w_(ge.password);Hi=G+":"+U}Hi&&Re.delete("authorization");let jn;try{jn=gA(ge.pathname+ge.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(G){return a(j.from(G,j.ERR_BAD_REQUEST,e,null,null,{url:s("url"),exists:!0}))}Re.set("Accept-Encoding",C.hasOwnProp(o,"advertiseZstdAcceptEncoding")&&o.advertiseZstdAcceptEncoding===!0?yK:g2,!1),Pe&&c&&(g=Object.assign(Object.create(null),g,{lookup:c}));let Ae=Object.assign(Object.create(null),{path:jn,method:x,headers:hA(Re),agents:{http:d,https:m},auth:Hi,protocol:Me,family:u,beforeRedirect:qK,beforeRedirects:Object.create(null),http2Options:g,createConnection:void 0});!C.isUndefined(c)&&(Ae.lookup=c);let Sn=!1;if(b){if(typeof b!="string")return a(new j("socketPath must be a string",j.ERR_BAD_OPTION_VALUE,e));let G=s("allowedSocketPaths");if(G!=null){let U=Array.isArray(G)?G:[G],Ee=Kq.resolve(b);if(!U.some(qe=>typeof qe=="string"&&Kq.resolve(qe)===Ee))return a(new j(`socketPath "${b}" is not permitted by allowedSocketPaths`,j.ERR_BAD_OPTION_VALUE,e))}Ae.socketPath=b}else Ae.hostname=ge.hostname.startsWith("[")?ge.hostname.slice(1,-1):ge.hostname,Ae.port=ge.port,Sn=f2(Ae,w,Me+"//"+ge.hostname+(ge.port?":"+ge.port:"")+Ae.path,!1,m,d,!Pe);let ht,Wi=!1,pn=!1,Q=wA.test(Ae.protocol);if(Ae.agent==null&&(Ae.agent=Q?m:d),Pe){if(Sn)return a(new j("HTTP/2 requests with a proxy are not supported",j.ERR_NOT_SUPPORT,e));ht=DK}else{let G=s("transport");if(G)ht=G;else if(S===0)ht=Q?E_:M_,Wi=!0;else{pn=!0,Ae.sensitiveHeaders=[],S&&(Ae.maxRedirects=S);let U=s("beforeRedirect");if(U&&(Ae.beforeRedirects.config=U),Hi){let On=ge.origin,qe=Hi;Ae.beforeRedirects.auth=function(Xn){try{new URL(Xn.href).origin===On&&(Xn.auth=qe)}catch{}}}let Ee=s("sensitiveHeaders");if(Ee!=null){if(!C.isArray(Ee))return a(new j("sensitiveHeaders must be an array of strings",j.ERR_BAD_OPTION_VALUE,e));let On=new Set;for(let qe of Ee){if(!C.isString(qe))return a(new j("sensitiveHeaders must be an array of strings",j.ERR_BAD_OPTION_VALUE,e));On.add(qe.toLowerCase())}On.size&&(Ae.sensitiveHeaders=Array.from(On),Ae.beforeRedirects.sensitiveHeaders=function(Yn,Xn){HK(Yn,Xn)||_K(Yn.headers,On)})}ht=Q?jK:PK}}T>-1?Ae.maxBodyLength=T:Ae.maxBodyLength=1/0,Ae.insecureHTTPParser=!!s("insecureHTTPParser"),W=ht.request(Ae,function(U){if(O(),W.destroyed)return;let Ee=[U],On=C.toFiniteNumber(U.headers["content-length"]);if(qi||He){let Tn=new rd({maxRate:C.toFiniteNumber(He)});qi&&Tn.on("progress",v_(Tn,sd(On,zs(od(qi,p_),!0,3)))),Ee.push(Tn)}let qe=U,Yn=U.req||W;if(V!==!1&&U.headers["content-encoding"])switch((x==="HEAD"||U.statusCode===204)&&delete U.headers["content-encoding"],(U.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":Ee.push(Li.createUnzip(c_)),delete U.headers["content-encoding"];break;case"deflate":Ee.push(new oA),Ee.push(Li.createUnzip(c_)),delete U.headers["content-encoding"];break;case"br":d2&&(Ee.push(Li.createBrotliDecompress(bK)),delete U.headers["content-encoding"]);break;case"zstd":h2&&(Ee.push(Li.createZstdDecompress(xK)),delete U.headers["content-encoding"]);break}qe=Ee.length>1?mi.pipeline(Ee,C.noop):Ee[0];let Xn={status:U.statusCode,statusText:U.statusMessage,headers:new rn(U.headers),config:e,request:Yn};if(f==="stream"){if(M>-1){let Tn=M,Su=qe;async function*to(){let fn=0;for await(let Jy of Su){if(fn+=Jy.length,fn>Tn)throw new j("maxContentLength size of "+Tn+" exceeded",j.ERR_BAD_RESPONSE,e,Yn);yield Jy}}qe=mi.Readable.from(to(),{objectMode:!1})}Xn.data=qe,Is(i,a,Xn)}else{let Tn=[],Su=0;qe.on("data",function(fn){Tn.push(fn),Su+=fn.length,M>-1&&Su>M&&(_=!0,qe.destroy(),tn(new j("maxContentLength size of "+M+" exceeded",j.ERR_BAD_RESPONSE,e,Yn)))}),qe.on("aborted",function(){if(_)return;let fn=new j("stream has been aborted",j.ERR_BAD_RESPONSE,e,Yn,Xn);qe.destroy(fn),a(fn)}),qe.on("error",function(fn){_||a(j.from(fn,null,e,Yn,Xn))}),qe.on("end",function(){try{let fn=Tn.length===1?Tn[0]:Buffer.concat(Tn);f!=="arraybuffer"&&(fn=fn.toString(A),(!A||A==="utf8")&&(fn=C.stripBOM(fn))),Xn.data=fn}catch(fn){return a(j.from(fn,null,e,Xn.request,Xn))}Is(i,a,Xn)})}Te.once("abort",Tn=>{qe.destroyed||(qe.emit("error",Tn),qe.destroy())})}),Te.once("abort",G=>{W.close?W.close():W.destroy(G)}),W.on("error",function(U){a(j.from(U,null,e,W))});let Ye=new Set;if(W.on("socket",function(U){typeof U.setKeepAlive=="function"&&U.setKeepAlive(!0,1e3*60),U[d_]||(U.on("error",SK),U[d_]=!0),U[ed]=W,Ye.add(U)}),W.once("close",function(){O();for(let U of Ye)U[ed]===W&&(U[ed]=null);Ye.clear()}),s("timeout")){let G=parseInt(s("timeout"),10);if(Number.isNaN(G)){tn(new j("error trying to parse `config.timeout` to int",j.ERR_BAD_OPTION_VALUE,e,W));return}let U=function(){N||tn(z())};Wi&&G>0&&(le=setTimeout(U,G)),W.setTimeout(G,U)}else W.setTimeout(0);if(C.isStream(l)){let G=!1,U=!1;l.on("end",()=>{G=!0}),l.once("error",On=>{U=!0,W.destroy(On)}),l.on("close",()=>{!G&&!U&&tn(new Ft("Request stream has been aborted",e,W))});let Ee=l;if(T>-1&&!pn){let On=T,qe=0;Ee=mi.pipeline([l,new mi.Transform({transform(Yn,Xn,Tn){if(qe+=Yn.length,qe>On)return Tn(new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,e,W));Tn(null,Yn)}})],C.noop),Ee.on("error",Yn=>{W.destroyed||W.destroy(Yn)})}Ee.pipe(W)}else l&&W.write(l),W.end()})},NK=Ze.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Ze.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Ze.origin),Ze.navigator&&/(msie|trident)/i.test(Ze.navigator.userAgent)):()=>!0,UK=Ze.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 rn?{...t}:t,$K=t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t);function Ar(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(u,p,h,g){return C.isPlainObject(u)&&C.isPlainObject(p)?C.merge.call({caseless:g},u,p):C.isPlainObject(p)?C.merge({},p):C.isArray(p)?p.slice():p}function a(u,p,h,g){if(C.isUndefined(p)){if(!C.isUndefined(u))return i(void 0,u,h,g)}else return i(u,p,h,g)}function r(u,p){if(!C.isUndefined(p))return i(void 0,p)}function s(u,p){if(C.isUndefined(p)){if(!C.isUndefined(u))return i(void 0,u)}else return i(void 0,p)}function o(u){let p=C.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!C.isUndefined(p))if(C.isPlainObject(p)){if(C.hasOwnProp(p,u))return p[u]}else return;let h=C.hasOwnProp(t,"transitional")?t.transitional:void 0;if(C.isPlainObject(h)&&C.hasOwnProp(h,u))return h[u]}function l(u,p,h){if(C.hasOwnProp(e,h))return i(u,p);if(C.hasOwnProp(t,h))return i(void 0,u)}let c={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutErrorMessage: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:(u,p,h)=>a(b_(u),b_(p),h,!0)};return C.forEach($K({...t,...e}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;let h=C.hasOwnProp(c,p)?c[p]:a,g=C.hasOwnProp(t,p)?t[p]:void 0,d=C.hasOwnProp(e,p)?e[p]:void 0,m=h(g,d,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 BK=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function w2(t){let e=Ar({},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"),c=n("baseURL"),u=n("allowAbsoluteUrls"),p=n("url");if(e.headers=o=rn.from(o),e.url=gA(fA(c,p,u,e),n("params"),n("paramsSerializer")),l){let h=C.getSafeProp(l,"username")||"",g=C.getSafeProp(l,"password")||"";try{o.set("Authorization","Basic "+btoa(h+":"+(g?BK(g):"")))}catch(d){throw j.from(d,j.ERR_BAD_OPTION_VALUE,t)}}if(C.isFormData(i)){let h=C.getSafeProp(i,"getHeaders");Ze.hasStandardBrowserEnv||Ze.hasStandardBrowserWebWorkerEnv||C.isReactNative(i)?o.setContentType(void 0):C.isFunction(h)&&n2(o,h.call(i),n("formDataHeaderPolicy"))}if(Ze.hasStandardBrowserEnv&&(C.isFunction(a)&&(a=a(e)),a===!0||a==null&&NK(e.url))){let g=r&&s&&UK.read(s);g&&o.set(r,g)}return e}var LK=typeof XMLHttpRequest<"u",FK=LK&&function(t){return new Promise(function(n,i){let a=w2(t),r=a.data,s=rn.from(a.headers).normalize(),{responseType:o,onUploadProgress:l,onDownloadProgress:c}=a,u,p,h,g,d,m;function w(){g&&g(),d&&d(),a.cancelToken&&a.cancelToken.unsubscribe(u),a.signal&&a.signal.removeEventListener("abort",u)}let f=new XMLHttpRequest;f.open(a.method.toUpperCase(),a.url,!0),f.timeout=a.timeout;function A(x){if(!f)return;if(f.status===0&&(Xp(e2(a.url))||Xp(Ze.origin))!=="file"&&!(f.responseURL&&f.responseURL.startsWith("file:"))){i(new j("Request aborted",j.ECONNABORTED,t,f)),w(),f=null;return}try{x?m&&m(x):d&&d()}catch(V){setTimeout(()=>{throw V})}if(!f)return;let S=rn.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),M={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:S,config:t,request:f};Is(function(N){n(N),w()},function(N){i(N),w()},M),f=null}"onloadend"in f?f.onloadend=A:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.startsWith("file:"))||setTimeout(A)},f.onabort=function(){f&&(i(new j("Request aborted",j.ECONNABORTED,t,f)),w(),f=null)},f.onerror=function(S){let T=S&&S.message?S.message:"Network Error",M=new j(T,j.ERR_NETWORK,t,f);M.event=S||null,i(M),w(),f=null},f.ontimeout=function(){let S=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded",T=a.transitional||cd;a.timeoutErrorMessage&&(S=a.timeoutErrorMessage),i(new j(S,T.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,t,f)),w(),f=null},r===void 0&&s.setContentType(null),"setRequestHeader"in f&&C.forEach(hA(s),function(S,T){f.setRequestHeader(T,S)}),C.isUndefined(a.withCredentials)||(f.withCredentials=!!a.withCredentials),o&&o!=="json"&&(f.responseType=a.responseType),c&&([h,d,m]=zs(c,!0),f.addEventListener("progress",h)),l&&f.upload&&([p,g]=zs(l),f.upload.addEventListener("progress",p),f.upload.addEventListener("loadend",g)),(a.cancelToken||a.signal)&&(u=x=>{f&&(i(!x||x.type?new Ft(null,t,f):x),f.abort(),w(),f=null)},a.cancelToken&&a.cancelToken.subscribe(u),a.signal&&(a.signal.aborted?u():a.signal.addEventListener("abort",u)));let b=Xp(a.url);if(b&&!Ze.protocols.includes(b)){i(new j("Unsupported protocol "+b+":",j.ERR_BAD_REQUEST,t)),w();return}f.send(r||null)})},VK=(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 c=l instanceof Error?l:this.reason;n.abort(c instanceof j?c:new Ft(c instanceof Error?c.message:c))}},r=e&&setTimeout(()=>{r=null,a(new j(`timeout of ${e}ms exceeded`,j.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},JK=function*(t,e){let n=t.byteLength;if(n{let a=KK(t,e),r=0,s,o=l=>{s||(s=!0,i&&i(l))};return new ReadableStream({async pull(l){try{let{done:c,value:u}=await a.next();if(c){o(),l.close();return}let p=u.byteLength;if(n){let h=r+=p;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw o(c),c}},cancel(l){return o(l),a.return()}},{highWaterMark:2})},y_=64*1024,QK={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:Zp}=C,YK=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),P_=t=>{if(!C.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},j_=(t,...e)=>{try{return!!t(...e)}catch{return!1}},XK=t=>{let e=t.indexOf("://"),n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},eZ=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?Zp(a):typeof fetch=="function",l=Zp(r),c=Zp(s);if(!o)return!1;let u=o&&Zp(n),p=o&&(typeof i=="function"?(f=>A=>f.encode(A))(new i):async f=>new Uint8Array(await new r(f).arrayBuffer())),h=l&&u&&j_(()=>{let f=!1,A=new r(Ze.origin,{body:new n,method:"POST",get duplex(){return f=!0,"half"}}),b=A.headers.has("Content-Type");return A.body!=null&&A.body.cancel(),f&&!b}),g=c&&u&&j_(()=>C.isReadableStream(new s("").body)),d={stream:g&&(f=>f.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!d[f]&&(d[f]=(A,b)=>{let x=A&&A[f];if(x)return x.call(A);throw new j(`Response type '${f}' is not supported`,j.ERR_NOT_SUPPORT,b)})});let m=async f=>{if(f==null)return 0;if(C.isBlob(f))return f.size;if(C.isSpecCompliantForm(f))return(await new r(Ze.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(C.isArrayBufferView(f)||C.isArrayBuffer(f))return f.byteLength;if(C.isURLSearchParams(f)&&(f=f+""),C.isString(f))return(await p(f)).byteLength},w=async(f,A)=>{let b=C.toFiniteNumber(f.getContentLength());return b??m(A)};return async f=>{let{url:A,method:b,data:x,signal:S,cancelToken:T,timeout:M,onDownloadProgress:V,onUploadProgress:N,responseType:_,headers:W,withCredentials:le="same-origin",fetchOptions:Pe,maxContentLength:Te,maxBodyLength:tn,maxRedirects:O}=w2(f),z=C.isNumber(Te)&&Te>-1,Ce=C.isNumber(tn)&&tn>-1,cn=me=>C.hasOwnProp(f,me)?f[me]:void 0,Z=a||fetch;_=_?(_+"").toLowerCase():"text";let ge=VK([S,T&&T.toAbortSignal()],M),Me=null,Re=ge&&ge.unsubscribe&&(()=>{ge.unsubscribe()}),Bn,qi=null,_i=()=>new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,f,Me);try{let me,He=cn("auth");if(He){let Q=C.getSafeProp(He,"username")||"",Ye=C.getSafeProp(He,"password")||"";me={username:Q,password:Ye}}if(XK(A)){let Q=new URL(A,Ze.origin);if(!me&&(Q.username||Q.password)){let Ye=P_(Q.username),G=P_(Q.password);me={username:Ye,password:G}}(Q.username||Q.password)&&(Q.username="",Q.password="",A=Q.href)}if(me&&(W.delete("authorization"),W.set("Authorization","Basic "+btoa(YK((me.username||"")+":"+(me.password||""))))),z&&typeof A=="string"&&A.startsWith("data:")&&CK(A)>Te)throw new j("maxContentLength size of "+Te+" exceeded",j.ERR_BAD_RESPONSE,f,Me);if(Ce&&b!=="get"&&b!=="head"){let Q=await m(x);if(typeof Q=="number"&&isFinite(Q)&&(Bn=Q,Q>tn))throw _i()}let _t=Ce&&(C.isReadableStream(x)||C.isStream(x)),Hi=(Q,Ye,G)=>x_(Q,y_,U=>{if(Ce&&U>tn)throw qi=_i();Ye&&Ye(U)},G);if(h&&b!=="get"&&b!=="head"&&(N||_t)){if(Bn=Bn??await w(W,x),Bn!==0||_t){let Q=new r(A,{method:"POST",body:x,duplex:"half"}),Ye;if(C.isFormData(x)&&(Ye=Q.headers.get("content-type"))&&W.setContentType(Ye),Q.body){let[G,U]=N&&sd(Bn,zs(od(N)))||[];x=Hi(Q.body,G,U)}}}else if(_t&&!l&&u&&b!=="get"&&b!=="head")x=Hi(x);else if(_t&&l&&!h&&b!=="get"&&b!=="head")throw new j("Stream request bodies are not supported by the current fetch implementation",j.ERR_NOT_SUPPORT,f,Me);C.isString(le)||(le=le?"include":"omit");let Qt=l&&"credentials"in r.prototype;if(C.isFormData(x)){let Q=W.getContentType();Q&&/^multipart\/form-data/i.test(Q)&&!/boundary=/i.test(Q)&&W.delete("content-type")}W.set("User-Agent","axios/"+Ul,!1);let jn=Pe==null?Pe:Object.assign(Object.create(null),Pe);jn&&(delete jn.body,delete jn.headers,delete jn.method,delete jn.signal,delete jn.duplex,delete jn.credentials);let Ae=Object.assign(Object.create(null),jn,{signal:ge,method:b.toUpperCase(),headers:hA(W.normalize()),body:x,duplex:"half",credentials:Qt?le:void 0});l&&(C.forEach(QK,(Q,Ye)=>{Ae[Ye]===void 0&&(Ae[Ye]=Q)}),Ae.signal===void 0&&(Ae.signal=null),Ae.body===void 0&&(Ae.body=null)),O===0&&(Ae.redirect="manual",jn&&(jn.redirect="manual")),Me=l&&new r(A,Ae);let Sn=await(l?Z(Me,jn):Z(A,Ae)),ht=rn.from(Sn.headers);if(z){let Q=C.toFiniteNumber(ht.getContentLength());if(Q!=null&&Q>Te)throw new j("maxContentLength size of "+Te+" exceeded",j.ERR_BAD_RESPONSE,f,Me)}let Wi=g&&(_==="stream"||_==="response");if(g&&Sn.body&&(V||z||Wi&&Re)){let Q={};["status","statusText","headers"].forEach(qe=>{Q[qe]=Sn[qe]});let Ye=C.toFiniteNumber(ht.getContentLength()),[G,U]=V&&sd(Ye,zs(od(V),!0))||[],Ee=0,On=qe=>{if(z&&(Ee=qe,Ee>Te))throw new j("maxContentLength size of "+Te+" exceeded",j.ERR_BAD_RESPONSE,f,Me);G&&G(qe)};Sn=new s(x_(Sn.body,y_,On,()=>{U&&U(),Re&&Re()}),Q)}_=_||"text";let pn=await d[C.findKey(d,_)||"text"](Sn,f);if(z&&!g&&!Wi){let Q;if(pn!=null&&(typeof pn.byteLength=="number"?Q=pn.byteLength:typeof pn.size=="number"?Q=pn.size:typeof pn=="string"&&(Q=typeof i=="function"?new i().encode(pn).byteLength:pn.length)),typeof Q=="number"&&Q>Te)throw new j("maxContentLength size of "+Te+" exceeded",j.ERR_BAD_RESPONSE,f,Me)}return!Wi&&Re&&Re(),await new Promise((Q,Ye)=>{Is(Q,Ye,{data:pn,headers:rn.from(Sn.headers),status:Sn.status,statusText:Sn.statusText,config:f,request:Me})})}catch(me){if(Re&&Re(),ge&&ge.aborted&&ge.reason instanceof j){let He=ge.reason;throw He.config=f,Me&&(He.request=Me),me!==He&&Object.defineProperty(He,"cause",{__proto__:null,value:me,writable:!0,enumerable:!1,configurable:!0}),He}if(qi)throw Me&&!qi.request&&(qi.request=Me),qi;if(me instanceof j)throw Me&&!me.request&&(me.request=Me),me;if(me&&me.name==="TypeError"&&/Load failed|fetch/i.test(me.message)){let He=new j("Network Error",j.ERR_NETWORK,f,Me,me&&me.response);throw Object.defineProperty(He,"cause",{__proto__:null,value:me.cause||me,writable:!0,enumerable:!1,configurable:!0}),He}throw j.from(me,me&&me.code,f,Me,me&&me.response)}}},nZ=new Map,v2=t=>{let e=t&&t.env||{},{fetch:n,Request:i,Response:a}=e,r=[i,a,n],s=r.length,o=s,l,c,u=nZ;for(;o--;)l=r[o],c=u.get(l),c===void 0&&u.set(l,c=o?new Map:eZ(e)),u=c;return c};v2();var vA={http:GK,xhr:FK,fetch:{get:v2}};C.forEach(vA,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});var S_=t=>`- ${t}`,iZ=t=>C.isFunction(t)||t===null||t===!1;function tZ(t,e){t=C.isArray(t)?t:[t];let{length:n}=t,i,a,r={};for(let s=0;s`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build")),o=n?s.length>1?`since : +`+s.map(S_).join(` +`):" "+S_(s[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+o,j.ERR_NOT_SUPPORT)}return a}var C2={getAdapter:tZ,adapters:vA};function eA(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ft(null,t)}function nA(t){let e=C.toSafeFlatObject(t);return eA(e),e.headers=rn.from(C.getSafeProp(e,"headers")),e.data=ZC.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),C2.getAdapter(e.adapter||Fl.adapter,e)(e).then(function(a){eA(e),e.response=a;try{a.data=ZC.call(e,e.transformResponse,a)}finally{delete e.response}return a.headers=rn.from(a.headers),a},function(a){if(!X_(a)&&(eA(e),a&&a.response)){e.response=a.response;try{a.response.data=ZC.call(e,e.transformResponse,a.response)}finally{delete e.response}a.response.headers=rn.from(a.response.headers)}return Promise.reject(a)})}var pd={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{pd[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});var O_={};pd.transitional=function(e,n,i){function a(r,s){return"[Axios v"+Ul+"] Transitional option '"+r+"'"+s+(i?". "+i:"")}return(r,s,o)=>{if(e===!1)throw new j(a(s," has been removed"+(n?" in "+n:"")),j.ERR_DEPRECATED);return n&&!O_[s]&&(O_[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}};pd.spelling=function(e){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function aZ(t,e,n){if(typeof t!="object"||t===null)throw new j("options must be an object",j.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 j("option "+r+" must be "+l,j.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new j("Unknown option "+r,j.ERR_BAD_OPTION)}}var nd={assertOptions:aZ,validators:pd},Un=nd.validators,Lt=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ad,response:new ad}}async request(e,n){try{return await this._request(e,n)}catch(i){if(i instanceof Error)try{let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;let r=a.stack,s="";if(typeof r=="string"){let o=r.indexOf(` +`);s=o===-1?"":r.slice(o+1)}if(!i.stack)i.stack=s;else if(s){let o=s.indexOf(` +`),l=o===-1?-1:s.indexOf(` +`,o+1),c=l===-1?"":s.slice(l+1);String(i.stack).endsWith(c)||(i.stack+=` +`+s)}}catch{}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ar(this.defaults,n);let{transitional:i,paramsSerializer:a,headers:r}=n;i!==void 0&&nd.assertOptions(i,{silentJSONParsing:Un.transitional(Un.boolean),forcedJSONParsing:Un.transitional(Un.boolean),clarifyTimeoutError:Un.transitional(Un.boolean),legacyInterceptorReqResOrdering:Un.transitional(Un.boolean),advertiseZstdAcceptEncoding:Un.transitional(Un.boolean),validateStatusUndefinedResolves:Un.transitional(Un.boolean)},!1),a!=null&&(C.isFunction(a)?n.paramsSerializer={serialize:a}:nd.assertOptions(a,{encode:Un.function,serialize:Un.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),nd.assertOptions(n,{baseUrl:Un.spelling("baseURL"),withXsrfToken:Un.spelling("withXSRFToken")},!0),n.method=(C.getSafeProp(n,"method")||C.getSafeProp(this.defaults,"method")||"get").toLowerCase();let s=r&&C.merge(r.common,r[n.method]);r&&C.forEach(Y_.concat("common"),d=>{delete r[d]}),n.headers=rn.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 w=n.transitional||cd;w&&w.legacyInterceptorReqResOrdering?o.unshift(m.fulfilled,m.rejected):o.push(m.fulfilled,m.rejected)});let c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,p=0,h;if(!l){let d=[nA.bind(this),void 0];for(d.unshift(...o),d.push(...c),h=d.length,u=Promise.resolve(n);pnA.call(this,g)))}catch(f){u=Promise.reject(f)}break}}if(!u)try{u=nA.call(this,g)}catch(d){u=Promise.reject(d)}for(p=0,h=c.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 Ft(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 rZ(t){return function(n){return t.apply(null,n)}}function sZ(t){return C.isObject(t)&&t.isAxiosError===!0}var id={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,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent: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(id).forEach(([t,e])=>{id[e]===void 0&&(id[e]=t)});function A2(t){let e=new Lt(t),n=__(Lt.prototype.request,e);return C.extend(n,Lt.prototype,e,{allOwnKeys:!0}),C.extend(n,e,null,{allOwnKeys:!0}),n.create=function(a){return A2(Ar(t,a))},n}var on=A2(Fl);on.Axios=Lt;on.CanceledError=Ft;on.CancelToken=uA;on.isCancel=X_;on.VERSION=Ul;on.toFormData=ud;on.AxiosError=j;on.Cancel=on.CanceledError;on.all=function(e){return Promise.all(e)};on.spread=rZ;on.isAxiosError=sZ;on.mergeConfig=Ar;on.AxiosHeaders=rn;on.formToJSON=t=>Q_(C.isHTMLForm(t)?new FormData(t):t);on.getAdapter=C2.getAdapter;on.HttpStatusCode=id;on.default=on;b2.exports=on});var wi=v((upe,y2)=>{"use strict";var CA=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)}};kq.exports=t=>{if(t.length>2)throw new pC(t);function e(i={}){this.options=i}e.prototype.transform=t;function n(i){return new e(i)}return n.Format=e,n}});var Hq=v((Ioe,_q)=>{var qq={};_q.exports=qq;var Eq={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(Eq).forEach(function(t){var e=Eq[t],n=qq[t]=[];n.open="\x1B["+e[0]+"m",n.close="\x1B["+e[1]+"m"})});var Iq=v((Woe,Rq)=>{"use strict";Rq.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 d9=require("os"),Yi=Iq(),Vn=process.env,xs=void 0;Yi("no-color")||Yi("no-colors")||Yi("color=false")?xs=!1:(Yi("color")||Yi("colors")||Yi("color=true")||Yi("color=always"))&&(xs=!0);"FORCE_COLOR"in Vn&&(xs=Vn.FORCE_COLOR.length===0||parseInt(Vn.FORCE_COLOR,10)!==0);function h9(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function g9(t){if(xs===!1)return 0;if(Yi("color=16m")||Yi("color=full")||Yi("color=truecolor"))return 3;if(Yi("color=256"))return 2;if(t&&!t.isTTY&&xs!==!0)return 0;var e=xs?1:0;if(process.platform==="win32"){var n=d9.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 Vn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(a){return a in Vn})||Vn.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in Vn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Vn.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in Vn){var i=parseInt((Vn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Vn.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Vn.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(Vn.TERM)||"COLORTERM"in Vn?1:(Vn.TERM==="dumb",e)}function dC(t){var e=g9(t);return h9(e)}Wq.exports={supportsColor:dC,stdout:dC(process.stdout),stderr:dC(process.stderr)}});var Gq=v((Doe,Dq)=>{Dq.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 Uq=v((Goe,Nq)=>{Nq.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 c=Math.floor(Math.random()*l);return c}function s(l){var c=!1;return a.filter(function(u){c=u===l}),c}function o(l,c){var u="",d,h;c=c||{},c.up=typeof c.up<"u"?c.up:!0,c.mid=typeof c.mid<"u"?c.mid:!0,c.down=typeof c.down<"u"?c.down:!0,c.size=typeof c.size<"u"?c.size:"maxi",l=l.split("");for(h in l)if(!s(h)){switch(u=u+l[h],d={up:0,down:0,mid:0},c.size){case"mini":d.up=r(8),d.mid=r(2),d.down=r(8);break;case"maxi":d.up=r(16)+3,d.mid=r(4)+1,d.down=r(64)+3;break;default:d.up=r(8)+1,d.mid=r(6)/2,d.down=r(8)+1;break}var g=["up","mid","down"];for(var p in g)for(var m=g[p],f=0;f<=d[m];f++)c[m]&&(u=u+i[m][r(i[m].length)])}return u}return o(e,n)}});var Lq=v((Noe,$q)=>{$q.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 Fq=v((Uoe,Bq)=>{Bq.exports=function(t){return function(e,n,i){return n%2===0?e:t.inverse(e)}}});var Jq=v(($oe,Vq)=>{Vq.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 Kq=v((Loe,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(n,i,a){return n===" "?n:t[e[Math.round(Math.random()*(e.length-2))]](n)}}});var i_=v((Foe,n_)=>{var he={};n_.exports=he;he.themes={};var m9=require("util"),lr=he.styles=Hq(),Yq=Object.defineProperties,f9=new RegExp(/[\r\n]+/g);he.supportsColor=zq().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 Boe=he.stylize=function(e,n){if(!he.enabled)return e+"";var i=lr[n];return!i&&n in he?he[n](e):i.open+e+i.close},w9=/[|\\{}()[\]^$+*?.]/g,v9=function(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(w9,"\\$&")};function Xq(t){var e=function n(){return A9.apply(n,arguments)};return e._styles=t,e.__proto__=C9,e}var e_=(function(){var t={};return lr.grey=lr.gray,Object.keys(lr).forEach(function(e){lr[e].closeRe=new RegExp(v9(lr[e].close),"g"),t[e]={get:function(){return Xq(this._styles.concat(e))}}}),t})(),C9=Yq(function(){},e_);function A9(){var t=Array.prototype.slice.call(arguments),e=t.map(function(s){return s!=null&&s.constructor===String?s:m9.inspect(s)}).join(" ");if(!he.enabled||!e)return e;for(var n=e.indexOf(` -`)!=-1,i=this._styles,a=i.length;a--;){var r=lr[i[a]];e=r.open+e.replace(r.closeRe,r.open)+r.close,n&&(e=e.replace(f9,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(n){he[n]=function(i){if(typeof t[n]=="object"){var a=i;for(var r in t[n])a=he[t[n][r]](a);return a}return he[t[n]](i)}})(e)};function b9(){var t={};return Object.keys(e_).forEach(function(e){t[e]={get:function(){return Xq([e])}}}),t}var x9=function(e,n){var i=n.split("");return i=i.map(e),i.join("")};he.trap=Gq();he.zalgo=Uq();he.maps={};he.maps.america=Lq()(he);he.maps.zebra=Fq()(he);he.maps.rainbow=Jq()(he);he.maps.random=Kq()(he);for(Qq in he.maps)(function(t){he[t]=function(e){return x9(he.maps[t],e)}})(Qq);var Qq;Yq(he,b9())});var hC=v((Voe,t_)=>{var y9=i_();t_.exports=y9});var a_=v(gC=>{"use strict";gC.levels={error:0,warn:1,help:2,data:3,info:4,debug:5,prompt:6,verbose:7,input:8,silly:9};gC.colors={error:"red",warn:"yellow",help:"cyan",data:"grey",info:"green",debug:"blue",prompt:"grey",verbose:"cyan",input:"grey",silly:"magenta"}});var r_=v(mC=>{"use strict";mC.levels={error:0,warn:1,info:2,http:3,verbose:4,debug:5,silly:6};mC.colors={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta"}});var s_=v(fC=>{"use strict";fC.levels={emerg:0,alert:1,crit:2,error:3,warning:4,notice:5,info:6,debug:7};fC.colors={emerg:"red",alert:"yellow",crit:"red",error:"red",warning:"red",notice:"yellow",info:"green",debug:"blue"}});var o_=v(xp=>{"use strict";Object.defineProperty(xp,"cli",{value:a_()});Object.defineProperty(xp,"npm",{value:r_()});Object.defineProperty(xp,"syslog",{value:s_()})});var on=v(bl=>{"use strict";Object.defineProperty(bl,"LEVEL",{value:Symbol.for("level")});Object.defineProperty(bl,"MESSAGE",{value:Symbol.for("message")});Object.defineProperty(bl,"SPLAT",{value:Symbol.for("splat")});Object.defineProperty(bl,"configs",{value:o_()})});var jp=v((Xoe,Pp)=>{"use strict";var CC=hC(),{LEVEL:wC,MESSAGE:vC}=on();CC.enabled=!0;var l_=/\s+/,yp=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]=l_.test(e[a])?e[a].split(l_):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 CC[t.allColors[e]](i);for(let a=0,r=t.allColors[e].length;anew yp(t);Pp.exports.Colorizer=Pp.exports.Format=yp});var c_=v((ele,u_)=>{"use strict";var{Colorizer:P9}=jp();u_.exports=t=>(P9.addColors(t.colors||t),t)});var d_=v((nle,p_)=>{"use strict";var j9=ci();p_.exports=j9(t=>(t.message=` ${t.message}`,t))});var m_=v((ile,g_)=>{"use strict";var S9=ci(),{LEVEL:h_,MESSAGE:AC}=on();g_.exports=S9((t,{stack:e,cause:n})=>{if(t instanceof Error){let a=Object.assign({},t,{level:t.level,[h_]:t[h_]||t.level,message:t.message,[AC]:t[AC]||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[AC]=i.message,e&&(t.stack=i.stack),n&&(t.cause=i.cause),t})});var xC=v((tle,Op)=>{"use strict";var{configs:O9,LEVEL:f_,MESSAGE:bC}=on(),Sp=class t{constructor(e={levels:O9.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[f_]]}${e.message}`,e[bC]&&(e[bC]=`${this.paddings[e[f_]]}${e[bC]}`),e}};Op.exports=t=>new Sp(t);Op.exports.Padder=Op.exports.Format=Sp});var w_=v((ale,yC)=>{"use strict";var{Colorizer:T9}=jp(),{Padder:M9}=xC(),{configs:k9,MESSAGE:E9}=on(),Tp=class{constructor(e={}){e.levels||(e.levels=k9.cli.levels),this.colorizer=new T9(e),this.padder=new M9(e),this.options=e}transform(e,n){return this.colorizer.transform(this.padder.transform(e,n),n),e[E9]=`${e.level}:${e.message}`,e}};yC.exports=t=>new Tp(t);yC.exports.Format=Tp});var C_=v((rle,PC)=>{"use strict";var q9=ci();function v_(t){if(t.every(_9))return e=>{let n=e;for(let i=0;i{let e=q9(v_(t)),n=e();return n.Format=e.Format,n};PC.exports.cascade=v_});var yl=v((TC,x_)=>{"use strict";var{hasOwnProperty:xl}=Object.prototype,cr=OC();cr.configure=OC;cr.stringify=cr;cr.default=cr;TC.stringify=cr;TC.configure=OC;x_.exports=cr;var H9=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function sa(t){return t.length<5e3&&!H9.test(t)?`"${t}"`:JSON.stringify(t)}function jC(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 R9=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function SC(t){return R9.call(t)!==void 0&&t.length!==0}function A_(t,e,n){t.length= 1`)}return n===void 0?1/0:n}function ur(t){return t===1?"1 item":`${t} items`}function D9(t){let e=new Set;for(let n of t)(typeof n=="string"||typeof n=="number")&&e.add(String(n));return e}function G9(t){if(xl.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 OC(t){t={...t};let e=G9(t);e&&(t.bigint===void 0&&(t.bigint=!1),"circularValue"in t||(t.circularValue=Error));let n=I9(t),i=z9(t,"bigint"),a=W9(t),r=typeof a=="function"?a:void 0,s=b_(t,"maximumDepth"),o=b_(t,"maximumBreadth");function l(g,p,m,f,w,b){let A=p[g];switch(typeof A=="object"&&A!==null&&typeof A.toJSON=="function"&&(A=A.toJSON(g)),A=f.call(p,g,A),typeof A){case"string":return sa(A);case"object":{if(A===null)return"null";if(m.indexOf(A)!==-1)return n;let x="",S=",",q=b;if(Array.isArray(A)){if(A.length===0)return"[]";if(so){let qn=A.length-o-1;x+=`${S}"... ${ur(qn)} not stringified"`}return w!==""&&(x+=` -${q}`),m.pop(),`[${x}]`}let $=Object.keys(A),ne=$.length;if(ne===0)return"{}";if(so){let Pe=ne-o;x+=`${M}"...":${K}"${ur(Pe)} not stringified"`,M=S}return w!==""&&M.length>1&&(x=` -${b}${x} -${q}`),m.pop(),`{${x}}`}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 c(g,p,m,f,w,b){switch(typeof p=="object"&&p!==null&&typeof p.toJSON=="function"&&(p=p.toJSON(g)),typeof p){case"string":return sa(p);case"object":{if(p===null)return"null";if(m.indexOf(p)!==-1)return n;let A=b,x="",S=",";if(Array.isArray(p)){if(p.length===0)return"[]";if(so){let X=p.length-o-1;x+=`${S}"... ${ur(X)} not stringified"`}return w!==""&&(x+=` -${A}`),m.pop(),`[${x}]`}m.push(p);let q="";w!==""&&(b+=w,S=`, -${b}`,q=" ");let $="";for(let ne of f){let K=c(ne,p[ne],m,f,w,b);K!==void 0&&(x+=`${$}${sa(ne)}:${q}${K}`,$=S)}return w!==""&&$.length>1&&(x=` -${b}${x} -${A}`),m.pop(),`{${x}}`}case"number":return isFinite(p)?String(p):e?e(p):"null";case"boolean":return p===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(p);default:return e?e(p):void 0}}function u(g,p,m,f,w){switch(typeof p){case"string":return sa(p);case"object":{if(p===null)return"null";if(typeof p.toJSON=="function"){if(p=p.toJSON(g),typeof p!="object")return u(g,p,m,f,w);if(p===null)return"null"}if(m.indexOf(p)!==-1)return n;let b=w;if(Array.isArray(p)){if(p.length===0)return"[]";if(so){let ge=p.length-o-1;K+=`${M}"... ${ur(ge)} not stringified"`}return K+=` -${b}`,m.pop(),`[${K}]`}let A=Object.keys(p),x=A.length;if(x===0)return"{}";if(so){let K=x-o;q+=`${$}"...": "${ur(K)} not stringified"`,$=S}return $!==""&&(q=` -${w}${q} -${b}`),m.pop(),`{${q}}`}case"number":return isFinite(p)?String(p):e?e(p):"null";case"boolean":return p===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(p);default:return e?e(p):void 0}}function d(g,p,m){switch(typeof p){case"string":return sa(p);case"object":{if(p===null)return"null";if(typeof p.toJSON=="function"){if(p=p.toJSON(g),typeof p!="object")return d(g,p,m);if(p===null)return"null"}if(m.indexOf(p)!==-1)return n;let f="",w=p.length!==void 0;if(w&&Array.isArray(p)){if(p.length===0)return"[]";if(so){let K=p.length-o-1;f+=`,"... ${ur(K)} not stringified"`}return m.pop(),`[${f}]`}let b=Object.keys(p),A=b.length;if(A===0)return"{}";if(so){let q=A-o;f+=`${x}"...":"${ur(q)} not stringified"`}return m.pop(),`{${f}}`}case"number":return isFinite(p)?String(p):e?e(p):"null";case"boolean":return p===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(p);default:return e?e(p):void 0}}function h(g,p,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)),p!=null){if(typeof p=="function")return l("",{"":g},[],p,f,"");if(Array.isArray(p))return c("",g,[],D9(p),f,"")}if(f.length!==0)return u("",g,[],f,"")}return d("",g,[])}return h}});var MC=v((sle,y_)=>{"use strict";var N9=ci(),{MESSAGE:U9}=on(),$9=yl();function L9(t,e){return typeof e=="bigint"?e.toString():e}y_.exports=N9((t,e)=>{let n=$9.configure(e);return t[U9]=n(t,e.replacer||L9,e.space),t})});var j_=v((ole,P_)=>{"use strict";var B9=ci();P_.exports=B9((t,e)=>e.message?(t.message=`[${e.label}] ${t.message}`,t):(t.label=e.label,t))});var O_=v((lle,S_)=>{"use strict";var F9=ci(),{MESSAGE:V9}=on(),J9=yl();S_.exports=F9(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[V9]=J9(e),t})});var M_=v((ule,T_)=>{"use strict";var Z9=ci();function K9(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 Q9(t,e,n){return t[n]=e.reduce((i,a)=>(i[a]=t[a],delete t[a],i),{}),t}T_.exports=Z9((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?K9(t,i,n):e.fillWith?Q9(t,e.fillWith,n):t})});var E_=v((Pl,k_)=>{"use strict";var Y9=ci(),X9=gv();k_.exports=Y9(t=>{let e=+new Date;return Pl.diff=e-(Pl.prevTime||e),Pl.prevTime=e,t.ms=`+${X9(Pl.diff)}`,t})});var H_=v((cle,__)=>{"use strict";var e8=require("util").inspect,n8=ci(),{LEVEL:i8,MESSAGE:q_,SPLAT:t8}=on();__.exports=n8((t,e={})=>{let n=Object.assign({},t);return delete n[i8],delete n[q_],delete n[t8],t[q_]=e8(n,!1,e.depth||null,e.colorize),t})});var R_=v((ple,kp)=>{"use strict";var{MESSAGE:a8}=on(),Mp=class{constructor(e){this.template=e}transform(e){return e[a8]=this.template(e),e}};kp.exports=t=>new Mp(t);kp.exports.Printf=kp.exports.Format=Mp});var z_=v((dle,W_)=>{"use strict";var r8=ci(),{MESSAGE:I_}=on(),s8=yl();W_.exports=r8(t=>{let e=s8(Object.assign({},t,{level:void 0,message:void 0,splat:void 0})),n=t.padding&&t.padding[t.level]||"";return e!=="{}"?t[I_]=`${t.level}:${n} ${t.message} ${e}`:t[I_]=`${t.level}:${n} ${t.message}`,t})});var N_=v((hle,G_)=>{"use strict";var o8=require("util"),{SPLAT:D_}=on(),l8=/%[scdjifoO%]/g,u8=/%%/g,kC=class{constructor(e){this.options=e}_splat(e,n){let i=e.message,a=e[D_]||e.splat||[],r=i.match(u8),s=r&&r.length||0,l=n.length-s-a.length,c=l<0?a.splice(l,-1*l):[],u=c.length;if(u)for(let d=0;d1?i.splice(0):i,s=r.length;if(s)for(let o=0;onew kC(t)});var $_=v((Ep,U_)=>{(function(t,e){typeof Ep=="object"&&typeof U_<"u"?e(Ep):typeof define=="function"&&define.amd?define(["exports"],e):e(t.fecha={})})(Ep,(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,D){for(var ke=[],ln=0,I=O.length;ln-1?I:null}};function u(O){for(var D=[],ke=1;ke3?0:(O-O%10!==10?1:0)*O%10]}},f=u({},m),w=function(O){return f=u(f,O)},b=function(O){return O.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},A=function(O,D){for(D===void 0&&(D=2),O=String(O);O.length0?"-":"+")+A(Math.floor(Math.abs(D)/60)*100+Math.abs(D)%60,4)},Z:function(O){var D=O.getTimezoneOffset();return(D>0?"-":"+")+A(Math.floor(Math.abs(D)/60),2)+":"+A(Math.abs(D)%60,2)}},S=function(O){return+O-1},q=[null,n],$=[null,s],ne=["isPm",s,function(O,D){var ke=O.toLowerCase();return ke===D.amPm[0]?0:ke===D.amPm[1]?1:null}],K=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(O){var D=(O+"").match(/([+-]|\d\d)/gi);if(D){var ke=+D[1]*60+parseInt(D[2],10);return D[0]==="+"?ke:-ke}return 0}],M={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 D=new Date,ke=+(""+D.getFullYear()).substr(0,2);return+(""+(+O>68?ke-1:ke)+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:$,dddd:$,MMM:["month",s,c("monthNamesShort")],MMMM:["month",s,c("monthNames")],a:ne,A:ne,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(O){return u(X,O)},Oe=function(O,D,ke){if(D===void 0&&(D=X.default),ke===void 0&&(ke={}),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");D=X[D]||D;var ln=[];D=D.replace(o,function(Ae,_e){return ln.push(_e),"@@@"});var I=u(u({},f),ke);return D=D.replace(e,function(Ae){return x[Ae](O,I)}),D.replace(/@@@/g,function(){return ln.shift()})};function ge(O,D,ke){if(ke===void 0&&(ke={}),typeof D!="string")throw new Error("Invalid format in fecha parse");if(D=X[D]||D,O.length>1e3)return null;var ln=new Date,I={year:ln.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},Ae=[],_e=[],_n=D.replace(o,function(J,Le){return _e.push(b(Le)),"@@@"}),Zn={},nt={};_n=b(_n).replace(e,function(J){var Le=M[J],z=Le[0],R=Le[1],le=Le[3];if(Zn[z])throw new Error("Invalid format. "+z+" specified twice in format");return Zn[z]=!0,le&&(nt[le]=!0),Ae.push(Le),"("+R+")"}),Object.keys(nt).forEach(function(J){if(!Zn[J])throw new Error("Invalid format. "+J+" is required in specified format")}),_n=_n.replace(/@@@/g,function(){return _e.shift()});var oe=O.match(new RegExp(_n,"i"));if(!oe)return null;for(var un=u(u({},f),ke),gn=1;gn11||I.month<0||I.day>31||I.day<1||I.hour>23||I.hour<0||I.minute>59||I.minute<0||I.second>59||I.second<0)return null;return bi}var qn={format:Oe,parse:ge,defaultI18n:m,setGlobalDateI18n:w,setGlobalDateMasks:Pe};t.assign=u,t.default=qn,t.format=Oe,t.parse=ge,t.defaultI18n=m,t.setGlobalDateI18n=w,t.setGlobalDateMasks=Pe,Object.defineProperty(t,"__esModule",{value:!0})}))});var B_=v((gle,L_)=>{"use strict";var c8=$_(),p8=ci();L_.exports=p8((t,e={})=>(e.format&&(t.timestamp=typeof e.format=="function"?e.format():c8.format(new Date,e.format)),t.timestamp||(t.timestamp=new Date().toISOString()),e.alias&&(t[e.alias]=t.timestamp),t))});var V_=v((mle,F_)=>{"use strict";var EC=hC(),d8=ci(),{MESSAGE:qC}=on();F_.exports=d8((t,e)=>(e.level!==!1&&(t.level=EC.strip(t.level)),e.message!==!1&&(t.message=EC.strip(String(t.message))),e.raw!==!1&&t[qC]&&(t[qC]=EC.strip(String(t[qC]))),t))});var HC=v(_C=>{"use strict";var h8=_C.format=ci();_C.levels=c_();function kn(t,e){Object.defineProperty(h8,t,{get(){return e()},configurable:!0})}kn("align",function(){return d_()});kn("errors",function(){return m_()});kn("cli",function(){return w_()});kn("combine",function(){return C_()});kn("colorize",function(){return jp()});kn("json",function(){return MC()});kn("label",function(){return j_()});kn("logstash",function(){return O_()});kn("metadata",function(){return M_()});kn("ms",function(){return E_()});kn("padLevels",function(){return xC()});kn("prettyPrint",function(){return H_()});kn("printf",function(){return R_()});kn("simple",function(){return z_()});kn("splat",function(){return N_()});kn("timestamp",function(){return B_()});kn("uncolorize",function(){return V_()})});var RC=v(qp=>{"use strict";var{format:J_}=require("util");qp.warn={deprecated(t){return()=>{throw new Error(J_("{ %s } was removed in winston@3.0.0.",t))}},useFormat(t){return()=>{throw new Error([J_("{ %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]=qp.warn[e](i)})},forProperties(t,e,n){n.forEach(i=>{let a=qp.warn[e](i);Object.defineProperty(t,i,{get:a,set:a})})}}});var Z_=v((vle,g8)=>{g8.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 Q_=v((Cle,K_)=>{K_.exports=require("util").deprecate});var IC=v((Ale,Y_)=>{Y_.exports=require("stream")});var zC=v((ble,e2)=>{"use strict";function m8(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(X_,n,r)):process.nextTick(X_,n,r):e?(process.nextTick(_p,n),e(r)):process.nextTick(_p,n)}),this)}function X_(t,e){WC(t,e),_p(t)}function _p(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function f8(){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 w8(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}e2.exports={destroy:m8,undestroy:f8,errorOrDestroy:w8}});var oa=v((xle,t2)=>{"use strict";var i2={};function Gi(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,i2[t]=a}function n2(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 v8(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function C8(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function A8(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}Gi("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);Gi("ERR_INVALID_ARG_TYPE",function(t,e,n){let i;typeof e=="string"&&v8(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";let a;if(C8(t," argument"))a=`The ${t} ${i} ${n2(e,"type")}`;else{let r=A8(t,".")?"property":"argument";a=`The "${t}" ${r} ${i} ${n2(e,"type")}`}return a+=`. Received type ${typeof n}`,a},TypeError);Gi("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Gi("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});Gi("ERR_STREAM_PREMATURE_CLOSE","Premature close");Gi("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});Gi("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Gi("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Gi("ERR_STREAM_WRITE_AFTER_END","write after end");Gi("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Gi("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);Gi("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");t2.exports.codes=i2});var DC=v((yle,a2)=>{"use strict";var b8=oa().codes.ERR_INVALID_OPT_VALUE;function x8(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function y8(t,e,n,i){var a=x8(e,i,n);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var r=i?n:"highWaterMark";throw new b8(r,a)}return Math.floor(a)}return t.objectMode?16:16*1024}a2.exports={getHighWaterMark:y8}});var r2=v((Ple,GC)=>{typeof Object.create=="function"?GC.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:GC.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 ys=v((jle,UC)=>{try{if(NC=require("util"),typeof NC.inherits!="function")throw"";UC.exports=NC.inherits}catch{UC.exports=r2()}var NC});var p2=v((Sle,c2)=>{"use strict";function s2(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 o2(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 Hp.alloc(0);for(var i=Hp.allocUnsafe(n>>>0),a=this.head,r=0;a;)E8(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=Hp.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:k8,value:function(n,i){return $C(this,o2(o2({},i),{},{depth:0,customInspect:!1}))}}]),t})()});var g2=v((LC,h2)=>{var Rp=require("buffer"),dt=Rp.Buffer;function d2(t,e){for(var n in t)e[n]=t[n]}dt.from&&dt.alloc&&dt.allocUnsafe&&dt.allocUnsafeSlow?h2.exports=Rp:(d2(Rp,LC),LC.Buffer=pr);function pr(t,e,n){return dt(t,e,n)}pr.prototype=Object.create(dt.prototype);d2(dt,pr);pr.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return dt(t,e,n)};pr.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var i=dt(t);return e!==void 0?typeof n=="string"?i.fill(e,n):i.fill(e):i.fill(0),i};pr.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return dt(t)};pr.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Rp.SlowBuffer(t)}});var VC=v(f2=>{"use strict";var FC=g2().Buffer,m2=FC.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 q8(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 _8(t){var e=q8(t);if(typeof e!="string"&&(FC.isEncoding===m2||!m2(t)))throw new Error("Unknown encoding: "+t);return e||t}f2.StringDecoder=jl;function jl(t){this.encoding=_8(t);var e;switch(this.encoding){case"utf16le":this.text=D8,this.end=G8,e=4;break;case"utf8":this.fillLast=I8,e=4;break;case"base64":this.text=N8,this.end=U8,e=3;break;default:this.write=$8,this.end=L8;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=FC.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 H8(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 R8(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 I8(t){var e=this.lastTotal-this.lastNeed,n=R8(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 W8(t,e){var n=H8(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 z8(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function D8(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 G8(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 N8(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 U8(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function $8(t){return t.toString(this.encoding)}function L8(t){return t&&t.length?this.write(t):""}});var Ip=v((Tle,C2)=>{"use strict";var w2=oa().codes.ERR_STREAM_PREMATURE_CLOSE;function B8(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 la(t,e,n){return e=J8(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function J8(t){var e=Z8(t,"string");return typeof e=="symbol"?e:String(e)}function Z8(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 K8=Ip(),ua=Symbol("lastResolve"),dr=Symbol("lastReject"),Sl=Symbol("error"),zp=Symbol("ended"),hr=Symbol("lastPromise"),JC=Symbol("handlePromise"),gr=Symbol("stream");function ca(t,e){return{value:t,done:e}}function Q8(t){var e=t[ua];if(e!==null){var n=t[gr].read();n!==null&&(t[hr]=null,t[ua]=null,t[dr]=null,e(ca(n,!1)))}}function Y8(t){process.nextTick(Q8,t)}function X8(t,e){return function(n,i){t.then(function(){if(e[zp]){n(ca(void 0,!0));return}e[JC](n,i)},i)}}var eZ=Object.getPrototypeOf(function(){}),nZ=Object.setPrototypeOf((Wp={get stream(){return this[gr]},next:function(){var e=this,n=this[Sl];if(n!==null)return Promise.reject(n);if(this[zp])return Promise.resolve(ca(void 0,!0));if(this[gr].destroyed)return new Promise(function(s,o){process.nextTick(function(){e[Sl]?o(e[Sl]):s(ca(void 0,!0))})});var i=this[hr],a;if(i)a=new Promise(X8(i,this));else{var r=this[gr].read();if(r!==null)return Promise.resolve(ca(r,!1));a=new Promise(this[JC])}return this[hr]=a,a}},la(Wp,Symbol.asyncIterator,function(){return this}),la(Wp,"return",function(){var e=this;return new Promise(function(n,i){e[gr].destroy(null,function(a){if(a){i(a);return}n(ca(void 0,!0))})})}),Wp),eZ),iZ=function(e){var n,i=Object.create(nZ,(n={},la(n,gr,{value:e,writable:!0}),la(n,ua,{value:null,writable:!0}),la(n,dr,{value:null,writable:!0}),la(n,Sl,{value:null,writable:!0}),la(n,zp,{value:e._readableState.endEmitted,writable:!0}),la(n,JC,{value:function(r,s){var o=i[gr].read();o?(i[hr]=null,i[ua]=null,i[dr]=null,r(ca(o,!1))):(i[ua]=r,i[dr]=s)},writable:!0}),n));return i[hr]=null,K8(e,function(a){if(a&&a.code!=="ERR_STREAM_PREMATURE_CLOSE"){var r=i[dr];r!==null&&(i[hr]=null,i[ua]=null,i[dr]=null,r(a)),i[Sl]=a;return}var s=i[ua];s!==null&&(i[hr]=null,i[ua]=null,i[dr]=null,s(ca(void 0,!0))),i[zp]=!0}),e.on("readable",Y8.bind(null,i)),i};A2.exports=iZ});var j2=v((kle,P2)=>{"use strict";function x2(t,e,n,i,a,r,s){try{var o=t[r](s),l=o.value}catch(c){n(c);return}o.done?e(l):Promise.resolve(l).then(i,a)}function tZ(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function s(l){x2(r,i,a,s,o,"next",l)}function o(l){x2(r,i,a,s,o,"throw",l)}s(void 0)})}}function y2(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 aZ(t){for(var e=1;e{"use strict";R2.exports=Se;var Ps;Se.ReadableState=M2;var Ele=require("events").EventEmitter,T2=function(e,n){return e.listeners(n).length},Tl=IC(),Dp=require("buffer").Buffer,cZ=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pZ(t){return Dp.from(t)}function dZ(t){return Dp.isBuffer(t)||t instanceof cZ}var ZC=require("util"),ce;ZC&&ZC.debuglog?ce=ZC.debuglog("stream"):ce=function(){};var hZ=p2(),iA=zC(),gZ=DC(),mZ=gZ.getHighWaterMark,Gp=oa().codes,fZ=Gp.ERR_INVALID_ARG_TYPE,wZ=Gp.ERR_STREAM_PUSH_AFTER_EOF,vZ=Gp.ERR_METHOD_NOT_IMPLEMENTED,CZ=Gp.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,js,KC,QC;ys()(Se,Tl);var Ol=iA.errorOrDestroy,YC=["error","close","destroy","pause","resume"];function AZ(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 M2(t,e,n){Ps=Ps||mr(),t=t||{},typeof n!="boolean"&&(n=e instanceof Ps),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=mZ(this,t,"readableHighWaterMark",n),this.buffer=new hZ,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&&(js||(js=VC().StringDecoder),this.decoder=new js(t.encoding),this.encoding=t.encoding)}function Se(t){if(Ps=Ps||mr(),!(this instanceof Se))return new Se(t);var e=this instanceof Ps;this._readableState=new M2(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Tl.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=iA.destroy;Se.prototype._undestroy=iA.undestroy;Se.prototype._destroy=function(t,e){e(t)};Se.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=Dp.from(t,e),e=""),i=!0),k2(this,t,e,!1,i)};Se.prototype.unshift=function(t){return k2(this,t,null,!0,!1)};function k2(t,e,n,i,a){ce("readableAddChunk",e);var r=t._readableState;if(e===null)r.reading=!1,yZ(t,r);else{var s;if(a||(s=bZ(r,e)),s)Ol(t,s);else if(r.objectMode||e&&e.length>0)if(typeof e!="string"&&!r.objectMode&&Object.getPrototypeOf(e)!==Dp.prototype&&(e=pZ(e)),i)r.endEmitted?Ol(t,new CZ):XC(t,r,e,!0);else if(r.ended)Ol(t,new wZ);else{if(r.destroyed)return!1;r.reading=!1,r.decoder&&!n?(e=r.decoder.write(e),r.objectMode||e.length!==0?XC(t,r,e,!1):nA(t,r)):XC(t,r,e,!1)}else i||(r.reading=!1,nA(t,r))}return!r.ended&&(r.length=S2?t=S2:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function O2(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=xZ(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,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 ce("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?eA(this):Np(this),null;if(t=O2(t,e),t===0&&e.ended)return e.length===0&&eA(this),null;var i=e.needReadable;ce("need readable",i),(e.length===0||e.length-t0?a=_2(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&&eA(this)),a!==null&&this.emit("data",a),a};function yZ(t,e){if(ce("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?Np(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,E2(t)))}}function Np(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(E2,t))}function E2(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,tA(t)}function nA(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(PZ,t,e))}function PZ(t,e){for(;!e.reading&&!e.ended&&(e.length1&&H2(i.pipes,t)!==-1)&&!c&&(ce("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(f){ce("onerror",f),m(),t.removeListener("error",h),T2(t,"error")===0&&Ol(t,f)}AZ(t,"error",h);function g(){t.removeListener("finish",p),m()}t.once("close",g);function p(){ce("onfinish"),t.removeListener("close",g),m()}t.once("finish",p);function m(){ce("unpipe"),n.unpipe(t)}return t.emit("pipe",n),i.flowing||(ce("pipe resume"),n.resume()),t};function jZ(t){return function(){var n=t._readableState;ce("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&T2(t,"data")&&(n.flowing=!0,tA(t))}}Se.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,ce("on readable",i.length,i.reading),i.length?Np(this):i.reading||process.nextTick(SZ,this)),n};Se.prototype.addListener=Se.prototype.on;Se.prototype.removeListener=function(t,e){var n=Tl.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(q2,this),n};Se.prototype.removeAllListeners=function(t){var e=Tl.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(q2,this),e};function q2(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 SZ(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,OZ(this,t)),t.paused=!1,this};function OZ(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(TZ,t,e))}function TZ(t,e){ce("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),tA(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 tA(t){var e=t._readableState;for(ce("flow",e.flowing);e.flowing&&t.read()!==null;);}Se.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;t.on("end",function(){if(ce("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(ce("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 eA(t){var e=t._readableState;ce("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(MZ,e,t))}function MZ(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 n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}typeof Symbol=="function"&&(Se.from=function(t,e){return QC===void 0&&(QC=j2()),QC(Se,t,e)});function H2(t,e){for(var n=0,i=t.length;n{"use strict";var kZ=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};W2.exports=ht;var I2=aA(),sA=Lp();ys()(ht,I2);for(rA=kZ(sA.prototype),Up=0;Up{"use strict";$2.exports=Xe;function D2(t){var e=this;this.next=null,this.entry=null,this.finish=function(){rK(e,t)}}var Ss;Xe.WritableState=kl;var _Z={deprecate:Q_()},G2=IC(),Fp=require("buffer").Buffer,HZ=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function RZ(t){return Fp.from(t)}function IZ(t){return Fp.isBuffer(t)||t instanceof HZ}var lA=zC(),WZ=DC(),zZ=WZ.getHighWaterMark,pa=oa().codes,DZ=pa.ERR_INVALID_ARG_TYPE,GZ=pa.ERR_METHOD_NOT_IMPLEMENTED,NZ=pa.ERR_MULTIPLE_CALLBACK,UZ=pa.ERR_STREAM_CANNOT_PIPE,$Z=pa.ERR_STREAM_DESTROYED,LZ=pa.ERR_STREAM_NULL_VALUES,BZ=pa.ERR_STREAM_WRITE_AFTER_END,FZ=pa.ERR_UNKNOWN_ENCODING,Os=lA.errorOrDestroy;ys()(Xe,G2);function VZ(){}function kl(t,e,n){Ss=Ss||mr(),t=t||{},typeof n!="boolean"&&(n=e instanceof Ss),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=zZ(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){eK(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 D2(this)}kl.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(kl.prototype,"buffer",{get:_Z.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Bp;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Bp=Function.prototype[Symbol.hasInstance],Object.defineProperty(Xe,Symbol.hasInstance,{value:function(e){return Bp.call(this,e)?!0:this!==Xe?!1:e&&e._writableState instanceof kl}})):Bp=function(e){return e instanceof this};function Xe(t){Ss=Ss||mr();var e=this instanceof Ss;if(!e&&!Bp.call(Xe,this))return new Xe(t);this._writableState=new kl(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)),G2.call(this)}Xe.prototype.pipe=function(){Os(this,new UZ)};function JZ(t,e){var n=new BZ;Os(t,n),process.nextTick(e,n)}function ZZ(t,e,n,i){var a;return n===null?a=new LZ:typeof n!="string"&&!e.objectMode&&(a=new DZ("chunk",["string","Buffer"],n)),a?(Os(t,a),process.nextTick(i,a),!1):!0}Xe.prototype.write=function(t,e,n){var i=this._writableState,a=!1,r=!i.objectMode&&IZ(t);return r&&!Fp.isBuffer(t)&&(t=RZ(t)),typeof e=="function"&&(n=e,e=null),r?e="buffer":e||(e=i.defaultEncoding),typeof n!="function"&&(n=VZ),i.ending?JZ(this,n):(r||ZZ(this,i,t,n))&&(i.pendingcb++,a=QZ(this,i,r,t,e,n)),a};Xe.prototype.cork=function(){this._writableState.corked++};Xe.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&N2(this,t))};Xe.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 FZ(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(Xe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function KZ(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=Fp.from(e,n)),e}Object.defineProperty(Xe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function QZ(t,e,n,i,a,r){if(!n){var s=KZ(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 sK=require("util"),L2=Lp(),{LEVEL:B2}=on(),El=F2.exports=function(e={}){L2.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())})};sK.inherits(El,L2);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[B2]]){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[B2]])&&(this.handleExceptions||n.exception!==!0))};El.prototype._nop=function(){}});var pA=v((Ile,J2)=>{"use strict";var oK=require("util"),{LEVEL:cA}=on(),V2=uA(),ql=J2.exports=function(e={}){if(V2.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))};oK.inherits(ql,V2);ql.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[cA]])&&this.transport.log(e[cA],e.message,e,this._nop),i(null)};ql.prototype._writev=function(e,n){for(let i=0;i{"use strict";dA.exports=uA();dA.exports.LegacyTransportStream=pA()});var Q2=v((Dle,K2)=>{"use strict";var lK=require("os"),{LEVEL:Z2,MESSAGE:Ms}=on(),uK=Ts();K2.exports=class extends uK{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:lK.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[Z2]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[Ms]}${this.eol}`):this._consoleError(e[Ms]),n&&n();return}else if(this.consoleWarnLevels[e[Z2]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[Ms]}${this.eol}`):this._consoleWarn(e[Ms]),n&&n();return}console._stdout&&!this.forceConsole?console._stdout.write(`${e[Ms]}${this.eol}`):this._consoleLog(e[Ms]),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 Jp=v((Vp,Y2)=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=cK;function cK(t){return t&&typeof t.length=="number"&&t.length>=0&&t.length%1===0}Y2.exports=Vp.default});var eH=v((Zp,X2)=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.default=function(t){return function(...e){var n=e.pop();return t.call(this,e,n)}};X2.exports=Zp.default});var tH=v(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.fallback=nH;da.wrap=iH;var pK=da.hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,dK=da.hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hK=da.hasNextTick=typeof process=="object"&&typeof process.nextTick=="function";function nH(t){setTimeout(t,0)}function iH(t){return(e,...n)=>t(()=>e(...n))}var _l;pK?_l=queueMicrotask:dK?_l=setImmediate:hK?_l=process.nextTick:_l=nH;da.default=iH(_l)});var lH=v((Kp,oH)=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=CK;var gK=eH(),mK=sH(gK),fK=tH(),wK=sH(fK),vK=fr();function sH(t){return t&&t.__esModule?t:{default:t}}function CK(t){return(0,vK.isAsync)(t)?function(...e){let n=e.pop(),i=t.apply(this,e);return aH(i,n)}:(0,mK.default)(function(e,n){var i;try{i=t.apply(this,e)}catch(a){return n(a)}if(i&&typeof i.then=="function")return aH(i,n);n(null,i)})}function aH(t,e){return t.then(n=>{rH(e,null,n)},n=>{rH(e,n&&(n instanceof Error||n.message)?n:new Error(n))})}function rH(t,e,n){try{t(e,n)}catch(i){(0,wK.default)(a=>{throw a},i)}}oH.exports=Kp.default});var fr=v(qt=>{"use strict";Object.defineProperty(qt,"__esModule",{value:!0});qt.isAsyncIterable=qt.isAsyncGenerator=qt.isAsync=void 0;var AK=lH(),bK=xK(AK);function xK(t){return t&&t.__esModule?t:{default:t}}function uH(t){return t[Symbol.toStringTag]==="AsyncFunction"}function yK(t){return t[Symbol.toStringTag]==="AsyncGenerator"}function PK(t){return typeof t[Symbol.asyncIterator]=="function"}function jK(t){if(typeof t!="function")throw new Error("expected a function");return uH(t)?(0,bK.default)(t):t}qt.default=jK;qt.isAsync=uH;qt.isAsyncGenerator=yK;qt.isAsyncIterable=PK});var ks=v((Qp,cH)=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.default=SK;function SK(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}cH.exports=Qp.default});var dH=v((Yp,pH)=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});var OK=Jp(),TK=hA(OK),MK=fr(),kK=hA(MK),EK=ks(),qK=hA(EK);function hA(t){return t&&t.__esModule?t:{default:t}}Yp.default=(0,qK.default)((t,e,n)=>{var i=(0,TK.default)(e)?[]:{};t(e,(a,r,s)=>{(0,kK.default)(a)((o,...l)=>{l.length<2&&([l]=l),i[r]=l,s(o)})},a=>n(a,i))},3);pH.exports=Yp.default});var gA=v((Xp,hH)=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.default=_K;function _K(t){function e(...n){if(t!==null){var i=t;t=null,i.apply(this,n)}}return Object.assign(e,t),e}hH.exports=Xp.default});var mH=v((ed,gH)=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.default=function(t){return t[Symbol.iterator]&&t[Symbol.iterator]()};gH.exports=ed.default});var vH=v((nd,wH)=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.default=NK;var HK=Jp(),RK=fH(HK),IK=mH(),WK=fH(IK);function fH(t){return t&&t.__esModule?t:{default:t}}function zK(t){var e=-1,n=t.length;return function(){return++e{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.default=UK;function UK(t){return function(...e){if(t===null)throw new Error("Callback was already called.");var n=t;t=null,n.apply(this,e)}}CH.exports=id.default});var ad=v((td,AH)=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});var $K={};td.default=$K;AH.exports=td.default});var xH=v((rd,bH)=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});rd.default=VK;var LK=ad(),BK=FK(LK);function FK(t){return t&&t.__esModule?t:{default:t}}function VK(t,e,n,i){let a=!1,r=!1,s=!1,o=0,l=0;function c(){o>=e||s||a||(s=!0,t.next().then(({value:h,done:g})=>{if(!(r||a)){if(s=!1,g){a=!0,o<=0&&i(null);return}o++,n(h,l,u),l++,c()}}).catch(d))}function u(h,g){if(o-=1,!r){if(h)return d(h);if(h===!1){a=!0,r=!0;return}if(g===BK.default||a&&o<=0)return a=!0,i(null);c()}}function d(h){r||(s=!1,a=!0,i(h))}c()}bH.exports=rd.default});var SH=v((sd,jH)=>{"use strict";Object.defineProperty(sd,"__esModule",{value:!0});var JK=gA(),ZK=Hl(JK),KK=vH(),QK=Hl(KK),YK=mA(),XK=Hl(YK),yH=fr(),e7=xH(),PH=Hl(e7),n7=ad(),i7=Hl(n7);function Hl(t){return t&&t.__esModule?t:{default:t}}sd.default=t=>(e,n,i)=>{if(i=(0,ZK.default)(i),t<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!e)return i(null);if((0,yH.isAsyncGenerator)(e))return(0,PH.default)(e,t,n,i);if((0,yH.isAsyncIterable)(e))return(0,PH.default)(e[Symbol.asyncIterator](),t,n,i);var a=(0,QK.default)(e),r=!1,s=!1,o=0,l=!1;function c(d,h){if(!s)if(o-=1,d)r=!0,i(d);else if(d===!1)r=!0,s=!0;else{if(h===i7.default||r&&o<=0)return r=!0,i(null);l||u()}}function u(){for(l=!0;o{"use strict";Object.defineProperty(od,"__esModule",{value:!0});var t7=SH(),a7=fA(t7),r7=fr(),s7=fA(r7),o7=ks(),l7=fA(o7);function fA(t){return t&&t.__esModule?t:{default:t}}function u7(t,e,n,i){return(0,a7.default)(e)(t,(0,s7.default)(n),i)}od.default=(0,l7.default)(u7,4);OH.exports=od.default});var kH=v((ld,MH)=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});var c7=wA(),p7=TH(c7),d7=ks(),h7=TH(d7);function TH(t){return t&&t.__esModule?t:{default:t}}function g7(t,e,n){return(0,p7.default)(t,1,e,n)}ld.default=(0,h7.default)(g7,3);MH.exports=ld.default});var _H=v((ud,qH)=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.default=C7;var m7=dH(),f7=EH(m7),w7=kH(),v7=EH(w7);function EH(t){return t&&t.__esModule?t:{default:t}}function C7(t,e){return(0,f7.default)(v7.default,t,e)}qH.exports=ud.default});var vA=v((Ule,RH)=>{"use strict";RH.exports=_t;var cd=oa().codes,A7=cd.ERR_METHOD_NOT_IMPLEMENTED,b7=cd.ERR_MULTIPLE_CALLBACK,x7=cd.ERR_TRANSFORM_ALREADY_TRANSFORMING,y7=cd.ERR_TRANSFORM_WITH_LENGTH_0,pd=mr();ys()(_t,pd);function P7(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(i===null)return this.emit("error",new b7);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";WH.exports=Rl;var IH=vA();ys()(Rl,IH);function Rl(t){if(!(this instanceof Rl))return new Rl(t);IH.call(this,t)}Rl.prototype._transform=function(t,e,n){n(null,t)}});var $H=v((Lle,UH)=>{"use strict";var CA;function S7(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var NH=oa().codes,O7=NH.ERR_MISSING_ARGS,T7=NH.ERR_STREAM_DESTROYED;function DH(t){if(t)throw t}function M7(t){return t.setHeader&&typeof t.abort=="function"}function k7(t,e,n,i){i=S7(i);var a=!1;t.on("close",function(){a=!0}),CA===void 0&&(CA=Ip()),CA(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,M7(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();i(s||new T7("pipe"))}}}function GH(t){t()}function E7(t,e){return t.pipe(e)}function q7(t){return!t.length||typeof t[t.length-1]!="function"?DH:t.pop()}function _7(){for(var t=arguments.length,e=new Array(t),n=0;n0;return k7(s,l,c,function(u){a||(a=u),u&&r.forEach(GH),!l&&(r.forEach(GH),i(a))})});return e.reduce(E7)}UH.exports=_7});var wr=v((Ni,Wl)=>{var Il=require("stream");process.env.READABLE_STREAM==="disable"&&Il?(Wl.exports=Il.Readable,Object.assign(Wl.exports,Il),Wl.exports.Stream=Il):(Ni=Wl.exports=aA(),Ni.Stream=Il||Ni,Ni.Readable=Ni,Ni.Writable=Lp(),Ni.Duplex=mr(),Ni.Transform=vA(),Ni.PassThrough=zH(),Ni.finished=Ip(),Ni.pipeline=$H())});var SA=v((Ble,BH)=>{var Es=[],zl=[],AA=function(){};function xA(t){return~Es.indexOf(t)?!1:(Es.push(t),!0)}function yA(t){AA=t}function H7(t){for(var e=[],n=0;n{var W7=SA(),z7=W7(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)});FH.exports=z7});var XH=v((Vle,YH)=>{"use strict";var gt={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 gt)Object.hasOwn(gt,t)&&(ZH[gt[t]]=t);var hn={to:{},get:{}};hn.get=function(t){let e=t.slice(0,3).toLowerCase(),n,i;switch(e){case"hsl":{n=hn.get.hsl(t),i="hsl";break}case"hwb":{n=hn.get.hwb(t),i="hwb";break}default:{n=hn.get.rgb(t),i="rgb";break}}return n?{model:i,value:n}:null};hn.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,c;if(o=t.match(n)){for(c=o[2],o=o[1],l=0;l<3;l++){let u=l*2;s[l]=Number.parseInt(o.slice(u,u+2),16)}c&&(s[3]=Number.parseInt(c,16)/255)}else if(o=t.match(e)){for(o=o[1],c=o[3],l=0;l<3;l++)s[l]=Number.parseInt(o[l]+o[l],16);c&&(s[3]=Number.parseInt(c+c,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(gt,o[1])?(s=gt[o[1]],s[3]=1,s):null:null;for(l=0;l<3;l++)s[l]=ha(s[l],0,255);return s[3]=ha(s[3],0,1),s};hn.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=ha(Number.parseFloat(n[2]),0,100),s=ha(Number.parseFloat(n[3]),0,100),o=ha(Number.isNaN(i)?1:i,0,1);return[a,r,s,o]}return null};hn.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=ha(Number.parseFloat(n[2]),0,100),s=ha(Number.parseFloat(n[3]),0,100),o=ha(Number.isNaN(i)?1:i,0,1);return[a,r,s,o]}return null};hn.to.hex=function(...t){return"#"+dd(t[0])+dd(t[1])+dd(t[2])+(t[3]<1?dd(Math.round(t[3]*255)):"")};hn.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]+")"};hn.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]+")"};hn.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]+")"};hn.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};hn.to.keyword=function(...t){return ZH[t.slice(0,3)]};function ha(t,e,n){return Math.min(Math.max(e,t),n)}function dd(t){let e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var KH={};for(let t of Object.keys(gt))KH[gt[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"]}},Ht=(6/29)**3;function qs(t){let e=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,e),1)}function _s(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:n}=H[t];delete H[t].channels,delete H[t].labels,Object.defineProperty(H[t],"channels",{value:e}),Object.defineProperty(H[t],"labels",{value:n})}H.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 c=(a+r)/2;return r===a?l=0:c<=.5?l=s/(r+a):l=s/(2-r-a),[o,l*100,c*100]};H.rgb.hsv=function(t){let e,n,i,a,r,s=t[0]/255,o=t[1]/255,l=t[2]/255,c=Math.max(s,o,l),u=c-Math.min(s,o,l),d=function(h){return(c-h)/6/u+1/2};if(u===0)a=0,r=0;else{switch(r=u/c,e=d(s),n=d(o),i=d(l),c){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,c*100]};H.rgb.hwb=function(t){let e=t[0],n=t[1],i=t[2],a=H.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]};H.rgb.oklab=function(t){let e=_s(t[0]/255),n=_s(t[1]/255),i=_s(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,c=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,c*100]};H.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 D7(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=KH[t];if(e)return e;let n=Number.POSITIVE_INFINITY,i;for(let a of Object.keys(gt)){let r=gt[a],s=D7(t,r);sHt?n**(1/3):7.787*n+16/116,i=i>Ht?i**(1/3):7.787*i+16/116,a=a>Ht?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]};H.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 c=0;c<3;c++)a=e+1/3*-(c-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[c]=r*255;return l};H.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]};H.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]}};H.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]};H.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),c,u,d;switch(s){default:case 6:case 0:{c=o,u=l,d=n;break}case 1:{c=l,u=o,d=n;break}case 2:{c=n,u=o,d=l;break}case 3:{c=n,u=l,d=o;break}case 4:{c=l,u=n,d=o;break}case 5:{c=o,u=n,d=l;break}}return[c*255,u*255,d*255]};H.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]};H.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=qs(a),r=qs(r),s=qs(s),[a*255,r*255,s*255]};H.xyz.lab=function(t){let e=t[0],n=t[1],i=t[2];e/=95.047,n/=100,i/=108.883,e=e>Ht?e**(1/3):7.787*e+16/116,n=n>Ht?n**(1/3):7.787*n+16/116,i=i>Ht?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]};H.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,c=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,c*100]};H.oklab.oklch=function(t){return H.lab.lch(t)};H.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,c=-.076381285*a-.421481978*r+1.58616322*s;return[o*100,l*100,c*100]};H.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=qs(4.0767416621*a-3.3077115913*r+.2309699292*s),l=qs(-1.2684380046*a+2.6097574011*r-.3413193965*s),c=qs(-.0041960863*a-.7034186147*r+1.707614701*s);return[o*255,l*255,c*255]};H.oklch.oklab=function(t){return H.lch.lab(t)};H.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,c=s**3;return r=o>Ht?o:(r-16/116)/7.787,a=l>Ht?l:(a-16/116)/7.787,s=c>Ht?c:(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],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]};H.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]};H.rgb.ansi16=function(t,e=null){let[n,i,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(i/255)<<1|Math.round(n/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],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)};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 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]};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,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]};H.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};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 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]};H.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]};H.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]};H.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]};H.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]};H.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]};H.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]};H.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]};H.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]};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,i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".slice(i.length)+i};H.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function G7(){let t={},e=Object.keys(H);for(let{length:n}=e,i=0;i0;){let i=n.pop(),a=Object.keys(H[i]);for(let{length:r}=a,s=0;s1&&(n=i),t(n))};return"conversion"in t&&(e.conversion=t.conversion),e}function V7(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=bn[this.model].channels;let a=Array.prototype.slice.call(t,0,i);this.color=MA(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 OA))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=OA[r];let{labels:s}=bn[this.model],o=[];for(n=0;n(t%360+360)%360),saturationl:en("hsl",1,pn(100)),lightness:en("hsl",2,pn(100)),saturationv:en("hsv",1,pn(100)),value:en("hsv",2,pn(100)),chroma:en("hcg",1,pn(100)),gray:en("hcg",2,pn(100)),white:en("hwb",1,pn(100)),wblack:en("hwb",2,pn(100)),cyan:en("cmyk",0,pn(100)),magenta:en("cmyk",1,pn(100)),yellow:en("cmyk",2,pn(100)),black:en("cmyk",3,pn(100)),x:en("xyz",0,pn(95.047)),y:en("xyz",1,pn(100)),z:en("xyz",2,pn(108.833)),l:en("lab",0,pn(100)),a:en("lab",1),b:en("lab",2),keyword(t){return t!==void 0?new dn(t):bn[this.model].keyword(this.color)},hex(t){return t!==void 0?new dn(t):hn.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new dn(t);let e=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),hn.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 dn.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 dn.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(bn)){if(QH.includes(t))continue;let{channels:e}=bn[t];dn.prototype[t]=function(...n){return this.model===t?new dn(this):n.length>0?new dn(n,t):new dn([...K7(bn[this.model][t].raw(this.color)),this.valpha],t)},dn[t]=function(...n){let i=n[0];return typeof i=="number"&&(i=MA(n,e)),new dn(i,t)}}function J7(t,e){return Number(t.toFixed(e))}function Z7(t){return function(e){return J7(e,t)}}function en(t,e,n){t=Array.isArray(t)?t:[t];for(let i of t)(TA[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 pn(t){return function(e){return Math.max(0,Math.min(t,e))}}function K7(t){return Array.isArray(t)?t:[t]}function MA(t,e){for(let n=0;n{"use strict";function Xi(t,e){if(e)return new Xi(t).style(e);if(!(this instanceof Xi))return new Xi(t);this.text=t}Xi.prototype.prefix="\x1B[";Xi.prototype.suffix="m";Xi.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)]};Xi.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)};Xi.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};Xi.prototype.reset=function(){return this.prefix+"39;49"+this.suffix};Xi.prototype.style=function(e){return this.prefix+"38;5;"+this.rgb.apply(this,this.hex(e))+this.suffix+this.text+this.reset()};eR.exports=Xi});var tR=v((Zle,iR)=>{var eQ=XH(),nQ=nR();iR.exports=function(e,n){var i=n.namespace,a=n.colors!==!1?nQ(i+":",eQ(i)):i+":";return e[0]=a+" "+e[0],e}});var rR=v((Kle,aR)=>{"use strict";aR.exports=function(e,n){if(!n)return!1;for(var i=n.split(/[\s,]+/),a=0;a{var iQ=rR();sR.exports=function(e){return function(i){try{return iQ(i,e())}catch{}return!1}}});var uR=v((Yle,lR)=>{var tQ=oR();lR.exports=tQ(function(){return process.env.DEBUG||process.env.DIAGNOSTICS})});var pR=v((Xle,cR)=>{cR.exports=function(t,e){try{Function.prototype.apply.call(console.log,console,e)}catch{}}});var hR=v((eue,dR)=>{var aQ=SA(),rQ=require("tty").isatty(1),hd=aQ(function t(e,n){return n=n||{},n.colors="colors"in n?n.colors:rQ,n.namespace=e,n.prod=!1,n.dev=!0,!t.enabled(e)&&!(n.force||t.force)?t.nope(n):t.yep(n)});hd.modify(tR());hd.use(uR());hd.set(pR());dR.exports=hd});var Dl=v((nue,kA)=>{process.env.NODE_ENV==="production"?kA.exports=VH():kA.exports=hR()});var mR=v((iue,gR)=>{"use strict";var EA=require("fs"),{StringDecoder:sQ}=require("string_decoder"),{Stream:oQ}=wr();function lQ(){}gR.exports=(t,e)=>{let n=Buffer.alloc(65536),i=new sQ("utf8"),a=new oQ,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")},EA.open(t.file,"a+","0644",(l,c)=>{if(l){e?e(l):a.emit("error",l),a.destroy();return}(function u(){if(a.destroyed){EA.close(c,lQ);return}return EA.read(c,n,0,n.length,s,(d,h)=>{if(d){e?e(d):a.emit("error",d),a.destroy();return}if(!h)return r&&((t.start==null||o>t.start)&&(e?e(null,r):a.emit("line",r)),o++,r=""),setTimeout(u,1e3);let g=i.write(n.slice(0,h));e||a.emit("data",g),g=(r+g).split(/\n+/);let p=g.length-1,m=0;for(;mt.start)&&(e?e(null,g[m]):a.emit("line",g[m])),o++;return r=g[p],s+=h,u()})})()}),e?a.destroy:a}});var CR=v((aue,vR)=>{"use strict";var pi=require("fs"),xn=require("path"),fR=_H(),uQ=require("zlib"),{MESSAGE:cQ}=on(),{Stream:pQ,PassThrough:wR}=wr(),dQ=Ts(),et=Dl()("winston:file"),hQ=require("os"),gQ=mR();vR.exports=class extends dQ{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 wR,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?xn.basename(e.filename):"winston.log",this.dirname=e.dirname||xn.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=xn.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:hQ.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[cQ]}${this.eol}`,a=Buffer.byteLength(i);function r(){if(this._size+=a,this._pendingSize-=a,et("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()})),et("written",s,this._drain),this.finishIfEnding(),s}query(e,n){typeof e=="function"&&(n=e,e={}),e=d(e);let i=xn.join(this.dirname,this.filename),a="",r=[],s=0,o=pi.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 g=h.length-1,p=0;for(;p=e.start)&&l(h[p]),s++;a=h[g]}),o.on("close",()=>{a&&l(a,!0),e.order==="desc"&&(r=r.reverse()),n&&n(null,r)});function l(h,g){try{let p=JSON.parse(h);u(p)&&c(p)}catch(p){g||o.emit("error",p)}}function c(h){if(e.rows&&r.length>=e.rows&&e.order!=="desc"){o.readable&&o.destroy();return}e.fields&&(h=e.fields.reduce((g,p)=>(g[p]=h[p],g),{})),e.order==="desc"&&r.length>=e.rows&&r.shift(),r.push(h)}function u(h){if(!h||typeof h!="object")return;let g=new Date(h.timestamp);if(!(e.from&&ge.until||e.level&&e.level!==h.level))return!0}function d(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=xn.join(this.dirname,this.filename),i=new pQ,a={file:n,start:e.start};return i.destroy=gQ(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);et("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=xn.join(this.dirname,n);pi.stat(i,(a,r)=>{if(a&&a.code==="ENOENT")return et("ENOENT\xA0ok",i),this.filename=n,e(null,0);if(a)return et(`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=xn.join(this.dirname,this.filename);et("create stream start",n,this.options);let i=pi.createWriteStream(n,this.options).on("error",a=>et(a)).on("close",()=>et("close",i.path,i.bytesWritten)).on("open",()=>{et("file open ok",n),this.emit("open",n),e.pipe(i),this.rotatedWhileOpening&&(this._stream=new wR,this._stream.setMaxListeners(30),this._rotateFile(),this.rotatedWhileOpening=!1,this._cleanupStream(i),e.end())});return et("create stream ok",n),i}_incFile(e){et("_incFile",this.filename);let n=xn.extname(this._basename),i=xn.basename(this._basename,n),a=[];this.zippedArchive&&a.push(function(r){let s=this._created>0&&!this.tailable?this._created:"";this._compressFile(xn.join(this.dirname,`${i}${s}${n}`),xn.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)),fR(a,e)}_getFile(){let e=xn.extname(this._basename),n=xn.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 c=`${n}${o-1}${e}${r}`,u=xn.join(this.dirname,c);pi.exists(u,d=>{if(!d)return l(null);c=`${n}${o}${e}${r}`,pi.rename(u,xn.join(this.dirname,c),l)})}.bind(this,s));fR(a,()=>{pi.rename(xn.join(this.dirname,`${n}${e}${r}`),xn.join(this.dirname,`${n}1${e}${r}`),i)})}_compressFile(e,n,i){pi.access(e,pi.F_OK,a=>{if(a)return i();var r=uQ.createGzip(),s=pi.createReadStream(e),o=pi.createWriteStream(n);o.on("finish",()=>{pi.unlink(e,i)}),s.pipe(r).pipe(o)})}_createLogDirIfNotExist(e){pi.existsSync(e)||pi.mkdirSync(e,{recursive:!0})}}});var bR=v((sue,AR)=>{"use strict";var mQ=require("http"),fQ=require("https"),{Stream:wQ}=wr(),vQ=Ts(),{configure:CQ}=yl();AR.exports=class extends vQ{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 wQ;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,c=0;for(;cn.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?fQ:mQ).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=CQ({...this.maximumDepth&&{maximumDepth:this.maximumDepth}});s.end(Buffer.from(o(e,this.options.replacer),"utf8"))}}});var qA=v((oue,xR)=>{"use strict";var mt=t=>t!==null&&typeof t=="object"&&typeof t.pipe=="function";mt.writable=t=>mt(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object";mt.readable=t=>mt(t)&&t.readable!==!1&&typeof t._read=="function"&&typeof t._readableState=="object";mt.duplex=t=>mt.writable(t)&&mt.readable(t);mt.transform=t=>mt.duplex(t)&&typeof t._transform=="function";xR.exports=mt});var PR=v((uue,yR)=>{"use strict";var AQ=qA(),{MESSAGE:bQ}=on(),xQ=require("os"),yQ=Ts();yR.exports=class extends yQ{constructor(e={}){if(super(e),!e.stream||!AQ(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:xQ.EOL}log(e,n){if(setImmediate(()=>this.emit("logged",e)),this.isObjectMode){this._stream.write(e),n&&n();return}this._stream.write(`${e[bQ]}${this.eol}`),n&&n()}}});var jR=v(Gl=>{"use strict";Object.defineProperty(Gl,"Console",{configurable:!0,enumerable:!0,get(){return Q2()}});Object.defineProperty(Gl,"File",{configurable:!0,enumerable:!0,get(){return CR()}});Object.defineProperty(Gl,"Http",{configurable:!0,enumerable:!0,get(){return bR()}});Object.defineProperty(Gl,"Stream",{configurable:!0,enumerable:!0,get(){return PR()}})});var md=v(Nl=>{"use strict";var gd=HC(),{configs:_A}=on();Nl.cli=gd.levels(_A.cli);Nl.npm=gd.levels(_A.npm);Nl.syslog=gd.levels(_A.syslog);Nl.addColors=gd.levels});var OR=v((fd,SR)=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});var PQ=Jp(),jQ=vr(PQ),SQ=ad(),OQ=vr(SQ),TQ=wA(),MQ=vr(TQ),kQ=gA(),EQ=vr(kQ),qQ=mA(),_Q=vr(qQ),HQ=fr(),RQ=vr(HQ),IQ=ks(),WQ=vr(IQ);function vr(t){return t&&t.__esModule?t:{default:t}}function zQ(t,e,n){n=(0,EQ.default)(n);var i=0,a=0,{length:r}=t,s=!1;r===0&&n(null);function o(l,c){l===!1&&(s=!0),s!==!0&&(l?n(l):(++a===r||c===OQ.default)&&n(null))}for(;i{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.default=NQ;function NQ(t){return(e,n,i)=>t(e,i)}TR.exports=wd.default});var Ad=v((Cd,kR)=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});var UQ=OR(),$Q=vd(UQ),LQ=MR(),BQ=vd(LQ),FQ=fr(),VQ=vd(FQ),JQ=ks(),ZQ=vd(JQ);function vd(t){return t&&t.__esModule?t:{default:t}}function KQ(t,e,n){return(0,$Q.default)(t,(0,BQ.default)((0,VQ.default)(e)),n)}Cd.default=(0,ZQ.default)(KQ,3);kR.exports=Cd.default});var qR=v((due,ER)=>{"use strict";var QQ=Object.prototype.toString;ER.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=QQ.call(e).slice(8,-1);return i==="Function"?n=n.substring(n.indexOf("(")+1,n.indexOf(")")):n=i,n||"anonymous"}});var HA=v((hue,_R)=>{"use strict";var YQ=qR();_R.exports=function(e){var n=0,i;function a(){return n||(n=1,i=e.apply(this,arguments),e=null),i}return a.displayName=YQ(e),a}});var RA=v($l=>{$l.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||$l.get);var a=n.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=e,a};$l.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,c=null,u=a[5]==="native";if(a[1]){o=a[1];var d=o.lastIndexOf(".");if(o[d-1]=="."&&d--,d>0){r=o.substr(0,d),s=o.substr(d+1);var h=r.indexOf(".Module");h>0&&(o=o.substr(h+1),r=r.substr(0,h))}l=null}s&&(l=r,c=s),s===""&&(c=null,o=null);var g={fileName:a[2]||null,lineNumber:parseInt(a[3],10)||null,functionName:o,typeName:l,methodName:c,columnNumber:parseInt(a[4],10)||null,native:u};return e._createParsedCallSite(g)}}).filter(function(i){return!!i})};function Ul(t){for(var e in t)this[e]=t[e]}var XQ=["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"],eY=["topLevel","eval","native","constructor"];XQ.forEach(function(t){Ul.prototype[t]=null,Ul.prototype["get"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});eY.forEach(function(t){Ul.prototype[t]=!1,Ul.prototype["is"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});$l._createParsedCallSite=function(t){return new Ul(t)}});var RR=v((fue,HR)=>{"use strict";var{Writable:nY}=wr();HR.exports=class extends nY{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((vue,zR)=>{"use strict";var IR=require("os"),iY=Ad(),IA=Dl()("winston:exception"),tY=HA(),WR=RA(),aY=RR();zR.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:IR.loadavg(),uptime:IR.uptime()}}getTrace(e){return(e?WR.parse(e):WR.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 aY(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(){IA("doExit",a),IA("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!i||i.length===0)return process.nextTick(s);iY(i,(o,l)=>{let c=tY(l),u=o.transport||o;function d(h){return()=>{IA(h),c()}}u._ending=!0,u.once("finish",d("finished")),u.once("error",d("error"))},()=>a&&s()),this.logger.log(n),a&&(r=setTimeout(s,3e3))}_getExceptionHandlers(){return this.logger.transports.filter(e=>(e.transport||e).handleExceptions)}}});var GR=v((Aue,DR)=>{"use strict";var{Writable:rY}=wr();DR.exports=class extends rY{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 DA=v((xue,$R)=>{"use strict";var NR=require("os"),sY=Ad(),zA=Dl()("winston:rejection"),oY=HA(),UR=RA(),lY=GR();$R.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:NR.loadavg(),uptime:NR.uptime()}}getTrace(e){return(e?UR.parse(e):UR.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 lY(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(){zA("doExit",a),zA("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!i||i.length===0)return process.nextTick(s);sY(i,(o,l)=>{let c=oY(l),u=o.transport||o;function d(h){return()=>{zA(h),c()}}u._ending=!0,u.once("finish",d("finished")),u.once("error",d("error"))},()=>a&&s()),this.logger.log(n),a&&(r=setTimeout(s,3e3))}_getRejectionHandlers(){return this.logger.transports.filter(e=>(e.transport||e).handleRejections)}}});var BR=v((yue,LR)=>{"use strict";var GA=class{constructor(e){let n=bd();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)}};LR.exports=GA});var bd=v((Pue,ZR)=>{"use strict";var{Stream:uY,Transform:cY}=wr(),FR=Ad(),{LEVEL:ft,SPLAT:VR}=on(),JR=qA(),pY=WA(),dY=DA(),hY=pA(),gY=BR(),{warn:mY}=RC(),fY=md(),wY=/%[scdjifoO%]/g,xd=class extends cY{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:c,formatters:u,padLevels:d,rewriters:h,stripColors:g,exceptionHandlers:p,rejectionHandlers:m}={}){if(this.transports.length&&this.clear(),this.silent=e,this.format=n||this.format||MC()(),this.defaultMeta=i||null,this.levels=a||this.levels||fY.npm.levels,this.level=r,this.exceptions&&this.exceptions.unhandle(),this.rejections&&this.rejections.unhandle(),this.exceptions=new pY(this),this.rejections=new dY(this),this.profilers={},this.exitOnError=s,o&&(o=Array.isArray(o)?o:[o],o.forEach(f=>this.add(f))),l||c||u||d||h||g)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(` -`));p&&this.exceptions.handle(p),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[ft]=e.level,this._addDefaultMeta(e),this.write(e),this;if(arguments.length===2)return n&&typeof n=="object"?(n[ft]=n.level=e,this._addDefaultMeta(n),this.write(n),this):(n={[ft]: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(wY))){let s=Object.assign({},this.defaultMeta,a,{[ft]:e,[VR]: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,{[ft]:e,[VR]:i,level:e,message:n})),this}_transform(e,n,i){if(this.silent)return i();e[ft]||(e[ft]=e.level),!this.levels[e[ft]]&&this.levels[e[ft]]!==0&&console.error("[winston] Unknown logger level: %s",e[ft]),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();FR(n,(i,a)=>{if(!i||i.finished)return setImmediate(a);i.once("finish",a),i.end()},e)}add(e){let n=!JR(e)||e.log.length>2?new hY({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(!JR(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(){mY.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,(c,u)=>{if(c)return l(c);typeof o.formatResults=="function"&&(u=o.formatResults(u,e.format)),l(null,u)})}function s(o,l){r(o,(c,u)=>{l&&(u=c||u,u&&(i[o.name]=u),l()),l=null})}FR(this.transports.filter(o=>!!o.query),s,()=>n(null,i))}stream(e={}){let n=new uY,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 gY(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(xd.prototype,"transports",{configurable:!1,enumerable:!0,get(){let{pipes:t}=this._readableState;return Array.isArray(t)?t:[t].filter(Boolean)}});ZR.exports=xd});var NA=v((jue,KR)=>{"use strict";var{LEVEL:vY}=on(),CY=md(),AY=bd(),bY=Dl()("winston:create-logger");function xY(t){return"is"+t.charAt(0).toUpperCase()+t.slice(1)+"Enabled"}KR.exports=function(t={}){t.levels=t.levels||CY.npm.levels;class e extends AY{constructor(a){super(a)}}let n=new e(t);return Object.keys(t.levels).forEach(function(i){if(bY('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[vY]=i,r._addDefaultMeta(o),r.write(o),this||n}return a.length===0?(r.log(i,""),r):r.log(i,...a)},e.prototype[xY(i)]=function(){return(this||n).isLevelEnabled(i)}}),n}});var YR=v((Oue,QR)=>{"use strict";var yY=NA();QR.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=yY(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 eI=v(ze=>{"use strict";var XR=HC(),{warn:Bl}=RC();ze.version=Z_().version;ze.transports=jR();ze.config=md();ze.addColors=XR.levels;ze.format=XR.format;ze.createLogger=NA();ze.Logger=bd();ze.ExceptionHandler=WA();ze.RejectionHandler=DA();ze.Container=YR();ze.Transport=Ts();ze.loggers=new ze.Container;var wt=ze.createLogger();Object.keys(ze.config.npm.levels).concat(["log","query","stream","add","remove","clear","profile","startTimer","handleExceptions","unhandleExceptions","handleRejections","unhandleRejections","configure","child"]).forEach(t=>ze[t]=(...e)=>wt[t](...e));Object.defineProperty(ze,"level",{get(){return wt.level},set(t){wt.level=t}});Object.defineProperty(ze,"exceptions",{get(){return wt.exceptions}});Object.defineProperty(ze,"rejections",{get(){return wt.rejections}});["exitOnError"].forEach(t=>{Object.defineProperty(ze,t,{get(){return wt[t]},set(e){wt[t]=e}})});Object.defineProperty(ze,"default",{get(){return{exceptionHandlers:wt.exceptionHandlers,rejectionHandlers:wt.rejectionHandlers,transports:wt.transports}}});Bl.deprecated(ze,"setLevels");Bl.forFunctions(ze,"useFormat",["cli"]);Bl.forProperties(ze,"useFormat",["padLevels","stripColors"]);Bl.forFunctions(ze,"deprecated",["addRewriter","addFilter","clone","extend"]);Bl.forProperties(ze,"deprecated",["emitErrs","levelLength"])});var aI=v((Mue,tI)=>{var Fl=require("path"),nI=require("fs"),iI=parseInt("0777",8);tI.exports=Hs.mkdirp=Hs.mkdirP=Hs;function Hs(t,e,n,i){typeof e=="function"?(n=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var a=e.mode,r=e.fs||nI;a===void 0&&(a=iI),i||(i=null);var s=n||function(){};t=Fl.resolve(t),r.mkdir(t,a,function(o){if(!o)return i=i||t,s(null,i);switch(o.code){case"ENOENT":if(Fl.dirname(t)===t)return s(o);Hs(Fl.dirname(t),e,function(l,c){l?s(l,c):Hs(t,e,s,c)});break;default:r.stat(t,function(l,c){l||!c.isDirectory()?s(o,i):s(null,i)});break}})}Hs.sync=function t(e,n,i){(!n||typeof n!="object")&&(n={mode:n});var a=n.mode,r=n.fs||nI;a===void 0&&(a=iI),i||(i=null),e=Fl.resolve(e);try{r.mkdirSync(e,a),i=i||e}catch(o){switch(o.code){case"ENOENT":i=t(Fl.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 UA=v((kue,rI)=>{function PY(t){this.name="DuplicateSectionError",this.message=t+" already exists",Error.captureStackTrace(this,this.constructor)}function jY(t){this.name=this.constructor.name,this.message="Section "+t+" does not exist.",Error.captureStackTrace(this,this.constructor)}function SY(t,e,n){this.name=this.constructor.name,this.message=`Source contains parsing errors. +`),Error.captureStackTrace(this,t)}};y2.exports=t=>{if(t.length>2)throw new CA(t);function e(i={}){this.options=i}e.prototype.transform=t;function n(i){return new e(i)}return n.Format=e,n}});var O2=v((cpe,S2)=>{var j2={};S2.exports=j2;var P2={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(P2).forEach(function(t){var e=P2[t],n=j2[t]=[];n.open="\x1B["+e[0]+"m",n.close="\x1B["+e[1]+"m"})});var k2=v((ppe,T2)=>{"use strict";T2.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 oZ=require("os"),ot=k2(),Zn=process.env,Ns=void 0;ot("no-color")||ot("no-colors")||ot("color=false")?Ns=!1:(ot("color")||ot("colors")||ot("color=true")||ot("color=always"))&&(Ns=!0);"FORCE_COLOR"in Zn&&(Ns=Zn.FORCE_COLOR.length===0||parseInt(Zn.FORCE_COLOR,10)!==0);function lZ(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function uZ(t){if(Ns===!1)return 0;if(ot("color=16m")||ot("color=full")||ot("color=truecolor"))return 3;if(ot("color=256"))return 2;if(t&&!t.isTTY&&Ns!==!0)return 0;var e=Ns?1:0;if(process.platform==="win32"){var n=oZ.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 Zn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(a){return a in Zn})||Zn.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in Zn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Zn.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in Zn){var i=parseInt((Zn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Zn.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Zn.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(Zn.TERM)||"COLORTERM"in Zn?1:(Zn.TERM==="dumb",e)}function AA(t){var e=uZ(t);return lZ(e)}M2.exports={supportsColor:AA,stdout:AA(process.stdout),stderr:AA(process.stderr)}});var _2=v((hpe,q2)=>{q2.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 W2=v((gpe,H2)=>{H2.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 c=Math.floor(Math.random()*l);return c}function s(l){var c=!1;return a.filter(function(u){c=u===l}),c}function o(l,c){var u="",p,h;c=c||{},c.up=typeof c.up<"u"?c.up:!0,c.mid=typeof c.mid<"u"?c.mid:!0,c.down=typeof c.down<"u"?c.down:!0,c.size=typeof c.size<"u"?c.size:"maxi",l=l.split("");for(h in l)if(!s(h)){switch(u=u+l[h],p={up:0,down:0,mid:0},c.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 g=["up","mid","down"];for(var d in g)for(var m=g[d],w=0;w<=p[m];w++)c[m]&&(u=u+i[m][r(i[m].length)])}return u}return o(e,n)}});var I2=v((mpe,R2)=>{R2.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 D2=v((fpe,z2)=>{z2.exports=function(t){return function(e,n,i){return n%2===0?e:t.inverse(e)}}});var N2=v((wpe,G2)=>{G2.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 $2=v((vpe,U2)=>{U2.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 K2=v((Ape,J2)=>{var he={};J2.exports=he;he.themes={};var cZ=require("util"),br=he.styles=O2(),L2=Object.defineProperties,pZ=new RegExp(/[\r\n]+/g);he.supportsColor=E2().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 Cpe=he.stylize=function(e,n){if(!he.enabled)return e+"";var i=br[n];return!i&&n in he?he[n](e):i.open+e+i.close},dZ=/[|\\{}()[\]^$+*?.]/g,hZ=function(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(dZ,"\\$&")};function F2(t){var e=function n(){return mZ.apply(n,arguments)};return e._styles=t,e.__proto__=gZ,e}var V2=(function(){var t={};return br.grey=br.gray,Object.keys(br).forEach(function(e){br[e].closeRe=new RegExp(hZ(br[e].close),"g"),t[e]={get:function(){return F2(this._styles.concat(e))}}}),t})(),gZ=L2(function(){},V2);function mZ(){var t=Array.prototype.slice.call(arguments),e=t.map(function(s){return s!=null&&s.constructor===String?s:cZ.inspect(s)}).join(" ");if(!he.enabled||!e)return e;for(var n=e.indexOf(` +`)!=-1,i=this._styles,a=i.length;a--;){var r=br[i[a]];e=r.open+e.replace(r.closeRe,r.open)+r.close,n&&(e=e.replace(pZ,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(n){he[n]=function(i){if(typeof t[n]=="object"){var a=i;for(var r in t[n])a=he[t[n][r]](a);return a}return he[t[n]](i)}})(e)};function fZ(){var t={};return Object.keys(V2).forEach(function(e){t[e]={get:function(){return F2([e])}}}),t}var wZ=function(e,n){var i=n.split("");return i=i.map(e),i.join("")};he.trap=_2();he.zalgo=W2();he.maps={};he.maps.america=I2()(he);he.maps.zebra=D2()(he);he.maps.rainbow=N2()(he);he.maps.random=$2()(he);for(B2 in he.maps)(function(t){he[t]=function(e){return wZ(he.maps[t],e)}})(B2);var B2;L2(he,fZ())});var bA=v((bpe,Z2)=>{var vZ=K2();Z2.exports=vZ});var Q2=v(xA=>{"use strict";xA.levels={error:0,warn:1,help:2,data:3,info:4,debug:5,prompt:6,verbose:7,input:8,silly:9};xA.colors={error:"red",warn:"yellow",help:"cyan",data:"grey",info:"green",debug:"blue",prompt:"grey",verbose:"cyan",input:"grey",silly:"magenta"}});var Y2=v(yA=>{"use strict";yA.levels={error:0,warn:1,info:2,http:3,verbose:4,debug:5,silly:6};yA.colors={error:"red",warn:"yellow",info:"green",http:"green",verbose:"cyan",debug:"blue",silly:"magenta"}});var X2=v(PA=>{"use strict";PA.levels={emerg:0,alert:1,crit:2,error:3,warning:4,notice:5,info:6,debug:7};PA.colors={emerg:"red",alert:"yellow",crit:"red",error:"red",warning:"red",notice:"yellow",info:"green",debug:"blue"}});var eH=v(dd=>{"use strict";Object.defineProperty(dd,"cli",{value:Q2()});Object.defineProperty(dd,"npm",{value:Y2()});Object.defineProperty(dd,"syslog",{value:X2()})});var ln=v(Vl=>{"use strict";Object.defineProperty(Vl,"LEVEL",{value:Symbol.for("level")});Object.defineProperty(Vl,"MESSAGE",{value:Symbol.for("message")});Object.defineProperty(Vl,"SPLAT",{value:Symbol.for("splat")});Object.defineProperty(Vl,"configs",{value:eH()})});var md=v((Ope,gd)=>{"use strict";var OA=bA(),{LEVEL:jA,MESSAGE:SA}=ln();OA.enabled=!0;var nH=/\s+/,hd=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]=nH.test(e[a])?e[a].split(nH):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 OA[t.allColors[e]](i);for(let a=0,r=t.allColors[e].length;anew hd(t);gd.exports.Colorizer=gd.exports.Format=hd});var tH=v((Tpe,iH)=>{"use strict";var{Colorizer:CZ}=md();iH.exports=t=>(CZ.addColors(t.colors||t),t)});var rH=v((kpe,aH)=>{"use strict";var AZ=wi();aH.exports=AZ(t=>(t.message=` ${t.message}`,t))});var lH=v((Mpe,oH)=>{"use strict";var bZ=wi(),{LEVEL:sH,MESSAGE:TA}=ln();oH.exports=bZ((t,{stack:e,cause:n})=>{if(t instanceof Error){let a=Object.assign({},t,{level:t.level,[sH]:t[sH]||t.level,message:t.message,[TA]:t[TA]||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[TA]=i.message,e&&(t.stack=i.stack),n&&(t.cause=i.cause),t})});var MA=v((Epe,wd)=>{"use strict";var{configs:xZ,LEVEL:uH,MESSAGE:kA}=ln(),fd=class t{constructor(e={levels:xZ.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[uH]]}${e.message}`,e[kA]&&(e[kA]=`${this.paddings[e[uH]]}${e[kA]}`),e}};wd.exports=t=>new fd(t);wd.exports.Padder=wd.exports.Format=fd});var cH=v((qpe,EA)=>{"use strict";var{Colorizer:yZ}=md(),{Padder:PZ}=MA(),{configs:jZ,MESSAGE:SZ}=ln(),vd=class{constructor(e={}){e.levels||(e.levels=jZ.cli.levels),this.colorizer=new yZ(e),this.padder=new PZ(e),this.options=e}transform(e,n){return this.colorizer.transform(this.padder.transform(e,n),n),e[SZ]=`${e.level}:${e.message}`,e}};EA.exports=t=>new vd(t);EA.exports.Format=vd});var dH=v((_pe,qA)=>{"use strict";var OZ=wi();function pH(t){if(t.every(TZ))return e=>{let n=e;for(let i=0;i{let e=OZ(pH(t)),n=e();return n.Format=e.Format,n};qA.exports.cascade=pH});var Kl=v((RA,mH)=>{"use strict";var{hasOwnProperty:Jl}=Object.prototype,yr=WA();yr.configure=WA;yr.stringify=yr;yr.default=yr;RA.stringify=yr;RA.configure=WA;mH.exports=yr;var kZ=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]/;function Aa(t){return t.length<5e3&&!kZ.test(t)?`"${t}"`:JSON.stringify(t)}function _A(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 MZ=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function HA(t){return MZ.call(t)!==void 0&&t.length!==0}function hH(t,e,n){t.length= 1`)}return n===void 0?1/0:n}function xr(t){return t===1?"1 item":`${t} items`}function HZ(t){let e=new Set;for(let n of t)(typeof n=="string"||typeof n=="number")&&e.add(String(n));return e}function WZ(t){if(Jl.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 WA(t){t={...t};let e=WZ(t);e&&(t.bigint===void 0&&(t.bigint=!1),"circularValue"in t||(t.circularValue=Error));let n=EZ(t),i=_Z(t,"bigint"),a=qZ(t),r=typeof a=="function"?a:void 0,s=gH(t,"maximumDepth"),o=gH(t,"maximumBreadth");function l(g,d,m,w,f,A){let b=d[g];switch(typeof b=="object"&&b!==null&&typeof b.toJSON=="function"&&(b=b.toJSON(g)),b=w.call(d,g,b),typeof b){case"string":return Aa(b);case"object":{if(b===null)return"null";if(m.indexOf(b)!==-1)return n;let x="",S=",",T=A;if(Array.isArray(b)){if(b.length===0)return"[]";if(so){let tn=b.length-o-1;x+=`${S}"... ${xr(tn)} not stringified"`}return f!==""&&(x+=` +${T}`),m.pop(),`[${x}]`}let M=Object.keys(b),V=M.length;if(V===0)return"{}";if(so){let le=V-o;x+=`${_}"...":${N}"${xr(le)} not stringified"`,_=S}return f!==""&&_.length>1&&(x=` +${A}${x} +${T}`),m.pop(),`{${x}}`}case"number":return isFinite(b)?String(b):e?e(b):"null";case"boolean":return b===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(b);default:return e?e(b):void 0}}function c(g,d,m,w,f,A){switch(typeof d=="object"&&d!==null&&typeof d.toJSON=="function"&&(d=d.toJSON(g)),typeof d){case"string":return Aa(d);case"object":{if(d===null)return"null";if(m.indexOf(d)!==-1)return n;let b=A,x="",S=",";if(Array.isArray(d)){if(d.length===0)return"[]";if(so){let W=d.length-o-1;x+=`${S}"... ${xr(W)} not stringified"`}return f!==""&&(x+=` +${b}`),m.pop(),`[${x}]`}m.push(d);let T="";f!==""&&(A+=f,S=`, +${A}`,T=" ");let M="";for(let V of w){let N=c(V,d[V],m,w,f,A);N!==void 0&&(x+=`${M}${Aa(V)}:${T}${N}`,M=S)}return f!==""&&M.length>1&&(x=` +${A}${x} +${b}`),m.pop(),`{${x}}`}case"number":return isFinite(d)?String(d):e?e(d):"null";case"boolean":return d===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(d);default:return e?e(d):void 0}}function u(g,d,m,w,f){switch(typeof d){case"string":return Aa(d);case"object":{if(d===null)return"null";if(typeof d.toJSON=="function"){if(d=d.toJSON(g),typeof d!="object")return u(g,d,m,w,f);if(d===null)return"null"}if(m.indexOf(d)!==-1)return n;let A=f;if(Array.isArray(d)){if(d.length===0)return"[]";if(so){let Te=d.length-o-1;N+=`${_}"... ${xr(Te)} not stringified"`}return N+=` +${A}`,m.pop(),`[${N}]`}let b=Object.keys(d),x=b.length;if(x===0)return"{}";if(so){let N=x-o;T+=`${M}"...": "${xr(N)} not stringified"`,M=S}return M!==""&&(T=` +${f}${T} +${A}`),m.pop(),`{${T}}`}case"number":return isFinite(d)?String(d):e?e(d):"null";case"boolean":return d===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(d);default:return e?e(d):void 0}}function p(g,d,m){switch(typeof d){case"string":return Aa(d);case"object":{if(d===null)return"null";if(typeof d.toJSON=="function"){if(d=d.toJSON(g),typeof d!="object")return p(g,d,m);if(d===null)return"null"}if(m.indexOf(d)!==-1)return n;let w="",f=d.length!==void 0;if(f&&Array.isArray(d)){if(d.length===0)return"[]";if(so){let N=d.length-o-1;w+=`,"... ${xr(N)} not stringified"`}return m.pop(),`[${w}]`}let A=Object.keys(d),b=A.length;if(b===0)return"{}";if(so){let T=b-o;w+=`${x}"...":"${xr(T)} not stringified"`}return m.pop(),`{${w}}`}case"number":return isFinite(d)?String(d):e?e(d):"null";case"boolean":return d===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(d);default:return e?e(d):void 0}}function h(g,d,m){if(arguments.length>1){let w="";if(typeof m=="number"?w=" ".repeat(Math.min(m,10)):typeof m=="string"&&(w=m.slice(0,10)),d!=null){if(typeof d=="function")return l("",{"":g},[],d,w,"");if(Array.isArray(d))return c("",g,[],HZ(d),w,"")}if(w.length!==0)return u("",g,[],w,"")}return p("",g,[])}return h}});var IA=v((Hpe,fH)=>{"use strict";var RZ=wi(),{MESSAGE:IZ}=ln(),zZ=Kl();function DZ(t,e){return typeof e=="bigint"?e.toString():e}fH.exports=RZ((t,e)=>{let n=zZ.configure(e);return t[IZ]=n(t,e.replacer||DZ,e.space),t})});var vH=v((Wpe,wH)=>{"use strict";var GZ=wi();wH.exports=GZ((t,e)=>e.message?(t.message=`[${e.label}] ${t.message}`,t):(t.label=e.label,t))});var AH=v((Rpe,CH)=>{"use strict";var NZ=wi(),{MESSAGE:UZ}=ln(),$Z=Kl();CH.exports=NZ(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[UZ]=$Z(e),t})});var xH=v((Ipe,bH)=>{"use strict";var BZ=wi();function LZ(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 FZ(t,e,n){return t[n]=e.reduce((i,a)=>(i[a]=t[a],delete t[a],i),{}),t}bH.exports=BZ((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?LZ(t,i,n):e.fillWith?FZ(t,e.fillWith,n):t})});var PH=v((Zl,yH)=>{"use strict";var VZ=wi(),JZ=yC();yH.exports=VZ(t=>{let e=+new Date;return Zl.diff=e-(Zl.prevTime||e),Zl.prevTime=e,t.ms=`+${JZ(Zl.diff)}`,t})});var OH=v((zpe,SH)=>{"use strict";var KZ=require("util").inspect,ZZ=wi(),{LEVEL:QZ,MESSAGE:jH,SPLAT:YZ}=ln();SH.exports=ZZ((t,e={})=>{let n=Object.assign({},t);return delete n[QZ],delete n[jH],delete n[YZ],t[jH]=KZ(n,!1,e.depth||null,e.colorize),t})});var TH=v((Dpe,Ad)=>{"use strict";var{MESSAGE:XZ}=ln(),Cd=class{constructor(e){this.template=e}transform(e){return e[XZ]=this.template(e),e}};Ad.exports=t=>new Cd(t);Ad.exports.Printf=Ad.exports.Format=Cd});var EH=v((Gpe,MH)=>{"use strict";var e7=wi(),{MESSAGE:kH}=ln(),n7=Kl();MH.exports=e7(t=>{let e=n7(Object.assign({},t,{level:void 0,message:void 0,splat:void 0})),n=t.padding&&t.padding[t.level]||"";return e!=="{}"?t[kH]=`${t.level}:${n} ${t.message} ${e}`:t[kH]=`${t.level}:${n} ${t.message}`,t})});var HH=v((Npe,_H)=>{"use strict";var i7=require("util"),{SPLAT:qH}=ln(),t7=/%[scdjifoO%]/g,a7=/%%/g,zA=class{constructor(e){this.options=e}_splat(e,n){let i=e.message,a=e[qH]||e.splat||[],r=i.match(a7),s=r&&r.length||0,l=n.length-s-a.length,c=l<0?a.splice(l,-1*l):[],u=c.length;if(u)for(let p=0;p1?i.splice(0):i,s=r.length;if(s)for(let o=0;onew zA(t)});var RH=v((bd,WH)=>{(function(t,e){typeof bd=="object"&&typeof WH<"u"?e(bd):typeof define=="function"&&define.amd?define(["exports"],e):e(t.fecha={})})(bd,(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,z){for(var Ce=[],cn=0,Z=O.length;cn-1?Z:null}};function u(O){for(var z=[],Ce=1;Ce3?0:(O-O%10!==10?1:0)*O%10]}},w=u({},m),f=function(O){return w=u(w,O)},A=function(O){return O.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},b=function(O,z){for(z===void 0&&(z=2),O=String(O);O.length0?"-":"+")+b(Math.floor(Math.abs(z)/60)*100+Math.abs(z)%60,4)},Z:function(O){var z=O.getTimezoneOffset();return(z>0?"-":"+")+b(Math.floor(Math.abs(z)/60),2)+":"+b(Math.abs(z)%60,2)}},S=function(O){return+O-1},T=[null,n],M=[null,s],V=["isPm",s,function(O,z){var Ce=O.toLowerCase();return Ce===z.amPm[0]?0:Ce===z.amPm[1]?1:null}],N=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(O){var z=(O+"").match(/([+-]|\d\d)/gi);if(z){var Ce=+z[1]*60+parseInt(z[2],10);return z[0]==="+"?Ce:-Ce}return 0}],_={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 z=new Date,Ce=+(""+z.getFullYear()).substr(0,2);return+(""+(+O>68?Ce-1:Ce)+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:T,dd:T,ddd:M,dddd:M,MMM:["month",s,c("monthNamesShort")],MMMM:["month",s,c("monthNames")],a:V,A:V,ZZ:N,Z:N},W={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"},le=function(O){return u(W,O)},Pe=function(O,z,Ce){if(z===void 0&&(z=W.default),Ce===void 0&&(Ce={}),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");z=W[z]||z;var cn=[];z=z.replace(o,function(ge,Me){return cn.push(Me),"@@@"});var Z=u(u({},w),Ce);return z=z.replace(e,function(ge){return x[ge](O,Z)}),z.replace(/@@@/g,function(){return cn.shift()})};function Te(O,z,Ce){if(Ce===void 0&&(Ce={}),typeof z!="string")throw new Error("Invalid format in fecha parse");if(z=W[z]||z,O.length>1e3)return null;var cn=new Date,Z={year:cn.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},ge=[],Me=[],Re=z.replace(o,function(Wi,pn){return Me.push(A(pn)),"@@@"}),Bn={},qi={};Re=A(Re).replace(e,function(Wi){var pn=_[Wi],Q=pn[0],Ye=pn[1],G=pn[3];if(Bn[Q])throw new Error("Invalid format. "+Q+" specified twice in format");return Bn[Q]=!0,G&&(qi[G]=!0),ge.push(pn),"("+Ye+")"}),Object.keys(qi).forEach(function(Wi){if(!Bn[Wi])throw new Error("Invalid format. "+Wi+" is required in specified format")}),Re=Re.replace(/@@@/g,function(){return Me.shift()});var _i=O.match(new RegExp(Re,"i"));if(!_i)return null;for(var me=u(u({},w),Ce),He=1;He<_i.length;He++){var _t=ge[He-1],Hi=_t[0],Qt=_t[2],jn=Qt?Qt(_i[He],me):+_i[He];if(jn==null)return null;Z[Hi]=jn}Z.isPm===1&&Z.hour!=null&&+Z.hour!=12?Z.hour=+Z.hour+12:Z.isPm===0&&+Z.hour==12&&(Z.hour=0);var Ae;if(Z.timezoneOffset==null){Ae=new Date(Z.year,Z.month,Z.day,Z.hour,Z.minute,Z.second,Z.millisecond);for(var Sn=[["month","getMonth"],["day","getDate"],["hour","getHours"],["minute","getMinutes"],["second","getSeconds"]],He=0,ht=Sn.length;He11||Z.month<0||Z.day>31||Z.day<1||Z.hour>23||Z.hour<0||Z.minute>59||Z.minute<0||Z.second>59||Z.second<0)return null;return Ae}var tn={format:Pe,parse:Te,defaultI18n:m,setGlobalDateI18n:f,setGlobalDateMasks:le};t.assign=u,t.default=tn,t.format=Pe,t.parse=Te,t.defaultI18n=m,t.setGlobalDateI18n=f,t.setGlobalDateMasks=le,Object.defineProperty(t,"__esModule",{value:!0})}))});var zH=v((Upe,IH)=>{"use strict";var r7=RH(),s7=wi();IH.exports=s7((t,e={})=>(e.format&&(t.timestamp=typeof e.format=="function"?e.format():r7.format(new Date,e.format)),t.timestamp||(t.timestamp=new Date().toISOString()),e.alias&&(t[e.alias]=t.timestamp),t))});var GH=v(($pe,DH)=>{"use strict";var DA=bA(),o7=wi(),{MESSAGE:GA}=ln();DH.exports=o7((t,e)=>(e.level!==!1&&(t.level=DA.strip(t.level)),e.message!==!1&&(t.message=DA.strip(String(t.message))),e.raw!==!1&&t[GA]&&(t[GA]=DA.strip(String(t[GA]))),t))});var UA=v(NA=>{"use strict";var l7=NA.format=wi();NA.levels=tH();function Hn(t,e){Object.defineProperty(l7,t,{get(){return e()},configurable:!0})}Hn("align",function(){return rH()});Hn("errors",function(){return lH()});Hn("cli",function(){return cH()});Hn("combine",function(){return dH()});Hn("colorize",function(){return md()});Hn("json",function(){return IA()});Hn("label",function(){return vH()});Hn("logstash",function(){return AH()});Hn("metadata",function(){return xH()});Hn("ms",function(){return PH()});Hn("padLevels",function(){return MA()});Hn("prettyPrint",function(){return OH()});Hn("printf",function(){return TH()});Hn("simple",function(){return EH()});Hn("splat",function(){return HH()});Hn("timestamp",function(){return zH()});Hn("uncolorize",function(){return GH()})});var $A=v(xd=>{"use strict";var{format:NH}=require("util");xd.warn={deprecated(t){return()=>{throw new Error(NH("{ %s } was removed in winston@3.0.0.",t))}},useFormat(t){return()=>{throw new Error([NH("{ %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]=xd.warn[e](i)})},forProperties(t,e,n){n.forEach(i=>{let a=xd.warn[e](i);Object.defineProperty(t,i,{get:a,set:a})})}}});var UH=v((Fpe,u7)=>{u7.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 BH=v((Vpe,$H)=>{$H.exports=require("util").deprecate});var BA=v((Jpe,LH)=>{LH.exports=require("stream")});var FA=v((Kpe,VH)=>{"use strict";function c7(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(LA,this,t)):process.nextTick(LA,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(yd,n):(n._writableState.errorEmitted=!0,process.nextTick(FH,n,r)):process.nextTick(FH,n,r):e?(process.nextTick(yd,n),e(r)):process.nextTick(yd,n)}),this)}function FH(t,e){LA(t,e),yd(t)}function yd(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function p7(){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 LA(t,e){t.emit("error",e)}function d7(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}VH.exports={destroy:c7,undestroy:p7,errorOrDestroy:d7}});var ba=v((Zpe,ZH)=>{"use strict";var KH={};function Vi(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,KH[t]=a}function JH(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 h7(t,e,n){return t.substr(!n||n<0?0:+n,e.length)===e}function g7(t,e,n){return(n===void 0||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}function m7(t,e,n){return typeof n!="number"&&(n=0),n+e.length>t.length?!1:t.indexOf(e,n)!==-1}Vi("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);Vi("ERR_INVALID_ARG_TYPE",function(t,e,n){let i;typeof e=="string"&&h7(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";let a;if(g7(t," argument"))a=`The ${t} ${i} ${JH(e,"type")}`;else{let r=m7(t,".")?"property":"argument";a=`The "${t}" ${r} ${i} ${JH(e,"type")}`}return a+=`. Received type ${typeof n}`,a},TypeError);Vi("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");Vi("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});Vi("ERR_STREAM_PREMATURE_CLOSE","Premature close");Vi("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});Vi("ERR_MULTIPLE_CALLBACK","Callback called multiple times");Vi("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");Vi("ERR_STREAM_WRITE_AFTER_END","write after end");Vi("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);Vi("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);Vi("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ZH.exports.codes=KH});var VA=v((Qpe,QH)=>{"use strict";var f7=ba().codes.ERR_INVALID_OPT_VALUE;function w7(t,e,n){return t.highWaterMark!=null?t.highWaterMark:e?t[n]:null}function v7(t,e,n,i){var a=w7(e,i,n);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var r=i?n:"highWaterMark";throw new f7(r,a)}return Math.floor(a)}return t.objectMode?16:16*1024}QH.exports={getHighWaterMark:v7}});var YH=v((Ype,JA)=>{typeof Object.create=="function"?JA.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:JA.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 Us=v((Xpe,ZA)=>{try{if(KA=require("util"),typeof KA.inherits!="function")throw"";ZA.exports=KA.inherits}catch{ZA.exports=YH()}var KA});var aW=v((ede,tW)=>{"use strict";function XH(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 eW(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 Pd.alloc(0);for(var i=Pd.allocUnsafe(n>>>0),a=this.head,r=0;a;)S7(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=Pd.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:j7,value:function(n,i){return QA(this,eW(eW({},i),{},{depth:0,customInspect:!1}))}}]),t})()});var oW=v((YA,sW)=>{var jd=require("buffer"),jt=jd.Buffer;function rW(t,e){for(var n in t)e[n]=t[n]}jt.from&&jt.alloc&&jt.allocUnsafe&&jt.allocUnsafeSlow?sW.exports=jd:(rW(jd,YA),YA.Buffer=Pr);function Pr(t,e,n){return jt(t,e,n)}Pr.prototype=Object.create(jt.prototype);rW(jt,Pr);Pr.from=function(t,e,n){if(typeof t=="number")throw new TypeError("Argument must not be a number");return jt(t,e,n)};Pr.alloc=function(t,e,n){if(typeof t!="number")throw new TypeError("Argument must be a number");var i=jt(t);return e!==void 0?typeof n=="string"?i.fill(e,n):i.fill(e):i.fill(0),i};Pr.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return jt(t)};Pr.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return jd.SlowBuffer(t)}});var nb=v(uW=>{"use strict";var eb=oW().Buffer,lW=eb.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 O7(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 T7(t){var e=O7(t);if(typeof e!="string"&&(eb.isEncoding===lW||!lW(t)))throw new Error("Unknown encoding: "+t);return e||t}uW.StringDecoder=Ql;function Ql(t){this.encoding=T7(t);var e;switch(this.encoding){case"utf16le":this.text=H7,this.end=W7,e=4;break;case"utf8":this.fillLast=E7,e=4;break;case"base64":this.text=R7,this.end=I7,e=3;break;default:this.write=z7,this.end=D7;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=eb.allocUnsafe(e)}Ql.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 k7(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 M7(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 E7(t){var e=this.lastTotal-this.lastNeed,n=M7(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 q7(t,e){var n=k7(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 _7(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function H7(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 W7(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 R7(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 I7(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function z7(t){return t.toString(this.encoding)}function D7(t){return t&&t.length?this.write(t):""}});var Sd=v((ide,dW)=>{"use strict";var cW=ba().codes.ERR_STREAM_PREMATURE_CLOSE;function G7(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 Od;function xa(t,e,n){return e=$7(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $7(t){var e=B7(t,"string");return typeof e=="symbol"?e:String(e)}function B7(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 L7=Sd(),ya=Symbol("lastResolve"),jr=Symbol("lastReject"),Yl=Symbol("error"),Td=Symbol("ended"),Sr=Symbol("lastPromise"),ib=Symbol("handlePromise"),Or=Symbol("stream");function Pa(t,e){return{value:t,done:e}}function F7(t){var e=t[ya];if(e!==null){var n=t[Or].read();n!==null&&(t[Sr]=null,t[ya]=null,t[jr]=null,e(Pa(n,!1)))}}function V7(t){process.nextTick(F7,t)}function J7(t,e){return function(n,i){t.then(function(){if(e[Td]){n(Pa(void 0,!0));return}e[ib](n,i)},i)}}var K7=Object.getPrototypeOf(function(){}),Z7=Object.setPrototypeOf((Od={get stream(){return this[Or]},next:function(){var e=this,n=this[Yl];if(n!==null)return Promise.reject(n);if(this[Td])return Promise.resolve(Pa(void 0,!0));if(this[Or].destroyed)return new Promise(function(s,o){process.nextTick(function(){e[Yl]?o(e[Yl]):s(Pa(void 0,!0))})});var i=this[Sr],a;if(i)a=new Promise(J7(i,this));else{var r=this[Or].read();if(r!==null)return Promise.resolve(Pa(r,!1));a=new Promise(this[ib])}return this[Sr]=a,a}},xa(Od,Symbol.asyncIterator,function(){return this}),xa(Od,"return",function(){var e=this;return new Promise(function(n,i){e[Or].destroy(null,function(a){if(a){i(a);return}n(Pa(void 0,!0))})})}),Od),K7),Q7=function(e){var n,i=Object.create(Z7,(n={},xa(n,Or,{value:e,writable:!0}),xa(n,ya,{value:null,writable:!0}),xa(n,jr,{value:null,writable:!0}),xa(n,Yl,{value:null,writable:!0}),xa(n,Td,{value:e._readableState.endEmitted,writable:!0}),xa(n,ib,{value:function(r,s){var o=i[Or].read();o?(i[Sr]=null,i[ya]=null,i[jr]=null,r(Pa(o,!1))):(i[ya]=r,i[jr]=s)},writable:!0}),n));return i[Sr]=null,L7(e,function(a){if(a&&a.code!=="ERR_STREAM_PREMATURE_CLOSE"){var r=i[jr];r!==null&&(i[Sr]=null,i[ya]=null,i[jr]=null,r(a)),i[Yl]=a;return}var s=i[ya];s!==null&&(i[Sr]=null,i[ya]=null,i[jr]=null,s(Pa(void 0,!0))),i[Td]=!0}),e.on("readable",V7.bind(null,i)),i};hW.exports=Q7});var vW=v((ade,wW)=>{"use strict";function mW(t,e,n,i,a,r,s){try{var o=t[r](s),l=o.value}catch(c){n(c);return}o.done?e(l):Promise.resolve(l).then(i,a)}function Y7(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function s(l){mW(r,i,a,s,o,"next",l)}function o(l){mW(r,i,a,s,o,"throw",l)}s(void 0)})}}function fW(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 X7(t){for(var e=1;e{"use strict";TW.exports=Oe;var $s;Oe.ReadableState=xW;var rde=require("events").EventEmitter,bW=function(e,n){return e.listeners(n).length},eu=BA(),kd=require("buffer").Buffer,rQ=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function sQ(t){return kd.from(t)}function oQ(t){return kd.isBuffer(t)||t instanceof rQ}var tb=require("util"),ce;tb&&tb.debuglog?ce=tb.debuglog("stream"):ce=function(){};var lQ=aW(),cb=FA(),uQ=VA(),cQ=uQ.getHighWaterMark,Md=ba().codes,pQ=Md.ERR_INVALID_ARG_TYPE,dQ=Md.ERR_STREAM_PUSH_AFTER_EOF,hQ=Md.ERR_METHOD_NOT_IMPLEMENTED,gQ=Md.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Bs,ab,rb;Us()(Oe,eu);var Xl=cb.errorOrDestroy,sb=["error","close","destroy","pause","resume"];function mQ(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 xW(t,e,n){$s=$s||Tr(),t=t||{},typeof n!="boolean"&&(n=e instanceof $s),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=cQ(this,t,"readableHighWaterMark",n),this.buffer=new lQ,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&&(Bs||(Bs=nb().StringDecoder),this.decoder=new Bs(t.encoding),this.encoding=t.encoding)}function Oe(t){if($s=$s||Tr(),!(this instanceof Oe))return new Oe(t);var e=this instanceof $s;this._readableState=new xW(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),eu.call(this)}Object.defineProperty(Oe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});Oe.prototype.destroy=cb.destroy;Oe.prototype._undestroy=cb.undestroy;Oe.prototype._destroy=function(t,e){e(t)};Oe.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=kd.from(t,e),e=""),i=!0),yW(this,t,e,!1,i)};Oe.prototype.unshift=function(t){return yW(this,t,null,!0,!1)};function yW(t,e,n,i,a){ce("readableAddChunk",e);var r=t._readableState;if(e===null)r.reading=!1,vQ(t,r);else{var s;if(a||(s=fQ(r,e)),s)Xl(t,s);else if(r.objectMode||e&&e.length>0)if(typeof e!="string"&&!r.objectMode&&Object.getPrototypeOf(e)!==kd.prototype&&(e=sQ(e)),i)r.endEmitted?Xl(t,new gQ):ob(t,r,e,!0);else if(r.ended)Xl(t,new dQ);else{if(r.destroyed)return!1;r.reading=!1,r.decoder&&!n?(e=r.decoder.write(e),r.objectMode||e.length!==0?ob(t,r,e,!1):ub(t,r)):ob(t,r,e,!1)}else i||(r.reading=!1,ub(t,r))}return!r.ended&&(r.length=CW?t=CW:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function AW(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=wQ(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}Oe.prototype.read=function(t){ce("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 ce("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?lb(this):Ed(this),null;if(t=AW(t,e),t===0&&e.ended)return e.length===0&&lb(this),null;var i=e.needReadable;ce("need readable",i),(e.length===0||e.length-t0?a=SW(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&&lb(this)),a!==null&&this.emit("data",a),a};function vQ(t,e){if(ce("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?Ed(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,PW(t)))}}function Ed(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(PW,t))}function PW(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,pb(t)}function ub(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(CQ,t,e))}function CQ(t,e){for(;!e.reading&&!e.ended&&(e.length1&&OW(i.pipes,t)!==-1)&&!c&&(ce("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(w){ce("onerror",w),m(),t.removeListener("error",h),bW(t,"error")===0&&Xl(t,w)}mQ(t,"error",h);function g(){t.removeListener("finish",d),m()}t.once("close",g);function d(){ce("onfinish"),t.removeListener("close",g),m()}t.once("finish",d);function m(){ce("unpipe"),n.unpipe(t)}return t.emit("pipe",n),i.flowing||(ce("pipe resume"),n.resume()),t};function AQ(t){return function(){var n=t._readableState;ce("pipeOnDrain",n.awaitDrain),n.awaitDrain&&n.awaitDrain--,n.awaitDrain===0&&bW(t,"data")&&(n.flowing=!0,pb(t))}}Oe.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,ce("on readable",i.length,i.reading),i.length?Ed(this):i.reading||process.nextTick(bQ,this)),n};Oe.prototype.addListener=Oe.prototype.on;Oe.prototype.removeListener=function(t,e){var n=eu.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(jW,this),n};Oe.prototype.removeAllListeners=function(t){var e=eu.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(jW,this),e};function jW(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 bQ(t){ce("readable nexttick read 0"),t.read(0)}Oe.prototype.resume=function(){var t=this._readableState;return t.flowing||(ce("resume"),t.flowing=!t.readableListening,xQ(this,t)),t.paused=!1,this};function xQ(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(yQ,t,e))}function yQ(t,e){ce("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),pb(t),e.flowing&&!e.reading&&t.read(0)}Oe.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 pb(t){var e=t._readableState;for(ce("flow",e.flowing);e.flowing&&t.read()!==null;);}Oe.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;t.on("end",function(){if(ce("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(ce("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 lb(t){var e=t._readableState;ce("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(PQ,e,t))}function PQ(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 n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}typeof Symbol=="function"&&(Oe.from=function(t,e){return rb===void 0&&(rb=vW()),rb(Oe,t,e)});function OW(t,e){for(var n=0,i=t.length;n{"use strict";var jQ=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};MW.exports=St;var kW=db(),gb=Hd();Us()(St,kW);for(hb=jQ(gb.prototype),qd=0;qd{"use strict";RW.exports=en;function qW(t){var e=this;this.next=null,this.entry=null,this.finish=function(){eY(e,t)}}var Ls;en.WritableState=iu;var TQ={deprecate:BH()},_W=BA(),Rd=require("buffer").Buffer,kQ=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function MQ(t){return Rd.from(t)}function EQ(t){return Rd.isBuffer(t)||t instanceof kQ}var fb=FA(),qQ=VA(),_Q=qQ.getHighWaterMark,ja=ba().codes,HQ=ja.ERR_INVALID_ARG_TYPE,WQ=ja.ERR_METHOD_NOT_IMPLEMENTED,RQ=ja.ERR_MULTIPLE_CALLBACK,IQ=ja.ERR_STREAM_CANNOT_PIPE,zQ=ja.ERR_STREAM_DESTROYED,DQ=ja.ERR_STREAM_NULL_VALUES,GQ=ja.ERR_STREAM_WRITE_AFTER_END,NQ=ja.ERR_UNKNOWN_ENCODING,Fs=fb.errorOrDestroy;Us()(en,_W);function UQ(){}function iu(t,e,n){Ls=Ls||Tr(),t=t||{},typeof n!="boolean"&&(n=e instanceof Ls),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=_Q(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){KQ(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 qW(this)}iu.prototype.getBuffer=function(){for(var e=this.bufferedRequest,n=[];e;)n.push(e),e=e.next;return n};(function(){try{Object.defineProperty(iu.prototype,"buffer",{get:TQ.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Wd;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Wd=Function.prototype[Symbol.hasInstance],Object.defineProperty(en,Symbol.hasInstance,{value:function(e){return Wd.call(this,e)?!0:this!==en?!1:e&&e._writableState instanceof iu}})):Wd=function(e){return e instanceof this};function en(t){Ls=Ls||Tr();var e=this instanceof Ls;if(!e&&!Wd.call(en,this))return new en(t);this._writableState=new iu(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)),_W.call(this)}en.prototype.pipe=function(){Fs(this,new IQ)};function $Q(t,e){var n=new GQ;Fs(t,n),process.nextTick(e,n)}function BQ(t,e,n,i){var a;return n===null?a=new DQ:typeof n!="string"&&!e.objectMode&&(a=new HQ("chunk",["string","Buffer"],n)),a?(Fs(t,a),process.nextTick(i,a),!1):!0}en.prototype.write=function(t,e,n){var i=this._writableState,a=!1,r=!i.objectMode&&EQ(t);return r&&!Rd.isBuffer(t)&&(t=MQ(t)),typeof e=="function"&&(n=e,e=null),r?e="buffer":e||(e=i.defaultEncoding),typeof n!="function"&&(n=UQ),i.ending?$Q(this,n):(r||BQ(this,i,t,n))&&(i.pendingcb++,a=FQ(this,i,r,t,e,n)),a};en.prototype.cork=function(){this._writableState.corked++};en.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&HW(this,t))};en.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 NQ(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(en.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function LQ(t,e,n){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=Rd.from(e,n)),e}Object.defineProperty(en.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function FQ(t,e,n,i,a,r){if(!n){var s=LQ(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 nY=require("util"),IW=Hd(),{LEVEL:zW}=ln(),tu=DW.exports=function(e={}){IW.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())})};nY.inherits(tu,IW);tu.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[zW]]){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)};tu.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[zW]])&&(this.handleExceptions||n.exception!==!0))};tu.prototype._nop=function(){}});var Cb=v((cde,NW)=>{"use strict";var iY=require("util"),{LEVEL:vb}=ln(),GW=wb(),au=NW.exports=function(e={}){if(GW.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))};iY.inherits(au,GW);au.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[vb]])&&this.transport.log(e[vb],e.message,e,this._nop),i(null)};au.prototype._writev=function(e,n){for(let i=0;i{"use strict";Ab.exports=wb();Ab.exports.LegacyTransportStream=Cb()});var BW=v((hde,$W)=>{"use strict";var tY=require("os"),{LEVEL:UW,MESSAGE:Js}=ln(),aY=Vs();$W.exports=class extends aY{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:tY.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[UW]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[Js]}${this.eol}`):this._consoleError(e[Js]),n&&n();return}else if(this.consoleWarnLevels[e[UW]]){console._stderr&&!this.forceConsole?console._stderr.write(`${e[Js]}${this.eol}`):this._consoleWarn(e[Js]),n&&n();return}console._stdout&&!this.forceConsole?console._stdout.write(`${e[Js]}${this.eol}`):this._consoleLog(e[Js]),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 zd=v((Id,LW)=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.default=rY;function rY(t){return t&&typeof t.length=="number"&&t.length>=0&&t.length%1===0}LW.exports=Id.default});var VW=v((Dd,FW)=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.default=function(t){return function(...e){var n=e.pop();return t.call(this,e,n)}};FW.exports=Dd.default});var ZW=v(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.fallback=JW;Sa.wrap=KW;var sY=Sa.hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,oY=Sa.hasSetImmediate=typeof setImmediate=="function"&&setImmediate,lY=Sa.hasNextTick=typeof process=="object"&&typeof process.nextTick=="function";function JW(t){setTimeout(t,0)}function KW(t){return(e,...n)=>t(()=>e(...n))}var ru;sY?ru=queueMicrotask:oY?ru=setImmediate:lY?ru=process.nextTick:ru=JW;Sa.default=KW(ru)});var nR=v((Gd,eR)=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=gY;var uY=VW(),cY=XW(uY),pY=ZW(),dY=XW(pY),hY=kr();function XW(t){return t&&t.__esModule?t:{default:t}}function gY(t){return(0,hY.isAsync)(t)?function(...e){let n=e.pop(),i=t.apply(this,e);return QW(i,n)}:(0,cY.default)(function(e,n){var i;try{i=t.apply(this,e)}catch(a){return n(a)}if(i&&typeof i.then=="function")return QW(i,n);n(null,i)})}function QW(t,e){return t.then(n=>{YW(e,null,n)},n=>{YW(e,n&&(n instanceof Error||n.message)?n:new Error(n))})}function YW(t,e,n){try{t(e,n)}catch(i){(0,dY.default)(a=>{throw a},i)}}eR.exports=Gd.default});var kr=v(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.isAsyncIterable=Vt.isAsyncGenerator=Vt.isAsync=void 0;var mY=nR(),fY=wY(mY);function wY(t){return t&&t.__esModule?t:{default:t}}function iR(t){return t[Symbol.toStringTag]==="AsyncFunction"}function vY(t){return t[Symbol.toStringTag]==="AsyncGenerator"}function CY(t){return typeof t[Symbol.asyncIterator]=="function"}function AY(t){if(typeof t!="function")throw new Error("expected a function");return iR(t)?(0,fY.default)(t):t}Vt.default=AY;Vt.isAsync=iR;Vt.isAsyncGenerator=vY;Vt.isAsyncIterable=CY});var Ks=v((Nd,tR)=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.default=bY;function bY(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}tR.exports=Nd.default});var rR=v((Ud,aR)=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});var xY=zd(),yY=bb(xY),PY=kr(),jY=bb(PY),SY=Ks(),OY=bb(SY);function bb(t){return t&&t.__esModule?t:{default:t}}Ud.default=(0,OY.default)((t,e,n)=>{var i=(0,yY.default)(e)?[]:{};t(e,(a,r,s)=>{(0,jY.default)(a)((o,...l)=>{l.length<2&&([l]=l),i[r]=l,s(o)})},a=>n(a,i))},3);aR.exports=Ud.default});var xb=v(($d,sR)=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.default=TY;function TY(t){function e(...n){if(t!==null){var i=t;t=null,i.apply(this,n)}}return Object.assign(e,t),e}sR.exports=$d.default});var lR=v((Bd,oR)=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=function(t){return t[Symbol.iterator]&&t[Symbol.iterator]()};oR.exports=Bd.default});var pR=v((Ld,cR)=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.default=RY;var kY=zd(),MY=uR(kY),EY=lR(),qY=uR(EY);function uR(t){return t&&t.__esModule?t:{default:t}}function _Y(t){var e=-1,n=t.length;return function(){return++e{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.default=IY;function IY(t){return function(...e){if(t===null)throw new Error("Callback was already called.");var n=t;t=null,n.apply(this,e)}}dR.exports=Fd.default});var Jd=v((Vd,hR)=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});var zY={};Vd.default=zY;hR.exports=Vd.default});var mR=v((Kd,gR)=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=UY;var DY=Jd(),GY=NY(DY);function NY(t){return t&&t.__esModule?t:{default:t}}function UY(t,e,n,i){let a=!1,r=!1,s=!1,o=0,l=0;function c(){o>=e||s||a||(s=!0,t.next().then(({value:h,done:g})=>{if(!(r||a)){if(s=!1,g){a=!0,o<=0&&i(null);return}o++,n(h,l,u),l++,c()}}).catch(p))}function u(h,g){if(o-=1,!r){if(h)return p(h);if(h===!1){a=!0,r=!0;return}if(g===GY.default||a&&o<=0)return a=!0,i(null);c()}}function p(h){r||(s=!1,a=!0,i(h))}c()}gR.exports=Kd.default});var CR=v((Zd,vR)=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});var $Y=xb(),BY=su($Y),LY=pR(),FY=su(LY),VY=yb(),JY=su(VY),fR=kr(),KY=mR(),wR=su(KY),ZY=Jd(),QY=su(ZY);function su(t){return t&&t.__esModule?t:{default:t}}Zd.default=t=>(e,n,i)=>{if(i=(0,BY.default)(i),t<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!e)return i(null);if((0,fR.isAsyncGenerator)(e))return(0,wR.default)(e,t,n,i);if((0,fR.isAsyncIterable)(e))return(0,wR.default)(e[Symbol.asyncIterator](),t,n,i);var a=(0,FY.default)(e),r=!1,s=!1,o=0,l=!1;function c(p,h){if(!s)if(o-=1,p)r=!0,i(p);else if(p===!1)r=!0,s=!0;else{if(h===QY.default||r&&o<=0)return r=!0,i(null);l||u()}}function u(){for(l=!0;o{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});var YY=CR(),XY=Pb(YY),eX=kr(),nX=Pb(eX),iX=Ks(),tX=Pb(iX);function Pb(t){return t&&t.__esModule?t:{default:t}}function aX(t,e,n,i){return(0,XY.default)(e)(t,(0,nX.default)(n),i)}Qd.default=(0,tX.default)(aX,4);AR.exports=Qd.default});var yR=v((Yd,xR)=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});var rX=jb(),sX=bR(rX),oX=Ks(),lX=bR(oX);function bR(t){return t&&t.__esModule?t:{default:t}}function uX(t,e,n){return(0,sX.default)(t,1,e,n)}Yd.default=(0,lX.default)(uX,3);xR.exports=Yd.default});var SR=v((Xd,jR)=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=gX;var cX=rR(),pX=PR(cX),dX=yR(),hX=PR(dX);function PR(t){return t&&t.__esModule?t:{default:t}}function gX(t,e){return(0,pX.default)(hX.default,t,e)}jR.exports=Xd.default});var Sb=v((fde,TR)=>{"use strict";TR.exports=Jt;var eh=ba().codes,mX=eh.ERR_METHOD_NOT_IMPLEMENTED,fX=eh.ERR_MULTIPLE_CALLBACK,wX=eh.ERR_TRANSFORM_ALREADY_TRANSFORMING,vX=eh.ERR_TRANSFORM_WITH_LENGTH_0,nh=Tr();Us()(Jt,nh);function CX(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(i===null)return this.emit("error",new fX);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";MR.exports=ou;var kR=Sb();Us()(ou,kR);function ou(t){if(!(this instanceof ou))return new ou(t);kR.call(this,t)}ou.prototype._transform=function(t,e,n){n(null,t)}});var RR=v((vde,WR)=>{"use strict";var Ob;function bX(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var HR=ba().codes,xX=HR.ERR_MISSING_ARGS,yX=HR.ERR_STREAM_DESTROYED;function qR(t){if(t)throw t}function PX(t){return t.setHeader&&typeof t.abort=="function"}function jX(t,e,n,i){i=bX(i);var a=!1;t.on("close",function(){a=!0}),Ob===void 0&&(Ob=Sd()),Ob(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,PX(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();i(s||new yX("pipe"))}}}function _R(t){t()}function SX(t,e){return t.pipe(e)}function OX(t){return!t.length||typeof t[t.length-1]!="function"?qR:t.pop()}function TX(){for(var t=arguments.length,e=new Array(t),n=0;n0;return jX(s,l,c,function(u){a||(a=u),u&&r.forEach(_R),!l&&(r.forEach(_R),i(a))})});return e.reduce(SX)}WR.exports=TX});var Mr=v((Ji,uu)=>{var lu=require("stream");process.env.READABLE_STREAM==="disable"&&lu?(uu.exports=lu.Readable,Object.assign(uu.exports,lu),uu.exports.Stream=lu):(Ji=uu.exports=db(),Ji.Stream=lu||Ji,Ji.Readable=Ji,Ji.Writable=Hd(),Ji.Duplex=Tr(),Ji.Transform=Sb(),Ji.PassThrough=ER(),Ji.finished=Sd(),Ji.pipeline=RR())});var Hb=v((Cde,zR)=>{var Zs=[],cu=[],Tb=function(){};function Mb(t){return~Zs.indexOf(t)?!1:(Zs.push(t),!0)}function Eb(t){Tb=t}function kX(t){for(var e=[],n=0;n{var qX=Hb(),_X=qX(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)});DR.exports=_X});var FR=v((bde,LR)=>{"use strict";var Ot={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]},UR=Object.create(null);for(let t in Ot)Object.hasOwn(Ot,t)&&(UR[Ot[t]]=t);var mn={to:{},get:{}};mn.get=function(t){let e=t.slice(0,3).toLowerCase(),n,i;switch(e){case"hsl":{n=mn.get.hsl(t),i="hsl";break}case"hwb":{n=mn.get.hwb(t),i="hwb";break}default:{n=mn.get.rgb(t),i="rgb";break}}return n?{model:i,value:n}:null};mn.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,c;if(o=t.match(n)){for(c=o[2],o=o[1],l=0;l<3;l++){let u=l*2;s[l]=Number.parseInt(o.slice(u,u+2),16)}c&&(s[3]=Number.parseInt(c,16)/255)}else if(o=t.match(e)){for(o=o[1],c=o[3],l=0;l<3;l++)s[l]=Number.parseInt(o[l]+o[l],16);c&&(s[3]=Number.parseInt(c+c,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(Ot,o[1])?(s=Ot[o[1]],s[3]=1,s):null:null;for(l=0;l<3;l++)s[l]=Oa(s[l],0,255);return s[3]=Oa(s[3],0,1),s};mn.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=Oa(Number.parseFloat(n[2]),0,100),s=Oa(Number.parseFloat(n[3]),0,100),o=Oa(Number.isNaN(i)?1:i,0,1);return[a,r,s,o]}return null};mn.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=Oa(Number.parseFloat(n[2]),0,100),s=Oa(Number.parseFloat(n[3]),0,100),o=Oa(Number.isNaN(i)?1:i,0,1);return[a,r,s,o]}return null};mn.to.hex=function(...t){return"#"+ih(t[0])+ih(t[1])+ih(t[2])+(t[3]<1?ih(Math.round(t[3]*255)):"")};mn.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]+")"};mn.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]+")"};mn.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]+")"};mn.to.hwb=function(...t){let e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};mn.to.keyword=function(...t){return UR[t.slice(0,3)]};function Oa(t,e,n){return Math.min(Math.max(e,t),n)}function ih(t){let e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var $R={};for(let t of Object.keys(Ot))$R[Ot[t]]=t;var R={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"]}},Kt=(6/29)**3;function Qs(t){let e=t>.0031308?1.055*t**.4166666666666667-.055:t*12.92;return Math.min(Math.max(0,e),1)}function Ys(t){return t>.04045?((t+.055)/1.055)**2.4:t/12.92}for(let t of Object.keys(R)){if(!("channels"in R[t]))throw new Error("missing channels property: "+t);if(!("labels"in R[t]))throw new Error("missing channel labels property: "+t);if(R[t].labels.length!==R[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:n}=R[t];delete R[t].channels,delete R[t].labels,Object.defineProperty(R[t],"channels",{value:e}),Object.defineProperty(R[t],"labels",{value:n})}R.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 c=(a+r)/2;return r===a?l=0:c<=.5?l=s/(r+a):l=s/(2-r-a),[o,l*100,c*100]};R.rgb.hsv=function(t){let e,n,i,a,r,s=t[0]/255,o=t[1]/255,l=t[2]/255,c=Math.max(s,o,l),u=c-Math.min(s,o,l),p=function(h){return(c-h)/6/u+1/2};if(u===0)a=0,r=0;else{switch(r=u/c,e=p(s),n=p(o),i=p(l),c){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,c*100]};R.rgb.hwb=function(t){let e=t[0],n=t[1],i=t[2],a=R.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]};R.rgb.oklab=function(t){let e=Ys(t[0]/255),n=Ys(t[1]/255),i=Ys(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,c=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,c*100]};R.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 HX(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}R.rgb.keyword=function(t){let e=$R[t];if(e)return e;let n=Number.POSITIVE_INFINITY,i;for(let a of Object.keys(Ot)){let r=Ot[a],s=HX(t,r);sKt?n**(1/3):7.787*n+16/116,i=i>Kt?i**(1/3):7.787*i+16/116,a=a>Kt?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]};R.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 c=0;c<3;c++)a=e+1/3*-(c-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[c]=r*255;return l};R.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]};R.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]}};R.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]};R.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),c,u,p;switch(s){default:case 6:case 0:{c=o,u=l,p=n;break}case 1:{c=l,u=o,p=n;break}case 2:{c=n,u=o,p=l;break}case 3:{c=n,u=l,p=o;break}case 4:{c=l,u=n,p=o;break}case 5:{c=o,u=n,p=l;break}}return[c*255,u*255,p*255]};R.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]};R.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=Qs(a),r=Qs(r),s=Qs(s),[a*255,r*255,s*255]};R.xyz.lab=function(t){let e=t[0],n=t[1],i=t[2];e/=95.047,n/=100,i/=108.883,e=e>Kt?e**(1/3):7.787*e+16/116,n=n>Kt?n**(1/3):7.787*n+16/116,i=i>Kt?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]};R.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,c=.0259040371*a+.7827717662*r-.808675766*s;return[o*100,l*100,c*100]};R.oklab.oklch=function(t){return R.lab.lch(t)};R.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,c=-.076381285*a-.421481978*r+1.58616322*s;return[o*100,l*100,c*100]};R.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=Qs(4.0767416621*a-3.3077115913*r+.2309699292*s),l=Qs(-1.2684380046*a+2.6097574011*r-.3413193965*s),c=Qs(-.0041960863*a-.7034186147*r+1.707614701*s);return[o*255,l*255,c*255]};R.oklch.oklab=function(t){return R.lch.lab(t)};R.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,c=s**3;return r=o>Kt?o:(r-16/116)/7.787,a=l>Kt?l:(a-16/116)/7.787,s=c>Kt?c:(s-16/116)/7.787,a*=95.047,r*=100,s*=108.883,[a,r,s]};R.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]};R.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]};R.rgb.ansi16=function(t,e=null){let[n,i,a]=t,r=e===null?R.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};R.hsv.ansi16=function(t){return R.rgb.ansi16(R.hsv.rgb(t),t[2])};R.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)};R.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]};R.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]};R.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};R.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]};R.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]};R.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]};R.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]};R.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]};R.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]};R.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]};R.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]};R.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]};R.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};R.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};R.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};R.gray.hsl=function(t){return[0,0,t[0]]};R.gray.hsv=R.gray.hsl;R.gray.hwb=function(t){return[0,100,t[0]]};R.gray.cmyk=function(t){return[0,0,0,t[0]]};R.gray.lab=function(t){return[t[0],0,0]};R.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};R.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};function WX(){let t={},e=Object.keys(R);for(let{length:n}=e,i=0;i0;){let i=n.pop(),a=Object.keys(R[i]);for(let{length:r}=a,s=0;s1&&(n=i),t(n))};return"conversion"in t&&(e.conversion=t.conversion),e}function UX(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=xn[this.model].channels;let a=Array.prototype.slice.call(t,0,i);this.color=Ib(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 Wb))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Wb[r];let{labels:s}=xn[this.model],o=[];for(n=0;n(t%360+360)%360),saturationl:nn("hsl",1,hn(100)),lightness:nn("hsl",2,hn(100)),saturationv:nn("hsv",1,hn(100)),value:nn("hsv",2,hn(100)),chroma:nn("hcg",1,hn(100)),gray:nn("hcg",2,hn(100)),white:nn("hwb",1,hn(100)),wblack:nn("hwb",2,hn(100)),cyan:nn("cmyk",0,hn(100)),magenta:nn("cmyk",1,hn(100)),yellow:nn("cmyk",2,hn(100)),black:nn("cmyk",3,hn(100)),x:nn("xyz",0,hn(95.047)),y:nn("xyz",1,hn(100)),z:nn("xyz",2,hn(108.833)),l:nn("lab",0,hn(100)),a:nn("lab",1),b:nn("lab",2),keyword(t){return t!==void 0?new gn(t):xn[this.model].keyword(this.color)},hex(t){return t!==void 0?new gn(t):mn.to.hex(...this.rgb().round().color)},hexa(t){if(t!==void 0)return new gn(t);let e=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),mn.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 gn.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 gn.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(xn)){if(BR.includes(t))continue;let{channels:e}=xn[t];gn.prototype[t]=function(...n){return this.model===t?new gn(this):n.length>0?new gn(n,t):new gn([...LX(xn[this.model][t].raw(this.color)),this.valpha],t)},gn[t]=function(...n){let i=n[0];return typeof i=="number"&&(i=Ib(n,e)),new gn(i,t)}}function $X(t,e){return Number(t.toFixed(e))}function BX(t){return function(e){return $X(e,t)}}function nn(t,e,n){t=Array.isArray(t)?t:[t];for(let i of t)(Rb[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 hn(t){return function(e){return Math.max(0,Math.min(t,e))}}function LX(t){return Array.isArray(t)?t:[t]}function Ib(t,e){for(let n=0;n{"use strict";function lt(t,e){if(e)return new lt(t).style(e);if(!(this instanceof lt))return new lt(t);this.text=t}lt.prototype.prefix="\x1B[";lt.prototype.suffix="m";lt.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)]};lt.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)};lt.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};lt.prototype.reset=function(){return this.prefix+"39;49"+this.suffix};lt.prototype.style=function(e){return this.prefix+"38;5;"+this.rgb.apply(this,this.hex(e))+this.suffix+this.text+this.reset()};VR.exports=lt});var ZR=v((yde,KR)=>{var KX=FR(),ZX=JR();KR.exports=function(e,n){var i=n.namespace,a=n.colors!==!1?ZX(i+":",KX(i)):i+":";return e[0]=a+" "+e[0],e}});var YR=v((Pde,QR)=>{"use strict";QR.exports=function(e,n){if(!n)return!1;for(var i=n.split(/[\s,]+/),a=0;a{var QX=YR();XR.exports=function(e){return function(i){try{return QX(i,e())}catch{}return!1}}});var iI=v((Sde,nI)=>{var YX=eI();nI.exports=YX(function(){return process.env.DEBUG||process.env.DIAGNOSTICS})});var aI=v((Ode,tI)=>{tI.exports=function(t,e){try{Function.prototype.apply.call(console.log,console,e)}catch{}}});var sI=v((Tde,rI)=>{var XX=Hb(),eee=require("tty").isatty(1),th=XX(function t(e,n){return n=n||{},n.colors="colors"in n?n.colors:eee,n.namespace=e,n.prod=!1,n.dev=!0,!t.enabled(e)&&!(n.force||t.force)?t.nope(n):t.yep(n)});th.modify(ZR());th.use(iI());th.set(aI());rI.exports=th});var pu=v((kde,zb)=>{process.env.NODE_ENV==="production"?zb.exports=GR():zb.exports=sI()});var lI=v((Mde,oI)=>{"use strict";var Db=require("fs"),{StringDecoder:nee}=require("string_decoder"),{Stream:iee}=Mr();function tee(){}oI.exports=(t,e)=>{let n=Buffer.alloc(65536),i=new nee("utf8"),a=new iee,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")},Db.open(t.file,"a+","0644",(l,c)=>{if(l){e?e(l):a.emit("error",l),a.destroy();return}(function u(){if(a.destroyed){Db.close(c,tee);return}return Db.read(c,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(u,1e3);let g=i.write(n.slice(0,h));e||a.emit("data",g),g=(r+g).split(/\n+/);let d=g.length-1,m=0;for(;mt.start)&&(e?e(null,g[m]):a.emit("line",g[m])),o++;return r=g[d],s+=h,u()})})()}),e?a.destroy:a}});var dI=v((qde,pI)=>{"use strict";var vi=require("fs"),yn=require("path"),uI=SR(),aee=require("zlib"),{MESSAGE:ree}=ln(),{Stream:see,PassThrough:cI}=Mr(),oee=Vs(),ut=pu()("winston:file"),lee=require("os"),uee=lI();pI.exports=class extends oee{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 cI,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?yn.basename(e.filename):"winston.log",this.dirname=e.dirname||yn.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=yn.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:lee.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[ree]}${this.eol}`,a=Buffer.byteLength(i);function r(){if(this._size+=a,this._pendingSize-=a,ut("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()})),ut("written",s,this._drain),this.finishIfEnding(),s}query(e,n){typeof e=="function"&&(n=e,e={}),e=p(e);let i=yn.join(this.dirname,this.filename),a="",r=[],s=0,o=vi.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 g=h.length-1,d=0;for(;d=e.start)&&l(h[d]),s++;a=h[g]}),o.on("close",()=>{a&&l(a,!0),e.order==="desc"&&(r=r.reverse()),n&&n(null,r)});function l(h,g){try{let d=JSON.parse(h);u(d)&&c(d)}catch(d){g||o.emit("error",d)}}function c(h){if(e.rows&&r.length>=e.rows&&e.order!=="desc"){o.readable&&o.destroy();return}e.fields&&(h=e.fields.reduce((g,d)=>(g[d]=h[d],g),{})),e.order==="desc"&&r.length>=e.rows&&r.shift(),r.push(h)}function u(h){if(!h||typeof h!="object")return;let g=new Date(h.timestamp);if(!(e.from&&ge.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=yn.join(this.dirname,this.filename),i=new see,a={file:n,start:e.start};return i.destroy=uee(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);ut("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=yn.join(this.dirname,n);vi.stat(i,(a,r)=>{if(a&&a.code==="ENOENT")return ut("ENOENT\xA0ok",i),this.filename=n,e(null,0);if(a)return ut(`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=yn.join(this.dirname,this.filename);ut("create stream start",n,this.options);let i=vi.createWriteStream(n,this.options).on("error",a=>ut(a)).on("close",()=>ut("close",i.path,i.bytesWritten)).on("open",()=>{ut("file open ok",n),this.emit("open",n),e.pipe(i),this.rotatedWhileOpening&&(this._stream=new cI,this._stream.setMaxListeners(30),this._rotateFile(),this.rotatedWhileOpening=!1,this._cleanupStream(i),e.end())});return ut("create stream ok",n),i}_incFile(e){ut("_incFile",this.filename);let n=yn.extname(this._basename),i=yn.basename(this._basename,n),a=[];this.zippedArchive&&a.push(function(r){let s=this._created>0&&!this.tailable?this._created:"";this._compressFile(yn.join(this.dirname,`${i}${s}${n}`),yn.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)),uI(a,e)}_getFile(){let e=yn.extname(this._basename),n=yn.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 c=`${n}${o-1}${e}${r}`,u=yn.join(this.dirname,c);vi.exists(u,p=>{if(!p)return l(null);c=`${n}${o}${e}${r}`,vi.rename(u,yn.join(this.dirname,c),l)})}.bind(this,s));uI(a,()=>{vi.rename(yn.join(this.dirname,`${n}${e}${r}`),yn.join(this.dirname,`${n}1${e}${r}`),i)})}_compressFile(e,n,i){vi.access(e,vi.F_OK,a=>{if(a)return i();var r=aee.createGzip(),s=vi.createReadStream(e),o=vi.createWriteStream(n);o.on("finish",()=>{vi.unlink(e,i)}),s.pipe(r).pipe(o)})}_createLogDirIfNotExist(e){vi.existsSync(e)||vi.mkdirSync(e,{recursive:!0})}}});var gI=v((Hde,hI)=>{"use strict";var cee=require("http"),pee=require("https"),{Stream:dee}=Mr(),hee=Vs(),{configure:gee}=Kl();hI.exports=class extends hee{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 dee;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,c=0;for(;cn.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?pee:cee).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=gee({...this.maximumDepth&&{maximumDepth:this.maximumDepth}});s.end(Buffer.from(o(e,this.options.replacer),"utf8"))}}});var Gb=v((Wde,mI)=>{"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";mI.exports=Tt});var wI=v((Ide,fI)=>{"use strict";var mee=Gb(),{MESSAGE:fee}=ln(),wee=require("os"),vee=Vs();fI.exports=class extends vee{constructor(e={}){if(super(e),!e.stream||!mee(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:wee.EOL}log(e,n){if(setImmediate(()=>this.emit("logged",e)),this.isObjectMode){this._stream.write(e),n&&n();return}this._stream.write(`${e[fee]}${this.eol}`),n&&n()}}});var vI=v(du=>{"use strict";Object.defineProperty(du,"Console",{configurable:!0,enumerable:!0,get(){return BW()}});Object.defineProperty(du,"File",{configurable:!0,enumerable:!0,get(){return dI()}});Object.defineProperty(du,"Http",{configurable:!0,enumerable:!0,get(){return gI()}});Object.defineProperty(du,"Stream",{configurable:!0,enumerable:!0,get(){return wI()}})});var rh=v(hu=>{"use strict";var ah=UA(),{configs:Nb}=ln();hu.cli=ah.levels(Nb.cli);hu.npm=ah.levels(Nb.npm);hu.syslog=ah.levels(Nb.syslog);hu.addColors=ah.levels});var AI=v((sh,CI)=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});var Cee=zd(),Aee=Er(Cee),bee=Jd(),xee=Er(bee),yee=jb(),Pee=Er(yee),jee=xb(),See=Er(jee),Oee=yb(),Tee=Er(Oee),kee=kr(),Mee=Er(kee),Eee=Ks(),qee=Er(Eee);function Er(t){return t&&t.__esModule?t:{default:t}}function _ee(t,e,n){n=(0,See.default)(n);var i=0,a=0,{length:r}=t,s=!1;r===0&&n(null);function o(l,c){l===!1&&(s=!0),s!==!0&&(l?n(l):(++a===r||c===xee.default)&&n(null))}for(;i{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.default=Ree;function Ree(t){return(e,n,i)=>t(e,i)}bI.exports=oh.default});var ch=v((uh,yI)=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});var Iee=AI(),zee=lh(Iee),Dee=xI(),Gee=lh(Dee),Nee=kr(),Uee=lh(Nee),$ee=Ks(),Bee=lh($ee);function lh(t){return t&&t.__esModule?t:{default:t}}function Lee(t,e,n){return(0,zee.default)(t,(0,Gee.default)((0,Uee.default)(e)),n)}uh.default=(0,Bee.default)(Lee,3);yI.exports=uh.default});var jI=v((Gde,PI)=>{"use strict";var Fee=Object.prototype.toString;PI.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=Fee.call(e).slice(8,-1);return i==="Function"?n=n.substring(n.indexOf("(")+1,n.indexOf(")")):n=i,n||"anonymous"}});var Ub=v((Nde,SI)=>{"use strict";var Vee=jI();SI.exports=function(e){var n=0,i;function a(){return n||(n=1,i=e.apply(this,arguments),e=null),i}return a.displayName=Vee(e),a}});var $b=v(mu=>{mu.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||mu.get);var a=n.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=e,a};mu.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,c=null,u=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,c=s),s===""&&(c=null,o=null);var g={fileName:a[2]||null,lineNumber:parseInt(a[3],10)||null,functionName:o,typeName:l,methodName:c,columnNumber:parseInt(a[4],10)||null,native:u};return e._createParsedCallSite(g)}}).filter(function(i){return!!i})};function gu(t){for(var e in t)this[e]=t[e]}var Jee=["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"],Kee=["topLevel","eval","native","constructor"];Jee.forEach(function(t){gu.prototype[t]=null,gu.prototype["get"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});Kee.forEach(function(t){gu.prototype[t]=!1,gu.prototype["is"+t[0].toUpperCase()+t.substr(1)]=function(){return this[t]}});mu._createParsedCallSite=function(t){return new gu(t)}});var TI=v((Bde,OI)=>{"use strict";var{Writable:Zee}=Mr();OI.exports=class extends Zee{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 Lb=v((Fde,EI)=>{"use strict";var kI=require("os"),Qee=ch(),Bb=pu()("winston:exception"),Yee=Ub(),MI=$b(),Xee=TI();EI.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:kI.loadavg(),uptime:kI.uptime()}}getTrace(e){return(e?MI.parse(e):MI.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 Xee(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(){Bb("doExit",a),Bb("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!i||i.length===0)return process.nextTick(s);Qee(i,(o,l)=>{let c=Yee(l),u=o.transport||o;function p(h){return()=>{Bb(h),c()}}u._ending=!0,u.once("finish",p("finished")),u.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 _I=v((Jde,qI)=>{"use strict";var{Writable:ene}=Mr();qI.exports=class extends ene{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 Vb=v((Zde,RI)=>{"use strict";var HI=require("os"),nne=ch(),Fb=pu()("winston:rejection"),ine=Ub(),WI=$b(),tne=_I();RI.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:HI.loadavg(),uptime:HI.uptime()}}getTrace(e){return(e?WI.parse(e):WI.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 tne(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(){Fb("doExit",a),Fb("process._exiting",process._exiting),a&&!process._exiting&&(r&&clearTimeout(r),process.exit(1))}if(!i||i.length===0)return process.nextTick(s);nne(i,(o,l)=>{let c=ine(l),u=o.transport||o;function p(h){return()=>{Fb(h),c()}}u._ending=!0,u.once("finish",p("finished")),u.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 zI=v((Qde,II)=>{"use strict";var Jb=class{constructor(e){let n=ph();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)}};II.exports=Jb});var ph=v((Yde,UI)=>{"use strict";var{Stream:ane,Transform:rne}=Mr(),DI=ch(),{LEVEL:kt,SPLAT:GI}=ln(),NI=Gb(),sne=Lb(),one=Vb(),lne=Cb(),une=zI(),{warn:cne}=$A(),pne=rh(),dne=/%[scdjifoO%]/g,dh=class extends rne{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:c,formatters:u,padLevels:p,rewriters:h,stripColors:g,exceptionHandlers:d,rejectionHandlers:m}={}){if(this.transports.length&&this.clear(),this.silent=e,this.format=n||this.format||IA()(),this.defaultMeta=i||null,this.levels=a||this.levels||pne.npm.levels,this.level=r,this.exceptions&&this.exceptions.unhandle(),this.rejections&&this.rejections.unhandle(),this.exceptions=new sne(this),this.rejections=new one(this),this.profilers={},this.exitOnError=s,o&&(o=Array.isArray(o)?o:[o],o.forEach(w=>this.add(w))),l||c||u||p||h||g)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(` +`));d&&this.exceptions.handle(d),m&&this.rejections.handle(m)}getHighestLogLevel(){let e=fu(this.levels,this.level);return!this.transports||this.transports.length===0?e:this.transports.reduce((n,i)=>{let a=fu(this.levels,i.level);return a!==null&&a>n?a:n},e)}isLevelEnabled(e){let n=fu(this.levels,e);if(n===null)return!1;let i=fu(this.levels,this.level);return i===null?!1:!this.transports||this.transports.length===0?i>=n:this.transports.findIndex(r=>{let s=fu(this.levels,r.level);return s===null&&(s=i),s>=n})!==-1}log(e,n,...i){if(arguments.length===1)return e[kt]=e.level,this._addDefaultMeta(e),this.write(e),this;if(arguments.length===2)return n&&typeof n=="object"?(n[kt]=n.level=e,this._addDefaultMeta(n),this.write(n),this):(n={[kt]: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(dne))){let s=Object.assign({},this.defaultMeta,a,{[kt]:e,[GI]: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,{[kt]:e,[GI]:i,level:e,message:n})),this}_transform(e,n,i){if(this.silent)return i();e[kt]||(e[kt]=e.level),!this.levels[e[kt]]&&this.levels[e[kt]]!==0&&console.error("[winston] Unknown logger level: %s",e[kt]),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();DI(n,(i,a)=>{if(!i||i.finished)return setImmediate(a);i.once("finish",a),i.end()},e)}add(e){let n=!NI(e)||e.log.length>2?new lne({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(!NI(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(){cne.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,(c,u)=>{if(c)return l(c);typeof o.formatResults=="function"&&(u=o.formatResults(u,e.format)),l(null,u)})}function s(o,l){r(o,(c,u)=>{l&&(u=c||u,u&&(i[o.name]=u),l()),l=null})}DI(this.transports.filter(o=>!!o.query),s,()=>n(null,i))}stream(e={}){let n=new ane,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 une(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 fu(t,e){let n=t[e];return!n&&n!==0?null:n}Object.defineProperty(dh.prototype,"transports",{configurable:!1,enumerable:!0,get(){let{pipes:t}=this._readableState;return Array.isArray(t)?t:[t].filter(Boolean)}});UI.exports=dh});var Kb=v((Xde,$I)=>{"use strict";var{LEVEL:hne}=ln(),gne=rh(),mne=ph(),fne=pu()("winston:create-logger");function wne(t){return"is"+t.charAt(0).toUpperCase()+t.slice(1)+"Enabled"}$I.exports=function(t={}){t.levels=t.levels||gne.npm.levels;class e extends mne{constructor(a){super(a)}}let n=new e(t);return Object.keys(t.levels).forEach(function(i){if(fne('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[hne]=i,r._addDefaultMeta(o),r.write(o),this||n}return a.length===0?(r.log(i,""),r):r.log(i,...a)},e.prototype[wne(i)]=function(){return(this||n).isLevelEnabled(i)}}),n}});var LI=v((nhe,BI)=>{"use strict";var vne=Kb();BI.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=vne(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 VI=v(Ge=>{"use strict";var FI=UA(),{warn:wu}=$A();Ge.version=UH().version;Ge.transports=vI();Ge.config=rh();Ge.addColors=FI.levels;Ge.format=FI.format;Ge.createLogger=Kb();Ge.Logger=ph();Ge.ExceptionHandler=Lb();Ge.RejectionHandler=Vb();Ge.Container=LI();Ge.Transport=Vs();Ge.loggers=new Ge.Container;var Mt=Ge.createLogger();Object.keys(Ge.config.npm.levels).concat(["log","query","stream","add","remove","clear","profile","startTimer","handleExceptions","unhandleExceptions","handleRejections","unhandleRejections","configure","child"]).forEach(t=>Ge[t]=(...e)=>Mt[t](...e));Object.defineProperty(Ge,"level",{get(){return Mt.level},set(t){Mt.level=t}});Object.defineProperty(Ge,"exceptions",{get(){return Mt.exceptions}});Object.defineProperty(Ge,"rejections",{get(){return Mt.rejections}});["exitOnError"].forEach(t=>{Object.defineProperty(Ge,t,{get(){return Mt[t]},set(e){Mt[t]=e}})});Object.defineProperty(Ge,"default",{get(){return{exceptionHandlers:Mt.exceptionHandlers,rejectionHandlers:Mt.rejectionHandlers,transports:Mt.transports}}});wu.deprecated(Ge,"setLevels");wu.forFunctions(Ge,"useFormat",["cli"]);wu.forProperties(Ge,"useFormat",["padLevels","stripColors"]);wu.forFunctions(Ge,"deprecated",["addRewriter","addFilter","clone","extend"]);wu.forProperties(Ge,"deprecated",["emitErrs","levelLength"])});var QI=v((the,ZI)=>{var vu=require("path"),JI=require("fs"),KI=parseInt("0777",8);ZI.exports=Xs.mkdirp=Xs.mkdirP=Xs;function Xs(t,e,n,i){typeof e=="function"?(n=e,e={}):(!e||typeof e!="object")&&(e={mode:e});var a=e.mode,r=e.fs||JI;a===void 0&&(a=KI),i||(i=null);var s=n||function(){};t=vu.resolve(t),r.mkdir(t,a,function(o){if(!o)return i=i||t,s(null,i);switch(o.code){case"ENOENT":if(vu.dirname(t)===t)return s(o);Xs(vu.dirname(t),e,function(l,c){l?s(l,c):Xs(t,e,s,c)});break;default:r.stat(t,function(l,c){l||!c.isDirectory()?s(o,i):s(null,i)});break}})}Xs.sync=function t(e,n,i){(!n||typeof n!="object")&&(n={mode:n});var a=n.mode,r=n.fs||JI;a===void 0&&(a=KI),i||(i=null),e=vu.resolve(e);try{r.mkdirSync(e,a),i=i||e}catch(o){switch(o.code){case"ENOENT":i=t(vu.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 Zb=v((ahe,YI)=>{function Cne(t){this.name="DuplicateSectionError",this.message=t+" already exists",Error.captureStackTrace(this,this.constructor)}function Ane(t){this.name=this.constructor.name,this.message="Section "+t+" does not exist.",Error.captureStackTrace(this,this.constructor)}function bne(t,e,n){this.name=this.constructor.name,this.message=`Source contains parsing errors. file: `+t+" line: "+e+` -`+n,Error.captureStackTrace(this,this.constructor)}function OY(t,e,n){this.name=this.constructor.name,this.message=`File contains no section headers. +`+n,Error.captureStackTrace(this,this.constructor)}function xne(t,e,n){this.name=this.constructor.name,this.message=`File contains no section headers. file: `+t+" line: "+e+` -`+n,Error.captureStackTrace(this,this.constructor)}function TY(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)}rI.exports={DuplicateSectionError:PY,NoSectionError:jY,ParseError:SY,MissingSectionHeaderError:OY,MaximumInterpolationDepthError:TY}});var uI=v((Eue,lI)=>{var MY=UA(),sI=new RegExp(/%\(([\w-]+)\)s/),$A=50;function kY(t,e,n){return oI(t,e,n,1)}function oI(t,e,n,i){let a=t.get(e,n,!0);if(i>$A)throw new MY.MaximumInterpolationDepthError(e,n,a,$A);let r=sI.exec(a);for(;r!==null;){let s=r[1],o=oI(t,e,s,i+1);a=a.substr(0,r.index)+o+a.substr(r.index+r[0].length),r=sI.exec(a)}return a}lI.exports={interpolate:kY,MAXIMUM_INTERPOLATION_DEPTH:$A}});var fI=v((_ue,mI)=>{var Pd=require("util"),Vl=require("fs"),cI=require("path"),pI=aI(),yd=UA(),EY=uI(),qY=new RegExp(/^\s*\[([^\]]+)]$/),_Y=new RegExp(/^\s*(.*?)\s*[=:]\s*(.*)$/),HY=new RegExp(/^\s*[;#]/),dI=new RegExp(/\r\n|[\n\r\u0085\u2028\u2029]/g),RY=Pd.promisify(Vl.readFile),IY=Pd.promisify(Vl.writeFile),que=Pd.promisify(Vl.stat),WY=Pd.promisify(pI);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 yd.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 yd.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=Vl.readFileSync(t).toString("utf8").split(dI);hI.call(this,t,e)};En.prototype.readAsync=async function(t){let e=(await RY(t)).toString("utf8").split(dI);hI.call(this,t,e)};En.prototype.get=function(t,e,n){if(this._sections.hasOwnProperty(t))return n?this._sections[t][e]:EY.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=cI.dirname(t);pI.sync(n)}Vl.writeFileSync(t,gI.call(this))};En.prototype.writeAsync=async function(t,e=!1){if(e){let n=cI.dirname(t);await WY(n)}await IY(t,gI.call(this))};function hI(t,e){let n=null;e.forEach((i,a)=>{if(!i||i.match(HY))return;let r=qY.exec(i);if(r){let s=r[1];n={},this._sections[s]=n}else if(n)if(r=_Y.exec(i),r){let s=r[1];n[s]=r[2]}else throw new yd.ParseError(t,a,i);else throw new yd.MissingSectionHeaderError(t,a,i)})}function gI(){let t="",e;for(e in this._sections){if(!this._sections.hasOwnProperty(e))continue;t+="["+e+`] +`+n,Error.captureStackTrace(this,this.constructor)}function yne(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)}YI.exports={DuplicateSectionError:Cne,NoSectionError:Ane,ParseError:bne,MissingSectionHeaderError:xne,MaximumInterpolationDepthError:yne}});var i1=v((rhe,n1)=>{var Pne=Zb(),XI=new RegExp(/%\(([\w-]+)\)s/),Qb=50;function jne(t,e,n){return e1(t,e,n,1)}function e1(t,e,n,i){let a=t.get(e,n,!0);if(i>Qb)throw new Pne.MaximumInterpolationDepthError(e,n,a,Qb);let r=XI.exec(a);for(;r!==null;){let s=r[1],o=e1(t,e,s,i+1);a=a.substr(0,r.index)+o+a.substr(r.index+r[0].length),r=XI.exec(a)}return a}n1.exports={interpolate:jne,MAXIMUM_INTERPOLATION_DEPTH:Qb}});var u1=v((ohe,l1)=>{var gh=require("util"),Cu=require("fs"),t1=require("path"),a1=QI(),hh=Zb(),Sne=i1(),One=new RegExp(/^\s*\[([^\]]+)]$/),Tne=new RegExp(/^\s*(.*?)\s*[=:]\s*(.*)$/),kne=new RegExp(/^\s*[;#]/),r1=new RegExp(/\r\n|[\n\r\u0085\u2028\u2029]/g),Mne=gh.promisify(Cu.readFile),Ene=gh.promisify(Cu.writeFile),she=gh.promisify(Cu.stat),qne=gh.promisify(a1);function Wn(){this._sections={}}Wn.prototype.sections=function(){return Object.keys(this._sections)};Wn.prototype.addSection=function(t){if(this._sections.hasOwnProperty(t))throw new hh.DuplicateSectionError(t);this._sections[t]={}};Wn.prototype.hasSection=function(t){return this._sections.hasOwnProperty(t)};Wn.prototype.keys=function(t){try{return Object.keys(this._sections[t])}catch{throw new hh.NoSectionError(t)}};Wn.prototype.hasKey=function(t,e){return this._sections.hasOwnProperty(t)&&this._sections[t].hasOwnProperty(e)};Wn.prototype.read=function(t){let e=Cu.readFileSync(t).toString("utf8").split(r1);s1.call(this,t,e)};Wn.prototype.readAsync=async function(t){let e=(await Mne(t)).toString("utf8").split(r1);s1.call(this,t,e)};Wn.prototype.get=function(t,e,n){if(this._sections.hasOwnProperty(t))return n?this._sections[t][e]:Sne.interpolate(this,t,e)};Wn.prototype.getInt=function(t,e,n){if(this._sections.hasOwnProperty(t))return n||(n=10),parseInt(this._sections[t][e],n)};Wn.prototype.getFloat=function(t,e){if(this._sections.hasOwnProperty(t))return parseFloat(this._sections[t][e])};Wn.prototype.items=function(t){return this._sections[t]};Wn.prototype.set=function(t,e,n){this._sections.hasOwnProperty(t)&&(this._sections[t][e]=n)};Wn.prototype.removeKey=function(t,e){return this._sections.hasOwnProperty(t)&&this._sections[t].hasOwnProperty(e)?delete this._sections[t][e]:!1};Wn.prototype.removeSection=function(t){return this._sections.hasOwnProperty(t)?delete this._sections[t]:!1};Wn.prototype.write=function(t,e=!1){if(e){let n=t1.dirname(t);a1.sync(n)}Cu.writeFileSync(t,o1.call(this))};Wn.prototype.writeAsync=async function(t,e=!1){if(e){let n=t1.dirname(t);await qne(n)}await Ene(t,o1.call(this))};function s1(t,e){let n=null;e.forEach((i,a)=>{if(!i||i.match(kne))return;let r=One.exec(i);if(r){let s=r[1];n={},this._sections[s]=n}else if(n)if(r=Tne.exec(i),r){let s=r[1];n[s]=r[2]}else throw new hh.ParseError(t,a,i);else throw new hh.MissingSectionHeaderError(t,a,i)})}function o1(){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+` `}t+=` -`}return t}mI.exports=En});var vI=v((Hue,wI)=>{"use strict";var zY=Mq();function DY(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var LA=DY(zY),GY={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"},Jl=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()}},ga=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}},jd=class extends Jl{constructor(e,n){super(),e!=null?this.setTimeout(e):this.timeout=16e3,n!=null?this.setHttpsAgent(n):this.httpsAgent,this._axiosInstance=LA.default.create({})}enableHooks(){this.preHook&&typeof this.preHook=="function"&&(this.requestInterceptorId!==void 0&&LA.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&&LA.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 ga))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}},NY={levels:{none:0,error:1,debug:2,trace:3}},Rs={level:{LNone:"none",LError:"error",LDebug:"debug",LTrace:"trace"}},Cr={formats:{JSON:"json",TEXT:"text"}},BA=class{get logLevelEnum(){return Rs}get logFormatEnum(){return Cr}constructor(){this.log_level=Rs.level.LNone,this.log_format=Cr.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=eI();this.logger=e.createLogger({levels:NY.levels,level:this.log_level}),this.log_file_path&&this.log_file_path!==""&&(this.log_format===Cr.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===Cr.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 c=this.formatLog(e,n,i,a,r,s,o,l);if(typeof window<"u"){var u=this.calculateLogLevel(e);u>0&&this.log_to_console===!0&&(this.log_format===this.logFormatEnum.formats.JSON?console.log(c):console.log(`${e.toUpperCase()}: ${c}`))}else this.logger.transports.length>0&&this.logger.log(e,c)}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 c,u=r?JSON.parse(JSON.stringify(r)):null,d=s?JSON.parse(JSON.stringify(s)):null,h=o?JSON.parse(JSON.stringify(o)):null,g=l?JSON.parse(JSON.stringify(l)):null;return r&&(u.Authorization="[REDACTED]"),this.log_request_body||(h=void 0),this.log_response_body||(g=void 0),this.log_format&&this.log_format===Cr.formats.JSON?(c={level:e,date:new Date().toISOString(),method:i,url:decodeURIComponent(a),correlationId:d&&d["inin-correlation-id"]?d["inin-correlation-id"]:"",statusCode:n},u&&(c.requestHeaders=u),d&&(c.responseHeaders=d),h&&(c.requestBody=h),g&&(c.responseBody=g)):c=`${new Date().toISOString()} +`}return t}l1.exports=Wn});var p1=v((lhe,c1)=>{"use strict";var _ne=x2();function Hne(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var Yb=Hne(_ne),Wne={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"},Au=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()}},Ta=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}},mh=class extends Au{constructor(e,n){super(),e!=null?this.setTimeout(e):this.timeout=16e3,n!=null?this.setHttpsAgent(n):this.httpsAgent,this._axiosInstance=Yb.default.create({})}enableHooks(){this.preHook&&typeof this.preHook=="function"&&(this.requestInterceptorId!==void 0&&Yb.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&&Yb.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 Ta))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}},Rne={levels:{none:0,error:1,debug:2,trace:3}},eo={level:{LNone:"none",LError:"error",LDebug:"debug",LTrace:"trace"}},qr={formats:{JSON:"json",TEXT:"text"}},Xb=class{get logLevelEnum(){return eo}get logFormatEnum(){return qr}constructor(){this.log_level=eo.level.LNone,this.log_format=qr.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=VI();this.logger=e.createLogger({levels:Rne.levels,level:this.log_level}),this.log_file_path&&this.log_file_path!==""&&(this.log_format===qr.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===qr.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 c=this.formatLog(e,n,i,a,r,s,o,l);if(typeof window<"u"){var u=this.calculateLogLevel(e);u>0&&this.log_to_console===!0&&(this.log_format===this.logFormatEnum.formats.JSON?console.log(c):console.log(`${e.toUpperCase()}: ${c}`))}else this.logger.transports.length>0&&this.logger.log(e,c)}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 c,u=r?JSON.parse(JSON.stringify(r)):null,p=s?JSON.parse(JSON.stringify(s)):null,h=o?JSON.parse(JSON.stringify(o)):null,g=l?JSON.parse(JSON.stringify(l)):null;return r&&(u.Authorization="[REDACTED]"),this.log_request_body||(h=void 0),this.log_response_body||(g=void 0),this.log_format&&this.log_format===qr.formats.JSON?(c={level:e,date:new Date().toISOString(),method:i,url:decodeURIComponent(a),correlationId:p&&p["inin-correlation-id"]?p["inin-correlation-id"]:"",statusCode:n},u&&(c.requestHeaders=u),p&&(c.responseHeaders=p),h&&(c.requestBody=h),g&&(c.responseBody=g)):c=`${new Date().toISOString()} === REQUEST === ${this.formatValue("URL",decodeURIComponent(a))}${this.formatValue("Method",i)}${this.formatValue("Headers",this.formatHeaderString(u))}${this.formatValue("Body",h?JSON.stringify(h,null,2):"")} === RESPONSE === -${this.formatValue("Status",n)}${this.formatValue("Headers",this.formatHeaderString(d))}${this.formatValue("CorrelationId",d&&d["inin-correlation-id"]?d["inin-correlation-id"]:"")}${this.formatValue("Body",g?JSON.stringify(g,null,2):"")}`,c}formatHeaderString(e){var n="";if(!e)return n;for(let[i,a]of Object.entries(e))n+=` +${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",g?JSON.stringify(g,null,2):"")}`,c}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 Rs.level.LError;case"debug":return Rs.level.LDebug;case"trace":return Rs.level.LTrace;default:return Rs.level.LNone}}getLogFormat(e){return e==="json"?Cr.formats.JSON:Cr.formats.TEXT}},FA=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.authPopupConfiguration=this._getDefaultAuthPopupConfiguration(),this.logger=new BA,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=fI();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}_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 n={};return this.authPopupConfiguration?n=JSON.parse(JSON.stringify(this.authPopupConfiguration)):n=this._getDefaultAuthPopupConfiguration(),typeof e=="object"&&e&&(typeof e.usePopup=="boolean"&&e.usePopup!==null&&e.usePopup!==void 0&&(n.usePopup=e.usePopup),typeof e.popupTimeout=="number"&&e.popupTimeout!==null&&e.popupTimeout!==void 0&&(n.popupTimeout=e.popupTimeout),typeof e.autoClosePopup=="boolean"&&e.autoClosePopup!==null&&e.autoClosePopup!==void 0&&(n.autoClosePopup=e.autoClosePopup),typeof e.autoClosePopupDelay=="number"&&e.autoClosePopupDelay!==null&&e.autoClosePopupDelay!==void 0&&(n.autoClosePopupDelay=e.autoClosePopupDelay),typeof e.popupTarget=="string"&&e.popupTarget!==null&&e.popupTarget!==void 0&&(n.popupTarget=e.popupTarget),typeof e.popupWindowFeatures=="string"&&e.popupWindowFeatures!==null&&e.popupWindowFeatures!==void 0&&(n.popupWindowFeatures=e.popupWindowFeatures),typeof e.overridePopupUrl=="string"&&e.overridePopupUrl!==null&&e.overridePopupUrl!==void 0&&(n.overridePopupUrl=e.overridePopupUrl),typeof e.overridePopupUrlParameters=="object"&&e.overridePopupUrlParameters!==null&&e.overridePopupUrlParameters!==void 0&&(n.overridePopupUrlParameters=e.overridePopupUrlParameters),typeof e.overridePopupUrlAuthParameters=="boolean"&&e.overridePopupUrlAuthParameters!==null&&e.overridePopupUrlAuthParameters!==void 0&&(n.overridePopupUrlAuthParameters=e.overridePopupUrlAuthParameters),typeof e.notifyPopup=="boolean"&&e.notifyPopup!==null&&e.notifyPopup!==void 0&&(n.notifyPopup=e.notifyPopup),typeof e.waitForLoginPromise=="boolean"&&e.waitForLoginPromise!==null&&e.waitForLoginPromise!==void 0&&(n.waitForLoginPromise=e.waitForLoginPromise),typeof e.useWindowReplace=="boolean"&&e.useWindowReplace!==null&&e.useWindowReplace!==void 0&&(n.useWindowReplace=e.useWindowReplace),typeof e.overrideWindowReplaceUri=="string"&&e.overrideWindowReplaceUri!==null&&e.overrideWindowReplaceUri!==void 0&&(n.overrideWindowReplaceUri=e.overrideWindowReplaceUri),typeof e.usePopupIdentifier=="boolean"&&e.usePopupIdentifier!==null&&e.usePopupIdentifier!==void 0&&(n.usePopupIdentifier=e.usePopupIdentifier)),n}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,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]}},E=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 FA,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)}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 Jl))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 jd(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)}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(n=>n!==e)}}removeAllAuthPopupStatusListeners(){this._listenersAuthPopupStatus&&(this._listenersAuthPopupStatus=[])}_emitAuthPopupStatus(e,n,i){this.onAuthPopupStatus&&this.onAuthPopupStatus(e,n,i),!(!this._listenersAuthPopupStatus||this._listenersAuthPopupStatus.length==0)&&this._listenersAuthPopupStatus.forEach(a=>a(e,n,i))}_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 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("")}}_startAuthPopup(e,n,i){try{i||(i={}),this._checkPopupTimeout&&clearTimeout(this._checkPopupTimeout),this._checkPopupTimeout=null,this._notifyPopupInterval&&clearInterval(this._notifyPopupInterval),this._notifyPopupInterval=null,window.removeEventListener("message",this._handleAuthPopupMessage),this._authPopupWindow&&(i.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(i.overridePopupUrl){let r=null;i.overridePopupUrlAuthParameters===!0&&n?i.overridePopupUrlParameters?r={...n,...i.overridePopupUrlParameters}:r=n:i.overridePopupUrlParameters&&(r=i.overridePopupUrlParameters),r?a=`${i.overridePopupUrl}?${new URLSearchParams(r).toString()}`:a=i.overridePopupUrl}return new Promise((r,s)=>{window.addEventListener("message",o=>this._handleAuthPopupMessage(o,i,r,s)),this._authPopupWindow=window.open(a,i.popupTarget,i.popupWindowFeatures),i.notifyPopup===!0&&(this._notifyPopupInterval=setInterval(function(){if(this._authPopupWindow){let o=new URL(this.redirectUri),l={name:"gc_auth_popup",type:"notify"};i.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),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),this._checkPopupTimeout=null,this._notifyPopupInterval&&clearInterval(this._notifyPopupInterval),this._notifyPopupInterval=null,s(new Error("Authentication Popup Timeout"))}.bind(this),i.popupTimeout)})}catch(a){throw console.error(a),a}}_extractValuesFromSearchAndHash(e,n){let i={};if(e&&e!=="?"){let a=new URLSearchParams(e),r=a.get("code");r&&(i.code=r);let s=a.get("state");s&&(i.state=s);let o=a.get("error");o&&(i.error=o);let l=a.get("error_description");l&&(i.error_description=l)}if(n&&n!=="#"){let a=new URLSearchParams(n.substring(1)),r=a.get("access_token");r&&(i.accessToken=r);let s=a.get("expires_in");s&&(i.tokenExpiryTime=new Date().getTime()+parseInt(s)*1e3,i.tokenExpiryTimeString=new Date(i.tokenExpiryTime).toUTCString());let o=a.get("state");o&&(i.state=o);let l=a.get("error");l&&(i.error=l);let c=a.get("error_description");c&&(i.error_description=c)}return i}_handleAuthPopupMessage(e,n,i,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),n.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"));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);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}`));n.useWindowReplace===!0?(this._emitAuthPopupStatus("REDIRECTING","Authorization Popup Completed",this._popupIdentifier),this._popupIdentifier=null,n.overrideWindowReplaceUri?window.location.replace(`${n.overrideWindowReplaceUri}${o||""}${l||""}`):window.location.replace(`${window.location.origin}${window.location.pathname}${o||""}${l||""}`),i(null)):s&&s.accessToken?(this._saveSettings(s),this._testTokenAccess().then(()=>{this._emitAuthPopupStatus("AUTHENTICATED","Authorization Popup Completed",this._popupIdentifier),this._popupIdentifier=null,i(s)}).catch(c=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${c.name}] ${c.message}`,this._popupIdentifier),this._popupIdentifier=null,this._saveSettings({accessToken:void 0}),a(new Error(`[${c.name}] ${c.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`)),i(this.authData)}).catch(c=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${c.name}] ${c.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(`[${c.name}] ${c.message}`))))}).catch(c=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${c.name}] ${c.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(`[${c.name}] ${c.message}`)))))}}}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:this.clientId,redirect_uri:this.redirectUri,response_type:"token"};i.state&&(l.state=i.state),i.org&&(l.org=i.org),i.provider&&(l.provider=i.provider),i.target&&(l.target=i.target),i.login_hint&&(l.login_hint=i.login_hint),i.prompt&&i.prompt=="login"&&(l.prompt=i.prompt);let c=this.config.mergeWithAuthPopupConfiguration(i.authPopupConfiguration);var u=this._buildAuthUrl("oauth/authorize",l);c.usePopup===!0?this._startAuthPopup(u,l,c).then(d=>{r(d)}).catch(d=>s(new Error(`[${d.name}] ${d.message}`))):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 ga(`${a}/oauth/token`,"POST",o,null,"grant_type=client_credentials",this.timeout);this.getHttpClient().request(l).then(u=>{this.config.logger.log("trace",u.status,"POST",`${a}/oauth/token`,o,u.headers,{grant_type:"client_credentials"},void 0),this.config.logger.log("debug",u.status,"POST",`${a}/oauth/token`,o,void 0,{grant_type:"client_credentials"},void 0),this.setAccessToken(u.data.access_token),this.authData.tokenExpiryTime=new Date().getTime()+u.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),r(this.authData)}).catch(u=>{u.response&&this.config.logger.log("error",u.response.status,"POST",`${a}/oauth/token`,o,u.response.headers,{grant_type:"client_credentials"},u.response.data),s(u)})})}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"),c=this._formAuthRequest(l,{grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:i,assertion:a});c.proxy=this.proxy;var u={grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:i,assertion:a};c.then(d=>{this.config.logger.log("trace",d.status,"POST",`${r}/oauth/token`,c.headers,d.headers,u,void 0),this.config.logger.log("debug",d.status,"POST",`${r}/oauth/token`,c.headers,void 0,u,void 0);var h=d.data.access_token;this.setAccessToken(h),this.authData.tokenExpiryTime=new Date().getTime()+d.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),s(this.authData)}).catch(d=>{d.response&&this.config.logger.log("error",d.response.status,"POST",`${r}/oauth/token`,c.headers,d.response.headers,u,d.response.data),o(d)})})}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"},c=new URLSearchParams({grant_type:"authorization_code",code:i,code_verifier:n,client_id:e,redirect_uri:a}).toString(),u=new ga(`${r}/oauth/token`,"POST",l,null,c,this.timeout);let d=this.getHttpClient();var h={grant_type:"authorization_code",code:i,code_verifier:n,client_id:e,redirect_uri:a};d.request(u).then(g=>{this.config.logger.log("trace",g.status,"POST",`${r}/oauth/token`,u.headers,g.headers,h,void 0),this.config.logger.log("debug",g.status,"POST",`${r}/oauth/token`,u.headers,void 0,h,void 0);var p=g.data.access_token;let m={accessToken:p};g.data.expires_in!==null&&g.data.expires_in!==void 0&&(m.tokenExpiryTime=new Date().getTime()+g.data.expires_in*1e3,m.tokenExpiryTimeString=new Date(m.tokenExpiryTime).toUTCString()),this._saveSettings(m),s(this.authData)}).catch(g=>{g.response&&this.config.logger.log("error",g.response.status,"POST",`${r}/oauth/token`,u.headers,g.response.headers,h,g.response.data),o(g)})})}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"),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&&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),sessionStorage.setItem(`${this.settingsPrefix}_pkce_code_verifier`,this.codeVerifier))),this.computePKCECodeChallenge(this.codeVerifier).then(c=>{var u={client_id:this.clientId,redirect_uri:this.redirectUri,code_challenge:c,response_type:"code",code_challenge_method:"S256"};i.state&&(u.state=i.state),i.org&&(u.org=i.org),i.provider&&(u.provider=i.provider),i.target&&(u.target=i.target),i.login_hint&&(u.login_hint=i.login_hint),i.prompt&&i.prompt=="login"&&(u.prompt=i.prompt);let d=this.config.mergeWithAuthPopupConfiguration(i.authPopupConfiguration);var h=this._buildAuthUrl("oauth/authorize",u);d.usePopup===!0?this._startAuthPopup(h,u,d).then(g=>{s(g)}).catch(g=>o(new Error(`[${g.name}] ${g.message}`))):window.location.replace(h)}).catch(c=>o(new Error(`[${c.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,c=window.location;return"replaceState"in history?history.replaceState("",document.title,c.pathname):(o=document.body.scrollTop,l=document.body.scrollLeft,history.pushState("",document.title,c.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 c={grant_type:"authorization_code",code:i,redirect_uri:a};this._handleCodeAuthorizationResponse(l,c,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 URLSearchParams(n).toString(),s=new ga(`${i}/oauth/token`,"POST",a,null,r,this.timeout);return this.getHttpClient().request(s)}_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:this.clientId};e&&(n.redirect_uri=e);var i=this._buildAuthUrl("logout",n);window.location.replace(i)}_buildAuthUrl(e,n){var i=this.config.getConfUrl("login",this.config.authUrl);return n?`${i}/${e}?${new URLSearchParams(n).toString()}`:`${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,c,u,d){return new Promise((h,g)=>{p(this);function p(m){var f=m.buildUrl(e,i),w=new ga(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),d){if(typeof d!="object")throw new Error("Per-request headers must be a valid object");for(let[M,X]of Object.entries(d)){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 x=m.jsonPreferredMime(c);if(x?w.headers["Content-Type"]=x:w.headers["Content-Type"]||(w.headers["Content-Type"]="application/json"),x==="application/x-www-form-urlencoded")w.setData(m.normalizeParams(s));else if(x=="multipart/form-data"){var S=m.normalizeParams(s);for(var q in S)if(S.hasOwnProperty(q)){var $=new FormData;$.set(q,S[q]),w.setData($)}}else o&&w.setData(o);var ne=m.jsonPreferredMime(u);ne&&(w.headers.Accept=ne),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,n,f,w.headers,M.headers,o,void 0),m.config.logger.log("debug",M.status,n,f,w.headers,void 0,o,void 0),h(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(()=>{p(m)}).catch(Pe=>{g(Pe)}):M.response&&(m.config.logger.log("error",M.response.status,n,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),g(X)})}})}},VA=class{constructor(e){this.apiClient=e||E.instance}deleteAgenticVirtualagentJobs(e,n){if(n=n||{},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"],n.customHeaders)}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)}getAgenticVirtualagent(e,n){if(n=n||{},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"],n.customHeaders)}getAgenticVirtualagentJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagentJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getAgenticVirtualagentJob';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs/{jobId}","GET",{virtualAgentId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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,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",{},{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,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)}patchAgenticVirtualagent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling patchAgenticVirtualagent';if(n==null)throw'Missing the required parameter "body" when calling patchAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","PATCH",{virtualAgentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postAgenticVirtualagentVersionJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling postAgenticVirtualagentVersionJobs';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling postAgenticVirtualagentVersionJobs';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAgenticVirtualagents(e,n){if(n=n||{},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"],n.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)}},JA=class{constructor(e){this.apiClient=e||E.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,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,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)}},ZA=class{constructor(e){this.apiClient=e||E.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)}},KA=class{constructor(e){this.apiClient=e||E.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)}},QA=class{constructor(e){this.apiClient=e||E.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)}},YA=class{constructor(e){this.apiClient=e||E.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)}},XA=class{constructor(e){this.apiClient=e||E.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)}getFlowsLookup(e,n){if(n=n||{},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:n.pageNumber,pageSize:n.pageSize,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},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)}getFlowsValidateJob(e,n){if(n=n||{},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(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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",{},{},{},{},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,n){if(n=n||{},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"],n.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)}},eb=class{constructor(e){this.apiClient=e||E.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)}},nb=class{constructor(e){this.apiClient=e||E.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)}},ib=class{constructor(e){this.apiClient=e||E.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)}},tb=class{constructor(e){this.apiClient=e||E.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)}},ab=class{constructor(e){this.apiClient=e||E.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)}},rb=class{constructor(e){this.apiClient=e||E.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)}deleteBusinessrulesDecisiontableExport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableExport';if(n==null||n==="")throw'Missing the required parameter "exportJobId" when calling deleteBusinessrulesDecisiontableExport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}","DELETE",{tableId:e,exportJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteBusinessrulesDecisiontableImport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableImport';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling deleteBusinessrulesDecisiontableImport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}","DELETE",{tableId:e,importJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getBusinessrulesDecisiontableExport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExport';if(n==null||n==="")throw'Missing the required parameter "exportJobId" when calling getBusinessrulesDecisiontableExport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}","GET",{tableId:e,exportJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableExports(e,n){if(n=n||{},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:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontableImport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImport';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling getBusinessrulesDecisiontableImport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}","GET",{tableId:e,importJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableImports(e,n){if(n=n||{},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:n.after,pageSize:n.pageSize},{},{},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)}patchBusinessrulesDecisiontableImport(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableImport';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling patchBusinessrulesDecisiontableImport';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}postBusinessrulesDecisiontableExports(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExports';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports","POST",{tableId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postBusinessrulesDecisiontableImports(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableImports';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableImports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports","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)}postBusinessrulesDecisiontableVersionRowsBulkAdd(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsBulkRemove(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsBulkUpdate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';if(i==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: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},{},{},{},n.body,["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)}},sb=class{constructor(e){this.apiClient=e||E.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)}},ob=class{constructor(e){this.apiClient=e||E.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)}deleteCasemanagementCaseCommentsMeCommentId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling deleteCasemanagementCaseCommentsMeCommentId';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}deleteCasemanagementCaseplanDataschema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplanDataschema';if(n==null||n==="")throw'Missing the required parameter "schemaKeyName" when calling deleteCasemanagementCaseplanDataschema';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}","DELETE",{caseplanId:e,schemaKeyName:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},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)}getCasemanagementCaseComment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseComment';if(n==null||n==="")throw'Missing the required parameter "commentId" when calling getCasemanagementCaseComment';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments/{commentId}","GET",{caseId:e,commentId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseComments(e,n){if(n=n||{},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:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},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:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},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,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';if(n==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseAssociations';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations","POST",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCaseComments(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseComments';if(n==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseComments';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments","POST",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postCasemanagementCaseplanDataschemas(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanDataschemas';if(n==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplanDataschemas';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas","POST",{caseplanId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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,n){if(n=n||{},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"],n.customHeaders)}putCasemanagementCaseplanDataschema(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanDataschema';if(n==null||n==="")throw'Missing the required parameter "schemaKeyName" when calling putCasemanagementCaseplanDataschema';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}},lb=class{constructor(e){this.apiClient=e||E.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)}},ub=class{constructor(e){this.apiClient=e||E.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)}},cb=class{constructor(e){this.apiClient=e||E.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)}},pb=class{constructor(e){this.apiClient=e||E.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)}getConversationAccessattributes(e,n){if(n=n||{},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"],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)}patchConversationSuggestion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSuggestion';if(n==null||n==="")throw'Missing the required parameter "suggestionId" when calling patchConversationSuggestion';if(i==null)throw'Missing the required parameter "body" when calling patchConversationSuggestion';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/{suggestionId}","PATCH",{conversationId:e,suggestionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}postConversationsCallParticipantCommunicationSummaries(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationSummaries';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationSummaries';if(i==null||i==="")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:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}postConversationsEmailMessagesDraftAttachmentsUploads(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailMessagesDraftAttachmentsUploads';if(n==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},{},{},{},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)}postConversationsMessageParticipantCommunicationSummaries(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationSummaries';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationSummaries';if(i==null||i==="")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:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}putConversationAccessattributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationAccessattributes';if(n==null)throw'Missing the required parameter "body" when calling putConversationAccessattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/accessattributes","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}},db=class{constructor(e){this.apiClient=e||E.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)}},hb=class{constructor(e){this.apiClient=e||E.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)}},gb=class{constructor(e){this.apiClient=e||E.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)}},mb=class{constructor(e){this.apiClient=e||E.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)}},fb=class{constructor(e){this.apiClient=e||E.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)}},wb=class{constructor(e){this.apiClient=e||E.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)}},vb=class{constructor(e){this.apiClient=e||E.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)}getExternalcontactsNotesExport(e,n){if(n=n||{},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"],n.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,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)}getExternalcontactsOrganizationsExport(e,n){if(n=n||{},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"],n.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,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)}getExternalcontactsRelationshipsExport(e,n){if(n=n||{},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"],n.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,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)}patchExternalcontactsContactNote(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling patchExternalcontactsContactNote';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchExternalcontactsOrganization(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganization';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","PATCH",{externalOrganizationId: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)}patchExternalcontactsOrganizationNote(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling patchExternalcontactsOrganizationNote';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchExternalcontactsRelationship(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling patchExternalcontactsRelationship';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","PATCH",{relationshipId: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)}postExternalcontactsNotesExports(e,n){if(n=n||{},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"],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)}postExternalcontactsOrganizationsExports(e,n){if(n=n||{},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"],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)}postExternalcontactsRelationshipsExports(e,n){if(n=n||{},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"],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)}},Cb=class{constructor(e){this.apiClient=e||E.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)}},Ab=class{constructor(e){this.apiClient=e||E.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)}},bb=class{constructor(e){this.apiClient=e||E.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,c){if(c=c||{},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"],c.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)}},xb=class{constructor(e){this.apiClient=e||E.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)}},yb=class{constructor(e){this.apiClient=e||E.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)}},Pb=class{constructor(e){this.apiClient=e||E.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)}},jb=class{constructor(e){this.apiClient=e||E.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)}},Sb=class{constructor(e){this.apiClient=e||E.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)}},Ob=class{constructor(e){this.apiClient=e||E.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)}},Tb=class{constructor(e){this.apiClient=e||E.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,credentialId:e.credentialId},{},{},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)}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)}},Mb=class{constructor(e){this.apiClient=e||E.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)}},kb=class{constructor(e){this.apiClient=e||E.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)}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,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)}putJourneyViewsEventdefinition(e,n){if(n=n||{},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},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putJourneyViewsEventdefinitionActivate(e,n){if(n=n||{},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},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Eb=class{constructor(e){this.apiClient=e||E.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)}deleteKnowledgeSourceSynchronizationDeletion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSourceSynchronizationDeletion';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling deleteKnowledgeSourceSynchronizationDeletion';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteKnowledgeSourceSynchronizationUpload(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSourceSynchronizationUpload';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling deleteKnowledgeSourceSynchronizationUpload';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}getKnowledgeKnowledgebaseDocumentsFeedback(e,n){if(n=n||{},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: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)}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)}getKnowledgeSourceSynchronizationDeletion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationDeletion';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationDeletion';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeSourceSynchronizationDeletions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationDeletions';if(n==null||n==="")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:n},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeSourceSynchronizationUpload(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationUpload';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationUpload';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeSourceSynchronizationUploads(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationUploads';if(n==null||n==="")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:n},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},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)}postKnowledgeSourceSynchronizationDeletions(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationDeletions';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationDeletions';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}},qb=class{constructor(e){this.apiClient=e||E.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||E.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)}},Hb=class{constructor(e){this.apiClient=e||E.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",{},{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,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)}},Rb=class{constructor(e){this.apiClient=e||E.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)}},Ib=class{constructor(e){this.apiClient=e||E.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||E.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)}},zb=class{constructor(e){this.apiClient=e||E.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)}},Db=class{constructor(e){this.apiClient=e||E.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)}},Gb=class{constructor(e){this.apiClient=e||E.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)}},Nb=class{constructor(e){this.apiClient=e||E.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)}},Ub=class{constructor(e){this.apiClient=e||E.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)}},$b=class{constructor(e){this.apiClient=e||E.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)}},Lb=class{constructor(e){this.apiClient=e||E.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)}},Bb=class{constructor(e){this.apiClient=e||E.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)}},Fb=class{constructor(e){this.apiClient=e||E.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)}},Vb=class{constructor(e){this.apiClient=e||E.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)}},Jb=class{constructor(e){this.apiClient=e||E.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)}},Zb=class{constructor(e){this.apiClient=e||E.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)}getQualityPublishedformsEvaluationsDivisionview(e,n){if(n=n||{},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"],n.customHeaders)}getQualityPublishedformsEvaluationsDivisionviews(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getQualityPublishedformsEvaluationsDivisionviews';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations/divisionviews","GET",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,name:n.name,divisionId:n.divisionId,id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}getQualityPublishedformsSurveysDivisionview(e,n){if(n=n||{},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"],n.customHeaders)}getQualityPublishedformsSurveysDivisionviews(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getQualityPublishedformsSurveysDivisionviews';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys/divisionviews","GET",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,name:n.name,divisionId:n.divisionId,id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}},Kb=class{constructor(e){this.apiClient=e||E.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)}},Qb=class{constructor(e){this.apiClient=e||E.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)}getResponsemanagementLibrariesDivisionview(e,n){if(n=n||{},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"],n.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,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)}getResponsemanagementResponsesDivisionview(e,n){if(n=n||{},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"],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)}postResponsemanagementResponsesDivisionviewsQuery(e,n){if(n=n||{},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"],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)}},Yb=class{constructor(e){this.apiClient=e||E.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)}deleteRoutingEmailSettingEmailSettingId(e,n){if(n=n||{},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"],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)}deleteRoutingSkillexpression(e,n){if(n=n||{},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"],n.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,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)}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)}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,n){if(n=n||{},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"],n.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)}getRoutingSkillexpression(e,n){if(n=n||{},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:n.includeArchived,format:n.format},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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,n){if(n=n||{},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:n.format,includeArchived:n.includeArchived},{},{},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)}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)}patchRoutingEmailSettingEmailSettingId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emailSettingId" when calling patchRoutingEmailSettingEmailSettingId';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingEmailSettingEmailSettingId';return this.apiClient.callApi("/api/v2/routing/email/setting/{emailSettingId}","PATCH",{emailSettingId: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)}postRoutingEmailSetting(e,n){if(n=n||{},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"],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)}postRoutingSkillexpressionsValidate(e,n){if(n=n||{},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"],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)}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)}},Xb=class{constructor(e){this.apiClient=e||E.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)}},ex=class{constructor(e){this.apiClient=e||E.instance}deleteConversationParticipantScreenmonitorsSession(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling deleteConversationParticipantScreenmonitorsSession';if(i==null||i==="")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:n,screenMonitoringId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteUserScreenmonitorsSession(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "screenMonitoringId" when calling deleteUserScreenmonitorsSession';return this.apiClient.callApi("/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}","DELETE",{userId:e,screenMonitoringId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationParticipantScreenmonitorsSession(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantScreenmonitorsSession';if(i==null||i==="")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:n,screenMonitoringId:i},{},{},{},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,n){if(n=n||{},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"],n.customHeaders)}getUserScreenmonitorsSession(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "screenMonitoringId" when calling getUserScreenmonitorsSession';return this.apiClient.callApi("/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}","GET",{userId:e,screenMonitoringId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationParticipantScreenmonitorsSessions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantScreenmonitorsSessions';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postScreenmonitorsSessionsUsersDetails(e,n){if(n=n||{},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"],n.customHeaders)}postUserScreenmonitorsSessions(e,n){if(n=n||{},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"],n.customHeaders)}putScreenmonitorsSettings(e,n){if(n=n||{},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"],n.customHeaders)}},nx=class{constructor(e){this.apiClient=e||E.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)}},ix=class{constructor(e){this.apiClient=e||E.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)}},tx=class{constructor(e){this.apiClient=e||E.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)}},ax=class{constructor(e){this.apiClient=e||E.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)}},rx=class{constructor(e){this.apiClient=e||E.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)}},sx=class{constructor(e){this.apiClient=e||E.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)}},ox=class{constructor(e){this.apiClient=e||E.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)}},lx=class{constructor(e){this.apiClient=e||E.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)}},ux=class{constructor(e){this.apiClient=e||E.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)}},cx=class{constructor(e){this.apiClient=e||E.instance}deleteTelephonyOrganizationLinkTargetOrganizationId(e,n){if(n=n||{},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"],n.customHeaders)}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)}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,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)}patchTelephonyOrganizationLinkApproveRequestingOrganizationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "requestingOrganizationId" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';if(n==null)throw'Missing the required parameter "body" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';return this.apiClient.callApi("/api/v2/telephony/organization/link/approve/{requestingOrganizationId}","PATCH",{requestingOrganizationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyNumbersRouting(e,n){if(n=n||{},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"],n.customHeaders)}postTelephonyNumbersRoutingAll(e,n){if(n=n||{},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"],n.customHeaders)}postTelephonyNumbersRoutingReset(e,n){if(n=n||{},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"],n.customHeaders)}postTelephonyOrganizationLink(e,n){if(n=n||{},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"],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)}},px=class{constructor(e){this.apiClient=e||E.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)}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)}},dx=class{constructor(e){this.apiClient=e||E.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)}},hx=class{constructor(e){this.apiClient=e||E.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)}},gx=class{constructor(e){this.apiClient=e||E.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)}},mx=class{constructor(e){this.apiClient=e||E.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)}},fx=class{constructor(e){this.apiClient=e||E.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)}},wx=class{constructor(e){this.apiClient=e||E.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)}deleteUsersMeVerifier(e,n){if(n=n||{},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"],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)}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,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)}postUsersMeVerifiersTotp(e,n){if(n=n||{},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"],n.customHeaders)}postUsersMeVerifiersTotpVerifierId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "verifierId" when calling postUsersMeVerifiersTotpVerifierId';if(n==null)throw'Missing the required parameter "body" when calling postUsersMeVerifiersTotpVerifierId';return this.apiClient.callApi("/api/v2/users/me/verifiers/totp/{verifierId}","POST",{verifierId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersMeVerifiersWebauthnRegister(e,n){if(n=n||{},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"],n.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,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)}putUsersMeVerifier(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "verifierId" when calling putUsersMeVerifier';if(n==null)throw'Missing the required parameter "body" when calling putUsersMeVerifier';return this.apiClient.callApi("/api/v2/users/me/verifiers/{verifierId}","PUT",{verifierId: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)}},vx=class{constructor(e){this.apiClient=e||E.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)}},Cx=class{constructor(e){this.apiClient=e||E.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)}},Ax=class{constructor(e){this.apiClient=e||E.instance}deleteAgenticVirtualagentJobs(e,n){if(n=n||{},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"],n.customHeaders)}getAgenticVirtualagent(e,n){if(n=n||{},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"],n.customHeaders)}getAgenticVirtualagentJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagentJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getAgenticVirtualagentJob';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs/{jobId}","GET",{virtualAgentId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling patchAgenticVirtualagent';if(n==null)throw'Missing the required parameter "body" when calling patchAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","PATCH",{virtualAgentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAgenticVirtualagentVersionJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling postAgenticVirtualagentVersionJobs';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling postAgenticVirtualagentVersionJobs';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAgenticVirtualagents(e,n){if(n=n||{},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"],n.customHeaders)}},bx=class{constructor(e){this.apiClient=e||E.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)}},xx=class{constructor(e){this.apiClient=e||E.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)}},yx=class{constructor(e){this.apiClient=e||E.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)}},Px=class{constructor(e){this.apiClient=e||E.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)}},jx=class{constructor(e){this.apiClient=e||E.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)}},Sx=class{constructor(e){this.apiClient=e||E.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)}deleteWorkforcemanagementBusinessunitSchedulebid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}","DELETE",{businessUnitId:e,bidId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitSchedulebidGroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}getWorkforcemanagementBusinessunitCapacityplanForecast(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanForecast';if(n==null||n==="")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:n},{granularity:i.granularity},{},{},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)}getWorkforcemanagementBusinessunitDecisionmetricsJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitDecisionmetricsJob';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getWorkforcemanagementBusinessunitOpportunity(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitOpportunity';if(n==null||n==="")throw'Missing the required parameter "opportunityId" when calling getWorkforcemanagementBusinessunitOpportunity';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/{opportunityId}","GET",{businessUnitId:e,opportunityId:n},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getWorkforcemanagementBusinessunitSchedulebid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}","GET",{businessUnitId:e,bidId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroupPreferences(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(i==null||i==="")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:n,bidGroupId:i},{forceDownloadService:a.forceDownloadService,expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroupsSummary(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulebids(e,n){if(n=n||{},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"],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)}getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob';if(i==null||i==="")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:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJobs';if(n==null||n==="")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:n},{statuses:i.statuses},{},{},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,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},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},{earliestWeekDate:i.earliestWeekDate,latestWeekDate:i.latestWeekDate,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)}getWorkforcemanagementManagementunitDecisionmetrics(e,n){if(n=n||{},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"],n.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)}getWorkforcemanagementSchedulebidPreference(e,n){if(n=n||{},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"],n.customHeaders)}getWorkforcemanagementSchedulebidSchedulesets(e,n){if(n=n||{},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"],n.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,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)}patchWorkforcemanagementBusinessunitActivitycodesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycodesBulk';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycodesBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/bulk","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}patchWorkforcemanagementBusinessunitOpportunity(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitOpportunity';if(n==null||n==="")throw'Missing the required parameter "opportunityId" when calling patchWorkforcemanagementBusinessunitOpportunity';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}patchWorkforcemanagementBusinessunitSchedulebid(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebid';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitSchedulebidGroup(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.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)}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)}postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkAdd(e,n){if(n=n||{},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"],n.customHeaders)}postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkStatusesUpdate(e,n){if(n=n||{},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"],n.customHeaders)}postWorkforcemanagementAgentsOpportunitiesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsOpportunitiesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/opportunities/query","POST",{},{expand:n.expand,forceDownloadService:n.forceDownloadService},{},{},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)}postWorkforcemanagementBusinessunitDecisionmetricsUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdate';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/decisionmetrics/update","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitDecisionmetricsUpdateUploadurl(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdateUploadurl';if(n==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},{},{},{},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)}postWorkforcemanagementBusinessunitOpportunitiesBulkAdd(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkAdd';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkPublish(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkPublish';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkRemove';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkStatusesUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkStatusesUpdate';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsBulkStatusesUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsBulkStatusesUpdate';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsQuery';if(n==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:i.expand,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesExternalactivitiesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesExternalactivitiesQuery';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesQuery';if(n==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:i.forceDownloadService},{},{},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)}postWorkforcemanagementBusinessunitSchedulebidCopy(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitSchedulebidGroups(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitSchedulebids(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebids';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/effectiveschedulesets","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)}postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesImport(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImport';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImport';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesQuery(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesQuery';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesQuery';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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},{includeOnly:a.includeOnly},{},{},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",{},{includeOnly:n.includeOnly},{},{},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)}putWorkforcemanagementSchedulebidPreference(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling putWorkforcemanagementSchedulebidPreference';if(n==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementSchedulebidPreference';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulebids/{bidId}/preference","PUT",{bidId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Ox=class{constructor(){this.ApiClient=new E,this.ApiClientClass=E,this.AIStudioApi=VA,this.AgentAssistantsApi=JA,this.AgentCopilotApi=ZA,this.AgentUIApi=KA,this.AlertingApi=QA,this.AnalyticsApi=YA,this.ArchitectApi=XA,this.AssistantCopilotVariationsApi=eb,this.AuditApi=nb,this.AuthorizationApi=ib,this.BackgroundAssistantApi=tb,this.BillingApi=ab,this.BusinessRulesApi=rb,this.CarrierServicesApi=sb,this.CaseManagementApi=ob,this.ChatApi=lb,this.CoachingApi=ub,this.ContentManagementApi=cb,this.ConversationsApi=pb,this.DataExtensionsApi=db,this.DataPrivacyApi=hb,this.DownloadsApi=gb,this.EmailsApi=mb,this.EmployeeEngagementApi=fb,this.EventsApi=wb,this.ExternalContactsApi=vb,this.FaxApi=Cb,this.FlowsApi=Ab,this.GamificationApi=bb,this.GeneralDataProtectionRegulationApi=xb,this.GeolocationApi=yb,this.GreetingsApi=Pb,this.GroupsApi=jb,this.IdentityProviderApi=Sb,this.InfrastructureAsCodeApi=Ob,this.IntegrationsApi=Tb,this.IntentsApi=Mb,this.JourneyApi=kb,this.KnowledgeApi=Eb,this.LanguageUnderstandingApi=qb,this.LanguagesApi=_b,this.LearningApi=Hb,this.LicenseApi=Rb,this.LocationsApi=Ib,this.LogCaptureApi=Wb,this.MessagingApi=zb,this.MobileDevicesApi=Db,this.NotificationsApi=Gb,this.OAuthApi=Nb,this.ObjectsApi=Ub,this.OperationalEventsApi=$b,this.OrganizationApi=Lb,this.OrganizationAuthorizationApi=Bb,this.OutboundApi=Fb,this.PresenceApi=Vb,this.ProcessAutomationApi=Jb,this.QualityApi=Zb,this.RecordingApi=Kb,this.ResponseManagementApi=Qb,this.RoutingApi=Yb,this.SCIMApi=Xb,this.ScreenMonitoringApi=ex,this.ScriptsApi=nx,this.SearchApi=ix,this.SettingsApi=tx,this.SocialMediaApi=ax,this.SpeechTextAnalyticsApi=rx,this.StationsApi=sx,this.SuggestApi=ox,this.TaskManagementApi=lx,this.TeamsApi=ux,this.TelephonyApi=cx,this.TelephonyProvidersEdgeApi=px,this.TextbotsApi=dx,this.TokensApi=hx,this.UploadsApi=gx,this.UsageApi=mx,this.UserRecordingsApi=fx,this.UsersApi=wx,this.UsersRulesApi=vx,this.UtilitiesApi=Cx,this.VirtualAgentsApi=Ax,this.VoicemailApi=bx,this.WebChatApi=xx,this.WebDeploymentsApi=yx,this.WebMessagingApi=Px,this.WidgetsApi=jx,this.WorkforceManagementApi=Sx,this.PureCloudRegionHosts=GY,this.AbstractHttpClient=Jl,this.DefaultHttpClient=jd,this.HttpRequestOptions=ga}},UY=new Ox;wI.exports=UY});var me={};Vd(me,{BRAND:()=>_W,DIRTY:()=>va,EMPTY_PATH:()=>pW,INVALID:()=>Z,NEVER:()=>f1,OK:()=>Rn,ParseStatus:()=>jn,Schema:()=>ae,ZodAny:()=>Gt,ZodArray:()=>xt,ZodBigInt:()=>Aa,ZodBoolean:()=>ba,ZodBranded:()=>$s,ZodCatch:()=>qa,ZodDate:()=>xa,ZodDefault:()=>Ea,ZodDiscriminatedUnion:()=>iu,ZodEffects:()=>ki,ZodEnum:()=>Ma,ZodError:()=>Qn,ZodFirstPartyTypeKind:()=>k,ZodFunction:()=>au,ZodIntersection:()=>Sa,ZodIssueCode:()=>T,ZodLazy:()=>Oa,ZodLiteral:()=>Ta,ZodMap:()=>Mr,ZodNaN:()=>Er,ZodNativeEnum:()=>ka,ZodNever:()=>$i,ZodNull:()=>Pa,ZodNullable:()=>at,ZodNumber:()=>Ca,ZodObject:()=>Yn,ZodOptional:()=>Ti,ZodParsedType:()=>W,ZodPipeline:()=>Ls,ZodPromise:()=>Nt,ZodReadonly:()=>_a,ZodRecord:()=>tu,ZodSchema:()=>ae,ZodSet:()=>kr,ZodString:()=>Dt,ZodSymbol:()=>Or,ZodTransformer:()=>ki,ZodTuple:()=>tt,ZodType:()=>ae,ZodUndefined:()=>ya,ZodUnion:()=>ja,ZodUnknown:()=>bt,ZodVoid:()=>Tr,addIssueToContext:()=>_,any:()=>UW,array:()=>FW,bigint:()=>WW,boolean:()=>Kx,coerce:()=>m1,custom:()=>Vx,date:()=>zW,datetimeRegex:()=>Bx,defaultErrorMap:()=>Ct,discriminatedUnion:()=>ZW,effect:()=>o1,enum:()=>a1,function:()=>n1,getErrorMap:()=>Pr,getParsedType:()=>it,instanceof:()=>RW,intersection:()=>KW,isAborted:()=>eu,isAsync:()=>jr,isDirty:()=>nu,isValid:()=>zt,late:()=>HW,lazy:()=>i1,literal:()=>t1,makeIssue:()=>Us,map:()=>XW,nan:()=>IW,nativeEnum:()=>r1,never:()=>LW,null:()=>NW,nullable:()=>u1,number:()=>Zx,object:()=>Qd,objectUtil:()=>Jd,oboolean:()=>g1,onumber:()=>h1,optional:()=>l1,ostring:()=>d1,pipeline:()=>p1,preprocess:()=>c1,promise:()=>s1,quotelessJson:()=>lW,record:()=>YW,set:()=>e1,setErrorMap:()=>cW,strictObject:()=>VW,string:()=>Jx,symbol:()=>DW,transformer:()=>o1,tuple:()=>QW,undefined:()=>GW,union:()=>JW,unknown:()=>$W,util:()=>pe,void:()=>BW});var pe;(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})(pe||(pe={}));var Jd;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(Jd||(Jd={}));var W=pe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),it=t=>{switch(typeof t){case"undefined":return W.undefined;case"string":return W.string;case"number":return Number.isNaN(t)?W.nan:W.number;case"boolean":return W.boolean;case"function":return W.function;case"bigint":return W.bigint;case"symbol":return W.symbol;case"object":return Array.isArray(t)?W.array:t===null?W.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?W.promise:typeof Map<"u"&&t instanceof Map?W.map:typeof Set<"u"&&t instanceof Set?W.set:typeof Date<"u"&&t instanceof Date?W.date:W.object;default:return W.unknown}};var T=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"]),lW=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),Qn=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()}};Qn.create=t=>new Qn(t);var uW=(t,e)=>{let n;switch(t.code){case T.invalid_type:t.received===W.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case T.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,pe.jsonStringifyReplacer)}`;break;case T.unrecognized_keys:n=`Unrecognized key(s) in object: ${pe.joinValues(t.keys,", ")}`;break;case T.invalid_union:n="Invalid input";break;case T.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${pe.joinValues(t.options)}`;break;case T.invalid_enum_value:n=`Invalid enum value. Expected ${pe.joinValues(t.options)}, received '${t.received}'`;break;case T.invalid_arguments:n="Invalid function arguments";break;case T.invalid_return_type:n="Invalid function return type";break;case T.invalid_date:n="Invalid date";break;case T.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}"`:pe.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case T.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 T.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 T.custom:n="Invalid input";break;case T.invalid_intersection_types:n="Intersection results could not be merged";break;case T.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case T.not_finite:n="Number must be finite";break;default:n=e.defaultError,pe.assertNever(t)}return{message:n}},Ct=uW;var Gx=Ct;function cW(t){Gx=t}function Pr(){return Gx}var Us=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(c=>!!c).slice().reverse();for(let c of l)o=c(s,{data:e,defaultError:o}).message;return{...a,path:r,message:o}},pW=[];function _(t,e){let n=Pr(),i=Us({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Ct?void 0:Ct].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 Z;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 Z;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}}},Z=Object.freeze({status:"aborted"}),va=t=>({status:"dirty",value:t}),Rn=t=>({status:"valid",value:t}),eu=t=>t.status==="aborted",nu=t=>t.status==="dirty",zt=t=>t.status==="valid",jr=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 Mi=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}},Nx=(t,e)=>{if(zt(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 Qn(t.common.issues);return this._error=n,this._error}}};function ee(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 ae=class{get description(){return this._def.description}_getType(e){return it(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:it(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:it(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(jr(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:it(e)},a=this._parseSync({data:e,path:i.path,parent:i});return Nx(i,a)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:it(e)};if(!this["~standard"].async)try{let i=this._parseSync({data:e,path:[],parent:n});return zt(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=>zt(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:it(e)},a=this._parse({data:e,path:i.path,parent:i}),r=await(jr(a)?a:Promise.resolve(a));return Nx(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:T.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 ki({schema:this,typeName:k.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 Ti.create(this,this._def)}nullable(){return at.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return xt.create(this)}promise(){return Nt.create(this,this._def)}or(e){return ja.create([this,e],this._def)}and(e){return Sa.create(this,e,this._def)}transform(e){return new ki({...ee(this._def),schema:this,typeName:k.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new Ea({...ee(this._def),innerType:this,defaultValue:n,typeName:k.ZodDefault})}brand(){return new $s({typeName:k.ZodBranded,type:this,...ee(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new qa({...ee(this._def),innerType:this,catchValue:n,typeName:k.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return Ls.create(this,e)}readonly(){return _a.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},dW=/^c[^\s-]{8,}$/i,hW=/^[0-9a-z]+$/,gW=/^[0-9A-HJKMNP-TV-Z]{26}$/i,mW=/^[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,fW=/^[a-z0-9_-]{21}$/i,wW=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,vW=/^[-+]?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)?)??$/,CW=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,AW="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Zd,bW=/^(?:(?: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])$/,xW=/^(?:(?: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])$/,yW=/^(([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]))$/,PW=/^(([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])$/,jW=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,SW=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,$x="((\\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])))",OW=new RegExp(`^${$x}$`);function Lx(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 TW(t){return new RegExp(`^${Lx(t)}$`)}function Bx(t){let e=`${$x}T${Lx(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 MW(t,e){return!!((e==="v4"||!e)&&bW.test(t)||(e==="v6"||!e)&&yW.test(t))}function kW(t,e){if(!wW.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 EW(t,e){return!!((e==="v4"||!e)&&xW.test(t)||(e==="v6"||!e)&&PW.test(t))}var Dt=class t extends ae{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==W.string){let r=this._getOrReturnCtx(e);return _(r,{code:T.invalid_type,expected:W.string,received:r.parsedType}),Z}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),_(a,{code:T.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:T.invalid_string,...N.errToObj(i)})}_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,n){return this._addCheck({kind:"regex",regex:e,...N.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...N.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...N.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...N.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...N.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...N.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...N.errToObj(n)})}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 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 Dt({checks:[],typeName:k.ZodString,coerce:t?.coerce??!1,...ee(t)});function qW(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 Ca=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)!==W.number){let r=this._getOrReturnCtx(e);return _(r,{code:T.invalid_type,expected:W.number,received:r.parsedType}),Z}let i,a=new jn;for(let r of this._def.checks)r.kind==="int"?pe.isInteger(e.data)||(i=this._getOrReturnCtx(e,i),_(i,{code:T.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),_(i,{code:T.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),a.dirty()):r.kind==="multipleOf"?qW(e.data,r.value)!==0&&(i=this._getOrReturnCtx(e,i),_(i,{code:T.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(i=this._getOrReturnCtx(e,i),_(i,{code:T.not_finite,message:r.message}),a.dirty()):pe.assertNever(r);return{status:a.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,N.toString(n))}gt(e,n){return this.setLimit("min",e,!1,N.toString(n))}lte(e,n){return this.setLimit("max",e,!0,N.toString(n))}lt(e,n){return this.setLimit("max",e,!1,N.toString(n))}setLimit(e,n,i,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,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,n){return this._addCheck({kind:"multipleOf",value:e,message:N.toString(n)})}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 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"&&pe.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 Ca({checks:[],typeName:k.ZodNumber,coerce:t?.coerce||!1,...ee(t)});var Aa=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)!==W.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),_(i,{code:T.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),_(i,{code:T.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):pe.assertNever(r);return{status:a.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return _(n,{code:T.invalid_type,expected:W.bigint,received:n.parsedType}),Z}gte(e,n){return this.setLimit("min",e,!0,N.toString(n))}gt(e,n){return this.setLimit("min",e,!1,N.toString(n))}lte(e,n){return this.setLimit("max",e,!0,N.toString(n))}lt(e,n){return this.setLimit("max",e,!1,N.toString(n))}setLimit(e,n,i,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,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,n){return this._addCheck({kind:"multipleOf",value:e,message:N.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 Aa({checks:[],typeName:k.ZodBigInt,coerce:t?.coerce??!1,...ee(t)});var ba=class extends ae{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==W.boolean){let i=this._getOrReturnCtx(e);return _(i,{code:T.invalid_type,expected:W.boolean,received:i.parsedType}),Z}return Rn(e.data)}};ba.create=t=>new ba({typeName:k.ZodBoolean,coerce:t?.coerce||!1,...ee(t)});var xa=class t extends ae{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==W.date){let r=this._getOrReturnCtx(e);return _(r,{code:T.invalid_type,expected:W.date,received:r.parsedType}),Z}if(Number.isNaN(e.data.getTime())){let r=this._getOrReturnCtx(e);return _(r,{code:T.invalid_date}),Z}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),_(a,{code:T.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),i.dirty()):pe.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:N.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:N.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 xa({checks:[],coerce:t?.coerce||!1,typeName:k.ZodDate,...ee(t)});var Or=class extends ae{_parse(e){if(this._getType(e)!==W.symbol){let i=this._getOrReturnCtx(e);return _(i,{code:T.invalid_type,expected:W.symbol,received:i.parsedType}),Z}return Rn(e.data)}};Or.create=t=>new Or({typeName:k.ZodSymbol,...ee(t)});var ya=class extends ae{_parse(e){if(this._getType(e)!==W.undefined){let i=this._getOrReturnCtx(e);return _(i,{code:T.invalid_type,expected:W.undefined,received:i.parsedType}),Z}return Rn(e.data)}};ya.create=t=>new ya({typeName:k.ZodUndefined,...ee(t)});var Pa=class extends ae{_parse(e){if(this._getType(e)!==W.null){let i=this._getOrReturnCtx(e);return _(i,{code:T.invalid_type,expected:W.null,received:i.parsedType}),Z}return Rn(e.data)}};Pa.create=t=>new Pa({typeName:k.ZodNull,...ee(t)});var Gt=class extends ae{constructor(){super(...arguments),this._any=!0}_parse(e){return Rn(e.data)}};Gt.create=t=>new Gt({typeName:k.ZodAny,...ee(t)});var bt=class extends ae{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Rn(e.data)}};bt.create=t=>new bt({typeName:k.ZodUnknown,...ee(t)});var $i=class extends ae{_parse(e){let n=this._getOrReturnCtx(e);return _(n,{code:T.invalid_type,expected:W.never,received:n.parsedType}),Z}};$i.create=t=>new $i({typeName:k.ZodNever,...ee(t)});var Tr=class extends ae{_parse(e){if(this._getType(e)!==W.undefined){let i=this._getOrReturnCtx(e);return _(i,{code:T.invalid_type,expected:W.void,received:i.parsedType}),Z}return Rn(e.data)}};Tr.create=t=>new Tr({typeName:k.ZodVoid,...ee(t)});var xt=class t extends ae{_parse(e){let{ctx:n,status:i}=this._processInputParams(e),a=this._def;if(n.parsedType!==W.array)return _(n,{code:T.invalid_type,expected:W.array,received:n.parsedType}),Z;if(a.exactLength!==null){let s=n.data.length>a.exactLength.value,o=n.data.lengtha.maxLength.value&&(_(n,{code:T.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 Mi(n,s,n.path,o)))).then(s=>jn.mergeArray(i,s));let r=[...n.data].map((s,o)=>a.type._parseSync(new Mi(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:N.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:N.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:N.toString(n)}})}nonempty(e){return this.min(1,e)}};xt.create=(t,e)=>new xt({type:t,minLength:null,maxLength:null,exactLength:null,typeName:k.ZodArray,...ee(e)});function Sr(t){if(t instanceof Yn){let e={};for(let n in t.shape){let i=t.shape[n];e[n]=Ti.create(Sr(i))}return new Yn({...t._def,shape:()=>e})}else return t instanceof xt?new xt({...t._def,type:Sr(t.element)}):t instanceof Ti?Ti.create(Sr(t.unwrap())):t instanceof at?at.create(Sr(t.unwrap())):t instanceof tt?tt.create(t.items.map(e=>Sr(e))):t}var Yn=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(),n=pe.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==W.object){let c=this._getOrReturnCtx(e);return _(c,{code:T.invalid_type,expected:W.object,received:c.parsedType}),Z}let{status:i,ctx:a}=this._processInputParams(e),{shape:r,keys:s}=this._getCached(),o=[];if(!(this._def.catchall instanceof $i&&this._def.unknownKeys==="strip"))for(let c in a.data)s.includes(c)||o.push(c);let l=[];for(let c of s){let u=r[c],d=a.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new Mi(a,d,a.path,c)),alwaysSet:c in a.data})}if(this._def.catchall instanceof $i){let c=this._def.unknownKeys;if(c==="passthrough")for(let u of o)l.push({key:{status:"valid",value:u},value:{status:"valid",value:a.data[u]}});else if(c==="strict")o.length>0&&(_(a,{code:T.unrecognized_keys,keys:o}),i.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let u of o){let d=a.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new Mi(a,d,a.path,u)),alwaysSet:u in a.data})}}return a.common.async?Promise.resolve().then(async()=>{let c=[];for(let u of l){let d=await u.key,h=await u.value;c.push({key:d,value:h,alwaysSet:u.alwaysSet})}return c}).then(c=>jn.mergeObjectSync(i,c)):jn.mergeObjectSync(i,l)}get shape(){return this._def.shape()}strict(e){return N.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: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:k.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 pe.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 pe.objectKeys(this.shape))e[i]||(n[i]=this.shape[i]);return new t({...this._def,shape:()=>n})}deepPartial(){return Sr(this)}partial(e){let n={};for(let i of pe.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 pe.objectKeys(this.shape))if(e&&!e[i])n[i]=this.shape[i];else{let r=this.shape[i];for(;r instanceof Ti;)r=r._def.innerType;n[i]=r}return new t({...this._def,shape:()=>n})}keyof(){return Fx(pe.objectKeys(this.shape))}};Yn.create=(t,e)=>new Yn({shape:()=>t,unknownKeys:"strip",catchall:$i.create(),typeName:k.ZodObject,...ee(e)});Yn.strictCreate=(t,e)=>new Yn({shape:()=>t,unknownKeys:"strict",catchall:$i.create(),typeName:k.ZodObject,...ee(e)});Yn.lazycreate=(t,e)=>new Yn({shape:t,unknownKeys:"strip",catchall:$i.create(),typeName:k.ZodObject,...ee(e)});var ja=class extends ae{_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 Qn(o.ctx.common.issues));return _(n,{code:T.invalid_union,unionErrors:s}),Z}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 c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!r&&(r={result:u,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(r)return n.common.issues.push(...r.ctx.common.issues),r.result;let o=s.map(l=>new Qn(l));return _(n,{code:T.invalid_union,unionErrors:o}),Z}}get options(){return this._def.options}};ja.create=(t,e)=>new ja({options:t,typeName:k.ZodUnion,...ee(e)});var At=t=>t instanceof Oa?At(t.schema):t instanceof ki?At(t.innerType()):t instanceof Ta?[t.value]:t instanceof Ma?t.options:t instanceof ka?pe.objectValues(t.enum):t instanceof Ea?At(t._def.innerType):t instanceof ya?[void 0]:t instanceof Pa?[null]:t instanceof Ti?[void 0,...At(t.unwrap())]:t instanceof at?[null,...At(t.unwrap())]:t instanceof $s||t instanceof _a?At(t.unwrap()):t instanceof qa?At(t._def.innerType):[],iu=class t extends ae{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.object)return _(n,{code:T.invalid_type,expected:W.object,received:n.parsedType}),Z;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}):(_(n,{code:T.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),Z)}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=At(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:k.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:a,...ee(i)})}};function Kd(t,e){let n=it(t),i=it(e);if(t===e)return{valid:!0,data:t};if(n===W.object&&i===W.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=Kd(t[o],e[o]);if(!l.valid)return{valid:!1};s[o]=l.data}return{valid:!0,data:s}}else if(n===W.array&&i===W.array){if(t.length!==e.length)return{valid:!1};let a=[];for(let r=0;r{if(eu(r)||eu(s))return Z;let o=Kd(r.value,s.value);return o.valid?((nu(r)||nu(s))&&n.dirty(),{status:n.value,value:o.data}):(_(i,{code:T.invalid_intersection_types}),Z)};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}))}};Sa.create=(t,e,n)=>new Sa({left:t,right:e,typeName:k.ZodIntersection,...ee(n)});var tt=class t extends ae{_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==W.array)return _(i,{code:T.invalid_type,expected:W.array,received:i.parsedType}),Z;if(i.data.lengththis._def.items.length&&(_(i,{code:T.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 Mi(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})}};tt.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new tt({items:t,typeName:k.ZodTuple,rest:null,...ee(e)})};var tu=class t extends ae{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!==W.object)return _(i,{code:T.invalid_type,expected:W.object,received:i.parsedType}),Z;let a=[],r=this._def.keyType,s=this._def.valueType;for(let o in i.data)a.push({key:r._parse(new Mi(i,o,i.path,o)),value:s._parse(new Mi(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 ae?new t({keyType:e,valueType:n,typeName:k.ZodRecord,...ee(i)}):new t({keyType:Dt.create(),valueType:e,typeName:k.ZodRecord,...ee(n)})}},Mr=class extends ae{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!==W.map)return _(i,{code:T.invalid_type,expected:W.map,received:i.parsedType}),Z;let a=this._def.keyType,r=this._def.valueType,s=[...i.data.entries()].map(([o,l],c)=>({key:a._parse(new Mi(i,o,i.path,[c,"key"])),value:r._parse(new Mi(i,l,i.path,[c,"value"]))}));if(i.common.async){let o=new Map;return Promise.resolve().then(async()=>{for(let l of s){let c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return Z;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),o.set(c.value,u.value)}return{status:n.value,value:o}})}else{let o=new Map;for(let l of s){let c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return Z;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),o.set(c.value,u.value)}return{status:n.value,value:o}}}};Mr.create=(t,e,n)=>new Mr({valueType:e,keyType:t,typeName:k.ZodMap,...ee(n)});var kr=class t extends ae{_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==W.set)return _(i,{code:T.invalid_type,expected:W.set,received:i.parsedType}),Z;let a=this._def;a.minSize!==null&&i.data.sizea.maxSize.value&&(_(i,{code:T.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 c=new Set;for(let u of l){if(u.status==="aborted")return Z;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}let o=[...i.data.values()].map((l,c)=>r._parse(new Mi(i,l,i.path,c)));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:N.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:N.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};kr.create=(t,e)=>new kr({valueType:t,minSize:null,maxSize:null,typeName:k.ZodSet,...ee(e)});var au=class t extends ae{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.function)return _(n,{code:T.invalid_type,expected:W.function,received:n.parsedType}),Z;function i(o,l){return Us({data:o,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Pr(),Ct].filter(c=>!!c),issueData:{code:T.invalid_arguments,argumentsError:l}})}function a(o,l){return Us({data:o,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Pr(),Ct].filter(c=>!!c),issueData:{code:T.invalid_return_type,returnTypeError:l}})}let r={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof Nt){let o=this;return Rn(async function(...l){let c=new Qn([]),u=await o._def.args.parseAsync(l,r).catch(g=>{throw c.addIssue(i(l,g)),c}),d=await Reflect.apply(s,this,u);return await o._def.returns._def.type.parseAsync(d,r).catch(g=>{throw c.addIssue(a(d,g)),c})})}else{let o=this;return Rn(function(...l){let c=o._def.args.safeParse(l,r);if(!c.success)throw new Qn([i(l,c.error)]);let u=Reflect.apply(s,this,c.data),d=o._def.returns.safeParse(u,r);if(!d.success)throw new Qn([a(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:tt.create(e).rest(bt.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||tt.create([]).rest(bt.create()),returns:n||bt.create(),typeName:k.ZodFunction,...ee(i)})}},Oa=class extends ae{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})}};Oa.create=(t,e)=>new Oa({getter:t,typeName:k.ZodLazy,...ee(e)});var Ta=class extends ae{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return _(n,{received:n.data,code:T.invalid_literal,expected:this._def.value}),Z}return{status:"valid",value:e.data}}get value(){return this._def.value}};Ta.create=(t,e)=>new Ta({value:t,typeName:k.ZodLiteral,...ee(e)});function Fx(t,e){return new Ma({values:t,typeName:k.ZodEnum,...ee(e)})}var Ma=class t extends ae{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),i=this._def.values;return _(n,{expected:pe.joinValues(i),received:n.parsedType,code:T.invalid_type}),Z}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 _(n,{received:n.data,code:T.invalid_enum_value,options:i}),Z}return Rn(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})}};Ma.create=Fx;var ka=class extends ae{_parse(e){let n=pe.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==W.string&&i.parsedType!==W.number){let a=pe.objectValues(n);return _(i,{expected:pe.joinValues(a),received:i.parsedType,code:T.invalid_type}),Z}if(this._cache||(this._cache=new Set(pe.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let a=pe.objectValues(n);return _(i,{received:i.data,code:T.invalid_enum_value,options:a}),Z}return Rn(e.data)}get enum(){return this._def.values}};ka.create=(t,e)=>new ka({values:t,typeName:k.ZodNativeEnum,...ee(e)});var Nt=class extends ae{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==W.promise&&n.common.async===!1)return _(n,{code:T.invalid_type,expected:W.promise,received:n.parsedType}),Z;let i=n.parsedType===W.promise?n.data:Promise.resolve(n.data);return Rn(i.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}};Nt.create=(t,e)=>new Nt({type:t,typeName:k.ZodPromise,...ee(e)});var ki=class extends ae{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===k.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=>{_(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 Z;let l=await this._def.schema._parseAsync({data:o,path:i.path,parent:i});return l.status==="aborted"?Z:l.status==="dirty"?va(l.value):n.value==="dirty"?va(l.value):l});{if(n.value==="aborted")return Z;let o=this._def.schema._parseSync({data:s,path:i.path,parent:i});return o.status==="aborted"?Z:o.status==="dirty"?va(o.value):n.value==="dirty"?va(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"?Z:(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"?Z:(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(!zt(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:n.value,value:o}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(s=>zt(s)?Promise.resolve(a.transform(s.value,r)).then(o=>({status:n.value,value:o})):Z);pe.assertNever(a)}};ki.create=(t,e,n)=>new ki({schema:t,typeName:k.ZodEffects,effect:e,...ee(n)});ki.createWithPreprocess=(t,e,n)=>new ki({schema:e,effect:{type:"preprocess",transform:t},typeName:k.ZodEffects,...ee(n)});var Ti=class extends ae{_parse(e){return this._getType(e)===W.undefined?Rn(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Ti.create=(t,e)=>new Ti({innerType:t,typeName:k.ZodOptional,...ee(e)});var at=class extends ae{_parse(e){return this._getType(e)===W.null?Rn(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};at.create=(t,e)=>new at({innerType:t,typeName:k.ZodNullable,...ee(e)});var Ea=class extends ae{_parse(e){let{ctx:n}=this._processInputParams(e),i=n.data;return n.parsedType===W.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Ea.create=(t,e)=>new Ea({innerType:t,typeName:k.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ee(e)});var qa=class extends ae{_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 jr(a)?a.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new Qn(i.common.issues)},input:i.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Qn(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}};qa.create=(t,e)=>new qa({innerType:t,typeName:k.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ee(e)});var Er=class extends ae{_parse(e){if(this._getType(e)!==W.nan){let i=this._getOrReturnCtx(e);return _(i,{code:T.invalid_type,expected:W.nan,received:i.parsedType}),Z}return{status:"valid",value:e.data}}};Er.create=t=>new Er({typeName:k.ZodNaN,...ee(t)});var _W=Symbol("zod_brand"),$s=class extends ae{_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}},Ls=class t extends ae{_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"?Z:r.status==="dirty"?(n.dirty(),va(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"?Z: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:k.ZodPipeline})}},_a=class extends ae{_parse(e){let n=this._def.innerType._parse(e),i=a=>(zt(a)&&(a.value=Object.freeze(a.value)),a);return jr(n)?n.then(a=>i(a)):i(n)}unwrap(){return this._def.innerType}};_a.create=(t,e)=>new _a({innerType:t,typeName:k.ZodReadonly,...ee(e)});function Ux(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function Vx(t,e={},n){return t?Gt.create().superRefine((i,a)=>{let r=t(i);if(r instanceof Promise)return r.then(s=>{if(!s){let o=Ux(e,i),l=o.fatal??n??!0;a.addIssue({code:"custom",...o,fatal:l})}});if(!r){let s=Ux(e,i),o=s.fatal??n??!0;a.addIssue({code:"custom",...s,fatal:o})}}):Gt.create()}var HW={object:Yn.lazycreate},k;(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"})(k||(k={}));var RW=(t,e={message:`Input not instance of ${t.name}`})=>Vx(n=>n instanceof t,e),Jx=Dt.create,Zx=Ca.create,IW=Er.create,WW=Aa.create,Kx=ba.create,zW=xa.create,DW=Or.create,GW=ya.create,NW=Pa.create,UW=Gt.create,$W=bt.create,LW=$i.create,BW=Tr.create,FW=xt.create,Qd=Yn.create,VW=Yn.strictCreate,JW=ja.create,ZW=iu.create,KW=Sa.create,QW=tt.create,YW=tu.create,XW=Mr.create,e1=kr.create,n1=au.create,i1=Oa.create,t1=Ta.create,a1=Ma.create,r1=ka.create,s1=Nt.create,o1=ki.create,l1=Ti.create,u1=at.create,c1=ki.createWithPreprocess,p1=Ls.create,d1=()=>Jx().optional(),h1=()=>Zx().optional(),g1=()=>Kx().optional(),m1={string:(t=>Dt.create({...t,coerce:!0})),number:(t=>Ca.create({...t,coerce:!0})),boolean:(t=>ba.create({...t,coerce:!0})),bigint:(t=>Aa.create({...t,coerce:!0})),date:(t=>xa.create({...t,coerce:!0}))};var f1=Z;var Qx;function P(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 c=s.prototype,u=Object.keys(c);for(let d=0;dn?.Parent&&o instanceof n.Parent?!0:o?._zod?.traits?.has(t)}),Object.defineProperty(s,"name",{value:t}),s}var rt=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},qr=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}};(Qx=globalThis).__zod_globalConfig??(Qx.__zod_globalConfig={});var _r=globalThis.__zod_globalConfig;function xi(t){return t&&Object.assign(_r,t),_r}var fe={};Vd(fe,{BIGINT_FORMAT_RANGES:()=>ey,Class:()=>Xd,NUMBER_FORMAT_RANGES:()=>sh,aborted:()=>Lt,allowsEval:()=>ih,assert:()=>x1,assertEqual:()=>v1,assertIs:()=>A1,assertNever:()=>b1,assertNotEqual:()=>C1,assignProp:()=>Ut,base64ToUint8Array:()=>ly,base64urlToUint8Array:()=>_1,cached:()=>Rr,captureStackTrace:()=>ou,cleanEnum:()=>q1,cleanRegex:()=>Js,clone:()=>yi,cloneDef:()=>P1,createTransparentProxy:()=>k1,defineLazy:()=>Me,esc:()=>su,escapeRegex:()=>Pt,explicitlyAborted:()=>oh,extend:()=>ty,finalizeIssue:()=>Ei,floatSafeRemainder:()=>eh,getElementAtPath:()=>j1,getEnumValues:()=>Fs,getLengthableOrigin:()=>Zs,getParsedType:()=>M1,getSizableOrigin:()=>oy,hexToUint8Array:()=>R1,isObject:()=>Ha,isPlainObject:()=>$t,issue:()=>Ir,joinValues:()=>ru,jsonStringifyReplacer:()=>Hr,merge:()=>E1,mergeDefs:()=>yt,normalizeParams:()=>V,nullish:()=>Vs,numKeys:()=>T1,objectClone:()=>y1,omit:()=>iy,optionalKeys:()=>rh,parsedType:()=>lh,partial:()=>ry,pick:()=>ny,prefixIssues:()=>jt,primitiveTypes:()=>Xx,promiseAllObject:()=>S1,propertyKeyTypes:()=>ah,randomString:()=>O1,required:()=>sy,safeExtend:()=>ay,shallowClone:()=>th,slugify:()=>nh,stringifyPrimitive:()=>lu,uint8ArrayToBase64:()=>uy,uint8ArrayToBase64url:()=>H1,uint8ArrayToHex:()=>I1,unwrapMessage:()=>Bs});function v1(t){return t}function C1(t){return t}function A1(t){}function b1(t){throw new Error("Unexpected value in exhaustive check")}function x1(t){}function Fs(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 ru(t,e="|"){return t.map(n=>lu(n)).join(e)}function Hr(t,e){return typeof e=="bigint"?e.toString():e}function Rr(t){return{get value(){{let n=t();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function Vs(t){return t==null}function Js(t){let e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function eh(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 S1(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 Ha(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}var ih=Rr(()=>{if(_r.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let t=Function;return new t(""),!0}catch{return!1}});function $t(t){if(Ha(t)===!1)return!1;let e=t.constructor;if(e===void 0||typeof e!="function")return!0;let n=e.prototype;return!(Ha(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function th(t){return $t(t)?{...t}:Array.isArray(t)?[...t]:t instanceof Map?new Map(t):t instanceof Set?new Set(t):t}function T1(t){let e=0;for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&e++;return e}var M1=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}`)}},ah=new Set(["string","number","symbol"]),Xx=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Pt(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function yi(t,e,n){let i=new t._zod.constr(e??t._zod.def);return(!e||n?.parent)&&(i._zod.parent=t),i}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 k1(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 lu(t){return typeof t=="bigint"?t.toString()+"n":typeof t=="string"?`"${t}"`:`${t}`}function rh(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}var sh={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]},ey={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function ny(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=yt(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 Ut(this,"shape",s),s},checks:[]});return yi(t,r)}function iy(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=yt(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 Ut(this,"shape",s),s},checks:[]});return yi(t,r)}function ty(t,e){if(!$t(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=yt(t._zod.def,{get shape(){let r={...t._zod.def.shape,...e};return Ut(this,"shape",r),r}});return yi(t,a)}function ay(t,e){if(!$t(e))throw new Error("Invalid input to safeExtend: expected a plain object");let n=yt(t._zod.def,{get shape(){let i={...t._zod.def.shape,...e};return Ut(this,"shape",i),i}});return yi(t,n)}function E1(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=yt(t._zod.def,{get shape(){let i={...t._zod.def.shape,...e._zod.def.shape};return Ut(this,"shape",i),i},get catchall(){return e._zod.def.catchall},checks:e._zod.def.checks??[]});return yi(t,n)}function ry(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=yt(e._zod.def,{get shape(){let o=e._zod.def.shape,l={...o};if(n)for(let c in n){if(!(c in o))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(l[c]=t?new t({type:"optional",innerType:o[c]}):o[c])}else for(let c in o)l[c]=t?new t({type:"optional",innerType:o[c]}):o[c];return Ut(this,"shape",l),l},checks:[]});return yi(e,s)}function sy(t,e,n){let i=yt(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 Ut(this,"shape",r),r}});return yi(e,i)}function Lt(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 Bs(t){return typeof t=="string"?t:t?.message}function Ei(t,e,n){let i=t.message?t.message:Bs(t.inst?._zod.def?.error?.(t))??Bs(e?.error?.(t))??Bs(n.customError?.(t))??Bs(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 oy(t){return t instanceof Set?"set":t instanceof Map?"map":t instanceof File?"file":"unknown"}function Zs(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function lh(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 Ir(...t){let[e,n,i]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:i}:{...e}}function q1(t){return Object.entries(t).filter(([e,n])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function ly(t){let e=atob(t),n=new Uint8Array(e.length);for(let i=0;ie.toString(16).padStart(2,"0")).join("")}var Xd=class{constructor(...e){}};var cy=(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,Hr,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},uu=P("$ZodError",cy),Ks=P("$ZodError",cy,{Parent:Error});function py(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 dy(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,c=0;for(;c(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 rt;if(s.issues.length){let o=new(a?.Err??t)(s.issues.map(l=>Ei(l,r,xi())));throw ou(o,a?.callee),o}return s.value},cu=Qs(Ks),Ys=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=>Ei(l,r,xi())));throw ou(o,a?.callee),o}return s.value},pu=Ys(Ks),Xs=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 rt;return r.issues.length?{success:!1,error:new(t??uu)(r.issues.map(s=>Ei(s,a,xi())))}:{success:!0,data:r.value}},Ra=Xs(Ks),eo=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=>Ei(s,a,xi())))}:{success:!0,data:r.value}},Ia=eo(Ks),hy=t=>(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return Qs(t)(e,n,a)};var gy=t=>(e,n,i)=>Qs(t)(e,n,i);var my=t=>async(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return Ys(t)(e,n,a)};var fy=t=>async(e,n,i)=>Ys(t)(e,n,i);var wy=t=>(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return Xs(t)(e,n,a)};var vy=t=>(e,n,i)=>Xs(t)(e,n,i);var Cy=t=>async(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return eo(t)(e,n,a)};var Ay=t=>async(e,n,i)=>eo(t)(e,n,i);var by=/^[cC][0-9a-z]{6,}$/,xy=/^[0-9a-z]+$/,yy=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Py=/^[0-9a-vA-V]{20}$/,jy=/^[A-Za-z0-9]{27}$/,Sy=/^[a-zA-Z0-9_-]{21}$/,Oy=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var Ty=/^([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})$/,uh=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 My=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var z1="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function ky(){return new RegExp(z1,"u")}var Ey=/^(?:(?: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])$/,qy=/^(([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 _y=/^((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])$/,Hy=/^(([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])$/,Ry=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ch=/^[A-Za-z0-9_-]*$/;var Iy=/^https?$/,Wy=/^\+[1-9]\d{6,14}$/,zy="(?:(?:\\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])))",Dy=new RegExp(`^${zy}$`);function Gy(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 Ny(t){return new RegExp(`^${Gy(t)}$`)}function Uy(t){let e=Gy({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(`^${zy}T(?:${i})$`)}var $y=t=>{let e=t?`[\\s\\S]{${t?.minimum??0},${t?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)};var Ly=/^-?\d+$/,ph=/^-?\d+(?:\.\d+)?$/,By=/^(?:true|false)$/i,Fy=/^null$/i;var Vy=/^[^A-Z]*$/,Jy=/^[^a-z]*$/;var wn=P("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),Zy={number:"number",bigint:"bigint",object:"date"},dh=P("$ZodCheckLessThan",(t,e)=>{wn.init(t,e);let n=Zy[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{wn.init(t,e);let n=Zy[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})}}),Ky=P("$ZodCheckMultipleOf",(t,e)=>{wn.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):eh(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})}}),Qy=P("$ZodCheckNumberFormat",(t,e)=>{wn.init(t,e),e.format=e.format||"float64";let n=e.format?.includes("int"),i=n?"int":"number",[a,r]=sh[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=Ly)}),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 Yy=P("$ZodCheckMaxLength",(t,e)=>{var n;wn.init(t,e),(n=t._zod.def).when??(n.when=i=>{let a=i.value;return!Vs(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=Zs(a);i.issues.push({origin:s,code:"too_big",maximum:e.maximum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),Xy=P("$ZodCheckMinLength",(t,e)=>{var n;wn.init(t,e),(n=t._zod.def).when??(n.when=i=>{let a=i.value;return!Vs(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=Zs(a);i.issues.push({origin:s,code:"too_small",minimum:e.minimum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),eP=P("$ZodCheckLengthEquals",(t,e)=>{var n;wn.init(t,e),(n=t._zod.def).when??(n.when=i=>{let a=i.value;return!Vs(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=Zs(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})}}),io=P("$ZodCheckStringFormat",(t,e)=>{var n,i;wn.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=()=>{})}),nP=P("$ZodCheckRegex",(t,e)=>{io.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})}}),iP=P("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=Vy),io.init(t,e)}),tP=P("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=Jy),io.init(t,e)}),aP=P("$ZodCheckIncludes",(t,e)=>{wn.init(t,e);let n=Pt(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})}}),rP=P("$ZodCheckStartsWith",(t,e)=>{wn.init(t,e);let n=new RegExp(`^${Pt(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})}}),sP=P("$ZodCheckEndsWith",(t,e)=>{wn.init(t,e);let n=new RegExp(`.*${Pt(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 oP=P("$ZodCheckOverwrite",(t,e)=>{wn.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});var du=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 uP={major:4,minor:4,patch:3};var Re=P("$ZodType",(t,e)=>{var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=uP;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 c=Lt(s),u;for(let d of o){if(d._zod.def.when){if(oh(s)||!d._zod.def.when(s))continue}else if(c)continue;let h=s.issues.length,g=d._zod.check(s);if(g instanceof Promise&&l?.async===!1)throw new rt;if(u||g instanceof Promise)u=(u??Promise.resolve()).then(async()=>{await g,s.issues.length!==h&&(c||(c=Lt(s,h)))});else{if(s.issues.length===h)continue;c||(c=Lt(s,h))}}return u?u.then(()=>s):s},r=(s,o,l)=>{if(Lt(s))return s.aborted=!0,s;let c=a(o,i,l);if(c instanceof Promise){if(l.async===!1)throw new rt;return c.then(u=>t._zod.parse(u,l))}return t._zod.parse(c,l)};t._zod.run=(s,o)=>{if(o.skipChecks)return t._zod.parse(s,o);if(o.direction==="backward"){let c=t._zod.parse({value:s.value,issues:[]},{...o,skipChecks:!0});return c instanceof Promise?c.then(u=>r(u,s,o)):r(c,s,o)}let l=t._zod.parse(s,o);if(l instanceof Promise){if(o.async===!1)throw new rt;return l.then(c=>a(c,i,o))}return a(l,i,o)}}Me(t,"~standard",()=>({validate:a=>{try{let r=Ra(t,a);return r.success?{value:r.data}:{issues:r.error?.issues}}catch{return Ia(t,a).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},vendor:"zod",version:1}))}),to=P("$ZodString",(t,e)=>{Re.init(t,e),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??$y(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=P("$ZodStringFormat",(t,e)=>{io.init(t,e),to.init(t,e)}),mh=P("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=Ty),De.init(t,e)}),fh=P("$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=uh(i))}else e.pattern??(e.pattern=uh());De.init(t,e)}),wh=P("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=My),De.init(t,e)}),vh=P("$ZodURL",(t,e)=>{De.init(t,e),t._zod.check=n=>{try{let i=n.value.trim();if(!e.normalize&&e.protocol?.source===Iy.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})}}}),Ch=P("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=ky()),De.init(t,e)}),Ah=P("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=Sy),De.init(t,e)}),bh=P("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=by),De.init(t,e)}),xh=P("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=xy),De.init(t,e)}),yh=P("$ZodULID",(t,e)=>{e.pattern??(e.pattern=yy),De.init(t,e)}),Ph=P("$ZodXID",(t,e)=>{e.pattern??(e.pattern=Py),De.init(t,e)}),jh=P("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=jy),De.init(t,e)}),vP=P("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=Uy(e)),De.init(t,e)}),CP=P("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=Dy),De.init(t,e)}),AP=P("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=Ny(e)),De.init(t,e)}),bP=P("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=Oy),De.init(t,e)}),Sh=P("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=Ey),De.init(t,e),t._zod.bag.format="ipv4"}),Oh=P("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=qy),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 Th=P("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=_y),De.init(t,e)}),Mh=P("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=Hy),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 xP(t){if(t==="")return!0;if(/\s/.test(t)||t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}var kh=P("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=Ry),De.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{xP(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function D1(t){if(!ch.test(t))return!1;let e=t.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return xP(n)}var Eh=P("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=ch),De.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{D1(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),qh=P("$ZodE164",(t,e)=>{e.pattern??(e.pattern=Wy),De.init(t,e)});function G1(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 _h=P("$ZodJWT",(t,e)=>{De.init(t,e),t._zod.check=n=>{G1(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}});var mu=P("$ZodNumber",(t,e)=>{Re.init(t,e),t._zod.pattern=t._zod.bag.pattern??ph,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}}),Hh=P("$ZodNumberFormat",(t,e)=>{Qy.init(t,e),mu.init(t,e)}),Rh=P("$ZodBoolean",(t,e)=>{Re.init(t,e),t._zod.pattern=By,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 Ih=P("$ZodNull",(t,e)=>{Re.init(t,e),t._zod.pattern=Fy,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 Wh=P("$ZodUnknown",(t,e)=>{Re.init(t,e),t._zod.parse=n=>n}),zh=P("$ZodNever",(t,e)=>{Re.init(t,e),t._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)});function cP(t,e,n){t.issues.length&&e.issues.push(...jt(n,t.issues)),e.value[n]=t.value}var Dh=P("$ZodArray",(t,e)=>{Re.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;scP(c,n,s))):cP(l,n,s)}return r.length?Promise.all(r).then(()=>n):n}});function gu(t,e,n,i,a,r){let s=n in i;if(t.issues.length){if(a&&r&&!s)return;e.issues.push(...jt(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 yP(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=rh(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function PP(t,e,n,i,a,r){let s=[],o=a.keySet,l=a.catchall._zod,c=l.def.type,u=l.optin==="optional",d=l.optout==="optional";for(let h in e){if(h==="__proto__"||o.has(h))continue;if(c==="never"){s.push(h);continue}let g=l.run({value:e[h],issues:[]},i);g instanceof Promise?t.push(g.then(p=>gu(p,n,h,e,u,d))):gu(g,n,h,e,u,d)}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:e,inst:r}),t.length?Promise.all(t).then(()=>n):n}var Gh=P("$ZodObject",(t,e)=>{if(Re.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=Rr(()=>yP(e));Me(t._zod,"propValues",()=>{let o=e.shape,l={};for(let c in o){let u=o[c]._zod;if(u.values){l[c]??(l[c]=new Set);for(let d of u.values)l[c].add(d)}}return l});let a=Ha,r=e.catchall,s;t._zod.parse=(o,l)=>{s??(s=i.value);let c=o.value;if(!a(c))return o.issues.push({expected:"object",code:"invalid_type",input:c,inst:t}),o;o.value={};let u=[],d=s.shape;for(let h of s.keys){let g=d[h],p=g._zod.optin==="optional",m=g._zod.optout==="optional",f=g._zod.run({value:c[h],issues:[]},l);f instanceof Promise?u.push(f.then(w=>gu(w,o,h,c,p,m))):gu(f,o,h,c,p,m)}return r?PP(u,c,o,l,i.value,t):u.length?Promise.all(u).then(()=>o):o}}),jP=P("$ZodObjectJIT",(t,e)=>{Gh.init(t,e);let n=t._zod.parse,i=Rr(()=>yP(e)),a=h=>{let g=new du(["shape","payload","ctx"]),p=i.value,m=A=>{let x=su(A);return`shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};g.write("const input = payload.value;");let f=Object.create(null),w=0;for(let A of p.keys)f[A]=`key_${w++}`;g.write("const newResult = {};");for(let A of p.keys){let x=f[A],S=su(A),q=h[A],$=q?._zod?.optin==="optional",ne=q?._zod?.optout==="optional";g.write(`const ${x} = ${m(A)};`),$&&ne?g.write(` - if (${x}.issues.length) { - if (${S} in input) { - payload.issues = payload.issues.concat(${x}.issues.map(iss => ({ - ...iss, - path: iss.path ? [${S}, ...iss.path] : [${S}] - }))); +`}getLogLevel(e){switch(e){case"error":return eo.level.LError;case"debug":return eo.level.LDebug;case"trace":return eo.level.LTrace;default:return eo.level.LNone}}getLogFormat(e){return e==="json"?qr.formats.JSON:qr.formats.TEXT}},ex=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.authPopupConfiguration=this._getDefaultAuthPopupConfiguration(),this.logger=new Xb,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=u1();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}_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 n={};return this.authPopupConfiguration?n=JSON.parse(JSON.stringify(this.authPopupConfiguration)):n=this._getDefaultAuthPopupConfiguration(),typeof e=="object"&&e&&(typeof e.usePopup=="boolean"&&e.usePopup!==null&&e.usePopup!==void 0&&(n.usePopup=e.usePopup),typeof e.popupTimeout=="number"&&e.popupTimeout!==null&&e.popupTimeout!==void 0&&(n.popupTimeout=e.popupTimeout),typeof e.autoClosePopup=="boolean"&&e.autoClosePopup!==null&&e.autoClosePopup!==void 0&&(n.autoClosePopup=e.autoClosePopup),typeof e.autoClosePopupDelay=="number"&&e.autoClosePopupDelay!==null&&e.autoClosePopupDelay!==void 0&&(n.autoClosePopupDelay=e.autoClosePopupDelay),typeof e.popupTarget=="string"&&e.popupTarget!==null&&e.popupTarget!==void 0&&(n.popupTarget=e.popupTarget),typeof e.popupWindowFeatures=="string"&&e.popupWindowFeatures!==null&&e.popupWindowFeatures!==void 0&&(n.popupWindowFeatures=e.popupWindowFeatures),typeof e.overridePopupUrl=="string"&&e.overridePopupUrl!==null&&e.overridePopupUrl!==void 0&&(n.overridePopupUrl=e.overridePopupUrl),typeof e.overridePopupUrlParameters=="object"&&e.overridePopupUrlParameters!==null&&e.overridePopupUrlParameters!==void 0&&(n.overridePopupUrlParameters=e.overridePopupUrlParameters),typeof e.overridePopupUrlAuthParameters=="boolean"&&e.overridePopupUrlAuthParameters!==null&&e.overridePopupUrlAuthParameters!==void 0&&(n.overridePopupUrlAuthParameters=e.overridePopupUrlAuthParameters),typeof e.notifyPopup=="boolean"&&e.notifyPopup!==null&&e.notifyPopup!==void 0&&(n.notifyPopup=e.notifyPopup),typeof e.waitForLoginPromise=="boolean"&&e.waitForLoginPromise!==null&&e.waitForLoginPromise!==void 0&&(n.waitForLoginPromise=e.waitForLoginPromise),typeof e.useWindowReplace=="boolean"&&e.useWindowReplace!==null&&e.useWindowReplace!==void 0&&(n.useWindowReplace=e.useWindowReplace),typeof e.overrideWindowReplaceUri=="string"&&e.overrideWindowReplaceUri!==null&&e.overrideWindowReplaceUri!==void 0&&(n.overrideWindowReplaceUri=e.overrideWindowReplaceUri),typeof e.usePopupIdentifier=="boolean"&&e.usePopupIdentifier!==null&&e.usePopupIdentifier!==void 0&&(n.usePopupIdentifier=e.usePopupIdentifier)),n}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,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]}},q=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,this._listenerAuthPopupMessage=null,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 ex,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)}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 Au))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 mh(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)}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(n=>n!==e)}}removeAllAuthPopupStatusListeners(){this._listenersAuthPopupStatus&&(this._listenersAuthPopupStatus=[])}_emitAuthPopupStatus(e,n,i){this.onAuthPopupStatus&&this.onAuthPopupStatus(e,n,i),!(!this._listenersAuthPopupStatus||this._listenersAuthPopupStatus.length==0)&&this._listenersAuthPopupStatus.forEach(a=>a(e,n,i))}_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 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("")}}_startAuthPopup(e,n,i){try{i||(i={}),this._checkPopupTimeout&&clearTimeout(this._checkPopupTimeout),this._checkPopupTimeout=null,this._notifyPopupInterval&&clearInterval(this._notifyPopupInterval),this._notifyPopupInterval=null,this._listenerAuthPopupMessage&&(window.removeEventListener("message",this._listenerAuthPopupMessage),this._listenerAuthPopupMessage=null),this._authPopupWindow&&(i.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(i.overridePopupUrl){let r=null;i.overridePopupUrlAuthParameters===!0&&n?i.overridePopupUrlParameters?r={...n,...i.overridePopupUrlParameters}:r=n:i.overridePopupUrlParameters&&(r=i.overridePopupUrlParameters),r?a=`${i.overridePopupUrl}?${new URLSearchParams(r).toString()}`:a=i.overridePopupUrl}return new Promise((r,s)=>{this._listenerAuthPopupMessage=o=>{this._handleAuthPopupMessage(o,i,r,s)},window.addEventListener("message",this._listenerAuthPopupMessage),this._authPopupWindow=window.open(a,i.popupTarget,i.popupWindowFeatures),i.notifyPopup===!0&&(this._notifyPopupInterval=setInterval(function(){if(this._authPopupWindow){let o=new URL(this.redirectUri),l={name:"gc_auth_popup",type:"notify"};i.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),this._listenerAuthPopupMessage&&(window.removeEventListener("message",this._listenerAuthPopupMessage),this._listenerAuthPopupMessage=null),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),this._checkPopupTimeout=null,this._notifyPopupInterval&&clearInterval(this._notifyPopupInterval),this._notifyPopupInterval=null,s(new Error("Authentication Popup Timeout"))}.bind(this),i.popupTimeout)})}catch(a){throw console.error(a),a}}_extractValuesFromSearchAndHash(e,n){let i={};if(e&&e!=="?"){let a=new URLSearchParams(e),r=a.get("code");r&&(i.code=r);let s=a.get("state");s&&(i.state=s);let o=a.get("error");o&&(i.error=o);let l=a.get("error_description");l&&(i.error_description=l)}if(n&&n!=="#"){let a=new URLSearchParams(n.substring(1)),r=a.get("access_token");r&&(i.accessToken=r);let s=a.get("expires_in");s&&(i.tokenExpiryTime=new Date().getTime()+parseInt(s)*1e3,i.tokenExpiryTimeString=new Date(i.tokenExpiryTime).toUTCString());let o=a.get("state");o&&(i.state=o);let l=a.get("error");l&&(i.error=l);let c=a.get("error_description");c&&(i.error_description=c)}return i}_handleAuthPopupMessage(e,n,i,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,this._listenerAuthPopupMessage&&(window.removeEventListener("message",this._listenerAuthPopupMessage),this._listenerAuthPopupMessage=null),n.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"));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);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}`));n.useWindowReplace===!0?(this._emitAuthPopupStatus("REDIRECTING","Authorization Popup Completed",this._popupIdentifier),this._popupIdentifier=null,n.overrideWindowReplaceUri?window.location.replace(`${n.overrideWindowReplaceUri}${o||""}${l||""}`):window.location.replace(`${window.location.origin}${window.location.pathname}${o||""}${l||""}`),i(null)):s&&s.accessToken?(this._saveSettings(s),this._testTokenAccess().then(()=>{this._emitAuthPopupStatus("AUTHENTICATED","Authorization Popup Completed",this._popupIdentifier),this._popupIdentifier=null,i(s)}).catch(c=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${c.name}] ${c.message}`,this._popupIdentifier),this._popupIdentifier=null,this._saveSettings({accessToken:void 0}),a(new Error(`[${c.name}] ${c.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`)),i(this.authData)}).catch(c=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${c.name}] ${c.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(`[${c.name}] ${c.message}`))))}).catch(c=>(this._emitAuthPopupStatus("AUTH_ERROR",`Auth Error: [${c.name}] ${c.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(`[${c.name}] ${c.message}`)))))}}}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:this.clientId,redirect_uri:this.redirectUri,response_type:"token"};i.state&&(l.state=i.state),i.org&&(l.org=i.org),i.provider&&(l.provider=i.provider),i.target&&(l.target=i.target),i.login_hint&&(l.login_hint=i.login_hint),i.prompt&&i.prompt=="login"&&(l.prompt=i.prompt);let c=this.config.mergeWithAuthPopupConfiguration(i.authPopupConfiguration);var u=this._buildAuthUrl("oauth/authorize",l);c.usePopup===!0?this._startAuthPopup(u,l,c).then(p=>{r(p)}).catch(p=>s(new Error(`[${p.name}] ${p.message}`))):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 Ta(`${a}/oauth/token`,"POST",o,null,"grant_type=client_credentials",this.timeout);this.getHttpClient().request(l).then(u=>{this.config.logger.log("trace",u.status,"POST",`${a}/oauth/token`,o,u.headers,{grant_type:"client_credentials"},void 0),this.config.logger.log("debug",u.status,"POST",`${a}/oauth/token`,o,void 0,{grant_type:"client_credentials"},void 0),this.setAccessToken(u.data.access_token),this.authData.tokenExpiryTime=new Date().getTime()+u.data.expires_in*1e3,this.authData.tokenExpiryTimeString=new Date(this.authData.tokenExpiryTime).toUTCString(),r(this.authData)}).catch(u=>{u.response&&this.config.logger.log("error",u.response.status,"POST",`${a}/oauth/token`,o,u.response.headers,{grant_type:"client_credentials"},u.response.data),s(u)})})}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"),c=this._formAuthRequest(l,{grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:i,assertion:a});c.proxy=this.proxy;var u={grant_type:"urn:ietf:params:oauth:grant-type:saml2-bearer",orgName:i,assertion:a};c.then(p=>{this.config.logger.log("trace",p.status,"POST",`${r}/oauth/token`,c.headers,p.headers,u,void 0),this.config.logger.log("debug",p.status,"POST",`${r}/oauth/token`,c.headers,void 0,u,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`,c.headers,p.response.headers,u,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"},c=new URLSearchParams({grant_type:"authorization_code",code:i,code_verifier:n,client_id:e,redirect_uri:a}).toString(),u=new Ta(`${r}/oauth/token`,"POST",l,null,c,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(u).then(g=>{this.config.logger.log("trace",g.status,"POST",`${r}/oauth/token`,u.headers,g.headers,h,void 0),this.config.logger.log("debug",g.status,"POST",`${r}/oauth/token`,u.headers,void 0,h,void 0);var d=g.data.access_token;let m={accessToken:d};g.data.expires_in!==null&&g.data.expires_in!==void 0&&(m.tokenExpiryTime=new Date().getTime()+g.data.expires_in*1e3,m.tokenExpiryTimeString=new Date(m.tokenExpiryTime).toUTCString()),this._saveSettings(m),s(this.authData)}).catch(g=>{g.response&&this.config.logger.log("error",g.response.status,"POST",`${r}/oauth/token`,u.headers,g.response.headers,h,g.response.data),o(g)})})}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"),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(i.skipTest).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),sessionStorage.setItem(`${this.settingsPrefix}_pkce_code_verifier`,this.codeVerifier))),this.computePKCECodeChallenge(this.codeVerifier).then(c=>{var u={client_id:this.clientId,redirect_uri:this.redirectUri,code_challenge:c,response_type:"code",code_challenge_method:"S256"};i.state&&(u.state=i.state),i.org&&(u.org=i.org),i.provider&&(u.provider=i.provider),i.target&&(u.target=i.target),i.login_hint&&(u.login_hint=i.login_hint),i.prompt&&i.prompt=="login"&&(u.prompt=i.prompt);let p=this.config.mergeWithAuthPopupConfiguration(i.authPopupConfiguration);var h=this._buildAuthUrl("oauth/authorize",u);p.usePopup===!0?this._startAuthPopup(h,u,p).then(g=>{s(g)}).catch(g=>o(new Error(`[${g.name}] ${g.message}`))):window.location.replace(h)}).catch(c=>o(new Error(`[${c.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,c=window.location;return"replaceState"in history?history.replaceState("",document.title,c.pathname):(o=document.body.scrollTop,l=document.body.scrollLeft,history.pushState("",document.title,c.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 c={grant_type:"authorization_code",code:i,redirect_uri:a};this._handleCodeAuthorizationResponse(l,c,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 URLSearchParams(n).toString(),s=new Ta(`${i}/oauth/token`,"POST",a,null,r,this.timeout);return this.getHttpClient().request(s)}_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(e){return new Promise((n,i)=>{if(typeof e=="boolean"&&e===!0){i(new Error("Skipping Test Token"));return}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(()=>{n()}).catch(a=>{this._saveSettings({accessToken:void 0}),i(a)})})}_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:this.clientId};e&&(n.redirect_uri=e);var i=this._buildAuthUrl("logout",n);window.location.replace(i)}_buildAuthUrl(e,n){var i=this.config.getConfUrl("login",this.config.authUrl);return n?`${i}/${e}?${new URLSearchParams(n).toString()}`:`${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,c,u,p){return new Promise((h,g)=>{d(this);function d(m){var w=m.buildUrl(e,i),f=new Ta(w,n,null,m.serialize(a),null,m.timeout);m.applyAuthToRequest(f,l);let A=m.defaultHeaders,b=m.normalizeParams(r);if(f.headers=m.addHeaders(f.headers,A,b),p){if(typeof p!="object")throw new Error("Per-request headers must be a valid object");for(let[_,W]of Object.entries(p)){if(typeof _!="string"||typeof W!="string")throw new Error(`Invalid header: "${_}" must have string name and value`);if(!/^[!#$%&'*+\-.0-9A-Z^_`a-z|~]+$/.test(_))throw new Error(`Invalid header name: "${_}" - must be a valid HTTP token`);for(let le=0;le=33&&Pe<=126||Pe===32||Pe===9||Pe>=128&&Pe<=255))throw new Error(`Invalid header value for "${_}": contains invalid characters`)}f.headers[_]=W}}var x=m.jsonPreferredMime(c);if(x?f.headers["Content-Type"]=x:f.headers["Content-Type"]||(f.headers["Content-Type"]="application/json"),x==="application/x-www-form-urlencoded")f.setData(m.normalizeParams(s));else if(x=="multipart/form-data"){var S=m.normalizeParams(s);for(var T in S)if(S.hasOwnProperty(T)){var M=new FormData;M.set(T,S[T]),f.setData(M)}}else o&&f.setData(o);var V=m.jsonPreferredMime(u);V&&(f.headers.Accept=V),m.getHttpClient().request(f).then(_=>{var W=m.returnExtended===!0?{status:_.status,statusText:_.statusText,headers:_.headers,body:_.data,text:_.text,error:null}:_.data?_.data:_.text;m.config.logger.log("trace",_.status,n,w,f.headers,_.headers,o,void 0),m.config.logger.log("debug",_.status,n,w,f.headers,void 0,o,void 0),h(W)}).catch(_=>{var W=_;_.response&&_.response.status==401&&m.config.refresh_access_token&&m.authData.refreshToken&&m.authData.refreshToken!==""?m._handleExpiredAccessToken().then(()=>{d(m)}).catch(le=>{g(le)}):_.response&&(m.config.logger.log("error",_.response.status,n,w,f.headers,_.response.headers,o,_.response.data),W=m.returnExtended===!0?{status:_.response.status,statusText:_.response.statusText,headers:_.response.headers,body:_.response.data,text:_.response.text,error:_}:_.response.data?_.response.data:_.response.text),g(W)})}})}},nx=class{constructor(e){this.apiClient=e||q.instance}deleteAgenticVirtualagentJobs(e,n){if(n=n||{},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"],n.customHeaders)}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)}getAgenticVirtualagent(e,n){if(n=n||{},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"],n.customHeaders)}getAgenticVirtualagentJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagentJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getAgenticVirtualagentJob';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs/{jobId}","GET",{virtualAgentId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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,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",{},{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,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)}patchAgenticVirtualagent(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling patchAgenticVirtualagent';if(n==null)throw'Missing the required parameter "body" when calling patchAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","PATCH",{virtualAgentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postAgenticVirtualagentVersionJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling postAgenticVirtualagentVersionJobs';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling postAgenticVirtualagentVersionJobs';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAgenticVirtualagents(e,n){if(n=n||{},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"],n.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)}},ix=class{constructor(e){this.apiClient=e||q.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,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,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)}},tx=class{constructor(e){this.apiClient=e||q.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)}},ax=class{constructor(e){this.apiClient=e||q.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)}},rx=class{constructor(e){this.apiClient=e||q.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)}},sx=class{constructor(e){this.apiClient=e||q.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)}},ox=class{constructor(e){this.apiClient=e||q.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"),divisionId:this.apiClient.buildCollectionParam(e.divisionId,"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)}getFlowsLookup(e,n){if(n=n||{},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:n.pageNumber,pageSize:n.pageSize,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},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)}getFlowsValidateJob(e,n){if(n=n||{},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(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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",{},{},{},{},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,n){if(n=n||{},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"],n.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)}},lx=class{constructor(e){this.apiClient=e||q.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)}},ux=class{constructor(e){this.apiClient=e||q.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)}},cx=class{constructor(e){this.apiClient=e||q.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)}},px=class{constructor(e){this.apiClient=e||q.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)}},dx=class{constructor(e){this.apiClient=e||q.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)}},hx=class{constructor(e){this.apiClient=e||q.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)}deleteBusinessrulesDecisiontableExport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableExport';if(n==null||n==="")throw'Missing the required parameter "exportJobId" when calling deleteBusinessrulesDecisiontableExport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}","DELETE",{tableId:e,exportJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteBusinessrulesDecisiontableImport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableImport';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling deleteBusinessrulesDecisiontableImport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}","DELETE",{tableId:e,importJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}deleteBusinessrulesDecisiontableVersionSnapshot(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionSnapshot';if(n==null)throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionSnapshot';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/snapshot","DELETE",{tableId:e,tableVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getBusinessrulesDecisiontableExport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExport';if(n==null||n==="")throw'Missing the required parameter "exportJobId" when calling getBusinessrulesDecisiontableExport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}","GET",{tableId:e,exportJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableExports(e,n){if(n=n||{},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:n.after,pageSize:n.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getBusinessrulesDecisiontableImport(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImport';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling getBusinessrulesDecisiontableImport';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}","GET",{tableId:e,importJobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesDecisiontableImports(e,n){if(n=n||{},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:n.after,pageSize:n.pageSize},{},{},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,status:this.apiClient.buildCollectionParam(n.status,"multi"),hasSnapshot:n.hasSnapshot},{},{},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)}getBusinessrulesSchemaVersion(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getBusinessrulesSchemaVersion';if(n==null||n==="")throw'Missing the required parameter "schemaVersion" when calling getBusinessrulesSchemaVersion';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}/versions/{schemaVersion}","GET",{schemaId:e,schemaVersion:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getBusinessrulesSchemaVersions(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "schemaId" when calling getBusinessrulesSchemaVersions';return this.apiClient.callApi("/api/v2/businessrules/schemas/{schemaId}/versions","GET",{schemaId:e},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},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)}patchBusinessrulesDecisiontableImport(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableImport';if(n==null||n==="")throw'Missing the required parameter "importJobId" when calling patchBusinessrulesDecisiontableImport';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}postBusinessrulesDecisiontableExports(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExports';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/exports","POST",{tableId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postBusinessrulesDecisiontableImports(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableImports';if(n==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableImports';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/imports","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)}postBusinessrulesDecisiontableVersionRollback(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRollback';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRollback';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rollback","POST",{tableId:e,tableVersion:n},{},{},{},i.body,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postBusinessrulesDecisiontableVersionRowsBulkAdd(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsBulkRemove(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postBusinessrulesDecisiontableVersionRowsBulkUpdate(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';if(i==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: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)}postBusinessrulesDecisiontableVersionSnapshot(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSnapshot';if(n==null)throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSnapshot';if(i==null)throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionSnapshot';return this.apiClient.callApi("/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/snapshot","POST",{tableId:e,tableVersion:n},{},{},{},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},{},{},{},n.body,["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)}},gx=class{constructor(e){this.apiClient=e||q.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)}},mx=class{constructor(e){this.apiClient=e||q.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)}deleteCasemanagementCaseCommentsMeCommentId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling deleteCasemanagementCaseCommentsMeCommentId';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}deleteCasemanagementCaseplanDataschema(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplanDataschema';if(n==null||n==="")throw'Missing the required parameter "schemaKeyName" when calling deleteCasemanagementCaseplanDataschema';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}","DELETE",{caseplanId:e,schemaKeyName:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteCasemanagementCaseplanStageplan(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplanStageplan';if(n==null||n==="")throw'Missing the required parameter "stageplanId" when calling deleteCasemanagementCaseplanStageplan';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}","DELETE",{caseplanId:e,stageplanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},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)}getCasemanagementCaseComment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling getCasemanagementCaseComment';if(n==null||n==="")throw'Missing the required parameter "commentId" when calling getCasemanagementCaseComment';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments/{commentId}","GET",{caseId:e,commentId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getCasemanagementCaseComments(e,n){if(n=n||{},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:n.after,pageSize:n.pageSize,sortOrder:n.sortOrder},{},{},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)}getCasemanagementCasesQueryJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getCasemanagementCasesQueryJob';return this.apiClient.callApi("/api/v2/casemanagement/cases/query/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getCasemanagementCasesQueryJobResults(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getCasemanagementCasesQueryJobResults';return this.apiClient.callApi("/api/v2/casemanagement/cases/query/jobs/{jobId}/results","GET",{jobId:e},{},{},{},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:this.apiClient.buildCollectionParam(n.expands,"multi")},{},{},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)}patchCasemanagementCaseDescription(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDescription';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseDescription';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/description","PATCH",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCasemanagementCaseExternalid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseExternalid';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseExternalid';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/externalid","PATCH",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchCasemanagementCaseOwner(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseOwner';if(n==null)throw'Missing the required parameter "body" when calling patchCasemanagementCaseOwner';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/owner","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,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';if(n==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseAssociations';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/associations","POST",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postCasemanagementCaseComments(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseId" when calling postCasemanagementCaseComments';if(n==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseComments';return this.apiClient.callApi("/api/v2/casemanagement/cases/{caseId}/comments","POST",{caseId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postCasemanagementCaseplanDataschemas(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanDataschemas';if(n==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplanDataschemas';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas","POST",{caseplanId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postCasemanagementCaseplanStageplanReposition(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanStageplanReposition';if(n==null||n==="")throw'Missing the required parameter "stageplanId" when calling postCasemanagementCaseplanStageplanReposition';if(i==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplanStageplanReposition';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/stageplans/{stageplanId}/reposition","POST",{caseplanId:e,stageplanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postCasemanagementCaseplanStageplans(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanStageplans';if(n==null)throw'Missing the required parameter "body" when calling postCasemanagementCaseplanStageplans';return this.apiClient.callApi("/api/v2/casemanagement/caseplans/{caseplanId}/stageplans","POST",{caseplanId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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,n){if(n=n||{},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"],n.customHeaders)}postCasemanagementCasesQueryJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postCasemanagementCasesQueryJobs';return this.apiClient.callApi("/api/v2/casemanagement/cases/query/jobs","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putCasemanagementCaseplanDataschema(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanDataschema';if(n==null||n==="")throw'Missing the required parameter "schemaKeyName" when calling putCasemanagementCaseplanDataschema';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}},fx=class{constructor(e){this.apiClient=e||q.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)}},wx=class{constructor(e){this.apiClient=e||q.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)}},vx=class{constructor(e){this.apiClient=e||q.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)}},Cx=class{constructor(e){this.apiClient=e||q.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)}getConversationAccessattributes(e,n){if(n=n||{},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"],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)}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},{},{},{},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},{},{},{},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)}patchConversationSuggestion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling patchConversationSuggestion';if(n==null||n==="")throw'Missing the required parameter "suggestionId" when calling patchConversationSuggestion';if(i==null)throw'Missing the required parameter "body" when calling patchConversationSuggestion';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/suggestions/{suggestionId}","PATCH",{conversationId:e,suggestionId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}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)}postConversationsCallParticipantCommunicationSummaries(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationSummaries';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationSummaries';if(i==null||i==="")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:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}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)}postConversationsEmailMessagesDraftAttachmentsUploads(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsEmailMessagesDraftAttachmentsUploads';if(n==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},{},{},{},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},{},{},{},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},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postConversationsMessageParticipantCommunicationSummaries(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationSummaries';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationSummaries';if(i==null||i==="")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:n,communicationId:i},{},{},{},a.body,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}postConversationsMessageParticipantTakeover(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantTakeover';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantTakeover';return this.apiClient.callApi("/api/v2/conversations/messages/{conversationId}/participants/{participantId}/takeover","POST",{conversationId:e,participantId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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",{},{},{},{},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)}putConversationAccessattributes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling putConversationAccessattributes';if(n==null)throw'Missing the required parameter "body" when calling putConversationAccessattributes';return this.apiClient.callApi("/api/v2/conversations/{conversationId}/accessattributes","PUT",{conversationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}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)}},Ax=class{constructor(e){this.apiClient=e||q.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)}},bx=class{constructor(e){this.apiClient=e||q.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)}},xx=class{constructor(e){this.apiClient=e||q.instance}getDependenciesTypeEntityTypeIdEntityIdConnectionsRequiredby(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "entityType" when calling getDependenciesTypeEntityTypeIdEntityIdConnectionsRequiredby';if(n==null||n==="")throw'Missing the required parameter "entityId" when calling getDependenciesTypeEntityTypeIdEntityIdConnectionsRequiredby';return this.apiClient.callApi("/api/v2/dependencies/type/{entityType}/id/{entityId}/connections/requiredby","GET",{entityType:e,entityId:n},{pageSize:i.pageSize,beforeSourceType:i.beforeSourceType,beforeSourceId:i.beforeSourceId,afterSourceType:i.afterSourceType,afterSourceId:i.afterSourceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDependenciesTypeEntityTypeIdEntityIdConnectionsRequiredbycounts(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "entityType" when calling getDependenciesTypeEntityTypeIdEntityIdConnectionsRequiredbycounts';if(n==null||n==="")throw'Missing the required parameter "entityId" when calling getDependenciesTypeEntityTypeIdEntityIdConnectionsRequiredbycounts';return this.apiClient.callApi("/api/v2/dependencies/type/{entityType}/id/{entityId}/connections/requiredbycounts","GET",{entityType:e,entityId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getDependenciesTypeEntityTypeIdEntityIdConnectionsRequires(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "entityType" when calling getDependenciesTypeEntityTypeIdEntityIdConnectionsRequires';if(n==null||n==="")throw'Missing the required parameter "entityId" when calling getDependenciesTypeEntityTypeIdEntityIdConnectionsRequires';return this.apiClient.callApi("/api/v2/dependencies/type/{entityType}/id/{entityId}/connections/requires","GET",{entityType:e,entityId:n},{pageSize:i.pageSize,beforeSourceType:i.beforeSourceType,beforeSourceId:i.beforeSourceId,afterSourceType:i.afterSourceType,afterSourceId:i.afterSourceId},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},yx=class{constructor(e){this.apiClient=e||q.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)}},Px=class{constructor(e){this.apiClient=e||q.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)}},jx=class{constructor(e){this.apiClient=e||q.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)}},Sx=class{constructor(e){this.apiClient=e||q.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)}},Ox=class{constructor(e){this.apiClient=e||q.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)}getExternalcontactsGraphsClusterscan(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scanId" when calling getExternalcontactsGraphsClusterscan';return this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans/{scanId}","GET",{scanId:e},{expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsGraphsClusterscanCluster(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scanId" when calling getExternalcontactsGraphsClusterscanCluster';if(n==null||n==="")throw'Missing the required parameter "clusterId" when calling getExternalcontactsGraphsClusterscanCluster';return this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans/{scanId}/clusters/{clusterId}","GET",{scanId:e,clusterId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getExternalcontactsGraphsClusterscanClusters(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scanId" when calling getExternalcontactsGraphsClusterscanClusters';return this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans/{scanId}/clusters","GET",{scanId:e},{limit:n.limit,cursor:n.cursor,divisionIds:this.apiClient.buildCollectionParam(n.divisionIds,"multi"),"mergeInfo.status":n.mergeInfoStatus},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsGraphsClusterscanStatistics(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "scanId" when calling getExternalcontactsGraphsClusterscanStatistics';return this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans/{scanId}/statistics","GET",{scanId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getExternalcontactsGraphsClusterscans(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans","GET",{},{limit:e.limit,cursor:e.cursor,expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsGraphsClusterscansLatest(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans/latest","GET",{},{expand:this.apiClient.buildCollectionParam(e.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsGraphsClusterscansLatestStatistics(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans/latest/statistics","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.customHeaders)}getExternalcontactsGraphsSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/externalcontacts/graphs/settings","GET",{},{},{},{},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)}getExternalcontactsNotesExport(e,n){if(n=n||{},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"],n.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,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)}getExternalcontactsOrganizationsExport(e,n){if(n=n||{},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"],n.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,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)}getExternalcontactsRelationshipsExport(e,n){if(n=n||{},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"],n.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,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)}patchExternalcontactsContactNote(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "contactId" when calling patchExternalcontactsContactNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling patchExternalcontactsContactNote';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchExternalcontactsOrganization(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganization';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsOrganization';return this.apiClient.callApi("/api/v2/externalcontacts/organizations/{externalOrganizationId}","PATCH",{externalOrganizationId: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)}patchExternalcontactsOrganizationNote(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "externalOrganizationId" when calling patchExternalcontactsOrganizationNote';if(n==null||n==="")throw'Missing the required parameter "noteId" when calling patchExternalcontactsOrganizationNote';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchExternalcontactsRelationship(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "relationshipId" when calling patchExternalcontactsRelationship';if(n==null)throw'Missing the required parameter "body" when calling patchExternalcontactsRelationship';return this.apiClient.callApi("/api/v2/externalcontacts/relationships/{relationshipId}","PATCH",{relationshipId: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)}postExternalcontactsContactsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postExternalcontactsContactsSearch';return this.apiClient.callApi("/api/v2/externalcontacts/contacts/search","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)}postExternalcontactsNotesExports(e,n){if(n=n||{},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"],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)}postExternalcontactsOrganizationsExports(e,n){if(n=n||{},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"],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)}postExternalcontactsRelationshipsExports(e,n){if(n=n||{},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"],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)}putExternalcontactsGraphsClusterscanClusterMerge(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "scanId" when calling putExternalcontactsGraphsClusterscanClusterMerge';if(n==null||n==="")throw'Missing the required parameter "clusterId" when calling putExternalcontactsGraphsClusterscanClusterMerge';return this.apiClient.callApi("/api/v2/externalcontacts/graphs/clusterscans/{scanId}/clusters/{clusterId}/merge","PUT",{scanId:e,clusterId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}putExternalcontactsGraphsSettings(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling putExternalcontactsGraphsSettings';return this.apiClient.callApi("/api/v2/externalcontacts/graphs/settings","PUT",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}},Tx=class{constructor(e){this.apiClient=e||q.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)}getFaxFaxIdStatus(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "faxId" when calling getFaxFaxIdStatus';return this.apiClient.callApi("/api/v2/fax/{faxId}/status","GET",{faxId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}},kx=class{constructor(e){this.apiClient=e||q.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)}},Mx=class{constructor(e){this.apiClient=e||q.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,c){if(c=c||{},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"],c.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)}},Ex=class{constructor(e){this.apiClient=e||q.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)}},qx=class{constructor(e){this.apiClient=e||q.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)}},_x=class{constructor(e){this.apiClient=e||q.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)}},Hx=class{constructor(e){this.apiClient=e||q.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)}},Wx=class{constructor(e){this.apiClient=e||q.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)}},Rx=class{constructor(e){this.apiClient=e||q.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)}},Ix=class{constructor(e){this.apiClient=e||q.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,credentialId:e.credentialId},{},{},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)}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)}},zx=class{constructor(e){this.apiClient=e||q.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)}postIntentsCustomerintentsBulkRetrieve(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postIntentsCustomerintentsBulkRetrieve';return this.apiClient.callApi("/api/v2/intents/customerintents/bulk/retrieve","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Dx=class{constructor(e){this.apiClient=e||q.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)}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,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)}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)}putJourneyViewsEventdefinition(e,n){if(n=n||{},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},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}putJourneyViewsEventdefinitionActivate(e,n){if(n=n||{},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},{},{},{},n.body,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}},Gx=class{constructor(e){this.apiClient=e||q.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)}deleteKnowledgeSourceSynchronizationDeletion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSourceSynchronizationDeletion';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling deleteKnowledgeSourceSynchronizationDeletion';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteKnowledgeSourceSynchronizationUpload(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling deleteKnowledgeSourceSynchronizationUpload';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling deleteKnowledgeSourceSynchronizationUpload';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}getKnowledgeKnowledgebaseDocumentsFeedback(e,n){if(n=n||{},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: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)}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)}getKnowledgeSourceSynchronizationDeletion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationDeletion';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationDeletion';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeSourceSynchronizationDeletions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationDeletions';if(n==null||n==="")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:n},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getKnowledgeSourceSynchronizationUpload(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationUpload';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling getKnowledgeSourceSynchronizationUpload';if(i==null||i==="")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:n,fileId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getKnowledgeSourceSynchronizationUploads(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling getKnowledgeSourceSynchronizationUploads';if(n==null||n==="")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:n},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},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)}postKnowledgeSourceSynchronizationDeletions(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "sourceId" when calling postKnowledgeSourceSynchronizationDeletions';if(n==null||n==="")throw'Missing the required parameter "synchronizationId" when calling postKnowledgeSourceSynchronizationDeletions';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}},Nx=class{constructor(e){this.apiClient=e||q.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)}},Ux=class{constructor(e){this.apiClient=e||q.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)}},$x=class{constructor(e){this.apiClient=e||q.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",{},{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,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)}},Bx=class{constructor(e){this.apiClient=e||q.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)}},Lx=class{constructor(e){this.apiClient=e||q.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)}},Fx=class{constructor(e){this.apiClient=e||q.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)}},Vx=class{constructor(e){this.apiClient=e||q.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)}},Jx=class{constructor(e){this.apiClient=e||q.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)}},Kx=class{constructor(e){this.apiClient=e||q.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)}},Zx=class{constructor(e){this.apiClient=e||q.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)}},Qx=class{constructor(e){this.apiClient=e||q.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)}},Yx=class{constructor(e){this.apiClient=e||q.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)}},Xx=class{constructor(e){this.apiClient=e||q.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)}},ey=class{constructor(e){this.apiClient=e||q.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)}},ny=class{constructor(e){this.apiClient=e||q.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"),timeZone:e.timeZone,dateExpiration:this.apiClient.buildCollectionParam(e.dateExpiration,"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,timeZone:e.timeZone,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)}postOutboundContactlistsBulkUpdate(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postOutboundContactlistsBulkUpdate';return this.apiClient.callApi("/api/v2/outbound/contactlists/bulk/update","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)}},iy=class{constructor(e){this.apiClient=e||q.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)}},ty=class{constructor(e){this.apiClient=e||q.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)}},ay=class{constructor(e){this.apiClient=e||q.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)}getQualityPublishedformsEvaluationsDivisionview(e,n){if(n=n||{},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"],n.customHeaders)}getQualityPublishedformsEvaluationsDivisionviews(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getQualityPublishedformsEvaluationsDivisionviews';return this.apiClient.callApi("/api/v2/quality/publishedforms/evaluations/divisionviews","GET",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,name:n.name,divisionId:n.divisionId,id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}getQualityPublishedformsSurveysDivisionview(e,n){if(n=n||{},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"],n.customHeaders)}getQualityPublishedformsSurveysDivisionviews(e,n){if(n=n||{},e==null)throw'Missing the required parameter "id" when calling getQualityPublishedformsSurveysDivisionviews';return this.apiClient.callApi("/api/v2/quality/publishedforms/surveys/divisionviews","GET",{},{pageSize:n.pageSize,pageNumber:n.pageNumber,name:n.name,divisionId:n.divisionId,id:this.apiClient.buildCollectionParam(e,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}},ry=class{constructor(e){this.apiClient=e||q.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)}},sy=class{constructor(e){this.apiClient=e||q.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)}getResponsemanagementLibrariesDivisionview(e,n){if(n=n||{},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"],n.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,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)}getResponsemanagementResponsesDivisionview(e,n){if(n=n||{},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"],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)}postResponsemanagementResponsesDivisionviewsQuery(e,n){if(n=n||{},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"],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)}},oy=class{constructor(e){this.apiClient=e||q.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)}deleteRoutingEmailSettingEmailSettingId(e,n){if(n=n||{},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"],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)}deleteRoutingSkillexpression(e,n){if(n=n||{},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"],n.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,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)}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)}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,n){if(n=n||{},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"],n.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)}getRoutingSkillexpression(e,n){if(n=n||{},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:n.includeArchived,format:n.format},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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,n){if(n=n||{},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:n.format,includeArchived:n.includeArchived},{},{},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)}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)}patchRoutingEmailSettingEmailSettingId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "emailSettingId" when calling patchRoutingEmailSettingEmailSettingId';if(n==null)throw'Missing the required parameter "body" when calling patchRoutingEmailSettingEmailSettingId';return this.apiClient.callApi("/api/v2/routing/email/setting/{emailSettingId}","PATCH",{emailSettingId: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)}postRoutingEmailSetting(e,n){if(n=n||{},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"],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)}postRoutingSkillexpressionsValidate(e,n){if(n=n||{},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"],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)}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)}},ly=class{constructor(e){this.apiClient=e||q.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)}},uy=class{constructor(e){this.apiClient=e||q.instance}deleteConversationParticipantScreenmonitorsSession(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling deleteConversationParticipantScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling deleteConversationParticipantScreenmonitorsSession';if(i==null||i==="")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:n,screenMonitoringId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}deleteUserScreenmonitorsSession(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling deleteUserScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "screenMonitoringId" when calling deleteUserScreenmonitorsSession';return this.apiClient.callApi("/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}","DELETE",{userId:e,screenMonitoringId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getConversationParticipantScreenmonitorsSession(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling getConversationParticipantScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "participantId" when calling getConversationParticipantScreenmonitorsSession';if(i==null||i==="")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:n,screenMonitoringId:i},{},{},{},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,n){if(n=n||{},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"],n.customHeaders)}getUserScreenmonitorsSession(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "userId" when calling getUserScreenmonitorsSession';if(n==null||n==="")throw'Missing the required parameter "screenMonitoringId" when calling getUserScreenmonitorsSession';return this.apiClient.callApi("/api/v2/users/{userId}/screenmonitors/sessions/{screenMonitoringId}","GET",{userId:e,screenMonitoringId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postConversationParticipantScreenmonitorsSessions(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "conversationId" when calling postConversationParticipantScreenmonitorsSessions';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postScreenmonitorsSessionsUsersDetails(e,n){if(n=n||{},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"],n.customHeaders)}postUserScreenmonitorsSessions(e,n){if(n=n||{},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"],n.customHeaders)}putScreenmonitorsSettings(e,n){if(n=n||{},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"],n.customHeaders)}},cy=class{constructor(e){this.apiClient=e||q.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)}},py=class{constructor(e){this.apiClient=e||q.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)}},dy=class{constructor(e){this.apiClient=e||q.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)}},hy=class{constructor(e){this.apiClient=e||q.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)}},gy=class{constructor(e){this.apiClient=e||q.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)}getSpeechandtextanalyticsProgramSettingsProcessing(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsProcessing';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/settings/processing","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)}getSpeechandtextanalyticsProgramsSettingsProcessing(e){return e=e||{},this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/settings/processing","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)}getSpeechandtextanalyticsTopicsGeneratedphrasesJob(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsGeneratedphrasesJob';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/generatedphrases/jobs/{jobId}","GET",{jobId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}patchSpeechandtextanalyticsProgramSettingsProcessing(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "programId" when calling patchSpeechandtextanalyticsProgramSettingsProcessing';if(n==null)throw'Missing the required parameter "body" when calling patchSpeechandtextanalyticsProgramSettingsProcessing';return this.apiClient.callApi("/api/v2/speechandtextanalytics/programs/{programId}/settings/processing","PATCH",{programId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postSpeechandtextanalyticsTopicsGeneratedphrasesJobs(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsGeneratedphrasesJobs';return this.apiClient.callApi("/api/v2/speechandtextanalytics/topics/generatedphrases/jobs","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)}},my=class{constructor(e){this.apiClient=e||q.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)}},fy=class{constructor(e){this.apiClient=e||q.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)}},wy=class{constructor(e){this.apiClient=e||q.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)}},vy=class{constructor(e){this.apiClient=e||q.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)}},Cy=class{constructor(e){this.apiClient=e||q.instance}deleteTelephonyOrganizationLinkTargetOrganizationId(e,n){if(n=n||{},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"],n.customHeaders)}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)}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)}getTelephonyPrefixes(e,n){if(n=n||{},e==null)throw'Missing the required parameter "type" when calling getTelephonyPrefixes';return this.apiClient.callApi("/api/v2/telephony/prefixes","GET",{},{before:n.before,after:n.after,pageSize:n.pageSize,prefix:n.prefix,type:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getTelephonyPrefixesSimulateCall(e,n){if(n=n||{},e==null)throw'Missing the required parameter "_number" when calling getTelephonyPrefixesSimulateCall';return this.apiClient.callApi("/api/v2/telephony/prefixes/simulate/call","GET",{},{number:e},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}patchTelephonyOrganizationLinkApproveRequestingOrganizationId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "requestingOrganizationId" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';if(n==null)throw'Missing the required parameter "body" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';return this.apiClient.callApi("/api/v2/telephony/organization/link/approve/{requestingOrganizationId}","PATCH",{requestingOrganizationId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postTelephonyNumbersRouting(e,n){if(n=n||{},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"],n.customHeaders)}postTelephonyNumbersRoutingAll(e,n){if(n=n||{},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"],n.customHeaders)}postTelephonyNumbersRoutingReset(e,n){if(n=n||{},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"],n.customHeaders)}postTelephonyOrganizationLink(e,n){if(n=n||{},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"],n.customHeaders)}postTelephonyPrefixesBulk(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyPrefixesBulk';return this.apiClient.callApi("/api/v2/telephony/prefixes/bulk","POST",{},{},{},{},e,["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)}},Ay=class{constructor(e){this.apiClient=e||q.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)}getTelephonyProvidersEdgesTrunkbasesettingsSiteSiteId(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesTrunkbasesettingsSiteSiteId';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/site/{siteId}","GET",{siteId:e},{pageNumber:n.pageNumber,pageSize:n.pageSize,sortBy:n.sortBy,sortOrder:n.sortOrder},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}postTelephonyProvidersEdgeOfflineconfiguration(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "edgeId" when calling postTelephonyProvidersEdgeOfflineconfiguration';if(n==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgeOfflineconfiguration';return this.apiClient.callApi("/api/v2/telephony/providers/edges/{edgeId}/offlineconfiguration","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)}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)}postTelephonyProvidersEdgesTrunkbasesettingsSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesTrunkbasesettingsSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunkbasesettings/search","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postTelephonyProvidersEdgesTrunksSearch(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postTelephonyProvidersEdgesTrunksSearch';return this.apiClient.callApi("/api/v2/telephony/providers/edges/trunks/search","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)}},by=class{constructor(e){this.apiClient=e||q.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)}},xy=class{constructor(e){this.apiClient=e||q.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)}},yy=class{constructor(e){this.apiClient=e||q.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)}},Py=class{constructor(e){this.apiClient=e||q.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)}},jy=class{constructor(e){this.apiClient=e||q.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)}},Sy=class{constructor(e){this.apiClient=e||q.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)}deleteUsersMeVerifier(e,n){if(n=n||{},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"],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)}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,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)}postUsersMeVerifiersTotp(e,n){if(n=n||{},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"],n.customHeaders)}postUsersMeVerifiersTotpVerifierId(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "verifierId" when calling postUsersMeVerifiersTotpVerifierId';if(n==null)throw'Missing the required parameter "body" when calling postUsersMeVerifiersTotpVerifierId';return this.apiClient.callApi("/api/v2/users/me/verifiers/totp/{verifierId}","POST",{verifierId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postUsersMeVerifiersWebauthnRegister(e,n){if(n=n||{},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"],n.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,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)}putUsersMeVerifier(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "verifierId" when calling putUsersMeVerifier';if(n==null)throw'Missing the required parameter "body" when calling putUsersMeVerifier';return this.apiClient.callApi("/api/v2/users/me/verifiers/{verifierId}","PUT",{verifierId: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)}},Oy=class{constructor(e){this.apiClient=e||q.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)}},Ty=class{constructor(e){this.apiClient=e||q.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)}},ky=class{constructor(e){this.apiClient=e||q.instance}deleteAgenticVirtualagentJobs(e,n){if(n=n||{},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"],n.customHeaders)}getAgenticVirtualagent(e,n){if(n=n||{},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"],n.customHeaders)}getAgenticVirtualagentJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling getAgenticVirtualagentJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getAgenticVirtualagentJob';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}/jobs/{jobId}","GET",{virtualAgentId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling patchAgenticVirtualagent';if(n==null)throw'Missing the required parameter "body" when calling patchAgenticVirtualagent';return this.apiClient.callApi("/api/v2/agentic/virtualagents/{virtualAgentId}","PATCH",{virtualAgentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postAgenticVirtualagentVersionJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "virtualAgentId" when calling postAgenticVirtualagentVersionJobs';if(n==null||n==="")throw'Missing the required parameter "versionId" when calling postAgenticVirtualagentVersionJobs';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postAgenticVirtualagents(e,n){if(n=n||{},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"],n.customHeaders)}},My=class{constructor(e){this.apiClient=e||q.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)}},Ey=class{constructor(e){this.apiClient=e||q.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)}},qy=class{constructor(e){this.apiClient=e||q.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)}},_y=class{constructor(e){this.apiClient=e||q.instance}deleteWorkforcemanagementAdherenceAdjustment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "adjustmentId" when calling deleteWorkforcemanagementAdherenceAdjustment';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/adjustments/{adjustmentId}","DELETE",{adjustmentId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}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)}deleteWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode';if(n==null||n==="")throw'Missing the required parameter "reasonCodeId" when calling deleteWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes/{reasonCodeId}","DELETE",{businessUnitId:e,reasonCodeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';if(n==null)throw'Missing the required parameter "ids" when calling deleteWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes/bulk","DELETE",{businessUnitId:e},{ids:this.apiClient.buildCollectionParam(n,"multi")},{},{},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)}deleteWorkforcemanagementBusinessunitSchedulebid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}","DELETE",{businessUnitId:e,bidId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}deleteWorkforcemanagementBusinessunitSchedulebidGroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}getWorkforcemanagementAdherenceAdjustment(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "adjustmentId" when calling getWorkforcemanagementAdherenceAdjustment';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/adjustments/{adjustmentId}","GET",{adjustmentId:e},{},{},{},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)}getWorkforcemanagementAgentAdherenceAdjustment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentAdherenceAdjustment';if(n==null||n==="")throw'Missing the required parameter "adjustmentId" when calling getWorkforcemanagementAgentAdherenceAdjustment';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/adjustments/{adjustmentId}","GET",{agentId:e,adjustmentId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getWorkforcemanagementBusinessunitActivityplanDeletionsJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanDeletionsJob';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanDeletionsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanDeletionsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/deletions/jobs/{jobId}","GET",{businessUnitId:e,activityPlanId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitActivityplanJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanJobs';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/jobs","GET",{businessUnitId:e,activityPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJob(e,n,i,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJob';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJob';if(i==null||i==="")throw'Missing the required parameter "occurrenceId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJob';if(a==null||a==="")throw'Missing the required parameter "sessionId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJob';if(r==null||r==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/occurrences/{occurrenceId}/sessions/{sessionId}/users/deletions/jobs/{jobId}","GET",{businessUnitId:e,activityPlanId:n,occurrenceId:i,sessionId:a,jobId:r},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJob(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJob';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJob';if(i==null||i==="")throw'Missing the required parameter "occurrenceId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJob';if(a==null||a==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/occurrences/{occurrenceId}/sessions/deletions/jobs/{jobId}","GET",{businessUnitId:e,activityPlanId:n,occurrenceId:i,jobId:a},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}getWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJob';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJob';if(i==null||i==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/occurrences/deletions/jobs/{jobId}","GET",{businessUnitId:e,activityPlanId:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}getWorkforcemanagementBusinessunitAdherenceAdjustmentsBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsBulk';if(n==null)throw'Missing the required parameter "adjustmentIds" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/bulk","GET",{businessUnitId:e},{adjustmentIds:this.apiClient.buildCollectionParam(n,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/query/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJobs(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/query/jobs","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode';if(n==null||n==="")throw'Missing the required parameter "reasonCodeId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes/{reasonCodeId}","GET",{businessUnitId:e,reasonCodeId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodes(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodes';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes","GET",{businessUnitId:e},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';if(n==null)throw'Missing the required parameter "ids" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes/bulk","GET",{businessUnitId:e},{ids:this.apiClient.buildCollectionParam(n,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitAdherenceAdjustmentsSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAdherenceAdjustmentsSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/settings","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)}getWorkforcemanagementBusinessunitCapacityplanForecast(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitCapacityplanForecast';if(n==null||n==="")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:n},{granularity:i.granularity},{},{},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)}getWorkforcemanagementBusinessunitDecisionmetricsJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitDecisionmetricsJob';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportForecastJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportForecastJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportForecastJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/export/forecast/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportHistoricalJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportHistoricalJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportHistoricalJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/export/historical/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportSnapshotJob(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportSnapshotJob';if(n==null||n==="")throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportSnapshotJob';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/export/snapshot/jobs/{jobId}","GET",{businessUnitId:e,jobId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getWorkforcemanagementBusinessunitOpportunity(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitOpportunity';if(n==null||n==="")throw'Missing the required parameter "opportunityId" when calling getWorkforcemanagementBusinessunitOpportunity';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/opportunities/{opportunityId}","GET",{businessUnitId:e,opportunityId:n},{expand:i.expand},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}getWorkforcemanagementBusinessunitSchedulebid(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebid';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}","GET",{businessUnitId:e,bidId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroup(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroupPreferences(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(i==null||i==="")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:n,bidGroupId:i},{forceDownloadService:a.forceDownloadService,expand:this.apiClient.buildCollectionParam(a.expand,"multi")},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitSchedulebidGroupsSummary(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';if(n==null||n==="")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:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}getWorkforcemanagementBusinessunitSchedulebids(e,n){if(n=n||{},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"],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)}getWorkforcemanagementBusinessunitSchedulingpreferencesSettings(e,n){if(n=n||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingpreferencesSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulingpreferences/settings","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)}getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJob';if(i==null||i==="")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:n,jobId:i},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimitGranularityconversionJobs';if(n==null||n==="")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:n},{statuses:i.statuses},{},{},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,expand:this.apiClient.buildCollectionParam(n.expand,"multi")},{},{},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},{earliestWeekDate:i.earliestWeekDate,latestWeekDate:i.latestWeekDate,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)}getWorkforcemanagementManagementunitDecisionmetrics(e,n){if(n=n||{},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"],n.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)}getWorkforcemanagementSchedulebidPreference(e,n){if(n=n||{},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"],n.customHeaders)}getWorkforcemanagementSchedulebidSchedulesets(e,n){if(n=n||{},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"],n.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,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)}getWorkforcemanagementSchedulingpreferencesSettings(e){return e=e||{},this.apiClient.callApi("/api/v2/workforcemanagement/schedulingpreferences/settings","GET",{},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],e.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)}patchWorkforcemanagementAdherenceAdjustment(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "adjustmentId" when calling patchWorkforcemanagementAdherenceAdjustment';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAdherenceAdjustment';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/adjustments/{adjustmentId}","PATCH",{adjustmentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementAgentAdherenceAdjustment(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceAdjustment';if(n==null||n==="")throw'Missing the required parameter "adjustmentId" when calling patchWorkforcemanagementAgentAdherenceAdjustment';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAgentAdherenceAdjustment';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/adjustments/{adjustmentId}","PATCH",{agentId:e,adjustmentId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}patchWorkforcemanagementAgentUnavailabletimes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentUnavailabletimes';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementAgentUnavailabletimes';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/unavailabletimes","PATCH",{agentId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}patchWorkforcemanagementBusinessunitActivitycodesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycodesBulk';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycodesBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/bulk","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}patchWorkforcemanagementBusinessunitAdherenceAdjustmentsBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsBulk';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/bulk","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode';if(n==null||n==="")throw'Missing the required parameter "reasonCodeId" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode';if(i==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncode';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes/{reasonCodeId}","PATCH",{businessUnitId:e,reasonCodeId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes/bulk","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}patchWorkforcemanagementBusinessunitAdherenceAdjustmentsSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsSettings';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAdherenceAdjustmentsSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/settings","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}patchWorkforcemanagementBusinessunitOpportunity(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitOpportunity';if(n==null||n==="")throw'Missing the required parameter "opportunityId" when calling patchWorkforcemanagementBusinessunitOpportunity';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}patchWorkforcemanagementBusinessunitSchedulebid(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebid';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebid';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}patchWorkforcemanagementBusinessunitSchedulebidGroup(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';if(i==null||i==="")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:n,bidGroupId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.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)}patchWorkforcemanagementBusinessunitSchedulingpreferencesSettings(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingpreferencesSettings';if(n==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulingpreferencesSettings';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulingpreferences/settings","PATCH",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}patchWorkforcemanagementSchedulingpreferences(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling patchWorkforcemanagementSchedulingpreferences';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulingpreferences","PATCH",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}postWorkforcemanagementAdherenceAdjustments(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceAdjustments';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/adjustments","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.customHeaders)}postWorkforcemanagementAdherenceAdjustmentsQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceAdjustmentsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/adherence/adjustments/query","POST",{},{before:n.before,after:n.after,pageSize:n.pageSize},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.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)}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)}postWorkforcemanagementAgentAdherenceAdjustmentsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceAdjustmentsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceAdjustmentsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/adherence/adjustments/query","POST",{agentId:e},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.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)}postWorkforcemanagementAgentSchedulingpreferencesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentSchedulingpreferencesQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentSchedulingpreferencesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/{agentId}/schedulingpreferences/query","POST",{agentId:e},{},{},{},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)}postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkAdd(e,n){if(n=n||{},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"],n.customHeaders)}postWorkforcemanagementAgentsOpportunitiesEnrollmentsBulkStatusesUpdate(e,n){if(n=n||{},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"],n.customHeaders)}postWorkforcemanagementAgentsOpportunitiesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsOpportunitiesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/agents/opportunities/query","POST",{},{expand:n.expand,forceDownloadService:n.forceDownloadService},{},{},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)}postWorkforcemanagementBusinessunitActivityplanDeletionsJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanDeletionsJobs';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanDeletionsJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/deletions/jobs","POST",{businessUnitId:e,activityPlanId:n},{},{},{},null,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJobs(e,n,i,a,r,s){if(s=s||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJobs';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJobs';if(i==null||i==="")throw'Missing the required parameter "occurrenceId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJobs';if(a==null||a==="")throw'Missing the required parameter "sessionId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJobs';if(r==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionUsersDeletionsJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/occurrences/{occurrenceId}/sessions/{sessionId}/users/deletions/jobs","POST",{businessUnitId:e,activityPlanId:n,occurrenceId:i,sessionId:a},{},{},{},r,["PureCloud OAuth"],["application/json"],["application/json"],s.customHeaders)}postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJobs(e,n,i,a,r){if(r=r||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJobs';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJobs';if(i==null||i==="")throw'Missing the required parameter "occurrenceId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJobs';if(a==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivityplanOccurrenceSessionsDeletionsJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/occurrences/{occurrenceId}/sessions/deletions/jobs","POST",{businessUnitId:e,activityPlanId:n,occurrenceId:i},{},{},{},a,["PureCloud OAuth"],["application/json"],["application/json"],r.customHeaders)}postWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJobs(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJobs';if(n==null||n==="")throw'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJobs';if(i==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivityplanOccurrencesDeletionsJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/occurrences/deletions/jobs","POST",{businessUnitId:e,activityPlanId:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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)}postWorkforcemanagementBusinessunitAdherenceAdjustmentsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsQuery';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/query","POST",{businessUnitId:e},{before:i.before,after:i.after,pageSize:i.pageSize},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsQueryJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/query/jobs","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodes(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodes';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodes';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceAdjustmentsReasoncodesBulk';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/adjustments/reasoncodes/bulk","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)}postWorkforcemanagementBusinessunitDecisionmetricsUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdate';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdate';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/decisionmetrics/update","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitDecisionmetricsUpdateUploadurl(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitDecisionmetricsUpdateUploadurl';if(n==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},{},{},{},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)}postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportForecastJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportForecastJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportForecastJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/export/forecast/jobs","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportHistoricalJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportHistoricalJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportHistoricalJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/export/historical/jobs","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportSnapshotJobs(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportSnapshotJobs';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionExportSnapshotJobs';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/mainforecast/continuousforecast/session/export/snapshot/jobs","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkAdd(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkAdd';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkPublish(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkPublish';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkRemove(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkRemove';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesBulkStatusesUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesBulkStatusesUpdate';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsBulkStatusesUpdate(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsBulkStatusesUpdate';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesEnrollmentsQuery';if(n==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:i.expand,forceDownloadService:i.forceDownloadService},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesExternalactivitiesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesExternalactivitiesQuery';if(n==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},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitOpportunitiesQuery(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitOpportunitiesQuery';if(n==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:i.forceDownloadService},{},{},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)}postWorkforcemanagementBusinessunitSchedulebidCopy(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitSchedulebidGroups(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';if(n==null||n==="")throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitSchedulebids(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebids';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebids';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids","POST",{businessUnitId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';if(n==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';return this.apiClient.callApi("/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/effectiveschedulesets","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)}postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitGranularityconversion';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesImport(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImport';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImport';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesImportUploadurl';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.customHeaders)}postWorkforcemanagementBusinessunitTimeofflimitValuesQuery(e,n,i,a){if(a=a||{},e==null||e==="")throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesQuery';if(n==null||n==="")throw'Missing the required parameter "timeOffLimitId" when calling postWorkforcemanagementBusinessunitTimeofflimitValuesQuery';if(i==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:n},{},{},{},i,["PureCloud OAuth"],["application/json"],["application/json"],a.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},{includeOnly:a.includeOnly},{},{},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)}postWorkforcemanagementSchedulingpreferencesQuery(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementSchedulingpreferencesQuery';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulingpreferences/query","POST",{},{},{},{},e,["PureCloud OAuth"],["application/json"],["application/json"],n.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",{},{includeOnly:n.includeOnly},{},{},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)}postWorkforcemanagementUsersActivity(e,n){if(n=n||{},e==null)throw'Missing the required parameter "body" when calling postWorkforcemanagementUsersActivity';return this.apiClient.callApi("/api/v2/workforcemanagement/users/activity","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)}putWorkforcemanagementSchedulebidPreference(e,n,i){if(i=i||{},e==null||e==="")throw'Missing the required parameter "bidId" when calling putWorkforcemanagementSchedulebidPreference';if(n==null)throw'Missing the required parameter "body" when calling putWorkforcemanagementSchedulebidPreference';return this.apiClient.callApi("/api/v2/workforcemanagement/schedulebids/{bidId}/preference","PUT",{bidId:e},{},{},{},n,["PureCloud OAuth"],["application/json"],["application/json"],i.customHeaders)}},Hy=class{constructor(){this.ApiClient=new q,this.ApiClientClass=q,this.AIStudioApi=nx,this.AgentAssistantsApi=ix,this.AgentCopilotApi=tx,this.AgentUIApi=ax,this.AlertingApi=rx,this.AnalyticsApi=sx,this.ArchitectApi=ox,this.AssistantCopilotVariationsApi=lx,this.AuditApi=ux,this.AuthorizationApi=cx,this.BackgroundAssistantApi=px,this.BillingApi=dx,this.BusinessRulesApi=hx,this.CarrierServicesApi=gx,this.CaseManagementApi=mx,this.ChatApi=fx,this.CoachingApi=wx,this.ContentManagementApi=vx,this.ConversationsApi=Cx,this.DataExtensionsApi=Ax,this.DataPrivacyApi=bx,this.DependenciesApi=xx,this.DownloadsApi=yx,this.EmailsApi=Px,this.EmployeeEngagementApi=jx,this.EventsApi=Sx,this.ExternalContactsApi=Ox,this.FaxApi=Tx,this.FlowsApi=kx,this.GamificationApi=Mx,this.GeneralDataProtectionRegulationApi=Ex,this.GeolocationApi=qx,this.GreetingsApi=_x,this.GroupsApi=Hx,this.IdentityProviderApi=Wx,this.InfrastructureAsCodeApi=Rx,this.IntegrationsApi=Ix,this.IntentsApi=zx,this.JourneyApi=Dx,this.KnowledgeApi=Gx,this.LanguageUnderstandingApi=Nx,this.LanguagesApi=Ux,this.LearningApi=$x,this.LicenseApi=Bx,this.LocationsApi=Lx,this.LogCaptureApi=Fx,this.MessagingApi=Vx,this.MobileDevicesApi=Jx,this.NotificationsApi=Kx,this.OAuthApi=Zx,this.ObjectsApi=Qx,this.OperationalEventsApi=Yx,this.OrganizationApi=Xx,this.OrganizationAuthorizationApi=ey,this.OutboundApi=ny,this.PresenceApi=iy,this.ProcessAutomationApi=ty,this.QualityApi=ay,this.RecordingApi=ry,this.ResponseManagementApi=sy,this.RoutingApi=oy,this.SCIMApi=ly,this.ScreenMonitoringApi=uy,this.ScriptsApi=cy,this.SearchApi=py,this.SettingsApi=dy,this.SocialMediaApi=hy,this.SpeechTextAnalyticsApi=gy,this.StationsApi=my,this.SuggestApi=fy,this.TaskManagementApi=wy,this.TeamsApi=vy,this.TelephonyApi=Cy,this.TelephonyProvidersEdgeApi=Ay,this.TextbotsApi=by,this.TokensApi=xy,this.UploadsApi=yy,this.UsageApi=Py,this.UserRecordingsApi=jy,this.UsersApi=Sy,this.UsersRulesApi=Oy,this.UtilitiesApi=Ty,this.VirtualAgentsApi=ky,this.VoicemailApi=My,this.WebDeploymentsApi=Ey,this.WebMessagingApi=qy,this.WorkforceManagementApi=_y,this.PureCloudRegionHosts=Wne,this.AbstractHttpClient=Au,this.DefaultHttpClient=mh,this.HttpRequestOptions=Ta}},Ine=new Hy;c1.exports=Ine});var te={};Dh(te,{BRAND:()=>_z,DIRTY:()=>qa,EMPTY_PATH:()=>pz,INVALID:()=>Y,NEVER:()=>fD,OK:()=>In,ParseStatus:()=>kn,Schema:()=>re,ZodAny:()=>ea,ZodArray:()=>It,ZodBigInt:()=>Ha,ZodBoolean:()=>Wa,ZodBranded:()=>ro,ZodCatch:()=>Fa,ZodDate:()=>Ra,ZodDefault:()=>La,ZodDiscriminatedUnion:()=>ku,ZodEffects:()=>zi,ZodEnum:()=>$a,ZodError:()=>ei,ZodFirstPartyTypeKind:()=>E,ZodFunction:()=>Eu,ZodIntersection:()=>Ga,ZodIssueCode:()=>k,ZodLazy:()=>Na,ZodLiteral:()=>Ua,ZodMap:()=>Br,ZodNaN:()=>Fr,ZodNativeEnum:()=>Ba,ZodNever:()=>Ki,ZodNull:()=>za,ZodNullable:()=>ft,ZodNumber:()=>_a,ZodObject:()=>ni,ZodOptional:()=>Ri,ZodParsedType:()=>I,ZodPipeline:()=>so,ZodPromise:()=>na,ZodReadonly:()=>Va,ZodRecord:()=>Mu,ZodSchema:()=>re,ZodSet:()=>Lr,ZodString:()=>Xt,ZodSymbol:()=>Ur,ZodTransformer:()=>zi,ZodTuple:()=>mt,ZodType:()=>re,ZodUndefined:()=>Ia,ZodUnion:()=>Da,ZodUnknown:()=>Rt,ZodVoid:()=>$r,addIssueToContext:()=>H,any:()=>Uz,array:()=>Fz,bigint:()=>Iz,boolean:()=>rP,coerce:()=>mD,custom:()=>iP,date:()=>zz,datetimeRegex:()=>eP,defaultErrorMap:()=>Ht,discriminatedUnion:()=>Kz,effect:()=>oD,enum:()=>aD,function:()=>nD,getErrorMap:()=>Dr,getParsedType:()=>gt,instanceof:()=>Wz,intersection:()=>Zz,isAborted:()=>Ou,isAsync:()=>Gr,isDirty:()=>Tu,isValid:()=>Yt,late:()=>Hz,lazy:()=>iD,literal:()=>tD,makeIssue:()=>ao,map:()=>Xz,nan:()=>Rz,nativeEnum:()=>rD,never:()=>Bz,null:()=>Nz,nullable:()=>uD,number:()=>aP,object:()=>$h,objectUtil:()=>Gh,oboolean:()=>gD,onumber:()=>hD,optional:()=>lD,ostring:()=>dD,pipeline:()=>pD,preprocess:()=>cD,promise:()=>sD,quotelessJson:()=>lz,record:()=>Yz,set:()=>eD,setErrorMap:()=>cz,strictObject:()=>Vz,string:()=>tP,symbol:()=>Dz,transformer:()=>oD,tuple:()=>Qz,undefined:()=>Gz,union:()=>Jz,unknown:()=>$z,util:()=>pe,void:()=>Lz});var pe;(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})(pe||(pe={}));var Gh;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(Gh||(Gh={}));var I=pe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),gt=t=>{switch(typeof t){case"undefined":return I.undefined;case"string":return I.string;case"number":return Number.isNaN(t)?I.nan:I.number;case"boolean":return I.boolean;case"function":return I.function;case"bigint":return I.bigint;case"symbol":return I.symbol;case"object":return Array.isArray(t)?I.array:t===null?I.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?I.promise:typeof Map<"u"&&t instanceof Map?I.map:typeof Set<"u"&&t instanceof Set?I.set:typeof Date<"u"&&t instanceof Date?I.date:I.object;default:return I.unknown}};var k=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"]),lz=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),ei=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()}};ei.create=t=>new ei(t);var uz=(t,e)=>{let n;switch(t.code){case k.invalid_type:t.received===I.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case k.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,pe.jsonStringifyReplacer)}`;break;case k.unrecognized_keys:n=`Unrecognized key(s) in object: ${pe.joinValues(t.keys,", ")}`;break;case k.invalid_union:n="Invalid input";break;case k.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${pe.joinValues(t.options)}`;break;case k.invalid_enum_value:n=`Invalid enum value. Expected ${pe.joinValues(t.options)}, received '${t.received}'`;break;case k.invalid_arguments:n="Invalid function arguments";break;case k.invalid_return_type:n="Invalid function return type";break;case k.invalid_date:n="Invalid date";break;case k.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}"`:pe.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case k.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 k.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 k.custom:n="Invalid input";break;case k.invalid_intersection_types:n="Intersection results could not be merged";break;case k.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case k.not_finite:n="Number must be finite";break;default:n=e.defaultError,pe.assertNever(t)}return{message:n}},Ht=uz;var Ky=Ht;function cz(t){Ky=t}function Dr(){return Ky}var ao=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(c=>!!c).slice().reverse();for(let c of l)o=c(s,{data:e,defaultError:o}).message;return{...a,path:r,message:o}},pz=[];function H(t,e){let n=Dr(),i=ao({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Ht?void 0:Ht].filter(a=>!!a)});t.common.issues.push(i)}var kn=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 Y;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 Y;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}}},Y=Object.freeze({status:"aborted"}),qa=t=>({status:"dirty",value:t}),In=t=>({status:"valid",value:t}),Ou=t=>t.status==="aborted",Tu=t=>t.status==="dirty",Yt=t=>t.status==="valid",Gr=t=>typeof Promise<"u"&&t instanceof Promise;var $;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})($||($={}));var Ii=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}},Zy=(t,e)=>{if(Yt(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 ei(t.common.issues);return this._error=n,this._error}}};function ie(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 re=class{get description(){return this._def.description}_getType(e){return gt(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:gt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new kn,ctx:{common:e.parent.common,data:e.data,parsedType:gt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(Gr(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:gt(e)},a=this._parseSync({data:e,path:i.path,parent:i});return Zy(i,a)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:gt(e)};if(!this["~standard"].async)try{let i=this._parseSync({data:e,path:[],parent:n});return Yt(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=>Yt(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:gt(e)},a=this._parse({data:e,path:i.path,parent:i}),r=await(Gr(a)?a:Promise.resolve(a));return Zy(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:k.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 zi({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 Ri.create(this,this._def)}nullable(){return ft.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return It.create(this)}promise(){return na.create(this,this._def)}or(e){return Da.create([this,e],this._def)}and(e){return Ga.create(this,e,this._def)}transform(e){return new zi({...ie(this._def),schema:this,typeName:E.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new La({...ie(this._def),innerType:this,defaultValue:n,typeName:E.ZodDefault})}brand(){return new ro({typeName:E.ZodBranded,type:this,...ie(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new Fa({...ie(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 so.create(this,e)}readonly(){return Va.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},dz=/^c[^\s-]{8,}$/i,hz=/^[0-9a-z]+$/,gz=/^[0-9A-HJKMNP-TV-Z]{26}$/i,mz=/^[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,fz=/^[a-z0-9_-]{21}$/i,wz=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,vz=/^[-+]?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)?)??$/,Cz=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Az="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$",Nh,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])$/,xz=/^(?:(?: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])$/,yz=/^(([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]))$/,Pz=/^(([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])$/,jz=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Sz=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Yy="((\\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])))",Oz=new RegExp(`^${Yy}$`);function Xy(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 Tz(t){return new RegExp(`^${Xy(t)}$`)}function eP(t){let e=`${Yy}T${Xy(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 kz(t,e){return!!((e==="v4"||!e)&&bz.test(t)||(e==="v6"||!e)&&yz.test(t))}function Mz(t,e){if(!wz.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 Ez(t,e){return!!((e==="v4"||!e)&&xz.test(t)||(e==="v6"||!e)&&Pz.test(t))}var Xt=class t extends re{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==I.string){let r=this._getOrReturnCtx(e);return H(r,{code:k.invalid_type,expected:I.string,received:r.parsedType}),Y}let i=new kn,a;for(let r of this._def.checks)if(r.kind==="min")e.data.lengthr.value&&(a=this._getOrReturnCtx(e,a),H(a,{code:k.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:k.invalid_string,...$.errToObj(i)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...$.errToObj(e)})}url(e){return this._addCheck({kind:"url",...$.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...$.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...$.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...$.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...$.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...$.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...$.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...$.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...$.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...$.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...$.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...$.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,...$.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,...$.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...$.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...$.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...$.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...$.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...$.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...$.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...$.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...$.errToObj(n)})}nonempty(e){return this.min(1,$.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,...ie(t)});function qz(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 _a=class t extends re{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)!==I.number){let r=this._getOrReturnCtx(e);return H(r,{code:k.invalid_type,expected:I.number,received:r.parsedType}),Y}let i,a=new kn;for(let r of this._def.checks)r.kind==="int"?pe.isInteger(e.data)||(i=this._getOrReturnCtx(e,i),H(i,{code:k.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:k.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),a.dirty()):r.kind==="multipleOf"?qz(e.data,r.value)!==0&&(i=this._getOrReturnCtx(e,i),H(i,{code:k.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:k.not_finite,message:r.message}),a.dirty()):pe.assertNever(r);return{status:a.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,$.toString(n))}gt(e,n){return this.setLimit("min",e,!1,$.toString(n))}lte(e,n){return this.setLimit("max",e,!0,$.toString(n))}lt(e,n){return this.setLimit("max",e,!1,$.toString(n))}setLimit(e,n,i,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:$.toString(a)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:$.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:$.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:$.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:$.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:$.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:$.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:$.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:$.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:$.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"&&pe.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 _a({checks:[],typeName:E.ZodNumber,coerce:t?.coerce||!1,...ie(t)});var Ha=class t extends re{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)!==I.bigint)return this._getInvalidInput(e);let i,a=new kn;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:k.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:k.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):pe.assertNever(r);return{status:a.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return H(n,{code:k.invalid_type,expected:I.bigint,received:n.parsedType}),Y}gte(e,n){return this.setLimit("min",e,!0,$.toString(n))}gt(e,n){return this.setLimit("min",e,!1,$.toString(n))}lte(e,n){return this.setLimit("max",e,!0,$.toString(n))}lt(e,n){return this.setLimit("max",e,!1,$.toString(n))}setLimit(e,n,i,a){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:$.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:$.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:$.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:$.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:$.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:$.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 Ha({checks:[],typeName:E.ZodBigInt,coerce:t?.coerce??!1,...ie(t)});var Wa=class extends re{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==I.boolean){let i=this._getOrReturnCtx(e);return H(i,{code:k.invalid_type,expected:I.boolean,received:i.parsedType}),Y}return In(e.data)}};Wa.create=t=>new Wa({typeName:E.ZodBoolean,coerce:t?.coerce||!1,...ie(t)});var Ra=class t extends re{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==I.date){let r=this._getOrReturnCtx(e);return H(r,{code:k.invalid_type,expected:I.date,received:r.parsedType}),Y}if(Number.isNaN(e.data.getTime())){let r=this._getOrReturnCtx(e);return H(r,{code:k.invalid_date}),Y}let i=new kn,a;for(let r of this._def.checks)r.kind==="min"?e.data.getTime()r.value&&(a=this._getOrReturnCtx(e,a),H(a,{code:k.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),i.dirty()):pe.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:$.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:$.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 Ra({checks:[],coerce:t?.coerce||!1,typeName:E.ZodDate,...ie(t)});var Ur=class extends re{_parse(e){if(this._getType(e)!==I.symbol){let i=this._getOrReturnCtx(e);return H(i,{code:k.invalid_type,expected:I.symbol,received:i.parsedType}),Y}return In(e.data)}};Ur.create=t=>new Ur({typeName:E.ZodSymbol,...ie(t)});var Ia=class extends re{_parse(e){if(this._getType(e)!==I.undefined){let i=this._getOrReturnCtx(e);return H(i,{code:k.invalid_type,expected:I.undefined,received:i.parsedType}),Y}return In(e.data)}};Ia.create=t=>new Ia({typeName:E.ZodUndefined,...ie(t)});var za=class extends re{_parse(e){if(this._getType(e)!==I.null){let i=this._getOrReturnCtx(e);return H(i,{code:k.invalid_type,expected:I.null,received:i.parsedType}),Y}return In(e.data)}};za.create=t=>new za({typeName:E.ZodNull,...ie(t)});var ea=class extends re{constructor(){super(...arguments),this._any=!0}_parse(e){return In(e.data)}};ea.create=t=>new ea({typeName:E.ZodAny,...ie(t)});var Rt=class extends re{constructor(){super(...arguments),this._unknown=!0}_parse(e){return In(e.data)}};Rt.create=t=>new Rt({typeName:E.ZodUnknown,...ie(t)});var Ki=class extends re{_parse(e){let n=this._getOrReturnCtx(e);return H(n,{code:k.invalid_type,expected:I.never,received:n.parsedType}),Y}};Ki.create=t=>new Ki({typeName:E.ZodNever,...ie(t)});var $r=class extends re{_parse(e){if(this._getType(e)!==I.undefined){let i=this._getOrReturnCtx(e);return H(i,{code:k.invalid_type,expected:I.void,received:i.parsedType}),Y}return In(e.data)}};$r.create=t=>new $r({typeName:E.ZodVoid,...ie(t)});var It=class t extends re{_parse(e){let{ctx:n,status:i}=this._processInputParams(e),a=this._def;if(n.parsedType!==I.array)return H(n,{code:k.invalid_type,expected:I.array,received:n.parsedType}),Y;if(a.exactLength!==null){let s=n.data.length>a.exactLength.value,o=n.data.lengtha.maxLength.value&&(H(n,{code:k.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 Ii(n,s,n.path,o)))).then(s=>kn.mergeArray(i,s));let r=[...n.data].map((s,o)=>a.type._parseSync(new Ii(n,s,n.path,o)));return kn.mergeArray(i,r)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:$.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:$.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:$.toString(n)}})}nonempty(e){return this.min(1,e)}};It.create=(t,e)=>new It({type:t,minLength:null,maxLength:null,exactLength:null,typeName:E.ZodArray,...ie(e)});function Nr(t){if(t instanceof ni){let e={};for(let n in t.shape){let i=t.shape[n];e[n]=Ri.create(Nr(i))}return new ni({...t._def,shape:()=>e})}else return t instanceof It?new It({...t._def,type:Nr(t.element)}):t instanceof Ri?Ri.create(Nr(t.unwrap())):t instanceof ft?ft.create(Nr(t.unwrap())):t instanceof mt?mt.create(t.items.map(e=>Nr(e))):t}var ni=class t extends re{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=pe.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==I.object){let c=this._getOrReturnCtx(e);return H(c,{code:k.invalid_type,expected:I.object,received:c.parsedType}),Y}let{status:i,ctx:a}=this._processInputParams(e),{shape:r,keys:s}=this._getCached(),o=[];if(!(this._def.catchall instanceof Ki&&this._def.unknownKeys==="strip"))for(let c in a.data)s.includes(c)||o.push(c);let l=[];for(let c of s){let u=r[c],p=a.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new Ii(a,p,a.path,c)),alwaysSet:c in a.data})}if(this._def.catchall instanceof Ki){let c=this._def.unknownKeys;if(c==="passthrough")for(let u of o)l.push({key:{status:"valid",value:u},value:{status:"valid",value:a.data[u]}});else if(c==="strict")o.length>0&&(H(a,{code:k.unrecognized_keys,keys:o}),i.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let u of o){let p=a.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new Ii(a,p,a.path,u)),alwaysSet:u in a.data})}}return a.common.async?Promise.resolve().then(async()=>{let c=[];for(let u of l){let p=await u.key,h=await u.value;c.push({key:p,value:h,alwaysSet:u.alwaysSet})}return c}).then(c=>kn.mergeObjectSync(i,c)):kn.mergeObjectSync(i,l)}get shape(){return this._def.shape()}strict(e){return $.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:$.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 pe.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 pe.objectKeys(this.shape))e[i]||(n[i]=this.shape[i]);return new t({...this._def,shape:()=>n})}deepPartial(){return Nr(this)}partial(e){let n={};for(let i of pe.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 pe.objectKeys(this.shape))if(e&&!e[i])n[i]=this.shape[i];else{let r=this.shape[i];for(;r instanceof Ri;)r=r._def.innerType;n[i]=r}return new t({...this._def,shape:()=>n})}keyof(){return nP(pe.objectKeys(this.shape))}};ni.create=(t,e)=>new ni({shape:()=>t,unknownKeys:"strip",catchall:Ki.create(),typeName:E.ZodObject,...ie(e)});ni.strictCreate=(t,e)=>new ni({shape:()=>t,unknownKeys:"strict",catchall:Ki.create(),typeName:E.ZodObject,...ie(e)});ni.lazycreate=(t,e)=>new ni({shape:t,unknownKeys:"strip",catchall:Ki.create(),typeName:E.ZodObject,...ie(e)});var Da=class extends re{_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 ei(o.ctx.common.issues));return H(n,{code:k.invalid_union,unionErrors:s}),Y}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 c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!r&&(r={result:u,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(r)return n.common.issues.push(...r.ctx.common.issues),r.result;let o=s.map(l=>new ei(l));return H(n,{code:k.invalid_union,unionErrors:o}),Y}}get options(){return this._def.options}};Da.create=(t,e)=>new Da({options:t,typeName:E.ZodUnion,...ie(e)});var Wt=t=>t instanceof Na?Wt(t.schema):t instanceof zi?Wt(t.innerType()):t instanceof Ua?[t.value]:t instanceof $a?t.options:t instanceof Ba?pe.objectValues(t.enum):t instanceof La?Wt(t._def.innerType):t instanceof Ia?[void 0]:t instanceof za?[null]:t instanceof Ri?[void 0,...Wt(t.unwrap())]:t instanceof ft?[null,...Wt(t.unwrap())]:t instanceof ro||t instanceof Va?Wt(t.unwrap()):t instanceof Fa?Wt(t._def.innerType):[],ku=class t extends re{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==I.object)return H(n,{code:k.invalid_type,expected:I.object,received:n.parsedType}),Y;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:k.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),Y)}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=Wt(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,...ie(i)})}};function Uh(t,e){let n=gt(t),i=gt(e);if(t===e)return{valid:!0,data:t};if(n===I.object&&i===I.object){let a=pe.objectKeys(e),r=pe.objectKeys(t).filter(o=>a.indexOf(o)!==-1),s={...t,...e};Object.prototype.hasOwnProperty.call(s,"__proto__")&&delete s.__proto__;for(let o of r){if(o==="__proto__")continue;let l=Uh(t[o],e[o]);if(!l.valid)return{valid:!1};s[o]=l.data}return{valid:!0,data:s}}else if(n===I.array&&i===I.array){if(t.length!==e.length)return{valid:!1};let a=[];for(let r=0;r{if(Ou(r)||Ou(s))return Y;let o=Uh(r.value,s.value);return o.valid?((Tu(r)||Tu(s))&&n.dirty(),{status:n.value,value:o.data}):(H(i,{code:k.invalid_intersection_types}),Y)};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}))}};Ga.create=(t,e,n)=>new Ga({left:t,right:e,typeName:E.ZodIntersection,...ie(n)});var mt=class t extends re{_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==I.array)return H(i,{code:k.invalid_type,expected:I.array,received:i.parsedType}),Y;if(i.data.lengththis._def.items.length&&(H(i,{code:k.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 Ii(i,s,i.path,o)):null}).filter(s=>!!s);return i.common.async?Promise.all(r).then(s=>kn.mergeArray(n,s)):kn.mergeArray(n,r)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};mt.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new mt({items:t,typeName:E.ZodTuple,rest:null,...ie(e)})};var Mu=class t extends re{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!==I.object)return H(i,{code:k.invalid_type,expected:I.object,received:i.parsedType}),Y;let a=[],r=this._def.keyType,s=this._def.valueType;for(let o in i.data)a.push({key:r._parse(new Ii(i,o,i.path,o)),value:s._parse(new Ii(i,i.data[o],i.path,o)),alwaysSet:o in i.data});return i.common.async?kn.mergeObjectAsync(n,a):kn.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(e,n,i){return n instanceof re?new t({keyType:e,valueType:n,typeName:E.ZodRecord,...ie(i)}):new t({keyType:Xt.create(),valueType:e,typeName:E.ZodRecord,...ie(n)})}},Br=class extends re{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!==I.map)return H(i,{code:k.invalid_type,expected:I.map,received:i.parsedType}),Y;let a=this._def.keyType,r=this._def.valueType,s=[...i.data.entries()].map(([o,l],c)=>({key:a._parse(new Ii(i,o,i.path,[c,"key"])),value:r._parse(new Ii(i,l,i.path,[c,"value"]))}));if(i.common.async){let o=new Map;return Promise.resolve().then(async()=>{for(let l of s){let c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return Y;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),o.set(c.value,u.value)}return{status:n.value,value:o}})}else{let o=new Map;for(let l of s){let c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return Y;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),o.set(c.value,u.value)}return{status:n.value,value:o}}}};Br.create=(t,e,n)=>new Br({valueType:e,keyType:t,typeName:E.ZodMap,...ie(n)});var Lr=class t extends re{_parse(e){let{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==I.set)return H(i,{code:k.invalid_type,expected:I.set,received:i.parsedType}),Y;let a=this._def;a.minSize!==null&&i.data.sizea.maxSize.value&&(H(i,{code:k.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 c=new Set;for(let u of l){if(u.status==="aborted")return Y;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}let o=[...i.data.values()].map((l,c)=>r._parse(new Ii(i,l,i.path,c)));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:$.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:$.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};Lr.create=(t,e)=>new Lr({valueType:t,minSize:null,maxSize:null,typeName:E.ZodSet,...ie(e)});var Eu=class t extends re{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==I.function)return H(n,{code:k.invalid_type,expected:I.function,received:n.parsedType}),Y;function i(o,l){return ao({data:o,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dr(),Ht].filter(c=>!!c),issueData:{code:k.invalid_arguments,argumentsError:l}})}function a(o,l){return ao({data:o,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dr(),Ht].filter(c=>!!c),issueData:{code:k.invalid_return_type,returnTypeError:l}})}let r={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof na){let o=this;return In(async function(...l){let c=new ei([]),u=await o._def.args.parseAsync(l,r).catch(g=>{throw c.addIssue(i(l,g)),c}),p=await Reflect.apply(s,this,u);return await o._def.returns._def.type.parseAsync(p,r).catch(g=>{throw c.addIssue(a(p,g)),c})})}else{let o=this;return In(function(...l){let c=o._def.args.safeParse(l,r);if(!c.success)throw new ei([i(l,c.error)]);let u=Reflect.apply(s,this,c.data),p=o._def.returns.safeParse(u,r);if(!p.success)throw new ei([a(u,p.error)]);return p.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:mt.create(e).rest(Rt.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||mt.create([]).rest(Rt.create()),returns:n||Rt.create(),typeName:E.ZodFunction,...ie(i)})}},Na=class extends re{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})}};Na.create=(t,e)=>new Na({getter:t,typeName:E.ZodLazy,...ie(e)});var Ua=class extends re{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return H(n,{received:n.data,code:k.invalid_literal,expected:this._def.value}),Y}return{status:"valid",value:e.data}}get value(){return this._def.value}};Ua.create=(t,e)=>new Ua({value:t,typeName:E.ZodLiteral,...ie(e)});function nP(t,e){return new $a({values:t,typeName:E.ZodEnum,...ie(e)})}var $a=class t extends re{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),i=this._def.values;return H(n,{expected:pe.joinValues(i),received:n.parsedType,code:k.invalid_type}),Y}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:k.invalid_enum_value,options:i}),Y}return In(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})}};$a.create=nP;var Ba=class extends re{_parse(e){let n=pe.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==I.string&&i.parsedType!==I.number){let a=pe.objectValues(n);return H(i,{expected:pe.joinValues(a),received:i.parsedType,code:k.invalid_type}),Y}if(this._cache||(this._cache=new Set(pe.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let a=pe.objectValues(n);return H(i,{received:i.data,code:k.invalid_enum_value,options:a}),Y}return In(e.data)}get enum(){return this._def.values}};Ba.create=(t,e)=>new Ba({values:t,typeName:E.ZodNativeEnum,...ie(e)});var na=class extends re{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==I.promise&&n.common.async===!1)return H(n,{code:k.invalid_type,expected:I.promise,received:n.parsedType}),Y;let i=n.parsedType===I.promise?n.data:Promise.resolve(n.data);return In(i.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}};na.create=(t,e)=>new na({type:t,typeName:E.ZodPromise,...ie(e)});var zi=class extends re{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 Y;let l=await this._def.schema._parseAsync({data:o,path:i.path,parent:i});return l.status==="aborted"?Y:l.status==="dirty"?qa(l.value):n.value==="dirty"?qa(l.value):l});{if(n.value==="aborted")return Y;let o=this._def.schema._parseSync({data:s,path:i.path,parent:i});return o.status==="aborted"?Y:o.status==="dirty"?qa(o.value):n.value==="dirty"?qa(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"?Y:(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"?Y:(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(!Yt(s))return Y;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=>Yt(s)?Promise.resolve(a.transform(s.value,r)).then(o=>({status:n.value,value:o})):Y);pe.assertNever(a)}};zi.create=(t,e,n)=>new zi({schema:t,typeName:E.ZodEffects,effect:e,...ie(n)});zi.createWithPreprocess=(t,e,n)=>new zi({schema:e,effect:{type:"preprocess",transform:t},typeName:E.ZodEffects,...ie(n)});var Ri=class extends re{_parse(e){return this._getType(e)===I.undefined?In(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Ri.create=(t,e)=>new Ri({innerType:t,typeName:E.ZodOptional,...ie(e)});var ft=class extends re{_parse(e){return this._getType(e)===I.null?In(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};ft.create=(t,e)=>new ft({innerType:t,typeName:E.ZodNullable,...ie(e)});var La=class extends re{_parse(e){let{ctx:n}=this._processInputParams(e),i=n.data;return n.parsedType===I.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};La.create=(t,e)=>new La({innerType:t,typeName:E.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ie(e)});var Fa=class extends re{_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 Gr(a)?a.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new ei(i.common.issues)},input:i.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new ei(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}};Fa.create=(t,e)=>new Fa({innerType:t,typeName:E.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ie(e)});var Fr=class extends re{_parse(e){if(this._getType(e)!==I.nan){let i=this._getOrReturnCtx(e);return H(i,{code:k.invalid_type,expected:I.nan,received:i.parsedType}),Y}return{status:"valid",value:e.data}}};Fr.create=t=>new Fr({typeName:E.ZodNaN,...ie(t)});var _z=Symbol("zod_brand"),ro=class extends re{_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}},so=class t extends re{_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"?Y:r.status==="dirty"?(n.dirty(),qa(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"?Y: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})}},Va=class extends re{_parse(e){let n=this._def.innerType._parse(e),i=a=>(Yt(a)&&(a.value=Object.freeze(a.value)),a);return Gr(n)?n.then(a=>i(a)):i(n)}unwrap(){return this._def.innerType}};Va.create=(t,e)=>new Va({innerType:t,typeName:E.ZodReadonly,...ie(e)});function Qy(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function iP(t,e={},n){return t?ea.create().superRefine((i,a)=>{let r=t(i);if(r instanceof Promise)return r.then(s=>{if(!s){let o=Qy(e,i),l=o.fatal??n??!0;a.addIssue({code:"custom",...o,fatal:l})}});if(!r){let s=Qy(e,i),o=s.fatal??n??!0;a.addIssue({code:"custom",...s,fatal:o})}}):ea.create()}var Hz={object:ni.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 Wz=(t,e={message:`Input not instance of ${t.name}`})=>iP(n=>n instanceof t,e),tP=Xt.create,aP=_a.create,Rz=Fr.create,Iz=Ha.create,rP=Wa.create,zz=Ra.create,Dz=Ur.create,Gz=Ia.create,Nz=za.create,Uz=ea.create,$z=Rt.create,Bz=Ki.create,Lz=$r.create,Fz=It.create,$h=ni.create,Vz=ni.strictCreate,Jz=Da.create,Kz=ku.create,Zz=Ga.create,Qz=mt.create,Yz=Mu.create,Xz=Br.create,eD=Lr.create,nD=Eu.create,iD=Na.create,tD=Ua.create,aD=$a.create,rD=Ba.create,sD=na.create,oD=zi.create,lD=Ri.create,uD=ft.create,cD=zi.createWithPreprocess,pD=so.create,dD=()=>tP().optional(),hD=()=>aP().optional(),gD=()=>rP().optional(),mD={string:(t=>Xt.create({...t,coerce:!0})),number:(t=>_a.create({...t,coerce:!0})),boolean:(t=>Wa.create({...t,coerce:!0})),bigint:(t=>Ha.create({...t,coerce:!0})),date:(t=>Ra.create({...t,coerce:!0}))};var fD=Y;var X={};Dh(X,{BIGINT_FORMAT_RANGES:()=>Wu,CONSTANT_CATCH:()=>xP,Class:()=>Fh,NUMBER_FORMAT_RANGES:()=>lo,aborted:()=>Zi,allowsEval:()=>Qh,assert:()=>yD,assertEqual:()=>vD,assertIs:()=>bD,assertNever:()=>xD,assertNotEqual:()=>CD,assignProp:()=>ii,attachSchema:()=>Iu,base64ToUint8Array:()=>AP,base64urlToUint8Array:()=>WD,cached:()=>Zr,captureStackTrace:()=>_u,cleanEnum:()=>HD,cleanRegex:()=>oo,clone:()=>ti,cloneDef:()=>SD,codePointLength:()=>uo,constantCatch:()=>yP,createTransparentProxy:()=>qD,defineLazy:()=>oP,defineLazyInternal:()=>je,derived:()=>DD,esc:()=>Kh,escapeRegex:()=>Dt,explicitlyAborted:()=>ng,extend:()=>hP,finalizeIssue:()=>Qi,floatSafeRemainder:()=>Jh,getElementAtPath:()=>OD,getEnumValues:()=>Jr,getLengthableOrigin:()=>co,getParsedType:()=>ED,getSizableOrigin:()=>CP,hexToUint8Array:()=>ID,hide:()=>zu,installLazyProp:()=>ag,isObject:()=>Ka,isPlainObject:()=>ta,issue:()=>Yr,joinValues:()=>qu,jsonStringifyReplacer:()=>Kr,members:()=>tg,merge:()=>fP,mergeDefs:()=>vt,normalizeParams:()=>K,nullish:()=>Vh,numKeys:()=>MD,objectClone:()=>PD,omit:()=>dP,optionalKeys:()=>eg,own:()=>wt,parsedType:()=>ig,partial:()=>wP,pick:()=>pP,prefixIssues:()=>Gt,primitiveTypes:()=>cP,promiseAllObject:()=>TD,propertyKeyTypes:()=>Xh,randomString:()=>kD,rawShape:()=>Qr,required:()=>vP,safeExtend:()=>mP,shallowClone:()=>Yh,slugify:()=>Zh,stringifyPrimitive:()=>Hu,toZod:()=>AD,uint8ArrayToBase64:()=>bP,uint8ArrayToBase64url:()=>RD,uint8ArrayToHex:()=>zD,unwrapMessage:()=>Vr});function vD(t){return t}function CD(t){return t}function AD(){return t=>t}function bD(t){}function xD(t){throw new Error("Unexpected value in exhaustive check")}function yD(t){}function Jr(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 qu(t,e="|"){return t.map(n=>Hu(n)).join(e)}function Kr(t,e){return typeof e=="bigint"?e.toString():e}var Lh=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function Zr(t){return new Lh(t)}function Vh(t){return t==null}function oo(t){let e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function Jh(t,e){let n=t/e,i=Math.round(n),a=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-i){let o=e._zod.def.shape[r];return i?i(o,r):o}):uP(t,r,i?i(s.value,r):s.value))}}function jD(t,e){for(let n of Reflect.ownKeys(e)){let i=Object.getOwnPropertyDescriptor(e,n);i.enumerable&&(i.get?lP(t,n,()=>e[n]):uP(t,n,i.value))}}function vt(...t){let e={};for(let n of t){let i=Object.getOwnPropertyDescriptors(n);Object.assign(e,i)}return Object.defineProperties({},e)}function SD(t){return vt(t._zod.def)}function OD(t,e){return e?e.reduce((n,i)=>n?.[i],t):t}function TD(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 Ka(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}var Qh=Zr(()=>{if(ai.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let t=Function;return new t(""),!0}catch{return!1}});function ta(t){if(Ka(t)===!1)return!1;let e=t.constructor;if(e===void 0||typeof e!="function")return!0;let n=e.prototype;return!(Ka(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Yh(t){return ta(t)?{...t}:Array.isArray(t)?[...t]:t instanceof Map?new Map(t):t instanceof Set?new Set(t):t}function MD(t){let e=0;for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&e++;return e}var ED=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}`)}},Xh=new Set(["string","number","symbol"]),cP=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Dt(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ti(t,e,n){let i=new t._zod.constr(e??t._zod.def);return(!e||n?.parent)&&(i._zod.parent=t),i}function K(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 qD(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 Hu(t){return typeof t=="bigint"?t.toString()+"n":typeof t=="string"?`"${t}"`:`${t}`}function eg(t){return Object.keys(t).filter(e=>t[e]._zod.optin!==void 0&&t[e]._zod.optout==="optional")}var lo={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]},Wu={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function pP(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={};return Ja(r,t,Ru(t,e)),ti(t,vt(n,{shape:r,checks:[]}))}function Ru(t,e){let n=zt(t),i=[];for(let a of Reflect.ownKeys(e)){if(!Object.getOwnPropertyDescriptor(n,a)?.enumerable)throw new Error(`Unrecognized key: "${String(a)}"`);e[a]&&i.push(a)}return i}function dP(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=new Set(Ru(t,e)),s={};return Ja(s,t,Reflect.ownKeys(zt(t)).filter(o=>!r.has(o))),ti(t,vt(n,{shape:s,checks:[]}))}function hP(t,e){if(!ta(e))throw new Error("Invalid input to extend: expected a plain object");let n=t._zod.def.checks;if(n&&n.length>0){let a=zt(t);for(let r of Reflect.ownKeys(e))if(Object.getOwnPropertyDescriptor(a,r)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return ti(t,vt(t._zod.def,{shape:gP(t,e)}))}function gP(t,e){let n={};return Ja(n,t,Reflect.ownKeys(zt(t))),jD(n,e),n}function mP(t,e){if(!ta(e))throw new Error("Invalid input to safeExtend: expected a plain object");return ti(t,vt(t._zod.def,{shape:gP(t,e)}))}function fP(t,e){if(!e?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(t._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let n={};Ja(n,t,Reflect.ownKeys(zt(t))),Ja(n,e,Reflect.ownKeys(zt(e)));let i=vt(t._zod.def,{shape:n,get catchall(){return e._zod.def.catchall},checks:e._zod.def.checks??[]});return ti(t,i)}function wP(t,e,n,i="partial"){let r=e._zod.def.checks;if(r&&r.length>0)throw new Error(`.${i}() cannot be used on object schemas containing refinements`);let o=n?new Set(Ru(e,n)):void 0,l={};return Ja(l,e,Reflect.ownKeys(zt(e)),t&&((c,u)=>o&&!o.has(u)?c:new t({type:"optional",innerType:c}))),ti(e,vt(e._zod.def,{shape:l,checks:[]}))}function vP(t,e,n){let i=n?new Set(Ru(e,n)):void 0,a={};return Ja(a,e,Reflect.ownKeys(zt(e)),(r,s)=>i&&!i.has(s)?r:new t({type:"nonoptional",innerType:r})),ti(e,vt(e._zod.def,{shape:a}))}function Zi(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 Vr(t){return typeof t=="string"?t:t?.message}function Iu(t,e,n){var i;for(let a=e;aNumber.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function AP(t){let e=atob(t),n=new Uint8Array(e.length);for(let i=0;ie.toString(16).padStart(2,"0")).join("")}var Fh=class{constructor(...e){}};function tg(t,e){for(let n in e){let i=Object.getOwnPropertyDescriptor(e,n);i.get?Object.defineProperty(t,n,{...i,enumerable:!1}):GD(t,n,i.value)}}function wt(t,e,n,i=!0){return Object.defineProperty(t,e,{configurable:!0,writable:!0,enumerable:i,value:n}),n}function zu(t,e,n){return wt(t,e,n,!1)}function DD(t,e){for(let n in t){let i=t[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!0,get(){return wt(this,n,i(this))},set(a){wt(this,n,a)}})}return e}function GD(t,e,n){Object.defineProperty(t,e,{configurable:!0,get(){return this==null?n:wt(this,e,n.bind(this))},set(i){wt(this,e,i)}})}function ND(t,e){let n=Object.getPrototypeOf(t);return e in n?void 0:n}var Bh,ia=!1,UD={configurable:!0,get(){ia=!0}};function je(t,e,n){let i=Object.getPrototypeOf(t._zod);if(e in i&&Bh!==t._zod){Bh=void 0;return}Bh=t._zod,Object.defineProperty(i,e,{configurable:!0,get(){Object.defineProperty(this,e,UD);let a=ia;ia=!1;try{let r=n(this);return ia?delete this[e]:Object.defineProperty(this,e,{configurable:!0,writable:!0,value:r}),ia=ia||a,r}catch(r){throw delete this[e],ia=ia||a,r}},set(a){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:a})}})}function ag(t,e,n,i){let a=ND(t,e);a&&Object.defineProperty(a,e,{configurable:!0,get(){let r={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,e,r),r.value=n(this),Object.defineProperty(this,e,r),r.value},set(r){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:i,value:r})}})}var xP="~constantCatch";function yP(t){let e=()=>t;return e[xP]=!0,e}var PP;var rg={value:void 0,enumerable:!1},jP="captureStackTrace"in Error?Error:null;function $D(t){let e=jP;if(e){let n=e.stackTraceLimit;if(typeof n=="number"){try{e.stackTraceLimit=0}catch{return jP=null,new t}try{return new t}finally{e.stackTraceLimit=n}}}return new t}function P(t,e,n,i){let a={};function r(h){this.def=h,this.constr=p,this.traits=new Set}r.prototype=a;let s=n,o=s&&new WeakSet;function l(h,g){if(h._zod){if(h._zod.traits.has(t))return}else{rg.value=new r(g);try{Object.defineProperty(h,"_zod",rg)}finally{rg.value=void 0}}if(h._zod.traits.add(t),e(h,g),o){let m=Object.getPrototypeOf(h),w=h._zod.constr.prototype,f=m;for(;f&&f!==w;)f=Object.getPrototypeOf(f);let A=f??m;o.has(A)||(o.add(A),tg(A,s))}let d=p.prototype;for(let m in d)Object.prototype.hasOwnProperty.call(d,m)&&(m in h||(h[m]=d[m].bind(h)))}let c=i?.Parent??Object;class u extends c{}Object.defineProperty(u,"name",{value:t});function p(h){let g=i?.Parent?$D(u):this;l(g,h);let d=g._zod.deferred;if(d){for(let w of d)w();g._zod.deferred=void 0}let m=globalThis.__zod_globalConfig?.postProcessor;return m&&m(g),g}return Object.defineProperty(p,"init",{value:l}),Object.defineProperty(p,Symbol.hasInstance,{value:h=>i?.Parent&&h instanceof i.Parent?!0:h?._zod?.traits?.has(t)}),Object.defineProperty(p,"name",{value:t}),p}var Yi=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Xr=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}};(PP=globalThis).__zod_globalConfig??(PP.__zod_globalConfig={});var ai=globalThis.__zod_globalConfig;function Oi(t){return t&&Object.assign(ai,t),ai}function BD(){let t=this._zod;return t.message??(t.message=JSON.stringify(t.def,Kr,2)),t.message}function LD(t){this._zod.message=t}var FD={get:BD,set:LD,enumerable:!0,configurable:!0},og={value:void 0,enumerable:!1},SP=new WeakSet([Object.prototype,Error.prototype]),OP=(t,e)=>{t.name="$ZodError",og.value=e,Object.defineProperty(t,"issues",og),og.value=void 0,Object.defineProperty(t,"message",FD);let n=Object.getPrototypeOf(t);SP.has(n)||(SP.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let i=()=>this.message;return Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0})}}))},TP=P("$ZodError",OP),po=P("$ZodError",OP,void 0,{Parent:Error});function VD(t,e,n){return Object.prototype.hasOwnProperty.call(t,e)||(e==="__proto__"?Object.defineProperty(t,e,{value:n(),writable:!0,enumerable:!0,configurable:!0}):t[e]=n()),t[e]}function kP(t,e=n=>n.message){let n={},i=[];for(let a of t.issues)a.path.length>0?VD(n,a.path[0],()=>[]).push(e(a)):i.push(e(a));return{formErrors:i,fieldErrors:n}}function MP(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,c=0;for(;c{let e=(n,i,a,r)=>{let s=a?{...a,async:!1}:{async:!1},o=n._zod.run({value:i,issues:[]},s);if(o instanceof Promise)throw new Yi;if(o.issues.length){let l=new(r?.Err??t)(o.issues.map(c=>Qi(c,s,Oi())));throw _u(l,r?.callee??e),l}return o.value};return e},lg=ho(po),go=t=>{let e=async(n,i,a,r)=>{let s=a?{...a,async:!0}:{async:!0},o=n._zod.run({value:i,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){let l=new(r?.Err??t)(o.issues.map(c=>Qi(c,s,Oi())));throw _u(l,r?.callee??e),l}return o.value};return e},ug=go(po),mo=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 Yi;return r.issues.length?EP(t,r.issues,a):{success:!0,data:r.value}},fo=mo(po);function EP(t,e,n){let i;return{success:!1,get error(){return i||(i=new t(e.map(a=>Qi(a,n,Oi()))),e=void 0,n=void 0),i},set error(a){i=a,e=void 0,n=void 0}}}var wo=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?EP(t,r.issues,a):{success:!0,data:r.value}},vo=wo(po),KD=Symbol.for("zod.compile.invalid"),ZD=Symbol.for("zod.compile.fallback"),Gu=((t,e,n)=>{let i=t._zod.bag.validator;if(i!==void 0){if(i(e)!==KD)return!0;if(i.definite===!0&&n===void 0)return!1}return QD(t,e,n)});function QD(t,e,n){let i=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},a=t._zod.bag.fallbackRun,r;if(a?(i[ZD]=!0,r=a({value:e,issues:[]},i)):r=t._zod.run({value:e,issues:[]},i),r instanceof Promise)throw new Yi;return r.issues.length===0}var Nu=async(t,e,n)=>{let i=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},a=t._zod.run({value:e,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length===0},qP=t=>{let e=ho(t),n=(i,a,r,s)=>{let o=r?{...r,direction:"backward"}:{direction:"backward"};return e(i,a,o,Du(n,s))};return n};var _P=t=>{let e=ho(t),n=(i,a,r,s)=>e(i,a,r,Du(n,s));return n};var HP=t=>{let e=go(t),n=async(i,a,r,s)=>{let o=r?{...r,direction:"backward"}:{direction:"backward"};return await e(i,a,o,Du(n,s))};return n};var WP=t=>{let e=go(t),n=async(i,a,r,s)=>await e(i,a,r,Du(n,s));return n};var RP=t=>(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return mo(t)(e,n,a)};var IP=t=>(e,n,i)=>mo(t)(e,n,i);var zP=t=>async(e,n,i)=>{let a=i?{...i,direction:"backward"}:{direction:"backward"};return wo(t)(e,n,a)};var DP=t=>async(e,n,i)=>wo(t)(e,n,i);var GP=/^[cC][0-9a-z]{6,}$/,NP=/^[0-9a-z]+$/,UP=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,$P=/^[0-9a-vA-V]{20}$/,BP=/^[A-Za-z0-9]{27}$/,LP=/^[a-zA-Z0-9_-]{21}$/;function FP(t){return new RegExp(`^[a-zA-Z0-9_-]{${t}}$`)}var VP=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var JP=/^([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})$/,pg=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-z0-9\-]*\.)+[A-Za-z]{2,}$/;var YD="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function ZP(){return new RegExp(YD,"u")}var QP=/^(?:(?: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])$/,YP=/^(([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 XP=/^((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])$/,ej=/^(([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}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,nj=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ij=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/;var tj=/^https?$/,aj=/^\+[1-9]\d{6,14}$/;var rj="(?:(?:\\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])))";function XD(t){return new RegExp(`^${t}$`)}var sj=XD(rj);function cg(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}}`:t.seconds?`${e}:[0-5]\\d(?:\\.\\d+)?`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function oj(t){return new RegExp(`^${cg(t)}$`)}function lj(t){let e=["Z"];t.offset&&e.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${cg({precision:t.precision,seconds:!0})}(?:${e.join("|")})`,i=t.local?`${n}|${cg({precision:t.precision})}`:n;return new RegExp(`^${rj}T(?:${i})$`)}var uj=/^[\s\S]{0,}$/;var dg=/^-?\d+$/,Co=/^-?\d+(?:\.\d+)?$/,cj=/^(?:true|false)$/i,pj=/^null$/i;var dj=/^[^A-Z]*$/,hj=/^[^a-z]*$/;var wn=P("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])});var hg=t=>{let e=t.value;return!Vh(e)&&e.length!==void 0},Uu={number:"number",bigint:"bigint",object:"date"},gg=P("$ZodCheckLessThan",(t,e)=>{wn.init(t,e);let n=Uu[typeof e.value];t._zod.check=i=>{(e.inclusive?i.value<=e.value:i.value{wn.init(t,e);let n=Uu[typeof e.value];t._zod.check=i=>{(e.inclusive?i.value>=e.value:i.value>e.value)||i.issues.push({origin:Uu[typeof i.value]??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})}}),gj=P("$ZodCheckMultipleOf",(t,e)=>{wn.init(t,e),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"?e.value!==BigInt(0)&&n.value%e.value===BigInt(0):Jh(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})}}),mj=P("$ZodCheckNumberFormat",(t,e)=>{wn.init(t,e),e.format=e.format||"float64";let n=e.format?.includes("int"),i=n?"int":"number",[a,r]=lo[e.format];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 fj=P("$ZodCheckMaxLength",(t,e)=>{var n;wn.init(t,e),(n=t._zod.def).when??(n.when=hg),t._zod.check=i=>{let a=i.value,r=a.length;if((typeof a=="string"&&r>e.maximum?uo(a):r)<=e.maximum)return;let o=co(a);i.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),wj=P("$ZodCheckMinLength",(t,e)=>{var n;wn.init(t,e),(n=t._zod.def).when??(n.when=hg),t._zod.check=i=>{let a=i.value,r=a.length;if((typeof a=="string"&&r>=e.minimum&&r=e.minimum)return;let o=co(a);i.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:a,inst:t,continue:!e.abort})}}),vj=P("$ZodCheckLengthEquals",(t,e)=>{var n;wn.init(t,e),(n=t._zod.def).when??(n.when=hg),t._zod.check=i=>{let a=i.value,r=a.length,s=typeof a=="string"&&r>=e.length&&r<=e.length*2?uo(a):r;if(s===e.length)return;let o=co(a),l=s>e.length;i.issues.push({origin:o,...l?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!e.abort})}}),Ao=P("$ZodCheckStringFormat",(t,e)=>{var n,i;wn.init(t,e),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=()=>{})}),Cj=P("$ZodCheckRegex",(t,e)=>{Ao.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=P("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=dj),Ao.init(t,e)}),bj=P("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=hj),Ao.init(t,e)}),xj=P("$ZodCheckIncludes",(t,e)=>{wn.init(t,e);let n=Dt(e.includes),i=new RegExp(typeof e.position=="number"?`^.{${e.position},}${n}`:n);e.pattern=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})}}),yj=P("$ZodCheckStartsWith",(t,e)=>{wn.init(t,e);let n=new RegExp(`^${Dt(e.prefix)}.*`);e.pattern??(e.pattern=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})}}),Pj=P("$ZodCheckEndsWith",(t,e)=>{wn.init(t,e);let n=new RegExp(`.*${Dt(e.suffix)}$`);e.pattern??(e.pattern=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 jj=P("$ZodCheckOverwrite",(t,e)=>{wn.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});var $u=class{constructor(e=[],n={}){this.content=[],this.indent=0,this.args=e,this.closed=n}indented(e){this.indent+=1;try{e(this)}finally{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?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) { +${n.join(` +`)} +};`)(...Object.values(this.closed))}};var Oj={major:4,minor:6,patch:5};var Ie=P("$ZodType",(t,e)=>{var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=Oj;let i=t._zod.def.checks,a=t._zod.traits.has("$ZodCheck")?[t,...i??[]]:i?.length?[...i]:[];for(let r of a)for(let s of r._zod.onattach)s(t);if(a.length===0)(n=t._zod).deferred??(n.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{let r=(o,l,c)=>{if(o.memo)return o;let u=Zi(o),p;for(let h of l){if(h._zod.def.when){if(ng(o)||!h._zod.def.when(o))continue}else if(u)continue;let g=o.issues.length,d=h._zod.check(o);if(d instanceof Promise&&c?.async===!1)throw new Yi;if(p||d instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await d,o.issues.length!==g&&(Iu(o.issues,g,t),u||(u=Zi(o,g)))});else{if(o.issues.length===g)continue;Iu(o.issues,g,t),u||(u=Zi(o,g))}}return p?p.then(()=>o):o},s=(o,l,c)=>{if(Zi(o))return o.aborted=!0,o;let u=r(l,a,c);if(u instanceof Promise){if(c.async===!1)throw new Yi;return u.then(p=>t._zod.parse(p,c))}return t._zod.parse(u,c)};t._zod.run=(o,l)=>{if(l.skipChecks)return t._zod.parse(o,l);if(l.direction==="backward"){let u=t._zod.parse({value:o.value,issues:[]},{...l,skipChecks:!0});return u instanceof Promise?u.then(p=>s(p,o,l)):s(u,o,l)}let c=t._zod.parse(o,l);if(c instanceof Promise){if(l.async===!1)throw new Yi;return c.then(u=>r(u,a,l))}return r(c,a,l)}}},{get"~standard"(){return zu(this,"~standard",wg(this))},set"~standard"(t){wt(this,"~standard",t)}}),zj=(t,e)=>t.issues.length?{issues:t.issues.map(n=>Qi(n,e,Oi()))}:{value:t.value};async function eG(t,e){let n={async:!0};return zj(await t._zod.run({value:e,issues:[]},n),n)}function wg(t){return{validate:e=>{let n={async:!1};try{let i=t._zod.run({value:e,issues:[]},n);if(!(i instanceof Promise))return zj(i,n)}catch{}return eG(t,e)},vendor:"zod",version:1}}var bo=P("$ZodString",(t,e)=>{Ie.init(t,e),t._zod.pattern=e.pattern??uj,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}}),Ne=P("$ZodStringFormat",(t,e)=>{Ao.init(t,e),bo.init(t,e)}),vg=P("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=JP),Ne.init(t,e)}),Cg=P("$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=pg(i))}else e.pattern??(e.pattern=pg());Ne.init(t,e)}),Ag=P("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=KP),Ne.init(t,e)}),Dj=1,Lu=2;function Gj(t){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(t):(new URL(t),!0)}catch{return!1}}function nG(t,e){return!("normalize"in e)&&!("hostname"in e)&&!("protocol"in e)?Gj(t)||Lu:iG(t,e)}function iG(t,e){if(!e.normalize&&e.protocol?.source===tj.source&&!/^https?:\/\//i.test(t))return Dj;try{if(typeof URL<"u"){let n=URL;if(typeof n.parse=="function")return n.parse(t)??Lu}return new URL(t)}catch{return Lu}}var tG=/[\t\n\r]/g;function Tj(t){return t.replace(tG,"")}function aG(t,e){return e.lastIndex=0,e.test(t.hostname)}function rG(t,e){return e.lastIndex=0,e.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)}var bg=P("$ZodURL",(t,e)=>{Ne.init(t,e),t._zod.check=n=>{try{let i=n.value.trim(),a=nG(i,e);if(a===Dj){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:t,continue:!e.abort});return}if(a===Lu){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort});return}if(a===!0){n.value=Tj(i);return}e.hostname&&!aG(a,e.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&&!rG(a,e.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort}),n.value=e.normalize?a.href:Tj(i);return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),xg=P("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=ZP()),Ne.init(t,e)}),yg=P("$ZodNanoID",(t,e)=>{if(e.length!==void 0&&(!Number.isInteger(e.length)||e.length<1))throw new Error(`Invalid nanoid length: ${e.length}`);e.pattern??(e.pattern=e.length===void 0?LP:FP(e.length)),Ne.init(t,e)}),Pg=P("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=GP),Ne.init(t,e)}),jg=P("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=NP),Ne.init(t,e)}),Sg=P("$ZodULID",(t,e)=>{e.pattern??(e.pattern=UP),Ne.init(t,e)}),Og=P("$ZodXID",(t,e)=>{e.pattern??(e.pattern=$P),Ne.init(t,e)}),Tg=P("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=BP),Ne.init(t,e)}),Nj=P("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=lj(e)),Ne.init(t,e)}),Uj=P("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=sj),Ne.init(t,e)}),$j=P("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=oj(e)),Ne.init(t,e)}),Bj=P("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=VP),Ne.init(t,e)}),kg=P("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=QP),Ne.init(t,e)}),sG=/^[0-9a-fA-F:.]+$/;function Lj(t){return sG.test(t)?Gj(`http://[${t}]`):!1}var Mg=P("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=YP),Ne.init(t,e),t._zod.check=n=>{Lj(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}});var Eg=P("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=XP),Ne.init(t,e)});function oG(t){let e=t.split("/");if(e.length!==2)return!1;let[n,i]=e;if(!i)return!1;let a=Number(i);return`${a}`!==i||a<0||a>128?!1:Lj(n)}var qg=P("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=ej),Ne.init(t,e),t._zod.check=n=>{oG(n.value)||n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}});function Fj(t){if(t==="")return!0;if(/\s/.test(t)||t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}var _g=/^[0-9a-zA-Z+/]*={0,2}$/,Hg=P("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=_g),Ne.init(t,e),t._zod.check=n=>{Fj(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}}),Vu=/^[A-Za-z0-9_-]*$/;function lG(t){if(!Vu.test(t))return!1;let e=t.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return Fj(n)}var Wg=P("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=Vu),Ne.init(t,e),t._zod.check=n=>{lG(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),Rg=P("$ZodE164",(t,e)=>{e.pattern??(e.pattern=aj),Ne.init(t,e)});function uG(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 Ig=P("$ZodJWT",(t,e)=>{Ne.init(t,e),t._zod.check=n=>{uG(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}});var Ju=P("$ZodNumber",(t,e)=>{Ie.init(t,e),t._zod.pattern=Co,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:String(a):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:a,inst:t,...r?{received:r}:{}}),n}}),zg=P("$ZodNumberFormat",(t,e)=>{mj.init(t,e),Ju.init(t,e)}),Dg=P("$ZodBoolean",(t,e)=>{Ie.init(t,e),t._zod.pattern=cj,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 Gg=P("$ZodNull",(t,e)=>{Ie.init(t,e),t._zod.pattern=pj,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 Ng=P("$ZodUnknown",(t,e)=>{Ie.init(t,e),t._zod.parse=n=>n}),Ug=P("$ZodNever",(t,e)=>{Ie.init(t,e),t._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)});function kj(t,e,n){t.issues.length&&e.issues.push(...Gt(n,t.issues)),e.value[n]=t.value}var $g=P("$ZodArray",(t,e)=>{Ie.init(t,e);let n=ai.memoizer;n?.attach(t),t._zod.parse=(i,a)=>{let r=i.value;if(!Array.isArray(r))return i.issues.push({expected:"array",code:"invalid_type",input:r,inst:t}),i;i.value=n?n.alloc(t,i,Array(r.length),a):Array(r.length);let s=[],o=a?.abortEarly;for(let l=0;lkj(p,i,l)));else if(kj(u,i,l),o&&u.issues.length!==0&&Zi(u))break}return s.length?Promise.all(s).then(()=>i):i}});function Fu(t,e,n,i,a,r){let s=n in i,o=r==="optional";if(!(!s&&o&&a==="optional")){if(t.issues.length){if(a!==void 0&&o&&!s)return;e.issues.push(...Gt(n,t.issues))}if(!s&&a===void 0){t.issues.length||e.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}t.value===void 0?(s||a==="defaulted"&&!o)&&(e.value[n]=void 0):e.value[n]=t.value}}var cG=[];function Vj(t){let e=Object.keys(t.shape),n=Object.getOwnPropertySymbols(t.shape),i=n.length?n:cG,a=i.length?[...e,...i]:e;for(let s of a)if(!t.shape?.[s]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(s)}": expected a Zod schema`);let r=eg(t.shape);return{...t,allKeys:a,symbolKeys:i,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(r)}}function Jj(t,e,n,i,a,r,s){let o=[],l=a.keySet,c=a.catchall._zod,u=c.def.type,p=c.optin,h=c.optout,g=0;for(let d in e){if(s&&n.issues.length!==g){if(Zi(n,g))break;g=n.issues.length}if(l.has(d))continue;if(d==="__proto__"){u==="never"&&o.push(d);continue}if(u==="never"){o.push(d);continue}let m=c.run({value:e[d],issues:[]},i);m instanceof Promise?t.push(m.then(w=>Fu(w,n,d,e,p,h))):Fu(m,n,d,e,p,h)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:e,inst:r,continue:!0}),t.length?Promise.all(t).then(()=>n):n}var Bg=P("$ZodObject",(t,e)=>{Ie.init(t,e);let n=Object.getOwnPropertyDescriptor(e,"shape"),i=n?.get?n.get.raw:e.shape??{};if(i){let c=()=>{let u={...i};return Object.defineProperty(e,"shape",{value:u}),c.raw=u,u};c.raw=i,Object.defineProperty(e,"shape",{get:c})}let a=Zr(()=>Vj(e));je(t,"propValues",c=>{let u=c.def.shape,p={};for(let h in u){let g=u[h]._zod;if(g.values){Object.prototype.hasOwnProperty.call(p,h)||ii(p,h,new Set);for(let d of g.values)p[h].add(d);g.optin!==void 0&&p[h].add(void 0)}}return p});let r=Ka,s=e.catchall,o,l=ai.memoizer;l?.attach(t),t._zod.parse=(c,u)=>{o??(o=a.value);let p=c.value;if(!r(p))return c.issues.push({expected:"object",code:"invalid_type",input:p,inst:t}),c;c.value=l?l.alloc(t,c,{},u):{};let h=[],g=o.shape,d=u?.abortEarly,m=c.issues.length;for(let w of o.allKeys){if(d&&c.issues.length!==m){if(Zi(c,m))break;m=c.issues.length}if(w==="__proto__")continue;let f=g[w],A=f._zod.optin,b=f._zod.optout,x=f._zod.run({value:p[w],issues:[]},u);x instanceof Promise?h.push(x.then(S=>Fu(S,c,w,p,A,b))):Fu(x,c,w,p,A,b)}return s?Jj(h,p,c,u,a.value,t,d===!0):h.length?Promise.all(h).then(()=>c):c}}),Kj=P("$ZodObjectJIT",(t,e)=>{Bg.init(t,e);let n=t._zod.parse,i=Zr(()=>Vj(e)),a=ai.memoizer,r=g=>{let d=i.value,m=d.symbolKeys,w=new $u(["payload","ctx"],{shape:g,inst:t,memo:a,syms:m}),f=S=>`shape[${S}]._zod.run({ value: input[${S}], issues: [] }, ctx)`,A=(S,T)=>` + let ${S}_ab = false; + for (let i = 0; i < ${S}.issues.length; i++) { + const iss = ${S}.issues[i]; + iss.path = iss.path ? [${T}, ...iss.path] : [${T}]; + payload.issues.push(iss); + if (iss.continue !== true) ${S}_ab = true; } - } - - if (${x}.value === undefined) { - if (${S} in input) { - newResult[${S}] = undefined; + if (${S}_ab && ctx && ctx.abortEarly) { + payload.value = newResult; + return payload; + }`;w.write("const input = payload.value;");let b=Object.create(null),x=0;for(let S of d.allKeys)b[S]=`key_${x++}`;w.write(a?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let S of d.allKeys){if(S==="__proto__")continue;let T=b[S],M=typeof S=="symbol"?`syms[${m.indexOf(S)}]`:Kh(S),V=`${M} in input`,N=g[S],_=N?._zod?.optin,W=_!==void 0,le=N?._zod?.optout==="optional";if(w.write(`const ${T} = ${f(M)};`),W&&le){let Pe=_==="optional"?`${T}_present`:`${T}.value !== undefined || ${T}_present`;w.write(` + const ${T}_present = ${V}; + if (!${T}.issues.length || ${T}_present) { + if (${T}.issues.length) {${A(T,M)} + } + + if (${Pe}) { + newResult[${M}] = ${T}.value; } - } else { - newResult[${S}] = ${x}.value; } - - `):$?g.write(` - if (${x}.issues.length) { - payload.issues = payload.issues.concat(${x}.issues.map(iss => ({ - ...iss, - path: iss.path ? [${S}, ...iss.path] : [${S}] - }))); + + `)}else W?(w.write(` + if (${T}.issues.length) {${A(T,M)} } - - if (${x}.value === undefined) { - if (${S} in input) { - newResult[${S}] = undefined; - } - } else { - newResult[${S}] = ${x}.value; + `),_==="defaulted"?w.write(`newResult[${M}] = ${T}.value;`):w.write(` + if (${T}.value !== undefined || ${V}) { + newResult[${M}] = ${T}.value; } - - `):g.write(` - const ${x}_present = ${S} in input; - if (${x}.issues.length) { - payload.issues = payload.issues.concat(${x}.issues.map(iss => ({ - ...iss, - path: iss.path ? [${S}, ...iss.path] : [${S}] - }))); + `)):w.write(` + const ${T}_present = ${V}; + if (${T}.issues.length) {${A(T,M)} } - if (!${x}_present && !${x}.issues.length) { + if (!${T}_present && !${T}.issues.length) { payload.issues.push({ code: "invalid_type", expected: "nonoptional", input: undefined, - path: [${S}] + path: [${M}] }); + if (ctx && ctx.abortEarly) { + payload.value = newResult; + return payload; + } } - if (${x}_present) { - if (${x}.value === undefined) { - newResult[${S}] = undefined; - } else { - newResult[${S}] = ${x}.value; - } + if (${T}_present) { + newResult[${M}] = ${T}.value; } - `)}g.write("payload.value = newResult;"),g.write("return payload;");let b=g.compile();return(A,x)=>b(h,A,x)},r,s=Ha,o=!_r.jitless,c=o&&ih.value,u=e.catchall,d;t._zod.parse=(h,g)=>{d??(d=i.value);let p=h.value;return s(p)?o&&c&&g?.async===!1&&g.jitless!==!0?(r||(r=a(e.shape)),h=r(h,g),u?PP([],p,h,g,d,t):h):n(h,g):(h.issues.push({expected:"object",code:"invalid_type",input:p,inst:t}),h)}});function pP(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=>!Lt(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=>Ei(s,i,xi())))}),e)}var fu=P("$ZodUnion",(t,e)=>{Re.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=>Js(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=>pP(o,i,t,a)):pP(s,i,t,a)}});var Nh=P("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,fu.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 c of l)a[o].add(c)}}return a});let i=Rr(()=>{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(!Ha(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)}}),Uh=P("$ZodIntersection",(t,e)=>{Re.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,c])=>dP(n,l,c)):dP(n,r,s)}});function gh(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($t(t)&&$t(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=gh(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}),Lt(t))return t;let s=gh(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 $h=P("$ZodRecord",(t,e)=>{Re.init(t,e),t._zod.parse=(n,i)=>{let a=n.value;if(!$t(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 c of s)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){o.add(typeof c=="number"?c.toString():c);let u=e.keyType._zod.run({value:c,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(g=>Ei(g,i,xi())),input:c,path:[c],inst:t});continue}let d=u.value,h=e.valueType._zod.run({value:a[c],issues:[]},i);h instanceof Promise?r.push(h.then(g=>{g.issues.length&&n.issues.push(...jt(c,g.issues)),n.value[d]=g.value})):(h.issues.length&&n.issues.push(...jt(c,h.issues)),n.value[d]=h.value)}let l;for(let c in a)o.has(c)||(l=l??[],l.push(c));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"&&ph.test(o)&&l.issues.length){let d=e.keyType._zod.run({value:Number(o),issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(l=d)}if(l.issues.length){e.mode==="loose"?n.value[o]=a[o]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(d=>Ei(d,i,xi())),input:o,path:[o],inst:t});continue}let u=e.valueType._zod.run({value:a[o],issues:[]},i);u instanceof Promise?r.push(u.then(d=>{d.issues.length&&n.issues.push(...jt(o,d.issues)),n.value[l.value]=d.value})):(u.issues.length&&n.issues.push(...jt(o,u.issues)),n.value[l.value]=u.value)}}return r.length?Promise.all(r).then(()=>n):n}});var Lh=P("$ZodEnum",(t,e)=>{Re.init(t,e);let n=Fs(e.entries),i=new Set(n);t._zod.values=i,t._zod.pattern=new RegExp(`^(${n.filter(a=>ah.has(typeof a)).map(a=>typeof a=="string"?Pt(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}}),Bh=P("$ZodLiteral",(t,e)=>{if(Re.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"?Pt(i):i?Pt(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 Fh=P("$ZodTransform",(t,e)=>{Re.init(t,e),t._zod.optin="optional",t._zod.parse=(n,i)=>{if(i.direction==="backward")throw new qr(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 rt;return n.value=a,n.fallback=!0,n}});function hP(t,e){return e===void 0&&(t.issues.length||t.fallback)?{issues:[],value:void 0}:t}var wu=P("$ZodOptional",(t,e)=>{Re.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(`^(${Js(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=>hP(s,a)):hP(r,a)}return n.value===void 0?n:e.innerType._zod.run(n,i)}}),Vh=P("$ZodExactOptional",(t,e)=>{wu.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)}),Jh=P("$ZodNullable",(t,e)=>{Re.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(`^(${Js(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=P("$ZodDefault",(t,e)=>{Re.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=>gP(r,e)):gP(a,e)}});function gP(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}var Kh=P("$ZodPrefault",(t,e)=>{Re.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))}),Qh=P("$ZodNonOptional",(t,e)=>{Re.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=>mP(r,t)):mP(a,t)}});function mP(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 Yh=P("$ZodCatch",(t,e)=>{Re.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=>Ei(s,i,xi()))},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=>Ei(r,i,xi()))},input:n.value}),n.issues=[],n.fallback=!0),n)}});var vu=P("$ZodPipe",(t,e)=>{Re.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=>hu(s,e.in,i)):hu(r,e.in,i)}let a=e.in._zod.run(n,i);return a instanceof Promise?a.then(r=>hu(r,e.out,i)):hu(a,e.out,i)}});function hu(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 SP=P("$ZodPreprocess",(t,e)=>{vu.init(t,e)}),Xh=P("$ZodReadonly",(t,e)=>{Re.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(fP):fP(a)}});function fP(t){return t.value=Object.freeze(t.value),t}var eg=P("$ZodCustom",(t,e)=>{wn.init(t,e),Re.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=>wP(r,n,i,t));wP(a,n,i,t)}});function wP(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(Ir(a))}}var N1=()=>{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=lh(a.input),o=i[s]??s;return`Invalid input: expected ${r}, received ${o}`}case"invalid_value":return a.values.length===1?`Invalid input: expected ${lu(a.values[0])}`:`Invalid option: expected one of ${ru(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":""}: ${ru(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 OP(){return{localeError:N1()}}var TP;var ng=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 U1(){return new ng}(TP=globalThis).__zod_globalRegistry??(TP.__zod_globalRegistry=U1());var Wa=globalThis.__zod_globalRegistry;function ig(t,e){return new t({type:"string",...V(e)})}function tg(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...V(e)})}function Cu(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...V(e)})}function ag(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...V(e)})}function rg(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...V(e)})}function sg(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...V(e)})}function og(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...V(e)})}function lg(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...V(e)})}function ug(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...V(e)})}function cg(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...V(e)})}function pg(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...V(e)})}function dg(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...V(e)})}function hg(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...V(e)})}function gg(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...V(e)})}function mg(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...V(e)})}function fg(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...V(e)})}function wg(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...V(e)})}function vg(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...V(e)})}function Cg(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...V(e)})}function Ag(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...V(e)})}function bg(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...V(e)})}function xg(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...V(e)})}function yg(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...V(e)})}function MP(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...V(e)})}function kP(t,e){return new t({type:"string",format:"date",check:"string_format",...V(e)})}function EP(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...V(e)})}function qP(t,e){return new t({type:"string",format:"duration",check:"string_format",...V(e)})}function Pg(t,e){return new t({type:"number",checks:[],...V(e)})}function jg(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...V(e)})}function Sg(t,e){return new t({type:"boolean",...V(e)})}function Og(t,e){return new t({type:"null",...V(e)})}function Tg(t){return new t({type:"unknown"})}function Mg(t,e){return new t({type:"never",...V(e)})}function Au(t,e){return new dh({check:"less_than",...V(e),value:t,inclusive:!1})}function ao(t,e){return new dh({check:"less_than",...V(e),value:t,inclusive:!0})}function bu(t,e){return new hh({check:"greater_than",...V(e),value:t,inclusive:!1})}function ro(t,e){return new hh({check:"greater_than",...V(e),value:t,inclusive:!0})}function xu(t,e){return new Ky({check:"multiple_of",...V(e),value:t})}function yu(t,e){return new Yy({check:"max_length",...V(e),maximum:t})}function Wr(t,e){return new Xy({check:"min_length",...V(e),minimum:t})}function Pu(t,e){return new eP({check:"length_equals",...V(e),length:t})}function kg(t,e){return new nP({check:"string_format",format:"regex",...V(e),pattern:t})}function Eg(t){return new iP({check:"string_format",format:"lowercase",...V(t)})}function qg(t){return new tP({check:"string_format",format:"uppercase",...V(t)})}function _g(t,e){return new aP({check:"string_format",format:"includes",...V(e),includes:t})}function Hg(t,e){return new rP({check:"string_format",format:"starts_with",...V(e),prefix:t})}function Rg(t,e){return new sP({check:"string_format",format:"ends_with",...V(e),suffix:t})}function Bt(t){return new oP({check:"overwrite",tx:t})}function Ig(t){return Bt(e=>e.normalize(t))}function Wg(){return Bt(t=>t.trim())}function zg(){return Bt(t=>t.toLowerCase())}function Dg(){return Bt(t=>t.toUpperCase())}function Gg(){return Bt(t=>nh(t))}function _P(t,e,n){return new t({type:"array",element:e,...V(n)})}function Ng(t,e,n){let i=V(n);return i.abort??(i.abort=!0),new t({type:"custom",check:"custom",fn:e,...i})}function Ug(t,e,n){return new t({type:"custom",check:"custom",fn:e,...V(n)})}function $g(t,e){let n=$1(i=>(i.addIssue=a=>{if(typeof a=="string")i.issues.push(Ir(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(Ir(r))}},t(i.value,i)),e);return n}function $1(t,e){let n=new wn({check:"custom",...V(e)});return n._zod.check=t,n}function oo(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 Ie(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 u={...n,schemaPath:[...n.schemaPath,t],path:n.path};if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,s.schema,u);else{let h=s.schema,g=e.processors[a.type];if(!g)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);g(t,e,h,u)}let d=t._zod.parent;d&&(s.ref||(s.ref=d),Ie(d,e,u),e.seen.get(d).isParent=!0)}let l=e.metadataRegistry.get(t);return l&&Object.assign(s.schema,l),e.io==="input"&&Un(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 lo(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 d=t.external.registry.get(s[0])?.id,h=t.external.uri??(p=>p);if(d)return{ref:h(d)};let g=s[1].defId??s[1].schema.id??`schema${t.counter++}`;return s[1].defId=g,{defId:g,ref:`${h("__shared")}#/${o}/${g}`}}if(s[1]===n)return{ref:"#"};let c=`#/${o}/`,u=s[1].schema.id??`__schema${t.counter++}`;return{defId:u,ref:c+u}},r=s=>{if(s[1].schema.$ref)return;let o=s[1],{ref:l,defId:c}=a(s);o.def={...o.schema},c&&(o.defId=c);let u=o.schema;for(let d in u)delete u[d];u.$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("/")}/ + `)}return w.write("payload.value = newResult;"),w.write("return payload;"),w.compile()},s,o=Ka,l=!ai.jitless,u=l&&Qh.value,p=e.catchall,h;t._zod.parse=(g,d)=>{h??(h=i.value);let m=g.value;return o(m)?l&&u&&d?.async===!1&&d.jitless!==!0?(s||(s=r(e.shape)),g=s(g,d),p?Jj([],m,g,d,h,t,d?.abortEarly===!0):g):n(g,d):(g.issues.push({expected:"object",code:"invalid_type",input:m,inst:t}),g)}});function Mj(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=>!Zi(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=>Qi(s,i,Oi())))}),e)}var Ku=P("$ZodUnion",(t,e)=>{Ie.init(t,e),je(t,"optin",i=>i.def.options.some(a=>a._zod.optin==="defaulted")?"defaulted":i.def.options.some(a=>a._zod.optin!==void 0)?"optional":void 0),je(t,"optout",i=>i.def.options.some(a=>a._zod.optout==="optional")?"optional":void 0),je(t,"values",i=>{if(i.def.options.every(a=>a._zod.values))return new Set(i.def.options.flatMap(a=>Array.from(a._zod.values)))}),je(t,"pattern",i=>{if(i.def.options.every(a=>a._zod.pattern)){let a=i.def.options.map(r=>r._zod.pattern);return new RegExp(`^(${a.map(r=>oo(r.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=>Mj(o,i,t,a)):Mj(s,i,t,a)}});function pG(t){let e=new Map;for(let n of t.options){let i=n._zod.propValues?.[t.discriminator];if(!i||i.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let a of i)if(e.has(a)){if(a!==void 0)throw new Error(`Duplicate discriminator value "${String(a)}"`);e.set(a,null)}else e.set(a,n)}return e}var Lg=P("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,Ku.init(t,e);let n=t._zod.parse;je(t,"propValues",a=>{let r={},s=0;for(let o of a.def.options){let l=o._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${a.def.options.indexOf(o)}"`);l[a.def.discriminator]?.has(void 0)&&s++;for(let[c,u]of Object.entries(l)){Object.prototype.hasOwnProperty.call(r,c)||ii(r,c,new Set);for(let p of u)r[c].add(p)}}return!a.def.unionFallback&&s>1&&r[a.def.discriminator]?.delete(void 0),r}),e.options.forEach((a,r)=>{let s=Qr(a._zod.def);if(s&&!Object.prototype.hasOwnProperty.call(s,e.discriminator))throw new Error(`Invalid discriminated union option at index "${r}"`)});let i=Zr(()=>pG(e));t._zod.parse=(a,r)=>{let s=a.value;if(!Ka(s))return a.issues.push({code:"invalid_type",expected:"object",input:s,inst:t}),a;let o=s?.[e.discriminator],l=i.value.get(o);return l&&(o!==void 0||r.direction!=="backward")?l._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()).filter(c=>i.value.get(c)!==null),input:s,path:[e.discriminator],inst:t}),a)}}),Fg=P("$ZodIntersection",(t,e)=>{Ie.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,c])=>Ej(n,l,c)):Ej(n,r,s)}});function fg(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(ta(t)&&ta(e)){let n=Object.keys(e),i=Object.keys(t).filter(r=>n.indexOf(r)!==-1),a={...t,...e};Object.prototype.hasOwnProperty.call(a,"__proto__")&&delete a.__proto__;for(let r of i){if(r==="__proto__")continue;let s=fg(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;i{let p;if(c.code==="unrecognized_keys"&&!c.path?.length)a??(a=c),p=c.keys;else if(c.code==="invalid_key"&&c.origin==="record"&&c.path?.length===1){let h=String(c.path[0]);r.has(h)||r.set(h,c),p=[h]}else return!1;for(let h of p)i.has(h)||i.set(h,{}),i.get(h)[u]=!0;return!0};for(let c of e.issues)s(c,"l")||t.issues.push(c);for(let c of n.issues)s(c,"r")||t.issues.push(c);let o=[...i].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(o.length){let c=a?o.filter(u=>a.keys.includes(u)):[];c.length&&t.issues.push({...a,keys:c});for(let u of o)!c.includes(u)&&r.has(u)&&t.issues.push(r.get(u))}let l=fg(e.value,n.value);if(!l.valid){if(Zi(t))return t;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`)}return t.value=l.data,t}var Vg=P("$ZodRecord",(t,e)=>{Ie.init(t,e);let n=ai.memoizer;n?.attach(t),t._zod.parse=(i,a)=>{let r=i.value;if(!ta(r))return i.issues.push({expected:"record",code:"invalid_type",input:r,inst:t}),i;let s=[],o=e.keyType._zod.values;if(o&&!e.partial){i.value=n?n.alloc(t,i,{},a):{};let l=new Set;for(let u of o)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){if(l.add(typeof u=="number"?u.toString():u),u==="__proto__")continue;let p=e.keyType._zod.run({value:u,issues:[]},a);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(p.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(d=>Qi(d,a,Oi())),input:u,path:[u],inst:t});continue}let h=p.value;if(h==="__proto__")continue;let g=e.valueType._zod.run({value:r[u],issues:[]},a);g instanceof Promise?s.push(g.then(d=>{d.issues.length&&i.issues.push(...Gt(u,d.issues)),i.value[h]=d.value})):(g.issues.length&&i.issues.push(...Gt(u,g.issues)),i.value[h]=g.value)}let c;for(let u in r)if(!l.has(u))if(e.mode==="loose"){if(u==="__proto__")continue;i.value[u]=r[u]}else c=c??[],c.push(u);c&&c.length>0&&i.issues.push({code:"unrecognized_keys",input:r,inst:t,keys:c,continue:!0})}else{i.value=n?n.alloc(t,i,{},a):{};let l;for(let c of Reflect.ownKeys(r)){if(c==="__proto__"||!Object.prototype.propertyIsEnumerable.call(r,c))continue;let u=e.keyType._zod.run({value:c,issues:[]},a);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&Co.test(c)&&u.issues.length){let d=e.keyType._zod.run({value:Number(c),issues:[]},a);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(u=d)}if(u.issues.length){e.mode==="loose"?i.value[c]=r[c]:o?(l=l??[],l.push(c)):i.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(d=>Qi(d,a,Oi())),input:c,path:[c],inst:t});continue}let h=u.value;if(h==="__proto__")continue;let g=e.valueType._zod.run({value:r[c],issues:[]},a);g instanceof Promise?s.push(g.then(d=>{d.issues.length&&i.issues.push(...Gt(c,d.issues)),i.value[h]=d.value})):(g.issues.length&&i.issues.push(...Gt(c,g.issues)),i.value[h]=g.value)}l&&l.length>0&&i.issues.push({code:"unrecognized_keys",input:r,inst:t,keys:l,continue:!0})}return s.length?Promise.all(s).then(()=>i):i}});var Jg=P("$ZodEnum",(t,e)=>{Ie.init(t,e);let n=Jr(e.entries),i=new Set(n);t._zod.values=i,je(t,"pattern",a=>{let r=Jr(a.def.entries).filter(s=>Xh.has(typeof s));return new RegExp(r.length?`^(${r.map(s=>Dt(s.toString())).join("|")})$`:"^[^\\s\\S]$")}),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}}),Kg=P("$ZodLiteral",(t,e)=>{Ie.init(t,e);let n=new Set(e.values);t._zod.values=n,je(t,"pattern",i=>{let a=i.def.values;return new RegExp(a.length?`^(${a.map(r=>typeof r=="string"?Dt(r):r?Dt(r.toString()):String(r)).join("|")})$`:"^[^\\s\\S]$")}),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 Zg=P("$ZodTransform",(t,e)=>{Ie.init(t,e),t._zod.optin="optional",ai.memoizer?.guard(t),t._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Xr(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));if(a instanceof Promise)throw new Yi;return n.value=a,n}});function qj(t,e){return t.value=e.issues.length?void 0:e.value,t}var Zu=P("$ZodOptional",(t,e)=>{Ie.init(t,e),je(t,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),t._zod.optout="optional",je(t,"values",n=>{let i=n.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),je(t,"pattern",n=>{let i=n.def.innerType._zod.pattern;return i?new RegExp(`^(${oo(i.source)})?$`):void 0}),t._zod.parse=(n,i)=>{if(n.value===void 0){if(e.innerType._zod.optin!=="defaulted")return n;let a=e.innerType._zod.run({value:n.value,issues:[]},i);return a instanceof Promise?a.then(r=>qj(n,r)):qj(n,a)}return e.innerType._zod.run(n,i)}}),Qg=P("$ZodExactOptional",(t,e)=>{Zu.init(t,e),je(t,"values",n=>n.def.innerType._zod.values),je(t,"pattern",n=>n.def.innerType._zod.pattern),t._zod.parse=(n,i)=>e.innerType._zod.run(n,i)}),Yg=P("$ZodNullable",(t,e)=>{Ie.init(t,e),je(t,"optin",n=>n.def.innerType._zod.optin),je(t,"optout",n=>n.def.innerType._zod.optout),je(t,"pattern",n=>{let i=n.def.innerType._zod.pattern;return i?new RegExp(`^(${oo(i.source)}|null)$`):void 0}),je(t,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),t._zod.parse=(n,i)=>n.value===null?n:e.innerType._zod.run(n,i)}),Xg=P("$ZodDefault",(t,e)=>{Ie.init(t,e),t._zod.optin="defaulted",je(t,"values",n=>n.def.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=>_j(r,e)):_j(a,e)}});function _j(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}var em=P("$ZodPrefault",(t,e)=>{Ie.init(t,e),t._zod.optin="defaulted",je(t,"values",n=>n.def.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))}),nm=P("$ZodNonOptional",(t,e)=>{Ie.init(t,e),je(t,"values",n=>{let i=n.def.innerType._zod.values;return i?new Set([...i].filter(a=>a!==void 0)):void 0}),t._zod.parse=(n,i)=>{let a=e.innerType._zod.run(n,i);return a instanceof Promise?a.then(r=>Hj(r,t)):Hj(a,t)}});function Hj(t,e){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:e}),t}function Wj(t,e,n,i){return e.issues.length?(t.value=n.catchValue({...e,value:t.value,error:{issues:e.issues.map(a=>Qi(a,i,Oi()))},input:t.value}),t):(t.value=e.value,e.memo&&(t.memo=!0),t)}var im=P("$ZodCatch",(t,e)=>{Ie.init(t,e),je(t,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),je(t,"optout",n=>n.def.innerType._zod.optout),je(t,"values",n=>n.def.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({value:n.value,issues:[]},i);return a instanceof Promise?a.then(r=>Wj(n,r,e,i)):Wj(n,a,e,i)}});var Qu=P("$ZodPipe",(t,e)=>{Ie.init(t,e),je(t,"values",n=>n.def.in._zod.values),je(t,"optin",n=>n.def.in._zod.optin),je(t,"optout",n=>n.def.out._zod.optout),je(t,"propValues",n=>n.def.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=>Bu(s,e.in,i)):Bu(r,e.in,i)}let a=e.in._zod.run(n,i);return a instanceof Promise?a.then(r=>Bu(r,e.out,i)):Bu(a,e.out,i)}});function Bu(t,e,n){return t.issues.some(i=>i.code!=="unrecognized_keys")?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues},n)}var Zj=P("$ZodPreprocess",(t,e)=>{Qu.init(t,e)}),tm=P("$ZodReadonly",(t,e)=>{Ie.init(t,e),je(t,"propValues",n=>n.def.innerType._zod.propValues),je(t,"values",n=>n.def.innerType._zod.values),je(t,"optin",n=>n.def.innerType?._zod?.optin),je(t,"optout",n=>n.def.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(Rj):Rj(a)}});function Rj(t){return t.memo||(t.value=Object.freeze(t.value)),t}var am=P("$ZodCustom",(t,e)=>{wn.init(t,e),Ie.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=>Ij(r,n,i,t));Ij(a,n,i,t)}});function Ij(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(Yr(a))}}var sm=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},om="~memo",Qj=[];function Yj(t){return t!==null&&typeof t=="object"}function rm(t){return t.map(e=>e.path?{...e,path:e.path.slice()}:{...e})}var Xj=new WeakMap,xo=0,ec=1,yo=2;function nc(t,e,n){let i=Xj.get(t);if(i!==void 0)return i?yo:xo;if(e.has(t))return yo;e.add(t);let a=xo,r=u=>{if(a!==yo&&u?._zod){let p=nc(u,e,n);p>a&&(a=p)}},s=(u,p)=>{let h=xo;for(let g of Reflect.ownKeys(u)){let d=Object.getOwnPropertyDescriptor(u,g);if(p&&!d.enumerable)continue;let m=d.get?ec:d.value?._zod?nc(d.value,e,n):xo;m>h&&(h=m)}return h},o=u=>{u>a&&(a=u)},l=t._zod.def,c=l.type;switch(c){case"object":{let u=Qr(l);o(u?s(u,!0):ec),r(l.catchall);break}case"array":r(l.element);break;case"tuple":for(let u of l.items)r(u);r(l.rest);break;case"record":case"map":r(l.keyType),r(l.valueType);break;case"set":r(l.valueType);break;case"union":for(let u of l.options)r(u);break;case"intersection":r(l.left),r(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":r(l.innerType);break;case"pipe":r(l.in),r(l.out);break;case"function":r(l.input),r(l.output);break;case"lazy":{let u=l._cachedInner??(n?t._zod.innerType:void 0);o(u?nc(u,e,!1):ec);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let u in l){let p=Object.getOwnPropertyDescriptor(l,u);if(!p||p.get)continue;let h=p.value;if(!(!h||typeof h!="object")){if(h._zod)r(h);else if(Array.isArray(h))for(let g of h)r(g)}}}return e.delete(t),dG(t,a)}function dG(t,e){return e!==ec&&Xj.set(t,e===yo),e}function hG(t,e){let n=t.buckets.get(e);return n||(n=new WeakMap,t.buckets.set(e,n)),n}var Yu,Xu=[],gG={alloc(t,e,n){let i=Yu;if(!i)return n;Yu=void 0;let a={value:n,issues:null};return i.set(e.value,a),Xu.push(a),n},guard(t){var e;(e=t._zod).deferred??(e.deferred=[]),t._zod.deferred.push(()=>{let n=t._zod.parse,i=(a,r)=>{if(r.direction!=="backward"&&mG(r,a.value))throw new sm;return n(a,r)};t._zod.parse=i,t._zod.run===n&&(t._zod.run=i)})},attach(t){var e;let n,i=!1,a,r;(e=t._zod).deferred??(e.deferred=[]),t._zod.deferred.push(()=>{let s=t._zod.parse,o=(l,c)=>{if(n===void 0){let f=nc(t,new Set,!1);if(f===xo)return t._zod.parse=s,t._zod.run===o&&(t._zod.run=s),s(l,c);f===yo||i?n=!0:i=!0}let u=l.value;if(!Yj(u))return s(l,c);let p=c[om];p||(p={buckets:new WeakMap,backEdges:void 0},c[om]=p);let h;a===c?h=r:(h=hG(p,t),a=c,r=h);let g=h.get(u);if(g)return l.value=g.value,g.issues?g.issues.length&&l.issues.push(...rm(g.issues)):(l.memo=!0,p.backEdges??(p.backEdges=new WeakSet),p.backEdges.add(g.value)),l;Yu=h;let d=Xu.length,m=s(l,c);Yu=void 0;let w=Xu.length>d?Xu.pop():void 0;return m instanceof Promise?m.then(f=>(w&&(w.issues=f.issues.length?rm(f.issues):Qj),f)):(w&&(w.issues=m.issues.length?rm(m.issues):Qj),m)};t._zod.parse=o,t._zod.run===s&&(t._zod.run=o)})}};function eS(){return gG}function mG(t,e){let n=t[om]?.backEdges;return n!==void 0&&Yj(e)&&n.has(e)}var fG=()=>{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(r){return t[r]??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",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function a(r,s){return r==="number"&&typeof s=="number"&&!Number.isFinite(s)?String(s):i[r]??r}return r=>{switch(r.code){case"invalid_type":{let s=a(r.expected),o=ig(r.input),l=a(o,r.input);return`Invalid input: expected ${s}, received ${l}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${Hu(r.values[0])}`:`Invalid option: expected one of ${qu(r.values,"|")}`;case"too_big":{let s=r.exact?"exactly ":r.inclusive?"<=":"<",o=e(r.origin);return o?`Too big: expected ${r.origin??"value"} to have ${s}${r.maximum.toString()} ${o.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${s}${r.maximum.toString()}`}case"too_small":{let s=r.exact?"exactly ":r.inclusive?">=":">",o=e(r.origin);return o?`Too small: expected ${r.origin} to have ${s}${r.minimum.toString()} ${o.unit}`:`Too small: expected ${r.origin} to be ${s}${r.minimum.toString()}`}case"invalid_format":{let s=r;return s.format==="starts_with"?`Invalid string: must start with "${s.prefix}"`:s.format==="ends_with"?`Invalid string: must end with "${s.suffix}"`:s.format==="includes"?`Invalid string: must include "${s.includes}"`:s.format==="regex"?`Invalid string: must match pattern ${s.pattern}`:`Invalid ${n[s.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${qu(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`Invalid discriminator value. Expected ${r.options.map(o=>`'${o}'`).join(" | ")}`:r.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function nS(){return{localeError:fG()}}var iS;var lm=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 wG(){return new lm}(iS=globalThis).__zod_globalRegistry??(iS.__zod_globalRegistry=wG());var Za=globalThis.__zod_globalRegistry;function tS(t){return t.checks&&(t.checks=[...t.checks]),t}function um(t,e){return new t(tS({type:"string",...K(e)}))}function cm(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...K(e)})}function pm(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...K(e)})}function dm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...K(e)})}function hm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...K(e)})}function gm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...K(e)})}function mm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...K(e)})}function fm(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...K(e)})}function wm(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...K(e)})}function vm(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...K(e)})}function Cm(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...K(e)})}function Am(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...K(e)})}function bm(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...K(e)})}function xm(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...K(e)})}function ym(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...K(e)})}function Pm(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...K(e)})}function jm(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...K(e)})}function Sm(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...K(e)})}function Om(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...K(e)})}function Tm(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...K(e)})}function km(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...K(e)})}function Mm(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...K(e)})}function Em(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...K(e)})}function ic(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...K(e)})}function tc(t,e){return new t({type:"string",format:"date",check:"string_format",...K(e)})}function ac(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...K(e)})}function rc(t,e){return new t({type:"string",format:"duration",check:"string_format",...K(e)})}function qm(t,e){return new t(tS({type:"number",checks:[],...K(e)}))}function _m(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...K(e)})}function Hm(t,e){return new t({type:"boolean",...K(e)})}function Wm(t,e){return new t({type:"null",...K(e)})}function Rm(t){return new t({type:"unknown"})}function Im(t,e){return new t({type:"never",...K(e)})}function sc(t,e){return new gg({check:"less_than",...K(e),value:t,inclusive:!1})}function Po(t,e){return new gg({check:"less_than",...K(e),value:t,inclusive:!0})}function oc(t,e){return new mg({check:"greater_than",...K(e),value:t,inclusive:!1})}function jo(t,e){return new mg({check:"greater_than",...K(e),value:t,inclusive:!0})}function lc(t,e){return new gj({check:"multiple_of",...K(e),value:t})}function uc(t,e){return new fj({check:"max_length",...K(e),maximum:t})}function ns(t,e){return new wj({check:"min_length",...K(e),minimum:t})}function cc(t,e){return new vj({check:"length_equals",...K(e),length:t})}function zm(t,e){return new Cj({check:"string_format",format:"regex",...K(e),pattern:t})}function Dm(t){return new Aj({check:"string_format",format:"lowercase",...K(t)})}function Gm(t){return new bj({check:"string_format",format:"uppercase",...K(t)})}function Nm(t,e){return new xj({check:"string_format",format:"includes",...K(e),includes:t})}function Um(t,e){return new yj({check:"string_format",format:"starts_with",...K(e),prefix:t})}function $m(t,e){return new Pj({check:"string_format",format:"ends_with",...K(e),suffix:t})}function aa(t){return new jj({check:"overwrite",tx:t})}function Bm(t){return aa(e=>e.normalize(t))}function Lm(){return aa(t=>t.trim())}function Fm(){return aa(t=>t.toLowerCase())}function Vm(){return aa(t=>t.toUpperCase())}function Jm(){return aa(t=>Zh(t))}function aS(t,e,n){return new t({type:"array",element:e,...K(n)})}function Km(t,e,n){let i=K(n);return i.abort??(i.abort=!0),new t({type:"custom",check:"custom",fn:e,...i})}function Zm(t,e,n){return new t({type:"custom",check:"custom",fn:e,...K(n)})}function Qm(t,e){let n=vG(i=>(i.addIssue=a=>{if(typeof a=="string")i.issues.push(Yr(a,i.value,n._zod.def));else{let r=a;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),"input"in r||(r.input=i.value),r.inst??(r.inst=n),r.continue??(r.continue=!n._zod.def.abort),i.issues.push(Yr(r))}},t(i.value,i)),e);return n}function vG(t,e){let n=new wn({check:"custom",...K(e)});return n._zod.check=t,n}function So(t,...e){for(let n of e)for(let i of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,i)&&ii(t,i,n[i]);return t}function To(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??Za,target:e,unrepresentable:t?.unrepresentable??"throw",override:t?.override??(()=>{}),io:t?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:t?.cycles??"ref",reused:t?.reused??"inline",intersections:[],deferred:[],external:t?.external??void 0}}function vn(t,e,n,i,a){let r=typeof e.unrepresentable=="function"?e.unrepresentable({zodSchema:t,path:i.path,message:a}):e.unrepresentable;if(r==="any")return!1;if(r===void 0||r==="throw")throw new Error(a);return Object.assign(n,r),!0}function ze(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),e.sharedDefsExtractedFor=void 0,e.sharedEmitDoneFor=void 0;let o=t._zod.toJSONSchema?.();if(o)s.schema=o;else{let u={...n,schemaPath:[...n.schemaPath,t],path:n.path};if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,s.schema,u);else{let h=s.schema,g=e.processors[a.type];if(!g)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);g(t,e,h,u)}let p=t._zod.parent;p&&(s.ref||(s.ref=p),ze(p,e,u),e.seen.get(p).isParent=!0)}let l=e.metadataRegistry.get(t);return l&&So(s.schema,l),e.io==="input"&&Ln(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 rS(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function ko(t,e){let n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");if(t.external&&t.sharedDefsExtractedFor===t.external)return;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??(d=>d);if(p)return{ref:h(p)};let g=s[1].defId??s[1].schema.id??`schema${t.counter++}`;return s[1].defId=g,{defId:g,ref:`${h("__shared")}#/${o}/${rS(g)}`}}let l="#",c=`${l}/${o}/`;if(s[1]===n&&!s[1].schema.id)return{ref:l};let u=s[1].schema.id??`__schema${t.counter++}`;return{defId:u,ref:c+rS(u)}},r=s=>{if(s[1].schema.$ref)return;let o=s[1],{ref:l,defId:c}=a(s);o.def={...o.schema},c&&(o.defId=c);let u=o.schema;for(let p in u)delete u[p];u.$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 c=t.external.registry.get(s[0])?.id;if(e!==s[0]&&c){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 uo(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 c=l.def??l.schema,u={...c},d=l.ref;if(l.ref=null,d){i(d);let g=t.seen.get(d),p=g.schema;if(p.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(p)):Object.assign(c,p),Object.assign(c,u),o._zod.parent===d)for(let f in c)f==="$ref"||f==="allOf"||f in u||delete c[f];if(p.$ref&&g.def)for(let f in c)f==="$ref"||f==="allOf"||f in g.def&&JSON.stringify(c[f])===JSON.stringify(g.def[f])&&delete c[f]}let h=o._zod.parent;if(h&&h!==d){i(h);let g=t.seen.get(h);if(g?.schema.$ref&&(c.$ref=g.schema.$ref,g.def))for(let p in c)p==="$ref"||p==="allOf"||p in g.def&&JSON.stringify(c[p])===JSON.stringify(g.def[p])&&delete c[p]}t.override({zodSchema:o,jsonSchema:c,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:so(e,"input",t.processors),output:so(e,"output",t.processors)}},enumerable:!1,writable:!1}),o}catch{throw new Error("Error converting schema to JSON.")}}function Un(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 Un(i.element,n);if(i.type==="set")return Un(i.valueType,n);if(i.type==="lazy")return Un(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 Un(i.innerType,n);if(i.type==="intersection")return Un(i.left,n)||Un(i.right,n);if(i.type==="record"||i.type==="map")return Un(i.keyType,n)||Un(i.valueType,n);if(i.type==="pipe")return t._zod.traits.has("$ZodCodec")?!0:Un(i.in,n)||Un(i.out,n);if(i.type==="object"){for(let a in i.shape)if(Un(i.shape[a],n))return!0;return!1}if(i.type==="union"){for(let a of i.options)if(Un(a,n))return!0;return!1}if(i.type==="tuple"){for(let a of i.items)if(Un(a,n))return!0;return!!(i.rest&&Un(i.rest,n))}return!1}var HP=(t,e={})=>n=>{let i=oo({...n,processors:e});return Ie(t,i),lo(i,t),uo(i,t)},so=(t,e,n={})=>i=>{let{libraryOptions:a,target:r}=i??{},s=oo({...a??{},target:r,io:e,processors:n});return Ie(t,s),lo(s,t),uo(s,t)};var L1={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Lg=(t,e,n,i)=>{let a=n;a.type="string";let{minimum:r,maximum:s,format:o,patterns:l,contentEncoding:c}=t._zod.bag;if(typeof r=="number"&&(a.minLength=r),typeof s=="number"&&(a.maxLength=s),o&&(a.format=L1[o]??o,a.format===""&&delete a.format,o==="time"&&delete a.format),c&&(a.contentEncoding=c),l&&l.size>0){let u=[...l];u.length===1?a.pattern=u[0].source:u.length>1&&(a.allOf=[...u.map(d=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},Bg=(t,e,n,i)=>{let a=n,{minimum:r,maximum:s,format:o,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=t._zod.bag;typeof o=="string"&&o.includes("int")?a.type="integer":a.type="number";let d=typeof u=="number"&&u>=(r??Number.NEGATIVE_INFINITY),h=typeof c=="number"&&c<=(s??Number.POSITIVE_INFINITY),g=e.target==="draft-04"||e.target==="openapi-3.0";d?g?(a.minimum=u,a.exclusiveMinimum=!0):a.exclusiveMinimum=u:typeof r=="number"&&(a.minimum=r),h?g?(a.maximum=c,a.exclusiveMaximum=!0):a.exclusiveMaximum=c:typeof s=="number"&&(a.maximum=s),typeof l=="number"&&(a.multipleOf=l)},Fg=(t,e,n,i)=>{n.type="boolean"},IP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},WP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Vg=(t,e,n,i)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},zP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},DP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},Jg=(t,e,n,i)=>{n.not={}},GP=(t,e,n,i)=>{},Zg=(t,e,n,i)=>{},NP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},Kg=(t,e,n,i)=>{let a=t._zod.def,r=Fs(a.entries);r.every(s=>typeof s=="number")&&(n.type="number"),r.every(s=>typeof s=="string")&&(n.type="string"),n.enum=r},Qg=(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},UP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},$P=(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},LP=(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(c=>({contentMediaType:c}))):Object.assign(a,r)},BP=(t,e,n,i)=>{n.type="boolean"},Yg=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},FP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Xg=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},VP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},JP=(t,e,n,i)=>{if(e.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},em=(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=Ie(r.element,e,{...i,path:[...i.path,"items"]})},nm=(t,e,n,i)=>{let a=n,r=t._zod.def;a.type="object",a.properties={};let s=r.shape;for(let c in s)a.properties[c]=Ie(s[c],e,{...i,path:[...i.path,"properties",c]});let o=new Set(Object.keys(s)),l=new Set([...o].filter(c=>{let u=r.shape[c]._zod;return e.io==="input"?u.optin===void 0:u.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=Ie(r.catchall,e,{...i,path:[...i.path,"additionalProperties"]})):e.io==="output"&&(a.additionalProperties=!1)},im=(t,e,n,i)=>{let a=t._zod.def,r=a.inclusive===!1,s=a.options.map((o,l)=>Ie(o,e,{...i,path:[...i.path,r?"oneOf":"anyOf",l]}));r?n.oneOf=s:n.anyOf=s},tm=(t,e,n,i)=>{let a=t._zod.def,r=Ie(a.left,e,{...i,path:[...i.path,"allOf",0]}),s=Ie(a.right,e,{...i,path:[...i.path,"allOf",1]}),o=c=>"allOf"in c&&Object.keys(c).length===1,l=[...o(r)?r.allOf:[r],...o(s)?s.allOf:[s]];n.allOf=l},ZP=(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,g)=>Ie(h,e,{...i,path:[...i.path,s,g]})),c=r.rest?Ie(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,c&&(a.items=c)):e.target==="openapi-3.0"?(a.items={anyOf:l},c&&a.items.anyOf.push(c),a.minItems=l.length,c||(a.maxItems=l.length)):(a.items=l,c&&(a.additionalItems=c));let{minimum:u,maximum:d}=t._zod.bag;typeof u=="number"&&(a.minItems=u),typeof d=="number"&&(a.maxItems=d)},am=(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 u=Ie(r.valueType,e,{...i,path:[...i.path,"patternProperties","*"]});a.patternProperties={};for(let d of l)a.patternProperties[d.source]=u}else(e.target==="draft-07"||e.target==="draft-2020-12")&&(a.propertyNames=Ie(r.keyType,e,{...i,path:[...i.path,"propertyNames"]})),a.additionalProperties=Ie(r.valueType,e,{...i,path:[...i.path,"additionalProperties"]});let c=s._zod.values;if(c){let u=[...c].filter(d=>typeof d=="string"||typeof d=="number");u.length>0&&(a.required=u)}},rm=(t,e,n,i)=>{let a=t._zod.def,r=Ie(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"}]},sm=(t,e,n,i)=>{let a=t._zod.def;Ie(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},om=(t,e,n,i)=>{let a=t._zod.def;Ie(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))},lm=(t,e,n,i)=>{let a=t._zod.def;Ie(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)))},um=(t,e,n,i)=>{let a=t._zod.def;Ie(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},cm=(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;Ie(s,e,i);let o=e.seen.get(t);o.ref=s},pm=(t,e,n,i)=>{let a=t._zod.def;Ie(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType,n.readOnly=!0},KP=(t,e,n,i)=>{let a=t._zod.def;Ie(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},ju=(t,e,n,i)=>{let a=t._zod.def;Ie(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},QP=(t,e,n,i)=>{let a=t._zod.innerType;Ie(a,e,i);let r=e.seen.get(t);r.ref=a},RP={string:Lg,number:Bg,boolean:Fg,bigint:IP,symbol:WP,null:Vg,undefined:zP,void:DP,never:Jg,any:GP,unknown:Zg,date:NP,enum:Kg,literal:Qg,nan:UP,template_literal:$P,file:LP,success:BP,custom:Yg,function:FP,transform:Xg,map:VP,set:JP,array:em,object:nm,union:im,intersection:tm,tuple:ZP,record:am,nullable:rm,nonoptional:sm,default:om,prefault:lm,catch:um,pipe:cm,readonly:pm,promise:KP,optional:ju,lazy:QP};function dm(t,e){if("_idmap"in t){let i=t,a=oo({...e,processors:RP}),r={};for(let l of i._idmap.entries()){let[c,u]=l;Ie(u,a)}let s={},o={registry:i,uri:e?.uri,defs:r};a.external=o;for(let l of i._idmap.entries()){let[c,u]=l;lo(a,u),s[c]=uo(a,u)}if(Object.keys(r).length>0){let l=a.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[l]:r}}return{schemas:s}}let n=oo({...e,processors:RP});return Ie(t,n),lo(n,t),uo(n,t)}var _z=P("ZodMiniType",(t,e)=>{if(!t._zod)throw new Error("Uninitialized schema in ZodMiniType.");Re.init(t,e),t.def=e,t.type=e.type,t.parse=(n,i)=>cu(t,n,i,{callee:t.parse}),t.safeParse=(n,i)=>Ra(t,n,i),t.parseAsync=async(n,i)=>pu(t,n,i,{callee:t.parseAsync}),t.safeParseAsync=async(n,i)=>Ia(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)=>yi(t,n,i),t.brand=()=>t,t.register=((n,i)=>(n.add(t,i),t)),t.apply=n=>n(t)});var Hz=P("ZodMiniObject",(t,e)=>{Gh.init(t,e),_z.init(t,e),Me(t,"shape",()=>e.shape)});function hm(t,e){let n={type:"object",shape:t??{},...V(e)};return new Hz(n)}function st(t){return!!t._zod}function Da(t){let e=Object.values(t);if(e.length===0)return hm({});let n=e.every(st),i=e.every(a=>!st(a));if(n)return hm(t);if(i)return Qd(t);throw new Error("Mixed Zod versions detected in object shape.")}function Ft(t,e){return st(t)?Ra(t,e):t.safeParse(e)}async function Su(t,e){return st(t)?await Ia(t,e):await t.safeParseAsync(e)}function Vt(t){if(!t)return;let e;if(st(t)?e=t._zod?.def?.shape:e=t.shape,!!e){if(typeof e=="function")try{return e()}catch{return}return e}}function zr(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 Da(t)}}if(st(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 Iz(t){return t.length===0?"object root":t.reduce((e,n,i)=>i===0?String(n):typeof n=="number"?`${e}[${n}]`:`${e}.${n}`,"")}function Ou(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 ${Iz(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 XP(t){return t.description}function ej(t){if(st(t))return t._zod?.def?.type==="optional";let e=t;return typeof t.isOptional=="function"?t.isOptional():e._def?.typeName==="ZodOptional"}function Dr(t){if(st(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 co={};Vd(co,{ZodISODate:()=>ij,ZodISODateTime:()=>nj,ZodISODuration:()=>aj,ZodISOTime:()=>tj,date:()=>mm,datetime:()=>gm,duration:()=>wm,time:()=>fm});var nj=P("ZodISODateTime",(t,e)=>{vP.init(t,e),Be.init(t,e)});function gm(t){return MP(nj,t)}var ij=P("ZodISODate",(t,e)=>{CP.init(t,e),Be.init(t,e)});function mm(t){return kP(ij,t)}var tj=P("ZodISOTime",(t,e)=>{AP.init(t,e),Be.init(t,e)});function fm(t){return EP(tj,t)}var aj=P("ZodISODuration",(t,e)=>{bP.init(t,e),Be.init(t,e)});function wm(t){return qP(aj,t)}var $z=(t,e)=>{uu.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>dy(t,n)},flatten:{value:n=>py(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,Hr,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,Hr,2)}},isEmpty:{get(){return t.issues.length===0}}})};var Pi=P("ZodError",$z,{Parent:Error});var rj=Qs(Pi),sj=Ys(Pi),oj=Xs(Pi),lj=eo(Pi),uj=hy(Pi),cj=gy(Pi),pj=my(Pi),dj=fy(Pi),hj=wy(Pi),gj=vy(Pi),mj=Cy(Pi),fj=Ay(Pi);var wj=new WeakMap;function po(t,e,n){let i=Object.getPrototypeOf(t),a=wj.get(i);if(a||(a=new Set,wj.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=P("ZodType",(t,e)=>(Re.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:so(t,"input"),output:so(t,"output")}}),t.toJSONSchema=HP(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.parse=(n,i)=>rj(t,n,i,{callee:t.parse}),t.safeParse=(n,i)=>oj(t,n,i),t.parseAsync=async(n,i)=>sj(t,n,i,{callee:t.parseAsync}),t.safeParseAsync=async(n,i)=>lj(t,n,i),t.spa=t.safeParseAsync,t.encode=(n,i)=>uj(t,n,i),t.decode=(n,i)=>cj(t,n,i),t.encodeAsync=async(n,i)=>pj(t,n,i),t.decodeAsync=async(n,i)=>dj(t,n,i),t.safeEncode=(n,i)=>hj(t,n,i),t.safeDecode=(n,i)=>gj(t,n,i),t.safeEncodeAsync=async(n,i)=>mj(t,n,i),t.safeDecodeAsync=async(n,i)=>fj(t,n,i),po(t,"ZodType",{check(...n){let i=this.def;return this.clone(fe.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 yi(this,n,i)},brand(){return this},register(n,i){return n.add(this,i),this},refine(n,i){return this.check(_D(n,i))},superRefine(n,i){return this.check(HD(n,i))},overwrite(n){return this.check(Bt(n))},optional(){return Ve(this)},exactOptional(){return bD(this)},nullable(){return bj(this)},nullish(){return Ve(bj(this))},nonoptional(n){return OD(this,n)},array(){return we(this)},or(n){return Ne([this,n])},and(n){return Mu(this,n)},transform(n){return xj(this,Tj(n))},default(n){return PD(this,n)},prefault(n){return SD(this,n)},catch(n){return MD(this,n)},pipe(n){return xj(this,n)},readonly(){return qD(this)},describe(n){let i=this.clone();return Wa.add(i,{description:n}),i},meta(...n){if(n.length===0)return Wa.get(this);let i=this.clone();return Wa.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 Wa.get(t)?.description},configurable:!0}),t)),yj=P("_ZodString",(t,e)=>{to.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(i,a,r)=>Lg(t,i,a,r);let n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,po(t,"_ZodString",{regex(...i){return this.check(kg(...i))},includes(...i){return this.check(_g(...i))},startsWith(...i){return this.check(Hg(...i))},endsWith(...i){return this.check(Rg(...i))},min(...i){return this.check(Wr(...i))},max(...i){return this.check(yu(...i))},length(...i){return this.check(Pu(...i))},nonempty(...i){return this.check(Wr(1,...i))},lowercase(i){return this.check(Eg(i))},uppercase(i){return this.check(qg(i))},trim(){return this.check(Wg())},normalize(...i){return this.check(Ig(...i))},toLowerCase(){return this.check(zg())},toUpperCase(){return this.check(Dg())},slugify(){return this.check(Gg())}})}),Bz=P("ZodString",(t,e)=>{to.init(t,e),yj.init(t,e),t.email=n=>t.check(tg(Fz,n)),t.url=n=>t.check(lg(Vz,n)),t.jwt=n=>t.check(yg(lD,n)),t.emoji=n=>t.check(ug(Jz,n)),t.guid=n=>t.check(Cu(vj,n)),t.uuid=n=>t.check(ag(Tu,n)),t.uuidv4=n=>t.check(rg(Tu,n)),t.uuidv6=n=>t.check(sg(Tu,n)),t.uuidv7=n=>t.check(og(Tu,n)),t.nanoid=n=>t.check(cg(Zz,n)),t.guid=n=>t.check(Cu(vj,n)),t.cuid=n=>t.check(pg(Kz,n)),t.cuid2=n=>t.check(dg(Qz,n)),t.ulid=n=>t.check(hg(Yz,n)),t.base64=n=>t.check(Ag(rD,n)),t.base64url=n=>t.check(bg(sD,n)),t.xid=n=>t.check(gg(Xz,n)),t.ksuid=n=>t.check(mg(eD,n)),t.ipv4=n=>t.check(fg(nD,n)),t.ipv6=n=>t.check(wg(iD,n)),t.cidrv4=n=>t.check(vg(tD,n)),t.cidrv6=n=>t.check(Cg(aD,n)),t.e164=n=>t.check(xg(oD,n)),t.datetime=n=>t.check(gm(n)),t.date=n=>t.check(mm(n)),t.time=n=>t.check(fm(n)),t.duration=n=>t.check(wm(n))});function y(t){return ig(Bz,t)}var Be=P("ZodStringFormat",(t,e)=>{De.init(t,e),yj.init(t,e)}),Fz=P("ZodEmail",(t,e)=>{wh.init(t,e),Be.init(t,e)});var vj=P("ZodGUID",(t,e)=>{mh.init(t,e),Be.init(t,e)});var Tu=P("ZodUUID",(t,e)=>{fh.init(t,e),Be.init(t,e)});var Vz=P("ZodURL",(t,e)=>{vh.init(t,e),Be.init(t,e)});var Jz=P("ZodEmoji",(t,e)=>{Ch.init(t,e),Be.init(t,e)});var Zz=P("ZodNanoID",(t,e)=>{Ah.init(t,e),Be.init(t,e)});var Kz=P("ZodCUID",(t,e)=>{bh.init(t,e),Be.init(t,e)});var Qz=P("ZodCUID2",(t,e)=>{xh.init(t,e),Be.init(t,e)});var Yz=P("ZodULID",(t,e)=>{yh.init(t,e),Be.init(t,e)});var Xz=P("ZodXID",(t,e)=>{Ph.init(t,e),Be.init(t,e)});var eD=P("ZodKSUID",(t,e)=>{jh.init(t,e),Be.init(t,e)});var nD=P("ZodIPv4",(t,e)=>{Sh.init(t,e),Be.init(t,e)});var iD=P("ZodIPv6",(t,e)=>{Oh.init(t,e),Be.init(t,e)});var tD=P("ZodCIDRv4",(t,e)=>{Th.init(t,e),Be.init(t,e)});var aD=P("ZodCIDRv6",(t,e)=>{Mh.init(t,e),Be.init(t,e)});var rD=P("ZodBase64",(t,e)=>{kh.init(t,e),Be.init(t,e)});var sD=P("ZodBase64URL",(t,e)=>{Eh.init(t,e),Be.init(t,e)});var oD=P("ZodE164",(t,e)=>{qh.init(t,e),Be.init(t,e)});var lD=P("ZodJWT",(t,e)=>{_h.init(t,e),Be.init(t,e)});var Pj=P("ZodNumber",(t,e)=>{mu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(i,a,r)=>Bg(t,i,a,r),po(t,"ZodNumber",{gt(i,a){return this.check(bu(i,a))},gte(i,a){return this.check(ro(i,a))},min(i,a){return this.check(ro(i,a))},lt(i,a){return this.check(Au(i,a))},lte(i,a){return this.check(ao(i,a))},max(i,a){return this.check(ao(i,a))},int(i){return this.check(Cj(i))},safe(i){return this.check(Cj(i))},positive(i){return this.check(bu(0,i))},nonnegative(i){return this.check(ro(0,i))},negative(i){return this.check(Au(0,i))},nonpositive(i){return this.check(ao(0,i))},multipleOf(i,a){return this.check(xu(i,a))},step(i,a){return this.check(xu(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 qe(t){return Pg(Pj,t)}var uD=P("ZodNumberFormat",(t,e)=>{Hh.init(t,e),Pj.init(t,e)});function Cj(t){return jg(uD,t)}var cD=P("ZodBoolean",(t,e)=>{Rh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Fg(t,n,i,a)});function vn(t){return Sg(cD,t)}var pD=P("ZodNull",(t,e)=>{Ih.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Vg(t,n,i,a)});function jj(t){return Og(pD,t)}var dD=P("ZodUnknown",(t,e)=>{Wh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Zg(t,n,i,a)});function Fe(){return Tg(dD)}var hD=P("ZodNever",(t,e)=>{zh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Jg(t,n,i,a)});function gD(t){return Mg(hD,t)}var mD=P("ZodArray",(t,e)=>{Dh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>em(t,n,i,a),t.element=e.element,po(t,"ZodArray",{min(n,i){return this.check(Wr(n,i))},nonempty(n){return this.check(Wr(1,n))},max(n,i){return this.check(yu(n,i))},length(n,i){return this.check(Pu(n,i))},unwrap(){return this.element}})});function we(t,e){return _P(mD,t,e)}var Sj=P("ZodObject",(t,e)=>{jP.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>nm(t,n,i,a),fe.defineLazy(t,"shape",()=>e.shape),po(t,"ZodObject",{keyof(){return Xn(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:gD()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return fe.extend(this,n)},safeExtend(n){return fe.safeExtend(this,n)},merge(n){return fe.merge(this,n)},pick(n){return fe.pick(this,n)},omit(n){return fe.omit(this,n)},partial(...n){return fe.partial(ku,this,n[0])},required(...n){return fe.required(Mj,this,n[0])}})});function G(t,e){let n={type:"object",shape:t??{},...fe.normalizeParams(e)};return new Sj(n)}function $n(t,e){return new Sj({type:"object",shape:t,catchall:Fe(),...fe.normalizeParams(e)})}var Oj=P("ZodUnion",(t,e)=>{fu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>im(t,n,i,a),t.options=e.options});function Ne(t,e){return new Oj({type:"union",options:t,...fe.normalizeParams(e)})}var fD=P("ZodDiscriminatedUnion",(t,e)=>{Oj.init(t,e),Nh.init(t,e)});function Cm(t,e,n){return new fD({type:"union",options:e,discriminator:t,...fe.normalizeParams(n)})}var wD=P("ZodIntersection",(t,e)=>{Uh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>tm(t,n,i,a)});function Mu(t,e){return new wD({type:"intersection",left:t,right:e})}var Aj=P("ZodRecord",(t,e)=>{$h.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>am(t,n,i,a),t.keyType=e.keyType,t.valueType=e.valueType});function Ge(t,e,n){return!e||!e._zod?new Aj({type:"record",keyType:y(),valueType:t,...fe.normalizeParams(e)}):new Aj({type:"record",keyType:t,valueType:e,...fe.normalizeParams(n)})}var vm=P("ZodEnum",(t,e)=>{Lh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(i,a,r)=>Kg(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 vm({...e,checks:[],...fe.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 vm({...e,checks:[],...fe.normalizeParams(a),entries:r})}});function Xn(t,e){let n=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new vm({type:"enum",entries:n,...fe.normalizeParams(e)})}var vD=P("ZodLiteral",(t,e)=>{Bh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Qg(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 L(t,e){return new vD({type:"literal",values:Array.isArray(t)?t:[t],...fe.normalizeParams(e)})}var CD=P("ZodTransform",(t,e)=>{Fh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Xg(t,n,i,a),t._zod.parse=(n,i)=>{if(i.direction==="backward")throw new qr(t.constructor.name);n.addIssue=r=>{if(typeof r=="string")n.issues.push(fe.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(fe.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 Tj(t){return new CD({type:"transform",transform:t})}var ku=P("ZodOptional",(t,e)=>{wu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>ju(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function Ve(t){return new ku({type:"optional",innerType:t})}var AD=P("ZodExactOptional",(t,e)=>{Vh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>ju(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function bD(t){return new AD({type:"optional",innerType:t})}var xD=P("ZodNullable",(t,e)=>{Jh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>rm(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function bj(t){return new xD({type:"nullable",innerType:t})}var yD=P("ZodDefault",(t,e)=>{Zh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>om(t,n,i,a),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function PD(t,e){return new yD({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():fe.shallowClone(e)}})}var jD=P("ZodPrefault",(t,e)=>{Kh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>lm(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function SD(t,e){return new jD({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():fe.shallowClone(e)}})}var Mj=P("ZodNonOptional",(t,e)=>{Qh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>sm(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function OD(t,e){return new Mj({type:"nonoptional",innerType:t,...fe.normalizeParams(e)})}var TD=P("ZodCatch",(t,e)=>{Yh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>um(t,n,i,a),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function MD(t,e){return new TD({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}var kj=P("ZodPipe",(t,e)=>{vu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>cm(t,n,i,a),t.in=e.in,t.out=e.out});function xj(t,e){return new kj({type:"pipe",in:t,out:e})}var kD=P("ZodPreprocess",(t,e)=>{kj.init(t,e),SP.init(t,e)}),ED=P("ZodReadonly",(t,e)=>{Xh.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>pm(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function qD(t){return new ED({type:"readonly",innerType:t})}var Ej=P("ZodCustom",(t,e)=>{eg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Yg(t,n,i,a)});function qj(t,e){return Ng(Ej,t??(()=>!0),e)}function _D(t,e={}){return Ug(Ej,t,e)}function HD(t,e){return $g(t,e)}function Am(t,e){return new kD({type:"pipe",in:Tj(t),out:e})}xi(OP());var xm="2025-11-25";var _j=[xm,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Jt="io.modelcontextprotocol/related-task",qu="2.0",cn=qj(t=>t!==null&&(typeof t=="object"||typeof t=="function")),Hj=Ne([y(),qe().int()]),Rj=y(),Pne=$n({ttl:qe().optional(),pollInterval:qe().optional()}),RD=G({ttl:qe().optional()}),ID=G({taskId:y()}),ym=$n({progressToken:Hj.optional(),[Jt]:ID.optional()}),ji=G({_meta:ym.optional()}),ho=ji.extend({task:RD.optional()}),Ij=t=>ho.safeParse(t).success,Sn=G({method:y(),params:ji.loose().optional()}),qi=G({_meta:ym.optional()}),_i=G({method:y(),params:qi.loose().optional()}),On=$n({_meta:ym.optional()}),_u=Ne([y(),qe().int()]),Wj=G({jsonrpc:L(qu),id:_u,...Sn.shape}).strict(),Pm=t=>Wj.safeParse(t).success,zj=G({jsonrpc:L(qu),..._i.shape}).strict(),Dj=t=>zj.safeParse(t).success,jm=G({jsonrpc:L(qu),id:_u,result:On}).strict(),go=t=>jm.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 Sm=G({jsonrpc:L(qu),id:_u.optional(),error:G({code:qe().int(),message:y(),data:Fe().optional()})}).strict();var Gj=t=>Sm.safeParse(t).success;var Nj=Ne([Wj,zj,jm,Sm]),jne=Ne([jm,Sm]),Hu=On.strict(),WD=qi.extend({requestId:_u.optional(),reason:y().optional()}),Ru=_i.extend({method:L("notifications/cancelled"),params:WD}),zD=G({src:y(),mimeType:y().optional(),sizes:we(y()).optional(),theme:Xn(["light","dark"]).optional()}),mo=G({icons:we(zD).optional()}),Gr=G({name:y(),title:y().optional()}),Uj=Gr.extend({...Gr.shape,...mo.shape,version:y(),websiteUrl:y().optional(),description:y().optional()}),DD=Mu(G({applyDefaults:vn().optional()}),Ge(y(),Fe())),GD=Am(t=>t&&typeof t=="object"&&!Array.isArray(t)&&Object.keys(t).length===0?{form:{}}:t,Mu(G({form:DD.optional(),url:cn.optional()}),Ge(y(),Fe()).optional())),ND=$n({list:cn.optional(),cancel:cn.optional(),requests:$n({sampling:$n({createMessage:cn.optional()}).optional(),elicitation:$n({create:cn.optional()}).optional()}).optional()}),UD=$n({list:cn.optional(),cancel:cn.optional(),requests:$n({tools:$n({call:cn.optional()}).optional()}).optional()}),$D=G({experimental:Ge(y(),cn).optional(),sampling:G({context:cn.optional(),tools:cn.optional()}).optional(),elicitation:GD.optional(),roots:G({listChanged:vn().optional()}).optional(),tasks:ND.optional(),extensions:Ge(y(),cn).optional()}),LD=ji.extend({protocolVersion:y(),capabilities:$D,clientInfo:Uj}),Om=Sn.extend({method:L("initialize"),params:LD});var BD=G({experimental:Ge(y(),cn).optional(),logging:cn.optional(),completions:cn.optional(),prompts:G({listChanged:vn().optional()}).optional(),resources:G({subscribe:vn().optional(),listChanged:vn().optional()}).optional(),tools:G({listChanged:vn().optional()}).optional(),tasks:UD.optional(),extensions:Ge(y(),cn).optional()}),FD=On.extend({protocolVersion:y(),capabilities:BD,serverInfo:Uj,instructions:y().optional()}),Tm=_i.extend({method:L("notifications/initialized"),params:qi.optional()});var Iu=Sn.extend({method:L("ping"),params:ji.optional()}),VD=G({progress:qe(),total:Ve(qe()),message:Ve(y())}),JD=G({...qi.shape,...VD.shape,progressToken:Hj}),Wu=_i.extend({method:L("notifications/progress"),params:JD}),ZD=ji.extend({cursor:Rj.optional()}),fo=Sn.extend({params:ZD.optional()}),wo=On.extend({nextCursor:Rj.optional()}),KD=Xn(["working","input_required","completed","failed","cancelled"]),vo=G({taskId:y(),status:KD,ttl:Ne([qe(),jj()]),createdAt:y(),lastUpdatedAt:y(),pollInterval:Ve(qe()),statusMessage:Ve(y())}),Nr=On.extend({task:vo}),QD=qi.merge(vo),Co=_i.extend({method:L("notifications/tasks/status"),params:QD}),zu=Sn.extend({method:L("tasks/get"),params:ji.extend({taskId:y()})}),Du=On.merge(vo),Gu=Sn.extend({method:L("tasks/result"),params:ji.extend({taskId:y()})}),Sne=On.loose(),Nu=fo.extend({method:L("tasks/list")}),Uu=wo.extend({tasks:we(vo)}),$u=Sn.extend({method:L("tasks/cancel"),params:ji.extend({taskId:y()})}),$j=On.merge(vo),Lj=G({uri:y(),mimeType:Ve(y()),_meta:Ge(y(),Fe()).optional()}),Bj=Lj.extend({text:y()}),Mm=y().refine(t=>{try{return atob(t),!0}catch{return!1}},{message:"Invalid Base64 string"}),Fj=Lj.extend({blob:Mm}),Ao=Xn(["user","assistant"]),Ur=G({audience:we(Ao).optional(),priority:qe().min(0).max(1).optional(),lastModified:co.datetime({offset:!0}).optional()}),Vj=G({...Gr.shape,...mo.shape,uri:y(),description:Ve(y()),mimeType:Ve(y()),size:Ve(qe()),annotations:Ur.optional(),_meta:Ve($n({}))}),YD=G({...Gr.shape,...mo.shape,uriTemplate:y(),description:Ve(y()),mimeType:Ve(y()),annotations:Ur.optional(),_meta:Ve($n({}))}),Lu=fo.extend({method:L("resources/list")}),XD=wo.extend({resources:we(Vj)}),Bu=fo.extend({method:L("resources/templates/list")}),eG=wo.extend({resourceTemplates:we(YD)}),km=ji.extend({uri:y()}),nG=km,Fu=Sn.extend({method:L("resources/read"),params:nG}),iG=On.extend({contents:we(Ne([Bj,Fj]))}),tG=_i.extend({method:L("notifications/resources/list_changed"),params:qi.optional()}),aG=km,rG=Sn.extend({method:L("resources/subscribe"),params:aG}),sG=km,oG=Sn.extend({method:L("resources/unsubscribe"),params:sG}),lG=qi.extend({uri:y()}),uG=_i.extend({method:L("notifications/resources/updated"),params:lG}),cG=G({name:y(),description:Ve(y()),required:Ve(vn())}),pG=G({...Gr.shape,...mo.shape,description:Ve(y()),arguments:Ve(we(cG)),_meta:Ve($n({}))}),Vu=fo.extend({method:L("prompts/list")}),dG=wo.extend({prompts:we(pG)}),hG=ji.extend({name:y(),arguments:Ge(y(),y()).optional()}),Ju=Sn.extend({method:L("prompts/get"),params:hG}),Em=G({type:L("text"),text:y(),annotations:Ur.optional(),_meta:Ge(y(),Fe()).optional()}),qm=G({type:L("image"),data:Mm,mimeType:y(),annotations:Ur.optional(),_meta:Ge(y(),Fe()).optional()}),_m=G({type:L("audio"),data:Mm,mimeType:y(),annotations:Ur.optional(),_meta:Ge(y(),Fe()).optional()}),gG=G({type:L("tool_use"),name:y(),id:y(),input:Ge(y(),Fe()),_meta:Ge(y(),Fe()).optional()}),mG=G({type:L("resource"),resource:Ne([Bj,Fj]),annotations:Ur.optional(),_meta:Ge(y(),Fe()).optional()}),fG=Vj.extend({type:L("resource_link")}),Hm=Ne([Em,qm,_m,fG,mG]),wG=G({role:Ao,content:Hm}),vG=On.extend({description:y().optional(),messages:we(wG)}),CG=_i.extend({method:L("notifications/prompts/list_changed"),params:qi.optional()}),AG=G({title:y().optional(),readOnlyHint:vn().optional(),destructiveHint:vn().optional(),idempotentHint:vn().optional(),openWorldHint:vn().optional()}),bG=G({taskSupport:Xn(["required","optional","forbidden"]).optional()}),Jj=G({...Gr.shape,...mo.shape,description:y().optional(),inputSchema:G({type:L("object"),properties:Ge(y(),cn).optional(),required:we(y()).optional()}).catchall(Fe()),outputSchema:G({type:L("object"),properties:Ge(y(),cn).optional(),required:we(y()).optional()}).catchall(Fe()).optional(),annotations:AG.optional(),execution:bG.optional(),_meta:Ge(y(),Fe()).optional()}),Zu=fo.extend({method:L("tools/list")}),xG=wo.extend({tools:we(Jj)}),Ku=On.extend({content:we(Hm).default([]),structuredContent:Ge(y(),Fe()).optional(),isError:vn().optional()}),One=Ku.or(On.extend({toolResult:Fe()})),yG=ho.extend({name:y(),arguments:Ge(y(),Fe()).optional()}),$r=Sn.extend({method:L("tools/call"),params:yG}),PG=_i.extend({method:L("notifications/tools/list_changed"),params:qi.optional()}),Tne=G({autoRefresh:vn().default(!0),debounceMs:qe().int().nonnegative().default(300)}),bo=Xn(["debug","info","notice","warning","error","critical","alert","emergency"]),jG=ji.extend({level:bo}),Rm=Sn.extend({method:L("logging/setLevel"),params:jG}),SG=qi.extend({level:bo,logger:y().optional(),data:Fe()}),OG=_i.extend({method:L("notifications/message"),params:SG}),TG=G({name:y().optional()}),MG=G({hints:we(TG).optional(),costPriority:qe().min(0).max(1).optional(),speedPriority:qe().min(0).max(1).optional(),intelligencePriority:qe().min(0).max(1).optional()}),kG=G({mode:Xn(["auto","required","none"]).optional()}),EG=G({type:L("tool_result"),toolUseId:y().describe("The unique identifier for the corresponding tool call."),content:we(Hm).default([]),structuredContent:G({}).loose().optional(),isError:vn().optional(),_meta:Ge(y(),Fe()).optional()}),qG=Cm("type",[Em,qm,_m]),Eu=Cm("type",[Em,qm,_m,gG,EG]),_G=G({role:Ao,content:Ne([Eu,we(Eu)]),_meta:Ge(y(),Fe()).optional()}),HG=ho.extend({messages:we(_G),modelPreferences:MG.optional(),systemPrompt:y().optional(),includeContext:Xn(["none","thisServer","allServers"]).optional(),temperature:qe().optional(),maxTokens:qe().int(),stopSequences:we(y()).optional(),metadata:cn.optional(),tools:we(Jj).optional(),toolChoice:kG.optional()}),RG=Sn.extend({method:L("sampling/createMessage"),params:HG}),xo=On.extend({model:y(),stopReason:Ve(Xn(["endTurn","stopSequence","maxTokens"]).or(y())),role:Ao,content:qG}),Im=On.extend({model:y(),stopReason:Ve(Xn(["endTurn","stopSequence","maxTokens","toolUse"]).or(y())),role:Ao,content:Ne([Eu,we(Eu)])}),IG=G({type:L("boolean"),title:y().optional(),description:y().optional(),default:vn().optional()}),WG=G({type:L("string"),title:y().optional(),description:y().optional(),minLength:qe().optional(),maxLength:qe().optional(),format:Xn(["email","uri","date","date-time"]).optional(),default:y().optional()}),zG=G({type:Xn(["number","integer"]),title:y().optional(),description:y().optional(),minimum:qe().optional(),maximum:qe().optional(),default:qe().optional()}),DG=G({type:L("string"),title:y().optional(),description:y().optional(),enum:we(y()),default:y().optional()}),GG=G({type:L("string"),title:y().optional(),description:y().optional(),oneOf:we(G({const:y(),title:y()})),default:y().optional()}),NG=G({type:L("string"),title:y().optional(),description:y().optional(),enum:we(y()),enumNames:we(y()).optional(),default:y().optional()}),UG=Ne([DG,GG]),$G=G({type:L("array"),title:y().optional(),description:y().optional(),minItems:qe().optional(),maxItems:qe().optional(),items:G({type:L("string"),enum:we(y())}),default:we(y()).optional()}),LG=G({type:L("array"),title:y().optional(),description:y().optional(),minItems:qe().optional(),maxItems:qe().optional(),items:G({anyOf:we(G({const:y(),title:y()}))}),default:we(y()).optional()}),BG=Ne([$G,LG]),FG=Ne([NG,UG,BG]),VG=Ne([FG,IG,WG,zG]),JG=ho.extend({mode:L("form").optional(),message:y(),requestedSchema:G({type:L("object"),properties:Ge(y(),VG),required:we(y()).optional()})}),ZG=ho.extend({mode:L("url"),message:y(),elicitationId:y(),url:y().url()}),KG=Ne([JG,ZG]),QG=Sn.extend({method:L("elicitation/create"),params:KG}),YG=qi.extend({elicitationId:y()}),XG=_i.extend({method:L("notifications/elicitation/complete"),params:YG}),Lr=On.extend({action:Xn(["accept","decline","cancel"]),content:Am(t=>t===null?void 0:t,Ge(y(),Ne([y(),qe(),vn(),we(y())])).optional())}),eN=G({type:L("ref/resource"),uri:y()});var nN=G({type:L("ref/prompt"),name:y()}),iN=ji.extend({ref:Ne([nN,eN]),argument:G({name:y(),value:y()}),context:G({arguments:Ge(y(),y()).optional()}).optional()}),Qu=Sn.extend({method:L("completion/complete"),params:iN});function Zj(t){if(t.params.ref.type!=="ref/prompt")throw new TypeError(`Expected CompleteRequestPrompt, but got ${t.params.ref.type}`)}function Kj(t){if(t.params.ref.type!=="ref/resource")throw new TypeError(`Expected CompleteRequestResourceTemplate, but got ${t.params.ref.type}`)}var tN=On.extend({completion:$n({values:we(y()).max(100),total:Ve(qe().int()),hasMore:Ve(vn())})}),aN=G({uri:y().startsWith("file://"),name:y().optional(),_meta:Ge(y(),Fe()).optional()}),rN=Sn.extend({method:L("roots/list"),params:ji.optional()}),Wm=On.extend({roots:we(aN)}),sN=_i.extend({method:L("notifications/roots/list_changed"),params:qi.optional()}),Mne=Ne([Iu,Om,Qu,Rm,Ju,Vu,Lu,Bu,Fu,rG,oG,$r,Zu,zu,Gu,Nu,$u]),kne=Ne([Ru,Wu,Tm,sN,Co]),Ene=Ne([Hu,xo,Im,Lr,Wm,Du,Uu,Nr]),qne=Ne([Iu,RG,QG,rN,zu,Gu,Nu,$u]),_ne=Ne([Ru,Wu,OG,uG,tG,PG,CG,Co,XG]),Hne=Ne([Hu,FD,tN,vG,dG,XD,eG,iG,Ku,xG,Du,Uu,Nr]),U=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===F.UrlElicitationRequired&&i){let a=i;if(a.elicitations)return new bm(a.elicitations,n)}return new t(e,n,i)}},bm=class extends U{constructor(e,n=`URL elicitation${e.length>1?"s":""} required`){super(F.UrlElicitationRequired,n,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function Zt(t){return t==="completed"||t==="failed"||t==="cancelled"}var Yj=Symbol("Let zodToJsonSchema decide on which parser to use");var Qj={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"},Xj=t=>typeof t=="string"?{...Qj,name:t}:{...Qj,...t};var eS=t=>{let e=Xj(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 zm(t,e,n,i){i?.errorMessages&&n&&(t.errorMessage={...t.errorMessage,[e]:n})}function ve(t,e,n,i,a){t[e]=n,zm(t,e,i,a)}var Yu=(t,e)=>{let n=0;for(;nQ(t.innerType._def,e);function Dm(t,e,n){let i=n??e.dateStrategy;if(Array.isArray(i))return{anyOf:i.map((a,r)=>Dm(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 oN(t,e)}}var oN=(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":ve(n,"minimum",i.value,i.message,e);break;case"max":ve(n,"maximum",i.value,i.message,e);break}return n};function rS(t,e){return{...Q(t.innerType._def,e),default:t.defaultValue()}}function sS(t,e){return e.effectStrategy==="input"?Q(t.schema._def,e):Ze(e)}function oS(t){return{type:"string",enum:Array.from(t.values)}}var lN=t=>"type"in t&&t.type==="string"?!1:"allOf"in t;function lS(t,e){let n=[Q(t.left._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),Q(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(lN(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 uS(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 Gm,Li={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:()=>(Gm===void 0&&(Gm=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Gm),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 ec(t,e){let n={type:"string"};if(t.checks)for(let i of t.checks)switch(i.kind){case"min":ve(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,i.value):i.value,i.message,e);break;case"max":ve(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":Bi(n,"email",i.message,e);break;case"format:idn-email":Bi(n,"idn-email",i.message,e);break;case"pattern:zod":Ln(n,Li.email,i.message,e);break}break;case"url":Bi(n,"uri",i.message,e);break;case"uuid":Bi(n,"uuid",i.message,e);break;case"regex":Ln(n,i.regex,i.message,e);break;case"cuid":Ln(n,Li.cuid,i.message,e);break;case"cuid2":Ln(n,Li.cuid2,i.message,e);break;case"startsWith":Ln(n,RegExp(`^${Nm(i.value,e)}`),i.message,e);break;case"endsWith":Ln(n,RegExp(`${Nm(i.value,e)}$`),i.message,e);break;case"datetime":Bi(n,"date-time",i.message,e);break;case"date":Bi(n,"date",i.message,e);break;case"time":Bi(n,"time",i.message,e);break;case"duration":Bi(n,"duration",i.message,e);break;case"length":ve(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,i.value):i.value,i.message,e),ve(n,"maxLength",typeof n.maxLength=="number"?Math.min(n.maxLength,i.value):i.value,i.message,e);break;case"includes":{Ln(n,RegExp(Nm(i.value,e)),i.message,e);break}case"ip":{i.version!=="v6"&&Bi(n,"ipv4",i.message,e),i.version!=="v4"&&Bi(n,"ipv6",i.message,e);break}case"base64url":Ln(n,Li.base64url,i.message,e);break;case"jwt":Ln(n,Li.jwt,i.message,e);break;case"cidr":{i.version!=="v6"&&Ln(n,Li.ipv4Cidr,i.message,e),i.version!=="v4"&&Ln(n,Li.ipv6Cidr,i.message,e);break}case"emoji":Ln(n,Li.emoji(),i.message,e);break;case"ulid":{Ln(n,Li.ulid,i.message,e);break}case"base64":{switch(e.base64Strategy){case"format:binary":{Bi(n,"binary",i.message,e);break}case"contentEncoding:base64":{ve(n,"contentEncoding","base64",i.message,e);break}case"pattern:zod":{Ln(n,Li.base64,i.message,e);break}}break}case"nanoid":Ln(n,Li.nanoid,i.message,e);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return n}function Nm(t,e){return e.patternStrategy==="escape"?cN(t):t}var uN=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function cN(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}}})):ve(t,"format",e,n,i)}function Ln(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:cS(e,i),...n&&i.errorMessages&&{errorMessage:{pattern:n}}})):ve(t,"pattern",cS(e,i),n,i)}function cS(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;l1&&t.reused==="ref"&&r(s)}t.external&&(t.sharedDefsExtractedFor=t.external)}function lS(t){let e=t.anyOf;if(!Array.isArray(e)||e.length===0||t.type!==void 0)return;let n=[];for(let i of e){if(!i||typeof i!="object")return;lS(i);let a=Object.keys(i);if(a.length!==1||a[0]!=="type")return;let r=i.type;for(let s of Array.isArray(r)?r:[r]){if(typeof s!="string")return;n.includes(s)||n.push(s)}}delete t.anyOf,t.type=n.length===1?n[0]:n}var uS=new Set(["type","properties","required","additionalProperties"]),sS=["oneOf","anyOf"];function oS(t){let e=t.additionalProperties;return e===void 0||e===!1||typeof e!="object"||e===null?null:Object.keys(e).length?e:null}function Ym(t){let e=[];for(let r of t){if(typeof r!="object"||r.type!=="object")return null;for(let s in r)if(!uS.has(s))return null;e.push(r)}let n={},i=new Set;for(let r of e){for(let s in r.properties){if(Object.prototype.hasOwnProperty.call(n,s))continue;let o=[];for(let c of e){let u=c.properties?.[s]??oS(c);u!=null&&(o.some(p=>JSON.stringify(p)===JSON.stringify(u))||o.push(u))}let l=o.length===1?o[0]:Ym(o)??{allOf:o};ii(n,s,l)}for(let s of r.required??[])i.add(s)}let a={type:"object",properties:n};if(i.size&&(a.required=[...i]),e.every(r=>r.additionalProperties===!1))a.additionalProperties=!1;else{let r=[];for(let s of e){let o=oS(s);o&&!r.some(l=>JSON.stringify(l)===JSON.stringify(o))&&r.push(o)}r.length===1?a.additionalProperties=r[0]:r.length>1&&(a.additionalProperties={allOf:r})}return a}function CG(t){let e=t.allOf;if(!Array.isArray(e)||e.length<2)return;for(let a of uS)if(a in t)return;let n=e.filter(a=>sS.some(r=>Array.isArray(a[r]))),i=null;if(!n.length)i=Ym(e);else{let a=n[0],r=sS.find(l=>Array.isArray(a[l]));if(Object.keys(a).length!==1)return;let s=e.filter(l=>l!==a),o=a[r].map(l=>Ym([...s,l]));if(o.some(l=>!l))return;i={[r]:o}}i&&(delete t.allOf,So(t,i))}function Mo(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 c=l.def??l.schema,u={...c},p=l.ref;if(l.ref=null,p){i(p);let g=t.seen.get(p),d=g.schema;if(d.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(d)):So(c,d),So(c,u),o._zod.parent===p)for(let w in c)w==="$ref"||w==="allOf"||w in u||delete c[w];if(d.$ref&&g.def)for(let w in c)w==="$ref"||w==="allOf"||w in g.def&&JSON.stringify(c[w])===JSON.stringify(g.def[w])&&delete c[w]}let h=o._zod.parent;if(h&&h!==p){i(h);let g=t.seen.get(h);if(g?.schema.$ref&&(c.$ref=g.schema.$ref,g.def))for(let d in c)d==="$ref"||d==="allOf"||d in g.def&&JSON.stringify(c[d])===JSON.stringify(g.def[d])&&delete c[d]}t.override({zodSchema:o,jsonSchema:c,path:l.path??[]})};if(!t.external||t.sharedEmitDoneFor!==t.external){for(let o of[...t.seen.entries()].reverse())i(o[0]);if(t.target!=="openapi-3.0")for(let o of t.seen.entries())lS(o[1].def??o[1].schema);for(let o of t.deferred)o();if(t.intersections.length){let o=new Map;for(let l of t.seen.values())for(let c of[l.schema,l.def]){let u=c?.allOf;if(!Array.isArray(u))continue;let p=o.get(u);p?p.push(c):o.set(u,[c])}for(let l of t.intersections)for(let c of o.get(l)??[])CG(c)}}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)}So(a,n.defId?n.schema: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??{};if(!t.external||t.sharedEmitDoneFor!==t.external)for(let o of t.seen.entries()){let l=o[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,ii(s,l.defId,l.def))}t.external&&(t.sharedEmitDoneFor=t.external),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:Oo(e,"input",t.processors),output:Oo(e,"output",t.processors)}},enumerable:!1,writable:!1}),o}catch{throw new Error("Error converting schema to JSON.")}}function Ln(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 Ln(i.element,n);if(i.type==="set")return Ln(i.valueType,n);if(i.type==="lazy")return Ln(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"||i.type==="catch")return Ln(i.innerType,n);if(i.type==="intersection")return Ln(i.left,n)||Ln(i.right,n);if(i.type==="record"||i.type==="map")return Ln(i.keyType,n)||Ln(i.valueType,n);if(i.type==="pipe")return t._zod.traits.has("$ZodCodec")?!0:Ln(i.in,n)||Ln(i.out,n);if(i.type==="object"){for(let a in i.shape)if(Ln(i.shape[a],n))return!0;return!1}if(i.type==="union"){for(let a of i.options)if(Ln(a,n))return!0;return!1}if(i.type==="tuple"){for(let a of i.items)if(Ln(a,n))return!0;return!!(i.rest&&Ln(i.rest,n))}return!1}var cS=(t,e={})=>n=>{let i=To({...n,processors:e});return ze(t,i),ko(i,t),Mo(i,t)},Oo=(t,e,n={})=>i=>{let{libraryOptions:a,target:r}=i??{},s=To({...a??{},target:r,io:e,processors:n});return ze(t,s),ko(s,t),Mo(s,t)};var is=(t,e,n)=>{(t[e]===void 0||n>t[e])&&(t[e]=n)},ts=(t,e,n)=>{(t[e]===void 0||n{is(t,"minimum",e),ts(t,"maximum",e)},fS=(t,e)=>{t.multipleOf??(t.multipleOf=[]),t.multipleOf.includes(e)||t.multipleOf.push(e)},wS=(t,e)=>{t.patterns??(t.patterns=new Set),t.patterns.add(e)},vS=(t,e)=>{t.mime=t.mime?t.mime.filter(n=>e.includes(n)):[...e]},CS=(t,e)=>{t.format=e,e.includes("int")&&(t.isInt=!0)},dS=(t,e)=>is(t,"minimum",e.minimum),hS=(t,e)=>ts(t,"maximum",e.maximum),gS=t=>(e,n)=>{CS(e,n.format);let[i,a]=t[n.format];is(e,"minimum",i),ts(e,"maximum",a)},AG={greater_than:(t,e)=>is(t,e.inclusive?"minimum":"exclusiveMinimum",e.value),less_than:(t,e)=>ts(t,e.inclusive?"maximum":"exclusiveMaximum",e.value),multiple_of:(t,e)=>fS(t,e.value),number_format:gS(lo),bigint_format:gS(Wu),min_length:dS,max_length:hS,length_equals:(t,e)=>pS(t,e.length),min_size:dS,max_size:hS,size_equals:(t,e)=>pS(t,e.size),string_format:(t,e)=>{CS(t,e.format),e.pattern&&wS(t,e.pattern),(e.format==="base64"||e.format==="base64url")&&(t.contentEncoding=e.format),(e.local||e.precision===-1)&&(t.laxFormat=!0)},mime_type:(t,e)=>vS(t,e.mime)};function ri(t){let e={},n=t._zod.def,i=t._zod.traits.has("$ZodCheck")?[t,...n.checks??[]]:n.checks??[];for(let r of i)AG[r._zod.def.check]?.(e,r._zod.def);let a=t._zod.bag;a.minimum!==void 0&&is(e,"minimum",a.minimum),a.exclusiveMinimum!==void 0&&is(e,"exclusiveMinimum",a.exclusiveMinimum),a.maximum!==void 0&&ts(e,"maximum",a.maximum),a.exclusiveMaximum!==void 0&&ts(e,"exclusiveMaximum",a.exclusiveMaximum),a.multipleOf!==void 0&&fS(e,a.multipleOf),a.format!==void 0&&(e.format??(e.format=a.format),a.format.includes("int")&&(e.isInt=!0)),a.mime&&vS(e,a.mime);for(let r of a.patterns??[])wS(e,r);return e}var bG={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},xG=new Map([[_g,nj],[Vu,ij]]),AS=t=>xG.get(t)??t,nf=(t,e,n,i)=>{let a=n;a.type="string";let{minimum:r,maximum:s,format:o,patterns:l,contentEncoding:c,laxFormat:u}=ri(t);if(typeof r=="number"&&(a.minLength=r),typeof s=="number"&&(a.maxLength=s),o&&(a.format=bG[o]??o,a.format===""&&delete a.format,(o==="time"||u)&&delete a.format),c&&(a.contentEncoding=c),l&&l.size>0){let p=[...l].map(AS);p.length===1?a.pattern=p[0].source:p.length>1&&(a.allOf=[...p.map(h=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},tf=(t,e,n,i)=>{let a=n,{minimum:r,maximum:s,multipleOf:o,exclusiveMaximum:l,exclusiveMinimum:c,isInt:u}=ri(t);a.type=u?"integer":"number";let p=typeof c=="number"&&c>=(r??Number.NEGATIVE_INFINITY),h=typeof l=="number"&&l<=(s??Number.POSITIVE_INFINITY),g=e.target==="draft-04"||e.target==="openapi-3.0";if(p?g?(a.minimum=c,a.exclusiveMinimum=!0):a.exclusiveMinimum=c:typeof r=="number"&&(a.minimum=r),h?g?(a.maximum=l,a.exclusiveMaximum=!0):a.exclusiveMaximum=l:typeof s=="number"&&(a.maximum=s),o){let d=new Set;for(let f of o)Number.isFinite(f)&&f!==0?d.add(Math.abs(f)):vn(t,e,a,i,`A multipleOf divisor of ${f} cannot be represented in JSON Schema`);let[m,...w]=d;m!==void 0&&(a.multipleOf=m),w.length&&(a.allOf=[...a.allOf??[],...w.map(f=>({multipleOf:f}))])}},af=(t,e,n,i)=>{n.type="boolean"},bS=(t,e,n,i)=>{vn(t,e,n,i,"BigInt cannot be represented in JSON Schema")},xS=(t,e,n,i)=>{vn(t,e,n,i,"Symbols cannot be represented in JSON Schema")},rf=(t,e,n,i)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},yS=(t,e,n,i)=>{vn(t,e,n,i,"Undefined cannot be represented in JSON Schema")},PS=(t,e,n,i)=>{vn(t,e,n,i,"Void cannot be represented in JSON Schema")},sf=(t,e,n,i)=>{n.not={}},jS=(t,e,n,i)=>{},of=(t,e,n,i)=>{},SS=(t,e,n,i)=>{vn(t,e,n,i,"Date cannot be represented in JSON Schema")},lf=(t,e,n,i)=>{let a=t._zod.def,r=Jr(a.entries);if(r.length===0){n.not={};return}r.every(s=>typeof s=="number")&&(n.type="number"),r.every(s=>typeof s=="string")&&(n.type="string"),n.enum=r},uf=(t,e,n,i)=>{let a=t._zod.def;if(a.values.length===0){n.not={};return}let r=[];for(let s of a.values)if(s===void 0){if(vn(t,e,n,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof s=="bigint"){if(vn(t,e,n,i,"BigInt literals cannot be represented in JSON Schema"))return;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},OS=(t,e,n,i)=>{vn(t,e,n,i,"NaN cannot be represented in JSON Schema")},TS=(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},kS=(t,e,n,i)=>{let a=n;a.type="string",a.format="binary",a.contentEncoding="binary";let{minimum:r,maximum:s,mime:o}=ri(t);r!==void 0&&(a.minLength=r),s!==void 0&&(a.maxLength=s),o&&(o.length===0?a.not={}:o.length===1?a.contentMediaType=o[0]:a.anyOf=o.map(l=>({contentMediaType:l})))},MS=(t,e,n,i)=>{n.type="boolean"},cf=(t,e,n,i)=>{vn(t,e,n,i,"Custom types cannot be represented in JSON Schema")},ES=(t,e,n,i)=>{vn(t,e,n,i,"Function types cannot be represented in JSON Schema")},pf=(t,e,n,i)=>{vn(t,e,n,i,"Transforms cannot be represented in JSON Schema")},qS=(t,e,n,i)=>{vn(t,e,n,i,"Map cannot be represented in JSON Schema")},_S=(t,e,n,i)=>{vn(t,e,n,i,"Set cannot be represented in JSON Schema")},df=(t,e,n,i)=>{let a=n,r=t._zod.def,{minimum:s,maximum:o}=ri(t);typeof s=="number"&&(a.minItems=s),typeof o=="number"&&(a.maxItems=o),a.type="array",a.items=ze(r.element,e,{...i,path:[...i.path,"items"]})};function Eo(t){let e=t._zod.def;return e.type==="pipe"&&e.in._zod.traits.has("$ZodTransform")?Eo(e.out):e.type==="catch"?Eo(e.innerType):t._zod.optin}var hf=(t,e,n,i)=>{let a=n,r=t._zod.def,s=r.shape;if(Object.getOwnPropertySymbols(s).length&&vn(t,e,a,i,"Symbol keys cannot be represented in JSON Schema"))return;a.type="object",a.properties={};for(let c in s)ii(a.properties,c,ze(s[c],e,{...i,path:[...i.path,"properties",c]}));let l=[];for(let c of Object.keys(s)){let u=r.shape[c];(e.io==="input"?Eo(u)===void 0:u._zod.optout===void 0)&&l.push(c)}l.length>0&&(a.required=l),r.catchall?._zod.def.type==="never"?a.additionalProperties=!1:r.catchall?r.catchall&&(a.additionalProperties=ze(r.catchall,e,{...i,path:[...i.path,"additionalProperties"]})):e.io==="output"&&(a.additionalProperties=!1)},gf=(t,e,n,i)=>{let a=t._zod.def,r=a.inclusive===!1,s=a.options.map((o,l)=>ze(o,e,{...i,path:[...i.path,r?"oneOf":"anyOf",l]}));r?n.oneOf=s:n.anyOf=s},mf=(t,e,n,i)=>{let a=t._zod.def,r=ze(a.left,e,{...i,path:[...i.path,"allOf",0]}),s=ze(a.right,e,{...i,path:[...i.path,"allOf",1]}),o=c=>"allOf"in c&&Object.keys(c).length===1,l=[...o(r)?r.allOf:[r],...o(s)?s.allOf:[s]];n.allOf=l,e.intersections.push(l)},HS=(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((m,w)=>ze(m,e,{...i,path:[...i.path,s,w]})),c=r.rest?ze(r.rest,e,{...i,path:[...i.path,o,...e.target==="openapi-3.0"?[r.items.length]:[]]}):null,u=r.items.length;for(;u>0;){let m=r.items[u-1];if(!(e.io==="input"?Eo(m)!==void 0:m._zod.optout==="optional"))break;u--}let p=r.items.length,h=!r.rest;e.target==="draft-2020-12"?(a.prefixItems=l,h?a.items=!1:c&&(a.items=c),u>0&&(a.minItems=u),h&&(a.maxItems=p)):e.target==="openapi-3.0"?(a.items={anyOf:l},c&&a.items.anyOf.push(c),u>0&&(a.minItems=u),h&&(a.maxItems=p)):(a.items=l,h?a.additionalItems=!1:c&&(a.additionalItems=c),u>0&&(a.minItems=u),h&&(a.maxItems=p));let{minimum:g,maximum:d}=ri(t);typeof g=="number"&&(a.minItems=g),typeof d=="number"&&(a.maxItems=d)};function Xm(t,e,n){if(e.$ref){if(n.has(e))return e;n.add(e);let d=t.get(e)?.def;if(!d)return e;let m=Xm(t,d,n);return m===d?e:m}for(let d of["anyOf","oneOf"]){let m=e[d];if(!Array.isArray(m))continue;let w=m.map(f=>Xm(t,f,n));w.some((f,A)=>f!==m[A])&&(e={...e,[d]:w})}let i=Array.isArray(e.type)?e.type:[e.type],a=!i.includes("string")&&i.some(d=>d==="number"||d==="integer"),r=e.enum??(e.const!==void 0?[e.const]:void 0);if(!a&&!r?.some(d=>typeof d=="number"))return e;let{minimum:s,maximum:o,exclusiveMinimum:l,exclusiveMaximum:c,multipleOf:u,format:p,id:h,...g}=e;return g.enum?g.enum=g.enum.map(d=>typeof d=="number"?String(d):d):typeof g.const=="number"&&(g.const=String(g.const)),a&&(g.type="string",r||(g.pattern=(i.includes("number")?Co:dg).source)),g}var ef=new WeakMap;function yG(t){let e=new Map;for(let i of t.seen.values())i.def&&!e.has(i.schema)&&e.set(i.schema,i);let n=new Map;for(let i of ef.get(t)??[]){let a=t.seen.get(i),r=(a?.def??a?.schema)?.propertyNames;if(!r||r===!0||n.has(r))continue;let s=Xm(e,r,new Set);s!==r&&n.set(r,s)}if(n.size)for(let i of t.seen.values())for(let a of[i.schema,i.def]){let r=a&&n.get(a.propertyNames);r&&(a.propertyNames=r)}}var ff=(t,e,n,i)=>{let a=n,r=t._zod.def;a.type="object";let s=r.keyType,o=ri(s).patterns;if(r.mode==="loose"&&o&&o.size>0){let u=ze(r.valueType,e,{...i,path:[...i.path,"patternProperties","*"]});a.patternProperties={};for(let p of o)ii(a.patternProperties,AS(p).source,u)}else{if(e.target==="draft-07"||e.target==="draft-2020-12"){a.propertyNames=ze(r.keyType,e,{...i,path:[...i.path,"propertyNames"]});let u=ef.get(e);u||(u=[],ef.set(e,u),e.deferred.push(()=>yG(e))),u.push(t)}a.additionalProperties=ze(r.valueType,e,{...i,path:[...i.path,"additionalProperties"]})}let l=s._zod.values,c=e.io==="input"&&Eo(r.valueType)!==void 0;if(l&&!r.partial&&!c){let u=[...l].filter(p=>typeof p=="string"||typeof p=="number");u.length>0&&(a.required=u.map(String))}},wf=(t,e,n,i)=>{let a=t._zod.def,r=ze(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"}]},vf=(t,e,n,i)=>{let a=t._zod.def;ze(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},Cf=Symbol();function WS(t,e,n,i,a){let r=!1,s=JSON.stringify(t,(o,l)=>typeof l!="bigint"?l:(r=!0,null));return r?(vn(e,n,i,a,"BigInt defaults cannot be represented in JSON Schema"),Cf):JSON.parse(s)}var Af=(t,e,n,i)=>{let a=t._zod.def;ze(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType;let s=WS(a.defaultValue,t,e,n,i);s!==Cf&&(n.default=s)},bf=(t,e,n,i)=>{let a=t._zod.def;ze(a.innerType,e,i);let r=e.seen.get(t);if(r.ref=a.innerType,e.io!=="input")return;let s=WS(a.defaultValue,t,e,n,i);s!==Cf&&(n._prefault=s)},xf=(t,e,n,i)=>{let a=t._zod.def;ze(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType;let s;try{s=a.catchValue(void 0)}catch{vn(t,e,n,i,"Dynamic catch values are not supported in JSON Schema");return}n.default=s},yf=(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;ze(s,e,i);let o=e.seen.get(t);o.ref=s},Pf=(t,e,n,i)=>{let a=t._zod.def;ze(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType,n.readOnly=!0},RS=(t,e,n,i)=>{let a=t._zod.def;ze(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},pc=(t,e,n,i)=>{let a=t._zod.def;ze(a.innerType,e,i);let r=e.seen.get(t);r.ref=a.innerType},IS=(t,e,n,i)=>{let a=t._zod.innerType;ze(a,e,i);let r=e.seen.get(t);r.ref=a},mS={string:nf,number:tf,boolean:af,bigint:bS,symbol:xS,null:rf,undefined:yS,void:PS,never:sf,any:jS,unknown:of,date:SS,enum:lf,literal:uf,nan:OS,template_literal:TS,file:kS,success:MS,custom:cf,function:ES,transform:pf,map:qS,set:_S,array:df,object:hf,union:gf,intersection:mf,tuple:HS,record:ff,nullable:wf,nonoptional:vf,default:Af,prefault:bf,catch:xf,pipe:yf,readonly:Pf,promise:RS,optional:pc,lazy:IS};function jf(t,e){if("_idmap"in t){let i=t,a=To({...e,processors:mS}),r={};for(let l of i._idmap.entries()){let[c,u]=l;ze(u,a)}let s={},o={registry:i,uri:e?.uri,defs:r};a.external=o;for(let l of i._idmap.entries()){let[c,u]=l;ko(a,u),ii(s,c,Mo(a,u))}if(Object.keys(r).length>0){let l=a.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[l]:r}}return{schemas:s}}let n=To({...e,processors:mS});return ze(t,n),ko(n,t),Mo(n,t)}var fN=P("ZodMiniType",(t,e)=>{if(!t._zod)throw new Error("Uninitialized schema in ZodMiniType.");Ie.init(t,e),t.def=e,t.type=e.type},{get with(){return this.check},set with(t){wt(this,"with",t)},parse(t,e){return lg(this,t,e,{callee:this.parse})},parseAsync(t,e){return ug(this,t,e,{callee:this.parseAsync})},safeParse(t,e){return fo(this,t,e)},safeParseAsync(t,e){return vo(this,t,e)},check(...t){let e=this.def;return this.clone({...e,checks:[...e.checks??[],...t.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]},{parent:!0})},clone(t,e){return ti(this,t,e)},brand(){return this},register(t,e){return t.add(this,e),this},apply(t,...e){return e.length===0?t(this):t(this,...e)}});var wN=P("ZodMiniObject",(t,e)=>{Bg.init(t,e),fN.init(t,e),ag(t,"shape",n=>n._zod.def.shape,!1)});function Sf(t,e){let n={type:"object",shape:t??{},...K(e)};return new wN(n)}function Ct(t){return!!t._zod}function Ya(t){let e=Object.values(t);if(e.length===0)return Sf({});let n=e.every(Ct),i=e.every(a=>!Ct(a));if(n)return Sf(t);if(i)return $h(t);throw new Error("Mixed Zod versions detected in object shape.")}function ra(t,e){return Ct(t)?fo(t,e):t.safeParse(e)}async function dc(t,e){return Ct(t)?await vo(t,e):await t.safeParseAsync(e)}function sa(t){if(!t)return;let e;if(Ct(t)?e=t._zod?.def?.shape:e=t.shape,!!e){if(typeof e=="function")try{return e()}catch{return}return e}}function as(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 Ya(t)}}if(Ct(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 CN(t){return t.length===0?"object root":t.reduce((e,n,i)=>i===0?String(n):typeof n=="number"?`${e}[${n}]`:`${e}.${n}`,"")}function hc(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 ${CN(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 DS(t){return t.description}function GS(t){if(Ct(t))return t._zod?.def?.type==="optional";let e=t;return typeof t.isOptional=="function"?t.isOptional():e._def?.typeName==="ZodOptional"}function rs(t){if(Ct(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 NS=new WeakSet([Object.prototype,Error.prototype]);function gc(t,e,n){Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get(){let i=n(this);return Object.defineProperty(this,e,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,e,{value:i,configurable:!0,writable:!0})}})}var SN=(t,e)=>{TP.init(t,e),t.name="ZodError";let n=Object.getPrototypeOf(t);NS.has(n)||(NS.add(n),gc(n,"format",i=>a=>MP(i,a)),gc(n,"flatten",i=>a=>kP(i,a)),gc(n,"addIssue",i=>a=>{i.issues.push(a),i.message=JSON.stringify(i.issues,Kr,2)}),gc(n,"addIssues",i=>a=>{i.issues.push(...a),i.message=JSON.stringify(i.issues,Kr,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))};var Ti=P("ZodError",SN,void 0,{Parent:Error});var US=ho(Ti),$S=go(Ti),BS=mo(Ti),LS=wo(Ti),FS=qP(Ti),VS=_P(Ti),JS=HP(Ti),KS=WP(Ti),ZS=RP(Ti),QS=IP(Ti),YS=zP(Ti),XS=DP(Ti);function TN(){ai.localeError||Oi(nS())}function fc(){ai.memoizer||Oi({memoizer:eS()})}var Je=P("ZodType",(t,e)=>(TN(),Ie.init(t,e),t.def=e,t.type=e.type,t),{check(...t){let e=this.def;return this.clone(X.mergeDefs(e,{checks:[...e.checks??[],...t.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...t){return this.check(...t)},clone(t,e){return ti(this,t,e)},brand(){return this},register(t,e){return t.add(this,e),this},refine(t,e){return this.check(wU(t,e))},superRefine(t,e){return this.check(vU(t,e))},overwrite(t){return this.check(aa(t))},optional(){return Ve(this)},exactOptional(){return rU(this)},nullable(){return iO(this)},nullish(){return Ve(iO(this))},nonoptional(t){return pU(this,t)},array(){return fe(this)},or(t){return $e([this,t])},and(t){return wc(this,t)},transform(t){return tO(this,uO(t))},default(t){return lU(this,t)},prefault(t){return cU(this,t)},catch(t){return hU(this,t)},pipe(t){return tO(this,t)},readonly(){return fU(this)},describe(t){let e=this.clone();return Za.add(e,{description:t}),e},meta(...t){if(t.length===0)return Za.get(this);let e=this.clone();return Za.add(e,t[0]),e},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(t,...e){return e.length===0?t(this):t(this,...e)},get"~standard"(){return X.hide(this,"~standard",{...wg(this),jsonSchema:{input:Oo(this,"input"),output:Oo(this,"output")}})},set"~standard"(t){X.own(this,"~standard",t)},parse:function t(e,n){return US(this,e,n,{callee:t})},parseAsync:async function t(e,n){return await $S(this,e,n,{callee:t})},safeParse(t,e){return BS(this,t,e)},async safeParseAsync(t,e){return LS(this,t,e)},get spa(){return this?.safeParseAsync},set spa(t){X.own(this,"spa",t)},validate(t,e){return Gu(this,t,e)},validateAsync(t,e){return Nu(this,t,e)},encode:function t(e,n){return FS(this,e,n,{callee:t})},decode:function t(e,n){return VS(this,e,n,{callee:t})},encodeAsync:async function t(e,n){return await JS(this,e,n,{callee:t})},decodeAsync:async function t(e,n){return await KS(this,e,n,{callee:t})},safeEncode(t,e){return ZS(this,t,e)},safeDecode(t,e){return QS(this,t,e)},async safeEncodeAsync(t,e){return YS(this,t,e)},async safeDecodeAsync(t,e){return XS(this,t,e)},toJSONSchema(t){return cS(this,{})(t)},get description(){return Za.get(this)?.description},get _def(){return this._zod.def}}),aO=P("_ZodString",(t,e)=>{bo.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>nf(t,n,i,a)},X.derived({format:t=>ri(t).format??null,minLength:t=>ri(t).minimum??null,maxLength:t=>ri(t).maximum??null},{regex(...t){return this.check(zm(...t))},includes(...t){return this.check(Nm(...t))},startsWith(...t){return this.check(Um(...t))},endsWith(...t){return this.check($m(...t))},min(...t){return this.check(ns(...t))},max(...t){return this.check(uc(...t))},length(...t){return this.check(cc(...t))},nonempty(...t){return this.check(ns(1,...t))},lowercase(t){return this.check(Dm(t))},uppercase(t){return this.check(Gm(t))},trim(){return this.check(Lm())},normalize(...t){return this.check(Bm(...t))},toLowerCase(){return this.check(Fm())},toUpperCase(){return this.check(Vm())},slugify(){return this.check(Jm())}})),kN=P("ZodString",(t,e)=>{bo.init(t,e),aO.init(t,e)},{email(t){return this.check(cm(MN,t))},url(t){return this.check(fm(qN,t))},jwt(t){return this.check(Em(VN,t))},emoji(t){return this.check(wm(_N,t))},guid(t){return this.check(pm(EN,t))},uuid(t){return this.check(dm(mc,t))},uuidv4(t){return this.check(hm(mc,t))},uuidv6(t){return this.check(gm(mc,t))},uuidv7(t){return this.check(mm(mc,t))},nanoid(t){return this.check(vm(HN,t))},cuid(t){return this.check(Cm(WN,t))},cuid2(t){return this.check(Am(RN,t))},ulid(t){return this.check(bm(IN,t))},base64(t){return this.check(Tm(BN,t))},base64url(t){return this.check(km(LN,t))},xid(t){return this.check(xm(zN,t))},ksuid(t){return this.check(ym(DN,t))},ipv4(t){return this.check(Pm(GN,t))},ipv6(t){return this.check(jm(NN,t))},cidrv4(t){return this.check(Sm(UN,t))},cidrv6(t){return this.check(Om($N,t))},e164(t){return this.check(Mm(FN,t))},datetime(t){return this.check(ic(qo,t))},date(t){return this.check(tc(_o,t))},time(t){return this.check(ac(Ho,t))},duration(t){return this.check(rc(Wo,t))}});function y(t){return um(kN,t)}var Qe=P("ZodStringFormat",(t,e)=>{Ne.init(t,e),aO.init(t,e)}),qo=P("ZodISODateTime",(t,e)=>{Nj.init(t,e),Qe.init(t,e)}),_o=P("ZodISODate",(t,e)=>{Uj.init(t,e),Qe.init(t,e)}),Ho=P("ZodISOTime",(t,e)=>{$j.init(t,e),Qe.init(t,e)}),Wo=P("ZodISODuration",(t,e)=>{Bj.init(t,e),Qe.init(t,e)}),MN=P("ZodEmail",(t,e)=>{Ag.init(t,e),Qe.init(t,e)});var EN=P("ZodGUID",(t,e)=>{vg.init(t,e),Qe.init(t,e)});var mc=P("ZodUUID",(t,e)=>{Cg.init(t,e),Qe.init(t,e)});var qN=P("ZodURL",(t,e)=>{bg.init(t,e),Qe.init(t,e)});var _N=P("ZodEmoji",(t,e)=>{xg.init(t,e),Qe.init(t,e)});var HN=P("ZodNanoID",(t,e)=>{yg.init(t,e),Qe.init(t,e)});var WN=P("ZodCUID",(t,e)=>{Pg.init(t,e),Qe.init(t,e)});var RN=P("ZodCUID2",(t,e)=>{jg.init(t,e),Qe.init(t,e)});var IN=P("ZodULID",(t,e)=>{Sg.init(t,e),Qe.init(t,e)});var zN=P("ZodXID",(t,e)=>{Og.init(t,e),Qe.init(t,e)});var DN=P("ZodKSUID",(t,e)=>{Tg.init(t,e),Qe.init(t,e)});var GN=P("ZodIPv4",(t,e)=>{kg.init(t,e),Qe.init(t,e)});var NN=P("ZodIPv6",(t,e)=>{Mg.init(t,e),Qe.init(t,e)});var UN=P("ZodCIDRv4",(t,e)=>{Eg.init(t,e),Qe.init(t,e)});var $N=P("ZodCIDRv6",(t,e)=>{qg.init(t,e),Qe.init(t,e)});var BN=P("ZodBase64",(t,e)=>{Hg.init(t,e),Qe.init(t,e)});var LN=P("ZodBase64URL",(t,e)=>{Wg.init(t,e),Qe.init(t,e)});var FN=P("ZodE164",(t,e)=>{Rg.init(t,e),Qe.init(t,e)});var VN=P("ZodJWT",(t,e)=>{Ig.init(t,e),Qe.init(t,e)});var rO=P("ZodNumber",(t,e)=>{Ju.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>tf(t,n,i,a),t.isFinite=!0},X.derived({minValue:t=>{let{minimum:e,exclusiveMinimum:n}=ri(t);return Math.max(e??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:t=>{let{maximum:e,exclusiveMaximum:n}=ri(t);return Math.min(e??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:t=>{let{isInt:e,multipleOf:n}=ri(t);return!!e||!!n?.some(Number.isSafeInteger)},format:t=>ri(t).format??null},{gt(t,e){return this.check(oc(t,e))},gte(t,e){return this.check(jo(t,e))},min(t,e){return this.check(jo(t,e))},lt(t,e){return this.check(sc(t,e))},lte(t,e){return this.check(Po(t,e))},max(t,e){return this.check(Po(t,e))},int(t){return this.check(eO(t))},safe(t){return this.check(eO(t))},positive(t){return this.check(oc(0,t))},nonnegative(t){return this.check(jo(0,t))},negative(t){return this.check(sc(0,t))},nonpositive(t){return this.check(Po(0,t))},multipleOf(t,e){return this.check(lc(t,e))},step(t,e){return this.check(lc(t,e))},finite(){return this}}));function _e(t){return qm(rO,t)}var JN=P("ZodNumberFormat",(t,e)=>{zg.init(t,e),rO.init(t,e)});function eO(t){return _m(JN,t)}var KN=P("ZodBoolean",(t,e)=>{Dg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>af(t,n,i,a)});function Cn(t){return Hm(KN,t)}var ZN=P("ZodNull",(t,e)=>{Gg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>rf(t,n,i,a)});function sO(t){return Wm(ZN,t)}var QN=P("ZodUnknown",(t,e)=>{Ng.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>of(t,n,i,a)});function Fe(){return Rm(QN)}var YN=P("ZodNever",(t,e)=>{Ug.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>sf(t,n,i,a)});function XN(t){return Im(YN,t)}var eU=P("ZodArray",(t,e)=>{fc(),$g.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>df(t,n,i,a),t.element=e.element},{min(t,e){return this.check(ns(t,e))},nonempty(t){return this.check(ns(1,t))},max(t,e){return this.check(uc(t,e))},length(t,e){return this.check(cc(t,e))},unwrap(){return this.element}});function fe(t,e){return aS(eU,t,e)}var oO=P("ZodObject",(t,e)=>{fc(),Kj.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>hf(t,n,i,a),X.installLazyProp(t,"shape",n=>n._zod.def.shape,!1)},{keyof(){return si(Object.keys(this._zod.def.shape))},catchall(t){return this.clone(X.mergeDefs(this._zod.def,{catchall:t}))},passthrough(){return this.clone(X.mergeDefs(this._zod.def,{catchall:Fe()}))},loose(){return this.clone(X.mergeDefs(this._zod.def,{catchall:Fe()}))},strict(){return this.clone(X.mergeDefs(this._zod.def,{catchall:XN()}))},strip(){return this.clone(X.mergeDefs(this._zod.def,{catchall:void 0}))},extend(t){return X.extend(this,t)},safeExtend(t){return X.safeExtend(this,t)},merge(t){return X.merge(this,t)},pick(t){return X.pick(this,t)},omit(t){return X.omit(this,t)},partial(...t){return X.partial(vc,this,t[0])},exactPartial(...t){return X.partial(cO,this,t[0],"exactPartial")},required(...t){return X.required(pO,this,t[0])}});function D(t,e){let n={type:"object",shape:t??{},...X.normalizeParams(e)};return new oO(n)}function Fn(t,e){return new oO({type:"object",shape:t,catchall:Fe(),...X.normalizeParams(e)})}var lO=P("ZodUnion",(t,e)=>{Ku.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>gf(t,n,i,a),t.options=e.options});function $e(t,e){return new lO({type:"union",options:t,...X.normalizeParams(e)})}var nU=P("ZodDiscriminatedUnion",(t,e)=>{lO.init(t,e),Lg.init(t,e)});function Tf(t,e,n){return new nU({type:"union",options:e,discriminator:t,...X.normalizeParams(n)})}var iU=P("ZodIntersection",(t,e)=>{Fg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>mf(t,n,i,a)});function wc(t,e){return new iU({type:"intersection",left:t,right:e})}var nO=P("ZodRecord",(t,e)=>{fc(),Vg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>ff(t,n,i,a),t.keyType=e.keyType,t.valueType=e.valueType});function Ue(t,e,n){return!e||!e._zod?new nO({type:"record",keyType:y(),valueType:t,...X.normalizeParams(e)}):new nO({type:"record",keyType:t,valueType:e,...X.normalizeParams(n)})}var Of=P("ZodEnum",(t,e)=>{Jg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(i,a,r)=>lf(t,i,a,r),t.enum=e.entries,t.options=[...t._zod.values];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 Of({...e,checks:[],...X.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 Of({...e,checks:[],...X.normalizeParams(a),entries:r})}});function si(t,e){let n=Array.isArray(t)?Object.fromEntries(t.map(i=>[i,i])):t;return new Of({type:"enum",entries:n,...X.normalizeParams(e)})}var tU=P("ZodLiteral",(t,e)=>{Kg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>uf(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 L(t,e){return new tU({type:"literal",values:Array.isArray(t)?t:[t],...X.normalizeParams(e)})}var aU=P("ZodTransform",(t,e)=>{fc(),Zg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>pf(t,n,i,a),t._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Xr(t.constructor.name);n.addIssue=r=>{if(typeof r=="string")n.issues.push(X.issue(r,n.value,e));else{let s=r;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),"input"in s||(s.input=n.value),s.inst??(s.inst=t),n.issues.push(X.issue(s))}};let a=e.transform(n.value,n);return a instanceof Promise?a.then(r=>(n.value=r,n)):(n.value=a,n)}});function uO(t){return new aU({type:"transform",transform:t})}var vc=P("ZodOptional",(t,e)=>{Zu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>pc(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function Ve(t){return new vc({type:"optional",innerType:t})}var cO=P("ZodExactOptional",(t,e)=>{Qg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>pc(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function rU(t){return new cO({type:"optional",innerType:t})}var sU=P("ZodNullable",(t,e)=>{Yg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>wf(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function iO(t){return new sU({type:"nullable",innerType:t})}var oU=P("ZodDefault",(t,e)=>{Xg.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Af(t,n,i,a),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function lU(t,e){return new oU({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():X.shallowClone(e)}})}var uU=P("ZodPrefault",(t,e)=>{em.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>bf(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function cU(t,e){return new uU({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():X.shallowClone(e)}})}var pO=P("ZodNonOptional",(t,e)=>{nm.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>vf(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function pU(t,e){return new pO({type:"nonoptional",innerType:t,...X.normalizeParams(e)})}var dU=P("ZodCatch",(t,e)=>{im.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>xf(t,n,i,a),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function hU(t,e){return new dU({type:"catch",innerType:t,catchValue:typeof e=="function"?e:X.constantCatch(e)})}var dO=P("ZodPipe",(t,e)=>{Qu.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>yf(t,n,i,a),t.in=e.in,t.out=e.out});function tO(t,e){return new dO({type:"pipe",in:t,out:e})}var gU=P("ZodPreprocess",(t,e)=>{dO.init(t,e),Zj.init(t,e)}),mU=P("ZodReadonly",(t,e)=>{tm.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>Pf(t,n,i,a),t.unwrap=()=>t._zod.def.innerType});function fU(t){return new mU({type:"readonly",innerType:t})}var hO=P("ZodCustom",(t,e)=>{am.init(t,e),Je.init(t,e),t._zod.processJSONSchema=(n,i,a)=>cf(t,n,i,a)});function gO(t,e){return Km(hO,t??(()=>!0),e)}function wU(t,e={}){return Zm(hO,t,e)}function vU(t,e){return Qm(t,e)}function kf(t,e){return new gU({type:"pipe",in:uO(t),out:e})}var Cc={};Dh(Cc,{ZodISODate:()=>_o,ZodISODateTime:()=>qo,ZodISODuration:()=>Wo,ZodISOTime:()=>Ho,date:()=>AU,datetime:()=>CU,duration:()=>xU,time:()=>bU});function CU(t){return ic(qo,t)}function AU(t){return tc(_o,t)}function bU(t){return ac(Ho,t)}function xU(t){return rc(Wo,t)}var Ef="2025-11-25";var mO=[Ef,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],oa="io.modelcontextprotocol/related-task",bc="2.0",dn=gO(t=>t!==null&&(typeof t=="object"||typeof t=="function")),fO=$e([y(),_e().int()]),wO=y(),Yae=Fn({ttl:_e().optional(),pollInterval:_e().optional()}),yU=D({ttl:_e().optional()}),PU=D({taskId:y()}),qf=Fn({progressToken:fO.optional(),[oa]:PU.optional()}),ki=D({_meta:qf.optional()}),Ro=ki.extend({task:yU.optional()}),vO=t=>Ro.safeParse(t).success,Mn=D({method:y(),params:ki.loose().optional()}),Di=D({_meta:qf.optional()}),Gi=D({method:y(),params:Di.loose().optional()}),En=Fn({_meta:qf.optional()}),xc=$e([y(),_e().int()]),CO=D({jsonrpc:L(bc),id:xc,...Mn.shape}).strict(),_f=t=>CO.safeParse(t).success,AO=D({jsonrpc:L(bc),...Gi.shape}).strict(),bO=t=>AO.safeParse(t).success,Hf=D({jsonrpc:L(bc),id:xc,result:En}).strict(),Io=t=>Hf.safeParse(t).success;var J;(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"})(J||(J={}));var Wf=D({jsonrpc:L(bc),id:xc.optional(),error:D({code:_e().int(),message:y(),data:Fe().optional()})}).strict();var xO=t=>Wf.safeParse(t).success;var yO=$e([CO,AO,Hf,Wf]),Xae=$e([Hf,Wf]),yc=En.strict(),jU=Di.extend({requestId:xc.optional(),reason:y().optional()}),Pc=Gi.extend({method:L("notifications/cancelled"),params:jU}),SU=D({src:y(),mimeType:y().optional(),sizes:fe(y()).optional(),theme:si(["light","dark"]).optional()}),zo=D({icons:fe(SU).optional()}),ss=D({name:y(),title:y().optional()}),PO=ss.extend({...ss.shape,...zo.shape,version:y(),websiteUrl:y().optional(),description:y().optional()}),OU=wc(D({applyDefaults:Cn().optional()}),Ue(y(),Fe())),TU=kf(t=>t&&typeof t=="object"&&!Array.isArray(t)&&Object.keys(t).length===0?{form:{}}:t,wc(D({form:OU.optional(),url:dn.optional()}),Ue(y(),Fe()).optional())),kU=Fn({list:dn.optional(),cancel:dn.optional(),requests:Fn({sampling:Fn({createMessage:dn.optional()}).optional(),elicitation:Fn({create:dn.optional()}).optional()}).optional()}),MU=Fn({list:dn.optional(),cancel:dn.optional(),requests:Fn({tools:Fn({call:dn.optional()}).optional()}).optional()}),EU=D({experimental:Ue(y(),dn).optional(),sampling:D({context:dn.optional(),tools:dn.optional()}).optional(),elicitation:TU.optional(),roots:D({listChanged:Cn().optional()}).optional(),tasks:kU.optional(),extensions:Ue(y(),dn).optional()}),qU=ki.extend({protocolVersion:y(),capabilities:EU,clientInfo:PO}),Rf=Mn.extend({method:L("initialize"),params:qU});var _U=D({experimental:Ue(y(),dn).optional(),logging:dn.optional(),completions:dn.optional(),prompts:D({listChanged:Cn().optional()}).optional(),resources:D({subscribe:Cn().optional(),listChanged:Cn().optional()}).optional(),tools:D({listChanged:Cn().optional()}).optional(),tasks:MU.optional(),extensions:Ue(y(),dn).optional()}),HU=En.extend({protocolVersion:y(),capabilities:_U,serverInfo:PO,instructions:y().optional()}),If=Gi.extend({method:L("notifications/initialized"),params:Di.optional()});var jc=Mn.extend({method:L("ping"),params:ki.optional()}),WU=D({progress:_e(),total:Ve(_e()),message:Ve(y())}),RU=D({...Di.shape,...WU.shape,progressToken:fO}),Sc=Gi.extend({method:L("notifications/progress"),params:RU}),IU=ki.extend({cursor:wO.optional()}),Do=Mn.extend({params:IU.optional()}),Go=En.extend({nextCursor:wO.optional()}),zU=si(["working","input_required","completed","failed","cancelled"]),No=D({taskId:y(),status:zU,ttl:$e([_e(),sO()]),createdAt:y(),lastUpdatedAt:y(),pollInterval:Ve(_e()),statusMessage:Ve(y())}),os=En.extend({task:No}),DU=Di.merge(No),Uo=Gi.extend({method:L("notifications/tasks/status"),params:DU}),Oc=Mn.extend({method:L("tasks/get"),params:ki.extend({taskId:y()})}),Tc=En.merge(No),kc=Mn.extend({method:L("tasks/result"),params:ki.extend({taskId:y()})}),ere=En.loose(),Mc=Do.extend({method:L("tasks/list")}),Ec=Go.extend({tasks:fe(No)}),qc=Mn.extend({method:L("tasks/cancel"),params:ki.extend({taskId:y()})}),jO=En.merge(No),SO=D({uri:y(),mimeType:Ve(y()),_meta:Ue(y(),Fe()).optional()}),OO=SO.extend({text:y()}),zf=y().refine(t=>{try{return atob(t),!0}catch{return!1}},{message:"Invalid Base64 string"}),TO=SO.extend({blob:zf}),$o=si(["user","assistant"]),ls=D({audience:fe($o).optional(),priority:_e().min(0).max(1).optional(),lastModified:Cc.datetime({offset:!0}).optional()}),kO=D({...ss.shape,...zo.shape,uri:y(),description:Ve(y()),mimeType:Ve(y()),size:Ve(_e()),annotations:ls.optional(),_meta:Ve(Fn({}))}),GU=D({...ss.shape,...zo.shape,uriTemplate:y(),description:Ve(y()),mimeType:Ve(y()),annotations:ls.optional(),_meta:Ve(Fn({}))}),_c=Do.extend({method:L("resources/list")}),NU=Go.extend({resources:fe(kO)}),Hc=Do.extend({method:L("resources/templates/list")}),UU=Go.extend({resourceTemplates:fe(GU)}),Df=ki.extend({uri:y()}),$U=Df,Wc=Mn.extend({method:L("resources/read"),params:$U}),BU=En.extend({contents:fe($e([OO,TO]))}),LU=Gi.extend({method:L("notifications/resources/list_changed"),params:Di.optional()}),FU=Df,VU=Mn.extend({method:L("resources/subscribe"),params:FU}),JU=Df,KU=Mn.extend({method:L("resources/unsubscribe"),params:JU}),ZU=Di.extend({uri:y()}),QU=Gi.extend({method:L("notifications/resources/updated"),params:ZU}),YU=D({name:y(),description:Ve(y()),required:Ve(Cn())}),XU=D({...ss.shape,...zo.shape,description:Ve(y()),arguments:Ve(fe(YU)),_meta:Ve(Fn({}))}),Rc=Do.extend({method:L("prompts/list")}),e$=Go.extend({prompts:fe(XU)}),n$=ki.extend({name:y(),arguments:Ue(y(),y()).optional()}),Ic=Mn.extend({method:L("prompts/get"),params:n$}),Gf=D({type:L("text"),text:y(),annotations:ls.optional(),_meta:Ue(y(),Fe()).optional()}),Nf=D({type:L("image"),data:zf,mimeType:y(),annotations:ls.optional(),_meta:Ue(y(),Fe()).optional()}),Uf=D({type:L("audio"),data:zf,mimeType:y(),annotations:ls.optional(),_meta:Ue(y(),Fe()).optional()}),i$=D({type:L("tool_use"),name:y(),id:y(),input:Ue(y(),Fe()),_meta:Ue(y(),Fe()).optional()}),t$=D({type:L("resource"),resource:$e([OO,TO]),annotations:ls.optional(),_meta:Ue(y(),Fe()).optional()}),a$=kO.extend({type:L("resource_link")}),$f=$e([Gf,Nf,Uf,a$,t$]),r$=D({role:$o,content:$f}),s$=En.extend({description:y().optional(),messages:fe(r$)}),o$=Gi.extend({method:L("notifications/prompts/list_changed"),params:Di.optional()}),l$=D({title:y().optional(),readOnlyHint:Cn().optional(),destructiveHint:Cn().optional(),idempotentHint:Cn().optional(),openWorldHint:Cn().optional()}),u$=D({taskSupport:si(["required","optional","forbidden"]).optional()}),MO=D({...ss.shape,...zo.shape,description:y().optional(),inputSchema:D({type:L("object"),properties:Ue(y(),dn).optional(),required:fe(y()).optional()}).catchall(Fe()),outputSchema:D({type:L("object"),properties:Ue(y(),dn).optional(),required:fe(y()).optional()}).catchall(Fe()).optional(),annotations:l$.optional(),execution:u$.optional(),_meta:Ue(y(),Fe()).optional()}),zc=Do.extend({method:L("tools/list")}),c$=Go.extend({tools:fe(MO)}),Dc=En.extend({content:fe($f).default([]),structuredContent:Ue(y(),Fe()).optional(),isError:Cn().optional()}),nre=Dc.or(En.extend({toolResult:Fe()})),p$=Ro.extend({name:y(),arguments:Ue(y(),Fe()).optional()}),us=Mn.extend({method:L("tools/call"),params:p$}),d$=Gi.extend({method:L("notifications/tools/list_changed"),params:Di.optional()}),ire=D({autoRefresh:Cn().default(!0),debounceMs:_e().int().nonnegative().default(300)}),Bo=si(["debug","info","notice","warning","error","critical","alert","emergency"]),h$=ki.extend({level:Bo}),Bf=Mn.extend({method:L("logging/setLevel"),params:h$}),g$=Di.extend({level:Bo,logger:y().optional(),data:Fe()}),m$=Gi.extend({method:L("notifications/message"),params:g$}),f$=D({name:y().optional()}),w$=D({hints:fe(f$).optional(),costPriority:_e().min(0).max(1).optional(),speedPriority:_e().min(0).max(1).optional(),intelligencePriority:_e().min(0).max(1).optional()}),v$=D({mode:si(["auto","required","none"]).optional()}),C$=D({type:L("tool_result"),toolUseId:y().describe("The unique identifier for the corresponding tool call."),content:fe($f).default([]),structuredContent:D({}).loose().optional(),isError:Cn().optional(),_meta:Ue(y(),Fe()).optional()}),A$=Tf("type",[Gf,Nf,Uf]),Ac=Tf("type",[Gf,Nf,Uf,i$,C$]),b$=D({role:$o,content:$e([Ac,fe(Ac)]),_meta:Ue(y(),Fe()).optional()}),x$=Ro.extend({messages:fe(b$),modelPreferences:w$.optional(),systemPrompt:y().optional(),includeContext:si(["none","thisServer","allServers"]).optional(),temperature:_e().optional(),maxTokens:_e().int(),stopSequences:fe(y()).optional(),metadata:dn.optional(),tools:fe(MO).optional(),toolChoice:v$.optional()}),y$=Mn.extend({method:L("sampling/createMessage"),params:x$}),Lo=En.extend({model:y(),stopReason:Ve(si(["endTurn","stopSequence","maxTokens"]).or(y())),role:$o,content:A$}),Lf=En.extend({model:y(),stopReason:Ve(si(["endTurn","stopSequence","maxTokens","toolUse"]).or(y())),role:$o,content:$e([Ac,fe(Ac)])}),P$=D({type:L("boolean"),title:y().optional(),description:y().optional(),default:Cn().optional()}),j$=D({type:L("string"),title:y().optional(),description:y().optional(),minLength:_e().optional(),maxLength:_e().optional(),format:si(["email","uri","date","date-time"]).optional(),default:y().optional()}),S$=D({type:si(["number","integer"]),title:y().optional(),description:y().optional(),minimum:_e().optional(),maximum:_e().optional(),default:_e().optional()}),O$=D({type:L("string"),title:y().optional(),description:y().optional(),enum:fe(y()),default:y().optional()}),T$=D({type:L("string"),title:y().optional(),description:y().optional(),oneOf:fe(D({const:y(),title:y()})),default:y().optional()}),k$=D({type:L("string"),title:y().optional(),description:y().optional(),enum:fe(y()),enumNames:fe(y()).optional(),default:y().optional()}),M$=$e([O$,T$]),E$=D({type:L("array"),title:y().optional(),description:y().optional(),minItems:_e().optional(),maxItems:_e().optional(),items:D({type:L("string"),enum:fe(y())}),default:fe(y()).optional()}),q$=D({type:L("array"),title:y().optional(),description:y().optional(),minItems:_e().optional(),maxItems:_e().optional(),items:D({anyOf:fe(D({const:y(),title:y()}))}),default:fe(y()).optional()}),_$=$e([E$,q$]),H$=$e([k$,M$,_$]),W$=$e([H$,P$,j$,S$]),R$=Ro.extend({mode:L("form").optional(),message:y(),requestedSchema:D({type:L("object"),properties:Ue(y(),W$),required:fe(y()).optional()})}),I$=Ro.extend({mode:L("url"),message:y(),elicitationId:y(),url:y().url()}),z$=$e([R$,I$]),D$=Mn.extend({method:L("elicitation/create"),params:z$}),G$=Di.extend({elicitationId:y()}),N$=Gi.extend({method:L("notifications/elicitation/complete"),params:G$}),cs=En.extend({action:si(["accept","decline","cancel"]),content:kf(t=>t===null?void 0:t,Ue(y(),$e([y(),_e(),Cn(),fe(y())])).optional())}),U$=D({type:L("ref/resource"),uri:y()});var $$=D({type:L("ref/prompt"),name:y()}),B$=ki.extend({ref:$e([$$,U$]),argument:D({name:y(),value:y()}),context:D({arguments:Ue(y(),y()).optional()}).optional()}),Gc=Mn.extend({method:L("completion/complete"),params:B$});function EO(t){if(t.params.ref.type!=="ref/prompt")throw new TypeError(`Expected CompleteRequestPrompt, but got ${t.params.ref.type}`)}function qO(t){if(t.params.ref.type!=="ref/resource")throw new TypeError(`Expected CompleteRequestResourceTemplate, but got ${t.params.ref.type}`)}var L$=En.extend({completion:Fn({values:fe(y()).max(100),total:Ve(_e().int()),hasMore:Ve(Cn())})}),F$=D({uri:y().startsWith("file://"),name:y().optional(),_meta:Ue(y(),Fe()).optional()}),V$=Mn.extend({method:L("roots/list"),params:ki.optional()}),Ff=En.extend({roots:fe(F$)}),J$=Gi.extend({method:L("notifications/roots/list_changed"),params:Di.optional()}),tre=$e([jc,Rf,Gc,Bf,Ic,Rc,_c,Hc,Wc,VU,KU,us,zc,Oc,kc,Mc,qc]),are=$e([Pc,Sc,If,J$,Uo]),rre=$e([yc,Lo,Lf,cs,Ff,Tc,Ec,os]),sre=$e([jc,y$,D$,V$,Oc,kc,Mc,qc]),ore=$e([Pc,Sc,m$,QU,LU,d$,o$,Uo,N$]),lre=$e([yc,HU,L$,s$,e$,NU,UU,BU,Dc,c$,Tc,Ec,os]),B=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===J.UrlElicitationRequired&&i){let a=i;if(a.elicitations)return new Mf(a.elicitations,n)}return new t(e,n,i)}},Mf=class extends B{constructor(e,n=`URL elicitation${e.length>1?"s":""} required`){super(J.UrlElicitationRequired,n,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function la(t){return t==="completed"||t==="failed"||t==="cancelled"}var HO=Symbol("Let zodToJsonSchema decide on which parser to use");var _O={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"},WO=t=>typeof t=="string"?{..._O,name:t}:{..._O,...t};var RO=t=>{let e=WO(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 Vf(t,e,n,i){i?.errorMessages&&n&&(t.errorMessage={...t.errorMessage,[e]:n})}function we(t,e,n,i,a){t[e]=n,Vf(t,e,i,a)}var Nc=(t,e)=>{let n=0;for(;nee(t.innerType._def,e);function Jf(t,e,n){let i=n??e.dateStrategy;if(Array.isArray(i))return{anyOf:i.map((a,r)=>Jf(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 K$(t,e)}}var K$=(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":we(n,"minimum",i.value,i.message,e);break;case"max":we(n,"maximum",i.value,i.message,e);break}return n};function NO(t,e){return{...ee(t.innerType._def,e),default:t.defaultValue()}}function UO(t,e){return e.effectStrategy==="input"?ee(t.schema._def,e):Ke(e)}function $O(t){return{type:"string",enum:Array.from(t.values)}}var Z$=t=>"type"in t&&t.type==="string"?!1:"allOf"in t;function BO(t,e){let n=[ee(t.left._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),ee(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(Z$(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 LO(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 Kf,Xi={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:()=>(Kf===void 0&&(Kf=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Kf),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 $c(t,e){let n={type:"string"};if(t.checks)for(let i of t.checks)switch(i.kind){case"min":we(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,i.value):i.value,i.message,e);break;case"max":we(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":et(n,"email",i.message,e);break;case"format:idn-email":et(n,"idn-email",i.message,e);break;case"pattern:zod":Vn(n,Xi.email,i.message,e);break}break;case"url":et(n,"uri",i.message,e);break;case"uuid":et(n,"uuid",i.message,e);break;case"regex":Vn(n,i.regex,i.message,e);break;case"cuid":Vn(n,Xi.cuid,i.message,e);break;case"cuid2":Vn(n,Xi.cuid2,i.message,e);break;case"startsWith":Vn(n,RegExp(`^${Zf(i.value,e)}`),i.message,e);break;case"endsWith":Vn(n,RegExp(`${Zf(i.value,e)}$`),i.message,e);break;case"datetime":et(n,"date-time",i.message,e);break;case"date":et(n,"date",i.message,e);break;case"time":et(n,"time",i.message,e);break;case"duration":et(n,"duration",i.message,e);break;case"length":we(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,i.value):i.value,i.message,e),we(n,"maxLength",typeof n.maxLength=="number"?Math.min(n.maxLength,i.value):i.value,i.message,e);break;case"includes":{Vn(n,RegExp(Zf(i.value,e)),i.message,e);break}case"ip":{i.version!=="v6"&&et(n,"ipv4",i.message,e),i.version!=="v4"&&et(n,"ipv6",i.message,e);break}case"base64url":Vn(n,Xi.base64url,i.message,e);break;case"jwt":Vn(n,Xi.jwt,i.message,e);break;case"cidr":{i.version!=="v6"&&Vn(n,Xi.ipv4Cidr,i.message,e),i.version!=="v4"&&Vn(n,Xi.ipv6Cidr,i.message,e);break}case"emoji":Vn(n,Xi.emoji(),i.message,e);break;case"ulid":{Vn(n,Xi.ulid,i.message,e);break}case"base64":{switch(e.base64Strategy){case"format:binary":{et(n,"binary",i.message,e);break}case"contentEncoding:base64":{we(n,"contentEncoding","base64",i.message,e);break}case"pattern:zod":{Vn(n,Xi.base64,i.message,e);break}}break}case"nanoid":Vn(n,Xi.nanoid,i.message,e);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return n}function Zf(t,e){return e.patternStrategy==="escape"?Y$(t):t}var Q$=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function Y$(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}}})):we(t,"format",e,n,i)}function Vn(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:FO(e,i),...n&&i.errorMessages&&{errorMessage:{pattern:n}}})):we(t,"pattern",FO(e,i),n,i)}function FO(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]:Q(t.valueType._def,{...e,currentPath:[...e.currentPath,"properties",a]})??Ze(e)}),{}),additionalProperties:e.rejectedAdditionalProperties};let n={type:"object",additionalProperties:Q(t.valueType._def,{...e,currentPath:[...e.currentPath,"additionalProperties"]})??e.allowedAdditionalProperties};if(e.target==="openApi3")return n;if(t.keyType?._def.typeName===k.ZodString&&t.keyType._def.checks?.length){let{type:i,...a}=ec(t.keyType._def,e);return{...n,propertyNames:a}}else{if(t.keyType?._def.typeName===k.ZodEnum)return{...n,propertyNames:{enum:t.keyType._def.values}};if(t.keyType?._def.typeName===k.ZodBranded&&t.keyType._def.type._def.typeName===k.ZodString&&t.keyType._def.type._def.checks?.length){let{type:i,...a}=Xu(t.keyType._def,e);return{...n,propertyNames:a}}}return n}function pS(t,e){if(e.mapStrategy==="record")return nc(t,e);let n=Q(t.keyType._def,{...e,currentPath:[...e.currentPath,"items","items","0"]})||Ze(e),i=Q(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 dS(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 hS(t){return t.target==="openAi"?void 0:{not:Ze({...t,currentPath:[...t.currentPath,"not"]})}}function gS(t){return t.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var yo={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function fS(t,e){if(e.target==="openApi3")return mS(t,e);let n=t.options instanceof Map?Array.from(t.options.values()):t.options;if(n.every(i=>i._def.typeName in yo&&(!i._def.checks||!i._def.checks.length))){let i=n.reduce((a,r)=>{let s=yo[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"];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 mS(t,e)}var mS=(t,e)=>{let n=(t.options instanceof Map?Array.from(t.options.values()):t.options).map((i,a)=>Q(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 wS(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:yo[t.innerType._def.typeName],nullable:!0}:{type:[yo[t.innerType._def.typeName],"null"]};if(e.target==="openApi3"){let i=Q(t.innerType._def,{...e,currentPath:[...e.currentPath]});return i&&"$ref"in i?{allOf:[i],nullable:!0}:i&&{...i,nullable:!0}}let n=Q(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}function vS(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",zm(n,"type",i.message,e);break;case"min":e.target==="jsonSchema7"?i.inclusive?ve(n,"minimum",i.value,i.message,e):ve(n,"exclusiveMinimum",i.value,i.message,e):(i.inclusive||(n.exclusiveMinimum=!0),ve(n,"minimum",i.value,i.message,e));break;case"max":e.target==="jsonSchema7"?i.inclusive?ve(n,"maximum",i.value,i.message,e):ve(n,"exclusiveMaximum",i.value,i.message,e):(i.inclusive||(n.exclusiveMaximum=!0),ve(n,"maximum",i.value,i.message,e));break;case"multipleOf":ve(n,"multipleOf",i.value,i.message,e);break}return n}function CS(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 c=dN(l);c&&n&&(l._def.typeName==="ZodOptional"&&(l=l._def.innerType),l.isNullable()||(l=l.nullable()),c=!1);let u=Q(l._def,{...e,currentPath:[...e.currentPath,"properties",o],propertyPath:[...e.currentPath,"properties",o]});u!==void 0&&(i.properties[o]=u,c||a.push(o))}a.length&&(i.required=a);let s=pN(t,e);return s!==void 0&&(i.additionalProperties=s),i}function pN(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 dN(t){try{return t.isOptional()}catch{return!0}}var AS=(t,e)=>{if(e.currentPath.toString()===e.propertyPath?.toString())return Q(t.innerType._def,e);let n=Q(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","1"]});return n?{anyOf:[{not:Ze(e)},n]}:Ze(e)};var bS=(t,e)=>{if(e.pipeStrategy==="input")return Q(t.in._def,e);if(e.pipeStrategy==="output")return Q(t.out._def,e);let n=Q(t.in._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),i=Q(t.out._def,{...e,currentPath:[...e.currentPath,"allOf",n?"1":"0"]});return{allOf:[n,i].filter(a=>a!==void 0)}};function xS(t,e){return Q(t.type._def,e)}function yS(t,e){let i={type:"array",uniqueItems:!0,items:Q(t.valueType._def,{...e,currentPath:[...e.currentPath,"items"]})};return t.minSize&&ve(i,"minItems",t.minSize.value,t.minSize.message,e),t.maxSize&&ve(i,"maxItems",t.maxSize.value,t.maxSize.message,e),i}function PS(t,e){return t.rest?{type:"array",minItems:t.items.length,items:t.items.map((n,i)=>Q(n._def,{...e,currentPath:[...e.currentPath,"items",`${i}`]})).reduce((n,i)=>i===void 0?n:[...n,i],[]),additionalItems:Q(t.rest._def,{...e,currentPath:[...e.currentPath,"additionalItems"]})}:{type:"array",minItems:t.items.length,maxItems:t.items.length,items:t.items.map((n,i)=>Q(n._def,{...e,currentPath:[...e.currentPath,"items",`${i}`]})).reduce((n,i)=>i===void 0?n:[...n,i],[])}}function jS(t){return{not:Ze(t)}}function SS(t){return Ze(t)}var OS=(t,e)=>Q(t.innerType._def,e);var TS=(t,e,n)=>{switch(e){case k.ZodString:return ec(t,n);case k.ZodNumber:return vS(t,n);case k.ZodObject:return CS(t,n);case k.ZodBigInt:return iS(t,n);case k.ZodBoolean:return tS();case k.ZodDate:return Dm(t,n);case k.ZodUndefined:return jS(n);case k.ZodNull:return gS(n);case k.ZodArray:return nS(t,n);case k.ZodUnion:case k.ZodDiscriminatedUnion:return fS(t,n);case k.ZodIntersection:return lS(t,n);case k.ZodTuple:return PS(t,n);case k.ZodRecord:return nc(t,n);case k.ZodLiteral:return uS(t,n);case k.ZodEnum:return oS(t);case k.ZodNativeEnum:return dS(t);case k.ZodNullable:return wS(t,n);case k.ZodOptional:return AS(t,n);case k.ZodMap:return pS(t,n);case k.ZodSet:return yS(t,n);case k.ZodLazy:return()=>t.getter()._def;case k.ZodPromise:return xS(t,n);case k.ZodNaN:case k.ZodNever:return hS(n);case k.ZodEffects:return sS(t,n);case k.ZodAny:return Ze(n);case k.ZodUnknown:return SS(n);case k.ZodDefault:return rS(t,n);case k.ZodBranded:return Xu(t,n);case k.ZodReadonly:return OS(t,n);case k.ZodCatch:return aS(t,n);case k.ZodPipeline:return bS(t,n);case k.ZodFunction:case k.ZodVoid:case k.ZodSymbol:return;default:return(i=>{})(e)}};function Q(t,e,n=!1){let i=e.seen.get(t);if(e.override){let o=e.override?.(t,e,i,n);if(o!==Yj)return o}if(i&&!n){let o=hN(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=TS(t,t.typeName,e),s=typeof r=="function"?Q(r(),e):r;if(s&&gN(t,e,s),e.postProcess){let o=e.postProcess(s,t,e);return a.jsonSchema=s,o}return a.jsonSchema=s,s}var hN=(t,e)=>{switch(e.$refStrategy){case"root":return{$ref:t.path.join("/")};case"relative":return{$ref:Yu(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}},gN=(t,e,n)=>(t.description&&(n.description=t.description,e.markdownDescription&&(n.markdownDescription=t.description)),n);var Um=(t,e)=>{let n=eS(e),i=typeof e=="object"&&e.definitions?Object.entries(e.definitions).reduce((l,[c,u])=>({...l,[c]:Q(u._def,{...n,currentPath:[...n.basePath,n.definitionPath,c]},!0)??Ze(n)}),{}):void 0,a=typeof e=="string"?e:e?.nameStrategy==="title"?void 0:e?.name,r=Q(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 mN(t){return!t||t==="jsonSchema7"||t==="draft-7"?"draft-7":t==="jsonSchema2019-09"||t==="draft-2020-12"?"draft-2020-12":"draft-7"}function $m(t,e){return st(t)?dm(t,{target:mN(e?.target),io:e?.pipeStrategy??"input"}):Um(t,{strictUnions:e?.strictUnions??!0,pipeStrategy:e?.pipeStrategy??"input"})}function Lm(t){let n=Vt(t)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=Dr(n);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function Bm(t,e){let n=Ft(t,e);if(!n.success)throw n.error;return n.data}var fN=6e4,ic=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(Ru,n=>{this._oncancel(n)}),this.setNotificationHandler(Wu,n=>{this._onprogress(n)}),this.setRequestHandler(Iu,n=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(zu,async(n,i)=>{let a=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!a)throw new U(F.InvalidParams,"Failed to retrieve task: Task not found");return{...a}}),this.setRequestHandler(Gu,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,c=l.id,u=this._requestResolvers.get(c);if(u)if(this._requestResolvers.delete(c),o.type==="response")u(l);else{let d=l,h=new U(d.error.code,d.error.message,d.error.data);u(h)}else{let d=o.type==="response"?"Response":"Error";this._onerror(new Error(`${d} handler missing for request ${c}`))}continue}await this._transport?.send(o.message,{relatedRequestId:i.requestId})}}let s=await this._taskStore.getTask(r,i.sessionId);if(!s)throw new U(F.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,[Jt]:{taskId:r}}}}return await a()};return await a()}),this.setRequestHandler(Nu,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 U(F.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 U(F.InvalidParams,`Task not found: ${n.params.taskId}`);if(Zt(a.status))throw new U(F.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 U(F.InvalidParams,`Task not found after cancellation: ${n.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,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),U.fromError(F.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),go(r)||Gj(r)?this._onresponse(r):Pm(r)?this._onrequest(r,s):Dj(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=U.fromError(F.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?.[Jt]?.taskId;if(i===void 0){let u={jsonrpc:"2.0",id:e.id,error:{code:F.MethodNotFound,message:"Method not found"}};r&&this._taskMessageQueue?this._enqueueTaskMessage(r,{type:"error",message:u,timestamp:Date.now()},a?.sessionId).catch(d=>this._onerror(new Error(`Failed to enqueue error response: ${d}`))):a?.send(u).catch(d=>this._onerror(new Error(`Failed to send an error response: ${d}`)));return}let s=new AbortController;this._requestHandlerAbortControllers.set(e.id,s);let o=Ij(e.params)?e.params.task:void 0,l=this._taskStore?this.requestTaskStore(e,a?.sessionId):void 0,c={signal:s.signal,sessionId:a?.sessionId,_meta:e.params?._meta,sendNotification:async u=>{if(s.signal.aborted)return;let d={relatedRequestId:e.id};r&&(d.relatedTask={taskId:r}),await this.notification(u,d)},sendRequest:async(u,d,h)=>{if(s.signal.aborted)throw new U(F.ConnectionClosed,"Request was cancelled");let g={...h,relatedRequestId:e.id};r&&!g.relatedTask&&(g.relatedTask={taskId:r});let p=g.relatedTask?.taskId??r;return p&&l&&await l.updateTaskStatus(p,"input_required"),await this.request(u,d,g)},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,c)).then(async u=>{if(s.signal.aborted)return;let d={result:u,jsonrpc:"2.0",id:e.id};r&&this._taskMessageQueue?await this._enqueueTaskMessage(r,{type:"response",message:d,timestamp:Date.now()},a?.sessionId):await a?.send(d)},async u=>{if(s.signal.aborted)return;let d={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(u.code)?u.code:F.InternalError,message:u.message??"Internal error",...u.data!==void 0&&{data:u.data}}};r&&this._taskMessageQueue?await this._enqueueTaskMessage(r,{type:"error",message:d,timestamp:Date.now()},a?.sessionId):await a?.send(d)}).catch(u=>this._onerror(new Error(`Failed to send response: ${u}`))).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),go(e))i(e);else{let s=new U(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(go(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),go(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,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 U?s:new U(F.InternalError,String(s))}}return}let r;try{let s=await this.request(e,Nr,i);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},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 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},n,i)};return}let l=o.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(c=>setTimeout(c,l)),i?.signal?.throwIfAborted()}}catch(s){yield{type:"error",error:s instanceof U?s:new U(F.InternalError,String(s))}}}request(e,n,i){let{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s,task:o,relatedTask:l}=i??{};return new Promise((c,u)=>{let d=b=>{u(b)};if(!this._transport){d(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),o&&this.assertTaskCapability(e.method)}catch(b){d(b);return}i?.signal?.throwIfAborted();let h=this._requestMessageId++,g={...e,jsonrpc:"2.0",id:h};i?.onprogress&&(this._progressHandlers.set(h,i.onprogress),g.params={...e.params,_meta:{...e.params?._meta||{},progressToken:h}}),o&&(g.params={...g.params,task:o}),l&&(g.params={...g.params,_meta:{...g.params?._meta||{},[Jt]:l}});let p=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(x=>this._onerror(new Error(`Failed to send cancellation: ${x}`)));let A=b instanceof U?b:new U(F.RequestTimeout,String(b));u(A)};this._responseHandlers.set(h,b=>{if(!i?.signal?.aborted){if(b instanceof Error)return u(b);try{let A=Ft(n,b.result);A.success?c(A.data):u(A.error)}catch(A){u(A)}}}),i?.signal?.addEventListener("abort",()=>{p(i?.signal?.reason)});let m=i?.timeout??fN,f=()=>p(U.fromError(F.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 x=this._responseHandlers.get(h);x?x(A):this._onerror(new Error(`Response handler missing for side-channeled request ${h}`))};this._requestResolvers.set(h,b),this._enqueueTaskMessage(w,{type:"request",message:g,timestamp:Date.now()}).catch(A=>{this._cleanupTimeout(h),u(A)})}else this._transport.send(g,{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s}).catch(b=>{this._cleanupTimeout(h),u(b)})})}async getTask(e,n){return this.request({method:"tasks/get",params:e},Du,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},Uu,n)}async cancelTask(e,n){return this.request({method:"tasks/cancel",params:e},$j,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||{},[Jt]: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||{},[Jt]: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||{},[Jt]:n.relatedTask}}}),await this._transport.send(s,n)}setRequestHandler(e,n){let i=Lm(e);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(a,r)=>{let s=Bm(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=Lm(e);this._notificationHandlers.set(i,a=>{let r=Bm(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"&&Pm(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,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 U(F.InvalidRequest,"Request cancelled"));return}let s=setTimeout(a,i);n.addEventListener("abort",()=>{clearTimeout(s),r(new U(F.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 U(F.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=Co.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 U(F.InvalidParams,`Task "${a}" not found - it may have been cleaned up`);if(Zt(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 i.updateTaskStatus(a,r,s,n);let l=await i.getTask(a,n);if(l){let c=Co.parse({method:"notifications/tasks/status",params:l});await this.notification(c),Zt(l.status)&&this._cleanupTaskProgressHandler(a)}},listTasks:a=>i.listTasks(a,n)}}};function MS(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function kS(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];MS(s)&&MS(r)?n[a]={...s,...r}:n[a]=r}return n}var kM=yr(Ww(),1),EM=yr(MM(),1);function O4(){let t=new kM.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return(0,EM.default)(t),t}var Dc=class{constructor(e){this._ajv=e??O4()}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 Gc=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(u=>u.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]:[],c=l.some(u=>u.type==="tool_use");if(s){if(r.some(u=>u.type!=="tool_result"))throw new Error("The last message must contain only tool_result content if any is present");if(!c)throw new Error("tool_result blocks are not matching any tool_use from the previous message")}if(c){let u=new Set(l.filter(h=>h.type==="tool_use").map(h=>h.id)),d=new Set(r.filter(h=>h.type==="tool_result").map(h=>h.toolUseId));if(u.size!==d.size||![...u].every(h=>d.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},xo,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},Lr,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 qM(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 _M(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 Nc=class extends ic{constructor(e,n){super(n),this._serverInfo=e,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(bo.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(Tm,()=>this.oninitialized?.()),this._capabilities.logging&&this.setRequestHandler(Rm,async(i,a)=>{let r=a.sessionId||a.requestInfo?.headers["mcp-session-id"]||void 0,{level:s}=i.params,o=bo.safeParse(s);return o.success&&this._loggingLevels.set(r,o.data),{}})}get experimental(){return this._experimental||(this._experimental={tasks:new Gc(this)}),this._experimental}registerCapabilities(e){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");this._capabilities=kS(this._capabilities,e)}setRequestHandler(e,n){let a=Vt(e)?.method;if(!a)throw new Error("Schema is missing a method literal");let r=Dr(a);if(typeof r!="string")throw new Error("Schema method literal must be a string");if(r==="tools/call"){let o=async(l,c)=>{let u=Ft($r,l);if(!u.success){let p=u.error instanceof Error?u.error.message:String(u.error);throw new U(F.InvalidParams,`Invalid tools/call request: ${p}`)}let{params:d}=u.data,h=await Promise.resolve(n(l,c));if(d.task){let p=Ft(Nr,h);if(!p.success){let m=p.error instanceof Error?p.error.message:String(p.error);throw new U(F.InvalidParams,`Invalid task creation result: ${m}`)}return p.data}let g=Ft(Ku,h);if(!g.success){let p=g.error instanceof Error?g.error.message:String(g.error);throw new U(F.InvalidParams,`Invalid tools/call result: ${p}`)}return g.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){_M(this._clientCapabilities?.tasks?.requests,e,"Client")}assertTaskHandlerCapability(e){this._capabilities&&qM(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:_j.includes(n)?n:xm,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"},Hu)}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(c=>c.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(c=>c.type==="tool_use");if(r){if(a.some(c=>c.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 c=new Set(o.filter(d=>d.type==="tool_use").map(d=>d.id)),u=new Set(a.filter(d=>d.type==="tool_result").map(d=>d.toolUseId));if(c.size!==u.size||![...c].every(d=>u.has(d)))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},Im,n):this.request({method:"sampling/createMessage",params:e},xo,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},Lr,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},Lr,n);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,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},Wm,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 RM=Symbol.for("mcp.completable");function Bw(t){return!!t&&typeof t=="object"&&RM in t}function IM(t){return t[RM]?.complete}var HM;(function(t){t.Completable="McpCompletable"})(HM||(HM={}));var T4=/^[A-Za-z0-9._-]{1,128}$/;function M4(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"),!T4.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 k4(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 Fw(t){let e=M4(t);return k4(t,e.warnings),e.isValid}var Uc=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 Nc(e,n)}get experimental(){return this._experimental||(this._experimental={tasks:new Uc(this)}),this._experimental}async connect(e){return await this.server.connect(e)}async close(){await this.server.close()}setToolRequestHandlers(){this._toolHandlersInitialized||(this.server.assertCanSetRequestHandler(aa(Zu)),this.server.assertCanSetRequestHandler(aa($r)),this.server.registerCapabilities({tools:{listChanged:!0}}),this.server.setRequestHandler(Zu,()=>({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=zr(n.inputSchema);return a?$m(a,{strictUnions:!0,pipeStrategy:"input"}):E4})(),annotations:n.annotations,execution:n.execution,_meta:n._meta};if(n.outputSchema){let a=zr(n.outputSchema);a&&(i.outputSchema=$m(a,{strictUnions:!0,pipeStrategy:"output"}))}return i})})),this.server.setRequestHandler($r,async(e,n)=>{try{let i=this._registeredTools[e.params.name];if(!i)throw new U(F.InvalidParams,`Tool ${e.params.name} not found`);if(!i.enabled)throw new U(F.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 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(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 U&&i.code===F.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=zr(e.inputSchema)??e.inputSchema,s=await Su(r,n);if(!s.success){let o="error"in s?s.error:"Unknown error",l=Ou(o);throw new U(F.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 U(F.InvalidParams,`Output validation error: Tool ${i} has an output schema but no structured content was provided`);let a=zr(e.outputSchema),r=await Su(a,n.structuredContent);if(!r.success){let s="error"in r?r.error:"Unknown error",o=Ou(s);throw new U(F.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,c=o.task,u=c.pollInterval??5e3;for(;c.status!=="completed"&&c.status!=="failed"&&c.status!=="cancelled";){await new Promise(h=>setTimeout(h,u));let d=await i.taskStore.getTask(l);if(!d)throw new U(F.InternalError,`Task ${l} not found during polling`);c=d}return await i.taskStore.getTaskResult(l)}setCompletionRequestHandler(){this._completionHandlerInitialized||(this.server.assertCanSetRequestHandler(aa(Qu)),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler(Qu,async e=>{switch(e.params.ref.type){case"ref/prompt":return Zj(e),this.handlePromptCompletion(e,e.params.ref);case"ref/resource":return Kj(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,n){let i=this._registeredPrompts[n.name];if(!i)throw new U(F.InvalidParams,`Prompt ${n.name} not found`);if(!i.enabled)throw new U(F.InvalidParams,`Prompt ${n.name} disabled`);if(!i.argsSchema)return el;let r=Vt(i.argsSchema)?.[e.params.argument.name];if(!Bw(r))return el;let s=IM(r);if(!s)return el;let o=await s(e.params.argument.value,e.params.context);return zM(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 el;throw new U(F.InvalidParams,`Resource template ${e.params.ref.uri} not found`)}let a=i.resourceTemplate.completeCallback(e.params.argument.name);if(!a)return el;let r=await a(e.params.argument.value,e.params.context);return zM(r)}setResourceRequestHandlers(){this._resourceHandlersInitialized||(this.server.assertCanSetRequestHandler(aa(Lu)),this.server.assertCanSetRequestHandler(aa(Bu)),this.server.assertCanSetRequestHandler(aa(Fu)),this.server.registerCapabilities({resources:{listChanged:!0}}),this.server.setRequestHandler(Lu,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(Bu,async()=>({resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([n,i])=>({name:n,uriTemplate:i.resourceTemplate.uriTemplate.toString(),...i.metadata}))})),this.server.setRequestHandler(Fu,async(e,n)=>{let i=new URL(e.params.uri),a=this._registeredResources[i.toString()];if(a){if(!a.enabled)throw new U(F.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 U(F.InvalidParams,`Resource ${i} not found`)}),this._resourceHandlersInitialized=!0)}setPromptRequestHandlers(){this._promptHandlersInitialized||(this.server.assertCanSetRequestHandler(aa(Vu)),this.server.assertCanSetRequestHandler(aa(Ju)),this.server.registerCapabilities({prompts:{listChanged:!0}}),this.server.setRequestHandler(Vu,()=>({prompts:Object.entries(this._registeredPrompts).filter(([,e])=>e.enabled).map(([e,n])=>({name:e,title:n.title,description:n.description,arguments:n.argsSchema?q4(n.argsSchema):void 0}))})),this.server.setRequestHandler(Ju,async(e,n)=>{let i=this._registeredPrompts[e.params.name];if(!i)throw new U(F.InvalidParams,`Prompt ${e.params.name} not found`);if(!i.enabled)throw new U(F.InvalidParams,`Prompt ${e.params.name} disabled`);if(i.argsSchema){let a=zr(i.argsSchema),r=await Su(a,e.params.arguments);if(!r.success){let l="error"in r?r.error:"Unknown error",c=Ou(l);throw new U(F.InvalidParams,`Invalid arguments for prompt ${e.params.name}: ${c}`)}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:c=>{typeof c.name<"u"&&c.name!==e&&(delete this._registeredResourceTemplates[e],c.name&&(this._registeredResourceTemplates[c.name]=s)),typeof c.title<"u"&&(s.title=c.title),typeof c.template<"u"&&(s.resourceTemplate=c.template),typeof c.metadata<"u"&&(s.metadata=c.metadata),typeof c.callback<"u"&&(s.readCallback=c.callback),typeof c.enabled<"u"&&(s.enabled=c.enabled),this.sendResourceListChanged()}};this._registeredResourceTemplates[e]=s;let o=i.uriTemplate.variableNames;return Array.isArray(o)&&o.some(c=>!!i.completeCallback(c))&&this.setCompletionRequestHandler(),s}_createRegisteredPrompt(e,n,i,a,r){let s={title:n,description:i,argsSchema:a===void 0?void 0:Da(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=Da(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 c=l instanceof ku?l._def?.innerType:l;return Bw(c)})&&this.setCompletionRequestHandler(),s}_createRegisteredTool(e,n,i,a,r,s,o,l,c){Fw(e);let u={title:n,description:i,inputSchema:WM(a),outputSchema:WM(r),annotations:s,execution:o,_meta:l,handler:c,enabled:!0,disable:()=>u.update({enabled:!1}),enable:()=>u.update({enabled:!0}),remove:()=>u.update({name:null}),update:d=>{typeof d.name<"u"&&d.name!==e&&(typeof d.name=="string"&&Fw(d.name),delete this._registeredTools[e],d.name&&(this._registeredTools[d.name]=u)),typeof d.title<"u"&&(u.title=d.title),typeof d.description<"u"&&(u.description=d.description),typeof d.paramsSchema<"u"&&(u.inputSchema=Da(d.paramsSchema)),typeof d.outputSchema<"u"&&(u.outputSchema=Da(d.outputSchema)),typeof d.callback<"u"&&(u.handler=d.callback),typeof d.annotations<"u"&&(u.annotations=d.annotations),typeof d._meta<"u"&&(u._meta=d._meta),typeof d.enabled<"u"&&(u.enabled=d.enabled),this.sendToolListChanged()}};return this._registeredTools[e]=u,this.setToolRequestHandlers(),this.sendToolListChanged(),u}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(Vw(l))a=n.shift(),n.length>1&&typeof n[0]=="object"&&n[0]!==null&&!Vw(n[0])&&(s=n.shift());else if(typeof l=="object"&&l!==null){if(Object.values(l).some(c=>typeof c=="object"&&c!==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:c}=n;return this._createRegisteredTool(e,a,r,s,o,l,{taskSupport:"forbidden"},c,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 E4={type:"object",properties:{}};function DM(t){return t!==null&&typeof t=="object"&&"parse"in t&&typeof t.parse=="function"&&"safeParse"in t&&typeof t.safeParse=="function"}function GM(t){return"_def"in t||"_zod"in t||DM(t)}function Vw(t){return typeof t!="object"||t===null||GM(t)?!1:Object.keys(t).length===0?!0:Object.values(t).some(DM)}function WM(t){if(t){if(Vw(t))return Da(t);if(!GM(t))throw new Error("inputSchema must be a Zod schema or raw shape, received an unrecognized object");return t}}function q4(t){let e=Vt(t);return e?Object.entries(e).map(([n,i])=>{let a=XP(i),r=ej(i);return{name:n,description:a,required:!r}}):[]}function aa(t){let n=Vt(t)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=Dr(n);if(typeof i=="string")return i;throw new Error("Schema method literal must be a string")}function zM(t){return{completion:{values:t.slice(0,100),total:t.length,hasMore:t.length>100}}}var el={completion:{values:[],hasMore:!1}};var Jw=yr(require("node:process"),1);var _4=10*1024*1024,Lc=class{constructor(e){this._maxBufferSize=e?.maxBufferSize??_4}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),H4(n)}clear(){this._buffer=void 0}};function H4(t){return Nj.parse(JSON.parse(t))}function NM(t){return JSON.stringify(t)+` -`}var Bc=class{constructor(e=Jw.default.stdin,n=Jw.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 Lc({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=NM(e);this._stdout.write(i)?n():this._stdout.once("drain",n)})}};var Yl=yr(vI());var AI=require("node:child_process"),bI=yr(require("node:fs")),Tx=yr(require("node:path"));var CI=12e4,$Y={flowFile:me.string().min(1).describe("Path to the TypeScript flow file")},xI=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:$Y},handler:async({flowFile:e})=>{let n=Tx.default.resolve(e);if(!bI.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=g=>{o||(o=!0,clearTimeout(u),a(g))},c=(0,AI.spawn)("node",i,{env:{...process.env,GENESYS_REGION:t.region,GENESYS_CLIENT_ID:t.clientId,GENESYS_CLIENT_SECRET:t.clientSecret},cwd:Tx.default.dirname(n),stdio:["ignore","pipe","pipe"]}),u=setTimeout(()=>{c.kill("SIGTERM"),l({isError:!0,content:[{type:"text",text:`Deploy timed out after ${CI/1e3}s. +]`;continue}a+=i[l],i[l]==="\\"?r=!0:s&&i[l]==="]"?s=!1:!s&&i[l]==="["&&(s=!0)}try{new RegExp(a)}catch{return console.warn(`Could not convert regex pattern at ${e.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),t.source}return a}function Bc(t,e){if(e.target==="openAi"&&console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead."),e.target==="openApi3"&&t.keyType?._def.typeName===E.ZodEnum)return{type:"object",required:t.keyType._def.values,properties:t.keyType._def.values.reduce((i,a)=>({...i,[a]:ee(t.valueType._def,{...e,currentPath:[...e.currentPath,"properties",a]})??Ke(e)}),{}),additionalProperties:e.rejectedAdditionalProperties};let n={type:"object",additionalProperties:ee(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}=$c(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}=Uc(t.keyType._def,e);return{...n,propertyNames:a}}}return n}function VO(t,e){if(e.mapStrategy==="record")return Bc(t,e);let n=ee(t.keyType._def,{...e,currentPath:[...e.currentPath,"items","items","0"]})||Ke(e),i=ee(t.valueType._def,{...e,currentPath:[...e.currentPath,"items","items","1"]})||Ke(e);return{type:"array",maxItems:125,items:{type:"array",items:[n,i],minItems:2,maxItems:2}}}function JO(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 KO(t){return t.target==="openAi"?void 0:{not:Ke({...t,currentPath:[...t.currentPath,"not"]})}}function ZO(t){return t.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var Fo={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function YO(t,e){if(e.target==="openApi3")return QO(t,e);let n=t.options instanceof Map?Array.from(t.options.values()):t.options;if(n.every(i=>i._def.typeName in Fo&&(!i._def.checks||!i._def.checks.length))){let i=n.reduce((a,r)=>{let s=Fo[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"];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 QO(t,e)}var QO=(t,e)=>{let n=(t.options instanceof Map?Array.from(t.options.values()):t.options).map((i,a)=>ee(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 XO(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:Fo[t.innerType._def.typeName],nullable:!0}:{type:[Fo[t.innerType._def.typeName],"null"]};if(e.target==="openApi3"){let i=ee(t.innerType._def,{...e,currentPath:[...e.currentPath]});return i&&"$ref"in i?{allOf:[i],nullable:!0}:i&&{...i,nullable:!0}}let n=ee(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}function eT(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",Vf(n,"type",i.message,e);break;case"min":e.target==="jsonSchema7"?i.inclusive?we(n,"minimum",i.value,i.message,e):we(n,"exclusiveMinimum",i.value,i.message,e):(i.inclusive||(n.exclusiveMinimum=!0),we(n,"minimum",i.value,i.message,e));break;case"max":e.target==="jsonSchema7"?i.inclusive?we(n,"maximum",i.value,i.message,e):we(n,"exclusiveMaximum",i.value,i.message,e):(i.inclusive||(n.exclusiveMaximum=!0),we(n,"maximum",i.value,i.message,e));break;case"multipleOf":we(n,"multipleOf",i.value,i.message,e);break}return n}function nT(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 c=eB(l);c&&n&&(l._def.typeName==="ZodOptional"&&(l=l._def.innerType),l.isNullable()||(l=l.nullable()),c=!1);let u=ee(l._def,{...e,currentPath:[...e.currentPath,"properties",o],propertyPath:[...e.currentPath,"properties",o]});u!==void 0&&(i.properties[o]=u,c||a.push(o))}a.length&&(i.required=a);let s=X$(t,e);return s!==void 0&&(i.additionalProperties=s),i}function X$(t,e){if(t.catchall._def.typeName!=="ZodNever")return ee(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 eB(t){try{return t.isOptional()}catch{return!0}}var iT=(t,e)=>{if(e.currentPath.toString()===e.propertyPath?.toString())return ee(t.innerType._def,e);let n=ee(t.innerType._def,{...e,currentPath:[...e.currentPath,"anyOf","1"]});return n?{anyOf:[{not:Ke(e)},n]}:Ke(e)};var tT=(t,e)=>{if(e.pipeStrategy==="input")return ee(t.in._def,e);if(e.pipeStrategy==="output")return ee(t.out._def,e);let n=ee(t.in._def,{...e,currentPath:[...e.currentPath,"allOf","0"]}),i=ee(t.out._def,{...e,currentPath:[...e.currentPath,"allOf",n?"1":"0"]});return{allOf:[n,i].filter(a=>a!==void 0)}};function aT(t,e){return ee(t.type._def,e)}function rT(t,e){let i={type:"array",uniqueItems:!0,items:ee(t.valueType._def,{...e,currentPath:[...e.currentPath,"items"]})};return t.minSize&&we(i,"minItems",t.minSize.value,t.minSize.message,e),t.maxSize&&we(i,"maxItems",t.maxSize.value,t.maxSize.message,e),i}function sT(t,e){return t.rest?{type:"array",minItems:t.items.length,items:t.items.map((n,i)=>ee(n._def,{...e,currentPath:[...e.currentPath,"items",`${i}`]})).reduce((n,i)=>i===void 0?n:[...n,i],[]),additionalItems:ee(t.rest._def,{...e,currentPath:[...e.currentPath,"additionalItems"]})}:{type:"array",minItems:t.items.length,maxItems:t.items.length,items:t.items.map((n,i)=>ee(n._def,{...e,currentPath:[...e.currentPath,"items",`${i}`]})).reduce((n,i)=>i===void 0?n:[...n,i],[])}}function oT(t){return{not:Ke(t)}}function lT(t){return Ke(t)}var uT=(t,e)=>ee(t.innerType._def,e);var cT=(t,e,n)=>{switch(e){case E.ZodString:return $c(t,n);case E.ZodNumber:return eT(t,n);case E.ZodObject:return nT(t,n);case E.ZodBigInt:return zO(t,n);case E.ZodBoolean:return DO();case E.ZodDate:return Jf(t,n);case E.ZodUndefined:return oT(n);case E.ZodNull:return ZO(n);case E.ZodArray:return IO(t,n);case E.ZodUnion:case E.ZodDiscriminatedUnion:return YO(t,n);case E.ZodIntersection:return BO(t,n);case E.ZodTuple:return sT(t,n);case E.ZodRecord:return Bc(t,n);case E.ZodLiteral:return LO(t,n);case E.ZodEnum:return $O(t);case E.ZodNativeEnum:return JO(t);case E.ZodNullable:return XO(t,n);case E.ZodOptional:return iT(t,n);case E.ZodMap:return VO(t,n);case E.ZodSet:return rT(t,n);case E.ZodLazy:return()=>t.getter()._def;case E.ZodPromise:return aT(t,n);case E.ZodNaN:case E.ZodNever:return KO(n);case E.ZodEffects:return UO(t,n);case E.ZodAny:return Ke(n);case E.ZodUnknown:return lT(n);case E.ZodDefault:return NO(t,n);case E.ZodBranded:return Uc(t,n);case E.ZodReadonly:return uT(t,n);case E.ZodCatch:return GO(t,n);case E.ZodPipeline:return tT(t,n);case E.ZodFunction:case E.ZodVoid:case E.ZodSymbol:return;default:return(i=>{})(e)}};function ee(t,e,n=!1){let i=e.seen.get(t);if(e.override){let o=e.override?.(t,e,i,n);if(o!==HO)return o}if(i&&!n){let o=nB(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=cT(t,t.typeName,e),s=typeof r=="function"?ee(r(),e):r;if(s&&iB(t,e,s),e.postProcess){let o=e.postProcess(s,t,e);return a.jsonSchema=s,o}return a.jsonSchema=s,s}var nB=(t,e)=>{switch(e.$refStrategy){case"root":return{$ref:t.path.join("/")};case"relative":return{$ref:Nc(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`),Ke(e)):e.$refStrategy==="seen"?Ke(e):void 0}},iB=(t,e,n)=>(t.description&&(n.description=t.description,e.markdownDescription&&(n.markdownDescription=t.description)),n);var Qf=(t,e)=>{let n=RO(e),i=typeof e=="object"&&e.definitions?Object.entries(e.definitions).reduce((l,[c,u])=>({...l,[c]:ee(u._def,{...n,currentPath:[...n.basePath,n.definitionPath,c]},!0)??Ke(n)}),{}):void 0,a=typeof e=="string"?e:e?.nameStrategy==="title"?void 0:e?.name,r=ee(t._def,a===void 0?n:{...n,currentPath:[...n.basePath,n.definitionPath,a]},!1)??Ke(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 tB(t){return!t||t==="jsonSchema7"||t==="draft-7"?"draft-7":t==="jsonSchema2019-09"||t==="draft-2020-12"?"draft-2020-12":"draft-7"}function Yf(t,e){return Ct(t)?jf(t,{target:tB(e?.target),io:e?.pipeStrategy??"input"}):Qf(t,{strictUnions:e?.strictUnions??!0,pipeStrategy:e?.pipeStrategy??"input"})}function Xf(t){let n=sa(t)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=rs(n);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function ew(t,e){let n=ra(t,e);if(!n.success)throw n.error;return n.data}var aB=6e4,Lc=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(Pc,n=>{this._oncancel(n)}),this.setNotificationHandler(Sc,n=>{this._onprogress(n)}),this.setRequestHandler(jc,n=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Oc,async(n,i)=>{let a=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!a)throw new B(J.InvalidParams,"Failed to retrieve task: Task not found");return{...a}}),this.setRequestHandler(kc,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,c=l.id,u=this._requestResolvers.get(c);if(u)if(this._requestResolvers.delete(c),o.type==="response")u(l);else{let p=l,h=new B(p.error.code,p.error.message,p.error.data);u(h)}else{let p=o.type==="response"?"Response":"Error";this._onerror(new Error(`${p} handler missing for request ${c}`))}continue}await this._transport?.send(o.message,{relatedRequestId:i.requestId})}}let s=await this._taskStore.getTask(r,i.sessionId);if(!s)throw new B(J.InvalidParams,`Task not found: ${r}`);if(!la(s.status))return await this._waitForTaskUpdate(r,i.signal),await a();if(la(s.status)){let o=await this._taskStore.getTaskResult(r,i.sessionId);return this._clearTaskQueue(r),{...o,_meta:{...o._meta,[oa]:{taskId:r}}}}return await a()};return await a()}),this.setRequestHandler(Mc,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 B(J.InvalidParams,`Failed to list tasks: ${a instanceof Error?a.message:String(a)}`)}}),this.setRequestHandler(qc,async(n,i)=>{try{let a=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!a)throw new B(J.InvalidParams,`Task not found: ${n.params.taskId}`);if(la(a.status))throw new B(J.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 B(J.InvalidParams,`Task not found after cancellation: ${n.params.taskId}`);return{_meta:{},...r}}catch(a){throw a instanceof B?a:new B(J.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),B.fromError(J.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),Io(r)||xO(r)?this._onresponse(r):_f(r)?this._onrequest(r,s):bO(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=B.fromError(J.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?.[oa]?.taskId;if(i===void 0){let u={jsonrpc:"2.0",id:e.id,error:{code:J.MethodNotFound,message:"Method not found"}};r&&this._taskMessageQueue?this._enqueueTaskMessage(r,{type:"error",message:u,timestamp:Date.now()},a?.sessionId).catch(p=>this._onerror(new Error(`Failed to enqueue error response: ${p}`))):a?.send(u).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=vO(e.params)?e.params.task:void 0,l=this._taskStore?this.requestTaskStore(e,a?.sessionId):void 0,c={signal:s.signal,sessionId:a?.sessionId,_meta:e.params?._meta,sendNotification:async u=>{if(s.signal.aborted)return;let p={relatedRequestId:e.id};r&&(p.relatedTask={taskId:r}),await this.notification(u,p)},sendRequest:async(u,p,h)=>{if(s.signal.aborted)throw new B(J.ConnectionClosed,"Request was cancelled");let g={...h,relatedRequestId:e.id};r&&!g.relatedTask&&(g.relatedTask={taskId:r});let d=g.relatedTask?.taskId??r;return d&&l&&await l.updateTaskStatus(d,"input_required"),await this.request(u,p,g)},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,c)).then(async u=>{if(s.signal.aborted)return;let p={result:u,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 u=>{if(s.signal.aborted)return;let p={jsonrpc:"2.0",id:e.id,error:{code:Number.isSafeInteger(u.code)?u.code:J.InternalError,message:u.message??"Internal error",...u.data!==void 0&&{data:u.data}}};r&&this._taskMessageQueue?await this._enqueueTaskMessage(r,{type:"error",message:p,timestamp:Date.now()},a?.sessionId):await a?.send(p)}).catch(u=>this._onerror(new Error(`Failed to send response: ${u}`))).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),Io(e))i(e);else{let s=new B(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(Io(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),Io(e))a(e);else{let s=B.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 B?s:new B(J.InternalError,String(s))}}return}let r;try{let s=await this.request(e,os,i);if(s.task)r=s.task.taskId,yield{type:"taskCreated",task:s.task};else throw new B(J.InternalError,"Task creation did not return a task");for(;;){let o=await this.getTask({taskId:r},i);if(yield{type:"taskStatus",task:o},la(o.status)){o.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:r},n,i)}:o.status==="failed"?yield{type:"error",error:new B(J.InternalError,`Task ${r} failed`)}:o.status==="cancelled"&&(yield{type:"error",error:new B(J.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(c=>setTimeout(c,l)),i?.signal?.throwIfAborted()}}catch(s){yield{type:"error",error:s instanceof B?s:new B(J.InternalError,String(s))}}}request(e,n,i){let{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s,task:o,relatedTask:l}=i??{};return new Promise((c,u)=>{let p=A=>{u(A)};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(A){p(A);return}i?.signal?.throwIfAborted();let h=this._requestMessageId++,g={...e,jsonrpc:"2.0",id:h};i?.onprogress&&(this._progressHandlers.set(h,i.onprogress),g.params={...e.params,_meta:{...e.params?._meta||{},progressToken:h}}),o&&(g.params={...g.params,task:o}),l&&(g.params={...g.params,_meta:{...g.params?._meta||{},[oa]:l}});let d=A=>{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(A)}},{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s}).catch(x=>this._onerror(new Error(`Failed to send cancellation: ${x}`)));let b=A instanceof B?A:new B(J.RequestTimeout,String(A));u(b)};this._responseHandlers.set(h,A=>{if(!i?.signal?.aborted){if(A instanceof Error)return u(A);try{let b=ra(n,A.result);b.success?c(b.data):u(b.error)}catch(b){u(b)}}}),i?.signal?.addEventListener("abort",()=>{d(i?.signal?.reason)});let m=i?.timeout??aB,w=()=>d(B.fromError(J.RequestTimeout,"Request timed out",{timeout:m}));this._setupTimeout(h,m,i?.maxTotalTimeout,w,i?.resetTimeoutOnProgress??!1);let f=l?.taskId;if(f){let A=b=>{let x=this._responseHandlers.get(h);x?x(b):this._onerror(new Error(`Response handler missing for side-channeled request ${h}`))};this._requestResolvers.set(h,A),this._enqueueTaskMessage(f,{type:"request",message:g,timestamp:Date.now()}).catch(b=>{this._cleanupTimeout(h),u(b)})}else this._transport.send(g,{relatedRequestId:a,resumptionToken:r,onresumptiontoken:s}).catch(A=>{this._cleanupTimeout(h),u(A)})})}async getTask(e,n){return this.request({method:"tasks/get",params:e},Tc,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},Ec,n)}async cancelTask(e,n){return this.request({method:"tasks/cancel",params:e},jO,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||{},[oa]: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||{},[oa]: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||{},[oa]:n.relatedTask}}}),await this._transport.send(s,n)}setRequestHandler(e,n){let i=Xf(e);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(a,r)=>{let s=ew(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=Xf(e);this._notificationHandlers.set(i,a=>{let r=ew(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"&&_f(a.message)){let r=a.message.id,s=this._requestResolvers.get(r);s?(s(new B(J.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 B(J.InvalidRequest,"Request cancelled"));return}let s=setTimeout(a,i);n.addEventListener("abort",()=>{clearTimeout(s),r(new B(J.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 B(J.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),la(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 B(J.InvalidParams,`Task "${a}" not found - it may have been cleaned up`);if(la(o.status))throw new B(J.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 c=Uo.parse({method:"notifications/tasks/status",params:l});await this.notification(c),la(l.status)&&this._cleanupTaskProgressHandler(a)}},listTasks:a=>i.listTasks(a,n)}}};function pT(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function dT(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];pT(s)&&pT(r)?n[a]={...s,...r}:n[a]=r}return n}var pM=zr(Fv(),1),dM=zr(cM(),1);function mJ(){let t=new pM.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return(0,dM.default)(t),t}var Tp=class{constructor(e){this._ajv=e??mJ()}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 kp=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(u=>u.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]:[],c=l.some(u=>u.type==="tool_use");if(s){if(r.some(u=>u.type!=="tool_result"))throw new Error("The last message must contain only tool_result content if any is present");if(!c)throw new Error("tool_result blocks are not matching any tool_use from the previous message")}if(c){let u=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(u.size!==p.size||![...u].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},Lo,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},cs,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 hM(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 gM(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 Mp=class extends Lc{constructor(e,n){super(n),this._serverInfo=e,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(Bo.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(If,()=>this.oninitialized?.()),this._capabilities.logging&&this.setRequestHandler(Bf,async(i,a)=>{let r=a.sessionId||a.requestInfo?.headers["mcp-session-id"]||void 0,{level:s}=i.params,o=Bo.safeParse(s);return o.success&&this._loggingLevels.set(r,o.data),{}})}get experimental(){return this._experimental||(this._experimental={tasks:new kp(this)}),this._experimental}registerCapabilities(e){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");this._capabilities=dT(this._capabilities,e)}setRequestHandler(e,n){let a=sa(e)?.method;if(!a)throw new Error("Schema is missing a method literal");let r=rs(a);if(typeof r!="string")throw new Error("Schema method literal must be a string");if(r==="tools/call"){let o=async(l,c)=>{let u=ra(us,l);if(!u.success){let d=u.error instanceof Error?u.error.message:String(u.error);throw new B(J.InvalidParams,`Invalid tools/call request: ${d}`)}let{params:p}=u.data,h=await Promise.resolve(n(l,c));if(p.task){let d=ra(os,h);if(!d.success){let m=d.error instanceof Error?d.error.message:String(d.error);throw new B(J.InvalidParams,`Invalid task creation result: ${m}`)}return d.data}let g=ra(Dc,h);if(!g.success){let d=g.error instanceof Error?g.error.message:String(g.error);throw new B(J.InvalidParams,`Invalid tools/call result: ${d}`)}return g.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){gM(this._clientCapabilities?.tasks?.requests,e,"Client")}assertTaskHandlerCapability(e){this._capabilities&&hM(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:mO.includes(n)?n:Ef,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"},yc)}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(c=>c.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(c=>c.type==="tool_use");if(r){if(a.some(c=>c.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 c=new Set(o.filter(p=>p.type==="tool_use").map(p=>p.id)),u=new Set(a.filter(p=>p.type==="tool_result").map(p=>p.toolUseId));if(c.size!==u.size||![...c].every(p=>u.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},Lf,n):this.request({method:"sampling/createMessage",params:e},Lo,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},cs,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},cs,n);if(r.action==="accept"&&r.content&&a.requestedSchema)try{let o=this._jsonSchemaValidator.getValidator(a.requestedSchema)(r.content);if(!o.valid)throw new B(J.InvalidParams,`Elicitation response content does not match requested schema: ${o.errorMessage}`)}catch(s){throw s instanceof B?s:new B(J.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},Ff,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 fM=Symbol.for("mcp.completable");function eC(t){return!!t&&typeof t=="object"&&fM in t}function wM(t){return t[fM]?.complete}var mM;(function(t){t.Completable="McpCompletable"})(mM||(mM={}));var fJ=/^[A-Za-z0-9._-]{1,128}$/;function wJ(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"),!fJ.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 vJ(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 nC(t){let e=wJ(t);return vJ(t,e.warnings),e.isValid}var Ep=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 qp=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 Mp(e,n)}get experimental(){return this._experimental||(this._experimental={tasks:new Ep(this)}),this._experimental}async connect(e){return await this.server.connect(e)}async close(){await this.server.close()}setToolRequestHandlers(){this._toolHandlersInitialized||(this.server.assertCanSetRequestHandler(wa(zc)),this.server.assertCanSetRequestHandler(wa(us)),this.server.registerCapabilities({tools:{listChanged:!0}}),this.server.setRequestHandler(zc,()=>({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=as(n.inputSchema);return a?Yf(a,{strictUnions:!0,pipeStrategy:"input"}):CJ})(),annotations:n.annotations,execution:n.execution,_meta:n._meta};if(n.outputSchema){let a=as(n.outputSchema);a&&(i.outputSchema=Yf(a,{strictUnions:!0,pipeStrategy:"output"}))}return i})})),this.server.setRequestHandler(us,async(e,n)=>{try{let i=this._registeredTools[e.params.name];if(!i)throw new B(J.InvalidParams,`Tool ${e.params.name} not found`);if(!i.enabled)throw new B(J.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 B(J.InternalError,`Tool ${e.params.name} has taskSupport '${r}' but was not registered with registerToolTask`);if(r==="required"&&!a)throw new B(J.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 B&&i.code===J.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=as(e.inputSchema)??e.inputSchema,s=await dc(r,n);if(!s.success){let o="error"in s?s.error:"Unknown error",l=hc(o);throw new B(J.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 B(J.InvalidParams,`Output validation error: Tool ${i} has an output schema but no structured content was provided`);let a=as(e.outputSchema),r=await dc(a,n.structuredContent);if(!r.success){let s="error"in r?r.error:"Unknown error",o=hc(s);throw new B(J.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,c=o.task,u=c.pollInterval??5e3;for(;c.status!=="completed"&&c.status!=="failed"&&c.status!=="cancelled";){await new Promise(h=>setTimeout(h,u));let p=await i.taskStore.getTask(l);if(!p)throw new B(J.InternalError,`Task ${l} not found during polling`);c=p}return await i.taskStore.getTaskResult(l)}setCompletionRequestHandler(){this._completionHandlerInitialized||(this.server.assertCanSetRequestHandler(wa(Gc)),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler(Gc,async e=>{switch(e.params.ref.type){case"ref/prompt":return EO(e),this.handlePromptCompletion(e,e.params.ref);case"ref/resource":return qO(e),this.handleResourceCompletion(e,e.params.ref);default:throw new B(J.InvalidParams,`Invalid completion reference: ${e.params.ref}`)}}),this._completionHandlerInitialized=!0)}async handlePromptCompletion(e,n){let i=this._registeredPrompts[n.name];if(!i)throw new B(J.InvalidParams,`Prompt ${n.name} not found`);if(!i.enabled)throw new B(J.InvalidParams,`Prompt ${n.name} disabled`);if(!i.argsSchema)return yl;let r=sa(i.argsSchema)?.[e.params.argument.name];if(!eC(r))return yl;let s=wM(r);if(!s)return yl;let o=await s(e.params.argument.value,e.params.context);return CM(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 yl;throw new B(J.InvalidParams,`Resource template ${e.params.ref.uri} not found`)}let a=i.resourceTemplate.completeCallback(e.params.argument.name);if(!a)return yl;let r=await a(e.params.argument.value,e.params.context);return CM(r)}setResourceRequestHandlers(){this._resourceHandlersInitialized||(this.server.assertCanSetRequestHandler(wa(_c)),this.server.assertCanSetRequestHandler(wa(Hc)),this.server.assertCanSetRequestHandler(wa(Wc)),this.server.registerCapabilities({resources:{listChanged:!0}}),this.server.setRequestHandler(_c,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(Hc,async()=>({resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([n,i])=>({name:n,uriTemplate:i.resourceTemplate.uriTemplate.toString(),...i.metadata}))})),this.server.setRequestHandler(Wc,async(e,n)=>{let i=new URL(e.params.uri),a=this._registeredResources[i.toString()];if(a){if(!a.enabled)throw new B(J.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 B(J.InvalidParams,`Resource ${i} not found`)}),this._resourceHandlersInitialized=!0)}setPromptRequestHandlers(){this._promptHandlersInitialized||(this.server.assertCanSetRequestHandler(wa(Rc)),this.server.assertCanSetRequestHandler(wa(Ic)),this.server.registerCapabilities({prompts:{listChanged:!0}}),this.server.setRequestHandler(Rc,()=>({prompts:Object.entries(this._registeredPrompts).filter(([,e])=>e.enabled).map(([e,n])=>({name:e,title:n.title,description:n.description,arguments:n.argsSchema?AJ(n.argsSchema):void 0}))})),this.server.setRequestHandler(Ic,async(e,n)=>{let i=this._registeredPrompts[e.params.name];if(!i)throw new B(J.InvalidParams,`Prompt ${e.params.name} not found`);if(!i.enabled)throw new B(J.InvalidParams,`Prompt ${e.params.name} disabled`);if(i.argsSchema){let a=as(i.argsSchema),r=await dc(a,e.params.arguments);if(!r.success){let l="error"in r?r.error:"Unknown error",c=hc(l);throw new B(J.InvalidParams,`Invalid arguments for prompt ${e.params.name}: ${c}`)}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:c=>{typeof c.name<"u"&&c.name!==e&&(delete this._registeredResourceTemplates[e],c.name&&(this._registeredResourceTemplates[c.name]=s)),typeof c.title<"u"&&(s.title=c.title),typeof c.template<"u"&&(s.resourceTemplate=c.template),typeof c.metadata<"u"&&(s.metadata=c.metadata),typeof c.callback<"u"&&(s.readCallback=c.callback),typeof c.enabled<"u"&&(s.enabled=c.enabled),this.sendResourceListChanged()}};this._registeredResourceTemplates[e]=s;let o=i.uriTemplate.variableNames;return Array.isArray(o)&&o.some(c=>!!i.completeCallback(c))&&this.setCompletionRequestHandler(),s}_createRegisteredPrompt(e,n,i,a,r){let s={title:n,description:i,argsSchema:a===void 0?void 0:Ya(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=Ya(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 c=l instanceof vc?l._def?.innerType:l;return eC(c)})&&this.setCompletionRequestHandler(),s}_createRegisteredTool(e,n,i,a,r,s,o,l,c){nC(e);let u={title:n,description:i,inputSchema:vM(a),outputSchema:vM(r),annotations:s,execution:o,_meta:l,handler:c,enabled:!0,disable:()=>u.update({enabled:!1}),enable:()=>u.update({enabled:!0}),remove:()=>u.update({name:null}),update:p=>{typeof p.name<"u"&&p.name!==e&&(typeof p.name=="string"&&nC(p.name),delete this._registeredTools[e],p.name&&(this._registeredTools[p.name]=u)),typeof p.title<"u"&&(u.title=p.title),typeof p.description<"u"&&(u.description=p.description),typeof p.paramsSchema<"u"&&(u.inputSchema=Ya(p.paramsSchema)),typeof p.outputSchema<"u"&&(u.outputSchema=Ya(p.outputSchema)),typeof p.callback<"u"&&(u.handler=p.callback),typeof p.annotations<"u"&&(u.annotations=p.annotations),typeof p._meta<"u"&&(u._meta=p._meta),typeof p.enabled<"u"&&(u.enabled=p.enabled),this.sendToolListChanged()}};return this._registeredTools[e]=u,this.setToolRequestHandlers(),this.sendToolListChanged(),u}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(iC(l))a=n.shift(),n.length>1&&typeof n[0]=="object"&&n[0]!==null&&!iC(n[0])&&(s=n.shift());else if(typeof l=="object"&&l!==null){if(Object.values(l).some(c=>typeof c=="object"&&c!==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:c}=n;return this._createRegisteredTool(e,a,r,s,o,l,{taskSupport:"forbidden"},c,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 CJ={type:"object",properties:{}};function AM(t){return t!==null&&typeof t=="object"&&"parse"in t&&typeof t.parse=="function"&&"safeParse"in t&&typeof t.safeParse=="function"}function bM(t){return"_def"in t||"_zod"in t||AM(t)}function iC(t){return typeof t!="object"||t===null||bM(t)?!1:Object.keys(t).length===0?!0:Object.values(t).some(AM)}function vM(t){if(t){if(iC(t))return Ya(t);if(!bM(t))throw new Error("inputSchema must be a Zod schema or raw shape, received an unrecognized object");return t}}function AJ(t){let e=sa(t);return e?Object.entries(e).map(([n,i])=>{let a=DS(i),r=GS(i);return{name:n,description:a,required:!r}}):[]}function wa(t){let n=sa(t)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=rs(n);if(typeof i=="string")return i;throw new Error("Schema method literal must be a string")}function CM(t){return{completion:{values:t.slice(0,100),total:t.length,hasMore:t.length>100}}}var yl={completion:{values:[],hasMore:!1}};var tC=zr(require("node:process"),1);var bJ=10*1024*1024,_p=class{constructor(e){this._maxBufferSize=e?.maxBufferSize??bJ}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),xJ(n)}clear(){this._buffer=void 0}};function xJ(t){return yO.parse(JSON.parse(t))}function xM(t){return JSON.stringify(t)+` +`}var Hp=class{constructor(e=tC.default.stdin,n=tC.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 _p({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=xM(e);this._stdout.write(i)?n():this._stdout.once("drain",n)})}};var ju=zr(p1());var h1=require("node:child_process"),g1=zr(require("node:fs")),Wy=zr(require("node:path"));var d1=12e4,zne={flowFile:te.string().min(1).describe("Path to the TypeScript flow file")},m1=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:zne},handler:async({flowFile:e})=>{let n=Wy.default.resolve(e);if(!g1.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=g=>{o||(o=!0,clearTimeout(u),a(g))},c=(0,h1.spawn)("node",i,{env:{...process.env,GENESYS_REGION:t.region,GENESYS_CLIENT_ID:t.clientId,GENESYS_CLIENT_SECRET:t.clientSecret},cwd:Wy.default.dirname(n),stdio:["ignore","pipe","pipe"]}),u=setTimeout(()=>{c.kill("SIGTERM"),l({isError:!0,content:[{type:"text",text:`Deploy timed out after ${d1/1e3}s. Logs: ${r.join(` -`)}`}]})},CI);c.on("error",g=>{l({isError:!0,content:[{type:"text",text:`Failed to start deploy runner: ${g.message}`}]})});let d="";c.stdout.on("data",g=>{d+=g.toString();let p=d.split(` -`);d=p.pop()??"";for(let m of p)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="";c.stderr.on("data",g=>{h+=g.toString()}),c.on("close",g=>{if(d.trim())try{let f=JSON.parse(d.trim());f.type==="result"?s=f:f.type==="log"&&r.push(`[${f.level}] ${f.message}`)}catch{d.trim()&&r.push(d.trim())}let p=h.split(` -`).filter(f=>!f.includes("url.parse()")&&!f.includes("[DEP0169]")).join(` -`).trim();p&&r.push(`[stderr] ${p}`);let m=r.length?` +`)}`}]})},d1);c.on("error",g=>{l({isError:!0,content:[{type:"text",text:`Failed to start deploy runner: ${g.message}`}]})});let p="";c.stdout.on("data",g=>{p+=g.toString();let d=p.split(` +`);p=d.pop()??"";for(let m of d)if(m.trim())try{let w=JSON.parse(m);w.type==="log"?r.push(`[${w.level}] ${w.message}`):w.type==="result"&&(s=w)}catch{r.push(m)}});let h="";c.stderr.on("data",g=>{h+=g.toString()}),c.on("close",g=>{if(p.trim())try{let w=JSON.parse(p.trim());w.type==="result"?s=w:w.type==="log"&&r.push(`[${w.level}] ${w.message}`)}catch{p.trim()&&r.push(p.trim())}let d=h.split(` +`).filter(w=>!w.includes("url.parse()")&&!w.includes("[DEP0169]")).join(` +`).trim();d&&r.push(`[stderr] ${d}`);let m=r.length?` Logs: ${r.join(` -`)}`:"";if(s?.success){let f=["Flow deployed successfully."];s.flowId&&f.push(`Flow ID: ${s.flowId}`),s.flowName&&f.push(`Flow Name: ${s.flowName}`),s.warnings?.length&&f.push(` +`)}`:"";if(s?.success){let w=["Flow deployed successfully."];s.flowId&&w.push(`Flow ID: ${s.flowId}`),s.flowName&&w.push(`Flow Name: ${s.flowName}`),s.warnings?.length&&w.push(` Validation warnings: ${s.warnings.join(` -`)}`),l({content:[{type:"text",text:f.join(` -`)+m}]})}else{let f=s?.error??`Deploy runner exited with code ${g}`;l({isError:!0,content:[{type:"text",text:`Deploy failed: ${f}${m}`}]})}})})}});function Zl(t){if(t===null||typeof t!="object")return{message:String(t)};let e="status"in t&&typeof t.status=="number"?t.status:void 0,n="code"in t&&typeof t.code=="string"&&t.code.length>0?t.code:void 0,i="message"in t&&typeof t.message=="string"&&t.message.length>0?t.message:void 0;return{status:e,code:n,message:i}}function Is(t){let{status:e,code:n,message:i}=Zl(t),a=[];return e!==void 0?a.push(`HTTP ${e}${n?` (${n})`:""}`):n&&a.push(n),i&&a.push(i),a.length>0?a.join(": "):"Unknown error"}function Ws(t,e){return(t.name??"").toLowerCase()===e.toLowerCase()}function Sd(t,e){return t.slice().sort((n,i)=>Number(Ws(i,e))-Number(Ws(n,e)))}var LY=50,BY=200;function FY(t){return{id:t.id??"",name:t.name,type:t.type??"",publishedVersion:t.publishedVersion?.commitVersion??null,...t.description?{description:t.description}:{}}}var VY={name:me.string().min(1).describe("The flow name, or a portion of it, to search for. Matched case-insensitively against flow names, so a partial name like 'payment' finds 'Book_Payment'."),type:me.array(me.string()).optional().describe('Optional flow types to restrict the search to, e.g. ["inboundcall"], ["bot", "digitalbot"], ["workflow"]. Omit to search flows of every type.')},yI=({architectApi:t})=>({config:{description:"Finds Genesys Cloud Architect flows by name, resolving the human-readable name users know (e.g. 'Book_Payment') to the flow id every other flow tool requires. Returns each matching flow's id, name, type and published version. Matching is a case-insensitive search over flow names that accepts a portion of the name; flows whose name equals the query exactly are listed first. The returned id is accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies. A publishedVersion of null means the flow has never been published.",annotations:{title:"Find Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:VY},handler:async({name:e,type:n})=>{try{let i=[],a=0,r=1;for(;;){let c=await t.getFlows({name:e,pageSize:100,pageNumber:r,...n?.length?{type:n}:{}});if(c.entities&&i.push(...c.entities),a=c.total??a,!c.nextUri||i.length>=BY)break;r++}a=Math.max(a,i.length);let s=Sd(i,e).slice(0,LY),o=[];if(s.length===0)o.push(`No flows matched "${e}". The search already accepts a portion of the name, so try a shorter fragment, or drop the type filter if one was given.`);else if(a>s.length){let c=`${a} flows matched; only ${s.length} are returned${Ws(s[0],e)?", exact name matches first":""}.`;i.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(i){return{isError:!0,content:[{type:"text",text:`Failed to search for flows: ${Is(i)}`}]}}}});var JY=50,ZY=200;function KY(t){return`*${t.trim().replace(/^\*+|\*+$/g,"")}*`}function Od(t){if(t?.id)return{id:t.id,...t.name?{name:t.name}:{}}}function QY(t){let e=Od(t.queueFlow),n=Od(t.emailInQueueFlow),i=Od(t.messageInQueueFlow);return{id:t.id??"",name:t.name??"",division:Od(t.division)??null,memberCount:t.memberCount??null,joinedMemberCount:t.joinedMemberCount??null,dateModified:t.dateModified??null,...t.description?{description:t.description}:{},...e?{queueFlow:e}:{},...n?{emailInQueueFlow:n}:{},...i?{messageInQueueFlow:i}:{}}}var YY={name:me.string().min(1).describe("The queue name, or a portion of it, to search for. Matched case-insensitively against queue names, so a partial name like 'sales' finds 'UK_Sales'. Wildcards are added automatically; do not include asterisks.")},PI=({routingApi:t})=>({config:{description:"Finds Genesys Cloud routing queues by name, resolving the human-readable name users know (e.g. 'Sales') to the queue's id and exact name. Returns each matching queue's id, name, division (id and name), memberCount (agents configured on the queue), joinedMemberCount (agents currently joined and taking work), dateModified and, when configured, its in-queue flows (queueFlow for calls, emailInQueueFlow, messageInQueueFlow). Matching is a case-insensitive search that accepts a portion of the name; queues whose name equals the query exactly are listed first. When several similarly named queues match, dateModified and the member counts help tell a live queue from an abandoned one. Use the returned exact name as the search_in_flow query to find the actions in a flow that transfer to the queue. The in-queue flow ids are accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies.",annotations:{title:"Find Queue",readOnlyHint:!0,destructiveHint:!1},inputSchema:YY},handler:async({name:e})=>{try{let n=[],i=KY(e),a=0,r=1;for(;;){let c=await t.getRoutingQueues({name:i,pageSize:100,pageNumber:r});if(c.entities&&n.push(...c.entities),a=c.total??a,!c.nextUri||n.length>=ZY)break;r++}a=Math.max(a,n.length);let s=Sd(n,e).slice(0,JY),o=[];if(s.length===0)o.push(`No queues matched "${e}". The search already accepts a portion of the name, so try a shorter fragment.`);else if(a>s.length){let c=`${a} queues matched; only ${s.length} are returned${Ws(s[0],e)?", exact name matches first":""}.`;n.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(n){let i=Zl(n).status===403?" The OAuth client needs the 'Routing > Queue > View' permission.":"";return{isError:!0,content:[{type:"text",text:`Failed to search for queues: ${Is(n)}${i}`}]}}}});var XY=di;(function(t,e){let n=di,i=t();for(;;)try{if(-parseInt(n(497,"w^Vz"))/1*(-parseInt(n(501,"tF(0"))/2)+parseInt(n(499,"[HTK"))/3+-parseInt(n(498,"GoPu"))/4+parseInt(n(500,"3t2F"))/5+parseInt(n(494,"wA7("))/6+-parseInt(n(495,"BOoE"))/7+-parseInt(n(505,"[Ouz"))/8===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Td,556128);var Rt=t=>t+XY(507,"wA7("),zs=(t,e)=>t+"::"+e;function di(t,e){t=t-494;let n=Td(),i=n[t];if(di.QUTseA===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;hm[a(419,"W^S2")]+" "+m.to)),o=new Map,l=new Map,c=new Map,u=new Map;for(let m of t[a(363,"N&vi")][a(364,"iOD%")]())if(r[a(431,"VIsF")](r[a(361,"Xx$^")],r[a(362,"KON!")])){let f=_0x274ace[a(358,"qM@5")]+" "+(_0x56293f[a(446,"4qK$")]??"")+" "+_0x201c1b,w=_0x3dfd0c[a(408,"9ZJJ")](_0x2e129a.to);w&&!w[a(396,"73Ov")](f)&&(w[a(457,"OaEG")](f),_0x238df3[a(372,"me6Y")]({id:_0x1bb161[a(438,"PD48")],label:_0x4fac85[a(426,"OaEG")],backEdge:_0x94629e}))}else o[a(436,"$Vu7")](m,[]),l[a(405,"aK(Z")](m,new Set),c[a(380,"iMwA")](m,[]),u[a(388,"etx9")](m,new Set);for(let m of t[a(406,"aK(Z")])if(a(393,"W^S2")!==a(421,"i#2*")){let f=s[a(416,"w9nQ")](m[a(433,"w9nQ")]+" "+m.to),w=o[a(403,"5Uwx")](m.to);if(w){let A=m[a(443,"iLYK")]+" "+(m[a(422,"$Vu7")]??"")+" "+f,x=l[a(365,"Yd]n")](m.to);x&&!x[a(425,"j#dl")](A)&&(x[a(455,"v1j1")](A),w[a(395,"aK(Z")]({id:m[a(449,"N3T5")],label:m[a(370,"FmJI")],backEdge:f}))}let b=c[a(458,"j#dl")](m[a(412,"!)QE")]);if(b){let A=m.to+" "+(m[a(369,"%KPl")]??"")+" "+f,x=u[a(440,"e6Bp")](m[a(417,"#kLB")]);x&&!x[a(435,"Yd]n")](A)&&(x[a(459,"me6Y")](A),b[a(456,"#$cH")]({id:m.to,label:m[a(376,"v1j1")],backEdge:f}))}}else _0xebb459[a(359,"5Uwx")](_0x1d4257,[]),_0x93052[a(380,"iMwA")](_0x2bc84e,new _0x316a92),_0x2f6b0e[a(388,"etx9")](_0x123d77,[]),_0x9d8ba[a(357,"w9nQ")](_0x5be113,new _0x21dcb1);let d=-1;for(let m of e[a(410,"j#dl")][a(374,"!)QE")]())a(368,"5Uwx")===r[a(444,"xhhx")]?m>d&&(d=m):(_0x11690a[a(411,"8Qk2")](_0x13c6d4),_0x3a17d[a(389,"iOD%")]({id:_0x3b7ded.to,label:_0x1de0e3[a(432,"qM@5")],backEdge:_0x321cd0}));let h=d+1,g=[];for(let[m,f]of t[a(398,"UphF")])if(r[a(402,"vho&")](a(415,"77Q["),a(401,"k2Vl"))){let w=e[a(410,"j#dl")][a(383,"UphF")](m),b=w?e[a(453,"PAZA")][a(428,"Ueys")](m):h++;g[a(409,"VIsF")]({id:m,kind:f[a(400,"e6Bp")],actionType:f[a(373,"Yd]n")],label:f[a(434,"Yd]n")],description:f[a(360,"Ueys")],predecessors:o[a(354,"vho&")](m)??[],successors:c[a(458,"j#dl")](m)??[],order:b,taskId:f[a(441,"z(%^")],taskName:f[a(366,"9ZJJ")],reachable:w,terminal:f[a(418,"A@E1")]})}else{let w=_0x1aa887.to+" "+(_0x17dbb6[a(376,"v1j1")]??"")+" "+_0xe97a04,b=_0x287751[a(420,"73Ov")](_0x1721b3[a(447,"4qK$")]);b&&!b[a(367,"9ZJJ")](w)&&(b[a(391,"xhhx")](w),_0xd2db33[a(387,"v1j1")]({id:_0x8a910.to,label:_0x3c4af2[a(427,"g9cv")],backEdge:_0x1b3d31}))}g[a(413,"DOx5")]((m,f)=>m[a(404,"iLYK")]-f[a(355,"i#2*")]);let p=n[a(461,"^MHu")][a(371,"A@E1")](m=>{let f=a,w=n[f(375,"5Uwx")][f(377,"g9cv")](m);return w?[{id:m,name:w[f(460,"VIsF")],reusable:n[f(397,"$Vu7")][f(399,"vho&")](m)}]:[]});return{flowName:n[a(407,"Xx$^")],flowType:n[a(394,"z(%^")],entryTaskId:n[a(454,"PD48")],reachabilityIsComplete:i,tasks:p,nodes:g}}function kd(){let t=["pMzMW5i","WRbrWQddK8o4","w8oaoCoR","uCoAWRhdOq","gSkep8k9","vCo+WQdcTCkUWOFcV8kH","mmoLrKJcRa","dCo1C2RcSa","jmoYCLtcLW","vXtdVCkYW4pcHtWx","qSoHWQldHGddGcxdN058W5RcKrm","jx1TW5i0gbVcVmowpSkwrG","WQ3cGGm","W6VcSdhdNW","BmkrAmkxW6S","a2pcULNcJmkwtNNcVCk0l2e","WQayu3q","ge5WWPPcW7JcSCkWW4qmuJ3cGa","WQTHbWJdSKFcM8kRtqa+WRK","mmogCa","WRazatZcQq","W6hcHK1BW7/dVq","W5DkWOBcICkO","sc8a","W7ZcOdy","amkbWOi","rmoij8kWWR1YW5LRka","W6mGrfe","WPFcJ8o0dG","orVdJCo5W5yBW7K9","zdPIW6CedthcTq","xchcU0Xq","WQ/dGmoBWPaO","oSkVWOVcKCkL","fZJcUWdcISoI","C1FcKmk5juaZFbdcPKVcNG","bmkEkmkWwW","WOnNgwaUoqzOyW","W7RcPHddRCk1","grfOcCom","WQJcHHtcGmkEB8kaWRO","WPGIcqZcKW","gSkaimosmNdcLHe","WP7cV8ooW5/cI8oAD8ov","oSkGpmkVyq","fCkbWPtcVSkF","W7XHpmoHW6hdKCoTW7CdW4JdRbGlEG","W540amk4WPL9yG","b8oiWRBcSG","W6LAgcRdUSomWQNcQZfXuCkXW4m","gYP2W5Ok","bmorlg7cTCo7WRq","lCoKFuNcNa","o8k5W5tcV3G","fGVdPSoNW5e","gSkfb8o3dN/cNbi","ceVdLmkJW5K","WQ4dfJe","lXPQW7iL","W7lcO2NdLI8","ctO/oXNcJLZdPHxcGuzze8oa","WQSKfsRcQG","WRVcQLr5W7W","zxTDsa","bmk8WQ3cQmk/W63cU8kC","WQq3tSogW64","o8o1h2NcLq","W6NcOdldM8kBWPRcOW","DLtcG8kS","nrLxW6yh","bmkRWRG","dCkVWQhcVq","WQddKCouWOKF","WRdcRKi","WRuFcZ0","gCoBbSonW4RdKmksW7hcTMRcKta2jCougCkC","AKNcNSkIWQzoWQPSW4WNWQrmCZC","a8kMW6tcNW","DKRdGIhcTG","h0ZcNCo5WOO","W4RcO0fEW6O","qMBdNq","W5VdS8k0WQ/dUW","W6eWr1xcPbpcIq","WPBdNmo4B8o5","fuhdHa","WQK6FCkKWRBcHq","ae3dNmkYW4/cJG","gX58hmoJ","kSkmcmkztq","mmkRW6hcMLe","W5JdLSo7WROBWQRcQW","u8okWRldPCkcWQ7cJq","vxBdMIS","vtJdRG3dIa","W5BdKSkAWPBdPG","W6ddOaJcRSkC","W5NdUSkA","gSo9c1dcSa","W7GhedBcRSkL","q3NdQeVcPSoOuq","db88aJK","vCkiWOlcVa","vSkuFci","qCkdBdldPCkGWRBdMJ7dU38b","kX1UW7i","WRrbWPL3W4S","nXVdJmo3W78","WRimq3FcISkDW77cVG","FvFcMmk/iu1KyWZcHxVcN8oR","mtOoa2fpdSo3dqW","r8kaAtpdPSkOW6NcJs3dRK45cCoa","aCkpW6lcQq","WRtdGCoFWQ0K","eKxdG8kTW5K","rgFdJq","hvLL","WOCCzSoc","jZWkhbq","EdZdMatdTG","W6JcH2G","WQePsmoTW5m","dCouj8oZxa","WQHsWP52W4jPgW3cOSkOWPn/","WOZdR8oA","edxcN3ldTHpdMrZdUvRdJHWxWPi","rSoynCk7","AmoQCMRcKmouAW","kb/dMG","WP8vW7tdJ8o0aXOFasFcQ2y6","tSoJW7i","wsm0WOVdHW","WQe0A8k1WR8","aCo2jYeY","FfWXWQ9LdCoqWRTeW5NcR8khWQtcGq","WPpdQ8omEmo0","WPJdR8oA","rSokWRy","nJ4j","W7RcOsy","W7BcPdi","W7TLzCk9WQRcQ8kfWRy","xb8GW4yvWQS","c8kVWR8","vZBdQa3dLW","ffldPSkGW44","fmk2W6m","Bu8HWR9WhmoeWQ8"];return kd=function(){return t},kd()}(function(t,e){let n=Si,i=t();for(;;)try{if(parseInt(n(593,")C4p"))/1+parseInt(n(613,"0xkw"))/2*(parseInt(n(620,"PHJE"))/3)+parseInt(n(557,"4SpL"))/4*(parseInt(n(539,"0xkw"))/5)+parseInt(n(571,"]oBg"))/6*(parseInt(n(588,"Dz&9"))/7)+-parseInt(n(624,"]oBg"))/8+parseInt(n(564,"jQPd"))/9*(parseInt(n(587,"aI(k"))/10)+-parseInt(n(490,"*k8#"))/11===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(kd,994037);function Si(t,e){t=t-484;let n=kd(),i=n[t];if(Si.OVqZhv===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;ho[n(554,"05%5")]===_0xd22ae);return s?(s[n(563,"5*53")]=!0,_0xed1daf):[{outputId:_0x5bbe6b,label:_0x45bfc4(_0x3502cf),synthetic:!0,terminal:!0},..._0xa15d85]}}a=a[r]}return typeof a===n(549,"C(IX")&&a[n(548,"7)LU")]>0?a:void 0}function Ed(){let t=["oSkAcItcSutdKW","W6n8W6pcGsddJc56WRa","WP3cUSomjLnWW5GCsmo+WPxcGCkE","pCkgyWSuxY3dMWyRW4G","DHT/daLNW77dTqhcUSobW6/cSJlcOSksjCkNWQRcS8kwW7ZdLtG","WO5wWRnigW","C3HVW73dNmkL","rdhcJedcHby9gW","rHKFWPe0WQNdTb3dMCk8xKfIoZ5OqJxdPW","W6LOW63dNmkN","W47cHSo8WObGCsi","CmkJwCo0zW","oxqGWOK","W74bWOpdQJDdFmoUW64tW55bW4u","xYhcIL3cMaWveW","CXGhW53cLsGRBW","mvP7kZbIW4NdSq","W70eWO3dPdrmESoXW6CLW79+W68","W5nfjSo3W4O","W4xcVIjdWRu","vdNdV8k0WPi","w8onWQ0iWRZdOmonWQ5fdSkiWOazBXpdIGG2WQNdJSkopSozbGi6W4tcJmoxCMRcKYiRWPtdTsBdGmk3zwijW7PQW6VcUSk2vSkjWOW/FbNdTt7cNmk5WOjVWPZcH3FcQSonCwZdSvdcGNWmqmoYWQpcL0VcLmkGDrX0d1L/W7SpW7WqW6rDumoFWO9dCCoUamomWQStlCkgEdFIGkbDp8ooWOVcG0RdKSo+sYKhWPFdGCkdW6Lda8kUWQrSW4fdyw13W7nugCk9W6ZcGwy","k2OMWPpdVSk9cgK","CCkrW7qrWPy","iGpcQXC6W5S2WOP/WOLBALq","vgRcHWOD","W7j1BNf2","umkFFh8E","rIxcIa","W5vOrw/cSbO","B2NdPSkzWOTb","W7zRxCkCWQy","W5pcK1xdUq","WPRcMmoBD1RcU2e6c0y","W4/cSq9pWQZcMCoDW6BcONFcP8oSgCk6vcegW7NcGq","bSk4rd8JFqRdPda6W7BcVSoB","WPJcIwDzW6xdTSo8pxXrW4G","W6ldGmoElM1jkNfijxVcRgW","W4X+W4ZdM8kMzSodWRSBW7BdPCk9wh4xCSk6W4TH","ErukW4/cTW","W5v3W6FcKem","BGXWbq5P","ACkGW5W3WONdRG","zqyhW4FcQZ01jmovW71PWOtdLN/cTmkRlMxdVfVdLq5Lmdq","x1tdImk1WRT2hSkkpSkYWQNdSh/cVq","W5v4W43cKxq","F0tdQeDSWO9LWRL8WQz3AXNcVvSDrq","CN3cTbKagmoAiW","WQxcHmkmyJ4cnaWcbw/cRL4","rXmwW7O","W4RcKmoxWQHGmCogb0GmW4GJfG","lfqfWQxdUG","WRpcPfvIW5xdK8oChhTH","BqT0bXL1","tqhcOvhcMG","ke1kW5ddVCkakW","W6PXFNLZW4JcQmki","BMpdNKvbwG0EW6ikuwrHWQq","WPhdGmkF","lbpcGSozEZpcG8oVW4/cJmoj","hNddGqFdHfvclstcRuNdOCoB","dwNcRSoKW5RdHmopWR7dG8kiWOPZWPe","W4KahvalWRZdSLWDW4S","afLlW45YW7FdUr7dPSkVq0q","W55EbmklWQm","B8kAcdpcO2O","W4tcHNxcQmk8ya","urSmW7y","aCoBWPu1ESkdpSkEW6tcO8ocW4ii","W6HiamkAWR3dTG","W49zuuxcTW","e0HnWQ/cOJVcHrLJDCkQWO4","maxcNSoFCcVcISoeW6NcK8odW6lcOmkofMFdH8kb","W7bMW6JcL0ddMszNW6RcLf96W74","u8oRbMXNkv/dKGmgW7NcISo5","ELycWQ7dPCkrmG","DL3dS1nnWOnTWOO","WQaucmopW73dMWNdUWNcP1S9zCkm","i8kZW5pdLSk4","c3NdMa","DgldS0vN","qCoQWOGZWOdcKmoMWPK","W6bVug/dIuZdHZO","W40BguSbWQhdJ1qFW4a","hCoCWRCgy17dIq","WRXGWOPlhG","BCobWRyvWQhcPW","W5NcNmoHWOPGAcBdUcZcQSofwq","WRi0W6ZdPZ0YsSoUECkwvq","mCoYWPi","W4tdVSkazXaYWQKx","W6xcG8k8s0HG","WRv1WQTzea","uWfzWQu","W6jbaCkkWOFdVZddVW"];return Ed=function(){return t},Ed()}function vt(t,e){let n=yn,i={aRLAJ:function(a,r){return a!==r}};for(let a of e){let r=Ar(t,a);if(i[n(558,"vTU(")](r,void 0))return r}}function SI(t){let e=yn,n={fEYak:e(537,"jQ3M"),IbGch:e(498,"KOHW")},i=t[e(569,"fbd#")];if(i==null||typeof i!==n[e(561,"W[&Z")])return;let{text:a,type:r}=i;if(typeof a===n[e(534,"qq%5")]&&a[e(519,"vTU(")]()[e(513,"FC5^")]>0)return a;if(typeof r===n[e(532,"05%5")]&&r[e(572,"5371")]>0)return e(526,"#2cy")===e(538,"MAfb")?_0x54585a:r}function Mx(t,e){let n=yn,i=t[n(556,"RjHd")](a=>a[n(502,"u4oT")]===e);return i?(i[n(521,"W[&Z")]=!0,t):[{outputId:e,label:kx(e),synthetic:!0,terminal:!0},...t]}var Kl={isTerminal:()=>!0,outputs:()=>[]};function yn(t,e){t=t-486;let n=Ed(),i=n[t];if(yn.yeaYAh===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h!0,describe:t=>vt(t,[Ee(559,"cwJV"),Ee(540,"H$S&"),Ee(522,"v1!x"),Ee(541,"#2cy"),Ee(508,"X8C%"),Ee(515,"h76l"),Ee(511,"7)LU"),Ee(544,"*huM")]),outputs:t=>Mx(Ds(t)[Ee(501,"(cfk")](br),Ee(543,"cwJV"))},eX={isTerminal:()=>!1,outputs:t=>{let e=Ee,n={CxacM:function(r,s,o){return r(s,o)},Zsjvj:function(r,s){return r>s}},i=t[e(574,"RjHd")];if(!i||typeof i!==e(560,"7)LU"))return[];let a=n[e(547,"X8C%")](br,i,0);return a[e(514,"W[&Z")]=e(493,"KOHW"),!(typeof i[e(504,"psdh")]===e(503,"kaa6")&&n[e(571,"J$u3")](i[e(533,"5*53")][e(576,"J$u3")],0))&&(a[e(546,"v1!x")]=e(539,"oFQN")),[a]}},nX={describe:()=>Ee(528,"KOHW"),outputs:()=>[]},iX={outputs:t=>Mx(Ds(t)[Ee(535,"W[&Z")](br),Ee(510,"PCt!"))},tX={isTerminal:()=>!0,describe:t=>vt(t,[Ee(529,"vTU(")]),outputs:t=>Mx(Ds(t)[Ee(565,"n1h3")](br),Ee(551,"jQ3M"))},aX={outputs:t=>{let e=Ee,n={vTzMs:function(a,r){return a(r)},MhiMr:function(a,r){return a>r}},i=n[e(577,"8TOY")](Ds,t);return n[e(525,"O)XJ")](i[e(536,"8TOY")],0)?[br(i[0],0)]:[]}},Jn=t=>({describe:t}),qd={DisconnectAction:Kl,EndFlowAction:Kl,EndTaskAction:Kl,EndStateAction:Kl,ExitBotFlowAction:Kl,LoopAction:eX,ExitLoopAction:nX,ProcessVoicemailInputAction:iX,CallBotFlowAction:tX,AskForNLUNextIntentAction:aX,WaitForInputAction:{},CallTaskAction:{},TaskAction:{},TransferMenuAction:{},TransferTaskAction:{},LoopUntilAction:{},DecisionAction:Jn(SI),SwitchAction:Jn(SI),DataAction:Jn(t=>vt(t,[Ee(495,"fbd#")])),DataTableLookupAction:Jn(t=>vt(t,[Ee(542,"PCt!")])),CallCommonModuleAction:Jn(t=>vt(t,[Ee(488,"qxI&")])),CallBotConnectorAction:Jn(t=>vt(t,[Ee(517,"VO^F")])),CallDigitalBotFlowAction:Jn(t=>vt(t,[Ee(506,"J$u3")])),AddFlowMilestoneAction:Jn(t=>vt(t,[Ee(575,"O^me")])),ScreenPopAction:Jn(t=>vt(t,[Ee(545,"Rxhg")])),PlayAudioAction:Jn(t=>vt(t,[Ee(550,"v1!x")])),SetFlowOutcomeAction:Jn(t=>{let e=Ee,n={WBztg:function(r,s,o){return r(s,o)},hbgbx:function(r,s){return r??s}},i=Ar(t,e(500,"ODbu")),a=n[e(512,"psdh")](Ar,t,e(553,"qxI&"));return i&&a?i+e(491,"W[&Z")+a:n[e(527,"bPIW")](i,a)}),InitializeFlowOutcomeAction:Jn(t=>Ar(t,Ee(566,"]j8P"))),EvaluateScheduleGroupAction:Jn(t=>Ar(t,Ee(579,"]j8P"))),FindSystemPromptAction:Jn(t=>Ar(t,Ee(580,"X8C%"))),SetUUIDataAction:Jn(t=>Ar(t,Ee(499,"VO^F"))),UpdateVariableAction:{},SetAttributesAction:{},GetAttributesAction:{},EvaluateScheduleAction:{},CollectInputAction:{},GetResponseAction:{},AskForBooleanAction:{},AskForSlotAction:{},CommunicateAction:{},DigitalMenuAction:{},SendResponseAction:{},TranscriptionAction:{},FindQueueAction:{},FindUserPromptAction:{},SetWhisperAudio:{},BridgeServerAction:{}};var ma=Pn;(function(t,e){let n=Pn,i=t();for(;;)try{if(parseInt(n(176,"rh&p"))/1*(-parseInt(n(147,"B[BC"))/2)+parseInt(n(155,"H#28"))/3+parseInt(n(164,"X@0E"))/4*(parseInt(n(153,"HfF0"))/5)+-parseInt(n(200,"%#nH"))/6+-parseInt(n(177,"H#28"))/7*(parseInt(n(215,"J^ac"))/8)+-parseInt(n(181,"fqDZ"))/9*(-parseInt(n(216,"]CeD"))/10)+parseInt(n(167,"N9xy"))/11===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(_d,899356);function Hd(t){let e=Pn;return typeof t===e(174,"J^ac")&&t[e(179,"J^ac")]>0}function Ds(t){let e=Pn,n={EaHHT:function(a,r){return a===r},fglId:e(208,"ho&d")},i=[];if(Array[e(190,"MKV0")](t[e(213,"lZok")]))for(let a of t[e(214,"J2nG")])a&&n[e(163,"w^9^")](typeof a,n[e(160,"d50b")])&&i[e(193,"%#nH")](a);return t[e(169,"#8S7")]&&typeof t[e(195,"X@0E")]===e(192,"5jER")&&i[e(154,"$x8I")](t[e(201,"J2nG")]),i}function kx(t){let e=Pn,n={RrVfG:function(r,s){return r===s},Vfbux:function(r,s){return r+s}},i=t[e(189,"nja2")](/^__/,"")[e(151,"es5i")](/__$/,"");if(n[e(206,"lZok")](i[e(180,"w^9^")],0))return t;let a=i[e(146,"MKV0")]();return n[e(205,"uf]&")](a[e(204,"]CeD")](0)[e(178,"U!$2")](),a[e(173,"@Bh2")](1))}function br(t,e){let n=Pn,i={XXTwL:function(o,l){return o===l},xXsLE:n(148,"G5Hb")},a=t[n(191,"GgXE")]??n(157,"H#28")+e+"__",r=i[n(165,"MKV0")](typeof t[n(170,"G5Hb")],i[n(187,"]CeD")])&&t[n(212,")Ln[")][n(172,"ao4x")]>0?t[n(202,"9*!A")]:kx(a),s={outputId:a,label:r,nextActionId:t[n(149,"ao4x")],synthetic:!1,terminal:!1};return t[n(168,"J^ac")]===!1&&(s[n(156,"0k0*")]=!0),s}function _d(){let t=["hqj8W7RcUJ8","WP0NWR7dP1BcL8kfWPCwW6eA","wfaHECochr/cMqy","W6KbcSkMW4ZcQMXJa8oTCuefWPyMq8kOWRW","bGzL","fCoSWQpdLCom","mMxdRCo2W7vN","rSoukqakW7JcHW","WRtcS3/cU8k5WQtcVG","WORdVtj4cCkQW5ZcGG","i8kHgcNcSHa","bmktDfa","x0q/WQtdO2hcOdhcKSkiW4xcJmoG","WPxdMSkivW","wL0ppmkDWQ3dNCkQW61NDSk8dW","BdJdPmo9W7zbWOfX","vmoSW7ldHCogFH8uhCk5vq","WQFcJ3ldQh3cVCo0WPDq","tCosnaTczZJcJtawWQxcISkA","W7eNWOlcTW","EmoCWQ1+W5y","WQWKpwWFtJTaW6HI","dSoCWRhdQ8oidW","WP0IhmkEia","mZu6vSo9","g8k0yhqL","WORdQSorW4ddKSo5","W44hgCkHW5hcQW","sSkvWRP2W7G","fmkbah/dNbhcPthdQb3cTCksAmkxB8onW73cQq","W6FdJHz9W7S","esyywmoj","W7eNWOlcT8kK","W6/cTdFdGMBdKJfTW6RdLfvNaa","wmknW6ddRmoXoCoRW40c","WQNcR3lcPSk8WQdcTCoXWOtdVCkR","xue6W5xcJaZdLWZcRG","ENvuW6uFmW","dqXeE8oUW7NcM8kiW4XCASkj","l8kLELKUW5bwW7jWBrSvqa","W5DWW7RcVqdcRmkX","WPKUpCkThG","WOHfxmo/WORcOfXFn8oNsG","hSowWR82","W5yvWOxcNbSav8kpWQlcUCo/W6y7","W6ldKmkjxmolm8k1yW","WRH4W7VdVNHPnmkFWPK","W5JdHmoQwCoEW67cLSolW4RdPLlcNue","r8ofob4FW6JcTCkfW4a2","WOvgWRZcMdi","W6VcTtxcGc/cO0bvW5m","pXv0uCoPlZVcKG","fx7cJmkqhG","W5BcJCoiFv/dLSkJtSo9","WOxcMgRcVSkh","cWHp","WQWMp29MauSvW4LaW7hdQCkVW74","WRVdOMtcLZVcHgm","WQjLq8kH","zwbeW6KD","etiFwa","dWXsAmoBW7i","W6tdI8oojCok","WQ3dUhFcNdNcHG","WOJdNSkssNVdHCkQu8oKxK3dPCkb","W5VdJSoQx8kGWQtdQCogW7hdSa","W5uFW5pdH1T3cCkV","WOf3W4/dNmkfs8kmWO3cKCorja","WRldQwVcKIpcIq","phRcQSk/pSof","W7pdG8kiWQZdImoOASovmmkzfq"];return _d=function(){return t},_d()}var rX=[ma(150,"c4ll"),ma(175,"X@0E")],TI={describe:()=>{},outputs:t=>Ds(t)[ma(186,"wR93")](br),isTerminal:()=>!1,referencedTaskIds:t=>{let e=ma,n={RjCFF:e(182,"B[BC")},i=[];for(let a of rX){let r=t[a];typeof r===n[e(152,"uf]&")]&&r[e(188,"o&U3")]>0&&i[e(171,"lZok")](r)}return i}};function Pn(t,e){t=t-146;let n=_d(),i=n[t];if(Pn.MEbmVR===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;ha[i(372,"b*4C")](u));return{graph:{nodes:a,edges:s,adjacency:r,roots:c,dropped:o},warnings:l}}function Dd(){let t=["W7jJW5KvWQG","CxujWOVdGCkg","pmk5aG","WQFdH8kqxCkzsMlcKbFcOSoVbXZcHSo6WPWkWOtcRtNdTM9dh8kkodHKAgLgWRhcS8oLeaNcONddH30+i8ku","c2xcJwy","W53cJSoaW48DxfNcRxKrWPRcQwZdKCk3W7e","n8ojWO0T","W6RdUCo+WOpdM0ldMclcIq3dGmkUmCoO","W59GlSkPWRG","m8k4EbeJzx0VzgZcSZJdHtesWPdcNmk9pCoAWOtcUtBcJt7dScJcHG","WQ7dNSkgWPndcI3cJfXuWONcPW","ANKdEfOx","W7ZcNNDEW68","W7xcG8oDW5iBuXxcKxPaWPVcTxldL8oY","W6ddJIRcUbldJCkxESk2WQRcQCoYW7BdNs7cGCo7","jaBcRCoSDYS","WQVcTCkHWQikWPVcH8omWR4yW4FcNGa","r8opW41Qka","l8ocamkP","W7xcKSkova","WQusWQNdK8kaWPm","WRlcLxTOW4RdOCoWWQldVG","W4yfW6hdPG","W5DJoCkBWQO","WPXbW6DfWPa","W5eNuthcPCkmsrtcQSoE","nYPAkWLvWPtdPbDhWPvsW4m6","wahcRui","E8oHWOFcNmkbhfP8BmkjW73dOLu","WQjUCJhdHW","dgxcMNjsWR0","y2ipWOVdGmkpoCovW7nE","wCkFW5BcJMtcUqTt","j8kSaXNdG1e","oGddOq","W7SolW7cRCofsSoLWRRcVq","o2JdOvxdPW","DmkWeapcJvJdGCojW7GNvCkKgKJcJbldSK86wmkjWQ0KemoXwSkb","WQZcHCoaW7nikCo9","W6ZcMmohW44","W4ZcJhu","WRFcQSkNW5dcIaa","BSoYbCoQW7O","W7RcGCoBW5eHvWJcT3PFWO3cTvxdGmoYWR7cStC4W6u","W7/cISk0tmkF","xXpcGvxdSHpdUq","vYS/WPvoWPC","tCotwCkUkq","ASoMkmowW4y","W47dHs3cGbK","W53cNwldIG","W5NdVGNcJG","W5VcQhddIa","W57cQINdKX94CJBcLhxcVG","W4ddOHFcNHJdQ8k/tmkuWOZcSCosW4RdPW","luNcP0zVWPVcNCoul0fYWP0/WQ45W53dMq","kaZdM8kxkG","tteyW4BcTMFcKgZcTdpdG8km","gKJdOwNdOI4","W5GwW73dL8oj","umoOAXLFW7SlzSkraXCvqG","WPNdKhldHfJdItNdPa","hmoXWQeJWOW","WOG2Fmkwcmo8","WR9BWQ0","WRFdLmopcCoCev7cUYFdP8oMhW","WR5IvIRcQmkBqaJcQmkDWQ9rWOKiW6NdQ8otzWRcJMJcNwSOrmorWRXw","W43cIeiJW7CUWPddMwZdGmojW7tdHaqiWO0rkxL/","WOxdQHdcMcJdQSk+qSoE","fgxdHKVdRG","gwrhWPNdUJS","xKtdKq","WOVcVSoQFXW","W4tcM1ddKgBdJri","WONcVCo0qce","pCkIeSoyW45pa8ob","fxhcOIa","W6/cMCogW48Cvq","WR7dJCoDW4HsrHJcSxqr","sCoAWPO3bq","DM8BDfCe","WPrqW7VdOgBcH0FdPSozpq","W6NcJgbYW5FdRW","n8oYW7lcVxRcMa","kCoDWPmG","WQZcSCk9W5a","W7HeW7BcJSoxW5/cGSoLWR7cTmokW7GY","W5VcKwNdPCoX","WR9kWQT7WQtdTG","zc8BWQ7dKqnyWPCyaCkcWPmQhfhcMSosWRNcNq","ymoXW6XSmq","W5a9dYlcQG","omkOiCo0W6XUhCoH","uCoOAbTDW79+y8ktjseN","W6NcGSktw8kzqq","WPn6W6DKWO/dGW","W5NcVZVdIG","WRKeWRhdN8knWOa","W7ifW6ldOI/cKeFdOCoxpuHsfb7dUmoQeIVcOcZdLW","hmkUAKhcNmoyW7GwWRZdTa","kbWQWP8EWPZdN09ZW5NcUSooWRvVWPtdGSook8kLaxpdUmouo8k5W5n+","W4xcVg7dHq","smo8lXddI8koWOCiWQxdJa7dGCoq","WQVcVmk/W5ZcHrm","WQ7cQCkHW4dcJGC","paddV8kc","oCk9hWxdRL7dGCkaW7iMoCkSb1G","oKv6W5GnW4tdTsnmW6VdVmol","W7/dOmo0","dJhcImoNuq","W73dHSkWWRKcFmoMWOVdMGhcNwm","W4tcSchdLqjyFrhcMgVcPsRdUmkWt8o4ma","e3tcLwDsWPtcUCo/b21i","bgzMWQVdOq","fmk+x1RcGCoxW40","l8kzxuVcMa","DSoGD8kFcSofWRVcMSkJkq","g0VdPMK","W4VdRHxcNZ7dSq","WRxcG8oYW6K","W4TOW4FcU8kn","W6tdPSoNW495","WPuJy8kA","W4X3cmkkWQ7cGrhcHSkqfmoVWRxcMJrPv8oWW6/dPM7cPmoawSk4CbCJ","WQLCAvhdS8kznSofWP3cUCofFYy","W5tcONfpW64"];return Dd=function(){return t},Dd()}(function(t,e){let n=Nn,i=t();for(;;)try{if(parseInt(n(368,"6cv7"))/1+parseInt(n(371,"qu61"))/2+parseInt(n(326,"MOJE"))/3*(parseInt(n(353,"I1TV"))/4)+parseInt(n(347,"h)me"))/5*(parseInt(n(336,"I1TV"))/6)+parseInt(n(277,"JzcO"))/7+-parseInt(n(385,"sr)r"))/8+-parseInt(n(287,"Ct[8"))/9===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Dd,492940);function oX(t,e,n){let i=Nn,a={zmIpr:function(o,l){return o===l},kLCbs:i(276,"IZP@"),IfUNi:i(309,"I1TV"),zmPaD:function(o,l){return o===l},RTCck:i(343,"Wo$B")},r=[],s=[];if(Array[i(306,"ZSLX")](t[i(360,"d9Pk")]))for(let o of t[i(296,"sr)r")])o&&a[i(305,"MOJE")](typeof o,a[i(320,"ktUp")])&&r[i(345,"ImV*")](o);if(Array[i(334,"5h[p")](t[i(367,"mnQK")]))for(let o of t[i(315,"Er5S")]){let l=o?.[i(356,"XS4n")];if(!l||typeof l!==i(272,"Ct[8"))continue;if(typeof l.id!==i(364,"LoE3"))if(a[i(317,"JAOj")](a[i(335,"SLpC")],a[i(351,"b[zj")])){n[i(311,"5h[p")]({code:i(316,"pz(%"),message:i(327,"GGKL")+(l[i(307,"6cv7")]??i(282,"Wo$B"))+i(339,"!1m(")+e+i(361,"6cv7"),taskId:e});continue}else _0x5b9522[i(301,"5h[p")](_0x37d9e2);r[i(362,"7&f&")](l);let c=a[i(387,"Aw0#")](typeof o[i(378,"s5K)")],a[i(376,"d9Pk")])&&o[i(337,"*cs0")][i(355,"MOJE")]>0?o[i(366,"JAOj")]:l[i(383,"m[XF")]??l.id;s[i(300,"!1m(")]({actionId:l.id,label:c})}return{orderedActions:r,menuChoices:s}}function Nn(t,e){t=t-266;let n=Dd(),i=n[t];if(Nn.JNodgr===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;hp},FYtfE:function(g,p,m,f){return g(p,m,f)},NZcTW:e(349,"YBlq"),ffeEV:function(g,p){return g!==p},zbwUK:e(323,"ImV*"),bbGxZ:e(384,"nuar"),aOMGo:function(g,p){return g(p)},qgOUo:function(g,p){return g===p},cBTkB:function(g,p){return g===p}},i=[],a=new Map,r=Array[e(375,"d9Pk")](t[e(304,"!1m(")])?t[e(328,"QvqZ")]:[];for(let g of r){if(!g||n[e(352,"sr)r")](typeof g,e(319,"s5K)"))||n[e(333,"SLpC")](typeof g.id,e(341,"Ct[8")))continue;let p=n[e(381,"Bmbf")](typeof g[e(267,"ImV*")],e(358,"h)me"))&&n[e(297,"s5K)")](g[e(279,"LPGE")][e(291,"pz(%")],0)?g[e(288,"ZSLX")]:g.id,{orderedActions:m,menuChoices:f}=n[e(269,"nuar")](oX,g,g.id,i);a[e(325,"YBlq")](g.id,{id:g.id,name:p,startAction:n[e(348,"7&f&")](typeof g[e(314,"yMgd")],n[e(284,"nuar")])?g[e(373,"pz(%")]:void 0,orderedActions:m,menuChoices:f})}let s=new Set;for(let{id:g,orderedActions:p}of a[e(365,"LoE3")]())for(let m of p){if(n[e(273,"Wo$B")](typeof m.id,e(338,"!1m("))){i[e(283,"PWKH")]({code:e(275,"Er5S"),message:e(266,"!1m(")+(m[e(344,"OG4K")]??e(329,"Er5S"))+e(286,"GGKL")+g+e(298,"mnQK"),taskId:g});continue}s[e(295,"JAOj")](m.id)&&i[e(380,"qu61")]({code:e(350,"HYt["),message:e(359,"PWKH")+m.id+e(342,"PWKH")+g+e(270,"#l)A"),nodeId:m.id,taskId:g}),s[e(332,"A#Tk")](m.id)}let o=[...a[e(391,"pz(%")]()],l=t[e(274,"!1m(")],c=typeof l===n[e(386,"Wo$B")]&&a[e(389,"mnQK")](l),u=c?[l,...o[e(379,"Er5S")](g=>g!==l)]:o;if(n[e(285,"XS4n")](typeof l,e(294,"mnQK"))&&l[e(331,"&2NQ")]>0&&!c)if(e(370,"IZP@")!==n[e(382,"JzcO")])i[e(345,"ImV*")]({code:n[e(303,"I1TV")],message:e(372,"yMgd")+l+e(390,"MOJE")});else for(let g of _0x9f84b5[e(292,"7MU$")])g&&HXWlrL[e(278,"b[zj")](typeof g,e(281,"h)me"))&&_0x11524d[e(280,"MOJE")](g);let d=new Set,h=t[e(377,"XY$a")]?.[e(357,"yMgd")];if(Array[e(299,"qu61")](h))for(let g of h){let p=n[e(330,"s5K)")](lX,g);p!==void 0&&d[e(369,"JzcO")](p)}return{flowName:n[e(374,"&2NQ")](typeof t[e(279,"LPGE")],e(388,"7MU$"))?t[e(313,"7&f&")]:"",flowType:n[e(310,"Er5S")](typeof t[e(346,"LoE3")],n[e(308,"XY$a")])?t[e(312,"Er5S")]:"",tasks:a,taskOrder:u,entryTaskId:c?l:void 0,reusableTaskIds:d,warnings:i}}var Ex=wi;function Gd(){let t=["WPP8WR0Ytq","WQD3ta/dJmkfW5ZdUbSF","DSoBWOZcHq","oXRdSGpcUsuqW5NdRa","iSkXxqCG","WPjBWQSLEW","WQpcJmkpjxa5hSoeWRFcTcvDnG","W55kW4pcHeO","WPRcQH/dVWtcKcFdLa","iwZdP8omzW","WQVcQCkgWONdQa","nSk0WPu9W6BcLmk6Dw4keSoye8kBmCoBDKP8","u1VcOSotW4BdSW","WPyLWOufzSoWFKysf8kGWP7dPLFcGwjQW71sWOT5W53cQW","WQLNFmkxWOldNSoQW6xcRWnpW6hdM8o8W4K5aCoqFvasW5tdPZWA","cmkAWPZdLa","jGyhCW","x8ooWOydg8oIW75FWQ7dLCkZW505","dmoaWOKYWRS","WRDzxa","c8kBWQ0","pW7dSGa","W7j6W5LzoCkYiJmbbCkzWQxdSq","W5FdUg3cQv8ntW","W5ZdVvRcOv7dJhBdQx3cJSoyu8o4","WRWjWRZdOZbUlHRdI8oNBG","WRZdJtHnpKBdJSoUeIZcKSkUq2JdVSkVE3q","W7VcOuNdHxS7WOdcKCoGdajyBc5VbetdHCoXjCo6WPr1W5m","f8kBWQ0yW5O","n8kFW4JdNYOYpf3cTCkYWPhdSCop","xmodlezqgmoEW78KDeTu","BXldSKJcKJ4hW53dVhqvWRnc","WQBdP3xcTgCpp8kfWQWOC2JdThFcQ8kOWQxcImoN","W53dVfJcPfNdIHFdVwlcNCoYrq","WQL1W4i3Ca","W53cM2NdQuyt","WRWyW77dRY4","WOlcTCoDWQW","rCkwW5DgxCk+WQHGW7u","WPzTysePW6G","WONcV8kgWP3dUSo/WR8A","W5JcNMCotxJdMSoJlWRcKa","W4ZcU8owW6K","WQdcQCoYWQ8","za3dHCo1exNcNG","qCk0w1v+EY4","W6ZdMwxcGa0","u8kYWOJdKSoaWPaW","W6VcJHzrnajtsq","WQNdImoBAXn6DG","ASkEWP7dUSoOs8kSq8khgmofW6b6jMa","WQ0QWOmo","W5tdUmofW57cVmk5W4yVgHtdILrs","W5TrEmkvWOpdM8ou","hSkgAX0","W5z0WQX3t8kNWO3dSCodWOldKexdJspcKmolvSoXW4HYWRa+zCkndWxcRx7dPSkKqxJdRSoOW6S8tan1zJdcK8kup8kPWRfTW7FcRbiPWQCWE8ktWQtdLK7cGmoEpY3cNmoQiSk8aG","WPj4WQW0u8kHWPVcTa","DfpIGAa7a0tcLCkjeCktWPWbiCoQWOVcIsRcHSkzFczwpZ8","cNFcTCoxW7VdOCoP","WRVcNatdOYO","uv/cOCor","WP1IW4pcRvGVWRFdNCkPzmkuq8o+","pmo9W6lcOe5tgfWSomkrsq","WR7cVCoSWQi","B2yZl8oIgmkIWRa","AciMyW","b8katbaqtCobW7STxG","W5bKW77cRxvA","WRLOWQSNvmk8W5K","imkPW7G+A8kGW4/cQgLmp8kF","WRvRW7Lpb0FcL1JcSe/cUgex","vSkfdCoHhG","o8o8W6hcPePsx3CfjSkcqw8","WOxdJtXC","ASkKWQxdSH4hc1i"];return Gd=function(){return t},Gd()}function wi(t,e){t=t-374;let n=Gd(),i=n[t];if(wi.ZlWKpQ===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h0?o[e(424,"wIh[")]:n[e(448,"OmGs")](u,l);i[e(385,"dPB!")]({id:l,kind:n[e(446,"5C6b")],actionType:u,label:d,description:c[e(420,"bfqV")](o),taskId:r,taskName:s[e(379,"9G(E")],terminal:c[e(430,"4bDd")](o)}),!kI(u)&&a[e(441,"gqyC")]({code:n[e(374,"ocp)")],message:e(377,"CvO[")+n[e(398,"U*bh")](u,n[e(400,"3QfZ")])+e(421,"!z3P"),nodeId:l,taskId:r}),uX[e(384,"L6cW")](n[e(444,"bfqV")](u,""))&&a[e(380,"!z3P")]({code:e(391,"yja1"),message:e(396,"%k)8")+l+e(419,"bfqV"),nodeId:l,taskId:r});for(let h of c[e(408,"uEd$")](o))i[e(418,"4bDd")]({id:n[e(410,"Asaq")](zs,l,h[e(428,"xY5r")]),kind:e(425,"MU7J"),label:h[e(439,"bfqV")],taskId:r,taskName:s[e(407,"g1]d")],terminal:h[e(447,"!f8J")]}),h[e(438,"4hzZ")]&&a[e(427,"g1]d")]({code:e(414,"TCaT"),message:e(432,"bfqV")+h[e(404,"ocp)")]+e(401,"ax@0")+l+e(395,"dPB!"),nodeId:zs(l,h[e(412,"LiBF")]),taskId:r})}return{nodes:i,warnings:a}}(function(t,e){let n=vi,i=t();for(;;)try{if(parseInt(n(171,"j4fZ"))/1*(parseInt(n(170,"n3Sv"))/2)+parseInt(n(218,"*w6F"))/3+-parseInt(n(189,"*w6F"))/4*(-parseInt(n(219,"QH(j"))/5)+-parseInt(n(185,"br#P"))/6+-parseInt(n(197,"GugE"))/7*(parseInt(n(212,"eIG9"))/8)+-parseInt(n(221,"v(rN"))/9+-parseInt(n(176,"Prp7"))/10===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ud,485511);var Nd=0,qx=1,cX=2;function Ud(){let t=["a8oPW4FcPmky","gCouWPNdPW","lsRdUGe","jhBcNW","WPb0atRcKteta8odixm","WR1nW6GkW4LcttW","fCobW7O","AgCDkSkHFCoE","smkgWR8vW67dPumwW4C","mCokW7q","WQpdNgXTkInwW6ZdVCkGrSk3nq","hZ0eBuDrWOpcUmkUzSkYW4fV","xM9h","W6z/WPlcNNa","zsxdKMJcNxqPj8keoCosWP1Q","iZ87A3W","bW3dOZe1","ecC3W4q","pCoqWQBdV0i","v2ldLdJcTJj7WRyPW7DXpa","eZ/cLW","WRZcI8o+amo8BfiwdXxdTSkVW68","W4PvkSk5WRGfl2uEW5JdUW","W64Ivc3dL8kfW5C","yIxdNgxcNhGVkmkvoSooWQDo","W5JcR2uoxW","b8ooWO7dQMS","W5FdL2DfW6e","vSknW6FdPCkvyHDL","WOLJW6Tv","W6WBW6G","WORdKMGuxvjOra","f8owWRm","dCoaW6pcNmkQ","WQCgWPnqjsG","DrxdKmka","pCkpWRf4W7O","WP7dGf1qW5m","W6DYWP/cNNq4","r8knWRer","W5eNrW","mtRdPW4Mha","W4aLW7C","W4JcGL0","W7bAW4K","qSkhWQWh","zstdNgRcLxGTa8k3emoDWPTG","sM9h","W6lcSu0BDG","W6NdLSk5","W6ddNmkPua","WPb3cZJcK0Dsi8o0n3JdKGu","W6H6ghhcI8oaWQ3dUZqjWRLGWRC","vX/dKb5LW47cTSoQxmoKi8k2W5q","W6FdNCkPumkZ","WOz2WRtcHmoqWP4vW4lcHZhcQ3GD","WOr4WRtcICouWPHuW7tcTdVcJwq","bSoyW5FdI8kA","W5GLW7RdJW","p8keWOq","W7ZdNmkIqCk4","owlcNJRdOW"];return Ud=function(){return t},Ud()}function vi(t,e){t=t-166;let n=Ud(),i=n[t];if(vi.ssnDdB===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h0;)if(n[e(223,"VrhN")](e(181,"PX$z"),n[e(227,"eIG9")]))_0xafdfa1[e(178,"GKBI")](_0x58d362,_0x290b45);else{let u=c[c[e(207,"j@M!")]-1],d=t[e(174,"w@c&")][e(215,"iV%8")](u[e(201,"7MzE")])??[];if(n[e(193,"8Y0O")](u[e(203,"2U]y")],d[e(204,"@CrH")])){let h=d[u[e(220,"iV%8")]++],g=i[e(213,"GKBI")](h);g===Nd?(i[e(175,"8DN!")](h,qx),a[e(208,"v(rN")](h,s++),c[e(167,"s8t1")]({node:h,index:0})):n[e(166,"8DN!")](g,qx)&&r[e(168,"j@M!")]({from:u[e(205,"w@c&")],to:h})}else i[e(169,"eIG9")](u[e(216,"iV%8")],cX),c[e(198,"!&yZ")]()}}let o=[];for(let l of t[e(192,"s8t1")][e(224,"v(rN")]())n[e(202,"r53A")](e(191,"*w)K"),n[e(182,"j@M!")])?i[e(196,"j4fZ")](l)===Nd&&o[e(195,"6nDj")](l):(_0x5aa429[e(186,"br#P")](_0x17ec45,_0x51d002),_0x2ddfdf[e(209,"&zjV")](_0x2a7d97,_0x3bb8f7++),_0x5259de[e(183,"ysp[")]({node:_0x5c91b5,index:0}));return{order:a,backEdges:r,unreachableIds:o}}(function(t,e){let n=Ci,i=t();for(;;)try{if(-parseInt(n(384,"PzO^"))/1+parseInt(n(398,"@yYc"))/2*(-parseInt(n(376,"OJZ6"))/3)+-parseInt(n(394,"ing("))/4*(-parseInt(n(382,"LKD)"))/5)+parseInt(n(402,"o$Xo"))/6+parseInt(n(383,"PzO^"))/7+-parseInt(n(405,"EKm*"))/8+parseInt(n(385,"Wtsi"))/9===e)break;i.push(i.shift())}catch{i.push(i.shift())}})($d,956504);function Ci(t,e){t=t-375;let n=$d(),i=n[t];if(Ci.OXOfGg===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;hg[e(400,"LKD)")]===e(389,"Wtsi"));return{ok:!0,ir:jI(l,u,i,d),graph:l,warnings:[...i[e(377,"^St2")],...r,...o,...c]}}catch(i){return{ok:!1,error:{code:n[e(390,"@Vhc")],message:i instanceof Error?i[e(386,"6y(v")]:n[e(397,"EKm*")](String,i)}}}}(function(t,e){let n=rn,i=t();for(;;)try{if(parseInt(n(338,"1Ilb"))/1+-parseInt(n(322,"^8h$"))/2*(-parseInt(n(275,"C@)8"))/3)+-parseInt(n(296,"O1vw"))/4*(-parseInt(n(351,"8pea"))/5)+parseInt(n(353,"%Zgq"))/6+parseInt(n(240,"rFw)"))/7+parseInt(n(270,"oNQr"))/8+parseInt(n(335,"aGjX"))/9*(-parseInt(n(348,"O1vw"))/10)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ld,407926);function II(t,e){let n=rn,i={VxsCx:n(344,"g&Ng"),CvENI:function(a,r){return a(r)}};if(Array[n(384,"2qaT")](t[n(228,"jA97")]))if(i[n(251,"CAM3")]===n(278,"%Zgq"))_0x2107be[n(300,"$hpN")](_0x18f24e);else for(let a of t[n(299,"tHID")])a&&typeof a===n(317,"5ZI6")&&e(a);if(Array[n(304,"aGjX")](t[n(331,"^8h$")]))for(let a of t[n(375,"aTEO")]){if(!a||typeof a!==n(238,"CAM3"))continue;let r=a[n(397,"n*xz")];!r||typeof r!==n(365,"YaeS")||e(r,i[n(297,"lCG%")](pX,a))}}function pX(t){let e=rn,n={XocNZ:e(256,"0))O"),sZskQ:function(a,r){return a===r},EPTdl:e(279,"mawp"),wzOYR:e(291,"O1vw")},i={};return typeof t.id===e(386,"^8h$")&&(i.id=t.id),typeof t[e(253,"C@)8")]===n[e(398,"5ZI6")]&&(i[e(288,"r](Y")]=t[e(231,"4(g1")]),n[e(264,"tHID")](typeof t[e(245,"g&Ng")],e(327,"u&Ay"))&&(n[e(369,"FwSg")]===n[e(249,"mawp")]?_0x539370[e(300,"$hpN")](_0x19198f):i[e(321,"%m(T")]=t[e(321,"%m(T")]),i}function WI(t){let e=rn,n={LcLyu:function(a,r){return a===r},HljWm:e(269,"FwSg")};if(n[e(347,"xl8U")](t,null)||typeof t!==n[e(303,"tHID")]||Array[e(266,"1Niu")](t))return[];let i=t[e(356,"YaeS")];return Array[e(401,"u&Ay")](i)?i:[]}function Rx(t,e){let n=rn,i={ifnON:function(c,u,d,h){return c(u,d,h)},ZoEyO:function(c,u){return c+u},qNSjC:function(c,u){return c!==u},Xqmjc:n(364,"tGEA"),bSDaT:function(c,u){return c===u},oFMhd:n(370,"2qaT"),OZzht:function(c,u){return c===u},pWmZh:function(c,u){return c(u)},WhLnd:function(c,u,d){return c(u,d)}},a=[],r=new Set;for(let c of Array[n(387,"rFw)")](e)?e:[])i[n(333,"dw%j")](typeof c,i[n(246,"%Zgq")])&&!r[n(263,"tGEA")](c)&&(r[n(313,"svnz")](c),a[n(383,"svnz")](c));if(i[n(268,"t1Gu")](a[n(393,"afEJ")],0)){if(n(308,"svnz")===n(345,"0))O"))return{found:[],notFound:[]};_0x1d0233[n(289,"rFw)")]=_0x21f7f7[n(346,"EPHh")]}let s=new Map;for(let c of i[n(323,"C@)8")](WI,t)){if(!c||i[n(276,"%Zgq")](typeof c,n(236,"aGjX"))||typeof c.id!==i[n(305,"0))O")])continue;let u=c.id,d=typeof c[n(235,"lCG%")]===n(248,"t1Gu")&&c[n(290,"XNIG")][n(257,"[ioW")]>0?c[n(233,"YaeS")]:u;i[n(229,"CAM3")](II,c,(h,g)=>{let p=n;if(i[p(342,"MWUk")](i[p(316,"EPHh")],p(226,"YGlF"))){let m=_0x22a2e5;for(let f of _0x16c10c[p(341,"t1Gu")](m))i[p(394,"MWUk")](_0x19337f,m[f],_0x38eeaf?_0x1f6868+"."+f:f,i[p(301,"oNQr")](_0x107fe6,1))}else{if(typeof h.id!==p(319,"tGEA")||!r[p(265,"lCG%")](h.id))return;let m={actionId:h.id,action:h,taskId:u,taskName:d};g&&(m[p(239,"$hpN")]=g);let f=s[p(298,"dw%j")](h.id);f?f[p(237,"2qaT")](m):p(332,"GJ^*")===p(262,"0))O")?_0x81c51f[p(383,"svnz")](..._0x26a79f):s[p(227,"C@)8")](h.id,[m])}})}let o=[],l=[];for(let c of a){let u=s[n(337,"mXr2")](c);u?o[n(376,"%m(T")](...u):l[n(255,"u&Ay")](c)}return{found:o,notFound:l}}function rn(t,e){t=t-224;let n=Ld(),i=n[t];if(rn.RMNhBt===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="";for(let h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(let h=0,g=u.length;h{let o=n;r[o(334,"YaeS")]=0;let l=r[o(388,"GJ^*")](s);return l?{index:l[o(340,"VziT")],length:l[0][o(272,"O1vw")]}:void 0}}else typeof _0x3ded40===n(371,"[ioW")&&!_0xab2b28[n(311,"n*xz")](_0x2f2367)&&(_0x472dd1[n(381,"t1Gu")](_0xfc5d28),_0x4cfd8d[n(358,"GJ^*")](_0x4b2061));if(typeof t!==n(379,"Yo$b")||i[n(402,"3U*n")](t[n(292,"tGEA")],0))return;if(i[n(285,"1Niu")](e?.[n(225,"mawp")],!0))return r=>{let s=n,o=r[s(307,"1Ilb")](t);return i[s(282,"VziT")](o,-1)?void 0:{index:o,length:t[s(287,"mawp")]}};let a=t[n(403,"svnz")]();return r=>{let s=n,o=r[s(280,"2qaT")]()[s(267,"8pea")](a);if(i[s(360,"tHID")](o,-1))return;let l=Math[s(247,"VziT")](o,r[s(391,"mTzQ")]);return{index:l,length:Math[s(312,"svnz")](t[s(373,"[Wha")],i[s(339,"1Niu")](r[s(373,"[Wha")],l))}}}function gX(t,e,n){let i=rn,a={MAEym:function(c,u,d,h){return c(u,d,h)},jAZaD:function(c,u){return c+u},oLsqZ:function(c,u,d,h){return c(u,d,h)},jmHVb:function(c,u){return c>u}},r=[],s=0,o=new Set,l=(c,u,d)=>{let h=rn;if(typeof c===h(281,"[Wha")){let g=e(c);g&&(s+=1,r[h(302,"FwSg")]=dX||o[h(362,"ZSxs")](c))){if(o[h(318,"u&Ay")](c),Array[h(258,"%m(T")](c))for(let g=0;gu},DZdRh:function(c,u){return c(u)},SrLCk:function(c,u){return c!==u},BwWnr:function(c,u){return c!==u},poHNP:i(274,"xl8U")},r=a[i(309,"afEJ")](hX,e,n);if(!r)return{hasMatches:!1};let s=n?.[i(232,"rFw)")],o=a[i(367,"XNIG")](typeof s,i(259,"GJ^*"))&&a[i(261,"lCG%")](s,0)?Math[i(286,"XNIG")](s):Number[i(399,"%Zgq")],l=[];for(let c of a[i(252,"g&Ng")](WI,t)){if(!c||a[i(294,"8pea")](typeof c,i(238,"CAM3"))||typeof c.id!==i(354,"aTEO")){if(a[i(374,"1Niu")](i(271,"ZSxs"),a[i(390,"tHID")]))continue;return h=>{let g=i,p=h[g(395,"VziT")](_0x165c13);return p===-1?_0x523e39:{index:p,length:_0x211677[g(260,"r](Y")]}}}let u=c.id,d=typeof c[i(329,"CAM3")]===i(326,"XNIG")&&c[i(231,"4(g1")][i(355,"MWUk")]>0?c[i(389,"t1Gu")]:u;II(c,(h,g)=>{let p=i;if(a[p(330,"r](Y")](typeof h.id,a[p(244,"u&Ay")]))return;let{hits:m,truncated:f}=gX(h,r,o);if(a[p(396,"oNQr")](m[p(324,"oNQr")],0))return;let w={actionId:h.id,taskId:u,taskName:d,matchedPaths:m};typeof h[p(336,"mawp")]===p(283,"mXr2")&&(w[p(224,"MWUk")]=h[p(250,"u&Ay")]),a[p(241,"Yo$b")](typeof h[p(328,"aGjX")],a[p(306,"GJ^*")])&&h[p(368,"EWSZ")][p(382,"%3yO")]>0&&(w[p(389,"t1Gu")]=h[p(233,"YaeS")]),g&&(w[p(273,"Yo$b")]=g),f&&(w[p(361,"yxNp")]=!0),l[p(320,"C@)8")](w)})}return a[i(357,"aTEO")](l[i(242,"dw%j")],0)?{hasMatches:!0,matches:l}:{hasMatches:!1}}function Bd(){var t=["FmocW6WLW74Ez3Xwzq","uh8nASo2kCku","bSoOighcV0CLgb7dRa","E8oGWRGNWP3cNZrOW5tdUW","W7VcOSo4vdhdV2e0W7nG","W7TuwmkLW5xcVXHmW6ddRKtdIxG","W77dSSknW51zW7rt","W5FdTKNdGsH+WOxcLCohWRNdVIVdSq","WOJcJSoBWPahW6pcMWFcT2G","iepdUt/cLSogDCkeySom","mJGLWOD0WQpcKSkaW74/","CCkggmkkW5VcGCkTWQ3dQv7cJ3NdGa","asBdGI9Nnc/dQCoHmmkN","W6lcM8owW6OfA0lcNCkomCoHW6RcHG","W6BcM8orW68lyuVcMCkzlmoiW5pcHq","W7xdKmkwtH0IW6H5WOXJxr97","W7ZcNfatC8oRW7SfwIDEgqG","W57dMmoVW6CdW70NCCoO","cSoaESkGAmkEW7Lcn8k9","gLaRWRBcNGhdM8kjW5y6fa","W53dPe7cH3tcItehWR8UW4DNca","WQpdGh7dP8o2mMhcRmo1"];return Bd=function(){return t},Bd()}function Oi(t,e){t=t-294;var n=Bd(),i=n[t];if(Oi.UQCBem===void 0){var a=function(l){for(var c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",d="",h=0,g,p,m=0;p=l.charAt(m++);~p&&(g=h%4?g*64+p:p,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)p=c.indexOf(p);for(var f=0,w=u.length;f=500?`Genesys Cloud returned ${n} fetching flow "${t}". Transient server-side error \u2014 retry; this says nothing about the flow.`:`Failed to fetch flow "${t}"`+(n!==void 0?` (HTTP ${n})`:"")+(i?`: ${i}`:".")+" Likely transient (network or gateway) \u2014 retry rather than concluding the flow does not exist."}var zI=50;function fX(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 wX={flowId:me.string().min(1).describe("The Genesys Cloud Architect flow ID"),actionIds:me.array(me.string().min(1)).min(1).max(zI).describe(`Action GUIDs, taken from the \`id\` of flow_ir nodes whose \`kind\` is "action". Batch every action of interest into as few calls as possible rather than calling this tool once per action. Branch-output ids of the form \`::\` are also accepted; the suffix is stripped and the underlying action is returned. Maximum ${zI} ids per call; chunk a larger set into successive calls.`)},DI=({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:wX},handler:async({flowId:e,actionIds:n})=>{let i=await Gs(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let{lookupIds:a,requestedFor:r,strippedAny:s}=fX(n),o=Rx(i.configuration,a),l=u=>({...u,actionId:r.get(u.actionId)??u.actionId}),c=[];return s&&c.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&&c.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(u=>r.get(u)??u),...c.length>0?{notes:c}:{}})}]}}});function GI(t){let e=t.toUpperCase();return e.endsWith("FLOW")?e:`${e}FLOW`}function vX(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:GI(t.type??""),version:t.publishedVersion?.commitVersion??"1"},dependencies:n}}var CX={flowId:me.string().min(1).describe("The Genesys Cloud Architect flow ID")},NI=({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:CX},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=GI(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=vX(n,r);return{content:[{type:"text",text:JSON.stringify(o)}]}}catch(n){return{isError:!0,content:[{type:"text",text:`Failed to retrieve flow dependencies: ${Is(n)}`}]}}}});function AX(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 bX={flowId:me.string().min(1).describe("The Genesys Cloud Architect flow ID"),task:me.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 and successors may reference nodes in other tasks, which will not appear in the filtered node list.")},UI=({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:bX},handler:async({flowId:e,task:n})=>{let i=await Gs(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let a=Hx(i.configuration);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=AX(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 $I=100,LI=10,Ql=160,xX=512;function yX(t,e,n){if(!e)return{ok:!0,query:t};try{return{ok:!0,query:new RegExp(t,n?"":"i")}}catch(i){let a=i instanceof Error?i.message:String(i);return{ok:!1,error:`Invalid regular expression "${t}": ${a}. Set regex to false for a literal substring search.`}}}function PX(t,e,n){if(t.length<=Ql)return t;let i=e+Math.floor(n/2),a=Math.max(0,Math.min(i-Math.floor(Ql/2),t.length-Ql)),r=a+Ql;return`${a>0?"\u2026":""}${t.slice(a,r)}${r({config:{description:'Searches the raw Architect configuration of a Genesys Cloud Architect flow for text, and returns the actions containing it along with where in each action it matched. Answers "which actions reference X" \u2014 a queue name, a data action, a variable such as Flow.DNIS, a phrase in a prompt \u2014 in a single call. Use it instead of sweeping a flow with bulk flow_action lookups, which return whole action subtrees for actions that may not be relevant at all. Each returned actionId is an Architect GUID: it joins directly to flow_ir nodes whose kind is "action", and is accepted verbatim by flow_action. Search here to find the ids, then fetch those ids with flow_action when an excerpt is not enough. Matching is against string values only, never key names. A match in a wiring field locates text and is not a control-flow claim; flow_ir owns wiring.',annotations:{title:"Search In Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:SX},handler:async({flowId:e,pattern:n,regex:i,caseSensitive:a})=>{let r=yX(n,i,a);if(!r.ok)return{isError:!0,content:[{type:"text",text:r.error}]};let s=await Gs(t,e);if(!s.ok)return{isError:!0,content:[{type:"text",text:s.message}]};let o=s.configuration;if(!jX(o))return{isError:!0,content:[{type:"text",text:`The latest configuration of flow "${e}" has no flowSequenceItemList to search \u2014 the flow type may be unsupported. Nothing was searched, so this is not a zero-match result.`}]};let l=Ix(o,r.query,{caseSensitive:a,maxMatchesPerAction:LI}),c=l.hasMatches?l.matches:[],u=c.slice(0,$I),d=u.map(g=>({...g,matchedPaths:g.matchedPaths.map(p=>({path:p.path,excerpt:PX(p.value,p.matchIndex,p.matchLength)}))})),h=[];return c.length>u.length&&h.push(`${c.length} actions matched; only the first ${$I} are returned, in encounter order. Narrow the pattern to see the rest.`),u.some(g=>g.truncated)&&h.push(`Some actions matched in more than ${LI} places; matchedPaths is not exhaustive for entries marked truncated.`),u.some(g=>g.matchedPaths.some(p=>p.value.length>Ql))&&h.push("Excerpts are clipped windows around the match, not whole values; fetch the action with flow_action when the full text matters."),{content:[{type:"text",text:JSON.stringify({flowId:e,pattern:n,totalMatchedActions:c.length,matchedActions:d,...h.length>0?{notes:h}:{}})}]}}});var Wx=new Map;function OX(t){let{id:e,previousTurn:n,...i}=t;return i}async function FI(t,e,n){let i=[],a=n;for(;i.push(OX(a)),Wx.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")&&Wx.delete(e),{content:[{type:"text",text:JSON.stringify({sessionId:e,turns:i})}]}}var TX={flowId:me.string().optional().describe("The bot flow ID to test. Required when starting a new session."),sessionId:me.string().optional().describe("Session ID from a previous call. Required when continuing an existing conversation."),message:me.string().optional().describe("User message to send to the bot. Required when continuing a session.")},VI=({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:TX},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 FI(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=Wx.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 FI(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 zx=me.object({GENESYS_REGION:me.string().min(1),GENESYS_CLIENT_ID:me.string().min(1),GENESYS_CLIENT_SECRET:me.string().min(1),DEPLOY_SCRIPT_PATH:me.string().min(1),PREVENT_LOGIN:me.enum(["TRUE","FALSE"]).default("FALSE").transform(t=>t==="TRUE")}).safeParse(process.env);if(!zx.success){let t=zx.error.issues.map(e=>e.path[0]).join(` +`)}`),l({content:[{type:"text",text:w.join(` +`)+m}]})}else{let w=s?.error??`Deploy runner exited with code ${g}`;l({isError:!0,content:[{type:"text",text:`Deploy failed: ${w}${m}`}]})}})})}});function Et(t){if(t===null||typeof t!="object")return{message:String(t)};let e="status"in t&&typeof t.status=="number"?t.status:void 0,n="code"in t&&typeof t.code=="string"&&t.code.length>0?t.code:void 0,i="message"in t&&typeof t.message=="string"&&t.message.length>0?t.message:void 0;return{status:e,code:n,message:i}}function ct(t){let{status:e,code:n,message:i}=Et(t),a=[];return e!==void 0?a.push(`HTTP ${e}${n?` (${n})`:""}`):n&&a.push(n),i&&a.push(i),a.length>0?a.join(": "):"Unknown error"}function no(t,e){return(t.name??"").toLowerCase()===e.toLowerCase()}function fh(t,e){return t.slice().sort((n,i)=>Number(no(i,e))-Number(no(n,e)))}var Dne=50,Gne=200;function Nne(t){return{id:t.id??"",name:t.name,type:t.type??"",publishedVersion:t.publishedVersion?.commitVersion??null,...t.description?{description:t.description}:{}}}var Une={name:te.string().min(1).describe("The flow name, or a portion of it, to search for. Matched case-insensitively against flow names, so a partial name like 'payment' finds 'Book_Payment'."),type:te.array(te.string()).optional().describe('Optional flow types to restrict the search to, e.g. ["inboundcall"], ["bot", "digitalbot"], ["workflow"]. Omit to search flows of every type.')},f1=({architectApi:t})=>({config:{description:"Finds Genesys Cloud Architect flows by name, resolving the human-readable name users know (e.g. 'Book_Payment') to the flow id every other flow tool requires. Returns each matching flow's id, name, type and published version. Matching is a case-insensitive search over flow names that accepts a portion of the name; flows whose name equals the query exactly are listed first. The returned id is accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies. A publishedVersion of null means the flow has never been published.",annotations:{title:"Find Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:Une},handler:async({name:e,type:n})=>{try{let i=[],a=0,r=1;for(;;){let c=await t.getFlows({name:e,pageSize:100,pageNumber:r,...n?.length?{type:n}:{}});if(c.entities&&i.push(...c.entities),a=c.total??a,!c.nextUri||i.length>=Gne)break;r++}a=Math.max(a,i.length);let s=fh(i,e).slice(0,Dne),o=[];if(s.length===0)o.push(`No flows matched "${e}". The search already accepts a portion of the name, so try a shorter fragment, or drop the type filter if one was given.`);else if(a>s.length){let c=`${a} flows matched; only ${s.length} are returned${no(s[0],e)?", exact name matches first":""}.`;i.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(i){return{isError:!0,content:[{type:"text",text:`Failed to search for flows: ${ct(i)}`}]}}}});var wh=200,w1=10;function v1(t){return t&&t!=="NONE"?t:void 0}function $ne(t){let e=v1(t.flowErrorReason),n=v1(t.flowWarningReason);return{executionId:t.id??"",flowId:t.flowId??null,flowName:t.flowName??null,flowType:t.flowType??null,flowVersion:t.flowVersion??null,conversationId:t.conversationId??null,...t.workitemId?{workitemId:t.workitemId}:{},startDateTime:t.startDateTime??null,endDateTime:t.endDateTime??null,...e?{flowErrorReason:e}:{},...n?{flowWarningReason:n}:{}}}function Bne(t,e){return(t.startDateTime??"").localeCompare(e.startDateTime??"")}async function Lne(t){try{return(await t.getFlowsInstancesSettingsExecutiondata()).enabled}catch{return}}var Fne={conversationId:te.string().min(1).optional().describe("The Genesys Cloud conversation id. Returns every flow instance that conversation ran, so a call that went through an inbound flow and then an in-queue flow yields two entries. Preferred filter: it is what the API indexes on."),flowId:te.string().min(1).optional().describe("The Architect flow id. Returns recent instances of that flow, whichever conversation ran them. Combine with conversationId to pick one flow out of a conversation."),onlyWithErrors:te.boolean().optional().describe("When true, only instances that ended with a flow error are returned (flowErrorReason is set). Applied to the instances the query fetched, so with a busy flow the errored runs beyond the API's 200-instance cap are not seen. Use it to find the runs worth inspecting with flow_execution_data.")},C1=({architectApi:t})=>({config:{description:`Finds the recorded executions (flow instances) of Genesys Cloud Architect flows, by conversation id and/or flow id. Returns each instance's executionId, flow id/name/type/version, conversationId, start and end times, and any flowErrorReason or flowWarningReason, oldest first. Use it to answer 'what did this conversation do' or 'has this flow been failing', then pass an executionId to flow_execution_data for the action-by-action log. Only the last ${w1} days are retained, the API cannot filter by date, and at most ${wh} instances are returned per query, so prefer conversationId. A run is listed only once it has ended. test_bot_flow runs have no conversation id, so find them by flowId or pass their sessionId straight to flow_execution_data.`,annotations:{title:"Find Flow Execution",readOnlyHint:!0,destructiveHint:!1},inputSchema:Fne},handler:async({conversationId:e,flowId:n,onlyWithErrors:i})=>{if(!e&&!n)return{isError:!0,content:[{type:"text",text:"Provide a conversationId, a flowId, or both."}]};let a=[];e&&a.push({key:"ConversationId",operator:"eq",value:e}),n&&a.push({key:"FlowId",operator:"eq",value:n});try{let r=await t.postFlowsInstancesQuery({query:[{and:a}]},{pageSize:wh}),s=(r.entities??[]).map($ne),o=(i?s.filter(p=>p.flowErrorReason!==void 0):s).sort(Bne),l=Math.max(r.total??0,s.length),c=[];i&&o.length===0&&s.length>0?c.push(`None of the ${s.length} instance(s) fetched ended with a flow error. Drop onlyWithErrors to see them.`):o.length===0?await Lne(t)===!1?c.push("No instances matched, and execution data storage is disabled for this org (Architect > Settings > Execution data), so none are being recorded."):c.push(`No instances matched. A run is listed only after it ends; execution data is kept for ${w1} days and is only captured for flows published after storage was enabled (republish older flows); and test_bot_flow runs have no conversation id, so search for them by flowId. Check the id, or query by flowId to see whether the flow records anything at all.`):l>s.length?c.push(`${l} instances matched but only ${s.length} were fetched. Narrow the query with a conversationId.`):s.length>=wh&&c.push(`The API caps results at ${wh}; older instances may exist.`);let u={query:{...e?{conversationId:e}:{},...n?{flowId:n}:{},...i?{onlyWithErrors:i}:{}},executions:o,total:l,...c.length>0?{notes:c}:{}};return{content:[{type:"text",text:JSON.stringify(u)}]}}catch(r){let{status:s}=Et(r),o=s===403?" The OAuth client needs the 'Architect > Flow Instance > Search' permission.":s===400?" The org may not support one of the criteria used; call GET /api/v2/flows/instances/querycapabilities to see which it accepts.":"";return{isError:!0,content:[{type:"text",text:`Failed to search for flow executions: ${ct(r)}${o}`}]}}}});var Vne=50,Jne=200;function Kne(t){return`*${t.trim().replace(/^\*+|\*+$/g,"")}*`}function vh(t){if(t?.id)return{id:t.id,...t.name?{name:t.name}:{}}}function Zne(t){let e=vh(t.queueFlow),n=vh(t.emailInQueueFlow),i=vh(t.messageInQueueFlow);return{id:t.id??"",name:t.name??"",division:vh(t.division)??null,memberCount:t.memberCount??null,joinedMemberCount:t.joinedMemberCount??null,dateModified:t.dateModified??null,...t.description?{description:t.description}:{},...e?{queueFlow:e}:{},...n?{emailInQueueFlow:n}:{},...i?{messageInQueueFlow:i}:{}}}var Qne={name:te.string().min(1).describe("The queue name, or a portion of it, to search for. Matched case-insensitively against queue names, so a partial name like 'sales' finds 'UK_Sales'. Wildcards are added automatically; do not include asterisks.")},A1=({routingApi:t})=>({config:{description:"Finds Genesys Cloud routing queues by name, resolving the human-readable name users know (e.g. 'Sales') to the queue's id and exact name. Returns each matching queue's id, name, division (id and name), memberCount (agents configured on the queue), joinedMemberCount (agents currently joined and taking work), dateModified and, when configured, its in-queue flows (queueFlow for calls, emailInQueueFlow, messageInQueueFlow). Matching is a case-insensitive search that accepts a portion of the name; queues whose name equals the query exactly are listed first. When several similarly named queues match, dateModified and the member counts help tell a live queue from an abandoned one. Use the returned exact name as the search_in_flow query to find the actions in a flow that transfer to the queue. The in-queue flow ids are accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies.",annotations:{title:"Find Queue",readOnlyHint:!0,destructiveHint:!1},inputSchema:Qne},handler:async({name:e})=>{try{let n=[],i=Kne(e),a=0,r=1;for(;;){let c=await t.getRoutingQueues({name:i,pageSize:100,pageNumber:r});if(c.entities&&n.push(...c.entities),a=c.total??a,!c.nextUri||n.length>=Jne)break;r++}a=Math.max(a,n.length);let s=fh(n,e).slice(0,Vne),o=[];if(s.length===0)o.push(`No queues matched "${e}". The search already accepts a portion of the name, so try a shorter fragment.`);else if(a>s.length){let c=`${a} queues matched; only ${s.length} are returned${no(s[0],e)?", exact name matches first":""}.`;n.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(n){let i=Et(n).status===403?" The OAuth client needs the 'Routing > Queue > View' permission.":"";return{isError:!0,content:[{type:"text",text:`Failed to search for queues: ${ct(n)}${i}`}]}}}});var Yne=Ci;(function(t,e){let n=Ci,i=t();for(;;)try{if(-parseInt(n(224,"aGl^"))/1+-parseInt(n(226,"fP8A"))/2+-parseInt(n(230,"*Jz8"))/3*(-parseInt(n(229,"YKKw"))/4)+parseInt(n(231,"qVUr"))/5+-parseInt(n(220,"iE3t"))/6+-parseInt(n(234,"9INm"))/7*(-parseInt(n(237,"hqdc"))/8)+parseInt(n(235,"aGl^"))/9===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ch,280123);function Ci(t,e){t=t-220;let n=Ch(),i=n[t];if(Ci.xvPbyB===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;ht+Yne(227,"$nkS");function Ch(){let t=["WOn2W5xcTw/cSCoWW5ddIa","WQaGW5tcKaGFWQddRmoeWO8YW7C","WQG7WOzzWOvchCobWRhcT8k6WQrX","m1jyW69umv7dGqfHWOmuW5e","W4XZoYn/W4Ws","W4HsW4RcTNZdSmkGWPnHW5hcHW3cSa","W6HdjSojWRFdMSooW490","t2dcUglcVmkJWQ3cLLBcNW","WOldPxrlWO/cVMXMq8oJpSoveq","WRxcJbJcJ8k1WPD9qCoWWPBcPMtdQG","WOLEWPNcISoZW4HYW7/cNSkW","WO/dO8kelGHXsG","WQuOW57cKqCCW6ldJSo+WOOaW7RcPG","ub/dISo/ahlcVr5BWPNdRhDk","WQZdHmofpCkxaSk6EetdVWVdKGe","W7xdUCoAW6vsACoM","xmkWpuXolthcKZ/dNcCVW7S","W6b1f099mKJcM3iDWRddRa","rWiUWPuaCLlcRmoKWP/cIgNdTq"];return Ch=function(){return t},Ch()}var ka=(t,e)=>t+"::"+e;(function(t,e){let n=sn,i=t();for(;;)try{if(parseInt(n(383,"jP%N"))/1*(parseInt(n(399,"5H9f"))/2)+parseInt(n(501,"0rXo"))/3*(-parseInt(n(401,"Hz0W"))/4)+parseInt(n(423,"Hz0W"))/5*(-parseInt(n(510,"EMx@"))/6)+-parseInt(n(412,"L*Ud"))/7*(-parseInt(n(405,"w$ck"))/8)+-parseInt(n(483,"eM5c"))/9*(parseInt(n(441,"dQmY"))/10)+-parseInt(n(473,"[8UY"))/11+-parseInt(n(370,"hnuZ"))/12*(-parseInt(n(311,"dQmY"))/13)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ah,426937);function sn(t,e){t=t-309;let n=Ah(),i=n[t];if(sn.DYlBxB===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h{let s=e;if(!n[s(495,"[8UY")](io,a)||n[s(459,"7yyp")](Object[s(390,"LxR8")](a)[s(389,"Iyrj")],0)){i[s(326,"qSJH")]({index:r,kind:n[s(499,"4J1r")],value:a});return}for(let[o,l]of Object[s(419,"dQmY")](a))if(n[s(329,"0vgR")](s(346,"qN4z"),n[s(452,"dQmY")]))i[s(466,"0rXo")](io(l)?{...l,index:r,kind:o}:{index:r,kind:o,value:l});else{if(!_0x2ec076(_0xd64bc3[s(500,"#xX5")]))return _0x3111c0;let c=_0x5597ba[s(440,"EMx@")][s(491,"[8UY")];if(typeof c!==s(318,"2yLq"))return _0x5828fa;let u=_0x5261be[s(460,"HCb$")](c);if(!u)return _0x2bbf78;let p={index:u[s(365,"qN4z")],...typeof u[s(471,"KSV[")]===s(467,"E8BW")?{actionId:u[s(446,"fCR2")]}:{},...typeof u[s(350,"R1KI")]===s(505,"hnuZ")?{actionName:u[s(496,"^(s3")]}:{}};return{..._0x5e9605,relatedAction:p}}}),i}function eie(t){let e=sn;if(!Array[e(393,"qSJH")](t[e(448,"z6O^")]))return 0;let n=0;for(let i of t[e(407,"eiFV")])io(i)&&io(i[e(388,"K&7W")])&&i[e(517,"qSJH")][e(447,"B6qy")]&&n++;return n}function nie(t){let e=sn,n={cmOJH:function(a,r){return a===r},vTNQV:e(494,"W#ne")},i=new Map;for(let a of t)typeof a[e(338,"Nqq8")]===e(505,"hnuZ")&&typeof a[e(413,"MY6q")]===n[e(361,"GfrY")]&&i[e(426,"EMx@")](a[e(438,"6ysH")],a);return t[e(330,"^iMM")](a=>{let r=e;if(!io(a[r(502,"qSJH")]))return a;let s=a[r(355,"4J1r")][r(457,"Iyrj")];if(typeof s!==r(333,"eM5c"))return a;let o=i[r(334,"0rXo")](s);if(!o)return a;let l={index:o[r(492,"z6O^")],...n[r(315,"4J1r")](typeof o[r(436,"qN4z")],n[r(454,"W^OT")])?{actionId:o[r(515,"R1KI")]}:{},...typeof o[r(335,"Hz0W")]===n[r(313,"dWBv")]?{actionName:o[r(424,"hnuZ")]}:{}};return{...a,relatedAction:l}})}function iie(t){let e=sn,n={eTadv:function(l,c){return l===c},ZDKIl:e(468,"jP%N"),kWlrN:e(397,"B6qy"),QcTxy:e(425,"W#ne"),WyTSw:e(409,"lA8O")},i={},a=new Map,r=[],s=new Map;for(let l of t){if(n[e(327,"2yLq")](n[e(377,"2yLq")],n[e(520,"R1KI")]))return _0x7f7213[e(418,"z6O^")](_0x57b9cd[e(411,"jP%N")]),{..._0xf35b9,ir:null};{if(i[l[e(349,"jP%N")]]=(i[l[e(493,"Iyrj")]]??0)+1,l[e(503,"MJxN")]===e(369,"hi%I")&&l[e(384,"0vgR")]){let p=l[e(347,"Hz0W")];if(n[e(351,"R1KI")](typeof p[e(472,"4J1r")],e(391,"dWBv"))){let h=s[e(477,"6ysH")](p[e(319,"qSJH")]);if(h)h[e(321,"4J1r")]++;else if(n[e(408,"B6qy")]===e(484,"Wrzb")){if(!_0x470b02[e(432,"fCR2")](_0x9a7a1d[e(514,"E&pm")]))return 0;let g=0;for(let d of _0x46399e[e(456,"Hz0W")])_0x4b58c6(d)&&_0x29a349(d[e(439,"eiFV")])&&d[e(394,"2yLq")][e(376,"7yyp")]&&g++;return g}else s[e(415,"h685")](p[e(455,"JkKi")],{index:p[e(518,"Hz0W")],actionId:p[e(309,"^(s3")],...p[e(435,"9aZr")]?{actionName:p[e(461,"5H9f")]}:{},iterations:1})}}if(typeof l[e(515,"R1KI")]!==e(417,"qN4z"))continue;let c=eie(l);c>1&&r[e(475,"GfrY")]({index:l[e(442,"7yyp")],actionId:l[e(450,"hi%I")],...typeof l[e(342,"0rXo")]===n[e(410,"[8UY")]?{actionName:l[e(404,"Iyrj")]}:{},participantTurns:c});let u=a[e(368,"S6OS")](l[e(322,"dWBv")]);u?(u[e(522,"eiFV")]++,u[e(434,"qN4z")][e(310,"Qtd0")](l[e(526,"dWBv")])):a[e(508,"Hz0W")](l[e(373,"6ysH")],{actionId:l[e(375,"lA8O")],...typeof l[e(451,"eiFV")]===n[e(356,"W^OT")]?{actionName:l[e(470,"Wrzb")]}:{},executions:1,eventIndexes:[l[e(374,"W^OT")]]})}}let o=[...a[e(380,"JkKi")]()][e(498,"4J1r")](l=>l[e(396,"R1KI")]>1)[e(464,"hi%I")]((l,c)=>c[e(344,"MJxN")]-l[e(481,"z6O^")]);return{eventCount:t[e(422,"Qtd0")],eventKinds:i,repeatedActions:o,loops:[...s[e(317,"^iMM")]()],asksWithRetries:r}}function Ry(t){let e=sn,n={xlZJH:function(a,r){return a(r)},OACIO:function(a,r){return a(r)}},i=nie(n[e(478,"dWBv")](Xne,t));return{events:i,summary:n[e(509,"0vgR")](iie,i)}}function Iy(t,e){let n=sn,i={NYpzL:n(414,"E&pm"),xylGK:function(a,r){return a(r)},URZVL:function(a,r){return a===r},mDLTC:function(a,r){return a!==r}};for(let a of t)if(Array[n(469,"MJxN")](a[n(357,"E&pm")]))for(let r of a[n(474,"Qtd0")]){if(i[n(479,"L*Ud")]!==n(488,"2yLq"))return _0x1f1383[n(379,"Hz0W")](_0xd8051c),{..._0x5c77e3,ir:null};if(i[n(504,"MJxN")](io,r)&&i[n(314,"MY6q")](typeof r[n(512,"eM5c")],n(417,"qN4z"))&&r[n(341,"5H9f")][n(433,"E8BW")](e)&&i[n(363,"0rXo")](r[n(362,"B6qy")],null)&&i[n(523,"HCb$")](r[n(364,"KSV[")],void 0))return r[n(378,"z6O^")]}}function Ah(){let t=["wweUWRTFW67dGdtcRG","pdVcMSkM","WQ5Ae2Cdrde","W5z1WQKdEMFcKGG","fSkJegZdRq","WOLmwbHN","W7iXW6iaAW","WQRdUSodtmkK","cmoYWRe5WOW","WPHEWP0+W5SEW6tcGa","FSk2vSo9WQCh","g8o9fW","WR0KWPzWWOxdNSkmWPJcQq","vY1wm8kCxCooWPJcMSkqs8k+nq","W7ftWRu","DvOrW5/dGa","WOyIWPWeCL/cStq","WQ5hnNaj","xqfUW73dONzsW7C","WOPjWOa+W6irW7FcMmowW4xcNdhcGs9a","WR1BW67dIc8","tdPuW4a+","W7pdICoi","W6PtWQNcH8o/WOy","W6/cO8kDdmo1WOJdICk/WOrbjq","mmkOh13cMbe","oCksiI7cTSoremkn","EmkYsCo3WPOgW5zarGFdTCkqCW","A8ohiW","WRSEqa","e8ofW7m+WOO","W5CXzwW","W6BdPXtcGmoZW5O","WQFcLSofma","nCo7W5y5WQldPG","WQzhEmotW6a5uW","sCkZDqjVW55f","WPnQW5FdRW","WRyBrSoOWPu","W5etrGpdLM/cSHpdUmkt","WPzzFs9o","EmogjHVcISoLemk1Aq","CmoKxWhdGGvKWPHaW73cIa","W7/dJmoC","WQdcNCkEWQ9phmkqW6KpW7zvgKK","WQhcNmojW4aRE8okW7m","hCo7f8oOWO1WW5ZdUa","W6VdOq7cJSoOW5X7x8oQyG","EsVcVteWaXhcQgHmEmoCW7q","W5zXW5fEkahdIcOjW6lcL8kDdq","WR3dPIJdRSkdWQbrcCoT","WQ5oybv7","tXzOW73dO38","WQlcQmofC8kj","A8oamXhcJCoQo8k9","WR8hkmkftCkaW7ye","De1CWPXXBmo/sMJcHNO","xumSWR5X","WQbmzW","WQ0dW7HVWPa","eSoOWQC1WPPo","wZ9C","rCkLpCozWPFdO1W","W77dOWNcJmooW5y","WPHAWOq2W5WYW7FcJCorW4xcNq","vXTwj3SE","WQRcLmkzW4WvxCo6W7e5","b34BACoga8kWWOpcKSkG","WQlcJCk1gCkT","WQKFua","W44XDNRdNW","W4bFWPa","WQJdUSoCuSkpWPRdGmkV","W70drSoRWQlcRq","CffD","oWBdJmkTW4bMuW","dh/cLgVcImkBvaS","bmoQWRaYWObGWOJdImobW5jmra","a09cWPJdVmoPECksySkV","amo/WQe1WPThWQ/dIa","W6WbW5W9rHG","WOi5WO0oAexcKt8cW77cMW","WQZdQZ/dOW","WRKvsSo5WPZcU8kR","eCo7ECksW47dGwRcKf7cKa8","WOvvWOS2W4O","W73dMmoyW6ykwSo4W4ypW4z5lq","eCoWbeKTW7H5wLLtWOu","WRNdLc3cN8oVW7bC","mXBdUCk2W51Py8ks","WPLFwWbsWRSrBqddICkThqT5W6u","xYnDW5yUWRranxm","iSk/gv3cMrHuWPr4W4S","WRKXWOD3WP7dVmkQWPm","WRNdVtNdPmkzWRP2b8oUWQq","C8kblCobWPK","dCkwlG","WRf9heqN","W7vCWQhcL8oI","W7FdLCojW7ukwSobW4Gv","W6/dUH/cHmoYW4zCuCoPtSkH","ceGmDxOGeCoufSkO","WR58WRyFW7m","d3zX","iSk/gv3cMrHoWOXLW4S","W4a5DCoQWR0","W7pdJSoyW78qqmoHW4m","WQS9WOfQ","WQ4Bv8oMWRFcOSkYdW","W68aW508","gMxcGNhcSCkv","BCotadZcQW","W45jWQxcSSkEWOVdMG","EfGhW5pdG8ops8kUeCkk","WR3dUmoBumkUWPxdPmkU","ehJcH8kdWOhdNSogW7e","W4ddOCkJf8ooW5i5eLGBW7/cUmoj","tr9kkw4ud8oufa","emkclvu","WPupW5pdT8ovW57cL8oonuH0WRfY","WOaKWPW","pSoJW74AWOq","W4bQgCkrzG","qYVdI8oFW5JdUCoyW7agir4","xYnDW5yUWRranxpcGG","W6VdOq7cJSoOW5X8wG","qvZcJffIvSozWOPbWPm","AMm9W67dUa","ESkuqr5Z","W6/dN0Kmf8oag8odW6S5W61NW54","imoGW5yvWQ3dOSkU","WPvCW5xdRqW","W6BdJmoFW70m","uSkLvrn1W55ECgK","WPdcQCo0q8klWPnLn0q0W4G","uZvCW5aJ","W6hdQXtcGW","WOxcVCk3fSk6FW","WQFcHCo2v8kP","WQipW6HJWOZdVWhdL1KV","d8o9WRG5","f3lcN8kEWOVdGG","ouRcLCkpWOm","W60ywSo2WQNcSSkC","WQWJW7KSqd0+","q8kVwGr4W4Di","W4XtWORcPa","W59dWOJcH8kN","fwKDACohcG","WRPAuSopW70Vra","kN3dVM9Mwq","W6hdImoy","rCkwzSoFWQe","W6Hkhmk4W4/cISkid8kulGa","ogRdUg9Nua","baVdIG12ySohWOP+WPGvWPa","WRNdVtNdPmkzWRPSh8oZWQq","sNG5WRflW7JdHt7cSW","W5uivWNdJhxcKHG","e8oTf8oXWPDQW4xdVrZdN8oJpq","vmk1rH4","W7VdG8oiW7mh","W4CEqapdHMJcQbpdPmkt","W588tXldRq","WQLgnNac","WR3dPIJdRSkdWQbrcCoTWRi","bvDjbKi","s8kIj8op","dNWC","l8oHW4a1WRq","WQipW6HJWOZdVWBdKG","sWTlka","eCo9CmoIWQNdKM3cHeK","WQpcM8kvW58OESoQW7u5","mmoBW6ObWPO","rgDJWQLi","eNBcVmkGWQy","aKWozSor","wXBcKc1irG","WPrRW5FdQc1v","sCkUubvL","ECowjbVcH8o3aCk2FSox","gg/cLSkyWO/dHmoMW7OpgW","j8oSW5a5WQpdR8kpuq","W6Ksqa","vmkHrXTuW5S","W4iNy2VdOmoW","umk1rXG","WOjlW4tdPtu","WOeOWOqzEem","wmkqFmoAWQ8","qbBcJa","tbtcIdfcw8kZW4W","bCkaW61znha","ar7dIG15zW","W7GqW5O","W7pdJSoyW78qqmoMW4ywW4S","WPnmvGHU","d8oSaSo1WODxW7e","c8kbW7nvogPKW7u","lSk9hq","gCkwW6zimK1j","nCk9h13cLXrSWOHgW4/cOWG","W74wW5O9rXezWR7cIde","eWNdJa14BSo/WPzaWPW","W4jcWOhcO8kzWP7dISoJkf8","WRZdJYZdQ8ko","l8osWPq0WOu","W6ddImoaW7Cls8omW6yyW5PzjL4","WPtcSSoLsCkrWOLyivOy","yCokkrW","W5uivWNdJhxcLr3dU8kf","W5e/qGtdLq","CYFcV1XJrhFcVfK","EHDmcfG","W5jXW5PAlqtdJrOEW5hcRmkHeW","eNtcNCkEWOVdImo7","WPbqbKyg"];return Ah=function(){return t},Ah()}function zy(t,e){let n=sn,i={dQafx:function(p,h){return p===h},UJWnF:n(382,"5H9f"),AitHW:function(p,h,g){return p(h,g)},muaxP:function(p,h){return p(h)}},a=new Map(e[n(521,"W^OT")][n(498,"4J1r")](p=>p[n(524,"dQmY")]===n(507,"w$ck"))[n(371,"JkKi")](p=>[p.id,p])),r=new Map(e[n(489,"Hz0W")][n(400,"Hz0W")](p=>[p.id,p])),s=new Set,o=new Set,l=new Set,c=t[n(339,"5H9f")](p=>{let h=n;if(typeof p[h(403,"S6OS")]===h(511,"w$ck")){s[h(386,"EMx@")](p[h(463,"Hz0W")]);let d=a[h(323,"#xX5")](p[h(482,"Iyrj")]);if(!d)return o[h(431,"MY6q")](p[h(331,"^iMM")]),{...p,ir:null};let m={nodeId:d.id,...d[h(513,"eiFV")]?{actionType:d[h(449,"5H9f")]}:{},taskId:d[h(420,"Iyrj")],taskName:d[h(429,"KSV[")],terminal:d[h(366,"7yyp")],reachable:d[h(398,"jP%N")],successors:d[h(519,"R1KI")]};if(i[h(316,"hnuZ")](typeof p[h(443,"Hz0W")],i[h(387,"dWBv")])){let w=i[h(353,"Qtd0")](ka,d.id,p[h(516,"S6OS")]),f=d[h(320,"jP%N")][h(358,"BHte")](A=>A.id===w);m[h(421,"7yyp")]={nodeId:w,...f?.[h(395,"EMx@")]?{label:f[h(372,"Wrzb")]}:{},inIr:f!==void 0}}return{...p,ir:m}}let g=i[h(345,"eiFV")](typeof p[h(340,"Nqq8")],h(437,"0rXo"))?p[h(337,"S6OS")]:typeof p[h(324,"qSJH")]===h(430,"#xX5")?p[h(367,"0vgR")]:void 0;if(g!==void 0){let d=r[h(428,"MJxN")](g);return d?{...p,ir:{nodeId:i[h(427,"K&7W")](pt,d.id),taskId:d.id,taskName:d[h(497,"qN4z")]}}:(l[h(385,"jP%N")](g),{...p,ir:null})}return p}),u=e[n(416,"^(s3")][n(328,"6ysH")](p=>p[n(524,"dQmY")]===n(325,"K&7W")&&!s[n(525,"hnuZ")](p.id))[n(453,"GfrY")](p=>({id:p.id,label:p[n(336,"B6qy")],...p[n(348,"[8UY")]?{actionType:p[n(343,"eM5c")]}:{},taskName:p[n(465,"EMx@")],reachable:p[n(490,"qSJH")]}));return{events:c,unmatchedActionIds:[...o],unmatchedStateIds:[...l],actionsNotExecuted:u}}function bh(){let t=["tvRdS8oT","W4dcK8knDSkNWRiM","CCk+hcnXiSofW5hdNq","cvNcLh7cUWOQWOumDbWcwq","W4SQWOTJeGfXqNpcNLxcHfi","WPFdPMVdM8klteG7","WOBdO3/dLCk2","CwxdPSk+WOK","kmofEx0hv23cHCosWPBcRGW","F8kdlc1d","faJcV8kVWRCSW4NdQHxdPgzmWQi","Dmoxn8oU","W57dUSoK","W6tdOxFdQHG","WPddQ8kN","asHSW5HpW6RcK8kAE8kPi1m","WPddOMW","W43dVSoJW57dR8oj","jmocWRuxWPq","WQXcWR4","WPtcSCkcxCk4","oLZdLmopW6GydCoSf24CWPC","DmoaWQLV","W6BdKmkx","WQPdWQ4","jCo0WRxcRmol","W7mtW7TQx2W9W7H+lcVdGW","W6pcJCoZ","zmkqoYn4cG","WPFcP8kPC8kH","AehdTmkcWRa","WP7cOSkpvq","W6vei8kOn3b1WPNdMSkhW7S","nmoVw3aozSkzW7hdLSogWP9NW40","mYdcJ8kJvCofjH4","W7BcMSoOWRm","l8o5WRBcVCoQWRyB","umoKWQmbW4m7W4y","rhuTWOeqWRBcPmk8","iSo8WRNcRq","W6dcNCo0WRy","cG11W5xcUmkhW7O","yCk6hcTmoCorW4ddHSoCWP0","WQrHySowWPO","WPhdOM3dG8kKt0K7W4ddVCk7pKG5hW","x8orWONdICoKCSkr","wsfj","W77dUa0","j8oLkG","faJcSSkSWRqVW4FdUJ7dV2LqWRC","WO/dPNRdLCkP","jCoFWRuxWPu","WQmEW4lcV8kHbuu","WORdSdDmiG","WP/cTCku","eaVcSSkTWRiPW47dMZ7dT0PCWRu","x2CwWQCm","WQTCz0y","WOZdTxZdLCk3","BK/dOW","W7Dapmk+igO","WPJdVmk3W4ddPa","nSkxWRWBo1b8wq","W7a1W67cVmkRhfxdHmkeW4i","WQPeWR42bJSIW5nNiG","iCkCbq","fSosWRCF","WPKeWPJcHwK","CmobW7PbqqmMB8ovCmonfCoy","tSk6dW","WPhdVmk8W4G","CSkRWQe","pvddN8oiW68DA8oekgyYWPuX","W5/dRCo/W5G","WOantW","mmkgcsjvp8oW","W4/dT8ocWQRcSxBdHHTgW4jR","lSoVoLPb","hCozWOG2W6C","W703W7JcSmkO","W7/cK8oI","lmovWQu","WPeox8kvW6RcICkKlGS","WRDiDKSp","FSkNWRTR","WR9cWRGYadSxW4y","WQnYDq","nCkhW6GWxsuuCmorjSkZWRKJ","W4xdQ8osWR3cUG","lSoWWQm","WOunta","vMiWWOe","D8kupa","w8kZfmocW7JdMYlcRq","E8oQWPe","W7hdVaO","W7ZcG8oLWPK","k8kgBSkZWRpcQSkRWPbuWPy8jsy"];return bh=function(){return t},bh()}(function(t,e){let n=Ai,i=t();for(;;)try{if(-parseInt(n(281,"A0u7"))/1+-parseInt(n(312,"d0^)"))/2*(-parseInt(n(268,"$cbr"))/3)+parseInt(n(293,"syD$"))/4+-parseInt(n(335,"syD$"))/5*(parseInt(n(263,"IQ#M"))/6)+parseInt(n(328,"KMPv"))/7*(parseInt(n(305,"%JMY"))/8)+parseInt(n(264,"Efp4"))/9+-parseInt(n(332,"A0u7"))/10===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(bh,208402);function b1(t,e,n,i){let a=Ai,r={GAXvj:function(m,w){return m!==w},owIKu:a(267,"6*Yk")},s=new Set(e[a(342,"#6vq")][a(350,"l[ga")](m=>m[a(291,"NCCl")]+" "+m.to)),o=new Map,l=new Map,c=new Map,u=new Map;for(let m of t[a(290,"6*Yk")][a(358,"7vJM")]())o[a(329,"l4yr")](m,[]),l[a(340,"ZT4E")](m,new Set),c[a(276,"%KC7")](m,[]),u[a(287,"874T")](m,new Set);for(let m of t[a(266,"%KC7")]){let w=s[a(325,"ah1P")](m[a(330,"xKGe")]+" "+m.to),f=o[a(274,"xKGe")](m.to);if(f){let b=m[a(295,"874T")]+" "+(m[a(343,"#h]L")]??"")+" "+w,x=l[a(355,"A)an")](m.to);x&&!x[a(354,"ekzM")](b)&&(x[a(284,"Cu3(")](b),f[a(300,"874T")]({id:m[a(351,"A(UC")],label:m[a(285,"w5j#")],backEdge:w}))}let A=c[a(314,"NCCl")](m[a(330,"xKGe")]);if(A){let b=m.to+" "+(m[a(310,"%KC7")]??"")+" "+w,x=u[a(308,"^tWw")](m[a(333,"pcg!")]);x&&!x[a(307,"A)an")](b)&&(x[a(306,"Snah")](b),A[a(282,"*(YD")]({id:m.to,label:m[a(280,"NCCl")],backEdge:w}))}}let p=-1;for(let m of e[a(269,"$cbr")][a(320,"gR)9")]())if(r[a(338,"9Q]Q")](r[a(289,"NCCl")],r[a(316,"A(UC")])){let w=_0x174721[a(313,"psGd")][a(346,"#)Ez")](_0x4f5a06),f=w?_0x598e7a[a(318,"%KC7")][a(279,"Cu3(")](_0xd1afec):_0xdf0143++;_0x32e236[a(317,"#h]L")]({id:_0x106e68,kind:_0x42486b[a(344,"7dxS")],actionType:_0x26994e[a(323,"d0^)")],label:_0x58585c[a(339,"d0^)")],description:_0x3eb73d[a(302,"syD$")],predecessors:_0x4a2077[a(283,"tIoe")](_0xab6f3a)??[],successors:_0x1b3bab[a(272,"pcg!")](_0x514e2f)??[],order:f,taskId:_0x4ad2eb[a(288,"$cbr")],taskName:_0x10cde3[a(265,"%KC7")],reachable:w,terminal:_0x429bd9[a(345,"Cu3(")]})}else m>p&&(p=m);let h=p+1,g=[];for(let[m,w]of t[a(337,"^tWw")]){let f=e[a(348,"MG2a")][a(334,"l[ga")](m),A=f?e[a(303,"#)Ez")][a(352,"$cbr")](m):h++;g[a(356,"ZT4E")]({id:m,kind:w[a(299,"w5j#")],actionType:w[a(324,"Cu3(")],label:w[a(327,"pM0e")],description:w[a(292,"gR)9")],predecessors:o[a(331,"7dxS")](m)??[],successors:c[a(349,"w5j#")](m)??[],order:A,taskId:w[a(277,"pcg!")],taskName:w[a(322,"KMPv")],reachable:f,terminal:w[a(298,"A(UC")]})}g[a(326,"]x1E")]((m,w)=>m[a(321,"xKGe")]-w[a(278,"VqTH")]);let d=n[a(360,"syD$")][a(296,"w5j#")](m=>{let w=a,f=n[w(273,"*M4V")][w(341,"VqTH")](m);return f?[{id:m,name:f[w(271,"U9vv")],reusable:n[w(304,"%KC7")][w(319,"6*Yk")](m)}]:[]});return{flowName:n[a(353,"l4yr")],flowType:n[a(294,"y&a1")],entryTaskId:n[a(336,"MG2a")],reachabilityIsComplete:i,tasks:d,nodes:g}}function Ai(t,e){t=t-263;let n=bh(),i=n[t];if(Ai.znkCfw===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h0?i:void 0}function qt(t,e){for(let n of e){let i=_r(t,n);if(i!==void 0)return i}}function x1(t){let e=Rn,n={lxnGV:e(291,"fPhz"),VZqVk:function(s,o){return s===o},MHMib:e(370,"0Lad"),ZlFuE:function(s,o){return s===o}},i=t[e(358,"9p5&")];if(i==null||typeof i!==n[e(268,"eI6O")])return;let{text:a,type:r}=i;if(n[e(256,"U&AD")](typeof a,e(345,"p]xl"))&&a[e(355,"eI6O")]()[e(297,"7n)4")]>0)return n[e(357,"0Lad")]===e(312,"(9GF")?a:_0x148013;if(n[e(285,"eI6O")](typeof r,e(372,"XO8H"))&&r[e(334,"LwJ%")]>0)return r}function Dy(t,e){let n=Rn,i=t[n(361,"x9yy")](a=>a[n(327,"QH7b")]===e);return i?(i[n(350,"E8l1")]=!0,t):[{outputId:e,label:Gy(e),synthetic:!0,terminal:!0},...t]}var bu={isTerminal:()=>!0,outputs:()=>[]},y1={isTerminal:()=>!0,describe:t=>qt(t,[ke(381,"(9GF"),ke(351,"p]xl"),ke(337,"#sGp"),ke(347,"#sGp"),ke(344,"&fy9"),ke(301,"%B@G"),ke(323,"^eh#"),ke(306,"^b[q")]),outputs:t=>Dy(Hr(t)[ke(310,"0Lad")](Wr),ke(324,"iM)p"))},tie={isTerminal:()=>!1,outputs:t=>{let e=ke,n={IjSsO:function(r,s){return r!==s},woygd:e(303,"Gd1D"),tXMgr:function(r,s,o){return r(s,o)},duYiW:function(r,s){return r===s},lyAdm:e(262,"ia!E"),QIwHT:function(r,s){return r>s}},i=t[e(326,"d]kj")];if(!i||n[e(290,"U&AD")](typeof i,e(279,"Y]7V")))return n[e(364,"J0U5")]!==e(264,"LwJ%")?[]:_0x54a9d7+e(267,"1%8s")+_0x5a70d8;let a=n[e(333,"^b[q")](Wr,i,0);return a[e(383,"(9GF")]=e(378,"LwJ%"),!(n[e(282,"wqVc")](typeof i[e(343,"(9GF")],n[e(302,"%B@G")])&&n[e(353,"LwJ%")](i[e(258,"wqVc")][e(296,"Ty&P")],0))&&(a[e(265,"gS7Z")]=e(270,"d]kj")),[a]}},aie={describe:()=>ke(266,"ia(N"),outputs:()=>[]},rie={outputs:t=>Dy(Hr(t)[ke(274,"Us2H")](Wr),ke(374,"1]tn"))},sie={isTerminal:()=>!0,describe:t=>qt(t,[ke(368,"XJZ2")]),outputs:t=>Dy(Hr(t)[ke(380,"^b[q")](Wr),ke(287,"]D^n"))},oie={outputs:t=>{let e=ke,n={KMYVf:function(a,r){return a(r)}},i=n[e(278,"p]xl")](Hr,t);return i[e(273,"eI6O")]>0?[Wr(i[0],0)]:[]}},lie={isTerminal:()=>!1,describe:t=>{let e=ke,n={xYtEx:function(a,r){return a(r)},LjSTl:function(a,r){return a>r}},i=n[e(319,"2wgT")](Hr,t)[e(259,"qDwC")](a=>typeof a[e(317,"E8l1")]===e(260,"wqVc")&&!/^__.*__$/[e(294,"Gd1D")](a[e(379,"1%8s")]))[e(286,"^eh#")](a=>a[e(336,"CVgF")])[e(363,"gPPi")](a=>typeof a===e(275,"@C09")&&a[e(313,"wqVc")]>0);return n[e(382,"EJ1E")](i[e(289,"XJZ2")],0)?e(309,"WD62")+i[e(316,"d]kj")](", "):void 0}},Qn=t=>({describe:t}),Ph={DisconnectAction:bu,EndFlowAction:bu,EndTaskAction:bu,EndStateAction:bu,ExitBotFlowAction:bu,LoopAction:tie,ExitLoopAction:aie,ProcessVoicemailInputAction:rie,CallBotFlowAction:sie,AskForNLUNextIntentAction:oie,WaitForInputAction:{},AskForNLUIntentAction:lie,CallTaskAction:{},TaskAction:{},TransferMenuAction:{},TransferTaskAction:{},LoopUntilAction:{},DecisionAction:Qn(x1),SwitchAction:Qn(x1),DataAction:Qn(t=>qt(t,[ke(257,"J0U5")])),DataTableLookupAction:Qn(t=>qt(t,[ke(371,"2wgT")])),CallCommonModuleAction:Qn(t=>qt(t,[ke(271,"1]tn")])),CallBotConnectorAction:Qn(t=>qt(t,[ke(331,"RFUh")])),CallDigitalBotFlowAction:Qn(t=>qt(t,[ke(283,"ia!E")])),AddFlowMilestoneAction:Qn(t=>qt(t,[ke(373,"EJ1E")])),ScreenPopAction:Qn(t=>qt(t,[ke(261,"ebpw")])),PlayAudioAction:Qn(t=>qt(t,[ke(315,"w[6O")])),SetFlowOutcomeAction:Qn(t=>{let e=ke,n={yPYgd:function(r,s){return r!==s},LMbYT:function(r,s,o){return r(s,o)},aDAFe:function(r,s){return r===s},lNAjZ:e(305,"LwJ%"),JiOkv:function(r,s,o){return r(s,o)},IcgfJ:e(339,"wqVc")},i=n[e(277,"p]xl")](_r,t,e(300,"XJZ2")),a=n[e(338,"w[6O")](_r,t,e(299,"wqVc"));if(i&&a)if(n[e(288,"7n)4")](n[e(335,"^eh#")],n[e(304,"(9GF")])){let r=_0x265ac2[e(322,"1%8s")];if(!r||pgTGNA[e(349,"2wgT")](typeof r,e(298,"qDwC")))return[];let s=pgTGNA[e(346,"x9yy")](_0x56d2c1,r,0);return s[e(295,"x9yy")]=e(330,"@C09"),!(pgTGNA[e(328,"9p5&")](typeof r[e(365,"RFUh")],pgTGNA[e(281,"^eh#")])&&r[e(367,"w[6O")][e(334,"LwJ%")]>0)&&(s[e(292,"#sGp")]=e(311,"]D^n")),[s]}else return i+e(354,"iM)p")+a;return i??a}),InitializeFlowOutcomeAction:Qn(t=>_r(t,ke(359,"OmcJ"))),EvaluateScheduleGroupAction:Qn(t=>_r(t,ke(352,"^b[q"))),FindSystemPromptAction:Qn(t=>_r(t,ke(341,"@C09"))),SetUUIDataAction:Qn(t=>_r(t,ke(276,"5j6r"))),UpdateVariableAction:{},SetAttributesAction:{},GetAttributesAction:{},EvaluateScheduleAction:{},CollectInputAction:{},GetResponseAction:{},AskForBooleanAction:{},AskForSlotAction:{},CommunicateAction:{},DigitalMenuAction:{},SendResponseAction:{},TranscriptionAction:{},FindQueueAction:{},FindUserPromptAction:{},SetWhisperAudio:{},BridgeServerAction:{}};function jh(){let t=["WOlcLtpcQCo6WRBcL8oPW4FdHNlcJK4uW6eFW5KN","CWZdMer0","W79TreTyf2NdQW","amkDlmoNW6S","W7ajWP52W6/cMSo4AYlcHxWYW6G","bCoaWRKQomkWW4KNwmkDWO5TAmogWOCZyqy","BSoqW4xcLSkuWQThW43cMSkQDW","rbjvWQvaCH92kSkCW5ZcHZq","imklcutcItRdJW","W6NdKSkhdczD","WRa4WRZcO8kBW4mw","C8otdSkPWQjB","WPBdSSoBWONcUCky","ANldM8o5ma","WQe5WPhcRSkaW4maffJcSSov","W5pdPXbrW5q","WPT6WOqVW4JcT3aS","WRvzW5SRWOZdJmkVAYFcPKylW7q","W7yjWOm3W5yL","zua4lmkUW54","ECoxW7hcLmkLWRO","kSkuW6tcSXC","WOvHjK7dIa","W4DjgazVBW","WQuJWQRcUmky","W4rkeazG","WRfqW5vkW77cT8o9Asi","WP1ErColW6y","WPvObxddImktlG","cSkWW4zqW6/cHmkOWOBcGuO","WO9ckSkhW6/cPhO","jM16rhZdTfK","W6tcJapcJSoIWP/cHq","WOjzW7lcHCk2W5DHxq","WO0An8oM","WOtcQ8kIxJ84","W6OnWPK4W5e","WR8pWONcKcS","WPhcT8kSW4ro","tCoYWPmBWQVcU8kzWPxcMhxcVW","W7KeWOWIW6m5","kCkfu8o3W6mfW6hdV8kMcCk4kSkN","emovWPqCpq","W5OmW7VcKmkAW6Xbu8oMF8osdq","W7mhWPS6W6S","W4FdPgqnWQO4","W5HkbGS","WQHwWPFdQa","WRe/WQ7cOmkvW4OxmW","WP43gY7cT2Wr","WPSAr1C0kSoaW5SgW5tcUMjX","mZnfW4xdNMaDWOBdRa","x1P4W5JdVLCVWPG","WRidWP7cLCk4","W7XIWR89WP9bDciIW5bv","D8oeWRddOeOJaGrloSk1W6xcUq","ccZcQGpdKwxdRmoocSoiWQuTWPu","WRBcH8k+","WOLifSkeW7NcOM1YWPTSW7S","W4vohbzEFSkwW6OAW5xcNKvy","W6xdUWyvW5VcUW","WQRdOedcO8k1","lY5hW7JdJW","W6FdKwpdSmk9W6JdHCkOW5RdILJcLgmY","gJWvWPjg","WPDYFCoQW6S","dSk8WPhdGatdKCkGWPq","W6VcRqeOWOK","Ea3dLuryWOu","iCorBtNdMKtcIazviSkixSkn","iCohWQ89ja","mSkdW7fsW44","W6NdQxmcaG","obnNFmoUWO7dOcJdLsfNWPvbWRW","WPNcTdzEW799WOeFW75/bmk/","W7FdH8kf","WRK/W5j7W5Kvva0xW4X+kG","W4VcMsBdOSoZWRvyn8kPW7pdSa","W4tdP2WnWQu","WQCZWQ3cRCkwW4ux","rbqUW4CbaLXa","WQXawmoY","W7T5WPGKWOfd","bKesW7G","AColW6lcJ8kkWQK","W6bUW6xcLSk0W64rmeS","WONdU8oCWO3cQa","kmk7WOJdImkv","bGeSWPPZ","nmkCmSol","mCk1WOVcLLS","W7W+WPCjW4/cTNiu","W7tdLbT1W6O","WR4ywvTZ","hbL5W7G","WRRdI3ffW7nqW6WlW7q5WRZdT2S"];return jh=function(){return t},jh()}var Rr=Pn;(function(t,e){let n=Pn,i=t();for(;;)try{if(parseInt(n(255,"j^B7"))/1*(parseInt(n(232,"0i$R"))/2)+-parseInt(n(276,"vj#v"))/3*(parseInt(n(298,"ZHZ3"))/4)+parseInt(n(239,"WkcB"))/5*(-parseInt(n(285,"dFDU"))/6)+-parseInt(n(295,"RZJg"))/7+parseInt(n(256,"^x8F"))/8+parseInt(n(291,"X6ia"))/9*(-parseInt(n(269,"l!0i"))/10)+parseInt(n(273,"6ayi"))/11*(parseInt(n(280,"HoOt"))/12)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(jh,664365);function Sh(t){let e=Pn,n={wElqF:function(i,a){return i===a},rSVDM:e(260,"^btZ"),UORxv:function(i,a){return i>a}};return n[e(293,"ZHZ3")](typeof t,n[e(237,"X]!M")])&&n[e(261,"iV#V")](t[e(308,"LO@V")],0)}function Pn(t,e){t=t-227;let n=jh(),i=n[t];if(Pn.GcSbBg===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h0?t[n(278,"K52n")]:Gy(a),s={outputId:a,label:r,nextActionId:t[n(243,"DD1E")],synthetic:!1,terminal:!1};return i[n(320,"dFDU")](t[n(306,"dFDU")],!1)&&(s[n(248,"dFDU")]=!0),s}var uie=[Rr(300,"19if"),Rr(259,"Y7WU")],P1={describe:()=>{},outputs:t=>Hr(t)[Rr(275,"Km2J")](Wr),isTerminal:()=>!1,referencedTaskIds:t=>{let e=Rr,n={SYbnI:function(a,r){return a===r},AgLXv:function(a,r){return a>r}},i=[];for(let a of uie){let r=t[a];n[e(292,"B5RW")](typeof r,e(282,"vj#v"))&&n[e(242,"GfaY")](r[e(314,"pZ4f")],0)&&i[e(234,"oKvo")](r)}return i}},cie=new Set([Rr(301,"GfaY"),Rr(296,"0i$R")]);function j1(t){let e=Rr,n={yzbLr:e(284,"I6bK")};return typeof t===n[e(318,"%^2G")]&&t[e(229,"WkcB")](e(312,"X6ia"))&&!cie[e(257,"l$@g")](t)}function S1(t){return t?t in Ph||j1(t):!1}function O1(t){let e=j1(t)?{...P1,...y1}:P1,n=t&&t in Ph?Ph[t]:void 0;return n?{...e,...n}:e}function bi(t,e){t=t-492;let n=Oh(),i=n[t];if(bi.ESqxsV===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;ha[i(195,"ib75")](u));return{graph:{nodes:a,edges:s,adjacency:r,roots:c,dropped:o},warnings:l}}function Eh(){let t=["W5FdNmkcWQpdGq","aeVdShxcOSoh","amo4WOKcW5S","AdqiWRCpB8oFWPOpoq","f8kisdyYdMOMoCkHBCoGW5xdJmkBkttdUJZdTq","W5PlW6bOW5VdNSkixSkqoG","sf7cKmo0WQpdIa","W5VdKCopWOhcHqig","W6NcOhq","W5HhW4jVAmkf","BSkwW6KO","xuBcJCoQWP7dIK0pwf08W7tdVqDjW45ljaaV","W63dVCo6WORcHWy","W5Hqwe1EeZWDsa","W73dQhKFW7mTwmosfIDzWQq","WRpcK8klkmo8WPO","veZcRSojWRS","ACoRmCk6p8kjW5lcLCoTyq","WP3dGrHlyvzdWPRdNbVdGx/cGSorsCk0qa","DSkMW5pcOWpdNSohyYZcUuOkW5O","kSo2WOVdVG","cSkxW7FcQwq","WORcKCk+W4pdHLeYcGmgduK","omkmW6iiWPa","aCkIW77cKuC","W6XfDZNdQW","whlcKmoFWPO","WR3cKSkvjmoWWOa","WQ/dVmo+gCkZW70","v8o5WP3dQrNdJGtdGsrYWOby","W4uxtmkNW4aZwq","jSoUWQW3W74","e8kqWQLYbG","WO7dKSocnSkY","m8o9WQa","W5RdG8o9","b0BdUa","W63dR8oqW5yieq","AxZcUSosWOm","pgZdR8kFxmkIq8kBWOCvW6FcPrhcKu1ekrBcRCkdWRmIWQHewMKMgtNcRgJdU8o9ub4NiKWFW5/cNaxdLq","drJdLmkKW7ZcMaOOsLujW5/dPa","WP/cMCokWPSInW","W7VcNvxdQmks","W63cUSolamk2W5H1ra","WR3cLWbEWR3cHG","amkQAZ3cPH/dPG","wbBdUSoqe8ok","sGhdVmoqeSodWRJcPCo1jq","WOFcVSkTbmoaWRSPevD/W4ddVGaJsWLaWRKiWOfVl0XfW6tdUSoY","W4hdLSo8WPRcMqq","W7RdUCo6l0y","W5L4srRdGmo1WRX+aCocWRKqW7tcHG","lSkHDCoN","WPtdVtT0qxTLWRhdUhJdTfxcUCo2ECktjePop8ot","WOr9W4nWz8kyWQO","WQtcTmoTWR4v","WQVcQ8osW5hcUCoeWQVcISo/WQ8FWOJcSG","W5T/tqRdOmoP","v8kLWOy/itVcImktWOBcTmoieCk4mbhcTq","WQpcTdjB","WQNcTs8","DCkEW4KOWQ5yW4ZcNLNcJa","iLRdR1SVW6xdO1ldJbi1fc8","q8khCY8","W5WQx3TKWPSiWPDXWRC","aCk/WPfmjW","fvBdVxpcS8o0zahcVmoRpq","WPZcMmolWPO","WR4dW4ldGXSPW6xcL8kxlt7cTdaFlGVcKSocCG","u8oetI9bh3OGn8oV","W6ZcPgZdR8khW5q","z8k8catcHszaWPzXWOy","WQdcSdG","BJNdSCkw","DqVcSaW","WPT4gcG","W5RcL3hdTX8Ib8kP","W6RdRmoTW7HZ","omkiW6yVW75sDWFcOKRdThWcoan4nSkNA8kSWPjMW4ekWQ3cKmkgWPC","WQpdVdLXrN8","vSkJWQKGWRu","ua17WPu","W7VcOwq","W53dUH4DWQxdPG","bmkVWPDtn1f4FedcG8oskthdICkMvmos","W6RdNmo5W55tfW","k8o1WOZdVLlcNq","DehcVXRdOq","WR/cKWnC","WRZcKCksja","W7pdSt9aWQ40y8ouoIX7W4b3rSo3W4xdT2VdMWhcK3FcPSoAWQf7WReU","W5D/DIddPq","WOL8bYfs","e8kkW43cTva","WRZdRsv/xha","WPJdKLtdPW","W7lcSSoGxdBdGJOrWQxdRSkvjCkfx8onoCke","W6ZdMmk0WQJdNW","imkvWOvYdh5g","W69nW58V","p1VdPwZcTa","WPRcQCkQdCok","W63dO8kxWOW","u8o4WP7dQ1BcNaxdOcPZ","BbNcMZLx","kvRcIXfYWOBcRf4","abbPWO7cGIBdN8opW43cMxxdQSkdz8obWQPTW7lcG8kXWRvVsSkolWPA","DCkWW7iFWOW","W5KRxxOfW4HrWOjkWP97W6FcKa","W6JcQmo7qthdHa","W6BcISkfWRST","W6WecgNcIh9NEq","W5O+W7pdVhieW4VdO8k7fL/cLGOYqtlcRmo4fSoyW6lcKmkRhJBcLCka","W5TaW4zTF8kz","W6RdRSkgWPVdV8kYW73cRSo3WPOe","WRzGeI5h","W67cM8o/EGK","ESo0WQ1Nst9sW6ji","WP1yx0TUeJ0taLZcHCo5W6pdGG","guG6W4/cL3NcImknW5hcKsldOSku","wuxcVtJdPW","W4VdJmk/WQBdHq","WPBcUSkJzqFcRvPCuSkvqSkl","Cc3dR8kB","hCk6W5aTWPy","k3CvWRbaDCoYWOaxBq","WRtdN8oub8ky","AhdcRsNdHW7cRW","d0ZdTxxcRSouAYBcSmo1jSkLW5ZdMSk0","s1/cKCo1","WP5CxfS"];return Eh=function(){return t},Eh()}function $n(t,e){t=t-383;let n=Eh(),i=n[t];if($n.vcboDJ===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hl}},r=[],s=[];if(Array[i(410,"BSco")](t[i(417,"3o!N")]))for(let o of t[i(461,"s%hX")])o&&a[i(384,"nF5d")](typeof o,i(441,"nF5d"))&&r[i(412,"H3LX")](o);if(Array[i(512,"hgbn")](t[i(401,"yzU!")]))if(a[i(437,"!7Ud")]===i(438,"DI$n"))for(let o of t[i(465,"F6ip")]){let l=o?.[i(429,"nF5d")];if(!l||typeof l!==i(500,"xK6x")){if(i(452,"H3LX")===i(404,"U3I!"))continue;{let u=_0x2080df.id;if(a[i(479,"hgbn")](typeof u,i(451,"uUti")))return u}}if(a[i(491,"RN]K")](typeof l.id,i(392,"x3h]"))){n[i(481,"xNeY")]({code:a[i(507,"DI$n")],message:i(492,"!7Ud")+(l[i(426,"5%lh")]??a[i(506,"B1z3")])+i(485,"V%dy")+e+i(395,"KOXM"),taskId:e});continue}r[i(477,"eJ%J")](l);let c=a[i(469,"xNeY")](typeof o[i(424,"[EgQ")],i(460,"s%hX"))&&a[i(416,"#%eD")](o[i(413,"yzU!")][i(458,"fkbt")],0)?o[i(488,"cXj9")]:l[i(513,"!RYQ")]??l.id;s[i(487,"2fMu")]({actionId:l.id,label:c})}else return _0x5d6540;return{orderedActions:r,menuChoices:s}}function die(t){let e=$n,n={aXUrp:function(i,a){return i===a},NFeJJ:e(463,"5%lh")};if(typeof t===e(455,"xNeY"))return t;if(t&&n[e(456,"vmy]")](typeof t,e(423,"Ae8Z"))){let i=t.id;if(typeof i===n[e(414,"U3I!")])return i}}function M1(t){let e=$n,n={XXPVh:function(g,d){return g(d)},uGvRV:function(g,d){return g!==d},ofLTv:function(g,d){return g(d)},wsFPM:function(g,d){return g!==d},Yyyms:e(403,"BSco"),hWXwE:e(442,"gREX"),Zvmrx:function(g,d){return g===d},qkMOH:e(400,"gE)@"),cXrBW:function(g,d){return g===d},Tpizp:function(g,d){return g===d}},i=[],a=new Map,r=Array[e(421,"5%lh")](t[e(425,"H3LX")])?t[e(418,"&1J6")]:[];for(let g of r){if(n[e(383,"9UOn")]!==n[e(398,"B1z3")])return _0x90540d;{if(!g||typeof g!==e(471,"F6ip")||n[e(399,"x3h]")](typeof g.id,n[e(407,"!7Ud")]))continue;let d=n[e(446,"hgbn")](typeof g[e(434,"xK6x")],e(442,"gREX"))&&g[e(503,"nF5d")][e(508,"A&!W")]>0?g[e(513,"!RYQ")]:g.id,{orderedActions:m,menuChoices:w}=pie(g,g.id,i);a[e(422,"vmy]")](g.id,{id:g.id,name:d,startAction:typeof g[e(480,"9UOn")]===n[e(435,"DI$n")]?g[e(397,"U3I!")]:void 0,orderedActions:m,menuChoices:w})}}let s=new Set;for(let{id:g,orderedActions:d}of a[e(484,"vmy]")]())for(let m of d)if(e(501,"BSco")===e(511,"U3I!")){if(typeof m.id!==e(499,"RN]K")){i[e(495,"m^nz")]({code:e(498,"hgbn"),message:e(472,"wDn8")+(m[e(497,"o69w")]??n[e(393,"Nuiz")])+e(483,"&1J6")+g+e(389,"m^nz"),taskId:g});continue}s[e(449,"5%lh")](m.id)&&i[e(477,"eJ%J")]({code:e(482,"KOXM"),message:e(467,"A&!W")+m.id+e(408,"3o!N")+g+e(504,"yXXQ"),nodeId:m.id,taskId:g}),s[e(496,"vmy]")](m.id)}else{let w=n[e(439,"F6ip")](_0x1980d3,_0x534d9c);n[e(390,"[EgQ")](w,_0x2833ad)&&_0x3407a9[e(450,"9UOn")](w)}let o=[...a[e(473,"yXXQ")]()],l=t[e(411,"9UOn")],c=typeof l===e(420,"H3LX")&&a[e(486,"yXXQ")](l),u=c?[l,...o[e(415,"9UOn")](g=>g!==l)]:o;n[e(440,"H3LX")](typeof l,n[e(494,"SUNS")])&&l[e(396,"Ae8Z")]>0&&!c&&i[e(509,"WxNu")]({code:e(462,"nF5d"),message:e(510,"x3h]")+l+e(453,"2fMu")});let p=new Set,h=t[e(475,"[EgQ")]?.[e(489,"B1z3")];if(Array[e(444,"IW%z")](h))if(e(445,"#%eD")!==e(447,"gREX"))for(let g of h){let d=die(g);d!==void 0&&p[e(474,"yXXQ")](d)}else for(let g of _0x4fbace){let d=n[e(430,"H3LX")](_0x3ae1d8,g);n[e(387,"cXj9")](d,_0x1d9630)&&_0x4b6157[e(448,"gE)@")](d)}return{flowName:typeof t[e(502,"fkbt")]===n[e(409,"gREX")]?t[e(406,"2fMu")]:"",flowType:n[e(464,"dS^N")](typeof t[e(466,"]HHP")],e(493,"A&!W"))?t[e(385,"U3I!")]:"",tasks:a,taskOrder:u,entryTaskId:c?l:void 0,reusableTaskIds:p,warnings:i}}var Ny=Pi;function Pi(t,e){t=t-499;let n=qh(),i=n[t];if(Pi.IiQRiu===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hs},axrGG:e(526,"%Plk"),SUylf:e(543,"n3y3")},i=[],a=[];for(let r of t[e(547,"]TtG")]){let s=t[e(546,"zlXf")][e(557,"F34O")](r);s&&i[e(559,"q^pc")]({id:n[e(532,"Ohn#")](pt,r),kind:e(549,"p(mz"),label:s[e(535,"(n0C")],taskId:r,taskName:s[e(539,"1a^X")],terminal:!1})}for(let{taskId:r,task:s,action:o,actionId:l,handler:c}of Th(t)){let u=o[e(540,"!nP6")],p=n[e(519,"XfI&")](typeof o[e(553,"Yc04")],e(499,"jBWi"))&&n[e(524,"*7iz")](o[e(563,"]TtG")][e(555,"p(mz")],0)?o[e(500,"F34O")]:u??l;i[e(559,"q^pc")]({id:l,kind:e(558,"]TtG"),actionType:u,label:p,description:c[e(522,"p)uU")](o),taskId:r,taskName:s[e(545,"D!o5")],terminal:c[e(506,"Zu1@")](o)}),!S1(u)&&a[e(529,"9X[g")]({code:e(510,"Omr)"),message:e(565,"Fk&P")+(u??n[e(561,"Fk&P")])+e(518,"!nP6"),nodeId:l,taskId:r}),hie[e(552,"]TtG")](u??"")&&a[e(548,"1a^X")]({code:e(556,"jENy"),message:e(562,"T(yK")+l+e(509,"39Ci"),nodeId:l,taskId:r});for(let h of c[e(560,"IRaI")](o))i[e(536,"p(mz")]({id:ka(l,h[e(505,"#fhh")]),kind:e(512,"#LAm"),label:h[e(521,"Fk&P")],taskId:r,taskName:s[e(539,"1a^X")],terminal:h[e(554,"jUNj")]}),h[e(534,"iXKe")]&&a[e(537,"XfI&")]({code:n[e(517,"jUNj")],message:e(502,"Omr)")+h[e(511,"p(mz")]+e(530,"F34O")+l+e(507,"IRaI"),nodeId:ka(l,h[e(514,"G2Xp")]),taskId:r})}return{nodes:i,warnings:a}}function qh(){let t=["rLdcI8koxCkoW4ul","C8klx8oYWR3cQSkSoXVcJq","WPmXWPldM17dKCkCW4OwWOtdH8oImG","f0ddH3NdISkXe2LtswJdJry","k8o8iN4HBSkjW6tcGSkPh1rwAqLgCSouW4SFj8oxWPDdW5JdRwLBvvWkW7mWmCoUpqmbevG4rCkDW6/cQ8oRW73cG1H0W4/dV0yoW77dG8obfHLIamkhvmoXhSoWW4W","W5pdGmkfWQxcG3j5W63dJCoQw0pcNSkLbSoxWP7dO08","W59dauZdNmklW5Lu","WQxcM8k9c8kXWRpdUHLzDNldMHu","pmo6nY82CSkV","WRpcNSkunvTSrNe","lmoyamofWPTUy8kQW5xcGrzDWRy","rf3dOh/dUslcMSoRWQRcSCoFrG","W5hdP8olgeG","uhJIG4/cLNJcHmkeyxuxWRv0WPdcKZv9W6VdQSkGjGjMFSok","mcvIWQNdHW","WRtcTSo4W5ldVb1rW53dPSoby20","o3RdQvSg","wSo0cWjpcmkPqq","kCoiEmoUWP3cL8kMeW","zYldV8kRWPi","gvddUHtcT0pdOCoOW7tcImocWO4","WPVcVCkBWR3cHfdcLxyS","oCoJtSkfWQ07oL5lWObPW4JdGCoYWOVdVqdcQLbEzvtdGd/dOW","WQdcGXC7iJCoW7S","v8kFW6xdLa","tbSeW5W","nNxcImoWW7xcM8ocW6rmjmoNfq","D8okw8kYW7C","qff1WRHvc8k7","eGFcOIRcRhJcQmoK","iSoTWP3dJa","W4bdbLq","eWL3WRq","W4yczmk9D8oYW5ldUSo+mMa","W6VcVxjV","lqFcR8opymka","tMLCWQHnlCko","sMRdO8kdjmkUWQTeuZVcPq","jSktW6vCW4aJWRqWW71prmo4DW7cHG","g1pdUrVcSelcMmomW6pcPSoUWQKf","W7JdNYRdOq","W6TVx8kVwG","t8kVzcPiW5hdHxpcUq","W7xcQwXI","W4rxbLFcHmkmW6rrWONcKW","WQJdVI7cL8kMWOD2","sCkHfCo0W7D7pxLmWRLnW4e","u8kVza","xt3cUCoX","W7BdL8oaguFdKJbU","W5Xtg1VdNCkx","WQT+dSonemo2W5/dRCoXp0SDFx/dR8kIWQhcK39lwY/dJNa","cXew","wSkTyYHOW40","WOrdWRhcTq","W5WTWPxcI0/dJmkC","nMpdUxKT","v3NcHehdM3Poj8olW6iJamooWP3dK8o6W7NdGhS","vCkVEIq","WQBcH1rZr1vDW59tW50+W6fd","aNxdOfafW5/dRLxdUmoQd2ldUSkDwSktwMtcQCkvWPBdHea","d8oSgHa2zcn+qgtcR8od","WOpdSSortCkIWPy","aHupWPK","WOWLWPlcIMCziCkpW7RdPCkuW6fX","W4NdU8k6WPVcUvex","W5SlsIC7wd1uvfRcNfFdTXDVnrCv","W5VdSSoBW4hcHSkdc8osW4jkW6G4WOK"];return qh=function(){return t},qh()}(function(t,e){let n=ji,i=t();for(;;)try{if(-parseInt(n(443,"niia"))/1+parseInt(n(488,"faqi"))/2*(-parseInt(n(480,"@%U%"))/3)+-parseInt(n(478,"bjJ2"))/4+-parseInt(n(498,"6@RG"))/5+-parseInt(n(471,"0[VF"))/6*(-parseInt(n(490,"nUQ@"))/7)+-parseInt(n(477,"Apff"))/8+-parseInt(n(459,"XsB["))/9*(-parseInt(n(486,"^^aK"))/10)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Hh,986405);var _h=0,Uy=1,gie=2;function ji(t,e){t=t-440;let n=Hh(),i=n[t];if(ji.lLqwot===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hc},owrOX:e(469,"Eu2S"),OyBKJ:function(l,c){return l-c},anzwE:function(l,c){return l>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hg[e(296,"9r$d")]===e(295,"lz&n"));return{ok:!0,ir:b1(l,u,i,p),graph:l,warnings:[...i[e(272,"s!PK")],...r,...o,...c]}}catch(i){return{ok:!1,error:{code:e(269,"Qn(v"),message:i instanceof Error?i[e(271,"Oqs3")]:String(i)}}}}(function(t,e){let n=un,i=t();for(;;)try{if(-parseInt(n(236,"h[LL"))/1+-parseInt(n(234,"wSU*"))/2*(-parseInt(n(401,"h[LL"))/3)+parseInt(n(330,"!SjE"))/4+-parseInt(n(249,"TP#A"))/5+-parseInt(n(364,"4&&G"))/6+-parseInt(n(329,"0vxb"))/7+parseInt(n(374,"wiue"))/8*(parseInt(n(382,"aK!M"))/9)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Rh,150364);function q1(t,e){let n=un,i={jYlTG:function(a,r){return a===r},QkIfT:n(326,"ZUtw"),Ysykj:function(a,r,s){return a(r,s)}};if(Array[n(398,"dEUh")](t[n(229,"wSU*")]))for(let a of t[n(285,"Wfsp")])a&&i[n(372,"[AoD")](typeof a,i[n(299,"yO7[")])&&e(a);if(Array[n(402,"9!Jl")](t[n(294,"TP#A")]))for(let a of t[n(264,"CmEg")]){if(!a||typeof a!==n(261,"9yge"))continue;let r=a[n(342,"yx7h")];!r||typeof r!==n(281,"twB&")||i[n(392,"ZUtw")](e,r,mie(a))}}function un(t,e){t=t-205;let n=Rh(),i=n[t];if(un.kXxkbV===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hu},vGaiD:function(c,u){return c!==u}},a=[],r=new Set;for(let c of Array[n(268,"Wfsp")](e)?e:[])i[n(220,"twB&")](n(233,"ZUtw"),n(311,"$s)d"))?_0x57bbf0&&PEajnW[n(258,"140J")](typeof _0x515e1e,n(340,"CmEg"))&&_0x174b5a(_0x5e853a):typeof c===n(302,"aK!M")&&!r[n(210,"Yy3I")](c)&&(i[n(248,"dEUh")]===n(208,"TP#A")?(r[n(362,"8]S$")](c),a[n(345,"8]S$")](c)):_0x4a3461(_0x5506c9));if(i[n(266,"Wfsp")](a[n(370,"Yy3I")],0))return{found:[],notFound:[]};let s=new Map;for(let c of _1(t)){if(!c||typeof c!==n(368,"zM([")||i[n(407,"5Vqv")](typeof c.id,n(354,"vNS4")))if(i[n(334,"^[L8")](n(341,"nsz3"),i[n(288,"140J")])){if(PEajnW[n(301,"TP#A")](_0x178622,null)||PEajnW[n(387,"KQMc")](typeof _0x257920,n(261,"9yge"))||_0x2352f7[n(253,"8]S$")](_0x2c8f29))return[];let h=_0x384c0b[n(267,"yx7h")];return _0x41308c[n(217,"s)Z6")](h)?h:[]}else continue;let u=c.id,p=i[n(291,"wiue")](typeof c[n(221,"pQsR")],n(245,"erY4"))&&i[n(351,"6tzD")](c[n(287,"0%fs")][n(230,"VkK&")],0)?c[n(222,"f07&")]:u;q1(c,(h,g)=>{let d=n;if(typeof h.id!==i[d(207,"nsz3")]||!r[d(399,"wiue")](h.id))return;let m={actionId:h.id,action:h,taskId:u,taskName:p};g&&(m[d(380,"h[LL")]=g);let w=s[d(225,"erY4")](h.id);w?w[d(292,"u4(s")](m):s[d(366,"8]S$")](h.id,[m])})}let o=[],l=[];for(let c of a)if(i[n(336,"Jvkq")](n(238,"6tzD"),n(270,"9!Jl"))){_0x1d4f49[n(307,"wiue")]=0;let u=_0x124256[n(310,"dEUh")](_0x46206d);return u?{index:u[n(206,"Yy3I")],length:u[0][n(239,"ud!t")]}:_0x599511}else{let u=s[n(242,"yx7h")](c);if(u)if(i[n(332,"Yy3I")](n(297,"8]S$"),n(305,"YXZH")))for(let p=0;p<_0x244326[n(333,"erY4")];p+=1)i[n(215,"0%fs")](_0x3f27a5,_0x215615[p],_0x4b6b9d?_0x46f1f1+"."+p:""+p,_0x3ea1bc+1);else o[n(256,"aK!M")](...u);else l[n(293,"erY4")](c)}return{found:o,notFound:l}}function Rh(){let t=["aLOnye3dJa","W7lcOhaIeSot","eCkhlYLmW4pcNa","WPtcPhfIvq","W4JdJ3i","rMChW7hdLSoOWO4","u3KJiq","W45sWPW4va","W67cJCoIWOZdHq","WRjRWOTn","imouWPeA","W7NdJ3Ck","WReeW45SWQK","h8krgG","aSo6WQfUzmkr","nKhcN1JdQYxdMeRcS8kFia","F1CVWPv4W5hdSZNdMG","WRiqW5ThE8k/W7dcHmkwuq","F1mYWOzfW5C","W7/dSxvMWQBcNW","iCkZk8k0xW","BqhdPa7cOa","W6evW7TNESkzW7a","z8k0zSkasCk3l8o3W4bvhwBdNCkEWPBcULmQW7i","WPpcNtaTW67cLGbmkcul","h8otWQ4XW5S","WOT7tb7dJG","zSkWCmkQxmkR","jmoPW54zW6ZdPG","WR1TWR4vxmo9W4q","ixvL","W7FcTSkTW7O","W4hdMmoPWOhdHCku","c8kahdjqW4u","oSoRWPzttq","ymogW47dVrxdISkmW6hcQGjXzmkg","WRezW6PiWRu","vCoKWP3cUr8dygxdVKldGSk4","W7lcS8o6DWS","WONdHXlcO8kU","deX8WQr+","W47cIComAtr2W7K","pConW5CNW5O","W6JcUMyUba","fvZdTmoM","WOnPFZBdTa","wSomWPxcI8oq","EWVcTMibA8oOoSkUyCkUva","W4Lro18+","W67cTMGUh8oa","FaddSXrz","ux0Gi1Hg","a1OnCNRdJmoLWRFdR3ZcTvNdGSoi","CLKmWQzz","W5NdT8oicLe","ihX+pgfdWR3cN2pcHmoxW5WsWRCeW6aDWOhdKY4","W7/dH8oeivVcNCol","CmoUWPtcTSoo","ogncWOX/","qSo6WQNcP8oA","j8oBWPGAW5uLW44","jSoLW6uWW5i","gYD2WRpcKSkXWQ7dU8onWQRcTmkh","WR4wW4fBv8k5W5pcHmkgqa","W4NcJmocEde","ACk4CCkirW","WQBdQqJcGSkWWRC","kmozWPmqW58","WQ7dPqhcJmkW","W47cRmofWRddNSkw","W7tcV2Sj","s0ahW6tdJa","u8ksDSkbEW","W7FdL8oXoKBcKSo+qrBdSq","eNRcS8oM","WOJcSfH0","vCoVWOFcSSon","jSoRW505W4e","W4ZdI294WQlcKG","hmo0W4unW7m","tw09la","cmkbhtm","aCk4W4BdUw1ByuddKN3dOmkPdSki","imk9mmkgta","xbddUavRla","W6lcLCo+vsW","jLFdRZjepG","peNdNfLz","WPlcLWS4rmoMmCkRuNldIW","dSkoW4NdUMG","fL3dTCoNevS","dMRcRSoPW6zD","bNeGyhW","dSk2pmk6vW","W4NcM8oGFG","jmoTW4mkW5hdOmk9WP1Q","WPDTxIxdUW","cMtdN0D7","WO4kW6bA","dWfVxCo5","W7X/WPG1xmos","W4NcJ8okWQFdJG","jYzGBW","xmo8WQVcUSomWQ0","WRvKWOjncxLA","WRhcKgv/uq","W7tcQ2SoDCkG","dKFdPIf2","W6HMhuSm","W7dcUCkKW7RdQCo7uW","kqGpgCk1","W7VdI3qivmo9","A0eKW5tdKq","W47cLmoPFJ4","AHddHa/cSd0","W5RdLmorWRhdLG","W6RcO8kYW7BdV8ot","WQhcMsLAgmkSWQnNWRnruIa","WQJdOSoWWQ/cOmkcz1tcRrPTWOO","otj+yG","W7RdGSo2WPFdJq","fmkradXkW4O","WQ15W4xcMCo9","jSoTW50B","W5z4pLmc","lYTIFCooW57dMLpcUaCQWP3dKJHXnSkIW6hdQSkh","W5Dob3aS","WOJcKSoQ","av0jyLRdKa","etC1pCkT","j3nLiL1i","WPnDW4lcJ8oG","WOzfW5hcGCo9ya","W5FcJ8o+CW","WOyBW6S","wxePlvG","dCk5W4W","W5tcJSo/CIHW","uCkyW7ldKbJdUG","WR9HyrhdTW","WRjREIhdJ8k6W5q","WQVcMhfKqa","wIldMYegCG","zwKkiwu","CSoaWPhcLmo6","WPdcOSocdSkR","WRbVWOHpbv4","W5tcQCoRwIe","W7NdLSoVnKRcIa","WQ/dOmoZWQRcQCkntwJcTWn2WQO","W4BcNSoP","fL9caMzVWPRcR1NcO8o6W78sWO0OW5Ki","v8oQW5NcSeuwW77cRulcJ2Lo","x8kawCkCyq","W5tcN8o5","rSktWQtdGdOAiSkrsW","WPldVxxcI1vC","WPXTCJZdVG","W4ldN8oTWOpdKSki","ECkbW4rlWPvyW7dcNwVcTtJdKW","wmk4WR3dUH4","xNK9ix9lg2mhbrJdTSkv","ESk9WObgWQJcVSoHWQf+W5efbci","a2vmWRi","W77cT2efza","WQHSstRdK8k8","oCkBaHfv","iCkyWOVcT0BcNW","W43dI29QWPxcKHLSlc8","hCkmcZG","xhVdKSoFnexcOa","cuZdQCoPc1q","auFdU1H5WRW","wqBdLXbTjCkK","xhCEa0q","DZ7dNILq","qmk7W6m3o8oaWO4CqWOPha","iCkZbHDT","k8kXWOBcOg0","WORcTfT2u1O","xahdLWhcUq","W5ZdI187zW","a8k/W4ldQu1h","oSoAWRaqW5OpW5RcVvNcTby","W6ZcN8oitWe","dCk4WOtdPq","WOibW4rlWRxdNSo1","imoTW4m","ACk6tSk7tW","WPFcMJKRW67dIc5MhdG0rG","axn0WRn+b8of","jN7dIJjc","WQX9DGBdHa","DGBdNapcVs4","WPGgW7DqWQNdMa","W51HWOGgyq","iCk1k8kw","r24RW7ddOW","WRiqW5ThE8k/W6JcLmkvqa","W4FdLmoNWOhdNG","dae1imkD","a8k0W57dUwq","W5iGW5bOWOZdHSoh","W4BdM8oW","WOPqWOnTcq"];return Rh=function(){return t},Rh()}var fie=64;function wie(t,e){let n=un,i={LuevF:function(r,s){return r===s},hAers:function(r,s){return r-s},VZeEx:function(r,s){return r!==s},QfRNv:n(289,"wiue")};if(t instanceof RegExp){let r=new RegExp(t[n(379,"JdWm")],t[n(343,"^[L8")]);return s=>{let o=n;r[o(228,"VkK&")]=0;let l=r[o(381,"erY4")](s);return l?{index:l[o(260,"Jvkq")],length:l[0][o(240,"wiue")]}:void 0}}if(i[n(211,"pQsR")](typeof t,n(312,"5Vqv"))||i[n(308,"6tzD")](t[n(384,"yO7[")],0))if(i[n(237,"f07&")]!==n(232,"YXZH")){let r=_0x24f79c[n(316,"pQsR")](_0x2e210c);return r===-1?_0x72d14:{index:r,length:_0x5ce324[n(358,"pQsR")]}}else return;if(i[n(262,"KQMc")](e?.[n(373,"u4(s")],!0))return r=>{let s=n,o=r[s(272,"f07&")](t);return o===-1?void 0:{index:o,length:t[s(350,"PdML")]}};let a=t[n(300,"8NaD")]();return r=>{let s=n,o=r[s(395,"f07&")]()[s(321,"!SjE")](a);if(i[s(319,"G^wT")](o,-1))return;let l=Math[s(346,"dEUh")](o,r[s(278,"ef0B")]);return{index:l,length:Math[s(339,"Qm1r")](t[s(263,"u4(s")],i[s(313,"twB&")](r[s(323,"0vxb")],l))}}}function vie(t,e,n){let i=un,a={nvOcw:function(c,u){return c(u)},sSfAg:function(c,u){return c=u},YGhLS:i(378,"erY4"),GuIoC:function(c,u){return c{let h=i,g={UIwlM:function(d,m,w,f){return d(m,w,f)},qcNWF:function(d,m){return d+m}};if(typeof c===h(405,"ZUtw")){let d=a[h(276,"8]S$")](e,c);d&&(s+=1,a[h(359,"8]S$")](r[h(303,"0$QA")],n)&&r[h(286,"0$QA")]({path:u,value:c,matchIndex:d[h(325,"8]S$")],matchLength:d[h(391,"0%fs")]}));return}if(a[h(224,"dEUh")](c,null)||typeof c!==h(244,"Yy3I")||a[h(400,"ud!t")](p,fie)||o[h(216,"h[LL")](c))if(h(317,"0%fs")===h(273,"wiue"))g[h(250,"8]S$")](_0x1e7906,_0xef9d1[_0x55b01e],_0x1e5d33?_0x3765e2+"."+_0x4d6d36:""+_0x1ea0f3,g[h(356,"140J")](_0x5a11e9,1));else return;if(o[h(348,"TP#A")](c),Array[h(214,"erY4")](c)){if(a[h(389,"erY4")]!==a[h(284,"ud!t")])return _0x541d66;for(let d=0;a[h(369,"6tzD")](d,c[h(230,"VkK&")]);d+=1)l(c[d],u?u+"."+d:""+d,a[h(277,"ud!t")](p,1))}else if(a[h(254,"wiue")](a[h(409,"s)Z6")],a[h(327,"Yy3I")]))_0x592724[h(286,"0$QA")]({path:_0x16a1fd,value:_0x5029c9,matchIndex:_0x223a64[h(255,"9yge")],matchLength:_0x3c7831[h(391,"0%fs")]});else{let d=c;for(let m of Object[h(375,"9!Jl")](d))a[h(324,"s)Z6")](l,d[m],u?u+"."+m:m,p+1)}o[h(298,"G^wT")](c)};return l(t,"",0),{hits:r,truncated:s>r[i(212,"CmEg")]}}function Ly(t,e,n){let i=un,a={dLIer:function(c,u){return c!==u},aoPGh:i(302,"aK!M"),wqXJj:function(c,u,p,h){return c(u,p,h)},dTAgh:i(309,"yO7["),KeETG:function(c,u){return c===u},AYvdf:function(c,u){return c>u},OZwqa:function(c,u,p){return c(u,p)},yFxeH:i(318,"Lb@d"),UUGQI:function(c,u){return c!==u}},r=a[i(322,"nsz3")](wie,e,n);if(!r)if(a[i(252,"9!Jl")](i(355,"u4(s"),i(257,"6tzD")))_0x1eb193.id=_0x1a15cc.id;else return{hasMatches:!1};let s=n?.[i(235,"ud!t")],o=a[i(246,"Bj@R")](typeof s,a[i(390,"JdWm")])&&s>0?Math[i(279,"f07&")](s):Number[i(363,"yx7h")],l=[];for(let c of _1(t)){if(!c||typeof c!==i(360,"Wfsp")||a[i(365,"ud!t")](typeof c.id,i(226,"Bj@R")))continue;let u=c.id,p=a[i(393,"0vxb")](typeof c[i(282,"Lb@d")],i(349,"8]S$"))&&a[i(219,"5Vqv")](c[i(222,"f07&")][i(290,"h[LL")],0)?c[i(306,"8]S$")]:u;q1(c,(h,g)=>{let d=i;if(a[d(403,"G^wT")](typeof h.id,a[d(265,"VkK&")]))return;let{hits:m,truncated:w}=a[d(338,"Jvkq")](vie,h,r,o);if(m[d(290,"h[LL")]===0)return a[d(283,"s)Z6")]===d(251,"ef0B")?_0x2559f7:void 0;let f={actionId:h.id,taskId:u,taskName:p,matchedPaths:m};typeof h[d(231,"h[LL")]===d(406,"dEUh")&&(f[d(205,"wSU*")]=h[d(315,"140J")]),a[d(396,"8]S$")](typeof h[d(314,"$s)d")],a[d(386,"u4(s")])&&a[d(271,"140J")](h[d(335,"wiue")][d(296,"KQMc")],0)&&(f[d(397,"4&&G")]=h[d(243,"!SjE")]),g&&(f[d(275,"wSU*")]=g),w&&(f[d(367,"[AoD")]=!0),l[d(331,"$s)d")](f)})}return l[i(383,"aK!M")]>0?{hasMatches:!0,matches:l}:{hasMatches:!1}}(function(t,e){for(var n=Ei,i=t();;)try{var a=-parseInt(n(209,"bdpz"))/1+parseInt(n(207,")Z&&"))/2+-parseInt(n(202,"(LRw"))/3+parseInt(n(196,"l2(P"))/4*(parseInt(n(208,"bV^V"))/5)+-parseInt(n(194,"!4%Z"))/6+parseInt(n(201,"TP)v"))/7+parseInt(n(198,"8Np("))/8;if(a===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ih,441715);function Ei(t,e){t=t-194;var n=Ih(),i=n[t];if(Ei.uykjNK===void 0){var a=function(l){for(var c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="",h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(var w=0,f=u.length;w=500?`Genesys Cloud returned ${n} fetching flow "${t}". Transient server-side error \u2014 retry; this says nothing about the flow.`:`Failed to fetch flow "${t}"`+(n!==void 0?` (HTTP ${n})`:"")+(i?`: ${i}`:".")+" Likely transient (network or gateway) \u2014 retry rather than concluding the flow does not exist."}var H1=50;function Aie(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 bie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID"),actionIds:te.array(te.string().min(1)).min(1).max(H1).describe(`Action GUIDs, taken from the \`id\` of flow_ir nodes whose \`kind\` is "action". Batch every action of interest into as few calls as possible rather than calling this tool once per action. Branch-output ids of the form \`::\` are also accepted; the suffix is stripped and the underlying action is returned. Maximum ${H1} ids per call; chunk a larger set into successive calls.`)},W1=({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:bie},handler:async({flowId:e,actionIds:n})=>{let i=await Ma(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let{lookupIds:a,requestedFor:r,strippedAny:s}=Aie(n),o=By(i.configuration,a),l=u=>({...u,actionId:r.get(u.actionId)??u.actionId}),c=[];return s&&c.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&&c.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(u=>r.get(u)??u),...c.length>0?{notes:c}:{}})}]}}});function R1(t){let e=t.toUpperCase();return e.endsWith("FLOW")?e:`${e}FLOW`}function xie(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:R1(t.type??""),version:t.publishedVersion?.commitVersion??"1"},dependencies:n}}var yie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID")},I1=({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:yie},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=R1(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=xie(n,r);return{content:[{type:"text",text:JSON.stringify(o)}]}}catch(n){return{isError:!0,content:[{type:"text",text:`Failed to retrieve flow dependencies: ${ct(n)}`}]}}}});var Pie=1e3,jie=45e3,Sie=10,Zt=class extends Error{};function yu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}async function Oie(t){let e=await fetch(t);if(!e.ok)throw new Zt(`Downloading the execution data file failed with HTTP ${e.status}.`);return e.json()}function Tie(t){return new Promise(e=>setTimeout(e,t))}function kie(t){return t.jobState==="Success"||t.jobState==="Failed"?!0:t.entities?.some(e=>e.downloadUri||e.failed===!0)??!1}async function Mie(t,e,n,i){let a=e,r=Date.now()+i;for(;!kie(a);){if(!a.id)throw new Zt(`The retrieval job reported state "${a.jobState??"unknown"}" without a job id to poll.`);if(Date.now()>=r)throw new Zt(`The retrieval job (${a.id}) was still "${a.jobState??"unknown"}" after ${Math.round(i/1e3)}s. Retry shortly; the job may complete on its own.`);await Tie(n),a=await t.getFlowsInstancesJob(a.id)}return a}function z1(t){return`No execution data exists for execution id "${t}". Either the id is wrong (it is the flow instance id, which for test_bot_flow runs is the sessionId it returned, not a conversation id or flow id), the run is older than the ${Sie}-day retention period, the flow was last published before execution data storage was enabled for the org (flows must be republished after enabling it), or storage is disabled. Use find_flow_execution with a conversationId to list the instances that do exist.`}function Eie(t,e){switch(e.statusCode){case"404":return z1(t);case"403":return`Not authorised to read execution data for "${t}" (403): the OAuth client needs the 'Architect > Flow Instance > View' permission and division access to the flow.`;default:return`Retrieving execution data for "${t}" failed`+(e.statusCode?` (HTTP ${e.statusCode})`:"")+"."}}function qie(t,e){if(e instanceof Zt)return e.message;let{status:n}=Et(e);return n===404?z1(t):n===403?"Not authorised to read execution data (403): the OAuth client needs the 'Architect > Flow Instance > View' permission.":`Failed to retrieve execution data for "${t}": ${ct(e)}`}function _ie(t){if(yu(t)&&yu(t.flow)&&Array.isArray(t.flow.execution))return t.flow;if(yu(t)&&Array.isArray(t.execution))return t;let e=yu(t)?Object.keys(t).join(", "):typeof t;throw new Zt(`The downloaded execution data had an unexpected shape (top-level: ${e}); expected { flow: { execution: [...] } }.`)}var Hie={executionId:te.string().min(1).describe("The flow instance (execution) id. This is the `id` of an entry returned by find_flow_execution, or the sessionId returned by test_bot_flow. It is not a conversation id or a flow id."),includeIr:te.boolean().default(!0).describe("Default true. Joins each action event to the flow's IR (the same graph flow_ir returns) using actionId, adding the action's type, task and outgoing edges, and lists the IR actions this instance never executed. Costs one extra flow configuration fetch. Set false when only the raw event log is wanted.")},D1=({architectApi:t,download:e=Oie,pollIntervalMs:n=Pie,maxWaitMs:i=jie})=>({config:{description:"Retrieves the historical execution data of one run of a Genesys Cloud Architect flow: the ordered log of what that single conversation actually did, action by action, with timestamps, the messages sent and received, the branch each decision or menu took, variable assignments, errors and the exit reason. Use it to see how a customer traversed a flow, to find loops and retries (summary.repeatedActions for actions run more than once, summary.loops for Loop actions and their iteration counts, summary.asksWithRetries for asks that re-prompted), errors (eventError events with a relatedAction) and dead ends, or to confirm a flow is behaving. flow_ir shows what could happen; this shows what did happen, this time. Each action event's actionId is the id of the flow_ir node whose kind is \"action\", and is accepted verbatim by flow_action. An action's outputPathId names the branch it took; joined to the IR it is the branch-output node :: (ir.takenBranch). Event kinds are usually named action for IR actionType Action (actionCommunicate is CommunicateAction, actionDecision is DecisionAction), with exceptions: actionUpdateData is UpdateVariableAction, actionJumpToTask is TransferTaskAction and actionAskForIntent is AskForNLUIntentAction; the ir.actionType annotation on each event is authoritative. events[] is in execution order; the IR's `order` field is not and must not be used for sequencing. trackingId is the action number shown in the Architect UI; gaps in it are authoring history, not missing actions. The instance's logLevel governs which sections exist: below 'all', variables and communications may be absent or empty, which is expected rather than an error. Pass the sessionId from test_bot_flow to see exactly how a test run traversed the flow; data is available seconds after the run ends, and such runs have a null conversationId.",annotations:{title:"Flow Execution Data",readOnlyHint:!0,destructiveHint:!1},inputSchema:Hie},handler:async({executionId:a,includeIr:r})=>{let s;try{let M=await t.getFlowsInstance(a),V=await Mie(t,M,n,i),N=V.entities?.find(_=>_.id===a)??V.entities?.[0];if(V.jobState==="Failed"&&!N)throw new Zt(`The retrieval job (${V.id??"unknown id"}) failed without reporting a cause.`);if(!N)throw new Zt(`The retrieval job (${V.id??"unknown id"}) completed with no results.`);if(N.failed||!N.downloadUri)return{isError:!0,content:[{type:"text",text:Eie(a,N)}]};s=_ie(await e(N.downloadUri))}catch(M){return{isError:!0,content:[{type:"text",text:qie(a,M)}]}}let{execution:o,...l}=s,c=Ry(o),u=c.events,p=c.summary,h=[],g=u.find(M=>M.kind==="endedFlow"),d=typeof g?.flowExitReason=="string"?g.flowExitReason:null;g||h.push("No endedFlow event: the run had not finished when the data was captured, or the log was cut short. Do not treat the last event as where the flow ended.");let m=Iy(u,".ConversationId"),w=yu(l.executionInfo)?l.executionInfo.logLevel:void 0;typeof w=="string"&&w.toLowerCase()!=="all"&&h.push(`This instance was captured at log level "${w}". Variable values, communications or action inputs/outputs may be absent because they were not recorded, not because they did not happen.`),l.isTruncated===!0&&h.push("isTruncated is true: the log was cut off by the execution cap, so later actions ran without being recorded."),p.repeatedActions.length>0&&h.push(`${p.repeatedActions.length} action(s) executed more than once; see summary.repeatedActions and each occurrence's executionId to tell iterations apart.`),p.asksWithRetries.length>0&&h.push(`${p.asksWithRetries.length} ask/menu action(s) needed more than one participant input (summary.asksWithRetries); the retries are the turns inside that event's execution[], not repeated actions.`);let f=p.eventKinds.eventError??0;f>0&&h.push(`${f} eventError event(s) occurred; each one's relatedAction names the action that was executing (matched on context.executionId), and context.reason gives the cause.`);let A=Date.parse(String(l.startDateTime)),b=Date.parse(String(l.endDateTime)),x=Number.isFinite(A)&&Number.isFinite(b)?b-A:null,S;if(r){let M=typeof l.flowId=="string"?l.flowId:void 0,V=typeof l.flowVersion=="string"?l.flowVersion:void 0;if(!M)h.push("The execution data carried no flowId, so no IR join was possible.");else{let N=await Wie(t,M,V,h);if(N){let _=xu(N.configuration);if(!_.ok)h.push(`The flow configuration could not be parsed into an IR (${_.error.code}: ${_.error.message}); events are unjoined.`);else{let W=zy(u,_.ir);u=W.events,S={configuration:N.configuration_source,unmatchedActionIds:W.unmatchedActionIds,unmatchedStateIds:W.unmatchedStateIds,actionsNotExecuted:W.actionsNotExecuted,warnings:_.warnings},W.unmatchedActionIds.length>0&&h.push(`${W.unmatchedActionIds.length} executed action id(s) have no node in the IR (ir.unmatchedActionIds). If the join used the latest configuration rather than the version that ran, the flow has probably been redeployed since; otherwise the action may live in a called common module or bot flow, which the parent's IR does not contain.`)}}}}let T={...l,executionId:typeof l.executionId=="string"?l.executionId:a,conversationId:typeof m=="string"?m:null,durationMs:x,flowExitReason:d,logLevel:typeof w=="string"?w:null,summary:p,events:u,...S?{ir:S}:{},...h.length>0?{notes:h}:{}};return{content:[{type:"text",text:JSON.stringify(T)}]}}});async function Wie(t,e,n,i){if(n)try{return{configuration:await t.getFlowVersionConfiguration(e,n),configuration_source:{flowVersion:n}}}catch(r){if(Et(r).status===410){i.push("IR join skipped: the flow has been deleted, so no configuration can be fetched. The events are still complete; only the ir annotations and actionsNotExecuted are unavailable.");return}i.push(`Could not fetch the configuration of flow version ${n} (${ct(r)}); the IR join used the latest configuration instead, which may differ from what ran.`)}else i.push("The execution data carried no flowVersion; the IR join used the latest configuration, which may differ from what ran.");let a=await Ma(t,e);if(!a.ok){i.push(`IR join skipped: ${a.message}`);return}return{configuration:a.configuration,configuration_source:{latest:!0}}}function Rie(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 Iie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID"),task:te.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 and successors may reference nodes in other tasks, which will not appear in the filtered node list.")},G1=({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:Iie},handler:async({flowId:e,task:n})=>{let i=await Ma(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let a=xu(i.configuration);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=Rie(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 N1=100,U1=10,Pu=160,zie=512;function Die(t,e,n){if(!e)return{ok:!0,query:t};try{return{ok:!0,query:new RegExp(t,n?"":"i")}}catch(i){let a=i instanceof Error?i.message:String(i);return{ok:!1,error:`Invalid regular expression "${t}": ${a}. Set regex to false for a literal substring search.`}}}function Gie(t,e,n){if(t.length<=Pu)return t;let i=e+Math.floor(n/2),a=Math.max(0,Math.min(i-Math.floor(Pu/2),t.length-Pu)),r=a+Pu;return`${a>0?"\u2026":""}${t.slice(a,r)}${r({config:{description:'Searches the raw Architect configuration of a Genesys Cloud Architect flow for text, and returns the actions containing it along with where in each action it matched. Answers "which actions reference X" \u2014 a queue name, a data action, a variable such as Flow.DNIS, a phrase in a prompt \u2014 in a single call. Use it instead of sweeping a flow with bulk flow_action lookups, which return whole action subtrees for actions that may not be relevant at all. Each returned actionId is an Architect GUID: it joins directly to flow_ir nodes whose kind is "action", and is accepted verbatim by flow_action. Search here to find the ids, then fetch those ids with flow_action when an excerpt is not enough. Matching is against string values only, never key names. A match in a wiring field locates text and is not a control-flow claim; flow_ir owns wiring.',annotations:{title:"Search In Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:Uie},handler:async({flowId:e,pattern:n,regex:i,caseSensitive:a})=>{let r=Die(n,i,a);if(!r.ok)return{isError:!0,content:[{type:"text",text:r.error}]};let s=await Ma(t,e);if(!s.ok)return{isError:!0,content:[{type:"text",text:s.message}]};let o=s.configuration;if(!Nie(o))return{isError:!0,content:[{type:"text",text:`The latest configuration of flow "${e}" has no flowSequenceItemList to search \u2014 the flow type may be unsupported. Nothing was searched, so this is not a zero-match result.`}]};let l=Ly(o,r.query,{caseSensitive:a,maxMatchesPerAction:U1}),c=l.hasMatches?l.matches:[],u=c.slice(0,N1),p=u.map(g=>({...g,matchedPaths:g.matchedPaths.map(d=>({path:d.path,excerpt:Gie(d.value,d.matchIndex,d.matchLength)}))})),h=[];return c.length>u.length&&h.push(`${c.length} actions matched; only the first ${N1} are returned, in encounter order. Narrow the pattern to see the rest.`),u.some(g=>g.truncated)&&h.push(`Some actions matched in more than ${U1} places; matchedPaths is not exhaustive for entries marked truncated.`),u.some(g=>g.matchedPaths.some(d=>d.value.length>Pu))&&h.push("Excerpts are clipped windows around the match, not whole values; fetch the action with flow_action when the full text matters."),{content:[{type:"text",text:JSON.stringify({flowId:e,pattern:n,totalMatchedActions:c.length,matchedActions:p,...h.length>0?{notes:h}:{}})}]}}});var Fy=new Map;function $ie(t){let{id:e,previousTurn:n,...i}=t;return i}async function B1(t,e,n){let i=[],a=n;for(;i.push($ie(a)),Fy.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")&&Fy.delete(e),{content:[{type:"text",text:JSON.stringify({sessionId:e,turns:i})}]}}var Bie={flowId:te.string().optional().describe("The bot flow ID to test. Required when starting a new session."),sessionId:te.string().optional().describe("Session ID from a previous call. Required when continuing an existing conversation."),message:te.string().optional().describe("User message to send to the bot. Required when continuing a session.")},L1=({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:Bie},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 B1(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=Fy.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 B1(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 Vy=te.object({GENESYS_REGION:te.string().min(1),GENESYS_CLIENT_ID:te.string().min(1),GENESYS_CLIENT_SECRET:te.string().min(1),DEPLOY_SCRIPT_PATH:te.string().min(1),PREVENT_LOGIN:te.enum(["TRUE","FALSE"]).default("FALSE").transform(t=>t==="TRUE")}).safeParse(process.env);if(!Vy.success){let t=Vy.error.issues.map(e=>e.path[0]).join(` `);console.error(`Missing required environment variables: - ${t}`),process.exit(1)}var fa=zx.data,It=new $c({name:"genesys-cloud-architect",version:"2.0.1"}),Xl=new Yl.default.ArchitectApi,MX=new Yl.default.RoutingApi,JI=yI({architectApi:Xl});It.registerTool("find_flow",JI.config,JI.handler);var ZI=PI({routingApi:MX});It.registerTool("find_queue",ZI.config,ZI.handler);var KI=NI({architectApi:Xl});It.registerTool("flow_dependencies",KI.config,KI.handler);var QI=UI({architectApi:Xl});It.registerTool("flow_ir",QI.config,QI.handler);var YI=DI({architectApi:Xl});It.registerTool("flow_action",YI.config,YI.handler);var XI=BI({architectApi:Xl});It.registerTool("search_in_flow",XI.config,XI.handler);var eW=xI({region:fa.GENESYS_REGION,clientId:fa.GENESYS_CLIENT_ID,clientSecret:fa.GENESYS_CLIENT_SECRET,deployScriptPath:fa.DEPLOY_SCRIPT_PATH});It.registerTool("deploy_flow",eW.config,eW.handler);var nW=VI({textbotsApi:new Yl.default.TextbotsApi});It.registerTool("test_bot_flow",nW.config,nW.handler);(async()=>{if(fa.PREVENT_LOGIN)console.warn("Login for Platform API skipped. Calling tools will result in an auth failure.");else{let e=Yl.default.ApiClient.instance;e.setEnvironment(fa.GENESYS_REGION),await e.loginClientCredentialsGrant(fa.GENESYS_CLIENT_ID,fa.GENESYS_CLIENT_SECRET)}let t=new Bc;await It.connect(t)})().catch(t=>{console.error("Failed to start server:",t),process.exit(1)}); + ${t}`),process.exit(1)}var Ea=Vy.data,dt=new qp({name:"genesys-cloud-architect",version:"2.0.1"}),Ir=new ju.default.ArchitectApi,Lie=new ju.default.RoutingApi,F1=f1({architectApi:Ir});dt.registerTool("find_flow",F1.config,F1.handler);var V1=A1({routingApi:Lie});dt.registerTool("find_queue",V1.config,V1.handler);var J1=I1({architectApi:Ir});dt.registerTool("flow_dependencies",J1.config,J1.handler);var K1=G1({architectApi:Ir});dt.registerTool("flow_ir",K1.config,K1.handler);var Z1=W1({architectApi:Ir});dt.registerTool("flow_action",Z1.config,Z1.handler);var Q1=$1({architectApi:Ir});dt.registerTool("search_in_flow",Q1.config,Q1.handler);var Y1=C1({architectApi:Ir});dt.registerTool("find_flow_execution",Y1.config,Y1.handler);var X1=D1({architectApi:Ir});dt.registerTool("flow_execution_data",X1.config,X1.handler);var ez=m1({region:Ea.GENESYS_REGION,clientId:Ea.GENESYS_CLIENT_ID,clientSecret:Ea.GENESYS_CLIENT_SECRET,deployScriptPath:Ea.DEPLOY_SCRIPT_PATH});dt.registerTool("deploy_flow",ez.config,ez.handler);var nz=L1({textbotsApi:new ju.default.TextbotsApi});dt.registerTool("test_bot_flow",nz.config,nz.handler);(async()=>{if(Ea.PREVENT_LOGIN)console.warn("Login for Platform API skipped. Calling tools will result in an auth failure.");else{let e=ju.default.ApiClient.instance;e.setEnvironment(Ea.GENESYS_REGION),await e.loginClientCredentialsGrant(Ea.GENESYS_CLIENT_ID,Ea.GENESYS_CLIENT_SECRET)}let t=new Hp;await dt.connect(t)})().catch(t=>{console.error("Failed to start server:",t),process.exit(1)}); /*! Bundled license information: mime-db/index.js: @@ -177,7 +170,7 @@ mime-types/index.js: *) axios/dist/node/axios.cjs: - (*! Axios v1.19.0 Copyright (c) 2026 Matt Zabriskie and contributors *) + (*! Axios v1.20.0 Copyright (c) 2026 Matt Zabriskie and contributors *) safe-buffer/index.js: (*! safe-buffer. MIT License. Feross Aboukhadijeh *) From dc7933ceed04275bfc1caeb76490815f92a46a1f Mon Sep 17 00:00:00 2001 From: Lucas Woodward <31957045+SketchingDev@users.noreply.github.com> Date: Fri, 2 Oct 2026 23:13:58 +0100 Subject: [PATCH 2/3] Add execution tools --- README.md | 3 + servers/genesys-cloud-architect-mcp.js | 2 +- skills/interpret-flow-ir/SKILL.md | 211 +++++++- skills/write-flow/references/gotchas.md | 2 + src/mcp-server/index.ts | 16 + .../tools/fetch-flow-configuration.ts | 8 + src/mcp-server/tools/find-flow-execution.ts | 259 +++++++++ src/mcp-server/tools/flow-execution-data.ts | 495 ++++++++++++++++++ 8 files changed, 988 insertions(+), 8 deletions(-) create mode 100644 src/mcp-server/tools/find-flow-execution.ts create mode 100644 src/mcp-server/tools/flow-execution-data.ts diff --git a/README.md b/README.md index 55e4f5a..bee3d96 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,9 @@ This plugin allows you to: * `Textbots > *` * `Architect > Dependency Tracking > View` * `Routing > Queue > View` + * `Architect > Flow Instance > View` + * `Architect > Flow Instance > Search` + * `Architect > Flow Instance Execution Data > View` ## Usage diff --git a/servers/genesys-cloud-architect-mcp.js b/servers/genesys-cloud-architect-mcp.js index c7253a9..8c7ec26 100644 --- a/servers/genesys-cloud-architect-mcp.js +++ b/servers/genesys-cloud-architect-mcp.js @@ -148,7 +148,7 @@ ${r.join(` Validation warnings: ${s.warnings.join(` `)}`),l({content:[{type:"text",text:w.join(` -`)+m}]})}else{let w=s?.error??`Deploy runner exited with code ${g}`;l({isError:!0,content:[{type:"text",text:`Deploy failed: ${w}${m}`}]})}})})}});function Et(t){if(t===null||typeof t!="object")return{message:String(t)};let e="status"in t&&typeof t.status=="number"?t.status:void 0,n="code"in t&&typeof t.code=="string"&&t.code.length>0?t.code:void 0,i="message"in t&&typeof t.message=="string"&&t.message.length>0?t.message:void 0;return{status:e,code:n,message:i}}function ct(t){let{status:e,code:n,message:i}=Et(t),a=[];return e!==void 0?a.push(`HTTP ${e}${n?` (${n})`:""}`):n&&a.push(n),i&&a.push(i),a.length>0?a.join(": "):"Unknown error"}function no(t,e){return(t.name??"").toLowerCase()===e.toLowerCase()}function fh(t,e){return t.slice().sort((n,i)=>Number(no(i,e))-Number(no(n,e)))}var Dne=50,Gne=200;function Nne(t){return{id:t.id??"",name:t.name,type:t.type??"",publishedVersion:t.publishedVersion?.commitVersion??null,...t.description?{description:t.description}:{}}}var Une={name:te.string().min(1).describe("The flow name, or a portion of it, to search for. Matched case-insensitively against flow names, so a partial name like 'payment' finds 'Book_Payment'."),type:te.array(te.string()).optional().describe('Optional flow types to restrict the search to, e.g. ["inboundcall"], ["bot", "digitalbot"], ["workflow"]. Omit to search flows of every type.')},f1=({architectApi:t})=>({config:{description:"Finds Genesys Cloud Architect flows by name, resolving the human-readable name users know (e.g. 'Book_Payment') to the flow id every other flow tool requires. Returns each matching flow's id, name, type and published version. Matching is a case-insensitive search over flow names that accepts a portion of the name; flows whose name equals the query exactly are listed first. The returned id is accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies. A publishedVersion of null means the flow has never been published.",annotations:{title:"Find Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:Une},handler:async({name:e,type:n})=>{try{let i=[],a=0,r=1;for(;;){let c=await t.getFlows({name:e,pageSize:100,pageNumber:r,...n?.length?{type:n}:{}});if(c.entities&&i.push(...c.entities),a=c.total??a,!c.nextUri||i.length>=Gne)break;r++}a=Math.max(a,i.length);let s=fh(i,e).slice(0,Dne),o=[];if(s.length===0)o.push(`No flows matched "${e}". The search already accepts a portion of the name, so try a shorter fragment, or drop the type filter if one was given.`);else if(a>s.length){let c=`${a} flows matched; only ${s.length} are returned${no(s[0],e)?", exact name matches first":""}.`;i.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(i){return{isError:!0,content:[{type:"text",text:`Failed to search for flows: ${ct(i)}`}]}}}});var wh=200,w1=10;function v1(t){return t&&t!=="NONE"?t:void 0}function $ne(t){let e=v1(t.flowErrorReason),n=v1(t.flowWarningReason);return{executionId:t.id??"",flowId:t.flowId??null,flowName:t.flowName??null,flowType:t.flowType??null,flowVersion:t.flowVersion??null,conversationId:t.conversationId??null,...t.workitemId?{workitemId:t.workitemId}:{},startDateTime:t.startDateTime??null,endDateTime:t.endDateTime??null,...e?{flowErrorReason:e}:{},...n?{flowWarningReason:n}:{}}}function Bne(t,e){return(t.startDateTime??"").localeCompare(e.startDateTime??"")}async function Lne(t){try{return(await t.getFlowsInstancesSettingsExecutiondata()).enabled}catch{return}}var Fne={conversationId:te.string().min(1).optional().describe("The Genesys Cloud conversation id. Returns every flow instance that conversation ran, so a call that went through an inbound flow and then an in-queue flow yields two entries. Preferred filter: it is what the API indexes on."),flowId:te.string().min(1).optional().describe("The Architect flow id. Returns recent instances of that flow, whichever conversation ran them. Combine with conversationId to pick one flow out of a conversation."),onlyWithErrors:te.boolean().optional().describe("When true, only instances that ended with a flow error are returned (flowErrorReason is set). Applied to the instances the query fetched, so with a busy flow the errored runs beyond the API's 200-instance cap are not seen. Use it to find the runs worth inspecting with flow_execution_data.")},C1=({architectApi:t})=>({config:{description:`Finds the recorded executions (flow instances) of Genesys Cloud Architect flows, by conversation id and/or flow id. Returns each instance's executionId, flow id/name/type/version, conversationId, start and end times, and any flowErrorReason or flowWarningReason, oldest first. Use it to answer 'what did this conversation do' or 'has this flow been failing', then pass an executionId to flow_execution_data for the action-by-action log. Only the last ${w1} days are retained, the API cannot filter by date, and at most ${wh} instances are returned per query, so prefer conversationId. A run is listed only once it has ended. test_bot_flow runs have no conversation id, so find them by flowId or pass their sessionId straight to flow_execution_data.`,annotations:{title:"Find Flow Execution",readOnlyHint:!0,destructiveHint:!1},inputSchema:Fne},handler:async({conversationId:e,flowId:n,onlyWithErrors:i})=>{if(!e&&!n)return{isError:!0,content:[{type:"text",text:"Provide a conversationId, a flowId, or both."}]};let a=[];e&&a.push({key:"ConversationId",operator:"eq",value:e}),n&&a.push({key:"FlowId",operator:"eq",value:n});try{let r=await t.postFlowsInstancesQuery({query:[{and:a}]},{pageSize:wh}),s=(r.entities??[]).map($ne),o=(i?s.filter(p=>p.flowErrorReason!==void 0):s).sort(Bne),l=Math.max(r.total??0,s.length),c=[];i&&o.length===0&&s.length>0?c.push(`None of the ${s.length} instance(s) fetched ended with a flow error. Drop onlyWithErrors to see them.`):o.length===0?await Lne(t)===!1?c.push("No instances matched, and execution data storage is disabled for this org (Architect > Settings > Execution data), so none are being recorded."):c.push(`No instances matched. A run is listed only after it ends; execution data is kept for ${w1} days and is only captured for flows published after storage was enabled (republish older flows); and test_bot_flow runs have no conversation id, so search for them by flowId. Check the id, or query by flowId to see whether the flow records anything at all.`):l>s.length?c.push(`${l} instances matched but only ${s.length} were fetched. Narrow the query with a conversationId.`):s.length>=wh&&c.push(`The API caps results at ${wh}; older instances may exist.`);let u={query:{...e?{conversationId:e}:{},...n?{flowId:n}:{},...i?{onlyWithErrors:i}:{}},executions:o,total:l,...c.length>0?{notes:c}:{}};return{content:[{type:"text",text:JSON.stringify(u)}]}}catch(r){let{status:s}=Et(r),o=s===403?" The OAuth client needs the 'Architect > Flow Instance > Search' permission.":s===400?" The org may not support one of the criteria used; call GET /api/v2/flows/instances/querycapabilities to see which it accepts.":"";return{isError:!0,content:[{type:"text",text:`Failed to search for flow executions: ${ct(r)}${o}`}]}}}});var Vne=50,Jne=200;function Kne(t){return`*${t.trim().replace(/^\*+|\*+$/g,"")}*`}function vh(t){if(t?.id)return{id:t.id,...t.name?{name:t.name}:{}}}function Zne(t){let e=vh(t.queueFlow),n=vh(t.emailInQueueFlow),i=vh(t.messageInQueueFlow);return{id:t.id??"",name:t.name??"",division:vh(t.division)??null,memberCount:t.memberCount??null,joinedMemberCount:t.joinedMemberCount??null,dateModified:t.dateModified??null,...t.description?{description:t.description}:{},...e?{queueFlow:e}:{},...n?{emailInQueueFlow:n}:{},...i?{messageInQueueFlow:i}:{}}}var Qne={name:te.string().min(1).describe("The queue name, or a portion of it, to search for. Matched case-insensitively against queue names, so a partial name like 'sales' finds 'UK_Sales'. Wildcards are added automatically; do not include asterisks.")},A1=({routingApi:t})=>({config:{description:"Finds Genesys Cloud routing queues by name, resolving the human-readable name users know (e.g. 'Sales') to the queue's id and exact name. Returns each matching queue's id, name, division (id and name), memberCount (agents configured on the queue), joinedMemberCount (agents currently joined and taking work), dateModified and, when configured, its in-queue flows (queueFlow for calls, emailInQueueFlow, messageInQueueFlow). Matching is a case-insensitive search that accepts a portion of the name; queues whose name equals the query exactly are listed first. When several similarly named queues match, dateModified and the member counts help tell a live queue from an abandoned one. Use the returned exact name as the search_in_flow query to find the actions in a flow that transfer to the queue. The in-queue flow ids are accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies.",annotations:{title:"Find Queue",readOnlyHint:!0,destructiveHint:!1},inputSchema:Qne},handler:async({name:e})=>{try{let n=[],i=Kne(e),a=0,r=1;for(;;){let c=await t.getRoutingQueues({name:i,pageSize:100,pageNumber:r});if(c.entities&&n.push(...c.entities),a=c.total??a,!c.nextUri||n.length>=Jne)break;r++}a=Math.max(a,n.length);let s=fh(n,e).slice(0,Vne),o=[];if(s.length===0)o.push(`No queues matched "${e}". The search already accepts a portion of the name, so try a shorter fragment.`);else if(a>s.length){let c=`${a} queues matched; only ${s.length} are returned${no(s[0],e)?", exact name matches first":""}.`;n.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(n){let i=Et(n).status===403?" The OAuth client needs the 'Routing > Queue > View' permission.":"";return{isError:!0,content:[{type:"text",text:`Failed to search for queues: ${ct(n)}${i}`}]}}}});var Yne=Ci;(function(t,e){let n=Ci,i=t();for(;;)try{if(-parseInt(n(224,"aGl^"))/1+-parseInt(n(226,"fP8A"))/2+-parseInt(n(230,"*Jz8"))/3*(-parseInt(n(229,"YKKw"))/4)+parseInt(n(231,"qVUr"))/5+-parseInt(n(220,"iE3t"))/6+-parseInt(n(234,"9INm"))/7*(-parseInt(n(237,"hqdc"))/8)+parseInt(n(235,"aGl^"))/9===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ch,280123);function Ci(t,e){t=t-220;let n=Ch(),i=n[t];if(Ci.xvPbyB===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;ht+Yne(227,"$nkS");function Ch(){let t=["WOn2W5xcTw/cSCoWW5ddIa","WQaGW5tcKaGFWQddRmoeWO8YW7C","WQG7WOzzWOvchCobWRhcT8k6WQrX","m1jyW69umv7dGqfHWOmuW5e","W4XZoYn/W4Ws","W4HsW4RcTNZdSmkGWPnHW5hcHW3cSa","W6HdjSojWRFdMSooW490","t2dcUglcVmkJWQ3cLLBcNW","WOldPxrlWO/cVMXMq8oJpSoveq","WRxcJbJcJ8k1WPD9qCoWWPBcPMtdQG","WOLEWPNcISoZW4HYW7/cNSkW","WO/dO8kelGHXsG","WQuOW57cKqCCW6ldJSo+WOOaW7RcPG","ub/dISo/ahlcVr5BWPNdRhDk","WQZdHmofpCkxaSk6EetdVWVdKGe","W7xdUCoAW6vsACoM","xmkWpuXolthcKZ/dNcCVW7S","W6b1f099mKJcM3iDWRddRa","rWiUWPuaCLlcRmoKWP/cIgNdTq"];return Ch=function(){return t},Ch()}var ka=(t,e)=>t+"::"+e;(function(t,e){let n=sn,i=t();for(;;)try{if(parseInt(n(383,"jP%N"))/1*(parseInt(n(399,"5H9f"))/2)+parseInt(n(501,"0rXo"))/3*(-parseInt(n(401,"Hz0W"))/4)+parseInt(n(423,"Hz0W"))/5*(-parseInt(n(510,"EMx@"))/6)+-parseInt(n(412,"L*Ud"))/7*(-parseInt(n(405,"w$ck"))/8)+-parseInt(n(483,"eM5c"))/9*(parseInt(n(441,"dQmY"))/10)+-parseInt(n(473,"[8UY"))/11+-parseInt(n(370,"hnuZ"))/12*(-parseInt(n(311,"dQmY"))/13)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ah,426937);function sn(t,e){t=t-309;let n=Ah(),i=n[t];if(sn.DYlBxB===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h{let s=e;if(!n[s(495,"[8UY")](io,a)||n[s(459,"7yyp")](Object[s(390,"LxR8")](a)[s(389,"Iyrj")],0)){i[s(326,"qSJH")]({index:r,kind:n[s(499,"4J1r")],value:a});return}for(let[o,l]of Object[s(419,"dQmY")](a))if(n[s(329,"0vgR")](s(346,"qN4z"),n[s(452,"dQmY")]))i[s(466,"0rXo")](io(l)?{...l,index:r,kind:o}:{index:r,kind:o,value:l});else{if(!_0x2ec076(_0xd64bc3[s(500,"#xX5")]))return _0x3111c0;let c=_0x5597ba[s(440,"EMx@")][s(491,"[8UY")];if(typeof c!==s(318,"2yLq"))return _0x5828fa;let u=_0x5261be[s(460,"HCb$")](c);if(!u)return _0x2bbf78;let p={index:u[s(365,"qN4z")],...typeof u[s(471,"KSV[")]===s(467,"E8BW")?{actionId:u[s(446,"fCR2")]}:{},...typeof u[s(350,"R1KI")]===s(505,"hnuZ")?{actionName:u[s(496,"^(s3")]}:{}};return{..._0x5e9605,relatedAction:p}}}),i}function eie(t){let e=sn;if(!Array[e(393,"qSJH")](t[e(448,"z6O^")]))return 0;let n=0;for(let i of t[e(407,"eiFV")])io(i)&&io(i[e(388,"K&7W")])&&i[e(517,"qSJH")][e(447,"B6qy")]&&n++;return n}function nie(t){let e=sn,n={cmOJH:function(a,r){return a===r},vTNQV:e(494,"W#ne")},i=new Map;for(let a of t)typeof a[e(338,"Nqq8")]===e(505,"hnuZ")&&typeof a[e(413,"MY6q")]===n[e(361,"GfrY")]&&i[e(426,"EMx@")](a[e(438,"6ysH")],a);return t[e(330,"^iMM")](a=>{let r=e;if(!io(a[r(502,"qSJH")]))return a;let s=a[r(355,"4J1r")][r(457,"Iyrj")];if(typeof s!==r(333,"eM5c"))return a;let o=i[r(334,"0rXo")](s);if(!o)return a;let l={index:o[r(492,"z6O^")],...n[r(315,"4J1r")](typeof o[r(436,"qN4z")],n[r(454,"W^OT")])?{actionId:o[r(515,"R1KI")]}:{},...typeof o[r(335,"Hz0W")]===n[r(313,"dWBv")]?{actionName:o[r(424,"hnuZ")]}:{}};return{...a,relatedAction:l}})}function iie(t){let e=sn,n={eTadv:function(l,c){return l===c},ZDKIl:e(468,"jP%N"),kWlrN:e(397,"B6qy"),QcTxy:e(425,"W#ne"),WyTSw:e(409,"lA8O")},i={},a=new Map,r=[],s=new Map;for(let l of t){if(n[e(327,"2yLq")](n[e(377,"2yLq")],n[e(520,"R1KI")]))return _0x7f7213[e(418,"z6O^")](_0x57b9cd[e(411,"jP%N")]),{..._0xf35b9,ir:null};{if(i[l[e(349,"jP%N")]]=(i[l[e(493,"Iyrj")]]??0)+1,l[e(503,"MJxN")]===e(369,"hi%I")&&l[e(384,"0vgR")]){let p=l[e(347,"Hz0W")];if(n[e(351,"R1KI")](typeof p[e(472,"4J1r")],e(391,"dWBv"))){let h=s[e(477,"6ysH")](p[e(319,"qSJH")]);if(h)h[e(321,"4J1r")]++;else if(n[e(408,"B6qy")]===e(484,"Wrzb")){if(!_0x470b02[e(432,"fCR2")](_0x9a7a1d[e(514,"E&pm")]))return 0;let g=0;for(let d of _0x46399e[e(456,"Hz0W")])_0x4b58c6(d)&&_0x29a349(d[e(439,"eiFV")])&&d[e(394,"2yLq")][e(376,"7yyp")]&&g++;return g}else s[e(415,"h685")](p[e(455,"JkKi")],{index:p[e(518,"Hz0W")],actionId:p[e(309,"^(s3")],...p[e(435,"9aZr")]?{actionName:p[e(461,"5H9f")]}:{},iterations:1})}}if(typeof l[e(515,"R1KI")]!==e(417,"qN4z"))continue;let c=eie(l);c>1&&r[e(475,"GfrY")]({index:l[e(442,"7yyp")],actionId:l[e(450,"hi%I")],...typeof l[e(342,"0rXo")]===n[e(410,"[8UY")]?{actionName:l[e(404,"Iyrj")]}:{},participantTurns:c});let u=a[e(368,"S6OS")](l[e(322,"dWBv")]);u?(u[e(522,"eiFV")]++,u[e(434,"qN4z")][e(310,"Qtd0")](l[e(526,"dWBv")])):a[e(508,"Hz0W")](l[e(373,"6ysH")],{actionId:l[e(375,"lA8O")],...typeof l[e(451,"eiFV")]===n[e(356,"W^OT")]?{actionName:l[e(470,"Wrzb")]}:{},executions:1,eventIndexes:[l[e(374,"W^OT")]]})}}let o=[...a[e(380,"JkKi")]()][e(498,"4J1r")](l=>l[e(396,"R1KI")]>1)[e(464,"hi%I")]((l,c)=>c[e(344,"MJxN")]-l[e(481,"z6O^")]);return{eventCount:t[e(422,"Qtd0")],eventKinds:i,repeatedActions:o,loops:[...s[e(317,"^iMM")]()],asksWithRetries:r}}function Ry(t){let e=sn,n={xlZJH:function(a,r){return a(r)},OACIO:function(a,r){return a(r)}},i=nie(n[e(478,"dWBv")](Xne,t));return{events:i,summary:n[e(509,"0vgR")](iie,i)}}function Iy(t,e){let n=sn,i={NYpzL:n(414,"E&pm"),xylGK:function(a,r){return a(r)},URZVL:function(a,r){return a===r},mDLTC:function(a,r){return a!==r}};for(let a of t)if(Array[n(469,"MJxN")](a[n(357,"E&pm")]))for(let r of a[n(474,"Qtd0")]){if(i[n(479,"L*Ud")]!==n(488,"2yLq"))return _0x1f1383[n(379,"Hz0W")](_0xd8051c),{..._0x5c77e3,ir:null};if(i[n(504,"MJxN")](io,r)&&i[n(314,"MY6q")](typeof r[n(512,"eM5c")],n(417,"qN4z"))&&r[n(341,"5H9f")][n(433,"E8BW")](e)&&i[n(363,"0rXo")](r[n(362,"B6qy")],null)&&i[n(523,"HCb$")](r[n(364,"KSV[")],void 0))return r[n(378,"z6O^")]}}function Ah(){let t=["wweUWRTFW67dGdtcRG","pdVcMSkM","WQ5Ae2Cdrde","W5z1WQKdEMFcKGG","fSkJegZdRq","WOLmwbHN","W7iXW6iaAW","WQRdUSodtmkK","cmoYWRe5WOW","WPHEWP0+W5SEW6tcGa","FSk2vSo9WQCh","g8o9fW","WR0KWPzWWOxdNSkmWPJcQq","vY1wm8kCxCooWPJcMSkqs8k+nq","W7ftWRu","DvOrW5/dGa","WOyIWPWeCL/cStq","WQ5hnNaj","xqfUW73dONzsW7C","WOPjWOa+W6irW7FcMmowW4xcNdhcGs9a","WR1BW67dIc8","tdPuW4a+","W7pdICoi","W6PtWQNcH8o/WOy","W6/cO8kDdmo1WOJdICk/WOrbjq","mmkOh13cMbe","oCksiI7cTSoremkn","EmkYsCo3WPOgW5zarGFdTCkqCW","A8ohiW","WRSEqa","e8ofW7m+WOO","W5CXzwW","W6BdPXtcGmoZW5O","WQFcLSofma","nCo7W5y5WQldPG","WQzhEmotW6a5uW","sCkZDqjVW55f","WPnQW5FdRW","WRyBrSoOWPu","W5etrGpdLM/cSHpdUmkt","WPzzFs9o","EmogjHVcISoLemk1Aq","CmoKxWhdGGvKWPHaW73cIa","W7/dJmoC","WQdcNCkEWQ9phmkqW6KpW7zvgKK","WQhcNmojW4aRE8okW7m","hCo7f8oOWO1WW5ZdUa","W6VdOq7cJSoOW5X7x8oQyG","EsVcVteWaXhcQgHmEmoCW7q","W5zXW5fEkahdIcOjW6lcL8kDdq","WR3dPIJdRSkdWQbrcCoT","WQ5oybv7","tXzOW73dO38","WQlcQmofC8kj","A8oamXhcJCoQo8k9","WR8hkmkftCkaW7ye","De1CWPXXBmo/sMJcHNO","xumSWR5X","WQbmzW","WQ0dW7HVWPa","eSoOWQC1WPPo","wZ9C","rCkLpCozWPFdO1W","W77dOWNcJmooW5y","WPHAWOq2W5WYW7FcJCorW4xcNq","vXTwj3SE","WQRcLmkzW4WvxCo6W7e5","b34BACoga8kWWOpcKSkG","WQlcJCk1gCkT","WQKFua","W44XDNRdNW","W4bFWPa","WQJdUSoCuSkpWPRdGmkV","W70drSoRWQlcRq","CffD","oWBdJmkTW4bMuW","dh/cLgVcImkBvaS","bmoQWRaYWObGWOJdImobW5jmra","a09cWPJdVmoPECksySkV","amo/WQe1WPThWQ/dIa","W6WbW5W9rHG","WOi5WO0oAexcKt8cW77cMW","WQZdQZ/dOW","WRKvsSo5WPZcU8kR","eCo7ECksW47dGwRcKf7cKa8","WOvvWOS2W4O","W73dMmoyW6ykwSo4W4ypW4z5lq","eCoWbeKTW7H5wLLtWOu","WRNdLc3cN8oVW7bC","mXBdUCk2W51Py8ks","WPLFwWbsWRSrBqddICkThqT5W6u","xYnDW5yUWRranxm","iSk/gv3cMrHuWPr4W4S","WRKXWOD3WP7dVmkQWPm","WRNdVtNdPmkzWRP2b8oUWQq","C8kblCobWPK","dCkwlG","WRf9heqN","W7vCWQhcL8oI","W7FdLCojW7ukwSobW4Gv","W6/dUH/cHmoYW4zCuCoPtSkH","ceGmDxOGeCoufSkO","WR58WRyFW7m","d3zX","iSk/gv3cMrHoWOXLW4S","W4a5DCoQWR0","W7pdJSoyW78qqmoHW4m","WQS9WOfQ","WQ4Bv8oMWRFcOSkYdW","W68aW508","gMxcGNhcSCkv","BCotadZcQW","W45jWQxcSSkEWOVdMG","EfGhW5pdG8ops8kUeCkk","WR3dUmoBumkUWPxdPmkU","ehJcH8kdWOhdNSogW7e","W4ddOCkJf8ooW5i5eLGBW7/cUmoj","tr9kkw4ud8oufa","emkclvu","WPupW5pdT8ovW57cL8oonuH0WRfY","WOaKWPW","pSoJW74AWOq","W4bQgCkrzG","qYVdI8oFW5JdUCoyW7agir4","xYnDW5yUWRranxpcGG","W6VdOq7cJSoOW5X8wG","qvZcJffIvSozWOPbWPm","AMm9W67dUa","ESkuqr5Z","W6/dN0Kmf8oag8odW6S5W61NW54","imoGW5yvWQ3dOSkU","WPvCW5xdRqW","W6BdJmoFW70m","uSkLvrn1W55ECgK","WPdcQCo0q8klWPnLn0q0W4G","uZvCW5aJ","W6hdQXtcGW","WOxcVCk3fSk6FW","WQFcHCo2v8kP","WQipW6HJWOZdVWhdL1KV","d8o9WRG5","f3lcN8kEWOVdGG","ouRcLCkpWOm","W60ywSo2WQNcSSkC","WQWJW7KSqd0+","q8kVwGr4W4Di","W4XtWORcPa","W59dWOJcH8kN","fwKDACohcG","WRPAuSopW70Vra","kN3dVM9Mwq","W6hdImoy","rCkwzSoFWQe","W6Hkhmk4W4/cISkid8kulGa","ogRdUg9Nua","baVdIG12ySohWOP+WPGvWPa","WRNdVtNdPmkzWRPSh8oZWQq","sNG5WRflW7JdHt7cSW","W5uivWNdJhxcKHG","e8oTf8oXWPDQW4xdVrZdN8oJpq","vmk1rH4","W7VdG8oiW7mh","W4CEqapdHMJcQbpdPmkt","W588tXldRq","WQLgnNac","WR3dPIJdRSkdWQbrcCoTWRi","bvDjbKi","s8kIj8op","dNWC","l8oHW4a1WRq","WQipW6HJWOZdVWBdKG","sWTlka","eCo9CmoIWQNdKM3cHeK","WQpcM8kvW58OESoQW7u5","mmoBW6ObWPO","rgDJWQLi","eNBcVmkGWQy","aKWozSor","wXBcKc1irG","WPrRW5FdQc1v","sCkUubvL","ECowjbVcH8o3aCk2FSox","gg/cLSkyWO/dHmoMW7OpgW","j8oSW5a5WQpdR8kpuq","W6Ksqa","vmkHrXTuW5S","W4iNy2VdOmoW","umk1rXG","WOjlW4tdPtu","WOeOWOqzEem","wmkqFmoAWQ8","qbBcJa","tbtcIdfcw8kZW4W","bCkaW61znha","ar7dIG15zW","W7GqW5O","W7pdJSoyW78qqmoMW4ywW4S","WPnmvGHU","d8oSaSo1WODxW7e","c8kbW7nvogPKW7u","lSk9hq","gCkwW6zimK1j","nCk9h13cLXrSWOHgW4/cOWG","W74wW5O9rXezWR7cIde","eWNdJa14BSo/WPzaWPW","W4jcWOhcO8kzWP7dISoJkf8","WRZdJYZdQ8ko","l8osWPq0WOu","W6ddImoaW7Cls8omW6yyW5PzjL4","WPtcSSoLsCkrWOLyivOy","yCokkrW","W5uivWNdJhxcLr3dU8kf","W5e/qGtdLq","CYFcV1XJrhFcVfK","EHDmcfG","W5jXW5PAlqtdJrOEW5hcRmkHeW","eNtcNCkEWOVdImo7","WPbqbKyg"];return Ah=function(){return t},Ah()}function zy(t,e){let n=sn,i={dQafx:function(p,h){return p===h},UJWnF:n(382,"5H9f"),AitHW:function(p,h,g){return p(h,g)},muaxP:function(p,h){return p(h)}},a=new Map(e[n(521,"W^OT")][n(498,"4J1r")](p=>p[n(524,"dQmY")]===n(507,"w$ck"))[n(371,"JkKi")](p=>[p.id,p])),r=new Map(e[n(489,"Hz0W")][n(400,"Hz0W")](p=>[p.id,p])),s=new Set,o=new Set,l=new Set,c=t[n(339,"5H9f")](p=>{let h=n;if(typeof p[h(403,"S6OS")]===h(511,"w$ck")){s[h(386,"EMx@")](p[h(463,"Hz0W")]);let d=a[h(323,"#xX5")](p[h(482,"Iyrj")]);if(!d)return o[h(431,"MY6q")](p[h(331,"^iMM")]),{...p,ir:null};let m={nodeId:d.id,...d[h(513,"eiFV")]?{actionType:d[h(449,"5H9f")]}:{},taskId:d[h(420,"Iyrj")],taskName:d[h(429,"KSV[")],terminal:d[h(366,"7yyp")],reachable:d[h(398,"jP%N")],successors:d[h(519,"R1KI")]};if(i[h(316,"hnuZ")](typeof p[h(443,"Hz0W")],i[h(387,"dWBv")])){let w=i[h(353,"Qtd0")](ka,d.id,p[h(516,"S6OS")]),f=d[h(320,"jP%N")][h(358,"BHte")](A=>A.id===w);m[h(421,"7yyp")]={nodeId:w,...f?.[h(395,"EMx@")]?{label:f[h(372,"Wrzb")]}:{},inIr:f!==void 0}}return{...p,ir:m}}let g=i[h(345,"eiFV")](typeof p[h(340,"Nqq8")],h(437,"0rXo"))?p[h(337,"S6OS")]:typeof p[h(324,"qSJH")]===h(430,"#xX5")?p[h(367,"0vgR")]:void 0;if(g!==void 0){let d=r[h(428,"MJxN")](g);return d?{...p,ir:{nodeId:i[h(427,"K&7W")](pt,d.id),taskId:d.id,taskName:d[h(497,"qN4z")]}}:(l[h(385,"jP%N")](g),{...p,ir:null})}return p}),u=e[n(416,"^(s3")][n(328,"6ysH")](p=>p[n(524,"dQmY")]===n(325,"K&7W")&&!s[n(525,"hnuZ")](p.id))[n(453,"GfrY")](p=>({id:p.id,label:p[n(336,"B6qy")],...p[n(348,"[8UY")]?{actionType:p[n(343,"eM5c")]}:{},taskName:p[n(465,"EMx@")],reachable:p[n(490,"qSJH")]}));return{events:c,unmatchedActionIds:[...o],unmatchedStateIds:[...l],actionsNotExecuted:u}}function bh(){let t=["tvRdS8oT","W4dcK8knDSkNWRiM","CCk+hcnXiSofW5hdNq","cvNcLh7cUWOQWOumDbWcwq","W4SQWOTJeGfXqNpcNLxcHfi","WPFdPMVdM8klteG7","WOBdO3/dLCk2","CwxdPSk+WOK","kmofEx0hv23cHCosWPBcRGW","F8kdlc1d","faJcV8kVWRCSW4NdQHxdPgzmWQi","Dmoxn8oU","W57dUSoK","W6tdOxFdQHG","WPddQ8kN","asHSW5HpW6RcK8kAE8kPi1m","WPddOMW","W43dVSoJW57dR8oj","jmocWRuxWPq","WQXcWR4","WPtcSCkcxCk4","oLZdLmopW6GydCoSf24CWPC","DmoaWQLV","W6BdKmkx","WQPdWQ4","jCo0WRxcRmol","W7mtW7TQx2W9W7H+lcVdGW","W6pcJCoZ","zmkqoYn4cG","WPFcP8kPC8kH","AehdTmkcWRa","WP7cOSkpvq","W6vei8kOn3b1WPNdMSkhW7S","nmoVw3aozSkzW7hdLSogWP9NW40","mYdcJ8kJvCofjH4","W7BcMSoOWRm","l8o5WRBcVCoQWRyB","umoKWQmbW4m7W4y","rhuTWOeqWRBcPmk8","iSo8WRNcRq","W6dcNCo0WRy","cG11W5xcUmkhW7O","yCk6hcTmoCorW4ddHSoCWP0","WQrHySowWPO","WPhdOM3dG8kKt0K7W4ddVCk7pKG5hW","x8orWONdICoKCSkr","wsfj","W77dUa0","j8oLkG","faJcSSkSWRqVW4FdUJ7dV2LqWRC","WO/dPNRdLCkP","jCoFWRuxWPu","WQmEW4lcV8kHbuu","WORdSdDmiG","WP/cTCku","eaVcSSkTWRiPW47dMZ7dT0PCWRu","x2CwWQCm","WQTCz0y","WOZdTxZdLCk3","BK/dOW","W7Dapmk+igO","WPJdVmk3W4ddPa","nSkxWRWBo1b8wq","W7a1W67cVmkRhfxdHmkeW4i","WQPeWR42bJSIW5nNiG","iCkCbq","fSosWRCF","WPKeWPJcHwK","CmobW7PbqqmMB8ovCmonfCoy","tSk6dW","WPhdVmk8W4G","CSkRWQe","pvddN8oiW68DA8oekgyYWPuX","W5/dRCo/W5G","WOantW","mmkgcsjvp8oW","W4/dT8ocWQRcSxBdHHTgW4jR","lSoVoLPb","hCozWOG2W6C","W703W7JcSmkO","W7/cK8oI","lmovWQu","WPeox8kvW6RcICkKlGS","WRDiDKSp","FSkNWRTR","WR9cWRGYadSxW4y","WQnYDq","nCkhW6GWxsuuCmorjSkZWRKJ","W4xdQ8osWR3cUG","lSoWWQm","WOunta","vMiWWOe","D8kupa","w8kZfmocW7JdMYlcRq","E8oQWPe","W7hdVaO","W7ZcG8oLWPK","k8kgBSkZWRpcQSkRWPbuWPy8jsy"];return bh=function(){return t},bh()}(function(t,e){let n=Ai,i=t();for(;;)try{if(-parseInt(n(281,"A0u7"))/1+-parseInt(n(312,"d0^)"))/2*(-parseInt(n(268,"$cbr"))/3)+parseInt(n(293,"syD$"))/4+-parseInt(n(335,"syD$"))/5*(parseInt(n(263,"IQ#M"))/6)+parseInt(n(328,"KMPv"))/7*(parseInt(n(305,"%JMY"))/8)+parseInt(n(264,"Efp4"))/9+-parseInt(n(332,"A0u7"))/10===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(bh,208402);function b1(t,e,n,i){let a=Ai,r={GAXvj:function(m,w){return m!==w},owIKu:a(267,"6*Yk")},s=new Set(e[a(342,"#6vq")][a(350,"l[ga")](m=>m[a(291,"NCCl")]+" "+m.to)),o=new Map,l=new Map,c=new Map,u=new Map;for(let m of t[a(290,"6*Yk")][a(358,"7vJM")]())o[a(329,"l4yr")](m,[]),l[a(340,"ZT4E")](m,new Set),c[a(276,"%KC7")](m,[]),u[a(287,"874T")](m,new Set);for(let m of t[a(266,"%KC7")]){let w=s[a(325,"ah1P")](m[a(330,"xKGe")]+" "+m.to),f=o[a(274,"xKGe")](m.to);if(f){let b=m[a(295,"874T")]+" "+(m[a(343,"#h]L")]??"")+" "+w,x=l[a(355,"A)an")](m.to);x&&!x[a(354,"ekzM")](b)&&(x[a(284,"Cu3(")](b),f[a(300,"874T")]({id:m[a(351,"A(UC")],label:m[a(285,"w5j#")],backEdge:w}))}let A=c[a(314,"NCCl")](m[a(330,"xKGe")]);if(A){let b=m.to+" "+(m[a(310,"%KC7")]??"")+" "+w,x=u[a(308,"^tWw")](m[a(333,"pcg!")]);x&&!x[a(307,"A)an")](b)&&(x[a(306,"Snah")](b),A[a(282,"*(YD")]({id:m.to,label:m[a(280,"NCCl")],backEdge:w}))}}let p=-1;for(let m of e[a(269,"$cbr")][a(320,"gR)9")]())if(r[a(338,"9Q]Q")](r[a(289,"NCCl")],r[a(316,"A(UC")])){let w=_0x174721[a(313,"psGd")][a(346,"#)Ez")](_0x4f5a06),f=w?_0x598e7a[a(318,"%KC7")][a(279,"Cu3(")](_0xd1afec):_0xdf0143++;_0x32e236[a(317,"#h]L")]({id:_0x106e68,kind:_0x42486b[a(344,"7dxS")],actionType:_0x26994e[a(323,"d0^)")],label:_0x58585c[a(339,"d0^)")],description:_0x3eb73d[a(302,"syD$")],predecessors:_0x4a2077[a(283,"tIoe")](_0xab6f3a)??[],successors:_0x1b3bab[a(272,"pcg!")](_0x514e2f)??[],order:f,taskId:_0x4ad2eb[a(288,"$cbr")],taskName:_0x10cde3[a(265,"%KC7")],reachable:w,terminal:_0x429bd9[a(345,"Cu3(")]})}else m>p&&(p=m);let h=p+1,g=[];for(let[m,w]of t[a(337,"^tWw")]){let f=e[a(348,"MG2a")][a(334,"l[ga")](m),A=f?e[a(303,"#)Ez")][a(352,"$cbr")](m):h++;g[a(356,"ZT4E")]({id:m,kind:w[a(299,"w5j#")],actionType:w[a(324,"Cu3(")],label:w[a(327,"pM0e")],description:w[a(292,"gR)9")],predecessors:o[a(331,"7dxS")](m)??[],successors:c[a(349,"w5j#")](m)??[],order:A,taskId:w[a(277,"pcg!")],taskName:w[a(322,"KMPv")],reachable:f,terminal:w[a(298,"A(UC")]})}g[a(326,"]x1E")]((m,w)=>m[a(321,"xKGe")]-w[a(278,"VqTH")]);let d=n[a(360,"syD$")][a(296,"w5j#")](m=>{let w=a,f=n[w(273,"*M4V")][w(341,"VqTH")](m);return f?[{id:m,name:f[w(271,"U9vv")],reusable:n[w(304,"%KC7")][w(319,"6*Yk")](m)}]:[]});return{flowName:n[a(353,"l4yr")],flowType:n[a(294,"y&a1")],entryTaskId:n[a(336,"MG2a")],reachabilityIsComplete:i,tasks:d,nodes:g}}function Ai(t,e){t=t-263;let n=bh(),i=n[t];if(Ai.znkCfw===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h0?i:void 0}function qt(t,e){for(let n of e){let i=_r(t,n);if(i!==void 0)return i}}function x1(t){let e=Rn,n={lxnGV:e(291,"fPhz"),VZqVk:function(s,o){return s===o},MHMib:e(370,"0Lad"),ZlFuE:function(s,o){return s===o}},i=t[e(358,"9p5&")];if(i==null||typeof i!==n[e(268,"eI6O")])return;let{text:a,type:r}=i;if(n[e(256,"U&AD")](typeof a,e(345,"p]xl"))&&a[e(355,"eI6O")]()[e(297,"7n)4")]>0)return n[e(357,"0Lad")]===e(312,"(9GF")?a:_0x148013;if(n[e(285,"eI6O")](typeof r,e(372,"XO8H"))&&r[e(334,"LwJ%")]>0)return r}function Dy(t,e){let n=Rn,i=t[n(361,"x9yy")](a=>a[n(327,"QH7b")]===e);return i?(i[n(350,"E8l1")]=!0,t):[{outputId:e,label:Gy(e),synthetic:!0,terminal:!0},...t]}var bu={isTerminal:()=>!0,outputs:()=>[]},y1={isTerminal:()=>!0,describe:t=>qt(t,[ke(381,"(9GF"),ke(351,"p]xl"),ke(337,"#sGp"),ke(347,"#sGp"),ke(344,"&fy9"),ke(301,"%B@G"),ke(323,"^eh#"),ke(306,"^b[q")]),outputs:t=>Dy(Hr(t)[ke(310,"0Lad")](Wr),ke(324,"iM)p"))},tie={isTerminal:()=>!1,outputs:t=>{let e=ke,n={IjSsO:function(r,s){return r!==s},woygd:e(303,"Gd1D"),tXMgr:function(r,s,o){return r(s,o)},duYiW:function(r,s){return r===s},lyAdm:e(262,"ia!E"),QIwHT:function(r,s){return r>s}},i=t[e(326,"d]kj")];if(!i||n[e(290,"U&AD")](typeof i,e(279,"Y]7V")))return n[e(364,"J0U5")]!==e(264,"LwJ%")?[]:_0x54a9d7+e(267,"1%8s")+_0x5a70d8;let a=n[e(333,"^b[q")](Wr,i,0);return a[e(383,"(9GF")]=e(378,"LwJ%"),!(n[e(282,"wqVc")](typeof i[e(343,"(9GF")],n[e(302,"%B@G")])&&n[e(353,"LwJ%")](i[e(258,"wqVc")][e(296,"Ty&P")],0))&&(a[e(265,"gS7Z")]=e(270,"d]kj")),[a]}},aie={describe:()=>ke(266,"ia(N"),outputs:()=>[]},rie={outputs:t=>Dy(Hr(t)[ke(274,"Us2H")](Wr),ke(374,"1]tn"))},sie={isTerminal:()=>!0,describe:t=>qt(t,[ke(368,"XJZ2")]),outputs:t=>Dy(Hr(t)[ke(380,"^b[q")](Wr),ke(287,"]D^n"))},oie={outputs:t=>{let e=ke,n={KMYVf:function(a,r){return a(r)}},i=n[e(278,"p]xl")](Hr,t);return i[e(273,"eI6O")]>0?[Wr(i[0],0)]:[]}},lie={isTerminal:()=>!1,describe:t=>{let e=ke,n={xYtEx:function(a,r){return a(r)},LjSTl:function(a,r){return a>r}},i=n[e(319,"2wgT")](Hr,t)[e(259,"qDwC")](a=>typeof a[e(317,"E8l1")]===e(260,"wqVc")&&!/^__.*__$/[e(294,"Gd1D")](a[e(379,"1%8s")]))[e(286,"^eh#")](a=>a[e(336,"CVgF")])[e(363,"gPPi")](a=>typeof a===e(275,"@C09")&&a[e(313,"wqVc")]>0);return n[e(382,"EJ1E")](i[e(289,"XJZ2")],0)?e(309,"WD62")+i[e(316,"d]kj")](", "):void 0}},Qn=t=>({describe:t}),Ph={DisconnectAction:bu,EndFlowAction:bu,EndTaskAction:bu,EndStateAction:bu,ExitBotFlowAction:bu,LoopAction:tie,ExitLoopAction:aie,ProcessVoicemailInputAction:rie,CallBotFlowAction:sie,AskForNLUNextIntentAction:oie,WaitForInputAction:{},AskForNLUIntentAction:lie,CallTaskAction:{},TaskAction:{},TransferMenuAction:{},TransferTaskAction:{},LoopUntilAction:{},DecisionAction:Qn(x1),SwitchAction:Qn(x1),DataAction:Qn(t=>qt(t,[ke(257,"J0U5")])),DataTableLookupAction:Qn(t=>qt(t,[ke(371,"2wgT")])),CallCommonModuleAction:Qn(t=>qt(t,[ke(271,"1]tn")])),CallBotConnectorAction:Qn(t=>qt(t,[ke(331,"RFUh")])),CallDigitalBotFlowAction:Qn(t=>qt(t,[ke(283,"ia!E")])),AddFlowMilestoneAction:Qn(t=>qt(t,[ke(373,"EJ1E")])),ScreenPopAction:Qn(t=>qt(t,[ke(261,"ebpw")])),PlayAudioAction:Qn(t=>qt(t,[ke(315,"w[6O")])),SetFlowOutcomeAction:Qn(t=>{let e=ke,n={yPYgd:function(r,s){return r!==s},LMbYT:function(r,s,o){return r(s,o)},aDAFe:function(r,s){return r===s},lNAjZ:e(305,"LwJ%"),JiOkv:function(r,s,o){return r(s,o)},IcgfJ:e(339,"wqVc")},i=n[e(277,"p]xl")](_r,t,e(300,"XJZ2")),a=n[e(338,"w[6O")](_r,t,e(299,"wqVc"));if(i&&a)if(n[e(288,"7n)4")](n[e(335,"^eh#")],n[e(304,"(9GF")])){let r=_0x265ac2[e(322,"1%8s")];if(!r||pgTGNA[e(349,"2wgT")](typeof r,e(298,"qDwC")))return[];let s=pgTGNA[e(346,"x9yy")](_0x56d2c1,r,0);return s[e(295,"x9yy")]=e(330,"@C09"),!(pgTGNA[e(328,"9p5&")](typeof r[e(365,"RFUh")],pgTGNA[e(281,"^eh#")])&&r[e(367,"w[6O")][e(334,"LwJ%")]>0)&&(s[e(292,"#sGp")]=e(311,"]D^n")),[s]}else return i+e(354,"iM)p")+a;return i??a}),InitializeFlowOutcomeAction:Qn(t=>_r(t,ke(359,"OmcJ"))),EvaluateScheduleGroupAction:Qn(t=>_r(t,ke(352,"^b[q"))),FindSystemPromptAction:Qn(t=>_r(t,ke(341,"@C09"))),SetUUIDataAction:Qn(t=>_r(t,ke(276,"5j6r"))),UpdateVariableAction:{},SetAttributesAction:{},GetAttributesAction:{},EvaluateScheduleAction:{},CollectInputAction:{},GetResponseAction:{},AskForBooleanAction:{},AskForSlotAction:{},CommunicateAction:{},DigitalMenuAction:{},SendResponseAction:{},TranscriptionAction:{},FindQueueAction:{},FindUserPromptAction:{},SetWhisperAudio:{},BridgeServerAction:{}};function jh(){let t=["WOlcLtpcQCo6WRBcL8oPW4FdHNlcJK4uW6eFW5KN","CWZdMer0","W79TreTyf2NdQW","amkDlmoNW6S","W7ajWP52W6/cMSo4AYlcHxWYW6G","bCoaWRKQomkWW4KNwmkDWO5TAmogWOCZyqy","BSoqW4xcLSkuWQThW43cMSkQDW","rbjvWQvaCH92kSkCW5ZcHZq","imklcutcItRdJW","W6NdKSkhdczD","WRa4WRZcO8kBW4mw","C8otdSkPWQjB","WPBdSSoBWONcUCky","ANldM8o5ma","WQe5WPhcRSkaW4maffJcSSov","W5pdPXbrW5q","WPT6WOqVW4JcT3aS","WRvzW5SRWOZdJmkVAYFcPKylW7q","W7yjWOm3W5yL","zua4lmkUW54","ECoxW7hcLmkLWRO","kSkuW6tcSXC","WOvHjK7dIa","W4DjgazVBW","WQuJWQRcUmky","W4rkeazG","WRfqW5vkW77cT8o9Asi","WP1ErColW6y","WPvObxddImktlG","cSkWW4zqW6/cHmkOWOBcGuO","WO9ckSkhW6/cPhO","jM16rhZdTfK","W6tcJapcJSoIWP/cHq","WOjzW7lcHCk2W5DHxq","WO0An8oM","WOtcQ8kIxJ84","W6OnWPK4W5e","WR8pWONcKcS","WPhcT8kSW4ro","tCoYWPmBWQVcU8kzWPxcMhxcVW","W7KeWOWIW6m5","kCkfu8o3W6mfW6hdV8kMcCk4kSkN","emovWPqCpq","W5OmW7VcKmkAW6Xbu8oMF8osdq","W7mhWPS6W6S","W4FdPgqnWQO4","W5HkbGS","WQHwWPFdQa","WRe/WQ7cOmkvW4OxmW","WP43gY7cT2Wr","WPSAr1C0kSoaW5SgW5tcUMjX","mZnfW4xdNMaDWOBdRa","x1P4W5JdVLCVWPG","WRidWP7cLCk4","W7XIWR89WP9bDciIW5bv","D8oeWRddOeOJaGrloSk1W6xcUq","ccZcQGpdKwxdRmoocSoiWQuTWPu","WRBcH8k+","WOLifSkeW7NcOM1YWPTSW7S","W4vohbzEFSkwW6OAW5xcNKvy","W6xdUWyvW5VcUW","WQRdOedcO8k1","lY5hW7JdJW","W6FdKwpdSmk9W6JdHCkOW5RdILJcLgmY","gJWvWPjg","WPDYFCoQW6S","dSk8WPhdGatdKCkGWPq","W6VcRqeOWOK","Ea3dLuryWOu","iCorBtNdMKtcIazviSkixSkn","iCohWQ89ja","mSkdW7fsW44","W6NdQxmcaG","obnNFmoUWO7dOcJdLsfNWPvbWRW","WPNcTdzEW799WOeFW75/bmk/","W7FdH8kf","WRK/W5j7W5Kvva0xW4X+kG","W4VcMsBdOSoZWRvyn8kPW7pdSa","W4tdP2WnWQu","WQCZWQ3cRCkwW4ux","rbqUW4CbaLXa","WQXawmoY","W7T5WPGKWOfd","bKesW7G","AColW6lcJ8kkWQK","W6bUW6xcLSk0W64rmeS","WONdU8oCWO3cQa","kmk7WOJdImkv","bGeSWPPZ","nmkCmSol","mCk1WOVcLLS","W7W+WPCjW4/cTNiu","W7tdLbT1W6O","WR4ywvTZ","hbL5W7G","WRRdI3ffW7nqW6WlW7q5WRZdT2S"];return jh=function(){return t},jh()}var Rr=Pn;(function(t,e){let n=Pn,i=t();for(;;)try{if(parseInt(n(255,"j^B7"))/1*(parseInt(n(232,"0i$R"))/2)+-parseInt(n(276,"vj#v"))/3*(parseInt(n(298,"ZHZ3"))/4)+parseInt(n(239,"WkcB"))/5*(-parseInt(n(285,"dFDU"))/6)+-parseInt(n(295,"RZJg"))/7+parseInt(n(256,"^x8F"))/8+parseInt(n(291,"X6ia"))/9*(-parseInt(n(269,"l!0i"))/10)+parseInt(n(273,"6ayi"))/11*(parseInt(n(280,"HoOt"))/12)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(jh,664365);function Sh(t){let e=Pn,n={wElqF:function(i,a){return i===a},rSVDM:e(260,"^btZ"),UORxv:function(i,a){return i>a}};return n[e(293,"ZHZ3")](typeof t,n[e(237,"X]!M")])&&n[e(261,"iV#V")](t[e(308,"LO@V")],0)}function Pn(t,e){t=t-227;let n=jh(),i=n[t];if(Pn.GcSbBg===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h0?t[n(278,"K52n")]:Gy(a),s={outputId:a,label:r,nextActionId:t[n(243,"DD1E")],synthetic:!1,terminal:!1};return i[n(320,"dFDU")](t[n(306,"dFDU")],!1)&&(s[n(248,"dFDU")]=!0),s}var uie=[Rr(300,"19if"),Rr(259,"Y7WU")],P1={describe:()=>{},outputs:t=>Hr(t)[Rr(275,"Km2J")](Wr),isTerminal:()=>!1,referencedTaskIds:t=>{let e=Rr,n={SYbnI:function(a,r){return a===r},AgLXv:function(a,r){return a>r}},i=[];for(let a of uie){let r=t[a];n[e(292,"B5RW")](typeof r,e(282,"vj#v"))&&n[e(242,"GfaY")](r[e(314,"pZ4f")],0)&&i[e(234,"oKvo")](r)}return i}},cie=new Set([Rr(301,"GfaY"),Rr(296,"0i$R")]);function j1(t){let e=Rr,n={yzbLr:e(284,"I6bK")};return typeof t===n[e(318,"%^2G")]&&t[e(229,"WkcB")](e(312,"X6ia"))&&!cie[e(257,"l$@g")](t)}function S1(t){return t?t in Ph||j1(t):!1}function O1(t){let e=j1(t)?{...P1,...y1}:P1,n=t&&t in Ph?Ph[t]:void 0;return n?{...e,...n}:e}function bi(t,e){t=t-492;let n=Oh(),i=n[t];if(bi.ESqxsV===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;ha[i(195,"ib75")](u));return{graph:{nodes:a,edges:s,adjacency:r,roots:c,dropped:o},warnings:l}}function Eh(){let t=["W5FdNmkcWQpdGq","aeVdShxcOSoh","amo4WOKcW5S","AdqiWRCpB8oFWPOpoq","f8kisdyYdMOMoCkHBCoGW5xdJmkBkttdUJZdTq","W5PlW6bOW5VdNSkixSkqoG","sf7cKmo0WQpdIa","W5VdKCopWOhcHqig","W6NcOhq","W5HhW4jVAmkf","BSkwW6KO","xuBcJCoQWP7dIK0pwf08W7tdVqDjW45ljaaV","W63dVCo6WORcHWy","W5Hqwe1EeZWDsa","W73dQhKFW7mTwmosfIDzWQq","WRpcK8klkmo8WPO","veZcRSojWRS","ACoRmCk6p8kjW5lcLCoTyq","WP3dGrHlyvzdWPRdNbVdGx/cGSorsCk0qa","DSkMW5pcOWpdNSohyYZcUuOkW5O","kSo2WOVdVG","cSkxW7FcQwq","WORcKCk+W4pdHLeYcGmgduK","omkmW6iiWPa","aCkIW77cKuC","W6XfDZNdQW","whlcKmoFWPO","WR3cKSkvjmoWWOa","WQ/dVmo+gCkZW70","v8o5WP3dQrNdJGtdGsrYWOby","W4uxtmkNW4aZwq","jSoUWQW3W74","e8kqWQLYbG","WO7dKSocnSkY","m8o9WQa","W5RdG8o9","b0BdUa","W63dR8oqW5yieq","AxZcUSosWOm","pgZdR8kFxmkIq8kBWOCvW6FcPrhcKu1ekrBcRCkdWRmIWQHewMKMgtNcRgJdU8o9ub4NiKWFW5/cNaxdLq","drJdLmkKW7ZcMaOOsLujW5/dPa","WP/cMCokWPSInW","W7VcNvxdQmks","W63cUSolamk2W5H1ra","WR3cLWbEWR3cHG","amkQAZ3cPH/dPG","wbBdUSoqe8ok","sGhdVmoqeSodWRJcPCo1jq","WOFcVSkTbmoaWRSPevD/W4ddVGaJsWLaWRKiWOfVl0XfW6tdUSoY","W4hdLSo8WPRcMqq","W7RdUCo6l0y","W5L4srRdGmo1WRX+aCocWRKqW7tcHG","lSkHDCoN","WPtdVtT0qxTLWRhdUhJdTfxcUCo2ECktjePop8ot","WOr9W4nWz8kyWQO","WQtcTmoTWR4v","WQVcQ8osW5hcUCoeWQVcISo/WQ8FWOJcSG","W5T/tqRdOmoP","v8kLWOy/itVcImktWOBcTmoieCk4mbhcTq","WQpcTdjB","WQNcTs8","DCkEW4KOWQ5yW4ZcNLNcJa","iLRdR1SVW6xdO1ldJbi1fc8","q8khCY8","W5WQx3TKWPSiWPDXWRC","aCk/WPfmjW","fvBdVxpcS8o0zahcVmoRpq","WPZcMmolWPO","WR4dW4ldGXSPW6xcL8kxlt7cTdaFlGVcKSocCG","u8oetI9bh3OGn8oV","W6ZcPgZdR8khW5q","z8k8catcHszaWPzXWOy","WQdcSdG","BJNdSCkw","DqVcSaW","WPT4gcG","W5RcL3hdTX8Ib8kP","W6RdRmoTW7HZ","omkiW6yVW75sDWFcOKRdThWcoan4nSkNA8kSWPjMW4ekWQ3cKmkgWPC","WQpdVdLXrN8","vSkJWQKGWRu","ua17WPu","W7VcOwq","W53dUH4DWQxdPG","bmkVWPDtn1f4FedcG8oskthdICkMvmos","W6RdNmo5W55tfW","k8o1WOZdVLlcNq","DehcVXRdOq","WR/cKWnC","WRZcKCksja","W7pdSt9aWQ40y8ouoIX7W4b3rSo3W4xdT2VdMWhcK3FcPSoAWQf7WReU","W5D/DIddPq","WOL8bYfs","e8kkW43cTva","WRZdRsv/xha","WPJdKLtdPW","W7lcSSoGxdBdGJOrWQxdRSkvjCkfx8onoCke","W6ZdMmk0WQJdNW","imkvWOvYdh5g","W69nW58V","p1VdPwZcTa","WPRcQCkQdCok","W63dO8kxWOW","u8o4WP7dQ1BcNaxdOcPZ","BbNcMZLx","kvRcIXfYWOBcRf4","abbPWO7cGIBdN8opW43cMxxdQSkdz8obWQPTW7lcG8kXWRvVsSkolWPA","DCkWW7iFWOW","W5KRxxOfW4HrWOjkWP97W6FcKa","W6JcQmo7qthdHa","W6BcISkfWRST","W6WecgNcIh9NEq","W5O+W7pdVhieW4VdO8k7fL/cLGOYqtlcRmo4fSoyW6lcKmkRhJBcLCka","W5TaW4zTF8kz","W6RdRSkgWPVdV8kYW73cRSo3WPOe","WRzGeI5h","W67cM8o/EGK","ESo0WQ1Nst9sW6ji","WP1yx0TUeJ0taLZcHCo5W6pdGG","guG6W4/cL3NcImknW5hcKsldOSku","wuxcVtJdPW","W4VdJmk/WQBdHq","WPBcUSkJzqFcRvPCuSkvqSkl","Cc3dR8kB","hCk6W5aTWPy","k3CvWRbaDCoYWOaxBq","WRtdN8oub8ky","AhdcRsNdHW7cRW","d0ZdTxxcRSouAYBcSmo1jSkLW5ZdMSk0","s1/cKCo1","WP5CxfS"];return Eh=function(){return t},Eh()}function $n(t,e){t=t-383;let n=Eh(),i=n[t];if($n.vcboDJ===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hl}},r=[],s=[];if(Array[i(410,"BSco")](t[i(417,"3o!N")]))for(let o of t[i(461,"s%hX")])o&&a[i(384,"nF5d")](typeof o,i(441,"nF5d"))&&r[i(412,"H3LX")](o);if(Array[i(512,"hgbn")](t[i(401,"yzU!")]))if(a[i(437,"!7Ud")]===i(438,"DI$n"))for(let o of t[i(465,"F6ip")]){let l=o?.[i(429,"nF5d")];if(!l||typeof l!==i(500,"xK6x")){if(i(452,"H3LX")===i(404,"U3I!"))continue;{let u=_0x2080df.id;if(a[i(479,"hgbn")](typeof u,i(451,"uUti")))return u}}if(a[i(491,"RN]K")](typeof l.id,i(392,"x3h]"))){n[i(481,"xNeY")]({code:a[i(507,"DI$n")],message:i(492,"!7Ud")+(l[i(426,"5%lh")]??a[i(506,"B1z3")])+i(485,"V%dy")+e+i(395,"KOXM"),taskId:e});continue}r[i(477,"eJ%J")](l);let c=a[i(469,"xNeY")](typeof o[i(424,"[EgQ")],i(460,"s%hX"))&&a[i(416,"#%eD")](o[i(413,"yzU!")][i(458,"fkbt")],0)?o[i(488,"cXj9")]:l[i(513,"!RYQ")]??l.id;s[i(487,"2fMu")]({actionId:l.id,label:c})}else return _0x5d6540;return{orderedActions:r,menuChoices:s}}function die(t){let e=$n,n={aXUrp:function(i,a){return i===a},NFeJJ:e(463,"5%lh")};if(typeof t===e(455,"xNeY"))return t;if(t&&n[e(456,"vmy]")](typeof t,e(423,"Ae8Z"))){let i=t.id;if(typeof i===n[e(414,"U3I!")])return i}}function M1(t){let e=$n,n={XXPVh:function(g,d){return g(d)},uGvRV:function(g,d){return g!==d},ofLTv:function(g,d){return g(d)},wsFPM:function(g,d){return g!==d},Yyyms:e(403,"BSco"),hWXwE:e(442,"gREX"),Zvmrx:function(g,d){return g===d},qkMOH:e(400,"gE)@"),cXrBW:function(g,d){return g===d},Tpizp:function(g,d){return g===d}},i=[],a=new Map,r=Array[e(421,"5%lh")](t[e(425,"H3LX")])?t[e(418,"&1J6")]:[];for(let g of r){if(n[e(383,"9UOn")]!==n[e(398,"B1z3")])return _0x90540d;{if(!g||typeof g!==e(471,"F6ip")||n[e(399,"x3h]")](typeof g.id,n[e(407,"!7Ud")]))continue;let d=n[e(446,"hgbn")](typeof g[e(434,"xK6x")],e(442,"gREX"))&&g[e(503,"nF5d")][e(508,"A&!W")]>0?g[e(513,"!RYQ")]:g.id,{orderedActions:m,menuChoices:w}=pie(g,g.id,i);a[e(422,"vmy]")](g.id,{id:g.id,name:d,startAction:typeof g[e(480,"9UOn")]===n[e(435,"DI$n")]?g[e(397,"U3I!")]:void 0,orderedActions:m,menuChoices:w})}}let s=new Set;for(let{id:g,orderedActions:d}of a[e(484,"vmy]")]())for(let m of d)if(e(501,"BSco")===e(511,"U3I!")){if(typeof m.id!==e(499,"RN]K")){i[e(495,"m^nz")]({code:e(498,"hgbn"),message:e(472,"wDn8")+(m[e(497,"o69w")]??n[e(393,"Nuiz")])+e(483,"&1J6")+g+e(389,"m^nz"),taskId:g});continue}s[e(449,"5%lh")](m.id)&&i[e(477,"eJ%J")]({code:e(482,"KOXM"),message:e(467,"A&!W")+m.id+e(408,"3o!N")+g+e(504,"yXXQ"),nodeId:m.id,taskId:g}),s[e(496,"vmy]")](m.id)}else{let w=n[e(439,"F6ip")](_0x1980d3,_0x534d9c);n[e(390,"[EgQ")](w,_0x2833ad)&&_0x3407a9[e(450,"9UOn")](w)}let o=[...a[e(473,"yXXQ")]()],l=t[e(411,"9UOn")],c=typeof l===e(420,"H3LX")&&a[e(486,"yXXQ")](l),u=c?[l,...o[e(415,"9UOn")](g=>g!==l)]:o;n[e(440,"H3LX")](typeof l,n[e(494,"SUNS")])&&l[e(396,"Ae8Z")]>0&&!c&&i[e(509,"WxNu")]({code:e(462,"nF5d"),message:e(510,"x3h]")+l+e(453,"2fMu")});let p=new Set,h=t[e(475,"[EgQ")]?.[e(489,"B1z3")];if(Array[e(444,"IW%z")](h))if(e(445,"#%eD")!==e(447,"gREX"))for(let g of h){let d=die(g);d!==void 0&&p[e(474,"yXXQ")](d)}else for(let g of _0x4fbace){let d=n[e(430,"H3LX")](_0x3ae1d8,g);n[e(387,"cXj9")](d,_0x1d9630)&&_0x4b6157[e(448,"gE)@")](d)}return{flowName:typeof t[e(502,"fkbt")]===n[e(409,"gREX")]?t[e(406,"2fMu")]:"",flowType:n[e(464,"dS^N")](typeof t[e(466,"]HHP")],e(493,"A&!W"))?t[e(385,"U3I!")]:"",tasks:a,taskOrder:u,entryTaskId:c?l:void 0,reusableTaskIds:p,warnings:i}}var Ny=Pi;function Pi(t,e){t=t-499;let n=qh(),i=n[t];if(Pi.IiQRiu===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hs},axrGG:e(526,"%Plk"),SUylf:e(543,"n3y3")},i=[],a=[];for(let r of t[e(547,"]TtG")]){let s=t[e(546,"zlXf")][e(557,"F34O")](r);s&&i[e(559,"q^pc")]({id:n[e(532,"Ohn#")](pt,r),kind:e(549,"p(mz"),label:s[e(535,"(n0C")],taskId:r,taskName:s[e(539,"1a^X")],terminal:!1})}for(let{taskId:r,task:s,action:o,actionId:l,handler:c}of Th(t)){let u=o[e(540,"!nP6")],p=n[e(519,"XfI&")](typeof o[e(553,"Yc04")],e(499,"jBWi"))&&n[e(524,"*7iz")](o[e(563,"]TtG")][e(555,"p(mz")],0)?o[e(500,"F34O")]:u??l;i[e(559,"q^pc")]({id:l,kind:e(558,"]TtG"),actionType:u,label:p,description:c[e(522,"p)uU")](o),taskId:r,taskName:s[e(545,"D!o5")],terminal:c[e(506,"Zu1@")](o)}),!S1(u)&&a[e(529,"9X[g")]({code:e(510,"Omr)"),message:e(565,"Fk&P")+(u??n[e(561,"Fk&P")])+e(518,"!nP6"),nodeId:l,taskId:r}),hie[e(552,"]TtG")](u??"")&&a[e(548,"1a^X")]({code:e(556,"jENy"),message:e(562,"T(yK")+l+e(509,"39Ci"),nodeId:l,taskId:r});for(let h of c[e(560,"IRaI")](o))i[e(536,"p(mz")]({id:ka(l,h[e(505,"#fhh")]),kind:e(512,"#LAm"),label:h[e(521,"Fk&P")],taskId:r,taskName:s[e(539,"1a^X")],terminal:h[e(554,"jUNj")]}),h[e(534,"iXKe")]&&a[e(537,"XfI&")]({code:n[e(517,"jUNj")],message:e(502,"Omr)")+h[e(511,"p(mz")]+e(530,"F34O")+l+e(507,"IRaI"),nodeId:ka(l,h[e(514,"G2Xp")]),taskId:r})}return{nodes:i,warnings:a}}function qh(){let t=["rLdcI8koxCkoW4ul","C8klx8oYWR3cQSkSoXVcJq","WPmXWPldM17dKCkCW4OwWOtdH8oImG","f0ddH3NdISkXe2LtswJdJry","k8o8iN4HBSkjW6tcGSkPh1rwAqLgCSouW4SFj8oxWPDdW5JdRwLBvvWkW7mWmCoUpqmbevG4rCkDW6/cQ8oRW73cG1H0W4/dV0yoW77dG8obfHLIamkhvmoXhSoWW4W","W5pdGmkfWQxcG3j5W63dJCoQw0pcNSkLbSoxWP7dO08","W59dauZdNmklW5Lu","WQxcM8k9c8kXWRpdUHLzDNldMHu","pmo6nY82CSkV","WRpcNSkunvTSrNe","lmoyamofWPTUy8kQW5xcGrzDWRy","rf3dOh/dUslcMSoRWQRcSCoFrG","W5hdP8olgeG","uhJIG4/cLNJcHmkeyxuxWRv0WPdcKZv9W6VdQSkGjGjMFSok","mcvIWQNdHW","WRtcTSo4W5ldVb1rW53dPSoby20","o3RdQvSg","wSo0cWjpcmkPqq","kCoiEmoUWP3cL8kMeW","zYldV8kRWPi","gvddUHtcT0pdOCoOW7tcImocWO4","WPVcVCkBWR3cHfdcLxyS","oCoJtSkfWQ07oL5lWObPW4JdGCoYWOVdVqdcQLbEzvtdGd/dOW","WQdcGXC7iJCoW7S","v8kFW6xdLa","tbSeW5W","nNxcImoWW7xcM8ocW6rmjmoNfq","D8okw8kYW7C","qff1WRHvc8k7","eGFcOIRcRhJcQmoK","iSoTWP3dJa","W4bdbLq","eWL3WRq","W4yczmk9D8oYW5ldUSo+mMa","W6VcVxjV","lqFcR8opymka","tMLCWQHnlCko","sMRdO8kdjmkUWQTeuZVcPq","jSktW6vCW4aJWRqWW71prmo4DW7cHG","g1pdUrVcSelcMmomW6pcPSoUWQKf","W7JdNYRdOq","W6TVx8kVwG","t8kVzcPiW5hdHxpcUq","W7xcQwXI","W4rxbLFcHmkmW6rrWONcKW","WQJdVI7cL8kMWOD2","sCkHfCo0W7D7pxLmWRLnW4e","u8kVza","xt3cUCoX","W7BdL8oaguFdKJbU","W5Xtg1VdNCkx","WQT+dSonemo2W5/dRCoXp0SDFx/dR8kIWQhcK39lwY/dJNa","cXew","wSkTyYHOW40","WOrdWRhcTq","W5WTWPxcI0/dJmkC","nMpdUxKT","v3NcHehdM3Poj8olW6iJamooWP3dK8o6W7NdGhS","vCkVEIq","WQBcH1rZr1vDW59tW50+W6fd","aNxdOfafW5/dRLxdUmoQd2ldUSkDwSktwMtcQCkvWPBdHea","d8oSgHa2zcn+qgtcR8od","WOpdSSortCkIWPy","aHupWPK","WOWLWPlcIMCziCkpW7RdPCkuW6fX","W4NdU8k6WPVcUvex","W5SlsIC7wd1uvfRcNfFdTXDVnrCv","W5VdSSoBW4hcHSkdc8osW4jkW6G4WOK"];return qh=function(){return t},qh()}(function(t,e){let n=ji,i=t();for(;;)try{if(-parseInt(n(443,"niia"))/1+parseInt(n(488,"faqi"))/2*(-parseInt(n(480,"@%U%"))/3)+-parseInt(n(478,"bjJ2"))/4+-parseInt(n(498,"6@RG"))/5+-parseInt(n(471,"0[VF"))/6*(-parseInt(n(490,"nUQ@"))/7)+-parseInt(n(477,"Apff"))/8+-parseInt(n(459,"XsB["))/9*(-parseInt(n(486,"^^aK"))/10)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Hh,986405);var _h=0,Uy=1,gie=2;function ji(t,e){t=t-440;let n=Hh(),i=n[t];if(ji.lLqwot===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hc},owrOX:e(469,"Eu2S"),OyBKJ:function(l,c){return l-c},anzwE:function(l,c){return l>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hg[e(296,"9r$d")]===e(295,"lz&n"));return{ok:!0,ir:b1(l,u,i,p),graph:l,warnings:[...i[e(272,"s!PK")],...r,...o,...c]}}catch(i){return{ok:!1,error:{code:e(269,"Qn(v"),message:i instanceof Error?i[e(271,"Oqs3")]:String(i)}}}}(function(t,e){let n=un,i=t();for(;;)try{if(-parseInt(n(236,"h[LL"))/1+-parseInt(n(234,"wSU*"))/2*(-parseInt(n(401,"h[LL"))/3)+parseInt(n(330,"!SjE"))/4+-parseInt(n(249,"TP#A"))/5+-parseInt(n(364,"4&&G"))/6+-parseInt(n(329,"0vxb"))/7+parseInt(n(374,"wiue"))/8*(parseInt(n(382,"aK!M"))/9)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Rh,150364);function q1(t,e){let n=un,i={jYlTG:function(a,r){return a===r},QkIfT:n(326,"ZUtw"),Ysykj:function(a,r,s){return a(r,s)}};if(Array[n(398,"dEUh")](t[n(229,"wSU*")]))for(let a of t[n(285,"Wfsp")])a&&i[n(372,"[AoD")](typeof a,i[n(299,"yO7[")])&&e(a);if(Array[n(402,"9!Jl")](t[n(294,"TP#A")]))for(let a of t[n(264,"CmEg")]){if(!a||typeof a!==n(261,"9yge"))continue;let r=a[n(342,"yx7h")];!r||typeof r!==n(281,"twB&")||i[n(392,"ZUtw")](e,r,mie(a))}}function un(t,e){t=t-205;let n=Rh(),i=n[t];if(un.kXxkbV===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hu},vGaiD:function(c,u){return c!==u}},a=[],r=new Set;for(let c of Array[n(268,"Wfsp")](e)?e:[])i[n(220,"twB&")](n(233,"ZUtw"),n(311,"$s)d"))?_0x57bbf0&&PEajnW[n(258,"140J")](typeof _0x515e1e,n(340,"CmEg"))&&_0x174b5a(_0x5e853a):typeof c===n(302,"aK!M")&&!r[n(210,"Yy3I")](c)&&(i[n(248,"dEUh")]===n(208,"TP#A")?(r[n(362,"8]S$")](c),a[n(345,"8]S$")](c)):_0x4a3461(_0x5506c9));if(i[n(266,"Wfsp")](a[n(370,"Yy3I")],0))return{found:[],notFound:[]};let s=new Map;for(let c of _1(t)){if(!c||typeof c!==n(368,"zM([")||i[n(407,"5Vqv")](typeof c.id,n(354,"vNS4")))if(i[n(334,"^[L8")](n(341,"nsz3"),i[n(288,"140J")])){if(PEajnW[n(301,"TP#A")](_0x178622,null)||PEajnW[n(387,"KQMc")](typeof _0x257920,n(261,"9yge"))||_0x2352f7[n(253,"8]S$")](_0x2c8f29))return[];let h=_0x384c0b[n(267,"yx7h")];return _0x41308c[n(217,"s)Z6")](h)?h:[]}else continue;let u=c.id,p=i[n(291,"wiue")](typeof c[n(221,"pQsR")],n(245,"erY4"))&&i[n(351,"6tzD")](c[n(287,"0%fs")][n(230,"VkK&")],0)?c[n(222,"f07&")]:u;q1(c,(h,g)=>{let d=n;if(typeof h.id!==i[d(207,"nsz3")]||!r[d(399,"wiue")](h.id))return;let m={actionId:h.id,action:h,taskId:u,taskName:p};g&&(m[d(380,"h[LL")]=g);let w=s[d(225,"erY4")](h.id);w?w[d(292,"u4(s")](m):s[d(366,"8]S$")](h.id,[m])})}let o=[],l=[];for(let c of a)if(i[n(336,"Jvkq")](n(238,"6tzD"),n(270,"9!Jl"))){_0x1d4f49[n(307,"wiue")]=0;let u=_0x124256[n(310,"dEUh")](_0x46206d);return u?{index:u[n(206,"Yy3I")],length:u[0][n(239,"ud!t")]}:_0x599511}else{let u=s[n(242,"yx7h")](c);if(u)if(i[n(332,"Yy3I")](n(297,"8]S$"),n(305,"YXZH")))for(let p=0;p<_0x244326[n(333,"erY4")];p+=1)i[n(215,"0%fs")](_0x3f27a5,_0x215615[p],_0x4b6b9d?_0x46f1f1+"."+p:""+p,_0x3ea1bc+1);else o[n(256,"aK!M")](...u);else l[n(293,"erY4")](c)}return{found:o,notFound:l}}function Rh(){let t=["aLOnye3dJa","W7lcOhaIeSot","eCkhlYLmW4pcNa","WPtcPhfIvq","W4JdJ3i","rMChW7hdLSoOWO4","u3KJiq","W45sWPW4va","W67cJCoIWOZdHq","WRjRWOTn","imouWPeA","W7NdJ3Ck","WReeW45SWQK","h8krgG","aSo6WQfUzmkr","nKhcN1JdQYxdMeRcS8kFia","F1CVWPv4W5hdSZNdMG","WRiqW5ThE8k/W7dcHmkwuq","F1mYWOzfW5C","W7/dSxvMWQBcNW","iCkZk8k0xW","BqhdPa7cOa","W6evW7TNESkzW7a","z8k0zSkasCk3l8o3W4bvhwBdNCkEWPBcULmQW7i","WPpcNtaTW67cLGbmkcul","h8otWQ4XW5S","WOT7tb7dJG","zSkWCmkQxmkR","jmoPW54zW6ZdPG","WR1TWR4vxmo9W4q","ixvL","W7FcTSkTW7O","W4hdMmoPWOhdHCku","c8kahdjqW4u","oSoRWPzttq","ymogW47dVrxdISkmW6hcQGjXzmkg","WRezW6PiWRu","vCoKWP3cUr8dygxdVKldGSk4","W7lcS8o6DWS","WONdHXlcO8kU","deX8WQr+","W47cIComAtr2W7K","pConW5CNW5O","W6JcUMyUba","fvZdTmoM","WOnPFZBdTa","wSomWPxcI8oq","EWVcTMibA8oOoSkUyCkUva","W4Lro18+","W67cTMGUh8oa","FaddSXrz","ux0Gi1Hg","a1OnCNRdJmoLWRFdR3ZcTvNdGSoi","CLKmWQzz","W5NdT8oicLe","ihX+pgfdWR3cN2pcHmoxW5WsWRCeW6aDWOhdKY4","W7/dH8oeivVcNCol","CmoUWPtcTSoo","ogncWOX/","qSo6WQNcP8oA","j8oBWPGAW5uLW44","jSoLW6uWW5i","gYD2WRpcKSkXWQ7dU8onWQRcTmkh","WR4wW4fBv8k5W5pcHmkgqa","W4NcJmocEde","ACk4CCkirW","WQBdQqJcGSkWWRC","kmozWPmqW58","WQ7dPqhcJmkW","W47cRmofWRddNSkw","W7tcV2Sj","s0ahW6tdJa","u8ksDSkbEW","W7FdL8oXoKBcKSo+qrBdSq","eNRcS8oM","WOJcSfH0","vCoVWOFcSSon","jSoRW505W4e","W4ZdI294WQlcKG","hmo0W4unW7m","tw09la","cmkbhtm","aCk4W4BdUw1ByuddKN3dOmkPdSki","imk9mmkgta","xbddUavRla","W6lcLCo+vsW","jLFdRZjepG","peNdNfLz","WPlcLWS4rmoMmCkRuNldIW","dSkoW4NdUMG","fL3dTCoNevS","dMRcRSoPW6zD","bNeGyhW","dSk2pmk6vW","W4NcM8oGFG","jmoTW4mkW5hdOmk9WP1Q","WPDTxIxdUW","cMtdN0D7","WO4kW6bA","dWfVxCo5","W7X/WPG1xmos","W4NcJ8okWQFdJG","jYzGBW","xmo8WQVcUSomWQ0","WRvKWOjncxLA","WRhcKgv/uq","W7tcQ2SoDCkG","dKFdPIf2","W6HMhuSm","W7dcUCkKW7RdQCo7uW","kqGpgCk1","W7VdI3qivmo9","A0eKW5tdKq","W47cLmoPFJ4","AHddHa/cSd0","W5RdLmorWRhdLG","W6RcO8kYW7BdV8ot","WQhcMsLAgmkSWQnNWRnruIa","WQJdOSoWWQ/cOmkcz1tcRrPTWOO","otj+yG","W7RdGSo2WPFdJq","fmkradXkW4O","WQ15W4xcMCo9","jSoTW50B","W5z4pLmc","lYTIFCooW57dMLpcUaCQWP3dKJHXnSkIW6hdQSkh","W5Dob3aS","WOJcKSoQ","av0jyLRdKa","etC1pCkT","j3nLiL1i","WPnDW4lcJ8oG","WOzfW5hcGCo9ya","W5FcJ8o+CW","WOyBW6S","wxePlvG","dCk5W4W","W5tcJSo/CIHW","uCkyW7ldKbJdUG","WR9HyrhdTW","WRjREIhdJ8k6W5q","WQVcMhfKqa","wIldMYegCG","zwKkiwu","CSoaWPhcLmo6","WPdcOSocdSkR","WRbVWOHpbv4","W5tcQCoRwIe","W7NdLSoVnKRcIa","WQ/dOmoZWQRcQCkntwJcTWn2WQO","W4BcNSoP","fL9caMzVWPRcR1NcO8o6W78sWO0OW5Ki","v8oQW5NcSeuwW77cRulcJ2Lo","x8kawCkCyq","W5tcN8o5","rSktWQtdGdOAiSkrsW","WPldVxxcI1vC","WPXTCJZdVG","W4ldN8oTWOpdKSki","ECkbW4rlWPvyW7dcNwVcTtJdKW","wmk4WR3dUH4","xNK9ix9lg2mhbrJdTSkv","ESk9WObgWQJcVSoHWQf+W5efbci","a2vmWRi","W77cT2efza","WQHSstRdK8k8","oCkBaHfv","iCkyWOVcT0BcNW","W43dI29QWPxcKHLSlc8","hCkmcZG","xhVdKSoFnexcOa","cuZdQCoPc1q","auFdU1H5WRW","wqBdLXbTjCkK","xhCEa0q","DZ7dNILq","qmk7W6m3o8oaWO4CqWOPha","iCkZbHDT","k8kXWOBcOg0","WORcTfT2u1O","xahdLWhcUq","W5ZdI187zW","a8k/W4ldQu1h","oSoAWRaqW5OpW5RcVvNcTby","W6ZcN8oitWe","dCk4WOtdPq","WOibW4rlWRxdNSo1","imoTW4m","ACk6tSk7tW","WPFcMJKRW67dIc5MhdG0rG","axn0WRn+b8of","jN7dIJjc","WQX9DGBdHa","DGBdNapcVs4","WPGgW7DqWQNdMa","W51HWOGgyq","iCk1k8kw","r24RW7ddOW","WRiqW5ThE8k/W6JcLmkvqa","W4FdLmoNWOhdNG","dae1imkD","a8k0W57dUwq","W5iGW5bOWOZdHSoh","W4BdM8oW","WOPqWOnTcq"];return Rh=function(){return t},Rh()}var fie=64;function wie(t,e){let n=un,i={LuevF:function(r,s){return r===s},hAers:function(r,s){return r-s},VZeEx:function(r,s){return r!==s},QfRNv:n(289,"wiue")};if(t instanceof RegExp){let r=new RegExp(t[n(379,"JdWm")],t[n(343,"^[L8")]);return s=>{let o=n;r[o(228,"VkK&")]=0;let l=r[o(381,"erY4")](s);return l?{index:l[o(260,"Jvkq")],length:l[0][o(240,"wiue")]}:void 0}}if(i[n(211,"pQsR")](typeof t,n(312,"5Vqv"))||i[n(308,"6tzD")](t[n(384,"yO7[")],0))if(i[n(237,"f07&")]!==n(232,"YXZH")){let r=_0x24f79c[n(316,"pQsR")](_0x2e210c);return r===-1?_0x72d14:{index:r,length:_0x5ce324[n(358,"pQsR")]}}else return;if(i[n(262,"KQMc")](e?.[n(373,"u4(s")],!0))return r=>{let s=n,o=r[s(272,"f07&")](t);return o===-1?void 0:{index:o,length:t[s(350,"PdML")]}};let a=t[n(300,"8NaD")]();return r=>{let s=n,o=r[s(395,"f07&")]()[s(321,"!SjE")](a);if(i[s(319,"G^wT")](o,-1))return;let l=Math[s(346,"dEUh")](o,r[s(278,"ef0B")]);return{index:l,length:Math[s(339,"Qm1r")](t[s(263,"u4(s")],i[s(313,"twB&")](r[s(323,"0vxb")],l))}}}function vie(t,e,n){let i=un,a={nvOcw:function(c,u){return c(u)},sSfAg:function(c,u){return c=u},YGhLS:i(378,"erY4"),GuIoC:function(c,u){return c{let h=i,g={UIwlM:function(d,m,w,f){return d(m,w,f)},qcNWF:function(d,m){return d+m}};if(typeof c===h(405,"ZUtw")){let d=a[h(276,"8]S$")](e,c);d&&(s+=1,a[h(359,"8]S$")](r[h(303,"0$QA")],n)&&r[h(286,"0$QA")]({path:u,value:c,matchIndex:d[h(325,"8]S$")],matchLength:d[h(391,"0%fs")]}));return}if(a[h(224,"dEUh")](c,null)||typeof c!==h(244,"Yy3I")||a[h(400,"ud!t")](p,fie)||o[h(216,"h[LL")](c))if(h(317,"0%fs")===h(273,"wiue"))g[h(250,"8]S$")](_0x1e7906,_0xef9d1[_0x55b01e],_0x1e5d33?_0x3765e2+"."+_0x4d6d36:""+_0x1ea0f3,g[h(356,"140J")](_0x5a11e9,1));else return;if(o[h(348,"TP#A")](c),Array[h(214,"erY4")](c)){if(a[h(389,"erY4")]!==a[h(284,"ud!t")])return _0x541d66;for(let d=0;a[h(369,"6tzD")](d,c[h(230,"VkK&")]);d+=1)l(c[d],u?u+"."+d:""+d,a[h(277,"ud!t")](p,1))}else if(a[h(254,"wiue")](a[h(409,"s)Z6")],a[h(327,"Yy3I")]))_0x592724[h(286,"0$QA")]({path:_0x16a1fd,value:_0x5029c9,matchIndex:_0x223a64[h(255,"9yge")],matchLength:_0x3c7831[h(391,"0%fs")]});else{let d=c;for(let m of Object[h(375,"9!Jl")](d))a[h(324,"s)Z6")](l,d[m],u?u+"."+m:m,p+1)}o[h(298,"G^wT")](c)};return l(t,"",0),{hits:r,truncated:s>r[i(212,"CmEg")]}}function Ly(t,e,n){let i=un,a={dLIer:function(c,u){return c!==u},aoPGh:i(302,"aK!M"),wqXJj:function(c,u,p,h){return c(u,p,h)},dTAgh:i(309,"yO7["),KeETG:function(c,u){return c===u},AYvdf:function(c,u){return c>u},OZwqa:function(c,u,p){return c(u,p)},yFxeH:i(318,"Lb@d"),UUGQI:function(c,u){return c!==u}},r=a[i(322,"nsz3")](wie,e,n);if(!r)if(a[i(252,"9!Jl")](i(355,"u4(s"),i(257,"6tzD")))_0x1eb193.id=_0x1a15cc.id;else return{hasMatches:!1};let s=n?.[i(235,"ud!t")],o=a[i(246,"Bj@R")](typeof s,a[i(390,"JdWm")])&&s>0?Math[i(279,"f07&")](s):Number[i(363,"yx7h")],l=[];for(let c of _1(t)){if(!c||typeof c!==i(360,"Wfsp")||a[i(365,"ud!t")](typeof c.id,i(226,"Bj@R")))continue;let u=c.id,p=a[i(393,"0vxb")](typeof c[i(282,"Lb@d")],i(349,"8]S$"))&&a[i(219,"5Vqv")](c[i(222,"f07&")][i(290,"h[LL")],0)?c[i(306,"8]S$")]:u;q1(c,(h,g)=>{let d=i;if(a[d(403,"G^wT")](typeof h.id,a[d(265,"VkK&")]))return;let{hits:m,truncated:w}=a[d(338,"Jvkq")](vie,h,r,o);if(m[d(290,"h[LL")]===0)return a[d(283,"s)Z6")]===d(251,"ef0B")?_0x2559f7:void 0;let f={actionId:h.id,taskId:u,taskName:p,matchedPaths:m};typeof h[d(231,"h[LL")]===d(406,"dEUh")&&(f[d(205,"wSU*")]=h[d(315,"140J")]),a[d(396,"8]S$")](typeof h[d(314,"$s)d")],a[d(386,"u4(s")])&&a[d(271,"140J")](h[d(335,"wiue")][d(296,"KQMc")],0)&&(f[d(397,"4&&G")]=h[d(243,"!SjE")]),g&&(f[d(275,"wSU*")]=g),w&&(f[d(367,"[AoD")]=!0),l[d(331,"$s)d")](f)})}return l[i(383,"aK!M")]>0?{hasMatches:!0,matches:l}:{hasMatches:!1}}(function(t,e){for(var n=Ei,i=t();;)try{var a=-parseInt(n(209,"bdpz"))/1+parseInt(n(207,")Z&&"))/2+-parseInt(n(202,"(LRw"))/3+parseInt(n(196,"l2(P"))/4*(parseInt(n(208,"bV^V"))/5)+-parseInt(n(194,"!4%Z"))/6+parseInt(n(201,"TP)v"))/7+parseInt(n(198,"8Np("))/8;if(a===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ih,441715);function Ei(t,e){t=t-194;var n=Ih(),i=n[t];if(Ei.uykjNK===void 0){var a=function(l){for(var c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="",h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(var w=0,f=u.length;w=500?`Genesys Cloud returned ${n} fetching flow "${t}". Transient server-side error \u2014 retry; this says nothing about the flow.`:`Failed to fetch flow "${t}"`+(n!==void 0?` (HTTP ${n})`:"")+(i?`: ${i}`:".")+" Likely transient (network or gateway) \u2014 retry rather than concluding the flow does not exist."}var H1=50;function Aie(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 bie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID"),actionIds:te.array(te.string().min(1)).min(1).max(H1).describe(`Action GUIDs, taken from the \`id\` of flow_ir nodes whose \`kind\` is "action". Batch every action of interest into as few calls as possible rather than calling this tool once per action. Branch-output ids of the form \`::\` are also accepted; the suffix is stripped and the underlying action is returned. Maximum ${H1} ids per call; chunk a larger set into successive calls.`)},W1=({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:bie},handler:async({flowId:e,actionIds:n})=>{let i=await Ma(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let{lookupIds:a,requestedFor:r,strippedAny:s}=Aie(n),o=By(i.configuration,a),l=u=>({...u,actionId:r.get(u.actionId)??u.actionId}),c=[];return s&&c.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&&c.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(u=>r.get(u)??u),...c.length>0?{notes:c}:{}})}]}}});function R1(t){let e=t.toUpperCase();return e.endsWith("FLOW")?e:`${e}FLOW`}function xie(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:R1(t.type??""),version:t.publishedVersion?.commitVersion??"1"},dependencies:n}}var yie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID")},I1=({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:yie},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=R1(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=xie(n,r);return{content:[{type:"text",text:JSON.stringify(o)}]}}catch(n){return{isError:!0,content:[{type:"text",text:`Failed to retrieve flow dependencies: ${ct(n)}`}]}}}});var Pie=1e3,jie=45e3,Sie=10,Zt=class extends Error{};function yu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}async function Oie(t){let e=await fetch(t);if(!e.ok)throw new Zt(`Downloading the execution data file failed with HTTP ${e.status}.`);return e.json()}function Tie(t){return new Promise(e=>setTimeout(e,t))}function kie(t){return t.jobState==="Success"||t.jobState==="Failed"?!0:t.entities?.some(e=>e.downloadUri||e.failed===!0)??!1}async function Mie(t,e,n,i){let a=e,r=Date.now()+i;for(;!kie(a);){if(!a.id)throw new Zt(`The retrieval job reported state "${a.jobState??"unknown"}" without a job id to poll.`);if(Date.now()>=r)throw new Zt(`The retrieval job (${a.id}) was still "${a.jobState??"unknown"}" after ${Math.round(i/1e3)}s. Retry shortly; the job may complete on its own.`);await Tie(n),a=await t.getFlowsInstancesJob(a.id)}return a}function z1(t){return`No execution data exists for execution id "${t}". Either the id is wrong (it is the flow instance id, which for test_bot_flow runs is the sessionId it returned, not a conversation id or flow id), the run is older than the ${Sie}-day retention period, the flow was last published before execution data storage was enabled for the org (flows must be republished after enabling it), or storage is disabled. Use find_flow_execution with a conversationId to list the instances that do exist.`}function Eie(t,e){switch(e.statusCode){case"404":return z1(t);case"403":return`Not authorised to read execution data for "${t}" (403): the OAuth client needs the 'Architect > Flow Instance > View' permission and division access to the flow.`;default:return`Retrieving execution data for "${t}" failed`+(e.statusCode?` (HTTP ${e.statusCode})`:"")+"."}}function qie(t,e){if(e instanceof Zt)return e.message;let{status:n}=Et(e);return n===404?z1(t):n===403?"Not authorised to read execution data (403): the OAuth client needs the 'Architect > Flow Instance > View' permission.":`Failed to retrieve execution data for "${t}": ${ct(e)}`}function _ie(t){if(yu(t)&&yu(t.flow)&&Array.isArray(t.flow.execution))return t.flow;if(yu(t)&&Array.isArray(t.execution))return t;let e=yu(t)?Object.keys(t).join(", "):typeof t;throw new Zt(`The downloaded execution data had an unexpected shape (top-level: ${e}); expected { flow: { execution: [...] } }.`)}var Hie={executionId:te.string().min(1).describe("The flow instance (execution) id. This is the `id` of an entry returned by find_flow_execution, or the sessionId returned by test_bot_flow. It is not a conversation id or a flow id."),includeIr:te.boolean().default(!0).describe("Default true. Joins each action event to the flow's IR (the same graph flow_ir returns) using actionId, adding the action's type, task and outgoing edges, and lists the IR actions this instance never executed. Costs one extra flow configuration fetch. Set false when only the raw event log is wanted.")},D1=({architectApi:t,download:e=Oie,pollIntervalMs:n=Pie,maxWaitMs:i=jie})=>({config:{description:"Retrieves the historical execution data of one run of a Genesys Cloud Architect flow: the ordered log of what that single conversation actually did, action by action, with timestamps, the messages sent and received, the branch each decision or menu took, variable assignments, errors and the exit reason. Use it to see how a customer traversed a flow, to find loops and retries (summary.repeatedActions for actions run more than once, summary.loops for Loop actions and their iteration counts, summary.asksWithRetries for asks that re-prompted), errors (eventError events with a relatedAction) and dead ends, or to confirm a flow is behaving. flow_ir shows what could happen; this shows what did happen, this time. Each action event's actionId is the id of the flow_ir node whose kind is \"action\", and is accepted verbatim by flow_action. An action's outputPathId names the branch it took; joined to the IR it is the branch-output node :: (ir.takenBranch). Event kinds are usually named action for IR actionType Action (actionCommunicate is CommunicateAction, actionDecision is DecisionAction), with exceptions: actionUpdateData is UpdateVariableAction, actionJumpToTask is TransferTaskAction and actionAskForIntent is AskForNLUIntentAction; the ir.actionType annotation on each event is authoritative. events[] is in execution order; the IR's `order` field is not and must not be used for sequencing. trackingId is the action number shown in the Architect UI; gaps in it are authoring history, not missing actions. The instance's logLevel governs which sections exist: below 'all', variables and communications may be absent or empty, which is expected rather than an error. Pass the sessionId from test_bot_flow to see exactly how a test run traversed the flow; data is available seconds after the run ends, and such runs have a null conversationId.",annotations:{title:"Flow Execution Data",readOnlyHint:!0,destructiveHint:!1},inputSchema:Hie},handler:async({executionId:a,includeIr:r})=>{let s;try{let M=await t.getFlowsInstance(a),V=await Mie(t,M,n,i),N=V.entities?.find(_=>_.id===a)??V.entities?.[0];if(V.jobState==="Failed"&&!N)throw new Zt(`The retrieval job (${V.id??"unknown id"}) failed without reporting a cause.`);if(!N)throw new Zt(`The retrieval job (${V.id??"unknown id"}) completed with no results.`);if(N.failed||!N.downloadUri)return{isError:!0,content:[{type:"text",text:Eie(a,N)}]};s=_ie(await e(N.downloadUri))}catch(M){return{isError:!0,content:[{type:"text",text:qie(a,M)}]}}let{execution:o,...l}=s,c=Ry(o),u=c.events,p=c.summary,h=[],g=u.find(M=>M.kind==="endedFlow"),d=typeof g?.flowExitReason=="string"?g.flowExitReason:null;g||h.push("No endedFlow event: the run had not finished when the data was captured, or the log was cut short. Do not treat the last event as where the flow ended.");let m=Iy(u,".ConversationId"),w=yu(l.executionInfo)?l.executionInfo.logLevel:void 0;typeof w=="string"&&w.toLowerCase()!=="all"&&h.push(`This instance was captured at log level "${w}". Variable values, communications or action inputs/outputs may be absent because they were not recorded, not because they did not happen.`),l.isTruncated===!0&&h.push("isTruncated is true: the log was cut off by the execution cap, so later actions ran without being recorded."),p.repeatedActions.length>0&&h.push(`${p.repeatedActions.length} action(s) executed more than once; see summary.repeatedActions and each occurrence's executionId to tell iterations apart.`),p.asksWithRetries.length>0&&h.push(`${p.asksWithRetries.length} ask/menu action(s) needed more than one participant input (summary.asksWithRetries); the retries are the turns inside that event's execution[], not repeated actions.`);let f=p.eventKinds.eventError??0;f>0&&h.push(`${f} eventError event(s) occurred; each one's relatedAction names the action that was executing (matched on context.executionId), and context.reason gives the cause.`);let A=Date.parse(String(l.startDateTime)),b=Date.parse(String(l.endDateTime)),x=Number.isFinite(A)&&Number.isFinite(b)?b-A:null,S;if(r){let M=typeof l.flowId=="string"?l.flowId:void 0,V=typeof l.flowVersion=="string"?l.flowVersion:void 0;if(!M)h.push("The execution data carried no flowId, so no IR join was possible.");else{let N=await Wie(t,M,V,h);if(N){let _=xu(N.configuration);if(!_.ok)h.push(`The flow configuration could not be parsed into an IR (${_.error.code}: ${_.error.message}); events are unjoined.`);else{let W=zy(u,_.ir);u=W.events,S={configuration:N.configuration_source,unmatchedActionIds:W.unmatchedActionIds,unmatchedStateIds:W.unmatchedStateIds,actionsNotExecuted:W.actionsNotExecuted,warnings:_.warnings},W.unmatchedActionIds.length>0&&h.push(`${W.unmatchedActionIds.length} executed action id(s) have no node in the IR (ir.unmatchedActionIds). If the join used the latest configuration rather than the version that ran, the flow has probably been redeployed since; otherwise the action may live in a called common module or bot flow, which the parent's IR does not contain.`)}}}}let T={...l,executionId:typeof l.executionId=="string"?l.executionId:a,conversationId:typeof m=="string"?m:null,durationMs:x,flowExitReason:d,logLevel:typeof w=="string"?w:null,summary:p,events:u,...S?{ir:S}:{},...h.length>0?{notes:h}:{}};return{content:[{type:"text",text:JSON.stringify(T)}]}}});async function Wie(t,e,n,i){if(n)try{return{configuration:await t.getFlowVersionConfiguration(e,n),configuration_source:{flowVersion:n}}}catch(r){if(Et(r).status===410){i.push("IR join skipped: the flow has been deleted, so no configuration can be fetched. The events are still complete; only the ir annotations and actionsNotExecuted are unavailable.");return}i.push(`Could not fetch the configuration of flow version ${n} (${ct(r)}); the IR join used the latest configuration instead, which may differ from what ran.`)}else i.push("The execution data carried no flowVersion; the IR join used the latest configuration, which may differ from what ran.");let a=await Ma(t,e);if(!a.ok){i.push(`IR join skipped: ${a.message}`);return}return{configuration:a.configuration,configuration_source:{latest:!0}}}function Rie(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 Iie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID"),task:te.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 and successors may reference nodes in other tasks, which will not appear in the filtered node list.")},G1=({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:Iie},handler:async({flowId:e,task:n})=>{let i=await Ma(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let a=xu(i.configuration);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=Rie(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 N1=100,U1=10,Pu=160,zie=512;function Die(t,e,n){if(!e)return{ok:!0,query:t};try{return{ok:!0,query:new RegExp(t,n?"":"i")}}catch(i){let a=i instanceof Error?i.message:String(i);return{ok:!1,error:`Invalid regular expression "${t}": ${a}. Set regex to false for a literal substring search.`}}}function Gie(t,e,n){if(t.length<=Pu)return t;let i=e+Math.floor(n/2),a=Math.max(0,Math.min(i-Math.floor(Pu/2),t.length-Pu)),r=a+Pu;return`${a>0?"\u2026":""}${t.slice(a,r)}${r({config:{description:'Searches the raw Architect configuration of a Genesys Cloud Architect flow for text, and returns the actions containing it along with where in each action it matched. Answers "which actions reference X" \u2014 a queue name, a data action, a variable such as Flow.DNIS, a phrase in a prompt \u2014 in a single call. Use it instead of sweeping a flow with bulk flow_action lookups, which return whole action subtrees for actions that may not be relevant at all. Each returned actionId is an Architect GUID: it joins directly to flow_ir nodes whose kind is "action", and is accepted verbatim by flow_action. Search here to find the ids, then fetch those ids with flow_action when an excerpt is not enough. Matching is against string values only, never key names. A match in a wiring field locates text and is not a control-flow claim; flow_ir owns wiring.',annotations:{title:"Search In Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:Uie},handler:async({flowId:e,pattern:n,regex:i,caseSensitive:a})=>{let r=Die(n,i,a);if(!r.ok)return{isError:!0,content:[{type:"text",text:r.error}]};let s=await Ma(t,e);if(!s.ok)return{isError:!0,content:[{type:"text",text:s.message}]};let o=s.configuration;if(!Nie(o))return{isError:!0,content:[{type:"text",text:`The latest configuration of flow "${e}" has no flowSequenceItemList to search \u2014 the flow type may be unsupported. Nothing was searched, so this is not a zero-match result.`}]};let l=Ly(o,r.query,{caseSensitive:a,maxMatchesPerAction:U1}),c=l.hasMatches?l.matches:[],u=c.slice(0,N1),p=u.map(g=>({...g,matchedPaths:g.matchedPaths.map(d=>({path:d.path,excerpt:Gie(d.value,d.matchIndex,d.matchLength)}))})),h=[];return c.length>u.length&&h.push(`${c.length} actions matched; only the first ${N1} are returned, in encounter order. Narrow the pattern to see the rest.`),u.some(g=>g.truncated)&&h.push(`Some actions matched in more than ${U1} places; matchedPaths is not exhaustive for entries marked truncated.`),u.some(g=>g.matchedPaths.some(d=>d.value.length>Pu))&&h.push("Excerpts are clipped windows around the match, not whole values; fetch the action with flow_action when the full text matters."),{content:[{type:"text",text:JSON.stringify({flowId:e,pattern:n,totalMatchedActions:c.length,matchedActions:p,...h.length>0?{notes:h}:{}})}]}}});var Fy=new Map;function $ie(t){let{id:e,previousTurn:n,...i}=t;return i}async function B1(t,e,n){let i=[],a=n;for(;i.push($ie(a)),Fy.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")&&Fy.delete(e),{content:[{type:"text",text:JSON.stringify({sessionId:e,turns:i})}]}}var Bie={flowId:te.string().optional().describe("The bot flow ID to test. Required when starting a new session."),sessionId:te.string().optional().describe("Session ID from a previous call. Required when continuing an existing conversation."),message:te.string().optional().describe("User message to send to the bot. Required when continuing a session.")},L1=({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:Bie},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 B1(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=Fy.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 B1(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 Vy=te.object({GENESYS_REGION:te.string().min(1),GENESYS_CLIENT_ID:te.string().min(1),GENESYS_CLIENT_SECRET:te.string().min(1),DEPLOY_SCRIPT_PATH:te.string().min(1),PREVENT_LOGIN:te.enum(["TRUE","FALSE"]).default("FALSE").transform(t=>t==="TRUE")}).safeParse(process.env);if(!Vy.success){let t=Vy.error.issues.map(e=>e.path[0]).join(` +`)+m}]})}else{let w=s?.error??`Deploy runner exited with code ${g}`;l({isError:!0,content:[{type:"text",text:`Deploy failed: ${w}${m}`}]})}})})}});function Et(t){if(t===null||typeof t!="object")return{message:String(t)};let e="status"in t&&typeof t.status=="number"?t.status:void 0,n="code"in t&&typeof t.code=="string"&&t.code.length>0?t.code:void 0,i="message"in t&&typeof t.message=="string"&&t.message.length>0?t.message:void 0;return{status:e,code:n,message:i}}function ct(t){let{status:e,code:n,message:i}=Et(t),a=[];return e!==void 0?a.push(`HTTP ${e}${n?` (${n})`:""}`):n&&a.push(n),i&&a.push(i),a.length>0?a.join(": "):"Unknown error"}function no(t,e){return(t.name??"").toLowerCase()===e.toLowerCase()}function fh(t,e){return t.slice().sort((n,i)=>Number(no(i,e))-Number(no(n,e)))}var Dne=50,Gne=200;function Nne(t){return{id:t.id??"",name:t.name,type:t.type??"",publishedVersion:t.publishedVersion?.commitVersion??null,...t.description?{description:t.description}:{}}}var Une={name:te.string().min(1).describe("The flow name, or a portion of it, to search for. Matched case-insensitively against flow names, so a partial name like 'payment' finds 'Book_Payment'."),type:te.array(te.string()).optional().describe('Optional flow types to restrict the search to, e.g. ["inboundcall"], ["bot", "digitalbot"], ["workflow"]. Omit to search flows of every type.')},f1=({architectApi:t})=>({config:{description:"Finds Genesys Cloud Architect flows by name, resolving the human-readable name users know (e.g. 'Book_Payment') to the flow id every other flow tool requires. Returns each matching flow's id, name, type and published version. Matching is a case-insensitive search over flow names that accepts a portion of the name; flows whose name equals the query exactly are listed first. The returned id is accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies. A publishedVersion of null means the flow has never been published.",annotations:{title:"Find Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:Une},handler:async({name:e,type:n})=>{try{let i=[],a=0,r=1;for(;;){let c=await t.getFlows({name:e,pageSize:100,pageNumber:r,...n?.length?{type:n}:{}});if(c.entities&&i.push(...c.entities),a=c.total??a,!c.nextUri||i.length>=Gne)break;r++}a=Math.max(a,i.length);let s=fh(i,e).slice(0,Dne),o=[];if(s.length===0)o.push(`No flows matched "${e}". The search already accepts a portion of the name, so try a shorter fragment, or drop the type filter if one was given.`);else if(a>s.length){let c=`${a} flows matched; only ${s.length} are returned${no(s[0],e)?", exact name matches first":""}.`;i.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(i){return{isError:!0,content:[{type:"text",text:`Failed to search for flows: ${ct(i)}`}]}}}});var wh=200,w1=10;function v1(t){return t&&t!=="NONE"?t:void 0}function $ne(t){let e=v1(t.flowErrorReason),n=v1(t.flowWarningReason);return{executionId:t.id??"",flowId:t.flowId??null,flowName:t.flowName??null,flowType:t.flowType??null,flowVersion:t.flowVersion??null,conversationId:t.conversationId??null,...t.workitemId?{workitemId:t.workitemId}:{},startDateTime:t.startDateTime??null,endDateTime:t.endDateTime??null,...e?{flowErrorReason:e}:{},...n?{flowWarningReason:n}:{}}}function Bne(t,e){return(t.startDateTime??"").localeCompare(e.startDateTime??"")}async function Lne(t){try{return(await t.getFlowsInstancesSettingsExecutiondata()).enabled}catch{return}}var Fne={conversationId:te.string().min(1).optional().describe("The Genesys Cloud conversation id. Returns every flow instance that conversation ran, so a call that went through an inbound flow and then an in-queue flow yields two entries. Preferred filter: it is what the API indexes on."),flowId:te.string().min(1).optional().describe("The Architect flow id. Returns recent instances of that flow, whichever conversation ran them. Combine with conversationId to pick one flow out of a conversation."),onlyWithErrors:te.boolean().optional().describe("When true, only instances that ended with a flow error are returned (flowErrorReason is set). Applied to the instances the query fetched, so with a busy flow the errored runs beyond the API's 200-instance cap are not seen. Use it to find the runs worth inspecting with flow_execution_data.")},C1=({architectApi:t})=>({config:{description:`Finds the recorded executions (flow instances) of Genesys Cloud Architect flows, by conversation id and/or flow id. Returns each instance's executionId, flow id/name/type/version, conversationId, start and end times, and any flowErrorReason or flowWarningReason, oldest first. Use it to answer 'what did this conversation do' or 'has this flow been failing', then pass an executionId to flow_execution_data for the action-by-action log. Only the last ${w1} days are retained, the API cannot filter by date, and at most ${wh} instances are returned per query, so prefer conversationId. A run is listed only once it has ended. test_bot_flow runs have no conversation id, so find them by flowId or pass their sessionId straight to flow_execution_data.`,annotations:{title:"Find Flow Execution",readOnlyHint:!0,destructiveHint:!1},inputSchema:Fne},handler:async({conversationId:e,flowId:n,onlyWithErrors:i})=>{if(!e&&!n)return{isError:!0,content:[{type:"text",text:"Provide a conversationId, a flowId, or both."}]};let a=[];e&&a.push({key:"ConversationId",operator:"eq",value:e}),n&&a.push({key:"FlowId",operator:"eq",value:n});try{let r=await t.postFlowsInstancesQuery({query:[{and:a}]},{pageSize:wh}),s=(r.entities??[]).map($ne),o=(i?s.filter(p=>p.flowErrorReason!==void 0):s).sort(Bne),l=Math.max(r.total??0,s.length),c=[];i&&o.length===0&&s.length>0?c.push(`None of the ${s.length} instance(s) fetched ended with a flow error. Drop onlyWithErrors to see them.`):o.length===0?await Lne(t)===!1?c.push("No instances matched, and execution data storage is disabled for this org (Architect > Settings > Execution data), so none are being recorded."):c.push(`No instances matched. A run is listed only after it ends; execution data is kept for ${w1} days and is only captured for flows published after storage was enabled (republish older flows); and test_bot_flow runs have no conversation id, so search for them by flowId. Check the id, or query by flowId to see whether the flow records anything at all.`):l>s.length?c.push(`${l} instances matched but only ${s.length} were fetched. Narrow the query with a conversationId.`):s.length>=wh&&c.push(`The API caps results at ${wh}; older instances may exist.`);let u={query:{...e?{conversationId:e}:{},...n?{flowId:n}:{},...i?{onlyWithErrors:i}:{}},executions:o,total:l,...c.length>0?{notes:c}:{}};return{content:[{type:"text",text:JSON.stringify(u)}]}}catch(r){let{status:s}=Et(r),o=s===403?" The OAuth client needs the 'Architect > Flow Instance > Search' permission.":s===400?" The query was rejected; check that the conversationId and flowId are well-formed Genesys Cloud ids.":"";return{isError:!0,content:[{type:"text",text:`Failed to search for flow executions: ${ct(r)}${o}`}]}}}});var Vne=50,Jne=200;function Kne(t){return`*${t.trim().replace(/^\*+|\*+$/g,"")}*`}function vh(t){if(t?.id)return{id:t.id,...t.name?{name:t.name}:{}}}function Zne(t){let e=vh(t.queueFlow),n=vh(t.emailInQueueFlow),i=vh(t.messageInQueueFlow);return{id:t.id??"",name:t.name??"",division:vh(t.division)??null,memberCount:t.memberCount??null,joinedMemberCount:t.joinedMemberCount??null,dateModified:t.dateModified??null,...t.description?{description:t.description}:{},...e?{queueFlow:e}:{},...n?{emailInQueueFlow:n}:{},...i?{messageInQueueFlow:i}:{}}}var Qne={name:te.string().min(1).describe("The queue name, or a portion of it, to search for. Matched case-insensitively against queue names, so a partial name like 'sales' finds 'UK_Sales'. Wildcards are added automatically; do not include asterisks.")},A1=({routingApi:t})=>({config:{description:"Finds Genesys Cloud routing queues by name, resolving the human-readable name users know (e.g. 'Sales') to the queue's id and exact name. Returns each matching queue's id, name, division (id and name), memberCount (agents configured on the queue), joinedMemberCount (agents currently joined and taking work), dateModified and, when configured, its in-queue flows (queueFlow for calls, emailInQueueFlow, messageInQueueFlow). Matching is a case-insensitive search that accepts a portion of the name; queues whose name equals the query exactly are listed first. When several similarly named queues match, dateModified and the member counts help tell a live queue from an abandoned one. Use the returned exact name as the search_in_flow query to find the actions in a flow that transfer to the queue. The in-queue flow ids are accepted verbatim by flow_ir, flow_action, search_in_flow and flow_dependencies.",annotations:{title:"Find Queue",readOnlyHint:!0,destructiveHint:!1},inputSchema:Qne},handler:async({name:e})=>{try{let n=[],i=Kne(e),a=0,r=1;for(;;){let c=await t.getRoutingQueues({name:i,pageSize:100,pageNumber:r});if(c.entities&&n.push(...c.entities),a=c.total??a,!c.nextUri||n.length>=Jne)break;r++}a=Math.max(a,n.length);let s=fh(n,e).slice(0,Vne),o=[];if(s.length===0)o.push(`No queues matched "${e}". The search already accepts a portion of the name, so try a shorter fragment.`);else if(a>s.length){let c=`${a} queues matched; only ${s.length} are returned${no(s[0],e)?", exact name matches first":""}.`;n.length0?{notes:o}:{}};return{content:[{type:"text",text:JSON.stringify(l)}]}}catch(n){let i=Et(n).status===403?" The OAuth client needs the 'Routing > Queue > View' permission.":"";return{isError:!0,content:[{type:"text",text:`Failed to search for queues: ${ct(n)}${i}`}]}}}});var Yne=Ci;(function(t,e){let n=Ci,i=t();for(;;)try{if(-parseInt(n(224,"aGl^"))/1+-parseInt(n(226,"fP8A"))/2+-parseInt(n(230,"*Jz8"))/3*(-parseInt(n(229,"YKKw"))/4)+parseInt(n(231,"qVUr"))/5+-parseInt(n(220,"iE3t"))/6+-parseInt(n(234,"9INm"))/7*(-parseInt(n(237,"hqdc"))/8)+parseInt(n(235,"aGl^"))/9===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ch,280123);function Ci(t,e){t=t-220;let n=Ch(),i=n[t];if(Ci.xvPbyB===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;ht+Yne(227,"$nkS");function Ch(){let t=["WOn2W5xcTw/cSCoWW5ddIa","WQaGW5tcKaGFWQddRmoeWO8YW7C","WQG7WOzzWOvchCobWRhcT8k6WQrX","m1jyW69umv7dGqfHWOmuW5e","W4XZoYn/W4Ws","W4HsW4RcTNZdSmkGWPnHW5hcHW3cSa","W6HdjSojWRFdMSooW490","t2dcUglcVmkJWQ3cLLBcNW","WOldPxrlWO/cVMXMq8oJpSoveq","WRxcJbJcJ8k1WPD9qCoWWPBcPMtdQG","WOLEWPNcISoZW4HYW7/cNSkW","WO/dO8kelGHXsG","WQuOW57cKqCCW6ldJSo+WOOaW7RcPG","ub/dISo/ahlcVr5BWPNdRhDk","WQZdHmofpCkxaSk6EetdVWVdKGe","W7xdUCoAW6vsACoM","xmkWpuXolthcKZ/dNcCVW7S","W6b1f099mKJcM3iDWRddRa","rWiUWPuaCLlcRmoKWP/cIgNdTq"];return Ch=function(){return t},Ch()}var ka=(t,e)=>t+"::"+e;(function(t,e){let n=sn,i=t();for(;;)try{if(parseInt(n(383,"jP%N"))/1*(parseInt(n(399,"5H9f"))/2)+parseInt(n(501,"0rXo"))/3*(-parseInt(n(401,"Hz0W"))/4)+parseInt(n(423,"Hz0W"))/5*(-parseInt(n(510,"EMx@"))/6)+-parseInt(n(412,"L*Ud"))/7*(-parseInt(n(405,"w$ck"))/8)+-parseInt(n(483,"eM5c"))/9*(parseInt(n(441,"dQmY"))/10)+-parseInt(n(473,"[8UY"))/11+-parseInt(n(370,"hnuZ"))/12*(-parseInt(n(311,"dQmY"))/13)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ah,426937);function sn(t,e){t=t-309;let n=Ah(),i=n[t];if(sn.DYlBxB===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h{let s=e;if(!n[s(495,"[8UY")](io,a)||n[s(459,"7yyp")](Object[s(390,"LxR8")](a)[s(389,"Iyrj")],0)){i[s(326,"qSJH")]({index:r,kind:n[s(499,"4J1r")],value:a});return}for(let[o,l]of Object[s(419,"dQmY")](a))if(n[s(329,"0vgR")](s(346,"qN4z"),n[s(452,"dQmY")]))i[s(466,"0rXo")](io(l)?{...l,index:r,kind:o}:{index:r,kind:o,value:l});else{if(!_0x2ec076(_0xd64bc3[s(500,"#xX5")]))return _0x3111c0;let c=_0x5597ba[s(440,"EMx@")][s(491,"[8UY")];if(typeof c!==s(318,"2yLq"))return _0x5828fa;let u=_0x5261be[s(460,"HCb$")](c);if(!u)return _0x2bbf78;let p={index:u[s(365,"qN4z")],...typeof u[s(471,"KSV[")]===s(467,"E8BW")?{actionId:u[s(446,"fCR2")]}:{},...typeof u[s(350,"R1KI")]===s(505,"hnuZ")?{actionName:u[s(496,"^(s3")]}:{}};return{..._0x5e9605,relatedAction:p}}}),i}function eie(t){let e=sn;if(!Array[e(393,"qSJH")](t[e(448,"z6O^")]))return 0;let n=0;for(let i of t[e(407,"eiFV")])io(i)&&io(i[e(388,"K&7W")])&&i[e(517,"qSJH")][e(447,"B6qy")]&&n++;return n}function nie(t){let e=sn,n={cmOJH:function(a,r){return a===r},vTNQV:e(494,"W#ne")},i=new Map;for(let a of t)typeof a[e(338,"Nqq8")]===e(505,"hnuZ")&&typeof a[e(413,"MY6q")]===n[e(361,"GfrY")]&&i[e(426,"EMx@")](a[e(438,"6ysH")],a);return t[e(330,"^iMM")](a=>{let r=e;if(!io(a[r(502,"qSJH")]))return a;let s=a[r(355,"4J1r")][r(457,"Iyrj")];if(typeof s!==r(333,"eM5c"))return a;let o=i[r(334,"0rXo")](s);if(!o)return a;let l={index:o[r(492,"z6O^")],...n[r(315,"4J1r")](typeof o[r(436,"qN4z")],n[r(454,"W^OT")])?{actionId:o[r(515,"R1KI")]}:{},...typeof o[r(335,"Hz0W")]===n[r(313,"dWBv")]?{actionName:o[r(424,"hnuZ")]}:{}};return{...a,relatedAction:l}})}function iie(t){let e=sn,n={eTadv:function(l,c){return l===c},ZDKIl:e(468,"jP%N"),kWlrN:e(397,"B6qy"),QcTxy:e(425,"W#ne"),WyTSw:e(409,"lA8O")},i={},a=new Map,r=[],s=new Map;for(let l of t){if(n[e(327,"2yLq")](n[e(377,"2yLq")],n[e(520,"R1KI")]))return _0x7f7213[e(418,"z6O^")](_0x57b9cd[e(411,"jP%N")]),{..._0xf35b9,ir:null};{if(i[l[e(349,"jP%N")]]=(i[l[e(493,"Iyrj")]]??0)+1,l[e(503,"MJxN")]===e(369,"hi%I")&&l[e(384,"0vgR")]){let p=l[e(347,"Hz0W")];if(n[e(351,"R1KI")](typeof p[e(472,"4J1r")],e(391,"dWBv"))){let h=s[e(477,"6ysH")](p[e(319,"qSJH")]);if(h)h[e(321,"4J1r")]++;else if(n[e(408,"B6qy")]===e(484,"Wrzb")){if(!_0x470b02[e(432,"fCR2")](_0x9a7a1d[e(514,"E&pm")]))return 0;let g=0;for(let d of _0x46399e[e(456,"Hz0W")])_0x4b58c6(d)&&_0x29a349(d[e(439,"eiFV")])&&d[e(394,"2yLq")][e(376,"7yyp")]&&g++;return g}else s[e(415,"h685")](p[e(455,"JkKi")],{index:p[e(518,"Hz0W")],actionId:p[e(309,"^(s3")],...p[e(435,"9aZr")]?{actionName:p[e(461,"5H9f")]}:{},iterations:1})}}if(typeof l[e(515,"R1KI")]!==e(417,"qN4z"))continue;let c=eie(l);c>1&&r[e(475,"GfrY")]({index:l[e(442,"7yyp")],actionId:l[e(450,"hi%I")],...typeof l[e(342,"0rXo")]===n[e(410,"[8UY")]?{actionName:l[e(404,"Iyrj")]}:{},participantTurns:c});let u=a[e(368,"S6OS")](l[e(322,"dWBv")]);u?(u[e(522,"eiFV")]++,u[e(434,"qN4z")][e(310,"Qtd0")](l[e(526,"dWBv")])):a[e(508,"Hz0W")](l[e(373,"6ysH")],{actionId:l[e(375,"lA8O")],...typeof l[e(451,"eiFV")]===n[e(356,"W^OT")]?{actionName:l[e(470,"Wrzb")]}:{},executions:1,eventIndexes:[l[e(374,"W^OT")]]})}}let o=[...a[e(380,"JkKi")]()][e(498,"4J1r")](l=>l[e(396,"R1KI")]>1)[e(464,"hi%I")]((l,c)=>c[e(344,"MJxN")]-l[e(481,"z6O^")]);return{eventCount:t[e(422,"Qtd0")],eventKinds:i,repeatedActions:o,loops:[...s[e(317,"^iMM")]()],asksWithRetries:r}}function Ry(t){let e=sn,n={xlZJH:function(a,r){return a(r)},OACIO:function(a,r){return a(r)}},i=nie(n[e(478,"dWBv")](Xne,t));return{events:i,summary:n[e(509,"0vgR")](iie,i)}}function Iy(t,e){let n=sn,i={NYpzL:n(414,"E&pm"),xylGK:function(a,r){return a(r)},URZVL:function(a,r){return a===r},mDLTC:function(a,r){return a!==r}};for(let a of t)if(Array[n(469,"MJxN")](a[n(357,"E&pm")]))for(let r of a[n(474,"Qtd0")]){if(i[n(479,"L*Ud")]!==n(488,"2yLq"))return _0x1f1383[n(379,"Hz0W")](_0xd8051c),{..._0x5c77e3,ir:null};if(i[n(504,"MJxN")](io,r)&&i[n(314,"MY6q")](typeof r[n(512,"eM5c")],n(417,"qN4z"))&&r[n(341,"5H9f")][n(433,"E8BW")](e)&&i[n(363,"0rXo")](r[n(362,"B6qy")],null)&&i[n(523,"HCb$")](r[n(364,"KSV[")],void 0))return r[n(378,"z6O^")]}}function Ah(){let t=["wweUWRTFW67dGdtcRG","pdVcMSkM","WQ5Ae2Cdrde","W5z1WQKdEMFcKGG","fSkJegZdRq","WOLmwbHN","W7iXW6iaAW","WQRdUSodtmkK","cmoYWRe5WOW","WPHEWP0+W5SEW6tcGa","FSk2vSo9WQCh","g8o9fW","WR0KWPzWWOxdNSkmWPJcQq","vY1wm8kCxCooWPJcMSkqs8k+nq","W7ftWRu","DvOrW5/dGa","WOyIWPWeCL/cStq","WQ5hnNaj","xqfUW73dONzsW7C","WOPjWOa+W6irW7FcMmowW4xcNdhcGs9a","WR1BW67dIc8","tdPuW4a+","W7pdICoi","W6PtWQNcH8o/WOy","W6/cO8kDdmo1WOJdICk/WOrbjq","mmkOh13cMbe","oCksiI7cTSoremkn","EmkYsCo3WPOgW5zarGFdTCkqCW","A8ohiW","WRSEqa","e8ofW7m+WOO","W5CXzwW","W6BdPXtcGmoZW5O","WQFcLSofma","nCo7W5y5WQldPG","WQzhEmotW6a5uW","sCkZDqjVW55f","WPnQW5FdRW","WRyBrSoOWPu","W5etrGpdLM/cSHpdUmkt","WPzzFs9o","EmogjHVcISoLemk1Aq","CmoKxWhdGGvKWPHaW73cIa","W7/dJmoC","WQdcNCkEWQ9phmkqW6KpW7zvgKK","WQhcNmojW4aRE8okW7m","hCo7f8oOWO1WW5ZdUa","W6VdOq7cJSoOW5X7x8oQyG","EsVcVteWaXhcQgHmEmoCW7q","W5zXW5fEkahdIcOjW6lcL8kDdq","WR3dPIJdRSkdWQbrcCoT","WQ5oybv7","tXzOW73dO38","WQlcQmofC8kj","A8oamXhcJCoQo8k9","WR8hkmkftCkaW7ye","De1CWPXXBmo/sMJcHNO","xumSWR5X","WQbmzW","WQ0dW7HVWPa","eSoOWQC1WPPo","wZ9C","rCkLpCozWPFdO1W","W77dOWNcJmooW5y","WPHAWOq2W5WYW7FcJCorW4xcNq","vXTwj3SE","WQRcLmkzW4WvxCo6W7e5","b34BACoga8kWWOpcKSkG","WQlcJCk1gCkT","WQKFua","W44XDNRdNW","W4bFWPa","WQJdUSoCuSkpWPRdGmkV","W70drSoRWQlcRq","CffD","oWBdJmkTW4bMuW","dh/cLgVcImkBvaS","bmoQWRaYWObGWOJdImobW5jmra","a09cWPJdVmoPECksySkV","amo/WQe1WPThWQ/dIa","W6WbW5W9rHG","WOi5WO0oAexcKt8cW77cMW","WQZdQZ/dOW","WRKvsSo5WPZcU8kR","eCo7ECksW47dGwRcKf7cKa8","WOvvWOS2W4O","W73dMmoyW6ykwSo4W4ypW4z5lq","eCoWbeKTW7H5wLLtWOu","WRNdLc3cN8oVW7bC","mXBdUCk2W51Py8ks","WPLFwWbsWRSrBqddICkThqT5W6u","xYnDW5yUWRranxm","iSk/gv3cMrHuWPr4W4S","WRKXWOD3WP7dVmkQWPm","WRNdVtNdPmkzWRP2b8oUWQq","C8kblCobWPK","dCkwlG","WRf9heqN","W7vCWQhcL8oI","W7FdLCojW7ukwSobW4Gv","W6/dUH/cHmoYW4zCuCoPtSkH","ceGmDxOGeCoufSkO","WR58WRyFW7m","d3zX","iSk/gv3cMrHoWOXLW4S","W4a5DCoQWR0","W7pdJSoyW78qqmoHW4m","WQS9WOfQ","WQ4Bv8oMWRFcOSkYdW","W68aW508","gMxcGNhcSCkv","BCotadZcQW","W45jWQxcSSkEWOVdMG","EfGhW5pdG8ops8kUeCkk","WR3dUmoBumkUWPxdPmkU","ehJcH8kdWOhdNSogW7e","W4ddOCkJf8ooW5i5eLGBW7/cUmoj","tr9kkw4ud8oufa","emkclvu","WPupW5pdT8ovW57cL8oonuH0WRfY","WOaKWPW","pSoJW74AWOq","W4bQgCkrzG","qYVdI8oFW5JdUCoyW7agir4","xYnDW5yUWRranxpcGG","W6VdOq7cJSoOW5X8wG","qvZcJffIvSozWOPbWPm","AMm9W67dUa","ESkuqr5Z","W6/dN0Kmf8oag8odW6S5W61NW54","imoGW5yvWQ3dOSkU","WPvCW5xdRqW","W6BdJmoFW70m","uSkLvrn1W55ECgK","WPdcQCo0q8klWPnLn0q0W4G","uZvCW5aJ","W6hdQXtcGW","WOxcVCk3fSk6FW","WQFcHCo2v8kP","WQipW6HJWOZdVWhdL1KV","d8o9WRG5","f3lcN8kEWOVdGG","ouRcLCkpWOm","W60ywSo2WQNcSSkC","WQWJW7KSqd0+","q8kVwGr4W4Di","W4XtWORcPa","W59dWOJcH8kN","fwKDACohcG","WRPAuSopW70Vra","kN3dVM9Mwq","W6hdImoy","rCkwzSoFWQe","W6Hkhmk4W4/cISkid8kulGa","ogRdUg9Nua","baVdIG12ySohWOP+WPGvWPa","WRNdVtNdPmkzWRPSh8oZWQq","sNG5WRflW7JdHt7cSW","W5uivWNdJhxcKHG","e8oTf8oXWPDQW4xdVrZdN8oJpq","vmk1rH4","W7VdG8oiW7mh","W4CEqapdHMJcQbpdPmkt","W588tXldRq","WQLgnNac","WR3dPIJdRSkdWQbrcCoTWRi","bvDjbKi","s8kIj8op","dNWC","l8oHW4a1WRq","WQipW6HJWOZdVWBdKG","sWTlka","eCo9CmoIWQNdKM3cHeK","WQpcM8kvW58OESoQW7u5","mmoBW6ObWPO","rgDJWQLi","eNBcVmkGWQy","aKWozSor","wXBcKc1irG","WPrRW5FdQc1v","sCkUubvL","ECowjbVcH8o3aCk2FSox","gg/cLSkyWO/dHmoMW7OpgW","j8oSW5a5WQpdR8kpuq","W6Ksqa","vmkHrXTuW5S","W4iNy2VdOmoW","umk1rXG","WOjlW4tdPtu","WOeOWOqzEem","wmkqFmoAWQ8","qbBcJa","tbtcIdfcw8kZW4W","bCkaW61znha","ar7dIG15zW","W7GqW5O","W7pdJSoyW78qqmoMW4ywW4S","WPnmvGHU","d8oSaSo1WODxW7e","c8kbW7nvogPKW7u","lSk9hq","gCkwW6zimK1j","nCk9h13cLXrSWOHgW4/cOWG","W74wW5O9rXezWR7cIde","eWNdJa14BSo/WPzaWPW","W4jcWOhcO8kzWP7dISoJkf8","WRZdJYZdQ8ko","l8osWPq0WOu","W6ddImoaW7Cls8omW6yyW5PzjL4","WPtcSSoLsCkrWOLyivOy","yCokkrW","W5uivWNdJhxcLr3dU8kf","W5e/qGtdLq","CYFcV1XJrhFcVfK","EHDmcfG","W5jXW5PAlqtdJrOEW5hcRmkHeW","eNtcNCkEWOVdImo7","WPbqbKyg"];return Ah=function(){return t},Ah()}function zy(t,e){let n=sn,i={dQafx:function(p,h){return p===h},UJWnF:n(382,"5H9f"),AitHW:function(p,h,g){return p(h,g)},muaxP:function(p,h){return p(h)}},a=new Map(e[n(521,"W^OT")][n(498,"4J1r")](p=>p[n(524,"dQmY")]===n(507,"w$ck"))[n(371,"JkKi")](p=>[p.id,p])),r=new Map(e[n(489,"Hz0W")][n(400,"Hz0W")](p=>[p.id,p])),s=new Set,o=new Set,l=new Set,c=t[n(339,"5H9f")](p=>{let h=n;if(typeof p[h(403,"S6OS")]===h(511,"w$ck")){s[h(386,"EMx@")](p[h(463,"Hz0W")]);let d=a[h(323,"#xX5")](p[h(482,"Iyrj")]);if(!d)return o[h(431,"MY6q")](p[h(331,"^iMM")]),{...p,ir:null};let m={nodeId:d.id,...d[h(513,"eiFV")]?{actionType:d[h(449,"5H9f")]}:{},taskId:d[h(420,"Iyrj")],taskName:d[h(429,"KSV[")],terminal:d[h(366,"7yyp")],reachable:d[h(398,"jP%N")],successors:d[h(519,"R1KI")]};if(i[h(316,"hnuZ")](typeof p[h(443,"Hz0W")],i[h(387,"dWBv")])){let w=i[h(353,"Qtd0")](ka,d.id,p[h(516,"S6OS")]),f=d[h(320,"jP%N")][h(358,"BHte")](A=>A.id===w);m[h(421,"7yyp")]={nodeId:w,...f?.[h(395,"EMx@")]?{label:f[h(372,"Wrzb")]}:{},inIr:f!==void 0}}return{...p,ir:m}}let g=i[h(345,"eiFV")](typeof p[h(340,"Nqq8")],h(437,"0rXo"))?p[h(337,"S6OS")]:typeof p[h(324,"qSJH")]===h(430,"#xX5")?p[h(367,"0vgR")]:void 0;if(g!==void 0){let d=r[h(428,"MJxN")](g);return d?{...p,ir:{nodeId:i[h(427,"K&7W")](pt,d.id),taskId:d.id,taskName:d[h(497,"qN4z")]}}:(l[h(385,"jP%N")](g),{...p,ir:null})}return p}),u=e[n(416,"^(s3")][n(328,"6ysH")](p=>p[n(524,"dQmY")]===n(325,"K&7W")&&!s[n(525,"hnuZ")](p.id))[n(453,"GfrY")](p=>({id:p.id,label:p[n(336,"B6qy")],...p[n(348,"[8UY")]?{actionType:p[n(343,"eM5c")]}:{},taskName:p[n(465,"EMx@")],reachable:p[n(490,"qSJH")]}));return{events:c,unmatchedActionIds:[...o],unmatchedStateIds:[...l],actionsNotExecuted:u}}function bh(){let t=["tvRdS8oT","W4dcK8knDSkNWRiM","CCk+hcnXiSofW5hdNq","cvNcLh7cUWOQWOumDbWcwq","W4SQWOTJeGfXqNpcNLxcHfi","WPFdPMVdM8klteG7","WOBdO3/dLCk2","CwxdPSk+WOK","kmofEx0hv23cHCosWPBcRGW","F8kdlc1d","faJcV8kVWRCSW4NdQHxdPgzmWQi","Dmoxn8oU","W57dUSoK","W6tdOxFdQHG","WPddQ8kN","asHSW5HpW6RcK8kAE8kPi1m","WPddOMW","W43dVSoJW57dR8oj","jmocWRuxWPq","WQXcWR4","WPtcSCkcxCk4","oLZdLmopW6GydCoSf24CWPC","DmoaWQLV","W6BdKmkx","WQPdWQ4","jCo0WRxcRmol","W7mtW7TQx2W9W7H+lcVdGW","W6pcJCoZ","zmkqoYn4cG","WPFcP8kPC8kH","AehdTmkcWRa","WP7cOSkpvq","W6vei8kOn3b1WPNdMSkhW7S","nmoVw3aozSkzW7hdLSogWP9NW40","mYdcJ8kJvCofjH4","W7BcMSoOWRm","l8o5WRBcVCoQWRyB","umoKWQmbW4m7W4y","rhuTWOeqWRBcPmk8","iSo8WRNcRq","W6dcNCo0WRy","cG11W5xcUmkhW7O","yCk6hcTmoCorW4ddHSoCWP0","WQrHySowWPO","WPhdOM3dG8kKt0K7W4ddVCk7pKG5hW","x8orWONdICoKCSkr","wsfj","W77dUa0","j8oLkG","faJcSSkSWRqVW4FdUJ7dV2LqWRC","WO/dPNRdLCkP","jCoFWRuxWPu","WQmEW4lcV8kHbuu","WORdSdDmiG","WP/cTCku","eaVcSSkTWRiPW47dMZ7dT0PCWRu","x2CwWQCm","WQTCz0y","WOZdTxZdLCk3","BK/dOW","W7Dapmk+igO","WPJdVmk3W4ddPa","nSkxWRWBo1b8wq","W7a1W67cVmkRhfxdHmkeW4i","WQPeWR42bJSIW5nNiG","iCkCbq","fSosWRCF","WPKeWPJcHwK","CmobW7PbqqmMB8ovCmonfCoy","tSk6dW","WPhdVmk8W4G","CSkRWQe","pvddN8oiW68DA8oekgyYWPuX","W5/dRCo/W5G","WOantW","mmkgcsjvp8oW","W4/dT8ocWQRcSxBdHHTgW4jR","lSoVoLPb","hCozWOG2W6C","W703W7JcSmkO","W7/cK8oI","lmovWQu","WPeox8kvW6RcICkKlGS","WRDiDKSp","FSkNWRTR","WR9cWRGYadSxW4y","WQnYDq","nCkhW6GWxsuuCmorjSkZWRKJ","W4xdQ8osWR3cUG","lSoWWQm","WOunta","vMiWWOe","D8kupa","w8kZfmocW7JdMYlcRq","E8oQWPe","W7hdVaO","W7ZcG8oLWPK","k8kgBSkZWRpcQSkRWPbuWPy8jsy"];return bh=function(){return t},bh()}(function(t,e){let n=Ai,i=t();for(;;)try{if(-parseInt(n(281,"A0u7"))/1+-parseInt(n(312,"d0^)"))/2*(-parseInt(n(268,"$cbr"))/3)+parseInt(n(293,"syD$"))/4+-parseInt(n(335,"syD$"))/5*(parseInt(n(263,"IQ#M"))/6)+parseInt(n(328,"KMPv"))/7*(parseInt(n(305,"%JMY"))/8)+parseInt(n(264,"Efp4"))/9+-parseInt(n(332,"A0u7"))/10===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(bh,208402);function b1(t,e,n,i){let a=Ai,r={GAXvj:function(m,w){return m!==w},owIKu:a(267,"6*Yk")},s=new Set(e[a(342,"#6vq")][a(350,"l[ga")](m=>m[a(291,"NCCl")]+" "+m.to)),o=new Map,l=new Map,c=new Map,u=new Map;for(let m of t[a(290,"6*Yk")][a(358,"7vJM")]())o[a(329,"l4yr")](m,[]),l[a(340,"ZT4E")](m,new Set),c[a(276,"%KC7")](m,[]),u[a(287,"874T")](m,new Set);for(let m of t[a(266,"%KC7")]){let w=s[a(325,"ah1P")](m[a(330,"xKGe")]+" "+m.to),f=o[a(274,"xKGe")](m.to);if(f){let b=m[a(295,"874T")]+" "+(m[a(343,"#h]L")]??"")+" "+w,x=l[a(355,"A)an")](m.to);x&&!x[a(354,"ekzM")](b)&&(x[a(284,"Cu3(")](b),f[a(300,"874T")]({id:m[a(351,"A(UC")],label:m[a(285,"w5j#")],backEdge:w}))}let A=c[a(314,"NCCl")](m[a(330,"xKGe")]);if(A){let b=m.to+" "+(m[a(310,"%KC7")]??"")+" "+w,x=u[a(308,"^tWw")](m[a(333,"pcg!")]);x&&!x[a(307,"A)an")](b)&&(x[a(306,"Snah")](b),A[a(282,"*(YD")]({id:m.to,label:m[a(280,"NCCl")],backEdge:w}))}}let p=-1;for(let m of e[a(269,"$cbr")][a(320,"gR)9")]())if(r[a(338,"9Q]Q")](r[a(289,"NCCl")],r[a(316,"A(UC")])){let w=_0x174721[a(313,"psGd")][a(346,"#)Ez")](_0x4f5a06),f=w?_0x598e7a[a(318,"%KC7")][a(279,"Cu3(")](_0xd1afec):_0xdf0143++;_0x32e236[a(317,"#h]L")]({id:_0x106e68,kind:_0x42486b[a(344,"7dxS")],actionType:_0x26994e[a(323,"d0^)")],label:_0x58585c[a(339,"d0^)")],description:_0x3eb73d[a(302,"syD$")],predecessors:_0x4a2077[a(283,"tIoe")](_0xab6f3a)??[],successors:_0x1b3bab[a(272,"pcg!")](_0x514e2f)??[],order:f,taskId:_0x4ad2eb[a(288,"$cbr")],taskName:_0x10cde3[a(265,"%KC7")],reachable:w,terminal:_0x429bd9[a(345,"Cu3(")]})}else m>p&&(p=m);let h=p+1,g=[];for(let[m,w]of t[a(337,"^tWw")]){let f=e[a(348,"MG2a")][a(334,"l[ga")](m),A=f?e[a(303,"#)Ez")][a(352,"$cbr")](m):h++;g[a(356,"ZT4E")]({id:m,kind:w[a(299,"w5j#")],actionType:w[a(324,"Cu3(")],label:w[a(327,"pM0e")],description:w[a(292,"gR)9")],predecessors:o[a(331,"7dxS")](m)??[],successors:c[a(349,"w5j#")](m)??[],order:A,taskId:w[a(277,"pcg!")],taskName:w[a(322,"KMPv")],reachable:f,terminal:w[a(298,"A(UC")]})}g[a(326,"]x1E")]((m,w)=>m[a(321,"xKGe")]-w[a(278,"VqTH")]);let d=n[a(360,"syD$")][a(296,"w5j#")](m=>{let w=a,f=n[w(273,"*M4V")][w(341,"VqTH")](m);return f?[{id:m,name:f[w(271,"U9vv")],reusable:n[w(304,"%KC7")][w(319,"6*Yk")](m)}]:[]});return{flowName:n[a(353,"l4yr")],flowType:n[a(294,"y&a1")],entryTaskId:n[a(336,"MG2a")],reachabilityIsComplete:i,tasks:d,nodes:g}}function Ai(t,e){t=t-263;let n=bh(),i=n[t];if(Ai.znkCfw===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h0?i:void 0}function qt(t,e){for(let n of e){let i=_r(t,n);if(i!==void 0)return i}}function x1(t){let e=Rn,n={lxnGV:e(291,"fPhz"),VZqVk:function(s,o){return s===o},MHMib:e(370,"0Lad"),ZlFuE:function(s,o){return s===o}},i=t[e(358,"9p5&")];if(i==null||typeof i!==n[e(268,"eI6O")])return;let{text:a,type:r}=i;if(n[e(256,"U&AD")](typeof a,e(345,"p]xl"))&&a[e(355,"eI6O")]()[e(297,"7n)4")]>0)return n[e(357,"0Lad")]===e(312,"(9GF")?a:_0x148013;if(n[e(285,"eI6O")](typeof r,e(372,"XO8H"))&&r[e(334,"LwJ%")]>0)return r}function Dy(t,e){let n=Rn,i=t[n(361,"x9yy")](a=>a[n(327,"QH7b")]===e);return i?(i[n(350,"E8l1")]=!0,t):[{outputId:e,label:Gy(e),synthetic:!0,terminal:!0},...t]}var bu={isTerminal:()=>!0,outputs:()=>[]},y1={isTerminal:()=>!0,describe:t=>qt(t,[ke(381,"(9GF"),ke(351,"p]xl"),ke(337,"#sGp"),ke(347,"#sGp"),ke(344,"&fy9"),ke(301,"%B@G"),ke(323,"^eh#"),ke(306,"^b[q")]),outputs:t=>Dy(Hr(t)[ke(310,"0Lad")](Wr),ke(324,"iM)p"))},tie={isTerminal:()=>!1,outputs:t=>{let e=ke,n={IjSsO:function(r,s){return r!==s},woygd:e(303,"Gd1D"),tXMgr:function(r,s,o){return r(s,o)},duYiW:function(r,s){return r===s},lyAdm:e(262,"ia!E"),QIwHT:function(r,s){return r>s}},i=t[e(326,"d]kj")];if(!i||n[e(290,"U&AD")](typeof i,e(279,"Y]7V")))return n[e(364,"J0U5")]!==e(264,"LwJ%")?[]:_0x54a9d7+e(267,"1%8s")+_0x5a70d8;let a=n[e(333,"^b[q")](Wr,i,0);return a[e(383,"(9GF")]=e(378,"LwJ%"),!(n[e(282,"wqVc")](typeof i[e(343,"(9GF")],n[e(302,"%B@G")])&&n[e(353,"LwJ%")](i[e(258,"wqVc")][e(296,"Ty&P")],0))&&(a[e(265,"gS7Z")]=e(270,"d]kj")),[a]}},aie={describe:()=>ke(266,"ia(N"),outputs:()=>[]},rie={outputs:t=>Dy(Hr(t)[ke(274,"Us2H")](Wr),ke(374,"1]tn"))},sie={isTerminal:()=>!0,describe:t=>qt(t,[ke(368,"XJZ2")]),outputs:t=>Dy(Hr(t)[ke(380,"^b[q")](Wr),ke(287,"]D^n"))},oie={outputs:t=>{let e=ke,n={KMYVf:function(a,r){return a(r)}},i=n[e(278,"p]xl")](Hr,t);return i[e(273,"eI6O")]>0?[Wr(i[0],0)]:[]}},lie={isTerminal:()=>!1,describe:t=>{let e=ke,n={xYtEx:function(a,r){return a(r)},LjSTl:function(a,r){return a>r}},i=n[e(319,"2wgT")](Hr,t)[e(259,"qDwC")](a=>typeof a[e(317,"E8l1")]===e(260,"wqVc")&&!/^__.*__$/[e(294,"Gd1D")](a[e(379,"1%8s")]))[e(286,"^eh#")](a=>a[e(336,"CVgF")])[e(363,"gPPi")](a=>typeof a===e(275,"@C09")&&a[e(313,"wqVc")]>0);return n[e(382,"EJ1E")](i[e(289,"XJZ2")],0)?e(309,"WD62")+i[e(316,"d]kj")](", "):void 0}},Qn=t=>({describe:t}),Ph={DisconnectAction:bu,EndFlowAction:bu,EndTaskAction:bu,EndStateAction:bu,ExitBotFlowAction:bu,LoopAction:tie,ExitLoopAction:aie,ProcessVoicemailInputAction:rie,CallBotFlowAction:sie,AskForNLUNextIntentAction:oie,WaitForInputAction:{},AskForNLUIntentAction:lie,CallTaskAction:{},TaskAction:{},TransferMenuAction:{},TransferTaskAction:{},LoopUntilAction:{},DecisionAction:Qn(x1),SwitchAction:Qn(x1),DataAction:Qn(t=>qt(t,[ke(257,"J0U5")])),DataTableLookupAction:Qn(t=>qt(t,[ke(371,"2wgT")])),CallCommonModuleAction:Qn(t=>qt(t,[ke(271,"1]tn")])),CallBotConnectorAction:Qn(t=>qt(t,[ke(331,"RFUh")])),CallDigitalBotFlowAction:Qn(t=>qt(t,[ke(283,"ia!E")])),AddFlowMilestoneAction:Qn(t=>qt(t,[ke(373,"EJ1E")])),ScreenPopAction:Qn(t=>qt(t,[ke(261,"ebpw")])),PlayAudioAction:Qn(t=>qt(t,[ke(315,"w[6O")])),SetFlowOutcomeAction:Qn(t=>{let e=ke,n={yPYgd:function(r,s){return r!==s},LMbYT:function(r,s,o){return r(s,o)},aDAFe:function(r,s){return r===s},lNAjZ:e(305,"LwJ%"),JiOkv:function(r,s,o){return r(s,o)},IcgfJ:e(339,"wqVc")},i=n[e(277,"p]xl")](_r,t,e(300,"XJZ2")),a=n[e(338,"w[6O")](_r,t,e(299,"wqVc"));if(i&&a)if(n[e(288,"7n)4")](n[e(335,"^eh#")],n[e(304,"(9GF")])){let r=_0x265ac2[e(322,"1%8s")];if(!r||pgTGNA[e(349,"2wgT")](typeof r,e(298,"qDwC")))return[];let s=pgTGNA[e(346,"x9yy")](_0x56d2c1,r,0);return s[e(295,"x9yy")]=e(330,"@C09"),!(pgTGNA[e(328,"9p5&")](typeof r[e(365,"RFUh")],pgTGNA[e(281,"^eh#")])&&r[e(367,"w[6O")][e(334,"LwJ%")]>0)&&(s[e(292,"#sGp")]=e(311,"]D^n")),[s]}else return i+e(354,"iM)p")+a;return i??a}),InitializeFlowOutcomeAction:Qn(t=>_r(t,ke(359,"OmcJ"))),EvaluateScheduleGroupAction:Qn(t=>_r(t,ke(352,"^b[q"))),FindSystemPromptAction:Qn(t=>_r(t,ke(341,"@C09"))),SetUUIDataAction:Qn(t=>_r(t,ke(276,"5j6r"))),UpdateVariableAction:{},SetAttributesAction:{},GetAttributesAction:{},EvaluateScheduleAction:{},CollectInputAction:{},GetResponseAction:{},AskForBooleanAction:{},AskForSlotAction:{},CommunicateAction:{},DigitalMenuAction:{},SendResponseAction:{},TranscriptionAction:{},FindQueueAction:{},FindUserPromptAction:{},SetWhisperAudio:{},BridgeServerAction:{}};function jh(){let t=["WOlcLtpcQCo6WRBcL8oPW4FdHNlcJK4uW6eFW5KN","CWZdMer0","W79TreTyf2NdQW","amkDlmoNW6S","W7ajWP52W6/cMSo4AYlcHxWYW6G","bCoaWRKQomkWW4KNwmkDWO5TAmogWOCZyqy","BSoqW4xcLSkuWQThW43cMSkQDW","rbjvWQvaCH92kSkCW5ZcHZq","imklcutcItRdJW","W6NdKSkhdczD","WRa4WRZcO8kBW4mw","C8otdSkPWQjB","WPBdSSoBWONcUCky","ANldM8o5ma","WQe5WPhcRSkaW4maffJcSSov","W5pdPXbrW5q","WPT6WOqVW4JcT3aS","WRvzW5SRWOZdJmkVAYFcPKylW7q","W7yjWOm3W5yL","zua4lmkUW54","ECoxW7hcLmkLWRO","kSkuW6tcSXC","WOvHjK7dIa","W4DjgazVBW","WQuJWQRcUmky","W4rkeazG","WRfqW5vkW77cT8o9Asi","WP1ErColW6y","WPvObxddImktlG","cSkWW4zqW6/cHmkOWOBcGuO","WO9ckSkhW6/cPhO","jM16rhZdTfK","W6tcJapcJSoIWP/cHq","WOjzW7lcHCk2W5DHxq","WO0An8oM","WOtcQ8kIxJ84","W6OnWPK4W5e","WR8pWONcKcS","WPhcT8kSW4ro","tCoYWPmBWQVcU8kzWPxcMhxcVW","W7KeWOWIW6m5","kCkfu8o3W6mfW6hdV8kMcCk4kSkN","emovWPqCpq","W5OmW7VcKmkAW6Xbu8oMF8osdq","W7mhWPS6W6S","W4FdPgqnWQO4","W5HkbGS","WQHwWPFdQa","WRe/WQ7cOmkvW4OxmW","WP43gY7cT2Wr","WPSAr1C0kSoaW5SgW5tcUMjX","mZnfW4xdNMaDWOBdRa","x1P4W5JdVLCVWPG","WRidWP7cLCk4","W7XIWR89WP9bDciIW5bv","D8oeWRddOeOJaGrloSk1W6xcUq","ccZcQGpdKwxdRmoocSoiWQuTWPu","WRBcH8k+","WOLifSkeW7NcOM1YWPTSW7S","W4vohbzEFSkwW6OAW5xcNKvy","W6xdUWyvW5VcUW","WQRdOedcO8k1","lY5hW7JdJW","W6FdKwpdSmk9W6JdHCkOW5RdILJcLgmY","gJWvWPjg","WPDYFCoQW6S","dSk8WPhdGatdKCkGWPq","W6VcRqeOWOK","Ea3dLuryWOu","iCorBtNdMKtcIazviSkixSkn","iCohWQ89ja","mSkdW7fsW44","W6NdQxmcaG","obnNFmoUWO7dOcJdLsfNWPvbWRW","WPNcTdzEW799WOeFW75/bmk/","W7FdH8kf","WRK/W5j7W5Kvva0xW4X+kG","W4VcMsBdOSoZWRvyn8kPW7pdSa","W4tdP2WnWQu","WQCZWQ3cRCkwW4ux","rbqUW4CbaLXa","WQXawmoY","W7T5WPGKWOfd","bKesW7G","AColW6lcJ8kkWQK","W6bUW6xcLSk0W64rmeS","WONdU8oCWO3cQa","kmk7WOJdImkv","bGeSWPPZ","nmkCmSol","mCk1WOVcLLS","W7W+WPCjW4/cTNiu","W7tdLbT1W6O","WR4ywvTZ","hbL5W7G","WRRdI3ffW7nqW6WlW7q5WRZdT2S"];return jh=function(){return t},jh()}var Rr=Pn;(function(t,e){let n=Pn,i=t();for(;;)try{if(parseInt(n(255,"j^B7"))/1*(parseInt(n(232,"0i$R"))/2)+-parseInt(n(276,"vj#v"))/3*(parseInt(n(298,"ZHZ3"))/4)+parseInt(n(239,"WkcB"))/5*(-parseInt(n(285,"dFDU"))/6)+-parseInt(n(295,"RZJg"))/7+parseInt(n(256,"^x8F"))/8+parseInt(n(291,"X6ia"))/9*(-parseInt(n(269,"l!0i"))/10)+parseInt(n(273,"6ayi"))/11*(parseInt(n(280,"HoOt"))/12)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(jh,664365);function Sh(t){let e=Pn,n={wElqF:function(i,a){return i===a},rSVDM:e(260,"^btZ"),UORxv:function(i,a){return i>a}};return n[e(293,"ZHZ3")](typeof t,n[e(237,"X]!M")])&&n[e(261,"iV#V")](t[e(308,"LO@V")],0)}function Pn(t,e){t=t-227;let n=jh(),i=n[t];if(Pn.GcSbBg===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h0?t[n(278,"K52n")]:Gy(a),s={outputId:a,label:r,nextActionId:t[n(243,"DD1E")],synthetic:!1,terminal:!1};return i[n(320,"dFDU")](t[n(306,"dFDU")],!1)&&(s[n(248,"dFDU")]=!0),s}var uie=[Rr(300,"19if"),Rr(259,"Y7WU")],P1={describe:()=>{},outputs:t=>Hr(t)[Rr(275,"Km2J")](Wr),isTerminal:()=>!1,referencedTaskIds:t=>{let e=Rr,n={SYbnI:function(a,r){return a===r},AgLXv:function(a,r){return a>r}},i=[];for(let a of uie){let r=t[a];n[e(292,"B5RW")](typeof r,e(282,"vj#v"))&&n[e(242,"GfaY")](r[e(314,"pZ4f")],0)&&i[e(234,"oKvo")](r)}return i}},cie=new Set([Rr(301,"GfaY"),Rr(296,"0i$R")]);function j1(t){let e=Rr,n={yzbLr:e(284,"I6bK")};return typeof t===n[e(318,"%^2G")]&&t[e(229,"WkcB")](e(312,"X6ia"))&&!cie[e(257,"l$@g")](t)}function S1(t){return t?t in Ph||j1(t):!1}function O1(t){let e=j1(t)?{...P1,...y1}:P1,n=t&&t in Ph?Ph[t]:void 0;return n?{...e,...n}:e}function bi(t,e){t=t-492;let n=Oh(),i=n[t];if(bi.ESqxsV===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;h>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;ha[i(195,"ib75")](u));return{graph:{nodes:a,edges:s,adjacency:r,roots:c,dropped:o},warnings:l}}function Eh(){let t=["W5FdNmkcWQpdGq","aeVdShxcOSoh","amo4WOKcW5S","AdqiWRCpB8oFWPOpoq","f8kisdyYdMOMoCkHBCoGW5xdJmkBkttdUJZdTq","W5PlW6bOW5VdNSkixSkqoG","sf7cKmo0WQpdIa","W5VdKCopWOhcHqig","W6NcOhq","W5HhW4jVAmkf","BSkwW6KO","xuBcJCoQWP7dIK0pwf08W7tdVqDjW45ljaaV","W63dVCo6WORcHWy","W5Hqwe1EeZWDsa","W73dQhKFW7mTwmosfIDzWQq","WRpcK8klkmo8WPO","veZcRSojWRS","ACoRmCk6p8kjW5lcLCoTyq","WP3dGrHlyvzdWPRdNbVdGx/cGSorsCk0qa","DSkMW5pcOWpdNSohyYZcUuOkW5O","kSo2WOVdVG","cSkxW7FcQwq","WORcKCk+W4pdHLeYcGmgduK","omkmW6iiWPa","aCkIW77cKuC","W6XfDZNdQW","whlcKmoFWPO","WR3cKSkvjmoWWOa","WQ/dVmo+gCkZW70","v8o5WP3dQrNdJGtdGsrYWOby","W4uxtmkNW4aZwq","jSoUWQW3W74","e8kqWQLYbG","WO7dKSocnSkY","m8o9WQa","W5RdG8o9","b0BdUa","W63dR8oqW5yieq","AxZcUSosWOm","pgZdR8kFxmkIq8kBWOCvW6FcPrhcKu1ekrBcRCkdWRmIWQHewMKMgtNcRgJdU8o9ub4NiKWFW5/cNaxdLq","drJdLmkKW7ZcMaOOsLujW5/dPa","WP/cMCokWPSInW","W7VcNvxdQmks","W63cUSolamk2W5H1ra","WR3cLWbEWR3cHG","amkQAZ3cPH/dPG","wbBdUSoqe8ok","sGhdVmoqeSodWRJcPCo1jq","WOFcVSkTbmoaWRSPevD/W4ddVGaJsWLaWRKiWOfVl0XfW6tdUSoY","W4hdLSo8WPRcMqq","W7RdUCo6l0y","W5L4srRdGmo1WRX+aCocWRKqW7tcHG","lSkHDCoN","WPtdVtT0qxTLWRhdUhJdTfxcUCo2ECktjePop8ot","WOr9W4nWz8kyWQO","WQtcTmoTWR4v","WQVcQ8osW5hcUCoeWQVcISo/WQ8FWOJcSG","W5T/tqRdOmoP","v8kLWOy/itVcImktWOBcTmoieCk4mbhcTq","WQpcTdjB","WQNcTs8","DCkEW4KOWQ5yW4ZcNLNcJa","iLRdR1SVW6xdO1ldJbi1fc8","q8khCY8","W5WQx3TKWPSiWPDXWRC","aCk/WPfmjW","fvBdVxpcS8o0zahcVmoRpq","WPZcMmolWPO","WR4dW4ldGXSPW6xcL8kxlt7cTdaFlGVcKSocCG","u8oetI9bh3OGn8oV","W6ZcPgZdR8khW5q","z8k8catcHszaWPzXWOy","WQdcSdG","BJNdSCkw","DqVcSaW","WPT4gcG","W5RcL3hdTX8Ib8kP","W6RdRmoTW7HZ","omkiW6yVW75sDWFcOKRdThWcoan4nSkNA8kSWPjMW4ekWQ3cKmkgWPC","WQpdVdLXrN8","vSkJWQKGWRu","ua17WPu","W7VcOwq","W53dUH4DWQxdPG","bmkVWPDtn1f4FedcG8oskthdICkMvmos","W6RdNmo5W55tfW","k8o1WOZdVLlcNq","DehcVXRdOq","WR/cKWnC","WRZcKCksja","W7pdSt9aWQ40y8ouoIX7W4b3rSo3W4xdT2VdMWhcK3FcPSoAWQf7WReU","W5D/DIddPq","WOL8bYfs","e8kkW43cTva","WRZdRsv/xha","WPJdKLtdPW","W7lcSSoGxdBdGJOrWQxdRSkvjCkfx8onoCke","W6ZdMmk0WQJdNW","imkvWOvYdh5g","W69nW58V","p1VdPwZcTa","WPRcQCkQdCok","W63dO8kxWOW","u8o4WP7dQ1BcNaxdOcPZ","BbNcMZLx","kvRcIXfYWOBcRf4","abbPWO7cGIBdN8opW43cMxxdQSkdz8obWQPTW7lcG8kXWRvVsSkolWPA","DCkWW7iFWOW","W5KRxxOfW4HrWOjkWP97W6FcKa","W6JcQmo7qthdHa","W6BcISkfWRST","W6WecgNcIh9NEq","W5O+W7pdVhieW4VdO8k7fL/cLGOYqtlcRmo4fSoyW6lcKmkRhJBcLCka","W5TaW4zTF8kz","W6RdRSkgWPVdV8kYW73cRSo3WPOe","WRzGeI5h","W67cM8o/EGK","ESo0WQ1Nst9sW6ji","WP1yx0TUeJ0taLZcHCo5W6pdGG","guG6W4/cL3NcImknW5hcKsldOSku","wuxcVtJdPW","W4VdJmk/WQBdHq","WPBcUSkJzqFcRvPCuSkvqSkl","Cc3dR8kB","hCk6W5aTWPy","k3CvWRbaDCoYWOaxBq","WRtdN8oub8ky","AhdcRsNdHW7cRW","d0ZdTxxcRSouAYBcSmo1jSkLW5ZdMSk0","s1/cKCo1","WP5CxfS"];return Eh=function(){return t},Eh()}function $n(t,e){t=t-383;let n=Eh(),i=n[t];if($n.vcboDJ===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hl}},r=[],s=[];if(Array[i(410,"BSco")](t[i(417,"3o!N")]))for(let o of t[i(461,"s%hX")])o&&a[i(384,"nF5d")](typeof o,i(441,"nF5d"))&&r[i(412,"H3LX")](o);if(Array[i(512,"hgbn")](t[i(401,"yzU!")]))if(a[i(437,"!7Ud")]===i(438,"DI$n"))for(let o of t[i(465,"F6ip")]){let l=o?.[i(429,"nF5d")];if(!l||typeof l!==i(500,"xK6x")){if(i(452,"H3LX")===i(404,"U3I!"))continue;{let u=_0x2080df.id;if(a[i(479,"hgbn")](typeof u,i(451,"uUti")))return u}}if(a[i(491,"RN]K")](typeof l.id,i(392,"x3h]"))){n[i(481,"xNeY")]({code:a[i(507,"DI$n")],message:i(492,"!7Ud")+(l[i(426,"5%lh")]??a[i(506,"B1z3")])+i(485,"V%dy")+e+i(395,"KOXM"),taskId:e});continue}r[i(477,"eJ%J")](l);let c=a[i(469,"xNeY")](typeof o[i(424,"[EgQ")],i(460,"s%hX"))&&a[i(416,"#%eD")](o[i(413,"yzU!")][i(458,"fkbt")],0)?o[i(488,"cXj9")]:l[i(513,"!RYQ")]??l.id;s[i(487,"2fMu")]({actionId:l.id,label:c})}else return _0x5d6540;return{orderedActions:r,menuChoices:s}}function die(t){let e=$n,n={aXUrp:function(i,a){return i===a},NFeJJ:e(463,"5%lh")};if(typeof t===e(455,"xNeY"))return t;if(t&&n[e(456,"vmy]")](typeof t,e(423,"Ae8Z"))){let i=t.id;if(typeof i===n[e(414,"U3I!")])return i}}function M1(t){let e=$n,n={XXPVh:function(g,d){return g(d)},uGvRV:function(g,d){return g!==d},ofLTv:function(g,d){return g(d)},wsFPM:function(g,d){return g!==d},Yyyms:e(403,"BSco"),hWXwE:e(442,"gREX"),Zvmrx:function(g,d){return g===d},qkMOH:e(400,"gE)@"),cXrBW:function(g,d){return g===d},Tpizp:function(g,d){return g===d}},i=[],a=new Map,r=Array[e(421,"5%lh")](t[e(425,"H3LX")])?t[e(418,"&1J6")]:[];for(let g of r){if(n[e(383,"9UOn")]!==n[e(398,"B1z3")])return _0x90540d;{if(!g||typeof g!==e(471,"F6ip")||n[e(399,"x3h]")](typeof g.id,n[e(407,"!7Ud")]))continue;let d=n[e(446,"hgbn")](typeof g[e(434,"xK6x")],e(442,"gREX"))&&g[e(503,"nF5d")][e(508,"A&!W")]>0?g[e(513,"!RYQ")]:g.id,{orderedActions:m,menuChoices:w}=pie(g,g.id,i);a[e(422,"vmy]")](g.id,{id:g.id,name:d,startAction:typeof g[e(480,"9UOn")]===n[e(435,"DI$n")]?g[e(397,"U3I!")]:void 0,orderedActions:m,menuChoices:w})}}let s=new Set;for(let{id:g,orderedActions:d}of a[e(484,"vmy]")]())for(let m of d)if(e(501,"BSco")===e(511,"U3I!")){if(typeof m.id!==e(499,"RN]K")){i[e(495,"m^nz")]({code:e(498,"hgbn"),message:e(472,"wDn8")+(m[e(497,"o69w")]??n[e(393,"Nuiz")])+e(483,"&1J6")+g+e(389,"m^nz"),taskId:g});continue}s[e(449,"5%lh")](m.id)&&i[e(477,"eJ%J")]({code:e(482,"KOXM"),message:e(467,"A&!W")+m.id+e(408,"3o!N")+g+e(504,"yXXQ"),nodeId:m.id,taskId:g}),s[e(496,"vmy]")](m.id)}else{let w=n[e(439,"F6ip")](_0x1980d3,_0x534d9c);n[e(390,"[EgQ")](w,_0x2833ad)&&_0x3407a9[e(450,"9UOn")](w)}let o=[...a[e(473,"yXXQ")]()],l=t[e(411,"9UOn")],c=typeof l===e(420,"H3LX")&&a[e(486,"yXXQ")](l),u=c?[l,...o[e(415,"9UOn")](g=>g!==l)]:o;n[e(440,"H3LX")](typeof l,n[e(494,"SUNS")])&&l[e(396,"Ae8Z")]>0&&!c&&i[e(509,"WxNu")]({code:e(462,"nF5d"),message:e(510,"x3h]")+l+e(453,"2fMu")});let p=new Set,h=t[e(475,"[EgQ")]?.[e(489,"B1z3")];if(Array[e(444,"IW%z")](h))if(e(445,"#%eD")!==e(447,"gREX"))for(let g of h){let d=die(g);d!==void 0&&p[e(474,"yXXQ")](d)}else for(let g of _0x4fbace){let d=n[e(430,"H3LX")](_0x3ae1d8,g);n[e(387,"cXj9")](d,_0x1d9630)&&_0x4b6157[e(448,"gE)@")](d)}return{flowName:typeof t[e(502,"fkbt")]===n[e(409,"gREX")]?t[e(406,"2fMu")]:"",flowType:n[e(464,"dS^N")](typeof t[e(466,"]HHP")],e(493,"A&!W"))?t[e(385,"U3I!")]:"",tasks:a,taskOrder:u,entryTaskId:c?l:void 0,reusableTaskIds:p,warnings:i}}var Ny=Pi;function Pi(t,e){t=t-499;let n=qh(),i=n[t];if(Pi.IiQRiu===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hs},axrGG:e(526,"%Plk"),SUylf:e(543,"n3y3")},i=[],a=[];for(let r of t[e(547,"]TtG")]){let s=t[e(546,"zlXf")][e(557,"F34O")](r);s&&i[e(559,"q^pc")]({id:n[e(532,"Ohn#")](pt,r),kind:e(549,"p(mz"),label:s[e(535,"(n0C")],taskId:r,taskName:s[e(539,"1a^X")],terminal:!1})}for(let{taskId:r,task:s,action:o,actionId:l,handler:c}of Th(t)){let u=o[e(540,"!nP6")],p=n[e(519,"XfI&")](typeof o[e(553,"Yc04")],e(499,"jBWi"))&&n[e(524,"*7iz")](o[e(563,"]TtG")][e(555,"p(mz")],0)?o[e(500,"F34O")]:u??l;i[e(559,"q^pc")]({id:l,kind:e(558,"]TtG"),actionType:u,label:p,description:c[e(522,"p)uU")](o),taskId:r,taskName:s[e(545,"D!o5")],terminal:c[e(506,"Zu1@")](o)}),!S1(u)&&a[e(529,"9X[g")]({code:e(510,"Omr)"),message:e(565,"Fk&P")+(u??n[e(561,"Fk&P")])+e(518,"!nP6"),nodeId:l,taskId:r}),hie[e(552,"]TtG")](u??"")&&a[e(548,"1a^X")]({code:e(556,"jENy"),message:e(562,"T(yK")+l+e(509,"39Ci"),nodeId:l,taskId:r});for(let h of c[e(560,"IRaI")](o))i[e(536,"p(mz")]({id:ka(l,h[e(505,"#fhh")]),kind:e(512,"#LAm"),label:h[e(521,"Fk&P")],taskId:r,taskName:s[e(539,"1a^X")],terminal:h[e(554,"jUNj")]}),h[e(534,"iXKe")]&&a[e(537,"XfI&")]({code:n[e(517,"jUNj")],message:e(502,"Omr)")+h[e(511,"p(mz")]+e(530,"F34O")+l+e(507,"IRaI"),nodeId:ka(l,h[e(514,"G2Xp")]),taskId:r})}return{nodes:i,warnings:a}}function qh(){let t=["rLdcI8koxCkoW4ul","C8klx8oYWR3cQSkSoXVcJq","WPmXWPldM17dKCkCW4OwWOtdH8oImG","f0ddH3NdISkXe2LtswJdJry","k8o8iN4HBSkjW6tcGSkPh1rwAqLgCSouW4SFj8oxWPDdW5JdRwLBvvWkW7mWmCoUpqmbevG4rCkDW6/cQ8oRW73cG1H0W4/dV0yoW77dG8obfHLIamkhvmoXhSoWW4W","W5pdGmkfWQxcG3j5W63dJCoQw0pcNSkLbSoxWP7dO08","W59dauZdNmklW5Lu","WQxcM8k9c8kXWRpdUHLzDNldMHu","pmo6nY82CSkV","WRpcNSkunvTSrNe","lmoyamofWPTUy8kQW5xcGrzDWRy","rf3dOh/dUslcMSoRWQRcSCoFrG","W5hdP8olgeG","uhJIG4/cLNJcHmkeyxuxWRv0WPdcKZv9W6VdQSkGjGjMFSok","mcvIWQNdHW","WRtcTSo4W5ldVb1rW53dPSoby20","o3RdQvSg","wSo0cWjpcmkPqq","kCoiEmoUWP3cL8kMeW","zYldV8kRWPi","gvddUHtcT0pdOCoOW7tcImocWO4","WPVcVCkBWR3cHfdcLxyS","oCoJtSkfWQ07oL5lWObPW4JdGCoYWOVdVqdcQLbEzvtdGd/dOW","WQdcGXC7iJCoW7S","v8kFW6xdLa","tbSeW5W","nNxcImoWW7xcM8ocW6rmjmoNfq","D8okw8kYW7C","qff1WRHvc8k7","eGFcOIRcRhJcQmoK","iSoTWP3dJa","W4bdbLq","eWL3WRq","W4yczmk9D8oYW5ldUSo+mMa","W6VcVxjV","lqFcR8opymka","tMLCWQHnlCko","sMRdO8kdjmkUWQTeuZVcPq","jSktW6vCW4aJWRqWW71prmo4DW7cHG","g1pdUrVcSelcMmomW6pcPSoUWQKf","W7JdNYRdOq","W6TVx8kVwG","t8kVzcPiW5hdHxpcUq","W7xcQwXI","W4rxbLFcHmkmW6rrWONcKW","WQJdVI7cL8kMWOD2","sCkHfCo0W7D7pxLmWRLnW4e","u8kVza","xt3cUCoX","W7BdL8oaguFdKJbU","W5Xtg1VdNCkx","WQT+dSonemo2W5/dRCoXp0SDFx/dR8kIWQhcK39lwY/dJNa","cXew","wSkTyYHOW40","WOrdWRhcTq","W5WTWPxcI0/dJmkC","nMpdUxKT","v3NcHehdM3Poj8olW6iJamooWP3dK8o6W7NdGhS","vCkVEIq","WQBcH1rZr1vDW59tW50+W6fd","aNxdOfafW5/dRLxdUmoQd2ldUSkDwSktwMtcQCkvWPBdHea","d8oSgHa2zcn+qgtcR8od","WOpdSSortCkIWPy","aHupWPK","WOWLWPlcIMCziCkpW7RdPCkuW6fX","W4NdU8k6WPVcUvex","W5SlsIC7wd1uvfRcNfFdTXDVnrCv","W5VdSSoBW4hcHSkdc8osW4jkW6G4WOK"];return qh=function(){return t},qh()}(function(t,e){let n=ji,i=t();for(;;)try{if(-parseInt(n(443,"niia"))/1+parseInt(n(488,"faqi"))/2*(-parseInt(n(480,"@%U%"))/3)+-parseInt(n(478,"bjJ2"))/4+-parseInt(n(498,"6@RG"))/5+-parseInt(n(471,"0[VF"))/6*(-parseInt(n(490,"nUQ@"))/7)+-parseInt(n(477,"Apff"))/8+-parseInt(n(459,"XsB["))/9*(-parseInt(n(486,"^^aK"))/10)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Hh,986405);var _h=0,Uy=1,gie=2;function ji(t,e){t=t-440;let n=Hh(),i=n[t];if(ji.lLqwot===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hc},owrOX:e(469,"Eu2S"),OyBKJ:function(l,c){return l-c},anzwE:function(l,c){return l>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hg[e(296,"9r$d")]===e(295,"lz&n"));return{ok:!0,ir:b1(l,u,i,p),graph:l,warnings:[...i[e(272,"s!PK")],...r,...o,...c]}}catch(i){return{ok:!1,error:{code:e(269,"Qn(v"),message:i instanceof Error?i[e(271,"Oqs3")]:String(i)}}}}(function(t,e){let n=un,i=t();for(;;)try{if(-parseInt(n(236,"h[LL"))/1+-parseInt(n(234,"wSU*"))/2*(-parseInt(n(401,"h[LL"))/3)+parseInt(n(330,"!SjE"))/4+-parseInt(n(249,"TP#A"))/5+-parseInt(n(364,"4&&G"))/6+-parseInt(n(329,"0vxb"))/7+parseInt(n(374,"wiue"))/8*(parseInt(n(382,"aK!M"))/9)===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Rh,150364);function q1(t,e){let n=un,i={jYlTG:function(a,r){return a===r},QkIfT:n(326,"ZUtw"),Ysykj:function(a,r,s){return a(r,s)}};if(Array[n(398,"dEUh")](t[n(229,"wSU*")]))for(let a of t[n(285,"Wfsp")])a&&i[n(372,"[AoD")](typeof a,i[n(299,"yO7[")])&&e(a);if(Array[n(402,"9!Jl")](t[n(294,"TP#A")]))for(let a of t[n(264,"CmEg")]){if(!a||typeof a!==n(261,"9yge"))continue;let r=a[n(342,"yx7h")];!r||typeof r!==n(281,"twB&")||i[n(392,"ZUtw")](e,r,mie(a))}}function un(t,e){t=t-205;let n=Rh(),i=n[t];if(un.kXxkbV===void 0){var a=function(l){let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="";for(let h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(let h=0,g=u.length;hu},vGaiD:function(c,u){return c!==u}},a=[],r=new Set;for(let c of Array[n(268,"Wfsp")](e)?e:[])i[n(220,"twB&")](n(233,"ZUtw"),n(311,"$s)d"))?_0x57bbf0&&PEajnW[n(258,"140J")](typeof _0x515e1e,n(340,"CmEg"))&&_0x174b5a(_0x5e853a):typeof c===n(302,"aK!M")&&!r[n(210,"Yy3I")](c)&&(i[n(248,"dEUh")]===n(208,"TP#A")?(r[n(362,"8]S$")](c),a[n(345,"8]S$")](c)):_0x4a3461(_0x5506c9));if(i[n(266,"Wfsp")](a[n(370,"Yy3I")],0))return{found:[],notFound:[]};let s=new Map;for(let c of _1(t)){if(!c||typeof c!==n(368,"zM([")||i[n(407,"5Vqv")](typeof c.id,n(354,"vNS4")))if(i[n(334,"^[L8")](n(341,"nsz3"),i[n(288,"140J")])){if(PEajnW[n(301,"TP#A")](_0x178622,null)||PEajnW[n(387,"KQMc")](typeof _0x257920,n(261,"9yge"))||_0x2352f7[n(253,"8]S$")](_0x2c8f29))return[];let h=_0x384c0b[n(267,"yx7h")];return _0x41308c[n(217,"s)Z6")](h)?h:[]}else continue;let u=c.id,p=i[n(291,"wiue")](typeof c[n(221,"pQsR")],n(245,"erY4"))&&i[n(351,"6tzD")](c[n(287,"0%fs")][n(230,"VkK&")],0)?c[n(222,"f07&")]:u;q1(c,(h,g)=>{let d=n;if(typeof h.id!==i[d(207,"nsz3")]||!r[d(399,"wiue")](h.id))return;let m={actionId:h.id,action:h,taskId:u,taskName:p};g&&(m[d(380,"h[LL")]=g);let w=s[d(225,"erY4")](h.id);w?w[d(292,"u4(s")](m):s[d(366,"8]S$")](h.id,[m])})}let o=[],l=[];for(let c of a)if(i[n(336,"Jvkq")](n(238,"6tzD"),n(270,"9!Jl"))){_0x1d4f49[n(307,"wiue")]=0;let u=_0x124256[n(310,"dEUh")](_0x46206d);return u?{index:u[n(206,"Yy3I")],length:u[0][n(239,"ud!t")]}:_0x599511}else{let u=s[n(242,"yx7h")](c);if(u)if(i[n(332,"Yy3I")](n(297,"8]S$"),n(305,"YXZH")))for(let p=0;p<_0x244326[n(333,"erY4")];p+=1)i[n(215,"0%fs")](_0x3f27a5,_0x215615[p],_0x4b6b9d?_0x46f1f1+"."+p:""+p,_0x3ea1bc+1);else o[n(256,"aK!M")](...u);else l[n(293,"erY4")](c)}return{found:o,notFound:l}}function Rh(){let t=["aLOnye3dJa","W7lcOhaIeSot","eCkhlYLmW4pcNa","WPtcPhfIvq","W4JdJ3i","rMChW7hdLSoOWO4","u3KJiq","W45sWPW4va","W67cJCoIWOZdHq","WRjRWOTn","imouWPeA","W7NdJ3Ck","WReeW45SWQK","h8krgG","aSo6WQfUzmkr","nKhcN1JdQYxdMeRcS8kFia","F1CVWPv4W5hdSZNdMG","WRiqW5ThE8k/W7dcHmkwuq","F1mYWOzfW5C","W7/dSxvMWQBcNW","iCkZk8k0xW","BqhdPa7cOa","W6evW7TNESkzW7a","z8k0zSkasCk3l8o3W4bvhwBdNCkEWPBcULmQW7i","WPpcNtaTW67cLGbmkcul","h8otWQ4XW5S","WOT7tb7dJG","zSkWCmkQxmkR","jmoPW54zW6ZdPG","WR1TWR4vxmo9W4q","ixvL","W7FcTSkTW7O","W4hdMmoPWOhdHCku","c8kahdjqW4u","oSoRWPzttq","ymogW47dVrxdISkmW6hcQGjXzmkg","WRezW6PiWRu","vCoKWP3cUr8dygxdVKldGSk4","W7lcS8o6DWS","WONdHXlcO8kU","deX8WQr+","W47cIComAtr2W7K","pConW5CNW5O","W6JcUMyUba","fvZdTmoM","WOnPFZBdTa","wSomWPxcI8oq","EWVcTMibA8oOoSkUyCkUva","W4Lro18+","W67cTMGUh8oa","FaddSXrz","ux0Gi1Hg","a1OnCNRdJmoLWRFdR3ZcTvNdGSoi","CLKmWQzz","W5NdT8oicLe","ihX+pgfdWR3cN2pcHmoxW5WsWRCeW6aDWOhdKY4","W7/dH8oeivVcNCol","CmoUWPtcTSoo","ogncWOX/","qSo6WQNcP8oA","j8oBWPGAW5uLW44","jSoLW6uWW5i","gYD2WRpcKSkXWQ7dU8onWQRcTmkh","WR4wW4fBv8k5W5pcHmkgqa","W4NcJmocEde","ACk4CCkirW","WQBdQqJcGSkWWRC","kmozWPmqW58","WQ7dPqhcJmkW","W47cRmofWRddNSkw","W7tcV2Sj","s0ahW6tdJa","u8ksDSkbEW","W7FdL8oXoKBcKSo+qrBdSq","eNRcS8oM","WOJcSfH0","vCoVWOFcSSon","jSoRW505W4e","W4ZdI294WQlcKG","hmo0W4unW7m","tw09la","cmkbhtm","aCk4W4BdUw1ByuddKN3dOmkPdSki","imk9mmkgta","xbddUavRla","W6lcLCo+vsW","jLFdRZjepG","peNdNfLz","WPlcLWS4rmoMmCkRuNldIW","dSkoW4NdUMG","fL3dTCoNevS","dMRcRSoPW6zD","bNeGyhW","dSk2pmk6vW","W4NcM8oGFG","jmoTW4mkW5hdOmk9WP1Q","WPDTxIxdUW","cMtdN0D7","WO4kW6bA","dWfVxCo5","W7X/WPG1xmos","W4NcJ8okWQFdJG","jYzGBW","xmo8WQVcUSomWQ0","WRvKWOjncxLA","WRhcKgv/uq","W7tcQ2SoDCkG","dKFdPIf2","W6HMhuSm","W7dcUCkKW7RdQCo7uW","kqGpgCk1","W7VdI3qivmo9","A0eKW5tdKq","W47cLmoPFJ4","AHddHa/cSd0","W5RdLmorWRhdLG","W6RcO8kYW7BdV8ot","WQhcMsLAgmkSWQnNWRnruIa","WQJdOSoWWQ/cOmkcz1tcRrPTWOO","otj+yG","W7RdGSo2WPFdJq","fmkradXkW4O","WQ15W4xcMCo9","jSoTW50B","W5z4pLmc","lYTIFCooW57dMLpcUaCQWP3dKJHXnSkIW6hdQSkh","W5Dob3aS","WOJcKSoQ","av0jyLRdKa","etC1pCkT","j3nLiL1i","WPnDW4lcJ8oG","WOzfW5hcGCo9ya","W5FcJ8o+CW","WOyBW6S","wxePlvG","dCk5W4W","W5tcJSo/CIHW","uCkyW7ldKbJdUG","WR9HyrhdTW","WRjREIhdJ8k6W5q","WQVcMhfKqa","wIldMYegCG","zwKkiwu","CSoaWPhcLmo6","WPdcOSocdSkR","WRbVWOHpbv4","W5tcQCoRwIe","W7NdLSoVnKRcIa","WQ/dOmoZWQRcQCkntwJcTWn2WQO","W4BcNSoP","fL9caMzVWPRcR1NcO8o6W78sWO0OW5Ki","v8oQW5NcSeuwW77cRulcJ2Lo","x8kawCkCyq","W5tcN8o5","rSktWQtdGdOAiSkrsW","WPldVxxcI1vC","WPXTCJZdVG","W4ldN8oTWOpdKSki","ECkbW4rlWPvyW7dcNwVcTtJdKW","wmk4WR3dUH4","xNK9ix9lg2mhbrJdTSkv","ESk9WObgWQJcVSoHWQf+W5efbci","a2vmWRi","W77cT2efza","WQHSstRdK8k8","oCkBaHfv","iCkyWOVcT0BcNW","W43dI29QWPxcKHLSlc8","hCkmcZG","xhVdKSoFnexcOa","cuZdQCoPc1q","auFdU1H5WRW","wqBdLXbTjCkK","xhCEa0q","DZ7dNILq","qmk7W6m3o8oaWO4CqWOPha","iCkZbHDT","k8kXWOBcOg0","WORcTfT2u1O","xahdLWhcUq","W5ZdI187zW","a8k/W4ldQu1h","oSoAWRaqW5OpW5RcVvNcTby","W6ZcN8oitWe","dCk4WOtdPq","WOibW4rlWRxdNSo1","imoTW4m","ACk6tSk7tW","WPFcMJKRW67dIc5MhdG0rG","axn0WRn+b8of","jN7dIJjc","WQX9DGBdHa","DGBdNapcVs4","WPGgW7DqWQNdMa","W51HWOGgyq","iCk1k8kw","r24RW7ddOW","WRiqW5ThE8k/W6JcLmkvqa","W4FdLmoNWOhdNG","dae1imkD","a8k0W57dUwq","W5iGW5bOWOZdHSoh","W4BdM8oW","WOPqWOnTcq"];return Rh=function(){return t},Rh()}var fie=64;function wie(t,e){let n=un,i={LuevF:function(r,s){return r===s},hAers:function(r,s){return r-s},VZeEx:function(r,s){return r!==s},QfRNv:n(289,"wiue")};if(t instanceof RegExp){let r=new RegExp(t[n(379,"JdWm")],t[n(343,"^[L8")]);return s=>{let o=n;r[o(228,"VkK&")]=0;let l=r[o(381,"erY4")](s);return l?{index:l[o(260,"Jvkq")],length:l[0][o(240,"wiue")]}:void 0}}if(i[n(211,"pQsR")](typeof t,n(312,"5Vqv"))||i[n(308,"6tzD")](t[n(384,"yO7[")],0))if(i[n(237,"f07&")]!==n(232,"YXZH")){let r=_0x24f79c[n(316,"pQsR")](_0x2e210c);return r===-1?_0x72d14:{index:r,length:_0x5ce324[n(358,"pQsR")]}}else return;if(i[n(262,"KQMc")](e?.[n(373,"u4(s")],!0))return r=>{let s=n,o=r[s(272,"f07&")](t);return o===-1?void 0:{index:o,length:t[s(350,"PdML")]}};let a=t[n(300,"8NaD")]();return r=>{let s=n,o=r[s(395,"f07&")]()[s(321,"!SjE")](a);if(i[s(319,"G^wT")](o,-1))return;let l=Math[s(346,"dEUh")](o,r[s(278,"ef0B")]);return{index:l,length:Math[s(339,"Qm1r")](t[s(263,"u4(s")],i[s(313,"twB&")](r[s(323,"0vxb")],l))}}}function vie(t,e,n){let i=un,a={nvOcw:function(c,u){return c(u)},sSfAg:function(c,u){return c=u},YGhLS:i(378,"erY4"),GuIoC:function(c,u){return c{let h=i,g={UIwlM:function(d,m,w,f){return d(m,w,f)},qcNWF:function(d,m){return d+m}};if(typeof c===h(405,"ZUtw")){let d=a[h(276,"8]S$")](e,c);d&&(s+=1,a[h(359,"8]S$")](r[h(303,"0$QA")],n)&&r[h(286,"0$QA")]({path:u,value:c,matchIndex:d[h(325,"8]S$")],matchLength:d[h(391,"0%fs")]}));return}if(a[h(224,"dEUh")](c,null)||typeof c!==h(244,"Yy3I")||a[h(400,"ud!t")](p,fie)||o[h(216,"h[LL")](c))if(h(317,"0%fs")===h(273,"wiue"))g[h(250,"8]S$")](_0x1e7906,_0xef9d1[_0x55b01e],_0x1e5d33?_0x3765e2+"."+_0x4d6d36:""+_0x1ea0f3,g[h(356,"140J")](_0x5a11e9,1));else return;if(o[h(348,"TP#A")](c),Array[h(214,"erY4")](c)){if(a[h(389,"erY4")]!==a[h(284,"ud!t")])return _0x541d66;for(let d=0;a[h(369,"6tzD")](d,c[h(230,"VkK&")]);d+=1)l(c[d],u?u+"."+d:""+d,a[h(277,"ud!t")](p,1))}else if(a[h(254,"wiue")](a[h(409,"s)Z6")],a[h(327,"Yy3I")]))_0x592724[h(286,"0$QA")]({path:_0x16a1fd,value:_0x5029c9,matchIndex:_0x223a64[h(255,"9yge")],matchLength:_0x3c7831[h(391,"0%fs")]});else{let d=c;for(let m of Object[h(375,"9!Jl")](d))a[h(324,"s)Z6")](l,d[m],u?u+"."+m:m,p+1)}o[h(298,"G^wT")](c)};return l(t,"",0),{hits:r,truncated:s>r[i(212,"CmEg")]}}function Ly(t,e,n){let i=un,a={dLIer:function(c,u){return c!==u},aoPGh:i(302,"aK!M"),wqXJj:function(c,u,p,h){return c(u,p,h)},dTAgh:i(309,"yO7["),KeETG:function(c,u){return c===u},AYvdf:function(c,u){return c>u},OZwqa:function(c,u,p){return c(u,p)},yFxeH:i(318,"Lb@d"),UUGQI:function(c,u){return c!==u}},r=a[i(322,"nsz3")](wie,e,n);if(!r)if(a[i(252,"9!Jl")](i(355,"u4(s"),i(257,"6tzD")))_0x1eb193.id=_0x1a15cc.id;else return{hasMatches:!1};let s=n?.[i(235,"ud!t")],o=a[i(246,"Bj@R")](typeof s,a[i(390,"JdWm")])&&s>0?Math[i(279,"f07&")](s):Number[i(363,"yx7h")],l=[];for(let c of _1(t)){if(!c||typeof c!==i(360,"Wfsp")||a[i(365,"ud!t")](typeof c.id,i(226,"Bj@R")))continue;let u=c.id,p=a[i(393,"0vxb")](typeof c[i(282,"Lb@d")],i(349,"8]S$"))&&a[i(219,"5Vqv")](c[i(222,"f07&")][i(290,"h[LL")],0)?c[i(306,"8]S$")]:u;q1(c,(h,g)=>{let d=i;if(a[d(403,"G^wT")](typeof h.id,a[d(265,"VkK&")]))return;let{hits:m,truncated:w}=a[d(338,"Jvkq")](vie,h,r,o);if(m[d(290,"h[LL")]===0)return a[d(283,"s)Z6")]===d(251,"ef0B")?_0x2559f7:void 0;let f={actionId:h.id,taskId:u,taskName:p,matchedPaths:m};typeof h[d(231,"h[LL")]===d(406,"dEUh")&&(f[d(205,"wSU*")]=h[d(315,"140J")]),a[d(396,"8]S$")](typeof h[d(314,"$s)d")],a[d(386,"u4(s")])&&a[d(271,"140J")](h[d(335,"wiue")][d(296,"KQMc")],0)&&(f[d(397,"4&&G")]=h[d(243,"!SjE")]),g&&(f[d(275,"wSU*")]=g),w&&(f[d(367,"[AoD")]=!0),l[d(331,"$s)d")](f)})}return l[i(383,"aK!M")]>0?{hasMatches:!0,matches:l}:{hasMatches:!1}}(function(t,e){for(var n=Ei,i=t();;)try{var a=-parseInt(n(209,"bdpz"))/1+parseInt(n(207,")Z&&"))/2+-parseInt(n(202,"(LRw"))/3+parseInt(n(196,"l2(P"))/4*(parseInt(n(208,"bV^V"))/5)+-parseInt(n(194,"!4%Z"))/6+parseInt(n(201,"TP)v"))/7+parseInt(n(198,"8Np("))/8;if(a===e)break;i.push(i.shift())}catch{i.push(i.shift())}})(Ih,441715);function Ei(t,e){t=t-194;var n=Ih(),i=n[t];if(Ei.uykjNK===void 0){var a=function(l){for(var c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=",u="",p="",h=0,g,d,m=0;d=l.charAt(m++);~d&&(g=h%4?g*64+d:d,h++%4)?u+=String.fromCharCode(255&g>>(-2*h&6)):0)d=c.indexOf(d);for(var w=0,f=u.length;w=500?`Genesys Cloud returned ${n} fetching flow "${t}". Transient server-side error \u2014 retry; this says nothing about the flow.`:`Failed to fetch flow "${t}"`+(n!==void 0?` (HTTP ${n})`:"")+(i?`: ${i}`:".")+" Likely transient (network or gateway) \u2014 retry rather than concluding the flow does not exist."}var H1=50;function Aie(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 bie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID"),actionIds:te.array(te.string().min(1)).min(1).max(H1).describe(`Action GUIDs, taken from the \`id\` of flow_ir nodes whose \`kind\` is "action". Batch every action of interest into as few calls as possible rather than calling this tool once per action. Branch-output ids of the form \`::\` are also accepted; the suffix is stripped and the underlying action is returned. Maximum ${H1} ids per call; chunk a larger set into successive calls.`)},W1=({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:bie},handler:async({flowId:e,actionIds:n})=>{let i=await Ma(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let{lookupIds:a,requestedFor:r,strippedAny:s}=Aie(n),o=By(i.configuration,a),l=u=>({...u,actionId:r.get(u.actionId)??u.actionId}),c=[];return s&&c.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&&c.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(u=>r.get(u)??u),...c.length>0?{notes:c}:{}})}]}}});function R1(t){let e=t.toUpperCase();return e.endsWith("FLOW")?e:`${e}FLOW`}function xie(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:R1(t.type??""),version:t.publishedVersion?.commitVersion??"1"},dependencies:n}}var yie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID")},I1=({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:yie},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=R1(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=xie(n,r);return{content:[{type:"text",text:JSON.stringify(o)}]}}catch(n){return{isError:!0,content:[{type:"text",text:`Failed to retrieve flow dependencies: ${ct(n)}`}]}}}});var Pie=1e3,jie=45e3,Sie=10,Zt=class extends Error{};function yu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}async function Oie(t){let e=await fetch(t);if(!e.ok)throw new Zt(`Downloading the execution data file failed with HTTP ${e.status}.`);return e.json()}function Tie(t){return new Promise(e=>setTimeout(e,t))}function kie(t){return t.jobState==="Success"||t.jobState==="Failed"?!0:t.entities?.some(e=>e.downloadUri||e.failed===!0)??!1}async function Mie(t,e,n,i){let a=e,r=Date.now()+i;for(;!kie(a);){if(!a.id)throw new Zt(`The retrieval job reported state "${a.jobState??"unknown"}" without a job id to poll.`);if(Date.now()>=r)throw new Zt(`The retrieval job (${a.id}) was still "${a.jobState??"unknown"}" after ${Math.round(i/1e3)}s. Retry shortly; the job may complete on its own.`);await Tie(n),a=await t.getFlowsInstancesJob(a.id)}return a}function z1(t){return`No execution data exists for execution id "${t}". Either the id is wrong (it is the flow instance id, which for test_bot_flow runs is the sessionId it returned, not a conversation id or flow id), the run is older than the ${Sie}-day retention period, the flow was last published before execution data storage was enabled for the org (flows must be republished after enabling it), or storage is disabled. Use find_flow_execution with a conversationId to list the instances that do exist.`}function Eie(t,e){switch(e.statusCode){case"404":return z1(t);case"403":return`Not authorised to read execution data for "${t}" (403): the OAuth client needs the 'Architect > Flow Instance > View' permission and division access to the flow.`;default:return`Retrieving execution data for "${t}" failed`+(e.statusCode?` (HTTP ${e.statusCode})`:"")+"."}}function qie(t,e){if(e instanceof Zt)return e.message;let{status:n}=Et(e);return n===404?z1(t):n===403?"Not authorised to read execution data (403): the OAuth client needs the 'Architect > Flow Instance > View' permission.":`Failed to retrieve execution data for "${t}": ${ct(e)}`}function _ie(t){if(yu(t)&&yu(t.flow)&&Array.isArray(t.flow.execution))return t.flow;if(yu(t)&&Array.isArray(t.execution))return t;let e=yu(t)?Object.keys(t).join(", "):typeof t;throw new Zt(`The downloaded execution data had an unexpected shape (top-level: ${e}); expected { flow: { execution: [...] } }.`)}var Hie={executionId:te.string().min(1).describe("The flow instance (execution) id. This is the `id` of an entry returned by find_flow_execution, or the sessionId returned by test_bot_flow. It is not a conversation id or a flow id."),includeIr:te.boolean().default(!0).describe("Default true. Joins each action event to the flow's IR (the same graph flow_ir returns) using actionId, adding the action's type, task and outgoing edges, and lists the IR actions this instance never executed. Costs one extra flow configuration fetch. Set false when only the raw event log is wanted.")},D1=({architectApi:t,download:e=Oie,pollIntervalMs:n=Pie,maxWaitMs:i=jie})=>({config:{description:"Retrieves the historical execution data of one run of a Genesys Cloud Architect flow: the ordered log of what that single conversation actually did, action by action, with timestamps, the messages sent and received, the branch each decision or menu took, variable assignments, errors and the exit reason. Use it to see how a customer traversed a flow, to find loops and retries (summary.repeatedActions for actions run more than once, summary.loops for Loop actions and their iteration counts, summary.asksWithRetries for asks that re-prompted), errors (eventError events with a relatedAction) and dead ends, or to confirm a flow is behaving. flow_ir shows what could happen; this shows what did happen, this time. Each action event's actionId is the id of the flow_ir node whose kind is \"action\", and is accepted verbatim by flow_action. An action's outputPathId names the branch it took; joined to the IR it is the branch-output node :: (ir.takenBranch). Event kinds are usually named action for IR actionType Action (actionCommunicate is CommunicateAction, actionDecision is DecisionAction), with exceptions: actionUpdateData is UpdateVariableAction, actionJumpToTask is TransferTaskAction and actionAskForIntent is AskForNLUIntentAction; the ir.actionType annotation on each event is authoritative. events[] is in execution order; the IR's `order` field is not and must not be used for sequencing. trackingId is the action number shown in the Architect UI; gaps in it are authoring history, not missing actions. The instance's logLevel governs which sections exist: below 'all', variables and communications may be absent or empty, which is expected rather than an error. Pass the sessionId from test_bot_flow to see exactly how a test run traversed the flow; data is available seconds after the run ends, and such runs have a null conversationId.",annotations:{title:"Flow Execution Data",readOnlyHint:!0,destructiveHint:!1},inputSchema:Hie},handler:async({executionId:a,includeIr:r})=>{let s;try{let M=await t.getFlowsInstance(a),V=await Mie(t,M,n,i),N=V.entities?.find(_=>_.id===a)??V.entities?.[0];if(V.jobState==="Failed"&&!N)throw new Zt(`The retrieval job (${V.id??"unknown id"}) failed without reporting a cause.`);if(!N)throw new Zt(`The retrieval job (${V.id??"unknown id"}) completed with no results.`);if(N.failed||!N.downloadUri)return{isError:!0,content:[{type:"text",text:Eie(a,N)}]};s=_ie(await e(N.downloadUri))}catch(M){return{isError:!0,content:[{type:"text",text:qie(a,M)}]}}let{execution:o,...l}=s,c=Ry(o),u=c.events,p=c.summary,h=[],g=u.find(M=>M.kind==="endedFlow"),d=typeof g?.flowExitReason=="string"?g.flowExitReason:null;g||h.push("No endedFlow event: the run had not finished when the data was captured, or the log was cut short. Do not treat the last event as where the flow ended.");let m=Iy(u,".ConversationId"),w=yu(l.executionInfo)?l.executionInfo.logLevel:void 0;typeof w=="string"&&w.toLowerCase()!=="all"&&h.push(`This instance was captured at log level "${w}". Variable values, communications or action inputs/outputs may be absent because they were not recorded, not because they did not happen.`),l.isTruncated===!0&&h.push("isTruncated is true: the log was cut off by the execution cap, so later actions ran without being recorded."),p.repeatedActions.length>0&&h.push(`${p.repeatedActions.length} action(s) executed more than once; see summary.repeatedActions and each occurrence's executionId to tell iterations apart.`),p.asksWithRetries.length>0&&h.push(`${p.asksWithRetries.length} ask/menu action(s) needed more than one participant input (summary.asksWithRetries); the retries are the turns inside that event's execution[], not repeated actions.`);let f=p.eventKinds.eventError??0;f>0&&h.push(`${f} eventError event(s) occurred; each one's relatedAction names the action that was executing (matched on context.executionId), and context.reason gives the cause.`);let A=Date.parse(String(l.startDateTime)),b=Date.parse(String(l.endDateTime)),x=Number.isFinite(A)&&Number.isFinite(b)?b-A:null,S;if(r){let M=typeof l.flowId=="string"?l.flowId:void 0,V=typeof l.flowVersion=="string"?l.flowVersion:void 0;if(!M)h.push("The execution data carried no flowId, so no IR join was possible.");else{let N=await Wie(t,M,V,h);if(N){let _=xu(N.configuration);if(!_.ok)h.push(`The flow configuration could not be parsed into an IR (${_.error.code}: ${_.error.message}); events are unjoined.`);else{let W=zy(u,_.ir);u=W.events,S={configuration:N.configuration_source,unmatchedActionIds:W.unmatchedActionIds,unmatchedStateIds:W.unmatchedStateIds,actionsNotExecuted:W.actionsNotExecuted,warnings:_.warnings},W.unmatchedActionIds.length>0&&h.push(`${W.unmatchedActionIds.length} executed action id(s) have no node in the IR (ir.unmatchedActionIds). If the join used the latest configuration rather than the version that ran, the flow has probably been redeployed since; otherwise the action may live in a called common module or bot flow, which the parent's IR does not contain.`)}}}}let T={...l,executionId:typeof l.executionId=="string"?l.executionId:a,conversationId:typeof m=="string"?m:null,durationMs:x,flowExitReason:d,logLevel:typeof w=="string"?w:null,summary:p,events:u,...S?{ir:S}:{},...h.length>0?{notes:h}:{}};return{content:[{type:"text",text:JSON.stringify(T)}]}}});async function Wie(t,e,n,i){if(n)try{return{configuration:await t.getFlowVersionConfiguration(e,n),configuration_source:{flowVersion:n}}}catch(r){if(Et(r).status===410){i.push("IR join skipped: the flow has been deleted, so no configuration can be fetched. The events are still complete; only the ir annotations and actionsNotExecuted are unavailable.");return}i.push(`Could not fetch the configuration of flow version ${n} (${ct(r)}); the IR join used the latest configuration instead, which may differ from what ran.`)}else i.push("The execution data carried no flowVersion; the IR join used the latest configuration, which may differ from what ran.");let a=await Ma(t,e);if(!a.ok){i.push(`IR join skipped: ${a.message}`);return}return{configuration:a.configuration,configuration_source:{latest:!0}}}function Rie(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 Iie={flowId:te.string().min(1).describe("The Genesys Cloud Architect flow ID"),task:te.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 and successors may reference nodes in other tasks, which will not appear in the filtered node list.")},G1=({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:Iie},handler:async({flowId:e,task:n})=>{let i=await Ma(t,e);if(!i.ok)return{isError:!0,content:[{type:"text",text:i.message}]};let a=xu(i.configuration);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=Rie(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 N1=100,U1=10,Pu=160,zie=512;function Die(t,e,n){if(!e)return{ok:!0,query:t};try{return{ok:!0,query:new RegExp(t,n?"":"i")}}catch(i){let a=i instanceof Error?i.message:String(i);return{ok:!1,error:`Invalid regular expression "${t}": ${a}. Set regex to false for a literal substring search.`}}}function Gie(t,e,n){if(t.length<=Pu)return t;let i=e+Math.floor(n/2),a=Math.max(0,Math.min(i-Math.floor(Pu/2),t.length-Pu)),r=a+Pu;return`${a>0?"\u2026":""}${t.slice(a,r)}${r({config:{description:'Searches the raw Architect configuration of a Genesys Cloud Architect flow for text, and returns the actions containing it along with where in each action it matched. Answers "which actions reference X" \u2014 a queue name, a data action, a variable such as Flow.DNIS, a phrase in a prompt \u2014 in a single call. Use it instead of sweeping a flow with bulk flow_action lookups, which return whole action subtrees for actions that may not be relevant at all. Each returned actionId is an Architect GUID: it joins directly to flow_ir nodes whose kind is "action", and is accepted verbatim by flow_action. Search here to find the ids, then fetch those ids with flow_action when an excerpt is not enough. Matching is against string values only, never key names. A match in a wiring field locates text and is not a control-flow claim; flow_ir owns wiring.',annotations:{title:"Search In Flow",readOnlyHint:!0,destructiveHint:!1},inputSchema:Uie},handler:async({flowId:e,pattern:n,regex:i,caseSensitive:a})=>{let r=Die(n,i,a);if(!r.ok)return{isError:!0,content:[{type:"text",text:r.error}]};let s=await Ma(t,e);if(!s.ok)return{isError:!0,content:[{type:"text",text:s.message}]};let o=s.configuration;if(!Nie(o))return{isError:!0,content:[{type:"text",text:`The latest configuration of flow "${e}" has no flowSequenceItemList to search \u2014 the flow type may be unsupported. Nothing was searched, so this is not a zero-match result.`}]};let l=Ly(o,r.query,{caseSensitive:a,maxMatchesPerAction:U1}),c=l.hasMatches?l.matches:[],u=c.slice(0,N1),p=u.map(g=>({...g,matchedPaths:g.matchedPaths.map(d=>({path:d.path,excerpt:Gie(d.value,d.matchIndex,d.matchLength)}))})),h=[];return c.length>u.length&&h.push(`${c.length} actions matched; only the first ${N1} are returned, in encounter order. Narrow the pattern to see the rest.`),u.some(g=>g.truncated)&&h.push(`Some actions matched in more than ${U1} places; matchedPaths is not exhaustive for entries marked truncated.`),u.some(g=>g.matchedPaths.some(d=>d.value.length>Pu))&&h.push("Excerpts are clipped windows around the match, not whole values; fetch the action with flow_action when the full text matters."),{content:[{type:"text",text:JSON.stringify({flowId:e,pattern:n,totalMatchedActions:c.length,matchedActions:p,...h.length>0?{notes:h}:{}})}]}}});var Fy=new Map;function $ie(t){let{id:e,previousTurn:n,...i}=t;return i}async function B1(t,e,n){let i=[],a=n;for(;i.push($ie(a)),Fy.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")&&Fy.delete(e),{content:[{type:"text",text:JSON.stringify({sessionId:e,turns:i})}]}}var Bie={flowId:te.string().optional().describe("The bot flow ID to test. Required when starting a new session."),sessionId:te.string().optional().describe("Session ID from a previous call. Required when continuing an existing conversation."),message:te.string().optional().describe("User message to send to the bot. Required when continuing a session.")},L1=({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:Bie},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 B1(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=Fy.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 B1(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 Vy=te.object({GENESYS_REGION:te.string().min(1),GENESYS_CLIENT_ID:te.string().min(1),GENESYS_CLIENT_SECRET:te.string().min(1),DEPLOY_SCRIPT_PATH:te.string().min(1),PREVENT_LOGIN:te.enum(["TRUE","FALSE"]).default("FALSE").transform(t=>t==="TRUE")}).safeParse(process.env);if(!Vy.success){let t=Vy.error.issues.map(e=>e.path[0]).join(` `);console.error(`Missing required environment variables: ${t}`),process.exit(1)}var Ea=Vy.data,dt=new qp({name:"genesys-cloud-architect",version:"2.0.1"}),Ir=new ju.default.ArchitectApi,Lie=new ju.default.RoutingApi,F1=f1({architectApi:Ir});dt.registerTool("find_flow",F1.config,F1.handler);var V1=A1({routingApi:Lie});dt.registerTool("find_queue",V1.config,V1.handler);var J1=I1({architectApi:Ir});dt.registerTool("flow_dependencies",J1.config,J1.handler);var K1=G1({architectApi:Ir});dt.registerTool("flow_ir",K1.config,K1.handler);var Z1=W1({architectApi:Ir});dt.registerTool("flow_action",Z1.config,Z1.handler);var Q1=$1({architectApi:Ir});dt.registerTool("search_in_flow",Q1.config,Q1.handler);var Y1=C1({architectApi:Ir});dt.registerTool("find_flow_execution",Y1.config,Y1.handler);var X1=D1({architectApi:Ir});dt.registerTool("flow_execution_data",X1.config,X1.handler);var ez=m1({region:Ea.GENESYS_REGION,clientId:Ea.GENESYS_CLIENT_ID,clientSecret:Ea.GENESYS_CLIENT_SECRET,deployScriptPath:Ea.DEPLOY_SCRIPT_PATH});dt.registerTool("deploy_flow",ez.config,ez.handler);var nz=L1({textbotsApi:new ju.default.TextbotsApi});dt.registerTool("test_bot_flow",nz.config,nz.handler);(async()=>{if(Ea.PREVENT_LOGIN)console.warn("Login for Platform API skipped. Calling tools will result in an auth failure.");else{let e=ju.default.ApiClient.instance;e.setEnvironment(Ea.GENESYS_REGION),await e.loginClientCredentialsGrant(Ea.GENESYS_CLIENT_ID,Ea.GENESYS_CLIENT_SECRET)}let t=new Hp;await dt.connect(t)})().catch(t=>{console.error("Failed to start server:",t),process.exit(1)}); /*! Bundled license information: diff --git a/skills/interpret-flow-ir/SKILL.md b/skills/interpret-flow-ir/SKILL.md index b2fa0e5..e246870 100644 --- a/skills/interpret-flow-ir/SKILL.md +++ b/skills/interpret-flow-ir/SKILL.md @@ -1,6 +1,6 @@ --- name: interpret-flow-ir -description: This skill should be used when interpreting the JSON returned by the flow_ir, flow_action or search_in_flow tools, or when the user asks questions about a deployed Genesys Cloud Architect flow, including one they name only by its flow name (resolve it with find_flow first) or a queue they name only by its queue name (resolve it with find_queue first). Structural questions such as "analyse this flow", "trace the path through the flow", "what happens when the customer says X", "why is this task unreachable", "check the flow for missing error handling", "find dead logic", or "does this flow loop". Semantic questions such as "what does this decision check", "what prompt does it play", "what does this data action send", or "what does pressing 2 do". Search questions such as "find every action that references this queue", "which actions use Flow.DNIS", "where does this flow mention that data action", or "which actions play a prompt containing X". Use it to answer control-flow questions from the IR instead of guessing from the flow's raw configuration JSON, to find the actions worth looking at without fetching them all, and to fetch the per-action settings the IR omits. +description: This skill should be used when interpreting the JSON returned by the flow_ir, flow_action, search_in_flow, find_flow_execution or flow_execution_data tools, or when the user asks questions about a deployed Genesys Cloud Architect flow, including one they name only by its flow name (resolve it with find_flow first). Structural questions such as "analyse this flow", "trace the path through the flow", "what happens when the customer says X", "why is this task unreachable", "check the flow for missing error handling", "find dead logic", or "does this flow loop". Semantic questions such as "what does this decision check", "what prompt does it play", "what does this data action send", or "what does pressing 2 do". Search questions such as "find every action that references this queue", "which actions use Flow.DNIS", "where does this flow mention that data action", or "which actions play a prompt containing X". Execution questions such as "what did this conversation do in the flow", "why did the customer loop", "which path did the call take", "did the flow error for conversation X", "is this flow working in production", or "show me how my test run went through the flow". Use it to answer control-flow questions from the IR instead of guessing from the flow's raw configuration JSON, to find the actions worth looking at without fetching them all, to fetch the per-action settings the IR omits, and to read one run's execution data against the IR. --- # Interpreting Flow IRs @@ -11,14 +11,16 @@ Branches, loops, IVR menu choices, and cross-task jumps are already resolved into edges. Answer structural questions from this IR, never by re-deriving control flow from the flow's raw configuration JSON. -The tools are a trio. `search_in_flow` owns **discovery** — which actions mention a -given name, expression, or phrase (see "Content search"). `flow_ir` owns +The static tools are a trio. `search_in_flow` owns **discovery** — which actions +mention a given name, expression, or phrase (see "Content search"). `flow_ir` owns **structure** — what connects to what. `flow_action` owns **semantics** — what an individual action is configured to do (see "Action semantics"). The usual order runs the same way: search to find the ids worth caring about, trace to see how -they connect, then inspect only those. +they connect, then inspect only those. A fourth concern, **what actually happened +on one run**, belongs to `find_flow_execution` and `flow_execution_data` (see +"Execution data"); they join back to the same ids. -All three take a flow id, not a flow name. When only the name is known (e.g. +The static tools take a flow id, not a flow name. When only the name is known (e.g. "analyse Book_Payment"), resolve it first with `find_flow`, which searches flow names and returns each match's id, name, type, and published version. @@ -280,6 +282,198 @@ only**, never key names, so every hit is real content. But: - A match is text, not structure. `search_in_flow` finding a queue name in six actions says those six mention it, not that six transfers exist. +## Execution data: `find_flow_execution` and `flow_execution_data` + +The IR says what *could* happen. **Execution data** is what *did* happen on one +run: Genesys Cloud's historical record of a single flow instance, an ordered +event log of every action executed with timestamps, the messages sent, variable +snapshots and the exit reason. Reach for it when the question is about a real +conversation or a test run rather than about the flow's design: "what did this +customer's call do", "why did the bot loop", "which branch ran", "did it error", +"is the flow working", "show me how my test went through the flow". + +**Two tools.** `find_flow_execution` lists instances by `conversationId` and/or +`flowId` (optionally `onlyWithErrors`), returning each instance's `executionId`, +flow name/type/version, times and any `flowErrorReason`/`flowWarningReason`, +oldest first. A conversation that passed through several flows yields one entry +per flow. `flow_execution_data` takes one `executionId` and returns the log. +Prefer `conversationId` when searching: the API indexes on it, cannot filter by +date, caps results at 200, and only keeps 10 days. A run is listed only once it +has **ended**; one still waiting for input is not yet there. `onlyWithErrors` is +applied to the fetched instances, since the API's query operators have no +negation or null test. + +**`test_bot_flow` runs are instances too.** The `sessionId` it returns *is* the +`executionId`; pass it straight to `flow_execution_data` to see exactly how a +test traversed the flow, and expect the data within seconds of the run ending. +Such runs have a null conversation id, so find them by `flowId` rather than +`conversationId`; `Flow.IsTest` is false on them. + +### The envelope + +`{ executionId, flowId, flowName, flowType, flowVersion, conversationId, +startDateTime, endDateTime, durationMs, flowExitReason, logLevel, executionInfo, +isTruncated, isSecure, flowIsDebug, division, summary, events, ir?, notes? }` + +- `summary.eventKinds` counts events per kind; `summary.repeatedActions` lists + actions executed more than once with the `index` of each occurrence. **A + non-empty `repeatedActions` is the signature of a loop**; read those indexes + in `events` to see what changed (or did not) between iterations. + `summary.loops` lists each Loop action with its `iterations`, counted from + the `eventLoop` events it emitted (one per completed iteration; the body's + actions also appear in `repeatedActions`). `summary.asksWithRetries` lists + ask/menu actions that consumed more than one participant input: a no-match + or no-input retry happens *inside* the one action (as extra turns in its + `execution[]`), so it never appears as a repeated action. All three lists + empty means a straight run. +- `events[]` is the log in **execution order**. Each event is one entry of the + raw `execution[]` array unwrapped: `index` (array position), `kind` (the raw + event key), and every field of the payload passed through untouched. Kinds + seen so far: containers `startedFlow`/`endedFlow`, + `startedBotState`/`endedBotState` (bot flows), `startedTask`/`endedTask`; + actions `actionCommunicate`, `actionUpdateData`, `actionDecision`, + `actionSwitch`, `actionLoop`, `actionAskForIntent`, `actionAskForSlot`, + `actionDigitalMenu`, `actionJumpToTask`, `actionExitBotFlow`; and the + non-action events `eventLoop` (end of one Loop iteration, linked to its Loop + action by `relatedAction`, carrying the new index in `variables[]`) and + `eventError`. Report unfamiliar kinds by their fields rather than assuming a + shape. +- An `eventError` carries `context.reason` (e.g. + `Error.Expression.Value.NotAllowed.NotSet`), `context.functionNameOrOperator` + and `context.settingName`, and the tool adds `relatedAction` (`index`, + `actionId`, `actionName`) by matching `context.executionId` to the action + event that was running. The run then ends with + `flowExitReason: "FLOW_ERROR_EXIT"`, and `find_flow_execution` shows the same + reason as `flowErrorReason`. +- `notes`, when present, is advisory prose about this instance (log level, + truncation, join caveats). Read it before making claims. + +### Joining to the IR + +The join key is **`actionId`**: every action event carries the design-time GUID, +which is the `id` of the `flow_ir` node whose `kind` is `"action"`, and is +accepted verbatim by `flow_action`. `actionName` equals the IR `label` but names +are not unique, so join on the GUID. A `startedBotState.stateId` (bot flows) is +the IR task id; its node is `::start`. + +By default (`includeIr: true`) the tool does the join: each action event gains +`ir: { nodeId, actionType, taskId, taskName, terminal, reachable, successors, +takenBranch? }` and each container event (`startedBotState`, `startedTask`) +gains `ir: { nodeId, taskId, taskName }`; an event with `ir: null` found no +node. The response's `ir` block then carries +`configuration` (whether the join used the exact `flowVersion` that ran or fell +back to the latest), `unmatchedActionIds`, `unmatchedStateIds`, +`actionsNotExecuted` (every IR action this run never reached, with its +`reachable` flag) and the parse `warnings`. `actionsNotExecuted` is this run's +*negative space*: the branches not taken. It is not dead logic; one run proves +nothing about other runs. + +Three naming traps: + +- Event kinds and IR types differ by convention: **`action` ↔ + `Action`** (`actionCommunicate` is `CommunicateAction`, + `actionDecision` is `DecisionAction`, `actionAskForSlot` is + `AskForSlotAction`, `actionLoop` is `LoopAction`, `actionSwitch` is + `SwitchAction`), with exceptions where Architect renamed the action: + `actionUpdateData` is `UpdateVariableAction`, `actionJumpToTask` is + `TransferTaskAction` and `actionAskForIntent` is `AskForNLUIntentAction`. + The `ir.actionType` annotation settles it; never guess from the kind alone. + `AskForNLUIntentAction` carries its per-intent routing on its own outputs + (one per intent, keyed by intent id, plus `__NO_INTENT__`, `__KNOWLEDGE__` + and `__MAX_NO_INPUTS__`), so its `takenBranch` resolves to the intent's + label, its `terminal` flag is `false`, and its `description` lists the + intents it can recognise. It raises no `UNRESOLVED_INTENT_FANOUT`; that + warning is for the listen states whose routing lives outside the action. +- The IR's `order` is DFS discovery, **not** execution order. Sequence from + `events[].index`, never from `order`. +- `trackingId` is the action number shown in the Architect UI. Gaps in it are + authoring history (deleted actions), **not** missing events. Each event also + has its own `executionId`, distinct per execution of an action; it tells + iterations of a looped action apart. The instance-level `executionId` is a + different thing: the instance id. + +### Reading the log + +- **Branches.** Execution data has no edges, but every branching action + records the path it took as `outputPathId` (a Decision's `__YES__`/`__NO__`, + an ask's `__DEFAULT__`/`__MAX_NO_MATCHES__`, an intent ask's intent GUID or + `__NO_INTENT__`, a Switch case's GUID or `__DEFAULT__`, a menu choice's GUID, + a Loop's `__LOOP__`) and usually `outputPathName`. That id is exactly the + suffix of the IR branch-output node, so `ir.takenBranch` gives + `{ nodeId: "::", label, inIr }`: the branch that ran, + by its IR label. The sibling branch-outputs in `successors` are the roads not + taken on this run. A Decision also records `inputData.condition` (the + evaluated boolean); a Switch records `inputData.value` and the matching + `inputData.cases[]`; an intent ask records `inputData.enabledIntents[]` and + the matched intent in `outputVariables[]` as `Session.ActiveIntent`; a slot + ask records `outputData.askResult` and the slot in `outputVariables[]`; a + menu records `outputData.selection`; a Loop records `inputData.loopCount` and + `outputData.currentIndex`. +- **Participant input.** Asks and menus carry an `execution[]` of turns: each + `toParticipant` is a prompt the customer saw and each `fromParticipant` + (`digital.text`) is what they typed. A failed attempt shows as an extra turn + pairing their input with the `inputData.noMatch` prompt. Quote these to + explain what the customer did. +- **Variables.** `startedFlow.variables[]` is the snapshot at entry: the + built-ins (`Flow.*`, `Session.*` or `Call.*`) plus the flow's own variables + (GUID `variableId`), `startedBotState.variables[]` the state's, and + `endedFlow.outputVariables[]` the declared outputs. Assignments *are* logged: + `actionUpdateData.statements[]` lists each variable and the value written, in + order. Sentinels `ValueTooLarge`, `ValueRedacted` and `ValueInvalid` replace a + value and should be reported as such. +- **Communications.** `communication.toParticipant.digitalItems[].text` is the + rendered message with expressions already evaluated, so it is what the customer + saw. Fields such as `queuedAudioFlushed` are shared with voice; expect audio + items on a call flow. +- **Log level.** `logLevel` governs which sections exist. At levels below `all`, + variables, communications or action inputs/outputs may be absent or empty + because they were not recorded. That is expected, not a flow defect, and the + response notes it. +- **Timestamps.** Each event's `dateTime` is when it ran; a communication's own + `dateTime` is when the message was emitted and can differ by milliseconds. Use + `index` for order and the timestamps for duration only. +- **Ending.** `endedFlow.flowExitReason` says how the run ended (`FLOW_EXIT` is + a normal exit, `FLOW_ERROR_EXIT` an error; see the `eventError` just before + it). On a bot flow `endedFlow.naturalLanguageUnderstanding.intent.intentName` + is the intent the run ended with. No `endedFlow` means the run had not + finished or the log was cut; `isTruncated: true` means the execution cap was + hit. + +### Recipes + +**"What did this conversation do?"** `find_flow_execution` with the +`conversationId`, then `flow_execution_data` on each instance oldest first. +Narrate the events as the customer experienced them, quoting `digitalItems[].text`, +and name the task from `ir.taskName` at each transition. + +**"Why did it loop?"** Three shapes, told apart by the summary. If +`summary.asksWithRetries` is non-empty, the "loop" is one ask or menu +re-prompting: read that event's `execution[]` turns to see what the customer +typed and which `noMatch` prompt answered them. If `summary.loops` is +non-empty, a Loop action ran its body that many times by design; its +`eventLoop` events carry the index per iteration. If `summary.repeatedActions` +is non-empty *without* a corresponding Loop, control genuinely came back round +through a jump: compare the events at its `eventIndexes` and those between +them, find the decision whose `takenBranch` kept choosing the way back (the IR +marks that jump's edge `backEdge: true`), then fetch it with `flow_action` to +read the condition. + +**"Did the flow error?"** `find_flow_execution` with `onlyWithErrors: true` +(by `flowId` to sweep recent runs, or with the `conversationId`). The +`flowErrorReason` names the failure; in the instance, the `eventError` event's +`relatedAction` and `context.reason` say which action failed and why. + +**"Is the flow working?"** Run `test_bot_flow` and pass its `sessionId` to +`flow_execution_data`, or sample recent instances by `flowId`. Confirm the +expected actions appear in `events`, and check `actionsNotExecuted` against +what the test was meant to cover. + +**Empty or missing data.** Execution data exists only for flows published after +storage was enabled for the org, and only for 10 days. A not-found result or an +empty search is therefore often a configuration or age matter rather than proof +that the conversation never ran the flow; the tool's error text and `notes` list +the possibilities. + ## Analysis recipes **Trace "what happens when..."**: walk successors from the entry task-start, @@ -332,8 +526,11 @@ human-readable and non-contractual; key all reasoning off `code`. ## Known blind spots -- **Intent routing is absent** (see `UNRESOLVED_INTENT_FANOUT`). Qualify - reachability and path claims wherever a listen action appears. +- **Intent routing is absent for listen states** (see + `UNRESOLVED_INTENT_FANOUT`): `WaitForInputAction` and + `AskForNLUNextIntentAction`. Qualify reachability and path claims wherever + one appears. `AskForNLUIntentAction` is not affected: its per-intent + outputs are ordinary edges in the IR. - **Digital-bot menu choices** (`DigitalMenuAction`) are not expanded. IVR `menuChoiceList` menus are resolved. The unexpanded choices are visible in the action's raw config via `flow_action`, but their routing is not in the graph. diff --git a/skills/write-flow/references/gotchas.md b/skills/write-flow/references/gotchas.md index 85b8ac1..b868ec2 100644 --- a/skills/write-flow/references/gotchas.md +++ b/skills/write-flow/references/gotchas.md @@ -66,6 +66,8 @@ actionFactory.addActionCommunicate(freeTextPath, "Answer", '"Here is the answer. When the DigitalMenu receives free-text input, the Dialog Engine checks trained intents before falling through to NoMatch. See the NLU section in `examples/digital-bot-flow.md`. +In bot flows (`createFlowBotAsync`), where `AskForIntent` is valid, the deployed action carries one output path per associated intent (keyed by the intent id, labelled with the intent name) plus `__NO_INTENT__`, `__KNOWLEDGE__` and `__MAX_NO_INPUTS__`. `flow_ir` resolves those as ordinary edges and lists the intents in the node's `description`, so a session can verify that each intent reached its task by reading the IR back. In execution data the action appears as `actionAskForIntent`, and its `outputPathId` is the intent id that matched, so `flow_execution_data`'s `takenBranch` names the intent by label. + ## Output path enable/disable `ArchActionOutput.enabled` controls whether an output path (MaxNoMatches, MaxNoInputs, etc.) is active. Paths default to disabled on most action types. Adding actions to a disabled path produces "Unreachable because path is disabled" warnings. Check `canEnableDisable` before setting. diff --git a/src/mcp-server/index.ts b/src/mcp-server/index.ts index fb93adb..42afdf7 100644 --- a/src/mcp-server/index.ts +++ b/src/mcp-server/index.ts @@ -4,9 +4,11 @@ import platformClient from "purecloud-platform-client-v2"; import { z } from "zod/v3"; import { deployFlow } from "./tools/deploy-flow.ts"; import { findFlow } from "./tools/find-flow.ts"; +import { findFlowExecution } from "./tools/find-flow-execution.ts"; import { findQueue } from "./tools/find-queue.ts"; import { flowAction } from "./tools/flow-action.ts"; import { flowDependencies } from "./tools/flow-dependencies.ts"; +import { flowExecutionData } from "./tools/flow-execution-data.ts"; import { flowIr } from "./tools/flow-ir.ts"; import { searchInFlow } from "./tools/search-in-flow.ts"; import { testBotFlow } from "./tools/test-bot-flow.ts"; @@ -71,6 +73,20 @@ server.registerTool( searchInFlowTool.handler, ); +const findFlowExecutionTool = findFlowExecution({ architectApi }); +server.registerTool( + "find_flow_execution", + findFlowExecutionTool.config, + findFlowExecutionTool.handler, +); + +const flowExecutionDataTool = flowExecutionData({ architectApi }); +server.registerTool( + "flow_execution_data", + flowExecutionDataTool.config, + flowExecutionDataTool.handler, +); + const deployFlowTool = deployFlow({ region: envVars.GENESYS_REGION, clientId: envVars.GENESYS_CLIENT_ID, diff --git a/src/mcp-server/tools/fetch-flow-configuration.ts b/src/mcp-server/tools/fetch-flow-configuration.ts index b7eae33..f94707a 100644 --- a/src/mcp-server/tools/fetch-flow-configuration.ts +++ b/src/mcp-server/tools/fetch-flow-configuration.ts @@ -26,6 +26,14 @@ function describeFailure(flowId: string, err: unknown): string { if (status === 404) { return `Flow "${flowId}" not found. Check the flow id.`; } + if (status === 410) { + return ( + `Flow "${flowId}" has been deleted (410)` + + (detail ? `: ${detail}` : ".") + + " Its configuration is no longer retrievable; execution data recorded " + + "before the deletion may still exist." + ); + } if (status === 401) { return ( `Not authenticated with Genesys Cloud (401) fetching flow "${flowId}": ` + diff --git a/src/mcp-server/tools/find-flow-execution.ts b/src/mcp-server/tools/find-flow-execution.ts new file mode 100644 index 0000000..2fe9e14 --- /dev/null +++ b/src/mcp-server/tools/find-flow-execution.ts @@ -0,0 +1,259 @@ +import type { ArchitectApi, Models } from "purecloud-platform-client-v2"; +import { z } from "zod/v3"; +import { formatApiError, toApiError } from "./api-error.ts"; +import type { ToolFactory } from "./types.ts"; + +/** The API's own ceiling on results per query, per the help centre. */ +const MAX_RESULTS = 200; + +/** How long Genesys Cloud keeps execution data, per the help centre. */ +const RETENTION_DAYS = 10; + +interface FlowExecutionSummary { + /** The flow instance id; pass it to flow_execution_data as executionId. */ + executionId: string; + flowId: string | null; + flowName: string | null; + flowType: string | null; + flowVersion: string | null; + conversationId: string | null; + workitemId?: string; + startDateTime: string | null; + endDateTime: string | null; + flowErrorReason?: string; + flowWarningReason?: string; +} + +interface FindFlowExecutionResult { + query: { + conversationId?: string; + flowId?: string; + onlyWithErrors?: boolean; + }; + executions: FlowExecutionSummary[]; + total: number; + notes?: string[]; +} + +/** + * The API reports "NONE" rather than omitting a reason, so a caller filtering + * on presence would see every instance as errored. Normalise to absence. + */ +function reasonOrUndefined(reason: string | undefined): string | undefined { + return reason && reason !== "NONE" ? reason : undefined; +} + +function toSummary( + entry: Models.FlowExecutionDataQueryResult, +): FlowExecutionSummary { + const flowErrorReason = reasonOrUndefined(entry.flowErrorReason); + const flowWarningReason = reasonOrUndefined(entry.flowWarningReason); + return { + executionId: entry.id ?? "", + flowId: entry.flowId ?? null, + flowName: entry.flowName ?? null, + flowType: entry.flowType ?? null, + flowVersion: entry.flowVersion ?? null, + conversationId: entry.conversationId ?? null, + ...(entry.workitemId ? { workitemId: entry.workitemId } : {}), + startDateTime: entry.startDateTime ?? null, + endDateTime: entry.endDateTime ?? null, + ...(flowErrorReason ? { flowErrorReason } : {}), + ...(flowWarningReason ? { flowWarningReason } : {}), + }; +} + +function byStartTime(a: FlowExecutionSummary, b: FlowExecutionSummary): number { + return (a.startDateTime ?? "").localeCompare(b.startDateTime ?? ""); +} + +/** + * Best-effort check of the org-wide storage switch, used only to explain an + * empty result. Needs a permission the search itself does not, so a failure + * here is swallowed rather than turned into an error. + */ +async function storageEnabled( + architectApi: ArchitectApi, +): Promise { + try { + const settings = + await architectApi.getFlowsInstancesSettingsExecutiondata(); + return settings.enabled; + } catch { + return undefined; + } +} + +export interface ToolConfig { + architectApi: ArchitectApi; +} + +const inputSchema = { + conversationId: z + .string() + .min(1) + .optional() + .describe( + "The Genesys Cloud conversation id. Returns every flow instance " + + "that conversation ran, so a call that went through an inbound " + + "flow and then an in-queue flow yields two entries. Preferred " + + "filter: it is what the API indexes on.", + ), + flowId: z + .string() + .min(1) + .optional() + .describe( + "The Architect flow id. Returns recent instances of that flow, " + + "whichever conversation ran them. Combine with conversationId " + + "to pick one flow out of a conversation.", + ), + onlyWithErrors: z + .boolean() + .optional() + .describe( + "When true, only instances that ended with a flow error are " + + "returned (flowErrorReason is set). Applied to the instances " + + "the query fetched, so with a busy flow the errored runs " + + "beyond the API's 200-instance cap are not seen. Use it to " + + "find the runs worth inspecting with flow_execution_data.", + ), +}; + +export const findFlowExecution: ToolFactory = ({ + architectApi, +}: ToolConfig) => ({ + config: { + description: + "Finds the recorded executions (flow instances) of Genesys Cloud " + + "Architect flows, by conversation id and/or flow id. Returns each " + + "instance's executionId, flow id/name/type/version, conversationId, " + + "start and end times, and any flowErrorReason or flowWarningReason, " + + "oldest first. Use it to answer 'what did this conversation do' or " + + "'has this flow been failing', then pass an executionId to " + + "flow_execution_data for the action-by-action log. Only the last " + + `${RETENTION_DAYS} days are retained, the API cannot filter by date, and at most ` + + `${MAX_RESULTS} instances are returned per query, so prefer conversationId. ` + + "A run is listed only once it has ended. test_bot_flow runs have no " + + "conversation id, so find them by flowId or pass their sessionId " + + "straight to flow_execution_data.", + annotations: { + title: "Find Flow Execution", + readOnlyHint: true, + destructiveHint: false, + }, + inputSchema, + }, + handler: async ({ conversationId, flowId, onlyWithErrors }) => { + if (!conversationId && !flowId) { + return { + isError: true, + content: [ + { + type: "text", + text: "Provide a conversationId, a flowId, or both.", + }, + ], + }; + } + + const criteria: Models.CriteriaItem[] = []; + if (conversationId) { + criteria.push({ + key: "ConversationId", + operator: "eq", + value: conversationId, + }); + } + if (flowId) { + criteria.push({ key: "FlowId", operator: "eq", value: flowId }); + } + + try { + const page = await architectApi.postFlowsInstancesQuery( + { query: [{ and: criteria }] }, + { pageSize: MAX_RESULTS }, + ); + // The API's query operators are eq/gt/gte/lt/lte/begins, with no + // negation or null test, so "has an error" is filtered here. + const fetched = (page.entities ?? []).map(toSummary); + const executions = ( + onlyWithErrors + ? fetched.filter((e) => e.flowErrorReason !== undefined) + : fetched + ).sort(byStartTime); + const total = Math.max(page.total ?? 0, fetched.length); + + const notes: string[] = []; + if ( + onlyWithErrors && + executions.length === 0 && + fetched.length > 0 + ) { + notes.push( + `None of the ${fetched.length} instance(s) fetched ended with a flow ` + + "error. Drop onlyWithErrors to see them.", + ); + } else if (executions.length === 0) { + const enabled = await storageEnabled(architectApi); + if (enabled === false) { + notes.push( + "No instances matched, and execution data storage is " + + "disabled for this org (Architect > Settings > Execution " + + "data), so none are being recorded.", + ); + } else { + notes.push( + "No instances matched. A run is listed only after it ends; " + + `execution data is kept for ${RETENTION_DAYS} days and is only ` + + "captured for flows published after storage was enabled " + + "(republish older flows); and test_bot_flow runs have no " + + "conversation id, so search for them by flowId. Check the " + + "id, or query by flowId to see whether the flow records " + + "anything at all.", + ); + } + } else if (total > fetched.length) { + notes.push( + `${total} instances matched but only ${fetched.length} were ` + + "fetched. Narrow the query with a conversationId.", + ); + } else if (fetched.length >= MAX_RESULTS) { + notes.push( + `The API caps results at ${MAX_RESULTS}; older instances may exist.`, + ); + } + + const result: FindFlowExecutionResult = { + query: { + ...(conversationId ? { conversationId } : {}), + ...(flowId ? { flowId } : {}), + ...(onlyWithErrors ? { onlyWithErrors } : {}), + }, + executions, + total, + ...(notes.length > 0 ? { notes } : {}), + }; + return { + content: [{ type: "text", text: JSON.stringify(result) }], + }; + } catch (err) { + const { status } = toApiError(err); + const hint = + status === 403 + ? " The OAuth client needs the 'Architect > Flow Instance > Search' permission." + : status === 400 + ? " The query was rejected; check that the conversationId and flowId are well-formed Genesys Cloud ids." + : ""; + return { + isError: true, + content: [ + { + type: "text", + text: `Failed to search for flow executions: ${formatApiError(err)}${hint}`, + }, + ], + }; + } + }, +}); diff --git a/src/mcp-server/tools/flow-execution-data.ts b/src/mcp-server/tools/flow-execution-data.ts new file mode 100644 index 0000000..c36e4f4 --- /dev/null +++ b/src/mcp-server/tools/flow-execution-data.ts @@ -0,0 +1,495 @@ +import { + type ExecutionActionNotExecuted, + type ExecutionEvent, + type ExecutionSummary, + findExecutionVariable, + joinExecutionWithIr, + parseExecution, + parseFlow, +} from "@makingchatbots/genesys-cloud-architect-diagram-lib"; +import type { ArchitectApi, Models } from "purecloud-platform-client-v2"; +import { z } from "zod/v3"; +import { formatApiError, toApiError } from "./api-error.ts"; +import { fetchFlowConfiguration } from "./fetch-flow-configuration.ts"; +import type { ToolFactory } from "./types.ts"; + +/** + * Retrieval is a job: the first GET registers it and later GETs report its + * state. Observed jobs for a single instance complete within a few seconds, + * so polling is cheap, but the cap keeps a stuck job from pinning the MCP + * client's own tool timeout. + */ +const DEFAULT_POLL_INTERVAL_MS = 1_000; +const DEFAULT_MAX_WAIT_MS = 45_000; + +/** How long Genesys Cloud keeps execution data, per the help centre. */ +const RETENTION_DAYS = 10; + +type JobResult = Models.GetFlowExecutionDataJobResult; + +export interface ToolConfig { + architectApi: ArchitectApi; + /** Fetches the job's download URI. Overridable for offline verification. */ + download?: (uri: string) => Promise; + pollIntervalMs?: number; + maxWaitMs?: number; +} + +interface FlowExecutionDataResult { + executionId: string; + /** Taken from the flow's own variables; null on `test_bot_flow` runs. */ + conversationId: string | null; + durationMs: number | null; + flowExitReason: string | null; + logLevel: string | null; + summary: ExecutionSummary; + events: ExecutionEvent[]; + ir?: { + /** Which flow configuration the join used. */ + configuration: { flowVersion: string } | { latest: true }; + unmatchedActionIds: string[]; + unmatchedStateIds: string[]; + actionsNotExecuted: ExecutionActionNotExecuted[]; + warnings: unknown[]; + }; + notes?: string[]; + /** Every other top-level field of the instance, passed through untouched. */ + [field: string]: unknown; +} + +class ExecutionDataError extends Error {} + +function isRecord(value: unknown): value is Record { + return typeof value === "object" && value !== null && !Array.isArray(value); +} + +async function defaultDownload(uri: string): Promise { + // The URI is a pre-signed file link: it carries its own authorisation, and + // adding the platform bearer token would only invalidate the signature. + const response = await fetch(uri); + if (!response.ok) { + throw new ExecutionDataError( + `Downloading the execution data file failed with HTTP ${response.status}.`, + ); + } + return response.json(); +} + +function sleep(ms: number): Promise { + return new Promise((resolve) => setTimeout(resolve, ms)); +} + +function isComplete(job: JobResult): boolean { + if (job.jobState === "Success" || job.jobState === "Failed") return true; + // Defensive: a response that already carries results is complete whatever + // its state field says (or omits). + return ( + job.entities?.some((e) => e.downloadUri || e.failed === true) ?? false + ); +} + +async function awaitJob( + architectApi: ArchitectApi, + first: JobResult, + pollIntervalMs: number, + maxWaitMs: number, +): Promise { + let job = first; + const deadline = Date.now() + maxWaitMs; + while (!isComplete(job)) { + if (!job.id) { + throw new ExecutionDataError( + `The retrieval job reported state "${job.jobState ?? "unknown"}" without a job id to poll.`, + ); + } + if (Date.now() >= deadline) { + throw new ExecutionDataError( + `The retrieval job (${job.id}) was still "${job.jobState ?? "unknown"}" after ${Math.round(maxWaitMs / 1000)}s. Retry shortly; the job may complete on its own.`, + ); + } + await sleep(pollIntervalMs); + job = await architectApi.getFlowsInstancesJob(job.id); + } + return job; +} + +function describeNotFound(executionId: string): string { + return ( + `No execution data exists for execution id "${executionId}". Either the ` + + "id is wrong (it is the flow instance id, which for test_bot_flow runs is " + + "the sessionId it returned, not a conversation id or flow id), the run is " + + `older than the ${RETENTION_DAYS}-day retention period, the flow was last ` + + "published before execution data storage was enabled for the org (flows " + + "must be republished after enabling it), or storage is disabled. Use " + + "find_flow_execution with a conversationId to list the instances that do exist." + ); +} + +function describeEntityFailure( + executionId: string, + entity: Models.ExecutionDataEntity, +): string { + switch (entity.statusCode) { + case "404": + return describeNotFound(executionId); + case "403": + return ( + `Not authorised to read execution data for "${executionId}" (403): the ` + + "OAuth client needs the 'Architect > Flow Instance > View' permission " + + "and division access to the flow." + ); + default: + return ( + `Retrieving execution data for "${executionId}" failed` + + (entity.statusCode ? ` (HTTP ${entity.statusCode})` : "") + + "." + ); + } +} + +function describeApiFailure(executionId: string, err: unknown): string { + if (err instanceof ExecutionDataError) return err.message; + const { status } = toApiError(err); + if (status === 404) return describeNotFound(executionId); + if (status === 403) { + return ( + `Not authorised to read execution data (403): the OAuth client needs the ` + + "'Architect > Flow Instance > View' permission." + ); + } + return `Failed to retrieve execution data for "${executionId}": ${formatApiError(err)}`; +} + +/** Unwrap the downloaded file, `{ "flow": {...} }`, tolerating a bare flow. */ +function unwrapFlow(body: unknown): Record { + if ( + isRecord(body) && + isRecord(body.flow) && + Array.isArray(body.flow.execution) + ) { + return body.flow; + } + if (isRecord(body) && Array.isArray(body.execution)) { + return body; + } + const keys = isRecord(body) ? Object.keys(body).join(", ") : typeof body; + throw new ExecutionDataError( + `The downloaded execution data had an unexpected shape (top-level: ${keys}); ` + + "expected { flow: { execution: [...] } }.", + ); +} + +const inputSchema = { + executionId: z + .string() + .min(1) + .describe( + "The flow instance (execution) id. This is the `id` of an entry " + + "returned by find_flow_execution, or the sessionId returned by " + + "test_bot_flow. It is not a conversation id or a flow id.", + ), + includeIr: z + .boolean() + .default(true) + .describe( + "Default true. Joins each action event to the flow's IR (the same " + + "graph flow_ir returns) using actionId, adding the action's type, " + + "task and outgoing edges, and lists the IR actions this instance " + + "never executed. Costs one extra flow configuration fetch. Set false " + + "when only the raw event log is wanted.", + ), +}; + +export const flowExecutionData: ToolFactory = ({ + architectApi, + download = defaultDownload, + pollIntervalMs = DEFAULT_POLL_INTERVAL_MS, + maxWaitMs = DEFAULT_MAX_WAIT_MS, +}: ToolConfig) => ({ + config: { + description: + "Retrieves the historical execution data of one run of a Genesys Cloud " + + "Architect flow: the ordered log of what that single conversation " + + "actually did, action by action, with timestamps, the messages sent and " + + "received, the branch each decision or menu took, variable assignments, " + + "errors and the exit reason. Use it to see how a customer traversed a " + + "flow, to find loops and retries (summary.repeatedActions for actions " + + "run more than once, summary.loops for Loop actions and their iteration " + + "counts, summary.asksWithRetries for asks that re-prompted), errors " + + "(eventError events with a relatedAction) and dead ends, or to confirm a " + + "flow is behaving. flow_ir " + + "shows what could happen; this shows what did happen, this time. " + + "Each action event's actionId is the id of the flow_ir node whose kind " + + 'is "action", and is accepted verbatim by flow_action. An action\'s ' + + "outputPathId names the branch it took; joined to the IR it is the " + + "branch-output node :: (ir.takenBranch). Event " + + "kinds are usually named action for IR actionType Action " + + "(actionCommunicate is CommunicateAction, actionDecision is " + + "DecisionAction), with exceptions: actionUpdateData is " + + "UpdateVariableAction, actionJumpToTask is TransferTaskAction and " + + "actionAskForIntent is AskForNLUIntentAction; the ir.actionType " + + "annotation on each event is authoritative. " + + "events[] is in execution order; the IR's `order` field is not and must " + + "not be used for sequencing. trackingId is the action number shown in " + + "the Architect UI; gaps in it are authoring history, not missing actions. " + + "The instance's logLevel governs which sections exist: below 'all', " + + "variables and communications may be absent or empty, which is expected " + + "rather than an error. Pass the sessionId from test_bot_flow to see " + + "exactly how a test run traversed the flow; data is available seconds " + + "after the run ends, and such runs have a null conversationId.", + annotations: { + title: "Flow Execution Data", + readOnlyHint: true, + destructiveHint: false, + }, + inputSchema, + }, + handler: async ({ executionId, includeIr }) => { + let flow: Record; + try { + const first = await architectApi.getFlowsInstance(executionId); + const job = await awaitJob( + architectApi, + first, + pollIntervalMs, + maxWaitMs, + ); + const entity = + job.entities?.find((e) => e.id === executionId) ?? + job.entities?.[0]; + if (job.jobState === "Failed" && !entity) { + throw new ExecutionDataError( + `The retrieval job (${job.id ?? "unknown id"}) failed without reporting a cause.`, + ); + } + if (!entity) { + throw new ExecutionDataError( + `The retrieval job (${job.id ?? "unknown id"}) completed with no results.`, + ); + } + if (entity.failed || !entity.downloadUri) { + return { + isError: true, + content: [ + { + type: "text", + text: describeEntityFailure(executionId, entity), + }, + ], + }; + } + flow = unwrapFlow(await download(entity.downloadUri)); + } catch (err) { + return { + isError: true, + content: [ + { + type: "text", + text: describeApiFailure(executionId, err), + }, + ], + }; + } + + const { execution, ...metadata } = flow; + const parsed = parseExecution(execution); + let events: ExecutionEvent[] = parsed.events; + const summary = parsed.summary; + const notes: string[] = []; + + const endedFlow = events.find((e) => e.kind === "endedFlow"); + const flowExitReason = + typeof endedFlow?.flowExitReason === "string" + ? endedFlow.flowExitReason + : null; + if (!endedFlow) { + notes.push( + "No endedFlow event: the run had not finished when the data was " + + "captured, or the log was cut short. Do not treat the last event " + + "as where the flow ended.", + ); + } + + const conversationId = findExecutionVariable(events, ".ConversationId"); + const logLevel = isRecord(metadata.executionInfo) + ? metadata.executionInfo.logLevel + : undefined; + if (typeof logLevel === "string" && logLevel.toLowerCase() !== "all") { + notes.push( + `This instance was captured at log level "${logLevel}". Variable ` + + "values, communications or action inputs/outputs may be absent " + + "because they were not recorded, not because they did not happen.", + ); + } + if (metadata.isTruncated === true) { + notes.push( + "isTruncated is true: the log was cut off by the execution cap, so " + + "later actions ran without being recorded.", + ); + } + if (summary.repeatedActions.length > 0) { + notes.push( + `${summary.repeatedActions.length} action(s) executed more than once; ` + + "see summary.repeatedActions and each occurrence's executionId to " + + "tell iterations apart.", + ); + } + if (summary.asksWithRetries.length > 0) { + notes.push( + `${summary.asksWithRetries.length} ask/menu action(s) needed more than ` + + "one participant input (summary.asksWithRetries); the retries " + + "are the turns inside that event's execution[], not repeated actions.", + ); + } + const errorCount = summary.eventKinds.eventError ?? 0; + if (errorCount > 0) { + notes.push( + `${errorCount} eventError event(s) occurred; each one's relatedAction ` + + "names the action that was executing (matched on " + + "context.executionId), and context.reason gives the cause.", + ); + } + + const start = Date.parse(String(metadata.startDateTime)); + const end = Date.parse(String(metadata.endDateTime)); + const durationMs = + Number.isFinite(start) && Number.isFinite(end) ? end - start : null; + + let ir: FlowExecutionDataResult["ir"]; + if (includeIr) { + const flowId = + typeof metadata.flowId === "string" + ? metadata.flowId + : undefined; + const flowVersion = + typeof metadata.flowVersion === "string" + ? metadata.flowVersion + : undefined; + if (!flowId) { + notes.push( + "The execution data carried no flowId, so no IR join was possible.", + ); + } else { + const fetched = await fetchConfiguration( + architectApi, + flowId, + flowVersion, + notes, + ); + if (fetched) { + const parsedFlow = parseFlow(fetched.configuration); + if (!parsedFlow.ok) { + notes.push( + `The flow configuration could not be parsed into an IR ` + + `(${parsedFlow.error.code}: ${parsedFlow.error.message}); events are unjoined.`, + ); + } else { + const joined = joinExecutionWithIr( + events, + parsedFlow.ir, + ); + events = joined.events; + ir = { + configuration: fetched.configuration_source, + unmatchedActionIds: joined.unmatchedActionIds, + unmatchedStateIds: joined.unmatchedStateIds, + actionsNotExecuted: joined.actionsNotExecuted, + warnings: parsedFlow.warnings, + }; + if (joined.unmatchedActionIds.length > 0) { + notes.push( + `${joined.unmatchedActionIds.length} executed action id(s) ` + + "have no node in the IR (ir.unmatchedActionIds). If the " + + "join used the latest configuration rather than the " + + "version that ran, the flow has probably been redeployed " + + "since; otherwise the action may live in a called common " + + "module or bot flow, which the parent's IR does not contain.", + ); + } + } + } + } + } + + const result: FlowExecutionDataResult = { + ...metadata, + executionId: + typeof metadata.executionId === "string" + ? metadata.executionId + : executionId, + conversationId: + typeof conversationId === "string" ? conversationId : null, + durationMs, + flowExitReason, + logLevel: typeof logLevel === "string" ? logLevel : null, + summary, + events, + ...(ir ? { ir } : {}), + ...(notes.length > 0 ? { notes } : {}), + }; + return { + content: [{ type: "text", text: JSON.stringify(result) }], + }; + }, +}); + +/** + * Prefer the configuration of the version that actually ran, so the join + * reflects the flow as the customer experienced it; fall back to the latest + * configuration (what flow_ir uses) when the version is unknown or gone. + */ +async function fetchConfiguration( + architectApi: ArchitectApi, + flowId: string, + flowVersion: string | undefined, + notes: string[], +): Promise< + | { + configuration: unknown; + configuration_source: { flowVersion: string } | { latest: true }; + } + | undefined +> { + if (flowVersion) { + try { + const configuration = + await architectApi.getFlowVersionConfiguration( + flowId, + flowVersion, + ); + return { + configuration, + configuration_source: { flowVersion }, + }; + } catch (err) { + if (toApiError(err).status === 410) { + // Deleted flows have no latest configuration either. + notes.push( + "IR join skipped: the flow has been deleted, so no configuration " + + "can be fetched. The events are still complete; only the " + + "ir annotations and actionsNotExecuted are unavailable.", + ); + return undefined; + } + notes.push( + `Could not fetch the configuration of flow version ${flowVersion} ` + + `(${formatApiError(err)}); the IR join used the latest ` + + "configuration instead, which may differ from what ran.", + ); + } + } else { + notes.push( + "The execution data carried no flowVersion; the IR join used the " + + "latest configuration, which may differ from what ran.", + ); + } + const latest = await fetchFlowConfiguration(architectApi, flowId); + if (!latest.ok) { + notes.push(`IR join skipped: ${latest.message}`); + return undefined; + } + return { + configuration: latest.configuration, + configuration_source: { latest: true }, + }; +} From 6967007ad2b63c2a4ac5004b3f4d768ca33190bc Mon Sep 17 00:00:00 2001 From: Lucas Woodward <31957045+SketchingDev@users.noreply.github.com> Date: Fri, 2 Oct 2026 23:30:02 +0100 Subject: [PATCH 3/3] Improve skill --- skills/interpret-flow-ir/SKILL.md | 48 +++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/skills/interpret-flow-ir/SKILL.md b/skills/interpret-flow-ir/SKILL.md index e246870..dd0f2d5 100644 --- a/skills/interpret-flow-ir/SKILL.md +++ b/skills/interpret-flow-ir/SKILL.md @@ -1,6 +1,6 @@ --- name: interpret-flow-ir -description: This skill should be used when interpreting the JSON returned by the flow_ir, flow_action, search_in_flow, find_flow_execution or flow_execution_data tools, or when the user asks questions about a deployed Genesys Cloud Architect flow, including one they name only by its flow name (resolve it with find_flow first). Structural questions such as "analyse this flow", "trace the path through the flow", "what happens when the customer says X", "why is this task unreachable", "check the flow for missing error handling", "find dead logic", or "does this flow loop". Semantic questions such as "what does this decision check", "what prompt does it play", "what does this data action send", or "what does pressing 2 do". Search questions such as "find every action that references this queue", "which actions use Flow.DNIS", "where does this flow mention that data action", or "which actions play a prompt containing X". Execution questions such as "what did this conversation do in the flow", "why did the customer loop", "which path did the call take", "did the flow error for conversation X", "is this flow working in production", or "show me how my test run went through the flow". Use it to answer control-flow questions from the IR instead of guessing from the flow's raw configuration JSON, to find the actions worth looking at without fetching them all, to fetch the per-action settings the IR omits, and to read one run's execution data against the IR. +description: Use when interpreting the JSON returned by the flow_ir, flow_action, search_in_flow, find_flow_execution or flow_execution_data tools, or when the user asks about a deployed Genesys Cloud Architect flow, including one named only by flow name (resolve with find_flow first) or a queue named only by queue name (resolve with find_queue first). Covers structural questions ("analyse this flow", "trace the path", "find dead logic", "does it loop"), semantic questions ("what does this decision check", "what does pressing 2 do"), search questions ("which actions reference this queue", "which use Flow.DNIS"), and execution questions about a real conversation or test run ("what did this conversation do", "why did the customer loop", "did the flow error", "is it working"). Use it to answer control-flow questions from the IR rather than the raw configuration JSON, to find the actions worth inspecting, to fetch per-action settings the IR omits, and to read one run's execution data against the IR. --- # Interpreting Flow IRs @@ -301,7 +301,20 @@ Prefer `conversationId` when searching: the API indexes on it, cannot filter by date, caps results at 200, and only keeps 10 days. A run is listed only once it has **ended**; one still waiting for input is not yet there. `onlyWithErrors` is applied to the fetched instances, since the API's query operators have no -negation or null test. +negation or null test. So on a busy flow the filter sees only the 200 instances +the API returned: errored runs older than that are invisible, and an empty +result means "none among the fetched", not "none at all". + +**`find_flow_execution`'s envelope.** +`{ query, executions: [{ executionId, flowId, flowName, flowType, flowVersion, +conversationId, workitemId?, startDateTime, endDateTime, flowErrorReason?, +flowWarningReason? }], total, notes? }`. `executions` is the list to iterate; +`flowErrorReason` and `flowWarningReason` are present only when set (the API's +`NONE` is normalised to absence). `total` is the API's count **before** the +200 cap and before `onlyWithErrors` is applied, so it routinely exceeds +`executions.length`; compare the two before asserting "exactly N runs", as +with `totalMatchedActions` in search. `notes`, when present, explains an empty +or capped result. **`test_bot_flow` runs are instances too.** The `sessionId` it returns *is* the `executionId`; pass it straight to `flow_execution_data` to see exactly how a @@ -315,6 +328,13 @@ Such runs have a null conversation id, so find them by `flowId` rather than startDateTime, endDateTime, durationMs, flowExitReason, logLevel, executionInfo, isTruncated, isSecure, flowIsDebug, division, summary, events, ir?, notes? }` +Only `executionId`, `conversationId`, `durationMs`, `flowExitReason`, +`logLevel`, `summary`, `events`, `ir` and `notes` are the tool's own fields. +The rest (`flowId` through `division`, and anything else that appears) are the +instance's top-level Genesys fields passed through untouched: observed, not a +contract, like the raw `action` subtree in `flow_action`. Read them +defensively. + - `summary.eventKinds` counts events per kind; `summary.repeatedActions` lists actions executed more than once with the `index` of each occurrence. **A non-empty `repeatedActions` is the signature of a loop**; read those indexes @@ -368,6 +388,13 @@ back to the latest), `unmatchedActionIds`, `unmatchedStateIds`, *negative space*: the branches not taken. It is not dead logic; one run proves nothing about other runs. +A non-empty `unmatchedActionIds` has two causes, told apart by `configuration`. +If the join fell back to `{ latest: true }`, the flow has probably been +redeployed since the run and the executed action no longer exists. If the join +used the exact `flowVersion` that ran, the action lives in a called common +module or bot flow, whose actions the parent flow's IR never contains. Do not +report a redeploy without checking which. + Three naming traps: - Event kinds and IR types differ by convention: **`action` ↔ @@ -401,8 +428,12 @@ Three naming traps: a Loop's `__LOOP__`) and usually `outputPathName`. That id is exactly the suffix of the IR branch-output node, so `ir.takenBranch` gives `{ nodeId: "::", label, inIr }`: the branch that ran, - by its IR label. The sibling branch-outputs in `successors` are the roads not - taken on this run. A Decision also records `inputData.condition` (the + by its IR label. `inIr: false` means the IR has no branch-output for that + path: the run took an outcome the graph does not model, most often a + `DigitalMenuAction` choice (see "Known blind spots"). The `outputPathName` + is then the only label available. The sibling branch-outputs in `successors` + are the roads not taken on this run. A Decision also records + `inputData.condition` (the evaluated boolean); a Switch records `inputData.value` and the matching `inputData.cases[]`; an intent ask records `inputData.enabledIntents[]` and the matched intent in `outputVariables[]` as `Session.ActiveIntent`; a slot @@ -461,7 +492,9 @@ read the condition. **"Did the flow error?"** `find_flow_execution` with `onlyWithErrors: true` (by `flowId` to sweep recent runs, or with the `conversationId`). The `flowErrorReason` names the failure; in the instance, the `eventError` event's -`relatedAction` and `context.reason` say which action failed and why. +`relatedAction` and `context.reason` say which action failed and why. A sweep +by `flowId` covers only the most recent 200 instances, so "no errors" from it +means none among those; say so rather than clearing the flow outright. **"Is the flow working?"** Run `test_bot_flow` and pass its `sessionId` to `flow_execution_data`, or sample recent instances by `flowId`. Confirm the @@ -490,7 +523,10 @@ design.) `reachable: false` nodes (grouped by `taskName`) are provably orphaned actions no task entry point can reach. When `false`, they are merely not provably reachable, since the unmodelled intent routing may reach them; report them as -"unverifiable", not dead. +"unverifiable", not dead. Execution data settles it the other way: an action +that appears in any run's `events` was reached, whatever its `reachable` flag +says. An executed node marked `reachable: false` exposes a modelling gap in +the IR, not a flow defect. **Orphaned tasks**: `reachable` does NOT mean "reachable from the flow entry". Every task-start is a traversal root, so a task nothing ever calls still shows